From ef19fcfbb807102c13007b1e73580a8b3b519a20 Mon Sep 17 00:00:00 2001 From: Azure CLI Bot Date: Mon, 17 May 2021 13:57:50 +0800 Subject: [PATCH] [AutoRelease] t2-network-2021-05-14-21408(Do not merge) (#18746) * CodeGen from PR 14217 in Azure/azure-rest-api-specs fixed network resources, updates from previous version (#14217) * version,CHANGELOG * test * test Co-authored-by: SDKAuto Co-authored-by: PythonSdkPipelines Co-authored-by: msyyc <70930885+msyyc@users.noreply.github.com> --- sdk/network/azure-mgmt-network/CHANGELOG.md | 54 + sdk/network/azure-mgmt-network/MANIFEST.in | 1 + sdk/network/azure-mgmt-network/_meta.json | 8 + .../azure/mgmt/network/_configuration.py | 7 +- .../network/_network_management_client.py | 364 +- .../azure/mgmt/network/_operations_mixin.py | 64 +- .../azure/mgmt/network/_version.py | 2 +- .../azure/mgmt/network/aio/_configuration.py | 9 +- .../network/aio/_network_management_client.py | 366 +- .../mgmt/network/aio/_operations_mixin.py | 64 +- .../azure/mgmt/network/models.py | 2 +- .../mgmt/network/v2015_06_15/_metadata.json | 86 +- .../v2015_06_15/_network_management_client.py | 20 + .../aio/_network_management_client.py | 19 + .../_application_gateways_operations.py | 16 +- ...route_circuit_authorizations_operations.py | 8 +- ...press_route_circuit_peerings_operations.py | 8 +- .../_express_route_circuits_operations.py | 8 +- .../operations/_load_balancers_operations.py | 8 +- .../_local_network_gateways_operations.py | 8 +- .../_network_interfaces_operations.py | 8 +- .../_network_security_groups_operations.py | 8 +- .../_public_ip_addresses_operations.py | 8 +- .../operations/_route_tables_operations.py | 8 +- .../aio/operations/_routes_operations.py | 8 +- .../operations/_security_rules_operations.py | 8 +- .../aio/operations/_subnets_operations.py | 8 +- ..._network_gateway_connections_operations.py | 16 +- .../_virtual_network_gateways_operations.py | 16 +- .../_virtual_networks_operations.py | 8 +- .../_application_gateways_operations.py | 16 +- ...route_circuit_authorizations_operations.py | 8 +- ...press_route_circuit_peerings_operations.py | 8 +- .../_express_route_circuits_operations.py | 8 +- .../operations/_load_balancers_operations.py | 8 +- .../_local_network_gateways_operations.py | 8 +- .../_network_interfaces_operations.py | 8 +- .../_network_security_groups_operations.py | 8 +- .../_public_ip_addresses_operations.py | 8 +- .../operations/_route_tables_operations.py | 8 +- .../operations/_routes_operations.py | 8 +- .../operations/_security_rules_operations.py | 8 +- .../operations/_subnets_operations.py | 8 +- ..._network_gateway_connections_operations.py | 16 +- .../_virtual_network_gateways_operations.py | 16 +- .../_virtual_networks_operations.py | 8 +- .../mgmt/network/v2016_09_01/_metadata.json | 86 +- .../v2016_09_01/_network_management_client.py | 20 + .../aio/_network_management_client.py | 19 + .../_application_gateways_operations.py | 20 +- ...route_circuit_authorizations_operations.py | 8 +- ...press_route_circuit_peerings_operations.py | 8 +- .../_express_route_circuits_operations.py | 20 +- .../operations/_load_balancers_operations.py | 8 +- .../_local_network_gateways_operations.py | 8 +- .../_network_interfaces_operations.py | 16 +- .../_network_security_groups_operations.py | 8 +- .../_network_watchers_operations.py | 32 +- .../operations/_packet_captures_operations.py | 16 +- .../_public_ip_addresses_operations.py | 8 +- .../operations/_route_tables_operations.py | 8 +- .../aio/operations/_routes_operations.py | 8 +- .../operations/_security_rules_operations.py | 8 +- .../aio/operations/_subnets_operations.py | 8 +- ..._network_gateway_connections_operations.py | 16 +- .../_virtual_network_gateways_operations.py | 28 +- .../_virtual_network_peerings_operations.py | 8 +- .../_virtual_networks_operations.py | 8 +- .../network/v2016_09_01/models/_models.py | 4 +- .../network/v2016_09_01/models/_models_py3.py | 4 +- .../_application_gateways_operations.py | 20 +- ...route_circuit_authorizations_operations.py | 8 +- ...press_route_circuit_peerings_operations.py | 8 +- .../_express_route_circuits_operations.py | 20 +- .../operations/_load_balancers_operations.py | 8 +- .../_local_network_gateways_operations.py | 8 +- .../_network_interfaces_operations.py | 16 +- .../_network_security_groups_operations.py | 8 +- .../_network_watchers_operations.py | 32 +- .../operations/_packet_captures_operations.py | 16 +- .../_public_ip_addresses_operations.py | 8 +- .../operations/_route_tables_operations.py | 8 +- .../operations/_routes_operations.py | 8 +- .../operations/_security_rules_operations.py | 8 +- .../operations/_subnets_operations.py | 8 +- ..._network_gateway_connections_operations.py | 16 +- .../_virtual_network_gateways_operations.py | 28 +- .../_virtual_network_peerings_operations.py | 8 +- .../_virtual_networks_operations.py | 8 +- .../mgmt/network/v2016_12_01/_metadata.json | 86 +- .../v2016_12_01/_network_management_client.py | 20 + .../aio/_network_management_client.py | 19 + .../_application_gateways_operations.py | 20 +- ...route_circuit_authorizations_operations.py | 8 +- ...press_route_circuit_peerings_operations.py | 8 +- .../_express_route_circuits_operations.py | 20 +- .../operations/_load_balancers_operations.py | 8 +- .../_local_network_gateways_operations.py | 8 +- .../_network_interfaces_operations.py | 16 +- .../_network_security_groups_operations.py | 8 +- .../_network_watchers_operations.py | 32 +- .../operations/_packet_captures_operations.py | 16 +- .../_public_ip_addresses_operations.py | 8 +- .../_route_filter_rules_operations.py | 12 +- .../operations/_route_filters_operations.py | 12 +- .../operations/_route_tables_operations.py | 8 +- .../aio/operations/_routes_operations.py | 8 +- .../operations/_security_rules_operations.py | 8 +- .../aio/operations/_subnets_operations.py | 8 +- ..._network_gateway_connections_operations.py | 16 +- .../_virtual_network_gateways_operations.py | 28 +- .../_virtual_network_peerings_operations.py | 8 +- .../_virtual_networks_operations.py | 8 +- .../network/v2016_12_01/models/_models.py | 4 +- .../network/v2016_12_01/models/_models_py3.py | 4 +- .../_application_gateways_operations.py | 20 +- ...route_circuit_authorizations_operations.py | 8 +- ...press_route_circuit_peerings_operations.py | 8 +- .../_express_route_circuits_operations.py | 20 +- .../operations/_load_balancers_operations.py | 8 +- .../_local_network_gateways_operations.py | 8 +- .../_network_interfaces_operations.py | 16 +- .../_network_security_groups_operations.py | 8 +- .../_network_watchers_operations.py | 32 +- .../operations/_packet_captures_operations.py | 16 +- .../_public_ip_addresses_operations.py | 8 +- .../_route_filter_rules_operations.py | 12 +- .../operations/_route_filters_operations.py | 12 +- .../operations/_route_tables_operations.py | 8 +- .../operations/_routes_operations.py | 8 +- .../operations/_security_rules_operations.py | 8 +- .../operations/_subnets_operations.py | 8 +- ..._network_gateway_connections_operations.py | 16 +- .../_virtual_network_gateways_operations.py | 28 +- .../_virtual_network_peerings_operations.py | 8 +- .../_virtual_networks_operations.py | 8 +- .../mgmt/network/v2017_03_01/_metadata.json | 86 +- .../v2017_03_01/_network_management_client.py | 20 + .../aio/_network_management_client.py | 19 + .../_application_gateways_operations.py | 20 +- ...route_circuit_authorizations_operations.py | 8 +- ...press_route_circuit_peerings_operations.py | 8 +- .../_express_route_circuits_operations.py | 20 +- .../operations/_load_balancers_operations.py | 8 +- .../_local_network_gateways_operations.py | 8 +- .../_network_interfaces_operations.py | 16 +- .../_network_security_groups_operations.py | 8 +- .../_network_watchers_operations.py | 36 +- .../operations/_packet_captures_operations.py | 16 +- .../_public_ip_addresses_operations.py | 8 +- .../_route_filter_rules_operations.py | 12 +- .../operations/_route_filters_operations.py | 12 +- .../operations/_route_tables_operations.py | 8 +- .../aio/operations/_routes_operations.py | 8 +- .../operations/_security_rules_operations.py | 8 +- .../aio/operations/_subnets_operations.py | 8 +- ..._network_gateway_connections_operations.py | 16 +- .../_virtual_network_gateways_operations.py | 28 +- .../_virtual_network_peerings_operations.py | 8 +- .../_virtual_networks_operations.py | 8 +- .../network/v2017_03_01/models/_models.py | 4 +- .../network/v2017_03_01/models/_models_py3.py | 4 +- .../_application_gateways_operations.py | 20 +- ...route_circuit_authorizations_operations.py | 8 +- ...press_route_circuit_peerings_operations.py | 8 +- .../_express_route_circuits_operations.py | 20 +- .../operations/_load_balancers_operations.py | 8 +- .../_local_network_gateways_operations.py | 8 +- .../_network_interfaces_operations.py | 16 +- .../_network_security_groups_operations.py | 8 +- .../_network_watchers_operations.py | 36 +- .../operations/_packet_captures_operations.py | 16 +- .../_public_ip_addresses_operations.py | 8 +- .../_route_filter_rules_operations.py | 12 +- .../operations/_route_filters_operations.py | 12 +- .../operations/_route_tables_operations.py | 8 +- .../operations/_routes_operations.py | 8 +- .../operations/_security_rules_operations.py | 8 +- .../operations/_subnets_operations.py | 8 +- ..._network_gateway_connections_operations.py | 16 +- .../_virtual_network_gateways_operations.py | 28 +- .../_virtual_network_peerings_operations.py | 8 +- .../_virtual_networks_operations.py | 8 +- .../mgmt/network/v2017_06_01/_metadata.json | 86 +- .../v2017_06_01/_network_management_client.py | 20 + .../aio/_network_management_client.py | 19 + .../_application_gateways_operations.py | 20 +- ...route_circuit_authorizations_operations.py | 8 +- ...press_route_circuit_peerings_operations.py | 8 +- .../_express_route_circuits_operations.py | 20 +- .../_inbound_nat_rules_operations.py | 8 +- .../operations/_load_balancers_operations.py | 8 +- .../_local_network_gateways_operations.py | 8 +- .../_network_interfaces_operations.py | 16 +- .../_network_security_groups_operations.py | 8 +- .../_network_watchers_operations.py | 36 +- .../operations/_packet_captures_operations.py | 16 +- .../_public_ip_addresses_operations.py | 8 +- .../_route_filter_rules_operations.py | 12 +- .../operations/_route_filters_operations.py | 12 +- .../operations/_route_tables_operations.py | 8 +- .../aio/operations/_routes_operations.py | 8 +- .../operations/_security_rules_operations.py | 8 +- .../aio/operations/_subnets_operations.py | 8 +- ..._network_gateway_connections_operations.py | 16 +- .../_virtual_network_gateways_operations.py | 32 +- .../_virtual_network_peerings_operations.py | 8 +- .../_virtual_networks_operations.py | 8 +- .../network/v2017_06_01/models/_models.py | 4 +- .../network/v2017_06_01/models/_models_py3.py | 4 +- .../_application_gateways_operations.py | 20 +- ...route_circuit_authorizations_operations.py | 8 +- ...press_route_circuit_peerings_operations.py | 8 +- .../_express_route_circuits_operations.py | 20 +- .../_inbound_nat_rules_operations.py | 8 +- .../operations/_load_balancers_operations.py | 8 +- .../_local_network_gateways_operations.py | 8 +- .../_network_interfaces_operations.py | 16 +- .../_network_security_groups_operations.py | 8 +- .../_network_watchers_operations.py | 36 +- .../operations/_packet_captures_operations.py | 16 +- .../_public_ip_addresses_operations.py | 8 +- .../_route_filter_rules_operations.py | 12 +- .../operations/_route_filters_operations.py | 12 +- .../operations/_route_tables_operations.py | 8 +- .../operations/_routes_operations.py | 8 +- .../operations/_security_rules_operations.py | 8 +- .../operations/_subnets_operations.py | 8 +- ..._network_gateway_connections_operations.py | 16 +- .../_virtual_network_gateways_operations.py | 32 +- .../_virtual_network_peerings_operations.py | 8 +- .../_virtual_networks_operations.py | 8 +- .../mgmt/network/v2017_08_01/_metadata.json | 86 +- .../v2017_08_01/_network_management_client.py | 20 + .../aio/_network_management_client.py | 19 + .../_application_gateways_operations.py | 20 +- ...route_circuit_authorizations_operations.py | 8 +- ...press_route_circuit_peerings_operations.py | 8 +- .../_express_route_circuits_operations.py | 20 +- .../_inbound_nat_rules_operations.py | 8 +- .../operations/_load_balancers_operations.py | 8 +- .../_local_network_gateways_operations.py | 8 +- .../_network_interfaces_operations.py | 16 +- .../_network_security_groups_operations.py | 8 +- .../_network_watchers_operations.py | 36 +- .../operations/_packet_captures_operations.py | 16 +- .../_public_ip_addresses_operations.py | 8 +- .../_route_filter_rules_operations.py | 12 +- .../operations/_route_filters_operations.py | 12 +- .../operations/_route_tables_operations.py | 8 +- .../aio/operations/_routes_operations.py | 8 +- .../operations/_security_rules_operations.py | 8 +- .../aio/operations/_subnets_operations.py | 8 +- ..._network_gateway_connections_operations.py | 16 +- .../_virtual_network_gateways_operations.py | 36 +- .../_virtual_network_peerings_operations.py | 8 +- .../_virtual_networks_operations.py | 8 +- .../network/v2017_08_01/models/_models.py | 4 +- .../network/v2017_08_01/models/_models_py3.py | 4 +- .../_application_gateways_operations.py | 20 +- ...route_circuit_authorizations_operations.py | 8 +- ...press_route_circuit_peerings_operations.py | 8 +- .../_express_route_circuits_operations.py | 20 +- .../_inbound_nat_rules_operations.py | 8 +- .../operations/_load_balancers_operations.py | 8 +- .../_local_network_gateways_operations.py | 8 +- .../_network_interfaces_operations.py | 16 +- .../_network_security_groups_operations.py | 8 +- .../_network_watchers_operations.py | 36 +- .../operations/_packet_captures_operations.py | 16 +- .../_public_ip_addresses_operations.py | 8 +- .../_route_filter_rules_operations.py | 12 +- .../operations/_route_filters_operations.py | 12 +- .../operations/_route_tables_operations.py | 8 +- .../operations/_routes_operations.py | 8 +- .../operations/_security_rules_operations.py | 8 +- .../operations/_subnets_operations.py | 8 +- ..._network_gateway_connections_operations.py | 16 +- .../_virtual_network_gateways_operations.py | 36 +- .../_virtual_network_peerings_operations.py | 8 +- .../_virtual_networks_operations.py | 8 +- .../mgmt/network/v2017_09_01/_metadata.json | 86 +- .../v2017_09_01/_network_management_client.py | 20 + .../aio/_network_management_client.py | 19 + .../_application_gateways_operations.py | 24 +- ..._application_security_groups_operations.py | 8 +- ...route_circuit_authorizations_operations.py | 8 +- ...press_route_circuit_peerings_operations.py | 8 +- .../_express_route_circuits_operations.py | 24 +- .../_inbound_nat_rules_operations.py | 8 +- .../operations/_load_balancers_operations.py | 12 +- .../_local_network_gateways_operations.py | 12 +- .../_network_interfaces_operations.py | 20 +- .../_network_security_groups_operations.py | 12 +- .../_network_watchers_operations.py | 44 +- .../operations/_packet_captures_operations.py | 16 +- .../_public_ip_addresses_operations.py | 12 +- .../_route_filter_rules_operations.py | 12 +- .../operations/_route_filters_operations.py | 12 +- .../operations/_route_tables_operations.py | 12 +- .../aio/operations/_routes_operations.py | 8 +- .../operations/_security_rules_operations.py | 8 +- .../aio/operations/_subnets_operations.py | 8 +- ..._network_gateway_connections_operations.py | 20 +- .../_virtual_network_gateways_operations.py | 40 +- .../_virtual_network_peerings_operations.py | 8 +- .../_virtual_networks_operations.py | 12 +- .../network/v2017_09_01/models/_models.py | 8 +- .../network/v2017_09_01/models/_models_py3.py | 8 +- .../_application_gateways_operations.py | 24 +- ..._application_security_groups_operations.py | 8 +- ...route_circuit_authorizations_operations.py | 8 +- ...press_route_circuit_peerings_operations.py | 8 +- .../_express_route_circuits_operations.py | 24 +- .../_inbound_nat_rules_operations.py | 8 +- .../operations/_load_balancers_operations.py | 12 +- .../_local_network_gateways_operations.py | 12 +- .../_network_interfaces_operations.py | 20 +- .../_network_security_groups_operations.py | 12 +- .../_network_watchers_operations.py | 44 +- .../operations/_packet_captures_operations.py | 16 +- .../_public_ip_addresses_operations.py | 12 +- .../_route_filter_rules_operations.py | 12 +- .../operations/_route_filters_operations.py | 12 +- .../operations/_route_tables_operations.py | 12 +- .../operations/_routes_operations.py | 8 +- .../operations/_security_rules_operations.py | 8 +- .../operations/_subnets_operations.py | 8 +- ..._network_gateway_connections_operations.py | 20 +- .../_virtual_network_gateways_operations.py | 40 +- .../_virtual_network_peerings_operations.py | 8 +- .../_virtual_networks_operations.py | 12 +- .../mgmt/network/v2017_10_01/_metadata.json | 86 +- .../v2017_10_01/_network_management_client.py | 20 + .../aio/_network_management_client.py | 19 + .../_application_gateways_operations.py | 24 +- ..._application_security_groups_operations.py | 8 +- .../_connection_monitors_operations.py | 20 +- ...route_circuit_authorizations_operations.py | 8 +- ...press_route_circuit_peerings_operations.py | 8 +- .../_express_route_circuits_operations.py | 24 +- .../_inbound_nat_rules_operations.py | 8 +- .../operations/_load_balancers_operations.py | 12 +- .../_local_network_gateways_operations.py | 12 +- .../_network_interfaces_operations.py | 20 +- .../_network_security_groups_operations.py | 12 +- .../_network_watchers_operations.py | 44 +- .../operations/_packet_captures_operations.py | 16 +- .../_public_ip_addresses_operations.py | 12 +- .../_route_filter_rules_operations.py | 12 +- .../operations/_route_filters_operations.py | 12 +- .../operations/_route_tables_operations.py | 12 +- .../aio/operations/_routes_operations.py | 8 +- .../operations/_security_rules_operations.py | 8 +- .../aio/operations/_subnets_operations.py | 8 +- ..._network_gateway_connections_operations.py | 20 +- .../_virtual_network_gateways_operations.py | 40 +- .../_virtual_network_peerings_operations.py | 8 +- .../_virtual_networks_operations.py | 12 +- .../network/v2017_10_01/models/_models.py | 8 +- .../network/v2017_10_01/models/_models_py3.py | 8 +- .../_application_gateways_operations.py | 24 +- ..._application_security_groups_operations.py | 8 +- .../_connection_monitors_operations.py | 20 +- ...route_circuit_authorizations_operations.py | 8 +- ...press_route_circuit_peerings_operations.py | 8 +- .../_express_route_circuits_operations.py | 24 +- .../_inbound_nat_rules_operations.py | 8 +- .../operations/_load_balancers_operations.py | 12 +- .../_local_network_gateways_operations.py | 12 +- .../_network_interfaces_operations.py | 20 +- .../_network_security_groups_operations.py | 12 +- .../_network_watchers_operations.py | 44 +- .../operations/_packet_captures_operations.py | 16 +- .../_public_ip_addresses_operations.py | 12 +- .../_route_filter_rules_operations.py | 12 +- .../operations/_route_filters_operations.py | 12 +- .../operations/_route_tables_operations.py | 12 +- .../operations/_routes_operations.py | 8 +- .../operations/_security_rules_operations.py | 8 +- .../operations/_subnets_operations.py | 8 +- ..._network_gateway_connections_operations.py | 20 +- .../_virtual_network_gateways_operations.py | 40 +- .../_virtual_network_peerings_operations.py | 8 +- .../_virtual_networks_operations.py | 12 +- .../mgmt/network/v2017_11_01/_metadata.json | 86 +- .../v2017_11_01/_network_management_client.py | 20 + .../aio/_network_management_client.py | 19 + .../_application_gateways_operations.py | 24 +- ..._application_security_groups_operations.py | 8 +- .../_connection_monitors_operations.py | 20 +- ...route_circuit_authorizations_operations.py | 8 +- ...press_route_circuit_peerings_operations.py | 8 +- .../_express_route_circuits_operations.py | 24 +- .../_inbound_nat_rules_operations.py | 8 +- .../operations/_load_balancers_operations.py | 12 +- .../_local_network_gateways_operations.py | 12 +- .../_network_interfaces_operations.py | 20 +- .../_network_security_groups_operations.py | 12 +- .../_network_watchers_operations.py | 44 +- .../operations/_packet_captures_operations.py | 16 +- .../_public_ip_addresses_operations.py | 12 +- .../_route_filter_rules_operations.py | 12 +- .../operations/_route_filters_operations.py | 12 +- .../operations/_route_tables_operations.py | 12 +- .../aio/operations/_routes_operations.py | 8 +- .../operations/_security_rules_operations.py | 8 +- .../aio/operations/_subnets_operations.py | 8 +- ..._network_gateway_connections_operations.py | 20 +- .../_virtual_network_gateways_operations.py | 40 +- .../_virtual_network_peerings_operations.py | 8 +- .../_virtual_networks_operations.py | 12 +- .../network/v2017_11_01/models/_models.py | 8 +- .../network/v2017_11_01/models/_models_py3.py | 8 +- .../_application_gateways_operations.py | 24 +- ..._application_security_groups_operations.py | 8 +- .../_connection_monitors_operations.py | 20 +- ...route_circuit_authorizations_operations.py | 8 +- ...press_route_circuit_peerings_operations.py | 8 +- .../_express_route_circuits_operations.py | 24 +- .../_inbound_nat_rules_operations.py | 8 +- .../operations/_load_balancers_operations.py | 12 +- .../_local_network_gateways_operations.py | 12 +- .../_network_interfaces_operations.py | 20 +- .../_network_security_groups_operations.py | 12 +- .../_network_watchers_operations.py | 44 +- .../operations/_packet_captures_operations.py | 16 +- .../_public_ip_addresses_operations.py | 12 +- .../_route_filter_rules_operations.py | 12 +- .../operations/_route_filters_operations.py | 12 +- .../operations/_route_tables_operations.py | 12 +- .../operations/_routes_operations.py | 8 +- .../operations/_security_rules_operations.py | 8 +- .../operations/_subnets_operations.py | 8 +- ..._network_gateway_connections_operations.py | 20 +- .../_virtual_network_gateways_operations.py | 40 +- .../_virtual_network_peerings_operations.py | 8 +- .../_virtual_networks_operations.py | 12 +- .../mgmt/network/v2018_01_01/_metadata.json | 86 +- .../v2018_01_01/_network_management_client.py | 20 + .../aio/_network_management_client.py | 19 + .../_application_gateways_operations.py | 24 +- ..._application_security_groups_operations.py | 8 +- .../_connection_monitors_operations.py | 20 +- ...route_circuit_authorizations_operations.py | 8 +- ...press_route_circuit_peerings_operations.py | 8 +- .../_express_route_circuits_operations.py | 24 +- .../_inbound_nat_rules_operations.py | 8 +- .../operations/_load_balancers_operations.py | 12 +- .../_local_network_gateways_operations.py | 12 +- .../_network_interfaces_operations.py | 20 +- .../_network_security_groups_operations.py | 12 +- .../_network_watchers_operations.py | 44 +- .../operations/_packet_captures_operations.py | 16 +- .../_public_ip_addresses_operations.py | 12 +- .../_route_filter_rules_operations.py | 12 +- .../operations/_route_filters_operations.py | 12 +- .../operations/_route_tables_operations.py | 12 +- .../aio/operations/_routes_operations.py | 8 +- .../operations/_security_rules_operations.py | 8 +- .../aio/operations/_subnets_operations.py | 8 +- ..._network_gateway_connections_operations.py | 20 +- .../_virtual_network_gateways_operations.py | 40 +- .../_virtual_network_peerings_operations.py | 8 +- .../_virtual_networks_operations.py | 12 +- .../network/v2018_01_01/models/_models.py | 8 +- .../network/v2018_01_01/models/_models_py3.py | 8 +- .../_application_gateways_operations.py | 24 +- ..._application_security_groups_operations.py | 8 +- .../_connection_monitors_operations.py | 20 +- ...route_circuit_authorizations_operations.py | 8 +- ...press_route_circuit_peerings_operations.py | 8 +- .../_express_route_circuits_operations.py | 24 +- .../_inbound_nat_rules_operations.py | 8 +- .../operations/_load_balancers_operations.py | 12 +- .../_local_network_gateways_operations.py | 12 +- .../_network_interfaces_operations.py | 20 +- .../_network_security_groups_operations.py | 12 +- .../_network_watchers_operations.py | 44 +- .../operations/_packet_captures_operations.py | 16 +- .../_public_ip_addresses_operations.py | 12 +- .../_route_filter_rules_operations.py | 12 +- .../operations/_route_filters_operations.py | 12 +- .../operations/_route_tables_operations.py | 12 +- .../operations/_routes_operations.py | 8 +- .../operations/_security_rules_operations.py | 8 +- .../operations/_subnets_operations.py | 8 +- ..._network_gateway_connections_operations.py | 20 +- .../_virtual_network_gateways_operations.py | 40 +- .../_virtual_network_peerings_operations.py | 8 +- .../_virtual_networks_operations.py | 12 +- .../mgmt/network/v2018_02_01/_metadata.json | 86 +- .../v2018_02_01/_network_management_client.py | 20 + .../aio/_network_management_client.py | 19 + .../_application_gateways_operations.py | 24 +- ..._application_security_groups_operations.py | 8 +- .../_connection_monitors_operations.py | 20 +- .../_ddos_protection_plans_operations.py | 8 +- ...route_circuit_authorizations_operations.py | 8 +- ...ss_route_circuit_connections_operations.py | 8 +- ...press_route_circuit_peerings_operations.py | 8 +- .../_express_route_circuits_operations.py | 24 +- ...te_cross_connection_peerings_operations.py | 8 +- ...ress_route_cross_connections_operations.py | 20 +- .../_inbound_nat_rules_operations.py | 8 +- .../operations/_load_balancers_operations.py | 12 +- .../_local_network_gateways_operations.py | 12 +- .../_network_interfaces_operations.py | 20 +- .../_network_security_groups_operations.py | 12 +- .../_network_watchers_operations.py | 44 +- .../operations/_packet_captures_operations.py | 16 +- .../_public_ip_addresses_operations.py | 12 +- .../_route_filter_rules_operations.py | 12 +- .../operations/_route_filters_operations.py | 12 +- .../operations/_route_tables_operations.py | 12 +- .../aio/operations/_routes_operations.py | 8 +- .../operations/_security_rules_operations.py | 8 +- .../aio/operations/_subnets_operations.py | 8 +- ..._network_gateway_connections_operations.py | 20 +- .../_virtual_network_gateways_operations.py | 48 +- .../_virtual_network_peerings_operations.py | 8 +- .../_virtual_networks_operations.py | 12 +- .../network/v2018_02_01/models/_models.py | 8 +- .../network/v2018_02_01/models/_models_py3.py | 8 +- .../_application_gateways_operations.py | 24 +- ..._application_security_groups_operations.py | 8 +- .../_connection_monitors_operations.py | 20 +- .../_ddos_protection_plans_operations.py | 8 +- ...route_circuit_authorizations_operations.py | 8 +- ...ss_route_circuit_connections_operations.py | 8 +- ...press_route_circuit_peerings_operations.py | 8 +- .../_express_route_circuits_operations.py | 24 +- ...te_cross_connection_peerings_operations.py | 8 +- ...ress_route_cross_connections_operations.py | 20 +- .../_inbound_nat_rules_operations.py | 8 +- .../operations/_load_balancers_operations.py | 12 +- .../_local_network_gateways_operations.py | 12 +- .../_network_interfaces_operations.py | 20 +- .../_network_security_groups_operations.py | 12 +- .../_network_watchers_operations.py | 44 +- .../operations/_packet_captures_operations.py | 16 +- .../_public_ip_addresses_operations.py | 12 +- .../_route_filter_rules_operations.py | 12 +- .../operations/_route_filters_operations.py | 12 +- .../operations/_route_tables_operations.py | 12 +- .../operations/_routes_operations.py | 8 +- .../operations/_security_rules_operations.py | 8 +- .../operations/_subnets_operations.py | 8 +- ..._network_gateway_connections_operations.py | 20 +- .../_virtual_network_gateways_operations.py | 48 +- .../_virtual_network_peerings_operations.py | 8 +- .../_virtual_networks_operations.py | 12 +- .../mgmt/network/v2018_04_01/_metadata.json | 86 +- .../v2018_04_01/_network_management_client.py | 20 + .../aio/_network_management_client.py | 19 + .../_application_gateways_operations.py | 24 +- ..._application_security_groups_operations.py | 8 +- .../operations/_azure_firewalls_operations.py | 8 +- .../_connection_monitors_operations.py | 20 +- .../_ddos_protection_plans_operations.py | 8 +- ...route_circuit_authorizations_operations.py | 8 +- ...ss_route_circuit_connections_operations.py | 8 +- ...press_route_circuit_peerings_operations.py | 8 +- .../_express_route_circuits_operations.py | 24 +- ...te_cross_connection_peerings_operations.py | 8 +- ...ress_route_cross_connections_operations.py | 20 +- ..._virtual_network_connections_operations.py | 4 +- .../_inbound_nat_rules_operations.py | 8 +- .../operations/_load_balancers_operations.py | 12 +- .../_local_network_gateways_operations.py | 12 +- .../_network_interfaces_operations.py | 20 +- .../_network_security_groups_operations.py | 12 +- .../_network_watchers_operations.py | 44 +- .../operations/_packet_captures_operations.py | 16 +- .../_public_ip_addresses_operations.py | 12 +- .../_route_filter_rules_operations.py | 12 +- .../operations/_route_filters_operations.py | 12 +- .../operations/_route_tables_operations.py | 12 +- .../aio/operations/_routes_operations.py | 8 +- .../operations/_security_rules_operations.py | 8 +- .../aio/operations/_subnets_operations.py | 8 +- .../operations/_virtual_hubs_operations.py | 24 +- ..._network_gateway_connections_operations.py | 20 +- .../_virtual_network_gateways_operations.py | 48 +- .../_virtual_network_peerings_operations.py | 8 +- .../_virtual_networks_operations.py | 12 +- .../operations/_virtual_wans_operations.py | 24 +- .../operations/_vpn_connections_operations.py | 16 +- .../operations/_vpn_gateways_operations.py | 24 +- .../_vpn_sites_configuration_operations.py | 6 +- .../aio/operations/_vpn_sites_operations.py | 24 +- .../network/v2018_04_01/models/_models.py | 8 +- .../network/v2018_04_01/models/_models_py3.py | 8 +- .../_application_gateways_operations.py | 24 +- ..._application_security_groups_operations.py | 8 +- .../operations/_azure_firewalls_operations.py | 8 +- .../_connection_monitors_operations.py | 20 +- .../_ddos_protection_plans_operations.py | 8 +- ...route_circuit_authorizations_operations.py | 8 +- ...ss_route_circuit_connections_operations.py | 8 +- ...press_route_circuit_peerings_operations.py | 8 +- .../_express_route_circuits_operations.py | 24 +- ...te_cross_connection_peerings_operations.py | 8 +- ...ress_route_cross_connections_operations.py | 20 +- ..._virtual_network_connections_operations.py | 4 +- .../_inbound_nat_rules_operations.py | 8 +- .../operations/_load_balancers_operations.py | 12 +- .../_local_network_gateways_operations.py | 12 +- .../_network_interfaces_operations.py | 20 +- .../_network_security_groups_operations.py | 12 +- .../_network_watchers_operations.py | 44 +- .../operations/_packet_captures_operations.py | 16 +- .../_public_ip_addresses_operations.py | 12 +- .../_route_filter_rules_operations.py | 12 +- .../operations/_route_filters_operations.py | 12 +- .../operations/_route_tables_operations.py | 12 +- .../operations/_routes_operations.py | 8 +- .../operations/_security_rules_operations.py | 8 +- .../operations/_subnets_operations.py | 8 +- .../operations/_virtual_hubs_operations.py | 24 +- ..._network_gateway_connections_operations.py | 20 +- .../_virtual_network_gateways_operations.py | 48 +- .../_virtual_network_peerings_operations.py | 8 +- .../_virtual_networks_operations.py | 12 +- .../operations/_virtual_wans_operations.py | 24 +- .../operations/_vpn_connections_operations.py | 16 +- .../operations/_vpn_gateways_operations.py | 24 +- .../_vpn_sites_configuration_operations.py | 6 +- .../operations/_vpn_sites_operations.py | 24 +- .../mgmt/network/v2018_06_01/_metadata.json | 86 +- .../v2018_06_01/_network_management_client.py | 20 + .../aio/_network_management_client.py | 19 + .../_application_gateways_operations.py | 24 +- ..._application_security_groups_operations.py | 8 +- .../operations/_azure_firewalls_operations.py | 8 +- .../_connection_monitors_operations.py | 34 +- .../_ddos_protection_plans_operations.py | 8 +- ...route_circuit_authorizations_operations.py | 8 +- ...ss_route_circuit_connections_operations.py | 8 +- ...press_route_circuit_peerings_operations.py | 8 +- .../_express_route_circuits_operations.py | 24 +- ...te_cross_connection_peerings_operations.py | 8 +- ...ress_route_cross_connections_operations.py | 20 +- ..._virtual_network_connections_operations.py | 4 +- .../_inbound_nat_rules_operations.py | 8 +- .../operations/_load_balancers_operations.py | 12 +- .../_local_network_gateways_operations.py | 12 +- .../_network_interfaces_operations.py | 20 +- .../_network_security_groups_operations.py | 12 +- .../_network_watchers_operations.py | 84 +- .../operations/_packet_captures_operations.py | 28 +- .../_public_ip_addresses_operations.py | 12 +- .../_route_filter_rules_operations.py | 12 +- .../operations/_route_filters_operations.py | 12 +- .../operations/_route_tables_operations.py | 12 +- .../aio/operations/_routes_operations.py | 8 +- .../operations/_security_rules_operations.py | 8 +- .../aio/operations/_subnets_operations.py | 8 +- .../operations/_virtual_hubs_operations.py | 24 +- ..._network_gateway_connections_operations.py | 20 +- .../_virtual_network_gateways_operations.py | 52 +- .../_virtual_network_peerings_operations.py | 8 +- .../_virtual_networks_operations.py | 12 +- .../operations/_virtual_wans_operations.py | 24 +- .../operations/_vpn_connections_operations.py | 16 +- .../operations/_vpn_gateways_operations.py | 24 +- .../_vpn_sites_configuration_operations.py | 6 +- .../aio/operations/_vpn_sites_operations.py | 24 +- .../network/v2018_06_01/models/_models.py | 8 +- .../network/v2018_06_01/models/_models_py3.py | 8 +- .../_application_gateways_operations.py | 24 +- ..._application_security_groups_operations.py | 8 +- .../operations/_azure_firewalls_operations.py | 8 +- .../_connection_monitors_operations.py | 34 +- .../_ddos_protection_plans_operations.py | 8 +- ...route_circuit_authorizations_operations.py | 8 +- ...ss_route_circuit_connections_operations.py | 8 +- ...press_route_circuit_peerings_operations.py | 8 +- .../_express_route_circuits_operations.py | 24 +- ...te_cross_connection_peerings_operations.py | 8 +- ...ress_route_cross_connections_operations.py | 20 +- ..._virtual_network_connections_operations.py | 4 +- .../_inbound_nat_rules_operations.py | 8 +- .../operations/_load_balancers_operations.py | 12 +- .../_local_network_gateways_operations.py | 12 +- .../_network_interfaces_operations.py | 20 +- .../_network_security_groups_operations.py | 12 +- .../_network_watchers_operations.py | 84 +- .../operations/_packet_captures_operations.py | 28 +- .../_public_ip_addresses_operations.py | 12 +- .../_route_filter_rules_operations.py | 12 +- .../operations/_route_filters_operations.py | 12 +- .../operations/_route_tables_operations.py | 12 +- .../operations/_routes_operations.py | 8 +- .../operations/_security_rules_operations.py | 8 +- .../operations/_subnets_operations.py | 8 +- .../operations/_virtual_hubs_operations.py | 24 +- ..._network_gateway_connections_operations.py | 20 +- .../_virtual_network_gateways_operations.py | 52 +- .../_virtual_network_peerings_operations.py | 8 +- .../_virtual_networks_operations.py | 12 +- .../operations/_virtual_wans_operations.py | 24 +- .../operations/_vpn_connections_operations.py | 16 +- .../operations/_vpn_gateways_operations.py | 24 +- .../_vpn_sites_configuration_operations.py | 6 +- .../operations/_vpn_sites_operations.py | 24 +- .../mgmt/network/v2018_07_01/_metadata.json | 86 +- .../v2018_07_01/_network_management_client.py | 20 + .../aio/_network_management_client.py | 19 + .../_application_gateways_operations.py | 24 +- ..._application_security_groups_operations.py | 8 +- .../operations/_azure_firewalls_operations.py | 8 +- .../_connection_monitors_operations.py | 34 +- .../_ddos_protection_plans_operations.py | 8 +- ...route_circuit_authorizations_operations.py | 8 +- ...ss_route_circuit_connections_operations.py | 8 +- ...press_route_circuit_peerings_operations.py | 8 +- .../_express_route_circuits_operations.py | 24 +- ...te_cross_connection_peerings_operations.py | 8 +- ...ress_route_cross_connections_operations.py | 20 +- ..._virtual_network_connections_operations.py | 4 +- .../_inbound_nat_rules_operations.py | 8 +- .../operations/_load_balancers_operations.py | 12 +- .../_local_network_gateways_operations.py | 12 +- .../_network_interfaces_operations.py | 20 +- .../_network_security_groups_operations.py | 12 +- .../_network_watchers_operations.py | 84 +- .../operations/_packet_captures_operations.py | 28 +- .../_public_ip_addresses_operations.py | 12 +- .../_public_ip_prefixes_operations.py | 12 +- .../_route_filter_rules_operations.py | 12 +- .../operations/_route_filters_operations.py | 12 +- .../operations/_route_tables_operations.py | 12 +- .../aio/operations/_routes_operations.py | 8 +- .../operations/_security_rules_operations.py | 8 +- .../_service_endpoint_policies_operations.py | 12 +- ..._endpoint_policy_definitions_operations.py | 8 +- .../aio/operations/_subnets_operations.py | 8 +- .../operations/_virtual_hubs_operations.py | 24 +- ..._network_gateway_connections_operations.py | 20 +- .../_virtual_network_gateways_operations.py | 48 +- .../_virtual_network_peerings_operations.py | 8 +- .../_virtual_networks_operations.py | 12 +- .../operations/_virtual_wans_operations.py | 24 +- .../operations/_vpn_connections_operations.py | 16 +- .../operations/_vpn_gateways_operations.py | 24 +- .../_vpn_sites_configuration_operations.py | 6 +- .../aio/operations/_vpn_sites_operations.py | 24 +- .../network/v2018_07_01/models/_models.py | 8 +- .../network/v2018_07_01/models/_models_py3.py | 8 +- .../_application_gateways_operations.py | 24 +- ..._application_security_groups_operations.py | 8 +- .../operations/_azure_firewalls_operations.py | 8 +- .../_connection_monitors_operations.py | 34 +- .../_ddos_protection_plans_operations.py | 8 +- ...route_circuit_authorizations_operations.py | 8 +- ...ss_route_circuit_connections_operations.py | 8 +- ...press_route_circuit_peerings_operations.py | 8 +- .../_express_route_circuits_operations.py | 24 +- ...te_cross_connection_peerings_operations.py | 8 +- ...ress_route_cross_connections_operations.py | 20 +- ..._virtual_network_connections_operations.py | 4 +- .../_inbound_nat_rules_operations.py | 8 +- .../operations/_load_balancers_operations.py | 12 +- .../_local_network_gateways_operations.py | 12 +- .../_network_interfaces_operations.py | 20 +- .../_network_security_groups_operations.py | 12 +- .../_network_watchers_operations.py | 84 +- .../operations/_packet_captures_operations.py | 28 +- .../_public_ip_addresses_operations.py | 12 +- .../_public_ip_prefixes_operations.py | 12 +- .../_route_filter_rules_operations.py | 12 +- .../operations/_route_filters_operations.py | 12 +- .../operations/_route_tables_operations.py | 12 +- .../operations/_routes_operations.py | 8 +- .../operations/_security_rules_operations.py | 8 +- .../_service_endpoint_policies_operations.py | 12 +- ..._endpoint_policy_definitions_operations.py | 8 +- .../operations/_subnets_operations.py | 8 +- .../operations/_virtual_hubs_operations.py | 24 +- ..._network_gateway_connections_operations.py | 20 +- .../_virtual_network_gateways_operations.py | 48 +- .../_virtual_network_peerings_operations.py | 8 +- .../_virtual_networks_operations.py | 12 +- .../operations/_virtual_wans_operations.py | 24 +- .../operations/_vpn_connections_operations.py | 16 +- .../operations/_vpn_gateways_operations.py | 24 +- .../_vpn_sites_configuration_operations.py | 6 +- .../operations/_vpn_sites_operations.py | 24 +- .../mgmt/network/v2018_08_01/_metadata.json | 108 +- .../v2018_08_01/_network_management_client.py | 20 + .../aio/_network_management_client.py | 19 + .../_application_gateways_operations.py | 24 +- ..._application_security_groups_operations.py | 8 +- .../operations/_azure_firewalls_operations.py | 8 +- .../_connection_monitors_operations.py | 34 +- .../_ddos_protection_plans_operations.py | 8 +- ...route_circuit_authorizations_operations.py | 8 +- ...ss_route_circuit_connections_operations.py | 8 +- ...press_route_circuit_peerings_operations.py | 8 +- .../_express_route_circuits_operations.py | 24 +- .../_express_route_connections_operations.py | 8 +- ...te_cross_connection_peerings_operations.py | 8 +- ...ress_route_cross_connections_operations.py | 20 +- .../_express_route_gateways_operations.py | 8 +- .../_express_route_ports_operations.py | 12 +- ..._virtual_network_connections_operations.py | 4 +- .../_inbound_nat_rules_operations.py | 8 +- .../_interface_endpoints_operations.py | 8 +- .../operations/_load_balancers_operations.py | 12 +- .../_local_network_gateways_operations.py | 12 +- ...interface_tap_configurations_operations.py | 8 +- .../_network_interfaces_operations.py | 20 +- .../_network_management_client_operations.py | 2 +- .../_network_profiles_operations.py | 4 +- .../_network_security_groups_operations.py | 12 +- .../_network_watchers_operations.py | 84 +- .../_p2_svpn_gateways_operations.py | 28 +- ...2_svpn_server_configurations_operations.py | 16 +- .../operations/_packet_captures_operations.py | 28 +- .../_public_ip_addresses_operations.py | 12 +- .../_public_ip_prefixes_operations.py | 12 +- .../_route_filter_rules_operations.py | 12 +- .../operations/_route_filters_operations.py | 12 +- .../operations/_route_tables_operations.py | 12 +- .../aio/operations/_routes_operations.py | 8 +- .../operations/_security_rules_operations.py | 8 +- .../_service_endpoint_policies_operations.py | 12 +- ..._endpoint_policy_definitions_operations.py | 8 +- .../aio/operations/_subnets_operations.py | 8 +- .../operations/_virtual_hubs_operations.py | 24 +- ..._network_gateway_connections_operations.py | 20 +- .../_virtual_network_gateways_operations.py | 52 +- .../_virtual_network_peerings_operations.py | 8 +- .../_virtual_network_taps_operations.py | 12 +- .../_virtual_networks_operations.py | 12 +- .../operations/_virtual_wans_operations.py | 24 +- .../operations/_vpn_connections_operations.py | 16 +- .../operations/_vpn_gateways_operations.py | 24 +- .../_vpn_sites_configuration_operations.py | 6 +- .../aio/operations/_vpn_sites_operations.py | 24 +- .../network/v2018_08_01/models/_models.py | 12 +- .../network/v2018_08_01/models/_models_py3.py | 14 +- .../_application_gateways_operations.py | 24 +- ..._application_security_groups_operations.py | 8 +- .../operations/_azure_firewalls_operations.py | 8 +- .../_connection_monitors_operations.py | 34 +- .../_ddos_protection_plans_operations.py | 8 +- ...route_circuit_authorizations_operations.py | 8 +- ...ss_route_circuit_connections_operations.py | 8 +- ...press_route_circuit_peerings_operations.py | 8 +- .../_express_route_circuits_operations.py | 24 +- .../_express_route_connections_operations.py | 8 +- ...te_cross_connection_peerings_operations.py | 8 +- ...ress_route_cross_connections_operations.py | 20 +- .../_express_route_gateways_operations.py | 8 +- .../_express_route_ports_operations.py | 12 +- ..._virtual_network_connections_operations.py | 4 +- .../_inbound_nat_rules_operations.py | 8 +- .../_interface_endpoints_operations.py | 8 +- .../operations/_load_balancers_operations.py | 12 +- .../_local_network_gateways_operations.py | 12 +- ...interface_tap_configurations_operations.py | 8 +- .../_network_interfaces_operations.py | 20 +- .../_network_management_client_operations.py | 2 +- .../_network_profiles_operations.py | 4 +- .../_network_security_groups_operations.py | 12 +- .../_network_watchers_operations.py | 84 +- .../_p2_svpn_gateways_operations.py | 28 +- ...2_svpn_server_configurations_operations.py | 16 +- .../operations/_packet_captures_operations.py | 28 +- .../_public_ip_addresses_operations.py | 12 +- .../_public_ip_prefixes_operations.py | 12 +- .../_route_filter_rules_operations.py | 12 +- .../operations/_route_filters_operations.py | 12 +- .../operations/_route_tables_operations.py | 12 +- .../operations/_routes_operations.py | 8 +- .../operations/_security_rules_operations.py | 8 +- .../_service_endpoint_policies_operations.py | 12 +- ..._endpoint_policy_definitions_operations.py | 8 +- .../operations/_subnets_operations.py | 8 +- .../operations/_virtual_hubs_operations.py | 24 +- ..._network_gateway_connections_operations.py | 20 +- .../_virtual_network_gateways_operations.py | 52 +- .../_virtual_network_peerings_operations.py | 8 +- .../_virtual_network_taps_operations.py | 12 +- .../_virtual_networks_operations.py | 12 +- .../operations/_virtual_wans_operations.py | 24 +- .../operations/_vpn_connections_operations.py | 16 +- .../operations/_vpn_gateways_operations.py | 24 +- .../_vpn_sites_configuration_operations.py | 6 +- .../operations/_vpn_sites_operations.py | 24 +- .../mgmt/network/v2018_10_01/_metadata.json | 108 +- .../v2018_10_01/_network_management_client.py | 20 + .../aio/_network_management_client.py | 19 + .../_application_gateways_operations.py | 24 +- ..._application_security_groups_operations.py | 8 +- .../operations/_azure_firewalls_operations.py | 8 +- .../_connection_monitors_operations.py | 34 +- .../_ddos_protection_plans_operations.py | 8 +- ...route_circuit_authorizations_operations.py | 8 +- ...ss_route_circuit_connections_operations.py | 8 +- ...press_route_circuit_peerings_operations.py | 8 +- .../_express_route_circuits_operations.py | 24 +- .../_express_route_connections_operations.py | 8 +- ...te_cross_connection_peerings_operations.py | 8 +- ...ress_route_cross_connections_operations.py | 20 +- .../_express_route_gateways_operations.py | 8 +- .../_express_route_ports_operations.py | 12 +- ..._virtual_network_connections_operations.py | 4 +- .../_inbound_nat_rules_operations.py | 8 +- .../_interface_endpoints_operations.py | 8 +- .../operations/_load_balancers_operations.py | 12 +- .../_local_network_gateways_operations.py | 12 +- ...interface_tap_configurations_operations.py | 8 +- .../_network_interfaces_operations.py | 20 +- .../_network_management_client_operations.py | 2 +- .../_network_profiles_operations.py | 4 +- .../_network_security_groups_operations.py | 12 +- .../_network_watchers_operations.py | 84 +- .../_p2_svpn_gateways_operations.py | 28 +- ...2_svpn_server_configurations_operations.py | 16 +- .../operations/_packet_captures_operations.py | 28 +- .../_public_ip_addresses_operations.py | 12 +- .../_public_ip_prefixes_operations.py | 12 +- .../_route_filter_rules_operations.py | 12 +- .../operations/_route_filters_operations.py | 12 +- .../operations/_route_tables_operations.py | 12 +- .../aio/operations/_routes_operations.py | 8 +- .../operations/_security_rules_operations.py | 8 +- .../_service_endpoint_policies_operations.py | 12 +- ..._endpoint_policy_definitions_operations.py | 8 +- .../aio/operations/_subnets_operations.py | 8 +- .../operations/_virtual_hubs_operations.py | 24 +- ..._network_gateway_connections_operations.py | 20 +- .../_virtual_network_gateways_operations.py | 52 +- .../_virtual_network_peerings_operations.py | 8 +- .../_virtual_network_taps_operations.py | 12 +- .../_virtual_networks_operations.py | 12 +- .../operations/_virtual_wans_operations.py | 24 +- .../operations/_vpn_connections_operations.py | 16 +- .../operations/_vpn_gateways_operations.py | 24 +- .../_vpn_sites_configuration_operations.py | 6 +- .../aio/operations/_vpn_sites_operations.py | 24 +- .../network/v2018_10_01/models/_models.py | 12 +- .../network/v2018_10_01/models/_models_py3.py | 14 +- .../_application_gateways_operations.py | 24 +- ..._application_security_groups_operations.py | 8 +- .../operations/_azure_firewalls_operations.py | 8 +- .../_connection_monitors_operations.py | 34 +- .../_ddos_protection_plans_operations.py | 8 +- ...route_circuit_authorizations_operations.py | 8 +- ...ss_route_circuit_connections_operations.py | 8 +- ...press_route_circuit_peerings_operations.py | 8 +- .../_express_route_circuits_operations.py | 24 +- .../_express_route_connections_operations.py | 8 +- ...te_cross_connection_peerings_operations.py | 8 +- ...ress_route_cross_connections_operations.py | 20 +- .../_express_route_gateways_operations.py | 8 +- .../_express_route_ports_operations.py | 12 +- ..._virtual_network_connections_operations.py | 4 +- .../_inbound_nat_rules_operations.py | 8 +- .../_interface_endpoints_operations.py | 8 +- .../operations/_load_balancers_operations.py | 12 +- .../_local_network_gateways_operations.py | 12 +- ...interface_tap_configurations_operations.py | 8 +- .../_network_interfaces_operations.py | 20 +- .../_network_management_client_operations.py | 2 +- .../_network_profiles_operations.py | 4 +- .../_network_security_groups_operations.py | 12 +- .../_network_watchers_operations.py | 84 +- .../_p2_svpn_gateways_operations.py | 28 +- ...2_svpn_server_configurations_operations.py | 16 +- .../operations/_packet_captures_operations.py | 28 +- .../_public_ip_addresses_operations.py | 12 +- .../_public_ip_prefixes_operations.py | 12 +- .../_route_filter_rules_operations.py | 12 +- .../operations/_route_filters_operations.py | 12 +- .../operations/_route_tables_operations.py | 12 +- .../operations/_routes_operations.py | 8 +- .../operations/_security_rules_operations.py | 8 +- .../_service_endpoint_policies_operations.py | 12 +- ..._endpoint_policy_definitions_operations.py | 8 +- .../operations/_subnets_operations.py | 8 +- .../operations/_virtual_hubs_operations.py | 24 +- ..._network_gateway_connections_operations.py | 20 +- .../_virtual_network_gateways_operations.py | 52 +- .../_virtual_network_peerings_operations.py | 8 +- .../_virtual_network_taps_operations.py | 12 +- .../_virtual_networks_operations.py | 12 +- .../operations/_virtual_wans_operations.py | 24 +- .../operations/_vpn_connections_operations.py | 16 +- .../operations/_vpn_gateways_operations.py | 24 +- .../_vpn_sites_configuration_operations.py | 6 +- .../operations/_vpn_sites_operations.py | 24 +- .../mgmt/network/v2018_11_01/_metadata.json | 108 +- .../v2018_11_01/_network_management_client.py | 20 + .../aio/_network_management_client.py | 19 + .../_application_gateways_operations.py | 30 +- ..._application_security_groups_operations.py | 12 +- .../operations/_azure_firewalls_operations.py | 8 +- .../_connection_monitors_operations.py | 34 +- .../_ddos_custom_policies_operations.py | 12 +- .../_ddos_protection_plans_operations.py | 12 +- ...route_circuit_authorizations_operations.py | 8 +- ...ss_route_circuit_connections_operations.py | 8 +- ...press_route_circuit_peerings_operations.py | 8 +- .../_express_route_circuits_operations.py | 24 +- .../_express_route_connections_operations.py | 8 +- ...te_cross_connection_peerings_operations.py | 8 +- ...ress_route_cross_connections_operations.py | 20 +- .../_express_route_gateways_operations.py | 8 +- .../_express_route_ports_operations.py | 12 +- ..._virtual_network_connections_operations.py | 4 +- .../_inbound_nat_rules_operations.py | 8 +- .../_interface_endpoints_operations.py | 8 +- .../operations/_load_balancers_operations.py | 12 +- .../_local_network_gateways_operations.py | 12 +- ...interface_tap_configurations_operations.py | 8 +- .../_network_interfaces_operations.py | 20 +- .../_network_management_client_operations.py | 2 +- .../_network_profiles_operations.py | 4 +- .../_network_security_groups_operations.py | 12 +- .../_network_watchers_operations.py | 84 +- .../_p2_svpn_gateways_operations.py | 28 +- ...2_svpn_server_configurations_operations.py | 16 +- .../operations/_packet_captures_operations.py | 28 +- .../_public_ip_addresses_operations.py | 12 +- .../_public_ip_prefixes_operations.py | 12 +- .../_route_filter_rules_operations.py | 12 +- .../operations/_route_filters_operations.py | 12 +- .../operations/_route_tables_operations.py | 12 +- .../aio/operations/_routes_operations.py | 8 +- .../operations/_security_rules_operations.py | 8 +- .../_service_endpoint_policies_operations.py | 12 +- ..._endpoint_policy_definitions_operations.py | 8 +- .../aio/operations/_subnets_operations.py | 8 +- .../operations/_virtual_hubs_operations.py | 24 +- ..._network_gateway_connections_operations.py | 20 +- .../_virtual_network_gateways_operations.py | 52 +- .../_virtual_network_peerings_operations.py | 8 +- .../_virtual_network_taps_operations.py | 12 +- .../_virtual_networks_operations.py | 12 +- .../operations/_virtual_wans_operations.py | 24 +- .../operations/_vpn_connections_operations.py | 16 +- .../operations/_vpn_gateways_operations.py | 24 +- .../_vpn_sites_configuration_operations.py | 6 +- .../aio/operations/_vpn_sites_operations.py | 24 +- .../network/v2018_11_01/models/_models.py | 12 +- .../network/v2018_11_01/models/_models_py3.py | 14 +- .../_application_gateways_operations.py | 30 +- ..._application_security_groups_operations.py | 12 +- .../operations/_azure_firewalls_operations.py | 8 +- .../_connection_monitors_operations.py | 34 +- .../_ddos_custom_policies_operations.py | 12 +- .../_ddos_protection_plans_operations.py | 12 +- ...route_circuit_authorizations_operations.py | 8 +- ...ss_route_circuit_connections_operations.py | 8 +- ...press_route_circuit_peerings_operations.py | 8 +- .../_express_route_circuits_operations.py | 24 +- .../_express_route_connections_operations.py | 8 +- ...te_cross_connection_peerings_operations.py | 8 +- ...ress_route_cross_connections_operations.py | 20 +- .../_express_route_gateways_operations.py | 8 +- .../_express_route_ports_operations.py | 12 +- ..._virtual_network_connections_operations.py | 4 +- .../_inbound_nat_rules_operations.py | 8 +- .../_interface_endpoints_operations.py | 8 +- .../operations/_load_balancers_operations.py | 12 +- .../_local_network_gateways_operations.py | 12 +- ...interface_tap_configurations_operations.py | 8 +- .../_network_interfaces_operations.py | 20 +- .../_network_management_client_operations.py | 2 +- .../_network_profiles_operations.py | 4 +- .../_network_security_groups_operations.py | 12 +- .../_network_watchers_operations.py | 84 +- .../_p2_svpn_gateways_operations.py | 28 +- ...2_svpn_server_configurations_operations.py | 16 +- .../operations/_packet_captures_operations.py | 28 +- .../_public_ip_addresses_operations.py | 12 +- .../_public_ip_prefixes_operations.py | 12 +- .../_route_filter_rules_operations.py | 12 +- .../operations/_route_filters_operations.py | 12 +- .../operations/_route_tables_operations.py | 12 +- .../operations/_routes_operations.py | 8 +- .../operations/_security_rules_operations.py | 8 +- .../_service_endpoint_policies_operations.py | 12 +- ..._endpoint_policy_definitions_operations.py | 8 +- .../operations/_subnets_operations.py | 8 +- .../operations/_virtual_hubs_operations.py | 24 +- ..._network_gateway_connections_operations.py | 20 +- .../_virtual_network_gateways_operations.py | 52 +- .../_virtual_network_peerings_operations.py | 8 +- .../_virtual_network_taps_operations.py | 12 +- .../_virtual_networks_operations.py | 12 +- .../operations/_virtual_wans_operations.py | 24 +- .../operations/_vpn_connections_operations.py | 16 +- .../operations/_vpn_gateways_operations.py | 24 +- .../_vpn_sites_configuration_operations.py | 6 +- .../operations/_vpn_sites_operations.py | 24 +- .../mgmt/network/v2018_12_01/_metadata.json | 108 +- .../v2018_12_01/_network_management_client.py | 20 + .../aio/_network_management_client.py | 19 + .../_application_gateways_operations.py | 30 +- ..._application_security_groups_operations.py | 12 +- .../operations/_azure_firewalls_operations.py | 8 +- .../_connection_monitors_operations.py | 34 +- .../_ddos_custom_policies_operations.py | 12 +- .../_ddos_protection_plans_operations.py | 12 +- ...route_circuit_authorizations_operations.py | 8 +- ...ss_route_circuit_connections_operations.py | 8 +- ...press_route_circuit_peerings_operations.py | 8 +- .../_express_route_circuits_operations.py | 24 +- .../_express_route_connections_operations.py | 8 +- ...te_cross_connection_peerings_operations.py | 8 +- ...ress_route_cross_connections_operations.py | 20 +- .../_express_route_gateways_operations.py | 8 +- .../_express_route_ports_operations.py | 12 +- ..._virtual_network_connections_operations.py | 4 +- .../_inbound_nat_rules_operations.py | 8 +- .../_interface_endpoints_operations.py | 8 +- .../operations/_load_balancers_operations.py | 12 +- .../_local_network_gateways_operations.py | 12 +- ...interface_tap_configurations_operations.py | 8 +- .../_network_interfaces_operations.py | 20 +- .../_network_management_client_operations.py | 2 +- .../_network_profiles_operations.py | 4 +- .../_network_security_groups_operations.py | 12 +- .../_network_watchers_operations.py | 84 +- .../_p2_svpn_gateways_operations.py | 28 +- ...2_svpn_server_configurations_operations.py | 16 +- .../operations/_packet_captures_operations.py | 28 +- .../_public_ip_addresses_operations.py | 12 +- .../_public_ip_prefixes_operations.py | 12 +- .../_route_filter_rules_operations.py | 12 +- .../operations/_route_filters_operations.py | 12 +- .../operations/_route_tables_operations.py | 12 +- .../aio/operations/_routes_operations.py | 8 +- .../operations/_security_rules_operations.py | 8 +- .../_service_endpoint_policies_operations.py | 12 +- ..._endpoint_policy_definitions_operations.py | 8 +- .../aio/operations/_subnets_operations.py | 12 +- .../operations/_virtual_hubs_operations.py | 24 +- ..._network_gateway_connections_operations.py | 20 +- .../_virtual_network_gateways_operations.py | 52 +- .../_virtual_network_peerings_operations.py | 8 +- .../_virtual_network_taps_operations.py | 12 +- .../_virtual_networks_operations.py | 12 +- .../operations/_virtual_wans_operations.py | 24 +- .../operations/_vpn_connections_operations.py | 16 +- .../operations/_vpn_gateways_operations.py | 24 +- .../_vpn_sites_configuration_operations.py | 6 +- .../aio/operations/_vpn_sites_operations.py | 24 +- ...pplication_firewall_policies_operations.py | 4 +- .../network/v2018_12_01/models/_models.py | 55 +- .../network/v2018_12_01/models/_models_py3.py | 57 +- .../_application_gateways_operations.py | 30 +- ..._application_security_groups_operations.py | 12 +- .../operations/_azure_firewalls_operations.py | 8 +- .../_connection_monitors_operations.py | 34 +- .../_ddos_custom_policies_operations.py | 12 +- .../_ddos_protection_plans_operations.py | 12 +- ...route_circuit_authorizations_operations.py | 8 +- ...ss_route_circuit_connections_operations.py | 8 +- ...press_route_circuit_peerings_operations.py | 8 +- .../_express_route_circuits_operations.py | 24 +- .../_express_route_connections_operations.py | 8 +- ...te_cross_connection_peerings_operations.py | 8 +- ...ress_route_cross_connections_operations.py | 20 +- .../_express_route_gateways_operations.py | 8 +- .../_express_route_ports_operations.py | 12 +- ..._virtual_network_connections_operations.py | 4 +- .../_inbound_nat_rules_operations.py | 8 +- .../_interface_endpoints_operations.py | 8 +- .../operations/_load_balancers_operations.py | 12 +- .../_local_network_gateways_operations.py | 12 +- ...interface_tap_configurations_operations.py | 8 +- .../_network_interfaces_operations.py | 20 +- .../_network_management_client_operations.py | 2 +- .../_network_profiles_operations.py | 4 +- .../_network_security_groups_operations.py | 12 +- .../_network_watchers_operations.py | 84 +- .../_p2_svpn_gateways_operations.py | 28 +- ...2_svpn_server_configurations_operations.py | 16 +- .../operations/_packet_captures_operations.py | 28 +- .../_public_ip_addresses_operations.py | 12 +- .../_public_ip_prefixes_operations.py | 12 +- .../_route_filter_rules_operations.py | 12 +- .../operations/_route_filters_operations.py | 12 +- .../operations/_route_tables_operations.py | 12 +- .../operations/_routes_operations.py | 8 +- .../operations/_security_rules_operations.py | 8 +- .../_service_endpoint_policies_operations.py | 12 +- ..._endpoint_policy_definitions_operations.py | 8 +- .../operations/_subnets_operations.py | 12 +- .../operations/_virtual_hubs_operations.py | 24 +- ..._network_gateway_connections_operations.py | 20 +- .../_virtual_network_gateways_operations.py | 52 +- .../_virtual_network_peerings_operations.py | 8 +- .../_virtual_network_taps_operations.py | 12 +- .../_virtual_networks_operations.py | 12 +- .../operations/_virtual_wans_operations.py | 24 +- .../operations/_vpn_connections_operations.py | 16 +- .../operations/_vpn_gateways_operations.py | 24 +- .../_vpn_sites_configuration_operations.py | 6 +- .../operations/_vpn_sites_operations.py | 24 +- ...pplication_firewall_policies_operations.py | 4 +- .../mgmt/network/v2019_02_01/_metadata.json | 108 +- .../v2019_02_01/_network_management_client.py | 20 + .../aio/_network_management_client.py | 19 + .../_application_gateways_operations.py | 34 +- ..._application_security_groups_operations.py | 12 +- .../operations/_azure_firewalls_operations.py | 8 +- .../_connection_monitors_operations.py | 34 +- .../_ddos_custom_policies_operations.py | 12 +- .../_ddos_protection_plans_operations.py | 12 +- ...route_circuit_authorizations_operations.py | 8 +- ...ss_route_circuit_connections_operations.py | 8 +- ...press_route_circuit_peerings_operations.py | 8 +- .../_express_route_circuits_operations.py | 24 +- .../_express_route_connections_operations.py | 8 +- ...te_cross_connection_peerings_operations.py | 8 +- ...ress_route_cross_connections_operations.py | 20 +- .../_express_route_gateways_operations.py | 8 +- .../_express_route_ports_operations.py | 12 +- ..._virtual_network_connections_operations.py | 4 +- .../_inbound_nat_rules_operations.py | 8 +- .../_interface_endpoints_operations.py | 8 +- .../operations/_load_balancers_operations.py | 12 +- .../_local_network_gateways_operations.py | 12 +- .../operations/_nat_gateways_operations.py | 8 +- ...interface_tap_configurations_operations.py | 8 +- .../_network_interfaces_operations.py | 20 +- .../_network_management_client_operations.py | 2 +- .../_network_profiles_operations.py | 4 +- .../_network_security_groups_operations.py | 12 +- .../_network_watchers_operations.py | 84 +- .../_p2_svpn_gateways_operations.py | 28 +- ...2_svpn_server_configurations_operations.py | 16 +- .../operations/_packet_captures_operations.py | 28 +- .../_public_ip_addresses_operations.py | 12 +- .../_public_ip_prefixes_operations.py | 12 +- .../_route_filter_rules_operations.py | 12 +- .../operations/_route_filters_operations.py | 12 +- .../operations/_route_tables_operations.py | 12 +- .../aio/operations/_routes_operations.py | 8 +- .../operations/_security_rules_operations.py | 8 +- .../_service_endpoint_policies_operations.py | 12 +- ..._endpoint_policy_definitions_operations.py | 8 +- .../aio/operations/_subnets_operations.py | 12 +- .../operations/_virtual_hubs_operations.py | 24 +- ..._network_gateway_connections_operations.py | 20 +- .../_virtual_network_gateways_operations.py | 52 +- .../_virtual_network_peerings_operations.py | 8 +- .../_virtual_network_taps_operations.py | 12 +- .../_virtual_networks_operations.py | 12 +- .../operations/_virtual_wans_operations.py | 24 +- .../operations/_vpn_connections_operations.py | 16 +- .../operations/_vpn_gateways_operations.py | 24 +- .../_vpn_sites_configuration_operations.py | 6 +- .../aio/operations/_vpn_sites_operations.py | 24 +- ...pplication_firewall_policies_operations.py | 4 +- .../network/v2019_02_01/models/_models.py | 55 +- .../network/v2019_02_01/models/_models_py3.py | 57 +- .../_application_gateways_operations.py | 34 +- ..._application_security_groups_operations.py | 12 +- .../operations/_azure_firewalls_operations.py | 8 +- .../_connection_monitors_operations.py | 34 +- .../_ddos_custom_policies_operations.py | 12 +- .../_ddos_protection_plans_operations.py | 12 +- ...route_circuit_authorizations_operations.py | 8 +- ...ss_route_circuit_connections_operations.py | 8 +- ...press_route_circuit_peerings_operations.py | 8 +- .../_express_route_circuits_operations.py | 24 +- .../_express_route_connections_operations.py | 8 +- ...te_cross_connection_peerings_operations.py | 8 +- ...ress_route_cross_connections_operations.py | 20 +- .../_express_route_gateways_operations.py | 8 +- .../_express_route_ports_operations.py | 12 +- ..._virtual_network_connections_operations.py | 4 +- .../_inbound_nat_rules_operations.py | 8 +- .../_interface_endpoints_operations.py | 8 +- .../operations/_load_balancers_operations.py | 12 +- .../_local_network_gateways_operations.py | 12 +- .../operations/_nat_gateways_operations.py | 8 +- ...interface_tap_configurations_operations.py | 8 +- .../_network_interfaces_operations.py | 20 +- .../_network_management_client_operations.py | 2 +- .../_network_profiles_operations.py | 4 +- .../_network_security_groups_operations.py | 12 +- .../_network_watchers_operations.py | 84 +- .../_p2_svpn_gateways_operations.py | 28 +- ...2_svpn_server_configurations_operations.py | 16 +- .../operations/_packet_captures_operations.py | 28 +- .../_public_ip_addresses_operations.py | 12 +- .../_public_ip_prefixes_operations.py | 12 +- .../_route_filter_rules_operations.py | 12 +- .../operations/_route_filters_operations.py | 12 +- .../operations/_route_tables_operations.py | 12 +- .../operations/_routes_operations.py | 8 +- .../operations/_security_rules_operations.py | 8 +- .../_service_endpoint_policies_operations.py | 12 +- ..._endpoint_policy_definitions_operations.py | 8 +- .../operations/_subnets_operations.py | 12 +- .../operations/_virtual_hubs_operations.py | 24 +- ..._network_gateway_connections_operations.py | 20 +- .../_virtual_network_gateways_operations.py | 52 +- .../_virtual_network_peerings_operations.py | 8 +- .../_virtual_network_taps_operations.py | 12 +- .../_virtual_networks_operations.py | 12 +- .../operations/_virtual_wans_operations.py | 24 +- .../operations/_vpn_connections_operations.py | 16 +- .../operations/_vpn_gateways_operations.py | 24 +- .../_vpn_sites_configuration_operations.py | 6 +- .../operations/_vpn_sites_operations.py | 24 +- ...pplication_firewall_policies_operations.py | 4 +- .../mgmt/network/v2019_04_01/_metadata.json | 108 +- .../v2019_04_01/_network_management_client.py | 20 + .../aio/_network_management_client.py | 19 + .../_application_gateways_operations.py | 34 +- ..._application_security_groups_operations.py | 12 +- .../operations/_azure_firewalls_operations.py | 8 +- .../operations/_bastion_hosts_operations.py | 8 +- .../_connection_monitors_operations.py | 34 +- .../_ddos_custom_policies_operations.py | 12 +- .../_ddos_protection_plans_operations.py | 12 +- ...route_circuit_authorizations_operations.py | 8 +- ...ss_route_circuit_connections_operations.py | 8 +- ...press_route_circuit_peerings_operations.py | 8 +- .../_express_route_circuits_operations.py | 24 +- .../_express_route_connections_operations.py | 8 +- ...te_cross_connection_peerings_operations.py | 8 +- ...ress_route_cross_connections_operations.py | 20 +- .../_express_route_gateways_operations.py | 8 +- .../_express_route_ports_operations.py | 12 +- ..._virtual_network_connections_operations.py | 4 +- .../_inbound_nat_rules_operations.py | 8 +- .../operations/_load_balancers_operations.py | 12 +- .../_local_network_gateways_operations.py | 12 +- .../operations/_nat_gateways_operations.py | 8 +- ...interface_tap_configurations_operations.py | 8 +- .../_network_interfaces_operations.py | 20 +- .../_network_management_client_operations.py | 2 +- .../_network_profiles_operations.py | 4 +- .../_network_security_groups_operations.py | 12 +- .../_network_watchers_operations.py | 84 +- .../_p2_svpn_gateways_operations.py | 32 +- ...2_svpn_server_configurations_operations.py | 16 +- .../operations/_packet_captures_operations.py | 28 +- .../_private_endpoints_operations.py | 18 +- .../_private_link_services_operations.py | 34 +- .../_public_ip_addresses_operations.py | 12 +- .../_public_ip_prefixes_operations.py | 12 +- .../_route_filter_rules_operations.py | 12 +- .../operations/_route_filters_operations.py | 12 +- .../operations/_route_tables_operations.py | 12 +- .../aio/operations/_routes_operations.py | 8 +- .../operations/_security_rules_operations.py | 8 +- .../_service_endpoint_policies_operations.py | 12 +- ..._endpoint_policy_definitions_operations.py | 8 +- .../aio/operations/_subnets_operations.py | 12 +- .../operations/_virtual_hubs_operations.py | 24 +- ..._network_gateway_connections_operations.py | 20 +- .../_virtual_network_gateways_operations.py | 56 +- .../_virtual_network_peerings_operations.py | 8 +- .../_virtual_network_taps_operations.py | 12 +- .../_virtual_networks_operations.py | 12 +- .../operations/_virtual_wans_operations.py | 24 +- .../operations/_vpn_connections_operations.py | 16 +- .../operations/_vpn_gateways_operations.py | 28 +- .../_vpn_sites_configuration_operations.py | 6 +- .../aio/operations/_vpn_sites_operations.py | 24 +- ...pplication_firewall_policies_operations.py | 4 +- .../network/v2019_04_01/models/_models.py | 64 +- .../network/v2019_04_01/models/_models_py3.py | 70 +- .../_application_gateways_operations.py | 34 +- ..._application_security_groups_operations.py | 12 +- .../operations/_azure_firewalls_operations.py | 8 +- .../operations/_bastion_hosts_operations.py | 8 +- .../_connection_monitors_operations.py | 34 +- .../_ddos_custom_policies_operations.py | 12 +- .../_ddos_protection_plans_operations.py | 12 +- ...route_circuit_authorizations_operations.py | 8 +- ...ss_route_circuit_connections_operations.py | 8 +- ...press_route_circuit_peerings_operations.py | 8 +- .../_express_route_circuits_operations.py | 24 +- .../_express_route_connections_operations.py | 8 +- ...te_cross_connection_peerings_operations.py | 8 +- ...ress_route_cross_connections_operations.py | 20 +- .../_express_route_gateways_operations.py | 8 +- .../_express_route_ports_operations.py | 12 +- ..._virtual_network_connections_operations.py | 4 +- .../_inbound_nat_rules_operations.py | 8 +- .../operations/_load_balancers_operations.py | 12 +- .../_local_network_gateways_operations.py | 12 +- .../operations/_nat_gateways_operations.py | 8 +- ...interface_tap_configurations_operations.py | 8 +- .../_network_interfaces_operations.py | 20 +- .../_network_management_client_operations.py | 2 +- .../_network_profiles_operations.py | 4 +- .../_network_security_groups_operations.py | 12 +- .../_network_watchers_operations.py | 84 +- .../_p2_svpn_gateways_operations.py | 32 +- ...2_svpn_server_configurations_operations.py | 16 +- .../operations/_packet_captures_operations.py | 28 +- .../_private_endpoints_operations.py | 18 +- .../_private_link_services_operations.py | 34 +- .../_public_ip_addresses_operations.py | 12 +- .../_public_ip_prefixes_operations.py | 12 +- .../_route_filter_rules_operations.py | 12 +- .../operations/_route_filters_operations.py | 12 +- .../operations/_route_tables_operations.py | 12 +- .../operations/_routes_operations.py | 8 +- .../operations/_security_rules_operations.py | 8 +- .../_service_endpoint_policies_operations.py | 12 +- ..._endpoint_policy_definitions_operations.py | 8 +- .../operations/_subnets_operations.py | 12 +- .../operations/_virtual_hubs_operations.py | 24 +- ..._network_gateway_connections_operations.py | 20 +- .../_virtual_network_gateways_operations.py | 56 +- .../_virtual_network_peerings_operations.py | 8 +- .../_virtual_network_taps_operations.py | 12 +- .../_virtual_networks_operations.py | 12 +- .../operations/_virtual_wans_operations.py | 24 +- .../operations/_vpn_connections_operations.py | 16 +- .../operations/_vpn_gateways_operations.py | 28 +- .../_vpn_sites_configuration_operations.py | 6 +- .../operations/_vpn_sites_operations.py | 24 +- ...pplication_firewall_policies_operations.py | 4 +- .../mgmt/network/v2019_06_01/_metadata.json | 108 +- .../v2019_06_01/_network_management_client.py | 20 + .../aio/_network_management_client.py | 19 + .../_application_gateways_operations.py | 34 +- ..._application_security_groups_operations.py | 12 +- .../operations/_azure_firewalls_operations.py | 8 +- .../operations/_bastion_hosts_operations.py | 14 +- .../_connection_monitors_operations.py | 36 +- .../_ddos_custom_policies_operations.py | 12 +- .../_ddos_protection_plans_operations.py | 12 +- ...route_circuit_authorizations_operations.py | 8 +- ...ss_route_circuit_connections_operations.py | 8 +- ...press_route_circuit_peerings_operations.py | 8 +- .../_express_route_circuits_operations.py | 24 +- .../_express_route_connections_operations.py | 8 +- ...te_cross_connection_peerings_operations.py | 8 +- ...ress_route_cross_connections_operations.py | 20 +- .../_express_route_gateways_operations.py | 8 +- .../_express_route_ports_operations.py | 12 +- .../_firewall_policies_operations.py | 10 +- ..._firewall_policy_rule_groups_operations.py | 8 +- ..._virtual_network_connections_operations.py | 4 +- .../_inbound_nat_rules_operations.py | 8 +- .../operations/_load_balancers_operations.py | 12 +- .../_local_network_gateways_operations.py | 12 +- .../operations/_nat_gateways_operations.py | 8 +- ...interface_tap_configurations_operations.py | 8 +- .../_network_interfaces_operations.py | 20 +- .../_network_management_client_operations.py | 2 +- .../_network_profiles_operations.py | 4 +- .../_network_security_groups_operations.py | 12 +- .../_network_watchers_operations.py | 84 +- .../_p2_svpn_gateways_operations.py | 32 +- ...2_svpn_server_configurations_operations.py | 16 +- .../operations/_packet_captures_operations.py | 28 +- .../_private_endpoints_operations.py | 18 +- .../_private_link_services_operations.py | 34 +- .../_public_ip_addresses_operations.py | 12 +- .../_public_ip_prefixes_operations.py | 12 +- .../_route_filter_rules_operations.py | 12 +- .../operations/_route_filters_operations.py | 12 +- .../operations/_route_tables_operations.py | 12 +- .../aio/operations/_routes_operations.py | 8 +- .../operations/_security_rules_operations.py | 8 +- .../_service_endpoint_policies_operations.py | 12 +- ..._endpoint_policy_definitions_operations.py | 8 +- .../aio/operations/_subnets_operations.py | 16 +- .../operations/_virtual_hubs_operations.py | 24 +- ..._network_gateway_connections_operations.py | 20 +- .../_virtual_network_gateways_operations.py | 56 +- .../_virtual_network_peerings_operations.py | 8 +- .../_virtual_network_taps_operations.py | 12 +- .../_virtual_networks_operations.py | 12 +- .../operations/_virtual_wans_operations.py | 24 +- .../operations/_vpn_connections_operations.py | 16 +- .../operations/_vpn_gateways_operations.py | 28 +- .../_vpn_link_connections_operations.py | 2 +- .../_vpn_site_link_connections_operations.py | 2 +- .../operations/_vpn_site_links_operations.py | 4 +- .../_vpn_sites_configuration_operations.py | 6 +- .../aio/operations/_vpn_sites_operations.py | 24 +- ...pplication_firewall_policies_operations.py | 4 +- .../network/v2019_06_01/models/_models.py | 64 +- .../network/v2019_06_01/models/_models_py3.py | 70 +- .../_application_gateways_operations.py | 34 +- ..._application_security_groups_operations.py | 12 +- .../operations/_azure_firewalls_operations.py | 8 +- .../operations/_bastion_hosts_operations.py | 14 +- .../_connection_monitors_operations.py | 36 +- .../_ddos_custom_policies_operations.py | 12 +- .../_ddos_protection_plans_operations.py | 12 +- ...route_circuit_authorizations_operations.py | 8 +- ...ss_route_circuit_connections_operations.py | 8 +- ...press_route_circuit_peerings_operations.py | 8 +- .../_express_route_circuits_operations.py | 24 +- .../_express_route_connections_operations.py | 8 +- ...te_cross_connection_peerings_operations.py | 8 +- ...ress_route_cross_connections_operations.py | 20 +- .../_express_route_gateways_operations.py | 8 +- .../_express_route_ports_operations.py | 12 +- .../_firewall_policies_operations.py | 10 +- ..._firewall_policy_rule_groups_operations.py | 8 +- ..._virtual_network_connections_operations.py | 4 +- .../_inbound_nat_rules_operations.py | 8 +- .../operations/_load_balancers_operations.py | 12 +- .../_local_network_gateways_operations.py | 12 +- .../operations/_nat_gateways_operations.py | 8 +- ...interface_tap_configurations_operations.py | 8 +- .../_network_interfaces_operations.py | 20 +- .../_network_management_client_operations.py | 2 +- .../_network_profiles_operations.py | 4 +- .../_network_security_groups_operations.py | 12 +- .../_network_watchers_operations.py | 84 +- .../_p2_svpn_gateways_operations.py | 32 +- ...2_svpn_server_configurations_operations.py | 16 +- .../operations/_packet_captures_operations.py | 28 +- .../_private_endpoints_operations.py | 18 +- .../_private_link_services_operations.py | 34 +- .../_public_ip_addresses_operations.py | 12 +- .../_public_ip_prefixes_operations.py | 12 +- .../_route_filter_rules_operations.py | 12 +- .../operations/_route_filters_operations.py | 12 +- .../operations/_route_tables_operations.py | 12 +- .../operations/_routes_operations.py | 8 +- .../operations/_security_rules_operations.py | 8 +- .../_service_endpoint_policies_operations.py | 12 +- ..._endpoint_policy_definitions_operations.py | 8 +- .../operations/_subnets_operations.py | 16 +- .../operations/_virtual_hubs_operations.py | 24 +- ..._network_gateway_connections_operations.py | 20 +- .../_virtual_network_gateways_operations.py | 56 +- .../_virtual_network_peerings_operations.py | 8 +- .../_virtual_network_taps_operations.py | 12 +- .../_virtual_networks_operations.py | 12 +- .../operations/_virtual_wans_operations.py | 24 +- .../operations/_vpn_connections_operations.py | 16 +- .../operations/_vpn_gateways_operations.py | 28 +- .../_vpn_link_connections_operations.py | 2 +- .../_vpn_site_link_connections_operations.py | 2 +- .../operations/_vpn_site_links_operations.py | 4 +- .../_vpn_sites_configuration_operations.py | 6 +- .../operations/_vpn_sites_operations.py | 24 +- ...pplication_firewall_policies_operations.py | 4 +- .../mgmt/network/v2019_07_01/_metadata.json | 108 +- .../v2019_07_01/_network_management_client.py | 20 + .../aio/_network_management_client.py | 19 + .../_application_gateways_operations.py | 34 +- ..._application_security_groups_operations.py | 12 +- .../operations/_azure_firewalls_operations.py | 8 +- .../operations/_bastion_hosts_operations.py | 8 +- .../_connection_monitors_operations.py | 36 +- .../_ddos_custom_policies_operations.py | 12 +- .../_ddos_protection_plans_operations.py | 12 +- ...route_circuit_authorizations_operations.py | 8 +- ...ss_route_circuit_connections_operations.py | 8 +- ...press_route_circuit_peerings_operations.py | 8 +- .../_express_route_circuits_operations.py | 24 +- .../_express_route_connections_operations.py | 8 +- ...te_cross_connection_peerings_operations.py | 8 +- ...ress_route_cross_connections_operations.py | 20 +- .../_express_route_gateways_operations.py | 8 +- .../_express_route_ports_operations.py | 12 +- .../_firewall_policies_operations.py | 10 +- ..._firewall_policy_rule_groups_operations.py | 8 +- ..._virtual_network_connections_operations.py | 4 +- .../_inbound_nat_rules_operations.py | 8 +- .../operations/_load_balancers_operations.py | 12 +- .../_local_network_gateways_operations.py | 12 +- .../operations/_nat_gateways_operations.py | 8 +- ...interface_tap_configurations_operations.py | 8 +- .../_network_interfaces_operations.py | 20 +- .../_network_management_client_operations.py | 2 +- .../_network_profiles_operations.py | 4 +- .../_network_security_groups_operations.py | 12 +- .../_network_watchers_operations.py | 84 +- .../_p2_svpn_gateways_operations.py | 32 +- ...2_svpn_server_configurations_operations.py | 16 +- .../operations/_packet_captures_operations.py | 28 +- .../_private_endpoints_operations.py | 18 +- .../_private_link_services_operations.py | 34 +- .../_public_ip_addresses_operations.py | 12 +- .../_public_ip_prefixes_operations.py | 12 +- .../_route_filter_rules_operations.py | 12 +- .../operations/_route_filters_operations.py | 12 +- .../operations/_route_tables_operations.py | 12 +- .../aio/operations/_routes_operations.py | 8 +- .../operations/_security_rules_operations.py | 8 +- .../_service_endpoint_policies_operations.py | 12 +- ..._endpoint_policy_definitions_operations.py | 8 +- .../aio/operations/_subnets_operations.py | 16 +- .../operations/_virtual_hubs_operations.py | 24 +- ..._network_gateway_connections_operations.py | 32 +- .../_virtual_network_gateways_operations.py | 68 +- .../_virtual_network_peerings_operations.py | 8 +- .../_virtual_network_taps_operations.py | 12 +- .../_virtual_networks_operations.py | 12 +- .../_virtual_router_peerings_operations.py | 18 +- .../operations/_virtual_routers_operations.py | 20 +- .../operations/_virtual_wans_operations.py | 24 +- .../operations/_vpn_connections_operations.py | 16 +- .../operations/_vpn_gateways_operations.py | 28 +- .../_vpn_link_connections_operations.py | 2 +- .../_vpn_site_link_connections_operations.py | 2 +- .../operations/_vpn_site_links_operations.py | 4 +- .../_vpn_sites_configuration_operations.py | 6 +- .../aio/operations/_vpn_sites_operations.py | 24 +- ...pplication_firewall_policies_operations.py | 4 +- .../network/v2019_07_01/models/_models.py | 64 +- .../network/v2019_07_01/models/_models_py3.py | 70 +- .../_application_gateways_operations.py | 34 +- ..._application_security_groups_operations.py | 12 +- .../operations/_azure_firewalls_operations.py | 8 +- .../operations/_bastion_hosts_operations.py | 8 +- .../_connection_monitors_operations.py | 36 +- .../_ddos_custom_policies_operations.py | 12 +- .../_ddos_protection_plans_operations.py | 12 +- ...route_circuit_authorizations_operations.py | 8 +- ...ss_route_circuit_connections_operations.py | 8 +- ...press_route_circuit_peerings_operations.py | 8 +- .../_express_route_circuits_operations.py | 24 +- .../_express_route_connections_operations.py | 8 +- ...te_cross_connection_peerings_operations.py | 8 +- ...ress_route_cross_connections_operations.py | 20 +- .../_express_route_gateways_operations.py | 8 +- .../_express_route_ports_operations.py | 12 +- .../_firewall_policies_operations.py | 10 +- ..._firewall_policy_rule_groups_operations.py | 8 +- ..._virtual_network_connections_operations.py | 4 +- .../_inbound_nat_rules_operations.py | 8 +- .../operations/_load_balancers_operations.py | 12 +- .../_local_network_gateways_operations.py | 12 +- .../operations/_nat_gateways_operations.py | 8 +- ...interface_tap_configurations_operations.py | 8 +- .../_network_interfaces_operations.py | 20 +- .../_network_management_client_operations.py | 2 +- .../_network_profiles_operations.py | 4 +- .../_network_security_groups_operations.py | 12 +- .../_network_watchers_operations.py | 84 +- .../_p2_svpn_gateways_operations.py | 32 +- ...2_svpn_server_configurations_operations.py | 16 +- .../operations/_packet_captures_operations.py | 28 +- .../_private_endpoints_operations.py | 18 +- .../_private_link_services_operations.py | 34 +- .../_public_ip_addresses_operations.py | 12 +- .../_public_ip_prefixes_operations.py | 12 +- .../_route_filter_rules_operations.py | 12 +- .../operations/_route_filters_operations.py | 12 +- .../operations/_route_tables_operations.py | 12 +- .../operations/_routes_operations.py | 8 +- .../operations/_security_rules_operations.py | 8 +- .../_service_endpoint_policies_operations.py | 12 +- ..._endpoint_policy_definitions_operations.py | 8 +- .../operations/_subnets_operations.py | 16 +- .../operations/_virtual_hubs_operations.py | 24 +- ..._network_gateway_connections_operations.py | 32 +- .../_virtual_network_gateways_operations.py | 68 +- .../_virtual_network_peerings_operations.py | 8 +- .../_virtual_network_taps_operations.py | 12 +- .../_virtual_networks_operations.py | 12 +- .../_virtual_router_peerings_operations.py | 18 +- .../operations/_virtual_routers_operations.py | 20 +- .../operations/_virtual_wans_operations.py | 24 +- .../operations/_vpn_connections_operations.py | 16 +- .../operations/_vpn_gateways_operations.py | 28 +- .../_vpn_link_connections_operations.py | 2 +- .../_vpn_site_link_connections_operations.py | 2 +- .../operations/_vpn_site_links_operations.py | 4 +- .../_vpn_sites_configuration_operations.py | 6 +- .../operations/_vpn_sites_operations.py | 24 +- ...pplication_firewall_policies_operations.py | 4 +- .../mgmt/network/v2019_08_01/_metadata.json | 152 +- .../v2019_08_01/_network_management_client.py | 20 + .../aio/_network_management_client.py | 19 + .../_application_gateways_operations.py | 34 +- ..._application_security_groups_operations.py | 12 +- .../operations/_azure_firewalls_operations.py | 8 +- .../operations/_bastion_hosts_operations.py | 8 +- .../_connection_monitors_operations.py | 36 +- .../_ddos_custom_policies_operations.py | 12 +- .../_ddos_protection_plans_operations.py | 12 +- ...route_circuit_authorizations_operations.py | 8 +- ...ss_route_circuit_connections_operations.py | 8 +- ...press_route_circuit_peerings_operations.py | 8 +- .../_express_route_circuits_operations.py | 24 +- .../_express_route_connections_operations.py | 8 +- ...te_cross_connection_peerings_operations.py | 8 +- ...ress_route_cross_connections_operations.py | 20 +- .../_express_route_gateways_operations.py | 8 +- .../_express_route_ports_operations.py | 12 +- .../_firewall_policies_operations.py | 10 +- ..._firewall_policy_rule_groups_operations.py | 8 +- .../_inbound_nat_rules_operations.py | 8 +- .../operations/_load_balancers_operations.py | 12 +- .../_local_network_gateways_operations.py | 12 +- .../operations/_nat_gateways_operations.py | 8 +- ...interface_tap_configurations_operations.py | 8 +- .../_network_interfaces_operations.py | 20 +- .../_network_management_client_operations.py | 4 +- .../_network_profiles_operations.py | 4 +- .../_network_security_groups_operations.py | 12 +- .../_network_watchers_operations.py | 84 +- .../_p2_svpn_gateways_operations.py | 24 +- .../operations/_packet_captures_operations.py | 28 +- .../_private_endpoints_operations.py | 18 +- .../_private_link_services_operations.py | 34 +- .../_public_ip_addresses_operations.py | 12 +- .../_public_ip_prefixes_operations.py | 12 +- .../_route_filter_rules_operations.py | 12 +- .../operations/_route_filters_operations.py | 12 +- .../operations/_route_tables_operations.py | 12 +- .../aio/operations/_routes_operations.py | 8 +- .../operations/_security_rules_operations.py | 8 +- .../_service_endpoint_policies_operations.py | 12 +- ..._endpoint_policy_definitions_operations.py | 8 +- .../aio/operations/_subnets_operations.py | 16 +- .../operations/_virtual_hubs_operations.py | 12 +- ..._network_gateway_connections_operations.py | 32 +- .../_virtual_network_gateways_operations.py | 68 +- .../_virtual_network_peerings_operations.py | 8 +- .../_virtual_network_taps_operations.py | 12 +- .../_virtual_networks_operations.py | 12 +- .../_virtual_router_peerings_operations.py | 18 +- .../operations/_virtual_routers_operations.py | 20 +- .../operations/_virtual_wans_operations.py | 12 +- .../operations/_vpn_connections_operations.py | 8 +- .../operations/_vpn_gateways_operations.py | 16 +- ..._associated_with_virtual_wan_operations.py | 4 +- .../_vpn_server_configurations_operations.py | 12 +- .../_vpn_sites_configuration_operations.py | 4 +- .../aio/operations/_vpn_sites_operations.py | 12 +- ...pplication_firewall_policies_operations.py | 4 +- .../network/v2019_08_01/models/_models.py | 64 +- .../network/v2019_08_01/models/_models_py3.py | 70 +- .../_application_gateways_operations.py | 34 +- ..._application_security_groups_operations.py | 12 +- .../operations/_azure_firewalls_operations.py | 8 +- .../operations/_bastion_hosts_operations.py | 8 +- .../_connection_monitors_operations.py | 36 +- .../_ddos_custom_policies_operations.py | 12 +- .../_ddos_protection_plans_operations.py | 12 +- ...route_circuit_authorizations_operations.py | 8 +- ...ss_route_circuit_connections_operations.py | 8 +- ...press_route_circuit_peerings_operations.py | 8 +- .../_express_route_circuits_operations.py | 24 +- .../_express_route_connections_operations.py | 8 +- ...te_cross_connection_peerings_operations.py | 8 +- ...ress_route_cross_connections_operations.py | 20 +- .../_express_route_gateways_operations.py | 8 +- .../_express_route_ports_operations.py | 12 +- .../_firewall_policies_operations.py | 10 +- ..._firewall_policy_rule_groups_operations.py | 8 +- .../_inbound_nat_rules_operations.py | 8 +- .../operations/_load_balancers_operations.py | 12 +- .../_local_network_gateways_operations.py | 12 +- .../operations/_nat_gateways_operations.py | 8 +- ...interface_tap_configurations_operations.py | 8 +- .../_network_interfaces_operations.py | 20 +- .../_network_management_client_operations.py | 4 +- .../_network_profiles_operations.py | 4 +- .../_network_security_groups_operations.py | 12 +- .../_network_watchers_operations.py | 84 +- .../_p2_svpn_gateways_operations.py | 24 +- .../operations/_packet_captures_operations.py | 28 +- .../_private_endpoints_operations.py | 18 +- .../_private_link_services_operations.py | 34 +- .../_public_ip_addresses_operations.py | 12 +- .../_public_ip_prefixes_operations.py | 12 +- .../_route_filter_rules_operations.py | 12 +- .../operations/_route_filters_operations.py | 12 +- .../operations/_route_tables_operations.py | 12 +- .../operations/_routes_operations.py | 8 +- .../operations/_security_rules_operations.py | 8 +- .../_service_endpoint_policies_operations.py | 12 +- ..._endpoint_policy_definitions_operations.py | 8 +- .../operations/_subnets_operations.py | 16 +- .../operations/_virtual_hubs_operations.py | 12 +- ..._network_gateway_connections_operations.py | 32 +- .../_virtual_network_gateways_operations.py | 68 +- .../_virtual_network_peerings_operations.py | 8 +- .../_virtual_network_taps_operations.py | 12 +- .../_virtual_networks_operations.py | 12 +- .../_virtual_router_peerings_operations.py | 18 +- .../operations/_virtual_routers_operations.py | 20 +- .../operations/_virtual_wans_operations.py | 12 +- .../operations/_vpn_connections_operations.py | 8 +- .../operations/_vpn_gateways_operations.py | 16 +- ..._associated_with_virtual_wan_operations.py | 4 +- .../_vpn_server_configurations_operations.py | 12 +- .../_vpn_sites_configuration_operations.py | 4 +- .../operations/_vpn_sites_operations.py | 12 +- ...pplication_firewall_policies_operations.py | 4 +- .../mgmt/network/v2019_09_01/_metadata.json | 328 +- .../v2019_09_01/_network_management_client.py | 20 + .../aio/_network_management_client.py | 19 + .../_application_gateways_operations.py | 30 +- ..._application_security_groups_operations.py | 8 +- .../operations/_azure_firewalls_operations.py | 12 +- .../operations/_bastion_hosts_operations.py | 8 +- .../_connection_monitors_operations.py | 36 +- .../_ddos_custom_policies_operations.py | 8 +- .../_ddos_protection_plans_operations.py | 8 +- ...route_circuit_authorizations_operations.py | 8 +- ...ss_route_circuit_connections_operations.py | 8 +- ...press_route_circuit_peerings_operations.py | 8 +- .../_express_route_circuits_operations.py | 20 +- .../_express_route_connections_operations.py | 8 +- ...te_cross_connection_peerings_operations.py | 8 +- ...ress_route_cross_connections_operations.py | 16 +- .../_express_route_gateways_operations.py | 8 +- .../_express_route_ports_operations.py | 8 +- .../_firewall_policies_operations.py | 8 +- ..._firewall_policy_rule_groups_operations.py | 8 +- .../_inbound_nat_rules_operations.py | 8 +- .../aio/operations/_ip_groups_operations.py | 20 +- .../operations/_load_balancers_operations.py | 8 +- .../_local_network_gateways_operations.py | 8 +- .../operations/_nat_gateways_operations.py | 8 +- ...interface_tap_configurations_operations.py | 8 +- .../_network_interfaces_operations.py | 16 +- .../_network_management_client_operations.py | 16 +- .../_network_profiles_operations.py | 4 +- .../_network_security_groups_operations.py | 8 +- .../_network_watchers_operations.py | 84 +- .../_p2_svpn_gateways_operations.py | 20 +- .../operations/_packet_captures_operations.py | 28 +- .../_private_endpoints_operations.py | 18 +- .../_private_link_services_operations.py | 38 +- .../_public_ip_addresses_operations.py | 8 +- .../_public_ip_prefixes_operations.py | 8 +- .../_route_filter_rules_operations.py | 8 +- .../operations/_route_filters_operations.py | 8 +- .../operations/_route_tables_operations.py | 8 +- .../aio/operations/_routes_operations.py | 8 +- .../operations/_security_rules_operations.py | 8 +- .../_service_endpoint_policies_operations.py | 8 +- ..._endpoint_policy_definitions_operations.py | 8 +- .../aio/operations/_subnets_operations.py | 16 +- ...virtual_hub_route_table_v2_s_operations.py | 14 +- .../operations/_virtual_hubs_operations.py | 8 +- ..._network_gateway_connections_operations.py | 32 +- .../_virtual_network_gateways_operations.py | 68 +- .../_virtual_network_peerings_operations.py | 8 +- .../_virtual_network_taps_operations.py | 8 +- .../_virtual_networks_operations.py | 8 +- .../_virtual_router_peerings_operations.py | 16 +- .../operations/_virtual_routers_operations.py | 18 +- .../operations/_virtual_wans_operations.py | 8 +- .../operations/_vpn_connections_operations.py | 8 +- .../operations/_vpn_gateways_operations.py | 12 +- ..._associated_with_virtual_wan_operations.py | 4 +- .../_vpn_server_configurations_operations.py | 8 +- .../_vpn_sites_configuration_operations.py | 4 +- .../aio/operations/_vpn_sites_operations.py | 8 +- ...pplication_firewall_policies_operations.py | 4 +- .../network/v2019_09_01/models/_models.py | 72 +- .../network/v2019_09_01/models/_models_py3.py | 80 +- .../_application_gateways_operations.py | 30 +- ..._application_security_groups_operations.py | 8 +- .../operations/_azure_firewalls_operations.py | 12 +- .../operations/_bastion_hosts_operations.py | 8 +- .../_connection_monitors_operations.py | 36 +- .../_ddos_custom_policies_operations.py | 8 +- .../_ddos_protection_plans_operations.py | 8 +- ...route_circuit_authorizations_operations.py | 8 +- ...ss_route_circuit_connections_operations.py | 8 +- ...press_route_circuit_peerings_operations.py | 8 +- .../_express_route_circuits_operations.py | 20 +- .../_express_route_connections_operations.py | 8 +- ...te_cross_connection_peerings_operations.py | 8 +- ...ress_route_cross_connections_operations.py | 16 +- .../_express_route_gateways_operations.py | 8 +- .../_express_route_ports_operations.py | 8 +- .../_firewall_policies_operations.py | 8 +- ..._firewall_policy_rule_groups_operations.py | 8 +- .../_inbound_nat_rules_operations.py | 8 +- .../operations/_ip_groups_operations.py | 20 +- .../operations/_load_balancers_operations.py | 8 +- .../_local_network_gateways_operations.py | 8 +- .../operations/_nat_gateways_operations.py | 8 +- ...interface_tap_configurations_operations.py | 8 +- .../_network_interfaces_operations.py | 16 +- .../_network_management_client_operations.py | 16 +- .../_network_profiles_operations.py | 4 +- .../_network_security_groups_operations.py | 8 +- .../_network_watchers_operations.py | 84 +- .../_p2_svpn_gateways_operations.py | 20 +- .../operations/_packet_captures_operations.py | 28 +- .../_private_endpoints_operations.py | 18 +- .../_private_link_services_operations.py | 38 +- .../_public_ip_addresses_operations.py | 8 +- .../_public_ip_prefixes_operations.py | 8 +- .../_route_filter_rules_operations.py | 8 +- .../operations/_route_filters_operations.py | 8 +- .../operations/_route_tables_operations.py | 8 +- .../operations/_routes_operations.py | 8 +- .../operations/_security_rules_operations.py | 8 +- .../_service_endpoint_policies_operations.py | 8 +- ..._endpoint_policy_definitions_operations.py | 8 +- .../operations/_subnets_operations.py | 16 +- ...virtual_hub_route_table_v2_s_operations.py | 14 +- .../operations/_virtual_hubs_operations.py | 8 +- ..._network_gateway_connections_operations.py | 32 +- .../_virtual_network_gateways_operations.py | 68 +- .../_virtual_network_peerings_operations.py | 8 +- .../_virtual_network_taps_operations.py | 8 +- .../_virtual_networks_operations.py | 8 +- .../_virtual_router_peerings_operations.py | 16 +- .../operations/_virtual_routers_operations.py | 18 +- .../operations/_virtual_wans_operations.py | 8 +- .../operations/_vpn_connections_operations.py | 8 +- .../operations/_vpn_gateways_operations.py | 12 +- ..._associated_with_virtual_wan_operations.py | 4 +- .../_vpn_server_configurations_operations.py | 8 +- .../_vpn_sites_configuration_operations.py | 4 +- .../operations/_vpn_sites_operations.py | 8 +- ...pplication_firewall_policies_operations.py | 4 +- .../mgmt/network/v2019_11_01/_metadata.json | 328 +- .../v2019_11_01/_network_management_client.py | 20 + .../aio/_network_management_client.py | 19 + .../_application_gateways_operations.py | 30 +- ..._application_security_groups_operations.py | 8 +- .../operations/_azure_firewalls_operations.py | 8 +- .../operations/_bastion_hosts_operations.py | 8 +- .../_connection_monitors_operations.py | 36 +- .../_ddos_custom_policies_operations.py | 8 +- .../_ddos_protection_plans_operations.py | 8 +- ...route_circuit_authorizations_operations.py | 8 +- ...ss_route_circuit_connections_operations.py | 8 +- ...press_route_circuit_peerings_operations.py | 8 +- .../_express_route_circuits_operations.py | 20 +- .../_express_route_connections_operations.py | 8 +- ...te_cross_connection_peerings_operations.py | 8 +- ...ress_route_cross_connections_operations.py | 16 +- .../_express_route_gateways_operations.py | 8 +- .../_express_route_ports_operations.py | 8 +- .../_firewall_policies_operations.py | 8 +- ..._firewall_policy_rule_groups_operations.py | 8 +- .../aio/operations/_flow_logs_operations.py | 16 +- .../_inbound_nat_rules_operations.py | 8 +- .../aio/operations/_ip_groups_operations.py | 20 +- .../operations/_load_balancers_operations.py | 8 +- .../_local_network_gateways_operations.py | 8 +- .../operations/_nat_gateways_operations.py | 8 +- ...interface_tap_configurations_operations.py | 8 +- .../_network_interfaces_operations.py | 16 +- .../_network_management_client_operations.py | 16 +- .../_network_profiles_operations.py | 4 +- .../_network_security_groups_operations.py | 8 +- .../_network_watchers_operations.py | 84 +- .../_p2_svpn_gateways_operations.py | 24 +- .../operations/_packet_captures_operations.py | 28 +- .../_private_endpoints_operations.py | 18 +- .../_private_link_services_operations.py | 38 +- .../_public_ip_addresses_operations.py | 8 +- .../_public_ip_prefixes_operations.py | 8 +- .../_route_filter_rules_operations.py | 8 +- .../operations/_route_filters_operations.py | 8 +- .../operations/_route_tables_operations.py | 8 +- .../aio/operations/_routes_operations.py | 8 +- .../operations/_security_rules_operations.py | 8 +- .../_service_endpoint_policies_operations.py | 8 +- ..._endpoint_policy_definitions_operations.py | 8 +- .../aio/operations/_subnets_operations.py | 16 +- ...virtual_hub_route_table_v2_s_operations.py | 14 +- .../operations/_virtual_hubs_operations.py | 8 +- ..._network_gateway_connections_operations.py | 32 +- .../_virtual_network_gateways_operations.py | 72 +- .../_virtual_network_peerings_operations.py | 8 +- .../_virtual_network_taps_operations.py | 8 +- .../_virtual_networks_operations.py | 8 +- .../_virtual_router_peerings_operations.py | 16 +- .../operations/_virtual_routers_operations.py | 18 +- .../operations/_virtual_wans_operations.py | 8 +- .../operations/_vpn_connections_operations.py | 8 +- .../operations/_vpn_gateways_operations.py | 12 +- ..._associated_with_virtual_wan_operations.py | 4 +- .../_vpn_server_configurations_operations.py | 8 +- .../_vpn_sites_configuration_operations.py | 4 +- .../aio/operations/_vpn_sites_operations.py | 8 +- ...pplication_firewall_policies_operations.py | 4 +- .../network/v2019_11_01/models/_models.py | 72 +- .../network/v2019_11_01/models/_models_py3.py | 80 +- .../_application_gateways_operations.py | 30 +- ..._application_security_groups_operations.py | 8 +- .../operations/_azure_firewalls_operations.py | 8 +- .../operations/_bastion_hosts_operations.py | 8 +- .../_connection_monitors_operations.py | 36 +- .../_ddos_custom_policies_operations.py | 8 +- .../_ddos_protection_plans_operations.py | 8 +- ...route_circuit_authorizations_operations.py | 8 +- ...ss_route_circuit_connections_operations.py | 8 +- ...press_route_circuit_peerings_operations.py | 8 +- .../_express_route_circuits_operations.py | 20 +- .../_express_route_connections_operations.py | 8 +- ...te_cross_connection_peerings_operations.py | 8 +- ...ress_route_cross_connections_operations.py | 16 +- .../_express_route_gateways_operations.py | 8 +- .../_express_route_ports_operations.py | 8 +- .../_firewall_policies_operations.py | 8 +- ..._firewall_policy_rule_groups_operations.py | 8 +- .../operations/_flow_logs_operations.py | 16 +- .../_inbound_nat_rules_operations.py | 8 +- .../operations/_ip_groups_operations.py | 20 +- .../operations/_load_balancers_operations.py | 8 +- .../_local_network_gateways_operations.py | 8 +- .../operations/_nat_gateways_operations.py | 8 +- ...interface_tap_configurations_operations.py | 8 +- .../_network_interfaces_operations.py | 16 +- .../_network_management_client_operations.py | 16 +- .../_network_profiles_operations.py | 4 +- .../_network_security_groups_operations.py | 8 +- .../_network_watchers_operations.py | 84 +- .../_p2_svpn_gateways_operations.py | 24 +- .../operations/_packet_captures_operations.py | 28 +- .../_private_endpoints_operations.py | 18 +- .../_private_link_services_operations.py | 38 +- .../_public_ip_addresses_operations.py | 8 +- .../_public_ip_prefixes_operations.py | 8 +- .../_route_filter_rules_operations.py | 8 +- .../operations/_route_filters_operations.py | 8 +- .../operations/_route_tables_operations.py | 8 +- .../operations/_routes_operations.py | 8 +- .../operations/_security_rules_operations.py | 8 +- .../_service_endpoint_policies_operations.py | 8 +- ..._endpoint_policy_definitions_operations.py | 8 +- .../operations/_subnets_operations.py | 16 +- ...virtual_hub_route_table_v2_s_operations.py | 14 +- .../operations/_virtual_hubs_operations.py | 8 +- ..._network_gateway_connections_operations.py | 32 +- .../_virtual_network_gateways_operations.py | 72 +- .../_virtual_network_peerings_operations.py | 8 +- .../_virtual_network_taps_operations.py | 8 +- .../_virtual_networks_operations.py | 8 +- .../_virtual_router_peerings_operations.py | 16 +- .../operations/_virtual_routers_operations.py | 18 +- .../operations/_virtual_wans_operations.py | 8 +- .../operations/_vpn_connections_operations.py | 8 +- .../operations/_vpn_gateways_operations.py | 12 +- ..._associated_with_virtual_wan_operations.py | 4 +- .../_vpn_server_configurations_operations.py | 8 +- .../_vpn_sites_configuration_operations.py | 4 +- .../operations/_vpn_sites_operations.py | 8 +- ...pplication_firewall_policies_operations.py | 4 +- .../mgmt/network/v2019_12_01/_metadata.json | 328 +- .../v2019_12_01/_network_management_client.py | 20 + .../aio/_network_management_client.py | 19 + .../_application_gateways_operations.py | 30 +- ..._application_security_groups_operations.py | 8 +- .../operations/_azure_firewalls_operations.py | 8 +- .../operations/_bastion_hosts_operations.py | 8 +- .../_connection_monitors_operations.py | 36 +- .../_ddos_custom_policies_operations.py | 8 +- .../_ddos_protection_plans_operations.py | 8 +- ...route_circuit_authorizations_operations.py | 8 +- ...ss_route_circuit_connections_operations.py | 8 +- ...press_route_circuit_peerings_operations.py | 8 +- .../_express_route_circuits_operations.py | 20 +- .../_express_route_connections_operations.py | 8 +- ...te_cross_connection_peerings_operations.py | 8 +- ...ress_route_cross_connections_operations.py | 16 +- .../_express_route_gateways_operations.py | 8 +- .../_express_route_ports_operations.py | 8 +- .../_firewall_policies_operations.py | 8 +- ..._firewall_policy_rule_groups_operations.py | 8 +- .../aio/operations/_flow_logs_operations.py | 16 +- .../_inbound_nat_rules_operations.py | 8 +- .../aio/operations/_ip_groups_operations.py | 20 +- .../operations/_load_balancers_operations.py | 8 +- .../_local_network_gateways_operations.py | 8 +- .../operations/_nat_gateways_operations.py | 8 +- ...interface_tap_configurations_operations.py | 8 +- .../_network_interfaces_operations.py | 16 +- .../_network_management_client_operations.py | 16 +- .../_network_profiles_operations.py | 4 +- .../_network_security_groups_operations.py | 8 +- .../_network_virtual_appliances_operations.py | 8 +- .../_network_watchers_operations.py | 84 +- .../_p2_svpn_gateways_operations.py | 24 +- .../operations/_packet_captures_operations.py | 28 +- .../_private_endpoints_operations.py | 18 +- .../_private_link_services_operations.py | 38 +- .../_public_ip_addresses_operations.py | 8 +- .../_public_ip_prefixes_operations.py | 8 +- .../_route_filter_rules_operations.py | 8 +- .../operations/_route_filters_operations.py | 8 +- .../operations/_route_tables_operations.py | 8 +- .../aio/operations/_routes_operations.py | 8 +- .../operations/_security_rules_operations.py | 8 +- .../_service_endpoint_policies_operations.py | 8 +- ..._endpoint_policy_definitions_operations.py | 8 +- .../aio/operations/_subnets_operations.py | 16 +- ...virtual_hub_route_table_v2_s_operations.py | 14 +- .../operations/_virtual_hubs_operations.py | 8 +- ..._network_gateway_connections_operations.py | 32 +- .../_virtual_network_gateways_operations.py | 72 +- .../_virtual_network_peerings_operations.py | 8 +- .../_virtual_network_taps_operations.py | 8 +- .../_virtual_networks_operations.py | 8 +- .../_virtual_router_peerings_operations.py | 16 +- .../operations/_virtual_routers_operations.py | 18 +- .../operations/_virtual_wans_operations.py | 8 +- .../operations/_vpn_connections_operations.py | 8 +- .../operations/_vpn_gateways_operations.py | 12 +- ..._associated_with_virtual_wan_operations.py | 4 +- .../_vpn_server_configurations_operations.py | 8 +- .../_vpn_sites_configuration_operations.py | 4 +- .../aio/operations/_vpn_sites_operations.py | 8 +- ...pplication_firewall_policies_operations.py | 4 +- .../network/v2019_12_01/models/_models.py | 72 +- .../network/v2019_12_01/models/_models_py3.py | 80 +- .../_application_gateways_operations.py | 30 +- ..._application_security_groups_operations.py | 8 +- .../operations/_azure_firewalls_operations.py | 8 +- .../operations/_bastion_hosts_operations.py | 8 +- .../_connection_monitors_operations.py | 36 +- .../_ddos_custom_policies_operations.py | 8 +- .../_ddos_protection_plans_operations.py | 8 +- ...route_circuit_authorizations_operations.py | 8 +- ...ss_route_circuit_connections_operations.py | 8 +- ...press_route_circuit_peerings_operations.py | 8 +- .../_express_route_circuits_operations.py | 20 +- .../_express_route_connections_operations.py | 8 +- ...te_cross_connection_peerings_operations.py | 8 +- ...ress_route_cross_connections_operations.py | 16 +- .../_express_route_gateways_operations.py | 8 +- .../_express_route_ports_operations.py | 8 +- .../_firewall_policies_operations.py | 8 +- ..._firewall_policy_rule_groups_operations.py | 8 +- .../operations/_flow_logs_operations.py | 16 +- .../_inbound_nat_rules_operations.py | 8 +- .../operations/_ip_groups_operations.py | 20 +- .../operations/_load_balancers_operations.py | 8 +- .../_local_network_gateways_operations.py | 8 +- .../operations/_nat_gateways_operations.py | 8 +- ...interface_tap_configurations_operations.py | 8 +- .../_network_interfaces_operations.py | 16 +- .../_network_management_client_operations.py | 16 +- .../_network_profiles_operations.py | 4 +- .../_network_security_groups_operations.py | 8 +- .../_network_virtual_appliances_operations.py | 8 +- .../_network_watchers_operations.py | 84 +- .../_p2_svpn_gateways_operations.py | 24 +- .../operations/_packet_captures_operations.py | 28 +- .../_private_endpoints_operations.py | 18 +- .../_private_link_services_operations.py | 38 +- .../_public_ip_addresses_operations.py | 8 +- .../_public_ip_prefixes_operations.py | 8 +- .../_route_filter_rules_operations.py | 8 +- .../operations/_route_filters_operations.py | 8 +- .../operations/_route_tables_operations.py | 8 +- .../operations/_routes_operations.py | 8 +- .../operations/_security_rules_operations.py | 8 +- .../_service_endpoint_policies_operations.py | 8 +- ..._endpoint_policy_definitions_operations.py | 8 +- .../operations/_subnets_operations.py | 16 +- ...virtual_hub_route_table_v2_s_operations.py | 14 +- .../operations/_virtual_hubs_operations.py | 8 +- ..._network_gateway_connections_operations.py | 32 +- .../_virtual_network_gateways_operations.py | 72 +- .../_virtual_network_peerings_operations.py | 8 +- .../_virtual_network_taps_operations.py | 8 +- .../_virtual_networks_operations.py | 8 +- .../_virtual_router_peerings_operations.py | 16 +- .../operations/_virtual_routers_operations.py | 18 +- .../operations/_virtual_wans_operations.py | 8 +- .../operations/_vpn_connections_operations.py | 8 +- .../operations/_vpn_gateways_operations.py | 12 +- ..._associated_with_virtual_wan_operations.py | 4 +- .../_vpn_server_configurations_operations.py | 8 +- .../_vpn_sites_configuration_operations.py | 4 +- .../operations/_vpn_sites_operations.py | 8 +- ...pplication_firewall_policies_operations.py | 4 +- .../mgmt/network/v2020_03_01/_metadata.json | 328 +- .../v2020_03_01/_network_management_client.py | 20 + .../aio/_network_management_client.py | 19 + .../_application_gateways_operations.py | 30 +- ..._application_security_groups_operations.py | 8 +- .../operations/_azure_firewalls_operations.py | 12 +- .../operations/_bastion_hosts_operations.py | 8 +- .../_connection_monitors_operations.py | 36 +- .../_ddos_custom_policies_operations.py | 8 +- .../_ddos_protection_plans_operations.py | 8 +- ...route_circuit_authorizations_operations.py | 8 +- ...ss_route_circuit_connections_operations.py | 8 +- ...press_route_circuit_peerings_operations.py | 8 +- .../_express_route_circuits_operations.py | 20 +- .../_express_route_connections_operations.py | 8 +- ...te_cross_connection_peerings_operations.py | 8 +- ...ress_route_cross_connections_operations.py | 16 +- .../_express_route_gateways_operations.py | 8 +- .../_express_route_ports_operations.py | 8 +- .../_firewall_policies_operations.py | 8 +- ..._firewall_policy_rule_groups_operations.py | 8 +- .../aio/operations/_flow_logs_operations.py | 16 +- .../_inbound_nat_rules_operations.py | 8 +- .../operations/_ip_allocations_operations.py | 8 +- .../aio/operations/_ip_groups_operations.py | 20 +- .../operations/_load_balancers_operations.py | 8 +- .../_local_network_gateways_operations.py | 8 +- .../operations/_nat_gateways_operations.py | 8 +- ...interface_tap_configurations_operations.py | 8 +- .../_network_interfaces_operations.py | 16 +- .../_network_management_client_operations.py | 16 +- .../_network_profiles_operations.py | 4 +- .../_network_security_groups_operations.py | 8 +- .../_network_virtual_appliances_operations.py | 8 +- .../_network_watchers_operations.py | 84 +- .../_p2_svpn_gateways_operations.py | 24 +- .../operations/_packet_captures_operations.py | 28 +- .../_private_dns_zone_groups_operations.py | 10 +- .../_private_endpoints_operations.py | 18 +- .../_private_link_services_operations.py | 38 +- .../_public_ip_addresses_operations.py | 8 +- .../_public_ip_prefixes_operations.py | 8 +- .../_route_filter_rules_operations.py | 8 +- .../operations/_route_filters_operations.py | 8 +- .../operations/_route_tables_operations.py | 8 +- .../aio/operations/_routes_operations.py | 8 +- .../_security_partner_providers_operations.py | 8 +- .../operations/_security_rules_operations.py | 8 +- .../_service_endpoint_policies_operations.py | 8 +- ..._endpoint_policy_definitions_operations.py | 8 +- .../aio/operations/_subnets_operations.py | 16 +- ...virtual_hub_route_table_v2_s_operations.py | 14 +- .../operations/_virtual_hubs_operations.py | 8 +- ..._network_gateway_connections_operations.py | 32 +- .../_virtual_network_gateways_operations.py | 72 +- .../_virtual_network_peerings_operations.py | 8 +- .../_virtual_network_taps_operations.py | 8 +- .../_virtual_networks_operations.py | 8 +- .../_virtual_router_peerings_operations.py | 16 +- .../operations/_virtual_routers_operations.py | 18 +- .../operations/_virtual_wans_operations.py | 8 +- .../operations/_vpn_connections_operations.py | 8 +- .../operations/_vpn_gateways_operations.py | 12 +- ..._associated_with_virtual_wan_operations.py | 4 +- .../_vpn_server_configurations_operations.py | 8 +- .../_vpn_sites_configuration_operations.py | 4 +- .../aio/operations/_vpn_sites_operations.py | 8 +- ...pplication_firewall_policies_operations.py | 4 +- .../network/v2020_03_01/models/_models.py | 72 +- .../network/v2020_03_01/models/_models_py3.py | 80 +- .../_application_gateways_operations.py | 30 +- ..._application_security_groups_operations.py | 8 +- .../operations/_azure_firewalls_operations.py | 12 +- .../operations/_bastion_hosts_operations.py | 8 +- .../_connection_monitors_operations.py | 36 +- .../_ddos_custom_policies_operations.py | 8 +- .../_ddos_protection_plans_operations.py | 8 +- ...route_circuit_authorizations_operations.py | 8 +- ...ss_route_circuit_connections_operations.py | 8 +- ...press_route_circuit_peerings_operations.py | 8 +- .../_express_route_circuits_operations.py | 20 +- .../_express_route_connections_operations.py | 8 +- ...te_cross_connection_peerings_operations.py | 8 +- ...ress_route_cross_connections_operations.py | 16 +- .../_express_route_gateways_operations.py | 8 +- .../_express_route_ports_operations.py | 8 +- .../_firewall_policies_operations.py | 8 +- ..._firewall_policy_rule_groups_operations.py | 8 +- .../operations/_flow_logs_operations.py | 16 +- .../_inbound_nat_rules_operations.py | 8 +- .../operations/_ip_allocations_operations.py | 8 +- .../operations/_ip_groups_operations.py | 20 +- .../operations/_load_balancers_operations.py | 8 +- .../_local_network_gateways_operations.py | 8 +- .../operations/_nat_gateways_operations.py | 8 +- ...interface_tap_configurations_operations.py | 8 +- .../_network_interfaces_operations.py | 16 +- .../_network_management_client_operations.py | 16 +- .../_network_profiles_operations.py | 4 +- .../_network_security_groups_operations.py | 8 +- .../_network_virtual_appliances_operations.py | 8 +- .../_network_watchers_operations.py | 84 +- .../_p2_svpn_gateways_operations.py | 24 +- .../operations/_packet_captures_operations.py | 28 +- .../_private_dns_zone_groups_operations.py | 10 +- .../_private_endpoints_operations.py | 18 +- .../_private_link_services_operations.py | 38 +- .../_public_ip_addresses_operations.py | 8 +- .../_public_ip_prefixes_operations.py | 8 +- .../_route_filter_rules_operations.py | 8 +- .../operations/_route_filters_operations.py | 8 +- .../operations/_route_tables_operations.py | 8 +- .../operations/_routes_operations.py | 8 +- .../_security_partner_providers_operations.py | 8 +- .../operations/_security_rules_operations.py | 8 +- .../_service_endpoint_policies_operations.py | 8 +- ..._endpoint_policy_definitions_operations.py | 8 +- .../operations/_subnets_operations.py | 16 +- ...virtual_hub_route_table_v2_s_operations.py | 14 +- .../operations/_virtual_hubs_operations.py | 8 +- ..._network_gateway_connections_operations.py | 32 +- .../_virtual_network_gateways_operations.py | 72 +- .../_virtual_network_peerings_operations.py | 8 +- .../_virtual_network_taps_operations.py | 8 +- .../_virtual_networks_operations.py | 8 +- .../_virtual_router_peerings_operations.py | 16 +- .../operations/_virtual_routers_operations.py | 18 +- .../operations/_virtual_wans_operations.py | 8 +- .../operations/_vpn_connections_operations.py | 8 +- .../operations/_vpn_gateways_operations.py | 12 +- ..._associated_with_virtual_wan_operations.py | 4 +- .../_vpn_server_configurations_operations.py | 8 +- .../_vpn_sites_configuration_operations.py | 4 +- .../operations/_vpn_sites_operations.py | 8 +- ...pplication_firewall_policies_operations.py | 4 +- .../mgmt/network/v2020_04_01/_metadata.json | 328 +- .../v2020_04_01/_network_management_client.py | 20 + .../aio/_network_management_client.py | 19 + .../_application_gateways_operations.py | 30 +- ..._application_security_groups_operations.py | 8 +- .../operations/_azure_firewalls_operations.py | 12 +- .../operations/_bastion_hosts_operations.py | 8 +- .../_connection_monitors_operations.py | 36 +- .../_ddos_custom_policies_operations.py | 8 +- .../_ddos_protection_plans_operations.py | 8 +- ...route_circuit_authorizations_operations.py | 8 +- ...ss_route_circuit_connections_operations.py | 8 +- ...press_route_circuit_peerings_operations.py | 8 +- .../_express_route_circuits_operations.py | 20 +- .../_express_route_connections_operations.py | 8 +- ...te_cross_connection_peerings_operations.py | 8 +- ...ress_route_cross_connections_operations.py | 16 +- .../_express_route_gateways_operations.py | 8 +- .../_express_route_ports_operations.py | 8 +- .../_firewall_policies_operations.py | 8 +- ..._firewall_policy_rule_groups_operations.py | 8 +- .../aio/operations/_flow_logs_operations.py | 16 +- .../_hub_route_tables_operations.py | 8 +- .../_inbound_nat_rules_operations.py | 8 +- .../operations/_ip_allocations_operations.py | 8 +- .../aio/operations/_ip_groups_operations.py | 20 +- ...lancer_backend_address_pools_operations.py | 8 +- .../operations/_load_balancers_operations.py | 8 +- .../_local_network_gateways_operations.py | 8 +- .../operations/_nat_gateways_operations.py | 8 +- ...interface_tap_configurations_operations.py | 8 +- .../_network_interfaces_operations.py | 16 +- .../_network_management_client_operations.py | 16 +- .../_network_profiles_operations.py | 4 +- .../_network_security_groups_operations.py | 8 +- .../_network_virtual_appliances_operations.py | 8 +- .../_network_watchers_operations.py | 84 +- .../_p2_svpn_gateways_operations.py | 24 +- .../operations/_packet_captures_operations.py | 28 +- .../_private_dns_zone_groups_operations.py | 10 +- .../_private_endpoints_operations.py | 18 +- .../_private_link_services_operations.py | 38 +- .../_public_ip_addresses_operations.py | 8 +- .../_public_ip_prefixes_operations.py | 8 +- .../_route_filter_rules_operations.py | 8 +- .../operations/_route_filters_operations.py | 8 +- .../operations/_route_tables_operations.py | 8 +- .../aio/operations/_routes_operations.py | 8 +- .../_security_partner_providers_operations.py | 8 +- .../operations/_security_rules_operations.py | 8 +- .../_service_endpoint_policies_operations.py | 8 +- ..._endpoint_policy_definitions_operations.py | 8 +- .../aio/operations/_subnets_operations.py | 16 +- ...virtual_hub_route_table_v2_s_operations.py | 14 +- .../operations/_virtual_hubs_operations.py | 8 +- ..._network_gateway_connections_operations.py | 32 +- .../_virtual_network_gateways_operations.py | 72 +- .../_virtual_network_peerings_operations.py | 8 +- .../_virtual_network_taps_operations.py | 8 +- .../_virtual_networks_operations.py | 8 +- .../_virtual_router_peerings_operations.py | 16 +- .../operations/_virtual_routers_operations.py | 18 +- .../operations/_virtual_wans_operations.py | 8 +- .../operations/_vpn_connections_operations.py | 8 +- .../operations/_vpn_gateways_operations.py | 12 +- ..._associated_with_virtual_wan_operations.py | 4 +- .../_vpn_server_configurations_operations.py | 8 +- .../_vpn_sites_configuration_operations.py | 4 +- .../aio/operations/_vpn_sites_operations.py | 8 +- ...pplication_firewall_policies_operations.py | 4 +- .../network/v2020_04_01/models/_models.py | 72 +- .../network/v2020_04_01/models/_models_py3.py | 80 +- .../_application_gateways_operations.py | 30 +- ..._application_security_groups_operations.py | 8 +- .../operations/_azure_firewalls_operations.py | 12 +- .../operations/_bastion_hosts_operations.py | 8 +- .../_connection_monitors_operations.py | 36 +- .../_ddos_custom_policies_operations.py | 8 +- .../_ddos_protection_plans_operations.py | 8 +- ...route_circuit_authorizations_operations.py | 8 +- ...ss_route_circuit_connections_operations.py | 8 +- ...press_route_circuit_peerings_operations.py | 8 +- .../_express_route_circuits_operations.py | 20 +- .../_express_route_connections_operations.py | 8 +- ...te_cross_connection_peerings_operations.py | 8 +- ...ress_route_cross_connections_operations.py | 16 +- .../_express_route_gateways_operations.py | 8 +- .../_express_route_ports_operations.py | 8 +- .../_firewall_policies_operations.py | 8 +- ..._firewall_policy_rule_groups_operations.py | 8 +- .../operations/_flow_logs_operations.py | 16 +- .../_hub_route_tables_operations.py | 8 +- .../_inbound_nat_rules_operations.py | 8 +- .../operations/_ip_allocations_operations.py | 8 +- .../operations/_ip_groups_operations.py | 20 +- ...lancer_backend_address_pools_operations.py | 8 +- .../operations/_load_balancers_operations.py | 8 +- .../_local_network_gateways_operations.py | 8 +- .../operations/_nat_gateways_operations.py | 8 +- ...interface_tap_configurations_operations.py | 8 +- .../_network_interfaces_operations.py | 16 +- .../_network_management_client_operations.py | 16 +- .../_network_profiles_operations.py | 4 +- .../_network_security_groups_operations.py | 8 +- .../_network_virtual_appliances_operations.py | 8 +- .../_network_watchers_operations.py | 84 +- .../_p2_svpn_gateways_operations.py | 24 +- .../operations/_packet_captures_operations.py | 28 +- .../_private_dns_zone_groups_operations.py | 10 +- .../_private_endpoints_operations.py | 18 +- .../_private_link_services_operations.py | 38 +- .../_public_ip_addresses_operations.py | 8 +- .../_public_ip_prefixes_operations.py | 8 +- .../_route_filter_rules_operations.py | 8 +- .../operations/_route_filters_operations.py | 8 +- .../operations/_route_tables_operations.py | 8 +- .../operations/_routes_operations.py | 8 +- .../_security_partner_providers_operations.py | 8 +- .../operations/_security_rules_operations.py | 8 +- .../_service_endpoint_policies_operations.py | 8 +- ..._endpoint_policy_definitions_operations.py | 8 +- .../operations/_subnets_operations.py | 16 +- ...virtual_hub_route_table_v2_s_operations.py | 14 +- .../operations/_virtual_hubs_operations.py | 8 +- ..._network_gateway_connections_operations.py | 32 +- .../_virtual_network_gateways_operations.py | 72 +- .../_virtual_network_peerings_operations.py | 8 +- .../_virtual_network_taps_operations.py | 8 +- .../_virtual_networks_operations.py | 8 +- .../_virtual_router_peerings_operations.py | 16 +- .../operations/_virtual_routers_operations.py | 18 +- .../operations/_virtual_wans_operations.py | 8 +- .../operations/_vpn_connections_operations.py | 8 +- .../operations/_vpn_gateways_operations.py | 12 +- ..._associated_with_virtual_wan_operations.py | 4 +- .../_vpn_server_configurations_operations.py | 8 +- .../_vpn_sites_configuration_operations.py | 4 +- .../operations/_vpn_sites_operations.py | 8 +- ...pplication_firewall_policies_operations.py | 4 +- .../mgmt/network/v2020_05_01/_metadata.json | 328 +- .../v2020_05_01/_network_management_client.py | 20 + .../aio/_network_management_client.py | 19 + ...private_endpoint_connections_operations.py | 8 +- .../_application_gateways_operations.py | 30 +- ..._application_security_groups_operations.py | 8 +- .../operations/_azure_firewalls_operations.py | 12 +- .../operations/_bastion_hosts_operations.py | 8 +- .../_connection_monitors_operations.py | 36 +- .../_ddos_custom_policies_operations.py | 8 +- .../_ddos_protection_plans_operations.py | 8 +- ...route_circuit_authorizations_operations.py | 8 +- ...ss_route_circuit_connections_operations.py | 8 +- ...press_route_circuit_peerings_operations.py | 8 +- .../_express_route_circuits_operations.py | 20 +- .../_express_route_connections_operations.py | 8 +- ...te_cross_connection_peerings_operations.py | 8 +- ...ress_route_cross_connections_operations.py | 16 +- .../_express_route_gateways_operations.py | 8 +- .../_express_route_ports_operations.py | 8 +- .../_firewall_policies_operations.py | 8 +- ...olicy_rule_collection_groups_operations.py | 8 +- .../aio/operations/_flow_logs_operations.py | 16 +- .../_hub_route_tables_operations.py | 8 +- ..._virtual_network_connections_operations.py | 8 +- .../_inbound_nat_rules_operations.py | 8 +- .../operations/_ip_allocations_operations.py | 8 +- .../aio/operations/_ip_groups_operations.py | 20 +- ...lancer_backend_address_pools_operations.py | 8 +- .../operations/_load_balancers_operations.py | 8 +- .../_local_network_gateways_operations.py | 8 +- .../operations/_nat_gateways_operations.py | 8 +- ...interface_tap_configurations_operations.py | 8 +- .../_network_interfaces_operations.py | 16 +- .../_network_management_client_operations.py | 16 +- .../_network_profiles_operations.py | 4 +- .../_network_security_groups_operations.py | 8 +- .../_network_virtual_appliances_operations.py | 8 +- .../_network_watchers_operations.py | 84 +- .../_p2_svpn_gateways_operations.py | 24 +- .../operations/_packet_captures_operations.py | 28 +- .../_private_dns_zone_groups_operations.py | 10 +- .../_private_endpoints_operations.py | 18 +- .../_private_link_services_operations.py | 38 +- .../_public_ip_addresses_operations.py | 8 +- .../_public_ip_prefixes_operations.py | 8 +- .../_route_filter_rules_operations.py | 8 +- .../operations/_route_filters_operations.py | 8 +- .../operations/_route_tables_operations.py | 8 +- .../aio/operations/_routes_operations.py | 8 +- .../_security_partner_providers_operations.py | 8 +- .../operations/_security_rules_operations.py | 8 +- .../_service_endpoint_policies_operations.py | 8 +- ..._endpoint_policy_definitions_operations.py | 8 +- .../aio/operations/_subnets_operations.py | 16 +- .../_virtual_appliance_sites_operations.py | 8 +- .../_virtual_hub_bgp_connection_operations.py | 8 +- ...virtual_hub_ip_configuration_operations.py | 8 +- ...virtual_hub_route_table_v2_s_operations.py | 14 +- .../operations/_virtual_hubs_operations.py | 12 +- ..._network_gateway_connections_operations.py | 32 +- .../_virtual_network_gateways_operations.py | 72 +- .../_virtual_network_peerings_operations.py | 8 +- .../_virtual_network_taps_operations.py | 8 +- .../_virtual_networks_operations.py | 8 +- .../_virtual_router_peerings_operations.py | 16 +- .../operations/_virtual_routers_operations.py | 18 +- .../operations/_virtual_wans_operations.py | 8 +- .../operations/_vpn_connections_operations.py | 8 +- .../operations/_vpn_gateways_operations.py | 12 +- ..._associated_with_virtual_wan_operations.py | 4 +- .../_vpn_server_configurations_operations.py | 8 +- .../_vpn_sites_configuration_operations.py | 4 +- .../aio/operations/_vpn_sites_operations.py | 8 +- ...pplication_firewall_policies_operations.py | 4 +- .../network/v2020_05_01/models/_models.py | 74 +- .../network/v2020_05_01/models/_models_py3.py | 82 +- .../_network_management_client_enums.py | 4 +- ...private_endpoint_connections_operations.py | 8 +- .../_application_gateways_operations.py | 30 +- ..._application_security_groups_operations.py | 8 +- .../operations/_azure_firewalls_operations.py | 12 +- .../operations/_bastion_hosts_operations.py | 8 +- .../_connection_monitors_operations.py | 36 +- .../_ddos_custom_policies_operations.py | 8 +- .../_ddos_protection_plans_operations.py | 8 +- ...route_circuit_authorizations_operations.py | 8 +- ...ss_route_circuit_connections_operations.py | 8 +- ...press_route_circuit_peerings_operations.py | 8 +- .../_express_route_circuits_operations.py | 20 +- .../_express_route_connections_operations.py | 8 +- ...te_cross_connection_peerings_operations.py | 8 +- ...ress_route_cross_connections_operations.py | 16 +- .../_express_route_gateways_operations.py | 8 +- .../_express_route_ports_operations.py | 8 +- .../_firewall_policies_operations.py | 8 +- ...olicy_rule_collection_groups_operations.py | 8 +- .../operations/_flow_logs_operations.py | 16 +- .../_hub_route_tables_operations.py | 8 +- ..._virtual_network_connections_operations.py | 8 +- .../_inbound_nat_rules_operations.py | 8 +- .../operations/_ip_allocations_operations.py | 8 +- .../operations/_ip_groups_operations.py | 20 +- ...lancer_backend_address_pools_operations.py | 8 +- .../operations/_load_balancers_operations.py | 8 +- .../_local_network_gateways_operations.py | 8 +- .../operations/_nat_gateways_operations.py | 8 +- ...interface_tap_configurations_operations.py | 8 +- .../_network_interfaces_operations.py | 16 +- .../_network_management_client_operations.py | 16 +- .../_network_profiles_operations.py | 4 +- .../_network_security_groups_operations.py | 8 +- .../_network_virtual_appliances_operations.py | 8 +- .../_network_watchers_operations.py | 84 +- .../_p2_svpn_gateways_operations.py | 24 +- .../operations/_packet_captures_operations.py | 28 +- .../_private_dns_zone_groups_operations.py | 10 +- .../_private_endpoints_operations.py | 18 +- .../_private_link_services_operations.py | 38 +- .../_public_ip_addresses_operations.py | 8 +- .../_public_ip_prefixes_operations.py | 8 +- .../_route_filter_rules_operations.py | 8 +- .../operations/_route_filters_operations.py | 8 +- .../operations/_route_tables_operations.py | 8 +- .../operations/_routes_operations.py | 8 +- .../_security_partner_providers_operations.py | 8 +- .../operations/_security_rules_operations.py | 8 +- .../_service_endpoint_policies_operations.py | 8 +- ..._endpoint_policy_definitions_operations.py | 8 +- .../operations/_subnets_operations.py | 16 +- .../_virtual_appliance_sites_operations.py | 8 +- .../_virtual_hub_bgp_connection_operations.py | 8 +- ...virtual_hub_ip_configuration_operations.py | 8 +- ...virtual_hub_route_table_v2_s_operations.py | 14 +- .../operations/_virtual_hubs_operations.py | 12 +- ..._network_gateway_connections_operations.py | 32 +- .../_virtual_network_gateways_operations.py | 72 +- .../_virtual_network_peerings_operations.py | 8 +- .../_virtual_network_taps_operations.py | 8 +- .../_virtual_networks_operations.py | 8 +- .../_virtual_router_peerings_operations.py | 16 +- .../operations/_virtual_routers_operations.py | 18 +- .../operations/_virtual_wans_operations.py | 8 +- .../operations/_vpn_connections_operations.py | 8 +- .../operations/_vpn_gateways_operations.py | 12 +- ..._associated_with_virtual_wan_operations.py | 4 +- .../_vpn_server_configurations_operations.py | 8 +- .../_vpn_sites_configuration_operations.py | 4 +- .../operations/_vpn_sites_operations.py | 8 +- ...pplication_firewall_policies_operations.py | 4 +- .../mgmt/network/v2020_06_01/_metadata.json | 328 +- .../v2020_06_01/_network_management_client.py | 20 + .../aio/_network_management_client.py | 19 + ...private_endpoint_connections_operations.py | 8 +- .../_application_gateways_operations.py | 30 +- ..._application_security_groups_operations.py | 8 +- .../operations/_azure_firewalls_operations.py | 12 +- .../operations/_bastion_hosts_operations.py | 8 +- .../_connection_monitors_operations.py | 36 +- .../_custom_ip_prefixes_operations.py | 8 +- .../_ddos_custom_policies_operations.py | 8 +- .../_ddos_protection_plans_operations.py | 8 +- .../_dscp_configuration_operations.py | 8 +- ...route_circuit_authorizations_operations.py | 8 +- ...ss_route_circuit_connections_operations.py | 8 +- ...press_route_circuit_peerings_operations.py | 8 +- .../_express_route_circuits_operations.py | 20 +- .../_express_route_connections_operations.py | 8 +- ...te_cross_connection_peerings_operations.py | 8 +- ...ress_route_cross_connections_operations.py | 16 +- .../_express_route_gateways_operations.py | 8 +- .../_express_route_ports_operations.py | 8 +- .../_firewall_policies_operations.py | 8 +- ...olicy_rule_collection_groups_operations.py | 8 +- .../aio/operations/_flow_logs_operations.py | 18 +- .../_hub_route_tables_operations.py | 8 +- ..._virtual_network_connections_operations.py | 8 +- .../_inbound_nat_rules_operations.py | 8 +- .../_inbound_security_rule_operations.py | 4 +- .../operations/_ip_allocations_operations.py | 8 +- .../aio/operations/_ip_groups_operations.py | 20 +- ...lancer_backend_address_pools_operations.py | 8 +- .../operations/_load_balancers_operations.py | 8 +- .../_local_network_gateways_operations.py | 8 +- .../operations/_nat_gateways_operations.py | 8 +- ...interface_tap_configurations_operations.py | 8 +- .../_network_interfaces_operations.py | 16 +- .../_network_management_client_operations.py | 16 +- .../_network_profiles_operations.py | 4 +- .../_network_security_groups_operations.py | 8 +- .../_network_virtual_appliances_operations.py | 8 +- .../_network_watchers_operations.py | 84 +- .../_p2_svpn_gateways_operations.py | 32 +- .../operations/_packet_captures_operations.py | 28 +- .../_private_dns_zone_groups_operations.py | 10 +- .../_private_endpoints_operations.py | 18 +- .../_private_link_services_operations.py | 38 +- .../_public_ip_addresses_operations.py | 8 +- .../_public_ip_prefixes_operations.py | 8 +- .../_route_filter_rules_operations.py | 8 +- .../operations/_route_filters_operations.py | 8 +- .../operations/_route_tables_operations.py | 8 +- .../aio/operations/_routes_operations.py | 8 +- .../_security_partner_providers_operations.py | 8 +- .../operations/_security_rules_operations.py | 8 +- .../_service_endpoint_policies_operations.py | 8 +- ..._endpoint_policy_definitions_operations.py | 8 +- .../aio/operations/_subnets_operations.py | 16 +- .../_virtual_appliance_sites_operations.py | 8 +- .../_virtual_hub_bgp_connection_operations.py | 8 +- ..._virtual_hub_bgp_connections_operations.py | 8 +- ...virtual_hub_ip_configuration_operations.py | 8 +- ...virtual_hub_route_table_v2_s_operations.py | 14 +- .../operations/_virtual_hubs_operations.py | 12 +- ..._network_gateway_connections_operations.py | 32 +- .../_virtual_network_gateways_operations.py | 72 +- .../_virtual_network_peerings_operations.py | 8 +- .../_virtual_network_taps_operations.py | 8 +- .../_virtual_networks_operations.py | 8 +- .../_virtual_router_peerings_operations.py | 16 +- .../operations/_virtual_routers_operations.py | 18 +- .../operations/_virtual_wans_operations.py | 8 +- .../operations/_vpn_connections_operations.py | 16 +- .../operations/_vpn_gateways_operations.py | 24 +- ..._associated_with_virtual_wan_operations.py | 4 +- .../_vpn_server_configurations_operations.py | 8 +- .../_vpn_sites_configuration_operations.py | 4 +- .../aio/operations/_vpn_sites_operations.py | 8 +- ...pplication_firewall_policies_operations.py | 4 +- .../network/v2020_06_01/models/_models.py | 79 +- .../network/v2020_06_01/models/_models_py3.py | 87 +- ...private_endpoint_connections_operations.py | 8 +- .../_application_gateways_operations.py | 30 +- ..._application_security_groups_operations.py | 8 +- .../operations/_azure_firewalls_operations.py | 12 +- .../operations/_bastion_hosts_operations.py | 8 +- .../_connection_monitors_operations.py | 36 +- .../_custom_ip_prefixes_operations.py | 8 +- .../_ddos_custom_policies_operations.py | 8 +- .../_ddos_protection_plans_operations.py | 8 +- .../_dscp_configuration_operations.py | 8 +- ...route_circuit_authorizations_operations.py | 8 +- ...ss_route_circuit_connections_operations.py | 8 +- ...press_route_circuit_peerings_operations.py | 8 +- .../_express_route_circuits_operations.py | 20 +- .../_express_route_connections_operations.py | 8 +- ...te_cross_connection_peerings_operations.py | 8 +- ...ress_route_cross_connections_operations.py | 16 +- .../_express_route_gateways_operations.py | 8 +- .../_express_route_ports_operations.py | 8 +- .../_firewall_policies_operations.py | 8 +- ...olicy_rule_collection_groups_operations.py | 8 +- .../operations/_flow_logs_operations.py | 18 +- .../_hub_route_tables_operations.py | 8 +- ..._virtual_network_connections_operations.py | 8 +- .../_inbound_nat_rules_operations.py | 8 +- .../_inbound_security_rule_operations.py | 4 +- .../operations/_ip_allocations_operations.py | 8 +- .../operations/_ip_groups_operations.py | 20 +- ...lancer_backend_address_pools_operations.py | 8 +- .../operations/_load_balancers_operations.py | 8 +- .../_local_network_gateways_operations.py | 8 +- .../operations/_nat_gateways_operations.py | 8 +- ...interface_tap_configurations_operations.py | 8 +- .../_network_interfaces_operations.py | 16 +- .../_network_management_client_operations.py | 16 +- .../_network_profiles_operations.py | 4 +- .../_network_security_groups_operations.py | 8 +- .../_network_virtual_appliances_operations.py | 8 +- .../_network_watchers_operations.py | 84 +- .../_p2_svpn_gateways_operations.py | 32 +- .../operations/_packet_captures_operations.py | 28 +- .../_private_dns_zone_groups_operations.py | 10 +- .../_private_endpoints_operations.py | 18 +- .../_private_link_services_operations.py | 38 +- .../_public_ip_addresses_operations.py | 8 +- .../_public_ip_prefixes_operations.py | 8 +- .../_route_filter_rules_operations.py | 8 +- .../operations/_route_filters_operations.py | 8 +- .../operations/_route_tables_operations.py | 8 +- .../operations/_routes_operations.py | 8 +- .../_security_partner_providers_operations.py | 8 +- .../operations/_security_rules_operations.py | 8 +- .../_service_endpoint_policies_operations.py | 8 +- ..._endpoint_policy_definitions_operations.py | 8 +- .../operations/_subnets_operations.py | 16 +- .../_virtual_appliance_sites_operations.py | 8 +- .../_virtual_hub_bgp_connection_operations.py | 8 +- ..._virtual_hub_bgp_connections_operations.py | 8 +- ...virtual_hub_ip_configuration_operations.py | 8 +- ...virtual_hub_route_table_v2_s_operations.py | 14 +- .../operations/_virtual_hubs_operations.py | 12 +- ..._network_gateway_connections_operations.py | 32 +- .../_virtual_network_gateways_operations.py | 72 +- .../_virtual_network_peerings_operations.py | 8 +- .../_virtual_network_taps_operations.py | 8 +- .../_virtual_networks_operations.py | 8 +- .../_virtual_router_peerings_operations.py | 16 +- .../operations/_virtual_routers_operations.py | 18 +- .../operations/_virtual_wans_operations.py | 8 +- .../operations/_vpn_connections_operations.py | 16 +- .../operations/_vpn_gateways_operations.py | 24 +- ..._associated_with_virtual_wan_operations.py | 4 +- .../_vpn_server_configurations_operations.py | 8 +- .../_vpn_sites_configuration_operations.py | 4 +- .../operations/_vpn_sites_operations.py | 8 +- ...pplication_firewall_policies_operations.py | 4 +- .../mgmt/network/v2020_07_01/_metadata.json | 328 +- .../v2020_07_01/_network_management_client.py | 20 + .../aio/_network_management_client.py | 19 + ...private_endpoint_connections_operations.py | 8 +- .../_application_gateways_operations.py | 30 +- ..._application_security_groups_operations.py | 8 +- .../operations/_azure_firewalls_operations.py | 12 +- .../operations/_bastion_hosts_operations.py | 8 +- .../_connection_monitors_operations.py | 36 +- .../_custom_ip_prefixes_operations.py | 8 +- .../_ddos_custom_policies_operations.py | 8 +- .../_ddos_protection_plans_operations.py | 8 +- .../_dscp_configuration_operations.py | 8 +- ...route_circuit_authorizations_operations.py | 8 +- ...ss_route_circuit_connections_operations.py | 8 +- ...press_route_circuit_peerings_operations.py | 8 +- .../_express_route_circuits_operations.py | 20 +- .../_express_route_connections_operations.py | 8 +- ...te_cross_connection_peerings_operations.py | 8 +- ...ress_route_cross_connections_operations.py | 16 +- .../_express_route_gateways_operations.py | 8 +- .../_express_route_ports_operations.py | 8 +- .../_firewall_policies_operations.py | 8 +- ...olicy_rule_collection_groups_operations.py | 8 +- .../aio/operations/_flow_logs_operations.py | 18 +- .../_hub_route_tables_operations.py | 8 +- ..._virtual_network_connections_operations.py | 8 +- .../_inbound_nat_rules_operations.py | 8 +- .../_inbound_security_rule_operations.py | 4 +- .../operations/_ip_allocations_operations.py | 8 +- .../aio/operations/_ip_groups_operations.py | 20 +- ...lancer_backend_address_pools_operations.py | 8 +- .../operations/_load_balancers_operations.py | 8 +- .../_local_network_gateways_operations.py | 8 +- .../operations/_nat_gateways_operations.py | 8 +- ...interface_tap_configurations_operations.py | 8 +- .../_network_interfaces_operations.py | 16 +- .../_network_management_client_operations.py | 16 +- .../_network_profiles_operations.py | 4 +- .../_network_security_groups_operations.py | 8 +- .../_network_virtual_appliances_operations.py | 8 +- .../_network_watchers_operations.py | 84 +- .../_p2_svpn_gateways_operations.py | 32 +- .../operations/_packet_captures_operations.py | 28 +- .../_private_dns_zone_groups_operations.py | 10 +- .../_private_endpoints_operations.py | 18 +- .../_private_link_services_operations.py | 38 +- .../_public_ip_addresses_operations.py | 8 +- .../_public_ip_prefixes_operations.py | 8 +- .../_route_filter_rules_operations.py | 8 +- .../operations/_route_filters_operations.py | 8 +- .../operations/_route_tables_operations.py | 8 +- .../aio/operations/_routes_operations.py | 8 +- .../_security_partner_providers_operations.py | 8 +- .../operations/_security_rules_operations.py | 8 +- .../_service_endpoint_policies_operations.py | 8 +- ..._endpoint_policy_definitions_operations.py | 8 +- .../aio/operations/_subnets_operations.py | 16 +- .../_virtual_appliance_sites_operations.py | 8 +- .../_virtual_hub_bgp_connection_operations.py | 8 +- ..._virtual_hub_bgp_connections_operations.py | 8 +- ...virtual_hub_ip_configuration_operations.py | 8 +- ...virtual_hub_route_table_v2_s_operations.py | 14 +- .../operations/_virtual_hubs_operations.py | 12 +- ..._network_gateway_connections_operations.py | 32 +- .../_virtual_network_gateways_operations.py | 72 +- .../_virtual_network_peerings_operations.py | 8 +- .../_virtual_network_taps_operations.py | 8 +- .../_virtual_networks_operations.py | 8 +- .../_virtual_router_peerings_operations.py | 16 +- .../operations/_virtual_routers_operations.py | 18 +- .../operations/_virtual_wans_operations.py | 8 +- .../operations/_vpn_connections_operations.py | 16 +- .../operations/_vpn_gateways_operations.py | 24 +- ..._associated_with_virtual_wan_operations.py | 4 +- .../_vpn_server_configurations_operations.py | 8 +- .../_vpn_sites_configuration_operations.py | 4 +- .../aio/operations/_vpn_sites_operations.py | 8 +- ...pplication_firewall_policies_operations.py | 4 +- .../network/v2020_07_01/models/_models.py | 97 +- .../network/v2020_07_01/models/_models_py3.py | 109 +- ...private_endpoint_connections_operations.py | 8 +- .../_application_gateways_operations.py | 30 +- ..._application_security_groups_operations.py | 8 +- .../operations/_azure_firewalls_operations.py | 12 +- .../operations/_bastion_hosts_operations.py | 8 +- .../_connection_monitors_operations.py | 36 +- .../_custom_ip_prefixes_operations.py | 8 +- .../_ddos_custom_policies_operations.py | 8 +- .../_ddos_protection_plans_operations.py | 8 +- .../_dscp_configuration_operations.py | 8 +- ...route_circuit_authorizations_operations.py | 8 +- ...ss_route_circuit_connections_operations.py | 8 +- ...press_route_circuit_peerings_operations.py | 8 +- .../_express_route_circuits_operations.py | 20 +- .../_express_route_connections_operations.py | 8 +- ...te_cross_connection_peerings_operations.py | 8 +- ...ress_route_cross_connections_operations.py | 16 +- .../_express_route_gateways_operations.py | 8 +- .../_express_route_ports_operations.py | 8 +- .../_firewall_policies_operations.py | 8 +- ...olicy_rule_collection_groups_operations.py | 8 +- .../operations/_flow_logs_operations.py | 18 +- .../_hub_route_tables_operations.py | 8 +- ..._virtual_network_connections_operations.py | 8 +- .../_inbound_nat_rules_operations.py | 8 +- .../_inbound_security_rule_operations.py | 4 +- .../operations/_ip_allocations_operations.py | 8 +- .../operations/_ip_groups_operations.py | 20 +- ...lancer_backend_address_pools_operations.py | 8 +- .../operations/_load_balancers_operations.py | 8 +- .../_local_network_gateways_operations.py | 8 +- .../operations/_nat_gateways_operations.py | 8 +- ...interface_tap_configurations_operations.py | 8 +- .../_network_interfaces_operations.py | 16 +- .../_network_management_client_operations.py | 16 +- .../_network_profiles_operations.py | 4 +- .../_network_security_groups_operations.py | 8 +- .../_network_virtual_appliances_operations.py | 8 +- .../_network_watchers_operations.py | 84 +- .../_p2_svpn_gateways_operations.py | 32 +- .../operations/_packet_captures_operations.py | 28 +- .../_private_dns_zone_groups_operations.py | 10 +- .../_private_endpoints_operations.py | 18 +- .../_private_link_services_operations.py | 38 +- .../_public_ip_addresses_operations.py | 8 +- .../_public_ip_prefixes_operations.py | 8 +- .../_route_filter_rules_operations.py | 8 +- .../operations/_route_filters_operations.py | 8 +- .../operations/_route_tables_operations.py | 8 +- .../operations/_routes_operations.py | 8 +- .../_security_partner_providers_operations.py | 8 +- .../operations/_security_rules_operations.py | 8 +- .../_service_endpoint_policies_operations.py | 8 +- ..._endpoint_policy_definitions_operations.py | 8 +- .../operations/_subnets_operations.py | 16 +- .../_virtual_appliance_sites_operations.py | 8 +- .../_virtual_hub_bgp_connection_operations.py | 8 +- ..._virtual_hub_bgp_connections_operations.py | 8 +- ...virtual_hub_ip_configuration_operations.py | 8 +- ...virtual_hub_route_table_v2_s_operations.py | 14 +- .../operations/_virtual_hubs_operations.py | 12 +- ..._network_gateway_connections_operations.py | 32 +- .../_virtual_network_gateways_operations.py | 72 +- .../_virtual_network_peerings_operations.py | 8 +- .../_virtual_network_taps_operations.py | 8 +- .../_virtual_networks_operations.py | 8 +- .../_virtual_router_peerings_operations.py | 16 +- .../operations/_virtual_routers_operations.py | 18 +- .../operations/_virtual_wans_operations.py | 8 +- .../operations/_vpn_connections_operations.py | 16 +- .../operations/_vpn_gateways_operations.py | 24 +- ..._associated_with_virtual_wan_operations.py | 4 +- .../_vpn_server_configurations_operations.py | 8 +- .../_vpn_sites_configuration_operations.py | 4 +- .../operations/_vpn_sites_operations.py | 8 +- ...pplication_firewall_policies_operations.py | 4 +- .../mgmt/network/v2020_08_01/_metadata.json | 328 +- .../v2020_08_01/_network_management_client.py | 20 + .../aio/_network_management_client.py | 19 + ...private_endpoint_connections_operations.py | 8 +- .../_application_gateways_operations.py | 30 +- ..._application_security_groups_operations.py | 8 +- .../operations/_azure_firewalls_operations.py | 12 +- .../operations/_bastion_hosts_operations.py | 8 +- .../_connection_monitors_operations.py | 36 +- .../_custom_ip_prefixes_operations.py | 8 +- .../_ddos_custom_policies_operations.py | 8 +- .../_ddos_protection_plans_operations.py | 8 +- .../_dscp_configuration_operations.py | 8 +- ...route_circuit_authorizations_operations.py | 8 +- ...ss_route_circuit_connections_operations.py | 8 +- ...press_route_circuit_peerings_operations.py | 8 +- .../_express_route_circuits_operations.py | 20 +- .../_express_route_connections_operations.py | 8 +- ...te_cross_connection_peerings_operations.py | 8 +- ...ress_route_cross_connections_operations.py | 16 +- .../_express_route_gateways_operations.py | 12 +- .../_express_route_ports_operations.py | 8 +- .../_firewall_policies_operations.py | 8 +- ...olicy_rule_collection_groups_operations.py | 8 +- .../aio/operations/_flow_logs_operations.py | 18 +- .../_hub_route_tables_operations.py | 8 +- ..._virtual_network_connections_operations.py | 8 +- .../_inbound_nat_rules_operations.py | 8 +- .../_inbound_security_rule_operations.py | 4 +- .../operations/_ip_allocations_operations.py | 8 +- .../aio/operations/_ip_groups_operations.py | 20 +- ...lancer_backend_address_pools_operations.py | 8 +- .../operations/_load_balancers_operations.py | 8 +- .../_local_network_gateways_operations.py | 8 +- .../operations/_nat_gateways_operations.py | 8 +- .../aio/operations/_nat_rules_operations.py | 8 +- ...interface_tap_configurations_operations.py | 8 +- .../_network_interfaces_operations.py | 16 +- .../_network_management_client_operations.py | 16 +- .../_network_profiles_operations.py | 4 +- .../_network_security_groups_operations.py | 8 +- .../_network_virtual_appliances_operations.py | 8 +- .../_network_watchers_operations.py | 84 +- .../_p2_svpn_gateways_operations.py | 32 +- .../operations/_packet_captures_operations.py | 28 +- .../_private_dns_zone_groups_operations.py | 10 +- .../_private_endpoints_operations.py | 18 +- .../_private_link_services_operations.py | 38 +- .../_public_ip_addresses_operations.py | 8 +- .../_public_ip_prefixes_operations.py | 8 +- .../_route_filter_rules_operations.py | 8 +- .../operations/_route_filters_operations.py | 8 +- .../operations/_route_tables_operations.py | 8 +- .../aio/operations/_routes_operations.py | 8 +- .../_security_partner_providers_operations.py | 8 +- .../operations/_security_rules_operations.py | 8 +- .../_service_endpoint_policies_operations.py | 8 +- ..._endpoint_policy_definitions_operations.py | 8 +- .../aio/operations/_subnets_operations.py | 16 +- .../_virtual_appliance_sites_operations.py | 8 +- .../_virtual_hub_bgp_connection_operations.py | 8 +- ..._virtual_hub_bgp_connections_operations.py | 8 +- ...virtual_hub_ip_configuration_operations.py | 8 +- ...virtual_hub_route_table_v2_s_operations.py | 14 +- .../operations/_virtual_hubs_operations.py | 12 +- ..._network_gateway_connections_operations.py | 38 +- .../_virtual_network_gateways_operations.py | 72 +- .../_virtual_network_peerings_operations.py | 8 +- .../_virtual_network_taps_operations.py | 8 +- .../_virtual_networks_operations.py | 8 +- .../_virtual_router_peerings_operations.py | 16 +- .../operations/_virtual_routers_operations.py | 18 +- .../operations/_virtual_wans_operations.py | 8 +- .../operations/_vpn_connections_operations.py | 16 +- .../operations/_vpn_gateways_operations.py | 24 +- ..._associated_with_virtual_wan_operations.py | 4 +- .../_vpn_server_configurations_operations.py | 8 +- .../_vpn_sites_configuration_operations.py | 4 +- .../aio/operations/_vpn_sites_operations.py | 8 +- ...pplication_firewall_policies_operations.py | 4 +- .../network/v2020_08_01/models/_models.py | 93 +- .../network/v2020_08_01/models/_models_py3.py | 103 +- ...private_endpoint_connections_operations.py | 8 +- .../_application_gateways_operations.py | 30 +- ..._application_security_groups_operations.py | 8 +- .../operations/_azure_firewalls_operations.py | 12 +- .../operations/_bastion_hosts_operations.py | 8 +- .../_connection_monitors_operations.py | 36 +- .../_custom_ip_prefixes_operations.py | 8 +- .../_ddos_custom_policies_operations.py | 8 +- .../_ddos_protection_plans_operations.py | 8 +- .../_dscp_configuration_operations.py | 8 +- ...route_circuit_authorizations_operations.py | 8 +- ...ss_route_circuit_connections_operations.py | 8 +- ...press_route_circuit_peerings_operations.py | 8 +- .../_express_route_circuits_operations.py | 20 +- .../_express_route_connections_operations.py | 8 +- ...te_cross_connection_peerings_operations.py | 8 +- ...ress_route_cross_connections_operations.py | 16 +- .../_express_route_gateways_operations.py | 12 +- .../_express_route_ports_operations.py | 8 +- .../_firewall_policies_operations.py | 8 +- ...olicy_rule_collection_groups_operations.py | 8 +- .../operations/_flow_logs_operations.py | 18 +- .../_hub_route_tables_operations.py | 8 +- ..._virtual_network_connections_operations.py | 8 +- .../_inbound_nat_rules_operations.py | 8 +- .../_inbound_security_rule_operations.py | 4 +- .../operations/_ip_allocations_operations.py | 8 +- .../operations/_ip_groups_operations.py | 20 +- ...lancer_backend_address_pools_operations.py | 8 +- .../operations/_load_balancers_operations.py | 8 +- .../_local_network_gateways_operations.py | 8 +- .../operations/_nat_gateways_operations.py | 8 +- .../operations/_nat_rules_operations.py | 8 +- ...interface_tap_configurations_operations.py | 8 +- .../_network_interfaces_operations.py | 16 +- .../_network_management_client_operations.py | 16 +- .../_network_profiles_operations.py | 4 +- .../_network_security_groups_operations.py | 8 +- .../_network_virtual_appliances_operations.py | 8 +- .../_network_watchers_operations.py | 84 +- .../_p2_svpn_gateways_operations.py | 32 +- .../operations/_packet_captures_operations.py | 28 +- .../_private_dns_zone_groups_operations.py | 10 +- .../_private_endpoints_operations.py | 18 +- .../_private_link_services_operations.py | 38 +- .../_public_ip_addresses_operations.py | 8 +- .../_public_ip_prefixes_operations.py | 8 +- .../_route_filter_rules_operations.py | 8 +- .../operations/_route_filters_operations.py | 8 +- .../operations/_route_tables_operations.py | 8 +- .../operations/_routes_operations.py | 8 +- .../_security_partner_providers_operations.py | 8 +- .../operations/_security_rules_operations.py | 8 +- .../_service_endpoint_policies_operations.py | 8 +- ..._endpoint_policy_definitions_operations.py | 8 +- .../operations/_subnets_operations.py | 16 +- .../_virtual_appliance_sites_operations.py | 8 +- .../_virtual_hub_bgp_connection_operations.py | 8 +- ..._virtual_hub_bgp_connections_operations.py | 8 +- ...virtual_hub_ip_configuration_operations.py | 8 +- ...virtual_hub_route_table_v2_s_operations.py | 14 +- .../operations/_virtual_hubs_operations.py | 12 +- ..._network_gateway_connections_operations.py | 38 +- .../_virtual_network_gateways_operations.py | 72 +- .../_virtual_network_peerings_operations.py | 8 +- .../_virtual_network_taps_operations.py | 8 +- .../_virtual_networks_operations.py | 8 +- .../_virtual_router_peerings_operations.py | 16 +- .../operations/_virtual_routers_operations.py | 18 +- .../operations/_virtual_wans_operations.py | 8 +- .../operations/_vpn_connections_operations.py | 16 +- .../operations/_vpn_gateways_operations.py | 24 +- ..._associated_with_virtual_wan_operations.py | 4 +- .../_vpn_server_configurations_operations.py | 8 +- .../_vpn_sites_configuration_operations.py | 4 +- .../operations/_vpn_sites_operations.py | 8 +- ...pplication_firewall_policies_operations.py | 4 +- .../mgmt/network/v2020_11_01/_metadata.json | 328 +- .../v2020_11_01/_network_management_client.py | 20 + .../aio/_network_management_client.py | 19 + ...private_endpoint_connections_operations.py | 8 +- .../_application_gateways_operations.py | 30 +- ..._application_security_groups_operations.py | 8 +- .../operations/_azure_firewalls_operations.py | 12 +- .../operations/_bastion_hosts_operations.py | 8 +- .../_connection_monitors_operations.py | 36 +- .../_custom_ip_prefixes_operations.py | 8 +- .../_ddos_custom_policies_operations.py | 8 +- .../_ddos_protection_plans_operations.py | 8 +- .../_dscp_configuration_operations.py | 8 +- ...route_circuit_authorizations_operations.py | 8 +- ...ss_route_circuit_connections_operations.py | 8 +- ...press_route_circuit_peerings_operations.py | 8 +- .../_express_route_circuits_operations.py | 20 +- .../_express_route_connections_operations.py | 8 +- ...te_cross_connection_peerings_operations.py | 8 +- ...ress_route_cross_connections_operations.py | 16 +- .../_express_route_gateways_operations.py | 12 +- .../_express_route_ports_operations.py | 8 +- .../_firewall_policies_operations.py | 8 +- ...olicy_rule_collection_groups_operations.py | 8 +- .../aio/operations/_flow_logs_operations.py | 18 +- .../_hub_route_tables_operations.py | 8 +- ..._virtual_network_connections_operations.py | 8 +- .../_inbound_nat_rules_operations.py | 8 +- .../_inbound_security_rule_operations.py | 4 +- .../operations/_ip_allocations_operations.py | 8 +- .../aio/operations/_ip_groups_operations.py | 20 +- ...lancer_backend_address_pools_operations.py | 8 +- .../operations/_load_balancers_operations.py | 8 +- .../_local_network_gateways_operations.py | 8 +- .../operations/_nat_gateways_operations.py | 8 +- .../aio/operations/_nat_rules_operations.py | 8 +- ...interface_tap_configurations_operations.py | 8 +- .../_network_interfaces_operations.py | 16 +- .../_network_management_client_operations.py | 16 +- .../_network_profiles_operations.py | 4 +- .../_network_security_groups_operations.py | 8 +- .../_network_virtual_appliances_operations.py | 8 +- .../_network_watchers_operations.py | 84 +- .../_p2_svpn_gateways_operations.py | 32 +- .../operations/_packet_captures_operations.py | 28 +- .../_private_dns_zone_groups_operations.py | 10 +- .../_private_endpoints_operations.py | 18 +- .../_private_link_services_operations.py | 38 +- .../_public_ip_addresses_operations.py | 8 +- .../_public_ip_prefixes_operations.py | 8 +- .../_route_filter_rules_operations.py | 8 +- .../operations/_route_filters_operations.py | 8 +- .../operations/_route_tables_operations.py | 8 +- .../aio/operations/_routes_operations.py | 8 +- .../_security_partner_providers_operations.py | 8 +- .../operations/_security_rules_operations.py | 8 +- .../_service_endpoint_policies_operations.py | 8 +- ..._endpoint_policy_definitions_operations.py | 8 +- .../aio/operations/_subnets_operations.py | 16 +- .../_virtual_appliance_sites_operations.py | 8 +- .../_virtual_hub_bgp_connection_operations.py | 8 +- ..._virtual_hub_bgp_connections_operations.py | 8 +- ...virtual_hub_ip_configuration_operations.py | 8 +- ...virtual_hub_route_table_v2_s_operations.py | 14 +- .../operations/_virtual_hubs_operations.py | 12 +- ..._network_gateway_connections_operations.py | 44 +- .../_virtual_network_gateways_operations.py | 72 +- .../_virtual_network_peerings_operations.py | 8 +- .../_virtual_network_taps_operations.py | 8 +- .../_virtual_networks_operations.py | 8 +- .../_virtual_router_peerings_operations.py | 16 +- .../operations/_virtual_routers_operations.py | 18 +- .../operations/_virtual_wans_operations.py | 8 +- .../operations/_vpn_connections_operations.py | 16 +- .../operations/_vpn_gateways_operations.py | 24 +- .../_vpn_link_connections_operations.py | 12 +- ..._associated_with_virtual_wan_operations.py | 4 +- .../_vpn_server_configurations_operations.py | 8 +- .../_vpn_sites_configuration_operations.py | 4 +- .../aio/operations/_vpn_sites_operations.py | 8 +- ...pplication_firewall_policies_operations.py | 4 +- .../network/v2020_11_01/models/__init__.py | 10 + .../network/v2020_11_01/models/_models.py | 191 +- .../network/v2020_11_01/models/_models_py3.py | 217 +- .../_network_management_client_enums.py | 41 + ...private_endpoint_connections_operations.py | 8 +- .../_application_gateways_operations.py | 30 +- ..._application_security_groups_operations.py | 8 +- .../operations/_azure_firewalls_operations.py | 12 +- .../operations/_bastion_hosts_operations.py | 8 +- .../_connection_monitors_operations.py | 36 +- .../_custom_ip_prefixes_operations.py | 8 +- .../_ddos_custom_policies_operations.py | 8 +- .../_ddos_protection_plans_operations.py | 8 +- .../_dscp_configuration_operations.py | 8 +- ...route_circuit_authorizations_operations.py | 8 +- ...ss_route_circuit_connections_operations.py | 8 +- ...press_route_circuit_peerings_operations.py | 8 +- .../_express_route_circuits_operations.py | 20 +- .../_express_route_connections_operations.py | 8 +- ...te_cross_connection_peerings_operations.py | 8 +- ...ress_route_cross_connections_operations.py | 16 +- .../_express_route_gateways_operations.py | 12 +- .../_express_route_ports_operations.py | 8 +- .../_firewall_policies_operations.py | 8 +- ...olicy_rule_collection_groups_operations.py | 8 +- .../operations/_flow_logs_operations.py | 18 +- .../_hub_route_tables_operations.py | 8 +- ..._virtual_network_connections_operations.py | 8 +- .../_inbound_nat_rules_operations.py | 8 +- .../_inbound_security_rule_operations.py | 4 +- .../operations/_ip_allocations_operations.py | 8 +- .../operations/_ip_groups_operations.py | 20 +- ...lancer_backend_address_pools_operations.py | 8 +- .../operations/_load_balancers_operations.py | 8 +- .../_local_network_gateways_operations.py | 8 +- .../operations/_nat_gateways_operations.py | 8 +- .../operations/_nat_rules_operations.py | 8 +- ...interface_tap_configurations_operations.py | 8 +- .../_network_interfaces_operations.py | 16 +- .../_network_management_client_operations.py | 16 +- .../_network_profiles_operations.py | 4 +- .../_network_security_groups_operations.py | 8 +- .../_network_virtual_appliances_operations.py | 8 +- .../_network_watchers_operations.py | 84 +- .../_p2_svpn_gateways_operations.py | 32 +- .../operations/_packet_captures_operations.py | 28 +- .../_private_dns_zone_groups_operations.py | 10 +- .../_private_endpoints_operations.py | 18 +- .../_private_link_services_operations.py | 38 +- .../_public_ip_addresses_operations.py | 8 +- .../_public_ip_prefixes_operations.py | 8 +- .../_route_filter_rules_operations.py | 8 +- .../operations/_route_filters_operations.py | 8 +- .../operations/_route_tables_operations.py | 8 +- .../operations/_routes_operations.py | 8 +- .../_security_partner_providers_operations.py | 8 +- .../operations/_security_rules_operations.py | 8 +- .../_service_endpoint_policies_operations.py | 8 +- ..._endpoint_policy_definitions_operations.py | 8 +- .../operations/_subnets_operations.py | 16 +- .../_virtual_appliance_sites_operations.py | 8 +- .../_virtual_hub_bgp_connection_operations.py | 8 +- ..._virtual_hub_bgp_connections_operations.py | 8 +- ...virtual_hub_ip_configuration_operations.py | 8 +- ...virtual_hub_route_table_v2_s_operations.py | 14 +- .../operations/_virtual_hubs_operations.py | 12 +- ..._network_gateway_connections_operations.py | 44 +- .../_virtual_network_gateways_operations.py | 72 +- .../_virtual_network_peerings_operations.py | 8 +- .../_virtual_network_taps_operations.py | 8 +- .../_virtual_networks_operations.py | 8 +- .../_virtual_router_peerings_operations.py | 16 +- .../operations/_virtual_routers_operations.py | 18 +- .../operations/_virtual_wans_operations.py | 8 +- .../operations/_vpn_connections_operations.py | 16 +- .../operations/_vpn_gateways_operations.py | 24 +- .../_vpn_link_connections_operations.py | 12 +- ..._associated_with_virtual_wan_operations.py | 4 +- .../_vpn_server_configurations_operations.py | 8 +- .../_vpn_sites_configuration_operations.py | 4 +- .../operations/_vpn_sites_operations.py | 8 +- ...pplication_firewall_policies_operations.py | 4 +- .../mgmt/network/v2021_02_01/__init__.py | 16 + .../network/v2021_02_01/_configuration.py | 69 + .../mgmt/network/v2021_02_01/_metadata.json | 359 + .../v2021_02_01/_network_management_client.py | 620 + .../mgmt/network/v2021_02_01/aio/__init__.py | 10 + .../network/v2021_02_01/aio/_configuration.py | 65 + .../aio/_network_management_client.py | 613 + .../v2021_02_01/aio/operations/__init__.py | 227 + ...private_endpoint_connections_operations.py | 429 + ...teway_private_link_resources_operations.py | 116 + .../_application_gateways_operations.py | 1386 + ..._application_security_groups_operations.py | 541 + .../_available_delegations_operations.py | 112 + ..._available_endpoint_services_operations.py | 112 + ...lable_private_endpoint_types_operations.py | 188 + ...e_resource_group_delegations_operations.py | 116 + .../_available_service_aliases_operations.py | 186 + .../_azure_firewall_fqdn_tags_operations.py | 108 + .../operations/_azure_firewalls_operations.py | 600 + .../operations/_bastion_hosts_operations.py | 474 + .../_bgp_service_communities_operations.py | 108 + .../_connection_monitors_operations.py | 870 + .../_custom_ip_prefixes_operations.py | 545 + .../_ddos_custom_policies_operations.py | 403 + .../_ddos_protection_plans_operations.py | 540 + .../_default_security_rules_operations.py | 178 + .../_dscp_configuration_operations.py | 474 + ...route_circuit_authorizations_operations.py | 431 + ...ss_route_circuit_connections_operations.py | 455 + ...press_route_circuit_peerings_operations.py | 431 + .../_express_route_circuits_operations.py | 1053 + .../_express_route_connections_operations.py | 414 + ...te_cross_connection_peerings_operations.py | 431 + ...ress_route_cross_connections_operations.py | 823 + .../_express_route_gateways_operations.py | 570 + .../_express_route_links_operations.py | 178 + ...xpress_route_ports_locations_operations.py | 165 + .../_express_route_ports_operations.py | 606 + ...ress_route_service_providers_operations.py | 108 + .../_firewall_policies_operations.py | 479 + ...olicy_rule_collection_groups_operations.py | 431 + .../aio/operations/_flow_logs_operations.py | 505 + .../_hub_route_tables_operations.py | 430 + ..._virtual_network_connections_operations.py | 431 + .../_inbound_nat_rules_operations.py | 436 + .../_inbound_security_rule_operations.py | 179 + .../operations/_ip_allocations_operations.py | 545 + .../aio/operations/_ip_groups_operations.py | 552 + ...lancer_backend_address_pools_operations.py | 431 + ...r_frontend_ip_configurations_operations.py | 178 + ...alancer_load_balancing_rules_operations.py | 178 + ..._balancer_network_interfaces_operations.py | 116 + ...load_balancer_outbound_rules_operations.py | 178 + .../_load_balancer_probes_operations.py | 178 + .../operations/_load_balancers_operations.py | 656 + .../_local_network_gateways_operations.py | 474 + .../operations/_nat_gateways_operations.py | 546 + .../aio/operations/_nat_rules_operations.py | 431 + ..._interface_ip_configurations_operations.py | 178 + ...ork_interface_load_balancers_operations.py | 116 + ...interface_tap_configurations_operations.py | 431 + .../_network_interfaces_operations.py | 1386 + .../_network_management_client_operations.py | 917 + .../_network_profiles_operations.py | 487 + .../_network_security_groups_operations.py | 546 + .../_network_virtual_appliances_operations.py | 545 + .../_network_watchers_operations.py | 1983 + .../v2021_02_01/aio/operations/_operations.py | 104 + .../_p2_svpn_gateways_operations.py | 1208 + .../operations/_packet_captures_operations.py | 672 + ...ss_route_circuit_connections_operations.py | 188 + .../_private_dns_zone_groups_operations.py | 432 + .../_private_endpoints_operations.py | 484 + .../_private_link_services_operations.py | 1207 + .../_public_ip_addresses_operations.py | 1025 + .../_public_ip_prefixes_operations.py | 545 + .../_resource_navigation_links_operations.py | 103 + .../_route_filter_rules_operations.py | 431 + .../operations/_route_filters_operations.py | 546 + .../operations/_route_tables_operations.py | 545 + .../aio/operations/_routes_operations.py | 430 + .../_security_partner_providers_operations.py | 541 + .../operations/_security_rules_operations.py | 431 + .../_service_association_links_operations.py | 103 + .../_service_endpoint_policies_operations.py | 546 + ..._endpoint_policy_definitions_operations.py | 435 + .../operations/_service_tags_operations.py | 97 + .../aio/operations/_subnets_operations.py | 687 + .../aio/operations/_usages_operations.py | 112 + .../_virtual_appliance_sites_operations.py | 431 + .../_virtual_appliance_skus_operations.py | 162 + .../_virtual_hub_bgp_connection_operations.py | 356 + ..._virtual_hub_bgp_connections_operations.py | 364 + ...virtual_hub_ip_configuration_operations.py | 431 + ...virtual_hub_route_table_v2_s_operations.py | 435 + .../operations/_virtual_hubs_operations.py | 662 + ..._network_gateway_connections_operations.py | 1351 + ...al_network_gateway_nat_rules_operations.py | 431 + .../_virtual_network_gateways_operations.py | 2440 + .../_virtual_network_peerings_operations.py | 439 + .../_virtual_network_taps_operations.py | 540 + .../_virtual_networks_operations.py | 681 + .../_virtual_router_peerings_operations.py | 435 + .../operations/_virtual_routers_operations.py | 484 + .../operations/_virtual_wans_operations.py | 540 + .../operations/_vpn_connections_operations.py | 705 + .../operations/_vpn_gateways_operations.py | 977 + .../_vpn_link_connections_operations.py | 377 + ..._associated_with_virtual_wan_operations.py | 160 + .../_vpn_server_configurations_operations.py | 544 + .../_vpn_site_link_connections_operations.py | 107 + .../operations/_vpn_site_links_operations.py | 178 + .../_vpn_sites_configuration_operations.py | 162 + .../aio/operations/_vpn_sites_operations.py | 540 + ...pplication_firewall_policies_operations.py | 416 + .../operations/_web_categories_operations.py | 167 + .../network/v2021_02_01/models/__init__.py | 2033 + .../network/v2021_02_01/models/_models.py | 23125 +++++++++ .../network/v2021_02_01/models/_models_py3.py | 25735 +++++++++ .../_network_management_client_enums.py | 1433 + .../v2021_02_01/operations/__init__.py | 227 + ...private_endpoint_connections_operations.py | 439 + ...teway_private_link_resources_operations.py | 121 + .../_application_gateways_operations.py | 1413 + ..._application_security_groups_operations.py | 553 + .../_available_delegations_operations.py | 117 + ..._available_endpoint_services_operations.py | 117 + ...lable_private_endpoint_types_operations.py | 194 + ...e_resource_group_delegations_operations.py | 121 + .../_available_service_aliases_operations.py | 192 + .../_azure_firewall_fqdn_tags_operations.py | 113 + .../operations/_azure_firewalls_operations.py | 613 + .../operations/_bastion_hosts_operations.py | 485 + .../_bgp_service_communities_operations.py | 113 + .../_connection_monitors_operations.py | 887 + .../_custom_ip_prefixes_operations.py | 557 + .../_ddos_custom_policies_operations.py | 413 + .../_ddos_protection_plans_operations.py | 552 + .../_default_security_rules_operations.py | 184 + .../_dscp_configuration_operations.py | 485 + ...route_circuit_authorizations_operations.py | 441 + ...ss_route_circuit_connections_operations.py | 465 + ...press_route_circuit_peerings_operations.py | 441 + .../_express_route_circuits_operations.py | 1073 + .../_express_route_connections_operations.py | 424 + ...te_cross_connection_peerings_operations.py | 441 + ...ress_route_cross_connections_operations.py | 839 + .../_express_route_gateways_operations.py | 583 + .../_express_route_links_operations.py | 184 + ...xpress_route_ports_locations_operations.py | 171 + .../_express_route_ports_operations.py | 619 + ...ress_route_service_providers_operations.py | 113 + .../_firewall_policies_operations.py | 490 + ...olicy_rule_collection_groups_operations.py | 441 + .../operations/_flow_logs_operations.py | 516 + .../_hub_route_tables_operations.py | 440 + ..._virtual_network_connections_operations.py | 441 + .../_inbound_nat_rules_operations.py | 446 + .../_inbound_security_rule_operations.py | 185 + .../operations/_ip_allocations_operations.py | 557 + .../operations/_ip_groups_operations.py | 564 + ...lancer_backend_address_pools_operations.py | 441 + ...r_frontend_ip_configurations_operations.py | 184 + ...alancer_load_balancing_rules_operations.py | 184 + ..._balancer_network_interfaces_operations.py | 121 + ...load_balancer_outbound_rules_operations.py | 184 + .../_load_balancer_probes_operations.py | 184 + .../operations/_load_balancers_operations.py | 670 + .../_local_network_gateways_operations.py | 485 + .../operations/_nat_gateways_operations.py | 558 + .../operations/_nat_rules_operations.py | 441 + ..._interface_ip_configurations_operations.py | 184 + ...ork_interface_load_balancers_operations.py | 121 + ...interface_tap_configurations_operations.py | 441 + .../_network_interfaces_operations.py | 1410 + .../_network_management_client_operations.py | 933 + .../_network_profiles_operations.py | 498 + .../_network_security_groups_operations.py | 558 + .../_network_virtual_appliances_operations.py | 557 + .../_network_watchers_operations.py | 2017 + .../v2021_02_01/operations/_operations.py | 109 + .../_p2_svpn_gateways_operations.py | 1231 + .../operations/_packet_captures_operations.py | 686 + ...ss_route_circuit_connections_operations.py | 194 + .../_private_dns_zone_groups_operations.py | 442 + .../_private_endpoints_operations.py | 495 + .../_private_link_services_operations.py | 1229 + .../_public_ip_addresses_operations.py | 1043 + .../_public_ip_prefixes_operations.py | 557 + .../_resource_navigation_links_operations.py | 108 + .../_route_filter_rules_operations.py | 441 + .../operations/_route_filters_operations.py | 558 + .../operations/_route_tables_operations.py | 557 + .../operations/_routes_operations.py | 440 + .../_security_partner_providers_operations.py | 553 + .../operations/_security_rules_operations.py | 441 + .../_service_association_links_operations.py | 108 + .../_service_endpoint_policies_operations.py | 558 + ..._endpoint_policy_definitions_operations.py | 445 + .../operations/_service_tags_operations.py | 102 + .../operations/_subnets_operations.py | 701 + .../operations/_usages_operations.py | 117 + .../_virtual_appliance_sites_operations.py | 441 + .../_virtual_appliance_skus_operations.py | 168 + .../_virtual_hub_bgp_connection_operations.py | 365 + ..._virtual_hub_bgp_connections_operations.py | 373 + ...virtual_hub_ip_configuration_operations.py | 441 + ...virtual_hub_route_table_v2_s_operations.py | 445 + .../operations/_virtual_hubs_operations.py | 676 + ..._network_gateway_connections_operations.py | 1376 + ...al_network_gateway_nat_rules_operations.py | 441 + .../_virtual_network_gateways_operations.py | 2483 + .../_virtual_network_peerings_operations.py | 449 + .../_virtual_network_taps_operations.py | 552 + .../_virtual_networks_operations.py | 695 + .../_virtual_router_peerings_operations.py | 445 + .../operations/_virtual_routers_operations.py | 495 + .../operations/_virtual_wans_operations.py | 552 + .../operations/_vpn_connections_operations.py | 719 + .../operations/_vpn_gateways_operations.py | 996 + .../_vpn_link_connections_operations.py | 386 + ..._associated_with_virtual_wan_operations.py | 166 + .../_vpn_server_configurations_operations.py | 556 + .../_vpn_site_link_connections_operations.py | 112 + .../operations/_vpn_site_links_operations.py | 184 + .../_vpn_sites_configuration_operations.py | 168 + .../operations/_vpn_sites_operations.py | 552 + ...pplication_firewall_policies_operations.py | 426 + .../operations/_web_categories_operations.py | 173 + .../azure/mgmt/network/v2021_02_01/py.typed | 1 + sdk/network/azure-mgmt-network/setup.py | 2 +- ...st_cli_mgmt_network_base.test_network.yaml | 2750 +- ..._mgmt_network_base_async.test_network.yaml | 797 +- ...st_cli_mgmt_network_ddos.test_network.yaml | 2336 +- ...li_mgmt_network_endpoint.test_network.yaml | 1080 +- ..._network_endpoint_policy.test_network.yaml | 293 +- ...mt_network_express_route.test_network.yaml | 2123 +- ...li_mgmt_network_firewall.test_network.yaml | 806 +- ..._network_firewall_policy.test_network.yaml | 272 +- ...i_mgmt_network_interface.test_network.yaml | 1289 +- ...test_cli_mgmt_network_ip.test_network.yaml | 93 +- ...gmt_network_ip_addresses.test_network.yaml | 355 +- ...mt_network_load_balancer.test_network.yaml | 1003 +- ...est_cli_mgmt_network_nat.test_network.yaml | 316 +- ...gmt_network_route_filter.test_network.yaml | 43188 ++++++++-------- ...mgmt_network_route_table.test_network.yaml | 268 +- ...cli_mgmt_network_wan_hub.test_network.yaml | 1818 +- ...cli_mgmt_network_watcher.test_network.yaml | 634 - ..._network_watcher.test_network_watcher.yaml | 852 - ...watcher.test_network_watcher_flow_log.yaml | 528 - ..._watcher.test_network_watcher_monitor.yaml | 852 - ...r.test_network_watcher_packet_capture.yaml | 852 - ...her.test_network_watcher_troubleshoot.yaml | 528 - ...lication_firewall_policy.test_network.yaml | 94 +- .../tests/test_cli_mgmt_network_ddos.py | 3 +- .../test_cli_mgmt_network_express_route.py | 3 +- .../tests/test_cli_mgmt_network_interface.py | 1 + shared_requirements.txt | 1 + 3499 files changed, 215846 insertions(+), 62874 deletions(-) create mode 100644 sdk/network/azure-mgmt-network/_meta.json create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/__init__.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/_configuration.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/_metadata.json create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/_network_management_client.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/__init__.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/_configuration.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/_network_management_client.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/__init__.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_application_gateway_private_endpoint_connections_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_application_gateway_private_link_resources_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_application_gateways_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_application_security_groups_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_available_delegations_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_available_endpoint_services_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_available_private_endpoint_types_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_available_resource_group_delegations_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_available_service_aliases_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_azure_firewall_fqdn_tags_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_azure_firewalls_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_bastion_hosts_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_bgp_service_communities_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_connection_monitors_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_custom_ip_prefixes_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_ddos_custom_policies_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_ddos_protection_plans_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_default_security_rules_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_dscp_configuration_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_express_route_circuit_authorizations_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_express_route_circuit_connections_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_express_route_circuit_peerings_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_express_route_circuits_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_express_route_connections_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_express_route_cross_connection_peerings_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_express_route_cross_connections_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_express_route_gateways_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_express_route_links_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_express_route_ports_locations_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_express_route_ports_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_express_route_service_providers_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_firewall_policies_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_firewall_policy_rule_collection_groups_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_flow_logs_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_hub_route_tables_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_hub_virtual_network_connections_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_inbound_nat_rules_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_inbound_security_rule_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_ip_allocations_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_ip_groups_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_load_balancer_backend_address_pools_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_load_balancer_frontend_ip_configurations_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_load_balancer_load_balancing_rules_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_load_balancer_network_interfaces_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_load_balancer_outbound_rules_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_load_balancer_probes_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_load_balancers_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_local_network_gateways_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_nat_gateways_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_nat_rules_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_network_interface_ip_configurations_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_network_interface_load_balancers_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_network_interface_tap_configurations_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_network_interfaces_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_network_management_client_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_network_profiles_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_network_security_groups_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_network_virtual_appliances_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_network_watchers_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_p2_svpn_gateways_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_packet_captures_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_peer_express_route_circuit_connections_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_private_dns_zone_groups_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_private_endpoints_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_private_link_services_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_public_ip_addresses_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_public_ip_prefixes_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_resource_navigation_links_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_route_filter_rules_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_route_filters_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_route_tables_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_routes_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_security_partner_providers_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_security_rules_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_service_association_links_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_service_endpoint_policies_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_service_endpoint_policy_definitions_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_service_tags_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_subnets_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_usages_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_virtual_appliance_sites_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_virtual_appliance_skus_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_virtual_hub_bgp_connection_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_virtual_hub_bgp_connections_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_virtual_hub_ip_configuration_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_virtual_hub_route_table_v2_s_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_virtual_hubs_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_virtual_network_gateway_connections_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_virtual_network_gateway_nat_rules_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_virtual_network_gateways_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_virtual_network_peerings_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_virtual_network_taps_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_virtual_networks_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_virtual_router_peerings_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_virtual_routers_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_virtual_wans_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_vpn_connections_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_vpn_gateways_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_vpn_link_connections_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_vpn_server_configurations_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_vpn_site_link_connections_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_vpn_site_links_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_vpn_sites_configuration_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_vpn_sites_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_web_application_firewall_policies_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_web_categories_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/models/__init__.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/models/_models.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/models/_models_py3.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/models/_network_management_client_enums.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/__init__.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_application_gateway_private_endpoint_connections_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_application_gateway_private_link_resources_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_application_gateways_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_application_security_groups_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_available_delegations_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_available_endpoint_services_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_available_private_endpoint_types_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_available_resource_group_delegations_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_available_service_aliases_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_azure_firewall_fqdn_tags_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_azure_firewalls_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_bastion_hosts_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_bgp_service_communities_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_connection_monitors_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_custom_ip_prefixes_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_ddos_custom_policies_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_ddos_protection_plans_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_default_security_rules_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_dscp_configuration_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_express_route_circuit_authorizations_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_express_route_circuit_connections_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_express_route_circuit_peerings_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_express_route_circuits_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_express_route_connections_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_express_route_cross_connection_peerings_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_express_route_cross_connections_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_express_route_gateways_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_express_route_links_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_express_route_ports_locations_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_express_route_ports_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_express_route_service_providers_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_firewall_policies_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_firewall_policy_rule_collection_groups_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_flow_logs_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_hub_route_tables_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_hub_virtual_network_connections_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_inbound_nat_rules_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_inbound_security_rule_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_ip_allocations_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_ip_groups_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_load_balancer_backend_address_pools_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_load_balancer_frontend_ip_configurations_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_load_balancer_load_balancing_rules_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_load_balancer_network_interfaces_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_load_balancer_outbound_rules_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_load_balancer_probes_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_load_balancers_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_local_network_gateways_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_nat_gateways_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_nat_rules_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_network_interface_ip_configurations_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_network_interface_load_balancers_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_network_interface_tap_configurations_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_network_interfaces_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_network_management_client_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_network_profiles_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_network_security_groups_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_network_virtual_appliances_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_network_watchers_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_p2_svpn_gateways_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_packet_captures_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_peer_express_route_circuit_connections_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_private_dns_zone_groups_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_private_endpoints_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_private_link_services_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_public_ip_addresses_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_public_ip_prefixes_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_resource_navigation_links_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_route_filter_rules_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_route_filters_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_route_tables_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_routes_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_security_partner_providers_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_security_rules_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_service_association_links_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_service_endpoint_policies_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_service_endpoint_policy_definitions_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_service_tags_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_subnets_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_usages_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_virtual_appliance_sites_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_virtual_appliance_skus_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_virtual_hub_bgp_connection_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_virtual_hub_bgp_connections_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_virtual_hub_ip_configuration_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_virtual_hub_route_table_v2_s_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_virtual_hubs_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_virtual_network_gateway_connections_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_virtual_network_gateway_nat_rules_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_virtual_network_gateways_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_virtual_network_peerings_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_virtual_network_taps_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_virtual_networks_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_virtual_router_peerings_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_virtual_routers_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_virtual_wans_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_vpn_connections_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_vpn_gateways_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_vpn_link_connections_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_vpn_server_configurations_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_vpn_site_link_connections_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_vpn_site_links_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_vpn_sites_configuration_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_vpn_sites_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_web_application_firewall_policies_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_web_categories_operations.py create mode 100644 sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/py.typed delete mode 100644 sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_watcher.test_network.yaml delete mode 100644 sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_watcher.test_network_watcher.yaml delete mode 100644 sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_watcher.test_network_watcher_flow_log.yaml delete mode 100644 sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_watcher.test_network_watcher_monitor.yaml delete mode 100644 sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_watcher.test_network_watcher_packet_capture.yaml delete mode 100644 sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_watcher.test_network_watcher_troubleshoot.yaml diff --git a/sdk/network/azure-mgmt-network/CHANGELOG.md b/sdk/network/azure-mgmt-network/CHANGELOG.md index 2ba6e061499d..f38cdbef2eed 100644 --- a/sdk/network/azure-mgmt-network/CHANGELOG.md +++ b/sdk/network/azure-mgmt-network/CHANGELOG.md @@ -1,5 +1,59 @@ # Release History +## 19.0.0 (2021-05-14) + +**Features** + + - Model ApplicationGatewayTrustedClientCertificate has a new parameter validated_cert_data + - Model ApplicationGatewayTrustedClientCertificate has a new parameter client_cert_issuer_dn + - Model VirtualNetwork has a new parameter flow_timeout_in_minutes + - Model FrontendIPConfiguration has a new parameter gateway_load_balancer + - Model IPAddressAvailabilityResult has a new parameter is_platform_reserved + - Model CustomIpPrefix has a new parameter custom_ip_prefix_parent + - Model CustomIpPrefix has a new parameter failed_reason + - Model CustomIpPrefix has a new parameter child_custom_ip_prefixes + - Model CustomIpPrefix has a new parameter authorization_message + - Model CustomIpPrefix has a new parameter signed_message + - Model VirtualNetworkPeering has a new parameter peering_sync_level + - Model VirtualNetworkPeering has a new parameter resource_guid + - Model VirtualNetworkPeering has a new parameter do_not_verify_remote_gateways + - Model VirtualNetworkPeering has a new parameter type + - Model VirtualNetworkPeering has a new parameter remote_virtual_network_address_space + - Model Subnet has a new parameter application_gateway_ip_configurations + - Model Subnet has a new parameter type + - Model LoadBalancingRule has a new parameter backend_address_pools + - Model EffectiveNetworkSecurityGroupAssociation has a new parameter network_manager + - Model BastionHost has a new parameter sku + - Model VirtualNetworkGateway has a new parameter extended_location + - Model VirtualNetworkGateway has a new parameter nat_rules + - Model VirtualNetworkGateway has a new parameter enable_bgp_route_translation_for_nat + - Model NetworkInterface has a new parameter workload_type + - Model NetworkInterface has a new parameter private_link_service + - Model NetworkInterface has a new parameter nic_type + - Model NetworkInterface has a new parameter migration_phase + - Model Delegation has a new parameter type + - Model PublicIPPrefix has a new parameter nat_gateway + - Model VirtualNetworkGatewayConnection has a new parameter egress_nat_rules + - Model VirtualNetworkGatewayConnection has a new parameter ingress_nat_rules + - Model NetworkInterfaceIPConfiguration has a new parameter gateway_load_balancer + - Model NetworkInterfaceIPConfiguration has a new parameter type + - Model AvailablePrivateEndpointType has a new parameter display_name + - Model PublicIPAddress has a new parameter delete_option + - Model PublicIPAddress has a new parameter nat_gateway + - Model PublicIPAddress has a new parameter service_public_ip_address + - Model PublicIPAddress has a new parameter linked_public_ip_address + - Model PublicIPAddress has a new parameter migration_phase + - Model VirtualHub has a new parameter preferred_routing_gateway + - Model BackendAddressPool has a new parameter tunnel_interfaces + - Model ServiceTagInformationPropertiesFormat has a new parameter state + - Added operation LoadBalancersOperations.begin_swap_public_ip_addresses + - Added operation group VirtualNetworkGatewayNatRulesOperations + +**Breaking changes** + + - Operation VirtualNetworkPeeringsOperations.begin_create_or_update has a new signature + - Model VirtualNetworkGateway no longer has parameter virtual_network_extended_location + ## 18.0.0 (2021-03-08) **Features** diff --git a/sdk/network/azure-mgmt-network/MANIFEST.in b/sdk/network/azure-mgmt-network/MANIFEST.in index a3cb07df8765..3a9b6517412b 100644 --- a/sdk/network/azure-mgmt-network/MANIFEST.in +++ b/sdk/network/azure-mgmt-network/MANIFEST.in @@ -1,3 +1,4 @@ +include _meta.json recursive-include tests *.py *.yaml include *.md include azure/__init__.py diff --git a/sdk/network/azure-mgmt-network/_meta.json b/sdk/network/azure-mgmt-network/_meta.json new file mode 100644 index 000000000000..42889280d9b3 --- /dev/null +++ b/sdk/network/azure-mgmt-network/_meta.json @@ -0,0 +1,8 @@ +{ + "autorest": "3.4.2", + "use": "@autorest/python@5.6.6", + "commit": "f5fb71085c6846fd5d11b59a57381a5fcfd36840", + "repository_url": "https://github.com/Azure/azure-rest-api-specs", + "autorest_command": "autorest specification/network/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --track2 --use=@autorest/python@5.6.6 --version=3.4.2", + "readme": "specification/network/resource-manager/readme.md" +} \ No newline at end of file diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/_configuration.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/_configuration.py index 6f34da5acb38..3e24835fabf7 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/_configuration.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/_configuration.py @@ -8,7 +8,7 @@ # Changes may cause incorrect behavior and will be lost if the code is # regenerated. # -------------------------------------------------------------------------- -from typing import Any +from typing import TYPE_CHECKING from azure.core.configuration import Configuration from azure.core.pipeline import policies @@ -16,6 +16,11 @@ from ._version import VERSION +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any + + from azure.core.credentials import TokenCredential class NetworkManagementClientConfiguration(Configuration): """Configuration for NetworkManagementClient. diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/_network_management_client.py index 4ed03c24f42d..cc31d94ae5b3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/_network_management_client.py @@ -9,13 +9,23 @@ # regenerated. # -------------------------------------------------------------------------- -from azure.mgmt.core import ARMPipelineClient -from msrest import Serializer, Deserializer +from typing import TYPE_CHECKING +from azure.mgmt.core import ARMPipelineClient from azure.profiles import KnownProfiles, ProfileDefinition from azure.profiles.multiapiclient import MultiApiClientMixin +from msrest import Deserializer, Serializer + from ._configuration import NetworkManagementClientConfiguration from ._operations_mixin import NetworkManagementClientOperationsMixin + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Optional + + from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse + class _SDKClient(object): def __init__(self, *args, **kwargs): """This is a fake class to support current implemetation of MultiApiClientMixin." @@ -38,15 +48,16 @@ class NetworkManagementClient(NetworkManagementClientOperationsMixin, MultiApiCl :type credential: ~azure.core.credentials.TokenCredential :param subscription_id: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. :type subscription_id: str - :param str api_version: API version to use if no profile is provided, or if - missing in profile. - :param str base_url: Service URL + :param api_version: API version to use if no profile is provided, or if missing in profile. + :type api_version: str + :param base_url: Service URL + :type base_url: str :param profile: A profile definition, from KnownProfiles to dict. :type profile: azure.profiles.KnownProfiles :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. """ - DEFAULT_API_VERSION = '2020-11-01' + DEFAULT_API_VERSION = '2021-02-01' _PROFILE_TAG = "azure.mgmt.network.NetworkManagementClient" LATEST_PROFILE = ProfileDefinition({ _PROFILE_TAG: { @@ -62,9 +73,9 @@ def __init__( self, credential, # type: "TokenCredential" subscription_id, # type: str - api_version=None, - base_url=None, - profile=KnownProfiles.default, + api_version=None, # type: Optional[str] + base_url=None, # type: Optional[str] + profile=KnownProfiles.default, # type: KnownProfiles **kwargs # type: Any ): if not base_url: @@ -117,6 +128,7 @@ def models(cls, api_version=DEFAULT_API_VERSION): * 2020-07-01: :mod:`v2020_07_01.models` * 2020-08-01: :mod:`v2020_08_01.models` * 2020-11-01: :mod:`v2020_11_01.models` + * 2021-02-01: :mod:`v2021_02_01.models` """ if api_version == '2015-06-15': from .v2015_06_15 import models @@ -217,6 +229,9 @@ def models(cls, api_version=DEFAULT_API_VERSION): elif api_version == '2020-11-01': from .v2020_11_01 import models return models + elif api_version == '2021-02-01': + from .v2021_02_01 import models + return models raise ValueError("API version {} is not available".format(api_version)) @property @@ -228,6 +243,7 @@ def application_gateway_private_endpoint_connections(self): * 2020-07-01: :class:`ApplicationGatewayPrivateEndpointConnectionsOperations` * 2020-08-01: :class:`ApplicationGatewayPrivateEndpointConnectionsOperations` * 2020-11-01: :class:`ApplicationGatewayPrivateEndpointConnectionsOperations` + * 2021-02-01: :class:`ApplicationGatewayPrivateEndpointConnectionsOperations` """ api_version = self._get_api_version('application_gateway_private_endpoint_connections') if api_version == '2020-05-01': @@ -240,6 +256,8 @@ def application_gateway_private_endpoint_connections(self): from .v2020_08_01.operations import ApplicationGatewayPrivateEndpointConnectionsOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import ApplicationGatewayPrivateEndpointConnectionsOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import ApplicationGatewayPrivateEndpointConnectionsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'application_gateway_private_endpoint_connections'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -253,6 +271,7 @@ def application_gateway_private_link_resources(self): * 2020-07-01: :class:`ApplicationGatewayPrivateLinkResourcesOperations` * 2020-08-01: :class:`ApplicationGatewayPrivateLinkResourcesOperations` * 2020-11-01: :class:`ApplicationGatewayPrivateLinkResourcesOperations` + * 2021-02-01: :class:`ApplicationGatewayPrivateLinkResourcesOperations` """ api_version = self._get_api_version('application_gateway_private_link_resources') if api_version == '2020-05-01': @@ -265,6 +284,8 @@ def application_gateway_private_link_resources(self): from .v2020_08_01.operations import ApplicationGatewayPrivateLinkResourcesOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import ApplicationGatewayPrivateLinkResourcesOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import ApplicationGatewayPrivateLinkResourcesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'application_gateway_private_link_resources'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -306,6 +327,7 @@ def application_gateways(self): * 2020-07-01: :class:`ApplicationGatewaysOperations` * 2020-08-01: :class:`ApplicationGatewaysOperations` * 2020-11-01: :class:`ApplicationGatewaysOperations` + * 2021-02-01: :class:`ApplicationGatewaysOperations` """ api_version = self._get_api_version('application_gateways') if api_version == '2015-06-15': @@ -374,6 +396,8 @@ def application_gateways(self): from .v2020_08_01.operations import ApplicationGatewaysOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import ApplicationGatewaysOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import ApplicationGatewaysOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'application_gateways'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -409,6 +433,7 @@ def application_security_groups(self): * 2020-07-01: :class:`ApplicationSecurityGroupsOperations` * 2020-08-01: :class:`ApplicationSecurityGroupsOperations` * 2020-11-01: :class:`ApplicationSecurityGroupsOperations` + * 2021-02-01: :class:`ApplicationSecurityGroupsOperations` """ api_version = self._get_api_version('application_security_groups') if api_version == '2017-09-01': @@ -465,6 +490,8 @@ def application_security_groups(self): from .v2020_08_01.operations import ApplicationSecurityGroupsOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import ApplicationSecurityGroupsOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import ApplicationSecurityGroupsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'application_security_groups'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -492,6 +519,7 @@ def available_delegations(self): * 2020-07-01: :class:`AvailableDelegationsOperations` * 2020-08-01: :class:`AvailableDelegationsOperations` * 2020-11-01: :class:`AvailableDelegationsOperations` + * 2021-02-01: :class:`AvailableDelegationsOperations` """ api_version = self._get_api_version('available_delegations') if api_version == '2018-08-01': @@ -532,6 +560,8 @@ def available_delegations(self): from .v2020_08_01.operations import AvailableDelegationsOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import AvailableDelegationsOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import AvailableDelegationsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'available_delegations'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -569,6 +599,7 @@ def available_endpoint_services(self): * 2020-07-01: :class:`AvailableEndpointServicesOperations` * 2020-08-01: :class:`AvailableEndpointServicesOperations` * 2020-11-01: :class:`AvailableEndpointServicesOperations` + * 2021-02-01: :class:`AvailableEndpointServicesOperations` """ api_version = self._get_api_version('available_endpoint_services') if api_version == '2017-06-01': @@ -629,6 +660,8 @@ def available_endpoint_services(self): from .v2020_08_01.operations import AvailableEndpointServicesOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import AvailableEndpointServicesOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import AvailableEndpointServicesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'available_endpoint_services'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -651,6 +684,7 @@ def available_private_endpoint_types(self): * 2020-07-01: :class:`AvailablePrivateEndpointTypesOperations` * 2020-08-01: :class:`AvailablePrivateEndpointTypesOperations` * 2020-11-01: :class:`AvailablePrivateEndpointTypesOperations` + * 2021-02-01: :class:`AvailablePrivateEndpointTypesOperations` """ api_version = self._get_api_version('available_private_endpoint_types') if api_version == '2019-04-01': @@ -681,6 +715,8 @@ def available_private_endpoint_types(self): from .v2020_08_01.operations import AvailablePrivateEndpointTypesOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import AvailablePrivateEndpointTypesOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import AvailablePrivateEndpointTypesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'available_private_endpoint_types'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -708,6 +744,7 @@ def available_resource_group_delegations(self): * 2020-07-01: :class:`AvailableResourceGroupDelegationsOperations` * 2020-08-01: :class:`AvailableResourceGroupDelegationsOperations` * 2020-11-01: :class:`AvailableResourceGroupDelegationsOperations` + * 2021-02-01: :class:`AvailableResourceGroupDelegationsOperations` """ api_version = self._get_api_version('available_resource_group_delegations') if api_version == '2018-08-01': @@ -748,6 +785,8 @@ def available_resource_group_delegations(self): from .v2020_08_01.operations import AvailableResourceGroupDelegationsOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import AvailableResourceGroupDelegationsOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import AvailableResourceGroupDelegationsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'available_resource_group_delegations'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -767,6 +806,7 @@ def available_service_aliases(self): * 2020-07-01: :class:`AvailableServiceAliasesOperations` * 2020-08-01: :class:`AvailableServiceAliasesOperations` * 2020-11-01: :class:`AvailableServiceAliasesOperations` + * 2021-02-01: :class:`AvailableServiceAliasesOperations` """ api_version = self._get_api_version('available_service_aliases') if api_version == '2019-08-01': @@ -791,6 +831,8 @@ def available_service_aliases(self): from .v2020_08_01.operations import AvailableServiceAliasesOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import AvailableServiceAliasesOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import AvailableServiceAliasesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'available_service_aliases'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -818,6 +860,7 @@ def azure_firewall_fqdn_tags(self): * 2020-07-01: :class:`AzureFirewallFqdnTagsOperations` * 2020-08-01: :class:`AzureFirewallFqdnTagsOperations` * 2020-11-01: :class:`AzureFirewallFqdnTagsOperations` + * 2021-02-01: :class:`AzureFirewallFqdnTagsOperations` """ api_version = self._get_api_version('azure_firewall_fqdn_tags') if api_version == '2018-08-01': @@ -858,6 +901,8 @@ def azure_firewall_fqdn_tags(self): from .v2020_08_01.operations import AzureFirewallFqdnTagsOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import AzureFirewallFqdnTagsOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import AzureFirewallFqdnTagsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'azure_firewall_fqdn_tags'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -888,6 +933,7 @@ def azure_firewalls(self): * 2020-07-01: :class:`AzureFirewallsOperations` * 2020-08-01: :class:`AzureFirewallsOperations` * 2020-11-01: :class:`AzureFirewallsOperations` + * 2021-02-01: :class:`AzureFirewallsOperations` """ api_version = self._get_api_version('azure_firewalls') if api_version == '2018-04-01': @@ -934,6 +980,8 @@ def azure_firewalls(self): from .v2020_08_01.operations import AzureFirewallsOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import AzureFirewallsOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import AzureFirewallsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'azure_firewalls'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -956,6 +1004,7 @@ def bastion_hosts(self): * 2020-07-01: :class:`BastionHostsOperations` * 2020-08-01: :class:`BastionHostsOperations` * 2020-11-01: :class:`BastionHostsOperations` + * 2021-02-01: :class:`BastionHostsOperations` """ api_version = self._get_api_version('bastion_hosts') if api_version == '2019-04-01': @@ -986,6 +1035,8 @@ def bastion_hosts(self): from .v2020_08_01.operations import BastionHostsOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import BastionHostsOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import BastionHostsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'bastion_hosts'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -1025,6 +1076,7 @@ def bgp_service_communities(self): * 2020-07-01: :class:`BgpServiceCommunitiesOperations` * 2020-08-01: :class:`BgpServiceCommunitiesOperations` * 2020-11-01: :class:`BgpServiceCommunitiesOperations` + * 2021-02-01: :class:`BgpServiceCommunitiesOperations` """ api_version = self._get_api_version('bgp_service_communities') if api_version == '2016-12-01': @@ -1089,6 +1141,8 @@ def bgp_service_communities(self): from .v2020_08_01.operations import BgpServiceCommunitiesOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import BgpServiceCommunitiesOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import BgpServiceCommunitiesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'bgp_service_communities'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -1123,6 +1177,7 @@ def connection_monitors(self): * 2020-07-01: :class:`ConnectionMonitorsOperations` * 2020-08-01: :class:`ConnectionMonitorsOperations` * 2020-11-01: :class:`ConnectionMonitorsOperations` + * 2021-02-01: :class:`ConnectionMonitorsOperations` """ api_version = self._get_api_version('connection_monitors') if api_version == '2017-10-01': @@ -1177,6 +1232,8 @@ def connection_monitors(self): from .v2020_08_01.operations import ConnectionMonitorsOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import ConnectionMonitorsOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import ConnectionMonitorsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'connection_monitors'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -1189,6 +1246,7 @@ def custom_ip_prefixes(self): * 2020-07-01: :class:`CustomIPPrefixesOperations` * 2020-08-01: :class:`CustomIPPrefixesOperations` * 2020-11-01: :class:`CustomIPPrefixesOperations` + * 2021-02-01: :class:`CustomIPPrefixesOperations` """ api_version = self._get_api_version('custom_ip_prefixes') if api_version == '2020-06-01': @@ -1199,6 +1257,8 @@ def custom_ip_prefixes(self): from .v2020_08_01.operations import CustomIPPrefixesOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import CustomIPPrefixesOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import CustomIPPrefixesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'custom_ip_prefixes'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -1224,6 +1284,7 @@ def ddos_custom_policies(self): * 2020-07-01: :class:`DdosCustomPoliciesOperations` * 2020-08-01: :class:`DdosCustomPoliciesOperations` * 2020-11-01: :class:`DdosCustomPoliciesOperations` + * 2021-02-01: :class:`DdosCustomPoliciesOperations` """ api_version = self._get_api_version('ddos_custom_policies') if api_version == '2018-11-01': @@ -1260,6 +1321,8 @@ def ddos_custom_policies(self): from .v2020_08_01.operations import DdosCustomPoliciesOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import DdosCustomPoliciesOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import DdosCustomPoliciesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'ddos_custom_policies'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -1291,6 +1354,7 @@ def ddos_protection_plans(self): * 2020-07-01: :class:`DdosProtectionPlansOperations` * 2020-08-01: :class:`DdosProtectionPlansOperations` * 2020-11-01: :class:`DdosProtectionPlansOperations` + * 2021-02-01: :class:`DdosProtectionPlansOperations` """ api_version = self._get_api_version('ddos_protection_plans') if api_version == '2018-02-01': @@ -1339,6 +1403,8 @@ def ddos_protection_plans(self): from .v2020_08_01.operations import DdosProtectionPlansOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import DdosProtectionPlansOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import DdosProtectionPlansOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'ddos_protection_plans'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -1376,6 +1442,7 @@ def default_security_rules(self): * 2020-07-01: :class:`DefaultSecurityRulesOperations` * 2020-08-01: :class:`DefaultSecurityRulesOperations` * 2020-11-01: :class:`DefaultSecurityRulesOperations` + * 2021-02-01: :class:`DefaultSecurityRulesOperations` """ api_version = self._get_api_version('default_security_rules') if api_version == '2017-06-01': @@ -1436,6 +1503,8 @@ def default_security_rules(self): from .v2020_08_01.operations import DefaultSecurityRulesOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import DefaultSecurityRulesOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import DefaultSecurityRulesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'default_security_rules'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -1448,6 +1517,7 @@ def dscp_configuration(self): * 2020-07-01: :class:`DscpConfigurationOperations` * 2020-08-01: :class:`DscpConfigurationOperations` * 2020-11-01: :class:`DscpConfigurationOperations` + * 2021-02-01: :class:`DscpConfigurationOperations` """ api_version = self._get_api_version('dscp_configuration') if api_version == '2020-06-01': @@ -1458,6 +1528,8 @@ def dscp_configuration(self): from .v2020_08_01.operations import DscpConfigurationOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import DscpConfigurationOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import DscpConfigurationOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'dscp_configuration'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -1499,6 +1571,7 @@ def express_route_circuit_authorizations(self): * 2020-07-01: :class:`ExpressRouteCircuitAuthorizationsOperations` * 2020-08-01: :class:`ExpressRouteCircuitAuthorizationsOperations` * 2020-11-01: :class:`ExpressRouteCircuitAuthorizationsOperations` + * 2021-02-01: :class:`ExpressRouteCircuitAuthorizationsOperations` """ api_version = self._get_api_version('express_route_circuit_authorizations') if api_version == '2015-06-15': @@ -1567,6 +1640,8 @@ def express_route_circuit_authorizations(self): from .v2020_08_01.operations import ExpressRouteCircuitAuthorizationsOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import ExpressRouteCircuitAuthorizationsOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import ExpressRouteCircuitAuthorizationsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'express_route_circuit_authorizations'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -1598,6 +1673,7 @@ def express_route_circuit_connections(self): * 2020-07-01: :class:`ExpressRouteCircuitConnectionsOperations` * 2020-08-01: :class:`ExpressRouteCircuitConnectionsOperations` * 2020-11-01: :class:`ExpressRouteCircuitConnectionsOperations` + * 2021-02-01: :class:`ExpressRouteCircuitConnectionsOperations` """ api_version = self._get_api_version('express_route_circuit_connections') if api_version == '2018-02-01': @@ -1646,6 +1722,8 @@ def express_route_circuit_connections(self): from .v2020_08_01.operations import ExpressRouteCircuitConnectionsOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import ExpressRouteCircuitConnectionsOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import ExpressRouteCircuitConnectionsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'express_route_circuit_connections'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -1687,6 +1765,7 @@ def express_route_circuit_peerings(self): * 2020-07-01: :class:`ExpressRouteCircuitPeeringsOperations` * 2020-08-01: :class:`ExpressRouteCircuitPeeringsOperations` * 2020-11-01: :class:`ExpressRouteCircuitPeeringsOperations` + * 2021-02-01: :class:`ExpressRouteCircuitPeeringsOperations` """ api_version = self._get_api_version('express_route_circuit_peerings') if api_version == '2015-06-15': @@ -1755,6 +1834,8 @@ def express_route_circuit_peerings(self): from .v2020_08_01.operations import ExpressRouteCircuitPeeringsOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import ExpressRouteCircuitPeeringsOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import ExpressRouteCircuitPeeringsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'express_route_circuit_peerings'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -1796,6 +1877,7 @@ def express_route_circuits(self): * 2020-07-01: :class:`ExpressRouteCircuitsOperations` * 2020-08-01: :class:`ExpressRouteCircuitsOperations` * 2020-11-01: :class:`ExpressRouteCircuitsOperations` + * 2021-02-01: :class:`ExpressRouteCircuitsOperations` """ api_version = self._get_api_version('express_route_circuits') if api_version == '2015-06-15': @@ -1864,6 +1946,8 @@ def express_route_circuits(self): from .v2020_08_01.operations import ExpressRouteCircuitsOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import ExpressRouteCircuitsOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import ExpressRouteCircuitsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'express_route_circuits'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -1891,6 +1975,7 @@ def express_route_connections(self): * 2020-07-01: :class:`ExpressRouteConnectionsOperations` * 2020-08-01: :class:`ExpressRouteConnectionsOperations` * 2020-11-01: :class:`ExpressRouteConnectionsOperations` + * 2021-02-01: :class:`ExpressRouteConnectionsOperations` """ api_version = self._get_api_version('express_route_connections') if api_version == '2018-08-01': @@ -1931,6 +2016,8 @@ def express_route_connections(self): from .v2020_08_01.operations import ExpressRouteConnectionsOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import ExpressRouteConnectionsOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import ExpressRouteConnectionsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'express_route_connections'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -1962,6 +2049,7 @@ def express_route_cross_connection_peerings(self): * 2020-07-01: :class:`ExpressRouteCrossConnectionPeeringsOperations` * 2020-08-01: :class:`ExpressRouteCrossConnectionPeeringsOperations` * 2020-11-01: :class:`ExpressRouteCrossConnectionPeeringsOperations` + * 2021-02-01: :class:`ExpressRouteCrossConnectionPeeringsOperations` """ api_version = self._get_api_version('express_route_cross_connection_peerings') if api_version == '2018-02-01': @@ -2010,6 +2098,8 @@ def express_route_cross_connection_peerings(self): from .v2020_08_01.operations import ExpressRouteCrossConnectionPeeringsOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import ExpressRouteCrossConnectionPeeringsOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import ExpressRouteCrossConnectionPeeringsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'express_route_cross_connection_peerings'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -2041,6 +2131,7 @@ def express_route_cross_connections(self): * 2020-07-01: :class:`ExpressRouteCrossConnectionsOperations` * 2020-08-01: :class:`ExpressRouteCrossConnectionsOperations` * 2020-11-01: :class:`ExpressRouteCrossConnectionsOperations` + * 2021-02-01: :class:`ExpressRouteCrossConnectionsOperations` """ api_version = self._get_api_version('express_route_cross_connections') if api_version == '2018-02-01': @@ -2089,6 +2180,8 @@ def express_route_cross_connections(self): from .v2020_08_01.operations import ExpressRouteCrossConnectionsOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import ExpressRouteCrossConnectionsOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import ExpressRouteCrossConnectionsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'express_route_cross_connections'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -2116,6 +2209,7 @@ def express_route_gateways(self): * 2020-07-01: :class:`ExpressRouteGatewaysOperations` * 2020-08-01: :class:`ExpressRouteGatewaysOperations` * 2020-11-01: :class:`ExpressRouteGatewaysOperations` + * 2021-02-01: :class:`ExpressRouteGatewaysOperations` """ api_version = self._get_api_version('express_route_gateways') if api_version == '2018-08-01': @@ -2156,6 +2250,8 @@ def express_route_gateways(self): from .v2020_08_01.operations import ExpressRouteGatewaysOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import ExpressRouteGatewaysOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import ExpressRouteGatewaysOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'express_route_gateways'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -2183,6 +2279,7 @@ def express_route_links(self): * 2020-07-01: :class:`ExpressRouteLinksOperations` * 2020-08-01: :class:`ExpressRouteLinksOperations` * 2020-11-01: :class:`ExpressRouteLinksOperations` + * 2021-02-01: :class:`ExpressRouteLinksOperations` """ api_version = self._get_api_version('express_route_links') if api_version == '2018-08-01': @@ -2223,6 +2320,8 @@ def express_route_links(self): from .v2020_08_01.operations import ExpressRouteLinksOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import ExpressRouteLinksOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import ExpressRouteLinksOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'express_route_links'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -2250,6 +2349,7 @@ def express_route_ports(self): * 2020-07-01: :class:`ExpressRoutePortsOperations` * 2020-08-01: :class:`ExpressRoutePortsOperations` * 2020-11-01: :class:`ExpressRoutePortsOperations` + * 2021-02-01: :class:`ExpressRoutePortsOperations` """ api_version = self._get_api_version('express_route_ports') if api_version == '2018-08-01': @@ -2290,6 +2390,8 @@ def express_route_ports(self): from .v2020_08_01.operations import ExpressRoutePortsOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import ExpressRoutePortsOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import ExpressRoutePortsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'express_route_ports'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -2317,6 +2419,7 @@ def express_route_ports_locations(self): * 2020-07-01: :class:`ExpressRoutePortsLocationsOperations` * 2020-08-01: :class:`ExpressRoutePortsLocationsOperations` * 2020-11-01: :class:`ExpressRoutePortsLocationsOperations` + * 2021-02-01: :class:`ExpressRoutePortsLocationsOperations` """ api_version = self._get_api_version('express_route_ports_locations') if api_version == '2018-08-01': @@ -2357,6 +2460,8 @@ def express_route_ports_locations(self): from .v2020_08_01.operations import ExpressRoutePortsLocationsOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import ExpressRoutePortsLocationsOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import ExpressRoutePortsLocationsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'express_route_ports_locations'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -2398,6 +2503,7 @@ def express_route_service_providers(self): * 2020-07-01: :class:`ExpressRouteServiceProvidersOperations` * 2020-08-01: :class:`ExpressRouteServiceProvidersOperations` * 2020-11-01: :class:`ExpressRouteServiceProvidersOperations` + * 2021-02-01: :class:`ExpressRouteServiceProvidersOperations` """ api_version = self._get_api_version('express_route_service_providers') if api_version == '2015-06-15': @@ -2466,6 +2572,8 @@ def express_route_service_providers(self): from .v2020_08_01.operations import ExpressRouteServiceProvidersOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import ExpressRouteServiceProvidersOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import ExpressRouteServiceProvidersOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'express_route_service_providers'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -2487,6 +2595,7 @@ def firewall_policies(self): * 2020-07-01: :class:`FirewallPoliciesOperations` * 2020-08-01: :class:`FirewallPoliciesOperations` * 2020-11-01: :class:`FirewallPoliciesOperations` + * 2021-02-01: :class:`FirewallPoliciesOperations` """ api_version = self._get_api_version('firewall_policies') if api_version == '2019-06-01': @@ -2515,6 +2624,8 @@ def firewall_policies(self): from .v2020_08_01.operations import FirewallPoliciesOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import FirewallPoliciesOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import FirewallPoliciesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'firewall_policies'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -2528,6 +2639,7 @@ def firewall_policy_rule_collection_groups(self): * 2020-07-01: :class:`FirewallPolicyRuleCollectionGroupsOperations` * 2020-08-01: :class:`FirewallPolicyRuleCollectionGroupsOperations` * 2020-11-01: :class:`FirewallPolicyRuleCollectionGroupsOperations` + * 2021-02-01: :class:`FirewallPolicyRuleCollectionGroupsOperations` """ api_version = self._get_api_version('firewall_policy_rule_collection_groups') if api_version == '2020-05-01': @@ -2540,6 +2652,8 @@ def firewall_policy_rule_collection_groups(self): from .v2020_08_01.operations import FirewallPolicyRuleCollectionGroupsOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import FirewallPolicyRuleCollectionGroupsOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import FirewallPolicyRuleCollectionGroupsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'firewall_policy_rule_collection_groups'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -2591,6 +2705,7 @@ def flow_logs(self): * 2020-07-01: :class:`FlowLogsOperations` * 2020-08-01: :class:`FlowLogsOperations` * 2020-11-01: :class:`FlowLogsOperations` + * 2021-02-01: :class:`FlowLogsOperations` """ api_version = self._get_api_version('flow_logs') if api_version == '2019-11-01': @@ -2611,6 +2726,8 @@ def flow_logs(self): from .v2020_08_01.operations import FlowLogsOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import FlowLogsOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import FlowLogsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'flow_logs'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -2625,6 +2742,7 @@ def hub_route_tables(self): * 2020-07-01: :class:`HubRouteTablesOperations` * 2020-08-01: :class:`HubRouteTablesOperations` * 2020-11-01: :class:`HubRouteTablesOperations` + * 2021-02-01: :class:`HubRouteTablesOperations` """ api_version = self._get_api_version('hub_route_tables') if api_version == '2020-04-01': @@ -2639,6 +2757,8 @@ def hub_route_tables(self): from .v2020_08_01.operations import HubRouteTablesOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import HubRouteTablesOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import HubRouteTablesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'hub_route_tables'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -2669,6 +2789,7 @@ def hub_virtual_network_connections(self): * 2020-07-01: :class:`HubVirtualNetworkConnectionsOperations` * 2020-08-01: :class:`HubVirtualNetworkConnectionsOperations` * 2020-11-01: :class:`HubVirtualNetworkConnectionsOperations` + * 2021-02-01: :class:`HubVirtualNetworkConnectionsOperations` """ api_version = self._get_api_version('hub_virtual_network_connections') if api_version == '2018-04-01': @@ -2715,6 +2836,8 @@ def hub_virtual_network_connections(self): from .v2020_08_01.operations import HubVirtualNetworkConnectionsOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import HubVirtualNetworkConnectionsOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import HubVirtualNetworkConnectionsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'hub_virtual_network_connections'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -2752,6 +2875,7 @@ def inbound_nat_rules(self): * 2020-07-01: :class:`InboundNatRulesOperations` * 2020-08-01: :class:`InboundNatRulesOperations` * 2020-11-01: :class:`InboundNatRulesOperations` + * 2021-02-01: :class:`InboundNatRulesOperations` """ api_version = self._get_api_version('inbound_nat_rules') if api_version == '2017-06-01': @@ -2812,6 +2936,8 @@ def inbound_nat_rules(self): from .v2020_08_01.operations import InboundNatRulesOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import InboundNatRulesOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import InboundNatRulesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'inbound_nat_rules'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -2824,6 +2950,7 @@ def inbound_security_rule(self): * 2020-07-01: :class:`InboundSecurityRuleOperations` * 2020-08-01: :class:`InboundSecurityRuleOperations` * 2020-11-01: :class:`InboundSecurityRuleOperations` + * 2021-02-01: :class:`InboundSecurityRuleOperations` """ api_version = self._get_api_version('inbound_security_rule') if api_version == '2020-06-01': @@ -2834,6 +2961,8 @@ def inbound_security_rule(self): from .v2020_08_01.operations import InboundSecurityRuleOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import InboundSecurityRuleOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import InboundSecurityRuleOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'inbound_security_rule'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -2874,6 +3003,7 @@ def ip_allocations(self): * 2020-07-01: :class:`IpAllocationsOperations` * 2020-08-01: :class:`IpAllocationsOperations` * 2020-11-01: :class:`IpAllocationsOperations` + * 2021-02-01: :class:`IpAllocationsOperations` """ api_version = self._get_api_version('ip_allocations') if api_version == '2020-03-01': @@ -2890,6 +3020,8 @@ def ip_allocations(self): from .v2020_08_01.operations import IpAllocationsOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import IpAllocationsOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import IpAllocationsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'ip_allocations'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -2908,6 +3040,7 @@ def ip_groups(self): * 2020-07-01: :class:`IpGroupsOperations` * 2020-08-01: :class:`IpGroupsOperations` * 2020-11-01: :class:`IpGroupsOperations` + * 2021-02-01: :class:`IpGroupsOperations` """ api_version = self._get_api_version('ip_groups') if api_version == '2019-09-01': @@ -2930,6 +3063,8 @@ def ip_groups(self): from .v2020_08_01.operations import IpGroupsOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import IpGroupsOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import IpGroupsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'ip_groups'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -2967,6 +3102,7 @@ def load_balancer_backend_address_pools(self): * 2020-07-01: :class:`LoadBalancerBackendAddressPoolsOperations` * 2020-08-01: :class:`LoadBalancerBackendAddressPoolsOperations` * 2020-11-01: :class:`LoadBalancerBackendAddressPoolsOperations` + * 2021-02-01: :class:`LoadBalancerBackendAddressPoolsOperations` """ api_version = self._get_api_version('load_balancer_backend_address_pools') if api_version == '2017-06-01': @@ -3027,6 +3163,8 @@ def load_balancer_backend_address_pools(self): from .v2020_08_01.operations import LoadBalancerBackendAddressPoolsOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import LoadBalancerBackendAddressPoolsOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import LoadBalancerBackendAddressPoolsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'load_balancer_backend_address_pools'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -3064,6 +3202,7 @@ def load_balancer_frontend_ip_configurations(self): * 2020-07-01: :class:`LoadBalancerFrontendIPConfigurationsOperations` * 2020-08-01: :class:`LoadBalancerFrontendIPConfigurationsOperations` * 2020-11-01: :class:`LoadBalancerFrontendIPConfigurationsOperations` + * 2021-02-01: :class:`LoadBalancerFrontendIPConfigurationsOperations` """ api_version = self._get_api_version('load_balancer_frontend_ip_configurations') if api_version == '2017-06-01': @@ -3124,6 +3263,8 @@ def load_balancer_frontend_ip_configurations(self): from .v2020_08_01.operations import LoadBalancerFrontendIPConfigurationsOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import LoadBalancerFrontendIPConfigurationsOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import LoadBalancerFrontendIPConfigurationsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'load_balancer_frontend_ip_configurations'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -3161,6 +3302,7 @@ def load_balancer_load_balancing_rules(self): * 2020-07-01: :class:`LoadBalancerLoadBalancingRulesOperations` * 2020-08-01: :class:`LoadBalancerLoadBalancingRulesOperations` * 2020-11-01: :class:`LoadBalancerLoadBalancingRulesOperations` + * 2021-02-01: :class:`LoadBalancerLoadBalancingRulesOperations` """ api_version = self._get_api_version('load_balancer_load_balancing_rules') if api_version == '2017-06-01': @@ -3221,6 +3363,8 @@ def load_balancer_load_balancing_rules(self): from .v2020_08_01.operations import LoadBalancerLoadBalancingRulesOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import LoadBalancerLoadBalancingRulesOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import LoadBalancerLoadBalancingRulesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'load_balancer_load_balancing_rules'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -3258,6 +3402,7 @@ def load_balancer_network_interfaces(self): * 2020-07-01: :class:`LoadBalancerNetworkInterfacesOperations` * 2020-08-01: :class:`LoadBalancerNetworkInterfacesOperations` * 2020-11-01: :class:`LoadBalancerNetworkInterfacesOperations` + * 2021-02-01: :class:`LoadBalancerNetworkInterfacesOperations` """ api_version = self._get_api_version('load_balancer_network_interfaces') if api_version == '2017-06-01': @@ -3318,6 +3463,8 @@ def load_balancer_network_interfaces(self): from .v2020_08_01.operations import LoadBalancerNetworkInterfacesOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import LoadBalancerNetworkInterfacesOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import LoadBalancerNetworkInterfacesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'load_balancer_network_interfaces'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -3345,6 +3492,7 @@ def load_balancer_outbound_rules(self): * 2020-07-01: :class:`LoadBalancerOutboundRulesOperations` * 2020-08-01: :class:`LoadBalancerOutboundRulesOperations` * 2020-11-01: :class:`LoadBalancerOutboundRulesOperations` + * 2021-02-01: :class:`LoadBalancerOutboundRulesOperations` """ api_version = self._get_api_version('load_balancer_outbound_rules') if api_version == '2018-08-01': @@ -3385,6 +3533,8 @@ def load_balancer_outbound_rules(self): from .v2020_08_01.operations import LoadBalancerOutboundRulesOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import LoadBalancerOutboundRulesOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import LoadBalancerOutboundRulesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'load_balancer_outbound_rules'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -3422,6 +3572,7 @@ def load_balancer_probes(self): * 2020-07-01: :class:`LoadBalancerProbesOperations` * 2020-08-01: :class:`LoadBalancerProbesOperations` * 2020-11-01: :class:`LoadBalancerProbesOperations` + * 2021-02-01: :class:`LoadBalancerProbesOperations` """ api_version = self._get_api_version('load_balancer_probes') if api_version == '2017-06-01': @@ -3482,6 +3633,8 @@ def load_balancer_probes(self): from .v2020_08_01.operations import LoadBalancerProbesOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import LoadBalancerProbesOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import LoadBalancerProbesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'load_balancer_probes'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -3523,6 +3676,7 @@ def load_balancers(self): * 2020-07-01: :class:`LoadBalancersOperations` * 2020-08-01: :class:`LoadBalancersOperations` * 2020-11-01: :class:`LoadBalancersOperations` + * 2021-02-01: :class:`LoadBalancersOperations` """ api_version = self._get_api_version('load_balancers') if api_version == '2015-06-15': @@ -3591,6 +3745,8 @@ def load_balancers(self): from .v2020_08_01.operations import LoadBalancersOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import LoadBalancersOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import LoadBalancersOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'load_balancers'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -3632,6 +3788,7 @@ def local_network_gateways(self): * 2020-07-01: :class:`LocalNetworkGatewaysOperations` * 2020-08-01: :class:`LocalNetworkGatewaysOperations` * 2020-11-01: :class:`LocalNetworkGatewaysOperations` + * 2021-02-01: :class:`LocalNetworkGatewaysOperations` """ api_version = self._get_api_version('local_network_gateways') if api_version == '2015-06-15': @@ -3700,6 +3857,8 @@ def local_network_gateways(self): from .v2020_08_01.operations import LocalNetworkGatewaysOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import LocalNetworkGatewaysOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import LocalNetworkGatewaysOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'local_network_gateways'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -3723,6 +3882,7 @@ def nat_gateways(self): * 2020-07-01: :class:`NatGatewaysOperations` * 2020-08-01: :class:`NatGatewaysOperations` * 2020-11-01: :class:`NatGatewaysOperations` + * 2021-02-01: :class:`NatGatewaysOperations` """ api_version = self._get_api_version('nat_gateways') if api_version == '2019-02-01': @@ -3755,6 +3915,8 @@ def nat_gateways(self): from .v2020_08_01.operations import NatGatewaysOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import NatGatewaysOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import NatGatewaysOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'nat_gateways'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -3765,12 +3927,15 @@ def nat_rules(self): * 2020-08-01: :class:`NatRulesOperations` * 2020-11-01: :class:`NatRulesOperations` + * 2021-02-01: :class:`NatRulesOperations` """ api_version = self._get_api_version('nat_rules') if api_version == '2020-08-01': from .v2020_08_01.operations import NatRulesOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import NatRulesOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import NatRulesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'nat_rules'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -3808,6 +3973,7 @@ def network_interface_ip_configurations(self): * 2020-07-01: :class:`NetworkInterfaceIPConfigurationsOperations` * 2020-08-01: :class:`NetworkInterfaceIPConfigurationsOperations` * 2020-11-01: :class:`NetworkInterfaceIPConfigurationsOperations` + * 2021-02-01: :class:`NetworkInterfaceIPConfigurationsOperations` """ api_version = self._get_api_version('network_interface_ip_configurations') if api_version == '2017-06-01': @@ -3868,6 +4034,8 @@ def network_interface_ip_configurations(self): from .v2020_08_01.operations import NetworkInterfaceIPConfigurationsOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import NetworkInterfaceIPConfigurationsOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import NetworkInterfaceIPConfigurationsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'network_interface_ip_configurations'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -3905,6 +4073,7 @@ def network_interface_load_balancers(self): * 2020-07-01: :class:`NetworkInterfaceLoadBalancersOperations` * 2020-08-01: :class:`NetworkInterfaceLoadBalancersOperations` * 2020-11-01: :class:`NetworkInterfaceLoadBalancersOperations` + * 2021-02-01: :class:`NetworkInterfaceLoadBalancersOperations` """ api_version = self._get_api_version('network_interface_load_balancers') if api_version == '2017-06-01': @@ -3965,6 +4134,8 @@ def network_interface_load_balancers(self): from .v2020_08_01.operations import NetworkInterfaceLoadBalancersOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import NetworkInterfaceLoadBalancersOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import NetworkInterfaceLoadBalancersOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'network_interface_load_balancers'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -3992,6 +4163,7 @@ def network_interface_tap_configurations(self): * 2020-07-01: :class:`NetworkInterfaceTapConfigurationsOperations` * 2020-08-01: :class:`NetworkInterfaceTapConfigurationsOperations` * 2020-11-01: :class:`NetworkInterfaceTapConfigurationsOperations` + * 2021-02-01: :class:`NetworkInterfaceTapConfigurationsOperations` """ api_version = self._get_api_version('network_interface_tap_configurations') if api_version == '2018-08-01': @@ -4032,6 +4204,8 @@ def network_interface_tap_configurations(self): from .v2020_08_01.operations import NetworkInterfaceTapConfigurationsOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import NetworkInterfaceTapConfigurationsOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import NetworkInterfaceTapConfigurationsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'network_interface_tap_configurations'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -4073,6 +4247,7 @@ def network_interfaces(self): * 2020-07-01: :class:`NetworkInterfacesOperations` * 2020-08-01: :class:`NetworkInterfacesOperations` * 2020-11-01: :class:`NetworkInterfacesOperations` + * 2021-02-01: :class:`NetworkInterfacesOperations` """ api_version = self._get_api_version('network_interfaces') if api_version == '2015-06-15': @@ -4141,6 +4316,8 @@ def network_interfaces(self): from .v2020_08_01.operations import NetworkInterfacesOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import NetworkInterfacesOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import NetworkInterfacesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'network_interfaces'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -4168,6 +4345,7 @@ def network_profiles(self): * 2020-07-01: :class:`NetworkProfilesOperations` * 2020-08-01: :class:`NetworkProfilesOperations` * 2020-11-01: :class:`NetworkProfilesOperations` + * 2021-02-01: :class:`NetworkProfilesOperations` """ api_version = self._get_api_version('network_profiles') if api_version == '2018-08-01': @@ -4208,6 +4386,8 @@ def network_profiles(self): from .v2020_08_01.operations import NetworkProfilesOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import NetworkProfilesOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import NetworkProfilesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'network_profiles'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -4249,6 +4429,7 @@ def network_security_groups(self): * 2020-07-01: :class:`NetworkSecurityGroupsOperations` * 2020-08-01: :class:`NetworkSecurityGroupsOperations` * 2020-11-01: :class:`NetworkSecurityGroupsOperations` + * 2021-02-01: :class:`NetworkSecurityGroupsOperations` """ api_version = self._get_api_version('network_security_groups') if api_version == '2015-06-15': @@ -4317,6 +4498,8 @@ def network_security_groups(self): from .v2020_08_01.operations import NetworkSecurityGroupsOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import NetworkSecurityGroupsOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import NetworkSecurityGroupsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'network_security_groups'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -4333,6 +4516,7 @@ def network_virtual_appliances(self): * 2020-07-01: :class:`NetworkVirtualAppliancesOperations` * 2020-08-01: :class:`NetworkVirtualAppliancesOperations` * 2020-11-01: :class:`NetworkVirtualAppliancesOperations` + * 2021-02-01: :class:`NetworkVirtualAppliancesOperations` """ api_version = self._get_api_version('network_virtual_appliances') if api_version == '2019-12-01': @@ -4351,6 +4535,8 @@ def network_virtual_appliances(self): from .v2020_08_01.operations import NetworkVirtualAppliancesOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import NetworkVirtualAppliancesOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import NetworkVirtualAppliancesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'network_virtual_appliances'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -4391,6 +4577,7 @@ def network_watchers(self): * 2020-07-01: :class:`NetworkWatchersOperations` * 2020-08-01: :class:`NetworkWatchersOperations` * 2020-11-01: :class:`NetworkWatchersOperations` + * 2021-02-01: :class:`NetworkWatchersOperations` """ api_version = self._get_api_version('network_watchers') if api_version == '2016-09-01': @@ -4457,6 +4644,8 @@ def network_watchers(self): from .v2020_08_01.operations import NetworkWatchersOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import NetworkWatchersOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import NetworkWatchersOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'network_watchers'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -4492,6 +4681,7 @@ def operations(self): * 2020-07-01: :class:`Operations` * 2020-08-01: :class:`Operations` * 2020-11-01: :class:`Operations` + * 2021-02-01: :class:`Operations` """ api_version = self._get_api_version('operations') if api_version == '2017-09-01': @@ -4548,6 +4738,8 @@ def operations(self): from .v2020_08_01.operations import Operations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import Operations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import Operations as OperationClass else: raise ValueError("API version {} does not have operation group 'operations'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -4575,6 +4767,7 @@ def p2_svpn_gateways(self): * 2020-07-01: :class:`P2SVpnGatewaysOperations` * 2020-08-01: :class:`P2SVpnGatewaysOperations` * 2020-11-01: :class:`P2SVpnGatewaysOperations` + * 2021-02-01: :class:`P2SVpnGatewaysOperations` """ api_version = self._get_api_version('p2_svpn_gateways') if api_version == '2018-08-01': @@ -4615,6 +4808,8 @@ def p2_svpn_gateways(self): from .v2020_08_01.operations import P2SVpnGatewaysOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import P2SVpnGatewaysOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import P2SVpnGatewaysOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'p2_svpn_gateways'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -4689,6 +4884,7 @@ def packet_captures(self): * 2020-07-01: :class:`PacketCapturesOperations` * 2020-08-01: :class:`PacketCapturesOperations` * 2020-11-01: :class:`PacketCapturesOperations` + * 2021-02-01: :class:`PacketCapturesOperations` """ api_version = self._get_api_version('packet_captures') if api_version == '2016-09-01': @@ -4755,6 +4951,8 @@ def packet_captures(self): from .v2020_08_01.operations import PacketCapturesOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import PacketCapturesOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import PacketCapturesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'packet_captures'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -4779,6 +4977,7 @@ def peer_express_route_circuit_connections(self): * 2020-07-01: :class:`PeerExpressRouteCircuitConnectionsOperations` * 2020-08-01: :class:`PeerExpressRouteCircuitConnectionsOperations` * 2020-11-01: :class:`PeerExpressRouteCircuitConnectionsOperations` + * 2021-02-01: :class:`PeerExpressRouteCircuitConnectionsOperations` """ api_version = self._get_api_version('peer_express_route_circuit_connections') if api_version == '2018-12-01': @@ -4813,6 +5012,8 @@ def peer_express_route_circuit_connections(self): from .v2020_08_01.operations import PeerExpressRouteCircuitConnectionsOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import PeerExpressRouteCircuitConnectionsOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import PeerExpressRouteCircuitConnectionsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'peer_express_route_circuit_connections'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -4828,6 +5029,7 @@ def private_dns_zone_groups(self): * 2020-07-01: :class:`PrivateDnsZoneGroupsOperations` * 2020-08-01: :class:`PrivateDnsZoneGroupsOperations` * 2020-11-01: :class:`PrivateDnsZoneGroupsOperations` + * 2021-02-01: :class:`PrivateDnsZoneGroupsOperations` """ api_version = self._get_api_version('private_dns_zone_groups') if api_version == '2020-03-01': @@ -4844,6 +5046,8 @@ def private_dns_zone_groups(self): from .v2020_08_01.operations import PrivateDnsZoneGroupsOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import PrivateDnsZoneGroupsOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import PrivateDnsZoneGroupsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'private_dns_zone_groups'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -4866,6 +5070,7 @@ def private_endpoints(self): * 2020-07-01: :class:`PrivateEndpointsOperations` * 2020-08-01: :class:`PrivateEndpointsOperations` * 2020-11-01: :class:`PrivateEndpointsOperations` + * 2021-02-01: :class:`PrivateEndpointsOperations` """ api_version = self._get_api_version('private_endpoints') if api_version == '2019-04-01': @@ -4896,6 +5101,8 @@ def private_endpoints(self): from .v2020_08_01.operations import PrivateEndpointsOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import PrivateEndpointsOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import PrivateEndpointsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'private_endpoints'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -4918,6 +5125,7 @@ def private_link_services(self): * 2020-07-01: :class:`PrivateLinkServicesOperations` * 2020-08-01: :class:`PrivateLinkServicesOperations` * 2020-11-01: :class:`PrivateLinkServicesOperations` + * 2021-02-01: :class:`PrivateLinkServicesOperations` """ api_version = self._get_api_version('private_link_services') if api_version == '2019-04-01': @@ -4948,6 +5156,8 @@ def private_link_services(self): from .v2020_08_01.operations import PrivateLinkServicesOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import PrivateLinkServicesOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import PrivateLinkServicesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'private_link_services'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -4989,6 +5199,7 @@ def public_ip_addresses(self): * 2020-07-01: :class:`PublicIPAddressesOperations` * 2020-08-01: :class:`PublicIPAddressesOperations` * 2020-11-01: :class:`PublicIPAddressesOperations` + * 2021-02-01: :class:`PublicIPAddressesOperations` """ api_version = self._get_api_version('public_ip_addresses') if api_version == '2015-06-15': @@ -5057,6 +5268,8 @@ def public_ip_addresses(self): from .v2020_08_01.operations import PublicIPAddressesOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import PublicIPAddressesOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import PublicIPAddressesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'public_ip_addresses'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -5085,6 +5298,7 @@ def public_ip_prefixes(self): * 2020-07-01: :class:`PublicIPPrefixesOperations` * 2020-08-01: :class:`PublicIPPrefixesOperations` * 2020-11-01: :class:`PublicIPPrefixesOperations` + * 2021-02-01: :class:`PublicIPPrefixesOperations` """ api_version = self._get_api_version('public_ip_prefixes') if api_version == '2018-07-01': @@ -5127,6 +5341,8 @@ def public_ip_prefixes(self): from .v2020_08_01.operations import PublicIPPrefixesOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import PublicIPPrefixesOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import PublicIPPrefixesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'public_ip_prefixes'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -5150,6 +5366,7 @@ def resource_navigation_links(self): * 2020-07-01: :class:`ResourceNavigationLinksOperations` * 2020-08-01: :class:`ResourceNavigationLinksOperations` * 2020-11-01: :class:`ResourceNavigationLinksOperations` + * 2021-02-01: :class:`ResourceNavigationLinksOperations` """ api_version = self._get_api_version('resource_navigation_links') if api_version == '2019-02-01': @@ -5182,6 +5399,8 @@ def resource_navigation_links(self): from .v2020_08_01.operations import ResourceNavigationLinksOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import ResourceNavigationLinksOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import ResourceNavigationLinksOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'resource_navigation_links'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -5221,6 +5440,7 @@ def route_filter_rules(self): * 2020-07-01: :class:`RouteFilterRulesOperations` * 2020-08-01: :class:`RouteFilterRulesOperations` * 2020-11-01: :class:`RouteFilterRulesOperations` + * 2021-02-01: :class:`RouteFilterRulesOperations` """ api_version = self._get_api_version('route_filter_rules') if api_version == '2016-12-01': @@ -5285,6 +5505,8 @@ def route_filter_rules(self): from .v2020_08_01.operations import RouteFilterRulesOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import RouteFilterRulesOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import RouteFilterRulesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'route_filter_rules'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -5324,6 +5546,7 @@ def route_filters(self): * 2020-07-01: :class:`RouteFiltersOperations` * 2020-08-01: :class:`RouteFiltersOperations` * 2020-11-01: :class:`RouteFiltersOperations` + * 2021-02-01: :class:`RouteFiltersOperations` """ api_version = self._get_api_version('route_filters') if api_version == '2016-12-01': @@ -5388,6 +5611,8 @@ def route_filters(self): from .v2020_08_01.operations import RouteFiltersOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import RouteFiltersOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import RouteFiltersOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'route_filters'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -5429,6 +5654,7 @@ def route_tables(self): * 2020-07-01: :class:`RouteTablesOperations` * 2020-08-01: :class:`RouteTablesOperations` * 2020-11-01: :class:`RouteTablesOperations` + * 2021-02-01: :class:`RouteTablesOperations` """ api_version = self._get_api_version('route_tables') if api_version == '2015-06-15': @@ -5497,6 +5723,8 @@ def route_tables(self): from .v2020_08_01.operations import RouteTablesOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import RouteTablesOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import RouteTablesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'route_tables'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -5538,6 +5766,7 @@ def routes(self): * 2020-07-01: :class:`RoutesOperations` * 2020-08-01: :class:`RoutesOperations` * 2020-11-01: :class:`RoutesOperations` + * 2021-02-01: :class:`RoutesOperations` """ api_version = self._get_api_version('routes') if api_version == '2015-06-15': @@ -5606,6 +5835,8 @@ def routes(self): from .v2020_08_01.operations import RoutesOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import RoutesOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import RoutesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'routes'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -5621,6 +5852,7 @@ def security_partner_providers(self): * 2020-07-01: :class:`SecurityPartnerProvidersOperations` * 2020-08-01: :class:`SecurityPartnerProvidersOperations` * 2020-11-01: :class:`SecurityPartnerProvidersOperations` + * 2021-02-01: :class:`SecurityPartnerProvidersOperations` """ api_version = self._get_api_version('security_partner_providers') if api_version == '2020-03-01': @@ -5637,6 +5869,8 @@ def security_partner_providers(self): from .v2020_08_01.operations import SecurityPartnerProvidersOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import SecurityPartnerProvidersOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import SecurityPartnerProvidersOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'security_partner_providers'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -5678,6 +5912,7 @@ def security_rules(self): * 2020-07-01: :class:`SecurityRulesOperations` * 2020-08-01: :class:`SecurityRulesOperations` * 2020-11-01: :class:`SecurityRulesOperations` + * 2021-02-01: :class:`SecurityRulesOperations` """ api_version = self._get_api_version('security_rules') if api_version == '2015-06-15': @@ -5746,6 +5981,8 @@ def security_rules(self): from .v2020_08_01.operations import SecurityRulesOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import SecurityRulesOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import SecurityRulesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'security_rules'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -5769,6 +6006,7 @@ def service_association_links(self): * 2020-07-01: :class:`ServiceAssociationLinksOperations` * 2020-08-01: :class:`ServiceAssociationLinksOperations` * 2020-11-01: :class:`ServiceAssociationLinksOperations` + * 2021-02-01: :class:`ServiceAssociationLinksOperations` """ api_version = self._get_api_version('service_association_links') if api_version == '2019-02-01': @@ -5801,6 +6039,8 @@ def service_association_links(self): from .v2020_08_01.operations import ServiceAssociationLinksOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import ServiceAssociationLinksOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import ServiceAssociationLinksOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'service_association_links'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -5829,6 +6069,7 @@ def service_endpoint_policies(self): * 2020-07-01: :class:`ServiceEndpointPoliciesOperations` * 2020-08-01: :class:`ServiceEndpointPoliciesOperations` * 2020-11-01: :class:`ServiceEndpointPoliciesOperations` + * 2021-02-01: :class:`ServiceEndpointPoliciesOperations` """ api_version = self._get_api_version('service_endpoint_policies') if api_version == '2018-07-01': @@ -5871,6 +6112,8 @@ def service_endpoint_policies(self): from .v2020_08_01.operations import ServiceEndpointPoliciesOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import ServiceEndpointPoliciesOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import ServiceEndpointPoliciesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'service_endpoint_policies'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -5899,6 +6142,7 @@ def service_endpoint_policy_definitions(self): * 2020-07-01: :class:`ServiceEndpointPolicyDefinitionsOperations` * 2020-08-01: :class:`ServiceEndpointPolicyDefinitionsOperations` * 2020-11-01: :class:`ServiceEndpointPolicyDefinitionsOperations` + * 2021-02-01: :class:`ServiceEndpointPolicyDefinitionsOperations` """ api_version = self._get_api_version('service_endpoint_policy_definitions') if api_version == '2018-07-01': @@ -5941,6 +6185,8 @@ def service_endpoint_policy_definitions(self): from .v2020_08_01.operations import ServiceEndpointPolicyDefinitionsOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import ServiceEndpointPolicyDefinitionsOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import ServiceEndpointPolicyDefinitionsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'service_endpoint_policy_definitions'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -5963,6 +6209,7 @@ def service_tags(self): * 2020-07-01: :class:`ServiceTagsOperations` * 2020-08-01: :class:`ServiceTagsOperations` * 2020-11-01: :class:`ServiceTagsOperations` + * 2021-02-01: :class:`ServiceTagsOperations` """ api_version = self._get_api_version('service_tags') if api_version == '2019-04-01': @@ -5993,6 +6240,8 @@ def service_tags(self): from .v2020_08_01.operations import ServiceTagsOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import ServiceTagsOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import ServiceTagsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'service_tags'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -6034,6 +6283,7 @@ def subnets(self): * 2020-07-01: :class:`SubnetsOperations` * 2020-08-01: :class:`SubnetsOperations` * 2020-11-01: :class:`SubnetsOperations` + * 2021-02-01: :class:`SubnetsOperations` """ api_version = self._get_api_version('subnets') if api_version == '2015-06-15': @@ -6102,6 +6352,8 @@ def subnets(self): from .v2020_08_01.operations import SubnetsOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import SubnetsOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import SubnetsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'subnets'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -6143,6 +6395,7 @@ def usages(self): * 2020-07-01: :class:`UsagesOperations` * 2020-08-01: :class:`UsagesOperations` * 2020-11-01: :class:`UsagesOperations` + * 2021-02-01: :class:`UsagesOperations` """ api_version = self._get_api_version('usages') if api_version == '2015-06-15': @@ -6211,6 +6464,8 @@ def usages(self): from .v2020_08_01.operations import UsagesOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import UsagesOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import UsagesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'usages'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -6224,6 +6479,7 @@ def virtual_appliance_sites(self): * 2020-07-01: :class:`VirtualApplianceSitesOperations` * 2020-08-01: :class:`VirtualApplianceSitesOperations` * 2020-11-01: :class:`VirtualApplianceSitesOperations` + * 2021-02-01: :class:`VirtualApplianceSitesOperations` """ api_version = self._get_api_version('virtual_appliance_sites') if api_version == '2020-05-01': @@ -6236,6 +6492,8 @@ def virtual_appliance_sites(self): from .v2020_08_01.operations import VirtualApplianceSitesOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import VirtualApplianceSitesOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import VirtualApplianceSitesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'virtual_appliance_sites'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -6249,6 +6507,7 @@ def virtual_appliance_skus(self): * 2020-07-01: :class:`VirtualApplianceSkusOperations` * 2020-08-01: :class:`VirtualApplianceSkusOperations` * 2020-11-01: :class:`VirtualApplianceSkusOperations` + * 2021-02-01: :class:`VirtualApplianceSkusOperations` """ api_version = self._get_api_version('virtual_appliance_skus') if api_version == '2020-05-01': @@ -6261,6 +6520,8 @@ def virtual_appliance_skus(self): from .v2020_08_01.operations import VirtualApplianceSkusOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import VirtualApplianceSkusOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import VirtualApplianceSkusOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'virtual_appliance_skus'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -6274,6 +6535,7 @@ def virtual_hub_bgp_connection(self): * 2020-07-01: :class:`VirtualHubBgpConnectionOperations` * 2020-08-01: :class:`VirtualHubBgpConnectionOperations` * 2020-11-01: :class:`VirtualHubBgpConnectionOperations` + * 2021-02-01: :class:`VirtualHubBgpConnectionOperations` """ api_version = self._get_api_version('virtual_hub_bgp_connection') if api_version == '2020-05-01': @@ -6286,6 +6548,8 @@ def virtual_hub_bgp_connection(self): from .v2020_08_01.operations import VirtualHubBgpConnectionOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import VirtualHubBgpConnectionOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import VirtualHubBgpConnectionOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'virtual_hub_bgp_connection'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -6299,6 +6563,7 @@ def virtual_hub_bgp_connections(self): * 2020-07-01: :class:`VirtualHubBgpConnectionsOperations` * 2020-08-01: :class:`VirtualHubBgpConnectionsOperations` * 2020-11-01: :class:`VirtualHubBgpConnectionsOperations` + * 2021-02-01: :class:`VirtualHubBgpConnectionsOperations` """ api_version = self._get_api_version('virtual_hub_bgp_connections') if api_version == '2020-05-01': @@ -6311,6 +6576,8 @@ def virtual_hub_bgp_connections(self): from .v2020_08_01.operations import VirtualHubBgpConnectionsOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import VirtualHubBgpConnectionsOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import VirtualHubBgpConnectionsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'virtual_hub_bgp_connections'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -6324,6 +6591,7 @@ def virtual_hub_ip_configuration(self): * 2020-07-01: :class:`VirtualHubIpConfigurationOperations` * 2020-08-01: :class:`VirtualHubIpConfigurationOperations` * 2020-11-01: :class:`VirtualHubIpConfigurationOperations` + * 2021-02-01: :class:`VirtualHubIpConfigurationOperations` """ api_version = self._get_api_version('virtual_hub_ip_configuration') if api_version == '2020-05-01': @@ -6336,6 +6604,8 @@ def virtual_hub_ip_configuration(self): from .v2020_08_01.operations import VirtualHubIpConfigurationOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import VirtualHubIpConfigurationOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import VirtualHubIpConfigurationOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'virtual_hub_ip_configuration'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -6354,6 +6624,7 @@ def virtual_hub_route_table_v2_s(self): * 2020-07-01: :class:`VirtualHubRouteTableV2SOperations` * 2020-08-01: :class:`VirtualHubRouteTableV2SOperations` * 2020-11-01: :class:`VirtualHubRouteTableV2SOperations` + * 2021-02-01: :class:`VirtualHubRouteTableV2SOperations` """ api_version = self._get_api_version('virtual_hub_route_table_v2_s') if api_version == '2019-09-01': @@ -6376,6 +6647,8 @@ def virtual_hub_route_table_v2_s(self): from .v2020_08_01.operations import VirtualHubRouteTableV2SOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import VirtualHubRouteTableV2SOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import VirtualHubRouteTableV2SOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'virtual_hub_route_table_v2_s'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -6406,6 +6679,7 @@ def virtual_hubs(self): * 2020-07-01: :class:`VirtualHubsOperations` * 2020-08-01: :class:`VirtualHubsOperations` * 2020-11-01: :class:`VirtualHubsOperations` + * 2021-02-01: :class:`VirtualHubsOperations` """ api_version = self._get_api_version('virtual_hubs') if api_version == '2018-04-01': @@ -6452,6 +6726,8 @@ def virtual_hubs(self): from .v2020_08_01.operations import VirtualHubsOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import VirtualHubsOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import VirtualHubsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'virtual_hubs'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -6493,6 +6769,7 @@ def virtual_network_gateway_connections(self): * 2020-07-01: :class:`VirtualNetworkGatewayConnectionsOperations` * 2020-08-01: :class:`VirtualNetworkGatewayConnectionsOperations` * 2020-11-01: :class:`VirtualNetworkGatewayConnectionsOperations` + * 2021-02-01: :class:`VirtualNetworkGatewayConnectionsOperations` """ api_version = self._get_api_version('virtual_network_gateway_connections') if api_version == '2015-06-15': @@ -6561,10 +6838,25 @@ def virtual_network_gateway_connections(self): from .v2020_08_01.operations import VirtualNetworkGatewayConnectionsOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import VirtualNetworkGatewayConnectionsOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import VirtualNetworkGatewayConnectionsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'virtual_network_gateway_connections'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) + @property + def virtual_network_gateway_nat_rules(self): + """Instance depends on the API version: + + * 2021-02-01: :class:`VirtualNetworkGatewayNatRulesOperations` + """ + api_version = self._get_api_version('virtual_network_gateway_nat_rules') + if api_version == '2021-02-01': + from .v2021_02_01.operations import VirtualNetworkGatewayNatRulesOperations as OperationClass + else: + raise ValueError("API version {} does not have operation group 'virtual_network_gateway_nat_rules'".format(api_version)) + return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) + @property def virtual_network_gateways(self): """Instance depends on the API version: @@ -6602,6 +6894,7 @@ def virtual_network_gateways(self): * 2020-07-01: :class:`VirtualNetworkGatewaysOperations` * 2020-08-01: :class:`VirtualNetworkGatewaysOperations` * 2020-11-01: :class:`VirtualNetworkGatewaysOperations` + * 2021-02-01: :class:`VirtualNetworkGatewaysOperations` """ api_version = self._get_api_version('virtual_network_gateways') if api_version == '2015-06-15': @@ -6670,6 +6963,8 @@ def virtual_network_gateways(self): from .v2020_08_01.operations import VirtualNetworkGatewaysOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import VirtualNetworkGatewaysOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import VirtualNetworkGatewaysOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'virtual_network_gateways'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -6710,6 +7005,7 @@ def virtual_network_peerings(self): * 2020-07-01: :class:`VirtualNetworkPeeringsOperations` * 2020-08-01: :class:`VirtualNetworkPeeringsOperations` * 2020-11-01: :class:`VirtualNetworkPeeringsOperations` + * 2021-02-01: :class:`VirtualNetworkPeeringsOperations` """ api_version = self._get_api_version('virtual_network_peerings') if api_version == '2016-09-01': @@ -6776,6 +7072,8 @@ def virtual_network_peerings(self): from .v2020_08_01.operations import VirtualNetworkPeeringsOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import VirtualNetworkPeeringsOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import VirtualNetworkPeeringsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'virtual_network_peerings'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -6803,6 +7101,7 @@ def virtual_network_taps(self): * 2020-07-01: :class:`VirtualNetworkTapsOperations` * 2020-08-01: :class:`VirtualNetworkTapsOperations` * 2020-11-01: :class:`VirtualNetworkTapsOperations` + * 2021-02-01: :class:`VirtualNetworkTapsOperations` """ api_version = self._get_api_version('virtual_network_taps') if api_version == '2018-08-01': @@ -6843,6 +7142,8 @@ def virtual_network_taps(self): from .v2020_08_01.operations import VirtualNetworkTapsOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import VirtualNetworkTapsOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import VirtualNetworkTapsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'virtual_network_taps'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -6884,6 +7185,7 @@ def virtual_networks(self): * 2020-07-01: :class:`VirtualNetworksOperations` * 2020-08-01: :class:`VirtualNetworksOperations` * 2020-11-01: :class:`VirtualNetworksOperations` + * 2021-02-01: :class:`VirtualNetworksOperations` """ api_version = self._get_api_version('virtual_networks') if api_version == '2015-06-15': @@ -6952,6 +7254,8 @@ def virtual_networks(self): from .v2020_08_01.operations import VirtualNetworksOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import VirtualNetworksOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import VirtualNetworksOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'virtual_networks'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -6972,6 +7276,7 @@ def virtual_router_peerings(self): * 2020-07-01: :class:`VirtualRouterPeeringsOperations` * 2020-08-01: :class:`VirtualRouterPeeringsOperations` * 2020-11-01: :class:`VirtualRouterPeeringsOperations` + * 2021-02-01: :class:`VirtualRouterPeeringsOperations` """ api_version = self._get_api_version('virtual_router_peerings') if api_version == '2019-07-01': @@ -6998,6 +7303,8 @@ def virtual_router_peerings(self): from .v2020_08_01.operations import VirtualRouterPeeringsOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import VirtualRouterPeeringsOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import VirtualRouterPeeringsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'virtual_router_peerings'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -7018,6 +7325,7 @@ def virtual_routers(self): * 2020-07-01: :class:`VirtualRoutersOperations` * 2020-08-01: :class:`VirtualRoutersOperations` * 2020-11-01: :class:`VirtualRoutersOperations` + * 2021-02-01: :class:`VirtualRoutersOperations` """ api_version = self._get_api_version('virtual_routers') if api_version == '2019-07-01': @@ -7044,6 +7352,8 @@ def virtual_routers(self): from .v2020_08_01.operations import VirtualRoutersOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import VirtualRoutersOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import VirtualRoutersOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'virtual_routers'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -7074,6 +7384,7 @@ def virtual_wans(self): * 2020-07-01: :class:`VirtualWansOperations` * 2020-08-01: :class:`VirtualWansOperations` * 2020-11-01: :class:`VirtualWansOperations` + * 2021-02-01: :class:`VirtualWansOperations` """ api_version = self._get_api_version('virtual_wans') if api_version == '2018-04-01': @@ -7120,6 +7431,8 @@ def virtual_wans(self): from .v2020_08_01.operations import VirtualWansOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import VirtualWansOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import VirtualWansOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'virtual_wans'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -7150,6 +7463,7 @@ def vpn_connections(self): * 2020-07-01: :class:`VpnConnectionsOperations` * 2020-08-01: :class:`VpnConnectionsOperations` * 2020-11-01: :class:`VpnConnectionsOperations` + * 2021-02-01: :class:`VpnConnectionsOperations` """ api_version = self._get_api_version('vpn_connections') if api_version == '2018-04-01': @@ -7196,6 +7510,8 @@ def vpn_connections(self): from .v2020_08_01.operations import VpnConnectionsOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import VpnConnectionsOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import VpnConnectionsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'vpn_connections'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -7226,6 +7542,7 @@ def vpn_gateways(self): * 2020-07-01: :class:`VpnGatewaysOperations` * 2020-08-01: :class:`VpnGatewaysOperations` * 2020-11-01: :class:`VpnGatewaysOperations` + * 2021-02-01: :class:`VpnGatewaysOperations` """ api_version = self._get_api_version('vpn_gateways') if api_version == '2018-04-01': @@ -7272,6 +7589,8 @@ def vpn_gateways(self): from .v2020_08_01.operations import VpnGatewaysOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import VpnGatewaysOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import VpnGatewaysOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'vpn_gateways'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -7293,6 +7612,7 @@ def vpn_link_connections(self): * 2020-07-01: :class:`VpnLinkConnectionsOperations` * 2020-08-01: :class:`VpnLinkConnectionsOperations` * 2020-11-01: :class:`VpnLinkConnectionsOperations` + * 2021-02-01: :class:`VpnLinkConnectionsOperations` """ api_version = self._get_api_version('vpn_link_connections') if api_version == '2019-06-01': @@ -7321,6 +7641,8 @@ def vpn_link_connections(self): from .v2020_08_01.operations import VpnLinkConnectionsOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import VpnLinkConnectionsOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import VpnLinkConnectionsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'vpn_link_connections'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -7340,6 +7662,7 @@ def vpn_server_configurations(self): * 2020-07-01: :class:`VpnServerConfigurationsOperations` * 2020-08-01: :class:`VpnServerConfigurationsOperations` * 2020-11-01: :class:`VpnServerConfigurationsOperations` + * 2021-02-01: :class:`VpnServerConfigurationsOperations` """ api_version = self._get_api_version('vpn_server_configurations') if api_version == '2019-08-01': @@ -7364,6 +7687,8 @@ def vpn_server_configurations(self): from .v2020_08_01.operations import VpnServerConfigurationsOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import VpnServerConfigurationsOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import VpnServerConfigurationsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'vpn_server_configurations'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -7383,6 +7708,7 @@ def vpn_server_configurations_associated_with_virtual_wan(self): * 2020-07-01: :class:`VpnServerConfigurationsAssociatedWithVirtualWanOperations` * 2020-08-01: :class:`VpnServerConfigurationsAssociatedWithVirtualWanOperations` * 2020-11-01: :class:`VpnServerConfigurationsAssociatedWithVirtualWanOperations` + * 2021-02-01: :class:`VpnServerConfigurationsAssociatedWithVirtualWanOperations` """ api_version = self._get_api_version('vpn_server_configurations_associated_with_virtual_wan') if api_version == '2019-08-01': @@ -7407,6 +7733,8 @@ def vpn_server_configurations_associated_with_virtual_wan(self): from .v2020_08_01.operations import VpnServerConfigurationsAssociatedWithVirtualWanOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import VpnServerConfigurationsAssociatedWithVirtualWanOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import VpnServerConfigurationsAssociatedWithVirtualWanOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'vpn_server_configurations_associated_with_virtual_wan'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -7428,6 +7756,7 @@ def vpn_site_link_connections(self): * 2020-07-01: :class:`VpnSiteLinkConnectionsOperations` * 2020-08-01: :class:`VpnSiteLinkConnectionsOperations` * 2020-11-01: :class:`VpnSiteLinkConnectionsOperations` + * 2021-02-01: :class:`VpnSiteLinkConnectionsOperations` """ api_version = self._get_api_version('vpn_site_link_connections') if api_version == '2019-06-01': @@ -7456,6 +7785,8 @@ def vpn_site_link_connections(self): from .v2020_08_01.operations import VpnSiteLinkConnectionsOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import VpnSiteLinkConnectionsOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import VpnSiteLinkConnectionsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'vpn_site_link_connections'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -7477,6 +7808,7 @@ def vpn_site_links(self): * 2020-07-01: :class:`VpnSiteLinksOperations` * 2020-08-01: :class:`VpnSiteLinksOperations` * 2020-11-01: :class:`VpnSiteLinksOperations` + * 2021-02-01: :class:`VpnSiteLinksOperations` """ api_version = self._get_api_version('vpn_site_links') if api_version == '2019-06-01': @@ -7505,6 +7837,8 @@ def vpn_site_links(self): from .v2020_08_01.operations import VpnSiteLinksOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import VpnSiteLinksOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import VpnSiteLinksOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'vpn_site_links'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -7535,6 +7869,7 @@ def vpn_sites(self): * 2020-07-01: :class:`VpnSitesOperations` * 2020-08-01: :class:`VpnSitesOperations` * 2020-11-01: :class:`VpnSitesOperations` + * 2021-02-01: :class:`VpnSitesOperations` """ api_version = self._get_api_version('vpn_sites') if api_version == '2018-04-01': @@ -7581,6 +7916,8 @@ def vpn_sites(self): from .v2020_08_01.operations import VpnSitesOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import VpnSitesOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import VpnSitesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'vpn_sites'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -7611,6 +7948,7 @@ def vpn_sites_configuration(self): * 2020-07-01: :class:`VpnSitesConfigurationOperations` * 2020-08-01: :class:`VpnSitesConfigurationOperations` * 2020-11-01: :class:`VpnSitesConfigurationOperations` + * 2021-02-01: :class:`VpnSitesConfigurationOperations` """ api_version = self._get_api_version('vpn_sites_configuration') if api_version == '2018-04-01': @@ -7657,6 +7995,8 @@ def vpn_sites_configuration(self): from .v2020_08_01.operations import VpnSitesConfigurationOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import VpnSitesConfigurationOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import VpnSitesConfigurationOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'vpn_sites_configuration'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -7681,6 +8021,7 @@ def web_application_firewall_policies(self): * 2020-07-01: :class:`WebApplicationFirewallPoliciesOperations` * 2020-08-01: :class:`WebApplicationFirewallPoliciesOperations` * 2020-11-01: :class:`WebApplicationFirewallPoliciesOperations` + * 2021-02-01: :class:`WebApplicationFirewallPoliciesOperations` """ api_version = self._get_api_version('web_application_firewall_policies') if api_version == '2018-12-01': @@ -7715,6 +8056,8 @@ def web_application_firewall_policies(self): from .v2020_08_01.operations import WebApplicationFirewallPoliciesOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import WebApplicationFirewallPoliciesOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import WebApplicationFirewallPoliciesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'web_application_firewall_policies'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -7726,6 +8069,7 @@ def web_categories(self): * 2020-07-01: :class:`WebCategoriesOperations` * 2020-08-01: :class:`WebCategoriesOperations` * 2020-11-01: :class:`WebCategoriesOperations` + * 2021-02-01: :class:`WebCategoriesOperations` """ api_version = self._get_api_version('web_categories') if api_version == '2020-07-01': @@ -7734,6 +8078,8 @@ def web_categories(self): from .v2020_08_01.operations import WebCategoriesOperations as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import WebCategoriesOperations as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import WebCategoriesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'web_categories'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/_operations_mixin.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/_operations_mixin.py index d2094187986a..0e068d4da3a3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/_operations_mixin.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/_operations_mixin.py @@ -41,11 +41,11 @@ def begin_delete_bastion_shareable_link( :param bastion_host_name: The name of the Bastion Host. :type bastion_host_name: str :param bsl_request: Post request for all the Bastion Shareable Link endpoints. - :type bsl_request: ~azure.mgmt.network.v2020_11_01.models.BastionShareableLinkListRequest + :type bsl_request: ~azure.mgmt.network.v2021_02_01.models.BastionShareableLinkListRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -73,12 +73,15 @@ def begin_delete_bastion_shareable_link( from .v2020_08_01.operations import NetworkManagementClientOperationsMixin as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import NetworkManagementClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'begin_delete_bastion_shareable_link'".format(api_version)) mixin_instance = OperationClass() mixin_instance._client = self._client mixin_instance._config = self._config mixin_instance._serialize = Serializer(self._models_dict(api_version)) + mixin_instance._serialize.client_side_validation = False mixin_instance._deserialize = Deserializer(self._models_dict(api_version)) return mixin_instance.begin_delete_bastion_shareable_link(resource_group_name, bastion_host_name, bsl_request, **kwargs) @@ -99,15 +102,15 @@ def begin_generatevirtualwanvpnserverconfigurationvpnprofile( :type virtual_wan_name: str :param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation operation. - :type vpn_client_params: ~azure.mgmt.network.v2020_11_01.models.VirtualWanVpnProfileParameters + :type vpn_client_params: ~azure.mgmt.network.v2021_02_01.models.VirtualWanVpnProfileParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnProfileResponse or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_11_01.models.VpnProfileResponse] + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.VpnProfileResponse] :raises ~azure.core.exceptions.HttpResponseError: """ api_version = self._get_api_version('begin_generatevirtualwanvpnserverconfigurationvpnprofile') @@ -133,12 +136,15 @@ def begin_generatevirtualwanvpnserverconfigurationvpnprofile( from .v2020_08_01.operations import NetworkManagementClientOperationsMixin as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import NetworkManagementClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'begin_generatevirtualwanvpnserverconfigurationvpnprofile'".format(api_version)) mixin_instance = OperationClass() mixin_instance._client = self._client mixin_instance._config = self._config mixin_instance._serialize = Serializer(self._models_dict(api_version)) + mixin_instance._serialize.client_side_validation = False mixin_instance._deserialize = Deserializer(self._models_dict(api_version)) return mixin_instance.begin_generatevirtualwanvpnserverconfigurationvpnprofile(resource_group_name, virtual_wan_name, vpn_client_params, **kwargs) @@ -156,12 +162,12 @@ def begin_get_active_sessions( :type bastion_host_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns an iterator like instance of either BastionActiveSessionListResult or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_11_01.models.BastionActiveSessionListResult]] + :rtype: ~azure.core.polling.LROPoller[~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.BastionActiveSessionListResult]] :raises ~azure.core.exceptions.HttpResponseError: """ api_version = self._get_api_version('begin_get_active_sessions') @@ -185,12 +191,15 @@ def begin_get_active_sessions( from .v2020_08_01.operations import NetworkManagementClientOperationsMixin as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import NetworkManagementClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'begin_get_active_sessions'".format(api_version)) mixin_instance = OperationClass() mixin_instance._client = self._client mixin_instance._config = self._config mixin_instance._serialize = Serializer(self._models_dict(api_version)) + mixin_instance._serialize.client_side_validation = False mixin_instance._deserialize = Deserializer(self._models_dict(api_version)) return mixin_instance.begin_get_active_sessions(resource_group_name, bastion_host_name, **kwargs) @@ -208,15 +217,15 @@ def begin_put_bastion_shareable_link( :param bastion_host_name: The name of the Bastion Host. :type bastion_host_name: str :param bsl_request: Post request for all the Bastion Shareable Link endpoints. - :type bsl_request: ~azure.mgmt.network.v2020_11_01.models.BastionShareableLinkListRequest + :type bsl_request: ~azure.mgmt.network.v2021_02_01.models.BastionShareableLinkListRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns an iterator like instance of either BastionShareableLinkListResult or the result of cls(response) - :rtype: ~azure.core.polling.LROPoller[~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_11_01.models.BastionShareableLinkListResult]] + :rtype: ~azure.core.polling.LROPoller[~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.BastionShareableLinkListResult]] :raises ~azure.core.exceptions.HttpResponseError: """ api_version = self._get_api_version('begin_put_bastion_shareable_link') @@ -240,12 +249,15 @@ def begin_put_bastion_shareable_link( from .v2020_08_01.operations import NetworkManagementClientOperationsMixin as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import NetworkManagementClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'begin_put_bastion_shareable_link'".format(api_version)) mixin_instance = OperationClass() mixin_instance._client = self._client mixin_instance._config = self._config mixin_instance._serialize = Serializer(self._models_dict(api_version)) + mixin_instance._serialize.client_side_validation = False mixin_instance._deserialize = Deserializer(self._models_dict(api_version)) return mixin_instance.begin_put_bastion_shareable_link(resource_group_name, bastion_host_name, bsl_request, **kwargs) @@ -264,7 +276,7 @@ def check_dns_name_availability( :type domain_name_label: str :keyword callable cls: A custom type or function that will be passed the direct response :return: DnsNameAvailabilityResult, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_11_01.models.DnsNameAvailabilityResult + :rtype: ~azure.mgmt.network.v2021_02_01.models.DnsNameAvailabilityResult :raises: ~azure.core.exceptions.HttpResponseError """ api_version = self._get_api_version('check_dns_name_availability') @@ -334,12 +346,15 @@ def check_dns_name_availability( from .v2020_08_01.operations import NetworkManagementClientOperationsMixin as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import NetworkManagementClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'check_dns_name_availability'".format(api_version)) mixin_instance = OperationClass() mixin_instance._client = self._client mixin_instance._config = self._config mixin_instance._serialize = Serializer(self._models_dict(api_version)) + mixin_instance._serialize.client_side_validation = False mixin_instance._deserialize = Deserializer(self._models_dict(api_version)) return mixin_instance.check_dns_name_availability(location, domain_name_label, **kwargs) @@ -357,10 +372,10 @@ def disconnect_active_sessions( :param bastion_host_name: The name of the Bastion Host. :type bastion_host_name: str :param session_ids: The list of sessionids to disconnect. - :type session_ids: ~azure.mgmt.network.v2020_11_01.models.SessionIds + :type session_ids: ~azure.mgmt.network.v2021_02_01.models.SessionIds :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either BastionSessionDeleteResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_11_01.models.BastionSessionDeleteResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.BastionSessionDeleteResult] :raises: ~azure.core.exceptions.HttpResponseError """ api_version = self._get_api_version('disconnect_active_sessions') @@ -384,12 +399,15 @@ def disconnect_active_sessions( from .v2020_08_01.operations import NetworkManagementClientOperationsMixin as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import NetworkManagementClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'disconnect_active_sessions'".format(api_version)) mixin_instance = OperationClass() mixin_instance._client = self._client mixin_instance._config = self._config mixin_instance._serialize = Serializer(self._models_dict(api_version)) + mixin_instance._serialize.client_side_validation = False mixin_instance._deserialize = Deserializer(self._models_dict(api_version)) return mixin_instance.disconnect_active_sessions(resource_group_name, bastion_host_name, session_ids, **kwargs) @@ -407,10 +425,10 @@ def get_bastion_shareable_link( :param bastion_host_name: The name of the Bastion Host. :type bastion_host_name: str :param bsl_request: Post request for all the Bastion Shareable Link endpoints. - :type bsl_request: ~azure.mgmt.network.v2020_11_01.models.BastionShareableLinkListRequest + :type bsl_request: ~azure.mgmt.network.v2021_02_01.models.BastionShareableLinkListRequest :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either BastionShareableLinkListResult or the result of cls(response) - :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_11_01.models.BastionShareableLinkListResult] + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.BastionShareableLinkListResult] :raises: ~azure.core.exceptions.HttpResponseError """ api_version = self._get_api_version('get_bastion_shareable_link') @@ -434,12 +452,15 @@ def get_bastion_shareable_link( from .v2020_08_01.operations import NetworkManagementClientOperationsMixin as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import NetworkManagementClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'get_bastion_shareable_link'".format(api_version)) mixin_instance = OperationClass() mixin_instance._client = self._client mixin_instance._config = self._config mixin_instance._serialize = Serializer(self._models_dict(api_version)) + mixin_instance._serialize.client_side_validation = False mixin_instance._deserialize = Deserializer(self._models_dict(api_version)) return mixin_instance.get_bastion_shareable_link(resource_group_name, bastion_host_name, bsl_request, **kwargs) @@ -458,7 +479,7 @@ def supported_security_providers( :type virtual_wan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: VirtualWanSecurityProviders, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_11_01.models.VirtualWanSecurityProviders + :rtype: ~azure.mgmt.network.v2021_02_01.models.VirtualWanSecurityProviders :raises: ~azure.core.exceptions.HttpResponseError """ api_version = self._get_api_version('supported_security_providers') @@ -500,11 +521,14 @@ def supported_security_providers( from .v2020_08_01.operations import NetworkManagementClientOperationsMixin as OperationClass elif api_version == '2020-11-01': from .v2020_11_01.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2021-02-01': + from .v2021_02_01.operations import NetworkManagementClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'supported_security_providers'".format(api_version)) mixin_instance = OperationClass() mixin_instance._client = self._client mixin_instance._config = self._config mixin_instance._serialize = Serializer(self._models_dict(api_version)) + mixin_instance._serialize.client_side_validation = False mixin_instance._deserialize = Deserializer(self._models_dict(api_version)) return mixin_instance.supported_security_providers(resource_group_name, virtual_wan_name, **kwargs) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/_version.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/_version.py index fd82a0d1274f..fb7288a742cb 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/_version.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/_version.py @@ -5,4 +5,4 @@ # license information. # -------------------------------------------------------------------------- -VERSION = "18.0.0" +VERSION = "19.0.0" diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/aio/_configuration.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/aio/_configuration.py index 505a1d6d097d..ac11003ef1cd 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/aio/_configuration.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/aio/_configuration.py @@ -8,7 +8,7 @@ # Changes may cause incorrect behavior and will be lost if the code is # regenerated. # -------------------------------------------------------------------------- -from typing import Any +from typing import Any, TYPE_CHECKING from azure.core.configuration import Configuration from azure.core.pipeline import policies @@ -16,6 +16,9 @@ from .._version import VERSION +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from azure.core.credentials_async import AsyncTokenCredential class NetworkManagementClientConfiguration(Configuration): """Configuration for NetworkManagementClient. @@ -31,8 +34,8 @@ class NetworkManagementClientConfiguration(Configuration): def __init__( self, - credential, # type: "AsyncTokenCredential" - subscription_id, # type: str + credential: "AsyncTokenCredential", + subscription_id: str, **kwargs # type: Any ) -> None: if credential is None: diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/aio/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/aio/_network_management_client.py index 34ba2bb95795..a7064265bb02 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/aio/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/aio/_network_management_client.py @@ -9,13 +9,21 @@ # regenerated. # -------------------------------------------------------------------------- -from azure.mgmt.core import AsyncARMPipelineClient -from msrest import Serializer, Deserializer +from typing import Any, Optional, TYPE_CHECKING +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core import AsyncARMPipelineClient from azure.profiles import KnownProfiles, ProfileDefinition from azure.profiles.multiapiclient import MultiApiClientMixin +from msrest import Deserializer, Serializer + from ._configuration import NetworkManagementClientConfiguration from ._operations_mixin import NetworkManagementClientOperationsMixin + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from azure.core.credentials_async import AsyncTokenCredential + class _SDKClient(object): def __init__(self, *args, **kwargs): """This is a fake class to support current implemetation of MultiApiClientMixin." @@ -38,15 +46,16 @@ class NetworkManagementClient(NetworkManagementClientOperationsMixin, MultiApiCl :type credential: ~azure.core.credentials_async.AsyncTokenCredential :param subscription_id: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. :type subscription_id: str - :param str api_version: API version to use if no profile is provided, or if - missing in profile. - :param str base_url: Service URL + :param api_version: API version to use if no profile is provided, or if missing in profile. + :type api_version: str + :param base_url: Service URL + :type base_url: str :param profile: A profile definition, from KnownProfiles to dict. :type profile: azure.profiles.KnownProfiles :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. """ - DEFAULT_API_VERSION = '2020-11-01' + DEFAULT_API_VERSION = '2021-02-01' _PROFILE_TAG = "azure.mgmt.network.NetworkManagementClient" LATEST_PROFILE = ProfileDefinition({ _PROFILE_TAG: { @@ -60,11 +69,11 @@ class NetworkManagementClient(NetworkManagementClientOperationsMixin, MultiApiCl def __init__( self, - credential, # type: "AsyncTokenCredential" - subscription_id, # type: str - api_version=None, - base_url=None, - profile=KnownProfiles.default, + credential: "AsyncTokenCredential", + subscription_id: str, + api_version: Optional[str] = None, + base_url: Optional[str] = None, + profile: KnownProfiles = KnownProfiles.default, **kwargs # type: Any ) -> None: if not base_url: @@ -117,6 +126,7 @@ def models(cls, api_version=DEFAULT_API_VERSION): * 2020-07-01: :mod:`v2020_07_01.models` * 2020-08-01: :mod:`v2020_08_01.models` * 2020-11-01: :mod:`v2020_11_01.models` + * 2021-02-01: :mod:`v2021_02_01.models` """ if api_version == '2015-06-15': from ..v2015_06_15 import models @@ -217,6 +227,9 @@ def models(cls, api_version=DEFAULT_API_VERSION): elif api_version == '2020-11-01': from ..v2020_11_01 import models return models + elif api_version == '2021-02-01': + from ..v2021_02_01 import models + return models raise ValueError("API version {} is not available".format(api_version)) @property @@ -228,6 +241,7 @@ def application_gateway_private_endpoint_connections(self): * 2020-07-01: :class:`ApplicationGatewayPrivateEndpointConnectionsOperations` * 2020-08-01: :class:`ApplicationGatewayPrivateEndpointConnectionsOperations` * 2020-11-01: :class:`ApplicationGatewayPrivateEndpointConnectionsOperations` + * 2021-02-01: :class:`ApplicationGatewayPrivateEndpointConnectionsOperations` """ api_version = self._get_api_version('application_gateway_private_endpoint_connections') if api_version == '2020-05-01': @@ -240,6 +254,8 @@ def application_gateway_private_endpoint_connections(self): from ..v2020_08_01.aio.operations import ApplicationGatewayPrivateEndpointConnectionsOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import ApplicationGatewayPrivateEndpointConnectionsOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import ApplicationGatewayPrivateEndpointConnectionsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'application_gateway_private_endpoint_connections'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -253,6 +269,7 @@ def application_gateway_private_link_resources(self): * 2020-07-01: :class:`ApplicationGatewayPrivateLinkResourcesOperations` * 2020-08-01: :class:`ApplicationGatewayPrivateLinkResourcesOperations` * 2020-11-01: :class:`ApplicationGatewayPrivateLinkResourcesOperations` + * 2021-02-01: :class:`ApplicationGatewayPrivateLinkResourcesOperations` """ api_version = self._get_api_version('application_gateway_private_link_resources') if api_version == '2020-05-01': @@ -265,6 +282,8 @@ def application_gateway_private_link_resources(self): from ..v2020_08_01.aio.operations import ApplicationGatewayPrivateLinkResourcesOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import ApplicationGatewayPrivateLinkResourcesOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import ApplicationGatewayPrivateLinkResourcesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'application_gateway_private_link_resources'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -306,6 +325,7 @@ def application_gateways(self): * 2020-07-01: :class:`ApplicationGatewaysOperations` * 2020-08-01: :class:`ApplicationGatewaysOperations` * 2020-11-01: :class:`ApplicationGatewaysOperations` + * 2021-02-01: :class:`ApplicationGatewaysOperations` """ api_version = self._get_api_version('application_gateways') if api_version == '2015-06-15': @@ -374,6 +394,8 @@ def application_gateways(self): from ..v2020_08_01.aio.operations import ApplicationGatewaysOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import ApplicationGatewaysOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import ApplicationGatewaysOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'application_gateways'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -409,6 +431,7 @@ def application_security_groups(self): * 2020-07-01: :class:`ApplicationSecurityGroupsOperations` * 2020-08-01: :class:`ApplicationSecurityGroupsOperations` * 2020-11-01: :class:`ApplicationSecurityGroupsOperations` + * 2021-02-01: :class:`ApplicationSecurityGroupsOperations` """ api_version = self._get_api_version('application_security_groups') if api_version == '2017-09-01': @@ -465,6 +488,8 @@ def application_security_groups(self): from ..v2020_08_01.aio.operations import ApplicationSecurityGroupsOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import ApplicationSecurityGroupsOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import ApplicationSecurityGroupsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'application_security_groups'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -492,6 +517,7 @@ def available_delegations(self): * 2020-07-01: :class:`AvailableDelegationsOperations` * 2020-08-01: :class:`AvailableDelegationsOperations` * 2020-11-01: :class:`AvailableDelegationsOperations` + * 2021-02-01: :class:`AvailableDelegationsOperations` """ api_version = self._get_api_version('available_delegations') if api_version == '2018-08-01': @@ -532,6 +558,8 @@ def available_delegations(self): from ..v2020_08_01.aio.operations import AvailableDelegationsOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import AvailableDelegationsOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import AvailableDelegationsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'available_delegations'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -569,6 +597,7 @@ def available_endpoint_services(self): * 2020-07-01: :class:`AvailableEndpointServicesOperations` * 2020-08-01: :class:`AvailableEndpointServicesOperations` * 2020-11-01: :class:`AvailableEndpointServicesOperations` + * 2021-02-01: :class:`AvailableEndpointServicesOperations` """ api_version = self._get_api_version('available_endpoint_services') if api_version == '2017-06-01': @@ -629,6 +658,8 @@ def available_endpoint_services(self): from ..v2020_08_01.aio.operations import AvailableEndpointServicesOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import AvailableEndpointServicesOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import AvailableEndpointServicesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'available_endpoint_services'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -651,6 +682,7 @@ def available_private_endpoint_types(self): * 2020-07-01: :class:`AvailablePrivateEndpointTypesOperations` * 2020-08-01: :class:`AvailablePrivateEndpointTypesOperations` * 2020-11-01: :class:`AvailablePrivateEndpointTypesOperations` + * 2021-02-01: :class:`AvailablePrivateEndpointTypesOperations` """ api_version = self._get_api_version('available_private_endpoint_types') if api_version == '2019-04-01': @@ -681,6 +713,8 @@ def available_private_endpoint_types(self): from ..v2020_08_01.aio.operations import AvailablePrivateEndpointTypesOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import AvailablePrivateEndpointTypesOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import AvailablePrivateEndpointTypesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'available_private_endpoint_types'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -708,6 +742,7 @@ def available_resource_group_delegations(self): * 2020-07-01: :class:`AvailableResourceGroupDelegationsOperations` * 2020-08-01: :class:`AvailableResourceGroupDelegationsOperations` * 2020-11-01: :class:`AvailableResourceGroupDelegationsOperations` + * 2021-02-01: :class:`AvailableResourceGroupDelegationsOperations` """ api_version = self._get_api_version('available_resource_group_delegations') if api_version == '2018-08-01': @@ -748,6 +783,8 @@ def available_resource_group_delegations(self): from ..v2020_08_01.aio.operations import AvailableResourceGroupDelegationsOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import AvailableResourceGroupDelegationsOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import AvailableResourceGroupDelegationsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'available_resource_group_delegations'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -767,6 +804,7 @@ def available_service_aliases(self): * 2020-07-01: :class:`AvailableServiceAliasesOperations` * 2020-08-01: :class:`AvailableServiceAliasesOperations` * 2020-11-01: :class:`AvailableServiceAliasesOperations` + * 2021-02-01: :class:`AvailableServiceAliasesOperations` """ api_version = self._get_api_version('available_service_aliases') if api_version == '2019-08-01': @@ -791,6 +829,8 @@ def available_service_aliases(self): from ..v2020_08_01.aio.operations import AvailableServiceAliasesOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import AvailableServiceAliasesOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import AvailableServiceAliasesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'available_service_aliases'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -818,6 +858,7 @@ def azure_firewall_fqdn_tags(self): * 2020-07-01: :class:`AzureFirewallFqdnTagsOperations` * 2020-08-01: :class:`AzureFirewallFqdnTagsOperations` * 2020-11-01: :class:`AzureFirewallFqdnTagsOperations` + * 2021-02-01: :class:`AzureFirewallFqdnTagsOperations` """ api_version = self._get_api_version('azure_firewall_fqdn_tags') if api_version == '2018-08-01': @@ -858,6 +899,8 @@ def azure_firewall_fqdn_tags(self): from ..v2020_08_01.aio.operations import AzureFirewallFqdnTagsOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import AzureFirewallFqdnTagsOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import AzureFirewallFqdnTagsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'azure_firewall_fqdn_tags'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -888,6 +931,7 @@ def azure_firewalls(self): * 2020-07-01: :class:`AzureFirewallsOperations` * 2020-08-01: :class:`AzureFirewallsOperations` * 2020-11-01: :class:`AzureFirewallsOperations` + * 2021-02-01: :class:`AzureFirewallsOperations` """ api_version = self._get_api_version('azure_firewalls') if api_version == '2018-04-01': @@ -934,6 +978,8 @@ def azure_firewalls(self): from ..v2020_08_01.aio.operations import AzureFirewallsOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import AzureFirewallsOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import AzureFirewallsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'azure_firewalls'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -956,6 +1002,7 @@ def bastion_hosts(self): * 2020-07-01: :class:`BastionHostsOperations` * 2020-08-01: :class:`BastionHostsOperations` * 2020-11-01: :class:`BastionHostsOperations` + * 2021-02-01: :class:`BastionHostsOperations` """ api_version = self._get_api_version('bastion_hosts') if api_version == '2019-04-01': @@ -986,6 +1033,8 @@ def bastion_hosts(self): from ..v2020_08_01.aio.operations import BastionHostsOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import BastionHostsOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import BastionHostsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'bastion_hosts'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -1025,6 +1074,7 @@ def bgp_service_communities(self): * 2020-07-01: :class:`BgpServiceCommunitiesOperations` * 2020-08-01: :class:`BgpServiceCommunitiesOperations` * 2020-11-01: :class:`BgpServiceCommunitiesOperations` + * 2021-02-01: :class:`BgpServiceCommunitiesOperations` """ api_version = self._get_api_version('bgp_service_communities') if api_version == '2016-12-01': @@ -1089,6 +1139,8 @@ def bgp_service_communities(self): from ..v2020_08_01.aio.operations import BgpServiceCommunitiesOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import BgpServiceCommunitiesOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import BgpServiceCommunitiesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'bgp_service_communities'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -1123,6 +1175,7 @@ def connection_monitors(self): * 2020-07-01: :class:`ConnectionMonitorsOperations` * 2020-08-01: :class:`ConnectionMonitorsOperations` * 2020-11-01: :class:`ConnectionMonitorsOperations` + * 2021-02-01: :class:`ConnectionMonitorsOperations` """ api_version = self._get_api_version('connection_monitors') if api_version == '2017-10-01': @@ -1177,6 +1230,8 @@ def connection_monitors(self): from ..v2020_08_01.aio.operations import ConnectionMonitorsOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import ConnectionMonitorsOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import ConnectionMonitorsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'connection_monitors'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -1189,6 +1244,7 @@ def custom_ip_prefixes(self): * 2020-07-01: :class:`CustomIPPrefixesOperations` * 2020-08-01: :class:`CustomIPPrefixesOperations` * 2020-11-01: :class:`CustomIPPrefixesOperations` + * 2021-02-01: :class:`CustomIPPrefixesOperations` """ api_version = self._get_api_version('custom_ip_prefixes') if api_version == '2020-06-01': @@ -1199,6 +1255,8 @@ def custom_ip_prefixes(self): from ..v2020_08_01.aio.operations import CustomIPPrefixesOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import CustomIPPrefixesOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import CustomIPPrefixesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'custom_ip_prefixes'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -1224,6 +1282,7 @@ def ddos_custom_policies(self): * 2020-07-01: :class:`DdosCustomPoliciesOperations` * 2020-08-01: :class:`DdosCustomPoliciesOperations` * 2020-11-01: :class:`DdosCustomPoliciesOperations` + * 2021-02-01: :class:`DdosCustomPoliciesOperations` """ api_version = self._get_api_version('ddos_custom_policies') if api_version == '2018-11-01': @@ -1260,6 +1319,8 @@ def ddos_custom_policies(self): from ..v2020_08_01.aio.operations import DdosCustomPoliciesOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import DdosCustomPoliciesOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import DdosCustomPoliciesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'ddos_custom_policies'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -1291,6 +1352,7 @@ def ddos_protection_plans(self): * 2020-07-01: :class:`DdosProtectionPlansOperations` * 2020-08-01: :class:`DdosProtectionPlansOperations` * 2020-11-01: :class:`DdosProtectionPlansOperations` + * 2021-02-01: :class:`DdosProtectionPlansOperations` """ api_version = self._get_api_version('ddos_protection_plans') if api_version == '2018-02-01': @@ -1339,6 +1401,8 @@ def ddos_protection_plans(self): from ..v2020_08_01.aio.operations import DdosProtectionPlansOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import DdosProtectionPlansOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import DdosProtectionPlansOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'ddos_protection_plans'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -1376,6 +1440,7 @@ def default_security_rules(self): * 2020-07-01: :class:`DefaultSecurityRulesOperations` * 2020-08-01: :class:`DefaultSecurityRulesOperations` * 2020-11-01: :class:`DefaultSecurityRulesOperations` + * 2021-02-01: :class:`DefaultSecurityRulesOperations` """ api_version = self._get_api_version('default_security_rules') if api_version == '2017-06-01': @@ -1436,6 +1501,8 @@ def default_security_rules(self): from ..v2020_08_01.aio.operations import DefaultSecurityRulesOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import DefaultSecurityRulesOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import DefaultSecurityRulesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'default_security_rules'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -1448,6 +1515,7 @@ def dscp_configuration(self): * 2020-07-01: :class:`DscpConfigurationOperations` * 2020-08-01: :class:`DscpConfigurationOperations` * 2020-11-01: :class:`DscpConfigurationOperations` + * 2021-02-01: :class:`DscpConfigurationOperations` """ api_version = self._get_api_version('dscp_configuration') if api_version == '2020-06-01': @@ -1458,6 +1526,8 @@ def dscp_configuration(self): from ..v2020_08_01.aio.operations import DscpConfigurationOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import DscpConfigurationOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import DscpConfigurationOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'dscp_configuration'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -1499,6 +1569,7 @@ def express_route_circuit_authorizations(self): * 2020-07-01: :class:`ExpressRouteCircuitAuthorizationsOperations` * 2020-08-01: :class:`ExpressRouteCircuitAuthorizationsOperations` * 2020-11-01: :class:`ExpressRouteCircuitAuthorizationsOperations` + * 2021-02-01: :class:`ExpressRouteCircuitAuthorizationsOperations` """ api_version = self._get_api_version('express_route_circuit_authorizations') if api_version == '2015-06-15': @@ -1567,6 +1638,8 @@ def express_route_circuit_authorizations(self): from ..v2020_08_01.aio.operations import ExpressRouteCircuitAuthorizationsOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import ExpressRouteCircuitAuthorizationsOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import ExpressRouteCircuitAuthorizationsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'express_route_circuit_authorizations'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -1598,6 +1671,7 @@ def express_route_circuit_connections(self): * 2020-07-01: :class:`ExpressRouteCircuitConnectionsOperations` * 2020-08-01: :class:`ExpressRouteCircuitConnectionsOperations` * 2020-11-01: :class:`ExpressRouteCircuitConnectionsOperations` + * 2021-02-01: :class:`ExpressRouteCircuitConnectionsOperations` """ api_version = self._get_api_version('express_route_circuit_connections') if api_version == '2018-02-01': @@ -1646,6 +1720,8 @@ def express_route_circuit_connections(self): from ..v2020_08_01.aio.operations import ExpressRouteCircuitConnectionsOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import ExpressRouteCircuitConnectionsOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import ExpressRouteCircuitConnectionsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'express_route_circuit_connections'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -1687,6 +1763,7 @@ def express_route_circuit_peerings(self): * 2020-07-01: :class:`ExpressRouteCircuitPeeringsOperations` * 2020-08-01: :class:`ExpressRouteCircuitPeeringsOperations` * 2020-11-01: :class:`ExpressRouteCircuitPeeringsOperations` + * 2021-02-01: :class:`ExpressRouteCircuitPeeringsOperations` """ api_version = self._get_api_version('express_route_circuit_peerings') if api_version == '2015-06-15': @@ -1755,6 +1832,8 @@ def express_route_circuit_peerings(self): from ..v2020_08_01.aio.operations import ExpressRouteCircuitPeeringsOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import ExpressRouteCircuitPeeringsOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import ExpressRouteCircuitPeeringsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'express_route_circuit_peerings'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -1796,6 +1875,7 @@ def express_route_circuits(self): * 2020-07-01: :class:`ExpressRouteCircuitsOperations` * 2020-08-01: :class:`ExpressRouteCircuitsOperations` * 2020-11-01: :class:`ExpressRouteCircuitsOperations` + * 2021-02-01: :class:`ExpressRouteCircuitsOperations` """ api_version = self._get_api_version('express_route_circuits') if api_version == '2015-06-15': @@ -1864,6 +1944,8 @@ def express_route_circuits(self): from ..v2020_08_01.aio.operations import ExpressRouteCircuitsOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import ExpressRouteCircuitsOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import ExpressRouteCircuitsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'express_route_circuits'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -1891,6 +1973,7 @@ def express_route_connections(self): * 2020-07-01: :class:`ExpressRouteConnectionsOperations` * 2020-08-01: :class:`ExpressRouteConnectionsOperations` * 2020-11-01: :class:`ExpressRouteConnectionsOperations` + * 2021-02-01: :class:`ExpressRouteConnectionsOperations` """ api_version = self._get_api_version('express_route_connections') if api_version == '2018-08-01': @@ -1931,6 +2014,8 @@ def express_route_connections(self): from ..v2020_08_01.aio.operations import ExpressRouteConnectionsOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import ExpressRouteConnectionsOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import ExpressRouteConnectionsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'express_route_connections'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -1962,6 +2047,7 @@ def express_route_cross_connection_peerings(self): * 2020-07-01: :class:`ExpressRouteCrossConnectionPeeringsOperations` * 2020-08-01: :class:`ExpressRouteCrossConnectionPeeringsOperations` * 2020-11-01: :class:`ExpressRouteCrossConnectionPeeringsOperations` + * 2021-02-01: :class:`ExpressRouteCrossConnectionPeeringsOperations` """ api_version = self._get_api_version('express_route_cross_connection_peerings') if api_version == '2018-02-01': @@ -2010,6 +2096,8 @@ def express_route_cross_connection_peerings(self): from ..v2020_08_01.aio.operations import ExpressRouteCrossConnectionPeeringsOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import ExpressRouteCrossConnectionPeeringsOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import ExpressRouteCrossConnectionPeeringsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'express_route_cross_connection_peerings'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -2041,6 +2129,7 @@ def express_route_cross_connections(self): * 2020-07-01: :class:`ExpressRouteCrossConnectionsOperations` * 2020-08-01: :class:`ExpressRouteCrossConnectionsOperations` * 2020-11-01: :class:`ExpressRouteCrossConnectionsOperations` + * 2021-02-01: :class:`ExpressRouteCrossConnectionsOperations` """ api_version = self._get_api_version('express_route_cross_connections') if api_version == '2018-02-01': @@ -2089,6 +2178,8 @@ def express_route_cross_connections(self): from ..v2020_08_01.aio.operations import ExpressRouteCrossConnectionsOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import ExpressRouteCrossConnectionsOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import ExpressRouteCrossConnectionsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'express_route_cross_connections'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -2116,6 +2207,7 @@ def express_route_gateways(self): * 2020-07-01: :class:`ExpressRouteGatewaysOperations` * 2020-08-01: :class:`ExpressRouteGatewaysOperations` * 2020-11-01: :class:`ExpressRouteGatewaysOperations` + * 2021-02-01: :class:`ExpressRouteGatewaysOperations` """ api_version = self._get_api_version('express_route_gateways') if api_version == '2018-08-01': @@ -2156,6 +2248,8 @@ def express_route_gateways(self): from ..v2020_08_01.aio.operations import ExpressRouteGatewaysOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import ExpressRouteGatewaysOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import ExpressRouteGatewaysOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'express_route_gateways'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -2183,6 +2277,7 @@ def express_route_links(self): * 2020-07-01: :class:`ExpressRouteLinksOperations` * 2020-08-01: :class:`ExpressRouteLinksOperations` * 2020-11-01: :class:`ExpressRouteLinksOperations` + * 2021-02-01: :class:`ExpressRouteLinksOperations` """ api_version = self._get_api_version('express_route_links') if api_version == '2018-08-01': @@ -2223,6 +2318,8 @@ def express_route_links(self): from ..v2020_08_01.aio.operations import ExpressRouteLinksOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import ExpressRouteLinksOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import ExpressRouteLinksOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'express_route_links'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -2250,6 +2347,7 @@ def express_route_ports(self): * 2020-07-01: :class:`ExpressRoutePortsOperations` * 2020-08-01: :class:`ExpressRoutePortsOperations` * 2020-11-01: :class:`ExpressRoutePortsOperations` + * 2021-02-01: :class:`ExpressRoutePortsOperations` """ api_version = self._get_api_version('express_route_ports') if api_version == '2018-08-01': @@ -2290,6 +2388,8 @@ def express_route_ports(self): from ..v2020_08_01.aio.operations import ExpressRoutePortsOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import ExpressRoutePortsOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import ExpressRoutePortsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'express_route_ports'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -2317,6 +2417,7 @@ def express_route_ports_locations(self): * 2020-07-01: :class:`ExpressRoutePortsLocationsOperations` * 2020-08-01: :class:`ExpressRoutePortsLocationsOperations` * 2020-11-01: :class:`ExpressRoutePortsLocationsOperations` + * 2021-02-01: :class:`ExpressRoutePortsLocationsOperations` """ api_version = self._get_api_version('express_route_ports_locations') if api_version == '2018-08-01': @@ -2357,6 +2458,8 @@ def express_route_ports_locations(self): from ..v2020_08_01.aio.operations import ExpressRoutePortsLocationsOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import ExpressRoutePortsLocationsOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import ExpressRoutePortsLocationsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'express_route_ports_locations'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -2398,6 +2501,7 @@ def express_route_service_providers(self): * 2020-07-01: :class:`ExpressRouteServiceProvidersOperations` * 2020-08-01: :class:`ExpressRouteServiceProvidersOperations` * 2020-11-01: :class:`ExpressRouteServiceProvidersOperations` + * 2021-02-01: :class:`ExpressRouteServiceProvidersOperations` """ api_version = self._get_api_version('express_route_service_providers') if api_version == '2015-06-15': @@ -2466,6 +2570,8 @@ def express_route_service_providers(self): from ..v2020_08_01.aio.operations import ExpressRouteServiceProvidersOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import ExpressRouteServiceProvidersOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import ExpressRouteServiceProvidersOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'express_route_service_providers'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -2487,6 +2593,7 @@ def firewall_policies(self): * 2020-07-01: :class:`FirewallPoliciesOperations` * 2020-08-01: :class:`FirewallPoliciesOperations` * 2020-11-01: :class:`FirewallPoliciesOperations` + * 2021-02-01: :class:`FirewallPoliciesOperations` """ api_version = self._get_api_version('firewall_policies') if api_version == '2019-06-01': @@ -2515,6 +2622,8 @@ def firewall_policies(self): from ..v2020_08_01.aio.operations import FirewallPoliciesOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import FirewallPoliciesOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import FirewallPoliciesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'firewall_policies'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -2528,6 +2637,7 @@ def firewall_policy_rule_collection_groups(self): * 2020-07-01: :class:`FirewallPolicyRuleCollectionGroupsOperations` * 2020-08-01: :class:`FirewallPolicyRuleCollectionGroupsOperations` * 2020-11-01: :class:`FirewallPolicyRuleCollectionGroupsOperations` + * 2021-02-01: :class:`FirewallPolicyRuleCollectionGroupsOperations` """ api_version = self._get_api_version('firewall_policy_rule_collection_groups') if api_version == '2020-05-01': @@ -2540,6 +2650,8 @@ def firewall_policy_rule_collection_groups(self): from ..v2020_08_01.aio.operations import FirewallPolicyRuleCollectionGroupsOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import FirewallPolicyRuleCollectionGroupsOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import FirewallPolicyRuleCollectionGroupsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'firewall_policy_rule_collection_groups'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -2591,6 +2703,7 @@ def flow_logs(self): * 2020-07-01: :class:`FlowLogsOperations` * 2020-08-01: :class:`FlowLogsOperations` * 2020-11-01: :class:`FlowLogsOperations` + * 2021-02-01: :class:`FlowLogsOperations` """ api_version = self._get_api_version('flow_logs') if api_version == '2019-11-01': @@ -2611,6 +2724,8 @@ def flow_logs(self): from ..v2020_08_01.aio.operations import FlowLogsOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import FlowLogsOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import FlowLogsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'flow_logs'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -2625,6 +2740,7 @@ def hub_route_tables(self): * 2020-07-01: :class:`HubRouteTablesOperations` * 2020-08-01: :class:`HubRouteTablesOperations` * 2020-11-01: :class:`HubRouteTablesOperations` + * 2021-02-01: :class:`HubRouteTablesOperations` """ api_version = self._get_api_version('hub_route_tables') if api_version == '2020-04-01': @@ -2639,6 +2755,8 @@ def hub_route_tables(self): from ..v2020_08_01.aio.operations import HubRouteTablesOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import HubRouteTablesOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import HubRouteTablesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'hub_route_tables'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -2669,6 +2787,7 @@ def hub_virtual_network_connections(self): * 2020-07-01: :class:`HubVirtualNetworkConnectionsOperations` * 2020-08-01: :class:`HubVirtualNetworkConnectionsOperations` * 2020-11-01: :class:`HubVirtualNetworkConnectionsOperations` + * 2021-02-01: :class:`HubVirtualNetworkConnectionsOperations` """ api_version = self._get_api_version('hub_virtual_network_connections') if api_version == '2018-04-01': @@ -2715,6 +2834,8 @@ def hub_virtual_network_connections(self): from ..v2020_08_01.aio.operations import HubVirtualNetworkConnectionsOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import HubVirtualNetworkConnectionsOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import HubVirtualNetworkConnectionsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'hub_virtual_network_connections'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -2752,6 +2873,7 @@ def inbound_nat_rules(self): * 2020-07-01: :class:`InboundNatRulesOperations` * 2020-08-01: :class:`InboundNatRulesOperations` * 2020-11-01: :class:`InboundNatRulesOperations` + * 2021-02-01: :class:`InboundNatRulesOperations` """ api_version = self._get_api_version('inbound_nat_rules') if api_version == '2017-06-01': @@ -2812,6 +2934,8 @@ def inbound_nat_rules(self): from ..v2020_08_01.aio.operations import InboundNatRulesOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import InboundNatRulesOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import InboundNatRulesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'inbound_nat_rules'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -2824,6 +2948,7 @@ def inbound_security_rule(self): * 2020-07-01: :class:`InboundSecurityRuleOperations` * 2020-08-01: :class:`InboundSecurityRuleOperations` * 2020-11-01: :class:`InboundSecurityRuleOperations` + * 2021-02-01: :class:`InboundSecurityRuleOperations` """ api_version = self._get_api_version('inbound_security_rule') if api_version == '2020-06-01': @@ -2834,6 +2959,8 @@ def inbound_security_rule(self): from ..v2020_08_01.aio.operations import InboundSecurityRuleOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import InboundSecurityRuleOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import InboundSecurityRuleOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'inbound_security_rule'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -2874,6 +3001,7 @@ def ip_allocations(self): * 2020-07-01: :class:`IpAllocationsOperations` * 2020-08-01: :class:`IpAllocationsOperations` * 2020-11-01: :class:`IpAllocationsOperations` + * 2021-02-01: :class:`IpAllocationsOperations` """ api_version = self._get_api_version('ip_allocations') if api_version == '2020-03-01': @@ -2890,6 +3018,8 @@ def ip_allocations(self): from ..v2020_08_01.aio.operations import IpAllocationsOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import IpAllocationsOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import IpAllocationsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'ip_allocations'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -2908,6 +3038,7 @@ def ip_groups(self): * 2020-07-01: :class:`IpGroupsOperations` * 2020-08-01: :class:`IpGroupsOperations` * 2020-11-01: :class:`IpGroupsOperations` + * 2021-02-01: :class:`IpGroupsOperations` """ api_version = self._get_api_version('ip_groups') if api_version == '2019-09-01': @@ -2930,6 +3061,8 @@ def ip_groups(self): from ..v2020_08_01.aio.operations import IpGroupsOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import IpGroupsOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import IpGroupsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'ip_groups'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -2967,6 +3100,7 @@ def load_balancer_backend_address_pools(self): * 2020-07-01: :class:`LoadBalancerBackendAddressPoolsOperations` * 2020-08-01: :class:`LoadBalancerBackendAddressPoolsOperations` * 2020-11-01: :class:`LoadBalancerBackendAddressPoolsOperations` + * 2021-02-01: :class:`LoadBalancerBackendAddressPoolsOperations` """ api_version = self._get_api_version('load_balancer_backend_address_pools') if api_version == '2017-06-01': @@ -3027,6 +3161,8 @@ def load_balancer_backend_address_pools(self): from ..v2020_08_01.aio.operations import LoadBalancerBackendAddressPoolsOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import LoadBalancerBackendAddressPoolsOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import LoadBalancerBackendAddressPoolsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'load_balancer_backend_address_pools'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -3064,6 +3200,7 @@ def load_balancer_frontend_ip_configurations(self): * 2020-07-01: :class:`LoadBalancerFrontendIPConfigurationsOperations` * 2020-08-01: :class:`LoadBalancerFrontendIPConfigurationsOperations` * 2020-11-01: :class:`LoadBalancerFrontendIPConfigurationsOperations` + * 2021-02-01: :class:`LoadBalancerFrontendIPConfigurationsOperations` """ api_version = self._get_api_version('load_balancer_frontend_ip_configurations') if api_version == '2017-06-01': @@ -3124,6 +3261,8 @@ def load_balancer_frontend_ip_configurations(self): from ..v2020_08_01.aio.operations import LoadBalancerFrontendIPConfigurationsOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import LoadBalancerFrontendIPConfigurationsOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import LoadBalancerFrontendIPConfigurationsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'load_balancer_frontend_ip_configurations'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -3161,6 +3300,7 @@ def load_balancer_load_balancing_rules(self): * 2020-07-01: :class:`LoadBalancerLoadBalancingRulesOperations` * 2020-08-01: :class:`LoadBalancerLoadBalancingRulesOperations` * 2020-11-01: :class:`LoadBalancerLoadBalancingRulesOperations` + * 2021-02-01: :class:`LoadBalancerLoadBalancingRulesOperations` """ api_version = self._get_api_version('load_balancer_load_balancing_rules') if api_version == '2017-06-01': @@ -3221,6 +3361,8 @@ def load_balancer_load_balancing_rules(self): from ..v2020_08_01.aio.operations import LoadBalancerLoadBalancingRulesOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import LoadBalancerLoadBalancingRulesOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import LoadBalancerLoadBalancingRulesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'load_balancer_load_balancing_rules'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -3258,6 +3400,7 @@ def load_balancer_network_interfaces(self): * 2020-07-01: :class:`LoadBalancerNetworkInterfacesOperations` * 2020-08-01: :class:`LoadBalancerNetworkInterfacesOperations` * 2020-11-01: :class:`LoadBalancerNetworkInterfacesOperations` + * 2021-02-01: :class:`LoadBalancerNetworkInterfacesOperations` """ api_version = self._get_api_version('load_balancer_network_interfaces') if api_version == '2017-06-01': @@ -3318,6 +3461,8 @@ def load_balancer_network_interfaces(self): from ..v2020_08_01.aio.operations import LoadBalancerNetworkInterfacesOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import LoadBalancerNetworkInterfacesOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import LoadBalancerNetworkInterfacesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'load_balancer_network_interfaces'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -3345,6 +3490,7 @@ def load_balancer_outbound_rules(self): * 2020-07-01: :class:`LoadBalancerOutboundRulesOperations` * 2020-08-01: :class:`LoadBalancerOutboundRulesOperations` * 2020-11-01: :class:`LoadBalancerOutboundRulesOperations` + * 2021-02-01: :class:`LoadBalancerOutboundRulesOperations` """ api_version = self._get_api_version('load_balancer_outbound_rules') if api_version == '2018-08-01': @@ -3385,6 +3531,8 @@ def load_balancer_outbound_rules(self): from ..v2020_08_01.aio.operations import LoadBalancerOutboundRulesOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import LoadBalancerOutboundRulesOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import LoadBalancerOutboundRulesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'load_balancer_outbound_rules'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -3422,6 +3570,7 @@ def load_balancer_probes(self): * 2020-07-01: :class:`LoadBalancerProbesOperations` * 2020-08-01: :class:`LoadBalancerProbesOperations` * 2020-11-01: :class:`LoadBalancerProbesOperations` + * 2021-02-01: :class:`LoadBalancerProbesOperations` """ api_version = self._get_api_version('load_balancer_probes') if api_version == '2017-06-01': @@ -3482,6 +3631,8 @@ def load_balancer_probes(self): from ..v2020_08_01.aio.operations import LoadBalancerProbesOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import LoadBalancerProbesOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import LoadBalancerProbesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'load_balancer_probes'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -3523,6 +3674,7 @@ def load_balancers(self): * 2020-07-01: :class:`LoadBalancersOperations` * 2020-08-01: :class:`LoadBalancersOperations` * 2020-11-01: :class:`LoadBalancersOperations` + * 2021-02-01: :class:`LoadBalancersOperations` """ api_version = self._get_api_version('load_balancers') if api_version == '2015-06-15': @@ -3591,6 +3743,8 @@ def load_balancers(self): from ..v2020_08_01.aio.operations import LoadBalancersOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import LoadBalancersOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import LoadBalancersOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'load_balancers'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -3632,6 +3786,7 @@ def local_network_gateways(self): * 2020-07-01: :class:`LocalNetworkGatewaysOperations` * 2020-08-01: :class:`LocalNetworkGatewaysOperations` * 2020-11-01: :class:`LocalNetworkGatewaysOperations` + * 2021-02-01: :class:`LocalNetworkGatewaysOperations` """ api_version = self._get_api_version('local_network_gateways') if api_version == '2015-06-15': @@ -3700,6 +3855,8 @@ def local_network_gateways(self): from ..v2020_08_01.aio.operations import LocalNetworkGatewaysOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import LocalNetworkGatewaysOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import LocalNetworkGatewaysOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'local_network_gateways'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -3723,6 +3880,7 @@ def nat_gateways(self): * 2020-07-01: :class:`NatGatewaysOperations` * 2020-08-01: :class:`NatGatewaysOperations` * 2020-11-01: :class:`NatGatewaysOperations` + * 2021-02-01: :class:`NatGatewaysOperations` """ api_version = self._get_api_version('nat_gateways') if api_version == '2019-02-01': @@ -3755,6 +3913,8 @@ def nat_gateways(self): from ..v2020_08_01.aio.operations import NatGatewaysOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import NatGatewaysOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import NatGatewaysOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'nat_gateways'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -3765,12 +3925,15 @@ def nat_rules(self): * 2020-08-01: :class:`NatRulesOperations` * 2020-11-01: :class:`NatRulesOperations` + * 2021-02-01: :class:`NatRulesOperations` """ api_version = self._get_api_version('nat_rules') if api_version == '2020-08-01': from ..v2020_08_01.aio.operations import NatRulesOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import NatRulesOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import NatRulesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'nat_rules'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -3808,6 +3971,7 @@ def network_interface_ip_configurations(self): * 2020-07-01: :class:`NetworkInterfaceIPConfigurationsOperations` * 2020-08-01: :class:`NetworkInterfaceIPConfigurationsOperations` * 2020-11-01: :class:`NetworkInterfaceIPConfigurationsOperations` + * 2021-02-01: :class:`NetworkInterfaceIPConfigurationsOperations` """ api_version = self._get_api_version('network_interface_ip_configurations') if api_version == '2017-06-01': @@ -3868,6 +4032,8 @@ def network_interface_ip_configurations(self): from ..v2020_08_01.aio.operations import NetworkInterfaceIPConfigurationsOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import NetworkInterfaceIPConfigurationsOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import NetworkInterfaceIPConfigurationsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'network_interface_ip_configurations'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -3905,6 +4071,7 @@ def network_interface_load_balancers(self): * 2020-07-01: :class:`NetworkInterfaceLoadBalancersOperations` * 2020-08-01: :class:`NetworkInterfaceLoadBalancersOperations` * 2020-11-01: :class:`NetworkInterfaceLoadBalancersOperations` + * 2021-02-01: :class:`NetworkInterfaceLoadBalancersOperations` """ api_version = self._get_api_version('network_interface_load_balancers') if api_version == '2017-06-01': @@ -3965,6 +4132,8 @@ def network_interface_load_balancers(self): from ..v2020_08_01.aio.operations import NetworkInterfaceLoadBalancersOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import NetworkInterfaceLoadBalancersOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import NetworkInterfaceLoadBalancersOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'network_interface_load_balancers'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -3992,6 +4161,7 @@ def network_interface_tap_configurations(self): * 2020-07-01: :class:`NetworkInterfaceTapConfigurationsOperations` * 2020-08-01: :class:`NetworkInterfaceTapConfigurationsOperations` * 2020-11-01: :class:`NetworkInterfaceTapConfigurationsOperations` + * 2021-02-01: :class:`NetworkInterfaceTapConfigurationsOperations` """ api_version = self._get_api_version('network_interface_tap_configurations') if api_version == '2018-08-01': @@ -4032,6 +4202,8 @@ def network_interface_tap_configurations(self): from ..v2020_08_01.aio.operations import NetworkInterfaceTapConfigurationsOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import NetworkInterfaceTapConfigurationsOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import NetworkInterfaceTapConfigurationsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'network_interface_tap_configurations'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -4073,6 +4245,7 @@ def network_interfaces(self): * 2020-07-01: :class:`NetworkInterfacesOperations` * 2020-08-01: :class:`NetworkInterfacesOperations` * 2020-11-01: :class:`NetworkInterfacesOperations` + * 2021-02-01: :class:`NetworkInterfacesOperations` """ api_version = self._get_api_version('network_interfaces') if api_version == '2015-06-15': @@ -4141,6 +4314,8 @@ def network_interfaces(self): from ..v2020_08_01.aio.operations import NetworkInterfacesOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import NetworkInterfacesOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import NetworkInterfacesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'network_interfaces'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -4168,6 +4343,7 @@ def network_profiles(self): * 2020-07-01: :class:`NetworkProfilesOperations` * 2020-08-01: :class:`NetworkProfilesOperations` * 2020-11-01: :class:`NetworkProfilesOperations` + * 2021-02-01: :class:`NetworkProfilesOperations` """ api_version = self._get_api_version('network_profiles') if api_version == '2018-08-01': @@ -4208,6 +4384,8 @@ def network_profiles(self): from ..v2020_08_01.aio.operations import NetworkProfilesOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import NetworkProfilesOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import NetworkProfilesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'network_profiles'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -4249,6 +4427,7 @@ def network_security_groups(self): * 2020-07-01: :class:`NetworkSecurityGroupsOperations` * 2020-08-01: :class:`NetworkSecurityGroupsOperations` * 2020-11-01: :class:`NetworkSecurityGroupsOperations` + * 2021-02-01: :class:`NetworkSecurityGroupsOperations` """ api_version = self._get_api_version('network_security_groups') if api_version == '2015-06-15': @@ -4317,6 +4496,8 @@ def network_security_groups(self): from ..v2020_08_01.aio.operations import NetworkSecurityGroupsOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import NetworkSecurityGroupsOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import NetworkSecurityGroupsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'network_security_groups'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -4333,6 +4514,7 @@ def network_virtual_appliances(self): * 2020-07-01: :class:`NetworkVirtualAppliancesOperations` * 2020-08-01: :class:`NetworkVirtualAppliancesOperations` * 2020-11-01: :class:`NetworkVirtualAppliancesOperations` + * 2021-02-01: :class:`NetworkVirtualAppliancesOperations` """ api_version = self._get_api_version('network_virtual_appliances') if api_version == '2019-12-01': @@ -4351,6 +4533,8 @@ def network_virtual_appliances(self): from ..v2020_08_01.aio.operations import NetworkVirtualAppliancesOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import NetworkVirtualAppliancesOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import NetworkVirtualAppliancesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'network_virtual_appliances'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -4391,6 +4575,7 @@ def network_watchers(self): * 2020-07-01: :class:`NetworkWatchersOperations` * 2020-08-01: :class:`NetworkWatchersOperations` * 2020-11-01: :class:`NetworkWatchersOperations` + * 2021-02-01: :class:`NetworkWatchersOperations` """ api_version = self._get_api_version('network_watchers') if api_version == '2016-09-01': @@ -4457,6 +4642,8 @@ def network_watchers(self): from ..v2020_08_01.aio.operations import NetworkWatchersOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import NetworkWatchersOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import NetworkWatchersOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'network_watchers'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -4492,6 +4679,7 @@ def operations(self): * 2020-07-01: :class:`Operations` * 2020-08-01: :class:`Operations` * 2020-11-01: :class:`Operations` + * 2021-02-01: :class:`Operations` """ api_version = self._get_api_version('operations') if api_version == '2017-09-01': @@ -4548,6 +4736,8 @@ def operations(self): from ..v2020_08_01.aio.operations import Operations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import Operations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import Operations as OperationClass else: raise ValueError("API version {} does not have operation group 'operations'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -4575,6 +4765,7 @@ def p2_svpn_gateways(self): * 2020-07-01: :class:`P2SVpnGatewaysOperations` * 2020-08-01: :class:`P2SVpnGatewaysOperations` * 2020-11-01: :class:`P2SVpnGatewaysOperations` + * 2021-02-01: :class:`P2SVpnGatewaysOperations` """ api_version = self._get_api_version('p2_svpn_gateways') if api_version == '2018-08-01': @@ -4615,6 +4806,8 @@ def p2_svpn_gateways(self): from ..v2020_08_01.aio.operations import P2SVpnGatewaysOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import P2SVpnGatewaysOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import P2SVpnGatewaysOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'p2_svpn_gateways'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -4689,6 +4882,7 @@ def packet_captures(self): * 2020-07-01: :class:`PacketCapturesOperations` * 2020-08-01: :class:`PacketCapturesOperations` * 2020-11-01: :class:`PacketCapturesOperations` + * 2021-02-01: :class:`PacketCapturesOperations` """ api_version = self._get_api_version('packet_captures') if api_version == '2016-09-01': @@ -4755,6 +4949,8 @@ def packet_captures(self): from ..v2020_08_01.aio.operations import PacketCapturesOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import PacketCapturesOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import PacketCapturesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'packet_captures'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -4779,6 +4975,7 @@ def peer_express_route_circuit_connections(self): * 2020-07-01: :class:`PeerExpressRouteCircuitConnectionsOperations` * 2020-08-01: :class:`PeerExpressRouteCircuitConnectionsOperations` * 2020-11-01: :class:`PeerExpressRouteCircuitConnectionsOperations` + * 2021-02-01: :class:`PeerExpressRouteCircuitConnectionsOperations` """ api_version = self._get_api_version('peer_express_route_circuit_connections') if api_version == '2018-12-01': @@ -4813,6 +5010,8 @@ def peer_express_route_circuit_connections(self): from ..v2020_08_01.aio.operations import PeerExpressRouteCircuitConnectionsOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import PeerExpressRouteCircuitConnectionsOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import PeerExpressRouteCircuitConnectionsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'peer_express_route_circuit_connections'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -4828,6 +5027,7 @@ def private_dns_zone_groups(self): * 2020-07-01: :class:`PrivateDnsZoneGroupsOperations` * 2020-08-01: :class:`PrivateDnsZoneGroupsOperations` * 2020-11-01: :class:`PrivateDnsZoneGroupsOperations` + * 2021-02-01: :class:`PrivateDnsZoneGroupsOperations` """ api_version = self._get_api_version('private_dns_zone_groups') if api_version == '2020-03-01': @@ -4844,6 +5044,8 @@ def private_dns_zone_groups(self): from ..v2020_08_01.aio.operations import PrivateDnsZoneGroupsOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import PrivateDnsZoneGroupsOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import PrivateDnsZoneGroupsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'private_dns_zone_groups'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -4866,6 +5068,7 @@ def private_endpoints(self): * 2020-07-01: :class:`PrivateEndpointsOperations` * 2020-08-01: :class:`PrivateEndpointsOperations` * 2020-11-01: :class:`PrivateEndpointsOperations` + * 2021-02-01: :class:`PrivateEndpointsOperations` """ api_version = self._get_api_version('private_endpoints') if api_version == '2019-04-01': @@ -4896,6 +5099,8 @@ def private_endpoints(self): from ..v2020_08_01.aio.operations import PrivateEndpointsOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import PrivateEndpointsOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import PrivateEndpointsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'private_endpoints'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -4918,6 +5123,7 @@ def private_link_services(self): * 2020-07-01: :class:`PrivateLinkServicesOperations` * 2020-08-01: :class:`PrivateLinkServicesOperations` * 2020-11-01: :class:`PrivateLinkServicesOperations` + * 2021-02-01: :class:`PrivateLinkServicesOperations` """ api_version = self._get_api_version('private_link_services') if api_version == '2019-04-01': @@ -4948,6 +5154,8 @@ def private_link_services(self): from ..v2020_08_01.aio.operations import PrivateLinkServicesOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import PrivateLinkServicesOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import PrivateLinkServicesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'private_link_services'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -4989,6 +5197,7 @@ def public_ip_addresses(self): * 2020-07-01: :class:`PublicIPAddressesOperations` * 2020-08-01: :class:`PublicIPAddressesOperations` * 2020-11-01: :class:`PublicIPAddressesOperations` + * 2021-02-01: :class:`PublicIPAddressesOperations` """ api_version = self._get_api_version('public_ip_addresses') if api_version == '2015-06-15': @@ -5057,6 +5266,8 @@ def public_ip_addresses(self): from ..v2020_08_01.aio.operations import PublicIPAddressesOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import PublicIPAddressesOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import PublicIPAddressesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'public_ip_addresses'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -5085,6 +5296,7 @@ def public_ip_prefixes(self): * 2020-07-01: :class:`PublicIPPrefixesOperations` * 2020-08-01: :class:`PublicIPPrefixesOperations` * 2020-11-01: :class:`PublicIPPrefixesOperations` + * 2021-02-01: :class:`PublicIPPrefixesOperations` """ api_version = self._get_api_version('public_ip_prefixes') if api_version == '2018-07-01': @@ -5127,6 +5339,8 @@ def public_ip_prefixes(self): from ..v2020_08_01.aio.operations import PublicIPPrefixesOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import PublicIPPrefixesOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import PublicIPPrefixesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'public_ip_prefixes'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -5150,6 +5364,7 @@ def resource_navigation_links(self): * 2020-07-01: :class:`ResourceNavigationLinksOperations` * 2020-08-01: :class:`ResourceNavigationLinksOperations` * 2020-11-01: :class:`ResourceNavigationLinksOperations` + * 2021-02-01: :class:`ResourceNavigationLinksOperations` """ api_version = self._get_api_version('resource_navigation_links') if api_version == '2019-02-01': @@ -5182,6 +5397,8 @@ def resource_navigation_links(self): from ..v2020_08_01.aio.operations import ResourceNavigationLinksOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import ResourceNavigationLinksOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import ResourceNavigationLinksOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'resource_navigation_links'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -5221,6 +5438,7 @@ def route_filter_rules(self): * 2020-07-01: :class:`RouteFilterRulesOperations` * 2020-08-01: :class:`RouteFilterRulesOperations` * 2020-11-01: :class:`RouteFilterRulesOperations` + * 2021-02-01: :class:`RouteFilterRulesOperations` """ api_version = self._get_api_version('route_filter_rules') if api_version == '2016-12-01': @@ -5285,6 +5503,8 @@ def route_filter_rules(self): from ..v2020_08_01.aio.operations import RouteFilterRulesOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import RouteFilterRulesOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import RouteFilterRulesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'route_filter_rules'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -5324,6 +5544,7 @@ def route_filters(self): * 2020-07-01: :class:`RouteFiltersOperations` * 2020-08-01: :class:`RouteFiltersOperations` * 2020-11-01: :class:`RouteFiltersOperations` + * 2021-02-01: :class:`RouteFiltersOperations` """ api_version = self._get_api_version('route_filters') if api_version == '2016-12-01': @@ -5388,6 +5609,8 @@ def route_filters(self): from ..v2020_08_01.aio.operations import RouteFiltersOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import RouteFiltersOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import RouteFiltersOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'route_filters'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -5429,6 +5652,7 @@ def route_tables(self): * 2020-07-01: :class:`RouteTablesOperations` * 2020-08-01: :class:`RouteTablesOperations` * 2020-11-01: :class:`RouteTablesOperations` + * 2021-02-01: :class:`RouteTablesOperations` """ api_version = self._get_api_version('route_tables') if api_version == '2015-06-15': @@ -5497,6 +5721,8 @@ def route_tables(self): from ..v2020_08_01.aio.operations import RouteTablesOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import RouteTablesOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import RouteTablesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'route_tables'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -5538,6 +5764,7 @@ def routes(self): * 2020-07-01: :class:`RoutesOperations` * 2020-08-01: :class:`RoutesOperations` * 2020-11-01: :class:`RoutesOperations` + * 2021-02-01: :class:`RoutesOperations` """ api_version = self._get_api_version('routes') if api_version == '2015-06-15': @@ -5606,6 +5833,8 @@ def routes(self): from ..v2020_08_01.aio.operations import RoutesOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import RoutesOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import RoutesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'routes'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -5621,6 +5850,7 @@ def security_partner_providers(self): * 2020-07-01: :class:`SecurityPartnerProvidersOperations` * 2020-08-01: :class:`SecurityPartnerProvidersOperations` * 2020-11-01: :class:`SecurityPartnerProvidersOperations` + * 2021-02-01: :class:`SecurityPartnerProvidersOperations` """ api_version = self._get_api_version('security_partner_providers') if api_version == '2020-03-01': @@ -5637,6 +5867,8 @@ def security_partner_providers(self): from ..v2020_08_01.aio.operations import SecurityPartnerProvidersOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import SecurityPartnerProvidersOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import SecurityPartnerProvidersOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'security_partner_providers'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -5678,6 +5910,7 @@ def security_rules(self): * 2020-07-01: :class:`SecurityRulesOperations` * 2020-08-01: :class:`SecurityRulesOperations` * 2020-11-01: :class:`SecurityRulesOperations` + * 2021-02-01: :class:`SecurityRulesOperations` """ api_version = self._get_api_version('security_rules') if api_version == '2015-06-15': @@ -5746,6 +5979,8 @@ def security_rules(self): from ..v2020_08_01.aio.operations import SecurityRulesOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import SecurityRulesOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import SecurityRulesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'security_rules'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -5769,6 +6004,7 @@ def service_association_links(self): * 2020-07-01: :class:`ServiceAssociationLinksOperations` * 2020-08-01: :class:`ServiceAssociationLinksOperations` * 2020-11-01: :class:`ServiceAssociationLinksOperations` + * 2021-02-01: :class:`ServiceAssociationLinksOperations` """ api_version = self._get_api_version('service_association_links') if api_version == '2019-02-01': @@ -5801,6 +6037,8 @@ def service_association_links(self): from ..v2020_08_01.aio.operations import ServiceAssociationLinksOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import ServiceAssociationLinksOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import ServiceAssociationLinksOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'service_association_links'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -5829,6 +6067,7 @@ def service_endpoint_policies(self): * 2020-07-01: :class:`ServiceEndpointPoliciesOperations` * 2020-08-01: :class:`ServiceEndpointPoliciesOperations` * 2020-11-01: :class:`ServiceEndpointPoliciesOperations` + * 2021-02-01: :class:`ServiceEndpointPoliciesOperations` """ api_version = self._get_api_version('service_endpoint_policies') if api_version == '2018-07-01': @@ -5871,6 +6110,8 @@ def service_endpoint_policies(self): from ..v2020_08_01.aio.operations import ServiceEndpointPoliciesOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import ServiceEndpointPoliciesOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import ServiceEndpointPoliciesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'service_endpoint_policies'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -5899,6 +6140,7 @@ def service_endpoint_policy_definitions(self): * 2020-07-01: :class:`ServiceEndpointPolicyDefinitionsOperations` * 2020-08-01: :class:`ServiceEndpointPolicyDefinitionsOperations` * 2020-11-01: :class:`ServiceEndpointPolicyDefinitionsOperations` + * 2021-02-01: :class:`ServiceEndpointPolicyDefinitionsOperations` """ api_version = self._get_api_version('service_endpoint_policy_definitions') if api_version == '2018-07-01': @@ -5941,6 +6183,8 @@ def service_endpoint_policy_definitions(self): from ..v2020_08_01.aio.operations import ServiceEndpointPolicyDefinitionsOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import ServiceEndpointPolicyDefinitionsOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import ServiceEndpointPolicyDefinitionsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'service_endpoint_policy_definitions'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -5963,6 +6207,7 @@ def service_tags(self): * 2020-07-01: :class:`ServiceTagsOperations` * 2020-08-01: :class:`ServiceTagsOperations` * 2020-11-01: :class:`ServiceTagsOperations` + * 2021-02-01: :class:`ServiceTagsOperations` """ api_version = self._get_api_version('service_tags') if api_version == '2019-04-01': @@ -5993,6 +6238,8 @@ def service_tags(self): from ..v2020_08_01.aio.operations import ServiceTagsOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import ServiceTagsOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import ServiceTagsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'service_tags'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -6034,6 +6281,7 @@ def subnets(self): * 2020-07-01: :class:`SubnetsOperations` * 2020-08-01: :class:`SubnetsOperations` * 2020-11-01: :class:`SubnetsOperations` + * 2021-02-01: :class:`SubnetsOperations` """ api_version = self._get_api_version('subnets') if api_version == '2015-06-15': @@ -6102,6 +6350,8 @@ def subnets(self): from ..v2020_08_01.aio.operations import SubnetsOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import SubnetsOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import SubnetsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'subnets'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -6143,6 +6393,7 @@ def usages(self): * 2020-07-01: :class:`UsagesOperations` * 2020-08-01: :class:`UsagesOperations` * 2020-11-01: :class:`UsagesOperations` + * 2021-02-01: :class:`UsagesOperations` """ api_version = self._get_api_version('usages') if api_version == '2015-06-15': @@ -6211,6 +6462,8 @@ def usages(self): from ..v2020_08_01.aio.operations import UsagesOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import UsagesOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import UsagesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'usages'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -6224,6 +6477,7 @@ def virtual_appliance_sites(self): * 2020-07-01: :class:`VirtualApplianceSitesOperations` * 2020-08-01: :class:`VirtualApplianceSitesOperations` * 2020-11-01: :class:`VirtualApplianceSitesOperations` + * 2021-02-01: :class:`VirtualApplianceSitesOperations` """ api_version = self._get_api_version('virtual_appliance_sites') if api_version == '2020-05-01': @@ -6236,6 +6490,8 @@ def virtual_appliance_sites(self): from ..v2020_08_01.aio.operations import VirtualApplianceSitesOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import VirtualApplianceSitesOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import VirtualApplianceSitesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'virtual_appliance_sites'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -6249,6 +6505,7 @@ def virtual_appliance_skus(self): * 2020-07-01: :class:`VirtualApplianceSkusOperations` * 2020-08-01: :class:`VirtualApplianceSkusOperations` * 2020-11-01: :class:`VirtualApplianceSkusOperations` + * 2021-02-01: :class:`VirtualApplianceSkusOperations` """ api_version = self._get_api_version('virtual_appliance_skus') if api_version == '2020-05-01': @@ -6261,6 +6518,8 @@ def virtual_appliance_skus(self): from ..v2020_08_01.aio.operations import VirtualApplianceSkusOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import VirtualApplianceSkusOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import VirtualApplianceSkusOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'virtual_appliance_skus'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -6274,6 +6533,7 @@ def virtual_hub_bgp_connection(self): * 2020-07-01: :class:`VirtualHubBgpConnectionOperations` * 2020-08-01: :class:`VirtualHubBgpConnectionOperations` * 2020-11-01: :class:`VirtualHubBgpConnectionOperations` + * 2021-02-01: :class:`VirtualHubBgpConnectionOperations` """ api_version = self._get_api_version('virtual_hub_bgp_connection') if api_version == '2020-05-01': @@ -6286,6 +6546,8 @@ def virtual_hub_bgp_connection(self): from ..v2020_08_01.aio.operations import VirtualHubBgpConnectionOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import VirtualHubBgpConnectionOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import VirtualHubBgpConnectionOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'virtual_hub_bgp_connection'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -6299,6 +6561,7 @@ def virtual_hub_bgp_connections(self): * 2020-07-01: :class:`VirtualHubBgpConnectionsOperations` * 2020-08-01: :class:`VirtualHubBgpConnectionsOperations` * 2020-11-01: :class:`VirtualHubBgpConnectionsOperations` + * 2021-02-01: :class:`VirtualHubBgpConnectionsOperations` """ api_version = self._get_api_version('virtual_hub_bgp_connections') if api_version == '2020-05-01': @@ -6311,6 +6574,8 @@ def virtual_hub_bgp_connections(self): from ..v2020_08_01.aio.operations import VirtualHubBgpConnectionsOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import VirtualHubBgpConnectionsOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import VirtualHubBgpConnectionsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'virtual_hub_bgp_connections'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -6324,6 +6589,7 @@ def virtual_hub_ip_configuration(self): * 2020-07-01: :class:`VirtualHubIpConfigurationOperations` * 2020-08-01: :class:`VirtualHubIpConfigurationOperations` * 2020-11-01: :class:`VirtualHubIpConfigurationOperations` + * 2021-02-01: :class:`VirtualHubIpConfigurationOperations` """ api_version = self._get_api_version('virtual_hub_ip_configuration') if api_version == '2020-05-01': @@ -6336,6 +6602,8 @@ def virtual_hub_ip_configuration(self): from ..v2020_08_01.aio.operations import VirtualHubIpConfigurationOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import VirtualHubIpConfigurationOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import VirtualHubIpConfigurationOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'virtual_hub_ip_configuration'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -6354,6 +6622,7 @@ def virtual_hub_route_table_v2_s(self): * 2020-07-01: :class:`VirtualHubRouteTableV2SOperations` * 2020-08-01: :class:`VirtualHubRouteTableV2SOperations` * 2020-11-01: :class:`VirtualHubRouteTableV2SOperations` + * 2021-02-01: :class:`VirtualHubRouteTableV2SOperations` """ api_version = self._get_api_version('virtual_hub_route_table_v2_s') if api_version == '2019-09-01': @@ -6376,6 +6645,8 @@ def virtual_hub_route_table_v2_s(self): from ..v2020_08_01.aio.operations import VirtualHubRouteTableV2SOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import VirtualHubRouteTableV2SOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import VirtualHubRouteTableV2SOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'virtual_hub_route_table_v2_s'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -6406,6 +6677,7 @@ def virtual_hubs(self): * 2020-07-01: :class:`VirtualHubsOperations` * 2020-08-01: :class:`VirtualHubsOperations` * 2020-11-01: :class:`VirtualHubsOperations` + * 2021-02-01: :class:`VirtualHubsOperations` """ api_version = self._get_api_version('virtual_hubs') if api_version == '2018-04-01': @@ -6452,6 +6724,8 @@ def virtual_hubs(self): from ..v2020_08_01.aio.operations import VirtualHubsOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import VirtualHubsOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import VirtualHubsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'virtual_hubs'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -6493,6 +6767,7 @@ def virtual_network_gateway_connections(self): * 2020-07-01: :class:`VirtualNetworkGatewayConnectionsOperations` * 2020-08-01: :class:`VirtualNetworkGatewayConnectionsOperations` * 2020-11-01: :class:`VirtualNetworkGatewayConnectionsOperations` + * 2021-02-01: :class:`VirtualNetworkGatewayConnectionsOperations` """ api_version = self._get_api_version('virtual_network_gateway_connections') if api_version == '2015-06-15': @@ -6561,10 +6836,25 @@ def virtual_network_gateway_connections(self): from ..v2020_08_01.aio.operations import VirtualNetworkGatewayConnectionsOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import VirtualNetworkGatewayConnectionsOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import VirtualNetworkGatewayConnectionsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'virtual_network_gateway_connections'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) + @property + def virtual_network_gateway_nat_rules(self): + """Instance depends on the API version: + + * 2021-02-01: :class:`VirtualNetworkGatewayNatRulesOperations` + """ + api_version = self._get_api_version('virtual_network_gateway_nat_rules') + if api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import VirtualNetworkGatewayNatRulesOperations as OperationClass + else: + raise ValueError("API version {} does not have operation group 'virtual_network_gateway_nat_rules'".format(api_version)) + return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) + @property def virtual_network_gateways(self): """Instance depends on the API version: @@ -6602,6 +6892,7 @@ def virtual_network_gateways(self): * 2020-07-01: :class:`VirtualNetworkGatewaysOperations` * 2020-08-01: :class:`VirtualNetworkGatewaysOperations` * 2020-11-01: :class:`VirtualNetworkGatewaysOperations` + * 2021-02-01: :class:`VirtualNetworkGatewaysOperations` """ api_version = self._get_api_version('virtual_network_gateways') if api_version == '2015-06-15': @@ -6670,6 +6961,8 @@ def virtual_network_gateways(self): from ..v2020_08_01.aio.operations import VirtualNetworkGatewaysOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import VirtualNetworkGatewaysOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import VirtualNetworkGatewaysOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'virtual_network_gateways'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -6710,6 +7003,7 @@ def virtual_network_peerings(self): * 2020-07-01: :class:`VirtualNetworkPeeringsOperations` * 2020-08-01: :class:`VirtualNetworkPeeringsOperations` * 2020-11-01: :class:`VirtualNetworkPeeringsOperations` + * 2021-02-01: :class:`VirtualNetworkPeeringsOperations` """ api_version = self._get_api_version('virtual_network_peerings') if api_version == '2016-09-01': @@ -6776,6 +7070,8 @@ def virtual_network_peerings(self): from ..v2020_08_01.aio.operations import VirtualNetworkPeeringsOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import VirtualNetworkPeeringsOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import VirtualNetworkPeeringsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'virtual_network_peerings'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -6803,6 +7099,7 @@ def virtual_network_taps(self): * 2020-07-01: :class:`VirtualNetworkTapsOperations` * 2020-08-01: :class:`VirtualNetworkTapsOperations` * 2020-11-01: :class:`VirtualNetworkTapsOperations` + * 2021-02-01: :class:`VirtualNetworkTapsOperations` """ api_version = self._get_api_version('virtual_network_taps') if api_version == '2018-08-01': @@ -6843,6 +7140,8 @@ def virtual_network_taps(self): from ..v2020_08_01.aio.operations import VirtualNetworkTapsOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import VirtualNetworkTapsOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import VirtualNetworkTapsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'virtual_network_taps'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -6884,6 +7183,7 @@ def virtual_networks(self): * 2020-07-01: :class:`VirtualNetworksOperations` * 2020-08-01: :class:`VirtualNetworksOperations` * 2020-11-01: :class:`VirtualNetworksOperations` + * 2021-02-01: :class:`VirtualNetworksOperations` """ api_version = self._get_api_version('virtual_networks') if api_version == '2015-06-15': @@ -6952,6 +7252,8 @@ def virtual_networks(self): from ..v2020_08_01.aio.operations import VirtualNetworksOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import VirtualNetworksOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import VirtualNetworksOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'virtual_networks'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -6972,6 +7274,7 @@ def virtual_router_peerings(self): * 2020-07-01: :class:`VirtualRouterPeeringsOperations` * 2020-08-01: :class:`VirtualRouterPeeringsOperations` * 2020-11-01: :class:`VirtualRouterPeeringsOperations` + * 2021-02-01: :class:`VirtualRouterPeeringsOperations` """ api_version = self._get_api_version('virtual_router_peerings') if api_version == '2019-07-01': @@ -6998,6 +7301,8 @@ def virtual_router_peerings(self): from ..v2020_08_01.aio.operations import VirtualRouterPeeringsOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import VirtualRouterPeeringsOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import VirtualRouterPeeringsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'virtual_router_peerings'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -7018,6 +7323,7 @@ def virtual_routers(self): * 2020-07-01: :class:`VirtualRoutersOperations` * 2020-08-01: :class:`VirtualRoutersOperations` * 2020-11-01: :class:`VirtualRoutersOperations` + * 2021-02-01: :class:`VirtualRoutersOperations` """ api_version = self._get_api_version('virtual_routers') if api_version == '2019-07-01': @@ -7044,6 +7350,8 @@ def virtual_routers(self): from ..v2020_08_01.aio.operations import VirtualRoutersOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import VirtualRoutersOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import VirtualRoutersOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'virtual_routers'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -7074,6 +7382,7 @@ def virtual_wans(self): * 2020-07-01: :class:`VirtualWansOperations` * 2020-08-01: :class:`VirtualWansOperations` * 2020-11-01: :class:`VirtualWansOperations` + * 2021-02-01: :class:`VirtualWansOperations` """ api_version = self._get_api_version('virtual_wans') if api_version == '2018-04-01': @@ -7120,6 +7429,8 @@ def virtual_wans(self): from ..v2020_08_01.aio.operations import VirtualWansOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import VirtualWansOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import VirtualWansOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'virtual_wans'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -7150,6 +7461,7 @@ def vpn_connections(self): * 2020-07-01: :class:`VpnConnectionsOperations` * 2020-08-01: :class:`VpnConnectionsOperations` * 2020-11-01: :class:`VpnConnectionsOperations` + * 2021-02-01: :class:`VpnConnectionsOperations` """ api_version = self._get_api_version('vpn_connections') if api_version == '2018-04-01': @@ -7196,6 +7508,8 @@ def vpn_connections(self): from ..v2020_08_01.aio.operations import VpnConnectionsOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import VpnConnectionsOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import VpnConnectionsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'vpn_connections'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -7226,6 +7540,7 @@ def vpn_gateways(self): * 2020-07-01: :class:`VpnGatewaysOperations` * 2020-08-01: :class:`VpnGatewaysOperations` * 2020-11-01: :class:`VpnGatewaysOperations` + * 2021-02-01: :class:`VpnGatewaysOperations` """ api_version = self._get_api_version('vpn_gateways') if api_version == '2018-04-01': @@ -7272,6 +7587,8 @@ def vpn_gateways(self): from ..v2020_08_01.aio.operations import VpnGatewaysOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import VpnGatewaysOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import VpnGatewaysOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'vpn_gateways'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -7293,6 +7610,7 @@ def vpn_link_connections(self): * 2020-07-01: :class:`VpnLinkConnectionsOperations` * 2020-08-01: :class:`VpnLinkConnectionsOperations` * 2020-11-01: :class:`VpnLinkConnectionsOperations` + * 2021-02-01: :class:`VpnLinkConnectionsOperations` """ api_version = self._get_api_version('vpn_link_connections') if api_version == '2019-06-01': @@ -7321,6 +7639,8 @@ def vpn_link_connections(self): from ..v2020_08_01.aio.operations import VpnLinkConnectionsOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import VpnLinkConnectionsOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import VpnLinkConnectionsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'vpn_link_connections'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -7340,6 +7660,7 @@ def vpn_server_configurations(self): * 2020-07-01: :class:`VpnServerConfigurationsOperations` * 2020-08-01: :class:`VpnServerConfigurationsOperations` * 2020-11-01: :class:`VpnServerConfigurationsOperations` + * 2021-02-01: :class:`VpnServerConfigurationsOperations` """ api_version = self._get_api_version('vpn_server_configurations') if api_version == '2019-08-01': @@ -7364,6 +7685,8 @@ def vpn_server_configurations(self): from ..v2020_08_01.aio.operations import VpnServerConfigurationsOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import VpnServerConfigurationsOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import VpnServerConfigurationsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'vpn_server_configurations'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -7383,6 +7706,7 @@ def vpn_server_configurations_associated_with_virtual_wan(self): * 2020-07-01: :class:`VpnServerConfigurationsAssociatedWithVirtualWanOperations` * 2020-08-01: :class:`VpnServerConfigurationsAssociatedWithVirtualWanOperations` * 2020-11-01: :class:`VpnServerConfigurationsAssociatedWithVirtualWanOperations` + * 2021-02-01: :class:`VpnServerConfigurationsAssociatedWithVirtualWanOperations` """ api_version = self._get_api_version('vpn_server_configurations_associated_with_virtual_wan') if api_version == '2019-08-01': @@ -7407,6 +7731,8 @@ def vpn_server_configurations_associated_with_virtual_wan(self): from ..v2020_08_01.aio.operations import VpnServerConfigurationsAssociatedWithVirtualWanOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import VpnServerConfigurationsAssociatedWithVirtualWanOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import VpnServerConfigurationsAssociatedWithVirtualWanOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'vpn_server_configurations_associated_with_virtual_wan'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -7428,6 +7754,7 @@ def vpn_site_link_connections(self): * 2020-07-01: :class:`VpnSiteLinkConnectionsOperations` * 2020-08-01: :class:`VpnSiteLinkConnectionsOperations` * 2020-11-01: :class:`VpnSiteLinkConnectionsOperations` + * 2021-02-01: :class:`VpnSiteLinkConnectionsOperations` """ api_version = self._get_api_version('vpn_site_link_connections') if api_version == '2019-06-01': @@ -7456,6 +7783,8 @@ def vpn_site_link_connections(self): from ..v2020_08_01.aio.operations import VpnSiteLinkConnectionsOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import VpnSiteLinkConnectionsOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import VpnSiteLinkConnectionsOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'vpn_site_link_connections'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -7477,6 +7806,7 @@ def vpn_site_links(self): * 2020-07-01: :class:`VpnSiteLinksOperations` * 2020-08-01: :class:`VpnSiteLinksOperations` * 2020-11-01: :class:`VpnSiteLinksOperations` + * 2021-02-01: :class:`VpnSiteLinksOperations` """ api_version = self._get_api_version('vpn_site_links') if api_version == '2019-06-01': @@ -7505,6 +7835,8 @@ def vpn_site_links(self): from ..v2020_08_01.aio.operations import VpnSiteLinksOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import VpnSiteLinksOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import VpnSiteLinksOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'vpn_site_links'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -7535,6 +7867,7 @@ def vpn_sites(self): * 2020-07-01: :class:`VpnSitesOperations` * 2020-08-01: :class:`VpnSitesOperations` * 2020-11-01: :class:`VpnSitesOperations` + * 2021-02-01: :class:`VpnSitesOperations` """ api_version = self._get_api_version('vpn_sites') if api_version == '2018-04-01': @@ -7581,6 +7914,8 @@ def vpn_sites(self): from ..v2020_08_01.aio.operations import VpnSitesOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import VpnSitesOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import VpnSitesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'vpn_sites'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -7611,6 +7946,7 @@ def vpn_sites_configuration(self): * 2020-07-01: :class:`VpnSitesConfigurationOperations` * 2020-08-01: :class:`VpnSitesConfigurationOperations` * 2020-11-01: :class:`VpnSitesConfigurationOperations` + * 2021-02-01: :class:`VpnSitesConfigurationOperations` """ api_version = self._get_api_version('vpn_sites_configuration') if api_version == '2018-04-01': @@ -7657,6 +7993,8 @@ def vpn_sites_configuration(self): from ..v2020_08_01.aio.operations import VpnSitesConfigurationOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import VpnSitesConfigurationOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import VpnSitesConfigurationOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'vpn_sites_configuration'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -7681,6 +8019,7 @@ def web_application_firewall_policies(self): * 2020-07-01: :class:`WebApplicationFirewallPoliciesOperations` * 2020-08-01: :class:`WebApplicationFirewallPoliciesOperations` * 2020-11-01: :class:`WebApplicationFirewallPoliciesOperations` + * 2021-02-01: :class:`WebApplicationFirewallPoliciesOperations` """ api_version = self._get_api_version('web_application_firewall_policies') if api_version == '2018-12-01': @@ -7715,6 +8054,8 @@ def web_application_firewall_policies(self): from ..v2020_08_01.aio.operations import WebApplicationFirewallPoliciesOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import WebApplicationFirewallPoliciesOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import WebApplicationFirewallPoliciesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'web_application_firewall_policies'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -7726,6 +8067,7 @@ def web_categories(self): * 2020-07-01: :class:`WebCategoriesOperations` * 2020-08-01: :class:`WebCategoriesOperations` * 2020-11-01: :class:`WebCategoriesOperations` + * 2021-02-01: :class:`WebCategoriesOperations` """ api_version = self._get_api_version('web_categories') if api_version == '2020-07-01': @@ -7734,6 +8076,8 @@ def web_categories(self): from ..v2020_08_01.aio.operations import WebCategoriesOperations as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import WebCategoriesOperations as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import WebCategoriesOperations as OperationClass else: raise ValueError("API version {} does not have operation group 'web_categories'".format(api_version)) return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/aio/_operations_mixin.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/aio/_operations_mixin.py index 31b4b951b46c..f44819c3fa4e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/aio/_operations_mixin.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/aio/_operations_mixin.py @@ -37,11 +37,11 @@ async def begin_delete_bastion_shareable_link( :param bastion_host_name: The name of the Bastion Host. :type bastion_host_name: str :param bsl_request: Post request for all the Bastion Shareable Link endpoints. - :type bsl_request: ~azure.mgmt.network.v2020_11_01.models.BastionShareableLinkListRequest + :type bsl_request: ~azure.mgmt.network.v2021_02_01.models.BastionShareableLinkListRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -69,12 +69,15 @@ async def begin_delete_bastion_shareable_link( from ..v2020_08_01.aio.operations import NetworkManagementClientOperationsMixin as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import NetworkManagementClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'begin_delete_bastion_shareable_link'".format(api_version)) mixin_instance = OperationClass() mixin_instance._client = self._client mixin_instance._config = self._config mixin_instance._serialize = Serializer(self._models_dict(api_version)) + mixin_instance._serialize.client_side_validation = False mixin_instance._deserialize = Deserializer(self._models_dict(api_version)) return await mixin_instance.begin_delete_bastion_shareable_link(resource_group_name, bastion_host_name, bsl_request, **kwargs) @@ -95,15 +98,15 @@ async def begin_generatevirtualwanvpnserverconfigurationvpnprofile( :type virtual_wan_name: str :param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation operation. - :type vpn_client_params: ~azure.mgmt.network.v2020_11_01.models.VirtualWanVpnProfileParameters + :type vpn_client_params: ~azure.mgmt.network.v2021_02_01.models.VirtualWanVpnProfileParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnProfileResponse or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_11_01.models.VpnProfileResponse] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.VpnProfileResponse] :raises ~azure.core.exceptions.HttpResponseError: """ api_version = self._get_api_version('begin_generatevirtualwanvpnserverconfigurationvpnprofile') @@ -129,12 +132,15 @@ async def begin_generatevirtualwanvpnserverconfigurationvpnprofile( from ..v2020_08_01.aio.operations import NetworkManagementClientOperationsMixin as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import NetworkManagementClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'begin_generatevirtualwanvpnserverconfigurationvpnprofile'".format(api_version)) mixin_instance = OperationClass() mixin_instance._client = self._client mixin_instance._config = self._config mixin_instance._serialize = Serializer(self._models_dict(api_version)) + mixin_instance._serialize.client_side_validation = False mixin_instance._deserialize = Deserializer(self._models_dict(api_version)) return await mixin_instance.begin_generatevirtualwanvpnserverconfigurationvpnprofile(resource_group_name, virtual_wan_name, vpn_client_params, **kwargs) @@ -152,12 +158,12 @@ def begin_get_active_sessions( :type bastion_host_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns an iterator like instance of either BastionActiveSessionListResult or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_11_01.models.BastionActiveSessionListResult]] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.BastionActiveSessionListResult]] :raises ~azure.core.exceptions.HttpResponseError: """ api_version = self._get_api_version('begin_get_active_sessions') @@ -181,12 +187,15 @@ def begin_get_active_sessions( from ..v2020_08_01.aio.operations import NetworkManagementClientOperationsMixin as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import NetworkManagementClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'begin_get_active_sessions'".format(api_version)) mixin_instance = OperationClass() mixin_instance._client = self._client mixin_instance._config = self._config mixin_instance._serialize = Serializer(self._models_dict(api_version)) + mixin_instance._serialize.client_side_validation = False mixin_instance._deserialize = Deserializer(self._models_dict(api_version)) return mixin_instance.begin_get_active_sessions(resource_group_name, bastion_host_name, **kwargs) @@ -204,15 +213,15 @@ def begin_put_bastion_shareable_link( :param bastion_host_name: The name of the Bastion Host. :type bastion_host_name: str :param bsl_request: Post request for all the Bastion Shareable Link endpoints. - :type bsl_request: ~azure.mgmt.network.v2020_11_01.models.BastionShareableLinkListRequest + :type bsl_request: ~azure.mgmt.network.v2021_02_01.models.BastionShareableLinkListRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns an iterator like instance of either BastionShareableLinkListResult or the result of cls(response) - :rtype: ~azure.core.polling.AsyncLROPoller[~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_11_01.models.BastionShareableLinkListResult]] + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.BastionShareableLinkListResult]] :raises ~azure.core.exceptions.HttpResponseError: """ api_version = self._get_api_version('begin_put_bastion_shareable_link') @@ -236,12 +245,15 @@ def begin_put_bastion_shareable_link( from ..v2020_08_01.aio.operations import NetworkManagementClientOperationsMixin as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import NetworkManagementClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'begin_put_bastion_shareable_link'".format(api_version)) mixin_instance = OperationClass() mixin_instance._client = self._client mixin_instance._config = self._config mixin_instance._serialize = Serializer(self._models_dict(api_version)) + mixin_instance._serialize.client_side_validation = False mixin_instance._deserialize = Deserializer(self._models_dict(api_version)) return mixin_instance.begin_put_bastion_shareable_link(resource_group_name, bastion_host_name, bsl_request, **kwargs) @@ -260,7 +272,7 @@ async def check_dns_name_availability( :type domain_name_label: str :keyword callable cls: A custom type or function that will be passed the direct response :return: DnsNameAvailabilityResult, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_11_01.models.DnsNameAvailabilityResult + :rtype: ~azure.mgmt.network.v2021_02_01.models.DnsNameAvailabilityResult :raises: ~azure.core.exceptions.HttpResponseError """ api_version = self._get_api_version('check_dns_name_availability') @@ -330,12 +342,15 @@ async def check_dns_name_availability( from ..v2020_08_01.aio.operations import NetworkManagementClientOperationsMixin as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import NetworkManagementClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'check_dns_name_availability'".format(api_version)) mixin_instance = OperationClass() mixin_instance._client = self._client mixin_instance._config = self._config mixin_instance._serialize = Serializer(self._models_dict(api_version)) + mixin_instance._serialize.client_side_validation = False mixin_instance._deserialize = Deserializer(self._models_dict(api_version)) return await mixin_instance.check_dns_name_availability(location, domain_name_label, **kwargs) @@ -353,10 +368,10 @@ def disconnect_active_sessions( :param bastion_host_name: The name of the Bastion Host. :type bastion_host_name: str :param session_ids: The list of sessionids to disconnect. - :type session_ids: ~azure.mgmt.network.v2020_11_01.models.SessionIds + :type session_ids: ~azure.mgmt.network.v2021_02_01.models.SessionIds :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either BastionSessionDeleteResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_11_01.models.BastionSessionDeleteResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.BastionSessionDeleteResult] :raises: ~azure.core.exceptions.HttpResponseError """ api_version = self._get_api_version('disconnect_active_sessions') @@ -380,12 +395,15 @@ def disconnect_active_sessions( from ..v2020_08_01.aio.operations import NetworkManagementClientOperationsMixin as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import NetworkManagementClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'disconnect_active_sessions'".format(api_version)) mixin_instance = OperationClass() mixin_instance._client = self._client mixin_instance._config = self._config mixin_instance._serialize = Serializer(self._models_dict(api_version)) + mixin_instance._serialize.client_side_validation = False mixin_instance._deserialize = Deserializer(self._models_dict(api_version)) return mixin_instance.disconnect_active_sessions(resource_group_name, bastion_host_name, session_ids, **kwargs) @@ -403,10 +421,10 @@ def get_bastion_shareable_link( :param bastion_host_name: The name of the Bastion Host. :type bastion_host_name: str :param bsl_request: Post request for all the Bastion Shareable Link endpoints. - :type bsl_request: ~azure.mgmt.network.v2020_11_01.models.BastionShareableLinkListRequest + :type bsl_request: ~azure.mgmt.network.v2021_02_01.models.BastionShareableLinkListRequest :keyword callable cls: A custom type or function that will be passed the direct response :return: An iterator like instance of either BastionShareableLinkListResult or the result of cls(response) - :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_11_01.models.BastionShareableLinkListResult] + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.BastionShareableLinkListResult] :raises: ~azure.core.exceptions.HttpResponseError """ api_version = self._get_api_version('get_bastion_shareable_link') @@ -430,12 +448,15 @@ def get_bastion_shareable_link( from ..v2020_08_01.aio.operations import NetworkManagementClientOperationsMixin as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import NetworkManagementClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'get_bastion_shareable_link'".format(api_version)) mixin_instance = OperationClass() mixin_instance._client = self._client mixin_instance._config = self._config mixin_instance._serialize = Serializer(self._models_dict(api_version)) + mixin_instance._serialize.client_side_validation = False mixin_instance._deserialize = Deserializer(self._models_dict(api_version)) return mixin_instance.get_bastion_shareable_link(resource_group_name, bastion_host_name, bsl_request, **kwargs) @@ -454,7 +475,7 @@ async def supported_security_providers( :type virtual_wan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :return: VirtualWanSecurityProviders, or the result of cls(response) - :rtype: ~azure.mgmt.network.v2020_11_01.models.VirtualWanSecurityProviders + :rtype: ~azure.mgmt.network.v2021_02_01.models.VirtualWanSecurityProviders :raises: ~azure.core.exceptions.HttpResponseError """ api_version = self._get_api_version('supported_security_providers') @@ -496,11 +517,14 @@ async def supported_security_providers( from ..v2020_08_01.aio.operations import NetworkManagementClientOperationsMixin as OperationClass elif api_version == '2020-11-01': from ..v2020_11_01.aio.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2021-02-01': + from ..v2021_02_01.aio.operations import NetworkManagementClientOperationsMixin as OperationClass else: raise ValueError("API version {} does not have operation 'supported_security_providers'".format(api_version)) mixin_instance = OperationClass() mixin_instance._client = self._client mixin_instance._config = self._config mixin_instance._serialize = Serializer(self._models_dict(api_version)) + mixin_instance._serialize.client_side_validation = False mixin_instance._deserialize = Deserializer(self._models_dict(api_version)) return await mixin_instance.supported_security_providers(resource_group_name, virtual_wan_name, **kwargs) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/models.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/models.py index bea6335dd268..189920378ec6 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/models.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/models.py @@ -7,4 +7,4 @@ from .v2019_02_01.models import * from .v2019_07_01.models import * from .v2020_04_01.models import * -from .v2020_11_01.models import * +from .v2021_02_01.models import * diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/_metadata.json b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/_metadata.json index d926d400e938..1c87ef7240cb 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/_metadata.json +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/_metadata.json @@ -9,7 +9,9 @@ "custom_base_url": null, "azure_arm": true, "has_lro_operations": true, - "client_side_validation": true + "client_side_validation": false, + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"NetworkManagementClientConfiguration\"], \"._operations_mixin\": [\"NetworkManagementClientOperationsMixin\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"NetworkManagementClientConfiguration\"], \"._operations_mixin\": [\"NetworkManagementClientOperationsMixin\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}" }, "global_parameters": { "sync": { @@ -28,13 +30,13 @@ }, "async": { "credential": { - "signature": "credential, # type: \"AsyncTokenCredential\"", + "signature": "credential: \"AsyncTokenCredential\",", "description": "Credential needed for the client to connect to Azure.", "docstring_type": "~azure.core.credentials_async.AsyncTokenCredential", "required": true }, "subscription_id": { - "signature": "subscription_id, # type: str", + "signature": "subscription_id: str,", "description": "The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.", "docstring_type": "str", "required": true @@ -42,14 +44,58 @@ }, "constant": { }, - "call": "credential, subscription_id" + "call": "credential, subscription_id", + "service_client_specific": { + "sync": { + "api_version": { + "signature": "api_version=None, # type: Optional[str]", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url=None, # type: Optional[str]", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile=KnownProfiles.default, # type: KnownProfiles", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + }, + "async": { + "api_version": { + "signature": "api_version: Optional[str] = None,", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url: Optional[str] = None,", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile: KnownProfiles = KnownProfiles.default,", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + } + } }, "config": { "credential": true, "credential_scopes": ["https://management.azure.com/.default"], "credential_default_policy_type": "BearerTokenCredentialPolicy", "credential_default_policy_type_has_async_version": true, - "credential_key_header_name": null + "credential_key_header_name": null, + "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMHttpLoggingPolicy\"]}, \"local\": {\"._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}}", + "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMHttpLoggingPolicy\"]}, \"local\": {\".._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}}" }, "operation_groups": { "application_gateways": "ApplicationGatewaysOperations", @@ -72,19 +118,21 @@ "local_network_gateways": "LocalNetworkGatewaysOperations" }, "operation_mixins": { - "check_dns_name_availability" : { - "sync": { - "signature": "def check_dns_name_availability(\n self,\n location, # type: str\n domain_name_label=None, # type: Optional[str]\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Checks whether a domain name in the cloudapp.net zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2015_06_15.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def check_dns_name_availability(\n self,\n location: str,\n domain_name_label: Optional[str] = None,\n **kwargs\n) -\u003e \"_models.DnsNameAvailabilityResult\":\n", - "doc": "\"\"\"Checks whether a domain name in the cloudapp.net zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2015_06_15.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "location, domain_name_label" + "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\"]}}}", + "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\"]}}}", + "operations": { + "check_dns_name_availability" : { + "sync": { + "signature": "def check_dns_name_availability(\n self,\n location, # type: str\n domain_name_label=None, # type: Optional[str]\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Checks whether a domain name in the cloudapp.net zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2015_06_15.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def check_dns_name_availability(\n self,\n location: str,\n domain_name_label: Optional[str] = None,\n **kwargs\n) -\u003e \"_models.DnsNameAvailabilityResult\":\n", + "doc": "\"\"\"Checks whether a domain name in the cloudapp.net zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2015_06_15.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "location, domain_name_label" + } } - }, - "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\"]}}}", - "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\"]}}}" + } } \ No newline at end of file diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/_network_management_client.py index 9e173ff556ed..efb19809cece 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/_network_management_client.py @@ -16,6 +16,7 @@ from typing import Any, Optional from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse from ._configuration import NetworkManagementClientConfiguration from .operations import ApplicationGatewaysOperations @@ -102,6 +103,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( @@ -141,6 +143,24 @@ def __init__( self.local_network_gateways = LocalNetworkGatewaysOperations( self._client, self._config, self._serialize, self._deserialize) + def _send_request(self, http_request, **kwargs): + # type: (HttpRequest, Any) -> HttpResponse + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.HttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + def close(self): # type: () -> None self._client.close() diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/aio/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/aio/_network_management_client.py index de52a38f8853..93a56d0386ee 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/aio/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/aio/_network_management_client.py @@ -8,6 +8,7 @@ from typing import Any, Optional, TYPE_CHECKING +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core import AsyncARMPipelineClient from msrest import Deserializer, Serializer @@ -99,6 +100,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( @@ -138,6 +140,23 @@ def __init__( self.local_network_gateways = LocalNetworkGatewaysOperations( self._client, self._config, self._serialize, self._deserialize) + async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + async def close(self) -> None: await self._client.close() diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/aio/operations/_application_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/aio/operations/_application_gateways_operations.py index 6908c86171ea..48b08fe54c9a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/aio/operations/_application_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/aio/operations/_application_gateways_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2015_06_15.models.ApplicationGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGateway or the result of cls(response) @@ -527,8 +527,8 @@ async def begin_start( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -633,8 +633,8 @@ async def begin_stop( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/aio/operations/_express_route_circuit_authorizations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/aio/operations/_express_route_circuit_authorizations_operations.py index d1421b6f8481..831e43bd450c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/aio/operations/_express_route_circuit_authorizations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/aio/operations/_express_route_circuit_authorizations_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type authorization_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type authorization_parameters: ~azure.mgmt.network.v2015_06_15.models.ExpressRouteCircuitAuthorization :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitAuthorization or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/aio/operations/_express_route_circuit_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/aio/operations/_express_route_circuit_peerings_operations.py index cbbed51c5fe4..ef2d7896da8d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/aio/operations/_express_route_circuit_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/aio/operations/_express_route_circuit_peerings_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2015_06_15.models.ExpressRouteCircuitPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/aio/operations/_express_route_circuits_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/aio/operations/_express_route_circuits_operations.py index e9dbf228c975..356bf69789fc 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/aio/operations/_express_route_circuits_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/aio/operations/_express_route_circuits_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type circuit_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2015_06_15.models.ExpressRouteCircuit :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuit or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/aio/operations/_load_balancers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/aio/operations/_load_balancers_operations.py index c645746f71e3..f760bbbe2133 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/aio/operations/_load_balancers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/aio/operations/_load_balancers_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type load_balancer_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2015_06_15.models.LoadBalancer :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LoadBalancer or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/aio/operations/_local_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/aio/operations/_local_network_gateways_operations.py index 00bfce86214c..3311780b161e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/aio/operations/_local_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/aio/operations/_local_network_gateways_operations.py @@ -117,8 +117,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2015_06_15.models.LocalNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LocalNetworkGateway or the result of cls(response) @@ -285,8 +285,8 @@ async def begin_delete( :type local_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/aio/operations/_network_interfaces_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/aio/operations/_network_interfaces_operations.py index 7de40ca3d491..bd5ceccd47fb 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/aio/operations/_network_interfaces_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/aio/operations/_network_interfaces_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2015_06_15.models.NetworkInterface :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkInterface or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/aio/operations/_network_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/aio/operations/_network_security_groups_operations.py index 687c7da80330..4f42148ff5be 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/aio/operations/_network_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/aio/operations/_network_security_groups_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type network_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -287,8 +287,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2015_06_15.models.NetworkSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/aio/operations/_public_ip_addresses_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/aio/operations/_public_ip_addresses_operations.py index 49d0acd9ed96..aefa53d6ea29 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/aio/operations/_public_ip_addresses_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/aio/operations/_public_ip_addresses_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type public_ip_address_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2015_06_15.models.PublicIPAddress :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PublicIPAddress or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/aio/operations/_route_tables_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/aio/operations/_route_tables_operations.py index d40bacc9a56f..587d36f2cc71 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/aio/operations/_route_tables_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/aio/operations/_route_tables_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2015_06_15.models.RouteTable :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteTable or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/aio/operations/_routes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/aio/operations/_routes_operations.py index b0ce514c0dde..ea1f5f59537b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/aio/operations/_routes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/aio/operations/_routes_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type route_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ async def begin_create_or_update( :type route_parameters: ~azure.mgmt.network.v2015_06_15.models.Route :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Route or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/aio/operations/_security_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/aio/operations/_security_rules_operations.py index b00df07ab984..28c25afcad15 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/aio/operations/_security_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/aio/operations/_security_rules_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type security_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type security_rule_parameters: ~azure.mgmt.network.v2015_06_15.models.SecurityRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either SecurityRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/aio/operations/_subnets_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/aio/operations/_subnets_operations.py index cb3a0ce8b61c..a42095e4e82c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/aio/operations/_subnets_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/aio/operations/_subnets_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type subnet_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -302,8 +302,8 @@ async def begin_create_or_update( :type subnet_parameters: ~azure.mgmt.network.v2015_06_15.models.Subnet :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Subnet or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/aio/operations/_virtual_network_gateway_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/aio/operations/_virtual_network_gateway_connections_operations.py index 10ea9ee98b5b..3316717f02e6 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/aio/operations/_virtual_network_gateway_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/aio/operations/_virtual_network_gateway_connections_operations.py @@ -119,8 +119,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2015_06_15.models.VirtualNetworkGatewayConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -289,8 +289,8 @@ async def begin_delete( :type virtual_network_gateway_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -486,8 +486,8 @@ async def begin_reset_shared_key( :type parameters: ~azure.mgmt.network.v2015_06_15.models.ConnectionResetSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionResetSharedKey or the result of cls(response) @@ -617,8 +617,8 @@ async def begin_set_shared_key( :type parameters: ~azure.mgmt.network.v2015_06_15.models.ConnectionSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionSharedKey or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/aio/operations/_virtual_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/aio/operations/_virtual_network_gateways_operations.py index a03f6905d856..0911ac0a7712 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/aio/operations/_virtual_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/aio/operations/_virtual_network_gateways_operations.py @@ -117,8 +117,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2015_06_15.models.VirtualNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -285,8 +285,8 @@ async def begin_delete( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -478,8 +478,8 @@ async def begin_reset( :type parameters: ~azure.mgmt.network.v2015_06_15.models.VirtualNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -604,8 +604,8 @@ async def begin_generatevpnclientpackage( :type parameters: ~azure.mgmt.network.v2015_06_15.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/aio/operations/_virtual_networks_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/aio/operations/_virtual_networks_operations.py index d980de4cb84e..7df2817f73cf 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/aio/operations/_virtual_networks_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/aio/operations/_virtual_networks_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type virtual_network_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2015_06_15.models.VirtualNetwork :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetwork or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/operations/_application_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/operations/_application_gateways_operations.py index fa2f9952d8bd..034e99796241 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/operations/_application_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/operations/_application_gateways_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2015_06_15.models.ApplicationGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGateway or the result of cls(response) @@ -540,8 +540,8 @@ def begin_start( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -648,8 +648,8 @@ def begin_stop( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/operations/_express_route_circuit_authorizations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/operations/_express_route_circuit_authorizations_operations.py index 5a6be128468b..f0ddad6be2b4 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/operations/_express_route_circuit_authorizations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/operations/_express_route_circuit_authorizations_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type authorization_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type authorization_parameters: ~azure.mgmt.network.v2015_06_15.models.ExpressRouteCircuitAuthorization :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitAuthorization or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/operations/_express_route_circuit_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/operations/_express_route_circuit_peerings_operations.py index 6b6542a3a258..52f41337bbf0 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/operations/_express_route_circuit_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/operations/_express_route_circuit_peerings_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2015_06_15.models.ExpressRouteCircuitPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/operations/_express_route_circuits_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/operations/_express_route_circuits_operations.py index fd709f66a4d1..4880529d739d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/operations/_express_route_circuits_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/operations/_express_route_circuits_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type circuit_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2015_06_15.models.ExpressRouteCircuit :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuit or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/operations/_load_balancers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/operations/_load_balancers_operations.py index 984a289636cc..7a725c1dd4ce 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/operations/_load_balancers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/operations/_load_balancers_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type load_balancer_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2015_06_15.models.LoadBalancer :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LoadBalancer or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/operations/_local_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/operations/_local_network_gateways_operations.py index 98796514d9fe..e831ac273d99 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/operations/_local_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/operations/_local_network_gateways_operations.py @@ -123,8 +123,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2015_06_15.models.LocalNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LocalNetworkGateway or the result of cls(response) @@ -294,8 +294,8 @@ def begin_delete( :type local_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/operations/_network_interfaces_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/operations/_network_interfaces_operations.py index d4e733fbfb42..7ba229ce856b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/operations/_network_interfaces_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/operations/_network_interfaces_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2015_06_15.models.NetworkInterface :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkInterface or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/operations/_network_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/operations/_network_security_groups_operations.py index 7c838e344136..aa8aa7fe8041 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/operations/_network_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/operations/_network_security_groups_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type network_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -296,8 +296,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2015_06_15.models.NetworkSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/operations/_public_ip_addresses_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/operations/_public_ip_addresses_operations.py index 39b31e9f5574..30d2d51a3ec1 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/operations/_public_ip_addresses_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/operations/_public_ip_addresses_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type public_ip_address_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2015_06_15.models.PublicIPAddress :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PublicIPAddress or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/operations/_route_tables_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/operations/_route_tables_operations.py index 0b0377fc0b0c..b36e0683c439 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/operations/_route_tables_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/operations/_route_tables_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2015_06_15.models.RouteTable :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteTable or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/operations/_routes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/operations/_routes_operations.py index 9a4f27900fb5..c176e91d8910 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/operations/_routes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/operations/_routes_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type route_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -306,8 +306,8 @@ def begin_create_or_update( :type route_parameters: ~azure.mgmt.network.v2015_06_15.models.Route :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Route or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/operations/_security_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/operations/_security_rules_operations.py index e17d6de61889..afcbb0fecee4 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/operations/_security_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/operations/_security_rules_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type security_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type security_rule_parameters: ~azure.mgmt.network.v2015_06_15.models.SecurityRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either SecurityRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/operations/_subnets_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/operations/_subnets_operations.py index 365dca94b6c4..6dbb6dce7900 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/operations/_subnets_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/operations/_subnets_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type subnet_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -311,8 +311,8 @@ def begin_create_or_update( :type subnet_parameters: ~azure.mgmt.network.v2015_06_15.models.Subnet :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Subnet or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/operations/_virtual_network_gateway_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/operations/_virtual_network_gateway_connections_operations.py index 06c9fb96139f..1c62e0a67b59 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/operations/_virtual_network_gateway_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/operations/_virtual_network_gateway_connections_operations.py @@ -125,8 +125,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2015_06_15.models.VirtualNetworkGatewayConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -298,8 +298,8 @@ def begin_delete( :type virtual_network_gateway_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -498,8 +498,8 @@ def begin_reset_shared_key( :type parameters: ~azure.mgmt.network.v2015_06_15.models.ConnectionResetSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionResetSharedKey or the result of cls(response) @@ -631,8 +631,8 @@ def begin_set_shared_key( :type parameters: ~azure.mgmt.network.v2015_06_15.models.ConnectionSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionSharedKey or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/operations/_virtual_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/operations/_virtual_network_gateways_operations.py index 57a5b7aee5e1..3f370a7df84c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/operations/_virtual_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/operations/_virtual_network_gateways_operations.py @@ -123,8 +123,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2015_06_15.models.VirtualNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -294,8 +294,8 @@ def begin_delete( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -490,8 +490,8 @@ def begin_reset( :type parameters: ~azure.mgmt.network.v2015_06_15.models.VirtualNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -618,8 +618,8 @@ def begin_generatevpnclientpackage( :type parameters: ~azure.mgmt.network.v2015_06_15.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/operations/_virtual_networks_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/operations/_virtual_networks_operations.py index 57289fc5d814..2d791a39afc9 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/operations/_virtual_networks_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2015_06_15/operations/_virtual_networks_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type virtual_network_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2015_06_15.models.VirtualNetwork :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetwork or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/_metadata.json b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/_metadata.json index 399d3d04d620..abec5ee91d34 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/_metadata.json +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/_metadata.json @@ -9,7 +9,9 @@ "custom_base_url": null, "azure_arm": true, "has_lro_operations": true, - "client_side_validation": true + "client_side_validation": false, + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"NetworkManagementClientConfiguration\"], \"._operations_mixin\": [\"NetworkManagementClientOperationsMixin\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"NetworkManagementClientConfiguration\"], \"._operations_mixin\": [\"NetworkManagementClientOperationsMixin\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}" }, "global_parameters": { "sync": { @@ -28,13 +30,13 @@ }, "async": { "credential": { - "signature": "credential, # type: \"AsyncTokenCredential\"", + "signature": "credential: \"AsyncTokenCredential\",", "description": "Credential needed for the client to connect to Azure.", "docstring_type": "~azure.core.credentials_async.AsyncTokenCredential", "required": true }, "subscription_id": { - "signature": "subscription_id, # type: str", + "signature": "subscription_id: str,", "description": "The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.", "docstring_type": "str", "required": true @@ -42,14 +44,58 @@ }, "constant": { }, - "call": "credential, subscription_id" + "call": "credential, subscription_id", + "service_client_specific": { + "sync": { + "api_version": { + "signature": "api_version=None, # type: Optional[str]", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url=None, # type: Optional[str]", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile=KnownProfiles.default, # type: KnownProfiles", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + }, + "async": { + "api_version": { + "signature": "api_version: Optional[str] = None,", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url: Optional[str] = None,", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile: KnownProfiles = KnownProfiles.default,", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + } + } }, "config": { "credential": true, "credential_scopes": ["https://management.azure.com/.default"], "credential_default_policy_type": "BearerTokenCredentialPolicy", "credential_default_policy_type_has_async_version": true, - "credential_key_header_name": null + "credential_key_header_name": null, + "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMHttpLoggingPolicy\"]}, \"local\": {\"._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}}", + "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMHttpLoggingPolicy\"]}, \"local\": {\".._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}}" }, "operation_groups": { "network_interfaces": "NetworkInterfacesOperations", @@ -75,19 +121,21 @@ "local_network_gateways": "LocalNetworkGatewaysOperations" }, "operation_mixins": { - "check_dns_name_availability" : { - "sync": { - "signature": "def check_dns_name_availability(\n self,\n location, # type: str\n domain_name_label=None, # type: Optional[str]\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Checks whether a domain name in the cloudapp.net zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2016_09_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def check_dns_name_availability(\n self,\n location: str,\n domain_name_label: Optional[str] = None,\n **kwargs\n) -\u003e \"_models.DnsNameAvailabilityResult\":\n", - "doc": "\"\"\"Checks whether a domain name in the cloudapp.net zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2016_09_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "location, domain_name_label" + "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\"]}}}", + "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\"]}}}", + "operations": { + "check_dns_name_availability" : { + "sync": { + "signature": "def check_dns_name_availability(\n self,\n location, # type: str\n domain_name_label=None, # type: Optional[str]\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Checks whether a domain name in the cloudapp.net zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2016_09_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def check_dns_name_availability(\n self,\n location: str,\n domain_name_label: Optional[str] = None,\n **kwargs\n) -\u003e \"_models.DnsNameAvailabilityResult\":\n", + "doc": "\"\"\"Checks whether a domain name in the cloudapp.net zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2016_09_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "location, domain_name_label" + } } - }, - "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\"]}}}", - "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\"]}}}" + } } \ No newline at end of file diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/_network_management_client.py index 5ec7e1bc20a3..0aa222bfb298 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/_network_management_client.py @@ -16,6 +16,7 @@ from typing import Any, Optional from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse from ._configuration import NetworkManagementClientConfiguration from .operations import NetworkInterfacesOperations @@ -111,6 +112,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.network_interfaces = NetworkInterfacesOperations( @@ -156,6 +158,24 @@ def __init__( self.local_network_gateways = LocalNetworkGatewaysOperations( self._client, self._config, self._serialize, self._deserialize) + def _send_request(self, http_request, **kwargs): + # type: (HttpRequest, Any) -> HttpResponse + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.HttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + def close(self): # type: () -> None self._client.close() diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/aio/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/aio/_network_management_client.py index fec2c4dabb35..e5635d8e96ca 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/aio/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/aio/_network_management_client.py @@ -8,6 +8,7 @@ from typing import Any, Optional, TYPE_CHECKING +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core import AsyncARMPipelineClient from msrest import Deserializer, Serializer @@ -108,6 +109,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.network_interfaces = NetworkInterfacesOperations( @@ -153,6 +155,23 @@ def __init__( self.local_network_gateways = LocalNetworkGatewaysOperations( self._client, self._config, self._serialize, self._deserialize) + async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + async def close(self) -> None: await self._client.close() diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/aio/operations/_application_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/aio/operations/_application_gateways_operations.py index 39762775d530..d4c5de86fda6 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/aio/operations/_application_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/aio/operations/_application_gateways_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2016_09_01.models.ApplicationGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGateway or the result of cls(response) @@ -527,8 +527,8 @@ async def begin_start( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -633,8 +633,8 @@ async def begin_stop( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -752,8 +752,8 @@ async def begin_backend_health( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGatewayBackendHealth or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/aio/operations/_express_route_circuit_authorizations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/aio/operations/_express_route_circuit_authorizations_operations.py index 01baa391c3d9..934fafc6deaf 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/aio/operations/_express_route_circuit_authorizations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/aio/operations/_express_route_circuit_authorizations_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type authorization_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type authorization_parameters: ~azure.mgmt.network.v2016_09_01.models.ExpressRouteCircuitAuthorization :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitAuthorization or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/aio/operations/_express_route_circuit_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/aio/operations/_express_route_circuit_peerings_operations.py index c769dbefcee3..7e49993ee762 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/aio/operations/_express_route_circuit_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/aio/operations/_express_route_circuit_peerings_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2016_09_01.models.ExpressRouteCircuitPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/aio/operations/_express_route_circuits_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/aio/operations/_express_route_circuits_operations.py index 40a1ca85a1ad..7063465a5218 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/aio/operations/_express_route_circuits_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/aio/operations/_express_route_circuits_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type circuit_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2016_09_01.models.ExpressRouteCircuit :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -409,8 +409,8 @@ async def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -540,8 +540,8 @@ async def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) @@ -671,8 +671,8 @@ async def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableSummaryListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/aio/operations/_load_balancers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/aio/operations/_load_balancers_operations.py index f5e00cdcc29f..9cd620241cc8 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/aio/operations/_load_balancers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/aio/operations/_load_balancers_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type load_balancer_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2016_09_01.models.LoadBalancer :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LoadBalancer or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/aio/operations/_local_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/aio/operations/_local_network_gateways_operations.py index 4ab43661d9a0..ad06ae379af8 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/aio/operations/_local_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/aio/operations/_local_network_gateways_operations.py @@ -117,8 +117,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2016_09_01.models.LocalNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LocalNetworkGateway or the result of cls(response) @@ -285,8 +285,8 @@ async def begin_delete( :type local_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/aio/operations/_network_interfaces_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/aio/operations/_network_interfaces_operations.py index 92d28e0d79a2..bd5c2b52a119 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/aio/operations/_network_interfaces_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/aio/operations/_network_interfaces_operations.py @@ -323,8 +323,8 @@ async def begin_delete( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -510,8 +510,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2016_09_01.models.NetworkInterface :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkInterface or the result of cls(response) @@ -763,8 +763,8 @@ async def begin_get_effective_route_table( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either EffectiveRouteListResult or the result of cls(response) @@ -879,8 +879,8 @@ async def begin_list_effective_network_security_groups( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either EffectiveNetworkSecurityGroupListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/aio/operations/_network_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/aio/operations/_network_security_groups_operations.py index af314c70b75a..a8a606d80151 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/aio/operations/_network_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/aio/operations/_network_security_groups_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type network_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -287,8 +287,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2016_09_01.models.NetworkSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/aio/operations/_network_watchers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/aio/operations/_network_watchers_operations.py index e9a52e607548..f69a83480e0e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/aio/operations/_network_watchers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/aio/operations/_network_watchers_operations.py @@ -227,8 +227,8 @@ async def begin_delete( :type network_watcher_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -553,8 +553,8 @@ async def begin_verify_ip_flow( :type parameters: ~azure.mgmt.network.v2016_09_01.models.VerificationIPFlowParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VerificationIPFlowResult or the result of cls(response) @@ -681,8 +681,8 @@ async def begin_get_next_hop( :type parameters: ~azure.mgmt.network.v2016_09_01.models.NextHopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NextHopResult or the result of cls(response) @@ -809,8 +809,8 @@ async def begin_get_vm_security_rules( :type parameters: ~azure.mgmt.network.v2016_09_01.models.SecurityGroupViewParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either SecurityGroupViewResult or the result of cls(response) @@ -937,8 +937,8 @@ async def begin_get_troubleshooting( :type parameters: ~azure.mgmt.network.v2016_09_01.models.TroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1065,8 +1065,8 @@ async def begin_get_troubleshooting_result( :type parameters: ~azure.mgmt.network.v2016_09_01.models.QueryTroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1193,8 +1193,8 @@ async def begin_set_flow_log_configuration( :type parameters: ~azure.mgmt.network.v2016_09_01.models.FlowLogInformation :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1321,8 +1321,8 @@ async def begin_get_flow_log_status( :type parameters: ~azure.mgmt.network.v2016_09_01.models.FlowLogStatusParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FlowLogInformation or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/aio/operations/_packet_captures_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/aio/operations/_packet_captures_operations.py index 1dfc9e7c4b19..bf131db1a082 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/aio/operations/_packet_captures_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/aio/operations/_packet_captures_operations.py @@ -118,8 +118,8 @@ async def begin_create( :type parameters: ~azure.mgmt.network.v2016_09_01.models.PacketCapture :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PacketCaptureResult or the result of cls(response) @@ -297,8 +297,8 @@ async def begin_delete( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_stop( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -532,8 +532,8 @@ async def begin_get_status( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PacketCaptureQueryStatusResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/aio/operations/_public_ip_addresses_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/aio/operations/_public_ip_addresses_operations.py index 205a60bed47c..389318552c28 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/aio/operations/_public_ip_addresses_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/aio/operations/_public_ip_addresses_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type public_ip_address_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2016_09_01.models.PublicIPAddress :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PublicIPAddress or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/aio/operations/_route_tables_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/aio/operations/_route_tables_operations.py index 44c3d48a1e3c..cc03ff8311bc 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/aio/operations/_route_tables_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/aio/operations/_route_tables_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2016_09_01.models.RouteTable :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteTable or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/aio/operations/_routes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/aio/operations/_routes_operations.py index f309eb0ce0a6..e1096a5b3729 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/aio/operations/_routes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/aio/operations/_routes_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type route_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ async def begin_create_or_update( :type route_parameters: ~azure.mgmt.network.v2016_09_01.models.Route :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Route or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/aio/operations/_security_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/aio/operations/_security_rules_operations.py index dc51f3eddfe1..706c597ed78d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/aio/operations/_security_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/aio/operations/_security_rules_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type security_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type security_rule_parameters: ~azure.mgmt.network.v2016_09_01.models.SecurityRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either SecurityRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/aio/operations/_subnets_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/aio/operations/_subnets_operations.py index 7b7bd71a9fd8..ad21b9d9bc16 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/aio/operations/_subnets_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/aio/operations/_subnets_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type subnet_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -302,8 +302,8 @@ async def begin_create_or_update( :type subnet_parameters: ~azure.mgmt.network.v2016_09_01.models.Subnet :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Subnet or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/aio/operations/_virtual_network_gateway_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/aio/operations/_virtual_network_gateway_connections_operations.py index 01db17ee8369..47f090ddad3c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/aio/operations/_virtual_network_gateway_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/aio/operations/_virtual_network_gateway_connections_operations.py @@ -119,8 +119,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2016_09_01.models.VirtualNetworkGatewayConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -289,8 +289,8 @@ async def begin_delete( :type virtual_network_gateway_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -416,8 +416,8 @@ async def begin_set_shared_key( :type parameters: ~azure.mgmt.network.v2016_09_01.models.ConnectionSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionSharedKey or the result of cls(response) @@ -677,8 +677,8 @@ async def begin_reset_shared_key( :type parameters: ~azure.mgmt.network.v2016_09_01.models.ConnectionResetSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionResetSharedKey or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/aio/operations/_virtual_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/aio/operations/_virtual_network_gateways_operations.py index c68ed65c7fa6..3fc2ce1430ff 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/aio/operations/_virtual_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/aio/operations/_virtual_network_gateways_operations.py @@ -117,8 +117,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2016_09_01.models.VirtualNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -285,8 +285,8 @@ async def begin_delete( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -475,8 +475,8 @@ async def begin_reset( :type gateway_vip: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -601,8 +601,8 @@ async def begin_generatevpnclientpackage( :type parameters: ~azure.mgmt.network.v2016_09_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -724,8 +724,8 @@ async def begin_get_bgp_peer_status( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either BgpPeerStatusListResult or the result of cls(response) @@ -842,8 +842,8 @@ async def begin_get_learned_routes( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -964,8 +964,8 @@ async def begin_get_advertised_routes( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either GatewayRouteListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/aio/operations/_virtual_network_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/aio/operations/_virtual_network_peerings_operations.py index 2042fc8f1c4a..74ee34a0b89e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/aio/operations/_virtual_network_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/aio/operations/_virtual_network_peerings_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type virtual_network_peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type virtual_network_peering_parameters: ~azure.mgmt.network.v2016_09_01.models.VirtualNetworkPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/aio/operations/_virtual_networks_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/aio/operations/_virtual_networks_operations.py index 3665e2f0523e..5216656a5998 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/aio/operations/_virtual_networks_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/aio/operations/_virtual_networks_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type virtual_network_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2016_09_01.models.VirtualNetwork :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetwork or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/models/_models.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/models/_models.py index a9b8274f23e5..78395ba9cfa1 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/models/_models.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/models/_models.py @@ -3788,8 +3788,8 @@ class PacketCaptureStorageLocation(msrest.serialization.Model): :param storage_id: The ID of the storage account to save the packet capture session. Required if no local file path is provided. :type storage_id: str - :param storage_path: The URI of the storage path to save the packet capture. Must be a well- - formed URI describing the location to save the packet capture. + :param storage_path: The URI of the storage path to save the packet capture. Must be a + well-formed URI describing the location to save the packet capture. :type storage_path: str :param file_path: A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/models/_models_py3.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/models/_models_py3.py index 079affe7adae..3256c60074db 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/models/_models_py3.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/models/_models_py3.py @@ -4338,8 +4338,8 @@ class PacketCaptureStorageLocation(msrest.serialization.Model): :param storage_id: The ID of the storage account to save the packet capture session. Required if no local file path is provided. :type storage_id: str - :param storage_path: The URI of the storage path to save the packet capture. Must be a well- - formed URI describing the location to save the packet capture. + :param storage_path: The URI of the storage path to save the packet capture. Must be a + well-formed URI describing the location to save the packet capture. :type storage_path: str :param file_path: A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/operations/_application_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/operations/_application_gateways_operations.py index a65c9a138093..25e6a5569fd2 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/operations/_application_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/operations/_application_gateways_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2016_09_01.models.ApplicationGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGateway or the result of cls(response) @@ -540,8 +540,8 @@ def begin_start( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -648,8 +648,8 @@ def begin_stop( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -769,8 +769,8 @@ def begin_backend_health( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGatewayBackendHealth or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/operations/_express_route_circuit_authorizations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/operations/_express_route_circuit_authorizations_operations.py index d9d75432d939..bfa8448c6abc 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/operations/_express_route_circuit_authorizations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/operations/_express_route_circuit_authorizations_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type authorization_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type authorization_parameters: ~azure.mgmt.network.v2016_09_01.models.ExpressRouteCircuitAuthorization :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitAuthorization or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/operations/_express_route_circuit_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/operations/_express_route_circuit_peerings_operations.py index eab5902dad06..70617d653a5b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/operations/_express_route_circuit_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/operations/_express_route_circuit_peerings_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2016_09_01.models.ExpressRouteCircuitPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/operations/_express_route_circuits_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/operations/_express_route_circuits_operations.py index 7a2fd63f5282..315b424fc4ce 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/operations/_express_route_circuits_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/operations/_express_route_circuits_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type circuit_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2016_09_01.models.ExpressRouteCircuit :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -420,8 +420,8 @@ def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -553,8 +553,8 @@ def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) @@ -686,8 +686,8 @@ def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableSummaryListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/operations/_load_balancers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/operations/_load_balancers_operations.py index 3a2b8d1a215c..d347295a2591 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/operations/_load_balancers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/operations/_load_balancers_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type load_balancer_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2016_09_01.models.LoadBalancer :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LoadBalancer or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/operations/_local_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/operations/_local_network_gateways_operations.py index a988170c2468..81980d071e49 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/operations/_local_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/operations/_local_network_gateways_operations.py @@ -123,8 +123,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2016_09_01.models.LocalNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LocalNetworkGateway or the result of cls(response) @@ -294,8 +294,8 @@ def begin_delete( :type local_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/operations/_network_interfaces_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/operations/_network_interfaces_operations.py index ca037d7b5965..2d128958ce95 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/operations/_network_interfaces_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/operations/_network_interfaces_operations.py @@ -332,8 +332,8 @@ def begin_delete( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -522,8 +522,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2016_09_01.models.NetworkInterface :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkInterface or the result of cls(response) @@ -779,8 +779,8 @@ def begin_get_effective_route_table( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either EffectiveRouteListResult or the result of cls(response) @@ -897,8 +897,8 @@ def begin_list_effective_network_security_groups( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either EffectiveNetworkSecurityGroupListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/operations/_network_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/operations/_network_security_groups_operations.py index 4876a406bb1b..96ce8def4bee 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/operations/_network_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/operations/_network_security_groups_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type network_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -296,8 +296,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2016_09_01.models.NetworkSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/operations/_network_watchers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/operations/_network_watchers_operations.py index 90d94af35d22..65271f9ec47b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/operations/_network_watchers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/operations/_network_watchers_operations.py @@ -235,8 +235,8 @@ def begin_delete( :type network_watcher_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -566,8 +566,8 @@ def begin_verify_ip_flow( :type parameters: ~azure.mgmt.network.v2016_09_01.models.VerificationIPFlowParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VerificationIPFlowResult or the result of cls(response) @@ -696,8 +696,8 @@ def begin_get_next_hop( :type parameters: ~azure.mgmt.network.v2016_09_01.models.NextHopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NextHopResult or the result of cls(response) @@ -826,8 +826,8 @@ def begin_get_vm_security_rules( :type parameters: ~azure.mgmt.network.v2016_09_01.models.SecurityGroupViewParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either SecurityGroupViewResult or the result of cls(response) @@ -956,8 +956,8 @@ def begin_get_troubleshooting( :type parameters: ~azure.mgmt.network.v2016_09_01.models.TroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1086,8 +1086,8 @@ def begin_get_troubleshooting_result( :type parameters: ~azure.mgmt.network.v2016_09_01.models.QueryTroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1216,8 +1216,8 @@ def begin_set_flow_log_configuration( :type parameters: ~azure.mgmt.network.v2016_09_01.models.FlowLogInformation :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1346,8 +1346,8 @@ def begin_get_flow_log_status( :type parameters: ~azure.mgmt.network.v2016_09_01.models.FlowLogStatusParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FlowLogInformation or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/operations/_packet_captures_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/operations/_packet_captures_operations.py index 487d6e9904b5..27bdaa70ffd3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/operations/_packet_captures_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/operations/_packet_captures_operations.py @@ -124,8 +124,8 @@ def begin_create( :type parameters: ~azure.mgmt.network.v2016_09_01.models.PacketCapture :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PacketCaptureResult or the result of cls(response) @@ -306,8 +306,8 @@ def begin_delete( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -421,8 +421,8 @@ def begin_stop( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -545,8 +545,8 @@ def begin_get_status( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PacketCaptureQueryStatusResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/operations/_public_ip_addresses_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/operations/_public_ip_addresses_operations.py index e01a61a061ac..5e163783d551 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/operations/_public_ip_addresses_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/operations/_public_ip_addresses_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type public_ip_address_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2016_09_01.models.PublicIPAddress :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PublicIPAddress or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/operations/_route_tables_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/operations/_route_tables_operations.py index e4cd7a0c0c8e..a651c6e4b200 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/operations/_route_tables_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/operations/_route_tables_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2016_09_01.models.RouteTable :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteTable or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/operations/_routes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/operations/_routes_operations.py index 6cae56317506..d8469b2b29b8 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/operations/_routes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/operations/_routes_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type route_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -306,8 +306,8 @@ def begin_create_or_update( :type route_parameters: ~azure.mgmt.network.v2016_09_01.models.Route :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Route or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/operations/_security_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/operations/_security_rules_operations.py index dc313e304343..3fa48ea0d736 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/operations/_security_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/operations/_security_rules_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type security_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type security_rule_parameters: ~azure.mgmt.network.v2016_09_01.models.SecurityRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either SecurityRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/operations/_subnets_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/operations/_subnets_operations.py index 161312d56956..d857d4dfd0e4 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/operations/_subnets_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/operations/_subnets_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type subnet_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -311,8 +311,8 @@ def begin_create_or_update( :type subnet_parameters: ~azure.mgmt.network.v2016_09_01.models.Subnet :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Subnet or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/operations/_virtual_network_gateway_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/operations/_virtual_network_gateway_connections_operations.py index a110ba16b4f7..cf9685764269 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/operations/_virtual_network_gateway_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/operations/_virtual_network_gateway_connections_operations.py @@ -125,8 +125,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2016_09_01.models.VirtualNetworkGatewayConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -298,8 +298,8 @@ def begin_delete( :type virtual_network_gateway_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -427,8 +427,8 @@ def begin_set_shared_key( :type parameters: ~azure.mgmt.network.v2016_09_01.models.ConnectionSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionSharedKey or the result of cls(response) @@ -692,8 +692,8 @@ def begin_reset_shared_key( :type parameters: ~azure.mgmt.network.v2016_09_01.models.ConnectionResetSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionResetSharedKey or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/operations/_virtual_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/operations/_virtual_network_gateways_operations.py index ca0e6ef08a7f..a1b65e936d28 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/operations/_virtual_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/operations/_virtual_network_gateways_operations.py @@ -123,8 +123,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2016_09_01.models.VirtualNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -294,8 +294,8 @@ def begin_delete( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -487,8 +487,8 @@ def begin_reset( :type gateway_vip: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -615,8 +615,8 @@ def begin_generatevpnclientpackage( :type parameters: ~azure.mgmt.network.v2016_09_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -740,8 +740,8 @@ def begin_get_bgp_peer_status( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either BgpPeerStatusListResult or the result of cls(response) @@ -860,8 +860,8 @@ def begin_get_learned_routes( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -984,8 +984,8 @@ def begin_get_advertised_routes( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either GatewayRouteListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/operations/_virtual_network_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/operations/_virtual_network_peerings_operations.py index af2cebba1d42..79ea31c5cdad 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/operations/_virtual_network_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/operations/_virtual_network_peerings_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type virtual_network_peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type virtual_network_peering_parameters: ~azure.mgmt.network.v2016_09_01.models.VirtualNetworkPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/operations/_virtual_networks_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/operations/_virtual_networks_operations.py index 125499d1b492..aab8a0c38629 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/operations/_virtual_networks_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_09_01/operations/_virtual_networks_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type virtual_network_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2016_09_01.models.VirtualNetwork :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetwork or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/_metadata.json b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/_metadata.json index b3b8643e6335..cef2897e27f0 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/_metadata.json +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/_metadata.json @@ -9,7 +9,9 @@ "custom_base_url": null, "azure_arm": true, "has_lro_operations": true, - "client_side_validation": true + "client_side_validation": false, + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"NetworkManagementClientConfiguration\"], \"._operations_mixin\": [\"NetworkManagementClientOperationsMixin\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"NetworkManagementClientConfiguration\"], \"._operations_mixin\": [\"NetworkManagementClientOperationsMixin\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}" }, "global_parameters": { "sync": { @@ -28,13 +30,13 @@ }, "async": { "credential": { - "signature": "credential, # type: \"AsyncTokenCredential\"", + "signature": "credential: \"AsyncTokenCredential\",", "description": "Credential needed for the client to connect to Azure.", "docstring_type": "~azure.core.credentials_async.AsyncTokenCredential", "required": true }, "subscription_id": { - "signature": "subscription_id, # type: str", + "signature": "subscription_id: str,", "description": "The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.", "docstring_type": "str", "required": true @@ -42,14 +44,58 @@ }, "constant": { }, - "call": "credential, subscription_id" + "call": "credential, subscription_id", + "service_client_specific": { + "sync": { + "api_version": { + "signature": "api_version=None, # type: Optional[str]", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url=None, # type: Optional[str]", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile=KnownProfiles.default, # type: KnownProfiles", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + }, + "async": { + "api_version": { + "signature": "api_version: Optional[str] = None,", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url: Optional[str] = None,", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile: KnownProfiles = KnownProfiles.default,", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + } + } }, "config": { "credential": true, "credential_scopes": ["https://management.azure.com/.default"], "credential_default_policy_type": "BearerTokenCredentialPolicy", "credential_default_policy_type_has_async_version": true, - "credential_key_header_name": null + "credential_key_header_name": null, + "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMHttpLoggingPolicy\"]}, \"local\": {\"._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}}", + "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMHttpLoggingPolicy\"]}, \"local\": {\".._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}}" }, "operation_groups": { "network_interfaces": "NetworkInterfacesOperations", @@ -78,19 +124,21 @@ "local_network_gateways": "LocalNetworkGatewaysOperations" }, "operation_mixins": { - "check_dns_name_availability" : { - "sync": { - "signature": "def check_dns_name_availability(\n self,\n location, # type: str\n domain_name_label=None, # type: Optional[str]\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Checks whether a domain name in the cloudapp.net zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2016_12_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def check_dns_name_availability(\n self,\n location: str,\n domain_name_label: Optional[str] = None,\n **kwargs\n) -\u003e \"_models.DnsNameAvailabilityResult\":\n", - "doc": "\"\"\"Checks whether a domain name in the cloudapp.net zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2016_12_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "location, domain_name_label" + "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\"]}}}", + "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\"]}}}", + "operations": { + "check_dns_name_availability" : { + "sync": { + "signature": "def check_dns_name_availability(\n self,\n location, # type: str\n domain_name_label=None, # type: Optional[str]\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Checks whether a domain name in the cloudapp.net zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2016_12_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def check_dns_name_availability(\n self,\n location: str,\n domain_name_label: Optional[str] = None,\n **kwargs\n) -\u003e \"_models.DnsNameAvailabilityResult\":\n", + "doc": "\"\"\"Checks whether a domain name in the cloudapp.net zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2016_12_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "location, domain_name_label" + } } - }, - "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\"]}}}", - "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\"]}}}" + } } \ No newline at end of file diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/_network_management_client.py index 7f349584e790..ba51530cef62 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/_network_management_client.py @@ -16,6 +16,7 @@ from typing import Any, Optional from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse from ._configuration import NetworkManagementClientConfiguration from .operations import NetworkInterfacesOperations @@ -120,6 +121,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.network_interfaces = NetworkInterfacesOperations( @@ -171,6 +173,24 @@ def __init__( self.local_network_gateways = LocalNetworkGatewaysOperations( self._client, self._config, self._serialize, self._deserialize) + def _send_request(self, http_request, **kwargs): + # type: (HttpRequest, Any) -> HttpResponse + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.HttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + def close(self): # type: () -> None self._client.close() diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/_network_management_client.py index 2e6ae4d1da9f..bef7d57360dd 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/_network_management_client.py @@ -8,6 +8,7 @@ from typing import Any, Optional, TYPE_CHECKING +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core import AsyncARMPipelineClient from msrest import Deserializer, Serializer @@ -117,6 +118,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.network_interfaces = NetworkInterfacesOperations( @@ -168,6 +170,23 @@ def __init__( self.local_network_gateways = LocalNetworkGatewaysOperations( self._client, self._config, self._serialize, self._deserialize) + async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + async def close(self) -> None: await self._client.close() diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/operations/_application_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/operations/_application_gateways_operations.py index 5a280e5e02ba..76c4df6f07b3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/operations/_application_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/operations/_application_gateways_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2016_12_01.models.ApplicationGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGateway or the result of cls(response) @@ -527,8 +527,8 @@ async def begin_start( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -633,8 +633,8 @@ async def begin_stop( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -752,8 +752,8 @@ async def begin_backend_health( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGatewayBackendHealth or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/operations/_express_route_circuit_authorizations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/operations/_express_route_circuit_authorizations_operations.py index 432e020c443c..9b3113026ca8 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/operations/_express_route_circuit_authorizations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/operations/_express_route_circuit_authorizations_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type authorization_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type authorization_parameters: ~azure.mgmt.network.v2016_12_01.models.ExpressRouteCircuitAuthorization :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitAuthorization or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/operations/_express_route_circuit_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/operations/_express_route_circuit_peerings_operations.py index 0d3f4398afd6..4931121776dd 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/operations/_express_route_circuit_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/operations/_express_route_circuit_peerings_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2016_12_01.models.ExpressRouteCircuitPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/operations/_express_route_circuits_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/operations/_express_route_circuits_operations.py index 2a1f5b8160cb..aab4fb82927e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/operations/_express_route_circuits_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/operations/_express_route_circuits_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type circuit_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2016_12_01.models.ExpressRouteCircuit :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -409,8 +409,8 @@ async def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -540,8 +540,8 @@ async def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) @@ -671,8 +671,8 @@ async def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableSummaryListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/operations/_load_balancers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/operations/_load_balancers_operations.py index c4deae5e0ccc..992fe0986ec0 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/operations/_load_balancers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/operations/_load_balancers_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type load_balancer_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2016_12_01.models.LoadBalancer :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LoadBalancer or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/operations/_local_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/operations/_local_network_gateways_operations.py index 4f7be14ed18e..e3fa4410a36f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/operations/_local_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/operations/_local_network_gateways_operations.py @@ -117,8 +117,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2016_12_01.models.LocalNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LocalNetworkGateway or the result of cls(response) @@ -285,8 +285,8 @@ async def begin_delete( :type local_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/operations/_network_interfaces_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/operations/_network_interfaces_operations.py index bb911f4a94c1..1d82b06f41a7 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/operations/_network_interfaces_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/operations/_network_interfaces_operations.py @@ -323,8 +323,8 @@ async def begin_delete( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -510,8 +510,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2016_12_01.models.NetworkInterface :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkInterface or the result of cls(response) @@ -763,8 +763,8 @@ async def begin_get_effective_route_table( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either EffectiveRouteListResult or the result of cls(response) @@ -879,8 +879,8 @@ async def begin_list_effective_network_security_groups( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either EffectiveNetworkSecurityGroupListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/operations/_network_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/operations/_network_security_groups_operations.py index f5cab535d146..bdb4da8e0629 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/operations/_network_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/operations/_network_security_groups_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type network_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -287,8 +287,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2016_12_01.models.NetworkSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/operations/_network_watchers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/operations/_network_watchers_operations.py index 818bd0badae8..37cb0cd0e267 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/operations/_network_watchers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/operations/_network_watchers_operations.py @@ -227,8 +227,8 @@ async def begin_delete( :type network_watcher_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -553,8 +553,8 @@ async def begin_verify_ip_flow( :type parameters: ~azure.mgmt.network.v2016_12_01.models.VerificationIPFlowParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VerificationIPFlowResult or the result of cls(response) @@ -681,8 +681,8 @@ async def begin_get_next_hop( :type parameters: ~azure.mgmt.network.v2016_12_01.models.NextHopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NextHopResult or the result of cls(response) @@ -809,8 +809,8 @@ async def begin_get_vm_security_rules( :type parameters: ~azure.mgmt.network.v2016_12_01.models.SecurityGroupViewParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either SecurityGroupViewResult or the result of cls(response) @@ -937,8 +937,8 @@ async def begin_get_troubleshooting( :type parameters: ~azure.mgmt.network.v2016_12_01.models.TroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1065,8 +1065,8 @@ async def begin_get_troubleshooting_result( :type parameters: ~azure.mgmt.network.v2016_12_01.models.QueryTroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1193,8 +1193,8 @@ async def begin_set_flow_log_configuration( :type parameters: ~azure.mgmt.network.v2016_12_01.models.FlowLogInformation :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1321,8 +1321,8 @@ async def begin_get_flow_log_status( :type parameters: ~azure.mgmt.network.v2016_12_01.models.FlowLogStatusParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FlowLogInformation or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/operations/_packet_captures_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/operations/_packet_captures_operations.py index 0a4e5114c137..3d30e949e4f6 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/operations/_packet_captures_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/operations/_packet_captures_operations.py @@ -118,8 +118,8 @@ async def begin_create( :type parameters: ~azure.mgmt.network.v2016_12_01.models.PacketCapture :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PacketCaptureResult or the result of cls(response) @@ -297,8 +297,8 @@ async def begin_delete( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_stop( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -532,8 +532,8 @@ async def begin_get_status( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PacketCaptureQueryStatusResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/operations/_public_ip_addresses_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/operations/_public_ip_addresses_operations.py index 9f4566c238df..18f6b0d4c84d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/operations/_public_ip_addresses_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/operations/_public_ip_addresses_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type public_ip_address_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2016_12_01.models.PublicIPAddress :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PublicIPAddress or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/operations/_route_filter_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/operations/_route_filter_rules_operations.py index c40005f17476..8990077877e0 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/operations/_route_filter_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/operations/_route_filter_rules_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2016_12_01.models.RouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilterRule or the result of cls(response) @@ -430,8 +430,8 @@ async def begin_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2016_12_01.models.PatchRouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilterRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/operations/_route_filters_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/operations/_route_filters_operations.py index 3e5722436172..31bea1589b15 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/operations/_route_filters_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/operations/_route_filters_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type route_filter_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -287,8 +287,8 @@ async def begin_create_or_update( :type route_filter_parameters: ~azure.mgmt.network.v2016_12_01.models.RouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilter or the result of cls(response) @@ -411,8 +411,8 @@ async def begin_update( :type route_filter_parameters: ~azure.mgmt.network.v2016_12_01.models.PatchRouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilter or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/operations/_route_tables_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/operations/_route_tables_operations.py index 75fc36744fa1..460ce2d8be89 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/operations/_route_tables_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/operations/_route_tables_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2016_12_01.models.RouteTable :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteTable or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/operations/_routes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/operations/_routes_operations.py index 7a791c35855e..08e57a767172 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/operations/_routes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/operations/_routes_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type route_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ async def begin_create_or_update( :type route_parameters: ~azure.mgmt.network.v2016_12_01.models.Route :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Route or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/operations/_security_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/operations/_security_rules_operations.py index fecc308191ea..56182bf0be48 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/operations/_security_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/operations/_security_rules_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type security_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type security_rule_parameters: ~azure.mgmt.network.v2016_12_01.models.SecurityRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either SecurityRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/operations/_subnets_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/operations/_subnets_operations.py index 1dd3539bf9d6..5e45e86c6802 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/operations/_subnets_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/operations/_subnets_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type subnet_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -302,8 +302,8 @@ async def begin_create_or_update( :type subnet_parameters: ~azure.mgmt.network.v2016_12_01.models.Subnet :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Subnet or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/operations/_virtual_network_gateway_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/operations/_virtual_network_gateway_connections_operations.py index 45af58e46685..8d6f35394d0b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/operations/_virtual_network_gateway_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/operations/_virtual_network_gateway_connections_operations.py @@ -119,8 +119,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2016_12_01.models.VirtualNetworkGatewayConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -289,8 +289,8 @@ async def begin_delete( :type virtual_network_gateway_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -416,8 +416,8 @@ async def begin_set_shared_key( :type parameters: ~azure.mgmt.network.v2016_12_01.models.ConnectionSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionSharedKey or the result of cls(response) @@ -677,8 +677,8 @@ async def begin_reset_shared_key( :type parameters: ~azure.mgmt.network.v2016_12_01.models.ConnectionResetSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionResetSharedKey or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/operations/_virtual_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/operations/_virtual_network_gateways_operations.py index 3106ca7a96f2..a8ce586ae3de 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/operations/_virtual_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/operations/_virtual_network_gateways_operations.py @@ -117,8 +117,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2016_12_01.models.VirtualNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -285,8 +285,8 @@ async def begin_delete( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -475,8 +475,8 @@ async def begin_reset( :type gateway_vip: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -601,8 +601,8 @@ async def begin_generatevpnclientpackage( :type parameters: ~azure.mgmt.network.v2016_12_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -724,8 +724,8 @@ async def begin_get_bgp_peer_status( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either BgpPeerStatusListResult or the result of cls(response) @@ -842,8 +842,8 @@ async def begin_get_learned_routes( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -964,8 +964,8 @@ async def begin_get_advertised_routes( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either GatewayRouteListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/operations/_virtual_network_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/operations/_virtual_network_peerings_operations.py index 385871ffd845..a47658f5ab85 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/operations/_virtual_network_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/operations/_virtual_network_peerings_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type virtual_network_peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type virtual_network_peering_parameters: ~azure.mgmt.network.v2016_12_01.models.VirtualNetworkPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/operations/_virtual_networks_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/operations/_virtual_networks_operations.py index 657bede82a5e..5922766bd745 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/operations/_virtual_networks_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/aio/operations/_virtual_networks_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type virtual_network_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2016_12_01.models.VirtualNetwork :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetwork or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/models/_models.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/models/_models.py index d730c8815fc2..37a3bca9d112 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/models/_models.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/models/_models.py @@ -3939,8 +3939,8 @@ class PacketCaptureStorageLocation(msrest.serialization.Model): :param storage_id: The ID of the storage account to save the packet capture session. Required if no local file path is provided. :type storage_id: str - :param storage_path: The URI of the storage path to save the packet capture. Must be a well- - formed URI describing the location to save the packet capture. + :param storage_path: The URI of the storage path to save the packet capture. Must be a + well-formed URI describing the location to save the packet capture. :type storage_path: str :param file_path: A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/models/_models_py3.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/models/_models_py3.py index abc5abb96f18..8dbc7743bfba 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/models/_models_py3.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/models/_models_py3.py @@ -4505,8 +4505,8 @@ class PacketCaptureStorageLocation(msrest.serialization.Model): :param storage_id: The ID of the storage account to save the packet capture session. Required if no local file path is provided. :type storage_id: str - :param storage_path: The URI of the storage path to save the packet capture. Must be a well- - formed URI describing the location to save the packet capture. + :param storage_path: The URI of the storage path to save the packet capture. Must be a + well-formed URI describing the location to save the packet capture. :type storage_path: str :param file_path: A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/_application_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/_application_gateways_operations.py index 434bec143ee9..397125aee5e0 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/_application_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/_application_gateways_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2016_12_01.models.ApplicationGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGateway or the result of cls(response) @@ -540,8 +540,8 @@ def begin_start( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -648,8 +648,8 @@ def begin_stop( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -769,8 +769,8 @@ def begin_backend_health( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGatewayBackendHealth or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/_express_route_circuit_authorizations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/_express_route_circuit_authorizations_operations.py index 369181434dd2..d1f5ba117a3d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/_express_route_circuit_authorizations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/_express_route_circuit_authorizations_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type authorization_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type authorization_parameters: ~azure.mgmt.network.v2016_12_01.models.ExpressRouteCircuitAuthorization :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitAuthorization or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/_express_route_circuit_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/_express_route_circuit_peerings_operations.py index 904f2e962eb1..3c031a5e7e8d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/_express_route_circuit_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/_express_route_circuit_peerings_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2016_12_01.models.ExpressRouteCircuitPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/_express_route_circuits_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/_express_route_circuits_operations.py index 2281a11a31f7..af3611748112 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/_express_route_circuits_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/_express_route_circuits_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type circuit_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2016_12_01.models.ExpressRouteCircuit :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -420,8 +420,8 @@ def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -553,8 +553,8 @@ def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) @@ -686,8 +686,8 @@ def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableSummaryListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/_load_balancers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/_load_balancers_operations.py index bc0b5d3ee04c..b436e9f4fb02 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/_load_balancers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/_load_balancers_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type load_balancer_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2016_12_01.models.LoadBalancer :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LoadBalancer or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/_local_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/_local_network_gateways_operations.py index 1b1996d9030c..748ddd151c42 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/_local_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/_local_network_gateways_operations.py @@ -123,8 +123,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2016_12_01.models.LocalNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LocalNetworkGateway or the result of cls(response) @@ -294,8 +294,8 @@ def begin_delete( :type local_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/_network_interfaces_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/_network_interfaces_operations.py index bbca4b73e3cb..fc2d279a8f5b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/_network_interfaces_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/_network_interfaces_operations.py @@ -332,8 +332,8 @@ def begin_delete( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -522,8 +522,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2016_12_01.models.NetworkInterface :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkInterface or the result of cls(response) @@ -779,8 +779,8 @@ def begin_get_effective_route_table( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either EffectiveRouteListResult or the result of cls(response) @@ -897,8 +897,8 @@ def begin_list_effective_network_security_groups( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either EffectiveNetworkSecurityGroupListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/_network_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/_network_security_groups_operations.py index dbd6a553a478..d32312022eea 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/_network_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/_network_security_groups_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type network_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -296,8 +296,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2016_12_01.models.NetworkSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/_network_watchers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/_network_watchers_operations.py index 38d405615848..1e688f3de9d0 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/_network_watchers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/_network_watchers_operations.py @@ -235,8 +235,8 @@ def begin_delete( :type network_watcher_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -566,8 +566,8 @@ def begin_verify_ip_flow( :type parameters: ~azure.mgmt.network.v2016_12_01.models.VerificationIPFlowParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VerificationIPFlowResult or the result of cls(response) @@ -696,8 +696,8 @@ def begin_get_next_hop( :type parameters: ~azure.mgmt.network.v2016_12_01.models.NextHopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NextHopResult or the result of cls(response) @@ -826,8 +826,8 @@ def begin_get_vm_security_rules( :type parameters: ~azure.mgmt.network.v2016_12_01.models.SecurityGroupViewParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either SecurityGroupViewResult or the result of cls(response) @@ -956,8 +956,8 @@ def begin_get_troubleshooting( :type parameters: ~azure.mgmt.network.v2016_12_01.models.TroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1086,8 +1086,8 @@ def begin_get_troubleshooting_result( :type parameters: ~azure.mgmt.network.v2016_12_01.models.QueryTroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1216,8 +1216,8 @@ def begin_set_flow_log_configuration( :type parameters: ~azure.mgmt.network.v2016_12_01.models.FlowLogInformation :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1346,8 +1346,8 @@ def begin_get_flow_log_status( :type parameters: ~azure.mgmt.network.v2016_12_01.models.FlowLogStatusParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FlowLogInformation or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/_packet_captures_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/_packet_captures_operations.py index fd39780f83b2..455d3201dd9b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/_packet_captures_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/_packet_captures_operations.py @@ -124,8 +124,8 @@ def begin_create( :type parameters: ~azure.mgmt.network.v2016_12_01.models.PacketCapture :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PacketCaptureResult or the result of cls(response) @@ -306,8 +306,8 @@ def begin_delete( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -421,8 +421,8 @@ def begin_stop( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -545,8 +545,8 @@ def begin_get_status( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PacketCaptureQueryStatusResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/_public_ip_addresses_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/_public_ip_addresses_operations.py index a89c1aae719a..9c4a1885883a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/_public_ip_addresses_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/_public_ip_addresses_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type public_ip_address_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2016_12_01.models.PublicIPAddress :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PublicIPAddress or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/_route_filter_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/_route_filter_rules_operations.py index 625e74f5afd4..a1418856fdab 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/_route_filter_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/_route_filter_rules_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2016_12_01.models.RouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilterRule or the result of cls(response) @@ -441,8 +441,8 @@ def begin_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2016_12_01.models.PatchRouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilterRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/_route_filters_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/_route_filters_operations.py index f2f306cbf1fd..7e9c3fe8196d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/_route_filters_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/_route_filters_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type route_filter_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -296,8 +296,8 @@ def begin_create_or_update( :type route_filter_parameters: ~azure.mgmt.network.v2016_12_01.models.RouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilter or the result of cls(response) @@ -422,8 +422,8 @@ def begin_update( :type route_filter_parameters: ~azure.mgmt.network.v2016_12_01.models.PatchRouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilter or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/_route_tables_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/_route_tables_operations.py index 9659980d55a6..d3da5873a1c7 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/_route_tables_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/_route_tables_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2016_12_01.models.RouteTable :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteTable or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/_routes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/_routes_operations.py index 361921f0fcc2..79aa0e5d4df6 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/_routes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/_routes_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type route_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -306,8 +306,8 @@ def begin_create_or_update( :type route_parameters: ~azure.mgmt.network.v2016_12_01.models.Route :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Route or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/_security_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/_security_rules_operations.py index ef1f854e8239..229b27076a6b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/_security_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/_security_rules_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type security_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type security_rule_parameters: ~azure.mgmt.network.v2016_12_01.models.SecurityRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either SecurityRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/_subnets_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/_subnets_operations.py index b14e638d89b2..456883fd2d87 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/_subnets_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/_subnets_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type subnet_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -311,8 +311,8 @@ def begin_create_or_update( :type subnet_parameters: ~azure.mgmt.network.v2016_12_01.models.Subnet :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Subnet or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/_virtual_network_gateway_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/_virtual_network_gateway_connections_operations.py index 26af0a021981..3817df7b6237 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/_virtual_network_gateway_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/_virtual_network_gateway_connections_operations.py @@ -125,8 +125,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2016_12_01.models.VirtualNetworkGatewayConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -298,8 +298,8 @@ def begin_delete( :type virtual_network_gateway_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -427,8 +427,8 @@ def begin_set_shared_key( :type parameters: ~azure.mgmt.network.v2016_12_01.models.ConnectionSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionSharedKey or the result of cls(response) @@ -692,8 +692,8 @@ def begin_reset_shared_key( :type parameters: ~azure.mgmt.network.v2016_12_01.models.ConnectionResetSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionResetSharedKey or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/_virtual_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/_virtual_network_gateways_operations.py index 3bb4f759d2e5..7f804d7a9673 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/_virtual_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/_virtual_network_gateways_operations.py @@ -123,8 +123,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2016_12_01.models.VirtualNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -294,8 +294,8 @@ def begin_delete( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -487,8 +487,8 @@ def begin_reset( :type gateway_vip: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -615,8 +615,8 @@ def begin_generatevpnclientpackage( :type parameters: ~azure.mgmt.network.v2016_12_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -740,8 +740,8 @@ def begin_get_bgp_peer_status( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either BgpPeerStatusListResult or the result of cls(response) @@ -860,8 +860,8 @@ def begin_get_learned_routes( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -984,8 +984,8 @@ def begin_get_advertised_routes( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either GatewayRouteListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/_virtual_network_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/_virtual_network_peerings_operations.py index 36788e501954..bcf48942a4b4 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/_virtual_network_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/_virtual_network_peerings_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type virtual_network_peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type virtual_network_peering_parameters: ~azure.mgmt.network.v2016_12_01.models.VirtualNetworkPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/_virtual_networks_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/_virtual_networks_operations.py index 34e15434f330..24b17dff2541 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/_virtual_networks_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2016_12_01/operations/_virtual_networks_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type virtual_network_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2016_12_01.models.VirtualNetwork :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetwork or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/_metadata.json b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/_metadata.json index 47bd2b40d8fa..c070d314f59b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/_metadata.json +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/_metadata.json @@ -9,7 +9,9 @@ "custom_base_url": null, "azure_arm": true, "has_lro_operations": true, - "client_side_validation": true + "client_side_validation": false, + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"NetworkManagementClientConfiguration\"], \"._operations_mixin\": [\"NetworkManagementClientOperationsMixin\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"NetworkManagementClientConfiguration\"], \"._operations_mixin\": [\"NetworkManagementClientOperationsMixin\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}" }, "global_parameters": { "sync": { @@ -28,13 +30,13 @@ }, "async": { "credential": { - "signature": "credential, # type: \"AsyncTokenCredential\"", + "signature": "credential: \"AsyncTokenCredential\",", "description": "Credential needed for the client to connect to Azure.", "docstring_type": "~azure.core.credentials_async.AsyncTokenCredential", "required": true }, "subscription_id": { - "signature": "subscription_id, # type: str", + "signature": "subscription_id: str,", "description": "The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.", "docstring_type": "str", "required": true @@ -42,14 +44,58 @@ }, "constant": { }, - "call": "credential, subscription_id" + "call": "credential, subscription_id", + "service_client_specific": { + "sync": { + "api_version": { + "signature": "api_version=None, # type: Optional[str]", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url=None, # type: Optional[str]", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile=KnownProfiles.default, # type: KnownProfiles", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + }, + "async": { + "api_version": { + "signature": "api_version: Optional[str] = None,", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url: Optional[str] = None,", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile: KnownProfiles = KnownProfiles.default,", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + } + } }, "config": { "credential": true, "credential_scopes": ["https://management.azure.com/.default"], "credential_default_policy_type": "BearerTokenCredentialPolicy", "credential_default_policy_type_has_async_version": true, - "credential_key_header_name": null + "credential_key_header_name": null, + "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMHttpLoggingPolicy\"]}, \"local\": {\"._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}}", + "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMHttpLoggingPolicy\"]}, \"local\": {\".._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}}" }, "operation_groups": { "application_gateways": "ApplicationGatewaysOperations", @@ -78,19 +124,21 @@ "local_network_gateways": "LocalNetworkGatewaysOperations" }, "operation_mixins": { - "check_dns_name_availability" : { - "sync": { - "signature": "def check_dns_name_availability(\n self,\n location, # type: str\n domain_name_label=None, # type: Optional[str]\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Checks whether a domain name in the cloudapp.net zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2017_03_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def check_dns_name_availability(\n self,\n location: str,\n domain_name_label: Optional[str] = None,\n **kwargs\n) -\u003e \"_models.DnsNameAvailabilityResult\":\n", - "doc": "\"\"\"Checks whether a domain name in the cloudapp.net zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2017_03_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "location, domain_name_label" + "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\"]}}}", + "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\"]}}}", + "operations": { + "check_dns_name_availability" : { + "sync": { + "signature": "def check_dns_name_availability(\n self,\n location, # type: str\n domain_name_label=None, # type: Optional[str]\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Checks whether a domain name in the cloudapp.net zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2017_03_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def check_dns_name_availability(\n self,\n location: str,\n domain_name_label: Optional[str] = None,\n **kwargs\n) -\u003e \"_models.DnsNameAvailabilityResult\":\n", + "doc": "\"\"\"Checks whether a domain name in the cloudapp.net zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2017_03_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "location, domain_name_label" + } } - }, - "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\"]}}}", - "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\"]}}}" + } } \ No newline at end of file diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/_network_management_client.py index 97d4247a80c2..08ff74463bb3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/_network_management_client.py @@ -16,6 +16,7 @@ from typing import Any, Optional from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse from ._configuration import NetworkManagementClientConfiguration from .operations import ApplicationGatewaysOperations @@ -120,6 +121,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( @@ -171,6 +173,24 @@ def __init__( self.local_network_gateways = LocalNetworkGatewaysOperations( self._client, self._config, self._serialize, self._deserialize) + def _send_request(self, http_request, **kwargs): + # type: (HttpRequest, Any) -> HttpResponse + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.HttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + def close(self): # type: () -> None self._client.close() diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/_network_management_client.py index fa7a54f13ea3..7041d171cc11 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/_network_management_client.py @@ -8,6 +8,7 @@ from typing import Any, Optional, TYPE_CHECKING +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core import AsyncARMPipelineClient from msrest import Deserializer, Serializer @@ -117,6 +118,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( @@ -168,6 +170,23 @@ def __init__( self.local_network_gateways = LocalNetworkGatewaysOperations( self._client, self._config, self._serialize, self._deserialize) + async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + async def close(self) -> None: await self._client.close() diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/operations/_application_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/operations/_application_gateways_operations.py index 5b4623179f9b..8502def57000 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/operations/_application_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/operations/_application_gateways_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_03_01.models.ApplicationGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGateway or the result of cls(response) @@ -527,8 +527,8 @@ async def begin_start( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -633,8 +633,8 @@ async def begin_stop( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -752,8 +752,8 @@ async def begin_backend_health( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGatewayBackendHealth or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/operations/_express_route_circuit_authorizations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/operations/_express_route_circuit_authorizations_operations.py index 0da6f492c0b0..5f9ae6199c72 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/operations/_express_route_circuit_authorizations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/operations/_express_route_circuit_authorizations_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type authorization_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type authorization_parameters: ~azure.mgmt.network.v2017_03_01.models.ExpressRouteCircuitAuthorization :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitAuthorization or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/operations/_express_route_circuit_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/operations/_express_route_circuit_peerings_operations.py index bb1a1ae71282..8c558674df85 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/operations/_express_route_circuit_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/operations/_express_route_circuit_peerings_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2017_03_01.models.ExpressRouteCircuitPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/operations/_express_route_circuits_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/operations/_express_route_circuits_operations.py index 9c4e9b712d9a..93dea3a8f21a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/operations/_express_route_circuits_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/operations/_express_route_circuits_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type circuit_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_03_01.models.ExpressRouteCircuit :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -409,8 +409,8 @@ async def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -540,8 +540,8 @@ async def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) @@ -671,8 +671,8 @@ async def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableSummaryListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/operations/_load_balancers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/operations/_load_balancers_operations.py index f2916f86545e..981ebffc39f7 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/operations/_load_balancers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/operations/_load_balancers_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type load_balancer_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_03_01.models.LoadBalancer :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LoadBalancer or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/operations/_local_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/operations/_local_network_gateways_operations.py index b242db222b24..a0c32e250022 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/operations/_local_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/operations/_local_network_gateways_operations.py @@ -117,8 +117,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_03_01.models.LocalNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LocalNetworkGateway or the result of cls(response) @@ -285,8 +285,8 @@ async def begin_delete( :type local_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/operations/_network_interfaces_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/operations/_network_interfaces_operations.py index 632978fb737a..8c05054fbff4 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/operations/_network_interfaces_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/operations/_network_interfaces_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_03_01.models.NetworkInterface :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkInterface or the result of cls(response) @@ -539,8 +539,8 @@ async def begin_get_effective_route_table( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either EffectiveRouteListResult or the result of cls(response) @@ -655,8 +655,8 @@ async def begin_list_effective_network_security_groups( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either EffectiveNetworkSecurityGroupListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/operations/_network_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/operations/_network_security_groups_operations.py index d19d1b6147a0..26af296cfb51 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/operations/_network_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/operations/_network_security_groups_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type network_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -287,8 +287,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_03_01.models.NetworkSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/operations/_network_watchers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/operations/_network_watchers_operations.py index c5112a0d85a3..63f48b7a37c3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/operations/_network_watchers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/operations/_network_watchers_operations.py @@ -227,8 +227,8 @@ async def begin_delete( :type network_watcher_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -553,8 +553,8 @@ async def begin_verify_ip_flow( :type parameters: ~azure.mgmt.network.v2017_03_01.models.VerificationIPFlowParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VerificationIPFlowResult or the result of cls(response) @@ -681,8 +681,8 @@ async def begin_get_next_hop( :type parameters: ~azure.mgmt.network.v2017_03_01.models.NextHopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NextHopResult or the result of cls(response) @@ -809,8 +809,8 @@ async def begin_get_vm_security_rules( :type parameters: ~azure.mgmt.network.v2017_03_01.models.SecurityGroupViewParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either SecurityGroupViewResult or the result of cls(response) @@ -937,8 +937,8 @@ async def begin_get_troubleshooting( :type parameters: ~azure.mgmt.network.v2017_03_01.models.TroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1065,8 +1065,8 @@ async def begin_get_troubleshooting_result( :type parameters: ~azure.mgmt.network.v2017_03_01.models.QueryTroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1193,8 +1193,8 @@ async def begin_set_flow_log_configuration( :type parameters: ~azure.mgmt.network.v2017_03_01.models.FlowLogInformation :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1321,8 +1321,8 @@ async def begin_get_flow_log_status( :type parameters: ~azure.mgmt.network.v2017_03_01.models.FlowLogStatusParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1450,8 +1450,8 @@ async def begin_check_connectivity( :type parameters: ~azure.mgmt.network.v2017_03_01.models.ConnectivityParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectivityInformation or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/operations/_packet_captures_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/operations/_packet_captures_operations.py index 8af7d068ab9e..df931559c9ec 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/operations/_packet_captures_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/operations/_packet_captures_operations.py @@ -118,8 +118,8 @@ async def begin_create( :type parameters: ~azure.mgmt.network.v2017_03_01.models.PacketCapture :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PacketCaptureResult or the result of cls(response) @@ -297,8 +297,8 @@ async def begin_delete( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_stop( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -532,8 +532,8 @@ async def begin_get_status( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PacketCaptureQueryStatusResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/operations/_public_ip_addresses_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/operations/_public_ip_addresses_operations.py index dd7b01ed6474..65c0e7f97c20 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/operations/_public_ip_addresses_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/operations/_public_ip_addresses_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type public_ip_address_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_03_01.models.PublicIPAddress :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PublicIPAddress or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/operations/_route_filter_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/operations/_route_filter_rules_operations.py index 7f6e2d0a1ddf..c239e190c9ee 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/operations/_route_filter_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/operations/_route_filter_rules_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2017_03_01.models.RouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilterRule or the result of cls(response) @@ -430,8 +430,8 @@ async def begin_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2017_03_01.models.PatchRouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilterRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/operations/_route_filters_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/operations/_route_filters_operations.py index dfad83596043..0df39aee8adc 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/operations/_route_filters_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/operations/_route_filters_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type route_filter_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -287,8 +287,8 @@ async def begin_create_or_update( :type route_filter_parameters: ~azure.mgmt.network.v2017_03_01.models.RouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilter or the result of cls(response) @@ -411,8 +411,8 @@ async def begin_update( :type route_filter_parameters: ~azure.mgmt.network.v2017_03_01.models.PatchRouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilter or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/operations/_route_tables_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/operations/_route_tables_operations.py index 36083f61ce27..06a268bde248 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/operations/_route_tables_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/operations/_route_tables_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_03_01.models.RouteTable :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteTable or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/operations/_routes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/operations/_routes_operations.py index 3a020f173a93..d4b04636ddb7 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/operations/_routes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/operations/_routes_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type route_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ async def begin_create_or_update( :type route_parameters: ~azure.mgmt.network.v2017_03_01.models.Route :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Route or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/operations/_security_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/operations/_security_rules_operations.py index a5f1082caa46..94ad02a0591b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/operations/_security_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/operations/_security_rules_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type security_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type security_rule_parameters: ~azure.mgmt.network.v2017_03_01.models.SecurityRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either SecurityRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/operations/_subnets_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/operations/_subnets_operations.py index f2b640f8479d..f5c180ef63ec 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/operations/_subnets_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/operations/_subnets_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type subnet_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -302,8 +302,8 @@ async def begin_create_or_update( :type subnet_parameters: ~azure.mgmt.network.v2017_03_01.models.Subnet :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Subnet or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/operations/_virtual_network_gateway_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/operations/_virtual_network_gateway_connections_operations.py index ffa0de21b781..48f64f955682 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/operations/_virtual_network_gateway_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/operations/_virtual_network_gateway_connections_operations.py @@ -119,8 +119,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_03_01.models.VirtualNetworkGatewayConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -289,8 +289,8 @@ async def begin_delete( :type virtual_network_gateway_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -416,8 +416,8 @@ async def begin_set_shared_key( :type parameters: ~azure.mgmt.network.v2017_03_01.models.ConnectionSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionSharedKey or the result of cls(response) @@ -677,8 +677,8 @@ async def begin_reset_shared_key( :type parameters: ~azure.mgmt.network.v2017_03_01.models.ConnectionResetSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionResetSharedKey or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/operations/_virtual_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/operations/_virtual_network_gateways_operations.py index 13e23acafdcf..b88f0125021c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/operations/_virtual_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/operations/_virtual_network_gateways_operations.py @@ -117,8 +117,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_03_01.models.VirtualNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -285,8 +285,8 @@ async def begin_delete( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -475,8 +475,8 @@ async def begin_reset( :type gateway_vip: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -601,8 +601,8 @@ async def begin_generatevpnclientpackage( :type parameters: ~azure.mgmt.network.v2017_03_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -724,8 +724,8 @@ async def begin_get_bgp_peer_status( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either BgpPeerStatusListResult or the result of cls(response) @@ -842,8 +842,8 @@ async def begin_get_learned_routes( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -964,8 +964,8 @@ async def begin_get_advertised_routes( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either GatewayRouteListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/operations/_virtual_network_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/operations/_virtual_network_peerings_operations.py index 80e330b1fd79..675eadf7ea61 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/operations/_virtual_network_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/operations/_virtual_network_peerings_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type virtual_network_peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type virtual_network_peering_parameters: ~azure.mgmt.network.v2017_03_01.models.VirtualNetworkPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/operations/_virtual_networks_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/operations/_virtual_networks_operations.py index 72d2e4563850..bd109b0a0b8e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/operations/_virtual_networks_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/aio/operations/_virtual_networks_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type virtual_network_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_03_01.models.VirtualNetwork :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetwork or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/models/_models.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/models/_models.py index 1ea4b7ff3351..182ffb6c5d4a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/models/_models.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/models/_models.py @@ -4461,8 +4461,8 @@ class PacketCaptureStorageLocation(msrest.serialization.Model): :param storage_id: The ID of the storage account to save the packet capture session. Required if no local file path is provided. :type storage_id: str - :param storage_path: The URI of the storage path to save the packet capture. Must be a well- - formed URI describing the location to save the packet capture. + :param storage_path: The URI of the storage path to save the packet capture. Must be a + well-formed URI describing the location to save the packet capture. :type storage_path: str :param file_path: A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/models/_models_py3.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/models/_models_py3.py index f75f7a660944..e54c0a59119d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/models/_models_py3.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/models/_models_py3.py @@ -5076,8 +5076,8 @@ class PacketCaptureStorageLocation(msrest.serialization.Model): :param storage_id: The ID of the storage account to save the packet capture session. Required if no local file path is provided. :type storage_id: str - :param storage_path: The URI of the storage path to save the packet capture. Must be a well- - formed URI describing the location to save the packet capture. + :param storage_path: The URI of the storage path to save the packet capture. Must be a + well-formed URI describing the location to save the packet capture. :type storage_path: str :param file_path: A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/_application_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/_application_gateways_operations.py index 11088c15672a..1cec3ded8221 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/_application_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/_application_gateways_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_03_01.models.ApplicationGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGateway or the result of cls(response) @@ -540,8 +540,8 @@ def begin_start( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -648,8 +648,8 @@ def begin_stop( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -769,8 +769,8 @@ def begin_backend_health( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGatewayBackendHealth or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/_express_route_circuit_authorizations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/_express_route_circuit_authorizations_operations.py index dea23dc34bbf..3969543aa575 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/_express_route_circuit_authorizations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/_express_route_circuit_authorizations_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type authorization_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type authorization_parameters: ~azure.mgmt.network.v2017_03_01.models.ExpressRouteCircuitAuthorization :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitAuthorization or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/_express_route_circuit_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/_express_route_circuit_peerings_operations.py index 1f01c78d68d9..efe23380f564 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/_express_route_circuit_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/_express_route_circuit_peerings_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2017_03_01.models.ExpressRouteCircuitPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/_express_route_circuits_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/_express_route_circuits_operations.py index 4e6b5c213be1..a19539de8e9d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/_express_route_circuits_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/_express_route_circuits_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type circuit_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_03_01.models.ExpressRouteCircuit :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -420,8 +420,8 @@ def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -553,8 +553,8 @@ def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) @@ -686,8 +686,8 @@ def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableSummaryListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/_load_balancers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/_load_balancers_operations.py index 9967cf143b2e..cda30ef8f822 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/_load_balancers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/_load_balancers_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type load_balancer_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_03_01.models.LoadBalancer :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LoadBalancer or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/_local_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/_local_network_gateways_operations.py index 6d0caeeff8dc..58f0a7fd505a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/_local_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/_local_network_gateways_operations.py @@ -123,8 +123,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_03_01.models.LocalNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LocalNetworkGateway or the result of cls(response) @@ -294,8 +294,8 @@ def begin_delete( :type local_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/_network_interfaces_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/_network_interfaces_operations.py index d8e80d0ab6a7..1a6efc96c854 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/_network_interfaces_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/_network_interfaces_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_03_01.models.NetworkInterface :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkInterface or the result of cls(response) @@ -552,8 +552,8 @@ def begin_get_effective_route_table( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either EffectiveRouteListResult or the result of cls(response) @@ -670,8 +670,8 @@ def begin_list_effective_network_security_groups( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either EffectiveNetworkSecurityGroupListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/_network_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/_network_security_groups_operations.py index 0dbf0ed475c2..17f94bc3cdde 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/_network_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/_network_security_groups_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type network_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -296,8 +296,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_03_01.models.NetworkSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/_network_watchers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/_network_watchers_operations.py index 5a030ba50e08..4750cd23533e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/_network_watchers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/_network_watchers_operations.py @@ -235,8 +235,8 @@ def begin_delete( :type network_watcher_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -566,8 +566,8 @@ def begin_verify_ip_flow( :type parameters: ~azure.mgmt.network.v2017_03_01.models.VerificationIPFlowParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VerificationIPFlowResult or the result of cls(response) @@ -696,8 +696,8 @@ def begin_get_next_hop( :type parameters: ~azure.mgmt.network.v2017_03_01.models.NextHopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NextHopResult or the result of cls(response) @@ -826,8 +826,8 @@ def begin_get_vm_security_rules( :type parameters: ~azure.mgmt.network.v2017_03_01.models.SecurityGroupViewParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either SecurityGroupViewResult or the result of cls(response) @@ -956,8 +956,8 @@ def begin_get_troubleshooting( :type parameters: ~azure.mgmt.network.v2017_03_01.models.TroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1086,8 +1086,8 @@ def begin_get_troubleshooting_result( :type parameters: ~azure.mgmt.network.v2017_03_01.models.QueryTroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1216,8 +1216,8 @@ def begin_set_flow_log_configuration( :type parameters: ~azure.mgmt.network.v2017_03_01.models.FlowLogInformation :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1346,8 +1346,8 @@ def begin_get_flow_log_status( :type parameters: ~azure.mgmt.network.v2017_03_01.models.FlowLogStatusParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1477,8 +1477,8 @@ def begin_check_connectivity( :type parameters: ~azure.mgmt.network.v2017_03_01.models.ConnectivityParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectivityInformation or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/_packet_captures_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/_packet_captures_operations.py index 5ff4b0b1067e..f176b62e98ba 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/_packet_captures_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/_packet_captures_operations.py @@ -124,8 +124,8 @@ def begin_create( :type parameters: ~azure.mgmt.network.v2017_03_01.models.PacketCapture :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PacketCaptureResult or the result of cls(response) @@ -306,8 +306,8 @@ def begin_delete( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -421,8 +421,8 @@ def begin_stop( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -545,8 +545,8 @@ def begin_get_status( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PacketCaptureQueryStatusResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/_public_ip_addresses_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/_public_ip_addresses_operations.py index ac39dfa973cd..87c4bb996dae 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/_public_ip_addresses_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/_public_ip_addresses_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type public_ip_address_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_03_01.models.PublicIPAddress :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PublicIPAddress or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/_route_filter_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/_route_filter_rules_operations.py index b7a4e2f10a6e..68013154c34d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/_route_filter_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/_route_filter_rules_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2017_03_01.models.RouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilterRule or the result of cls(response) @@ -441,8 +441,8 @@ def begin_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2017_03_01.models.PatchRouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilterRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/_route_filters_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/_route_filters_operations.py index e185eb36d83d..14edd8e6af14 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/_route_filters_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/_route_filters_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type route_filter_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -296,8 +296,8 @@ def begin_create_or_update( :type route_filter_parameters: ~azure.mgmt.network.v2017_03_01.models.RouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilter or the result of cls(response) @@ -422,8 +422,8 @@ def begin_update( :type route_filter_parameters: ~azure.mgmt.network.v2017_03_01.models.PatchRouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilter or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/_route_tables_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/_route_tables_operations.py index 6ca89fc8828c..12d285edcde5 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/_route_tables_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/_route_tables_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_03_01.models.RouteTable :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteTable or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/_routes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/_routes_operations.py index 31bf331d063c..a287144e066f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/_routes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/_routes_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type route_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -306,8 +306,8 @@ def begin_create_or_update( :type route_parameters: ~azure.mgmt.network.v2017_03_01.models.Route :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Route or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/_security_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/_security_rules_operations.py index 1e3ece99e221..2395883f3587 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/_security_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/_security_rules_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type security_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type security_rule_parameters: ~azure.mgmt.network.v2017_03_01.models.SecurityRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either SecurityRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/_subnets_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/_subnets_operations.py index 2437307fa06a..6b3498c3eede 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/_subnets_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/_subnets_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type subnet_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -311,8 +311,8 @@ def begin_create_or_update( :type subnet_parameters: ~azure.mgmt.network.v2017_03_01.models.Subnet :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Subnet or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/_virtual_network_gateway_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/_virtual_network_gateway_connections_operations.py index 077fb8316175..a88fcf602ac7 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/_virtual_network_gateway_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/_virtual_network_gateway_connections_operations.py @@ -125,8 +125,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_03_01.models.VirtualNetworkGatewayConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -298,8 +298,8 @@ def begin_delete( :type virtual_network_gateway_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -427,8 +427,8 @@ def begin_set_shared_key( :type parameters: ~azure.mgmt.network.v2017_03_01.models.ConnectionSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionSharedKey or the result of cls(response) @@ -692,8 +692,8 @@ def begin_reset_shared_key( :type parameters: ~azure.mgmt.network.v2017_03_01.models.ConnectionResetSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionResetSharedKey or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/_virtual_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/_virtual_network_gateways_operations.py index 36864af04578..bdcd0786a38f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/_virtual_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/_virtual_network_gateways_operations.py @@ -123,8 +123,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_03_01.models.VirtualNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -294,8 +294,8 @@ def begin_delete( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -487,8 +487,8 @@ def begin_reset( :type gateway_vip: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -615,8 +615,8 @@ def begin_generatevpnclientpackage( :type parameters: ~azure.mgmt.network.v2017_03_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -740,8 +740,8 @@ def begin_get_bgp_peer_status( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either BgpPeerStatusListResult or the result of cls(response) @@ -860,8 +860,8 @@ def begin_get_learned_routes( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -984,8 +984,8 @@ def begin_get_advertised_routes( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either GatewayRouteListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/_virtual_network_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/_virtual_network_peerings_operations.py index 569c61135e97..c0dc5bb4f97e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/_virtual_network_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/_virtual_network_peerings_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type virtual_network_peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type virtual_network_peering_parameters: ~azure.mgmt.network.v2017_03_01.models.VirtualNetworkPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/_virtual_networks_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/_virtual_networks_operations.py index f6f5e8631e3c..dce467ed159a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/_virtual_networks_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_03_01/operations/_virtual_networks_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type virtual_network_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_03_01.models.VirtualNetwork :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetwork or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/_metadata.json b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/_metadata.json index 5ae7b8fe724c..e9eac117b759 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/_metadata.json +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/_metadata.json @@ -9,7 +9,9 @@ "custom_base_url": null, "azure_arm": true, "has_lro_operations": true, - "client_side_validation": true + "client_side_validation": false, + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"NetworkManagementClientConfiguration\"], \"._operations_mixin\": [\"NetworkManagementClientOperationsMixin\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"NetworkManagementClientConfiguration\"], \"._operations_mixin\": [\"NetworkManagementClientOperationsMixin\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}" }, "global_parameters": { "sync": { @@ -28,13 +30,13 @@ }, "async": { "credential": { - "signature": "credential, # type: \"AsyncTokenCredential\"", + "signature": "credential: \"AsyncTokenCredential\",", "description": "Credential needed for the client to connect to Azure.", "docstring_type": "~azure.core.credentials_async.AsyncTokenCredential", "required": true }, "subscription_id": { - "signature": "subscription_id, # type: str", + "signature": "subscription_id: str,", "description": "The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.", "docstring_type": "str", "required": true @@ -42,14 +44,58 @@ }, "constant": { }, - "call": "credential, subscription_id" + "call": "credential, subscription_id", + "service_client_specific": { + "sync": { + "api_version": { + "signature": "api_version=None, # type: Optional[str]", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url=None, # type: Optional[str]", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile=KnownProfiles.default, # type: KnownProfiles", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + }, + "async": { + "api_version": { + "signature": "api_version: Optional[str] = None,", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url: Optional[str] = None,", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile: KnownProfiles = KnownProfiles.default,", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + } + } }, "config": { "credential": true, "credential_scopes": ["https://management.azure.com/.default"], "credential_default_policy_type": "BearerTokenCredentialPolicy", "credential_default_policy_type_has_async_version": true, - "credential_key_header_name": null + "credential_key_header_name": null, + "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMHttpLoggingPolicy\"]}, \"local\": {\"._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}}", + "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMHttpLoggingPolicy\"]}, \"local\": {\".._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}}" }, "operation_groups": { "application_gateways": "ApplicationGatewaysOperations", @@ -88,19 +134,21 @@ "local_network_gateways": "LocalNetworkGatewaysOperations" }, "operation_mixins": { - "check_dns_name_availability" : { - "sync": { - "signature": "def check_dns_name_availability(\n self,\n location, # type: str\n domain_name_label=None, # type: Optional[str]\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Checks whether a domain name in the cloudapp.net zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2017_06_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def check_dns_name_availability(\n self,\n location: str,\n domain_name_label: Optional[str] = None,\n **kwargs\n) -\u003e \"_models.DnsNameAvailabilityResult\":\n", - "doc": "\"\"\"Checks whether a domain name in the cloudapp.net zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2017_06_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "location, domain_name_label" + "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\"]}}}", + "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\"]}}}", + "operations": { + "check_dns_name_availability" : { + "sync": { + "signature": "def check_dns_name_availability(\n self,\n location, # type: str\n domain_name_label=None, # type: Optional[str]\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Checks whether a domain name in the cloudapp.net zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2017_06_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def check_dns_name_availability(\n self,\n location: str,\n domain_name_label: Optional[str] = None,\n **kwargs\n) -\u003e \"_models.DnsNameAvailabilityResult\":\n", + "doc": "\"\"\"Checks whether a domain name in the cloudapp.net zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2017_06_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "location, domain_name_label" + } } - }, - "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\"]}}}", - "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\"]}}}" + } } \ No newline at end of file diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/_network_management_client.py index 38761bc9bdae..f2e193f526da 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/_network_management_client.py @@ -16,6 +16,7 @@ from typing import Any, Optional from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse from ._configuration import NetworkManagementClientConfiguration from .operations import ApplicationGatewaysOperations @@ -150,6 +151,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( @@ -221,6 +223,24 @@ def __init__( self.local_network_gateways = LocalNetworkGatewaysOperations( self._client, self._config, self._serialize, self._deserialize) + def _send_request(self, http_request, **kwargs): + # type: (HttpRequest, Any) -> HttpResponse + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.HttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + def close(self): # type: () -> None self._client.close() diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/_network_management_client.py index 1a66d5b08eea..a55a71080799 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/_network_management_client.py @@ -8,6 +8,7 @@ from typing import Any, Optional, TYPE_CHECKING +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core import AsyncARMPipelineClient from msrest import Deserializer, Serializer @@ -147,6 +148,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( @@ -218,6 +220,23 @@ def __init__( self.local_network_gateways = LocalNetworkGatewaysOperations( self._client, self._config, self._serialize, self._deserialize) + async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + async def close(self) -> None: await self._client.close() diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/operations/_application_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/operations/_application_gateways_operations.py index 1e293cebabe6..6b26c8201490 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/operations/_application_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/operations/_application_gateways_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_06_01.models.ApplicationGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGateway or the result of cls(response) @@ -527,8 +527,8 @@ async def begin_start( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -633,8 +633,8 @@ async def begin_stop( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -752,8 +752,8 @@ async def begin_backend_health( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGatewayBackendHealth or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/operations/_express_route_circuit_authorizations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/operations/_express_route_circuit_authorizations_operations.py index 46909f4d4430..7624ff58c2c6 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/operations/_express_route_circuit_authorizations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/operations/_express_route_circuit_authorizations_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type authorization_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type authorization_parameters: ~azure.mgmt.network.v2017_06_01.models.ExpressRouteCircuitAuthorization :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitAuthorization or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/operations/_express_route_circuit_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/operations/_express_route_circuit_peerings_operations.py index 0cc2a099355f..8008ca4d3a69 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/operations/_express_route_circuit_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/operations/_express_route_circuit_peerings_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2017_06_01.models.ExpressRouteCircuitPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/operations/_express_route_circuits_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/operations/_express_route_circuits_operations.py index 2743d983732f..ec7f1ed0c374 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/operations/_express_route_circuits_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/operations/_express_route_circuits_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type circuit_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_06_01.models.ExpressRouteCircuit :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -409,8 +409,8 @@ async def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -540,8 +540,8 @@ async def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) @@ -671,8 +671,8 @@ async def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableSummaryListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/operations/_inbound_nat_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/operations/_inbound_nat_rules_operations.py index bc076576a486..bacb29eae09a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/operations/_inbound_nat_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/operations/_inbound_nat_rules_operations.py @@ -178,8 +178,8 @@ async def begin_delete( :type inbound_nat_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -377,8 +377,8 @@ async def begin_create_or_update( :type inbound_nat_rule_parameters: ~azure.mgmt.network.v2017_06_01.models.InboundNatRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either InboundNatRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/operations/_load_balancers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/operations/_load_balancers_operations.py index 56c4858d956d..353abb1551ce 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/operations/_load_balancers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/operations/_load_balancers_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type load_balancer_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_06_01.models.LoadBalancer :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LoadBalancer or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/operations/_local_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/operations/_local_network_gateways_operations.py index 0babe3cd6d8a..068117cf5935 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/operations/_local_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/operations/_local_network_gateways_operations.py @@ -117,8 +117,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_06_01.models.LocalNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LocalNetworkGateway or the result of cls(response) @@ -285,8 +285,8 @@ async def begin_delete( :type local_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/operations/_network_interfaces_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/operations/_network_interfaces_operations.py index 7b286acd8a6a..ca3ac0f536ce 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/operations/_network_interfaces_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/operations/_network_interfaces_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_06_01.models.NetworkInterface :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkInterface or the result of cls(response) @@ -539,8 +539,8 @@ async def begin_get_effective_route_table( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either EffectiveRouteListResult or the result of cls(response) @@ -655,8 +655,8 @@ async def begin_list_effective_network_security_groups( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either EffectiveNetworkSecurityGroupListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/operations/_network_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/operations/_network_security_groups_operations.py index ad5b80f131ff..509bbf195f46 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/operations/_network_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/operations/_network_security_groups_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type network_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -287,8 +287,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_06_01.models.NetworkSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/operations/_network_watchers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/operations/_network_watchers_operations.py index 8ce5fb65f1c6..eba94bbc9c0a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/operations/_network_watchers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/operations/_network_watchers_operations.py @@ -227,8 +227,8 @@ async def begin_delete( :type network_watcher_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -553,8 +553,8 @@ async def begin_verify_ip_flow( :type parameters: ~azure.mgmt.network.v2017_06_01.models.VerificationIPFlowParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VerificationIPFlowResult or the result of cls(response) @@ -681,8 +681,8 @@ async def begin_get_next_hop( :type parameters: ~azure.mgmt.network.v2017_06_01.models.NextHopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NextHopResult or the result of cls(response) @@ -809,8 +809,8 @@ async def begin_get_vm_security_rules( :type parameters: ~azure.mgmt.network.v2017_06_01.models.SecurityGroupViewParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either SecurityGroupViewResult or the result of cls(response) @@ -937,8 +937,8 @@ async def begin_get_troubleshooting( :type parameters: ~azure.mgmt.network.v2017_06_01.models.TroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1065,8 +1065,8 @@ async def begin_get_troubleshooting_result( :type parameters: ~azure.mgmt.network.v2017_06_01.models.QueryTroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1193,8 +1193,8 @@ async def begin_set_flow_log_configuration( :type parameters: ~azure.mgmt.network.v2017_06_01.models.FlowLogInformation :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1321,8 +1321,8 @@ async def begin_get_flow_log_status( :type parameters: ~azure.mgmt.network.v2017_06_01.models.FlowLogStatusParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1450,8 +1450,8 @@ async def begin_check_connectivity( :type parameters: ~azure.mgmt.network.v2017_06_01.models.ConnectivityParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectivityInformation or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/operations/_packet_captures_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/operations/_packet_captures_operations.py index 0bebe205a8aa..3b0845ce4099 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/operations/_packet_captures_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/operations/_packet_captures_operations.py @@ -118,8 +118,8 @@ async def begin_create( :type parameters: ~azure.mgmt.network.v2017_06_01.models.PacketCapture :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PacketCaptureResult or the result of cls(response) @@ -297,8 +297,8 @@ async def begin_delete( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_stop( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -532,8 +532,8 @@ async def begin_get_status( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PacketCaptureQueryStatusResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/operations/_public_ip_addresses_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/operations/_public_ip_addresses_operations.py index 44fe456be982..90444dd344e0 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/operations/_public_ip_addresses_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/operations/_public_ip_addresses_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type public_ip_address_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_06_01.models.PublicIPAddress :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PublicIPAddress or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/operations/_route_filter_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/operations/_route_filter_rules_operations.py index 8926c54812aa..9d089b37f607 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/operations/_route_filter_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/operations/_route_filter_rules_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2017_06_01.models.RouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilterRule or the result of cls(response) @@ -430,8 +430,8 @@ async def begin_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2017_06_01.models.PatchRouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilterRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/operations/_route_filters_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/operations/_route_filters_operations.py index 14fad5b98dbc..5ba2a71fc44a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/operations/_route_filters_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/operations/_route_filters_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type route_filter_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -287,8 +287,8 @@ async def begin_create_or_update( :type route_filter_parameters: ~azure.mgmt.network.v2017_06_01.models.RouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilter or the result of cls(response) @@ -411,8 +411,8 @@ async def begin_update( :type route_filter_parameters: ~azure.mgmt.network.v2017_06_01.models.PatchRouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilter or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/operations/_route_tables_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/operations/_route_tables_operations.py index bed4dd8e6306..dc05082e0147 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/operations/_route_tables_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/operations/_route_tables_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_06_01.models.RouteTable :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteTable or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/operations/_routes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/operations/_routes_operations.py index 1d8e63b3d841..e09588a71a69 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/operations/_routes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/operations/_routes_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type route_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ async def begin_create_or_update( :type route_parameters: ~azure.mgmt.network.v2017_06_01.models.Route :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Route or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/operations/_security_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/operations/_security_rules_operations.py index 08adf9573e4e..3cc4064c4eb3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/operations/_security_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/operations/_security_rules_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type security_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type security_rule_parameters: ~azure.mgmt.network.v2017_06_01.models.SecurityRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either SecurityRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/operations/_subnets_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/operations/_subnets_operations.py index 783ba6dad880..eb930e8c18f9 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/operations/_subnets_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/operations/_subnets_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type subnet_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -302,8 +302,8 @@ async def begin_create_or_update( :type subnet_parameters: ~azure.mgmt.network.v2017_06_01.models.Subnet :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Subnet or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/operations/_virtual_network_gateway_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/operations/_virtual_network_gateway_connections_operations.py index dbdfca0eef3f..b96ceaeed631 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/operations/_virtual_network_gateway_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/operations/_virtual_network_gateway_connections_operations.py @@ -119,8 +119,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_06_01.models.VirtualNetworkGatewayConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -289,8 +289,8 @@ async def begin_delete( :type virtual_network_gateway_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -416,8 +416,8 @@ async def begin_set_shared_key( :type parameters: ~azure.mgmt.network.v2017_06_01.models.ConnectionSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionSharedKey or the result of cls(response) @@ -677,8 +677,8 @@ async def begin_reset_shared_key( :type parameters: ~azure.mgmt.network.v2017_06_01.models.ConnectionResetSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionResetSharedKey or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/operations/_virtual_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/operations/_virtual_network_gateways_operations.py index 1607b7c59841..23fa67155bef 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/operations/_virtual_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/operations/_virtual_network_gateways_operations.py @@ -117,8 +117,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_06_01.models.VirtualNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -285,8 +285,8 @@ async def begin_delete( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -549,8 +549,8 @@ async def begin_reset( :type gateway_vip: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -677,8 +677,8 @@ async def begin_generatevpnclientpackage( :type parameters: ~azure.mgmt.network.v2017_06_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -803,8 +803,8 @@ async def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2017_06_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -926,8 +926,8 @@ async def begin_get_bgp_peer_status( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either BgpPeerStatusListResult or the result of cls(response) @@ -1044,8 +1044,8 @@ async def begin_get_learned_routes( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1166,8 +1166,8 @@ async def begin_get_advertised_routes( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either GatewayRouteListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/operations/_virtual_network_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/operations/_virtual_network_peerings_operations.py index eeaefd9b650a..67f79ca0d712 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/operations/_virtual_network_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/operations/_virtual_network_peerings_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type virtual_network_peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type virtual_network_peering_parameters: ~azure.mgmt.network.v2017_06_01.models.VirtualNetworkPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/operations/_virtual_networks_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/operations/_virtual_networks_operations.py index 552aef53dfce..07b7f069856c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/operations/_virtual_networks_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/aio/operations/_virtual_networks_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type virtual_network_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_06_01.models.VirtualNetwork :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetwork or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/_models.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/_models.py index 7625066bc4f8..d4f0887db667 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/_models.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/_models.py @@ -5126,8 +5126,8 @@ class PacketCaptureStorageLocation(msrest.serialization.Model): :param storage_id: The ID of the storage account to save the packet capture session. Required if no local file path is provided. :type storage_id: str - :param storage_path: The URI of the storage path to save the packet capture. Must be a well- - formed URI describing the location to save the packet capture. + :param storage_path: The URI of the storage path to save the packet capture. Must be a + well-formed URI describing the location to save the packet capture. :type storage_path: str :param file_path: A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/_models_py3.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/_models_py3.py index c2c383bff3d3..7e88baa7ec22 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/_models_py3.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/models/_models_py3.py @@ -5825,8 +5825,8 @@ class PacketCaptureStorageLocation(msrest.serialization.Model): :param storage_id: The ID of the storage account to save the packet capture session. Required if no local file path is provided. :type storage_id: str - :param storage_path: The URI of the storage path to save the packet capture. Must be a well- - formed URI describing the location to save the packet capture. + :param storage_path: The URI of the storage path to save the packet capture. Must be a + well-formed URI describing the location to save the packet capture. :type storage_path: str :param file_path: A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/_application_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/_application_gateways_operations.py index f8925e8305c0..c8fa97fe4026 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/_application_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/_application_gateways_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_06_01.models.ApplicationGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGateway or the result of cls(response) @@ -540,8 +540,8 @@ def begin_start( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -648,8 +648,8 @@ def begin_stop( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -769,8 +769,8 @@ def begin_backend_health( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGatewayBackendHealth or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/_express_route_circuit_authorizations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/_express_route_circuit_authorizations_operations.py index 8064e8b06cec..d034aeff73a5 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/_express_route_circuit_authorizations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/_express_route_circuit_authorizations_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type authorization_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type authorization_parameters: ~azure.mgmt.network.v2017_06_01.models.ExpressRouteCircuitAuthorization :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitAuthorization or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/_express_route_circuit_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/_express_route_circuit_peerings_operations.py index 8aabf2888061..e75c4f83bb75 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/_express_route_circuit_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/_express_route_circuit_peerings_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2017_06_01.models.ExpressRouteCircuitPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/_express_route_circuits_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/_express_route_circuits_operations.py index 543e1df3b333..2f4e8b9d565a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/_express_route_circuits_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/_express_route_circuits_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type circuit_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_06_01.models.ExpressRouteCircuit :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -420,8 +420,8 @@ def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -553,8 +553,8 @@ def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) @@ -686,8 +686,8 @@ def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableSummaryListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/_inbound_nat_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/_inbound_nat_rules_operations.py index 604a7eb0ac5a..97d55ba96087 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/_inbound_nat_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/_inbound_nat_rules_operations.py @@ -185,8 +185,8 @@ def begin_delete( :type inbound_nat_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -387,8 +387,8 @@ def begin_create_or_update( :type inbound_nat_rule_parameters: ~azure.mgmt.network.v2017_06_01.models.InboundNatRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either InboundNatRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/_load_balancers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/_load_balancers_operations.py index 8450dfa1ef3e..8f1c1b3058e9 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/_load_balancers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/_load_balancers_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type load_balancer_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_06_01.models.LoadBalancer :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LoadBalancer or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/_local_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/_local_network_gateways_operations.py index 04e7b3969fa6..79d8dc9622a3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/_local_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/_local_network_gateways_operations.py @@ -123,8 +123,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_06_01.models.LocalNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LocalNetworkGateway or the result of cls(response) @@ -294,8 +294,8 @@ def begin_delete( :type local_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/_network_interfaces_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/_network_interfaces_operations.py index a271bbd58a02..7ee5549a25cd 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/_network_interfaces_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/_network_interfaces_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_06_01.models.NetworkInterface :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkInterface or the result of cls(response) @@ -552,8 +552,8 @@ def begin_get_effective_route_table( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either EffectiveRouteListResult or the result of cls(response) @@ -670,8 +670,8 @@ def begin_list_effective_network_security_groups( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either EffectiveNetworkSecurityGroupListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/_network_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/_network_security_groups_operations.py index fe2b906555a8..8253ea22483c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/_network_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/_network_security_groups_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type network_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -296,8 +296,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_06_01.models.NetworkSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/_network_watchers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/_network_watchers_operations.py index b4ed8c139a9c..25d0812c2127 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/_network_watchers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/_network_watchers_operations.py @@ -235,8 +235,8 @@ def begin_delete( :type network_watcher_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -566,8 +566,8 @@ def begin_verify_ip_flow( :type parameters: ~azure.mgmt.network.v2017_06_01.models.VerificationIPFlowParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VerificationIPFlowResult or the result of cls(response) @@ -696,8 +696,8 @@ def begin_get_next_hop( :type parameters: ~azure.mgmt.network.v2017_06_01.models.NextHopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NextHopResult or the result of cls(response) @@ -826,8 +826,8 @@ def begin_get_vm_security_rules( :type parameters: ~azure.mgmt.network.v2017_06_01.models.SecurityGroupViewParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either SecurityGroupViewResult or the result of cls(response) @@ -956,8 +956,8 @@ def begin_get_troubleshooting( :type parameters: ~azure.mgmt.network.v2017_06_01.models.TroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1086,8 +1086,8 @@ def begin_get_troubleshooting_result( :type parameters: ~azure.mgmt.network.v2017_06_01.models.QueryTroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1216,8 +1216,8 @@ def begin_set_flow_log_configuration( :type parameters: ~azure.mgmt.network.v2017_06_01.models.FlowLogInformation :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1346,8 +1346,8 @@ def begin_get_flow_log_status( :type parameters: ~azure.mgmt.network.v2017_06_01.models.FlowLogStatusParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1477,8 +1477,8 @@ def begin_check_connectivity( :type parameters: ~azure.mgmt.network.v2017_06_01.models.ConnectivityParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectivityInformation or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/_packet_captures_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/_packet_captures_operations.py index 58a1c13fa28a..bc1f7709eeba 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/_packet_captures_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/_packet_captures_operations.py @@ -124,8 +124,8 @@ def begin_create( :type parameters: ~azure.mgmt.network.v2017_06_01.models.PacketCapture :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PacketCaptureResult or the result of cls(response) @@ -306,8 +306,8 @@ def begin_delete( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -421,8 +421,8 @@ def begin_stop( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -545,8 +545,8 @@ def begin_get_status( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PacketCaptureQueryStatusResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/_public_ip_addresses_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/_public_ip_addresses_operations.py index 4fb96a347b61..41370bbb2a1d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/_public_ip_addresses_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/_public_ip_addresses_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type public_ip_address_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_06_01.models.PublicIPAddress :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PublicIPAddress or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/_route_filter_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/_route_filter_rules_operations.py index a6eda5314cef..b9ef73a17020 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/_route_filter_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/_route_filter_rules_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2017_06_01.models.RouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilterRule or the result of cls(response) @@ -441,8 +441,8 @@ def begin_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2017_06_01.models.PatchRouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilterRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/_route_filters_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/_route_filters_operations.py index ddfd31409960..a1055f2ec9ac 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/_route_filters_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/_route_filters_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type route_filter_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -296,8 +296,8 @@ def begin_create_or_update( :type route_filter_parameters: ~azure.mgmt.network.v2017_06_01.models.RouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilter or the result of cls(response) @@ -422,8 +422,8 @@ def begin_update( :type route_filter_parameters: ~azure.mgmt.network.v2017_06_01.models.PatchRouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilter or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/_route_tables_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/_route_tables_operations.py index ec9fb656ddd6..2ee0f505b1ce 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/_route_tables_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/_route_tables_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_06_01.models.RouteTable :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteTable or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/_routes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/_routes_operations.py index f872ecf5b13d..56bbf858678a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/_routes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/_routes_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type route_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -306,8 +306,8 @@ def begin_create_or_update( :type route_parameters: ~azure.mgmt.network.v2017_06_01.models.Route :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Route or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/_security_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/_security_rules_operations.py index acea63ce83e0..44a29a31b848 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/_security_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/_security_rules_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type security_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type security_rule_parameters: ~azure.mgmt.network.v2017_06_01.models.SecurityRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either SecurityRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/_subnets_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/_subnets_operations.py index f7157d354d86..43dcb61cca15 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/_subnets_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/_subnets_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type subnet_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -311,8 +311,8 @@ def begin_create_or_update( :type subnet_parameters: ~azure.mgmt.network.v2017_06_01.models.Subnet :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Subnet or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/_virtual_network_gateway_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/_virtual_network_gateway_connections_operations.py index 6c4f935683c4..45d08d39fc3b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/_virtual_network_gateway_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/_virtual_network_gateway_connections_operations.py @@ -125,8 +125,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_06_01.models.VirtualNetworkGatewayConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -298,8 +298,8 @@ def begin_delete( :type virtual_network_gateway_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -427,8 +427,8 @@ def begin_set_shared_key( :type parameters: ~azure.mgmt.network.v2017_06_01.models.ConnectionSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionSharedKey or the result of cls(response) @@ -692,8 +692,8 @@ def begin_reset_shared_key( :type parameters: ~azure.mgmt.network.v2017_06_01.models.ConnectionResetSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionResetSharedKey or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/_virtual_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/_virtual_network_gateways_operations.py index b09bd89dbaa2..2dba65cf44c2 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/_virtual_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/_virtual_network_gateways_operations.py @@ -123,8 +123,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_06_01.models.VirtualNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -294,8 +294,8 @@ def begin_delete( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -562,8 +562,8 @@ def begin_reset( :type gateway_vip: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -692,8 +692,8 @@ def begin_generatevpnclientpackage( :type parameters: ~azure.mgmt.network.v2017_06_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -820,8 +820,8 @@ def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2017_06_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -945,8 +945,8 @@ def begin_get_bgp_peer_status( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either BgpPeerStatusListResult or the result of cls(response) @@ -1065,8 +1065,8 @@ def begin_get_learned_routes( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1189,8 +1189,8 @@ def begin_get_advertised_routes( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either GatewayRouteListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/_virtual_network_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/_virtual_network_peerings_operations.py index f230199624f5..438e1889c342 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/_virtual_network_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/_virtual_network_peerings_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type virtual_network_peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type virtual_network_peering_parameters: ~azure.mgmt.network.v2017_06_01.models.VirtualNetworkPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/_virtual_networks_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/_virtual_networks_operations.py index 45a3b3c13f4f..5753cf3f1fbe 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/_virtual_networks_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_06_01/operations/_virtual_networks_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type virtual_network_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_06_01.models.VirtualNetwork :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetwork or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/_metadata.json b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/_metadata.json index 4399b533280b..737c16b1869f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/_metadata.json +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/_metadata.json @@ -9,7 +9,9 @@ "custom_base_url": null, "azure_arm": true, "has_lro_operations": true, - "client_side_validation": true + "client_side_validation": false, + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"NetworkManagementClientConfiguration\"], \"._operations_mixin\": [\"NetworkManagementClientOperationsMixin\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"NetworkManagementClientConfiguration\"], \"._operations_mixin\": [\"NetworkManagementClientOperationsMixin\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}" }, "global_parameters": { "sync": { @@ -28,13 +30,13 @@ }, "async": { "credential": { - "signature": "credential, # type: \"AsyncTokenCredential\"", + "signature": "credential: \"AsyncTokenCredential\",", "description": "Credential needed for the client to connect to Azure.", "docstring_type": "~azure.core.credentials_async.AsyncTokenCredential", "required": true }, "subscription_id": { - "signature": "subscription_id, # type: str", + "signature": "subscription_id: str,", "description": "The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.", "docstring_type": "str", "required": true @@ -42,14 +44,58 @@ }, "constant": { }, - "call": "credential, subscription_id" + "call": "credential, subscription_id", + "service_client_specific": { + "sync": { + "api_version": { + "signature": "api_version=None, # type: Optional[str]", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url=None, # type: Optional[str]", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile=KnownProfiles.default, # type: KnownProfiles", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + }, + "async": { + "api_version": { + "signature": "api_version: Optional[str] = None,", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url: Optional[str] = None,", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile: KnownProfiles = KnownProfiles.default,", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + } + } }, "config": { "credential": true, "credential_scopes": ["https://management.azure.com/.default"], "credential_default_policy_type": "BearerTokenCredentialPolicy", "credential_default_policy_type_has_async_version": true, - "credential_key_header_name": null + "credential_key_header_name": null, + "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMHttpLoggingPolicy\"]}, \"local\": {\"._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}}", + "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMHttpLoggingPolicy\"]}, \"local\": {\".._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}}" }, "operation_groups": { "application_gateways": "ApplicationGatewaysOperations", @@ -88,19 +134,21 @@ "local_network_gateways": "LocalNetworkGatewaysOperations" }, "operation_mixins": { - "check_dns_name_availability" : { - "sync": { - "signature": "def check_dns_name_availability(\n self,\n location, # type: str\n domain_name_label, # type: str\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2017_08_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def check_dns_name_availability(\n self,\n location: str,\n domain_name_label: str,\n **kwargs\n) -\u003e \"_models.DnsNameAvailabilityResult\":\n", - "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2017_08_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "location, domain_name_label" + "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\"]}}}", + "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\"]}}}", + "operations": { + "check_dns_name_availability" : { + "sync": { + "signature": "def check_dns_name_availability(\n self,\n location, # type: str\n domain_name_label, # type: str\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2017_08_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def check_dns_name_availability(\n self,\n location: str,\n domain_name_label: str,\n **kwargs\n) -\u003e \"_models.DnsNameAvailabilityResult\":\n", + "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2017_08_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "location, domain_name_label" + } } - }, - "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\"]}}}", - "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\"]}}}" + } } \ No newline at end of file diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/_network_management_client.py index ac3b68dfd80c..ae7d1c278805 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/_network_management_client.py @@ -16,6 +16,7 @@ from typing import Any, Optional from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse from ._configuration import NetworkManagementClientConfiguration from .operations import ApplicationGatewaysOperations @@ -150,6 +151,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( @@ -221,6 +223,24 @@ def __init__( self.local_network_gateways = LocalNetworkGatewaysOperations( self._client, self._config, self._serialize, self._deserialize) + def _send_request(self, http_request, **kwargs): + # type: (HttpRequest, Any) -> HttpResponse + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.HttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + def close(self): # type: () -> None self._client.close() diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/_network_management_client.py index cd002b50fcd8..f513ad88f906 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/_network_management_client.py @@ -8,6 +8,7 @@ from typing import Any, Optional, TYPE_CHECKING +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core import AsyncARMPipelineClient from msrest import Deserializer, Serializer @@ -147,6 +148,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( @@ -218,6 +220,23 @@ def __init__( self.local_network_gateways = LocalNetworkGatewaysOperations( self._client, self._config, self._serialize, self._deserialize) + async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + async def close(self) -> None: await self._client.close() diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/operations/_application_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/operations/_application_gateways_operations.py index a213ed38487e..9f16788b211b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/operations/_application_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/operations/_application_gateways_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_08_01.models.ApplicationGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGateway or the result of cls(response) @@ -527,8 +527,8 @@ async def begin_start( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -633,8 +633,8 @@ async def begin_stop( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -752,8 +752,8 @@ async def begin_backend_health( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGatewayBackendHealth or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/operations/_express_route_circuit_authorizations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/operations/_express_route_circuit_authorizations_operations.py index 2c16dde8e8fc..b551de4464ff 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/operations/_express_route_circuit_authorizations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/operations/_express_route_circuit_authorizations_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type authorization_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type authorization_parameters: ~azure.mgmt.network.v2017_08_01.models.ExpressRouteCircuitAuthorization :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitAuthorization or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/operations/_express_route_circuit_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/operations/_express_route_circuit_peerings_operations.py index b8fddcfd11ca..53705f4e06ed 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/operations/_express_route_circuit_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/operations/_express_route_circuit_peerings_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2017_08_01.models.ExpressRouteCircuitPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/operations/_express_route_circuits_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/operations/_express_route_circuits_operations.py index cd3dc10d9fb7..f7ab208f5fef 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/operations/_express_route_circuits_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/operations/_express_route_circuits_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type circuit_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_08_01.models.ExpressRouteCircuit :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -409,8 +409,8 @@ async def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -540,8 +540,8 @@ async def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) @@ -671,8 +671,8 @@ async def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableSummaryListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/operations/_inbound_nat_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/operations/_inbound_nat_rules_operations.py index 4f4fa87207aa..32f73dcbf55b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/operations/_inbound_nat_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/operations/_inbound_nat_rules_operations.py @@ -178,8 +178,8 @@ async def begin_delete( :type inbound_nat_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -377,8 +377,8 @@ async def begin_create_or_update( :type inbound_nat_rule_parameters: ~azure.mgmt.network.v2017_08_01.models.InboundNatRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either InboundNatRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/operations/_load_balancers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/operations/_load_balancers_operations.py index b566537a96f6..e365ae1d3175 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/operations/_load_balancers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/operations/_load_balancers_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type load_balancer_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_08_01.models.LoadBalancer :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LoadBalancer or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/operations/_local_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/operations/_local_network_gateways_operations.py index f5cabef4ba75..5b4eb2f63806 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/operations/_local_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/operations/_local_network_gateways_operations.py @@ -117,8 +117,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_08_01.models.LocalNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LocalNetworkGateway or the result of cls(response) @@ -285,8 +285,8 @@ async def begin_delete( :type local_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/operations/_network_interfaces_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/operations/_network_interfaces_operations.py index ef0d266489df..57b8c44710da 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/operations/_network_interfaces_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/operations/_network_interfaces_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_08_01.models.NetworkInterface :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkInterface or the result of cls(response) @@ -539,8 +539,8 @@ async def begin_get_effective_route_table( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either EffectiveRouteListResult or the result of cls(response) @@ -655,8 +655,8 @@ async def begin_list_effective_network_security_groups( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either EffectiveNetworkSecurityGroupListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/operations/_network_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/operations/_network_security_groups_operations.py index 23d03737030f..b8a62ecf39d8 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/operations/_network_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/operations/_network_security_groups_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type network_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -287,8 +287,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_08_01.models.NetworkSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/operations/_network_watchers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/operations/_network_watchers_operations.py index 26ec38dc71aa..73f81bfe545a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/operations/_network_watchers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/operations/_network_watchers_operations.py @@ -227,8 +227,8 @@ async def begin_delete( :type network_watcher_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -553,8 +553,8 @@ async def begin_verify_ip_flow( :type parameters: ~azure.mgmt.network.v2017_08_01.models.VerificationIPFlowParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VerificationIPFlowResult or the result of cls(response) @@ -681,8 +681,8 @@ async def begin_get_next_hop( :type parameters: ~azure.mgmt.network.v2017_08_01.models.NextHopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NextHopResult or the result of cls(response) @@ -809,8 +809,8 @@ async def begin_get_vm_security_rules( :type parameters: ~azure.mgmt.network.v2017_08_01.models.SecurityGroupViewParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either SecurityGroupViewResult or the result of cls(response) @@ -937,8 +937,8 @@ async def begin_get_troubleshooting( :type parameters: ~azure.mgmt.network.v2017_08_01.models.TroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1065,8 +1065,8 @@ async def begin_get_troubleshooting_result( :type parameters: ~azure.mgmt.network.v2017_08_01.models.QueryTroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1193,8 +1193,8 @@ async def begin_set_flow_log_configuration( :type parameters: ~azure.mgmt.network.v2017_08_01.models.FlowLogInformation :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1321,8 +1321,8 @@ async def begin_get_flow_log_status( :type parameters: ~azure.mgmt.network.v2017_08_01.models.FlowLogStatusParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1450,8 +1450,8 @@ async def begin_check_connectivity( :type parameters: ~azure.mgmt.network.v2017_08_01.models.ConnectivityParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectivityInformation or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/operations/_packet_captures_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/operations/_packet_captures_operations.py index cefec2e12864..9f835595f336 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/operations/_packet_captures_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/operations/_packet_captures_operations.py @@ -118,8 +118,8 @@ async def begin_create( :type parameters: ~azure.mgmt.network.v2017_08_01.models.PacketCapture :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PacketCaptureResult or the result of cls(response) @@ -297,8 +297,8 @@ async def begin_delete( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_stop( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -532,8 +532,8 @@ async def begin_get_status( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PacketCaptureQueryStatusResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/operations/_public_ip_addresses_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/operations/_public_ip_addresses_operations.py index 2858ca3334a3..85d49ac45947 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/operations/_public_ip_addresses_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/operations/_public_ip_addresses_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type public_ip_address_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_08_01.models.PublicIPAddress :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PublicIPAddress or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/operations/_route_filter_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/operations/_route_filter_rules_operations.py index 9c93bfef4765..c515243fa421 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/operations/_route_filter_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/operations/_route_filter_rules_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2017_08_01.models.RouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilterRule or the result of cls(response) @@ -430,8 +430,8 @@ async def begin_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2017_08_01.models.PatchRouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilterRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/operations/_route_filters_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/operations/_route_filters_operations.py index fb9394973ae4..1c6041e8a3e6 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/operations/_route_filters_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/operations/_route_filters_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type route_filter_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -287,8 +287,8 @@ async def begin_create_or_update( :type route_filter_parameters: ~azure.mgmt.network.v2017_08_01.models.RouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilter or the result of cls(response) @@ -411,8 +411,8 @@ async def begin_update( :type route_filter_parameters: ~azure.mgmt.network.v2017_08_01.models.PatchRouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilter or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/operations/_route_tables_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/operations/_route_tables_operations.py index 618722f729ba..e09d400d6d28 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/operations/_route_tables_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/operations/_route_tables_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_08_01.models.RouteTable :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteTable or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/operations/_routes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/operations/_routes_operations.py index f327acb699db..a31576168054 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/operations/_routes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/operations/_routes_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type route_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ async def begin_create_or_update( :type route_parameters: ~azure.mgmt.network.v2017_08_01.models.Route :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Route or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/operations/_security_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/operations/_security_rules_operations.py index 2fc6baa9c1a5..c6efaa96ad19 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/operations/_security_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/operations/_security_rules_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type security_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type security_rule_parameters: ~azure.mgmt.network.v2017_08_01.models.SecurityRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either SecurityRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/operations/_subnets_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/operations/_subnets_operations.py index 271a12e205e9..fab5ed4896e6 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/operations/_subnets_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/operations/_subnets_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type subnet_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -302,8 +302,8 @@ async def begin_create_or_update( :type subnet_parameters: ~azure.mgmt.network.v2017_08_01.models.Subnet :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Subnet or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/operations/_virtual_network_gateway_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/operations/_virtual_network_gateway_connections_operations.py index 5efa6adc1c5c..7a455ed70240 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/operations/_virtual_network_gateway_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/operations/_virtual_network_gateway_connections_operations.py @@ -119,8 +119,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_08_01.models.VirtualNetworkGatewayConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -289,8 +289,8 @@ async def begin_delete( :type virtual_network_gateway_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -416,8 +416,8 @@ async def begin_set_shared_key( :type parameters: ~azure.mgmt.network.v2017_08_01.models.ConnectionSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionSharedKey or the result of cls(response) @@ -677,8 +677,8 @@ async def begin_reset_shared_key( :type parameters: ~azure.mgmt.network.v2017_08_01.models.ConnectionResetSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionResetSharedKey or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/operations/_virtual_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/operations/_virtual_network_gateways_operations.py index 11b655f4ad81..c78e9607be0a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/operations/_virtual_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/operations/_virtual_network_gateways_operations.py @@ -117,8 +117,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_08_01.models.VirtualNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -285,8 +285,8 @@ async def begin_delete( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -549,8 +549,8 @@ async def begin_reset( :type gateway_vip: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -677,8 +677,8 @@ async def begin_generatevpnclientpackage( :type parameters: ~azure.mgmt.network.v2017_08_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -805,8 +805,8 @@ async def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2017_08_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -923,8 +923,8 @@ async def begin_get_vpn_profile_package_url( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1045,8 +1045,8 @@ async def begin_get_bgp_peer_status( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either BgpPeerStatusListResult or the result of cls(response) @@ -1163,8 +1163,8 @@ async def begin_get_learned_routes( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1285,8 +1285,8 @@ async def begin_get_advertised_routes( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either GatewayRouteListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/operations/_virtual_network_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/operations/_virtual_network_peerings_operations.py index d3d8529b813a..64f887e6181a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/operations/_virtual_network_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/operations/_virtual_network_peerings_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type virtual_network_peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type virtual_network_peering_parameters: ~azure.mgmt.network.v2017_08_01.models.VirtualNetworkPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/operations/_virtual_networks_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/operations/_virtual_networks_operations.py index 74cd7dcb273b..b004d667d561 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/operations/_virtual_networks_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/aio/operations/_virtual_networks_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type virtual_network_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_08_01.models.VirtualNetwork :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetwork or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/_models.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/_models.py index 23c5d0ba0739..29c83c05824f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/_models.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/_models.py @@ -5154,8 +5154,8 @@ class PacketCaptureStorageLocation(msrest.serialization.Model): :param storage_id: The ID of the storage account to save the packet capture session. Required if no local file path is provided. :type storage_id: str - :param storage_path: The URI of the storage path to save the packet capture. Must be a well- - formed URI describing the location to save the packet capture. + :param storage_path: The URI of the storage path to save the packet capture. Must be a + well-formed URI describing the location to save the packet capture. :type storage_path: str :param file_path: A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/_models_py3.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/_models_py3.py index 548c8fac740b..b5c63073c922 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/_models_py3.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/models/_models_py3.py @@ -5857,8 +5857,8 @@ class PacketCaptureStorageLocation(msrest.serialization.Model): :param storage_id: The ID of the storage account to save the packet capture session. Required if no local file path is provided. :type storage_id: str - :param storage_path: The URI of the storage path to save the packet capture. Must be a well- - formed URI describing the location to save the packet capture. + :param storage_path: The URI of the storage path to save the packet capture. Must be a + well-formed URI describing the location to save the packet capture. :type storage_path: str :param file_path: A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/_application_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/_application_gateways_operations.py index 651b2dee1efd..0a56628ad158 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/_application_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/_application_gateways_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_08_01.models.ApplicationGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGateway or the result of cls(response) @@ -540,8 +540,8 @@ def begin_start( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -648,8 +648,8 @@ def begin_stop( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -769,8 +769,8 @@ def begin_backend_health( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGatewayBackendHealth or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/_express_route_circuit_authorizations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/_express_route_circuit_authorizations_operations.py index d6d72739e962..57c22644b816 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/_express_route_circuit_authorizations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/_express_route_circuit_authorizations_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type authorization_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type authorization_parameters: ~azure.mgmt.network.v2017_08_01.models.ExpressRouteCircuitAuthorization :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitAuthorization or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/_express_route_circuit_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/_express_route_circuit_peerings_operations.py index c5aed6fc71b3..1b7f4940f9f9 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/_express_route_circuit_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/_express_route_circuit_peerings_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2017_08_01.models.ExpressRouteCircuitPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/_express_route_circuits_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/_express_route_circuits_operations.py index 498ac1e5a196..3e8a0486afbd 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/_express_route_circuits_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/_express_route_circuits_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type circuit_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_08_01.models.ExpressRouteCircuit :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -420,8 +420,8 @@ def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -553,8 +553,8 @@ def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) @@ -686,8 +686,8 @@ def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableSummaryListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/_inbound_nat_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/_inbound_nat_rules_operations.py index 122ce75f1d57..861b1e385cb4 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/_inbound_nat_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/_inbound_nat_rules_operations.py @@ -185,8 +185,8 @@ def begin_delete( :type inbound_nat_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -387,8 +387,8 @@ def begin_create_or_update( :type inbound_nat_rule_parameters: ~azure.mgmt.network.v2017_08_01.models.InboundNatRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either InboundNatRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/_load_balancers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/_load_balancers_operations.py index 24409f3ed3c8..0a0c4fb79460 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/_load_balancers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/_load_balancers_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type load_balancer_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_08_01.models.LoadBalancer :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LoadBalancer or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/_local_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/_local_network_gateways_operations.py index e186af74ca00..adbe0343fc41 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/_local_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/_local_network_gateways_operations.py @@ -123,8 +123,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_08_01.models.LocalNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LocalNetworkGateway or the result of cls(response) @@ -294,8 +294,8 @@ def begin_delete( :type local_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/_network_interfaces_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/_network_interfaces_operations.py index 43c8ebb99092..71f3d5adba90 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/_network_interfaces_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/_network_interfaces_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_08_01.models.NetworkInterface :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkInterface or the result of cls(response) @@ -552,8 +552,8 @@ def begin_get_effective_route_table( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either EffectiveRouteListResult or the result of cls(response) @@ -670,8 +670,8 @@ def begin_list_effective_network_security_groups( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either EffectiveNetworkSecurityGroupListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/_network_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/_network_security_groups_operations.py index 44b72a406167..efcd640c35ac 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/_network_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/_network_security_groups_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type network_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -296,8 +296,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_08_01.models.NetworkSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/_network_watchers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/_network_watchers_operations.py index dbcd6757b5f8..7697e460f227 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/_network_watchers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/_network_watchers_operations.py @@ -235,8 +235,8 @@ def begin_delete( :type network_watcher_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -566,8 +566,8 @@ def begin_verify_ip_flow( :type parameters: ~azure.mgmt.network.v2017_08_01.models.VerificationIPFlowParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VerificationIPFlowResult or the result of cls(response) @@ -696,8 +696,8 @@ def begin_get_next_hop( :type parameters: ~azure.mgmt.network.v2017_08_01.models.NextHopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NextHopResult or the result of cls(response) @@ -826,8 +826,8 @@ def begin_get_vm_security_rules( :type parameters: ~azure.mgmt.network.v2017_08_01.models.SecurityGroupViewParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either SecurityGroupViewResult or the result of cls(response) @@ -956,8 +956,8 @@ def begin_get_troubleshooting( :type parameters: ~azure.mgmt.network.v2017_08_01.models.TroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1086,8 +1086,8 @@ def begin_get_troubleshooting_result( :type parameters: ~azure.mgmt.network.v2017_08_01.models.QueryTroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1216,8 +1216,8 @@ def begin_set_flow_log_configuration( :type parameters: ~azure.mgmt.network.v2017_08_01.models.FlowLogInformation :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1346,8 +1346,8 @@ def begin_get_flow_log_status( :type parameters: ~azure.mgmt.network.v2017_08_01.models.FlowLogStatusParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1477,8 +1477,8 @@ def begin_check_connectivity( :type parameters: ~azure.mgmt.network.v2017_08_01.models.ConnectivityParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectivityInformation or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/_packet_captures_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/_packet_captures_operations.py index e1b9d25acc82..e0e894a1469c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/_packet_captures_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/_packet_captures_operations.py @@ -124,8 +124,8 @@ def begin_create( :type parameters: ~azure.mgmt.network.v2017_08_01.models.PacketCapture :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PacketCaptureResult or the result of cls(response) @@ -306,8 +306,8 @@ def begin_delete( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -421,8 +421,8 @@ def begin_stop( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -545,8 +545,8 @@ def begin_get_status( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PacketCaptureQueryStatusResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/_public_ip_addresses_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/_public_ip_addresses_operations.py index 051911d6ae93..5617780cfb22 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/_public_ip_addresses_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/_public_ip_addresses_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type public_ip_address_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_08_01.models.PublicIPAddress :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PublicIPAddress or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/_route_filter_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/_route_filter_rules_operations.py index 66a3f78a8e55..434dc467d9d0 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/_route_filter_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/_route_filter_rules_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2017_08_01.models.RouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilterRule or the result of cls(response) @@ -441,8 +441,8 @@ def begin_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2017_08_01.models.PatchRouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilterRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/_route_filters_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/_route_filters_operations.py index ecb1b469ceb8..88d0e7cb011a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/_route_filters_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/_route_filters_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type route_filter_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -296,8 +296,8 @@ def begin_create_or_update( :type route_filter_parameters: ~azure.mgmt.network.v2017_08_01.models.RouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilter or the result of cls(response) @@ -422,8 +422,8 @@ def begin_update( :type route_filter_parameters: ~azure.mgmt.network.v2017_08_01.models.PatchRouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilter or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/_route_tables_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/_route_tables_operations.py index bc4d68e88858..2a83d7768147 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/_route_tables_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/_route_tables_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_08_01.models.RouteTable :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteTable or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/_routes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/_routes_operations.py index 7fdb514f9756..212303eb0c3c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/_routes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/_routes_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type route_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -306,8 +306,8 @@ def begin_create_or_update( :type route_parameters: ~azure.mgmt.network.v2017_08_01.models.Route :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Route or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/_security_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/_security_rules_operations.py index de1ff1c0f60a..b5333e6d7cfc 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/_security_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/_security_rules_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type security_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type security_rule_parameters: ~azure.mgmt.network.v2017_08_01.models.SecurityRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either SecurityRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/_subnets_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/_subnets_operations.py index 4d6c2bc39258..4c748ad9b8a1 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/_subnets_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/_subnets_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type subnet_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -311,8 +311,8 @@ def begin_create_or_update( :type subnet_parameters: ~azure.mgmt.network.v2017_08_01.models.Subnet :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Subnet or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/_virtual_network_gateway_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/_virtual_network_gateway_connections_operations.py index c3e446daaf2e..737e090dbb4e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/_virtual_network_gateway_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/_virtual_network_gateway_connections_operations.py @@ -125,8 +125,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_08_01.models.VirtualNetworkGatewayConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -298,8 +298,8 @@ def begin_delete( :type virtual_network_gateway_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -427,8 +427,8 @@ def begin_set_shared_key( :type parameters: ~azure.mgmt.network.v2017_08_01.models.ConnectionSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionSharedKey or the result of cls(response) @@ -692,8 +692,8 @@ def begin_reset_shared_key( :type parameters: ~azure.mgmt.network.v2017_08_01.models.ConnectionResetSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionResetSharedKey or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/_virtual_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/_virtual_network_gateways_operations.py index 636beb8af341..16c5933f3832 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/_virtual_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/_virtual_network_gateways_operations.py @@ -123,8 +123,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_08_01.models.VirtualNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -294,8 +294,8 @@ def begin_delete( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -562,8 +562,8 @@ def begin_reset( :type gateway_vip: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -692,8 +692,8 @@ def begin_generatevpnclientpackage( :type parameters: ~azure.mgmt.network.v2017_08_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -822,8 +822,8 @@ def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2017_08_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -942,8 +942,8 @@ def begin_get_vpn_profile_package_url( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1066,8 +1066,8 @@ def begin_get_bgp_peer_status( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either BgpPeerStatusListResult or the result of cls(response) @@ -1186,8 +1186,8 @@ def begin_get_learned_routes( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1310,8 +1310,8 @@ def begin_get_advertised_routes( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either GatewayRouteListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/_virtual_network_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/_virtual_network_peerings_operations.py index 21a2d25aaa3b..ff1d5b615bd1 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/_virtual_network_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/_virtual_network_peerings_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type virtual_network_peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type virtual_network_peering_parameters: ~azure.mgmt.network.v2017_08_01.models.VirtualNetworkPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/_virtual_networks_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/_virtual_networks_operations.py index a6f083789557..6de27f97670f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/_virtual_networks_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_08_01/operations/_virtual_networks_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type virtual_network_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_08_01.models.VirtualNetwork :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetwork or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/_metadata.json b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/_metadata.json index 15ce25188de2..fbb444741fb3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/_metadata.json +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/_metadata.json @@ -9,7 +9,9 @@ "custom_base_url": null, "azure_arm": true, "has_lro_operations": true, - "client_side_validation": true + "client_side_validation": false, + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"NetworkManagementClientConfiguration\"], \"._operations_mixin\": [\"NetworkManagementClientOperationsMixin\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"NetworkManagementClientConfiguration\"], \"._operations_mixin\": [\"NetworkManagementClientOperationsMixin\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}" }, "global_parameters": { "sync": { @@ -28,13 +30,13 @@ }, "async": { "credential": { - "signature": "credential, # type: \"AsyncTokenCredential\"", + "signature": "credential: \"AsyncTokenCredential\",", "description": "Credential needed for the client to connect to Azure.", "docstring_type": "~azure.core.credentials_async.AsyncTokenCredential", "required": true }, "subscription_id": { - "signature": "subscription_id, # type: str", + "signature": "subscription_id: str,", "description": "The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.", "docstring_type": "str", "required": true @@ -42,14 +44,58 @@ }, "constant": { }, - "call": "credential, subscription_id" + "call": "credential, subscription_id", + "service_client_specific": { + "sync": { + "api_version": { + "signature": "api_version=None, # type: Optional[str]", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url=None, # type: Optional[str]", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile=KnownProfiles.default, # type: KnownProfiles", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + }, + "async": { + "api_version": { + "signature": "api_version: Optional[str] = None,", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url: Optional[str] = None,", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile: KnownProfiles = KnownProfiles.default,", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + } + } }, "config": { "credential": true, "credential_scopes": ["https://management.azure.com/.default"], "credential_default_policy_type": "BearerTokenCredentialPolicy", "credential_default_policy_type_has_async_version": true, - "credential_key_header_name": null + "credential_key_header_name": null, + "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMHttpLoggingPolicy\"]}, \"local\": {\"._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}}", + "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMHttpLoggingPolicy\"]}, \"local\": {\".._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}}" }, "operation_groups": { "application_gateways": "ApplicationGatewaysOperations", @@ -90,19 +136,21 @@ "local_network_gateways": "LocalNetworkGatewaysOperations" }, "operation_mixins": { - "check_dns_name_availability" : { - "sync": { - "signature": "def check_dns_name_availability(\n self,\n location, # type: str\n domain_name_label, # type: str\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2017_09_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def check_dns_name_availability(\n self,\n location: str,\n domain_name_label: str,\n **kwargs\n) -\u003e \"_models.DnsNameAvailabilityResult\":\n", - "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2017_09_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "location, domain_name_label" + "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\"]}}}", + "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\"]}}}", + "operations": { + "check_dns_name_availability" : { + "sync": { + "signature": "def check_dns_name_availability(\n self,\n location, # type: str\n domain_name_label, # type: str\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2017_09_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def check_dns_name_availability(\n self,\n location: str,\n domain_name_label: str,\n **kwargs\n) -\u003e \"_models.DnsNameAvailabilityResult\":\n", + "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2017_09_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "location, domain_name_label" + } } - }, - "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\"]}}}", - "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\"]}}}" + } } \ No newline at end of file diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/_network_management_client.py index 092d5e9042a8..5c9434c076d3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/_network_management_client.py @@ -16,6 +16,7 @@ from typing import Any, Optional from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse from ._configuration import NetworkManagementClientConfiguration from .operations import ApplicationGatewaysOperations @@ -156,6 +157,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( @@ -231,6 +233,24 @@ def __init__( self.local_network_gateways = LocalNetworkGatewaysOperations( self._client, self._config, self._serialize, self._deserialize) + def _send_request(self, http_request, **kwargs): + # type: (HttpRequest, Any) -> HttpResponse + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.HttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + def close(self): # type: () -> None self._client.close() diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/_network_management_client.py index ccfb58123a20..2c46c51429b5 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/_network_management_client.py @@ -8,6 +8,7 @@ from typing import Any, Optional, TYPE_CHECKING +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core import AsyncARMPipelineClient from msrest import Deserializer, Serializer @@ -153,6 +154,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( @@ -228,6 +230,23 @@ def __init__( self.local_network_gateways = LocalNetworkGatewaysOperations( self._client, self._config, self._serialize, self._deserialize) + async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + async def close(self) -> None: await self._client.close() diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_application_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_application_gateways_operations.py index 1571841ff495..71bc71c34e00 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_application_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_application_gateways_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_09_01.models.ApplicationGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGateway or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2017_09_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGateway or the result of cls(response) @@ -651,8 +651,8 @@ async def begin_start( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -757,8 +757,8 @@ async def begin_stop( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -876,8 +876,8 @@ async def begin_backend_health( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGatewayBackendHealth or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_application_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_application_security_groups_operations.py index a8d69777ab24..ecc40a758e02 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_application_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_application_security_groups_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type application_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -282,8 +282,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_09_01.models.ApplicationSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_express_route_circuit_authorizations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_express_route_circuit_authorizations_operations.py index 72ce15df2f29..55807e7ec873 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_express_route_circuit_authorizations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_express_route_circuit_authorizations_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type authorization_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type authorization_parameters: ~azure.mgmt.network.v2017_09_01.models.ExpressRouteCircuitAuthorization :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitAuthorization or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_express_route_circuit_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_express_route_circuit_peerings_operations.py index 5623d0f0b2eb..998f51c45de3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_express_route_circuit_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_express_route_circuit_peerings_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2017_09_01.models.ExpressRouteCircuitPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_express_route_circuits_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_express_route_circuits_operations.py index 91dd97d27881..3a46178017fe 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_express_route_circuits_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_express_route_circuits_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type circuit_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_09_01.models.ExpressRouteCircuit :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2017_09_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -533,8 +533,8 @@ async def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -664,8 +664,8 @@ async def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) @@ -795,8 +795,8 @@ async def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableSummaryListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_inbound_nat_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_inbound_nat_rules_operations.py index 29c84708cc93..d1cf38f6e460 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_inbound_nat_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_inbound_nat_rules_operations.py @@ -178,8 +178,8 @@ async def begin_delete( :type inbound_nat_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -377,8 +377,8 @@ async def begin_create_or_update( :type inbound_nat_rule_parameters: ~azure.mgmt.network.v2017_09_01.models.InboundNatRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either InboundNatRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_load_balancers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_load_balancers_operations.py index f7387fe8ee69..45569073651b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_load_balancers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_load_balancers_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type load_balancer_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_09_01.models.LoadBalancer :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LoadBalancer or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2017_09_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LoadBalancer or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_local_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_local_network_gateways_operations.py index 17adc6caa8a6..9a80a4f80cc9 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_local_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_local_network_gateways_operations.py @@ -117,8 +117,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_09_01.models.LocalNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LocalNetworkGateway or the result of cls(response) @@ -285,8 +285,8 @@ async def begin_delete( :type local_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2017_09_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LocalNetworkGateway or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_network_interfaces_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_network_interfaces_operations.py index 2010201da18d..3b0bea10e697 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_network_interfaces_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_network_interfaces_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_09_01.models.NetworkInterface :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkInterface or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2017_09_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkInterface or the result of cls(response) @@ -663,8 +663,8 @@ async def begin_get_effective_route_table( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either EffectiveRouteListResult or the result of cls(response) @@ -779,8 +779,8 @@ async def begin_list_effective_network_security_groups( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either EffectiveNetworkSecurityGroupListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_network_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_network_security_groups_operations.py index 8a70c96f53bc..98ed50905dc2 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_network_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_network_security_groups_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type network_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -287,8 +287,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_09_01.models.NetworkSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkSecurityGroup or the result of cls(response) @@ -411,8 +411,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2017_09_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_network_watchers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_network_watchers_operations.py index edbd51a36eee..8b05f494cfcb 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_network_watchers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_network_watchers_operations.py @@ -227,8 +227,8 @@ async def begin_delete( :type network_watcher_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -619,8 +619,8 @@ async def begin_verify_ip_flow( :type parameters: ~azure.mgmt.network.v2017_09_01.models.VerificationIPFlowParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VerificationIPFlowResult or the result of cls(response) @@ -747,8 +747,8 @@ async def begin_get_next_hop( :type parameters: ~azure.mgmt.network.v2017_09_01.models.NextHopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NextHopResult or the result of cls(response) @@ -875,8 +875,8 @@ async def begin_get_vm_security_rules( :type parameters: ~azure.mgmt.network.v2017_09_01.models.SecurityGroupViewParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either SecurityGroupViewResult or the result of cls(response) @@ -1003,8 +1003,8 @@ async def begin_get_troubleshooting( :type parameters: ~azure.mgmt.network.v2017_09_01.models.TroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1131,8 +1131,8 @@ async def begin_get_troubleshooting_result( :type parameters: ~azure.mgmt.network.v2017_09_01.models.QueryTroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1259,8 +1259,8 @@ async def begin_set_flow_log_configuration( :type parameters: ~azure.mgmt.network.v2017_09_01.models.FlowLogInformation :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1387,8 +1387,8 @@ async def begin_get_flow_log_status( :type parameters: ~azure.mgmt.network.v2017_09_01.models.FlowLogStatusParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1516,8 +1516,8 @@ async def begin_check_connectivity( :type parameters: ~azure.mgmt.network.v2017_09_01.models.ConnectivityParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectivityInformation or the result of cls(response) @@ -1645,8 +1645,8 @@ async def begin_get_azure_reachability_report( :type parameters: ~azure.mgmt.network.v2017_09_01.models.AzureReachabilityReportParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AzureReachabilityReport or the result of cls(response) @@ -1773,8 +1773,8 @@ async def begin_list_available_providers( :type parameters: ~azure.mgmt.network.v2017_09_01.models.AvailableProvidersListParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AvailableProvidersList or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_packet_captures_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_packet_captures_operations.py index e54031bb6fa6..f3a370a09f69 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_packet_captures_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_packet_captures_operations.py @@ -118,8 +118,8 @@ async def begin_create( :type parameters: ~azure.mgmt.network.v2017_09_01.models.PacketCapture :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PacketCaptureResult or the result of cls(response) @@ -297,8 +297,8 @@ async def begin_delete( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_stop( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -532,8 +532,8 @@ async def begin_get_status( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PacketCaptureQueryStatusResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_public_ip_addresses_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_public_ip_addresses_operations.py index 715dddf22ef8..6e71098e26c0 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_public_ip_addresses_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_public_ip_addresses_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type public_ip_address_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_09_01.models.PublicIPAddress :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PublicIPAddress or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2017_09_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PublicIPAddress or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_route_filter_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_route_filter_rules_operations.py index 26974b82aa53..f52af85c0a62 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_route_filter_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_route_filter_rules_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2017_09_01.models.RouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilterRule or the result of cls(response) @@ -430,8 +430,8 @@ async def begin_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2017_09_01.models.PatchRouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilterRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_route_filters_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_route_filters_operations.py index 14b484fe4a68..23cc75fb7ec6 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_route_filters_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_route_filters_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type route_filter_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -287,8 +287,8 @@ async def begin_create_or_update( :type route_filter_parameters: ~azure.mgmt.network.v2017_09_01.models.RouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilter or the result of cls(response) @@ -411,8 +411,8 @@ async def begin_update( :type route_filter_parameters: ~azure.mgmt.network.v2017_09_01.models.PatchRouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilter or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_route_tables_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_route_tables_operations.py index fdf4717bc853..81b9ad2c5066 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_route_tables_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_route_tables_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_09_01.models.RouteTable :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteTable or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2017_09_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteTable or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_routes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_routes_operations.py index c9920dbc7448..106c26d8b411 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_routes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_routes_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type route_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ async def begin_create_or_update( :type route_parameters: ~azure.mgmt.network.v2017_09_01.models.Route :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Route or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_security_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_security_rules_operations.py index 3c2e14ed4bbf..5a14f832aa9f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_security_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_security_rules_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type security_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type security_rule_parameters: ~azure.mgmt.network.v2017_09_01.models.SecurityRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either SecurityRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_subnets_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_subnets_operations.py index 6c1b56b3df4c..f48a952a7a90 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_subnets_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_subnets_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type subnet_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -302,8 +302,8 @@ async def begin_create_or_update( :type subnet_parameters: ~azure.mgmt.network.v2017_09_01.models.Subnet :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Subnet or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_virtual_network_gateway_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_virtual_network_gateway_connections_operations.py index f93999a31880..b930a4eb4d01 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_virtual_network_gateway_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_virtual_network_gateway_connections_operations.py @@ -119,8 +119,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_09_01.models.VirtualNetworkGatewayConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -289,8 +289,8 @@ async def begin_delete( :type virtual_network_gateway_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2017_09_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGatewayConnectionListEntity or the result of cls(response) @@ -541,8 +541,8 @@ async def begin_set_shared_key( :type parameters: ~azure.mgmt.network.v2017_09_01.models.ConnectionSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionSharedKey or the result of cls(response) @@ -802,8 +802,8 @@ async def begin_reset_shared_key( :type parameters: ~azure.mgmt.network.v2017_09_01.models.ConnectionResetSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionResetSharedKey or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_virtual_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_virtual_network_gateways_operations.py index 996da6afb46e..88505161fbaf 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_virtual_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_virtual_network_gateways_operations.py @@ -117,8 +117,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_09_01.models.VirtualNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -285,8 +285,8 @@ async def begin_delete( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2017_09_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -673,8 +673,8 @@ async def begin_reset( :type gateway_vip: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -801,8 +801,8 @@ async def begin_generatevpnclientpackage( :type parameters: ~azure.mgmt.network.v2017_09_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -929,8 +929,8 @@ async def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2017_09_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1047,8 +1047,8 @@ async def begin_get_vpn_profile_package_url( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1169,8 +1169,8 @@ async def begin_get_bgp_peer_status( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either BgpPeerStatusListResult or the result of cls(response) @@ -1345,8 +1345,8 @@ async def begin_get_learned_routes( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1467,8 +1467,8 @@ async def begin_get_advertised_routes( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either GatewayRouteListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_virtual_network_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_virtual_network_peerings_operations.py index ddadbd116179..a7a73b5893f0 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_virtual_network_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_virtual_network_peerings_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type virtual_network_peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type virtual_network_peering_parameters: ~azure.mgmt.network.v2017_09_01.models.VirtualNetworkPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_virtual_networks_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_virtual_networks_operations.py index e9725ffc8c3f..59e0b1dc06b6 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_virtual_networks_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/aio/operations/_virtual_networks_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type virtual_network_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_09_01.models.VirtualNetwork :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetwork or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2017_09_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetwork or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/models/_models.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/models/_models.py index 2f333aac3990..66c6ef157189 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/models/_models.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/models/_models.py @@ -5808,8 +5808,8 @@ class PacketCaptureStorageLocation(msrest.serialization.Model): :param storage_id: The ID of the storage account to save the packet capture session. Required if no local file path is provided. :type storage_id: str - :param storage_path: The URI of the storage path to save the packet capture. Must be a well- - formed URI describing the location to save the packet capture. + :param storage_path: The URI of the storage path to save the packet capture. Must be a + well-formed URI describing the location to save the packet capture. :type storage_path: str :param file_path: A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no @@ -8184,8 +8184,8 @@ class VirtualNetworkPeering(SubResource): :type use_remote_gateways: bool :param remote_virtual_network: The reference of the remote virtual network. The remote virtual network can be in the same or different region (preview). See here to register for the preview - and learn more (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create- - peering). + and learn more + (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering). :type remote_virtual_network: ~azure.mgmt.network.v2017_09_01.models.SubResource :param remote_address_space: The reference of the remote virtual network address space. :type remote_address_space: ~azure.mgmt.network.v2017_09_01.models.AddressSpace diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/models/_models_py3.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/models/_models_py3.py index 734d64f95289..5ad0ea241d7d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/models/_models_py3.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/models/_models_py3.py @@ -6600,8 +6600,8 @@ class PacketCaptureStorageLocation(msrest.serialization.Model): :param storage_id: The ID of the storage account to save the packet capture session. Required if no local file path is provided. :type storage_id: str - :param storage_path: The URI of the storage path to save the packet capture. Must be a well- - formed URI describing the location to save the packet capture. + :param storage_path: The URI of the storage path to save the packet capture. Must be a + well-formed URI describing the location to save the packet capture. :type storage_path: str :param file_path: A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no @@ -9273,8 +9273,8 @@ class VirtualNetworkPeering(SubResource): :type use_remote_gateways: bool :param remote_virtual_network: The reference of the remote virtual network. The remote virtual network can be in the same or different region (preview). See here to register for the preview - and learn more (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create- - peering). + and learn more + (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering). :type remote_virtual_network: ~azure.mgmt.network.v2017_09_01.models.SubResource :param remote_address_space: The reference of the remote virtual network address space. :type remote_address_space: ~azure.mgmt.network.v2017_09_01.models.AddressSpace diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_application_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_application_gateways_operations.py index f084c6cf0501..2e78f6cd4532 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_application_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_application_gateways_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_09_01.models.ApplicationGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGateway or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2017_09_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGateway or the result of cls(response) @@ -666,8 +666,8 @@ def begin_start( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -774,8 +774,8 @@ def begin_stop( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -895,8 +895,8 @@ def begin_backend_health( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGatewayBackendHealth or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_application_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_application_security_groups_operations.py index 04d5ebe4c2b2..62adc0ee4de3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_application_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_application_security_groups_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type application_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -291,8 +291,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_09_01.models.ApplicationSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_express_route_circuit_authorizations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_express_route_circuit_authorizations_operations.py index 0c127bebf741..47a1f12080b4 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_express_route_circuit_authorizations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_express_route_circuit_authorizations_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type authorization_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type authorization_parameters: ~azure.mgmt.network.v2017_09_01.models.ExpressRouteCircuitAuthorization :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitAuthorization or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_express_route_circuit_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_express_route_circuit_peerings_operations.py index 01aa83863bd6..7f13640aa208 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_express_route_circuit_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_express_route_circuit_peerings_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2017_09_01.models.ExpressRouteCircuitPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_express_route_circuits_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_express_route_circuits_operations.py index d13c29c4373b..827f12f60805 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_express_route_circuits_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_express_route_circuits_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type circuit_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_09_01.models.ExpressRouteCircuit :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2017_09_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -546,8 +546,8 @@ def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -679,8 +679,8 @@ def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) @@ -812,8 +812,8 @@ def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableSummaryListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_inbound_nat_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_inbound_nat_rules_operations.py index cbab104a9120..e212c88cd484 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_inbound_nat_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_inbound_nat_rules_operations.py @@ -185,8 +185,8 @@ def begin_delete( :type inbound_nat_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -387,8 +387,8 @@ def begin_create_or_update( :type inbound_nat_rule_parameters: ~azure.mgmt.network.v2017_09_01.models.InboundNatRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either InboundNatRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_load_balancers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_load_balancers_operations.py index fa96b0a23dd4..a649e71d86fb 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_load_balancers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_load_balancers_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type load_balancer_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_09_01.models.LoadBalancer :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LoadBalancer or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2017_09_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LoadBalancer or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_local_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_local_network_gateways_operations.py index 4d880222d5b4..5a158ca7243b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_local_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_local_network_gateways_operations.py @@ -123,8 +123,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_09_01.models.LocalNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LocalNetworkGateway or the result of cls(response) @@ -294,8 +294,8 @@ def begin_delete( :type local_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2017_09_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LocalNetworkGateway or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_network_interfaces_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_network_interfaces_operations.py index 343a24db174f..782b10ec5674 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_network_interfaces_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_network_interfaces_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_09_01.models.NetworkInterface :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkInterface or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2017_09_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkInterface or the result of cls(response) @@ -678,8 +678,8 @@ def begin_get_effective_route_table( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either EffectiveRouteListResult or the result of cls(response) @@ -796,8 +796,8 @@ def begin_list_effective_network_security_groups( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either EffectiveNetworkSecurityGroupListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_network_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_network_security_groups_operations.py index ea48087a4a60..d828b950f7b0 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_network_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_network_security_groups_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type network_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -296,8 +296,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_09_01.models.NetworkSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkSecurityGroup or the result of cls(response) @@ -422,8 +422,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2017_09_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_network_watchers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_network_watchers_operations.py index 2d08961694fb..72b0493a8eb9 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_network_watchers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_network_watchers_operations.py @@ -235,8 +235,8 @@ def begin_delete( :type network_watcher_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -633,8 +633,8 @@ def begin_verify_ip_flow( :type parameters: ~azure.mgmt.network.v2017_09_01.models.VerificationIPFlowParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VerificationIPFlowResult or the result of cls(response) @@ -763,8 +763,8 @@ def begin_get_next_hop( :type parameters: ~azure.mgmt.network.v2017_09_01.models.NextHopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NextHopResult or the result of cls(response) @@ -893,8 +893,8 @@ def begin_get_vm_security_rules( :type parameters: ~azure.mgmt.network.v2017_09_01.models.SecurityGroupViewParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either SecurityGroupViewResult or the result of cls(response) @@ -1023,8 +1023,8 @@ def begin_get_troubleshooting( :type parameters: ~azure.mgmt.network.v2017_09_01.models.TroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1153,8 +1153,8 @@ def begin_get_troubleshooting_result( :type parameters: ~azure.mgmt.network.v2017_09_01.models.QueryTroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1283,8 +1283,8 @@ def begin_set_flow_log_configuration( :type parameters: ~azure.mgmt.network.v2017_09_01.models.FlowLogInformation :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1413,8 +1413,8 @@ def begin_get_flow_log_status( :type parameters: ~azure.mgmt.network.v2017_09_01.models.FlowLogStatusParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1544,8 +1544,8 @@ def begin_check_connectivity( :type parameters: ~azure.mgmt.network.v2017_09_01.models.ConnectivityParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectivityInformation or the result of cls(response) @@ -1675,8 +1675,8 @@ def begin_get_azure_reachability_report( :type parameters: ~azure.mgmt.network.v2017_09_01.models.AzureReachabilityReportParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AzureReachabilityReport or the result of cls(response) @@ -1805,8 +1805,8 @@ def begin_list_available_providers( :type parameters: ~azure.mgmt.network.v2017_09_01.models.AvailableProvidersListParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AvailableProvidersList or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_packet_captures_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_packet_captures_operations.py index f7b22664f7a4..b4a1bf6bb54d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_packet_captures_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_packet_captures_operations.py @@ -124,8 +124,8 @@ def begin_create( :type parameters: ~azure.mgmt.network.v2017_09_01.models.PacketCapture :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PacketCaptureResult or the result of cls(response) @@ -306,8 +306,8 @@ def begin_delete( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -421,8 +421,8 @@ def begin_stop( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -545,8 +545,8 @@ def begin_get_status( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PacketCaptureQueryStatusResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_public_ip_addresses_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_public_ip_addresses_operations.py index 0ab7667143ca..997e17467064 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_public_ip_addresses_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_public_ip_addresses_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type public_ip_address_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_09_01.models.PublicIPAddress :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PublicIPAddress or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2017_09_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PublicIPAddress or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_route_filter_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_route_filter_rules_operations.py index 62ceb1692097..48f95ddf9636 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_route_filter_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_route_filter_rules_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2017_09_01.models.RouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilterRule or the result of cls(response) @@ -441,8 +441,8 @@ def begin_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2017_09_01.models.PatchRouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilterRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_route_filters_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_route_filters_operations.py index 3ee58d5c9aca..4a48f190fc31 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_route_filters_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_route_filters_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type route_filter_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -296,8 +296,8 @@ def begin_create_or_update( :type route_filter_parameters: ~azure.mgmt.network.v2017_09_01.models.RouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilter or the result of cls(response) @@ -422,8 +422,8 @@ def begin_update( :type route_filter_parameters: ~azure.mgmt.network.v2017_09_01.models.PatchRouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilter or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_route_tables_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_route_tables_operations.py index 807777b607f2..84029170c4ce 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_route_tables_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_route_tables_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_09_01.models.RouteTable :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteTable or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2017_09_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteTable or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_routes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_routes_operations.py index 3be76758c90d..e8058379396b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_routes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_routes_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type route_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -306,8 +306,8 @@ def begin_create_or_update( :type route_parameters: ~azure.mgmt.network.v2017_09_01.models.Route :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Route or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_security_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_security_rules_operations.py index 79323ff68017..ef6960eda5d3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_security_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_security_rules_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type security_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type security_rule_parameters: ~azure.mgmt.network.v2017_09_01.models.SecurityRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either SecurityRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_subnets_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_subnets_operations.py index 367893c7ff19..91b4e0a102b7 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_subnets_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_subnets_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type subnet_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -311,8 +311,8 @@ def begin_create_or_update( :type subnet_parameters: ~azure.mgmt.network.v2017_09_01.models.Subnet :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Subnet or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_virtual_network_gateway_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_virtual_network_gateway_connections_operations.py index cb97dadfa201..7ad5e310b06a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_virtual_network_gateway_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_virtual_network_gateway_connections_operations.py @@ -125,8 +125,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_09_01.models.VirtualNetworkGatewayConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -298,8 +298,8 @@ def begin_delete( :type virtual_network_gateway_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2017_09_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGatewayConnectionListEntity or the result of cls(response) @@ -554,8 +554,8 @@ def begin_set_shared_key( :type parameters: ~azure.mgmt.network.v2017_09_01.models.ConnectionSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionSharedKey or the result of cls(response) @@ -819,8 +819,8 @@ def begin_reset_shared_key( :type parameters: ~azure.mgmt.network.v2017_09_01.models.ConnectionResetSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionResetSharedKey or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_virtual_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_virtual_network_gateways_operations.py index a084f036f2fe..4c0a78cc28c1 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_virtual_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_virtual_network_gateways_operations.py @@ -123,8 +123,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_09_01.models.VirtualNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -294,8 +294,8 @@ def begin_delete( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2017_09_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -688,8 +688,8 @@ def begin_reset( :type gateway_vip: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -818,8 +818,8 @@ def begin_generatevpnclientpackage( :type parameters: ~azure.mgmt.network.v2017_09_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -948,8 +948,8 @@ def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2017_09_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1068,8 +1068,8 @@ def begin_get_vpn_profile_package_url( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1192,8 +1192,8 @@ def begin_get_bgp_peer_status( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either BgpPeerStatusListResult or the result of cls(response) @@ -1371,8 +1371,8 @@ def begin_get_learned_routes( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1495,8 +1495,8 @@ def begin_get_advertised_routes( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either GatewayRouteListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_virtual_network_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_virtual_network_peerings_operations.py index 814a2b9667b0..59284fa19154 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_virtual_network_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_virtual_network_peerings_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type virtual_network_peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type virtual_network_peering_parameters: ~azure.mgmt.network.v2017_09_01.models.VirtualNetworkPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_virtual_networks_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_virtual_networks_operations.py index e462894d55b1..149dcbc62615 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_virtual_networks_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_09_01/operations/_virtual_networks_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type virtual_network_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_09_01.models.VirtualNetwork :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetwork or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2017_09_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetwork or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/_metadata.json b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/_metadata.json index 70f90b2b0aeb..498e922783a1 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/_metadata.json +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/_metadata.json @@ -9,7 +9,9 @@ "custom_base_url": null, "azure_arm": true, "has_lro_operations": true, - "client_side_validation": true + "client_side_validation": false, + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"NetworkManagementClientConfiguration\"], \"._operations_mixin\": [\"NetworkManagementClientOperationsMixin\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"NetworkManagementClientConfiguration\"], \"._operations_mixin\": [\"NetworkManagementClientOperationsMixin\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}" }, "global_parameters": { "sync": { @@ -28,13 +30,13 @@ }, "async": { "credential": { - "signature": "credential, # type: \"AsyncTokenCredential\"", + "signature": "credential: \"AsyncTokenCredential\",", "description": "Credential needed for the client to connect to Azure.", "docstring_type": "~azure.core.credentials_async.AsyncTokenCredential", "required": true }, "subscription_id": { - "signature": "subscription_id, # type: str", + "signature": "subscription_id: str,", "description": "The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.", "docstring_type": "str", "required": true @@ -42,14 +44,58 @@ }, "constant": { }, - "call": "credential, subscription_id" + "call": "credential, subscription_id", + "service_client_specific": { + "sync": { + "api_version": { + "signature": "api_version=None, # type: Optional[str]", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url=None, # type: Optional[str]", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile=KnownProfiles.default, # type: KnownProfiles", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + }, + "async": { + "api_version": { + "signature": "api_version: Optional[str] = None,", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url: Optional[str] = None,", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile: KnownProfiles = KnownProfiles.default,", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + } + } }, "config": { "credential": true, "credential_scopes": ["https://management.azure.com/.default"], "credential_default_policy_type": "BearerTokenCredentialPolicy", "credential_default_policy_type_has_async_version": true, - "credential_key_header_name": null + "credential_key_header_name": null, + "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMHttpLoggingPolicy\"]}, \"local\": {\"._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}}", + "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMHttpLoggingPolicy\"]}, \"local\": {\".._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}}" }, "operation_groups": { "application_gateways": "ApplicationGatewaysOperations", @@ -91,19 +137,21 @@ "local_network_gateways": "LocalNetworkGatewaysOperations" }, "operation_mixins": { - "check_dns_name_availability" : { - "sync": { - "signature": "def check_dns_name_availability(\n self,\n location, # type: str\n domain_name_label, # type: str\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2017_10_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def check_dns_name_availability(\n self,\n location: str,\n domain_name_label: str,\n **kwargs\n) -\u003e \"_models.DnsNameAvailabilityResult\":\n", - "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2017_10_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "location, domain_name_label" + "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\"]}}}", + "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\"]}}}", + "operations": { + "check_dns_name_availability" : { + "sync": { + "signature": "def check_dns_name_availability(\n self,\n location, # type: str\n domain_name_label, # type: str\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2017_10_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def check_dns_name_availability(\n self,\n location: str,\n domain_name_label: str,\n **kwargs\n) -\u003e \"_models.DnsNameAvailabilityResult\":\n", + "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2017_10_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "location, domain_name_label" + } } - }, - "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\"]}}}", - "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\"]}}}" + } } \ No newline at end of file diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/_network_management_client.py index cacb6a293c1a..11c24ffc2c39 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/_network_management_client.py @@ -16,6 +16,7 @@ from typing import Any, Optional from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse from ._configuration import NetworkManagementClientConfiguration from .operations import ApplicationGatewaysOperations @@ -159,6 +160,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( @@ -236,6 +238,24 @@ def __init__( self.local_network_gateways = LocalNetworkGatewaysOperations( self._client, self._config, self._serialize, self._deserialize) + def _send_request(self, http_request, **kwargs): + # type: (HttpRequest, Any) -> HttpResponse + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.HttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + def close(self): # type: () -> None self._client.close() diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/_network_management_client.py index 39ee337b4a12..303dbe2e82ac 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/_network_management_client.py @@ -8,6 +8,7 @@ from typing import Any, Optional, TYPE_CHECKING +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core import AsyncARMPipelineClient from msrest import Deserializer, Serializer @@ -156,6 +157,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( @@ -233,6 +235,23 @@ def __init__( self.local_network_gateways = LocalNetworkGatewaysOperations( self._client, self._config, self._serialize, self._deserialize) + async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + async def close(self) -> None: await self._client.close() diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_application_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_application_gateways_operations.py index 5b03747fb6f8..529eec40dfa4 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_application_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_application_gateways_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_10_01.models.ApplicationGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGateway or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2017_10_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGateway or the result of cls(response) @@ -651,8 +651,8 @@ async def begin_start( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -757,8 +757,8 @@ async def begin_stop( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -876,8 +876,8 @@ async def begin_backend_health( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGatewayBackendHealth or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_application_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_application_security_groups_operations.py index 0e412165010a..477d66b132ba 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_application_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_application_security_groups_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type application_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -282,8 +282,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_10_01.models.ApplicationSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_connection_monitors_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_connection_monitors_operations.py index 4ed3bcfccd1d..833558aeb0ab 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_connection_monitors_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_connection_monitors_operations.py @@ -122,8 +122,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_10_01.models.ConnectionMonitor :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionMonitorResult or the result of cls(response) @@ -301,8 +301,8 @@ async def begin_delete( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -414,8 +414,8 @@ async def begin_stop( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -527,8 +527,8 @@ async def begin_start( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -649,8 +649,8 @@ async def begin_query( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionMonitorQueryResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_express_route_circuit_authorizations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_express_route_circuit_authorizations_operations.py index 957e1a26511b..b357f9f99d3f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_express_route_circuit_authorizations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_express_route_circuit_authorizations_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type authorization_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type authorization_parameters: ~azure.mgmt.network.v2017_10_01.models.ExpressRouteCircuitAuthorization :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitAuthorization or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_express_route_circuit_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_express_route_circuit_peerings_operations.py index 197afefa5f29..830df9010dd4 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_express_route_circuit_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_express_route_circuit_peerings_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2017_10_01.models.ExpressRouteCircuitPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_express_route_circuits_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_express_route_circuits_operations.py index 5589f6b15b60..d45e012586b5 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_express_route_circuits_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_express_route_circuits_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type circuit_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_10_01.models.ExpressRouteCircuit :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2017_10_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -533,8 +533,8 @@ async def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -664,8 +664,8 @@ async def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) @@ -795,8 +795,8 @@ async def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableSummaryListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_inbound_nat_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_inbound_nat_rules_operations.py index 5e64831cab05..4a38c6a0bf81 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_inbound_nat_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_inbound_nat_rules_operations.py @@ -178,8 +178,8 @@ async def begin_delete( :type inbound_nat_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -377,8 +377,8 @@ async def begin_create_or_update( :type inbound_nat_rule_parameters: ~azure.mgmt.network.v2017_10_01.models.InboundNatRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either InboundNatRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_load_balancers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_load_balancers_operations.py index 704e38ad59aa..444dd59c5dfd 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_load_balancers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_load_balancers_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type load_balancer_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_10_01.models.LoadBalancer :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LoadBalancer or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2017_10_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LoadBalancer or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_local_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_local_network_gateways_operations.py index 750f0bb49646..1d80b93ed41c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_local_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_local_network_gateways_operations.py @@ -117,8 +117,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_10_01.models.LocalNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LocalNetworkGateway or the result of cls(response) @@ -285,8 +285,8 @@ async def begin_delete( :type local_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2017_10_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LocalNetworkGateway or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_network_interfaces_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_network_interfaces_operations.py index 536fbcf7f4f9..56ee1cf732cf 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_network_interfaces_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_network_interfaces_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_10_01.models.NetworkInterface :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkInterface or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2017_10_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkInterface or the result of cls(response) @@ -663,8 +663,8 @@ async def begin_get_effective_route_table( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either EffectiveRouteListResult or the result of cls(response) @@ -779,8 +779,8 @@ async def begin_list_effective_network_security_groups( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either EffectiveNetworkSecurityGroupListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_network_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_network_security_groups_operations.py index 8f4e47bce4b2..cc3900a7800b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_network_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_network_security_groups_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type network_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -287,8 +287,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_10_01.models.NetworkSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkSecurityGroup or the result of cls(response) @@ -411,8 +411,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2017_10_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_network_watchers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_network_watchers_operations.py index 9f2c83c05dea..f52f07d27df2 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_network_watchers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_network_watchers_operations.py @@ -227,8 +227,8 @@ async def begin_delete( :type network_watcher_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -619,8 +619,8 @@ async def begin_verify_ip_flow( :type parameters: ~azure.mgmt.network.v2017_10_01.models.VerificationIPFlowParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VerificationIPFlowResult or the result of cls(response) @@ -747,8 +747,8 @@ async def begin_get_next_hop( :type parameters: ~azure.mgmt.network.v2017_10_01.models.NextHopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NextHopResult or the result of cls(response) @@ -875,8 +875,8 @@ async def begin_get_vm_security_rules( :type parameters: ~azure.mgmt.network.v2017_10_01.models.SecurityGroupViewParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either SecurityGroupViewResult or the result of cls(response) @@ -1003,8 +1003,8 @@ async def begin_get_troubleshooting( :type parameters: ~azure.mgmt.network.v2017_10_01.models.TroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1131,8 +1131,8 @@ async def begin_get_troubleshooting_result( :type parameters: ~azure.mgmt.network.v2017_10_01.models.QueryTroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1259,8 +1259,8 @@ async def begin_set_flow_log_configuration( :type parameters: ~azure.mgmt.network.v2017_10_01.models.FlowLogInformation :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1387,8 +1387,8 @@ async def begin_get_flow_log_status( :type parameters: ~azure.mgmt.network.v2017_10_01.models.FlowLogStatusParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1516,8 +1516,8 @@ async def begin_check_connectivity( :type parameters: ~azure.mgmt.network.v2017_10_01.models.ConnectivityParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectivityInformation or the result of cls(response) @@ -1645,8 +1645,8 @@ async def begin_get_azure_reachability_report( :type parameters: ~azure.mgmt.network.v2017_10_01.models.AzureReachabilityReportParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AzureReachabilityReport or the result of cls(response) @@ -1773,8 +1773,8 @@ async def begin_list_available_providers( :type parameters: ~azure.mgmt.network.v2017_10_01.models.AvailableProvidersListParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AvailableProvidersList or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_packet_captures_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_packet_captures_operations.py index 57f0292d9623..af4018aaedbf 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_packet_captures_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_packet_captures_operations.py @@ -118,8 +118,8 @@ async def begin_create( :type parameters: ~azure.mgmt.network.v2017_10_01.models.PacketCapture :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PacketCaptureResult or the result of cls(response) @@ -297,8 +297,8 @@ async def begin_delete( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_stop( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -532,8 +532,8 @@ async def begin_get_status( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PacketCaptureQueryStatusResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_public_ip_addresses_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_public_ip_addresses_operations.py index d065b1bdfcc0..b7a3b453d462 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_public_ip_addresses_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_public_ip_addresses_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type public_ip_address_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_10_01.models.PublicIPAddress :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PublicIPAddress or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2017_10_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PublicIPAddress or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_route_filter_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_route_filter_rules_operations.py index 589be135608d..ecd791adba2f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_route_filter_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_route_filter_rules_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2017_10_01.models.RouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilterRule or the result of cls(response) @@ -430,8 +430,8 @@ async def begin_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2017_10_01.models.PatchRouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilterRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_route_filters_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_route_filters_operations.py index 937d4f03ddbc..f2e7c65d38b4 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_route_filters_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_route_filters_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type route_filter_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -287,8 +287,8 @@ async def begin_create_or_update( :type route_filter_parameters: ~azure.mgmt.network.v2017_10_01.models.RouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilter or the result of cls(response) @@ -411,8 +411,8 @@ async def begin_update( :type route_filter_parameters: ~azure.mgmt.network.v2017_10_01.models.PatchRouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilter or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_route_tables_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_route_tables_operations.py index bb9970c8fac2..3e731199decc 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_route_tables_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_route_tables_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_10_01.models.RouteTable :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteTable or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2017_10_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteTable or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_routes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_routes_operations.py index 6ffaf02d5b8f..e3ecf2bdc42a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_routes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_routes_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type route_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ async def begin_create_or_update( :type route_parameters: ~azure.mgmt.network.v2017_10_01.models.Route :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Route or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_security_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_security_rules_operations.py index bf6ce2e31243..a0dcaba42e17 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_security_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_security_rules_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type security_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type security_rule_parameters: ~azure.mgmt.network.v2017_10_01.models.SecurityRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either SecurityRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_subnets_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_subnets_operations.py index 02fa9a419de4..9954545bb697 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_subnets_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_subnets_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type subnet_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -302,8 +302,8 @@ async def begin_create_or_update( :type subnet_parameters: ~azure.mgmt.network.v2017_10_01.models.Subnet :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Subnet or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_virtual_network_gateway_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_virtual_network_gateway_connections_operations.py index 1131aa1a130a..b2b129f50b51 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_virtual_network_gateway_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_virtual_network_gateway_connections_operations.py @@ -119,8 +119,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_10_01.models.VirtualNetworkGatewayConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -289,8 +289,8 @@ async def begin_delete( :type virtual_network_gateway_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2017_10_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGatewayConnectionListEntity or the result of cls(response) @@ -541,8 +541,8 @@ async def begin_set_shared_key( :type parameters: ~azure.mgmt.network.v2017_10_01.models.ConnectionSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionSharedKey or the result of cls(response) @@ -802,8 +802,8 @@ async def begin_reset_shared_key( :type parameters: ~azure.mgmt.network.v2017_10_01.models.ConnectionResetSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionResetSharedKey or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_virtual_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_virtual_network_gateways_operations.py index 708d046ef31b..0a5cce53291d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_virtual_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_virtual_network_gateways_operations.py @@ -117,8 +117,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_10_01.models.VirtualNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -285,8 +285,8 @@ async def begin_delete( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2017_10_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -673,8 +673,8 @@ async def begin_reset( :type gateway_vip: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -801,8 +801,8 @@ async def begin_generatevpnclientpackage( :type parameters: ~azure.mgmt.network.v2017_10_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -929,8 +929,8 @@ async def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2017_10_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1047,8 +1047,8 @@ async def begin_get_vpn_profile_package_url( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1169,8 +1169,8 @@ async def begin_get_bgp_peer_status( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either BgpPeerStatusListResult or the result of cls(response) @@ -1345,8 +1345,8 @@ async def begin_get_learned_routes( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1467,8 +1467,8 @@ async def begin_get_advertised_routes( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either GatewayRouteListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_virtual_network_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_virtual_network_peerings_operations.py index 6b4d48e5eca7..540be6bdcbbf 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_virtual_network_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_virtual_network_peerings_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type virtual_network_peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type virtual_network_peering_parameters: ~azure.mgmt.network.v2017_10_01.models.VirtualNetworkPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_virtual_networks_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_virtual_networks_operations.py index e525402ebd32..3bbc09bae63d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_virtual_networks_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/aio/operations/_virtual_networks_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type virtual_network_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_10_01.models.VirtualNetwork :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetwork or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2017_10_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetwork or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/models/_models.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/models/_models.py index affcce804b27..40d6184657f0 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/models/_models.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/models/_models.py @@ -6157,8 +6157,8 @@ class PacketCaptureStorageLocation(msrest.serialization.Model): :param storage_id: The ID of the storage account to save the packet capture session. Required if no local file path is provided. :type storage_id: str - :param storage_path: The URI of the storage path to save the packet capture. Must be a well- - formed URI describing the location to save the packet capture. + :param storage_path: The URI of the storage path to save the packet capture. Must be a + well-formed URI describing the location to save the packet capture. :type storage_path: str :param file_path: A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no @@ -8540,8 +8540,8 @@ class VirtualNetworkPeering(SubResource): :type use_remote_gateways: bool :param remote_virtual_network: The reference of the remote virtual network. The remote virtual network can be in the same or different region (preview). See here to register for the preview - and learn more (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create- - peering). + and learn more + (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering). :type remote_virtual_network: ~azure.mgmt.network.v2017_10_01.models.SubResource :param remote_address_space: The reference of the remote virtual network address space. :type remote_address_space: ~azure.mgmt.network.v2017_10_01.models.AddressSpace diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/models/_models_py3.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/models/_models_py3.py index 526ef687f289..f3f9db28fce5 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/models/_models_py3.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/models/_models_py3.py @@ -6997,8 +6997,8 @@ class PacketCaptureStorageLocation(msrest.serialization.Model): :param storage_id: The ID of the storage account to save the packet capture session. Required if no local file path is provided. :type storage_id: str - :param storage_path: The URI of the storage path to save the packet capture. Must be a well- - formed URI describing the location to save the packet capture. + :param storage_path: The URI of the storage path to save the packet capture. Must be a + well-formed URI describing the location to save the packet capture. :type storage_path: str :param file_path: A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no @@ -9680,8 +9680,8 @@ class VirtualNetworkPeering(SubResource): :type use_remote_gateways: bool :param remote_virtual_network: The reference of the remote virtual network. The remote virtual network can be in the same or different region (preview). See here to register for the preview - and learn more (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create- - peering). + and learn more + (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering). :type remote_virtual_network: ~azure.mgmt.network.v2017_10_01.models.SubResource :param remote_address_space: The reference of the remote virtual network address space. :type remote_address_space: ~azure.mgmt.network.v2017_10_01.models.AddressSpace diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_application_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_application_gateways_operations.py index 3ae7aa6a5cf2..9ba6455742d3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_application_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_application_gateways_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_10_01.models.ApplicationGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGateway or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2017_10_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGateway or the result of cls(response) @@ -666,8 +666,8 @@ def begin_start( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -774,8 +774,8 @@ def begin_stop( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -895,8 +895,8 @@ def begin_backend_health( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGatewayBackendHealth or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_application_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_application_security_groups_operations.py index 12f7305c76f9..99d421459fb3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_application_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_application_security_groups_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type application_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -291,8 +291,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_10_01.models.ApplicationSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_connection_monitors_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_connection_monitors_operations.py index bebc16d7437c..f6d4bfcac107 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_connection_monitors_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_connection_monitors_operations.py @@ -128,8 +128,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_10_01.models.ConnectionMonitor :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionMonitorResult or the result of cls(response) @@ -310,8 +310,8 @@ def begin_delete( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -425,8 +425,8 @@ def begin_stop( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -540,8 +540,8 @@ def begin_start( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -664,8 +664,8 @@ def begin_query( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionMonitorQueryResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_express_route_circuit_authorizations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_express_route_circuit_authorizations_operations.py index ab46f3cb294d..2c03e21a08e8 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_express_route_circuit_authorizations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_express_route_circuit_authorizations_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type authorization_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type authorization_parameters: ~azure.mgmt.network.v2017_10_01.models.ExpressRouteCircuitAuthorization :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitAuthorization or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_express_route_circuit_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_express_route_circuit_peerings_operations.py index e5d63d44eae1..da9685a3b635 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_express_route_circuit_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_express_route_circuit_peerings_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2017_10_01.models.ExpressRouteCircuitPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_express_route_circuits_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_express_route_circuits_operations.py index d02a99435a9d..1b227150d379 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_express_route_circuits_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_express_route_circuits_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type circuit_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_10_01.models.ExpressRouteCircuit :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2017_10_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -546,8 +546,8 @@ def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -679,8 +679,8 @@ def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) @@ -812,8 +812,8 @@ def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableSummaryListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_inbound_nat_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_inbound_nat_rules_operations.py index 5aec35b10beb..a228f6bca3e0 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_inbound_nat_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_inbound_nat_rules_operations.py @@ -185,8 +185,8 @@ def begin_delete( :type inbound_nat_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -387,8 +387,8 @@ def begin_create_or_update( :type inbound_nat_rule_parameters: ~azure.mgmt.network.v2017_10_01.models.InboundNatRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either InboundNatRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_load_balancers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_load_balancers_operations.py index 70ea9b0a6854..4fa3ff54f1d2 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_load_balancers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_load_balancers_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type load_balancer_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_10_01.models.LoadBalancer :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LoadBalancer or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2017_10_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LoadBalancer or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_local_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_local_network_gateways_operations.py index 2b176663265d..bb9ecd44c165 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_local_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_local_network_gateways_operations.py @@ -123,8 +123,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_10_01.models.LocalNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LocalNetworkGateway or the result of cls(response) @@ -294,8 +294,8 @@ def begin_delete( :type local_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2017_10_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LocalNetworkGateway or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_network_interfaces_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_network_interfaces_operations.py index 7a46b7d85b3c..c7ba52b95934 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_network_interfaces_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_network_interfaces_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_10_01.models.NetworkInterface :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkInterface or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2017_10_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkInterface or the result of cls(response) @@ -678,8 +678,8 @@ def begin_get_effective_route_table( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either EffectiveRouteListResult or the result of cls(response) @@ -796,8 +796,8 @@ def begin_list_effective_network_security_groups( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either EffectiveNetworkSecurityGroupListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_network_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_network_security_groups_operations.py index 94d85a212c1a..d9fad5b569ff 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_network_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_network_security_groups_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type network_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -296,8 +296,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_10_01.models.NetworkSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkSecurityGroup or the result of cls(response) @@ -422,8 +422,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2017_10_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_network_watchers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_network_watchers_operations.py index 162d82476b50..b5ec6eee941c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_network_watchers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_network_watchers_operations.py @@ -235,8 +235,8 @@ def begin_delete( :type network_watcher_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -633,8 +633,8 @@ def begin_verify_ip_flow( :type parameters: ~azure.mgmt.network.v2017_10_01.models.VerificationIPFlowParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VerificationIPFlowResult or the result of cls(response) @@ -763,8 +763,8 @@ def begin_get_next_hop( :type parameters: ~azure.mgmt.network.v2017_10_01.models.NextHopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NextHopResult or the result of cls(response) @@ -893,8 +893,8 @@ def begin_get_vm_security_rules( :type parameters: ~azure.mgmt.network.v2017_10_01.models.SecurityGroupViewParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either SecurityGroupViewResult or the result of cls(response) @@ -1023,8 +1023,8 @@ def begin_get_troubleshooting( :type parameters: ~azure.mgmt.network.v2017_10_01.models.TroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1153,8 +1153,8 @@ def begin_get_troubleshooting_result( :type parameters: ~azure.mgmt.network.v2017_10_01.models.QueryTroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1283,8 +1283,8 @@ def begin_set_flow_log_configuration( :type parameters: ~azure.mgmt.network.v2017_10_01.models.FlowLogInformation :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1413,8 +1413,8 @@ def begin_get_flow_log_status( :type parameters: ~azure.mgmt.network.v2017_10_01.models.FlowLogStatusParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1544,8 +1544,8 @@ def begin_check_connectivity( :type parameters: ~azure.mgmt.network.v2017_10_01.models.ConnectivityParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectivityInformation or the result of cls(response) @@ -1675,8 +1675,8 @@ def begin_get_azure_reachability_report( :type parameters: ~azure.mgmt.network.v2017_10_01.models.AzureReachabilityReportParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AzureReachabilityReport or the result of cls(response) @@ -1805,8 +1805,8 @@ def begin_list_available_providers( :type parameters: ~azure.mgmt.network.v2017_10_01.models.AvailableProvidersListParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AvailableProvidersList or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_packet_captures_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_packet_captures_operations.py index 7728db4d1afb..0203b3ca3a14 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_packet_captures_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_packet_captures_operations.py @@ -124,8 +124,8 @@ def begin_create( :type parameters: ~azure.mgmt.network.v2017_10_01.models.PacketCapture :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PacketCaptureResult or the result of cls(response) @@ -306,8 +306,8 @@ def begin_delete( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -421,8 +421,8 @@ def begin_stop( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -545,8 +545,8 @@ def begin_get_status( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PacketCaptureQueryStatusResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_public_ip_addresses_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_public_ip_addresses_operations.py index be53ba5ec498..e98d88b3f956 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_public_ip_addresses_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_public_ip_addresses_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type public_ip_address_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_10_01.models.PublicIPAddress :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PublicIPAddress or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2017_10_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PublicIPAddress or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_route_filter_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_route_filter_rules_operations.py index e56c2f2a2a12..e56ab9c51836 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_route_filter_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_route_filter_rules_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2017_10_01.models.RouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilterRule or the result of cls(response) @@ -441,8 +441,8 @@ def begin_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2017_10_01.models.PatchRouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilterRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_route_filters_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_route_filters_operations.py index edd0f9656d83..afb87070fbcf 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_route_filters_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_route_filters_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type route_filter_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -296,8 +296,8 @@ def begin_create_or_update( :type route_filter_parameters: ~azure.mgmt.network.v2017_10_01.models.RouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilter or the result of cls(response) @@ -422,8 +422,8 @@ def begin_update( :type route_filter_parameters: ~azure.mgmt.network.v2017_10_01.models.PatchRouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilter or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_route_tables_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_route_tables_operations.py index 9d9075684c70..58eb1ded7d13 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_route_tables_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_route_tables_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_10_01.models.RouteTable :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteTable or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2017_10_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteTable or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_routes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_routes_operations.py index 3341fbd74059..593d753b08d1 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_routes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_routes_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type route_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -306,8 +306,8 @@ def begin_create_or_update( :type route_parameters: ~azure.mgmt.network.v2017_10_01.models.Route :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Route or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_security_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_security_rules_operations.py index 33bad78664cc..027ba45688e4 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_security_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_security_rules_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type security_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type security_rule_parameters: ~azure.mgmt.network.v2017_10_01.models.SecurityRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either SecurityRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_subnets_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_subnets_operations.py index a63d82aadb8f..37512acf1a1b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_subnets_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_subnets_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type subnet_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -311,8 +311,8 @@ def begin_create_or_update( :type subnet_parameters: ~azure.mgmt.network.v2017_10_01.models.Subnet :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Subnet or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_virtual_network_gateway_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_virtual_network_gateway_connections_operations.py index 5d5f8453f531..42b84a478589 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_virtual_network_gateway_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_virtual_network_gateway_connections_operations.py @@ -125,8 +125,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_10_01.models.VirtualNetworkGatewayConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -298,8 +298,8 @@ def begin_delete( :type virtual_network_gateway_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2017_10_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGatewayConnectionListEntity or the result of cls(response) @@ -554,8 +554,8 @@ def begin_set_shared_key( :type parameters: ~azure.mgmt.network.v2017_10_01.models.ConnectionSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionSharedKey or the result of cls(response) @@ -819,8 +819,8 @@ def begin_reset_shared_key( :type parameters: ~azure.mgmt.network.v2017_10_01.models.ConnectionResetSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionResetSharedKey or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_virtual_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_virtual_network_gateways_operations.py index 914c98a5d145..2d6b0eb502b3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_virtual_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_virtual_network_gateways_operations.py @@ -123,8 +123,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_10_01.models.VirtualNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -294,8 +294,8 @@ def begin_delete( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2017_10_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -688,8 +688,8 @@ def begin_reset( :type gateway_vip: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -818,8 +818,8 @@ def begin_generatevpnclientpackage( :type parameters: ~azure.mgmt.network.v2017_10_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -948,8 +948,8 @@ def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2017_10_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1068,8 +1068,8 @@ def begin_get_vpn_profile_package_url( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1192,8 +1192,8 @@ def begin_get_bgp_peer_status( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either BgpPeerStatusListResult or the result of cls(response) @@ -1371,8 +1371,8 @@ def begin_get_learned_routes( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1495,8 +1495,8 @@ def begin_get_advertised_routes( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either GatewayRouteListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_virtual_network_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_virtual_network_peerings_operations.py index 0f0772acb74b..df7026de8efc 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_virtual_network_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_virtual_network_peerings_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type virtual_network_peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type virtual_network_peering_parameters: ~azure.mgmt.network.v2017_10_01.models.VirtualNetworkPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_virtual_networks_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_virtual_networks_operations.py index 3427799a2464..a9516aff40eb 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_virtual_networks_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_10_01/operations/_virtual_networks_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type virtual_network_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_10_01.models.VirtualNetwork :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetwork or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2017_10_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetwork or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/_metadata.json b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/_metadata.json index ffafe5664b26..48d4e4c750f2 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/_metadata.json +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/_metadata.json @@ -9,7 +9,9 @@ "custom_base_url": null, "azure_arm": true, "has_lro_operations": true, - "client_side_validation": true + "client_side_validation": false, + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"NetworkManagementClientConfiguration\"], \"._operations_mixin\": [\"NetworkManagementClientOperationsMixin\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"NetworkManagementClientConfiguration\"], \"._operations_mixin\": [\"NetworkManagementClientOperationsMixin\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}" }, "global_parameters": { "sync": { @@ -28,13 +30,13 @@ }, "async": { "credential": { - "signature": "credential, # type: \"AsyncTokenCredential\"", + "signature": "credential: \"AsyncTokenCredential\",", "description": "Credential needed for the client to connect to Azure.", "docstring_type": "~azure.core.credentials_async.AsyncTokenCredential", "required": true }, "subscription_id": { - "signature": "subscription_id, # type: str", + "signature": "subscription_id: str,", "description": "The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.", "docstring_type": "str", "required": true @@ -42,14 +44,58 @@ }, "constant": { }, - "call": "credential, subscription_id" + "call": "credential, subscription_id", + "service_client_specific": { + "sync": { + "api_version": { + "signature": "api_version=None, # type: Optional[str]", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url=None, # type: Optional[str]", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile=KnownProfiles.default, # type: KnownProfiles", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + }, + "async": { + "api_version": { + "signature": "api_version: Optional[str] = None,", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url: Optional[str] = None,", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile: KnownProfiles = KnownProfiles.default,", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + } + } }, "config": { "credential": true, "credential_scopes": ["https://management.azure.com/.default"], "credential_default_policy_type": "BearerTokenCredentialPolicy", "credential_default_policy_type_has_async_version": true, - "credential_key_header_name": null + "credential_key_header_name": null, + "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMHttpLoggingPolicy\"]}, \"local\": {\"._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}}", + "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMHttpLoggingPolicy\"]}, \"local\": {\".._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}}" }, "operation_groups": { "application_gateways": "ApplicationGatewaysOperations", @@ -91,19 +137,21 @@ "local_network_gateways": "LocalNetworkGatewaysOperations" }, "operation_mixins": { - "check_dns_name_availability" : { - "sync": { - "signature": "def check_dns_name_availability(\n self,\n location, # type: str\n domain_name_label, # type: str\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2017_11_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def check_dns_name_availability(\n self,\n location: str,\n domain_name_label: str,\n **kwargs\n) -\u003e \"_models.DnsNameAvailabilityResult\":\n", - "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2017_11_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "location, domain_name_label" + "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\"]}}}", + "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\"]}}}", + "operations": { + "check_dns_name_availability" : { + "sync": { + "signature": "def check_dns_name_availability(\n self,\n location, # type: str\n domain_name_label, # type: str\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2017_11_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def check_dns_name_availability(\n self,\n location: str,\n domain_name_label: str,\n **kwargs\n) -\u003e \"_models.DnsNameAvailabilityResult\":\n", + "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2017_11_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "location, domain_name_label" + } } - }, - "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\"]}}}", - "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\"]}}}" + } } \ No newline at end of file diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/_network_management_client.py index 6b838faf58c3..277c2cdb1b7f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/_network_management_client.py @@ -16,6 +16,7 @@ from typing import Any, Optional from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse from ._configuration import NetworkManagementClientConfiguration from .operations import ApplicationGatewaysOperations @@ -159,6 +160,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( @@ -236,6 +238,24 @@ def __init__( self.local_network_gateways = LocalNetworkGatewaysOperations( self._client, self._config, self._serialize, self._deserialize) + def _send_request(self, http_request, **kwargs): + # type: (HttpRequest, Any) -> HttpResponse + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.HttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + def close(self): # type: () -> None self._client.close() diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/_network_management_client.py index 342f814472ff..ff81f96bb940 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/_network_management_client.py @@ -8,6 +8,7 @@ from typing import Any, Optional, TYPE_CHECKING +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core import AsyncARMPipelineClient from msrest import Deserializer, Serializer @@ -156,6 +157,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( @@ -233,6 +235,23 @@ def __init__( self.local_network_gateways = LocalNetworkGatewaysOperations( self._client, self._config, self._serialize, self._deserialize) + async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + async def close(self) -> None: await self._client.close() diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_application_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_application_gateways_operations.py index f4c23a56d79b..3750639464c2 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_application_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_application_gateways_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_11_01.models.ApplicationGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGateway or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2017_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGateway or the result of cls(response) @@ -651,8 +651,8 @@ async def begin_start( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -757,8 +757,8 @@ async def begin_stop( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -876,8 +876,8 @@ async def begin_backend_health( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGatewayBackendHealth or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_application_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_application_security_groups_operations.py index aa7b980bd742..5fedbb389af8 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_application_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_application_security_groups_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type application_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -282,8 +282,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_11_01.models.ApplicationSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_connection_monitors_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_connection_monitors_operations.py index d70177793245..2ef7b6ed736b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_connection_monitors_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_connection_monitors_operations.py @@ -122,8 +122,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_11_01.models.ConnectionMonitor :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionMonitorResult or the result of cls(response) @@ -301,8 +301,8 @@ async def begin_delete( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -414,8 +414,8 @@ async def begin_stop( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -527,8 +527,8 @@ async def begin_start( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -649,8 +649,8 @@ async def begin_query( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionMonitorQueryResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_express_route_circuit_authorizations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_express_route_circuit_authorizations_operations.py index 007ab4449a0e..2faeb55ca5be 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_express_route_circuit_authorizations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_express_route_circuit_authorizations_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type authorization_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type authorization_parameters: ~azure.mgmt.network.v2017_11_01.models.ExpressRouteCircuitAuthorization :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitAuthorization or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_express_route_circuit_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_express_route_circuit_peerings_operations.py index d320b48af1dc..a7afbb8f6627 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_express_route_circuit_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_express_route_circuit_peerings_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2017_11_01.models.ExpressRouteCircuitPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_express_route_circuits_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_express_route_circuits_operations.py index cf0949dedc38..4c731d7bfa75 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_express_route_circuits_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_express_route_circuits_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type circuit_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_11_01.models.ExpressRouteCircuit :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2017_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -533,8 +533,8 @@ async def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -664,8 +664,8 @@ async def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) @@ -795,8 +795,8 @@ async def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableSummaryListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_inbound_nat_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_inbound_nat_rules_operations.py index 10ea5627d20c..5a2288e36848 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_inbound_nat_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_inbound_nat_rules_operations.py @@ -178,8 +178,8 @@ async def begin_delete( :type inbound_nat_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -377,8 +377,8 @@ async def begin_create_or_update( :type inbound_nat_rule_parameters: ~azure.mgmt.network.v2017_11_01.models.InboundNatRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either InboundNatRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_load_balancers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_load_balancers_operations.py index 37712084ff64..d182b4bf6a64 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_load_balancers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_load_balancers_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type load_balancer_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_11_01.models.LoadBalancer :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LoadBalancer or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2017_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LoadBalancer or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_local_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_local_network_gateways_operations.py index 111d7b863878..720e7e49f327 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_local_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_local_network_gateways_operations.py @@ -117,8 +117,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_11_01.models.LocalNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LocalNetworkGateway or the result of cls(response) @@ -285,8 +285,8 @@ async def begin_delete( :type local_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2017_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LocalNetworkGateway or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_network_interfaces_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_network_interfaces_operations.py index b72589a18015..584fe4923d0e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_network_interfaces_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_network_interfaces_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_11_01.models.NetworkInterface :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkInterface or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2017_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkInterface or the result of cls(response) @@ -663,8 +663,8 @@ async def begin_get_effective_route_table( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either EffectiveRouteListResult or the result of cls(response) @@ -779,8 +779,8 @@ async def begin_list_effective_network_security_groups( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either EffectiveNetworkSecurityGroupListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_network_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_network_security_groups_operations.py index cccd1bf7ecf4..aa1e7c2cb8be 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_network_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_network_security_groups_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type network_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -287,8 +287,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_11_01.models.NetworkSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkSecurityGroup or the result of cls(response) @@ -411,8 +411,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2017_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_network_watchers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_network_watchers_operations.py index 27b5ec6a9676..ac0c30cbe186 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_network_watchers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_network_watchers_operations.py @@ -227,8 +227,8 @@ async def begin_delete( :type network_watcher_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -619,8 +619,8 @@ async def begin_verify_ip_flow( :type parameters: ~azure.mgmt.network.v2017_11_01.models.VerificationIPFlowParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VerificationIPFlowResult or the result of cls(response) @@ -747,8 +747,8 @@ async def begin_get_next_hop( :type parameters: ~azure.mgmt.network.v2017_11_01.models.NextHopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NextHopResult or the result of cls(response) @@ -875,8 +875,8 @@ async def begin_get_vm_security_rules( :type parameters: ~azure.mgmt.network.v2017_11_01.models.SecurityGroupViewParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either SecurityGroupViewResult or the result of cls(response) @@ -1003,8 +1003,8 @@ async def begin_get_troubleshooting( :type parameters: ~azure.mgmt.network.v2017_11_01.models.TroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1131,8 +1131,8 @@ async def begin_get_troubleshooting_result( :type parameters: ~azure.mgmt.network.v2017_11_01.models.QueryTroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1259,8 +1259,8 @@ async def begin_set_flow_log_configuration( :type parameters: ~azure.mgmt.network.v2017_11_01.models.FlowLogInformation :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1387,8 +1387,8 @@ async def begin_get_flow_log_status( :type parameters: ~azure.mgmt.network.v2017_11_01.models.FlowLogStatusParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1516,8 +1516,8 @@ async def begin_check_connectivity( :type parameters: ~azure.mgmt.network.v2017_11_01.models.ConnectivityParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectivityInformation or the result of cls(response) @@ -1645,8 +1645,8 @@ async def begin_get_azure_reachability_report( :type parameters: ~azure.mgmt.network.v2017_11_01.models.AzureReachabilityReportParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AzureReachabilityReport or the result of cls(response) @@ -1773,8 +1773,8 @@ async def begin_list_available_providers( :type parameters: ~azure.mgmt.network.v2017_11_01.models.AvailableProvidersListParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AvailableProvidersList or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_packet_captures_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_packet_captures_operations.py index a4d60dbd2ace..363fd1b8f2d1 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_packet_captures_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_packet_captures_operations.py @@ -118,8 +118,8 @@ async def begin_create( :type parameters: ~azure.mgmt.network.v2017_11_01.models.PacketCapture :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PacketCaptureResult or the result of cls(response) @@ -297,8 +297,8 @@ async def begin_delete( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_stop( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -532,8 +532,8 @@ async def begin_get_status( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PacketCaptureQueryStatusResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_public_ip_addresses_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_public_ip_addresses_operations.py index 44bb03423ae1..6865f8d6c7d3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_public_ip_addresses_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_public_ip_addresses_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type public_ip_address_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_11_01.models.PublicIPAddress :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PublicIPAddress or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2017_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PublicIPAddress or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_route_filter_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_route_filter_rules_operations.py index 0cb4dfe3f138..e836d9fca089 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_route_filter_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_route_filter_rules_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2017_11_01.models.RouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilterRule or the result of cls(response) @@ -430,8 +430,8 @@ async def begin_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2017_11_01.models.PatchRouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilterRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_route_filters_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_route_filters_operations.py index c8439d1343b4..ffd0ce4b3604 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_route_filters_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_route_filters_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type route_filter_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -287,8 +287,8 @@ async def begin_create_or_update( :type route_filter_parameters: ~azure.mgmt.network.v2017_11_01.models.RouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilter or the result of cls(response) @@ -411,8 +411,8 @@ async def begin_update( :type route_filter_parameters: ~azure.mgmt.network.v2017_11_01.models.PatchRouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilter or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_route_tables_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_route_tables_operations.py index 7ce7d97050c7..b3dcc15c9e74 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_route_tables_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_route_tables_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_11_01.models.RouteTable :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteTable or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2017_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteTable or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_routes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_routes_operations.py index 0ea8a20c40b4..4123f3d80327 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_routes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_routes_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type route_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ async def begin_create_or_update( :type route_parameters: ~azure.mgmt.network.v2017_11_01.models.Route :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Route or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_security_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_security_rules_operations.py index deeaa3c260ec..b163631f0dca 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_security_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_security_rules_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type security_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type security_rule_parameters: ~azure.mgmt.network.v2017_11_01.models.SecurityRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either SecurityRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_subnets_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_subnets_operations.py index 417196dee3f9..fc56a8a89326 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_subnets_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_subnets_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type subnet_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -302,8 +302,8 @@ async def begin_create_or_update( :type subnet_parameters: ~azure.mgmt.network.v2017_11_01.models.Subnet :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Subnet or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_virtual_network_gateway_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_virtual_network_gateway_connections_operations.py index 4d59da24a279..4a80a19331b8 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_virtual_network_gateway_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_virtual_network_gateway_connections_operations.py @@ -119,8 +119,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_11_01.models.VirtualNetworkGatewayConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -289,8 +289,8 @@ async def begin_delete( :type virtual_network_gateway_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2017_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGatewayConnectionListEntity or the result of cls(response) @@ -541,8 +541,8 @@ async def begin_set_shared_key( :type parameters: ~azure.mgmt.network.v2017_11_01.models.ConnectionSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionSharedKey or the result of cls(response) @@ -802,8 +802,8 @@ async def begin_reset_shared_key( :type parameters: ~azure.mgmt.network.v2017_11_01.models.ConnectionResetSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionResetSharedKey or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_virtual_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_virtual_network_gateways_operations.py index a9e2f75c47fd..7d57477b82fc 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_virtual_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_virtual_network_gateways_operations.py @@ -117,8 +117,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_11_01.models.VirtualNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -285,8 +285,8 @@ async def begin_delete( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2017_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -673,8 +673,8 @@ async def begin_reset( :type gateway_vip: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -801,8 +801,8 @@ async def begin_generatevpnclientpackage( :type parameters: ~azure.mgmt.network.v2017_11_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -929,8 +929,8 @@ async def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2017_11_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1047,8 +1047,8 @@ async def begin_get_vpn_profile_package_url( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1169,8 +1169,8 @@ async def begin_get_bgp_peer_status( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either BgpPeerStatusListResult or the result of cls(response) @@ -1345,8 +1345,8 @@ async def begin_get_learned_routes( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1467,8 +1467,8 @@ async def begin_get_advertised_routes( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either GatewayRouteListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_virtual_network_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_virtual_network_peerings_operations.py index 89dd753b4759..64e53407e5eb 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_virtual_network_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_virtual_network_peerings_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type virtual_network_peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type virtual_network_peering_parameters: ~azure.mgmt.network.v2017_11_01.models.VirtualNetworkPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_virtual_networks_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_virtual_networks_operations.py index 92e4c8d4610e..81d23e42480d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_virtual_networks_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/aio/operations/_virtual_networks_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type virtual_network_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_11_01.models.VirtualNetwork :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetwork or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2017_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetwork or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/models/_models.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/models/_models.py index c8ce37ed30bc..3411df37c3b8 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/models/_models.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/models/_models.py @@ -6194,8 +6194,8 @@ class PacketCaptureStorageLocation(msrest.serialization.Model): :param storage_id: The ID of the storage account to save the packet capture session. Required if no local file path is provided. :type storage_id: str - :param storage_path: The URI of the storage path to save the packet capture. Must be a well- - formed URI describing the location to save the packet capture. + :param storage_path: The URI of the storage path to save the packet capture. Must be a + well-formed URI describing the location to save the packet capture. :type storage_path: str :param file_path: A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no @@ -8573,8 +8573,8 @@ class VirtualNetworkPeering(SubResource): :type use_remote_gateways: bool :param remote_virtual_network: The reference of the remote virtual network. The remote virtual network can be in the same or different region (preview). See here to register for the preview - and learn more (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create- - peering). + and learn more + (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering). :type remote_virtual_network: ~azure.mgmt.network.v2017_11_01.models.SubResource :param remote_address_space: The reference of the remote virtual network address space. :type remote_address_space: ~azure.mgmt.network.v2017_11_01.models.AddressSpace diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/models/_models_py3.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/models/_models_py3.py index 1dc18dc2cb0c..a56c94ed8390 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/models/_models_py3.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/models/_models_py3.py @@ -7039,8 +7039,8 @@ class PacketCaptureStorageLocation(msrest.serialization.Model): :param storage_id: The ID of the storage account to save the packet capture session. Required if no local file path is provided. :type storage_id: str - :param storage_path: The URI of the storage path to save the packet capture. Must be a well- - formed URI describing the location to save the packet capture. + :param storage_path: The URI of the storage path to save the packet capture. Must be a + well-formed URI describing the location to save the packet capture. :type storage_path: str :param file_path: A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no @@ -9717,8 +9717,8 @@ class VirtualNetworkPeering(SubResource): :type use_remote_gateways: bool :param remote_virtual_network: The reference of the remote virtual network. The remote virtual network can be in the same or different region (preview). See here to register for the preview - and learn more (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create- - peering). + and learn more + (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering). :type remote_virtual_network: ~azure.mgmt.network.v2017_11_01.models.SubResource :param remote_address_space: The reference of the remote virtual network address space. :type remote_address_space: ~azure.mgmt.network.v2017_11_01.models.AddressSpace diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_application_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_application_gateways_operations.py index 041efb38cd43..dea95b9765bc 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_application_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_application_gateways_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_11_01.models.ApplicationGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGateway or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2017_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGateway or the result of cls(response) @@ -666,8 +666,8 @@ def begin_start( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -774,8 +774,8 @@ def begin_stop( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -895,8 +895,8 @@ def begin_backend_health( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGatewayBackendHealth or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_application_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_application_security_groups_operations.py index 70144de386c3..a57e1ded73a4 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_application_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_application_security_groups_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type application_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -291,8 +291,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_11_01.models.ApplicationSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_connection_monitors_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_connection_monitors_operations.py index 04ba7d63007a..5b248cfdbb1f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_connection_monitors_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_connection_monitors_operations.py @@ -128,8 +128,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_11_01.models.ConnectionMonitor :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionMonitorResult or the result of cls(response) @@ -310,8 +310,8 @@ def begin_delete( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -425,8 +425,8 @@ def begin_stop( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -540,8 +540,8 @@ def begin_start( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -664,8 +664,8 @@ def begin_query( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionMonitorQueryResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_express_route_circuit_authorizations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_express_route_circuit_authorizations_operations.py index 18c0e4730153..44998abe7df4 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_express_route_circuit_authorizations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_express_route_circuit_authorizations_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type authorization_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type authorization_parameters: ~azure.mgmt.network.v2017_11_01.models.ExpressRouteCircuitAuthorization :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitAuthorization or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_express_route_circuit_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_express_route_circuit_peerings_operations.py index bb2d2e82659d..a9b212b53234 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_express_route_circuit_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_express_route_circuit_peerings_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2017_11_01.models.ExpressRouteCircuitPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_express_route_circuits_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_express_route_circuits_operations.py index 283d7183b194..c8a0f2bcec55 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_express_route_circuits_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_express_route_circuits_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type circuit_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_11_01.models.ExpressRouteCircuit :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2017_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -546,8 +546,8 @@ def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -679,8 +679,8 @@ def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) @@ -812,8 +812,8 @@ def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableSummaryListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_inbound_nat_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_inbound_nat_rules_operations.py index 60a5e85fa1bd..be1b90cad75f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_inbound_nat_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_inbound_nat_rules_operations.py @@ -185,8 +185,8 @@ def begin_delete( :type inbound_nat_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -387,8 +387,8 @@ def begin_create_or_update( :type inbound_nat_rule_parameters: ~azure.mgmt.network.v2017_11_01.models.InboundNatRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either InboundNatRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_load_balancers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_load_balancers_operations.py index 4b6b8ddb0487..14a856919f85 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_load_balancers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_load_balancers_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type load_balancer_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_11_01.models.LoadBalancer :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LoadBalancer or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2017_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LoadBalancer or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_local_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_local_network_gateways_operations.py index fd1eccff0854..59f070fb6df5 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_local_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_local_network_gateways_operations.py @@ -123,8 +123,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_11_01.models.LocalNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LocalNetworkGateway or the result of cls(response) @@ -294,8 +294,8 @@ def begin_delete( :type local_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2017_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LocalNetworkGateway or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_network_interfaces_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_network_interfaces_operations.py index 3165f5590ff9..636842111c9e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_network_interfaces_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_network_interfaces_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_11_01.models.NetworkInterface :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkInterface or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2017_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkInterface or the result of cls(response) @@ -678,8 +678,8 @@ def begin_get_effective_route_table( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either EffectiveRouteListResult or the result of cls(response) @@ -796,8 +796,8 @@ def begin_list_effective_network_security_groups( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either EffectiveNetworkSecurityGroupListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_network_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_network_security_groups_operations.py index ed16e5ce5596..86afa7cf6088 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_network_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_network_security_groups_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type network_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -296,8 +296,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_11_01.models.NetworkSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkSecurityGroup or the result of cls(response) @@ -422,8 +422,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2017_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_network_watchers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_network_watchers_operations.py index 134e802ebdce..644886beb7ef 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_network_watchers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_network_watchers_operations.py @@ -235,8 +235,8 @@ def begin_delete( :type network_watcher_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -633,8 +633,8 @@ def begin_verify_ip_flow( :type parameters: ~azure.mgmt.network.v2017_11_01.models.VerificationIPFlowParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VerificationIPFlowResult or the result of cls(response) @@ -763,8 +763,8 @@ def begin_get_next_hop( :type parameters: ~azure.mgmt.network.v2017_11_01.models.NextHopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NextHopResult or the result of cls(response) @@ -893,8 +893,8 @@ def begin_get_vm_security_rules( :type parameters: ~azure.mgmt.network.v2017_11_01.models.SecurityGroupViewParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either SecurityGroupViewResult or the result of cls(response) @@ -1023,8 +1023,8 @@ def begin_get_troubleshooting( :type parameters: ~azure.mgmt.network.v2017_11_01.models.TroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1153,8 +1153,8 @@ def begin_get_troubleshooting_result( :type parameters: ~azure.mgmt.network.v2017_11_01.models.QueryTroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1283,8 +1283,8 @@ def begin_set_flow_log_configuration( :type parameters: ~azure.mgmt.network.v2017_11_01.models.FlowLogInformation :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1413,8 +1413,8 @@ def begin_get_flow_log_status( :type parameters: ~azure.mgmt.network.v2017_11_01.models.FlowLogStatusParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1544,8 +1544,8 @@ def begin_check_connectivity( :type parameters: ~azure.mgmt.network.v2017_11_01.models.ConnectivityParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectivityInformation or the result of cls(response) @@ -1675,8 +1675,8 @@ def begin_get_azure_reachability_report( :type parameters: ~azure.mgmt.network.v2017_11_01.models.AzureReachabilityReportParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AzureReachabilityReport or the result of cls(response) @@ -1805,8 +1805,8 @@ def begin_list_available_providers( :type parameters: ~azure.mgmt.network.v2017_11_01.models.AvailableProvidersListParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AvailableProvidersList or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_packet_captures_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_packet_captures_operations.py index 2d8139f44904..237a6592d9e1 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_packet_captures_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_packet_captures_operations.py @@ -124,8 +124,8 @@ def begin_create( :type parameters: ~azure.mgmt.network.v2017_11_01.models.PacketCapture :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PacketCaptureResult or the result of cls(response) @@ -306,8 +306,8 @@ def begin_delete( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -421,8 +421,8 @@ def begin_stop( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -545,8 +545,8 @@ def begin_get_status( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PacketCaptureQueryStatusResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_public_ip_addresses_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_public_ip_addresses_operations.py index 5f934d7baf79..64f83b43507f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_public_ip_addresses_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_public_ip_addresses_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type public_ip_address_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_11_01.models.PublicIPAddress :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PublicIPAddress or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2017_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PublicIPAddress or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_route_filter_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_route_filter_rules_operations.py index 8517fdea2cc1..be8ee2216d87 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_route_filter_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_route_filter_rules_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2017_11_01.models.RouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilterRule or the result of cls(response) @@ -441,8 +441,8 @@ def begin_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2017_11_01.models.PatchRouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilterRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_route_filters_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_route_filters_operations.py index fed20ec2e702..9b82be2d81bb 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_route_filters_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_route_filters_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type route_filter_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -296,8 +296,8 @@ def begin_create_or_update( :type route_filter_parameters: ~azure.mgmt.network.v2017_11_01.models.RouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilter or the result of cls(response) @@ -422,8 +422,8 @@ def begin_update( :type route_filter_parameters: ~azure.mgmt.network.v2017_11_01.models.PatchRouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilter or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_route_tables_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_route_tables_operations.py index 0ccf1567f40b..6a8b559c6fb5 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_route_tables_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_route_tables_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_11_01.models.RouteTable :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteTable or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2017_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteTable or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_routes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_routes_operations.py index 8d51477d08d0..9ca2cd8bb0fd 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_routes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_routes_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type route_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -306,8 +306,8 @@ def begin_create_or_update( :type route_parameters: ~azure.mgmt.network.v2017_11_01.models.Route :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Route or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_security_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_security_rules_operations.py index b4c07ef387e1..69a8266a6fdb 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_security_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_security_rules_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type security_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type security_rule_parameters: ~azure.mgmt.network.v2017_11_01.models.SecurityRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either SecurityRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_subnets_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_subnets_operations.py index 1180ec68654d..a1b2737fe21e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_subnets_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_subnets_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type subnet_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -311,8 +311,8 @@ def begin_create_or_update( :type subnet_parameters: ~azure.mgmt.network.v2017_11_01.models.Subnet :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Subnet or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_virtual_network_gateway_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_virtual_network_gateway_connections_operations.py index 76a1566fe4a3..9075e0e7526a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_virtual_network_gateway_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_virtual_network_gateway_connections_operations.py @@ -125,8 +125,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_11_01.models.VirtualNetworkGatewayConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -298,8 +298,8 @@ def begin_delete( :type virtual_network_gateway_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2017_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGatewayConnectionListEntity or the result of cls(response) @@ -554,8 +554,8 @@ def begin_set_shared_key( :type parameters: ~azure.mgmt.network.v2017_11_01.models.ConnectionSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionSharedKey or the result of cls(response) @@ -819,8 +819,8 @@ def begin_reset_shared_key( :type parameters: ~azure.mgmt.network.v2017_11_01.models.ConnectionResetSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionResetSharedKey or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_virtual_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_virtual_network_gateways_operations.py index ee6faa6b2984..cc0bce0cafa3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_virtual_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_virtual_network_gateways_operations.py @@ -123,8 +123,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_11_01.models.VirtualNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -294,8 +294,8 @@ def begin_delete( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2017_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -688,8 +688,8 @@ def begin_reset( :type gateway_vip: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -818,8 +818,8 @@ def begin_generatevpnclientpackage( :type parameters: ~azure.mgmt.network.v2017_11_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -948,8 +948,8 @@ def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2017_11_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1068,8 +1068,8 @@ def begin_get_vpn_profile_package_url( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1192,8 +1192,8 @@ def begin_get_bgp_peer_status( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either BgpPeerStatusListResult or the result of cls(response) @@ -1371,8 +1371,8 @@ def begin_get_learned_routes( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1495,8 +1495,8 @@ def begin_get_advertised_routes( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either GatewayRouteListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_virtual_network_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_virtual_network_peerings_operations.py index fbea0590e295..83c6ee335162 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_virtual_network_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_virtual_network_peerings_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type virtual_network_peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type virtual_network_peering_parameters: ~azure.mgmt.network.v2017_11_01.models.VirtualNetworkPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_virtual_networks_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_virtual_networks_operations.py index 8fa719e235a6..73160821572a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_virtual_networks_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2017_11_01/operations/_virtual_networks_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type virtual_network_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2017_11_01.models.VirtualNetwork :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetwork or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2017_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetwork or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/_metadata.json b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/_metadata.json index 8c40850a9296..f7374c672057 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/_metadata.json +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/_metadata.json @@ -9,7 +9,9 @@ "custom_base_url": null, "azure_arm": true, "has_lro_operations": true, - "client_side_validation": true + "client_side_validation": false, + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"NetworkManagementClientConfiguration\"], \"._operations_mixin\": [\"NetworkManagementClientOperationsMixin\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"NetworkManagementClientConfiguration\"], \"._operations_mixin\": [\"NetworkManagementClientOperationsMixin\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}" }, "global_parameters": { "sync": { @@ -28,13 +30,13 @@ }, "async": { "credential": { - "signature": "credential, # type: \"AsyncTokenCredential\"", + "signature": "credential: \"AsyncTokenCredential\",", "description": "Credential needed for the client to connect to Azure.", "docstring_type": "~azure.core.credentials_async.AsyncTokenCredential", "required": true }, "subscription_id": { - "signature": "subscription_id, # type: str", + "signature": "subscription_id: str,", "description": "The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.", "docstring_type": "str", "required": true @@ -42,14 +44,58 @@ }, "constant": { }, - "call": "credential, subscription_id" + "call": "credential, subscription_id", + "service_client_specific": { + "sync": { + "api_version": { + "signature": "api_version=None, # type: Optional[str]", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url=None, # type: Optional[str]", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile=KnownProfiles.default, # type: KnownProfiles", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + }, + "async": { + "api_version": { + "signature": "api_version: Optional[str] = None,", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url: Optional[str] = None,", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile: KnownProfiles = KnownProfiles.default,", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + } + } }, "config": { "credential": true, "credential_scopes": ["https://management.azure.com/.default"], "credential_default_policy_type": "BearerTokenCredentialPolicy", "credential_default_policy_type_has_async_version": true, - "credential_key_header_name": null + "credential_key_header_name": null, + "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMHttpLoggingPolicy\"]}, \"local\": {\"._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}}", + "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMHttpLoggingPolicy\"]}, \"local\": {\".._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}}" }, "operation_groups": { "application_gateways": "ApplicationGatewaysOperations", @@ -91,19 +137,21 @@ "local_network_gateways": "LocalNetworkGatewaysOperations" }, "operation_mixins": { - "check_dns_name_availability" : { - "sync": { - "signature": "def check_dns_name_availability(\n self,\n location, # type: str\n domain_name_label, # type: str\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2018_01_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def check_dns_name_availability(\n self,\n location: str,\n domain_name_label: str,\n **kwargs\n) -\u003e \"_models.DnsNameAvailabilityResult\":\n", - "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2018_01_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "location, domain_name_label" + "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\"]}}}", + "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\"]}}}", + "operations": { + "check_dns_name_availability" : { + "sync": { + "signature": "def check_dns_name_availability(\n self,\n location, # type: str\n domain_name_label, # type: str\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2018_01_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def check_dns_name_availability(\n self,\n location: str,\n domain_name_label: str,\n **kwargs\n) -\u003e \"_models.DnsNameAvailabilityResult\":\n", + "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2018_01_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "location, domain_name_label" + } } - }, - "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\"]}}}", - "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\"]}}}" + } } \ No newline at end of file diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/_network_management_client.py index e4af9b0107b9..a8e161d2c9f4 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/_network_management_client.py @@ -16,6 +16,7 @@ from typing import Any, Optional from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse from ._configuration import NetworkManagementClientConfiguration from .operations import ApplicationGatewaysOperations @@ -159,6 +160,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( @@ -236,6 +238,24 @@ def __init__( self.local_network_gateways = LocalNetworkGatewaysOperations( self._client, self._config, self._serialize, self._deserialize) + def _send_request(self, http_request, **kwargs): + # type: (HttpRequest, Any) -> HttpResponse + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.HttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + def close(self): # type: () -> None self._client.close() diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/_network_management_client.py index 404933231bc2..df1b2cbcd8d2 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/_network_management_client.py @@ -8,6 +8,7 @@ from typing import Any, Optional, TYPE_CHECKING +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core import AsyncARMPipelineClient from msrest import Deserializer, Serializer @@ -156,6 +157,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( @@ -233,6 +235,23 @@ def __init__( self.local_network_gateways = LocalNetworkGatewaysOperations( self._client, self._config, self._serialize, self._deserialize) + async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + async def close(self) -> None: await self._client.close() diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_application_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_application_gateways_operations.py index a44cb64e6c20..8cfde5de371a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_application_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_application_gateways_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_01_01.models.ApplicationGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGateway or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_01_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGateway or the result of cls(response) @@ -651,8 +651,8 @@ async def begin_start( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -757,8 +757,8 @@ async def begin_stop( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -876,8 +876,8 @@ async def begin_backend_health( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGatewayBackendHealth or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_application_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_application_security_groups_operations.py index aa410a520f63..ef43257b0902 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_application_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_application_security_groups_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type application_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -282,8 +282,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_01_01.models.ApplicationSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_connection_monitors_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_connection_monitors_operations.py index aecb657f1152..8339d3349ab6 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_connection_monitors_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_connection_monitors_operations.py @@ -122,8 +122,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_01_01.models.ConnectionMonitor :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionMonitorResult or the result of cls(response) @@ -301,8 +301,8 @@ async def begin_delete( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -414,8 +414,8 @@ async def begin_stop( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -527,8 +527,8 @@ async def begin_start( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -649,8 +649,8 @@ async def begin_query( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionMonitorQueryResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_express_route_circuit_authorizations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_express_route_circuit_authorizations_operations.py index 4e09298108d0..66cef1d6fd35 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_express_route_circuit_authorizations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_express_route_circuit_authorizations_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type authorization_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type authorization_parameters: ~azure.mgmt.network.v2018_01_01.models.ExpressRouteCircuitAuthorization :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitAuthorization or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_express_route_circuit_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_express_route_circuit_peerings_operations.py index 3e68a7d5f562..6b22064ab340 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_express_route_circuit_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_express_route_circuit_peerings_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2018_01_01.models.ExpressRouteCircuitPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_express_route_circuits_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_express_route_circuits_operations.py index ca2c547a6141..8c3a7484995a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_express_route_circuits_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_express_route_circuits_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type circuit_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_01_01.models.ExpressRouteCircuit :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_01_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -533,8 +533,8 @@ async def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -664,8 +664,8 @@ async def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) @@ -795,8 +795,8 @@ async def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableSummaryListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_inbound_nat_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_inbound_nat_rules_operations.py index 85dd341beff1..ba2d52292939 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_inbound_nat_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_inbound_nat_rules_operations.py @@ -178,8 +178,8 @@ async def begin_delete( :type inbound_nat_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -377,8 +377,8 @@ async def begin_create_or_update( :type inbound_nat_rule_parameters: ~azure.mgmt.network.v2018_01_01.models.InboundNatRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either InboundNatRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_load_balancers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_load_balancers_operations.py index 5a0c1d7ef2ca..28e4b957a5ec 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_load_balancers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_load_balancers_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type load_balancer_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_01_01.models.LoadBalancer :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LoadBalancer or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_01_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LoadBalancer or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_local_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_local_network_gateways_operations.py index c843ae93042c..ada10314c1ae 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_local_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_local_network_gateways_operations.py @@ -117,8 +117,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_01_01.models.LocalNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LocalNetworkGateway or the result of cls(response) @@ -285,8 +285,8 @@ async def begin_delete( :type local_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_01_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LocalNetworkGateway or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_network_interfaces_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_network_interfaces_operations.py index 605fb0879c47..0fa3c6078ae3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_network_interfaces_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_network_interfaces_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_01_01.models.NetworkInterface :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkInterface or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_01_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkInterface or the result of cls(response) @@ -663,8 +663,8 @@ async def begin_get_effective_route_table( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either EffectiveRouteListResult or the result of cls(response) @@ -779,8 +779,8 @@ async def begin_list_effective_network_security_groups( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either EffectiveNetworkSecurityGroupListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_network_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_network_security_groups_operations.py index 044ee34ebcaa..919c050726fe 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_network_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_network_security_groups_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type network_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -287,8 +287,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_01_01.models.NetworkSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkSecurityGroup or the result of cls(response) @@ -411,8 +411,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_01_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_network_watchers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_network_watchers_operations.py index 4cdbe2100f2f..6394fc8c0157 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_network_watchers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_network_watchers_operations.py @@ -227,8 +227,8 @@ async def begin_delete( :type network_watcher_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -619,8 +619,8 @@ async def begin_verify_ip_flow( :type parameters: ~azure.mgmt.network.v2018_01_01.models.VerificationIPFlowParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VerificationIPFlowResult or the result of cls(response) @@ -747,8 +747,8 @@ async def begin_get_next_hop( :type parameters: ~azure.mgmt.network.v2018_01_01.models.NextHopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NextHopResult or the result of cls(response) @@ -875,8 +875,8 @@ async def begin_get_vm_security_rules( :type parameters: ~azure.mgmt.network.v2018_01_01.models.SecurityGroupViewParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either SecurityGroupViewResult or the result of cls(response) @@ -1003,8 +1003,8 @@ async def begin_get_troubleshooting( :type parameters: ~azure.mgmt.network.v2018_01_01.models.TroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1131,8 +1131,8 @@ async def begin_get_troubleshooting_result( :type parameters: ~azure.mgmt.network.v2018_01_01.models.QueryTroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1259,8 +1259,8 @@ async def begin_set_flow_log_configuration( :type parameters: ~azure.mgmt.network.v2018_01_01.models.FlowLogInformation :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1388,8 +1388,8 @@ async def begin_get_flow_log_status( :type parameters: ~azure.mgmt.network.v2018_01_01.models.FlowLogStatusParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1517,8 +1517,8 @@ async def begin_check_connectivity( :type parameters: ~azure.mgmt.network.v2018_01_01.models.ConnectivityParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectivityInformation or the result of cls(response) @@ -1646,8 +1646,8 @@ async def begin_get_azure_reachability_report( :type parameters: ~azure.mgmt.network.v2018_01_01.models.AzureReachabilityReportParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AzureReachabilityReport or the result of cls(response) @@ -1774,8 +1774,8 @@ async def begin_list_available_providers( :type parameters: ~azure.mgmt.network.v2018_01_01.models.AvailableProvidersListParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AvailableProvidersList or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_packet_captures_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_packet_captures_operations.py index e8d1bd04b4db..14376a45e1b1 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_packet_captures_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_packet_captures_operations.py @@ -118,8 +118,8 @@ async def begin_create( :type parameters: ~azure.mgmt.network.v2018_01_01.models.PacketCapture :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PacketCaptureResult or the result of cls(response) @@ -297,8 +297,8 @@ async def begin_delete( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_stop( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -532,8 +532,8 @@ async def begin_get_status( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PacketCaptureQueryStatusResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_public_ip_addresses_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_public_ip_addresses_operations.py index 12cbec793749..1e0122bedc2f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_public_ip_addresses_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_public_ip_addresses_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type public_ip_address_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_01_01.models.PublicIPAddress :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PublicIPAddress or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_01_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PublicIPAddress or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_route_filter_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_route_filter_rules_operations.py index abb000fc023c..943b741a2ef9 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_route_filter_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_route_filter_rules_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2018_01_01.models.RouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilterRule or the result of cls(response) @@ -430,8 +430,8 @@ async def begin_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2018_01_01.models.PatchRouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilterRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_route_filters_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_route_filters_operations.py index a7576b1ea4ab..927873503b6c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_route_filters_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_route_filters_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type route_filter_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -287,8 +287,8 @@ async def begin_create_or_update( :type route_filter_parameters: ~azure.mgmt.network.v2018_01_01.models.RouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilter or the result of cls(response) @@ -411,8 +411,8 @@ async def begin_update( :type route_filter_parameters: ~azure.mgmt.network.v2018_01_01.models.PatchRouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilter or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_route_tables_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_route_tables_operations.py index 1a249ffc2ae0..a2dd40f64cf2 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_route_tables_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_route_tables_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_01_01.models.RouteTable :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteTable or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_01_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteTable or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_routes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_routes_operations.py index f35eaaf58a1e..23c7f9d1bba1 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_routes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_routes_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type route_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ async def begin_create_or_update( :type route_parameters: ~azure.mgmt.network.v2018_01_01.models.Route :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Route or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_security_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_security_rules_operations.py index 15d5c8132135..277e16ccdcc2 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_security_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_security_rules_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type security_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type security_rule_parameters: ~azure.mgmt.network.v2018_01_01.models.SecurityRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either SecurityRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_subnets_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_subnets_operations.py index 58ee624dbc75..59ecc3b5cc99 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_subnets_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_subnets_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type subnet_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -302,8 +302,8 @@ async def begin_create_or_update( :type subnet_parameters: ~azure.mgmt.network.v2018_01_01.models.Subnet :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Subnet or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_virtual_network_gateway_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_virtual_network_gateway_connections_operations.py index db00362ead40..e3f0dbfccf5e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_virtual_network_gateway_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_virtual_network_gateway_connections_operations.py @@ -119,8 +119,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_01_01.models.VirtualNetworkGatewayConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -289,8 +289,8 @@ async def begin_delete( :type virtual_network_gateway_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_01_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGatewayConnectionListEntity or the result of cls(response) @@ -541,8 +541,8 @@ async def begin_set_shared_key( :type parameters: ~azure.mgmt.network.v2018_01_01.models.ConnectionSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionSharedKey or the result of cls(response) @@ -802,8 +802,8 @@ async def begin_reset_shared_key( :type parameters: ~azure.mgmt.network.v2018_01_01.models.ConnectionResetSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionResetSharedKey or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_virtual_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_virtual_network_gateways_operations.py index 39a40afbd076..5b19a6d58ef7 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_virtual_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_virtual_network_gateways_operations.py @@ -117,8 +117,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_01_01.models.VirtualNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -285,8 +285,8 @@ async def begin_delete( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_01_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -673,8 +673,8 @@ async def begin_reset( :type gateway_vip: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -801,8 +801,8 @@ async def begin_generatevpnclientpackage( :type parameters: ~azure.mgmt.network.v2018_01_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -929,8 +929,8 @@ async def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2018_01_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1047,8 +1047,8 @@ async def begin_get_vpn_profile_package_url( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1169,8 +1169,8 @@ async def begin_get_bgp_peer_status( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either BgpPeerStatusListResult or the result of cls(response) @@ -1345,8 +1345,8 @@ async def begin_get_learned_routes( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1467,8 +1467,8 @@ async def begin_get_advertised_routes( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either GatewayRouteListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_virtual_network_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_virtual_network_peerings_operations.py index a92c6dd9ac2b..76c5311e4f15 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_virtual_network_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_virtual_network_peerings_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type virtual_network_peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type virtual_network_peering_parameters: ~azure.mgmt.network.v2018_01_01.models.VirtualNetworkPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_virtual_networks_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_virtual_networks_operations.py index 51ec06097cac..11a23e1e06bb 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_virtual_networks_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/aio/operations/_virtual_networks_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type virtual_network_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_01_01.models.VirtualNetwork :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetwork or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_01_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetwork or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/models/_models.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/models/_models.py index 526bdd251550..985391ce64ec 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/models/_models.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/models/_models.py @@ -6232,8 +6232,8 @@ class PacketCaptureStorageLocation(msrest.serialization.Model): :param storage_id: The ID of the storage account to save the packet capture session. Required if no local file path is provided. :type storage_id: str - :param storage_path: The URI of the storage path to save the packet capture. Must be a well- - formed URI describing the location to save the packet capture. + :param storage_path: The URI of the storage path to save the packet capture. Must be a + well-formed URI describing the location to save the packet capture. :type storage_path: str :param file_path: A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no @@ -8651,8 +8651,8 @@ class VirtualNetworkPeering(SubResource): :type use_remote_gateways: bool :param remote_virtual_network: The reference of the remote virtual network. The remote virtual network can be in the same or different region (preview). See here to register for the preview - and learn more (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create- - peering). + and learn more + (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering). :type remote_virtual_network: ~azure.mgmt.network.v2018_01_01.models.SubResource :param remote_address_space: The reference of the remote virtual network address space. :type remote_address_space: ~azure.mgmt.network.v2018_01_01.models.AddressSpace diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/models/_models_py3.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/models/_models_py3.py index 2b538c0984f7..957747f51e3c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/models/_models_py3.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/models/_models_py3.py @@ -7080,8 +7080,8 @@ class PacketCaptureStorageLocation(msrest.serialization.Model): :param storage_id: The ID of the storage account to save the packet capture session. Required if no local file path is provided. :type storage_id: str - :param storage_path: The URI of the storage path to save the packet capture. Must be a well- - formed URI describing the location to save the packet capture. + :param storage_path: The URI of the storage path to save the packet capture. Must be a + well-formed URI describing the location to save the packet capture. :type storage_path: str :param file_path: A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no @@ -9803,8 +9803,8 @@ class VirtualNetworkPeering(SubResource): :type use_remote_gateways: bool :param remote_virtual_network: The reference of the remote virtual network. The remote virtual network can be in the same or different region (preview). See here to register for the preview - and learn more (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create- - peering). + and learn more + (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering). :type remote_virtual_network: ~azure.mgmt.network.v2018_01_01.models.SubResource :param remote_address_space: The reference of the remote virtual network address space. :type remote_address_space: ~azure.mgmt.network.v2018_01_01.models.AddressSpace diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_application_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_application_gateways_operations.py index f1269ed82c86..00e2b635f6bd 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_application_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_application_gateways_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_01_01.models.ApplicationGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGateway or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_01_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGateway or the result of cls(response) @@ -666,8 +666,8 @@ def begin_start( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -774,8 +774,8 @@ def begin_stop( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -895,8 +895,8 @@ def begin_backend_health( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGatewayBackendHealth or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_application_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_application_security_groups_operations.py index bf3aeb94a27b..d1b5dca79a7e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_application_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_application_security_groups_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type application_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -291,8 +291,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_01_01.models.ApplicationSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_connection_monitors_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_connection_monitors_operations.py index 1d43143f325d..4db4cc63bbd3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_connection_monitors_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_connection_monitors_operations.py @@ -128,8 +128,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_01_01.models.ConnectionMonitor :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionMonitorResult or the result of cls(response) @@ -310,8 +310,8 @@ def begin_delete( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -425,8 +425,8 @@ def begin_stop( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -540,8 +540,8 @@ def begin_start( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -664,8 +664,8 @@ def begin_query( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionMonitorQueryResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_express_route_circuit_authorizations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_express_route_circuit_authorizations_operations.py index 4c26154ce812..137ab1257311 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_express_route_circuit_authorizations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_express_route_circuit_authorizations_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type authorization_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type authorization_parameters: ~azure.mgmt.network.v2018_01_01.models.ExpressRouteCircuitAuthorization :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitAuthorization or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_express_route_circuit_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_express_route_circuit_peerings_operations.py index 7da385140ad5..00dd9ad4693a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_express_route_circuit_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_express_route_circuit_peerings_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2018_01_01.models.ExpressRouteCircuitPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_express_route_circuits_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_express_route_circuits_operations.py index 57a29bec8f1e..0cc767ace335 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_express_route_circuits_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_express_route_circuits_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type circuit_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_01_01.models.ExpressRouteCircuit :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_01_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -546,8 +546,8 @@ def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -679,8 +679,8 @@ def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) @@ -812,8 +812,8 @@ def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableSummaryListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_inbound_nat_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_inbound_nat_rules_operations.py index 26aba23d85a3..b8ec826404ef 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_inbound_nat_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_inbound_nat_rules_operations.py @@ -185,8 +185,8 @@ def begin_delete( :type inbound_nat_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -387,8 +387,8 @@ def begin_create_or_update( :type inbound_nat_rule_parameters: ~azure.mgmt.network.v2018_01_01.models.InboundNatRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either InboundNatRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_load_balancers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_load_balancers_operations.py index 141f0bc86d64..faa92541f8e5 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_load_balancers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_load_balancers_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type load_balancer_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_01_01.models.LoadBalancer :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LoadBalancer or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_01_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LoadBalancer or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_local_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_local_network_gateways_operations.py index 41cdd676b1ed..331473461969 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_local_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_local_network_gateways_operations.py @@ -123,8 +123,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_01_01.models.LocalNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LocalNetworkGateway or the result of cls(response) @@ -294,8 +294,8 @@ def begin_delete( :type local_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_01_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LocalNetworkGateway or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_network_interfaces_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_network_interfaces_operations.py index b17fe8a5d46d..90a3ef7f5018 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_network_interfaces_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_network_interfaces_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_01_01.models.NetworkInterface :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkInterface or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_01_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkInterface or the result of cls(response) @@ -678,8 +678,8 @@ def begin_get_effective_route_table( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either EffectiveRouteListResult or the result of cls(response) @@ -796,8 +796,8 @@ def begin_list_effective_network_security_groups( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either EffectiveNetworkSecurityGroupListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_network_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_network_security_groups_operations.py index e7f39f103dd2..611b9c9b57b0 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_network_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_network_security_groups_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type network_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -296,8 +296,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_01_01.models.NetworkSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkSecurityGroup or the result of cls(response) @@ -422,8 +422,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_01_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_network_watchers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_network_watchers_operations.py index 38eb843acbc8..ab804d09120c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_network_watchers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_network_watchers_operations.py @@ -235,8 +235,8 @@ def begin_delete( :type network_watcher_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -633,8 +633,8 @@ def begin_verify_ip_flow( :type parameters: ~azure.mgmt.network.v2018_01_01.models.VerificationIPFlowParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VerificationIPFlowResult or the result of cls(response) @@ -763,8 +763,8 @@ def begin_get_next_hop( :type parameters: ~azure.mgmt.network.v2018_01_01.models.NextHopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NextHopResult or the result of cls(response) @@ -893,8 +893,8 @@ def begin_get_vm_security_rules( :type parameters: ~azure.mgmt.network.v2018_01_01.models.SecurityGroupViewParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either SecurityGroupViewResult or the result of cls(response) @@ -1023,8 +1023,8 @@ def begin_get_troubleshooting( :type parameters: ~azure.mgmt.network.v2018_01_01.models.TroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1153,8 +1153,8 @@ def begin_get_troubleshooting_result( :type parameters: ~azure.mgmt.network.v2018_01_01.models.QueryTroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1283,8 +1283,8 @@ def begin_set_flow_log_configuration( :type parameters: ~azure.mgmt.network.v2018_01_01.models.FlowLogInformation :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1414,8 +1414,8 @@ def begin_get_flow_log_status( :type parameters: ~azure.mgmt.network.v2018_01_01.models.FlowLogStatusParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1545,8 +1545,8 @@ def begin_check_connectivity( :type parameters: ~azure.mgmt.network.v2018_01_01.models.ConnectivityParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectivityInformation or the result of cls(response) @@ -1676,8 +1676,8 @@ def begin_get_azure_reachability_report( :type parameters: ~azure.mgmt.network.v2018_01_01.models.AzureReachabilityReportParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AzureReachabilityReport or the result of cls(response) @@ -1806,8 +1806,8 @@ def begin_list_available_providers( :type parameters: ~azure.mgmt.network.v2018_01_01.models.AvailableProvidersListParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AvailableProvidersList or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_packet_captures_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_packet_captures_operations.py index 2875309b370a..ea0d0c044c6e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_packet_captures_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_packet_captures_operations.py @@ -124,8 +124,8 @@ def begin_create( :type parameters: ~azure.mgmt.network.v2018_01_01.models.PacketCapture :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PacketCaptureResult or the result of cls(response) @@ -306,8 +306,8 @@ def begin_delete( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -421,8 +421,8 @@ def begin_stop( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -545,8 +545,8 @@ def begin_get_status( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PacketCaptureQueryStatusResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_public_ip_addresses_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_public_ip_addresses_operations.py index 1e00f6c26e54..af5c586e0641 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_public_ip_addresses_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_public_ip_addresses_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type public_ip_address_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_01_01.models.PublicIPAddress :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PublicIPAddress or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_01_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PublicIPAddress or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_route_filter_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_route_filter_rules_operations.py index 3117ee70b977..2809174ae1f0 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_route_filter_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_route_filter_rules_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2018_01_01.models.RouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilterRule or the result of cls(response) @@ -441,8 +441,8 @@ def begin_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2018_01_01.models.PatchRouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilterRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_route_filters_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_route_filters_operations.py index a0eaa6ea0f01..c2c67e270ab5 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_route_filters_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_route_filters_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type route_filter_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -296,8 +296,8 @@ def begin_create_or_update( :type route_filter_parameters: ~azure.mgmt.network.v2018_01_01.models.RouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilter or the result of cls(response) @@ -422,8 +422,8 @@ def begin_update( :type route_filter_parameters: ~azure.mgmt.network.v2018_01_01.models.PatchRouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilter or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_route_tables_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_route_tables_operations.py index 8395cd8630cc..e761c3246eef 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_route_tables_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_route_tables_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_01_01.models.RouteTable :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteTable or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_01_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteTable or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_routes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_routes_operations.py index 66ffacbb815a..5232f986affb 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_routes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_routes_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type route_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -306,8 +306,8 @@ def begin_create_or_update( :type route_parameters: ~azure.mgmt.network.v2018_01_01.models.Route :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Route or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_security_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_security_rules_operations.py index 775a4ceef587..239d39775875 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_security_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_security_rules_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type security_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type security_rule_parameters: ~azure.mgmt.network.v2018_01_01.models.SecurityRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either SecurityRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_subnets_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_subnets_operations.py index b81da5e13abd..ab6592773692 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_subnets_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_subnets_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type subnet_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -311,8 +311,8 @@ def begin_create_or_update( :type subnet_parameters: ~azure.mgmt.network.v2018_01_01.models.Subnet :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Subnet or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_virtual_network_gateway_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_virtual_network_gateway_connections_operations.py index 441b1663e973..434263819fe2 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_virtual_network_gateway_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_virtual_network_gateway_connections_operations.py @@ -125,8 +125,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_01_01.models.VirtualNetworkGatewayConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -298,8 +298,8 @@ def begin_delete( :type virtual_network_gateway_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_01_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGatewayConnectionListEntity or the result of cls(response) @@ -554,8 +554,8 @@ def begin_set_shared_key( :type parameters: ~azure.mgmt.network.v2018_01_01.models.ConnectionSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionSharedKey or the result of cls(response) @@ -819,8 +819,8 @@ def begin_reset_shared_key( :type parameters: ~azure.mgmt.network.v2018_01_01.models.ConnectionResetSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionResetSharedKey or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_virtual_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_virtual_network_gateways_operations.py index ef67f4ce6d1d..facf2da07968 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_virtual_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_virtual_network_gateways_operations.py @@ -123,8 +123,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_01_01.models.VirtualNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -294,8 +294,8 @@ def begin_delete( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_01_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -688,8 +688,8 @@ def begin_reset( :type gateway_vip: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -818,8 +818,8 @@ def begin_generatevpnclientpackage( :type parameters: ~azure.mgmt.network.v2018_01_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -948,8 +948,8 @@ def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2018_01_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1068,8 +1068,8 @@ def begin_get_vpn_profile_package_url( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1192,8 +1192,8 @@ def begin_get_bgp_peer_status( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either BgpPeerStatusListResult or the result of cls(response) @@ -1371,8 +1371,8 @@ def begin_get_learned_routes( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1495,8 +1495,8 @@ def begin_get_advertised_routes( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either GatewayRouteListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_virtual_network_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_virtual_network_peerings_operations.py index 72a134e8800a..093b202599c2 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_virtual_network_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_virtual_network_peerings_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type virtual_network_peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type virtual_network_peering_parameters: ~azure.mgmt.network.v2018_01_01.models.VirtualNetworkPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_virtual_networks_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_virtual_networks_operations.py index 670aaa8b3388..028a691488b5 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_virtual_networks_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_01_01/operations/_virtual_networks_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type virtual_network_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_01_01.models.VirtualNetwork :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetwork or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_01_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetwork or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/_metadata.json b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/_metadata.json index 39d136c1ec9a..6864c8895c45 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/_metadata.json +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/_metadata.json @@ -9,7 +9,9 @@ "custom_base_url": null, "azure_arm": true, "has_lro_operations": true, - "client_side_validation": true + "client_side_validation": false, + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"NetworkManagementClientConfiguration\"], \"._operations_mixin\": [\"NetworkManagementClientOperationsMixin\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"NetworkManagementClientConfiguration\"], \"._operations_mixin\": [\"NetworkManagementClientOperationsMixin\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}" }, "global_parameters": { "sync": { @@ -28,13 +30,13 @@ }, "async": { "credential": { - "signature": "credential, # type: \"AsyncTokenCredential\"", + "signature": "credential: \"AsyncTokenCredential\",", "description": "Credential needed for the client to connect to Azure.", "docstring_type": "~azure.core.credentials_async.AsyncTokenCredential", "required": true }, "subscription_id": { - "signature": "subscription_id, # type: str", + "signature": "subscription_id: str,", "description": "The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.", "docstring_type": "str", "required": true @@ -42,14 +44,58 @@ }, "constant": { }, - "call": "credential, subscription_id" + "call": "credential, subscription_id", + "service_client_specific": { + "sync": { + "api_version": { + "signature": "api_version=None, # type: Optional[str]", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url=None, # type: Optional[str]", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile=KnownProfiles.default, # type: KnownProfiles", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + }, + "async": { + "api_version": { + "signature": "api_version: Optional[str] = None,", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url: Optional[str] = None,", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile: KnownProfiles = KnownProfiles.default,", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + } + } }, "config": { "credential": true, "credential_scopes": ["https://management.azure.com/.default"], "credential_default_policy_type": "BearerTokenCredentialPolicy", "credential_default_policy_type_has_async_version": true, - "credential_key_header_name": null + "credential_key_header_name": null, + "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMHttpLoggingPolicy\"]}, \"local\": {\"._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}}", + "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMHttpLoggingPolicy\"]}, \"local\": {\".._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}}" }, "operation_groups": { "application_gateways": "ApplicationGatewaysOperations", @@ -95,19 +141,21 @@ "local_network_gateways": "LocalNetworkGatewaysOperations" }, "operation_mixins": { - "check_dns_name_availability" : { - "sync": { - "signature": "def check_dns_name_availability(\n self,\n location, # type: str\n domain_name_label, # type: str\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2018_02_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def check_dns_name_availability(\n self,\n location: str,\n domain_name_label: str,\n **kwargs\n) -\u003e \"_models.DnsNameAvailabilityResult\":\n", - "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2018_02_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "location, domain_name_label" + "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\"]}}}", + "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\"]}}}", + "operations": { + "check_dns_name_availability" : { + "sync": { + "signature": "def check_dns_name_availability(\n self,\n location, # type: str\n domain_name_label, # type: str\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2018_02_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def check_dns_name_availability(\n self,\n location: str,\n domain_name_label: str,\n **kwargs\n) -\u003e \"_models.DnsNameAvailabilityResult\":\n", + "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2018_02_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "location, domain_name_label" + } } - }, - "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\"]}}}", - "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\"]}}}" + } } \ No newline at end of file diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/_network_management_client.py index da9af7b64314..2a2d856a661b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/_network_management_client.py @@ -16,6 +16,7 @@ from typing import Any, Optional from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse from ._configuration import NetworkManagementClientConfiguration from .operations import ApplicationGatewaysOperations @@ -171,6 +172,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( @@ -256,6 +258,24 @@ def __init__( self.local_network_gateways = LocalNetworkGatewaysOperations( self._client, self._config, self._serialize, self._deserialize) + def _send_request(self, http_request, **kwargs): + # type: (HttpRequest, Any) -> HttpResponse + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.HttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + def close(self): # type: () -> None self._client.close() diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/_network_management_client.py index e2d144880ff1..a3f864052060 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/_network_management_client.py @@ -8,6 +8,7 @@ from typing import Any, Optional, TYPE_CHECKING +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core import AsyncARMPipelineClient from msrest import Deserializer, Serializer @@ -168,6 +169,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( @@ -253,6 +255,23 @@ def __init__( self.local_network_gateways = LocalNetworkGatewaysOperations( self._client, self._config, self._serialize, self._deserialize) + async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + async def close(self) -> None: await self._client.close() diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_application_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_application_gateways_operations.py index c1edb19c3f8e..8f60961a212e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_application_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_application_gateways_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_02_01.models.ApplicationGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGateway or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_02_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGateway or the result of cls(response) @@ -651,8 +651,8 @@ async def begin_start( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -757,8 +757,8 @@ async def begin_stop( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -876,8 +876,8 @@ async def begin_backend_health( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGatewayBackendHealth or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_application_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_application_security_groups_operations.py index d47fb4b0a5b3..d748e66e1eae 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_application_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_application_security_groups_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type application_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -282,8 +282,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_02_01.models.ApplicationSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_connection_monitors_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_connection_monitors_operations.py index d397e69da586..cf18264b8e10 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_connection_monitors_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_connection_monitors_operations.py @@ -122,8 +122,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_02_01.models.ConnectionMonitor :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionMonitorResult or the result of cls(response) @@ -301,8 +301,8 @@ async def begin_delete( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -414,8 +414,8 @@ async def begin_stop( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -527,8 +527,8 @@ async def begin_start( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -649,8 +649,8 @@ async def begin_query( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionMonitorQueryResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_ddos_protection_plans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_ddos_protection_plans_operations.py index d5172fab392f..fdac94791ca1 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_ddos_protection_plans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_ddos_protection_plans_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type ddos_protection_plan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_02_01.models.DdosProtectionPlan :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either DdosProtectionPlan or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_express_route_circuit_authorizations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_express_route_circuit_authorizations_operations.py index a282241993d4..91c5cd2dfe46 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_express_route_circuit_authorizations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_express_route_circuit_authorizations_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type authorization_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type authorization_parameters: ~azure.mgmt.network.v2018_02_01.models.ExpressRouteCircuitAuthorization :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitAuthorization or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_express_route_circuit_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_express_route_circuit_connections_operations.py index 1d95f1d50ef7..995e50021204 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_express_route_circuit_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_express_route_circuit_connections_operations.py @@ -109,8 +109,8 @@ async def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -314,8 +314,8 @@ async def begin_create_or_update( :type express_route_circuit_connection_parameters: ~azure.mgmt.network.v2018_02_01.models.ExpressRouteCircuitConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitConnection or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_express_route_circuit_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_express_route_circuit_peerings_operations.py index 971e9f8d4c46..79bf791dcb46 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_express_route_circuit_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_express_route_circuit_peerings_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2018_02_01.models.ExpressRouteCircuitPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_express_route_circuits_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_express_route_circuits_operations.py index f218425e4ae3..73efb3ebd613 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_express_route_circuits_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_express_route_circuits_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type circuit_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_02_01.models.ExpressRouteCircuit :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_02_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -533,8 +533,8 @@ async def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -664,8 +664,8 @@ async def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) @@ -795,8 +795,8 @@ async def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableSummaryListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_express_route_cross_connection_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_express_route_cross_connection_peerings_operations.py index 683015a06dab..340979f4b654 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_express_route_cross_connection_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_express_route_cross_connection_peerings_operations.py @@ -178,8 +178,8 @@ async def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -372,8 +372,8 @@ async def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2018_02_01.models.ExpressRouteCrossConnectionPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCrossConnectionPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_express_route_cross_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_express_route_cross_connections_operations.py index 6094eae0623f..06c35a3d817a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_express_route_cross_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_express_route_cross_connections_operations.py @@ -308,8 +308,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_02_01.models.ExpressRouteCrossConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCrossConnection or the result of cls(response) @@ -433,8 +433,8 @@ async def begin_update_tags( :type cross_connection_parameters: ~azure.mgmt.network.v2018_02_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCrossConnection or the result of cls(response) @@ -561,8 +561,8 @@ async def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -692,8 +692,8 @@ async def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCrossConnectionsRoutesTableSummaryListResult or the result of cls(response) @@ -823,8 +823,8 @@ async def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_inbound_nat_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_inbound_nat_rules_operations.py index 7c3b9eabfa58..e33594a4bfdb 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_inbound_nat_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_inbound_nat_rules_operations.py @@ -178,8 +178,8 @@ async def begin_delete( :type inbound_nat_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -377,8 +377,8 @@ async def begin_create_or_update( :type inbound_nat_rule_parameters: ~azure.mgmt.network.v2018_02_01.models.InboundNatRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either InboundNatRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_load_balancers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_load_balancers_operations.py index 8e1f60214918..df8e3ba22305 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_load_balancers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_load_balancers_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type load_balancer_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_02_01.models.LoadBalancer :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LoadBalancer or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_02_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LoadBalancer or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_local_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_local_network_gateways_operations.py index d51b5b9d14cd..11e8bf15af5f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_local_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_local_network_gateways_operations.py @@ -117,8 +117,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_02_01.models.LocalNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LocalNetworkGateway or the result of cls(response) @@ -285,8 +285,8 @@ async def begin_delete( :type local_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_02_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LocalNetworkGateway or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_network_interfaces_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_network_interfaces_operations.py index 23db6c3aa8d5..7df401bfbba9 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_network_interfaces_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_network_interfaces_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_02_01.models.NetworkInterface :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkInterface or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_02_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkInterface or the result of cls(response) @@ -663,8 +663,8 @@ async def begin_get_effective_route_table( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either EffectiveRouteListResult or the result of cls(response) @@ -779,8 +779,8 @@ async def begin_list_effective_network_security_groups( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either EffectiveNetworkSecurityGroupListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_network_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_network_security_groups_operations.py index 33d582d13cf3..79ea829a259f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_network_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_network_security_groups_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type network_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -287,8 +287,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_02_01.models.NetworkSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkSecurityGroup or the result of cls(response) @@ -411,8 +411,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_02_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_network_watchers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_network_watchers_operations.py index e7a7fc2b156a..d0e2c8c68e93 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_network_watchers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_network_watchers_operations.py @@ -227,8 +227,8 @@ async def begin_delete( :type network_watcher_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -619,8 +619,8 @@ async def begin_verify_ip_flow( :type parameters: ~azure.mgmt.network.v2018_02_01.models.VerificationIPFlowParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VerificationIPFlowResult or the result of cls(response) @@ -747,8 +747,8 @@ async def begin_get_next_hop( :type parameters: ~azure.mgmt.network.v2018_02_01.models.NextHopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NextHopResult or the result of cls(response) @@ -875,8 +875,8 @@ async def begin_get_vm_security_rules( :type parameters: ~azure.mgmt.network.v2018_02_01.models.SecurityGroupViewParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either SecurityGroupViewResult or the result of cls(response) @@ -1003,8 +1003,8 @@ async def begin_get_troubleshooting( :type parameters: ~azure.mgmt.network.v2018_02_01.models.TroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1131,8 +1131,8 @@ async def begin_get_troubleshooting_result( :type parameters: ~azure.mgmt.network.v2018_02_01.models.QueryTroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1259,8 +1259,8 @@ async def begin_set_flow_log_configuration( :type parameters: ~azure.mgmt.network.v2018_02_01.models.FlowLogInformation :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1387,8 +1387,8 @@ async def begin_get_flow_log_status( :type parameters: ~azure.mgmt.network.v2018_02_01.models.FlowLogStatusParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1516,8 +1516,8 @@ async def begin_check_connectivity( :type parameters: ~azure.mgmt.network.v2018_02_01.models.ConnectivityParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectivityInformation or the result of cls(response) @@ -1645,8 +1645,8 @@ async def begin_get_azure_reachability_report( :type parameters: ~azure.mgmt.network.v2018_02_01.models.AzureReachabilityReportParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AzureReachabilityReport or the result of cls(response) @@ -1773,8 +1773,8 @@ async def begin_list_available_providers( :type parameters: ~azure.mgmt.network.v2018_02_01.models.AvailableProvidersListParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AvailableProvidersList or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_packet_captures_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_packet_captures_operations.py index cf948f3a9d1f..1b7c1fe1cf8f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_packet_captures_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_packet_captures_operations.py @@ -118,8 +118,8 @@ async def begin_create( :type parameters: ~azure.mgmt.network.v2018_02_01.models.PacketCapture :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PacketCaptureResult or the result of cls(response) @@ -297,8 +297,8 @@ async def begin_delete( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_stop( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -532,8 +532,8 @@ async def begin_get_status( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PacketCaptureQueryStatusResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_public_ip_addresses_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_public_ip_addresses_operations.py index 7a29c7c77868..4ad4b513ecbd 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_public_ip_addresses_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_public_ip_addresses_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type public_ip_address_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_02_01.models.PublicIPAddress :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PublicIPAddress or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_02_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PublicIPAddress or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_route_filter_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_route_filter_rules_operations.py index 99cf3ac7fffd..6f1be8bb2fd3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_route_filter_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_route_filter_rules_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2018_02_01.models.RouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilterRule or the result of cls(response) @@ -430,8 +430,8 @@ async def begin_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2018_02_01.models.PatchRouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilterRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_route_filters_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_route_filters_operations.py index 52ab16ddfe09..f495ce5fab0e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_route_filters_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_route_filters_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type route_filter_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -287,8 +287,8 @@ async def begin_create_or_update( :type route_filter_parameters: ~azure.mgmt.network.v2018_02_01.models.RouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilter or the result of cls(response) @@ -411,8 +411,8 @@ async def begin_update( :type route_filter_parameters: ~azure.mgmt.network.v2018_02_01.models.PatchRouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilter or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_route_tables_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_route_tables_operations.py index 1c6396f14859..75fd50b385ed 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_route_tables_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_route_tables_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_02_01.models.RouteTable :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteTable or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_02_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteTable or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_routes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_routes_operations.py index d818fb9e7607..6e02b64048b0 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_routes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_routes_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type route_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ async def begin_create_or_update( :type route_parameters: ~azure.mgmt.network.v2018_02_01.models.Route :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Route or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_security_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_security_rules_operations.py index d1a67faff65f..baf81e17c2e2 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_security_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_security_rules_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type security_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type security_rule_parameters: ~azure.mgmt.network.v2018_02_01.models.SecurityRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either SecurityRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_subnets_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_subnets_operations.py index d44ec3ca5229..8979c0c8967b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_subnets_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_subnets_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type subnet_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -302,8 +302,8 @@ async def begin_create_or_update( :type subnet_parameters: ~azure.mgmt.network.v2018_02_01.models.Subnet :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Subnet or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_virtual_network_gateway_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_virtual_network_gateway_connections_operations.py index 595d062cc09b..1f14d3447d28 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_virtual_network_gateway_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_virtual_network_gateway_connections_operations.py @@ -119,8 +119,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_02_01.models.VirtualNetworkGatewayConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -289,8 +289,8 @@ async def begin_delete( :type virtual_network_gateway_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_02_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGatewayConnectionListEntity or the result of cls(response) @@ -541,8 +541,8 @@ async def begin_set_shared_key( :type parameters: ~azure.mgmt.network.v2018_02_01.models.ConnectionSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionSharedKey or the result of cls(response) @@ -802,8 +802,8 @@ async def begin_reset_shared_key( :type parameters: ~azure.mgmt.network.v2018_02_01.models.ConnectionResetSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionResetSharedKey or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_virtual_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_virtual_network_gateways_operations.py index 85f1b5f78862..5eb5dc6ebe4a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_virtual_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_virtual_network_gateways_operations.py @@ -117,8 +117,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_02_01.models.VirtualNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -285,8 +285,8 @@ async def begin_delete( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_02_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -673,8 +673,8 @@ async def begin_reset( :type gateway_vip: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -801,8 +801,8 @@ async def begin_generatevpnclientpackage( :type parameters: ~azure.mgmt.network.v2018_02_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -929,8 +929,8 @@ async def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2018_02_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1047,8 +1047,8 @@ async def begin_get_vpn_profile_package_url( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1169,8 +1169,8 @@ async def begin_get_bgp_peer_status( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either BgpPeerStatusListResult or the result of cls(response) @@ -1345,8 +1345,8 @@ async def begin_get_learned_routes( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1467,8 +1467,8 @@ async def begin_get_advertised_routes( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1595,8 +1595,8 @@ async def begin_set_vpnclient_ipsec_parameters( :type vpnclient_ipsec_params: ~azure.mgmt.network.v2018_02_01.models.VpnClientIPsecParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnClientIPsecParameters or the result of cls(response) @@ -1712,8 +1712,8 @@ async def begin_get_vpnclient_ipsec_parameters( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnClientIPsecParameters or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_virtual_network_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_virtual_network_peerings_operations.py index 4c3ae0712560..d58d6ba704ba 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_virtual_network_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_virtual_network_peerings_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type virtual_network_peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type virtual_network_peering_parameters: ~azure.mgmt.network.v2018_02_01.models.VirtualNetworkPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_virtual_networks_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_virtual_networks_operations.py index 48587e33a73b..1f26f9f4d0b2 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_virtual_networks_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/aio/operations/_virtual_networks_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type virtual_network_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_02_01.models.VirtualNetwork :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetwork or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_02_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetwork or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/models/_models.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/models/_models.py index a8857de2a5a5..684ed1878a20 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/models/_models.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/models/_models.py @@ -6759,8 +6759,8 @@ class PacketCaptureStorageLocation(msrest.serialization.Model): :param storage_id: The ID of the storage account to save the packet capture session. Required if no local file path is provided. :type storage_id: str - :param storage_path: The URI of the storage path to save the packet capture. Must be a well- - formed URI describing the location to save the packet capture. + :param storage_path: The URI of the storage path to save the packet capture. Must be a + well-formed URI describing the location to save the packet capture. :type storage_path: str :param file_path: A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no @@ -9162,8 +9162,8 @@ class VirtualNetworkPeering(SubResource): :type use_remote_gateways: bool :param remote_virtual_network: The reference of the remote virtual network. The remote virtual network can be in the same or different region (preview). See here to register for the preview - and learn more (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create- - peering). + and learn more + (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering). :type remote_virtual_network: ~azure.mgmt.network.v2018_02_01.models.SubResource :param remote_address_space: The reference of the remote virtual network address space. :type remote_address_space: ~azure.mgmt.network.v2018_02_01.models.AddressSpace diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/models/_models_py3.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/models/_models_py3.py index 52f295222664..10b4d86c68e5 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/models/_models_py3.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/models/_models_py3.py @@ -7667,8 +7667,8 @@ class PacketCaptureStorageLocation(msrest.serialization.Model): :param storage_id: The ID of the storage account to save the packet capture session. Required if no local file path is provided. :type storage_id: str - :param storage_path: The URI of the storage path to save the packet capture. Must be a well- - formed URI describing the location to save the packet capture. + :param storage_path: The URI of the storage path to save the packet capture. Must be a + well-formed URI describing the location to save the packet capture. :type storage_path: str :param file_path: A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no @@ -10372,8 +10372,8 @@ class VirtualNetworkPeering(SubResource): :type use_remote_gateways: bool :param remote_virtual_network: The reference of the remote virtual network. The remote virtual network can be in the same or different region (preview). See here to register for the preview - and learn more (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create- - peering). + and learn more + (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering). :type remote_virtual_network: ~azure.mgmt.network.v2018_02_01.models.SubResource :param remote_address_space: The reference of the remote virtual network address space. :type remote_address_space: ~azure.mgmt.network.v2018_02_01.models.AddressSpace diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_application_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_application_gateways_operations.py index 7e9f78b17f01..e269a544b6d8 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_application_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_application_gateways_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_02_01.models.ApplicationGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGateway or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_02_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGateway or the result of cls(response) @@ -666,8 +666,8 @@ def begin_start( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -774,8 +774,8 @@ def begin_stop( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -895,8 +895,8 @@ def begin_backend_health( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGatewayBackendHealth or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_application_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_application_security_groups_operations.py index 73aeffcf654a..387460c67ea2 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_application_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_application_security_groups_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type application_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -291,8 +291,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_02_01.models.ApplicationSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_connection_monitors_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_connection_monitors_operations.py index 842fa5634729..020cc97c9573 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_connection_monitors_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_connection_monitors_operations.py @@ -128,8 +128,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_02_01.models.ConnectionMonitor :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionMonitorResult or the result of cls(response) @@ -310,8 +310,8 @@ def begin_delete( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -425,8 +425,8 @@ def begin_stop( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -540,8 +540,8 @@ def begin_start( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -664,8 +664,8 @@ def begin_query( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionMonitorQueryResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_ddos_protection_plans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_ddos_protection_plans_operations.py index 23ef8c41ff2a..bf8f35555fa4 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_ddos_protection_plans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_ddos_protection_plans_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type ddos_protection_plan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_02_01.models.DdosProtectionPlan :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either DdosProtectionPlan or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_express_route_circuit_authorizations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_express_route_circuit_authorizations_operations.py index 275695107ecc..7316c1e2e8ae 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_express_route_circuit_authorizations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_express_route_circuit_authorizations_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type authorization_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type authorization_parameters: ~azure.mgmt.network.v2018_02_01.models.ExpressRouteCircuitAuthorization :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitAuthorization or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_express_route_circuit_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_express_route_circuit_connections_operations.py index 78490db9dd7f..96295e1b5325 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_express_route_circuit_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_express_route_circuit_connections_operations.py @@ -115,8 +115,8 @@ def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -323,8 +323,8 @@ def begin_create_or_update( :type express_route_circuit_connection_parameters: ~azure.mgmt.network.v2018_02_01.models.ExpressRouteCircuitConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitConnection or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_express_route_circuit_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_express_route_circuit_peerings_operations.py index 960854ad247f..6e3f98d08a6c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_express_route_circuit_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_express_route_circuit_peerings_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2018_02_01.models.ExpressRouteCircuitPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_express_route_circuits_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_express_route_circuits_operations.py index 0c678a1cd428..6b785c86643e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_express_route_circuits_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_express_route_circuits_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type circuit_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_02_01.models.ExpressRouteCircuit :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_02_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -546,8 +546,8 @@ def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -679,8 +679,8 @@ def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) @@ -812,8 +812,8 @@ def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableSummaryListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_express_route_cross_connection_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_express_route_cross_connection_peerings_operations.py index fc7d9806d7a3..b8913c9e13e9 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_express_route_cross_connection_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_express_route_cross_connection_peerings_operations.py @@ -185,8 +185,8 @@ def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -382,8 +382,8 @@ def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2018_02_01.models.ExpressRouteCrossConnectionPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCrossConnectionPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_express_route_cross_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_express_route_cross_connections_operations.py index c43ed808450b..880d1b04402b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_express_route_cross_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_express_route_cross_connections_operations.py @@ -317,8 +317,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_02_01.models.ExpressRouteCrossConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCrossConnection or the result of cls(response) @@ -444,8 +444,8 @@ def begin_update_tags( :type cross_connection_parameters: ~azure.mgmt.network.v2018_02_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCrossConnection or the result of cls(response) @@ -574,8 +574,8 @@ def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -707,8 +707,8 @@ def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCrossConnectionsRoutesTableSummaryListResult or the result of cls(response) @@ -840,8 +840,8 @@ def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_inbound_nat_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_inbound_nat_rules_operations.py index 44abd8f9ae48..27c8a552c879 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_inbound_nat_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_inbound_nat_rules_operations.py @@ -185,8 +185,8 @@ def begin_delete( :type inbound_nat_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -387,8 +387,8 @@ def begin_create_or_update( :type inbound_nat_rule_parameters: ~azure.mgmt.network.v2018_02_01.models.InboundNatRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either InboundNatRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_load_balancers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_load_balancers_operations.py index 9a9e59971f7b..6ed7aca15884 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_load_balancers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_load_balancers_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type load_balancer_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_02_01.models.LoadBalancer :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LoadBalancer or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_02_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LoadBalancer or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_local_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_local_network_gateways_operations.py index 1e490c97a7b1..b44698b19b0d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_local_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_local_network_gateways_operations.py @@ -123,8 +123,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_02_01.models.LocalNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LocalNetworkGateway or the result of cls(response) @@ -294,8 +294,8 @@ def begin_delete( :type local_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_02_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LocalNetworkGateway or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_network_interfaces_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_network_interfaces_operations.py index 4f665c6e3381..df029c9654f8 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_network_interfaces_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_network_interfaces_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_02_01.models.NetworkInterface :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkInterface or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_02_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkInterface or the result of cls(response) @@ -678,8 +678,8 @@ def begin_get_effective_route_table( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either EffectiveRouteListResult or the result of cls(response) @@ -796,8 +796,8 @@ def begin_list_effective_network_security_groups( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either EffectiveNetworkSecurityGroupListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_network_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_network_security_groups_operations.py index 384ef2460b2e..a2635b06c7fa 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_network_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_network_security_groups_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type network_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -296,8 +296,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_02_01.models.NetworkSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkSecurityGroup or the result of cls(response) @@ -422,8 +422,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_02_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_network_watchers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_network_watchers_operations.py index 4595a51e681e..caede1dae962 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_network_watchers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_network_watchers_operations.py @@ -235,8 +235,8 @@ def begin_delete( :type network_watcher_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -633,8 +633,8 @@ def begin_verify_ip_flow( :type parameters: ~azure.mgmt.network.v2018_02_01.models.VerificationIPFlowParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VerificationIPFlowResult or the result of cls(response) @@ -763,8 +763,8 @@ def begin_get_next_hop( :type parameters: ~azure.mgmt.network.v2018_02_01.models.NextHopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NextHopResult or the result of cls(response) @@ -893,8 +893,8 @@ def begin_get_vm_security_rules( :type parameters: ~azure.mgmt.network.v2018_02_01.models.SecurityGroupViewParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either SecurityGroupViewResult or the result of cls(response) @@ -1023,8 +1023,8 @@ def begin_get_troubleshooting( :type parameters: ~azure.mgmt.network.v2018_02_01.models.TroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1153,8 +1153,8 @@ def begin_get_troubleshooting_result( :type parameters: ~azure.mgmt.network.v2018_02_01.models.QueryTroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1283,8 +1283,8 @@ def begin_set_flow_log_configuration( :type parameters: ~azure.mgmt.network.v2018_02_01.models.FlowLogInformation :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1413,8 +1413,8 @@ def begin_get_flow_log_status( :type parameters: ~azure.mgmt.network.v2018_02_01.models.FlowLogStatusParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1544,8 +1544,8 @@ def begin_check_connectivity( :type parameters: ~azure.mgmt.network.v2018_02_01.models.ConnectivityParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectivityInformation or the result of cls(response) @@ -1675,8 +1675,8 @@ def begin_get_azure_reachability_report( :type parameters: ~azure.mgmt.network.v2018_02_01.models.AzureReachabilityReportParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AzureReachabilityReport or the result of cls(response) @@ -1805,8 +1805,8 @@ def begin_list_available_providers( :type parameters: ~azure.mgmt.network.v2018_02_01.models.AvailableProvidersListParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AvailableProvidersList or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_packet_captures_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_packet_captures_operations.py index f1e9a9afea97..38936be7c65d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_packet_captures_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_packet_captures_operations.py @@ -124,8 +124,8 @@ def begin_create( :type parameters: ~azure.mgmt.network.v2018_02_01.models.PacketCapture :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PacketCaptureResult or the result of cls(response) @@ -306,8 +306,8 @@ def begin_delete( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -421,8 +421,8 @@ def begin_stop( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -545,8 +545,8 @@ def begin_get_status( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PacketCaptureQueryStatusResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_public_ip_addresses_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_public_ip_addresses_operations.py index b644b5b45a49..06628cab9a03 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_public_ip_addresses_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_public_ip_addresses_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type public_ip_address_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_02_01.models.PublicIPAddress :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PublicIPAddress or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_02_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PublicIPAddress or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_route_filter_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_route_filter_rules_operations.py index 8c2de7cd996a..223733395fd4 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_route_filter_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_route_filter_rules_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2018_02_01.models.RouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilterRule or the result of cls(response) @@ -441,8 +441,8 @@ def begin_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2018_02_01.models.PatchRouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilterRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_route_filters_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_route_filters_operations.py index 0231f0b3c0bc..da5a342604a4 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_route_filters_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_route_filters_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type route_filter_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -296,8 +296,8 @@ def begin_create_or_update( :type route_filter_parameters: ~azure.mgmt.network.v2018_02_01.models.RouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilter or the result of cls(response) @@ -422,8 +422,8 @@ def begin_update( :type route_filter_parameters: ~azure.mgmt.network.v2018_02_01.models.PatchRouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilter or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_route_tables_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_route_tables_operations.py index afff7e484052..f1bdcd09f59a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_route_tables_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_route_tables_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_02_01.models.RouteTable :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteTable or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_02_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteTable or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_routes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_routes_operations.py index 41b03e9dcab6..4ca79eb5fc6f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_routes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_routes_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type route_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -306,8 +306,8 @@ def begin_create_or_update( :type route_parameters: ~azure.mgmt.network.v2018_02_01.models.Route :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Route or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_security_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_security_rules_operations.py index 7701777091db..be2a79d10e34 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_security_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_security_rules_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type security_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type security_rule_parameters: ~azure.mgmt.network.v2018_02_01.models.SecurityRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either SecurityRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_subnets_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_subnets_operations.py index e015b3b6aa86..b3f24e61f7ce 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_subnets_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_subnets_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type subnet_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -311,8 +311,8 @@ def begin_create_or_update( :type subnet_parameters: ~azure.mgmt.network.v2018_02_01.models.Subnet :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Subnet or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_virtual_network_gateway_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_virtual_network_gateway_connections_operations.py index c04d683a4125..3df5b6f864ca 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_virtual_network_gateway_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_virtual_network_gateway_connections_operations.py @@ -125,8 +125,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_02_01.models.VirtualNetworkGatewayConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -298,8 +298,8 @@ def begin_delete( :type virtual_network_gateway_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_02_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGatewayConnectionListEntity or the result of cls(response) @@ -554,8 +554,8 @@ def begin_set_shared_key( :type parameters: ~azure.mgmt.network.v2018_02_01.models.ConnectionSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionSharedKey or the result of cls(response) @@ -819,8 +819,8 @@ def begin_reset_shared_key( :type parameters: ~azure.mgmt.network.v2018_02_01.models.ConnectionResetSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionResetSharedKey or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_virtual_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_virtual_network_gateways_operations.py index 688e188d1605..b091ade91767 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_virtual_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_virtual_network_gateways_operations.py @@ -123,8 +123,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_02_01.models.VirtualNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -294,8 +294,8 @@ def begin_delete( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_02_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -688,8 +688,8 @@ def begin_reset( :type gateway_vip: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -818,8 +818,8 @@ def begin_generatevpnclientpackage( :type parameters: ~azure.mgmt.network.v2018_02_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -948,8 +948,8 @@ def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2018_02_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1068,8 +1068,8 @@ def begin_get_vpn_profile_package_url( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1192,8 +1192,8 @@ def begin_get_bgp_peer_status( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either BgpPeerStatusListResult or the result of cls(response) @@ -1371,8 +1371,8 @@ def begin_get_learned_routes( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1495,8 +1495,8 @@ def begin_get_advertised_routes( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1625,8 +1625,8 @@ def begin_set_vpnclient_ipsec_parameters( :type vpnclient_ipsec_params: ~azure.mgmt.network.v2018_02_01.models.VpnClientIPsecParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnClientIPsecParameters or the result of cls(response) @@ -1744,8 +1744,8 @@ def begin_get_vpnclient_ipsec_parameters( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnClientIPsecParameters or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_virtual_network_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_virtual_network_peerings_operations.py index c8644773d8f1..56827e198f8f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_virtual_network_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_virtual_network_peerings_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type virtual_network_peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type virtual_network_peering_parameters: ~azure.mgmt.network.v2018_02_01.models.VirtualNetworkPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_virtual_networks_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_virtual_networks_operations.py index 342d2eb3cbcd..3f80f5f10f24 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_virtual_networks_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_02_01/operations/_virtual_networks_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type virtual_network_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_02_01.models.VirtualNetwork :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetwork or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_02_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetwork or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/_metadata.json b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/_metadata.json index f1673f111dcd..ed7df15cc09d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/_metadata.json +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/_metadata.json @@ -9,7 +9,9 @@ "custom_base_url": null, "azure_arm": true, "has_lro_operations": true, - "client_side_validation": true + "client_side_validation": false, + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"NetworkManagementClientConfiguration\"], \"._operations_mixin\": [\"NetworkManagementClientOperationsMixin\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"NetworkManagementClientConfiguration\"], \"._operations_mixin\": [\"NetworkManagementClientOperationsMixin\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}" }, "global_parameters": { "sync": { @@ -28,13 +30,13 @@ }, "async": { "credential": { - "signature": "credential, # type: \"AsyncTokenCredential\"", + "signature": "credential: \"AsyncTokenCredential\",", "description": "Credential needed for the client to connect to Azure.", "docstring_type": "~azure.core.credentials_async.AsyncTokenCredential", "required": true }, "subscription_id": { - "signature": "subscription_id, # type: str", + "signature": "subscription_id: str,", "description": "The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.", "docstring_type": "str", "required": true @@ -42,14 +44,58 @@ }, "constant": { }, - "call": "credential, subscription_id" + "call": "credential, subscription_id", + "service_client_specific": { + "sync": { + "api_version": { + "signature": "api_version=None, # type: Optional[str]", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url=None, # type: Optional[str]", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile=KnownProfiles.default, # type: KnownProfiles", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + }, + "async": { + "api_version": { + "signature": "api_version: Optional[str] = None,", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url: Optional[str] = None,", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile: KnownProfiles = KnownProfiles.default,", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + } + } }, "config": { "credential": true, "credential_scopes": ["https://management.azure.com/.default"], "credential_default_policy_type": "BearerTokenCredentialPolicy", "credential_default_policy_type_has_async_version": true, - "credential_key_header_name": null + "credential_key_header_name": null, + "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMHttpLoggingPolicy\"]}, \"local\": {\"._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}}", + "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMHttpLoggingPolicy\"]}, \"local\": {\".._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}}" }, "operation_groups": { "azure_firewalls": "AzureFirewallsOperations", @@ -103,19 +149,21 @@ "vpn_connections": "VpnConnectionsOperations" }, "operation_mixins": { - "check_dns_name_availability" : { - "sync": { - "signature": "def check_dns_name_availability(\n self,\n location, # type: str\n domain_name_label, # type: str\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2018_04_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def check_dns_name_availability(\n self,\n location: str,\n domain_name_label: str,\n **kwargs\n) -\u003e \"_models.DnsNameAvailabilityResult\":\n", - "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2018_04_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "location, domain_name_label" + "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\"]}}}", + "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\"]}}}", + "operations": { + "check_dns_name_availability" : { + "sync": { + "signature": "def check_dns_name_availability(\n self,\n location, # type: str\n domain_name_label, # type: str\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2018_04_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def check_dns_name_availability(\n self,\n location: str,\n domain_name_label: str,\n **kwargs\n) -\u003e \"_models.DnsNameAvailabilityResult\":\n", + "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2018_04_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "location, domain_name_label" + } } - }, - "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\"]}}}", - "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\"]}}}" + } } \ No newline at end of file diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/_network_management_client.py index ef634fa73cad..1acdd3dac49b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/_network_management_client.py @@ -16,6 +16,7 @@ from typing import Any, Optional from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse from ._configuration import NetworkManagementClientConfiguration from .operations import AzureFirewallsOperations @@ -195,6 +196,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.azure_firewalls = AzureFirewallsOperations( @@ -296,6 +298,24 @@ def __init__( self.vpn_connections = VpnConnectionsOperations( self._client, self._config, self._serialize, self._deserialize) + def _send_request(self, http_request, **kwargs): + # type: (HttpRequest, Any) -> HttpResponse + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.HttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + def close(self): # type: () -> None self._client.close() diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/_network_management_client.py index 9c75b1cc30a5..f9102f608c0a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/_network_management_client.py @@ -8,6 +8,7 @@ from typing import Any, Optional, TYPE_CHECKING +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core import AsyncARMPipelineClient from msrest import Deserializer, Serializer @@ -192,6 +193,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.azure_firewalls = AzureFirewallsOperations( @@ -293,6 +295,23 @@ def __init__( self.vpn_connections = VpnConnectionsOperations( self._client, self._config, self._serialize, self._deserialize) + async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + async def close(self) -> None: await self._client.close() diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_application_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_application_gateways_operations.py index 401693f287e6..012b721094f7 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_application_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_application_gateways_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_04_01.models.ApplicationGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGateway or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGateway or the result of cls(response) @@ -651,8 +651,8 @@ async def begin_start( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -757,8 +757,8 @@ async def begin_stop( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -876,8 +876,8 @@ async def begin_backend_health( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGatewayBackendHealth or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_application_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_application_security_groups_operations.py index ed8a351b5fcc..f981f29d278e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_application_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_application_security_groups_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type application_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -282,8 +282,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_04_01.models.ApplicationSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_azure_firewalls_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_azure_firewalls_operations.py index 51408bfce370..b40115295f7e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_azure_firewalls_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_azure_firewalls_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type azure_firewall_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_04_01.models.AzureFirewall :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AzureFirewall or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_connection_monitors_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_connection_monitors_operations.py index 9253bb4a03c0..26c798f5c55c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_connection_monitors_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_connection_monitors_operations.py @@ -122,8 +122,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_04_01.models.ConnectionMonitor :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionMonitorResult or the result of cls(response) @@ -301,8 +301,8 @@ async def begin_delete( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -414,8 +414,8 @@ async def begin_stop( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -527,8 +527,8 @@ async def begin_start( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -649,8 +649,8 @@ async def begin_query( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionMonitorQueryResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_ddos_protection_plans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_ddos_protection_plans_operations.py index 58b007a67b2c..2046e36a0cca 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_ddos_protection_plans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_ddos_protection_plans_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type ddos_protection_plan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_04_01.models.DdosProtectionPlan :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either DdosProtectionPlan or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_express_route_circuit_authorizations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_express_route_circuit_authorizations_operations.py index 75f7ac0e8e22..35eb3b4713ad 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_express_route_circuit_authorizations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_express_route_circuit_authorizations_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type authorization_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type authorization_parameters: ~azure.mgmt.network.v2018_04_01.models.ExpressRouteCircuitAuthorization :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitAuthorization or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_express_route_circuit_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_express_route_circuit_connections_operations.py index 65bb28c9b8be..2f9261b8083f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_express_route_circuit_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_express_route_circuit_connections_operations.py @@ -109,8 +109,8 @@ async def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -314,8 +314,8 @@ async def begin_create_or_update( :type express_route_circuit_connection_parameters: ~azure.mgmt.network.v2018_04_01.models.ExpressRouteCircuitConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitConnection or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_express_route_circuit_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_express_route_circuit_peerings_operations.py index fbfe7f8b80e5..376b4e69629c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_express_route_circuit_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_express_route_circuit_peerings_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2018_04_01.models.ExpressRouteCircuitPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_express_route_circuits_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_express_route_circuits_operations.py index ac0efb14a9f8..a04515102732 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_express_route_circuits_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_express_route_circuits_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type circuit_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_04_01.models.ExpressRouteCircuit :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -533,8 +533,8 @@ async def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -664,8 +664,8 @@ async def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) @@ -795,8 +795,8 @@ async def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableSummaryListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_express_route_cross_connection_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_express_route_cross_connection_peerings_operations.py index 0bceaa0a3d5d..8e15e73daebd 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_express_route_cross_connection_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_express_route_cross_connection_peerings_operations.py @@ -178,8 +178,8 @@ async def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -372,8 +372,8 @@ async def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2018_04_01.models.ExpressRouteCrossConnectionPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCrossConnectionPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_express_route_cross_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_express_route_cross_connections_operations.py index f378b87f433c..b811b9f83206 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_express_route_cross_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_express_route_cross_connections_operations.py @@ -308,8 +308,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_04_01.models.ExpressRouteCrossConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCrossConnection or the result of cls(response) @@ -433,8 +433,8 @@ async def begin_update_tags( :type cross_connection_parameters: ~azure.mgmt.network.v2018_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCrossConnection or the result of cls(response) @@ -561,8 +561,8 @@ async def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -692,8 +692,8 @@ async def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCrossConnectionsRoutesTableSummaryListResult or the result of cls(response) @@ -823,8 +823,8 @@ async def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_hub_virtual_network_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_hub_virtual_network_connections_operations.py index a5284a407cca..20580d7eba82 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_hub_virtual_network_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_hub_virtual_network_connections_operations.py @@ -93,7 +93,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('HubVirtualNetworkConnection', pipeline_response) @@ -168,7 +168,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_inbound_nat_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_inbound_nat_rules_operations.py index 44036db98bed..31c7d9bcc95b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_inbound_nat_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_inbound_nat_rules_operations.py @@ -178,8 +178,8 @@ async def begin_delete( :type inbound_nat_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -377,8 +377,8 @@ async def begin_create_or_update( :type inbound_nat_rule_parameters: ~azure.mgmt.network.v2018_04_01.models.InboundNatRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either InboundNatRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_load_balancers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_load_balancers_operations.py index 3c98e574ee54..b1809face2c7 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_load_balancers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_load_balancers_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type load_balancer_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_04_01.models.LoadBalancer :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LoadBalancer or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LoadBalancer or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_local_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_local_network_gateways_operations.py index e357b260b684..8836dc0ce8b9 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_local_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_local_network_gateways_operations.py @@ -117,8 +117,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_04_01.models.LocalNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LocalNetworkGateway or the result of cls(response) @@ -285,8 +285,8 @@ async def begin_delete( :type local_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LocalNetworkGateway or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_network_interfaces_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_network_interfaces_operations.py index c7a53f5e9a6a..afd22a7964ee 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_network_interfaces_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_network_interfaces_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_04_01.models.NetworkInterface :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkInterface or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkInterface or the result of cls(response) @@ -663,8 +663,8 @@ async def begin_get_effective_route_table( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either EffectiveRouteListResult or the result of cls(response) @@ -779,8 +779,8 @@ async def begin_list_effective_network_security_groups( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either EffectiveNetworkSecurityGroupListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_network_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_network_security_groups_operations.py index f00059977303..ca17870a415f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_network_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_network_security_groups_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type network_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -287,8 +287,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_04_01.models.NetworkSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkSecurityGroup or the result of cls(response) @@ -411,8 +411,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_network_watchers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_network_watchers_operations.py index 474280d70e6d..14ca79d51b6b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_network_watchers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_network_watchers_operations.py @@ -227,8 +227,8 @@ async def begin_delete( :type network_watcher_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -619,8 +619,8 @@ async def begin_verify_ip_flow( :type parameters: ~azure.mgmt.network.v2018_04_01.models.VerificationIPFlowParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VerificationIPFlowResult or the result of cls(response) @@ -747,8 +747,8 @@ async def begin_get_next_hop( :type parameters: ~azure.mgmt.network.v2018_04_01.models.NextHopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NextHopResult or the result of cls(response) @@ -875,8 +875,8 @@ async def begin_get_vm_security_rules( :type parameters: ~azure.mgmt.network.v2018_04_01.models.SecurityGroupViewParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either SecurityGroupViewResult or the result of cls(response) @@ -1003,8 +1003,8 @@ async def begin_get_troubleshooting( :type parameters: ~azure.mgmt.network.v2018_04_01.models.TroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1131,8 +1131,8 @@ async def begin_get_troubleshooting_result( :type parameters: ~azure.mgmt.network.v2018_04_01.models.QueryTroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1259,8 +1259,8 @@ async def begin_set_flow_log_configuration( :type parameters: ~azure.mgmt.network.v2018_04_01.models.FlowLogInformation :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1388,8 +1388,8 @@ async def begin_get_flow_log_status( :type parameters: ~azure.mgmt.network.v2018_04_01.models.FlowLogStatusParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1517,8 +1517,8 @@ async def begin_check_connectivity( :type parameters: ~azure.mgmt.network.v2018_04_01.models.ConnectivityParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectivityInformation or the result of cls(response) @@ -1646,8 +1646,8 @@ async def begin_get_azure_reachability_report( :type parameters: ~azure.mgmt.network.v2018_04_01.models.AzureReachabilityReportParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AzureReachabilityReport or the result of cls(response) @@ -1774,8 +1774,8 @@ async def begin_list_available_providers( :type parameters: ~azure.mgmt.network.v2018_04_01.models.AvailableProvidersListParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AvailableProvidersList or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_packet_captures_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_packet_captures_operations.py index e0929175c458..21fcee71c69c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_packet_captures_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_packet_captures_operations.py @@ -118,8 +118,8 @@ async def begin_create( :type parameters: ~azure.mgmt.network.v2018_04_01.models.PacketCapture :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PacketCaptureResult or the result of cls(response) @@ -297,8 +297,8 @@ async def begin_delete( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_stop( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -532,8 +532,8 @@ async def begin_get_status( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PacketCaptureQueryStatusResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_public_ip_addresses_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_public_ip_addresses_operations.py index 417b0703f7f9..06e8a64d1111 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_public_ip_addresses_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_public_ip_addresses_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type public_ip_address_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_04_01.models.PublicIPAddress :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PublicIPAddress or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PublicIPAddress or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_route_filter_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_route_filter_rules_operations.py index 4a1a888d255a..9a52a2e5eb30 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_route_filter_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_route_filter_rules_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2018_04_01.models.RouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilterRule or the result of cls(response) @@ -430,8 +430,8 @@ async def begin_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2018_04_01.models.PatchRouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilterRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_route_filters_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_route_filters_operations.py index c198fed3be8b..a536a9d888be 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_route_filters_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_route_filters_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type route_filter_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -287,8 +287,8 @@ async def begin_create_or_update( :type route_filter_parameters: ~azure.mgmt.network.v2018_04_01.models.RouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilter or the result of cls(response) @@ -411,8 +411,8 @@ async def begin_update( :type route_filter_parameters: ~azure.mgmt.network.v2018_04_01.models.PatchRouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilter or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_route_tables_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_route_tables_operations.py index 2e992cc32eaf..915ccfd7dbd8 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_route_tables_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_route_tables_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_04_01.models.RouteTable :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteTable or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteTable or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_routes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_routes_operations.py index 3e81d4401764..caa78bd2f545 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_routes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_routes_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type route_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ async def begin_create_or_update( :type route_parameters: ~azure.mgmt.network.v2018_04_01.models.Route :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Route or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_security_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_security_rules_operations.py index 002ea760e8b1..cbf49fc5c6ab 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_security_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_security_rules_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type security_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type security_rule_parameters: ~azure.mgmt.network.v2018_04_01.models.SecurityRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either SecurityRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_subnets_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_subnets_operations.py index 9fd3c54c61bd..79d238167e58 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_subnets_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_subnets_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type subnet_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -302,8 +302,8 @@ async def begin_create_or_update( :type subnet_parameters: ~azure.mgmt.network.v2018_04_01.models.Subnet :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Subnet or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_virtual_hubs_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_virtual_hubs_operations.py index a55588069a5f..036d325e5435 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_virtual_hubs_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_virtual_hubs_operations.py @@ -91,7 +91,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualHub', pipeline_response) @@ -145,7 +145,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -177,8 +177,8 @@ async def begin_create_or_update( :type virtual_hub_parameters: ~azure.mgmt.network.v2018_04_01.models.VirtualHub :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualHub or the result of cls(response) @@ -274,7 +274,7 @@ async def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -306,8 +306,8 @@ async def begin_update_tags( :type virtual_hub_parameters: ~azure.mgmt.network.v2018_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualHub or the result of cls(response) @@ -397,7 +397,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -419,8 +419,8 @@ async def begin_delete( :type virtual_hub_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -529,7 +529,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -596,7 +596,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_virtual_network_gateway_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_virtual_network_gateway_connections_operations.py index 90c1f048c38c..1d156e205651 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_virtual_network_gateway_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_virtual_network_gateway_connections_operations.py @@ -119,8 +119,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_04_01.models.VirtualNetworkGatewayConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -289,8 +289,8 @@ async def begin_delete( :type virtual_network_gateway_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -541,8 +541,8 @@ async def begin_set_shared_key( :type parameters: ~azure.mgmt.network.v2018_04_01.models.ConnectionSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionSharedKey or the result of cls(response) @@ -802,8 +802,8 @@ async def begin_reset_shared_key( :type parameters: ~azure.mgmt.network.v2018_04_01.models.ConnectionResetSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionResetSharedKey or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_virtual_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_virtual_network_gateways_operations.py index 999bb1c4b8de..2219a8089ca7 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_virtual_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_virtual_network_gateways_operations.py @@ -117,8 +117,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_04_01.models.VirtualNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -285,8 +285,8 @@ async def begin_delete( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -673,8 +673,8 @@ async def begin_reset( :type gateway_vip: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -801,8 +801,8 @@ async def begin_generatevpnclientpackage( :type parameters: ~azure.mgmt.network.v2018_04_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -929,8 +929,8 @@ async def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2018_04_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1047,8 +1047,8 @@ async def begin_get_vpn_profile_package_url( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1169,8 +1169,8 @@ async def begin_get_bgp_peer_status( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either BgpPeerStatusListResult or the result of cls(response) @@ -1345,8 +1345,8 @@ async def begin_get_learned_routes( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1467,8 +1467,8 @@ async def begin_get_advertised_routes( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1595,8 +1595,8 @@ async def begin_set_vpnclient_ipsec_parameters( :type vpnclient_ipsec_params: ~azure.mgmt.network.v2018_04_01.models.VpnClientIPsecParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnClientIPsecParameters or the result of cls(response) @@ -1712,8 +1712,8 @@ async def begin_get_vpnclient_ipsec_parameters( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnClientIPsecParameters or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_virtual_network_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_virtual_network_peerings_operations.py index ff34a7b89eca..f96aab8f4351 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_virtual_network_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_virtual_network_peerings_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type virtual_network_peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type virtual_network_peering_parameters: ~azure.mgmt.network.v2018_04_01.models.VirtualNetworkPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_virtual_networks_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_virtual_networks_operations.py index 0d70849aeda9..2f52c3e8a7fd 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_virtual_networks_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_virtual_networks_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type virtual_network_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_04_01.models.VirtualNetwork :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetwork or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetwork or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_virtual_wans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_virtual_wans_operations.py index 407aa3a0b2a9..c041c71f6d2c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_virtual_wans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_virtual_wans_operations.py @@ -91,7 +91,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualWAN', pipeline_response) @@ -145,7 +145,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -177,8 +177,8 @@ async def begin_create_or_update( :type wan_parameters: ~azure.mgmt.network.v2018_04_01.models.VirtualWAN :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualWAN or the result of cls(response) @@ -274,7 +274,7 @@ async def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -306,8 +306,8 @@ async def begin_update_tags( :type wan_parameters: ~azure.mgmt.network.v2018_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualWAN or the result of cls(response) @@ -397,7 +397,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -419,8 +419,8 @@ async def begin_delete( :type virtual_wan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -529,7 +529,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -596,7 +596,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_vpn_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_vpn_connections_operations.py index 3089af89dae7..5838ef2cee99 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_vpn_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_vpn_connections_operations.py @@ -95,7 +95,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VpnConnection', pipeline_response) @@ -151,7 +151,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -187,8 +187,8 @@ async def begin_create_or_update( :type vpn_connection_parameters: ~azure.mgmt.network.v2018_04_01.models.VpnConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnConnection or the result of cls(response) @@ -282,7 +282,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -307,8 +307,8 @@ async def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -423,7 +423,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_vpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_vpn_gateways_operations.py index 95a4f59e4a2d..9943c588b29e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_vpn_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_vpn_gateways_operations.py @@ -91,7 +91,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VpnGateway', pipeline_response) @@ -145,7 +145,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -178,8 +178,8 @@ async def begin_create_or_update( :type vpn_gateway_parameters: ~azure.mgmt.network.v2018_04_01.models.VpnGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnGateway or the result of cls(response) @@ -275,7 +275,7 @@ async def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -307,8 +307,8 @@ async def begin_update_tags( :type vpn_gateway_parameters: ~azure.mgmt.network.v2018_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnGateway or the result of cls(response) @@ -398,7 +398,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -420,8 +420,8 @@ async def begin_delete( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -530,7 +530,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -597,7 +597,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_vpn_sites_configuration_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_vpn_sites_configuration_operations.py index a15295f43dd9..b939a923e7e7 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_vpn_sites_configuration_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_vpn_sites_configuration_operations.py @@ -85,7 +85,7 @@ async def _download_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -111,8 +111,8 @@ async def begin_download( :type request: ~azure.mgmt.network.v2018_04_01.models.GetVpnSitesConfigurationRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_vpn_sites_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_vpn_sites_operations.py index b4d6cff4c22a..3a66888f0e82 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_vpn_sites_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/aio/operations/_vpn_sites_operations.py @@ -91,7 +91,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VpnSite', pipeline_response) @@ -145,7 +145,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -177,8 +177,8 @@ async def begin_create_or_update( :type vpn_site_parameters: ~azure.mgmt.network.v2018_04_01.models.VpnSite :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnSite or the result of cls(response) @@ -274,7 +274,7 @@ async def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -306,8 +306,8 @@ async def begin_update_tags( :type vpn_site_parameters: ~azure.mgmt.network.v2018_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnSite or the result of cls(response) @@ -397,7 +397,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -419,8 +419,8 @@ async def begin_delete( :type vpn_site_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -529,7 +529,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -596,7 +596,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/models/_models.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/models/_models.py index dee76c121f69..0da9194a561c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/models/_models.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/models/_models.py @@ -7452,8 +7452,8 @@ class PacketCaptureStorageLocation(msrest.serialization.Model): :param storage_id: The ID of the storage account to save the packet capture session. Required if no local file path is provided. :type storage_id: str - :param storage_path: The URI of the storage path to save the packet capture. Must be a well- - formed URI describing the location to save the packet capture. + :param storage_path: The URI of the storage path to save the packet capture. Must be a + well-formed URI describing the location to save the packet capture. :type storage_path: str :param file_path: A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no @@ -10007,8 +10007,8 @@ class VirtualNetworkPeering(SubResource): :type use_remote_gateways: bool :param remote_virtual_network: The reference of the remote virtual network. The remote virtual network can be in the same or different region (preview). See here to register for the preview - and learn more (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create- - peering). + and learn more + (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering). :type remote_virtual_network: ~azure.mgmt.network.v2018_04_01.models.SubResource :param remote_address_space: The reference of the remote virtual network address space. :type remote_address_space: ~azure.mgmt.network.v2018_04_01.models.AddressSpace diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/models/_models_py3.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/models/_models_py3.py index a51b25c5d947..a0cee49f26c1 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/models/_models_py3.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/models/_models_py3.py @@ -8454,8 +8454,8 @@ class PacketCaptureStorageLocation(msrest.serialization.Model): :param storage_id: The ID of the storage account to save the packet capture session. Required if no local file path is provided. :type storage_id: str - :param storage_path: The URI of the storage path to save the packet capture. Must be a well- - formed URI describing the location to save the packet capture. + :param storage_path: The URI of the storage path to save the packet capture. Must be a + well-formed URI describing the location to save the packet capture. :type storage_path: str :param file_path: A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no @@ -11329,8 +11329,8 @@ class VirtualNetworkPeering(SubResource): :type use_remote_gateways: bool :param remote_virtual_network: The reference of the remote virtual network. The remote virtual network can be in the same or different region (preview). See here to register for the preview - and learn more (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create- - peering). + and learn more + (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering). :type remote_virtual_network: ~azure.mgmt.network.v2018_04_01.models.SubResource :param remote_address_space: The reference of the remote virtual network address space. :type remote_address_space: ~azure.mgmt.network.v2018_04_01.models.AddressSpace diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_application_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_application_gateways_operations.py index ecda190f6a63..0cb12b54cf6f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_application_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_application_gateways_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_04_01.models.ApplicationGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGateway or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGateway or the result of cls(response) @@ -666,8 +666,8 @@ def begin_start( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -774,8 +774,8 @@ def begin_stop( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -895,8 +895,8 @@ def begin_backend_health( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGatewayBackendHealth or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_application_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_application_security_groups_operations.py index 155765fdc1a0..f348d03a60f7 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_application_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_application_security_groups_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type application_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -291,8 +291,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_04_01.models.ApplicationSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_azure_firewalls_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_azure_firewalls_operations.py index 1f467572d265..4a05fbf1070d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_azure_firewalls_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_azure_firewalls_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type azure_firewall_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_04_01.models.AzureFirewall :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AzureFirewall or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_connection_monitors_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_connection_monitors_operations.py index d6f369f02dac..57de36e48eb4 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_connection_monitors_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_connection_monitors_operations.py @@ -128,8 +128,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_04_01.models.ConnectionMonitor :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionMonitorResult or the result of cls(response) @@ -310,8 +310,8 @@ def begin_delete( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -425,8 +425,8 @@ def begin_stop( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -540,8 +540,8 @@ def begin_start( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -664,8 +664,8 @@ def begin_query( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionMonitorQueryResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_ddos_protection_plans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_ddos_protection_plans_operations.py index 4689f4f341a4..6b8337e4a7e5 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_ddos_protection_plans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_ddos_protection_plans_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type ddos_protection_plan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_04_01.models.DdosProtectionPlan :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either DdosProtectionPlan or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_express_route_circuit_authorizations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_express_route_circuit_authorizations_operations.py index d8c22e52eab8..134f0f9fb3f2 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_express_route_circuit_authorizations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_express_route_circuit_authorizations_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type authorization_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type authorization_parameters: ~azure.mgmt.network.v2018_04_01.models.ExpressRouteCircuitAuthorization :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitAuthorization or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_express_route_circuit_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_express_route_circuit_connections_operations.py index c1251e74eacf..12143d371f28 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_express_route_circuit_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_express_route_circuit_connections_operations.py @@ -115,8 +115,8 @@ def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -323,8 +323,8 @@ def begin_create_or_update( :type express_route_circuit_connection_parameters: ~azure.mgmt.network.v2018_04_01.models.ExpressRouteCircuitConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitConnection or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_express_route_circuit_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_express_route_circuit_peerings_operations.py index 043c0f27b790..5484c74d995e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_express_route_circuit_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_express_route_circuit_peerings_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2018_04_01.models.ExpressRouteCircuitPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_express_route_circuits_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_express_route_circuits_operations.py index 19943a445034..353df4dc5464 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_express_route_circuits_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_express_route_circuits_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type circuit_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_04_01.models.ExpressRouteCircuit :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -546,8 +546,8 @@ def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -679,8 +679,8 @@ def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) @@ -812,8 +812,8 @@ def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableSummaryListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_express_route_cross_connection_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_express_route_cross_connection_peerings_operations.py index dc26e1d5d43d..5676a05bf1e0 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_express_route_cross_connection_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_express_route_cross_connection_peerings_operations.py @@ -185,8 +185,8 @@ def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -382,8 +382,8 @@ def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2018_04_01.models.ExpressRouteCrossConnectionPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCrossConnectionPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_express_route_cross_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_express_route_cross_connections_operations.py index 5efb7a3263e7..3a1f24bb6215 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_express_route_cross_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_express_route_cross_connections_operations.py @@ -317,8 +317,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_04_01.models.ExpressRouteCrossConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCrossConnection or the result of cls(response) @@ -444,8 +444,8 @@ def begin_update_tags( :type cross_connection_parameters: ~azure.mgmt.network.v2018_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCrossConnection or the result of cls(response) @@ -574,8 +574,8 @@ def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -707,8 +707,8 @@ def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCrossConnectionsRoutesTableSummaryListResult or the result of cls(response) @@ -840,8 +840,8 @@ def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_hub_virtual_network_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_hub_virtual_network_connections_operations.py index c41e1940ba29..8f7e8a5f641a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_hub_virtual_network_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_hub_virtual_network_connections_operations.py @@ -98,7 +98,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('HubVirtualNetworkConnection', pipeline_response) @@ -174,7 +174,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_inbound_nat_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_inbound_nat_rules_operations.py index cd0f0c35dbaf..56d2b919d4ec 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_inbound_nat_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_inbound_nat_rules_operations.py @@ -185,8 +185,8 @@ def begin_delete( :type inbound_nat_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -387,8 +387,8 @@ def begin_create_or_update( :type inbound_nat_rule_parameters: ~azure.mgmt.network.v2018_04_01.models.InboundNatRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either InboundNatRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_load_balancers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_load_balancers_operations.py index 7f40c5ca4b4c..ee2856c288f1 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_load_balancers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_load_balancers_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type load_balancer_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_04_01.models.LoadBalancer :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LoadBalancer or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LoadBalancer or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_local_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_local_network_gateways_operations.py index 5943dcddf2a6..51f8dc44c6a8 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_local_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_local_network_gateways_operations.py @@ -123,8 +123,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_04_01.models.LocalNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LocalNetworkGateway or the result of cls(response) @@ -294,8 +294,8 @@ def begin_delete( :type local_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LocalNetworkGateway or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_network_interfaces_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_network_interfaces_operations.py index 35ef898bad7b..67291e0fc1b4 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_network_interfaces_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_network_interfaces_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_04_01.models.NetworkInterface :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkInterface or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkInterface or the result of cls(response) @@ -678,8 +678,8 @@ def begin_get_effective_route_table( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either EffectiveRouteListResult or the result of cls(response) @@ -796,8 +796,8 @@ def begin_list_effective_network_security_groups( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either EffectiveNetworkSecurityGroupListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_network_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_network_security_groups_operations.py index 0be57af1158c..3e4404b5d68f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_network_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_network_security_groups_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type network_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -296,8 +296,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_04_01.models.NetworkSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkSecurityGroup or the result of cls(response) @@ -422,8 +422,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_network_watchers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_network_watchers_operations.py index 7c2261b0cfd8..2715c9ff2eda 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_network_watchers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_network_watchers_operations.py @@ -235,8 +235,8 @@ def begin_delete( :type network_watcher_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -633,8 +633,8 @@ def begin_verify_ip_flow( :type parameters: ~azure.mgmt.network.v2018_04_01.models.VerificationIPFlowParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VerificationIPFlowResult or the result of cls(response) @@ -763,8 +763,8 @@ def begin_get_next_hop( :type parameters: ~azure.mgmt.network.v2018_04_01.models.NextHopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NextHopResult or the result of cls(response) @@ -893,8 +893,8 @@ def begin_get_vm_security_rules( :type parameters: ~azure.mgmt.network.v2018_04_01.models.SecurityGroupViewParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either SecurityGroupViewResult or the result of cls(response) @@ -1023,8 +1023,8 @@ def begin_get_troubleshooting( :type parameters: ~azure.mgmt.network.v2018_04_01.models.TroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1153,8 +1153,8 @@ def begin_get_troubleshooting_result( :type parameters: ~azure.mgmt.network.v2018_04_01.models.QueryTroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1283,8 +1283,8 @@ def begin_set_flow_log_configuration( :type parameters: ~azure.mgmt.network.v2018_04_01.models.FlowLogInformation :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1414,8 +1414,8 @@ def begin_get_flow_log_status( :type parameters: ~azure.mgmt.network.v2018_04_01.models.FlowLogStatusParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1545,8 +1545,8 @@ def begin_check_connectivity( :type parameters: ~azure.mgmt.network.v2018_04_01.models.ConnectivityParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectivityInformation or the result of cls(response) @@ -1676,8 +1676,8 @@ def begin_get_azure_reachability_report( :type parameters: ~azure.mgmt.network.v2018_04_01.models.AzureReachabilityReportParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AzureReachabilityReport or the result of cls(response) @@ -1806,8 +1806,8 @@ def begin_list_available_providers( :type parameters: ~azure.mgmt.network.v2018_04_01.models.AvailableProvidersListParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AvailableProvidersList or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_packet_captures_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_packet_captures_operations.py index c8ce96954f27..8701941306fc 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_packet_captures_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_packet_captures_operations.py @@ -124,8 +124,8 @@ def begin_create( :type parameters: ~azure.mgmt.network.v2018_04_01.models.PacketCapture :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PacketCaptureResult or the result of cls(response) @@ -306,8 +306,8 @@ def begin_delete( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -421,8 +421,8 @@ def begin_stop( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -545,8 +545,8 @@ def begin_get_status( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PacketCaptureQueryStatusResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_public_ip_addresses_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_public_ip_addresses_operations.py index c591cff0cc87..3f20b1272ae3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_public_ip_addresses_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_public_ip_addresses_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type public_ip_address_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_04_01.models.PublicIPAddress :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PublicIPAddress or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PublicIPAddress or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_route_filter_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_route_filter_rules_operations.py index 1cdca929b8fe..9059eafd0e52 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_route_filter_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_route_filter_rules_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2018_04_01.models.RouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilterRule or the result of cls(response) @@ -441,8 +441,8 @@ def begin_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2018_04_01.models.PatchRouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilterRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_route_filters_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_route_filters_operations.py index 7105f835685b..2c9f8a8d61f9 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_route_filters_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_route_filters_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type route_filter_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -296,8 +296,8 @@ def begin_create_or_update( :type route_filter_parameters: ~azure.mgmt.network.v2018_04_01.models.RouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilter or the result of cls(response) @@ -422,8 +422,8 @@ def begin_update( :type route_filter_parameters: ~azure.mgmt.network.v2018_04_01.models.PatchRouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilter or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_route_tables_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_route_tables_operations.py index 228bdd265be5..fb49936054fc 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_route_tables_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_route_tables_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_04_01.models.RouteTable :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteTable or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteTable or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_routes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_routes_operations.py index 264417edbd97..e07ba4b31139 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_routes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_routes_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type route_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -306,8 +306,8 @@ def begin_create_or_update( :type route_parameters: ~azure.mgmt.network.v2018_04_01.models.Route :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Route or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_security_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_security_rules_operations.py index 763af01f406c..3bf568b1de04 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_security_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_security_rules_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type security_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type security_rule_parameters: ~azure.mgmt.network.v2018_04_01.models.SecurityRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either SecurityRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_subnets_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_subnets_operations.py index 3096fdec00d2..f001ad0a466c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_subnets_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_subnets_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type subnet_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -311,8 +311,8 @@ def begin_create_or_update( :type subnet_parameters: ~azure.mgmt.network.v2018_04_01.models.Subnet :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Subnet or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_virtual_hubs_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_virtual_hubs_operations.py index 11ad2d82868c..f0b0cf5e7212 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_virtual_hubs_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_virtual_hubs_operations.py @@ -96,7 +96,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualHub', pipeline_response) @@ -151,7 +151,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -184,8 +184,8 @@ def begin_create_or_update( :type virtual_hub_parameters: ~azure.mgmt.network.v2018_04_01.models.VirtualHub :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualHub or the result of cls(response) @@ -282,7 +282,7 @@ def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -315,8 +315,8 @@ def begin_update_tags( :type virtual_hub_parameters: ~azure.mgmt.network.v2018_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualHub or the result of cls(response) @@ -407,7 +407,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -430,8 +430,8 @@ def begin_delete( :type virtual_hub_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -541,7 +541,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -609,7 +609,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_virtual_network_gateway_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_virtual_network_gateway_connections_operations.py index ed8045ef92a5..ac3bfcd02be5 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_virtual_network_gateway_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_virtual_network_gateway_connections_operations.py @@ -125,8 +125,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_04_01.models.VirtualNetworkGatewayConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -298,8 +298,8 @@ def begin_delete( :type virtual_network_gateway_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -554,8 +554,8 @@ def begin_set_shared_key( :type parameters: ~azure.mgmt.network.v2018_04_01.models.ConnectionSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionSharedKey or the result of cls(response) @@ -819,8 +819,8 @@ def begin_reset_shared_key( :type parameters: ~azure.mgmt.network.v2018_04_01.models.ConnectionResetSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionResetSharedKey or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_virtual_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_virtual_network_gateways_operations.py index 809ac26bfdbe..368b410a89d4 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_virtual_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_virtual_network_gateways_operations.py @@ -123,8 +123,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_04_01.models.VirtualNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -294,8 +294,8 @@ def begin_delete( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -688,8 +688,8 @@ def begin_reset( :type gateway_vip: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -818,8 +818,8 @@ def begin_generatevpnclientpackage( :type parameters: ~azure.mgmt.network.v2018_04_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -948,8 +948,8 @@ def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2018_04_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1068,8 +1068,8 @@ def begin_get_vpn_profile_package_url( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1192,8 +1192,8 @@ def begin_get_bgp_peer_status( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either BgpPeerStatusListResult or the result of cls(response) @@ -1371,8 +1371,8 @@ def begin_get_learned_routes( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1495,8 +1495,8 @@ def begin_get_advertised_routes( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1625,8 +1625,8 @@ def begin_set_vpnclient_ipsec_parameters( :type vpnclient_ipsec_params: ~azure.mgmt.network.v2018_04_01.models.VpnClientIPsecParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnClientIPsecParameters or the result of cls(response) @@ -1744,8 +1744,8 @@ def begin_get_vpnclient_ipsec_parameters( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnClientIPsecParameters or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_virtual_network_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_virtual_network_peerings_operations.py index 37149ee5c0f1..31efed3e0a7b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_virtual_network_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_virtual_network_peerings_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type virtual_network_peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type virtual_network_peering_parameters: ~azure.mgmt.network.v2018_04_01.models.VirtualNetworkPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_virtual_networks_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_virtual_networks_operations.py index 1c73c7292541..b4b94168510c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_virtual_networks_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_virtual_networks_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type virtual_network_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_04_01.models.VirtualNetwork :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetwork or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetwork or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_virtual_wans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_virtual_wans_operations.py index 592c5a74e248..e556caa800cc 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_virtual_wans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_virtual_wans_operations.py @@ -96,7 +96,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualWAN', pipeline_response) @@ -151,7 +151,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -184,8 +184,8 @@ def begin_create_or_update( :type wan_parameters: ~azure.mgmt.network.v2018_04_01.models.VirtualWAN :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualWAN or the result of cls(response) @@ -282,7 +282,7 @@ def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -315,8 +315,8 @@ def begin_update_tags( :type wan_parameters: ~azure.mgmt.network.v2018_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualWAN or the result of cls(response) @@ -407,7 +407,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -430,8 +430,8 @@ def begin_delete( :type virtual_wan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -541,7 +541,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -609,7 +609,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_vpn_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_vpn_connections_operations.py index 949ce1228584..41e31de3e1a4 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_vpn_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_vpn_connections_operations.py @@ -100,7 +100,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VpnConnection', pipeline_response) @@ -157,7 +157,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -194,8 +194,8 @@ def begin_create_or_update( :type vpn_connection_parameters: ~azure.mgmt.network.v2018_04_01.models.VpnConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnConnection or the result of cls(response) @@ -290,7 +290,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -316,8 +316,8 @@ def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -433,7 +433,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_vpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_vpn_gateways_operations.py index 400be11c7d0e..eb2a2f2d2950 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_vpn_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_vpn_gateways_operations.py @@ -96,7 +96,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VpnGateway', pipeline_response) @@ -151,7 +151,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -185,8 +185,8 @@ def begin_create_or_update( :type vpn_gateway_parameters: ~azure.mgmt.network.v2018_04_01.models.VpnGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnGateway or the result of cls(response) @@ -283,7 +283,7 @@ def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -316,8 +316,8 @@ def begin_update_tags( :type vpn_gateway_parameters: ~azure.mgmt.network.v2018_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnGateway or the result of cls(response) @@ -408,7 +408,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -431,8 +431,8 @@ def begin_delete( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -542,7 +542,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -610,7 +610,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_vpn_sites_configuration_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_vpn_sites_configuration_operations.py index a793eff00e00..3181a9cf0537 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_vpn_sites_configuration_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_vpn_sites_configuration_operations.py @@ -90,7 +90,7 @@ def _download_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -117,8 +117,8 @@ def begin_download( :type request: ~azure.mgmt.network.v2018_04_01.models.GetVpnSitesConfigurationRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_vpn_sites_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_vpn_sites_operations.py index 66dcb07d2ce3..71c8b5e900f9 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_vpn_sites_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_04_01/operations/_vpn_sites_operations.py @@ -96,7 +96,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VpnSite', pipeline_response) @@ -151,7 +151,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -184,8 +184,8 @@ def begin_create_or_update( :type vpn_site_parameters: ~azure.mgmt.network.v2018_04_01.models.VpnSite :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnSite or the result of cls(response) @@ -282,7 +282,7 @@ def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -315,8 +315,8 @@ def begin_update_tags( :type vpn_site_parameters: ~azure.mgmt.network.v2018_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnSite or the result of cls(response) @@ -407,7 +407,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -430,8 +430,8 @@ def begin_delete( :type vpn_site_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -541,7 +541,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -609,7 +609,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/_metadata.json b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/_metadata.json index 285426264299..4e2d34f4c3aa 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/_metadata.json +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/_metadata.json @@ -9,7 +9,9 @@ "custom_base_url": null, "azure_arm": true, "has_lro_operations": true, - "client_side_validation": true + "client_side_validation": false, + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"NetworkManagementClientConfiguration\"], \"._operations_mixin\": [\"NetworkManagementClientOperationsMixin\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"NetworkManagementClientConfiguration\"], \"._operations_mixin\": [\"NetworkManagementClientOperationsMixin\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}" }, "global_parameters": { "sync": { @@ -28,13 +30,13 @@ }, "async": { "credential": { - "signature": "credential, # type: \"AsyncTokenCredential\"", + "signature": "credential: \"AsyncTokenCredential\",", "description": "Credential needed for the client to connect to Azure.", "docstring_type": "~azure.core.credentials_async.AsyncTokenCredential", "required": true }, "subscription_id": { - "signature": "subscription_id, # type: str", + "signature": "subscription_id: str,", "description": "The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.", "docstring_type": "str", "required": true @@ -42,14 +44,58 @@ }, "constant": { }, - "call": "credential, subscription_id" + "call": "credential, subscription_id", + "service_client_specific": { + "sync": { + "api_version": { + "signature": "api_version=None, # type: Optional[str]", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url=None, # type: Optional[str]", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile=KnownProfiles.default, # type: KnownProfiles", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + }, + "async": { + "api_version": { + "signature": "api_version: Optional[str] = None,", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url: Optional[str] = None,", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile: KnownProfiles = KnownProfiles.default,", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + } + } }, "config": { "credential": true, "credential_scopes": ["https://management.azure.com/.default"], "credential_default_policy_type": "BearerTokenCredentialPolicy", "credential_default_policy_type_has_async_version": true, - "credential_key_header_name": null + "credential_key_header_name": null, + "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMHttpLoggingPolicy\"]}, \"local\": {\"._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}}", + "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMHttpLoggingPolicy\"]}, \"local\": {\".._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}}" }, "operation_groups": { "azure_firewalls": "AzureFirewallsOperations", @@ -103,19 +149,21 @@ "vpn_connections": "VpnConnectionsOperations" }, "operation_mixins": { - "check_dns_name_availability" : { - "sync": { - "signature": "def check_dns_name_availability(\n self,\n location, # type: str\n domain_name_label, # type: str\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2018_06_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def check_dns_name_availability(\n self,\n location: str,\n domain_name_label: str,\n **kwargs\n) -\u003e \"_models.DnsNameAvailabilityResult\":\n", - "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2018_06_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "location, domain_name_label" + "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\"]}}}", + "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\"]}}}", + "operations": { + "check_dns_name_availability" : { + "sync": { + "signature": "def check_dns_name_availability(\n self,\n location, # type: str\n domain_name_label, # type: str\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2018_06_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def check_dns_name_availability(\n self,\n location: str,\n domain_name_label: str,\n **kwargs\n) -\u003e \"_models.DnsNameAvailabilityResult\":\n", + "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2018_06_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "location, domain_name_label" + } } - }, - "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\"]}}}", - "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\"]}}}" + } } \ No newline at end of file diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/_network_management_client.py index f9d9b2c057cb..6c33d41938cd 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/_network_management_client.py @@ -16,6 +16,7 @@ from typing import Any, Optional from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse from ._configuration import NetworkManagementClientConfiguration from .operations import AzureFirewallsOperations @@ -195,6 +196,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.azure_firewalls = AzureFirewallsOperations( @@ -296,6 +298,24 @@ def __init__( self.vpn_connections = VpnConnectionsOperations( self._client, self._config, self._serialize, self._deserialize) + def _send_request(self, http_request, **kwargs): + # type: (HttpRequest, Any) -> HttpResponse + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.HttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + def close(self): # type: () -> None self._client.close() diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/_network_management_client.py index 1f18033887a1..1264714ff25f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/_network_management_client.py @@ -8,6 +8,7 @@ from typing import Any, Optional, TYPE_CHECKING +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core import AsyncARMPipelineClient from msrest import Deserializer, Serializer @@ -192,6 +193,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.azure_firewalls = AzureFirewallsOperations( @@ -293,6 +295,23 @@ def __init__( self.vpn_connections = VpnConnectionsOperations( self._client, self._config, self._serialize, self._deserialize) + async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + async def close(self) -> None: await self._client.close() diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_application_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_application_gateways_operations.py index 7b4166e9a1f4..4f55ad367e32 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_application_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_application_gateways_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_06_01.models.ApplicationGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGateway or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGateway or the result of cls(response) @@ -651,8 +651,8 @@ async def begin_start( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -757,8 +757,8 @@ async def begin_stop( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -876,8 +876,8 @@ async def begin_backend_health( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGatewayBackendHealth or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_application_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_application_security_groups_operations.py index 645c9532a137..5d62fb1b17de 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_application_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_application_security_groups_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type application_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -282,8 +282,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_06_01.models.ApplicationSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_azure_firewalls_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_azure_firewalls_operations.py index e3971f6c9fc9..bc944589fa3d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_azure_firewalls_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_azure_firewalls_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type azure_firewall_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_06_01.models.AzureFirewall :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AzureFirewall or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_connection_monitors_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_connection_monitors_operations.py index df9e721cab9c..7c7b3f029132 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_connection_monitors_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_connection_monitors_operations.py @@ -88,7 +88,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -123,8 +123,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_06_01.models.ConnectionMonitor :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionMonitorResult or the result of cls(response) @@ -231,7 +231,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('ConnectionMonitorResult', pipeline_response) @@ -281,7 +281,7 @@ async def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -306,8 +306,8 @@ async def begin_delete( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -397,7 +397,7 @@ async def _stop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -422,8 +422,8 @@ async def begin_stop( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -513,7 +513,7 @@ async def _start_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -538,8 +538,8 @@ async def begin_start( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -629,7 +629,7 @@ async def _query_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -661,8 +661,8 @@ async def begin_query( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionMonitorQueryResult or the result of cls(response) @@ -780,7 +780,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_ddos_protection_plans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_ddos_protection_plans_operations.py index aa0f50f1a307..7829fcf990db 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_ddos_protection_plans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_ddos_protection_plans_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type ddos_protection_plan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_06_01.models.DdosProtectionPlan :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either DdosProtectionPlan or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_express_route_circuit_authorizations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_express_route_circuit_authorizations_operations.py index bfffbfd0c13a..4e7921f587c2 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_express_route_circuit_authorizations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_express_route_circuit_authorizations_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type authorization_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type authorization_parameters: ~azure.mgmt.network.v2018_06_01.models.ExpressRouteCircuitAuthorization :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitAuthorization or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_express_route_circuit_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_express_route_circuit_connections_operations.py index e53c6b895766..5417a35f5004 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_express_route_circuit_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_express_route_circuit_connections_operations.py @@ -109,8 +109,8 @@ async def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -314,8 +314,8 @@ async def begin_create_or_update( :type express_route_circuit_connection_parameters: ~azure.mgmt.network.v2018_06_01.models.ExpressRouteCircuitConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitConnection or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_express_route_circuit_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_express_route_circuit_peerings_operations.py index 94b91319500d..d88bcdcd65e2 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_express_route_circuit_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_express_route_circuit_peerings_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2018_06_01.models.ExpressRouteCircuitPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_express_route_circuits_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_express_route_circuits_operations.py index f5fadc4659db..1c70ce2d2f2a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_express_route_circuits_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_express_route_circuits_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type circuit_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_06_01.models.ExpressRouteCircuit :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -533,8 +533,8 @@ async def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -664,8 +664,8 @@ async def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) @@ -795,8 +795,8 @@ async def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableSummaryListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_express_route_cross_connection_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_express_route_cross_connection_peerings_operations.py index 457722c41c56..49051dea55ea 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_express_route_cross_connection_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_express_route_cross_connection_peerings_operations.py @@ -178,8 +178,8 @@ async def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -372,8 +372,8 @@ async def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2018_06_01.models.ExpressRouteCrossConnectionPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCrossConnectionPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_express_route_cross_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_express_route_cross_connections_operations.py index 9b6bf91b193d..c5dcdcfccbc4 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_express_route_cross_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_express_route_cross_connections_operations.py @@ -308,8 +308,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_06_01.models.ExpressRouteCrossConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCrossConnection or the result of cls(response) @@ -433,8 +433,8 @@ async def begin_update_tags( :type cross_connection_parameters: ~azure.mgmt.network.v2018_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCrossConnection or the result of cls(response) @@ -561,8 +561,8 @@ async def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -692,8 +692,8 @@ async def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCrossConnectionsRoutesTableSummaryListResult or the result of cls(response) @@ -823,8 +823,8 @@ async def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_hub_virtual_network_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_hub_virtual_network_connections_operations.py index c77e9e8bc813..b624ebdc5494 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_hub_virtual_network_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_hub_virtual_network_connections_operations.py @@ -93,7 +93,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('HubVirtualNetworkConnection', pipeline_response) @@ -168,7 +168,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_inbound_nat_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_inbound_nat_rules_operations.py index 9136ab9b4e80..5f36908de9b3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_inbound_nat_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_inbound_nat_rules_operations.py @@ -178,8 +178,8 @@ async def begin_delete( :type inbound_nat_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -377,8 +377,8 @@ async def begin_create_or_update( :type inbound_nat_rule_parameters: ~azure.mgmt.network.v2018_06_01.models.InboundNatRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either InboundNatRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_load_balancers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_load_balancers_operations.py index 3ba04aa140f8..6fbaf8f18346 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_load_balancers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_load_balancers_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type load_balancer_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_06_01.models.LoadBalancer :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LoadBalancer or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LoadBalancer or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_local_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_local_network_gateways_operations.py index 30443df5354a..8515c693afc3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_local_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_local_network_gateways_operations.py @@ -117,8 +117,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_06_01.models.LocalNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LocalNetworkGateway or the result of cls(response) @@ -285,8 +285,8 @@ async def begin_delete( :type local_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LocalNetworkGateway or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_network_interfaces_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_network_interfaces_operations.py index 170a49576841..ef6af1d819bc 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_network_interfaces_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_network_interfaces_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_06_01.models.NetworkInterface :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkInterface or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkInterface or the result of cls(response) @@ -663,8 +663,8 @@ async def begin_get_effective_route_table( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either EffectiveRouteListResult or the result of cls(response) @@ -779,8 +779,8 @@ async def begin_list_effective_network_security_groups( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either EffectiveNetworkSecurityGroupListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_network_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_network_security_groups_operations.py index 92b6721512e8..30fd20fb8389 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_network_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_network_security_groups_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type network_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -287,8 +287,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_06_01.models.NetworkSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkSecurityGroup or the result of cls(response) @@ -411,8 +411,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_network_watchers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_network_watchers_operations.py index 1037dcf254f4..4414b0c06e3b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_network_watchers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_network_watchers_operations.py @@ -99,7 +99,7 @@ async def create_or_update( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -162,7 +162,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('NetworkWatcher', pipeline_response) @@ -210,7 +210,7 @@ async def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -232,8 +232,8 @@ async def begin_delete( :type network_watcher_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -338,7 +338,7 @@ async def update_tags( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('NetworkWatcher', pipeline_response) @@ -409,7 +409,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -476,7 +476,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -543,7 +543,7 @@ async def get_topology( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('Topology', pipeline_response) @@ -597,7 +597,7 @@ async def _verify_ip_flow_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -629,8 +629,8 @@ async def begin_verify_ip_flow( :type parameters: ~azure.mgmt.network.v2018_06_01.models.VerificationIPFlowParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VerificationIPFlowResult or the result of cls(response) @@ -726,7 +726,7 @@ async def _get_next_hop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -758,8 +758,8 @@ async def begin_get_next_hop( :type parameters: ~azure.mgmt.network.v2018_06_01.models.NextHopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NextHopResult or the result of cls(response) @@ -855,7 +855,7 @@ async def _get_vm_security_rules_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -887,8 +887,8 @@ async def begin_get_vm_security_rules( :type parameters: ~azure.mgmt.network.v2018_06_01.models.SecurityGroupViewParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either SecurityGroupViewResult or the result of cls(response) @@ -984,7 +984,7 @@ async def _get_troubleshooting_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1016,8 +1016,8 @@ async def begin_get_troubleshooting( :type parameters: ~azure.mgmt.network.v2018_06_01.models.TroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1113,7 +1113,7 @@ async def _get_troubleshooting_result_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1145,8 +1145,8 @@ async def begin_get_troubleshooting_result( :type parameters: ~azure.mgmt.network.v2018_06_01.models.QueryTroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1242,7 +1242,7 @@ async def _set_flow_log_configuration_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1274,8 +1274,8 @@ async def begin_set_flow_log_configuration( :type parameters: ~azure.mgmt.network.v2018_06_01.models.FlowLogInformation :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1371,7 +1371,7 @@ async def _get_flow_log_status_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1404,8 +1404,8 @@ async def begin_get_flow_log_status( :type parameters: ~azure.mgmt.network.v2018_06_01.models.FlowLogStatusParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1501,7 +1501,7 @@ async def _check_connectivity_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1534,8 +1534,8 @@ async def begin_check_connectivity( :type parameters: ~azure.mgmt.network.v2018_06_01.models.ConnectivityParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectivityInformation or the result of cls(response) @@ -1631,7 +1631,7 @@ async def _get_azure_reachability_report_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1664,8 +1664,8 @@ async def begin_get_azure_reachability_report( :type parameters: ~azure.mgmt.network.v2018_06_01.models.AzureReachabilityReportParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AzureReachabilityReport or the result of cls(response) @@ -1761,7 +1761,7 @@ async def _list_available_providers_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1793,8 +1793,8 @@ async def begin_list_available_providers( :type parameters: ~azure.mgmt.network.v2018_06_01.models.AvailableProvidersListParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AvailableProvidersList or the result of cls(response) @@ -1890,7 +1890,7 @@ async def _get_network_configuration_diagnostic_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1922,8 +1922,8 @@ async def begin_get_network_configuration_diagnostic( :type parameters: ~azure.mgmt.network.v2018_06_01.models.NetworkConfigurationDiagnosticParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkConfigurationDiagnosticResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_packet_captures_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_packet_captures_operations.py index 2f9a76c53a1e..cfb4d33549d5 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_packet_captures_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_packet_captures_operations.py @@ -88,7 +88,7 @@ async def _create_initial( if response.status_code not in [201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PacketCaptureResult', pipeline_response) @@ -119,8 +119,8 @@ async def begin_create( :type parameters: ~azure.mgmt.network.v2018_06_01.models.PacketCapture :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PacketCaptureResult or the result of cls(response) @@ -227,7 +227,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PacketCaptureResult', pipeline_response) @@ -277,7 +277,7 @@ async def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -302,8 +302,8 @@ async def begin_delete( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -393,7 +393,7 @@ async def _stop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -418,8 +418,8 @@ async def begin_stop( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -509,7 +509,7 @@ async def _get_status_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -541,8 +541,8 @@ async def begin_get_status( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PacketCaptureQueryStatusResult or the result of cls(response) @@ -660,7 +660,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_public_ip_addresses_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_public_ip_addresses_operations.py index 73b607b5ad4c..910bb421a473 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_public_ip_addresses_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_public_ip_addresses_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type public_ip_address_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_06_01.models.PublicIPAddress :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PublicIPAddress or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PublicIPAddress or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_route_filter_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_route_filter_rules_operations.py index a7975b6f3a4e..c7330654fd0b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_route_filter_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_route_filter_rules_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2018_06_01.models.RouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilterRule or the result of cls(response) @@ -430,8 +430,8 @@ async def begin_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2018_06_01.models.PatchRouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilterRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_route_filters_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_route_filters_operations.py index 0758289a2068..c6782049de74 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_route_filters_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_route_filters_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type route_filter_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -287,8 +287,8 @@ async def begin_create_or_update( :type route_filter_parameters: ~azure.mgmt.network.v2018_06_01.models.RouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilter or the result of cls(response) @@ -411,8 +411,8 @@ async def begin_update( :type route_filter_parameters: ~azure.mgmt.network.v2018_06_01.models.PatchRouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilter or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_route_tables_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_route_tables_operations.py index 7fb0cd6e930e..00b95ed7fa45 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_route_tables_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_route_tables_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_06_01.models.RouteTable :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteTable or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteTable or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_routes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_routes_operations.py index 1a8bb45860ae..19cd48f60226 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_routes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_routes_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type route_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ async def begin_create_or_update( :type route_parameters: ~azure.mgmt.network.v2018_06_01.models.Route :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Route or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_security_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_security_rules_operations.py index 63b551094792..9e93c1dccd8e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_security_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_security_rules_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type security_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type security_rule_parameters: ~azure.mgmt.network.v2018_06_01.models.SecurityRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either SecurityRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_subnets_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_subnets_operations.py index 5f1c29fc60d2..a8f02c705591 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_subnets_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_subnets_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type subnet_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -302,8 +302,8 @@ async def begin_create_or_update( :type subnet_parameters: ~azure.mgmt.network.v2018_06_01.models.Subnet :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Subnet or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_virtual_hubs_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_virtual_hubs_operations.py index 7bc56161754c..420c2555c96a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_virtual_hubs_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_virtual_hubs_operations.py @@ -91,7 +91,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualHub', pipeline_response) @@ -145,7 +145,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -177,8 +177,8 @@ async def begin_create_or_update( :type virtual_hub_parameters: ~azure.mgmt.network.v2018_06_01.models.VirtualHub :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualHub or the result of cls(response) @@ -274,7 +274,7 @@ async def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -306,8 +306,8 @@ async def begin_update_tags( :type virtual_hub_parameters: ~azure.mgmt.network.v2018_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualHub or the result of cls(response) @@ -397,7 +397,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -419,8 +419,8 @@ async def begin_delete( :type virtual_hub_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -529,7 +529,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -596,7 +596,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_virtual_network_gateway_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_virtual_network_gateway_connections_operations.py index 8400ff7c8df0..592661ea85f8 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_virtual_network_gateway_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_virtual_network_gateway_connections_operations.py @@ -119,8 +119,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_06_01.models.VirtualNetworkGatewayConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -289,8 +289,8 @@ async def begin_delete( :type virtual_network_gateway_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -541,8 +541,8 @@ async def begin_set_shared_key( :type parameters: ~azure.mgmt.network.v2018_06_01.models.ConnectionSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionSharedKey or the result of cls(response) @@ -802,8 +802,8 @@ async def begin_reset_shared_key( :type parameters: ~azure.mgmt.network.v2018_06_01.models.ConnectionResetSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionResetSharedKey or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_virtual_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_virtual_network_gateways_operations.py index e1bb986a3833..ae0622df4212 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_virtual_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_virtual_network_gateways_operations.py @@ -117,8 +117,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_06_01.models.VirtualNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -285,8 +285,8 @@ async def begin_delete( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -673,8 +673,8 @@ async def begin_reset( :type gateway_vip: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -784,8 +784,8 @@ async def begin_reset_vpn_client_shared_key( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -908,8 +908,8 @@ async def begin_generatevpnclientpackage( :type parameters: ~azure.mgmt.network.v2018_06_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1036,8 +1036,8 @@ async def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2018_06_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1154,8 +1154,8 @@ async def begin_get_vpn_profile_package_url( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1276,8 +1276,8 @@ async def begin_get_bgp_peer_status( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either BgpPeerStatusListResult or the result of cls(response) @@ -1452,8 +1452,8 @@ async def begin_get_learned_routes( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1574,8 +1574,8 @@ async def begin_get_advertised_routes( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1702,8 +1702,8 @@ async def begin_set_vpnclient_ipsec_parameters( :type vpnclient_ipsec_params: ~azure.mgmt.network.v2018_06_01.models.VpnClientIPsecParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnClientIPsecParameters or the result of cls(response) @@ -1819,8 +1819,8 @@ async def begin_get_vpnclient_ipsec_parameters( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnClientIPsecParameters or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_virtual_network_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_virtual_network_peerings_operations.py index 11911f11b141..7d00984d6d72 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_virtual_network_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_virtual_network_peerings_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type virtual_network_peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type virtual_network_peering_parameters: ~azure.mgmt.network.v2018_06_01.models.VirtualNetworkPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_virtual_networks_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_virtual_networks_operations.py index b411fdb17fc7..7b741d1ce739 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_virtual_networks_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_virtual_networks_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type virtual_network_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_06_01.models.VirtualNetwork :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetwork or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetwork or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_virtual_wans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_virtual_wans_operations.py index 3bf6323b52ae..32ba59c41757 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_virtual_wans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_virtual_wans_operations.py @@ -91,7 +91,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualWAN', pipeline_response) @@ -145,7 +145,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -177,8 +177,8 @@ async def begin_create_or_update( :type wan_parameters: ~azure.mgmt.network.v2018_06_01.models.VirtualWAN :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualWAN or the result of cls(response) @@ -274,7 +274,7 @@ async def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -306,8 +306,8 @@ async def begin_update_tags( :type wan_parameters: ~azure.mgmt.network.v2018_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualWAN or the result of cls(response) @@ -397,7 +397,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -419,8 +419,8 @@ async def begin_delete( :type virtual_wan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -529,7 +529,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -596,7 +596,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_vpn_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_vpn_connections_operations.py index 202d9e407696..f716adfe3834 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_vpn_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_vpn_connections_operations.py @@ -95,7 +95,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VpnConnection', pipeline_response) @@ -151,7 +151,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -187,8 +187,8 @@ async def begin_create_or_update( :type vpn_connection_parameters: ~azure.mgmt.network.v2018_06_01.models.VpnConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnConnection or the result of cls(response) @@ -282,7 +282,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -307,8 +307,8 @@ async def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -423,7 +423,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_vpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_vpn_gateways_operations.py index 827588628e8c..253e3eb6cbb8 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_vpn_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_vpn_gateways_operations.py @@ -91,7 +91,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VpnGateway', pipeline_response) @@ -145,7 +145,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -178,8 +178,8 @@ async def begin_create_or_update( :type vpn_gateway_parameters: ~azure.mgmt.network.v2018_06_01.models.VpnGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnGateway or the result of cls(response) @@ -275,7 +275,7 @@ async def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -307,8 +307,8 @@ async def begin_update_tags( :type vpn_gateway_parameters: ~azure.mgmt.network.v2018_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnGateway or the result of cls(response) @@ -398,7 +398,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -420,8 +420,8 @@ async def begin_delete( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -530,7 +530,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -597,7 +597,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_vpn_sites_configuration_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_vpn_sites_configuration_operations.py index 3f346c103f00..780522cbf209 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_vpn_sites_configuration_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_vpn_sites_configuration_operations.py @@ -85,7 +85,7 @@ async def _download_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -111,8 +111,8 @@ async def begin_download( :type request: ~azure.mgmt.network.v2018_06_01.models.GetVpnSitesConfigurationRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_vpn_sites_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_vpn_sites_operations.py index d95e79cfc986..903818fae7b7 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_vpn_sites_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/aio/operations/_vpn_sites_operations.py @@ -91,7 +91,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VpnSite', pipeline_response) @@ -145,7 +145,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -177,8 +177,8 @@ async def begin_create_or_update( :type vpn_site_parameters: ~azure.mgmt.network.v2018_06_01.models.VpnSite :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnSite or the result of cls(response) @@ -274,7 +274,7 @@ async def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -306,8 +306,8 @@ async def begin_update_tags( :type vpn_site_parameters: ~azure.mgmt.network.v2018_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnSite or the result of cls(response) @@ -397,7 +397,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -419,8 +419,8 @@ async def begin_delete( :type vpn_site_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -529,7 +529,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -596,7 +596,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/models/_models.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/models/_models.py index 0312c7e40d4f..7dafbdaa0a82 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/models/_models.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/models/_models.py @@ -7703,8 +7703,8 @@ class PacketCaptureStorageLocation(msrest.serialization.Model): :param storage_id: The ID of the storage account to save the packet capture session. Required if no local file path is provided. :type storage_id: str - :param storage_path: The URI of the storage path to save the packet capture. Must be a well- - formed URI describing the location to save the packet capture. + :param storage_path: The URI of the storage path to save the packet capture. Must be a + well-formed URI describing the location to save the packet capture. :type storage_path: str :param file_path: A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no @@ -10306,8 +10306,8 @@ class VirtualNetworkPeering(SubResource): :type use_remote_gateways: bool :param remote_virtual_network: The reference of the remote virtual network. The remote virtual network can be in the same or different region (preview). See here to register for the preview - and learn more (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create- - peering). + and learn more + (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering). :type remote_virtual_network: ~azure.mgmt.network.v2018_06_01.models.SubResource :param remote_address_space: The reference of the remote virtual network address space. :type remote_address_space: ~azure.mgmt.network.v2018_06_01.models.AddressSpace diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/models/_models_py3.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/models/_models_py3.py index cf365c78fa4a..a3026f7cd43a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/models/_models_py3.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/models/_models_py3.py @@ -8733,8 +8733,8 @@ class PacketCaptureStorageLocation(msrest.serialization.Model): :param storage_id: The ID of the storage account to save the packet capture session. Required if no local file path is provided. :type storage_id: str - :param storage_path: The URI of the storage path to save the packet capture. Must be a well- - formed URI describing the location to save the packet capture. + :param storage_path: The URI of the storage path to save the packet capture. Must be a + well-formed URI describing the location to save the packet capture. :type storage_path: str :param file_path: A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no @@ -11662,8 +11662,8 @@ class VirtualNetworkPeering(SubResource): :type use_remote_gateways: bool :param remote_virtual_network: The reference of the remote virtual network. The remote virtual network can be in the same or different region (preview). See here to register for the preview - and learn more (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create- - peering). + and learn more + (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering). :type remote_virtual_network: ~azure.mgmt.network.v2018_06_01.models.SubResource :param remote_address_space: The reference of the remote virtual network address space. :type remote_address_space: ~azure.mgmt.network.v2018_06_01.models.AddressSpace diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_application_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_application_gateways_operations.py index 05988408c757..9394c2d0da44 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_application_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_application_gateways_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_06_01.models.ApplicationGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGateway or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGateway or the result of cls(response) @@ -666,8 +666,8 @@ def begin_start( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -774,8 +774,8 @@ def begin_stop( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -895,8 +895,8 @@ def begin_backend_health( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGatewayBackendHealth or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_application_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_application_security_groups_operations.py index d6cde4e4427a..aca49653662e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_application_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_application_security_groups_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type application_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -291,8 +291,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_06_01.models.ApplicationSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_azure_firewalls_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_azure_firewalls_operations.py index fc2852d1b135..78590bb6bee6 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_azure_firewalls_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_azure_firewalls_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type azure_firewall_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_06_01.models.AzureFirewall :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AzureFirewall or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_connection_monitors_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_connection_monitors_operations.py index 3f9a62c298b7..8dd3edaa52c2 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_connection_monitors_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_connection_monitors_operations.py @@ -93,7 +93,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -129,8 +129,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_06_01.models.ConnectionMonitor :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionMonitorResult or the result of cls(response) @@ -238,7 +238,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('ConnectionMonitorResult', pipeline_response) @@ -289,7 +289,7 @@ def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -315,8 +315,8 @@ def begin_delete( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -407,7 +407,7 @@ def _stop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -433,8 +433,8 @@ def begin_stop( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -525,7 +525,7 @@ def _start_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -551,8 +551,8 @@ def begin_start( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -643,7 +643,7 @@ def _query_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -676,8 +676,8 @@ def begin_query( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionMonitorQueryResult or the result of cls(response) @@ -796,7 +796,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_ddos_protection_plans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_ddos_protection_plans_operations.py index 9cc2484c378b..fd60e4910d61 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_ddos_protection_plans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_ddos_protection_plans_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type ddos_protection_plan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_06_01.models.DdosProtectionPlan :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either DdosProtectionPlan or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_express_route_circuit_authorizations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_express_route_circuit_authorizations_operations.py index 34b3093cd346..7df2ab9c65d1 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_express_route_circuit_authorizations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_express_route_circuit_authorizations_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type authorization_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type authorization_parameters: ~azure.mgmt.network.v2018_06_01.models.ExpressRouteCircuitAuthorization :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitAuthorization or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_express_route_circuit_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_express_route_circuit_connections_operations.py index c98ae815f032..5644dd4ae22a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_express_route_circuit_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_express_route_circuit_connections_operations.py @@ -115,8 +115,8 @@ def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -323,8 +323,8 @@ def begin_create_or_update( :type express_route_circuit_connection_parameters: ~azure.mgmt.network.v2018_06_01.models.ExpressRouteCircuitConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitConnection or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_express_route_circuit_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_express_route_circuit_peerings_operations.py index bc34384fd7bf..871f8d1cae5b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_express_route_circuit_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_express_route_circuit_peerings_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2018_06_01.models.ExpressRouteCircuitPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_express_route_circuits_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_express_route_circuits_operations.py index 3af455088405..9c10facd5a77 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_express_route_circuits_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_express_route_circuits_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type circuit_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_06_01.models.ExpressRouteCircuit :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -546,8 +546,8 @@ def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -679,8 +679,8 @@ def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) @@ -812,8 +812,8 @@ def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableSummaryListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_express_route_cross_connection_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_express_route_cross_connection_peerings_operations.py index 9fd541736b40..0985ad614230 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_express_route_cross_connection_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_express_route_cross_connection_peerings_operations.py @@ -185,8 +185,8 @@ def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -382,8 +382,8 @@ def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2018_06_01.models.ExpressRouteCrossConnectionPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCrossConnectionPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_express_route_cross_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_express_route_cross_connections_operations.py index 42825a039948..ddfe1661e5b9 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_express_route_cross_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_express_route_cross_connections_operations.py @@ -317,8 +317,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_06_01.models.ExpressRouteCrossConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCrossConnection or the result of cls(response) @@ -444,8 +444,8 @@ def begin_update_tags( :type cross_connection_parameters: ~azure.mgmt.network.v2018_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCrossConnection or the result of cls(response) @@ -574,8 +574,8 @@ def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -707,8 +707,8 @@ def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCrossConnectionsRoutesTableSummaryListResult or the result of cls(response) @@ -840,8 +840,8 @@ def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_hub_virtual_network_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_hub_virtual_network_connections_operations.py index 1991b706e920..d9512e577339 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_hub_virtual_network_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_hub_virtual_network_connections_operations.py @@ -98,7 +98,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('HubVirtualNetworkConnection', pipeline_response) @@ -174,7 +174,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_inbound_nat_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_inbound_nat_rules_operations.py index bffa4daea2e5..b1b63d18b106 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_inbound_nat_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_inbound_nat_rules_operations.py @@ -185,8 +185,8 @@ def begin_delete( :type inbound_nat_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -387,8 +387,8 @@ def begin_create_or_update( :type inbound_nat_rule_parameters: ~azure.mgmt.network.v2018_06_01.models.InboundNatRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either InboundNatRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_load_balancers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_load_balancers_operations.py index e2a7925f725e..59579ddc480b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_load_balancers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_load_balancers_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type load_balancer_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_06_01.models.LoadBalancer :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LoadBalancer or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LoadBalancer or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_local_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_local_network_gateways_operations.py index 0849ccefb11e..64d8ac2b15ec 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_local_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_local_network_gateways_operations.py @@ -123,8 +123,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_06_01.models.LocalNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LocalNetworkGateway or the result of cls(response) @@ -294,8 +294,8 @@ def begin_delete( :type local_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LocalNetworkGateway or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_network_interfaces_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_network_interfaces_operations.py index 5a3c304dbaa8..c1a2e3740236 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_network_interfaces_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_network_interfaces_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_06_01.models.NetworkInterface :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkInterface or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkInterface or the result of cls(response) @@ -678,8 +678,8 @@ def begin_get_effective_route_table( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either EffectiveRouteListResult or the result of cls(response) @@ -796,8 +796,8 @@ def begin_list_effective_network_security_groups( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either EffectiveNetworkSecurityGroupListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_network_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_network_security_groups_operations.py index 8e180480d6bd..c8fb7bca535a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_network_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_network_security_groups_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type network_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -296,8 +296,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_06_01.models.NetworkSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkSecurityGroup or the result of cls(response) @@ -422,8 +422,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_network_watchers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_network_watchers_operations.py index e8a0123d1bc8..9d6634584ed8 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_network_watchers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_network_watchers_operations.py @@ -104,7 +104,7 @@ def create_or_update( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -168,7 +168,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('NetworkWatcher', pipeline_response) @@ -217,7 +217,7 @@ def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -240,8 +240,8 @@ def begin_delete( :type network_watcher_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -347,7 +347,7 @@ def update_tags( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('NetworkWatcher', pipeline_response) @@ -419,7 +419,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -487,7 +487,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -555,7 +555,7 @@ def get_topology( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('Topology', pipeline_response) @@ -610,7 +610,7 @@ def _verify_ip_flow_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -643,8 +643,8 @@ def begin_verify_ip_flow( :type parameters: ~azure.mgmt.network.v2018_06_01.models.VerificationIPFlowParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VerificationIPFlowResult or the result of cls(response) @@ -741,7 +741,7 @@ def _get_next_hop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -774,8 +774,8 @@ def begin_get_next_hop( :type parameters: ~azure.mgmt.network.v2018_06_01.models.NextHopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NextHopResult or the result of cls(response) @@ -872,7 +872,7 @@ def _get_vm_security_rules_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -905,8 +905,8 @@ def begin_get_vm_security_rules( :type parameters: ~azure.mgmt.network.v2018_06_01.models.SecurityGroupViewParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either SecurityGroupViewResult or the result of cls(response) @@ -1003,7 +1003,7 @@ def _get_troubleshooting_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1036,8 +1036,8 @@ def begin_get_troubleshooting( :type parameters: ~azure.mgmt.network.v2018_06_01.models.TroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1134,7 +1134,7 @@ def _get_troubleshooting_result_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1167,8 +1167,8 @@ def begin_get_troubleshooting_result( :type parameters: ~azure.mgmt.network.v2018_06_01.models.QueryTroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1265,7 +1265,7 @@ def _set_flow_log_configuration_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1298,8 +1298,8 @@ def begin_set_flow_log_configuration( :type parameters: ~azure.mgmt.network.v2018_06_01.models.FlowLogInformation :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1396,7 +1396,7 @@ def _get_flow_log_status_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1430,8 +1430,8 @@ def begin_get_flow_log_status( :type parameters: ~azure.mgmt.network.v2018_06_01.models.FlowLogStatusParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1528,7 +1528,7 @@ def _check_connectivity_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1562,8 +1562,8 @@ def begin_check_connectivity( :type parameters: ~azure.mgmt.network.v2018_06_01.models.ConnectivityParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectivityInformation or the result of cls(response) @@ -1660,7 +1660,7 @@ def _get_azure_reachability_report_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1694,8 +1694,8 @@ def begin_get_azure_reachability_report( :type parameters: ~azure.mgmt.network.v2018_06_01.models.AzureReachabilityReportParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AzureReachabilityReport or the result of cls(response) @@ -1792,7 +1792,7 @@ def _list_available_providers_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1825,8 +1825,8 @@ def begin_list_available_providers( :type parameters: ~azure.mgmt.network.v2018_06_01.models.AvailableProvidersListParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AvailableProvidersList or the result of cls(response) @@ -1923,7 +1923,7 @@ def _get_network_configuration_diagnostic_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1956,8 +1956,8 @@ def begin_get_network_configuration_diagnostic( :type parameters: ~azure.mgmt.network.v2018_06_01.models.NetworkConfigurationDiagnosticParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkConfigurationDiagnosticResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_packet_captures_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_packet_captures_operations.py index 465da3109b53..c142c6a63388 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_packet_captures_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_packet_captures_operations.py @@ -93,7 +93,7 @@ def _create_initial( if response.status_code not in [201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PacketCaptureResult', pipeline_response) @@ -125,8 +125,8 @@ def begin_create( :type parameters: ~azure.mgmt.network.v2018_06_01.models.PacketCapture :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PacketCaptureResult or the result of cls(response) @@ -234,7 +234,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PacketCaptureResult', pipeline_response) @@ -285,7 +285,7 @@ def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -311,8 +311,8 @@ def begin_delete( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -403,7 +403,7 @@ def _stop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -429,8 +429,8 @@ def begin_stop( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -521,7 +521,7 @@ def _get_status_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -554,8 +554,8 @@ def begin_get_status( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PacketCaptureQueryStatusResult or the result of cls(response) @@ -674,7 +674,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_public_ip_addresses_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_public_ip_addresses_operations.py index 2be533e9b170..381ab4da65e5 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_public_ip_addresses_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_public_ip_addresses_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type public_ip_address_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_06_01.models.PublicIPAddress :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PublicIPAddress or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PublicIPAddress or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_route_filter_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_route_filter_rules_operations.py index 3da670a4135c..40b9306ec9e5 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_route_filter_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_route_filter_rules_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2018_06_01.models.RouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilterRule or the result of cls(response) @@ -441,8 +441,8 @@ def begin_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2018_06_01.models.PatchRouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilterRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_route_filters_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_route_filters_operations.py index 5a495d8f7405..479a58ab9b91 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_route_filters_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_route_filters_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type route_filter_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -296,8 +296,8 @@ def begin_create_or_update( :type route_filter_parameters: ~azure.mgmt.network.v2018_06_01.models.RouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilter or the result of cls(response) @@ -422,8 +422,8 @@ def begin_update( :type route_filter_parameters: ~azure.mgmt.network.v2018_06_01.models.PatchRouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilter or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_route_tables_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_route_tables_operations.py index 0da731d93183..d06942e05036 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_route_tables_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_route_tables_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_06_01.models.RouteTable :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteTable or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteTable or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_routes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_routes_operations.py index 66f51f54c513..e205d2cfc58e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_routes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_routes_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type route_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -306,8 +306,8 @@ def begin_create_or_update( :type route_parameters: ~azure.mgmt.network.v2018_06_01.models.Route :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Route or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_security_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_security_rules_operations.py index aa4070d36cd0..321f43c018db 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_security_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_security_rules_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type security_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type security_rule_parameters: ~azure.mgmt.network.v2018_06_01.models.SecurityRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either SecurityRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_subnets_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_subnets_operations.py index 2c5ed804c3ab..cfcd77b8f304 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_subnets_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_subnets_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type subnet_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -311,8 +311,8 @@ def begin_create_or_update( :type subnet_parameters: ~azure.mgmt.network.v2018_06_01.models.Subnet :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Subnet or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_virtual_hubs_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_virtual_hubs_operations.py index 20a090f73bff..7756499c63dd 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_virtual_hubs_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_virtual_hubs_operations.py @@ -96,7 +96,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualHub', pipeline_response) @@ -151,7 +151,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -184,8 +184,8 @@ def begin_create_or_update( :type virtual_hub_parameters: ~azure.mgmt.network.v2018_06_01.models.VirtualHub :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualHub or the result of cls(response) @@ -282,7 +282,7 @@ def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -315,8 +315,8 @@ def begin_update_tags( :type virtual_hub_parameters: ~azure.mgmt.network.v2018_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualHub or the result of cls(response) @@ -407,7 +407,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -430,8 +430,8 @@ def begin_delete( :type virtual_hub_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -541,7 +541,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -609,7 +609,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_virtual_network_gateway_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_virtual_network_gateway_connections_operations.py index 64d3da5a1b56..a9e40f380743 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_virtual_network_gateway_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_virtual_network_gateway_connections_operations.py @@ -125,8 +125,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_06_01.models.VirtualNetworkGatewayConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -298,8 +298,8 @@ def begin_delete( :type virtual_network_gateway_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -554,8 +554,8 @@ def begin_set_shared_key( :type parameters: ~azure.mgmt.network.v2018_06_01.models.ConnectionSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionSharedKey or the result of cls(response) @@ -819,8 +819,8 @@ def begin_reset_shared_key( :type parameters: ~azure.mgmt.network.v2018_06_01.models.ConnectionResetSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionResetSharedKey or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_virtual_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_virtual_network_gateways_operations.py index 48e35b9069e1..524b08e91141 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_virtual_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_virtual_network_gateways_operations.py @@ -123,8 +123,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_06_01.models.VirtualNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -294,8 +294,8 @@ def begin_delete( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -688,8 +688,8 @@ def begin_reset( :type gateway_vip: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -801,8 +801,8 @@ def begin_reset_vpn_client_shared_key( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -927,8 +927,8 @@ def begin_generatevpnclientpackage( :type parameters: ~azure.mgmt.network.v2018_06_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1057,8 +1057,8 @@ def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2018_06_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1177,8 +1177,8 @@ def begin_get_vpn_profile_package_url( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1301,8 +1301,8 @@ def begin_get_bgp_peer_status( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either BgpPeerStatusListResult or the result of cls(response) @@ -1480,8 +1480,8 @@ def begin_get_learned_routes( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1604,8 +1604,8 @@ def begin_get_advertised_routes( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1734,8 +1734,8 @@ def begin_set_vpnclient_ipsec_parameters( :type vpnclient_ipsec_params: ~azure.mgmt.network.v2018_06_01.models.VpnClientIPsecParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnClientIPsecParameters or the result of cls(response) @@ -1853,8 +1853,8 @@ def begin_get_vpnclient_ipsec_parameters( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnClientIPsecParameters or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_virtual_network_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_virtual_network_peerings_operations.py index a4bf984aeebf..b3ed592b03b7 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_virtual_network_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_virtual_network_peerings_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type virtual_network_peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type virtual_network_peering_parameters: ~azure.mgmt.network.v2018_06_01.models.VirtualNetworkPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_virtual_networks_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_virtual_networks_operations.py index 4f9f623f4594..7dc8fa2dc246 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_virtual_networks_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_virtual_networks_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type virtual_network_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_06_01.models.VirtualNetwork :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetwork or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetwork or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_virtual_wans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_virtual_wans_operations.py index 188bb20dadc2..3ac06251ff60 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_virtual_wans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_virtual_wans_operations.py @@ -96,7 +96,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualWAN', pipeline_response) @@ -151,7 +151,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -184,8 +184,8 @@ def begin_create_or_update( :type wan_parameters: ~azure.mgmt.network.v2018_06_01.models.VirtualWAN :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualWAN or the result of cls(response) @@ -282,7 +282,7 @@ def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -315,8 +315,8 @@ def begin_update_tags( :type wan_parameters: ~azure.mgmt.network.v2018_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualWAN or the result of cls(response) @@ -407,7 +407,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -430,8 +430,8 @@ def begin_delete( :type virtual_wan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -541,7 +541,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -609,7 +609,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_vpn_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_vpn_connections_operations.py index 22cee7410ea9..b0cece1239b6 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_vpn_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_vpn_connections_operations.py @@ -100,7 +100,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VpnConnection', pipeline_response) @@ -157,7 +157,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -194,8 +194,8 @@ def begin_create_or_update( :type vpn_connection_parameters: ~azure.mgmt.network.v2018_06_01.models.VpnConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnConnection or the result of cls(response) @@ -290,7 +290,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -316,8 +316,8 @@ def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -433,7 +433,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_vpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_vpn_gateways_operations.py index 196ecf09dfd7..0175359ba50f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_vpn_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_vpn_gateways_operations.py @@ -96,7 +96,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VpnGateway', pipeline_response) @@ -151,7 +151,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -185,8 +185,8 @@ def begin_create_or_update( :type vpn_gateway_parameters: ~azure.mgmt.network.v2018_06_01.models.VpnGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnGateway or the result of cls(response) @@ -283,7 +283,7 @@ def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -316,8 +316,8 @@ def begin_update_tags( :type vpn_gateway_parameters: ~azure.mgmt.network.v2018_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnGateway or the result of cls(response) @@ -408,7 +408,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -431,8 +431,8 @@ def begin_delete( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -542,7 +542,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -610,7 +610,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_vpn_sites_configuration_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_vpn_sites_configuration_operations.py index fcb4e029f7f0..93d031a268ed 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_vpn_sites_configuration_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_vpn_sites_configuration_operations.py @@ -90,7 +90,7 @@ def _download_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -117,8 +117,8 @@ def begin_download( :type request: ~azure.mgmt.network.v2018_06_01.models.GetVpnSitesConfigurationRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_vpn_sites_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_vpn_sites_operations.py index dbab4b38643d..acab3538d5f8 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_vpn_sites_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_06_01/operations/_vpn_sites_operations.py @@ -96,7 +96,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VpnSite', pipeline_response) @@ -151,7 +151,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -184,8 +184,8 @@ def begin_create_or_update( :type vpn_site_parameters: ~azure.mgmt.network.v2018_06_01.models.VpnSite :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnSite or the result of cls(response) @@ -282,7 +282,7 @@ def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -315,8 +315,8 @@ def begin_update_tags( :type vpn_site_parameters: ~azure.mgmt.network.v2018_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnSite or the result of cls(response) @@ -407,7 +407,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -430,8 +430,8 @@ def begin_delete( :type vpn_site_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -541,7 +541,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -609,7 +609,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/_metadata.json b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/_metadata.json index ae4ab955a125..fcf8b3e2d0fa 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/_metadata.json +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/_metadata.json @@ -9,7 +9,9 @@ "custom_base_url": null, "azure_arm": true, "has_lro_operations": true, - "client_side_validation": true + "client_side_validation": false, + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"NetworkManagementClientConfiguration\"], \"._operations_mixin\": [\"NetworkManagementClientOperationsMixin\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"NetworkManagementClientConfiguration\"], \"._operations_mixin\": [\"NetworkManagementClientOperationsMixin\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}" }, "global_parameters": { "sync": { @@ -28,13 +30,13 @@ }, "async": { "credential": { - "signature": "credential, # type: \"AsyncTokenCredential\"", + "signature": "credential: \"AsyncTokenCredential\",", "description": "Credential needed for the client to connect to Azure.", "docstring_type": "~azure.core.credentials_async.AsyncTokenCredential", "required": true }, "subscription_id": { - "signature": "subscription_id, # type: str", + "signature": "subscription_id: str,", "description": "The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.", "docstring_type": "str", "required": true @@ -42,14 +44,58 @@ }, "constant": { }, - "call": "credential, subscription_id" + "call": "credential, subscription_id", + "service_client_specific": { + "sync": { + "api_version": { + "signature": "api_version=None, # type: Optional[str]", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url=None, # type: Optional[str]", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile=KnownProfiles.default, # type: KnownProfiles", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + }, + "async": { + "api_version": { + "signature": "api_version: Optional[str] = None,", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url: Optional[str] = None,", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile: KnownProfiles = KnownProfiles.default,", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + } + } }, "config": { "credential": true, "credential_scopes": ["https://management.azure.com/.default"], "credential_default_policy_type": "BearerTokenCredentialPolicy", "credential_default_policy_type_has_async_version": true, - "credential_key_header_name": null + "credential_key_header_name": null, + "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMHttpLoggingPolicy\"]}, \"local\": {\"._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}}", + "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMHttpLoggingPolicy\"]}, \"local\": {\".._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}}" }, "operation_groups": { "azure_firewalls": "AzureFirewallsOperations", @@ -106,19 +152,21 @@ "service_endpoint_policy_definitions": "ServiceEndpointPolicyDefinitionsOperations" }, "operation_mixins": { - "check_dns_name_availability" : { - "sync": { - "signature": "def check_dns_name_availability(\n self,\n location, # type: str\n domain_name_label, # type: str\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2018_07_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def check_dns_name_availability(\n self,\n location: str,\n domain_name_label: str,\n **kwargs\n) -\u003e \"_models.DnsNameAvailabilityResult\":\n", - "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2018_07_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "location, domain_name_label" + "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\"]}}}", + "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\"]}}}", + "operations": { + "check_dns_name_availability" : { + "sync": { + "signature": "def check_dns_name_availability(\n self,\n location, # type: str\n domain_name_label, # type: str\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2018_07_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def check_dns_name_availability(\n self,\n location: str,\n domain_name_label: str,\n **kwargs\n) -\u003e \"_models.DnsNameAvailabilityResult\":\n", + "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2018_07_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "location, domain_name_label" + } } - }, - "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\"]}}}", - "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\"]}}}" + } } \ No newline at end of file diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/_network_management_client.py index 14be6bf85bd5..7f844c89c8f1 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/_network_management_client.py @@ -16,6 +16,7 @@ from typing import Any, Optional from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse from ._configuration import NetworkManagementClientConfiguration from .operations import AzureFirewallsOperations @@ -204,6 +205,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.azure_firewalls = AzureFirewallsOperations( @@ -311,6 +313,24 @@ def __init__( self.service_endpoint_policy_definitions = ServiceEndpointPolicyDefinitionsOperations( self._client, self._config, self._serialize, self._deserialize) + def _send_request(self, http_request, **kwargs): + # type: (HttpRequest, Any) -> HttpResponse + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.HttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + def close(self): # type: () -> None self._client.close() diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/_network_management_client.py index 9c2bf22076ac..19896ec908f3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/_network_management_client.py @@ -8,6 +8,7 @@ from typing import Any, Optional, TYPE_CHECKING +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core import AsyncARMPipelineClient from msrest import Deserializer, Serializer @@ -201,6 +202,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.azure_firewalls = AzureFirewallsOperations( @@ -308,6 +310,23 @@ def __init__( self.service_endpoint_policy_definitions = ServiceEndpointPolicyDefinitionsOperations( self._client, self._config, self._serialize, self._deserialize) + async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + async def close(self) -> None: await self._client.close() diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_application_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_application_gateways_operations.py index 9d3c5726ae42..b22788511539 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_application_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_application_gateways_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_07_01.models.ApplicationGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGateway or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGateway or the result of cls(response) @@ -651,8 +651,8 @@ async def begin_start( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -757,8 +757,8 @@ async def begin_stop( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -876,8 +876,8 @@ async def begin_backend_health( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGatewayBackendHealth or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_application_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_application_security_groups_operations.py index 67d8de6971eb..198739068a5e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_application_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_application_security_groups_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type application_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -282,8 +282,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_07_01.models.ApplicationSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_azure_firewalls_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_azure_firewalls_operations.py index 3515bb0a1568..19f0dde458f6 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_azure_firewalls_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_azure_firewalls_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type azure_firewall_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_07_01.models.AzureFirewall :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AzureFirewall or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_connection_monitors_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_connection_monitors_operations.py index 94ce85aa39bb..60e756f23693 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_connection_monitors_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_connection_monitors_operations.py @@ -88,7 +88,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -123,8 +123,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_07_01.models.ConnectionMonitor :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionMonitorResult or the result of cls(response) @@ -231,7 +231,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('ConnectionMonitorResult', pipeline_response) @@ -281,7 +281,7 @@ async def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -306,8 +306,8 @@ async def begin_delete( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -397,7 +397,7 @@ async def _stop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -422,8 +422,8 @@ async def begin_stop( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -513,7 +513,7 @@ async def _start_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -538,8 +538,8 @@ async def begin_start( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -629,7 +629,7 @@ async def _query_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -661,8 +661,8 @@ async def begin_query( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionMonitorQueryResult or the result of cls(response) @@ -780,7 +780,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_ddos_protection_plans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_ddos_protection_plans_operations.py index b68798f0b83e..213df71ff82e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_ddos_protection_plans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_ddos_protection_plans_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type ddos_protection_plan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_07_01.models.DdosProtectionPlan :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either DdosProtectionPlan or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_express_route_circuit_authorizations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_express_route_circuit_authorizations_operations.py index 6d9ee90053bc..7a5bb0f1f20a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_express_route_circuit_authorizations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_express_route_circuit_authorizations_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type authorization_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type authorization_parameters: ~azure.mgmt.network.v2018_07_01.models.ExpressRouteCircuitAuthorization :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitAuthorization or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_express_route_circuit_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_express_route_circuit_connections_operations.py index d7fa122861c0..128f1a44adb4 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_express_route_circuit_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_express_route_circuit_connections_operations.py @@ -109,8 +109,8 @@ async def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -314,8 +314,8 @@ async def begin_create_or_update( :type express_route_circuit_connection_parameters: ~azure.mgmt.network.v2018_07_01.models.ExpressRouteCircuitConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitConnection or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_express_route_circuit_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_express_route_circuit_peerings_operations.py index 7d5d578f34f6..cd44b697a36e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_express_route_circuit_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_express_route_circuit_peerings_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2018_07_01.models.ExpressRouteCircuitPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_express_route_circuits_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_express_route_circuits_operations.py index aab13897d349..009fbd7ddf81 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_express_route_circuits_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_express_route_circuits_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type circuit_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_07_01.models.ExpressRouteCircuit :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -533,8 +533,8 @@ async def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -664,8 +664,8 @@ async def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) @@ -795,8 +795,8 @@ async def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableSummaryListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_express_route_cross_connection_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_express_route_cross_connection_peerings_operations.py index 9966bae21bc1..c6d00acd344e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_express_route_cross_connection_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_express_route_cross_connection_peerings_operations.py @@ -178,8 +178,8 @@ async def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -372,8 +372,8 @@ async def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2018_07_01.models.ExpressRouteCrossConnectionPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCrossConnectionPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_express_route_cross_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_express_route_cross_connections_operations.py index 6cd7a96a84f8..b778c400dd5d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_express_route_cross_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_express_route_cross_connections_operations.py @@ -308,8 +308,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_07_01.models.ExpressRouteCrossConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCrossConnection or the result of cls(response) @@ -433,8 +433,8 @@ async def begin_update_tags( :type cross_connection_parameters: ~azure.mgmt.network.v2018_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCrossConnection or the result of cls(response) @@ -561,8 +561,8 @@ async def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -692,8 +692,8 @@ async def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCrossConnectionsRoutesTableSummaryListResult or the result of cls(response) @@ -823,8 +823,8 @@ async def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_hub_virtual_network_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_hub_virtual_network_connections_operations.py index 222bfdea93d2..f0888644fb79 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_hub_virtual_network_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_hub_virtual_network_connections_operations.py @@ -93,7 +93,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('HubVirtualNetworkConnection', pipeline_response) @@ -168,7 +168,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_inbound_nat_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_inbound_nat_rules_operations.py index c3c348767a67..87a67db8079d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_inbound_nat_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_inbound_nat_rules_operations.py @@ -178,8 +178,8 @@ async def begin_delete( :type inbound_nat_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -377,8 +377,8 @@ async def begin_create_or_update( :type inbound_nat_rule_parameters: ~azure.mgmt.network.v2018_07_01.models.InboundNatRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either InboundNatRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_load_balancers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_load_balancers_operations.py index 707acd689031..582c451cba5d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_load_balancers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_load_balancers_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type load_balancer_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_07_01.models.LoadBalancer :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LoadBalancer or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LoadBalancer or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_local_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_local_network_gateways_operations.py index ee1988b215aa..ece7dae8a5b4 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_local_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_local_network_gateways_operations.py @@ -117,8 +117,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_07_01.models.LocalNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LocalNetworkGateway or the result of cls(response) @@ -285,8 +285,8 @@ async def begin_delete( :type local_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LocalNetworkGateway or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_network_interfaces_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_network_interfaces_operations.py index 92b6fcb66b0a..7907177ab357 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_network_interfaces_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_network_interfaces_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_07_01.models.NetworkInterface :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkInterface or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkInterface or the result of cls(response) @@ -663,8 +663,8 @@ async def begin_get_effective_route_table( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either EffectiveRouteListResult or the result of cls(response) @@ -779,8 +779,8 @@ async def begin_list_effective_network_security_groups( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either EffectiveNetworkSecurityGroupListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_network_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_network_security_groups_operations.py index ec43b9494f7f..b36580840653 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_network_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_network_security_groups_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type network_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -287,8 +287,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_07_01.models.NetworkSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkSecurityGroup or the result of cls(response) @@ -411,8 +411,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_network_watchers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_network_watchers_operations.py index 44d985883785..13226a055b3b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_network_watchers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_network_watchers_operations.py @@ -99,7 +99,7 @@ async def create_or_update( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -162,7 +162,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('NetworkWatcher', pipeline_response) @@ -210,7 +210,7 @@ async def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -232,8 +232,8 @@ async def begin_delete( :type network_watcher_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -338,7 +338,7 @@ async def update_tags( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('NetworkWatcher', pipeline_response) @@ -409,7 +409,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -476,7 +476,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -543,7 +543,7 @@ async def get_topology( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('Topology', pipeline_response) @@ -597,7 +597,7 @@ async def _verify_ip_flow_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -629,8 +629,8 @@ async def begin_verify_ip_flow( :type parameters: ~azure.mgmt.network.v2018_07_01.models.VerificationIPFlowParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VerificationIPFlowResult or the result of cls(response) @@ -726,7 +726,7 @@ async def _get_next_hop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -758,8 +758,8 @@ async def begin_get_next_hop( :type parameters: ~azure.mgmt.network.v2018_07_01.models.NextHopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NextHopResult or the result of cls(response) @@ -855,7 +855,7 @@ async def _get_vm_security_rules_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -887,8 +887,8 @@ async def begin_get_vm_security_rules( :type parameters: ~azure.mgmt.network.v2018_07_01.models.SecurityGroupViewParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either SecurityGroupViewResult or the result of cls(response) @@ -984,7 +984,7 @@ async def _get_troubleshooting_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1016,8 +1016,8 @@ async def begin_get_troubleshooting( :type parameters: ~azure.mgmt.network.v2018_07_01.models.TroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1113,7 +1113,7 @@ async def _get_troubleshooting_result_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1145,8 +1145,8 @@ async def begin_get_troubleshooting_result( :type parameters: ~azure.mgmt.network.v2018_07_01.models.QueryTroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1242,7 +1242,7 @@ async def _set_flow_log_configuration_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1274,8 +1274,8 @@ async def begin_set_flow_log_configuration( :type parameters: ~azure.mgmt.network.v2018_07_01.models.FlowLogInformation :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1371,7 +1371,7 @@ async def _get_flow_log_status_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1404,8 +1404,8 @@ async def begin_get_flow_log_status( :type parameters: ~azure.mgmt.network.v2018_07_01.models.FlowLogStatusParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1501,7 +1501,7 @@ async def _check_connectivity_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1534,8 +1534,8 @@ async def begin_check_connectivity( :type parameters: ~azure.mgmt.network.v2018_07_01.models.ConnectivityParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectivityInformation or the result of cls(response) @@ -1631,7 +1631,7 @@ async def _get_azure_reachability_report_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1664,8 +1664,8 @@ async def begin_get_azure_reachability_report( :type parameters: ~azure.mgmt.network.v2018_07_01.models.AzureReachabilityReportParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AzureReachabilityReport or the result of cls(response) @@ -1761,7 +1761,7 @@ async def _list_available_providers_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1793,8 +1793,8 @@ async def begin_list_available_providers( :type parameters: ~azure.mgmt.network.v2018_07_01.models.AvailableProvidersListParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AvailableProvidersList or the result of cls(response) @@ -1890,7 +1890,7 @@ async def _get_network_configuration_diagnostic_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1922,8 +1922,8 @@ async def begin_get_network_configuration_diagnostic( :type parameters: ~azure.mgmt.network.v2018_07_01.models.NetworkConfigurationDiagnosticParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkConfigurationDiagnosticResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_packet_captures_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_packet_captures_operations.py index 22ed6c445c5d..6ebda01d39e4 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_packet_captures_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_packet_captures_operations.py @@ -88,7 +88,7 @@ async def _create_initial( if response.status_code not in [201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PacketCaptureResult', pipeline_response) @@ -119,8 +119,8 @@ async def begin_create( :type parameters: ~azure.mgmt.network.v2018_07_01.models.PacketCapture :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PacketCaptureResult or the result of cls(response) @@ -227,7 +227,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PacketCaptureResult', pipeline_response) @@ -277,7 +277,7 @@ async def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -302,8 +302,8 @@ async def begin_delete( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -393,7 +393,7 @@ async def _stop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -418,8 +418,8 @@ async def begin_stop( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -509,7 +509,7 @@ async def _get_status_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -541,8 +541,8 @@ async def begin_get_status( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PacketCaptureQueryStatusResult or the result of cls(response) @@ -660,7 +660,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_public_ip_addresses_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_public_ip_addresses_operations.py index 03b159a1ccb2..70c16db9991d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_public_ip_addresses_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_public_ip_addresses_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type public_ip_address_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_07_01.models.PublicIPAddress :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PublicIPAddress or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PublicIPAddress or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_public_ip_prefixes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_public_ip_prefixes_operations.py index de80cd2c5c11..05d13cee6793 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_public_ip_prefixes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_public_ip_prefixes_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type public_ip_prefix_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_07_01.models.PublicIPPrefix :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PublicIPPrefix or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PublicIPPrefix or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_route_filter_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_route_filter_rules_operations.py index e2ce27427467..5c53287ddd01 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_route_filter_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_route_filter_rules_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2018_07_01.models.RouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilterRule or the result of cls(response) @@ -430,8 +430,8 @@ async def begin_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2018_07_01.models.PatchRouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilterRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_route_filters_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_route_filters_operations.py index 7cd157466ea7..bbae80994baa 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_route_filters_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_route_filters_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type route_filter_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -287,8 +287,8 @@ async def begin_create_or_update( :type route_filter_parameters: ~azure.mgmt.network.v2018_07_01.models.RouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilter or the result of cls(response) @@ -411,8 +411,8 @@ async def begin_update( :type route_filter_parameters: ~azure.mgmt.network.v2018_07_01.models.PatchRouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilter or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_route_tables_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_route_tables_operations.py index ef57a3cd6439..498c2b929c74 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_route_tables_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_route_tables_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_07_01.models.RouteTable :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteTable or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteTable or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_routes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_routes_operations.py index 1cfaca6f7eeb..07598c07d52b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_routes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_routes_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type route_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ async def begin_create_or_update( :type route_parameters: ~azure.mgmt.network.v2018_07_01.models.Route :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Route or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_security_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_security_rules_operations.py index 11b11c5d27b4..24475ca3788c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_security_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_security_rules_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type security_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type security_rule_parameters: ~azure.mgmt.network.v2018_07_01.models.SecurityRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either SecurityRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_service_endpoint_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_service_endpoint_policies_operations.py index d341f641e26a..d9d3c1ac91be 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_service_endpoint_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_service_endpoint_policies_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type service_endpoint_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -287,8 +287,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_07_01.models.ServiceEndpointPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ServiceEndpointPolicy or the result of cls(response) @@ -411,8 +411,8 @@ async def begin_update( :type parameters: ~azure.mgmt.network.v2018_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ServiceEndpointPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_service_endpoint_policy_definitions_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_service_endpoint_policy_definitions_operations.py index 8dbeea3e3ca5..198ed5ec041b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_service_endpoint_policy_definitions_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_service_endpoint_policy_definitions_operations.py @@ -105,8 +105,8 @@ async def begin_delete( :type service_endpoint_policy_definition_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -302,8 +302,8 @@ async def begin_create_or_update( :type service_endpoint_policy_definitions: ~azure.mgmt.network.v2018_07_01.models.ServiceEndpointPolicyDefinition :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ServiceEndpointPolicyDefinition or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_subnets_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_subnets_operations.py index 98f75afa3d00..d5c9d9be868e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_subnets_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_subnets_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type subnet_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -302,8 +302,8 @@ async def begin_create_or_update( :type subnet_parameters: ~azure.mgmt.network.v2018_07_01.models.Subnet :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Subnet or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_virtual_hubs_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_virtual_hubs_operations.py index 41fba023a98c..ca1d51d0798b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_virtual_hubs_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_virtual_hubs_operations.py @@ -91,7 +91,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualHub', pipeline_response) @@ -145,7 +145,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -177,8 +177,8 @@ async def begin_create_or_update( :type virtual_hub_parameters: ~azure.mgmt.network.v2018_07_01.models.VirtualHub :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualHub or the result of cls(response) @@ -274,7 +274,7 @@ async def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -306,8 +306,8 @@ async def begin_update_tags( :type virtual_hub_parameters: ~azure.mgmt.network.v2018_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualHub or the result of cls(response) @@ -397,7 +397,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -419,8 +419,8 @@ async def begin_delete( :type virtual_hub_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -529,7 +529,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -596,7 +596,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_virtual_network_gateway_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_virtual_network_gateway_connections_operations.py index b2f119968a8d..4dda55aa04d9 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_virtual_network_gateway_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_virtual_network_gateway_connections_operations.py @@ -119,8 +119,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_07_01.models.VirtualNetworkGatewayConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -289,8 +289,8 @@ async def begin_delete( :type virtual_network_gateway_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -541,8 +541,8 @@ async def begin_set_shared_key( :type parameters: ~azure.mgmt.network.v2018_07_01.models.ConnectionSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionSharedKey or the result of cls(response) @@ -802,8 +802,8 @@ async def begin_reset_shared_key( :type parameters: ~azure.mgmt.network.v2018_07_01.models.ConnectionResetSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionResetSharedKey or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_virtual_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_virtual_network_gateways_operations.py index 5158fd21a210..db5981deaad8 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_virtual_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_virtual_network_gateways_operations.py @@ -117,8 +117,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_07_01.models.VirtualNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -285,8 +285,8 @@ async def begin_delete( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -673,8 +673,8 @@ async def begin_reset( :type gateway_vip: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -801,8 +801,8 @@ async def begin_generatevpnclientpackage( :type parameters: ~azure.mgmt.network.v2018_07_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -929,8 +929,8 @@ async def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2018_07_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1047,8 +1047,8 @@ async def begin_get_vpn_profile_package_url( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1169,8 +1169,8 @@ async def begin_get_bgp_peer_status( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either BgpPeerStatusListResult or the result of cls(response) @@ -1345,8 +1345,8 @@ async def begin_get_learned_routes( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1467,8 +1467,8 @@ async def begin_get_advertised_routes( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1595,8 +1595,8 @@ async def begin_set_vpnclient_ipsec_parameters( :type vpnclient_ipsec_params: ~azure.mgmt.network.v2018_07_01.models.VpnClientIPsecParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnClientIPsecParameters or the result of cls(response) @@ -1712,8 +1712,8 @@ async def begin_get_vpnclient_ipsec_parameters( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnClientIPsecParameters or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_virtual_network_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_virtual_network_peerings_operations.py index 0f04d8fd16c1..ba7709bffca0 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_virtual_network_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_virtual_network_peerings_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type virtual_network_peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type virtual_network_peering_parameters: ~azure.mgmt.network.v2018_07_01.models.VirtualNetworkPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_virtual_networks_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_virtual_networks_operations.py index 0cb2d54b6a9b..47d4ec7a4637 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_virtual_networks_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_virtual_networks_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type virtual_network_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_07_01.models.VirtualNetwork :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetwork or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetwork or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_virtual_wans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_virtual_wans_operations.py index fe0a31731f0c..b5dc922e4348 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_virtual_wans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_virtual_wans_operations.py @@ -91,7 +91,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualWAN', pipeline_response) @@ -145,7 +145,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -177,8 +177,8 @@ async def begin_create_or_update( :type wan_parameters: ~azure.mgmt.network.v2018_07_01.models.VirtualWAN :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualWAN or the result of cls(response) @@ -274,7 +274,7 @@ async def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -306,8 +306,8 @@ async def begin_update_tags( :type wan_parameters: ~azure.mgmt.network.v2018_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualWAN or the result of cls(response) @@ -397,7 +397,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -419,8 +419,8 @@ async def begin_delete( :type virtual_wan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -529,7 +529,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -596,7 +596,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_vpn_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_vpn_connections_operations.py index 85952b0431e9..03487ed13701 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_vpn_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_vpn_connections_operations.py @@ -95,7 +95,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VpnConnection', pipeline_response) @@ -151,7 +151,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -187,8 +187,8 @@ async def begin_create_or_update( :type vpn_connection_parameters: ~azure.mgmt.network.v2018_07_01.models.VpnConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnConnection or the result of cls(response) @@ -282,7 +282,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -307,8 +307,8 @@ async def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -423,7 +423,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_vpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_vpn_gateways_operations.py index a3a03ff2f442..b5192052fe92 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_vpn_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_vpn_gateways_operations.py @@ -91,7 +91,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VpnGateway', pipeline_response) @@ -145,7 +145,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -178,8 +178,8 @@ async def begin_create_or_update( :type vpn_gateway_parameters: ~azure.mgmt.network.v2018_07_01.models.VpnGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnGateway or the result of cls(response) @@ -275,7 +275,7 @@ async def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -307,8 +307,8 @@ async def begin_update_tags( :type vpn_gateway_parameters: ~azure.mgmt.network.v2018_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnGateway or the result of cls(response) @@ -398,7 +398,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -420,8 +420,8 @@ async def begin_delete( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -530,7 +530,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -597,7 +597,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_vpn_sites_configuration_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_vpn_sites_configuration_operations.py index ae522e656691..4c9f0608f2e7 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_vpn_sites_configuration_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_vpn_sites_configuration_operations.py @@ -85,7 +85,7 @@ async def _download_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -111,8 +111,8 @@ async def begin_download( :type request: ~azure.mgmt.network.v2018_07_01.models.GetVpnSitesConfigurationRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_vpn_sites_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_vpn_sites_operations.py index 30c189724e5a..197c1d65d8d3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_vpn_sites_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/aio/operations/_vpn_sites_operations.py @@ -91,7 +91,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VpnSite', pipeline_response) @@ -145,7 +145,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -177,8 +177,8 @@ async def begin_create_or_update( :type vpn_site_parameters: ~azure.mgmt.network.v2018_07_01.models.VpnSite :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnSite or the result of cls(response) @@ -274,7 +274,7 @@ async def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -306,8 +306,8 @@ async def begin_update_tags( :type vpn_site_parameters: ~azure.mgmt.network.v2018_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnSite or the result of cls(response) @@ -397,7 +397,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -419,8 +419,8 @@ async def begin_delete( :type vpn_site_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -529,7 +529,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -596,7 +596,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/models/_models.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/models/_models.py index e77cabbbbe2e..ff121ed666a0 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/models/_models.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/models/_models.py @@ -7745,8 +7745,8 @@ class PacketCaptureStorageLocation(msrest.serialization.Model): :param storage_id: The ID of the storage account to save the packet capture session. Required if no local file path is provided. :type storage_id: str - :param storage_path: The URI of the storage path to save the packet capture. Must be a well- - formed URI describing the location to save the packet capture. + :param storage_path: The URI of the storage path to save the packet capture. Must be a + well-formed URI describing the location to save the packet capture. :type storage_path: str :param file_path: A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no @@ -10666,8 +10666,8 @@ class VirtualNetworkPeering(SubResource): :type use_remote_gateways: bool :param remote_virtual_network: The reference of the remote virtual network. The remote virtual network can be in the same or different region (preview). See here to register for the preview - and learn more (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create- - peering). + and learn more + (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering). :type remote_virtual_network: ~azure.mgmt.network.v2018_07_01.models.SubResource :param remote_address_space: The reference of the remote virtual network address space. :type remote_address_space: ~azure.mgmt.network.v2018_07_01.models.AddressSpace diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/models/_models_py3.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/models/_models_py3.py index 07738ecfd483..e5dfb2fffd22 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/models/_models_py3.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/models/_models_py3.py @@ -8783,8 +8783,8 @@ class PacketCaptureStorageLocation(msrest.serialization.Model): :param storage_id: The ID of the storage account to save the packet capture session. Required if no local file path is provided. :type storage_id: str - :param storage_path: The URI of the storage path to save the packet capture. Must be a well- - formed URI describing the location to save the packet capture. + :param storage_path: The URI of the storage path to save the packet capture. Must be a + well-formed URI describing the location to save the packet capture. :type storage_path: str :param file_path: A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no @@ -12076,8 +12076,8 @@ class VirtualNetworkPeering(SubResource): :type use_remote_gateways: bool :param remote_virtual_network: The reference of the remote virtual network. The remote virtual network can be in the same or different region (preview). See here to register for the preview - and learn more (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create- - peering). + and learn more + (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering). :type remote_virtual_network: ~azure.mgmt.network.v2018_07_01.models.SubResource :param remote_address_space: The reference of the remote virtual network address space. :type remote_address_space: ~azure.mgmt.network.v2018_07_01.models.AddressSpace diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_application_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_application_gateways_operations.py index 2b986815f6a1..17a5177d7f47 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_application_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_application_gateways_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_07_01.models.ApplicationGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGateway or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGateway or the result of cls(response) @@ -666,8 +666,8 @@ def begin_start( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -774,8 +774,8 @@ def begin_stop( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -895,8 +895,8 @@ def begin_backend_health( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGatewayBackendHealth or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_application_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_application_security_groups_operations.py index 66fb779d3d49..b8553514f29b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_application_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_application_security_groups_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type application_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -291,8 +291,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_07_01.models.ApplicationSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_azure_firewalls_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_azure_firewalls_operations.py index 3d384b24fcf5..7f686c2f4384 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_azure_firewalls_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_azure_firewalls_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type azure_firewall_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_07_01.models.AzureFirewall :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AzureFirewall or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_connection_monitors_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_connection_monitors_operations.py index 032308c1328b..1ec9608fe661 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_connection_monitors_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_connection_monitors_operations.py @@ -93,7 +93,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -129,8 +129,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_07_01.models.ConnectionMonitor :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionMonitorResult or the result of cls(response) @@ -238,7 +238,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('ConnectionMonitorResult', pipeline_response) @@ -289,7 +289,7 @@ def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -315,8 +315,8 @@ def begin_delete( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -407,7 +407,7 @@ def _stop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -433,8 +433,8 @@ def begin_stop( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -525,7 +525,7 @@ def _start_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -551,8 +551,8 @@ def begin_start( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -643,7 +643,7 @@ def _query_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -676,8 +676,8 @@ def begin_query( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionMonitorQueryResult or the result of cls(response) @@ -796,7 +796,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_ddos_protection_plans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_ddos_protection_plans_operations.py index c3b91559e868..adac13169fdc 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_ddos_protection_plans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_ddos_protection_plans_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type ddos_protection_plan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_07_01.models.DdosProtectionPlan :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either DdosProtectionPlan or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_express_route_circuit_authorizations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_express_route_circuit_authorizations_operations.py index f95640e9b902..b86f143071c7 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_express_route_circuit_authorizations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_express_route_circuit_authorizations_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type authorization_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type authorization_parameters: ~azure.mgmt.network.v2018_07_01.models.ExpressRouteCircuitAuthorization :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitAuthorization or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_express_route_circuit_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_express_route_circuit_connections_operations.py index 3c427872f107..88ed4ddbd76f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_express_route_circuit_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_express_route_circuit_connections_operations.py @@ -115,8 +115,8 @@ def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -323,8 +323,8 @@ def begin_create_or_update( :type express_route_circuit_connection_parameters: ~azure.mgmt.network.v2018_07_01.models.ExpressRouteCircuitConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitConnection or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_express_route_circuit_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_express_route_circuit_peerings_operations.py index aee670164efc..d9a1b10b0178 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_express_route_circuit_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_express_route_circuit_peerings_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2018_07_01.models.ExpressRouteCircuitPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_express_route_circuits_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_express_route_circuits_operations.py index 1e3f1c43faa2..fd83ca6027f8 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_express_route_circuits_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_express_route_circuits_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type circuit_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_07_01.models.ExpressRouteCircuit :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -546,8 +546,8 @@ def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -679,8 +679,8 @@ def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) @@ -812,8 +812,8 @@ def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableSummaryListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_express_route_cross_connection_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_express_route_cross_connection_peerings_operations.py index be07b03c2683..a433ae2e44a3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_express_route_cross_connection_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_express_route_cross_connection_peerings_operations.py @@ -185,8 +185,8 @@ def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -382,8 +382,8 @@ def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2018_07_01.models.ExpressRouteCrossConnectionPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCrossConnectionPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_express_route_cross_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_express_route_cross_connections_operations.py index 977cc09b7363..98fb9270e146 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_express_route_cross_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_express_route_cross_connections_operations.py @@ -317,8 +317,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_07_01.models.ExpressRouteCrossConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCrossConnection or the result of cls(response) @@ -444,8 +444,8 @@ def begin_update_tags( :type cross_connection_parameters: ~azure.mgmt.network.v2018_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCrossConnection or the result of cls(response) @@ -574,8 +574,8 @@ def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -707,8 +707,8 @@ def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCrossConnectionsRoutesTableSummaryListResult or the result of cls(response) @@ -840,8 +840,8 @@ def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_hub_virtual_network_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_hub_virtual_network_connections_operations.py index b1503217a93c..d98ccff3f5fd 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_hub_virtual_network_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_hub_virtual_network_connections_operations.py @@ -98,7 +98,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('HubVirtualNetworkConnection', pipeline_response) @@ -174,7 +174,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_inbound_nat_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_inbound_nat_rules_operations.py index 52f7f6467190..a273b3b14bf3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_inbound_nat_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_inbound_nat_rules_operations.py @@ -185,8 +185,8 @@ def begin_delete( :type inbound_nat_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -387,8 +387,8 @@ def begin_create_or_update( :type inbound_nat_rule_parameters: ~azure.mgmt.network.v2018_07_01.models.InboundNatRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either InboundNatRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_load_balancers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_load_balancers_operations.py index e923e9811e1b..0b682f196e90 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_load_balancers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_load_balancers_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type load_balancer_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_07_01.models.LoadBalancer :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LoadBalancer or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LoadBalancer or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_local_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_local_network_gateways_operations.py index 167e94f2f447..5a218b3962f0 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_local_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_local_network_gateways_operations.py @@ -123,8 +123,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_07_01.models.LocalNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LocalNetworkGateway or the result of cls(response) @@ -294,8 +294,8 @@ def begin_delete( :type local_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LocalNetworkGateway or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_network_interfaces_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_network_interfaces_operations.py index cc4770cf96b4..cd5b20ff0c60 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_network_interfaces_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_network_interfaces_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_07_01.models.NetworkInterface :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkInterface or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkInterface or the result of cls(response) @@ -678,8 +678,8 @@ def begin_get_effective_route_table( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either EffectiveRouteListResult or the result of cls(response) @@ -796,8 +796,8 @@ def begin_list_effective_network_security_groups( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either EffectiveNetworkSecurityGroupListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_network_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_network_security_groups_operations.py index 5d52b5229bd2..62e52e0a6599 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_network_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_network_security_groups_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type network_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -296,8 +296,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_07_01.models.NetworkSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkSecurityGroup or the result of cls(response) @@ -422,8 +422,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_network_watchers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_network_watchers_operations.py index 8ca08ea0ff82..4f8b293b238c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_network_watchers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_network_watchers_operations.py @@ -104,7 +104,7 @@ def create_or_update( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -168,7 +168,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('NetworkWatcher', pipeline_response) @@ -217,7 +217,7 @@ def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -240,8 +240,8 @@ def begin_delete( :type network_watcher_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -347,7 +347,7 @@ def update_tags( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('NetworkWatcher', pipeline_response) @@ -419,7 +419,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -487,7 +487,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -555,7 +555,7 @@ def get_topology( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('Topology', pipeline_response) @@ -610,7 +610,7 @@ def _verify_ip_flow_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -643,8 +643,8 @@ def begin_verify_ip_flow( :type parameters: ~azure.mgmt.network.v2018_07_01.models.VerificationIPFlowParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VerificationIPFlowResult or the result of cls(response) @@ -741,7 +741,7 @@ def _get_next_hop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -774,8 +774,8 @@ def begin_get_next_hop( :type parameters: ~azure.mgmt.network.v2018_07_01.models.NextHopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NextHopResult or the result of cls(response) @@ -872,7 +872,7 @@ def _get_vm_security_rules_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -905,8 +905,8 @@ def begin_get_vm_security_rules( :type parameters: ~azure.mgmt.network.v2018_07_01.models.SecurityGroupViewParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either SecurityGroupViewResult or the result of cls(response) @@ -1003,7 +1003,7 @@ def _get_troubleshooting_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1036,8 +1036,8 @@ def begin_get_troubleshooting( :type parameters: ~azure.mgmt.network.v2018_07_01.models.TroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1134,7 +1134,7 @@ def _get_troubleshooting_result_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1167,8 +1167,8 @@ def begin_get_troubleshooting_result( :type parameters: ~azure.mgmt.network.v2018_07_01.models.QueryTroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1265,7 +1265,7 @@ def _set_flow_log_configuration_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1298,8 +1298,8 @@ def begin_set_flow_log_configuration( :type parameters: ~azure.mgmt.network.v2018_07_01.models.FlowLogInformation :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1396,7 +1396,7 @@ def _get_flow_log_status_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1430,8 +1430,8 @@ def begin_get_flow_log_status( :type parameters: ~azure.mgmt.network.v2018_07_01.models.FlowLogStatusParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1528,7 +1528,7 @@ def _check_connectivity_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1562,8 +1562,8 @@ def begin_check_connectivity( :type parameters: ~azure.mgmt.network.v2018_07_01.models.ConnectivityParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectivityInformation or the result of cls(response) @@ -1660,7 +1660,7 @@ def _get_azure_reachability_report_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1694,8 +1694,8 @@ def begin_get_azure_reachability_report( :type parameters: ~azure.mgmt.network.v2018_07_01.models.AzureReachabilityReportParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AzureReachabilityReport or the result of cls(response) @@ -1792,7 +1792,7 @@ def _list_available_providers_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1825,8 +1825,8 @@ def begin_list_available_providers( :type parameters: ~azure.mgmt.network.v2018_07_01.models.AvailableProvidersListParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AvailableProvidersList or the result of cls(response) @@ -1923,7 +1923,7 @@ def _get_network_configuration_diagnostic_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1956,8 +1956,8 @@ def begin_get_network_configuration_diagnostic( :type parameters: ~azure.mgmt.network.v2018_07_01.models.NetworkConfigurationDiagnosticParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkConfigurationDiagnosticResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_packet_captures_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_packet_captures_operations.py index 3fd4fee0c166..eca1236aa7c8 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_packet_captures_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_packet_captures_operations.py @@ -93,7 +93,7 @@ def _create_initial( if response.status_code not in [201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PacketCaptureResult', pipeline_response) @@ -125,8 +125,8 @@ def begin_create( :type parameters: ~azure.mgmt.network.v2018_07_01.models.PacketCapture :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PacketCaptureResult or the result of cls(response) @@ -234,7 +234,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PacketCaptureResult', pipeline_response) @@ -285,7 +285,7 @@ def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -311,8 +311,8 @@ def begin_delete( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -403,7 +403,7 @@ def _stop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -429,8 +429,8 @@ def begin_stop( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -521,7 +521,7 @@ def _get_status_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -554,8 +554,8 @@ def begin_get_status( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PacketCaptureQueryStatusResult or the result of cls(response) @@ -674,7 +674,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_public_ip_addresses_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_public_ip_addresses_operations.py index 892a54e2a58a..0fb05dbe0f1c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_public_ip_addresses_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_public_ip_addresses_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type public_ip_address_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_07_01.models.PublicIPAddress :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PublicIPAddress or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PublicIPAddress or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_public_ip_prefixes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_public_ip_prefixes_operations.py index 2b96d2d9e277..ae8b1e95d398 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_public_ip_prefixes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_public_ip_prefixes_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type public_ip_prefix_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_07_01.models.PublicIPPrefix :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PublicIPPrefix or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PublicIPPrefix or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_route_filter_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_route_filter_rules_operations.py index cf6f23389128..9a9cbde71904 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_route_filter_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_route_filter_rules_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2018_07_01.models.RouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilterRule or the result of cls(response) @@ -441,8 +441,8 @@ def begin_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2018_07_01.models.PatchRouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilterRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_route_filters_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_route_filters_operations.py index c78d9042ab87..98d6fe39d008 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_route_filters_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_route_filters_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type route_filter_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -296,8 +296,8 @@ def begin_create_or_update( :type route_filter_parameters: ~azure.mgmt.network.v2018_07_01.models.RouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilter or the result of cls(response) @@ -422,8 +422,8 @@ def begin_update( :type route_filter_parameters: ~azure.mgmt.network.v2018_07_01.models.PatchRouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilter or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_route_tables_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_route_tables_operations.py index 6cc35ec222b4..a219f6da4f5c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_route_tables_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_route_tables_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_07_01.models.RouteTable :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteTable or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteTable or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_routes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_routes_operations.py index 129944c727e3..b668ccd6fcbd 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_routes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_routes_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type route_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -306,8 +306,8 @@ def begin_create_or_update( :type route_parameters: ~azure.mgmt.network.v2018_07_01.models.Route :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Route or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_security_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_security_rules_operations.py index 13e10c9192ad..f4403d90787c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_security_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_security_rules_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type security_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type security_rule_parameters: ~azure.mgmt.network.v2018_07_01.models.SecurityRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either SecurityRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_service_endpoint_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_service_endpoint_policies_operations.py index 427db6cf6a8c..f25be83c27fe 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_service_endpoint_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_service_endpoint_policies_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type service_endpoint_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -296,8 +296,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_07_01.models.ServiceEndpointPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ServiceEndpointPolicy or the result of cls(response) @@ -422,8 +422,8 @@ def begin_update( :type parameters: ~azure.mgmt.network.v2018_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ServiceEndpointPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_service_endpoint_policy_definitions_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_service_endpoint_policy_definitions_operations.py index 9c00ddb2b1bf..6cda7e708674 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_service_endpoint_policy_definitions_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_service_endpoint_policy_definitions_operations.py @@ -111,8 +111,8 @@ def begin_delete( :type service_endpoint_policy_definition_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -311,8 +311,8 @@ def begin_create_or_update( :type service_endpoint_policy_definitions: ~azure.mgmt.network.v2018_07_01.models.ServiceEndpointPolicyDefinition :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ServiceEndpointPolicyDefinition or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_subnets_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_subnets_operations.py index 329e27594a09..7c85bd14c73c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_subnets_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_subnets_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type subnet_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -311,8 +311,8 @@ def begin_create_or_update( :type subnet_parameters: ~azure.mgmt.network.v2018_07_01.models.Subnet :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Subnet or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_virtual_hubs_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_virtual_hubs_operations.py index 9f45b2a964c6..c1c65100752c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_virtual_hubs_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_virtual_hubs_operations.py @@ -96,7 +96,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualHub', pipeline_response) @@ -151,7 +151,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -184,8 +184,8 @@ def begin_create_or_update( :type virtual_hub_parameters: ~azure.mgmt.network.v2018_07_01.models.VirtualHub :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualHub or the result of cls(response) @@ -282,7 +282,7 @@ def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -315,8 +315,8 @@ def begin_update_tags( :type virtual_hub_parameters: ~azure.mgmt.network.v2018_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualHub or the result of cls(response) @@ -407,7 +407,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -430,8 +430,8 @@ def begin_delete( :type virtual_hub_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -541,7 +541,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -609,7 +609,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_virtual_network_gateway_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_virtual_network_gateway_connections_operations.py index 16d9d5834627..867c07f62866 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_virtual_network_gateway_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_virtual_network_gateway_connections_operations.py @@ -125,8 +125,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_07_01.models.VirtualNetworkGatewayConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -298,8 +298,8 @@ def begin_delete( :type virtual_network_gateway_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -554,8 +554,8 @@ def begin_set_shared_key( :type parameters: ~azure.mgmt.network.v2018_07_01.models.ConnectionSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionSharedKey or the result of cls(response) @@ -819,8 +819,8 @@ def begin_reset_shared_key( :type parameters: ~azure.mgmt.network.v2018_07_01.models.ConnectionResetSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionResetSharedKey or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_virtual_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_virtual_network_gateways_operations.py index 5d7332548eb5..3019c0cb65f0 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_virtual_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_virtual_network_gateways_operations.py @@ -123,8 +123,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_07_01.models.VirtualNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -294,8 +294,8 @@ def begin_delete( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -688,8 +688,8 @@ def begin_reset( :type gateway_vip: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -818,8 +818,8 @@ def begin_generatevpnclientpackage( :type parameters: ~azure.mgmt.network.v2018_07_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -948,8 +948,8 @@ def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2018_07_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1068,8 +1068,8 @@ def begin_get_vpn_profile_package_url( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1192,8 +1192,8 @@ def begin_get_bgp_peer_status( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either BgpPeerStatusListResult or the result of cls(response) @@ -1371,8 +1371,8 @@ def begin_get_learned_routes( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1495,8 +1495,8 @@ def begin_get_advertised_routes( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1625,8 +1625,8 @@ def begin_set_vpnclient_ipsec_parameters( :type vpnclient_ipsec_params: ~azure.mgmt.network.v2018_07_01.models.VpnClientIPsecParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnClientIPsecParameters or the result of cls(response) @@ -1744,8 +1744,8 @@ def begin_get_vpnclient_ipsec_parameters( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnClientIPsecParameters or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_virtual_network_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_virtual_network_peerings_operations.py index 8bd2cd7eddd3..cfaaefb5f7fa 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_virtual_network_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_virtual_network_peerings_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type virtual_network_peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type virtual_network_peering_parameters: ~azure.mgmt.network.v2018_07_01.models.VirtualNetworkPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_virtual_networks_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_virtual_networks_operations.py index f9943c9bc95f..81aa4686e4bd 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_virtual_networks_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_virtual_networks_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type virtual_network_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_07_01.models.VirtualNetwork :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetwork or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetwork or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_virtual_wans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_virtual_wans_operations.py index 7d89d89d692e..3ddfe4addad0 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_virtual_wans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_virtual_wans_operations.py @@ -96,7 +96,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualWAN', pipeline_response) @@ -151,7 +151,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -184,8 +184,8 @@ def begin_create_or_update( :type wan_parameters: ~azure.mgmt.network.v2018_07_01.models.VirtualWAN :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualWAN or the result of cls(response) @@ -282,7 +282,7 @@ def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -315,8 +315,8 @@ def begin_update_tags( :type wan_parameters: ~azure.mgmt.network.v2018_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualWAN or the result of cls(response) @@ -407,7 +407,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -430,8 +430,8 @@ def begin_delete( :type virtual_wan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -541,7 +541,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -609,7 +609,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_vpn_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_vpn_connections_operations.py index bb68e8c95264..a046ca6400c0 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_vpn_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_vpn_connections_operations.py @@ -100,7 +100,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VpnConnection', pipeline_response) @@ -157,7 +157,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -194,8 +194,8 @@ def begin_create_or_update( :type vpn_connection_parameters: ~azure.mgmt.network.v2018_07_01.models.VpnConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnConnection or the result of cls(response) @@ -290,7 +290,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -316,8 +316,8 @@ def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -433,7 +433,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_vpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_vpn_gateways_operations.py index cc10e82b8cdb..f9105ff83d30 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_vpn_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_vpn_gateways_operations.py @@ -96,7 +96,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VpnGateway', pipeline_response) @@ -151,7 +151,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -185,8 +185,8 @@ def begin_create_or_update( :type vpn_gateway_parameters: ~azure.mgmt.network.v2018_07_01.models.VpnGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnGateway or the result of cls(response) @@ -283,7 +283,7 @@ def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -316,8 +316,8 @@ def begin_update_tags( :type vpn_gateway_parameters: ~azure.mgmt.network.v2018_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnGateway or the result of cls(response) @@ -408,7 +408,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -431,8 +431,8 @@ def begin_delete( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -542,7 +542,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -610,7 +610,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_vpn_sites_configuration_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_vpn_sites_configuration_operations.py index 91e80e906ba1..c7603b0696c4 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_vpn_sites_configuration_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_vpn_sites_configuration_operations.py @@ -90,7 +90,7 @@ def _download_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -117,8 +117,8 @@ def begin_download( :type request: ~azure.mgmt.network.v2018_07_01.models.GetVpnSitesConfigurationRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_vpn_sites_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_vpn_sites_operations.py index f0ccd741c1e1..47d359943f8d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_vpn_sites_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_07_01/operations/_vpn_sites_operations.py @@ -96,7 +96,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VpnSite', pipeline_response) @@ -151,7 +151,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -184,8 +184,8 @@ def begin_create_or_update( :type vpn_site_parameters: ~azure.mgmt.network.v2018_07_01.models.VpnSite :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnSite or the result of cls(response) @@ -282,7 +282,7 @@ def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -315,8 +315,8 @@ def begin_update_tags( :type vpn_site_parameters: ~azure.mgmt.network.v2018_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnSite or the result of cls(response) @@ -407,7 +407,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -430,8 +430,8 @@ def begin_delete( :type vpn_site_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -541,7 +541,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -609,7 +609,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/_metadata.json b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/_metadata.json index 42f7724eec2e..c390998b7027 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/_metadata.json +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/_metadata.json @@ -9,7 +9,9 @@ "custom_base_url": null, "azure_arm": true, "has_lro_operations": true, - "client_side_validation": true + "client_side_validation": false, + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"NetworkManagementClientConfiguration\"], \"._operations_mixin\": [\"NetworkManagementClientOperationsMixin\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"NetworkManagementClientConfiguration\"], \"._operations_mixin\": [\"NetworkManagementClientOperationsMixin\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}" }, "global_parameters": { "sync": { @@ -28,13 +30,13 @@ }, "async": { "credential": { - "signature": "credential, # type: \"AsyncTokenCredential\"", + "signature": "credential: \"AsyncTokenCredential\",", "description": "Credential needed for the client to connect to Azure.", "docstring_type": "~azure.core.credentials_async.AsyncTokenCredential", "required": true }, "subscription_id": { - "signature": "subscription_id, # type: str", + "signature": "subscription_id: str,", "description": "The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.", "docstring_type": "str", "required": true @@ -42,14 +44,58 @@ }, "constant": { }, - "call": "credential, subscription_id" + "call": "credential, subscription_id", + "service_client_specific": { + "sync": { + "api_version": { + "signature": "api_version=None, # type: Optional[str]", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url=None, # type: Optional[str]", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile=KnownProfiles.default, # type: KnownProfiles", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + }, + "async": { + "api_version": { + "signature": "api_version: Optional[str] = None,", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url: Optional[str] = None,", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile: KnownProfiles = KnownProfiles.default,", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + } + } }, "config": { "credential": true, "credential_scopes": ["https://management.azure.com/.default"], "credential_default_policy_type": "BearerTokenCredentialPolicy", "credential_default_policy_type_has_async_version": true, - "credential_key_header_name": null + "credential_key_header_name": null, + "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMHttpLoggingPolicy\"]}, \"local\": {\"._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}}", + "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMHttpLoggingPolicy\"]}, \"local\": {\".._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}}" }, "operation_groups": { "application_gateways": "ApplicationGatewaysOperations", @@ -121,31 +167,33 @@ "p2_svpn_gateways": "P2SVpnGatewaysOperations" }, "operation_mixins": { - "check_dns_name_availability" : { - "sync": { - "signature": "def check_dns_name_availability(\n self,\n location, # type: str\n domain_name_label, # type: str\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2018_08_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def check_dns_name_availability(\n self,\n location: str,\n domain_name_label: str,\n **kwargs\n) -\u003e \"_models.DnsNameAvailabilityResult\":\n", - "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2018_08_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "location, domain_name_label" - }, - "supported_security_providers" : { - "sync": { - "signature": "def supported_security_providers(\n self,\n resource_group_name, # type: str\n virtual_wan_name, # type: str\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Gives the supported security providers for the virtual wan.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN for which supported security providers are\n needed.\n:type virtual_wan_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VirtualWanSecurityProviders, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2018_08_01.models.VirtualWanSecurityProviders\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\"]}}}", + "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\"]}}}", + "operations": { + "check_dns_name_availability" : { + "sync": { + "signature": "def check_dns_name_availability(\n self,\n location, # type: str\n domain_name_label, # type: str\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2018_08_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def check_dns_name_availability(\n self,\n location: str,\n domain_name_label: str,\n **kwargs\n) -\u003e \"_models.DnsNameAvailabilityResult\":\n", + "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2018_08_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "location, domain_name_label" }, - "async": { - "coroutine": true, - "signature": "async def supported_security_providers(\n self,\n resource_group_name: str,\n virtual_wan_name: str,\n **kwargs\n) -\u003e \"_models.VirtualWanSecurityProviders\":\n", - "doc": "\"\"\"Gives the supported security providers for the virtual wan.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN for which supported security providers are\n needed.\n:type virtual_wan_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VirtualWanSecurityProviders, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2018_08_01.models.VirtualWanSecurityProviders\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "resource_group_name, virtual_wan_name" + "supported_security_providers" : { + "sync": { + "signature": "def supported_security_providers(\n self,\n resource_group_name, # type: str\n virtual_wan_name, # type: str\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Gives the supported security providers for the virtual wan.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN for which supported security providers are\n needed.\n:type virtual_wan_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VirtualWanSecurityProviders, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2018_08_01.models.VirtualWanSecurityProviders\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def supported_security_providers(\n self,\n resource_group_name: str,\n virtual_wan_name: str,\n **kwargs\n) -\u003e \"_models.VirtualWanSecurityProviders\":\n", + "doc": "\"\"\"Gives the supported security providers for the virtual wan.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN for which supported security providers are\n needed.\n:type virtual_wan_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VirtualWanSecurityProviders, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2018_08_01.models.VirtualWanSecurityProviders\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "resource_group_name, virtual_wan_name" + } } - }, - "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\"]}}}", - "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\"]}}}" + } } \ No newline at end of file diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/_network_management_client.py index 19f4c92e1b89..d71b096c5314 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/_network_management_client.py @@ -16,6 +16,7 @@ from typing import Any, Optional from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse from ._configuration import NetworkManagementClientConfiguration from .operations import ApplicationGatewaysOperations @@ -249,6 +250,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( @@ -386,6 +388,24 @@ def __init__( self.p2_svpn_gateways = P2SVpnGatewaysOperations( self._client, self._config, self._serialize, self._deserialize) + def _send_request(self, http_request, **kwargs): + # type: (HttpRequest, Any) -> HttpResponse + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.HttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + def close(self): # type: () -> None self._client.close() diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/_network_management_client.py index a0890a4007dd..10e297416384 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/_network_management_client.py @@ -8,6 +8,7 @@ from typing import Any, Optional, TYPE_CHECKING +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core import AsyncARMPipelineClient from msrest import Deserializer, Serializer @@ -246,6 +247,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( @@ -383,6 +385,23 @@ def __init__( self.p2_svpn_gateways = P2SVpnGatewaysOperations( self._client, self._config, self._serialize, self._deserialize) + async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + async def close(self) -> None: await self._client.close() diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_application_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_application_gateways_operations.py index be7e19444842..6616b5dd8b7c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_application_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_application_gateways_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_08_01.models.ApplicationGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGateway or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGateway or the result of cls(response) @@ -651,8 +651,8 @@ async def begin_start( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -757,8 +757,8 @@ async def begin_stop( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -876,8 +876,8 @@ async def begin_backend_health( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGatewayBackendHealth or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_application_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_application_security_groups_operations.py index c3285903f8f1..90911d769281 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_application_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_application_security_groups_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type application_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -282,8 +282,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_08_01.models.ApplicationSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_azure_firewalls_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_azure_firewalls_operations.py index e58f7be75efc..161b5a867ff8 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_azure_firewalls_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_azure_firewalls_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type azure_firewall_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_08_01.models.AzureFirewall :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AzureFirewall or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_connection_monitors_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_connection_monitors_operations.py index 734f795cc8b9..1360868f8da8 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_connection_monitors_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_connection_monitors_operations.py @@ -88,7 +88,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -123,8 +123,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_08_01.models.ConnectionMonitor :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionMonitorResult or the result of cls(response) @@ -231,7 +231,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('ConnectionMonitorResult', pipeline_response) @@ -281,7 +281,7 @@ async def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -306,8 +306,8 @@ async def begin_delete( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -397,7 +397,7 @@ async def _stop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -422,8 +422,8 @@ async def begin_stop( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -513,7 +513,7 @@ async def _start_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -538,8 +538,8 @@ async def begin_start( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -629,7 +629,7 @@ async def _query_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -661,8 +661,8 @@ async def begin_query( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionMonitorQueryResult or the result of cls(response) @@ -780,7 +780,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_ddos_protection_plans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_ddos_protection_plans_operations.py index c01804a6aa2c..d39ed362791e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_ddos_protection_plans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_ddos_protection_plans_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type ddos_protection_plan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_08_01.models.DdosProtectionPlan :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either DdosProtectionPlan or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_express_route_circuit_authorizations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_express_route_circuit_authorizations_operations.py index 0ef9b4af5c0a..3a91805acc1f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_express_route_circuit_authorizations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_express_route_circuit_authorizations_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type authorization_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type authorization_parameters: ~azure.mgmt.network.v2018_08_01.models.ExpressRouteCircuitAuthorization :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitAuthorization or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_express_route_circuit_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_express_route_circuit_connections_operations.py index fbb1b229fb47..4c4ba12955e9 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_express_route_circuit_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_express_route_circuit_connections_operations.py @@ -109,8 +109,8 @@ async def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -314,8 +314,8 @@ async def begin_create_or_update( :type express_route_circuit_connection_parameters: ~azure.mgmt.network.v2018_08_01.models.ExpressRouteCircuitConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitConnection or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_express_route_circuit_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_express_route_circuit_peerings_operations.py index bf8483886b23..8e87db8526bc 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_express_route_circuit_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_express_route_circuit_peerings_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2018_08_01.models.ExpressRouteCircuitPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_express_route_circuits_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_express_route_circuits_operations.py index 03d48c6bac4d..e24aa7b2a869 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_express_route_circuits_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_express_route_circuits_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type circuit_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_08_01.models.ExpressRouteCircuit :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -533,8 +533,8 @@ async def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -664,8 +664,8 @@ async def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) @@ -795,8 +795,8 @@ async def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableSummaryListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_express_route_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_express_route_connections_operations.py index 3890a0e01940..4acda37c5204 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_express_route_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_express_route_connections_operations.py @@ -122,8 +122,8 @@ async def begin_create_or_update( :type put_express_route_connection_parameters: ~azure.mgmt.network.v2018_08_01.models.ExpressRouteConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteConnection or the result of cls(response) @@ -301,8 +301,8 @@ async def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_express_route_cross_connection_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_express_route_cross_connection_peerings_operations.py index d02b1ed4227f..7e1ecf9f090d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_express_route_cross_connection_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_express_route_cross_connection_peerings_operations.py @@ -178,8 +178,8 @@ async def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -372,8 +372,8 @@ async def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2018_08_01.models.ExpressRouteCrossConnectionPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCrossConnectionPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_express_route_cross_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_express_route_cross_connections_operations.py index 5b3d76d5f537..1ded2d4fafcd 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_express_route_cross_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_express_route_cross_connections_operations.py @@ -308,8 +308,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_08_01.models.ExpressRouteCrossConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCrossConnection or the result of cls(response) @@ -433,8 +433,8 @@ async def begin_update_tags( :type cross_connection_parameters: ~azure.mgmt.network.v2018_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCrossConnection or the result of cls(response) @@ -561,8 +561,8 @@ async def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -692,8 +692,8 @@ async def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCrossConnectionsRoutesTableSummaryListResult or the result of cls(response) @@ -823,8 +823,8 @@ async def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_express_route_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_express_route_gateways_operations.py index 68d50832b449..74cf4562c9b0 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_express_route_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_express_route_gateways_operations.py @@ -221,8 +221,8 @@ async def begin_create_or_update( :type put_express_route_gateway_parameters: ~azure.mgmt.network.v2018_08_01.models.ExpressRouteGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteGateway or the result of cls(response) @@ -390,8 +390,8 @@ async def begin_delete( :type express_route_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_express_route_ports_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_express_route_ports_operations.py index 39f0875c40d4..db0a5e7658ab 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_express_route_ports_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_express_route_ports_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type express_route_port_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_08_01.models.ExpressRoutePort :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRoutePort or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRoutePort or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_hub_virtual_network_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_hub_virtual_network_connections_operations.py index a7b058f5a2df..f2018e750e20 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_hub_virtual_network_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_hub_virtual_network_connections_operations.py @@ -93,7 +93,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('HubVirtualNetworkConnection', pipeline_response) @@ -168,7 +168,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_inbound_nat_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_inbound_nat_rules_operations.py index 94448a779fb6..df10af139a7e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_inbound_nat_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_inbound_nat_rules_operations.py @@ -178,8 +178,8 @@ async def begin_delete( :type inbound_nat_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -377,8 +377,8 @@ async def begin_create_or_update( :type inbound_nat_rule_parameters: ~azure.mgmt.network.v2018_08_01.models.InboundNatRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either InboundNatRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_interface_endpoints_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_interface_endpoints_operations.py index 421290b75f5b..6b6f223ba5dc 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_interface_endpoints_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_interface_endpoints_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type interface_endpoint_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_08_01.models.InterfaceEndpoint :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either InterfaceEndpoint or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_load_balancers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_load_balancers_operations.py index 7ceef9094f03..157b0dcf237e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_load_balancers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_load_balancers_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type load_balancer_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_08_01.models.LoadBalancer :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LoadBalancer or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LoadBalancer or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_local_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_local_network_gateways_operations.py index fb55355b09d7..b45637e500d8 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_local_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_local_network_gateways_operations.py @@ -117,8 +117,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_08_01.models.LocalNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LocalNetworkGateway or the result of cls(response) @@ -285,8 +285,8 @@ async def begin_delete( :type local_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LocalNetworkGateway or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_network_interface_tap_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_network_interface_tap_configurations_operations.py index dd4d2ce9e5db..1b580d6415e1 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_network_interface_tap_configurations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_network_interface_tap_configurations_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type tap_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type tap_configuration_parameters: ~azure.mgmt.network.v2018_08_01.models.NetworkInterfaceTapConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkInterfaceTapConfiguration or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_network_interfaces_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_network_interfaces_operations.py index 15ea7b7ab593..5d2f2f82357d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_network_interfaces_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_network_interfaces_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_08_01.models.NetworkInterface :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkInterface or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkInterface or the result of cls(response) @@ -663,8 +663,8 @@ async def begin_get_effective_route_table( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either EffectiveRouteListResult or the result of cls(response) @@ -779,8 +779,8 @@ async def begin_list_effective_network_security_groups( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either EffectiveNetworkSecurityGroupListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_network_management_client_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_network_management_client_operations.py index bd3bffaf9c18..8947f4a67921 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_network_management_client_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_network_management_client_operations.py @@ -128,7 +128,7 @@ async def supported_security_providers( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualWanSecurityProviders', pipeline_response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_network_profiles_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_network_profiles_operations.py index 4a41a96df756..ad220d5a5eb9 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_network_profiles_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_network_profiles_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type network_profile_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_network_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_network_security_groups_operations.py index 1ef9575618cb..ac3e9c60ae33 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_network_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_network_security_groups_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type network_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -287,8 +287,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_08_01.models.NetworkSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkSecurityGroup or the result of cls(response) @@ -411,8 +411,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_network_watchers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_network_watchers_operations.py index 6b730adf5f45..15883445e335 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_network_watchers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_network_watchers_operations.py @@ -99,7 +99,7 @@ async def create_or_update( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -162,7 +162,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('NetworkWatcher', pipeline_response) @@ -210,7 +210,7 @@ async def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -232,8 +232,8 @@ async def begin_delete( :type network_watcher_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -338,7 +338,7 @@ async def update_tags( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('NetworkWatcher', pipeline_response) @@ -409,7 +409,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -476,7 +476,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -543,7 +543,7 @@ async def get_topology( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('Topology', pipeline_response) @@ -597,7 +597,7 @@ async def _verify_ip_flow_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -629,8 +629,8 @@ async def begin_verify_ip_flow( :type parameters: ~azure.mgmt.network.v2018_08_01.models.VerificationIPFlowParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VerificationIPFlowResult or the result of cls(response) @@ -726,7 +726,7 @@ async def _get_next_hop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -758,8 +758,8 @@ async def begin_get_next_hop( :type parameters: ~azure.mgmt.network.v2018_08_01.models.NextHopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NextHopResult or the result of cls(response) @@ -855,7 +855,7 @@ async def _get_vm_security_rules_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -887,8 +887,8 @@ async def begin_get_vm_security_rules( :type parameters: ~azure.mgmt.network.v2018_08_01.models.SecurityGroupViewParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either SecurityGroupViewResult or the result of cls(response) @@ -984,7 +984,7 @@ async def _get_troubleshooting_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1016,8 +1016,8 @@ async def begin_get_troubleshooting( :type parameters: ~azure.mgmt.network.v2018_08_01.models.TroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1113,7 +1113,7 @@ async def _get_troubleshooting_result_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1145,8 +1145,8 @@ async def begin_get_troubleshooting_result( :type parameters: ~azure.mgmt.network.v2018_08_01.models.QueryTroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1242,7 +1242,7 @@ async def _set_flow_log_configuration_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1274,8 +1274,8 @@ async def begin_set_flow_log_configuration( :type parameters: ~azure.mgmt.network.v2018_08_01.models.FlowLogInformation :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1371,7 +1371,7 @@ async def _get_flow_log_status_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1404,8 +1404,8 @@ async def begin_get_flow_log_status( :type parameters: ~azure.mgmt.network.v2018_08_01.models.FlowLogStatusParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1501,7 +1501,7 @@ async def _check_connectivity_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1534,8 +1534,8 @@ async def begin_check_connectivity( :type parameters: ~azure.mgmt.network.v2018_08_01.models.ConnectivityParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectivityInformation or the result of cls(response) @@ -1631,7 +1631,7 @@ async def _get_azure_reachability_report_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1664,8 +1664,8 @@ async def begin_get_azure_reachability_report( :type parameters: ~azure.mgmt.network.v2018_08_01.models.AzureReachabilityReportParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AzureReachabilityReport or the result of cls(response) @@ -1761,7 +1761,7 @@ async def _list_available_providers_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1793,8 +1793,8 @@ async def begin_list_available_providers( :type parameters: ~azure.mgmt.network.v2018_08_01.models.AvailableProvidersListParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AvailableProvidersList or the result of cls(response) @@ -1890,7 +1890,7 @@ async def _get_network_configuration_diagnostic_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1922,8 +1922,8 @@ async def begin_get_network_configuration_diagnostic( :type parameters: ~azure.mgmt.network.v2018_08_01.models.NetworkConfigurationDiagnosticParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkConfigurationDiagnosticResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_p2_svpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_p2_svpn_gateways_operations.py index b6e03ceab29c..227652d74602 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_p2_svpn_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_p2_svpn_gateways_operations.py @@ -91,7 +91,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('P2SVpnGateway', pipeline_response) @@ -145,7 +145,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -178,8 +178,8 @@ async def begin_create_or_update( :type p2_s_vpn_gateway_parameters: ~azure.mgmt.network.v2018_08_01.models.P2SVpnGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -275,7 +275,7 @@ async def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -308,8 +308,8 @@ async def begin_update_tags( :type p2_s_vpn_gateway_parameters: ~azure.mgmt.network.v2018_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -399,7 +399,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -421,8 +421,8 @@ async def begin_delete( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -531,7 +531,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -598,7 +598,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -682,8 +682,8 @@ async def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2018_08_01.models.P2SVpnProfileParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnProfileResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_p2_svpn_server_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_p2_svpn_server_configurations_operations.py index 0a7dcd299a07..7e339cb7dc7c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_p2_svpn_server_configurations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_p2_svpn_server_configurations_operations.py @@ -95,7 +95,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('P2SVpnServerConfiguration', pipeline_response) @@ -151,7 +151,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -188,8 +188,8 @@ async def begin_create_or_update( :type p2_s_vpn_server_configuration_parameters: ~azure.mgmt.network.v2018_08_01.models.P2SVpnServerConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either P2SVpnServerConfiguration or the result of cls(response) @@ -283,7 +283,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -308,8 +308,8 @@ async def begin_delete( :type p2_s_vpn_server_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -424,7 +424,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_packet_captures_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_packet_captures_operations.py index d542bc53d768..6a68a458ba4b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_packet_captures_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_packet_captures_operations.py @@ -88,7 +88,7 @@ async def _create_initial( if response.status_code not in [201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PacketCaptureResult', pipeline_response) @@ -119,8 +119,8 @@ async def begin_create( :type parameters: ~azure.mgmt.network.v2018_08_01.models.PacketCapture :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PacketCaptureResult or the result of cls(response) @@ -227,7 +227,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PacketCaptureResult', pipeline_response) @@ -277,7 +277,7 @@ async def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -302,8 +302,8 @@ async def begin_delete( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -393,7 +393,7 @@ async def _stop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -418,8 +418,8 @@ async def begin_stop( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -509,7 +509,7 @@ async def _get_status_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -541,8 +541,8 @@ async def begin_get_status( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PacketCaptureQueryStatusResult or the result of cls(response) @@ -660,7 +660,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_public_ip_addresses_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_public_ip_addresses_operations.py index fc37c512c538..738a5ffe028a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_public_ip_addresses_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_public_ip_addresses_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type public_ip_address_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_08_01.models.PublicIPAddress :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PublicIPAddress or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PublicIPAddress or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_public_ip_prefixes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_public_ip_prefixes_operations.py index 021c28b33858..ce58b89e2ff2 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_public_ip_prefixes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_public_ip_prefixes_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type public_ip_prefix_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_08_01.models.PublicIPPrefix :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PublicIPPrefix or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PublicIPPrefix or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_route_filter_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_route_filter_rules_operations.py index e37fc0f553fe..ef097303feb1 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_route_filter_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_route_filter_rules_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2018_08_01.models.RouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilterRule or the result of cls(response) @@ -430,8 +430,8 @@ async def begin_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2018_08_01.models.PatchRouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilterRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_route_filters_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_route_filters_operations.py index 19cb825b2059..3890ca469fe2 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_route_filters_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_route_filters_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type route_filter_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -287,8 +287,8 @@ async def begin_create_or_update( :type route_filter_parameters: ~azure.mgmt.network.v2018_08_01.models.RouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilter or the result of cls(response) @@ -411,8 +411,8 @@ async def begin_update( :type route_filter_parameters: ~azure.mgmt.network.v2018_08_01.models.PatchRouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilter or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_route_tables_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_route_tables_operations.py index 569cc7a76173..d8a06fc1a8a3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_route_tables_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_route_tables_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_08_01.models.RouteTable :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteTable or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteTable or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_routes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_routes_operations.py index 4a19e71af2fb..76aa76447e11 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_routes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_routes_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type route_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ async def begin_create_or_update( :type route_parameters: ~azure.mgmt.network.v2018_08_01.models.Route :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Route or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_security_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_security_rules_operations.py index 7d63b7be8255..c130c8f3bf05 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_security_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_security_rules_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type security_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type security_rule_parameters: ~azure.mgmt.network.v2018_08_01.models.SecurityRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either SecurityRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_service_endpoint_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_service_endpoint_policies_operations.py index eec384e29ba7..d7a47426ccc4 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_service_endpoint_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_service_endpoint_policies_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type service_endpoint_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -287,8 +287,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_08_01.models.ServiceEndpointPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ServiceEndpointPolicy or the result of cls(response) @@ -411,8 +411,8 @@ async def begin_update( :type parameters: ~azure.mgmt.network.v2018_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ServiceEndpointPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_service_endpoint_policy_definitions_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_service_endpoint_policy_definitions_operations.py index 12cc17e7c5fe..c79414a30ba0 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_service_endpoint_policy_definitions_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_service_endpoint_policy_definitions_operations.py @@ -105,8 +105,8 @@ async def begin_delete( :type service_endpoint_policy_definition_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -302,8 +302,8 @@ async def begin_create_or_update( :type service_endpoint_policy_definitions: ~azure.mgmt.network.v2018_08_01.models.ServiceEndpointPolicyDefinition :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ServiceEndpointPolicyDefinition or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_subnets_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_subnets_operations.py index 79fab36b762b..5c55c87c0dcf 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_subnets_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_subnets_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type subnet_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -302,8 +302,8 @@ async def begin_create_or_update( :type subnet_parameters: ~azure.mgmt.network.v2018_08_01.models.Subnet :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Subnet or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_virtual_hubs_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_virtual_hubs_operations.py index 49658127a1e4..c227d70313bc 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_virtual_hubs_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_virtual_hubs_operations.py @@ -91,7 +91,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualHub', pipeline_response) @@ -145,7 +145,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -177,8 +177,8 @@ async def begin_create_or_update( :type virtual_hub_parameters: ~azure.mgmt.network.v2018_08_01.models.VirtualHub :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualHub or the result of cls(response) @@ -274,7 +274,7 @@ async def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -306,8 +306,8 @@ async def begin_update_tags( :type virtual_hub_parameters: ~azure.mgmt.network.v2018_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualHub or the result of cls(response) @@ -397,7 +397,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -419,8 +419,8 @@ async def begin_delete( :type virtual_hub_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -529,7 +529,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -596,7 +596,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_virtual_network_gateway_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_virtual_network_gateway_connections_operations.py index 2d9864fa1a4a..36329ecee8de 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_virtual_network_gateway_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_virtual_network_gateway_connections_operations.py @@ -119,8 +119,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_08_01.models.VirtualNetworkGatewayConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -289,8 +289,8 @@ async def begin_delete( :type virtual_network_gateway_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -541,8 +541,8 @@ async def begin_set_shared_key( :type parameters: ~azure.mgmt.network.v2018_08_01.models.ConnectionSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionSharedKey or the result of cls(response) @@ -802,8 +802,8 @@ async def begin_reset_shared_key( :type parameters: ~azure.mgmt.network.v2018_08_01.models.ConnectionResetSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionResetSharedKey or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_virtual_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_virtual_network_gateways_operations.py index 980ecb15895f..9c98fe61be2b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_virtual_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_virtual_network_gateways_operations.py @@ -117,8 +117,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_08_01.models.VirtualNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -285,8 +285,8 @@ async def begin_delete( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -673,8 +673,8 @@ async def begin_reset( :type gateway_vip: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -784,8 +784,8 @@ async def begin_reset_vpn_client_shared_key( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -908,8 +908,8 @@ async def begin_generatevpnclientpackage( :type parameters: ~azure.mgmt.network.v2018_08_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1036,8 +1036,8 @@ async def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2018_08_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1154,8 +1154,8 @@ async def begin_get_vpn_profile_package_url( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1276,8 +1276,8 @@ async def begin_get_bgp_peer_status( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either BgpPeerStatusListResult or the result of cls(response) @@ -1452,8 +1452,8 @@ async def begin_get_learned_routes( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1574,8 +1574,8 @@ async def begin_get_advertised_routes( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1702,8 +1702,8 @@ async def begin_set_vpnclient_ipsec_parameters( :type vpnclient_ipsec_params: ~azure.mgmt.network.v2018_08_01.models.VpnClientIPsecParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnClientIPsecParameters or the result of cls(response) @@ -1819,8 +1819,8 @@ async def begin_get_vpnclient_ipsec_parameters( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnClientIPsecParameters or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_virtual_network_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_virtual_network_peerings_operations.py index 726e15d84a16..a41b06d8617b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_virtual_network_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_virtual_network_peerings_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type virtual_network_peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type virtual_network_peering_parameters: ~azure.mgmt.network.v2018_08_01.models.VirtualNetworkPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_virtual_network_taps_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_virtual_network_taps_operations.py index 97e4599a6591..e8fab5246fcf 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_virtual_network_taps_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_virtual_network_taps_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type tap_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_08_01.models.VirtualNetworkTap :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkTap or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type tap_parameters: ~azure.mgmt.network.v2018_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkTap or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_virtual_networks_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_virtual_networks_operations.py index 79c1e64d0d63..4acc97580f1e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_virtual_networks_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_virtual_networks_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type virtual_network_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_08_01.models.VirtualNetwork :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetwork or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetwork or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_virtual_wans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_virtual_wans_operations.py index 053a03fcaa6e..52885260f50d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_virtual_wans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_virtual_wans_operations.py @@ -91,7 +91,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualWAN', pipeline_response) @@ -145,7 +145,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -177,8 +177,8 @@ async def begin_create_or_update( :type wan_parameters: ~azure.mgmt.network.v2018_08_01.models.VirtualWAN :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualWAN or the result of cls(response) @@ -274,7 +274,7 @@ async def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -306,8 +306,8 @@ async def begin_update_tags( :type wan_parameters: ~azure.mgmt.network.v2018_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualWAN or the result of cls(response) @@ -397,7 +397,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -419,8 +419,8 @@ async def begin_delete( :type virtual_wan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -529,7 +529,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -596,7 +596,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_vpn_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_vpn_connections_operations.py index f97d954024f3..58f31341fac5 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_vpn_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_vpn_connections_operations.py @@ -95,7 +95,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VpnConnection', pipeline_response) @@ -151,7 +151,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -187,8 +187,8 @@ async def begin_create_or_update( :type vpn_connection_parameters: ~azure.mgmt.network.v2018_08_01.models.VpnConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnConnection or the result of cls(response) @@ -282,7 +282,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -307,8 +307,8 @@ async def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -423,7 +423,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_vpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_vpn_gateways_operations.py index 86466f2f3536..fab7fb4c8ce7 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_vpn_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_vpn_gateways_operations.py @@ -91,7 +91,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VpnGateway', pipeline_response) @@ -145,7 +145,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -178,8 +178,8 @@ async def begin_create_or_update( :type vpn_gateway_parameters: ~azure.mgmt.network.v2018_08_01.models.VpnGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnGateway or the result of cls(response) @@ -275,7 +275,7 @@ async def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -307,8 +307,8 @@ async def begin_update_tags( :type vpn_gateway_parameters: ~azure.mgmt.network.v2018_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnGateway or the result of cls(response) @@ -398,7 +398,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -420,8 +420,8 @@ async def begin_delete( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -530,7 +530,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -597,7 +597,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_vpn_sites_configuration_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_vpn_sites_configuration_operations.py index 13ec9e891254..9de88fd4b084 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_vpn_sites_configuration_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_vpn_sites_configuration_operations.py @@ -85,7 +85,7 @@ async def _download_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -111,8 +111,8 @@ async def begin_download( :type request: ~azure.mgmt.network.v2018_08_01.models.GetVpnSitesConfigurationRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_vpn_sites_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_vpn_sites_operations.py index 6f42ac8bcf25..bbee87914749 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_vpn_sites_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/aio/operations/_vpn_sites_operations.py @@ -91,7 +91,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VpnSite', pipeline_response) @@ -145,7 +145,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -177,8 +177,8 @@ async def begin_create_or_update( :type vpn_site_parameters: ~azure.mgmt.network.v2018_08_01.models.VpnSite :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnSite or the result of cls(response) @@ -274,7 +274,7 @@ async def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -306,8 +306,8 @@ async def begin_update_tags( :type vpn_site_parameters: ~azure.mgmt.network.v2018_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnSite or the result of cls(response) @@ -397,7 +397,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -419,8 +419,8 @@ async def begin_delete( :type vpn_site_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -529,7 +529,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -596,7 +596,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/models/_models.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/models/_models.py index f2b6099f2070..b0698482285f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/models/_models.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/models/_models.py @@ -3811,7 +3811,7 @@ class ContainerNetworkInterface(SubResource): ~azure.mgmt.network.v2018_08_01.models.ContainerNetworkInterfaceConfiguration :param container: Reference to the container to which this container network interface is attached. - :type container: ~azure.mgmt.network.v2018_08_01.models.SubResource + :type container: ~azure.mgmt.network.v2018_08_01.models.Container :param ip_configurations: Reference to the ip configuration on this container nic. :type ip_configurations: list[~azure.mgmt.network.v2018_08_01.models.ContainerNetworkInterfaceIpConfiguration] @@ -3830,7 +3830,7 @@ class ContainerNetworkInterface(SubResource): 'type': {'key': 'type', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, 'container_network_interface_configuration': {'key': 'properties.containerNetworkInterfaceConfiguration', 'type': 'ContainerNetworkInterfaceConfiguration'}, - 'container': {'key': 'properties.container', 'type': 'SubResource'}, + 'container': {'key': 'properties.container', 'type': 'Container'}, 'ip_configurations': {'key': 'properties.ipConfigurations', 'type': '[ContainerNetworkInterfaceIpConfiguration]'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, } @@ -9753,8 +9753,8 @@ class PacketCaptureStorageLocation(msrest.serialization.Model): :param storage_id: The ID of the storage account to save the packet capture session. Required if no local file path is provided. :type storage_id: str - :param storage_path: The URI of the storage path to save the packet capture. Must be a well- - formed URI describing the location to save the packet capture. + :param storage_path: The URI of the storage path to save the packet capture. Must be a + well-formed URI describing the location to save the packet capture. :type storage_path: str :param file_path: A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no @@ -12785,8 +12785,8 @@ class VirtualNetworkPeering(SubResource): :type use_remote_gateways: bool :param remote_virtual_network: The reference of the remote virtual network. The remote virtual network can be in the same or different region (preview). See here to register for the preview - and learn more (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create- - peering). + and learn more + (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering). :type remote_virtual_network: ~azure.mgmt.network.v2018_08_01.models.SubResource :param remote_address_space: The reference of the remote virtual network address space. :type remote_address_space: ~azure.mgmt.network.v2018_08_01.models.AddressSpace diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/models/_models_py3.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/models/_models_py3.py index ae5b10f18c3b..24ea772b5ff2 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/models/_models_py3.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/models/_models_py3.py @@ -4329,7 +4329,7 @@ class ContainerNetworkInterface(SubResource): ~azure.mgmt.network.v2018_08_01.models.ContainerNetworkInterfaceConfiguration :param container: Reference to the container to which this container network interface is attached. - :type container: ~azure.mgmt.network.v2018_08_01.models.SubResource + :type container: ~azure.mgmt.network.v2018_08_01.models.Container :param ip_configurations: Reference to the ip configuration on this container nic. :type ip_configurations: list[~azure.mgmt.network.v2018_08_01.models.ContainerNetworkInterfaceIpConfiguration] @@ -4348,7 +4348,7 @@ class ContainerNetworkInterface(SubResource): 'type': {'key': 'type', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, 'container_network_interface_configuration': {'key': 'properties.containerNetworkInterfaceConfiguration', 'type': 'ContainerNetworkInterfaceConfiguration'}, - 'container': {'key': 'properties.container', 'type': 'SubResource'}, + 'container': {'key': 'properties.container', 'type': 'Container'}, 'ip_configurations': {'key': 'properties.ipConfigurations', 'type': '[ContainerNetworkInterfaceIpConfiguration]'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, } @@ -4360,7 +4360,7 @@ def __init__( name: Optional[str] = None, etag: Optional[str] = None, container_network_interface_configuration: Optional["ContainerNetworkInterfaceConfiguration"] = None, - container: Optional["SubResource"] = None, + container: Optional["Container"] = None, ip_configurations: Optional[List["ContainerNetworkInterfaceIpConfiguration"]] = None, **kwargs ): @@ -11015,8 +11015,8 @@ class PacketCaptureStorageLocation(msrest.serialization.Model): :param storage_id: The ID of the storage account to save the packet capture session. Required if no local file path is provided. :type storage_id: str - :param storage_path: The URI of the storage path to save the packet capture. Must be a well- - formed URI describing the location to save the packet capture. + :param storage_path: The URI of the storage path to save the packet capture. Must be a + well-formed URI describing the location to save the packet capture. :type storage_path: str :param file_path: A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no @@ -14428,8 +14428,8 @@ class VirtualNetworkPeering(SubResource): :type use_remote_gateways: bool :param remote_virtual_network: The reference of the remote virtual network. The remote virtual network can be in the same or different region (preview). See here to register for the preview - and learn more (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create- - peering). + and learn more + (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering). :type remote_virtual_network: ~azure.mgmt.network.v2018_08_01.models.SubResource :param remote_address_space: The reference of the remote virtual network address space. :type remote_address_space: ~azure.mgmt.network.v2018_08_01.models.AddressSpace diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_application_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_application_gateways_operations.py index 7f2dce28a71c..83346e872390 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_application_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_application_gateways_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_08_01.models.ApplicationGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGateway or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGateway or the result of cls(response) @@ -666,8 +666,8 @@ def begin_start( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -774,8 +774,8 @@ def begin_stop( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -895,8 +895,8 @@ def begin_backend_health( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGatewayBackendHealth or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_application_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_application_security_groups_operations.py index d7f7a5638f87..3a1c9766a59c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_application_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_application_security_groups_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type application_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -291,8 +291,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_08_01.models.ApplicationSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_azure_firewalls_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_azure_firewalls_operations.py index abaebfb47719..a4c0fc729021 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_azure_firewalls_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_azure_firewalls_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type azure_firewall_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_08_01.models.AzureFirewall :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AzureFirewall or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_connection_monitors_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_connection_monitors_operations.py index d8a27d76f5ad..7ae376602d03 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_connection_monitors_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_connection_monitors_operations.py @@ -93,7 +93,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -129,8 +129,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_08_01.models.ConnectionMonitor :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionMonitorResult or the result of cls(response) @@ -238,7 +238,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('ConnectionMonitorResult', pipeline_response) @@ -289,7 +289,7 @@ def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -315,8 +315,8 @@ def begin_delete( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -407,7 +407,7 @@ def _stop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -433,8 +433,8 @@ def begin_stop( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -525,7 +525,7 @@ def _start_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -551,8 +551,8 @@ def begin_start( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -643,7 +643,7 @@ def _query_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -676,8 +676,8 @@ def begin_query( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionMonitorQueryResult or the result of cls(response) @@ -796,7 +796,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_ddos_protection_plans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_ddos_protection_plans_operations.py index 9b7d0c53b391..bec77ce3de57 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_ddos_protection_plans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_ddos_protection_plans_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type ddos_protection_plan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_08_01.models.DdosProtectionPlan :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either DdosProtectionPlan or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_express_route_circuit_authorizations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_express_route_circuit_authorizations_operations.py index 24965d2e5f00..de7db42464d4 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_express_route_circuit_authorizations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_express_route_circuit_authorizations_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type authorization_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type authorization_parameters: ~azure.mgmt.network.v2018_08_01.models.ExpressRouteCircuitAuthorization :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitAuthorization or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_express_route_circuit_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_express_route_circuit_connections_operations.py index 056c1630de11..6ae599a6fcbe 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_express_route_circuit_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_express_route_circuit_connections_operations.py @@ -115,8 +115,8 @@ def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -323,8 +323,8 @@ def begin_create_or_update( :type express_route_circuit_connection_parameters: ~azure.mgmt.network.v2018_08_01.models.ExpressRouteCircuitConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitConnection or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_express_route_circuit_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_express_route_circuit_peerings_operations.py index 657ef814c391..a632743ca94d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_express_route_circuit_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_express_route_circuit_peerings_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2018_08_01.models.ExpressRouteCircuitPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_express_route_circuits_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_express_route_circuits_operations.py index c2f9ed0ed033..e9c71b7cb396 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_express_route_circuits_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_express_route_circuits_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type circuit_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_08_01.models.ExpressRouteCircuit :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -546,8 +546,8 @@ def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -679,8 +679,8 @@ def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) @@ -812,8 +812,8 @@ def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableSummaryListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_express_route_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_express_route_connections_operations.py index 9446bd415098..921258a62fbd 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_express_route_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_express_route_connections_operations.py @@ -128,8 +128,8 @@ def begin_create_or_update( :type put_express_route_connection_parameters: ~azure.mgmt.network.v2018_08_01.models.ExpressRouteConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteConnection or the result of cls(response) @@ -310,8 +310,8 @@ def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_express_route_cross_connection_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_express_route_cross_connection_peerings_operations.py index 29b347881ce0..0e2afcdeb056 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_express_route_cross_connection_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_express_route_cross_connection_peerings_operations.py @@ -185,8 +185,8 @@ def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -382,8 +382,8 @@ def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2018_08_01.models.ExpressRouteCrossConnectionPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCrossConnectionPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_express_route_cross_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_express_route_cross_connections_operations.py index a91e6234463b..9a799aef3fae 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_express_route_cross_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_express_route_cross_connections_operations.py @@ -317,8 +317,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_08_01.models.ExpressRouteCrossConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCrossConnection or the result of cls(response) @@ -444,8 +444,8 @@ def begin_update_tags( :type cross_connection_parameters: ~azure.mgmt.network.v2018_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCrossConnection or the result of cls(response) @@ -574,8 +574,8 @@ def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -707,8 +707,8 @@ def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCrossConnectionsRoutesTableSummaryListResult or the result of cls(response) @@ -840,8 +840,8 @@ def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_express_route_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_express_route_gateways_operations.py index 23cb0d62a049..2696e2a56505 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_express_route_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_express_route_gateways_operations.py @@ -229,8 +229,8 @@ def begin_create_or_update( :type put_express_route_gateway_parameters: ~azure.mgmt.network.v2018_08_01.models.ExpressRouteGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteGateway or the result of cls(response) @@ -401,8 +401,8 @@ def begin_delete( :type express_route_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_express_route_ports_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_express_route_ports_operations.py index 3f11f6928e0a..a5f61823f3df 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_express_route_ports_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_express_route_ports_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type express_route_port_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_08_01.models.ExpressRoutePort :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRoutePort or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRoutePort or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_hub_virtual_network_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_hub_virtual_network_connections_operations.py index ab8ffea2a674..2fe786ff24a0 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_hub_virtual_network_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_hub_virtual_network_connections_operations.py @@ -98,7 +98,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('HubVirtualNetworkConnection', pipeline_response) @@ -174,7 +174,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_inbound_nat_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_inbound_nat_rules_operations.py index c10d6a505dfb..08b8c105cfd8 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_inbound_nat_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_inbound_nat_rules_operations.py @@ -185,8 +185,8 @@ def begin_delete( :type inbound_nat_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -387,8 +387,8 @@ def begin_create_or_update( :type inbound_nat_rule_parameters: ~azure.mgmt.network.v2018_08_01.models.InboundNatRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either InboundNatRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_interface_endpoints_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_interface_endpoints_operations.py index a293e3f5b66b..1cc3856f1977 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_interface_endpoints_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_interface_endpoints_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type interface_endpoint_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_08_01.models.InterfaceEndpoint :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either InterfaceEndpoint or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_load_balancers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_load_balancers_operations.py index 04c5ec8b704d..267c21a1d45a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_load_balancers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_load_balancers_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type load_balancer_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_08_01.models.LoadBalancer :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LoadBalancer or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LoadBalancer or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_local_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_local_network_gateways_operations.py index d112dcc78ca6..8627212700d2 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_local_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_local_network_gateways_operations.py @@ -123,8 +123,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_08_01.models.LocalNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LocalNetworkGateway or the result of cls(response) @@ -294,8 +294,8 @@ def begin_delete( :type local_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LocalNetworkGateway or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_network_interface_tap_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_network_interface_tap_configurations_operations.py index abd2f257542c..23cf4df822b0 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_network_interface_tap_configurations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_network_interface_tap_configurations_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type tap_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type tap_configuration_parameters: ~azure.mgmt.network.v2018_08_01.models.NetworkInterfaceTapConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkInterfaceTapConfiguration or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_network_interfaces_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_network_interfaces_operations.py index 5058af65b2fd..fced8c56f712 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_network_interfaces_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_network_interfaces_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_08_01.models.NetworkInterface :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkInterface or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkInterface or the result of cls(response) @@ -678,8 +678,8 @@ def begin_get_effective_route_table( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either EffectiveRouteListResult or the result of cls(response) @@ -796,8 +796,8 @@ def begin_list_effective_network_security_groups( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either EffectiveNetworkSecurityGroupListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_network_management_client_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_network_management_client_operations.py index a67fb08043d4..ad265258ede5 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_network_management_client_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_network_management_client_operations.py @@ -134,7 +134,7 @@ def supported_security_providers( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualWanSecurityProviders', pipeline_response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_network_profiles_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_network_profiles_operations.py index aa4e9e0eaa8a..953ee7a5007c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_network_profiles_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_network_profiles_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type network_profile_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_network_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_network_security_groups_operations.py index 50fd41b66ae5..0a42b0043393 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_network_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_network_security_groups_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type network_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -296,8 +296,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_08_01.models.NetworkSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkSecurityGroup or the result of cls(response) @@ -422,8 +422,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_network_watchers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_network_watchers_operations.py index ead5648b10dd..4e3bf65530f5 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_network_watchers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_network_watchers_operations.py @@ -104,7 +104,7 @@ def create_or_update( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -168,7 +168,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('NetworkWatcher', pipeline_response) @@ -217,7 +217,7 @@ def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -240,8 +240,8 @@ def begin_delete( :type network_watcher_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -347,7 +347,7 @@ def update_tags( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('NetworkWatcher', pipeline_response) @@ -419,7 +419,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -487,7 +487,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -555,7 +555,7 @@ def get_topology( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('Topology', pipeline_response) @@ -610,7 +610,7 @@ def _verify_ip_flow_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -643,8 +643,8 @@ def begin_verify_ip_flow( :type parameters: ~azure.mgmt.network.v2018_08_01.models.VerificationIPFlowParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VerificationIPFlowResult or the result of cls(response) @@ -741,7 +741,7 @@ def _get_next_hop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -774,8 +774,8 @@ def begin_get_next_hop( :type parameters: ~azure.mgmt.network.v2018_08_01.models.NextHopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NextHopResult or the result of cls(response) @@ -872,7 +872,7 @@ def _get_vm_security_rules_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -905,8 +905,8 @@ def begin_get_vm_security_rules( :type parameters: ~azure.mgmt.network.v2018_08_01.models.SecurityGroupViewParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either SecurityGroupViewResult or the result of cls(response) @@ -1003,7 +1003,7 @@ def _get_troubleshooting_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1036,8 +1036,8 @@ def begin_get_troubleshooting( :type parameters: ~azure.mgmt.network.v2018_08_01.models.TroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1134,7 +1134,7 @@ def _get_troubleshooting_result_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1167,8 +1167,8 @@ def begin_get_troubleshooting_result( :type parameters: ~azure.mgmt.network.v2018_08_01.models.QueryTroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1265,7 +1265,7 @@ def _set_flow_log_configuration_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1298,8 +1298,8 @@ def begin_set_flow_log_configuration( :type parameters: ~azure.mgmt.network.v2018_08_01.models.FlowLogInformation :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1396,7 +1396,7 @@ def _get_flow_log_status_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1430,8 +1430,8 @@ def begin_get_flow_log_status( :type parameters: ~azure.mgmt.network.v2018_08_01.models.FlowLogStatusParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1528,7 +1528,7 @@ def _check_connectivity_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1562,8 +1562,8 @@ def begin_check_connectivity( :type parameters: ~azure.mgmt.network.v2018_08_01.models.ConnectivityParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectivityInformation or the result of cls(response) @@ -1660,7 +1660,7 @@ def _get_azure_reachability_report_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1694,8 +1694,8 @@ def begin_get_azure_reachability_report( :type parameters: ~azure.mgmt.network.v2018_08_01.models.AzureReachabilityReportParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AzureReachabilityReport or the result of cls(response) @@ -1792,7 +1792,7 @@ def _list_available_providers_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1825,8 +1825,8 @@ def begin_list_available_providers( :type parameters: ~azure.mgmt.network.v2018_08_01.models.AvailableProvidersListParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AvailableProvidersList or the result of cls(response) @@ -1923,7 +1923,7 @@ def _get_network_configuration_diagnostic_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1956,8 +1956,8 @@ def begin_get_network_configuration_diagnostic( :type parameters: ~azure.mgmt.network.v2018_08_01.models.NetworkConfigurationDiagnosticParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkConfigurationDiagnosticResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_p2_svpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_p2_svpn_gateways_operations.py index 8b27536f7aef..95200007e919 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_p2_svpn_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_p2_svpn_gateways_operations.py @@ -96,7 +96,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('P2SVpnGateway', pipeline_response) @@ -151,7 +151,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -185,8 +185,8 @@ def begin_create_or_update( :type p2_s_vpn_gateway_parameters: ~azure.mgmt.network.v2018_08_01.models.P2SVpnGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -283,7 +283,7 @@ def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -317,8 +317,8 @@ def begin_update_tags( :type p2_s_vpn_gateway_parameters: ~azure.mgmt.network.v2018_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -409,7 +409,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -432,8 +432,8 @@ def begin_delete( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -543,7 +543,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -611,7 +611,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -697,8 +697,8 @@ def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2018_08_01.models.P2SVpnProfileParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnProfileResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_p2_svpn_server_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_p2_svpn_server_configurations_operations.py index b486512cb364..8aa6e7de6642 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_p2_svpn_server_configurations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_p2_svpn_server_configurations_operations.py @@ -100,7 +100,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('P2SVpnServerConfiguration', pipeline_response) @@ -157,7 +157,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -195,8 +195,8 @@ def begin_create_or_update( :type p2_s_vpn_server_configuration_parameters: ~azure.mgmt.network.v2018_08_01.models.P2SVpnServerConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either P2SVpnServerConfiguration or the result of cls(response) @@ -291,7 +291,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -317,8 +317,8 @@ def begin_delete( :type p2_s_vpn_server_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -434,7 +434,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_packet_captures_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_packet_captures_operations.py index b5ebdbee4e3c..413d8e31a5a6 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_packet_captures_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_packet_captures_operations.py @@ -93,7 +93,7 @@ def _create_initial( if response.status_code not in [201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PacketCaptureResult', pipeline_response) @@ -125,8 +125,8 @@ def begin_create( :type parameters: ~azure.mgmt.network.v2018_08_01.models.PacketCapture :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PacketCaptureResult or the result of cls(response) @@ -234,7 +234,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PacketCaptureResult', pipeline_response) @@ -285,7 +285,7 @@ def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -311,8 +311,8 @@ def begin_delete( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -403,7 +403,7 @@ def _stop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -429,8 +429,8 @@ def begin_stop( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -521,7 +521,7 @@ def _get_status_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -554,8 +554,8 @@ def begin_get_status( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PacketCaptureQueryStatusResult or the result of cls(response) @@ -674,7 +674,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_public_ip_addresses_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_public_ip_addresses_operations.py index 78f895e20a3f..dde0da568082 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_public_ip_addresses_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_public_ip_addresses_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type public_ip_address_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_08_01.models.PublicIPAddress :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PublicIPAddress or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PublicIPAddress or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_public_ip_prefixes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_public_ip_prefixes_operations.py index 7ec8a8cc3f03..746ae2030993 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_public_ip_prefixes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_public_ip_prefixes_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type public_ip_prefix_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_08_01.models.PublicIPPrefix :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PublicIPPrefix or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PublicIPPrefix or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_route_filter_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_route_filter_rules_operations.py index a3d6dde8ca1c..b92d1d92035e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_route_filter_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_route_filter_rules_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2018_08_01.models.RouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilterRule or the result of cls(response) @@ -441,8 +441,8 @@ def begin_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2018_08_01.models.PatchRouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilterRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_route_filters_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_route_filters_operations.py index 633f0588fb3e..caaa61dd5de6 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_route_filters_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_route_filters_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type route_filter_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -296,8 +296,8 @@ def begin_create_or_update( :type route_filter_parameters: ~azure.mgmt.network.v2018_08_01.models.RouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilter or the result of cls(response) @@ -422,8 +422,8 @@ def begin_update( :type route_filter_parameters: ~azure.mgmt.network.v2018_08_01.models.PatchRouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilter or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_route_tables_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_route_tables_operations.py index b21f78ad8716..2fefc86179fb 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_route_tables_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_route_tables_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_08_01.models.RouteTable :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteTable or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteTable or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_routes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_routes_operations.py index b801ce2e672f..4b5fbf79c931 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_routes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_routes_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type route_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -306,8 +306,8 @@ def begin_create_or_update( :type route_parameters: ~azure.mgmt.network.v2018_08_01.models.Route :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Route or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_security_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_security_rules_operations.py index a137fe202c91..fdc1e26d3afd 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_security_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_security_rules_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type security_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type security_rule_parameters: ~azure.mgmt.network.v2018_08_01.models.SecurityRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either SecurityRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_service_endpoint_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_service_endpoint_policies_operations.py index 9adc14951d6f..e39888773dea 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_service_endpoint_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_service_endpoint_policies_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type service_endpoint_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -296,8 +296,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_08_01.models.ServiceEndpointPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ServiceEndpointPolicy or the result of cls(response) @@ -422,8 +422,8 @@ def begin_update( :type parameters: ~azure.mgmt.network.v2018_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ServiceEndpointPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_service_endpoint_policy_definitions_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_service_endpoint_policy_definitions_operations.py index a29a6eaa6997..07fc6edccc15 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_service_endpoint_policy_definitions_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_service_endpoint_policy_definitions_operations.py @@ -111,8 +111,8 @@ def begin_delete( :type service_endpoint_policy_definition_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -311,8 +311,8 @@ def begin_create_or_update( :type service_endpoint_policy_definitions: ~azure.mgmt.network.v2018_08_01.models.ServiceEndpointPolicyDefinition :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ServiceEndpointPolicyDefinition or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_subnets_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_subnets_operations.py index c6df432eeaa3..3cd289cbeed9 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_subnets_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_subnets_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type subnet_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -311,8 +311,8 @@ def begin_create_or_update( :type subnet_parameters: ~azure.mgmt.network.v2018_08_01.models.Subnet :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Subnet or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_virtual_hubs_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_virtual_hubs_operations.py index 682b60ad04d1..926f6010b671 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_virtual_hubs_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_virtual_hubs_operations.py @@ -96,7 +96,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualHub', pipeline_response) @@ -151,7 +151,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -184,8 +184,8 @@ def begin_create_or_update( :type virtual_hub_parameters: ~azure.mgmt.network.v2018_08_01.models.VirtualHub :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualHub or the result of cls(response) @@ -282,7 +282,7 @@ def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -315,8 +315,8 @@ def begin_update_tags( :type virtual_hub_parameters: ~azure.mgmt.network.v2018_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualHub or the result of cls(response) @@ -407,7 +407,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -430,8 +430,8 @@ def begin_delete( :type virtual_hub_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -541,7 +541,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -609,7 +609,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_virtual_network_gateway_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_virtual_network_gateway_connections_operations.py index 2693738ce463..c3ed00da1d93 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_virtual_network_gateway_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_virtual_network_gateway_connections_operations.py @@ -125,8 +125,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_08_01.models.VirtualNetworkGatewayConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -298,8 +298,8 @@ def begin_delete( :type virtual_network_gateway_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -554,8 +554,8 @@ def begin_set_shared_key( :type parameters: ~azure.mgmt.network.v2018_08_01.models.ConnectionSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionSharedKey or the result of cls(response) @@ -819,8 +819,8 @@ def begin_reset_shared_key( :type parameters: ~azure.mgmt.network.v2018_08_01.models.ConnectionResetSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionResetSharedKey or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_virtual_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_virtual_network_gateways_operations.py index ed0654346683..67520e8c00e5 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_virtual_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_virtual_network_gateways_operations.py @@ -123,8 +123,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_08_01.models.VirtualNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -294,8 +294,8 @@ def begin_delete( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -688,8 +688,8 @@ def begin_reset( :type gateway_vip: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -801,8 +801,8 @@ def begin_reset_vpn_client_shared_key( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -927,8 +927,8 @@ def begin_generatevpnclientpackage( :type parameters: ~azure.mgmt.network.v2018_08_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1057,8 +1057,8 @@ def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2018_08_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1177,8 +1177,8 @@ def begin_get_vpn_profile_package_url( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1301,8 +1301,8 @@ def begin_get_bgp_peer_status( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either BgpPeerStatusListResult or the result of cls(response) @@ -1480,8 +1480,8 @@ def begin_get_learned_routes( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1604,8 +1604,8 @@ def begin_get_advertised_routes( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1734,8 +1734,8 @@ def begin_set_vpnclient_ipsec_parameters( :type vpnclient_ipsec_params: ~azure.mgmt.network.v2018_08_01.models.VpnClientIPsecParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnClientIPsecParameters or the result of cls(response) @@ -1853,8 +1853,8 @@ def begin_get_vpnclient_ipsec_parameters( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnClientIPsecParameters or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_virtual_network_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_virtual_network_peerings_operations.py index 28562ba03f7c..c020f5524519 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_virtual_network_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_virtual_network_peerings_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type virtual_network_peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type virtual_network_peering_parameters: ~azure.mgmt.network.v2018_08_01.models.VirtualNetworkPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_virtual_network_taps_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_virtual_network_taps_operations.py index e04dc3311a11..6edf66695042 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_virtual_network_taps_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_virtual_network_taps_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type tap_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_08_01.models.VirtualNetworkTap :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkTap or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type tap_parameters: ~azure.mgmt.network.v2018_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkTap or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_virtual_networks_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_virtual_networks_operations.py index 7449d46683b3..6452a531b229 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_virtual_networks_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_virtual_networks_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type virtual_network_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_08_01.models.VirtualNetwork :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetwork or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetwork or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_virtual_wans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_virtual_wans_operations.py index d12f942cd0fb..5d9017639f48 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_virtual_wans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_virtual_wans_operations.py @@ -96,7 +96,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualWAN', pipeline_response) @@ -151,7 +151,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -184,8 +184,8 @@ def begin_create_or_update( :type wan_parameters: ~azure.mgmt.network.v2018_08_01.models.VirtualWAN :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualWAN or the result of cls(response) @@ -282,7 +282,7 @@ def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -315,8 +315,8 @@ def begin_update_tags( :type wan_parameters: ~azure.mgmt.network.v2018_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualWAN or the result of cls(response) @@ -407,7 +407,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -430,8 +430,8 @@ def begin_delete( :type virtual_wan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -541,7 +541,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -609,7 +609,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_vpn_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_vpn_connections_operations.py index 303a5e2a5f99..12c94565f8f0 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_vpn_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_vpn_connections_operations.py @@ -100,7 +100,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VpnConnection', pipeline_response) @@ -157,7 +157,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -194,8 +194,8 @@ def begin_create_or_update( :type vpn_connection_parameters: ~azure.mgmt.network.v2018_08_01.models.VpnConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnConnection or the result of cls(response) @@ -290,7 +290,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -316,8 +316,8 @@ def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -433,7 +433,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_vpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_vpn_gateways_operations.py index f9e506122818..6018e171e6cf 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_vpn_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_vpn_gateways_operations.py @@ -96,7 +96,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VpnGateway', pipeline_response) @@ -151,7 +151,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -185,8 +185,8 @@ def begin_create_or_update( :type vpn_gateway_parameters: ~azure.mgmt.network.v2018_08_01.models.VpnGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnGateway or the result of cls(response) @@ -283,7 +283,7 @@ def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -316,8 +316,8 @@ def begin_update_tags( :type vpn_gateway_parameters: ~azure.mgmt.network.v2018_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnGateway or the result of cls(response) @@ -408,7 +408,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -431,8 +431,8 @@ def begin_delete( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -542,7 +542,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -610,7 +610,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_vpn_sites_configuration_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_vpn_sites_configuration_operations.py index 224e38ac500f..7701f5d99b7d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_vpn_sites_configuration_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_vpn_sites_configuration_operations.py @@ -90,7 +90,7 @@ def _download_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -117,8 +117,8 @@ def begin_download( :type request: ~azure.mgmt.network.v2018_08_01.models.GetVpnSitesConfigurationRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_vpn_sites_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_vpn_sites_operations.py index cb5fb4ca178c..bac621f11606 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_vpn_sites_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_08_01/operations/_vpn_sites_operations.py @@ -96,7 +96,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VpnSite', pipeline_response) @@ -151,7 +151,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -184,8 +184,8 @@ def begin_create_or_update( :type vpn_site_parameters: ~azure.mgmt.network.v2018_08_01.models.VpnSite :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnSite or the result of cls(response) @@ -282,7 +282,7 @@ def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -315,8 +315,8 @@ def begin_update_tags( :type vpn_site_parameters: ~azure.mgmt.network.v2018_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnSite or the result of cls(response) @@ -407,7 +407,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -430,8 +430,8 @@ def begin_delete( :type vpn_site_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -541,7 +541,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -609,7 +609,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/_metadata.json b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/_metadata.json index d7ef18017c50..34be01d999f8 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/_metadata.json +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/_metadata.json @@ -9,7 +9,9 @@ "custom_base_url": null, "azure_arm": true, "has_lro_operations": true, - "client_side_validation": true + "client_side_validation": false, + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"NetworkManagementClientConfiguration\"], \"._operations_mixin\": [\"NetworkManagementClientOperationsMixin\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"NetworkManagementClientConfiguration\"], \"._operations_mixin\": [\"NetworkManagementClientOperationsMixin\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}" }, "global_parameters": { "sync": { @@ -28,13 +30,13 @@ }, "async": { "credential": { - "signature": "credential, # type: \"AsyncTokenCredential\"", + "signature": "credential: \"AsyncTokenCredential\",", "description": "Credential needed for the client to connect to Azure.", "docstring_type": "~azure.core.credentials_async.AsyncTokenCredential", "required": true }, "subscription_id": { - "signature": "subscription_id, # type: str", + "signature": "subscription_id: str,", "description": "The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.", "docstring_type": "str", "required": true @@ -42,14 +44,58 @@ }, "constant": { }, - "call": "credential, subscription_id" + "call": "credential, subscription_id", + "service_client_specific": { + "sync": { + "api_version": { + "signature": "api_version=None, # type: Optional[str]", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url=None, # type: Optional[str]", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile=KnownProfiles.default, # type: KnownProfiles", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + }, + "async": { + "api_version": { + "signature": "api_version: Optional[str] = None,", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url: Optional[str] = None,", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile: KnownProfiles = KnownProfiles.default,", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + } + } }, "config": { "credential": true, "credential_scopes": ["https://management.azure.com/.default"], "credential_default_policy_type": "BearerTokenCredentialPolicy", "credential_default_policy_type_has_async_version": true, - "credential_key_header_name": null + "credential_key_header_name": null, + "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMHttpLoggingPolicy\"]}, \"local\": {\"._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}}", + "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMHttpLoggingPolicy\"]}, \"local\": {\".._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}}" }, "operation_groups": { "application_gateways": "ApplicationGatewaysOperations", @@ -121,31 +167,33 @@ "p2_svpn_gateways": "P2SVpnGatewaysOperations" }, "operation_mixins": { - "check_dns_name_availability" : { - "sync": { - "signature": "def check_dns_name_availability(\n self,\n location, # type: str\n domain_name_label, # type: str\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2018_10_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def check_dns_name_availability(\n self,\n location: str,\n domain_name_label: str,\n **kwargs\n) -\u003e \"_models.DnsNameAvailabilityResult\":\n", - "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2018_10_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "location, domain_name_label" - }, - "supported_security_providers" : { - "sync": { - "signature": "def supported_security_providers(\n self,\n resource_group_name, # type: str\n virtual_wan_name, # type: str\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Gives the supported security providers for the virtual wan.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN for which supported security providers are\n needed.\n:type virtual_wan_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VirtualWanSecurityProviders, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2018_10_01.models.VirtualWanSecurityProviders\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\"]}}}", + "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\"]}}}", + "operations": { + "check_dns_name_availability" : { + "sync": { + "signature": "def check_dns_name_availability(\n self,\n location, # type: str\n domain_name_label, # type: str\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2018_10_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def check_dns_name_availability(\n self,\n location: str,\n domain_name_label: str,\n **kwargs\n) -\u003e \"_models.DnsNameAvailabilityResult\":\n", + "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2018_10_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "location, domain_name_label" }, - "async": { - "coroutine": true, - "signature": "async def supported_security_providers(\n self,\n resource_group_name: str,\n virtual_wan_name: str,\n **kwargs\n) -\u003e \"_models.VirtualWanSecurityProviders\":\n", - "doc": "\"\"\"Gives the supported security providers for the virtual wan.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN for which supported security providers are\n needed.\n:type virtual_wan_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VirtualWanSecurityProviders, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2018_10_01.models.VirtualWanSecurityProviders\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "resource_group_name, virtual_wan_name" + "supported_security_providers" : { + "sync": { + "signature": "def supported_security_providers(\n self,\n resource_group_name, # type: str\n virtual_wan_name, # type: str\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Gives the supported security providers for the virtual wan.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN for which supported security providers are\n needed.\n:type virtual_wan_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VirtualWanSecurityProviders, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2018_10_01.models.VirtualWanSecurityProviders\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def supported_security_providers(\n self,\n resource_group_name: str,\n virtual_wan_name: str,\n **kwargs\n) -\u003e \"_models.VirtualWanSecurityProviders\":\n", + "doc": "\"\"\"Gives the supported security providers for the virtual wan.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN for which supported security providers are\n needed.\n:type virtual_wan_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VirtualWanSecurityProviders, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2018_10_01.models.VirtualWanSecurityProviders\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "resource_group_name, virtual_wan_name" + } } - }, - "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\"]}}}", - "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\"]}}}" + } } \ No newline at end of file diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/_network_management_client.py index fecd8dbd7f03..d8d665a5e414 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/_network_management_client.py @@ -16,6 +16,7 @@ from typing import Any, Optional from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse from ._configuration import NetworkManagementClientConfiguration from .operations import ApplicationGatewaysOperations @@ -249,6 +250,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( @@ -386,6 +388,24 @@ def __init__( self.p2_svpn_gateways = P2SVpnGatewaysOperations( self._client, self._config, self._serialize, self._deserialize) + def _send_request(self, http_request, **kwargs): + # type: (HttpRequest, Any) -> HttpResponse + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.HttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + def close(self): # type: () -> None self._client.close() diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/_network_management_client.py index e16c9cabae2c..e1427bb32330 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/_network_management_client.py @@ -8,6 +8,7 @@ from typing import Any, Optional, TYPE_CHECKING +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core import AsyncARMPipelineClient from msrest import Deserializer, Serializer @@ -246,6 +247,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( @@ -383,6 +385,23 @@ def __init__( self.p2_svpn_gateways = P2SVpnGatewaysOperations( self._client, self._config, self._serialize, self._deserialize) + async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + async def close(self) -> None: await self._client.close() diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_application_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_application_gateways_operations.py index cf8a30bc238c..cf5ca6603619 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_application_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_application_gateways_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_10_01.models.ApplicationGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGateway or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_10_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGateway or the result of cls(response) @@ -651,8 +651,8 @@ async def begin_start( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -757,8 +757,8 @@ async def begin_stop( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -876,8 +876,8 @@ async def begin_backend_health( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGatewayBackendHealth or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_application_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_application_security_groups_operations.py index 106b75928219..c958a95268f6 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_application_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_application_security_groups_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type application_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -282,8 +282,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_10_01.models.ApplicationSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_azure_firewalls_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_azure_firewalls_operations.py index 0150259807fa..9062d26a647b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_azure_firewalls_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_azure_firewalls_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type azure_firewall_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_10_01.models.AzureFirewall :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AzureFirewall or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_connection_monitors_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_connection_monitors_operations.py index dd51167c78a3..6f23a0f315a7 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_connection_monitors_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_connection_monitors_operations.py @@ -88,7 +88,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -123,8 +123,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_10_01.models.ConnectionMonitor :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionMonitorResult or the result of cls(response) @@ -231,7 +231,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('ConnectionMonitorResult', pipeline_response) @@ -281,7 +281,7 @@ async def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -306,8 +306,8 @@ async def begin_delete( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -397,7 +397,7 @@ async def _stop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -422,8 +422,8 @@ async def begin_stop( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -513,7 +513,7 @@ async def _start_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -538,8 +538,8 @@ async def begin_start( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -629,7 +629,7 @@ async def _query_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -661,8 +661,8 @@ async def begin_query( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionMonitorQueryResult or the result of cls(response) @@ -780,7 +780,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_ddos_protection_plans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_ddos_protection_plans_operations.py index e336e5ec1873..125e3e9c0054 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_ddos_protection_plans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_ddos_protection_plans_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type ddos_protection_plan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_10_01.models.DdosProtectionPlan :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either DdosProtectionPlan or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_express_route_circuit_authorizations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_express_route_circuit_authorizations_operations.py index 09064ac9f334..53db4b9b6baf 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_express_route_circuit_authorizations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_express_route_circuit_authorizations_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type authorization_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type authorization_parameters: ~azure.mgmt.network.v2018_10_01.models.ExpressRouteCircuitAuthorization :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitAuthorization or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_express_route_circuit_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_express_route_circuit_connections_operations.py index 17c0ca8ea788..8d9f58637527 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_express_route_circuit_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_express_route_circuit_connections_operations.py @@ -110,8 +110,8 @@ async def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -315,8 +315,8 @@ async def begin_create_or_update( :type express_route_circuit_connection_parameters: ~azure.mgmt.network.v2018_10_01.models.ExpressRouteCircuitConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitConnection or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_express_route_circuit_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_express_route_circuit_peerings_operations.py index 2fcfaa8cdafe..7029854492f5 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_express_route_circuit_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_express_route_circuit_peerings_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2018_10_01.models.ExpressRouteCircuitPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_express_route_circuits_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_express_route_circuits_operations.py index df4508c49876..935a3554793d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_express_route_circuits_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_express_route_circuits_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type circuit_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_10_01.models.ExpressRouteCircuit :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_10_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -533,8 +533,8 @@ async def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -664,8 +664,8 @@ async def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) @@ -795,8 +795,8 @@ async def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableSummaryListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_express_route_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_express_route_connections_operations.py index 1263cf5d9f52..c3e2398be877 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_express_route_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_express_route_connections_operations.py @@ -122,8 +122,8 @@ async def begin_create_or_update( :type put_express_route_connection_parameters: ~azure.mgmt.network.v2018_10_01.models.ExpressRouteConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteConnection or the result of cls(response) @@ -301,8 +301,8 @@ async def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_express_route_cross_connection_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_express_route_cross_connection_peerings_operations.py index 8d2fd23c6375..ba013692f09e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_express_route_cross_connection_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_express_route_cross_connection_peerings_operations.py @@ -178,8 +178,8 @@ async def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -372,8 +372,8 @@ async def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2018_10_01.models.ExpressRouteCrossConnectionPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCrossConnectionPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_express_route_cross_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_express_route_cross_connections_operations.py index bd165774d3fd..e06408326908 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_express_route_cross_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_express_route_cross_connections_operations.py @@ -308,8 +308,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_10_01.models.ExpressRouteCrossConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCrossConnection or the result of cls(response) @@ -433,8 +433,8 @@ async def begin_update_tags( :type cross_connection_parameters: ~azure.mgmt.network.v2018_10_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCrossConnection or the result of cls(response) @@ -561,8 +561,8 @@ async def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -692,8 +692,8 @@ async def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCrossConnectionsRoutesTableSummaryListResult or the result of cls(response) @@ -823,8 +823,8 @@ async def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_express_route_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_express_route_gateways_operations.py index 77ccb540f326..34bc945a661f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_express_route_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_express_route_gateways_operations.py @@ -221,8 +221,8 @@ async def begin_create_or_update( :type put_express_route_gateway_parameters: ~azure.mgmt.network.v2018_10_01.models.ExpressRouteGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteGateway or the result of cls(response) @@ -390,8 +390,8 @@ async def begin_delete( :type express_route_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_express_route_ports_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_express_route_ports_operations.py index 860465d5743f..808e86c1a19a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_express_route_ports_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_express_route_ports_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type express_route_port_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_10_01.models.ExpressRoutePort :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRoutePort or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_10_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRoutePort or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_hub_virtual_network_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_hub_virtual_network_connections_operations.py index 9cc62a433ace..df62b2f45ead 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_hub_virtual_network_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_hub_virtual_network_connections_operations.py @@ -93,7 +93,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('HubVirtualNetworkConnection', pipeline_response) @@ -168,7 +168,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_inbound_nat_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_inbound_nat_rules_operations.py index 4810bb2cab88..99d280092e46 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_inbound_nat_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_inbound_nat_rules_operations.py @@ -178,8 +178,8 @@ async def begin_delete( :type inbound_nat_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -377,8 +377,8 @@ async def begin_create_or_update( :type inbound_nat_rule_parameters: ~azure.mgmt.network.v2018_10_01.models.InboundNatRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either InboundNatRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_interface_endpoints_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_interface_endpoints_operations.py index 87ba71fbf42f..98c5eb0a25f7 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_interface_endpoints_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_interface_endpoints_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type interface_endpoint_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_10_01.models.InterfaceEndpoint :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either InterfaceEndpoint or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_load_balancers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_load_balancers_operations.py index 52e6036072c9..a6b8d3f29075 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_load_balancers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_load_balancers_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type load_balancer_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_10_01.models.LoadBalancer :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LoadBalancer or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_10_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LoadBalancer or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_local_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_local_network_gateways_operations.py index 0f9f405bd71b..3c00f3156ba6 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_local_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_local_network_gateways_operations.py @@ -117,8 +117,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_10_01.models.LocalNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LocalNetworkGateway or the result of cls(response) @@ -285,8 +285,8 @@ async def begin_delete( :type local_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_10_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LocalNetworkGateway or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_network_interface_tap_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_network_interface_tap_configurations_operations.py index 64091d64e106..507269b3051b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_network_interface_tap_configurations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_network_interface_tap_configurations_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type tap_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type tap_configuration_parameters: ~azure.mgmt.network.v2018_10_01.models.NetworkInterfaceTapConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkInterfaceTapConfiguration or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_network_interfaces_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_network_interfaces_operations.py index 982ac39b7b45..caaf4f7b0e37 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_network_interfaces_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_network_interfaces_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_10_01.models.NetworkInterface :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkInterface or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_10_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkInterface or the result of cls(response) @@ -663,8 +663,8 @@ async def begin_get_effective_route_table( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either EffectiveRouteListResult or the result of cls(response) @@ -779,8 +779,8 @@ async def begin_list_effective_network_security_groups( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either EffectiveNetworkSecurityGroupListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_network_management_client_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_network_management_client_operations.py index 2a27942901fb..084f4d3576ad 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_network_management_client_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_network_management_client_operations.py @@ -128,7 +128,7 @@ async def supported_security_providers( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualWanSecurityProviders', pipeline_response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_network_profiles_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_network_profiles_operations.py index 5dac7f46a87d..50a920f6c211 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_network_profiles_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_network_profiles_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type network_profile_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_network_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_network_security_groups_operations.py index 412f187aa94b..7d3cf03c483c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_network_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_network_security_groups_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type network_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -287,8 +287,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_10_01.models.NetworkSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkSecurityGroup or the result of cls(response) @@ -411,8 +411,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_10_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_network_watchers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_network_watchers_operations.py index 1dadd0b441e7..68aa27faedde 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_network_watchers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_network_watchers_operations.py @@ -99,7 +99,7 @@ async def create_or_update( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -162,7 +162,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('NetworkWatcher', pipeline_response) @@ -210,7 +210,7 @@ async def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -232,8 +232,8 @@ async def begin_delete( :type network_watcher_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -338,7 +338,7 @@ async def update_tags( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('NetworkWatcher', pipeline_response) @@ -409,7 +409,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -476,7 +476,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -543,7 +543,7 @@ async def get_topology( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('Topology', pipeline_response) @@ -597,7 +597,7 @@ async def _verify_ip_flow_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -629,8 +629,8 @@ async def begin_verify_ip_flow( :type parameters: ~azure.mgmt.network.v2018_10_01.models.VerificationIPFlowParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VerificationIPFlowResult or the result of cls(response) @@ -726,7 +726,7 @@ async def _get_next_hop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -758,8 +758,8 @@ async def begin_get_next_hop( :type parameters: ~azure.mgmt.network.v2018_10_01.models.NextHopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NextHopResult or the result of cls(response) @@ -855,7 +855,7 @@ async def _get_vm_security_rules_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -887,8 +887,8 @@ async def begin_get_vm_security_rules( :type parameters: ~azure.mgmt.network.v2018_10_01.models.SecurityGroupViewParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either SecurityGroupViewResult or the result of cls(response) @@ -984,7 +984,7 @@ async def _get_troubleshooting_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1016,8 +1016,8 @@ async def begin_get_troubleshooting( :type parameters: ~azure.mgmt.network.v2018_10_01.models.TroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1113,7 +1113,7 @@ async def _get_troubleshooting_result_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1145,8 +1145,8 @@ async def begin_get_troubleshooting_result( :type parameters: ~azure.mgmt.network.v2018_10_01.models.QueryTroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1242,7 +1242,7 @@ async def _set_flow_log_configuration_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1274,8 +1274,8 @@ async def begin_set_flow_log_configuration( :type parameters: ~azure.mgmt.network.v2018_10_01.models.FlowLogInformation :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1371,7 +1371,7 @@ async def _get_flow_log_status_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1404,8 +1404,8 @@ async def begin_get_flow_log_status( :type parameters: ~azure.mgmt.network.v2018_10_01.models.FlowLogStatusParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1501,7 +1501,7 @@ async def _check_connectivity_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1534,8 +1534,8 @@ async def begin_check_connectivity( :type parameters: ~azure.mgmt.network.v2018_10_01.models.ConnectivityParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectivityInformation or the result of cls(response) @@ -1631,7 +1631,7 @@ async def _get_azure_reachability_report_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1664,8 +1664,8 @@ async def begin_get_azure_reachability_report( :type parameters: ~azure.mgmt.network.v2018_10_01.models.AzureReachabilityReportParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AzureReachabilityReport or the result of cls(response) @@ -1761,7 +1761,7 @@ async def _list_available_providers_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1793,8 +1793,8 @@ async def begin_list_available_providers( :type parameters: ~azure.mgmt.network.v2018_10_01.models.AvailableProvidersListParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AvailableProvidersList or the result of cls(response) @@ -1890,7 +1890,7 @@ async def _get_network_configuration_diagnostic_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1922,8 +1922,8 @@ async def begin_get_network_configuration_diagnostic( :type parameters: ~azure.mgmt.network.v2018_10_01.models.NetworkConfigurationDiagnosticParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkConfigurationDiagnosticResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_p2_svpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_p2_svpn_gateways_operations.py index 0ef29a00ab1d..f23f151090d8 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_p2_svpn_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_p2_svpn_gateways_operations.py @@ -91,7 +91,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('P2SVpnGateway', pipeline_response) @@ -145,7 +145,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -178,8 +178,8 @@ async def begin_create_or_update( :type p2_s_vpn_gateway_parameters: ~azure.mgmt.network.v2018_10_01.models.P2SVpnGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -275,7 +275,7 @@ async def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -308,8 +308,8 @@ async def begin_update_tags( :type p2_s_vpn_gateway_parameters: ~azure.mgmt.network.v2018_10_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -399,7 +399,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -421,8 +421,8 @@ async def begin_delete( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -531,7 +531,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -598,7 +598,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -682,8 +682,8 @@ async def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2018_10_01.models.P2SVpnProfileParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnProfileResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_p2_svpn_server_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_p2_svpn_server_configurations_operations.py index bf42b466392e..b08cc58dc8b2 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_p2_svpn_server_configurations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_p2_svpn_server_configurations_operations.py @@ -95,7 +95,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('P2SVpnServerConfiguration', pipeline_response) @@ -151,7 +151,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -188,8 +188,8 @@ async def begin_create_or_update( :type p2_s_vpn_server_configuration_parameters: ~azure.mgmt.network.v2018_10_01.models.P2SVpnServerConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either P2SVpnServerConfiguration or the result of cls(response) @@ -283,7 +283,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -308,8 +308,8 @@ async def begin_delete( :type p2_s_vpn_server_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -424,7 +424,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_packet_captures_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_packet_captures_operations.py index 2a890b6ce9ef..719dd5ba1fab 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_packet_captures_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_packet_captures_operations.py @@ -88,7 +88,7 @@ async def _create_initial( if response.status_code not in [201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PacketCaptureResult', pipeline_response) @@ -119,8 +119,8 @@ async def begin_create( :type parameters: ~azure.mgmt.network.v2018_10_01.models.PacketCapture :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PacketCaptureResult or the result of cls(response) @@ -227,7 +227,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PacketCaptureResult', pipeline_response) @@ -277,7 +277,7 @@ async def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -302,8 +302,8 @@ async def begin_delete( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -393,7 +393,7 @@ async def _stop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -418,8 +418,8 @@ async def begin_stop( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -509,7 +509,7 @@ async def _get_status_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -541,8 +541,8 @@ async def begin_get_status( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PacketCaptureQueryStatusResult or the result of cls(response) @@ -660,7 +660,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_public_ip_addresses_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_public_ip_addresses_operations.py index f00c88ef751d..6d4022d99665 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_public_ip_addresses_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_public_ip_addresses_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type public_ip_address_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_10_01.models.PublicIPAddress :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PublicIPAddress or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_10_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PublicIPAddress or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_public_ip_prefixes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_public_ip_prefixes_operations.py index 7086b0afbf5a..b60933d84bc7 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_public_ip_prefixes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_public_ip_prefixes_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type public_ip_prefix_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_10_01.models.PublicIPPrefix :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PublicIPPrefix or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_10_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PublicIPPrefix or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_route_filter_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_route_filter_rules_operations.py index 12cb5acc6485..b9e08e6b2a49 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_route_filter_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_route_filter_rules_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2018_10_01.models.RouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilterRule or the result of cls(response) @@ -430,8 +430,8 @@ async def begin_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2018_10_01.models.PatchRouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilterRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_route_filters_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_route_filters_operations.py index 448587dd8232..ddb8bdcec441 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_route_filters_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_route_filters_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type route_filter_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -287,8 +287,8 @@ async def begin_create_or_update( :type route_filter_parameters: ~azure.mgmt.network.v2018_10_01.models.RouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilter or the result of cls(response) @@ -411,8 +411,8 @@ async def begin_update( :type route_filter_parameters: ~azure.mgmt.network.v2018_10_01.models.PatchRouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilter or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_route_tables_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_route_tables_operations.py index a603274380e9..8c9e468bdbb9 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_route_tables_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_route_tables_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_10_01.models.RouteTable :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteTable or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_10_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteTable or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_routes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_routes_operations.py index d39c62a3a707..d68e61216fed 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_routes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_routes_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type route_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ async def begin_create_or_update( :type route_parameters: ~azure.mgmt.network.v2018_10_01.models.Route :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Route or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_security_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_security_rules_operations.py index 8cd262a8aa6d..c0345638ed0f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_security_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_security_rules_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type security_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type security_rule_parameters: ~azure.mgmt.network.v2018_10_01.models.SecurityRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either SecurityRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_service_endpoint_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_service_endpoint_policies_operations.py index 17c54f06f69e..3aae91100342 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_service_endpoint_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_service_endpoint_policies_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type service_endpoint_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -287,8 +287,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_10_01.models.ServiceEndpointPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ServiceEndpointPolicy or the result of cls(response) @@ -411,8 +411,8 @@ async def begin_update( :type parameters: ~azure.mgmt.network.v2018_10_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ServiceEndpointPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_service_endpoint_policy_definitions_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_service_endpoint_policy_definitions_operations.py index 1b41f14b1867..72ca3aea5ad4 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_service_endpoint_policy_definitions_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_service_endpoint_policy_definitions_operations.py @@ -105,8 +105,8 @@ async def begin_delete( :type service_endpoint_policy_definition_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -302,8 +302,8 @@ async def begin_create_or_update( :type service_endpoint_policy_definitions: ~azure.mgmt.network.v2018_10_01.models.ServiceEndpointPolicyDefinition :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ServiceEndpointPolicyDefinition or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_subnets_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_subnets_operations.py index 75d0cc76a23f..5f5888d81871 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_subnets_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_subnets_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type subnet_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -302,8 +302,8 @@ async def begin_create_or_update( :type subnet_parameters: ~azure.mgmt.network.v2018_10_01.models.Subnet :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Subnet or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_virtual_hubs_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_virtual_hubs_operations.py index 2142f8a87b51..c94aa5956b87 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_virtual_hubs_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_virtual_hubs_operations.py @@ -91,7 +91,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualHub', pipeline_response) @@ -145,7 +145,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -177,8 +177,8 @@ async def begin_create_or_update( :type virtual_hub_parameters: ~azure.mgmt.network.v2018_10_01.models.VirtualHub :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualHub or the result of cls(response) @@ -274,7 +274,7 @@ async def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -306,8 +306,8 @@ async def begin_update_tags( :type virtual_hub_parameters: ~azure.mgmt.network.v2018_10_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualHub or the result of cls(response) @@ -397,7 +397,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -419,8 +419,8 @@ async def begin_delete( :type virtual_hub_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -529,7 +529,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -596,7 +596,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_virtual_network_gateway_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_virtual_network_gateway_connections_operations.py index a43eab0d9a3f..befeed8ff63b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_virtual_network_gateway_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_virtual_network_gateway_connections_operations.py @@ -119,8 +119,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_10_01.models.VirtualNetworkGatewayConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -289,8 +289,8 @@ async def begin_delete( :type virtual_network_gateway_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_10_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -541,8 +541,8 @@ async def begin_set_shared_key( :type parameters: ~azure.mgmt.network.v2018_10_01.models.ConnectionSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionSharedKey or the result of cls(response) @@ -802,8 +802,8 @@ async def begin_reset_shared_key( :type parameters: ~azure.mgmt.network.v2018_10_01.models.ConnectionResetSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionResetSharedKey or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_virtual_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_virtual_network_gateways_operations.py index 16fff7ce9faa..815d1fc6e113 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_virtual_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_virtual_network_gateways_operations.py @@ -117,8 +117,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_10_01.models.VirtualNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -285,8 +285,8 @@ async def begin_delete( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_10_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -673,8 +673,8 @@ async def begin_reset( :type gateway_vip: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -784,8 +784,8 @@ async def begin_reset_vpn_client_shared_key( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -908,8 +908,8 @@ async def begin_generatevpnclientpackage( :type parameters: ~azure.mgmt.network.v2018_10_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1036,8 +1036,8 @@ async def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2018_10_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1154,8 +1154,8 @@ async def begin_get_vpn_profile_package_url( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1276,8 +1276,8 @@ async def begin_get_bgp_peer_status( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either BgpPeerStatusListResult or the result of cls(response) @@ -1452,8 +1452,8 @@ async def begin_get_learned_routes( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1574,8 +1574,8 @@ async def begin_get_advertised_routes( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1702,8 +1702,8 @@ async def begin_set_vpnclient_ipsec_parameters( :type vpnclient_ipsec_params: ~azure.mgmt.network.v2018_10_01.models.VpnClientIPsecParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnClientIPsecParameters or the result of cls(response) @@ -1819,8 +1819,8 @@ async def begin_get_vpnclient_ipsec_parameters( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnClientIPsecParameters or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_virtual_network_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_virtual_network_peerings_operations.py index 0823b18804f8..5e40e2ff2368 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_virtual_network_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_virtual_network_peerings_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type virtual_network_peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type virtual_network_peering_parameters: ~azure.mgmt.network.v2018_10_01.models.VirtualNetworkPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_virtual_network_taps_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_virtual_network_taps_operations.py index eda3291e4853..8ae4f97ea6b1 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_virtual_network_taps_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_virtual_network_taps_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type tap_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_10_01.models.VirtualNetworkTap :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkTap or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type tap_parameters: ~azure.mgmt.network.v2018_10_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkTap or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_virtual_networks_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_virtual_networks_operations.py index 5008eca8c3d2..796e89f88665 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_virtual_networks_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_virtual_networks_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type virtual_network_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_10_01.models.VirtualNetwork :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetwork or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_10_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetwork or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_virtual_wans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_virtual_wans_operations.py index f4d840fb6d33..eac5e0cb7077 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_virtual_wans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_virtual_wans_operations.py @@ -91,7 +91,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualWAN', pipeline_response) @@ -145,7 +145,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -177,8 +177,8 @@ async def begin_create_or_update( :type wan_parameters: ~azure.mgmt.network.v2018_10_01.models.VirtualWAN :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualWAN or the result of cls(response) @@ -274,7 +274,7 @@ async def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -306,8 +306,8 @@ async def begin_update_tags( :type wan_parameters: ~azure.mgmt.network.v2018_10_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualWAN or the result of cls(response) @@ -397,7 +397,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -419,8 +419,8 @@ async def begin_delete( :type virtual_wan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -529,7 +529,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -596,7 +596,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_vpn_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_vpn_connections_operations.py index 021ad321e14a..1721ecdd20eb 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_vpn_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_vpn_connections_operations.py @@ -95,7 +95,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VpnConnection', pipeline_response) @@ -151,7 +151,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -187,8 +187,8 @@ async def begin_create_or_update( :type vpn_connection_parameters: ~azure.mgmt.network.v2018_10_01.models.VpnConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnConnection or the result of cls(response) @@ -282,7 +282,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -307,8 +307,8 @@ async def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -423,7 +423,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_vpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_vpn_gateways_operations.py index 97da78eccd1e..c89a0fbb74a3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_vpn_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_vpn_gateways_operations.py @@ -91,7 +91,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VpnGateway', pipeline_response) @@ -145,7 +145,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -178,8 +178,8 @@ async def begin_create_or_update( :type vpn_gateway_parameters: ~azure.mgmt.network.v2018_10_01.models.VpnGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnGateway or the result of cls(response) @@ -275,7 +275,7 @@ async def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -307,8 +307,8 @@ async def begin_update_tags( :type vpn_gateway_parameters: ~azure.mgmt.network.v2018_10_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnGateway or the result of cls(response) @@ -398,7 +398,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -420,8 +420,8 @@ async def begin_delete( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -530,7 +530,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -597,7 +597,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_vpn_sites_configuration_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_vpn_sites_configuration_operations.py index 6f3bffe151e6..276f15effaf0 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_vpn_sites_configuration_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_vpn_sites_configuration_operations.py @@ -85,7 +85,7 @@ async def _download_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -111,8 +111,8 @@ async def begin_download( :type request: ~azure.mgmt.network.v2018_10_01.models.GetVpnSitesConfigurationRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_vpn_sites_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_vpn_sites_operations.py index 37b45812e807..730bddbd265e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_vpn_sites_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/aio/operations/_vpn_sites_operations.py @@ -91,7 +91,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VpnSite', pipeline_response) @@ -145,7 +145,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -177,8 +177,8 @@ async def begin_create_or_update( :type vpn_site_parameters: ~azure.mgmt.network.v2018_10_01.models.VpnSite :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnSite or the result of cls(response) @@ -274,7 +274,7 @@ async def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -306,8 +306,8 @@ async def begin_update_tags( :type vpn_site_parameters: ~azure.mgmt.network.v2018_10_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnSite or the result of cls(response) @@ -397,7 +397,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -419,8 +419,8 @@ async def begin_delete( :type vpn_site_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -529,7 +529,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -596,7 +596,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/models/_models.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/models/_models.py index 2f418db0d9d2..48333464be18 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/models/_models.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/models/_models.py @@ -3982,7 +3982,7 @@ class ContainerNetworkInterface(SubResource): ~azure.mgmt.network.v2018_10_01.models.ContainerNetworkInterfaceConfiguration :param container: Reference to the container to which this container network interface is attached. - :type container: ~azure.mgmt.network.v2018_10_01.models.SubResource + :type container: ~azure.mgmt.network.v2018_10_01.models.Container :param ip_configurations: Reference to the ip configuration on this container nic. :type ip_configurations: list[~azure.mgmt.network.v2018_10_01.models.ContainerNetworkInterfaceIpConfiguration] @@ -4001,7 +4001,7 @@ class ContainerNetworkInterface(SubResource): 'type': {'key': 'type', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, 'container_network_interface_configuration': {'key': 'properties.containerNetworkInterfaceConfiguration', 'type': 'ContainerNetworkInterfaceConfiguration'}, - 'container': {'key': 'properties.container', 'type': 'SubResource'}, + 'container': {'key': 'properties.container', 'type': 'Container'}, 'ip_configurations': {'key': 'properties.ipConfigurations', 'type': '[ContainerNetworkInterfaceIpConfiguration]'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, } @@ -10020,8 +10020,8 @@ class PacketCaptureStorageLocation(msrest.serialization.Model): :param storage_id: The ID of the storage account to save the packet capture session. Required if no local file path is provided. :type storage_id: str - :param storage_path: The URI of the storage path to save the packet capture. Must be a well- - formed URI describing the location to save the packet capture. + :param storage_path: The URI of the storage path to save the packet capture. Must be a + well-formed URI describing the location to save the packet capture. :type storage_path: str :param file_path: A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no @@ -13057,8 +13057,8 @@ class VirtualNetworkPeering(SubResource): :type use_remote_gateways: bool :param remote_virtual_network: The reference of the remote virtual network. The remote virtual network can be in the same or different region (preview). See here to register for the preview - and learn more (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create- - peering). + and learn more + (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering). :type remote_virtual_network: ~azure.mgmt.network.v2018_10_01.models.SubResource :param remote_address_space: The reference of the remote virtual network address space. :type remote_address_space: ~azure.mgmt.network.v2018_10_01.models.AddressSpace diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/models/_models_py3.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/models/_models_py3.py index 4cf885c922f3..cb7bc1797837 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/models/_models_py3.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/models/_models_py3.py @@ -4518,7 +4518,7 @@ class ContainerNetworkInterface(SubResource): ~azure.mgmt.network.v2018_10_01.models.ContainerNetworkInterfaceConfiguration :param container: Reference to the container to which this container network interface is attached. - :type container: ~azure.mgmt.network.v2018_10_01.models.SubResource + :type container: ~azure.mgmt.network.v2018_10_01.models.Container :param ip_configurations: Reference to the ip configuration on this container nic. :type ip_configurations: list[~azure.mgmt.network.v2018_10_01.models.ContainerNetworkInterfaceIpConfiguration] @@ -4537,7 +4537,7 @@ class ContainerNetworkInterface(SubResource): 'type': {'key': 'type', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, 'container_network_interface_configuration': {'key': 'properties.containerNetworkInterfaceConfiguration', 'type': 'ContainerNetworkInterfaceConfiguration'}, - 'container': {'key': 'properties.container', 'type': 'SubResource'}, + 'container': {'key': 'properties.container', 'type': 'Container'}, 'ip_configurations': {'key': 'properties.ipConfigurations', 'type': '[ContainerNetworkInterfaceIpConfiguration]'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, } @@ -4549,7 +4549,7 @@ def __init__( name: Optional[str] = None, etag: Optional[str] = None, container_network_interface_configuration: Optional["ContainerNetworkInterfaceConfiguration"] = None, - container: Optional["SubResource"] = None, + container: Optional["Container"] = None, ip_configurations: Optional[List["ContainerNetworkInterfaceIpConfiguration"]] = None, **kwargs ): @@ -11310,8 +11310,8 @@ class PacketCaptureStorageLocation(msrest.serialization.Model): :param storage_id: The ID of the storage account to save the packet capture session. Required if no local file path is provided. :type storage_id: str - :param storage_path: The URI of the storage path to save the packet capture. Must be a well- - formed URI describing the location to save the packet capture. + :param storage_path: The URI of the storage path to save the packet capture. Must be a + well-formed URI describing the location to save the packet capture. :type storage_path: str :param file_path: A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no @@ -14729,8 +14729,8 @@ class VirtualNetworkPeering(SubResource): :type use_remote_gateways: bool :param remote_virtual_network: The reference of the remote virtual network. The remote virtual network can be in the same or different region (preview). See here to register for the preview - and learn more (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create- - peering). + and learn more + (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering). :type remote_virtual_network: ~azure.mgmt.network.v2018_10_01.models.SubResource :param remote_address_space: The reference of the remote virtual network address space. :type remote_address_space: ~azure.mgmt.network.v2018_10_01.models.AddressSpace diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_application_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_application_gateways_operations.py index 4960a0f8a93e..473d8f2bcf9b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_application_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_application_gateways_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_10_01.models.ApplicationGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGateway or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_10_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGateway or the result of cls(response) @@ -666,8 +666,8 @@ def begin_start( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -774,8 +774,8 @@ def begin_stop( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -895,8 +895,8 @@ def begin_backend_health( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGatewayBackendHealth or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_application_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_application_security_groups_operations.py index 36bd49ce7067..10dfc0c8b37a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_application_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_application_security_groups_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type application_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -291,8 +291,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_10_01.models.ApplicationSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_azure_firewalls_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_azure_firewalls_operations.py index 5d2623cd4f12..1ab594793230 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_azure_firewalls_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_azure_firewalls_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type azure_firewall_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_10_01.models.AzureFirewall :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AzureFirewall or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_connection_monitors_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_connection_monitors_operations.py index ba4d3500a7b0..45d9bc107f3e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_connection_monitors_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_connection_monitors_operations.py @@ -93,7 +93,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -129,8 +129,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_10_01.models.ConnectionMonitor :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionMonitorResult or the result of cls(response) @@ -238,7 +238,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('ConnectionMonitorResult', pipeline_response) @@ -289,7 +289,7 @@ def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -315,8 +315,8 @@ def begin_delete( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -407,7 +407,7 @@ def _stop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -433,8 +433,8 @@ def begin_stop( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -525,7 +525,7 @@ def _start_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -551,8 +551,8 @@ def begin_start( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -643,7 +643,7 @@ def _query_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -676,8 +676,8 @@ def begin_query( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionMonitorQueryResult or the result of cls(response) @@ -796,7 +796,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_ddos_protection_plans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_ddos_protection_plans_operations.py index 4655d69f3c4c..8b419c58a2e8 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_ddos_protection_plans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_ddos_protection_plans_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type ddos_protection_plan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_10_01.models.DdosProtectionPlan :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either DdosProtectionPlan or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_express_route_circuit_authorizations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_express_route_circuit_authorizations_operations.py index 59aa6c90a7d8..b6e166290d5d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_express_route_circuit_authorizations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_express_route_circuit_authorizations_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type authorization_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type authorization_parameters: ~azure.mgmt.network.v2018_10_01.models.ExpressRouteCircuitAuthorization :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitAuthorization or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_express_route_circuit_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_express_route_circuit_connections_operations.py index 26e39cc150a9..5bf71face645 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_express_route_circuit_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_express_route_circuit_connections_operations.py @@ -116,8 +116,8 @@ def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -324,8 +324,8 @@ def begin_create_or_update( :type express_route_circuit_connection_parameters: ~azure.mgmt.network.v2018_10_01.models.ExpressRouteCircuitConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitConnection or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_express_route_circuit_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_express_route_circuit_peerings_operations.py index f055c91a2367..71d7c83c7182 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_express_route_circuit_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_express_route_circuit_peerings_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2018_10_01.models.ExpressRouteCircuitPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_express_route_circuits_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_express_route_circuits_operations.py index c9979355a442..8c49c0f04c65 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_express_route_circuits_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_express_route_circuits_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type circuit_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_10_01.models.ExpressRouteCircuit :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_10_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -546,8 +546,8 @@ def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -679,8 +679,8 @@ def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) @@ -812,8 +812,8 @@ def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableSummaryListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_express_route_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_express_route_connections_operations.py index 10bd044f3bf2..68d9f62657d4 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_express_route_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_express_route_connections_operations.py @@ -128,8 +128,8 @@ def begin_create_or_update( :type put_express_route_connection_parameters: ~azure.mgmt.network.v2018_10_01.models.ExpressRouteConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteConnection or the result of cls(response) @@ -310,8 +310,8 @@ def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_express_route_cross_connection_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_express_route_cross_connection_peerings_operations.py index f29684d0ac0f..825b66be3607 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_express_route_cross_connection_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_express_route_cross_connection_peerings_operations.py @@ -185,8 +185,8 @@ def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -382,8 +382,8 @@ def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2018_10_01.models.ExpressRouteCrossConnectionPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCrossConnectionPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_express_route_cross_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_express_route_cross_connections_operations.py index 6e6f3d37b422..7a8d489844fd 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_express_route_cross_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_express_route_cross_connections_operations.py @@ -317,8 +317,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_10_01.models.ExpressRouteCrossConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCrossConnection or the result of cls(response) @@ -444,8 +444,8 @@ def begin_update_tags( :type cross_connection_parameters: ~azure.mgmt.network.v2018_10_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCrossConnection or the result of cls(response) @@ -574,8 +574,8 @@ def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -707,8 +707,8 @@ def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCrossConnectionsRoutesTableSummaryListResult or the result of cls(response) @@ -840,8 +840,8 @@ def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_express_route_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_express_route_gateways_operations.py index f1764c9aaf34..16d135610a3c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_express_route_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_express_route_gateways_operations.py @@ -229,8 +229,8 @@ def begin_create_or_update( :type put_express_route_gateway_parameters: ~azure.mgmt.network.v2018_10_01.models.ExpressRouteGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteGateway or the result of cls(response) @@ -401,8 +401,8 @@ def begin_delete( :type express_route_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_express_route_ports_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_express_route_ports_operations.py index 5123fc7838d0..6c415f76cbce 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_express_route_ports_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_express_route_ports_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type express_route_port_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_10_01.models.ExpressRoutePort :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRoutePort or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_10_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRoutePort or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_hub_virtual_network_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_hub_virtual_network_connections_operations.py index 541e32ed70ec..a29a4d7ac089 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_hub_virtual_network_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_hub_virtual_network_connections_operations.py @@ -98,7 +98,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('HubVirtualNetworkConnection', pipeline_response) @@ -174,7 +174,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_inbound_nat_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_inbound_nat_rules_operations.py index 7c4709a574ff..59d6bc2027af 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_inbound_nat_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_inbound_nat_rules_operations.py @@ -185,8 +185,8 @@ def begin_delete( :type inbound_nat_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -387,8 +387,8 @@ def begin_create_or_update( :type inbound_nat_rule_parameters: ~azure.mgmt.network.v2018_10_01.models.InboundNatRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either InboundNatRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_interface_endpoints_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_interface_endpoints_operations.py index 51ba9b19ac47..7fb24268d387 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_interface_endpoints_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_interface_endpoints_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type interface_endpoint_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_10_01.models.InterfaceEndpoint :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either InterfaceEndpoint or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_load_balancers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_load_balancers_operations.py index 195aa4d1ec12..c97c3eb594ac 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_load_balancers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_load_balancers_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type load_balancer_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_10_01.models.LoadBalancer :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LoadBalancer or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_10_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LoadBalancer or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_local_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_local_network_gateways_operations.py index 4d53822c0950..968ff8093d8f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_local_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_local_network_gateways_operations.py @@ -123,8 +123,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_10_01.models.LocalNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LocalNetworkGateway or the result of cls(response) @@ -294,8 +294,8 @@ def begin_delete( :type local_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_10_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LocalNetworkGateway or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_network_interface_tap_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_network_interface_tap_configurations_operations.py index ed9ca967d661..a60b1c653ea0 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_network_interface_tap_configurations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_network_interface_tap_configurations_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type tap_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type tap_configuration_parameters: ~azure.mgmt.network.v2018_10_01.models.NetworkInterfaceTapConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkInterfaceTapConfiguration or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_network_interfaces_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_network_interfaces_operations.py index 47f8726bafd5..12ad0b860a61 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_network_interfaces_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_network_interfaces_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_10_01.models.NetworkInterface :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkInterface or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_10_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkInterface or the result of cls(response) @@ -678,8 +678,8 @@ def begin_get_effective_route_table( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either EffectiveRouteListResult or the result of cls(response) @@ -796,8 +796,8 @@ def begin_list_effective_network_security_groups( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either EffectiveNetworkSecurityGroupListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_network_management_client_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_network_management_client_operations.py index 38b2ea73a8d6..445905071ac0 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_network_management_client_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_network_management_client_operations.py @@ -134,7 +134,7 @@ def supported_security_providers( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualWanSecurityProviders', pipeline_response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_network_profiles_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_network_profiles_operations.py index c83adbf9f087..7efdca838517 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_network_profiles_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_network_profiles_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type network_profile_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_network_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_network_security_groups_operations.py index 3df428f7d010..793629613f9d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_network_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_network_security_groups_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type network_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -296,8 +296,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_10_01.models.NetworkSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkSecurityGroup or the result of cls(response) @@ -422,8 +422,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_10_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_network_watchers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_network_watchers_operations.py index c0d4b41f325a..192936bdba08 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_network_watchers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_network_watchers_operations.py @@ -104,7 +104,7 @@ def create_or_update( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -168,7 +168,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('NetworkWatcher', pipeline_response) @@ -217,7 +217,7 @@ def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -240,8 +240,8 @@ def begin_delete( :type network_watcher_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -347,7 +347,7 @@ def update_tags( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('NetworkWatcher', pipeline_response) @@ -419,7 +419,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -487,7 +487,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -555,7 +555,7 @@ def get_topology( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('Topology', pipeline_response) @@ -610,7 +610,7 @@ def _verify_ip_flow_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -643,8 +643,8 @@ def begin_verify_ip_flow( :type parameters: ~azure.mgmt.network.v2018_10_01.models.VerificationIPFlowParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VerificationIPFlowResult or the result of cls(response) @@ -741,7 +741,7 @@ def _get_next_hop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -774,8 +774,8 @@ def begin_get_next_hop( :type parameters: ~azure.mgmt.network.v2018_10_01.models.NextHopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NextHopResult or the result of cls(response) @@ -872,7 +872,7 @@ def _get_vm_security_rules_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -905,8 +905,8 @@ def begin_get_vm_security_rules( :type parameters: ~azure.mgmt.network.v2018_10_01.models.SecurityGroupViewParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either SecurityGroupViewResult or the result of cls(response) @@ -1003,7 +1003,7 @@ def _get_troubleshooting_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1036,8 +1036,8 @@ def begin_get_troubleshooting( :type parameters: ~azure.mgmt.network.v2018_10_01.models.TroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1134,7 +1134,7 @@ def _get_troubleshooting_result_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1167,8 +1167,8 @@ def begin_get_troubleshooting_result( :type parameters: ~azure.mgmt.network.v2018_10_01.models.QueryTroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1265,7 +1265,7 @@ def _set_flow_log_configuration_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1298,8 +1298,8 @@ def begin_set_flow_log_configuration( :type parameters: ~azure.mgmt.network.v2018_10_01.models.FlowLogInformation :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1396,7 +1396,7 @@ def _get_flow_log_status_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1430,8 +1430,8 @@ def begin_get_flow_log_status( :type parameters: ~azure.mgmt.network.v2018_10_01.models.FlowLogStatusParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1528,7 +1528,7 @@ def _check_connectivity_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1562,8 +1562,8 @@ def begin_check_connectivity( :type parameters: ~azure.mgmt.network.v2018_10_01.models.ConnectivityParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectivityInformation or the result of cls(response) @@ -1660,7 +1660,7 @@ def _get_azure_reachability_report_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1694,8 +1694,8 @@ def begin_get_azure_reachability_report( :type parameters: ~azure.mgmt.network.v2018_10_01.models.AzureReachabilityReportParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AzureReachabilityReport or the result of cls(response) @@ -1792,7 +1792,7 @@ def _list_available_providers_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1825,8 +1825,8 @@ def begin_list_available_providers( :type parameters: ~azure.mgmt.network.v2018_10_01.models.AvailableProvidersListParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AvailableProvidersList or the result of cls(response) @@ -1923,7 +1923,7 @@ def _get_network_configuration_diagnostic_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1956,8 +1956,8 @@ def begin_get_network_configuration_diagnostic( :type parameters: ~azure.mgmt.network.v2018_10_01.models.NetworkConfigurationDiagnosticParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkConfigurationDiagnosticResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_p2_svpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_p2_svpn_gateways_operations.py index 70de85c05aeb..6cd393a57569 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_p2_svpn_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_p2_svpn_gateways_operations.py @@ -96,7 +96,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('P2SVpnGateway', pipeline_response) @@ -151,7 +151,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -185,8 +185,8 @@ def begin_create_or_update( :type p2_s_vpn_gateway_parameters: ~azure.mgmt.network.v2018_10_01.models.P2SVpnGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -283,7 +283,7 @@ def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -317,8 +317,8 @@ def begin_update_tags( :type p2_s_vpn_gateway_parameters: ~azure.mgmt.network.v2018_10_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -409,7 +409,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -432,8 +432,8 @@ def begin_delete( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -543,7 +543,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -611,7 +611,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -697,8 +697,8 @@ def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2018_10_01.models.P2SVpnProfileParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnProfileResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_p2_svpn_server_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_p2_svpn_server_configurations_operations.py index 05c3335ef470..3d0929b07c9e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_p2_svpn_server_configurations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_p2_svpn_server_configurations_operations.py @@ -100,7 +100,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('P2SVpnServerConfiguration', pipeline_response) @@ -157,7 +157,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -195,8 +195,8 @@ def begin_create_or_update( :type p2_s_vpn_server_configuration_parameters: ~azure.mgmt.network.v2018_10_01.models.P2SVpnServerConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either P2SVpnServerConfiguration or the result of cls(response) @@ -291,7 +291,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -317,8 +317,8 @@ def begin_delete( :type p2_s_vpn_server_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -434,7 +434,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_packet_captures_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_packet_captures_operations.py index 3aeffce7f62e..0c734249af19 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_packet_captures_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_packet_captures_operations.py @@ -93,7 +93,7 @@ def _create_initial( if response.status_code not in [201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PacketCaptureResult', pipeline_response) @@ -125,8 +125,8 @@ def begin_create( :type parameters: ~azure.mgmt.network.v2018_10_01.models.PacketCapture :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PacketCaptureResult or the result of cls(response) @@ -234,7 +234,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PacketCaptureResult', pipeline_response) @@ -285,7 +285,7 @@ def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -311,8 +311,8 @@ def begin_delete( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -403,7 +403,7 @@ def _stop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -429,8 +429,8 @@ def begin_stop( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -521,7 +521,7 @@ def _get_status_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -554,8 +554,8 @@ def begin_get_status( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PacketCaptureQueryStatusResult or the result of cls(response) @@ -674,7 +674,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_public_ip_addresses_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_public_ip_addresses_operations.py index 0a3a4c1e8c4e..b89b13e30bd4 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_public_ip_addresses_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_public_ip_addresses_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type public_ip_address_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_10_01.models.PublicIPAddress :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PublicIPAddress or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_10_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PublicIPAddress or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_public_ip_prefixes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_public_ip_prefixes_operations.py index b7bb7a9506ab..4b7510cda90b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_public_ip_prefixes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_public_ip_prefixes_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type public_ip_prefix_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_10_01.models.PublicIPPrefix :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PublicIPPrefix or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_10_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PublicIPPrefix or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_route_filter_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_route_filter_rules_operations.py index 3f5593888e30..6617f909e4ab 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_route_filter_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_route_filter_rules_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2018_10_01.models.RouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilterRule or the result of cls(response) @@ -441,8 +441,8 @@ def begin_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2018_10_01.models.PatchRouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilterRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_route_filters_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_route_filters_operations.py index bdbfb99f5dec..80d0634c1bd2 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_route_filters_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_route_filters_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type route_filter_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -296,8 +296,8 @@ def begin_create_or_update( :type route_filter_parameters: ~azure.mgmt.network.v2018_10_01.models.RouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilter or the result of cls(response) @@ -422,8 +422,8 @@ def begin_update( :type route_filter_parameters: ~azure.mgmt.network.v2018_10_01.models.PatchRouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilter or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_route_tables_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_route_tables_operations.py index 0f476bce020a..1ac23c1254fc 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_route_tables_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_route_tables_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_10_01.models.RouteTable :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteTable or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_10_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteTable or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_routes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_routes_operations.py index f0e7389bd921..75a392b8f546 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_routes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_routes_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type route_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -306,8 +306,8 @@ def begin_create_or_update( :type route_parameters: ~azure.mgmt.network.v2018_10_01.models.Route :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Route or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_security_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_security_rules_operations.py index a8fa85d3ccf7..b8f3d82baf46 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_security_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_security_rules_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type security_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type security_rule_parameters: ~azure.mgmt.network.v2018_10_01.models.SecurityRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either SecurityRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_service_endpoint_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_service_endpoint_policies_operations.py index a08144dd654c..a7f9e4653e22 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_service_endpoint_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_service_endpoint_policies_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type service_endpoint_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -296,8 +296,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_10_01.models.ServiceEndpointPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ServiceEndpointPolicy or the result of cls(response) @@ -422,8 +422,8 @@ def begin_update( :type parameters: ~azure.mgmt.network.v2018_10_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ServiceEndpointPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_service_endpoint_policy_definitions_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_service_endpoint_policy_definitions_operations.py index 60f242c938fb..314b56a9deae 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_service_endpoint_policy_definitions_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_service_endpoint_policy_definitions_operations.py @@ -111,8 +111,8 @@ def begin_delete( :type service_endpoint_policy_definition_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -311,8 +311,8 @@ def begin_create_or_update( :type service_endpoint_policy_definitions: ~azure.mgmt.network.v2018_10_01.models.ServiceEndpointPolicyDefinition :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ServiceEndpointPolicyDefinition or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_subnets_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_subnets_operations.py index 9325e908c902..f1edf28cd081 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_subnets_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_subnets_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type subnet_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -311,8 +311,8 @@ def begin_create_or_update( :type subnet_parameters: ~azure.mgmt.network.v2018_10_01.models.Subnet :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Subnet or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_virtual_hubs_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_virtual_hubs_operations.py index 885065f452b1..6254f8dd4706 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_virtual_hubs_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_virtual_hubs_operations.py @@ -96,7 +96,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualHub', pipeline_response) @@ -151,7 +151,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -184,8 +184,8 @@ def begin_create_or_update( :type virtual_hub_parameters: ~azure.mgmt.network.v2018_10_01.models.VirtualHub :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualHub or the result of cls(response) @@ -282,7 +282,7 @@ def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -315,8 +315,8 @@ def begin_update_tags( :type virtual_hub_parameters: ~azure.mgmt.network.v2018_10_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualHub or the result of cls(response) @@ -407,7 +407,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -430,8 +430,8 @@ def begin_delete( :type virtual_hub_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -541,7 +541,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -609,7 +609,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_virtual_network_gateway_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_virtual_network_gateway_connections_operations.py index 5cbc54140d91..2761f0b8586b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_virtual_network_gateway_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_virtual_network_gateway_connections_operations.py @@ -125,8 +125,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_10_01.models.VirtualNetworkGatewayConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -298,8 +298,8 @@ def begin_delete( :type virtual_network_gateway_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_10_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -554,8 +554,8 @@ def begin_set_shared_key( :type parameters: ~azure.mgmt.network.v2018_10_01.models.ConnectionSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionSharedKey or the result of cls(response) @@ -819,8 +819,8 @@ def begin_reset_shared_key( :type parameters: ~azure.mgmt.network.v2018_10_01.models.ConnectionResetSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionResetSharedKey or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_virtual_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_virtual_network_gateways_operations.py index cf7a19f1ecec..bf74f05ef017 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_virtual_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_virtual_network_gateways_operations.py @@ -123,8 +123,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_10_01.models.VirtualNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -294,8 +294,8 @@ def begin_delete( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_10_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -688,8 +688,8 @@ def begin_reset( :type gateway_vip: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -801,8 +801,8 @@ def begin_reset_vpn_client_shared_key( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -927,8 +927,8 @@ def begin_generatevpnclientpackage( :type parameters: ~azure.mgmt.network.v2018_10_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1057,8 +1057,8 @@ def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2018_10_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1177,8 +1177,8 @@ def begin_get_vpn_profile_package_url( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1301,8 +1301,8 @@ def begin_get_bgp_peer_status( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either BgpPeerStatusListResult or the result of cls(response) @@ -1480,8 +1480,8 @@ def begin_get_learned_routes( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1604,8 +1604,8 @@ def begin_get_advertised_routes( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1734,8 +1734,8 @@ def begin_set_vpnclient_ipsec_parameters( :type vpnclient_ipsec_params: ~azure.mgmt.network.v2018_10_01.models.VpnClientIPsecParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnClientIPsecParameters or the result of cls(response) @@ -1853,8 +1853,8 @@ def begin_get_vpnclient_ipsec_parameters( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnClientIPsecParameters or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_virtual_network_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_virtual_network_peerings_operations.py index 3facc8cf317b..c43c518f2203 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_virtual_network_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_virtual_network_peerings_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type virtual_network_peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type virtual_network_peering_parameters: ~azure.mgmt.network.v2018_10_01.models.VirtualNetworkPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_virtual_network_taps_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_virtual_network_taps_operations.py index d71823cd5680..f2636780ea0f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_virtual_network_taps_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_virtual_network_taps_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type tap_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_10_01.models.VirtualNetworkTap :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkTap or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type tap_parameters: ~azure.mgmt.network.v2018_10_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkTap or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_virtual_networks_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_virtual_networks_operations.py index f3662565e385..6504989e74bb 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_virtual_networks_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_virtual_networks_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type virtual_network_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_10_01.models.VirtualNetwork :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetwork or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_10_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetwork or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_virtual_wans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_virtual_wans_operations.py index d054c90136fb..2caefa7240ca 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_virtual_wans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_virtual_wans_operations.py @@ -96,7 +96,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualWAN', pipeline_response) @@ -151,7 +151,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -184,8 +184,8 @@ def begin_create_or_update( :type wan_parameters: ~azure.mgmt.network.v2018_10_01.models.VirtualWAN :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualWAN or the result of cls(response) @@ -282,7 +282,7 @@ def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -315,8 +315,8 @@ def begin_update_tags( :type wan_parameters: ~azure.mgmt.network.v2018_10_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualWAN or the result of cls(response) @@ -407,7 +407,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -430,8 +430,8 @@ def begin_delete( :type virtual_wan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -541,7 +541,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -609,7 +609,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_vpn_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_vpn_connections_operations.py index 5fde2545fadb..ce602ea80a43 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_vpn_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_vpn_connections_operations.py @@ -100,7 +100,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VpnConnection', pipeline_response) @@ -157,7 +157,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -194,8 +194,8 @@ def begin_create_or_update( :type vpn_connection_parameters: ~azure.mgmt.network.v2018_10_01.models.VpnConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnConnection or the result of cls(response) @@ -290,7 +290,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -316,8 +316,8 @@ def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -433,7 +433,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_vpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_vpn_gateways_operations.py index bc04ed119c4c..868641eb66de 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_vpn_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_vpn_gateways_operations.py @@ -96,7 +96,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VpnGateway', pipeline_response) @@ -151,7 +151,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -185,8 +185,8 @@ def begin_create_or_update( :type vpn_gateway_parameters: ~azure.mgmt.network.v2018_10_01.models.VpnGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnGateway or the result of cls(response) @@ -283,7 +283,7 @@ def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -316,8 +316,8 @@ def begin_update_tags( :type vpn_gateway_parameters: ~azure.mgmt.network.v2018_10_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnGateway or the result of cls(response) @@ -408,7 +408,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -431,8 +431,8 @@ def begin_delete( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -542,7 +542,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -610,7 +610,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_vpn_sites_configuration_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_vpn_sites_configuration_operations.py index 987fe0c72816..43e98e801e0e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_vpn_sites_configuration_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_vpn_sites_configuration_operations.py @@ -90,7 +90,7 @@ def _download_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -117,8 +117,8 @@ def begin_download( :type request: ~azure.mgmt.network.v2018_10_01.models.GetVpnSitesConfigurationRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_vpn_sites_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_vpn_sites_operations.py index 4110007644c3..66e5ec6d924b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_vpn_sites_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_10_01/operations/_vpn_sites_operations.py @@ -96,7 +96,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VpnSite', pipeline_response) @@ -151,7 +151,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -184,8 +184,8 @@ def begin_create_or_update( :type vpn_site_parameters: ~azure.mgmt.network.v2018_10_01.models.VpnSite :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnSite or the result of cls(response) @@ -282,7 +282,7 @@ def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -315,8 +315,8 @@ def begin_update_tags( :type vpn_site_parameters: ~azure.mgmt.network.v2018_10_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnSite or the result of cls(response) @@ -407,7 +407,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -430,8 +430,8 @@ def begin_delete( :type vpn_site_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -541,7 +541,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -609,7 +609,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/_metadata.json b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/_metadata.json index f19cf1da72f9..f500e2335762 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/_metadata.json +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/_metadata.json @@ -9,7 +9,9 @@ "custom_base_url": null, "azure_arm": true, "has_lro_operations": true, - "client_side_validation": true + "client_side_validation": false, + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"NetworkManagementClientConfiguration\"], \"._operations_mixin\": [\"NetworkManagementClientOperationsMixin\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"NetworkManagementClientConfiguration\"], \"._operations_mixin\": [\"NetworkManagementClientOperationsMixin\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}" }, "global_parameters": { "sync": { @@ -28,13 +30,13 @@ }, "async": { "credential": { - "signature": "credential, # type: \"AsyncTokenCredential\"", + "signature": "credential: \"AsyncTokenCredential\",", "description": "Credential needed for the client to connect to Azure.", "docstring_type": "~azure.core.credentials_async.AsyncTokenCredential", "required": true }, "subscription_id": { - "signature": "subscription_id, # type: str", + "signature": "subscription_id: str,", "description": "The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.", "docstring_type": "str", "required": true @@ -42,14 +44,58 @@ }, "constant": { }, - "call": "credential, subscription_id" + "call": "credential, subscription_id", + "service_client_specific": { + "sync": { + "api_version": { + "signature": "api_version=None, # type: Optional[str]", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url=None, # type: Optional[str]", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile=KnownProfiles.default, # type: KnownProfiles", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + }, + "async": { + "api_version": { + "signature": "api_version: Optional[str] = None,", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url: Optional[str] = None,", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile: KnownProfiles = KnownProfiles.default,", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + } + } }, "config": { "credential": true, "credential_scopes": ["https://management.azure.com/.default"], "credential_default_policy_type": "BearerTokenCredentialPolicy", "credential_default_policy_type_has_async_version": true, - "credential_key_header_name": null + "credential_key_header_name": null, + "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMHttpLoggingPolicy\"]}, \"local\": {\"._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}}", + "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMHttpLoggingPolicy\"]}, \"local\": {\".._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}}" }, "operation_groups": { "application_gateways": "ApplicationGatewaysOperations", @@ -122,31 +168,33 @@ "p2_svpn_gateways": "P2SVpnGatewaysOperations" }, "operation_mixins": { - "check_dns_name_availability" : { - "sync": { - "signature": "def check_dns_name_availability(\n self,\n location, # type: str\n domain_name_label, # type: str\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2018_11_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def check_dns_name_availability(\n self,\n location: str,\n domain_name_label: str,\n **kwargs\n) -\u003e \"_models.DnsNameAvailabilityResult\":\n", - "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2018_11_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "location, domain_name_label" - }, - "supported_security_providers" : { - "sync": { - "signature": "def supported_security_providers(\n self,\n resource_group_name, # type: str\n virtual_wan_name, # type: str\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Gives the supported security providers for the virtual wan.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN for which supported security providers are\n needed.\n:type virtual_wan_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VirtualWanSecurityProviders, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2018_11_01.models.VirtualWanSecurityProviders\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\"]}}}", + "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\"]}}}", + "operations": { + "check_dns_name_availability" : { + "sync": { + "signature": "def check_dns_name_availability(\n self,\n location, # type: str\n domain_name_label, # type: str\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2018_11_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def check_dns_name_availability(\n self,\n location: str,\n domain_name_label: str,\n **kwargs\n) -\u003e \"_models.DnsNameAvailabilityResult\":\n", + "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2018_11_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "location, domain_name_label" }, - "async": { - "coroutine": true, - "signature": "async def supported_security_providers(\n self,\n resource_group_name: str,\n virtual_wan_name: str,\n **kwargs\n) -\u003e \"_models.VirtualWanSecurityProviders\":\n", - "doc": "\"\"\"Gives the supported security providers for the virtual wan.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN for which supported security providers are\n needed.\n:type virtual_wan_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VirtualWanSecurityProviders, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2018_11_01.models.VirtualWanSecurityProviders\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "resource_group_name, virtual_wan_name" + "supported_security_providers" : { + "sync": { + "signature": "def supported_security_providers(\n self,\n resource_group_name, # type: str\n virtual_wan_name, # type: str\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Gives the supported security providers for the virtual wan.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN for which supported security providers are\n needed.\n:type virtual_wan_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VirtualWanSecurityProviders, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2018_11_01.models.VirtualWanSecurityProviders\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def supported_security_providers(\n self,\n resource_group_name: str,\n virtual_wan_name: str,\n **kwargs\n) -\u003e \"_models.VirtualWanSecurityProviders\":\n", + "doc": "\"\"\"Gives the supported security providers for the virtual wan.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN for which supported security providers are\n needed.\n:type virtual_wan_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VirtualWanSecurityProviders, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2018_11_01.models.VirtualWanSecurityProviders\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "resource_group_name, virtual_wan_name" + } } - }, - "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\"]}}}", - "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\"]}}}" + } } \ No newline at end of file diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/_network_management_client.py index ba3c6cf65b96..3ffbb27603f7 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/_network_management_client.py @@ -16,6 +16,7 @@ from typing import Any, Optional from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse from ._configuration import NetworkManagementClientConfiguration from .operations import ApplicationGatewaysOperations @@ -252,6 +253,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( @@ -391,6 +393,24 @@ def __init__( self.p2_svpn_gateways = P2SVpnGatewaysOperations( self._client, self._config, self._serialize, self._deserialize) + def _send_request(self, http_request, **kwargs): + # type: (HttpRequest, Any) -> HttpResponse + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.HttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + def close(self): # type: () -> None self._client.close() diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/_network_management_client.py index 751f5cd902db..9ca8e7cf4cc3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/_network_management_client.py @@ -8,6 +8,7 @@ from typing import Any, Optional, TYPE_CHECKING +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core import AsyncARMPipelineClient from msrest import Deserializer, Serializer @@ -249,6 +250,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( @@ -388,6 +390,23 @@ def __init__( self.p2_svpn_gateways = P2SVpnGatewaysOperations( self._client, self._config, self._serialize, self._deserialize) + async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + async def close(self) -> None: await self._client.close() diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_application_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_application_gateways_operations.py index bdf0f19e7887..cfce60b1a53e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_application_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_application_gateways_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_11_01.models.ApplicationGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGateway or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGateway or the result of cls(response) @@ -651,8 +651,8 @@ async def begin_start( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -757,8 +757,8 @@ async def begin_stop( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -876,8 +876,8 @@ async def begin_backend_health( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGatewayBackendHealth or the result of cls(response) @@ -970,7 +970,7 @@ async def list_available_server_variables( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) @@ -1021,7 +1021,7 @@ async def list_available_request_headers( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) @@ -1072,7 +1072,7 @@ async def list_available_response_headers( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_application_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_application_security_groups_operations.py index c7fc2587f661..de8ff6010719 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_application_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_application_security_groups_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type application_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -282,8 +282,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_11_01.models.ApplicationSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationSecurityGroup or the result of cls(response) @@ -406,8 +406,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_azure_firewalls_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_azure_firewalls_operations.py index c0bfce115dc7..a4a11c6b7614 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_azure_firewalls_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_azure_firewalls_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type azure_firewall_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_11_01.models.AzureFirewall :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AzureFirewall or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_connection_monitors_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_connection_monitors_operations.py index ac9e94bec1db..d47d502d0da1 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_connection_monitors_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_connection_monitors_operations.py @@ -88,7 +88,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -123,8 +123,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_11_01.models.ConnectionMonitor :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionMonitorResult or the result of cls(response) @@ -231,7 +231,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('ConnectionMonitorResult', pipeline_response) @@ -281,7 +281,7 @@ async def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -306,8 +306,8 @@ async def begin_delete( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -397,7 +397,7 @@ async def _stop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -422,8 +422,8 @@ async def begin_stop( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -513,7 +513,7 @@ async def _start_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -538,8 +538,8 @@ async def begin_start( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -629,7 +629,7 @@ async def _query_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -661,8 +661,8 @@ async def begin_query( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionMonitorQueryResult or the result of cls(response) @@ -780,7 +780,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_ddos_custom_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_ddos_custom_policies_operations.py index 1473783c260b..eb11350bf8ec 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_ddos_custom_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_ddos_custom_policies_operations.py @@ -100,8 +100,8 @@ async def begin_delete( :type ddos_custom_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -282,8 +282,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_11_01.models.DdosCustomPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either DdosCustomPolicy or the result of cls(response) @@ -406,8 +406,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either DdosCustomPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_ddos_protection_plans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_ddos_protection_plans_operations.py index a0fb0b39c32f..9999defd3a46 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_ddos_protection_plans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_ddos_protection_plans_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type ddos_protection_plan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_11_01.models.DdosProtectionPlan :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either DdosProtectionPlan or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either DdosProtectionPlan or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_express_route_circuit_authorizations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_express_route_circuit_authorizations_operations.py index 47d626cc5a29..10585ca6107b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_express_route_circuit_authorizations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_express_route_circuit_authorizations_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type authorization_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type authorization_parameters: ~azure.mgmt.network.v2018_11_01.models.ExpressRouteCircuitAuthorization :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitAuthorization or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_express_route_circuit_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_express_route_circuit_connections_operations.py index 5e258138c5a8..080ec1cfb91d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_express_route_circuit_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_express_route_circuit_connections_operations.py @@ -110,8 +110,8 @@ async def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -315,8 +315,8 @@ async def begin_create_or_update( :type express_route_circuit_connection_parameters: ~azure.mgmt.network.v2018_11_01.models.ExpressRouteCircuitConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitConnection or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_express_route_circuit_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_express_route_circuit_peerings_operations.py index f4a5db074354..86956e13dc5e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_express_route_circuit_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_express_route_circuit_peerings_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2018_11_01.models.ExpressRouteCircuitPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_express_route_circuits_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_express_route_circuits_operations.py index 1e30ab645cbc..1281b4741f18 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_express_route_circuits_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_express_route_circuits_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type circuit_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_11_01.models.ExpressRouteCircuit :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -533,8 +533,8 @@ async def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -664,8 +664,8 @@ async def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) @@ -795,8 +795,8 @@ async def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableSummaryListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_express_route_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_express_route_connections_operations.py index f8aef2ca09a1..2e61f6929848 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_express_route_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_express_route_connections_operations.py @@ -122,8 +122,8 @@ async def begin_create_or_update( :type put_express_route_connection_parameters: ~azure.mgmt.network.v2018_11_01.models.ExpressRouteConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteConnection or the result of cls(response) @@ -301,8 +301,8 @@ async def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_express_route_cross_connection_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_express_route_cross_connection_peerings_operations.py index 9f7a229a6ec4..28b031012007 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_express_route_cross_connection_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_express_route_cross_connection_peerings_operations.py @@ -178,8 +178,8 @@ async def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -372,8 +372,8 @@ async def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2018_11_01.models.ExpressRouteCrossConnectionPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCrossConnectionPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_express_route_cross_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_express_route_cross_connections_operations.py index 26621a17c30a..bcab6ba04c9c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_express_route_cross_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_express_route_cross_connections_operations.py @@ -308,8 +308,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_11_01.models.ExpressRouteCrossConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCrossConnection or the result of cls(response) @@ -433,8 +433,8 @@ async def begin_update_tags( :type cross_connection_parameters: ~azure.mgmt.network.v2018_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCrossConnection or the result of cls(response) @@ -561,8 +561,8 @@ async def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -692,8 +692,8 @@ async def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCrossConnectionsRoutesTableSummaryListResult or the result of cls(response) @@ -823,8 +823,8 @@ async def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_express_route_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_express_route_gateways_operations.py index 319b0c8925f4..38504ba838f7 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_express_route_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_express_route_gateways_operations.py @@ -221,8 +221,8 @@ async def begin_create_or_update( :type put_express_route_gateway_parameters: ~azure.mgmt.network.v2018_11_01.models.ExpressRouteGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteGateway or the result of cls(response) @@ -390,8 +390,8 @@ async def begin_delete( :type express_route_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_express_route_ports_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_express_route_ports_operations.py index bab4c8fa8759..a6aed9ccfd06 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_express_route_ports_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_express_route_ports_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type express_route_port_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_11_01.models.ExpressRoutePort :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRoutePort or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRoutePort or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_hub_virtual_network_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_hub_virtual_network_connections_operations.py index 1e94f605ec75..957e46e06f25 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_hub_virtual_network_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_hub_virtual_network_connections_operations.py @@ -93,7 +93,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('HubVirtualNetworkConnection', pipeline_response) @@ -168,7 +168,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_inbound_nat_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_inbound_nat_rules_operations.py index d9b74bcefedf..7eb98200e243 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_inbound_nat_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_inbound_nat_rules_operations.py @@ -178,8 +178,8 @@ async def begin_delete( :type inbound_nat_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -377,8 +377,8 @@ async def begin_create_or_update( :type inbound_nat_rule_parameters: ~azure.mgmt.network.v2018_11_01.models.InboundNatRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either InboundNatRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_interface_endpoints_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_interface_endpoints_operations.py index 8aea8107121e..62a4a04943c4 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_interface_endpoints_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_interface_endpoints_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type interface_endpoint_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_11_01.models.InterfaceEndpoint :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either InterfaceEndpoint or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_load_balancers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_load_balancers_operations.py index 71604e0904a3..81ee6eca5323 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_load_balancers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_load_balancers_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type load_balancer_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_11_01.models.LoadBalancer :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LoadBalancer or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LoadBalancer or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_local_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_local_network_gateways_operations.py index 80121eefd774..055b9b24dea6 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_local_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_local_network_gateways_operations.py @@ -117,8 +117,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_11_01.models.LocalNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LocalNetworkGateway or the result of cls(response) @@ -285,8 +285,8 @@ async def begin_delete( :type local_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LocalNetworkGateway or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_network_interface_tap_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_network_interface_tap_configurations_operations.py index 2f50aec2829f..baf3a9dfb8af 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_network_interface_tap_configurations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_network_interface_tap_configurations_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type tap_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type tap_configuration_parameters: ~azure.mgmt.network.v2018_11_01.models.NetworkInterfaceTapConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkInterfaceTapConfiguration or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_network_interfaces_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_network_interfaces_operations.py index 95bb6698c037..062a19b80e9f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_network_interfaces_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_network_interfaces_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_11_01.models.NetworkInterface :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkInterface or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkInterface or the result of cls(response) @@ -663,8 +663,8 @@ async def begin_get_effective_route_table( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either EffectiveRouteListResult or the result of cls(response) @@ -779,8 +779,8 @@ async def begin_list_effective_network_security_groups( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either EffectiveNetworkSecurityGroupListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_network_management_client_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_network_management_client_operations.py index f856b94ff47c..2b44729433fb 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_network_management_client_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_network_management_client_operations.py @@ -128,7 +128,7 @@ async def supported_security_providers( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualWanSecurityProviders', pipeline_response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_network_profiles_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_network_profiles_operations.py index 073b0dc0f797..5ca869c9867b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_network_profiles_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_network_profiles_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type network_profile_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_network_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_network_security_groups_operations.py index 9de56c08cc71..07dc43fb614d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_network_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_network_security_groups_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type network_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -287,8 +287,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_11_01.models.NetworkSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkSecurityGroup or the result of cls(response) @@ -411,8 +411,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_network_watchers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_network_watchers_operations.py index 776dbcb0507a..f1561d4e4c9d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_network_watchers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_network_watchers_operations.py @@ -99,7 +99,7 @@ async def create_or_update( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -162,7 +162,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('NetworkWatcher', pipeline_response) @@ -210,7 +210,7 @@ async def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -232,8 +232,8 @@ async def begin_delete( :type network_watcher_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -338,7 +338,7 @@ async def update_tags( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('NetworkWatcher', pipeline_response) @@ -409,7 +409,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -476,7 +476,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -543,7 +543,7 @@ async def get_topology( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('Topology', pipeline_response) @@ -597,7 +597,7 @@ async def _verify_ip_flow_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -629,8 +629,8 @@ async def begin_verify_ip_flow( :type parameters: ~azure.mgmt.network.v2018_11_01.models.VerificationIPFlowParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VerificationIPFlowResult or the result of cls(response) @@ -726,7 +726,7 @@ async def _get_next_hop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -758,8 +758,8 @@ async def begin_get_next_hop( :type parameters: ~azure.mgmt.network.v2018_11_01.models.NextHopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NextHopResult or the result of cls(response) @@ -855,7 +855,7 @@ async def _get_vm_security_rules_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -887,8 +887,8 @@ async def begin_get_vm_security_rules( :type parameters: ~azure.mgmt.network.v2018_11_01.models.SecurityGroupViewParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either SecurityGroupViewResult or the result of cls(response) @@ -984,7 +984,7 @@ async def _get_troubleshooting_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1016,8 +1016,8 @@ async def begin_get_troubleshooting( :type parameters: ~azure.mgmt.network.v2018_11_01.models.TroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1113,7 +1113,7 @@ async def _get_troubleshooting_result_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1145,8 +1145,8 @@ async def begin_get_troubleshooting_result( :type parameters: ~azure.mgmt.network.v2018_11_01.models.QueryTroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1242,7 +1242,7 @@ async def _set_flow_log_configuration_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1274,8 +1274,8 @@ async def begin_set_flow_log_configuration( :type parameters: ~azure.mgmt.network.v2018_11_01.models.FlowLogInformation :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1371,7 +1371,7 @@ async def _get_flow_log_status_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1404,8 +1404,8 @@ async def begin_get_flow_log_status( :type parameters: ~azure.mgmt.network.v2018_11_01.models.FlowLogStatusParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1501,7 +1501,7 @@ async def _check_connectivity_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1534,8 +1534,8 @@ async def begin_check_connectivity( :type parameters: ~azure.mgmt.network.v2018_11_01.models.ConnectivityParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectivityInformation or the result of cls(response) @@ -1631,7 +1631,7 @@ async def _get_azure_reachability_report_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1664,8 +1664,8 @@ async def begin_get_azure_reachability_report( :type parameters: ~azure.mgmt.network.v2018_11_01.models.AzureReachabilityReportParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AzureReachabilityReport or the result of cls(response) @@ -1761,7 +1761,7 @@ async def _list_available_providers_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1793,8 +1793,8 @@ async def begin_list_available_providers( :type parameters: ~azure.mgmt.network.v2018_11_01.models.AvailableProvidersListParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AvailableProvidersList or the result of cls(response) @@ -1890,7 +1890,7 @@ async def _get_network_configuration_diagnostic_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1922,8 +1922,8 @@ async def begin_get_network_configuration_diagnostic( :type parameters: ~azure.mgmt.network.v2018_11_01.models.NetworkConfigurationDiagnosticParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkConfigurationDiagnosticResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_p2_svpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_p2_svpn_gateways_operations.py index 6258738f5d74..f1a16608a32e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_p2_svpn_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_p2_svpn_gateways_operations.py @@ -91,7 +91,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('P2SVpnGateway', pipeline_response) @@ -145,7 +145,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -178,8 +178,8 @@ async def begin_create_or_update( :type p2_s_vpn_gateway_parameters: ~azure.mgmt.network.v2018_11_01.models.P2SVpnGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -275,7 +275,7 @@ async def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -308,8 +308,8 @@ async def begin_update_tags( :type p2_s_vpn_gateway_parameters: ~azure.mgmt.network.v2018_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -399,7 +399,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -421,8 +421,8 @@ async def begin_delete( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -531,7 +531,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -598,7 +598,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -682,8 +682,8 @@ async def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2018_11_01.models.P2SVpnProfileParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnProfileResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_p2_svpn_server_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_p2_svpn_server_configurations_operations.py index 3bc48901c468..ad6aa3cf08c3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_p2_svpn_server_configurations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_p2_svpn_server_configurations_operations.py @@ -95,7 +95,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('P2SVpnServerConfiguration', pipeline_response) @@ -151,7 +151,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -188,8 +188,8 @@ async def begin_create_or_update( :type p2_s_vpn_server_configuration_parameters: ~azure.mgmt.network.v2018_11_01.models.P2SVpnServerConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either P2SVpnServerConfiguration or the result of cls(response) @@ -283,7 +283,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -308,8 +308,8 @@ async def begin_delete( :type p2_s_vpn_server_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -424,7 +424,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_packet_captures_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_packet_captures_operations.py index 28d8f4ab0ea9..9578e9c149c8 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_packet_captures_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_packet_captures_operations.py @@ -88,7 +88,7 @@ async def _create_initial( if response.status_code not in [201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PacketCaptureResult', pipeline_response) @@ -119,8 +119,8 @@ async def begin_create( :type parameters: ~azure.mgmt.network.v2018_11_01.models.PacketCapture :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PacketCaptureResult or the result of cls(response) @@ -227,7 +227,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PacketCaptureResult', pipeline_response) @@ -277,7 +277,7 @@ async def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -302,8 +302,8 @@ async def begin_delete( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -393,7 +393,7 @@ async def _stop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -418,8 +418,8 @@ async def begin_stop( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -509,7 +509,7 @@ async def _get_status_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -541,8 +541,8 @@ async def begin_get_status( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PacketCaptureQueryStatusResult or the result of cls(response) @@ -660,7 +660,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_public_ip_addresses_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_public_ip_addresses_operations.py index 79de0e6b8836..f23fb622b6fe 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_public_ip_addresses_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_public_ip_addresses_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type public_ip_address_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_11_01.models.PublicIPAddress :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PublicIPAddress or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PublicIPAddress or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_public_ip_prefixes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_public_ip_prefixes_operations.py index 610e71417230..ce749d497327 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_public_ip_prefixes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_public_ip_prefixes_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type public_ip_prefix_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_11_01.models.PublicIPPrefix :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PublicIPPrefix or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PublicIPPrefix or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_route_filter_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_route_filter_rules_operations.py index 8b8e42409044..87b50c0fb113 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_route_filter_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_route_filter_rules_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2018_11_01.models.RouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilterRule or the result of cls(response) @@ -430,8 +430,8 @@ async def begin_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2018_11_01.models.PatchRouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilterRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_route_filters_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_route_filters_operations.py index 72f26fc1631b..0a507949cc8a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_route_filters_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_route_filters_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type route_filter_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -287,8 +287,8 @@ async def begin_create_or_update( :type route_filter_parameters: ~azure.mgmt.network.v2018_11_01.models.RouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilter or the result of cls(response) @@ -411,8 +411,8 @@ async def begin_update( :type route_filter_parameters: ~azure.mgmt.network.v2018_11_01.models.PatchRouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilter or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_route_tables_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_route_tables_operations.py index 8314f1d349a3..ff95a23fb667 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_route_tables_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_route_tables_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_11_01.models.RouteTable :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteTable or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteTable or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_routes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_routes_operations.py index d47dbc40d170..1153a3d78ba5 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_routes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_routes_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type route_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ async def begin_create_or_update( :type route_parameters: ~azure.mgmt.network.v2018_11_01.models.Route :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Route or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_security_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_security_rules_operations.py index d6e2b2ca913b..dd127dccd171 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_security_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_security_rules_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type security_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type security_rule_parameters: ~azure.mgmt.network.v2018_11_01.models.SecurityRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either SecurityRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_service_endpoint_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_service_endpoint_policies_operations.py index 47c16eecdee4..db67ea46dfd8 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_service_endpoint_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_service_endpoint_policies_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type service_endpoint_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -287,8 +287,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_11_01.models.ServiceEndpointPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ServiceEndpointPolicy or the result of cls(response) @@ -411,8 +411,8 @@ async def begin_update( :type parameters: ~azure.mgmt.network.v2018_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ServiceEndpointPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_service_endpoint_policy_definitions_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_service_endpoint_policy_definitions_operations.py index a3ee9b84cc64..f61ed7630bf6 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_service_endpoint_policy_definitions_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_service_endpoint_policy_definitions_operations.py @@ -105,8 +105,8 @@ async def begin_delete( :type service_endpoint_policy_definition_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -302,8 +302,8 @@ async def begin_create_or_update( :type service_endpoint_policy_definitions: ~azure.mgmt.network.v2018_11_01.models.ServiceEndpointPolicyDefinition :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ServiceEndpointPolicyDefinition or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_subnets_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_subnets_operations.py index 9c94fdfabddb..328560b9e030 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_subnets_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_subnets_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type subnet_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -302,8 +302,8 @@ async def begin_create_or_update( :type subnet_parameters: ~azure.mgmt.network.v2018_11_01.models.Subnet :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Subnet or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_virtual_hubs_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_virtual_hubs_operations.py index 1e462b7357f0..030ed3b0832e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_virtual_hubs_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_virtual_hubs_operations.py @@ -91,7 +91,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualHub', pipeline_response) @@ -145,7 +145,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -177,8 +177,8 @@ async def begin_create_or_update( :type virtual_hub_parameters: ~azure.mgmt.network.v2018_11_01.models.VirtualHub :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualHub or the result of cls(response) @@ -274,7 +274,7 @@ async def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -306,8 +306,8 @@ async def begin_update_tags( :type virtual_hub_parameters: ~azure.mgmt.network.v2018_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualHub or the result of cls(response) @@ -397,7 +397,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -419,8 +419,8 @@ async def begin_delete( :type virtual_hub_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -529,7 +529,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -596,7 +596,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_virtual_network_gateway_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_virtual_network_gateway_connections_operations.py index c1b651e5e267..5ed725f57d6c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_virtual_network_gateway_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_virtual_network_gateway_connections_operations.py @@ -119,8 +119,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_11_01.models.VirtualNetworkGatewayConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -289,8 +289,8 @@ async def begin_delete( :type virtual_network_gateway_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -541,8 +541,8 @@ async def begin_set_shared_key( :type parameters: ~azure.mgmt.network.v2018_11_01.models.ConnectionSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionSharedKey or the result of cls(response) @@ -802,8 +802,8 @@ async def begin_reset_shared_key( :type parameters: ~azure.mgmt.network.v2018_11_01.models.ConnectionResetSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionResetSharedKey or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_virtual_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_virtual_network_gateways_operations.py index d6f0174221b0..8b93b0c1b6d7 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_virtual_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_virtual_network_gateways_operations.py @@ -117,8 +117,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_11_01.models.VirtualNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -285,8 +285,8 @@ async def begin_delete( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -673,8 +673,8 @@ async def begin_reset( :type gateway_vip: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -784,8 +784,8 @@ async def begin_reset_vpn_client_shared_key( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -908,8 +908,8 @@ async def begin_generatevpnclientpackage( :type parameters: ~azure.mgmt.network.v2018_11_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1036,8 +1036,8 @@ async def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2018_11_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1154,8 +1154,8 @@ async def begin_get_vpn_profile_package_url( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1276,8 +1276,8 @@ async def begin_get_bgp_peer_status( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either BgpPeerStatusListResult or the result of cls(response) @@ -1452,8 +1452,8 @@ async def begin_get_learned_routes( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1574,8 +1574,8 @@ async def begin_get_advertised_routes( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1702,8 +1702,8 @@ async def begin_set_vpnclient_ipsec_parameters( :type vpnclient_ipsec_params: ~azure.mgmt.network.v2018_11_01.models.VpnClientIPsecParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnClientIPsecParameters or the result of cls(response) @@ -1819,8 +1819,8 @@ async def begin_get_vpnclient_ipsec_parameters( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnClientIPsecParameters or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_virtual_network_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_virtual_network_peerings_operations.py index ae88fe462137..f18b77b6ece6 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_virtual_network_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_virtual_network_peerings_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type virtual_network_peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type virtual_network_peering_parameters: ~azure.mgmt.network.v2018_11_01.models.VirtualNetworkPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_virtual_network_taps_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_virtual_network_taps_operations.py index 6995fa1de98f..aa759ad03ff8 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_virtual_network_taps_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_virtual_network_taps_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type tap_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_11_01.models.VirtualNetworkTap :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkTap or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type tap_parameters: ~azure.mgmt.network.v2018_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkTap or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_virtual_networks_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_virtual_networks_operations.py index 35cabd017579..6fd5740de2fa 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_virtual_networks_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_virtual_networks_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type virtual_network_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_11_01.models.VirtualNetwork :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetwork or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetwork or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_virtual_wans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_virtual_wans_operations.py index 430987cac9e7..fef8fa46cb3b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_virtual_wans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_virtual_wans_operations.py @@ -91,7 +91,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualWAN', pipeline_response) @@ -145,7 +145,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -177,8 +177,8 @@ async def begin_create_or_update( :type wan_parameters: ~azure.mgmt.network.v2018_11_01.models.VirtualWAN :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualWAN or the result of cls(response) @@ -274,7 +274,7 @@ async def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -306,8 +306,8 @@ async def begin_update_tags( :type wan_parameters: ~azure.mgmt.network.v2018_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualWAN or the result of cls(response) @@ -397,7 +397,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -419,8 +419,8 @@ async def begin_delete( :type virtual_wan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -529,7 +529,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -596,7 +596,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_vpn_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_vpn_connections_operations.py index f2e940307445..80b48847732b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_vpn_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_vpn_connections_operations.py @@ -95,7 +95,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VpnConnection', pipeline_response) @@ -151,7 +151,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -187,8 +187,8 @@ async def begin_create_or_update( :type vpn_connection_parameters: ~azure.mgmt.network.v2018_11_01.models.VpnConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnConnection or the result of cls(response) @@ -282,7 +282,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -307,8 +307,8 @@ async def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -423,7 +423,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_vpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_vpn_gateways_operations.py index 44fd313ba32e..5e6a9a0222ff 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_vpn_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_vpn_gateways_operations.py @@ -91,7 +91,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VpnGateway', pipeline_response) @@ -145,7 +145,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -178,8 +178,8 @@ async def begin_create_or_update( :type vpn_gateway_parameters: ~azure.mgmt.network.v2018_11_01.models.VpnGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnGateway or the result of cls(response) @@ -275,7 +275,7 @@ async def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -307,8 +307,8 @@ async def begin_update_tags( :type vpn_gateway_parameters: ~azure.mgmt.network.v2018_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnGateway or the result of cls(response) @@ -398,7 +398,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -420,8 +420,8 @@ async def begin_delete( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -530,7 +530,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -597,7 +597,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_vpn_sites_configuration_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_vpn_sites_configuration_operations.py index cc7a1d3c64a8..03e65f72d182 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_vpn_sites_configuration_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_vpn_sites_configuration_operations.py @@ -85,7 +85,7 @@ async def _download_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -111,8 +111,8 @@ async def begin_download( :type request: ~azure.mgmt.network.v2018_11_01.models.GetVpnSitesConfigurationRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_vpn_sites_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_vpn_sites_operations.py index 728356979f5e..88cb91f22491 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_vpn_sites_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/aio/operations/_vpn_sites_operations.py @@ -91,7 +91,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VpnSite', pipeline_response) @@ -145,7 +145,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -177,8 +177,8 @@ async def begin_create_or_update( :type vpn_site_parameters: ~azure.mgmt.network.v2018_11_01.models.VpnSite :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnSite or the result of cls(response) @@ -274,7 +274,7 @@ async def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -306,8 +306,8 @@ async def begin_update_tags( :type vpn_site_parameters: ~azure.mgmt.network.v2018_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnSite or the result of cls(response) @@ -397,7 +397,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -419,8 +419,8 @@ async def begin_delete( :type vpn_site_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -529,7 +529,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -596,7 +596,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/models/_models.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/models/_models.py index 34de0fec9096..57c7a26d7302 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/models/_models.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/models/_models.py @@ -4021,7 +4021,7 @@ class ContainerNetworkInterface(SubResource): ~azure.mgmt.network.v2018_11_01.models.ContainerNetworkInterfaceConfiguration :param container: Reference to the container to which this container network interface is attached. - :type container: ~azure.mgmt.network.v2018_11_01.models.SubResource + :type container: ~azure.mgmt.network.v2018_11_01.models.Container :param ip_configurations: Reference to the ip configuration on this container nic. :type ip_configurations: list[~azure.mgmt.network.v2018_11_01.models.ContainerNetworkInterfaceIpConfiguration] @@ -4040,7 +4040,7 @@ class ContainerNetworkInterface(SubResource): 'type': {'key': 'type', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, 'container_network_interface_configuration': {'key': 'properties.containerNetworkInterfaceConfiguration', 'type': 'ContainerNetworkInterfaceConfiguration'}, - 'container': {'key': 'properties.container', 'type': 'SubResource'}, + 'container': {'key': 'properties.container', 'type': 'Container'}, 'ip_configurations': {'key': 'properties.ipConfigurations', 'type': '[ContainerNetworkInterfaceIpConfiguration]'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, } @@ -10151,8 +10151,8 @@ class PacketCaptureStorageLocation(msrest.serialization.Model): :param storage_id: The ID of the storage account to save the packet capture session. Required if no local file path is provided. :type storage_id: str - :param storage_path: The URI of the storage path to save the packet capture. Must be a well- - formed URI describing the location to save the packet capture. + :param storage_path: The URI of the storage path to save the packet capture. Must be a + well-formed URI describing the location to save the packet capture. :type storage_path: str :param file_path: A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no @@ -13229,8 +13229,8 @@ class VirtualNetworkPeering(SubResource): :type use_remote_gateways: bool :param remote_virtual_network: The reference of the remote virtual network. The remote virtual network can be in the same or different region (preview). See here to register for the preview - and learn more (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create- - peering). + and learn more + (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering). :type remote_virtual_network: ~azure.mgmt.network.v2018_11_01.models.SubResource :param remote_address_space: The reference of the remote virtual network address space. :type remote_address_space: ~azure.mgmt.network.v2018_11_01.models.AddressSpace diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/models/_models_py3.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/models/_models_py3.py index b73a0caad0dd..ededa3a80a1f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/models/_models_py3.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/models/_models_py3.py @@ -4563,7 +4563,7 @@ class ContainerNetworkInterface(SubResource): ~azure.mgmt.network.v2018_11_01.models.ContainerNetworkInterfaceConfiguration :param container: Reference to the container to which this container network interface is attached. - :type container: ~azure.mgmt.network.v2018_11_01.models.SubResource + :type container: ~azure.mgmt.network.v2018_11_01.models.Container :param ip_configurations: Reference to the ip configuration on this container nic. :type ip_configurations: list[~azure.mgmt.network.v2018_11_01.models.ContainerNetworkInterfaceIpConfiguration] @@ -4582,7 +4582,7 @@ class ContainerNetworkInterface(SubResource): 'type': {'key': 'type', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, 'container_network_interface_configuration': {'key': 'properties.containerNetworkInterfaceConfiguration', 'type': 'ContainerNetworkInterfaceConfiguration'}, - 'container': {'key': 'properties.container', 'type': 'SubResource'}, + 'container': {'key': 'properties.container', 'type': 'Container'}, 'ip_configurations': {'key': 'properties.ipConfigurations', 'type': '[ContainerNetworkInterfaceIpConfiguration]'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, } @@ -4594,7 +4594,7 @@ def __init__( name: Optional[str] = None, etag: Optional[str] = None, container_network_interface_configuration: Optional["ContainerNetworkInterfaceConfiguration"] = None, - container: Optional["SubResource"] = None, + container: Optional["Container"] = None, ip_configurations: Optional[List["ContainerNetworkInterfaceIpConfiguration"]] = None, **kwargs ): @@ -11455,8 +11455,8 @@ class PacketCaptureStorageLocation(msrest.serialization.Model): :param storage_id: The ID of the storage account to save the packet capture session. Required if no local file path is provided. :type storage_id: str - :param storage_path: The URI of the storage path to save the packet capture. Must be a well- - formed URI describing the location to save the packet capture. + :param storage_path: The URI of the storage path to save the packet capture. Must be a + well-formed URI describing the location to save the packet capture. :type storage_path: str :param file_path: A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no @@ -14921,8 +14921,8 @@ class VirtualNetworkPeering(SubResource): :type use_remote_gateways: bool :param remote_virtual_network: The reference of the remote virtual network. The remote virtual network can be in the same or different region (preview). See here to register for the preview - and learn more (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create- - peering). + and learn more + (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering). :type remote_virtual_network: ~azure.mgmt.network.v2018_11_01.models.SubResource :param remote_address_space: The reference of the remote virtual network address space. :type remote_address_space: ~azure.mgmt.network.v2018_11_01.models.AddressSpace diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_application_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_application_gateways_operations.py index 359892ddc181..63d2e3bbaff1 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_application_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_application_gateways_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_11_01.models.ApplicationGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGateway or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGateway or the result of cls(response) @@ -666,8 +666,8 @@ def begin_start( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -774,8 +774,8 @@ def begin_stop( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -895,8 +895,8 @@ def begin_backend_health( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGatewayBackendHealth or the result of cls(response) @@ -990,7 +990,7 @@ def list_available_server_variables( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) @@ -1042,7 +1042,7 @@ def list_available_request_headers( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) @@ -1094,7 +1094,7 @@ def list_available_response_headers( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_application_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_application_security_groups_operations.py index be5438e0d0c4..75e6f3b334d9 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_application_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_application_security_groups_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type application_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -291,8 +291,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_11_01.models.ApplicationSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationSecurityGroup or the result of cls(response) @@ -417,8 +417,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_azure_firewalls_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_azure_firewalls_operations.py index 19855872c215..648361465940 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_azure_firewalls_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_azure_firewalls_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type azure_firewall_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_11_01.models.AzureFirewall :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AzureFirewall or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_connection_monitors_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_connection_monitors_operations.py index aec5d3838cbd..808aa8520be5 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_connection_monitors_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_connection_monitors_operations.py @@ -93,7 +93,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -129,8 +129,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_11_01.models.ConnectionMonitor :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionMonitorResult or the result of cls(response) @@ -238,7 +238,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('ConnectionMonitorResult', pipeline_response) @@ -289,7 +289,7 @@ def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -315,8 +315,8 @@ def begin_delete( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -407,7 +407,7 @@ def _stop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -433,8 +433,8 @@ def begin_stop( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -525,7 +525,7 @@ def _start_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -551,8 +551,8 @@ def begin_start( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -643,7 +643,7 @@ def _query_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -676,8 +676,8 @@ def begin_query( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionMonitorQueryResult or the result of cls(response) @@ -796,7 +796,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_ddos_custom_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_ddos_custom_policies_operations.py index b6b9d1d1f069..d5ac61f61ba5 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_ddos_custom_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_ddos_custom_policies_operations.py @@ -106,8 +106,8 @@ def begin_delete( :type ddos_custom_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -291,8 +291,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_11_01.models.DdosCustomPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either DdosCustomPolicy or the result of cls(response) @@ -417,8 +417,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either DdosCustomPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_ddos_protection_plans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_ddos_protection_plans_operations.py index a0eba74005bd..5e7fb40c50bc 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_ddos_protection_plans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_ddos_protection_plans_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type ddos_protection_plan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_11_01.models.DdosProtectionPlan :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either DdosProtectionPlan or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either DdosProtectionPlan or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_express_route_circuit_authorizations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_express_route_circuit_authorizations_operations.py index 5e94905df37c..fa39fe75b649 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_express_route_circuit_authorizations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_express_route_circuit_authorizations_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type authorization_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type authorization_parameters: ~azure.mgmt.network.v2018_11_01.models.ExpressRouteCircuitAuthorization :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitAuthorization or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_express_route_circuit_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_express_route_circuit_connections_operations.py index 62613ce01d43..eff60dcf7ca0 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_express_route_circuit_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_express_route_circuit_connections_operations.py @@ -116,8 +116,8 @@ def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -324,8 +324,8 @@ def begin_create_or_update( :type express_route_circuit_connection_parameters: ~azure.mgmt.network.v2018_11_01.models.ExpressRouteCircuitConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitConnection or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_express_route_circuit_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_express_route_circuit_peerings_operations.py index a1d56715c554..81815006427c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_express_route_circuit_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_express_route_circuit_peerings_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2018_11_01.models.ExpressRouteCircuitPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_express_route_circuits_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_express_route_circuits_operations.py index bfb0dfda7798..f88ad830e1cc 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_express_route_circuits_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_express_route_circuits_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type circuit_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_11_01.models.ExpressRouteCircuit :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -546,8 +546,8 @@ def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -679,8 +679,8 @@ def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) @@ -812,8 +812,8 @@ def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableSummaryListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_express_route_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_express_route_connections_operations.py index acc082e99c31..dd4955648e93 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_express_route_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_express_route_connections_operations.py @@ -128,8 +128,8 @@ def begin_create_or_update( :type put_express_route_connection_parameters: ~azure.mgmt.network.v2018_11_01.models.ExpressRouteConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteConnection or the result of cls(response) @@ -310,8 +310,8 @@ def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_express_route_cross_connection_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_express_route_cross_connection_peerings_operations.py index c1a00e0f98e6..ca0982f3392d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_express_route_cross_connection_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_express_route_cross_connection_peerings_operations.py @@ -185,8 +185,8 @@ def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -382,8 +382,8 @@ def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2018_11_01.models.ExpressRouteCrossConnectionPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCrossConnectionPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_express_route_cross_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_express_route_cross_connections_operations.py index 7d7c94f73340..838368400ce8 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_express_route_cross_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_express_route_cross_connections_operations.py @@ -317,8 +317,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_11_01.models.ExpressRouteCrossConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCrossConnection or the result of cls(response) @@ -444,8 +444,8 @@ def begin_update_tags( :type cross_connection_parameters: ~azure.mgmt.network.v2018_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCrossConnection or the result of cls(response) @@ -574,8 +574,8 @@ def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -707,8 +707,8 @@ def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCrossConnectionsRoutesTableSummaryListResult or the result of cls(response) @@ -840,8 +840,8 @@ def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_express_route_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_express_route_gateways_operations.py index 1d9d618d3df3..1bf7650fc2ee 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_express_route_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_express_route_gateways_operations.py @@ -229,8 +229,8 @@ def begin_create_or_update( :type put_express_route_gateway_parameters: ~azure.mgmt.network.v2018_11_01.models.ExpressRouteGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteGateway or the result of cls(response) @@ -401,8 +401,8 @@ def begin_delete( :type express_route_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_express_route_ports_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_express_route_ports_operations.py index a8c492a52b13..cf195255cea5 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_express_route_ports_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_express_route_ports_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type express_route_port_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_11_01.models.ExpressRoutePort :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRoutePort or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRoutePort or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_hub_virtual_network_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_hub_virtual_network_connections_operations.py index a1d0d7ce66db..f80cb2d37bd2 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_hub_virtual_network_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_hub_virtual_network_connections_operations.py @@ -98,7 +98,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('HubVirtualNetworkConnection', pipeline_response) @@ -174,7 +174,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_inbound_nat_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_inbound_nat_rules_operations.py index 49fef19ca2a0..14fda49cf546 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_inbound_nat_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_inbound_nat_rules_operations.py @@ -185,8 +185,8 @@ def begin_delete( :type inbound_nat_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -387,8 +387,8 @@ def begin_create_or_update( :type inbound_nat_rule_parameters: ~azure.mgmt.network.v2018_11_01.models.InboundNatRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either InboundNatRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_interface_endpoints_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_interface_endpoints_operations.py index 795c2af8db43..a39321e5ce80 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_interface_endpoints_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_interface_endpoints_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type interface_endpoint_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_11_01.models.InterfaceEndpoint :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either InterfaceEndpoint or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_load_balancers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_load_balancers_operations.py index f0580a02674a..cead55813a22 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_load_balancers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_load_balancers_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type load_balancer_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_11_01.models.LoadBalancer :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LoadBalancer or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LoadBalancer or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_local_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_local_network_gateways_operations.py index 3796f7e97d85..4beef1a6c685 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_local_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_local_network_gateways_operations.py @@ -123,8 +123,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_11_01.models.LocalNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LocalNetworkGateway or the result of cls(response) @@ -294,8 +294,8 @@ def begin_delete( :type local_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LocalNetworkGateway or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_network_interface_tap_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_network_interface_tap_configurations_operations.py index c83a6c4fb1cc..f8478658e5d9 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_network_interface_tap_configurations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_network_interface_tap_configurations_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type tap_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type tap_configuration_parameters: ~azure.mgmt.network.v2018_11_01.models.NetworkInterfaceTapConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkInterfaceTapConfiguration or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_network_interfaces_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_network_interfaces_operations.py index 292487c7c2e4..18d321c140be 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_network_interfaces_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_network_interfaces_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_11_01.models.NetworkInterface :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkInterface or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkInterface or the result of cls(response) @@ -678,8 +678,8 @@ def begin_get_effective_route_table( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either EffectiveRouteListResult or the result of cls(response) @@ -796,8 +796,8 @@ def begin_list_effective_network_security_groups( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either EffectiveNetworkSecurityGroupListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_network_management_client_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_network_management_client_operations.py index d99440191e8f..7dab3245b4c2 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_network_management_client_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_network_management_client_operations.py @@ -134,7 +134,7 @@ def supported_security_providers( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualWanSecurityProviders', pipeline_response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_network_profiles_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_network_profiles_operations.py index e84d00b74111..3fea3721c9fb 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_network_profiles_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_network_profiles_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type network_profile_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_network_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_network_security_groups_operations.py index 7362502cb4c0..461cb6a141b7 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_network_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_network_security_groups_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type network_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -296,8 +296,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_11_01.models.NetworkSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkSecurityGroup or the result of cls(response) @@ -422,8 +422,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_network_watchers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_network_watchers_operations.py index 92cf99815ed7..9a572c13af88 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_network_watchers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_network_watchers_operations.py @@ -104,7 +104,7 @@ def create_or_update( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -168,7 +168,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('NetworkWatcher', pipeline_response) @@ -217,7 +217,7 @@ def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -240,8 +240,8 @@ def begin_delete( :type network_watcher_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -347,7 +347,7 @@ def update_tags( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('NetworkWatcher', pipeline_response) @@ -419,7 +419,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -487,7 +487,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -555,7 +555,7 @@ def get_topology( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('Topology', pipeline_response) @@ -610,7 +610,7 @@ def _verify_ip_flow_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -643,8 +643,8 @@ def begin_verify_ip_flow( :type parameters: ~azure.mgmt.network.v2018_11_01.models.VerificationIPFlowParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VerificationIPFlowResult or the result of cls(response) @@ -741,7 +741,7 @@ def _get_next_hop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -774,8 +774,8 @@ def begin_get_next_hop( :type parameters: ~azure.mgmt.network.v2018_11_01.models.NextHopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NextHopResult or the result of cls(response) @@ -872,7 +872,7 @@ def _get_vm_security_rules_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -905,8 +905,8 @@ def begin_get_vm_security_rules( :type parameters: ~azure.mgmt.network.v2018_11_01.models.SecurityGroupViewParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either SecurityGroupViewResult or the result of cls(response) @@ -1003,7 +1003,7 @@ def _get_troubleshooting_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1036,8 +1036,8 @@ def begin_get_troubleshooting( :type parameters: ~azure.mgmt.network.v2018_11_01.models.TroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1134,7 +1134,7 @@ def _get_troubleshooting_result_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1167,8 +1167,8 @@ def begin_get_troubleshooting_result( :type parameters: ~azure.mgmt.network.v2018_11_01.models.QueryTroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1265,7 +1265,7 @@ def _set_flow_log_configuration_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1298,8 +1298,8 @@ def begin_set_flow_log_configuration( :type parameters: ~azure.mgmt.network.v2018_11_01.models.FlowLogInformation :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1396,7 +1396,7 @@ def _get_flow_log_status_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1430,8 +1430,8 @@ def begin_get_flow_log_status( :type parameters: ~azure.mgmt.network.v2018_11_01.models.FlowLogStatusParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1528,7 +1528,7 @@ def _check_connectivity_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1562,8 +1562,8 @@ def begin_check_connectivity( :type parameters: ~azure.mgmt.network.v2018_11_01.models.ConnectivityParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectivityInformation or the result of cls(response) @@ -1660,7 +1660,7 @@ def _get_azure_reachability_report_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1694,8 +1694,8 @@ def begin_get_azure_reachability_report( :type parameters: ~azure.mgmt.network.v2018_11_01.models.AzureReachabilityReportParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AzureReachabilityReport or the result of cls(response) @@ -1792,7 +1792,7 @@ def _list_available_providers_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1825,8 +1825,8 @@ def begin_list_available_providers( :type parameters: ~azure.mgmt.network.v2018_11_01.models.AvailableProvidersListParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AvailableProvidersList or the result of cls(response) @@ -1923,7 +1923,7 @@ def _get_network_configuration_diagnostic_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1956,8 +1956,8 @@ def begin_get_network_configuration_diagnostic( :type parameters: ~azure.mgmt.network.v2018_11_01.models.NetworkConfigurationDiagnosticParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkConfigurationDiagnosticResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_p2_svpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_p2_svpn_gateways_operations.py index 9ef11c7e8a60..b0602133ddea 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_p2_svpn_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_p2_svpn_gateways_operations.py @@ -96,7 +96,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('P2SVpnGateway', pipeline_response) @@ -151,7 +151,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -185,8 +185,8 @@ def begin_create_or_update( :type p2_s_vpn_gateway_parameters: ~azure.mgmt.network.v2018_11_01.models.P2SVpnGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -283,7 +283,7 @@ def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -317,8 +317,8 @@ def begin_update_tags( :type p2_s_vpn_gateway_parameters: ~azure.mgmt.network.v2018_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -409,7 +409,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -432,8 +432,8 @@ def begin_delete( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -543,7 +543,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -611,7 +611,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -697,8 +697,8 @@ def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2018_11_01.models.P2SVpnProfileParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnProfileResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_p2_svpn_server_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_p2_svpn_server_configurations_operations.py index bd7044b0f0a8..c3bb8882b5ae 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_p2_svpn_server_configurations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_p2_svpn_server_configurations_operations.py @@ -100,7 +100,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('P2SVpnServerConfiguration', pipeline_response) @@ -157,7 +157,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -195,8 +195,8 @@ def begin_create_or_update( :type p2_s_vpn_server_configuration_parameters: ~azure.mgmt.network.v2018_11_01.models.P2SVpnServerConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either P2SVpnServerConfiguration or the result of cls(response) @@ -291,7 +291,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -317,8 +317,8 @@ def begin_delete( :type p2_s_vpn_server_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -434,7 +434,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_packet_captures_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_packet_captures_operations.py index f69f7e71b2bc..61da56f7be0d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_packet_captures_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_packet_captures_operations.py @@ -93,7 +93,7 @@ def _create_initial( if response.status_code not in [201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PacketCaptureResult', pipeline_response) @@ -125,8 +125,8 @@ def begin_create( :type parameters: ~azure.mgmt.network.v2018_11_01.models.PacketCapture :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PacketCaptureResult or the result of cls(response) @@ -234,7 +234,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PacketCaptureResult', pipeline_response) @@ -285,7 +285,7 @@ def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -311,8 +311,8 @@ def begin_delete( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -403,7 +403,7 @@ def _stop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -429,8 +429,8 @@ def begin_stop( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -521,7 +521,7 @@ def _get_status_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -554,8 +554,8 @@ def begin_get_status( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PacketCaptureQueryStatusResult or the result of cls(response) @@ -674,7 +674,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_public_ip_addresses_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_public_ip_addresses_operations.py index 63514937e1d0..7e843d6123a5 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_public_ip_addresses_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_public_ip_addresses_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type public_ip_address_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_11_01.models.PublicIPAddress :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PublicIPAddress or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PublicIPAddress or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_public_ip_prefixes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_public_ip_prefixes_operations.py index 370f4ef4bdcc..0d69bfda6749 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_public_ip_prefixes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_public_ip_prefixes_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type public_ip_prefix_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_11_01.models.PublicIPPrefix :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PublicIPPrefix or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PublicIPPrefix or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_route_filter_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_route_filter_rules_operations.py index 38aa469d39d3..a1fa0d5d9c8d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_route_filter_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_route_filter_rules_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2018_11_01.models.RouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilterRule or the result of cls(response) @@ -441,8 +441,8 @@ def begin_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2018_11_01.models.PatchRouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilterRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_route_filters_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_route_filters_operations.py index 560c13d63efc..d4f53d9b91c2 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_route_filters_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_route_filters_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type route_filter_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -296,8 +296,8 @@ def begin_create_or_update( :type route_filter_parameters: ~azure.mgmt.network.v2018_11_01.models.RouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilter or the result of cls(response) @@ -422,8 +422,8 @@ def begin_update( :type route_filter_parameters: ~azure.mgmt.network.v2018_11_01.models.PatchRouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilter or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_route_tables_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_route_tables_operations.py index 9add02403771..c3c18a3dda53 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_route_tables_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_route_tables_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_11_01.models.RouteTable :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteTable or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteTable or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_routes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_routes_operations.py index 627e56698888..869cfd7c643d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_routes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_routes_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type route_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -306,8 +306,8 @@ def begin_create_or_update( :type route_parameters: ~azure.mgmt.network.v2018_11_01.models.Route :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Route or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_security_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_security_rules_operations.py index 8f0741187c48..8cda0a9c7838 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_security_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_security_rules_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type security_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type security_rule_parameters: ~azure.mgmt.network.v2018_11_01.models.SecurityRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either SecurityRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_service_endpoint_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_service_endpoint_policies_operations.py index 6ee173058d5c..e8164275d5a4 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_service_endpoint_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_service_endpoint_policies_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type service_endpoint_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -296,8 +296,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_11_01.models.ServiceEndpointPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ServiceEndpointPolicy or the result of cls(response) @@ -422,8 +422,8 @@ def begin_update( :type parameters: ~azure.mgmt.network.v2018_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ServiceEndpointPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_service_endpoint_policy_definitions_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_service_endpoint_policy_definitions_operations.py index 644caff1de5a..06da047846b8 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_service_endpoint_policy_definitions_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_service_endpoint_policy_definitions_operations.py @@ -111,8 +111,8 @@ def begin_delete( :type service_endpoint_policy_definition_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -311,8 +311,8 @@ def begin_create_or_update( :type service_endpoint_policy_definitions: ~azure.mgmt.network.v2018_11_01.models.ServiceEndpointPolicyDefinition :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ServiceEndpointPolicyDefinition or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_subnets_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_subnets_operations.py index 282946d2f2a6..c578bc6b8de6 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_subnets_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_subnets_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type subnet_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -311,8 +311,8 @@ def begin_create_or_update( :type subnet_parameters: ~azure.mgmt.network.v2018_11_01.models.Subnet :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Subnet or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_virtual_hubs_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_virtual_hubs_operations.py index c6c55f257e05..6e0dec8117ed 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_virtual_hubs_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_virtual_hubs_operations.py @@ -96,7 +96,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualHub', pipeline_response) @@ -151,7 +151,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -184,8 +184,8 @@ def begin_create_or_update( :type virtual_hub_parameters: ~azure.mgmt.network.v2018_11_01.models.VirtualHub :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualHub or the result of cls(response) @@ -282,7 +282,7 @@ def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -315,8 +315,8 @@ def begin_update_tags( :type virtual_hub_parameters: ~azure.mgmt.network.v2018_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualHub or the result of cls(response) @@ -407,7 +407,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -430,8 +430,8 @@ def begin_delete( :type virtual_hub_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -541,7 +541,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -609,7 +609,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_virtual_network_gateway_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_virtual_network_gateway_connections_operations.py index 24b8ea6894d0..d010f8cb337b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_virtual_network_gateway_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_virtual_network_gateway_connections_operations.py @@ -125,8 +125,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_11_01.models.VirtualNetworkGatewayConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -298,8 +298,8 @@ def begin_delete( :type virtual_network_gateway_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -554,8 +554,8 @@ def begin_set_shared_key( :type parameters: ~azure.mgmt.network.v2018_11_01.models.ConnectionSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionSharedKey or the result of cls(response) @@ -819,8 +819,8 @@ def begin_reset_shared_key( :type parameters: ~azure.mgmt.network.v2018_11_01.models.ConnectionResetSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionResetSharedKey or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_virtual_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_virtual_network_gateways_operations.py index f26945584c00..98628bed8631 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_virtual_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_virtual_network_gateways_operations.py @@ -123,8 +123,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_11_01.models.VirtualNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -294,8 +294,8 @@ def begin_delete( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -688,8 +688,8 @@ def begin_reset( :type gateway_vip: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -801,8 +801,8 @@ def begin_reset_vpn_client_shared_key( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -927,8 +927,8 @@ def begin_generatevpnclientpackage( :type parameters: ~azure.mgmt.network.v2018_11_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1057,8 +1057,8 @@ def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2018_11_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1177,8 +1177,8 @@ def begin_get_vpn_profile_package_url( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1301,8 +1301,8 @@ def begin_get_bgp_peer_status( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either BgpPeerStatusListResult or the result of cls(response) @@ -1480,8 +1480,8 @@ def begin_get_learned_routes( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1604,8 +1604,8 @@ def begin_get_advertised_routes( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1734,8 +1734,8 @@ def begin_set_vpnclient_ipsec_parameters( :type vpnclient_ipsec_params: ~azure.mgmt.network.v2018_11_01.models.VpnClientIPsecParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnClientIPsecParameters or the result of cls(response) @@ -1853,8 +1853,8 @@ def begin_get_vpnclient_ipsec_parameters( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnClientIPsecParameters or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_virtual_network_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_virtual_network_peerings_operations.py index 05a24367d8e2..0569582e57fe 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_virtual_network_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_virtual_network_peerings_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type virtual_network_peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type virtual_network_peering_parameters: ~azure.mgmt.network.v2018_11_01.models.VirtualNetworkPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_virtual_network_taps_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_virtual_network_taps_operations.py index 90b10a475720..bec5f281d071 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_virtual_network_taps_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_virtual_network_taps_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type tap_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_11_01.models.VirtualNetworkTap :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkTap or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type tap_parameters: ~azure.mgmt.network.v2018_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkTap or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_virtual_networks_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_virtual_networks_operations.py index 435f77814b2c..e062a98e1970 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_virtual_networks_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_virtual_networks_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type virtual_network_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_11_01.models.VirtualNetwork :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetwork or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetwork or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_virtual_wans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_virtual_wans_operations.py index 69e6ef94feb9..4bb70781fb87 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_virtual_wans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_virtual_wans_operations.py @@ -96,7 +96,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualWAN', pipeline_response) @@ -151,7 +151,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -184,8 +184,8 @@ def begin_create_or_update( :type wan_parameters: ~azure.mgmt.network.v2018_11_01.models.VirtualWAN :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualWAN or the result of cls(response) @@ -282,7 +282,7 @@ def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -315,8 +315,8 @@ def begin_update_tags( :type wan_parameters: ~azure.mgmt.network.v2018_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualWAN or the result of cls(response) @@ -407,7 +407,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -430,8 +430,8 @@ def begin_delete( :type virtual_wan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -541,7 +541,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -609,7 +609,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_vpn_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_vpn_connections_operations.py index 28e4a4119954..b9ecb6c5ea3a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_vpn_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_vpn_connections_operations.py @@ -100,7 +100,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VpnConnection', pipeline_response) @@ -157,7 +157,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -194,8 +194,8 @@ def begin_create_or_update( :type vpn_connection_parameters: ~azure.mgmt.network.v2018_11_01.models.VpnConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnConnection or the result of cls(response) @@ -290,7 +290,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -316,8 +316,8 @@ def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -433,7 +433,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_vpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_vpn_gateways_operations.py index 19673a098093..1cdd2db5b5a8 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_vpn_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_vpn_gateways_operations.py @@ -96,7 +96,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VpnGateway', pipeline_response) @@ -151,7 +151,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -185,8 +185,8 @@ def begin_create_or_update( :type vpn_gateway_parameters: ~azure.mgmt.network.v2018_11_01.models.VpnGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnGateway or the result of cls(response) @@ -283,7 +283,7 @@ def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -316,8 +316,8 @@ def begin_update_tags( :type vpn_gateway_parameters: ~azure.mgmt.network.v2018_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnGateway or the result of cls(response) @@ -408,7 +408,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -431,8 +431,8 @@ def begin_delete( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -542,7 +542,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -610,7 +610,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_vpn_sites_configuration_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_vpn_sites_configuration_operations.py index edbbb3c66e21..4213095566a2 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_vpn_sites_configuration_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_vpn_sites_configuration_operations.py @@ -90,7 +90,7 @@ def _download_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -117,8 +117,8 @@ def begin_download( :type request: ~azure.mgmt.network.v2018_11_01.models.GetVpnSitesConfigurationRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_vpn_sites_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_vpn_sites_operations.py index c91484e46b20..d797c6c7c825 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_vpn_sites_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_11_01/operations/_vpn_sites_operations.py @@ -96,7 +96,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VpnSite', pipeline_response) @@ -151,7 +151,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -184,8 +184,8 @@ def begin_create_or_update( :type vpn_site_parameters: ~azure.mgmt.network.v2018_11_01.models.VpnSite :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnSite or the result of cls(response) @@ -282,7 +282,7 @@ def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -315,8 +315,8 @@ def begin_update_tags( :type vpn_site_parameters: ~azure.mgmt.network.v2018_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnSite or the result of cls(response) @@ -407,7 +407,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -430,8 +430,8 @@ def begin_delete( :type vpn_site_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -541,7 +541,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -609,7 +609,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/_metadata.json b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/_metadata.json index 7dc31923d542..5b86405f6185 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/_metadata.json +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/_metadata.json @@ -9,7 +9,9 @@ "custom_base_url": null, "azure_arm": true, "has_lro_operations": true, - "client_side_validation": true + "client_side_validation": false, + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"NetworkManagementClientConfiguration\"], \"._operations_mixin\": [\"NetworkManagementClientOperationsMixin\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"NetworkManagementClientConfiguration\"], \"._operations_mixin\": [\"NetworkManagementClientOperationsMixin\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}" }, "global_parameters": { "sync": { @@ -28,13 +30,13 @@ }, "async": { "credential": { - "signature": "credential, # type: \"AsyncTokenCredential\"", + "signature": "credential: \"AsyncTokenCredential\",", "description": "Credential needed for the client to connect to Azure.", "docstring_type": "~azure.core.credentials_async.AsyncTokenCredential", "required": true }, "subscription_id": { - "signature": "subscription_id, # type: str", + "signature": "subscription_id: str,", "description": "The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.", "docstring_type": "str", "required": true @@ -42,14 +44,58 @@ }, "constant": { }, - "call": "credential, subscription_id" + "call": "credential, subscription_id", + "service_client_specific": { + "sync": { + "api_version": { + "signature": "api_version=None, # type: Optional[str]", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url=None, # type: Optional[str]", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile=KnownProfiles.default, # type: KnownProfiles", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + }, + "async": { + "api_version": { + "signature": "api_version: Optional[str] = None,", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url: Optional[str] = None,", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile: KnownProfiles = KnownProfiles.default,", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + } + } }, "config": { "credential": true, "credential_scopes": ["https://management.azure.com/.default"], "credential_default_policy_type": "BearerTokenCredentialPolicy", "credential_default_policy_type_has_async_version": true, - "credential_key_header_name": null + "credential_key_header_name": null, + "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMHttpLoggingPolicy\"]}, \"local\": {\"._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}}", + "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMHttpLoggingPolicy\"]}, \"local\": {\".._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}}" }, "operation_groups": { "application_gateways": "ApplicationGatewaysOperations", @@ -124,31 +170,33 @@ "web_application_firewall_policies": "WebApplicationFirewallPoliciesOperations" }, "operation_mixins": { - "check_dns_name_availability" : { - "sync": { - "signature": "def check_dns_name_availability(\n self,\n location, # type: str\n domain_name_label, # type: str\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2018_12_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def check_dns_name_availability(\n self,\n location: str,\n domain_name_label: str,\n **kwargs\n) -\u003e \"_models.DnsNameAvailabilityResult\":\n", - "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2018_12_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "location, domain_name_label" - }, - "supported_security_providers" : { - "sync": { - "signature": "def supported_security_providers(\n self,\n resource_group_name, # type: str\n virtual_wan_name, # type: str\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Gives the supported security providers for the virtual wan.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN for which supported security providers are\n needed.\n:type virtual_wan_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VirtualWanSecurityProviders, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2018_12_01.models.VirtualWanSecurityProviders\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\"]}}}", + "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\"]}}}", + "operations": { + "check_dns_name_availability" : { + "sync": { + "signature": "def check_dns_name_availability(\n self,\n location, # type: str\n domain_name_label, # type: str\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2018_12_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def check_dns_name_availability(\n self,\n location: str,\n domain_name_label: str,\n **kwargs\n) -\u003e \"_models.DnsNameAvailabilityResult\":\n", + "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2018_12_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "location, domain_name_label" }, - "async": { - "coroutine": true, - "signature": "async def supported_security_providers(\n self,\n resource_group_name: str,\n virtual_wan_name: str,\n **kwargs\n) -\u003e \"_models.VirtualWanSecurityProviders\":\n", - "doc": "\"\"\"Gives the supported security providers for the virtual wan.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN for which supported security providers are\n needed.\n:type virtual_wan_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VirtualWanSecurityProviders, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2018_12_01.models.VirtualWanSecurityProviders\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "resource_group_name, virtual_wan_name" + "supported_security_providers" : { + "sync": { + "signature": "def supported_security_providers(\n self,\n resource_group_name, # type: str\n virtual_wan_name, # type: str\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Gives the supported security providers for the virtual wan.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN for which supported security providers are\n needed.\n:type virtual_wan_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VirtualWanSecurityProviders, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2018_12_01.models.VirtualWanSecurityProviders\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def supported_security_providers(\n self,\n resource_group_name: str,\n virtual_wan_name: str,\n **kwargs\n) -\u003e \"_models.VirtualWanSecurityProviders\":\n", + "doc": "\"\"\"Gives the supported security providers for the virtual wan.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN for which supported security providers are\n needed.\n:type virtual_wan_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VirtualWanSecurityProviders, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2018_12_01.models.VirtualWanSecurityProviders\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "resource_group_name, virtual_wan_name" + } } - }, - "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\"]}}}", - "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\"]}}}" + } } \ No newline at end of file diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/_network_management_client.py index ffc9e3e68243..b5324111f618 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/_network_management_client.py @@ -16,6 +16,7 @@ from typing import Any, Optional from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse from ._configuration import NetworkManagementClientConfiguration from .operations import ApplicationGatewaysOperations @@ -258,6 +259,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( @@ -401,6 +403,24 @@ def __init__( self.web_application_firewall_policies = WebApplicationFirewallPoliciesOperations( self._client, self._config, self._serialize, self._deserialize) + def _send_request(self, http_request, **kwargs): + # type: (HttpRequest, Any) -> HttpResponse + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.HttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + def close(self): # type: () -> None self._client.close() diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/_network_management_client.py index 58849b81693e..46cea1ff5900 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/_network_management_client.py @@ -8,6 +8,7 @@ from typing import Any, Optional, TYPE_CHECKING +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core import AsyncARMPipelineClient from msrest import Deserializer, Serializer @@ -255,6 +256,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( @@ -398,6 +400,23 @@ def __init__( self.web_application_firewall_policies = WebApplicationFirewallPoliciesOperations( self._client, self._config, self._serialize, self._deserialize) + async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + async def close(self) -> None: await self._client.close() diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_application_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_application_gateways_operations.py index 261f1b40a732..ead78dfa9dc7 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_application_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_application_gateways_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_12_01.models.ApplicationGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGateway or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_12_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGateway or the result of cls(response) @@ -651,8 +651,8 @@ async def begin_start( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -757,8 +757,8 @@ async def begin_stop( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -876,8 +876,8 @@ async def begin_backend_health( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGatewayBackendHealth or the result of cls(response) @@ -970,7 +970,7 @@ async def list_available_server_variables( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) @@ -1021,7 +1021,7 @@ async def list_available_request_headers( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) @@ -1072,7 +1072,7 @@ async def list_available_response_headers( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_application_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_application_security_groups_operations.py index 83425cd1cd2f..eb55f4e33c8d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_application_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_application_security_groups_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type application_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -282,8 +282,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_12_01.models.ApplicationSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationSecurityGroup or the result of cls(response) @@ -406,8 +406,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_12_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_azure_firewalls_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_azure_firewalls_operations.py index 56e99039e7e9..6ac415d5ecdb 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_azure_firewalls_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_azure_firewalls_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type azure_firewall_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_12_01.models.AzureFirewall :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AzureFirewall or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_connection_monitors_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_connection_monitors_operations.py index f43535cb904a..3e92cc2d3bdb 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_connection_monitors_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_connection_monitors_operations.py @@ -88,7 +88,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -123,8 +123,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_12_01.models.ConnectionMonitor :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionMonitorResult or the result of cls(response) @@ -231,7 +231,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('ConnectionMonitorResult', pipeline_response) @@ -281,7 +281,7 @@ async def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -306,8 +306,8 @@ async def begin_delete( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -397,7 +397,7 @@ async def _stop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -422,8 +422,8 @@ async def begin_stop( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -513,7 +513,7 @@ async def _start_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -538,8 +538,8 @@ async def begin_start( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -629,7 +629,7 @@ async def _query_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -661,8 +661,8 @@ async def begin_query( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionMonitorQueryResult or the result of cls(response) @@ -780,7 +780,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_ddos_custom_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_ddos_custom_policies_operations.py index bd6ed15ceb60..084f77f82bb0 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_ddos_custom_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_ddos_custom_policies_operations.py @@ -100,8 +100,8 @@ async def begin_delete( :type ddos_custom_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -282,8 +282,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_12_01.models.DdosCustomPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either DdosCustomPolicy or the result of cls(response) @@ -406,8 +406,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_12_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either DdosCustomPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_ddos_protection_plans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_ddos_protection_plans_operations.py index fc44bb5b83de..911a89fbc55e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_ddos_protection_plans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_ddos_protection_plans_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type ddos_protection_plan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_12_01.models.DdosProtectionPlan :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either DdosProtectionPlan or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_12_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either DdosProtectionPlan or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_express_route_circuit_authorizations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_express_route_circuit_authorizations_operations.py index c29ca36dfa29..2b7c2c1dca68 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_express_route_circuit_authorizations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_express_route_circuit_authorizations_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type authorization_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type authorization_parameters: ~azure.mgmt.network.v2018_12_01.models.ExpressRouteCircuitAuthorization :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitAuthorization or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_express_route_circuit_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_express_route_circuit_connections_operations.py index e0155e548526..f953a1c03cbe 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_express_route_circuit_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_express_route_circuit_connections_operations.py @@ -110,8 +110,8 @@ async def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -315,8 +315,8 @@ async def begin_create_or_update( :type express_route_circuit_connection_parameters: ~azure.mgmt.network.v2018_12_01.models.ExpressRouteCircuitConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitConnection or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_express_route_circuit_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_express_route_circuit_peerings_operations.py index 717d8707b646..31ab5c655b5b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_express_route_circuit_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_express_route_circuit_peerings_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2018_12_01.models.ExpressRouteCircuitPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_express_route_circuits_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_express_route_circuits_operations.py index bc9e901dc795..93a2b04d638d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_express_route_circuits_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_express_route_circuits_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type circuit_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_12_01.models.ExpressRouteCircuit :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_12_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -533,8 +533,8 @@ async def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -664,8 +664,8 @@ async def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) @@ -795,8 +795,8 @@ async def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableSummaryListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_express_route_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_express_route_connections_operations.py index 57a15a37d506..892827cb5936 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_express_route_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_express_route_connections_operations.py @@ -122,8 +122,8 @@ async def begin_create_or_update( :type put_express_route_connection_parameters: ~azure.mgmt.network.v2018_12_01.models.ExpressRouteConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteConnection or the result of cls(response) @@ -301,8 +301,8 @@ async def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_express_route_cross_connection_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_express_route_cross_connection_peerings_operations.py index 75c0126d77eb..bd31b439abe1 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_express_route_cross_connection_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_express_route_cross_connection_peerings_operations.py @@ -178,8 +178,8 @@ async def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -372,8 +372,8 @@ async def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2018_12_01.models.ExpressRouteCrossConnectionPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCrossConnectionPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_express_route_cross_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_express_route_cross_connections_operations.py index f311ae30ddd0..762864ac36a0 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_express_route_cross_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_express_route_cross_connections_operations.py @@ -308,8 +308,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_12_01.models.ExpressRouteCrossConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCrossConnection or the result of cls(response) @@ -433,8 +433,8 @@ async def begin_update_tags( :type cross_connection_parameters: ~azure.mgmt.network.v2018_12_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCrossConnection or the result of cls(response) @@ -561,8 +561,8 @@ async def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -692,8 +692,8 @@ async def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCrossConnectionsRoutesTableSummaryListResult or the result of cls(response) @@ -823,8 +823,8 @@ async def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_express_route_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_express_route_gateways_operations.py index c7016afc9499..ca6f49b9064e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_express_route_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_express_route_gateways_operations.py @@ -221,8 +221,8 @@ async def begin_create_or_update( :type put_express_route_gateway_parameters: ~azure.mgmt.network.v2018_12_01.models.ExpressRouteGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteGateway or the result of cls(response) @@ -390,8 +390,8 @@ async def begin_delete( :type express_route_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_express_route_ports_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_express_route_ports_operations.py index d4384683de0f..1fb13b244377 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_express_route_ports_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_express_route_ports_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type express_route_port_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_12_01.models.ExpressRoutePort :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRoutePort or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_12_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRoutePort or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_hub_virtual_network_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_hub_virtual_network_connections_operations.py index d1763e8c9146..de580fa343b0 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_hub_virtual_network_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_hub_virtual_network_connections_operations.py @@ -93,7 +93,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('HubVirtualNetworkConnection', pipeline_response) @@ -168,7 +168,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_inbound_nat_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_inbound_nat_rules_operations.py index e1bbc0cb27e9..488053817ed8 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_inbound_nat_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_inbound_nat_rules_operations.py @@ -178,8 +178,8 @@ async def begin_delete( :type inbound_nat_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -377,8 +377,8 @@ async def begin_create_or_update( :type inbound_nat_rule_parameters: ~azure.mgmt.network.v2018_12_01.models.InboundNatRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either InboundNatRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_interface_endpoints_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_interface_endpoints_operations.py index 5337d6927f90..8bb426a3f732 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_interface_endpoints_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_interface_endpoints_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type interface_endpoint_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_12_01.models.InterfaceEndpoint :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either InterfaceEndpoint or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_load_balancers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_load_balancers_operations.py index 6238b8419999..79db63879c62 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_load_balancers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_load_balancers_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type load_balancer_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_12_01.models.LoadBalancer :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LoadBalancer or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_12_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LoadBalancer or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_local_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_local_network_gateways_operations.py index 4c9c914024f5..b7d4539fe7a6 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_local_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_local_network_gateways_operations.py @@ -117,8 +117,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_12_01.models.LocalNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LocalNetworkGateway or the result of cls(response) @@ -285,8 +285,8 @@ async def begin_delete( :type local_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_12_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LocalNetworkGateway or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_network_interface_tap_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_network_interface_tap_configurations_operations.py index 8b6536e54b1b..1ae872f81245 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_network_interface_tap_configurations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_network_interface_tap_configurations_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type tap_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type tap_configuration_parameters: ~azure.mgmt.network.v2018_12_01.models.NetworkInterfaceTapConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkInterfaceTapConfiguration or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_network_interfaces_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_network_interfaces_operations.py index 2fad133d6b52..a6ed078f322b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_network_interfaces_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_network_interfaces_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_12_01.models.NetworkInterface :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkInterface or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_12_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkInterface or the result of cls(response) @@ -663,8 +663,8 @@ async def begin_get_effective_route_table( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either EffectiveRouteListResult or the result of cls(response) @@ -779,8 +779,8 @@ async def begin_list_effective_network_security_groups( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either EffectiveNetworkSecurityGroupListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_network_management_client_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_network_management_client_operations.py index 2997c97f5da9..aa269417160c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_network_management_client_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_network_management_client_operations.py @@ -128,7 +128,7 @@ async def supported_security_providers( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualWanSecurityProviders', pipeline_response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_network_profiles_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_network_profiles_operations.py index 2c974b328d65..976cd47e5166 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_network_profiles_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_network_profiles_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type network_profile_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_network_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_network_security_groups_operations.py index 0c075c2a1bdb..4b0cc59f1b2d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_network_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_network_security_groups_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type network_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -287,8 +287,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_12_01.models.NetworkSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkSecurityGroup or the result of cls(response) @@ -411,8 +411,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_12_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_network_watchers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_network_watchers_operations.py index 4343a4085985..df6d6c710fe2 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_network_watchers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_network_watchers_operations.py @@ -99,7 +99,7 @@ async def create_or_update( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -162,7 +162,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('NetworkWatcher', pipeline_response) @@ -210,7 +210,7 @@ async def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -232,8 +232,8 @@ async def begin_delete( :type network_watcher_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -338,7 +338,7 @@ async def update_tags( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('NetworkWatcher', pipeline_response) @@ -409,7 +409,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -476,7 +476,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -543,7 +543,7 @@ async def get_topology( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('Topology', pipeline_response) @@ -597,7 +597,7 @@ async def _verify_ip_flow_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -629,8 +629,8 @@ async def begin_verify_ip_flow( :type parameters: ~azure.mgmt.network.v2018_12_01.models.VerificationIPFlowParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VerificationIPFlowResult or the result of cls(response) @@ -726,7 +726,7 @@ async def _get_next_hop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -758,8 +758,8 @@ async def begin_get_next_hop( :type parameters: ~azure.mgmt.network.v2018_12_01.models.NextHopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NextHopResult or the result of cls(response) @@ -855,7 +855,7 @@ async def _get_vm_security_rules_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -887,8 +887,8 @@ async def begin_get_vm_security_rules( :type parameters: ~azure.mgmt.network.v2018_12_01.models.SecurityGroupViewParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either SecurityGroupViewResult or the result of cls(response) @@ -984,7 +984,7 @@ async def _get_troubleshooting_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1016,8 +1016,8 @@ async def begin_get_troubleshooting( :type parameters: ~azure.mgmt.network.v2018_12_01.models.TroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1113,7 +1113,7 @@ async def _get_troubleshooting_result_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1145,8 +1145,8 @@ async def begin_get_troubleshooting_result( :type parameters: ~azure.mgmt.network.v2018_12_01.models.QueryTroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1242,7 +1242,7 @@ async def _set_flow_log_configuration_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1274,8 +1274,8 @@ async def begin_set_flow_log_configuration( :type parameters: ~azure.mgmt.network.v2018_12_01.models.FlowLogInformation :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1371,7 +1371,7 @@ async def _get_flow_log_status_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1404,8 +1404,8 @@ async def begin_get_flow_log_status( :type parameters: ~azure.mgmt.network.v2018_12_01.models.FlowLogStatusParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1501,7 +1501,7 @@ async def _check_connectivity_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1534,8 +1534,8 @@ async def begin_check_connectivity( :type parameters: ~azure.mgmt.network.v2018_12_01.models.ConnectivityParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectivityInformation or the result of cls(response) @@ -1631,7 +1631,7 @@ async def _get_azure_reachability_report_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1664,8 +1664,8 @@ async def begin_get_azure_reachability_report( :type parameters: ~azure.mgmt.network.v2018_12_01.models.AzureReachabilityReportParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AzureReachabilityReport or the result of cls(response) @@ -1761,7 +1761,7 @@ async def _list_available_providers_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1793,8 +1793,8 @@ async def begin_list_available_providers( :type parameters: ~azure.mgmt.network.v2018_12_01.models.AvailableProvidersListParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AvailableProvidersList or the result of cls(response) @@ -1890,7 +1890,7 @@ async def _get_network_configuration_diagnostic_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1922,8 +1922,8 @@ async def begin_get_network_configuration_diagnostic( :type parameters: ~azure.mgmt.network.v2018_12_01.models.NetworkConfigurationDiagnosticParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkConfigurationDiagnosticResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_p2_svpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_p2_svpn_gateways_operations.py index dd77ff568859..58fbb475a190 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_p2_svpn_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_p2_svpn_gateways_operations.py @@ -91,7 +91,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('P2SVpnGateway', pipeline_response) @@ -145,7 +145,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -178,8 +178,8 @@ async def begin_create_or_update( :type p2_s_vpn_gateway_parameters: ~azure.mgmt.network.v2018_12_01.models.P2SVpnGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -275,7 +275,7 @@ async def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -308,8 +308,8 @@ async def begin_update_tags( :type p2_s_vpn_gateway_parameters: ~azure.mgmt.network.v2018_12_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -399,7 +399,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -421,8 +421,8 @@ async def begin_delete( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -531,7 +531,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -598,7 +598,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -682,8 +682,8 @@ async def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2018_12_01.models.P2SVpnProfileParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnProfileResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_p2_svpn_server_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_p2_svpn_server_configurations_operations.py index f65a8a822f34..147c25633f78 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_p2_svpn_server_configurations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_p2_svpn_server_configurations_operations.py @@ -95,7 +95,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('P2SVpnServerConfiguration', pipeline_response) @@ -151,7 +151,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -188,8 +188,8 @@ async def begin_create_or_update( :type p2_s_vpn_server_configuration_parameters: ~azure.mgmt.network.v2018_12_01.models.P2SVpnServerConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either P2SVpnServerConfiguration or the result of cls(response) @@ -283,7 +283,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -308,8 +308,8 @@ async def begin_delete( :type p2_s_vpn_server_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -424,7 +424,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_packet_captures_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_packet_captures_operations.py index 37862c6068c6..f9fba81748b2 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_packet_captures_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_packet_captures_operations.py @@ -88,7 +88,7 @@ async def _create_initial( if response.status_code not in [201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PacketCaptureResult', pipeline_response) @@ -119,8 +119,8 @@ async def begin_create( :type parameters: ~azure.mgmt.network.v2018_12_01.models.PacketCapture :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PacketCaptureResult or the result of cls(response) @@ -227,7 +227,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PacketCaptureResult', pipeline_response) @@ -277,7 +277,7 @@ async def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -302,8 +302,8 @@ async def begin_delete( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -393,7 +393,7 @@ async def _stop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -418,8 +418,8 @@ async def begin_stop( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -509,7 +509,7 @@ async def _get_status_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -541,8 +541,8 @@ async def begin_get_status( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PacketCaptureQueryStatusResult or the result of cls(response) @@ -660,7 +660,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_public_ip_addresses_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_public_ip_addresses_operations.py index 41777616ff15..0713a6aaacc1 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_public_ip_addresses_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_public_ip_addresses_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type public_ip_address_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_12_01.models.PublicIPAddress :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PublicIPAddress or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_12_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PublicIPAddress or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_public_ip_prefixes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_public_ip_prefixes_operations.py index 39dcab9ce6fe..292b08b5f448 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_public_ip_prefixes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_public_ip_prefixes_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type public_ip_prefix_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_12_01.models.PublicIPPrefix :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PublicIPPrefix or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_12_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PublicIPPrefix or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_route_filter_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_route_filter_rules_operations.py index 590609b88c45..d6d35ff8d8e1 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_route_filter_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_route_filter_rules_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2018_12_01.models.RouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilterRule or the result of cls(response) @@ -430,8 +430,8 @@ async def begin_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2018_12_01.models.PatchRouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilterRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_route_filters_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_route_filters_operations.py index 7189cbd45e30..96f1fe5ae623 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_route_filters_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_route_filters_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type route_filter_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -287,8 +287,8 @@ async def begin_create_or_update( :type route_filter_parameters: ~azure.mgmt.network.v2018_12_01.models.RouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilter or the result of cls(response) @@ -411,8 +411,8 @@ async def begin_update( :type route_filter_parameters: ~azure.mgmt.network.v2018_12_01.models.PatchRouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilter or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_route_tables_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_route_tables_operations.py index b16bf925c0c7..c72cba16f12f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_route_tables_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_route_tables_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_12_01.models.RouteTable :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteTable or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_12_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteTable or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_routes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_routes_operations.py index 13ed5fa91718..160538ba06f1 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_routes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_routes_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type route_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ async def begin_create_or_update( :type route_parameters: ~azure.mgmt.network.v2018_12_01.models.Route :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Route or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_security_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_security_rules_operations.py index c726487c2719..d8c11c24d8a4 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_security_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_security_rules_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type security_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type security_rule_parameters: ~azure.mgmt.network.v2018_12_01.models.SecurityRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either SecurityRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_service_endpoint_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_service_endpoint_policies_operations.py index 76ae33d52ad3..4d4e95848ccf 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_service_endpoint_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_service_endpoint_policies_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type service_endpoint_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -287,8 +287,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_12_01.models.ServiceEndpointPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ServiceEndpointPolicy or the result of cls(response) @@ -411,8 +411,8 @@ async def begin_update( :type parameters: ~azure.mgmt.network.v2018_12_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ServiceEndpointPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_service_endpoint_policy_definitions_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_service_endpoint_policy_definitions_operations.py index 74859ce6bceb..3fc7a28b8599 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_service_endpoint_policy_definitions_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_service_endpoint_policy_definitions_operations.py @@ -105,8 +105,8 @@ async def begin_delete( :type service_endpoint_policy_definition_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -302,8 +302,8 @@ async def begin_create_or_update( :type service_endpoint_policy_definitions: ~azure.mgmt.network.v2018_12_01.models.ServiceEndpointPolicyDefinition :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ServiceEndpointPolicyDefinition or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_subnets_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_subnets_operations.py index 6d657a8cef6f..242d4ae85a19 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_subnets_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_subnets_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type subnet_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -302,8 +302,8 @@ async def begin_create_or_update( :type subnet_parameters: ~azure.mgmt.network.v2018_12_01.models.Subnet :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Subnet or the result of cls(response) @@ -429,8 +429,8 @@ async def begin_prepare_network_policies( :type prepare_network_policies_request_parameters: ~azure.mgmt.network.v2018_12_01.models.PrepareNetworkPoliciesRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_virtual_hubs_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_virtual_hubs_operations.py index 31e11a711d7c..aa40afa7788b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_virtual_hubs_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_virtual_hubs_operations.py @@ -91,7 +91,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualHub', pipeline_response) @@ -145,7 +145,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -177,8 +177,8 @@ async def begin_create_or_update( :type virtual_hub_parameters: ~azure.mgmt.network.v2018_12_01.models.VirtualHub :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualHub or the result of cls(response) @@ -274,7 +274,7 @@ async def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -306,8 +306,8 @@ async def begin_update_tags( :type virtual_hub_parameters: ~azure.mgmt.network.v2018_12_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualHub or the result of cls(response) @@ -397,7 +397,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -419,8 +419,8 @@ async def begin_delete( :type virtual_hub_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -529,7 +529,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -596,7 +596,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_virtual_network_gateway_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_virtual_network_gateway_connections_operations.py index ea0b625a0792..1f4d40c5494d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_virtual_network_gateway_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_virtual_network_gateway_connections_operations.py @@ -119,8 +119,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_12_01.models.VirtualNetworkGatewayConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -289,8 +289,8 @@ async def begin_delete( :type virtual_network_gateway_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_12_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -541,8 +541,8 @@ async def begin_set_shared_key( :type parameters: ~azure.mgmt.network.v2018_12_01.models.ConnectionSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionSharedKey or the result of cls(response) @@ -802,8 +802,8 @@ async def begin_reset_shared_key( :type parameters: ~azure.mgmt.network.v2018_12_01.models.ConnectionResetSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionResetSharedKey or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_virtual_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_virtual_network_gateways_operations.py index 1fcc1287fd39..0fd1ee3fab54 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_virtual_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_virtual_network_gateways_operations.py @@ -117,8 +117,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_12_01.models.VirtualNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -285,8 +285,8 @@ async def begin_delete( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_12_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -673,8 +673,8 @@ async def begin_reset( :type gateway_vip: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -784,8 +784,8 @@ async def begin_reset_vpn_client_shared_key( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -908,8 +908,8 @@ async def begin_generatevpnclientpackage( :type parameters: ~azure.mgmt.network.v2018_12_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1036,8 +1036,8 @@ async def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2018_12_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1154,8 +1154,8 @@ async def begin_get_vpn_profile_package_url( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1276,8 +1276,8 @@ async def begin_get_bgp_peer_status( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either BgpPeerStatusListResult or the result of cls(response) @@ -1452,8 +1452,8 @@ async def begin_get_learned_routes( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1574,8 +1574,8 @@ async def begin_get_advertised_routes( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1702,8 +1702,8 @@ async def begin_set_vpnclient_ipsec_parameters( :type vpnclient_ipsec_params: ~azure.mgmt.network.v2018_12_01.models.VpnClientIPsecParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnClientIPsecParameters or the result of cls(response) @@ -1819,8 +1819,8 @@ async def begin_get_vpnclient_ipsec_parameters( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnClientIPsecParameters or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_virtual_network_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_virtual_network_peerings_operations.py index 0838568d98ad..2383c93510bb 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_virtual_network_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_virtual_network_peerings_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type virtual_network_peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type virtual_network_peering_parameters: ~azure.mgmt.network.v2018_12_01.models.VirtualNetworkPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_virtual_network_taps_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_virtual_network_taps_operations.py index ec847434a7f5..cb06662e0e81 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_virtual_network_taps_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_virtual_network_taps_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type tap_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_12_01.models.VirtualNetworkTap :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkTap or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type tap_parameters: ~azure.mgmt.network.v2018_12_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkTap or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_virtual_networks_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_virtual_networks_operations.py index a5a627539c0d..5ce30dfae734 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_virtual_networks_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_virtual_networks_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type virtual_network_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_12_01.models.VirtualNetwork :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetwork or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_12_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetwork or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_virtual_wans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_virtual_wans_operations.py index a2241078e108..153707065bb8 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_virtual_wans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_virtual_wans_operations.py @@ -91,7 +91,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualWAN', pipeline_response) @@ -145,7 +145,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -177,8 +177,8 @@ async def begin_create_or_update( :type wan_parameters: ~azure.mgmt.network.v2018_12_01.models.VirtualWAN :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualWAN or the result of cls(response) @@ -274,7 +274,7 @@ async def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -306,8 +306,8 @@ async def begin_update_tags( :type wan_parameters: ~azure.mgmt.network.v2018_12_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualWAN or the result of cls(response) @@ -397,7 +397,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -419,8 +419,8 @@ async def begin_delete( :type virtual_wan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -529,7 +529,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -596,7 +596,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_vpn_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_vpn_connections_operations.py index aaa89c9704bb..6da8ccf8b73d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_vpn_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_vpn_connections_operations.py @@ -95,7 +95,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VpnConnection', pipeline_response) @@ -151,7 +151,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -187,8 +187,8 @@ async def begin_create_or_update( :type vpn_connection_parameters: ~azure.mgmt.network.v2018_12_01.models.VpnConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnConnection or the result of cls(response) @@ -282,7 +282,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -307,8 +307,8 @@ async def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -423,7 +423,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_vpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_vpn_gateways_operations.py index a3907f309839..06e7a9ac611a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_vpn_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_vpn_gateways_operations.py @@ -91,7 +91,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VpnGateway', pipeline_response) @@ -145,7 +145,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -178,8 +178,8 @@ async def begin_create_or_update( :type vpn_gateway_parameters: ~azure.mgmt.network.v2018_12_01.models.VpnGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnGateway or the result of cls(response) @@ -275,7 +275,7 @@ async def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -307,8 +307,8 @@ async def begin_update_tags( :type vpn_gateway_parameters: ~azure.mgmt.network.v2018_12_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnGateway or the result of cls(response) @@ -398,7 +398,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -420,8 +420,8 @@ async def begin_delete( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -530,7 +530,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -597,7 +597,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_vpn_sites_configuration_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_vpn_sites_configuration_operations.py index 114eb87a0c57..425a2403d4f2 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_vpn_sites_configuration_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_vpn_sites_configuration_operations.py @@ -85,7 +85,7 @@ async def _download_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -111,8 +111,8 @@ async def begin_download( :type request: ~azure.mgmt.network.v2018_12_01.models.GetVpnSitesConfigurationRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_vpn_sites_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_vpn_sites_operations.py index 354fc0bf17ef..1691a901b2fe 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_vpn_sites_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_vpn_sites_operations.py @@ -91,7 +91,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VpnSite', pipeline_response) @@ -145,7 +145,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -177,8 +177,8 @@ async def begin_create_or_update( :type vpn_site_parameters: ~azure.mgmt.network.v2018_12_01.models.VpnSite :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnSite or the result of cls(response) @@ -274,7 +274,7 @@ async def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -306,8 +306,8 @@ async def begin_update_tags( :type vpn_site_parameters: ~azure.mgmt.network.v2018_12_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnSite or the result of cls(response) @@ -397,7 +397,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -419,8 +419,8 @@ async def begin_delete( :type vpn_site_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -529,7 +529,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -596,7 +596,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_web_application_firewall_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_web_application_firewall_policies_operations.py index 4abefeea4e28..4b219557604b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_web_application_firewall_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/aio/operations/_web_application_firewall_policies_operations.py @@ -363,8 +363,8 @@ async def begin_delete( :type policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/models/_models.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/models/_models.py index f61a6933eac7..10b965ee7e3e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/models/_models.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/models/_models.py @@ -102,58 +102,55 @@ class ApplicationGateway(Resource): :vartype operational_state: str or ~azure.mgmt.network.v2018_12_01.models.ApplicationGatewayOperationalState :param gateway_ip_configurations: Subnets of the application gateway resource. For default - limits, see `Application Gateway limits `_. + limits, see `Application Gateway limits + `_. :type gateway_ip_configurations: list[~azure.mgmt.network.v2018_12_01.models.ApplicationGatewayIPConfiguration] :param authentication_certificates: Authentication certificates of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type authentication_certificates: list[~azure.mgmt.network.v2018_12_01.models.ApplicationGatewayAuthenticationCertificate] :param trusted_root_certificates: Trusted Root certificates of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type trusted_root_certificates: list[~azure.mgmt.network.v2018_12_01.models.ApplicationGatewayTrustedRootCertificate] :param ssl_certificates: SSL certificates of the application gateway resource. For default - limits, see `Application Gateway limits `_. + limits, see `Application Gateway limits + `_. :type ssl_certificates: list[~azure.mgmt.network.v2018_12_01.models.ApplicationGatewaySslCertificate] :param frontend_ip_configurations: Frontend IP addresses of the application gateway resource. - For default limits, see `Application Gateway limits `_. + For default limits, see `Application Gateway limits + `_. :type frontend_ip_configurations: list[~azure.mgmt.network.v2018_12_01.models.ApplicationGatewayFrontendIPConfiguration] :param frontend_ports: Frontend ports of the application gateway resource. For default limits, - see `Application Gateway limits `_. + see `Application Gateway limits + `_. :type frontend_ports: list[~azure.mgmt.network.v2018_12_01.models.ApplicationGatewayFrontendPort] :param probes: Probes of the application gateway resource. :type probes: list[~azure.mgmt.network.v2018_12_01.models.ApplicationGatewayProbe] :param backend_address_pools: Backend address pool of the application gateway resource. For - default limits, see `Application Gateway limits `_. + default limits, see `Application Gateway limits + `_. :type backend_address_pools: list[~azure.mgmt.network.v2018_12_01.models.ApplicationGatewayBackendAddressPool] :param backend_http_settings_collection: Backend http settings of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type backend_http_settings_collection: list[~azure.mgmt.network.v2018_12_01.models.ApplicationGatewayBackendHttpSettings] :param http_listeners: Http listeners of the application gateway resource. For default limits, - see `Application Gateway limits `_. + see `Application Gateway limits + `_. :type http_listeners: list[~azure.mgmt.network.v2018_12_01.models.ApplicationGatewayHttpListener] :param url_path_maps: URL path map of the application gateway resource. For default limits, see - `Application Gateway limits `_. + `Application Gateway limits + `_. :type url_path_maps: list[~azure.mgmt.network.v2018_12_01.models.ApplicationGatewayUrlPathMap] :param request_routing_rules: Request routing rules of the application gateway resource. :type request_routing_rules: @@ -162,8 +159,8 @@ class ApplicationGateway(Resource): :type rewrite_rule_sets: list[~azure.mgmt.network.v2018_12_01.models.ApplicationGatewayRewriteRuleSet] :param redirect_configurations: Redirect configurations of the application gateway resource. - For default limits, see `Application Gateway limits `_. + For default limits, see `Application Gateway limits + `_. :type redirect_configurations: list[~azure.mgmt.network.v2018_12_01.models.ApplicationGatewayRedirectConfiguration] :param web_application_firewall_configuration: Web application firewall configuration. @@ -1562,7 +1559,7 @@ class ApplicationGatewayRewriteRuleCondition(msrest.serialization.Model): :param pattern: The pattern, either fixed string or regular expression, that evaluates the truthfulness of the condition. :type pattern: str - :param ignore_case: Setting this paramter to truth value with force the pattern to do a case + :param ignore_case: Setting this parameter to truth value with force the pattern to do a case in-sensitive comparison. :type ignore_case: bool :param negate: Setting this value as truth will force to check the negation of the condition @@ -4102,7 +4099,7 @@ class ContainerNetworkInterface(SubResource): ~azure.mgmt.network.v2018_12_01.models.ContainerNetworkInterfaceConfiguration :param container: Reference to the container to which this container network interface is attached. - :type container: ~azure.mgmt.network.v2018_12_01.models.SubResource + :type container: ~azure.mgmt.network.v2018_12_01.models.Container :param ip_configurations: Reference to the ip configuration on this container nic. :type ip_configurations: list[~azure.mgmt.network.v2018_12_01.models.ContainerNetworkInterfaceIpConfiguration] @@ -4121,7 +4118,7 @@ class ContainerNetworkInterface(SubResource): 'type': {'key': 'type', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, 'container_network_interface_configuration': {'key': 'properties.containerNetworkInterfaceConfiguration', 'type': 'ContainerNetworkInterfaceConfiguration'}, - 'container': {'key': 'properties.container', 'type': 'SubResource'}, + 'container': {'key': 'properties.container', 'type': 'Container'}, 'ip_configurations': {'key': 'properties.ipConfigurations', 'type': '[ContainerNetworkInterfaceIpConfiguration]'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, } @@ -10386,8 +10383,8 @@ class PacketCaptureStorageLocation(msrest.serialization.Model): :param storage_id: The ID of the storage account to save the packet capture session. Required if no local file path is provided. :type storage_id: str - :param storage_path: The URI of the storage path to save the packet capture. Must be a well- - formed URI describing the location to save the packet capture. + :param storage_path: The URI of the storage path to save the packet capture. Must be a + well-formed URI describing the location to save the packet capture. :type storage_path: str :param file_path: A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no @@ -13613,8 +13610,8 @@ class VirtualNetworkPeering(SubResource): :type use_remote_gateways: bool :param remote_virtual_network: The reference of the remote virtual network. The remote virtual network can be in the same or different region (preview). See here to register for the preview - and learn more (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create- - peering). + and learn more + (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering). :type remote_virtual_network: ~azure.mgmt.network.v2018_12_01.models.SubResource :param remote_address_space: The reference of the remote virtual network address space. :type remote_address_space: ~azure.mgmt.network.v2018_12_01.models.AddressSpace diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/models/_models_py3.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/models/_models_py3.py index 1c0b5c71ff2e..9067dbf343b4 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/models/_models_py3.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/models/_models_py3.py @@ -113,58 +113,55 @@ class ApplicationGateway(Resource): :vartype operational_state: str or ~azure.mgmt.network.v2018_12_01.models.ApplicationGatewayOperationalState :param gateway_ip_configurations: Subnets of the application gateway resource. For default - limits, see `Application Gateway limits `_. + limits, see `Application Gateway limits + `_. :type gateway_ip_configurations: list[~azure.mgmt.network.v2018_12_01.models.ApplicationGatewayIPConfiguration] :param authentication_certificates: Authentication certificates of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type authentication_certificates: list[~azure.mgmt.network.v2018_12_01.models.ApplicationGatewayAuthenticationCertificate] :param trusted_root_certificates: Trusted Root certificates of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type trusted_root_certificates: list[~azure.mgmt.network.v2018_12_01.models.ApplicationGatewayTrustedRootCertificate] :param ssl_certificates: SSL certificates of the application gateway resource. For default - limits, see `Application Gateway limits `_. + limits, see `Application Gateway limits + `_. :type ssl_certificates: list[~azure.mgmt.network.v2018_12_01.models.ApplicationGatewaySslCertificate] :param frontend_ip_configurations: Frontend IP addresses of the application gateway resource. - For default limits, see `Application Gateway limits `_. + For default limits, see `Application Gateway limits + `_. :type frontend_ip_configurations: list[~azure.mgmt.network.v2018_12_01.models.ApplicationGatewayFrontendIPConfiguration] :param frontend_ports: Frontend ports of the application gateway resource. For default limits, - see `Application Gateway limits `_. + see `Application Gateway limits + `_. :type frontend_ports: list[~azure.mgmt.network.v2018_12_01.models.ApplicationGatewayFrontendPort] :param probes: Probes of the application gateway resource. :type probes: list[~azure.mgmt.network.v2018_12_01.models.ApplicationGatewayProbe] :param backend_address_pools: Backend address pool of the application gateway resource. For - default limits, see `Application Gateway limits `_. + default limits, see `Application Gateway limits + `_. :type backend_address_pools: list[~azure.mgmt.network.v2018_12_01.models.ApplicationGatewayBackendAddressPool] :param backend_http_settings_collection: Backend http settings of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type backend_http_settings_collection: list[~azure.mgmt.network.v2018_12_01.models.ApplicationGatewayBackendHttpSettings] :param http_listeners: Http listeners of the application gateway resource. For default limits, - see `Application Gateway limits `_. + see `Application Gateway limits + `_. :type http_listeners: list[~azure.mgmt.network.v2018_12_01.models.ApplicationGatewayHttpListener] :param url_path_maps: URL path map of the application gateway resource. For default limits, see - `Application Gateway limits `_. + `Application Gateway limits + `_. :type url_path_maps: list[~azure.mgmt.network.v2018_12_01.models.ApplicationGatewayUrlPathMap] :param request_routing_rules: Request routing rules of the application gateway resource. :type request_routing_rules: @@ -173,8 +170,8 @@ class ApplicationGateway(Resource): :type rewrite_rule_sets: list[~azure.mgmt.network.v2018_12_01.models.ApplicationGatewayRewriteRuleSet] :param redirect_configurations: Redirect configurations of the application gateway resource. - For default limits, see `Application Gateway limits `_. + For default limits, see `Application Gateway limits + `_. :type redirect_configurations: list[~azure.mgmt.network.v2018_12_01.models.ApplicationGatewayRedirectConfiguration] :param web_application_firewall_configuration: Web application firewall configuration. @@ -1806,7 +1803,7 @@ class ApplicationGatewayRewriteRuleCondition(msrest.serialization.Model): :param pattern: The pattern, either fixed string or regular expression, that evaluates the truthfulness of the condition. :type pattern: str - :param ignore_case: Setting this paramter to truth value with force the pattern to do a case + :param ignore_case: Setting this parameter to truth value with force the pattern to do a case in-sensitive comparison. :type ignore_case: bool :param negate: Setting this value as truth will force to check the negation of the condition @@ -4654,7 +4651,7 @@ class ContainerNetworkInterface(SubResource): ~azure.mgmt.network.v2018_12_01.models.ContainerNetworkInterfaceConfiguration :param container: Reference to the container to which this container network interface is attached. - :type container: ~azure.mgmt.network.v2018_12_01.models.SubResource + :type container: ~azure.mgmt.network.v2018_12_01.models.Container :param ip_configurations: Reference to the ip configuration on this container nic. :type ip_configurations: list[~azure.mgmt.network.v2018_12_01.models.ContainerNetworkInterfaceIpConfiguration] @@ -4673,7 +4670,7 @@ class ContainerNetworkInterface(SubResource): 'type': {'key': 'type', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, 'container_network_interface_configuration': {'key': 'properties.containerNetworkInterfaceConfiguration', 'type': 'ContainerNetworkInterfaceConfiguration'}, - 'container': {'key': 'properties.container', 'type': 'SubResource'}, + 'container': {'key': 'properties.container', 'type': 'Container'}, 'ip_configurations': {'key': 'properties.ipConfigurations', 'type': '[ContainerNetworkInterfaceIpConfiguration]'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, } @@ -4685,7 +4682,7 @@ def __init__( name: Optional[str] = None, etag: Optional[str] = None, container_network_interface_configuration: Optional["ContainerNetworkInterfaceConfiguration"] = None, - container: Optional["SubResource"] = None, + container: Optional["Container"] = None, ip_configurations: Optional[List["ContainerNetworkInterfaceIpConfiguration"]] = None, **kwargs ): @@ -11718,8 +11715,8 @@ class PacketCaptureStorageLocation(msrest.serialization.Model): :param storage_id: The ID of the storage account to save the packet capture session. Required if no local file path is provided. :type storage_id: str - :param storage_path: The URI of the storage path to save the packet capture. Must be a well- - formed URI describing the location to save the packet capture. + :param storage_path: The URI of the storage path to save the packet capture. Must be a + well-formed URI describing the location to save the packet capture. :type storage_path: str :param file_path: A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no @@ -15351,8 +15348,8 @@ class VirtualNetworkPeering(SubResource): :type use_remote_gateways: bool :param remote_virtual_network: The reference of the remote virtual network. The remote virtual network can be in the same or different region (preview). See here to register for the preview - and learn more (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create- - peering). + and learn more + (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering). :type remote_virtual_network: ~azure.mgmt.network.v2018_12_01.models.SubResource :param remote_address_space: The reference of the remote virtual network address space. :type remote_address_space: ~azure.mgmt.network.v2018_12_01.models.AddressSpace diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_application_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_application_gateways_operations.py index 0e22b03deb04..817430ffba8e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_application_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_application_gateways_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_12_01.models.ApplicationGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGateway or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_12_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGateway or the result of cls(response) @@ -666,8 +666,8 @@ def begin_start( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -774,8 +774,8 @@ def begin_stop( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -895,8 +895,8 @@ def begin_backend_health( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGatewayBackendHealth or the result of cls(response) @@ -990,7 +990,7 @@ def list_available_server_variables( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) @@ -1042,7 +1042,7 @@ def list_available_request_headers( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) @@ -1094,7 +1094,7 @@ def list_available_response_headers( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_application_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_application_security_groups_operations.py index 968d99b1b46e..691819c9a633 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_application_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_application_security_groups_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type application_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -291,8 +291,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_12_01.models.ApplicationSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationSecurityGroup or the result of cls(response) @@ -417,8 +417,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_12_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_azure_firewalls_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_azure_firewalls_operations.py index 56356cb84700..7b4629583e38 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_azure_firewalls_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_azure_firewalls_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type azure_firewall_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_12_01.models.AzureFirewall :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AzureFirewall or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_connection_monitors_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_connection_monitors_operations.py index d5de040b5062..a73445eafbf6 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_connection_monitors_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_connection_monitors_operations.py @@ -93,7 +93,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -129,8 +129,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_12_01.models.ConnectionMonitor :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionMonitorResult or the result of cls(response) @@ -238,7 +238,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('ConnectionMonitorResult', pipeline_response) @@ -289,7 +289,7 @@ def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -315,8 +315,8 @@ def begin_delete( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -407,7 +407,7 @@ def _stop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -433,8 +433,8 @@ def begin_stop( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -525,7 +525,7 @@ def _start_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -551,8 +551,8 @@ def begin_start( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -643,7 +643,7 @@ def _query_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -676,8 +676,8 @@ def begin_query( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionMonitorQueryResult or the result of cls(response) @@ -796,7 +796,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_ddos_custom_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_ddos_custom_policies_operations.py index a6a1c4a0aad9..e1e407a141bb 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_ddos_custom_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_ddos_custom_policies_operations.py @@ -106,8 +106,8 @@ def begin_delete( :type ddos_custom_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -291,8 +291,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_12_01.models.DdosCustomPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either DdosCustomPolicy or the result of cls(response) @@ -417,8 +417,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_12_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either DdosCustomPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_ddos_protection_plans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_ddos_protection_plans_operations.py index fb1c4684db34..b74284b5ed1b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_ddos_protection_plans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_ddos_protection_plans_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type ddos_protection_plan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_12_01.models.DdosProtectionPlan :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either DdosProtectionPlan or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_12_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either DdosProtectionPlan or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_express_route_circuit_authorizations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_express_route_circuit_authorizations_operations.py index 3eb30b737c8c..67ab8121c88c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_express_route_circuit_authorizations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_express_route_circuit_authorizations_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type authorization_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type authorization_parameters: ~azure.mgmt.network.v2018_12_01.models.ExpressRouteCircuitAuthorization :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitAuthorization or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_express_route_circuit_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_express_route_circuit_connections_operations.py index d271a89b222e..9e20c3c96966 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_express_route_circuit_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_express_route_circuit_connections_operations.py @@ -116,8 +116,8 @@ def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -324,8 +324,8 @@ def begin_create_or_update( :type express_route_circuit_connection_parameters: ~azure.mgmt.network.v2018_12_01.models.ExpressRouteCircuitConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitConnection or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_express_route_circuit_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_express_route_circuit_peerings_operations.py index c3f0a359728f..91d8f6a1b712 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_express_route_circuit_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_express_route_circuit_peerings_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2018_12_01.models.ExpressRouteCircuitPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_express_route_circuits_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_express_route_circuits_operations.py index aecd076343a1..12ba491dfe8e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_express_route_circuits_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_express_route_circuits_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type circuit_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_12_01.models.ExpressRouteCircuit :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_12_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -546,8 +546,8 @@ def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -679,8 +679,8 @@ def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) @@ -812,8 +812,8 @@ def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableSummaryListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_express_route_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_express_route_connections_operations.py index 85efafbf0ef5..dc0b41efa573 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_express_route_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_express_route_connections_operations.py @@ -128,8 +128,8 @@ def begin_create_or_update( :type put_express_route_connection_parameters: ~azure.mgmt.network.v2018_12_01.models.ExpressRouteConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteConnection or the result of cls(response) @@ -310,8 +310,8 @@ def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_express_route_cross_connection_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_express_route_cross_connection_peerings_operations.py index 81f9fd191cfd..bcd894461e9e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_express_route_cross_connection_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_express_route_cross_connection_peerings_operations.py @@ -185,8 +185,8 @@ def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -382,8 +382,8 @@ def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2018_12_01.models.ExpressRouteCrossConnectionPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCrossConnectionPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_express_route_cross_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_express_route_cross_connections_operations.py index 60544a244871..7305cba36701 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_express_route_cross_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_express_route_cross_connections_operations.py @@ -317,8 +317,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_12_01.models.ExpressRouteCrossConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCrossConnection or the result of cls(response) @@ -444,8 +444,8 @@ def begin_update_tags( :type cross_connection_parameters: ~azure.mgmt.network.v2018_12_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCrossConnection or the result of cls(response) @@ -574,8 +574,8 @@ def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -707,8 +707,8 @@ def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCrossConnectionsRoutesTableSummaryListResult or the result of cls(response) @@ -840,8 +840,8 @@ def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_express_route_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_express_route_gateways_operations.py index 99fb3555eff6..8af5a81218c9 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_express_route_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_express_route_gateways_operations.py @@ -229,8 +229,8 @@ def begin_create_or_update( :type put_express_route_gateway_parameters: ~azure.mgmt.network.v2018_12_01.models.ExpressRouteGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteGateway or the result of cls(response) @@ -401,8 +401,8 @@ def begin_delete( :type express_route_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_express_route_ports_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_express_route_ports_operations.py index 2ae698ff8c10..9088e45827a8 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_express_route_ports_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_express_route_ports_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type express_route_port_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_12_01.models.ExpressRoutePort :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRoutePort or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_12_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRoutePort or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_hub_virtual_network_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_hub_virtual_network_connections_operations.py index e45b61ce3898..c1f8c225f95e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_hub_virtual_network_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_hub_virtual_network_connections_operations.py @@ -98,7 +98,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('HubVirtualNetworkConnection', pipeline_response) @@ -174,7 +174,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_inbound_nat_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_inbound_nat_rules_operations.py index 607b18d309af..b730b76b5999 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_inbound_nat_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_inbound_nat_rules_operations.py @@ -185,8 +185,8 @@ def begin_delete( :type inbound_nat_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -387,8 +387,8 @@ def begin_create_or_update( :type inbound_nat_rule_parameters: ~azure.mgmt.network.v2018_12_01.models.InboundNatRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either InboundNatRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_interface_endpoints_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_interface_endpoints_operations.py index 8d8172409aef..5fb26b73ed33 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_interface_endpoints_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_interface_endpoints_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type interface_endpoint_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_12_01.models.InterfaceEndpoint :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either InterfaceEndpoint or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_load_balancers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_load_balancers_operations.py index 8c7abcb6e498..fdb5091aaaca 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_load_balancers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_load_balancers_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type load_balancer_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_12_01.models.LoadBalancer :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LoadBalancer or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_12_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LoadBalancer or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_local_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_local_network_gateways_operations.py index b7b5531df29a..832e43295cb4 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_local_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_local_network_gateways_operations.py @@ -123,8 +123,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_12_01.models.LocalNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LocalNetworkGateway or the result of cls(response) @@ -294,8 +294,8 @@ def begin_delete( :type local_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_12_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LocalNetworkGateway or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_network_interface_tap_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_network_interface_tap_configurations_operations.py index a95a9a8aabd8..e205303a907d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_network_interface_tap_configurations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_network_interface_tap_configurations_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type tap_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type tap_configuration_parameters: ~azure.mgmt.network.v2018_12_01.models.NetworkInterfaceTapConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkInterfaceTapConfiguration or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_network_interfaces_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_network_interfaces_operations.py index 6f6211e0a2a3..0c22159d5a53 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_network_interfaces_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_network_interfaces_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_12_01.models.NetworkInterface :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkInterface or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_12_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkInterface or the result of cls(response) @@ -678,8 +678,8 @@ def begin_get_effective_route_table( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either EffectiveRouteListResult or the result of cls(response) @@ -796,8 +796,8 @@ def begin_list_effective_network_security_groups( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either EffectiveNetworkSecurityGroupListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_network_management_client_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_network_management_client_operations.py index 8c9a078a8bd8..c0977ceadb22 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_network_management_client_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_network_management_client_operations.py @@ -134,7 +134,7 @@ def supported_security_providers( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualWanSecurityProviders', pipeline_response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_network_profiles_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_network_profiles_operations.py index 7db5332ef4e7..42e0aae8ab4f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_network_profiles_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_network_profiles_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type network_profile_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_network_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_network_security_groups_operations.py index 7d4b432dba0b..cebefe1fa160 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_network_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_network_security_groups_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type network_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -296,8 +296,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_12_01.models.NetworkSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkSecurityGroup or the result of cls(response) @@ -422,8 +422,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_12_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_network_watchers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_network_watchers_operations.py index 9dbb3572443f..7839f6dbe567 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_network_watchers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_network_watchers_operations.py @@ -104,7 +104,7 @@ def create_or_update( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -168,7 +168,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('NetworkWatcher', pipeline_response) @@ -217,7 +217,7 @@ def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -240,8 +240,8 @@ def begin_delete( :type network_watcher_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -347,7 +347,7 @@ def update_tags( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('NetworkWatcher', pipeline_response) @@ -419,7 +419,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -487,7 +487,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -555,7 +555,7 @@ def get_topology( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('Topology', pipeline_response) @@ -610,7 +610,7 @@ def _verify_ip_flow_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -643,8 +643,8 @@ def begin_verify_ip_flow( :type parameters: ~azure.mgmt.network.v2018_12_01.models.VerificationIPFlowParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VerificationIPFlowResult or the result of cls(response) @@ -741,7 +741,7 @@ def _get_next_hop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -774,8 +774,8 @@ def begin_get_next_hop( :type parameters: ~azure.mgmt.network.v2018_12_01.models.NextHopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NextHopResult or the result of cls(response) @@ -872,7 +872,7 @@ def _get_vm_security_rules_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -905,8 +905,8 @@ def begin_get_vm_security_rules( :type parameters: ~azure.mgmt.network.v2018_12_01.models.SecurityGroupViewParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either SecurityGroupViewResult or the result of cls(response) @@ -1003,7 +1003,7 @@ def _get_troubleshooting_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1036,8 +1036,8 @@ def begin_get_troubleshooting( :type parameters: ~azure.mgmt.network.v2018_12_01.models.TroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1134,7 +1134,7 @@ def _get_troubleshooting_result_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1167,8 +1167,8 @@ def begin_get_troubleshooting_result( :type parameters: ~azure.mgmt.network.v2018_12_01.models.QueryTroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1265,7 +1265,7 @@ def _set_flow_log_configuration_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1298,8 +1298,8 @@ def begin_set_flow_log_configuration( :type parameters: ~azure.mgmt.network.v2018_12_01.models.FlowLogInformation :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1396,7 +1396,7 @@ def _get_flow_log_status_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1430,8 +1430,8 @@ def begin_get_flow_log_status( :type parameters: ~azure.mgmt.network.v2018_12_01.models.FlowLogStatusParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1528,7 +1528,7 @@ def _check_connectivity_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1562,8 +1562,8 @@ def begin_check_connectivity( :type parameters: ~azure.mgmt.network.v2018_12_01.models.ConnectivityParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectivityInformation or the result of cls(response) @@ -1660,7 +1660,7 @@ def _get_azure_reachability_report_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1694,8 +1694,8 @@ def begin_get_azure_reachability_report( :type parameters: ~azure.mgmt.network.v2018_12_01.models.AzureReachabilityReportParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AzureReachabilityReport or the result of cls(response) @@ -1792,7 +1792,7 @@ def _list_available_providers_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1825,8 +1825,8 @@ def begin_list_available_providers( :type parameters: ~azure.mgmt.network.v2018_12_01.models.AvailableProvidersListParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AvailableProvidersList or the result of cls(response) @@ -1923,7 +1923,7 @@ def _get_network_configuration_diagnostic_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1956,8 +1956,8 @@ def begin_get_network_configuration_diagnostic( :type parameters: ~azure.mgmt.network.v2018_12_01.models.NetworkConfigurationDiagnosticParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkConfigurationDiagnosticResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_p2_svpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_p2_svpn_gateways_operations.py index 670488903870..5d74db42a5cb 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_p2_svpn_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_p2_svpn_gateways_operations.py @@ -96,7 +96,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('P2SVpnGateway', pipeline_response) @@ -151,7 +151,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -185,8 +185,8 @@ def begin_create_or_update( :type p2_s_vpn_gateway_parameters: ~azure.mgmt.network.v2018_12_01.models.P2SVpnGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -283,7 +283,7 @@ def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -317,8 +317,8 @@ def begin_update_tags( :type p2_s_vpn_gateway_parameters: ~azure.mgmt.network.v2018_12_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -409,7 +409,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -432,8 +432,8 @@ def begin_delete( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -543,7 +543,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -611,7 +611,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -697,8 +697,8 @@ def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2018_12_01.models.P2SVpnProfileParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnProfileResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_p2_svpn_server_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_p2_svpn_server_configurations_operations.py index 3f33586bc194..3d776ef2e336 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_p2_svpn_server_configurations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_p2_svpn_server_configurations_operations.py @@ -100,7 +100,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('P2SVpnServerConfiguration', pipeline_response) @@ -157,7 +157,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -195,8 +195,8 @@ def begin_create_or_update( :type p2_s_vpn_server_configuration_parameters: ~azure.mgmt.network.v2018_12_01.models.P2SVpnServerConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either P2SVpnServerConfiguration or the result of cls(response) @@ -291,7 +291,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -317,8 +317,8 @@ def begin_delete( :type p2_s_vpn_server_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -434,7 +434,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_packet_captures_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_packet_captures_operations.py index 682f9acc936e..2f10e9fe76a5 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_packet_captures_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_packet_captures_operations.py @@ -93,7 +93,7 @@ def _create_initial( if response.status_code not in [201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PacketCaptureResult', pipeline_response) @@ -125,8 +125,8 @@ def begin_create( :type parameters: ~azure.mgmt.network.v2018_12_01.models.PacketCapture :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PacketCaptureResult or the result of cls(response) @@ -234,7 +234,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PacketCaptureResult', pipeline_response) @@ -285,7 +285,7 @@ def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -311,8 +311,8 @@ def begin_delete( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -403,7 +403,7 @@ def _stop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -429,8 +429,8 @@ def begin_stop( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -521,7 +521,7 @@ def _get_status_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -554,8 +554,8 @@ def begin_get_status( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PacketCaptureQueryStatusResult or the result of cls(response) @@ -674,7 +674,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_public_ip_addresses_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_public_ip_addresses_operations.py index 53df6e44f259..3555cb3235f6 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_public_ip_addresses_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_public_ip_addresses_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type public_ip_address_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_12_01.models.PublicIPAddress :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PublicIPAddress or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_12_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PublicIPAddress or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_public_ip_prefixes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_public_ip_prefixes_operations.py index 65b5b9189e6f..d5087e497c8f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_public_ip_prefixes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_public_ip_prefixes_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type public_ip_prefix_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_12_01.models.PublicIPPrefix :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PublicIPPrefix or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_12_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PublicIPPrefix or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_route_filter_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_route_filter_rules_operations.py index 9a2c64a109a6..12ca22a1cce6 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_route_filter_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_route_filter_rules_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2018_12_01.models.RouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilterRule or the result of cls(response) @@ -441,8 +441,8 @@ def begin_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2018_12_01.models.PatchRouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilterRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_route_filters_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_route_filters_operations.py index a398f6033cd2..3eeb05569602 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_route_filters_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_route_filters_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type route_filter_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -296,8 +296,8 @@ def begin_create_or_update( :type route_filter_parameters: ~azure.mgmt.network.v2018_12_01.models.RouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilter or the result of cls(response) @@ -422,8 +422,8 @@ def begin_update( :type route_filter_parameters: ~azure.mgmt.network.v2018_12_01.models.PatchRouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilter or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_route_tables_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_route_tables_operations.py index 8fd156096e08..a2f00b9e2b08 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_route_tables_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_route_tables_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_12_01.models.RouteTable :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteTable or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_12_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteTable or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_routes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_routes_operations.py index f1a656e66b01..0f13c8493fb5 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_routes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_routes_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type route_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -306,8 +306,8 @@ def begin_create_or_update( :type route_parameters: ~azure.mgmt.network.v2018_12_01.models.Route :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Route or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_security_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_security_rules_operations.py index 23dfc9d1a0c9..66fbba015c68 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_security_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_security_rules_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type security_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type security_rule_parameters: ~azure.mgmt.network.v2018_12_01.models.SecurityRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either SecurityRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_service_endpoint_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_service_endpoint_policies_operations.py index fad23d784eb4..a5e896da19b6 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_service_endpoint_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_service_endpoint_policies_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type service_endpoint_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -296,8 +296,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_12_01.models.ServiceEndpointPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ServiceEndpointPolicy or the result of cls(response) @@ -422,8 +422,8 @@ def begin_update( :type parameters: ~azure.mgmt.network.v2018_12_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ServiceEndpointPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_service_endpoint_policy_definitions_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_service_endpoint_policy_definitions_operations.py index 4f451ffb2bbf..7a3775b2446c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_service_endpoint_policy_definitions_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_service_endpoint_policy_definitions_operations.py @@ -111,8 +111,8 @@ def begin_delete( :type service_endpoint_policy_definition_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -311,8 +311,8 @@ def begin_create_or_update( :type service_endpoint_policy_definitions: ~azure.mgmt.network.v2018_12_01.models.ServiceEndpointPolicyDefinition :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ServiceEndpointPolicyDefinition or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_subnets_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_subnets_operations.py index 9ecc1c55ff09..c371fa0f64b3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_subnets_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_subnets_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type subnet_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -311,8 +311,8 @@ def begin_create_or_update( :type subnet_parameters: ~azure.mgmt.network.v2018_12_01.models.Subnet :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Subnet or the result of cls(response) @@ -440,8 +440,8 @@ def begin_prepare_network_policies( :type prepare_network_policies_request_parameters: ~azure.mgmt.network.v2018_12_01.models.PrepareNetworkPoliciesRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_virtual_hubs_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_virtual_hubs_operations.py index 8acadd8944df..ece02569d59e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_virtual_hubs_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_virtual_hubs_operations.py @@ -96,7 +96,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualHub', pipeline_response) @@ -151,7 +151,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -184,8 +184,8 @@ def begin_create_or_update( :type virtual_hub_parameters: ~azure.mgmt.network.v2018_12_01.models.VirtualHub :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualHub or the result of cls(response) @@ -282,7 +282,7 @@ def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -315,8 +315,8 @@ def begin_update_tags( :type virtual_hub_parameters: ~azure.mgmt.network.v2018_12_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualHub or the result of cls(response) @@ -407,7 +407,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -430,8 +430,8 @@ def begin_delete( :type virtual_hub_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -541,7 +541,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -609,7 +609,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_virtual_network_gateway_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_virtual_network_gateway_connections_operations.py index dbb8ceb2e9c4..957e34ae57e0 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_virtual_network_gateway_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_virtual_network_gateway_connections_operations.py @@ -125,8 +125,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_12_01.models.VirtualNetworkGatewayConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -298,8 +298,8 @@ def begin_delete( :type virtual_network_gateway_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_12_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -554,8 +554,8 @@ def begin_set_shared_key( :type parameters: ~azure.mgmt.network.v2018_12_01.models.ConnectionSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionSharedKey or the result of cls(response) @@ -819,8 +819,8 @@ def begin_reset_shared_key( :type parameters: ~azure.mgmt.network.v2018_12_01.models.ConnectionResetSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionResetSharedKey or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_virtual_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_virtual_network_gateways_operations.py index 44ef6f66741b..dd33a0ebc3cf 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_virtual_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_virtual_network_gateways_operations.py @@ -123,8 +123,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_12_01.models.VirtualNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -294,8 +294,8 @@ def begin_delete( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_12_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -688,8 +688,8 @@ def begin_reset( :type gateway_vip: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -801,8 +801,8 @@ def begin_reset_vpn_client_shared_key( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -927,8 +927,8 @@ def begin_generatevpnclientpackage( :type parameters: ~azure.mgmt.network.v2018_12_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1057,8 +1057,8 @@ def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2018_12_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1177,8 +1177,8 @@ def begin_get_vpn_profile_package_url( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1301,8 +1301,8 @@ def begin_get_bgp_peer_status( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either BgpPeerStatusListResult or the result of cls(response) @@ -1480,8 +1480,8 @@ def begin_get_learned_routes( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1604,8 +1604,8 @@ def begin_get_advertised_routes( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1734,8 +1734,8 @@ def begin_set_vpnclient_ipsec_parameters( :type vpnclient_ipsec_params: ~azure.mgmt.network.v2018_12_01.models.VpnClientIPsecParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnClientIPsecParameters or the result of cls(response) @@ -1853,8 +1853,8 @@ def begin_get_vpnclient_ipsec_parameters( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnClientIPsecParameters or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_virtual_network_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_virtual_network_peerings_operations.py index 4ba69afc5e35..bdd5b82fb71b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_virtual_network_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_virtual_network_peerings_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type virtual_network_peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type virtual_network_peering_parameters: ~azure.mgmt.network.v2018_12_01.models.VirtualNetworkPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_virtual_network_taps_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_virtual_network_taps_operations.py index 3a52f91a1b88..e2035b29be09 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_virtual_network_taps_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_virtual_network_taps_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type tap_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_12_01.models.VirtualNetworkTap :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkTap or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type tap_parameters: ~azure.mgmt.network.v2018_12_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkTap or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_virtual_networks_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_virtual_networks_operations.py index 6777b73463c4..4aa6b315e97d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_virtual_networks_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_virtual_networks_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type virtual_network_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2018_12_01.models.VirtualNetwork :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetwork or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2018_12_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetwork or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_virtual_wans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_virtual_wans_operations.py index 59e8cfae7655..086ffc310c78 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_virtual_wans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_virtual_wans_operations.py @@ -96,7 +96,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualWAN', pipeline_response) @@ -151,7 +151,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -184,8 +184,8 @@ def begin_create_or_update( :type wan_parameters: ~azure.mgmt.network.v2018_12_01.models.VirtualWAN :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualWAN or the result of cls(response) @@ -282,7 +282,7 @@ def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -315,8 +315,8 @@ def begin_update_tags( :type wan_parameters: ~azure.mgmt.network.v2018_12_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualWAN or the result of cls(response) @@ -407,7 +407,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -430,8 +430,8 @@ def begin_delete( :type virtual_wan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -541,7 +541,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -609,7 +609,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_vpn_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_vpn_connections_operations.py index 893889c236dd..cd1d5dd4958f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_vpn_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_vpn_connections_operations.py @@ -100,7 +100,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VpnConnection', pipeline_response) @@ -157,7 +157,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -194,8 +194,8 @@ def begin_create_or_update( :type vpn_connection_parameters: ~azure.mgmt.network.v2018_12_01.models.VpnConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnConnection or the result of cls(response) @@ -290,7 +290,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -316,8 +316,8 @@ def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -433,7 +433,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_vpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_vpn_gateways_operations.py index 612d09e312f5..3d43baaadfd2 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_vpn_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_vpn_gateways_operations.py @@ -96,7 +96,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VpnGateway', pipeline_response) @@ -151,7 +151,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -185,8 +185,8 @@ def begin_create_or_update( :type vpn_gateway_parameters: ~azure.mgmt.network.v2018_12_01.models.VpnGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnGateway or the result of cls(response) @@ -283,7 +283,7 @@ def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -316,8 +316,8 @@ def begin_update_tags( :type vpn_gateway_parameters: ~azure.mgmt.network.v2018_12_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnGateway or the result of cls(response) @@ -408,7 +408,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -431,8 +431,8 @@ def begin_delete( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -542,7 +542,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -610,7 +610,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_vpn_sites_configuration_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_vpn_sites_configuration_operations.py index a5aaba569a57..b52fb6b0cc41 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_vpn_sites_configuration_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_vpn_sites_configuration_operations.py @@ -90,7 +90,7 @@ def _download_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -117,8 +117,8 @@ def begin_download( :type request: ~azure.mgmt.network.v2018_12_01.models.GetVpnSitesConfigurationRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_vpn_sites_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_vpn_sites_operations.py index 95837a7a54eb..5e7038a588db 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_vpn_sites_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_vpn_sites_operations.py @@ -96,7 +96,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VpnSite', pipeline_response) @@ -151,7 +151,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -184,8 +184,8 @@ def begin_create_or_update( :type vpn_site_parameters: ~azure.mgmt.network.v2018_12_01.models.VpnSite :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnSite or the result of cls(response) @@ -282,7 +282,7 @@ def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -315,8 +315,8 @@ def begin_update_tags( :type vpn_site_parameters: ~azure.mgmt.network.v2018_12_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnSite or the result of cls(response) @@ -407,7 +407,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -430,8 +430,8 @@ def begin_delete( :type vpn_site_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -541,7 +541,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -609,7 +609,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_web_application_firewall_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_web_application_firewall_policies_operations.py index 5e7853faab62..3815ffd45a5b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_web_application_firewall_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2018_12_01/operations/_web_application_firewall_policies_operations.py @@ -373,8 +373,8 @@ def begin_delete( :type policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/_metadata.json b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/_metadata.json index 3c37cdb2c54e..7343ee6d7cc9 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/_metadata.json +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/_metadata.json @@ -9,7 +9,9 @@ "custom_base_url": null, "azure_arm": true, "has_lro_operations": true, - "client_side_validation": true + "client_side_validation": false, + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"NetworkManagementClientConfiguration\"], \"._operations_mixin\": [\"NetworkManagementClientOperationsMixin\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"NetworkManagementClientConfiguration\"], \"._operations_mixin\": [\"NetworkManagementClientOperationsMixin\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}" }, "global_parameters": { "sync": { @@ -28,13 +30,13 @@ }, "async": { "credential": { - "signature": "credential, # type: \"AsyncTokenCredential\"", + "signature": "credential: \"AsyncTokenCredential\",", "description": "Credential needed for the client to connect to Azure.", "docstring_type": "~azure.core.credentials_async.AsyncTokenCredential", "required": true }, "subscription_id": { - "signature": "subscription_id, # type: str", + "signature": "subscription_id: str,", "description": "The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.", "docstring_type": "str", "required": true @@ -42,14 +44,58 @@ }, "constant": { }, - "call": "credential, subscription_id" + "call": "credential, subscription_id", + "service_client_specific": { + "sync": { + "api_version": { + "signature": "api_version=None, # type: Optional[str]", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url=None, # type: Optional[str]", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile=KnownProfiles.default, # type: KnownProfiles", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + }, + "async": { + "api_version": { + "signature": "api_version: Optional[str] = None,", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url: Optional[str] = None,", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile: KnownProfiles = KnownProfiles.default,", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + } + } }, "config": { "credential": true, "credential_scopes": ["https://management.azure.com/.default"], "credential_default_policy_type": "BearerTokenCredentialPolicy", "credential_default_policy_type_has_async_version": true, - "credential_key_header_name": null + "credential_key_header_name": null, + "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMHttpLoggingPolicy\"]}, \"local\": {\"._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}}", + "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMHttpLoggingPolicy\"]}, \"local\": {\".._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}}" }, "operation_groups": { "application_gateways": "ApplicationGatewaysOperations", @@ -127,31 +173,33 @@ "web_application_firewall_policies": "WebApplicationFirewallPoliciesOperations" }, "operation_mixins": { - "check_dns_name_availability" : { - "sync": { - "signature": "def check_dns_name_availability(\n self,\n location, # type: str\n domain_name_label, # type: str\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_02_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def check_dns_name_availability(\n self,\n location: str,\n domain_name_label: str,\n **kwargs\n) -\u003e \"_models.DnsNameAvailabilityResult\":\n", - "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_02_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "location, domain_name_label" - }, - "supported_security_providers" : { - "sync": { - "signature": "def supported_security_providers(\n self,\n resource_group_name, # type: str\n virtual_wan_name, # type: str\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Gives the supported security providers for the virtual wan.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN for which supported security providers are\n needed.\n:type virtual_wan_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VirtualWanSecurityProviders, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_02_01.models.VirtualWanSecurityProviders\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\"]}}}", + "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\"]}}}", + "operations": { + "check_dns_name_availability" : { + "sync": { + "signature": "def check_dns_name_availability(\n self,\n location, # type: str\n domain_name_label, # type: str\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_02_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def check_dns_name_availability(\n self,\n location: str,\n domain_name_label: str,\n **kwargs\n) -\u003e \"_models.DnsNameAvailabilityResult\":\n", + "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_02_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "location, domain_name_label" }, - "async": { - "coroutine": true, - "signature": "async def supported_security_providers(\n self,\n resource_group_name: str,\n virtual_wan_name: str,\n **kwargs\n) -\u003e \"_models.VirtualWanSecurityProviders\":\n", - "doc": "\"\"\"Gives the supported security providers for the virtual wan.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN for which supported security providers are\n needed.\n:type virtual_wan_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VirtualWanSecurityProviders, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_02_01.models.VirtualWanSecurityProviders\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "resource_group_name, virtual_wan_name" + "supported_security_providers" : { + "sync": { + "signature": "def supported_security_providers(\n self,\n resource_group_name, # type: str\n virtual_wan_name, # type: str\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Gives the supported security providers for the virtual wan.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN for which supported security providers are\n needed.\n:type virtual_wan_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VirtualWanSecurityProviders, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_02_01.models.VirtualWanSecurityProviders\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def supported_security_providers(\n self,\n resource_group_name: str,\n virtual_wan_name: str,\n **kwargs\n) -\u003e \"_models.VirtualWanSecurityProviders\":\n", + "doc": "\"\"\"Gives the supported security providers for the virtual wan.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN for which supported security providers are\n needed.\n:type virtual_wan_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VirtualWanSecurityProviders, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_02_01.models.VirtualWanSecurityProviders\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "resource_group_name, virtual_wan_name" + } } - }, - "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\"]}}}", - "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\"]}}}" + } } \ No newline at end of file diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/_network_management_client.py index 8d576738ef49..1f6059b6dc22 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/_network_management_client.py @@ -16,6 +16,7 @@ from typing import Any, Optional from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse from ._configuration import NetworkManagementClientConfiguration from .operations import ApplicationGatewaysOperations @@ -267,6 +268,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( @@ -416,6 +418,24 @@ def __init__( self.web_application_firewall_policies = WebApplicationFirewallPoliciesOperations( self._client, self._config, self._serialize, self._deserialize) + def _send_request(self, http_request, **kwargs): + # type: (HttpRequest, Any) -> HttpResponse + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.HttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + def close(self): # type: () -> None self._client.close() diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/_network_management_client.py index 655eb2f46770..6038917abeae 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/_network_management_client.py @@ -8,6 +8,7 @@ from typing import Any, Optional, TYPE_CHECKING +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core import AsyncARMPipelineClient from msrest import Deserializer, Serializer @@ -264,6 +265,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( @@ -413,6 +415,23 @@ def __init__( self.web_application_firewall_policies = WebApplicationFirewallPoliciesOperations( self._client, self._config, self._serialize, self._deserialize) + async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + async def close(self) -> None: await self._client.close() diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_application_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_application_gateways_operations.py index 98b264ddb813..697f3215eaa5 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_application_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_application_gateways_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_02_01.models.ApplicationGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGateway or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_02_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGateway or the result of cls(response) @@ -651,8 +651,8 @@ async def begin_start( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -757,8 +757,8 @@ async def begin_stop( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -876,8 +876,8 @@ async def begin_backend_health( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGatewayBackendHealth or the result of cls(response) @@ -1009,8 +1009,8 @@ async def begin_backend_health_on_demand( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGatewayBackendHealthOnDemand or the result of cls(response) @@ -1104,7 +1104,7 @@ async def list_available_server_variables( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) @@ -1155,7 +1155,7 @@ async def list_available_request_headers( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) @@ -1206,7 +1206,7 @@ async def list_available_response_headers( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_application_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_application_security_groups_operations.py index cc98d6aebca7..917cc7dd2dbe 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_application_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_application_security_groups_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type application_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -282,8 +282,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_02_01.models.ApplicationSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationSecurityGroup or the result of cls(response) @@ -406,8 +406,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_02_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_azure_firewalls_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_azure_firewalls_operations.py index 060add2c5335..06c34f82db40 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_azure_firewalls_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_azure_firewalls_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type azure_firewall_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_02_01.models.AzureFirewall :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AzureFirewall or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_connection_monitors_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_connection_monitors_operations.py index 12c22a6932c7..af8fd95266fa 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_connection_monitors_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_connection_monitors_operations.py @@ -88,7 +88,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -123,8 +123,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_02_01.models.ConnectionMonitor :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionMonitorResult or the result of cls(response) @@ -231,7 +231,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('ConnectionMonitorResult', pipeline_response) @@ -281,7 +281,7 @@ async def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -306,8 +306,8 @@ async def begin_delete( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -397,7 +397,7 @@ async def _stop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -422,8 +422,8 @@ async def begin_stop( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -513,7 +513,7 @@ async def _start_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -538,8 +538,8 @@ async def begin_start( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -629,7 +629,7 @@ async def _query_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -661,8 +661,8 @@ async def begin_query( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionMonitorQueryResult or the result of cls(response) @@ -780,7 +780,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_ddos_custom_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_ddos_custom_policies_operations.py index 0ef21623c67f..2fe3d93481b6 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_ddos_custom_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_ddos_custom_policies_operations.py @@ -100,8 +100,8 @@ async def begin_delete( :type ddos_custom_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -282,8 +282,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_02_01.models.DdosCustomPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either DdosCustomPolicy or the result of cls(response) @@ -406,8 +406,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_02_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either DdosCustomPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_ddos_protection_plans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_ddos_protection_plans_operations.py index bcde4407591c..7a84eb5b356b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_ddos_protection_plans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_ddos_protection_plans_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type ddos_protection_plan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_02_01.models.DdosProtectionPlan :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either DdosProtectionPlan or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_02_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either DdosProtectionPlan or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_express_route_circuit_authorizations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_express_route_circuit_authorizations_operations.py index e08e9f27a157..f71dd03a0673 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_express_route_circuit_authorizations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_express_route_circuit_authorizations_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type authorization_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type authorization_parameters: ~azure.mgmt.network.v2019_02_01.models.ExpressRouteCircuitAuthorization :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitAuthorization or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_express_route_circuit_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_express_route_circuit_connections_operations.py index 08c0b74b6221..7e05de6731e7 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_express_route_circuit_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_express_route_circuit_connections_operations.py @@ -110,8 +110,8 @@ async def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -315,8 +315,8 @@ async def begin_create_or_update( :type express_route_circuit_connection_parameters: ~azure.mgmt.network.v2019_02_01.models.ExpressRouteCircuitConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitConnection or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_express_route_circuit_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_express_route_circuit_peerings_operations.py index b6cc18c510b9..eec6f252db42 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_express_route_circuit_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_express_route_circuit_peerings_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2019_02_01.models.ExpressRouteCircuitPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_express_route_circuits_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_express_route_circuits_operations.py index 35b47054f093..b1de679c8aa9 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_express_route_circuits_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_express_route_circuits_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type circuit_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_02_01.models.ExpressRouteCircuit :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_02_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -533,8 +533,8 @@ async def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -664,8 +664,8 @@ async def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) @@ -795,8 +795,8 @@ async def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableSummaryListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_express_route_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_express_route_connections_operations.py index a50ad9df1159..7064035edff1 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_express_route_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_express_route_connections_operations.py @@ -122,8 +122,8 @@ async def begin_create_or_update( :type put_express_route_connection_parameters: ~azure.mgmt.network.v2019_02_01.models.ExpressRouteConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteConnection or the result of cls(response) @@ -301,8 +301,8 @@ async def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_express_route_cross_connection_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_express_route_cross_connection_peerings_operations.py index ad1e20591fde..d05333a7ad9f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_express_route_cross_connection_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_express_route_cross_connection_peerings_operations.py @@ -178,8 +178,8 @@ async def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -372,8 +372,8 @@ async def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2019_02_01.models.ExpressRouteCrossConnectionPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCrossConnectionPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_express_route_cross_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_express_route_cross_connections_operations.py index f1252c04a5f8..43c3a5f9a45f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_express_route_cross_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_express_route_cross_connections_operations.py @@ -308,8 +308,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_02_01.models.ExpressRouteCrossConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCrossConnection or the result of cls(response) @@ -433,8 +433,8 @@ async def begin_update_tags( :type cross_connection_parameters: ~azure.mgmt.network.v2019_02_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCrossConnection or the result of cls(response) @@ -561,8 +561,8 @@ async def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -692,8 +692,8 @@ async def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCrossConnectionsRoutesTableSummaryListResult or the result of cls(response) @@ -823,8 +823,8 @@ async def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_express_route_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_express_route_gateways_operations.py index 4e7899ba5277..490c7abc728a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_express_route_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_express_route_gateways_operations.py @@ -221,8 +221,8 @@ async def begin_create_or_update( :type put_express_route_gateway_parameters: ~azure.mgmt.network.v2019_02_01.models.ExpressRouteGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteGateway or the result of cls(response) @@ -390,8 +390,8 @@ async def begin_delete( :type express_route_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_express_route_ports_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_express_route_ports_operations.py index f185c5fa710e..254a96b191e7 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_express_route_ports_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_express_route_ports_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type express_route_port_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_02_01.models.ExpressRoutePort :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRoutePort or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_02_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRoutePort or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_hub_virtual_network_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_hub_virtual_network_connections_operations.py index 6121195aae58..690908f3104e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_hub_virtual_network_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_hub_virtual_network_connections_operations.py @@ -93,7 +93,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('HubVirtualNetworkConnection', pipeline_response) @@ -168,7 +168,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_inbound_nat_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_inbound_nat_rules_operations.py index af018218753f..c8aa2a326497 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_inbound_nat_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_inbound_nat_rules_operations.py @@ -178,8 +178,8 @@ async def begin_delete( :type inbound_nat_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -377,8 +377,8 @@ async def begin_create_or_update( :type inbound_nat_rule_parameters: ~azure.mgmt.network.v2019_02_01.models.InboundNatRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either InboundNatRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_interface_endpoints_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_interface_endpoints_operations.py index c40051f7af19..0f66ea445196 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_interface_endpoints_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_interface_endpoints_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type interface_endpoint_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_02_01.models.InterfaceEndpoint :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either InterfaceEndpoint or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_load_balancers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_load_balancers_operations.py index 452318e92426..67e048e63321 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_load_balancers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_load_balancers_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type load_balancer_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_02_01.models.LoadBalancer :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LoadBalancer or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_02_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LoadBalancer or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_local_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_local_network_gateways_operations.py index fe83886c0907..e250522986a5 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_local_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_local_network_gateways_operations.py @@ -117,8 +117,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_02_01.models.LocalNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LocalNetworkGateway or the result of cls(response) @@ -285,8 +285,8 @@ async def begin_delete( :type local_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_02_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LocalNetworkGateway or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_nat_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_nat_gateways_operations.py index 73c41825d00d..26b70d124994 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_nat_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_nat_gateways_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type nat_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -289,8 +289,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_02_01.models.NatGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NatGateway or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_network_interface_tap_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_network_interface_tap_configurations_operations.py index 83ddc27a296a..3857a521d1b1 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_network_interface_tap_configurations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_network_interface_tap_configurations_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type tap_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type tap_configuration_parameters: ~azure.mgmt.network.v2019_02_01.models.NetworkInterfaceTapConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkInterfaceTapConfiguration or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_network_interfaces_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_network_interfaces_operations.py index 4e2e8d367ac6..40b7c194ac90 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_network_interfaces_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_network_interfaces_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_02_01.models.NetworkInterface :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkInterface or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_02_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkInterface or the result of cls(response) @@ -663,8 +663,8 @@ async def begin_get_effective_route_table( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either EffectiveRouteListResult or the result of cls(response) @@ -779,8 +779,8 @@ async def begin_list_effective_network_security_groups( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either EffectiveNetworkSecurityGroupListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_network_management_client_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_network_management_client_operations.py index 44841c25caee..d5ee63ac5584 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_network_management_client_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_network_management_client_operations.py @@ -128,7 +128,7 @@ async def supported_security_providers( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualWanSecurityProviders', pipeline_response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_network_profiles_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_network_profiles_operations.py index b7bf27516d1a..0c8b636253d4 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_network_profiles_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_network_profiles_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type network_profile_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_network_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_network_security_groups_operations.py index c32634cac9dd..8b4f33b452a8 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_network_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_network_security_groups_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type network_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -287,8 +287,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_02_01.models.NetworkSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkSecurityGroup or the result of cls(response) @@ -411,8 +411,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_02_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_network_watchers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_network_watchers_operations.py index b261b5ce4406..99e8c5d68bc0 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_network_watchers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_network_watchers_operations.py @@ -99,7 +99,7 @@ async def create_or_update( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -162,7 +162,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('NetworkWatcher', pipeline_response) @@ -210,7 +210,7 @@ async def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -232,8 +232,8 @@ async def begin_delete( :type network_watcher_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -338,7 +338,7 @@ async def update_tags( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('NetworkWatcher', pipeline_response) @@ -409,7 +409,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -476,7 +476,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -543,7 +543,7 @@ async def get_topology( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('Topology', pipeline_response) @@ -597,7 +597,7 @@ async def _verify_ip_flow_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -629,8 +629,8 @@ async def begin_verify_ip_flow( :type parameters: ~azure.mgmt.network.v2019_02_01.models.VerificationIPFlowParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VerificationIPFlowResult or the result of cls(response) @@ -726,7 +726,7 @@ async def _get_next_hop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -758,8 +758,8 @@ async def begin_get_next_hop( :type parameters: ~azure.mgmt.network.v2019_02_01.models.NextHopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NextHopResult or the result of cls(response) @@ -855,7 +855,7 @@ async def _get_vm_security_rules_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -887,8 +887,8 @@ async def begin_get_vm_security_rules( :type parameters: ~azure.mgmt.network.v2019_02_01.models.SecurityGroupViewParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either SecurityGroupViewResult or the result of cls(response) @@ -984,7 +984,7 @@ async def _get_troubleshooting_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1016,8 +1016,8 @@ async def begin_get_troubleshooting( :type parameters: ~azure.mgmt.network.v2019_02_01.models.TroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1113,7 +1113,7 @@ async def _get_troubleshooting_result_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1145,8 +1145,8 @@ async def begin_get_troubleshooting_result( :type parameters: ~azure.mgmt.network.v2019_02_01.models.QueryTroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1242,7 +1242,7 @@ async def _set_flow_log_configuration_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1274,8 +1274,8 @@ async def begin_set_flow_log_configuration( :type parameters: ~azure.mgmt.network.v2019_02_01.models.FlowLogInformation :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1371,7 +1371,7 @@ async def _get_flow_log_status_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1404,8 +1404,8 @@ async def begin_get_flow_log_status( :type parameters: ~azure.mgmt.network.v2019_02_01.models.FlowLogStatusParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1501,7 +1501,7 @@ async def _check_connectivity_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1534,8 +1534,8 @@ async def begin_check_connectivity( :type parameters: ~azure.mgmt.network.v2019_02_01.models.ConnectivityParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectivityInformation or the result of cls(response) @@ -1631,7 +1631,7 @@ async def _get_azure_reachability_report_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1664,8 +1664,8 @@ async def begin_get_azure_reachability_report( :type parameters: ~azure.mgmt.network.v2019_02_01.models.AzureReachabilityReportParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AzureReachabilityReport or the result of cls(response) @@ -1761,7 +1761,7 @@ async def _list_available_providers_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1793,8 +1793,8 @@ async def begin_list_available_providers( :type parameters: ~azure.mgmt.network.v2019_02_01.models.AvailableProvidersListParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AvailableProvidersList or the result of cls(response) @@ -1890,7 +1890,7 @@ async def _get_network_configuration_diagnostic_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1922,8 +1922,8 @@ async def begin_get_network_configuration_diagnostic( :type parameters: ~azure.mgmt.network.v2019_02_01.models.NetworkConfigurationDiagnosticParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkConfigurationDiagnosticResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_p2_svpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_p2_svpn_gateways_operations.py index 9dcd7fb7b852..1b2561a5776a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_p2_svpn_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_p2_svpn_gateways_operations.py @@ -91,7 +91,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('P2SVpnGateway', pipeline_response) @@ -145,7 +145,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -178,8 +178,8 @@ async def begin_create_or_update( :type p2_s_vpn_gateway_parameters: ~azure.mgmt.network.v2019_02_01.models.P2SVpnGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -275,7 +275,7 @@ async def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -308,8 +308,8 @@ async def begin_update_tags( :type p2_s_vpn_gateway_parameters: ~azure.mgmt.network.v2019_02_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -399,7 +399,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -421,8 +421,8 @@ async def begin_delete( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -531,7 +531,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -598,7 +598,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -682,8 +682,8 @@ async def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2019_02_01.models.P2SVpnProfileParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnProfileResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_p2_svpn_server_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_p2_svpn_server_configurations_operations.py index 4a6e388c7ecc..076231dd4291 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_p2_svpn_server_configurations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_p2_svpn_server_configurations_operations.py @@ -95,7 +95,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('P2SVpnServerConfiguration', pipeline_response) @@ -151,7 +151,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -188,8 +188,8 @@ async def begin_create_or_update( :type p2_s_vpn_server_configuration_parameters: ~azure.mgmt.network.v2019_02_01.models.P2SVpnServerConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either P2SVpnServerConfiguration or the result of cls(response) @@ -283,7 +283,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -308,8 +308,8 @@ async def begin_delete( :type p2_s_vpn_server_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -424,7 +424,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_packet_captures_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_packet_captures_operations.py index 9c45263dac35..39933e3285ea 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_packet_captures_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_packet_captures_operations.py @@ -88,7 +88,7 @@ async def _create_initial( if response.status_code not in [201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PacketCaptureResult', pipeline_response) @@ -119,8 +119,8 @@ async def begin_create( :type parameters: ~azure.mgmt.network.v2019_02_01.models.PacketCapture :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PacketCaptureResult or the result of cls(response) @@ -227,7 +227,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PacketCaptureResult', pipeline_response) @@ -277,7 +277,7 @@ async def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -302,8 +302,8 @@ async def begin_delete( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -393,7 +393,7 @@ async def _stop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -418,8 +418,8 @@ async def begin_stop( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -509,7 +509,7 @@ async def _get_status_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -541,8 +541,8 @@ async def begin_get_status( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PacketCaptureQueryStatusResult or the result of cls(response) @@ -660,7 +660,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_public_ip_addresses_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_public_ip_addresses_operations.py index abee96f0dde4..5a73a9d5a846 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_public_ip_addresses_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_public_ip_addresses_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type public_ip_address_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_02_01.models.PublicIPAddress :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PublicIPAddress or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_02_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PublicIPAddress or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_public_ip_prefixes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_public_ip_prefixes_operations.py index 1e9fd7307769..6a94a3b30776 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_public_ip_prefixes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_public_ip_prefixes_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type public_ip_prefix_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_02_01.models.PublicIPPrefix :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PublicIPPrefix or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_02_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PublicIPPrefix or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_route_filter_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_route_filter_rules_operations.py index 19b4b2001f40..e82579ff9059 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_route_filter_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_route_filter_rules_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2019_02_01.models.RouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilterRule or the result of cls(response) @@ -430,8 +430,8 @@ async def begin_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2019_02_01.models.PatchRouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilterRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_route_filters_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_route_filters_operations.py index 0dd6c6f8057f..fd813229e0b7 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_route_filters_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_route_filters_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type route_filter_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -287,8 +287,8 @@ async def begin_create_or_update( :type route_filter_parameters: ~azure.mgmt.network.v2019_02_01.models.RouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilter or the result of cls(response) @@ -411,8 +411,8 @@ async def begin_update( :type route_filter_parameters: ~azure.mgmt.network.v2019_02_01.models.PatchRouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilter or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_route_tables_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_route_tables_operations.py index 80f8ee4009a2..87188f7a0e79 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_route_tables_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_route_tables_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_02_01.models.RouteTable :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteTable or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_02_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteTable or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_routes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_routes_operations.py index eb6cbcc5fb00..47e4746e2557 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_routes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_routes_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type route_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ async def begin_create_or_update( :type route_parameters: ~azure.mgmt.network.v2019_02_01.models.Route :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Route or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_security_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_security_rules_operations.py index 49885e110dc0..08d9561d51ef 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_security_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_security_rules_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type security_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type security_rule_parameters: ~azure.mgmt.network.v2019_02_01.models.SecurityRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either SecurityRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_service_endpoint_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_service_endpoint_policies_operations.py index 1dc7f1236f7a..a4d42feb9362 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_service_endpoint_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_service_endpoint_policies_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type service_endpoint_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -287,8 +287,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_02_01.models.ServiceEndpointPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ServiceEndpointPolicy or the result of cls(response) @@ -411,8 +411,8 @@ async def begin_update( :type parameters: ~azure.mgmt.network.v2019_02_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ServiceEndpointPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_service_endpoint_policy_definitions_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_service_endpoint_policy_definitions_operations.py index 1e3c368f5501..f9d3100b35e5 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_service_endpoint_policy_definitions_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_service_endpoint_policy_definitions_operations.py @@ -105,8 +105,8 @@ async def begin_delete( :type service_endpoint_policy_definition_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -302,8 +302,8 @@ async def begin_create_or_update( :type service_endpoint_policy_definitions: ~azure.mgmt.network.v2019_02_01.models.ServiceEndpointPolicyDefinition :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ServiceEndpointPolicyDefinition or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_subnets_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_subnets_operations.py index 184e525f7197..6b6f596d0e92 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_subnets_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_subnets_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type subnet_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -302,8 +302,8 @@ async def begin_create_or_update( :type subnet_parameters: ~azure.mgmt.network.v2019_02_01.models.Subnet :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Subnet or the result of cls(response) @@ -429,8 +429,8 @@ async def begin_prepare_network_policies( :type prepare_network_policies_request_parameters: ~azure.mgmt.network.v2019_02_01.models.PrepareNetworkPoliciesRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_virtual_hubs_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_virtual_hubs_operations.py index db5b3ecdcf20..98eaec879d9b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_virtual_hubs_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_virtual_hubs_operations.py @@ -91,7 +91,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualHub', pipeline_response) @@ -145,7 +145,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -177,8 +177,8 @@ async def begin_create_or_update( :type virtual_hub_parameters: ~azure.mgmt.network.v2019_02_01.models.VirtualHub :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualHub or the result of cls(response) @@ -274,7 +274,7 @@ async def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -306,8 +306,8 @@ async def begin_update_tags( :type virtual_hub_parameters: ~azure.mgmt.network.v2019_02_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualHub or the result of cls(response) @@ -397,7 +397,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -419,8 +419,8 @@ async def begin_delete( :type virtual_hub_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -529,7 +529,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -596,7 +596,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_virtual_network_gateway_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_virtual_network_gateway_connections_operations.py index cff9441d1eaf..3b5f81e250ce 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_virtual_network_gateway_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_virtual_network_gateway_connections_operations.py @@ -119,8 +119,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_02_01.models.VirtualNetworkGatewayConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -289,8 +289,8 @@ async def begin_delete( :type virtual_network_gateway_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_02_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -541,8 +541,8 @@ async def begin_set_shared_key( :type parameters: ~azure.mgmt.network.v2019_02_01.models.ConnectionSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionSharedKey or the result of cls(response) @@ -802,8 +802,8 @@ async def begin_reset_shared_key( :type parameters: ~azure.mgmt.network.v2019_02_01.models.ConnectionResetSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionResetSharedKey or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_virtual_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_virtual_network_gateways_operations.py index 2c65dc0379ab..f6a24811a6eb 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_virtual_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_virtual_network_gateways_operations.py @@ -117,8 +117,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_02_01.models.VirtualNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -285,8 +285,8 @@ async def begin_delete( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_02_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -673,8 +673,8 @@ async def begin_reset( :type gateway_vip: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -784,8 +784,8 @@ async def begin_reset_vpn_client_shared_key( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -908,8 +908,8 @@ async def begin_generatevpnclientpackage( :type parameters: ~azure.mgmt.network.v2019_02_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1036,8 +1036,8 @@ async def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2019_02_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1154,8 +1154,8 @@ async def begin_get_vpn_profile_package_url( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1276,8 +1276,8 @@ async def begin_get_bgp_peer_status( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either BgpPeerStatusListResult or the result of cls(response) @@ -1452,8 +1452,8 @@ async def begin_get_learned_routes( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1574,8 +1574,8 @@ async def begin_get_advertised_routes( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1702,8 +1702,8 @@ async def begin_set_vpnclient_ipsec_parameters( :type vpnclient_ipsec_params: ~azure.mgmt.network.v2019_02_01.models.VpnClientIPsecParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnClientIPsecParameters or the result of cls(response) @@ -1819,8 +1819,8 @@ async def begin_get_vpnclient_ipsec_parameters( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnClientIPsecParameters or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_virtual_network_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_virtual_network_peerings_operations.py index f86c326a402c..e48c22619d9e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_virtual_network_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_virtual_network_peerings_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type virtual_network_peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type virtual_network_peering_parameters: ~azure.mgmt.network.v2019_02_01.models.VirtualNetworkPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_virtual_network_taps_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_virtual_network_taps_operations.py index e4a570aeec35..a06f7e85810d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_virtual_network_taps_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_virtual_network_taps_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type tap_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_02_01.models.VirtualNetworkTap :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkTap or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type tap_parameters: ~azure.mgmt.network.v2019_02_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkTap or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_virtual_networks_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_virtual_networks_operations.py index d1b0025279a2..62321bc2144b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_virtual_networks_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_virtual_networks_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type virtual_network_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_02_01.models.VirtualNetwork :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetwork or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_02_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetwork or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_virtual_wans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_virtual_wans_operations.py index 7e3f6c74320e..03eb5bac6d6c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_virtual_wans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_virtual_wans_operations.py @@ -91,7 +91,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualWAN', pipeline_response) @@ -145,7 +145,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -177,8 +177,8 @@ async def begin_create_or_update( :type wan_parameters: ~azure.mgmt.network.v2019_02_01.models.VirtualWAN :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualWAN or the result of cls(response) @@ -274,7 +274,7 @@ async def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -306,8 +306,8 @@ async def begin_update_tags( :type wan_parameters: ~azure.mgmt.network.v2019_02_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualWAN or the result of cls(response) @@ -397,7 +397,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -419,8 +419,8 @@ async def begin_delete( :type virtual_wan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -529,7 +529,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -596,7 +596,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_vpn_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_vpn_connections_operations.py index 7b3eb2adb5ff..bbd5627844a7 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_vpn_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_vpn_connections_operations.py @@ -95,7 +95,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VpnConnection', pipeline_response) @@ -151,7 +151,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -187,8 +187,8 @@ async def begin_create_or_update( :type vpn_connection_parameters: ~azure.mgmt.network.v2019_02_01.models.VpnConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnConnection or the result of cls(response) @@ -282,7 +282,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -307,8 +307,8 @@ async def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -423,7 +423,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_vpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_vpn_gateways_operations.py index 4ac3f29c085c..f002065da433 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_vpn_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_vpn_gateways_operations.py @@ -91,7 +91,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VpnGateway', pipeline_response) @@ -145,7 +145,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -178,8 +178,8 @@ async def begin_create_or_update( :type vpn_gateway_parameters: ~azure.mgmt.network.v2019_02_01.models.VpnGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnGateway or the result of cls(response) @@ -275,7 +275,7 @@ async def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -307,8 +307,8 @@ async def begin_update_tags( :type vpn_gateway_parameters: ~azure.mgmt.network.v2019_02_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnGateway or the result of cls(response) @@ -398,7 +398,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -420,8 +420,8 @@ async def begin_delete( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -530,7 +530,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -597,7 +597,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_vpn_sites_configuration_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_vpn_sites_configuration_operations.py index 9b69483bc56e..6a0f837fbb38 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_vpn_sites_configuration_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_vpn_sites_configuration_operations.py @@ -85,7 +85,7 @@ async def _download_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -111,8 +111,8 @@ async def begin_download( :type request: ~azure.mgmt.network.v2019_02_01.models.GetVpnSitesConfigurationRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_vpn_sites_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_vpn_sites_operations.py index 5d63c609867f..1587257d613f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_vpn_sites_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_vpn_sites_operations.py @@ -91,7 +91,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VpnSite', pipeline_response) @@ -145,7 +145,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -177,8 +177,8 @@ async def begin_create_or_update( :type vpn_site_parameters: ~azure.mgmt.network.v2019_02_01.models.VpnSite :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnSite or the result of cls(response) @@ -274,7 +274,7 @@ async def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -306,8 +306,8 @@ async def begin_update_tags( :type vpn_site_parameters: ~azure.mgmt.network.v2019_02_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnSite or the result of cls(response) @@ -397,7 +397,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -419,8 +419,8 @@ async def begin_delete( :type vpn_site_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -529,7 +529,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -596,7 +596,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_web_application_firewall_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_web_application_firewall_policies_operations.py index 73c717d0cbac..544afb2fc153 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_web_application_firewall_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/aio/operations/_web_application_firewall_policies_operations.py @@ -363,8 +363,8 @@ async def begin_delete( :type policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/models/_models.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/models/_models.py index 2a36a9165294..1ddbd6d09946 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/models/_models.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/models/_models.py @@ -102,58 +102,55 @@ class ApplicationGateway(Resource): :vartype operational_state: str or ~azure.mgmt.network.v2019_02_01.models.ApplicationGatewayOperationalState :param gateway_ip_configurations: Subnets of the application gateway resource. For default - limits, see `Application Gateway limits `_. + limits, see `Application Gateway limits + `_. :type gateway_ip_configurations: list[~azure.mgmt.network.v2019_02_01.models.ApplicationGatewayIPConfiguration] :param authentication_certificates: Authentication certificates of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type authentication_certificates: list[~azure.mgmt.network.v2019_02_01.models.ApplicationGatewayAuthenticationCertificate] :param trusted_root_certificates: Trusted Root certificates of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type trusted_root_certificates: list[~azure.mgmt.network.v2019_02_01.models.ApplicationGatewayTrustedRootCertificate] :param ssl_certificates: SSL certificates of the application gateway resource. For default - limits, see `Application Gateway limits `_. + limits, see `Application Gateway limits + `_. :type ssl_certificates: list[~azure.mgmt.network.v2019_02_01.models.ApplicationGatewaySslCertificate] :param frontend_ip_configurations: Frontend IP addresses of the application gateway resource. - For default limits, see `Application Gateway limits `_. + For default limits, see `Application Gateway limits + `_. :type frontend_ip_configurations: list[~azure.mgmt.network.v2019_02_01.models.ApplicationGatewayFrontendIPConfiguration] :param frontend_ports: Frontend ports of the application gateway resource. For default limits, - see `Application Gateway limits `_. + see `Application Gateway limits + `_. :type frontend_ports: list[~azure.mgmt.network.v2019_02_01.models.ApplicationGatewayFrontendPort] :param probes: Probes of the application gateway resource. :type probes: list[~azure.mgmt.network.v2019_02_01.models.ApplicationGatewayProbe] :param backend_address_pools: Backend address pool of the application gateway resource. For - default limits, see `Application Gateway limits `_. + default limits, see `Application Gateway limits + `_. :type backend_address_pools: list[~azure.mgmt.network.v2019_02_01.models.ApplicationGatewayBackendAddressPool] :param backend_http_settings_collection: Backend http settings of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type backend_http_settings_collection: list[~azure.mgmt.network.v2019_02_01.models.ApplicationGatewayBackendHttpSettings] :param http_listeners: Http listeners of the application gateway resource. For default limits, - see `Application Gateway limits `_. + see `Application Gateway limits + `_. :type http_listeners: list[~azure.mgmt.network.v2019_02_01.models.ApplicationGatewayHttpListener] :param url_path_maps: URL path map of the application gateway resource. For default limits, see - `Application Gateway limits `_. + `Application Gateway limits + `_. :type url_path_maps: list[~azure.mgmt.network.v2019_02_01.models.ApplicationGatewayUrlPathMap] :param request_routing_rules: Request routing rules of the application gateway resource. :type request_routing_rules: @@ -162,8 +159,8 @@ class ApplicationGateway(Resource): :type rewrite_rule_sets: list[~azure.mgmt.network.v2019_02_01.models.ApplicationGatewayRewriteRuleSet] :param redirect_configurations: Redirect configurations of the application gateway resource. - For default limits, see `Application Gateway limits `_. + For default limits, see `Application Gateway limits + `_. :type redirect_configurations: list[~azure.mgmt.network.v2019_02_01.models.ApplicationGatewayRedirectConfiguration] :param web_application_firewall_configuration: Web application firewall configuration. @@ -1637,7 +1634,7 @@ class ApplicationGatewayRewriteRuleCondition(msrest.serialization.Model): :param pattern: The pattern, either fixed string or regular expression, that evaluates the truthfulness of the condition. :type pattern: str - :param ignore_case: Setting this paramter to truth value with force the pattern to do a case + :param ignore_case: Setting this parameter to truth value with force the pattern to do a case in-sensitive comparison. :type ignore_case: bool :param negate: Setting this value as truth will force to check the negation of the condition @@ -4186,7 +4183,7 @@ class ContainerNetworkInterface(SubResource): ~azure.mgmt.network.v2019_02_01.models.ContainerNetworkInterfaceConfiguration :param container: Reference to the container to which this container network interface is attached. - :type container: ~azure.mgmt.network.v2019_02_01.models.SubResource + :type container: ~azure.mgmt.network.v2019_02_01.models.Container :param ip_configurations: Reference to the ip configuration on this container nic. :type ip_configurations: list[~azure.mgmt.network.v2019_02_01.models.ContainerNetworkInterfaceIpConfiguration] @@ -4205,7 +4202,7 @@ class ContainerNetworkInterface(SubResource): 'type': {'key': 'type', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, 'container_network_interface_configuration': {'key': 'properties.containerNetworkInterfaceConfiguration', 'type': 'ContainerNetworkInterfaceConfiguration'}, - 'container': {'key': 'properties.container', 'type': 'SubResource'}, + 'container': {'key': 'properties.container', 'type': 'Container'}, 'ip_configurations': {'key': 'properties.ipConfigurations', 'type': '[ContainerNetworkInterfaceIpConfiguration]'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, } @@ -10596,8 +10593,8 @@ class PacketCaptureStorageLocation(msrest.serialization.Model): :param storage_id: The ID of the storage account to save the packet capture session. Required if no local file path is provided. :type storage_id: str - :param storage_path: The URI of the storage path to save the packet capture. Must be a well- - formed URI describing the location to save the packet capture. + :param storage_path: The URI of the storage path to save the packet capture. Must be a + well-formed URI describing the location to save the packet capture. :type storage_path: str :param file_path: A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no @@ -13870,8 +13867,8 @@ class VirtualNetworkPeering(SubResource): :type use_remote_gateways: bool :param remote_virtual_network: The reference of the remote virtual network. The remote virtual network can be in the same or different region (preview). See here to register for the preview - and learn more (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create- - peering). + and learn more + (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering). :type remote_virtual_network: ~azure.mgmt.network.v2019_02_01.models.SubResource :param remote_address_space: The reference of the remote virtual network address space. :type remote_address_space: ~azure.mgmt.network.v2019_02_01.models.AddressSpace diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/models/_models_py3.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/models/_models_py3.py index 6d904225fb82..c29fc425648c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/models/_models_py3.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/models/_models_py3.py @@ -113,58 +113,55 @@ class ApplicationGateway(Resource): :vartype operational_state: str or ~azure.mgmt.network.v2019_02_01.models.ApplicationGatewayOperationalState :param gateway_ip_configurations: Subnets of the application gateway resource. For default - limits, see `Application Gateway limits `_. + limits, see `Application Gateway limits + `_. :type gateway_ip_configurations: list[~azure.mgmt.network.v2019_02_01.models.ApplicationGatewayIPConfiguration] :param authentication_certificates: Authentication certificates of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type authentication_certificates: list[~azure.mgmt.network.v2019_02_01.models.ApplicationGatewayAuthenticationCertificate] :param trusted_root_certificates: Trusted Root certificates of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type trusted_root_certificates: list[~azure.mgmt.network.v2019_02_01.models.ApplicationGatewayTrustedRootCertificate] :param ssl_certificates: SSL certificates of the application gateway resource. For default - limits, see `Application Gateway limits `_. + limits, see `Application Gateway limits + `_. :type ssl_certificates: list[~azure.mgmt.network.v2019_02_01.models.ApplicationGatewaySslCertificate] :param frontend_ip_configurations: Frontend IP addresses of the application gateway resource. - For default limits, see `Application Gateway limits `_. + For default limits, see `Application Gateway limits + `_. :type frontend_ip_configurations: list[~azure.mgmt.network.v2019_02_01.models.ApplicationGatewayFrontendIPConfiguration] :param frontend_ports: Frontend ports of the application gateway resource. For default limits, - see `Application Gateway limits `_. + see `Application Gateway limits + `_. :type frontend_ports: list[~azure.mgmt.network.v2019_02_01.models.ApplicationGatewayFrontendPort] :param probes: Probes of the application gateway resource. :type probes: list[~azure.mgmt.network.v2019_02_01.models.ApplicationGatewayProbe] :param backend_address_pools: Backend address pool of the application gateway resource. For - default limits, see `Application Gateway limits `_. + default limits, see `Application Gateway limits + `_. :type backend_address_pools: list[~azure.mgmt.network.v2019_02_01.models.ApplicationGatewayBackendAddressPool] :param backend_http_settings_collection: Backend http settings of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type backend_http_settings_collection: list[~azure.mgmt.network.v2019_02_01.models.ApplicationGatewayBackendHttpSettings] :param http_listeners: Http listeners of the application gateway resource. For default limits, - see `Application Gateway limits `_. + see `Application Gateway limits + `_. :type http_listeners: list[~azure.mgmt.network.v2019_02_01.models.ApplicationGatewayHttpListener] :param url_path_maps: URL path map of the application gateway resource. For default limits, see - `Application Gateway limits `_. + `Application Gateway limits + `_. :type url_path_maps: list[~azure.mgmt.network.v2019_02_01.models.ApplicationGatewayUrlPathMap] :param request_routing_rules: Request routing rules of the application gateway resource. :type request_routing_rules: @@ -173,8 +170,8 @@ class ApplicationGateway(Resource): :type rewrite_rule_sets: list[~azure.mgmt.network.v2019_02_01.models.ApplicationGatewayRewriteRuleSet] :param redirect_configurations: Redirect configurations of the application gateway resource. - For default limits, see `Application Gateway limits `_. + For default limits, see `Application Gateway limits + `_. :type redirect_configurations: list[~azure.mgmt.network.v2019_02_01.models.ApplicationGatewayRedirectConfiguration] :param web_application_firewall_configuration: Web application firewall configuration. @@ -1893,7 +1890,7 @@ class ApplicationGatewayRewriteRuleCondition(msrest.serialization.Model): :param pattern: The pattern, either fixed string or regular expression, that evaluates the truthfulness of the condition. :type pattern: str - :param ignore_case: Setting this paramter to truth value with force the pattern to do a case + :param ignore_case: Setting this parameter to truth value with force the pattern to do a case in-sensitive comparison. :type ignore_case: bool :param negate: Setting this value as truth will force to check the negation of the condition @@ -4743,7 +4740,7 @@ class ContainerNetworkInterface(SubResource): ~azure.mgmt.network.v2019_02_01.models.ContainerNetworkInterfaceConfiguration :param container: Reference to the container to which this container network interface is attached. - :type container: ~azure.mgmt.network.v2019_02_01.models.SubResource + :type container: ~azure.mgmt.network.v2019_02_01.models.Container :param ip_configurations: Reference to the ip configuration on this container nic. :type ip_configurations: list[~azure.mgmt.network.v2019_02_01.models.ContainerNetworkInterfaceIpConfiguration] @@ -4762,7 +4759,7 @@ class ContainerNetworkInterface(SubResource): 'type': {'key': 'type', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, 'container_network_interface_configuration': {'key': 'properties.containerNetworkInterfaceConfiguration', 'type': 'ContainerNetworkInterfaceConfiguration'}, - 'container': {'key': 'properties.container', 'type': 'SubResource'}, + 'container': {'key': 'properties.container', 'type': 'Container'}, 'ip_configurations': {'key': 'properties.ipConfigurations', 'type': '[ContainerNetworkInterfaceIpConfiguration]'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, } @@ -4774,7 +4771,7 @@ def __init__( name: Optional[str] = None, etag: Optional[str] = None, container_network_interface_configuration: Optional["ContainerNetworkInterfaceConfiguration"] = None, - container: Optional["SubResource"] = None, + container: Optional["Container"] = None, ip_configurations: Optional[List["ContainerNetworkInterfaceIpConfiguration"]] = None, **kwargs ): @@ -11946,8 +11943,8 @@ class PacketCaptureStorageLocation(msrest.serialization.Model): :param storage_id: The ID of the storage account to save the packet capture session. Required if no local file path is provided. :type storage_id: str - :param storage_path: The URI of the storage path to save the packet capture. Must be a well- - formed URI describing the location to save the packet capture. + :param storage_path: The URI of the storage path to save the packet capture. Must be a + well-formed URI describing the location to save the packet capture. :type storage_path: str :param file_path: A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no @@ -15633,8 +15630,8 @@ class VirtualNetworkPeering(SubResource): :type use_remote_gateways: bool :param remote_virtual_network: The reference of the remote virtual network. The remote virtual network can be in the same or different region (preview). See here to register for the preview - and learn more (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create- - peering). + and learn more + (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering). :type remote_virtual_network: ~azure.mgmt.network.v2019_02_01.models.SubResource :param remote_address_space: The reference of the remote virtual network address space. :type remote_address_space: ~azure.mgmt.network.v2019_02_01.models.AddressSpace diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_application_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_application_gateways_operations.py index bd2e5e20d96d..d42e103f3d82 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_application_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_application_gateways_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_02_01.models.ApplicationGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGateway or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_02_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGateway or the result of cls(response) @@ -666,8 +666,8 @@ def begin_start( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -774,8 +774,8 @@ def begin_stop( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -895,8 +895,8 @@ def begin_backend_health( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGatewayBackendHealth or the result of cls(response) @@ -1030,8 +1030,8 @@ def begin_backend_health_on_demand( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGatewayBackendHealthOnDemand or the result of cls(response) @@ -1126,7 +1126,7 @@ def list_available_server_variables( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) @@ -1178,7 +1178,7 @@ def list_available_request_headers( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) @@ -1230,7 +1230,7 @@ def list_available_response_headers( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_application_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_application_security_groups_operations.py index 204ac1ccd96b..fef361bdd2f9 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_application_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_application_security_groups_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type application_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -291,8 +291,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_02_01.models.ApplicationSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationSecurityGroup or the result of cls(response) @@ -417,8 +417,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_02_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_azure_firewalls_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_azure_firewalls_operations.py index 2ed22dd7d551..23f3b37f4c12 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_azure_firewalls_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_azure_firewalls_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type azure_firewall_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_02_01.models.AzureFirewall :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AzureFirewall or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_connection_monitors_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_connection_monitors_operations.py index 3e92ab08dcae..51ba824f87fe 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_connection_monitors_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_connection_monitors_operations.py @@ -93,7 +93,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -129,8 +129,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_02_01.models.ConnectionMonitor :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionMonitorResult or the result of cls(response) @@ -238,7 +238,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('ConnectionMonitorResult', pipeline_response) @@ -289,7 +289,7 @@ def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -315,8 +315,8 @@ def begin_delete( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -407,7 +407,7 @@ def _stop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -433,8 +433,8 @@ def begin_stop( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -525,7 +525,7 @@ def _start_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -551,8 +551,8 @@ def begin_start( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -643,7 +643,7 @@ def _query_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -676,8 +676,8 @@ def begin_query( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionMonitorQueryResult or the result of cls(response) @@ -796,7 +796,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_ddos_custom_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_ddos_custom_policies_operations.py index b41d93d6583c..29137d1ba254 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_ddos_custom_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_ddos_custom_policies_operations.py @@ -106,8 +106,8 @@ def begin_delete( :type ddos_custom_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -291,8 +291,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_02_01.models.DdosCustomPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either DdosCustomPolicy or the result of cls(response) @@ -417,8 +417,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_02_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either DdosCustomPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_ddos_protection_plans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_ddos_protection_plans_operations.py index a17c442e63d0..97fa93900433 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_ddos_protection_plans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_ddos_protection_plans_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type ddos_protection_plan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_02_01.models.DdosProtectionPlan :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either DdosProtectionPlan or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_02_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either DdosProtectionPlan or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_express_route_circuit_authorizations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_express_route_circuit_authorizations_operations.py index 0d05eee1a46e..b9550d458033 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_express_route_circuit_authorizations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_express_route_circuit_authorizations_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type authorization_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type authorization_parameters: ~azure.mgmt.network.v2019_02_01.models.ExpressRouteCircuitAuthorization :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitAuthorization or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_express_route_circuit_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_express_route_circuit_connections_operations.py index 471ce848e577..4ea43d2721bd 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_express_route_circuit_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_express_route_circuit_connections_operations.py @@ -116,8 +116,8 @@ def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -324,8 +324,8 @@ def begin_create_or_update( :type express_route_circuit_connection_parameters: ~azure.mgmt.network.v2019_02_01.models.ExpressRouteCircuitConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitConnection or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_express_route_circuit_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_express_route_circuit_peerings_operations.py index 51f496c1443e..db3ecb42d224 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_express_route_circuit_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_express_route_circuit_peerings_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2019_02_01.models.ExpressRouteCircuitPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_express_route_circuits_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_express_route_circuits_operations.py index 2dd3f4a56ec0..d2dac7009133 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_express_route_circuits_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_express_route_circuits_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type circuit_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_02_01.models.ExpressRouteCircuit :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_02_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -546,8 +546,8 @@ def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -679,8 +679,8 @@ def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) @@ -812,8 +812,8 @@ def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableSummaryListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_express_route_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_express_route_connections_operations.py index 1b36796a778b..d04fc80465ee 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_express_route_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_express_route_connections_operations.py @@ -128,8 +128,8 @@ def begin_create_or_update( :type put_express_route_connection_parameters: ~azure.mgmt.network.v2019_02_01.models.ExpressRouteConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteConnection or the result of cls(response) @@ -310,8 +310,8 @@ def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_express_route_cross_connection_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_express_route_cross_connection_peerings_operations.py index 73780f8f334e..d7e94e19f97f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_express_route_cross_connection_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_express_route_cross_connection_peerings_operations.py @@ -185,8 +185,8 @@ def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -382,8 +382,8 @@ def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2019_02_01.models.ExpressRouteCrossConnectionPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCrossConnectionPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_express_route_cross_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_express_route_cross_connections_operations.py index c2bb65a85022..936e69e76269 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_express_route_cross_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_express_route_cross_connections_operations.py @@ -317,8 +317,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_02_01.models.ExpressRouteCrossConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCrossConnection or the result of cls(response) @@ -444,8 +444,8 @@ def begin_update_tags( :type cross_connection_parameters: ~azure.mgmt.network.v2019_02_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCrossConnection or the result of cls(response) @@ -574,8 +574,8 @@ def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -707,8 +707,8 @@ def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCrossConnectionsRoutesTableSummaryListResult or the result of cls(response) @@ -840,8 +840,8 @@ def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_express_route_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_express_route_gateways_operations.py index 1d9a9fc9cdd5..92adaf3b79ec 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_express_route_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_express_route_gateways_operations.py @@ -229,8 +229,8 @@ def begin_create_or_update( :type put_express_route_gateway_parameters: ~azure.mgmt.network.v2019_02_01.models.ExpressRouteGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteGateway or the result of cls(response) @@ -401,8 +401,8 @@ def begin_delete( :type express_route_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_express_route_ports_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_express_route_ports_operations.py index 8832c8140539..c6153ba3cf46 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_express_route_ports_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_express_route_ports_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type express_route_port_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_02_01.models.ExpressRoutePort :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRoutePort or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_02_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRoutePort or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_hub_virtual_network_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_hub_virtual_network_connections_operations.py index 1b736868f1e0..c4241aefa924 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_hub_virtual_network_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_hub_virtual_network_connections_operations.py @@ -98,7 +98,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('HubVirtualNetworkConnection', pipeline_response) @@ -174,7 +174,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_inbound_nat_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_inbound_nat_rules_operations.py index f3440e864cab..076606424d31 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_inbound_nat_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_inbound_nat_rules_operations.py @@ -185,8 +185,8 @@ def begin_delete( :type inbound_nat_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -387,8 +387,8 @@ def begin_create_or_update( :type inbound_nat_rule_parameters: ~azure.mgmt.network.v2019_02_01.models.InboundNatRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either InboundNatRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_interface_endpoints_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_interface_endpoints_operations.py index 2d69007ae42d..ee5ee9e91998 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_interface_endpoints_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_interface_endpoints_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type interface_endpoint_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_02_01.models.InterfaceEndpoint :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either InterfaceEndpoint or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_load_balancers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_load_balancers_operations.py index 61c814c4c4b0..9285d73a5e98 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_load_balancers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_load_balancers_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type load_balancer_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_02_01.models.LoadBalancer :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LoadBalancer or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_02_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LoadBalancer or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_local_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_local_network_gateways_operations.py index d61dbdf9980f..a338cdc5ca71 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_local_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_local_network_gateways_operations.py @@ -123,8 +123,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_02_01.models.LocalNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LocalNetworkGateway or the result of cls(response) @@ -294,8 +294,8 @@ def begin_delete( :type local_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_02_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LocalNetworkGateway or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_nat_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_nat_gateways_operations.py index 23765368c893..78190d409199 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_nat_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_nat_gateways_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type nat_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_02_01.models.NatGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NatGateway or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_network_interface_tap_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_network_interface_tap_configurations_operations.py index 7cbc26a5df93..ffb00808d2d1 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_network_interface_tap_configurations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_network_interface_tap_configurations_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type tap_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type tap_configuration_parameters: ~azure.mgmt.network.v2019_02_01.models.NetworkInterfaceTapConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkInterfaceTapConfiguration or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_network_interfaces_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_network_interfaces_operations.py index 38e42cf21001..3f78e503e884 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_network_interfaces_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_network_interfaces_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_02_01.models.NetworkInterface :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkInterface or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_02_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkInterface or the result of cls(response) @@ -678,8 +678,8 @@ def begin_get_effective_route_table( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either EffectiveRouteListResult or the result of cls(response) @@ -796,8 +796,8 @@ def begin_list_effective_network_security_groups( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either EffectiveNetworkSecurityGroupListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_network_management_client_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_network_management_client_operations.py index 45814baa1b45..24e90adde5bc 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_network_management_client_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_network_management_client_operations.py @@ -134,7 +134,7 @@ def supported_security_providers( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualWanSecurityProviders', pipeline_response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_network_profiles_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_network_profiles_operations.py index 6f81af1e153a..e6bd6c0bd3f2 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_network_profiles_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_network_profiles_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type network_profile_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_network_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_network_security_groups_operations.py index 583923c6e8b2..28369239702f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_network_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_network_security_groups_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type network_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -296,8 +296,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_02_01.models.NetworkSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkSecurityGroup or the result of cls(response) @@ -422,8 +422,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_02_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_network_watchers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_network_watchers_operations.py index 1819ccd6131f..0cc3d6568cd5 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_network_watchers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_network_watchers_operations.py @@ -104,7 +104,7 @@ def create_or_update( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -168,7 +168,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('NetworkWatcher', pipeline_response) @@ -217,7 +217,7 @@ def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -240,8 +240,8 @@ def begin_delete( :type network_watcher_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -347,7 +347,7 @@ def update_tags( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('NetworkWatcher', pipeline_response) @@ -419,7 +419,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -487,7 +487,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -555,7 +555,7 @@ def get_topology( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('Topology', pipeline_response) @@ -610,7 +610,7 @@ def _verify_ip_flow_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -643,8 +643,8 @@ def begin_verify_ip_flow( :type parameters: ~azure.mgmt.network.v2019_02_01.models.VerificationIPFlowParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VerificationIPFlowResult or the result of cls(response) @@ -741,7 +741,7 @@ def _get_next_hop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -774,8 +774,8 @@ def begin_get_next_hop( :type parameters: ~azure.mgmt.network.v2019_02_01.models.NextHopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NextHopResult or the result of cls(response) @@ -872,7 +872,7 @@ def _get_vm_security_rules_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -905,8 +905,8 @@ def begin_get_vm_security_rules( :type parameters: ~azure.mgmt.network.v2019_02_01.models.SecurityGroupViewParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either SecurityGroupViewResult or the result of cls(response) @@ -1003,7 +1003,7 @@ def _get_troubleshooting_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1036,8 +1036,8 @@ def begin_get_troubleshooting( :type parameters: ~azure.mgmt.network.v2019_02_01.models.TroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1134,7 +1134,7 @@ def _get_troubleshooting_result_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1167,8 +1167,8 @@ def begin_get_troubleshooting_result( :type parameters: ~azure.mgmt.network.v2019_02_01.models.QueryTroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1265,7 +1265,7 @@ def _set_flow_log_configuration_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1298,8 +1298,8 @@ def begin_set_flow_log_configuration( :type parameters: ~azure.mgmt.network.v2019_02_01.models.FlowLogInformation :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1396,7 +1396,7 @@ def _get_flow_log_status_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1430,8 +1430,8 @@ def begin_get_flow_log_status( :type parameters: ~azure.mgmt.network.v2019_02_01.models.FlowLogStatusParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1528,7 +1528,7 @@ def _check_connectivity_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1562,8 +1562,8 @@ def begin_check_connectivity( :type parameters: ~azure.mgmt.network.v2019_02_01.models.ConnectivityParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectivityInformation or the result of cls(response) @@ -1660,7 +1660,7 @@ def _get_azure_reachability_report_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1694,8 +1694,8 @@ def begin_get_azure_reachability_report( :type parameters: ~azure.mgmt.network.v2019_02_01.models.AzureReachabilityReportParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AzureReachabilityReport or the result of cls(response) @@ -1792,7 +1792,7 @@ def _list_available_providers_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1825,8 +1825,8 @@ def begin_list_available_providers( :type parameters: ~azure.mgmt.network.v2019_02_01.models.AvailableProvidersListParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AvailableProvidersList or the result of cls(response) @@ -1923,7 +1923,7 @@ def _get_network_configuration_diagnostic_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1956,8 +1956,8 @@ def begin_get_network_configuration_diagnostic( :type parameters: ~azure.mgmt.network.v2019_02_01.models.NetworkConfigurationDiagnosticParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkConfigurationDiagnosticResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_p2_svpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_p2_svpn_gateways_operations.py index 9047d92724ab..7e0a3509dd98 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_p2_svpn_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_p2_svpn_gateways_operations.py @@ -96,7 +96,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('P2SVpnGateway', pipeline_response) @@ -151,7 +151,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -185,8 +185,8 @@ def begin_create_or_update( :type p2_s_vpn_gateway_parameters: ~azure.mgmt.network.v2019_02_01.models.P2SVpnGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -283,7 +283,7 @@ def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -317,8 +317,8 @@ def begin_update_tags( :type p2_s_vpn_gateway_parameters: ~azure.mgmt.network.v2019_02_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -409,7 +409,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -432,8 +432,8 @@ def begin_delete( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -543,7 +543,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -611,7 +611,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -697,8 +697,8 @@ def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2019_02_01.models.P2SVpnProfileParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnProfileResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_p2_svpn_server_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_p2_svpn_server_configurations_operations.py index cc0589128faf..62af733ff56a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_p2_svpn_server_configurations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_p2_svpn_server_configurations_operations.py @@ -100,7 +100,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('P2SVpnServerConfiguration', pipeline_response) @@ -157,7 +157,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -195,8 +195,8 @@ def begin_create_or_update( :type p2_s_vpn_server_configuration_parameters: ~azure.mgmt.network.v2019_02_01.models.P2SVpnServerConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either P2SVpnServerConfiguration or the result of cls(response) @@ -291,7 +291,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -317,8 +317,8 @@ def begin_delete( :type p2_s_vpn_server_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -434,7 +434,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_packet_captures_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_packet_captures_operations.py index 5e8a04c34282..03da9d7bc42b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_packet_captures_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_packet_captures_operations.py @@ -93,7 +93,7 @@ def _create_initial( if response.status_code not in [201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PacketCaptureResult', pipeline_response) @@ -125,8 +125,8 @@ def begin_create( :type parameters: ~azure.mgmt.network.v2019_02_01.models.PacketCapture :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PacketCaptureResult or the result of cls(response) @@ -234,7 +234,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PacketCaptureResult', pipeline_response) @@ -285,7 +285,7 @@ def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -311,8 +311,8 @@ def begin_delete( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -403,7 +403,7 @@ def _stop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -429,8 +429,8 @@ def begin_stop( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -521,7 +521,7 @@ def _get_status_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -554,8 +554,8 @@ def begin_get_status( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PacketCaptureQueryStatusResult or the result of cls(response) @@ -674,7 +674,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_public_ip_addresses_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_public_ip_addresses_operations.py index 5c573a430dd0..3715c93b89bb 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_public_ip_addresses_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_public_ip_addresses_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type public_ip_address_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_02_01.models.PublicIPAddress :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PublicIPAddress or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_02_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PublicIPAddress or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_public_ip_prefixes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_public_ip_prefixes_operations.py index da14453b8c11..d88108e95573 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_public_ip_prefixes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_public_ip_prefixes_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type public_ip_prefix_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_02_01.models.PublicIPPrefix :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PublicIPPrefix or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_02_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PublicIPPrefix or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_route_filter_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_route_filter_rules_operations.py index e3e798c6e08d..87a033364684 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_route_filter_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_route_filter_rules_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2019_02_01.models.RouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilterRule or the result of cls(response) @@ -441,8 +441,8 @@ def begin_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2019_02_01.models.PatchRouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilterRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_route_filters_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_route_filters_operations.py index 579fbf33e630..0b08b10afafc 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_route_filters_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_route_filters_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type route_filter_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -296,8 +296,8 @@ def begin_create_or_update( :type route_filter_parameters: ~azure.mgmt.network.v2019_02_01.models.RouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilter or the result of cls(response) @@ -422,8 +422,8 @@ def begin_update( :type route_filter_parameters: ~azure.mgmt.network.v2019_02_01.models.PatchRouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilter or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_route_tables_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_route_tables_operations.py index 9dadcbfc2e9b..fe64a3315ff9 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_route_tables_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_route_tables_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_02_01.models.RouteTable :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteTable or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_02_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteTable or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_routes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_routes_operations.py index bbecf76ec75d..f3be63d98483 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_routes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_routes_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type route_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -306,8 +306,8 @@ def begin_create_or_update( :type route_parameters: ~azure.mgmt.network.v2019_02_01.models.Route :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Route or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_security_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_security_rules_operations.py index 52d1e1a480ee..7cec68f6d802 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_security_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_security_rules_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type security_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type security_rule_parameters: ~azure.mgmt.network.v2019_02_01.models.SecurityRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either SecurityRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_service_endpoint_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_service_endpoint_policies_operations.py index a4283a189370..f90fbcc68cc9 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_service_endpoint_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_service_endpoint_policies_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type service_endpoint_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -296,8 +296,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_02_01.models.ServiceEndpointPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ServiceEndpointPolicy or the result of cls(response) @@ -422,8 +422,8 @@ def begin_update( :type parameters: ~azure.mgmt.network.v2019_02_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ServiceEndpointPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_service_endpoint_policy_definitions_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_service_endpoint_policy_definitions_operations.py index 7e2d86b04b2a..791360c54542 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_service_endpoint_policy_definitions_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_service_endpoint_policy_definitions_operations.py @@ -111,8 +111,8 @@ def begin_delete( :type service_endpoint_policy_definition_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -311,8 +311,8 @@ def begin_create_or_update( :type service_endpoint_policy_definitions: ~azure.mgmt.network.v2019_02_01.models.ServiceEndpointPolicyDefinition :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ServiceEndpointPolicyDefinition or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_subnets_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_subnets_operations.py index 5edab7363c28..7a983db667e6 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_subnets_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_subnets_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type subnet_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -311,8 +311,8 @@ def begin_create_or_update( :type subnet_parameters: ~azure.mgmt.network.v2019_02_01.models.Subnet :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Subnet or the result of cls(response) @@ -440,8 +440,8 @@ def begin_prepare_network_policies( :type prepare_network_policies_request_parameters: ~azure.mgmt.network.v2019_02_01.models.PrepareNetworkPoliciesRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_virtual_hubs_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_virtual_hubs_operations.py index 72f807b51a40..2352661ab8ed 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_virtual_hubs_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_virtual_hubs_operations.py @@ -96,7 +96,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualHub', pipeline_response) @@ -151,7 +151,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -184,8 +184,8 @@ def begin_create_or_update( :type virtual_hub_parameters: ~azure.mgmt.network.v2019_02_01.models.VirtualHub :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualHub or the result of cls(response) @@ -282,7 +282,7 @@ def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -315,8 +315,8 @@ def begin_update_tags( :type virtual_hub_parameters: ~azure.mgmt.network.v2019_02_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualHub or the result of cls(response) @@ -407,7 +407,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -430,8 +430,8 @@ def begin_delete( :type virtual_hub_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -541,7 +541,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -609,7 +609,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_virtual_network_gateway_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_virtual_network_gateway_connections_operations.py index a2d814f957a7..9493e076c633 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_virtual_network_gateway_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_virtual_network_gateway_connections_operations.py @@ -125,8 +125,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_02_01.models.VirtualNetworkGatewayConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -298,8 +298,8 @@ def begin_delete( :type virtual_network_gateway_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_02_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -554,8 +554,8 @@ def begin_set_shared_key( :type parameters: ~azure.mgmt.network.v2019_02_01.models.ConnectionSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionSharedKey or the result of cls(response) @@ -819,8 +819,8 @@ def begin_reset_shared_key( :type parameters: ~azure.mgmt.network.v2019_02_01.models.ConnectionResetSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionResetSharedKey or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_virtual_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_virtual_network_gateways_operations.py index 3e16bbd8a57d..b0529f7ec2f6 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_virtual_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_virtual_network_gateways_operations.py @@ -123,8 +123,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_02_01.models.VirtualNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -294,8 +294,8 @@ def begin_delete( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_02_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -688,8 +688,8 @@ def begin_reset( :type gateway_vip: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -801,8 +801,8 @@ def begin_reset_vpn_client_shared_key( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -927,8 +927,8 @@ def begin_generatevpnclientpackage( :type parameters: ~azure.mgmt.network.v2019_02_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1057,8 +1057,8 @@ def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2019_02_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1177,8 +1177,8 @@ def begin_get_vpn_profile_package_url( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1301,8 +1301,8 @@ def begin_get_bgp_peer_status( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either BgpPeerStatusListResult or the result of cls(response) @@ -1480,8 +1480,8 @@ def begin_get_learned_routes( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1604,8 +1604,8 @@ def begin_get_advertised_routes( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1734,8 +1734,8 @@ def begin_set_vpnclient_ipsec_parameters( :type vpnclient_ipsec_params: ~azure.mgmt.network.v2019_02_01.models.VpnClientIPsecParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnClientIPsecParameters or the result of cls(response) @@ -1853,8 +1853,8 @@ def begin_get_vpnclient_ipsec_parameters( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnClientIPsecParameters or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_virtual_network_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_virtual_network_peerings_operations.py index 09e3465dad18..670ff27ff7e8 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_virtual_network_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_virtual_network_peerings_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type virtual_network_peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type virtual_network_peering_parameters: ~azure.mgmt.network.v2019_02_01.models.VirtualNetworkPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_virtual_network_taps_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_virtual_network_taps_operations.py index 4eb88737e036..3b92a10628f2 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_virtual_network_taps_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_virtual_network_taps_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type tap_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_02_01.models.VirtualNetworkTap :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkTap or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type tap_parameters: ~azure.mgmt.network.v2019_02_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkTap or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_virtual_networks_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_virtual_networks_operations.py index 0aea77a7df1e..e4ada0aa0a52 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_virtual_networks_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_virtual_networks_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type virtual_network_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_02_01.models.VirtualNetwork :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetwork or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_02_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetwork or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_virtual_wans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_virtual_wans_operations.py index 2b21b4e8c60b..db6fa6fbf7d2 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_virtual_wans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_virtual_wans_operations.py @@ -96,7 +96,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualWAN', pipeline_response) @@ -151,7 +151,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -184,8 +184,8 @@ def begin_create_or_update( :type wan_parameters: ~azure.mgmt.network.v2019_02_01.models.VirtualWAN :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualWAN or the result of cls(response) @@ -282,7 +282,7 @@ def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -315,8 +315,8 @@ def begin_update_tags( :type wan_parameters: ~azure.mgmt.network.v2019_02_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualWAN or the result of cls(response) @@ -407,7 +407,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -430,8 +430,8 @@ def begin_delete( :type virtual_wan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -541,7 +541,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -609,7 +609,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_vpn_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_vpn_connections_operations.py index 14cac03c4a11..8fdc31b274e9 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_vpn_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_vpn_connections_operations.py @@ -100,7 +100,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VpnConnection', pipeline_response) @@ -157,7 +157,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -194,8 +194,8 @@ def begin_create_or_update( :type vpn_connection_parameters: ~azure.mgmt.network.v2019_02_01.models.VpnConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnConnection or the result of cls(response) @@ -290,7 +290,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -316,8 +316,8 @@ def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -433,7 +433,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_vpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_vpn_gateways_operations.py index f19e00643fce..ee18f3c36686 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_vpn_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_vpn_gateways_operations.py @@ -96,7 +96,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VpnGateway', pipeline_response) @@ -151,7 +151,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -185,8 +185,8 @@ def begin_create_or_update( :type vpn_gateway_parameters: ~azure.mgmt.network.v2019_02_01.models.VpnGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnGateway or the result of cls(response) @@ -283,7 +283,7 @@ def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -316,8 +316,8 @@ def begin_update_tags( :type vpn_gateway_parameters: ~azure.mgmt.network.v2019_02_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnGateway or the result of cls(response) @@ -408,7 +408,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -431,8 +431,8 @@ def begin_delete( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -542,7 +542,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -610,7 +610,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_vpn_sites_configuration_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_vpn_sites_configuration_operations.py index 02c6ea0cc8c1..5f4de6337749 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_vpn_sites_configuration_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_vpn_sites_configuration_operations.py @@ -90,7 +90,7 @@ def _download_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -117,8 +117,8 @@ def begin_download( :type request: ~azure.mgmt.network.v2019_02_01.models.GetVpnSitesConfigurationRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_vpn_sites_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_vpn_sites_operations.py index 0dcfeb409207..da1e8f9be305 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_vpn_sites_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_vpn_sites_operations.py @@ -96,7 +96,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VpnSite', pipeline_response) @@ -151,7 +151,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -184,8 +184,8 @@ def begin_create_or_update( :type vpn_site_parameters: ~azure.mgmt.network.v2019_02_01.models.VpnSite :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnSite or the result of cls(response) @@ -282,7 +282,7 @@ def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -315,8 +315,8 @@ def begin_update_tags( :type vpn_site_parameters: ~azure.mgmt.network.v2019_02_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnSite or the result of cls(response) @@ -407,7 +407,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -430,8 +430,8 @@ def begin_delete( :type vpn_site_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -541,7 +541,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -609,7 +609,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_web_application_firewall_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_web_application_firewall_policies_operations.py index 8fca4dd378f8..8adfbb379662 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_web_application_firewall_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_02_01/operations/_web_application_firewall_policies_operations.py @@ -373,8 +373,8 @@ def begin_delete( :type policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/_metadata.json b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/_metadata.json index c39147ce582a..80fa9db09f1e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/_metadata.json +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/_metadata.json @@ -9,7 +9,9 @@ "custom_base_url": null, "azure_arm": true, "has_lro_operations": true, - "client_side_validation": true + "client_side_validation": false, + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"NetworkManagementClientConfiguration\"], \"._operations_mixin\": [\"NetworkManagementClientOperationsMixin\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"NetworkManagementClientConfiguration\"], \"._operations_mixin\": [\"NetworkManagementClientOperationsMixin\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}" }, "global_parameters": { "sync": { @@ -28,13 +30,13 @@ }, "async": { "credential": { - "signature": "credential, # type: \"AsyncTokenCredential\"", + "signature": "credential: \"AsyncTokenCredential\",", "description": "Credential needed for the client to connect to Azure.", "docstring_type": "~azure.core.credentials_async.AsyncTokenCredential", "required": true }, "subscription_id": { - "signature": "subscription_id, # type: str", + "signature": "subscription_id: str,", "description": "The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.", "docstring_type": "str", "required": true @@ -42,14 +44,58 @@ }, "constant": { }, - "call": "credential, subscription_id" + "call": "credential, subscription_id", + "service_client_specific": { + "sync": { + "api_version": { + "signature": "api_version=None, # type: Optional[str]", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url=None, # type: Optional[str]", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile=KnownProfiles.default, # type: KnownProfiles", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + }, + "async": { + "api_version": { + "signature": "api_version: Optional[str] = None,", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url: Optional[str] = None,", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile: KnownProfiles = KnownProfiles.default,", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + } + } }, "config": { "credential": true, "credential_scopes": ["https://management.azure.com/.default"], "credential_default_policy_type": "BearerTokenCredentialPolicy", "credential_default_policy_type_has_async_version": true, - "credential_key_header_name": null + "credential_key_header_name": null, + "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMHttpLoggingPolicy\"]}, \"local\": {\"._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}}", + "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMHttpLoggingPolicy\"]}, \"local\": {\".._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}}" }, "operation_groups": { "application_gateways": "ApplicationGatewaysOperations", @@ -131,31 +177,33 @@ "web_application_firewall_policies": "WebApplicationFirewallPoliciesOperations" }, "operation_mixins": { - "check_dns_name_availability" : { - "sync": { - "signature": "def check_dns_name_availability(\n self,\n location, # type: str\n domain_name_label, # type: str\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_04_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def check_dns_name_availability(\n self,\n location: str,\n domain_name_label: str,\n **kwargs\n) -\u003e \"_models.DnsNameAvailabilityResult\":\n", - "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_04_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "location, domain_name_label" - }, - "supported_security_providers" : { - "sync": { - "signature": "def supported_security_providers(\n self,\n resource_group_name, # type: str\n virtual_wan_name, # type: str\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Gives the supported security providers for the virtual wan.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN for which supported security providers are\n needed.\n:type virtual_wan_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VirtualWanSecurityProviders, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_04_01.models.VirtualWanSecurityProviders\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\"]}}}", + "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\"]}}}", + "operations": { + "check_dns_name_availability" : { + "sync": { + "signature": "def check_dns_name_availability(\n self,\n location, # type: str\n domain_name_label, # type: str\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_04_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def check_dns_name_availability(\n self,\n location: str,\n domain_name_label: str,\n **kwargs\n) -\u003e \"_models.DnsNameAvailabilityResult\":\n", + "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_04_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "location, domain_name_label" }, - "async": { - "coroutine": true, - "signature": "async def supported_security_providers(\n self,\n resource_group_name: str,\n virtual_wan_name: str,\n **kwargs\n) -\u003e \"_models.VirtualWanSecurityProviders\":\n", - "doc": "\"\"\"Gives the supported security providers for the virtual wan.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN for which supported security providers are\n needed.\n:type virtual_wan_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VirtualWanSecurityProviders, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_04_01.models.VirtualWanSecurityProviders\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "resource_group_name, virtual_wan_name" + "supported_security_providers" : { + "sync": { + "signature": "def supported_security_providers(\n self,\n resource_group_name, # type: str\n virtual_wan_name, # type: str\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Gives the supported security providers for the virtual wan.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN for which supported security providers are\n needed.\n:type virtual_wan_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VirtualWanSecurityProviders, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_04_01.models.VirtualWanSecurityProviders\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def supported_security_providers(\n self,\n resource_group_name: str,\n virtual_wan_name: str,\n **kwargs\n) -\u003e \"_models.VirtualWanSecurityProviders\":\n", + "doc": "\"\"\"Gives the supported security providers for the virtual wan.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN for which supported security providers are\n needed.\n:type virtual_wan_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VirtualWanSecurityProviders, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_04_01.models.VirtualWanSecurityProviders\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "resource_group_name, virtual_wan_name" + } } - }, - "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\"]}}}", - "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\"]}}}" + } } \ No newline at end of file diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/_network_management_client.py index 30951784fa5f..52fdc0b94d0c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/_network_management_client.py @@ -16,6 +16,7 @@ from typing import Any, Optional from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse from ._configuration import NetworkManagementClientConfiguration from .operations import ApplicationGatewaysOperations @@ -279,6 +280,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( @@ -436,6 +438,24 @@ def __init__( self.web_application_firewall_policies = WebApplicationFirewallPoliciesOperations( self._client, self._config, self._serialize, self._deserialize) + def _send_request(self, http_request, **kwargs): + # type: (HttpRequest, Any) -> HttpResponse + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.HttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + def close(self): # type: () -> None self._client.close() diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/_network_management_client.py index 582e9fd6fe96..d0d069a67367 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/_network_management_client.py @@ -8,6 +8,7 @@ from typing import Any, Optional, TYPE_CHECKING +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core import AsyncARMPipelineClient from msrest import Deserializer, Serializer @@ -276,6 +277,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( @@ -433,6 +435,23 @@ def __init__( self.web_application_firewall_policies = WebApplicationFirewallPoliciesOperations( self._client, self._config, self._serialize, self._deserialize) + async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + async def close(self) -> None: await self._client.close() diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_application_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_application_gateways_operations.py index 2b2985ed78be..d80279148dae 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_application_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_application_gateways_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_04_01.models.ApplicationGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGateway or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGateway or the result of cls(response) @@ -651,8 +651,8 @@ async def begin_start( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -757,8 +757,8 @@ async def begin_stop( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -876,8 +876,8 @@ async def begin_backend_health( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGatewayBackendHealth or the result of cls(response) @@ -1009,8 +1009,8 @@ async def begin_backend_health_on_demand( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGatewayBackendHealthOnDemand or the result of cls(response) @@ -1104,7 +1104,7 @@ async def list_available_server_variables( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) @@ -1155,7 +1155,7 @@ async def list_available_request_headers( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) @@ -1206,7 +1206,7 @@ async def list_available_response_headers( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_application_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_application_security_groups_operations.py index 4f465fa7de1a..51a92037bf6d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_application_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_application_security_groups_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type application_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -282,8 +282,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_04_01.models.ApplicationSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationSecurityGroup or the result of cls(response) @@ -406,8 +406,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_azure_firewalls_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_azure_firewalls_operations.py index a52aa97da47a..f3b42f830683 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_azure_firewalls_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_azure_firewalls_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type azure_firewall_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_04_01.models.AzureFirewall :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AzureFirewall or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_bastion_hosts_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_bastion_hosts_operations.py index 9c5cb4566b4a..fbdb7d48768f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_bastion_hosts_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_bastion_hosts_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type bastion_host_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_04_01.models.BastionHost :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either BastionHost or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_connection_monitors_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_connection_monitors_operations.py index f167d667c27c..54e4332f110a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_connection_monitors_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_connection_monitors_operations.py @@ -88,7 +88,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -123,8 +123,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_04_01.models.ConnectionMonitor :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionMonitorResult or the result of cls(response) @@ -231,7 +231,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('ConnectionMonitorResult', pipeline_response) @@ -281,7 +281,7 @@ async def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -306,8 +306,8 @@ async def begin_delete( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -397,7 +397,7 @@ async def _stop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -422,8 +422,8 @@ async def begin_stop( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -513,7 +513,7 @@ async def _start_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -538,8 +538,8 @@ async def begin_start( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -629,7 +629,7 @@ async def _query_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -661,8 +661,8 @@ async def begin_query( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionMonitorQueryResult or the result of cls(response) @@ -780,7 +780,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_ddos_custom_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_ddos_custom_policies_operations.py index 41408beede53..38d1fa33a45e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_ddos_custom_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_ddos_custom_policies_operations.py @@ -100,8 +100,8 @@ async def begin_delete( :type ddos_custom_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -282,8 +282,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_04_01.models.DdosCustomPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either DdosCustomPolicy or the result of cls(response) @@ -406,8 +406,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either DdosCustomPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_ddos_protection_plans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_ddos_protection_plans_operations.py index 6a247c2befdf..57257737d24d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_ddos_protection_plans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_ddos_protection_plans_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type ddos_protection_plan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_04_01.models.DdosProtectionPlan :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either DdosProtectionPlan or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either DdosProtectionPlan or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_express_route_circuit_authorizations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_express_route_circuit_authorizations_operations.py index ea5620586373..0ee67cc90354 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_express_route_circuit_authorizations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_express_route_circuit_authorizations_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type authorization_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type authorization_parameters: ~azure.mgmt.network.v2019_04_01.models.ExpressRouteCircuitAuthorization :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitAuthorization or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_express_route_circuit_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_express_route_circuit_connections_operations.py index 354ed698ed4d..1cd346a6d49e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_express_route_circuit_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_express_route_circuit_connections_operations.py @@ -110,8 +110,8 @@ async def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -315,8 +315,8 @@ async def begin_create_or_update( :type express_route_circuit_connection_parameters: ~azure.mgmt.network.v2019_04_01.models.ExpressRouteCircuitConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitConnection or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_express_route_circuit_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_express_route_circuit_peerings_operations.py index e5a7fb89b94a..bbcfbbbb26ec 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_express_route_circuit_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_express_route_circuit_peerings_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2019_04_01.models.ExpressRouteCircuitPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_express_route_circuits_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_express_route_circuits_operations.py index c781ece87484..3496d21bb68f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_express_route_circuits_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_express_route_circuits_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type circuit_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_04_01.models.ExpressRouteCircuit :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -533,8 +533,8 @@ async def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -664,8 +664,8 @@ async def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) @@ -795,8 +795,8 @@ async def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableSummaryListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_express_route_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_express_route_connections_operations.py index 7b9dc0bcc4f9..7d175d987783 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_express_route_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_express_route_connections_operations.py @@ -122,8 +122,8 @@ async def begin_create_or_update( :type put_express_route_connection_parameters: ~azure.mgmt.network.v2019_04_01.models.ExpressRouteConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteConnection or the result of cls(response) @@ -301,8 +301,8 @@ async def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_express_route_cross_connection_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_express_route_cross_connection_peerings_operations.py index 887c52d47223..cfdaf7aadd5d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_express_route_cross_connection_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_express_route_cross_connection_peerings_operations.py @@ -178,8 +178,8 @@ async def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -372,8 +372,8 @@ async def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2019_04_01.models.ExpressRouteCrossConnectionPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCrossConnectionPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_express_route_cross_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_express_route_cross_connections_operations.py index 43efc73b73f8..512f51f9c2c5 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_express_route_cross_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_express_route_cross_connections_operations.py @@ -308,8 +308,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_04_01.models.ExpressRouteCrossConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCrossConnection or the result of cls(response) @@ -433,8 +433,8 @@ async def begin_update_tags( :type cross_connection_parameters: ~azure.mgmt.network.v2019_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCrossConnection or the result of cls(response) @@ -561,8 +561,8 @@ async def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -692,8 +692,8 @@ async def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCrossConnectionsRoutesTableSummaryListResult or the result of cls(response) @@ -823,8 +823,8 @@ async def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_express_route_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_express_route_gateways_operations.py index 06ed4c967f33..2f180103d874 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_express_route_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_express_route_gateways_operations.py @@ -221,8 +221,8 @@ async def begin_create_or_update( :type put_express_route_gateway_parameters: ~azure.mgmt.network.v2019_04_01.models.ExpressRouteGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteGateway or the result of cls(response) @@ -390,8 +390,8 @@ async def begin_delete( :type express_route_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_express_route_ports_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_express_route_ports_operations.py index 2bc21477d7e4..72ff0bb3bdda 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_express_route_ports_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_express_route_ports_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type express_route_port_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_04_01.models.ExpressRoutePort :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRoutePort or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRoutePort or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_hub_virtual_network_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_hub_virtual_network_connections_operations.py index e5525b14b402..6986233142b8 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_hub_virtual_network_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_hub_virtual_network_connections_operations.py @@ -93,7 +93,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('HubVirtualNetworkConnection', pipeline_response) @@ -168,7 +168,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_inbound_nat_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_inbound_nat_rules_operations.py index 2668c1b58434..a484cfccebeb 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_inbound_nat_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_inbound_nat_rules_operations.py @@ -178,8 +178,8 @@ async def begin_delete( :type inbound_nat_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -377,8 +377,8 @@ async def begin_create_or_update( :type inbound_nat_rule_parameters: ~azure.mgmt.network.v2019_04_01.models.InboundNatRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either InboundNatRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_load_balancers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_load_balancers_operations.py index b31c4cf02961..ad8623ec2e64 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_load_balancers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_load_balancers_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type load_balancer_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_04_01.models.LoadBalancer :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LoadBalancer or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LoadBalancer or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_local_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_local_network_gateways_operations.py index ec726e6239b8..3062859ac0b9 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_local_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_local_network_gateways_operations.py @@ -117,8 +117,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_04_01.models.LocalNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LocalNetworkGateway or the result of cls(response) @@ -285,8 +285,8 @@ async def begin_delete( :type local_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LocalNetworkGateway or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_nat_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_nat_gateways_operations.py index 434dc8677dfb..3e80877ee10f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_nat_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_nat_gateways_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type nat_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -289,8 +289,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_04_01.models.NatGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NatGateway or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_network_interface_tap_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_network_interface_tap_configurations_operations.py index 1206a5ca5d70..5a6609bf4da4 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_network_interface_tap_configurations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_network_interface_tap_configurations_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type tap_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type tap_configuration_parameters: ~azure.mgmt.network.v2019_04_01.models.NetworkInterfaceTapConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkInterfaceTapConfiguration or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_network_interfaces_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_network_interfaces_operations.py index 4e3eba2f46c5..1a8b9e0d5781 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_network_interfaces_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_network_interfaces_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_04_01.models.NetworkInterface :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkInterface or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkInterface or the result of cls(response) @@ -663,8 +663,8 @@ async def begin_get_effective_route_table( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either EffectiveRouteListResult or the result of cls(response) @@ -779,8 +779,8 @@ async def begin_list_effective_network_security_groups( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either EffectiveNetworkSecurityGroupListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_network_management_client_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_network_management_client_operations.py index 5c485b8a93e0..47c4619599c6 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_network_management_client_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_network_management_client_operations.py @@ -128,7 +128,7 @@ async def supported_security_providers( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualWanSecurityProviders', pipeline_response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_network_profiles_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_network_profiles_operations.py index 339c73c1b12c..0c22137d865e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_network_profiles_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_network_profiles_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type network_profile_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_network_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_network_security_groups_operations.py index e8e4a6168587..6918d39e8170 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_network_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_network_security_groups_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type network_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -287,8 +287,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_04_01.models.NetworkSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkSecurityGroup or the result of cls(response) @@ -411,8 +411,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_network_watchers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_network_watchers_operations.py index 07eee50e98b6..5fbf3a508c6c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_network_watchers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_network_watchers_operations.py @@ -99,7 +99,7 @@ async def create_or_update( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -162,7 +162,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('NetworkWatcher', pipeline_response) @@ -210,7 +210,7 @@ async def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -232,8 +232,8 @@ async def begin_delete( :type network_watcher_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -338,7 +338,7 @@ async def update_tags( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('NetworkWatcher', pipeline_response) @@ -409,7 +409,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -476,7 +476,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -543,7 +543,7 @@ async def get_topology( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('Topology', pipeline_response) @@ -597,7 +597,7 @@ async def _verify_ip_flow_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -629,8 +629,8 @@ async def begin_verify_ip_flow( :type parameters: ~azure.mgmt.network.v2019_04_01.models.VerificationIPFlowParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VerificationIPFlowResult or the result of cls(response) @@ -726,7 +726,7 @@ async def _get_next_hop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -758,8 +758,8 @@ async def begin_get_next_hop( :type parameters: ~azure.mgmt.network.v2019_04_01.models.NextHopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NextHopResult or the result of cls(response) @@ -855,7 +855,7 @@ async def _get_vm_security_rules_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -887,8 +887,8 @@ async def begin_get_vm_security_rules( :type parameters: ~azure.mgmt.network.v2019_04_01.models.SecurityGroupViewParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either SecurityGroupViewResult or the result of cls(response) @@ -984,7 +984,7 @@ async def _get_troubleshooting_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1016,8 +1016,8 @@ async def begin_get_troubleshooting( :type parameters: ~azure.mgmt.network.v2019_04_01.models.TroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1113,7 +1113,7 @@ async def _get_troubleshooting_result_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1145,8 +1145,8 @@ async def begin_get_troubleshooting_result( :type parameters: ~azure.mgmt.network.v2019_04_01.models.QueryTroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1242,7 +1242,7 @@ async def _set_flow_log_configuration_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1274,8 +1274,8 @@ async def begin_set_flow_log_configuration( :type parameters: ~azure.mgmt.network.v2019_04_01.models.FlowLogInformation :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1371,7 +1371,7 @@ async def _get_flow_log_status_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1404,8 +1404,8 @@ async def begin_get_flow_log_status( :type parameters: ~azure.mgmt.network.v2019_04_01.models.FlowLogStatusParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1501,7 +1501,7 @@ async def _check_connectivity_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1534,8 +1534,8 @@ async def begin_check_connectivity( :type parameters: ~azure.mgmt.network.v2019_04_01.models.ConnectivityParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectivityInformation or the result of cls(response) @@ -1631,7 +1631,7 @@ async def _get_azure_reachability_report_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1664,8 +1664,8 @@ async def begin_get_azure_reachability_report( :type parameters: ~azure.mgmt.network.v2019_04_01.models.AzureReachabilityReportParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AzureReachabilityReport or the result of cls(response) @@ -1761,7 +1761,7 @@ async def _list_available_providers_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1793,8 +1793,8 @@ async def begin_list_available_providers( :type parameters: ~azure.mgmt.network.v2019_04_01.models.AvailableProvidersListParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AvailableProvidersList or the result of cls(response) @@ -1890,7 +1890,7 @@ async def _get_network_configuration_diagnostic_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1922,8 +1922,8 @@ async def begin_get_network_configuration_diagnostic( :type parameters: ~azure.mgmt.network.v2019_04_01.models.NetworkConfigurationDiagnosticParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkConfigurationDiagnosticResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_p2_svpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_p2_svpn_gateways_operations.py index 230f2d53749a..67becba2293e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_p2_svpn_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_p2_svpn_gateways_operations.py @@ -91,7 +91,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('P2SVpnGateway', pipeline_response) @@ -145,7 +145,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -178,8 +178,8 @@ async def begin_create_or_update( :type p2_s_vpn_gateway_parameters: ~azure.mgmt.network.v2019_04_01.models.P2SVpnGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -275,7 +275,7 @@ async def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -308,8 +308,8 @@ async def begin_update_tags( :type p2_s_vpn_gateway_parameters: ~azure.mgmt.network.v2019_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -399,7 +399,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -421,8 +421,8 @@ async def begin_delete( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -531,7 +531,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -598,7 +598,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -682,8 +682,8 @@ async def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2019_04_01.models.P2SVpnProfileParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnProfileResponse or the result of cls(response) @@ -800,8 +800,8 @@ async def begin_get_p2_s_vpn_connection_health( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either P2SVpnGateway or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_p2_svpn_server_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_p2_svpn_server_configurations_operations.py index ff70e60175f6..c1a49b02f7e9 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_p2_svpn_server_configurations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_p2_svpn_server_configurations_operations.py @@ -95,7 +95,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('P2SVpnServerConfiguration', pipeline_response) @@ -151,7 +151,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -188,8 +188,8 @@ async def begin_create_or_update( :type p2_s_vpn_server_configuration_parameters: ~azure.mgmt.network.v2019_04_01.models.P2SVpnServerConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either P2SVpnServerConfiguration or the result of cls(response) @@ -283,7 +283,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -308,8 +308,8 @@ async def begin_delete( :type p2_s_vpn_server_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -424,7 +424,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_packet_captures_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_packet_captures_operations.py index 8aa18b6247ff..6af738b130be 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_packet_captures_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_packet_captures_operations.py @@ -88,7 +88,7 @@ async def _create_initial( if response.status_code not in [201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PacketCaptureResult', pipeline_response) @@ -119,8 +119,8 @@ async def begin_create( :type parameters: ~azure.mgmt.network.v2019_04_01.models.PacketCapture :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PacketCaptureResult or the result of cls(response) @@ -227,7 +227,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PacketCaptureResult', pipeline_response) @@ -277,7 +277,7 @@ async def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -302,8 +302,8 @@ async def begin_delete( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -393,7 +393,7 @@ async def _stop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -418,8 +418,8 @@ async def begin_stop( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -509,7 +509,7 @@ async def _get_status_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -541,8 +541,8 @@ async def begin_get_status( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PacketCaptureQueryStatusResult or the result of cls(response) @@ -660,7 +660,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_private_endpoints_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_private_endpoints_operations.py index c4d158312672..8d911b9b021a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_private_endpoints_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_private_endpoints_operations.py @@ -80,7 +80,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -102,8 +102,8 @@ async def begin_delete( :type private_endpoint_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -205,7 +205,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateEndpoint', pipeline_response) @@ -259,7 +259,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -291,8 +291,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_04_01.models.PrivateEndpoint :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PrivateEndpoint or the result of cls(response) @@ -405,7 +405,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -472,7 +472,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_private_link_services_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_private_link_services_operations.py index a632842a7d47..eb2963b8807f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_private_link_services_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_private_link_services_operations.py @@ -80,7 +80,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -102,8 +102,8 @@ async def begin_delete( :type service_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -205,7 +205,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateLinkService', pipeline_response) @@ -259,7 +259,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -291,8 +291,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_04_01.models.PrivateLinkService :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PrivateLinkService or the result of cls(response) @@ -405,7 +405,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -472,7 +472,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -543,7 +543,7 @@ async def update_private_endpoint_connection( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateEndpointConnection', pipeline_response) @@ -593,7 +593,7 @@ async def _delete_private_endpoint_connection_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -618,8 +618,8 @@ async def begin_delete_private_endpoint_connection( :type pe_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -737,8 +737,8 @@ async def begin_check_private_link_service_visibility( :type parameters: ~azure.mgmt.network.v2019_04_01.models.CheckPrivateLinkServiceVisibilityRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PrivateLinkServiceVisibility or the result of cls(response) @@ -861,8 +861,8 @@ async def begin_check_private_link_service_visibility_by_resource_group( :type parameters: ~azure.mgmt.network.v2019_04_01.models.CheckPrivateLinkServiceVisibilityRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PrivateLinkServiceVisibility or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_public_ip_addresses_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_public_ip_addresses_operations.py index bbf1d860fd60..391ddd320abc 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_public_ip_addresses_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_public_ip_addresses_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type public_ip_address_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_04_01.models.PublicIPAddress :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PublicIPAddress or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PublicIPAddress or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_public_ip_prefixes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_public_ip_prefixes_operations.py index 51da2f098d86..69f7a94540d7 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_public_ip_prefixes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_public_ip_prefixes_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type public_ip_prefix_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_04_01.models.PublicIPPrefix :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PublicIPPrefix or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PublicIPPrefix or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_route_filter_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_route_filter_rules_operations.py index 8f1d54e381d5..8ece91183d22 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_route_filter_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_route_filter_rules_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2019_04_01.models.RouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilterRule or the result of cls(response) @@ -430,8 +430,8 @@ async def begin_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2019_04_01.models.PatchRouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilterRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_route_filters_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_route_filters_operations.py index ac917da53b5f..0c2dcb607aab 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_route_filters_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_route_filters_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type route_filter_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -287,8 +287,8 @@ async def begin_create_or_update( :type route_filter_parameters: ~azure.mgmt.network.v2019_04_01.models.RouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilter or the result of cls(response) @@ -411,8 +411,8 @@ async def begin_update( :type route_filter_parameters: ~azure.mgmt.network.v2019_04_01.models.PatchRouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilter or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_route_tables_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_route_tables_operations.py index 7f7f9561a5c1..5e000d33fcca 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_route_tables_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_route_tables_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_04_01.models.RouteTable :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteTable or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteTable or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_routes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_routes_operations.py index d5aa45eebd84..72bc3de33eed 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_routes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_routes_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type route_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ async def begin_create_or_update( :type route_parameters: ~azure.mgmt.network.v2019_04_01.models.Route :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Route or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_security_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_security_rules_operations.py index b5aa13202153..045c7649f8d3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_security_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_security_rules_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type security_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type security_rule_parameters: ~azure.mgmt.network.v2019_04_01.models.SecurityRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either SecurityRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_service_endpoint_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_service_endpoint_policies_operations.py index 856a4fe584e3..93ae40a16400 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_service_endpoint_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_service_endpoint_policies_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type service_endpoint_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -287,8 +287,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_04_01.models.ServiceEndpointPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ServiceEndpointPolicy or the result of cls(response) @@ -411,8 +411,8 @@ async def begin_update( :type parameters: ~azure.mgmt.network.v2019_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ServiceEndpointPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_service_endpoint_policy_definitions_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_service_endpoint_policy_definitions_operations.py index faf0e5727678..086c2758c404 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_service_endpoint_policy_definitions_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_service_endpoint_policy_definitions_operations.py @@ -105,8 +105,8 @@ async def begin_delete( :type service_endpoint_policy_definition_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -302,8 +302,8 @@ async def begin_create_or_update( :type service_endpoint_policy_definitions: ~azure.mgmt.network.v2019_04_01.models.ServiceEndpointPolicyDefinition :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ServiceEndpointPolicyDefinition or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_subnets_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_subnets_operations.py index a688f6352adf..cc63e83e68f8 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_subnets_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_subnets_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type subnet_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -302,8 +302,8 @@ async def begin_create_or_update( :type subnet_parameters: ~azure.mgmt.network.v2019_04_01.models.Subnet :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Subnet or the result of cls(response) @@ -429,8 +429,8 @@ async def begin_prepare_network_policies( :type prepare_network_policies_request_parameters: ~azure.mgmt.network.v2019_04_01.models.PrepareNetworkPoliciesRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_virtual_hubs_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_virtual_hubs_operations.py index 930c98236516..54a22a4e0f02 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_virtual_hubs_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_virtual_hubs_operations.py @@ -91,7 +91,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualHub', pipeline_response) @@ -145,7 +145,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -177,8 +177,8 @@ async def begin_create_or_update( :type virtual_hub_parameters: ~azure.mgmt.network.v2019_04_01.models.VirtualHub :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualHub or the result of cls(response) @@ -274,7 +274,7 @@ async def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -306,8 +306,8 @@ async def begin_update_tags( :type virtual_hub_parameters: ~azure.mgmt.network.v2019_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualHub or the result of cls(response) @@ -397,7 +397,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -419,8 +419,8 @@ async def begin_delete( :type virtual_hub_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -529,7 +529,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -596,7 +596,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_virtual_network_gateway_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_virtual_network_gateway_connections_operations.py index 8069c4b593ca..c101de8f7ce8 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_virtual_network_gateway_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_virtual_network_gateway_connections_operations.py @@ -119,8 +119,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_04_01.models.VirtualNetworkGatewayConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -289,8 +289,8 @@ async def begin_delete( :type virtual_network_gateway_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -541,8 +541,8 @@ async def begin_set_shared_key( :type parameters: ~azure.mgmt.network.v2019_04_01.models.ConnectionSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionSharedKey or the result of cls(response) @@ -802,8 +802,8 @@ async def begin_reset_shared_key( :type parameters: ~azure.mgmt.network.v2019_04_01.models.ConnectionResetSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionResetSharedKey or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_virtual_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_virtual_network_gateways_operations.py index 5216a20bb718..daf57b26c498 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_virtual_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_virtual_network_gateways_operations.py @@ -117,8 +117,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_04_01.models.VirtualNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -285,8 +285,8 @@ async def begin_delete( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -673,8 +673,8 @@ async def begin_reset( :type gateway_vip: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -784,8 +784,8 @@ async def begin_reset_vpn_client_shared_key( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -908,8 +908,8 @@ async def begin_generatevpnclientpackage( :type parameters: ~azure.mgmt.network.v2019_04_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1036,8 +1036,8 @@ async def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2019_04_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1154,8 +1154,8 @@ async def begin_get_vpn_profile_package_url( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1276,8 +1276,8 @@ async def begin_get_bgp_peer_status( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either BgpPeerStatusListResult or the result of cls(response) @@ -1452,8 +1452,8 @@ async def begin_get_learned_routes( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1574,8 +1574,8 @@ async def begin_get_advertised_routes( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1702,8 +1702,8 @@ async def begin_set_vpnclient_ipsec_parameters( :type vpnclient_ipsec_params: ~azure.mgmt.network.v2019_04_01.models.VpnClientIPsecParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnClientIPsecParameters or the result of cls(response) @@ -1819,8 +1819,8 @@ async def begin_get_vpnclient_ipsec_parameters( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnClientIPsecParameters or the result of cls(response) @@ -2003,8 +2003,8 @@ async def begin_get_vpnclient_connection_health( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnClientConnectionHealthDetailListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_virtual_network_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_virtual_network_peerings_operations.py index d80b9152fdc3..a770943a6597 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_virtual_network_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_virtual_network_peerings_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type virtual_network_peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type virtual_network_peering_parameters: ~azure.mgmt.network.v2019_04_01.models.VirtualNetworkPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_virtual_network_taps_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_virtual_network_taps_operations.py index b2a8d78a7996..4373a108edc8 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_virtual_network_taps_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_virtual_network_taps_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type tap_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_04_01.models.VirtualNetworkTap :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkTap or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type tap_parameters: ~azure.mgmt.network.v2019_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkTap or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_virtual_networks_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_virtual_networks_operations.py index 7386a684faf6..25da59bc8389 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_virtual_networks_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_virtual_networks_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type virtual_network_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_04_01.models.VirtualNetwork :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetwork or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetwork or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_virtual_wans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_virtual_wans_operations.py index d1941f2048ca..f892632dcfc7 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_virtual_wans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_virtual_wans_operations.py @@ -91,7 +91,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualWAN', pipeline_response) @@ -145,7 +145,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -177,8 +177,8 @@ async def begin_create_or_update( :type wan_parameters: ~azure.mgmt.network.v2019_04_01.models.VirtualWAN :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualWAN or the result of cls(response) @@ -274,7 +274,7 @@ async def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -306,8 +306,8 @@ async def begin_update_tags( :type wan_parameters: ~azure.mgmt.network.v2019_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualWAN or the result of cls(response) @@ -397,7 +397,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -419,8 +419,8 @@ async def begin_delete( :type virtual_wan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -529,7 +529,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -596,7 +596,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_vpn_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_vpn_connections_operations.py index e3df87e86837..6d550170b4d6 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_vpn_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_vpn_connections_operations.py @@ -95,7 +95,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VpnConnection', pipeline_response) @@ -151,7 +151,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -187,8 +187,8 @@ async def begin_create_or_update( :type vpn_connection_parameters: ~azure.mgmt.network.v2019_04_01.models.VpnConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnConnection or the result of cls(response) @@ -282,7 +282,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -307,8 +307,8 @@ async def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -423,7 +423,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_vpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_vpn_gateways_operations.py index 37d914606ae3..6c796b0814bc 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_vpn_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_vpn_gateways_operations.py @@ -91,7 +91,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VpnGateway', pipeline_response) @@ -145,7 +145,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -178,8 +178,8 @@ async def begin_create_or_update( :type vpn_gateway_parameters: ~azure.mgmt.network.v2019_04_01.models.VpnGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnGateway or the result of cls(response) @@ -275,7 +275,7 @@ async def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -307,8 +307,8 @@ async def begin_update_tags( :type vpn_gateway_parameters: ~azure.mgmt.network.v2019_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnGateway or the result of cls(response) @@ -398,7 +398,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -420,8 +420,8 @@ async def begin_delete( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -533,8 +533,8 @@ async def begin_reset( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnGateway or the result of cls(response) @@ -646,7 +646,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -713,7 +713,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_vpn_sites_configuration_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_vpn_sites_configuration_operations.py index 5709bbbd04f1..6742793f1232 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_vpn_sites_configuration_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_vpn_sites_configuration_operations.py @@ -85,7 +85,7 @@ async def _download_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -111,8 +111,8 @@ async def begin_download( :type request: ~azure.mgmt.network.v2019_04_01.models.GetVpnSitesConfigurationRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_vpn_sites_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_vpn_sites_operations.py index f8047dfc43f3..6242a4b48fab 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_vpn_sites_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_vpn_sites_operations.py @@ -91,7 +91,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VpnSite', pipeline_response) @@ -145,7 +145,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -177,8 +177,8 @@ async def begin_create_or_update( :type vpn_site_parameters: ~azure.mgmt.network.v2019_04_01.models.VpnSite :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnSite or the result of cls(response) @@ -274,7 +274,7 @@ async def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -306,8 +306,8 @@ async def begin_update_tags( :type vpn_site_parameters: ~azure.mgmt.network.v2019_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnSite or the result of cls(response) @@ -397,7 +397,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -419,8 +419,8 @@ async def begin_delete( :type vpn_site_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -529,7 +529,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -596,7 +596,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_web_application_firewall_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_web_application_firewall_policies_operations.py index 9dc01ea8ece1..5a4ae4ba8733 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_web_application_firewall_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/aio/operations/_web_application_firewall_policies_operations.py @@ -363,8 +363,8 @@ async def begin_delete( :type policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/models/_models.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/models/_models.py index ca6bdeed54f2..8ed7ad69ea3e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/models/_models.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/models/_models.py @@ -102,58 +102,55 @@ class ApplicationGateway(Resource): :vartype operational_state: str or ~azure.mgmt.network.v2019_04_01.models.ApplicationGatewayOperationalState :param gateway_ip_configurations: Subnets of the application gateway resource. For default - limits, see `Application Gateway limits `_. + limits, see `Application Gateway limits + `_. :type gateway_ip_configurations: list[~azure.mgmt.network.v2019_04_01.models.ApplicationGatewayIPConfiguration] :param authentication_certificates: Authentication certificates of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type authentication_certificates: list[~azure.mgmt.network.v2019_04_01.models.ApplicationGatewayAuthenticationCertificate] :param trusted_root_certificates: Trusted Root certificates of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type trusted_root_certificates: list[~azure.mgmt.network.v2019_04_01.models.ApplicationGatewayTrustedRootCertificate] :param ssl_certificates: SSL certificates of the application gateway resource. For default - limits, see `Application Gateway limits `_. + limits, see `Application Gateway limits + `_. :type ssl_certificates: list[~azure.mgmt.network.v2019_04_01.models.ApplicationGatewaySslCertificate] :param frontend_ip_configurations: Frontend IP addresses of the application gateway resource. - For default limits, see `Application Gateway limits `_. + For default limits, see `Application Gateway limits + `_. :type frontend_ip_configurations: list[~azure.mgmt.network.v2019_04_01.models.ApplicationGatewayFrontendIPConfiguration] :param frontend_ports: Frontend ports of the application gateway resource. For default limits, - see `Application Gateway limits `_. + see `Application Gateway limits + `_. :type frontend_ports: list[~azure.mgmt.network.v2019_04_01.models.ApplicationGatewayFrontendPort] :param probes: Probes of the application gateway resource. :type probes: list[~azure.mgmt.network.v2019_04_01.models.ApplicationGatewayProbe] :param backend_address_pools: Backend address pool of the application gateway resource. For - default limits, see `Application Gateway limits `_. + default limits, see `Application Gateway limits + `_. :type backend_address_pools: list[~azure.mgmt.network.v2019_04_01.models.ApplicationGatewayBackendAddressPool] :param backend_http_settings_collection: Backend http settings of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type backend_http_settings_collection: list[~azure.mgmt.network.v2019_04_01.models.ApplicationGatewayBackendHttpSettings] :param http_listeners: Http listeners of the application gateway resource. For default limits, - see `Application Gateway limits `_. + see `Application Gateway limits + `_. :type http_listeners: list[~azure.mgmt.network.v2019_04_01.models.ApplicationGatewayHttpListener] :param url_path_maps: URL path map of the application gateway resource. For default limits, see - `Application Gateway limits `_. + `Application Gateway limits + `_. :type url_path_maps: list[~azure.mgmt.network.v2019_04_01.models.ApplicationGatewayUrlPathMap] :param request_routing_rules: Request routing rules of the application gateway resource. :type request_routing_rules: @@ -162,8 +159,8 @@ class ApplicationGateway(Resource): :type rewrite_rule_sets: list[~azure.mgmt.network.v2019_04_01.models.ApplicationGatewayRewriteRuleSet] :param redirect_configurations: Redirect configurations of the application gateway resource. - For default limits, see `Application Gateway limits `_. + For default limits, see `Application Gateway limits + `_. :type redirect_configurations: list[~azure.mgmt.network.v2019_04_01.models.ApplicationGatewayRedirectConfiguration] :param web_application_firewall_configuration: Web application firewall configuration. @@ -1647,7 +1644,7 @@ class ApplicationGatewayRewriteRuleCondition(msrest.serialization.Model): :param pattern: The pattern, either fixed string or regular expression, that evaluates the truthfulness of the condition. :type pattern: str - :param ignore_case: Setting this paramter to truth value with force the pattern to do a case + :param ignore_case: Setting this parameter to truth value with force the pattern to do a case in-sensitive comparison. :type ignore_case: bool :param negate: Setting this value as truth will force to check the negation of the condition @@ -4465,7 +4462,7 @@ class ContainerNetworkInterface(SubResource): ~azure.mgmt.network.v2019_04_01.models.ContainerNetworkInterfaceConfiguration :param container: Reference to the container to which this container network interface is attached. - :type container: ~azure.mgmt.network.v2019_04_01.models.SubResource + :type container: ~azure.mgmt.network.v2019_04_01.models.Container :param ip_configurations: Reference to the ip configuration on this container nic. :type ip_configurations: list[~azure.mgmt.network.v2019_04_01.models.ContainerNetworkInterfaceIpConfiguration] @@ -4484,7 +4481,7 @@ class ContainerNetworkInterface(SubResource): 'type': {'key': 'type', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, 'container_network_interface_configuration': {'key': 'properties.containerNetworkInterfaceConfiguration', 'type': 'ContainerNetworkInterfaceConfiguration'}, - 'container': {'key': 'properties.container', 'type': 'SubResource'}, + 'container': {'key': 'properties.container', 'type': 'Container'}, 'ip_configurations': {'key': 'properties.ipConfigurations', 'type': '[ContainerNetworkInterfaceIpConfiguration]'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, } @@ -10775,8 +10772,8 @@ class PacketCaptureStorageLocation(msrest.serialization.Model): :param storage_id: The ID of the storage account to save the packet capture session. Required if no local file path is provided. :type storage_id: str - :param storage_path: The URI of the storage path to save the packet capture. Must be a well- - formed URI describing the location to save the packet capture. + :param storage_path: The URI of the storage path to save the packet capture. Must be a + well-formed URI describing the location to save the packet capture. :type storage_path: str :param file_path: A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no @@ -11255,9 +11252,10 @@ class PrivateLinkService(Resource): :type private_endpoint_connections: list[~azure.mgmt.network.v2019_04_01.models.PrivateEndpointConnection] :param visibility: The visibility list of the private link service. - :type visibility: ~azure.mgmt.network.v2019_04_01.models.ResourceSet + :type visibility: ~azure.mgmt.network.v2019_04_01.models.PrivateLinkServicePropertiesVisibility :param auto_approval: The auto-approval list of the private link service. - :type auto_approval: ~azure.mgmt.network.v2019_04_01.models.ResourceSet + :type auto_approval: + ~azure.mgmt.network.v2019_04_01.models.PrivateLinkServicePropertiesAutoApproval :param fqdns: The list of Fqdn. :type fqdns: list[str] :ivar alias: The alias of the private link service. @@ -11284,8 +11282,8 @@ class PrivateLinkService(Resource): 'network_interfaces': {'key': 'properties.networkInterfaces', 'type': '[NetworkInterface]'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'private_endpoint_connections': {'key': 'properties.privateEndpointConnections', 'type': '[PrivateEndpointConnection]'}, - 'visibility': {'key': 'properties.visibility', 'type': 'ResourceSet'}, - 'auto_approval': {'key': 'properties.autoApproval', 'type': 'ResourceSet'}, + 'visibility': {'key': 'properties.visibility', 'type': 'PrivateLinkServicePropertiesVisibility'}, + 'auto_approval': {'key': 'properties.autoApproval', 'type': 'PrivateLinkServicePropertiesAutoApproval'}, 'fqdns': {'key': 'properties.fqdns', 'type': '[str]'}, 'alias': {'key': 'properties.alias', 'type': 'str'}, } @@ -14727,8 +14725,8 @@ class VirtualNetworkPeering(SubResource): :type use_remote_gateways: bool :param remote_virtual_network: The reference of the remote virtual network. The remote virtual network can be in the same or different region (preview). See here to register for the preview - and learn more (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create- - peering). + and learn more + (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering). :type remote_virtual_network: ~azure.mgmt.network.v2019_04_01.models.SubResource :param remote_address_space: The reference of the remote virtual network address space. :type remote_address_space: ~azure.mgmt.network.v2019_04_01.models.AddressSpace diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/models/_models_py3.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/models/_models_py3.py index c9ec7e83718f..35d5792d04cf 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/models/_models_py3.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/models/_models_py3.py @@ -113,58 +113,55 @@ class ApplicationGateway(Resource): :vartype operational_state: str or ~azure.mgmt.network.v2019_04_01.models.ApplicationGatewayOperationalState :param gateway_ip_configurations: Subnets of the application gateway resource. For default - limits, see `Application Gateway limits `_. + limits, see `Application Gateway limits + `_. :type gateway_ip_configurations: list[~azure.mgmt.network.v2019_04_01.models.ApplicationGatewayIPConfiguration] :param authentication_certificates: Authentication certificates of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type authentication_certificates: list[~azure.mgmt.network.v2019_04_01.models.ApplicationGatewayAuthenticationCertificate] :param trusted_root_certificates: Trusted Root certificates of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type trusted_root_certificates: list[~azure.mgmt.network.v2019_04_01.models.ApplicationGatewayTrustedRootCertificate] :param ssl_certificates: SSL certificates of the application gateway resource. For default - limits, see `Application Gateway limits `_. + limits, see `Application Gateway limits + `_. :type ssl_certificates: list[~azure.mgmt.network.v2019_04_01.models.ApplicationGatewaySslCertificate] :param frontend_ip_configurations: Frontend IP addresses of the application gateway resource. - For default limits, see `Application Gateway limits `_. + For default limits, see `Application Gateway limits + `_. :type frontend_ip_configurations: list[~azure.mgmt.network.v2019_04_01.models.ApplicationGatewayFrontendIPConfiguration] :param frontend_ports: Frontend ports of the application gateway resource. For default limits, - see `Application Gateway limits `_. + see `Application Gateway limits + `_. :type frontend_ports: list[~azure.mgmt.network.v2019_04_01.models.ApplicationGatewayFrontendPort] :param probes: Probes of the application gateway resource. :type probes: list[~azure.mgmt.network.v2019_04_01.models.ApplicationGatewayProbe] :param backend_address_pools: Backend address pool of the application gateway resource. For - default limits, see `Application Gateway limits `_. + default limits, see `Application Gateway limits + `_. :type backend_address_pools: list[~azure.mgmt.network.v2019_04_01.models.ApplicationGatewayBackendAddressPool] :param backend_http_settings_collection: Backend http settings of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type backend_http_settings_collection: list[~azure.mgmt.network.v2019_04_01.models.ApplicationGatewayBackendHttpSettings] :param http_listeners: Http listeners of the application gateway resource. For default limits, - see `Application Gateway limits `_. + see `Application Gateway limits + `_. :type http_listeners: list[~azure.mgmt.network.v2019_04_01.models.ApplicationGatewayHttpListener] :param url_path_maps: URL path map of the application gateway resource. For default limits, see - `Application Gateway limits `_. + `Application Gateway limits + `_. :type url_path_maps: list[~azure.mgmt.network.v2019_04_01.models.ApplicationGatewayUrlPathMap] :param request_routing_rules: Request routing rules of the application gateway resource. :type request_routing_rules: @@ -173,8 +170,8 @@ class ApplicationGateway(Resource): :type rewrite_rule_sets: list[~azure.mgmt.network.v2019_04_01.models.ApplicationGatewayRewriteRuleSet] :param redirect_configurations: Redirect configurations of the application gateway resource. - For default limits, see `Application Gateway limits `_. + For default limits, see `Application Gateway limits + `_. :type redirect_configurations: list[~azure.mgmt.network.v2019_04_01.models.ApplicationGatewayRedirectConfiguration] :param web_application_firewall_configuration: Web application firewall configuration. @@ -1904,7 +1901,7 @@ class ApplicationGatewayRewriteRuleCondition(msrest.serialization.Model): :param pattern: The pattern, either fixed string or regular expression, that evaluates the truthfulness of the condition. :type pattern: str - :param ignore_case: Setting this paramter to truth value with force the pattern to do a case + :param ignore_case: Setting this parameter to truth value with force the pattern to do a case in-sensitive comparison. :type ignore_case: bool :param negate: Setting this value as truth will force to check the negation of the condition @@ -5052,7 +5049,7 @@ class ContainerNetworkInterface(SubResource): ~azure.mgmt.network.v2019_04_01.models.ContainerNetworkInterfaceConfiguration :param container: Reference to the container to which this container network interface is attached. - :type container: ~azure.mgmt.network.v2019_04_01.models.SubResource + :type container: ~azure.mgmt.network.v2019_04_01.models.Container :param ip_configurations: Reference to the ip configuration on this container nic. :type ip_configurations: list[~azure.mgmt.network.v2019_04_01.models.ContainerNetworkInterfaceIpConfiguration] @@ -5071,7 +5068,7 @@ class ContainerNetworkInterface(SubResource): 'type': {'key': 'type', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, 'container_network_interface_configuration': {'key': 'properties.containerNetworkInterfaceConfiguration', 'type': 'ContainerNetworkInterfaceConfiguration'}, - 'container': {'key': 'properties.container', 'type': 'SubResource'}, + 'container': {'key': 'properties.container', 'type': 'Container'}, 'ip_configurations': {'key': 'properties.ipConfigurations', 'type': '[ContainerNetworkInterfaceIpConfiguration]'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, } @@ -5083,7 +5080,7 @@ def __init__( name: Optional[str] = None, etag: Optional[str] = None, container_network_interface_configuration: Optional["ContainerNetworkInterfaceConfiguration"] = None, - container: Optional["SubResource"] = None, + container: Optional["Container"] = None, ip_configurations: Optional[List["ContainerNetworkInterfaceIpConfiguration"]] = None, **kwargs ): @@ -12145,8 +12142,8 @@ class PacketCaptureStorageLocation(msrest.serialization.Model): :param storage_id: The ID of the storage account to save the packet capture session. Required if no local file path is provided. :type storage_id: str - :param storage_path: The URI of the storage path to save the packet capture. Must be a well- - formed URI describing the location to save the packet capture. + :param storage_path: The URI of the storage path to save the packet capture. Must be a + well-formed URI describing the location to save the packet capture. :type storage_path: str :param file_path: A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no @@ -12673,9 +12670,10 @@ class PrivateLinkService(Resource): :type private_endpoint_connections: list[~azure.mgmt.network.v2019_04_01.models.PrivateEndpointConnection] :param visibility: The visibility list of the private link service. - :type visibility: ~azure.mgmt.network.v2019_04_01.models.ResourceSet + :type visibility: ~azure.mgmt.network.v2019_04_01.models.PrivateLinkServicePropertiesVisibility :param auto_approval: The auto-approval list of the private link service. - :type auto_approval: ~azure.mgmt.network.v2019_04_01.models.ResourceSet + :type auto_approval: + ~azure.mgmt.network.v2019_04_01.models.PrivateLinkServicePropertiesAutoApproval :param fqdns: The list of Fqdn. :type fqdns: list[str] :ivar alias: The alias of the private link service. @@ -12702,8 +12700,8 @@ class PrivateLinkService(Resource): 'network_interfaces': {'key': 'properties.networkInterfaces', 'type': '[NetworkInterface]'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'private_endpoint_connections': {'key': 'properties.privateEndpointConnections', 'type': '[PrivateEndpointConnection]'}, - 'visibility': {'key': 'properties.visibility', 'type': 'ResourceSet'}, - 'auto_approval': {'key': 'properties.autoApproval', 'type': 'ResourceSet'}, + 'visibility': {'key': 'properties.visibility', 'type': 'PrivateLinkServicePropertiesVisibility'}, + 'auto_approval': {'key': 'properties.autoApproval', 'type': 'PrivateLinkServicePropertiesAutoApproval'}, 'fqdns': {'key': 'properties.fqdns', 'type': '[str]'}, 'alias': {'key': 'properties.alias', 'type': 'str'}, } @@ -12718,8 +12716,8 @@ def __init__( load_balancer_frontend_ip_configurations: Optional[List["FrontendIPConfiguration"]] = None, ip_configurations: Optional[List["PrivateLinkServiceIpConfiguration"]] = None, private_endpoint_connections: Optional[List["PrivateEndpointConnection"]] = None, - visibility: Optional["ResourceSet"] = None, - auto_approval: Optional["ResourceSet"] = None, + visibility: Optional["PrivateLinkServicePropertiesVisibility"] = None, + auto_approval: Optional["PrivateLinkServicePropertiesAutoApproval"] = None, fqdns: Optional[List[str]] = None, **kwargs ): @@ -16570,8 +16568,8 @@ class VirtualNetworkPeering(SubResource): :type use_remote_gateways: bool :param remote_virtual_network: The reference of the remote virtual network. The remote virtual network can be in the same or different region (preview). See here to register for the preview - and learn more (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create- - peering). + and learn more + (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering). :type remote_virtual_network: ~azure.mgmt.network.v2019_04_01.models.SubResource :param remote_address_space: The reference of the remote virtual network address space. :type remote_address_space: ~azure.mgmt.network.v2019_04_01.models.AddressSpace diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_application_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_application_gateways_operations.py index 7e286a96ffe2..03b4af31eb59 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_application_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_application_gateways_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_04_01.models.ApplicationGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGateway or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGateway or the result of cls(response) @@ -666,8 +666,8 @@ def begin_start( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -774,8 +774,8 @@ def begin_stop( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -895,8 +895,8 @@ def begin_backend_health( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGatewayBackendHealth or the result of cls(response) @@ -1030,8 +1030,8 @@ def begin_backend_health_on_demand( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGatewayBackendHealthOnDemand or the result of cls(response) @@ -1126,7 +1126,7 @@ def list_available_server_variables( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) @@ -1178,7 +1178,7 @@ def list_available_request_headers( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) @@ -1230,7 +1230,7 @@ def list_available_response_headers( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_application_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_application_security_groups_operations.py index da6ce920ef24..6d6759710f12 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_application_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_application_security_groups_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type application_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -291,8 +291,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_04_01.models.ApplicationSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationSecurityGroup or the result of cls(response) @@ -417,8 +417,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_azure_firewalls_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_azure_firewalls_operations.py index 8a36b74dc217..a5dc738d09dd 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_azure_firewalls_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_azure_firewalls_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type azure_firewall_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_04_01.models.AzureFirewall :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AzureFirewall or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_bastion_hosts_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_bastion_hosts_operations.py index 87533f4d42c0..f14885057cfb 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_bastion_hosts_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_bastion_hosts_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type bastion_host_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_04_01.models.BastionHost :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either BastionHost or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_connection_monitors_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_connection_monitors_operations.py index dd645901e097..0d33ce86001b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_connection_monitors_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_connection_monitors_operations.py @@ -93,7 +93,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -129,8 +129,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_04_01.models.ConnectionMonitor :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionMonitorResult or the result of cls(response) @@ -238,7 +238,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('ConnectionMonitorResult', pipeline_response) @@ -289,7 +289,7 @@ def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -315,8 +315,8 @@ def begin_delete( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -407,7 +407,7 @@ def _stop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -433,8 +433,8 @@ def begin_stop( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -525,7 +525,7 @@ def _start_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -551,8 +551,8 @@ def begin_start( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -643,7 +643,7 @@ def _query_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -676,8 +676,8 @@ def begin_query( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionMonitorQueryResult or the result of cls(response) @@ -796,7 +796,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_ddos_custom_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_ddos_custom_policies_operations.py index df01b00110a3..b3242bd0a7ee 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_ddos_custom_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_ddos_custom_policies_operations.py @@ -106,8 +106,8 @@ def begin_delete( :type ddos_custom_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -291,8 +291,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_04_01.models.DdosCustomPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either DdosCustomPolicy or the result of cls(response) @@ -417,8 +417,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either DdosCustomPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_ddos_protection_plans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_ddos_protection_plans_operations.py index d971927ea9d9..e2483521e9dc 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_ddos_protection_plans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_ddos_protection_plans_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type ddos_protection_plan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_04_01.models.DdosProtectionPlan :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either DdosProtectionPlan or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either DdosProtectionPlan or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_express_route_circuit_authorizations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_express_route_circuit_authorizations_operations.py index 89c6a571f881..af399157ae49 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_express_route_circuit_authorizations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_express_route_circuit_authorizations_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type authorization_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type authorization_parameters: ~azure.mgmt.network.v2019_04_01.models.ExpressRouteCircuitAuthorization :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitAuthorization or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_express_route_circuit_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_express_route_circuit_connections_operations.py index 0084c8bfd11f..bc768d715ebf 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_express_route_circuit_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_express_route_circuit_connections_operations.py @@ -116,8 +116,8 @@ def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -324,8 +324,8 @@ def begin_create_or_update( :type express_route_circuit_connection_parameters: ~azure.mgmt.network.v2019_04_01.models.ExpressRouteCircuitConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitConnection or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_express_route_circuit_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_express_route_circuit_peerings_operations.py index f297dc8e5b2f..0510a9a343b2 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_express_route_circuit_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_express_route_circuit_peerings_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2019_04_01.models.ExpressRouteCircuitPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_express_route_circuits_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_express_route_circuits_operations.py index ff120c76376d..d6e9183ac08b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_express_route_circuits_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_express_route_circuits_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type circuit_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_04_01.models.ExpressRouteCircuit :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -546,8 +546,8 @@ def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -679,8 +679,8 @@ def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) @@ -812,8 +812,8 @@ def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableSummaryListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_express_route_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_express_route_connections_operations.py index ee663771e7d7..f27af90313a0 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_express_route_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_express_route_connections_operations.py @@ -128,8 +128,8 @@ def begin_create_or_update( :type put_express_route_connection_parameters: ~azure.mgmt.network.v2019_04_01.models.ExpressRouteConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteConnection or the result of cls(response) @@ -310,8 +310,8 @@ def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_express_route_cross_connection_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_express_route_cross_connection_peerings_operations.py index 2c00c3fb602f..95bc91462b5e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_express_route_cross_connection_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_express_route_cross_connection_peerings_operations.py @@ -185,8 +185,8 @@ def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -382,8 +382,8 @@ def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2019_04_01.models.ExpressRouteCrossConnectionPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCrossConnectionPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_express_route_cross_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_express_route_cross_connections_operations.py index 9ddd2d2214ae..aff32cabf2ad 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_express_route_cross_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_express_route_cross_connections_operations.py @@ -317,8 +317,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_04_01.models.ExpressRouteCrossConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCrossConnection or the result of cls(response) @@ -444,8 +444,8 @@ def begin_update_tags( :type cross_connection_parameters: ~azure.mgmt.network.v2019_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCrossConnection or the result of cls(response) @@ -574,8 +574,8 @@ def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -707,8 +707,8 @@ def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCrossConnectionsRoutesTableSummaryListResult or the result of cls(response) @@ -840,8 +840,8 @@ def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_express_route_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_express_route_gateways_operations.py index 69a8b2b4030e..5477d48fbf4b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_express_route_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_express_route_gateways_operations.py @@ -229,8 +229,8 @@ def begin_create_or_update( :type put_express_route_gateway_parameters: ~azure.mgmt.network.v2019_04_01.models.ExpressRouteGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteGateway or the result of cls(response) @@ -401,8 +401,8 @@ def begin_delete( :type express_route_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_express_route_ports_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_express_route_ports_operations.py index d13fc8babeaa..c23baf7834c1 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_express_route_ports_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_express_route_ports_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type express_route_port_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_04_01.models.ExpressRoutePort :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRoutePort or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRoutePort or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_hub_virtual_network_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_hub_virtual_network_connections_operations.py index be55d44f64ed..1fb57be38a80 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_hub_virtual_network_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_hub_virtual_network_connections_operations.py @@ -98,7 +98,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('HubVirtualNetworkConnection', pipeline_response) @@ -174,7 +174,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_inbound_nat_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_inbound_nat_rules_operations.py index 111dcb904f64..208f2bd514a6 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_inbound_nat_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_inbound_nat_rules_operations.py @@ -185,8 +185,8 @@ def begin_delete( :type inbound_nat_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -387,8 +387,8 @@ def begin_create_or_update( :type inbound_nat_rule_parameters: ~azure.mgmt.network.v2019_04_01.models.InboundNatRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either InboundNatRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_load_balancers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_load_balancers_operations.py index c227b5b12405..9032b0b4fc22 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_load_balancers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_load_balancers_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type load_balancer_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_04_01.models.LoadBalancer :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LoadBalancer or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LoadBalancer or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_local_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_local_network_gateways_operations.py index 5d63be646c90..475c17dbb6fd 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_local_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_local_network_gateways_operations.py @@ -123,8 +123,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_04_01.models.LocalNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LocalNetworkGateway or the result of cls(response) @@ -294,8 +294,8 @@ def begin_delete( :type local_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LocalNetworkGateway or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_nat_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_nat_gateways_operations.py index 5583c644590b..beff53a00d45 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_nat_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_nat_gateways_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type nat_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_04_01.models.NatGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NatGateway or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_network_interface_tap_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_network_interface_tap_configurations_operations.py index c70de631e136..0af454b329b1 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_network_interface_tap_configurations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_network_interface_tap_configurations_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type tap_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type tap_configuration_parameters: ~azure.mgmt.network.v2019_04_01.models.NetworkInterfaceTapConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkInterfaceTapConfiguration or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_network_interfaces_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_network_interfaces_operations.py index 4e674790f1d2..54fc18b6af07 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_network_interfaces_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_network_interfaces_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_04_01.models.NetworkInterface :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkInterface or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkInterface or the result of cls(response) @@ -678,8 +678,8 @@ def begin_get_effective_route_table( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either EffectiveRouteListResult or the result of cls(response) @@ -796,8 +796,8 @@ def begin_list_effective_network_security_groups( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either EffectiveNetworkSecurityGroupListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_network_management_client_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_network_management_client_operations.py index 5fc7b4a0413c..6f6e4e22d906 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_network_management_client_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_network_management_client_operations.py @@ -134,7 +134,7 @@ def supported_security_providers( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualWanSecurityProviders', pipeline_response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_network_profiles_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_network_profiles_operations.py index f30ba48f4992..24f5ebde9a84 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_network_profiles_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_network_profiles_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type network_profile_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_network_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_network_security_groups_operations.py index 6a6b022311b1..d07fca03680c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_network_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_network_security_groups_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type network_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -296,8 +296,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_04_01.models.NetworkSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkSecurityGroup or the result of cls(response) @@ -422,8 +422,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_network_watchers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_network_watchers_operations.py index a8800ee4412f..11e3c75cb2eb 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_network_watchers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_network_watchers_operations.py @@ -104,7 +104,7 @@ def create_or_update( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -168,7 +168,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('NetworkWatcher', pipeline_response) @@ -217,7 +217,7 @@ def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -240,8 +240,8 @@ def begin_delete( :type network_watcher_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -347,7 +347,7 @@ def update_tags( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('NetworkWatcher', pipeline_response) @@ -419,7 +419,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -487,7 +487,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -555,7 +555,7 @@ def get_topology( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('Topology', pipeline_response) @@ -610,7 +610,7 @@ def _verify_ip_flow_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -643,8 +643,8 @@ def begin_verify_ip_flow( :type parameters: ~azure.mgmt.network.v2019_04_01.models.VerificationIPFlowParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VerificationIPFlowResult or the result of cls(response) @@ -741,7 +741,7 @@ def _get_next_hop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -774,8 +774,8 @@ def begin_get_next_hop( :type parameters: ~azure.mgmt.network.v2019_04_01.models.NextHopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NextHopResult or the result of cls(response) @@ -872,7 +872,7 @@ def _get_vm_security_rules_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -905,8 +905,8 @@ def begin_get_vm_security_rules( :type parameters: ~azure.mgmt.network.v2019_04_01.models.SecurityGroupViewParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either SecurityGroupViewResult or the result of cls(response) @@ -1003,7 +1003,7 @@ def _get_troubleshooting_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1036,8 +1036,8 @@ def begin_get_troubleshooting( :type parameters: ~azure.mgmt.network.v2019_04_01.models.TroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1134,7 +1134,7 @@ def _get_troubleshooting_result_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1167,8 +1167,8 @@ def begin_get_troubleshooting_result( :type parameters: ~azure.mgmt.network.v2019_04_01.models.QueryTroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1265,7 +1265,7 @@ def _set_flow_log_configuration_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1298,8 +1298,8 @@ def begin_set_flow_log_configuration( :type parameters: ~azure.mgmt.network.v2019_04_01.models.FlowLogInformation :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1396,7 +1396,7 @@ def _get_flow_log_status_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1430,8 +1430,8 @@ def begin_get_flow_log_status( :type parameters: ~azure.mgmt.network.v2019_04_01.models.FlowLogStatusParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1528,7 +1528,7 @@ def _check_connectivity_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1562,8 +1562,8 @@ def begin_check_connectivity( :type parameters: ~azure.mgmt.network.v2019_04_01.models.ConnectivityParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectivityInformation or the result of cls(response) @@ -1660,7 +1660,7 @@ def _get_azure_reachability_report_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1694,8 +1694,8 @@ def begin_get_azure_reachability_report( :type parameters: ~azure.mgmt.network.v2019_04_01.models.AzureReachabilityReportParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AzureReachabilityReport or the result of cls(response) @@ -1792,7 +1792,7 @@ def _list_available_providers_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1825,8 +1825,8 @@ def begin_list_available_providers( :type parameters: ~azure.mgmt.network.v2019_04_01.models.AvailableProvidersListParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AvailableProvidersList or the result of cls(response) @@ -1923,7 +1923,7 @@ def _get_network_configuration_diagnostic_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1956,8 +1956,8 @@ def begin_get_network_configuration_diagnostic( :type parameters: ~azure.mgmt.network.v2019_04_01.models.NetworkConfigurationDiagnosticParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkConfigurationDiagnosticResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_p2_svpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_p2_svpn_gateways_operations.py index 692695f70df8..871af4101ac4 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_p2_svpn_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_p2_svpn_gateways_operations.py @@ -96,7 +96,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('P2SVpnGateway', pipeline_response) @@ -151,7 +151,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -185,8 +185,8 @@ def begin_create_or_update( :type p2_s_vpn_gateway_parameters: ~azure.mgmt.network.v2019_04_01.models.P2SVpnGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -283,7 +283,7 @@ def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -317,8 +317,8 @@ def begin_update_tags( :type p2_s_vpn_gateway_parameters: ~azure.mgmt.network.v2019_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -409,7 +409,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -432,8 +432,8 @@ def begin_delete( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -543,7 +543,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -611,7 +611,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -697,8 +697,8 @@ def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2019_04_01.models.P2SVpnProfileParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnProfileResponse or the result of cls(response) @@ -817,8 +817,8 @@ def begin_get_p2_s_vpn_connection_health( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either P2SVpnGateway or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_p2_svpn_server_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_p2_svpn_server_configurations_operations.py index 7d13216662ee..1f7cfb8b4b14 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_p2_svpn_server_configurations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_p2_svpn_server_configurations_operations.py @@ -100,7 +100,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('P2SVpnServerConfiguration', pipeline_response) @@ -157,7 +157,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -195,8 +195,8 @@ def begin_create_or_update( :type p2_s_vpn_server_configuration_parameters: ~azure.mgmt.network.v2019_04_01.models.P2SVpnServerConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either P2SVpnServerConfiguration or the result of cls(response) @@ -291,7 +291,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -317,8 +317,8 @@ def begin_delete( :type p2_s_vpn_server_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -434,7 +434,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_packet_captures_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_packet_captures_operations.py index dd43506d2150..271627fbfa70 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_packet_captures_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_packet_captures_operations.py @@ -93,7 +93,7 @@ def _create_initial( if response.status_code not in [201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PacketCaptureResult', pipeline_response) @@ -125,8 +125,8 @@ def begin_create( :type parameters: ~azure.mgmt.network.v2019_04_01.models.PacketCapture :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PacketCaptureResult or the result of cls(response) @@ -234,7 +234,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PacketCaptureResult', pipeline_response) @@ -285,7 +285,7 @@ def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -311,8 +311,8 @@ def begin_delete( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -403,7 +403,7 @@ def _stop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -429,8 +429,8 @@ def begin_stop( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -521,7 +521,7 @@ def _get_status_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -554,8 +554,8 @@ def begin_get_status( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PacketCaptureQueryStatusResult or the result of cls(response) @@ -674,7 +674,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_private_endpoints_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_private_endpoints_operations.py index f89441772015..2a1b8e70848d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_private_endpoints_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_private_endpoints_operations.py @@ -85,7 +85,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -108,8 +108,8 @@ def begin_delete( :type private_endpoint_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -212,7 +212,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateEndpoint', pipeline_response) @@ -267,7 +267,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -300,8 +300,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_04_01.models.PrivateEndpoint :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PrivateEndpoint or the result of cls(response) @@ -415,7 +415,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -483,7 +483,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_private_link_services_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_private_link_services_operations.py index 20dfb180b876..9e5fe4cbff1d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_private_link_services_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_private_link_services_operations.py @@ -85,7 +85,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -108,8 +108,8 @@ def begin_delete( :type service_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -212,7 +212,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateLinkService', pipeline_response) @@ -267,7 +267,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -300,8 +300,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_04_01.models.PrivateLinkService :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PrivateLinkService or the result of cls(response) @@ -415,7 +415,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -483,7 +483,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -555,7 +555,7 @@ def update_private_endpoint_connection( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateEndpointConnection', pipeline_response) @@ -606,7 +606,7 @@ def _delete_private_endpoint_connection_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -632,8 +632,8 @@ def begin_delete_private_endpoint_connection( :type pe_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -753,8 +753,8 @@ def begin_check_private_link_service_visibility( :type parameters: ~azure.mgmt.network.v2019_04_01.models.CheckPrivateLinkServiceVisibilityRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PrivateLinkServiceVisibility or the result of cls(response) @@ -879,8 +879,8 @@ def begin_check_private_link_service_visibility_by_resource_group( :type parameters: ~azure.mgmt.network.v2019_04_01.models.CheckPrivateLinkServiceVisibilityRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PrivateLinkServiceVisibility or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_public_ip_addresses_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_public_ip_addresses_operations.py index eac4b6c8585c..08b381ea5367 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_public_ip_addresses_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_public_ip_addresses_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type public_ip_address_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_04_01.models.PublicIPAddress :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PublicIPAddress or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PublicIPAddress or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_public_ip_prefixes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_public_ip_prefixes_operations.py index 8563df62f410..492bb5972792 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_public_ip_prefixes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_public_ip_prefixes_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type public_ip_prefix_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_04_01.models.PublicIPPrefix :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PublicIPPrefix or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PublicIPPrefix or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_route_filter_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_route_filter_rules_operations.py index c1e52d3cf944..935470283755 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_route_filter_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_route_filter_rules_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2019_04_01.models.RouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilterRule or the result of cls(response) @@ -441,8 +441,8 @@ def begin_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2019_04_01.models.PatchRouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilterRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_route_filters_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_route_filters_operations.py index 86500bba3b1c..7dc61b900dad 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_route_filters_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_route_filters_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type route_filter_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -296,8 +296,8 @@ def begin_create_or_update( :type route_filter_parameters: ~azure.mgmt.network.v2019_04_01.models.RouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilter or the result of cls(response) @@ -422,8 +422,8 @@ def begin_update( :type route_filter_parameters: ~azure.mgmt.network.v2019_04_01.models.PatchRouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilter or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_route_tables_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_route_tables_operations.py index 492118bfd6d0..9c7e3e76b1eb 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_route_tables_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_route_tables_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_04_01.models.RouteTable :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteTable or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteTable or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_routes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_routes_operations.py index da4c9b94e664..07bc609e92e4 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_routes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_routes_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type route_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -306,8 +306,8 @@ def begin_create_or_update( :type route_parameters: ~azure.mgmt.network.v2019_04_01.models.Route :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Route or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_security_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_security_rules_operations.py index eb92e97e8ea3..c6b72b8ed76b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_security_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_security_rules_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type security_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type security_rule_parameters: ~azure.mgmt.network.v2019_04_01.models.SecurityRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either SecurityRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_service_endpoint_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_service_endpoint_policies_operations.py index 198993e831ae..232fbc48df04 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_service_endpoint_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_service_endpoint_policies_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type service_endpoint_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -296,8 +296,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_04_01.models.ServiceEndpointPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ServiceEndpointPolicy or the result of cls(response) @@ -422,8 +422,8 @@ def begin_update( :type parameters: ~azure.mgmt.network.v2019_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ServiceEndpointPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_service_endpoint_policy_definitions_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_service_endpoint_policy_definitions_operations.py index f385e70ee49a..4c0402e6e0bf 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_service_endpoint_policy_definitions_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_service_endpoint_policy_definitions_operations.py @@ -111,8 +111,8 @@ def begin_delete( :type service_endpoint_policy_definition_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -311,8 +311,8 @@ def begin_create_or_update( :type service_endpoint_policy_definitions: ~azure.mgmt.network.v2019_04_01.models.ServiceEndpointPolicyDefinition :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ServiceEndpointPolicyDefinition or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_subnets_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_subnets_operations.py index 2940b4863092..4abc635f3c9d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_subnets_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_subnets_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type subnet_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -311,8 +311,8 @@ def begin_create_or_update( :type subnet_parameters: ~azure.mgmt.network.v2019_04_01.models.Subnet :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Subnet or the result of cls(response) @@ -440,8 +440,8 @@ def begin_prepare_network_policies( :type prepare_network_policies_request_parameters: ~azure.mgmt.network.v2019_04_01.models.PrepareNetworkPoliciesRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_virtual_hubs_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_virtual_hubs_operations.py index 27f1e9d50966..ad904d7079fc 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_virtual_hubs_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_virtual_hubs_operations.py @@ -96,7 +96,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualHub', pipeline_response) @@ -151,7 +151,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -184,8 +184,8 @@ def begin_create_or_update( :type virtual_hub_parameters: ~azure.mgmt.network.v2019_04_01.models.VirtualHub :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualHub or the result of cls(response) @@ -282,7 +282,7 @@ def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -315,8 +315,8 @@ def begin_update_tags( :type virtual_hub_parameters: ~azure.mgmt.network.v2019_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualHub or the result of cls(response) @@ -407,7 +407,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -430,8 +430,8 @@ def begin_delete( :type virtual_hub_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -541,7 +541,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -609,7 +609,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_virtual_network_gateway_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_virtual_network_gateway_connections_operations.py index a7c42f0a8048..998007b3ef62 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_virtual_network_gateway_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_virtual_network_gateway_connections_operations.py @@ -125,8 +125,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_04_01.models.VirtualNetworkGatewayConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -298,8 +298,8 @@ def begin_delete( :type virtual_network_gateway_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -554,8 +554,8 @@ def begin_set_shared_key( :type parameters: ~azure.mgmt.network.v2019_04_01.models.ConnectionSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionSharedKey or the result of cls(response) @@ -819,8 +819,8 @@ def begin_reset_shared_key( :type parameters: ~azure.mgmt.network.v2019_04_01.models.ConnectionResetSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionResetSharedKey or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_virtual_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_virtual_network_gateways_operations.py index df61ac42f703..0684bc751946 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_virtual_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_virtual_network_gateways_operations.py @@ -123,8 +123,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_04_01.models.VirtualNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -294,8 +294,8 @@ def begin_delete( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -688,8 +688,8 @@ def begin_reset( :type gateway_vip: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -801,8 +801,8 @@ def begin_reset_vpn_client_shared_key( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -927,8 +927,8 @@ def begin_generatevpnclientpackage( :type parameters: ~azure.mgmt.network.v2019_04_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1057,8 +1057,8 @@ def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2019_04_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1177,8 +1177,8 @@ def begin_get_vpn_profile_package_url( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1301,8 +1301,8 @@ def begin_get_bgp_peer_status( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either BgpPeerStatusListResult or the result of cls(response) @@ -1480,8 +1480,8 @@ def begin_get_learned_routes( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1604,8 +1604,8 @@ def begin_get_advertised_routes( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1734,8 +1734,8 @@ def begin_set_vpnclient_ipsec_parameters( :type vpnclient_ipsec_params: ~azure.mgmt.network.v2019_04_01.models.VpnClientIPsecParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnClientIPsecParameters or the result of cls(response) @@ -1853,8 +1853,8 @@ def begin_get_vpnclient_ipsec_parameters( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnClientIPsecParameters or the result of cls(response) @@ -2040,8 +2040,8 @@ def begin_get_vpnclient_connection_health( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnClientConnectionHealthDetailListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_virtual_network_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_virtual_network_peerings_operations.py index ec8ddb8dcfa6..2b90912d20be 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_virtual_network_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_virtual_network_peerings_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type virtual_network_peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type virtual_network_peering_parameters: ~azure.mgmt.network.v2019_04_01.models.VirtualNetworkPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_virtual_network_taps_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_virtual_network_taps_operations.py index 195c95324aee..7896d10e5fbd 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_virtual_network_taps_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_virtual_network_taps_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type tap_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_04_01.models.VirtualNetworkTap :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkTap or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type tap_parameters: ~azure.mgmt.network.v2019_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkTap or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_virtual_networks_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_virtual_networks_operations.py index b964567fdc86..987b87bddb4c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_virtual_networks_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_virtual_networks_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type virtual_network_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_04_01.models.VirtualNetwork :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetwork or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetwork or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_virtual_wans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_virtual_wans_operations.py index 0b4a6c57e3d7..7b964f808776 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_virtual_wans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_virtual_wans_operations.py @@ -96,7 +96,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualWAN', pipeline_response) @@ -151,7 +151,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -184,8 +184,8 @@ def begin_create_or_update( :type wan_parameters: ~azure.mgmt.network.v2019_04_01.models.VirtualWAN :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualWAN or the result of cls(response) @@ -282,7 +282,7 @@ def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -315,8 +315,8 @@ def begin_update_tags( :type wan_parameters: ~azure.mgmt.network.v2019_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualWAN or the result of cls(response) @@ -407,7 +407,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -430,8 +430,8 @@ def begin_delete( :type virtual_wan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -541,7 +541,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -609,7 +609,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_vpn_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_vpn_connections_operations.py index 3875e7d71d21..b22e3962e2a9 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_vpn_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_vpn_connections_operations.py @@ -100,7 +100,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VpnConnection', pipeline_response) @@ -157,7 +157,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -194,8 +194,8 @@ def begin_create_or_update( :type vpn_connection_parameters: ~azure.mgmt.network.v2019_04_01.models.VpnConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnConnection or the result of cls(response) @@ -290,7 +290,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -316,8 +316,8 @@ def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -433,7 +433,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_vpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_vpn_gateways_operations.py index fa56bd72399d..0caf69ed8451 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_vpn_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_vpn_gateways_operations.py @@ -96,7 +96,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VpnGateway', pipeline_response) @@ -151,7 +151,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -185,8 +185,8 @@ def begin_create_or_update( :type vpn_gateway_parameters: ~azure.mgmt.network.v2019_04_01.models.VpnGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnGateway or the result of cls(response) @@ -283,7 +283,7 @@ def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -316,8 +316,8 @@ def begin_update_tags( :type vpn_gateway_parameters: ~azure.mgmt.network.v2019_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnGateway or the result of cls(response) @@ -408,7 +408,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -431,8 +431,8 @@ def begin_delete( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -546,8 +546,8 @@ def begin_reset( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnGateway or the result of cls(response) @@ -660,7 +660,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -728,7 +728,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_vpn_sites_configuration_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_vpn_sites_configuration_operations.py index 1bb4e36b5ab7..6a12d1dc1007 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_vpn_sites_configuration_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_vpn_sites_configuration_operations.py @@ -90,7 +90,7 @@ def _download_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -117,8 +117,8 @@ def begin_download( :type request: ~azure.mgmt.network.v2019_04_01.models.GetVpnSitesConfigurationRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_vpn_sites_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_vpn_sites_operations.py index 04952cb27885..99b146480363 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_vpn_sites_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_vpn_sites_operations.py @@ -96,7 +96,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VpnSite', pipeline_response) @@ -151,7 +151,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -184,8 +184,8 @@ def begin_create_or_update( :type vpn_site_parameters: ~azure.mgmt.network.v2019_04_01.models.VpnSite :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnSite or the result of cls(response) @@ -282,7 +282,7 @@ def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -315,8 +315,8 @@ def begin_update_tags( :type vpn_site_parameters: ~azure.mgmt.network.v2019_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnSite or the result of cls(response) @@ -407,7 +407,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -430,8 +430,8 @@ def begin_delete( :type vpn_site_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -541,7 +541,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -609,7 +609,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_web_application_firewall_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_web_application_firewall_policies_operations.py index c4192c77d8a8..1661c488e7ce 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_web_application_firewall_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_04_01/operations/_web_application_firewall_policies_operations.py @@ -373,8 +373,8 @@ def begin_delete( :type policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/_metadata.json b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/_metadata.json index 5ab7239dc0c5..f0459b58517d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/_metadata.json +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/_metadata.json @@ -9,7 +9,9 @@ "custom_base_url": null, "azure_arm": true, "has_lro_operations": true, - "client_side_validation": true + "client_side_validation": false, + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"NetworkManagementClientConfiguration\"], \"._operations_mixin\": [\"NetworkManagementClientOperationsMixin\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"NetworkManagementClientConfiguration\"], \"._operations_mixin\": [\"NetworkManagementClientOperationsMixin\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}" }, "global_parameters": { "sync": { @@ -28,13 +30,13 @@ }, "async": { "credential": { - "signature": "credential, # type: \"AsyncTokenCredential\"", + "signature": "credential: \"AsyncTokenCredential\",", "description": "Credential needed for the client to connect to Azure.", "docstring_type": "~azure.core.credentials_async.AsyncTokenCredential", "required": true }, "subscription_id": { - "signature": "subscription_id, # type: str", + "signature": "subscription_id: str,", "description": "The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.", "docstring_type": "str", "required": true @@ -42,14 +44,58 @@ }, "constant": { }, - "call": "credential, subscription_id" + "call": "credential, subscription_id", + "service_client_specific": { + "sync": { + "api_version": { + "signature": "api_version=None, # type: Optional[str]", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url=None, # type: Optional[str]", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile=KnownProfiles.default, # type: KnownProfiles", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + }, + "async": { + "api_version": { + "signature": "api_version: Optional[str] = None,", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url: Optional[str] = None,", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile: KnownProfiles = KnownProfiles.default,", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + } + } }, "config": { "credential": true, "credential_scopes": ["https://management.azure.com/.default"], "credential_default_policy_type": "BearerTokenCredentialPolicy", "credential_default_policy_type_has_async_version": true, - "credential_key_header_name": null + "credential_key_header_name": null, + "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMHttpLoggingPolicy\"]}, \"local\": {\"._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}}", + "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMHttpLoggingPolicy\"]}, \"local\": {\".._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}}" }, "operation_groups": { "application_gateways": "ApplicationGatewaysOperations", @@ -136,31 +182,33 @@ "web_application_firewall_policies": "WebApplicationFirewallPoliciesOperations" }, "operation_mixins": { - "check_dns_name_availability" : { - "sync": { - "signature": "def check_dns_name_availability(\n self,\n location, # type: str\n domain_name_label, # type: str\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_06_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def check_dns_name_availability(\n self,\n location: str,\n domain_name_label: str,\n **kwargs\n) -\u003e \"_models.DnsNameAvailabilityResult\":\n", - "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_06_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "location, domain_name_label" - }, - "supported_security_providers" : { - "sync": { - "signature": "def supported_security_providers(\n self,\n resource_group_name, # type: str\n virtual_wan_name, # type: str\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Gives the supported security providers for the virtual wan.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN for which supported security providers are\n needed.\n:type virtual_wan_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VirtualWanSecurityProviders, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_06_01.models.VirtualWanSecurityProviders\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\"]}}}", + "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\"]}}}", + "operations": { + "check_dns_name_availability" : { + "sync": { + "signature": "def check_dns_name_availability(\n self,\n location, # type: str\n domain_name_label, # type: str\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_06_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def check_dns_name_availability(\n self,\n location: str,\n domain_name_label: str,\n **kwargs\n) -\u003e \"_models.DnsNameAvailabilityResult\":\n", + "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_06_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "location, domain_name_label" }, - "async": { - "coroutine": true, - "signature": "async def supported_security_providers(\n self,\n resource_group_name: str,\n virtual_wan_name: str,\n **kwargs\n) -\u003e \"_models.VirtualWanSecurityProviders\":\n", - "doc": "\"\"\"Gives the supported security providers for the virtual wan.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN for which supported security providers are\n needed.\n:type virtual_wan_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VirtualWanSecurityProviders, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_06_01.models.VirtualWanSecurityProviders\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "resource_group_name, virtual_wan_name" + "supported_security_providers" : { + "sync": { + "signature": "def supported_security_providers(\n self,\n resource_group_name, # type: str\n virtual_wan_name, # type: str\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Gives the supported security providers for the virtual wan.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN for which supported security providers are\n needed.\n:type virtual_wan_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VirtualWanSecurityProviders, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_06_01.models.VirtualWanSecurityProviders\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def supported_security_providers(\n self,\n resource_group_name: str,\n virtual_wan_name: str,\n **kwargs\n) -\u003e \"_models.VirtualWanSecurityProviders\":\n", + "doc": "\"\"\"Gives the supported security providers for the virtual wan.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN for which supported security providers are\n needed.\n:type virtual_wan_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VirtualWanSecurityProviders, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_06_01.models.VirtualWanSecurityProviders\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "resource_group_name, virtual_wan_name" + } } - }, - "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\"]}}}", - "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\"]}}}" + } } \ No newline at end of file diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/_network_management_client.py index 4f7625db6097..ec6f6d5f5c9d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/_network_management_client.py @@ -16,6 +16,7 @@ from typing import Any, Optional from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse from ._configuration import NetworkManagementClientConfiguration from .operations import ApplicationGatewaysOperations @@ -294,6 +295,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( @@ -461,6 +463,24 @@ def __init__( self.web_application_firewall_policies = WebApplicationFirewallPoliciesOperations( self._client, self._config, self._serialize, self._deserialize) + def _send_request(self, http_request, **kwargs): + # type: (HttpRequest, Any) -> HttpResponse + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.HttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + def close(self): # type: () -> None self._client.close() diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/_network_management_client.py index a27a5acc22be..9f96ad5df829 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/_network_management_client.py @@ -8,6 +8,7 @@ from typing import Any, Optional, TYPE_CHECKING +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core import AsyncARMPipelineClient from msrest import Deserializer, Serializer @@ -291,6 +292,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( @@ -458,6 +460,23 @@ def __init__( self.web_application_firewall_policies = WebApplicationFirewallPoliciesOperations( self._client, self._config, self._serialize, self._deserialize) + async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + async def close(self) -> None: await self._client.close() diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_application_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_application_gateways_operations.py index 08cd595c6597..e8d09a8525ec 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_application_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_application_gateways_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_06_01.models.ApplicationGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGateway or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGateway or the result of cls(response) @@ -651,8 +651,8 @@ async def begin_start( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -757,8 +757,8 @@ async def begin_stop( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -876,8 +876,8 @@ async def begin_backend_health( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGatewayBackendHealth or the result of cls(response) @@ -1009,8 +1009,8 @@ async def begin_backend_health_on_demand( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGatewayBackendHealthOnDemand or the result of cls(response) @@ -1104,7 +1104,7 @@ async def list_available_server_variables( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) @@ -1155,7 +1155,7 @@ async def list_available_request_headers( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) @@ -1206,7 +1206,7 @@ async def list_available_response_headers( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_application_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_application_security_groups_operations.py index 80cd63ba9d92..16ab6266c249 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_application_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_application_security_groups_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type application_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -282,8 +282,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_06_01.models.ApplicationSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationSecurityGroup or the result of cls(response) @@ -406,8 +406,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_azure_firewalls_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_azure_firewalls_operations.py index e6c1148830da..97f1a87d3105 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_azure_firewalls_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_azure_firewalls_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type azure_firewall_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_06_01.models.AzureFirewall :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AzureFirewall or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_bastion_hosts_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_bastion_hosts_operations.py index d2ff8d876579..260c2c88bf67 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_bastion_hosts_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_bastion_hosts_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type bastion_host_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_06_01.models.BastionHost :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either BastionHost or the result of cls(response) @@ -378,7 +378,7 @@ async def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -410,8 +410,8 @@ async def begin_update_tags( :type bastion_host_parameters: ~azure.mgmt.network.v2019_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either BastionHost or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_connection_monitors_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_connection_monitors_operations.py index de912327c72a..33189a8828dc 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_connection_monitors_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_connection_monitors_operations.py @@ -88,7 +88,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -123,8 +123,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_06_01.models.ConnectionMonitor :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionMonitorResult or the result of cls(response) @@ -231,7 +231,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('ConnectionMonitorResult', pipeline_response) @@ -281,7 +281,7 @@ async def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -306,8 +306,8 @@ async def begin_delete( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -418,7 +418,7 @@ async def update_tags( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('ConnectionMonitorResult', pipeline_response) @@ -468,7 +468,7 @@ async def _stop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -493,8 +493,8 @@ async def begin_stop( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -584,7 +584,7 @@ async def _start_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -609,8 +609,8 @@ async def begin_start( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -700,7 +700,7 @@ async def _query_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -732,8 +732,8 @@ async def begin_query( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionMonitorQueryResult or the result of cls(response) @@ -851,7 +851,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_ddos_custom_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_ddos_custom_policies_operations.py index c0a058f46546..2bd23166fa5f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_ddos_custom_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_ddos_custom_policies_operations.py @@ -100,8 +100,8 @@ async def begin_delete( :type ddos_custom_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -282,8 +282,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_06_01.models.DdosCustomPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either DdosCustomPolicy or the result of cls(response) @@ -406,8 +406,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either DdosCustomPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_ddos_protection_plans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_ddos_protection_plans_operations.py index 150f1763228a..9eb64e654524 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_ddos_protection_plans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_ddos_protection_plans_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type ddos_protection_plan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_06_01.models.DdosProtectionPlan :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either DdosProtectionPlan or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either DdosProtectionPlan or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_express_route_circuit_authorizations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_express_route_circuit_authorizations_operations.py index 07d91164df91..ae2d6c1d3d21 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_express_route_circuit_authorizations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_express_route_circuit_authorizations_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type authorization_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type authorization_parameters: ~azure.mgmt.network.v2019_06_01.models.ExpressRouteCircuitAuthorization :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitAuthorization or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_express_route_circuit_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_express_route_circuit_connections_operations.py index 8d6c6b479971..1fa5f59cd16b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_express_route_circuit_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_express_route_circuit_connections_operations.py @@ -110,8 +110,8 @@ async def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -315,8 +315,8 @@ async def begin_create_or_update( :type express_route_circuit_connection_parameters: ~azure.mgmt.network.v2019_06_01.models.ExpressRouteCircuitConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitConnection or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_express_route_circuit_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_express_route_circuit_peerings_operations.py index 011164de4b72..d40540b4d17f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_express_route_circuit_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_express_route_circuit_peerings_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2019_06_01.models.ExpressRouteCircuitPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_express_route_circuits_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_express_route_circuits_operations.py index d69af8ce7de9..a55f370fe7ad 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_express_route_circuits_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_express_route_circuits_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type circuit_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_06_01.models.ExpressRouteCircuit :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -533,8 +533,8 @@ async def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -664,8 +664,8 @@ async def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) @@ -795,8 +795,8 @@ async def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableSummaryListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_express_route_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_express_route_connections_operations.py index 83a0bdb797bb..3bf5232de83b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_express_route_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_express_route_connections_operations.py @@ -122,8 +122,8 @@ async def begin_create_or_update( :type put_express_route_connection_parameters: ~azure.mgmt.network.v2019_06_01.models.ExpressRouteConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteConnection or the result of cls(response) @@ -301,8 +301,8 @@ async def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_express_route_cross_connection_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_express_route_cross_connection_peerings_operations.py index 8c14406ab51a..552e88a92408 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_express_route_cross_connection_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_express_route_cross_connection_peerings_operations.py @@ -178,8 +178,8 @@ async def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -372,8 +372,8 @@ async def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2019_06_01.models.ExpressRouteCrossConnectionPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCrossConnectionPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_express_route_cross_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_express_route_cross_connections_operations.py index 50365e8a0f4d..65e74a22d12a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_express_route_cross_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_express_route_cross_connections_operations.py @@ -308,8 +308,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_06_01.models.ExpressRouteCrossConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCrossConnection or the result of cls(response) @@ -433,8 +433,8 @@ async def begin_update_tags( :type cross_connection_parameters: ~azure.mgmt.network.v2019_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCrossConnection or the result of cls(response) @@ -561,8 +561,8 @@ async def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -692,8 +692,8 @@ async def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCrossConnectionsRoutesTableSummaryListResult or the result of cls(response) @@ -823,8 +823,8 @@ async def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_express_route_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_express_route_gateways_operations.py index 1f7322b433ab..276777764255 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_express_route_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_express_route_gateways_operations.py @@ -221,8 +221,8 @@ async def begin_create_or_update( :type put_express_route_gateway_parameters: ~azure.mgmt.network.v2019_06_01.models.ExpressRouteGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteGateway or the result of cls(response) @@ -390,8 +390,8 @@ async def begin_delete( :type express_route_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_express_route_ports_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_express_route_ports_operations.py index dd545078b41c..efc5144fd4c4 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_express_route_ports_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_express_route_ports_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type express_route_port_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_06_01.models.ExpressRoutePort :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRoutePort or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRoutePort or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_firewall_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_firewall_policies_operations.py index b2f91614a161..ddeaf31f2574 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_firewall_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_firewall_policies_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type firewall_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -268,7 +268,7 @@ async def update_tags( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('FirewallPolicy', pipeline_response) @@ -353,8 +353,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_06_01.models.FirewallPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FirewallPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_firewall_policy_rule_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_firewall_policy_rule_groups_operations.py index 259961a7d3aa..de89ac812314 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_firewall_policy_rule_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_firewall_policy_rule_groups_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type rule_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_06_01.models.FirewallPolicyRuleGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FirewallPolicyRuleGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_hub_virtual_network_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_hub_virtual_network_connections_operations.py index 904b6e803c2f..b2892b6b7277 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_hub_virtual_network_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_hub_virtual_network_connections_operations.py @@ -93,7 +93,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('HubVirtualNetworkConnection', pipeline_response) @@ -168,7 +168,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_inbound_nat_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_inbound_nat_rules_operations.py index 1c27cf1bd041..3e5f770a0c36 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_inbound_nat_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_inbound_nat_rules_operations.py @@ -178,8 +178,8 @@ async def begin_delete( :type inbound_nat_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -377,8 +377,8 @@ async def begin_create_or_update( :type inbound_nat_rule_parameters: ~azure.mgmt.network.v2019_06_01.models.InboundNatRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either InboundNatRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_load_balancers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_load_balancers_operations.py index 2385aa3e7f1d..7a5ba02d6b72 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_load_balancers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_load_balancers_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type load_balancer_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_06_01.models.LoadBalancer :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LoadBalancer or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LoadBalancer or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_local_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_local_network_gateways_operations.py index cde4fb4eec49..5cd124891983 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_local_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_local_network_gateways_operations.py @@ -117,8 +117,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_06_01.models.LocalNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LocalNetworkGateway or the result of cls(response) @@ -285,8 +285,8 @@ async def begin_delete( :type local_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LocalNetworkGateway or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_nat_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_nat_gateways_operations.py index 1d5cd751a60c..c3261a2c5c3d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_nat_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_nat_gateways_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type nat_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -289,8 +289,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_06_01.models.NatGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NatGateway or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_network_interface_tap_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_network_interface_tap_configurations_operations.py index 3e164b76a11f..ae56af83de8e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_network_interface_tap_configurations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_network_interface_tap_configurations_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type tap_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type tap_configuration_parameters: ~azure.mgmt.network.v2019_06_01.models.NetworkInterfaceTapConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkInterfaceTapConfiguration or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_network_interfaces_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_network_interfaces_operations.py index 4dc9795ebb82..55fb4df4f094 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_network_interfaces_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_network_interfaces_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_06_01.models.NetworkInterface :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkInterface or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkInterface or the result of cls(response) @@ -663,8 +663,8 @@ async def begin_get_effective_route_table( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either EffectiveRouteListResult or the result of cls(response) @@ -779,8 +779,8 @@ async def begin_list_effective_network_security_groups( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either EffectiveNetworkSecurityGroupListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_network_management_client_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_network_management_client_operations.py index a94d2bf08678..a1880e0f5b32 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_network_management_client_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_network_management_client_operations.py @@ -128,7 +128,7 @@ async def supported_security_providers( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualWanSecurityProviders', pipeline_response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_network_profiles_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_network_profiles_operations.py index bc1f42064981..e49e88817aa3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_network_profiles_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_network_profiles_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type network_profile_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_network_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_network_security_groups_operations.py index 5ff0211587cf..232667ee7f46 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_network_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_network_security_groups_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type network_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -287,8 +287,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_06_01.models.NetworkSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkSecurityGroup or the result of cls(response) @@ -411,8 +411,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_network_watchers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_network_watchers_operations.py index 17d14abda0f3..98b7598b9883 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_network_watchers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_network_watchers_operations.py @@ -99,7 +99,7 @@ async def create_or_update( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -162,7 +162,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('NetworkWatcher', pipeline_response) @@ -210,7 +210,7 @@ async def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -232,8 +232,8 @@ async def begin_delete( :type network_watcher_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -338,7 +338,7 @@ async def update_tags( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('NetworkWatcher', pipeline_response) @@ -409,7 +409,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -476,7 +476,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -543,7 +543,7 @@ async def get_topology( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('Topology', pipeline_response) @@ -597,7 +597,7 @@ async def _verify_ip_flow_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -629,8 +629,8 @@ async def begin_verify_ip_flow( :type parameters: ~azure.mgmt.network.v2019_06_01.models.VerificationIPFlowParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VerificationIPFlowResult or the result of cls(response) @@ -726,7 +726,7 @@ async def _get_next_hop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -758,8 +758,8 @@ async def begin_get_next_hop( :type parameters: ~azure.mgmt.network.v2019_06_01.models.NextHopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NextHopResult or the result of cls(response) @@ -855,7 +855,7 @@ async def _get_vm_security_rules_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -887,8 +887,8 @@ async def begin_get_vm_security_rules( :type parameters: ~azure.mgmt.network.v2019_06_01.models.SecurityGroupViewParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either SecurityGroupViewResult or the result of cls(response) @@ -984,7 +984,7 @@ async def _get_troubleshooting_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1016,8 +1016,8 @@ async def begin_get_troubleshooting( :type parameters: ~azure.mgmt.network.v2019_06_01.models.TroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1113,7 +1113,7 @@ async def _get_troubleshooting_result_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1145,8 +1145,8 @@ async def begin_get_troubleshooting_result( :type parameters: ~azure.mgmt.network.v2019_06_01.models.QueryTroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1242,7 +1242,7 @@ async def _set_flow_log_configuration_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1274,8 +1274,8 @@ async def begin_set_flow_log_configuration( :type parameters: ~azure.mgmt.network.v2019_06_01.models.FlowLogInformation :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1371,7 +1371,7 @@ async def _get_flow_log_status_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1404,8 +1404,8 @@ async def begin_get_flow_log_status( :type parameters: ~azure.mgmt.network.v2019_06_01.models.FlowLogStatusParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1501,7 +1501,7 @@ async def _check_connectivity_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1534,8 +1534,8 @@ async def begin_check_connectivity( :type parameters: ~azure.mgmt.network.v2019_06_01.models.ConnectivityParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectivityInformation or the result of cls(response) @@ -1631,7 +1631,7 @@ async def _get_azure_reachability_report_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1664,8 +1664,8 @@ async def begin_get_azure_reachability_report( :type parameters: ~azure.mgmt.network.v2019_06_01.models.AzureReachabilityReportParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AzureReachabilityReport or the result of cls(response) @@ -1761,7 +1761,7 @@ async def _list_available_providers_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1793,8 +1793,8 @@ async def begin_list_available_providers( :type parameters: ~azure.mgmt.network.v2019_06_01.models.AvailableProvidersListParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AvailableProvidersList or the result of cls(response) @@ -1890,7 +1890,7 @@ async def _get_network_configuration_diagnostic_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1922,8 +1922,8 @@ async def begin_get_network_configuration_diagnostic( :type parameters: ~azure.mgmt.network.v2019_06_01.models.NetworkConfigurationDiagnosticParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkConfigurationDiagnosticResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_p2_svpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_p2_svpn_gateways_operations.py index 1f227daa607a..31b2cb0e4371 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_p2_svpn_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_p2_svpn_gateways_operations.py @@ -91,7 +91,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('P2SVpnGateway', pipeline_response) @@ -145,7 +145,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -178,8 +178,8 @@ async def begin_create_or_update( :type p2_s_vpn_gateway_parameters: ~azure.mgmt.network.v2019_06_01.models.P2SVpnGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -275,7 +275,7 @@ async def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -308,8 +308,8 @@ async def begin_update_tags( :type p2_s_vpn_gateway_parameters: ~azure.mgmt.network.v2019_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -399,7 +399,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -421,8 +421,8 @@ async def begin_delete( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -531,7 +531,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -598,7 +598,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -682,8 +682,8 @@ async def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2019_06_01.models.P2SVpnProfileParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnProfileResponse or the result of cls(response) @@ -800,8 +800,8 @@ async def begin_get_p2_s_vpn_connection_health( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either P2SVpnGateway or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_p2_svpn_server_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_p2_svpn_server_configurations_operations.py index ec6e40c03cfe..aff938e69db1 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_p2_svpn_server_configurations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_p2_svpn_server_configurations_operations.py @@ -95,7 +95,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('P2SVpnServerConfiguration', pipeline_response) @@ -151,7 +151,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -188,8 +188,8 @@ async def begin_create_or_update( :type p2_s_vpn_server_configuration_parameters: ~azure.mgmt.network.v2019_06_01.models.P2SVpnServerConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either P2SVpnServerConfiguration or the result of cls(response) @@ -283,7 +283,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -308,8 +308,8 @@ async def begin_delete( :type p2_s_vpn_server_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -424,7 +424,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_packet_captures_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_packet_captures_operations.py index 0ef131df1e66..41d4be0822ca 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_packet_captures_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_packet_captures_operations.py @@ -88,7 +88,7 @@ async def _create_initial( if response.status_code not in [201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PacketCaptureResult', pipeline_response) @@ -119,8 +119,8 @@ async def begin_create( :type parameters: ~azure.mgmt.network.v2019_06_01.models.PacketCapture :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PacketCaptureResult or the result of cls(response) @@ -227,7 +227,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PacketCaptureResult', pipeline_response) @@ -277,7 +277,7 @@ async def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -302,8 +302,8 @@ async def begin_delete( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -393,7 +393,7 @@ async def _stop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -418,8 +418,8 @@ async def begin_stop( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -509,7 +509,7 @@ async def _get_status_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -541,8 +541,8 @@ async def begin_get_status( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PacketCaptureQueryStatusResult or the result of cls(response) @@ -660,7 +660,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_private_endpoints_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_private_endpoints_operations.py index 5316240144f6..e91246623a5b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_private_endpoints_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_private_endpoints_operations.py @@ -80,7 +80,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -102,8 +102,8 @@ async def begin_delete( :type private_endpoint_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -205,7 +205,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateEndpoint', pipeline_response) @@ -259,7 +259,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -291,8 +291,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_06_01.models.PrivateEndpoint :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PrivateEndpoint or the result of cls(response) @@ -405,7 +405,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -472,7 +472,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_private_link_services_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_private_link_services_operations.py index 5603f8467664..0af57429dad4 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_private_link_services_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_private_link_services_operations.py @@ -80,7 +80,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -102,8 +102,8 @@ async def begin_delete( :type service_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -205,7 +205,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateLinkService', pipeline_response) @@ -259,7 +259,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -291,8 +291,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_06_01.models.PrivateLinkService :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PrivateLinkService or the result of cls(response) @@ -405,7 +405,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -472,7 +472,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -543,7 +543,7 @@ async def update_private_endpoint_connection( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateEndpointConnection', pipeline_response) @@ -593,7 +593,7 @@ async def _delete_private_endpoint_connection_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -618,8 +618,8 @@ async def begin_delete_private_endpoint_connection( :type pe_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -737,8 +737,8 @@ async def begin_check_private_link_service_visibility( :type parameters: ~azure.mgmt.network.v2019_06_01.models.CheckPrivateLinkServiceVisibilityRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PrivateLinkServiceVisibility or the result of cls(response) @@ -861,8 +861,8 @@ async def begin_check_private_link_service_visibility_by_resource_group( :type parameters: ~azure.mgmt.network.v2019_06_01.models.CheckPrivateLinkServiceVisibilityRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PrivateLinkServiceVisibility or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_public_ip_addresses_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_public_ip_addresses_operations.py index 55d69d95cbcc..9b12db66b14c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_public_ip_addresses_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_public_ip_addresses_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type public_ip_address_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_06_01.models.PublicIPAddress :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PublicIPAddress or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PublicIPAddress or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_public_ip_prefixes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_public_ip_prefixes_operations.py index cd1ab4e052d7..23dd5ba2f2b0 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_public_ip_prefixes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_public_ip_prefixes_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type public_ip_prefix_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_06_01.models.PublicIPPrefix :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PublicIPPrefix or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PublicIPPrefix or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_route_filter_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_route_filter_rules_operations.py index 4f5f19015974..85ff1bbc97fa 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_route_filter_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_route_filter_rules_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2019_06_01.models.RouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilterRule or the result of cls(response) @@ -430,8 +430,8 @@ async def begin_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2019_06_01.models.PatchRouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilterRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_route_filters_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_route_filters_operations.py index 4c8851cc3aab..5e50adf5d4e5 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_route_filters_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_route_filters_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type route_filter_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -287,8 +287,8 @@ async def begin_create_or_update( :type route_filter_parameters: ~azure.mgmt.network.v2019_06_01.models.RouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilter or the result of cls(response) @@ -411,8 +411,8 @@ async def begin_update( :type route_filter_parameters: ~azure.mgmt.network.v2019_06_01.models.PatchRouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilter or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_route_tables_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_route_tables_operations.py index 10241adfbd3b..68780e6a01af 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_route_tables_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_route_tables_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_06_01.models.RouteTable :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteTable or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteTable or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_routes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_routes_operations.py index cadf86095d67..edff3a461e73 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_routes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_routes_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type route_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ async def begin_create_or_update( :type route_parameters: ~azure.mgmt.network.v2019_06_01.models.Route :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Route or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_security_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_security_rules_operations.py index ef13333a04b7..297f7b1a22b1 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_security_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_security_rules_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type security_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type security_rule_parameters: ~azure.mgmt.network.v2019_06_01.models.SecurityRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either SecurityRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_service_endpoint_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_service_endpoint_policies_operations.py index da118bd47487..0900fe0f004e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_service_endpoint_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_service_endpoint_policies_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type service_endpoint_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -287,8 +287,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_06_01.models.ServiceEndpointPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ServiceEndpointPolicy or the result of cls(response) @@ -411,8 +411,8 @@ async def begin_update( :type parameters: ~azure.mgmt.network.v2019_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ServiceEndpointPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_service_endpoint_policy_definitions_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_service_endpoint_policy_definitions_operations.py index d8e19659c297..204127607a5e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_service_endpoint_policy_definitions_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_service_endpoint_policy_definitions_operations.py @@ -105,8 +105,8 @@ async def begin_delete( :type service_endpoint_policy_definition_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -302,8 +302,8 @@ async def begin_create_or_update( :type service_endpoint_policy_definitions: ~azure.mgmt.network.v2019_06_01.models.ServiceEndpointPolicyDefinition :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ServiceEndpointPolicyDefinition or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_subnets_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_subnets_operations.py index 7c84256863cd..733192df8a9c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_subnets_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_subnets_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type subnet_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -302,8 +302,8 @@ async def begin_create_or_update( :type subnet_parameters: ~azure.mgmt.network.v2019_06_01.models.Subnet :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Subnet or the result of cls(response) @@ -429,8 +429,8 @@ async def begin_prepare_network_policies( :type prepare_network_policies_request_parameters: ~azure.mgmt.network.v2019_06_01.models.PrepareNetworkPoliciesRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -553,8 +553,8 @@ async def begin_unprepare_network_policies( :type unprepare_network_policies_request_parameters: ~azure.mgmt.network.v2019_06_01.models.UnprepareNetworkPoliciesRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_virtual_hubs_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_virtual_hubs_operations.py index 5da7e119353e..c6d79c8fba5f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_virtual_hubs_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_virtual_hubs_operations.py @@ -91,7 +91,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualHub', pipeline_response) @@ -145,7 +145,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -177,8 +177,8 @@ async def begin_create_or_update( :type virtual_hub_parameters: ~azure.mgmt.network.v2019_06_01.models.VirtualHub :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualHub or the result of cls(response) @@ -274,7 +274,7 @@ async def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -306,8 +306,8 @@ async def begin_update_tags( :type virtual_hub_parameters: ~azure.mgmt.network.v2019_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualHub or the result of cls(response) @@ -397,7 +397,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -419,8 +419,8 @@ async def begin_delete( :type virtual_hub_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -529,7 +529,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -596,7 +596,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_virtual_network_gateway_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_virtual_network_gateway_connections_operations.py index 369b8654fc6d..ccdb57eee0b0 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_virtual_network_gateway_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_virtual_network_gateway_connections_operations.py @@ -119,8 +119,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_06_01.models.VirtualNetworkGatewayConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -289,8 +289,8 @@ async def begin_delete( :type virtual_network_gateway_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -412,8 +412,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -543,8 +543,8 @@ async def begin_set_shared_key( :type parameters: ~azure.mgmt.network.v2019_06_01.models.ConnectionSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionSharedKey or the result of cls(response) @@ -804,8 +804,8 @@ async def begin_reset_shared_key( :type parameters: ~azure.mgmt.network.v2019_06_01.models.ConnectionResetSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionResetSharedKey or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_virtual_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_virtual_network_gateways_operations.py index 23b35a8acbbd..422aad87b968 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_virtual_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_virtual_network_gateways_operations.py @@ -117,8 +117,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_06_01.models.VirtualNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -285,8 +285,8 @@ async def begin_delete( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -407,8 +407,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -675,8 +675,8 @@ async def begin_reset( :type gateway_vip: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -786,8 +786,8 @@ async def begin_reset_vpn_client_shared_key( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -910,8 +910,8 @@ async def begin_generatevpnclientpackage( :type parameters: ~azure.mgmt.network.v2019_06_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1038,8 +1038,8 @@ async def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2019_06_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1156,8 +1156,8 @@ async def begin_get_vpn_profile_package_url( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1278,8 +1278,8 @@ async def begin_get_bgp_peer_status( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either BgpPeerStatusListResult or the result of cls(response) @@ -1454,8 +1454,8 @@ async def begin_get_learned_routes( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1576,8 +1576,8 @@ async def begin_get_advertised_routes( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1704,8 +1704,8 @@ async def begin_set_vpnclient_ipsec_parameters( :type vpnclient_ipsec_params: ~azure.mgmt.network.v2019_06_01.models.VpnClientIPsecParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnClientIPsecParameters or the result of cls(response) @@ -1821,8 +1821,8 @@ async def begin_get_vpnclient_ipsec_parameters( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnClientIPsecParameters or the result of cls(response) @@ -2005,8 +2005,8 @@ async def begin_get_vpnclient_connection_health( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnClientConnectionHealthDetailListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_virtual_network_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_virtual_network_peerings_operations.py index 8c6f87f5ba1c..f5a1a491104e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_virtual_network_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_virtual_network_peerings_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type virtual_network_peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type virtual_network_peering_parameters: ~azure.mgmt.network.v2019_06_01.models.VirtualNetworkPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_virtual_network_taps_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_virtual_network_taps_operations.py index 7a06b5e5ecbd..06dc9efa3901 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_virtual_network_taps_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_virtual_network_taps_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type tap_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_06_01.models.VirtualNetworkTap :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkTap or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type tap_parameters: ~azure.mgmt.network.v2019_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkTap or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_virtual_networks_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_virtual_networks_operations.py index f9fd011d97e5..c85e64e198fe 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_virtual_networks_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_virtual_networks_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type virtual_network_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_06_01.models.VirtualNetwork :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetwork or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetwork or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_virtual_wans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_virtual_wans_operations.py index d74c727b4cba..c05477011ddb 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_virtual_wans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_virtual_wans_operations.py @@ -91,7 +91,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualWAN', pipeline_response) @@ -145,7 +145,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -177,8 +177,8 @@ async def begin_create_or_update( :type wan_parameters: ~azure.mgmt.network.v2019_06_01.models.VirtualWAN :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualWAN or the result of cls(response) @@ -274,7 +274,7 @@ async def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -306,8 +306,8 @@ async def begin_update_tags( :type wan_parameters: ~azure.mgmt.network.v2019_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualWAN or the result of cls(response) @@ -397,7 +397,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -419,8 +419,8 @@ async def begin_delete( :type virtual_wan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -529,7 +529,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -596,7 +596,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_vpn_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_vpn_connections_operations.py index 59ab56871c03..4d3f31d21c73 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_vpn_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_vpn_connections_operations.py @@ -95,7 +95,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VpnConnection', pipeline_response) @@ -151,7 +151,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -187,8 +187,8 @@ async def begin_create_or_update( :type vpn_connection_parameters: ~azure.mgmt.network.v2019_06_01.models.VpnConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnConnection or the result of cls(response) @@ -282,7 +282,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -307,8 +307,8 @@ async def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -423,7 +423,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_vpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_vpn_gateways_operations.py index c4bc9f56e76d..cbe3abd272fe 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_vpn_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_vpn_gateways_operations.py @@ -91,7 +91,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VpnGateway', pipeline_response) @@ -145,7 +145,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -178,8 +178,8 @@ async def begin_create_or_update( :type vpn_gateway_parameters: ~azure.mgmt.network.v2019_06_01.models.VpnGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnGateway or the result of cls(response) @@ -275,7 +275,7 @@ async def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -307,8 +307,8 @@ async def begin_update_tags( :type vpn_gateway_parameters: ~azure.mgmt.network.v2019_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnGateway or the result of cls(response) @@ -398,7 +398,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -420,8 +420,8 @@ async def begin_delete( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -533,8 +533,8 @@ async def begin_reset( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnGateway or the result of cls(response) @@ -646,7 +646,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -713,7 +713,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_vpn_link_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_vpn_link_connections_operations.py index f490f5d469b4..79bb0f4e9c09 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_vpn_link_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_vpn_link_connections_operations.py @@ -110,7 +110,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_vpn_site_link_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_vpn_site_link_connections_operations.py index ec08ad950ed6..59a1113d963a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_vpn_site_link_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_vpn_site_link_connections_operations.py @@ -96,7 +96,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VpnSiteLinkConnection', pipeline_response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_vpn_site_links_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_vpn_site_links_operations.py index 5637893f1b1e..8c500232b83a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_vpn_site_links_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_vpn_site_links_operations.py @@ -93,7 +93,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VpnSiteLink', pipeline_response) @@ -168,7 +168,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_vpn_sites_configuration_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_vpn_sites_configuration_operations.py index 310e93b83033..2862e554594f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_vpn_sites_configuration_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_vpn_sites_configuration_operations.py @@ -85,7 +85,7 @@ async def _download_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -111,8 +111,8 @@ async def begin_download( :type request: ~azure.mgmt.network.v2019_06_01.models.GetVpnSitesConfigurationRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_vpn_sites_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_vpn_sites_operations.py index 23c736e471e2..3f7842cee91e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_vpn_sites_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_vpn_sites_operations.py @@ -91,7 +91,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VpnSite', pipeline_response) @@ -145,7 +145,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -177,8 +177,8 @@ async def begin_create_or_update( :type vpn_site_parameters: ~azure.mgmt.network.v2019_06_01.models.VpnSite :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnSite or the result of cls(response) @@ -274,7 +274,7 @@ async def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -306,8 +306,8 @@ async def begin_update_tags( :type vpn_site_parameters: ~azure.mgmt.network.v2019_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnSite or the result of cls(response) @@ -397,7 +397,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -419,8 +419,8 @@ async def begin_delete( :type vpn_site_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -529,7 +529,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -596,7 +596,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_web_application_firewall_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_web_application_firewall_policies_operations.py index b84e71f0b499..bba99d05e384 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_web_application_firewall_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/aio/operations/_web_application_firewall_policies_operations.py @@ -363,8 +363,8 @@ async def begin_delete( :type policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/models/_models.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/models/_models.py index ff404a8af0fe..3e83da160228 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/models/_models.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/models/_models.py @@ -102,58 +102,55 @@ class ApplicationGateway(Resource): :vartype operational_state: str or ~azure.mgmt.network.v2019_06_01.models.ApplicationGatewayOperationalState :param gateway_ip_configurations: Subnets of the application gateway resource. For default - limits, see `Application Gateway limits `_. + limits, see `Application Gateway limits + `_. :type gateway_ip_configurations: list[~azure.mgmt.network.v2019_06_01.models.ApplicationGatewayIPConfiguration] :param authentication_certificates: Authentication certificates of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type authentication_certificates: list[~azure.mgmt.network.v2019_06_01.models.ApplicationGatewayAuthenticationCertificate] :param trusted_root_certificates: Trusted Root certificates of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type trusted_root_certificates: list[~azure.mgmt.network.v2019_06_01.models.ApplicationGatewayTrustedRootCertificate] :param ssl_certificates: SSL certificates of the application gateway resource. For default - limits, see `Application Gateway limits `_. + limits, see `Application Gateway limits + `_. :type ssl_certificates: list[~azure.mgmt.network.v2019_06_01.models.ApplicationGatewaySslCertificate] :param frontend_ip_configurations: Frontend IP addresses of the application gateway resource. - For default limits, see `Application Gateway limits `_. + For default limits, see `Application Gateway limits + `_. :type frontend_ip_configurations: list[~azure.mgmt.network.v2019_06_01.models.ApplicationGatewayFrontendIPConfiguration] :param frontend_ports: Frontend ports of the application gateway resource. For default limits, - see `Application Gateway limits `_. + see `Application Gateway limits + `_. :type frontend_ports: list[~azure.mgmt.network.v2019_06_01.models.ApplicationGatewayFrontendPort] :param probes: Probes of the application gateway resource. :type probes: list[~azure.mgmt.network.v2019_06_01.models.ApplicationGatewayProbe] :param backend_address_pools: Backend address pool of the application gateway resource. For - default limits, see `Application Gateway limits `_. + default limits, see `Application Gateway limits + `_. :type backend_address_pools: list[~azure.mgmt.network.v2019_06_01.models.ApplicationGatewayBackendAddressPool] :param backend_http_settings_collection: Backend http settings of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type backend_http_settings_collection: list[~azure.mgmt.network.v2019_06_01.models.ApplicationGatewayBackendHttpSettings] :param http_listeners: Http listeners of the application gateway resource. For default limits, - see `Application Gateway limits `_. + see `Application Gateway limits + `_. :type http_listeners: list[~azure.mgmt.network.v2019_06_01.models.ApplicationGatewayHttpListener] :param url_path_maps: URL path map of the application gateway resource. For default limits, see - `Application Gateway limits `_. + `Application Gateway limits + `_. :type url_path_maps: list[~azure.mgmt.network.v2019_06_01.models.ApplicationGatewayUrlPathMap] :param request_routing_rules: Request routing rules of the application gateway resource. :type request_routing_rules: @@ -162,8 +159,8 @@ class ApplicationGateway(Resource): :type rewrite_rule_sets: list[~azure.mgmt.network.v2019_06_01.models.ApplicationGatewayRewriteRuleSet] :param redirect_configurations: Redirect configurations of the application gateway resource. - For default limits, see `Application Gateway limits `_. + For default limits, see `Application Gateway limits + `_. :type redirect_configurations: list[~azure.mgmt.network.v2019_06_01.models.ApplicationGatewayRedirectConfiguration] :param web_application_firewall_configuration: Web application firewall configuration. @@ -1647,7 +1644,7 @@ class ApplicationGatewayRewriteRuleCondition(msrest.serialization.Model): :param pattern: The pattern, either fixed string or regular expression, that evaluates the truthfulness of the condition. :type pattern: str - :param ignore_case: Setting this paramter to truth value with force the pattern to do a case + :param ignore_case: Setting this parameter to truth value with force the pattern to do a case in-sensitive comparison. :type ignore_case: bool :param negate: Setting this value as truth will force to check the negation of the condition @@ -4598,7 +4595,7 @@ class ContainerNetworkInterface(SubResource): ~azure.mgmt.network.v2019_06_01.models.ContainerNetworkInterfaceConfiguration :param container: Reference to the container to which this container network interface is attached. - :type container: ~azure.mgmt.network.v2019_06_01.models.SubResource + :type container: ~azure.mgmt.network.v2019_06_01.models.Container :param ip_configurations: Reference to the ip configuration on this container nic. :type ip_configurations: list[~azure.mgmt.network.v2019_06_01.models.ContainerNetworkInterfaceIpConfiguration] @@ -4617,7 +4614,7 @@ class ContainerNetworkInterface(SubResource): 'type': {'key': 'type', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, 'container_network_interface_configuration': {'key': 'properties.containerNetworkInterfaceConfiguration', 'type': 'ContainerNetworkInterfaceConfiguration'}, - 'container': {'key': 'properties.container', 'type': 'SubResource'}, + 'container': {'key': 'properties.container', 'type': 'Container'}, 'ip_configurations': {'key': 'properties.ipConfigurations', 'type': '[ContainerNetworkInterfaceIpConfiguration]'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, } @@ -11439,8 +11436,8 @@ class PacketCaptureStorageLocation(msrest.serialization.Model): :param storage_id: The ID of the storage account to save the packet capture session. Required if no local file path is provided. :type storage_id: str - :param storage_path: The URI of the storage path to save the packet capture. Must be a well- - formed URI describing the location to save the packet capture. + :param storage_path: The URI of the storage path to save the packet capture. Must be a + well-formed URI describing the location to save the packet capture. :type storage_path: str :param file_path: A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no @@ -11914,9 +11911,10 @@ class PrivateLinkService(Resource): :type private_endpoint_connections: list[~azure.mgmt.network.v2019_06_01.models.PrivateEndpointConnection] :param visibility: The visibility list of the private link service. - :type visibility: ~azure.mgmt.network.v2019_06_01.models.ResourceSet + :type visibility: ~azure.mgmt.network.v2019_06_01.models.PrivateLinkServicePropertiesVisibility :param auto_approval: The auto-approval list of the private link service. - :type auto_approval: ~azure.mgmt.network.v2019_06_01.models.ResourceSet + :type auto_approval: + ~azure.mgmt.network.v2019_06_01.models.PrivateLinkServicePropertiesAutoApproval :param fqdns: The list of Fqdn. :type fqdns: list[str] :ivar alias: The alias of the private link service. @@ -11943,8 +11941,8 @@ class PrivateLinkService(Resource): 'network_interfaces': {'key': 'properties.networkInterfaces', 'type': '[NetworkInterface]'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'private_endpoint_connections': {'key': 'properties.privateEndpointConnections', 'type': '[PrivateEndpointConnection]'}, - 'visibility': {'key': 'properties.visibility', 'type': 'ResourceSet'}, - 'auto_approval': {'key': 'properties.autoApproval', 'type': 'ResourceSet'}, + 'visibility': {'key': 'properties.visibility', 'type': 'PrivateLinkServicePropertiesVisibility'}, + 'auto_approval': {'key': 'properties.autoApproval', 'type': 'PrivateLinkServicePropertiesAutoApproval'}, 'fqdns': {'key': 'properties.fqdns', 'type': '[str]'}, 'alias': {'key': 'properties.alias', 'type': 'str'}, } @@ -15411,8 +15409,8 @@ class VirtualNetworkPeering(SubResource): :type use_remote_gateways: bool :param remote_virtual_network: The reference of the remote virtual network. The remote virtual network can be in the same or different region (preview). See here to register for the preview - and learn more (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create- - peering). + and learn more + (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering). :type remote_virtual_network: ~azure.mgmt.network.v2019_06_01.models.SubResource :param remote_address_space: The reference of the remote virtual network address space. :type remote_address_space: ~azure.mgmt.network.v2019_06_01.models.AddressSpace diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/models/_models_py3.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/models/_models_py3.py index a15303df8b8d..fbd18d5fdeb6 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/models/_models_py3.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/models/_models_py3.py @@ -113,58 +113,55 @@ class ApplicationGateway(Resource): :vartype operational_state: str or ~azure.mgmt.network.v2019_06_01.models.ApplicationGatewayOperationalState :param gateway_ip_configurations: Subnets of the application gateway resource. For default - limits, see `Application Gateway limits `_. + limits, see `Application Gateway limits + `_. :type gateway_ip_configurations: list[~azure.mgmt.network.v2019_06_01.models.ApplicationGatewayIPConfiguration] :param authentication_certificates: Authentication certificates of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type authentication_certificates: list[~azure.mgmt.network.v2019_06_01.models.ApplicationGatewayAuthenticationCertificate] :param trusted_root_certificates: Trusted Root certificates of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type trusted_root_certificates: list[~azure.mgmt.network.v2019_06_01.models.ApplicationGatewayTrustedRootCertificate] :param ssl_certificates: SSL certificates of the application gateway resource. For default - limits, see `Application Gateway limits `_. + limits, see `Application Gateway limits + `_. :type ssl_certificates: list[~azure.mgmt.network.v2019_06_01.models.ApplicationGatewaySslCertificate] :param frontend_ip_configurations: Frontend IP addresses of the application gateway resource. - For default limits, see `Application Gateway limits `_. + For default limits, see `Application Gateway limits + `_. :type frontend_ip_configurations: list[~azure.mgmt.network.v2019_06_01.models.ApplicationGatewayFrontendIPConfiguration] :param frontend_ports: Frontend ports of the application gateway resource. For default limits, - see `Application Gateway limits `_. + see `Application Gateway limits + `_. :type frontend_ports: list[~azure.mgmt.network.v2019_06_01.models.ApplicationGatewayFrontendPort] :param probes: Probes of the application gateway resource. :type probes: list[~azure.mgmt.network.v2019_06_01.models.ApplicationGatewayProbe] :param backend_address_pools: Backend address pool of the application gateway resource. For - default limits, see `Application Gateway limits `_. + default limits, see `Application Gateway limits + `_. :type backend_address_pools: list[~azure.mgmt.network.v2019_06_01.models.ApplicationGatewayBackendAddressPool] :param backend_http_settings_collection: Backend http settings of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type backend_http_settings_collection: list[~azure.mgmt.network.v2019_06_01.models.ApplicationGatewayBackendHttpSettings] :param http_listeners: Http listeners of the application gateway resource. For default limits, - see `Application Gateway limits `_. + see `Application Gateway limits + `_. :type http_listeners: list[~azure.mgmt.network.v2019_06_01.models.ApplicationGatewayHttpListener] :param url_path_maps: URL path map of the application gateway resource. For default limits, see - `Application Gateway limits `_. + `Application Gateway limits + `_. :type url_path_maps: list[~azure.mgmt.network.v2019_06_01.models.ApplicationGatewayUrlPathMap] :param request_routing_rules: Request routing rules of the application gateway resource. :type request_routing_rules: @@ -173,8 +170,8 @@ class ApplicationGateway(Resource): :type rewrite_rule_sets: list[~azure.mgmt.network.v2019_06_01.models.ApplicationGatewayRewriteRuleSet] :param redirect_configurations: Redirect configurations of the application gateway resource. - For default limits, see `Application Gateway limits `_. + For default limits, see `Application Gateway limits + `_. :type redirect_configurations: list[~azure.mgmt.network.v2019_06_01.models.ApplicationGatewayRedirectConfiguration] :param web_application_firewall_configuration: Web application firewall configuration. @@ -1904,7 +1901,7 @@ class ApplicationGatewayRewriteRuleCondition(msrest.serialization.Model): :param pattern: The pattern, either fixed string or regular expression, that evaluates the truthfulness of the condition. :type pattern: str - :param ignore_case: Setting this paramter to truth value with force the pattern to do a case + :param ignore_case: Setting this parameter to truth value with force the pattern to do a case in-sensitive comparison. :type ignore_case: bool :param negate: Setting this value as truth will force to check the negation of the condition @@ -5200,7 +5197,7 @@ class ContainerNetworkInterface(SubResource): ~azure.mgmt.network.v2019_06_01.models.ContainerNetworkInterfaceConfiguration :param container: Reference to the container to which this container network interface is attached. - :type container: ~azure.mgmt.network.v2019_06_01.models.SubResource + :type container: ~azure.mgmt.network.v2019_06_01.models.Container :param ip_configurations: Reference to the ip configuration on this container nic. :type ip_configurations: list[~azure.mgmt.network.v2019_06_01.models.ContainerNetworkInterfaceIpConfiguration] @@ -5219,7 +5216,7 @@ class ContainerNetworkInterface(SubResource): 'type': {'key': 'type', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, 'container_network_interface_configuration': {'key': 'properties.containerNetworkInterfaceConfiguration', 'type': 'ContainerNetworkInterfaceConfiguration'}, - 'container': {'key': 'properties.container', 'type': 'SubResource'}, + 'container': {'key': 'properties.container', 'type': 'Container'}, 'ip_configurations': {'key': 'properties.ipConfigurations', 'type': '[ContainerNetworkInterfaceIpConfiguration]'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, } @@ -5231,7 +5228,7 @@ def __init__( name: Optional[str] = None, etag: Optional[str] = None, container_network_interface_configuration: Optional["ContainerNetworkInterfaceConfiguration"] = None, - container: Optional["SubResource"] = None, + container: Optional["Container"] = None, ip_configurations: Optional[List["ContainerNetworkInterfaceIpConfiguration"]] = None, **kwargs ): @@ -12879,8 +12876,8 @@ class PacketCaptureStorageLocation(msrest.serialization.Model): :param storage_id: The ID of the storage account to save the packet capture session. Required if no local file path is provided. :type storage_id: str - :param storage_path: The URI of the storage path to save the packet capture. Must be a well- - formed URI describing the location to save the packet capture. + :param storage_path: The URI of the storage path to save the packet capture. Must be a + well-formed URI describing the location to save the packet capture. :type storage_path: str :param file_path: A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no @@ -13401,9 +13398,10 @@ class PrivateLinkService(Resource): :type private_endpoint_connections: list[~azure.mgmt.network.v2019_06_01.models.PrivateEndpointConnection] :param visibility: The visibility list of the private link service. - :type visibility: ~azure.mgmt.network.v2019_06_01.models.ResourceSet + :type visibility: ~azure.mgmt.network.v2019_06_01.models.PrivateLinkServicePropertiesVisibility :param auto_approval: The auto-approval list of the private link service. - :type auto_approval: ~azure.mgmt.network.v2019_06_01.models.ResourceSet + :type auto_approval: + ~azure.mgmt.network.v2019_06_01.models.PrivateLinkServicePropertiesAutoApproval :param fqdns: The list of Fqdn. :type fqdns: list[str] :ivar alias: The alias of the private link service. @@ -13430,8 +13428,8 @@ class PrivateLinkService(Resource): 'network_interfaces': {'key': 'properties.networkInterfaces', 'type': '[NetworkInterface]'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'private_endpoint_connections': {'key': 'properties.privateEndpointConnections', 'type': '[PrivateEndpointConnection]'}, - 'visibility': {'key': 'properties.visibility', 'type': 'ResourceSet'}, - 'auto_approval': {'key': 'properties.autoApproval', 'type': 'ResourceSet'}, + 'visibility': {'key': 'properties.visibility', 'type': 'PrivateLinkServicePropertiesVisibility'}, + 'auto_approval': {'key': 'properties.autoApproval', 'type': 'PrivateLinkServicePropertiesAutoApproval'}, 'fqdns': {'key': 'properties.fqdns', 'type': '[str]'}, 'alias': {'key': 'properties.alias', 'type': 'str'}, } @@ -13446,8 +13444,8 @@ def __init__( load_balancer_frontend_ip_configurations: Optional[List["FrontendIPConfiguration"]] = None, ip_configurations: Optional[List["PrivateLinkServiceIpConfiguration"]] = None, private_endpoint_connections: Optional[List["PrivateEndpointConnection"]] = None, - visibility: Optional["ResourceSet"] = None, - auto_approval: Optional["ResourceSet"] = None, + visibility: Optional["PrivateLinkServicePropertiesVisibility"] = None, + auto_approval: Optional["PrivateLinkServicePropertiesAutoApproval"] = None, fqdns: Optional[List[str]] = None, **kwargs ): @@ -17325,8 +17323,8 @@ class VirtualNetworkPeering(SubResource): :type use_remote_gateways: bool :param remote_virtual_network: The reference of the remote virtual network. The remote virtual network can be in the same or different region (preview). See here to register for the preview - and learn more (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create- - peering). + and learn more + (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering). :type remote_virtual_network: ~azure.mgmt.network.v2019_06_01.models.SubResource :param remote_address_space: The reference of the remote virtual network address space. :type remote_address_space: ~azure.mgmt.network.v2019_06_01.models.AddressSpace diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_application_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_application_gateways_operations.py index 938115b73a52..e11c5d68306d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_application_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_application_gateways_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_06_01.models.ApplicationGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGateway or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGateway or the result of cls(response) @@ -666,8 +666,8 @@ def begin_start( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -774,8 +774,8 @@ def begin_stop( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -895,8 +895,8 @@ def begin_backend_health( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGatewayBackendHealth or the result of cls(response) @@ -1030,8 +1030,8 @@ def begin_backend_health_on_demand( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGatewayBackendHealthOnDemand or the result of cls(response) @@ -1126,7 +1126,7 @@ def list_available_server_variables( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) @@ -1178,7 +1178,7 @@ def list_available_request_headers( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) @@ -1230,7 +1230,7 @@ def list_available_response_headers( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_application_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_application_security_groups_operations.py index b0248928772d..41bf08ddb91c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_application_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_application_security_groups_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type application_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -291,8 +291,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_06_01.models.ApplicationSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationSecurityGroup or the result of cls(response) @@ -417,8 +417,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_azure_firewalls_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_azure_firewalls_operations.py index 3b9de55fd416..3d50c0578e39 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_azure_firewalls_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_azure_firewalls_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type azure_firewall_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_06_01.models.AzureFirewall :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AzureFirewall or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_bastion_hosts_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_bastion_hosts_operations.py index c2a9263d9077..35abf2f570ea 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_bastion_hosts_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_bastion_hosts_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type bastion_host_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_06_01.models.BastionHost :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either BastionHost or the result of cls(response) @@ -388,7 +388,7 @@ def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -421,8 +421,8 @@ def begin_update_tags( :type bastion_host_parameters: ~azure.mgmt.network.v2019_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either BastionHost or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_connection_monitors_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_connection_monitors_operations.py index 0c551b8302e4..39b3532ca929 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_connection_monitors_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_connection_monitors_operations.py @@ -93,7 +93,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -129,8 +129,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_06_01.models.ConnectionMonitor :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionMonitorResult or the result of cls(response) @@ -238,7 +238,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('ConnectionMonitorResult', pipeline_response) @@ -289,7 +289,7 @@ def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -315,8 +315,8 @@ def begin_delete( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -428,7 +428,7 @@ def update_tags( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('ConnectionMonitorResult', pipeline_response) @@ -479,7 +479,7 @@ def _stop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -505,8 +505,8 @@ def begin_stop( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -597,7 +597,7 @@ def _start_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -623,8 +623,8 @@ def begin_start( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -715,7 +715,7 @@ def _query_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -748,8 +748,8 @@ def begin_query( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionMonitorQueryResult or the result of cls(response) @@ -868,7 +868,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_ddos_custom_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_ddos_custom_policies_operations.py index 2c097c933c49..ea461e0c0457 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_ddos_custom_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_ddos_custom_policies_operations.py @@ -106,8 +106,8 @@ def begin_delete( :type ddos_custom_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -291,8 +291,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_06_01.models.DdosCustomPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either DdosCustomPolicy or the result of cls(response) @@ -417,8 +417,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either DdosCustomPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_ddos_protection_plans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_ddos_protection_plans_operations.py index e019ed3038f3..8ff753ef1687 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_ddos_protection_plans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_ddos_protection_plans_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type ddos_protection_plan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_06_01.models.DdosProtectionPlan :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either DdosProtectionPlan or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either DdosProtectionPlan or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_express_route_circuit_authorizations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_express_route_circuit_authorizations_operations.py index 8adb2067e93a..1a42cbd17e97 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_express_route_circuit_authorizations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_express_route_circuit_authorizations_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type authorization_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type authorization_parameters: ~azure.mgmt.network.v2019_06_01.models.ExpressRouteCircuitAuthorization :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitAuthorization or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_express_route_circuit_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_express_route_circuit_connections_operations.py index e05d9bffc4fd..22daf32a5c49 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_express_route_circuit_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_express_route_circuit_connections_operations.py @@ -116,8 +116,8 @@ def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -324,8 +324,8 @@ def begin_create_or_update( :type express_route_circuit_connection_parameters: ~azure.mgmt.network.v2019_06_01.models.ExpressRouteCircuitConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitConnection or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_express_route_circuit_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_express_route_circuit_peerings_operations.py index fa9e500ad075..b844019d36df 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_express_route_circuit_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_express_route_circuit_peerings_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2019_06_01.models.ExpressRouteCircuitPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_express_route_circuits_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_express_route_circuits_operations.py index c1fc82a5c7ee..9b311e7e813e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_express_route_circuits_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_express_route_circuits_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type circuit_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_06_01.models.ExpressRouteCircuit :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -546,8 +546,8 @@ def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -679,8 +679,8 @@ def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) @@ -812,8 +812,8 @@ def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableSummaryListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_express_route_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_express_route_connections_operations.py index 61cdae3b215a..e25faf459693 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_express_route_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_express_route_connections_operations.py @@ -128,8 +128,8 @@ def begin_create_or_update( :type put_express_route_connection_parameters: ~azure.mgmt.network.v2019_06_01.models.ExpressRouteConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteConnection or the result of cls(response) @@ -310,8 +310,8 @@ def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_express_route_cross_connection_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_express_route_cross_connection_peerings_operations.py index 61dea78c02f7..d99bf4a946ef 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_express_route_cross_connection_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_express_route_cross_connection_peerings_operations.py @@ -185,8 +185,8 @@ def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -382,8 +382,8 @@ def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2019_06_01.models.ExpressRouteCrossConnectionPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCrossConnectionPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_express_route_cross_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_express_route_cross_connections_operations.py index 238748c69e59..87ec91b68935 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_express_route_cross_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_express_route_cross_connections_operations.py @@ -317,8 +317,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_06_01.models.ExpressRouteCrossConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCrossConnection or the result of cls(response) @@ -444,8 +444,8 @@ def begin_update_tags( :type cross_connection_parameters: ~azure.mgmt.network.v2019_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCrossConnection or the result of cls(response) @@ -574,8 +574,8 @@ def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -707,8 +707,8 @@ def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCrossConnectionsRoutesTableSummaryListResult or the result of cls(response) @@ -840,8 +840,8 @@ def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_express_route_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_express_route_gateways_operations.py index f434b39b795b..428f3ba8ed3e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_express_route_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_express_route_gateways_operations.py @@ -229,8 +229,8 @@ def begin_create_or_update( :type put_express_route_gateway_parameters: ~azure.mgmt.network.v2019_06_01.models.ExpressRouteGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteGateway or the result of cls(response) @@ -401,8 +401,8 @@ def begin_delete( :type express_route_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_express_route_ports_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_express_route_ports_operations.py index f8b799ac6880..f69ccd8420bf 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_express_route_ports_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_express_route_ports_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type express_route_port_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_06_01.models.ExpressRoutePort :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRoutePort or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRoutePort or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_firewall_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_firewall_policies_operations.py index 98dd27b783be..f1d8ae6f94fa 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_firewall_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_firewall_policies_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type firewall_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -276,7 +276,7 @@ def update_tags( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('FirewallPolicy', pipeline_response) @@ -363,8 +363,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_06_01.models.FirewallPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FirewallPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_firewall_policy_rule_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_firewall_policy_rule_groups_operations.py index f397eefb6676..860ea99f8816 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_firewall_policy_rule_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_firewall_policy_rule_groups_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type rule_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_06_01.models.FirewallPolicyRuleGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FirewallPolicyRuleGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_hub_virtual_network_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_hub_virtual_network_connections_operations.py index 358127f57394..6d973467bf38 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_hub_virtual_network_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_hub_virtual_network_connections_operations.py @@ -98,7 +98,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('HubVirtualNetworkConnection', pipeline_response) @@ -174,7 +174,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_inbound_nat_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_inbound_nat_rules_operations.py index 784a2396adbc..a88fbd54a9a0 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_inbound_nat_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_inbound_nat_rules_operations.py @@ -185,8 +185,8 @@ def begin_delete( :type inbound_nat_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -387,8 +387,8 @@ def begin_create_or_update( :type inbound_nat_rule_parameters: ~azure.mgmt.network.v2019_06_01.models.InboundNatRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either InboundNatRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_load_balancers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_load_balancers_operations.py index 305659efeaac..93bb8312aacd 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_load_balancers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_load_balancers_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type load_balancer_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_06_01.models.LoadBalancer :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LoadBalancer or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LoadBalancer or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_local_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_local_network_gateways_operations.py index f09bccbfe2bb..8999f5848264 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_local_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_local_network_gateways_operations.py @@ -123,8 +123,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_06_01.models.LocalNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LocalNetworkGateway or the result of cls(response) @@ -294,8 +294,8 @@ def begin_delete( :type local_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LocalNetworkGateway or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_nat_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_nat_gateways_operations.py index b3a3c61cf391..d0c97da48e6c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_nat_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_nat_gateways_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type nat_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_06_01.models.NatGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NatGateway or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_network_interface_tap_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_network_interface_tap_configurations_operations.py index 72a46f3f34b7..3b963d929fa0 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_network_interface_tap_configurations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_network_interface_tap_configurations_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type tap_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type tap_configuration_parameters: ~azure.mgmt.network.v2019_06_01.models.NetworkInterfaceTapConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkInterfaceTapConfiguration or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_network_interfaces_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_network_interfaces_operations.py index 6a66297bc422..cc6ca8572122 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_network_interfaces_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_network_interfaces_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_06_01.models.NetworkInterface :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkInterface or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkInterface or the result of cls(response) @@ -678,8 +678,8 @@ def begin_get_effective_route_table( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either EffectiveRouteListResult or the result of cls(response) @@ -796,8 +796,8 @@ def begin_list_effective_network_security_groups( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either EffectiveNetworkSecurityGroupListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_network_management_client_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_network_management_client_operations.py index 62a803b80385..4a7bd23d2d0f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_network_management_client_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_network_management_client_operations.py @@ -134,7 +134,7 @@ def supported_security_providers( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualWanSecurityProviders', pipeline_response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_network_profiles_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_network_profiles_operations.py index f4469175e06e..886fe2489255 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_network_profiles_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_network_profiles_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type network_profile_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_network_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_network_security_groups_operations.py index 3c4a23aaa88c..ce670179aa25 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_network_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_network_security_groups_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type network_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -296,8 +296,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_06_01.models.NetworkSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkSecurityGroup or the result of cls(response) @@ -422,8 +422,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_network_watchers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_network_watchers_operations.py index f79600c2ced5..6067c0e75aaf 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_network_watchers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_network_watchers_operations.py @@ -104,7 +104,7 @@ def create_or_update( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -168,7 +168,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('NetworkWatcher', pipeline_response) @@ -217,7 +217,7 @@ def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -240,8 +240,8 @@ def begin_delete( :type network_watcher_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -347,7 +347,7 @@ def update_tags( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('NetworkWatcher', pipeline_response) @@ -419,7 +419,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -487,7 +487,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -555,7 +555,7 @@ def get_topology( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('Topology', pipeline_response) @@ -610,7 +610,7 @@ def _verify_ip_flow_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -643,8 +643,8 @@ def begin_verify_ip_flow( :type parameters: ~azure.mgmt.network.v2019_06_01.models.VerificationIPFlowParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VerificationIPFlowResult or the result of cls(response) @@ -741,7 +741,7 @@ def _get_next_hop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -774,8 +774,8 @@ def begin_get_next_hop( :type parameters: ~azure.mgmt.network.v2019_06_01.models.NextHopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NextHopResult or the result of cls(response) @@ -872,7 +872,7 @@ def _get_vm_security_rules_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -905,8 +905,8 @@ def begin_get_vm_security_rules( :type parameters: ~azure.mgmt.network.v2019_06_01.models.SecurityGroupViewParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either SecurityGroupViewResult or the result of cls(response) @@ -1003,7 +1003,7 @@ def _get_troubleshooting_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1036,8 +1036,8 @@ def begin_get_troubleshooting( :type parameters: ~azure.mgmt.network.v2019_06_01.models.TroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1134,7 +1134,7 @@ def _get_troubleshooting_result_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1167,8 +1167,8 @@ def begin_get_troubleshooting_result( :type parameters: ~azure.mgmt.network.v2019_06_01.models.QueryTroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1265,7 +1265,7 @@ def _set_flow_log_configuration_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1298,8 +1298,8 @@ def begin_set_flow_log_configuration( :type parameters: ~azure.mgmt.network.v2019_06_01.models.FlowLogInformation :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1396,7 +1396,7 @@ def _get_flow_log_status_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1430,8 +1430,8 @@ def begin_get_flow_log_status( :type parameters: ~azure.mgmt.network.v2019_06_01.models.FlowLogStatusParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1528,7 +1528,7 @@ def _check_connectivity_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1562,8 +1562,8 @@ def begin_check_connectivity( :type parameters: ~azure.mgmt.network.v2019_06_01.models.ConnectivityParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectivityInformation or the result of cls(response) @@ -1660,7 +1660,7 @@ def _get_azure_reachability_report_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1694,8 +1694,8 @@ def begin_get_azure_reachability_report( :type parameters: ~azure.mgmt.network.v2019_06_01.models.AzureReachabilityReportParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AzureReachabilityReport or the result of cls(response) @@ -1792,7 +1792,7 @@ def _list_available_providers_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1825,8 +1825,8 @@ def begin_list_available_providers( :type parameters: ~azure.mgmt.network.v2019_06_01.models.AvailableProvidersListParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AvailableProvidersList or the result of cls(response) @@ -1923,7 +1923,7 @@ def _get_network_configuration_diagnostic_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1956,8 +1956,8 @@ def begin_get_network_configuration_diagnostic( :type parameters: ~azure.mgmt.network.v2019_06_01.models.NetworkConfigurationDiagnosticParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkConfigurationDiagnosticResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_p2_svpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_p2_svpn_gateways_operations.py index 0ca877190fd0..b29d9c96e419 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_p2_svpn_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_p2_svpn_gateways_operations.py @@ -96,7 +96,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('P2SVpnGateway', pipeline_response) @@ -151,7 +151,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -185,8 +185,8 @@ def begin_create_or_update( :type p2_s_vpn_gateway_parameters: ~azure.mgmt.network.v2019_06_01.models.P2SVpnGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -283,7 +283,7 @@ def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -317,8 +317,8 @@ def begin_update_tags( :type p2_s_vpn_gateway_parameters: ~azure.mgmt.network.v2019_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -409,7 +409,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -432,8 +432,8 @@ def begin_delete( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -543,7 +543,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -611,7 +611,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -697,8 +697,8 @@ def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2019_06_01.models.P2SVpnProfileParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnProfileResponse or the result of cls(response) @@ -817,8 +817,8 @@ def begin_get_p2_s_vpn_connection_health( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either P2SVpnGateway or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_p2_svpn_server_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_p2_svpn_server_configurations_operations.py index 508681f60619..06e8fbd353ca 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_p2_svpn_server_configurations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_p2_svpn_server_configurations_operations.py @@ -100,7 +100,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('P2SVpnServerConfiguration', pipeline_response) @@ -157,7 +157,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -195,8 +195,8 @@ def begin_create_or_update( :type p2_s_vpn_server_configuration_parameters: ~azure.mgmt.network.v2019_06_01.models.P2SVpnServerConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either P2SVpnServerConfiguration or the result of cls(response) @@ -291,7 +291,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -317,8 +317,8 @@ def begin_delete( :type p2_s_vpn_server_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -434,7 +434,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_packet_captures_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_packet_captures_operations.py index 995c7f3f7267..7b7574b1d34e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_packet_captures_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_packet_captures_operations.py @@ -93,7 +93,7 @@ def _create_initial( if response.status_code not in [201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PacketCaptureResult', pipeline_response) @@ -125,8 +125,8 @@ def begin_create( :type parameters: ~azure.mgmt.network.v2019_06_01.models.PacketCapture :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PacketCaptureResult or the result of cls(response) @@ -234,7 +234,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PacketCaptureResult', pipeline_response) @@ -285,7 +285,7 @@ def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -311,8 +311,8 @@ def begin_delete( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -403,7 +403,7 @@ def _stop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -429,8 +429,8 @@ def begin_stop( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -521,7 +521,7 @@ def _get_status_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -554,8 +554,8 @@ def begin_get_status( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PacketCaptureQueryStatusResult or the result of cls(response) @@ -674,7 +674,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_private_endpoints_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_private_endpoints_operations.py index 6e957dc0db50..432e042f2017 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_private_endpoints_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_private_endpoints_operations.py @@ -85,7 +85,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -108,8 +108,8 @@ def begin_delete( :type private_endpoint_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -212,7 +212,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateEndpoint', pipeline_response) @@ -267,7 +267,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -300,8 +300,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_06_01.models.PrivateEndpoint :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PrivateEndpoint or the result of cls(response) @@ -415,7 +415,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -483,7 +483,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_private_link_services_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_private_link_services_operations.py index f4d9c02aa58e..d31d63e5053d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_private_link_services_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_private_link_services_operations.py @@ -85,7 +85,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -108,8 +108,8 @@ def begin_delete( :type service_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -212,7 +212,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateLinkService', pipeline_response) @@ -267,7 +267,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -300,8 +300,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_06_01.models.PrivateLinkService :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PrivateLinkService or the result of cls(response) @@ -415,7 +415,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -483,7 +483,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -555,7 +555,7 @@ def update_private_endpoint_connection( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateEndpointConnection', pipeline_response) @@ -606,7 +606,7 @@ def _delete_private_endpoint_connection_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -632,8 +632,8 @@ def begin_delete_private_endpoint_connection( :type pe_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -753,8 +753,8 @@ def begin_check_private_link_service_visibility( :type parameters: ~azure.mgmt.network.v2019_06_01.models.CheckPrivateLinkServiceVisibilityRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PrivateLinkServiceVisibility or the result of cls(response) @@ -879,8 +879,8 @@ def begin_check_private_link_service_visibility_by_resource_group( :type parameters: ~azure.mgmt.network.v2019_06_01.models.CheckPrivateLinkServiceVisibilityRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PrivateLinkServiceVisibility or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_public_ip_addresses_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_public_ip_addresses_operations.py index 4e925449cb50..71b3acd1388a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_public_ip_addresses_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_public_ip_addresses_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type public_ip_address_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_06_01.models.PublicIPAddress :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PublicIPAddress or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PublicIPAddress or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_public_ip_prefixes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_public_ip_prefixes_operations.py index 74d31fcd6b3c..bd6002d3136d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_public_ip_prefixes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_public_ip_prefixes_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type public_ip_prefix_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_06_01.models.PublicIPPrefix :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PublicIPPrefix or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PublicIPPrefix or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_route_filter_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_route_filter_rules_operations.py index 0d8e6e602136..356e409fe9ab 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_route_filter_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_route_filter_rules_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2019_06_01.models.RouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilterRule or the result of cls(response) @@ -441,8 +441,8 @@ def begin_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2019_06_01.models.PatchRouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilterRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_route_filters_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_route_filters_operations.py index 88bddb7c542e..4fe25a183366 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_route_filters_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_route_filters_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type route_filter_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -296,8 +296,8 @@ def begin_create_or_update( :type route_filter_parameters: ~azure.mgmt.network.v2019_06_01.models.RouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilter or the result of cls(response) @@ -422,8 +422,8 @@ def begin_update( :type route_filter_parameters: ~azure.mgmt.network.v2019_06_01.models.PatchRouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilter or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_route_tables_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_route_tables_operations.py index 4925f90dab1b..e4ae892095dd 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_route_tables_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_route_tables_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_06_01.models.RouteTable :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteTable or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteTable or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_routes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_routes_operations.py index f103f15f7d0a..1382b1d1456e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_routes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_routes_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type route_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -306,8 +306,8 @@ def begin_create_or_update( :type route_parameters: ~azure.mgmt.network.v2019_06_01.models.Route :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Route or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_security_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_security_rules_operations.py index 600d13d4a12f..73519a10645c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_security_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_security_rules_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type security_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type security_rule_parameters: ~azure.mgmt.network.v2019_06_01.models.SecurityRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either SecurityRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_service_endpoint_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_service_endpoint_policies_operations.py index 73d9f95e36ee..91c81aea6057 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_service_endpoint_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_service_endpoint_policies_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type service_endpoint_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -296,8 +296,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_06_01.models.ServiceEndpointPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ServiceEndpointPolicy or the result of cls(response) @@ -422,8 +422,8 @@ def begin_update( :type parameters: ~azure.mgmt.network.v2019_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ServiceEndpointPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_service_endpoint_policy_definitions_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_service_endpoint_policy_definitions_operations.py index 7d2bc2284fbf..6bdf88f9942a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_service_endpoint_policy_definitions_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_service_endpoint_policy_definitions_operations.py @@ -111,8 +111,8 @@ def begin_delete( :type service_endpoint_policy_definition_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -311,8 +311,8 @@ def begin_create_or_update( :type service_endpoint_policy_definitions: ~azure.mgmt.network.v2019_06_01.models.ServiceEndpointPolicyDefinition :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ServiceEndpointPolicyDefinition or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_subnets_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_subnets_operations.py index 9cfbeca4ee5c..193244903a25 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_subnets_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_subnets_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type subnet_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -311,8 +311,8 @@ def begin_create_or_update( :type subnet_parameters: ~azure.mgmt.network.v2019_06_01.models.Subnet :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Subnet or the result of cls(response) @@ -440,8 +440,8 @@ def begin_prepare_network_policies( :type prepare_network_policies_request_parameters: ~azure.mgmt.network.v2019_06_01.models.PrepareNetworkPoliciesRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -566,8 +566,8 @@ def begin_unprepare_network_policies( :type unprepare_network_policies_request_parameters: ~azure.mgmt.network.v2019_06_01.models.UnprepareNetworkPoliciesRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_virtual_hubs_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_virtual_hubs_operations.py index e81b91843606..230fed58001f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_virtual_hubs_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_virtual_hubs_operations.py @@ -96,7 +96,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualHub', pipeline_response) @@ -151,7 +151,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -184,8 +184,8 @@ def begin_create_or_update( :type virtual_hub_parameters: ~azure.mgmt.network.v2019_06_01.models.VirtualHub :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualHub or the result of cls(response) @@ -282,7 +282,7 @@ def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -315,8 +315,8 @@ def begin_update_tags( :type virtual_hub_parameters: ~azure.mgmt.network.v2019_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualHub or the result of cls(response) @@ -407,7 +407,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -430,8 +430,8 @@ def begin_delete( :type virtual_hub_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -541,7 +541,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -609,7 +609,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_virtual_network_gateway_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_virtual_network_gateway_connections_operations.py index dc101e12b2f1..064073ade42c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_virtual_network_gateway_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_virtual_network_gateway_connections_operations.py @@ -125,8 +125,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_06_01.models.VirtualNetworkGatewayConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -298,8 +298,8 @@ def begin_delete( :type virtual_network_gateway_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -423,8 +423,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -556,8 +556,8 @@ def begin_set_shared_key( :type parameters: ~azure.mgmt.network.v2019_06_01.models.ConnectionSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionSharedKey or the result of cls(response) @@ -821,8 +821,8 @@ def begin_reset_shared_key( :type parameters: ~azure.mgmt.network.v2019_06_01.models.ConnectionResetSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionResetSharedKey or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_virtual_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_virtual_network_gateways_operations.py index 1c19eef499db..162bfaa0b62d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_virtual_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_virtual_network_gateways_operations.py @@ -123,8 +123,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_06_01.models.VirtualNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -294,8 +294,8 @@ def begin_delete( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -418,8 +418,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -690,8 +690,8 @@ def begin_reset( :type gateway_vip: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -803,8 +803,8 @@ def begin_reset_vpn_client_shared_key( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -929,8 +929,8 @@ def begin_generatevpnclientpackage( :type parameters: ~azure.mgmt.network.v2019_06_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1059,8 +1059,8 @@ def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2019_06_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1179,8 +1179,8 @@ def begin_get_vpn_profile_package_url( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1303,8 +1303,8 @@ def begin_get_bgp_peer_status( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either BgpPeerStatusListResult or the result of cls(response) @@ -1482,8 +1482,8 @@ def begin_get_learned_routes( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1606,8 +1606,8 @@ def begin_get_advertised_routes( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1736,8 +1736,8 @@ def begin_set_vpnclient_ipsec_parameters( :type vpnclient_ipsec_params: ~azure.mgmt.network.v2019_06_01.models.VpnClientIPsecParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnClientIPsecParameters or the result of cls(response) @@ -1855,8 +1855,8 @@ def begin_get_vpnclient_ipsec_parameters( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnClientIPsecParameters or the result of cls(response) @@ -2042,8 +2042,8 @@ def begin_get_vpnclient_connection_health( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnClientConnectionHealthDetailListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_virtual_network_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_virtual_network_peerings_operations.py index b7a6c28eb7f3..0c552fa4b340 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_virtual_network_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_virtual_network_peerings_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type virtual_network_peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type virtual_network_peering_parameters: ~azure.mgmt.network.v2019_06_01.models.VirtualNetworkPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_virtual_network_taps_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_virtual_network_taps_operations.py index ecc3fa55528d..3eb376edc1cd 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_virtual_network_taps_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_virtual_network_taps_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type tap_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_06_01.models.VirtualNetworkTap :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkTap or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type tap_parameters: ~azure.mgmt.network.v2019_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkTap or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_virtual_networks_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_virtual_networks_operations.py index 3edb0c160051..b515e5557917 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_virtual_networks_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_virtual_networks_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type virtual_network_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_06_01.models.VirtualNetwork :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetwork or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetwork or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_virtual_wans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_virtual_wans_operations.py index e185577c9a67..8cd02e301a24 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_virtual_wans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_virtual_wans_operations.py @@ -96,7 +96,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualWAN', pipeline_response) @@ -151,7 +151,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -184,8 +184,8 @@ def begin_create_or_update( :type wan_parameters: ~azure.mgmt.network.v2019_06_01.models.VirtualWAN :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualWAN or the result of cls(response) @@ -282,7 +282,7 @@ def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -315,8 +315,8 @@ def begin_update_tags( :type wan_parameters: ~azure.mgmt.network.v2019_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualWAN or the result of cls(response) @@ -407,7 +407,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -430,8 +430,8 @@ def begin_delete( :type virtual_wan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -541,7 +541,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -609,7 +609,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_vpn_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_vpn_connections_operations.py index fa5aef815bc2..87e8b407e553 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_vpn_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_vpn_connections_operations.py @@ -100,7 +100,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VpnConnection', pipeline_response) @@ -157,7 +157,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -194,8 +194,8 @@ def begin_create_or_update( :type vpn_connection_parameters: ~azure.mgmt.network.v2019_06_01.models.VpnConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnConnection or the result of cls(response) @@ -290,7 +290,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -316,8 +316,8 @@ def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -433,7 +433,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_vpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_vpn_gateways_operations.py index 7350a3243d39..3d474fe67627 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_vpn_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_vpn_gateways_operations.py @@ -96,7 +96,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VpnGateway', pipeline_response) @@ -151,7 +151,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -185,8 +185,8 @@ def begin_create_or_update( :type vpn_gateway_parameters: ~azure.mgmt.network.v2019_06_01.models.VpnGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnGateway or the result of cls(response) @@ -283,7 +283,7 @@ def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -316,8 +316,8 @@ def begin_update_tags( :type vpn_gateway_parameters: ~azure.mgmt.network.v2019_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnGateway or the result of cls(response) @@ -408,7 +408,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -431,8 +431,8 @@ def begin_delete( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -546,8 +546,8 @@ def begin_reset( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnGateway or the result of cls(response) @@ -660,7 +660,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -728,7 +728,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_vpn_link_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_vpn_link_connections_operations.py index 14cc2fad5b10..750218363eae 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_vpn_link_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_vpn_link_connections_operations.py @@ -115,7 +115,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_vpn_site_link_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_vpn_site_link_connections_operations.py index 9fac9797d222..2e787cf86529 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_vpn_site_link_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_vpn_site_link_connections_operations.py @@ -101,7 +101,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VpnSiteLinkConnection', pipeline_response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_vpn_site_links_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_vpn_site_links_operations.py index 77e13e77a74f..c1707a0cc6a2 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_vpn_site_links_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_vpn_site_links_operations.py @@ -98,7 +98,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VpnSiteLink', pipeline_response) @@ -174,7 +174,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_vpn_sites_configuration_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_vpn_sites_configuration_operations.py index 99f21ab12890..a41191b57648 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_vpn_sites_configuration_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_vpn_sites_configuration_operations.py @@ -90,7 +90,7 @@ def _download_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -117,8 +117,8 @@ def begin_download( :type request: ~azure.mgmt.network.v2019_06_01.models.GetVpnSitesConfigurationRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_vpn_sites_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_vpn_sites_operations.py index daddd52fee4f..9be02d34c8e3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_vpn_sites_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_vpn_sites_operations.py @@ -96,7 +96,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VpnSite', pipeline_response) @@ -151,7 +151,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -184,8 +184,8 @@ def begin_create_or_update( :type vpn_site_parameters: ~azure.mgmt.network.v2019_06_01.models.VpnSite :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnSite or the result of cls(response) @@ -282,7 +282,7 @@ def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -315,8 +315,8 @@ def begin_update_tags( :type vpn_site_parameters: ~azure.mgmt.network.v2019_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnSite or the result of cls(response) @@ -407,7 +407,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -430,8 +430,8 @@ def begin_delete( :type vpn_site_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -541,7 +541,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -609,7 +609,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_web_application_firewall_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_web_application_firewall_policies_operations.py index 3ee8e983961a..ac32d9cec321 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_web_application_firewall_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_06_01/operations/_web_application_firewall_policies_operations.py @@ -373,8 +373,8 @@ def begin_delete( :type policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/_metadata.json b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/_metadata.json index c5f8b0ebb95a..ebfb3c592421 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/_metadata.json +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/_metadata.json @@ -9,7 +9,9 @@ "custom_base_url": null, "azure_arm": true, "has_lro_operations": true, - "client_side_validation": true + "client_side_validation": false, + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"NetworkManagementClientConfiguration\"], \"._operations_mixin\": [\"NetworkManagementClientOperationsMixin\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"NetworkManagementClientConfiguration\"], \"._operations_mixin\": [\"NetworkManagementClientOperationsMixin\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}" }, "global_parameters": { "sync": { @@ -28,13 +30,13 @@ }, "async": { "credential": { - "signature": "credential, # type: \"AsyncTokenCredential\"", + "signature": "credential: \"AsyncTokenCredential\",", "description": "Credential needed for the client to connect to Azure.", "docstring_type": "~azure.core.credentials_async.AsyncTokenCredential", "required": true }, "subscription_id": { - "signature": "subscription_id, # type: str", + "signature": "subscription_id: str,", "description": "The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.", "docstring_type": "str", "required": true @@ -42,14 +44,58 @@ }, "constant": { }, - "call": "credential, subscription_id" + "call": "credential, subscription_id", + "service_client_specific": { + "sync": { + "api_version": { + "signature": "api_version=None, # type: Optional[str]", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url=None, # type: Optional[str]", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile=KnownProfiles.default, # type: KnownProfiles", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + }, + "async": { + "api_version": { + "signature": "api_version: Optional[str] = None,", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url: Optional[str] = None,", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile: KnownProfiles = KnownProfiles.default,", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + } + } }, "config": { "credential": true, "credential_scopes": ["https://management.azure.com/.default"], "credential_default_policy_type": "BearerTokenCredentialPolicy", "credential_default_policy_type_has_async_version": true, - "credential_key_header_name": null + "credential_key_header_name": null, + "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMHttpLoggingPolicy\"]}, \"local\": {\"._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}}", + "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMHttpLoggingPolicy\"]}, \"local\": {\".._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}}" }, "operation_groups": { "application_gateways": "ApplicationGatewaysOperations", @@ -138,31 +184,33 @@ "web_application_firewall_policies": "WebApplicationFirewallPoliciesOperations" }, "operation_mixins": { - "check_dns_name_availability" : { - "sync": { - "signature": "def check_dns_name_availability(\n self,\n location, # type: str\n domain_name_label, # type: str\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_07_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def check_dns_name_availability(\n self,\n location: str,\n domain_name_label: str,\n **kwargs\n) -\u003e \"_models.DnsNameAvailabilityResult\":\n", - "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_07_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "location, domain_name_label" - }, - "supported_security_providers" : { - "sync": { - "signature": "def supported_security_providers(\n self,\n resource_group_name, # type: str\n virtual_wan_name, # type: str\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Gives the supported security providers for the virtual wan.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN for which supported security providers are\n needed.\n:type virtual_wan_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VirtualWanSecurityProviders, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_07_01.models.VirtualWanSecurityProviders\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\"]}}}", + "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\"]}}}", + "operations": { + "check_dns_name_availability" : { + "sync": { + "signature": "def check_dns_name_availability(\n self,\n location, # type: str\n domain_name_label, # type: str\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_07_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def check_dns_name_availability(\n self,\n location: str,\n domain_name_label: str,\n **kwargs\n) -\u003e \"_models.DnsNameAvailabilityResult\":\n", + "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_07_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "location, domain_name_label" }, - "async": { - "coroutine": true, - "signature": "async def supported_security_providers(\n self,\n resource_group_name: str,\n virtual_wan_name: str,\n **kwargs\n) -\u003e \"_models.VirtualWanSecurityProviders\":\n", - "doc": "\"\"\"Gives the supported security providers for the virtual wan.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN for which supported security providers are\n needed.\n:type virtual_wan_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VirtualWanSecurityProviders, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_07_01.models.VirtualWanSecurityProviders\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "resource_group_name, virtual_wan_name" + "supported_security_providers" : { + "sync": { + "signature": "def supported_security_providers(\n self,\n resource_group_name, # type: str\n virtual_wan_name, # type: str\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Gives the supported security providers for the virtual wan.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN for which supported security providers are\n needed.\n:type virtual_wan_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VirtualWanSecurityProviders, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_07_01.models.VirtualWanSecurityProviders\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def supported_security_providers(\n self,\n resource_group_name: str,\n virtual_wan_name: str,\n **kwargs\n) -\u003e \"_models.VirtualWanSecurityProviders\":\n", + "doc": "\"\"\"Gives the supported security providers for the virtual wan.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN for which supported security providers are\n needed.\n:type virtual_wan_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VirtualWanSecurityProviders, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_07_01.models.VirtualWanSecurityProviders\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "resource_group_name, virtual_wan_name" + } } - }, - "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\"]}}}", - "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\"]}}}" + } } \ No newline at end of file diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/_network_management_client.py index 141b47bea732..91d3a0f43ff1 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/_network_management_client.py @@ -16,6 +16,7 @@ from typing import Any, Optional from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse from ._configuration import NetworkManagementClientConfiguration from .operations import ApplicationGatewaysOperations @@ -300,6 +301,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( @@ -471,6 +473,24 @@ def __init__( self.web_application_firewall_policies = WebApplicationFirewallPoliciesOperations( self._client, self._config, self._serialize, self._deserialize) + def _send_request(self, http_request, **kwargs): + # type: (HttpRequest, Any) -> HttpResponse + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.HttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + def close(self): # type: () -> None self._client.close() diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/_network_management_client.py index c2c69a1def47..28088ae72651 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/_network_management_client.py @@ -8,6 +8,7 @@ from typing import Any, Optional, TYPE_CHECKING +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core import AsyncARMPipelineClient from msrest import Deserializer, Serializer @@ -297,6 +298,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( @@ -468,6 +470,23 @@ def __init__( self.web_application_firewall_policies = WebApplicationFirewallPoliciesOperations( self._client, self._config, self._serialize, self._deserialize) + async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + async def close(self) -> None: await self._client.close() diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_application_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_application_gateways_operations.py index 76087608d09f..f1ed58a4136f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_application_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_application_gateways_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_07_01.models.ApplicationGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGateway or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGateway or the result of cls(response) @@ -651,8 +651,8 @@ async def begin_start( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -757,8 +757,8 @@ async def begin_stop( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -876,8 +876,8 @@ async def begin_backend_health( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGatewayBackendHealth or the result of cls(response) @@ -1009,8 +1009,8 @@ async def begin_backend_health_on_demand( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGatewayBackendHealthOnDemand or the result of cls(response) @@ -1104,7 +1104,7 @@ async def list_available_server_variables( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) @@ -1155,7 +1155,7 @@ async def list_available_request_headers( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) @@ -1206,7 +1206,7 @@ async def list_available_response_headers( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_application_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_application_security_groups_operations.py index 3279b2470e2f..582d82b56f3b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_application_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_application_security_groups_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type application_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -282,8 +282,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_07_01.models.ApplicationSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationSecurityGroup or the result of cls(response) @@ -406,8 +406,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_azure_firewalls_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_azure_firewalls_operations.py index f58e6645200a..d1fdf718b0d0 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_azure_firewalls_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_azure_firewalls_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type azure_firewall_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_07_01.models.AzureFirewall :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AzureFirewall or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_bastion_hosts_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_bastion_hosts_operations.py index a0e4753d2ddd..6ccf8fd10064 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_bastion_hosts_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_bastion_hosts_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type bastion_host_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_07_01.models.BastionHost :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either BastionHost or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_connection_monitors_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_connection_monitors_operations.py index e80c2fbb8ff5..08d698a757cf 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_connection_monitors_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_connection_monitors_operations.py @@ -88,7 +88,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -123,8 +123,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_07_01.models.ConnectionMonitor :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionMonitorResult or the result of cls(response) @@ -231,7 +231,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('ConnectionMonitorResult', pipeline_response) @@ -281,7 +281,7 @@ async def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -306,8 +306,8 @@ async def begin_delete( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -418,7 +418,7 @@ async def update_tags( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('ConnectionMonitorResult', pipeline_response) @@ -468,7 +468,7 @@ async def _stop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -493,8 +493,8 @@ async def begin_stop( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -584,7 +584,7 @@ async def _start_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -609,8 +609,8 @@ async def begin_start( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -700,7 +700,7 @@ async def _query_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -732,8 +732,8 @@ async def begin_query( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionMonitorQueryResult or the result of cls(response) @@ -851,7 +851,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_ddos_custom_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_ddos_custom_policies_operations.py index 5e6fe83697d1..85ee293d22eb 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_ddos_custom_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_ddos_custom_policies_operations.py @@ -100,8 +100,8 @@ async def begin_delete( :type ddos_custom_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -282,8 +282,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_07_01.models.DdosCustomPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either DdosCustomPolicy or the result of cls(response) @@ -406,8 +406,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either DdosCustomPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_ddos_protection_plans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_ddos_protection_plans_operations.py index 894fb2aad17d..0abec33e173b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_ddos_protection_plans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_ddos_protection_plans_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type ddos_protection_plan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_07_01.models.DdosProtectionPlan :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either DdosProtectionPlan or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either DdosProtectionPlan or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_express_route_circuit_authorizations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_express_route_circuit_authorizations_operations.py index ee2a6b422b80..d99fa0dc45ca 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_express_route_circuit_authorizations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_express_route_circuit_authorizations_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type authorization_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type authorization_parameters: ~azure.mgmt.network.v2019_07_01.models.ExpressRouteCircuitAuthorization :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitAuthorization or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_express_route_circuit_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_express_route_circuit_connections_operations.py index 72f56390287f..63cdd5782505 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_express_route_circuit_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_express_route_circuit_connections_operations.py @@ -110,8 +110,8 @@ async def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -315,8 +315,8 @@ async def begin_create_or_update( :type express_route_circuit_connection_parameters: ~azure.mgmt.network.v2019_07_01.models.ExpressRouteCircuitConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitConnection or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_express_route_circuit_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_express_route_circuit_peerings_operations.py index dd3c5b4a5f86..409892629368 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_express_route_circuit_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_express_route_circuit_peerings_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2019_07_01.models.ExpressRouteCircuitPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_express_route_circuits_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_express_route_circuits_operations.py index aa8a2dc88eca..8f228ea9afc7 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_express_route_circuits_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_express_route_circuits_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type circuit_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_07_01.models.ExpressRouteCircuit :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -533,8 +533,8 @@ async def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -664,8 +664,8 @@ async def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) @@ -795,8 +795,8 @@ async def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableSummaryListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_express_route_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_express_route_connections_operations.py index 6b9564b1a044..38acafe42052 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_express_route_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_express_route_connections_operations.py @@ -122,8 +122,8 @@ async def begin_create_or_update( :type put_express_route_connection_parameters: ~azure.mgmt.network.v2019_07_01.models.ExpressRouteConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteConnection or the result of cls(response) @@ -301,8 +301,8 @@ async def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_express_route_cross_connection_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_express_route_cross_connection_peerings_operations.py index 67981d9835e2..cbbdc1f5e54c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_express_route_cross_connection_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_express_route_cross_connection_peerings_operations.py @@ -178,8 +178,8 @@ async def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -372,8 +372,8 @@ async def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2019_07_01.models.ExpressRouteCrossConnectionPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCrossConnectionPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_express_route_cross_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_express_route_cross_connections_operations.py index 536dc0664625..b1fa3b25ce3f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_express_route_cross_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_express_route_cross_connections_operations.py @@ -308,8 +308,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_07_01.models.ExpressRouteCrossConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCrossConnection or the result of cls(response) @@ -433,8 +433,8 @@ async def begin_update_tags( :type cross_connection_parameters: ~azure.mgmt.network.v2019_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCrossConnection or the result of cls(response) @@ -561,8 +561,8 @@ async def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -692,8 +692,8 @@ async def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCrossConnectionsRoutesTableSummaryListResult or the result of cls(response) @@ -823,8 +823,8 @@ async def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_express_route_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_express_route_gateways_operations.py index ec65bb4a04f4..88ac88dd7390 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_express_route_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_express_route_gateways_operations.py @@ -221,8 +221,8 @@ async def begin_create_or_update( :type put_express_route_gateway_parameters: ~azure.mgmt.network.v2019_07_01.models.ExpressRouteGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteGateway or the result of cls(response) @@ -390,8 +390,8 @@ async def begin_delete( :type express_route_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_express_route_ports_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_express_route_ports_operations.py index 65ba1a7346f3..bc8c17760bab 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_express_route_ports_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_express_route_ports_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type express_route_port_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_07_01.models.ExpressRoutePort :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRoutePort or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRoutePort or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_firewall_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_firewall_policies_operations.py index b84d852267bf..836c6f7d76d9 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_firewall_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_firewall_policies_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type firewall_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -268,7 +268,7 @@ async def update_tags( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('FirewallPolicy', pipeline_response) @@ -353,8 +353,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_07_01.models.FirewallPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FirewallPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_firewall_policy_rule_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_firewall_policy_rule_groups_operations.py index 21fb1199c54e..23c401aa7a11 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_firewall_policy_rule_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_firewall_policy_rule_groups_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type rule_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_07_01.models.FirewallPolicyRuleGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FirewallPolicyRuleGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_hub_virtual_network_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_hub_virtual_network_connections_operations.py index 046b33ddaae7..fd0f172e42a0 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_hub_virtual_network_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_hub_virtual_network_connections_operations.py @@ -93,7 +93,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('HubVirtualNetworkConnection', pipeline_response) @@ -168,7 +168,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_inbound_nat_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_inbound_nat_rules_operations.py index d1cb3ddba8f9..34293b349f43 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_inbound_nat_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_inbound_nat_rules_operations.py @@ -178,8 +178,8 @@ async def begin_delete( :type inbound_nat_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -377,8 +377,8 @@ async def begin_create_or_update( :type inbound_nat_rule_parameters: ~azure.mgmt.network.v2019_07_01.models.InboundNatRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either InboundNatRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_load_balancers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_load_balancers_operations.py index 2c4bb978e251..b37e9e0e5189 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_load_balancers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_load_balancers_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type load_balancer_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_07_01.models.LoadBalancer :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LoadBalancer or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LoadBalancer or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_local_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_local_network_gateways_operations.py index faf6d4d1a4fd..bed840617f78 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_local_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_local_network_gateways_operations.py @@ -117,8 +117,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_07_01.models.LocalNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LocalNetworkGateway or the result of cls(response) @@ -285,8 +285,8 @@ async def begin_delete( :type local_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LocalNetworkGateway or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_nat_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_nat_gateways_operations.py index 02a89e99f08b..812a1be7f3ca 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_nat_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_nat_gateways_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type nat_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -289,8 +289,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_07_01.models.NatGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NatGateway or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_network_interface_tap_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_network_interface_tap_configurations_operations.py index f922346399f6..4c13ef2381aa 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_network_interface_tap_configurations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_network_interface_tap_configurations_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type tap_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type tap_configuration_parameters: ~azure.mgmt.network.v2019_07_01.models.NetworkInterfaceTapConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkInterfaceTapConfiguration or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_network_interfaces_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_network_interfaces_operations.py index d08e690ca537..5e69632f9264 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_network_interfaces_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_network_interfaces_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_07_01.models.NetworkInterface :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkInterface or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkInterface or the result of cls(response) @@ -663,8 +663,8 @@ async def begin_get_effective_route_table( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either EffectiveRouteListResult or the result of cls(response) @@ -779,8 +779,8 @@ async def begin_list_effective_network_security_groups( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either EffectiveNetworkSecurityGroupListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_network_management_client_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_network_management_client_operations.py index bf95c00eaeb1..605f6d4a6290 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_network_management_client_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_network_management_client_operations.py @@ -128,7 +128,7 @@ async def supported_security_providers( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualWanSecurityProviders', pipeline_response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_network_profiles_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_network_profiles_operations.py index 2dc241dba602..9d2f6f7388ea 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_network_profiles_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_network_profiles_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type network_profile_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_network_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_network_security_groups_operations.py index 12cabd2b503d..1eb24cf49f41 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_network_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_network_security_groups_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type network_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -287,8 +287,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_07_01.models.NetworkSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkSecurityGroup or the result of cls(response) @@ -411,8 +411,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_network_watchers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_network_watchers_operations.py index 0c349a7bdd35..4291db3b3596 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_network_watchers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_network_watchers_operations.py @@ -99,7 +99,7 @@ async def create_or_update( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -162,7 +162,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('NetworkWatcher', pipeline_response) @@ -210,7 +210,7 @@ async def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -232,8 +232,8 @@ async def begin_delete( :type network_watcher_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -338,7 +338,7 @@ async def update_tags( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('NetworkWatcher', pipeline_response) @@ -409,7 +409,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -476,7 +476,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -543,7 +543,7 @@ async def get_topology( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('Topology', pipeline_response) @@ -597,7 +597,7 @@ async def _verify_ip_flow_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -629,8 +629,8 @@ async def begin_verify_ip_flow( :type parameters: ~azure.mgmt.network.v2019_07_01.models.VerificationIPFlowParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VerificationIPFlowResult or the result of cls(response) @@ -726,7 +726,7 @@ async def _get_next_hop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -758,8 +758,8 @@ async def begin_get_next_hop( :type parameters: ~azure.mgmt.network.v2019_07_01.models.NextHopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NextHopResult or the result of cls(response) @@ -855,7 +855,7 @@ async def _get_vm_security_rules_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -887,8 +887,8 @@ async def begin_get_vm_security_rules( :type parameters: ~azure.mgmt.network.v2019_07_01.models.SecurityGroupViewParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either SecurityGroupViewResult or the result of cls(response) @@ -984,7 +984,7 @@ async def _get_troubleshooting_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1016,8 +1016,8 @@ async def begin_get_troubleshooting( :type parameters: ~azure.mgmt.network.v2019_07_01.models.TroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1113,7 +1113,7 @@ async def _get_troubleshooting_result_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1145,8 +1145,8 @@ async def begin_get_troubleshooting_result( :type parameters: ~azure.mgmt.network.v2019_07_01.models.QueryTroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1242,7 +1242,7 @@ async def _set_flow_log_configuration_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1274,8 +1274,8 @@ async def begin_set_flow_log_configuration( :type parameters: ~azure.mgmt.network.v2019_07_01.models.FlowLogInformation :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1371,7 +1371,7 @@ async def _get_flow_log_status_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1404,8 +1404,8 @@ async def begin_get_flow_log_status( :type parameters: ~azure.mgmt.network.v2019_07_01.models.FlowLogStatusParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1501,7 +1501,7 @@ async def _check_connectivity_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1534,8 +1534,8 @@ async def begin_check_connectivity( :type parameters: ~azure.mgmt.network.v2019_07_01.models.ConnectivityParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectivityInformation or the result of cls(response) @@ -1631,7 +1631,7 @@ async def _get_azure_reachability_report_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1664,8 +1664,8 @@ async def begin_get_azure_reachability_report( :type parameters: ~azure.mgmt.network.v2019_07_01.models.AzureReachabilityReportParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AzureReachabilityReport or the result of cls(response) @@ -1761,7 +1761,7 @@ async def _list_available_providers_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1793,8 +1793,8 @@ async def begin_list_available_providers( :type parameters: ~azure.mgmt.network.v2019_07_01.models.AvailableProvidersListParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AvailableProvidersList or the result of cls(response) @@ -1890,7 +1890,7 @@ async def _get_network_configuration_diagnostic_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1926,8 +1926,8 @@ async def begin_get_network_configuration_diagnostic( :type parameters: ~azure.mgmt.network.v2019_07_01.models.NetworkConfigurationDiagnosticParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkConfigurationDiagnosticResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_p2_svpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_p2_svpn_gateways_operations.py index a36ace6d25e2..26f3c99c702a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_p2_svpn_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_p2_svpn_gateways_operations.py @@ -91,7 +91,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('P2SVpnGateway', pipeline_response) @@ -145,7 +145,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -178,8 +178,8 @@ async def begin_create_or_update( :type p2_s_vpn_gateway_parameters: ~azure.mgmt.network.v2019_07_01.models.P2SVpnGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -275,7 +275,7 @@ async def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -308,8 +308,8 @@ async def begin_update_tags( :type p2_s_vpn_gateway_parameters: ~azure.mgmt.network.v2019_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -399,7 +399,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -421,8 +421,8 @@ async def begin_delete( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -531,7 +531,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -598,7 +598,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -682,8 +682,8 @@ async def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2019_07_01.models.P2SVpnProfileParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnProfileResponse or the result of cls(response) @@ -800,8 +800,8 @@ async def begin_get_p2_s_vpn_connection_health( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either P2SVpnGateway or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_p2_svpn_server_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_p2_svpn_server_configurations_operations.py index a6b8441e2973..41b911978601 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_p2_svpn_server_configurations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_p2_svpn_server_configurations_operations.py @@ -95,7 +95,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('P2SVpnServerConfiguration', pipeline_response) @@ -151,7 +151,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -188,8 +188,8 @@ async def begin_create_or_update( :type p2_s_vpn_server_configuration_parameters: ~azure.mgmt.network.v2019_07_01.models.P2SVpnServerConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either P2SVpnServerConfiguration or the result of cls(response) @@ -283,7 +283,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -308,8 +308,8 @@ async def begin_delete( :type p2_s_vpn_server_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -424,7 +424,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_packet_captures_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_packet_captures_operations.py index 1f2d8d01a2d8..f6868452cc77 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_packet_captures_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_packet_captures_operations.py @@ -88,7 +88,7 @@ async def _create_initial( if response.status_code not in [201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PacketCaptureResult', pipeline_response) @@ -119,8 +119,8 @@ async def begin_create( :type parameters: ~azure.mgmt.network.v2019_07_01.models.PacketCapture :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PacketCaptureResult or the result of cls(response) @@ -227,7 +227,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PacketCaptureResult', pipeline_response) @@ -277,7 +277,7 @@ async def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -302,8 +302,8 @@ async def begin_delete( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -393,7 +393,7 @@ async def _stop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -418,8 +418,8 @@ async def begin_stop( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -509,7 +509,7 @@ async def _get_status_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -541,8 +541,8 @@ async def begin_get_status( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PacketCaptureQueryStatusResult or the result of cls(response) @@ -660,7 +660,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_private_endpoints_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_private_endpoints_operations.py index 9c7cc301ecb4..23e08b3edc93 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_private_endpoints_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_private_endpoints_operations.py @@ -80,7 +80,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -102,8 +102,8 @@ async def begin_delete( :type private_endpoint_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -205,7 +205,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateEndpoint', pipeline_response) @@ -259,7 +259,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -291,8 +291,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_07_01.models.PrivateEndpoint :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PrivateEndpoint or the result of cls(response) @@ -405,7 +405,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -472,7 +472,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_private_link_services_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_private_link_services_operations.py index 1c046a2d6d5f..198a31b46c83 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_private_link_services_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_private_link_services_operations.py @@ -80,7 +80,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -102,8 +102,8 @@ async def begin_delete( :type service_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -205,7 +205,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateLinkService', pipeline_response) @@ -259,7 +259,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -291,8 +291,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_07_01.models.PrivateLinkService :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PrivateLinkService or the result of cls(response) @@ -405,7 +405,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -472,7 +472,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -543,7 +543,7 @@ async def update_private_endpoint_connection( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateEndpointConnection', pipeline_response) @@ -593,7 +593,7 @@ async def _delete_private_endpoint_connection_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -618,8 +618,8 @@ async def begin_delete_private_endpoint_connection( :type pe_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -737,8 +737,8 @@ async def begin_check_private_link_service_visibility( :type parameters: ~azure.mgmt.network.v2019_07_01.models.CheckPrivateLinkServiceVisibilityRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PrivateLinkServiceVisibility or the result of cls(response) @@ -862,8 +862,8 @@ async def begin_check_private_link_service_visibility_by_resource_group( :type parameters: ~azure.mgmt.network.v2019_07_01.models.CheckPrivateLinkServiceVisibilityRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PrivateLinkServiceVisibility or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_public_ip_addresses_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_public_ip_addresses_operations.py index b44e13b8f436..9115fde040bc 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_public_ip_addresses_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_public_ip_addresses_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type public_ip_address_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_07_01.models.PublicIPAddress :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PublicIPAddress or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PublicIPAddress or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_public_ip_prefixes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_public_ip_prefixes_operations.py index 1be548049a16..f33dba02c56f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_public_ip_prefixes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_public_ip_prefixes_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type public_ip_prefix_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_07_01.models.PublicIPPrefix :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PublicIPPrefix or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PublicIPPrefix or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_route_filter_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_route_filter_rules_operations.py index 1ec731da6868..be3b7dd33c0f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_route_filter_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_route_filter_rules_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2019_07_01.models.RouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilterRule or the result of cls(response) @@ -430,8 +430,8 @@ async def begin_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2019_07_01.models.PatchRouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilterRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_route_filters_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_route_filters_operations.py index d97716853400..33a8bdcbf558 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_route_filters_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_route_filters_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type route_filter_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -287,8 +287,8 @@ async def begin_create_or_update( :type route_filter_parameters: ~azure.mgmt.network.v2019_07_01.models.RouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilter or the result of cls(response) @@ -411,8 +411,8 @@ async def begin_update( :type route_filter_parameters: ~azure.mgmt.network.v2019_07_01.models.PatchRouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilter or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_route_tables_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_route_tables_operations.py index 12d13ffd6f5a..1c9a94c29cdc 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_route_tables_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_route_tables_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_07_01.models.RouteTable :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteTable or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteTable or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_routes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_routes_operations.py index b59499bb0f6d..c633b1e30d96 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_routes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_routes_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type route_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ async def begin_create_or_update( :type route_parameters: ~azure.mgmt.network.v2019_07_01.models.Route :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Route or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_security_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_security_rules_operations.py index 8e2893b52159..2fb7c76f9c4b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_security_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_security_rules_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type security_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type security_rule_parameters: ~azure.mgmt.network.v2019_07_01.models.SecurityRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either SecurityRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_service_endpoint_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_service_endpoint_policies_operations.py index 601110ec0614..4d76b7b34e05 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_service_endpoint_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_service_endpoint_policies_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type service_endpoint_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -287,8 +287,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_07_01.models.ServiceEndpointPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ServiceEndpointPolicy or the result of cls(response) @@ -411,8 +411,8 @@ async def begin_update( :type parameters: ~azure.mgmt.network.v2019_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ServiceEndpointPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_service_endpoint_policy_definitions_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_service_endpoint_policy_definitions_operations.py index f52fcfeb21db..7d2e05de69cb 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_service_endpoint_policy_definitions_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_service_endpoint_policy_definitions_operations.py @@ -105,8 +105,8 @@ async def begin_delete( :type service_endpoint_policy_definition_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -302,8 +302,8 @@ async def begin_create_or_update( :type service_endpoint_policy_definitions: ~azure.mgmt.network.v2019_07_01.models.ServiceEndpointPolicyDefinition :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ServiceEndpointPolicyDefinition or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_subnets_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_subnets_operations.py index d8cf2ea2d41a..286a97946f64 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_subnets_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_subnets_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type subnet_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -302,8 +302,8 @@ async def begin_create_or_update( :type subnet_parameters: ~azure.mgmt.network.v2019_07_01.models.Subnet :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Subnet or the result of cls(response) @@ -429,8 +429,8 @@ async def begin_prepare_network_policies( :type prepare_network_policies_request_parameters: ~azure.mgmt.network.v2019_07_01.models.PrepareNetworkPoliciesRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -553,8 +553,8 @@ async def begin_unprepare_network_policies( :type unprepare_network_policies_request_parameters: ~azure.mgmt.network.v2019_07_01.models.UnprepareNetworkPoliciesRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_virtual_hubs_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_virtual_hubs_operations.py index 28d77eb1c3e0..5464955d5005 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_virtual_hubs_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_virtual_hubs_operations.py @@ -91,7 +91,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualHub', pipeline_response) @@ -145,7 +145,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -177,8 +177,8 @@ async def begin_create_or_update( :type virtual_hub_parameters: ~azure.mgmt.network.v2019_07_01.models.VirtualHub :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualHub or the result of cls(response) @@ -274,7 +274,7 @@ async def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -306,8 +306,8 @@ async def begin_update_tags( :type virtual_hub_parameters: ~azure.mgmt.network.v2019_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualHub or the result of cls(response) @@ -397,7 +397,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -419,8 +419,8 @@ async def begin_delete( :type virtual_hub_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -529,7 +529,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -596,7 +596,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_virtual_network_gateway_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_virtual_network_gateway_connections_operations.py index fc20f6d9f29d..db67e46e654f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_virtual_network_gateway_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_virtual_network_gateway_connections_operations.py @@ -119,8 +119,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_07_01.models.VirtualNetworkGatewayConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -289,8 +289,8 @@ async def begin_delete( :type virtual_network_gateway_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -412,8 +412,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -543,8 +543,8 @@ async def begin_set_shared_key( :type parameters: ~azure.mgmt.network.v2019_07_01.models.ConnectionSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionSharedKey or the result of cls(response) @@ -804,8 +804,8 @@ async def begin_reset_shared_key( :type parameters: ~azure.mgmt.network.v2019_07_01.models.ConnectionResetSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionResetSharedKey or the result of cls(response) @@ -904,7 +904,7 @@ async def _start_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -936,8 +936,8 @@ async def begin_start_packet_capture( :type parameters: ~azure.mgmt.network.v2019_07_01.models.VpnPacketCaptureStartParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1033,7 +1033,7 @@ async def _stop_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -1065,8 +1065,8 @@ async def begin_stop_packet_capture( :type parameters: ~azure.mgmt.network.v2019_07_01.models.VpnPacketCaptureStopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_virtual_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_virtual_network_gateways_operations.py index 6abd4500e911..5b0f91cabeef 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_virtual_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_virtual_network_gateways_operations.py @@ -117,8 +117,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_07_01.models.VirtualNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -285,8 +285,8 @@ async def begin_delete( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -407,8 +407,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -675,8 +675,8 @@ async def begin_reset( :type gateway_vip: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -786,8 +786,8 @@ async def begin_reset_vpn_client_shared_key( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -910,8 +910,8 @@ async def begin_generatevpnclientpackage( :type parameters: ~azure.mgmt.network.v2019_07_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1038,8 +1038,8 @@ async def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2019_07_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1156,8 +1156,8 @@ async def begin_get_vpn_profile_package_url( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1278,8 +1278,8 @@ async def begin_get_bgp_peer_status( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either BgpPeerStatusListResult or the result of cls(response) @@ -1454,8 +1454,8 @@ async def begin_get_learned_routes( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1576,8 +1576,8 @@ async def begin_get_advertised_routes( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1704,8 +1704,8 @@ async def begin_set_vpnclient_ipsec_parameters( :type vpnclient_ipsec_params: ~azure.mgmt.network.v2019_07_01.models.VpnClientIPsecParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnClientIPsecParameters or the result of cls(response) @@ -1821,8 +1821,8 @@ async def begin_get_vpnclient_ipsec_parameters( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnClientIPsecParameters or the result of cls(response) @@ -1987,7 +1987,7 @@ async def _start_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -2018,8 +2018,8 @@ async def begin_start_packet_capture( :type parameters: ~azure.mgmt.network.v2019_07_01.models.VpnPacketCaptureStartParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -2115,7 +2115,7 @@ async def _stop_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -2146,8 +2146,8 @@ async def begin_stop_packet_capture( :type parameters: ~azure.mgmt.network.v2019_07_01.models.VpnPacketCaptureStopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -2264,8 +2264,8 @@ async def begin_get_vpnclient_connection_health( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnClientConnectionHealthDetailListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_virtual_network_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_virtual_network_peerings_operations.py index 541edde66247..f7cd5d14071e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_virtual_network_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_virtual_network_peerings_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type virtual_network_peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type virtual_network_peering_parameters: ~azure.mgmt.network.v2019_07_01.models.VirtualNetworkPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_virtual_network_taps_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_virtual_network_taps_operations.py index 913835bdaef0..d2c220dcfd1f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_virtual_network_taps_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_virtual_network_taps_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type tap_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_07_01.models.VirtualNetworkTap :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkTap or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type tap_parameters: ~azure.mgmt.network.v2019_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkTap or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_virtual_networks_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_virtual_networks_operations.py index 15bc54860715..d83c7c28acbb 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_virtual_networks_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_virtual_networks_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type virtual_network_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_07_01.models.VirtualNetwork :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetwork or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetwork or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_virtual_router_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_virtual_router_peerings_operations.py index 264232bba744..fa61dd043dac 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_virtual_router_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_virtual_router_peerings_operations.py @@ -82,7 +82,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -107,8 +107,8 @@ async def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -211,7 +211,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualRouterPeering', pipeline_response) @@ -282,7 +282,7 @@ async def update( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualRouterPeering', pipeline_response) @@ -338,7 +338,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -374,8 +374,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_07_01.models.VirtualRouterPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualRouterPeering or the result of cls(response) @@ -494,7 +494,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_virtual_routers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_virtual_routers_operations.py index 45692d565961..68eb50f37136 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_virtual_routers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_virtual_routers_operations.py @@ -80,7 +80,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -102,8 +102,8 @@ async def begin_delete( :type virtual_router_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -205,7 +205,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualRouter', pipeline_response) @@ -272,7 +272,7 @@ async def update( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualRouter', pipeline_response) @@ -326,7 +326,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -358,8 +358,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_07_01.models.VirtualRouter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualRouter or the result of cls(response) @@ -472,7 +472,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -539,7 +539,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_virtual_wans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_virtual_wans_operations.py index 5b10e6d440d7..d1f0dbf260ec 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_virtual_wans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_virtual_wans_operations.py @@ -91,7 +91,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualWAN', pipeline_response) @@ -145,7 +145,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -177,8 +177,8 @@ async def begin_create_or_update( :type wan_parameters: ~azure.mgmt.network.v2019_07_01.models.VirtualWAN :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualWAN or the result of cls(response) @@ -274,7 +274,7 @@ async def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -306,8 +306,8 @@ async def begin_update_tags( :type wan_parameters: ~azure.mgmt.network.v2019_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualWAN or the result of cls(response) @@ -397,7 +397,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -419,8 +419,8 @@ async def begin_delete( :type virtual_wan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -529,7 +529,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -596,7 +596,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_vpn_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_vpn_connections_operations.py index 9432cffa1c89..a7a3edc790ea 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_vpn_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_vpn_connections_operations.py @@ -95,7 +95,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VpnConnection', pipeline_response) @@ -151,7 +151,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -187,8 +187,8 @@ async def begin_create_or_update( :type vpn_connection_parameters: ~azure.mgmt.network.v2019_07_01.models.VpnConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnConnection or the result of cls(response) @@ -282,7 +282,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -307,8 +307,8 @@ async def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -423,7 +423,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_vpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_vpn_gateways_operations.py index f792298a214e..bc420fc3400b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_vpn_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_vpn_gateways_operations.py @@ -91,7 +91,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VpnGateway', pipeline_response) @@ -145,7 +145,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -178,8 +178,8 @@ async def begin_create_or_update( :type vpn_gateway_parameters: ~azure.mgmt.network.v2019_07_01.models.VpnGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnGateway or the result of cls(response) @@ -275,7 +275,7 @@ async def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -307,8 +307,8 @@ async def begin_update_tags( :type vpn_gateway_parameters: ~azure.mgmt.network.v2019_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnGateway or the result of cls(response) @@ -398,7 +398,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -420,8 +420,8 @@ async def begin_delete( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -533,8 +533,8 @@ async def begin_reset( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnGateway or the result of cls(response) @@ -646,7 +646,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -713,7 +713,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_vpn_link_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_vpn_link_connections_operations.py index a9c145b90aec..a99d70bd0ea8 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_vpn_link_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_vpn_link_connections_operations.py @@ -110,7 +110,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_vpn_site_link_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_vpn_site_link_connections_operations.py index 2be6119f0429..3fb62d837ea4 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_vpn_site_link_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_vpn_site_link_connections_operations.py @@ -96,7 +96,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VpnSiteLinkConnection', pipeline_response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_vpn_site_links_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_vpn_site_links_operations.py index 5d2397b35f0f..b38a5f52cf89 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_vpn_site_links_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_vpn_site_links_operations.py @@ -93,7 +93,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VpnSiteLink', pipeline_response) @@ -168,7 +168,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_vpn_sites_configuration_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_vpn_sites_configuration_operations.py index df4c4497a396..2bd620fbe868 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_vpn_sites_configuration_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_vpn_sites_configuration_operations.py @@ -85,7 +85,7 @@ async def _download_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -111,8 +111,8 @@ async def begin_download( :type request: ~azure.mgmt.network.v2019_07_01.models.GetVpnSitesConfigurationRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_vpn_sites_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_vpn_sites_operations.py index 0788b85247c5..3f7e897c17ba 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_vpn_sites_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_vpn_sites_operations.py @@ -91,7 +91,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VpnSite', pipeline_response) @@ -145,7 +145,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -177,8 +177,8 @@ async def begin_create_or_update( :type vpn_site_parameters: ~azure.mgmt.network.v2019_07_01.models.VpnSite :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnSite or the result of cls(response) @@ -274,7 +274,7 @@ async def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -306,8 +306,8 @@ async def begin_update_tags( :type vpn_site_parameters: ~azure.mgmt.network.v2019_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnSite or the result of cls(response) @@ -397,7 +397,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -419,8 +419,8 @@ async def begin_delete( :type vpn_site_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -529,7 +529,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -596,7 +596,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_web_application_firewall_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_web_application_firewall_policies_operations.py index dbaa2cc40cec..873e680e331b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_web_application_firewall_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/aio/operations/_web_application_firewall_policies_operations.py @@ -363,8 +363,8 @@ async def begin_delete( :type policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/models/_models.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/models/_models.py index f5855eb2f7d3..0bd8390d766e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/models/_models.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/models/_models.py @@ -102,58 +102,55 @@ class ApplicationGateway(Resource): :vartype operational_state: str or ~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayOperationalState :param gateway_ip_configurations: Subnets of the application gateway resource. For default - limits, see `Application Gateway limits `_. + limits, see `Application Gateway limits + `_. :type gateway_ip_configurations: list[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayIPConfiguration] :param authentication_certificates: Authentication certificates of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type authentication_certificates: list[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayAuthenticationCertificate] :param trusted_root_certificates: Trusted Root certificates of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type trusted_root_certificates: list[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayTrustedRootCertificate] :param ssl_certificates: SSL certificates of the application gateway resource. For default - limits, see `Application Gateway limits `_. + limits, see `Application Gateway limits + `_. :type ssl_certificates: list[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewaySslCertificate] :param frontend_ip_configurations: Frontend IP addresses of the application gateway resource. - For default limits, see `Application Gateway limits `_. + For default limits, see `Application Gateway limits + `_. :type frontend_ip_configurations: list[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayFrontendIPConfiguration] :param frontend_ports: Frontend ports of the application gateway resource. For default limits, - see `Application Gateway limits `_. + see `Application Gateway limits + `_. :type frontend_ports: list[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayFrontendPort] :param probes: Probes of the application gateway resource. :type probes: list[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayProbe] :param backend_address_pools: Backend address pool of the application gateway resource. For - default limits, see `Application Gateway limits `_. + default limits, see `Application Gateway limits + `_. :type backend_address_pools: list[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayBackendAddressPool] :param backend_http_settings_collection: Backend http settings of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type backend_http_settings_collection: list[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayBackendHttpSettings] :param http_listeners: Http listeners of the application gateway resource. For default limits, - see `Application Gateway limits `_. + see `Application Gateway limits + `_. :type http_listeners: list[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayHttpListener] :param url_path_maps: URL path map of the application gateway resource. For default limits, see - `Application Gateway limits `_. + `Application Gateway limits + `_. :type url_path_maps: list[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayUrlPathMap] :param request_routing_rules: Request routing rules of the application gateway resource. :type request_routing_rules: @@ -162,8 +159,8 @@ class ApplicationGateway(Resource): :type rewrite_rule_sets: list[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayRewriteRuleSet] :param redirect_configurations: Redirect configurations of the application gateway resource. - For default limits, see `Application Gateway limits `_. + For default limits, see `Application Gateway limits + `_. :type redirect_configurations: list[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayRedirectConfiguration] :param web_application_firewall_configuration: Web application firewall configuration. @@ -1712,7 +1709,7 @@ class ApplicationGatewayRewriteRuleCondition(msrest.serialization.Model): :param pattern: The pattern, either fixed string or regular expression, that evaluates the truthfulness of the condition. :type pattern: str - :param ignore_case: Setting this paramter to truth value with force the pattern to do a case + :param ignore_case: Setting this parameter to truth value with force the pattern to do a case in-sensitive comparison. :type ignore_case: bool :param negate: Setting this value as truth will force to check the negation of the condition @@ -4685,7 +4682,7 @@ class ContainerNetworkInterface(SubResource): ~azure.mgmt.network.v2019_07_01.models.ContainerNetworkInterfaceConfiguration :param container: Reference to the container to which this container network interface is attached. - :type container: ~azure.mgmt.network.v2019_07_01.models.SubResource + :type container: ~azure.mgmt.network.v2019_07_01.models.Container :param ip_configurations: Reference to the ip configuration on this container nic. :type ip_configurations: list[~azure.mgmt.network.v2019_07_01.models.ContainerNetworkInterfaceIpConfiguration] @@ -4705,7 +4702,7 @@ class ContainerNetworkInterface(SubResource): 'type': {'key': 'type', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, 'container_network_interface_configuration': {'key': 'properties.containerNetworkInterfaceConfiguration', 'type': 'ContainerNetworkInterfaceConfiguration'}, - 'container': {'key': 'properties.container', 'type': 'SubResource'}, + 'container': {'key': 'properties.container', 'type': 'Container'}, 'ip_configurations': {'key': 'properties.ipConfigurations', 'type': '[ContainerNetworkInterfaceIpConfiguration]'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, } @@ -11634,8 +11631,8 @@ class PacketCaptureStorageLocation(msrest.serialization.Model): :param storage_id: The ID of the storage account to save the packet capture session. Required if no local file path is provided. :type storage_id: str - :param storage_path: The URI of the storage path to save the packet capture. Must be a well- - formed URI describing the location to save the packet capture. + :param storage_path: The URI of the storage path to save the packet capture. Must be a + well-formed URI describing the location to save the packet capture. :type storage_path: str :param file_path: A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no @@ -12109,9 +12106,10 @@ class PrivateLinkService(Resource): :type private_endpoint_connections: list[~azure.mgmt.network.v2019_07_01.models.PrivateEndpointConnection] :param visibility: The visibility list of the private link service. - :type visibility: ~azure.mgmt.network.v2019_07_01.models.ResourceSet + :type visibility: ~azure.mgmt.network.v2019_07_01.models.PrivateLinkServicePropertiesVisibility :param auto_approval: The auto-approval list of the private link service. - :type auto_approval: ~azure.mgmt.network.v2019_07_01.models.ResourceSet + :type auto_approval: + ~azure.mgmt.network.v2019_07_01.models.PrivateLinkServicePropertiesAutoApproval :param fqdns: The list of Fqdn. :type fqdns: list[str] :ivar alias: The alias of the private link service. @@ -12138,8 +12136,8 @@ class PrivateLinkService(Resource): 'network_interfaces': {'key': 'properties.networkInterfaces', 'type': '[NetworkInterface]'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'private_endpoint_connections': {'key': 'properties.privateEndpointConnections', 'type': '[PrivateEndpointConnection]'}, - 'visibility': {'key': 'properties.visibility', 'type': 'ResourceSet'}, - 'auto_approval': {'key': 'properties.autoApproval', 'type': 'ResourceSet'}, + 'visibility': {'key': 'properties.visibility', 'type': 'PrivateLinkServicePropertiesVisibility'}, + 'auto_approval': {'key': 'properties.autoApproval', 'type': 'PrivateLinkServicePropertiesAutoApproval'}, 'fqdns': {'key': 'properties.fqdns', 'type': '[str]'}, 'alias': {'key': 'properties.alias', 'type': 'str'}, } @@ -15680,8 +15678,8 @@ class VirtualNetworkPeering(SubResource): :type use_remote_gateways: bool :param remote_virtual_network: The reference of the remote virtual network. The remote virtual network can be in the same or different region (preview). See here to register for the preview - and learn more (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create- - peering). + and learn more + (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering). :type remote_virtual_network: ~azure.mgmt.network.v2019_07_01.models.SubResource :param remote_address_space: The reference of the remote virtual network address space. :type remote_address_space: ~azure.mgmt.network.v2019_07_01.models.AddressSpace diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/models/_models_py3.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/models/_models_py3.py index 8f3ae4cc2166..bf44220ac046 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/models/_models_py3.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/models/_models_py3.py @@ -113,58 +113,55 @@ class ApplicationGateway(Resource): :vartype operational_state: str or ~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayOperationalState :param gateway_ip_configurations: Subnets of the application gateway resource. For default - limits, see `Application Gateway limits `_. + limits, see `Application Gateway limits + `_. :type gateway_ip_configurations: list[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayIPConfiguration] :param authentication_certificates: Authentication certificates of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type authentication_certificates: list[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayAuthenticationCertificate] :param trusted_root_certificates: Trusted Root certificates of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type trusted_root_certificates: list[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayTrustedRootCertificate] :param ssl_certificates: SSL certificates of the application gateway resource. For default - limits, see `Application Gateway limits `_. + limits, see `Application Gateway limits + `_. :type ssl_certificates: list[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewaySslCertificate] :param frontend_ip_configurations: Frontend IP addresses of the application gateway resource. - For default limits, see `Application Gateway limits `_. + For default limits, see `Application Gateway limits + `_. :type frontend_ip_configurations: list[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayFrontendIPConfiguration] :param frontend_ports: Frontend ports of the application gateway resource. For default limits, - see `Application Gateway limits `_. + see `Application Gateway limits + `_. :type frontend_ports: list[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayFrontendPort] :param probes: Probes of the application gateway resource. :type probes: list[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayProbe] :param backend_address_pools: Backend address pool of the application gateway resource. For - default limits, see `Application Gateway limits `_. + default limits, see `Application Gateway limits + `_. :type backend_address_pools: list[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayBackendAddressPool] :param backend_http_settings_collection: Backend http settings of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type backend_http_settings_collection: list[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayBackendHttpSettings] :param http_listeners: Http listeners of the application gateway resource. For default limits, - see `Application Gateway limits `_. + see `Application Gateway limits + `_. :type http_listeners: list[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayHttpListener] :param url_path_maps: URL path map of the application gateway resource. For default limits, see - `Application Gateway limits `_. + `Application Gateway limits + `_. :type url_path_maps: list[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayUrlPathMap] :param request_routing_rules: Request routing rules of the application gateway resource. :type request_routing_rules: @@ -173,8 +170,8 @@ class ApplicationGateway(Resource): :type rewrite_rule_sets: list[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayRewriteRuleSet] :param redirect_configurations: Redirect configurations of the application gateway resource. - For default limits, see `Application Gateway limits `_. + For default limits, see `Application Gateway limits + `_. :type redirect_configurations: list[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayRedirectConfiguration] :param web_application_firewall_configuration: Web application firewall configuration. @@ -1958,7 +1955,7 @@ class ApplicationGatewayRewriteRuleCondition(msrest.serialization.Model): :param pattern: The pattern, either fixed string or regular expression, that evaluates the truthfulness of the condition. :type pattern: str - :param ignore_case: Setting this paramter to truth value with force the pattern to do a case + :param ignore_case: Setting this parameter to truth value with force the pattern to do a case in-sensitive comparison. :type ignore_case: bool :param negate: Setting this value as truth will force to check the negation of the condition @@ -5272,7 +5269,7 @@ class ContainerNetworkInterface(SubResource): ~azure.mgmt.network.v2019_07_01.models.ContainerNetworkInterfaceConfiguration :param container: Reference to the container to which this container network interface is attached. - :type container: ~azure.mgmt.network.v2019_07_01.models.SubResource + :type container: ~azure.mgmt.network.v2019_07_01.models.Container :param ip_configurations: Reference to the ip configuration on this container nic. :type ip_configurations: list[~azure.mgmt.network.v2019_07_01.models.ContainerNetworkInterfaceIpConfiguration] @@ -5292,7 +5289,7 @@ class ContainerNetworkInterface(SubResource): 'type': {'key': 'type', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, 'container_network_interface_configuration': {'key': 'properties.containerNetworkInterfaceConfiguration', 'type': 'ContainerNetworkInterfaceConfiguration'}, - 'container': {'key': 'properties.container', 'type': 'SubResource'}, + 'container': {'key': 'properties.container', 'type': 'Container'}, 'ip_configurations': {'key': 'properties.ipConfigurations', 'type': '[ContainerNetworkInterfaceIpConfiguration]'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, } @@ -5304,7 +5301,7 @@ def __init__( name: Optional[str] = None, etag: Optional[str] = None, container_network_interface_configuration: Optional["ContainerNetworkInterfaceConfiguration"] = None, - container: Optional["SubResource"] = None, + container: Optional["Container"] = None, ip_configurations: Optional[List["ContainerNetworkInterfaceIpConfiguration"]] = None, **kwargs ): @@ -13050,8 +13047,8 @@ class PacketCaptureStorageLocation(msrest.serialization.Model): :param storage_id: The ID of the storage account to save the packet capture session. Required if no local file path is provided. :type storage_id: str - :param storage_path: The URI of the storage path to save the packet capture. Must be a well- - formed URI describing the location to save the packet capture. + :param storage_path: The URI of the storage path to save the packet capture. Must be a + well-formed URI describing the location to save the packet capture. :type storage_path: str :param file_path: A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no @@ -13572,9 +13569,10 @@ class PrivateLinkService(Resource): :type private_endpoint_connections: list[~azure.mgmt.network.v2019_07_01.models.PrivateEndpointConnection] :param visibility: The visibility list of the private link service. - :type visibility: ~azure.mgmt.network.v2019_07_01.models.ResourceSet + :type visibility: ~azure.mgmt.network.v2019_07_01.models.PrivateLinkServicePropertiesVisibility :param auto_approval: The auto-approval list of the private link service. - :type auto_approval: ~azure.mgmt.network.v2019_07_01.models.ResourceSet + :type auto_approval: + ~azure.mgmt.network.v2019_07_01.models.PrivateLinkServicePropertiesAutoApproval :param fqdns: The list of Fqdn. :type fqdns: list[str] :ivar alias: The alias of the private link service. @@ -13601,8 +13599,8 @@ class PrivateLinkService(Resource): 'network_interfaces': {'key': 'properties.networkInterfaces', 'type': '[NetworkInterface]'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'private_endpoint_connections': {'key': 'properties.privateEndpointConnections', 'type': '[PrivateEndpointConnection]'}, - 'visibility': {'key': 'properties.visibility', 'type': 'ResourceSet'}, - 'auto_approval': {'key': 'properties.autoApproval', 'type': 'ResourceSet'}, + 'visibility': {'key': 'properties.visibility', 'type': 'PrivateLinkServicePropertiesVisibility'}, + 'auto_approval': {'key': 'properties.autoApproval', 'type': 'PrivateLinkServicePropertiesAutoApproval'}, 'fqdns': {'key': 'properties.fqdns', 'type': '[str]'}, 'alias': {'key': 'properties.alias', 'type': 'str'}, } @@ -13617,8 +13615,8 @@ def __init__( load_balancer_frontend_ip_configurations: Optional[List["FrontendIPConfiguration"]] = None, ip_configurations: Optional[List["PrivateLinkServiceIpConfiguration"]] = None, private_endpoint_connections: Optional[List["PrivateEndpointConnection"]] = None, - visibility: Optional["ResourceSet"] = None, - auto_approval: Optional["ResourceSet"] = None, + visibility: Optional["PrivateLinkServicePropertiesVisibility"] = None, + auto_approval: Optional["PrivateLinkServicePropertiesAutoApproval"] = None, fqdns: Optional[List[str]] = None, **kwargs ): @@ -17567,8 +17565,8 @@ class VirtualNetworkPeering(SubResource): :type use_remote_gateways: bool :param remote_virtual_network: The reference of the remote virtual network. The remote virtual network can be in the same or different region (preview). See here to register for the preview - and learn more (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create- - peering). + and learn more + (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering). :type remote_virtual_network: ~azure.mgmt.network.v2019_07_01.models.SubResource :param remote_address_space: The reference of the remote virtual network address space. :type remote_address_space: ~azure.mgmt.network.v2019_07_01.models.AddressSpace diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_application_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_application_gateways_operations.py index 14dee5328335..dd73231b1d48 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_application_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_application_gateways_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_07_01.models.ApplicationGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGateway or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGateway or the result of cls(response) @@ -666,8 +666,8 @@ def begin_start( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -774,8 +774,8 @@ def begin_stop( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -895,8 +895,8 @@ def begin_backend_health( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGatewayBackendHealth or the result of cls(response) @@ -1030,8 +1030,8 @@ def begin_backend_health_on_demand( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGatewayBackendHealthOnDemand or the result of cls(response) @@ -1126,7 +1126,7 @@ def list_available_server_variables( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) @@ -1178,7 +1178,7 @@ def list_available_request_headers( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) @@ -1230,7 +1230,7 @@ def list_available_response_headers( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_application_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_application_security_groups_operations.py index 378181c66ded..eb93df37be03 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_application_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_application_security_groups_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type application_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -291,8 +291,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_07_01.models.ApplicationSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationSecurityGroup or the result of cls(response) @@ -417,8 +417,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_azure_firewalls_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_azure_firewalls_operations.py index c49083d37f3b..239acf3fd5cb 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_azure_firewalls_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_azure_firewalls_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type azure_firewall_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_07_01.models.AzureFirewall :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AzureFirewall or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_bastion_hosts_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_bastion_hosts_operations.py index 5e283bd505c6..e9e2b432203c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_bastion_hosts_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_bastion_hosts_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type bastion_host_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_07_01.models.BastionHost :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either BastionHost or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_connection_monitors_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_connection_monitors_operations.py index abf432bc16b7..a95bc657f72c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_connection_monitors_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_connection_monitors_operations.py @@ -93,7 +93,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -129,8 +129,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_07_01.models.ConnectionMonitor :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionMonitorResult or the result of cls(response) @@ -238,7 +238,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('ConnectionMonitorResult', pipeline_response) @@ -289,7 +289,7 @@ def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -315,8 +315,8 @@ def begin_delete( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -428,7 +428,7 @@ def update_tags( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('ConnectionMonitorResult', pipeline_response) @@ -479,7 +479,7 @@ def _stop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -505,8 +505,8 @@ def begin_stop( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -597,7 +597,7 @@ def _start_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -623,8 +623,8 @@ def begin_start( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -715,7 +715,7 @@ def _query_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -748,8 +748,8 @@ def begin_query( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionMonitorQueryResult or the result of cls(response) @@ -868,7 +868,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_ddos_custom_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_ddos_custom_policies_operations.py index bea3d1de7518..6ac2c322125a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_ddos_custom_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_ddos_custom_policies_operations.py @@ -106,8 +106,8 @@ def begin_delete( :type ddos_custom_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -291,8 +291,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_07_01.models.DdosCustomPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either DdosCustomPolicy or the result of cls(response) @@ -417,8 +417,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either DdosCustomPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_ddos_protection_plans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_ddos_protection_plans_operations.py index f714dbac06e6..5bfeb2668b9d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_ddos_protection_plans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_ddos_protection_plans_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type ddos_protection_plan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_07_01.models.DdosProtectionPlan :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either DdosProtectionPlan or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either DdosProtectionPlan or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_express_route_circuit_authorizations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_express_route_circuit_authorizations_operations.py index e72e6f5b489d..5a33b333437a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_express_route_circuit_authorizations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_express_route_circuit_authorizations_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type authorization_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type authorization_parameters: ~azure.mgmt.network.v2019_07_01.models.ExpressRouteCircuitAuthorization :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitAuthorization or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_express_route_circuit_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_express_route_circuit_connections_operations.py index 93e99d3366b0..ca525d53ba92 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_express_route_circuit_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_express_route_circuit_connections_operations.py @@ -116,8 +116,8 @@ def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -324,8 +324,8 @@ def begin_create_or_update( :type express_route_circuit_connection_parameters: ~azure.mgmt.network.v2019_07_01.models.ExpressRouteCircuitConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitConnection or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_express_route_circuit_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_express_route_circuit_peerings_operations.py index 5d2774c4a5da..f7bda9e5c3af 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_express_route_circuit_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_express_route_circuit_peerings_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2019_07_01.models.ExpressRouteCircuitPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_express_route_circuits_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_express_route_circuits_operations.py index a3270d1cc327..50faf1f74a79 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_express_route_circuits_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_express_route_circuits_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type circuit_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_07_01.models.ExpressRouteCircuit :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -546,8 +546,8 @@ def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -679,8 +679,8 @@ def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) @@ -812,8 +812,8 @@ def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableSummaryListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_express_route_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_express_route_connections_operations.py index 134c029cacb8..d9435a74bccc 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_express_route_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_express_route_connections_operations.py @@ -128,8 +128,8 @@ def begin_create_or_update( :type put_express_route_connection_parameters: ~azure.mgmt.network.v2019_07_01.models.ExpressRouteConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteConnection or the result of cls(response) @@ -310,8 +310,8 @@ def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_express_route_cross_connection_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_express_route_cross_connection_peerings_operations.py index 9a49d3a5beaf..b571e41e7753 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_express_route_cross_connection_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_express_route_cross_connection_peerings_operations.py @@ -185,8 +185,8 @@ def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -382,8 +382,8 @@ def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2019_07_01.models.ExpressRouteCrossConnectionPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCrossConnectionPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_express_route_cross_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_express_route_cross_connections_operations.py index 32ae63301c18..529b1a64efb7 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_express_route_cross_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_express_route_cross_connections_operations.py @@ -317,8 +317,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_07_01.models.ExpressRouteCrossConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCrossConnection or the result of cls(response) @@ -444,8 +444,8 @@ def begin_update_tags( :type cross_connection_parameters: ~azure.mgmt.network.v2019_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCrossConnection or the result of cls(response) @@ -574,8 +574,8 @@ def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -707,8 +707,8 @@ def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCrossConnectionsRoutesTableSummaryListResult or the result of cls(response) @@ -840,8 +840,8 @@ def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_express_route_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_express_route_gateways_operations.py index 4b3ccece0a9b..f4738f341750 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_express_route_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_express_route_gateways_operations.py @@ -229,8 +229,8 @@ def begin_create_or_update( :type put_express_route_gateway_parameters: ~azure.mgmt.network.v2019_07_01.models.ExpressRouteGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteGateway or the result of cls(response) @@ -401,8 +401,8 @@ def begin_delete( :type express_route_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_express_route_ports_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_express_route_ports_operations.py index e9b4cf809d3e..c52a6aad339d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_express_route_ports_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_express_route_ports_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type express_route_port_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_07_01.models.ExpressRoutePort :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRoutePort or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRoutePort or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_firewall_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_firewall_policies_operations.py index db40ea901dc5..263de6e6e9fb 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_firewall_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_firewall_policies_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type firewall_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -276,7 +276,7 @@ def update_tags( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('FirewallPolicy', pipeline_response) @@ -363,8 +363,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_07_01.models.FirewallPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FirewallPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_firewall_policy_rule_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_firewall_policy_rule_groups_operations.py index 71626d4f4edf..9bbd1c47c1bc 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_firewall_policy_rule_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_firewall_policy_rule_groups_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type rule_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_07_01.models.FirewallPolicyRuleGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FirewallPolicyRuleGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_hub_virtual_network_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_hub_virtual_network_connections_operations.py index b9de2a93ab34..6c3937638bc8 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_hub_virtual_network_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_hub_virtual_network_connections_operations.py @@ -98,7 +98,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('HubVirtualNetworkConnection', pipeline_response) @@ -174,7 +174,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_inbound_nat_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_inbound_nat_rules_operations.py index 2b1a64e36002..d4e544310d5a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_inbound_nat_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_inbound_nat_rules_operations.py @@ -185,8 +185,8 @@ def begin_delete( :type inbound_nat_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -387,8 +387,8 @@ def begin_create_or_update( :type inbound_nat_rule_parameters: ~azure.mgmt.network.v2019_07_01.models.InboundNatRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either InboundNatRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_load_balancers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_load_balancers_operations.py index 197a9b84e57f..be90bba2c654 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_load_balancers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_load_balancers_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type load_balancer_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_07_01.models.LoadBalancer :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LoadBalancer or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LoadBalancer or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_local_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_local_network_gateways_operations.py index 80b9903c9c4e..3d616bd037f7 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_local_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_local_network_gateways_operations.py @@ -123,8 +123,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_07_01.models.LocalNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LocalNetworkGateway or the result of cls(response) @@ -294,8 +294,8 @@ def begin_delete( :type local_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LocalNetworkGateway or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_nat_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_nat_gateways_operations.py index b96d9b183e61..a0a2d84d2517 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_nat_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_nat_gateways_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type nat_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_07_01.models.NatGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NatGateway or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_network_interface_tap_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_network_interface_tap_configurations_operations.py index f9e98d3df850..aee457f61615 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_network_interface_tap_configurations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_network_interface_tap_configurations_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type tap_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type tap_configuration_parameters: ~azure.mgmt.network.v2019_07_01.models.NetworkInterfaceTapConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkInterfaceTapConfiguration or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_network_interfaces_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_network_interfaces_operations.py index af843828d98e..3476dab1e3a9 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_network_interfaces_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_network_interfaces_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_07_01.models.NetworkInterface :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkInterface or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkInterface or the result of cls(response) @@ -678,8 +678,8 @@ def begin_get_effective_route_table( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either EffectiveRouteListResult or the result of cls(response) @@ -796,8 +796,8 @@ def begin_list_effective_network_security_groups( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either EffectiveNetworkSecurityGroupListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_network_management_client_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_network_management_client_operations.py index 6d1669d4703d..8ce7589c0db8 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_network_management_client_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_network_management_client_operations.py @@ -134,7 +134,7 @@ def supported_security_providers( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualWanSecurityProviders', pipeline_response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_network_profiles_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_network_profiles_operations.py index 636b745a0808..5b119469e9ed 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_network_profiles_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_network_profiles_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type network_profile_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_network_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_network_security_groups_operations.py index 432b2c3d8677..27ec0cffabcd 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_network_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_network_security_groups_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type network_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -296,8 +296,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_07_01.models.NetworkSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkSecurityGroup or the result of cls(response) @@ -422,8 +422,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_network_watchers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_network_watchers_operations.py index a8a2ae635c18..7432e9e2b1ef 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_network_watchers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_network_watchers_operations.py @@ -104,7 +104,7 @@ def create_or_update( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -168,7 +168,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('NetworkWatcher', pipeline_response) @@ -217,7 +217,7 @@ def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -240,8 +240,8 @@ def begin_delete( :type network_watcher_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -347,7 +347,7 @@ def update_tags( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('NetworkWatcher', pipeline_response) @@ -419,7 +419,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -487,7 +487,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -555,7 +555,7 @@ def get_topology( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('Topology', pipeline_response) @@ -610,7 +610,7 @@ def _verify_ip_flow_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -643,8 +643,8 @@ def begin_verify_ip_flow( :type parameters: ~azure.mgmt.network.v2019_07_01.models.VerificationIPFlowParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VerificationIPFlowResult or the result of cls(response) @@ -741,7 +741,7 @@ def _get_next_hop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -774,8 +774,8 @@ def begin_get_next_hop( :type parameters: ~azure.mgmt.network.v2019_07_01.models.NextHopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NextHopResult or the result of cls(response) @@ -872,7 +872,7 @@ def _get_vm_security_rules_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -905,8 +905,8 @@ def begin_get_vm_security_rules( :type parameters: ~azure.mgmt.network.v2019_07_01.models.SecurityGroupViewParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either SecurityGroupViewResult or the result of cls(response) @@ -1003,7 +1003,7 @@ def _get_troubleshooting_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1036,8 +1036,8 @@ def begin_get_troubleshooting( :type parameters: ~azure.mgmt.network.v2019_07_01.models.TroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1134,7 +1134,7 @@ def _get_troubleshooting_result_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1167,8 +1167,8 @@ def begin_get_troubleshooting_result( :type parameters: ~azure.mgmt.network.v2019_07_01.models.QueryTroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1265,7 +1265,7 @@ def _set_flow_log_configuration_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1298,8 +1298,8 @@ def begin_set_flow_log_configuration( :type parameters: ~azure.mgmt.network.v2019_07_01.models.FlowLogInformation :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1396,7 +1396,7 @@ def _get_flow_log_status_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1430,8 +1430,8 @@ def begin_get_flow_log_status( :type parameters: ~azure.mgmt.network.v2019_07_01.models.FlowLogStatusParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1528,7 +1528,7 @@ def _check_connectivity_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1562,8 +1562,8 @@ def begin_check_connectivity( :type parameters: ~azure.mgmt.network.v2019_07_01.models.ConnectivityParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectivityInformation or the result of cls(response) @@ -1660,7 +1660,7 @@ def _get_azure_reachability_report_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1694,8 +1694,8 @@ def begin_get_azure_reachability_report( :type parameters: ~azure.mgmt.network.v2019_07_01.models.AzureReachabilityReportParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AzureReachabilityReport or the result of cls(response) @@ -1792,7 +1792,7 @@ def _list_available_providers_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1825,8 +1825,8 @@ def begin_list_available_providers( :type parameters: ~azure.mgmt.network.v2019_07_01.models.AvailableProvidersListParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AvailableProvidersList or the result of cls(response) @@ -1923,7 +1923,7 @@ def _get_network_configuration_diagnostic_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1960,8 +1960,8 @@ def begin_get_network_configuration_diagnostic( :type parameters: ~azure.mgmt.network.v2019_07_01.models.NetworkConfigurationDiagnosticParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkConfigurationDiagnosticResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_p2_svpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_p2_svpn_gateways_operations.py index 3db57e0cf90e..9a481b3763fc 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_p2_svpn_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_p2_svpn_gateways_operations.py @@ -96,7 +96,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('P2SVpnGateway', pipeline_response) @@ -151,7 +151,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -185,8 +185,8 @@ def begin_create_or_update( :type p2_s_vpn_gateway_parameters: ~azure.mgmt.network.v2019_07_01.models.P2SVpnGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -283,7 +283,7 @@ def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -317,8 +317,8 @@ def begin_update_tags( :type p2_s_vpn_gateway_parameters: ~azure.mgmt.network.v2019_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -409,7 +409,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -432,8 +432,8 @@ def begin_delete( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -543,7 +543,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -611,7 +611,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -697,8 +697,8 @@ def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2019_07_01.models.P2SVpnProfileParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnProfileResponse or the result of cls(response) @@ -817,8 +817,8 @@ def begin_get_p2_s_vpn_connection_health( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either P2SVpnGateway or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_p2_svpn_server_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_p2_svpn_server_configurations_operations.py index 6d5ee34758fc..1ba98b9b642a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_p2_svpn_server_configurations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_p2_svpn_server_configurations_operations.py @@ -100,7 +100,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('P2SVpnServerConfiguration', pipeline_response) @@ -157,7 +157,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -195,8 +195,8 @@ def begin_create_or_update( :type p2_s_vpn_server_configuration_parameters: ~azure.mgmt.network.v2019_07_01.models.P2SVpnServerConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either P2SVpnServerConfiguration or the result of cls(response) @@ -291,7 +291,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -317,8 +317,8 @@ def begin_delete( :type p2_s_vpn_server_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -434,7 +434,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_packet_captures_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_packet_captures_operations.py index 85c8f2615bec..800d7511930c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_packet_captures_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_packet_captures_operations.py @@ -93,7 +93,7 @@ def _create_initial( if response.status_code not in [201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PacketCaptureResult', pipeline_response) @@ -125,8 +125,8 @@ def begin_create( :type parameters: ~azure.mgmt.network.v2019_07_01.models.PacketCapture :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PacketCaptureResult or the result of cls(response) @@ -234,7 +234,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PacketCaptureResult', pipeline_response) @@ -285,7 +285,7 @@ def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -311,8 +311,8 @@ def begin_delete( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -403,7 +403,7 @@ def _stop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -429,8 +429,8 @@ def begin_stop( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -521,7 +521,7 @@ def _get_status_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -554,8 +554,8 @@ def begin_get_status( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PacketCaptureQueryStatusResult or the result of cls(response) @@ -674,7 +674,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_private_endpoints_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_private_endpoints_operations.py index 15d33bae9a1c..736d8ffd3751 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_private_endpoints_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_private_endpoints_operations.py @@ -85,7 +85,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -108,8 +108,8 @@ def begin_delete( :type private_endpoint_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -212,7 +212,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateEndpoint', pipeline_response) @@ -267,7 +267,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -300,8 +300,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_07_01.models.PrivateEndpoint :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PrivateEndpoint or the result of cls(response) @@ -415,7 +415,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -483,7 +483,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_private_link_services_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_private_link_services_operations.py index ca5db549101e..f31c0d63ff8a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_private_link_services_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_private_link_services_operations.py @@ -85,7 +85,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -108,8 +108,8 @@ def begin_delete( :type service_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -212,7 +212,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateLinkService', pipeline_response) @@ -267,7 +267,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -300,8 +300,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_07_01.models.PrivateLinkService :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PrivateLinkService or the result of cls(response) @@ -415,7 +415,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -483,7 +483,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -555,7 +555,7 @@ def update_private_endpoint_connection( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateEndpointConnection', pipeline_response) @@ -606,7 +606,7 @@ def _delete_private_endpoint_connection_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -632,8 +632,8 @@ def begin_delete_private_endpoint_connection( :type pe_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -753,8 +753,8 @@ def begin_check_private_link_service_visibility( :type parameters: ~azure.mgmt.network.v2019_07_01.models.CheckPrivateLinkServiceVisibilityRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PrivateLinkServiceVisibility or the result of cls(response) @@ -880,8 +880,8 @@ def begin_check_private_link_service_visibility_by_resource_group( :type parameters: ~azure.mgmt.network.v2019_07_01.models.CheckPrivateLinkServiceVisibilityRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PrivateLinkServiceVisibility or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_public_ip_addresses_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_public_ip_addresses_operations.py index e4b7ccb4fda8..8de1689c7394 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_public_ip_addresses_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_public_ip_addresses_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type public_ip_address_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_07_01.models.PublicIPAddress :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PublicIPAddress or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PublicIPAddress or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_public_ip_prefixes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_public_ip_prefixes_operations.py index f7a105322864..6cddcb18e888 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_public_ip_prefixes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_public_ip_prefixes_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type public_ip_prefix_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_07_01.models.PublicIPPrefix :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PublicIPPrefix or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PublicIPPrefix or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_route_filter_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_route_filter_rules_operations.py index 8670a45c96d9..ddf4d5c244b8 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_route_filter_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_route_filter_rules_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2019_07_01.models.RouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilterRule or the result of cls(response) @@ -441,8 +441,8 @@ def begin_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2019_07_01.models.PatchRouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilterRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_route_filters_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_route_filters_operations.py index 44dd6984651c..b328767dc513 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_route_filters_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_route_filters_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type route_filter_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -296,8 +296,8 @@ def begin_create_or_update( :type route_filter_parameters: ~azure.mgmt.network.v2019_07_01.models.RouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilter or the result of cls(response) @@ -422,8 +422,8 @@ def begin_update( :type route_filter_parameters: ~azure.mgmt.network.v2019_07_01.models.PatchRouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilter or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_route_tables_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_route_tables_operations.py index 414bf4ae848f..1041c9ba094e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_route_tables_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_route_tables_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_07_01.models.RouteTable :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteTable or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteTable or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_routes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_routes_operations.py index 82b2a5f75e6a..08e78e9df765 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_routes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_routes_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type route_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -306,8 +306,8 @@ def begin_create_or_update( :type route_parameters: ~azure.mgmt.network.v2019_07_01.models.Route :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Route or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_security_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_security_rules_operations.py index 416a335002d7..79654ef57eba 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_security_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_security_rules_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type security_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type security_rule_parameters: ~azure.mgmt.network.v2019_07_01.models.SecurityRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either SecurityRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_service_endpoint_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_service_endpoint_policies_operations.py index c013ac5fa638..24ce0a122042 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_service_endpoint_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_service_endpoint_policies_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type service_endpoint_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -296,8 +296,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_07_01.models.ServiceEndpointPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ServiceEndpointPolicy or the result of cls(response) @@ -422,8 +422,8 @@ def begin_update( :type parameters: ~azure.mgmt.network.v2019_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ServiceEndpointPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_service_endpoint_policy_definitions_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_service_endpoint_policy_definitions_operations.py index 9560d39e02cc..38f1ba5be1e3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_service_endpoint_policy_definitions_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_service_endpoint_policy_definitions_operations.py @@ -111,8 +111,8 @@ def begin_delete( :type service_endpoint_policy_definition_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -311,8 +311,8 @@ def begin_create_or_update( :type service_endpoint_policy_definitions: ~azure.mgmt.network.v2019_07_01.models.ServiceEndpointPolicyDefinition :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ServiceEndpointPolicyDefinition or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_subnets_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_subnets_operations.py index b15627cb70d5..efa2be419802 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_subnets_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_subnets_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type subnet_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -311,8 +311,8 @@ def begin_create_or_update( :type subnet_parameters: ~azure.mgmt.network.v2019_07_01.models.Subnet :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Subnet or the result of cls(response) @@ -440,8 +440,8 @@ def begin_prepare_network_policies( :type prepare_network_policies_request_parameters: ~azure.mgmt.network.v2019_07_01.models.PrepareNetworkPoliciesRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -566,8 +566,8 @@ def begin_unprepare_network_policies( :type unprepare_network_policies_request_parameters: ~azure.mgmt.network.v2019_07_01.models.UnprepareNetworkPoliciesRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_virtual_hubs_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_virtual_hubs_operations.py index b9046550ac1c..e533f9f83683 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_virtual_hubs_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_virtual_hubs_operations.py @@ -96,7 +96,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualHub', pipeline_response) @@ -151,7 +151,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -184,8 +184,8 @@ def begin_create_or_update( :type virtual_hub_parameters: ~azure.mgmt.network.v2019_07_01.models.VirtualHub :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualHub or the result of cls(response) @@ -282,7 +282,7 @@ def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -315,8 +315,8 @@ def begin_update_tags( :type virtual_hub_parameters: ~azure.mgmt.network.v2019_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualHub or the result of cls(response) @@ -407,7 +407,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -430,8 +430,8 @@ def begin_delete( :type virtual_hub_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -541,7 +541,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -609,7 +609,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_virtual_network_gateway_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_virtual_network_gateway_connections_operations.py index 564ee5eeb058..f463f80e0a3d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_virtual_network_gateway_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_virtual_network_gateway_connections_operations.py @@ -125,8 +125,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_07_01.models.VirtualNetworkGatewayConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -298,8 +298,8 @@ def begin_delete( :type virtual_network_gateway_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -423,8 +423,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -556,8 +556,8 @@ def begin_set_shared_key( :type parameters: ~azure.mgmt.network.v2019_07_01.models.ConnectionSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionSharedKey or the result of cls(response) @@ -821,8 +821,8 @@ def begin_reset_shared_key( :type parameters: ~azure.mgmt.network.v2019_07_01.models.ConnectionResetSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionResetSharedKey or the result of cls(response) @@ -922,7 +922,7 @@ def _start_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -955,8 +955,8 @@ def begin_start_packet_capture( :type parameters: ~azure.mgmt.network.v2019_07_01.models.VpnPacketCaptureStartParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1053,7 +1053,7 @@ def _stop_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -1086,8 +1086,8 @@ def begin_stop_packet_capture( :type parameters: ~azure.mgmt.network.v2019_07_01.models.VpnPacketCaptureStopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_virtual_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_virtual_network_gateways_operations.py index 36fdc0e4e2aa..69a6aa0e6abc 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_virtual_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_virtual_network_gateways_operations.py @@ -123,8 +123,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_07_01.models.VirtualNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -294,8 +294,8 @@ def begin_delete( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -418,8 +418,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -690,8 +690,8 @@ def begin_reset( :type gateway_vip: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -803,8 +803,8 @@ def begin_reset_vpn_client_shared_key( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -929,8 +929,8 @@ def begin_generatevpnclientpackage( :type parameters: ~azure.mgmt.network.v2019_07_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1059,8 +1059,8 @@ def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2019_07_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1179,8 +1179,8 @@ def begin_get_vpn_profile_package_url( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1303,8 +1303,8 @@ def begin_get_bgp_peer_status( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either BgpPeerStatusListResult or the result of cls(response) @@ -1482,8 +1482,8 @@ def begin_get_learned_routes( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1606,8 +1606,8 @@ def begin_get_advertised_routes( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1736,8 +1736,8 @@ def begin_set_vpnclient_ipsec_parameters( :type vpnclient_ipsec_params: ~azure.mgmt.network.v2019_07_01.models.VpnClientIPsecParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnClientIPsecParameters or the result of cls(response) @@ -1855,8 +1855,8 @@ def begin_get_vpnclient_ipsec_parameters( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnClientIPsecParameters or the result of cls(response) @@ -2023,7 +2023,7 @@ def _start_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -2055,8 +2055,8 @@ def begin_start_packet_capture( :type parameters: ~azure.mgmt.network.v2019_07_01.models.VpnPacketCaptureStartParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -2153,7 +2153,7 @@ def _stop_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -2185,8 +2185,8 @@ def begin_stop_packet_capture( :type parameters: ~azure.mgmt.network.v2019_07_01.models.VpnPacketCaptureStopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -2305,8 +2305,8 @@ def begin_get_vpnclient_connection_health( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnClientConnectionHealthDetailListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_virtual_network_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_virtual_network_peerings_operations.py index 842eb9c091ed..acfe344e00c5 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_virtual_network_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_virtual_network_peerings_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type virtual_network_peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type virtual_network_peering_parameters: ~azure.mgmt.network.v2019_07_01.models.VirtualNetworkPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_virtual_network_taps_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_virtual_network_taps_operations.py index f1e722422c1b..11d94ae5a83a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_virtual_network_taps_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_virtual_network_taps_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type tap_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_07_01.models.VirtualNetworkTap :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkTap or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type tap_parameters: ~azure.mgmt.network.v2019_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkTap or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_virtual_networks_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_virtual_networks_operations.py index e76ca2d42d29..cf887351b2cb 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_virtual_networks_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_virtual_networks_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type virtual_network_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_07_01.models.VirtualNetwork :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetwork or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetwork or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_virtual_router_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_virtual_router_peerings_operations.py index c0e5ec6105b0..f671ef5c74ea 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_virtual_router_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_virtual_router_peerings_operations.py @@ -87,7 +87,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -113,8 +113,8 @@ def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -218,7 +218,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualRouterPeering', pipeline_response) @@ -290,7 +290,7 @@ def update( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualRouterPeering', pipeline_response) @@ -347,7 +347,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -384,8 +384,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_07_01.models.VirtualRouterPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualRouterPeering or the result of cls(response) @@ -505,7 +505,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_virtual_routers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_virtual_routers_operations.py index 7a5aabd50588..ea8debd65d9b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_virtual_routers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_virtual_routers_operations.py @@ -85,7 +85,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -108,8 +108,8 @@ def begin_delete( :type virtual_router_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -212,7 +212,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualRouter', pipeline_response) @@ -280,7 +280,7 @@ def update( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualRouter', pipeline_response) @@ -335,7 +335,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -368,8 +368,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_07_01.models.VirtualRouter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualRouter or the result of cls(response) @@ -483,7 +483,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -551,7 +551,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_virtual_wans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_virtual_wans_operations.py index 9d52388dd066..56055f5f56f8 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_virtual_wans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_virtual_wans_operations.py @@ -96,7 +96,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualWAN', pipeline_response) @@ -151,7 +151,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -184,8 +184,8 @@ def begin_create_or_update( :type wan_parameters: ~azure.mgmt.network.v2019_07_01.models.VirtualWAN :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualWAN or the result of cls(response) @@ -282,7 +282,7 @@ def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -315,8 +315,8 @@ def begin_update_tags( :type wan_parameters: ~azure.mgmt.network.v2019_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualWAN or the result of cls(response) @@ -407,7 +407,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -430,8 +430,8 @@ def begin_delete( :type virtual_wan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -541,7 +541,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -609,7 +609,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_vpn_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_vpn_connections_operations.py index 76733a705fef..25b7e002e77b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_vpn_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_vpn_connections_operations.py @@ -100,7 +100,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VpnConnection', pipeline_response) @@ -157,7 +157,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -194,8 +194,8 @@ def begin_create_or_update( :type vpn_connection_parameters: ~azure.mgmt.network.v2019_07_01.models.VpnConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnConnection or the result of cls(response) @@ -290,7 +290,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -316,8 +316,8 @@ def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -433,7 +433,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_vpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_vpn_gateways_operations.py index c8dab7386663..eb6d04db7df5 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_vpn_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_vpn_gateways_operations.py @@ -96,7 +96,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VpnGateway', pipeline_response) @@ -151,7 +151,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -185,8 +185,8 @@ def begin_create_or_update( :type vpn_gateway_parameters: ~azure.mgmt.network.v2019_07_01.models.VpnGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnGateway or the result of cls(response) @@ -283,7 +283,7 @@ def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -316,8 +316,8 @@ def begin_update_tags( :type vpn_gateway_parameters: ~azure.mgmt.network.v2019_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnGateway or the result of cls(response) @@ -408,7 +408,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -431,8 +431,8 @@ def begin_delete( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -546,8 +546,8 @@ def begin_reset( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnGateway or the result of cls(response) @@ -660,7 +660,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -728,7 +728,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_vpn_link_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_vpn_link_connections_operations.py index af7955ceb953..7f7be420cb4c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_vpn_link_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_vpn_link_connections_operations.py @@ -115,7 +115,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_vpn_site_link_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_vpn_site_link_connections_operations.py index a6725b968385..9799573bb888 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_vpn_site_link_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_vpn_site_link_connections_operations.py @@ -101,7 +101,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VpnSiteLinkConnection', pipeline_response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_vpn_site_links_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_vpn_site_links_operations.py index 48cbb3caca04..a38163ab3f25 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_vpn_site_links_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_vpn_site_links_operations.py @@ -98,7 +98,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VpnSiteLink', pipeline_response) @@ -174,7 +174,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_vpn_sites_configuration_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_vpn_sites_configuration_operations.py index d40ca8906fc5..cc60ad305eda 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_vpn_sites_configuration_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_vpn_sites_configuration_operations.py @@ -90,7 +90,7 @@ def _download_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -117,8 +117,8 @@ def begin_download( :type request: ~azure.mgmt.network.v2019_07_01.models.GetVpnSitesConfigurationRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_vpn_sites_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_vpn_sites_operations.py index e0ef8a992c39..10a6d48d2a9c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_vpn_sites_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_vpn_sites_operations.py @@ -96,7 +96,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VpnSite', pipeline_response) @@ -151,7 +151,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -184,8 +184,8 @@ def begin_create_or_update( :type vpn_site_parameters: ~azure.mgmt.network.v2019_07_01.models.VpnSite :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnSite or the result of cls(response) @@ -282,7 +282,7 @@ def _update_tags_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -315,8 +315,8 @@ def begin_update_tags( :type vpn_site_parameters: ~azure.mgmt.network.v2019_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnSite or the result of cls(response) @@ -407,7 +407,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -430,8 +430,8 @@ def begin_delete( :type vpn_site_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -541,7 +541,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -609,7 +609,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_web_application_firewall_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_web_application_firewall_policies_operations.py index 1d1054ed4b2e..1aa738ae8dbd 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_web_application_firewall_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_web_application_firewall_policies_operations.py @@ -373,8 +373,8 @@ def begin_delete( :type policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/_metadata.json b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/_metadata.json index 8312890a6533..956a44a23ef9 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/_metadata.json +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/_metadata.json @@ -9,7 +9,9 @@ "custom_base_url": null, "azure_arm": true, "has_lro_operations": true, - "client_side_validation": true + "client_side_validation": false, + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"NetworkManagementClientConfiguration\"], \"._operations_mixin\": [\"NetworkManagementClientOperationsMixin\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"NetworkManagementClientConfiguration\"], \"._operations_mixin\": [\"NetworkManagementClientOperationsMixin\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}" }, "global_parameters": { "sync": { @@ -28,13 +30,13 @@ }, "async": { "credential": { - "signature": "credential, # type: \"AsyncTokenCredential\"", + "signature": "credential: \"AsyncTokenCredential\",", "description": "Credential needed for the client to connect to Azure.", "docstring_type": "~azure.core.credentials_async.AsyncTokenCredential", "required": true }, "subscription_id": { - "signature": "subscription_id, # type: str", + "signature": "subscription_id: str,", "description": "The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.", "docstring_type": "str", "required": true @@ -42,14 +44,58 @@ }, "constant": { }, - "call": "credential, subscription_id" + "call": "credential, subscription_id", + "service_client_specific": { + "sync": { + "api_version": { + "signature": "api_version=None, # type: Optional[str]", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url=None, # type: Optional[str]", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile=KnownProfiles.default, # type: KnownProfiles", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + }, + "async": { + "api_version": { + "signature": "api_version: Optional[str] = None,", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url: Optional[str] = None,", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile: KnownProfiles = KnownProfiles.default,", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + } + } }, "config": { "credential": true, "credential_scopes": ["https://management.azure.com/.default"], "credential_default_policy_type": "BearerTokenCredentialPolicy", "credential_default_policy_type_has_async_version": true, - "credential_key_header_name": null + "credential_key_header_name": null, + "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMHttpLoggingPolicy\"]}, \"local\": {\"._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}}", + "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMHttpLoggingPolicy\"]}, \"local\": {\".._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}}" }, "operation_groups": { "application_gateways": "ApplicationGatewaysOperations", @@ -140,55 +186,57 @@ "web_application_firewall_policies": "WebApplicationFirewallPoliciesOperations" }, "operation_mixins": { - "check_dns_name_availability" : { - "sync": { - "signature": "def check_dns_name_availability(\n self,\n location, # type: str\n domain_name_label, # type: str\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_08_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def check_dns_name_availability(\n self,\n location: str,\n domain_name_label: str,\n **kwargs\n) -\u003e \"_models.DnsNameAvailabilityResult\":\n", - "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_08_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "location, domain_name_label" - }, - "supported_security_providers" : { - "sync": { - "signature": "def supported_security_providers(\n self,\n resource_group_name, # type: str\n virtual_wan_name, # type: str\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Gives the supported security providers for the virtual wan.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN for which supported security providers are\n needed.\n:type virtual_wan_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VirtualWanSecurityProviders, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_08_01.models.VirtualWanSecurityProviders\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"], \"azure.core.polling\": [\"LROPoller\", \"NoPolling\", \"PollingMethod\"], \"azure.mgmt.core.polling.arm_polling\": [\"ARMPolling\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\", \"Union\"]}}}", + "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"], \"azure.core.polling\": [\"AsyncLROPoller\", \"AsyncNoPolling\", \"AsyncPollingMethod\"], \"azure.mgmt.core.polling.async_arm_polling\": [\"AsyncARMPolling\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\", \"Union\"]}}}", + "operations": { + "check_dns_name_availability" : { + "sync": { + "signature": "def check_dns_name_availability(\n self,\n location, # type: str\n domain_name_label, # type: str\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_08_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def check_dns_name_availability(\n self,\n location: str,\n domain_name_label: str,\n **kwargs\n) -\u003e \"_models.DnsNameAvailabilityResult\":\n", + "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_08_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "location, domain_name_label" }, - "async": { - "coroutine": true, - "signature": "async def supported_security_providers(\n self,\n resource_group_name: str,\n virtual_wan_name: str,\n **kwargs\n) -\u003e \"_models.VirtualWanSecurityProviders\":\n", - "doc": "\"\"\"Gives the supported security providers for the virtual wan.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN for which supported security providers are\n needed.\n:type virtual_wan_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VirtualWanSecurityProviders, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_08_01.models.VirtualWanSecurityProviders\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "resource_group_name, virtual_wan_name" - }, - "_generatevirtualwanvpnserverconfigurationvpnprofile_initial" : { - "sync": { - "signature": "def _generatevirtualwanvpnserverconfigurationvpnprofile_initial(\n self,\n resource_group_name, # type: str\n virtual_wan_name, # type: str\n vpn_client_params, # type: \"_models.VirtualWanVpnProfileParameters\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2019_08_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VpnProfileResponse, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_08_01.models.VpnProfileResponse or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def _generatevirtualwanvpnserverconfigurationvpnprofile_initial(\n self,\n resource_group_name: str,\n virtual_wan_name: str,\n vpn_client_params: \"_models.VirtualWanVpnProfileParameters\",\n **kwargs\n) -\u003e Optional[\"_models.VpnProfileResponse\"]:\n", - "doc": "\"\"\"\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2019_08_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VpnProfileResponse, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_08_01.models.VpnProfileResponse or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "supported_security_providers" : { + "sync": { + "signature": "def supported_security_providers(\n self,\n resource_group_name, # type: str\n virtual_wan_name, # type: str\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Gives the supported security providers for the virtual wan.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN for which supported security providers are\n needed.\n:type virtual_wan_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VirtualWanSecurityProviders, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_08_01.models.VirtualWanSecurityProviders\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def supported_security_providers(\n self,\n resource_group_name: str,\n virtual_wan_name: str,\n **kwargs\n) -\u003e \"_models.VirtualWanSecurityProviders\":\n", + "doc": "\"\"\"Gives the supported security providers for the virtual wan.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN for which supported security providers are\n needed.\n:type virtual_wan_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VirtualWanSecurityProviders, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_08_01.models.VirtualWanSecurityProviders\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "resource_group_name, virtual_wan_name" }, - "call": "resource_group_name, virtual_wan_name, vpn_client_params" - }, - "begin_generatevirtualwanvpnserverconfigurationvpnprofile" : { - "sync": { - "signature": "def begin_generatevirtualwanvpnserverconfigurationvpnprofile(\n self,\n resource_group_name, # type: str\n virtual_wan_name, # type: str\n vpn_client_params, # type: \"_models.VirtualWanVpnProfileParameters\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Generates a unique VPN profile for P2S clients for VirtualWan and associated\nVpnServerConfiguration combination in the specified resource group.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2019_08_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns either VpnProfileResponse or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2019_08_01.models.VpnProfileResponse]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def begin_generatevirtualwanvpnserverconfigurationvpnprofile(\n self,\n resource_group_name: str,\n virtual_wan_name: str,\n vpn_client_params: \"_models.VirtualWanVpnProfileParameters\",\n **kwargs\n) -\u003e AsyncLROPoller[\"_models.VpnProfileResponse\"]:\n", - "doc": "\"\"\"Generates a unique VPN profile for P2S clients for VirtualWan and associated\nVpnServerConfiguration combination in the specified resource group.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2019_08_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns either VpnProfileResponse or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2019_08_01.models.VpnProfileResponse]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + "_generatevirtualwanvpnserverconfigurationvpnprofile_initial" : { + "sync": { + "signature": "def _generatevirtualwanvpnserverconfigurationvpnprofile_initial(\n self,\n resource_group_name, # type: str\n virtual_wan_name, # type: str\n vpn_client_params, # type: \"_models.VirtualWanVpnProfileParameters\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2019_08_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VpnProfileResponse, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_08_01.models.VpnProfileResponse or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def _generatevirtualwanvpnserverconfigurationvpnprofile_initial(\n self,\n resource_group_name: str,\n virtual_wan_name: str,\n vpn_client_params: \"_models.VirtualWanVpnProfileParameters\",\n **kwargs\n) -\u003e Optional[\"_models.VpnProfileResponse\"]:\n", + "doc": "\"\"\"\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2019_08_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VpnProfileResponse, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_08_01.models.VpnProfileResponse or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "resource_group_name, virtual_wan_name, vpn_client_params" }, - "call": "resource_group_name, virtual_wan_name, vpn_client_params" + "begin_generatevirtualwanvpnserverconfigurationvpnprofile" : { + "sync": { + "signature": "def begin_generatevirtualwanvpnserverconfigurationvpnprofile(\n self,\n resource_group_name, # type: str\n virtual_wan_name, # type: str\n vpn_client_params, # type: \"_models.VirtualWanVpnProfileParameters\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Generates a unique VPN profile for P2S clients for VirtualWan and associated\nVpnServerConfiguration combination in the specified resource group.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2019_08_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the ARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns either VpnProfileResponse or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2019_08_01.models.VpnProfileResponse]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def begin_generatevirtualwanvpnserverconfigurationvpnprofile(\n self,\n resource_group_name: str,\n virtual_wan_name: str,\n vpn_client_params: \"_models.VirtualWanVpnProfileParameters\",\n **kwargs\n) -\u003e AsyncLROPoller[\"_models.VpnProfileResponse\"]:\n", + "doc": "\"\"\"Generates a unique VPN profile for P2S clients for VirtualWan and associated\nVpnServerConfiguration combination in the specified resource group.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2019_08_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the AsyncARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns either VpnProfileResponse or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2019_08_01.models.VpnProfileResponse]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "call": "resource_group_name, virtual_wan_name, vpn_client_params" + } } - }, - "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"], \"azure.core.polling\": [\"LROPoller\", \"NoPolling\", \"PollingMethod\"], \"azure.mgmt.core.polling.arm_polling\": [\"ARMPolling\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\", \"Union\"]}}}", - "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"], \"azure.core.polling\": [\"AsyncLROPoller\", \"AsyncNoPolling\", \"AsyncPollingMethod\"], \"azure.mgmt.core.polling.async_arm_polling\": [\"AsyncARMPolling\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\", \"Union\"]}}}" + } } \ No newline at end of file diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/_network_management_client.py index 99739d70c569..5b7e2df6768e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/_network_management_client.py @@ -16,6 +16,7 @@ from typing import Any, Optional from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse from ._configuration import NetworkManagementClientConfiguration from .operations import ApplicationGatewaysOperations @@ -306,6 +307,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( @@ -481,6 +483,24 @@ def __init__( self.web_application_firewall_policies = WebApplicationFirewallPoliciesOperations( self._client, self._config, self._serialize, self._deserialize) + def _send_request(self, http_request, **kwargs): + # type: (HttpRequest, Any) -> HttpResponse + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.HttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + def close(self): # type: () -> None self._client.close() diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/_network_management_client.py index 3d428af0aa97..65c7fff6c701 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/_network_management_client.py @@ -8,6 +8,7 @@ from typing import Any, Optional, TYPE_CHECKING +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core import AsyncARMPipelineClient from msrest import Deserializer, Serializer @@ -303,6 +304,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( @@ -478,6 +480,23 @@ def __init__( self.web_application_firewall_policies = WebApplicationFirewallPoliciesOperations( self._client, self._config, self._serialize, self._deserialize) + async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + async def close(self) -> None: await self._client.close() diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_application_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_application_gateways_operations.py index 97a1023d8e97..8fca84be4d16 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_application_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_application_gateways_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_08_01.models.ApplicationGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGateway or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGateway or the result of cls(response) @@ -651,8 +651,8 @@ async def begin_start( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -757,8 +757,8 @@ async def begin_stop( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -876,8 +876,8 @@ async def begin_backend_health( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGatewayBackendHealth or the result of cls(response) @@ -1009,8 +1009,8 @@ async def begin_backend_health_on_demand( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGatewayBackendHealthOnDemand or the result of cls(response) @@ -1104,7 +1104,7 @@ async def list_available_server_variables( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) @@ -1155,7 +1155,7 @@ async def list_available_request_headers( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) @@ -1206,7 +1206,7 @@ async def list_available_response_headers( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_application_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_application_security_groups_operations.py index 32592d00d362..cc5fe2269cc4 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_application_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_application_security_groups_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type application_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -282,8 +282,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_08_01.models.ApplicationSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationSecurityGroup or the result of cls(response) @@ -406,8 +406,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_azure_firewalls_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_azure_firewalls_operations.py index cbd513066907..9acd2ac9e8ca 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_azure_firewalls_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_azure_firewalls_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type azure_firewall_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_08_01.models.AzureFirewall :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AzureFirewall or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_bastion_hosts_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_bastion_hosts_operations.py index b24c99caa41b..ab290a331d69 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_bastion_hosts_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_bastion_hosts_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type bastion_host_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_08_01.models.BastionHost :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either BastionHost or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_connection_monitors_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_connection_monitors_operations.py index 7c75f2b7b4ef..3ac8347214c6 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_connection_monitors_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_connection_monitors_operations.py @@ -88,7 +88,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -123,8 +123,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_08_01.models.ConnectionMonitor :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionMonitorResult or the result of cls(response) @@ -231,7 +231,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('ConnectionMonitorResult', pipeline_response) @@ -281,7 +281,7 @@ async def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -306,8 +306,8 @@ async def begin_delete( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -418,7 +418,7 @@ async def update_tags( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('ConnectionMonitorResult', pipeline_response) @@ -468,7 +468,7 @@ async def _stop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -493,8 +493,8 @@ async def begin_stop( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -584,7 +584,7 @@ async def _start_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -609,8 +609,8 @@ async def begin_start( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -700,7 +700,7 @@ async def _query_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -732,8 +732,8 @@ async def begin_query( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionMonitorQueryResult or the result of cls(response) @@ -851,7 +851,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_ddos_custom_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_ddos_custom_policies_operations.py index 44d6fcf79361..1b11f8e05dfd 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_ddos_custom_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_ddos_custom_policies_operations.py @@ -100,8 +100,8 @@ async def begin_delete( :type ddos_custom_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -282,8 +282,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_08_01.models.DdosCustomPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either DdosCustomPolicy or the result of cls(response) @@ -406,8 +406,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either DdosCustomPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_ddos_protection_plans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_ddos_protection_plans_operations.py index 23d8bb580cf7..7159b7474e30 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_ddos_protection_plans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_ddos_protection_plans_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type ddos_protection_plan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_08_01.models.DdosProtectionPlan :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either DdosProtectionPlan or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either DdosProtectionPlan or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_express_route_circuit_authorizations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_express_route_circuit_authorizations_operations.py index 21d503051a0f..637b81ebcdf3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_express_route_circuit_authorizations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_express_route_circuit_authorizations_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type authorization_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type authorization_parameters: ~azure.mgmt.network.v2019_08_01.models.ExpressRouteCircuitAuthorization :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitAuthorization or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_express_route_circuit_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_express_route_circuit_connections_operations.py index 08f5c5bc59fc..1e18698789fa 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_express_route_circuit_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_express_route_circuit_connections_operations.py @@ -110,8 +110,8 @@ async def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -315,8 +315,8 @@ async def begin_create_or_update( :type express_route_circuit_connection_parameters: ~azure.mgmt.network.v2019_08_01.models.ExpressRouteCircuitConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitConnection or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_express_route_circuit_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_express_route_circuit_peerings_operations.py index cea1390dd549..59bb90b122bc 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_express_route_circuit_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_express_route_circuit_peerings_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2019_08_01.models.ExpressRouteCircuitPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_express_route_circuits_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_express_route_circuits_operations.py index baa4f5ca0fdf..0a78e87634bb 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_express_route_circuits_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_express_route_circuits_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type circuit_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_08_01.models.ExpressRouteCircuit :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -533,8 +533,8 @@ async def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -664,8 +664,8 @@ async def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) @@ -795,8 +795,8 @@ async def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableSummaryListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_express_route_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_express_route_connections_operations.py index 235d5ae85e72..f5ac6e8fda72 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_express_route_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_express_route_connections_operations.py @@ -122,8 +122,8 @@ async def begin_create_or_update( :type put_express_route_connection_parameters: ~azure.mgmt.network.v2019_08_01.models.ExpressRouteConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteConnection or the result of cls(response) @@ -301,8 +301,8 @@ async def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_express_route_cross_connection_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_express_route_cross_connection_peerings_operations.py index 0214ae48ecb8..d7849807b81d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_express_route_cross_connection_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_express_route_cross_connection_peerings_operations.py @@ -178,8 +178,8 @@ async def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -372,8 +372,8 @@ async def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2019_08_01.models.ExpressRouteCrossConnectionPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCrossConnectionPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_express_route_cross_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_express_route_cross_connections_operations.py index 52815797a372..8ead90dc5585 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_express_route_cross_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_express_route_cross_connections_operations.py @@ -308,8 +308,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_08_01.models.ExpressRouteCrossConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCrossConnection or the result of cls(response) @@ -433,8 +433,8 @@ async def begin_update_tags( :type cross_connection_parameters: ~azure.mgmt.network.v2019_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCrossConnection or the result of cls(response) @@ -561,8 +561,8 @@ async def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -692,8 +692,8 @@ async def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCrossConnectionsRoutesTableSummaryListResult or the result of cls(response) @@ -823,8 +823,8 @@ async def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_express_route_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_express_route_gateways_operations.py index 9d23b73cbdbe..017e43b70b15 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_express_route_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_express_route_gateways_operations.py @@ -221,8 +221,8 @@ async def begin_create_or_update( :type put_express_route_gateway_parameters: ~azure.mgmt.network.v2019_08_01.models.ExpressRouteGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteGateway or the result of cls(response) @@ -390,8 +390,8 @@ async def begin_delete( :type express_route_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_express_route_ports_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_express_route_ports_operations.py index 254cea943aaf..fb1f86ad8116 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_express_route_ports_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_express_route_ports_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type express_route_port_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_08_01.models.ExpressRoutePort :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRoutePort or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRoutePort or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_firewall_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_firewall_policies_operations.py index 65c56abba465..0fdbaa2491cd 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_firewall_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_firewall_policies_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type firewall_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -268,7 +268,7 @@ async def update_tags( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('FirewallPolicy', pipeline_response) @@ -353,8 +353,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_08_01.models.FirewallPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FirewallPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_firewall_policy_rule_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_firewall_policy_rule_groups_operations.py index 35e6d4bc98c7..46bcc87bd75f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_firewall_policy_rule_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_firewall_policy_rule_groups_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type rule_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_08_01.models.FirewallPolicyRuleGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FirewallPolicyRuleGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_inbound_nat_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_inbound_nat_rules_operations.py index d792567d2b32..3f212798511b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_inbound_nat_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_inbound_nat_rules_operations.py @@ -178,8 +178,8 @@ async def begin_delete( :type inbound_nat_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -377,8 +377,8 @@ async def begin_create_or_update( :type inbound_nat_rule_parameters: ~azure.mgmt.network.v2019_08_01.models.InboundNatRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either InboundNatRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_load_balancers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_load_balancers_operations.py index 23ea11a62f3e..29e524c86025 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_load_balancers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_load_balancers_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type load_balancer_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_08_01.models.LoadBalancer :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LoadBalancer or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LoadBalancer or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_local_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_local_network_gateways_operations.py index bd03d16bd9cb..901795357901 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_local_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_local_network_gateways_operations.py @@ -117,8 +117,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_08_01.models.LocalNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LocalNetworkGateway or the result of cls(response) @@ -285,8 +285,8 @@ async def begin_delete( :type local_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LocalNetworkGateway or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_nat_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_nat_gateways_operations.py index b0b6d5d580de..104bcdfcfbe7 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_nat_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_nat_gateways_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type nat_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -289,8 +289,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_08_01.models.NatGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NatGateway or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_network_interface_tap_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_network_interface_tap_configurations_operations.py index f62bccdb62be..59091b16e650 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_network_interface_tap_configurations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_network_interface_tap_configurations_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type tap_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type tap_configuration_parameters: ~azure.mgmt.network.v2019_08_01.models.NetworkInterfaceTapConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkInterfaceTapConfiguration or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_network_interfaces_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_network_interfaces_operations.py index 10a844288ae0..bb40fade9188 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_network_interfaces_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_network_interfaces_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_08_01.models.NetworkInterface :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkInterface or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkInterface or the result of cls(response) @@ -663,8 +663,8 @@ async def begin_get_effective_route_table( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either EffectiveRouteListResult or the result of cls(response) @@ -779,8 +779,8 @@ async def begin_list_effective_network_security_groups( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either EffectiveNetworkSecurityGroupListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_network_management_client_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_network_management_client_operations.py index cb84b7385bd4..6801e7146441 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_network_management_client_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_network_management_client_operations.py @@ -215,8 +215,8 @@ async def begin_generatevirtualwanvpnserverconfigurationvpnprofile( :type vpn_client_params: ~azure.mgmt.network.v2019_08_01.models.VirtualWanVpnProfileParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnProfileResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_network_profiles_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_network_profiles_operations.py index bfe8c3bd38d8..8d09006728df 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_network_profiles_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_network_profiles_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type network_profile_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_network_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_network_security_groups_operations.py index 56c125e9147f..536d00e9043f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_network_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_network_security_groups_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type network_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -287,8 +287,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_08_01.models.NetworkSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkSecurityGroup or the result of cls(response) @@ -411,8 +411,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_network_watchers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_network_watchers_operations.py index b50652e23217..a99214f2ba40 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_network_watchers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_network_watchers_operations.py @@ -99,7 +99,7 @@ async def create_or_update( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -162,7 +162,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('NetworkWatcher', pipeline_response) @@ -210,7 +210,7 @@ async def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -232,8 +232,8 @@ async def begin_delete( :type network_watcher_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -338,7 +338,7 @@ async def update_tags( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('NetworkWatcher', pipeline_response) @@ -409,7 +409,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -476,7 +476,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -543,7 +543,7 @@ async def get_topology( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('Topology', pipeline_response) @@ -597,7 +597,7 @@ async def _verify_ip_flow_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -629,8 +629,8 @@ async def begin_verify_ip_flow( :type parameters: ~azure.mgmt.network.v2019_08_01.models.VerificationIPFlowParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VerificationIPFlowResult or the result of cls(response) @@ -726,7 +726,7 @@ async def _get_next_hop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -758,8 +758,8 @@ async def begin_get_next_hop( :type parameters: ~azure.mgmt.network.v2019_08_01.models.NextHopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NextHopResult or the result of cls(response) @@ -855,7 +855,7 @@ async def _get_vm_security_rules_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -887,8 +887,8 @@ async def begin_get_vm_security_rules( :type parameters: ~azure.mgmt.network.v2019_08_01.models.SecurityGroupViewParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either SecurityGroupViewResult or the result of cls(response) @@ -984,7 +984,7 @@ async def _get_troubleshooting_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1016,8 +1016,8 @@ async def begin_get_troubleshooting( :type parameters: ~azure.mgmt.network.v2019_08_01.models.TroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1113,7 +1113,7 @@ async def _get_troubleshooting_result_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1145,8 +1145,8 @@ async def begin_get_troubleshooting_result( :type parameters: ~azure.mgmt.network.v2019_08_01.models.QueryTroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1242,7 +1242,7 @@ async def _set_flow_log_configuration_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1274,8 +1274,8 @@ async def begin_set_flow_log_configuration( :type parameters: ~azure.mgmt.network.v2019_08_01.models.FlowLogInformation :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1371,7 +1371,7 @@ async def _get_flow_log_status_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1404,8 +1404,8 @@ async def begin_get_flow_log_status( :type parameters: ~azure.mgmt.network.v2019_08_01.models.FlowLogStatusParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1501,7 +1501,7 @@ async def _check_connectivity_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1534,8 +1534,8 @@ async def begin_check_connectivity( :type parameters: ~azure.mgmt.network.v2019_08_01.models.ConnectivityParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectivityInformation or the result of cls(response) @@ -1631,7 +1631,7 @@ async def _get_azure_reachability_report_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1664,8 +1664,8 @@ async def begin_get_azure_reachability_report( :type parameters: ~azure.mgmt.network.v2019_08_01.models.AzureReachabilityReportParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AzureReachabilityReport or the result of cls(response) @@ -1761,7 +1761,7 @@ async def _list_available_providers_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1793,8 +1793,8 @@ async def begin_list_available_providers( :type parameters: ~azure.mgmt.network.v2019_08_01.models.AvailableProvidersListParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AvailableProvidersList or the result of cls(response) @@ -1890,7 +1890,7 @@ async def _get_network_configuration_diagnostic_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1926,8 +1926,8 @@ async def begin_get_network_configuration_diagnostic( :type parameters: ~azure.mgmt.network.v2019_08_01.models.NetworkConfigurationDiagnosticParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkConfigurationDiagnosticResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_p2_svpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_p2_svpn_gateways_operations.py index 852f96d0d72e..84765a810a94 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_p2_svpn_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_p2_svpn_gateways_operations.py @@ -176,8 +176,8 @@ async def begin_create_or_update( :type p2_s_vpn_gateway_parameters: ~azure.mgmt.network.v2019_08_01.models.P2SVpnGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -305,8 +305,8 @@ async def begin_update_tags( :type p2_s_vpn_gateway_parameters: ~azure.mgmt.network.v2019_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -417,8 +417,8 @@ async def begin_delete( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -676,8 +676,8 @@ async def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2019_08_01.models.P2SVpnProfileParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnProfileResponse or the result of cls(response) @@ -794,8 +794,8 @@ async def begin_get_p2_s_vpn_connection_health( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -920,8 +920,8 @@ async def begin_get_p2_s_vpn_connection_health_detailed( :type request: ~azure.mgmt.network.v2019_08_01.models.P2SVpnConnectionHealthRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either P2SVpnConnectionHealth or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_packet_captures_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_packet_captures_operations.py index 07c91062064a..ce91326226ee 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_packet_captures_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_packet_captures_operations.py @@ -88,7 +88,7 @@ async def _create_initial( if response.status_code not in [201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PacketCaptureResult', pipeline_response) @@ -119,8 +119,8 @@ async def begin_create( :type parameters: ~azure.mgmt.network.v2019_08_01.models.PacketCapture :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PacketCaptureResult or the result of cls(response) @@ -227,7 +227,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PacketCaptureResult', pipeline_response) @@ -277,7 +277,7 @@ async def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -302,8 +302,8 @@ async def begin_delete( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -393,7 +393,7 @@ async def _stop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -418,8 +418,8 @@ async def begin_stop( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -509,7 +509,7 @@ async def _get_status_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -541,8 +541,8 @@ async def begin_get_status( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PacketCaptureQueryStatusResult or the result of cls(response) @@ -660,7 +660,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_private_endpoints_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_private_endpoints_operations.py index 9721b90c738e..033c6df849e7 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_private_endpoints_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_private_endpoints_operations.py @@ -80,7 +80,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -102,8 +102,8 @@ async def begin_delete( :type private_endpoint_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -205,7 +205,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateEndpoint', pipeline_response) @@ -259,7 +259,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -291,8 +291,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_08_01.models.PrivateEndpoint :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PrivateEndpoint or the result of cls(response) @@ -405,7 +405,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -472,7 +472,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_private_link_services_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_private_link_services_operations.py index 7244ef543438..307dce97736b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_private_link_services_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_private_link_services_operations.py @@ -80,7 +80,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -102,8 +102,8 @@ async def begin_delete( :type service_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -205,7 +205,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateLinkService', pipeline_response) @@ -259,7 +259,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -291,8 +291,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_08_01.models.PrivateLinkService :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PrivateLinkService or the result of cls(response) @@ -405,7 +405,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -472,7 +472,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -543,7 +543,7 @@ async def update_private_endpoint_connection( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateEndpointConnection', pipeline_response) @@ -593,7 +593,7 @@ async def _delete_private_endpoint_connection_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -618,8 +618,8 @@ async def begin_delete_private_endpoint_connection( :type pe_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -737,8 +737,8 @@ async def begin_check_private_link_service_visibility( :type parameters: ~azure.mgmt.network.v2019_08_01.models.CheckPrivateLinkServiceVisibilityRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PrivateLinkServiceVisibility or the result of cls(response) @@ -862,8 +862,8 @@ async def begin_check_private_link_service_visibility_by_resource_group( :type parameters: ~azure.mgmt.network.v2019_08_01.models.CheckPrivateLinkServiceVisibilityRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PrivateLinkServiceVisibility or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_public_ip_addresses_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_public_ip_addresses_operations.py index 67f1433d1703..7ead80c690b8 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_public_ip_addresses_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_public_ip_addresses_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type public_ip_address_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_08_01.models.PublicIPAddress :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PublicIPAddress or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PublicIPAddress or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_public_ip_prefixes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_public_ip_prefixes_operations.py index 170e4eab4080..61984cec8c2c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_public_ip_prefixes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_public_ip_prefixes_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type public_ip_prefix_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_08_01.models.PublicIPPrefix :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PublicIPPrefix or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PublicIPPrefix or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_route_filter_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_route_filter_rules_operations.py index 10d3728df961..3739e50c634d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_route_filter_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_route_filter_rules_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2019_08_01.models.RouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilterRule or the result of cls(response) @@ -430,8 +430,8 @@ async def begin_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2019_08_01.models.PatchRouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilterRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_route_filters_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_route_filters_operations.py index 9e8a913ab137..b0c4ecf6c9d2 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_route_filters_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_route_filters_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type route_filter_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -287,8 +287,8 @@ async def begin_create_or_update( :type route_filter_parameters: ~azure.mgmt.network.v2019_08_01.models.RouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilter or the result of cls(response) @@ -411,8 +411,8 @@ async def begin_update( :type route_filter_parameters: ~azure.mgmt.network.v2019_08_01.models.PatchRouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilter or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_route_tables_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_route_tables_operations.py index c82c4393a192..0fe770afe8a3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_route_tables_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_route_tables_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_08_01.models.RouteTable :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteTable or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteTable or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_routes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_routes_operations.py index 0e02c2c53b07..f9cad35de7ee 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_routes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_routes_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type route_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ async def begin_create_or_update( :type route_parameters: ~azure.mgmt.network.v2019_08_01.models.Route :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Route or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_security_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_security_rules_operations.py index 565dad138010..c24131ad2463 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_security_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_security_rules_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type security_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type security_rule_parameters: ~azure.mgmt.network.v2019_08_01.models.SecurityRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either SecurityRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_service_endpoint_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_service_endpoint_policies_operations.py index 7469f7f5ad6e..ba3aadfa6484 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_service_endpoint_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_service_endpoint_policies_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type service_endpoint_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -287,8 +287,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_08_01.models.ServiceEndpointPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ServiceEndpointPolicy or the result of cls(response) @@ -411,8 +411,8 @@ async def begin_update( :type parameters: ~azure.mgmt.network.v2019_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ServiceEndpointPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_service_endpoint_policy_definitions_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_service_endpoint_policy_definitions_operations.py index 1515863fbea8..8cb3d469e801 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_service_endpoint_policy_definitions_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_service_endpoint_policy_definitions_operations.py @@ -105,8 +105,8 @@ async def begin_delete( :type service_endpoint_policy_definition_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -302,8 +302,8 @@ async def begin_create_or_update( :type service_endpoint_policy_definitions: ~azure.mgmt.network.v2019_08_01.models.ServiceEndpointPolicyDefinition :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ServiceEndpointPolicyDefinition or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_subnets_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_subnets_operations.py index a48682fb728a..6a5262c059cd 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_subnets_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_subnets_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type subnet_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -302,8 +302,8 @@ async def begin_create_or_update( :type subnet_parameters: ~azure.mgmt.network.v2019_08_01.models.Subnet :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Subnet or the result of cls(response) @@ -429,8 +429,8 @@ async def begin_prepare_network_policies( :type prepare_network_policies_request_parameters: ~azure.mgmt.network.v2019_08_01.models.PrepareNetworkPoliciesRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -553,8 +553,8 @@ async def begin_unprepare_network_policies( :type unprepare_network_policies_request_parameters: ~azure.mgmt.network.v2019_08_01.models.UnprepareNetworkPoliciesRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_virtual_hubs_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_virtual_hubs_operations.py index 39e118ebcbe6..79f955ca9f1a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_virtual_hubs_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_virtual_hubs_operations.py @@ -175,8 +175,8 @@ async def begin_create_or_update( :type virtual_hub_parameters: ~azure.mgmt.network.v2019_08_01.models.VirtualHub :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualHub or the result of cls(response) @@ -303,8 +303,8 @@ async def begin_update_tags( :type virtual_hub_parameters: ~azure.mgmt.network.v2019_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualHub or the result of cls(response) @@ -415,8 +415,8 @@ async def begin_delete( :type virtual_hub_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_virtual_network_gateway_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_virtual_network_gateway_connections_operations.py index a982dd1b5700..1fda55c5c46e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_virtual_network_gateway_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_virtual_network_gateway_connections_operations.py @@ -119,8 +119,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_08_01.models.VirtualNetworkGatewayConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -289,8 +289,8 @@ async def begin_delete( :type virtual_network_gateway_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -412,8 +412,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -543,8 +543,8 @@ async def begin_set_shared_key( :type parameters: ~azure.mgmt.network.v2019_08_01.models.ConnectionSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionSharedKey or the result of cls(response) @@ -804,8 +804,8 @@ async def begin_reset_shared_key( :type parameters: ~azure.mgmt.network.v2019_08_01.models.ConnectionResetSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionResetSharedKey or the result of cls(response) @@ -904,7 +904,7 @@ async def _start_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -936,8 +936,8 @@ async def begin_start_packet_capture( :type parameters: ~azure.mgmt.network.v2019_08_01.models.VpnPacketCaptureStartParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1033,7 +1033,7 @@ async def _stop_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -1065,8 +1065,8 @@ async def begin_stop_packet_capture( :type parameters: ~azure.mgmt.network.v2019_08_01.models.VpnPacketCaptureStopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_virtual_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_virtual_network_gateways_operations.py index 524d019b3204..84d70acaf9eb 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_virtual_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_virtual_network_gateways_operations.py @@ -117,8 +117,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_08_01.models.VirtualNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -285,8 +285,8 @@ async def begin_delete( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -407,8 +407,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -675,8 +675,8 @@ async def begin_reset( :type gateway_vip: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -786,8 +786,8 @@ async def begin_reset_vpn_client_shared_key( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -910,8 +910,8 @@ async def begin_generatevpnclientpackage( :type parameters: ~azure.mgmt.network.v2019_08_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1038,8 +1038,8 @@ async def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2019_08_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1156,8 +1156,8 @@ async def begin_get_vpn_profile_package_url( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1278,8 +1278,8 @@ async def begin_get_bgp_peer_status( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either BgpPeerStatusListResult or the result of cls(response) @@ -1454,8 +1454,8 @@ async def begin_get_learned_routes( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1576,8 +1576,8 @@ async def begin_get_advertised_routes( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1704,8 +1704,8 @@ async def begin_set_vpnclient_ipsec_parameters( :type vpnclient_ipsec_params: ~azure.mgmt.network.v2019_08_01.models.VpnClientIPsecParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnClientIPsecParameters or the result of cls(response) @@ -1821,8 +1821,8 @@ async def begin_get_vpnclient_ipsec_parameters( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnClientIPsecParameters or the result of cls(response) @@ -1987,7 +1987,7 @@ async def _start_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -2018,8 +2018,8 @@ async def begin_start_packet_capture( :type parameters: ~azure.mgmt.network.v2019_08_01.models.VpnPacketCaptureStartParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -2115,7 +2115,7 @@ async def _stop_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -2146,8 +2146,8 @@ async def begin_stop_packet_capture( :type parameters: ~azure.mgmt.network.v2019_08_01.models.VpnPacketCaptureStopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -2264,8 +2264,8 @@ async def begin_get_vpnclient_connection_health( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnClientConnectionHealthDetailListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_virtual_network_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_virtual_network_peerings_operations.py index 3ee9495dbb82..3315d4d3b132 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_virtual_network_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_virtual_network_peerings_operations.py @@ -104,8 +104,8 @@ async def begin_delete( :type virtual_network_peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ async def begin_create_or_update( :type virtual_network_peering_parameters: ~azure.mgmt.network.v2019_08_01.models.VirtualNetworkPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_virtual_network_taps_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_virtual_network_taps_operations.py index 59301b120b27..b309698ce342 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_virtual_network_taps_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_virtual_network_taps_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type tap_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -281,8 +281,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_08_01.models.VirtualNetworkTap :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkTap or the result of cls(response) @@ -405,8 +405,8 @@ async def begin_update_tags( :type tap_parameters: ~azure.mgmt.network.v2019_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkTap or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_virtual_networks_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_virtual_networks_operations.py index b61cf4bf441d..8ce4d79025be 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_virtual_networks_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_virtual_networks_operations.py @@ -99,8 +99,8 @@ async def begin_delete( :type virtual_network_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -286,8 +286,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_08_01.models.VirtualNetwork :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetwork or the result of cls(response) @@ -410,8 +410,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetwork or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_virtual_router_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_virtual_router_peerings_operations.py index 3f6cb02d7ffc..cb4b9919a207 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_virtual_router_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_virtual_router_peerings_operations.py @@ -82,7 +82,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -107,8 +107,8 @@ async def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -211,7 +211,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualRouterPeering', pipeline_response) @@ -282,7 +282,7 @@ async def update( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualRouterPeering', pipeline_response) @@ -338,7 +338,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -374,8 +374,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_08_01.models.VirtualRouterPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualRouterPeering or the result of cls(response) @@ -494,7 +494,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_virtual_routers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_virtual_routers_operations.py index 5818eeb66538..d093e0cb84fd 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_virtual_routers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_virtual_routers_operations.py @@ -80,7 +80,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -102,8 +102,8 @@ async def begin_delete( :type virtual_router_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -205,7 +205,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualRouter', pipeline_response) @@ -272,7 +272,7 @@ async def update( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualRouter', pipeline_response) @@ -326,7 +326,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -358,8 +358,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_08_01.models.VirtualRouter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualRouter or the result of cls(response) @@ -472,7 +472,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -539,7 +539,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_virtual_wans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_virtual_wans_operations.py index e0a979facb42..ee509a1ffe28 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_virtual_wans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_virtual_wans_operations.py @@ -175,8 +175,8 @@ async def begin_create_or_update( :type wan_parameters: ~azure.mgmt.network.v2019_08_01.models.VirtualWAN :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualWAN or the result of cls(response) @@ -303,8 +303,8 @@ async def begin_update_tags( :type wan_parameters: ~azure.mgmt.network.v2019_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualWAN or the result of cls(response) @@ -415,8 +415,8 @@ async def begin_delete( :type virtual_wan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_vpn_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_vpn_connections_operations.py index c8285a3d8a70..ef5a387768e8 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_vpn_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_vpn_connections_operations.py @@ -185,8 +185,8 @@ async def begin_create_or_update( :type vpn_connection_parameters: ~azure.mgmt.network.v2019_08_01.models.VpnConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnConnection or the result of cls(response) @@ -304,8 +304,8 @@ async def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_vpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_vpn_gateways_operations.py index bc77fd798d07..2417c8e70a57 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_vpn_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_vpn_gateways_operations.py @@ -176,8 +176,8 @@ async def begin_create_or_update( :type vpn_gateway_parameters: ~azure.mgmt.network.v2019_08_01.models.VpnGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnGateway or the result of cls(response) @@ -304,8 +304,8 @@ async def begin_update_tags( :type vpn_gateway_parameters: ~azure.mgmt.network.v2019_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnGateway or the result of cls(response) @@ -416,8 +416,8 @@ async def begin_delete( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -529,8 +529,8 @@ async def begin_reset( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnGateway or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py index ada8e51620a9..99a8e3176b07 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py @@ -106,8 +106,8 @@ async def begin_list( :type virtual_wan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnServerConfigurationsResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_vpn_server_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_vpn_server_configurations_operations.py index acdcb1f9ce47..81254cc24c8f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_vpn_server_configurations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_vpn_server_configurations_operations.py @@ -178,8 +178,8 @@ async def begin_create_or_update( :type vpn_server_configuration_parameters: ~azure.mgmt.network.v2019_08_01.models.VpnServerConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnServerConfiguration or the result of cls(response) @@ -307,8 +307,8 @@ async def begin_update_tags( :type vpn_server_configuration_parameters: ~azure.mgmt.network.v2019_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnServerConfiguration or the result of cls(response) @@ -419,8 +419,8 @@ async def begin_delete( :type vpn_server_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_vpn_sites_configuration_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_vpn_sites_configuration_operations.py index a51e12a85baa..ed28fdd722e1 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_vpn_sites_configuration_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_vpn_sites_configuration_operations.py @@ -110,8 +110,8 @@ async def begin_download( :type request: ~azure.mgmt.network.v2019_08_01.models.GetVpnSitesConfigurationRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_vpn_sites_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_vpn_sites_operations.py index eab59cb31db1..503693b8b1a2 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_vpn_sites_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_vpn_sites_operations.py @@ -175,8 +175,8 @@ async def begin_create_or_update( :type vpn_site_parameters: ~azure.mgmt.network.v2019_08_01.models.VpnSite :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnSite or the result of cls(response) @@ -303,8 +303,8 @@ async def begin_update_tags( :type vpn_site_parameters: ~azure.mgmt.network.v2019_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnSite or the result of cls(response) @@ -415,8 +415,8 @@ async def begin_delete( :type vpn_site_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_web_application_firewall_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_web_application_firewall_policies_operations.py index 35c382792c07..b414b7e604de 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_web_application_firewall_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/aio/operations/_web_application_firewall_policies_operations.py @@ -363,8 +363,8 @@ async def begin_delete( :type policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/models/_models.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/models/_models.py index 6454fae3f727..4e3178af2d3f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/models/_models.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/models/_models.py @@ -129,58 +129,55 @@ class ApplicationGateway(Resource): :vartype operational_state: str or ~azure.mgmt.network.v2019_08_01.models.ApplicationGatewayOperationalState :param gateway_ip_configurations: Subnets of the application gateway resource. For default - limits, see `Application Gateway limits `_. + limits, see `Application Gateway limits + `_. :type gateway_ip_configurations: list[~azure.mgmt.network.v2019_08_01.models.ApplicationGatewayIPConfiguration] :param authentication_certificates: Authentication certificates of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type authentication_certificates: list[~azure.mgmt.network.v2019_08_01.models.ApplicationGatewayAuthenticationCertificate] :param trusted_root_certificates: Trusted Root certificates of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type trusted_root_certificates: list[~azure.mgmt.network.v2019_08_01.models.ApplicationGatewayTrustedRootCertificate] :param ssl_certificates: SSL certificates of the application gateway resource. For default - limits, see `Application Gateway limits `_. + limits, see `Application Gateway limits + `_. :type ssl_certificates: list[~azure.mgmt.network.v2019_08_01.models.ApplicationGatewaySslCertificate] :param frontend_ip_configurations: Frontend IP addresses of the application gateway resource. - For default limits, see `Application Gateway limits `_. + For default limits, see `Application Gateway limits + `_. :type frontend_ip_configurations: list[~azure.mgmt.network.v2019_08_01.models.ApplicationGatewayFrontendIPConfiguration] :param frontend_ports: Frontend ports of the application gateway resource. For default limits, - see `Application Gateway limits `_. + see `Application Gateway limits + `_. :type frontend_ports: list[~azure.mgmt.network.v2019_08_01.models.ApplicationGatewayFrontendPort] :param probes: Probes of the application gateway resource. :type probes: list[~azure.mgmt.network.v2019_08_01.models.ApplicationGatewayProbe] :param backend_address_pools: Backend address pool of the application gateway resource. For - default limits, see `Application Gateway limits `_. + default limits, see `Application Gateway limits + `_. :type backend_address_pools: list[~azure.mgmt.network.v2019_08_01.models.ApplicationGatewayBackendAddressPool] :param backend_http_settings_collection: Backend http settings of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type backend_http_settings_collection: list[~azure.mgmt.network.v2019_08_01.models.ApplicationGatewayBackendHttpSettings] :param http_listeners: Http listeners of the application gateway resource. For default limits, - see `Application Gateway limits `_. + see `Application Gateway limits + `_. :type http_listeners: list[~azure.mgmt.network.v2019_08_01.models.ApplicationGatewayHttpListener] :param url_path_maps: URL path map of the application gateway resource. For default limits, see - `Application Gateway limits `_. + `Application Gateway limits + `_. :type url_path_maps: list[~azure.mgmt.network.v2019_08_01.models.ApplicationGatewayUrlPathMap] :param request_routing_rules: Request routing rules of the application gateway resource. :type request_routing_rules: @@ -189,8 +186,8 @@ class ApplicationGateway(Resource): :type rewrite_rule_sets: list[~azure.mgmt.network.v2019_08_01.models.ApplicationGatewayRewriteRuleSet] :param redirect_configurations: Redirect configurations of the application gateway resource. - For default limits, see `Application Gateway limits `_. + For default limits, see `Application Gateway limits + `_. :type redirect_configurations: list[~azure.mgmt.network.v2019_08_01.models.ApplicationGatewayRedirectConfiguration] :param web_application_firewall_configuration: Web application firewall configuration. @@ -1739,7 +1736,7 @@ class ApplicationGatewayRewriteRuleCondition(msrest.serialization.Model): :param pattern: The pattern, either fixed string or regular expression, that evaluates the truthfulness of the condition. :type pattern: str - :param ignore_case: Setting this paramter to truth value with force the pattern to do a case + :param ignore_case: Setting this parameter to truth value with force the pattern to do a case in-sensitive comparison. :type ignore_case: bool :param negate: Setting this value as truth will force to check the negation of the condition @@ -4799,7 +4796,7 @@ class ContainerNetworkInterface(SubResource): ~azure.mgmt.network.v2019_08_01.models.ContainerNetworkInterfaceConfiguration :param container: Reference to the container to which this container network interface is attached. - :type container: ~azure.mgmt.network.v2019_08_01.models.SubResource + :type container: ~azure.mgmt.network.v2019_08_01.models.Container :param ip_configurations: Reference to the ip configuration on this container nic. :type ip_configurations: list[~azure.mgmt.network.v2019_08_01.models.ContainerNetworkInterfaceIpConfiguration] @@ -4819,7 +4816,7 @@ class ContainerNetworkInterface(SubResource): 'type': {'key': 'type', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, 'container_network_interface_configuration': {'key': 'properties.containerNetworkInterfaceConfiguration', 'type': 'ContainerNetworkInterfaceConfiguration'}, - 'container': {'key': 'properties.container', 'type': 'SubResource'}, + 'container': {'key': 'properties.container', 'type': 'Container'}, 'ip_configurations': {'key': 'properties.ipConfigurations', 'type': '[ContainerNetworkInterfaceIpConfiguration]'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, } @@ -11725,8 +11722,8 @@ class PacketCaptureStorageLocation(msrest.serialization.Model): :param storage_id: The ID of the storage account to save the packet capture session. Required if no local file path is provided. :type storage_id: str - :param storage_path: The URI of the storage path to save the packet capture. Must be a well- - formed URI describing the location to save the packet capture. + :param storage_path: The URI of the storage path to save the packet capture. Must be a + well-formed URI describing the location to save the packet capture. :type storage_path: str :param file_path: A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no @@ -12216,9 +12213,10 @@ class PrivateLinkService(Resource): :type private_endpoint_connections: list[~azure.mgmt.network.v2019_08_01.models.PrivateEndpointConnection] :param visibility: The visibility list of the private link service. - :type visibility: ~azure.mgmt.network.v2019_08_01.models.ResourceSet + :type visibility: ~azure.mgmt.network.v2019_08_01.models.PrivateLinkServicePropertiesVisibility :param auto_approval: The auto-approval list of the private link service. - :type auto_approval: ~azure.mgmt.network.v2019_08_01.models.ResourceSet + :type auto_approval: + ~azure.mgmt.network.v2019_08_01.models.PrivateLinkServicePropertiesAutoApproval :param fqdns: The list of Fqdn. :type fqdns: list[str] :ivar alias: The alias of the private link service. @@ -12245,8 +12243,8 @@ class PrivateLinkService(Resource): 'network_interfaces': {'key': 'properties.networkInterfaces', 'type': '[NetworkInterface]'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'private_endpoint_connections': {'key': 'properties.privateEndpointConnections', 'type': '[PrivateEndpointConnection]'}, - 'visibility': {'key': 'properties.visibility', 'type': 'ResourceSet'}, - 'auto_approval': {'key': 'properties.autoApproval', 'type': 'ResourceSet'}, + 'visibility': {'key': 'properties.visibility', 'type': 'PrivateLinkServicePropertiesVisibility'}, + 'auto_approval': {'key': 'properties.autoApproval', 'type': 'PrivateLinkServicePropertiesAutoApproval'}, 'fqdns': {'key': 'properties.fqdns', 'type': '[str]'}, 'alias': {'key': 'properties.alias', 'type': 'str'}, } @@ -15843,8 +15841,8 @@ class VirtualNetworkPeering(SubResource): :type use_remote_gateways: bool :param remote_virtual_network: The reference of the remote virtual network. The remote virtual network can be in the same or different region (preview). See here to register for the preview - and learn more (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create- - peering). + and learn more + (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering). :type remote_virtual_network: ~azure.mgmt.network.v2019_08_01.models.SubResource :param remote_address_space: The reference of the remote virtual network address space. :type remote_address_space: ~azure.mgmt.network.v2019_08_01.models.AddressSpace diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/models/_models_py3.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/models/_models_py3.py index 8231bbd9d1d0..708d5e656b20 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/models/_models_py3.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/models/_models_py3.py @@ -144,58 +144,55 @@ class ApplicationGateway(Resource): :vartype operational_state: str or ~azure.mgmt.network.v2019_08_01.models.ApplicationGatewayOperationalState :param gateway_ip_configurations: Subnets of the application gateway resource. For default - limits, see `Application Gateway limits `_. + limits, see `Application Gateway limits + `_. :type gateway_ip_configurations: list[~azure.mgmt.network.v2019_08_01.models.ApplicationGatewayIPConfiguration] :param authentication_certificates: Authentication certificates of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type authentication_certificates: list[~azure.mgmt.network.v2019_08_01.models.ApplicationGatewayAuthenticationCertificate] :param trusted_root_certificates: Trusted Root certificates of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type trusted_root_certificates: list[~azure.mgmt.network.v2019_08_01.models.ApplicationGatewayTrustedRootCertificate] :param ssl_certificates: SSL certificates of the application gateway resource. For default - limits, see `Application Gateway limits `_. + limits, see `Application Gateway limits + `_. :type ssl_certificates: list[~azure.mgmt.network.v2019_08_01.models.ApplicationGatewaySslCertificate] :param frontend_ip_configurations: Frontend IP addresses of the application gateway resource. - For default limits, see `Application Gateway limits `_. + For default limits, see `Application Gateway limits + `_. :type frontend_ip_configurations: list[~azure.mgmt.network.v2019_08_01.models.ApplicationGatewayFrontendIPConfiguration] :param frontend_ports: Frontend ports of the application gateway resource. For default limits, - see `Application Gateway limits `_. + see `Application Gateway limits + `_. :type frontend_ports: list[~azure.mgmt.network.v2019_08_01.models.ApplicationGatewayFrontendPort] :param probes: Probes of the application gateway resource. :type probes: list[~azure.mgmt.network.v2019_08_01.models.ApplicationGatewayProbe] :param backend_address_pools: Backend address pool of the application gateway resource. For - default limits, see `Application Gateway limits `_. + default limits, see `Application Gateway limits + `_. :type backend_address_pools: list[~azure.mgmt.network.v2019_08_01.models.ApplicationGatewayBackendAddressPool] :param backend_http_settings_collection: Backend http settings of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type backend_http_settings_collection: list[~azure.mgmt.network.v2019_08_01.models.ApplicationGatewayBackendHttpSettings] :param http_listeners: Http listeners of the application gateway resource. For default limits, - see `Application Gateway limits `_. + see `Application Gateway limits + `_. :type http_listeners: list[~azure.mgmt.network.v2019_08_01.models.ApplicationGatewayHttpListener] :param url_path_maps: URL path map of the application gateway resource. For default limits, see - `Application Gateway limits `_. + `Application Gateway limits + `_. :type url_path_maps: list[~azure.mgmt.network.v2019_08_01.models.ApplicationGatewayUrlPathMap] :param request_routing_rules: Request routing rules of the application gateway resource. :type request_routing_rules: @@ -204,8 +201,8 @@ class ApplicationGateway(Resource): :type rewrite_rule_sets: list[~azure.mgmt.network.v2019_08_01.models.ApplicationGatewayRewriteRuleSet] :param redirect_configurations: Redirect configurations of the application gateway resource. - For default limits, see `Application Gateway limits `_. + For default limits, see `Application Gateway limits + `_. :type redirect_configurations: list[~azure.mgmt.network.v2019_08_01.models.ApplicationGatewayRedirectConfiguration] :param web_application_firewall_configuration: Web application firewall configuration. @@ -1989,7 +1986,7 @@ class ApplicationGatewayRewriteRuleCondition(msrest.serialization.Model): :param pattern: The pattern, either fixed string or regular expression, that evaluates the truthfulness of the condition. :type pattern: str - :param ignore_case: Setting this paramter to truth value with force the pattern to do a case + :param ignore_case: Setting this parameter to truth value with force the pattern to do a case in-sensitive comparison. :type ignore_case: bool :param negate: Setting this value as truth will force to check the negation of the condition @@ -5401,7 +5398,7 @@ class ContainerNetworkInterface(SubResource): ~azure.mgmt.network.v2019_08_01.models.ContainerNetworkInterfaceConfiguration :param container: Reference to the container to which this container network interface is attached. - :type container: ~azure.mgmt.network.v2019_08_01.models.SubResource + :type container: ~azure.mgmt.network.v2019_08_01.models.Container :param ip_configurations: Reference to the ip configuration on this container nic. :type ip_configurations: list[~azure.mgmt.network.v2019_08_01.models.ContainerNetworkInterfaceIpConfiguration] @@ -5421,7 +5418,7 @@ class ContainerNetworkInterface(SubResource): 'type': {'key': 'type', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, 'container_network_interface_configuration': {'key': 'properties.containerNetworkInterfaceConfiguration', 'type': 'ContainerNetworkInterfaceConfiguration'}, - 'container': {'key': 'properties.container', 'type': 'SubResource'}, + 'container': {'key': 'properties.container', 'type': 'Container'}, 'ip_configurations': {'key': 'properties.ipConfigurations', 'type': '[ContainerNetworkInterfaceIpConfiguration]'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, } @@ -5433,7 +5430,7 @@ def __init__( name: Optional[str] = None, etag: Optional[str] = None, container_network_interface_configuration: Optional["ContainerNetworkInterfaceConfiguration"] = None, - container: Optional["SubResource"] = None, + container: Optional["Container"] = None, ip_configurations: Optional[List["ContainerNetworkInterfaceIpConfiguration"]] = None, **kwargs ): @@ -13148,8 +13145,8 @@ class PacketCaptureStorageLocation(msrest.serialization.Model): :param storage_id: The ID of the storage account to save the packet capture session. Required if no local file path is provided. :type storage_id: str - :param storage_path: The URI of the storage path to save the packet capture. Must be a well- - formed URI describing the location to save the packet capture. + :param storage_path: The URI of the storage path to save the packet capture. Must be a + well-formed URI describing the location to save the packet capture. :type storage_path: str :param file_path: A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no @@ -13689,9 +13686,10 @@ class PrivateLinkService(Resource): :type private_endpoint_connections: list[~azure.mgmt.network.v2019_08_01.models.PrivateEndpointConnection] :param visibility: The visibility list of the private link service. - :type visibility: ~azure.mgmt.network.v2019_08_01.models.ResourceSet + :type visibility: ~azure.mgmt.network.v2019_08_01.models.PrivateLinkServicePropertiesVisibility :param auto_approval: The auto-approval list of the private link service. - :type auto_approval: ~azure.mgmt.network.v2019_08_01.models.ResourceSet + :type auto_approval: + ~azure.mgmt.network.v2019_08_01.models.PrivateLinkServicePropertiesAutoApproval :param fqdns: The list of Fqdn. :type fqdns: list[str] :ivar alias: The alias of the private link service. @@ -13718,8 +13716,8 @@ class PrivateLinkService(Resource): 'network_interfaces': {'key': 'properties.networkInterfaces', 'type': '[NetworkInterface]'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'private_endpoint_connections': {'key': 'properties.privateEndpointConnections', 'type': '[PrivateEndpointConnection]'}, - 'visibility': {'key': 'properties.visibility', 'type': 'ResourceSet'}, - 'auto_approval': {'key': 'properties.autoApproval', 'type': 'ResourceSet'}, + 'visibility': {'key': 'properties.visibility', 'type': 'PrivateLinkServicePropertiesVisibility'}, + 'auto_approval': {'key': 'properties.autoApproval', 'type': 'PrivateLinkServicePropertiesAutoApproval'}, 'fqdns': {'key': 'properties.fqdns', 'type': '[str]'}, 'alias': {'key': 'properties.alias', 'type': 'str'}, } @@ -13734,8 +13732,8 @@ def __init__( load_balancer_frontend_ip_configurations: Optional[List["FrontendIPConfiguration"]] = None, ip_configurations: Optional[List["PrivateLinkServiceIpConfiguration"]] = None, private_endpoint_connections: Optional[List["PrivateEndpointConnection"]] = None, - visibility: Optional["ResourceSet"] = None, - auto_approval: Optional["ResourceSet"] = None, + visibility: Optional["PrivateLinkServicePropertiesVisibility"] = None, + auto_approval: Optional["PrivateLinkServicePropertiesAutoApproval"] = None, fqdns: Optional[List[str]] = None, **kwargs ): @@ -17746,8 +17744,8 @@ class VirtualNetworkPeering(SubResource): :type use_remote_gateways: bool :param remote_virtual_network: The reference of the remote virtual network. The remote virtual network can be in the same or different region (preview). See here to register for the preview - and learn more (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create- - peering). + and learn more + (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering). :type remote_virtual_network: ~azure.mgmt.network.v2019_08_01.models.SubResource :param remote_address_space: The reference of the remote virtual network address space. :type remote_address_space: ~azure.mgmt.network.v2019_08_01.models.AddressSpace diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_application_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_application_gateways_operations.py index 8452b11eddfc..0f5faafb79e5 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_application_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_application_gateways_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_08_01.models.ApplicationGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGateway or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGateway or the result of cls(response) @@ -666,8 +666,8 @@ def begin_start( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -774,8 +774,8 @@ def begin_stop( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -895,8 +895,8 @@ def begin_backend_health( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGatewayBackendHealth or the result of cls(response) @@ -1030,8 +1030,8 @@ def begin_backend_health_on_demand( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGatewayBackendHealthOnDemand or the result of cls(response) @@ -1126,7 +1126,7 @@ def list_available_server_variables( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) @@ -1178,7 +1178,7 @@ def list_available_request_headers( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) @@ -1230,7 +1230,7 @@ def list_available_response_headers( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_application_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_application_security_groups_operations.py index a90393eff3bc..1042a7ac28a2 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_application_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_application_security_groups_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type application_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -291,8 +291,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_08_01.models.ApplicationSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationSecurityGroup or the result of cls(response) @@ -417,8 +417,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_azure_firewalls_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_azure_firewalls_operations.py index 6b378d9ef569..99dca8a579f9 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_azure_firewalls_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_azure_firewalls_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type azure_firewall_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_08_01.models.AzureFirewall :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AzureFirewall or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_bastion_hosts_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_bastion_hosts_operations.py index cc2ac8f3dfc8..e2b681e34d87 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_bastion_hosts_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_bastion_hosts_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type bastion_host_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_08_01.models.BastionHost :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either BastionHost or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_connection_monitors_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_connection_monitors_operations.py index 6771c872a5e5..c7c7af80fb08 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_connection_monitors_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_connection_monitors_operations.py @@ -93,7 +93,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -129,8 +129,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_08_01.models.ConnectionMonitor :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionMonitorResult or the result of cls(response) @@ -238,7 +238,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('ConnectionMonitorResult', pipeline_response) @@ -289,7 +289,7 @@ def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -315,8 +315,8 @@ def begin_delete( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -428,7 +428,7 @@ def update_tags( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('ConnectionMonitorResult', pipeline_response) @@ -479,7 +479,7 @@ def _stop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -505,8 +505,8 @@ def begin_stop( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -597,7 +597,7 @@ def _start_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -623,8 +623,8 @@ def begin_start( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -715,7 +715,7 @@ def _query_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -748,8 +748,8 @@ def begin_query( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionMonitorQueryResult or the result of cls(response) @@ -868,7 +868,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_ddos_custom_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_ddos_custom_policies_operations.py index 2def807f0131..8dac977a5c65 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_ddos_custom_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_ddos_custom_policies_operations.py @@ -106,8 +106,8 @@ def begin_delete( :type ddos_custom_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -291,8 +291,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_08_01.models.DdosCustomPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either DdosCustomPolicy or the result of cls(response) @@ -417,8 +417,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either DdosCustomPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_ddos_protection_plans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_ddos_protection_plans_operations.py index 13234b015a59..36899bb31990 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_ddos_protection_plans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_ddos_protection_plans_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type ddos_protection_plan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_08_01.models.DdosProtectionPlan :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either DdosProtectionPlan or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either DdosProtectionPlan or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_express_route_circuit_authorizations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_express_route_circuit_authorizations_operations.py index 3a8e11653ac2..df4991ad40e3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_express_route_circuit_authorizations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_express_route_circuit_authorizations_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type authorization_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type authorization_parameters: ~azure.mgmt.network.v2019_08_01.models.ExpressRouteCircuitAuthorization :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitAuthorization or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_express_route_circuit_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_express_route_circuit_connections_operations.py index 0f56d1ff5b39..4b38b2240ae7 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_express_route_circuit_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_express_route_circuit_connections_operations.py @@ -116,8 +116,8 @@ def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -324,8 +324,8 @@ def begin_create_or_update( :type express_route_circuit_connection_parameters: ~azure.mgmt.network.v2019_08_01.models.ExpressRouteCircuitConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitConnection or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_express_route_circuit_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_express_route_circuit_peerings_operations.py index 6e7d13ecf03f..19918eaa3d1e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_express_route_circuit_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_express_route_circuit_peerings_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2019_08_01.models.ExpressRouteCircuitPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_express_route_circuits_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_express_route_circuits_operations.py index 3fafcde36821..40e38aee494f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_express_route_circuits_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_express_route_circuits_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type circuit_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_08_01.models.ExpressRouteCircuit :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -546,8 +546,8 @@ def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -679,8 +679,8 @@ def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) @@ -812,8 +812,8 @@ def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableSummaryListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_express_route_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_express_route_connections_operations.py index a640cdfe16f3..6337c0544e26 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_express_route_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_express_route_connections_operations.py @@ -128,8 +128,8 @@ def begin_create_or_update( :type put_express_route_connection_parameters: ~azure.mgmt.network.v2019_08_01.models.ExpressRouteConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteConnection or the result of cls(response) @@ -310,8 +310,8 @@ def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_express_route_cross_connection_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_express_route_cross_connection_peerings_operations.py index 5f236d997250..dcdd5b420b16 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_express_route_cross_connection_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_express_route_cross_connection_peerings_operations.py @@ -185,8 +185,8 @@ def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -382,8 +382,8 @@ def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2019_08_01.models.ExpressRouteCrossConnectionPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCrossConnectionPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_express_route_cross_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_express_route_cross_connections_operations.py index ceae4d1e768f..1bc111ce0ef9 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_express_route_cross_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_express_route_cross_connections_operations.py @@ -317,8 +317,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_08_01.models.ExpressRouteCrossConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCrossConnection or the result of cls(response) @@ -444,8 +444,8 @@ def begin_update_tags( :type cross_connection_parameters: ~azure.mgmt.network.v2019_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCrossConnection or the result of cls(response) @@ -574,8 +574,8 @@ def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -707,8 +707,8 @@ def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCrossConnectionsRoutesTableSummaryListResult or the result of cls(response) @@ -840,8 +840,8 @@ def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_express_route_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_express_route_gateways_operations.py index cced92a1b38f..f6f344682339 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_express_route_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_express_route_gateways_operations.py @@ -229,8 +229,8 @@ def begin_create_or_update( :type put_express_route_gateway_parameters: ~azure.mgmt.network.v2019_08_01.models.ExpressRouteGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteGateway or the result of cls(response) @@ -401,8 +401,8 @@ def begin_delete( :type express_route_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_express_route_ports_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_express_route_ports_operations.py index 6521f9f3dd71..c2882672a20b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_express_route_ports_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_express_route_ports_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type express_route_port_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_08_01.models.ExpressRoutePort :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRoutePort or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRoutePort or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_firewall_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_firewall_policies_operations.py index a26646158087..5b11aabf8517 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_firewall_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_firewall_policies_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type firewall_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -276,7 +276,7 @@ def update_tags( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('FirewallPolicy', pipeline_response) @@ -363,8 +363,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_08_01.models.FirewallPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FirewallPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_firewall_policy_rule_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_firewall_policy_rule_groups_operations.py index 5217ef74edb2..1dfbbfccf263 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_firewall_policy_rule_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_firewall_policy_rule_groups_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type rule_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_08_01.models.FirewallPolicyRuleGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FirewallPolicyRuleGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_inbound_nat_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_inbound_nat_rules_operations.py index dc763d568b18..4996d2eed4db 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_inbound_nat_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_inbound_nat_rules_operations.py @@ -185,8 +185,8 @@ def begin_delete( :type inbound_nat_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -387,8 +387,8 @@ def begin_create_or_update( :type inbound_nat_rule_parameters: ~azure.mgmt.network.v2019_08_01.models.InboundNatRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either InboundNatRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_load_balancers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_load_balancers_operations.py index cca1dce608bd..878af09458d9 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_load_balancers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_load_balancers_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type load_balancer_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_08_01.models.LoadBalancer :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LoadBalancer or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LoadBalancer or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_local_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_local_network_gateways_operations.py index 5f7f9db9962f..40c1bc955735 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_local_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_local_network_gateways_operations.py @@ -123,8 +123,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_08_01.models.LocalNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LocalNetworkGateway or the result of cls(response) @@ -294,8 +294,8 @@ def begin_delete( :type local_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LocalNetworkGateway or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_nat_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_nat_gateways_operations.py index dd4e0a191199..44142e5dde97 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_nat_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_nat_gateways_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type nat_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_08_01.models.NatGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NatGateway or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_network_interface_tap_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_network_interface_tap_configurations_operations.py index e40d39e4f6d0..809c0537212e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_network_interface_tap_configurations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_network_interface_tap_configurations_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type tap_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type tap_configuration_parameters: ~azure.mgmt.network.v2019_08_01.models.NetworkInterfaceTapConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkInterfaceTapConfiguration or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_network_interfaces_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_network_interfaces_operations.py index 0b2ff4158630..84cb0eba4410 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_network_interfaces_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_network_interfaces_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_08_01.models.NetworkInterface :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkInterface or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkInterface or the result of cls(response) @@ -678,8 +678,8 @@ def begin_get_effective_route_table( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either EffectiveRouteListResult or the result of cls(response) @@ -796,8 +796,8 @@ def begin_list_effective_network_security_groups( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either EffectiveNetworkSecurityGroupListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_network_management_client_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_network_management_client_operations.py index 68f50de9821c..7569ace91424 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_network_management_client_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_network_management_client_operations.py @@ -223,8 +223,8 @@ def begin_generatevirtualwanvpnserverconfigurationvpnprofile( :type vpn_client_params: ~azure.mgmt.network.v2019_08_01.models.VirtualWanVpnProfileParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnProfileResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_network_profiles_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_network_profiles_operations.py index 839049d3d1a4..617ea3783c54 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_network_profiles_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_network_profiles_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type network_profile_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_network_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_network_security_groups_operations.py index f74682bbfa40..0682de13a626 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_network_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_network_security_groups_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type network_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -296,8 +296,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_08_01.models.NetworkSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkSecurityGroup or the result of cls(response) @@ -422,8 +422,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_network_watchers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_network_watchers_operations.py index defd552d769b..2be4fe8fd508 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_network_watchers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_network_watchers_operations.py @@ -104,7 +104,7 @@ def create_or_update( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -168,7 +168,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('NetworkWatcher', pipeline_response) @@ -217,7 +217,7 @@ def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -240,8 +240,8 @@ def begin_delete( :type network_watcher_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -347,7 +347,7 @@ def update_tags( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('NetworkWatcher', pipeline_response) @@ -419,7 +419,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -487,7 +487,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -555,7 +555,7 @@ def get_topology( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('Topology', pipeline_response) @@ -610,7 +610,7 @@ def _verify_ip_flow_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -643,8 +643,8 @@ def begin_verify_ip_flow( :type parameters: ~azure.mgmt.network.v2019_08_01.models.VerificationIPFlowParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VerificationIPFlowResult or the result of cls(response) @@ -741,7 +741,7 @@ def _get_next_hop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -774,8 +774,8 @@ def begin_get_next_hop( :type parameters: ~azure.mgmt.network.v2019_08_01.models.NextHopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NextHopResult or the result of cls(response) @@ -872,7 +872,7 @@ def _get_vm_security_rules_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -905,8 +905,8 @@ def begin_get_vm_security_rules( :type parameters: ~azure.mgmt.network.v2019_08_01.models.SecurityGroupViewParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either SecurityGroupViewResult or the result of cls(response) @@ -1003,7 +1003,7 @@ def _get_troubleshooting_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1036,8 +1036,8 @@ def begin_get_troubleshooting( :type parameters: ~azure.mgmt.network.v2019_08_01.models.TroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1134,7 +1134,7 @@ def _get_troubleshooting_result_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1167,8 +1167,8 @@ def begin_get_troubleshooting_result( :type parameters: ~azure.mgmt.network.v2019_08_01.models.QueryTroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1265,7 +1265,7 @@ def _set_flow_log_configuration_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1298,8 +1298,8 @@ def begin_set_flow_log_configuration( :type parameters: ~azure.mgmt.network.v2019_08_01.models.FlowLogInformation :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1396,7 +1396,7 @@ def _get_flow_log_status_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1430,8 +1430,8 @@ def begin_get_flow_log_status( :type parameters: ~azure.mgmt.network.v2019_08_01.models.FlowLogStatusParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1528,7 +1528,7 @@ def _check_connectivity_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1562,8 +1562,8 @@ def begin_check_connectivity( :type parameters: ~azure.mgmt.network.v2019_08_01.models.ConnectivityParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectivityInformation or the result of cls(response) @@ -1660,7 +1660,7 @@ def _get_azure_reachability_report_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1694,8 +1694,8 @@ def begin_get_azure_reachability_report( :type parameters: ~azure.mgmt.network.v2019_08_01.models.AzureReachabilityReportParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AzureReachabilityReport or the result of cls(response) @@ -1792,7 +1792,7 @@ def _list_available_providers_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1825,8 +1825,8 @@ def begin_list_available_providers( :type parameters: ~azure.mgmt.network.v2019_08_01.models.AvailableProvidersListParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AvailableProvidersList or the result of cls(response) @@ -1923,7 +1923,7 @@ def _get_network_configuration_diagnostic_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1960,8 +1960,8 @@ def begin_get_network_configuration_diagnostic( :type parameters: ~azure.mgmt.network.v2019_08_01.models.NetworkConfigurationDiagnosticParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkConfigurationDiagnosticResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_p2_svpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_p2_svpn_gateways_operations.py index 71055a1d0883..902245706117 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_p2_svpn_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_p2_svpn_gateways_operations.py @@ -183,8 +183,8 @@ def begin_create_or_update( :type p2_s_vpn_gateway_parameters: ~azure.mgmt.network.v2019_08_01.models.P2SVpnGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -314,8 +314,8 @@ def begin_update_tags( :type p2_s_vpn_gateway_parameters: ~azure.mgmt.network.v2019_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -428,8 +428,8 @@ def begin_delete( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -691,8 +691,8 @@ def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2019_08_01.models.P2SVpnProfileParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnProfileResponse or the result of cls(response) @@ -811,8 +811,8 @@ def begin_get_p2_s_vpn_connection_health( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -939,8 +939,8 @@ def begin_get_p2_s_vpn_connection_health_detailed( :type request: ~azure.mgmt.network.v2019_08_01.models.P2SVpnConnectionHealthRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either P2SVpnConnectionHealth or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_packet_captures_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_packet_captures_operations.py index c757ce4bc868..84495a5d0c46 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_packet_captures_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_packet_captures_operations.py @@ -93,7 +93,7 @@ def _create_initial( if response.status_code not in [201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PacketCaptureResult', pipeline_response) @@ -125,8 +125,8 @@ def begin_create( :type parameters: ~azure.mgmt.network.v2019_08_01.models.PacketCapture :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PacketCaptureResult or the result of cls(response) @@ -234,7 +234,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PacketCaptureResult', pipeline_response) @@ -285,7 +285,7 @@ def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -311,8 +311,8 @@ def begin_delete( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -403,7 +403,7 @@ def _stop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -429,8 +429,8 @@ def begin_stop( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -521,7 +521,7 @@ def _get_status_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -554,8 +554,8 @@ def begin_get_status( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PacketCaptureQueryStatusResult or the result of cls(response) @@ -674,7 +674,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_private_endpoints_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_private_endpoints_operations.py index 6aaa58c62a19..c7557ca0bc8f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_private_endpoints_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_private_endpoints_operations.py @@ -85,7 +85,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -108,8 +108,8 @@ def begin_delete( :type private_endpoint_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -212,7 +212,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateEndpoint', pipeline_response) @@ -267,7 +267,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -300,8 +300,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_08_01.models.PrivateEndpoint :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PrivateEndpoint or the result of cls(response) @@ -415,7 +415,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -483,7 +483,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_private_link_services_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_private_link_services_operations.py index f1166ef40747..cfeb351a0677 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_private_link_services_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_private_link_services_operations.py @@ -85,7 +85,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -108,8 +108,8 @@ def begin_delete( :type service_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -212,7 +212,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateLinkService', pipeline_response) @@ -267,7 +267,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -300,8 +300,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_08_01.models.PrivateLinkService :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PrivateLinkService or the result of cls(response) @@ -415,7 +415,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -483,7 +483,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -555,7 +555,7 @@ def update_private_endpoint_connection( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateEndpointConnection', pipeline_response) @@ -606,7 +606,7 @@ def _delete_private_endpoint_connection_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -632,8 +632,8 @@ def begin_delete_private_endpoint_connection( :type pe_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -753,8 +753,8 @@ def begin_check_private_link_service_visibility( :type parameters: ~azure.mgmt.network.v2019_08_01.models.CheckPrivateLinkServiceVisibilityRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PrivateLinkServiceVisibility or the result of cls(response) @@ -880,8 +880,8 @@ def begin_check_private_link_service_visibility_by_resource_group( :type parameters: ~azure.mgmt.network.v2019_08_01.models.CheckPrivateLinkServiceVisibilityRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PrivateLinkServiceVisibility or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_public_ip_addresses_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_public_ip_addresses_operations.py index 4e5713b9c84f..45310874ed53 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_public_ip_addresses_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_public_ip_addresses_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type public_ip_address_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_08_01.models.PublicIPAddress :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PublicIPAddress or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PublicIPAddress or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_public_ip_prefixes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_public_ip_prefixes_operations.py index e2d19f6273ec..9f50616fee2b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_public_ip_prefixes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_public_ip_prefixes_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type public_ip_prefix_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_08_01.models.PublicIPPrefix :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PublicIPPrefix or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PublicIPPrefix or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_route_filter_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_route_filter_rules_operations.py index 5c6d2f792a6d..402b536755dc 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_route_filter_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_route_filter_rules_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2019_08_01.models.RouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilterRule or the result of cls(response) @@ -441,8 +441,8 @@ def begin_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2019_08_01.models.PatchRouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilterRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_route_filters_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_route_filters_operations.py index 1d6aa4971e3c..1e955e53c278 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_route_filters_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_route_filters_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type route_filter_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -296,8 +296,8 @@ def begin_create_or_update( :type route_filter_parameters: ~azure.mgmt.network.v2019_08_01.models.RouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilter or the result of cls(response) @@ -422,8 +422,8 @@ def begin_update( :type route_filter_parameters: ~azure.mgmt.network.v2019_08_01.models.PatchRouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilter or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_route_tables_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_route_tables_operations.py index 093e6f8bc69a..b045669a3f17 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_route_tables_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_route_tables_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_08_01.models.RouteTable :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteTable or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteTable or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_routes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_routes_operations.py index 332f321f82f7..ecb4f767b95e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_routes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_routes_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type route_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -306,8 +306,8 @@ def begin_create_or_update( :type route_parameters: ~azure.mgmt.network.v2019_08_01.models.Route :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Route or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_security_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_security_rules_operations.py index 1b539334ce49..1a9033309403 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_security_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_security_rules_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type security_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type security_rule_parameters: ~azure.mgmt.network.v2019_08_01.models.SecurityRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either SecurityRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_service_endpoint_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_service_endpoint_policies_operations.py index 4c359dbe7bd8..45249b728d5c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_service_endpoint_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_service_endpoint_policies_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type service_endpoint_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -296,8 +296,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_08_01.models.ServiceEndpointPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ServiceEndpointPolicy or the result of cls(response) @@ -422,8 +422,8 @@ def begin_update( :type parameters: ~azure.mgmt.network.v2019_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ServiceEndpointPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_service_endpoint_policy_definitions_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_service_endpoint_policy_definitions_operations.py index 1561759a27df..1a50521a1f1c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_service_endpoint_policy_definitions_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_service_endpoint_policy_definitions_operations.py @@ -111,8 +111,8 @@ def begin_delete( :type service_endpoint_policy_definition_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -311,8 +311,8 @@ def begin_create_or_update( :type service_endpoint_policy_definitions: ~azure.mgmt.network.v2019_08_01.models.ServiceEndpointPolicyDefinition :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ServiceEndpointPolicyDefinition or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_subnets_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_subnets_operations.py index 94e87783e001..39b7195ca16e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_subnets_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_subnets_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type subnet_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -311,8 +311,8 @@ def begin_create_or_update( :type subnet_parameters: ~azure.mgmt.network.v2019_08_01.models.Subnet :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Subnet or the result of cls(response) @@ -440,8 +440,8 @@ def begin_prepare_network_policies( :type prepare_network_policies_request_parameters: ~azure.mgmt.network.v2019_08_01.models.PrepareNetworkPoliciesRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -566,8 +566,8 @@ def begin_unprepare_network_policies( :type unprepare_network_policies_request_parameters: ~azure.mgmt.network.v2019_08_01.models.UnprepareNetworkPoliciesRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_virtual_hubs_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_virtual_hubs_operations.py index 032d4dba74d6..fac3c9ecb83a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_virtual_hubs_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_virtual_hubs_operations.py @@ -182,8 +182,8 @@ def begin_create_or_update( :type virtual_hub_parameters: ~azure.mgmt.network.v2019_08_01.models.VirtualHub :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualHub or the result of cls(response) @@ -312,8 +312,8 @@ def begin_update_tags( :type virtual_hub_parameters: ~azure.mgmt.network.v2019_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualHub or the result of cls(response) @@ -426,8 +426,8 @@ def begin_delete( :type virtual_hub_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_virtual_network_gateway_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_virtual_network_gateway_connections_operations.py index 91d7a365c9a2..e8e9465723a8 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_virtual_network_gateway_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_virtual_network_gateway_connections_operations.py @@ -125,8 +125,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_08_01.models.VirtualNetworkGatewayConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -298,8 +298,8 @@ def begin_delete( :type virtual_network_gateway_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -423,8 +423,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -556,8 +556,8 @@ def begin_set_shared_key( :type parameters: ~azure.mgmt.network.v2019_08_01.models.ConnectionSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionSharedKey or the result of cls(response) @@ -821,8 +821,8 @@ def begin_reset_shared_key( :type parameters: ~azure.mgmt.network.v2019_08_01.models.ConnectionResetSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionResetSharedKey or the result of cls(response) @@ -922,7 +922,7 @@ def _start_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -955,8 +955,8 @@ def begin_start_packet_capture( :type parameters: ~azure.mgmt.network.v2019_08_01.models.VpnPacketCaptureStartParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1053,7 +1053,7 @@ def _stop_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -1086,8 +1086,8 @@ def begin_stop_packet_capture( :type parameters: ~azure.mgmt.network.v2019_08_01.models.VpnPacketCaptureStopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_virtual_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_virtual_network_gateways_operations.py index 3e2d2afc954b..7ab3a62d0fa7 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_virtual_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_virtual_network_gateways_operations.py @@ -123,8 +123,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_08_01.models.VirtualNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -294,8 +294,8 @@ def begin_delete( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -418,8 +418,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -690,8 +690,8 @@ def begin_reset( :type gateway_vip: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -803,8 +803,8 @@ def begin_reset_vpn_client_shared_key( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -929,8 +929,8 @@ def begin_generatevpnclientpackage( :type parameters: ~azure.mgmt.network.v2019_08_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1059,8 +1059,8 @@ def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2019_08_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1179,8 +1179,8 @@ def begin_get_vpn_profile_package_url( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1303,8 +1303,8 @@ def begin_get_bgp_peer_status( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either BgpPeerStatusListResult or the result of cls(response) @@ -1482,8 +1482,8 @@ def begin_get_learned_routes( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1606,8 +1606,8 @@ def begin_get_advertised_routes( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1736,8 +1736,8 @@ def begin_set_vpnclient_ipsec_parameters( :type vpnclient_ipsec_params: ~azure.mgmt.network.v2019_08_01.models.VpnClientIPsecParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnClientIPsecParameters or the result of cls(response) @@ -1855,8 +1855,8 @@ def begin_get_vpnclient_ipsec_parameters( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnClientIPsecParameters or the result of cls(response) @@ -2023,7 +2023,7 @@ def _start_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -2055,8 +2055,8 @@ def begin_start_packet_capture( :type parameters: ~azure.mgmt.network.v2019_08_01.models.VpnPacketCaptureStartParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -2153,7 +2153,7 @@ def _stop_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -2185,8 +2185,8 @@ def begin_stop_packet_capture( :type parameters: ~azure.mgmt.network.v2019_08_01.models.VpnPacketCaptureStopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -2305,8 +2305,8 @@ def begin_get_vpnclient_connection_health( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnClientConnectionHealthDetailListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_virtual_network_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_virtual_network_peerings_operations.py index b8e13304c4e9..1e4f943994c5 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_virtual_network_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_virtual_network_peerings_operations.py @@ -110,8 +110,8 @@ def begin_delete( :type virtual_network_peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -307,8 +307,8 @@ def begin_create_or_update( :type virtual_network_peering_parameters: ~azure.mgmt.network.v2019_08_01.models.VirtualNetworkPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_virtual_network_taps_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_virtual_network_taps_operations.py index 0fa041a9364e..0ed4836637ef 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_virtual_network_taps_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_virtual_network_taps_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type tap_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -290,8 +290,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_08_01.models.VirtualNetworkTap :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkTap or the result of cls(response) @@ -416,8 +416,8 @@ def begin_update_tags( :type tap_parameters: ~azure.mgmt.network.v2019_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkTap or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_virtual_networks_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_virtual_networks_operations.py index 1ebfeb7747ce..fe4332e57459 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_virtual_networks_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_virtual_networks_operations.py @@ -105,8 +105,8 @@ def begin_delete( :type virtual_network_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -295,8 +295,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_08_01.models.VirtualNetwork :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetwork or the result of cls(response) @@ -421,8 +421,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetwork or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_virtual_router_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_virtual_router_peerings_operations.py index ee64c7330679..6867ae1069fc 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_virtual_router_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_virtual_router_peerings_operations.py @@ -87,7 +87,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -113,8 +113,8 @@ def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -218,7 +218,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualRouterPeering', pipeline_response) @@ -290,7 +290,7 @@ def update( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualRouterPeering', pipeline_response) @@ -347,7 +347,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -384,8 +384,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_08_01.models.VirtualRouterPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualRouterPeering or the result of cls(response) @@ -505,7 +505,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_virtual_routers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_virtual_routers_operations.py index aba5804becaa..36787985a50f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_virtual_routers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_virtual_routers_operations.py @@ -85,7 +85,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -108,8 +108,8 @@ def begin_delete( :type virtual_router_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -212,7 +212,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualRouter', pipeline_response) @@ -280,7 +280,7 @@ def update( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualRouter', pipeline_response) @@ -335,7 +335,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -368,8 +368,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_08_01.models.VirtualRouter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualRouter or the result of cls(response) @@ -483,7 +483,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -551,7 +551,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_virtual_wans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_virtual_wans_operations.py index c7457a1b921a..e2bf33bf49cf 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_virtual_wans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_virtual_wans_operations.py @@ -182,8 +182,8 @@ def begin_create_or_update( :type wan_parameters: ~azure.mgmt.network.v2019_08_01.models.VirtualWAN :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualWAN or the result of cls(response) @@ -312,8 +312,8 @@ def begin_update_tags( :type wan_parameters: ~azure.mgmt.network.v2019_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualWAN or the result of cls(response) @@ -426,8 +426,8 @@ def begin_delete( :type virtual_wan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_vpn_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_vpn_connections_operations.py index f72b86570c33..60e869d31eb3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_vpn_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_vpn_connections_operations.py @@ -192,8 +192,8 @@ def begin_create_or_update( :type vpn_connection_parameters: ~azure.mgmt.network.v2019_08_01.models.VpnConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnConnection or the result of cls(response) @@ -313,8 +313,8 @@ def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_vpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_vpn_gateways_operations.py index 6de453afe7af..687e5d505ba4 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_vpn_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_vpn_gateways_operations.py @@ -183,8 +183,8 @@ def begin_create_or_update( :type vpn_gateway_parameters: ~azure.mgmt.network.v2019_08_01.models.VpnGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnGateway or the result of cls(response) @@ -313,8 +313,8 @@ def begin_update_tags( :type vpn_gateway_parameters: ~azure.mgmt.network.v2019_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnGateway or the result of cls(response) @@ -427,8 +427,8 @@ def begin_delete( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -542,8 +542,8 @@ def begin_reset( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnGateway or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py index 9bc21c29d2d2..5e256721e9db 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py @@ -112,8 +112,8 @@ def begin_list( :type virtual_wan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnServerConfigurationsResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_vpn_server_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_vpn_server_configurations_operations.py index 443b6f7a29a3..75c5210d6b26 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_vpn_server_configurations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_vpn_server_configurations_operations.py @@ -185,8 +185,8 @@ def begin_create_or_update( :type vpn_server_configuration_parameters: ~azure.mgmt.network.v2019_08_01.models.VpnServerConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnServerConfiguration or the result of cls(response) @@ -316,8 +316,8 @@ def begin_update_tags( :type vpn_server_configuration_parameters: ~azure.mgmt.network.v2019_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnServerConfiguration or the result of cls(response) @@ -430,8 +430,8 @@ def begin_delete( :type vpn_server_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_vpn_sites_configuration_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_vpn_sites_configuration_operations.py index 03efc4c8d51d..e32bf4ab05f8 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_vpn_sites_configuration_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_vpn_sites_configuration_operations.py @@ -116,8 +116,8 @@ def begin_download( :type request: ~azure.mgmt.network.v2019_08_01.models.GetVpnSitesConfigurationRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_vpn_sites_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_vpn_sites_operations.py index 2d3666ce156d..b4f52b61d240 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_vpn_sites_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_vpn_sites_operations.py @@ -182,8 +182,8 @@ def begin_create_or_update( :type vpn_site_parameters: ~azure.mgmt.network.v2019_08_01.models.VpnSite :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnSite or the result of cls(response) @@ -312,8 +312,8 @@ def begin_update_tags( :type vpn_site_parameters: ~azure.mgmt.network.v2019_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnSite or the result of cls(response) @@ -426,8 +426,8 @@ def begin_delete( :type vpn_site_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_web_application_firewall_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_web_application_firewall_policies_operations.py index cf286477584a..aff2f13a171e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_web_application_firewall_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_08_01/operations/_web_application_firewall_policies_operations.py @@ -373,8 +373,8 @@ def begin_delete( :type policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/_metadata.json b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/_metadata.json index 780b7b7920a6..be18580d4654 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/_metadata.json +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/_metadata.json @@ -9,7 +9,9 @@ "custom_base_url": null, "azure_arm": true, "has_lro_operations": true, - "client_side_validation": true + "client_side_validation": false, + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"NetworkManagementClientConfiguration\"], \"._operations_mixin\": [\"NetworkManagementClientOperationsMixin\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"NetworkManagementClientConfiguration\"], \"._operations_mixin\": [\"NetworkManagementClientOperationsMixin\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}" }, "global_parameters": { "sync": { @@ -28,13 +30,13 @@ }, "async": { "credential": { - "signature": "credential, # type: \"AsyncTokenCredential\"", + "signature": "credential: \"AsyncTokenCredential\",", "description": "Credential needed for the client to connect to Azure.", "docstring_type": "~azure.core.credentials_async.AsyncTokenCredential", "required": true }, "subscription_id": { - "signature": "subscription_id, # type: str", + "signature": "subscription_id: str,", "description": "The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.", "docstring_type": "str", "required": true @@ -42,14 +44,58 @@ }, "constant": { }, - "call": "credential, subscription_id" + "call": "credential, subscription_id", + "service_client_specific": { + "sync": { + "api_version": { + "signature": "api_version=None, # type: Optional[str]", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url=None, # type: Optional[str]", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile=KnownProfiles.default, # type: KnownProfiles", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + }, + "async": { + "api_version": { + "signature": "api_version: Optional[str] = None,", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url: Optional[str] = None,", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile: KnownProfiles = KnownProfiles.default,", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + } + } }, "config": { "credential": true, "credential_scopes": ["https://management.azure.com/.default"], "credential_default_policy_type": "BearerTokenCredentialPolicy", "credential_default_policy_type_has_async_version": true, - "credential_key_header_name": null + "credential_key_header_name": null, + "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMHttpLoggingPolicy\"]}, \"local\": {\"._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}}", + "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMHttpLoggingPolicy\"]}, \"local\": {\".._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}}" }, "operation_groups": { "application_gateways": "ApplicationGatewaysOperations", @@ -142,151 +188,153 @@ "web_application_firewall_policies": "WebApplicationFirewallPoliciesOperations" }, "operation_mixins": { - "_put_bastion_shareable_link_initial" : { - "sync": { - "signature": "def _put_bastion_shareable_link_initial(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2019_09_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionShareableLinkListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_09_01.models.BastionShareableLinkListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def _put_bastion_shareable_link_initial(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e Optional[\"_models.BastionShareableLinkListResult\"]:\n", - "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2019_09_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionShareableLinkListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_09_01.models.BastionShareableLinkListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "resource_group_name, bastion_host_name, bsl_request" - }, - "begin_put_bastion_shareable_link" : { - "sync": { - "signature": "def begin_put_bastion_shareable_link(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Creates a Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2019_09_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns an iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[~azure.core.paging.ItemPaged[~azure.mgmt.network.v2019_09_01.models.BastionShareableLinkListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" - }, - "async": { - "coroutine": false, - "signature": "def begin_put_bastion_shareable_link(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e AsyncLROPoller[AsyncItemPaged[\"_models.BastionShareableLinkListResult\"]]:\n", - "doc": "\"\"\"Creates a Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2019_09_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns an iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2019_09_01.models.BastionShareableLinkListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" - }, - "call": "resource_group_name, bastion_host_name, bsl_request" - }, - "_delete_bastion_shareable_link_initial" : { - "sync": { - "signature": "def _delete_bastion_shareable_link_initial(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2019_09_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def _delete_bastion_shareable_link_initial(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e None:\n", - "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2019_09_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "resource_group_name, bastion_host_name, bsl_request" - }, - "begin_delete_bastion_shareable_link" : { - "sync": { - "signature": "def begin_delete_bastion_shareable_link(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Deletes the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2019_09_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def begin_delete_bastion_shareable_link(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e AsyncLROPoller[None]:\n", - "doc": "\"\"\"Deletes the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2019_09_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" - }, - "call": "resource_group_name, bastion_host_name, bsl_request" - }, - "get_bastion_shareable_link" : { - "sync": { - "signature": "def get_bastion_shareable_link(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Return the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2019_09_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2019_09_01.models.BastionShareableLinkListResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": false, - "signature": "def get_bastion_shareable_link(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e AsyncItemPaged[\"_models.BastionShareableLinkListResult\"]:\n", - "doc": "\"\"\"Return the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2019_09_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2019_09_01.models.BastionShareableLinkListResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "resource_group_name, bastion_host_name, bsl_request" - }, - "_get_active_sessions_initial" : { - "sync": { - "signature": "def _get_active_sessions_initial(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionActiveSessionListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_09_01.models.BastionActiveSessionListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def _get_active_sessions_initial(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n **kwargs\n) -\u003e Optional[\"_models.BastionActiveSessionListResult\"]:\n", - "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionActiveSessionListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_09_01.models.BastionActiveSessionListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "resource_group_name, bastion_host_name" - }, - "begin_get_active_sessions" : { - "sync": { - "signature": "def begin_get_active_sessions(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns an iterator like instance of either BastionActiveSessionListResult or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[~azure.core.paging.ItemPaged[~azure.mgmt.network.v2019_09_01.models.BastionActiveSessionListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"], \"azure.core.polling\": [\"LROPoller\", \"NoPolling\", \"PollingMethod\"], \"azure.mgmt.core.polling.arm_polling\": [\"ARMPolling\"], \"azure.core.paging\": [\"ItemPaged\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Iterable\", \"Optional\", \"TypeVar\", \"Union\"]}}}", + "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"], \"azure.core.polling\": [\"AsyncLROPoller\", \"AsyncNoPolling\", \"AsyncPollingMethod\"], \"azure.mgmt.core.polling.async_arm_polling\": [\"AsyncARMPolling\"], \"azure.core.async_paging\": [\"AsyncItemPaged\", \"AsyncList\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"AsyncIterable\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\", \"Union\"]}}}", + "operations": { + "_put_bastion_shareable_link_initial" : { + "sync": { + "signature": "def _put_bastion_shareable_link_initial(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2019_09_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionShareableLinkListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_09_01.models.BastionShareableLinkListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def _put_bastion_shareable_link_initial(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e Optional[\"_models.BastionShareableLinkListResult\"]:\n", + "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2019_09_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionShareableLinkListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_09_01.models.BastionShareableLinkListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "resource_group_name, bastion_host_name, bsl_request" }, - "async": { - "coroutine": false, - "signature": "def begin_get_active_sessions(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n **kwargs\n) -\u003e AsyncLROPoller[AsyncItemPaged[\"_models.BastionActiveSessionListResult\"]]:\n", - "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns an iterator like instance of either BastionActiveSessionListResult or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2019_09_01.models.BastionActiveSessionListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + "begin_put_bastion_shareable_link" : { + "sync": { + "signature": "def begin_put_bastion_shareable_link(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Creates a Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2019_09_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the ARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns an iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[~azure.core.paging.ItemPaged[~azure.mgmt.network.v2019_09_01.models.BastionShareableLinkListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "async": { + "coroutine": false, + "signature": "def begin_put_bastion_shareable_link(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e AsyncLROPoller[AsyncItemPaged[\"_models.BastionShareableLinkListResult\"]]:\n", + "doc": "\"\"\"Creates a Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2019_09_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the AsyncARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns an iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2019_09_01.models.BastionShareableLinkListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "call": "resource_group_name, bastion_host_name, bsl_request" }, - "call": "resource_group_name, bastion_host_name" - }, - "disconnect_active_sessions" : { - "sync": { - "signature": "def disconnect_active_sessions(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n session_ids, # type: \"_models.SessionIds\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param session_ids: The list of sessionids to disconnect.\n:type session_ids: ~azure.mgmt.network.v2019_09_01.models.SessionIds\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionSessionDeleteResult or the result of cls(response)\n:rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2019_09_01.models.BastionSessionDeleteResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": false, - "signature": "def disconnect_active_sessions(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n session_ids: \"_models.SessionIds\",\n **kwargs\n) -\u003e AsyncItemPaged[\"_models.BastionSessionDeleteResult\"]:\n", - "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param session_ids: The list of sessionids to disconnect.\n:type session_ids: ~azure.mgmt.network.v2019_09_01.models.SessionIds\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionSessionDeleteResult or the result of cls(response)\n:rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2019_09_01.models.BastionSessionDeleteResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "_delete_bastion_shareable_link_initial" : { + "sync": { + "signature": "def _delete_bastion_shareable_link_initial(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2019_09_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def _delete_bastion_shareable_link_initial(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e None:\n", + "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2019_09_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "resource_group_name, bastion_host_name, bsl_request" }, - "call": "resource_group_name, bastion_host_name, session_ids" - }, - "check_dns_name_availability" : { - "sync": { - "signature": "def check_dns_name_availability(\n self,\n location, # type: str\n domain_name_label, # type: str\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_09_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "begin_delete_bastion_shareable_link" : { + "sync": { + "signature": "def begin_delete_bastion_shareable_link(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Deletes the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2019_09_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the ARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def begin_delete_bastion_shareable_link(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e AsyncLROPoller[None]:\n", + "doc": "\"\"\"Deletes the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2019_09_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the AsyncARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "call": "resource_group_name, bastion_host_name, bsl_request" }, - "async": { - "coroutine": true, - "signature": "async def check_dns_name_availability(\n self,\n location: str,\n domain_name_label: str,\n **kwargs\n) -\u003e \"_models.DnsNameAvailabilityResult\":\n", - "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_09_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "get_bastion_shareable_link" : { + "sync": { + "signature": "def get_bastion_shareable_link(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Return the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2019_09_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2019_09_01.models.BastionShareableLinkListResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": false, + "signature": "def get_bastion_shareable_link(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e AsyncItemPaged[\"_models.BastionShareableLinkListResult\"]:\n", + "doc": "\"\"\"Return the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2019_09_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2019_09_01.models.BastionShareableLinkListResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "resource_group_name, bastion_host_name, bsl_request" }, - "call": "location, domain_name_label" - }, - "supported_security_providers" : { - "sync": { - "signature": "def supported_security_providers(\n self,\n resource_group_name, # type: str\n virtual_wan_name, # type: str\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Gives the supported security providers for the virtual wan.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN for which supported security providers are\n needed.\n:type virtual_wan_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VirtualWanSecurityProviders, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_09_01.models.VirtualWanSecurityProviders\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "_get_active_sessions_initial" : { + "sync": { + "signature": "def _get_active_sessions_initial(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionActiveSessionListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_09_01.models.BastionActiveSessionListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def _get_active_sessions_initial(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n **kwargs\n) -\u003e Optional[\"_models.BastionActiveSessionListResult\"]:\n", + "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionActiveSessionListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_09_01.models.BastionActiveSessionListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "resource_group_name, bastion_host_name" }, - "async": { - "coroutine": true, - "signature": "async def supported_security_providers(\n self,\n resource_group_name: str,\n virtual_wan_name: str,\n **kwargs\n) -\u003e \"_models.VirtualWanSecurityProviders\":\n", - "doc": "\"\"\"Gives the supported security providers for the virtual wan.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN for which supported security providers are\n needed.\n:type virtual_wan_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VirtualWanSecurityProviders, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_09_01.models.VirtualWanSecurityProviders\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "begin_get_active_sessions" : { + "sync": { + "signature": "def begin_get_active_sessions(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the ARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns an iterator like instance of either BastionActiveSessionListResult or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[~azure.core.paging.ItemPaged[~azure.mgmt.network.v2019_09_01.models.BastionActiveSessionListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "async": { + "coroutine": false, + "signature": "def begin_get_active_sessions(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n **kwargs\n) -\u003e AsyncLROPoller[AsyncItemPaged[\"_models.BastionActiveSessionListResult\"]]:\n", + "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the AsyncARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns an iterator like instance of either BastionActiveSessionListResult or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2019_09_01.models.BastionActiveSessionListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "call": "resource_group_name, bastion_host_name" }, - "call": "resource_group_name, virtual_wan_name" - }, - "_generatevirtualwanvpnserverconfigurationvpnprofile_initial" : { - "sync": { - "signature": "def _generatevirtualwanvpnserverconfigurationvpnprofile_initial(\n self,\n resource_group_name, # type: str\n virtual_wan_name, # type: str\n vpn_client_params, # type: \"_models.VirtualWanVpnProfileParameters\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2019_09_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VpnProfileResponse, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_09_01.models.VpnProfileResponse or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "disconnect_active_sessions" : { + "sync": { + "signature": "def disconnect_active_sessions(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n session_ids, # type: \"_models.SessionIds\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param session_ids: The list of sessionids to disconnect.\n:type session_ids: ~azure.mgmt.network.v2019_09_01.models.SessionIds\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionSessionDeleteResult or the result of cls(response)\n:rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2019_09_01.models.BastionSessionDeleteResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": false, + "signature": "def disconnect_active_sessions(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n session_ids: \"_models.SessionIds\",\n **kwargs\n) -\u003e AsyncItemPaged[\"_models.BastionSessionDeleteResult\"]:\n", + "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param session_ids: The list of sessionids to disconnect.\n:type session_ids: ~azure.mgmt.network.v2019_09_01.models.SessionIds\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionSessionDeleteResult or the result of cls(response)\n:rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2019_09_01.models.BastionSessionDeleteResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "resource_group_name, bastion_host_name, session_ids" }, - "async": { - "coroutine": true, - "signature": "async def _generatevirtualwanvpnserverconfigurationvpnprofile_initial(\n self,\n resource_group_name: str,\n virtual_wan_name: str,\n vpn_client_params: \"_models.VirtualWanVpnProfileParameters\",\n **kwargs\n) -\u003e Optional[\"_models.VpnProfileResponse\"]:\n", - "doc": "\"\"\"\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2019_09_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VpnProfileResponse, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_09_01.models.VpnProfileResponse or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "check_dns_name_availability" : { + "sync": { + "signature": "def check_dns_name_availability(\n self,\n location, # type: str\n domain_name_label, # type: str\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_09_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def check_dns_name_availability(\n self,\n location: str,\n domain_name_label: str,\n **kwargs\n) -\u003e \"_models.DnsNameAvailabilityResult\":\n", + "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_09_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "location, domain_name_label" }, - "call": "resource_group_name, virtual_wan_name, vpn_client_params" - }, - "begin_generatevirtualwanvpnserverconfigurationvpnprofile" : { - "sync": { - "signature": "def begin_generatevirtualwanvpnserverconfigurationvpnprofile(\n self,\n resource_group_name, # type: str\n virtual_wan_name, # type: str\n vpn_client_params, # type: \"_models.VirtualWanVpnProfileParameters\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Generates a unique VPN profile for P2S clients for VirtualWan and associated\nVpnServerConfiguration combination in the specified resource group.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2019_09_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns either VpnProfileResponse or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2019_09_01.models.VpnProfileResponse]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + "supported_security_providers" : { + "sync": { + "signature": "def supported_security_providers(\n self,\n resource_group_name, # type: str\n virtual_wan_name, # type: str\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Gives the supported security providers for the virtual wan.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN for which supported security providers are\n needed.\n:type virtual_wan_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VirtualWanSecurityProviders, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_09_01.models.VirtualWanSecurityProviders\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def supported_security_providers(\n self,\n resource_group_name: str,\n virtual_wan_name: str,\n **kwargs\n) -\u003e \"_models.VirtualWanSecurityProviders\":\n", + "doc": "\"\"\"Gives the supported security providers for the virtual wan.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN for which supported security providers are\n needed.\n:type virtual_wan_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VirtualWanSecurityProviders, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_09_01.models.VirtualWanSecurityProviders\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "resource_group_name, virtual_wan_name" }, - "async": { - "coroutine": true, - "signature": "async def begin_generatevirtualwanvpnserverconfigurationvpnprofile(\n self,\n resource_group_name: str,\n virtual_wan_name: str,\n vpn_client_params: \"_models.VirtualWanVpnProfileParameters\",\n **kwargs\n) -\u003e AsyncLROPoller[\"_models.VpnProfileResponse\"]:\n", - "doc": "\"\"\"Generates a unique VPN profile for P2S clients for VirtualWan and associated\nVpnServerConfiguration combination in the specified resource group.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2019_09_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns either VpnProfileResponse or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2019_09_01.models.VpnProfileResponse]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + "_generatevirtualwanvpnserverconfigurationvpnprofile_initial" : { + "sync": { + "signature": "def _generatevirtualwanvpnserverconfigurationvpnprofile_initial(\n self,\n resource_group_name, # type: str\n virtual_wan_name, # type: str\n vpn_client_params, # type: \"_models.VirtualWanVpnProfileParameters\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2019_09_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VpnProfileResponse, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_09_01.models.VpnProfileResponse or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def _generatevirtualwanvpnserverconfigurationvpnprofile_initial(\n self,\n resource_group_name: str,\n virtual_wan_name: str,\n vpn_client_params: \"_models.VirtualWanVpnProfileParameters\",\n **kwargs\n) -\u003e Optional[\"_models.VpnProfileResponse\"]:\n", + "doc": "\"\"\"\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2019_09_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VpnProfileResponse, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_09_01.models.VpnProfileResponse or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "resource_group_name, virtual_wan_name, vpn_client_params" }, - "call": "resource_group_name, virtual_wan_name, vpn_client_params" + "begin_generatevirtualwanvpnserverconfigurationvpnprofile" : { + "sync": { + "signature": "def begin_generatevirtualwanvpnserverconfigurationvpnprofile(\n self,\n resource_group_name, # type: str\n virtual_wan_name, # type: str\n vpn_client_params, # type: \"_models.VirtualWanVpnProfileParameters\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Generates a unique VPN profile for P2S clients for VirtualWan and associated\nVpnServerConfiguration combination in the specified resource group.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2019_09_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the ARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns either VpnProfileResponse or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2019_09_01.models.VpnProfileResponse]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def begin_generatevirtualwanvpnserverconfigurationvpnprofile(\n self,\n resource_group_name: str,\n virtual_wan_name: str,\n vpn_client_params: \"_models.VirtualWanVpnProfileParameters\",\n **kwargs\n) -\u003e AsyncLROPoller[\"_models.VpnProfileResponse\"]:\n", + "doc": "\"\"\"Generates a unique VPN profile for P2S clients for VirtualWan and associated\nVpnServerConfiguration combination in the specified resource group.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2019_09_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the AsyncARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns either VpnProfileResponse or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2019_09_01.models.VpnProfileResponse]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "call": "resource_group_name, virtual_wan_name, vpn_client_params" + } } - }, - "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"], \"azure.core.polling\": [\"LROPoller\", \"NoPolling\", \"PollingMethod\"], \"azure.mgmt.core.polling.arm_polling\": [\"ARMPolling\"], \"azure.core.paging\": [\"ItemPaged\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Iterable\", \"Optional\", \"TypeVar\", \"Union\"]}}}", - "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"], \"azure.core.polling\": [\"AsyncLROPoller\", \"AsyncNoPolling\", \"AsyncPollingMethod\"], \"azure.mgmt.core.polling.async_arm_polling\": [\"AsyncARMPolling\"], \"azure.core.async_paging\": [\"AsyncItemPaged\", \"AsyncList\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"AsyncIterable\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\", \"Union\"]}}}" + } } \ No newline at end of file diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/_network_management_client.py index a201cef51098..bcff3a74fc66 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/_network_management_client.py @@ -16,6 +16,7 @@ from typing import Any, Optional from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse from ._configuration import NetworkManagementClientConfiguration from .operations import ApplicationGatewaysOperations @@ -312,6 +313,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( @@ -491,6 +493,24 @@ def __init__( self.web_application_firewall_policies = WebApplicationFirewallPoliciesOperations( self._client, self._config, self._serialize, self._deserialize) + def _send_request(self, http_request, **kwargs): + # type: (HttpRequest, Any) -> HttpResponse + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.HttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + def close(self): # type: () -> None self._client.close() diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/_network_management_client.py index 6872ac6c13bb..6fd1109adb53 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/_network_management_client.py @@ -8,6 +8,7 @@ from typing import Any, Optional, TYPE_CHECKING +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core import AsyncARMPipelineClient from msrest import Deserializer, Serializer @@ -309,6 +310,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( @@ -488,6 +490,23 @@ def __init__( self.web_application_firewall_policies = WebApplicationFirewallPoliciesOperations( self._client, self._config, self._serialize, self._deserialize) + async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + async def close(self) -> None: await self._client.close() diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_application_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_application_gateways_operations.py index 573efa1e24c9..219c5a5fd311 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_application_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_application_gateways_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -283,8 +283,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_09_01.models.ApplicationGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGateway or the result of cls(response) @@ -597,8 +597,8 @@ async def begin_start( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -705,8 +705,8 @@ async def begin_stop( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -824,8 +824,8 @@ async def begin_backend_health( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGatewayBackendHealth or the result of cls(response) @@ -957,8 +957,8 @@ async def begin_backend_health_on_demand( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGatewayBackendHealthOnDemand or the result of cls(response) @@ -1052,7 +1052,7 @@ async def list_available_server_variables( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) @@ -1103,7 +1103,7 @@ async def list_available_request_headers( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) @@ -1154,7 +1154,7 @@ async def list_available_response_headers( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_application_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_application_security_groups_operations.py index 7f3d5376d4e7..3aa2aa1ae39e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_application_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_application_security_groups_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type application_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -284,8 +284,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_09_01.models.ApplicationSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_azure_firewalls_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_azure_firewalls_operations.py index ce7bf9e6e32d..818f4a095f65 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_azure_firewalls_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_azure_firewalls_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type azure_firewall_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -283,8 +283,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_09_01.models.AzureFirewall :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AzureFirewall or the result of cls(response) @@ -409,8 +409,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_09_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AzureFirewall or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_bastion_hosts_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_bastion_hosts_operations.py index 874100fdea27..8dc14fec5858 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_bastion_hosts_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_bastion_hosts_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type bastion_host_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -283,8 +283,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_09_01.models.BastionHost :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either BastionHost or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_connection_monitors_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_connection_monitors_operations.py index 3017579e2cd0..77b351e3000c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_connection_monitors_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_connection_monitors_operations.py @@ -88,7 +88,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -123,8 +123,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_09_01.models.ConnectionMonitor :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionMonitorResult or the result of cls(response) @@ -231,7 +231,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('ConnectionMonitorResult', pipeline_response) @@ -281,7 +281,7 @@ async def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -306,8 +306,8 @@ async def begin_delete( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -418,7 +418,7 @@ async def update_tags( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('ConnectionMonitorResult', pipeline_response) @@ -468,7 +468,7 @@ async def _stop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -493,8 +493,8 @@ async def begin_stop( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -584,7 +584,7 @@ async def _start_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -609,8 +609,8 @@ async def begin_start( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -700,7 +700,7 @@ async def _query_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -732,8 +732,8 @@ async def begin_query( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionMonitorQueryResult or the result of cls(response) @@ -851,7 +851,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_ddos_custom_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_ddos_custom_policies_operations.py index 4f207209f31b..faa83c9b5861 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_ddos_custom_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_ddos_custom_policies_operations.py @@ -100,8 +100,8 @@ async def begin_delete( :type ddos_custom_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -282,8 +282,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_09_01.models.DdosCustomPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either DdosCustomPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_ddos_protection_plans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_ddos_protection_plans_operations.py index f255f41bcd26..feac6b1ea718 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_ddos_protection_plans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_ddos_protection_plans_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type ddos_protection_plan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -283,8 +283,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_09_01.models.DdosProtectionPlan :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either DdosProtectionPlan or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_express_route_circuit_authorizations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_express_route_circuit_authorizations_operations.py index a551cd58311f..ddda74bc0578 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_express_route_circuit_authorizations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_express_route_circuit_authorizations_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type authorization_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -300,8 +300,8 @@ async def begin_create_or_update( :type authorization_parameters: ~azure.mgmt.network.v2019_09_01.models.ExpressRouteCircuitAuthorization :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitAuthorization or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_express_route_circuit_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_express_route_circuit_connections_operations.py index 52e2a54f6837..3676e923665c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_express_route_circuit_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_express_route_circuit_connections_operations.py @@ -112,8 +112,8 @@ async def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -317,8 +317,8 @@ async def begin_create_or_update( :type express_route_circuit_connection_parameters: ~azure.mgmt.network.v2019_09_01.models.ExpressRouteCircuitConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitConnection or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_express_route_circuit_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_express_route_circuit_peerings_operations.py index ebe59446ce40..7ce1cc2eba24 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_express_route_circuit_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_express_route_circuit_peerings_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -300,8 +300,8 @@ async def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2019_09_01.models.ExpressRouteCircuitPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_express_route_circuits_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_express_route_circuits_operations.py index cf72fbd5ab4f..2322d04f3279 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_express_route_circuits_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_express_route_circuits_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type circuit_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -283,8 +283,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_09_01.models.ExpressRouteCircuit :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -477,8 +477,8 @@ async def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -608,8 +608,8 @@ async def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) @@ -739,8 +739,8 @@ async def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableSummaryListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_express_route_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_express_route_connections_operations.py index 5e9796438d9d..b87593a5191b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_express_route_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_express_route_connections_operations.py @@ -122,8 +122,8 @@ async def begin_create_or_update( :type put_express_route_connection_parameters: ~azure.mgmt.network.v2019_09_01.models.ExpressRouteConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteConnection or the result of cls(response) @@ -303,8 +303,8 @@ async def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_express_route_cross_connection_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_express_route_cross_connection_peerings_operations.py index 416c880afb4c..cfbebde8943b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_express_route_cross_connection_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_express_route_cross_connection_peerings_operations.py @@ -180,8 +180,8 @@ async def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -374,8 +374,8 @@ async def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2019_09_01.models.ExpressRouteCrossConnectionPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCrossConnectionPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_express_route_cross_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_express_route_cross_connections_operations.py index 60d6daff81e2..74fef94eac20 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_express_route_cross_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_express_route_cross_connections_operations.py @@ -308,8 +308,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_09_01.models.ExpressRouteCrossConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCrossConnection or the result of cls(response) @@ -503,8 +503,8 @@ async def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -634,8 +634,8 @@ async def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCrossConnectionsRoutesTableSummaryListResult or the result of cls(response) @@ -765,8 +765,8 @@ async def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_express_route_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_express_route_gateways_operations.py index 3c8cc88d437c..d60518a3111b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_express_route_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_express_route_gateways_operations.py @@ -221,8 +221,8 @@ async def begin_create_or_update( :type put_express_route_gateway_parameters: ~azure.mgmt.network.v2019_09_01.models.ExpressRouteGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteGateway or the result of cls(response) @@ -392,8 +392,8 @@ async def begin_delete( :type express_route_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_express_route_ports_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_express_route_ports_operations.py index fdb7bd3ff7dc..9fb789b3e384 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_express_route_ports_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_express_route_ports_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type express_route_port_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -283,8 +283,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_09_01.models.ExpressRoutePort :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRoutePort or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_firewall_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_firewall_policies_operations.py index fa687eeb10d0..187eff267fe4 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_firewall_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_firewall_policies_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type firewall_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -288,8 +288,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_09_01.models.FirewallPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FirewallPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_firewall_policy_rule_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_firewall_policy_rule_groups_operations.py index d9f56f566ea2..d962291508f8 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_firewall_policy_rule_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_firewall_policy_rule_groups_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type rule_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -300,8 +300,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_09_01.models.FirewallPolicyRuleGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FirewallPolicyRuleGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_inbound_nat_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_inbound_nat_rules_operations.py index e56705f11ec0..c62aff733582 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_inbound_nat_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_inbound_nat_rules_operations.py @@ -180,8 +180,8 @@ async def begin_delete( :type inbound_nat_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -379,8 +379,8 @@ async def begin_create_or_update( :type inbound_nat_rule_parameters: ~azure.mgmt.network.v2019_09_01.models.InboundNatRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either InboundNatRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_ip_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_ip_groups_operations.py index bcfee9c94e59..b004fc76ee4e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_ip_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_ip_groups_operations.py @@ -97,7 +97,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('IpGroup', pipeline_response) @@ -151,7 +151,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -183,8 +183,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_09_01.models.IpGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either IpGroup or the result of cls(response) @@ -293,7 +293,7 @@ async def update_groups( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('IpGroup', pipeline_response) @@ -341,7 +341,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -363,8 +363,8 @@ async def begin_delete( :type ip_groups_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -473,7 +473,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -540,7 +540,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_load_balancers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_load_balancers_operations.py index c9bbe239339d..b1e2a0d9a2b5 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_load_balancers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_load_balancers_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type load_balancer_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -288,8 +288,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_09_01.models.LoadBalancer :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LoadBalancer or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_local_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_local_network_gateways_operations.py index 5bb5da876619..8d7461b4a161 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_local_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_local_network_gateways_operations.py @@ -117,8 +117,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_09_01.models.LocalNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LocalNetworkGateway or the result of cls(response) @@ -287,8 +287,8 @@ async def begin_delete( :type local_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_nat_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_nat_gateways_operations.py index 2c7f85b98141..16032c5e7a3f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_nat_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_nat_gateways_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type nat_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -291,8 +291,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_09_01.models.NatGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NatGateway or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_network_interface_tap_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_network_interface_tap_configurations_operations.py index d28634d7e50c..656cc10809c8 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_network_interface_tap_configurations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_network_interface_tap_configurations_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type tap_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -300,8 +300,8 @@ async def begin_create_or_update( :type tap_configuration_parameters: ~azure.mgmt.network.v2019_09_01.models.NetworkInterfaceTapConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkInterfaceTapConfiguration or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_network_interfaces_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_network_interfaces_operations.py index 4361aebd5569..d7f13ac16eac 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_network_interfaces_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_network_interfaces_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -288,8 +288,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_09_01.models.NetworkInterface :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkInterface or the result of cls(response) @@ -607,8 +607,8 @@ async def begin_get_effective_route_table( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either EffectiveRouteListResult or the result of cls(response) @@ -723,8 +723,8 @@ async def begin_list_effective_network_security_groups( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either EffectiveNetworkSecurityGroupListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_network_management_client_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_network_management_client_operations.py index ac2a2d8bced9..efced21b19a8 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_network_management_client_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_network_management_client_operations.py @@ -95,8 +95,8 @@ async def begin_put_bastion_shareable_link( :type bsl_request: ~azure.mgmt.network.v2019_09_01.models.BastionShareableLinkListRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns an iterator like instance of either BastionShareableLinkListResult or the result of cls(response) @@ -278,8 +278,8 @@ async def begin_delete_bastion_shareable_link( :type bsl_request: ~azure.mgmt.network.v2019_09_01.models.BastionShareableLinkListRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -477,8 +477,8 @@ async def begin_get_active_sessions( :type bastion_host_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns an iterator like instance of either BastionActiveSessionListResult or the result of cls(response) @@ -862,8 +862,8 @@ async def begin_generatevirtualwanvpnserverconfigurationvpnprofile( :type vpn_client_params: ~azure.mgmt.network.v2019_09_01.models.VirtualWanVpnProfileParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnProfileResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_network_profiles_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_network_profiles_operations.py index 41be4d4d67f7..cbed7bb85f8b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_network_profiles_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_network_profiles_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type network_profile_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_network_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_network_security_groups_operations.py index 5efb9a1e8921..a1465a05ae60 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_network_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_network_security_groups_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type network_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -289,8 +289,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_09_01.models.NetworkSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_network_watchers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_network_watchers_operations.py index fda4dcca6c8d..8d88a2f94e26 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_network_watchers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_network_watchers_operations.py @@ -99,7 +99,7 @@ async def create_or_update( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -162,7 +162,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('NetworkWatcher', pipeline_response) @@ -210,7 +210,7 @@ async def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -232,8 +232,8 @@ async def begin_delete( :type network_watcher_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -338,7 +338,7 @@ async def update_tags( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('NetworkWatcher', pipeline_response) @@ -409,7 +409,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -476,7 +476,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -543,7 +543,7 @@ async def get_topology( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('Topology', pipeline_response) @@ -597,7 +597,7 @@ async def _verify_ip_flow_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -629,8 +629,8 @@ async def begin_verify_ip_flow( :type parameters: ~azure.mgmt.network.v2019_09_01.models.VerificationIPFlowParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VerificationIPFlowResult or the result of cls(response) @@ -726,7 +726,7 @@ async def _get_next_hop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -758,8 +758,8 @@ async def begin_get_next_hop( :type parameters: ~azure.mgmt.network.v2019_09_01.models.NextHopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NextHopResult or the result of cls(response) @@ -855,7 +855,7 @@ async def _get_vm_security_rules_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -887,8 +887,8 @@ async def begin_get_vm_security_rules( :type parameters: ~azure.mgmt.network.v2019_09_01.models.SecurityGroupViewParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either SecurityGroupViewResult or the result of cls(response) @@ -984,7 +984,7 @@ async def _get_troubleshooting_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1016,8 +1016,8 @@ async def begin_get_troubleshooting( :type parameters: ~azure.mgmt.network.v2019_09_01.models.TroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1113,7 +1113,7 @@ async def _get_troubleshooting_result_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1145,8 +1145,8 @@ async def begin_get_troubleshooting_result( :type parameters: ~azure.mgmt.network.v2019_09_01.models.QueryTroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1242,7 +1242,7 @@ async def _set_flow_log_configuration_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1274,8 +1274,8 @@ async def begin_set_flow_log_configuration( :type parameters: ~azure.mgmt.network.v2019_09_01.models.FlowLogInformation :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1371,7 +1371,7 @@ async def _get_flow_log_status_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1404,8 +1404,8 @@ async def begin_get_flow_log_status( :type parameters: ~azure.mgmt.network.v2019_09_01.models.FlowLogStatusParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1501,7 +1501,7 @@ async def _check_connectivity_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1534,8 +1534,8 @@ async def begin_check_connectivity( :type parameters: ~azure.mgmt.network.v2019_09_01.models.ConnectivityParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectivityInformation or the result of cls(response) @@ -1631,7 +1631,7 @@ async def _get_azure_reachability_report_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1664,8 +1664,8 @@ async def begin_get_azure_reachability_report( :type parameters: ~azure.mgmt.network.v2019_09_01.models.AzureReachabilityReportParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AzureReachabilityReport or the result of cls(response) @@ -1761,7 +1761,7 @@ async def _list_available_providers_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1793,8 +1793,8 @@ async def begin_list_available_providers( :type parameters: ~azure.mgmt.network.v2019_09_01.models.AvailableProvidersListParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AvailableProvidersList or the result of cls(response) @@ -1890,7 +1890,7 @@ async def _get_network_configuration_diagnostic_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1926,8 +1926,8 @@ async def begin_get_network_configuration_diagnostic( :type parameters: ~azure.mgmt.network.v2019_09_01.models.NetworkConfigurationDiagnosticParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkConfigurationDiagnosticResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_p2_svpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_p2_svpn_gateways_operations.py index 34774ed446b7..42da0fd36741 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_p2_svpn_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_p2_svpn_gateways_operations.py @@ -176,8 +176,8 @@ async def begin_create_or_update( :type p2_s_vpn_gateway_parameters: ~azure.mgmt.network.v2019_09_01.models.P2SVpnGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -355,8 +355,8 @@ async def begin_delete( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -614,8 +614,8 @@ async def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2019_09_01.models.P2SVpnProfileParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnProfileResponse or the result of cls(response) @@ -732,8 +732,8 @@ async def begin_get_p2_s_vpn_connection_health( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -858,8 +858,8 @@ async def begin_get_p2_s_vpn_connection_health_detailed( :type request: ~azure.mgmt.network.v2019_09_01.models.P2SVpnConnectionHealthRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either P2SVpnConnectionHealth or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_packet_captures_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_packet_captures_operations.py index 09c87c011b89..660247c5afed 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_packet_captures_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_packet_captures_operations.py @@ -88,7 +88,7 @@ async def _create_initial( if response.status_code not in [201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PacketCaptureResult', pipeline_response) @@ -119,8 +119,8 @@ async def begin_create( :type parameters: ~azure.mgmt.network.v2019_09_01.models.PacketCapture :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PacketCaptureResult or the result of cls(response) @@ -227,7 +227,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PacketCaptureResult', pipeline_response) @@ -277,7 +277,7 @@ async def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -302,8 +302,8 @@ async def begin_delete( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -393,7 +393,7 @@ async def _stop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -418,8 +418,8 @@ async def begin_stop( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -509,7 +509,7 @@ async def _get_status_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -541,8 +541,8 @@ async def begin_get_status( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PacketCaptureQueryStatusResult or the result of cls(response) @@ -660,7 +660,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_private_endpoints_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_private_endpoints_operations.py index e1880f63694e..dc1c2b39f47d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_private_endpoints_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_private_endpoints_operations.py @@ -80,7 +80,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -102,8 +102,8 @@ async def begin_delete( :type private_endpoint_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -205,7 +205,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateEndpoint', pipeline_response) @@ -259,7 +259,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -291,8 +291,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_09_01.models.PrivateEndpoint :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PrivateEndpoint or the result of cls(response) @@ -405,7 +405,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -472,7 +472,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_private_link_services_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_private_link_services_operations.py index 5669f60a0d90..6b19be29ad89 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_private_link_services_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_private_link_services_operations.py @@ -80,7 +80,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -102,8 +102,8 @@ async def begin_delete( :type service_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -205,7 +205,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateLinkService', pipeline_response) @@ -259,7 +259,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -291,8 +291,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_09_01.models.PrivateLinkService :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PrivateLinkService or the result of cls(response) @@ -405,7 +405,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -472,7 +472,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -541,7 +541,7 @@ async def get_private_endpoint_connection( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateEndpointConnection', pipeline_response) @@ -612,7 +612,7 @@ async def update_private_endpoint_connection( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateEndpointConnection', pipeline_response) @@ -662,7 +662,7 @@ async def _delete_private_endpoint_connection_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -687,8 +687,8 @@ async def begin_delete_private_endpoint_connection( :type pe_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -803,7 +803,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -881,8 +881,8 @@ async def begin_check_private_link_service_visibility( :type parameters: ~azure.mgmt.network.v2019_09_01.models.CheckPrivateLinkServiceVisibilityRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PrivateLinkServiceVisibility or the result of cls(response) @@ -1006,8 +1006,8 @@ async def begin_check_private_link_service_visibility_by_resource_group( :type parameters: ~azure.mgmt.network.v2019_09_01.models.CheckPrivateLinkServiceVisibilityRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PrivateLinkServiceVisibility or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_public_ip_addresses_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_public_ip_addresses_operations.py index 5392ec1236c7..513e49f46d5f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_public_ip_addresses_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_public_ip_addresses_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type public_ip_address_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -288,8 +288,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_09_01.models.PublicIPAddress :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PublicIPAddress or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_public_ip_prefixes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_public_ip_prefixes_operations.py index 9d3a19be218b..c1b94a50e5b7 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_public_ip_prefixes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_public_ip_prefixes_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type public_ip_prefix_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -288,8 +288,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_09_01.models.PublicIPPrefix :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PublicIPPrefix or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_route_filter_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_route_filter_rules_operations.py index d866924093a9..07e56cd612e5 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_route_filter_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_route_filter_rules_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -300,8 +300,8 @@ async def begin_create_or_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2019_09_01.models.RouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilterRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_route_filters_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_route_filters_operations.py index 5f3092f0cb96..8059812363a0 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_route_filters_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_route_filters_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type route_filter_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -289,8 +289,8 @@ async def begin_create_or_update( :type route_filter_parameters: ~azure.mgmt.network.v2019_09_01.models.RouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilter or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_route_tables_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_route_tables_operations.py index 72e857891ddd..cf32aace0489 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_route_tables_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_route_tables_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -288,8 +288,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_09_01.models.RouteTable :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteTable or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_routes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_routes_operations.py index c0946d8a92d7..267924987150 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_routes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_routes_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type route_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -299,8 +299,8 @@ async def begin_create_or_update( :type route_parameters: ~azure.mgmt.network.v2019_09_01.models.Route :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Route or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_security_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_security_rules_operations.py index 47254e070126..dc7c514275c7 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_security_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_security_rules_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type security_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -300,8 +300,8 @@ async def begin_create_or_update( :type security_rule_parameters: ~azure.mgmt.network.v2019_09_01.models.SecurityRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either SecurityRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_service_endpoint_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_service_endpoint_policies_operations.py index 5b5a2fe637ba..d17b07cadb5c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_service_endpoint_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_service_endpoint_policies_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type service_endpoint_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -289,8 +289,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_09_01.models.ServiceEndpointPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ServiceEndpointPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_service_endpoint_policy_definitions_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_service_endpoint_policy_definitions_operations.py index a7c8144df632..75249a7d6058 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_service_endpoint_policy_definitions_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_service_endpoint_policy_definitions_operations.py @@ -107,8 +107,8 @@ async def begin_delete( :type service_endpoint_policy_definition_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -304,8 +304,8 @@ async def begin_create_or_update( :type service_endpoint_policy_definitions: ~azure.mgmt.network.v2019_09_01.models.ServiceEndpointPolicyDefinition :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ServiceEndpointPolicyDefinition or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_subnets_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_subnets_operations.py index 54361d14e072..35481fd425c9 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_subnets_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_subnets_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type subnet_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -304,8 +304,8 @@ async def begin_create_or_update( :type subnet_parameters: ~azure.mgmt.network.v2019_09_01.models.Subnet :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Subnet or the result of cls(response) @@ -433,8 +433,8 @@ async def begin_prepare_network_policies( :type prepare_network_policies_request_parameters: ~azure.mgmt.network.v2019_09_01.models.PrepareNetworkPoliciesRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -559,8 +559,8 @@ async def begin_unprepare_network_policies( :type unprepare_network_policies_request_parameters: ~azure.mgmt.network.v2019_09_01.models.UnprepareNetworkPoliciesRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_virtual_hub_route_table_v2_s_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_virtual_hub_route_table_v2_s_operations.py index 3ea2df67a94f..a5b7a03976ad 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_virtual_hub_route_table_v2_s_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_virtual_hub_route_table_v2_s_operations.py @@ -95,7 +95,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualHubRouteTableV2', pipeline_response) @@ -151,7 +151,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -188,8 +188,8 @@ async def begin_create_or_update( :type virtual_hub_route_table_v2_parameters: ~azure.mgmt.network.v2019_09_01.models.VirtualHubRouteTableV2 :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualHubRouteTableV2 or the result of cls(response) @@ -283,7 +283,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -308,8 +308,8 @@ async def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_virtual_hubs_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_virtual_hubs_operations.py index 17d08e03b2cb..a485f26c7939 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_virtual_hubs_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_virtual_hubs_operations.py @@ -175,8 +175,8 @@ async def begin_create_or_update( :type virtual_hub_parameters: ~azure.mgmt.network.v2019_09_01.models.VirtualHub :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualHub or the result of cls(response) @@ -353,8 +353,8 @@ async def begin_delete( :type virtual_hub_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_virtual_network_gateway_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_virtual_network_gateway_connections_operations.py index 8b9c118283dd..4cadb2d7c1c7 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_virtual_network_gateway_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_virtual_network_gateway_connections_operations.py @@ -119,8 +119,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_09_01.models.VirtualNetworkGatewayConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -291,8 +291,8 @@ async def begin_delete( :type virtual_network_gateway_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -414,8 +414,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_09_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -545,8 +545,8 @@ async def begin_set_shared_key( :type parameters: ~azure.mgmt.network.v2019_09_01.models.ConnectionSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionSharedKey or the result of cls(response) @@ -806,8 +806,8 @@ async def begin_reset_shared_key( :type parameters: ~azure.mgmt.network.v2019_09_01.models.ConnectionResetSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionResetSharedKey or the result of cls(response) @@ -906,7 +906,7 @@ async def _start_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -938,8 +938,8 @@ async def begin_start_packet_capture( :type parameters: ~azure.mgmt.network.v2019_09_01.models.VpnPacketCaptureStartParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1035,7 +1035,7 @@ async def _stop_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -1067,8 +1067,8 @@ async def begin_stop_packet_capture( :type parameters: ~azure.mgmt.network.v2019_09_01.models.VpnPacketCaptureStopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_virtual_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_virtual_network_gateways_operations.py index 3ed8bf284c30..ffb906796c12 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_virtual_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_virtual_network_gateways_operations.py @@ -117,8 +117,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_09_01.models.VirtualNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -287,8 +287,8 @@ async def begin_delete( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -409,8 +409,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_09_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -677,8 +677,8 @@ async def begin_reset( :type gateway_vip: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -790,8 +790,8 @@ async def begin_reset_vpn_client_shared_key( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -914,8 +914,8 @@ async def begin_generatevpnclientpackage( :type parameters: ~azure.mgmt.network.v2019_09_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1042,8 +1042,8 @@ async def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2019_09_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1160,8 +1160,8 @@ async def begin_get_vpn_profile_package_url( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1282,8 +1282,8 @@ async def begin_get_bgp_peer_status( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either BgpPeerStatusListResult or the result of cls(response) @@ -1458,8 +1458,8 @@ async def begin_get_learned_routes( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1580,8 +1580,8 @@ async def begin_get_advertised_routes( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1708,8 +1708,8 @@ async def begin_set_vpnclient_ipsec_parameters( :type vpnclient_ipsec_params: ~azure.mgmt.network.v2019_09_01.models.VpnClientIPsecParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnClientIPsecParameters or the result of cls(response) @@ -1825,8 +1825,8 @@ async def begin_get_vpnclient_ipsec_parameters( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnClientIPsecParameters or the result of cls(response) @@ -1991,7 +1991,7 @@ async def _start_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -2022,8 +2022,8 @@ async def begin_start_packet_capture( :type parameters: ~azure.mgmt.network.v2019_09_01.models.VpnPacketCaptureStartParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -2119,7 +2119,7 @@ async def _stop_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -2150,8 +2150,8 @@ async def begin_stop_packet_capture( :type parameters: ~azure.mgmt.network.v2019_09_01.models.VpnPacketCaptureStopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -2268,8 +2268,8 @@ async def begin_get_vpnclient_connection_health( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnClientConnectionHealthDetailListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_virtual_network_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_virtual_network_peerings_operations.py index 099215c51550..4c3a4321098b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_virtual_network_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_virtual_network_peerings_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type virtual_network_peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -300,8 +300,8 @@ async def begin_create_or_update( :type virtual_network_peering_parameters: ~azure.mgmt.network.v2019_09_01.models.VirtualNetworkPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_virtual_network_taps_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_virtual_network_taps_operations.py index 9960ab780eba..c2981d25c953 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_virtual_network_taps_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_virtual_network_taps_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type tap_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -283,8 +283,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_09_01.models.VirtualNetworkTap :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkTap or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_virtual_networks_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_virtual_networks_operations.py index 1e1cc99ad752..e89fa1339069 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_virtual_networks_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_virtual_networks_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type virtual_network_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -288,8 +288,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_09_01.models.VirtualNetwork :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetwork or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_virtual_router_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_virtual_router_peerings_operations.py index 3705215dd1b9..faf3cf2b8c75 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_virtual_router_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_virtual_router_peerings_operations.py @@ -82,7 +82,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -107,8 +107,8 @@ async def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -211,7 +211,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualRouterPeering', pipeline_response) @@ -267,7 +267,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -303,8 +303,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_09_01.models.VirtualRouterPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualRouterPeering or the result of cls(response) @@ -423,7 +423,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_virtual_routers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_virtual_routers_operations.py index 6f1d807bcddf..90c4dda54ed9 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_virtual_routers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_virtual_routers_operations.py @@ -80,7 +80,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -102,8 +102,8 @@ async def begin_delete( :type virtual_router_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -205,7 +205,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualRouter', pipeline_response) @@ -259,7 +259,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -291,8 +291,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_09_01.models.VirtualRouter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualRouter or the result of cls(response) @@ -405,7 +405,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -472,7 +472,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_virtual_wans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_virtual_wans_operations.py index 17f47438e1ea..10f474e224c3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_virtual_wans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_virtual_wans_operations.py @@ -175,8 +175,8 @@ async def begin_create_or_update( :type wan_parameters: ~azure.mgmt.network.v2019_09_01.models.VirtualWAN :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualWAN or the result of cls(response) @@ -353,8 +353,8 @@ async def begin_delete( :type virtual_wan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_vpn_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_vpn_connections_operations.py index 5f3f11ab0cb9..6204bd22d6e0 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_vpn_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_vpn_connections_operations.py @@ -185,8 +185,8 @@ async def begin_create_or_update( :type vpn_connection_parameters: ~azure.mgmt.network.v2019_09_01.models.VpnConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnConnection or the result of cls(response) @@ -304,8 +304,8 @@ async def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_vpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_vpn_gateways_operations.py index 929d0e9db3a1..59cea7e618a1 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_vpn_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_vpn_gateways_operations.py @@ -176,8 +176,8 @@ async def begin_create_or_update( :type vpn_gateway_parameters: ~azure.mgmt.network.v2019_09_01.models.VpnGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnGateway or the result of cls(response) @@ -354,8 +354,8 @@ async def begin_delete( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -467,8 +467,8 @@ async def begin_reset( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnGateway or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py index 7e10fd335dce..96b038b962ad 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py @@ -106,8 +106,8 @@ async def begin_list( :type virtual_wan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnServerConfigurationsResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_vpn_server_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_vpn_server_configurations_operations.py index c09cf6f28c4d..83b58e555483 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_vpn_server_configurations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_vpn_server_configurations_operations.py @@ -178,8 +178,8 @@ async def begin_create_or_update( :type vpn_server_configuration_parameters: ~azure.mgmt.network.v2019_09_01.models.VpnServerConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnServerConfiguration or the result of cls(response) @@ -357,8 +357,8 @@ async def begin_delete( :type vpn_server_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_vpn_sites_configuration_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_vpn_sites_configuration_operations.py index 3da79e342ff3..18178253c547 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_vpn_sites_configuration_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_vpn_sites_configuration_operations.py @@ -110,8 +110,8 @@ async def begin_download( :type request: ~azure.mgmt.network.v2019_09_01.models.GetVpnSitesConfigurationRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_vpn_sites_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_vpn_sites_operations.py index a52bb967bc5b..63978d7844cf 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_vpn_sites_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_vpn_sites_operations.py @@ -175,8 +175,8 @@ async def begin_create_or_update( :type vpn_site_parameters: ~azure.mgmt.network.v2019_09_01.models.VpnSite :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnSite or the result of cls(response) @@ -353,8 +353,8 @@ async def begin_delete( :type vpn_site_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_web_application_firewall_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_web_application_firewall_policies_operations.py index 1ef4c9d4f88f..c6d2c0a3c628 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_web_application_firewall_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/aio/operations/_web_application_firewall_policies_operations.py @@ -365,8 +365,8 @@ async def begin_delete( :type policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/models/_models.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/models/_models.py index 7f41b0a803b1..c4cd0c13e2b0 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/models/_models.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/models/_models.py @@ -129,58 +129,55 @@ class ApplicationGateway(Resource): :vartype operational_state: str or ~azure.mgmt.network.v2019_09_01.models.ApplicationGatewayOperationalState :param gateway_ip_configurations: Subnets of the application gateway resource. For default - limits, see `Application Gateway limits `_. + limits, see `Application Gateway limits + `_. :type gateway_ip_configurations: list[~azure.mgmt.network.v2019_09_01.models.ApplicationGatewayIPConfiguration] :param authentication_certificates: Authentication certificates of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type authentication_certificates: list[~azure.mgmt.network.v2019_09_01.models.ApplicationGatewayAuthenticationCertificate] :param trusted_root_certificates: Trusted Root certificates of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type trusted_root_certificates: list[~azure.mgmt.network.v2019_09_01.models.ApplicationGatewayTrustedRootCertificate] :param ssl_certificates: SSL certificates of the application gateway resource. For default - limits, see `Application Gateway limits `_. + limits, see `Application Gateway limits + `_. :type ssl_certificates: list[~azure.mgmt.network.v2019_09_01.models.ApplicationGatewaySslCertificate] :param frontend_ip_configurations: Frontend IP addresses of the application gateway resource. - For default limits, see `Application Gateway limits `_. + For default limits, see `Application Gateway limits + `_. :type frontend_ip_configurations: list[~azure.mgmt.network.v2019_09_01.models.ApplicationGatewayFrontendIPConfiguration] :param frontend_ports: Frontend ports of the application gateway resource. For default limits, - see `Application Gateway limits `_. + see `Application Gateway limits + `_. :type frontend_ports: list[~azure.mgmt.network.v2019_09_01.models.ApplicationGatewayFrontendPort] :param probes: Probes of the application gateway resource. :type probes: list[~azure.mgmt.network.v2019_09_01.models.ApplicationGatewayProbe] :param backend_address_pools: Backend address pool of the application gateway resource. For - default limits, see `Application Gateway limits `_. + default limits, see `Application Gateway limits + `_. :type backend_address_pools: list[~azure.mgmt.network.v2019_09_01.models.ApplicationGatewayBackendAddressPool] :param backend_http_settings_collection: Backend http settings of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type backend_http_settings_collection: list[~azure.mgmt.network.v2019_09_01.models.ApplicationGatewayBackendHttpSettings] :param http_listeners: Http listeners of the application gateway resource. For default limits, - see `Application Gateway limits `_. + see `Application Gateway limits + `_. :type http_listeners: list[~azure.mgmt.network.v2019_09_01.models.ApplicationGatewayHttpListener] :param url_path_maps: URL path map of the application gateway resource. For default limits, see - `Application Gateway limits `_. + `Application Gateway limits + `_. :type url_path_maps: list[~azure.mgmt.network.v2019_09_01.models.ApplicationGatewayUrlPathMap] :param request_routing_rules: Request routing rules of the application gateway resource. :type request_routing_rules: @@ -189,8 +186,8 @@ class ApplicationGateway(Resource): :type rewrite_rule_sets: list[~azure.mgmt.network.v2019_09_01.models.ApplicationGatewayRewriteRuleSet] :param redirect_configurations: Redirect configurations of the application gateway resource. - For default limits, see `Application Gateway limits `_. + For default limits, see `Application Gateway limits + `_. :type redirect_configurations: list[~azure.mgmt.network.v2019_09_01.models.ApplicationGatewayRedirectConfiguration] :param web_application_firewall_configuration: Web application firewall configuration. @@ -1781,7 +1778,7 @@ class ApplicationGatewayRewriteRuleCondition(msrest.serialization.Model): :param pattern: The pattern, either fixed string or regular expression, that evaluates the truthfulness of the condition. :type pattern: str - :param ignore_case: Setting this paramter to truth value with force the pattern to do a case + :param ignore_case: Setting this parameter to truth value with force the pattern to do a case in-sensitive comparison. :type ignore_case: bool :param negate: Setting this value as truth will force to check the negation of the condition @@ -3741,7 +3738,7 @@ class BastionActiveSession(msrest.serialization.Model): :ivar session_id: A unique id for the session. :vartype session_id: str :ivar start_time: The time when the session started. - :vartype start_time: object + :vartype start_time: str :ivar target_subscription_id: The subscription id for the target virtual machine. :vartype target_subscription_id: str :ivar resource_type: The type of the resource. @@ -3779,7 +3776,7 @@ class BastionActiveSession(msrest.serialization.Model): _attribute_map = { 'session_id': {'key': 'sessionId', 'type': 'str'}, - 'start_time': {'key': 'startTime', 'type': 'object'}, + 'start_time': {'key': 'startTime', 'type': 'str'}, 'target_subscription_id': {'key': 'targetSubscriptionId', 'type': 'str'}, 'resource_type': {'key': 'resourceType', 'type': 'str'}, 'target_host_name': {'key': 'targetHostName', 'type': 'str'}, @@ -4036,7 +4033,7 @@ class BastionShareableLink(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param vm: Required. Reference of the virtual machine resource. - :type vm: ~azure.mgmt.network.v2019_09_01.models.Resource + :type vm: ~azure.mgmt.network.v2019_09_01.models.VM :ivar bsl: The unique Bastion Shareable Link to the virtual machine. :vartype bsl: str :ivar created_at: The time when the link was created. @@ -4054,7 +4051,7 @@ class BastionShareableLink(msrest.serialization.Model): } _attribute_map = { - 'vm': {'key': 'vm', 'type': 'Resource'}, + 'vm': {'key': 'vm', 'type': 'VM'}, 'bsl': {'key': 'bsl', 'type': 'str'}, 'created_at': {'key': 'createdAt', 'type': 'str'}, 'message': {'key': 'message', 'type': 'str'}, @@ -5125,7 +5122,7 @@ class ContainerNetworkInterface(SubResource): ~azure.mgmt.network.v2019_09_01.models.ContainerNetworkInterfaceConfiguration :param container: Reference to the container to which this container network interface is attached. - :type container: ~azure.mgmt.network.v2019_09_01.models.SubResource + :type container: ~azure.mgmt.network.v2019_09_01.models.Container :ivar ip_configurations: Reference to the ip configuration on this container nic. :vartype ip_configurations: list[~azure.mgmt.network.v2019_09_01.models.ContainerNetworkInterfaceIpConfiguration] @@ -5148,7 +5145,7 @@ class ContainerNetworkInterface(SubResource): 'type': {'key': 'type', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, 'container_network_interface_configuration': {'key': 'properties.containerNetworkInterfaceConfiguration', 'type': 'ContainerNetworkInterfaceConfiguration'}, - 'container': {'key': 'properties.container', 'type': 'SubResource'}, + 'container': {'key': 'properties.container', 'type': 'Container'}, 'ip_configurations': {'key': 'properties.ipConfigurations', 'type': '[ContainerNetworkInterfaceIpConfiguration]'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, } @@ -12210,8 +12207,8 @@ class PacketCaptureStorageLocation(msrest.serialization.Model): :param storage_id: The ID of the storage account to save the packet capture session. Required if no local file path is provided. :type storage_id: str - :param storage_path: The URI of the storage path to save the packet capture. Must be a well- - formed URI describing the location to save the packet capture. + :param storage_path: The URI of the storage path to save the packet capture. Must be a + well-formed URI describing the location to save the packet capture. :type storage_path: str :param file_path: A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no @@ -12739,9 +12736,10 @@ class PrivateLinkService(Resource): :vartype private_endpoint_connections: list[~azure.mgmt.network.v2019_09_01.models.PrivateEndpointConnection] :param visibility: The visibility list of the private link service. - :type visibility: ~azure.mgmt.network.v2019_09_01.models.ResourceSet + :type visibility: ~azure.mgmt.network.v2019_09_01.models.PrivateLinkServicePropertiesVisibility :param auto_approval: The auto-approval list of the private link service. - :type auto_approval: ~azure.mgmt.network.v2019_09_01.models.ResourceSet + :type auto_approval: + ~azure.mgmt.network.v2019_09_01.models.PrivateLinkServicePropertiesAutoApproval :param fqdns: The list of Fqdn. :type fqdns: list[str] :ivar alias: The alias of the private link service. @@ -12773,8 +12771,8 @@ class PrivateLinkService(Resource): 'network_interfaces': {'key': 'properties.networkInterfaces', 'type': '[NetworkInterface]'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'private_endpoint_connections': {'key': 'properties.privateEndpointConnections', 'type': '[PrivateEndpointConnection]'}, - 'visibility': {'key': 'properties.visibility', 'type': 'ResourceSet'}, - 'auto_approval': {'key': 'properties.autoApproval', 'type': 'ResourceSet'}, + 'visibility': {'key': 'properties.visibility', 'type': 'PrivateLinkServicePropertiesVisibility'}, + 'auto_approval': {'key': 'properties.autoApproval', 'type': 'PrivateLinkServicePropertiesAutoApproval'}, 'fqdns': {'key': 'properties.fqdns', 'type': '[str]'}, 'alias': {'key': 'properties.alias', 'type': 'str'}, 'enable_proxy_protocol': {'key': 'properties.enableProxyProtocol', 'type': 'bool'}, @@ -16511,8 +16509,8 @@ class VirtualNetworkPeering(SubResource): :type use_remote_gateways: bool :param remote_virtual_network: The reference of the remote virtual network. The remote virtual network can be in the same or different region (preview). See here to register for the preview - and learn more (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create- - peering). + and learn more + (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering). :type remote_virtual_network: ~azure.mgmt.network.v2019_09_01.models.SubResource :param remote_address_space: The reference of the remote virtual network address space. :type remote_address_space: ~azure.mgmt.network.v2019_09_01.models.AddressSpace diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/models/_models_py3.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/models/_models_py3.py index 58d439c9ca9c..888faa89a4b7 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/models/_models_py3.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/models/_models_py3.py @@ -144,58 +144,55 @@ class ApplicationGateway(Resource): :vartype operational_state: str or ~azure.mgmt.network.v2019_09_01.models.ApplicationGatewayOperationalState :param gateway_ip_configurations: Subnets of the application gateway resource. For default - limits, see `Application Gateway limits `_. + limits, see `Application Gateway limits + `_. :type gateway_ip_configurations: list[~azure.mgmt.network.v2019_09_01.models.ApplicationGatewayIPConfiguration] :param authentication_certificates: Authentication certificates of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type authentication_certificates: list[~azure.mgmt.network.v2019_09_01.models.ApplicationGatewayAuthenticationCertificate] :param trusted_root_certificates: Trusted Root certificates of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type trusted_root_certificates: list[~azure.mgmt.network.v2019_09_01.models.ApplicationGatewayTrustedRootCertificate] :param ssl_certificates: SSL certificates of the application gateway resource. For default - limits, see `Application Gateway limits `_. + limits, see `Application Gateway limits + `_. :type ssl_certificates: list[~azure.mgmt.network.v2019_09_01.models.ApplicationGatewaySslCertificate] :param frontend_ip_configurations: Frontend IP addresses of the application gateway resource. - For default limits, see `Application Gateway limits `_. + For default limits, see `Application Gateway limits + `_. :type frontend_ip_configurations: list[~azure.mgmt.network.v2019_09_01.models.ApplicationGatewayFrontendIPConfiguration] :param frontend_ports: Frontend ports of the application gateway resource. For default limits, - see `Application Gateway limits `_. + see `Application Gateway limits + `_. :type frontend_ports: list[~azure.mgmt.network.v2019_09_01.models.ApplicationGatewayFrontendPort] :param probes: Probes of the application gateway resource. :type probes: list[~azure.mgmt.network.v2019_09_01.models.ApplicationGatewayProbe] :param backend_address_pools: Backend address pool of the application gateway resource. For - default limits, see `Application Gateway limits `_. + default limits, see `Application Gateway limits + `_. :type backend_address_pools: list[~azure.mgmt.network.v2019_09_01.models.ApplicationGatewayBackendAddressPool] :param backend_http_settings_collection: Backend http settings of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type backend_http_settings_collection: list[~azure.mgmt.network.v2019_09_01.models.ApplicationGatewayBackendHttpSettings] :param http_listeners: Http listeners of the application gateway resource. For default limits, - see `Application Gateway limits `_. + see `Application Gateway limits + `_. :type http_listeners: list[~azure.mgmt.network.v2019_09_01.models.ApplicationGatewayHttpListener] :param url_path_maps: URL path map of the application gateway resource. For default limits, see - `Application Gateway limits `_. + `Application Gateway limits + `_. :type url_path_maps: list[~azure.mgmt.network.v2019_09_01.models.ApplicationGatewayUrlPathMap] :param request_routing_rules: Request routing rules of the application gateway resource. :type request_routing_rules: @@ -204,8 +201,8 @@ class ApplicationGateway(Resource): :type rewrite_rule_sets: list[~azure.mgmt.network.v2019_09_01.models.ApplicationGatewayRewriteRuleSet] :param redirect_configurations: Redirect configurations of the application gateway resource. - For default limits, see `Application Gateway limits `_. + For default limits, see `Application Gateway limits + `_. :type redirect_configurations: list[~azure.mgmt.network.v2019_09_01.models.ApplicationGatewayRedirectConfiguration] :param web_application_firewall_configuration: Web application firewall configuration. @@ -2009,7 +2006,7 @@ class ApplicationGatewayRewriteRuleCondition(msrest.serialization.Model): :param pattern: The pattern, either fixed string or regular expression, that evaluates the truthfulness of the condition. :type pattern: str - :param ignore_case: Setting this paramter to truth value with force the pattern to do a case + :param ignore_case: Setting this parameter to truth value with force the pattern to do a case in-sensitive comparison. :type ignore_case: bool :param negate: Setting this value as truth will force to check the negation of the condition @@ -4206,7 +4203,7 @@ class BastionActiveSession(msrest.serialization.Model): :ivar session_id: A unique id for the session. :vartype session_id: str :ivar start_time: The time when the session started. - :vartype start_time: object + :vartype start_time: str :ivar target_subscription_id: The subscription id for the target virtual machine. :vartype target_subscription_id: str :ivar resource_type: The type of the resource. @@ -4244,7 +4241,7 @@ class BastionActiveSession(msrest.serialization.Model): _attribute_map = { 'session_id': {'key': 'sessionId', 'type': 'str'}, - 'start_time': {'key': 'startTime', 'type': 'object'}, + 'start_time': {'key': 'startTime', 'type': 'str'}, 'target_subscription_id': {'key': 'targetSubscriptionId', 'type': 'str'}, 'resource_type': {'key': 'resourceType', 'type': 'str'}, 'target_host_name': {'key': 'targetHostName', 'type': 'str'}, @@ -4522,7 +4519,7 @@ class BastionShareableLink(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param vm: Required. Reference of the virtual machine resource. - :type vm: ~azure.mgmt.network.v2019_09_01.models.Resource + :type vm: ~azure.mgmt.network.v2019_09_01.models.VM :ivar bsl: The unique Bastion Shareable Link to the virtual machine. :vartype bsl: str :ivar created_at: The time when the link was created. @@ -4540,7 +4537,7 @@ class BastionShareableLink(msrest.serialization.Model): } _attribute_map = { - 'vm': {'key': 'vm', 'type': 'Resource'}, + 'vm': {'key': 'vm', 'type': 'VM'}, 'bsl': {'key': 'bsl', 'type': 'str'}, 'created_at': {'key': 'createdAt', 'type': 'str'}, 'message': {'key': 'message', 'type': 'str'}, @@ -4549,7 +4546,7 @@ class BastionShareableLink(msrest.serialization.Model): def __init__( self, *, - vm: "Resource", + vm: "VM", **kwargs ): super(BastionShareableLink, self).__init__(**kwargs) @@ -5718,7 +5715,7 @@ class ContainerNetworkInterface(SubResource): ~azure.mgmt.network.v2019_09_01.models.ContainerNetworkInterfaceConfiguration :param container: Reference to the container to which this container network interface is attached. - :type container: ~azure.mgmt.network.v2019_09_01.models.SubResource + :type container: ~azure.mgmt.network.v2019_09_01.models.Container :ivar ip_configurations: Reference to the ip configuration on this container nic. :vartype ip_configurations: list[~azure.mgmt.network.v2019_09_01.models.ContainerNetworkInterfaceIpConfiguration] @@ -5741,7 +5738,7 @@ class ContainerNetworkInterface(SubResource): 'type': {'key': 'type', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, 'container_network_interface_configuration': {'key': 'properties.containerNetworkInterfaceConfiguration', 'type': 'ContainerNetworkInterfaceConfiguration'}, - 'container': {'key': 'properties.container', 'type': 'SubResource'}, + 'container': {'key': 'properties.container', 'type': 'Container'}, 'ip_configurations': {'key': 'properties.ipConfigurations', 'type': '[ContainerNetworkInterfaceIpConfiguration]'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, } @@ -5751,7 +5748,7 @@ def __init__( *, id: Optional[str] = None, name: Optional[str] = None, - container: Optional["SubResource"] = None, + container: Optional["Container"] = None, **kwargs ): super(ContainerNetworkInterface, self).__init__(id=id, **kwargs) @@ -13594,8 +13591,8 @@ class PacketCaptureStorageLocation(msrest.serialization.Model): :param storage_id: The ID of the storage account to save the packet capture session. Required if no local file path is provided. :type storage_id: str - :param storage_path: The URI of the storage path to save the packet capture. Must be a well- - formed URI describing the location to save the packet capture. + :param storage_path: The URI of the storage path to save the packet capture. Must be a + well-formed URI describing the location to save the packet capture. :type storage_path: str :param file_path: A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no @@ -14171,9 +14168,10 @@ class PrivateLinkService(Resource): :vartype private_endpoint_connections: list[~azure.mgmt.network.v2019_09_01.models.PrivateEndpointConnection] :param visibility: The visibility list of the private link service. - :type visibility: ~azure.mgmt.network.v2019_09_01.models.ResourceSet + :type visibility: ~azure.mgmt.network.v2019_09_01.models.PrivateLinkServicePropertiesVisibility :param auto_approval: The auto-approval list of the private link service. - :type auto_approval: ~azure.mgmt.network.v2019_09_01.models.ResourceSet + :type auto_approval: + ~azure.mgmt.network.v2019_09_01.models.PrivateLinkServicePropertiesAutoApproval :param fqdns: The list of Fqdn. :type fqdns: list[str] :ivar alias: The alias of the private link service. @@ -14205,8 +14203,8 @@ class PrivateLinkService(Resource): 'network_interfaces': {'key': 'properties.networkInterfaces', 'type': '[NetworkInterface]'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'private_endpoint_connections': {'key': 'properties.privateEndpointConnections', 'type': '[PrivateEndpointConnection]'}, - 'visibility': {'key': 'properties.visibility', 'type': 'ResourceSet'}, - 'auto_approval': {'key': 'properties.autoApproval', 'type': 'ResourceSet'}, + 'visibility': {'key': 'properties.visibility', 'type': 'PrivateLinkServicePropertiesVisibility'}, + 'auto_approval': {'key': 'properties.autoApproval', 'type': 'PrivateLinkServicePropertiesAutoApproval'}, 'fqdns': {'key': 'properties.fqdns', 'type': '[str]'}, 'alias': {'key': 'properties.alias', 'type': 'str'}, 'enable_proxy_protocol': {'key': 'properties.enableProxyProtocol', 'type': 'bool'}, @@ -14220,8 +14218,8 @@ def __init__( tags: Optional[Dict[str, str]] = None, load_balancer_frontend_ip_configurations: Optional[List["FrontendIPConfiguration"]] = None, ip_configurations: Optional[List["PrivateLinkServiceIpConfiguration"]] = None, - visibility: Optional["ResourceSet"] = None, - auto_approval: Optional["ResourceSet"] = None, + visibility: Optional["PrivateLinkServicePropertiesVisibility"] = None, + auto_approval: Optional["PrivateLinkServicePropertiesAutoApproval"] = None, fqdns: Optional[List[str]] = None, enable_proxy_protocol: Optional[bool] = None, **kwargs @@ -18358,8 +18356,8 @@ class VirtualNetworkPeering(SubResource): :type use_remote_gateways: bool :param remote_virtual_network: The reference of the remote virtual network. The remote virtual network can be in the same or different region (preview). See here to register for the preview - and learn more (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create- - peering). + and learn more + (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering). :type remote_virtual_network: ~azure.mgmt.network.v2019_09_01.models.SubResource :param remote_address_space: The reference of the remote virtual network address space. :type remote_address_space: ~azure.mgmt.network.v2019_09_01.models.AddressSpace diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_application_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_application_gateways_operations.py index becfe8bb311b..acbeb4126b8e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_application_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_application_gateways_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -292,8 +292,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_09_01.models.ApplicationGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGateway or the result of cls(response) @@ -611,8 +611,8 @@ def begin_start( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -721,8 +721,8 @@ def begin_stop( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -842,8 +842,8 @@ def begin_backend_health( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGatewayBackendHealth or the result of cls(response) @@ -977,8 +977,8 @@ def begin_backend_health_on_demand( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGatewayBackendHealthOnDemand or the result of cls(response) @@ -1073,7 +1073,7 @@ def list_available_server_variables( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) @@ -1125,7 +1125,7 @@ def list_available_request_headers( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) @@ -1177,7 +1177,7 @@ def list_available_response_headers( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_application_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_application_security_groups_operations.py index 9d83a8e751b9..0fe5acc73dbb 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_application_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_application_security_groups_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type application_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -293,8 +293,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_09_01.models.ApplicationSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_azure_firewalls_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_azure_firewalls_operations.py index 7e1d685aa123..427e2973aed4 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_azure_firewalls_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_azure_firewalls_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type azure_firewall_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -292,8 +292,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_09_01.models.AzureFirewall :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AzureFirewall or the result of cls(response) @@ -420,8 +420,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_09_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AzureFirewall or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_bastion_hosts_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_bastion_hosts_operations.py index 492e83351a84..0c6c9c915263 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_bastion_hosts_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_bastion_hosts_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type bastion_host_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -292,8 +292,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_09_01.models.BastionHost :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either BastionHost or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_connection_monitors_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_connection_monitors_operations.py index 22231ee3d2ca..3fd439b62977 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_connection_monitors_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_connection_monitors_operations.py @@ -93,7 +93,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -129,8 +129,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_09_01.models.ConnectionMonitor :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionMonitorResult or the result of cls(response) @@ -238,7 +238,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('ConnectionMonitorResult', pipeline_response) @@ -289,7 +289,7 @@ def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -315,8 +315,8 @@ def begin_delete( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -428,7 +428,7 @@ def update_tags( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('ConnectionMonitorResult', pipeline_response) @@ -479,7 +479,7 @@ def _stop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -505,8 +505,8 @@ def begin_stop( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -597,7 +597,7 @@ def _start_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -623,8 +623,8 @@ def begin_start( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -715,7 +715,7 @@ def _query_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -748,8 +748,8 @@ def begin_query( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionMonitorQueryResult or the result of cls(response) @@ -868,7 +868,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_ddos_custom_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_ddos_custom_policies_operations.py index f06b2e652779..5bb061644d45 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_ddos_custom_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_ddos_custom_policies_operations.py @@ -106,8 +106,8 @@ def begin_delete( :type ddos_custom_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -291,8 +291,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_09_01.models.DdosCustomPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either DdosCustomPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_ddos_protection_plans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_ddos_protection_plans_operations.py index a657979beae4..ad92ac7b805a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_ddos_protection_plans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_ddos_protection_plans_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type ddos_protection_plan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -292,8 +292,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_09_01.models.DdosProtectionPlan :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either DdosProtectionPlan or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_express_route_circuit_authorizations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_express_route_circuit_authorizations_operations.py index fe033b9a3a01..4b62e17287fb 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_express_route_circuit_authorizations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_express_route_circuit_authorizations_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type authorization_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -309,8 +309,8 @@ def begin_create_or_update( :type authorization_parameters: ~azure.mgmt.network.v2019_09_01.models.ExpressRouteCircuitAuthorization :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitAuthorization or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_express_route_circuit_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_express_route_circuit_connections_operations.py index ca1d508a4850..742cdb1c4b43 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_express_route_circuit_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_express_route_circuit_connections_operations.py @@ -118,8 +118,8 @@ def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -326,8 +326,8 @@ def begin_create_or_update( :type express_route_circuit_connection_parameters: ~azure.mgmt.network.v2019_09_01.models.ExpressRouteCircuitConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitConnection or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_express_route_circuit_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_express_route_circuit_peerings_operations.py index c443b2d63ccd..f42452a2cddd 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_express_route_circuit_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_express_route_circuit_peerings_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -309,8 +309,8 @@ def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2019_09_01.models.ExpressRouteCircuitPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_express_route_circuits_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_express_route_circuits_operations.py index 3431116bd0fd..acd7cbdd407e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_express_route_circuits_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_express_route_circuits_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type circuit_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -292,8 +292,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_09_01.models.ExpressRouteCircuit :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -489,8 +489,8 @@ def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -622,8 +622,8 @@ def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) @@ -755,8 +755,8 @@ def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableSummaryListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_express_route_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_express_route_connections_operations.py index b438f43bc0be..4fafd5645bb6 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_express_route_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_express_route_connections_operations.py @@ -128,8 +128,8 @@ def begin_create_or_update( :type put_express_route_connection_parameters: ~azure.mgmt.network.v2019_09_01.models.ExpressRouteConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteConnection or the result of cls(response) @@ -312,8 +312,8 @@ def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_express_route_cross_connection_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_express_route_cross_connection_peerings_operations.py index 167d99ec5cf4..aa96f76cdb5a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_express_route_cross_connection_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_express_route_cross_connection_peerings_operations.py @@ -187,8 +187,8 @@ def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -384,8 +384,8 @@ def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2019_09_01.models.ExpressRouteCrossConnectionPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCrossConnectionPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_express_route_cross_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_express_route_cross_connections_operations.py index 43a2add7b15c..2f0e4e5b13fb 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_express_route_cross_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_express_route_cross_connections_operations.py @@ -317,8 +317,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_09_01.models.ExpressRouteCrossConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCrossConnection or the result of cls(response) @@ -515,8 +515,8 @@ def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -648,8 +648,8 @@ def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCrossConnectionsRoutesTableSummaryListResult or the result of cls(response) @@ -781,8 +781,8 @@ def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_express_route_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_express_route_gateways_operations.py index 191b5256d1fe..2cf3b53dc7dc 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_express_route_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_express_route_gateways_operations.py @@ -229,8 +229,8 @@ def begin_create_or_update( :type put_express_route_gateway_parameters: ~azure.mgmt.network.v2019_09_01.models.ExpressRouteGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteGateway or the result of cls(response) @@ -403,8 +403,8 @@ def begin_delete( :type express_route_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_express_route_ports_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_express_route_ports_operations.py index 5cb89375b764..12295130872d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_express_route_ports_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_express_route_ports_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type express_route_port_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -292,8 +292,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_09_01.models.ExpressRoutePort :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRoutePort or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_firewall_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_firewall_policies_operations.py index e86a03201f59..c3f299ccf4c5 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_firewall_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_firewall_policies_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type firewall_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_09_01.models.FirewallPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FirewallPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_firewall_policy_rule_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_firewall_policy_rule_groups_operations.py index b68950addab0..754e43e50a39 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_firewall_policy_rule_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_firewall_policy_rule_groups_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type rule_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -309,8 +309,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_09_01.models.FirewallPolicyRuleGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FirewallPolicyRuleGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_inbound_nat_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_inbound_nat_rules_operations.py index deb843b62f14..b4e6af0f53f6 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_inbound_nat_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_inbound_nat_rules_operations.py @@ -187,8 +187,8 @@ def begin_delete( :type inbound_nat_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -389,8 +389,8 @@ def begin_create_or_update( :type inbound_nat_rule_parameters: ~azure.mgmt.network.v2019_09_01.models.InboundNatRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either InboundNatRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_ip_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_ip_groups_operations.py index 9e4a837ff3bc..c9cd491bb9d2 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_ip_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_ip_groups_operations.py @@ -102,7 +102,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('IpGroup', pipeline_response) @@ -157,7 +157,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -190,8 +190,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_09_01.models.IpGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either IpGroup or the result of cls(response) @@ -301,7 +301,7 @@ def update_groups( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('IpGroup', pipeline_response) @@ -350,7 +350,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -373,8 +373,8 @@ def begin_delete( :type ip_groups_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -484,7 +484,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -552,7 +552,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_load_balancers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_load_balancers_operations.py index 406b8fe4f7f7..8ee93cf35f11 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_load_balancers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_load_balancers_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type load_balancer_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_09_01.models.LoadBalancer :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LoadBalancer or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_local_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_local_network_gateways_operations.py index 61d66c277caa..4100b2eb6749 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_local_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_local_network_gateways_operations.py @@ -123,8 +123,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_09_01.models.LocalNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LocalNetworkGateway or the result of cls(response) @@ -296,8 +296,8 @@ def begin_delete( :type local_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_nat_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_nat_gateways_operations.py index 809e070a5da6..a176402f9a7d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_nat_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_nat_gateways_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type nat_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -300,8 +300,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_09_01.models.NatGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NatGateway or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_network_interface_tap_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_network_interface_tap_configurations_operations.py index 433435c1000d..5860323b1678 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_network_interface_tap_configurations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_network_interface_tap_configurations_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type tap_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -309,8 +309,8 @@ def begin_create_or_update( :type tap_configuration_parameters: ~azure.mgmt.network.v2019_09_01.models.NetworkInterfaceTapConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkInterfaceTapConfiguration or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_network_interfaces_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_network_interfaces_operations.py index 622523ca56d6..d54d7f569985 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_network_interfaces_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_network_interfaces_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_09_01.models.NetworkInterface :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkInterface or the result of cls(response) @@ -621,8 +621,8 @@ def begin_get_effective_route_table( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either EffectiveRouteListResult or the result of cls(response) @@ -739,8 +739,8 @@ def begin_list_effective_network_security_groups( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either EffectiveNetworkSecurityGroupListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_network_management_client_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_network_management_client_operations.py index 89bef24a9bba..da0a5481260a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_network_management_client_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_network_management_client_operations.py @@ -101,8 +101,8 @@ def begin_put_bastion_shareable_link( :type bsl_request: ~azure.mgmt.network.v2019_09_01.models.BastionShareableLinkListRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns an iterator like instance of either BastionShareableLinkListResult or the result of cls(response) @@ -286,8 +286,8 @@ def begin_delete_bastion_shareable_link( :type bsl_request: ~azure.mgmt.network.v2019_09_01.models.BastionShareableLinkListRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -488,8 +488,8 @@ def begin_get_active_sessions( :type bastion_host_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns an iterator like instance of either BastionActiveSessionListResult or the result of cls(response) @@ -878,8 +878,8 @@ def begin_generatevirtualwanvpnserverconfigurationvpnprofile( :type vpn_client_params: ~azure.mgmt.network.v2019_09_01.models.VirtualWanVpnProfileParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnProfileResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_network_profiles_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_network_profiles_operations.py index 0d771cc3d342..931d7ae0af6b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_network_profiles_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_network_profiles_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type network_profile_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_network_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_network_security_groups_operations.py index b1e7f02c6288..ddc4e0872425 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_network_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_network_security_groups_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type network_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_09_01.models.NetworkSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_network_watchers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_network_watchers_operations.py index a604b8761aa2..293399aacb57 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_network_watchers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_network_watchers_operations.py @@ -104,7 +104,7 @@ def create_or_update( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -168,7 +168,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('NetworkWatcher', pipeline_response) @@ -217,7 +217,7 @@ def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -240,8 +240,8 @@ def begin_delete( :type network_watcher_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -347,7 +347,7 @@ def update_tags( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('NetworkWatcher', pipeline_response) @@ -419,7 +419,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -487,7 +487,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -555,7 +555,7 @@ def get_topology( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('Topology', pipeline_response) @@ -610,7 +610,7 @@ def _verify_ip_flow_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -643,8 +643,8 @@ def begin_verify_ip_flow( :type parameters: ~azure.mgmt.network.v2019_09_01.models.VerificationIPFlowParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VerificationIPFlowResult or the result of cls(response) @@ -741,7 +741,7 @@ def _get_next_hop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -774,8 +774,8 @@ def begin_get_next_hop( :type parameters: ~azure.mgmt.network.v2019_09_01.models.NextHopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NextHopResult or the result of cls(response) @@ -872,7 +872,7 @@ def _get_vm_security_rules_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -905,8 +905,8 @@ def begin_get_vm_security_rules( :type parameters: ~azure.mgmt.network.v2019_09_01.models.SecurityGroupViewParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either SecurityGroupViewResult or the result of cls(response) @@ -1003,7 +1003,7 @@ def _get_troubleshooting_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1036,8 +1036,8 @@ def begin_get_troubleshooting( :type parameters: ~azure.mgmt.network.v2019_09_01.models.TroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1134,7 +1134,7 @@ def _get_troubleshooting_result_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1167,8 +1167,8 @@ def begin_get_troubleshooting_result( :type parameters: ~azure.mgmt.network.v2019_09_01.models.QueryTroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1265,7 +1265,7 @@ def _set_flow_log_configuration_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1298,8 +1298,8 @@ def begin_set_flow_log_configuration( :type parameters: ~azure.mgmt.network.v2019_09_01.models.FlowLogInformation :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1396,7 +1396,7 @@ def _get_flow_log_status_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1430,8 +1430,8 @@ def begin_get_flow_log_status( :type parameters: ~azure.mgmt.network.v2019_09_01.models.FlowLogStatusParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1528,7 +1528,7 @@ def _check_connectivity_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1562,8 +1562,8 @@ def begin_check_connectivity( :type parameters: ~azure.mgmt.network.v2019_09_01.models.ConnectivityParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectivityInformation or the result of cls(response) @@ -1660,7 +1660,7 @@ def _get_azure_reachability_report_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1694,8 +1694,8 @@ def begin_get_azure_reachability_report( :type parameters: ~azure.mgmt.network.v2019_09_01.models.AzureReachabilityReportParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AzureReachabilityReport or the result of cls(response) @@ -1792,7 +1792,7 @@ def _list_available_providers_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1825,8 +1825,8 @@ def begin_list_available_providers( :type parameters: ~azure.mgmt.network.v2019_09_01.models.AvailableProvidersListParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AvailableProvidersList or the result of cls(response) @@ -1923,7 +1923,7 @@ def _get_network_configuration_diagnostic_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1960,8 +1960,8 @@ def begin_get_network_configuration_diagnostic( :type parameters: ~azure.mgmt.network.v2019_09_01.models.NetworkConfigurationDiagnosticParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkConfigurationDiagnosticResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_p2_svpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_p2_svpn_gateways_operations.py index 3dbdc0aba229..5e1a120d9030 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_p2_svpn_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_p2_svpn_gateways_operations.py @@ -183,8 +183,8 @@ def begin_create_or_update( :type p2_s_vpn_gateway_parameters: ~azure.mgmt.network.v2019_09_01.models.P2SVpnGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -365,8 +365,8 @@ def begin_delete( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -628,8 +628,8 @@ def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2019_09_01.models.P2SVpnProfileParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnProfileResponse or the result of cls(response) @@ -748,8 +748,8 @@ def begin_get_p2_s_vpn_connection_health( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -876,8 +876,8 @@ def begin_get_p2_s_vpn_connection_health_detailed( :type request: ~azure.mgmt.network.v2019_09_01.models.P2SVpnConnectionHealthRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either P2SVpnConnectionHealth or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_packet_captures_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_packet_captures_operations.py index 2fb999b7fbfb..b5e9ad29cdd0 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_packet_captures_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_packet_captures_operations.py @@ -93,7 +93,7 @@ def _create_initial( if response.status_code not in [201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PacketCaptureResult', pipeline_response) @@ -125,8 +125,8 @@ def begin_create( :type parameters: ~azure.mgmt.network.v2019_09_01.models.PacketCapture :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PacketCaptureResult or the result of cls(response) @@ -234,7 +234,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PacketCaptureResult', pipeline_response) @@ -285,7 +285,7 @@ def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -311,8 +311,8 @@ def begin_delete( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -403,7 +403,7 @@ def _stop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -429,8 +429,8 @@ def begin_stop( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -521,7 +521,7 @@ def _get_status_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -554,8 +554,8 @@ def begin_get_status( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PacketCaptureQueryStatusResult or the result of cls(response) @@ -674,7 +674,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_private_endpoints_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_private_endpoints_operations.py index 27147731e1d2..5f6cd106d741 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_private_endpoints_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_private_endpoints_operations.py @@ -85,7 +85,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -108,8 +108,8 @@ def begin_delete( :type private_endpoint_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -212,7 +212,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateEndpoint', pipeline_response) @@ -267,7 +267,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -300,8 +300,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_09_01.models.PrivateEndpoint :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PrivateEndpoint or the result of cls(response) @@ -415,7 +415,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -483,7 +483,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_private_link_services_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_private_link_services_operations.py index ef36510de2ab..408d1d6c8dd3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_private_link_services_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_private_link_services_operations.py @@ -85,7 +85,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -108,8 +108,8 @@ def begin_delete( :type service_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -212,7 +212,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateLinkService', pipeline_response) @@ -267,7 +267,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -300,8 +300,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_09_01.models.PrivateLinkService :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PrivateLinkService or the result of cls(response) @@ -415,7 +415,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -483,7 +483,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -553,7 +553,7 @@ def get_private_endpoint_connection( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateEndpointConnection', pipeline_response) @@ -625,7 +625,7 @@ def update_private_endpoint_connection( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateEndpointConnection', pipeline_response) @@ -676,7 +676,7 @@ def _delete_private_endpoint_connection_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -702,8 +702,8 @@ def begin_delete_private_endpoint_connection( :type pe_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -819,7 +819,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -899,8 +899,8 @@ def begin_check_private_link_service_visibility( :type parameters: ~azure.mgmt.network.v2019_09_01.models.CheckPrivateLinkServiceVisibilityRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PrivateLinkServiceVisibility or the result of cls(response) @@ -1026,8 +1026,8 @@ def begin_check_private_link_service_visibility_by_resource_group( :type parameters: ~azure.mgmt.network.v2019_09_01.models.CheckPrivateLinkServiceVisibilityRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PrivateLinkServiceVisibility or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_public_ip_addresses_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_public_ip_addresses_operations.py index c5ccbc49b9eb..afee166012a6 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_public_ip_addresses_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_public_ip_addresses_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type public_ip_address_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_09_01.models.PublicIPAddress :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PublicIPAddress or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_public_ip_prefixes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_public_ip_prefixes_operations.py index c380af3b455e..724503499f5a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_public_ip_prefixes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_public_ip_prefixes_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type public_ip_prefix_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_09_01.models.PublicIPPrefix :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PublicIPPrefix or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_route_filter_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_route_filter_rules_operations.py index 2dab7febc34a..0471e8d09551 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_route_filter_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_route_filter_rules_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -309,8 +309,8 @@ def begin_create_or_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2019_09_01.models.RouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilterRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_route_filters_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_route_filters_operations.py index 7c9670482c2f..ebe0f2dffd07 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_route_filters_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_route_filters_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type route_filter_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ def begin_create_or_update( :type route_filter_parameters: ~azure.mgmt.network.v2019_09_01.models.RouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilter or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_route_tables_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_route_tables_operations.py index 21f7578f06a4..05dbdc0c8ca3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_route_tables_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_route_tables_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_09_01.models.RouteTable :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteTable or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_routes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_routes_operations.py index 83773009f6be..595b48359972 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_routes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_routes_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type route_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -308,8 +308,8 @@ def begin_create_or_update( :type route_parameters: ~azure.mgmt.network.v2019_09_01.models.Route :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Route or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_security_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_security_rules_operations.py index 4d61465f90d6..208659bdd582 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_security_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_security_rules_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type security_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -309,8 +309,8 @@ def begin_create_or_update( :type security_rule_parameters: ~azure.mgmt.network.v2019_09_01.models.SecurityRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either SecurityRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_service_endpoint_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_service_endpoint_policies_operations.py index 818fdbcc4722..33aee1a83a30 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_service_endpoint_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_service_endpoint_policies_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type service_endpoint_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_09_01.models.ServiceEndpointPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ServiceEndpointPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_service_endpoint_policy_definitions_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_service_endpoint_policy_definitions_operations.py index e09afaa86d85..277f3502289e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_service_endpoint_policy_definitions_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_service_endpoint_policy_definitions_operations.py @@ -113,8 +113,8 @@ def begin_delete( :type service_endpoint_policy_definition_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -313,8 +313,8 @@ def begin_create_or_update( :type service_endpoint_policy_definitions: ~azure.mgmt.network.v2019_09_01.models.ServiceEndpointPolicyDefinition :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ServiceEndpointPolicyDefinition or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_subnets_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_subnets_operations.py index 35288d83dda9..4a43ad56a19b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_subnets_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_subnets_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type subnet_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -313,8 +313,8 @@ def begin_create_or_update( :type subnet_parameters: ~azure.mgmt.network.v2019_09_01.models.Subnet :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Subnet or the result of cls(response) @@ -444,8 +444,8 @@ def begin_prepare_network_policies( :type prepare_network_policies_request_parameters: ~azure.mgmt.network.v2019_09_01.models.PrepareNetworkPoliciesRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -572,8 +572,8 @@ def begin_unprepare_network_policies( :type unprepare_network_policies_request_parameters: ~azure.mgmt.network.v2019_09_01.models.UnprepareNetworkPoliciesRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_virtual_hub_route_table_v2_s_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_virtual_hub_route_table_v2_s_operations.py index 96a7ea39306c..48a0469e3d11 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_virtual_hub_route_table_v2_s_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_virtual_hub_route_table_v2_s_operations.py @@ -100,7 +100,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualHubRouteTableV2', pipeline_response) @@ -157,7 +157,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -195,8 +195,8 @@ def begin_create_or_update( :type virtual_hub_route_table_v2_parameters: ~azure.mgmt.network.v2019_09_01.models.VirtualHubRouteTableV2 :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualHubRouteTableV2 or the result of cls(response) @@ -291,7 +291,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -317,8 +317,8 @@ def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_virtual_hubs_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_virtual_hubs_operations.py index 7206a9fd173f..00743bd9fa25 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_virtual_hubs_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_virtual_hubs_operations.py @@ -182,8 +182,8 @@ def begin_create_or_update( :type virtual_hub_parameters: ~azure.mgmt.network.v2019_09_01.models.VirtualHub :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualHub or the result of cls(response) @@ -363,8 +363,8 @@ def begin_delete( :type virtual_hub_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_virtual_network_gateway_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_virtual_network_gateway_connections_operations.py index 43100c0f8160..72c18ecb0323 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_virtual_network_gateway_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_virtual_network_gateway_connections_operations.py @@ -125,8 +125,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_09_01.models.VirtualNetworkGatewayConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -300,8 +300,8 @@ def begin_delete( :type virtual_network_gateway_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -425,8 +425,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_09_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -558,8 +558,8 @@ def begin_set_shared_key( :type parameters: ~azure.mgmt.network.v2019_09_01.models.ConnectionSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionSharedKey or the result of cls(response) @@ -823,8 +823,8 @@ def begin_reset_shared_key( :type parameters: ~azure.mgmt.network.v2019_09_01.models.ConnectionResetSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionResetSharedKey or the result of cls(response) @@ -924,7 +924,7 @@ def _start_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -957,8 +957,8 @@ def begin_start_packet_capture( :type parameters: ~azure.mgmt.network.v2019_09_01.models.VpnPacketCaptureStartParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1055,7 +1055,7 @@ def _stop_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -1088,8 +1088,8 @@ def begin_stop_packet_capture( :type parameters: ~azure.mgmt.network.v2019_09_01.models.VpnPacketCaptureStopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_virtual_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_virtual_network_gateways_operations.py index 747c9200e62c..ffb9887cd9fb 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_virtual_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_virtual_network_gateways_operations.py @@ -123,8 +123,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_09_01.models.VirtualNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -296,8 +296,8 @@ def begin_delete( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -420,8 +420,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_09_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -692,8 +692,8 @@ def begin_reset( :type gateway_vip: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -807,8 +807,8 @@ def begin_reset_vpn_client_shared_key( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -933,8 +933,8 @@ def begin_generatevpnclientpackage( :type parameters: ~azure.mgmt.network.v2019_09_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1063,8 +1063,8 @@ def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2019_09_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1183,8 +1183,8 @@ def begin_get_vpn_profile_package_url( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1307,8 +1307,8 @@ def begin_get_bgp_peer_status( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either BgpPeerStatusListResult or the result of cls(response) @@ -1486,8 +1486,8 @@ def begin_get_learned_routes( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1610,8 +1610,8 @@ def begin_get_advertised_routes( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1740,8 +1740,8 @@ def begin_set_vpnclient_ipsec_parameters( :type vpnclient_ipsec_params: ~azure.mgmt.network.v2019_09_01.models.VpnClientIPsecParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnClientIPsecParameters or the result of cls(response) @@ -1859,8 +1859,8 @@ def begin_get_vpnclient_ipsec_parameters( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnClientIPsecParameters or the result of cls(response) @@ -2027,7 +2027,7 @@ def _start_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -2059,8 +2059,8 @@ def begin_start_packet_capture( :type parameters: ~azure.mgmt.network.v2019_09_01.models.VpnPacketCaptureStartParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -2157,7 +2157,7 @@ def _stop_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -2189,8 +2189,8 @@ def begin_stop_packet_capture( :type parameters: ~azure.mgmt.network.v2019_09_01.models.VpnPacketCaptureStopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -2309,8 +2309,8 @@ def begin_get_vpnclient_connection_health( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnClientConnectionHealthDetailListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_virtual_network_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_virtual_network_peerings_operations.py index b8c172c055c9..4e6cc6fbf9cf 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_virtual_network_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_virtual_network_peerings_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type virtual_network_peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -309,8 +309,8 @@ def begin_create_or_update( :type virtual_network_peering_parameters: ~azure.mgmt.network.v2019_09_01.models.VirtualNetworkPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_virtual_network_taps_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_virtual_network_taps_operations.py index f234858cb196..f181b4c7c6f7 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_virtual_network_taps_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_virtual_network_taps_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type tap_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -292,8 +292,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_09_01.models.VirtualNetworkTap :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkTap or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_virtual_networks_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_virtual_networks_operations.py index add2a4cbcc2c..b5732b4f6f43 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_virtual_networks_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_virtual_networks_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type virtual_network_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_09_01.models.VirtualNetwork :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetwork or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_virtual_router_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_virtual_router_peerings_operations.py index 9605158e745d..7b506134e826 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_virtual_router_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_virtual_router_peerings_operations.py @@ -87,7 +87,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -113,8 +113,8 @@ def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -218,7 +218,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualRouterPeering', pipeline_response) @@ -275,7 +275,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -312,8 +312,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_09_01.models.VirtualRouterPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualRouterPeering or the result of cls(response) @@ -433,7 +433,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_virtual_routers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_virtual_routers_operations.py index 1af05d011363..48e49791c38b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_virtual_routers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_virtual_routers_operations.py @@ -85,7 +85,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -108,8 +108,8 @@ def begin_delete( :type virtual_router_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -212,7 +212,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualRouter', pipeline_response) @@ -267,7 +267,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -300,8 +300,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_09_01.models.VirtualRouter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualRouter or the result of cls(response) @@ -415,7 +415,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -483,7 +483,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_virtual_wans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_virtual_wans_operations.py index 6d6f54493dec..7f52c23b7441 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_virtual_wans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_virtual_wans_operations.py @@ -182,8 +182,8 @@ def begin_create_or_update( :type wan_parameters: ~azure.mgmt.network.v2019_09_01.models.VirtualWAN :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualWAN or the result of cls(response) @@ -363,8 +363,8 @@ def begin_delete( :type virtual_wan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_vpn_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_vpn_connections_operations.py index a8936cbbbeeb..f9934e67052e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_vpn_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_vpn_connections_operations.py @@ -192,8 +192,8 @@ def begin_create_or_update( :type vpn_connection_parameters: ~azure.mgmt.network.v2019_09_01.models.VpnConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnConnection or the result of cls(response) @@ -313,8 +313,8 @@ def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_vpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_vpn_gateways_operations.py index 00aa2cdeb475..8f7d976859bd 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_vpn_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_vpn_gateways_operations.py @@ -183,8 +183,8 @@ def begin_create_or_update( :type vpn_gateway_parameters: ~azure.mgmt.network.v2019_09_01.models.VpnGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnGateway or the result of cls(response) @@ -364,8 +364,8 @@ def begin_delete( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -479,8 +479,8 @@ def begin_reset( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnGateway or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py index b29e24dbe8bc..548db99f9c6a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py @@ -112,8 +112,8 @@ def begin_list( :type virtual_wan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnServerConfigurationsResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_vpn_server_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_vpn_server_configurations_operations.py index 9a24f287547a..c7b367b24d3a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_vpn_server_configurations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_vpn_server_configurations_operations.py @@ -185,8 +185,8 @@ def begin_create_or_update( :type vpn_server_configuration_parameters: ~azure.mgmt.network.v2019_09_01.models.VpnServerConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnServerConfiguration or the result of cls(response) @@ -367,8 +367,8 @@ def begin_delete( :type vpn_server_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_vpn_sites_configuration_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_vpn_sites_configuration_operations.py index 8b88006bf47d..a2c45371b698 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_vpn_sites_configuration_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_vpn_sites_configuration_operations.py @@ -116,8 +116,8 @@ def begin_download( :type request: ~azure.mgmt.network.v2019_09_01.models.GetVpnSitesConfigurationRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_vpn_sites_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_vpn_sites_operations.py index ed9bf63c65fc..aea5a1bed6ca 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_vpn_sites_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_vpn_sites_operations.py @@ -182,8 +182,8 @@ def begin_create_or_update( :type vpn_site_parameters: ~azure.mgmt.network.v2019_09_01.models.VpnSite :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnSite or the result of cls(response) @@ -363,8 +363,8 @@ def begin_delete( :type vpn_site_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_web_application_firewall_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_web_application_firewall_policies_operations.py index 754135ce9a29..f4047d895859 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_web_application_firewall_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_09_01/operations/_web_application_firewall_policies_operations.py @@ -375,8 +375,8 @@ def begin_delete( :type policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/_metadata.json b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/_metadata.json index 0b87a2033729..2f9bf1365997 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/_metadata.json +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/_metadata.json @@ -9,7 +9,9 @@ "custom_base_url": null, "azure_arm": true, "has_lro_operations": true, - "client_side_validation": true + "client_side_validation": false, + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"NetworkManagementClientConfiguration\"], \"._operations_mixin\": [\"NetworkManagementClientOperationsMixin\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"NetworkManagementClientConfiguration\"], \"._operations_mixin\": [\"NetworkManagementClientOperationsMixin\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}" }, "global_parameters": { "sync": { @@ -28,13 +30,13 @@ }, "async": { "credential": { - "signature": "credential, # type: \"AsyncTokenCredential\"", + "signature": "credential: \"AsyncTokenCredential\",", "description": "Credential needed for the client to connect to Azure.", "docstring_type": "~azure.core.credentials_async.AsyncTokenCredential", "required": true }, "subscription_id": { - "signature": "subscription_id, # type: str", + "signature": "subscription_id: str,", "description": "The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.", "docstring_type": "str", "required": true @@ -42,14 +44,58 @@ }, "constant": { }, - "call": "credential, subscription_id" + "call": "credential, subscription_id", + "service_client_specific": { + "sync": { + "api_version": { + "signature": "api_version=None, # type: Optional[str]", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url=None, # type: Optional[str]", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile=KnownProfiles.default, # type: KnownProfiles", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + }, + "async": { + "api_version": { + "signature": "api_version: Optional[str] = None,", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url: Optional[str] = None,", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile: KnownProfiles = KnownProfiles.default,", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + } + } }, "config": { "credential": true, "credential_scopes": ["https://management.azure.com/.default"], "credential_default_policy_type": "BearerTokenCredentialPolicy", "credential_default_policy_type_has_async_version": true, - "credential_key_header_name": null + "credential_key_header_name": null, + "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMHttpLoggingPolicy\"]}, \"local\": {\"._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}}", + "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMHttpLoggingPolicy\"]}, \"local\": {\".._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}}" }, "operation_groups": { "application_gateways": "ApplicationGatewaysOperations", @@ -143,151 +189,153 @@ "web_application_firewall_policies": "WebApplicationFirewallPoliciesOperations" }, "operation_mixins": { - "_put_bastion_shareable_link_initial" : { - "sync": { - "signature": "def _put_bastion_shareable_link_initial(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2019_11_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionShareableLinkListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_11_01.models.BastionShareableLinkListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def _put_bastion_shareable_link_initial(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e Optional[\"_models.BastionShareableLinkListResult\"]:\n", - "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2019_11_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionShareableLinkListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_11_01.models.BastionShareableLinkListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "resource_group_name, bastion_host_name, bsl_request" - }, - "begin_put_bastion_shareable_link" : { - "sync": { - "signature": "def begin_put_bastion_shareable_link(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Creates a Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2019_11_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns an iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[~azure.core.paging.ItemPaged[~azure.mgmt.network.v2019_11_01.models.BastionShareableLinkListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" - }, - "async": { - "coroutine": false, - "signature": "def begin_put_bastion_shareable_link(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e AsyncLROPoller[AsyncItemPaged[\"_models.BastionShareableLinkListResult\"]]:\n", - "doc": "\"\"\"Creates a Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2019_11_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns an iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2019_11_01.models.BastionShareableLinkListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" - }, - "call": "resource_group_name, bastion_host_name, bsl_request" - }, - "_delete_bastion_shareable_link_initial" : { - "sync": { - "signature": "def _delete_bastion_shareable_link_initial(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2019_11_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def _delete_bastion_shareable_link_initial(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e None:\n", - "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2019_11_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "resource_group_name, bastion_host_name, bsl_request" - }, - "begin_delete_bastion_shareable_link" : { - "sync": { - "signature": "def begin_delete_bastion_shareable_link(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Deletes the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2019_11_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def begin_delete_bastion_shareable_link(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e AsyncLROPoller[None]:\n", - "doc": "\"\"\"Deletes the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2019_11_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" - }, - "call": "resource_group_name, bastion_host_name, bsl_request" - }, - "get_bastion_shareable_link" : { - "sync": { - "signature": "def get_bastion_shareable_link(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Return the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2019_11_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2019_11_01.models.BastionShareableLinkListResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": false, - "signature": "def get_bastion_shareable_link(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e AsyncItemPaged[\"_models.BastionShareableLinkListResult\"]:\n", - "doc": "\"\"\"Return the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2019_11_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2019_11_01.models.BastionShareableLinkListResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "resource_group_name, bastion_host_name, bsl_request" - }, - "_get_active_sessions_initial" : { - "sync": { - "signature": "def _get_active_sessions_initial(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionActiveSessionListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_11_01.models.BastionActiveSessionListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def _get_active_sessions_initial(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n **kwargs\n) -\u003e Optional[\"_models.BastionActiveSessionListResult\"]:\n", - "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionActiveSessionListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_11_01.models.BastionActiveSessionListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "resource_group_name, bastion_host_name" - }, - "begin_get_active_sessions" : { - "sync": { - "signature": "def begin_get_active_sessions(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns an iterator like instance of either BastionActiveSessionListResult or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[~azure.core.paging.ItemPaged[~azure.mgmt.network.v2019_11_01.models.BastionActiveSessionListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"], \"azure.core.polling\": [\"LROPoller\", \"NoPolling\", \"PollingMethod\"], \"azure.mgmt.core.polling.arm_polling\": [\"ARMPolling\"], \"azure.core.paging\": [\"ItemPaged\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Iterable\", \"Optional\", \"TypeVar\", \"Union\"]}}}", + "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"], \"azure.core.polling\": [\"AsyncLROPoller\", \"AsyncNoPolling\", \"AsyncPollingMethod\"], \"azure.mgmt.core.polling.async_arm_polling\": [\"AsyncARMPolling\"], \"azure.core.async_paging\": [\"AsyncItemPaged\", \"AsyncList\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"AsyncIterable\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\", \"Union\"]}}}", + "operations": { + "_put_bastion_shareable_link_initial" : { + "sync": { + "signature": "def _put_bastion_shareable_link_initial(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2019_11_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionShareableLinkListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_11_01.models.BastionShareableLinkListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def _put_bastion_shareable_link_initial(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e Optional[\"_models.BastionShareableLinkListResult\"]:\n", + "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2019_11_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionShareableLinkListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_11_01.models.BastionShareableLinkListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "resource_group_name, bastion_host_name, bsl_request" }, - "async": { - "coroutine": false, - "signature": "def begin_get_active_sessions(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n **kwargs\n) -\u003e AsyncLROPoller[AsyncItemPaged[\"_models.BastionActiveSessionListResult\"]]:\n", - "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns an iterator like instance of either BastionActiveSessionListResult or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2019_11_01.models.BastionActiveSessionListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + "begin_put_bastion_shareable_link" : { + "sync": { + "signature": "def begin_put_bastion_shareable_link(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Creates a Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2019_11_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the ARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns an iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[~azure.core.paging.ItemPaged[~azure.mgmt.network.v2019_11_01.models.BastionShareableLinkListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "async": { + "coroutine": false, + "signature": "def begin_put_bastion_shareable_link(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e AsyncLROPoller[AsyncItemPaged[\"_models.BastionShareableLinkListResult\"]]:\n", + "doc": "\"\"\"Creates a Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2019_11_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the AsyncARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns an iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2019_11_01.models.BastionShareableLinkListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "call": "resource_group_name, bastion_host_name, bsl_request" }, - "call": "resource_group_name, bastion_host_name" - }, - "disconnect_active_sessions" : { - "sync": { - "signature": "def disconnect_active_sessions(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n session_ids, # type: \"_models.SessionIds\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param session_ids: The list of sessionids to disconnect.\n:type session_ids: ~azure.mgmt.network.v2019_11_01.models.SessionIds\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionSessionDeleteResult or the result of cls(response)\n:rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2019_11_01.models.BastionSessionDeleteResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": false, - "signature": "def disconnect_active_sessions(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n session_ids: \"_models.SessionIds\",\n **kwargs\n) -\u003e AsyncItemPaged[\"_models.BastionSessionDeleteResult\"]:\n", - "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param session_ids: The list of sessionids to disconnect.\n:type session_ids: ~azure.mgmt.network.v2019_11_01.models.SessionIds\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionSessionDeleteResult or the result of cls(response)\n:rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2019_11_01.models.BastionSessionDeleteResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "_delete_bastion_shareable_link_initial" : { + "sync": { + "signature": "def _delete_bastion_shareable_link_initial(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2019_11_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def _delete_bastion_shareable_link_initial(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e None:\n", + "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2019_11_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "resource_group_name, bastion_host_name, bsl_request" }, - "call": "resource_group_name, bastion_host_name, session_ids" - }, - "check_dns_name_availability" : { - "sync": { - "signature": "def check_dns_name_availability(\n self,\n location, # type: str\n domain_name_label, # type: str\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_11_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "begin_delete_bastion_shareable_link" : { + "sync": { + "signature": "def begin_delete_bastion_shareable_link(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Deletes the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2019_11_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the ARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def begin_delete_bastion_shareable_link(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e AsyncLROPoller[None]:\n", + "doc": "\"\"\"Deletes the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2019_11_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the AsyncARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "call": "resource_group_name, bastion_host_name, bsl_request" }, - "async": { - "coroutine": true, - "signature": "async def check_dns_name_availability(\n self,\n location: str,\n domain_name_label: str,\n **kwargs\n) -\u003e \"_models.DnsNameAvailabilityResult\":\n", - "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_11_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "get_bastion_shareable_link" : { + "sync": { + "signature": "def get_bastion_shareable_link(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Return the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2019_11_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2019_11_01.models.BastionShareableLinkListResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": false, + "signature": "def get_bastion_shareable_link(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e AsyncItemPaged[\"_models.BastionShareableLinkListResult\"]:\n", + "doc": "\"\"\"Return the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2019_11_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2019_11_01.models.BastionShareableLinkListResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "resource_group_name, bastion_host_name, bsl_request" }, - "call": "location, domain_name_label" - }, - "supported_security_providers" : { - "sync": { - "signature": "def supported_security_providers(\n self,\n resource_group_name, # type: str\n virtual_wan_name, # type: str\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Gives the supported security providers for the virtual wan.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN for which supported security providers are\n needed.\n:type virtual_wan_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VirtualWanSecurityProviders, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_11_01.models.VirtualWanSecurityProviders\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "_get_active_sessions_initial" : { + "sync": { + "signature": "def _get_active_sessions_initial(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionActiveSessionListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_11_01.models.BastionActiveSessionListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def _get_active_sessions_initial(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n **kwargs\n) -\u003e Optional[\"_models.BastionActiveSessionListResult\"]:\n", + "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionActiveSessionListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_11_01.models.BastionActiveSessionListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "resource_group_name, bastion_host_name" }, - "async": { - "coroutine": true, - "signature": "async def supported_security_providers(\n self,\n resource_group_name: str,\n virtual_wan_name: str,\n **kwargs\n) -\u003e \"_models.VirtualWanSecurityProviders\":\n", - "doc": "\"\"\"Gives the supported security providers for the virtual wan.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN for which supported security providers are\n needed.\n:type virtual_wan_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VirtualWanSecurityProviders, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_11_01.models.VirtualWanSecurityProviders\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "begin_get_active_sessions" : { + "sync": { + "signature": "def begin_get_active_sessions(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the ARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns an iterator like instance of either BastionActiveSessionListResult or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[~azure.core.paging.ItemPaged[~azure.mgmt.network.v2019_11_01.models.BastionActiveSessionListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "async": { + "coroutine": false, + "signature": "def begin_get_active_sessions(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n **kwargs\n) -\u003e AsyncLROPoller[AsyncItemPaged[\"_models.BastionActiveSessionListResult\"]]:\n", + "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the AsyncARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns an iterator like instance of either BastionActiveSessionListResult or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2019_11_01.models.BastionActiveSessionListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "call": "resource_group_name, bastion_host_name" }, - "call": "resource_group_name, virtual_wan_name" - }, - "_generatevirtualwanvpnserverconfigurationvpnprofile_initial" : { - "sync": { - "signature": "def _generatevirtualwanvpnserverconfigurationvpnprofile_initial(\n self,\n resource_group_name, # type: str\n virtual_wan_name, # type: str\n vpn_client_params, # type: \"_models.VirtualWanVpnProfileParameters\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2019_11_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VpnProfileResponse, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_11_01.models.VpnProfileResponse or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "disconnect_active_sessions" : { + "sync": { + "signature": "def disconnect_active_sessions(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n session_ids, # type: \"_models.SessionIds\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param session_ids: The list of sessionids to disconnect.\n:type session_ids: ~azure.mgmt.network.v2019_11_01.models.SessionIds\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionSessionDeleteResult or the result of cls(response)\n:rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2019_11_01.models.BastionSessionDeleteResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": false, + "signature": "def disconnect_active_sessions(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n session_ids: \"_models.SessionIds\",\n **kwargs\n) -\u003e AsyncItemPaged[\"_models.BastionSessionDeleteResult\"]:\n", + "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param session_ids: The list of sessionids to disconnect.\n:type session_ids: ~azure.mgmt.network.v2019_11_01.models.SessionIds\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionSessionDeleteResult or the result of cls(response)\n:rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2019_11_01.models.BastionSessionDeleteResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "resource_group_name, bastion_host_name, session_ids" }, - "async": { - "coroutine": true, - "signature": "async def _generatevirtualwanvpnserverconfigurationvpnprofile_initial(\n self,\n resource_group_name: str,\n virtual_wan_name: str,\n vpn_client_params: \"_models.VirtualWanVpnProfileParameters\",\n **kwargs\n) -\u003e Optional[\"_models.VpnProfileResponse\"]:\n", - "doc": "\"\"\"\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2019_11_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VpnProfileResponse, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_11_01.models.VpnProfileResponse or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "check_dns_name_availability" : { + "sync": { + "signature": "def check_dns_name_availability(\n self,\n location, # type: str\n domain_name_label, # type: str\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_11_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def check_dns_name_availability(\n self,\n location: str,\n domain_name_label: str,\n **kwargs\n) -\u003e \"_models.DnsNameAvailabilityResult\":\n", + "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_11_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "location, domain_name_label" }, - "call": "resource_group_name, virtual_wan_name, vpn_client_params" - }, - "begin_generatevirtualwanvpnserverconfigurationvpnprofile" : { - "sync": { - "signature": "def begin_generatevirtualwanvpnserverconfigurationvpnprofile(\n self,\n resource_group_name, # type: str\n virtual_wan_name, # type: str\n vpn_client_params, # type: \"_models.VirtualWanVpnProfileParameters\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Generates a unique VPN profile for P2S clients for VirtualWan and associated\nVpnServerConfiguration combination in the specified resource group.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2019_11_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns either VpnProfileResponse or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2019_11_01.models.VpnProfileResponse]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + "supported_security_providers" : { + "sync": { + "signature": "def supported_security_providers(\n self,\n resource_group_name, # type: str\n virtual_wan_name, # type: str\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Gives the supported security providers for the virtual wan.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN for which supported security providers are\n needed.\n:type virtual_wan_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VirtualWanSecurityProviders, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_11_01.models.VirtualWanSecurityProviders\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def supported_security_providers(\n self,\n resource_group_name: str,\n virtual_wan_name: str,\n **kwargs\n) -\u003e \"_models.VirtualWanSecurityProviders\":\n", + "doc": "\"\"\"Gives the supported security providers for the virtual wan.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN for which supported security providers are\n needed.\n:type virtual_wan_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VirtualWanSecurityProviders, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_11_01.models.VirtualWanSecurityProviders\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "resource_group_name, virtual_wan_name" }, - "async": { - "coroutine": true, - "signature": "async def begin_generatevirtualwanvpnserverconfigurationvpnprofile(\n self,\n resource_group_name: str,\n virtual_wan_name: str,\n vpn_client_params: \"_models.VirtualWanVpnProfileParameters\",\n **kwargs\n) -\u003e AsyncLROPoller[\"_models.VpnProfileResponse\"]:\n", - "doc": "\"\"\"Generates a unique VPN profile for P2S clients for VirtualWan and associated\nVpnServerConfiguration combination in the specified resource group.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2019_11_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns either VpnProfileResponse or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2019_11_01.models.VpnProfileResponse]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + "_generatevirtualwanvpnserverconfigurationvpnprofile_initial" : { + "sync": { + "signature": "def _generatevirtualwanvpnserverconfigurationvpnprofile_initial(\n self,\n resource_group_name, # type: str\n virtual_wan_name, # type: str\n vpn_client_params, # type: \"_models.VirtualWanVpnProfileParameters\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2019_11_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VpnProfileResponse, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_11_01.models.VpnProfileResponse or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def _generatevirtualwanvpnserverconfigurationvpnprofile_initial(\n self,\n resource_group_name: str,\n virtual_wan_name: str,\n vpn_client_params: \"_models.VirtualWanVpnProfileParameters\",\n **kwargs\n) -\u003e Optional[\"_models.VpnProfileResponse\"]:\n", + "doc": "\"\"\"\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2019_11_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VpnProfileResponse, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_11_01.models.VpnProfileResponse or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "resource_group_name, virtual_wan_name, vpn_client_params" }, - "call": "resource_group_name, virtual_wan_name, vpn_client_params" + "begin_generatevirtualwanvpnserverconfigurationvpnprofile" : { + "sync": { + "signature": "def begin_generatevirtualwanvpnserverconfigurationvpnprofile(\n self,\n resource_group_name, # type: str\n virtual_wan_name, # type: str\n vpn_client_params, # type: \"_models.VirtualWanVpnProfileParameters\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Generates a unique VPN profile for P2S clients for VirtualWan and associated\nVpnServerConfiguration combination in the specified resource group.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2019_11_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the ARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns either VpnProfileResponse or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2019_11_01.models.VpnProfileResponse]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def begin_generatevirtualwanvpnserverconfigurationvpnprofile(\n self,\n resource_group_name: str,\n virtual_wan_name: str,\n vpn_client_params: \"_models.VirtualWanVpnProfileParameters\",\n **kwargs\n) -\u003e AsyncLROPoller[\"_models.VpnProfileResponse\"]:\n", + "doc": "\"\"\"Generates a unique VPN profile for P2S clients for VirtualWan and associated\nVpnServerConfiguration combination in the specified resource group.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2019_11_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the AsyncARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns either VpnProfileResponse or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2019_11_01.models.VpnProfileResponse]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "call": "resource_group_name, virtual_wan_name, vpn_client_params" + } } - }, - "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"], \"azure.core.polling\": [\"LROPoller\", \"NoPolling\", \"PollingMethod\"], \"azure.mgmt.core.polling.arm_polling\": [\"ARMPolling\"], \"azure.core.paging\": [\"ItemPaged\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Iterable\", \"Optional\", \"TypeVar\", \"Union\"]}}}", - "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"], \"azure.core.polling\": [\"AsyncLROPoller\", \"AsyncNoPolling\", \"AsyncPollingMethod\"], \"azure.mgmt.core.polling.async_arm_polling\": [\"AsyncARMPolling\"], \"azure.core.async_paging\": [\"AsyncItemPaged\", \"AsyncList\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"AsyncIterable\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\", \"Union\"]}}}" + } } \ No newline at end of file diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/_network_management_client.py index 29aa1afc27ba..7732630d275c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/_network_management_client.py @@ -16,6 +16,7 @@ from typing import Any, Optional from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse from ._configuration import NetworkManagementClientConfiguration from .operations import ApplicationGatewaysOperations @@ -315,6 +316,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( @@ -496,6 +498,24 @@ def __init__( self.web_application_firewall_policies = WebApplicationFirewallPoliciesOperations( self._client, self._config, self._serialize, self._deserialize) + def _send_request(self, http_request, **kwargs): + # type: (HttpRequest, Any) -> HttpResponse + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.HttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + def close(self): # type: () -> None self._client.close() diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/_network_management_client.py index cb2f08892788..daccbb6145d4 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/_network_management_client.py @@ -8,6 +8,7 @@ from typing import Any, Optional, TYPE_CHECKING +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core import AsyncARMPipelineClient from msrest import Deserializer, Serializer @@ -312,6 +313,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( @@ -493,6 +495,23 @@ def __init__( self.web_application_firewall_policies = WebApplicationFirewallPoliciesOperations( self._client, self._config, self._serialize, self._deserialize) + async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + async def close(self) -> None: await self._client.close() diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_application_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_application_gateways_operations.py index 168a68aeaada..744ea5bf353b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_application_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_application_gateways_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -283,8 +283,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_11_01.models.ApplicationGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGateway or the result of cls(response) @@ -597,8 +597,8 @@ async def begin_start( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -705,8 +705,8 @@ async def begin_stop( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -824,8 +824,8 @@ async def begin_backend_health( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGatewayBackendHealth or the result of cls(response) @@ -957,8 +957,8 @@ async def begin_backend_health_on_demand( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGatewayBackendHealthOnDemand or the result of cls(response) @@ -1052,7 +1052,7 @@ async def list_available_server_variables( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) @@ -1103,7 +1103,7 @@ async def list_available_request_headers( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) @@ -1154,7 +1154,7 @@ async def list_available_response_headers( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_application_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_application_security_groups_operations.py index f83474511d2f..2f59f9c787ba 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_application_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_application_security_groups_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type application_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -284,8 +284,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_11_01.models.ApplicationSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_azure_firewalls_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_azure_firewalls_operations.py index c12f9a1c151d..28df22df489e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_azure_firewalls_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_azure_firewalls_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type azure_firewall_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -283,8 +283,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_11_01.models.AzureFirewall :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AzureFirewall or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_bastion_hosts_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_bastion_hosts_operations.py index c4296be4eb12..95f19f2eb3d2 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_bastion_hosts_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_bastion_hosts_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type bastion_host_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -283,8 +283,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_11_01.models.BastionHost :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either BastionHost or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_connection_monitors_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_connection_monitors_operations.py index 36a0b3f47ec8..76946654bdaa 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_connection_monitors_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_connection_monitors_operations.py @@ -88,7 +88,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -123,8 +123,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_11_01.models.ConnectionMonitor :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionMonitorResult or the result of cls(response) @@ -231,7 +231,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('ConnectionMonitorResult', pipeline_response) @@ -281,7 +281,7 @@ async def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -306,8 +306,8 @@ async def begin_delete( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -418,7 +418,7 @@ async def update_tags( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('ConnectionMonitorResult', pipeline_response) @@ -468,7 +468,7 @@ async def _stop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -493,8 +493,8 @@ async def begin_stop( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -584,7 +584,7 @@ async def _start_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -609,8 +609,8 @@ async def begin_start( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -700,7 +700,7 @@ async def _query_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -732,8 +732,8 @@ async def begin_query( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionMonitorQueryResult or the result of cls(response) @@ -851,7 +851,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_ddos_custom_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_ddos_custom_policies_operations.py index 5fa891944ae2..3f1e2d36ced7 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_ddos_custom_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_ddos_custom_policies_operations.py @@ -100,8 +100,8 @@ async def begin_delete( :type ddos_custom_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -282,8 +282,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_11_01.models.DdosCustomPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either DdosCustomPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_ddos_protection_plans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_ddos_protection_plans_operations.py index 0180d92e0cb6..d12cd8c0e8c5 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_ddos_protection_plans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_ddos_protection_plans_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type ddos_protection_plan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -283,8 +283,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_11_01.models.DdosProtectionPlan :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either DdosProtectionPlan or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_express_route_circuit_authorizations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_express_route_circuit_authorizations_operations.py index 5d725ee4aadb..f591e5032bbb 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_express_route_circuit_authorizations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_express_route_circuit_authorizations_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type authorization_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -300,8 +300,8 @@ async def begin_create_or_update( :type authorization_parameters: ~azure.mgmt.network.v2019_11_01.models.ExpressRouteCircuitAuthorization :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitAuthorization or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_express_route_circuit_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_express_route_circuit_connections_operations.py index 7309722f0d44..7eac51e2c92c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_express_route_circuit_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_express_route_circuit_connections_operations.py @@ -112,8 +112,8 @@ async def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -317,8 +317,8 @@ async def begin_create_or_update( :type express_route_circuit_connection_parameters: ~azure.mgmt.network.v2019_11_01.models.ExpressRouteCircuitConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitConnection or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_express_route_circuit_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_express_route_circuit_peerings_operations.py index 3645f1c358c6..5a5401b5e161 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_express_route_circuit_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_express_route_circuit_peerings_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -300,8 +300,8 @@ async def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2019_11_01.models.ExpressRouteCircuitPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_express_route_circuits_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_express_route_circuits_operations.py index f13e914ccd5a..e97ce9f06bd2 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_express_route_circuits_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_express_route_circuits_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type circuit_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -283,8 +283,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_11_01.models.ExpressRouteCircuit :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -477,8 +477,8 @@ async def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -608,8 +608,8 @@ async def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) @@ -739,8 +739,8 @@ async def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableSummaryListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_express_route_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_express_route_connections_operations.py index 8690ed30d8a3..623202aab8b8 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_express_route_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_express_route_connections_operations.py @@ -122,8 +122,8 @@ async def begin_create_or_update( :type put_express_route_connection_parameters: ~azure.mgmt.network.v2019_11_01.models.ExpressRouteConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteConnection or the result of cls(response) @@ -303,8 +303,8 @@ async def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_express_route_cross_connection_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_express_route_cross_connection_peerings_operations.py index 9cb22a08e5b1..3e53d8f265b9 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_express_route_cross_connection_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_express_route_cross_connection_peerings_operations.py @@ -180,8 +180,8 @@ async def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -374,8 +374,8 @@ async def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2019_11_01.models.ExpressRouteCrossConnectionPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCrossConnectionPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_express_route_cross_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_express_route_cross_connections_operations.py index 7e9619fa73e3..51689d97572a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_express_route_cross_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_express_route_cross_connections_operations.py @@ -308,8 +308,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_11_01.models.ExpressRouteCrossConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCrossConnection or the result of cls(response) @@ -503,8 +503,8 @@ async def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -634,8 +634,8 @@ async def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCrossConnectionsRoutesTableSummaryListResult or the result of cls(response) @@ -765,8 +765,8 @@ async def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_express_route_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_express_route_gateways_operations.py index 23a11ac9d778..74002f50a7ed 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_express_route_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_express_route_gateways_operations.py @@ -221,8 +221,8 @@ async def begin_create_or_update( :type put_express_route_gateway_parameters: ~azure.mgmt.network.v2019_11_01.models.ExpressRouteGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteGateway or the result of cls(response) @@ -392,8 +392,8 @@ async def begin_delete( :type express_route_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_express_route_ports_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_express_route_ports_operations.py index 74dc719cb0e2..235e67c06ef2 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_express_route_ports_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_express_route_ports_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type express_route_port_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -283,8 +283,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_11_01.models.ExpressRoutePort :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRoutePort or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_firewall_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_firewall_policies_operations.py index 8508ab064cc6..ee8b4e951720 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_firewall_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_firewall_policies_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type firewall_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -288,8 +288,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_11_01.models.FirewallPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FirewallPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_firewall_policy_rule_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_firewall_policy_rule_groups_operations.py index 69cbd1d772ab..9f2ab4673068 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_firewall_policy_rule_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_firewall_policy_rule_groups_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type rule_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -300,8 +300,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_11_01.models.FirewallPolicyRuleGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FirewallPolicyRuleGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_flow_logs_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_flow_logs_operations.py index c8d457cfe793..0ec882a727f2 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_flow_logs_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_flow_logs_operations.py @@ -88,7 +88,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -123,8 +123,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_11_01.models.FlowLog :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FlowLog or the result of cls(response) @@ -231,7 +231,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('FlowLog', pipeline_response) @@ -281,7 +281,7 @@ async def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -306,8 +306,8 @@ async def begin_delete( :type flow_log_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -422,7 +422,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_inbound_nat_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_inbound_nat_rules_operations.py index 51cc16fdffe9..8870af4ed950 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_inbound_nat_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_inbound_nat_rules_operations.py @@ -180,8 +180,8 @@ async def begin_delete( :type inbound_nat_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -379,8 +379,8 @@ async def begin_create_or_update( :type inbound_nat_rule_parameters: ~azure.mgmt.network.v2019_11_01.models.InboundNatRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either InboundNatRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_ip_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_ip_groups_operations.py index a55f4c4aa621..96bbbac5e27e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_ip_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_ip_groups_operations.py @@ -97,7 +97,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('IpGroup', pipeline_response) @@ -151,7 +151,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -183,8 +183,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_11_01.models.IpGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either IpGroup or the result of cls(response) @@ -293,7 +293,7 @@ async def update_groups( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('IpGroup', pipeline_response) @@ -341,7 +341,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -363,8 +363,8 @@ async def begin_delete( :type ip_groups_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -473,7 +473,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -540,7 +540,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_load_balancers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_load_balancers_operations.py index 137449fe3dea..982574f9be57 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_load_balancers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_load_balancers_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type load_balancer_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -288,8 +288,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_11_01.models.LoadBalancer :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LoadBalancer or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_local_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_local_network_gateways_operations.py index ab96973f0e48..3c417a69f92f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_local_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_local_network_gateways_operations.py @@ -117,8 +117,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_11_01.models.LocalNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LocalNetworkGateway or the result of cls(response) @@ -287,8 +287,8 @@ async def begin_delete( :type local_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_nat_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_nat_gateways_operations.py index f935969d033a..cefd54a005d3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_nat_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_nat_gateways_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type nat_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -291,8 +291,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_11_01.models.NatGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NatGateway or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_network_interface_tap_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_network_interface_tap_configurations_operations.py index ae78ba8a8521..f24300de1a1a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_network_interface_tap_configurations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_network_interface_tap_configurations_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type tap_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -300,8 +300,8 @@ async def begin_create_or_update( :type tap_configuration_parameters: ~azure.mgmt.network.v2019_11_01.models.NetworkInterfaceTapConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkInterfaceTapConfiguration or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_network_interfaces_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_network_interfaces_operations.py index f55bb80d82b2..e654fd90b91a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_network_interfaces_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_network_interfaces_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -288,8 +288,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_11_01.models.NetworkInterface :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkInterface or the result of cls(response) @@ -607,8 +607,8 @@ async def begin_get_effective_route_table( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either EffectiveRouteListResult or the result of cls(response) @@ -723,8 +723,8 @@ async def begin_list_effective_network_security_groups( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either EffectiveNetworkSecurityGroupListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_network_management_client_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_network_management_client_operations.py index b6245743996a..99790a4a0eba 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_network_management_client_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_network_management_client_operations.py @@ -95,8 +95,8 @@ async def begin_put_bastion_shareable_link( :type bsl_request: ~azure.mgmt.network.v2019_11_01.models.BastionShareableLinkListRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns an iterator like instance of either BastionShareableLinkListResult or the result of cls(response) @@ -278,8 +278,8 @@ async def begin_delete_bastion_shareable_link( :type bsl_request: ~azure.mgmt.network.v2019_11_01.models.BastionShareableLinkListRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -477,8 +477,8 @@ async def begin_get_active_sessions( :type bastion_host_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns an iterator like instance of either BastionActiveSessionListResult or the result of cls(response) @@ -862,8 +862,8 @@ async def begin_generatevirtualwanvpnserverconfigurationvpnprofile( :type vpn_client_params: ~azure.mgmt.network.v2019_11_01.models.VirtualWanVpnProfileParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnProfileResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_network_profiles_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_network_profiles_operations.py index 46f1d4a008b9..9a0a222c62b5 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_network_profiles_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_network_profiles_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type network_profile_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_network_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_network_security_groups_operations.py index 11a4093dafb9..4a9d0a2cbfc2 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_network_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_network_security_groups_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type network_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -289,8 +289,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_11_01.models.NetworkSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_network_watchers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_network_watchers_operations.py index 0fe88ac833a1..ba40cce797a1 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_network_watchers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_network_watchers_operations.py @@ -99,7 +99,7 @@ async def create_or_update( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -162,7 +162,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('NetworkWatcher', pipeline_response) @@ -210,7 +210,7 @@ async def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -232,8 +232,8 @@ async def begin_delete( :type network_watcher_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -338,7 +338,7 @@ async def update_tags( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('NetworkWatcher', pipeline_response) @@ -409,7 +409,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -476,7 +476,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -543,7 +543,7 @@ async def get_topology( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('Topology', pipeline_response) @@ -597,7 +597,7 @@ async def _verify_ip_flow_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -629,8 +629,8 @@ async def begin_verify_ip_flow( :type parameters: ~azure.mgmt.network.v2019_11_01.models.VerificationIPFlowParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VerificationIPFlowResult or the result of cls(response) @@ -726,7 +726,7 @@ async def _get_next_hop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -758,8 +758,8 @@ async def begin_get_next_hop( :type parameters: ~azure.mgmt.network.v2019_11_01.models.NextHopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NextHopResult or the result of cls(response) @@ -855,7 +855,7 @@ async def _get_vm_security_rules_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -887,8 +887,8 @@ async def begin_get_vm_security_rules( :type parameters: ~azure.mgmt.network.v2019_11_01.models.SecurityGroupViewParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either SecurityGroupViewResult or the result of cls(response) @@ -984,7 +984,7 @@ async def _get_troubleshooting_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1016,8 +1016,8 @@ async def begin_get_troubleshooting( :type parameters: ~azure.mgmt.network.v2019_11_01.models.TroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1113,7 +1113,7 @@ async def _get_troubleshooting_result_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1145,8 +1145,8 @@ async def begin_get_troubleshooting_result( :type parameters: ~azure.mgmt.network.v2019_11_01.models.QueryTroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1242,7 +1242,7 @@ async def _set_flow_log_configuration_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1274,8 +1274,8 @@ async def begin_set_flow_log_configuration( :type parameters: ~azure.mgmt.network.v2019_11_01.models.FlowLogInformation :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1371,7 +1371,7 @@ async def _get_flow_log_status_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1404,8 +1404,8 @@ async def begin_get_flow_log_status( :type parameters: ~azure.mgmt.network.v2019_11_01.models.FlowLogStatusParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1501,7 +1501,7 @@ async def _check_connectivity_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1534,8 +1534,8 @@ async def begin_check_connectivity( :type parameters: ~azure.mgmt.network.v2019_11_01.models.ConnectivityParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectivityInformation or the result of cls(response) @@ -1631,7 +1631,7 @@ async def _get_azure_reachability_report_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1665,8 +1665,8 @@ async def begin_get_azure_reachability_report( :type parameters: ~azure.mgmt.network.v2019_11_01.models.AzureReachabilityReportParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AzureReachabilityReport or the result of cls(response) @@ -1762,7 +1762,7 @@ async def _list_available_providers_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1795,8 +1795,8 @@ async def begin_list_available_providers( :type parameters: ~azure.mgmt.network.v2019_11_01.models.AvailableProvidersListParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AvailableProvidersList or the result of cls(response) @@ -1892,7 +1892,7 @@ async def _get_network_configuration_diagnostic_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1928,8 +1928,8 @@ async def begin_get_network_configuration_diagnostic( :type parameters: ~azure.mgmt.network.v2019_11_01.models.NetworkConfigurationDiagnosticParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkConfigurationDiagnosticResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_p2_svpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_p2_svpn_gateways_operations.py index 1cdcffed94b7..036048f9dd2e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_p2_svpn_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_p2_svpn_gateways_operations.py @@ -176,8 +176,8 @@ async def begin_create_or_update( :type p2_s_vpn_gateway_parameters: ~azure.mgmt.network.v2019_11_01.models.P2SVpnGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -355,8 +355,8 @@ async def begin_delete( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -614,8 +614,8 @@ async def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2019_11_01.models.P2SVpnProfileParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnProfileResponse or the result of cls(response) @@ -732,8 +732,8 @@ async def begin_get_p2_s_vpn_connection_health( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -858,8 +858,8 @@ async def begin_get_p2_s_vpn_connection_health_detailed( :type request: ~azure.mgmt.network.v2019_11_01.models.P2SVpnConnectionHealthRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either P2SVpnConnectionHealth or the result of cls(response) @@ -980,8 +980,8 @@ async def begin_disconnect_p2_s_vpn_connections( :type request: ~azure.mgmt.network.v2019_11_01.models.P2SVpnConnectionRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_packet_captures_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_packet_captures_operations.py index ddd2514a052c..af0191881050 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_packet_captures_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_packet_captures_operations.py @@ -88,7 +88,7 @@ async def _create_initial( if response.status_code not in [201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PacketCaptureResult', pipeline_response) @@ -119,8 +119,8 @@ async def begin_create( :type parameters: ~azure.mgmt.network.v2019_11_01.models.PacketCapture :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PacketCaptureResult or the result of cls(response) @@ -227,7 +227,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PacketCaptureResult', pipeline_response) @@ -277,7 +277,7 @@ async def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -302,8 +302,8 @@ async def begin_delete( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -393,7 +393,7 @@ async def _stop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -418,8 +418,8 @@ async def begin_stop( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -509,7 +509,7 @@ async def _get_status_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -541,8 +541,8 @@ async def begin_get_status( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PacketCaptureQueryStatusResult or the result of cls(response) @@ -660,7 +660,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_private_endpoints_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_private_endpoints_operations.py index e7de52a21669..a884f781c950 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_private_endpoints_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_private_endpoints_operations.py @@ -80,7 +80,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -102,8 +102,8 @@ async def begin_delete( :type private_endpoint_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -205,7 +205,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateEndpoint', pipeline_response) @@ -259,7 +259,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -291,8 +291,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_11_01.models.PrivateEndpoint :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PrivateEndpoint or the result of cls(response) @@ -405,7 +405,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -472,7 +472,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_private_link_services_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_private_link_services_operations.py index a6fbc81ec487..088312f87fef 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_private_link_services_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_private_link_services_operations.py @@ -80,7 +80,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -102,8 +102,8 @@ async def begin_delete( :type service_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -205,7 +205,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateLinkService', pipeline_response) @@ -259,7 +259,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -291,8 +291,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_11_01.models.PrivateLinkService :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PrivateLinkService or the result of cls(response) @@ -405,7 +405,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -472,7 +472,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -541,7 +541,7 @@ async def get_private_endpoint_connection( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateEndpointConnection', pipeline_response) @@ -612,7 +612,7 @@ async def update_private_endpoint_connection( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateEndpointConnection', pipeline_response) @@ -662,7 +662,7 @@ async def _delete_private_endpoint_connection_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -687,8 +687,8 @@ async def begin_delete_private_endpoint_connection( :type pe_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -803,7 +803,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -881,8 +881,8 @@ async def begin_check_private_link_service_visibility( :type parameters: ~azure.mgmt.network.v2019_11_01.models.CheckPrivateLinkServiceVisibilityRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PrivateLinkServiceVisibility or the result of cls(response) @@ -1006,8 +1006,8 @@ async def begin_check_private_link_service_visibility_by_resource_group( :type parameters: ~azure.mgmt.network.v2019_11_01.models.CheckPrivateLinkServiceVisibilityRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PrivateLinkServiceVisibility or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_public_ip_addresses_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_public_ip_addresses_operations.py index 2b0fc79b4b7a..3051da98429e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_public_ip_addresses_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_public_ip_addresses_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type public_ip_address_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -288,8 +288,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_11_01.models.PublicIPAddress :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PublicIPAddress or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_public_ip_prefixes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_public_ip_prefixes_operations.py index 5a0d0b21d46b..263f42eef86b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_public_ip_prefixes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_public_ip_prefixes_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type public_ip_prefix_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -288,8 +288,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_11_01.models.PublicIPPrefix :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PublicIPPrefix or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_route_filter_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_route_filter_rules_operations.py index c62ad7b820c0..e6c7a90dea1b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_route_filter_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_route_filter_rules_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -300,8 +300,8 @@ async def begin_create_or_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2019_11_01.models.RouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilterRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_route_filters_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_route_filters_operations.py index 73578e507470..595110fbf92c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_route_filters_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_route_filters_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type route_filter_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -289,8 +289,8 @@ async def begin_create_or_update( :type route_filter_parameters: ~azure.mgmt.network.v2019_11_01.models.RouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilter or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_route_tables_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_route_tables_operations.py index 7bfaabba8021..1f4ec7da4efc 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_route_tables_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_route_tables_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -288,8 +288,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_11_01.models.RouteTable :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteTable or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_routes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_routes_operations.py index eca1edf06e85..8da8a93ec41c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_routes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_routes_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type route_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -299,8 +299,8 @@ async def begin_create_or_update( :type route_parameters: ~azure.mgmt.network.v2019_11_01.models.Route :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Route or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_security_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_security_rules_operations.py index 99ae252149ff..02983962e593 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_security_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_security_rules_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type security_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -300,8 +300,8 @@ async def begin_create_or_update( :type security_rule_parameters: ~azure.mgmt.network.v2019_11_01.models.SecurityRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either SecurityRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_service_endpoint_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_service_endpoint_policies_operations.py index 8861447fd86f..237076dd2801 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_service_endpoint_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_service_endpoint_policies_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type service_endpoint_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -289,8 +289,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_11_01.models.ServiceEndpointPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ServiceEndpointPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_service_endpoint_policy_definitions_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_service_endpoint_policy_definitions_operations.py index e4a964039c39..403c9ae4c79b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_service_endpoint_policy_definitions_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_service_endpoint_policy_definitions_operations.py @@ -107,8 +107,8 @@ async def begin_delete( :type service_endpoint_policy_definition_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -304,8 +304,8 @@ async def begin_create_or_update( :type service_endpoint_policy_definitions: ~azure.mgmt.network.v2019_11_01.models.ServiceEndpointPolicyDefinition :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ServiceEndpointPolicyDefinition or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_subnets_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_subnets_operations.py index 67708769b5a9..8c4c9100c295 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_subnets_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_subnets_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type subnet_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -304,8 +304,8 @@ async def begin_create_or_update( :type subnet_parameters: ~azure.mgmt.network.v2019_11_01.models.Subnet :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Subnet or the result of cls(response) @@ -433,8 +433,8 @@ async def begin_prepare_network_policies( :type prepare_network_policies_request_parameters: ~azure.mgmt.network.v2019_11_01.models.PrepareNetworkPoliciesRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -559,8 +559,8 @@ async def begin_unprepare_network_policies( :type unprepare_network_policies_request_parameters: ~azure.mgmt.network.v2019_11_01.models.UnprepareNetworkPoliciesRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_virtual_hub_route_table_v2_s_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_virtual_hub_route_table_v2_s_operations.py index d9e49d83b24a..b236e6b1b70e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_virtual_hub_route_table_v2_s_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_virtual_hub_route_table_v2_s_operations.py @@ -95,7 +95,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualHubRouteTableV2', pipeline_response) @@ -151,7 +151,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -188,8 +188,8 @@ async def begin_create_or_update( :type virtual_hub_route_table_v2_parameters: ~azure.mgmt.network.v2019_11_01.models.VirtualHubRouteTableV2 :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualHubRouteTableV2 or the result of cls(response) @@ -283,7 +283,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -308,8 +308,8 @@ async def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_virtual_hubs_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_virtual_hubs_operations.py index 76e05c32172c..8c95373ce53c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_virtual_hubs_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_virtual_hubs_operations.py @@ -175,8 +175,8 @@ async def begin_create_or_update( :type virtual_hub_parameters: ~azure.mgmt.network.v2019_11_01.models.VirtualHub :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualHub or the result of cls(response) @@ -353,8 +353,8 @@ async def begin_delete( :type virtual_hub_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_virtual_network_gateway_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_virtual_network_gateway_connections_operations.py index 4322dba8adf9..29685f852b08 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_virtual_network_gateway_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_virtual_network_gateway_connections_operations.py @@ -119,8 +119,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_11_01.models.VirtualNetworkGatewayConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -291,8 +291,8 @@ async def begin_delete( :type virtual_network_gateway_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -414,8 +414,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -545,8 +545,8 @@ async def begin_set_shared_key( :type parameters: ~azure.mgmt.network.v2019_11_01.models.ConnectionSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionSharedKey or the result of cls(response) @@ -806,8 +806,8 @@ async def begin_reset_shared_key( :type parameters: ~azure.mgmt.network.v2019_11_01.models.ConnectionResetSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionResetSharedKey or the result of cls(response) @@ -906,7 +906,7 @@ async def _start_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -938,8 +938,8 @@ async def begin_start_packet_capture( :type parameters: ~azure.mgmt.network.v2019_11_01.models.VpnPacketCaptureStartParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1035,7 +1035,7 @@ async def _stop_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -1067,8 +1067,8 @@ async def begin_stop_packet_capture( :type parameters: ~azure.mgmt.network.v2019_11_01.models.VpnPacketCaptureStopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_virtual_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_virtual_network_gateways_operations.py index 1fb8e19f0136..af0fbb4304d0 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_virtual_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_virtual_network_gateways_operations.py @@ -117,8 +117,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_11_01.models.VirtualNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -287,8 +287,8 @@ async def begin_delete( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -409,8 +409,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -677,8 +677,8 @@ async def begin_reset( :type gateway_vip: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -790,8 +790,8 @@ async def begin_reset_vpn_client_shared_key( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -914,8 +914,8 @@ async def begin_generatevpnclientpackage( :type parameters: ~azure.mgmt.network.v2019_11_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1042,8 +1042,8 @@ async def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2019_11_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1160,8 +1160,8 @@ async def begin_get_vpn_profile_package_url( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1282,8 +1282,8 @@ async def begin_get_bgp_peer_status( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either BgpPeerStatusListResult or the result of cls(response) @@ -1458,8 +1458,8 @@ async def begin_get_learned_routes( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1580,8 +1580,8 @@ async def begin_get_advertised_routes( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1708,8 +1708,8 @@ async def begin_set_vpnclient_ipsec_parameters( :type vpnclient_ipsec_params: ~azure.mgmt.network.v2019_11_01.models.VpnClientIPsecParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnClientIPsecParameters or the result of cls(response) @@ -1825,8 +1825,8 @@ async def begin_get_vpnclient_ipsec_parameters( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnClientIPsecParameters or the result of cls(response) @@ -1991,7 +1991,7 @@ async def _start_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -2022,8 +2022,8 @@ async def begin_start_packet_capture( :type parameters: ~azure.mgmt.network.v2019_11_01.models.VpnPacketCaptureStartParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -2119,7 +2119,7 @@ async def _stop_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -2150,8 +2150,8 @@ async def begin_stop_packet_capture( :type parameters: ~azure.mgmt.network.v2019_11_01.models.VpnPacketCaptureStopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -2268,8 +2268,8 @@ async def begin_get_vpnclient_connection_health( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnClientConnectionHealthDetailListResult or the result of cls(response) @@ -2388,8 +2388,8 @@ async def begin_disconnect_virtual_network_gateway_vpn_connections( :type request: ~azure.mgmt.network.v2019_11_01.models.P2SVpnConnectionRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_virtual_network_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_virtual_network_peerings_operations.py index 4e703334450e..35a44f144e76 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_virtual_network_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_virtual_network_peerings_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type virtual_network_peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -300,8 +300,8 @@ async def begin_create_or_update( :type virtual_network_peering_parameters: ~azure.mgmt.network.v2019_11_01.models.VirtualNetworkPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_virtual_network_taps_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_virtual_network_taps_operations.py index c57f06acfb21..682162ff79d4 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_virtual_network_taps_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_virtual_network_taps_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type tap_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -283,8 +283,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_11_01.models.VirtualNetworkTap :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkTap or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_virtual_networks_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_virtual_networks_operations.py index 1f89d73eda47..c0e3a35265e7 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_virtual_networks_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_virtual_networks_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type virtual_network_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -288,8 +288,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_11_01.models.VirtualNetwork :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetwork or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_virtual_router_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_virtual_router_peerings_operations.py index 8c453188e54e..1135150f2754 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_virtual_router_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_virtual_router_peerings_operations.py @@ -82,7 +82,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -107,8 +107,8 @@ async def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -211,7 +211,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualRouterPeering', pipeline_response) @@ -267,7 +267,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -303,8 +303,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_11_01.models.VirtualRouterPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualRouterPeering or the result of cls(response) @@ -423,7 +423,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_virtual_routers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_virtual_routers_operations.py index 1811b972985e..5a0faaa8f4f2 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_virtual_routers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_virtual_routers_operations.py @@ -80,7 +80,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -102,8 +102,8 @@ async def begin_delete( :type virtual_router_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -205,7 +205,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualRouter', pipeline_response) @@ -259,7 +259,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -291,8 +291,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_11_01.models.VirtualRouter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualRouter or the result of cls(response) @@ -405,7 +405,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -472,7 +472,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_virtual_wans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_virtual_wans_operations.py index 24213131eb78..b8a576d6f382 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_virtual_wans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_virtual_wans_operations.py @@ -175,8 +175,8 @@ async def begin_create_or_update( :type wan_parameters: ~azure.mgmt.network.v2019_11_01.models.VirtualWAN :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualWAN or the result of cls(response) @@ -353,8 +353,8 @@ async def begin_delete( :type virtual_wan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_vpn_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_vpn_connections_operations.py index dd42313de551..f3a0e4c66291 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_vpn_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_vpn_connections_operations.py @@ -185,8 +185,8 @@ async def begin_create_or_update( :type vpn_connection_parameters: ~azure.mgmt.network.v2019_11_01.models.VpnConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnConnection or the result of cls(response) @@ -304,8 +304,8 @@ async def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_vpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_vpn_gateways_operations.py index c019d1748dbe..14b5212510da 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_vpn_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_vpn_gateways_operations.py @@ -176,8 +176,8 @@ async def begin_create_or_update( :type vpn_gateway_parameters: ~azure.mgmt.network.v2019_11_01.models.VpnGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnGateway or the result of cls(response) @@ -354,8 +354,8 @@ async def begin_delete( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -467,8 +467,8 @@ async def begin_reset( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnGateway or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py index d79b9e53db21..3460ff7e6d90 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py @@ -106,8 +106,8 @@ async def begin_list( :type virtual_wan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnServerConfigurationsResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_vpn_server_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_vpn_server_configurations_operations.py index a6d667e96610..723a4d45f2a5 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_vpn_server_configurations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_vpn_server_configurations_operations.py @@ -178,8 +178,8 @@ async def begin_create_or_update( :type vpn_server_configuration_parameters: ~azure.mgmt.network.v2019_11_01.models.VpnServerConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnServerConfiguration or the result of cls(response) @@ -357,8 +357,8 @@ async def begin_delete( :type vpn_server_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_vpn_sites_configuration_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_vpn_sites_configuration_operations.py index 7cdad9c8105d..44943332cc4f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_vpn_sites_configuration_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_vpn_sites_configuration_operations.py @@ -110,8 +110,8 @@ async def begin_download( :type request: ~azure.mgmt.network.v2019_11_01.models.GetVpnSitesConfigurationRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_vpn_sites_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_vpn_sites_operations.py index 4c246222dedd..9f1b4e84d082 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_vpn_sites_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_vpn_sites_operations.py @@ -175,8 +175,8 @@ async def begin_create_or_update( :type vpn_site_parameters: ~azure.mgmt.network.v2019_11_01.models.VpnSite :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnSite or the result of cls(response) @@ -353,8 +353,8 @@ async def begin_delete( :type vpn_site_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_web_application_firewall_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_web_application_firewall_policies_operations.py index ee717bbfd502..0f7d61c1cf5f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_web_application_firewall_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_web_application_firewall_policies_operations.py @@ -365,8 +365,8 @@ async def begin_delete( :type policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/models/_models.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/models/_models.py index f0c4b9adb09e..ff35bc5b478f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/models/_models.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/models/_models.py @@ -129,58 +129,55 @@ class ApplicationGateway(Resource): :vartype operational_state: str or ~azure.mgmt.network.v2019_11_01.models.ApplicationGatewayOperationalState :param gateway_ip_configurations: Subnets of the application gateway resource. For default - limits, see `Application Gateway limits `_. + limits, see `Application Gateway limits + `_. :type gateway_ip_configurations: list[~azure.mgmt.network.v2019_11_01.models.ApplicationGatewayIPConfiguration] :param authentication_certificates: Authentication certificates of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type authentication_certificates: list[~azure.mgmt.network.v2019_11_01.models.ApplicationGatewayAuthenticationCertificate] :param trusted_root_certificates: Trusted Root certificates of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type trusted_root_certificates: list[~azure.mgmt.network.v2019_11_01.models.ApplicationGatewayTrustedRootCertificate] :param ssl_certificates: SSL certificates of the application gateway resource. For default - limits, see `Application Gateway limits `_. + limits, see `Application Gateway limits + `_. :type ssl_certificates: list[~azure.mgmt.network.v2019_11_01.models.ApplicationGatewaySslCertificate] :param frontend_ip_configurations: Frontend IP addresses of the application gateway resource. - For default limits, see `Application Gateway limits `_. + For default limits, see `Application Gateway limits + `_. :type frontend_ip_configurations: list[~azure.mgmt.network.v2019_11_01.models.ApplicationGatewayFrontendIPConfiguration] :param frontend_ports: Frontend ports of the application gateway resource. For default limits, - see `Application Gateway limits `_. + see `Application Gateway limits + `_. :type frontend_ports: list[~azure.mgmt.network.v2019_11_01.models.ApplicationGatewayFrontendPort] :param probes: Probes of the application gateway resource. :type probes: list[~azure.mgmt.network.v2019_11_01.models.ApplicationGatewayProbe] :param backend_address_pools: Backend address pool of the application gateway resource. For - default limits, see `Application Gateway limits `_. + default limits, see `Application Gateway limits + `_. :type backend_address_pools: list[~azure.mgmt.network.v2019_11_01.models.ApplicationGatewayBackendAddressPool] :param backend_http_settings_collection: Backend http settings of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type backend_http_settings_collection: list[~azure.mgmt.network.v2019_11_01.models.ApplicationGatewayBackendHttpSettings] :param http_listeners: Http listeners of the application gateway resource. For default limits, - see `Application Gateway limits `_. + see `Application Gateway limits + `_. :type http_listeners: list[~azure.mgmt.network.v2019_11_01.models.ApplicationGatewayHttpListener] :param url_path_maps: URL path map of the application gateway resource. For default limits, see - `Application Gateway limits `_. + `Application Gateway limits + `_. :type url_path_maps: list[~azure.mgmt.network.v2019_11_01.models.ApplicationGatewayUrlPathMap] :param request_routing_rules: Request routing rules of the application gateway resource. :type request_routing_rules: @@ -189,8 +186,8 @@ class ApplicationGateway(Resource): :type rewrite_rule_sets: list[~azure.mgmt.network.v2019_11_01.models.ApplicationGatewayRewriteRuleSet] :param redirect_configurations: Redirect configurations of the application gateway resource. - For default limits, see `Application Gateway limits `_. + For default limits, see `Application Gateway limits + `_. :type redirect_configurations: list[~azure.mgmt.network.v2019_11_01.models.ApplicationGatewayRedirectConfiguration] :param web_application_firewall_configuration: Web application firewall configuration. @@ -1786,7 +1783,7 @@ class ApplicationGatewayRewriteRuleCondition(msrest.serialization.Model): :param pattern: The pattern, either fixed string or regular expression, that evaluates the truthfulness of the condition. :type pattern: str - :param ignore_case: Setting this paramter to truth value with force the pattern to do a case + :param ignore_case: Setting this parameter to truth value with force the pattern to do a case in-sensitive comparison. :type ignore_case: bool :param negate: Setting this value as truth will force to check the negation of the condition @@ -3822,7 +3819,7 @@ class BastionActiveSession(msrest.serialization.Model): :ivar session_id: A unique id for the session. :vartype session_id: str :ivar start_time: The time when the session started. - :vartype start_time: object + :vartype start_time: str :ivar target_subscription_id: The subscription id for the target virtual machine. :vartype target_subscription_id: str :ivar resource_type: The type of the resource. @@ -3860,7 +3857,7 @@ class BastionActiveSession(msrest.serialization.Model): _attribute_map = { 'session_id': {'key': 'sessionId', 'type': 'str'}, - 'start_time': {'key': 'startTime', 'type': 'object'}, + 'start_time': {'key': 'startTime', 'type': 'str'}, 'target_subscription_id': {'key': 'targetSubscriptionId', 'type': 'str'}, 'resource_type': {'key': 'resourceType', 'type': 'str'}, 'target_host_name': {'key': 'targetHostName', 'type': 'str'}, @@ -4117,7 +4114,7 @@ class BastionShareableLink(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param vm: Required. Reference of the virtual machine resource. - :type vm: ~azure.mgmt.network.v2019_11_01.models.Resource + :type vm: ~azure.mgmt.network.v2019_11_01.models.VM :ivar bsl: The unique Bastion Shareable Link to the virtual machine. :vartype bsl: str :ivar created_at: The time when the link was created. @@ -4135,7 +4132,7 @@ class BastionShareableLink(msrest.serialization.Model): } _attribute_map = { - 'vm': {'key': 'vm', 'type': 'Resource'}, + 'vm': {'key': 'vm', 'type': 'VM'}, 'bsl': {'key': 'bsl', 'type': 'str'}, 'created_at': {'key': 'createdAt', 'type': 'str'}, 'message': {'key': 'message', 'type': 'str'}, @@ -5633,7 +5630,7 @@ class ContainerNetworkInterface(SubResource): ~azure.mgmt.network.v2019_11_01.models.ContainerNetworkInterfaceConfiguration :param container: Reference to the container to which this container network interface is attached. - :type container: ~azure.mgmt.network.v2019_11_01.models.SubResource + :type container: ~azure.mgmt.network.v2019_11_01.models.Container :ivar ip_configurations: Reference to the ip configuration on this container nic. :vartype ip_configurations: list[~azure.mgmt.network.v2019_11_01.models.ContainerNetworkInterfaceIpConfiguration] @@ -5656,7 +5653,7 @@ class ContainerNetworkInterface(SubResource): 'type': {'key': 'type', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, 'container_network_interface_configuration': {'key': 'properties.containerNetworkInterfaceConfiguration', 'type': 'ContainerNetworkInterfaceConfiguration'}, - 'container': {'key': 'properties.container', 'type': 'SubResource'}, + 'container': {'key': 'properties.container', 'type': 'Container'}, 'ip_configurations': {'key': 'properties.ipConfigurations', 'type': '[ContainerNetworkInterfaceIpConfiguration]'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, } @@ -12849,8 +12846,8 @@ class PacketCaptureStorageLocation(msrest.serialization.Model): :param storage_id: The ID of the storage account to save the packet capture session. Required if no local file path is provided. :type storage_id: str - :param storage_path: The URI of the storage path to save the packet capture. Must be a well- - formed URI describing the location to save the packet capture. + :param storage_path: The URI of the storage path to save the packet capture. Must be a + well-formed URI describing the location to save the packet capture. :type storage_path: str :param file_path: A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no @@ -13376,9 +13373,10 @@ class PrivateLinkService(Resource): :vartype private_endpoint_connections: list[~azure.mgmt.network.v2019_11_01.models.PrivateEndpointConnection] :param visibility: The visibility list of the private link service. - :type visibility: ~azure.mgmt.network.v2019_11_01.models.ResourceSet + :type visibility: ~azure.mgmt.network.v2019_11_01.models.PrivateLinkServicePropertiesVisibility :param auto_approval: The auto-approval list of the private link service. - :type auto_approval: ~azure.mgmt.network.v2019_11_01.models.ResourceSet + :type auto_approval: + ~azure.mgmt.network.v2019_11_01.models.PrivateLinkServicePropertiesAutoApproval :param fqdns: The list of Fqdn. :type fqdns: list[str] :ivar alias: The alias of the private link service. @@ -13410,8 +13408,8 @@ class PrivateLinkService(Resource): 'network_interfaces': {'key': 'properties.networkInterfaces', 'type': '[NetworkInterface]'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'private_endpoint_connections': {'key': 'properties.privateEndpointConnections', 'type': '[PrivateEndpointConnection]'}, - 'visibility': {'key': 'properties.visibility', 'type': 'ResourceSet'}, - 'auto_approval': {'key': 'properties.autoApproval', 'type': 'ResourceSet'}, + 'visibility': {'key': 'properties.visibility', 'type': 'PrivateLinkServicePropertiesVisibility'}, + 'auto_approval': {'key': 'properties.autoApproval', 'type': 'PrivateLinkServicePropertiesAutoApproval'}, 'fqdns': {'key': 'properties.fqdns', 'type': '[str]'}, 'alias': {'key': 'properties.alias', 'type': 'str'}, 'enable_proxy_protocol': {'key': 'properties.enableProxyProtocol', 'type': 'bool'}, @@ -17136,8 +17134,8 @@ class VirtualNetworkPeering(SubResource): :type use_remote_gateways: bool :param remote_virtual_network: The reference to the remote virtual network. The remote virtual network can be in the same or different region (preview). See here to register for the preview - and learn more (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create- - peering). + and learn more + (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering). :type remote_virtual_network: ~azure.mgmt.network.v2019_11_01.models.SubResource :param remote_address_space: The reference to the remote virtual network address space. :type remote_address_space: ~azure.mgmt.network.v2019_11_01.models.AddressSpace diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/models/_models_py3.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/models/_models_py3.py index 57fc2314903f..83d259e763c1 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/models/_models_py3.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/models/_models_py3.py @@ -144,58 +144,55 @@ class ApplicationGateway(Resource): :vartype operational_state: str or ~azure.mgmt.network.v2019_11_01.models.ApplicationGatewayOperationalState :param gateway_ip_configurations: Subnets of the application gateway resource. For default - limits, see `Application Gateway limits `_. + limits, see `Application Gateway limits + `_. :type gateway_ip_configurations: list[~azure.mgmt.network.v2019_11_01.models.ApplicationGatewayIPConfiguration] :param authentication_certificates: Authentication certificates of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type authentication_certificates: list[~azure.mgmt.network.v2019_11_01.models.ApplicationGatewayAuthenticationCertificate] :param trusted_root_certificates: Trusted Root certificates of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type trusted_root_certificates: list[~azure.mgmt.network.v2019_11_01.models.ApplicationGatewayTrustedRootCertificate] :param ssl_certificates: SSL certificates of the application gateway resource. For default - limits, see `Application Gateway limits `_. + limits, see `Application Gateway limits + `_. :type ssl_certificates: list[~azure.mgmt.network.v2019_11_01.models.ApplicationGatewaySslCertificate] :param frontend_ip_configurations: Frontend IP addresses of the application gateway resource. - For default limits, see `Application Gateway limits `_. + For default limits, see `Application Gateway limits + `_. :type frontend_ip_configurations: list[~azure.mgmt.network.v2019_11_01.models.ApplicationGatewayFrontendIPConfiguration] :param frontend_ports: Frontend ports of the application gateway resource. For default limits, - see `Application Gateway limits `_. + see `Application Gateway limits + `_. :type frontend_ports: list[~azure.mgmt.network.v2019_11_01.models.ApplicationGatewayFrontendPort] :param probes: Probes of the application gateway resource. :type probes: list[~azure.mgmt.network.v2019_11_01.models.ApplicationGatewayProbe] :param backend_address_pools: Backend address pool of the application gateway resource. For - default limits, see `Application Gateway limits `_. + default limits, see `Application Gateway limits + `_. :type backend_address_pools: list[~azure.mgmt.network.v2019_11_01.models.ApplicationGatewayBackendAddressPool] :param backend_http_settings_collection: Backend http settings of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type backend_http_settings_collection: list[~azure.mgmt.network.v2019_11_01.models.ApplicationGatewayBackendHttpSettings] :param http_listeners: Http listeners of the application gateway resource. For default limits, - see `Application Gateway limits `_. + see `Application Gateway limits + `_. :type http_listeners: list[~azure.mgmt.network.v2019_11_01.models.ApplicationGatewayHttpListener] :param url_path_maps: URL path map of the application gateway resource. For default limits, see - `Application Gateway limits `_. + `Application Gateway limits + `_. :type url_path_maps: list[~azure.mgmt.network.v2019_11_01.models.ApplicationGatewayUrlPathMap] :param request_routing_rules: Request routing rules of the application gateway resource. :type request_routing_rules: @@ -204,8 +201,8 @@ class ApplicationGateway(Resource): :type rewrite_rule_sets: list[~azure.mgmt.network.v2019_11_01.models.ApplicationGatewayRewriteRuleSet] :param redirect_configurations: Redirect configurations of the application gateway resource. - For default limits, see `Application Gateway limits `_. + For default limits, see `Application Gateway limits + `_. :type redirect_configurations: list[~azure.mgmt.network.v2019_11_01.models.ApplicationGatewayRedirectConfiguration] :param web_application_firewall_configuration: Web application firewall configuration. @@ -2015,7 +2012,7 @@ class ApplicationGatewayRewriteRuleCondition(msrest.serialization.Model): :param pattern: The pattern, either fixed string or regular expression, that evaluates the truthfulness of the condition. :type pattern: str - :param ignore_case: Setting this paramter to truth value with force the pattern to do a case + :param ignore_case: Setting this parameter to truth value with force the pattern to do a case in-sensitive comparison. :type ignore_case: bool :param negate: Setting this value as truth will force to check the negation of the condition @@ -4293,7 +4290,7 @@ class BastionActiveSession(msrest.serialization.Model): :ivar session_id: A unique id for the session. :vartype session_id: str :ivar start_time: The time when the session started. - :vartype start_time: object + :vartype start_time: str :ivar target_subscription_id: The subscription id for the target virtual machine. :vartype target_subscription_id: str :ivar resource_type: The type of the resource. @@ -4331,7 +4328,7 @@ class BastionActiveSession(msrest.serialization.Model): _attribute_map = { 'session_id': {'key': 'sessionId', 'type': 'str'}, - 'start_time': {'key': 'startTime', 'type': 'object'}, + 'start_time': {'key': 'startTime', 'type': 'str'}, 'target_subscription_id': {'key': 'targetSubscriptionId', 'type': 'str'}, 'resource_type': {'key': 'resourceType', 'type': 'str'}, 'target_host_name': {'key': 'targetHostName', 'type': 'str'}, @@ -4609,7 +4606,7 @@ class BastionShareableLink(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param vm: Required. Reference of the virtual machine resource. - :type vm: ~azure.mgmt.network.v2019_11_01.models.Resource + :type vm: ~azure.mgmt.network.v2019_11_01.models.VM :ivar bsl: The unique Bastion Shareable Link to the virtual machine. :vartype bsl: str :ivar created_at: The time when the link was created. @@ -4627,7 +4624,7 @@ class BastionShareableLink(msrest.serialization.Model): } _attribute_map = { - 'vm': {'key': 'vm', 'type': 'Resource'}, + 'vm': {'key': 'vm', 'type': 'VM'}, 'bsl': {'key': 'bsl', 'type': 'str'}, 'created_at': {'key': 'createdAt', 'type': 'str'}, 'message': {'key': 'message', 'type': 'str'}, @@ -4636,7 +4633,7 @@ class BastionShareableLink(msrest.serialization.Model): def __init__( self, *, - vm: "Resource", + vm: "VM", **kwargs ): super(BastionShareableLink, self).__init__(**kwargs) @@ -6293,7 +6290,7 @@ class ContainerNetworkInterface(SubResource): ~azure.mgmt.network.v2019_11_01.models.ContainerNetworkInterfaceConfiguration :param container: Reference to the container to which this container network interface is attached. - :type container: ~azure.mgmt.network.v2019_11_01.models.SubResource + :type container: ~azure.mgmt.network.v2019_11_01.models.Container :ivar ip_configurations: Reference to the ip configuration on this container nic. :vartype ip_configurations: list[~azure.mgmt.network.v2019_11_01.models.ContainerNetworkInterfaceIpConfiguration] @@ -6316,7 +6313,7 @@ class ContainerNetworkInterface(SubResource): 'type': {'key': 'type', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, 'container_network_interface_configuration': {'key': 'properties.containerNetworkInterfaceConfiguration', 'type': 'ContainerNetworkInterfaceConfiguration'}, - 'container': {'key': 'properties.container', 'type': 'SubResource'}, + 'container': {'key': 'properties.container', 'type': 'Container'}, 'ip_configurations': {'key': 'properties.ipConfigurations', 'type': '[ContainerNetworkInterfaceIpConfiguration]'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, } @@ -6326,7 +6323,7 @@ def __init__( *, id: Optional[str] = None, name: Optional[str] = None, - container: Optional["SubResource"] = None, + container: Optional["Container"] = None, **kwargs ): super(ContainerNetworkInterface, self).__init__(id=id, **kwargs) @@ -14315,8 +14312,8 @@ class PacketCaptureStorageLocation(msrest.serialization.Model): :param storage_id: The ID of the storage account to save the packet capture session. Required if no local file path is provided. :type storage_id: str - :param storage_path: The URI of the storage path to save the packet capture. Must be a well- - formed URI describing the location to save the packet capture. + :param storage_path: The URI of the storage path to save the packet capture. Must be a + well-formed URI describing the location to save the packet capture. :type storage_path: str :param file_path: A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no @@ -14890,9 +14887,10 @@ class PrivateLinkService(Resource): :vartype private_endpoint_connections: list[~azure.mgmt.network.v2019_11_01.models.PrivateEndpointConnection] :param visibility: The visibility list of the private link service. - :type visibility: ~azure.mgmt.network.v2019_11_01.models.ResourceSet + :type visibility: ~azure.mgmt.network.v2019_11_01.models.PrivateLinkServicePropertiesVisibility :param auto_approval: The auto-approval list of the private link service. - :type auto_approval: ~azure.mgmt.network.v2019_11_01.models.ResourceSet + :type auto_approval: + ~azure.mgmt.network.v2019_11_01.models.PrivateLinkServicePropertiesAutoApproval :param fqdns: The list of Fqdn. :type fqdns: list[str] :ivar alias: The alias of the private link service. @@ -14924,8 +14922,8 @@ class PrivateLinkService(Resource): 'network_interfaces': {'key': 'properties.networkInterfaces', 'type': '[NetworkInterface]'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'private_endpoint_connections': {'key': 'properties.privateEndpointConnections', 'type': '[PrivateEndpointConnection]'}, - 'visibility': {'key': 'properties.visibility', 'type': 'ResourceSet'}, - 'auto_approval': {'key': 'properties.autoApproval', 'type': 'ResourceSet'}, + 'visibility': {'key': 'properties.visibility', 'type': 'PrivateLinkServicePropertiesVisibility'}, + 'auto_approval': {'key': 'properties.autoApproval', 'type': 'PrivateLinkServicePropertiesAutoApproval'}, 'fqdns': {'key': 'properties.fqdns', 'type': '[str]'}, 'alias': {'key': 'properties.alias', 'type': 'str'}, 'enable_proxy_protocol': {'key': 'properties.enableProxyProtocol', 'type': 'bool'}, @@ -14939,8 +14937,8 @@ def __init__( tags: Optional[Dict[str, str]] = None, load_balancer_frontend_ip_configurations: Optional[List["FrontendIPConfiguration"]] = None, ip_configurations: Optional[List["PrivateLinkServiceIpConfiguration"]] = None, - visibility: Optional["ResourceSet"] = None, - auto_approval: Optional["ResourceSet"] = None, + visibility: Optional["PrivateLinkServicePropertiesVisibility"] = None, + auto_approval: Optional["PrivateLinkServicePropertiesAutoApproval"] = None, fqdns: Optional[List[str]] = None, enable_proxy_protocol: Optional[bool] = None, **kwargs @@ -19065,8 +19063,8 @@ class VirtualNetworkPeering(SubResource): :type use_remote_gateways: bool :param remote_virtual_network: The reference to the remote virtual network. The remote virtual network can be in the same or different region (preview). See here to register for the preview - and learn more (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create- - peering). + and learn more + (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering). :type remote_virtual_network: ~azure.mgmt.network.v2019_11_01.models.SubResource :param remote_address_space: The reference to the remote virtual network address space. :type remote_address_space: ~azure.mgmt.network.v2019_11_01.models.AddressSpace diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_application_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_application_gateways_operations.py index ffe9de58a22d..a26006a00721 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_application_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_application_gateways_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -292,8 +292,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_11_01.models.ApplicationGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGateway or the result of cls(response) @@ -611,8 +611,8 @@ def begin_start( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -721,8 +721,8 @@ def begin_stop( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -842,8 +842,8 @@ def begin_backend_health( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGatewayBackendHealth or the result of cls(response) @@ -977,8 +977,8 @@ def begin_backend_health_on_demand( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGatewayBackendHealthOnDemand or the result of cls(response) @@ -1073,7 +1073,7 @@ def list_available_server_variables( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) @@ -1125,7 +1125,7 @@ def list_available_request_headers( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) @@ -1177,7 +1177,7 @@ def list_available_response_headers( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_application_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_application_security_groups_operations.py index 902075cd89fe..06a97c025830 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_application_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_application_security_groups_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type application_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -293,8 +293,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_11_01.models.ApplicationSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_azure_firewalls_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_azure_firewalls_operations.py index 5f9c4fcaf2b3..ae57d12942a9 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_azure_firewalls_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_azure_firewalls_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type azure_firewall_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -292,8 +292,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_11_01.models.AzureFirewall :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AzureFirewall or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_bastion_hosts_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_bastion_hosts_operations.py index d5687ba3a7dd..04c813906aab 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_bastion_hosts_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_bastion_hosts_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type bastion_host_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -292,8 +292,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_11_01.models.BastionHost :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either BastionHost or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_connection_monitors_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_connection_monitors_operations.py index 6d65ba3d91fc..1e090214a283 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_connection_monitors_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_connection_monitors_operations.py @@ -93,7 +93,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -129,8 +129,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_11_01.models.ConnectionMonitor :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionMonitorResult or the result of cls(response) @@ -238,7 +238,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('ConnectionMonitorResult', pipeline_response) @@ -289,7 +289,7 @@ def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -315,8 +315,8 @@ def begin_delete( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -428,7 +428,7 @@ def update_tags( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('ConnectionMonitorResult', pipeline_response) @@ -479,7 +479,7 @@ def _stop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -505,8 +505,8 @@ def begin_stop( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -597,7 +597,7 @@ def _start_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -623,8 +623,8 @@ def begin_start( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -715,7 +715,7 @@ def _query_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -748,8 +748,8 @@ def begin_query( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionMonitorQueryResult or the result of cls(response) @@ -868,7 +868,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_ddos_custom_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_ddos_custom_policies_operations.py index a8f6be511af7..293166f4d381 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_ddos_custom_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_ddos_custom_policies_operations.py @@ -106,8 +106,8 @@ def begin_delete( :type ddos_custom_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -291,8 +291,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_11_01.models.DdosCustomPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either DdosCustomPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_ddos_protection_plans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_ddos_protection_plans_operations.py index 26339e6e3fa8..dcf3b9e22380 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_ddos_protection_plans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_ddos_protection_plans_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type ddos_protection_plan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -292,8 +292,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_11_01.models.DdosProtectionPlan :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either DdosProtectionPlan or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_express_route_circuit_authorizations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_express_route_circuit_authorizations_operations.py index 852d9d7a64ed..6a6234d9c22e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_express_route_circuit_authorizations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_express_route_circuit_authorizations_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type authorization_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -309,8 +309,8 @@ def begin_create_or_update( :type authorization_parameters: ~azure.mgmt.network.v2019_11_01.models.ExpressRouteCircuitAuthorization :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitAuthorization or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_express_route_circuit_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_express_route_circuit_connections_operations.py index e83c9893d51d..ebd14fae587d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_express_route_circuit_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_express_route_circuit_connections_operations.py @@ -118,8 +118,8 @@ def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -326,8 +326,8 @@ def begin_create_or_update( :type express_route_circuit_connection_parameters: ~azure.mgmt.network.v2019_11_01.models.ExpressRouteCircuitConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitConnection or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_express_route_circuit_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_express_route_circuit_peerings_operations.py index badb6da47501..30594a5b0438 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_express_route_circuit_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_express_route_circuit_peerings_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -309,8 +309,8 @@ def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2019_11_01.models.ExpressRouteCircuitPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_express_route_circuits_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_express_route_circuits_operations.py index 3680dd5285a2..a607ab13c513 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_express_route_circuits_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_express_route_circuits_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type circuit_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -292,8 +292,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_11_01.models.ExpressRouteCircuit :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -489,8 +489,8 @@ def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -622,8 +622,8 @@ def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) @@ -755,8 +755,8 @@ def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableSummaryListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_express_route_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_express_route_connections_operations.py index f5cf0f257389..d50fc148bf32 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_express_route_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_express_route_connections_operations.py @@ -128,8 +128,8 @@ def begin_create_or_update( :type put_express_route_connection_parameters: ~azure.mgmt.network.v2019_11_01.models.ExpressRouteConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteConnection or the result of cls(response) @@ -312,8 +312,8 @@ def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_express_route_cross_connection_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_express_route_cross_connection_peerings_operations.py index 960ec01d6ce0..ca5c46e66cfd 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_express_route_cross_connection_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_express_route_cross_connection_peerings_operations.py @@ -187,8 +187,8 @@ def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -384,8 +384,8 @@ def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2019_11_01.models.ExpressRouteCrossConnectionPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCrossConnectionPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_express_route_cross_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_express_route_cross_connections_operations.py index c9d7ddd576ee..290f25c29505 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_express_route_cross_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_express_route_cross_connections_operations.py @@ -317,8 +317,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_11_01.models.ExpressRouteCrossConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCrossConnection or the result of cls(response) @@ -515,8 +515,8 @@ def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -648,8 +648,8 @@ def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCrossConnectionsRoutesTableSummaryListResult or the result of cls(response) @@ -781,8 +781,8 @@ def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_express_route_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_express_route_gateways_operations.py index 00fc35d09769..80c2c962b70a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_express_route_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_express_route_gateways_operations.py @@ -229,8 +229,8 @@ def begin_create_or_update( :type put_express_route_gateway_parameters: ~azure.mgmt.network.v2019_11_01.models.ExpressRouteGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteGateway or the result of cls(response) @@ -403,8 +403,8 @@ def begin_delete( :type express_route_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_express_route_ports_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_express_route_ports_operations.py index ea7137a3bee9..95af4eff3cdc 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_express_route_ports_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_express_route_ports_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type express_route_port_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -292,8 +292,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_11_01.models.ExpressRoutePort :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRoutePort or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_firewall_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_firewall_policies_operations.py index c196a024ce0a..8744377fd244 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_firewall_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_firewall_policies_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type firewall_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_11_01.models.FirewallPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FirewallPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_firewall_policy_rule_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_firewall_policy_rule_groups_operations.py index f08fd9a0051a..8286d2de65e8 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_firewall_policy_rule_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_firewall_policy_rule_groups_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type rule_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -309,8 +309,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_11_01.models.FirewallPolicyRuleGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FirewallPolicyRuleGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_flow_logs_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_flow_logs_operations.py index b5db0f511f3b..c510666a80f0 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_flow_logs_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_flow_logs_operations.py @@ -93,7 +93,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -129,8 +129,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_11_01.models.FlowLog :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FlowLog or the result of cls(response) @@ -238,7 +238,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('FlowLog', pipeline_response) @@ -289,7 +289,7 @@ def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -315,8 +315,8 @@ def begin_delete( :type flow_log_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -432,7 +432,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_inbound_nat_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_inbound_nat_rules_operations.py index 56442ca053ce..f1841c355399 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_inbound_nat_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_inbound_nat_rules_operations.py @@ -187,8 +187,8 @@ def begin_delete( :type inbound_nat_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -389,8 +389,8 @@ def begin_create_or_update( :type inbound_nat_rule_parameters: ~azure.mgmt.network.v2019_11_01.models.InboundNatRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either InboundNatRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_ip_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_ip_groups_operations.py index 81b6018d420e..bfce68127697 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_ip_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_ip_groups_operations.py @@ -102,7 +102,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('IpGroup', pipeline_response) @@ -157,7 +157,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -190,8 +190,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_11_01.models.IpGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either IpGroup or the result of cls(response) @@ -301,7 +301,7 @@ def update_groups( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('IpGroup', pipeline_response) @@ -350,7 +350,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -373,8 +373,8 @@ def begin_delete( :type ip_groups_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -484,7 +484,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -552,7 +552,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_load_balancers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_load_balancers_operations.py index 3b44f80f790f..7b737658f550 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_load_balancers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_load_balancers_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type load_balancer_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_11_01.models.LoadBalancer :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LoadBalancer or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_local_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_local_network_gateways_operations.py index 52ec414b9fbd..36dfacb6ea03 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_local_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_local_network_gateways_operations.py @@ -123,8 +123,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_11_01.models.LocalNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LocalNetworkGateway or the result of cls(response) @@ -296,8 +296,8 @@ def begin_delete( :type local_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_nat_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_nat_gateways_operations.py index ba030f583196..ceb07a835bb6 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_nat_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_nat_gateways_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type nat_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -300,8 +300,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_11_01.models.NatGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NatGateway or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_network_interface_tap_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_network_interface_tap_configurations_operations.py index 7623f5b26f28..6e7ffd109424 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_network_interface_tap_configurations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_network_interface_tap_configurations_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type tap_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -309,8 +309,8 @@ def begin_create_or_update( :type tap_configuration_parameters: ~azure.mgmt.network.v2019_11_01.models.NetworkInterfaceTapConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkInterfaceTapConfiguration or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_network_interfaces_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_network_interfaces_operations.py index bc1d1748d1d3..0057107c621f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_network_interfaces_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_network_interfaces_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_11_01.models.NetworkInterface :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkInterface or the result of cls(response) @@ -621,8 +621,8 @@ def begin_get_effective_route_table( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either EffectiveRouteListResult or the result of cls(response) @@ -739,8 +739,8 @@ def begin_list_effective_network_security_groups( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either EffectiveNetworkSecurityGroupListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_network_management_client_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_network_management_client_operations.py index 736318e2a835..1b049c2cde3d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_network_management_client_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_network_management_client_operations.py @@ -101,8 +101,8 @@ def begin_put_bastion_shareable_link( :type bsl_request: ~azure.mgmt.network.v2019_11_01.models.BastionShareableLinkListRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns an iterator like instance of either BastionShareableLinkListResult or the result of cls(response) @@ -286,8 +286,8 @@ def begin_delete_bastion_shareable_link( :type bsl_request: ~azure.mgmt.network.v2019_11_01.models.BastionShareableLinkListRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -488,8 +488,8 @@ def begin_get_active_sessions( :type bastion_host_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns an iterator like instance of either BastionActiveSessionListResult or the result of cls(response) @@ -878,8 +878,8 @@ def begin_generatevirtualwanvpnserverconfigurationvpnprofile( :type vpn_client_params: ~azure.mgmt.network.v2019_11_01.models.VirtualWanVpnProfileParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnProfileResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_network_profiles_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_network_profiles_operations.py index cb780eda3436..20eb6581c4e9 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_network_profiles_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_network_profiles_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type network_profile_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_network_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_network_security_groups_operations.py index a39d12ca75b8..3a890729ebe3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_network_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_network_security_groups_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type network_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_11_01.models.NetworkSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_network_watchers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_network_watchers_operations.py index c90e4d6b5db2..c7cd5e45dd37 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_network_watchers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_network_watchers_operations.py @@ -104,7 +104,7 @@ def create_or_update( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -168,7 +168,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('NetworkWatcher', pipeline_response) @@ -217,7 +217,7 @@ def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -240,8 +240,8 @@ def begin_delete( :type network_watcher_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -347,7 +347,7 @@ def update_tags( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('NetworkWatcher', pipeline_response) @@ -419,7 +419,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -487,7 +487,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -555,7 +555,7 @@ def get_topology( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('Topology', pipeline_response) @@ -610,7 +610,7 @@ def _verify_ip_flow_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -643,8 +643,8 @@ def begin_verify_ip_flow( :type parameters: ~azure.mgmt.network.v2019_11_01.models.VerificationIPFlowParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VerificationIPFlowResult or the result of cls(response) @@ -741,7 +741,7 @@ def _get_next_hop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -774,8 +774,8 @@ def begin_get_next_hop( :type parameters: ~azure.mgmt.network.v2019_11_01.models.NextHopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NextHopResult or the result of cls(response) @@ -872,7 +872,7 @@ def _get_vm_security_rules_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -905,8 +905,8 @@ def begin_get_vm_security_rules( :type parameters: ~azure.mgmt.network.v2019_11_01.models.SecurityGroupViewParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either SecurityGroupViewResult or the result of cls(response) @@ -1003,7 +1003,7 @@ def _get_troubleshooting_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1036,8 +1036,8 @@ def begin_get_troubleshooting( :type parameters: ~azure.mgmt.network.v2019_11_01.models.TroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1134,7 +1134,7 @@ def _get_troubleshooting_result_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1167,8 +1167,8 @@ def begin_get_troubleshooting_result( :type parameters: ~azure.mgmt.network.v2019_11_01.models.QueryTroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1265,7 +1265,7 @@ def _set_flow_log_configuration_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1298,8 +1298,8 @@ def begin_set_flow_log_configuration( :type parameters: ~azure.mgmt.network.v2019_11_01.models.FlowLogInformation :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1396,7 +1396,7 @@ def _get_flow_log_status_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1430,8 +1430,8 @@ def begin_get_flow_log_status( :type parameters: ~azure.mgmt.network.v2019_11_01.models.FlowLogStatusParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1528,7 +1528,7 @@ def _check_connectivity_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1562,8 +1562,8 @@ def begin_check_connectivity( :type parameters: ~azure.mgmt.network.v2019_11_01.models.ConnectivityParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectivityInformation or the result of cls(response) @@ -1660,7 +1660,7 @@ def _get_azure_reachability_report_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1695,8 +1695,8 @@ def begin_get_azure_reachability_report( :type parameters: ~azure.mgmt.network.v2019_11_01.models.AzureReachabilityReportParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AzureReachabilityReport or the result of cls(response) @@ -1793,7 +1793,7 @@ def _list_available_providers_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1827,8 +1827,8 @@ def begin_list_available_providers( :type parameters: ~azure.mgmt.network.v2019_11_01.models.AvailableProvidersListParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AvailableProvidersList or the result of cls(response) @@ -1925,7 +1925,7 @@ def _get_network_configuration_diagnostic_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1962,8 +1962,8 @@ def begin_get_network_configuration_diagnostic( :type parameters: ~azure.mgmt.network.v2019_11_01.models.NetworkConfigurationDiagnosticParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkConfigurationDiagnosticResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_p2_svpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_p2_svpn_gateways_operations.py index b445aa961846..372c1793a084 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_p2_svpn_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_p2_svpn_gateways_operations.py @@ -183,8 +183,8 @@ def begin_create_or_update( :type p2_s_vpn_gateway_parameters: ~azure.mgmt.network.v2019_11_01.models.P2SVpnGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -365,8 +365,8 @@ def begin_delete( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -628,8 +628,8 @@ def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2019_11_01.models.P2SVpnProfileParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnProfileResponse or the result of cls(response) @@ -748,8 +748,8 @@ def begin_get_p2_s_vpn_connection_health( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -876,8 +876,8 @@ def begin_get_p2_s_vpn_connection_health_detailed( :type request: ~azure.mgmt.network.v2019_11_01.models.P2SVpnConnectionHealthRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either P2SVpnConnectionHealth or the result of cls(response) @@ -1000,8 +1000,8 @@ def begin_disconnect_p2_s_vpn_connections( :type request: ~azure.mgmt.network.v2019_11_01.models.P2SVpnConnectionRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_packet_captures_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_packet_captures_operations.py index 67f5c36db0c9..c39aac51f28d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_packet_captures_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_packet_captures_operations.py @@ -93,7 +93,7 @@ def _create_initial( if response.status_code not in [201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PacketCaptureResult', pipeline_response) @@ -125,8 +125,8 @@ def begin_create( :type parameters: ~azure.mgmt.network.v2019_11_01.models.PacketCapture :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PacketCaptureResult or the result of cls(response) @@ -234,7 +234,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PacketCaptureResult', pipeline_response) @@ -285,7 +285,7 @@ def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -311,8 +311,8 @@ def begin_delete( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -403,7 +403,7 @@ def _stop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -429,8 +429,8 @@ def begin_stop( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -521,7 +521,7 @@ def _get_status_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -554,8 +554,8 @@ def begin_get_status( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PacketCaptureQueryStatusResult or the result of cls(response) @@ -674,7 +674,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_private_endpoints_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_private_endpoints_operations.py index d76870145e7c..cdb3317ec864 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_private_endpoints_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_private_endpoints_operations.py @@ -85,7 +85,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -108,8 +108,8 @@ def begin_delete( :type private_endpoint_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -212,7 +212,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateEndpoint', pipeline_response) @@ -267,7 +267,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -300,8 +300,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_11_01.models.PrivateEndpoint :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PrivateEndpoint or the result of cls(response) @@ -415,7 +415,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -483,7 +483,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_private_link_services_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_private_link_services_operations.py index 630a7b56feb2..9a646b6faa0b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_private_link_services_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_private_link_services_operations.py @@ -85,7 +85,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -108,8 +108,8 @@ def begin_delete( :type service_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -212,7 +212,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateLinkService', pipeline_response) @@ -267,7 +267,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -300,8 +300,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_11_01.models.PrivateLinkService :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PrivateLinkService or the result of cls(response) @@ -415,7 +415,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -483,7 +483,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -553,7 +553,7 @@ def get_private_endpoint_connection( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateEndpointConnection', pipeline_response) @@ -625,7 +625,7 @@ def update_private_endpoint_connection( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateEndpointConnection', pipeline_response) @@ -676,7 +676,7 @@ def _delete_private_endpoint_connection_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -702,8 +702,8 @@ def begin_delete_private_endpoint_connection( :type pe_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -819,7 +819,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -899,8 +899,8 @@ def begin_check_private_link_service_visibility( :type parameters: ~azure.mgmt.network.v2019_11_01.models.CheckPrivateLinkServiceVisibilityRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PrivateLinkServiceVisibility or the result of cls(response) @@ -1026,8 +1026,8 @@ def begin_check_private_link_service_visibility_by_resource_group( :type parameters: ~azure.mgmt.network.v2019_11_01.models.CheckPrivateLinkServiceVisibilityRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PrivateLinkServiceVisibility or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_public_ip_addresses_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_public_ip_addresses_operations.py index 52a3fbae68c4..61b0c9d25f24 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_public_ip_addresses_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_public_ip_addresses_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type public_ip_address_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_11_01.models.PublicIPAddress :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PublicIPAddress or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_public_ip_prefixes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_public_ip_prefixes_operations.py index 88e31dabb8b8..a7e2a1f6d1e3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_public_ip_prefixes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_public_ip_prefixes_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type public_ip_prefix_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_11_01.models.PublicIPPrefix :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PublicIPPrefix or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_route_filter_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_route_filter_rules_operations.py index 8c5d28a1455d..3449db0d16cb 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_route_filter_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_route_filter_rules_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -309,8 +309,8 @@ def begin_create_or_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2019_11_01.models.RouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilterRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_route_filters_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_route_filters_operations.py index e84e731b0eed..eccc9c1c8e1e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_route_filters_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_route_filters_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type route_filter_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ def begin_create_or_update( :type route_filter_parameters: ~azure.mgmt.network.v2019_11_01.models.RouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilter or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_route_tables_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_route_tables_operations.py index 5faf5dcaa128..ed0b67959273 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_route_tables_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_route_tables_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_11_01.models.RouteTable :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteTable or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_routes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_routes_operations.py index f10485894bfa..efc040e40d91 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_routes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_routes_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type route_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -308,8 +308,8 @@ def begin_create_or_update( :type route_parameters: ~azure.mgmt.network.v2019_11_01.models.Route :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Route or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_security_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_security_rules_operations.py index 05e16399dc0a..ec2daf1671ed 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_security_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_security_rules_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type security_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -309,8 +309,8 @@ def begin_create_or_update( :type security_rule_parameters: ~azure.mgmt.network.v2019_11_01.models.SecurityRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either SecurityRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_service_endpoint_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_service_endpoint_policies_operations.py index a9dba2776821..92d7c788ef65 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_service_endpoint_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_service_endpoint_policies_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type service_endpoint_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_11_01.models.ServiceEndpointPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ServiceEndpointPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_service_endpoint_policy_definitions_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_service_endpoint_policy_definitions_operations.py index 58d45e226b23..bae6002a8c98 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_service_endpoint_policy_definitions_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_service_endpoint_policy_definitions_operations.py @@ -113,8 +113,8 @@ def begin_delete( :type service_endpoint_policy_definition_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -313,8 +313,8 @@ def begin_create_or_update( :type service_endpoint_policy_definitions: ~azure.mgmt.network.v2019_11_01.models.ServiceEndpointPolicyDefinition :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ServiceEndpointPolicyDefinition or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_subnets_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_subnets_operations.py index ceec5b3f7e02..1b6a7d4d3de3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_subnets_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_subnets_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type subnet_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -313,8 +313,8 @@ def begin_create_or_update( :type subnet_parameters: ~azure.mgmt.network.v2019_11_01.models.Subnet :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Subnet or the result of cls(response) @@ -444,8 +444,8 @@ def begin_prepare_network_policies( :type prepare_network_policies_request_parameters: ~azure.mgmt.network.v2019_11_01.models.PrepareNetworkPoliciesRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -572,8 +572,8 @@ def begin_unprepare_network_policies( :type unprepare_network_policies_request_parameters: ~azure.mgmt.network.v2019_11_01.models.UnprepareNetworkPoliciesRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_virtual_hub_route_table_v2_s_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_virtual_hub_route_table_v2_s_operations.py index 50c554a0b475..c3ed49be8869 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_virtual_hub_route_table_v2_s_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_virtual_hub_route_table_v2_s_operations.py @@ -100,7 +100,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualHubRouteTableV2', pipeline_response) @@ -157,7 +157,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -195,8 +195,8 @@ def begin_create_or_update( :type virtual_hub_route_table_v2_parameters: ~azure.mgmt.network.v2019_11_01.models.VirtualHubRouteTableV2 :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualHubRouteTableV2 or the result of cls(response) @@ -291,7 +291,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -317,8 +317,8 @@ def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_virtual_hubs_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_virtual_hubs_operations.py index d8b686cea9f2..216ef151f2b5 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_virtual_hubs_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_virtual_hubs_operations.py @@ -182,8 +182,8 @@ def begin_create_or_update( :type virtual_hub_parameters: ~azure.mgmt.network.v2019_11_01.models.VirtualHub :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualHub or the result of cls(response) @@ -363,8 +363,8 @@ def begin_delete( :type virtual_hub_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_virtual_network_gateway_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_virtual_network_gateway_connections_operations.py index a07415fdc4b3..ee48d04fc22d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_virtual_network_gateway_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_virtual_network_gateway_connections_operations.py @@ -125,8 +125,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_11_01.models.VirtualNetworkGatewayConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -300,8 +300,8 @@ def begin_delete( :type virtual_network_gateway_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -425,8 +425,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -558,8 +558,8 @@ def begin_set_shared_key( :type parameters: ~azure.mgmt.network.v2019_11_01.models.ConnectionSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionSharedKey or the result of cls(response) @@ -823,8 +823,8 @@ def begin_reset_shared_key( :type parameters: ~azure.mgmt.network.v2019_11_01.models.ConnectionResetSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionResetSharedKey or the result of cls(response) @@ -924,7 +924,7 @@ def _start_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -957,8 +957,8 @@ def begin_start_packet_capture( :type parameters: ~azure.mgmt.network.v2019_11_01.models.VpnPacketCaptureStartParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1055,7 +1055,7 @@ def _stop_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -1088,8 +1088,8 @@ def begin_stop_packet_capture( :type parameters: ~azure.mgmt.network.v2019_11_01.models.VpnPacketCaptureStopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_virtual_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_virtual_network_gateways_operations.py index 4b148fe258b6..13a3081b3c95 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_virtual_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_virtual_network_gateways_operations.py @@ -123,8 +123,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_11_01.models.VirtualNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -296,8 +296,8 @@ def begin_delete( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -420,8 +420,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -692,8 +692,8 @@ def begin_reset( :type gateway_vip: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -807,8 +807,8 @@ def begin_reset_vpn_client_shared_key( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -933,8 +933,8 @@ def begin_generatevpnclientpackage( :type parameters: ~azure.mgmt.network.v2019_11_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1063,8 +1063,8 @@ def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2019_11_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1183,8 +1183,8 @@ def begin_get_vpn_profile_package_url( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1307,8 +1307,8 @@ def begin_get_bgp_peer_status( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either BgpPeerStatusListResult or the result of cls(response) @@ -1486,8 +1486,8 @@ def begin_get_learned_routes( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1610,8 +1610,8 @@ def begin_get_advertised_routes( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1740,8 +1740,8 @@ def begin_set_vpnclient_ipsec_parameters( :type vpnclient_ipsec_params: ~azure.mgmt.network.v2019_11_01.models.VpnClientIPsecParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnClientIPsecParameters or the result of cls(response) @@ -1859,8 +1859,8 @@ def begin_get_vpnclient_ipsec_parameters( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnClientIPsecParameters or the result of cls(response) @@ -2027,7 +2027,7 @@ def _start_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -2059,8 +2059,8 @@ def begin_start_packet_capture( :type parameters: ~azure.mgmt.network.v2019_11_01.models.VpnPacketCaptureStartParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -2157,7 +2157,7 @@ def _stop_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -2189,8 +2189,8 @@ def begin_stop_packet_capture( :type parameters: ~azure.mgmt.network.v2019_11_01.models.VpnPacketCaptureStopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -2309,8 +2309,8 @@ def begin_get_vpnclient_connection_health( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnClientConnectionHealthDetailListResult or the result of cls(response) @@ -2431,8 +2431,8 @@ def begin_disconnect_virtual_network_gateway_vpn_connections( :type request: ~azure.mgmt.network.v2019_11_01.models.P2SVpnConnectionRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_virtual_network_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_virtual_network_peerings_operations.py index 84223de3e2b4..212cd6e9f442 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_virtual_network_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_virtual_network_peerings_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type virtual_network_peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -309,8 +309,8 @@ def begin_create_or_update( :type virtual_network_peering_parameters: ~azure.mgmt.network.v2019_11_01.models.VirtualNetworkPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_virtual_network_taps_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_virtual_network_taps_operations.py index d0a502299051..2706bbdeff57 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_virtual_network_taps_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_virtual_network_taps_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type tap_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -292,8 +292,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_11_01.models.VirtualNetworkTap :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkTap or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_virtual_networks_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_virtual_networks_operations.py index a01350214ead..b7a0c866fb27 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_virtual_networks_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_virtual_networks_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type virtual_network_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_11_01.models.VirtualNetwork :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetwork or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_virtual_router_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_virtual_router_peerings_operations.py index e48d141366e8..983e8322bc9c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_virtual_router_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_virtual_router_peerings_operations.py @@ -87,7 +87,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -113,8 +113,8 @@ def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -218,7 +218,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualRouterPeering', pipeline_response) @@ -275,7 +275,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -312,8 +312,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_11_01.models.VirtualRouterPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualRouterPeering or the result of cls(response) @@ -433,7 +433,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_virtual_routers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_virtual_routers_operations.py index 2c691383b2f0..72eed89e5403 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_virtual_routers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_virtual_routers_operations.py @@ -85,7 +85,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -108,8 +108,8 @@ def begin_delete( :type virtual_router_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -212,7 +212,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualRouter', pipeline_response) @@ -267,7 +267,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -300,8 +300,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_11_01.models.VirtualRouter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualRouter or the result of cls(response) @@ -415,7 +415,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -483,7 +483,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_virtual_wans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_virtual_wans_operations.py index 6cb3bf6f5baa..8c3fd42e1c02 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_virtual_wans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_virtual_wans_operations.py @@ -182,8 +182,8 @@ def begin_create_or_update( :type wan_parameters: ~azure.mgmt.network.v2019_11_01.models.VirtualWAN :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualWAN or the result of cls(response) @@ -363,8 +363,8 @@ def begin_delete( :type virtual_wan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_vpn_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_vpn_connections_operations.py index dbc82a04645c..7e25887073e9 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_vpn_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_vpn_connections_operations.py @@ -192,8 +192,8 @@ def begin_create_or_update( :type vpn_connection_parameters: ~azure.mgmt.network.v2019_11_01.models.VpnConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnConnection or the result of cls(response) @@ -313,8 +313,8 @@ def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_vpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_vpn_gateways_operations.py index bf8adce09f17..1137bcc6c757 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_vpn_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_vpn_gateways_operations.py @@ -183,8 +183,8 @@ def begin_create_or_update( :type vpn_gateway_parameters: ~azure.mgmt.network.v2019_11_01.models.VpnGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnGateway or the result of cls(response) @@ -364,8 +364,8 @@ def begin_delete( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -479,8 +479,8 @@ def begin_reset( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnGateway or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py index b3e3eb9985b1..c129725259a3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py @@ -112,8 +112,8 @@ def begin_list( :type virtual_wan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnServerConfigurationsResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_vpn_server_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_vpn_server_configurations_operations.py index d165d14fc7ff..017250f2c8a6 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_vpn_server_configurations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_vpn_server_configurations_operations.py @@ -185,8 +185,8 @@ def begin_create_or_update( :type vpn_server_configuration_parameters: ~azure.mgmt.network.v2019_11_01.models.VpnServerConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnServerConfiguration or the result of cls(response) @@ -367,8 +367,8 @@ def begin_delete( :type vpn_server_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_vpn_sites_configuration_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_vpn_sites_configuration_operations.py index e678a2f7d0be..53131e5c21e4 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_vpn_sites_configuration_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_vpn_sites_configuration_operations.py @@ -116,8 +116,8 @@ def begin_download( :type request: ~azure.mgmt.network.v2019_11_01.models.GetVpnSitesConfigurationRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_vpn_sites_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_vpn_sites_operations.py index 60b456dc8804..ce2f0feadae8 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_vpn_sites_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_vpn_sites_operations.py @@ -182,8 +182,8 @@ def begin_create_or_update( :type vpn_site_parameters: ~azure.mgmt.network.v2019_11_01.models.VpnSite :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnSite or the result of cls(response) @@ -363,8 +363,8 @@ def begin_delete( :type vpn_site_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_web_application_firewall_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_web_application_firewall_policies_operations.py index ac94d9f36d14..0fec9dadd138 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_web_application_firewall_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/operations/_web_application_firewall_policies_operations.py @@ -375,8 +375,8 @@ def begin_delete( :type policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/_metadata.json b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/_metadata.json index db1bb529789a..e60be21d1775 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/_metadata.json +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/_metadata.json @@ -9,7 +9,9 @@ "custom_base_url": null, "azure_arm": true, "has_lro_operations": true, - "client_side_validation": true + "client_side_validation": false, + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"NetworkManagementClientConfiguration\"], \"._operations_mixin\": [\"NetworkManagementClientOperationsMixin\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"NetworkManagementClientConfiguration\"], \"._operations_mixin\": [\"NetworkManagementClientOperationsMixin\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}" }, "global_parameters": { "sync": { @@ -28,13 +30,13 @@ }, "async": { "credential": { - "signature": "credential, # type: \"AsyncTokenCredential\"", + "signature": "credential: \"AsyncTokenCredential\",", "description": "Credential needed for the client to connect to Azure.", "docstring_type": "~azure.core.credentials_async.AsyncTokenCredential", "required": true }, "subscription_id": { - "signature": "subscription_id, # type: str", + "signature": "subscription_id: str,", "description": "The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.", "docstring_type": "str", "required": true @@ -42,14 +44,58 @@ }, "constant": { }, - "call": "credential, subscription_id" + "call": "credential, subscription_id", + "service_client_specific": { + "sync": { + "api_version": { + "signature": "api_version=None, # type: Optional[str]", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url=None, # type: Optional[str]", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile=KnownProfiles.default, # type: KnownProfiles", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + }, + "async": { + "api_version": { + "signature": "api_version: Optional[str] = None,", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url: Optional[str] = None,", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile: KnownProfiles = KnownProfiles.default,", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + } + } }, "config": { "credential": true, "credential_scopes": ["https://management.azure.com/.default"], "credential_default_policy_type": "BearerTokenCredentialPolicy", "credential_default_policy_type_has_async_version": true, - "credential_key_header_name": null + "credential_key_header_name": null, + "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMHttpLoggingPolicy\"]}, \"local\": {\"._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}}", + "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMHttpLoggingPolicy\"]}, \"local\": {\".._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}}" }, "operation_groups": { "application_gateways": "ApplicationGatewaysOperations", @@ -144,151 +190,153 @@ "web_application_firewall_policies": "WebApplicationFirewallPoliciesOperations" }, "operation_mixins": { - "_put_bastion_shareable_link_initial" : { - "sync": { - "signature": "def _put_bastion_shareable_link_initial(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2019_12_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionShareableLinkListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_12_01.models.BastionShareableLinkListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def _put_bastion_shareable_link_initial(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e Optional[\"_models.BastionShareableLinkListResult\"]:\n", - "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2019_12_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionShareableLinkListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_12_01.models.BastionShareableLinkListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "resource_group_name, bastion_host_name, bsl_request" - }, - "begin_put_bastion_shareable_link" : { - "sync": { - "signature": "def begin_put_bastion_shareable_link(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Creates a Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2019_12_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns an iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[~azure.core.paging.ItemPaged[~azure.mgmt.network.v2019_12_01.models.BastionShareableLinkListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" - }, - "async": { - "coroutine": false, - "signature": "def begin_put_bastion_shareable_link(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e AsyncLROPoller[AsyncItemPaged[\"_models.BastionShareableLinkListResult\"]]:\n", - "doc": "\"\"\"Creates a Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2019_12_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns an iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2019_12_01.models.BastionShareableLinkListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" - }, - "call": "resource_group_name, bastion_host_name, bsl_request" - }, - "_delete_bastion_shareable_link_initial" : { - "sync": { - "signature": "def _delete_bastion_shareable_link_initial(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2019_12_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def _delete_bastion_shareable_link_initial(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e None:\n", - "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2019_12_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "resource_group_name, bastion_host_name, bsl_request" - }, - "begin_delete_bastion_shareable_link" : { - "sync": { - "signature": "def begin_delete_bastion_shareable_link(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Deletes the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2019_12_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def begin_delete_bastion_shareable_link(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e AsyncLROPoller[None]:\n", - "doc": "\"\"\"Deletes the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2019_12_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" - }, - "call": "resource_group_name, bastion_host_name, bsl_request" - }, - "get_bastion_shareable_link" : { - "sync": { - "signature": "def get_bastion_shareable_link(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Return the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2019_12_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2019_12_01.models.BastionShareableLinkListResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": false, - "signature": "def get_bastion_shareable_link(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e AsyncItemPaged[\"_models.BastionShareableLinkListResult\"]:\n", - "doc": "\"\"\"Return the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2019_12_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2019_12_01.models.BastionShareableLinkListResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "resource_group_name, bastion_host_name, bsl_request" - }, - "_get_active_sessions_initial" : { - "sync": { - "signature": "def _get_active_sessions_initial(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionActiveSessionListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_12_01.models.BastionActiveSessionListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def _get_active_sessions_initial(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n **kwargs\n) -\u003e Optional[\"_models.BastionActiveSessionListResult\"]:\n", - "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionActiveSessionListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_12_01.models.BastionActiveSessionListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "resource_group_name, bastion_host_name" - }, - "begin_get_active_sessions" : { - "sync": { - "signature": "def begin_get_active_sessions(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns an iterator like instance of either BastionActiveSessionListResult or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[~azure.core.paging.ItemPaged[~azure.mgmt.network.v2019_12_01.models.BastionActiveSessionListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"], \"azure.core.polling\": [\"LROPoller\", \"NoPolling\", \"PollingMethod\"], \"azure.mgmt.core.polling.arm_polling\": [\"ARMPolling\"], \"azure.core.paging\": [\"ItemPaged\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Iterable\", \"Optional\", \"TypeVar\", \"Union\"]}}}", + "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"], \"azure.core.polling\": [\"AsyncLROPoller\", \"AsyncNoPolling\", \"AsyncPollingMethod\"], \"azure.mgmt.core.polling.async_arm_polling\": [\"AsyncARMPolling\"], \"azure.core.async_paging\": [\"AsyncItemPaged\", \"AsyncList\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"AsyncIterable\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\", \"Union\"]}}}", + "operations": { + "_put_bastion_shareable_link_initial" : { + "sync": { + "signature": "def _put_bastion_shareable_link_initial(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2019_12_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionShareableLinkListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_12_01.models.BastionShareableLinkListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def _put_bastion_shareable_link_initial(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e Optional[\"_models.BastionShareableLinkListResult\"]:\n", + "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2019_12_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionShareableLinkListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_12_01.models.BastionShareableLinkListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "resource_group_name, bastion_host_name, bsl_request" }, - "async": { - "coroutine": false, - "signature": "def begin_get_active_sessions(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n **kwargs\n) -\u003e AsyncLROPoller[AsyncItemPaged[\"_models.BastionActiveSessionListResult\"]]:\n", - "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns an iterator like instance of either BastionActiveSessionListResult or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2019_12_01.models.BastionActiveSessionListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + "begin_put_bastion_shareable_link" : { + "sync": { + "signature": "def begin_put_bastion_shareable_link(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Creates a Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2019_12_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the ARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns an iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[~azure.core.paging.ItemPaged[~azure.mgmt.network.v2019_12_01.models.BastionShareableLinkListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "async": { + "coroutine": false, + "signature": "def begin_put_bastion_shareable_link(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e AsyncLROPoller[AsyncItemPaged[\"_models.BastionShareableLinkListResult\"]]:\n", + "doc": "\"\"\"Creates a Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2019_12_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the AsyncARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns an iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2019_12_01.models.BastionShareableLinkListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "call": "resource_group_name, bastion_host_name, bsl_request" }, - "call": "resource_group_name, bastion_host_name" - }, - "disconnect_active_sessions" : { - "sync": { - "signature": "def disconnect_active_sessions(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n session_ids, # type: \"_models.SessionIds\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param session_ids: The list of sessionids to disconnect.\n:type session_ids: ~azure.mgmt.network.v2019_12_01.models.SessionIds\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionSessionDeleteResult or the result of cls(response)\n:rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2019_12_01.models.BastionSessionDeleteResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": false, - "signature": "def disconnect_active_sessions(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n session_ids: \"_models.SessionIds\",\n **kwargs\n) -\u003e AsyncItemPaged[\"_models.BastionSessionDeleteResult\"]:\n", - "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param session_ids: The list of sessionids to disconnect.\n:type session_ids: ~azure.mgmt.network.v2019_12_01.models.SessionIds\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionSessionDeleteResult or the result of cls(response)\n:rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2019_12_01.models.BastionSessionDeleteResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "_delete_bastion_shareable_link_initial" : { + "sync": { + "signature": "def _delete_bastion_shareable_link_initial(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2019_12_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def _delete_bastion_shareable_link_initial(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e None:\n", + "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2019_12_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "resource_group_name, bastion_host_name, bsl_request" }, - "call": "resource_group_name, bastion_host_name, session_ids" - }, - "check_dns_name_availability" : { - "sync": { - "signature": "def check_dns_name_availability(\n self,\n location, # type: str\n domain_name_label, # type: str\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_12_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "begin_delete_bastion_shareable_link" : { + "sync": { + "signature": "def begin_delete_bastion_shareable_link(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Deletes the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2019_12_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the ARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def begin_delete_bastion_shareable_link(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e AsyncLROPoller[None]:\n", + "doc": "\"\"\"Deletes the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2019_12_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the AsyncARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "call": "resource_group_name, bastion_host_name, bsl_request" }, - "async": { - "coroutine": true, - "signature": "async def check_dns_name_availability(\n self,\n location: str,\n domain_name_label: str,\n **kwargs\n) -\u003e \"_models.DnsNameAvailabilityResult\":\n", - "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_12_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "get_bastion_shareable_link" : { + "sync": { + "signature": "def get_bastion_shareable_link(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Return the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2019_12_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2019_12_01.models.BastionShareableLinkListResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": false, + "signature": "def get_bastion_shareable_link(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e AsyncItemPaged[\"_models.BastionShareableLinkListResult\"]:\n", + "doc": "\"\"\"Return the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2019_12_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2019_12_01.models.BastionShareableLinkListResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "resource_group_name, bastion_host_name, bsl_request" }, - "call": "location, domain_name_label" - }, - "supported_security_providers" : { - "sync": { - "signature": "def supported_security_providers(\n self,\n resource_group_name, # type: str\n virtual_wan_name, # type: str\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Gives the supported security providers for the virtual wan.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN for which supported security providers are\n needed.\n:type virtual_wan_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VirtualWanSecurityProviders, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_12_01.models.VirtualWanSecurityProviders\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "_get_active_sessions_initial" : { + "sync": { + "signature": "def _get_active_sessions_initial(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionActiveSessionListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_12_01.models.BastionActiveSessionListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def _get_active_sessions_initial(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n **kwargs\n) -\u003e Optional[\"_models.BastionActiveSessionListResult\"]:\n", + "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionActiveSessionListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_12_01.models.BastionActiveSessionListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "resource_group_name, bastion_host_name" }, - "async": { - "coroutine": true, - "signature": "async def supported_security_providers(\n self,\n resource_group_name: str,\n virtual_wan_name: str,\n **kwargs\n) -\u003e \"_models.VirtualWanSecurityProviders\":\n", - "doc": "\"\"\"Gives the supported security providers for the virtual wan.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN for which supported security providers are\n needed.\n:type virtual_wan_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VirtualWanSecurityProviders, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_12_01.models.VirtualWanSecurityProviders\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "begin_get_active_sessions" : { + "sync": { + "signature": "def begin_get_active_sessions(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the ARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns an iterator like instance of either BastionActiveSessionListResult or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[~azure.core.paging.ItemPaged[~azure.mgmt.network.v2019_12_01.models.BastionActiveSessionListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "async": { + "coroutine": false, + "signature": "def begin_get_active_sessions(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n **kwargs\n) -\u003e AsyncLROPoller[AsyncItemPaged[\"_models.BastionActiveSessionListResult\"]]:\n", + "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the AsyncARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns an iterator like instance of either BastionActiveSessionListResult or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2019_12_01.models.BastionActiveSessionListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "call": "resource_group_name, bastion_host_name" }, - "call": "resource_group_name, virtual_wan_name" - }, - "_generatevirtualwanvpnserverconfigurationvpnprofile_initial" : { - "sync": { - "signature": "def _generatevirtualwanvpnserverconfigurationvpnprofile_initial(\n self,\n resource_group_name, # type: str\n virtual_wan_name, # type: str\n vpn_client_params, # type: \"_models.VirtualWanVpnProfileParameters\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2019_12_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VpnProfileResponse, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_12_01.models.VpnProfileResponse or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "disconnect_active_sessions" : { + "sync": { + "signature": "def disconnect_active_sessions(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n session_ids, # type: \"_models.SessionIds\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param session_ids: The list of sessionids to disconnect.\n:type session_ids: ~azure.mgmt.network.v2019_12_01.models.SessionIds\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionSessionDeleteResult or the result of cls(response)\n:rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2019_12_01.models.BastionSessionDeleteResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": false, + "signature": "def disconnect_active_sessions(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n session_ids: \"_models.SessionIds\",\n **kwargs\n) -\u003e AsyncItemPaged[\"_models.BastionSessionDeleteResult\"]:\n", + "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param session_ids: The list of sessionids to disconnect.\n:type session_ids: ~azure.mgmt.network.v2019_12_01.models.SessionIds\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionSessionDeleteResult or the result of cls(response)\n:rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2019_12_01.models.BastionSessionDeleteResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "resource_group_name, bastion_host_name, session_ids" }, - "async": { - "coroutine": true, - "signature": "async def _generatevirtualwanvpnserverconfigurationvpnprofile_initial(\n self,\n resource_group_name: str,\n virtual_wan_name: str,\n vpn_client_params: \"_models.VirtualWanVpnProfileParameters\",\n **kwargs\n) -\u003e Optional[\"_models.VpnProfileResponse\"]:\n", - "doc": "\"\"\"\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2019_12_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VpnProfileResponse, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_12_01.models.VpnProfileResponse or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "check_dns_name_availability" : { + "sync": { + "signature": "def check_dns_name_availability(\n self,\n location, # type: str\n domain_name_label, # type: str\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_12_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def check_dns_name_availability(\n self,\n location: str,\n domain_name_label: str,\n **kwargs\n) -\u003e \"_models.DnsNameAvailabilityResult\":\n", + "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_12_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "location, domain_name_label" }, - "call": "resource_group_name, virtual_wan_name, vpn_client_params" - }, - "begin_generatevirtualwanvpnserverconfigurationvpnprofile" : { - "sync": { - "signature": "def begin_generatevirtualwanvpnserverconfigurationvpnprofile(\n self,\n resource_group_name, # type: str\n virtual_wan_name, # type: str\n vpn_client_params, # type: \"_models.VirtualWanVpnProfileParameters\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Generates a unique VPN profile for P2S clients for VirtualWan and associated\nVpnServerConfiguration combination in the specified resource group.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2019_12_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns either VpnProfileResponse or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2019_12_01.models.VpnProfileResponse]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + "supported_security_providers" : { + "sync": { + "signature": "def supported_security_providers(\n self,\n resource_group_name, # type: str\n virtual_wan_name, # type: str\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Gives the supported security providers for the virtual wan.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN for which supported security providers are\n needed.\n:type virtual_wan_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VirtualWanSecurityProviders, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_12_01.models.VirtualWanSecurityProviders\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def supported_security_providers(\n self,\n resource_group_name: str,\n virtual_wan_name: str,\n **kwargs\n) -\u003e \"_models.VirtualWanSecurityProviders\":\n", + "doc": "\"\"\"Gives the supported security providers for the virtual wan.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN for which supported security providers are\n needed.\n:type virtual_wan_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VirtualWanSecurityProviders, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_12_01.models.VirtualWanSecurityProviders\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "resource_group_name, virtual_wan_name" }, - "async": { - "coroutine": true, - "signature": "async def begin_generatevirtualwanvpnserverconfigurationvpnprofile(\n self,\n resource_group_name: str,\n virtual_wan_name: str,\n vpn_client_params: \"_models.VirtualWanVpnProfileParameters\",\n **kwargs\n) -\u003e AsyncLROPoller[\"_models.VpnProfileResponse\"]:\n", - "doc": "\"\"\"Generates a unique VPN profile for P2S clients for VirtualWan and associated\nVpnServerConfiguration combination in the specified resource group.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2019_12_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns either VpnProfileResponse or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2019_12_01.models.VpnProfileResponse]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + "_generatevirtualwanvpnserverconfigurationvpnprofile_initial" : { + "sync": { + "signature": "def _generatevirtualwanvpnserverconfigurationvpnprofile_initial(\n self,\n resource_group_name, # type: str\n virtual_wan_name, # type: str\n vpn_client_params, # type: \"_models.VirtualWanVpnProfileParameters\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2019_12_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VpnProfileResponse, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_12_01.models.VpnProfileResponse or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def _generatevirtualwanvpnserverconfigurationvpnprofile_initial(\n self,\n resource_group_name: str,\n virtual_wan_name: str,\n vpn_client_params: \"_models.VirtualWanVpnProfileParameters\",\n **kwargs\n) -\u003e Optional[\"_models.VpnProfileResponse\"]:\n", + "doc": "\"\"\"\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2019_12_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VpnProfileResponse, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2019_12_01.models.VpnProfileResponse or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "resource_group_name, virtual_wan_name, vpn_client_params" }, - "call": "resource_group_name, virtual_wan_name, vpn_client_params" + "begin_generatevirtualwanvpnserverconfigurationvpnprofile" : { + "sync": { + "signature": "def begin_generatevirtualwanvpnserverconfigurationvpnprofile(\n self,\n resource_group_name, # type: str\n virtual_wan_name, # type: str\n vpn_client_params, # type: \"_models.VirtualWanVpnProfileParameters\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Generates a unique VPN profile for P2S clients for VirtualWan and associated\nVpnServerConfiguration combination in the specified resource group.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2019_12_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the ARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns either VpnProfileResponse or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2019_12_01.models.VpnProfileResponse]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def begin_generatevirtualwanvpnserverconfigurationvpnprofile(\n self,\n resource_group_name: str,\n virtual_wan_name: str,\n vpn_client_params: \"_models.VirtualWanVpnProfileParameters\",\n **kwargs\n) -\u003e AsyncLROPoller[\"_models.VpnProfileResponse\"]:\n", + "doc": "\"\"\"Generates a unique VPN profile for P2S clients for VirtualWan and associated\nVpnServerConfiguration combination in the specified resource group.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2019_12_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the AsyncARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns either VpnProfileResponse or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2019_12_01.models.VpnProfileResponse]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "call": "resource_group_name, virtual_wan_name, vpn_client_params" + } } - }, - "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"], \"azure.core.polling\": [\"LROPoller\", \"NoPolling\", \"PollingMethod\"], \"azure.mgmt.core.polling.arm_polling\": [\"ARMPolling\"], \"azure.core.paging\": [\"ItemPaged\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Iterable\", \"Optional\", \"TypeVar\", \"Union\"]}}}", - "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"], \"azure.core.polling\": [\"AsyncLROPoller\", \"AsyncNoPolling\", \"AsyncPollingMethod\"], \"azure.mgmt.core.polling.async_arm_polling\": [\"AsyncARMPolling\"], \"azure.core.async_paging\": [\"AsyncItemPaged\", \"AsyncList\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"AsyncIterable\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\", \"Union\"]}}}" + } } \ No newline at end of file diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/_network_management_client.py index 9cafc54b312c..3a540843a2d8 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/_network_management_client.py @@ -16,6 +16,7 @@ from typing import Any, Optional from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse from ._configuration import NetworkManagementClientConfiguration from .operations import ApplicationGatewaysOperations @@ -318,6 +319,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( @@ -501,6 +503,24 @@ def __init__( self.web_application_firewall_policies = WebApplicationFirewallPoliciesOperations( self._client, self._config, self._serialize, self._deserialize) + def _send_request(self, http_request, **kwargs): + # type: (HttpRequest, Any) -> HttpResponse + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.HttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + def close(self): # type: () -> None self._client.close() diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/_network_management_client.py index f05e338d1803..cf2a869342d9 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/_network_management_client.py @@ -8,6 +8,7 @@ from typing import Any, Optional, TYPE_CHECKING +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core import AsyncARMPipelineClient from msrest import Deserializer, Serializer @@ -315,6 +316,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( @@ -498,6 +500,23 @@ def __init__( self.web_application_firewall_policies = WebApplicationFirewallPoliciesOperations( self._client, self._config, self._serialize, self._deserialize) + async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + async def close(self) -> None: await self._client.close() diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_application_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_application_gateways_operations.py index 21e3de999683..d943cad7fbaa 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_application_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_application_gateways_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -283,8 +283,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_12_01.models.ApplicationGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGateway or the result of cls(response) @@ -597,8 +597,8 @@ async def begin_start( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -705,8 +705,8 @@ async def begin_stop( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -824,8 +824,8 @@ async def begin_backend_health( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGatewayBackendHealth or the result of cls(response) @@ -957,8 +957,8 @@ async def begin_backend_health_on_demand( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGatewayBackendHealthOnDemand or the result of cls(response) @@ -1052,7 +1052,7 @@ async def list_available_server_variables( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) @@ -1103,7 +1103,7 @@ async def list_available_request_headers( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) @@ -1154,7 +1154,7 @@ async def list_available_response_headers( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_application_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_application_security_groups_operations.py index f982448b0019..ccc38016d154 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_application_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_application_security_groups_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type application_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -284,8 +284,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_12_01.models.ApplicationSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_azure_firewalls_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_azure_firewalls_operations.py index 6f67b21cb4f2..d879e8522a26 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_azure_firewalls_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_azure_firewalls_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type azure_firewall_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -283,8 +283,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_12_01.models.AzureFirewall :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AzureFirewall or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_bastion_hosts_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_bastion_hosts_operations.py index 61eabd06406a..3445447153ef 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_bastion_hosts_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_bastion_hosts_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type bastion_host_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -283,8 +283,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_12_01.models.BastionHost :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either BastionHost or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_connection_monitors_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_connection_monitors_operations.py index 489da39650ab..91b7806771dc 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_connection_monitors_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_connection_monitors_operations.py @@ -88,7 +88,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -123,8 +123,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_12_01.models.ConnectionMonitor :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionMonitorResult or the result of cls(response) @@ -231,7 +231,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('ConnectionMonitorResult', pipeline_response) @@ -281,7 +281,7 @@ async def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -306,8 +306,8 @@ async def begin_delete( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -418,7 +418,7 @@ async def update_tags( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('ConnectionMonitorResult', pipeline_response) @@ -468,7 +468,7 @@ async def _stop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -493,8 +493,8 @@ async def begin_stop( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -584,7 +584,7 @@ async def _start_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -609,8 +609,8 @@ async def begin_start( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -700,7 +700,7 @@ async def _query_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -732,8 +732,8 @@ async def begin_query( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionMonitorQueryResult or the result of cls(response) @@ -851,7 +851,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_ddos_custom_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_ddos_custom_policies_operations.py index 4c3ad988e689..aa24c20f9d52 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_ddos_custom_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_ddos_custom_policies_operations.py @@ -100,8 +100,8 @@ async def begin_delete( :type ddos_custom_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -282,8 +282,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_12_01.models.DdosCustomPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either DdosCustomPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_ddos_protection_plans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_ddos_protection_plans_operations.py index 2fdc8bea563a..10b4a7038af9 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_ddos_protection_plans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_ddos_protection_plans_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type ddos_protection_plan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -283,8 +283,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_12_01.models.DdosProtectionPlan :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either DdosProtectionPlan or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_express_route_circuit_authorizations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_express_route_circuit_authorizations_operations.py index bc8153c9c6a8..4cbf841c6df1 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_express_route_circuit_authorizations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_express_route_circuit_authorizations_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type authorization_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -300,8 +300,8 @@ async def begin_create_or_update( :type authorization_parameters: ~azure.mgmt.network.v2019_12_01.models.ExpressRouteCircuitAuthorization :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitAuthorization or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_express_route_circuit_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_express_route_circuit_connections_operations.py index 7948f51a3264..c71fd23628d2 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_express_route_circuit_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_express_route_circuit_connections_operations.py @@ -112,8 +112,8 @@ async def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -317,8 +317,8 @@ async def begin_create_or_update( :type express_route_circuit_connection_parameters: ~azure.mgmt.network.v2019_12_01.models.ExpressRouteCircuitConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitConnection or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_express_route_circuit_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_express_route_circuit_peerings_operations.py index fe514479e2ae..23ad12ede525 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_express_route_circuit_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_express_route_circuit_peerings_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -300,8 +300,8 @@ async def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2019_12_01.models.ExpressRouteCircuitPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_express_route_circuits_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_express_route_circuits_operations.py index 77dfaf5e9932..1319b87cbccb 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_express_route_circuits_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_express_route_circuits_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type circuit_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -283,8 +283,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_12_01.models.ExpressRouteCircuit :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -477,8 +477,8 @@ async def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -608,8 +608,8 @@ async def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) @@ -739,8 +739,8 @@ async def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableSummaryListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_express_route_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_express_route_connections_operations.py index 6e795a18af61..164b62aee399 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_express_route_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_express_route_connections_operations.py @@ -122,8 +122,8 @@ async def begin_create_or_update( :type put_express_route_connection_parameters: ~azure.mgmt.network.v2019_12_01.models.ExpressRouteConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteConnection or the result of cls(response) @@ -303,8 +303,8 @@ async def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_express_route_cross_connection_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_express_route_cross_connection_peerings_operations.py index ec672838bd45..50524a4732e3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_express_route_cross_connection_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_express_route_cross_connection_peerings_operations.py @@ -180,8 +180,8 @@ async def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -374,8 +374,8 @@ async def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2019_12_01.models.ExpressRouteCrossConnectionPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCrossConnectionPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_express_route_cross_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_express_route_cross_connections_operations.py index 8a58a2eaf2c9..75b474b96289 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_express_route_cross_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_express_route_cross_connections_operations.py @@ -308,8 +308,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_12_01.models.ExpressRouteCrossConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCrossConnection or the result of cls(response) @@ -503,8 +503,8 @@ async def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -634,8 +634,8 @@ async def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCrossConnectionsRoutesTableSummaryListResult or the result of cls(response) @@ -765,8 +765,8 @@ async def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_express_route_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_express_route_gateways_operations.py index b27d93850e9a..deae3463515c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_express_route_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_express_route_gateways_operations.py @@ -221,8 +221,8 @@ async def begin_create_or_update( :type put_express_route_gateway_parameters: ~azure.mgmt.network.v2019_12_01.models.ExpressRouteGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteGateway or the result of cls(response) @@ -392,8 +392,8 @@ async def begin_delete( :type express_route_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_express_route_ports_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_express_route_ports_operations.py index 80b09ad97c32..03e9e1234142 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_express_route_ports_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_express_route_ports_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type express_route_port_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -283,8 +283,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_12_01.models.ExpressRoutePort :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRoutePort or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_firewall_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_firewall_policies_operations.py index dc5248051631..08edd1a16068 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_firewall_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_firewall_policies_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type firewall_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -288,8 +288,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_12_01.models.FirewallPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FirewallPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_firewall_policy_rule_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_firewall_policy_rule_groups_operations.py index 53c3e1255de1..c0170dc3d98e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_firewall_policy_rule_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_firewall_policy_rule_groups_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type rule_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -300,8 +300,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_12_01.models.FirewallPolicyRuleGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FirewallPolicyRuleGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_flow_logs_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_flow_logs_operations.py index be69d02109b5..cd3075d8e6f7 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_flow_logs_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_flow_logs_operations.py @@ -88,7 +88,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -123,8 +123,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_12_01.models.FlowLog :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FlowLog or the result of cls(response) @@ -231,7 +231,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('FlowLog', pipeline_response) @@ -281,7 +281,7 @@ async def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -306,8 +306,8 @@ async def begin_delete( :type flow_log_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -422,7 +422,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_inbound_nat_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_inbound_nat_rules_operations.py index 578d0160ea9d..fe7e2d1eca87 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_inbound_nat_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_inbound_nat_rules_operations.py @@ -180,8 +180,8 @@ async def begin_delete( :type inbound_nat_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -379,8 +379,8 @@ async def begin_create_or_update( :type inbound_nat_rule_parameters: ~azure.mgmt.network.v2019_12_01.models.InboundNatRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either InboundNatRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_ip_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_ip_groups_operations.py index 9b990e14f64a..fddcb74a3770 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_ip_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_ip_groups_operations.py @@ -97,7 +97,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('IpGroup', pipeline_response) @@ -151,7 +151,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -183,8 +183,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_12_01.models.IpGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either IpGroup or the result of cls(response) @@ -293,7 +293,7 @@ async def update_groups( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('IpGroup', pipeline_response) @@ -341,7 +341,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -363,8 +363,8 @@ async def begin_delete( :type ip_groups_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -473,7 +473,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -540,7 +540,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_load_balancers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_load_balancers_operations.py index 1763bab46dde..8ee94b3c4401 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_load_balancers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_load_balancers_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type load_balancer_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -288,8 +288,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_12_01.models.LoadBalancer :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LoadBalancer or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_local_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_local_network_gateways_operations.py index ad458f52c09a..7763a79e0a77 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_local_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_local_network_gateways_operations.py @@ -117,8 +117,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_12_01.models.LocalNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LocalNetworkGateway or the result of cls(response) @@ -287,8 +287,8 @@ async def begin_delete( :type local_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_nat_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_nat_gateways_operations.py index 7d3db745ea1b..1dae56390292 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_nat_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_nat_gateways_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type nat_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -291,8 +291,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_12_01.models.NatGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NatGateway or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_network_interface_tap_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_network_interface_tap_configurations_operations.py index 6534484e852a..9ddd3dcd9eb3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_network_interface_tap_configurations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_network_interface_tap_configurations_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type tap_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -300,8 +300,8 @@ async def begin_create_or_update( :type tap_configuration_parameters: ~azure.mgmt.network.v2019_12_01.models.NetworkInterfaceTapConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkInterfaceTapConfiguration or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_network_interfaces_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_network_interfaces_operations.py index c427b776a68a..5a3c4f6cd775 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_network_interfaces_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_network_interfaces_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -288,8 +288,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_12_01.models.NetworkInterface :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkInterface or the result of cls(response) @@ -607,8 +607,8 @@ async def begin_get_effective_route_table( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either EffectiveRouteListResult or the result of cls(response) @@ -723,8 +723,8 @@ async def begin_list_effective_network_security_groups( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either EffectiveNetworkSecurityGroupListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_network_management_client_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_network_management_client_operations.py index 83120a31913c..a6bfd1727821 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_network_management_client_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_network_management_client_operations.py @@ -95,8 +95,8 @@ async def begin_put_bastion_shareable_link( :type bsl_request: ~azure.mgmt.network.v2019_12_01.models.BastionShareableLinkListRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns an iterator like instance of either BastionShareableLinkListResult or the result of cls(response) @@ -278,8 +278,8 @@ async def begin_delete_bastion_shareable_link( :type bsl_request: ~azure.mgmt.network.v2019_12_01.models.BastionShareableLinkListRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -477,8 +477,8 @@ async def begin_get_active_sessions( :type bastion_host_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns an iterator like instance of either BastionActiveSessionListResult or the result of cls(response) @@ -862,8 +862,8 @@ async def begin_generatevirtualwanvpnserverconfigurationvpnprofile( :type vpn_client_params: ~azure.mgmt.network.v2019_12_01.models.VirtualWanVpnProfileParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnProfileResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_network_profiles_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_network_profiles_operations.py index 34dc96c9eddf..6826682a786d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_network_profiles_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_network_profiles_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type network_profile_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_network_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_network_security_groups_operations.py index f2f022cea703..7079e03ce3a6 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_network_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_network_security_groups_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type network_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -289,8 +289,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_12_01.models.NetworkSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_network_virtual_appliances_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_network_virtual_appliances_operations.py index e8e6bc6979bb..7a68723d0737 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_network_virtual_appliances_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_network_virtual_appliances_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type network_virtual_appliance_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -354,8 +354,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_12_01.models.NetworkVirtualAppliance :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkVirtualAppliance or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_network_watchers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_network_watchers_operations.py index eb0d4695b81b..9b46853a0755 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_network_watchers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_network_watchers_operations.py @@ -99,7 +99,7 @@ async def create_or_update( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -162,7 +162,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('NetworkWatcher', pipeline_response) @@ -210,7 +210,7 @@ async def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -232,8 +232,8 @@ async def begin_delete( :type network_watcher_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -338,7 +338,7 @@ async def update_tags( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('NetworkWatcher', pipeline_response) @@ -409,7 +409,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -476,7 +476,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -543,7 +543,7 @@ async def get_topology( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('Topology', pipeline_response) @@ -597,7 +597,7 @@ async def _verify_ip_flow_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -629,8 +629,8 @@ async def begin_verify_ip_flow( :type parameters: ~azure.mgmt.network.v2019_12_01.models.VerificationIPFlowParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VerificationIPFlowResult or the result of cls(response) @@ -726,7 +726,7 @@ async def _get_next_hop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -758,8 +758,8 @@ async def begin_get_next_hop( :type parameters: ~azure.mgmt.network.v2019_12_01.models.NextHopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NextHopResult or the result of cls(response) @@ -855,7 +855,7 @@ async def _get_vm_security_rules_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -887,8 +887,8 @@ async def begin_get_vm_security_rules( :type parameters: ~azure.mgmt.network.v2019_12_01.models.SecurityGroupViewParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either SecurityGroupViewResult or the result of cls(response) @@ -984,7 +984,7 @@ async def _get_troubleshooting_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1016,8 +1016,8 @@ async def begin_get_troubleshooting( :type parameters: ~azure.mgmt.network.v2019_12_01.models.TroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1113,7 +1113,7 @@ async def _get_troubleshooting_result_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1145,8 +1145,8 @@ async def begin_get_troubleshooting_result( :type parameters: ~azure.mgmt.network.v2019_12_01.models.QueryTroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1242,7 +1242,7 @@ async def _set_flow_log_configuration_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1274,8 +1274,8 @@ async def begin_set_flow_log_configuration( :type parameters: ~azure.mgmt.network.v2019_12_01.models.FlowLogInformation :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1371,7 +1371,7 @@ async def _get_flow_log_status_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1404,8 +1404,8 @@ async def begin_get_flow_log_status( :type parameters: ~azure.mgmt.network.v2019_12_01.models.FlowLogStatusParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1501,7 +1501,7 @@ async def _check_connectivity_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1534,8 +1534,8 @@ async def begin_check_connectivity( :type parameters: ~azure.mgmt.network.v2019_12_01.models.ConnectivityParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectivityInformation or the result of cls(response) @@ -1631,7 +1631,7 @@ async def _get_azure_reachability_report_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1665,8 +1665,8 @@ async def begin_get_azure_reachability_report( :type parameters: ~azure.mgmt.network.v2019_12_01.models.AzureReachabilityReportParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AzureReachabilityReport or the result of cls(response) @@ -1762,7 +1762,7 @@ async def _list_available_providers_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1795,8 +1795,8 @@ async def begin_list_available_providers( :type parameters: ~azure.mgmt.network.v2019_12_01.models.AvailableProvidersListParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AvailableProvidersList or the result of cls(response) @@ -1892,7 +1892,7 @@ async def _get_network_configuration_diagnostic_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1928,8 +1928,8 @@ async def begin_get_network_configuration_diagnostic( :type parameters: ~azure.mgmt.network.v2019_12_01.models.NetworkConfigurationDiagnosticParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkConfigurationDiagnosticResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_p2_svpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_p2_svpn_gateways_operations.py index 03e0656ca354..d5051baba712 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_p2_svpn_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_p2_svpn_gateways_operations.py @@ -176,8 +176,8 @@ async def begin_create_or_update( :type p2_s_vpn_gateway_parameters: ~azure.mgmt.network.v2019_12_01.models.P2SVpnGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -355,8 +355,8 @@ async def begin_delete( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -614,8 +614,8 @@ async def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2019_12_01.models.P2SVpnProfileParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnProfileResponse or the result of cls(response) @@ -732,8 +732,8 @@ async def begin_get_p2_s_vpn_connection_health( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -858,8 +858,8 @@ async def begin_get_p2_s_vpn_connection_health_detailed( :type request: ~azure.mgmt.network.v2019_12_01.models.P2SVpnConnectionHealthRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either P2SVpnConnectionHealth or the result of cls(response) @@ -980,8 +980,8 @@ async def begin_disconnect_p2_s_vpn_connections( :type request: ~azure.mgmt.network.v2019_12_01.models.P2SVpnConnectionRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_packet_captures_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_packet_captures_operations.py index a11ceee463a4..8a383dd7f1cd 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_packet_captures_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_packet_captures_operations.py @@ -88,7 +88,7 @@ async def _create_initial( if response.status_code not in [201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PacketCaptureResult', pipeline_response) @@ -119,8 +119,8 @@ async def begin_create( :type parameters: ~azure.mgmt.network.v2019_12_01.models.PacketCapture :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PacketCaptureResult or the result of cls(response) @@ -227,7 +227,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PacketCaptureResult', pipeline_response) @@ -277,7 +277,7 @@ async def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -302,8 +302,8 @@ async def begin_delete( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -393,7 +393,7 @@ async def _stop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -418,8 +418,8 @@ async def begin_stop( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -509,7 +509,7 @@ async def _get_status_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -541,8 +541,8 @@ async def begin_get_status( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PacketCaptureQueryStatusResult or the result of cls(response) @@ -660,7 +660,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_private_endpoints_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_private_endpoints_operations.py index 56f9c4e37b00..70bd60fd3beb 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_private_endpoints_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_private_endpoints_operations.py @@ -80,7 +80,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -102,8 +102,8 @@ async def begin_delete( :type private_endpoint_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -205,7 +205,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateEndpoint', pipeline_response) @@ -259,7 +259,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -291,8 +291,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_12_01.models.PrivateEndpoint :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PrivateEndpoint or the result of cls(response) @@ -405,7 +405,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -472,7 +472,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_private_link_services_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_private_link_services_operations.py index b4187b0e8127..f52beed0195a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_private_link_services_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_private_link_services_operations.py @@ -80,7 +80,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -102,8 +102,8 @@ async def begin_delete( :type service_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -205,7 +205,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateLinkService', pipeline_response) @@ -259,7 +259,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -291,8 +291,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_12_01.models.PrivateLinkService :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PrivateLinkService or the result of cls(response) @@ -405,7 +405,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -472,7 +472,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -541,7 +541,7 @@ async def get_private_endpoint_connection( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateEndpointConnection', pipeline_response) @@ -612,7 +612,7 @@ async def update_private_endpoint_connection( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateEndpointConnection', pipeline_response) @@ -662,7 +662,7 @@ async def _delete_private_endpoint_connection_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -687,8 +687,8 @@ async def begin_delete_private_endpoint_connection( :type pe_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -803,7 +803,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -881,8 +881,8 @@ async def begin_check_private_link_service_visibility( :type parameters: ~azure.mgmt.network.v2019_12_01.models.CheckPrivateLinkServiceVisibilityRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PrivateLinkServiceVisibility or the result of cls(response) @@ -1006,8 +1006,8 @@ async def begin_check_private_link_service_visibility_by_resource_group( :type parameters: ~azure.mgmt.network.v2019_12_01.models.CheckPrivateLinkServiceVisibilityRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PrivateLinkServiceVisibility or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_public_ip_addresses_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_public_ip_addresses_operations.py index 4a6540e8644b..1e7a103b6c09 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_public_ip_addresses_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_public_ip_addresses_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type public_ip_address_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -288,8 +288,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_12_01.models.PublicIPAddress :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PublicIPAddress or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_public_ip_prefixes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_public_ip_prefixes_operations.py index 08a9fdfb197f..1f8ea8c4da1a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_public_ip_prefixes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_public_ip_prefixes_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type public_ip_prefix_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -288,8 +288,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_12_01.models.PublicIPPrefix :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PublicIPPrefix or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_route_filter_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_route_filter_rules_operations.py index e72896b1c628..3eec9dc0ec30 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_route_filter_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_route_filter_rules_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -300,8 +300,8 @@ async def begin_create_or_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2019_12_01.models.RouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilterRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_route_filters_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_route_filters_operations.py index 65f75f1fd2a2..7c74adaac0fb 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_route_filters_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_route_filters_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type route_filter_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -289,8 +289,8 @@ async def begin_create_or_update( :type route_filter_parameters: ~azure.mgmt.network.v2019_12_01.models.RouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilter or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_route_tables_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_route_tables_operations.py index 925c7cfa9052..e016850b8419 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_route_tables_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_route_tables_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -288,8 +288,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_12_01.models.RouteTable :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteTable or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_routes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_routes_operations.py index b9b038ca4029..45f4f00c7a52 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_routes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_routes_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type route_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -299,8 +299,8 @@ async def begin_create_or_update( :type route_parameters: ~azure.mgmt.network.v2019_12_01.models.Route :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Route or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_security_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_security_rules_operations.py index 2bb326618d37..0da6cc6a718d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_security_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_security_rules_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type security_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -300,8 +300,8 @@ async def begin_create_or_update( :type security_rule_parameters: ~azure.mgmt.network.v2019_12_01.models.SecurityRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either SecurityRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_service_endpoint_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_service_endpoint_policies_operations.py index 3636088c12cf..cd1ad472f609 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_service_endpoint_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_service_endpoint_policies_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type service_endpoint_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -289,8 +289,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_12_01.models.ServiceEndpointPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ServiceEndpointPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_service_endpoint_policy_definitions_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_service_endpoint_policy_definitions_operations.py index 4e757bf17ea3..16acc79e4ac3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_service_endpoint_policy_definitions_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_service_endpoint_policy_definitions_operations.py @@ -107,8 +107,8 @@ async def begin_delete( :type service_endpoint_policy_definition_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -304,8 +304,8 @@ async def begin_create_or_update( :type service_endpoint_policy_definitions: ~azure.mgmt.network.v2019_12_01.models.ServiceEndpointPolicyDefinition :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ServiceEndpointPolicyDefinition or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_subnets_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_subnets_operations.py index e56b6a9419d7..c412e9ee9000 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_subnets_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_subnets_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type subnet_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -304,8 +304,8 @@ async def begin_create_or_update( :type subnet_parameters: ~azure.mgmt.network.v2019_12_01.models.Subnet :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Subnet or the result of cls(response) @@ -433,8 +433,8 @@ async def begin_prepare_network_policies( :type prepare_network_policies_request_parameters: ~azure.mgmt.network.v2019_12_01.models.PrepareNetworkPoliciesRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -559,8 +559,8 @@ async def begin_unprepare_network_policies( :type unprepare_network_policies_request_parameters: ~azure.mgmt.network.v2019_12_01.models.UnprepareNetworkPoliciesRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_virtual_hub_route_table_v2_s_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_virtual_hub_route_table_v2_s_operations.py index 8214778d4a48..6be28d309a3e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_virtual_hub_route_table_v2_s_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_virtual_hub_route_table_v2_s_operations.py @@ -95,7 +95,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualHubRouteTableV2', pipeline_response) @@ -151,7 +151,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -188,8 +188,8 @@ async def begin_create_or_update( :type virtual_hub_route_table_v2_parameters: ~azure.mgmt.network.v2019_12_01.models.VirtualHubRouteTableV2 :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualHubRouteTableV2 or the result of cls(response) @@ -283,7 +283,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -308,8 +308,8 @@ async def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_virtual_hubs_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_virtual_hubs_operations.py index 601f2525fd92..71b03849b713 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_virtual_hubs_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_virtual_hubs_operations.py @@ -175,8 +175,8 @@ async def begin_create_or_update( :type virtual_hub_parameters: ~azure.mgmt.network.v2019_12_01.models.VirtualHub :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualHub or the result of cls(response) @@ -353,8 +353,8 @@ async def begin_delete( :type virtual_hub_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_virtual_network_gateway_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_virtual_network_gateway_connections_operations.py index 995bbe87535d..ab1856278f93 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_virtual_network_gateway_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_virtual_network_gateway_connections_operations.py @@ -119,8 +119,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_12_01.models.VirtualNetworkGatewayConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -291,8 +291,8 @@ async def begin_delete( :type virtual_network_gateway_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -414,8 +414,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_12_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -545,8 +545,8 @@ async def begin_set_shared_key( :type parameters: ~azure.mgmt.network.v2019_12_01.models.ConnectionSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionSharedKey or the result of cls(response) @@ -806,8 +806,8 @@ async def begin_reset_shared_key( :type parameters: ~azure.mgmt.network.v2019_12_01.models.ConnectionResetSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionResetSharedKey or the result of cls(response) @@ -906,7 +906,7 @@ async def _start_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -938,8 +938,8 @@ async def begin_start_packet_capture( :type parameters: ~azure.mgmt.network.v2019_12_01.models.VpnPacketCaptureStartParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1035,7 +1035,7 @@ async def _stop_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -1067,8 +1067,8 @@ async def begin_stop_packet_capture( :type parameters: ~azure.mgmt.network.v2019_12_01.models.VpnPacketCaptureStopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_virtual_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_virtual_network_gateways_operations.py index 0b740b4b0d9a..40111a82e705 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_virtual_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_virtual_network_gateways_operations.py @@ -117,8 +117,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_12_01.models.VirtualNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -287,8 +287,8 @@ async def begin_delete( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -409,8 +409,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_12_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -677,8 +677,8 @@ async def begin_reset( :type gateway_vip: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -790,8 +790,8 @@ async def begin_reset_vpn_client_shared_key( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -914,8 +914,8 @@ async def begin_generatevpnclientpackage( :type parameters: ~azure.mgmt.network.v2019_12_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1042,8 +1042,8 @@ async def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2019_12_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1160,8 +1160,8 @@ async def begin_get_vpn_profile_package_url( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1282,8 +1282,8 @@ async def begin_get_bgp_peer_status( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either BgpPeerStatusListResult or the result of cls(response) @@ -1458,8 +1458,8 @@ async def begin_get_learned_routes( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1580,8 +1580,8 @@ async def begin_get_advertised_routes( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1708,8 +1708,8 @@ async def begin_set_vpnclient_ipsec_parameters( :type vpnclient_ipsec_params: ~azure.mgmt.network.v2019_12_01.models.VpnClientIPsecParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnClientIPsecParameters or the result of cls(response) @@ -1825,8 +1825,8 @@ async def begin_get_vpnclient_ipsec_parameters( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnClientIPsecParameters or the result of cls(response) @@ -1991,7 +1991,7 @@ async def _start_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -2022,8 +2022,8 @@ async def begin_start_packet_capture( :type parameters: ~azure.mgmt.network.v2019_12_01.models.VpnPacketCaptureStartParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -2119,7 +2119,7 @@ async def _stop_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -2150,8 +2150,8 @@ async def begin_stop_packet_capture( :type parameters: ~azure.mgmt.network.v2019_12_01.models.VpnPacketCaptureStopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -2268,8 +2268,8 @@ async def begin_get_vpnclient_connection_health( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnClientConnectionHealthDetailListResult or the result of cls(response) @@ -2388,8 +2388,8 @@ async def begin_disconnect_virtual_network_gateway_vpn_connections( :type request: ~azure.mgmt.network.v2019_12_01.models.P2SVpnConnectionRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_virtual_network_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_virtual_network_peerings_operations.py index 1059fda7cbd8..08c9e0cf9266 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_virtual_network_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_virtual_network_peerings_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type virtual_network_peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -300,8 +300,8 @@ async def begin_create_or_update( :type virtual_network_peering_parameters: ~azure.mgmt.network.v2019_12_01.models.VirtualNetworkPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_virtual_network_taps_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_virtual_network_taps_operations.py index 55aee7ea2c76..56d9ff32f101 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_virtual_network_taps_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_virtual_network_taps_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type tap_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -283,8 +283,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_12_01.models.VirtualNetworkTap :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkTap or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_virtual_networks_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_virtual_networks_operations.py index f527efe26cd4..98cf75b2c8ac 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_virtual_networks_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_virtual_networks_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type virtual_network_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -288,8 +288,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_12_01.models.VirtualNetwork :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetwork or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_virtual_router_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_virtual_router_peerings_operations.py index f449c94d4185..17d688d9161c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_virtual_router_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_virtual_router_peerings_operations.py @@ -82,7 +82,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -107,8 +107,8 @@ async def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -211,7 +211,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualRouterPeering', pipeline_response) @@ -267,7 +267,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -303,8 +303,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_12_01.models.VirtualRouterPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualRouterPeering or the result of cls(response) @@ -423,7 +423,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_virtual_routers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_virtual_routers_operations.py index 22a9e6a32ccd..68da3c6315b9 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_virtual_routers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_virtual_routers_operations.py @@ -80,7 +80,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -102,8 +102,8 @@ async def begin_delete( :type virtual_router_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -205,7 +205,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualRouter', pipeline_response) @@ -259,7 +259,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -291,8 +291,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_12_01.models.VirtualRouter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualRouter or the result of cls(response) @@ -405,7 +405,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -472,7 +472,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_virtual_wans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_virtual_wans_operations.py index 02a38b99dc55..3439ecb1bd8c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_virtual_wans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_virtual_wans_operations.py @@ -175,8 +175,8 @@ async def begin_create_or_update( :type wan_parameters: ~azure.mgmt.network.v2019_12_01.models.VirtualWAN :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualWAN or the result of cls(response) @@ -353,8 +353,8 @@ async def begin_delete( :type virtual_wan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_vpn_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_vpn_connections_operations.py index 09a130e1d10d..25e321b2e43d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_vpn_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_vpn_connections_operations.py @@ -185,8 +185,8 @@ async def begin_create_or_update( :type vpn_connection_parameters: ~azure.mgmt.network.v2019_12_01.models.VpnConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnConnection or the result of cls(response) @@ -304,8 +304,8 @@ async def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_vpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_vpn_gateways_operations.py index dd8ef9ff599d..68943ff1fe24 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_vpn_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_vpn_gateways_operations.py @@ -176,8 +176,8 @@ async def begin_create_or_update( :type vpn_gateway_parameters: ~azure.mgmt.network.v2019_12_01.models.VpnGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnGateway or the result of cls(response) @@ -354,8 +354,8 @@ async def begin_delete( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -467,8 +467,8 @@ async def begin_reset( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnGateway or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py index 472b3f07fcd8..3f3cb8652efd 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py @@ -106,8 +106,8 @@ async def begin_list( :type virtual_wan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnServerConfigurationsResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_vpn_server_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_vpn_server_configurations_operations.py index 2a24cece22ac..eaaf17b8393e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_vpn_server_configurations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_vpn_server_configurations_operations.py @@ -178,8 +178,8 @@ async def begin_create_or_update( :type vpn_server_configuration_parameters: ~azure.mgmt.network.v2019_12_01.models.VpnServerConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnServerConfiguration or the result of cls(response) @@ -357,8 +357,8 @@ async def begin_delete( :type vpn_server_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_vpn_sites_configuration_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_vpn_sites_configuration_operations.py index 02797d447f4b..c165179eaaaf 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_vpn_sites_configuration_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_vpn_sites_configuration_operations.py @@ -110,8 +110,8 @@ async def begin_download( :type request: ~azure.mgmt.network.v2019_12_01.models.GetVpnSitesConfigurationRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_vpn_sites_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_vpn_sites_operations.py index 6ae02159fc5e..5744b7a2f363 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_vpn_sites_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_vpn_sites_operations.py @@ -175,8 +175,8 @@ async def begin_create_or_update( :type vpn_site_parameters: ~azure.mgmt.network.v2019_12_01.models.VpnSite :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnSite or the result of cls(response) @@ -353,8 +353,8 @@ async def begin_delete( :type vpn_site_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_web_application_firewall_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_web_application_firewall_policies_operations.py index 2b88042a5b01..edf7f4f38bff 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_web_application_firewall_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/aio/operations/_web_application_firewall_policies_operations.py @@ -365,8 +365,8 @@ async def begin_delete( :type policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/models/_models.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/models/_models.py index 588ff0f52bba..0859bb935d07 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/models/_models.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/models/_models.py @@ -129,58 +129,55 @@ class ApplicationGateway(Resource): :vartype operational_state: str or ~azure.mgmt.network.v2019_12_01.models.ApplicationGatewayOperationalState :param gateway_ip_configurations: Subnets of the application gateway resource. For default - limits, see `Application Gateway limits `_. + limits, see `Application Gateway limits + `_. :type gateway_ip_configurations: list[~azure.mgmt.network.v2019_12_01.models.ApplicationGatewayIPConfiguration] :param authentication_certificates: Authentication certificates of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type authentication_certificates: list[~azure.mgmt.network.v2019_12_01.models.ApplicationGatewayAuthenticationCertificate] :param trusted_root_certificates: Trusted Root certificates of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type trusted_root_certificates: list[~azure.mgmt.network.v2019_12_01.models.ApplicationGatewayTrustedRootCertificate] :param ssl_certificates: SSL certificates of the application gateway resource. For default - limits, see `Application Gateway limits `_. + limits, see `Application Gateway limits + `_. :type ssl_certificates: list[~azure.mgmt.network.v2019_12_01.models.ApplicationGatewaySslCertificate] :param frontend_ip_configurations: Frontend IP addresses of the application gateway resource. - For default limits, see `Application Gateway limits `_. + For default limits, see `Application Gateway limits + `_. :type frontend_ip_configurations: list[~azure.mgmt.network.v2019_12_01.models.ApplicationGatewayFrontendIPConfiguration] :param frontend_ports: Frontend ports of the application gateway resource. For default limits, - see `Application Gateway limits `_. + see `Application Gateway limits + `_. :type frontend_ports: list[~azure.mgmt.network.v2019_12_01.models.ApplicationGatewayFrontendPort] :param probes: Probes of the application gateway resource. :type probes: list[~azure.mgmt.network.v2019_12_01.models.ApplicationGatewayProbe] :param backend_address_pools: Backend address pool of the application gateway resource. For - default limits, see `Application Gateway limits `_. + default limits, see `Application Gateway limits + `_. :type backend_address_pools: list[~azure.mgmt.network.v2019_12_01.models.ApplicationGatewayBackendAddressPool] :param backend_http_settings_collection: Backend http settings of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type backend_http_settings_collection: list[~azure.mgmt.network.v2019_12_01.models.ApplicationGatewayBackendHttpSettings] :param http_listeners: Http listeners of the application gateway resource. For default limits, - see `Application Gateway limits `_. + see `Application Gateway limits + `_. :type http_listeners: list[~azure.mgmt.network.v2019_12_01.models.ApplicationGatewayHttpListener] :param url_path_maps: URL path map of the application gateway resource. For default limits, see - `Application Gateway limits `_. + `Application Gateway limits + `_. :type url_path_maps: list[~azure.mgmt.network.v2019_12_01.models.ApplicationGatewayUrlPathMap] :param request_routing_rules: Request routing rules of the application gateway resource. :type request_routing_rules: @@ -189,8 +186,8 @@ class ApplicationGateway(Resource): :type rewrite_rule_sets: list[~azure.mgmt.network.v2019_12_01.models.ApplicationGatewayRewriteRuleSet] :param redirect_configurations: Redirect configurations of the application gateway resource. - For default limits, see `Application Gateway limits `_. + For default limits, see `Application Gateway limits + `_. :type redirect_configurations: list[~azure.mgmt.network.v2019_12_01.models.ApplicationGatewayRedirectConfiguration] :param web_application_firewall_configuration: Web application firewall configuration. @@ -1786,7 +1783,7 @@ class ApplicationGatewayRewriteRuleCondition(msrest.serialization.Model): :param pattern: The pattern, either fixed string or regular expression, that evaluates the truthfulness of the condition. :type pattern: str - :param ignore_case: Setting this paramter to truth value with force the pattern to do a case + :param ignore_case: Setting this parameter to truth value with force the pattern to do a case in-sensitive comparison. :type ignore_case: bool :param negate: Setting this value as truth will force to check the negation of the condition @@ -3826,7 +3823,7 @@ class BastionActiveSession(msrest.serialization.Model): :ivar session_id: A unique id for the session. :vartype session_id: str :ivar start_time: The time when the session started. - :vartype start_time: object + :vartype start_time: str :ivar target_subscription_id: The subscription id for the target virtual machine. :vartype target_subscription_id: str :ivar resource_type: The type of the resource. @@ -3864,7 +3861,7 @@ class BastionActiveSession(msrest.serialization.Model): _attribute_map = { 'session_id': {'key': 'sessionId', 'type': 'str'}, - 'start_time': {'key': 'startTime', 'type': 'object'}, + 'start_time': {'key': 'startTime', 'type': 'str'}, 'target_subscription_id': {'key': 'targetSubscriptionId', 'type': 'str'}, 'resource_type': {'key': 'resourceType', 'type': 'str'}, 'target_host_name': {'key': 'targetHostName', 'type': 'str'}, @@ -4121,7 +4118,7 @@ class BastionShareableLink(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param vm: Required. Reference of the virtual machine resource. - :type vm: ~azure.mgmt.network.v2019_12_01.models.Resource + :type vm: ~azure.mgmt.network.v2019_12_01.models.VM :ivar bsl: The unique Bastion Shareable Link to the virtual machine. :vartype bsl: str :ivar created_at: The time when the link was created. @@ -4139,7 +4136,7 @@ class BastionShareableLink(msrest.serialization.Model): } _attribute_map = { - 'vm': {'key': 'vm', 'type': 'Resource'}, + 'vm': {'key': 'vm', 'type': 'VM'}, 'bsl': {'key': 'bsl', 'type': 'str'}, 'created_at': {'key': 'createdAt', 'type': 'str'}, 'message': {'key': 'message', 'type': 'str'}, @@ -5643,7 +5640,7 @@ class ContainerNetworkInterface(SubResource): ~azure.mgmt.network.v2019_12_01.models.ContainerNetworkInterfaceConfiguration :param container: Reference to the container to which this container network interface is attached. - :type container: ~azure.mgmt.network.v2019_12_01.models.SubResource + :type container: ~azure.mgmt.network.v2019_12_01.models.Container :ivar ip_configurations: Reference to the ip configuration on this container nic. :vartype ip_configurations: list[~azure.mgmt.network.v2019_12_01.models.ContainerNetworkInterfaceIpConfiguration] @@ -5666,7 +5663,7 @@ class ContainerNetworkInterface(SubResource): 'type': {'key': 'type', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, 'container_network_interface_configuration': {'key': 'properties.containerNetworkInterfaceConfiguration', 'type': 'ContainerNetworkInterfaceConfiguration'}, - 'container': {'key': 'properties.container', 'type': 'SubResource'}, + 'container': {'key': 'properties.container', 'type': 'Container'}, 'ip_configurations': {'key': 'properties.ipConfigurations', 'type': '[ContainerNetworkInterfaceIpConfiguration]'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, } @@ -13110,8 +13107,8 @@ class PacketCaptureStorageLocation(msrest.serialization.Model): :param storage_id: The ID of the storage account to save the packet capture session. Required if no local file path is provided. :type storage_id: str - :param storage_path: The URI of the storage path to save the packet capture. Must be a well- - formed URI describing the location to save the packet capture. + :param storage_path: The URI of the storage path to save the packet capture. Must be a + well-formed URI describing the location to save the packet capture. :type storage_path: str :param file_path: A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no @@ -13637,9 +13634,10 @@ class PrivateLinkService(Resource): :vartype private_endpoint_connections: list[~azure.mgmt.network.v2019_12_01.models.PrivateEndpointConnection] :param visibility: The visibility list of the private link service. - :type visibility: ~azure.mgmt.network.v2019_12_01.models.ResourceSet + :type visibility: ~azure.mgmt.network.v2019_12_01.models.PrivateLinkServicePropertiesVisibility :param auto_approval: The auto-approval list of the private link service. - :type auto_approval: ~azure.mgmt.network.v2019_12_01.models.ResourceSet + :type auto_approval: + ~azure.mgmt.network.v2019_12_01.models.PrivateLinkServicePropertiesAutoApproval :param fqdns: The list of Fqdn. :type fqdns: list[str] :ivar alias: The alias of the private link service. @@ -13671,8 +13669,8 @@ class PrivateLinkService(Resource): 'network_interfaces': {'key': 'properties.networkInterfaces', 'type': '[NetworkInterface]'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'private_endpoint_connections': {'key': 'properties.privateEndpointConnections', 'type': '[PrivateEndpointConnection]'}, - 'visibility': {'key': 'properties.visibility', 'type': 'ResourceSet'}, - 'auto_approval': {'key': 'properties.autoApproval', 'type': 'ResourceSet'}, + 'visibility': {'key': 'properties.visibility', 'type': 'PrivateLinkServicePropertiesVisibility'}, + 'auto_approval': {'key': 'properties.autoApproval', 'type': 'PrivateLinkServicePropertiesAutoApproval'}, 'fqdns': {'key': 'properties.fqdns', 'type': '[str]'}, 'alias': {'key': 'properties.alias', 'type': 'str'}, 'enable_proxy_protocol': {'key': 'properties.enableProxyProtocol', 'type': 'bool'}, @@ -17473,8 +17471,8 @@ class VirtualNetworkPeering(SubResource): :type use_remote_gateways: bool :param remote_virtual_network: The reference to the remote virtual network. The remote virtual network can be in the same or different region (preview). See here to register for the preview - and learn more (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create- - peering). + and learn more + (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering). :type remote_virtual_network: ~azure.mgmt.network.v2019_12_01.models.SubResource :param remote_address_space: The reference to the remote virtual network address space. :type remote_address_space: ~azure.mgmt.network.v2019_12_01.models.AddressSpace diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/models/_models_py3.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/models/_models_py3.py index 1f4d27d8f64b..0cc2a8d2cc63 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/models/_models_py3.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/models/_models_py3.py @@ -144,58 +144,55 @@ class ApplicationGateway(Resource): :vartype operational_state: str or ~azure.mgmt.network.v2019_12_01.models.ApplicationGatewayOperationalState :param gateway_ip_configurations: Subnets of the application gateway resource. For default - limits, see `Application Gateway limits `_. + limits, see `Application Gateway limits + `_. :type gateway_ip_configurations: list[~azure.mgmt.network.v2019_12_01.models.ApplicationGatewayIPConfiguration] :param authentication_certificates: Authentication certificates of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type authentication_certificates: list[~azure.mgmt.network.v2019_12_01.models.ApplicationGatewayAuthenticationCertificate] :param trusted_root_certificates: Trusted Root certificates of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type trusted_root_certificates: list[~azure.mgmt.network.v2019_12_01.models.ApplicationGatewayTrustedRootCertificate] :param ssl_certificates: SSL certificates of the application gateway resource. For default - limits, see `Application Gateway limits `_. + limits, see `Application Gateway limits + `_. :type ssl_certificates: list[~azure.mgmt.network.v2019_12_01.models.ApplicationGatewaySslCertificate] :param frontend_ip_configurations: Frontend IP addresses of the application gateway resource. - For default limits, see `Application Gateway limits `_. + For default limits, see `Application Gateway limits + `_. :type frontend_ip_configurations: list[~azure.mgmt.network.v2019_12_01.models.ApplicationGatewayFrontendIPConfiguration] :param frontend_ports: Frontend ports of the application gateway resource. For default limits, - see `Application Gateway limits `_. + see `Application Gateway limits + `_. :type frontend_ports: list[~azure.mgmt.network.v2019_12_01.models.ApplicationGatewayFrontendPort] :param probes: Probes of the application gateway resource. :type probes: list[~azure.mgmt.network.v2019_12_01.models.ApplicationGatewayProbe] :param backend_address_pools: Backend address pool of the application gateway resource. For - default limits, see `Application Gateway limits `_. + default limits, see `Application Gateway limits + `_. :type backend_address_pools: list[~azure.mgmt.network.v2019_12_01.models.ApplicationGatewayBackendAddressPool] :param backend_http_settings_collection: Backend http settings of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type backend_http_settings_collection: list[~azure.mgmt.network.v2019_12_01.models.ApplicationGatewayBackendHttpSettings] :param http_listeners: Http listeners of the application gateway resource. For default limits, - see `Application Gateway limits `_. + see `Application Gateway limits + `_. :type http_listeners: list[~azure.mgmt.network.v2019_12_01.models.ApplicationGatewayHttpListener] :param url_path_maps: URL path map of the application gateway resource. For default limits, see - `Application Gateway limits `_. + `Application Gateway limits + `_. :type url_path_maps: list[~azure.mgmt.network.v2019_12_01.models.ApplicationGatewayUrlPathMap] :param request_routing_rules: Request routing rules of the application gateway resource. :type request_routing_rules: @@ -204,8 +201,8 @@ class ApplicationGateway(Resource): :type rewrite_rule_sets: list[~azure.mgmt.network.v2019_12_01.models.ApplicationGatewayRewriteRuleSet] :param redirect_configurations: Redirect configurations of the application gateway resource. - For default limits, see `Application Gateway limits `_. + For default limits, see `Application Gateway limits + `_. :type redirect_configurations: list[~azure.mgmt.network.v2019_12_01.models.ApplicationGatewayRedirectConfiguration] :param web_application_firewall_configuration: Web application firewall configuration. @@ -2015,7 +2012,7 @@ class ApplicationGatewayRewriteRuleCondition(msrest.serialization.Model): :param pattern: The pattern, either fixed string or regular expression, that evaluates the truthfulness of the condition. :type pattern: str - :param ignore_case: Setting this paramter to truth value with force the pattern to do a case + :param ignore_case: Setting this parameter to truth value with force the pattern to do a case in-sensitive comparison. :type ignore_case: bool :param negate: Setting this value as truth will force to check the negation of the condition @@ -4298,7 +4295,7 @@ class BastionActiveSession(msrest.serialization.Model): :ivar session_id: A unique id for the session. :vartype session_id: str :ivar start_time: The time when the session started. - :vartype start_time: object + :vartype start_time: str :ivar target_subscription_id: The subscription id for the target virtual machine. :vartype target_subscription_id: str :ivar resource_type: The type of the resource. @@ -4336,7 +4333,7 @@ class BastionActiveSession(msrest.serialization.Model): _attribute_map = { 'session_id': {'key': 'sessionId', 'type': 'str'}, - 'start_time': {'key': 'startTime', 'type': 'object'}, + 'start_time': {'key': 'startTime', 'type': 'str'}, 'target_subscription_id': {'key': 'targetSubscriptionId', 'type': 'str'}, 'resource_type': {'key': 'resourceType', 'type': 'str'}, 'target_host_name': {'key': 'targetHostName', 'type': 'str'}, @@ -4614,7 +4611,7 @@ class BastionShareableLink(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param vm: Required. Reference of the virtual machine resource. - :type vm: ~azure.mgmt.network.v2019_12_01.models.Resource + :type vm: ~azure.mgmt.network.v2019_12_01.models.VM :ivar bsl: The unique Bastion Shareable Link to the virtual machine. :vartype bsl: str :ivar created_at: The time when the link was created. @@ -4632,7 +4629,7 @@ class BastionShareableLink(msrest.serialization.Model): } _attribute_map = { - 'vm': {'key': 'vm', 'type': 'Resource'}, + 'vm': {'key': 'vm', 'type': 'VM'}, 'bsl': {'key': 'bsl', 'type': 'str'}, 'created_at': {'key': 'createdAt', 'type': 'str'}, 'message': {'key': 'message', 'type': 'str'}, @@ -4641,7 +4638,7 @@ class BastionShareableLink(msrest.serialization.Model): def __init__( self, *, - vm: "Resource", + vm: "VM", **kwargs ): super(BastionShareableLink, self).__init__(**kwargs) @@ -6305,7 +6302,7 @@ class ContainerNetworkInterface(SubResource): ~azure.mgmt.network.v2019_12_01.models.ContainerNetworkInterfaceConfiguration :param container: Reference to the container to which this container network interface is attached. - :type container: ~azure.mgmt.network.v2019_12_01.models.SubResource + :type container: ~azure.mgmt.network.v2019_12_01.models.Container :ivar ip_configurations: Reference to the ip configuration on this container nic. :vartype ip_configurations: list[~azure.mgmt.network.v2019_12_01.models.ContainerNetworkInterfaceIpConfiguration] @@ -6328,7 +6325,7 @@ class ContainerNetworkInterface(SubResource): 'type': {'key': 'type', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, 'container_network_interface_configuration': {'key': 'properties.containerNetworkInterfaceConfiguration', 'type': 'ContainerNetworkInterfaceConfiguration'}, - 'container': {'key': 'properties.container', 'type': 'SubResource'}, + 'container': {'key': 'properties.container', 'type': 'Container'}, 'ip_configurations': {'key': 'properties.ipConfigurations', 'type': '[ContainerNetworkInterfaceIpConfiguration]'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, } @@ -6338,7 +6335,7 @@ def __init__( *, id: Optional[str] = None, name: Optional[str] = None, - container: Optional["SubResource"] = None, + container: Optional["Container"] = None, **kwargs ): super(ContainerNetworkInterface, self).__init__(id=id, **kwargs) @@ -14608,8 +14605,8 @@ class PacketCaptureStorageLocation(msrest.serialization.Model): :param storage_id: The ID of the storage account to save the packet capture session. Required if no local file path is provided. :type storage_id: str - :param storage_path: The URI of the storage path to save the packet capture. Must be a well- - formed URI describing the location to save the packet capture. + :param storage_path: The URI of the storage path to save the packet capture. Must be a + well-formed URI describing the location to save the packet capture. :type storage_path: str :param file_path: A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no @@ -15183,9 +15180,10 @@ class PrivateLinkService(Resource): :vartype private_endpoint_connections: list[~azure.mgmt.network.v2019_12_01.models.PrivateEndpointConnection] :param visibility: The visibility list of the private link service. - :type visibility: ~azure.mgmt.network.v2019_12_01.models.ResourceSet + :type visibility: ~azure.mgmt.network.v2019_12_01.models.PrivateLinkServicePropertiesVisibility :param auto_approval: The auto-approval list of the private link service. - :type auto_approval: ~azure.mgmt.network.v2019_12_01.models.ResourceSet + :type auto_approval: + ~azure.mgmt.network.v2019_12_01.models.PrivateLinkServicePropertiesAutoApproval :param fqdns: The list of Fqdn. :type fqdns: list[str] :ivar alias: The alias of the private link service. @@ -15217,8 +15215,8 @@ class PrivateLinkService(Resource): 'network_interfaces': {'key': 'properties.networkInterfaces', 'type': '[NetworkInterface]'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'private_endpoint_connections': {'key': 'properties.privateEndpointConnections', 'type': '[PrivateEndpointConnection]'}, - 'visibility': {'key': 'properties.visibility', 'type': 'ResourceSet'}, - 'auto_approval': {'key': 'properties.autoApproval', 'type': 'ResourceSet'}, + 'visibility': {'key': 'properties.visibility', 'type': 'PrivateLinkServicePropertiesVisibility'}, + 'auto_approval': {'key': 'properties.autoApproval', 'type': 'PrivateLinkServicePropertiesAutoApproval'}, 'fqdns': {'key': 'properties.fqdns', 'type': '[str]'}, 'alias': {'key': 'properties.alias', 'type': 'str'}, 'enable_proxy_protocol': {'key': 'properties.enableProxyProtocol', 'type': 'bool'}, @@ -15232,8 +15230,8 @@ def __init__( tags: Optional[Dict[str, str]] = None, load_balancer_frontend_ip_configurations: Optional[List["FrontendIPConfiguration"]] = None, ip_configurations: Optional[List["PrivateLinkServiceIpConfiguration"]] = None, - visibility: Optional["ResourceSet"] = None, - auto_approval: Optional["ResourceSet"] = None, + visibility: Optional["PrivateLinkServicePropertiesVisibility"] = None, + auto_approval: Optional["PrivateLinkServicePropertiesAutoApproval"] = None, fqdns: Optional[List[str]] = None, enable_proxy_protocol: Optional[bool] = None, **kwargs @@ -19440,8 +19438,8 @@ class VirtualNetworkPeering(SubResource): :type use_remote_gateways: bool :param remote_virtual_network: The reference to the remote virtual network. The remote virtual network can be in the same or different region (preview). See here to register for the preview - and learn more (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create- - peering). + and learn more + (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering). :type remote_virtual_network: ~azure.mgmt.network.v2019_12_01.models.SubResource :param remote_address_space: The reference to the remote virtual network address space. :type remote_address_space: ~azure.mgmt.network.v2019_12_01.models.AddressSpace diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_application_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_application_gateways_operations.py index af97b5a8602f..d37ac7094f45 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_application_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_application_gateways_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -292,8 +292,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_12_01.models.ApplicationGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGateway or the result of cls(response) @@ -611,8 +611,8 @@ def begin_start( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -721,8 +721,8 @@ def begin_stop( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -842,8 +842,8 @@ def begin_backend_health( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGatewayBackendHealth or the result of cls(response) @@ -977,8 +977,8 @@ def begin_backend_health_on_demand( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGatewayBackendHealthOnDemand or the result of cls(response) @@ -1073,7 +1073,7 @@ def list_available_server_variables( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) @@ -1125,7 +1125,7 @@ def list_available_request_headers( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) @@ -1177,7 +1177,7 @@ def list_available_response_headers( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_application_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_application_security_groups_operations.py index def6e2f8858c..7169aafa908a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_application_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_application_security_groups_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type application_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -293,8 +293,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_12_01.models.ApplicationSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_azure_firewalls_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_azure_firewalls_operations.py index 9b2ff16dad40..895381f30732 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_azure_firewalls_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_azure_firewalls_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type azure_firewall_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -292,8 +292,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_12_01.models.AzureFirewall :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AzureFirewall or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_bastion_hosts_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_bastion_hosts_operations.py index acd68cafb8fe..aa6df1e800cc 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_bastion_hosts_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_bastion_hosts_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type bastion_host_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -292,8 +292,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_12_01.models.BastionHost :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either BastionHost or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_connection_monitors_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_connection_monitors_operations.py index 4cb8c7a13868..866251efdb7f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_connection_monitors_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_connection_monitors_operations.py @@ -93,7 +93,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -129,8 +129,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_12_01.models.ConnectionMonitor :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionMonitorResult or the result of cls(response) @@ -238,7 +238,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('ConnectionMonitorResult', pipeline_response) @@ -289,7 +289,7 @@ def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -315,8 +315,8 @@ def begin_delete( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -428,7 +428,7 @@ def update_tags( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('ConnectionMonitorResult', pipeline_response) @@ -479,7 +479,7 @@ def _stop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -505,8 +505,8 @@ def begin_stop( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -597,7 +597,7 @@ def _start_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -623,8 +623,8 @@ def begin_start( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -715,7 +715,7 @@ def _query_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -748,8 +748,8 @@ def begin_query( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionMonitorQueryResult or the result of cls(response) @@ -868,7 +868,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_ddos_custom_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_ddos_custom_policies_operations.py index cd044f4c45ea..3915e22ba6b7 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_ddos_custom_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_ddos_custom_policies_operations.py @@ -106,8 +106,8 @@ def begin_delete( :type ddos_custom_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -291,8 +291,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_12_01.models.DdosCustomPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either DdosCustomPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_ddos_protection_plans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_ddos_protection_plans_operations.py index 8041f485115d..20d9884fd609 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_ddos_protection_plans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_ddos_protection_plans_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type ddos_protection_plan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -292,8 +292,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_12_01.models.DdosProtectionPlan :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either DdosProtectionPlan or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_express_route_circuit_authorizations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_express_route_circuit_authorizations_operations.py index 116d299adde6..266f1ecc558a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_express_route_circuit_authorizations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_express_route_circuit_authorizations_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type authorization_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -309,8 +309,8 @@ def begin_create_or_update( :type authorization_parameters: ~azure.mgmt.network.v2019_12_01.models.ExpressRouteCircuitAuthorization :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitAuthorization or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_express_route_circuit_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_express_route_circuit_connections_operations.py index 79884e9fb5cf..6b6b71432068 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_express_route_circuit_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_express_route_circuit_connections_operations.py @@ -118,8 +118,8 @@ def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -326,8 +326,8 @@ def begin_create_or_update( :type express_route_circuit_connection_parameters: ~azure.mgmt.network.v2019_12_01.models.ExpressRouteCircuitConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitConnection or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_express_route_circuit_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_express_route_circuit_peerings_operations.py index e614e3cf7b81..ff5557ec79cc 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_express_route_circuit_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_express_route_circuit_peerings_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -309,8 +309,8 @@ def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2019_12_01.models.ExpressRouteCircuitPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_express_route_circuits_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_express_route_circuits_operations.py index ba9ea36c378c..72d2c09e9123 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_express_route_circuits_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_express_route_circuits_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type circuit_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -292,8 +292,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_12_01.models.ExpressRouteCircuit :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -489,8 +489,8 @@ def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -622,8 +622,8 @@ def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) @@ -755,8 +755,8 @@ def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableSummaryListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_express_route_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_express_route_connections_operations.py index 12a338c53d9e..b054ba512310 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_express_route_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_express_route_connections_operations.py @@ -128,8 +128,8 @@ def begin_create_or_update( :type put_express_route_connection_parameters: ~azure.mgmt.network.v2019_12_01.models.ExpressRouteConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteConnection or the result of cls(response) @@ -312,8 +312,8 @@ def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_express_route_cross_connection_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_express_route_cross_connection_peerings_operations.py index bc73352e7ea2..faac569dccd5 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_express_route_cross_connection_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_express_route_cross_connection_peerings_operations.py @@ -187,8 +187,8 @@ def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -384,8 +384,8 @@ def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2019_12_01.models.ExpressRouteCrossConnectionPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCrossConnectionPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_express_route_cross_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_express_route_cross_connections_operations.py index b7509e4ca395..eb9ebca4fda9 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_express_route_cross_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_express_route_cross_connections_operations.py @@ -317,8 +317,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_12_01.models.ExpressRouteCrossConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCrossConnection or the result of cls(response) @@ -515,8 +515,8 @@ def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -648,8 +648,8 @@ def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCrossConnectionsRoutesTableSummaryListResult or the result of cls(response) @@ -781,8 +781,8 @@ def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_express_route_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_express_route_gateways_operations.py index 72f0aafdba8a..1e1fefa4e4a2 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_express_route_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_express_route_gateways_operations.py @@ -229,8 +229,8 @@ def begin_create_or_update( :type put_express_route_gateway_parameters: ~azure.mgmt.network.v2019_12_01.models.ExpressRouteGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteGateway or the result of cls(response) @@ -403,8 +403,8 @@ def begin_delete( :type express_route_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_express_route_ports_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_express_route_ports_operations.py index b8bd9b852ecd..b543670c8413 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_express_route_ports_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_express_route_ports_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type express_route_port_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -292,8 +292,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_12_01.models.ExpressRoutePort :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRoutePort or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_firewall_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_firewall_policies_operations.py index 8aaf1731aa01..b273bcdcb2dd 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_firewall_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_firewall_policies_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type firewall_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_12_01.models.FirewallPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FirewallPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_firewall_policy_rule_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_firewall_policy_rule_groups_operations.py index 7cd331a8618f..c75b44159ee3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_firewall_policy_rule_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_firewall_policy_rule_groups_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type rule_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -309,8 +309,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_12_01.models.FirewallPolicyRuleGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FirewallPolicyRuleGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_flow_logs_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_flow_logs_operations.py index 082f8789a838..7ab38a8d8863 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_flow_logs_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_flow_logs_operations.py @@ -93,7 +93,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -129,8 +129,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_12_01.models.FlowLog :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FlowLog or the result of cls(response) @@ -238,7 +238,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('FlowLog', pipeline_response) @@ -289,7 +289,7 @@ def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -315,8 +315,8 @@ def begin_delete( :type flow_log_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -432,7 +432,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_inbound_nat_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_inbound_nat_rules_operations.py index 9505b7f46dca..04294b83266f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_inbound_nat_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_inbound_nat_rules_operations.py @@ -187,8 +187,8 @@ def begin_delete( :type inbound_nat_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -389,8 +389,8 @@ def begin_create_or_update( :type inbound_nat_rule_parameters: ~azure.mgmt.network.v2019_12_01.models.InboundNatRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either InboundNatRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_ip_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_ip_groups_operations.py index 210303237e35..39730932390e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_ip_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_ip_groups_operations.py @@ -102,7 +102,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('IpGroup', pipeline_response) @@ -157,7 +157,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -190,8 +190,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_12_01.models.IpGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either IpGroup or the result of cls(response) @@ -301,7 +301,7 @@ def update_groups( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('IpGroup', pipeline_response) @@ -350,7 +350,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -373,8 +373,8 @@ def begin_delete( :type ip_groups_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -484,7 +484,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -552,7 +552,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_load_balancers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_load_balancers_operations.py index 49d1ffe8ae87..f2e03ccba7f6 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_load_balancers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_load_balancers_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type load_balancer_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_12_01.models.LoadBalancer :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LoadBalancer or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_local_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_local_network_gateways_operations.py index 57737022c29e..7646587e31e9 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_local_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_local_network_gateways_operations.py @@ -123,8 +123,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_12_01.models.LocalNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LocalNetworkGateway or the result of cls(response) @@ -296,8 +296,8 @@ def begin_delete( :type local_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_nat_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_nat_gateways_operations.py index 0a3b78f33924..cb3f615c49a3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_nat_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_nat_gateways_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type nat_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -300,8 +300,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_12_01.models.NatGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NatGateway or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_network_interface_tap_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_network_interface_tap_configurations_operations.py index a5877510c2fa..a79d0be5d048 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_network_interface_tap_configurations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_network_interface_tap_configurations_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type tap_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -309,8 +309,8 @@ def begin_create_or_update( :type tap_configuration_parameters: ~azure.mgmt.network.v2019_12_01.models.NetworkInterfaceTapConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkInterfaceTapConfiguration or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_network_interfaces_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_network_interfaces_operations.py index 7134f1607756..147dc677d7cf 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_network_interfaces_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_network_interfaces_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_12_01.models.NetworkInterface :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkInterface or the result of cls(response) @@ -621,8 +621,8 @@ def begin_get_effective_route_table( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either EffectiveRouteListResult or the result of cls(response) @@ -739,8 +739,8 @@ def begin_list_effective_network_security_groups( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either EffectiveNetworkSecurityGroupListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_network_management_client_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_network_management_client_operations.py index 19449848cde8..a23e605b7d86 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_network_management_client_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_network_management_client_operations.py @@ -101,8 +101,8 @@ def begin_put_bastion_shareable_link( :type bsl_request: ~azure.mgmt.network.v2019_12_01.models.BastionShareableLinkListRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns an iterator like instance of either BastionShareableLinkListResult or the result of cls(response) @@ -286,8 +286,8 @@ def begin_delete_bastion_shareable_link( :type bsl_request: ~azure.mgmt.network.v2019_12_01.models.BastionShareableLinkListRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -488,8 +488,8 @@ def begin_get_active_sessions( :type bastion_host_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns an iterator like instance of either BastionActiveSessionListResult or the result of cls(response) @@ -878,8 +878,8 @@ def begin_generatevirtualwanvpnserverconfigurationvpnprofile( :type vpn_client_params: ~azure.mgmt.network.v2019_12_01.models.VirtualWanVpnProfileParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnProfileResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_network_profiles_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_network_profiles_operations.py index c67c247e21a2..e7421b57889d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_network_profiles_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_network_profiles_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type network_profile_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_network_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_network_security_groups_operations.py index 156ac09e8c89..5be4f76a85e8 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_network_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_network_security_groups_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type network_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_12_01.models.NetworkSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_network_virtual_appliances_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_network_virtual_appliances_operations.py index 05dc38ce213a..04d04a90373b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_network_virtual_appliances_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_network_virtual_appliances_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type network_virtual_appliance_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -364,8 +364,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_12_01.models.NetworkVirtualAppliance :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkVirtualAppliance or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_network_watchers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_network_watchers_operations.py index ea0669c30cad..97958612a5fa 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_network_watchers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_network_watchers_operations.py @@ -104,7 +104,7 @@ def create_or_update( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -168,7 +168,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('NetworkWatcher', pipeline_response) @@ -217,7 +217,7 @@ def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -240,8 +240,8 @@ def begin_delete( :type network_watcher_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -347,7 +347,7 @@ def update_tags( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('NetworkWatcher', pipeline_response) @@ -419,7 +419,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -487,7 +487,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -555,7 +555,7 @@ def get_topology( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('Topology', pipeline_response) @@ -610,7 +610,7 @@ def _verify_ip_flow_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -643,8 +643,8 @@ def begin_verify_ip_flow( :type parameters: ~azure.mgmt.network.v2019_12_01.models.VerificationIPFlowParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VerificationIPFlowResult or the result of cls(response) @@ -741,7 +741,7 @@ def _get_next_hop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -774,8 +774,8 @@ def begin_get_next_hop( :type parameters: ~azure.mgmt.network.v2019_12_01.models.NextHopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NextHopResult or the result of cls(response) @@ -872,7 +872,7 @@ def _get_vm_security_rules_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -905,8 +905,8 @@ def begin_get_vm_security_rules( :type parameters: ~azure.mgmt.network.v2019_12_01.models.SecurityGroupViewParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either SecurityGroupViewResult or the result of cls(response) @@ -1003,7 +1003,7 @@ def _get_troubleshooting_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1036,8 +1036,8 @@ def begin_get_troubleshooting( :type parameters: ~azure.mgmt.network.v2019_12_01.models.TroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1134,7 +1134,7 @@ def _get_troubleshooting_result_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1167,8 +1167,8 @@ def begin_get_troubleshooting_result( :type parameters: ~azure.mgmt.network.v2019_12_01.models.QueryTroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1265,7 +1265,7 @@ def _set_flow_log_configuration_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1298,8 +1298,8 @@ def begin_set_flow_log_configuration( :type parameters: ~azure.mgmt.network.v2019_12_01.models.FlowLogInformation :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1396,7 +1396,7 @@ def _get_flow_log_status_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1430,8 +1430,8 @@ def begin_get_flow_log_status( :type parameters: ~azure.mgmt.network.v2019_12_01.models.FlowLogStatusParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1528,7 +1528,7 @@ def _check_connectivity_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1562,8 +1562,8 @@ def begin_check_connectivity( :type parameters: ~azure.mgmt.network.v2019_12_01.models.ConnectivityParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectivityInformation or the result of cls(response) @@ -1660,7 +1660,7 @@ def _get_azure_reachability_report_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1695,8 +1695,8 @@ def begin_get_azure_reachability_report( :type parameters: ~azure.mgmt.network.v2019_12_01.models.AzureReachabilityReportParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AzureReachabilityReport or the result of cls(response) @@ -1793,7 +1793,7 @@ def _list_available_providers_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1827,8 +1827,8 @@ def begin_list_available_providers( :type parameters: ~azure.mgmt.network.v2019_12_01.models.AvailableProvidersListParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AvailableProvidersList or the result of cls(response) @@ -1925,7 +1925,7 @@ def _get_network_configuration_diagnostic_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1962,8 +1962,8 @@ def begin_get_network_configuration_diagnostic( :type parameters: ~azure.mgmt.network.v2019_12_01.models.NetworkConfigurationDiagnosticParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkConfigurationDiagnosticResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_p2_svpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_p2_svpn_gateways_operations.py index 9dc1b2676380..091cfca69a53 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_p2_svpn_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_p2_svpn_gateways_operations.py @@ -183,8 +183,8 @@ def begin_create_or_update( :type p2_s_vpn_gateway_parameters: ~azure.mgmt.network.v2019_12_01.models.P2SVpnGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -365,8 +365,8 @@ def begin_delete( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -628,8 +628,8 @@ def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2019_12_01.models.P2SVpnProfileParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnProfileResponse or the result of cls(response) @@ -748,8 +748,8 @@ def begin_get_p2_s_vpn_connection_health( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -876,8 +876,8 @@ def begin_get_p2_s_vpn_connection_health_detailed( :type request: ~azure.mgmt.network.v2019_12_01.models.P2SVpnConnectionHealthRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either P2SVpnConnectionHealth or the result of cls(response) @@ -1000,8 +1000,8 @@ def begin_disconnect_p2_s_vpn_connections( :type request: ~azure.mgmt.network.v2019_12_01.models.P2SVpnConnectionRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_packet_captures_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_packet_captures_operations.py index 670c8035dc22..8f24ef07d8af 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_packet_captures_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_packet_captures_operations.py @@ -93,7 +93,7 @@ def _create_initial( if response.status_code not in [201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PacketCaptureResult', pipeline_response) @@ -125,8 +125,8 @@ def begin_create( :type parameters: ~azure.mgmt.network.v2019_12_01.models.PacketCapture :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PacketCaptureResult or the result of cls(response) @@ -234,7 +234,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PacketCaptureResult', pipeline_response) @@ -285,7 +285,7 @@ def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -311,8 +311,8 @@ def begin_delete( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -403,7 +403,7 @@ def _stop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -429,8 +429,8 @@ def begin_stop( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -521,7 +521,7 @@ def _get_status_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -554,8 +554,8 @@ def begin_get_status( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PacketCaptureQueryStatusResult or the result of cls(response) @@ -674,7 +674,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_private_endpoints_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_private_endpoints_operations.py index 759bb2270a8e..18cc98eb96fb 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_private_endpoints_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_private_endpoints_operations.py @@ -85,7 +85,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -108,8 +108,8 @@ def begin_delete( :type private_endpoint_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -212,7 +212,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateEndpoint', pipeline_response) @@ -267,7 +267,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -300,8 +300,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_12_01.models.PrivateEndpoint :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PrivateEndpoint or the result of cls(response) @@ -415,7 +415,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -483,7 +483,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_private_link_services_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_private_link_services_operations.py index 78fdea90f59d..0286aa7e62dc 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_private_link_services_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_private_link_services_operations.py @@ -85,7 +85,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -108,8 +108,8 @@ def begin_delete( :type service_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -212,7 +212,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateLinkService', pipeline_response) @@ -267,7 +267,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -300,8 +300,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_12_01.models.PrivateLinkService :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PrivateLinkService or the result of cls(response) @@ -415,7 +415,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -483,7 +483,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -553,7 +553,7 @@ def get_private_endpoint_connection( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateEndpointConnection', pipeline_response) @@ -625,7 +625,7 @@ def update_private_endpoint_connection( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateEndpointConnection', pipeline_response) @@ -676,7 +676,7 @@ def _delete_private_endpoint_connection_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -702,8 +702,8 @@ def begin_delete_private_endpoint_connection( :type pe_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -819,7 +819,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -899,8 +899,8 @@ def begin_check_private_link_service_visibility( :type parameters: ~azure.mgmt.network.v2019_12_01.models.CheckPrivateLinkServiceVisibilityRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PrivateLinkServiceVisibility or the result of cls(response) @@ -1026,8 +1026,8 @@ def begin_check_private_link_service_visibility_by_resource_group( :type parameters: ~azure.mgmt.network.v2019_12_01.models.CheckPrivateLinkServiceVisibilityRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PrivateLinkServiceVisibility or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_public_ip_addresses_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_public_ip_addresses_operations.py index d83b617ec8f5..79b6067aad12 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_public_ip_addresses_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_public_ip_addresses_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type public_ip_address_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_12_01.models.PublicIPAddress :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PublicIPAddress or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_public_ip_prefixes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_public_ip_prefixes_operations.py index 033eae5ea153..440ca481b7d6 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_public_ip_prefixes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_public_ip_prefixes_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type public_ip_prefix_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_12_01.models.PublicIPPrefix :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PublicIPPrefix or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_route_filter_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_route_filter_rules_operations.py index 5402433f7549..a9e23606e9b1 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_route_filter_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_route_filter_rules_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -309,8 +309,8 @@ def begin_create_or_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2019_12_01.models.RouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilterRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_route_filters_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_route_filters_operations.py index e256ee3e2a53..7d66cf4a4466 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_route_filters_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_route_filters_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type route_filter_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ def begin_create_or_update( :type route_filter_parameters: ~azure.mgmt.network.v2019_12_01.models.RouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilter or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_route_tables_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_route_tables_operations.py index cccb2dfc0666..e75d863a3218 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_route_tables_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_route_tables_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_12_01.models.RouteTable :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteTable or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_routes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_routes_operations.py index fd77dcef8ade..4c548944be10 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_routes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_routes_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type route_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -308,8 +308,8 @@ def begin_create_or_update( :type route_parameters: ~azure.mgmt.network.v2019_12_01.models.Route :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Route or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_security_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_security_rules_operations.py index 21d44161c92e..7ce136ba69bf 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_security_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_security_rules_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type security_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -309,8 +309,8 @@ def begin_create_or_update( :type security_rule_parameters: ~azure.mgmt.network.v2019_12_01.models.SecurityRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either SecurityRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_service_endpoint_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_service_endpoint_policies_operations.py index f2c07e4880e9..6a89f3b2f002 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_service_endpoint_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_service_endpoint_policies_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type service_endpoint_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_12_01.models.ServiceEndpointPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ServiceEndpointPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_service_endpoint_policy_definitions_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_service_endpoint_policy_definitions_operations.py index a3b3249a23ef..897e905a8b3a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_service_endpoint_policy_definitions_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_service_endpoint_policy_definitions_operations.py @@ -113,8 +113,8 @@ def begin_delete( :type service_endpoint_policy_definition_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -313,8 +313,8 @@ def begin_create_or_update( :type service_endpoint_policy_definitions: ~azure.mgmt.network.v2019_12_01.models.ServiceEndpointPolicyDefinition :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ServiceEndpointPolicyDefinition or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_subnets_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_subnets_operations.py index ba0c935fad7b..02a4f9dd899d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_subnets_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_subnets_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type subnet_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -313,8 +313,8 @@ def begin_create_or_update( :type subnet_parameters: ~azure.mgmt.network.v2019_12_01.models.Subnet :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Subnet or the result of cls(response) @@ -444,8 +444,8 @@ def begin_prepare_network_policies( :type prepare_network_policies_request_parameters: ~azure.mgmt.network.v2019_12_01.models.PrepareNetworkPoliciesRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -572,8 +572,8 @@ def begin_unprepare_network_policies( :type unprepare_network_policies_request_parameters: ~azure.mgmt.network.v2019_12_01.models.UnprepareNetworkPoliciesRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_virtual_hub_route_table_v2_s_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_virtual_hub_route_table_v2_s_operations.py index e92342478739..e3f35fa50434 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_virtual_hub_route_table_v2_s_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_virtual_hub_route_table_v2_s_operations.py @@ -100,7 +100,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualHubRouteTableV2', pipeline_response) @@ -157,7 +157,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -195,8 +195,8 @@ def begin_create_or_update( :type virtual_hub_route_table_v2_parameters: ~azure.mgmt.network.v2019_12_01.models.VirtualHubRouteTableV2 :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualHubRouteTableV2 or the result of cls(response) @@ -291,7 +291,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -317,8 +317,8 @@ def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_virtual_hubs_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_virtual_hubs_operations.py index d94ca6b334a9..6659daddd2dd 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_virtual_hubs_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_virtual_hubs_operations.py @@ -182,8 +182,8 @@ def begin_create_or_update( :type virtual_hub_parameters: ~azure.mgmt.network.v2019_12_01.models.VirtualHub :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualHub or the result of cls(response) @@ -363,8 +363,8 @@ def begin_delete( :type virtual_hub_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_virtual_network_gateway_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_virtual_network_gateway_connections_operations.py index c3d9bde5061f..3474f296a020 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_virtual_network_gateway_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_virtual_network_gateway_connections_operations.py @@ -125,8 +125,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_12_01.models.VirtualNetworkGatewayConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -300,8 +300,8 @@ def begin_delete( :type virtual_network_gateway_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -425,8 +425,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_12_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -558,8 +558,8 @@ def begin_set_shared_key( :type parameters: ~azure.mgmt.network.v2019_12_01.models.ConnectionSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionSharedKey or the result of cls(response) @@ -823,8 +823,8 @@ def begin_reset_shared_key( :type parameters: ~azure.mgmt.network.v2019_12_01.models.ConnectionResetSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionResetSharedKey or the result of cls(response) @@ -924,7 +924,7 @@ def _start_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -957,8 +957,8 @@ def begin_start_packet_capture( :type parameters: ~azure.mgmt.network.v2019_12_01.models.VpnPacketCaptureStartParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1055,7 +1055,7 @@ def _stop_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -1088,8 +1088,8 @@ def begin_stop_packet_capture( :type parameters: ~azure.mgmt.network.v2019_12_01.models.VpnPacketCaptureStopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_virtual_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_virtual_network_gateways_operations.py index 8c3a557ae719..845dc7d989f6 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_virtual_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_virtual_network_gateways_operations.py @@ -123,8 +123,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_12_01.models.VirtualNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -296,8 +296,8 @@ def begin_delete( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -420,8 +420,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2019_12_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -692,8 +692,8 @@ def begin_reset( :type gateway_vip: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -807,8 +807,8 @@ def begin_reset_vpn_client_shared_key( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -933,8 +933,8 @@ def begin_generatevpnclientpackage( :type parameters: ~azure.mgmt.network.v2019_12_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1063,8 +1063,8 @@ def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2019_12_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1183,8 +1183,8 @@ def begin_get_vpn_profile_package_url( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1307,8 +1307,8 @@ def begin_get_bgp_peer_status( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either BgpPeerStatusListResult or the result of cls(response) @@ -1486,8 +1486,8 @@ def begin_get_learned_routes( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1610,8 +1610,8 @@ def begin_get_advertised_routes( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1740,8 +1740,8 @@ def begin_set_vpnclient_ipsec_parameters( :type vpnclient_ipsec_params: ~azure.mgmt.network.v2019_12_01.models.VpnClientIPsecParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnClientIPsecParameters or the result of cls(response) @@ -1859,8 +1859,8 @@ def begin_get_vpnclient_ipsec_parameters( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnClientIPsecParameters or the result of cls(response) @@ -2027,7 +2027,7 @@ def _start_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -2059,8 +2059,8 @@ def begin_start_packet_capture( :type parameters: ~azure.mgmt.network.v2019_12_01.models.VpnPacketCaptureStartParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -2157,7 +2157,7 @@ def _stop_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -2189,8 +2189,8 @@ def begin_stop_packet_capture( :type parameters: ~azure.mgmt.network.v2019_12_01.models.VpnPacketCaptureStopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -2309,8 +2309,8 @@ def begin_get_vpnclient_connection_health( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnClientConnectionHealthDetailListResult or the result of cls(response) @@ -2431,8 +2431,8 @@ def begin_disconnect_virtual_network_gateway_vpn_connections( :type request: ~azure.mgmt.network.v2019_12_01.models.P2SVpnConnectionRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_virtual_network_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_virtual_network_peerings_operations.py index 171a43c1f50f..1e9ad1687bc7 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_virtual_network_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_virtual_network_peerings_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type virtual_network_peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -309,8 +309,8 @@ def begin_create_or_update( :type virtual_network_peering_parameters: ~azure.mgmt.network.v2019_12_01.models.VirtualNetworkPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_virtual_network_taps_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_virtual_network_taps_operations.py index 41a2e5641bfb..d3f751759d8d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_virtual_network_taps_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_virtual_network_taps_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type tap_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -292,8 +292,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_12_01.models.VirtualNetworkTap :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkTap or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_virtual_networks_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_virtual_networks_operations.py index 7a9dd38f18f2..dbfc5f204985 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_virtual_networks_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_virtual_networks_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type virtual_network_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_12_01.models.VirtualNetwork :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetwork or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_virtual_router_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_virtual_router_peerings_operations.py index 97ea3372c049..52a2e89f4ac6 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_virtual_router_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_virtual_router_peerings_operations.py @@ -87,7 +87,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -113,8 +113,8 @@ def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -218,7 +218,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualRouterPeering', pipeline_response) @@ -275,7 +275,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -312,8 +312,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_12_01.models.VirtualRouterPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualRouterPeering or the result of cls(response) @@ -433,7 +433,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_virtual_routers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_virtual_routers_operations.py index bf4494119b6d..727797909b80 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_virtual_routers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_virtual_routers_operations.py @@ -85,7 +85,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -108,8 +108,8 @@ def begin_delete( :type virtual_router_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -212,7 +212,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualRouter', pipeline_response) @@ -267,7 +267,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -300,8 +300,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2019_12_01.models.VirtualRouter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualRouter or the result of cls(response) @@ -415,7 +415,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -483,7 +483,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_virtual_wans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_virtual_wans_operations.py index a25fcb15150f..f6887d652ad3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_virtual_wans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_virtual_wans_operations.py @@ -182,8 +182,8 @@ def begin_create_or_update( :type wan_parameters: ~azure.mgmt.network.v2019_12_01.models.VirtualWAN :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualWAN or the result of cls(response) @@ -363,8 +363,8 @@ def begin_delete( :type virtual_wan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_vpn_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_vpn_connections_operations.py index 4327ea75c383..df7f806252a3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_vpn_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_vpn_connections_operations.py @@ -192,8 +192,8 @@ def begin_create_or_update( :type vpn_connection_parameters: ~azure.mgmt.network.v2019_12_01.models.VpnConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnConnection or the result of cls(response) @@ -313,8 +313,8 @@ def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_vpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_vpn_gateways_operations.py index 9c20061f2127..dd963e16fb9f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_vpn_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_vpn_gateways_operations.py @@ -183,8 +183,8 @@ def begin_create_or_update( :type vpn_gateway_parameters: ~azure.mgmt.network.v2019_12_01.models.VpnGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnGateway or the result of cls(response) @@ -364,8 +364,8 @@ def begin_delete( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -479,8 +479,8 @@ def begin_reset( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnGateway or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py index e4b511ee7441..f990dea7a5ff 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py @@ -112,8 +112,8 @@ def begin_list( :type virtual_wan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnServerConfigurationsResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_vpn_server_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_vpn_server_configurations_operations.py index 5e6e36f69e7a..cf5b4ee0b5d8 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_vpn_server_configurations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_vpn_server_configurations_operations.py @@ -185,8 +185,8 @@ def begin_create_or_update( :type vpn_server_configuration_parameters: ~azure.mgmt.network.v2019_12_01.models.VpnServerConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnServerConfiguration or the result of cls(response) @@ -367,8 +367,8 @@ def begin_delete( :type vpn_server_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_vpn_sites_configuration_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_vpn_sites_configuration_operations.py index 02869eff9a97..067ef8e12bd3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_vpn_sites_configuration_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_vpn_sites_configuration_operations.py @@ -116,8 +116,8 @@ def begin_download( :type request: ~azure.mgmt.network.v2019_12_01.models.GetVpnSitesConfigurationRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_vpn_sites_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_vpn_sites_operations.py index 07e0c9df752c..487e5071559f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_vpn_sites_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_vpn_sites_operations.py @@ -182,8 +182,8 @@ def begin_create_or_update( :type vpn_site_parameters: ~azure.mgmt.network.v2019_12_01.models.VpnSite :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnSite or the result of cls(response) @@ -363,8 +363,8 @@ def begin_delete( :type vpn_site_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_web_application_firewall_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_web_application_firewall_policies_operations.py index 2f50caf9c5cb..709ac9552385 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_web_application_firewall_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_12_01/operations/_web_application_firewall_policies_operations.py @@ -375,8 +375,8 @@ def begin_delete( :type policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/_metadata.json b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/_metadata.json index 41922ed2cc38..a0a41893e58e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/_metadata.json +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/_metadata.json @@ -9,7 +9,9 @@ "custom_base_url": null, "azure_arm": true, "has_lro_operations": true, - "client_side_validation": true + "client_side_validation": false, + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"NetworkManagementClientConfiguration\"], \"._operations_mixin\": [\"NetworkManagementClientOperationsMixin\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"NetworkManagementClientConfiguration\"], \"._operations_mixin\": [\"NetworkManagementClientOperationsMixin\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}" }, "global_parameters": { "sync": { @@ -28,13 +30,13 @@ }, "async": { "credential": { - "signature": "credential, # type: \"AsyncTokenCredential\"", + "signature": "credential: \"AsyncTokenCredential\",", "description": "Credential needed for the client to connect to Azure.", "docstring_type": "~azure.core.credentials_async.AsyncTokenCredential", "required": true }, "subscription_id": { - "signature": "subscription_id, # type: str", + "signature": "subscription_id: str,", "description": "The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.", "docstring_type": "str", "required": true @@ -42,14 +44,58 @@ }, "constant": { }, - "call": "credential, subscription_id" + "call": "credential, subscription_id", + "service_client_specific": { + "sync": { + "api_version": { + "signature": "api_version=None, # type: Optional[str]", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url=None, # type: Optional[str]", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile=KnownProfiles.default, # type: KnownProfiles", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + }, + "async": { + "api_version": { + "signature": "api_version: Optional[str] = None,", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url: Optional[str] = None,", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile: KnownProfiles = KnownProfiles.default,", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + } + } }, "config": { "credential": true, "credential_scopes": ["https://management.azure.com/.default"], "credential_default_policy_type": "BearerTokenCredentialPolicy", "credential_default_policy_type_has_async_version": true, - "credential_key_header_name": null + "credential_key_header_name": null, + "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMHttpLoggingPolicy\"]}, \"local\": {\"._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}}", + "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMHttpLoggingPolicy\"]}, \"local\": {\".._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}}" }, "operation_groups": { "application_gateways": "ApplicationGatewaysOperations", @@ -147,151 +193,153 @@ "web_application_firewall_policies": "WebApplicationFirewallPoliciesOperations" }, "operation_mixins": { - "_put_bastion_shareable_link_initial" : { - "sync": { - "signature": "def _put_bastion_shareable_link_initial(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_03_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionShareableLinkListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_03_01.models.BastionShareableLinkListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def _put_bastion_shareable_link_initial(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e Optional[\"_models.BastionShareableLinkListResult\"]:\n", - "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_03_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionShareableLinkListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_03_01.models.BastionShareableLinkListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "resource_group_name, bastion_host_name, bsl_request" - }, - "begin_put_bastion_shareable_link" : { - "sync": { - "signature": "def begin_put_bastion_shareable_link(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Creates a Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_03_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns an iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_03_01.models.BastionShareableLinkListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" - }, - "async": { - "coroutine": false, - "signature": "def begin_put_bastion_shareable_link(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e AsyncLROPoller[AsyncItemPaged[\"_models.BastionShareableLinkListResult\"]]:\n", - "doc": "\"\"\"Creates a Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_03_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns an iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_03_01.models.BastionShareableLinkListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" - }, - "call": "resource_group_name, bastion_host_name, bsl_request" - }, - "_delete_bastion_shareable_link_initial" : { - "sync": { - "signature": "def _delete_bastion_shareable_link_initial(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_03_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def _delete_bastion_shareable_link_initial(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e None:\n", - "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_03_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "resource_group_name, bastion_host_name, bsl_request" - }, - "begin_delete_bastion_shareable_link" : { - "sync": { - "signature": "def begin_delete_bastion_shareable_link(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Deletes the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_03_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def begin_delete_bastion_shareable_link(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e AsyncLROPoller[None]:\n", - "doc": "\"\"\"Deletes the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_03_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" - }, - "call": "resource_group_name, bastion_host_name, bsl_request" - }, - "get_bastion_shareable_link" : { - "sync": { - "signature": "def get_bastion_shareable_link(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Return the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_03_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_03_01.models.BastionShareableLinkListResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": false, - "signature": "def get_bastion_shareable_link(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e AsyncItemPaged[\"_models.BastionShareableLinkListResult\"]:\n", - "doc": "\"\"\"Return the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_03_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_03_01.models.BastionShareableLinkListResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "resource_group_name, bastion_host_name, bsl_request" - }, - "_get_active_sessions_initial" : { - "sync": { - "signature": "def _get_active_sessions_initial(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionActiveSessionListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_03_01.models.BastionActiveSessionListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def _get_active_sessions_initial(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n **kwargs\n) -\u003e Optional[\"_models.BastionActiveSessionListResult\"]:\n", - "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionActiveSessionListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_03_01.models.BastionActiveSessionListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "resource_group_name, bastion_host_name" - }, - "begin_get_active_sessions" : { - "sync": { - "signature": "def begin_get_active_sessions(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns an iterator like instance of either BastionActiveSessionListResult or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_03_01.models.BastionActiveSessionListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"], \"azure.core.polling\": [\"LROPoller\", \"NoPolling\", \"PollingMethod\"], \"azure.mgmt.core.polling.arm_polling\": [\"ARMPolling\"], \"azure.core.paging\": [\"ItemPaged\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Iterable\", \"Optional\", \"TypeVar\", \"Union\"]}}}", + "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"], \"azure.core.polling\": [\"AsyncLROPoller\", \"AsyncNoPolling\", \"AsyncPollingMethod\"], \"azure.mgmt.core.polling.async_arm_polling\": [\"AsyncARMPolling\"], \"azure.core.async_paging\": [\"AsyncItemPaged\", \"AsyncList\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"AsyncIterable\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\", \"Union\"]}}}", + "operations": { + "_put_bastion_shareable_link_initial" : { + "sync": { + "signature": "def _put_bastion_shareable_link_initial(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_03_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionShareableLinkListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_03_01.models.BastionShareableLinkListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def _put_bastion_shareable_link_initial(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e Optional[\"_models.BastionShareableLinkListResult\"]:\n", + "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_03_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionShareableLinkListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_03_01.models.BastionShareableLinkListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "resource_group_name, bastion_host_name, bsl_request" }, - "async": { - "coroutine": false, - "signature": "def begin_get_active_sessions(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n **kwargs\n) -\u003e AsyncLROPoller[AsyncItemPaged[\"_models.BastionActiveSessionListResult\"]]:\n", - "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns an iterator like instance of either BastionActiveSessionListResult or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_03_01.models.BastionActiveSessionListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + "begin_put_bastion_shareable_link" : { + "sync": { + "signature": "def begin_put_bastion_shareable_link(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Creates a Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_03_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the ARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns an iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_03_01.models.BastionShareableLinkListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "async": { + "coroutine": false, + "signature": "def begin_put_bastion_shareable_link(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e AsyncLROPoller[AsyncItemPaged[\"_models.BastionShareableLinkListResult\"]]:\n", + "doc": "\"\"\"Creates a Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_03_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the AsyncARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns an iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_03_01.models.BastionShareableLinkListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "call": "resource_group_name, bastion_host_name, bsl_request" }, - "call": "resource_group_name, bastion_host_name" - }, - "disconnect_active_sessions" : { - "sync": { - "signature": "def disconnect_active_sessions(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n session_ids, # type: \"_models.SessionIds\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param session_ids: The list of sessionids to disconnect.\n:type session_ids: ~azure.mgmt.network.v2020_03_01.models.SessionIds\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionSessionDeleteResult or the result of cls(response)\n:rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_03_01.models.BastionSessionDeleteResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": false, - "signature": "def disconnect_active_sessions(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n session_ids: \"_models.SessionIds\",\n **kwargs\n) -\u003e AsyncItemPaged[\"_models.BastionSessionDeleteResult\"]:\n", - "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param session_ids: The list of sessionids to disconnect.\n:type session_ids: ~azure.mgmt.network.v2020_03_01.models.SessionIds\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionSessionDeleteResult or the result of cls(response)\n:rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_03_01.models.BastionSessionDeleteResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "_delete_bastion_shareable_link_initial" : { + "sync": { + "signature": "def _delete_bastion_shareable_link_initial(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_03_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def _delete_bastion_shareable_link_initial(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e None:\n", + "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_03_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "resource_group_name, bastion_host_name, bsl_request" }, - "call": "resource_group_name, bastion_host_name, session_ids" - }, - "check_dns_name_availability" : { - "sync": { - "signature": "def check_dns_name_availability(\n self,\n location, # type: str\n domain_name_label, # type: str\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_03_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "begin_delete_bastion_shareable_link" : { + "sync": { + "signature": "def begin_delete_bastion_shareable_link(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Deletes the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_03_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the ARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def begin_delete_bastion_shareable_link(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e AsyncLROPoller[None]:\n", + "doc": "\"\"\"Deletes the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_03_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the AsyncARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "call": "resource_group_name, bastion_host_name, bsl_request" }, - "async": { - "coroutine": true, - "signature": "async def check_dns_name_availability(\n self,\n location: str,\n domain_name_label: str,\n **kwargs\n) -\u003e \"_models.DnsNameAvailabilityResult\":\n", - "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_03_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "get_bastion_shareable_link" : { + "sync": { + "signature": "def get_bastion_shareable_link(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Return the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_03_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_03_01.models.BastionShareableLinkListResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": false, + "signature": "def get_bastion_shareable_link(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e AsyncItemPaged[\"_models.BastionShareableLinkListResult\"]:\n", + "doc": "\"\"\"Return the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_03_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_03_01.models.BastionShareableLinkListResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "resource_group_name, bastion_host_name, bsl_request" }, - "call": "location, domain_name_label" - }, - "supported_security_providers" : { - "sync": { - "signature": "def supported_security_providers(\n self,\n resource_group_name, # type: str\n virtual_wan_name, # type: str\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Gives the supported security providers for the virtual wan.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN for which supported security providers are\n needed.\n:type virtual_wan_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VirtualWanSecurityProviders, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_03_01.models.VirtualWanSecurityProviders\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "_get_active_sessions_initial" : { + "sync": { + "signature": "def _get_active_sessions_initial(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionActiveSessionListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_03_01.models.BastionActiveSessionListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def _get_active_sessions_initial(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n **kwargs\n) -\u003e Optional[\"_models.BastionActiveSessionListResult\"]:\n", + "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionActiveSessionListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_03_01.models.BastionActiveSessionListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "resource_group_name, bastion_host_name" }, - "async": { - "coroutine": true, - "signature": "async def supported_security_providers(\n self,\n resource_group_name: str,\n virtual_wan_name: str,\n **kwargs\n) -\u003e \"_models.VirtualWanSecurityProviders\":\n", - "doc": "\"\"\"Gives the supported security providers for the virtual wan.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN for which supported security providers are\n needed.\n:type virtual_wan_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VirtualWanSecurityProviders, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_03_01.models.VirtualWanSecurityProviders\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "begin_get_active_sessions" : { + "sync": { + "signature": "def begin_get_active_sessions(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the ARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns an iterator like instance of either BastionActiveSessionListResult or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_03_01.models.BastionActiveSessionListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "async": { + "coroutine": false, + "signature": "def begin_get_active_sessions(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n **kwargs\n) -\u003e AsyncLROPoller[AsyncItemPaged[\"_models.BastionActiveSessionListResult\"]]:\n", + "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the AsyncARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns an iterator like instance of either BastionActiveSessionListResult or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_03_01.models.BastionActiveSessionListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "call": "resource_group_name, bastion_host_name" }, - "call": "resource_group_name, virtual_wan_name" - }, - "_generatevirtualwanvpnserverconfigurationvpnprofile_initial" : { - "sync": { - "signature": "def _generatevirtualwanvpnserverconfigurationvpnprofile_initial(\n self,\n resource_group_name, # type: str\n virtual_wan_name, # type: str\n vpn_client_params, # type: \"_models.VirtualWanVpnProfileParameters\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2020_03_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VpnProfileResponse, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_03_01.models.VpnProfileResponse or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "disconnect_active_sessions" : { + "sync": { + "signature": "def disconnect_active_sessions(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n session_ids, # type: \"_models.SessionIds\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param session_ids: The list of sessionids to disconnect.\n:type session_ids: ~azure.mgmt.network.v2020_03_01.models.SessionIds\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionSessionDeleteResult or the result of cls(response)\n:rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_03_01.models.BastionSessionDeleteResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": false, + "signature": "def disconnect_active_sessions(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n session_ids: \"_models.SessionIds\",\n **kwargs\n) -\u003e AsyncItemPaged[\"_models.BastionSessionDeleteResult\"]:\n", + "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param session_ids: The list of sessionids to disconnect.\n:type session_ids: ~azure.mgmt.network.v2020_03_01.models.SessionIds\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionSessionDeleteResult or the result of cls(response)\n:rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_03_01.models.BastionSessionDeleteResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "resource_group_name, bastion_host_name, session_ids" }, - "async": { - "coroutine": true, - "signature": "async def _generatevirtualwanvpnserverconfigurationvpnprofile_initial(\n self,\n resource_group_name: str,\n virtual_wan_name: str,\n vpn_client_params: \"_models.VirtualWanVpnProfileParameters\",\n **kwargs\n) -\u003e Optional[\"_models.VpnProfileResponse\"]:\n", - "doc": "\"\"\"\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2020_03_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VpnProfileResponse, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_03_01.models.VpnProfileResponse or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "check_dns_name_availability" : { + "sync": { + "signature": "def check_dns_name_availability(\n self,\n location, # type: str\n domain_name_label, # type: str\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_03_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def check_dns_name_availability(\n self,\n location: str,\n domain_name_label: str,\n **kwargs\n) -\u003e \"_models.DnsNameAvailabilityResult\":\n", + "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_03_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "location, domain_name_label" }, - "call": "resource_group_name, virtual_wan_name, vpn_client_params" - }, - "begin_generatevirtualwanvpnserverconfigurationvpnprofile" : { - "sync": { - "signature": "def begin_generatevirtualwanvpnserverconfigurationvpnprofile(\n self,\n resource_group_name, # type: str\n virtual_wan_name, # type: str\n vpn_client_params, # type: \"_models.VirtualWanVpnProfileParameters\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Generates a unique VPN profile for P2S clients for VirtualWan and associated\nVpnServerConfiguration combination in the specified resource group.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2020_03_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns either VpnProfileResponse or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_03_01.models.VpnProfileResponse]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + "supported_security_providers" : { + "sync": { + "signature": "def supported_security_providers(\n self,\n resource_group_name, # type: str\n virtual_wan_name, # type: str\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Gives the supported security providers for the virtual wan.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN for which supported security providers are\n needed.\n:type virtual_wan_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VirtualWanSecurityProviders, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_03_01.models.VirtualWanSecurityProviders\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def supported_security_providers(\n self,\n resource_group_name: str,\n virtual_wan_name: str,\n **kwargs\n) -\u003e \"_models.VirtualWanSecurityProviders\":\n", + "doc": "\"\"\"Gives the supported security providers for the virtual wan.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN for which supported security providers are\n needed.\n:type virtual_wan_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VirtualWanSecurityProviders, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_03_01.models.VirtualWanSecurityProviders\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "resource_group_name, virtual_wan_name" }, - "async": { - "coroutine": true, - "signature": "async def begin_generatevirtualwanvpnserverconfigurationvpnprofile(\n self,\n resource_group_name: str,\n virtual_wan_name: str,\n vpn_client_params: \"_models.VirtualWanVpnProfileParameters\",\n **kwargs\n) -\u003e AsyncLROPoller[\"_models.VpnProfileResponse\"]:\n", - "doc": "\"\"\"Generates a unique VPN profile for P2S clients for VirtualWan and associated\nVpnServerConfiguration combination in the specified resource group.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2020_03_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns either VpnProfileResponse or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_03_01.models.VpnProfileResponse]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + "_generatevirtualwanvpnserverconfigurationvpnprofile_initial" : { + "sync": { + "signature": "def _generatevirtualwanvpnserverconfigurationvpnprofile_initial(\n self,\n resource_group_name, # type: str\n virtual_wan_name, # type: str\n vpn_client_params, # type: \"_models.VirtualWanVpnProfileParameters\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2020_03_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VpnProfileResponse, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_03_01.models.VpnProfileResponse or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def _generatevirtualwanvpnserverconfigurationvpnprofile_initial(\n self,\n resource_group_name: str,\n virtual_wan_name: str,\n vpn_client_params: \"_models.VirtualWanVpnProfileParameters\",\n **kwargs\n) -\u003e Optional[\"_models.VpnProfileResponse\"]:\n", + "doc": "\"\"\"\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2020_03_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VpnProfileResponse, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_03_01.models.VpnProfileResponse or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "resource_group_name, virtual_wan_name, vpn_client_params" }, - "call": "resource_group_name, virtual_wan_name, vpn_client_params" + "begin_generatevirtualwanvpnserverconfigurationvpnprofile" : { + "sync": { + "signature": "def begin_generatevirtualwanvpnserverconfigurationvpnprofile(\n self,\n resource_group_name, # type: str\n virtual_wan_name, # type: str\n vpn_client_params, # type: \"_models.VirtualWanVpnProfileParameters\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Generates a unique VPN profile for P2S clients for VirtualWan and associated\nVpnServerConfiguration combination in the specified resource group.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2020_03_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the ARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns either VpnProfileResponse or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_03_01.models.VpnProfileResponse]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def begin_generatevirtualwanvpnserverconfigurationvpnprofile(\n self,\n resource_group_name: str,\n virtual_wan_name: str,\n vpn_client_params: \"_models.VirtualWanVpnProfileParameters\",\n **kwargs\n) -\u003e AsyncLROPoller[\"_models.VpnProfileResponse\"]:\n", + "doc": "\"\"\"Generates a unique VPN profile for P2S clients for VirtualWan and associated\nVpnServerConfiguration combination in the specified resource group.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2020_03_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the AsyncARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns either VpnProfileResponse or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_03_01.models.VpnProfileResponse]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "call": "resource_group_name, virtual_wan_name, vpn_client_params" + } } - }, - "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"], \"azure.core.polling\": [\"LROPoller\", \"NoPolling\", \"PollingMethod\"], \"azure.mgmt.core.polling.arm_polling\": [\"ARMPolling\"], \"azure.core.paging\": [\"ItemPaged\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Iterable\", \"Optional\", \"TypeVar\", \"Union\"]}}}", - "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"], \"azure.core.polling\": [\"AsyncLROPoller\", \"AsyncNoPolling\", \"AsyncPollingMethod\"], \"azure.mgmt.core.polling.async_arm_polling\": [\"AsyncARMPolling\"], \"azure.core.async_paging\": [\"AsyncItemPaged\", \"AsyncList\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"AsyncIterable\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\", \"Union\"]}}}" + } } \ No newline at end of file diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/_network_management_client.py index 5bf3c34c0bc6..cfe4ea76142f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/_network_management_client.py @@ -16,6 +16,7 @@ from typing import Any, Optional from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse from ._configuration import NetworkManagementClientConfiguration from .operations import ApplicationGatewaysOperations @@ -327,6 +328,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( @@ -516,6 +518,24 @@ def __init__( self.web_application_firewall_policies = WebApplicationFirewallPoliciesOperations( self._client, self._config, self._serialize, self._deserialize) + def _send_request(self, http_request, **kwargs): + # type: (HttpRequest, Any) -> HttpResponse + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.HttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + def close(self): # type: () -> None self._client.close() diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/_network_management_client.py index fd1b930fcc95..d523cafbe943 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/_network_management_client.py @@ -8,6 +8,7 @@ from typing import Any, Optional, TYPE_CHECKING +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core import AsyncARMPipelineClient from msrest import Deserializer, Serializer @@ -324,6 +325,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( @@ -513,6 +515,23 @@ def __init__( self.web_application_firewall_policies = WebApplicationFirewallPoliciesOperations( self._client, self._config, self._serialize, self._deserialize) + async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + async def close(self) -> None: await self._client.close() diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_application_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_application_gateways_operations.py index 8de578750d6a..16bda8234dc2 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_application_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_application_gateways_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -283,8 +283,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_03_01.models.ApplicationGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGateway or the result of cls(response) @@ -597,8 +597,8 @@ async def begin_start( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -705,8 +705,8 @@ async def begin_stop( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -824,8 +824,8 @@ async def begin_backend_health( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGatewayBackendHealth or the result of cls(response) @@ -957,8 +957,8 @@ async def begin_backend_health_on_demand( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGatewayBackendHealthOnDemand or the result of cls(response) @@ -1052,7 +1052,7 @@ async def list_available_server_variables( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) @@ -1103,7 +1103,7 @@ async def list_available_request_headers( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) @@ -1154,7 +1154,7 @@ async def list_available_response_headers( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_application_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_application_security_groups_operations.py index 3003b8995b33..2c769e368612 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_application_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_application_security_groups_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type application_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -284,8 +284,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_03_01.models.ApplicationSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_azure_firewalls_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_azure_firewalls_operations.py index 3071ca6a881d..b18dcec1c77c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_azure_firewalls_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_azure_firewalls_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type azure_firewall_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -283,8 +283,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_03_01.models.AzureFirewall :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AzureFirewall or the result of cls(response) @@ -409,8 +409,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2020_03_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AzureFirewall or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_bastion_hosts_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_bastion_hosts_operations.py index 06b6fac35df3..79aaed231065 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_bastion_hosts_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_bastion_hosts_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type bastion_host_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -283,8 +283,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_03_01.models.BastionHost :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either BastionHost or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_connection_monitors_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_connection_monitors_operations.py index 2d82f297fc32..c0d36a817588 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_connection_monitors_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_connection_monitors_operations.py @@ -88,7 +88,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -123,8 +123,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_03_01.models.ConnectionMonitor :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionMonitorResult or the result of cls(response) @@ -231,7 +231,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('ConnectionMonitorResult', pipeline_response) @@ -281,7 +281,7 @@ async def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -306,8 +306,8 @@ async def begin_delete( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -418,7 +418,7 @@ async def update_tags( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('ConnectionMonitorResult', pipeline_response) @@ -468,7 +468,7 @@ async def _stop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -493,8 +493,8 @@ async def begin_stop( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -584,7 +584,7 @@ async def _start_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -609,8 +609,8 @@ async def begin_start( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -700,7 +700,7 @@ async def _query_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -732,8 +732,8 @@ async def begin_query( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionMonitorQueryResult or the result of cls(response) @@ -851,7 +851,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_ddos_custom_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_ddos_custom_policies_operations.py index ffd282337030..aa3f9341ca58 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_ddos_custom_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_ddos_custom_policies_operations.py @@ -100,8 +100,8 @@ async def begin_delete( :type ddos_custom_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -282,8 +282,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_03_01.models.DdosCustomPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either DdosCustomPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_ddos_protection_plans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_ddos_protection_plans_operations.py index bbb571f5b1e3..8f3be222b37c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_ddos_protection_plans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_ddos_protection_plans_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type ddos_protection_plan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -283,8 +283,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_03_01.models.DdosProtectionPlan :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either DdosProtectionPlan or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_express_route_circuit_authorizations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_express_route_circuit_authorizations_operations.py index edc74fedf434..db67cccae3ec 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_express_route_circuit_authorizations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_express_route_circuit_authorizations_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type authorization_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -300,8 +300,8 @@ async def begin_create_or_update( :type authorization_parameters: ~azure.mgmt.network.v2020_03_01.models.ExpressRouteCircuitAuthorization :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitAuthorization or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_express_route_circuit_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_express_route_circuit_connections_operations.py index 6e6310daf6f2..2d1ec839d7df 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_express_route_circuit_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_express_route_circuit_connections_operations.py @@ -112,8 +112,8 @@ async def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -317,8 +317,8 @@ async def begin_create_or_update( :type express_route_circuit_connection_parameters: ~azure.mgmt.network.v2020_03_01.models.ExpressRouteCircuitConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitConnection or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_express_route_circuit_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_express_route_circuit_peerings_operations.py index b539c3052467..3e3408ba379d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_express_route_circuit_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_express_route_circuit_peerings_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -300,8 +300,8 @@ async def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2020_03_01.models.ExpressRouteCircuitPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_express_route_circuits_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_express_route_circuits_operations.py index 760321f15653..a4730b535b13 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_express_route_circuits_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_express_route_circuits_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type circuit_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -283,8 +283,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_03_01.models.ExpressRouteCircuit :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -477,8 +477,8 @@ async def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -608,8 +608,8 @@ async def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) @@ -739,8 +739,8 @@ async def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableSummaryListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_express_route_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_express_route_connections_operations.py index 2b313bc0be3a..bbe493e3504b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_express_route_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_express_route_connections_operations.py @@ -122,8 +122,8 @@ async def begin_create_or_update( :type put_express_route_connection_parameters: ~azure.mgmt.network.v2020_03_01.models.ExpressRouteConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteConnection or the result of cls(response) @@ -303,8 +303,8 @@ async def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_express_route_cross_connection_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_express_route_cross_connection_peerings_operations.py index 002f6628fe52..cdddf992c614 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_express_route_cross_connection_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_express_route_cross_connection_peerings_operations.py @@ -180,8 +180,8 @@ async def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -374,8 +374,8 @@ async def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2020_03_01.models.ExpressRouteCrossConnectionPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCrossConnectionPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_express_route_cross_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_express_route_cross_connections_operations.py index b381d7dc16a2..eed412dc0fff 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_express_route_cross_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_express_route_cross_connections_operations.py @@ -308,8 +308,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_03_01.models.ExpressRouteCrossConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCrossConnection or the result of cls(response) @@ -503,8 +503,8 @@ async def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -634,8 +634,8 @@ async def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCrossConnectionsRoutesTableSummaryListResult or the result of cls(response) @@ -765,8 +765,8 @@ async def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_express_route_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_express_route_gateways_operations.py index a7a6e40fc18d..71a22f71c1a0 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_express_route_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_express_route_gateways_operations.py @@ -221,8 +221,8 @@ async def begin_create_or_update( :type put_express_route_gateway_parameters: ~azure.mgmt.network.v2020_03_01.models.ExpressRouteGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteGateway or the result of cls(response) @@ -392,8 +392,8 @@ async def begin_delete( :type express_route_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_express_route_ports_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_express_route_ports_operations.py index dfff83cc2b1c..be712ee91b79 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_express_route_ports_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_express_route_ports_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type express_route_port_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -283,8 +283,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_03_01.models.ExpressRoutePort :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRoutePort or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_firewall_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_firewall_policies_operations.py index d5e330bc02eb..bae89f495b57 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_firewall_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_firewall_policies_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type firewall_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -288,8 +288,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_03_01.models.FirewallPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FirewallPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_firewall_policy_rule_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_firewall_policy_rule_groups_operations.py index 3c40a5a83e93..3ecd240fef2c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_firewall_policy_rule_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_firewall_policy_rule_groups_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type rule_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -300,8 +300,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_03_01.models.FirewallPolicyRuleGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FirewallPolicyRuleGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_flow_logs_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_flow_logs_operations.py index 46d4694143a6..4cce48a1f301 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_flow_logs_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_flow_logs_operations.py @@ -88,7 +88,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -123,8 +123,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_03_01.models.FlowLog :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FlowLog or the result of cls(response) @@ -231,7 +231,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('FlowLog', pipeline_response) @@ -281,7 +281,7 @@ async def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -306,8 +306,8 @@ async def begin_delete( :type flow_log_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -422,7 +422,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_inbound_nat_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_inbound_nat_rules_operations.py index 11cf249ef507..51ef359348f5 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_inbound_nat_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_inbound_nat_rules_operations.py @@ -180,8 +180,8 @@ async def begin_delete( :type inbound_nat_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -379,8 +379,8 @@ async def begin_create_or_update( :type inbound_nat_rule_parameters: ~azure.mgmt.network.v2020_03_01.models.InboundNatRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either InboundNatRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_ip_allocations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_ip_allocations_operations.py index 5f652d643cb2..0a92b9a3e48c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_ip_allocations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_ip_allocations_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type ip_allocation_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -288,8 +288,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_03_01.models.IpAllocation :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either IpAllocation or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_ip_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_ip_groups_operations.py index 4836bf301175..9931c9490755 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_ip_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_ip_groups_operations.py @@ -97,7 +97,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('IpGroup', pipeline_response) @@ -151,7 +151,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -183,8 +183,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_03_01.models.IpGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either IpGroup or the result of cls(response) @@ -293,7 +293,7 @@ async def update_groups( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('IpGroup', pipeline_response) @@ -341,7 +341,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -363,8 +363,8 @@ async def begin_delete( :type ip_groups_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -473,7 +473,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -540,7 +540,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_load_balancers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_load_balancers_operations.py index 509a8274e395..9f8f11ee4e43 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_load_balancers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_load_balancers_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type load_balancer_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -288,8 +288,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_03_01.models.LoadBalancer :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LoadBalancer or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_local_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_local_network_gateways_operations.py index e7a55ffb4672..08ce2b4c2d3c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_local_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_local_network_gateways_operations.py @@ -117,8 +117,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_03_01.models.LocalNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LocalNetworkGateway or the result of cls(response) @@ -287,8 +287,8 @@ async def begin_delete( :type local_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_nat_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_nat_gateways_operations.py index 825f1940e40f..5f8082b93701 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_nat_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_nat_gateways_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type nat_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -291,8 +291,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_03_01.models.NatGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NatGateway or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_network_interface_tap_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_network_interface_tap_configurations_operations.py index 98a726b47582..96545f5298d4 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_network_interface_tap_configurations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_network_interface_tap_configurations_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type tap_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -300,8 +300,8 @@ async def begin_create_or_update( :type tap_configuration_parameters: ~azure.mgmt.network.v2020_03_01.models.NetworkInterfaceTapConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkInterfaceTapConfiguration or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_network_interfaces_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_network_interfaces_operations.py index a380dfdf3196..99c039d35d39 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_network_interfaces_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_network_interfaces_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -288,8 +288,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_03_01.models.NetworkInterface :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkInterface or the result of cls(response) @@ -607,8 +607,8 @@ async def begin_get_effective_route_table( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either EffectiveRouteListResult or the result of cls(response) @@ -723,8 +723,8 @@ async def begin_list_effective_network_security_groups( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either EffectiveNetworkSecurityGroupListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_network_management_client_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_network_management_client_operations.py index 7216bea3cb46..35467162a102 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_network_management_client_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_network_management_client_operations.py @@ -95,8 +95,8 @@ async def begin_put_bastion_shareable_link( :type bsl_request: ~azure.mgmt.network.v2020_03_01.models.BastionShareableLinkListRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns an iterator like instance of either BastionShareableLinkListResult or the result of cls(response) @@ -278,8 +278,8 @@ async def begin_delete_bastion_shareable_link( :type bsl_request: ~azure.mgmt.network.v2020_03_01.models.BastionShareableLinkListRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -477,8 +477,8 @@ async def begin_get_active_sessions( :type bastion_host_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns an iterator like instance of either BastionActiveSessionListResult or the result of cls(response) @@ -862,8 +862,8 @@ async def begin_generatevirtualwanvpnserverconfigurationvpnprofile( :type vpn_client_params: ~azure.mgmt.network.v2020_03_01.models.VirtualWanVpnProfileParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnProfileResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_network_profiles_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_network_profiles_operations.py index 2428aa23ee8d..5ce448a122c2 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_network_profiles_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_network_profiles_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type network_profile_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_network_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_network_security_groups_operations.py index 825476814927..365f136cea79 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_network_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_network_security_groups_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type network_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -289,8 +289,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_03_01.models.NetworkSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_network_virtual_appliances_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_network_virtual_appliances_operations.py index 96f3d214e93b..8eeaafa4f12e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_network_virtual_appliances_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_network_virtual_appliances_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type network_virtual_appliance_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -354,8 +354,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_03_01.models.NetworkVirtualAppliance :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkVirtualAppliance or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_network_watchers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_network_watchers_operations.py index 65bc03eae581..016145b6d928 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_network_watchers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_network_watchers_operations.py @@ -99,7 +99,7 @@ async def create_or_update( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -162,7 +162,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('NetworkWatcher', pipeline_response) @@ -210,7 +210,7 @@ async def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -232,8 +232,8 @@ async def begin_delete( :type network_watcher_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -338,7 +338,7 @@ async def update_tags( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('NetworkWatcher', pipeline_response) @@ -409,7 +409,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -476,7 +476,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -543,7 +543,7 @@ async def get_topology( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('Topology', pipeline_response) @@ -597,7 +597,7 @@ async def _verify_ip_flow_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -629,8 +629,8 @@ async def begin_verify_ip_flow( :type parameters: ~azure.mgmt.network.v2020_03_01.models.VerificationIPFlowParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VerificationIPFlowResult or the result of cls(response) @@ -726,7 +726,7 @@ async def _get_next_hop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -758,8 +758,8 @@ async def begin_get_next_hop( :type parameters: ~azure.mgmt.network.v2020_03_01.models.NextHopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NextHopResult or the result of cls(response) @@ -855,7 +855,7 @@ async def _get_vm_security_rules_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -887,8 +887,8 @@ async def begin_get_vm_security_rules( :type parameters: ~azure.mgmt.network.v2020_03_01.models.SecurityGroupViewParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either SecurityGroupViewResult or the result of cls(response) @@ -984,7 +984,7 @@ async def _get_troubleshooting_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1016,8 +1016,8 @@ async def begin_get_troubleshooting( :type parameters: ~azure.mgmt.network.v2020_03_01.models.TroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1113,7 +1113,7 @@ async def _get_troubleshooting_result_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1145,8 +1145,8 @@ async def begin_get_troubleshooting_result( :type parameters: ~azure.mgmt.network.v2020_03_01.models.QueryTroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1242,7 +1242,7 @@ async def _set_flow_log_configuration_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1274,8 +1274,8 @@ async def begin_set_flow_log_configuration( :type parameters: ~azure.mgmt.network.v2020_03_01.models.FlowLogInformation :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1371,7 +1371,7 @@ async def _get_flow_log_status_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1404,8 +1404,8 @@ async def begin_get_flow_log_status( :type parameters: ~azure.mgmt.network.v2020_03_01.models.FlowLogStatusParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1501,7 +1501,7 @@ async def _check_connectivity_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1534,8 +1534,8 @@ async def begin_check_connectivity( :type parameters: ~azure.mgmt.network.v2020_03_01.models.ConnectivityParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectivityInformation or the result of cls(response) @@ -1631,7 +1631,7 @@ async def _get_azure_reachability_report_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1665,8 +1665,8 @@ async def begin_get_azure_reachability_report( :type parameters: ~azure.mgmt.network.v2020_03_01.models.AzureReachabilityReportParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AzureReachabilityReport or the result of cls(response) @@ -1762,7 +1762,7 @@ async def _list_available_providers_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1795,8 +1795,8 @@ async def begin_list_available_providers( :type parameters: ~azure.mgmt.network.v2020_03_01.models.AvailableProvidersListParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AvailableProvidersList or the result of cls(response) @@ -1892,7 +1892,7 @@ async def _get_network_configuration_diagnostic_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1928,8 +1928,8 @@ async def begin_get_network_configuration_diagnostic( :type parameters: ~azure.mgmt.network.v2020_03_01.models.NetworkConfigurationDiagnosticParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkConfigurationDiagnosticResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_p2_svpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_p2_svpn_gateways_operations.py index 9b63bb5c5ab0..8b0ebb0b30b5 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_p2_svpn_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_p2_svpn_gateways_operations.py @@ -176,8 +176,8 @@ async def begin_create_or_update( :type p2_s_vpn_gateway_parameters: ~azure.mgmt.network.v2020_03_01.models.P2SVpnGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -355,8 +355,8 @@ async def begin_delete( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -614,8 +614,8 @@ async def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2020_03_01.models.P2SVpnProfileParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnProfileResponse or the result of cls(response) @@ -732,8 +732,8 @@ async def begin_get_p2_s_vpn_connection_health( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -858,8 +858,8 @@ async def begin_get_p2_s_vpn_connection_health_detailed( :type request: ~azure.mgmt.network.v2020_03_01.models.P2SVpnConnectionHealthRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either P2SVpnConnectionHealth or the result of cls(response) @@ -980,8 +980,8 @@ async def begin_disconnect_p2_s_vpn_connections( :type request: ~azure.mgmt.network.v2020_03_01.models.P2SVpnConnectionRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_packet_captures_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_packet_captures_operations.py index ccb0a3d74660..bfde31a0ca33 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_packet_captures_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_packet_captures_operations.py @@ -88,7 +88,7 @@ async def _create_initial( if response.status_code not in [201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PacketCaptureResult', pipeline_response) @@ -119,8 +119,8 @@ async def begin_create( :type parameters: ~azure.mgmt.network.v2020_03_01.models.PacketCapture :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PacketCaptureResult or the result of cls(response) @@ -227,7 +227,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PacketCaptureResult', pipeline_response) @@ -277,7 +277,7 @@ async def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -302,8 +302,8 @@ async def begin_delete( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -393,7 +393,7 @@ async def _stop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -418,8 +418,8 @@ async def begin_stop( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -509,7 +509,7 @@ async def _get_status_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -541,8 +541,8 @@ async def begin_get_status( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PacketCaptureQueryStatusResult or the result of cls(response) @@ -660,7 +660,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_private_dns_zone_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_private_dns_zone_groups_operations.py index 818cac4456ba..c45b5037cc3e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_private_dns_zone_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_private_dns_zone_groups_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type private_dns_zone_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -300,8 +300,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_03_01.models.PrivateDnsZoneGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PrivateDnsZoneGroup or the result of cls(response) @@ -420,7 +420,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_private_endpoints_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_private_endpoints_operations.py index 42bb68535caf..bfe1ba6b4e58 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_private_endpoints_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_private_endpoints_operations.py @@ -80,7 +80,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -102,8 +102,8 @@ async def begin_delete( :type private_endpoint_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -205,7 +205,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateEndpoint', pipeline_response) @@ -259,7 +259,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -291,8 +291,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_03_01.models.PrivateEndpoint :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PrivateEndpoint or the result of cls(response) @@ -405,7 +405,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -472,7 +472,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_private_link_services_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_private_link_services_operations.py index f17eb0fa617f..acf1208cb12b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_private_link_services_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_private_link_services_operations.py @@ -80,7 +80,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -102,8 +102,8 @@ async def begin_delete( :type service_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -205,7 +205,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateLinkService', pipeline_response) @@ -259,7 +259,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -291,8 +291,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_03_01.models.PrivateLinkService :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PrivateLinkService or the result of cls(response) @@ -405,7 +405,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -472,7 +472,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -541,7 +541,7 @@ async def get_private_endpoint_connection( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateEndpointConnection', pipeline_response) @@ -612,7 +612,7 @@ async def update_private_endpoint_connection( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateEndpointConnection', pipeline_response) @@ -662,7 +662,7 @@ async def _delete_private_endpoint_connection_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -687,8 +687,8 @@ async def begin_delete_private_endpoint_connection( :type pe_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -803,7 +803,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -881,8 +881,8 @@ async def begin_check_private_link_service_visibility( :type parameters: ~azure.mgmt.network.v2020_03_01.models.CheckPrivateLinkServiceVisibilityRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PrivateLinkServiceVisibility or the result of cls(response) @@ -1006,8 +1006,8 @@ async def begin_check_private_link_service_visibility_by_resource_group( :type parameters: ~azure.mgmt.network.v2020_03_01.models.CheckPrivateLinkServiceVisibilityRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PrivateLinkServiceVisibility or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_public_ip_addresses_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_public_ip_addresses_operations.py index eeb5a0db0d10..c6d7f7a67375 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_public_ip_addresses_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_public_ip_addresses_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type public_ip_address_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -288,8 +288,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_03_01.models.PublicIPAddress :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PublicIPAddress or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_public_ip_prefixes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_public_ip_prefixes_operations.py index afeacfffd661..8383e82d0dbc 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_public_ip_prefixes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_public_ip_prefixes_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type public_ip_prefix_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -288,8 +288,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_03_01.models.PublicIPPrefix :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PublicIPPrefix or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_route_filter_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_route_filter_rules_operations.py index 8e29e3e8ceca..fe1f5b6bc758 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_route_filter_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_route_filter_rules_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -300,8 +300,8 @@ async def begin_create_or_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2020_03_01.models.RouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilterRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_route_filters_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_route_filters_operations.py index dcbefc5d0ed2..bbf8355dac03 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_route_filters_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_route_filters_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type route_filter_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -289,8 +289,8 @@ async def begin_create_or_update( :type route_filter_parameters: ~azure.mgmt.network.v2020_03_01.models.RouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilter or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_route_tables_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_route_tables_operations.py index 955f4d9659ee..7523370899a3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_route_tables_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_route_tables_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -288,8 +288,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_03_01.models.RouteTable :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteTable or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_routes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_routes_operations.py index 44abf6488f65..57efc7fa7a70 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_routes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_routes_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type route_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -299,8 +299,8 @@ async def begin_create_or_update( :type route_parameters: ~azure.mgmt.network.v2020_03_01.models.Route :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Route or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_security_partner_providers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_security_partner_providers_operations.py index 1e96a7ef4cc6..c1a9dd25ed2d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_security_partner_providers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_security_partner_providers_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type security_partner_provider_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -284,8 +284,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_03_01.models.SecurityPartnerProvider :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either SecurityPartnerProvider or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_security_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_security_rules_operations.py index 63ec5e63389a..3d46a8eaf930 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_security_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_security_rules_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type security_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -300,8 +300,8 @@ async def begin_create_or_update( :type security_rule_parameters: ~azure.mgmt.network.v2020_03_01.models.SecurityRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either SecurityRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_service_endpoint_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_service_endpoint_policies_operations.py index 68ecb5180e81..647c6cdbe3a6 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_service_endpoint_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_service_endpoint_policies_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type service_endpoint_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -289,8 +289,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_03_01.models.ServiceEndpointPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ServiceEndpointPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_service_endpoint_policy_definitions_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_service_endpoint_policy_definitions_operations.py index 766195c0cad7..5e6b9e54531c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_service_endpoint_policy_definitions_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_service_endpoint_policy_definitions_operations.py @@ -107,8 +107,8 @@ async def begin_delete( :type service_endpoint_policy_definition_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -304,8 +304,8 @@ async def begin_create_or_update( :type service_endpoint_policy_definitions: ~azure.mgmt.network.v2020_03_01.models.ServiceEndpointPolicyDefinition :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ServiceEndpointPolicyDefinition or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_subnets_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_subnets_operations.py index 348c80ab3528..fee45d495700 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_subnets_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_subnets_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type subnet_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -304,8 +304,8 @@ async def begin_create_or_update( :type subnet_parameters: ~azure.mgmt.network.v2020_03_01.models.Subnet :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Subnet or the result of cls(response) @@ -433,8 +433,8 @@ async def begin_prepare_network_policies( :type prepare_network_policies_request_parameters: ~azure.mgmt.network.v2020_03_01.models.PrepareNetworkPoliciesRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -559,8 +559,8 @@ async def begin_unprepare_network_policies( :type unprepare_network_policies_request_parameters: ~azure.mgmt.network.v2020_03_01.models.UnprepareNetworkPoliciesRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_virtual_hub_route_table_v2_s_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_virtual_hub_route_table_v2_s_operations.py index 32c13638072e..668b2d8f72a4 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_virtual_hub_route_table_v2_s_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_virtual_hub_route_table_v2_s_operations.py @@ -95,7 +95,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualHubRouteTableV2', pipeline_response) @@ -151,7 +151,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -188,8 +188,8 @@ async def begin_create_or_update( :type virtual_hub_route_table_v2_parameters: ~azure.mgmt.network.v2020_03_01.models.VirtualHubRouteTableV2 :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualHubRouteTableV2 or the result of cls(response) @@ -283,7 +283,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -308,8 +308,8 @@ async def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_virtual_hubs_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_virtual_hubs_operations.py index dde9e8c5b7f0..23d8fdfc9728 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_virtual_hubs_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_virtual_hubs_operations.py @@ -175,8 +175,8 @@ async def begin_create_or_update( :type virtual_hub_parameters: ~azure.mgmt.network.v2020_03_01.models.VirtualHub :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualHub or the result of cls(response) @@ -353,8 +353,8 @@ async def begin_delete( :type virtual_hub_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_virtual_network_gateway_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_virtual_network_gateway_connections_operations.py index cc628dadd03c..ee674d411985 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_virtual_network_gateway_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_virtual_network_gateway_connections_operations.py @@ -119,8 +119,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_03_01.models.VirtualNetworkGatewayConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -291,8 +291,8 @@ async def begin_delete( :type virtual_network_gateway_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -414,8 +414,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2020_03_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -545,8 +545,8 @@ async def begin_set_shared_key( :type parameters: ~azure.mgmt.network.v2020_03_01.models.ConnectionSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionSharedKey or the result of cls(response) @@ -806,8 +806,8 @@ async def begin_reset_shared_key( :type parameters: ~azure.mgmt.network.v2020_03_01.models.ConnectionResetSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionResetSharedKey or the result of cls(response) @@ -906,7 +906,7 @@ async def _start_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -938,8 +938,8 @@ async def begin_start_packet_capture( :type parameters: ~azure.mgmt.network.v2020_03_01.models.VpnPacketCaptureStartParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1035,7 +1035,7 @@ async def _stop_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -1067,8 +1067,8 @@ async def begin_stop_packet_capture( :type parameters: ~azure.mgmt.network.v2020_03_01.models.VpnPacketCaptureStopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_virtual_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_virtual_network_gateways_operations.py index f665cbbb4fb7..81131c0ee728 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_virtual_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_virtual_network_gateways_operations.py @@ -117,8 +117,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_03_01.models.VirtualNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -287,8 +287,8 @@ async def begin_delete( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -409,8 +409,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2020_03_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -677,8 +677,8 @@ async def begin_reset( :type gateway_vip: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -790,8 +790,8 @@ async def begin_reset_vpn_client_shared_key( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -914,8 +914,8 @@ async def begin_generatevpnclientpackage( :type parameters: ~azure.mgmt.network.v2020_03_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1042,8 +1042,8 @@ async def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2020_03_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1160,8 +1160,8 @@ async def begin_get_vpn_profile_package_url( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1282,8 +1282,8 @@ async def begin_get_bgp_peer_status( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either BgpPeerStatusListResult or the result of cls(response) @@ -1458,8 +1458,8 @@ async def begin_get_learned_routes( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1580,8 +1580,8 @@ async def begin_get_advertised_routes( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1708,8 +1708,8 @@ async def begin_set_vpnclient_ipsec_parameters( :type vpnclient_ipsec_params: ~azure.mgmt.network.v2020_03_01.models.VpnClientIPsecParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnClientIPsecParameters or the result of cls(response) @@ -1825,8 +1825,8 @@ async def begin_get_vpnclient_ipsec_parameters( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnClientIPsecParameters or the result of cls(response) @@ -1991,7 +1991,7 @@ async def _start_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -2022,8 +2022,8 @@ async def begin_start_packet_capture( :type parameters: ~azure.mgmt.network.v2020_03_01.models.VpnPacketCaptureStartParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -2119,7 +2119,7 @@ async def _stop_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -2150,8 +2150,8 @@ async def begin_stop_packet_capture( :type parameters: ~azure.mgmt.network.v2020_03_01.models.VpnPacketCaptureStopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -2268,8 +2268,8 @@ async def begin_get_vpnclient_connection_health( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnClientConnectionHealthDetailListResult or the result of cls(response) @@ -2388,8 +2388,8 @@ async def begin_disconnect_virtual_network_gateway_vpn_connections( :type request: ~azure.mgmt.network.v2020_03_01.models.P2SVpnConnectionRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_virtual_network_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_virtual_network_peerings_operations.py index 902792621afc..37b00f5d1dfa 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_virtual_network_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_virtual_network_peerings_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type virtual_network_peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -300,8 +300,8 @@ async def begin_create_or_update( :type virtual_network_peering_parameters: ~azure.mgmt.network.v2020_03_01.models.VirtualNetworkPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_virtual_network_taps_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_virtual_network_taps_operations.py index c38165af15d9..525a87a3feef 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_virtual_network_taps_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_virtual_network_taps_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type tap_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -283,8 +283,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_03_01.models.VirtualNetworkTap :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkTap or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_virtual_networks_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_virtual_networks_operations.py index b66cb6149a67..3dead869b325 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_virtual_networks_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_virtual_networks_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type virtual_network_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -288,8 +288,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_03_01.models.VirtualNetwork :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetwork or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_virtual_router_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_virtual_router_peerings_operations.py index 66e9a5212be0..0b9c207ed93a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_virtual_router_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_virtual_router_peerings_operations.py @@ -82,7 +82,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -107,8 +107,8 @@ async def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -211,7 +211,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualRouterPeering', pipeline_response) @@ -267,7 +267,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -303,8 +303,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_03_01.models.VirtualRouterPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualRouterPeering or the result of cls(response) @@ -423,7 +423,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_virtual_routers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_virtual_routers_operations.py index 8ec9256730e3..c0751c049ffc 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_virtual_routers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_virtual_routers_operations.py @@ -80,7 +80,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -102,8 +102,8 @@ async def begin_delete( :type virtual_router_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -205,7 +205,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualRouter', pipeline_response) @@ -259,7 +259,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -291,8 +291,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_03_01.models.VirtualRouter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualRouter or the result of cls(response) @@ -405,7 +405,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -472,7 +472,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_virtual_wans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_virtual_wans_operations.py index 69626d7ae7d8..48c023f0b101 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_virtual_wans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_virtual_wans_operations.py @@ -175,8 +175,8 @@ async def begin_create_or_update( :type wan_parameters: ~azure.mgmt.network.v2020_03_01.models.VirtualWAN :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualWAN or the result of cls(response) @@ -353,8 +353,8 @@ async def begin_delete( :type virtual_wan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_vpn_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_vpn_connections_operations.py index d5645517c7c8..b86e210e284f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_vpn_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_vpn_connections_operations.py @@ -185,8 +185,8 @@ async def begin_create_or_update( :type vpn_connection_parameters: ~azure.mgmt.network.v2020_03_01.models.VpnConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnConnection or the result of cls(response) @@ -304,8 +304,8 @@ async def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_vpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_vpn_gateways_operations.py index 9ec1c9edfced..cd035af53b55 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_vpn_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_vpn_gateways_operations.py @@ -176,8 +176,8 @@ async def begin_create_or_update( :type vpn_gateway_parameters: ~azure.mgmt.network.v2020_03_01.models.VpnGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnGateway or the result of cls(response) @@ -354,8 +354,8 @@ async def begin_delete( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -467,8 +467,8 @@ async def begin_reset( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnGateway or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py index 4e33ca615a65..bb67bd121e03 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py @@ -106,8 +106,8 @@ async def begin_list( :type virtual_wan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnServerConfigurationsResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_vpn_server_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_vpn_server_configurations_operations.py index 92be5a0b7052..a32d9d28a5c7 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_vpn_server_configurations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_vpn_server_configurations_operations.py @@ -178,8 +178,8 @@ async def begin_create_or_update( :type vpn_server_configuration_parameters: ~azure.mgmt.network.v2020_03_01.models.VpnServerConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnServerConfiguration or the result of cls(response) @@ -357,8 +357,8 @@ async def begin_delete( :type vpn_server_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_vpn_sites_configuration_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_vpn_sites_configuration_operations.py index a4138bc753fe..53e7a46fda54 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_vpn_sites_configuration_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_vpn_sites_configuration_operations.py @@ -110,8 +110,8 @@ async def begin_download( :type request: ~azure.mgmt.network.v2020_03_01.models.GetVpnSitesConfigurationRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_vpn_sites_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_vpn_sites_operations.py index 8dabbc76d9a8..ebd89129831a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_vpn_sites_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_vpn_sites_operations.py @@ -175,8 +175,8 @@ async def begin_create_or_update( :type vpn_site_parameters: ~azure.mgmt.network.v2020_03_01.models.VpnSite :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnSite or the result of cls(response) @@ -353,8 +353,8 @@ async def begin_delete( :type vpn_site_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_web_application_firewall_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_web_application_firewall_policies_operations.py index 6ae44cb6857d..4ffe4e4f352e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_web_application_firewall_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/aio/operations/_web_application_firewall_policies_operations.py @@ -365,8 +365,8 @@ async def begin_delete( :type policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/models/_models.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/models/_models.py index 0578b9c058ba..25fc9b4a5a2c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/models/_models.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/models/_models.py @@ -129,58 +129,55 @@ class ApplicationGateway(Resource): :vartype operational_state: str or ~azure.mgmt.network.v2020_03_01.models.ApplicationGatewayOperationalState :param gateway_ip_configurations: Subnets of the application gateway resource. For default - limits, see `Application Gateway limits `_. + limits, see `Application Gateway limits + `_. :type gateway_ip_configurations: list[~azure.mgmt.network.v2020_03_01.models.ApplicationGatewayIPConfiguration] :param authentication_certificates: Authentication certificates of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type authentication_certificates: list[~azure.mgmt.network.v2020_03_01.models.ApplicationGatewayAuthenticationCertificate] :param trusted_root_certificates: Trusted Root certificates of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type trusted_root_certificates: list[~azure.mgmt.network.v2020_03_01.models.ApplicationGatewayTrustedRootCertificate] :param ssl_certificates: SSL certificates of the application gateway resource. For default - limits, see `Application Gateway limits `_. + limits, see `Application Gateway limits + `_. :type ssl_certificates: list[~azure.mgmt.network.v2020_03_01.models.ApplicationGatewaySslCertificate] :param frontend_ip_configurations: Frontend IP addresses of the application gateway resource. - For default limits, see `Application Gateway limits `_. + For default limits, see `Application Gateway limits + `_. :type frontend_ip_configurations: list[~azure.mgmt.network.v2020_03_01.models.ApplicationGatewayFrontendIPConfiguration] :param frontend_ports: Frontend ports of the application gateway resource. For default limits, - see `Application Gateway limits `_. + see `Application Gateway limits + `_. :type frontend_ports: list[~azure.mgmt.network.v2020_03_01.models.ApplicationGatewayFrontendPort] :param probes: Probes of the application gateway resource. :type probes: list[~azure.mgmt.network.v2020_03_01.models.ApplicationGatewayProbe] :param backend_address_pools: Backend address pool of the application gateway resource. For - default limits, see `Application Gateway limits `_. + default limits, see `Application Gateway limits + `_. :type backend_address_pools: list[~azure.mgmt.network.v2020_03_01.models.ApplicationGatewayBackendAddressPool] :param backend_http_settings_collection: Backend http settings of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type backend_http_settings_collection: list[~azure.mgmt.network.v2020_03_01.models.ApplicationGatewayBackendHttpSettings] :param http_listeners: Http listeners of the application gateway resource. For default limits, - see `Application Gateway limits `_. + see `Application Gateway limits + `_. :type http_listeners: list[~azure.mgmt.network.v2020_03_01.models.ApplicationGatewayHttpListener] :param url_path_maps: URL path map of the application gateway resource. For default limits, see - `Application Gateway limits `_. + `Application Gateway limits + `_. :type url_path_maps: list[~azure.mgmt.network.v2020_03_01.models.ApplicationGatewayUrlPathMap] :param request_routing_rules: Request routing rules of the application gateway resource. :type request_routing_rules: @@ -189,8 +186,8 @@ class ApplicationGateway(Resource): :type rewrite_rule_sets: list[~azure.mgmt.network.v2020_03_01.models.ApplicationGatewayRewriteRuleSet] :param redirect_configurations: Redirect configurations of the application gateway resource. - For default limits, see `Application Gateway limits `_. + For default limits, see `Application Gateway limits + `_. :type redirect_configurations: list[~azure.mgmt.network.v2020_03_01.models.ApplicationGatewayRedirectConfiguration] :param web_application_firewall_configuration: Web application firewall configuration. @@ -1791,7 +1788,7 @@ class ApplicationGatewayRewriteRuleCondition(msrest.serialization.Model): :param pattern: The pattern, either fixed string or regular expression, that evaluates the truthfulness of the condition. :type pattern: str - :param ignore_case: Setting this paramter to truth value with force the pattern to do a case + :param ignore_case: Setting this parameter to truth value with force the pattern to do a case in-sensitive comparison. :type ignore_case: bool :param negate: Setting this value as truth will force to check the negation of the condition @@ -3831,7 +3828,7 @@ class BastionActiveSession(msrest.serialization.Model): :ivar session_id: A unique id for the session. :vartype session_id: str :ivar start_time: The time when the session started. - :vartype start_time: object + :vartype start_time: str :ivar target_subscription_id: The subscription id for the target virtual machine. :vartype target_subscription_id: str :ivar resource_type: The type of the resource. @@ -3869,7 +3866,7 @@ class BastionActiveSession(msrest.serialization.Model): _attribute_map = { 'session_id': {'key': 'sessionId', 'type': 'str'}, - 'start_time': {'key': 'startTime', 'type': 'object'}, + 'start_time': {'key': 'startTime', 'type': 'str'}, 'target_subscription_id': {'key': 'targetSubscriptionId', 'type': 'str'}, 'resource_type': {'key': 'resourceType', 'type': 'str'}, 'target_host_name': {'key': 'targetHostName', 'type': 'str'}, @@ -4126,7 +4123,7 @@ class BastionShareableLink(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param vm: Required. Reference of the virtual machine resource. - :type vm: ~azure.mgmt.network.v2020_03_01.models.Resource + :type vm: ~azure.mgmt.network.v2020_03_01.models.VM :ivar bsl: The unique Bastion Shareable Link to the virtual machine. :vartype bsl: str :ivar created_at: The time when the link was created. @@ -4144,7 +4141,7 @@ class BastionShareableLink(msrest.serialization.Model): } _attribute_map = { - 'vm': {'key': 'vm', 'type': 'Resource'}, + 'vm': {'key': 'vm', 'type': 'VM'}, 'bsl': {'key': 'bsl', 'type': 'str'}, 'created_at': {'key': 'createdAt', 'type': 'str'}, 'message': {'key': 'message', 'type': 'str'}, @@ -5648,7 +5645,7 @@ class ContainerNetworkInterface(SubResource): ~azure.mgmt.network.v2020_03_01.models.ContainerNetworkInterfaceConfiguration :param container: Reference to the container to which this container network interface is attached. - :type container: ~azure.mgmt.network.v2020_03_01.models.SubResource + :type container: ~azure.mgmt.network.v2020_03_01.models.Container :ivar ip_configurations: Reference to the ip configuration on this container nic. :vartype ip_configurations: list[~azure.mgmt.network.v2020_03_01.models.ContainerNetworkInterfaceIpConfiguration] @@ -5671,7 +5668,7 @@ class ContainerNetworkInterface(SubResource): 'type': {'key': 'type', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, 'container_network_interface_configuration': {'key': 'properties.containerNetworkInterfaceConfiguration', 'type': 'ContainerNetworkInterfaceConfiguration'}, - 'container': {'key': 'properties.container', 'type': 'SubResource'}, + 'container': {'key': 'properties.container', 'type': 'Container'}, 'ip_configurations': {'key': 'properties.ipConfigurations', 'type': '[ContainerNetworkInterfaceIpConfiguration]'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, } @@ -13239,8 +13236,8 @@ class PacketCaptureStorageLocation(msrest.serialization.Model): :param storage_id: The ID of the storage account to save the packet capture session. Required if no local file path is provided. :type storage_id: str - :param storage_path: The URI of the storage path to save the packet capture. Must be a well- - formed URI describing the location to save the packet capture. + :param storage_path: The URI of the storage path to save the packet capture. Must be a + well-formed URI describing the location to save the packet capture. :type storage_path: str :param file_path: A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no @@ -13880,9 +13877,10 @@ class PrivateLinkService(Resource): :vartype private_endpoint_connections: list[~azure.mgmt.network.v2020_03_01.models.PrivateEndpointConnection] :param visibility: The visibility list of the private link service. - :type visibility: ~azure.mgmt.network.v2020_03_01.models.ResourceSet + :type visibility: ~azure.mgmt.network.v2020_03_01.models.PrivateLinkServicePropertiesVisibility :param auto_approval: The auto-approval list of the private link service. - :type auto_approval: ~azure.mgmt.network.v2020_03_01.models.ResourceSet + :type auto_approval: + ~azure.mgmt.network.v2020_03_01.models.PrivateLinkServicePropertiesAutoApproval :param fqdns: The list of Fqdn. :type fqdns: list[str] :ivar alias: The alias of the private link service. @@ -13914,8 +13912,8 @@ class PrivateLinkService(Resource): 'network_interfaces': {'key': 'properties.networkInterfaces', 'type': '[NetworkInterface]'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'private_endpoint_connections': {'key': 'properties.privateEndpointConnections', 'type': '[PrivateEndpointConnection]'}, - 'visibility': {'key': 'properties.visibility', 'type': 'ResourceSet'}, - 'auto_approval': {'key': 'properties.autoApproval', 'type': 'ResourceSet'}, + 'visibility': {'key': 'properties.visibility', 'type': 'PrivateLinkServicePropertiesVisibility'}, + 'auto_approval': {'key': 'properties.autoApproval', 'type': 'PrivateLinkServicePropertiesAutoApproval'}, 'fqdns': {'key': 'properties.fqdns', 'type': '[str]'}, 'alias': {'key': 'properties.alias', 'type': 'str'}, 'enable_proxy_protocol': {'key': 'properties.enableProxyProtocol', 'type': 'bool'}, @@ -17899,8 +17897,8 @@ class VirtualNetworkPeering(SubResource): :type use_remote_gateways: bool :param remote_virtual_network: The reference to the remote virtual network. The remote virtual network can be in the same or different region (preview). See here to register for the preview - and learn more (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create- - peering). + and learn more + (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering). :type remote_virtual_network: ~azure.mgmt.network.v2020_03_01.models.SubResource :param remote_address_space: The reference to the remote virtual network address space. :type remote_address_space: ~azure.mgmt.network.v2020_03_01.models.AddressSpace diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/models/_models_py3.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/models/_models_py3.py index e28cd88bf6c3..ac856bcc137e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/models/_models_py3.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/models/_models_py3.py @@ -144,58 +144,55 @@ class ApplicationGateway(Resource): :vartype operational_state: str or ~azure.mgmt.network.v2020_03_01.models.ApplicationGatewayOperationalState :param gateway_ip_configurations: Subnets of the application gateway resource. For default - limits, see `Application Gateway limits `_. + limits, see `Application Gateway limits + `_. :type gateway_ip_configurations: list[~azure.mgmt.network.v2020_03_01.models.ApplicationGatewayIPConfiguration] :param authentication_certificates: Authentication certificates of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type authentication_certificates: list[~azure.mgmt.network.v2020_03_01.models.ApplicationGatewayAuthenticationCertificate] :param trusted_root_certificates: Trusted Root certificates of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type trusted_root_certificates: list[~azure.mgmt.network.v2020_03_01.models.ApplicationGatewayTrustedRootCertificate] :param ssl_certificates: SSL certificates of the application gateway resource. For default - limits, see `Application Gateway limits `_. + limits, see `Application Gateway limits + `_. :type ssl_certificates: list[~azure.mgmt.network.v2020_03_01.models.ApplicationGatewaySslCertificate] :param frontend_ip_configurations: Frontend IP addresses of the application gateway resource. - For default limits, see `Application Gateway limits `_. + For default limits, see `Application Gateway limits + `_. :type frontend_ip_configurations: list[~azure.mgmt.network.v2020_03_01.models.ApplicationGatewayFrontendIPConfiguration] :param frontend_ports: Frontend ports of the application gateway resource. For default limits, - see `Application Gateway limits `_. + see `Application Gateway limits + `_. :type frontend_ports: list[~azure.mgmt.network.v2020_03_01.models.ApplicationGatewayFrontendPort] :param probes: Probes of the application gateway resource. :type probes: list[~azure.mgmt.network.v2020_03_01.models.ApplicationGatewayProbe] :param backend_address_pools: Backend address pool of the application gateway resource. For - default limits, see `Application Gateway limits `_. + default limits, see `Application Gateway limits + `_. :type backend_address_pools: list[~azure.mgmt.network.v2020_03_01.models.ApplicationGatewayBackendAddressPool] :param backend_http_settings_collection: Backend http settings of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type backend_http_settings_collection: list[~azure.mgmt.network.v2020_03_01.models.ApplicationGatewayBackendHttpSettings] :param http_listeners: Http listeners of the application gateway resource. For default limits, - see `Application Gateway limits `_. + see `Application Gateway limits + `_. :type http_listeners: list[~azure.mgmt.network.v2020_03_01.models.ApplicationGatewayHttpListener] :param url_path_maps: URL path map of the application gateway resource. For default limits, see - `Application Gateway limits `_. + `Application Gateway limits + `_. :type url_path_maps: list[~azure.mgmt.network.v2020_03_01.models.ApplicationGatewayUrlPathMap] :param request_routing_rules: Request routing rules of the application gateway resource. :type request_routing_rules: @@ -204,8 +201,8 @@ class ApplicationGateway(Resource): :type rewrite_rule_sets: list[~azure.mgmt.network.v2020_03_01.models.ApplicationGatewayRewriteRuleSet] :param redirect_configurations: Redirect configurations of the application gateway resource. - For default limits, see `Application Gateway limits `_. + For default limits, see `Application Gateway limits + `_. :type redirect_configurations: list[~azure.mgmt.network.v2020_03_01.models.ApplicationGatewayRedirectConfiguration] :param web_application_firewall_configuration: Web application firewall configuration. @@ -2021,7 +2018,7 @@ class ApplicationGatewayRewriteRuleCondition(msrest.serialization.Model): :param pattern: The pattern, either fixed string or regular expression, that evaluates the truthfulness of the condition. :type pattern: str - :param ignore_case: Setting this paramter to truth value with force the pattern to do a case + :param ignore_case: Setting this parameter to truth value with force the pattern to do a case in-sensitive comparison. :type ignore_case: bool :param negate: Setting this value as truth will force to check the negation of the condition @@ -4304,7 +4301,7 @@ class BastionActiveSession(msrest.serialization.Model): :ivar session_id: A unique id for the session. :vartype session_id: str :ivar start_time: The time when the session started. - :vartype start_time: object + :vartype start_time: str :ivar target_subscription_id: The subscription id for the target virtual machine. :vartype target_subscription_id: str :ivar resource_type: The type of the resource. @@ -4342,7 +4339,7 @@ class BastionActiveSession(msrest.serialization.Model): _attribute_map = { 'session_id': {'key': 'sessionId', 'type': 'str'}, - 'start_time': {'key': 'startTime', 'type': 'object'}, + 'start_time': {'key': 'startTime', 'type': 'str'}, 'target_subscription_id': {'key': 'targetSubscriptionId', 'type': 'str'}, 'resource_type': {'key': 'resourceType', 'type': 'str'}, 'target_host_name': {'key': 'targetHostName', 'type': 'str'}, @@ -4620,7 +4617,7 @@ class BastionShareableLink(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param vm: Required. Reference of the virtual machine resource. - :type vm: ~azure.mgmt.network.v2020_03_01.models.Resource + :type vm: ~azure.mgmt.network.v2020_03_01.models.VM :ivar bsl: The unique Bastion Shareable Link to the virtual machine. :vartype bsl: str :ivar created_at: The time when the link was created. @@ -4638,7 +4635,7 @@ class BastionShareableLink(msrest.serialization.Model): } _attribute_map = { - 'vm': {'key': 'vm', 'type': 'Resource'}, + 'vm': {'key': 'vm', 'type': 'VM'}, 'bsl': {'key': 'bsl', 'type': 'str'}, 'created_at': {'key': 'createdAt', 'type': 'str'}, 'message': {'key': 'message', 'type': 'str'}, @@ -4647,7 +4644,7 @@ class BastionShareableLink(msrest.serialization.Model): def __init__( self, *, - vm: "Resource", + vm: "VM", **kwargs ): super(BastionShareableLink, self).__init__(**kwargs) @@ -6311,7 +6308,7 @@ class ContainerNetworkInterface(SubResource): ~azure.mgmt.network.v2020_03_01.models.ContainerNetworkInterfaceConfiguration :param container: Reference to the container to which this container network interface is attached. - :type container: ~azure.mgmt.network.v2020_03_01.models.SubResource + :type container: ~azure.mgmt.network.v2020_03_01.models.Container :ivar ip_configurations: Reference to the ip configuration on this container nic. :vartype ip_configurations: list[~azure.mgmt.network.v2020_03_01.models.ContainerNetworkInterfaceIpConfiguration] @@ -6334,7 +6331,7 @@ class ContainerNetworkInterface(SubResource): 'type': {'key': 'type', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, 'container_network_interface_configuration': {'key': 'properties.containerNetworkInterfaceConfiguration', 'type': 'ContainerNetworkInterfaceConfiguration'}, - 'container': {'key': 'properties.container', 'type': 'SubResource'}, + 'container': {'key': 'properties.container', 'type': 'Container'}, 'ip_configurations': {'key': 'properties.ipConfigurations', 'type': '[ContainerNetworkInterfaceIpConfiguration]'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, } @@ -6344,7 +6341,7 @@ def __init__( *, id: Optional[str] = None, name: Optional[str] = None, - container: Optional["SubResource"] = None, + container: Optional["Container"] = None, **kwargs ): super(ContainerNetworkInterface, self).__init__(id=id, **kwargs) @@ -14754,8 +14751,8 @@ class PacketCaptureStorageLocation(msrest.serialization.Model): :param storage_id: The ID of the storage account to save the packet capture session. Required if no local file path is provided. :type storage_id: str - :param storage_path: The URI of the storage path to save the packet capture. Must be a well- - formed URI describing the location to save the packet capture. + :param storage_path: The URI of the storage path to save the packet capture. Must be a + well-formed URI describing the location to save the packet capture. :type storage_path: str :param file_path: A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no @@ -15453,9 +15450,10 @@ class PrivateLinkService(Resource): :vartype private_endpoint_connections: list[~azure.mgmt.network.v2020_03_01.models.PrivateEndpointConnection] :param visibility: The visibility list of the private link service. - :type visibility: ~azure.mgmt.network.v2020_03_01.models.ResourceSet + :type visibility: ~azure.mgmt.network.v2020_03_01.models.PrivateLinkServicePropertiesVisibility :param auto_approval: The auto-approval list of the private link service. - :type auto_approval: ~azure.mgmt.network.v2020_03_01.models.ResourceSet + :type auto_approval: + ~azure.mgmt.network.v2020_03_01.models.PrivateLinkServicePropertiesAutoApproval :param fqdns: The list of Fqdn. :type fqdns: list[str] :ivar alias: The alias of the private link service. @@ -15487,8 +15485,8 @@ class PrivateLinkService(Resource): 'network_interfaces': {'key': 'properties.networkInterfaces', 'type': '[NetworkInterface]'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'private_endpoint_connections': {'key': 'properties.privateEndpointConnections', 'type': '[PrivateEndpointConnection]'}, - 'visibility': {'key': 'properties.visibility', 'type': 'ResourceSet'}, - 'auto_approval': {'key': 'properties.autoApproval', 'type': 'ResourceSet'}, + 'visibility': {'key': 'properties.visibility', 'type': 'PrivateLinkServicePropertiesVisibility'}, + 'auto_approval': {'key': 'properties.autoApproval', 'type': 'PrivateLinkServicePropertiesAutoApproval'}, 'fqdns': {'key': 'properties.fqdns', 'type': '[str]'}, 'alias': {'key': 'properties.alias', 'type': 'str'}, 'enable_proxy_protocol': {'key': 'properties.enableProxyProtocol', 'type': 'bool'}, @@ -15502,8 +15500,8 @@ def __init__( tags: Optional[Dict[str, str]] = None, load_balancer_frontend_ip_configurations: Optional[List["FrontendIPConfiguration"]] = None, ip_configurations: Optional[List["PrivateLinkServiceIpConfiguration"]] = None, - visibility: Optional["ResourceSet"] = None, - auto_approval: Optional["ResourceSet"] = None, + visibility: Optional["PrivateLinkServicePropertiesVisibility"] = None, + auto_approval: Optional["PrivateLinkServicePropertiesAutoApproval"] = None, fqdns: Optional[List[str]] = None, enable_proxy_protocol: Optional[bool] = None, **kwargs @@ -19916,8 +19914,8 @@ class VirtualNetworkPeering(SubResource): :type use_remote_gateways: bool :param remote_virtual_network: The reference to the remote virtual network. The remote virtual network can be in the same or different region (preview). See here to register for the preview - and learn more (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create- - peering). + and learn more + (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering). :type remote_virtual_network: ~azure.mgmt.network.v2020_03_01.models.SubResource :param remote_address_space: The reference to the remote virtual network address space. :type remote_address_space: ~azure.mgmt.network.v2020_03_01.models.AddressSpace diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_application_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_application_gateways_operations.py index 34c9a6c7a3b6..4f54f33f6916 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_application_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_application_gateways_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -292,8 +292,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_03_01.models.ApplicationGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGateway or the result of cls(response) @@ -611,8 +611,8 @@ def begin_start( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -721,8 +721,8 @@ def begin_stop( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -842,8 +842,8 @@ def begin_backend_health( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGatewayBackendHealth or the result of cls(response) @@ -977,8 +977,8 @@ def begin_backend_health_on_demand( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGatewayBackendHealthOnDemand or the result of cls(response) @@ -1073,7 +1073,7 @@ def list_available_server_variables( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) @@ -1125,7 +1125,7 @@ def list_available_request_headers( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) @@ -1177,7 +1177,7 @@ def list_available_response_headers( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_application_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_application_security_groups_operations.py index 5ff7a0fb73a6..f3e71bf1dc75 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_application_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_application_security_groups_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type application_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -293,8 +293,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_03_01.models.ApplicationSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_azure_firewalls_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_azure_firewalls_operations.py index d8f7040fa178..9785ef9e88af 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_azure_firewalls_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_azure_firewalls_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type azure_firewall_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -292,8 +292,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_03_01.models.AzureFirewall :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AzureFirewall or the result of cls(response) @@ -420,8 +420,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2020_03_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AzureFirewall or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_bastion_hosts_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_bastion_hosts_operations.py index a57a9da99d6f..a65771e10cde 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_bastion_hosts_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_bastion_hosts_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type bastion_host_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -292,8 +292,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_03_01.models.BastionHost :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either BastionHost or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_connection_monitors_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_connection_monitors_operations.py index 46689ddf4595..c70445f560d2 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_connection_monitors_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_connection_monitors_operations.py @@ -93,7 +93,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -129,8 +129,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_03_01.models.ConnectionMonitor :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionMonitorResult or the result of cls(response) @@ -238,7 +238,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('ConnectionMonitorResult', pipeline_response) @@ -289,7 +289,7 @@ def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -315,8 +315,8 @@ def begin_delete( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -428,7 +428,7 @@ def update_tags( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('ConnectionMonitorResult', pipeline_response) @@ -479,7 +479,7 @@ def _stop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -505,8 +505,8 @@ def begin_stop( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -597,7 +597,7 @@ def _start_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -623,8 +623,8 @@ def begin_start( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -715,7 +715,7 @@ def _query_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -748,8 +748,8 @@ def begin_query( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionMonitorQueryResult or the result of cls(response) @@ -868,7 +868,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_ddos_custom_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_ddos_custom_policies_operations.py index b208afa9aca7..648e10367a1e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_ddos_custom_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_ddos_custom_policies_operations.py @@ -106,8 +106,8 @@ def begin_delete( :type ddos_custom_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -291,8 +291,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_03_01.models.DdosCustomPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either DdosCustomPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_ddos_protection_plans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_ddos_protection_plans_operations.py index 3a7e2bdd043d..fd48374a4550 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_ddos_protection_plans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_ddos_protection_plans_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type ddos_protection_plan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -292,8 +292,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_03_01.models.DdosProtectionPlan :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either DdosProtectionPlan or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_express_route_circuit_authorizations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_express_route_circuit_authorizations_operations.py index 5d700de71bf7..15876b73e5d0 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_express_route_circuit_authorizations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_express_route_circuit_authorizations_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type authorization_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -309,8 +309,8 @@ def begin_create_or_update( :type authorization_parameters: ~azure.mgmt.network.v2020_03_01.models.ExpressRouteCircuitAuthorization :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitAuthorization or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_express_route_circuit_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_express_route_circuit_connections_operations.py index a2f584b3779d..86954786a06b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_express_route_circuit_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_express_route_circuit_connections_operations.py @@ -118,8 +118,8 @@ def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -326,8 +326,8 @@ def begin_create_or_update( :type express_route_circuit_connection_parameters: ~azure.mgmt.network.v2020_03_01.models.ExpressRouteCircuitConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitConnection or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_express_route_circuit_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_express_route_circuit_peerings_operations.py index 652d12146835..d58b8a14a298 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_express_route_circuit_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_express_route_circuit_peerings_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -309,8 +309,8 @@ def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2020_03_01.models.ExpressRouteCircuitPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_express_route_circuits_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_express_route_circuits_operations.py index a52600618acd..a6602c8bf052 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_express_route_circuits_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_express_route_circuits_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type circuit_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -292,8 +292,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_03_01.models.ExpressRouteCircuit :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -489,8 +489,8 @@ def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -622,8 +622,8 @@ def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) @@ -755,8 +755,8 @@ def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableSummaryListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_express_route_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_express_route_connections_operations.py index 729fca09912c..e1d6ead0a3e7 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_express_route_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_express_route_connections_operations.py @@ -128,8 +128,8 @@ def begin_create_or_update( :type put_express_route_connection_parameters: ~azure.mgmt.network.v2020_03_01.models.ExpressRouteConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteConnection or the result of cls(response) @@ -312,8 +312,8 @@ def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_express_route_cross_connection_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_express_route_cross_connection_peerings_operations.py index b53e7e36611c..be80e186ec3b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_express_route_cross_connection_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_express_route_cross_connection_peerings_operations.py @@ -187,8 +187,8 @@ def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -384,8 +384,8 @@ def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2020_03_01.models.ExpressRouteCrossConnectionPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCrossConnectionPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_express_route_cross_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_express_route_cross_connections_operations.py index fdfa05dec6b1..b862a2ffc248 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_express_route_cross_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_express_route_cross_connections_operations.py @@ -317,8 +317,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_03_01.models.ExpressRouteCrossConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCrossConnection or the result of cls(response) @@ -515,8 +515,8 @@ def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -648,8 +648,8 @@ def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCrossConnectionsRoutesTableSummaryListResult or the result of cls(response) @@ -781,8 +781,8 @@ def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_express_route_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_express_route_gateways_operations.py index 47fde31aedd2..ab3b194b4e61 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_express_route_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_express_route_gateways_operations.py @@ -229,8 +229,8 @@ def begin_create_or_update( :type put_express_route_gateway_parameters: ~azure.mgmt.network.v2020_03_01.models.ExpressRouteGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteGateway or the result of cls(response) @@ -403,8 +403,8 @@ def begin_delete( :type express_route_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_express_route_ports_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_express_route_ports_operations.py index 069b4e91750c..21518da6b786 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_express_route_ports_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_express_route_ports_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type express_route_port_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -292,8 +292,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_03_01.models.ExpressRoutePort :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRoutePort or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_firewall_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_firewall_policies_operations.py index f902eef1d37b..ea6c055bffa8 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_firewall_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_firewall_policies_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type firewall_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_03_01.models.FirewallPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FirewallPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_firewall_policy_rule_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_firewall_policy_rule_groups_operations.py index 3a9bea45dc90..60b506237ce9 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_firewall_policy_rule_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_firewall_policy_rule_groups_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type rule_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -309,8 +309,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_03_01.models.FirewallPolicyRuleGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FirewallPolicyRuleGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_flow_logs_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_flow_logs_operations.py index f7e4fa02fbe1..e15dbc115eb8 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_flow_logs_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_flow_logs_operations.py @@ -93,7 +93,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -129,8 +129,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_03_01.models.FlowLog :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FlowLog or the result of cls(response) @@ -238,7 +238,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('FlowLog', pipeline_response) @@ -289,7 +289,7 @@ def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -315,8 +315,8 @@ def begin_delete( :type flow_log_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -432,7 +432,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_inbound_nat_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_inbound_nat_rules_operations.py index 7d50c15881f2..86fa39539e36 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_inbound_nat_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_inbound_nat_rules_operations.py @@ -187,8 +187,8 @@ def begin_delete( :type inbound_nat_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -389,8 +389,8 @@ def begin_create_or_update( :type inbound_nat_rule_parameters: ~azure.mgmt.network.v2020_03_01.models.InboundNatRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either InboundNatRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_ip_allocations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_ip_allocations_operations.py index 1b721799c746..413c2b4e8261 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_ip_allocations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_ip_allocations_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type ip_allocation_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_03_01.models.IpAllocation :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either IpAllocation or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_ip_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_ip_groups_operations.py index dd0018ced75e..b3c41d9a73aa 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_ip_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_ip_groups_operations.py @@ -102,7 +102,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('IpGroup', pipeline_response) @@ -157,7 +157,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -190,8 +190,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_03_01.models.IpGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either IpGroup or the result of cls(response) @@ -301,7 +301,7 @@ def update_groups( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('IpGroup', pipeline_response) @@ -350,7 +350,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -373,8 +373,8 @@ def begin_delete( :type ip_groups_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -484,7 +484,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -552,7 +552,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_load_balancers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_load_balancers_operations.py index b01b4bf81cfe..2b343424615a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_load_balancers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_load_balancers_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type load_balancer_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_03_01.models.LoadBalancer :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LoadBalancer or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_local_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_local_network_gateways_operations.py index 14c08613376f..7fd84182f2a2 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_local_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_local_network_gateways_operations.py @@ -123,8 +123,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_03_01.models.LocalNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LocalNetworkGateway or the result of cls(response) @@ -296,8 +296,8 @@ def begin_delete( :type local_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_nat_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_nat_gateways_operations.py index 3ac6774f97ab..b48f8bf5f905 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_nat_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_nat_gateways_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type nat_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -300,8 +300,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_03_01.models.NatGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NatGateway or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_network_interface_tap_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_network_interface_tap_configurations_operations.py index 0ae65a2faa1f..779d8acd50b1 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_network_interface_tap_configurations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_network_interface_tap_configurations_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type tap_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -309,8 +309,8 @@ def begin_create_or_update( :type tap_configuration_parameters: ~azure.mgmt.network.v2020_03_01.models.NetworkInterfaceTapConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkInterfaceTapConfiguration or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_network_interfaces_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_network_interfaces_operations.py index de153ba47a7e..667dc0e5a71d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_network_interfaces_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_network_interfaces_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_03_01.models.NetworkInterface :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkInterface or the result of cls(response) @@ -621,8 +621,8 @@ def begin_get_effective_route_table( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either EffectiveRouteListResult or the result of cls(response) @@ -739,8 +739,8 @@ def begin_list_effective_network_security_groups( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either EffectiveNetworkSecurityGroupListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_network_management_client_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_network_management_client_operations.py index 314966fe0fc9..f8fcfd8b8959 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_network_management_client_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_network_management_client_operations.py @@ -101,8 +101,8 @@ def begin_put_bastion_shareable_link( :type bsl_request: ~azure.mgmt.network.v2020_03_01.models.BastionShareableLinkListRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns an iterator like instance of either BastionShareableLinkListResult or the result of cls(response) @@ -286,8 +286,8 @@ def begin_delete_bastion_shareable_link( :type bsl_request: ~azure.mgmt.network.v2020_03_01.models.BastionShareableLinkListRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -488,8 +488,8 @@ def begin_get_active_sessions( :type bastion_host_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns an iterator like instance of either BastionActiveSessionListResult or the result of cls(response) @@ -878,8 +878,8 @@ def begin_generatevirtualwanvpnserverconfigurationvpnprofile( :type vpn_client_params: ~azure.mgmt.network.v2020_03_01.models.VirtualWanVpnProfileParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnProfileResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_network_profiles_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_network_profiles_operations.py index 638c753e0ee5..013fda284395 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_network_profiles_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_network_profiles_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type network_profile_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_network_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_network_security_groups_operations.py index 98a737ee68c1..ae6865ad7938 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_network_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_network_security_groups_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type network_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_03_01.models.NetworkSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_network_virtual_appliances_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_network_virtual_appliances_operations.py index f4b1e76a3f51..efd1ebd27af3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_network_virtual_appliances_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_network_virtual_appliances_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type network_virtual_appliance_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -364,8 +364,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_03_01.models.NetworkVirtualAppliance :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkVirtualAppliance or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_network_watchers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_network_watchers_operations.py index 2030436e23e6..7f63cb0b5c89 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_network_watchers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_network_watchers_operations.py @@ -104,7 +104,7 @@ def create_or_update( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -168,7 +168,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('NetworkWatcher', pipeline_response) @@ -217,7 +217,7 @@ def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -240,8 +240,8 @@ def begin_delete( :type network_watcher_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -347,7 +347,7 @@ def update_tags( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('NetworkWatcher', pipeline_response) @@ -419,7 +419,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -487,7 +487,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -555,7 +555,7 @@ def get_topology( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('Topology', pipeline_response) @@ -610,7 +610,7 @@ def _verify_ip_flow_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -643,8 +643,8 @@ def begin_verify_ip_flow( :type parameters: ~azure.mgmt.network.v2020_03_01.models.VerificationIPFlowParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VerificationIPFlowResult or the result of cls(response) @@ -741,7 +741,7 @@ def _get_next_hop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -774,8 +774,8 @@ def begin_get_next_hop( :type parameters: ~azure.mgmt.network.v2020_03_01.models.NextHopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NextHopResult or the result of cls(response) @@ -872,7 +872,7 @@ def _get_vm_security_rules_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -905,8 +905,8 @@ def begin_get_vm_security_rules( :type parameters: ~azure.mgmt.network.v2020_03_01.models.SecurityGroupViewParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either SecurityGroupViewResult or the result of cls(response) @@ -1003,7 +1003,7 @@ def _get_troubleshooting_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1036,8 +1036,8 @@ def begin_get_troubleshooting( :type parameters: ~azure.mgmt.network.v2020_03_01.models.TroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1134,7 +1134,7 @@ def _get_troubleshooting_result_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1167,8 +1167,8 @@ def begin_get_troubleshooting_result( :type parameters: ~azure.mgmt.network.v2020_03_01.models.QueryTroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1265,7 +1265,7 @@ def _set_flow_log_configuration_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1298,8 +1298,8 @@ def begin_set_flow_log_configuration( :type parameters: ~azure.mgmt.network.v2020_03_01.models.FlowLogInformation :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1396,7 +1396,7 @@ def _get_flow_log_status_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1430,8 +1430,8 @@ def begin_get_flow_log_status( :type parameters: ~azure.mgmt.network.v2020_03_01.models.FlowLogStatusParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1528,7 +1528,7 @@ def _check_connectivity_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1562,8 +1562,8 @@ def begin_check_connectivity( :type parameters: ~azure.mgmt.network.v2020_03_01.models.ConnectivityParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectivityInformation or the result of cls(response) @@ -1660,7 +1660,7 @@ def _get_azure_reachability_report_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1695,8 +1695,8 @@ def begin_get_azure_reachability_report( :type parameters: ~azure.mgmt.network.v2020_03_01.models.AzureReachabilityReportParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AzureReachabilityReport or the result of cls(response) @@ -1793,7 +1793,7 @@ def _list_available_providers_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1827,8 +1827,8 @@ def begin_list_available_providers( :type parameters: ~azure.mgmt.network.v2020_03_01.models.AvailableProvidersListParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AvailableProvidersList or the result of cls(response) @@ -1925,7 +1925,7 @@ def _get_network_configuration_diagnostic_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1962,8 +1962,8 @@ def begin_get_network_configuration_diagnostic( :type parameters: ~azure.mgmt.network.v2020_03_01.models.NetworkConfigurationDiagnosticParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkConfigurationDiagnosticResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_p2_svpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_p2_svpn_gateways_operations.py index 70e80fbc529f..9200b8ef5f06 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_p2_svpn_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_p2_svpn_gateways_operations.py @@ -183,8 +183,8 @@ def begin_create_or_update( :type p2_s_vpn_gateway_parameters: ~azure.mgmt.network.v2020_03_01.models.P2SVpnGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -365,8 +365,8 @@ def begin_delete( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -628,8 +628,8 @@ def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2020_03_01.models.P2SVpnProfileParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnProfileResponse or the result of cls(response) @@ -748,8 +748,8 @@ def begin_get_p2_s_vpn_connection_health( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -876,8 +876,8 @@ def begin_get_p2_s_vpn_connection_health_detailed( :type request: ~azure.mgmt.network.v2020_03_01.models.P2SVpnConnectionHealthRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either P2SVpnConnectionHealth or the result of cls(response) @@ -1000,8 +1000,8 @@ def begin_disconnect_p2_s_vpn_connections( :type request: ~azure.mgmt.network.v2020_03_01.models.P2SVpnConnectionRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_packet_captures_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_packet_captures_operations.py index f77faae73b46..25f53eb95ecb 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_packet_captures_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_packet_captures_operations.py @@ -93,7 +93,7 @@ def _create_initial( if response.status_code not in [201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PacketCaptureResult', pipeline_response) @@ -125,8 +125,8 @@ def begin_create( :type parameters: ~azure.mgmt.network.v2020_03_01.models.PacketCapture :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PacketCaptureResult or the result of cls(response) @@ -234,7 +234,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PacketCaptureResult', pipeline_response) @@ -285,7 +285,7 @@ def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -311,8 +311,8 @@ def begin_delete( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -403,7 +403,7 @@ def _stop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -429,8 +429,8 @@ def begin_stop( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -521,7 +521,7 @@ def _get_status_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -554,8 +554,8 @@ def begin_get_status( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PacketCaptureQueryStatusResult or the result of cls(response) @@ -674,7 +674,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_private_dns_zone_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_private_dns_zone_groups_operations.py index 7b334004c88d..b5ddc10d765a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_private_dns_zone_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_private_dns_zone_groups_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type private_dns_zone_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -309,8 +309,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_03_01.models.PrivateDnsZoneGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PrivateDnsZoneGroup or the result of cls(response) @@ -430,7 +430,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_private_endpoints_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_private_endpoints_operations.py index c2407d2a2ad4..1dc9065ceb02 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_private_endpoints_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_private_endpoints_operations.py @@ -85,7 +85,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -108,8 +108,8 @@ def begin_delete( :type private_endpoint_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -212,7 +212,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateEndpoint', pipeline_response) @@ -267,7 +267,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -300,8 +300,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_03_01.models.PrivateEndpoint :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PrivateEndpoint or the result of cls(response) @@ -415,7 +415,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -483,7 +483,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_private_link_services_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_private_link_services_operations.py index 97d09a01b8a7..2a517f1fcc8e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_private_link_services_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_private_link_services_operations.py @@ -85,7 +85,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -108,8 +108,8 @@ def begin_delete( :type service_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -212,7 +212,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateLinkService', pipeline_response) @@ -267,7 +267,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -300,8 +300,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_03_01.models.PrivateLinkService :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PrivateLinkService or the result of cls(response) @@ -415,7 +415,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -483,7 +483,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -553,7 +553,7 @@ def get_private_endpoint_connection( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateEndpointConnection', pipeline_response) @@ -625,7 +625,7 @@ def update_private_endpoint_connection( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateEndpointConnection', pipeline_response) @@ -676,7 +676,7 @@ def _delete_private_endpoint_connection_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -702,8 +702,8 @@ def begin_delete_private_endpoint_connection( :type pe_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -819,7 +819,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -899,8 +899,8 @@ def begin_check_private_link_service_visibility( :type parameters: ~azure.mgmt.network.v2020_03_01.models.CheckPrivateLinkServiceVisibilityRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PrivateLinkServiceVisibility or the result of cls(response) @@ -1026,8 +1026,8 @@ def begin_check_private_link_service_visibility_by_resource_group( :type parameters: ~azure.mgmt.network.v2020_03_01.models.CheckPrivateLinkServiceVisibilityRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PrivateLinkServiceVisibility or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_public_ip_addresses_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_public_ip_addresses_operations.py index d1dbe833bb96..86887bbda228 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_public_ip_addresses_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_public_ip_addresses_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type public_ip_address_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_03_01.models.PublicIPAddress :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PublicIPAddress or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_public_ip_prefixes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_public_ip_prefixes_operations.py index a29b89b4d0bd..927a37939662 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_public_ip_prefixes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_public_ip_prefixes_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type public_ip_prefix_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_03_01.models.PublicIPPrefix :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PublicIPPrefix or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_route_filter_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_route_filter_rules_operations.py index 211edc4060d6..dc35e3dbac10 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_route_filter_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_route_filter_rules_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -309,8 +309,8 @@ def begin_create_or_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2020_03_01.models.RouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilterRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_route_filters_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_route_filters_operations.py index 4a3527b791d3..01186665e283 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_route_filters_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_route_filters_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type route_filter_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ def begin_create_or_update( :type route_filter_parameters: ~azure.mgmt.network.v2020_03_01.models.RouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilter or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_route_tables_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_route_tables_operations.py index 479665ccbec2..00132833f811 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_route_tables_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_route_tables_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_03_01.models.RouteTable :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteTable or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_routes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_routes_operations.py index 24282f9d21df..044bbeb8536f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_routes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_routes_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type route_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -308,8 +308,8 @@ def begin_create_or_update( :type route_parameters: ~azure.mgmt.network.v2020_03_01.models.Route :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Route or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_security_partner_providers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_security_partner_providers_operations.py index 9d9ad3770671..525443e81e2c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_security_partner_providers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_security_partner_providers_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type security_partner_provider_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -293,8 +293,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_03_01.models.SecurityPartnerProvider :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either SecurityPartnerProvider or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_security_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_security_rules_operations.py index 401d44a76613..b7d900cb0d2b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_security_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_security_rules_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type security_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -309,8 +309,8 @@ def begin_create_or_update( :type security_rule_parameters: ~azure.mgmt.network.v2020_03_01.models.SecurityRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either SecurityRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_service_endpoint_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_service_endpoint_policies_operations.py index 955bf654778c..7605767c95cc 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_service_endpoint_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_service_endpoint_policies_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type service_endpoint_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_03_01.models.ServiceEndpointPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ServiceEndpointPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_service_endpoint_policy_definitions_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_service_endpoint_policy_definitions_operations.py index 4a50578030a9..a67d01466bb8 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_service_endpoint_policy_definitions_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_service_endpoint_policy_definitions_operations.py @@ -113,8 +113,8 @@ def begin_delete( :type service_endpoint_policy_definition_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -313,8 +313,8 @@ def begin_create_or_update( :type service_endpoint_policy_definitions: ~azure.mgmt.network.v2020_03_01.models.ServiceEndpointPolicyDefinition :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ServiceEndpointPolicyDefinition or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_subnets_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_subnets_operations.py index 4bb45c653f01..a6e20468c77f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_subnets_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_subnets_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type subnet_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -313,8 +313,8 @@ def begin_create_or_update( :type subnet_parameters: ~azure.mgmt.network.v2020_03_01.models.Subnet :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Subnet or the result of cls(response) @@ -444,8 +444,8 @@ def begin_prepare_network_policies( :type prepare_network_policies_request_parameters: ~azure.mgmt.network.v2020_03_01.models.PrepareNetworkPoliciesRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -572,8 +572,8 @@ def begin_unprepare_network_policies( :type unprepare_network_policies_request_parameters: ~azure.mgmt.network.v2020_03_01.models.UnprepareNetworkPoliciesRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_virtual_hub_route_table_v2_s_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_virtual_hub_route_table_v2_s_operations.py index b9f42674e852..25a2339b8c09 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_virtual_hub_route_table_v2_s_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_virtual_hub_route_table_v2_s_operations.py @@ -100,7 +100,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualHubRouteTableV2', pipeline_response) @@ -157,7 +157,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -195,8 +195,8 @@ def begin_create_or_update( :type virtual_hub_route_table_v2_parameters: ~azure.mgmt.network.v2020_03_01.models.VirtualHubRouteTableV2 :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualHubRouteTableV2 or the result of cls(response) @@ -291,7 +291,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -317,8 +317,8 @@ def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_virtual_hubs_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_virtual_hubs_operations.py index cb3dcc78a7e8..9b81b408eb68 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_virtual_hubs_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_virtual_hubs_operations.py @@ -182,8 +182,8 @@ def begin_create_or_update( :type virtual_hub_parameters: ~azure.mgmt.network.v2020_03_01.models.VirtualHub :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualHub or the result of cls(response) @@ -363,8 +363,8 @@ def begin_delete( :type virtual_hub_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_virtual_network_gateway_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_virtual_network_gateway_connections_operations.py index bd3067cf80d5..18881c08473f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_virtual_network_gateway_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_virtual_network_gateway_connections_operations.py @@ -125,8 +125,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_03_01.models.VirtualNetworkGatewayConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -300,8 +300,8 @@ def begin_delete( :type virtual_network_gateway_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -425,8 +425,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2020_03_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -558,8 +558,8 @@ def begin_set_shared_key( :type parameters: ~azure.mgmt.network.v2020_03_01.models.ConnectionSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionSharedKey or the result of cls(response) @@ -823,8 +823,8 @@ def begin_reset_shared_key( :type parameters: ~azure.mgmt.network.v2020_03_01.models.ConnectionResetSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionResetSharedKey or the result of cls(response) @@ -924,7 +924,7 @@ def _start_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -957,8 +957,8 @@ def begin_start_packet_capture( :type parameters: ~azure.mgmt.network.v2020_03_01.models.VpnPacketCaptureStartParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1055,7 +1055,7 @@ def _stop_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -1088,8 +1088,8 @@ def begin_stop_packet_capture( :type parameters: ~azure.mgmt.network.v2020_03_01.models.VpnPacketCaptureStopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_virtual_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_virtual_network_gateways_operations.py index b4fe4de6847c..b0dd95caad33 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_virtual_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_virtual_network_gateways_operations.py @@ -123,8 +123,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_03_01.models.VirtualNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -296,8 +296,8 @@ def begin_delete( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -420,8 +420,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2020_03_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -692,8 +692,8 @@ def begin_reset( :type gateway_vip: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -807,8 +807,8 @@ def begin_reset_vpn_client_shared_key( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -933,8 +933,8 @@ def begin_generatevpnclientpackage( :type parameters: ~azure.mgmt.network.v2020_03_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1063,8 +1063,8 @@ def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2020_03_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1183,8 +1183,8 @@ def begin_get_vpn_profile_package_url( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1307,8 +1307,8 @@ def begin_get_bgp_peer_status( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either BgpPeerStatusListResult or the result of cls(response) @@ -1486,8 +1486,8 @@ def begin_get_learned_routes( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1610,8 +1610,8 @@ def begin_get_advertised_routes( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1740,8 +1740,8 @@ def begin_set_vpnclient_ipsec_parameters( :type vpnclient_ipsec_params: ~azure.mgmt.network.v2020_03_01.models.VpnClientIPsecParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnClientIPsecParameters or the result of cls(response) @@ -1859,8 +1859,8 @@ def begin_get_vpnclient_ipsec_parameters( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnClientIPsecParameters or the result of cls(response) @@ -2027,7 +2027,7 @@ def _start_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -2059,8 +2059,8 @@ def begin_start_packet_capture( :type parameters: ~azure.mgmt.network.v2020_03_01.models.VpnPacketCaptureStartParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -2157,7 +2157,7 @@ def _stop_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -2189,8 +2189,8 @@ def begin_stop_packet_capture( :type parameters: ~azure.mgmt.network.v2020_03_01.models.VpnPacketCaptureStopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -2309,8 +2309,8 @@ def begin_get_vpnclient_connection_health( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnClientConnectionHealthDetailListResult or the result of cls(response) @@ -2431,8 +2431,8 @@ def begin_disconnect_virtual_network_gateway_vpn_connections( :type request: ~azure.mgmt.network.v2020_03_01.models.P2SVpnConnectionRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_virtual_network_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_virtual_network_peerings_operations.py index f5aaa41c6e63..7e7c180f6180 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_virtual_network_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_virtual_network_peerings_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type virtual_network_peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -309,8 +309,8 @@ def begin_create_or_update( :type virtual_network_peering_parameters: ~azure.mgmt.network.v2020_03_01.models.VirtualNetworkPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_virtual_network_taps_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_virtual_network_taps_operations.py index e993b1cdd13c..3529e77c52c7 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_virtual_network_taps_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_virtual_network_taps_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type tap_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -292,8 +292,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_03_01.models.VirtualNetworkTap :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkTap or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_virtual_networks_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_virtual_networks_operations.py index 5f8baa398981..d9b42c7eed3c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_virtual_networks_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_virtual_networks_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type virtual_network_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_03_01.models.VirtualNetwork :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetwork or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_virtual_router_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_virtual_router_peerings_operations.py index ec6918f52284..b247da39c525 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_virtual_router_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_virtual_router_peerings_operations.py @@ -87,7 +87,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -113,8 +113,8 @@ def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -218,7 +218,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualRouterPeering', pipeline_response) @@ -275,7 +275,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -312,8 +312,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_03_01.models.VirtualRouterPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualRouterPeering or the result of cls(response) @@ -433,7 +433,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_virtual_routers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_virtual_routers_operations.py index 84acd264b69a..fa4d60361bf2 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_virtual_routers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_virtual_routers_operations.py @@ -85,7 +85,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -108,8 +108,8 @@ def begin_delete( :type virtual_router_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -212,7 +212,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualRouter', pipeline_response) @@ -267,7 +267,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -300,8 +300,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_03_01.models.VirtualRouter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualRouter or the result of cls(response) @@ -415,7 +415,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -483,7 +483,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_virtual_wans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_virtual_wans_operations.py index 303ebc09b7db..e69467ae792c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_virtual_wans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_virtual_wans_operations.py @@ -182,8 +182,8 @@ def begin_create_or_update( :type wan_parameters: ~azure.mgmt.network.v2020_03_01.models.VirtualWAN :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualWAN or the result of cls(response) @@ -363,8 +363,8 @@ def begin_delete( :type virtual_wan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_vpn_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_vpn_connections_operations.py index 7100ee059bcf..5954862ca525 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_vpn_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_vpn_connections_operations.py @@ -192,8 +192,8 @@ def begin_create_or_update( :type vpn_connection_parameters: ~azure.mgmt.network.v2020_03_01.models.VpnConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnConnection or the result of cls(response) @@ -313,8 +313,8 @@ def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_vpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_vpn_gateways_operations.py index 6007e3c12597..59de69735104 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_vpn_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_vpn_gateways_operations.py @@ -183,8 +183,8 @@ def begin_create_or_update( :type vpn_gateway_parameters: ~azure.mgmt.network.v2020_03_01.models.VpnGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnGateway or the result of cls(response) @@ -364,8 +364,8 @@ def begin_delete( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -479,8 +479,8 @@ def begin_reset( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnGateway or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py index b3839e17c71a..74f2a92a3952 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py @@ -112,8 +112,8 @@ def begin_list( :type virtual_wan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnServerConfigurationsResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_vpn_server_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_vpn_server_configurations_operations.py index 61af0e701f17..c1e53d3b9916 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_vpn_server_configurations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_vpn_server_configurations_operations.py @@ -185,8 +185,8 @@ def begin_create_or_update( :type vpn_server_configuration_parameters: ~azure.mgmt.network.v2020_03_01.models.VpnServerConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnServerConfiguration or the result of cls(response) @@ -367,8 +367,8 @@ def begin_delete( :type vpn_server_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_vpn_sites_configuration_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_vpn_sites_configuration_operations.py index f38d9e16b179..ff842da09f84 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_vpn_sites_configuration_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_vpn_sites_configuration_operations.py @@ -116,8 +116,8 @@ def begin_download( :type request: ~azure.mgmt.network.v2020_03_01.models.GetVpnSitesConfigurationRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_vpn_sites_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_vpn_sites_operations.py index 8b2c4a93225f..5b4c10fe0c7a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_vpn_sites_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_vpn_sites_operations.py @@ -182,8 +182,8 @@ def begin_create_or_update( :type vpn_site_parameters: ~azure.mgmt.network.v2020_03_01.models.VpnSite :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnSite or the result of cls(response) @@ -363,8 +363,8 @@ def begin_delete( :type vpn_site_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_web_application_firewall_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_web_application_firewall_policies_operations.py index 9244b5642a56..a98d24e3096e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_web_application_firewall_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_03_01/operations/_web_application_firewall_policies_operations.py @@ -375,8 +375,8 @@ def begin_delete( :type policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/_metadata.json b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/_metadata.json index d8249bd9d933..fb798d25eab4 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/_metadata.json +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/_metadata.json @@ -9,7 +9,9 @@ "custom_base_url": null, "azure_arm": true, "has_lro_operations": true, - "client_side_validation": true + "client_side_validation": false, + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"NetworkManagementClientConfiguration\"], \"._operations_mixin\": [\"NetworkManagementClientOperationsMixin\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"NetworkManagementClientConfiguration\"], \"._operations_mixin\": [\"NetworkManagementClientOperationsMixin\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}" }, "global_parameters": { "sync": { @@ -28,13 +30,13 @@ }, "async": { "credential": { - "signature": "credential, # type: \"AsyncTokenCredential\"", + "signature": "credential: \"AsyncTokenCredential\",", "description": "Credential needed for the client to connect to Azure.", "docstring_type": "~azure.core.credentials_async.AsyncTokenCredential", "required": true }, "subscription_id": { - "signature": "subscription_id, # type: str", + "signature": "subscription_id: str,", "description": "The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.", "docstring_type": "str", "required": true @@ -42,14 +44,58 @@ }, "constant": { }, - "call": "credential, subscription_id" + "call": "credential, subscription_id", + "service_client_specific": { + "sync": { + "api_version": { + "signature": "api_version=None, # type: Optional[str]", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url=None, # type: Optional[str]", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile=KnownProfiles.default, # type: KnownProfiles", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + }, + "async": { + "api_version": { + "signature": "api_version: Optional[str] = None,", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url: Optional[str] = None,", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile: KnownProfiles = KnownProfiles.default,", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + } + } }, "config": { "credential": true, "credential_scopes": ["https://management.azure.com/.default"], "credential_default_policy_type": "BearerTokenCredentialPolicy", "credential_default_policy_type_has_async_version": true, - "credential_key_header_name": null + "credential_key_header_name": null, + "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMHttpLoggingPolicy\"]}, \"local\": {\"._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}}", + "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMHttpLoggingPolicy\"]}, \"local\": {\".._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}}" }, "operation_groups": { "application_gateways": "ApplicationGatewaysOperations", @@ -148,151 +194,153 @@ "web_application_firewall_policies": "WebApplicationFirewallPoliciesOperations" }, "operation_mixins": { - "_put_bastion_shareable_link_initial" : { - "sync": { - "signature": "def _put_bastion_shareable_link_initial(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_04_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionShareableLinkListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_04_01.models.BastionShareableLinkListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def _put_bastion_shareable_link_initial(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e Optional[\"_models.BastionShareableLinkListResult\"]:\n", - "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_04_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionShareableLinkListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_04_01.models.BastionShareableLinkListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "resource_group_name, bastion_host_name, bsl_request" - }, - "begin_put_bastion_shareable_link" : { - "sync": { - "signature": "def begin_put_bastion_shareable_link(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Creates a Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_04_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns an iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_04_01.models.BastionShareableLinkListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" - }, - "async": { - "coroutine": false, - "signature": "def begin_put_bastion_shareable_link(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e AsyncLROPoller[AsyncItemPaged[\"_models.BastionShareableLinkListResult\"]]:\n", - "doc": "\"\"\"Creates a Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_04_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns an iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_04_01.models.BastionShareableLinkListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" - }, - "call": "resource_group_name, bastion_host_name, bsl_request" - }, - "_delete_bastion_shareable_link_initial" : { - "sync": { - "signature": "def _delete_bastion_shareable_link_initial(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_04_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def _delete_bastion_shareable_link_initial(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e None:\n", - "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_04_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "resource_group_name, bastion_host_name, bsl_request" - }, - "begin_delete_bastion_shareable_link" : { - "sync": { - "signature": "def begin_delete_bastion_shareable_link(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Deletes the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_04_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def begin_delete_bastion_shareable_link(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e AsyncLROPoller[None]:\n", - "doc": "\"\"\"Deletes the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_04_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" - }, - "call": "resource_group_name, bastion_host_name, bsl_request" - }, - "get_bastion_shareable_link" : { - "sync": { - "signature": "def get_bastion_shareable_link(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Return the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_04_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_04_01.models.BastionShareableLinkListResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": false, - "signature": "def get_bastion_shareable_link(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e AsyncItemPaged[\"_models.BastionShareableLinkListResult\"]:\n", - "doc": "\"\"\"Return the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_04_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_04_01.models.BastionShareableLinkListResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "resource_group_name, bastion_host_name, bsl_request" - }, - "_get_active_sessions_initial" : { - "sync": { - "signature": "def _get_active_sessions_initial(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionActiveSessionListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_04_01.models.BastionActiveSessionListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def _get_active_sessions_initial(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n **kwargs\n) -\u003e Optional[\"_models.BastionActiveSessionListResult\"]:\n", - "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionActiveSessionListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_04_01.models.BastionActiveSessionListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "resource_group_name, bastion_host_name" - }, - "begin_get_active_sessions" : { - "sync": { - "signature": "def begin_get_active_sessions(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns an iterator like instance of either BastionActiveSessionListResult or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_04_01.models.BastionActiveSessionListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"], \"azure.core.polling\": [\"LROPoller\", \"NoPolling\", \"PollingMethod\"], \"azure.mgmt.core.polling.arm_polling\": [\"ARMPolling\"], \"azure.core.paging\": [\"ItemPaged\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Iterable\", \"Optional\", \"TypeVar\", \"Union\"]}}}", + "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"], \"azure.core.polling\": [\"AsyncLROPoller\", \"AsyncNoPolling\", \"AsyncPollingMethod\"], \"azure.mgmt.core.polling.async_arm_polling\": [\"AsyncARMPolling\"], \"azure.core.async_paging\": [\"AsyncItemPaged\", \"AsyncList\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"AsyncIterable\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\", \"Union\"]}}}", + "operations": { + "_put_bastion_shareable_link_initial" : { + "sync": { + "signature": "def _put_bastion_shareable_link_initial(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_04_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionShareableLinkListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_04_01.models.BastionShareableLinkListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def _put_bastion_shareable_link_initial(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e Optional[\"_models.BastionShareableLinkListResult\"]:\n", + "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_04_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionShareableLinkListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_04_01.models.BastionShareableLinkListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "resource_group_name, bastion_host_name, bsl_request" }, - "async": { - "coroutine": false, - "signature": "def begin_get_active_sessions(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n **kwargs\n) -\u003e AsyncLROPoller[AsyncItemPaged[\"_models.BastionActiveSessionListResult\"]]:\n", - "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns an iterator like instance of either BastionActiveSessionListResult or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_04_01.models.BastionActiveSessionListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + "begin_put_bastion_shareable_link" : { + "sync": { + "signature": "def begin_put_bastion_shareable_link(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Creates a Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_04_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the ARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns an iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_04_01.models.BastionShareableLinkListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "async": { + "coroutine": false, + "signature": "def begin_put_bastion_shareable_link(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e AsyncLROPoller[AsyncItemPaged[\"_models.BastionShareableLinkListResult\"]]:\n", + "doc": "\"\"\"Creates a Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_04_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the AsyncARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns an iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_04_01.models.BastionShareableLinkListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "call": "resource_group_name, bastion_host_name, bsl_request" }, - "call": "resource_group_name, bastion_host_name" - }, - "disconnect_active_sessions" : { - "sync": { - "signature": "def disconnect_active_sessions(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n session_ids, # type: \"_models.SessionIds\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param session_ids: The list of sessionids to disconnect.\n:type session_ids: ~azure.mgmt.network.v2020_04_01.models.SessionIds\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionSessionDeleteResult or the result of cls(response)\n:rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_04_01.models.BastionSessionDeleteResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": false, - "signature": "def disconnect_active_sessions(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n session_ids: \"_models.SessionIds\",\n **kwargs\n) -\u003e AsyncItemPaged[\"_models.BastionSessionDeleteResult\"]:\n", - "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param session_ids: The list of sessionids to disconnect.\n:type session_ids: ~azure.mgmt.network.v2020_04_01.models.SessionIds\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionSessionDeleteResult or the result of cls(response)\n:rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_04_01.models.BastionSessionDeleteResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "_delete_bastion_shareable_link_initial" : { + "sync": { + "signature": "def _delete_bastion_shareable_link_initial(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_04_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def _delete_bastion_shareable_link_initial(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e None:\n", + "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_04_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "resource_group_name, bastion_host_name, bsl_request" }, - "call": "resource_group_name, bastion_host_name, session_ids" - }, - "check_dns_name_availability" : { - "sync": { - "signature": "def check_dns_name_availability(\n self,\n location, # type: str\n domain_name_label, # type: str\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_04_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "begin_delete_bastion_shareable_link" : { + "sync": { + "signature": "def begin_delete_bastion_shareable_link(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Deletes the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_04_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the ARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def begin_delete_bastion_shareable_link(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e AsyncLROPoller[None]:\n", + "doc": "\"\"\"Deletes the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_04_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the AsyncARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "call": "resource_group_name, bastion_host_name, bsl_request" }, - "async": { - "coroutine": true, - "signature": "async def check_dns_name_availability(\n self,\n location: str,\n domain_name_label: str,\n **kwargs\n) -\u003e \"_models.DnsNameAvailabilityResult\":\n", - "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_04_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "get_bastion_shareable_link" : { + "sync": { + "signature": "def get_bastion_shareable_link(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Return the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_04_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_04_01.models.BastionShareableLinkListResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": false, + "signature": "def get_bastion_shareable_link(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e AsyncItemPaged[\"_models.BastionShareableLinkListResult\"]:\n", + "doc": "\"\"\"Return the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_04_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_04_01.models.BastionShareableLinkListResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "resource_group_name, bastion_host_name, bsl_request" }, - "call": "location, domain_name_label" - }, - "supported_security_providers" : { - "sync": { - "signature": "def supported_security_providers(\n self,\n resource_group_name, # type: str\n virtual_wan_name, # type: str\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Gives the supported security providers for the virtual wan.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN for which supported security providers are\n needed.\n:type virtual_wan_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VirtualWanSecurityProviders, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_04_01.models.VirtualWanSecurityProviders\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "_get_active_sessions_initial" : { + "sync": { + "signature": "def _get_active_sessions_initial(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionActiveSessionListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_04_01.models.BastionActiveSessionListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def _get_active_sessions_initial(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n **kwargs\n) -\u003e Optional[\"_models.BastionActiveSessionListResult\"]:\n", + "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionActiveSessionListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_04_01.models.BastionActiveSessionListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "resource_group_name, bastion_host_name" }, - "async": { - "coroutine": true, - "signature": "async def supported_security_providers(\n self,\n resource_group_name: str,\n virtual_wan_name: str,\n **kwargs\n) -\u003e \"_models.VirtualWanSecurityProviders\":\n", - "doc": "\"\"\"Gives the supported security providers for the virtual wan.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN for which supported security providers are\n needed.\n:type virtual_wan_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VirtualWanSecurityProviders, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_04_01.models.VirtualWanSecurityProviders\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "begin_get_active_sessions" : { + "sync": { + "signature": "def begin_get_active_sessions(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the ARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns an iterator like instance of either BastionActiveSessionListResult or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_04_01.models.BastionActiveSessionListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "async": { + "coroutine": false, + "signature": "def begin_get_active_sessions(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n **kwargs\n) -\u003e AsyncLROPoller[AsyncItemPaged[\"_models.BastionActiveSessionListResult\"]]:\n", + "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the AsyncARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns an iterator like instance of either BastionActiveSessionListResult or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_04_01.models.BastionActiveSessionListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "call": "resource_group_name, bastion_host_name" }, - "call": "resource_group_name, virtual_wan_name" - }, - "_generatevirtualwanvpnserverconfigurationvpnprofile_initial" : { - "sync": { - "signature": "def _generatevirtualwanvpnserverconfigurationvpnprofile_initial(\n self,\n resource_group_name, # type: str\n virtual_wan_name, # type: str\n vpn_client_params, # type: \"_models.VirtualWanVpnProfileParameters\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2020_04_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VpnProfileResponse, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_04_01.models.VpnProfileResponse or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "disconnect_active_sessions" : { + "sync": { + "signature": "def disconnect_active_sessions(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n session_ids, # type: \"_models.SessionIds\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param session_ids: The list of sessionids to disconnect.\n:type session_ids: ~azure.mgmt.network.v2020_04_01.models.SessionIds\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionSessionDeleteResult or the result of cls(response)\n:rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_04_01.models.BastionSessionDeleteResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": false, + "signature": "def disconnect_active_sessions(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n session_ids: \"_models.SessionIds\",\n **kwargs\n) -\u003e AsyncItemPaged[\"_models.BastionSessionDeleteResult\"]:\n", + "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param session_ids: The list of sessionids to disconnect.\n:type session_ids: ~azure.mgmt.network.v2020_04_01.models.SessionIds\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionSessionDeleteResult or the result of cls(response)\n:rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_04_01.models.BastionSessionDeleteResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "resource_group_name, bastion_host_name, session_ids" }, - "async": { - "coroutine": true, - "signature": "async def _generatevirtualwanvpnserverconfigurationvpnprofile_initial(\n self,\n resource_group_name: str,\n virtual_wan_name: str,\n vpn_client_params: \"_models.VirtualWanVpnProfileParameters\",\n **kwargs\n) -\u003e Optional[\"_models.VpnProfileResponse\"]:\n", - "doc": "\"\"\"\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2020_04_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VpnProfileResponse, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_04_01.models.VpnProfileResponse or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "check_dns_name_availability" : { + "sync": { + "signature": "def check_dns_name_availability(\n self,\n location, # type: str\n domain_name_label, # type: str\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_04_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def check_dns_name_availability(\n self,\n location: str,\n domain_name_label: str,\n **kwargs\n) -\u003e \"_models.DnsNameAvailabilityResult\":\n", + "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_04_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "location, domain_name_label" }, - "call": "resource_group_name, virtual_wan_name, vpn_client_params" - }, - "begin_generatevirtualwanvpnserverconfigurationvpnprofile" : { - "sync": { - "signature": "def begin_generatevirtualwanvpnserverconfigurationvpnprofile(\n self,\n resource_group_name, # type: str\n virtual_wan_name, # type: str\n vpn_client_params, # type: \"_models.VirtualWanVpnProfileParameters\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Generates a unique VPN profile for P2S clients for VirtualWan and associated\nVpnServerConfiguration combination in the specified resource group.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2020_04_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns either VpnProfileResponse or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_04_01.models.VpnProfileResponse]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + "supported_security_providers" : { + "sync": { + "signature": "def supported_security_providers(\n self,\n resource_group_name, # type: str\n virtual_wan_name, # type: str\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Gives the supported security providers for the virtual wan.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN for which supported security providers are\n needed.\n:type virtual_wan_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VirtualWanSecurityProviders, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_04_01.models.VirtualWanSecurityProviders\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def supported_security_providers(\n self,\n resource_group_name: str,\n virtual_wan_name: str,\n **kwargs\n) -\u003e \"_models.VirtualWanSecurityProviders\":\n", + "doc": "\"\"\"Gives the supported security providers for the virtual wan.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN for which supported security providers are\n needed.\n:type virtual_wan_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VirtualWanSecurityProviders, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_04_01.models.VirtualWanSecurityProviders\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "resource_group_name, virtual_wan_name" }, - "async": { - "coroutine": true, - "signature": "async def begin_generatevirtualwanvpnserverconfigurationvpnprofile(\n self,\n resource_group_name: str,\n virtual_wan_name: str,\n vpn_client_params: \"_models.VirtualWanVpnProfileParameters\",\n **kwargs\n) -\u003e AsyncLROPoller[\"_models.VpnProfileResponse\"]:\n", - "doc": "\"\"\"Generates a unique VPN profile for P2S clients for VirtualWan and associated\nVpnServerConfiguration combination in the specified resource group.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2020_04_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns either VpnProfileResponse or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_04_01.models.VpnProfileResponse]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + "_generatevirtualwanvpnserverconfigurationvpnprofile_initial" : { + "sync": { + "signature": "def _generatevirtualwanvpnserverconfigurationvpnprofile_initial(\n self,\n resource_group_name, # type: str\n virtual_wan_name, # type: str\n vpn_client_params, # type: \"_models.VirtualWanVpnProfileParameters\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2020_04_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VpnProfileResponse, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_04_01.models.VpnProfileResponse or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def _generatevirtualwanvpnserverconfigurationvpnprofile_initial(\n self,\n resource_group_name: str,\n virtual_wan_name: str,\n vpn_client_params: \"_models.VirtualWanVpnProfileParameters\",\n **kwargs\n) -\u003e Optional[\"_models.VpnProfileResponse\"]:\n", + "doc": "\"\"\"\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2020_04_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VpnProfileResponse, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_04_01.models.VpnProfileResponse or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "resource_group_name, virtual_wan_name, vpn_client_params" }, - "call": "resource_group_name, virtual_wan_name, vpn_client_params" + "begin_generatevirtualwanvpnserverconfigurationvpnprofile" : { + "sync": { + "signature": "def begin_generatevirtualwanvpnserverconfigurationvpnprofile(\n self,\n resource_group_name, # type: str\n virtual_wan_name, # type: str\n vpn_client_params, # type: \"_models.VirtualWanVpnProfileParameters\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Generates a unique VPN profile for P2S clients for VirtualWan and associated\nVpnServerConfiguration combination in the specified resource group.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2020_04_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the ARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns either VpnProfileResponse or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_04_01.models.VpnProfileResponse]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def begin_generatevirtualwanvpnserverconfigurationvpnprofile(\n self,\n resource_group_name: str,\n virtual_wan_name: str,\n vpn_client_params: \"_models.VirtualWanVpnProfileParameters\",\n **kwargs\n) -\u003e AsyncLROPoller[\"_models.VpnProfileResponse\"]:\n", + "doc": "\"\"\"Generates a unique VPN profile for P2S clients for VirtualWan and associated\nVpnServerConfiguration combination in the specified resource group.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2020_04_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the AsyncARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns either VpnProfileResponse or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_04_01.models.VpnProfileResponse]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "call": "resource_group_name, virtual_wan_name, vpn_client_params" + } } - }, - "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"], \"azure.core.polling\": [\"LROPoller\", \"NoPolling\", \"PollingMethod\"], \"azure.mgmt.core.polling.arm_polling\": [\"ARMPolling\"], \"azure.core.paging\": [\"ItemPaged\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Iterable\", \"Optional\", \"TypeVar\", \"Union\"]}}}", - "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"], \"azure.core.polling\": [\"AsyncLROPoller\", \"AsyncNoPolling\", \"AsyncPollingMethod\"], \"azure.mgmt.core.polling.async_arm_polling\": [\"AsyncARMPolling\"], \"azure.core.async_paging\": [\"AsyncItemPaged\", \"AsyncList\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"AsyncIterable\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\", \"Union\"]}}}" + } } \ No newline at end of file diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/_network_management_client.py index f8842c1b4ee7..5481aedba526 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/_network_management_client.py @@ -16,6 +16,7 @@ from typing import Any, Optional from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse from ._configuration import NetworkManagementClientConfiguration from .operations import ApplicationGatewaysOperations @@ -330,6 +331,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( @@ -521,6 +523,24 @@ def __init__( self.web_application_firewall_policies = WebApplicationFirewallPoliciesOperations( self._client, self._config, self._serialize, self._deserialize) + def _send_request(self, http_request, **kwargs): + # type: (HttpRequest, Any) -> HttpResponse + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.HttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + def close(self): # type: () -> None self._client.close() diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/_network_management_client.py index 069a4804cf6b..948cc2a1900d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/_network_management_client.py @@ -8,6 +8,7 @@ from typing import Any, Optional, TYPE_CHECKING +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core import AsyncARMPipelineClient from msrest import Deserializer, Serializer @@ -327,6 +328,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( @@ -518,6 +520,23 @@ def __init__( self.web_application_firewall_policies = WebApplicationFirewallPoliciesOperations( self._client, self._config, self._serialize, self._deserialize) + async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + async def close(self) -> None: await self._client.close() diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_application_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_application_gateways_operations.py index aae0770c6424..79722b57b4e9 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_application_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_application_gateways_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -283,8 +283,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_04_01.models.ApplicationGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGateway or the result of cls(response) @@ -597,8 +597,8 @@ async def begin_start( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -705,8 +705,8 @@ async def begin_stop( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -824,8 +824,8 @@ async def begin_backend_health( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGatewayBackendHealth or the result of cls(response) @@ -957,8 +957,8 @@ async def begin_backend_health_on_demand( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGatewayBackendHealthOnDemand or the result of cls(response) @@ -1052,7 +1052,7 @@ async def list_available_server_variables( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) @@ -1103,7 +1103,7 @@ async def list_available_request_headers( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) @@ -1154,7 +1154,7 @@ async def list_available_response_headers( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_application_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_application_security_groups_operations.py index 9beb14c26742..bcde63c65f25 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_application_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_application_security_groups_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type application_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -284,8 +284,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_04_01.models.ApplicationSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_azure_firewalls_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_azure_firewalls_operations.py index 704d98ca13a4..3979f7616704 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_azure_firewalls_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_azure_firewalls_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type azure_firewall_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -283,8 +283,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_04_01.models.AzureFirewall :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AzureFirewall or the result of cls(response) @@ -409,8 +409,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2020_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AzureFirewall or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_bastion_hosts_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_bastion_hosts_operations.py index 941de177c98d..35c2f05fb7dd 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_bastion_hosts_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_bastion_hosts_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type bastion_host_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -283,8 +283,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_04_01.models.BastionHost :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either BastionHost or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_connection_monitors_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_connection_monitors_operations.py index c39f9549951b..d9f87b322c78 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_connection_monitors_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_connection_monitors_operations.py @@ -88,7 +88,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -123,8 +123,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_04_01.models.ConnectionMonitor :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionMonitorResult or the result of cls(response) @@ -231,7 +231,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('ConnectionMonitorResult', pipeline_response) @@ -281,7 +281,7 @@ async def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -306,8 +306,8 @@ async def begin_delete( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -418,7 +418,7 @@ async def update_tags( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('ConnectionMonitorResult', pipeline_response) @@ -468,7 +468,7 @@ async def _stop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -493,8 +493,8 @@ async def begin_stop( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -584,7 +584,7 @@ async def _start_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -609,8 +609,8 @@ async def begin_start( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -700,7 +700,7 @@ async def _query_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -732,8 +732,8 @@ async def begin_query( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionMonitorQueryResult or the result of cls(response) @@ -851,7 +851,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_ddos_custom_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_ddos_custom_policies_operations.py index 374762f783c3..f06f4c422fe8 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_ddos_custom_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_ddos_custom_policies_operations.py @@ -100,8 +100,8 @@ async def begin_delete( :type ddos_custom_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -282,8 +282,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_04_01.models.DdosCustomPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either DdosCustomPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_ddos_protection_plans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_ddos_protection_plans_operations.py index 88a29483f3bd..4fcabb0b76b5 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_ddos_protection_plans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_ddos_protection_plans_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type ddos_protection_plan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -283,8 +283,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_04_01.models.DdosProtectionPlan :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either DdosProtectionPlan or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_express_route_circuit_authorizations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_express_route_circuit_authorizations_operations.py index 245b3be43b81..f937b2f64ac1 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_express_route_circuit_authorizations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_express_route_circuit_authorizations_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type authorization_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -300,8 +300,8 @@ async def begin_create_or_update( :type authorization_parameters: ~azure.mgmt.network.v2020_04_01.models.ExpressRouteCircuitAuthorization :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitAuthorization or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_express_route_circuit_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_express_route_circuit_connections_operations.py index fe9632584f5a..805c1da2c5c8 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_express_route_circuit_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_express_route_circuit_connections_operations.py @@ -112,8 +112,8 @@ async def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -317,8 +317,8 @@ async def begin_create_or_update( :type express_route_circuit_connection_parameters: ~azure.mgmt.network.v2020_04_01.models.ExpressRouteCircuitConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitConnection or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_express_route_circuit_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_express_route_circuit_peerings_operations.py index de67f728992c..9cc7a094b530 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_express_route_circuit_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_express_route_circuit_peerings_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -300,8 +300,8 @@ async def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2020_04_01.models.ExpressRouteCircuitPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_express_route_circuits_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_express_route_circuits_operations.py index 3ff9ce3ddac8..7577003fe00f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_express_route_circuits_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_express_route_circuits_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type circuit_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -283,8 +283,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_04_01.models.ExpressRouteCircuit :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -477,8 +477,8 @@ async def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -608,8 +608,8 @@ async def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) @@ -739,8 +739,8 @@ async def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableSummaryListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_express_route_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_express_route_connections_operations.py index 264c5add4a96..bf1192b2e791 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_express_route_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_express_route_connections_operations.py @@ -122,8 +122,8 @@ async def begin_create_or_update( :type put_express_route_connection_parameters: ~azure.mgmt.network.v2020_04_01.models.ExpressRouteConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteConnection or the result of cls(response) @@ -303,8 +303,8 @@ async def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_express_route_cross_connection_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_express_route_cross_connection_peerings_operations.py index aea084ed7fdb..ae015717352e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_express_route_cross_connection_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_express_route_cross_connection_peerings_operations.py @@ -180,8 +180,8 @@ async def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -374,8 +374,8 @@ async def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2020_04_01.models.ExpressRouteCrossConnectionPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCrossConnectionPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_express_route_cross_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_express_route_cross_connections_operations.py index 5460ec9bdabc..1e3f2a929c7a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_express_route_cross_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_express_route_cross_connections_operations.py @@ -308,8 +308,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_04_01.models.ExpressRouteCrossConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCrossConnection or the result of cls(response) @@ -503,8 +503,8 @@ async def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -634,8 +634,8 @@ async def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCrossConnectionsRoutesTableSummaryListResult or the result of cls(response) @@ -765,8 +765,8 @@ async def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_express_route_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_express_route_gateways_operations.py index 0e370910899b..cebafa68c6df 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_express_route_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_express_route_gateways_operations.py @@ -221,8 +221,8 @@ async def begin_create_or_update( :type put_express_route_gateway_parameters: ~azure.mgmt.network.v2020_04_01.models.ExpressRouteGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteGateway or the result of cls(response) @@ -392,8 +392,8 @@ async def begin_delete( :type express_route_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_express_route_ports_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_express_route_ports_operations.py index 653a724eda83..ab2a622b7bd3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_express_route_ports_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_express_route_ports_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type express_route_port_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -283,8 +283,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_04_01.models.ExpressRoutePort :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRoutePort or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_firewall_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_firewall_policies_operations.py index 6207393c5c9d..2322f119f118 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_firewall_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_firewall_policies_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type firewall_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -288,8 +288,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_04_01.models.FirewallPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FirewallPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_firewall_policy_rule_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_firewall_policy_rule_groups_operations.py index f517d144eb88..8d3b3b38f5d2 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_firewall_policy_rule_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_firewall_policy_rule_groups_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type rule_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -300,8 +300,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_04_01.models.FirewallPolicyRuleGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FirewallPolicyRuleGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_flow_logs_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_flow_logs_operations.py index 9579a4f5a720..912833f2d576 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_flow_logs_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_flow_logs_operations.py @@ -88,7 +88,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -123,8 +123,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_04_01.models.FlowLog :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FlowLog or the result of cls(response) @@ -231,7 +231,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('FlowLog', pipeline_response) @@ -281,7 +281,7 @@ async def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -306,8 +306,8 @@ async def begin_delete( :type flow_log_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -422,7 +422,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_hub_route_tables_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_hub_route_tables_operations.py index d5d79d408197..40a5a31a8061 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_hub_route_tables_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_hub_route_tables_operations.py @@ -122,8 +122,8 @@ async def begin_create_or_update( :type route_table_parameters: ~azure.mgmt.network.v2020_04_01.models.HubRouteTable :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either HubRouteTable or the result of cls(response) @@ -303,8 +303,8 @@ async def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_inbound_nat_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_inbound_nat_rules_operations.py index 2ed1968ac56a..615ec33cba93 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_inbound_nat_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_inbound_nat_rules_operations.py @@ -180,8 +180,8 @@ async def begin_delete( :type inbound_nat_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -379,8 +379,8 @@ async def begin_create_or_update( :type inbound_nat_rule_parameters: ~azure.mgmt.network.v2020_04_01.models.InboundNatRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either InboundNatRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_ip_allocations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_ip_allocations_operations.py index ef7eb819402d..7584016d0a60 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_ip_allocations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_ip_allocations_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type ip_allocation_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -288,8 +288,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_04_01.models.IpAllocation :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either IpAllocation or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_ip_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_ip_groups_operations.py index c6f80f7a5c6d..b0b79dd5f911 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_ip_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_ip_groups_operations.py @@ -97,7 +97,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('IpGroup', pipeline_response) @@ -151,7 +151,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -183,8 +183,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_04_01.models.IpGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either IpGroup or the result of cls(response) @@ -293,7 +293,7 @@ async def update_groups( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('IpGroup', pipeline_response) @@ -341,7 +341,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -363,8 +363,8 @@ async def begin_delete( :type ip_groups_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -473,7 +473,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -540,7 +540,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_load_balancer_backend_address_pools_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_load_balancer_backend_address_pools_operations.py index 08cca6cf67b0..e522cb9cf0fd 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_load_balancer_backend_address_pools_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_load_balancer_backend_address_pools_operations.py @@ -259,8 +259,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_04_01.models.BackendAddressPool :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either BackendAddressPool or the result of cls(response) @@ -378,8 +378,8 @@ async def begin_delete( :type backend_address_pool_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_load_balancers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_load_balancers_operations.py index 8ecdb2232f51..044afde935ba 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_load_balancers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_load_balancers_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type load_balancer_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -288,8 +288,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_04_01.models.LoadBalancer :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LoadBalancer or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_local_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_local_network_gateways_operations.py index 7171a7fa4da7..a08301a283d2 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_local_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_local_network_gateways_operations.py @@ -117,8 +117,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_04_01.models.LocalNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LocalNetworkGateway or the result of cls(response) @@ -287,8 +287,8 @@ async def begin_delete( :type local_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_nat_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_nat_gateways_operations.py index 94bf94a38576..6d64aa04fe0e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_nat_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_nat_gateways_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type nat_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -291,8 +291,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_04_01.models.NatGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NatGateway or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_network_interface_tap_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_network_interface_tap_configurations_operations.py index 31d35bd4dd24..ba6596039fb9 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_network_interface_tap_configurations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_network_interface_tap_configurations_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type tap_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -300,8 +300,8 @@ async def begin_create_or_update( :type tap_configuration_parameters: ~azure.mgmt.network.v2020_04_01.models.NetworkInterfaceTapConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkInterfaceTapConfiguration or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_network_interfaces_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_network_interfaces_operations.py index ce2c7d1d4246..0e02d2b81a75 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_network_interfaces_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_network_interfaces_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -288,8 +288,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_04_01.models.NetworkInterface :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkInterface or the result of cls(response) @@ -607,8 +607,8 @@ async def begin_get_effective_route_table( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either EffectiveRouteListResult or the result of cls(response) @@ -723,8 +723,8 @@ async def begin_list_effective_network_security_groups( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either EffectiveNetworkSecurityGroupListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_network_management_client_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_network_management_client_operations.py index b68b699bca10..d6a874d67c10 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_network_management_client_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_network_management_client_operations.py @@ -95,8 +95,8 @@ async def begin_put_bastion_shareable_link( :type bsl_request: ~azure.mgmt.network.v2020_04_01.models.BastionShareableLinkListRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns an iterator like instance of either BastionShareableLinkListResult or the result of cls(response) @@ -278,8 +278,8 @@ async def begin_delete_bastion_shareable_link( :type bsl_request: ~azure.mgmt.network.v2020_04_01.models.BastionShareableLinkListRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -477,8 +477,8 @@ async def begin_get_active_sessions( :type bastion_host_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns an iterator like instance of either BastionActiveSessionListResult or the result of cls(response) @@ -862,8 +862,8 @@ async def begin_generatevirtualwanvpnserverconfigurationvpnprofile( :type vpn_client_params: ~azure.mgmt.network.v2020_04_01.models.VirtualWanVpnProfileParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnProfileResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_network_profiles_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_network_profiles_operations.py index e4cabaa1ee0c..62fd740cd2c2 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_network_profiles_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_network_profiles_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type network_profile_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_network_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_network_security_groups_operations.py index 57384c67be48..cfa4760c89b9 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_network_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_network_security_groups_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type network_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -289,8 +289,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_04_01.models.NetworkSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_network_virtual_appliances_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_network_virtual_appliances_operations.py index 92db84193e6c..e0229b37f201 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_network_virtual_appliances_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_network_virtual_appliances_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type network_virtual_appliance_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -354,8 +354,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_04_01.models.NetworkVirtualAppliance :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkVirtualAppliance or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_network_watchers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_network_watchers_operations.py index 6b3e0e32eeec..f0d2e9f80c4a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_network_watchers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_network_watchers_operations.py @@ -99,7 +99,7 @@ async def create_or_update( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -162,7 +162,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('NetworkWatcher', pipeline_response) @@ -210,7 +210,7 @@ async def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -232,8 +232,8 @@ async def begin_delete( :type network_watcher_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -338,7 +338,7 @@ async def update_tags( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('NetworkWatcher', pipeline_response) @@ -409,7 +409,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -476,7 +476,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -543,7 +543,7 @@ async def get_topology( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('Topology', pipeline_response) @@ -597,7 +597,7 @@ async def _verify_ip_flow_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -629,8 +629,8 @@ async def begin_verify_ip_flow( :type parameters: ~azure.mgmt.network.v2020_04_01.models.VerificationIPFlowParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VerificationIPFlowResult or the result of cls(response) @@ -726,7 +726,7 @@ async def _get_next_hop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -758,8 +758,8 @@ async def begin_get_next_hop( :type parameters: ~azure.mgmt.network.v2020_04_01.models.NextHopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NextHopResult or the result of cls(response) @@ -855,7 +855,7 @@ async def _get_vm_security_rules_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -887,8 +887,8 @@ async def begin_get_vm_security_rules( :type parameters: ~azure.mgmt.network.v2020_04_01.models.SecurityGroupViewParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either SecurityGroupViewResult or the result of cls(response) @@ -984,7 +984,7 @@ async def _get_troubleshooting_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1016,8 +1016,8 @@ async def begin_get_troubleshooting( :type parameters: ~azure.mgmt.network.v2020_04_01.models.TroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1113,7 +1113,7 @@ async def _get_troubleshooting_result_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1145,8 +1145,8 @@ async def begin_get_troubleshooting_result( :type parameters: ~azure.mgmt.network.v2020_04_01.models.QueryTroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1242,7 +1242,7 @@ async def _set_flow_log_configuration_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1274,8 +1274,8 @@ async def begin_set_flow_log_configuration( :type parameters: ~azure.mgmt.network.v2020_04_01.models.FlowLogInformation :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1371,7 +1371,7 @@ async def _get_flow_log_status_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1404,8 +1404,8 @@ async def begin_get_flow_log_status( :type parameters: ~azure.mgmt.network.v2020_04_01.models.FlowLogStatusParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1501,7 +1501,7 @@ async def _check_connectivity_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1534,8 +1534,8 @@ async def begin_check_connectivity( :type parameters: ~azure.mgmt.network.v2020_04_01.models.ConnectivityParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectivityInformation or the result of cls(response) @@ -1631,7 +1631,7 @@ async def _get_azure_reachability_report_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1665,8 +1665,8 @@ async def begin_get_azure_reachability_report( :type parameters: ~azure.mgmt.network.v2020_04_01.models.AzureReachabilityReportParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AzureReachabilityReport or the result of cls(response) @@ -1762,7 +1762,7 @@ async def _list_available_providers_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1795,8 +1795,8 @@ async def begin_list_available_providers( :type parameters: ~azure.mgmt.network.v2020_04_01.models.AvailableProvidersListParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AvailableProvidersList or the result of cls(response) @@ -1892,7 +1892,7 @@ async def _get_network_configuration_diagnostic_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1928,8 +1928,8 @@ async def begin_get_network_configuration_diagnostic( :type parameters: ~azure.mgmt.network.v2020_04_01.models.NetworkConfigurationDiagnosticParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkConfigurationDiagnosticResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_p2_svpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_p2_svpn_gateways_operations.py index ffd5482fdd0f..5888fed24e27 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_p2_svpn_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_p2_svpn_gateways_operations.py @@ -176,8 +176,8 @@ async def begin_create_or_update( :type p2_s_vpn_gateway_parameters: ~azure.mgmt.network.v2020_04_01.models.P2SVpnGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -355,8 +355,8 @@ async def begin_delete( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -614,8 +614,8 @@ async def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2020_04_01.models.P2SVpnProfileParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnProfileResponse or the result of cls(response) @@ -732,8 +732,8 @@ async def begin_get_p2_s_vpn_connection_health( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -858,8 +858,8 @@ async def begin_get_p2_s_vpn_connection_health_detailed( :type request: ~azure.mgmt.network.v2020_04_01.models.P2SVpnConnectionHealthRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either P2SVpnConnectionHealth or the result of cls(response) @@ -980,8 +980,8 @@ async def begin_disconnect_p2_s_vpn_connections( :type request: ~azure.mgmt.network.v2020_04_01.models.P2SVpnConnectionRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_packet_captures_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_packet_captures_operations.py index cbdbb06cd144..2fdbdaab51e6 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_packet_captures_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_packet_captures_operations.py @@ -88,7 +88,7 @@ async def _create_initial( if response.status_code not in [201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PacketCaptureResult', pipeline_response) @@ -119,8 +119,8 @@ async def begin_create( :type parameters: ~azure.mgmt.network.v2020_04_01.models.PacketCapture :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PacketCaptureResult or the result of cls(response) @@ -227,7 +227,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PacketCaptureResult', pipeline_response) @@ -277,7 +277,7 @@ async def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -302,8 +302,8 @@ async def begin_delete( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -393,7 +393,7 @@ async def _stop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -418,8 +418,8 @@ async def begin_stop( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -509,7 +509,7 @@ async def _get_status_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -541,8 +541,8 @@ async def begin_get_status( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PacketCaptureQueryStatusResult or the result of cls(response) @@ -660,7 +660,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_private_dns_zone_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_private_dns_zone_groups_operations.py index 2c6e8aaece80..1b105f915352 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_private_dns_zone_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_private_dns_zone_groups_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type private_dns_zone_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -300,8 +300,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_04_01.models.PrivateDnsZoneGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PrivateDnsZoneGroup or the result of cls(response) @@ -420,7 +420,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_private_endpoints_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_private_endpoints_operations.py index c4cbc8a63dcd..68187ee0847c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_private_endpoints_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_private_endpoints_operations.py @@ -80,7 +80,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -102,8 +102,8 @@ async def begin_delete( :type private_endpoint_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -205,7 +205,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateEndpoint', pipeline_response) @@ -259,7 +259,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -291,8 +291,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_04_01.models.PrivateEndpoint :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PrivateEndpoint or the result of cls(response) @@ -405,7 +405,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -472,7 +472,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_private_link_services_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_private_link_services_operations.py index 40f28db2c8ff..d9c4d7cd34c2 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_private_link_services_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_private_link_services_operations.py @@ -80,7 +80,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -102,8 +102,8 @@ async def begin_delete( :type service_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -205,7 +205,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateLinkService', pipeline_response) @@ -259,7 +259,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -291,8 +291,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_04_01.models.PrivateLinkService :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PrivateLinkService or the result of cls(response) @@ -405,7 +405,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -472,7 +472,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -541,7 +541,7 @@ async def get_private_endpoint_connection( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateEndpointConnection', pipeline_response) @@ -612,7 +612,7 @@ async def update_private_endpoint_connection( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateEndpointConnection', pipeline_response) @@ -662,7 +662,7 @@ async def _delete_private_endpoint_connection_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -687,8 +687,8 @@ async def begin_delete_private_endpoint_connection( :type pe_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -803,7 +803,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -881,8 +881,8 @@ async def begin_check_private_link_service_visibility( :type parameters: ~azure.mgmt.network.v2020_04_01.models.CheckPrivateLinkServiceVisibilityRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PrivateLinkServiceVisibility or the result of cls(response) @@ -1006,8 +1006,8 @@ async def begin_check_private_link_service_visibility_by_resource_group( :type parameters: ~azure.mgmt.network.v2020_04_01.models.CheckPrivateLinkServiceVisibilityRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PrivateLinkServiceVisibility or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_public_ip_addresses_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_public_ip_addresses_operations.py index 06c0c127327e..6a7368da0288 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_public_ip_addresses_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_public_ip_addresses_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type public_ip_address_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -288,8 +288,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_04_01.models.PublicIPAddress :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PublicIPAddress or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_public_ip_prefixes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_public_ip_prefixes_operations.py index f625c839f7ad..c1a84e7104af 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_public_ip_prefixes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_public_ip_prefixes_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type public_ip_prefix_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -288,8 +288,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_04_01.models.PublicIPPrefix :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PublicIPPrefix or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_route_filter_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_route_filter_rules_operations.py index 48c628988a46..dc6d2e3bc818 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_route_filter_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_route_filter_rules_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -300,8 +300,8 @@ async def begin_create_or_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2020_04_01.models.RouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilterRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_route_filters_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_route_filters_operations.py index a0c6c854f164..19fb8b6475ae 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_route_filters_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_route_filters_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type route_filter_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -289,8 +289,8 @@ async def begin_create_or_update( :type route_filter_parameters: ~azure.mgmt.network.v2020_04_01.models.RouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilter or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_route_tables_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_route_tables_operations.py index 05600b4ebe65..0071f86de762 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_route_tables_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_route_tables_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -288,8 +288,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_04_01.models.RouteTable :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteTable or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_routes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_routes_operations.py index 597c5ef5df24..070febf049c9 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_routes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_routes_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type route_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -299,8 +299,8 @@ async def begin_create_or_update( :type route_parameters: ~azure.mgmt.network.v2020_04_01.models.Route :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Route or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_security_partner_providers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_security_partner_providers_operations.py index 08c51ee0f435..32dbe09a62f5 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_security_partner_providers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_security_partner_providers_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type security_partner_provider_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -284,8 +284,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_04_01.models.SecurityPartnerProvider :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either SecurityPartnerProvider or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_security_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_security_rules_operations.py index 77084f90d448..47cc42bee40e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_security_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_security_rules_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type security_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -300,8 +300,8 @@ async def begin_create_or_update( :type security_rule_parameters: ~azure.mgmt.network.v2020_04_01.models.SecurityRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either SecurityRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_service_endpoint_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_service_endpoint_policies_operations.py index 7c724fbf5622..ca23a2df98a8 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_service_endpoint_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_service_endpoint_policies_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type service_endpoint_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -289,8 +289,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_04_01.models.ServiceEndpointPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ServiceEndpointPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_service_endpoint_policy_definitions_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_service_endpoint_policy_definitions_operations.py index ce3c9d544228..a1b4cfa2f13e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_service_endpoint_policy_definitions_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_service_endpoint_policy_definitions_operations.py @@ -107,8 +107,8 @@ async def begin_delete( :type service_endpoint_policy_definition_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -304,8 +304,8 @@ async def begin_create_or_update( :type service_endpoint_policy_definitions: ~azure.mgmt.network.v2020_04_01.models.ServiceEndpointPolicyDefinition :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ServiceEndpointPolicyDefinition or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_subnets_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_subnets_operations.py index d1cdfd77e124..da3ad7520880 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_subnets_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_subnets_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type subnet_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -304,8 +304,8 @@ async def begin_create_or_update( :type subnet_parameters: ~azure.mgmt.network.v2020_04_01.models.Subnet :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Subnet or the result of cls(response) @@ -433,8 +433,8 @@ async def begin_prepare_network_policies( :type prepare_network_policies_request_parameters: ~azure.mgmt.network.v2020_04_01.models.PrepareNetworkPoliciesRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -559,8 +559,8 @@ async def begin_unprepare_network_policies( :type unprepare_network_policies_request_parameters: ~azure.mgmt.network.v2020_04_01.models.UnprepareNetworkPoliciesRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_virtual_hub_route_table_v2_s_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_virtual_hub_route_table_v2_s_operations.py index b8442e104cd7..848b44beb259 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_virtual_hub_route_table_v2_s_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_virtual_hub_route_table_v2_s_operations.py @@ -95,7 +95,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualHubRouteTableV2', pipeline_response) @@ -151,7 +151,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -188,8 +188,8 @@ async def begin_create_or_update( :type virtual_hub_route_table_v2_parameters: ~azure.mgmt.network.v2020_04_01.models.VirtualHubRouteTableV2 :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualHubRouteTableV2 or the result of cls(response) @@ -283,7 +283,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -308,8 +308,8 @@ async def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_virtual_hubs_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_virtual_hubs_operations.py index 39d86b9a9143..099fd5fc25d7 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_virtual_hubs_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_virtual_hubs_operations.py @@ -175,8 +175,8 @@ async def begin_create_or_update( :type virtual_hub_parameters: ~azure.mgmt.network.v2020_04_01.models.VirtualHub :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualHub or the result of cls(response) @@ -353,8 +353,8 @@ async def begin_delete( :type virtual_hub_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_virtual_network_gateway_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_virtual_network_gateway_connections_operations.py index b35f9504e508..1c9d6a4e9be0 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_virtual_network_gateway_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_virtual_network_gateway_connections_operations.py @@ -119,8 +119,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_04_01.models.VirtualNetworkGatewayConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -291,8 +291,8 @@ async def begin_delete( :type virtual_network_gateway_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -414,8 +414,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2020_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -545,8 +545,8 @@ async def begin_set_shared_key( :type parameters: ~azure.mgmt.network.v2020_04_01.models.ConnectionSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionSharedKey or the result of cls(response) @@ -806,8 +806,8 @@ async def begin_reset_shared_key( :type parameters: ~azure.mgmt.network.v2020_04_01.models.ConnectionResetSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionResetSharedKey or the result of cls(response) @@ -906,7 +906,7 @@ async def _start_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -938,8 +938,8 @@ async def begin_start_packet_capture( :type parameters: ~azure.mgmt.network.v2020_04_01.models.VpnPacketCaptureStartParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1035,7 +1035,7 @@ async def _stop_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -1067,8 +1067,8 @@ async def begin_stop_packet_capture( :type parameters: ~azure.mgmt.network.v2020_04_01.models.VpnPacketCaptureStopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_virtual_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_virtual_network_gateways_operations.py index 46256c643b25..6c746ee7ca77 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_virtual_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_virtual_network_gateways_operations.py @@ -117,8 +117,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_04_01.models.VirtualNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -287,8 +287,8 @@ async def begin_delete( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -409,8 +409,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2020_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -677,8 +677,8 @@ async def begin_reset( :type gateway_vip: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -790,8 +790,8 @@ async def begin_reset_vpn_client_shared_key( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -914,8 +914,8 @@ async def begin_generatevpnclientpackage( :type parameters: ~azure.mgmt.network.v2020_04_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1042,8 +1042,8 @@ async def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2020_04_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1160,8 +1160,8 @@ async def begin_get_vpn_profile_package_url( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1282,8 +1282,8 @@ async def begin_get_bgp_peer_status( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either BgpPeerStatusListResult or the result of cls(response) @@ -1458,8 +1458,8 @@ async def begin_get_learned_routes( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1580,8 +1580,8 @@ async def begin_get_advertised_routes( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1708,8 +1708,8 @@ async def begin_set_vpnclient_ipsec_parameters( :type vpnclient_ipsec_params: ~azure.mgmt.network.v2020_04_01.models.VpnClientIPsecParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnClientIPsecParameters or the result of cls(response) @@ -1825,8 +1825,8 @@ async def begin_get_vpnclient_ipsec_parameters( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnClientIPsecParameters or the result of cls(response) @@ -1991,7 +1991,7 @@ async def _start_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -2022,8 +2022,8 @@ async def begin_start_packet_capture( :type parameters: ~azure.mgmt.network.v2020_04_01.models.VpnPacketCaptureStartParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -2119,7 +2119,7 @@ async def _stop_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -2150,8 +2150,8 @@ async def begin_stop_packet_capture( :type parameters: ~azure.mgmt.network.v2020_04_01.models.VpnPacketCaptureStopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -2268,8 +2268,8 @@ async def begin_get_vpnclient_connection_health( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnClientConnectionHealthDetailListResult or the result of cls(response) @@ -2388,8 +2388,8 @@ async def begin_disconnect_virtual_network_gateway_vpn_connections( :type request: ~azure.mgmt.network.v2020_04_01.models.P2SVpnConnectionRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_virtual_network_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_virtual_network_peerings_operations.py index f4e5d563dd3e..e8cb302ecf5c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_virtual_network_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_virtual_network_peerings_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type virtual_network_peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -300,8 +300,8 @@ async def begin_create_or_update( :type virtual_network_peering_parameters: ~azure.mgmt.network.v2020_04_01.models.VirtualNetworkPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_virtual_network_taps_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_virtual_network_taps_operations.py index 421a8d994e00..6a6dfe43b04b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_virtual_network_taps_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_virtual_network_taps_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type tap_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -283,8 +283,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_04_01.models.VirtualNetworkTap :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkTap or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_virtual_networks_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_virtual_networks_operations.py index 23546d8ad9e7..e4713cea8366 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_virtual_networks_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_virtual_networks_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type virtual_network_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -288,8 +288,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_04_01.models.VirtualNetwork :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetwork or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_virtual_router_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_virtual_router_peerings_operations.py index ea4d24ec00d0..d2baf4a4253c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_virtual_router_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_virtual_router_peerings_operations.py @@ -82,7 +82,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -107,8 +107,8 @@ async def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -211,7 +211,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualRouterPeering', pipeline_response) @@ -267,7 +267,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -303,8 +303,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_04_01.models.VirtualRouterPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualRouterPeering or the result of cls(response) @@ -423,7 +423,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_virtual_routers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_virtual_routers_operations.py index fccf08dd0e38..2797aa9c4407 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_virtual_routers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_virtual_routers_operations.py @@ -80,7 +80,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -102,8 +102,8 @@ async def begin_delete( :type virtual_router_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -205,7 +205,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualRouter', pipeline_response) @@ -259,7 +259,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -291,8 +291,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_04_01.models.VirtualRouter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualRouter or the result of cls(response) @@ -405,7 +405,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -472,7 +472,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_virtual_wans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_virtual_wans_operations.py index feab4dc4e2c9..4cabbf7ce94d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_virtual_wans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_virtual_wans_operations.py @@ -175,8 +175,8 @@ async def begin_create_or_update( :type wan_parameters: ~azure.mgmt.network.v2020_04_01.models.VirtualWAN :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualWAN or the result of cls(response) @@ -353,8 +353,8 @@ async def begin_delete( :type virtual_wan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_vpn_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_vpn_connections_operations.py index f628b60a48fd..b3b753242e8f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_vpn_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_vpn_connections_operations.py @@ -185,8 +185,8 @@ async def begin_create_or_update( :type vpn_connection_parameters: ~azure.mgmt.network.v2020_04_01.models.VpnConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnConnection or the result of cls(response) @@ -304,8 +304,8 @@ async def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_vpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_vpn_gateways_operations.py index 50cd0cc4702b..ec4360672c8d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_vpn_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_vpn_gateways_operations.py @@ -176,8 +176,8 @@ async def begin_create_or_update( :type vpn_gateway_parameters: ~azure.mgmt.network.v2020_04_01.models.VpnGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnGateway or the result of cls(response) @@ -354,8 +354,8 @@ async def begin_delete( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -467,8 +467,8 @@ async def begin_reset( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnGateway or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py index 80cf5f7421bc..0e6e8409da9a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py @@ -106,8 +106,8 @@ async def begin_list( :type virtual_wan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnServerConfigurationsResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_vpn_server_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_vpn_server_configurations_operations.py index d1ddbb7d468d..d847cedfebe9 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_vpn_server_configurations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_vpn_server_configurations_operations.py @@ -178,8 +178,8 @@ async def begin_create_or_update( :type vpn_server_configuration_parameters: ~azure.mgmt.network.v2020_04_01.models.VpnServerConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnServerConfiguration or the result of cls(response) @@ -357,8 +357,8 @@ async def begin_delete( :type vpn_server_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_vpn_sites_configuration_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_vpn_sites_configuration_operations.py index 919bf46ca5d2..53bd1534685c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_vpn_sites_configuration_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_vpn_sites_configuration_operations.py @@ -110,8 +110,8 @@ async def begin_download( :type request: ~azure.mgmt.network.v2020_04_01.models.GetVpnSitesConfigurationRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_vpn_sites_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_vpn_sites_operations.py index 12ffea081c60..23aff337a367 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_vpn_sites_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_vpn_sites_operations.py @@ -175,8 +175,8 @@ async def begin_create_or_update( :type vpn_site_parameters: ~azure.mgmt.network.v2020_04_01.models.VpnSite :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnSite or the result of cls(response) @@ -353,8 +353,8 @@ async def begin_delete( :type vpn_site_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_web_application_firewall_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_web_application_firewall_policies_operations.py index 6cfe12c32453..ed30a56e3853 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_web_application_firewall_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/aio/operations/_web_application_firewall_policies_operations.py @@ -365,8 +365,8 @@ async def begin_delete( :type policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/models/_models.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/models/_models.py index ef9b8e27858b..e552961e4dd6 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/models/_models.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/models/_models.py @@ -129,58 +129,55 @@ class ApplicationGateway(Resource): :vartype operational_state: str or ~azure.mgmt.network.v2020_04_01.models.ApplicationGatewayOperationalState :param gateway_ip_configurations: Subnets of the application gateway resource. For default - limits, see `Application Gateway limits `_. + limits, see `Application Gateway limits + `_. :type gateway_ip_configurations: list[~azure.mgmt.network.v2020_04_01.models.ApplicationGatewayIPConfiguration] :param authentication_certificates: Authentication certificates of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type authentication_certificates: list[~azure.mgmt.network.v2020_04_01.models.ApplicationGatewayAuthenticationCertificate] :param trusted_root_certificates: Trusted Root certificates of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type trusted_root_certificates: list[~azure.mgmt.network.v2020_04_01.models.ApplicationGatewayTrustedRootCertificate] :param ssl_certificates: SSL certificates of the application gateway resource. For default - limits, see `Application Gateway limits `_. + limits, see `Application Gateway limits + `_. :type ssl_certificates: list[~azure.mgmt.network.v2020_04_01.models.ApplicationGatewaySslCertificate] :param frontend_ip_configurations: Frontend IP addresses of the application gateway resource. - For default limits, see `Application Gateway limits `_. + For default limits, see `Application Gateway limits + `_. :type frontend_ip_configurations: list[~azure.mgmt.network.v2020_04_01.models.ApplicationGatewayFrontendIPConfiguration] :param frontend_ports: Frontend ports of the application gateway resource. For default limits, - see `Application Gateway limits `_. + see `Application Gateway limits + `_. :type frontend_ports: list[~azure.mgmt.network.v2020_04_01.models.ApplicationGatewayFrontendPort] :param probes: Probes of the application gateway resource. :type probes: list[~azure.mgmt.network.v2020_04_01.models.ApplicationGatewayProbe] :param backend_address_pools: Backend address pool of the application gateway resource. For - default limits, see `Application Gateway limits `_. + default limits, see `Application Gateway limits + `_. :type backend_address_pools: list[~azure.mgmt.network.v2020_04_01.models.ApplicationGatewayBackendAddressPool] :param backend_http_settings_collection: Backend http settings of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type backend_http_settings_collection: list[~azure.mgmt.network.v2020_04_01.models.ApplicationGatewayBackendHttpSettings] :param http_listeners: Http listeners of the application gateway resource. For default limits, - see `Application Gateway limits `_. + see `Application Gateway limits + `_. :type http_listeners: list[~azure.mgmt.network.v2020_04_01.models.ApplicationGatewayHttpListener] :param url_path_maps: URL path map of the application gateway resource. For default limits, see - `Application Gateway limits `_. + `Application Gateway limits + `_. :type url_path_maps: list[~azure.mgmt.network.v2020_04_01.models.ApplicationGatewayUrlPathMap] :param request_routing_rules: Request routing rules of the application gateway resource. :type request_routing_rules: @@ -189,8 +186,8 @@ class ApplicationGateway(Resource): :type rewrite_rule_sets: list[~azure.mgmt.network.v2020_04_01.models.ApplicationGatewayRewriteRuleSet] :param redirect_configurations: Redirect configurations of the application gateway resource. - For default limits, see `Application Gateway limits `_. + For default limits, see `Application Gateway limits + `_. :type redirect_configurations: list[~azure.mgmt.network.v2020_04_01.models.ApplicationGatewayRedirectConfiguration] :param web_application_firewall_configuration: Web application firewall configuration. @@ -1791,7 +1788,7 @@ class ApplicationGatewayRewriteRuleCondition(msrest.serialization.Model): :param pattern: The pattern, either fixed string or regular expression, that evaluates the truthfulness of the condition. :type pattern: str - :param ignore_case: Setting this paramter to truth value with force the pattern to do a case + :param ignore_case: Setting this parameter to truth value with force the pattern to do a case in-sensitive comparison. :type ignore_case: bool :param negate: Setting this value as truth will force to check the negation of the condition @@ -3836,7 +3833,7 @@ class BastionActiveSession(msrest.serialization.Model): :ivar session_id: A unique id for the session. :vartype session_id: str :ivar start_time: The time when the session started. - :vartype start_time: object + :vartype start_time: str :ivar target_subscription_id: The subscription id for the target virtual machine. :vartype target_subscription_id: str :ivar resource_type: The type of the resource. @@ -3874,7 +3871,7 @@ class BastionActiveSession(msrest.serialization.Model): _attribute_map = { 'session_id': {'key': 'sessionId', 'type': 'str'}, - 'start_time': {'key': 'startTime', 'type': 'object'}, + 'start_time': {'key': 'startTime', 'type': 'str'}, 'target_subscription_id': {'key': 'targetSubscriptionId', 'type': 'str'}, 'resource_type': {'key': 'resourceType', 'type': 'str'}, 'target_host_name': {'key': 'targetHostName', 'type': 'str'}, @@ -4131,7 +4128,7 @@ class BastionShareableLink(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param vm: Required. Reference of the virtual machine resource. - :type vm: ~azure.mgmt.network.v2020_04_01.models.Resource + :type vm: ~azure.mgmt.network.v2020_04_01.models.VM :ivar bsl: The unique Bastion Shareable Link to the virtual machine. :vartype bsl: str :ivar created_at: The time when the link was created. @@ -4149,7 +4146,7 @@ class BastionShareableLink(msrest.serialization.Model): } _attribute_map = { - 'vm': {'key': 'vm', 'type': 'Resource'}, + 'vm': {'key': 'vm', 'type': 'VM'}, 'bsl': {'key': 'bsl', 'type': 'str'}, 'created_at': {'key': 'createdAt', 'type': 'str'}, 'message': {'key': 'message', 'type': 'str'}, @@ -5657,7 +5654,7 @@ class ContainerNetworkInterface(SubResource): ~azure.mgmt.network.v2020_04_01.models.ContainerNetworkInterfaceConfiguration :param container: Reference to the container to which this container network interface is attached. - :type container: ~azure.mgmt.network.v2020_04_01.models.SubResource + :type container: ~azure.mgmt.network.v2020_04_01.models.Container :ivar ip_configurations: Reference to the ip configuration on this container nic. :vartype ip_configurations: list[~azure.mgmt.network.v2020_04_01.models.ContainerNetworkInterfaceIpConfiguration] @@ -5680,7 +5677,7 @@ class ContainerNetworkInterface(SubResource): 'type': {'key': 'type', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, 'container_network_interface_configuration': {'key': 'properties.containerNetworkInterfaceConfiguration', 'type': 'ContainerNetworkInterfaceConfiguration'}, - 'container': {'key': 'properties.container', 'type': 'SubResource'}, + 'container': {'key': 'properties.container', 'type': 'Container'}, 'ip_configurations': {'key': 'properties.ipConfigurations', 'type': '[ContainerNetworkInterfaceIpConfiguration]'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, } @@ -13460,8 +13457,8 @@ class PacketCaptureStorageLocation(msrest.serialization.Model): :param storage_id: The ID of the storage account to save the packet capture session. Required if no local file path is provided. :type storage_id: str - :param storage_path: The URI of the storage path to save the packet capture. Must be a well- - formed URI describing the location to save the packet capture. + :param storage_path: The URI of the storage path to save the packet capture. Must be a + well-formed URI describing the location to save the packet capture. :type storage_path: str :param file_path: A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no @@ -14101,9 +14098,10 @@ class PrivateLinkService(Resource): :vartype private_endpoint_connections: list[~azure.mgmt.network.v2020_04_01.models.PrivateEndpointConnection] :param visibility: The visibility list of the private link service. - :type visibility: ~azure.mgmt.network.v2020_04_01.models.ResourceSet + :type visibility: ~azure.mgmt.network.v2020_04_01.models.PrivateLinkServicePropertiesVisibility :param auto_approval: The auto-approval list of the private link service. - :type auto_approval: ~azure.mgmt.network.v2020_04_01.models.ResourceSet + :type auto_approval: + ~azure.mgmt.network.v2020_04_01.models.PrivateLinkServicePropertiesAutoApproval :param fqdns: The list of Fqdn. :type fqdns: list[str] :ivar alias: The alias of the private link service. @@ -14135,8 +14133,8 @@ class PrivateLinkService(Resource): 'network_interfaces': {'key': 'properties.networkInterfaces', 'type': '[NetworkInterface]'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'private_endpoint_connections': {'key': 'properties.privateEndpointConnections', 'type': '[PrivateEndpointConnection]'}, - 'visibility': {'key': 'properties.visibility', 'type': 'ResourceSet'}, - 'auto_approval': {'key': 'properties.autoApproval', 'type': 'ResourceSet'}, + 'visibility': {'key': 'properties.visibility', 'type': 'PrivateLinkServicePropertiesVisibility'}, + 'auto_approval': {'key': 'properties.autoApproval', 'type': 'PrivateLinkServicePropertiesAutoApproval'}, 'fqdns': {'key': 'properties.fqdns', 'type': '[str]'}, 'alias': {'key': 'properties.alias', 'type': 'str'}, 'enable_proxy_protocol': {'key': 'properties.enableProxyProtocol', 'type': 'bool'}, @@ -18199,8 +18197,8 @@ class VirtualNetworkPeering(SubResource): :type use_remote_gateways: bool :param remote_virtual_network: The reference to the remote virtual network. The remote virtual network can be in the same or different region (preview). See here to register for the preview - and learn more (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create- - peering). + and learn more + (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering). :type remote_virtual_network: ~azure.mgmt.network.v2020_04_01.models.SubResource :param remote_address_space: The reference to the remote virtual network address space. :type remote_address_space: ~azure.mgmt.network.v2020_04_01.models.AddressSpace diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/models/_models_py3.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/models/_models_py3.py index e1ae28295d94..01cb7c45b1de 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/models/_models_py3.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/models/_models_py3.py @@ -144,58 +144,55 @@ class ApplicationGateway(Resource): :vartype operational_state: str or ~azure.mgmt.network.v2020_04_01.models.ApplicationGatewayOperationalState :param gateway_ip_configurations: Subnets of the application gateway resource. For default - limits, see `Application Gateway limits `_. + limits, see `Application Gateway limits + `_. :type gateway_ip_configurations: list[~azure.mgmt.network.v2020_04_01.models.ApplicationGatewayIPConfiguration] :param authentication_certificates: Authentication certificates of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type authentication_certificates: list[~azure.mgmt.network.v2020_04_01.models.ApplicationGatewayAuthenticationCertificate] :param trusted_root_certificates: Trusted Root certificates of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type trusted_root_certificates: list[~azure.mgmt.network.v2020_04_01.models.ApplicationGatewayTrustedRootCertificate] :param ssl_certificates: SSL certificates of the application gateway resource. For default - limits, see `Application Gateway limits `_. + limits, see `Application Gateway limits + `_. :type ssl_certificates: list[~azure.mgmt.network.v2020_04_01.models.ApplicationGatewaySslCertificate] :param frontend_ip_configurations: Frontend IP addresses of the application gateway resource. - For default limits, see `Application Gateway limits `_. + For default limits, see `Application Gateway limits + `_. :type frontend_ip_configurations: list[~azure.mgmt.network.v2020_04_01.models.ApplicationGatewayFrontendIPConfiguration] :param frontend_ports: Frontend ports of the application gateway resource. For default limits, - see `Application Gateway limits `_. + see `Application Gateway limits + `_. :type frontend_ports: list[~azure.mgmt.network.v2020_04_01.models.ApplicationGatewayFrontendPort] :param probes: Probes of the application gateway resource. :type probes: list[~azure.mgmt.network.v2020_04_01.models.ApplicationGatewayProbe] :param backend_address_pools: Backend address pool of the application gateway resource. For - default limits, see `Application Gateway limits `_. + default limits, see `Application Gateway limits + `_. :type backend_address_pools: list[~azure.mgmt.network.v2020_04_01.models.ApplicationGatewayBackendAddressPool] :param backend_http_settings_collection: Backend http settings of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type backend_http_settings_collection: list[~azure.mgmt.network.v2020_04_01.models.ApplicationGatewayBackendHttpSettings] :param http_listeners: Http listeners of the application gateway resource. For default limits, - see `Application Gateway limits `_. + see `Application Gateway limits + `_. :type http_listeners: list[~azure.mgmt.network.v2020_04_01.models.ApplicationGatewayHttpListener] :param url_path_maps: URL path map of the application gateway resource. For default limits, see - `Application Gateway limits `_. + `Application Gateway limits + `_. :type url_path_maps: list[~azure.mgmt.network.v2020_04_01.models.ApplicationGatewayUrlPathMap] :param request_routing_rules: Request routing rules of the application gateway resource. :type request_routing_rules: @@ -204,8 +201,8 @@ class ApplicationGateway(Resource): :type rewrite_rule_sets: list[~azure.mgmt.network.v2020_04_01.models.ApplicationGatewayRewriteRuleSet] :param redirect_configurations: Redirect configurations of the application gateway resource. - For default limits, see `Application Gateway limits `_. + For default limits, see `Application Gateway limits + `_. :type redirect_configurations: list[~azure.mgmt.network.v2020_04_01.models.ApplicationGatewayRedirectConfiguration] :param web_application_firewall_configuration: Web application firewall configuration. @@ -2021,7 +2018,7 @@ class ApplicationGatewayRewriteRuleCondition(msrest.serialization.Model): :param pattern: The pattern, either fixed string or regular expression, that evaluates the truthfulness of the condition. :type pattern: str - :param ignore_case: Setting this paramter to truth value with force the pattern to do a case + :param ignore_case: Setting this parameter to truth value with force the pattern to do a case in-sensitive comparison. :type ignore_case: bool :param negate: Setting this value as truth will force to check the negation of the condition @@ -4310,7 +4307,7 @@ class BastionActiveSession(msrest.serialization.Model): :ivar session_id: A unique id for the session. :vartype session_id: str :ivar start_time: The time when the session started. - :vartype start_time: object + :vartype start_time: str :ivar target_subscription_id: The subscription id for the target virtual machine. :vartype target_subscription_id: str :ivar resource_type: The type of the resource. @@ -4348,7 +4345,7 @@ class BastionActiveSession(msrest.serialization.Model): _attribute_map = { 'session_id': {'key': 'sessionId', 'type': 'str'}, - 'start_time': {'key': 'startTime', 'type': 'object'}, + 'start_time': {'key': 'startTime', 'type': 'str'}, 'target_subscription_id': {'key': 'targetSubscriptionId', 'type': 'str'}, 'resource_type': {'key': 'resourceType', 'type': 'str'}, 'target_host_name': {'key': 'targetHostName', 'type': 'str'}, @@ -4626,7 +4623,7 @@ class BastionShareableLink(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param vm: Required. Reference of the virtual machine resource. - :type vm: ~azure.mgmt.network.v2020_04_01.models.Resource + :type vm: ~azure.mgmt.network.v2020_04_01.models.VM :ivar bsl: The unique Bastion Shareable Link to the virtual machine. :vartype bsl: str :ivar created_at: The time when the link was created. @@ -4644,7 +4641,7 @@ class BastionShareableLink(msrest.serialization.Model): } _attribute_map = { - 'vm': {'key': 'vm', 'type': 'Resource'}, + 'vm': {'key': 'vm', 'type': 'VM'}, 'bsl': {'key': 'bsl', 'type': 'str'}, 'created_at': {'key': 'createdAt', 'type': 'str'}, 'message': {'key': 'message', 'type': 'str'}, @@ -4653,7 +4650,7 @@ class BastionShareableLink(msrest.serialization.Model): def __init__( self, *, - vm: "Resource", + vm: "VM", **kwargs ): super(BastionShareableLink, self).__init__(**kwargs) @@ -6321,7 +6318,7 @@ class ContainerNetworkInterface(SubResource): ~azure.mgmt.network.v2020_04_01.models.ContainerNetworkInterfaceConfiguration :param container: Reference to the container to which this container network interface is attached. - :type container: ~azure.mgmt.network.v2020_04_01.models.SubResource + :type container: ~azure.mgmt.network.v2020_04_01.models.Container :ivar ip_configurations: Reference to the ip configuration on this container nic. :vartype ip_configurations: list[~azure.mgmt.network.v2020_04_01.models.ContainerNetworkInterfaceIpConfiguration] @@ -6344,7 +6341,7 @@ class ContainerNetworkInterface(SubResource): 'type': {'key': 'type', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, 'container_network_interface_configuration': {'key': 'properties.containerNetworkInterfaceConfiguration', 'type': 'ContainerNetworkInterfaceConfiguration'}, - 'container': {'key': 'properties.container', 'type': 'SubResource'}, + 'container': {'key': 'properties.container', 'type': 'Container'}, 'ip_configurations': {'key': 'properties.ipConfigurations', 'type': '[ContainerNetworkInterfaceIpConfiguration]'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, } @@ -6354,7 +6351,7 @@ def __init__( *, id: Optional[str] = None, name: Optional[str] = None, - container: Optional["SubResource"] = None, + container: Optional["Container"] = None, **kwargs ): super(ContainerNetworkInterface, self).__init__(id=id, **kwargs) @@ -15001,8 +14998,8 @@ class PacketCaptureStorageLocation(msrest.serialization.Model): :param storage_id: The ID of the storage account to save the packet capture session. Required if no local file path is provided. :type storage_id: str - :param storage_path: The URI of the storage path to save the packet capture. Must be a well- - formed URI describing the location to save the packet capture. + :param storage_path: The URI of the storage path to save the packet capture. Must be a + well-formed URI describing the location to save the packet capture. :type storage_path: str :param file_path: A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no @@ -15700,9 +15697,10 @@ class PrivateLinkService(Resource): :vartype private_endpoint_connections: list[~azure.mgmt.network.v2020_04_01.models.PrivateEndpointConnection] :param visibility: The visibility list of the private link service. - :type visibility: ~azure.mgmt.network.v2020_04_01.models.ResourceSet + :type visibility: ~azure.mgmt.network.v2020_04_01.models.PrivateLinkServicePropertiesVisibility :param auto_approval: The auto-approval list of the private link service. - :type auto_approval: ~azure.mgmt.network.v2020_04_01.models.ResourceSet + :type auto_approval: + ~azure.mgmt.network.v2020_04_01.models.PrivateLinkServicePropertiesAutoApproval :param fqdns: The list of Fqdn. :type fqdns: list[str] :ivar alias: The alias of the private link service. @@ -15734,8 +15732,8 @@ class PrivateLinkService(Resource): 'network_interfaces': {'key': 'properties.networkInterfaces', 'type': '[NetworkInterface]'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'private_endpoint_connections': {'key': 'properties.privateEndpointConnections', 'type': '[PrivateEndpointConnection]'}, - 'visibility': {'key': 'properties.visibility', 'type': 'ResourceSet'}, - 'auto_approval': {'key': 'properties.autoApproval', 'type': 'ResourceSet'}, + 'visibility': {'key': 'properties.visibility', 'type': 'PrivateLinkServicePropertiesVisibility'}, + 'auto_approval': {'key': 'properties.autoApproval', 'type': 'PrivateLinkServicePropertiesAutoApproval'}, 'fqdns': {'key': 'properties.fqdns', 'type': '[str]'}, 'alias': {'key': 'properties.alias', 'type': 'str'}, 'enable_proxy_protocol': {'key': 'properties.enableProxyProtocol', 'type': 'bool'}, @@ -15749,8 +15747,8 @@ def __init__( tags: Optional[Dict[str, str]] = None, load_balancer_frontend_ip_configurations: Optional[List["FrontendIPConfiguration"]] = None, ip_configurations: Optional[List["PrivateLinkServiceIpConfiguration"]] = None, - visibility: Optional["ResourceSet"] = None, - auto_approval: Optional["ResourceSet"] = None, + visibility: Optional["PrivateLinkServicePropertiesVisibility"] = None, + auto_approval: Optional["PrivateLinkServicePropertiesAutoApproval"] = None, fqdns: Optional[List[str]] = None, enable_proxy_protocol: Optional[bool] = None, **kwargs @@ -20253,8 +20251,8 @@ class VirtualNetworkPeering(SubResource): :type use_remote_gateways: bool :param remote_virtual_network: The reference to the remote virtual network. The remote virtual network can be in the same or different region (preview). See here to register for the preview - and learn more (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create- - peering). + and learn more + (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering). :type remote_virtual_network: ~azure.mgmt.network.v2020_04_01.models.SubResource :param remote_address_space: The reference to the remote virtual network address space. :type remote_address_space: ~azure.mgmt.network.v2020_04_01.models.AddressSpace diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_application_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_application_gateways_operations.py index f665f198a1e7..dbe235035671 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_application_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_application_gateways_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -292,8 +292,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_04_01.models.ApplicationGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGateway or the result of cls(response) @@ -611,8 +611,8 @@ def begin_start( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -721,8 +721,8 @@ def begin_stop( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -842,8 +842,8 @@ def begin_backend_health( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGatewayBackendHealth or the result of cls(response) @@ -977,8 +977,8 @@ def begin_backend_health_on_demand( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGatewayBackendHealthOnDemand or the result of cls(response) @@ -1073,7 +1073,7 @@ def list_available_server_variables( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) @@ -1125,7 +1125,7 @@ def list_available_request_headers( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) @@ -1177,7 +1177,7 @@ def list_available_response_headers( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_application_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_application_security_groups_operations.py index e81fe4c59c9c..d827b853fb9f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_application_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_application_security_groups_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type application_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -293,8 +293,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_04_01.models.ApplicationSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_azure_firewalls_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_azure_firewalls_operations.py index 375e01a0a7d1..252777c3e911 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_azure_firewalls_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_azure_firewalls_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type azure_firewall_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -292,8 +292,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_04_01.models.AzureFirewall :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AzureFirewall or the result of cls(response) @@ -420,8 +420,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2020_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AzureFirewall or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_bastion_hosts_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_bastion_hosts_operations.py index d91cabb4ad0b..2800dfb7bf38 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_bastion_hosts_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_bastion_hosts_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type bastion_host_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -292,8 +292,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_04_01.models.BastionHost :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either BastionHost or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_connection_monitors_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_connection_monitors_operations.py index f0f55346c966..f11f2ab148c0 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_connection_monitors_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_connection_monitors_operations.py @@ -93,7 +93,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -129,8 +129,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_04_01.models.ConnectionMonitor :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionMonitorResult or the result of cls(response) @@ -238,7 +238,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('ConnectionMonitorResult', pipeline_response) @@ -289,7 +289,7 @@ def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -315,8 +315,8 @@ def begin_delete( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -428,7 +428,7 @@ def update_tags( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('ConnectionMonitorResult', pipeline_response) @@ -479,7 +479,7 @@ def _stop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -505,8 +505,8 @@ def begin_stop( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -597,7 +597,7 @@ def _start_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -623,8 +623,8 @@ def begin_start( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -715,7 +715,7 @@ def _query_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -748,8 +748,8 @@ def begin_query( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionMonitorQueryResult or the result of cls(response) @@ -868,7 +868,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_ddos_custom_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_ddos_custom_policies_operations.py index 42d06b6aabf5..70e26135a83d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_ddos_custom_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_ddos_custom_policies_operations.py @@ -106,8 +106,8 @@ def begin_delete( :type ddos_custom_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -291,8 +291,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_04_01.models.DdosCustomPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either DdosCustomPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_ddos_protection_plans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_ddos_protection_plans_operations.py index 5e44528dd5cb..800ba8d2ae3d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_ddos_protection_plans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_ddos_protection_plans_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type ddos_protection_plan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -292,8 +292,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_04_01.models.DdosProtectionPlan :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either DdosProtectionPlan or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_express_route_circuit_authorizations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_express_route_circuit_authorizations_operations.py index c7917b3726a0..ac913d2d1b77 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_express_route_circuit_authorizations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_express_route_circuit_authorizations_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type authorization_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -309,8 +309,8 @@ def begin_create_or_update( :type authorization_parameters: ~azure.mgmt.network.v2020_04_01.models.ExpressRouteCircuitAuthorization :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitAuthorization or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_express_route_circuit_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_express_route_circuit_connections_operations.py index 277229816121..671b07ac5deb 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_express_route_circuit_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_express_route_circuit_connections_operations.py @@ -118,8 +118,8 @@ def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -326,8 +326,8 @@ def begin_create_or_update( :type express_route_circuit_connection_parameters: ~azure.mgmt.network.v2020_04_01.models.ExpressRouteCircuitConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitConnection or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_express_route_circuit_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_express_route_circuit_peerings_operations.py index 938a45f3f90e..6377d5e9e757 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_express_route_circuit_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_express_route_circuit_peerings_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -309,8 +309,8 @@ def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2020_04_01.models.ExpressRouteCircuitPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_express_route_circuits_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_express_route_circuits_operations.py index e2ed74a49627..fee189739c56 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_express_route_circuits_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_express_route_circuits_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type circuit_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -292,8 +292,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_04_01.models.ExpressRouteCircuit :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -489,8 +489,8 @@ def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -622,8 +622,8 @@ def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) @@ -755,8 +755,8 @@ def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableSummaryListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_express_route_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_express_route_connections_operations.py index 2d13e6e5f42d..e7d7bdb25686 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_express_route_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_express_route_connections_operations.py @@ -128,8 +128,8 @@ def begin_create_or_update( :type put_express_route_connection_parameters: ~azure.mgmt.network.v2020_04_01.models.ExpressRouteConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteConnection or the result of cls(response) @@ -312,8 +312,8 @@ def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_express_route_cross_connection_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_express_route_cross_connection_peerings_operations.py index 2df08cc8107f..fefd6eb1702f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_express_route_cross_connection_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_express_route_cross_connection_peerings_operations.py @@ -187,8 +187,8 @@ def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -384,8 +384,8 @@ def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2020_04_01.models.ExpressRouteCrossConnectionPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCrossConnectionPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_express_route_cross_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_express_route_cross_connections_operations.py index 1f56c9f6998d..27aa9d63846d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_express_route_cross_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_express_route_cross_connections_operations.py @@ -317,8 +317,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_04_01.models.ExpressRouteCrossConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCrossConnection or the result of cls(response) @@ -515,8 +515,8 @@ def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -648,8 +648,8 @@ def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCrossConnectionsRoutesTableSummaryListResult or the result of cls(response) @@ -781,8 +781,8 @@ def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_express_route_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_express_route_gateways_operations.py index 770d63a877f5..ec45154697fe 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_express_route_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_express_route_gateways_operations.py @@ -229,8 +229,8 @@ def begin_create_or_update( :type put_express_route_gateway_parameters: ~azure.mgmt.network.v2020_04_01.models.ExpressRouteGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteGateway or the result of cls(response) @@ -403,8 +403,8 @@ def begin_delete( :type express_route_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_express_route_ports_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_express_route_ports_operations.py index ff7d8e1ce2dc..5009c0ab5caf 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_express_route_ports_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_express_route_ports_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type express_route_port_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -292,8 +292,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_04_01.models.ExpressRoutePort :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRoutePort or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_firewall_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_firewall_policies_operations.py index 856c02b37237..d99271cb5c8d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_firewall_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_firewall_policies_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type firewall_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_04_01.models.FirewallPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FirewallPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_firewall_policy_rule_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_firewall_policy_rule_groups_operations.py index ffc363c962fb..0ae0d12697a9 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_firewall_policy_rule_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_firewall_policy_rule_groups_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type rule_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -309,8 +309,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_04_01.models.FirewallPolicyRuleGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FirewallPolicyRuleGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_flow_logs_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_flow_logs_operations.py index 2ae9bf66dcdd..8adf822edacb 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_flow_logs_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_flow_logs_operations.py @@ -93,7 +93,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -129,8 +129,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_04_01.models.FlowLog :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FlowLog or the result of cls(response) @@ -238,7 +238,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('FlowLog', pipeline_response) @@ -289,7 +289,7 @@ def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -315,8 +315,8 @@ def begin_delete( :type flow_log_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -432,7 +432,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_hub_route_tables_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_hub_route_tables_operations.py index 2d85e58d66ea..3a52acabed53 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_hub_route_tables_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_hub_route_tables_operations.py @@ -128,8 +128,8 @@ def begin_create_or_update( :type route_table_parameters: ~azure.mgmt.network.v2020_04_01.models.HubRouteTable :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either HubRouteTable or the result of cls(response) @@ -312,8 +312,8 @@ def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_inbound_nat_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_inbound_nat_rules_operations.py index 55ae5b497a78..dbdfb0411a95 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_inbound_nat_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_inbound_nat_rules_operations.py @@ -187,8 +187,8 @@ def begin_delete( :type inbound_nat_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -389,8 +389,8 @@ def begin_create_or_update( :type inbound_nat_rule_parameters: ~azure.mgmt.network.v2020_04_01.models.InboundNatRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either InboundNatRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_ip_allocations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_ip_allocations_operations.py index a06d2feaa982..e5f737dd9bb3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_ip_allocations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_ip_allocations_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type ip_allocation_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_04_01.models.IpAllocation :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either IpAllocation or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_ip_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_ip_groups_operations.py index 2348eec946af..a377c4145d08 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_ip_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_ip_groups_operations.py @@ -102,7 +102,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('IpGroup', pipeline_response) @@ -157,7 +157,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -190,8 +190,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_04_01.models.IpGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either IpGroup or the result of cls(response) @@ -301,7 +301,7 @@ def update_groups( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('IpGroup', pipeline_response) @@ -350,7 +350,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -373,8 +373,8 @@ def begin_delete( :type ip_groups_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -484,7 +484,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -552,7 +552,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_load_balancer_backend_address_pools_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_load_balancer_backend_address_pools_operations.py index 7a20bbfcbaab..a700692bbcd0 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_load_balancer_backend_address_pools_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_load_balancer_backend_address_pools_operations.py @@ -267,8 +267,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_04_01.models.BackendAddressPool :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either BackendAddressPool or the result of cls(response) @@ -388,8 +388,8 @@ def begin_delete( :type backend_address_pool_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_load_balancers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_load_balancers_operations.py index 5ca7c0fc692b..40506eaf8bba 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_load_balancers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_load_balancers_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type load_balancer_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_04_01.models.LoadBalancer :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LoadBalancer or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_local_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_local_network_gateways_operations.py index 30d6f8f36602..a054f4c9da97 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_local_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_local_network_gateways_operations.py @@ -123,8 +123,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_04_01.models.LocalNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LocalNetworkGateway or the result of cls(response) @@ -296,8 +296,8 @@ def begin_delete( :type local_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_nat_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_nat_gateways_operations.py index 5a0457f2ee58..2abc1b7c35e2 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_nat_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_nat_gateways_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type nat_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -300,8 +300,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_04_01.models.NatGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NatGateway or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_network_interface_tap_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_network_interface_tap_configurations_operations.py index dcdf2e5137ee..f7715e580615 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_network_interface_tap_configurations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_network_interface_tap_configurations_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type tap_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -309,8 +309,8 @@ def begin_create_or_update( :type tap_configuration_parameters: ~azure.mgmt.network.v2020_04_01.models.NetworkInterfaceTapConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkInterfaceTapConfiguration or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_network_interfaces_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_network_interfaces_operations.py index c5dc67e61d27..ebe7ff00629c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_network_interfaces_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_network_interfaces_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_04_01.models.NetworkInterface :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkInterface or the result of cls(response) @@ -621,8 +621,8 @@ def begin_get_effective_route_table( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either EffectiveRouteListResult or the result of cls(response) @@ -739,8 +739,8 @@ def begin_list_effective_network_security_groups( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either EffectiveNetworkSecurityGroupListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_network_management_client_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_network_management_client_operations.py index aa91bcd7d3e1..9ebc53d800f8 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_network_management_client_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_network_management_client_operations.py @@ -101,8 +101,8 @@ def begin_put_bastion_shareable_link( :type bsl_request: ~azure.mgmt.network.v2020_04_01.models.BastionShareableLinkListRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns an iterator like instance of either BastionShareableLinkListResult or the result of cls(response) @@ -286,8 +286,8 @@ def begin_delete_bastion_shareable_link( :type bsl_request: ~azure.mgmt.network.v2020_04_01.models.BastionShareableLinkListRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -488,8 +488,8 @@ def begin_get_active_sessions( :type bastion_host_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns an iterator like instance of either BastionActiveSessionListResult or the result of cls(response) @@ -878,8 +878,8 @@ def begin_generatevirtualwanvpnserverconfigurationvpnprofile( :type vpn_client_params: ~azure.mgmt.network.v2020_04_01.models.VirtualWanVpnProfileParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnProfileResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_network_profiles_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_network_profiles_operations.py index 999bfe2a4e63..7820a32615d1 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_network_profiles_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_network_profiles_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type network_profile_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_network_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_network_security_groups_operations.py index e83a0f4808dc..3b70127b3ef9 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_network_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_network_security_groups_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type network_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_04_01.models.NetworkSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_network_virtual_appliances_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_network_virtual_appliances_operations.py index 46d28b0ef26c..e0fd4d02dd1b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_network_virtual_appliances_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_network_virtual_appliances_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type network_virtual_appliance_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -364,8 +364,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_04_01.models.NetworkVirtualAppliance :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkVirtualAppliance or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_network_watchers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_network_watchers_operations.py index a0459985ef52..3f0915f383c3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_network_watchers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_network_watchers_operations.py @@ -104,7 +104,7 @@ def create_or_update( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -168,7 +168,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('NetworkWatcher', pipeline_response) @@ -217,7 +217,7 @@ def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -240,8 +240,8 @@ def begin_delete( :type network_watcher_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -347,7 +347,7 @@ def update_tags( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('NetworkWatcher', pipeline_response) @@ -419,7 +419,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -487,7 +487,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -555,7 +555,7 @@ def get_topology( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('Topology', pipeline_response) @@ -610,7 +610,7 @@ def _verify_ip_flow_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -643,8 +643,8 @@ def begin_verify_ip_flow( :type parameters: ~azure.mgmt.network.v2020_04_01.models.VerificationIPFlowParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VerificationIPFlowResult or the result of cls(response) @@ -741,7 +741,7 @@ def _get_next_hop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -774,8 +774,8 @@ def begin_get_next_hop( :type parameters: ~azure.mgmt.network.v2020_04_01.models.NextHopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NextHopResult or the result of cls(response) @@ -872,7 +872,7 @@ def _get_vm_security_rules_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -905,8 +905,8 @@ def begin_get_vm_security_rules( :type parameters: ~azure.mgmt.network.v2020_04_01.models.SecurityGroupViewParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either SecurityGroupViewResult or the result of cls(response) @@ -1003,7 +1003,7 @@ def _get_troubleshooting_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1036,8 +1036,8 @@ def begin_get_troubleshooting( :type parameters: ~azure.mgmt.network.v2020_04_01.models.TroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1134,7 +1134,7 @@ def _get_troubleshooting_result_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1167,8 +1167,8 @@ def begin_get_troubleshooting_result( :type parameters: ~azure.mgmt.network.v2020_04_01.models.QueryTroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1265,7 +1265,7 @@ def _set_flow_log_configuration_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1298,8 +1298,8 @@ def begin_set_flow_log_configuration( :type parameters: ~azure.mgmt.network.v2020_04_01.models.FlowLogInformation :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1396,7 +1396,7 @@ def _get_flow_log_status_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1430,8 +1430,8 @@ def begin_get_flow_log_status( :type parameters: ~azure.mgmt.network.v2020_04_01.models.FlowLogStatusParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1528,7 +1528,7 @@ def _check_connectivity_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1562,8 +1562,8 @@ def begin_check_connectivity( :type parameters: ~azure.mgmt.network.v2020_04_01.models.ConnectivityParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectivityInformation or the result of cls(response) @@ -1660,7 +1660,7 @@ def _get_azure_reachability_report_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1695,8 +1695,8 @@ def begin_get_azure_reachability_report( :type parameters: ~azure.mgmt.network.v2020_04_01.models.AzureReachabilityReportParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AzureReachabilityReport or the result of cls(response) @@ -1793,7 +1793,7 @@ def _list_available_providers_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1827,8 +1827,8 @@ def begin_list_available_providers( :type parameters: ~azure.mgmt.network.v2020_04_01.models.AvailableProvidersListParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AvailableProvidersList or the result of cls(response) @@ -1925,7 +1925,7 @@ def _get_network_configuration_diagnostic_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1962,8 +1962,8 @@ def begin_get_network_configuration_diagnostic( :type parameters: ~azure.mgmt.network.v2020_04_01.models.NetworkConfigurationDiagnosticParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkConfigurationDiagnosticResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_p2_svpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_p2_svpn_gateways_operations.py index 1c2e447c8ebd..6775a86903d6 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_p2_svpn_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_p2_svpn_gateways_operations.py @@ -183,8 +183,8 @@ def begin_create_or_update( :type p2_s_vpn_gateway_parameters: ~azure.mgmt.network.v2020_04_01.models.P2SVpnGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -365,8 +365,8 @@ def begin_delete( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -628,8 +628,8 @@ def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2020_04_01.models.P2SVpnProfileParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnProfileResponse or the result of cls(response) @@ -748,8 +748,8 @@ def begin_get_p2_s_vpn_connection_health( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -876,8 +876,8 @@ def begin_get_p2_s_vpn_connection_health_detailed( :type request: ~azure.mgmt.network.v2020_04_01.models.P2SVpnConnectionHealthRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either P2SVpnConnectionHealth or the result of cls(response) @@ -1000,8 +1000,8 @@ def begin_disconnect_p2_s_vpn_connections( :type request: ~azure.mgmt.network.v2020_04_01.models.P2SVpnConnectionRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_packet_captures_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_packet_captures_operations.py index 39f358eea6eb..133cedf31e58 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_packet_captures_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_packet_captures_operations.py @@ -93,7 +93,7 @@ def _create_initial( if response.status_code not in [201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PacketCaptureResult', pipeline_response) @@ -125,8 +125,8 @@ def begin_create( :type parameters: ~azure.mgmt.network.v2020_04_01.models.PacketCapture :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PacketCaptureResult or the result of cls(response) @@ -234,7 +234,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PacketCaptureResult', pipeline_response) @@ -285,7 +285,7 @@ def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -311,8 +311,8 @@ def begin_delete( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -403,7 +403,7 @@ def _stop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -429,8 +429,8 @@ def begin_stop( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -521,7 +521,7 @@ def _get_status_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -554,8 +554,8 @@ def begin_get_status( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PacketCaptureQueryStatusResult or the result of cls(response) @@ -674,7 +674,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_private_dns_zone_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_private_dns_zone_groups_operations.py index c5f17ae0e338..9d10161cc8ef 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_private_dns_zone_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_private_dns_zone_groups_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type private_dns_zone_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -309,8 +309,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_04_01.models.PrivateDnsZoneGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PrivateDnsZoneGroup or the result of cls(response) @@ -430,7 +430,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_private_endpoints_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_private_endpoints_operations.py index 6e63bd68d8dc..b866599d8428 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_private_endpoints_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_private_endpoints_operations.py @@ -85,7 +85,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -108,8 +108,8 @@ def begin_delete( :type private_endpoint_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -212,7 +212,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateEndpoint', pipeline_response) @@ -267,7 +267,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -300,8 +300,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_04_01.models.PrivateEndpoint :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PrivateEndpoint or the result of cls(response) @@ -415,7 +415,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -483,7 +483,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_private_link_services_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_private_link_services_operations.py index 7fe315d4be3b..013b5824d717 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_private_link_services_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_private_link_services_operations.py @@ -85,7 +85,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -108,8 +108,8 @@ def begin_delete( :type service_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -212,7 +212,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateLinkService', pipeline_response) @@ -267,7 +267,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -300,8 +300,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_04_01.models.PrivateLinkService :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PrivateLinkService or the result of cls(response) @@ -415,7 +415,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -483,7 +483,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -553,7 +553,7 @@ def get_private_endpoint_connection( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateEndpointConnection', pipeline_response) @@ -625,7 +625,7 @@ def update_private_endpoint_connection( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateEndpointConnection', pipeline_response) @@ -676,7 +676,7 @@ def _delete_private_endpoint_connection_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -702,8 +702,8 @@ def begin_delete_private_endpoint_connection( :type pe_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -819,7 +819,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -899,8 +899,8 @@ def begin_check_private_link_service_visibility( :type parameters: ~azure.mgmt.network.v2020_04_01.models.CheckPrivateLinkServiceVisibilityRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PrivateLinkServiceVisibility or the result of cls(response) @@ -1026,8 +1026,8 @@ def begin_check_private_link_service_visibility_by_resource_group( :type parameters: ~azure.mgmt.network.v2020_04_01.models.CheckPrivateLinkServiceVisibilityRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PrivateLinkServiceVisibility or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_public_ip_addresses_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_public_ip_addresses_operations.py index 6854c227d22d..978238ccb4b6 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_public_ip_addresses_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_public_ip_addresses_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type public_ip_address_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_04_01.models.PublicIPAddress :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PublicIPAddress or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_public_ip_prefixes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_public_ip_prefixes_operations.py index 72bb15940f3b..b24fcd492095 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_public_ip_prefixes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_public_ip_prefixes_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type public_ip_prefix_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_04_01.models.PublicIPPrefix :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PublicIPPrefix or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_route_filter_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_route_filter_rules_operations.py index 9d08f0b71c0d..46f6cb8b4253 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_route_filter_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_route_filter_rules_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -309,8 +309,8 @@ def begin_create_or_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2020_04_01.models.RouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilterRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_route_filters_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_route_filters_operations.py index 2fa0c040687c..78565408833d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_route_filters_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_route_filters_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type route_filter_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ def begin_create_or_update( :type route_filter_parameters: ~azure.mgmt.network.v2020_04_01.models.RouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilter or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_route_tables_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_route_tables_operations.py index fb01f9acd312..14787b301fb3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_route_tables_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_route_tables_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_04_01.models.RouteTable :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteTable or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_routes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_routes_operations.py index ab8474120252..b4148df94268 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_routes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_routes_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type route_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -308,8 +308,8 @@ def begin_create_or_update( :type route_parameters: ~azure.mgmt.network.v2020_04_01.models.Route :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Route or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_security_partner_providers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_security_partner_providers_operations.py index 19295ca16851..d24e4644a4ba 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_security_partner_providers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_security_partner_providers_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type security_partner_provider_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -293,8 +293,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_04_01.models.SecurityPartnerProvider :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either SecurityPartnerProvider or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_security_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_security_rules_operations.py index 9db4316c7aad..acfada54fdcb 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_security_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_security_rules_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type security_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -309,8 +309,8 @@ def begin_create_or_update( :type security_rule_parameters: ~azure.mgmt.network.v2020_04_01.models.SecurityRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either SecurityRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_service_endpoint_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_service_endpoint_policies_operations.py index 689f425275f5..69b7c199d6a3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_service_endpoint_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_service_endpoint_policies_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type service_endpoint_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_04_01.models.ServiceEndpointPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ServiceEndpointPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_service_endpoint_policy_definitions_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_service_endpoint_policy_definitions_operations.py index 13b3d9db57c3..352611430246 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_service_endpoint_policy_definitions_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_service_endpoint_policy_definitions_operations.py @@ -113,8 +113,8 @@ def begin_delete( :type service_endpoint_policy_definition_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -313,8 +313,8 @@ def begin_create_or_update( :type service_endpoint_policy_definitions: ~azure.mgmt.network.v2020_04_01.models.ServiceEndpointPolicyDefinition :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ServiceEndpointPolicyDefinition or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_subnets_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_subnets_operations.py index 455e52ce89dd..f9dc3678f1ac 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_subnets_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_subnets_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type subnet_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -313,8 +313,8 @@ def begin_create_or_update( :type subnet_parameters: ~azure.mgmt.network.v2020_04_01.models.Subnet :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Subnet or the result of cls(response) @@ -444,8 +444,8 @@ def begin_prepare_network_policies( :type prepare_network_policies_request_parameters: ~azure.mgmt.network.v2020_04_01.models.PrepareNetworkPoliciesRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -572,8 +572,8 @@ def begin_unprepare_network_policies( :type unprepare_network_policies_request_parameters: ~azure.mgmt.network.v2020_04_01.models.UnprepareNetworkPoliciesRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_virtual_hub_route_table_v2_s_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_virtual_hub_route_table_v2_s_operations.py index 368bd20b4188..2cb07f5a4f18 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_virtual_hub_route_table_v2_s_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_virtual_hub_route_table_v2_s_operations.py @@ -100,7 +100,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualHubRouteTableV2', pipeline_response) @@ -157,7 +157,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -195,8 +195,8 @@ def begin_create_or_update( :type virtual_hub_route_table_v2_parameters: ~azure.mgmt.network.v2020_04_01.models.VirtualHubRouteTableV2 :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualHubRouteTableV2 or the result of cls(response) @@ -291,7 +291,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -317,8 +317,8 @@ def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_virtual_hubs_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_virtual_hubs_operations.py index e1487e6ed45c..acf93038a299 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_virtual_hubs_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_virtual_hubs_operations.py @@ -182,8 +182,8 @@ def begin_create_or_update( :type virtual_hub_parameters: ~azure.mgmt.network.v2020_04_01.models.VirtualHub :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualHub or the result of cls(response) @@ -363,8 +363,8 @@ def begin_delete( :type virtual_hub_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_virtual_network_gateway_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_virtual_network_gateway_connections_operations.py index aa8420709c15..08af6b5a9e76 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_virtual_network_gateway_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_virtual_network_gateway_connections_operations.py @@ -125,8 +125,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_04_01.models.VirtualNetworkGatewayConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -300,8 +300,8 @@ def begin_delete( :type virtual_network_gateway_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -425,8 +425,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2020_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -558,8 +558,8 @@ def begin_set_shared_key( :type parameters: ~azure.mgmt.network.v2020_04_01.models.ConnectionSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionSharedKey or the result of cls(response) @@ -823,8 +823,8 @@ def begin_reset_shared_key( :type parameters: ~azure.mgmt.network.v2020_04_01.models.ConnectionResetSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionResetSharedKey or the result of cls(response) @@ -924,7 +924,7 @@ def _start_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -957,8 +957,8 @@ def begin_start_packet_capture( :type parameters: ~azure.mgmt.network.v2020_04_01.models.VpnPacketCaptureStartParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1055,7 +1055,7 @@ def _stop_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -1088,8 +1088,8 @@ def begin_stop_packet_capture( :type parameters: ~azure.mgmt.network.v2020_04_01.models.VpnPacketCaptureStopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_virtual_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_virtual_network_gateways_operations.py index afa19cd3f924..6cd377ae33c0 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_virtual_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_virtual_network_gateways_operations.py @@ -123,8 +123,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_04_01.models.VirtualNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -296,8 +296,8 @@ def begin_delete( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -420,8 +420,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2020_04_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -692,8 +692,8 @@ def begin_reset( :type gateway_vip: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -807,8 +807,8 @@ def begin_reset_vpn_client_shared_key( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -933,8 +933,8 @@ def begin_generatevpnclientpackage( :type parameters: ~azure.mgmt.network.v2020_04_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1063,8 +1063,8 @@ def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2020_04_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1183,8 +1183,8 @@ def begin_get_vpn_profile_package_url( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1307,8 +1307,8 @@ def begin_get_bgp_peer_status( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either BgpPeerStatusListResult or the result of cls(response) @@ -1486,8 +1486,8 @@ def begin_get_learned_routes( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1610,8 +1610,8 @@ def begin_get_advertised_routes( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1740,8 +1740,8 @@ def begin_set_vpnclient_ipsec_parameters( :type vpnclient_ipsec_params: ~azure.mgmt.network.v2020_04_01.models.VpnClientIPsecParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnClientIPsecParameters or the result of cls(response) @@ -1859,8 +1859,8 @@ def begin_get_vpnclient_ipsec_parameters( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnClientIPsecParameters or the result of cls(response) @@ -2027,7 +2027,7 @@ def _start_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -2059,8 +2059,8 @@ def begin_start_packet_capture( :type parameters: ~azure.mgmt.network.v2020_04_01.models.VpnPacketCaptureStartParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -2157,7 +2157,7 @@ def _stop_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -2189,8 +2189,8 @@ def begin_stop_packet_capture( :type parameters: ~azure.mgmt.network.v2020_04_01.models.VpnPacketCaptureStopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -2309,8 +2309,8 @@ def begin_get_vpnclient_connection_health( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnClientConnectionHealthDetailListResult or the result of cls(response) @@ -2431,8 +2431,8 @@ def begin_disconnect_virtual_network_gateway_vpn_connections( :type request: ~azure.mgmt.network.v2020_04_01.models.P2SVpnConnectionRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_virtual_network_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_virtual_network_peerings_operations.py index 11b64da9fc8d..a67c2ef74124 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_virtual_network_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_virtual_network_peerings_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type virtual_network_peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -309,8 +309,8 @@ def begin_create_or_update( :type virtual_network_peering_parameters: ~azure.mgmt.network.v2020_04_01.models.VirtualNetworkPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_virtual_network_taps_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_virtual_network_taps_operations.py index 64e157b9ccd6..90fc584bfae3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_virtual_network_taps_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_virtual_network_taps_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type tap_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -292,8 +292,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_04_01.models.VirtualNetworkTap :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkTap or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_virtual_networks_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_virtual_networks_operations.py index 6f60a3046f43..f76b628f6d22 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_virtual_networks_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_virtual_networks_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type virtual_network_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_04_01.models.VirtualNetwork :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetwork or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_virtual_router_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_virtual_router_peerings_operations.py index f8247fbc7698..49c3b55b4f56 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_virtual_router_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_virtual_router_peerings_operations.py @@ -87,7 +87,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -113,8 +113,8 @@ def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -218,7 +218,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualRouterPeering', pipeline_response) @@ -275,7 +275,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -312,8 +312,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_04_01.models.VirtualRouterPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualRouterPeering or the result of cls(response) @@ -433,7 +433,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_virtual_routers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_virtual_routers_operations.py index 31200bc0dd41..b9f7d803c1ae 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_virtual_routers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_virtual_routers_operations.py @@ -85,7 +85,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -108,8 +108,8 @@ def begin_delete( :type virtual_router_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -212,7 +212,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualRouter', pipeline_response) @@ -267,7 +267,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -300,8 +300,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_04_01.models.VirtualRouter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualRouter or the result of cls(response) @@ -415,7 +415,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -483,7 +483,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_virtual_wans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_virtual_wans_operations.py index 48733f6ae47a..e630ea3a9442 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_virtual_wans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_virtual_wans_operations.py @@ -182,8 +182,8 @@ def begin_create_or_update( :type wan_parameters: ~azure.mgmt.network.v2020_04_01.models.VirtualWAN :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualWAN or the result of cls(response) @@ -363,8 +363,8 @@ def begin_delete( :type virtual_wan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_vpn_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_vpn_connections_operations.py index 2a108149b126..8a21e5b7964f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_vpn_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_vpn_connections_operations.py @@ -192,8 +192,8 @@ def begin_create_or_update( :type vpn_connection_parameters: ~azure.mgmt.network.v2020_04_01.models.VpnConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnConnection or the result of cls(response) @@ -313,8 +313,8 @@ def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_vpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_vpn_gateways_operations.py index 2ebb388b9dcb..b6b33a66184b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_vpn_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_vpn_gateways_operations.py @@ -183,8 +183,8 @@ def begin_create_or_update( :type vpn_gateway_parameters: ~azure.mgmt.network.v2020_04_01.models.VpnGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnGateway or the result of cls(response) @@ -364,8 +364,8 @@ def begin_delete( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -479,8 +479,8 @@ def begin_reset( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnGateway or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py index 9f694e72b596..abff4c42ed38 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py @@ -112,8 +112,8 @@ def begin_list( :type virtual_wan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnServerConfigurationsResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_vpn_server_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_vpn_server_configurations_operations.py index f796ec9fab13..daf659493180 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_vpn_server_configurations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_vpn_server_configurations_operations.py @@ -185,8 +185,8 @@ def begin_create_or_update( :type vpn_server_configuration_parameters: ~azure.mgmt.network.v2020_04_01.models.VpnServerConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnServerConfiguration or the result of cls(response) @@ -367,8 +367,8 @@ def begin_delete( :type vpn_server_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_vpn_sites_configuration_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_vpn_sites_configuration_operations.py index b61542cb4ae6..b5355d5c27b5 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_vpn_sites_configuration_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_vpn_sites_configuration_operations.py @@ -116,8 +116,8 @@ def begin_download( :type request: ~azure.mgmt.network.v2020_04_01.models.GetVpnSitesConfigurationRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_vpn_sites_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_vpn_sites_operations.py index 7e9e6682ce86..2cd21f145372 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_vpn_sites_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_vpn_sites_operations.py @@ -182,8 +182,8 @@ def begin_create_or_update( :type vpn_site_parameters: ~azure.mgmt.network.v2020_04_01.models.VpnSite :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnSite or the result of cls(response) @@ -363,8 +363,8 @@ def begin_delete( :type vpn_site_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_web_application_firewall_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_web_application_firewall_policies_operations.py index 6b988ce640d2..c890505b24fa 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_web_application_firewall_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_web_application_firewall_policies_operations.py @@ -375,8 +375,8 @@ def begin_delete( :type policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/_metadata.json b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/_metadata.json index 60573f714f91..4a80e3f4f3e1 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/_metadata.json +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/_metadata.json @@ -9,7 +9,9 @@ "custom_base_url": null, "azure_arm": true, "has_lro_operations": true, - "client_side_validation": true + "client_side_validation": false, + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"NetworkManagementClientConfiguration\"], \"._operations_mixin\": [\"NetworkManagementClientOperationsMixin\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"NetworkManagementClientConfiguration\"], \"._operations_mixin\": [\"NetworkManagementClientOperationsMixin\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}" }, "global_parameters": { "sync": { @@ -28,13 +30,13 @@ }, "async": { "credential": { - "signature": "credential, # type: \"AsyncTokenCredential\"", + "signature": "credential: \"AsyncTokenCredential\",", "description": "Credential needed for the client to connect to Azure.", "docstring_type": "~azure.core.credentials_async.AsyncTokenCredential", "required": true }, "subscription_id": { - "signature": "subscription_id, # type: str", + "signature": "subscription_id: str,", "description": "The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.", "docstring_type": "str", "required": true @@ -42,14 +44,58 @@ }, "constant": { }, - "call": "credential, subscription_id" + "call": "credential, subscription_id", + "service_client_specific": { + "sync": { + "api_version": { + "signature": "api_version=None, # type: Optional[str]", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url=None, # type: Optional[str]", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile=KnownProfiles.default, # type: KnownProfiles", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + }, + "async": { + "api_version": { + "signature": "api_version: Optional[str] = None,", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url: Optional[str] = None,", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile: KnownProfiles = KnownProfiles.default,", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + } + } }, "config": { "credential": true, "credential_scopes": ["https://management.azure.com/.default"], "credential_default_policy_type": "BearerTokenCredentialPolicy", "credential_default_policy_type_has_async_version": true, - "credential_key_header_name": null + "credential_key_header_name": null, + "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMHttpLoggingPolicy\"]}, \"local\": {\"._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}}", + "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMHttpLoggingPolicy\"]}, \"local\": {\".._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}}" }, "operation_groups": { "application_gateways": "ApplicationGatewaysOperations", @@ -155,151 +201,153 @@ "web_application_firewall_policies": "WebApplicationFirewallPoliciesOperations" }, "operation_mixins": { - "_put_bastion_shareable_link_initial" : { - "sync": { - "signature": "def _put_bastion_shareable_link_initial(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_05_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionShareableLinkListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_05_01.models.BastionShareableLinkListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def _put_bastion_shareable_link_initial(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e Optional[\"_models.BastionShareableLinkListResult\"]:\n", - "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_05_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionShareableLinkListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_05_01.models.BastionShareableLinkListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "resource_group_name, bastion_host_name, bsl_request" - }, - "begin_put_bastion_shareable_link" : { - "sync": { - "signature": "def begin_put_bastion_shareable_link(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Creates a Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_05_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns an iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_05_01.models.BastionShareableLinkListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" - }, - "async": { - "coroutine": false, - "signature": "def begin_put_bastion_shareable_link(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e AsyncLROPoller[AsyncItemPaged[\"_models.BastionShareableLinkListResult\"]]:\n", - "doc": "\"\"\"Creates a Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_05_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns an iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_05_01.models.BastionShareableLinkListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" - }, - "call": "resource_group_name, bastion_host_name, bsl_request" - }, - "_delete_bastion_shareable_link_initial" : { - "sync": { - "signature": "def _delete_bastion_shareable_link_initial(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_05_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def _delete_bastion_shareable_link_initial(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e None:\n", - "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_05_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "resource_group_name, bastion_host_name, bsl_request" - }, - "begin_delete_bastion_shareable_link" : { - "sync": { - "signature": "def begin_delete_bastion_shareable_link(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Deletes the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_05_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def begin_delete_bastion_shareable_link(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e AsyncLROPoller[None]:\n", - "doc": "\"\"\"Deletes the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_05_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" - }, - "call": "resource_group_name, bastion_host_name, bsl_request" - }, - "get_bastion_shareable_link" : { - "sync": { - "signature": "def get_bastion_shareable_link(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Return the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_05_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_05_01.models.BastionShareableLinkListResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": false, - "signature": "def get_bastion_shareable_link(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e AsyncItemPaged[\"_models.BastionShareableLinkListResult\"]:\n", - "doc": "\"\"\"Return the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_05_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_05_01.models.BastionShareableLinkListResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "resource_group_name, bastion_host_name, bsl_request" - }, - "_get_active_sessions_initial" : { - "sync": { - "signature": "def _get_active_sessions_initial(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionActiveSessionListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_05_01.models.BastionActiveSessionListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def _get_active_sessions_initial(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n **kwargs\n) -\u003e Optional[\"_models.BastionActiveSessionListResult\"]:\n", - "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionActiveSessionListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_05_01.models.BastionActiveSessionListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "resource_group_name, bastion_host_name" - }, - "begin_get_active_sessions" : { - "sync": { - "signature": "def begin_get_active_sessions(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns an iterator like instance of either BastionActiveSessionListResult or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_05_01.models.BastionActiveSessionListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"], \"azure.core.polling\": [\"LROPoller\", \"NoPolling\", \"PollingMethod\"], \"azure.mgmt.core.polling.arm_polling\": [\"ARMPolling\"], \"azure.core.paging\": [\"ItemPaged\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Iterable\", \"Optional\", \"TypeVar\", \"Union\"]}}}", + "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"], \"azure.core.polling\": [\"AsyncLROPoller\", \"AsyncNoPolling\", \"AsyncPollingMethod\"], \"azure.mgmt.core.polling.async_arm_polling\": [\"AsyncARMPolling\"], \"azure.core.async_paging\": [\"AsyncItemPaged\", \"AsyncList\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"AsyncIterable\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\", \"Union\"]}}}", + "operations": { + "_put_bastion_shareable_link_initial" : { + "sync": { + "signature": "def _put_bastion_shareable_link_initial(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_05_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionShareableLinkListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_05_01.models.BastionShareableLinkListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def _put_bastion_shareable_link_initial(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e Optional[\"_models.BastionShareableLinkListResult\"]:\n", + "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_05_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionShareableLinkListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_05_01.models.BastionShareableLinkListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "resource_group_name, bastion_host_name, bsl_request" }, - "async": { - "coroutine": false, - "signature": "def begin_get_active_sessions(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n **kwargs\n) -\u003e AsyncLROPoller[AsyncItemPaged[\"_models.BastionActiveSessionListResult\"]]:\n", - "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns an iterator like instance of either BastionActiveSessionListResult or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_05_01.models.BastionActiveSessionListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + "begin_put_bastion_shareable_link" : { + "sync": { + "signature": "def begin_put_bastion_shareable_link(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Creates a Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_05_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the ARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns an iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_05_01.models.BastionShareableLinkListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "async": { + "coroutine": false, + "signature": "def begin_put_bastion_shareable_link(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e AsyncLROPoller[AsyncItemPaged[\"_models.BastionShareableLinkListResult\"]]:\n", + "doc": "\"\"\"Creates a Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_05_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the AsyncARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns an iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_05_01.models.BastionShareableLinkListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "call": "resource_group_name, bastion_host_name, bsl_request" }, - "call": "resource_group_name, bastion_host_name" - }, - "disconnect_active_sessions" : { - "sync": { - "signature": "def disconnect_active_sessions(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n session_ids, # type: \"_models.SessionIds\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param session_ids: The list of sessionids to disconnect.\n:type session_ids: ~azure.mgmt.network.v2020_05_01.models.SessionIds\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionSessionDeleteResult or the result of cls(response)\n:rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_05_01.models.BastionSessionDeleteResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": false, - "signature": "def disconnect_active_sessions(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n session_ids: \"_models.SessionIds\",\n **kwargs\n) -\u003e AsyncItemPaged[\"_models.BastionSessionDeleteResult\"]:\n", - "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param session_ids: The list of sessionids to disconnect.\n:type session_ids: ~azure.mgmt.network.v2020_05_01.models.SessionIds\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionSessionDeleteResult or the result of cls(response)\n:rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_05_01.models.BastionSessionDeleteResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "_delete_bastion_shareable_link_initial" : { + "sync": { + "signature": "def _delete_bastion_shareable_link_initial(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_05_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def _delete_bastion_shareable_link_initial(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e None:\n", + "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_05_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "resource_group_name, bastion_host_name, bsl_request" }, - "call": "resource_group_name, bastion_host_name, session_ids" - }, - "check_dns_name_availability" : { - "sync": { - "signature": "def check_dns_name_availability(\n self,\n location, # type: str\n domain_name_label, # type: str\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_05_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "begin_delete_bastion_shareable_link" : { + "sync": { + "signature": "def begin_delete_bastion_shareable_link(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Deletes the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_05_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the ARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def begin_delete_bastion_shareable_link(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e AsyncLROPoller[None]:\n", + "doc": "\"\"\"Deletes the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_05_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the AsyncARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "call": "resource_group_name, bastion_host_name, bsl_request" }, - "async": { - "coroutine": true, - "signature": "async def check_dns_name_availability(\n self,\n location: str,\n domain_name_label: str,\n **kwargs\n) -\u003e \"_models.DnsNameAvailabilityResult\":\n", - "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_05_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "get_bastion_shareable_link" : { + "sync": { + "signature": "def get_bastion_shareable_link(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Return the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_05_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_05_01.models.BastionShareableLinkListResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": false, + "signature": "def get_bastion_shareable_link(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e AsyncItemPaged[\"_models.BastionShareableLinkListResult\"]:\n", + "doc": "\"\"\"Return the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_05_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_05_01.models.BastionShareableLinkListResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "resource_group_name, bastion_host_name, bsl_request" }, - "call": "location, domain_name_label" - }, - "supported_security_providers" : { - "sync": { - "signature": "def supported_security_providers(\n self,\n resource_group_name, # type: str\n virtual_wan_name, # type: str\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Gives the supported security providers for the virtual wan.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN for which supported security providers are\n needed.\n:type virtual_wan_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VirtualWanSecurityProviders, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_05_01.models.VirtualWanSecurityProviders\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "_get_active_sessions_initial" : { + "sync": { + "signature": "def _get_active_sessions_initial(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionActiveSessionListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_05_01.models.BastionActiveSessionListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def _get_active_sessions_initial(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n **kwargs\n) -\u003e Optional[\"_models.BastionActiveSessionListResult\"]:\n", + "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionActiveSessionListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_05_01.models.BastionActiveSessionListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "resource_group_name, bastion_host_name" }, - "async": { - "coroutine": true, - "signature": "async def supported_security_providers(\n self,\n resource_group_name: str,\n virtual_wan_name: str,\n **kwargs\n) -\u003e \"_models.VirtualWanSecurityProviders\":\n", - "doc": "\"\"\"Gives the supported security providers for the virtual wan.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN for which supported security providers are\n needed.\n:type virtual_wan_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VirtualWanSecurityProviders, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_05_01.models.VirtualWanSecurityProviders\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "begin_get_active_sessions" : { + "sync": { + "signature": "def begin_get_active_sessions(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the ARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns an iterator like instance of either BastionActiveSessionListResult or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_05_01.models.BastionActiveSessionListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "async": { + "coroutine": false, + "signature": "def begin_get_active_sessions(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n **kwargs\n) -\u003e AsyncLROPoller[AsyncItemPaged[\"_models.BastionActiveSessionListResult\"]]:\n", + "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the AsyncARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns an iterator like instance of either BastionActiveSessionListResult or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_05_01.models.BastionActiveSessionListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "call": "resource_group_name, bastion_host_name" }, - "call": "resource_group_name, virtual_wan_name" - }, - "_generatevirtualwanvpnserverconfigurationvpnprofile_initial" : { - "sync": { - "signature": "def _generatevirtualwanvpnserverconfigurationvpnprofile_initial(\n self,\n resource_group_name, # type: str\n virtual_wan_name, # type: str\n vpn_client_params, # type: \"_models.VirtualWanVpnProfileParameters\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2020_05_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VpnProfileResponse, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_05_01.models.VpnProfileResponse or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "disconnect_active_sessions" : { + "sync": { + "signature": "def disconnect_active_sessions(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n session_ids, # type: \"_models.SessionIds\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param session_ids: The list of sessionids to disconnect.\n:type session_ids: ~azure.mgmt.network.v2020_05_01.models.SessionIds\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionSessionDeleteResult or the result of cls(response)\n:rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_05_01.models.BastionSessionDeleteResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": false, + "signature": "def disconnect_active_sessions(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n session_ids: \"_models.SessionIds\",\n **kwargs\n) -\u003e AsyncItemPaged[\"_models.BastionSessionDeleteResult\"]:\n", + "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param session_ids: The list of sessionids to disconnect.\n:type session_ids: ~azure.mgmt.network.v2020_05_01.models.SessionIds\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionSessionDeleteResult or the result of cls(response)\n:rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_05_01.models.BastionSessionDeleteResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "resource_group_name, bastion_host_name, session_ids" }, - "async": { - "coroutine": true, - "signature": "async def _generatevirtualwanvpnserverconfigurationvpnprofile_initial(\n self,\n resource_group_name: str,\n virtual_wan_name: str,\n vpn_client_params: \"_models.VirtualWanVpnProfileParameters\",\n **kwargs\n) -\u003e Optional[\"_models.VpnProfileResponse\"]:\n", - "doc": "\"\"\"\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2020_05_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VpnProfileResponse, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_05_01.models.VpnProfileResponse or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "check_dns_name_availability" : { + "sync": { + "signature": "def check_dns_name_availability(\n self,\n location, # type: str\n domain_name_label, # type: str\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_05_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def check_dns_name_availability(\n self,\n location: str,\n domain_name_label: str,\n **kwargs\n) -\u003e \"_models.DnsNameAvailabilityResult\":\n", + "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_05_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "location, domain_name_label" }, - "call": "resource_group_name, virtual_wan_name, vpn_client_params" - }, - "begin_generatevirtualwanvpnserverconfigurationvpnprofile" : { - "sync": { - "signature": "def begin_generatevirtualwanvpnserverconfigurationvpnprofile(\n self,\n resource_group_name, # type: str\n virtual_wan_name, # type: str\n vpn_client_params, # type: \"_models.VirtualWanVpnProfileParameters\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Generates a unique VPN profile for P2S clients for VirtualWan and associated\nVpnServerConfiguration combination in the specified resource group.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2020_05_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns either VpnProfileResponse or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_05_01.models.VpnProfileResponse]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + "supported_security_providers" : { + "sync": { + "signature": "def supported_security_providers(\n self,\n resource_group_name, # type: str\n virtual_wan_name, # type: str\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Gives the supported security providers for the virtual wan.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN for which supported security providers are\n needed.\n:type virtual_wan_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VirtualWanSecurityProviders, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_05_01.models.VirtualWanSecurityProviders\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def supported_security_providers(\n self,\n resource_group_name: str,\n virtual_wan_name: str,\n **kwargs\n) -\u003e \"_models.VirtualWanSecurityProviders\":\n", + "doc": "\"\"\"Gives the supported security providers for the virtual wan.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN for which supported security providers are\n needed.\n:type virtual_wan_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VirtualWanSecurityProviders, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_05_01.models.VirtualWanSecurityProviders\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "resource_group_name, virtual_wan_name" }, - "async": { - "coroutine": true, - "signature": "async def begin_generatevirtualwanvpnserverconfigurationvpnprofile(\n self,\n resource_group_name: str,\n virtual_wan_name: str,\n vpn_client_params: \"_models.VirtualWanVpnProfileParameters\",\n **kwargs\n) -\u003e AsyncLROPoller[\"_models.VpnProfileResponse\"]:\n", - "doc": "\"\"\"Generates a unique VPN profile for P2S clients for VirtualWan and associated\nVpnServerConfiguration combination in the specified resource group.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2020_05_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns either VpnProfileResponse or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_05_01.models.VpnProfileResponse]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + "_generatevirtualwanvpnserverconfigurationvpnprofile_initial" : { + "sync": { + "signature": "def _generatevirtualwanvpnserverconfigurationvpnprofile_initial(\n self,\n resource_group_name, # type: str\n virtual_wan_name, # type: str\n vpn_client_params, # type: \"_models.VirtualWanVpnProfileParameters\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2020_05_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VpnProfileResponse, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_05_01.models.VpnProfileResponse or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def _generatevirtualwanvpnserverconfigurationvpnprofile_initial(\n self,\n resource_group_name: str,\n virtual_wan_name: str,\n vpn_client_params: \"_models.VirtualWanVpnProfileParameters\",\n **kwargs\n) -\u003e Optional[\"_models.VpnProfileResponse\"]:\n", + "doc": "\"\"\"\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2020_05_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VpnProfileResponse, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_05_01.models.VpnProfileResponse or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "resource_group_name, virtual_wan_name, vpn_client_params" }, - "call": "resource_group_name, virtual_wan_name, vpn_client_params" + "begin_generatevirtualwanvpnserverconfigurationvpnprofile" : { + "sync": { + "signature": "def begin_generatevirtualwanvpnserverconfigurationvpnprofile(\n self,\n resource_group_name, # type: str\n virtual_wan_name, # type: str\n vpn_client_params, # type: \"_models.VirtualWanVpnProfileParameters\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Generates a unique VPN profile for P2S clients for VirtualWan and associated\nVpnServerConfiguration combination in the specified resource group.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2020_05_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the ARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns either VpnProfileResponse or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_05_01.models.VpnProfileResponse]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def begin_generatevirtualwanvpnserverconfigurationvpnprofile(\n self,\n resource_group_name: str,\n virtual_wan_name: str,\n vpn_client_params: \"_models.VirtualWanVpnProfileParameters\",\n **kwargs\n) -\u003e AsyncLROPoller[\"_models.VpnProfileResponse\"]:\n", + "doc": "\"\"\"Generates a unique VPN profile for P2S clients for VirtualWan and associated\nVpnServerConfiguration combination in the specified resource group.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2020_05_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the AsyncARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns either VpnProfileResponse or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_05_01.models.VpnProfileResponse]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "call": "resource_group_name, virtual_wan_name, vpn_client_params" + } } - }, - "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"], \"azure.core.polling\": [\"LROPoller\", \"NoPolling\", \"PollingMethod\"], \"azure.mgmt.core.polling.arm_polling\": [\"ARMPolling\"], \"azure.core.paging\": [\"ItemPaged\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Iterable\", \"Optional\", \"TypeVar\", \"Union\"]}}}", - "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"], \"azure.core.polling\": [\"AsyncLROPoller\", \"AsyncNoPolling\", \"AsyncPollingMethod\"], \"azure.mgmt.core.polling.async_arm_polling\": [\"AsyncARMPolling\"], \"azure.core.async_paging\": [\"AsyncItemPaged\", \"AsyncList\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"AsyncIterable\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\", \"Union\"]}}}" + } } \ No newline at end of file diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/_network_management_client.py index 4c4627b8e004..c3f9633eed2a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/_network_management_client.py @@ -16,6 +16,7 @@ from typing import Any, Optional from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse from ._configuration import NetworkManagementClientConfiguration from .operations import ApplicationGatewaysOperations @@ -351,6 +352,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( @@ -556,6 +558,24 @@ def __init__( self.web_application_firewall_policies = WebApplicationFirewallPoliciesOperations( self._client, self._config, self._serialize, self._deserialize) + def _send_request(self, http_request, **kwargs): + # type: (HttpRequest, Any) -> HttpResponse + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.HttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + def close(self): # type: () -> None self._client.close() diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/_network_management_client.py index f5fda6fc6a75..69b795d51ac7 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/_network_management_client.py @@ -8,6 +8,7 @@ from typing import Any, Optional, TYPE_CHECKING +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core import AsyncARMPipelineClient from msrest import Deserializer, Serializer @@ -348,6 +349,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( @@ -553,6 +555,23 @@ def __init__( self.web_application_firewall_policies = WebApplicationFirewallPoliciesOperations( self._client, self._config, self._serialize, self._deserialize) + async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + async def close(self) -> None: await self._client.close() diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_application_gateway_private_endpoint_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_application_gateway_private_endpoint_connections_operations.py index 202f11b253ae..f4d7be2428d7 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_application_gateway_private_endpoint_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_application_gateway_private_endpoint_connections_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -236,8 +236,8 @@ async def begin_update( :type parameters: ~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayPrivateEndpointConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGatewayPrivateEndpointConnection or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_application_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_application_gateways_operations.py index e4b82f91e363..579fbb3316fc 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_application_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_application_gateways_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -283,8 +283,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_05_01.models.ApplicationGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGateway or the result of cls(response) @@ -597,8 +597,8 @@ async def begin_start( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -705,8 +705,8 @@ async def begin_stop( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -824,8 +824,8 @@ async def begin_backend_health( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGatewayBackendHealth or the result of cls(response) @@ -957,8 +957,8 @@ async def begin_backend_health_on_demand( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGatewayBackendHealthOnDemand or the result of cls(response) @@ -1052,7 +1052,7 @@ async def list_available_server_variables( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) @@ -1103,7 +1103,7 @@ async def list_available_request_headers( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) @@ -1154,7 +1154,7 @@ async def list_available_response_headers( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_application_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_application_security_groups_operations.py index e4f6aa06c394..e31572c2017e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_application_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_application_security_groups_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type application_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -284,8 +284,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_05_01.models.ApplicationSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_azure_firewalls_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_azure_firewalls_operations.py index 9260098dbec5..d2622fb4b868 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_azure_firewalls_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_azure_firewalls_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type azure_firewall_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -283,8 +283,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_05_01.models.AzureFirewall :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AzureFirewall or the result of cls(response) @@ -409,8 +409,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2020_05_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AzureFirewall or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_bastion_hosts_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_bastion_hosts_operations.py index 297d5d39254d..3ee601e3ba10 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_bastion_hosts_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_bastion_hosts_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type bastion_host_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -283,8 +283,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_05_01.models.BastionHost :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either BastionHost or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_connection_monitors_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_connection_monitors_operations.py index 011146c321dc..46a24e492cf2 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_connection_monitors_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_connection_monitors_operations.py @@ -88,7 +88,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -123,8 +123,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_05_01.models.ConnectionMonitor :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionMonitorResult or the result of cls(response) @@ -231,7 +231,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('ConnectionMonitorResult', pipeline_response) @@ -281,7 +281,7 @@ async def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -306,8 +306,8 @@ async def begin_delete( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -418,7 +418,7 @@ async def update_tags( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('ConnectionMonitorResult', pipeline_response) @@ -468,7 +468,7 @@ async def _stop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -493,8 +493,8 @@ async def begin_stop( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -584,7 +584,7 @@ async def _start_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -609,8 +609,8 @@ async def begin_start( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -700,7 +700,7 @@ async def _query_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -732,8 +732,8 @@ async def begin_query( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionMonitorQueryResult or the result of cls(response) @@ -851,7 +851,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_ddos_custom_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_ddos_custom_policies_operations.py index 64a46ddcef6e..7e8d91017692 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_ddos_custom_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_ddos_custom_policies_operations.py @@ -100,8 +100,8 @@ async def begin_delete( :type ddos_custom_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -282,8 +282,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_05_01.models.DdosCustomPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either DdosCustomPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_ddos_protection_plans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_ddos_protection_plans_operations.py index fc7c30042f2f..718b5e2cae31 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_ddos_protection_plans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_ddos_protection_plans_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type ddos_protection_plan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -283,8 +283,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_05_01.models.DdosProtectionPlan :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either DdosProtectionPlan or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_express_route_circuit_authorizations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_express_route_circuit_authorizations_operations.py index 150e4c3c9afc..95fcc879a3a9 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_express_route_circuit_authorizations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_express_route_circuit_authorizations_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type authorization_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -300,8 +300,8 @@ async def begin_create_or_update( :type authorization_parameters: ~azure.mgmt.network.v2020_05_01.models.ExpressRouteCircuitAuthorization :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitAuthorization or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_express_route_circuit_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_express_route_circuit_connections_operations.py index b19a67556725..61f0439ba85d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_express_route_circuit_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_express_route_circuit_connections_operations.py @@ -112,8 +112,8 @@ async def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -317,8 +317,8 @@ async def begin_create_or_update( :type express_route_circuit_connection_parameters: ~azure.mgmt.network.v2020_05_01.models.ExpressRouteCircuitConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitConnection or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_express_route_circuit_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_express_route_circuit_peerings_operations.py index 9ebe97a6f559..33255d054b82 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_express_route_circuit_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_express_route_circuit_peerings_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -300,8 +300,8 @@ async def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2020_05_01.models.ExpressRouteCircuitPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_express_route_circuits_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_express_route_circuits_operations.py index 5b3a9ee8225f..1cf613b4c7df 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_express_route_circuits_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_express_route_circuits_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type circuit_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -283,8 +283,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_05_01.models.ExpressRouteCircuit :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -477,8 +477,8 @@ async def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -608,8 +608,8 @@ async def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) @@ -739,8 +739,8 @@ async def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableSummaryListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_express_route_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_express_route_connections_operations.py index 6d52b1158e96..ceb17c3e0ac6 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_express_route_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_express_route_connections_operations.py @@ -122,8 +122,8 @@ async def begin_create_or_update( :type put_express_route_connection_parameters: ~azure.mgmt.network.v2020_05_01.models.ExpressRouteConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteConnection or the result of cls(response) @@ -303,8 +303,8 @@ async def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_express_route_cross_connection_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_express_route_cross_connection_peerings_operations.py index 5a0527ae8823..460a2a1b5cee 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_express_route_cross_connection_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_express_route_cross_connection_peerings_operations.py @@ -180,8 +180,8 @@ async def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -374,8 +374,8 @@ async def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2020_05_01.models.ExpressRouteCrossConnectionPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCrossConnectionPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_express_route_cross_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_express_route_cross_connections_operations.py index 2b9b68b1c5b6..ea702ba1fb39 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_express_route_cross_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_express_route_cross_connections_operations.py @@ -308,8 +308,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_05_01.models.ExpressRouteCrossConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCrossConnection or the result of cls(response) @@ -503,8 +503,8 @@ async def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -634,8 +634,8 @@ async def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCrossConnectionsRoutesTableSummaryListResult or the result of cls(response) @@ -765,8 +765,8 @@ async def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_express_route_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_express_route_gateways_operations.py index 0a1eba0e8f07..e1b52e04e3fa 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_express_route_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_express_route_gateways_operations.py @@ -221,8 +221,8 @@ async def begin_create_or_update( :type put_express_route_gateway_parameters: ~azure.mgmt.network.v2020_05_01.models.ExpressRouteGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteGateway or the result of cls(response) @@ -392,8 +392,8 @@ async def begin_delete( :type express_route_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_express_route_ports_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_express_route_ports_operations.py index b38fc5c6e5f1..fbe6fa2f040a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_express_route_ports_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_express_route_ports_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type express_route_port_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -283,8 +283,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_05_01.models.ExpressRoutePort :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRoutePort or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_firewall_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_firewall_policies_operations.py index 0ef43b699746..5c53eeba5de3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_firewall_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_firewall_policies_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type firewall_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -288,8 +288,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_05_01.models.FirewallPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FirewallPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_firewall_policy_rule_collection_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_firewall_policy_rule_collection_groups_operations.py index 7df94be77e7b..8aef2956e763 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_firewall_policy_rule_collection_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_firewall_policy_rule_collection_groups_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type rule_collection_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -300,8 +300,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_05_01.models.FirewallPolicyRuleCollectionGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FirewallPolicyRuleCollectionGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_flow_logs_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_flow_logs_operations.py index 2f736a9d3d59..f70dffb054de 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_flow_logs_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_flow_logs_operations.py @@ -88,7 +88,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -123,8 +123,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_05_01.models.FlowLog :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FlowLog or the result of cls(response) @@ -231,7 +231,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('FlowLog', pipeline_response) @@ -281,7 +281,7 @@ async def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -306,8 +306,8 @@ async def begin_delete( :type flow_log_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -422,7 +422,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_hub_route_tables_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_hub_route_tables_operations.py index 82cc92bfbdee..ecdfa2d85b3f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_hub_route_tables_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_hub_route_tables_operations.py @@ -122,8 +122,8 @@ async def begin_create_or_update( :type route_table_parameters: ~azure.mgmt.network.v2020_05_01.models.HubRouteTable :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either HubRouteTable or the result of cls(response) @@ -303,8 +303,8 @@ async def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_hub_virtual_network_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_hub_virtual_network_connections_operations.py index c1c7847725a2..c13c30b62101 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_hub_virtual_network_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_hub_virtual_network_connections_operations.py @@ -123,8 +123,8 @@ async def begin_create_or_update( :type hub_virtual_network_connection_parameters: ~azure.mgmt.network.v2020_05_01.models.HubVirtualNetworkConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either HubVirtualNetworkConnection or the result of cls(response) @@ -242,8 +242,8 @@ async def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_inbound_nat_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_inbound_nat_rules_operations.py index 754169536d01..5a7823b4377c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_inbound_nat_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_inbound_nat_rules_operations.py @@ -180,8 +180,8 @@ async def begin_delete( :type inbound_nat_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -379,8 +379,8 @@ async def begin_create_or_update( :type inbound_nat_rule_parameters: ~azure.mgmt.network.v2020_05_01.models.InboundNatRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either InboundNatRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_ip_allocations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_ip_allocations_operations.py index 8fe71b4dd799..8730ae8ddf4b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_ip_allocations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_ip_allocations_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type ip_allocation_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -288,8 +288,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_05_01.models.IpAllocation :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either IpAllocation or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_ip_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_ip_groups_operations.py index 6fd41687a91c..4c2434209b5e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_ip_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_ip_groups_operations.py @@ -97,7 +97,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('IpGroup', pipeline_response) @@ -151,7 +151,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -183,8 +183,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_05_01.models.IpGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either IpGroup or the result of cls(response) @@ -293,7 +293,7 @@ async def update_groups( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('IpGroup', pipeline_response) @@ -341,7 +341,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -363,8 +363,8 @@ async def begin_delete( :type ip_groups_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -473,7 +473,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -540,7 +540,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_load_balancer_backend_address_pools_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_load_balancer_backend_address_pools_operations.py index 15692526e837..9b319d7460f6 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_load_balancer_backend_address_pools_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_load_balancer_backend_address_pools_operations.py @@ -259,8 +259,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_05_01.models.BackendAddressPool :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either BackendAddressPool or the result of cls(response) @@ -378,8 +378,8 @@ async def begin_delete( :type backend_address_pool_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_load_balancers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_load_balancers_operations.py index e2766b474e20..93845ff5eb8d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_load_balancers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_load_balancers_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type load_balancer_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -288,8 +288,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_05_01.models.LoadBalancer :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LoadBalancer or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_local_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_local_network_gateways_operations.py index b673fd4cdde0..bc6985dcf568 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_local_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_local_network_gateways_operations.py @@ -117,8 +117,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_05_01.models.LocalNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LocalNetworkGateway or the result of cls(response) @@ -287,8 +287,8 @@ async def begin_delete( :type local_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_nat_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_nat_gateways_operations.py index cdb5a20c9db6..f1acaa38c44c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_nat_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_nat_gateways_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type nat_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -291,8 +291,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_05_01.models.NatGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NatGateway or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_network_interface_tap_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_network_interface_tap_configurations_operations.py index 0fa1f3636939..567c0e8a4ae0 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_network_interface_tap_configurations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_network_interface_tap_configurations_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type tap_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -300,8 +300,8 @@ async def begin_create_or_update( :type tap_configuration_parameters: ~azure.mgmt.network.v2020_05_01.models.NetworkInterfaceTapConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkInterfaceTapConfiguration or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_network_interfaces_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_network_interfaces_operations.py index 488d2352bd6c..811a76d8978b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_network_interfaces_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_network_interfaces_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -288,8 +288,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_05_01.models.NetworkInterface :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkInterface or the result of cls(response) @@ -607,8 +607,8 @@ async def begin_get_effective_route_table( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either EffectiveRouteListResult or the result of cls(response) @@ -723,8 +723,8 @@ async def begin_list_effective_network_security_groups( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either EffectiveNetworkSecurityGroupListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_network_management_client_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_network_management_client_operations.py index db8ee524fc10..d00dc4f74178 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_network_management_client_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_network_management_client_operations.py @@ -95,8 +95,8 @@ async def begin_put_bastion_shareable_link( :type bsl_request: ~azure.mgmt.network.v2020_05_01.models.BastionShareableLinkListRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns an iterator like instance of either BastionShareableLinkListResult or the result of cls(response) @@ -278,8 +278,8 @@ async def begin_delete_bastion_shareable_link( :type bsl_request: ~azure.mgmt.network.v2020_05_01.models.BastionShareableLinkListRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -477,8 +477,8 @@ async def begin_get_active_sessions( :type bastion_host_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns an iterator like instance of either BastionActiveSessionListResult or the result of cls(response) @@ -862,8 +862,8 @@ async def begin_generatevirtualwanvpnserverconfigurationvpnprofile( :type vpn_client_params: ~azure.mgmt.network.v2020_05_01.models.VirtualWanVpnProfileParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnProfileResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_network_profiles_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_network_profiles_operations.py index e8d813b6756e..d0a7638a6eae 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_network_profiles_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_network_profiles_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type network_profile_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_network_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_network_security_groups_operations.py index ef7d76b4927d..461e0c77b0bc 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_network_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_network_security_groups_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type network_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -289,8 +289,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_05_01.models.NetworkSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_network_virtual_appliances_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_network_virtual_appliances_operations.py index 6eda53107dd2..05882243ba1f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_network_virtual_appliances_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_network_virtual_appliances_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type network_virtual_appliance_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -354,8 +354,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_05_01.models.NetworkVirtualAppliance :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkVirtualAppliance or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_network_watchers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_network_watchers_operations.py index be53b3760e1e..8cdb7e9b964d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_network_watchers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_network_watchers_operations.py @@ -99,7 +99,7 @@ async def create_or_update( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -162,7 +162,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('NetworkWatcher', pipeline_response) @@ -210,7 +210,7 @@ async def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -232,8 +232,8 @@ async def begin_delete( :type network_watcher_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -338,7 +338,7 @@ async def update_tags( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('NetworkWatcher', pipeline_response) @@ -409,7 +409,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -476,7 +476,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -543,7 +543,7 @@ async def get_topology( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('Topology', pipeline_response) @@ -597,7 +597,7 @@ async def _verify_ip_flow_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -629,8 +629,8 @@ async def begin_verify_ip_flow( :type parameters: ~azure.mgmt.network.v2020_05_01.models.VerificationIPFlowParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VerificationIPFlowResult or the result of cls(response) @@ -726,7 +726,7 @@ async def _get_next_hop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -758,8 +758,8 @@ async def begin_get_next_hop( :type parameters: ~azure.mgmt.network.v2020_05_01.models.NextHopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NextHopResult or the result of cls(response) @@ -855,7 +855,7 @@ async def _get_vm_security_rules_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -887,8 +887,8 @@ async def begin_get_vm_security_rules( :type parameters: ~azure.mgmt.network.v2020_05_01.models.SecurityGroupViewParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either SecurityGroupViewResult or the result of cls(response) @@ -984,7 +984,7 @@ async def _get_troubleshooting_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1016,8 +1016,8 @@ async def begin_get_troubleshooting( :type parameters: ~azure.mgmt.network.v2020_05_01.models.TroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1113,7 +1113,7 @@ async def _get_troubleshooting_result_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1145,8 +1145,8 @@ async def begin_get_troubleshooting_result( :type parameters: ~azure.mgmt.network.v2020_05_01.models.QueryTroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1242,7 +1242,7 @@ async def _set_flow_log_configuration_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1274,8 +1274,8 @@ async def begin_set_flow_log_configuration( :type parameters: ~azure.mgmt.network.v2020_05_01.models.FlowLogInformation :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1371,7 +1371,7 @@ async def _get_flow_log_status_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1404,8 +1404,8 @@ async def begin_get_flow_log_status( :type parameters: ~azure.mgmt.network.v2020_05_01.models.FlowLogStatusParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1501,7 +1501,7 @@ async def _check_connectivity_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1534,8 +1534,8 @@ async def begin_check_connectivity( :type parameters: ~azure.mgmt.network.v2020_05_01.models.ConnectivityParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectivityInformation or the result of cls(response) @@ -1631,7 +1631,7 @@ async def _get_azure_reachability_report_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1665,8 +1665,8 @@ async def begin_get_azure_reachability_report( :type parameters: ~azure.mgmt.network.v2020_05_01.models.AzureReachabilityReportParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AzureReachabilityReport or the result of cls(response) @@ -1762,7 +1762,7 @@ async def _list_available_providers_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1795,8 +1795,8 @@ async def begin_list_available_providers( :type parameters: ~azure.mgmt.network.v2020_05_01.models.AvailableProvidersListParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AvailableProvidersList or the result of cls(response) @@ -1892,7 +1892,7 @@ async def _get_network_configuration_diagnostic_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1928,8 +1928,8 @@ async def begin_get_network_configuration_diagnostic( :type parameters: ~azure.mgmt.network.v2020_05_01.models.NetworkConfigurationDiagnosticParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkConfigurationDiagnosticResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_p2_svpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_p2_svpn_gateways_operations.py index d567b3dd3246..530b9bde335a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_p2_svpn_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_p2_svpn_gateways_operations.py @@ -176,8 +176,8 @@ async def begin_create_or_update( :type p2_s_vpn_gateway_parameters: ~azure.mgmt.network.v2020_05_01.models.P2SVpnGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -355,8 +355,8 @@ async def begin_delete( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -614,8 +614,8 @@ async def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2020_05_01.models.P2SVpnProfileParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnProfileResponse or the result of cls(response) @@ -732,8 +732,8 @@ async def begin_get_p2_s_vpn_connection_health( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -858,8 +858,8 @@ async def begin_get_p2_s_vpn_connection_health_detailed( :type request: ~azure.mgmt.network.v2020_05_01.models.P2SVpnConnectionHealthRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either P2SVpnConnectionHealth or the result of cls(response) @@ -980,8 +980,8 @@ async def begin_disconnect_p2_s_vpn_connections( :type request: ~azure.mgmt.network.v2020_05_01.models.P2SVpnConnectionRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_packet_captures_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_packet_captures_operations.py index eeb459428c64..7a1d7e2c2b27 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_packet_captures_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_packet_captures_operations.py @@ -88,7 +88,7 @@ async def _create_initial( if response.status_code not in [201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PacketCaptureResult', pipeline_response) @@ -119,8 +119,8 @@ async def begin_create( :type parameters: ~azure.mgmt.network.v2020_05_01.models.PacketCapture :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PacketCaptureResult or the result of cls(response) @@ -227,7 +227,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PacketCaptureResult', pipeline_response) @@ -277,7 +277,7 @@ async def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -302,8 +302,8 @@ async def begin_delete( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -393,7 +393,7 @@ async def _stop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -418,8 +418,8 @@ async def begin_stop( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -509,7 +509,7 @@ async def _get_status_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -541,8 +541,8 @@ async def begin_get_status( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PacketCaptureQueryStatusResult or the result of cls(response) @@ -660,7 +660,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_private_dns_zone_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_private_dns_zone_groups_operations.py index d66766dc59df..dbf5f80dccb6 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_private_dns_zone_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_private_dns_zone_groups_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type private_dns_zone_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -300,8 +300,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_05_01.models.PrivateDnsZoneGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PrivateDnsZoneGroup or the result of cls(response) @@ -420,7 +420,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_private_endpoints_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_private_endpoints_operations.py index 1f1b5933960f..340a61cff2bd 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_private_endpoints_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_private_endpoints_operations.py @@ -80,7 +80,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -102,8 +102,8 @@ async def begin_delete( :type private_endpoint_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -205,7 +205,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateEndpoint', pipeline_response) @@ -259,7 +259,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -291,8 +291,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_05_01.models.PrivateEndpoint :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PrivateEndpoint or the result of cls(response) @@ -405,7 +405,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -472,7 +472,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_private_link_services_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_private_link_services_operations.py index 28b423e35306..0a3ab477634c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_private_link_services_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_private_link_services_operations.py @@ -80,7 +80,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -102,8 +102,8 @@ async def begin_delete( :type service_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -205,7 +205,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateLinkService', pipeline_response) @@ -259,7 +259,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -291,8 +291,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_05_01.models.PrivateLinkService :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PrivateLinkService or the result of cls(response) @@ -405,7 +405,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -472,7 +472,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -541,7 +541,7 @@ async def get_private_endpoint_connection( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateEndpointConnection', pipeline_response) @@ -612,7 +612,7 @@ async def update_private_endpoint_connection( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateEndpointConnection', pipeline_response) @@ -662,7 +662,7 @@ async def _delete_private_endpoint_connection_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -687,8 +687,8 @@ async def begin_delete_private_endpoint_connection( :type pe_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -803,7 +803,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -881,8 +881,8 @@ async def begin_check_private_link_service_visibility( :type parameters: ~azure.mgmt.network.v2020_05_01.models.CheckPrivateLinkServiceVisibilityRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PrivateLinkServiceVisibility or the result of cls(response) @@ -1006,8 +1006,8 @@ async def begin_check_private_link_service_visibility_by_resource_group( :type parameters: ~azure.mgmt.network.v2020_05_01.models.CheckPrivateLinkServiceVisibilityRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PrivateLinkServiceVisibility or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_public_ip_addresses_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_public_ip_addresses_operations.py index e280bca599e3..1e354b40f31b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_public_ip_addresses_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_public_ip_addresses_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type public_ip_address_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -288,8 +288,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_05_01.models.PublicIPAddress :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PublicIPAddress or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_public_ip_prefixes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_public_ip_prefixes_operations.py index 88c095634202..4aa22e828956 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_public_ip_prefixes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_public_ip_prefixes_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type public_ip_prefix_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -288,8 +288,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_05_01.models.PublicIPPrefix :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PublicIPPrefix or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_route_filter_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_route_filter_rules_operations.py index f3eb4e289865..b4887c965fad 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_route_filter_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_route_filter_rules_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -300,8 +300,8 @@ async def begin_create_or_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2020_05_01.models.RouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilterRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_route_filters_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_route_filters_operations.py index a2bf7e38a8a3..841687ec1fa5 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_route_filters_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_route_filters_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type route_filter_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -289,8 +289,8 @@ async def begin_create_or_update( :type route_filter_parameters: ~azure.mgmt.network.v2020_05_01.models.RouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilter or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_route_tables_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_route_tables_operations.py index a5ef391de33d..a2d6927ee40b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_route_tables_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_route_tables_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -288,8 +288,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_05_01.models.RouteTable :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteTable or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_routes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_routes_operations.py index 0904da0dd19f..82ce56471d1e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_routes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_routes_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type route_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -299,8 +299,8 @@ async def begin_create_or_update( :type route_parameters: ~azure.mgmt.network.v2020_05_01.models.Route :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Route or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_security_partner_providers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_security_partner_providers_operations.py index acdfdb0ba08b..e19028b01dd4 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_security_partner_providers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_security_partner_providers_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type security_partner_provider_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -284,8 +284,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_05_01.models.SecurityPartnerProvider :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either SecurityPartnerProvider or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_security_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_security_rules_operations.py index 93c25a860184..ae3ab076e9d3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_security_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_security_rules_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type security_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -300,8 +300,8 @@ async def begin_create_or_update( :type security_rule_parameters: ~azure.mgmt.network.v2020_05_01.models.SecurityRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either SecurityRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_service_endpoint_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_service_endpoint_policies_operations.py index ea729c592297..a2d7edab5788 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_service_endpoint_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_service_endpoint_policies_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type service_endpoint_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -289,8 +289,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_05_01.models.ServiceEndpointPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ServiceEndpointPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_service_endpoint_policy_definitions_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_service_endpoint_policy_definitions_operations.py index 63b81f7a6c7e..f247bc144e05 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_service_endpoint_policy_definitions_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_service_endpoint_policy_definitions_operations.py @@ -107,8 +107,8 @@ async def begin_delete( :type service_endpoint_policy_definition_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -304,8 +304,8 @@ async def begin_create_or_update( :type service_endpoint_policy_definitions: ~azure.mgmt.network.v2020_05_01.models.ServiceEndpointPolicyDefinition :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ServiceEndpointPolicyDefinition or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_subnets_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_subnets_operations.py index cc64dcf0ab37..363551883f14 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_subnets_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_subnets_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type subnet_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -304,8 +304,8 @@ async def begin_create_or_update( :type subnet_parameters: ~azure.mgmt.network.v2020_05_01.models.Subnet :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Subnet or the result of cls(response) @@ -433,8 +433,8 @@ async def begin_prepare_network_policies( :type prepare_network_policies_request_parameters: ~azure.mgmt.network.v2020_05_01.models.PrepareNetworkPoliciesRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -559,8 +559,8 @@ async def begin_unprepare_network_policies( :type unprepare_network_policies_request_parameters: ~azure.mgmt.network.v2020_05_01.models.UnprepareNetworkPoliciesRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_virtual_appliance_sites_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_virtual_appliance_sites_operations.py index 3dd573d11aaa..8a6554d05754 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_virtual_appliance_sites_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_virtual_appliance_sites_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type site_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -300,8 +300,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_05_01.models.VirtualApplianceSite :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualApplianceSite or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_virtual_hub_bgp_connection_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_virtual_hub_bgp_connection_operations.py index 173b0eff5e5e..1adab427718f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_virtual_hub_bgp_connection_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_virtual_hub_bgp_connection_operations.py @@ -184,8 +184,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_05_01.models.BgpConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either BgpConnection or the result of cls(response) @@ -303,8 +303,8 @@ async def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_virtual_hub_ip_configuration_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_virtual_hub_ip_configuration_operations.py index a808501fca0f..2aaedb098b61 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_virtual_hub_ip_configuration_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_virtual_hub_ip_configuration_operations.py @@ -185,8 +185,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_05_01.models.HubIpConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either HubIpConfiguration or the result of cls(response) @@ -304,8 +304,8 @@ async def begin_delete( :type ip_config_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_virtual_hub_route_table_v2_s_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_virtual_hub_route_table_v2_s_operations.py index 200f4e37a8d6..abd59b777a61 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_virtual_hub_route_table_v2_s_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_virtual_hub_route_table_v2_s_operations.py @@ -95,7 +95,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualHubRouteTableV2', pipeline_response) @@ -151,7 +151,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -188,8 +188,8 @@ async def begin_create_or_update( :type virtual_hub_route_table_v2_parameters: ~azure.mgmt.network.v2020_05_01.models.VirtualHubRouteTableV2 :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualHubRouteTableV2 or the result of cls(response) @@ -283,7 +283,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -308,8 +308,8 @@ async def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_virtual_hubs_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_virtual_hubs_operations.py index a08b3ff3d58e..c28479f6c62e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_virtual_hubs_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_virtual_hubs_operations.py @@ -175,8 +175,8 @@ async def begin_create_or_update( :type virtual_hub_parameters: ~azure.mgmt.network.v2020_05_01.models.VirtualHub :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualHub or the result of cls(response) @@ -353,8 +353,8 @@ async def begin_delete( :type virtual_hub_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -610,8 +610,8 @@ async def begin_get_effective_virtual_hub_routes( :type effective_routes_parameters: ~azure.mgmt.network.v2020_05_01.models.EffectiveRoutesParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_virtual_network_gateway_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_virtual_network_gateway_connections_operations.py index 6c4bae6eb18b..bb810eb25f11 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_virtual_network_gateway_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_virtual_network_gateway_connections_operations.py @@ -119,8 +119,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_05_01.models.VirtualNetworkGatewayConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -291,8 +291,8 @@ async def begin_delete( :type virtual_network_gateway_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -414,8 +414,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2020_05_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -545,8 +545,8 @@ async def begin_set_shared_key( :type parameters: ~azure.mgmt.network.v2020_05_01.models.ConnectionSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionSharedKey or the result of cls(response) @@ -806,8 +806,8 @@ async def begin_reset_shared_key( :type parameters: ~azure.mgmt.network.v2020_05_01.models.ConnectionResetSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionResetSharedKey or the result of cls(response) @@ -906,7 +906,7 @@ async def _start_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -938,8 +938,8 @@ async def begin_start_packet_capture( :type parameters: ~azure.mgmt.network.v2020_05_01.models.VpnPacketCaptureStartParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1035,7 +1035,7 @@ async def _stop_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -1067,8 +1067,8 @@ async def begin_stop_packet_capture( :type parameters: ~azure.mgmt.network.v2020_05_01.models.VpnPacketCaptureStopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_virtual_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_virtual_network_gateways_operations.py index 62b1938299c3..503524114023 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_virtual_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_virtual_network_gateways_operations.py @@ -117,8 +117,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_05_01.models.VirtualNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -287,8 +287,8 @@ async def begin_delete( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -409,8 +409,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2020_05_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -677,8 +677,8 @@ async def begin_reset( :type gateway_vip: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -790,8 +790,8 @@ async def begin_reset_vpn_client_shared_key( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -914,8 +914,8 @@ async def begin_generatevpnclientpackage( :type parameters: ~azure.mgmt.network.v2020_05_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1042,8 +1042,8 @@ async def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2020_05_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1160,8 +1160,8 @@ async def begin_get_vpn_profile_package_url( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1282,8 +1282,8 @@ async def begin_get_bgp_peer_status( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either BgpPeerStatusListResult or the result of cls(response) @@ -1458,8 +1458,8 @@ async def begin_get_learned_routes( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1580,8 +1580,8 @@ async def begin_get_advertised_routes( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1708,8 +1708,8 @@ async def begin_set_vpnclient_ipsec_parameters( :type vpnclient_ipsec_params: ~azure.mgmt.network.v2020_05_01.models.VpnClientIPsecParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnClientIPsecParameters or the result of cls(response) @@ -1825,8 +1825,8 @@ async def begin_get_vpnclient_ipsec_parameters( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnClientIPsecParameters or the result of cls(response) @@ -1991,7 +1991,7 @@ async def _start_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -2022,8 +2022,8 @@ async def begin_start_packet_capture( :type parameters: ~azure.mgmt.network.v2020_05_01.models.VpnPacketCaptureStartParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -2119,7 +2119,7 @@ async def _stop_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -2150,8 +2150,8 @@ async def begin_stop_packet_capture( :type parameters: ~azure.mgmt.network.v2020_05_01.models.VpnPacketCaptureStopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -2268,8 +2268,8 @@ async def begin_get_vpnclient_connection_health( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnClientConnectionHealthDetailListResult or the result of cls(response) @@ -2388,8 +2388,8 @@ async def begin_disconnect_virtual_network_gateway_vpn_connections( :type request: ~azure.mgmt.network.v2020_05_01.models.P2SVpnConnectionRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_virtual_network_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_virtual_network_peerings_operations.py index ebb5bb581295..4e82ec5fcbf6 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_virtual_network_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_virtual_network_peerings_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type virtual_network_peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -300,8 +300,8 @@ async def begin_create_or_update( :type virtual_network_peering_parameters: ~azure.mgmt.network.v2020_05_01.models.VirtualNetworkPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_virtual_network_taps_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_virtual_network_taps_operations.py index 050ae896663c..d3b468d00c75 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_virtual_network_taps_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_virtual_network_taps_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type tap_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -283,8 +283,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_05_01.models.VirtualNetworkTap :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkTap or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_virtual_networks_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_virtual_networks_operations.py index b54824809ce3..885f092b3b60 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_virtual_networks_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_virtual_networks_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type virtual_network_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -288,8 +288,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_05_01.models.VirtualNetwork :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetwork or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_virtual_router_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_virtual_router_peerings_operations.py index 53840aacf8c4..e82e1bd4bc01 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_virtual_router_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_virtual_router_peerings_operations.py @@ -82,7 +82,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -107,8 +107,8 @@ async def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -211,7 +211,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualRouterPeering', pipeline_response) @@ -267,7 +267,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -303,8 +303,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_05_01.models.VirtualRouterPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualRouterPeering or the result of cls(response) @@ -423,7 +423,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_virtual_routers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_virtual_routers_operations.py index db3bedc50e56..66d818fd6059 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_virtual_routers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_virtual_routers_operations.py @@ -80,7 +80,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -102,8 +102,8 @@ async def begin_delete( :type virtual_router_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -205,7 +205,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualRouter', pipeline_response) @@ -259,7 +259,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -291,8 +291,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_05_01.models.VirtualRouter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualRouter or the result of cls(response) @@ -405,7 +405,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -472,7 +472,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_virtual_wans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_virtual_wans_operations.py index ed5af01a4833..d23a6a28ce41 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_virtual_wans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_virtual_wans_operations.py @@ -175,8 +175,8 @@ async def begin_create_or_update( :type wan_parameters: ~azure.mgmt.network.v2020_05_01.models.VirtualWAN :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualWAN or the result of cls(response) @@ -353,8 +353,8 @@ async def begin_delete( :type virtual_wan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_vpn_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_vpn_connections_operations.py index f2ec22b17b60..5fd0325324f8 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_vpn_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_vpn_connections_operations.py @@ -185,8 +185,8 @@ async def begin_create_or_update( :type vpn_connection_parameters: ~azure.mgmt.network.v2020_05_01.models.VpnConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnConnection or the result of cls(response) @@ -304,8 +304,8 @@ async def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_vpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_vpn_gateways_operations.py index d6aa53be9481..53d08d601a83 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_vpn_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_vpn_gateways_operations.py @@ -176,8 +176,8 @@ async def begin_create_or_update( :type vpn_gateway_parameters: ~azure.mgmt.network.v2020_05_01.models.VpnGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnGateway or the result of cls(response) @@ -354,8 +354,8 @@ async def begin_delete( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -467,8 +467,8 @@ async def begin_reset( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnGateway or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py index 530ef0173957..5be4b941fc5c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py @@ -106,8 +106,8 @@ async def begin_list( :type virtual_wan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnServerConfigurationsResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_vpn_server_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_vpn_server_configurations_operations.py index c07b63a8f9d3..a7bcce08f283 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_vpn_server_configurations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_vpn_server_configurations_operations.py @@ -178,8 +178,8 @@ async def begin_create_or_update( :type vpn_server_configuration_parameters: ~azure.mgmt.network.v2020_05_01.models.VpnServerConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnServerConfiguration or the result of cls(response) @@ -357,8 +357,8 @@ async def begin_delete( :type vpn_server_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_vpn_sites_configuration_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_vpn_sites_configuration_operations.py index e69a166bfdc9..94a3272ddc69 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_vpn_sites_configuration_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_vpn_sites_configuration_operations.py @@ -110,8 +110,8 @@ async def begin_download( :type request: ~azure.mgmt.network.v2020_05_01.models.GetVpnSitesConfigurationRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_vpn_sites_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_vpn_sites_operations.py index d5c78149eaaf..cc865e941a5c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_vpn_sites_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_vpn_sites_operations.py @@ -175,8 +175,8 @@ async def begin_create_or_update( :type vpn_site_parameters: ~azure.mgmt.network.v2020_05_01.models.VpnSite :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnSite or the result of cls(response) @@ -353,8 +353,8 @@ async def begin_delete( :type vpn_site_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_web_application_firewall_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_web_application_firewall_policies_operations.py index 18abddd4b304..6786b0520ab6 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_web_application_firewall_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_web_application_firewall_policies_operations.py @@ -365,8 +365,8 @@ async def begin_delete( :type policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/models/_models.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/models/_models.py index 43bc0abb84c2..f8790d9bb702 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/models/_models.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/models/_models.py @@ -129,58 +129,55 @@ class ApplicationGateway(Resource): :vartype operational_state: str or ~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayOperationalState :param gateway_ip_configurations: Subnets of the application gateway resource. For default - limits, see `Application Gateway limits `_. + limits, see `Application Gateway limits + `_. :type gateway_ip_configurations: list[~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayIPConfiguration] :param authentication_certificates: Authentication certificates of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type authentication_certificates: list[~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayAuthenticationCertificate] :param trusted_root_certificates: Trusted Root certificates of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type trusted_root_certificates: list[~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayTrustedRootCertificate] :param ssl_certificates: SSL certificates of the application gateway resource. For default - limits, see `Application Gateway limits `_. + limits, see `Application Gateway limits + `_. :type ssl_certificates: list[~azure.mgmt.network.v2020_05_01.models.ApplicationGatewaySslCertificate] :param frontend_ip_configurations: Frontend IP addresses of the application gateway resource. - For default limits, see `Application Gateway limits `_. + For default limits, see `Application Gateway limits + `_. :type frontend_ip_configurations: list[~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayFrontendIPConfiguration] :param frontend_ports: Frontend ports of the application gateway resource. For default limits, - see `Application Gateway limits `_. + see `Application Gateway limits + `_. :type frontend_ports: list[~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayFrontendPort] :param probes: Probes of the application gateway resource. :type probes: list[~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayProbe] :param backend_address_pools: Backend address pool of the application gateway resource. For - default limits, see `Application Gateway limits `_. + default limits, see `Application Gateway limits + `_. :type backend_address_pools: list[~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayBackendAddressPool] :param backend_http_settings_collection: Backend http settings of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type backend_http_settings_collection: list[~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayBackendHttpSettings] :param http_listeners: Http listeners of the application gateway resource. For default limits, - see `Application Gateway limits `_. + see `Application Gateway limits + `_. :type http_listeners: list[~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayHttpListener] :param url_path_maps: URL path map of the application gateway resource. For default limits, see - `Application Gateway limits `_. + `Application Gateway limits + `_. :type url_path_maps: list[~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayUrlPathMap] :param request_routing_rules: Request routing rules of the application gateway resource. :type request_routing_rules: @@ -189,8 +186,8 @@ class ApplicationGateway(Resource): :type rewrite_rule_sets: list[~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayRewriteRuleSet] :param redirect_configurations: Redirect configurations of the application gateway resource. - For default limits, see `Application Gateway limits `_. + For default limits, see `Application Gateway limits + `_. :type redirect_configurations: list[~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayRedirectConfiguration] :param web_application_firewall_configuration: Web application firewall configuration. @@ -2074,7 +2071,7 @@ class ApplicationGatewayRewriteRuleCondition(msrest.serialization.Model): :param pattern: The pattern, either fixed string or regular expression, that evaluates the truthfulness of the condition. :type pattern: str - :param ignore_case: Setting this paramter to truth value with force the pattern to do a case + :param ignore_case: Setting this parameter to truth value with force the pattern to do a case in-sensitive comparison. :type ignore_case: bool :param negate: Setting this value as truth will force to check the negation of the condition @@ -4116,7 +4113,7 @@ class BastionActiveSession(msrest.serialization.Model): :ivar session_id: A unique id for the session. :vartype session_id: str :ivar start_time: The time when the session started. - :vartype start_time: object + :vartype start_time: str :ivar target_subscription_id: The subscription id for the target virtual machine. :vartype target_subscription_id: str :ivar resource_type: The type of the resource. @@ -4154,7 +4151,7 @@ class BastionActiveSession(msrest.serialization.Model): _attribute_map = { 'session_id': {'key': 'sessionId', 'type': 'str'}, - 'start_time': {'key': 'startTime', 'type': 'object'}, + 'start_time': {'key': 'startTime', 'type': 'str'}, 'target_subscription_id': {'key': 'targetSubscriptionId', 'type': 'str'}, 'resource_type': {'key': 'resourceType', 'type': 'str'}, 'target_host_name': {'key': 'targetHostName', 'type': 'str'}, @@ -4411,7 +4408,7 @@ class BastionShareableLink(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param vm: Required. Reference of the virtual machine resource. - :type vm: ~azure.mgmt.network.v2020_05_01.models.Resource + :type vm: ~azure.mgmt.network.v2020_05_01.models.VM :ivar bsl: The unique Bastion Shareable Link to the virtual machine. :vartype bsl: str :ivar created_at: The time when the link was created. @@ -4429,7 +4426,7 @@ class BastionShareableLink(msrest.serialization.Model): } _attribute_map = { - 'vm': {'key': 'vm', 'type': 'Resource'}, + 'vm': {'key': 'vm', 'type': 'VM'}, 'bsl': {'key': 'bsl', 'type': 'str'}, 'created_at': {'key': 'createdAt', 'type': 'str'}, 'message': {'key': 'message', 'type': 'str'}, @@ -6037,7 +6034,7 @@ class ContainerNetworkInterface(SubResource): ~azure.mgmt.network.v2020_05_01.models.ContainerNetworkInterfaceConfiguration :param container: Reference to the container to which this container network interface is attached. - :type container: ~azure.mgmt.network.v2020_05_01.models.SubResource + :type container: ~azure.mgmt.network.v2020_05_01.models.Container :ivar ip_configurations: Reference to the ip configuration on this container nic. :vartype ip_configurations: list[~azure.mgmt.network.v2020_05_01.models.ContainerNetworkInterfaceIpConfiguration] @@ -6060,7 +6057,7 @@ class ContainerNetworkInterface(SubResource): 'type': {'key': 'type', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, 'container_network_interface_configuration': {'key': 'properties.containerNetworkInterfaceConfiguration', 'type': 'ContainerNetworkInterfaceConfiguration'}, - 'container': {'key': 'properties.container', 'type': 'SubResource'}, + 'container': {'key': 'properties.container', 'type': 'Container'}, 'ip_configurations': {'key': 'properties.ipConfigurations', 'type': '[ContainerNetworkInterfaceIpConfiguration]'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, } @@ -8428,7 +8425,7 @@ class ExpressRouteLinkMacSecConfig(msrest.serialization.Model): :type ckn_secret_identifier: str :param cak_secret_identifier: Keyvault Secret Identifier URL containing Mac security CAK key. :type cak_secret_identifier: str - :param cipher: Mac security cipher. Possible values include: "gcm-aes-128", "gcm-aes-256". + :param cipher: Mac security cipher. Possible values include: "GcmAes256", "GcmAes128". :type cipher: str or ~azure.mgmt.network.v2020_05_01.models.ExpressRouteLinkMacSecCipher """ @@ -14262,8 +14259,8 @@ class PacketCaptureStorageLocation(msrest.serialization.Model): :param storage_id: The ID of the storage account to save the packet capture session. Required if no local file path is provided. :type storage_id: str - :param storage_path: The URI of the storage path to save the packet capture. Must be a well- - formed URI describing the location to save the packet capture. + :param storage_path: The URI of the storage path to save the packet capture. Must be a + well-formed URI describing the location to save the packet capture. :type storage_path: str :param file_path: A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no @@ -14903,9 +14900,10 @@ class PrivateLinkService(Resource): :vartype private_endpoint_connections: list[~azure.mgmt.network.v2020_05_01.models.PrivateEndpointConnection] :param visibility: The visibility list of the private link service. - :type visibility: ~azure.mgmt.network.v2020_05_01.models.ResourceSet + :type visibility: ~azure.mgmt.network.v2020_05_01.models.PrivateLinkServicePropertiesVisibility :param auto_approval: The auto-approval list of the private link service. - :type auto_approval: ~azure.mgmt.network.v2020_05_01.models.ResourceSet + :type auto_approval: + ~azure.mgmt.network.v2020_05_01.models.PrivateLinkServicePropertiesAutoApproval :param fqdns: The list of Fqdn. :type fqdns: list[str] :ivar alias: The alias of the private link service. @@ -14937,8 +14935,8 @@ class PrivateLinkService(Resource): 'network_interfaces': {'key': 'properties.networkInterfaces', 'type': '[NetworkInterface]'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'private_endpoint_connections': {'key': 'properties.privateEndpointConnections', 'type': '[PrivateEndpointConnection]'}, - 'visibility': {'key': 'properties.visibility', 'type': 'ResourceSet'}, - 'auto_approval': {'key': 'properties.autoApproval', 'type': 'ResourceSet'}, + 'visibility': {'key': 'properties.visibility', 'type': 'PrivateLinkServicePropertiesVisibility'}, + 'auto_approval': {'key': 'properties.autoApproval', 'type': 'PrivateLinkServicePropertiesAutoApproval'}, 'fqdns': {'key': 'properties.fqdns', 'type': '[str]'}, 'alias': {'key': 'properties.alias', 'type': 'str'}, 'enable_proxy_protocol': {'key': 'properties.enableProxyProtocol', 'type': 'bool'}, @@ -19127,8 +19125,8 @@ class VirtualNetworkPeering(SubResource): :type use_remote_gateways: bool :param remote_virtual_network: The reference to the remote virtual network. The remote virtual network can be in the same or different region (preview). See here to register for the preview - and learn more (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create- - peering). + and learn more + (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering). :type remote_virtual_network: ~azure.mgmt.network.v2020_05_01.models.SubResource :param remote_address_space: The reference to the remote virtual network address space. :type remote_address_space: ~azure.mgmt.network.v2020_05_01.models.AddressSpace diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/models/_models_py3.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/models/_models_py3.py index 056fc6755055..93f7e54eb744 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/models/_models_py3.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/models/_models_py3.py @@ -144,58 +144,55 @@ class ApplicationGateway(Resource): :vartype operational_state: str or ~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayOperationalState :param gateway_ip_configurations: Subnets of the application gateway resource. For default - limits, see `Application Gateway limits `_. + limits, see `Application Gateway limits + `_. :type gateway_ip_configurations: list[~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayIPConfiguration] :param authentication_certificates: Authentication certificates of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type authentication_certificates: list[~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayAuthenticationCertificate] :param trusted_root_certificates: Trusted Root certificates of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type trusted_root_certificates: list[~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayTrustedRootCertificate] :param ssl_certificates: SSL certificates of the application gateway resource. For default - limits, see `Application Gateway limits `_. + limits, see `Application Gateway limits + `_. :type ssl_certificates: list[~azure.mgmt.network.v2020_05_01.models.ApplicationGatewaySslCertificate] :param frontend_ip_configurations: Frontend IP addresses of the application gateway resource. - For default limits, see `Application Gateway limits `_. + For default limits, see `Application Gateway limits + `_. :type frontend_ip_configurations: list[~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayFrontendIPConfiguration] :param frontend_ports: Frontend ports of the application gateway resource. For default limits, - see `Application Gateway limits `_. + see `Application Gateway limits + `_. :type frontend_ports: list[~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayFrontendPort] :param probes: Probes of the application gateway resource. :type probes: list[~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayProbe] :param backend_address_pools: Backend address pool of the application gateway resource. For - default limits, see `Application Gateway limits `_. + default limits, see `Application Gateway limits + `_. :type backend_address_pools: list[~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayBackendAddressPool] :param backend_http_settings_collection: Backend http settings of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type backend_http_settings_collection: list[~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayBackendHttpSettings] :param http_listeners: Http listeners of the application gateway resource. For default limits, - see `Application Gateway limits `_. + see `Application Gateway limits + `_. :type http_listeners: list[~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayHttpListener] :param url_path_maps: URL path map of the application gateway resource. For default limits, see - `Application Gateway limits `_. + `Application Gateway limits + `_. :type url_path_maps: list[~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayUrlPathMap] :param request_routing_rules: Request routing rules of the application gateway resource. :type request_routing_rules: @@ -204,8 +201,8 @@ class ApplicationGateway(Resource): :type rewrite_rule_sets: list[~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayRewriteRuleSet] :param redirect_configurations: Redirect configurations of the application gateway resource. - For default limits, see `Application Gateway limits `_. + For default limits, see `Application Gateway limits + `_. :type redirect_configurations: list[~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayRedirectConfiguration] :param web_application_firewall_configuration: Web application firewall configuration. @@ -2331,7 +2328,7 @@ class ApplicationGatewayRewriteRuleCondition(msrest.serialization.Model): :param pattern: The pattern, either fixed string or regular expression, that evaluates the truthfulness of the condition. :type pattern: str - :param ignore_case: Setting this paramter to truth value with force the pattern to do a case + :param ignore_case: Setting this parameter to truth value with force the pattern to do a case in-sensitive comparison. :type ignore_case: bool :param negate: Setting this value as truth will force to check the negation of the condition @@ -4618,7 +4615,7 @@ class BastionActiveSession(msrest.serialization.Model): :ivar session_id: A unique id for the session. :vartype session_id: str :ivar start_time: The time when the session started. - :vartype start_time: object + :vartype start_time: str :ivar target_subscription_id: The subscription id for the target virtual machine. :vartype target_subscription_id: str :ivar resource_type: The type of the resource. @@ -4656,7 +4653,7 @@ class BastionActiveSession(msrest.serialization.Model): _attribute_map = { 'session_id': {'key': 'sessionId', 'type': 'str'}, - 'start_time': {'key': 'startTime', 'type': 'object'}, + 'start_time': {'key': 'startTime', 'type': 'str'}, 'target_subscription_id': {'key': 'targetSubscriptionId', 'type': 'str'}, 'resource_type': {'key': 'resourceType', 'type': 'str'}, 'target_host_name': {'key': 'targetHostName', 'type': 'str'}, @@ -4934,7 +4931,7 @@ class BastionShareableLink(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param vm: Required. Reference of the virtual machine resource. - :type vm: ~azure.mgmt.network.v2020_05_01.models.Resource + :type vm: ~azure.mgmt.network.v2020_05_01.models.VM :ivar bsl: The unique Bastion Shareable Link to the virtual machine. :vartype bsl: str :ivar created_at: The time when the link was created. @@ -4952,7 +4949,7 @@ class BastionShareableLink(msrest.serialization.Model): } _attribute_map = { - 'vm': {'key': 'vm', 'type': 'Resource'}, + 'vm': {'key': 'vm', 'type': 'VM'}, 'bsl': {'key': 'bsl', 'type': 'str'}, 'created_at': {'key': 'createdAt', 'type': 'str'}, 'message': {'key': 'message', 'type': 'str'}, @@ -4961,7 +4958,7 @@ class BastionShareableLink(msrest.serialization.Model): def __init__( self, *, - vm: "Resource", + vm: "VM", **kwargs ): super(BastionShareableLink, self).__init__(**kwargs) @@ -6738,7 +6735,7 @@ class ContainerNetworkInterface(SubResource): ~azure.mgmt.network.v2020_05_01.models.ContainerNetworkInterfaceConfiguration :param container: Reference to the container to which this container network interface is attached. - :type container: ~azure.mgmt.network.v2020_05_01.models.SubResource + :type container: ~azure.mgmt.network.v2020_05_01.models.Container :ivar ip_configurations: Reference to the ip configuration on this container nic. :vartype ip_configurations: list[~azure.mgmt.network.v2020_05_01.models.ContainerNetworkInterfaceIpConfiguration] @@ -6761,7 +6758,7 @@ class ContainerNetworkInterface(SubResource): 'type': {'key': 'type', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, 'container_network_interface_configuration': {'key': 'properties.containerNetworkInterfaceConfiguration', 'type': 'ContainerNetworkInterfaceConfiguration'}, - 'container': {'key': 'properties.container', 'type': 'SubResource'}, + 'container': {'key': 'properties.container', 'type': 'Container'}, 'ip_configurations': {'key': 'properties.ipConfigurations', 'type': '[ContainerNetworkInterfaceIpConfiguration]'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, } @@ -6771,7 +6768,7 @@ def __init__( *, id: Optional[str] = None, name: Optional[str] = None, - container: Optional["SubResource"] = None, + container: Optional["Container"] = None, **kwargs ): super(ContainerNetworkInterface, self).__init__(id=id, **kwargs) @@ -9410,7 +9407,7 @@ class ExpressRouteLinkMacSecConfig(msrest.serialization.Model): :type ckn_secret_identifier: str :param cak_secret_identifier: Keyvault Secret Identifier URL containing Mac security CAK key. :type cak_secret_identifier: str - :param cipher: Mac security cipher. Possible values include: "gcm-aes-128", "gcm-aes-256". + :param cipher: Mac security cipher. Possible values include: "GcmAes256", "GcmAes128". :type cipher: str or ~azure.mgmt.network.v2020_05_01.models.ExpressRouteLinkMacSecCipher """ @@ -15880,8 +15877,8 @@ class PacketCaptureStorageLocation(msrest.serialization.Model): :param storage_id: The ID of the storage account to save the packet capture session. Required if no local file path is provided. :type storage_id: str - :param storage_path: The URI of the storage path to save the packet capture. Must be a well- - formed URI describing the location to save the packet capture. + :param storage_path: The URI of the storage path to save the packet capture. Must be a + well-formed URI describing the location to save the packet capture. :type storage_path: str :param file_path: A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no @@ -16579,9 +16576,10 @@ class PrivateLinkService(Resource): :vartype private_endpoint_connections: list[~azure.mgmt.network.v2020_05_01.models.PrivateEndpointConnection] :param visibility: The visibility list of the private link service. - :type visibility: ~azure.mgmt.network.v2020_05_01.models.ResourceSet + :type visibility: ~azure.mgmt.network.v2020_05_01.models.PrivateLinkServicePropertiesVisibility :param auto_approval: The auto-approval list of the private link service. - :type auto_approval: ~azure.mgmt.network.v2020_05_01.models.ResourceSet + :type auto_approval: + ~azure.mgmt.network.v2020_05_01.models.PrivateLinkServicePropertiesAutoApproval :param fqdns: The list of Fqdn. :type fqdns: list[str] :ivar alias: The alias of the private link service. @@ -16613,8 +16611,8 @@ class PrivateLinkService(Resource): 'network_interfaces': {'key': 'properties.networkInterfaces', 'type': '[NetworkInterface]'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'private_endpoint_connections': {'key': 'properties.privateEndpointConnections', 'type': '[PrivateEndpointConnection]'}, - 'visibility': {'key': 'properties.visibility', 'type': 'ResourceSet'}, - 'auto_approval': {'key': 'properties.autoApproval', 'type': 'ResourceSet'}, + 'visibility': {'key': 'properties.visibility', 'type': 'PrivateLinkServicePropertiesVisibility'}, + 'auto_approval': {'key': 'properties.autoApproval', 'type': 'PrivateLinkServicePropertiesAutoApproval'}, 'fqdns': {'key': 'properties.fqdns', 'type': '[str]'}, 'alias': {'key': 'properties.alias', 'type': 'str'}, 'enable_proxy_protocol': {'key': 'properties.enableProxyProtocol', 'type': 'bool'}, @@ -16628,8 +16626,8 @@ def __init__( tags: Optional[Dict[str, str]] = None, load_balancer_frontend_ip_configurations: Optional[List["FrontendIPConfiguration"]] = None, ip_configurations: Optional[List["PrivateLinkServiceIpConfiguration"]] = None, - visibility: Optional["ResourceSet"] = None, - auto_approval: Optional["ResourceSet"] = None, + visibility: Optional["PrivateLinkServicePropertiesVisibility"] = None, + auto_approval: Optional["PrivateLinkServicePropertiesAutoApproval"] = None, fqdns: Optional[List[str]] = None, enable_proxy_protocol: Optional[bool] = None, **kwargs @@ -21272,8 +21270,8 @@ class VirtualNetworkPeering(SubResource): :type use_remote_gateways: bool :param remote_virtual_network: The reference to the remote virtual network. The remote virtual network can be in the same or different region (preview). See here to register for the preview - and learn more (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create- - peering). + and learn more + (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering). :type remote_virtual_network: ~azure.mgmt.network.v2020_05_01.models.SubResource :param remote_address_space: The reference to the remote virtual network address space. :type remote_address_space: ~azure.mgmt.network.v2020_05_01.models.AddressSpace diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/models/_network_management_client_enums.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/models/_network_management_client_enums.py index beb31b5cb0e4..e4e1bbc371b6 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/models/_network_management_client_enums.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/models/_network_management_client_enums.py @@ -454,8 +454,8 @@ class ExpressRouteLinkMacSecCipher(with_metaclass(_CaseInsensitiveEnumMeta, str, """Mac security cipher. """ - GCM_AES128 = "gcm-aes-128" - GCM_AES256 = "gcm-aes-256" + GCM_AES256 = "GcmAes256" + GCM_AES128 = "GcmAes128" class ExpressRoutePeeringState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The state of peering. diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_application_gateway_private_endpoint_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_application_gateway_private_endpoint_connections_operations.py index e1c208d8e001..a8c75a8cfc2b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_application_gateway_private_endpoint_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_application_gateway_private_endpoint_connections_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -244,8 +244,8 @@ def begin_update( :type parameters: ~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayPrivateEndpointConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGatewayPrivateEndpointConnection or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_application_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_application_gateways_operations.py index d4884c81a0be..172471718cfe 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_application_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_application_gateways_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -292,8 +292,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_05_01.models.ApplicationGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGateway or the result of cls(response) @@ -611,8 +611,8 @@ def begin_start( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -721,8 +721,8 @@ def begin_stop( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -842,8 +842,8 @@ def begin_backend_health( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGatewayBackendHealth or the result of cls(response) @@ -977,8 +977,8 @@ def begin_backend_health_on_demand( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGatewayBackendHealthOnDemand or the result of cls(response) @@ -1073,7 +1073,7 @@ def list_available_server_variables( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) @@ -1125,7 +1125,7 @@ def list_available_request_headers( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) @@ -1177,7 +1177,7 @@ def list_available_response_headers( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_application_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_application_security_groups_operations.py index 886ec51c1a5e..f03257148fec 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_application_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_application_security_groups_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type application_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -293,8 +293,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_05_01.models.ApplicationSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_azure_firewalls_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_azure_firewalls_operations.py index 0a5130439299..7e5f479785ee 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_azure_firewalls_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_azure_firewalls_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type azure_firewall_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -292,8 +292,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_05_01.models.AzureFirewall :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AzureFirewall or the result of cls(response) @@ -420,8 +420,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2020_05_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AzureFirewall or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_bastion_hosts_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_bastion_hosts_operations.py index a76f4d4ccf35..cd016b09ffe2 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_bastion_hosts_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_bastion_hosts_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type bastion_host_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -292,8 +292,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_05_01.models.BastionHost :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either BastionHost or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_connection_monitors_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_connection_monitors_operations.py index 1b091d781650..dcfeb4487fb9 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_connection_monitors_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_connection_monitors_operations.py @@ -93,7 +93,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -129,8 +129,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_05_01.models.ConnectionMonitor :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionMonitorResult or the result of cls(response) @@ -238,7 +238,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('ConnectionMonitorResult', pipeline_response) @@ -289,7 +289,7 @@ def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -315,8 +315,8 @@ def begin_delete( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -428,7 +428,7 @@ def update_tags( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('ConnectionMonitorResult', pipeline_response) @@ -479,7 +479,7 @@ def _stop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -505,8 +505,8 @@ def begin_stop( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -597,7 +597,7 @@ def _start_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -623,8 +623,8 @@ def begin_start( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -715,7 +715,7 @@ def _query_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -748,8 +748,8 @@ def begin_query( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionMonitorQueryResult or the result of cls(response) @@ -868,7 +868,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_ddos_custom_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_ddos_custom_policies_operations.py index 998220c504c2..0c5956b47b72 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_ddos_custom_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_ddos_custom_policies_operations.py @@ -106,8 +106,8 @@ def begin_delete( :type ddos_custom_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -291,8 +291,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_05_01.models.DdosCustomPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either DdosCustomPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_ddos_protection_plans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_ddos_protection_plans_operations.py index 64ac5b34ebc8..c7e751546d6d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_ddos_protection_plans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_ddos_protection_plans_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type ddos_protection_plan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -292,8 +292,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_05_01.models.DdosProtectionPlan :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either DdosProtectionPlan or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_express_route_circuit_authorizations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_express_route_circuit_authorizations_operations.py index 7c766e085552..8ffbd07e5ac5 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_express_route_circuit_authorizations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_express_route_circuit_authorizations_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type authorization_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -309,8 +309,8 @@ def begin_create_or_update( :type authorization_parameters: ~azure.mgmt.network.v2020_05_01.models.ExpressRouteCircuitAuthorization :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitAuthorization or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_express_route_circuit_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_express_route_circuit_connections_operations.py index b905a8363962..c3d4e3a855b1 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_express_route_circuit_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_express_route_circuit_connections_operations.py @@ -118,8 +118,8 @@ def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -326,8 +326,8 @@ def begin_create_or_update( :type express_route_circuit_connection_parameters: ~azure.mgmt.network.v2020_05_01.models.ExpressRouteCircuitConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitConnection or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_express_route_circuit_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_express_route_circuit_peerings_operations.py index 139078dcf578..3dd17adefc35 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_express_route_circuit_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_express_route_circuit_peerings_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -309,8 +309,8 @@ def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2020_05_01.models.ExpressRouteCircuitPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_express_route_circuits_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_express_route_circuits_operations.py index 8e45027b19f4..676ebc7e5118 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_express_route_circuits_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_express_route_circuits_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type circuit_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -292,8 +292,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_05_01.models.ExpressRouteCircuit :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -489,8 +489,8 @@ def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -622,8 +622,8 @@ def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) @@ -755,8 +755,8 @@ def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableSummaryListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_express_route_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_express_route_connections_operations.py index 497d5eeb286c..38ca78ab13ac 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_express_route_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_express_route_connections_operations.py @@ -128,8 +128,8 @@ def begin_create_or_update( :type put_express_route_connection_parameters: ~azure.mgmt.network.v2020_05_01.models.ExpressRouteConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteConnection or the result of cls(response) @@ -312,8 +312,8 @@ def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_express_route_cross_connection_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_express_route_cross_connection_peerings_operations.py index 3d4b83a82237..1baa51d4110b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_express_route_cross_connection_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_express_route_cross_connection_peerings_operations.py @@ -187,8 +187,8 @@ def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -384,8 +384,8 @@ def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2020_05_01.models.ExpressRouteCrossConnectionPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCrossConnectionPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_express_route_cross_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_express_route_cross_connections_operations.py index 6e52b1f0d04b..fb1602a478ec 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_express_route_cross_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_express_route_cross_connections_operations.py @@ -317,8 +317,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_05_01.models.ExpressRouteCrossConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCrossConnection or the result of cls(response) @@ -515,8 +515,8 @@ def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -648,8 +648,8 @@ def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCrossConnectionsRoutesTableSummaryListResult or the result of cls(response) @@ -781,8 +781,8 @@ def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_express_route_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_express_route_gateways_operations.py index bcab8f3b31c5..ea0d6a3a2268 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_express_route_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_express_route_gateways_operations.py @@ -229,8 +229,8 @@ def begin_create_or_update( :type put_express_route_gateway_parameters: ~azure.mgmt.network.v2020_05_01.models.ExpressRouteGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteGateway or the result of cls(response) @@ -403,8 +403,8 @@ def begin_delete( :type express_route_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_express_route_ports_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_express_route_ports_operations.py index 7ea386841891..0daca7f3925f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_express_route_ports_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_express_route_ports_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type express_route_port_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -292,8 +292,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_05_01.models.ExpressRoutePort :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRoutePort or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_firewall_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_firewall_policies_operations.py index efa0e31af246..d7b304b2a3ff 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_firewall_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_firewall_policies_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type firewall_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_05_01.models.FirewallPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FirewallPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_firewall_policy_rule_collection_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_firewall_policy_rule_collection_groups_operations.py index 8b51eb4bfd76..d740678707a0 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_firewall_policy_rule_collection_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_firewall_policy_rule_collection_groups_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type rule_collection_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -309,8 +309,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_05_01.models.FirewallPolicyRuleCollectionGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FirewallPolicyRuleCollectionGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_flow_logs_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_flow_logs_operations.py index c4ec8a3d8078..2db45171c5a2 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_flow_logs_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_flow_logs_operations.py @@ -93,7 +93,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -129,8 +129,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_05_01.models.FlowLog :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FlowLog or the result of cls(response) @@ -238,7 +238,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('FlowLog', pipeline_response) @@ -289,7 +289,7 @@ def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -315,8 +315,8 @@ def begin_delete( :type flow_log_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -432,7 +432,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_hub_route_tables_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_hub_route_tables_operations.py index 8db9ba3624f0..d58d96513c34 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_hub_route_tables_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_hub_route_tables_operations.py @@ -128,8 +128,8 @@ def begin_create_or_update( :type route_table_parameters: ~azure.mgmt.network.v2020_05_01.models.HubRouteTable :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either HubRouteTable or the result of cls(response) @@ -312,8 +312,8 @@ def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_hub_virtual_network_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_hub_virtual_network_connections_operations.py index 1e009d08d65d..0091cb4b286b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_hub_virtual_network_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_hub_virtual_network_connections_operations.py @@ -129,8 +129,8 @@ def begin_create_or_update( :type hub_virtual_network_connection_parameters: ~azure.mgmt.network.v2020_05_01.models.HubVirtualNetworkConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either HubVirtualNetworkConnection or the result of cls(response) @@ -250,8 +250,8 @@ def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_inbound_nat_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_inbound_nat_rules_operations.py index 015d96938770..1ad153bd5515 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_inbound_nat_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_inbound_nat_rules_operations.py @@ -187,8 +187,8 @@ def begin_delete( :type inbound_nat_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -389,8 +389,8 @@ def begin_create_or_update( :type inbound_nat_rule_parameters: ~azure.mgmt.network.v2020_05_01.models.InboundNatRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either InboundNatRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_ip_allocations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_ip_allocations_operations.py index 8b4772354b65..1ac4bc6ab79d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_ip_allocations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_ip_allocations_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type ip_allocation_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_05_01.models.IpAllocation :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either IpAllocation or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_ip_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_ip_groups_operations.py index 59668b00b1c7..3c18ecfcd715 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_ip_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_ip_groups_operations.py @@ -102,7 +102,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('IpGroup', pipeline_response) @@ -157,7 +157,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -190,8 +190,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_05_01.models.IpGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either IpGroup or the result of cls(response) @@ -301,7 +301,7 @@ def update_groups( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('IpGroup', pipeline_response) @@ -350,7 +350,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -373,8 +373,8 @@ def begin_delete( :type ip_groups_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -484,7 +484,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -552,7 +552,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_load_balancer_backend_address_pools_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_load_balancer_backend_address_pools_operations.py index ad70717f08bb..b61159718f99 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_load_balancer_backend_address_pools_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_load_balancer_backend_address_pools_operations.py @@ -267,8 +267,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_05_01.models.BackendAddressPool :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either BackendAddressPool or the result of cls(response) @@ -388,8 +388,8 @@ def begin_delete( :type backend_address_pool_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_load_balancers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_load_balancers_operations.py index 4abd1fe90414..affa9ba83127 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_load_balancers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_load_balancers_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type load_balancer_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_05_01.models.LoadBalancer :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LoadBalancer or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_local_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_local_network_gateways_operations.py index 5fa778a05f8e..0fcdd7731b00 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_local_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_local_network_gateways_operations.py @@ -123,8 +123,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_05_01.models.LocalNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LocalNetworkGateway or the result of cls(response) @@ -296,8 +296,8 @@ def begin_delete( :type local_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_nat_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_nat_gateways_operations.py index 6a6233472969..610b1bc8dbbe 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_nat_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_nat_gateways_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type nat_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -300,8 +300,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_05_01.models.NatGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NatGateway or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_network_interface_tap_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_network_interface_tap_configurations_operations.py index 8806ef873093..c9fd28982839 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_network_interface_tap_configurations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_network_interface_tap_configurations_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type tap_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -309,8 +309,8 @@ def begin_create_or_update( :type tap_configuration_parameters: ~azure.mgmt.network.v2020_05_01.models.NetworkInterfaceTapConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkInterfaceTapConfiguration or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_network_interfaces_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_network_interfaces_operations.py index 10cd752df1d4..6ba3d9686889 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_network_interfaces_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_network_interfaces_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_05_01.models.NetworkInterface :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkInterface or the result of cls(response) @@ -621,8 +621,8 @@ def begin_get_effective_route_table( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either EffectiveRouteListResult or the result of cls(response) @@ -739,8 +739,8 @@ def begin_list_effective_network_security_groups( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either EffectiveNetworkSecurityGroupListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_network_management_client_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_network_management_client_operations.py index 544d5d8a9834..d8e0cfdedb9e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_network_management_client_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_network_management_client_operations.py @@ -101,8 +101,8 @@ def begin_put_bastion_shareable_link( :type bsl_request: ~azure.mgmt.network.v2020_05_01.models.BastionShareableLinkListRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns an iterator like instance of either BastionShareableLinkListResult or the result of cls(response) @@ -286,8 +286,8 @@ def begin_delete_bastion_shareable_link( :type bsl_request: ~azure.mgmt.network.v2020_05_01.models.BastionShareableLinkListRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -488,8 +488,8 @@ def begin_get_active_sessions( :type bastion_host_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns an iterator like instance of either BastionActiveSessionListResult or the result of cls(response) @@ -878,8 +878,8 @@ def begin_generatevirtualwanvpnserverconfigurationvpnprofile( :type vpn_client_params: ~azure.mgmt.network.v2020_05_01.models.VirtualWanVpnProfileParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnProfileResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_network_profiles_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_network_profiles_operations.py index db1cf76721b8..7ae00bf79944 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_network_profiles_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_network_profiles_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type network_profile_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_network_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_network_security_groups_operations.py index eace5a08999f..a0ce0e27a1a7 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_network_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_network_security_groups_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type network_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_05_01.models.NetworkSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_network_virtual_appliances_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_network_virtual_appliances_operations.py index 9b2b22fa6ab6..1796d836a965 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_network_virtual_appliances_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_network_virtual_appliances_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type network_virtual_appliance_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -364,8 +364,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_05_01.models.NetworkVirtualAppliance :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkVirtualAppliance or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_network_watchers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_network_watchers_operations.py index caf22afc8992..c11877d342c6 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_network_watchers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_network_watchers_operations.py @@ -104,7 +104,7 @@ def create_or_update( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -168,7 +168,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('NetworkWatcher', pipeline_response) @@ -217,7 +217,7 @@ def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -240,8 +240,8 @@ def begin_delete( :type network_watcher_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -347,7 +347,7 @@ def update_tags( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('NetworkWatcher', pipeline_response) @@ -419,7 +419,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -487,7 +487,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -555,7 +555,7 @@ def get_topology( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('Topology', pipeline_response) @@ -610,7 +610,7 @@ def _verify_ip_flow_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -643,8 +643,8 @@ def begin_verify_ip_flow( :type parameters: ~azure.mgmt.network.v2020_05_01.models.VerificationIPFlowParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VerificationIPFlowResult or the result of cls(response) @@ -741,7 +741,7 @@ def _get_next_hop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -774,8 +774,8 @@ def begin_get_next_hop( :type parameters: ~azure.mgmt.network.v2020_05_01.models.NextHopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NextHopResult or the result of cls(response) @@ -872,7 +872,7 @@ def _get_vm_security_rules_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -905,8 +905,8 @@ def begin_get_vm_security_rules( :type parameters: ~azure.mgmt.network.v2020_05_01.models.SecurityGroupViewParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either SecurityGroupViewResult or the result of cls(response) @@ -1003,7 +1003,7 @@ def _get_troubleshooting_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1036,8 +1036,8 @@ def begin_get_troubleshooting( :type parameters: ~azure.mgmt.network.v2020_05_01.models.TroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1134,7 +1134,7 @@ def _get_troubleshooting_result_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1167,8 +1167,8 @@ def begin_get_troubleshooting_result( :type parameters: ~azure.mgmt.network.v2020_05_01.models.QueryTroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1265,7 +1265,7 @@ def _set_flow_log_configuration_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1298,8 +1298,8 @@ def begin_set_flow_log_configuration( :type parameters: ~azure.mgmt.network.v2020_05_01.models.FlowLogInformation :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1396,7 +1396,7 @@ def _get_flow_log_status_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1430,8 +1430,8 @@ def begin_get_flow_log_status( :type parameters: ~azure.mgmt.network.v2020_05_01.models.FlowLogStatusParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1528,7 +1528,7 @@ def _check_connectivity_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1562,8 +1562,8 @@ def begin_check_connectivity( :type parameters: ~azure.mgmt.network.v2020_05_01.models.ConnectivityParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectivityInformation or the result of cls(response) @@ -1660,7 +1660,7 @@ def _get_azure_reachability_report_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1695,8 +1695,8 @@ def begin_get_azure_reachability_report( :type parameters: ~azure.mgmt.network.v2020_05_01.models.AzureReachabilityReportParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AzureReachabilityReport or the result of cls(response) @@ -1793,7 +1793,7 @@ def _list_available_providers_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1827,8 +1827,8 @@ def begin_list_available_providers( :type parameters: ~azure.mgmt.network.v2020_05_01.models.AvailableProvidersListParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AvailableProvidersList or the result of cls(response) @@ -1925,7 +1925,7 @@ def _get_network_configuration_diagnostic_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1962,8 +1962,8 @@ def begin_get_network_configuration_diagnostic( :type parameters: ~azure.mgmt.network.v2020_05_01.models.NetworkConfigurationDiagnosticParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkConfigurationDiagnosticResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_p2_svpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_p2_svpn_gateways_operations.py index b5fb40bb2330..4174bffe2d7d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_p2_svpn_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_p2_svpn_gateways_operations.py @@ -183,8 +183,8 @@ def begin_create_or_update( :type p2_s_vpn_gateway_parameters: ~azure.mgmt.network.v2020_05_01.models.P2SVpnGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -365,8 +365,8 @@ def begin_delete( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -628,8 +628,8 @@ def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2020_05_01.models.P2SVpnProfileParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnProfileResponse or the result of cls(response) @@ -748,8 +748,8 @@ def begin_get_p2_s_vpn_connection_health( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -876,8 +876,8 @@ def begin_get_p2_s_vpn_connection_health_detailed( :type request: ~azure.mgmt.network.v2020_05_01.models.P2SVpnConnectionHealthRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either P2SVpnConnectionHealth or the result of cls(response) @@ -1000,8 +1000,8 @@ def begin_disconnect_p2_s_vpn_connections( :type request: ~azure.mgmt.network.v2020_05_01.models.P2SVpnConnectionRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_packet_captures_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_packet_captures_operations.py index 4abec8fe5d19..5293ebf518ac 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_packet_captures_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_packet_captures_operations.py @@ -93,7 +93,7 @@ def _create_initial( if response.status_code not in [201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PacketCaptureResult', pipeline_response) @@ -125,8 +125,8 @@ def begin_create( :type parameters: ~azure.mgmt.network.v2020_05_01.models.PacketCapture :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PacketCaptureResult or the result of cls(response) @@ -234,7 +234,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PacketCaptureResult', pipeline_response) @@ -285,7 +285,7 @@ def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -311,8 +311,8 @@ def begin_delete( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -403,7 +403,7 @@ def _stop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -429,8 +429,8 @@ def begin_stop( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -521,7 +521,7 @@ def _get_status_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -554,8 +554,8 @@ def begin_get_status( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PacketCaptureQueryStatusResult or the result of cls(response) @@ -674,7 +674,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_private_dns_zone_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_private_dns_zone_groups_operations.py index 7fc96b1fd760..ce7d6f6abdf0 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_private_dns_zone_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_private_dns_zone_groups_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type private_dns_zone_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -309,8 +309,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_05_01.models.PrivateDnsZoneGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PrivateDnsZoneGroup or the result of cls(response) @@ -430,7 +430,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_private_endpoints_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_private_endpoints_operations.py index 371e60f53215..dfa1df4e0df2 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_private_endpoints_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_private_endpoints_operations.py @@ -85,7 +85,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -108,8 +108,8 @@ def begin_delete( :type private_endpoint_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -212,7 +212,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateEndpoint', pipeline_response) @@ -267,7 +267,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -300,8 +300,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_05_01.models.PrivateEndpoint :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PrivateEndpoint or the result of cls(response) @@ -415,7 +415,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -483,7 +483,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_private_link_services_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_private_link_services_operations.py index d1f82be12650..cf71f1277cb1 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_private_link_services_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_private_link_services_operations.py @@ -85,7 +85,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -108,8 +108,8 @@ def begin_delete( :type service_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -212,7 +212,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateLinkService', pipeline_response) @@ -267,7 +267,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -300,8 +300,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_05_01.models.PrivateLinkService :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PrivateLinkService or the result of cls(response) @@ -415,7 +415,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -483,7 +483,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -553,7 +553,7 @@ def get_private_endpoint_connection( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateEndpointConnection', pipeline_response) @@ -625,7 +625,7 @@ def update_private_endpoint_connection( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateEndpointConnection', pipeline_response) @@ -676,7 +676,7 @@ def _delete_private_endpoint_connection_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -702,8 +702,8 @@ def begin_delete_private_endpoint_connection( :type pe_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -819,7 +819,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -899,8 +899,8 @@ def begin_check_private_link_service_visibility( :type parameters: ~azure.mgmt.network.v2020_05_01.models.CheckPrivateLinkServiceVisibilityRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PrivateLinkServiceVisibility or the result of cls(response) @@ -1026,8 +1026,8 @@ def begin_check_private_link_service_visibility_by_resource_group( :type parameters: ~azure.mgmt.network.v2020_05_01.models.CheckPrivateLinkServiceVisibilityRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PrivateLinkServiceVisibility or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_public_ip_addresses_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_public_ip_addresses_operations.py index 5e05f1dbe667..01678745978f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_public_ip_addresses_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_public_ip_addresses_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type public_ip_address_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_05_01.models.PublicIPAddress :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PublicIPAddress or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_public_ip_prefixes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_public_ip_prefixes_operations.py index 537501ce0ea9..223ef8a6291e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_public_ip_prefixes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_public_ip_prefixes_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type public_ip_prefix_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_05_01.models.PublicIPPrefix :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PublicIPPrefix or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_route_filter_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_route_filter_rules_operations.py index 64c95246d17f..89ae4784f0dc 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_route_filter_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_route_filter_rules_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -309,8 +309,8 @@ def begin_create_or_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2020_05_01.models.RouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilterRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_route_filters_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_route_filters_operations.py index 66fc165fe8a3..a2c64aecef30 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_route_filters_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_route_filters_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type route_filter_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ def begin_create_or_update( :type route_filter_parameters: ~azure.mgmt.network.v2020_05_01.models.RouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilter or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_route_tables_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_route_tables_operations.py index 617ba1cf49eb..ed6cc60cfaaf 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_route_tables_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_route_tables_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_05_01.models.RouteTable :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteTable or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_routes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_routes_operations.py index d47a7c6dd59b..987b5a50e517 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_routes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_routes_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type route_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -308,8 +308,8 @@ def begin_create_or_update( :type route_parameters: ~azure.mgmt.network.v2020_05_01.models.Route :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Route or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_security_partner_providers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_security_partner_providers_operations.py index 239873400c7c..3b49fbccd21a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_security_partner_providers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_security_partner_providers_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type security_partner_provider_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -293,8 +293,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_05_01.models.SecurityPartnerProvider :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either SecurityPartnerProvider or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_security_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_security_rules_operations.py index 53c3fa0dd594..ac0eee07e853 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_security_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_security_rules_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type security_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -309,8 +309,8 @@ def begin_create_or_update( :type security_rule_parameters: ~azure.mgmt.network.v2020_05_01.models.SecurityRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either SecurityRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_service_endpoint_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_service_endpoint_policies_operations.py index 799aeb70747e..128f11ba1fa5 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_service_endpoint_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_service_endpoint_policies_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type service_endpoint_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_05_01.models.ServiceEndpointPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ServiceEndpointPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_service_endpoint_policy_definitions_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_service_endpoint_policy_definitions_operations.py index a2b8a4d45fb0..6a478b35286b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_service_endpoint_policy_definitions_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_service_endpoint_policy_definitions_operations.py @@ -113,8 +113,8 @@ def begin_delete( :type service_endpoint_policy_definition_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -313,8 +313,8 @@ def begin_create_or_update( :type service_endpoint_policy_definitions: ~azure.mgmt.network.v2020_05_01.models.ServiceEndpointPolicyDefinition :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ServiceEndpointPolicyDefinition or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_subnets_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_subnets_operations.py index d2f0e09f315f..b49c6ec10e32 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_subnets_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_subnets_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type subnet_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -313,8 +313,8 @@ def begin_create_or_update( :type subnet_parameters: ~azure.mgmt.network.v2020_05_01.models.Subnet :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Subnet or the result of cls(response) @@ -444,8 +444,8 @@ def begin_prepare_network_policies( :type prepare_network_policies_request_parameters: ~azure.mgmt.network.v2020_05_01.models.PrepareNetworkPoliciesRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -572,8 +572,8 @@ def begin_unprepare_network_policies( :type unprepare_network_policies_request_parameters: ~azure.mgmt.network.v2020_05_01.models.UnprepareNetworkPoliciesRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_virtual_appliance_sites_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_virtual_appliance_sites_operations.py index 78cea5e8ceff..98b575841988 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_virtual_appliance_sites_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_virtual_appliance_sites_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type site_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -309,8 +309,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_05_01.models.VirtualApplianceSite :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualApplianceSite or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_virtual_hub_bgp_connection_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_virtual_hub_bgp_connection_operations.py index 1fe16c5552e2..cfefab4bc915 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_virtual_hub_bgp_connection_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_virtual_hub_bgp_connection_operations.py @@ -191,8 +191,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_05_01.models.BgpConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either BgpConnection or the result of cls(response) @@ -312,8 +312,8 @@ def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_virtual_hub_ip_configuration_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_virtual_hub_ip_configuration_operations.py index 54659ca94567..7390807db053 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_virtual_hub_ip_configuration_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_virtual_hub_ip_configuration_operations.py @@ -192,8 +192,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_05_01.models.HubIpConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either HubIpConfiguration or the result of cls(response) @@ -313,8 +313,8 @@ def begin_delete( :type ip_config_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_virtual_hub_route_table_v2_s_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_virtual_hub_route_table_v2_s_operations.py index a92525d099ac..cfda8ce2efe5 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_virtual_hub_route_table_v2_s_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_virtual_hub_route_table_v2_s_operations.py @@ -100,7 +100,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualHubRouteTableV2', pipeline_response) @@ -157,7 +157,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -195,8 +195,8 @@ def begin_create_or_update( :type virtual_hub_route_table_v2_parameters: ~azure.mgmt.network.v2020_05_01.models.VirtualHubRouteTableV2 :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualHubRouteTableV2 or the result of cls(response) @@ -291,7 +291,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -317,8 +317,8 @@ def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_virtual_hubs_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_virtual_hubs_operations.py index f45b8c24176f..faa8b4d8a9e0 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_virtual_hubs_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_virtual_hubs_operations.py @@ -182,8 +182,8 @@ def begin_create_or_update( :type virtual_hub_parameters: ~azure.mgmt.network.v2020_05_01.models.VirtualHub :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualHub or the result of cls(response) @@ -363,8 +363,8 @@ def begin_delete( :type virtual_hub_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -624,8 +624,8 @@ def begin_get_effective_virtual_hub_routes( :type effective_routes_parameters: ~azure.mgmt.network.v2020_05_01.models.EffectiveRoutesParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_virtual_network_gateway_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_virtual_network_gateway_connections_operations.py index e21fa364a189..5f968336a062 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_virtual_network_gateway_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_virtual_network_gateway_connections_operations.py @@ -125,8 +125,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_05_01.models.VirtualNetworkGatewayConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -300,8 +300,8 @@ def begin_delete( :type virtual_network_gateway_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -425,8 +425,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2020_05_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -558,8 +558,8 @@ def begin_set_shared_key( :type parameters: ~azure.mgmt.network.v2020_05_01.models.ConnectionSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionSharedKey or the result of cls(response) @@ -823,8 +823,8 @@ def begin_reset_shared_key( :type parameters: ~azure.mgmt.network.v2020_05_01.models.ConnectionResetSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionResetSharedKey or the result of cls(response) @@ -924,7 +924,7 @@ def _start_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -957,8 +957,8 @@ def begin_start_packet_capture( :type parameters: ~azure.mgmt.network.v2020_05_01.models.VpnPacketCaptureStartParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1055,7 +1055,7 @@ def _stop_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -1088,8 +1088,8 @@ def begin_stop_packet_capture( :type parameters: ~azure.mgmt.network.v2020_05_01.models.VpnPacketCaptureStopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_virtual_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_virtual_network_gateways_operations.py index aa8f23b40275..10ce7f2c5ef9 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_virtual_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_virtual_network_gateways_operations.py @@ -123,8 +123,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_05_01.models.VirtualNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -296,8 +296,8 @@ def begin_delete( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -420,8 +420,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2020_05_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -692,8 +692,8 @@ def begin_reset( :type gateway_vip: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -807,8 +807,8 @@ def begin_reset_vpn_client_shared_key( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -933,8 +933,8 @@ def begin_generatevpnclientpackage( :type parameters: ~azure.mgmt.network.v2020_05_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1063,8 +1063,8 @@ def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2020_05_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1183,8 +1183,8 @@ def begin_get_vpn_profile_package_url( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1307,8 +1307,8 @@ def begin_get_bgp_peer_status( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either BgpPeerStatusListResult or the result of cls(response) @@ -1486,8 +1486,8 @@ def begin_get_learned_routes( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1610,8 +1610,8 @@ def begin_get_advertised_routes( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1740,8 +1740,8 @@ def begin_set_vpnclient_ipsec_parameters( :type vpnclient_ipsec_params: ~azure.mgmt.network.v2020_05_01.models.VpnClientIPsecParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnClientIPsecParameters or the result of cls(response) @@ -1859,8 +1859,8 @@ def begin_get_vpnclient_ipsec_parameters( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnClientIPsecParameters or the result of cls(response) @@ -2027,7 +2027,7 @@ def _start_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -2059,8 +2059,8 @@ def begin_start_packet_capture( :type parameters: ~azure.mgmt.network.v2020_05_01.models.VpnPacketCaptureStartParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -2157,7 +2157,7 @@ def _stop_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -2189,8 +2189,8 @@ def begin_stop_packet_capture( :type parameters: ~azure.mgmt.network.v2020_05_01.models.VpnPacketCaptureStopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -2309,8 +2309,8 @@ def begin_get_vpnclient_connection_health( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnClientConnectionHealthDetailListResult or the result of cls(response) @@ -2431,8 +2431,8 @@ def begin_disconnect_virtual_network_gateway_vpn_connections( :type request: ~azure.mgmt.network.v2020_05_01.models.P2SVpnConnectionRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_virtual_network_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_virtual_network_peerings_operations.py index 3d8281f6a8eb..e2353b281c1c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_virtual_network_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_virtual_network_peerings_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type virtual_network_peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -309,8 +309,8 @@ def begin_create_or_update( :type virtual_network_peering_parameters: ~azure.mgmt.network.v2020_05_01.models.VirtualNetworkPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_virtual_network_taps_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_virtual_network_taps_operations.py index 2f88d24a12c9..dcb470236f01 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_virtual_network_taps_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_virtual_network_taps_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type tap_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -292,8 +292,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_05_01.models.VirtualNetworkTap :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkTap or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_virtual_networks_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_virtual_networks_operations.py index ddf364688910..32675429e856 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_virtual_networks_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_virtual_networks_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type virtual_network_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_05_01.models.VirtualNetwork :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetwork or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_virtual_router_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_virtual_router_peerings_operations.py index a986b1dd4aaf..20a0a29e4c01 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_virtual_router_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_virtual_router_peerings_operations.py @@ -87,7 +87,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -113,8 +113,8 @@ def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -218,7 +218,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualRouterPeering', pipeline_response) @@ -275,7 +275,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -312,8 +312,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_05_01.models.VirtualRouterPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualRouterPeering or the result of cls(response) @@ -433,7 +433,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_virtual_routers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_virtual_routers_operations.py index 0b78be1e5f19..1c9edda56aed 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_virtual_routers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_virtual_routers_operations.py @@ -85,7 +85,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -108,8 +108,8 @@ def begin_delete( :type virtual_router_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -212,7 +212,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualRouter', pipeline_response) @@ -267,7 +267,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -300,8 +300,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_05_01.models.VirtualRouter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualRouter or the result of cls(response) @@ -415,7 +415,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -483,7 +483,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_virtual_wans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_virtual_wans_operations.py index 84f1dc4786fc..dfbfc1c6ad3b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_virtual_wans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_virtual_wans_operations.py @@ -182,8 +182,8 @@ def begin_create_or_update( :type wan_parameters: ~azure.mgmt.network.v2020_05_01.models.VirtualWAN :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualWAN or the result of cls(response) @@ -363,8 +363,8 @@ def begin_delete( :type virtual_wan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_vpn_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_vpn_connections_operations.py index a391f43d8be9..cab4f59fae58 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_vpn_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_vpn_connections_operations.py @@ -192,8 +192,8 @@ def begin_create_or_update( :type vpn_connection_parameters: ~azure.mgmt.network.v2020_05_01.models.VpnConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnConnection or the result of cls(response) @@ -313,8 +313,8 @@ def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_vpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_vpn_gateways_operations.py index b5d07c6a7470..efbfd5239c90 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_vpn_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_vpn_gateways_operations.py @@ -183,8 +183,8 @@ def begin_create_or_update( :type vpn_gateway_parameters: ~azure.mgmt.network.v2020_05_01.models.VpnGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnGateway or the result of cls(response) @@ -364,8 +364,8 @@ def begin_delete( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -479,8 +479,8 @@ def begin_reset( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnGateway or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py index 4316e12bec0e..67c0e8178aca 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py @@ -112,8 +112,8 @@ def begin_list( :type virtual_wan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnServerConfigurationsResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_vpn_server_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_vpn_server_configurations_operations.py index e50e4c2c776d..4c2c47a5161e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_vpn_server_configurations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_vpn_server_configurations_operations.py @@ -185,8 +185,8 @@ def begin_create_or_update( :type vpn_server_configuration_parameters: ~azure.mgmt.network.v2020_05_01.models.VpnServerConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnServerConfiguration or the result of cls(response) @@ -367,8 +367,8 @@ def begin_delete( :type vpn_server_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_vpn_sites_configuration_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_vpn_sites_configuration_operations.py index 241de2a58444..132e7c647b7f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_vpn_sites_configuration_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_vpn_sites_configuration_operations.py @@ -116,8 +116,8 @@ def begin_download( :type request: ~azure.mgmt.network.v2020_05_01.models.GetVpnSitesConfigurationRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_vpn_sites_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_vpn_sites_operations.py index ae5c91d2f252..181a328d23b5 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_vpn_sites_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_vpn_sites_operations.py @@ -182,8 +182,8 @@ def begin_create_or_update( :type vpn_site_parameters: ~azure.mgmt.network.v2020_05_01.models.VpnSite :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnSite or the result of cls(response) @@ -363,8 +363,8 @@ def begin_delete( :type vpn_site_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_web_application_firewall_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_web_application_firewall_policies_operations.py index ab6ef8b09699..d7c686b697ca 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_web_application_firewall_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/operations/_web_application_firewall_policies_operations.py @@ -375,8 +375,8 @@ def begin_delete( :type policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/_metadata.json b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/_metadata.json index a3975934f773..a8f420873ee1 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/_metadata.json +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/_metadata.json @@ -9,7 +9,9 @@ "custom_base_url": null, "azure_arm": true, "has_lro_operations": true, - "client_side_validation": true + "client_side_validation": false, + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"NetworkManagementClientConfiguration\"], \"._operations_mixin\": [\"NetworkManagementClientOperationsMixin\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"NetworkManagementClientConfiguration\"], \"._operations_mixin\": [\"NetworkManagementClientOperationsMixin\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}" }, "global_parameters": { "sync": { @@ -28,13 +30,13 @@ }, "async": { "credential": { - "signature": "credential, # type: \"AsyncTokenCredential\"", + "signature": "credential: \"AsyncTokenCredential\",", "description": "Credential needed for the client to connect to Azure.", "docstring_type": "~azure.core.credentials_async.AsyncTokenCredential", "required": true }, "subscription_id": { - "signature": "subscription_id, # type: str", + "signature": "subscription_id: str,", "description": "The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.", "docstring_type": "str", "required": true @@ -42,14 +44,58 @@ }, "constant": { }, - "call": "credential, subscription_id" + "call": "credential, subscription_id", + "service_client_specific": { + "sync": { + "api_version": { + "signature": "api_version=None, # type: Optional[str]", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url=None, # type: Optional[str]", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile=KnownProfiles.default, # type: KnownProfiles", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + }, + "async": { + "api_version": { + "signature": "api_version: Optional[str] = None,", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url: Optional[str] = None,", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile: KnownProfiles = KnownProfiles.default,", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + } + } }, "config": { "credential": true, "credential_scopes": ["https://management.azure.com/.default"], "credential_default_policy_type": "BearerTokenCredentialPolicy", "credential_default_policy_type_has_async_version": true, - "credential_key_header_name": null + "credential_key_header_name": null, + "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMHttpLoggingPolicy\"]}, \"local\": {\"._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}}", + "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMHttpLoggingPolicy\"]}, \"local\": {\".._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}}" }, "operation_groups": { "application_gateways": "ApplicationGatewaysOperations", @@ -158,151 +204,153 @@ "web_application_firewall_policies": "WebApplicationFirewallPoliciesOperations" }, "operation_mixins": { - "_put_bastion_shareable_link_initial" : { - "sync": { - "signature": "def _put_bastion_shareable_link_initial(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_06_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionShareableLinkListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_06_01.models.BastionShareableLinkListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def _put_bastion_shareable_link_initial(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e Optional[\"_models.BastionShareableLinkListResult\"]:\n", - "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_06_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionShareableLinkListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_06_01.models.BastionShareableLinkListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "resource_group_name, bastion_host_name, bsl_request" - }, - "begin_put_bastion_shareable_link" : { - "sync": { - "signature": "def begin_put_bastion_shareable_link(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Creates a Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_06_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns an iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.BastionShareableLinkListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" - }, - "async": { - "coroutine": false, - "signature": "def begin_put_bastion_shareable_link(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e AsyncLROPoller[AsyncItemPaged[\"_models.BastionShareableLinkListResult\"]]:\n", - "doc": "\"\"\"Creates a Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_06_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns an iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.BastionShareableLinkListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" - }, - "call": "resource_group_name, bastion_host_name, bsl_request" - }, - "_delete_bastion_shareable_link_initial" : { - "sync": { - "signature": "def _delete_bastion_shareable_link_initial(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_06_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def _delete_bastion_shareable_link_initial(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e None:\n", - "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_06_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "resource_group_name, bastion_host_name, bsl_request" - }, - "begin_delete_bastion_shareable_link" : { - "sync": { - "signature": "def begin_delete_bastion_shareable_link(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Deletes the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_06_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def begin_delete_bastion_shareable_link(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e AsyncLROPoller[None]:\n", - "doc": "\"\"\"Deletes the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_06_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" - }, - "call": "resource_group_name, bastion_host_name, bsl_request" - }, - "get_bastion_shareable_link" : { - "sync": { - "signature": "def get_bastion_shareable_link(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Return the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_06_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.BastionShareableLinkListResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": false, - "signature": "def get_bastion_shareable_link(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e AsyncItemPaged[\"_models.BastionShareableLinkListResult\"]:\n", - "doc": "\"\"\"Return the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_06_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.BastionShareableLinkListResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "resource_group_name, bastion_host_name, bsl_request" - }, - "_get_active_sessions_initial" : { - "sync": { - "signature": "def _get_active_sessions_initial(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionActiveSessionListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_06_01.models.BastionActiveSessionListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def _get_active_sessions_initial(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n **kwargs\n) -\u003e Optional[\"_models.BastionActiveSessionListResult\"]:\n", - "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionActiveSessionListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_06_01.models.BastionActiveSessionListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "resource_group_name, bastion_host_name" - }, - "begin_get_active_sessions" : { - "sync": { - "signature": "def begin_get_active_sessions(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns an iterator like instance of either BastionActiveSessionListResult or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.BastionActiveSessionListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"], \"azure.core.polling\": [\"LROPoller\", \"NoPolling\", \"PollingMethod\"], \"azure.mgmt.core.polling.arm_polling\": [\"ARMPolling\"], \"azure.core.paging\": [\"ItemPaged\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Iterable\", \"Optional\", \"TypeVar\", \"Union\"]}}}", + "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"], \"azure.core.polling\": [\"AsyncLROPoller\", \"AsyncNoPolling\", \"AsyncPollingMethod\"], \"azure.mgmt.core.polling.async_arm_polling\": [\"AsyncARMPolling\"], \"azure.core.async_paging\": [\"AsyncItemPaged\", \"AsyncList\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"AsyncIterable\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\", \"Union\"]}}}", + "operations": { + "_put_bastion_shareable_link_initial" : { + "sync": { + "signature": "def _put_bastion_shareable_link_initial(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_06_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionShareableLinkListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_06_01.models.BastionShareableLinkListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def _put_bastion_shareable_link_initial(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e Optional[\"_models.BastionShareableLinkListResult\"]:\n", + "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_06_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionShareableLinkListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_06_01.models.BastionShareableLinkListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "resource_group_name, bastion_host_name, bsl_request" }, - "async": { - "coroutine": false, - "signature": "def begin_get_active_sessions(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n **kwargs\n) -\u003e AsyncLROPoller[AsyncItemPaged[\"_models.BastionActiveSessionListResult\"]]:\n", - "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns an iterator like instance of either BastionActiveSessionListResult or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.BastionActiveSessionListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + "begin_put_bastion_shareable_link" : { + "sync": { + "signature": "def begin_put_bastion_shareable_link(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Creates a Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_06_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the ARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns an iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.BastionShareableLinkListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "async": { + "coroutine": false, + "signature": "def begin_put_bastion_shareable_link(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e AsyncLROPoller[AsyncItemPaged[\"_models.BastionShareableLinkListResult\"]]:\n", + "doc": "\"\"\"Creates a Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_06_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the AsyncARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns an iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.BastionShareableLinkListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "call": "resource_group_name, bastion_host_name, bsl_request" }, - "call": "resource_group_name, bastion_host_name" - }, - "disconnect_active_sessions" : { - "sync": { - "signature": "def disconnect_active_sessions(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n session_ids, # type: \"_models.SessionIds\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param session_ids: The list of sessionids to disconnect.\n:type session_ids: ~azure.mgmt.network.v2020_06_01.models.SessionIds\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionSessionDeleteResult or the result of cls(response)\n:rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.BastionSessionDeleteResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": false, - "signature": "def disconnect_active_sessions(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n session_ids: \"_models.SessionIds\",\n **kwargs\n) -\u003e AsyncItemPaged[\"_models.BastionSessionDeleteResult\"]:\n", - "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param session_ids: The list of sessionids to disconnect.\n:type session_ids: ~azure.mgmt.network.v2020_06_01.models.SessionIds\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionSessionDeleteResult or the result of cls(response)\n:rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.BastionSessionDeleteResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "_delete_bastion_shareable_link_initial" : { + "sync": { + "signature": "def _delete_bastion_shareable_link_initial(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_06_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def _delete_bastion_shareable_link_initial(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e None:\n", + "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_06_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "resource_group_name, bastion_host_name, bsl_request" }, - "call": "resource_group_name, bastion_host_name, session_ids" - }, - "check_dns_name_availability" : { - "sync": { - "signature": "def check_dns_name_availability(\n self,\n location, # type: str\n domain_name_label, # type: str\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_06_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "begin_delete_bastion_shareable_link" : { + "sync": { + "signature": "def begin_delete_bastion_shareable_link(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Deletes the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_06_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the ARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def begin_delete_bastion_shareable_link(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e AsyncLROPoller[None]:\n", + "doc": "\"\"\"Deletes the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_06_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the AsyncARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "call": "resource_group_name, bastion_host_name, bsl_request" }, - "async": { - "coroutine": true, - "signature": "async def check_dns_name_availability(\n self,\n location: str,\n domain_name_label: str,\n **kwargs\n) -\u003e \"_models.DnsNameAvailabilityResult\":\n", - "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_06_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "get_bastion_shareable_link" : { + "sync": { + "signature": "def get_bastion_shareable_link(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Return the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_06_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.BastionShareableLinkListResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": false, + "signature": "def get_bastion_shareable_link(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e AsyncItemPaged[\"_models.BastionShareableLinkListResult\"]:\n", + "doc": "\"\"\"Return the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_06_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.BastionShareableLinkListResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "resource_group_name, bastion_host_name, bsl_request" }, - "call": "location, domain_name_label" - }, - "supported_security_providers" : { - "sync": { - "signature": "def supported_security_providers(\n self,\n resource_group_name, # type: str\n virtual_wan_name, # type: str\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Gives the supported security providers for the virtual wan.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN for which supported security providers are\n needed.\n:type virtual_wan_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VirtualWanSecurityProviders, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_06_01.models.VirtualWanSecurityProviders\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "_get_active_sessions_initial" : { + "sync": { + "signature": "def _get_active_sessions_initial(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionActiveSessionListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_06_01.models.BastionActiveSessionListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def _get_active_sessions_initial(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n **kwargs\n) -\u003e Optional[\"_models.BastionActiveSessionListResult\"]:\n", + "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionActiveSessionListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_06_01.models.BastionActiveSessionListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "resource_group_name, bastion_host_name" }, - "async": { - "coroutine": true, - "signature": "async def supported_security_providers(\n self,\n resource_group_name: str,\n virtual_wan_name: str,\n **kwargs\n) -\u003e \"_models.VirtualWanSecurityProviders\":\n", - "doc": "\"\"\"Gives the supported security providers for the virtual wan.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN for which supported security providers are\n needed.\n:type virtual_wan_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VirtualWanSecurityProviders, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_06_01.models.VirtualWanSecurityProviders\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "begin_get_active_sessions" : { + "sync": { + "signature": "def begin_get_active_sessions(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the ARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns an iterator like instance of either BastionActiveSessionListResult or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.BastionActiveSessionListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "async": { + "coroutine": false, + "signature": "def begin_get_active_sessions(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n **kwargs\n) -\u003e AsyncLROPoller[AsyncItemPaged[\"_models.BastionActiveSessionListResult\"]]:\n", + "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the AsyncARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns an iterator like instance of either BastionActiveSessionListResult or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.BastionActiveSessionListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "call": "resource_group_name, bastion_host_name" }, - "call": "resource_group_name, virtual_wan_name" - }, - "_generatevirtualwanvpnserverconfigurationvpnprofile_initial" : { - "sync": { - "signature": "def _generatevirtualwanvpnserverconfigurationvpnprofile_initial(\n self,\n resource_group_name, # type: str\n virtual_wan_name, # type: str\n vpn_client_params, # type: \"_models.VirtualWanVpnProfileParameters\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2020_06_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VpnProfileResponse, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_06_01.models.VpnProfileResponse or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "disconnect_active_sessions" : { + "sync": { + "signature": "def disconnect_active_sessions(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n session_ids, # type: \"_models.SessionIds\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param session_ids: The list of sessionids to disconnect.\n:type session_ids: ~azure.mgmt.network.v2020_06_01.models.SessionIds\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionSessionDeleteResult or the result of cls(response)\n:rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_06_01.models.BastionSessionDeleteResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": false, + "signature": "def disconnect_active_sessions(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n session_ids: \"_models.SessionIds\",\n **kwargs\n) -\u003e AsyncItemPaged[\"_models.BastionSessionDeleteResult\"]:\n", + "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param session_ids: The list of sessionids to disconnect.\n:type session_ids: ~azure.mgmt.network.v2020_06_01.models.SessionIds\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionSessionDeleteResult or the result of cls(response)\n:rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_06_01.models.BastionSessionDeleteResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "resource_group_name, bastion_host_name, session_ids" }, - "async": { - "coroutine": true, - "signature": "async def _generatevirtualwanvpnserverconfigurationvpnprofile_initial(\n self,\n resource_group_name: str,\n virtual_wan_name: str,\n vpn_client_params: \"_models.VirtualWanVpnProfileParameters\",\n **kwargs\n) -\u003e Optional[\"_models.VpnProfileResponse\"]:\n", - "doc": "\"\"\"\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2020_06_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VpnProfileResponse, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_06_01.models.VpnProfileResponse or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "check_dns_name_availability" : { + "sync": { + "signature": "def check_dns_name_availability(\n self,\n location, # type: str\n domain_name_label, # type: str\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_06_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def check_dns_name_availability(\n self,\n location: str,\n domain_name_label: str,\n **kwargs\n) -\u003e \"_models.DnsNameAvailabilityResult\":\n", + "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_06_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "location, domain_name_label" }, - "call": "resource_group_name, virtual_wan_name, vpn_client_params" - }, - "begin_generatevirtualwanvpnserverconfigurationvpnprofile" : { - "sync": { - "signature": "def begin_generatevirtualwanvpnserverconfigurationvpnprofile(\n self,\n resource_group_name, # type: str\n virtual_wan_name, # type: str\n vpn_client_params, # type: \"_models.VirtualWanVpnProfileParameters\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Generates a unique VPN profile for P2S clients for VirtualWan and associated\nVpnServerConfiguration combination in the specified resource group.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2020_06_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns either VpnProfileResponse or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.VpnProfileResponse]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + "supported_security_providers" : { + "sync": { + "signature": "def supported_security_providers(\n self,\n resource_group_name, # type: str\n virtual_wan_name, # type: str\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Gives the supported security providers for the virtual wan.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN for which supported security providers are\n needed.\n:type virtual_wan_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VirtualWanSecurityProviders, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_06_01.models.VirtualWanSecurityProviders\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def supported_security_providers(\n self,\n resource_group_name: str,\n virtual_wan_name: str,\n **kwargs\n) -\u003e \"_models.VirtualWanSecurityProviders\":\n", + "doc": "\"\"\"Gives the supported security providers for the virtual wan.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN for which supported security providers are\n needed.\n:type virtual_wan_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VirtualWanSecurityProviders, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_06_01.models.VirtualWanSecurityProviders\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "resource_group_name, virtual_wan_name" }, - "async": { - "coroutine": true, - "signature": "async def begin_generatevirtualwanvpnserverconfigurationvpnprofile(\n self,\n resource_group_name: str,\n virtual_wan_name: str,\n vpn_client_params: \"_models.VirtualWanVpnProfileParameters\",\n **kwargs\n) -\u003e AsyncLROPoller[\"_models.VpnProfileResponse\"]:\n", - "doc": "\"\"\"Generates a unique VPN profile for P2S clients for VirtualWan and associated\nVpnServerConfiguration combination in the specified resource group.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2020_06_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns either VpnProfileResponse or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.VpnProfileResponse]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + "_generatevirtualwanvpnserverconfigurationvpnprofile_initial" : { + "sync": { + "signature": "def _generatevirtualwanvpnserverconfigurationvpnprofile_initial(\n self,\n resource_group_name, # type: str\n virtual_wan_name, # type: str\n vpn_client_params, # type: \"_models.VirtualWanVpnProfileParameters\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2020_06_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VpnProfileResponse, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_06_01.models.VpnProfileResponse or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def _generatevirtualwanvpnserverconfigurationvpnprofile_initial(\n self,\n resource_group_name: str,\n virtual_wan_name: str,\n vpn_client_params: \"_models.VirtualWanVpnProfileParameters\",\n **kwargs\n) -\u003e Optional[\"_models.VpnProfileResponse\"]:\n", + "doc": "\"\"\"\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2020_06_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VpnProfileResponse, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_06_01.models.VpnProfileResponse or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "resource_group_name, virtual_wan_name, vpn_client_params" }, - "call": "resource_group_name, virtual_wan_name, vpn_client_params" + "begin_generatevirtualwanvpnserverconfigurationvpnprofile" : { + "sync": { + "signature": "def begin_generatevirtualwanvpnserverconfigurationvpnprofile(\n self,\n resource_group_name, # type: str\n virtual_wan_name, # type: str\n vpn_client_params, # type: \"_models.VirtualWanVpnProfileParameters\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Generates a unique VPN profile for P2S clients for VirtualWan and associated\nVpnServerConfiguration combination in the specified resource group.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2020_06_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the ARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns either VpnProfileResponse or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_06_01.models.VpnProfileResponse]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def begin_generatevirtualwanvpnserverconfigurationvpnprofile(\n self,\n resource_group_name: str,\n virtual_wan_name: str,\n vpn_client_params: \"_models.VirtualWanVpnProfileParameters\",\n **kwargs\n) -\u003e AsyncLROPoller[\"_models.VpnProfileResponse\"]:\n", + "doc": "\"\"\"Generates a unique VPN profile for P2S clients for VirtualWan and associated\nVpnServerConfiguration combination in the specified resource group.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2020_06_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the AsyncARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns either VpnProfileResponse or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_06_01.models.VpnProfileResponse]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "call": "resource_group_name, virtual_wan_name, vpn_client_params" + } } - }, - "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"], \"azure.core.polling\": [\"LROPoller\", \"NoPolling\", \"PollingMethod\"], \"azure.mgmt.core.polling.arm_polling\": [\"ARMPolling\"], \"azure.core.paging\": [\"ItemPaged\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Iterable\", \"Optional\", \"TypeVar\", \"Union\"]}}}", - "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"], \"azure.core.polling\": [\"AsyncLROPoller\", \"AsyncNoPolling\", \"AsyncPollingMethod\"], \"azure.mgmt.core.polling.async_arm_polling\": [\"AsyncARMPolling\"], \"azure.core.async_paging\": [\"AsyncItemPaged\", \"AsyncList\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"AsyncIterable\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\", \"Union\"]}}}" + } } \ No newline at end of file diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/_network_management_client.py index 897421227dd2..9eff438af53c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/_network_management_client.py @@ -16,6 +16,7 @@ from typing import Any, Optional from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse from ._configuration import NetworkManagementClientConfiguration from .operations import ApplicationGatewaysOperations @@ -360,6 +361,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( @@ -571,6 +573,24 @@ def __init__( self.web_application_firewall_policies = WebApplicationFirewallPoliciesOperations( self._client, self._config, self._serialize, self._deserialize) + def _send_request(self, http_request, **kwargs): + # type: (HttpRequest, Any) -> HttpResponse + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.HttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + def close(self): # type: () -> None self._client.close() diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/_network_management_client.py index 3dd7180f5911..12409938f36e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/_network_management_client.py @@ -8,6 +8,7 @@ from typing import Any, Optional, TYPE_CHECKING +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core import AsyncARMPipelineClient from msrest import Deserializer, Serializer @@ -357,6 +358,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( @@ -568,6 +570,23 @@ def __init__( self.web_application_firewall_policies = WebApplicationFirewallPoliciesOperations( self._client, self._config, self._serialize, self._deserialize) + async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + async def close(self) -> None: await self._client.close() diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_application_gateway_private_endpoint_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_application_gateway_private_endpoint_connections_operations.py index 12d8ba2c32da..55cbdc72ad42 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_application_gateway_private_endpoint_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_application_gateway_private_endpoint_connections_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -236,8 +236,8 @@ async def begin_update( :type parameters: ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayPrivateEndpointConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGatewayPrivateEndpointConnection or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_application_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_application_gateways_operations.py index 44985d749ca5..ea7690ff2e9b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_application_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_application_gateways_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -283,8 +283,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_06_01.models.ApplicationGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGateway or the result of cls(response) @@ -597,8 +597,8 @@ async def begin_start( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -705,8 +705,8 @@ async def begin_stop( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -824,8 +824,8 @@ async def begin_backend_health( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGatewayBackendHealth or the result of cls(response) @@ -957,8 +957,8 @@ async def begin_backend_health_on_demand( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGatewayBackendHealthOnDemand or the result of cls(response) @@ -1052,7 +1052,7 @@ async def list_available_server_variables( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) @@ -1103,7 +1103,7 @@ async def list_available_request_headers( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) @@ -1154,7 +1154,7 @@ async def list_available_response_headers( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_application_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_application_security_groups_operations.py index b3f22f55e5e9..6a6bc1884f99 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_application_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_application_security_groups_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type application_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -284,8 +284,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_06_01.models.ApplicationSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_azure_firewalls_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_azure_firewalls_operations.py index 2522a2601944..efc979057937 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_azure_firewalls_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_azure_firewalls_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type azure_firewall_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -283,8 +283,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_06_01.models.AzureFirewall :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AzureFirewall or the result of cls(response) @@ -409,8 +409,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2020_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AzureFirewall or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_bastion_hosts_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_bastion_hosts_operations.py index f2f25a1d3883..91ce3cbf9464 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_bastion_hosts_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_bastion_hosts_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type bastion_host_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -283,8 +283,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_06_01.models.BastionHost :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either BastionHost or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_connection_monitors_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_connection_monitors_operations.py index d4166f23b133..93dc103b489d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_connection_monitors_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_connection_monitors_operations.py @@ -88,7 +88,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -123,8 +123,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_06_01.models.ConnectionMonitor :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionMonitorResult or the result of cls(response) @@ -231,7 +231,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('ConnectionMonitorResult', pipeline_response) @@ -281,7 +281,7 @@ async def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -306,8 +306,8 @@ async def begin_delete( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -418,7 +418,7 @@ async def update_tags( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('ConnectionMonitorResult', pipeline_response) @@ -468,7 +468,7 @@ async def _stop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -493,8 +493,8 @@ async def begin_stop( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -584,7 +584,7 @@ async def _start_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -609,8 +609,8 @@ async def begin_start( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -700,7 +700,7 @@ async def _query_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -732,8 +732,8 @@ async def begin_query( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionMonitorQueryResult or the result of cls(response) @@ -851,7 +851,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_custom_ip_prefixes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_custom_ip_prefixes_operations.py index 3e3628ecf50f..8b2ff3db0f0e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_custom_ip_prefixes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_custom_ip_prefixes_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type custom_ip_prefix_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -288,8 +288,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_06_01.models.CustomIpPrefix :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either CustomIpPrefix or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_ddos_custom_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_ddos_custom_policies_operations.py index c82b778e4728..36e9f9a79dd8 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_ddos_custom_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_ddos_custom_policies_operations.py @@ -100,8 +100,8 @@ async def begin_delete( :type ddos_custom_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -282,8 +282,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_06_01.models.DdosCustomPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either DdosCustomPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_ddos_protection_plans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_ddos_protection_plans_operations.py index 94f3cb06e2c4..506d22430cd5 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_ddos_protection_plans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_ddos_protection_plans_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type ddos_protection_plan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -283,8 +283,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_06_01.models.DdosProtectionPlan :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either DdosProtectionPlan or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_dscp_configuration_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_dscp_configuration_operations.py index 27c318467f5b..0d63b9e8230c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_dscp_configuration_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_dscp_configuration_operations.py @@ -117,8 +117,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_06_01.models.DscpConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either DscpConfiguration or the result of cls(response) @@ -229,8 +229,8 @@ async def begin_delete( :type dscp_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_express_route_circuit_authorizations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_express_route_circuit_authorizations_operations.py index 2626bbdf76fe..1b21275176ad 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_express_route_circuit_authorizations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_express_route_circuit_authorizations_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type authorization_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -300,8 +300,8 @@ async def begin_create_or_update( :type authorization_parameters: ~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitAuthorization :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitAuthorization or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_express_route_circuit_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_express_route_circuit_connections_operations.py index 71031920bc8d..c2d76e24f424 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_express_route_circuit_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_express_route_circuit_connections_operations.py @@ -112,8 +112,8 @@ async def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -317,8 +317,8 @@ async def begin_create_or_update( :type express_route_circuit_connection_parameters: ~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitConnection or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_express_route_circuit_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_express_route_circuit_peerings_operations.py index 41da585ce8ec..84bd1d26284a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_express_route_circuit_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_express_route_circuit_peerings_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -300,8 +300,8 @@ async def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_express_route_circuits_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_express_route_circuits_operations.py index 8ef649438e8c..67948fa55e63 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_express_route_circuits_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_express_route_circuits_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type circuit_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -283,8 +283,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuit :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -477,8 +477,8 @@ async def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -608,8 +608,8 @@ async def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) @@ -739,8 +739,8 @@ async def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableSummaryListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_express_route_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_express_route_connections_operations.py index 160a4d90a59d..e2a28d162e86 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_express_route_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_express_route_connections_operations.py @@ -122,8 +122,8 @@ async def begin_create_or_update( :type put_express_route_connection_parameters: ~azure.mgmt.network.v2020_06_01.models.ExpressRouteConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteConnection or the result of cls(response) @@ -303,8 +303,8 @@ async def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_express_route_cross_connection_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_express_route_cross_connection_peerings_operations.py index 316adfd7fe45..a969b7b3cb8b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_express_route_cross_connection_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_express_route_cross_connection_peerings_operations.py @@ -180,8 +180,8 @@ async def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -374,8 +374,8 @@ async def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2020_06_01.models.ExpressRouteCrossConnectionPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCrossConnectionPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_express_route_cross_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_express_route_cross_connections_operations.py index 028bc341a04b..cabe4783eac7 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_express_route_cross_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_express_route_cross_connections_operations.py @@ -308,8 +308,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_06_01.models.ExpressRouteCrossConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCrossConnection or the result of cls(response) @@ -503,8 +503,8 @@ async def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -634,8 +634,8 @@ async def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCrossConnectionsRoutesTableSummaryListResult or the result of cls(response) @@ -765,8 +765,8 @@ async def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_express_route_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_express_route_gateways_operations.py index fe2f3dea6ec1..b17ad61ec389 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_express_route_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_express_route_gateways_operations.py @@ -221,8 +221,8 @@ async def begin_create_or_update( :type put_express_route_gateway_parameters: ~azure.mgmt.network.v2020_06_01.models.ExpressRouteGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteGateway or the result of cls(response) @@ -392,8 +392,8 @@ async def begin_delete( :type express_route_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_express_route_ports_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_express_route_ports_operations.py index 68390a81335b..36927e31d749 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_express_route_ports_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_express_route_ports_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type express_route_port_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -283,8 +283,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_06_01.models.ExpressRoutePort :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRoutePort or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_firewall_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_firewall_policies_operations.py index 3921e330c7e5..3c46d85e8edf 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_firewall_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_firewall_policies_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type firewall_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -288,8 +288,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_06_01.models.FirewallPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FirewallPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_firewall_policy_rule_collection_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_firewall_policy_rule_collection_groups_operations.py index 7b29741e57cc..033ac58c7f52 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_firewall_policy_rule_collection_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_firewall_policy_rule_collection_groups_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type rule_collection_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -300,8 +300,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_06_01.models.FirewallPolicyRuleCollectionGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FirewallPolicyRuleCollectionGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_flow_logs_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_flow_logs_operations.py index 0737f93a1f6a..9569fa5df06a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_flow_logs_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_flow_logs_operations.py @@ -88,7 +88,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -123,8 +123,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_06_01.models.FlowLog :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FlowLog or the result of cls(response) @@ -239,7 +239,7 @@ async def update_tags( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('FlowLog', pipeline_response) @@ -302,7 +302,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('FlowLog', pipeline_response) @@ -352,7 +352,7 @@ async def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -377,8 +377,8 @@ async def begin_delete( :type flow_log_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -493,7 +493,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_hub_route_tables_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_hub_route_tables_operations.py index b3599c66b90d..547ac815852e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_hub_route_tables_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_hub_route_tables_operations.py @@ -122,8 +122,8 @@ async def begin_create_or_update( :type route_table_parameters: ~azure.mgmt.network.v2020_06_01.models.HubRouteTable :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either HubRouteTable or the result of cls(response) @@ -303,8 +303,8 @@ async def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_hub_virtual_network_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_hub_virtual_network_connections_operations.py index c9fb2d4f1d21..0c2361fedc51 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_hub_virtual_network_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_hub_virtual_network_connections_operations.py @@ -123,8 +123,8 @@ async def begin_create_or_update( :type hub_virtual_network_connection_parameters: ~azure.mgmt.network.v2020_06_01.models.HubVirtualNetworkConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either HubVirtualNetworkConnection or the result of cls(response) @@ -242,8 +242,8 @@ async def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_inbound_nat_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_inbound_nat_rules_operations.py index ca83a44c6685..c330c412311b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_inbound_nat_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_inbound_nat_rules_operations.py @@ -180,8 +180,8 @@ async def begin_delete( :type inbound_nat_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -379,8 +379,8 @@ async def begin_create_or_update( :type inbound_nat_rule_parameters: ~azure.mgmt.network.v2020_06_01.models.InboundNatRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either InboundNatRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_inbound_security_rule_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_inbound_security_rule_operations.py index 78de34a2ec45..8f255fde9b3a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_inbound_security_rule_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_inbound_security_rule_operations.py @@ -122,8 +122,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_06_01.models.InboundSecurityRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either InboundSecurityRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_ip_allocations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_ip_allocations_operations.py index 988f2056da76..3ac5e79ca19b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_ip_allocations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_ip_allocations_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type ip_allocation_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -288,8 +288,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_06_01.models.IpAllocation :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either IpAllocation or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_ip_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_ip_groups_operations.py index aeb0f9c35c53..6073553a0aca 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_ip_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_ip_groups_operations.py @@ -97,7 +97,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('IpGroup', pipeline_response) @@ -151,7 +151,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -183,8 +183,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_06_01.models.IpGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either IpGroup or the result of cls(response) @@ -293,7 +293,7 @@ async def update_groups( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('IpGroup', pipeline_response) @@ -341,7 +341,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -363,8 +363,8 @@ async def begin_delete( :type ip_groups_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -473,7 +473,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -540,7 +540,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_load_balancer_backend_address_pools_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_load_balancer_backend_address_pools_operations.py index 079f35aa689c..1d627bc5c62d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_load_balancer_backend_address_pools_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_load_balancer_backend_address_pools_operations.py @@ -259,8 +259,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_06_01.models.BackendAddressPool :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either BackendAddressPool or the result of cls(response) @@ -378,8 +378,8 @@ async def begin_delete( :type backend_address_pool_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_load_balancers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_load_balancers_operations.py index 2957d1523b55..509808f09cd3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_load_balancers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_load_balancers_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type load_balancer_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -288,8 +288,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_06_01.models.LoadBalancer :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LoadBalancer or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_local_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_local_network_gateways_operations.py index 718592f17245..57de2117152e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_local_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_local_network_gateways_operations.py @@ -117,8 +117,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_06_01.models.LocalNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LocalNetworkGateway or the result of cls(response) @@ -287,8 +287,8 @@ async def begin_delete( :type local_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_nat_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_nat_gateways_operations.py index 511ff43092dd..24670d084f31 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_nat_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_nat_gateways_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type nat_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -289,8 +289,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_06_01.models.NatGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NatGateway or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_network_interface_tap_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_network_interface_tap_configurations_operations.py index 49657c2d16fa..d214e7f4e599 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_network_interface_tap_configurations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_network_interface_tap_configurations_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type tap_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -300,8 +300,8 @@ async def begin_create_or_update( :type tap_configuration_parameters: ~azure.mgmt.network.v2020_06_01.models.NetworkInterfaceTapConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkInterfaceTapConfiguration or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_network_interfaces_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_network_interfaces_operations.py index 1064ba4a3959..2cfd444324e4 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_network_interfaces_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_network_interfaces_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -288,8 +288,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_06_01.models.NetworkInterface :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkInterface or the result of cls(response) @@ -607,8 +607,8 @@ async def begin_get_effective_route_table( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either EffectiveRouteListResult or the result of cls(response) @@ -723,8 +723,8 @@ async def begin_list_effective_network_security_groups( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either EffectiveNetworkSecurityGroupListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_network_management_client_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_network_management_client_operations.py index 7b7916a97a2c..6d78745dc199 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_network_management_client_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_network_management_client_operations.py @@ -95,8 +95,8 @@ async def begin_put_bastion_shareable_link( :type bsl_request: ~azure.mgmt.network.v2020_06_01.models.BastionShareableLinkListRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns an iterator like instance of either BastionShareableLinkListResult or the result of cls(response) @@ -278,8 +278,8 @@ async def begin_delete_bastion_shareable_link( :type bsl_request: ~azure.mgmt.network.v2020_06_01.models.BastionShareableLinkListRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -477,8 +477,8 @@ async def begin_get_active_sessions( :type bastion_host_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns an iterator like instance of either BastionActiveSessionListResult or the result of cls(response) @@ -862,8 +862,8 @@ async def begin_generatevirtualwanvpnserverconfigurationvpnprofile( :type vpn_client_params: ~azure.mgmt.network.v2020_06_01.models.VirtualWanVpnProfileParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnProfileResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_network_profiles_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_network_profiles_operations.py index c15318daaff3..ccc40f1f6229 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_network_profiles_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_network_profiles_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type network_profile_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_network_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_network_security_groups_operations.py index 869b057bf390..393decd50971 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_network_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_network_security_groups_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type network_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -289,8 +289,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_06_01.models.NetworkSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_network_virtual_appliances_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_network_virtual_appliances_operations.py index f8e6725951ad..e9982500011a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_network_virtual_appliances_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_network_virtual_appliances_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type network_virtual_appliance_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -354,8 +354,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_06_01.models.NetworkVirtualAppliance :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkVirtualAppliance or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_network_watchers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_network_watchers_operations.py index c20a9a61505a..e7eb24420ae7 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_network_watchers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_network_watchers_operations.py @@ -99,7 +99,7 @@ async def create_or_update( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -162,7 +162,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('NetworkWatcher', pipeline_response) @@ -210,7 +210,7 @@ async def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -232,8 +232,8 @@ async def begin_delete( :type network_watcher_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -338,7 +338,7 @@ async def update_tags( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('NetworkWatcher', pipeline_response) @@ -409,7 +409,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -476,7 +476,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -543,7 +543,7 @@ async def get_topology( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('Topology', pipeline_response) @@ -597,7 +597,7 @@ async def _verify_ip_flow_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -629,8 +629,8 @@ async def begin_verify_ip_flow( :type parameters: ~azure.mgmt.network.v2020_06_01.models.VerificationIPFlowParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VerificationIPFlowResult or the result of cls(response) @@ -726,7 +726,7 @@ async def _get_next_hop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -758,8 +758,8 @@ async def begin_get_next_hop( :type parameters: ~azure.mgmt.network.v2020_06_01.models.NextHopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NextHopResult or the result of cls(response) @@ -855,7 +855,7 @@ async def _get_vm_security_rules_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -887,8 +887,8 @@ async def begin_get_vm_security_rules( :type parameters: ~azure.mgmt.network.v2020_06_01.models.SecurityGroupViewParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either SecurityGroupViewResult or the result of cls(response) @@ -984,7 +984,7 @@ async def _get_troubleshooting_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1016,8 +1016,8 @@ async def begin_get_troubleshooting( :type parameters: ~azure.mgmt.network.v2020_06_01.models.TroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1113,7 +1113,7 @@ async def _get_troubleshooting_result_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1145,8 +1145,8 @@ async def begin_get_troubleshooting_result( :type parameters: ~azure.mgmt.network.v2020_06_01.models.QueryTroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1242,7 +1242,7 @@ async def _set_flow_log_configuration_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1274,8 +1274,8 @@ async def begin_set_flow_log_configuration( :type parameters: ~azure.mgmt.network.v2020_06_01.models.FlowLogInformation :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1371,7 +1371,7 @@ async def _get_flow_log_status_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1404,8 +1404,8 @@ async def begin_get_flow_log_status( :type parameters: ~azure.mgmt.network.v2020_06_01.models.FlowLogStatusParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1501,7 +1501,7 @@ async def _check_connectivity_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1534,8 +1534,8 @@ async def begin_check_connectivity( :type parameters: ~azure.mgmt.network.v2020_06_01.models.ConnectivityParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectivityInformation or the result of cls(response) @@ -1631,7 +1631,7 @@ async def _get_azure_reachability_report_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1665,8 +1665,8 @@ async def begin_get_azure_reachability_report( :type parameters: ~azure.mgmt.network.v2020_06_01.models.AzureReachabilityReportParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AzureReachabilityReport or the result of cls(response) @@ -1762,7 +1762,7 @@ async def _list_available_providers_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1795,8 +1795,8 @@ async def begin_list_available_providers( :type parameters: ~azure.mgmt.network.v2020_06_01.models.AvailableProvidersListParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AvailableProvidersList or the result of cls(response) @@ -1892,7 +1892,7 @@ async def _get_network_configuration_diagnostic_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1928,8 +1928,8 @@ async def begin_get_network_configuration_diagnostic( :type parameters: ~azure.mgmt.network.v2020_06_01.models.NetworkConfigurationDiagnosticParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkConfigurationDiagnosticResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_p2_svpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_p2_svpn_gateways_operations.py index eb8c68292e38..417bb795564a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_p2_svpn_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_p2_svpn_gateways_operations.py @@ -176,8 +176,8 @@ async def begin_create_or_update( :type p2_s_vpn_gateway_parameters: ~azure.mgmt.network.v2020_06_01.models.P2SVpnGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -303,8 +303,8 @@ async def begin_update_tags( :type p2_s_vpn_gateway_parameters: ~azure.mgmt.network.v2020_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -415,8 +415,8 @@ async def begin_delete( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -664,8 +664,8 @@ async def begin_reset( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -790,8 +790,8 @@ async def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2020_06_01.models.P2SVpnProfileParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnProfileResponse or the result of cls(response) @@ -908,8 +908,8 @@ async def begin_get_p2_s_vpn_connection_health( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -1034,8 +1034,8 @@ async def begin_get_p2_s_vpn_connection_health_detailed( :type request: ~azure.mgmt.network.v2020_06_01.models.P2SVpnConnectionHealthRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either P2SVpnConnectionHealth or the result of cls(response) @@ -1156,8 +1156,8 @@ async def begin_disconnect_p2_s_vpn_connections( :type request: ~azure.mgmt.network.v2020_06_01.models.P2SVpnConnectionRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_packet_captures_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_packet_captures_operations.py index bb89be36371b..9ca389610ad9 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_packet_captures_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_packet_captures_operations.py @@ -88,7 +88,7 @@ async def _create_initial( if response.status_code not in [201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PacketCaptureResult', pipeline_response) @@ -119,8 +119,8 @@ async def begin_create( :type parameters: ~azure.mgmt.network.v2020_06_01.models.PacketCapture :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PacketCaptureResult or the result of cls(response) @@ -227,7 +227,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PacketCaptureResult', pipeline_response) @@ -277,7 +277,7 @@ async def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -302,8 +302,8 @@ async def begin_delete( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -393,7 +393,7 @@ async def _stop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -418,8 +418,8 @@ async def begin_stop( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -509,7 +509,7 @@ async def _get_status_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -541,8 +541,8 @@ async def begin_get_status( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PacketCaptureQueryStatusResult or the result of cls(response) @@ -660,7 +660,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_private_dns_zone_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_private_dns_zone_groups_operations.py index bee1c0a14930..a5eec40ef0a7 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_private_dns_zone_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_private_dns_zone_groups_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type private_dns_zone_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -300,8 +300,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_06_01.models.PrivateDnsZoneGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PrivateDnsZoneGroup or the result of cls(response) @@ -420,7 +420,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_private_endpoints_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_private_endpoints_operations.py index aa6a319cb17b..26ad632cd219 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_private_endpoints_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_private_endpoints_operations.py @@ -80,7 +80,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -102,8 +102,8 @@ async def begin_delete( :type private_endpoint_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -205,7 +205,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateEndpoint', pipeline_response) @@ -259,7 +259,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -291,8 +291,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_06_01.models.PrivateEndpoint :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PrivateEndpoint or the result of cls(response) @@ -405,7 +405,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -472,7 +472,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_private_link_services_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_private_link_services_operations.py index 992eb4bdaeb6..5e771a65196c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_private_link_services_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_private_link_services_operations.py @@ -80,7 +80,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -102,8 +102,8 @@ async def begin_delete( :type service_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -205,7 +205,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateLinkService', pipeline_response) @@ -259,7 +259,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -291,8 +291,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_06_01.models.PrivateLinkService :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PrivateLinkService or the result of cls(response) @@ -405,7 +405,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -472,7 +472,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -541,7 +541,7 @@ async def get_private_endpoint_connection( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateEndpointConnection', pipeline_response) @@ -612,7 +612,7 @@ async def update_private_endpoint_connection( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateEndpointConnection', pipeline_response) @@ -662,7 +662,7 @@ async def _delete_private_endpoint_connection_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -687,8 +687,8 @@ async def begin_delete_private_endpoint_connection( :type pe_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -803,7 +803,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -881,8 +881,8 @@ async def begin_check_private_link_service_visibility( :type parameters: ~azure.mgmt.network.v2020_06_01.models.CheckPrivateLinkServiceVisibilityRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PrivateLinkServiceVisibility or the result of cls(response) @@ -1006,8 +1006,8 @@ async def begin_check_private_link_service_visibility_by_resource_group( :type parameters: ~azure.mgmt.network.v2020_06_01.models.CheckPrivateLinkServiceVisibilityRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PrivateLinkServiceVisibility or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_public_ip_addresses_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_public_ip_addresses_operations.py index 6002a92014ca..6cb75989c90a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_public_ip_addresses_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_public_ip_addresses_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type public_ip_address_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -288,8 +288,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_06_01.models.PublicIPAddress :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PublicIPAddress or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_public_ip_prefixes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_public_ip_prefixes_operations.py index 5cc832bc247a..a8078768eb1b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_public_ip_prefixes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_public_ip_prefixes_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type public_ip_prefix_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -288,8 +288,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_06_01.models.PublicIPPrefix :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PublicIPPrefix or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_route_filter_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_route_filter_rules_operations.py index 9f71764d6a2b..d8a897fed916 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_route_filter_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_route_filter_rules_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -300,8 +300,8 @@ async def begin_create_or_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2020_06_01.models.RouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilterRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_route_filters_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_route_filters_operations.py index ae700c7faf4a..66a9cb3526f0 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_route_filters_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_route_filters_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type route_filter_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -289,8 +289,8 @@ async def begin_create_or_update( :type route_filter_parameters: ~azure.mgmt.network.v2020_06_01.models.RouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilter or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_route_tables_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_route_tables_operations.py index 1056183e7884..f0455cb9fa73 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_route_tables_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_route_tables_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -288,8 +288,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_06_01.models.RouteTable :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteTable or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_routes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_routes_operations.py index 7f16b5fa234d..6e02497b3878 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_routes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_routes_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type route_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -299,8 +299,8 @@ async def begin_create_or_update( :type route_parameters: ~azure.mgmt.network.v2020_06_01.models.Route :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Route or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_security_partner_providers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_security_partner_providers_operations.py index 3a5b1f7b33d2..0dbffede5c13 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_security_partner_providers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_security_partner_providers_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type security_partner_provider_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -284,8 +284,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_06_01.models.SecurityPartnerProvider :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either SecurityPartnerProvider or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_security_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_security_rules_operations.py index 55f0e8c06613..9059166aeb76 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_security_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_security_rules_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type security_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -300,8 +300,8 @@ async def begin_create_or_update( :type security_rule_parameters: ~azure.mgmt.network.v2020_06_01.models.SecurityRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either SecurityRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_service_endpoint_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_service_endpoint_policies_operations.py index d17d3b480ea4..32464ce65b21 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_service_endpoint_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_service_endpoint_policies_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type service_endpoint_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -289,8 +289,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_06_01.models.ServiceEndpointPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ServiceEndpointPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_service_endpoint_policy_definitions_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_service_endpoint_policy_definitions_operations.py index 0c0b711a744d..4093f45a3f57 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_service_endpoint_policy_definitions_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_service_endpoint_policy_definitions_operations.py @@ -107,8 +107,8 @@ async def begin_delete( :type service_endpoint_policy_definition_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -304,8 +304,8 @@ async def begin_create_or_update( :type service_endpoint_policy_definitions: ~azure.mgmt.network.v2020_06_01.models.ServiceEndpointPolicyDefinition :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ServiceEndpointPolicyDefinition or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_subnets_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_subnets_operations.py index de8e69b90c39..fa7eed2c5104 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_subnets_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_subnets_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type subnet_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -304,8 +304,8 @@ async def begin_create_or_update( :type subnet_parameters: ~azure.mgmt.network.v2020_06_01.models.Subnet :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Subnet or the result of cls(response) @@ -433,8 +433,8 @@ async def begin_prepare_network_policies( :type prepare_network_policies_request_parameters: ~azure.mgmt.network.v2020_06_01.models.PrepareNetworkPoliciesRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -559,8 +559,8 @@ async def begin_unprepare_network_policies( :type unprepare_network_policies_request_parameters: ~azure.mgmt.network.v2020_06_01.models.UnprepareNetworkPoliciesRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_appliance_sites_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_appliance_sites_operations.py index 8be27c9c1530..95488993e74c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_appliance_sites_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_appliance_sites_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type site_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -300,8 +300,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_06_01.models.VirtualApplianceSite :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualApplianceSite or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_hub_bgp_connection_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_hub_bgp_connection_operations.py index 08438ddd27f5..72340393c979 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_hub_bgp_connection_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_hub_bgp_connection_operations.py @@ -184,8 +184,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_06_01.models.BgpConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either BgpConnection or the result of cls(response) @@ -303,8 +303,8 @@ async def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_hub_bgp_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_hub_bgp_connections_operations.py index 68859c81fbf1..df3336fa1de5 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_hub_bgp_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_hub_bgp_connections_operations.py @@ -185,8 +185,8 @@ async def begin_list_learned_routes( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PeerRouteList or the result of cls(response) @@ -308,8 +308,8 @@ async def begin_list_advertised_routes( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PeerRouteList or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_hub_ip_configuration_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_hub_ip_configuration_operations.py index b2e0f8ddb867..0d2075125272 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_hub_ip_configuration_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_hub_ip_configuration_operations.py @@ -185,8 +185,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_06_01.models.HubIpConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either HubIpConfiguration or the result of cls(response) @@ -304,8 +304,8 @@ async def begin_delete( :type ip_config_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_hub_route_table_v2_s_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_hub_route_table_v2_s_operations.py index 125029293836..cc0b8ae3677a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_hub_route_table_v2_s_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_hub_route_table_v2_s_operations.py @@ -95,7 +95,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualHubRouteTableV2', pipeline_response) @@ -151,7 +151,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -188,8 +188,8 @@ async def begin_create_or_update( :type virtual_hub_route_table_v2_parameters: ~azure.mgmt.network.v2020_06_01.models.VirtualHubRouteTableV2 :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualHubRouteTableV2 or the result of cls(response) @@ -283,7 +283,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -308,8 +308,8 @@ async def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_hubs_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_hubs_operations.py index 1c305da171d9..a5650ae5d626 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_hubs_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_hubs_operations.py @@ -175,8 +175,8 @@ async def begin_create_or_update( :type virtual_hub_parameters: ~azure.mgmt.network.v2020_06_01.models.VirtualHub :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualHub or the result of cls(response) @@ -353,8 +353,8 @@ async def begin_delete( :type virtual_hub_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -610,8 +610,8 @@ async def begin_get_effective_virtual_hub_routes( :type effective_routes_parameters: ~azure.mgmt.network.v2020_06_01.models.EffectiveRoutesParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_network_gateway_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_network_gateway_connections_operations.py index 44e39048eaa7..7c3c59f2ea31 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_network_gateway_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_network_gateway_connections_operations.py @@ -119,8 +119,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_06_01.models.VirtualNetworkGatewayConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -291,8 +291,8 @@ async def begin_delete( :type virtual_network_gateway_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -414,8 +414,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2020_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -545,8 +545,8 @@ async def begin_set_shared_key( :type parameters: ~azure.mgmt.network.v2020_06_01.models.ConnectionSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionSharedKey or the result of cls(response) @@ -806,8 +806,8 @@ async def begin_reset_shared_key( :type parameters: ~azure.mgmt.network.v2020_06_01.models.ConnectionResetSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionResetSharedKey or the result of cls(response) @@ -906,7 +906,7 @@ async def _start_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -938,8 +938,8 @@ async def begin_start_packet_capture( :type parameters: ~azure.mgmt.network.v2020_06_01.models.VpnPacketCaptureStartParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1035,7 +1035,7 @@ async def _stop_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -1067,8 +1067,8 @@ async def begin_stop_packet_capture( :type parameters: ~azure.mgmt.network.v2020_06_01.models.VpnPacketCaptureStopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_network_gateways_operations.py index ff95a08324fb..b7e1f861fd13 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_network_gateways_operations.py @@ -117,8 +117,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_06_01.models.VirtualNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -287,8 +287,8 @@ async def begin_delete( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -409,8 +409,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2020_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -677,8 +677,8 @@ async def begin_reset( :type gateway_vip: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -790,8 +790,8 @@ async def begin_reset_vpn_client_shared_key( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -914,8 +914,8 @@ async def begin_generatevpnclientpackage( :type parameters: ~azure.mgmt.network.v2020_06_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1042,8 +1042,8 @@ async def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2020_06_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1160,8 +1160,8 @@ async def begin_get_vpn_profile_package_url( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1282,8 +1282,8 @@ async def begin_get_bgp_peer_status( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either BgpPeerStatusListResult or the result of cls(response) @@ -1458,8 +1458,8 @@ async def begin_get_learned_routes( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1580,8 +1580,8 @@ async def begin_get_advertised_routes( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1708,8 +1708,8 @@ async def begin_set_vpnclient_ipsec_parameters( :type vpnclient_ipsec_params: ~azure.mgmt.network.v2020_06_01.models.VpnClientIPsecParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnClientIPsecParameters or the result of cls(response) @@ -1825,8 +1825,8 @@ async def begin_get_vpnclient_ipsec_parameters( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnClientIPsecParameters or the result of cls(response) @@ -1991,7 +1991,7 @@ async def _start_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -2022,8 +2022,8 @@ async def begin_start_packet_capture( :type parameters: ~azure.mgmt.network.v2020_06_01.models.VpnPacketCaptureStartParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -2119,7 +2119,7 @@ async def _stop_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -2150,8 +2150,8 @@ async def begin_stop_packet_capture( :type parameters: ~azure.mgmt.network.v2020_06_01.models.VpnPacketCaptureStopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -2268,8 +2268,8 @@ async def begin_get_vpnclient_connection_health( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnClientConnectionHealthDetailListResult or the result of cls(response) @@ -2388,8 +2388,8 @@ async def begin_disconnect_virtual_network_gateway_vpn_connections( :type request: ~azure.mgmt.network.v2020_06_01.models.P2SVpnConnectionRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_network_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_network_peerings_operations.py index e6c321d44675..0c6f48cc07e9 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_network_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_network_peerings_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type virtual_network_peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -300,8 +300,8 @@ async def begin_create_or_update( :type virtual_network_peering_parameters: ~azure.mgmt.network.v2020_06_01.models.VirtualNetworkPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_network_taps_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_network_taps_operations.py index 9e78db5fa7c5..19fec9e3b3ac 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_network_taps_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_network_taps_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type tap_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -283,8 +283,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_06_01.models.VirtualNetworkTap :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkTap or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_networks_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_networks_operations.py index 818184ed7c65..6134ad9a42d0 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_networks_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_networks_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type virtual_network_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -288,8 +288,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_06_01.models.VirtualNetwork :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetwork or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_router_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_router_peerings_operations.py index 7e429af5d983..cfccf8b2e6b0 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_router_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_router_peerings_operations.py @@ -82,7 +82,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -107,8 +107,8 @@ async def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -211,7 +211,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualRouterPeering', pipeline_response) @@ -267,7 +267,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -303,8 +303,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_06_01.models.VirtualRouterPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualRouterPeering or the result of cls(response) @@ -423,7 +423,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_routers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_routers_operations.py index 2e53cdfe7d13..71ca33979b61 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_routers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_routers_operations.py @@ -80,7 +80,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -102,8 +102,8 @@ async def begin_delete( :type virtual_router_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -205,7 +205,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualRouter', pipeline_response) @@ -259,7 +259,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -291,8 +291,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_06_01.models.VirtualRouter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualRouter or the result of cls(response) @@ -405,7 +405,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -472,7 +472,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_wans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_wans_operations.py index 4622c4380faf..58ea3d38964a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_wans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_virtual_wans_operations.py @@ -175,8 +175,8 @@ async def begin_create_or_update( :type wan_parameters: ~azure.mgmt.network.v2020_06_01.models.VirtualWAN :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualWAN or the result of cls(response) @@ -353,8 +353,8 @@ async def begin_delete( :type virtual_wan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_vpn_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_vpn_connections_operations.py index df888dc709b7..936fd113844b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_vpn_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_vpn_connections_operations.py @@ -185,8 +185,8 @@ async def begin_create_or_update( :type vpn_connection_parameters: ~azure.mgmt.network.v2020_06_01.models.VpnConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnConnection or the result of cls(response) @@ -304,8 +304,8 @@ async def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -437,8 +437,8 @@ async def begin_start_packet_capture( :type parameters: ~azure.mgmt.network.v2020_06_01.models.VpnConnectionPacketCaptureStartParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -574,8 +574,8 @@ async def begin_stop_packet_capture( :type parameters: ~azure.mgmt.network.v2020_06_01.models.VpnConnectionPacketCaptureStopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_vpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_vpn_gateways_operations.py index f38a0d411433..3cf9356969c9 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_vpn_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_vpn_gateways_operations.py @@ -176,8 +176,8 @@ async def begin_create_or_update( :type vpn_gateway_parameters: ~azure.mgmt.network.v2020_06_01.models.VpnGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnGateway or the result of cls(response) @@ -302,8 +302,8 @@ async def begin_update_tags( :type vpn_gateway_parameters: ~azure.mgmt.network.v2020_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnGateway or the result of cls(response) @@ -414,8 +414,8 @@ async def begin_delete( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -527,8 +527,8 @@ async def begin_reset( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnGateway or the result of cls(response) @@ -656,8 +656,8 @@ async def begin_start_packet_capture( :type parameters: ~azure.mgmt.network.v2020_06_01.models.VpnGatewayPacketCaptureStartParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -786,8 +786,8 @@ async def begin_stop_packet_capture( :type parameters: ~azure.mgmt.network.v2020_06_01.models.VpnGatewayPacketCaptureStopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py index 21a90562c3dd..676bfc62b99f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py @@ -106,8 +106,8 @@ async def begin_list( :type virtual_wan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnServerConfigurationsResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_vpn_server_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_vpn_server_configurations_operations.py index 2ccfe5edeb69..c005e218d5bf 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_vpn_server_configurations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_vpn_server_configurations_operations.py @@ -178,8 +178,8 @@ async def begin_create_or_update( :type vpn_server_configuration_parameters: ~azure.mgmt.network.v2020_06_01.models.VpnServerConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnServerConfiguration or the result of cls(response) @@ -357,8 +357,8 @@ async def begin_delete( :type vpn_server_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_vpn_sites_configuration_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_vpn_sites_configuration_operations.py index 0434836f25b2..7903076f9289 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_vpn_sites_configuration_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_vpn_sites_configuration_operations.py @@ -110,8 +110,8 @@ async def begin_download( :type request: ~azure.mgmt.network.v2020_06_01.models.GetVpnSitesConfigurationRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_vpn_sites_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_vpn_sites_operations.py index 0a3f74e1cefc..44e108790c87 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_vpn_sites_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_vpn_sites_operations.py @@ -175,8 +175,8 @@ async def begin_create_or_update( :type vpn_site_parameters: ~azure.mgmt.network.v2020_06_01.models.VpnSite :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnSite or the result of cls(response) @@ -353,8 +353,8 @@ async def begin_delete( :type vpn_site_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_web_application_firewall_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_web_application_firewall_policies_operations.py index c8aca3476e36..da332bb508cc 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_web_application_firewall_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/aio/operations/_web_application_firewall_policies_operations.py @@ -365,8 +365,8 @@ async def begin_delete( :type policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/models/_models.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/models/_models.py index e77c1db7e5cf..17f345abd6d8 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/models/_models.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/models/_models.py @@ -129,68 +129,64 @@ class ApplicationGateway(Resource): :vartype operational_state: str or ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayOperationalState :param gateway_ip_configurations: Subnets of the application gateway resource. For default - limits, see `Application Gateway limits `_. + limits, see `Application Gateway limits + `_. :type gateway_ip_configurations: list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayIPConfiguration] :param authentication_certificates: Authentication certificates of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type authentication_certificates: list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayAuthenticationCertificate] :param trusted_root_certificates: Trusted Root certificates of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type trusted_root_certificates: list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayTrustedRootCertificate] :param trusted_client_certificates: Trusted client certificates of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type trusted_client_certificates: list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayTrustedClientCertificate] :param ssl_certificates: SSL certificates of the application gateway resource. For default - limits, see `Application Gateway limits `_. + limits, see `Application Gateway limits + `_. :type ssl_certificates: list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewaySslCertificate] :param frontend_ip_configurations: Frontend IP addresses of the application gateway resource. - For default limits, see `Application Gateway limits `_. + For default limits, see `Application Gateway limits + `_. :type frontend_ip_configurations: list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayFrontendIPConfiguration] :param frontend_ports: Frontend ports of the application gateway resource. For default limits, - see `Application Gateway limits `_. + see `Application Gateway limits + `_. :type frontend_ports: list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayFrontendPort] :param probes: Probes of the application gateway resource. :type probes: list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayProbe] :param backend_address_pools: Backend address pool of the application gateway resource. For - default limits, see `Application Gateway limits `_. + default limits, see `Application Gateway limits + `_. :type backend_address_pools: list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayBackendAddressPool] :param backend_http_settings_collection: Backend http settings of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type backend_http_settings_collection: list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayBackendHttpSettings] :param http_listeners: Http listeners of the application gateway resource. For default limits, - see `Application Gateway limits `_. + see `Application Gateway limits + `_. :type http_listeners: list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayHttpListener] :param ssl_profiles: SSL profiles of the application gateway resource. For default limits, see - `Application Gateway limits `_. + `Application Gateway limits + `_. :type ssl_profiles: list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewaySslProfile] :param url_path_maps: URL path map of the application gateway resource. For default limits, see - `Application Gateway limits `_. + `Application Gateway limits + `_. :type url_path_maps: list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayUrlPathMap] :param request_routing_rules: Request routing rules of the application gateway resource. :type request_routing_rules: @@ -199,8 +195,8 @@ class ApplicationGateway(Resource): :type rewrite_rule_sets: list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayRewriteRuleSet] :param redirect_configurations: Redirect configurations of the application gateway resource. - For default limits, see `Application Gateway limits `_. + For default limits, see `Application Gateway limits + `_. :type redirect_configurations: list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayRedirectConfiguration] :param web_application_firewall_configuration: Web application firewall configuration. @@ -2112,7 +2108,7 @@ class ApplicationGatewayRewriteRuleCondition(msrest.serialization.Model): :param pattern: The pattern, either fixed string or regular expression, that evaluates the truthfulness of the condition. :type pattern: str - :param ignore_case: Setting this paramter to truth value with force the pattern to do a case + :param ignore_case: Setting this parameter to truth value with force the pattern to do a case in-sensitive comparison. :type ignore_case: bool :param negate: Setting this value as truth will force to check the negation of the condition @@ -4260,7 +4256,7 @@ class BastionActiveSession(msrest.serialization.Model): :ivar session_id: A unique id for the session. :vartype session_id: str :ivar start_time: The time when the session started. - :vartype start_time: object + :vartype start_time: str :ivar target_subscription_id: The subscription id for the target virtual machine. :vartype target_subscription_id: str :ivar resource_type: The type of the resource. @@ -4298,7 +4294,7 @@ class BastionActiveSession(msrest.serialization.Model): _attribute_map = { 'session_id': {'key': 'sessionId', 'type': 'str'}, - 'start_time': {'key': 'startTime', 'type': 'object'}, + 'start_time': {'key': 'startTime', 'type': 'str'}, 'target_subscription_id': {'key': 'targetSubscriptionId', 'type': 'str'}, 'resource_type': {'key': 'resourceType', 'type': 'str'}, 'target_host_name': {'key': 'targetHostName', 'type': 'str'}, @@ -4555,7 +4551,7 @@ class BastionShareableLink(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param vm: Required. Reference of the virtual machine resource. - :type vm: ~azure.mgmt.network.v2020_06_01.models.Resource + :type vm: ~azure.mgmt.network.v2020_06_01.models.VM :ivar bsl: The unique Bastion Shareable Link to the virtual machine. :vartype bsl: str :ivar created_at: The time when the link was created. @@ -4573,7 +4569,7 @@ class BastionShareableLink(msrest.serialization.Model): } _attribute_map = { - 'vm': {'key': 'vm', 'type': 'Resource'}, + 'vm': {'key': 'vm', 'type': 'VM'}, 'bsl': {'key': 'bsl', 'type': 'str'}, 'created_at': {'key': 'createdAt', 'type': 'str'}, 'message': {'key': 'message', 'type': 'str'}, @@ -6244,7 +6240,7 @@ class ContainerNetworkInterface(SubResource): ~azure.mgmt.network.v2020_06_01.models.ContainerNetworkInterfaceConfiguration :param container: Reference to the container to which this container network interface is attached. - :type container: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type container: ~azure.mgmt.network.v2020_06_01.models.Container :ivar ip_configurations: Reference to the ip configuration on this container nic. :vartype ip_configurations: list[~azure.mgmt.network.v2020_06_01.models.ContainerNetworkInterfaceIpConfiguration] @@ -6267,7 +6263,7 @@ class ContainerNetworkInterface(SubResource): 'type': {'key': 'type', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, 'container_network_interface_configuration': {'key': 'properties.containerNetworkInterfaceConfiguration', 'type': 'ContainerNetworkInterfaceConfiguration'}, - 'container': {'key': 'properties.container', 'type': 'SubResource'}, + 'container': {'key': 'properties.container', 'type': 'Container'}, 'ip_configurations': {'key': 'properties.ipConfigurations', 'type': '[ContainerNetworkInterfaceIpConfiguration]'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, } @@ -14883,8 +14879,8 @@ class PacketCaptureStorageLocation(msrest.serialization.Model): :param storage_id: The ID of the storage account to save the packet capture session. Required if no local file path is provided. :type storage_id: str - :param storage_path: The URI of the storage path to save the packet capture. Must be a well- - formed URI describing the location to save the packet capture. + :param storage_path: The URI of the storage path to save the packet capture. Must be a + well-formed URI describing the location to save the packet capture. :type storage_path: str :param file_path: A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no @@ -15598,9 +15594,10 @@ class PrivateLinkService(Resource): :vartype private_endpoint_connections: list[~azure.mgmt.network.v2020_06_01.models.PrivateEndpointConnection] :param visibility: The visibility list of the private link service. - :type visibility: ~azure.mgmt.network.v2020_06_01.models.ResourceSet + :type visibility: ~azure.mgmt.network.v2020_06_01.models.PrivateLinkServicePropertiesVisibility :param auto_approval: The auto-approval list of the private link service. - :type auto_approval: ~azure.mgmt.network.v2020_06_01.models.ResourceSet + :type auto_approval: + ~azure.mgmt.network.v2020_06_01.models.PrivateLinkServicePropertiesAutoApproval :param fqdns: The list of Fqdn. :type fqdns: list[str] :ivar alias: The alias of the private link service. @@ -15632,8 +15629,8 @@ class PrivateLinkService(Resource): 'network_interfaces': {'key': 'properties.networkInterfaces', 'type': '[NetworkInterface]'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'private_endpoint_connections': {'key': 'properties.privateEndpointConnections', 'type': '[PrivateEndpointConnection]'}, - 'visibility': {'key': 'properties.visibility', 'type': 'ResourceSet'}, - 'auto_approval': {'key': 'properties.autoApproval', 'type': 'ResourceSet'}, + 'visibility': {'key': 'properties.visibility', 'type': 'PrivateLinkServicePropertiesVisibility'}, + 'auto_approval': {'key': 'properties.autoApproval', 'type': 'PrivateLinkServicePropertiesAutoApproval'}, 'fqdns': {'key': 'properties.fqdns', 'type': '[str]'}, 'alias': {'key': 'properties.alias', 'type': 'str'}, 'enable_proxy_protocol': {'key': 'properties.enableProxyProtocol', 'type': 'bool'}, @@ -19877,8 +19874,8 @@ class VirtualNetworkPeering(SubResource): :type use_remote_gateways: bool :param remote_virtual_network: The reference to the remote virtual network. The remote virtual network can be in the same or different region (preview). See here to register for the preview - and learn more (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create- - peering). + and learn more + (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering). :type remote_virtual_network: ~azure.mgmt.network.v2020_06_01.models.SubResource :param remote_address_space: The reference to the remote virtual network address space. :type remote_address_space: ~azure.mgmt.network.v2020_06_01.models.AddressSpace diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/models/_models_py3.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/models/_models_py3.py index faf0cebd0357..463cf66eede2 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/models/_models_py3.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/models/_models_py3.py @@ -144,68 +144,64 @@ class ApplicationGateway(Resource): :vartype operational_state: str or ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayOperationalState :param gateway_ip_configurations: Subnets of the application gateway resource. For default - limits, see `Application Gateway limits `_. + limits, see `Application Gateway limits + `_. :type gateway_ip_configurations: list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayIPConfiguration] :param authentication_certificates: Authentication certificates of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type authentication_certificates: list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayAuthenticationCertificate] :param trusted_root_certificates: Trusted Root certificates of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type trusted_root_certificates: list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayTrustedRootCertificate] :param trusted_client_certificates: Trusted client certificates of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type trusted_client_certificates: list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayTrustedClientCertificate] :param ssl_certificates: SSL certificates of the application gateway resource. For default - limits, see `Application Gateway limits `_. + limits, see `Application Gateway limits + `_. :type ssl_certificates: list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewaySslCertificate] :param frontend_ip_configurations: Frontend IP addresses of the application gateway resource. - For default limits, see `Application Gateway limits `_. + For default limits, see `Application Gateway limits + `_. :type frontend_ip_configurations: list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayFrontendIPConfiguration] :param frontend_ports: Frontend ports of the application gateway resource. For default limits, - see `Application Gateway limits `_. + see `Application Gateway limits + `_. :type frontend_ports: list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayFrontendPort] :param probes: Probes of the application gateway resource. :type probes: list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayProbe] :param backend_address_pools: Backend address pool of the application gateway resource. For - default limits, see `Application Gateway limits `_. + default limits, see `Application Gateway limits + `_. :type backend_address_pools: list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayBackendAddressPool] :param backend_http_settings_collection: Backend http settings of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type backend_http_settings_collection: list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayBackendHttpSettings] :param http_listeners: Http listeners of the application gateway resource. For default limits, - see `Application Gateway limits `_. + see `Application Gateway limits + `_. :type http_listeners: list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayHttpListener] :param ssl_profiles: SSL profiles of the application gateway resource. For default limits, see - `Application Gateway limits `_. + `Application Gateway limits + `_. :type ssl_profiles: list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewaySslProfile] :param url_path_maps: URL path map of the application gateway resource. For default limits, see - `Application Gateway limits `_. + `Application Gateway limits + `_. :type url_path_maps: list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayUrlPathMap] :param request_routing_rules: Request routing rules of the application gateway resource. :type request_routing_rules: @@ -214,8 +210,8 @@ class ApplicationGateway(Resource): :type rewrite_rule_sets: list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayRewriteRuleSet] :param redirect_configurations: Redirect configurations of the application gateway resource. - For default limits, see `Application Gateway limits `_. + For default limits, see `Application Gateway limits + `_. :type redirect_configurations: list[~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayRedirectConfiguration] :param web_application_firewall_configuration: Web application firewall configuration. @@ -2374,7 +2370,7 @@ class ApplicationGatewayRewriteRuleCondition(msrest.serialization.Model): :param pattern: The pattern, either fixed string or regular expression, that evaluates the truthfulness of the condition. :type pattern: str - :param ignore_case: Setting this paramter to truth value with force the pattern to do a case + :param ignore_case: Setting this parameter to truth value with force the pattern to do a case in-sensitive comparison. :type ignore_case: bool :param negate: Setting this value as truth will force to check the negation of the condition @@ -4777,7 +4773,7 @@ class BastionActiveSession(msrest.serialization.Model): :ivar session_id: A unique id for the session. :vartype session_id: str :ivar start_time: The time when the session started. - :vartype start_time: object + :vartype start_time: str :ivar target_subscription_id: The subscription id for the target virtual machine. :vartype target_subscription_id: str :ivar resource_type: The type of the resource. @@ -4815,7 +4811,7 @@ class BastionActiveSession(msrest.serialization.Model): _attribute_map = { 'session_id': {'key': 'sessionId', 'type': 'str'}, - 'start_time': {'key': 'startTime', 'type': 'object'}, + 'start_time': {'key': 'startTime', 'type': 'str'}, 'target_subscription_id': {'key': 'targetSubscriptionId', 'type': 'str'}, 'resource_type': {'key': 'resourceType', 'type': 'str'}, 'target_host_name': {'key': 'targetHostName', 'type': 'str'}, @@ -5093,7 +5089,7 @@ class BastionShareableLink(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param vm: Required. Reference of the virtual machine resource. - :type vm: ~azure.mgmt.network.v2020_06_01.models.Resource + :type vm: ~azure.mgmt.network.v2020_06_01.models.VM :ivar bsl: The unique Bastion Shareable Link to the virtual machine. :vartype bsl: str :ivar created_at: The time when the link was created. @@ -5111,7 +5107,7 @@ class BastionShareableLink(msrest.serialization.Model): } _attribute_map = { - 'vm': {'key': 'vm', 'type': 'Resource'}, + 'vm': {'key': 'vm', 'type': 'VM'}, 'bsl': {'key': 'bsl', 'type': 'str'}, 'created_at': {'key': 'createdAt', 'type': 'str'}, 'message': {'key': 'message', 'type': 'str'}, @@ -5120,7 +5116,7 @@ class BastionShareableLink(msrest.serialization.Model): def __init__( self, *, - vm: "Resource", + vm: "VM", **kwargs ): super(BastionShareableLink, self).__init__(**kwargs) @@ -6969,7 +6965,7 @@ class ContainerNetworkInterface(SubResource): ~azure.mgmt.network.v2020_06_01.models.ContainerNetworkInterfaceConfiguration :param container: Reference to the container to which this container network interface is attached. - :type container: ~azure.mgmt.network.v2020_06_01.models.SubResource + :type container: ~azure.mgmt.network.v2020_06_01.models.Container :ivar ip_configurations: Reference to the ip configuration on this container nic. :vartype ip_configurations: list[~azure.mgmt.network.v2020_06_01.models.ContainerNetworkInterfaceIpConfiguration] @@ -6992,7 +6988,7 @@ class ContainerNetworkInterface(SubResource): 'type': {'key': 'type', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, 'container_network_interface_configuration': {'key': 'properties.containerNetworkInterfaceConfiguration', 'type': 'ContainerNetworkInterfaceConfiguration'}, - 'container': {'key': 'properties.container', 'type': 'SubResource'}, + 'container': {'key': 'properties.container', 'type': 'Container'}, 'ip_configurations': {'key': 'properties.ipConfigurations', 'type': '[ContainerNetworkInterfaceIpConfiguration]'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, } @@ -7002,7 +6998,7 @@ def __init__( *, id: Optional[str] = None, name: Optional[str] = None, - container: Optional["SubResource"] = None, + container: Optional["Container"] = None, **kwargs ): super(ContainerNetworkInterface, self).__init__(id=id, **kwargs) @@ -16565,8 +16561,8 @@ class PacketCaptureStorageLocation(msrest.serialization.Model): :param storage_id: The ID of the storage account to save the packet capture session. Required if no local file path is provided. :type storage_id: str - :param storage_path: The URI of the storage path to save the packet capture. Must be a well- - formed URI describing the location to save the packet capture. + :param storage_path: The URI of the storage path to save the packet capture. Must be a + well-formed URI describing the location to save the packet capture. :type storage_path: str :param file_path: A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no @@ -17340,9 +17336,10 @@ class PrivateLinkService(Resource): :vartype private_endpoint_connections: list[~azure.mgmt.network.v2020_06_01.models.PrivateEndpointConnection] :param visibility: The visibility list of the private link service. - :type visibility: ~azure.mgmt.network.v2020_06_01.models.ResourceSet + :type visibility: ~azure.mgmt.network.v2020_06_01.models.PrivateLinkServicePropertiesVisibility :param auto_approval: The auto-approval list of the private link service. - :type auto_approval: ~azure.mgmt.network.v2020_06_01.models.ResourceSet + :type auto_approval: + ~azure.mgmt.network.v2020_06_01.models.PrivateLinkServicePropertiesAutoApproval :param fqdns: The list of Fqdn. :type fqdns: list[str] :ivar alias: The alias of the private link service. @@ -17374,8 +17371,8 @@ class PrivateLinkService(Resource): 'network_interfaces': {'key': 'properties.networkInterfaces', 'type': '[NetworkInterface]'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'private_endpoint_connections': {'key': 'properties.privateEndpointConnections', 'type': '[PrivateEndpointConnection]'}, - 'visibility': {'key': 'properties.visibility', 'type': 'ResourceSet'}, - 'auto_approval': {'key': 'properties.autoApproval', 'type': 'ResourceSet'}, + 'visibility': {'key': 'properties.visibility', 'type': 'PrivateLinkServicePropertiesVisibility'}, + 'auto_approval': {'key': 'properties.autoApproval', 'type': 'PrivateLinkServicePropertiesAutoApproval'}, 'fqdns': {'key': 'properties.fqdns', 'type': '[str]'}, 'alias': {'key': 'properties.alias', 'type': 'str'}, 'enable_proxy_protocol': {'key': 'properties.enableProxyProtocol', 'type': 'bool'}, @@ -17389,8 +17386,8 @@ def __init__( tags: Optional[Dict[str, str]] = None, load_balancer_frontend_ip_configurations: Optional[List["FrontendIPConfiguration"]] = None, ip_configurations: Optional[List["PrivateLinkServiceIpConfiguration"]] = None, - visibility: Optional["ResourceSet"] = None, - auto_approval: Optional["ResourceSet"] = None, + visibility: Optional["PrivateLinkServicePropertiesVisibility"] = None, + auto_approval: Optional["PrivateLinkServicePropertiesAutoApproval"] = None, fqdns: Optional[List[str]] = None, enable_proxy_protocol: Optional[bool] = None, **kwargs @@ -22096,8 +22093,8 @@ class VirtualNetworkPeering(SubResource): :type use_remote_gateways: bool :param remote_virtual_network: The reference to the remote virtual network. The remote virtual network can be in the same or different region (preview). See here to register for the preview - and learn more (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create- - peering). + and learn more + (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering). :type remote_virtual_network: ~azure.mgmt.network.v2020_06_01.models.SubResource :param remote_address_space: The reference to the remote virtual network address space. :type remote_address_space: ~azure.mgmt.network.v2020_06_01.models.AddressSpace diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_application_gateway_private_endpoint_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_application_gateway_private_endpoint_connections_operations.py index 6e942282a010..81ab4459346e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_application_gateway_private_endpoint_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_application_gateway_private_endpoint_connections_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -244,8 +244,8 @@ def begin_update( :type parameters: ~azure.mgmt.network.v2020_06_01.models.ApplicationGatewayPrivateEndpointConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGatewayPrivateEndpointConnection or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_application_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_application_gateways_operations.py index 86b7eb649168..bca3218a3b7d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_application_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_application_gateways_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -292,8 +292,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_06_01.models.ApplicationGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGateway or the result of cls(response) @@ -611,8 +611,8 @@ def begin_start( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -721,8 +721,8 @@ def begin_stop( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -842,8 +842,8 @@ def begin_backend_health( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGatewayBackendHealth or the result of cls(response) @@ -977,8 +977,8 @@ def begin_backend_health_on_demand( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGatewayBackendHealthOnDemand or the result of cls(response) @@ -1073,7 +1073,7 @@ def list_available_server_variables( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) @@ -1125,7 +1125,7 @@ def list_available_request_headers( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) @@ -1177,7 +1177,7 @@ def list_available_response_headers( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_application_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_application_security_groups_operations.py index 266f92f3573b..30d51007b0d7 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_application_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_application_security_groups_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type application_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -293,8 +293,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_06_01.models.ApplicationSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_azure_firewalls_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_azure_firewalls_operations.py index 9c3401d98938..1ea3b7993a86 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_azure_firewalls_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_azure_firewalls_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type azure_firewall_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -292,8 +292,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_06_01.models.AzureFirewall :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AzureFirewall or the result of cls(response) @@ -420,8 +420,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2020_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AzureFirewall or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_bastion_hosts_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_bastion_hosts_operations.py index 6f76f44a758d..56e9ee7892c4 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_bastion_hosts_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_bastion_hosts_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type bastion_host_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -292,8 +292,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_06_01.models.BastionHost :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either BastionHost or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_connection_monitors_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_connection_monitors_operations.py index 7af61de42b8c..3693b2750400 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_connection_monitors_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_connection_monitors_operations.py @@ -93,7 +93,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -129,8 +129,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_06_01.models.ConnectionMonitor :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionMonitorResult or the result of cls(response) @@ -238,7 +238,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('ConnectionMonitorResult', pipeline_response) @@ -289,7 +289,7 @@ def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -315,8 +315,8 @@ def begin_delete( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -428,7 +428,7 @@ def update_tags( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('ConnectionMonitorResult', pipeline_response) @@ -479,7 +479,7 @@ def _stop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -505,8 +505,8 @@ def begin_stop( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -597,7 +597,7 @@ def _start_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -623,8 +623,8 @@ def begin_start( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -715,7 +715,7 @@ def _query_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -748,8 +748,8 @@ def begin_query( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionMonitorQueryResult or the result of cls(response) @@ -868,7 +868,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_custom_ip_prefixes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_custom_ip_prefixes_operations.py index e00188576f32..85cf56593c47 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_custom_ip_prefixes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_custom_ip_prefixes_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type custom_ip_prefix_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_06_01.models.CustomIpPrefix :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either CustomIpPrefix or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_ddos_custom_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_ddos_custom_policies_operations.py index ee89da1a18d2..16305cd7d7ae 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_ddos_custom_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_ddos_custom_policies_operations.py @@ -106,8 +106,8 @@ def begin_delete( :type ddos_custom_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -291,8 +291,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_06_01.models.DdosCustomPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either DdosCustomPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_ddos_protection_plans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_ddos_protection_plans_operations.py index a75fbcd3fc49..d2c57f43fb54 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_ddos_protection_plans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_ddos_protection_plans_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type ddos_protection_plan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -292,8 +292,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_06_01.models.DdosProtectionPlan :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either DdosProtectionPlan or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_dscp_configuration_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_dscp_configuration_operations.py index fb7ef735fb4d..66bb123419f6 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_dscp_configuration_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_dscp_configuration_operations.py @@ -123,8 +123,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_06_01.models.DscpConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either DscpConfiguration or the result of cls(response) @@ -237,8 +237,8 @@ def begin_delete( :type dscp_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_express_route_circuit_authorizations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_express_route_circuit_authorizations_operations.py index e4bb24e05ca0..ee28b2b91069 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_express_route_circuit_authorizations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_express_route_circuit_authorizations_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type authorization_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -309,8 +309,8 @@ def begin_create_or_update( :type authorization_parameters: ~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitAuthorization :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitAuthorization or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_express_route_circuit_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_express_route_circuit_connections_operations.py index a564db53f811..dd944d292245 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_express_route_circuit_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_express_route_circuit_connections_operations.py @@ -118,8 +118,8 @@ def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -326,8 +326,8 @@ def begin_create_or_update( :type express_route_circuit_connection_parameters: ~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitConnection or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_express_route_circuit_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_express_route_circuit_peerings_operations.py index ac6843aa61fd..6e0b964b91b2 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_express_route_circuit_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_express_route_circuit_peerings_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -309,8 +309,8 @@ def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuitPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_express_route_circuits_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_express_route_circuits_operations.py index 0a308e056a86..27ae36cbc421 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_express_route_circuits_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_express_route_circuits_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type circuit_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -292,8 +292,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_06_01.models.ExpressRouteCircuit :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -489,8 +489,8 @@ def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -622,8 +622,8 @@ def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) @@ -755,8 +755,8 @@ def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableSummaryListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_express_route_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_express_route_connections_operations.py index 053da139a1a2..8d45940130e1 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_express_route_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_express_route_connections_operations.py @@ -128,8 +128,8 @@ def begin_create_or_update( :type put_express_route_connection_parameters: ~azure.mgmt.network.v2020_06_01.models.ExpressRouteConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteConnection or the result of cls(response) @@ -312,8 +312,8 @@ def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_express_route_cross_connection_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_express_route_cross_connection_peerings_operations.py index 28bbde1f1a2a..b7be677560f1 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_express_route_cross_connection_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_express_route_cross_connection_peerings_operations.py @@ -187,8 +187,8 @@ def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -384,8 +384,8 @@ def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2020_06_01.models.ExpressRouteCrossConnectionPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCrossConnectionPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_express_route_cross_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_express_route_cross_connections_operations.py index 17f6bbb00cf7..7c138d29dff4 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_express_route_cross_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_express_route_cross_connections_operations.py @@ -317,8 +317,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_06_01.models.ExpressRouteCrossConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCrossConnection or the result of cls(response) @@ -515,8 +515,8 @@ def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -648,8 +648,8 @@ def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCrossConnectionsRoutesTableSummaryListResult or the result of cls(response) @@ -781,8 +781,8 @@ def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_express_route_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_express_route_gateways_operations.py index 2ffec29244ae..7a4b0ab0e0af 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_express_route_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_express_route_gateways_operations.py @@ -229,8 +229,8 @@ def begin_create_or_update( :type put_express_route_gateway_parameters: ~azure.mgmt.network.v2020_06_01.models.ExpressRouteGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteGateway or the result of cls(response) @@ -403,8 +403,8 @@ def begin_delete( :type express_route_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_express_route_ports_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_express_route_ports_operations.py index 3c361a91c065..ff6821f54b27 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_express_route_ports_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_express_route_ports_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type express_route_port_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -292,8 +292,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_06_01.models.ExpressRoutePort :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRoutePort or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_firewall_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_firewall_policies_operations.py index 1a38aa10c79e..dd522e1cbd11 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_firewall_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_firewall_policies_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type firewall_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_06_01.models.FirewallPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FirewallPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_firewall_policy_rule_collection_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_firewall_policy_rule_collection_groups_operations.py index 1311d3434d17..70957e2632a8 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_firewall_policy_rule_collection_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_firewall_policy_rule_collection_groups_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type rule_collection_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -309,8 +309,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_06_01.models.FirewallPolicyRuleCollectionGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FirewallPolicyRuleCollectionGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_flow_logs_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_flow_logs_operations.py index c037f25086ff..1f95a8b5226e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_flow_logs_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_flow_logs_operations.py @@ -93,7 +93,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -129,8 +129,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_06_01.models.FlowLog :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FlowLog or the result of cls(response) @@ -246,7 +246,7 @@ def update_tags( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('FlowLog', pipeline_response) @@ -310,7 +310,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('FlowLog', pipeline_response) @@ -361,7 +361,7 @@ def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -387,8 +387,8 @@ def begin_delete( :type flow_log_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -504,7 +504,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_hub_route_tables_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_hub_route_tables_operations.py index 7ae53dd17017..a012060ab265 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_hub_route_tables_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_hub_route_tables_operations.py @@ -128,8 +128,8 @@ def begin_create_or_update( :type route_table_parameters: ~azure.mgmt.network.v2020_06_01.models.HubRouteTable :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either HubRouteTable or the result of cls(response) @@ -312,8 +312,8 @@ def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_hub_virtual_network_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_hub_virtual_network_connections_operations.py index 6f68ffe06029..f9295467c163 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_hub_virtual_network_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_hub_virtual_network_connections_operations.py @@ -129,8 +129,8 @@ def begin_create_or_update( :type hub_virtual_network_connection_parameters: ~azure.mgmt.network.v2020_06_01.models.HubVirtualNetworkConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either HubVirtualNetworkConnection or the result of cls(response) @@ -250,8 +250,8 @@ def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_inbound_nat_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_inbound_nat_rules_operations.py index 1014bf7140a7..7a1afdeb34ec 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_inbound_nat_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_inbound_nat_rules_operations.py @@ -187,8 +187,8 @@ def begin_delete( :type inbound_nat_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -389,8 +389,8 @@ def begin_create_or_update( :type inbound_nat_rule_parameters: ~azure.mgmt.network.v2020_06_01.models.InboundNatRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either InboundNatRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_inbound_security_rule_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_inbound_security_rule_operations.py index e5d576a76bbb..6ac19fda19eb 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_inbound_security_rule_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_inbound_security_rule_operations.py @@ -128,8 +128,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_06_01.models.InboundSecurityRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either InboundSecurityRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_ip_allocations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_ip_allocations_operations.py index f6839eabb5cb..b91775497535 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_ip_allocations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_ip_allocations_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type ip_allocation_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_06_01.models.IpAllocation :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either IpAllocation or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_ip_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_ip_groups_operations.py index adb759b4a39b..d0fe7c026678 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_ip_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_ip_groups_operations.py @@ -102,7 +102,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('IpGroup', pipeline_response) @@ -157,7 +157,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -190,8 +190,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_06_01.models.IpGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either IpGroup or the result of cls(response) @@ -301,7 +301,7 @@ def update_groups( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('IpGroup', pipeline_response) @@ -350,7 +350,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -373,8 +373,8 @@ def begin_delete( :type ip_groups_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -484,7 +484,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -552,7 +552,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_load_balancer_backend_address_pools_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_load_balancer_backend_address_pools_operations.py index b613c6e6a5cc..13aea498e263 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_load_balancer_backend_address_pools_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_load_balancer_backend_address_pools_operations.py @@ -267,8 +267,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_06_01.models.BackendAddressPool :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either BackendAddressPool or the result of cls(response) @@ -388,8 +388,8 @@ def begin_delete( :type backend_address_pool_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_load_balancers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_load_balancers_operations.py index ee1633732600..d55167d13257 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_load_balancers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_load_balancers_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type load_balancer_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_06_01.models.LoadBalancer :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LoadBalancer or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_local_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_local_network_gateways_operations.py index 78c3f34668ed..01beb2a4c47c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_local_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_local_network_gateways_operations.py @@ -123,8 +123,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_06_01.models.LocalNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LocalNetworkGateway or the result of cls(response) @@ -296,8 +296,8 @@ def begin_delete( :type local_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_nat_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_nat_gateways_operations.py index eda7bcbc4f32..73b7253e1568 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_nat_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_nat_gateways_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type nat_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_06_01.models.NatGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NatGateway or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_network_interface_tap_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_network_interface_tap_configurations_operations.py index 10cbdd8dc791..ed520c0b576a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_network_interface_tap_configurations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_network_interface_tap_configurations_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type tap_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -309,8 +309,8 @@ def begin_create_or_update( :type tap_configuration_parameters: ~azure.mgmt.network.v2020_06_01.models.NetworkInterfaceTapConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkInterfaceTapConfiguration or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_network_interfaces_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_network_interfaces_operations.py index 3ea6900b3e87..2eab3d31bb6e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_network_interfaces_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_network_interfaces_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_06_01.models.NetworkInterface :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkInterface or the result of cls(response) @@ -621,8 +621,8 @@ def begin_get_effective_route_table( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either EffectiveRouteListResult or the result of cls(response) @@ -739,8 +739,8 @@ def begin_list_effective_network_security_groups( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either EffectiveNetworkSecurityGroupListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_network_management_client_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_network_management_client_operations.py index a67842973084..730d883e37de 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_network_management_client_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_network_management_client_operations.py @@ -101,8 +101,8 @@ def begin_put_bastion_shareable_link( :type bsl_request: ~azure.mgmt.network.v2020_06_01.models.BastionShareableLinkListRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns an iterator like instance of either BastionShareableLinkListResult or the result of cls(response) @@ -286,8 +286,8 @@ def begin_delete_bastion_shareable_link( :type bsl_request: ~azure.mgmt.network.v2020_06_01.models.BastionShareableLinkListRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -488,8 +488,8 @@ def begin_get_active_sessions( :type bastion_host_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns an iterator like instance of either BastionActiveSessionListResult or the result of cls(response) @@ -878,8 +878,8 @@ def begin_generatevirtualwanvpnserverconfigurationvpnprofile( :type vpn_client_params: ~azure.mgmt.network.v2020_06_01.models.VirtualWanVpnProfileParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnProfileResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_network_profiles_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_network_profiles_operations.py index b5344489bf25..67a1a9723dca 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_network_profiles_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_network_profiles_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type network_profile_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_network_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_network_security_groups_operations.py index 6a9440501668..bee46377268c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_network_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_network_security_groups_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type network_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_06_01.models.NetworkSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_network_virtual_appliances_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_network_virtual_appliances_operations.py index 7500273e0edb..0e81fdf88e71 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_network_virtual_appliances_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_network_virtual_appliances_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type network_virtual_appliance_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -364,8 +364,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_06_01.models.NetworkVirtualAppliance :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkVirtualAppliance or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_network_watchers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_network_watchers_operations.py index 3f668e364f8b..a6d5b3e733fb 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_network_watchers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_network_watchers_operations.py @@ -104,7 +104,7 @@ def create_or_update( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -168,7 +168,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('NetworkWatcher', pipeline_response) @@ -217,7 +217,7 @@ def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -240,8 +240,8 @@ def begin_delete( :type network_watcher_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -347,7 +347,7 @@ def update_tags( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('NetworkWatcher', pipeline_response) @@ -419,7 +419,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -487,7 +487,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -555,7 +555,7 @@ def get_topology( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('Topology', pipeline_response) @@ -610,7 +610,7 @@ def _verify_ip_flow_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -643,8 +643,8 @@ def begin_verify_ip_flow( :type parameters: ~azure.mgmt.network.v2020_06_01.models.VerificationIPFlowParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VerificationIPFlowResult or the result of cls(response) @@ -741,7 +741,7 @@ def _get_next_hop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -774,8 +774,8 @@ def begin_get_next_hop( :type parameters: ~azure.mgmt.network.v2020_06_01.models.NextHopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NextHopResult or the result of cls(response) @@ -872,7 +872,7 @@ def _get_vm_security_rules_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -905,8 +905,8 @@ def begin_get_vm_security_rules( :type parameters: ~azure.mgmt.network.v2020_06_01.models.SecurityGroupViewParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either SecurityGroupViewResult or the result of cls(response) @@ -1003,7 +1003,7 @@ def _get_troubleshooting_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1036,8 +1036,8 @@ def begin_get_troubleshooting( :type parameters: ~azure.mgmt.network.v2020_06_01.models.TroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1134,7 +1134,7 @@ def _get_troubleshooting_result_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1167,8 +1167,8 @@ def begin_get_troubleshooting_result( :type parameters: ~azure.mgmt.network.v2020_06_01.models.QueryTroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1265,7 +1265,7 @@ def _set_flow_log_configuration_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1298,8 +1298,8 @@ def begin_set_flow_log_configuration( :type parameters: ~azure.mgmt.network.v2020_06_01.models.FlowLogInformation :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1396,7 +1396,7 @@ def _get_flow_log_status_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1430,8 +1430,8 @@ def begin_get_flow_log_status( :type parameters: ~azure.mgmt.network.v2020_06_01.models.FlowLogStatusParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1528,7 +1528,7 @@ def _check_connectivity_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1562,8 +1562,8 @@ def begin_check_connectivity( :type parameters: ~azure.mgmt.network.v2020_06_01.models.ConnectivityParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectivityInformation or the result of cls(response) @@ -1660,7 +1660,7 @@ def _get_azure_reachability_report_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1695,8 +1695,8 @@ def begin_get_azure_reachability_report( :type parameters: ~azure.mgmt.network.v2020_06_01.models.AzureReachabilityReportParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AzureReachabilityReport or the result of cls(response) @@ -1793,7 +1793,7 @@ def _list_available_providers_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1827,8 +1827,8 @@ def begin_list_available_providers( :type parameters: ~azure.mgmt.network.v2020_06_01.models.AvailableProvidersListParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AvailableProvidersList or the result of cls(response) @@ -1925,7 +1925,7 @@ def _get_network_configuration_diagnostic_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1962,8 +1962,8 @@ def begin_get_network_configuration_diagnostic( :type parameters: ~azure.mgmt.network.v2020_06_01.models.NetworkConfigurationDiagnosticParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkConfigurationDiagnosticResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_p2_svpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_p2_svpn_gateways_operations.py index c0f0a4f544f9..e9bc73593d71 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_p2_svpn_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_p2_svpn_gateways_operations.py @@ -183,8 +183,8 @@ def begin_create_or_update( :type p2_s_vpn_gateway_parameters: ~azure.mgmt.network.v2020_06_01.models.P2SVpnGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -312,8 +312,8 @@ def begin_update_tags( :type p2_s_vpn_gateway_parameters: ~azure.mgmt.network.v2020_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -426,8 +426,8 @@ def begin_delete( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -679,8 +679,8 @@ def begin_reset( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -807,8 +807,8 @@ def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2020_06_01.models.P2SVpnProfileParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnProfileResponse or the result of cls(response) @@ -927,8 +927,8 @@ def begin_get_p2_s_vpn_connection_health( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -1055,8 +1055,8 @@ def begin_get_p2_s_vpn_connection_health_detailed( :type request: ~azure.mgmt.network.v2020_06_01.models.P2SVpnConnectionHealthRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either P2SVpnConnectionHealth or the result of cls(response) @@ -1179,8 +1179,8 @@ def begin_disconnect_p2_s_vpn_connections( :type request: ~azure.mgmt.network.v2020_06_01.models.P2SVpnConnectionRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_packet_captures_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_packet_captures_operations.py index 30fce13da493..55c583b1a812 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_packet_captures_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_packet_captures_operations.py @@ -93,7 +93,7 @@ def _create_initial( if response.status_code not in [201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PacketCaptureResult', pipeline_response) @@ -125,8 +125,8 @@ def begin_create( :type parameters: ~azure.mgmt.network.v2020_06_01.models.PacketCapture :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PacketCaptureResult or the result of cls(response) @@ -234,7 +234,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PacketCaptureResult', pipeline_response) @@ -285,7 +285,7 @@ def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -311,8 +311,8 @@ def begin_delete( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -403,7 +403,7 @@ def _stop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -429,8 +429,8 @@ def begin_stop( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -521,7 +521,7 @@ def _get_status_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -554,8 +554,8 @@ def begin_get_status( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PacketCaptureQueryStatusResult or the result of cls(response) @@ -674,7 +674,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_private_dns_zone_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_private_dns_zone_groups_operations.py index c1b55695da64..d59c3d01c950 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_private_dns_zone_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_private_dns_zone_groups_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type private_dns_zone_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -309,8 +309,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_06_01.models.PrivateDnsZoneGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PrivateDnsZoneGroup or the result of cls(response) @@ -430,7 +430,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_private_endpoints_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_private_endpoints_operations.py index b36b1f06d1d5..1c53bb6441b5 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_private_endpoints_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_private_endpoints_operations.py @@ -85,7 +85,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -108,8 +108,8 @@ def begin_delete( :type private_endpoint_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -212,7 +212,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateEndpoint', pipeline_response) @@ -267,7 +267,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -300,8 +300,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_06_01.models.PrivateEndpoint :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PrivateEndpoint or the result of cls(response) @@ -415,7 +415,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -483,7 +483,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_private_link_services_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_private_link_services_operations.py index b617817111dc..fed552033ca8 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_private_link_services_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_private_link_services_operations.py @@ -85,7 +85,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -108,8 +108,8 @@ def begin_delete( :type service_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -212,7 +212,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateLinkService', pipeline_response) @@ -267,7 +267,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -300,8 +300,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_06_01.models.PrivateLinkService :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PrivateLinkService or the result of cls(response) @@ -415,7 +415,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -483,7 +483,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -553,7 +553,7 @@ def get_private_endpoint_connection( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateEndpointConnection', pipeline_response) @@ -625,7 +625,7 @@ def update_private_endpoint_connection( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateEndpointConnection', pipeline_response) @@ -676,7 +676,7 @@ def _delete_private_endpoint_connection_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -702,8 +702,8 @@ def begin_delete_private_endpoint_connection( :type pe_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -819,7 +819,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -899,8 +899,8 @@ def begin_check_private_link_service_visibility( :type parameters: ~azure.mgmt.network.v2020_06_01.models.CheckPrivateLinkServiceVisibilityRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PrivateLinkServiceVisibility or the result of cls(response) @@ -1026,8 +1026,8 @@ def begin_check_private_link_service_visibility_by_resource_group( :type parameters: ~azure.mgmt.network.v2020_06_01.models.CheckPrivateLinkServiceVisibilityRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PrivateLinkServiceVisibility or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_public_ip_addresses_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_public_ip_addresses_operations.py index 69b359334e36..dcb55d67f754 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_public_ip_addresses_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_public_ip_addresses_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type public_ip_address_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_06_01.models.PublicIPAddress :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PublicIPAddress or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_public_ip_prefixes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_public_ip_prefixes_operations.py index a9a0bf5bc172..4ce02f6f8df2 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_public_ip_prefixes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_public_ip_prefixes_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type public_ip_prefix_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_06_01.models.PublicIPPrefix :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PublicIPPrefix or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_route_filter_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_route_filter_rules_operations.py index 6b8eaae1bd29..710edadc3f25 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_route_filter_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_route_filter_rules_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -309,8 +309,8 @@ def begin_create_or_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2020_06_01.models.RouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilterRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_route_filters_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_route_filters_operations.py index ac93169598bf..9a68d2d1bc19 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_route_filters_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_route_filters_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type route_filter_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ def begin_create_or_update( :type route_filter_parameters: ~azure.mgmt.network.v2020_06_01.models.RouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilter or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_route_tables_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_route_tables_operations.py index 7803bb7df79e..56cab46e9045 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_route_tables_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_route_tables_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_06_01.models.RouteTable :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteTable or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_routes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_routes_operations.py index 7ee885851b5a..29866507b468 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_routes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_routes_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type route_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -308,8 +308,8 @@ def begin_create_or_update( :type route_parameters: ~azure.mgmt.network.v2020_06_01.models.Route :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Route or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_security_partner_providers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_security_partner_providers_operations.py index 92c278da2416..98fc287484e4 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_security_partner_providers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_security_partner_providers_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type security_partner_provider_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -293,8 +293,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_06_01.models.SecurityPartnerProvider :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either SecurityPartnerProvider or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_security_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_security_rules_operations.py index d96bd519c331..eec6c21ab49f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_security_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_security_rules_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type security_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -309,8 +309,8 @@ def begin_create_or_update( :type security_rule_parameters: ~azure.mgmt.network.v2020_06_01.models.SecurityRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either SecurityRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_service_endpoint_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_service_endpoint_policies_operations.py index eed72586f0f1..91ac3fa338b1 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_service_endpoint_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_service_endpoint_policies_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type service_endpoint_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_06_01.models.ServiceEndpointPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ServiceEndpointPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_service_endpoint_policy_definitions_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_service_endpoint_policy_definitions_operations.py index 4cd2bc81230e..88a07aa6ffd0 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_service_endpoint_policy_definitions_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_service_endpoint_policy_definitions_operations.py @@ -113,8 +113,8 @@ def begin_delete( :type service_endpoint_policy_definition_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -313,8 +313,8 @@ def begin_create_or_update( :type service_endpoint_policy_definitions: ~azure.mgmt.network.v2020_06_01.models.ServiceEndpointPolicyDefinition :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ServiceEndpointPolicyDefinition or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_subnets_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_subnets_operations.py index fa74cb2df593..f80b91b5b034 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_subnets_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_subnets_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type subnet_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -313,8 +313,8 @@ def begin_create_or_update( :type subnet_parameters: ~azure.mgmt.network.v2020_06_01.models.Subnet :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Subnet or the result of cls(response) @@ -444,8 +444,8 @@ def begin_prepare_network_policies( :type prepare_network_policies_request_parameters: ~azure.mgmt.network.v2020_06_01.models.PrepareNetworkPoliciesRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -572,8 +572,8 @@ def begin_unprepare_network_policies( :type unprepare_network_policies_request_parameters: ~azure.mgmt.network.v2020_06_01.models.UnprepareNetworkPoliciesRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_appliance_sites_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_appliance_sites_operations.py index 947b5df12574..3e72dd65dc11 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_appliance_sites_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_appliance_sites_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type site_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -309,8 +309,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_06_01.models.VirtualApplianceSite :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualApplianceSite or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_hub_bgp_connection_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_hub_bgp_connection_operations.py index 274ef0fcde6b..0183668f6e2d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_hub_bgp_connection_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_hub_bgp_connection_operations.py @@ -191,8 +191,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_06_01.models.BgpConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either BgpConnection or the result of cls(response) @@ -312,8 +312,8 @@ def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_hub_bgp_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_hub_bgp_connections_operations.py index 763527309f42..47060771abaf 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_hub_bgp_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_hub_bgp_connections_operations.py @@ -192,8 +192,8 @@ def begin_list_learned_routes( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PeerRouteList or the result of cls(response) @@ -317,8 +317,8 @@ def begin_list_advertised_routes( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PeerRouteList or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_hub_ip_configuration_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_hub_ip_configuration_operations.py index 9f17c6e87a82..8615445f780d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_hub_ip_configuration_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_hub_ip_configuration_operations.py @@ -192,8 +192,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_06_01.models.HubIpConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either HubIpConfiguration or the result of cls(response) @@ -313,8 +313,8 @@ def begin_delete( :type ip_config_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_hub_route_table_v2_s_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_hub_route_table_v2_s_operations.py index a19382bb8387..02cfe75e3a0f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_hub_route_table_v2_s_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_hub_route_table_v2_s_operations.py @@ -100,7 +100,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualHubRouteTableV2', pipeline_response) @@ -157,7 +157,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -195,8 +195,8 @@ def begin_create_or_update( :type virtual_hub_route_table_v2_parameters: ~azure.mgmt.network.v2020_06_01.models.VirtualHubRouteTableV2 :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualHubRouteTableV2 or the result of cls(response) @@ -291,7 +291,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -317,8 +317,8 @@ def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_hubs_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_hubs_operations.py index 9dd1b6d9ddb9..3f812f85dca5 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_hubs_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_hubs_operations.py @@ -182,8 +182,8 @@ def begin_create_or_update( :type virtual_hub_parameters: ~azure.mgmt.network.v2020_06_01.models.VirtualHub :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualHub or the result of cls(response) @@ -363,8 +363,8 @@ def begin_delete( :type virtual_hub_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -624,8 +624,8 @@ def begin_get_effective_virtual_hub_routes( :type effective_routes_parameters: ~azure.mgmt.network.v2020_06_01.models.EffectiveRoutesParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_network_gateway_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_network_gateway_connections_operations.py index 6ba724e241c6..55b444a10a14 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_network_gateway_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_network_gateway_connections_operations.py @@ -125,8 +125,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_06_01.models.VirtualNetworkGatewayConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -300,8 +300,8 @@ def begin_delete( :type virtual_network_gateway_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -425,8 +425,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2020_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -558,8 +558,8 @@ def begin_set_shared_key( :type parameters: ~azure.mgmt.network.v2020_06_01.models.ConnectionSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionSharedKey or the result of cls(response) @@ -823,8 +823,8 @@ def begin_reset_shared_key( :type parameters: ~azure.mgmt.network.v2020_06_01.models.ConnectionResetSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionResetSharedKey or the result of cls(response) @@ -924,7 +924,7 @@ def _start_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -957,8 +957,8 @@ def begin_start_packet_capture( :type parameters: ~azure.mgmt.network.v2020_06_01.models.VpnPacketCaptureStartParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1055,7 +1055,7 @@ def _stop_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -1088,8 +1088,8 @@ def begin_stop_packet_capture( :type parameters: ~azure.mgmt.network.v2020_06_01.models.VpnPacketCaptureStopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_network_gateways_operations.py index 620f70fc6290..d9e85d06d51a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_network_gateways_operations.py @@ -123,8 +123,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_06_01.models.VirtualNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -296,8 +296,8 @@ def begin_delete( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -420,8 +420,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2020_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -692,8 +692,8 @@ def begin_reset( :type gateway_vip: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -807,8 +807,8 @@ def begin_reset_vpn_client_shared_key( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -933,8 +933,8 @@ def begin_generatevpnclientpackage( :type parameters: ~azure.mgmt.network.v2020_06_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1063,8 +1063,8 @@ def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2020_06_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1183,8 +1183,8 @@ def begin_get_vpn_profile_package_url( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1307,8 +1307,8 @@ def begin_get_bgp_peer_status( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either BgpPeerStatusListResult or the result of cls(response) @@ -1486,8 +1486,8 @@ def begin_get_learned_routes( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1610,8 +1610,8 @@ def begin_get_advertised_routes( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1740,8 +1740,8 @@ def begin_set_vpnclient_ipsec_parameters( :type vpnclient_ipsec_params: ~azure.mgmt.network.v2020_06_01.models.VpnClientIPsecParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnClientIPsecParameters or the result of cls(response) @@ -1859,8 +1859,8 @@ def begin_get_vpnclient_ipsec_parameters( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnClientIPsecParameters or the result of cls(response) @@ -2027,7 +2027,7 @@ def _start_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -2059,8 +2059,8 @@ def begin_start_packet_capture( :type parameters: ~azure.mgmt.network.v2020_06_01.models.VpnPacketCaptureStartParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -2157,7 +2157,7 @@ def _stop_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -2189,8 +2189,8 @@ def begin_stop_packet_capture( :type parameters: ~azure.mgmt.network.v2020_06_01.models.VpnPacketCaptureStopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -2309,8 +2309,8 @@ def begin_get_vpnclient_connection_health( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnClientConnectionHealthDetailListResult or the result of cls(response) @@ -2431,8 +2431,8 @@ def begin_disconnect_virtual_network_gateway_vpn_connections( :type request: ~azure.mgmt.network.v2020_06_01.models.P2SVpnConnectionRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_network_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_network_peerings_operations.py index c20bb24a8b9c..c4565c3a359a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_network_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_network_peerings_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type virtual_network_peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -309,8 +309,8 @@ def begin_create_or_update( :type virtual_network_peering_parameters: ~azure.mgmt.network.v2020_06_01.models.VirtualNetworkPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_network_taps_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_network_taps_operations.py index 2b233fba7c9c..9384ff7c31ce 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_network_taps_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_network_taps_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type tap_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -292,8 +292,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_06_01.models.VirtualNetworkTap :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkTap or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_networks_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_networks_operations.py index 0659dcf98f1d..7061e912dc58 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_networks_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_networks_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type virtual_network_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_06_01.models.VirtualNetwork :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetwork or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_router_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_router_peerings_operations.py index 8ceebe751001..5e1e0709a995 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_router_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_router_peerings_operations.py @@ -87,7 +87,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -113,8 +113,8 @@ def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -218,7 +218,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualRouterPeering', pipeline_response) @@ -275,7 +275,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -312,8 +312,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_06_01.models.VirtualRouterPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualRouterPeering or the result of cls(response) @@ -433,7 +433,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_routers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_routers_operations.py index ec38279385e3..0ec36c576b72 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_routers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_routers_operations.py @@ -85,7 +85,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -108,8 +108,8 @@ def begin_delete( :type virtual_router_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -212,7 +212,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualRouter', pipeline_response) @@ -267,7 +267,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -300,8 +300,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_06_01.models.VirtualRouter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualRouter or the result of cls(response) @@ -415,7 +415,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -483,7 +483,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_wans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_wans_operations.py index 907d11d67a2e..79c7d88d1613 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_wans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_virtual_wans_operations.py @@ -182,8 +182,8 @@ def begin_create_or_update( :type wan_parameters: ~azure.mgmt.network.v2020_06_01.models.VirtualWAN :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualWAN or the result of cls(response) @@ -363,8 +363,8 @@ def begin_delete( :type virtual_wan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_vpn_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_vpn_connections_operations.py index bb61e1ae0650..2c566a17a7c8 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_vpn_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_vpn_connections_operations.py @@ -192,8 +192,8 @@ def begin_create_or_update( :type vpn_connection_parameters: ~azure.mgmt.network.v2020_06_01.models.VpnConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnConnection or the result of cls(response) @@ -313,8 +313,8 @@ def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -448,8 +448,8 @@ def begin_start_packet_capture( :type parameters: ~azure.mgmt.network.v2020_06_01.models.VpnConnectionPacketCaptureStartParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -587,8 +587,8 @@ def begin_stop_packet_capture( :type parameters: ~azure.mgmt.network.v2020_06_01.models.VpnConnectionPacketCaptureStopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_vpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_vpn_gateways_operations.py index 5411d4e4f571..ac87d8f293d4 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_vpn_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_vpn_gateways_operations.py @@ -183,8 +183,8 @@ def begin_create_or_update( :type vpn_gateway_parameters: ~azure.mgmt.network.v2020_06_01.models.VpnGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnGateway or the result of cls(response) @@ -311,8 +311,8 @@ def begin_update_tags( :type vpn_gateway_parameters: ~azure.mgmt.network.v2020_06_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnGateway or the result of cls(response) @@ -425,8 +425,8 @@ def begin_delete( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -540,8 +540,8 @@ def begin_reset( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnGateway or the result of cls(response) @@ -671,8 +671,8 @@ def begin_start_packet_capture( :type parameters: ~azure.mgmt.network.v2020_06_01.models.VpnGatewayPacketCaptureStartParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -803,8 +803,8 @@ def begin_stop_packet_capture( :type parameters: ~azure.mgmt.network.v2020_06_01.models.VpnGatewayPacketCaptureStopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py index 68d7f582be7b..8d3302d95dcd 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py @@ -112,8 +112,8 @@ def begin_list( :type virtual_wan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnServerConfigurationsResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_vpn_server_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_vpn_server_configurations_operations.py index 8e67a30ec0c0..299a03d2edd0 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_vpn_server_configurations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_vpn_server_configurations_operations.py @@ -185,8 +185,8 @@ def begin_create_or_update( :type vpn_server_configuration_parameters: ~azure.mgmt.network.v2020_06_01.models.VpnServerConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnServerConfiguration or the result of cls(response) @@ -367,8 +367,8 @@ def begin_delete( :type vpn_server_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_vpn_sites_configuration_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_vpn_sites_configuration_operations.py index f289ab470203..dfa4395fdce1 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_vpn_sites_configuration_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_vpn_sites_configuration_operations.py @@ -116,8 +116,8 @@ def begin_download( :type request: ~azure.mgmt.network.v2020_06_01.models.GetVpnSitesConfigurationRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_vpn_sites_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_vpn_sites_operations.py index 7de6d190161c..dd5fff7288c5 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_vpn_sites_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_vpn_sites_operations.py @@ -182,8 +182,8 @@ def begin_create_or_update( :type vpn_site_parameters: ~azure.mgmt.network.v2020_06_01.models.VpnSite :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnSite or the result of cls(response) @@ -363,8 +363,8 @@ def begin_delete( :type vpn_site_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_web_application_firewall_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_web_application_firewall_policies_operations.py index 40c83f0d2679..2332a2407f3b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_web_application_firewall_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_06_01/operations/_web_application_firewall_policies_operations.py @@ -375,8 +375,8 @@ def begin_delete( :type policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/_metadata.json b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/_metadata.json index a81bb5d16051..4c8c9d01275f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/_metadata.json +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/_metadata.json @@ -9,7 +9,9 @@ "custom_base_url": null, "azure_arm": true, "has_lro_operations": true, - "client_side_validation": true + "client_side_validation": false, + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"NetworkManagementClientConfiguration\"], \"._operations_mixin\": [\"NetworkManagementClientOperationsMixin\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"NetworkManagementClientConfiguration\"], \"._operations_mixin\": [\"NetworkManagementClientOperationsMixin\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}" }, "global_parameters": { "sync": { @@ -28,13 +30,13 @@ }, "async": { "credential": { - "signature": "credential, # type: \"AsyncTokenCredential\"", + "signature": "credential: \"AsyncTokenCredential\",", "description": "Credential needed for the client to connect to Azure.", "docstring_type": "~azure.core.credentials_async.AsyncTokenCredential", "required": true }, "subscription_id": { - "signature": "subscription_id, # type: str", + "signature": "subscription_id: str,", "description": "The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.", "docstring_type": "str", "required": true @@ -42,14 +44,58 @@ }, "constant": { }, - "call": "credential, subscription_id" + "call": "credential, subscription_id", + "service_client_specific": { + "sync": { + "api_version": { + "signature": "api_version=None, # type: Optional[str]", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url=None, # type: Optional[str]", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile=KnownProfiles.default, # type: KnownProfiles", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + }, + "async": { + "api_version": { + "signature": "api_version: Optional[str] = None,", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url: Optional[str] = None,", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile: KnownProfiles = KnownProfiles.default,", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + } + } }, "config": { "credential": true, "credential_scopes": ["https://management.azure.com/.default"], "credential_default_policy_type": "BearerTokenCredentialPolicy", "credential_default_policy_type_has_async_version": true, - "credential_key_header_name": null + "credential_key_header_name": null, + "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMHttpLoggingPolicy\"]}, \"local\": {\"._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}}", + "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMHttpLoggingPolicy\"]}, \"local\": {\".._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}}" }, "operation_groups": { "application_gateways": "ApplicationGatewaysOperations", @@ -159,151 +205,153 @@ "web_application_firewall_policies": "WebApplicationFirewallPoliciesOperations" }, "operation_mixins": { - "_put_bastion_shareable_link_initial" : { - "sync": { - "signature": "def _put_bastion_shareable_link_initial(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_07_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionShareableLinkListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_07_01.models.BastionShareableLinkListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def _put_bastion_shareable_link_initial(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e Optional[\"_models.BastionShareableLinkListResult\"]:\n", - "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_07_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionShareableLinkListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_07_01.models.BastionShareableLinkListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "resource_group_name, bastion_host_name, bsl_request" - }, - "begin_put_bastion_shareable_link" : { - "sync": { - "signature": "def begin_put_bastion_shareable_link(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Creates a Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_07_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns an iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.BastionShareableLinkListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" - }, - "async": { - "coroutine": false, - "signature": "def begin_put_bastion_shareable_link(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e AsyncLROPoller[AsyncItemPaged[\"_models.BastionShareableLinkListResult\"]]:\n", - "doc": "\"\"\"Creates a Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_07_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns an iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.BastionShareableLinkListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" - }, - "call": "resource_group_name, bastion_host_name, bsl_request" - }, - "_delete_bastion_shareable_link_initial" : { - "sync": { - "signature": "def _delete_bastion_shareable_link_initial(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_07_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def _delete_bastion_shareable_link_initial(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e None:\n", - "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_07_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "resource_group_name, bastion_host_name, bsl_request" - }, - "begin_delete_bastion_shareable_link" : { - "sync": { - "signature": "def begin_delete_bastion_shareable_link(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Deletes the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_07_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def begin_delete_bastion_shareable_link(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e AsyncLROPoller[None]:\n", - "doc": "\"\"\"Deletes the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_07_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" - }, - "call": "resource_group_name, bastion_host_name, bsl_request" - }, - "get_bastion_shareable_link" : { - "sync": { - "signature": "def get_bastion_shareable_link(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Return the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_07_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.BastionShareableLinkListResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": false, - "signature": "def get_bastion_shareable_link(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e AsyncItemPaged[\"_models.BastionShareableLinkListResult\"]:\n", - "doc": "\"\"\"Return the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_07_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.BastionShareableLinkListResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "resource_group_name, bastion_host_name, bsl_request" - }, - "_get_active_sessions_initial" : { - "sync": { - "signature": "def _get_active_sessions_initial(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionActiveSessionListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_07_01.models.BastionActiveSessionListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def _get_active_sessions_initial(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n **kwargs\n) -\u003e Optional[\"_models.BastionActiveSessionListResult\"]:\n", - "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionActiveSessionListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_07_01.models.BastionActiveSessionListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "resource_group_name, bastion_host_name" - }, - "begin_get_active_sessions" : { - "sync": { - "signature": "def begin_get_active_sessions(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns an iterator like instance of either BastionActiveSessionListResult or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.BastionActiveSessionListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"], \"azure.core.polling\": [\"LROPoller\", \"NoPolling\", \"PollingMethod\"], \"azure.mgmt.core.polling.arm_polling\": [\"ARMPolling\"], \"azure.core.paging\": [\"ItemPaged\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Iterable\", \"Optional\", \"TypeVar\", \"Union\"]}}}", + "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"], \"azure.core.polling\": [\"AsyncLROPoller\", \"AsyncNoPolling\", \"AsyncPollingMethod\"], \"azure.mgmt.core.polling.async_arm_polling\": [\"AsyncARMPolling\"], \"azure.core.async_paging\": [\"AsyncItemPaged\", \"AsyncList\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"AsyncIterable\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\", \"Union\"]}}}", + "operations": { + "_put_bastion_shareable_link_initial" : { + "sync": { + "signature": "def _put_bastion_shareable_link_initial(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_07_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionShareableLinkListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_07_01.models.BastionShareableLinkListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def _put_bastion_shareable_link_initial(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e Optional[\"_models.BastionShareableLinkListResult\"]:\n", + "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_07_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionShareableLinkListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_07_01.models.BastionShareableLinkListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "resource_group_name, bastion_host_name, bsl_request" }, - "async": { - "coroutine": false, - "signature": "def begin_get_active_sessions(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n **kwargs\n) -\u003e AsyncLROPoller[AsyncItemPaged[\"_models.BastionActiveSessionListResult\"]]:\n", - "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns an iterator like instance of either BastionActiveSessionListResult or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.BastionActiveSessionListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + "begin_put_bastion_shareable_link" : { + "sync": { + "signature": "def begin_put_bastion_shareable_link(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Creates a Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_07_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the ARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns an iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.BastionShareableLinkListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "async": { + "coroutine": false, + "signature": "def begin_put_bastion_shareable_link(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e AsyncLROPoller[AsyncItemPaged[\"_models.BastionShareableLinkListResult\"]]:\n", + "doc": "\"\"\"Creates a Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_07_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the AsyncARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns an iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.BastionShareableLinkListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "call": "resource_group_name, bastion_host_name, bsl_request" }, - "call": "resource_group_name, bastion_host_name" - }, - "disconnect_active_sessions" : { - "sync": { - "signature": "def disconnect_active_sessions(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n session_ids, # type: \"_models.SessionIds\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param session_ids: The list of sessionids to disconnect.\n:type session_ids: ~azure.mgmt.network.v2020_07_01.models.SessionIds\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionSessionDeleteResult or the result of cls(response)\n:rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.BastionSessionDeleteResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": false, - "signature": "def disconnect_active_sessions(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n session_ids: \"_models.SessionIds\",\n **kwargs\n) -\u003e AsyncItemPaged[\"_models.BastionSessionDeleteResult\"]:\n", - "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param session_ids: The list of sessionids to disconnect.\n:type session_ids: ~azure.mgmt.network.v2020_07_01.models.SessionIds\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionSessionDeleteResult or the result of cls(response)\n:rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.BastionSessionDeleteResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "_delete_bastion_shareable_link_initial" : { + "sync": { + "signature": "def _delete_bastion_shareable_link_initial(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_07_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def _delete_bastion_shareable_link_initial(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e None:\n", + "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_07_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "resource_group_name, bastion_host_name, bsl_request" }, - "call": "resource_group_name, bastion_host_name, session_ids" - }, - "check_dns_name_availability" : { - "sync": { - "signature": "def check_dns_name_availability(\n self,\n location, # type: str\n domain_name_label, # type: str\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_07_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "begin_delete_bastion_shareable_link" : { + "sync": { + "signature": "def begin_delete_bastion_shareable_link(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Deletes the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_07_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the ARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def begin_delete_bastion_shareable_link(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e AsyncLROPoller[None]:\n", + "doc": "\"\"\"Deletes the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_07_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the AsyncARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "call": "resource_group_name, bastion_host_name, bsl_request" }, - "async": { - "coroutine": true, - "signature": "async def check_dns_name_availability(\n self,\n location: str,\n domain_name_label: str,\n **kwargs\n) -\u003e \"_models.DnsNameAvailabilityResult\":\n", - "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_07_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "get_bastion_shareable_link" : { + "sync": { + "signature": "def get_bastion_shareable_link(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Return the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_07_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.BastionShareableLinkListResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": false, + "signature": "def get_bastion_shareable_link(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e AsyncItemPaged[\"_models.BastionShareableLinkListResult\"]:\n", + "doc": "\"\"\"Return the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_07_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.BastionShareableLinkListResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "resource_group_name, bastion_host_name, bsl_request" }, - "call": "location, domain_name_label" - }, - "supported_security_providers" : { - "sync": { - "signature": "def supported_security_providers(\n self,\n resource_group_name, # type: str\n virtual_wan_name, # type: str\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Gives the supported security providers for the virtual wan.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN for which supported security providers are\n needed.\n:type virtual_wan_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VirtualWanSecurityProviders, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_07_01.models.VirtualWanSecurityProviders\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "_get_active_sessions_initial" : { + "sync": { + "signature": "def _get_active_sessions_initial(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionActiveSessionListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_07_01.models.BastionActiveSessionListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def _get_active_sessions_initial(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n **kwargs\n) -\u003e Optional[\"_models.BastionActiveSessionListResult\"]:\n", + "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionActiveSessionListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_07_01.models.BastionActiveSessionListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "resource_group_name, bastion_host_name" }, - "async": { - "coroutine": true, - "signature": "async def supported_security_providers(\n self,\n resource_group_name: str,\n virtual_wan_name: str,\n **kwargs\n) -\u003e \"_models.VirtualWanSecurityProviders\":\n", - "doc": "\"\"\"Gives the supported security providers for the virtual wan.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN for which supported security providers are\n needed.\n:type virtual_wan_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VirtualWanSecurityProviders, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_07_01.models.VirtualWanSecurityProviders\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "begin_get_active_sessions" : { + "sync": { + "signature": "def begin_get_active_sessions(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the ARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns an iterator like instance of either BastionActiveSessionListResult or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.BastionActiveSessionListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "async": { + "coroutine": false, + "signature": "def begin_get_active_sessions(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n **kwargs\n) -\u003e AsyncLROPoller[AsyncItemPaged[\"_models.BastionActiveSessionListResult\"]]:\n", + "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the AsyncARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns an iterator like instance of either BastionActiveSessionListResult or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.BastionActiveSessionListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "call": "resource_group_name, bastion_host_name" }, - "call": "resource_group_name, virtual_wan_name" - }, - "_generatevirtualwanvpnserverconfigurationvpnprofile_initial" : { - "sync": { - "signature": "def _generatevirtualwanvpnserverconfigurationvpnprofile_initial(\n self,\n resource_group_name, # type: str\n virtual_wan_name, # type: str\n vpn_client_params, # type: \"_models.VirtualWanVpnProfileParameters\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2020_07_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VpnProfileResponse, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_07_01.models.VpnProfileResponse or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "disconnect_active_sessions" : { + "sync": { + "signature": "def disconnect_active_sessions(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n session_ids, # type: \"_models.SessionIds\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param session_ids: The list of sessionids to disconnect.\n:type session_ids: ~azure.mgmt.network.v2020_07_01.models.SessionIds\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionSessionDeleteResult or the result of cls(response)\n:rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_07_01.models.BastionSessionDeleteResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": false, + "signature": "def disconnect_active_sessions(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n session_ids: \"_models.SessionIds\",\n **kwargs\n) -\u003e AsyncItemPaged[\"_models.BastionSessionDeleteResult\"]:\n", + "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param session_ids: The list of sessionids to disconnect.\n:type session_ids: ~azure.mgmt.network.v2020_07_01.models.SessionIds\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionSessionDeleteResult or the result of cls(response)\n:rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_07_01.models.BastionSessionDeleteResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "resource_group_name, bastion_host_name, session_ids" }, - "async": { - "coroutine": true, - "signature": "async def _generatevirtualwanvpnserverconfigurationvpnprofile_initial(\n self,\n resource_group_name: str,\n virtual_wan_name: str,\n vpn_client_params: \"_models.VirtualWanVpnProfileParameters\",\n **kwargs\n) -\u003e Optional[\"_models.VpnProfileResponse\"]:\n", - "doc": "\"\"\"\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2020_07_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VpnProfileResponse, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_07_01.models.VpnProfileResponse or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "check_dns_name_availability" : { + "sync": { + "signature": "def check_dns_name_availability(\n self,\n location, # type: str\n domain_name_label, # type: str\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_07_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def check_dns_name_availability(\n self,\n location: str,\n domain_name_label: str,\n **kwargs\n) -\u003e \"_models.DnsNameAvailabilityResult\":\n", + "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_07_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "location, domain_name_label" }, - "call": "resource_group_name, virtual_wan_name, vpn_client_params" - }, - "begin_generatevirtualwanvpnserverconfigurationvpnprofile" : { - "sync": { - "signature": "def begin_generatevirtualwanvpnserverconfigurationvpnprofile(\n self,\n resource_group_name, # type: str\n virtual_wan_name, # type: str\n vpn_client_params, # type: \"_models.VirtualWanVpnProfileParameters\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Generates a unique VPN profile for P2S clients for VirtualWan and associated\nVpnServerConfiguration combination in the specified resource group.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2020_07_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns either VpnProfileResponse or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.VpnProfileResponse]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + "supported_security_providers" : { + "sync": { + "signature": "def supported_security_providers(\n self,\n resource_group_name, # type: str\n virtual_wan_name, # type: str\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Gives the supported security providers for the virtual wan.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN for which supported security providers are\n needed.\n:type virtual_wan_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VirtualWanSecurityProviders, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_07_01.models.VirtualWanSecurityProviders\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def supported_security_providers(\n self,\n resource_group_name: str,\n virtual_wan_name: str,\n **kwargs\n) -\u003e \"_models.VirtualWanSecurityProviders\":\n", + "doc": "\"\"\"Gives the supported security providers for the virtual wan.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN for which supported security providers are\n needed.\n:type virtual_wan_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VirtualWanSecurityProviders, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_07_01.models.VirtualWanSecurityProviders\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "resource_group_name, virtual_wan_name" }, - "async": { - "coroutine": true, - "signature": "async def begin_generatevirtualwanvpnserverconfigurationvpnprofile(\n self,\n resource_group_name: str,\n virtual_wan_name: str,\n vpn_client_params: \"_models.VirtualWanVpnProfileParameters\",\n **kwargs\n) -\u003e AsyncLROPoller[\"_models.VpnProfileResponse\"]:\n", - "doc": "\"\"\"Generates a unique VPN profile for P2S clients for VirtualWan and associated\nVpnServerConfiguration combination in the specified resource group.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2020_07_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns either VpnProfileResponse or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.VpnProfileResponse]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + "_generatevirtualwanvpnserverconfigurationvpnprofile_initial" : { + "sync": { + "signature": "def _generatevirtualwanvpnserverconfigurationvpnprofile_initial(\n self,\n resource_group_name, # type: str\n virtual_wan_name, # type: str\n vpn_client_params, # type: \"_models.VirtualWanVpnProfileParameters\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2020_07_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VpnProfileResponse, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_07_01.models.VpnProfileResponse or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def _generatevirtualwanvpnserverconfigurationvpnprofile_initial(\n self,\n resource_group_name: str,\n virtual_wan_name: str,\n vpn_client_params: \"_models.VirtualWanVpnProfileParameters\",\n **kwargs\n) -\u003e Optional[\"_models.VpnProfileResponse\"]:\n", + "doc": "\"\"\"\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2020_07_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VpnProfileResponse, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_07_01.models.VpnProfileResponse or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "resource_group_name, virtual_wan_name, vpn_client_params" }, - "call": "resource_group_name, virtual_wan_name, vpn_client_params" + "begin_generatevirtualwanvpnserverconfigurationvpnprofile" : { + "sync": { + "signature": "def begin_generatevirtualwanvpnserverconfigurationvpnprofile(\n self,\n resource_group_name, # type: str\n virtual_wan_name, # type: str\n vpn_client_params, # type: \"_models.VirtualWanVpnProfileParameters\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Generates a unique VPN profile for P2S clients for VirtualWan and associated\nVpnServerConfiguration combination in the specified resource group.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2020_07_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the ARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns either VpnProfileResponse or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_07_01.models.VpnProfileResponse]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def begin_generatevirtualwanvpnserverconfigurationvpnprofile(\n self,\n resource_group_name: str,\n virtual_wan_name: str,\n vpn_client_params: \"_models.VirtualWanVpnProfileParameters\",\n **kwargs\n) -\u003e AsyncLROPoller[\"_models.VpnProfileResponse\"]:\n", + "doc": "\"\"\"Generates a unique VPN profile for P2S clients for VirtualWan and associated\nVpnServerConfiguration combination in the specified resource group.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2020_07_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the AsyncARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns either VpnProfileResponse or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_07_01.models.VpnProfileResponse]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "call": "resource_group_name, virtual_wan_name, vpn_client_params" + } } - }, - "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"], \"azure.core.polling\": [\"LROPoller\", \"NoPolling\", \"PollingMethod\"], \"azure.mgmt.core.polling.arm_polling\": [\"ARMPolling\"], \"azure.core.paging\": [\"ItemPaged\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Iterable\", \"Optional\", \"TypeVar\", \"Union\"]}}}", - "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"], \"azure.core.polling\": [\"AsyncLROPoller\", \"AsyncNoPolling\", \"AsyncPollingMethod\"], \"azure.mgmt.core.polling.async_arm_polling\": [\"AsyncARMPolling\"], \"azure.core.async_paging\": [\"AsyncItemPaged\", \"AsyncList\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"AsyncIterable\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\", \"Union\"]}}}" + } } \ No newline at end of file diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/_network_management_client.py index 913fb289ce08..3b5cc02e14d7 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/_network_management_client.py @@ -16,6 +16,7 @@ from typing import Any, Optional from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse from ._configuration import NetworkManagementClientConfiguration from .operations import ApplicationGatewaysOperations @@ -363,6 +364,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( @@ -576,6 +578,24 @@ def __init__( self.web_application_firewall_policies = WebApplicationFirewallPoliciesOperations( self._client, self._config, self._serialize, self._deserialize) + def _send_request(self, http_request, **kwargs): + # type: (HttpRequest, Any) -> HttpResponse + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.HttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + def close(self): # type: () -> None self._client.close() diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/_network_management_client.py index 408d7633730b..90edd72dcf11 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/_network_management_client.py @@ -8,6 +8,7 @@ from typing import Any, Optional, TYPE_CHECKING +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core import AsyncARMPipelineClient from msrest import Deserializer, Serializer @@ -360,6 +361,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( @@ -573,6 +575,23 @@ def __init__( self.web_application_firewall_policies = WebApplicationFirewallPoliciesOperations( self._client, self._config, self._serialize, self._deserialize) + async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + async def close(self) -> None: await self._client.close() diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_application_gateway_private_endpoint_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_application_gateway_private_endpoint_connections_operations.py index d600fcf3df5a..909ac1352850 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_application_gateway_private_endpoint_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_application_gateway_private_endpoint_connections_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -236,8 +236,8 @@ async def begin_update( :type parameters: ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayPrivateEndpointConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGatewayPrivateEndpointConnection or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_application_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_application_gateways_operations.py index 4183efaa781b..5b648d1ba72f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_application_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_application_gateways_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -283,8 +283,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_07_01.models.ApplicationGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGateway or the result of cls(response) @@ -597,8 +597,8 @@ async def begin_start( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -705,8 +705,8 @@ async def begin_stop( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -824,8 +824,8 @@ async def begin_backend_health( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGatewayBackendHealth or the result of cls(response) @@ -957,8 +957,8 @@ async def begin_backend_health_on_demand( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGatewayBackendHealthOnDemand or the result of cls(response) @@ -1052,7 +1052,7 @@ async def list_available_server_variables( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) @@ -1103,7 +1103,7 @@ async def list_available_request_headers( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) @@ -1154,7 +1154,7 @@ async def list_available_response_headers( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_application_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_application_security_groups_operations.py index 8b3dfa26af2f..ff6be5e7ae3f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_application_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_application_security_groups_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type application_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -284,8 +284,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_07_01.models.ApplicationSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_azure_firewalls_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_azure_firewalls_operations.py index ab208cc75966..b0ed8393e7d1 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_azure_firewalls_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_azure_firewalls_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type azure_firewall_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -283,8 +283,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_07_01.models.AzureFirewall :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AzureFirewall or the result of cls(response) @@ -409,8 +409,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2020_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AzureFirewall or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_bastion_hosts_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_bastion_hosts_operations.py index 45df90b98210..6b78a14dcde6 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_bastion_hosts_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_bastion_hosts_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type bastion_host_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -283,8 +283,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_07_01.models.BastionHost :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either BastionHost or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_connection_monitors_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_connection_monitors_operations.py index fd8cf1ca39ad..e844231e087b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_connection_monitors_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_connection_monitors_operations.py @@ -91,7 +91,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -129,8 +129,8 @@ async def begin_create_or_update( :type migrate: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionMonitorResult or the result of cls(response) @@ -238,7 +238,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('ConnectionMonitorResult', pipeline_response) @@ -288,7 +288,7 @@ async def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -313,8 +313,8 @@ async def begin_delete( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -425,7 +425,7 @@ async def update_tags( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('ConnectionMonitorResult', pipeline_response) @@ -475,7 +475,7 @@ async def _stop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -500,8 +500,8 @@ async def begin_stop( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -591,7 +591,7 @@ async def _start_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -616,8 +616,8 @@ async def begin_start( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -707,7 +707,7 @@ async def _query_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -739,8 +739,8 @@ async def begin_query( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionMonitorQueryResult or the result of cls(response) @@ -858,7 +858,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_custom_ip_prefixes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_custom_ip_prefixes_operations.py index ac2d73fefcab..7a010c42108c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_custom_ip_prefixes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_custom_ip_prefixes_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type custom_ip_prefix_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -288,8 +288,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_07_01.models.CustomIpPrefix :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either CustomIpPrefix or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_ddos_custom_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_ddos_custom_policies_operations.py index df07304447b1..f9a6c0742ae1 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_ddos_custom_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_ddos_custom_policies_operations.py @@ -100,8 +100,8 @@ async def begin_delete( :type ddos_custom_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -282,8 +282,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_07_01.models.DdosCustomPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either DdosCustomPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_ddos_protection_plans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_ddos_protection_plans_operations.py index 45afdffc553b..9960690ee3bc 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_ddos_protection_plans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_ddos_protection_plans_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type ddos_protection_plan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -283,8 +283,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_07_01.models.DdosProtectionPlan :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either DdosProtectionPlan or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_dscp_configuration_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_dscp_configuration_operations.py index 5ff7eee8b443..03bfdbb082b5 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_dscp_configuration_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_dscp_configuration_operations.py @@ -117,8 +117,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_07_01.models.DscpConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either DscpConfiguration or the result of cls(response) @@ -229,8 +229,8 @@ async def begin_delete( :type dscp_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_express_route_circuit_authorizations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_express_route_circuit_authorizations_operations.py index ec664301e4b9..f3dd4a770123 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_express_route_circuit_authorizations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_express_route_circuit_authorizations_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type authorization_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -300,8 +300,8 @@ async def begin_create_or_update( :type authorization_parameters: ~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitAuthorization :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitAuthorization or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_express_route_circuit_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_express_route_circuit_connections_operations.py index bd412cd17545..11fdb1684062 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_express_route_circuit_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_express_route_circuit_connections_operations.py @@ -112,8 +112,8 @@ async def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -317,8 +317,8 @@ async def begin_create_or_update( :type express_route_circuit_connection_parameters: ~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitConnection or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_express_route_circuit_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_express_route_circuit_peerings_operations.py index 51ab07aec102..47be33c138b2 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_express_route_circuit_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_express_route_circuit_peerings_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -300,8 +300,8 @@ async def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_express_route_circuits_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_express_route_circuits_operations.py index 282ee7ec9af6..7485979fa0ed 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_express_route_circuits_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_express_route_circuits_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type circuit_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -283,8 +283,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuit :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -477,8 +477,8 @@ async def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -608,8 +608,8 @@ async def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) @@ -739,8 +739,8 @@ async def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableSummaryListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_express_route_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_express_route_connections_operations.py index a0bfb04f1caa..92149038d57b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_express_route_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_express_route_connections_operations.py @@ -122,8 +122,8 @@ async def begin_create_or_update( :type put_express_route_connection_parameters: ~azure.mgmt.network.v2020_07_01.models.ExpressRouteConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteConnection or the result of cls(response) @@ -303,8 +303,8 @@ async def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_express_route_cross_connection_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_express_route_cross_connection_peerings_operations.py index 9179613ae04e..8532daed556d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_express_route_cross_connection_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_express_route_cross_connection_peerings_operations.py @@ -180,8 +180,8 @@ async def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -374,8 +374,8 @@ async def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2020_07_01.models.ExpressRouteCrossConnectionPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCrossConnectionPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_express_route_cross_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_express_route_cross_connections_operations.py index 4d0a80ba4023..7e2b36bcfd5b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_express_route_cross_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_express_route_cross_connections_operations.py @@ -308,8 +308,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_07_01.models.ExpressRouteCrossConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCrossConnection or the result of cls(response) @@ -503,8 +503,8 @@ async def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -634,8 +634,8 @@ async def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCrossConnectionsRoutesTableSummaryListResult or the result of cls(response) @@ -765,8 +765,8 @@ async def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_express_route_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_express_route_gateways_operations.py index 4e907c22908a..b96ad914069b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_express_route_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_express_route_gateways_operations.py @@ -221,8 +221,8 @@ async def begin_create_or_update( :type put_express_route_gateway_parameters: ~azure.mgmt.network.v2020_07_01.models.ExpressRouteGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteGateway or the result of cls(response) @@ -392,8 +392,8 @@ async def begin_delete( :type express_route_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_express_route_ports_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_express_route_ports_operations.py index 3ac55be91b9d..fd2714838949 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_express_route_ports_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_express_route_ports_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type express_route_port_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -283,8 +283,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_07_01.models.ExpressRoutePort :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRoutePort or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_firewall_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_firewall_policies_operations.py index 89ef7e25ac9b..1377a351025c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_firewall_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_firewall_policies_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type firewall_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -288,8 +288,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_07_01.models.FirewallPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FirewallPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_firewall_policy_rule_collection_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_firewall_policy_rule_collection_groups_operations.py index 1fcc8775732a..5a794700b93b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_firewall_policy_rule_collection_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_firewall_policy_rule_collection_groups_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type rule_collection_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -300,8 +300,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_07_01.models.FirewallPolicyRuleCollectionGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FirewallPolicyRuleCollectionGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_flow_logs_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_flow_logs_operations.py index 832ca015ba6e..77475c13e539 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_flow_logs_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_flow_logs_operations.py @@ -88,7 +88,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -123,8 +123,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_07_01.models.FlowLog :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FlowLog or the result of cls(response) @@ -239,7 +239,7 @@ async def update_tags( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('FlowLog', pipeline_response) @@ -302,7 +302,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('FlowLog', pipeline_response) @@ -352,7 +352,7 @@ async def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -377,8 +377,8 @@ async def begin_delete( :type flow_log_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -493,7 +493,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_hub_route_tables_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_hub_route_tables_operations.py index 6a895c5d36f9..9442109b179f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_hub_route_tables_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_hub_route_tables_operations.py @@ -122,8 +122,8 @@ async def begin_create_or_update( :type route_table_parameters: ~azure.mgmt.network.v2020_07_01.models.HubRouteTable :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either HubRouteTable or the result of cls(response) @@ -303,8 +303,8 @@ async def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_hub_virtual_network_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_hub_virtual_network_connections_operations.py index 1e5dae4ac555..50f1895259f3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_hub_virtual_network_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_hub_virtual_network_connections_operations.py @@ -123,8 +123,8 @@ async def begin_create_or_update( :type hub_virtual_network_connection_parameters: ~azure.mgmt.network.v2020_07_01.models.HubVirtualNetworkConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either HubVirtualNetworkConnection or the result of cls(response) @@ -242,8 +242,8 @@ async def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_inbound_nat_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_inbound_nat_rules_operations.py index d5b102470d98..d609afe54cbb 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_inbound_nat_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_inbound_nat_rules_operations.py @@ -180,8 +180,8 @@ async def begin_delete( :type inbound_nat_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -379,8 +379,8 @@ async def begin_create_or_update( :type inbound_nat_rule_parameters: ~azure.mgmt.network.v2020_07_01.models.InboundNatRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either InboundNatRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_inbound_security_rule_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_inbound_security_rule_operations.py index a42ee15d23ce..4464d29db8d2 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_inbound_security_rule_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_inbound_security_rule_operations.py @@ -122,8 +122,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_07_01.models.InboundSecurityRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either InboundSecurityRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_ip_allocations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_ip_allocations_operations.py index 58da931cbc38..74f01648a043 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_ip_allocations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_ip_allocations_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type ip_allocation_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -288,8 +288,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_07_01.models.IpAllocation :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either IpAllocation or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_ip_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_ip_groups_operations.py index 9e1d3c5fb6e4..20f22a2b0505 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_ip_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_ip_groups_operations.py @@ -97,7 +97,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('IpGroup', pipeline_response) @@ -151,7 +151,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -183,8 +183,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_07_01.models.IpGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either IpGroup or the result of cls(response) @@ -293,7 +293,7 @@ async def update_groups( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('IpGroup', pipeline_response) @@ -341,7 +341,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -363,8 +363,8 @@ async def begin_delete( :type ip_groups_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -473,7 +473,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -540,7 +540,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_load_balancer_backend_address_pools_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_load_balancer_backend_address_pools_operations.py index 3c4886aeb5bf..25415393a4ad 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_load_balancer_backend_address_pools_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_load_balancer_backend_address_pools_operations.py @@ -259,8 +259,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_07_01.models.BackendAddressPool :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either BackendAddressPool or the result of cls(response) @@ -378,8 +378,8 @@ async def begin_delete( :type backend_address_pool_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_load_balancers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_load_balancers_operations.py index 1e6da7f58427..8a6082344d5c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_load_balancers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_load_balancers_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type load_balancer_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -288,8 +288,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_07_01.models.LoadBalancer :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LoadBalancer or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_local_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_local_network_gateways_operations.py index 0670bbb56c24..d49eb7e0c976 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_local_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_local_network_gateways_operations.py @@ -117,8 +117,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_07_01.models.LocalNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LocalNetworkGateway or the result of cls(response) @@ -287,8 +287,8 @@ async def begin_delete( :type local_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_nat_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_nat_gateways_operations.py index 35d8e182882a..457ba9cc5976 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_nat_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_nat_gateways_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type nat_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -289,8 +289,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_07_01.models.NatGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NatGateway or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_network_interface_tap_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_network_interface_tap_configurations_operations.py index f99848a5b418..fef267b01a6e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_network_interface_tap_configurations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_network_interface_tap_configurations_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type tap_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -300,8 +300,8 @@ async def begin_create_or_update( :type tap_configuration_parameters: ~azure.mgmt.network.v2020_07_01.models.NetworkInterfaceTapConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkInterfaceTapConfiguration or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_network_interfaces_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_network_interfaces_operations.py index 93321b66b350..63e519ca4c5a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_network_interfaces_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_network_interfaces_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -288,8 +288,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_07_01.models.NetworkInterface :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkInterface or the result of cls(response) @@ -607,8 +607,8 @@ async def begin_get_effective_route_table( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either EffectiveRouteListResult or the result of cls(response) @@ -723,8 +723,8 @@ async def begin_list_effective_network_security_groups( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either EffectiveNetworkSecurityGroupListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_network_management_client_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_network_management_client_operations.py index 8d56c17be16b..718ea17edaba 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_network_management_client_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_network_management_client_operations.py @@ -95,8 +95,8 @@ async def begin_put_bastion_shareable_link( :type bsl_request: ~azure.mgmt.network.v2020_07_01.models.BastionShareableLinkListRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns an iterator like instance of either BastionShareableLinkListResult or the result of cls(response) @@ -278,8 +278,8 @@ async def begin_delete_bastion_shareable_link( :type bsl_request: ~azure.mgmt.network.v2020_07_01.models.BastionShareableLinkListRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -477,8 +477,8 @@ async def begin_get_active_sessions( :type bastion_host_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns an iterator like instance of either BastionActiveSessionListResult or the result of cls(response) @@ -862,8 +862,8 @@ async def begin_generatevirtualwanvpnserverconfigurationvpnprofile( :type vpn_client_params: ~azure.mgmt.network.v2020_07_01.models.VirtualWanVpnProfileParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnProfileResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_network_profiles_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_network_profiles_operations.py index d7cbcb18b60c..ac77b1652873 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_network_profiles_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_network_profiles_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type network_profile_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_network_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_network_security_groups_operations.py index 46e60c0f22db..55371021d9e0 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_network_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_network_security_groups_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type network_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -289,8 +289,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_07_01.models.NetworkSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_network_virtual_appliances_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_network_virtual_appliances_operations.py index 387a35174536..1715dde424b1 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_network_virtual_appliances_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_network_virtual_appliances_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type network_virtual_appliance_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -354,8 +354,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_07_01.models.NetworkVirtualAppliance :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkVirtualAppliance or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_network_watchers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_network_watchers_operations.py index 8ba90ca5cd2d..c18ebd37b976 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_network_watchers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_network_watchers_operations.py @@ -99,7 +99,7 @@ async def create_or_update( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -162,7 +162,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('NetworkWatcher', pipeline_response) @@ -210,7 +210,7 @@ async def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -232,8 +232,8 @@ async def begin_delete( :type network_watcher_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -338,7 +338,7 @@ async def update_tags( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('NetworkWatcher', pipeline_response) @@ -409,7 +409,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -476,7 +476,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -543,7 +543,7 @@ async def get_topology( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('Topology', pipeline_response) @@ -597,7 +597,7 @@ async def _verify_ip_flow_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -629,8 +629,8 @@ async def begin_verify_ip_flow( :type parameters: ~azure.mgmt.network.v2020_07_01.models.VerificationIPFlowParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VerificationIPFlowResult or the result of cls(response) @@ -726,7 +726,7 @@ async def _get_next_hop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -758,8 +758,8 @@ async def begin_get_next_hop( :type parameters: ~azure.mgmt.network.v2020_07_01.models.NextHopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NextHopResult or the result of cls(response) @@ -855,7 +855,7 @@ async def _get_vm_security_rules_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -887,8 +887,8 @@ async def begin_get_vm_security_rules( :type parameters: ~azure.mgmt.network.v2020_07_01.models.SecurityGroupViewParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either SecurityGroupViewResult or the result of cls(response) @@ -984,7 +984,7 @@ async def _get_troubleshooting_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1016,8 +1016,8 @@ async def begin_get_troubleshooting( :type parameters: ~azure.mgmt.network.v2020_07_01.models.TroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1113,7 +1113,7 @@ async def _get_troubleshooting_result_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1145,8 +1145,8 @@ async def begin_get_troubleshooting_result( :type parameters: ~azure.mgmt.network.v2020_07_01.models.QueryTroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1242,7 +1242,7 @@ async def _set_flow_log_configuration_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1274,8 +1274,8 @@ async def begin_set_flow_log_configuration( :type parameters: ~azure.mgmt.network.v2020_07_01.models.FlowLogInformation :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1371,7 +1371,7 @@ async def _get_flow_log_status_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1404,8 +1404,8 @@ async def begin_get_flow_log_status( :type parameters: ~azure.mgmt.network.v2020_07_01.models.FlowLogStatusParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1501,7 +1501,7 @@ async def _check_connectivity_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1534,8 +1534,8 @@ async def begin_check_connectivity( :type parameters: ~azure.mgmt.network.v2020_07_01.models.ConnectivityParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectivityInformation or the result of cls(response) @@ -1631,7 +1631,7 @@ async def _get_azure_reachability_report_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1665,8 +1665,8 @@ async def begin_get_azure_reachability_report( :type parameters: ~azure.mgmt.network.v2020_07_01.models.AzureReachabilityReportParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AzureReachabilityReport or the result of cls(response) @@ -1762,7 +1762,7 @@ async def _list_available_providers_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1795,8 +1795,8 @@ async def begin_list_available_providers( :type parameters: ~azure.mgmt.network.v2020_07_01.models.AvailableProvidersListParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AvailableProvidersList or the result of cls(response) @@ -1892,7 +1892,7 @@ async def _get_network_configuration_diagnostic_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1928,8 +1928,8 @@ async def begin_get_network_configuration_diagnostic( :type parameters: ~azure.mgmt.network.v2020_07_01.models.NetworkConfigurationDiagnosticParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkConfigurationDiagnosticResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_p2_svpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_p2_svpn_gateways_operations.py index 95ed60e919d8..61f91eb13291 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_p2_svpn_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_p2_svpn_gateways_operations.py @@ -176,8 +176,8 @@ async def begin_create_or_update( :type p2_s_vpn_gateway_parameters: ~azure.mgmt.network.v2020_07_01.models.P2SVpnGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -303,8 +303,8 @@ async def begin_update_tags( :type p2_s_vpn_gateway_parameters: ~azure.mgmt.network.v2020_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -415,8 +415,8 @@ async def begin_delete( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -664,8 +664,8 @@ async def begin_reset( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -790,8 +790,8 @@ async def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2020_07_01.models.P2SVpnProfileParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnProfileResponse or the result of cls(response) @@ -908,8 +908,8 @@ async def begin_get_p2_s_vpn_connection_health( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -1034,8 +1034,8 @@ async def begin_get_p2_s_vpn_connection_health_detailed( :type request: ~azure.mgmt.network.v2020_07_01.models.P2SVpnConnectionHealthRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either P2SVpnConnectionHealth or the result of cls(response) @@ -1156,8 +1156,8 @@ async def begin_disconnect_p2_s_vpn_connections( :type request: ~azure.mgmt.network.v2020_07_01.models.P2SVpnConnectionRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_packet_captures_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_packet_captures_operations.py index 677479e0c56f..995bced91722 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_packet_captures_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_packet_captures_operations.py @@ -88,7 +88,7 @@ async def _create_initial( if response.status_code not in [201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PacketCaptureResult', pipeline_response) @@ -119,8 +119,8 @@ async def begin_create( :type parameters: ~azure.mgmt.network.v2020_07_01.models.PacketCapture :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PacketCaptureResult or the result of cls(response) @@ -227,7 +227,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PacketCaptureResult', pipeline_response) @@ -277,7 +277,7 @@ async def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -302,8 +302,8 @@ async def begin_delete( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -393,7 +393,7 @@ async def _stop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -418,8 +418,8 @@ async def begin_stop( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -509,7 +509,7 @@ async def _get_status_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -541,8 +541,8 @@ async def begin_get_status( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PacketCaptureQueryStatusResult or the result of cls(response) @@ -660,7 +660,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_private_dns_zone_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_private_dns_zone_groups_operations.py index edc6e35b3e2e..6a7b26edd08a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_private_dns_zone_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_private_dns_zone_groups_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type private_dns_zone_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -300,8 +300,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_07_01.models.PrivateDnsZoneGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PrivateDnsZoneGroup or the result of cls(response) @@ -420,7 +420,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_private_endpoints_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_private_endpoints_operations.py index fbe821db6a0e..ab598fd539fb 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_private_endpoints_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_private_endpoints_operations.py @@ -80,7 +80,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -102,8 +102,8 @@ async def begin_delete( :type private_endpoint_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -205,7 +205,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateEndpoint', pipeline_response) @@ -259,7 +259,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -291,8 +291,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_07_01.models.PrivateEndpoint :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PrivateEndpoint or the result of cls(response) @@ -405,7 +405,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -472,7 +472,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_private_link_services_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_private_link_services_operations.py index 029ac0962397..1b4560b1aabe 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_private_link_services_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_private_link_services_operations.py @@ -80,7 +80,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -102,8 +102,8 @@ async def begin_delete( :type service_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -205,7 +205,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateLinkService', pipeline_response) @@ -259,7 +259,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -291,8 +291,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_07_01.models.PrivateLinkService :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PrivateLinkService or the result of cls(response) @@ -405,7 +405,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -472,7 +472,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -541,7 +541,7 @@ async def get_private_endpoint_connection( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateEndpointConnection', pipeline_response) @@ -612,7 +612,7 @@ async def update_private_endpoint_connection( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateEndpointConnection', pipeline_response) @@ -662,7 +662,7 @@ async def _delete_private_endpoint_connection_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -687,8 +687,8 @@ async def begin_delete_private_endpoint_connection( :type pe_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -803,7 +803,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -881,8 +881,8 @@ async def begin_check_private_link_service_visibility( :type parameters: ~azure.mgmt.network.v2020_07_01.models.CheckPrivateLinkServiceVisibilityRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PrivateLinkServiceVisibility or the result of cls(response) @@ -1006,8 +1006,8 @@ async def begin_check_private_link_service_visibility_by_resource_group( :type parameters: ~azure.mgmt.network.v2020_07_01.models.CheckPrivateLinkServiceVisibilityRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PrivateLinkServiceVisibility or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_public_ip_addresses_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_public_ip_addresses_operations.py index 95a3a057a120..39a01848e4ab 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_public_ip_addresses_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_public_ip_addresses_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type public_ip_address_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -288,8 +288,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_07_01.models.PublicIPAddress :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PublicIPAddress or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_public_ip_prefixes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_public_ip_prefixes_operations.py index ba6db62429a6..72942cb77ec8 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_public_ip_prefixes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_public_ip_prefixes_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type public_ip_prefix_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -288,8 +288,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_07_01.models.PublicIPPrefix :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PublicIPPrefix or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_route_filter_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_route_filter_rules_operations.py index ba584cdcbb23..05750a9d5f71 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_route_filter_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_route_filter_rules_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -300,8 +300,8 @@ async def begin_create_or_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2020_07_01.models.RouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilterRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_route_filters_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_route_filters_operations.py index 327189705da4..413ee4162b9e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_route_filters_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_route_filters_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type route_filter_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -289,8 +289,8 @@ async def begin_create_or_update( :type route_filter_parameters: ~azure.mgmt.network.v2020_07_01.models.RouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilter or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_route_tables_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_route_tables_operations.py index 863562e3224d..213197c6b027 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_route_tables_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_route_tables_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -288,8 +288,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_07_01.models.RouteTable :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteTable or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_routes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_routes_operations.py index 469dadb81c90..5acb55e07206 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_routes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_routes_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type route_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -299,8 +299,8 @@ async def begin_create_or_update( :type route_parameters: ~azure.mgmt.network.v2020_07_01.models.Route :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Route or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_security_partner_providers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_security_partner_providers_operations.py index bb3f86498327..d0603c0cc1ca 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_security_partner_providers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_security_partner_providers_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type security_partner_provider_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -284,8 +284,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_07_01.models.SecurityPartnerProvider :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either SecurityPartnerProvider or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_security_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_security_rules_operations.py index 086d617bc5e7..7fb13927e5a6 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_security_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_security_rules_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type security_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -300,8 +300,8 @@ async def begin_create_or_update( :type security_rule_parameters: ~azure.mgmt.network.v2020_07_01.models.SecurityRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either SecurityRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_service_endpoint_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_service_endpoint_policies_operations.py index 0259df5ab33f..4c1c19228d39 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_service_endpoint_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_service_endpoint_policies_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type service_endpoint_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -289,8 +289,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_07_01.models.ServiceEndpointPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ServiceEndpointPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_service_endpoint_policy_definitions_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_service_endpoint_policy_definitions_operations.py index 5997936f47db..4f18ed2e06a0 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_service_endpoint_policy_definitions_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_service_endpoint_policy_definitions_operations.py @@ -107,8 +107,8 @@ async def begin_delete( :type service_endpoint_policy_definition_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -304,8 +304,8 @@ async def begin_create_or_update( :type service_endpoint_policy_definitions: ~azure.mgmt.network.v2020_07_01.models.ServiceEndpointPolicyDefinition :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ServiceEndpointPolicyDefinition or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_subnets_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_subnets_operations.py index 66d039aacf10..65915e4983f3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_subnets_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_subnets_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type subnet_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -304,8 +304,8 @@ async def begin_create_or_update( :type subnet_parameters: ~azure.mgmt.network.v2020_07_01.models.Subnet :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Subnet or the result of cls(response) @@ -433,8 +433,8 @@ async def begin_prepare_network_policies( :type prepare_network_policies_request_parameters: ~azure.mgmt.network.v2020_07_01.models.PrepareNetworkPoliciesRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -559,8 +559,8 @@ async def begin_unprepare_network_policies( :type unprepare_network_policies_request_parameters: ~azure.mgmt.network.v2020_07_01.models.UnprepareNetworkPoliciesRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_appliance_sites_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_appliance_sites_operations.py index 093d0521db14..801f35ec0db3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_appliance_sites_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_appliance_sites_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type site_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -300,8 +300,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_07_01.models.VirtualApplianceSite :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualApplianceSite or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_hub_bgp_connection_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_hub_bgp_connection_operations.py index 8604e7c73a93..a77103e7f16a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_hub_bgp_connection_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_hub_bgp_connection_operations.py @@ -184,8 +184,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_07_01.models.BgpConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either BgpConnection or the result of cls(response) @@ -303,8 +303,8 @@ async def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_hub_bgp_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_hub_bgp_connections_operations.py index b29c923aa28c..697d6b06e76e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_hub_bgp_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_hub_bgp_connections_operations.py @@ -185,8 +185,8 @@ async def begin_list_learned_routes( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PeerRouteList or the result of cls(response) @@ -308,8 +308,8 @@ async def begin_list_advertised_routes( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PeerRouteList or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_hub_ip_configuration_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_hub_ip_configuration_operations.py index f99ef89fd4df..f7b2a11edf83 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_hub_ip_configuration_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_hub_ip_configuration_operations.py @@ -185,8 +185,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_07_01.models.HubIpConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either HubIpConfiguration or the result of cls(response) @@ -304,8 +304,8 @@ async def begin_delete( :type ip_config_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_hub_route_table_v2_s_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_hub_route_table_v2_s_operations.py index 2f60055069e0..548946e7eb5c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_hub_route_table_v2_s_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_hub_route_table_v2_s_operations.py @@ -95,7 +95,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualHubRouteTableV2', pipeline_response) @@ -151,7 +151,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -188,8 +188,8 @@ async def begin_create_or_update( :type virtual_hub_route_table_v2_parameters: ~azure.mgmt.network.v2020_07_01.models.VirtualHubRouteTableV2 :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualHubRouteTableV2 or the result of cls(response) @@ -283,7 +283,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -308,8 +308,8 @@ async def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_hubs_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_hubs_operations.py index 3c417a8086c7..be4920ed7283 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_hubs_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_hubs_operations.py @@ -175,8 +175,8 @@ async def begin_create_or_update( :type virtual_hub_parameters: ~azure.mgmt.network.v2020_07_01.models.VirtualHub :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualHub or the result of cls(response) @@ -353,8 +353,8 @@ async def begin_delete( :type virtual_hub_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -610,8 +610,8 @@ async def begin_get_effective_virtual_hub_routes( :type effective_routes_parameters: ~azure.mgmt.network.v2020_07_01.models.EffectiveRoutesParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_network_gateway_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_network_gateway_connections_operations.py index dc20f0193961..d42e1761f7a0 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_network_gateway_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_network_gateway_connections_operations.py @@ -119,8 +119,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_07_01.models.VirtualNetworkGatewayConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -291,8 +291,8 @@ async def begin_delete( :type virtual_network_gateway_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -414,8 +414,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2020_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -545,8 +545,8 @@ async def begin_set_shared_key( :type parameters: ~azure.mgmt.network.v2020_07_01.models.ConnectionSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionSharedKey or the result of cls(response) @@ -806,8 +806,8 @@ async def begin_reset_shared_key( :type parameters: ~azure.mgmt.network.v2020_07_01.models.ConnectionResetSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionResetSharedKey or the result of cls(response) @@ -906,7 +906,7 @@ async def _start_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -938,8 +938,8 @@ async def begin_start_packet_capture( :type parameters: ~azure.mgmt.network.v2020_07_01.models.VpnPacketCaptureStartParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1035,7 +1035,7 @@ async def _stop_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -1067,8 +1067,8 @@ async def begin_stop_packet_capture( :type parameters: ~azure.mgmt.network.v2020_07_01.models.VpnPacketCaptureStopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_network_gateways_operations.py index 189e5e7db1f9..5fbf68a2c4bd 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_network_gateways_operations.py @@ -117,8 +117,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_07_01.models.VirtualNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -287,8 +287,8 @@ async def begin_delete( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -409,8 +409,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2020_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -677,8 +677,8 @@ async def begin_reset( :type gateway_vip: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -790,8 +790,8 @@ async def begin_reset_vpn_client_shared_key( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -914,8 +914,8 @@ async def begin_generatevpnclientpackage( :type parameters: ~azure.mgmt.network.v2020_07_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1042,8 +1042,8 @@ async def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2020_07_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1160,8 +1160,8 @@ async def begin_get_vpn_profile_package_url( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1282,8 +1282,8 @@ async def begin_get_bgp_peer_status( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either BgpPeerStatusListResult or the result of cls(response) @@ -1458,8 +1458,8 @@ async def begin_get_learned_routes( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1580,8 +1580,8 @@ async def begin_get_advertised_routes( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1708,8 +1708,8 @@ async def begin_set_vpnclient_ipsec_parameters( :type vpnclient_ipsec_params: ~azure.mgmt.network.v2020_07_01.models.VpnClientIPsecParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnClientIPsecParameters or the result of cls(response) @@ -1825,8 +1825,8 @@ async def begin_get_vpnclient_ipsec_parameters( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnClientIPsecParameters or the result of cls(response) @@ -1991,7 +1991,7 @@ async def _start_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -2022,8 +2022,8 @@ async def begin_start_packet_capture( :type parameters: ~azure.mgmt.network.v2020_07_01.models.VpnPacketCaptureStartParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -2119,7 +2119,7 @@ async def _stop_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -2150,8 +2150,8 @@ async def begin_stop_packet_capture( :type parameters: ~azure.mgmt.network.v2020_07_01.models.VpnPacketCaptureStopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -2268,8 +2268,8 @@ async def begin_get_vpnclient_connection_health( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnClientConnectionHealthDetailListResult or the result of cls(response) @@ -2388,8 +2388,8 @@ async def begin_disconnect_virtual_network_gateway_vpn_connections( :type request: ~azure.mgmt.network.v2020_07_01.models.P2SVpnConnectionRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_network_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_network_peerings_operations.py index 2b4560040449..dbc0ba24fc07 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_network_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_network_peerings_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type virtual_network_peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -300,8 +300,8 @@ async def begin_create_or_update( :type virtual_network_peering_parameters: ~azure.mgmt.network.v2020_07_01.models.VirtualNetworkPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_network_taps_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_network_taps_operations.py index 2766a7c054b2..e1dab82d36ae 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_network_taps_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_network_taps_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type tap_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -283,8 +283,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_07_01.models.VirtualNetworkTap :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkTap or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_networks_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_networks_operations.py index 67f80580fa1d..147336d3be25 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_networks_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_networks_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type virtual_network_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -288,8 +288,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_07_01.models.VirtualNetwork :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetwork or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_router_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_router_peerings_operations.py index a789e1e1a194..7c8f7410a611 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_router_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_router_peerings_operations.py @@ -82,7 +82,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -107,8 +107,8 @@ async def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -211,7 +211,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualRouterPeering', pipeline_response) @@ -267,7 +267,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -303,8 +303,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_07_01.models.VirtualRouterPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualRouterPeering or the result of cls(response) @@ -423,7 +423,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_routers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_routers_operations.py index 8546d239b926..8c9c785ee2d0 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_routers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_routers_operations.py @@ -80,7 +80,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -102,8 +102,8 @@ async def begin_delete( :type virtual_router_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -205,7 +205,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualRouter', pipeline_response) @@ -259,7 +259,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -291,8 +291,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_07_01.models.VirtualRouter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualRouter or the result of cls(response) @@ -405,7 +405,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -472,7 +472,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_wans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_wans_operations.py index f36c9b2addd1..490d22ebf23e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_wans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_virtual_wans_operations.py @@ -175,8 +175,8 @@ async def begin_create_or_update( :type wan_parameters: ~azure.mgmt.network.v2020_07_01.models.VirtualWAN :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualWAN or the result of cls(response) @@ -353,8 +353,8 @@ async def begin_delete( :type virtual_wan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_vpn_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_vpn_connections_operations.py index 7be50f51714f..58736061e7b1 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_vpn_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_vpn_connections_operations.py @@ -185,8 +185,8 @@ async def begin_create_or_update( :type vpn_connection_parameters: ~azure.mgmt.network.v2020_07_01.models.VpnConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnConnection or the result of cls(response) @@ -304,8 +304,8 @@ async def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -437,8 +437,8 @@ async def begin_start_packet_capture( :type parameters: ~azure.mgmt.network.v2020_07_01.models.VpnConnectionPacketCaptureStartParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -574,8 +574,8 @@ async def begin_stop_packet_capture( :type parameters: ~azure.mgmt.network.v2020_07_01.models.VpnConnectionPacketCaptureStopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_vpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_vpn_gateways_operations.py index 0c5911554089..81c635c891dd 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_vpn_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_vpn_gateways_operations.py @@ -176,8 +176,8 @@ async def begin_create_or_update( :type vpn_gateway_parameters: ~azure.mgmt.network.v2020_07_01.models.VpnGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnGateway or the result of cls(response) @@ -302,8 +302,8 @@ async def begin_update_tags( :type vpn_gateway_parameters: ~azure.mgmt.network.v2020_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnGateway or the result of cls(response) @@ -414,8 +414,8 @@ async def begin_delete( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -527,8 +527,8 @@ async def begin_reset( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnGateway or the result of cls(response) @@ -656,8 +656,8 @@ async def begin_start_packet_capture( :type parameters: ~azure.mgmt.network.v2020_07_01.models.VpnGatewayPacketCaptureStartParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -786,8 +786,8 @@ async def begin_stop_packet_capture( :type parameters: ~azure.mgmt.network.v2020_07_01.models.VpnGatewayPacketCaptureStopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py index eb5a0056dd3a..853b483da29e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py @@ -106,8 +106,8 @@ async def begin_list( :type virtual_wan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnServerConfigurationsResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_vpn_server_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_vpn_server_configurations_operations.py index 8f4cd2deaf4b..66e10b807d4b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_vpn_server_configurations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_vpn_server_configurations_operations.py @@ -178,8 +178,8 @@ async def begin_create_or_update( :type vpn_server_configuration_parameters: ~azure.mgmt.network.v2020_07_01.models.VpnServerConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnServerConfiguration or the result of cls(response) @@ -357,8 +357,8 @@ async def begin_delete( :type vpn_server_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_vpn_sites_configuration_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_vpn_sites_configuration_operations.py index 2bfacfa0a5f3..9929e82d8277 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_vpn_sites_configuration_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_vpn_sites_configuration_operations.py @@ -110,8 +110,8 @@ async def begin_download( :type request: ~azure.mgmt.network.v2020_07_01.models.GetVpnSitesConfigurationRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_vpn_sites_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_vpn_sites_operations.py index 642ff2974ab6..068d095e026a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_vpn_sites_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_vpn_sites_operations.py @@ -175,8 +175,8 @@ async def begin_create_or_update( :type vpn_site_parameters: ~azure.mgmt.network.v2020_07_01.models.VpnSite :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnSite or the result of cls(response) @@ -353,8 +353,8 @@ async def begin_delete( :type vpn_site_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_web_application_firewall_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_web_application_firewall_policies_operations.py index a8a9cef83f0b..7d2bd30320be 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_web_application_firewall_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_web_application_firewall_policies_operations.py @@ -365,8 +365,8 @@ async def begin_delete( :type policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/models/_models.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/models/_models.py index c9738dc635fa..e3c520abaffe 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/models/_models.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/models/_models.py @@ -129,68 +129,64 @@ class ApplicationGateway(Resource): :vartype operational_state: str or ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayOperationalState :param gateway_ip_configurations: Subnets of the application gateway resource. For default - limits, see `Application Gateway limits `_. + limits, see `Application Gateway limits + `_. :type gateway_ip_configurations: list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayIPConfiguration] :param authentication_certificates: Authentication certificates of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type authentication_certificates: list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayAuthenticationCertificate] :param trusted_root_certificates: Trusted Root certificates of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type trusted_root_certificates: list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayTrustedRootCertificate] :param trusted_client_certificates: Trusted client certificates of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type trusted_client_certificates: list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayTrustedClientCertificate] :param ssl_certificates: SSL certificates of the application gateway resource. For default - limits, see `Application Gateway limits `_. + limits, see `Application Gateway limits + `_. :type ssl_certificates: list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewaySslCertificate] :param frontend_ip_configurations: Frontend IP addresses of the application gateway resource. - For default limits, see `Application Gateway limits `_. + For default limits, see `Application Gateway limits + `_. :type frontend_ip_configurations: list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayFrontendIPConfiguration] :param frontend_ports: Frontend ports of the application gateway resource. For default limits, - see `Application Gateway limits `_. + see `Application Gateway limits + `_. :type frontend_ports: list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayFrontendPort] :param probes: Probes of the application gateway resource. :type probes: list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayProbe] :param backend_address_pools: Backend address pool of the application gateway resource. For - default limits, see `Application Gateway limits `_. + default limits, see `Application Gateway limits + `_. :type backend_address_pools: list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayBackendAddressPool] :param backend_http_settings_collection: Backend http settings of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type backend_http_settings_collection: list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayBackendHttpSettings] :param http_listeners: Http listeners of the application gateway resource. For default limits, - see `Application Gateway limits `_. + see `Application Gateway limits + `_. :type http_listeners: list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayHttpListener] :param ssl_profiles: SSL profiles of the application gateway resource. For default limits, see - `Application Gateway limits `_. + `Application Gateway limits + `_. :type ssl_profiles: list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewaySslProfile] :param url_path_maps: URL path map of the application gateway resource. For default limits, see - `Application Gateway limits `_. + `Application Gateway limits + `_. :type url_path_maps: list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayUrlPathMap] :param request_routing_rules: Request routing rules of the application gateway resource. :type request_routing_rules: @@ -199,8 +195,8 @@ class ApplicationGateway(Resource): :type rewrite_rule_sets: list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayRewriteRuleSet] :param redirect_configurations: Redirect configurations of the application gateway resource. - For default limits, see `Application Gateway limits `_. + For default limits, see `Application Gateway limits + `_. :type redirect_configurations: list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayRedirectConfiguration] :param web_application_firewall_configuration: Web application firewall configuration. @@ -2112,7 +2108,7 @@ class ApplicationGatewayRewriteRuleCondition(msrest.serialization.Model): :param pattern: The pattern, either fixed string or regular expression, that evaluates the truthfulness of the condition. :type pattern: str - :param ignore_case: Setting this paramter to truth value with force the pattern to do a case + :param ignore_case: Setting this parameter to truth value with force the pattern to do a case in-sensitive comparison. :type ignore_case: bool :param negate: Setting this value as truth will force to check the negation of the condition @@ -4343,7 +4339,7 @@ class BastionActiveSession(msrest.serialization.Model): :ivar session_id: A unique id for the session. :vartype session_id: str :ivar start_time: The time when the session started. - :vartype start_time: object + :vartype start_time: str :ivar target_subscription_id: The subscription id for the target virtual machine. :vartype target_subscription_id: str :ivar resource_type: The type of the resource. @@ -4381,7 +4377,7 @@ class BastionActiveSession(msrest.serialization.Model): _attribute_map = { 'session_id': {'key': 'sessionId', 'type': 'str'}, - 'start_time': {'key': 'startTime', 'type': 'object'}, + 'start_time': {'key': 'startTime', 'type': 'str'}, 'target_subscription_id': {'key': 'targetSubscriptionId', 'type': 'str'}, 'resource_type': {'key': 'resourceType', 'type': 'str'}, 'target_host_name': {'key': 'targetHostName', 'type': 'str'}, @@ -4638,7 +4634,7 @@ class BastionShareableLink(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param vm: Required. Reference of the virtual machine resource. - :type vm: ~azure.mgmt.network.v2020_07_01.models.Resource + :type vm: ~azure.mgmt.network.v2020_07_01.models.VM :ivar bsl: The unique Bastion Shareable Link to the virtual machine. :vartype bsl: str :ivar created_at: The time when the link was created. @@ -4656,7 +4652,7 @@ class BastionShareableLink(msrest.serialization.Model): } _attribute_map = { - 'vm': {'key': 'vm', 'type': 'Resource'}, + 'vm': {'key': 'vm', 'type': 'VM'}, 'bsl': {'key': 'bsl', 'type': 'str'}, 'created_at': {'key': 'createdAt', 'type': 'str'}, 'message': {'key': 'message', 'type': 'str'}, @@ -6360,7 +6356,7 @@ class ContainerNetworkInterface(SubResource): ~azure.mgmt.network.v2020_07_01.models.ContainerNetworkInterfaceConfiguration :param container: Reference to the container to which this container network interface is attached. - :type container: ~azure.mgmt.network.v2020_07_01.models.SubResource + :type container: ~azure.mgmt.network.v2020_07_01.models.Container :ivar ip_configurations: Reference to the ip configuration on this container nic. :vartype ip_configurations: list[~azure.mgmt.network.v2020_07_01.models.ContainerNetworkInterfaceIpConfiguration] @@ -6383,7 +6379,7 @@ class ContainerNetworkInterface(SubResource): 'type': {'key': 'type', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, 'container_network_interface_configuration': {'key': 'properties.containerNetworkInterfaceConfiguration', 'type': 'ContainerNetworkInterfaceConfiguration'}, - 'container': {'key': 'properties.container', 'type': 'SubResource'}, + 'container': {'key': 'properties.container', 'type': 'Container'}, 'ip_configurations': {'key': 'properties.ipConfigurations', 'type': '[ContainerNetworkInterfaceIpConfiguration]'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, } @@ -15297,8 +15293,8 @@ class PacketCaptureStorageLocation(msrest.serialization.Model): :param storage_id: The ID of the storage account to save the packet capture session. Required if no local file path is provided. :type storage_id: str - :param storage_path: The URI of the storage path to save the packet capture. Must be a well- - formed URI describing the location to save the packet capture. + :param storage_path: The URI of the storage path to save the packet capture. Must be a + well-formed URI describing the location to save the packet capture. :type storage_path: str :param file_path: A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no @@ -16012,9 +16008,10 @@ class PrivateLinkService(Resource): :vartype private_endpoint_connections: list[~azure.mgmt.network.v2020_07_01.models.PrivateEndpointConnection] :param visibility: The visibility list of the private link service. - :type visibility: ~azure.mgmt.network.v2020_07_01.models.ResourceSet + :type visibility: ~azure.mgmt.network.v2020_07_01.models.PrivateLinkServicePropertiesVisibility :param auto_approval: The auto-approval list of the private link service. - :type auto_approval: ~azure.mgmt.network.v2020_07_01.models.ResourceSet + :type auto_approval: + ~azure.mgmt.network.v2020_07_01.models.PrivateLinkServicePropertiesAutoApproval :param fqdns: The list of Fqdn. :type fqdns: list[str] :ivar alias: The alias of the private link service. @@ -16046,8 +16043,8 @@ class PrivateLinkService(Resource): 'network_interfaces': {'key': 'properties.networkInterfaces', 'type': '[NetworkInterface]'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'private_endpoint_connections': {'key': 'properties.privateEndpointConnections', 'type': '[PrivateEndpointConnection]'}, - 'visibility': {'key': 'properties.visibility', 'type': 'ResourceSet'}, - 'auto_approval': {'key': 'properties.autoApproval', 'type': 'ResourceSet'}, + 'visibility': {'key': 'properties.visibility', 'type': 'PrivateLinkServicePropertiesVisibility'}, + 'auto_approval': {'key': 'properties.autoApproval', 'type': 'PrivateLinkServicePropertiesAutoApproval'}, 'fqdns': {'key': 'properties.fqdns', 'type': '[str]'}, 'alias': {'key': 'properties.alias', 'type': 'str'}, 'enable_proxy_protocol': {'key': 'properties.enableProxyProtocol', 'type': 'bool'}, @@ -19678,6 +19675,8 @@ class VirtualNetworkGateway(Resource): :type location: str :param tags: A set of tags. Resource tags. :type tags: dict[str, str] + :param extended_location: The extended location of type local virtual network gateway. + :type extended_location: ~azure.mgmt.network.v2020_07_01.models.ExtendedLocation :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str :param ip_configurations: IP configurations for virtual network gateway. @@ -19725,11 +19724,9 @@ class VirtualNetworkGateway(Resource): :ivar inbound_dns_forwarding_endpoint: The IP address allocated by the gateway to which dns requests can be sent. :vartype inbound_dns_forwarding_endpoint: str - :param virtual_network_extended_location_resource_id: MAS FIJI customer vnet resource id. - VirtualNetworkGateway of type local gateway is associated with the customer vnet. - :type virtual_network_extended_location_resource_id: str - :param extended_location: The extended location of type local virtual network gateway. - :type extended_location: ~azure.mgmt.network.v2020_07_01.models.ExtendedLocation + :param v_net_extended_location_resource_id: Customer vnet resource id. VirtualNetworkGateway of + type local gateway is associated with the customer vnet. + :type v_net_extended_location_resource_id: str """ _validation = { @@ -19747,6 +19744,7 @@ class VirtualNetworkGateway(Resource): 'type': {'key': 'type', 'type': 'str'}, 'location': {'key': 'location', 'type': 'str'}, 'tags': {'key': 'tags', 'type': '{str}'}, + 'extended_location': {'key': 'extendedLocation', 'type': 'ExtendedLocation'}, 'etag': {'key': 'etag', 'type': 'str'}, 'ip_configurations': {'key': 'properties.ipConfigurations', 'type': '[VirtualNetworkGatewayIPConfiguration]'}, 'gateway_type': {'key': 'properties.gatewayType', 'type': 'str'}, @@ -19764,8 +19762,7 @@ class VirtualNetworkGateway(Resource): 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'enable_dns_forwarding': {'key': 'properties.enableDnsForwarding', 'type': 'bool'}, 'inbound_dns_forwarding_endpoint': {'key': 'properties.inboundDnsForwardingEndpoint', 'type': 'str'}, - 'virtual_network_extended_location_resource_id': {'key': 'properties.virtualNetworkExtendedLocationResourceId', 'type': 'str'}, - 'extended_location': {'key': 'properties.extendedLocation', 'type': 'ExtendedLocation'}, + 'v_net_extended_location_resource_id': {'key': 'properties.vNetExtendedLocationResourceId', 'type': 'str'}, } def __init__( @@ -19773,6 +19770,7 @@ def __init__( **kwargs ): super(VirtualNetworkGateway, self).__init__(**kwargs) + self.extended_location = kwargs.get('extended_location', None) self.etag = None self.ip_configurations = kwargs.get('ip_configurations', None) self.gateway_type = kwargs.get('gateway_type', None) @@ -19790,8 +19788,7 @@ def __init__( self.provisioning_state = None self.enable_dns_forwarding = kwargs.get('enable_dns_forwarding', None) self.inbound_dns_forwarding_endpoint = None - self.virtual_network_extended_location_resource_id = kwargs.get('virtual_network_extended_location_resource_id', None) - self.extended_location = kwargs.get('extended_location', None) + self.v_net_extended_location_resource_id = kwargs.get('v_net_extended_location_resource_id', None) class VirtualNetworkGatewayConnection(Resource): @@ -20370,8 +20367,8 @@ class VirtualNetworkPeering(SubResource): :type use_remote_gateways: bool :param remote_virtual_network: The reference to the remote virtual network. The remote virtual network can be in the same or different region (preview). See here to register for the preview - and learn more (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create- - peering). + and learn more + (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering). :type remote_virtual_network: ~azure.mgmt.network.v2020_07_01.models.SubResource :param remote_address_space: The reference to the remote virtual network address space. :type remote_address_space: ~azure.mgmt.network.v2020_07_01.models.AddressSpace diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/models/_models_py3.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/models/_models_py3.py index cf565f74f602..21327c39e746 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/models/_models_py3.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/models/_models_py3.py @@ -144,68 +144,64 @@ class ApplicationGateway(Resource): :vartype operational_state: str or ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayOperationalState :param gateway_ip_configurations: Subnets of the application gateway resource. For default - limits, see `Application Gateway limits `_. + limits, see `Application Gateway limits + `_. :type gateway_ip_configurations: list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayIPConfiguration] :param authentication_certificates: Authentication certificates of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type authentication_certificates: list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayAuthenticationCertificate] :param trusted_root_certificates: Trusted Root certificates of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type trusted_root_certificates: list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayTrustedRootCertificate] :param trusted_client_certificates: Trusted client certificates of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type trusted_client_certificates: list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayTrustedClientCertificate] :param ssl_certificates: SSL certificates of the application gateway resource. For default - limits, see `Application Gateway limits `_. + limits, see `Application Gateway limits + `_. :type ssl_certificates: list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewaySslCertificate] :param frontend_ip_configurations: Frontend IP addresses of the application gateway resource. - For default limits, see `Application Gateway limits `_. + For default limits, see `Application Gateway limits + `_. :type frontend_ip_configurations: list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayFrontendIPConfiguration] :param frontend_ports: Frontend ports of the application gateway resource. For default limits, - see `Application Gateway limits `_. + see `Application Gateway limits + `_. :type frontend_ports: list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayFrontendPort] :param probes: Probes of the application gateway resource. :type probes: list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayProbe] :param backend_address_pools: Backend address pool of the application gateway resource. For - default limits, see `Application Gateway limits `_. + default limits, see `Application Gateway limits + `_. :type backend_address_pools: list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayBackendAddressPool] :param backend_http_settings_collection: Backend http settings of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type backend_http_settings_collection: list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayBackendHttpSettings] :param http_listeners: Http listeners of the application gateway resource. For default limits, - see `Application Gateway limits `_. + see `Application Gateway limits + `_. :type http_listeners: list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayHttpListener] :param ssl_profiles: SSL profiles of the application gateway resource. For default limits, see - `Application Gateway limits `_. + `Application Gateway limits + `_. :type ssl_profiles: list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewaySslProfile] :param url_path_maps: URL path map of the application gateway resource. For default limits, see - `Application Gateway limits `_. + `Application Gateway limits + `_. :type url_path_maps: list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayUrlPathMap] :param request_routing_rules: Request routing rules of the application gateway resource. :type request_routing_rules: @@ -214,8 +210,8 @@ class ApplicationGateway(Resource): :type rewrite_rule_sets: list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayRewriteRuleSet] :param redirect_configurations: Redirect configurations of the application gateway resource. - For default limits, see `Application Gateway limits `_. + For default limits, see `Application Gateway limits + `_. :type redirect_configurations: list[~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayRedirectConfiguration] :param web_application_firewall_configuration: Web application firewall configuration. @@ -2374,7 +2370,7 @@ class ApplicationGatewayRewriteRuleCondition(msrest.serialization.Model): :param pattern: The pattern, either fixed string or regular expression, that evaluates the truthfulness of the condition. :type pattern: str - :param ignore_case: Setting this paramter to truth value with force the pattern to do a case + :param ignore_case: Setting this parameter to truth value with force the pattern to do a case in-sensitive comparison. :type ignore_case: bool :param negate: Setting this value as truth will force to check the negation of the condition @@ -4869,7 +4865,7 @@ class BastionActiveSession(msrest.serialization.Model): :ivar session_id: A unique id for the session. :vartype session_id: str :ivar start_time: The time when the session started. - :vartype start_time: object + :vartype start_time: str :ivar target_subscription_id: The subscription id for the target virtual machine. :vartype target_subscription_id: str :ivar resource_type: The type of the resource. @@ -4907,7 +4903,7 @@ class BastionActiveSession(msrest.serialization.Model): _attribute_map = { 'session_id': {'key': 'sessionId', 'type': 'str'}, - 'start_time': {'key': 'startTime', 'type': 'object'}, + 'start_time': {'key': 'startTime', 'type': 'str'}, 'target_subscription_id': {'key': 'targetSubscriptionId', 'type': 'str'}, 'resource_type': {'key': 'resourceType', 'type': 'str'}, 'target_host_name': {'key': 'targetHostName', 'type': 'str'}, @@ -5185,7 +5181,7 @@ class BastionShareableLink(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param vm: Required. Reference of the virtual machine resource. - :type vm: ~azure.mgmt.network.v2020_07_01.models.Resource + :type vm: ~azure.mgmt.network.v2020_07_01.models.VM :ivar bsl: The unique Bastion Shareable Link to the virtual machine. :vartype bsl: str :ivar created_at: The time when the link was created. @@ -5203,7 +5199,7 @@ class BastionShareableLink(msrest.serialization.Model): } _attribute_map = { - 'vm': {'key': 'vm', 'type': 'Resource'}, + 'vm': {'key': 'vm', 'type': 'VM'}, 'bsl': {'key': 'bsl', 'type': 'str'}, 'created_at': {'key': 'createdAt', 'type': 'str'}, 'message': {'key': 'message', 'type': 'str'}, @@ -5212,7 +5208,7 @@ class BastionShareableLink(msrest.serialization.Model): def __init__( self, *, - vm: "Resource", + vm: "VM", **kwargs ): super(BastionShareableLink, self).__init__(**kwargs) @@ -7094,7 +7090,7 @@ class ContainerNetworkInterface(SubResource): ~azure.mgmt.network.v2020_07_01.models.ContainerNetworkInterfaceConfiguration :param container: Reference to the container to which this container network interface is attached. - :type container: ~azure.mgmt.network.v2020_07_01.models.SubResource + :type container: ~azure.mgmt.network.v2020_07_01.models.Container :ivar ip_configurations: Reference to the ip configuration on this container nic. :vartype ip_configurations: list[~azure.mgmt.network.v2020_07_01.models.ContainerNetworkInterfaceIpConfiguration] @@ -7117,7 +7113,7 @@ class ContainerNetworkInterface(SubResource): 'type': {'key': 'type', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, 'container_network_interface_configuration': {'key': 'properties.containerNetworkInterfaceConfiguration', 'type': 'ContainerNetworkInterfaceConfiguration'}, - 'container': {'key': 'properties.container', 'type': 'SubResource'}, + 'container': {'key': 'properties.container', 'type': 'Container'}, 'ip_configurations': {'key': 'properties.ipConfigurations', 'type': '[ContainerNetworkInterfaceIpConfiguration]'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, } @@ -7127,7 +7123,7 @@ def __init__( *, id: Optional[str] = None, name: Optional[str] = None, - container: Optional["SubResource"] = None, + container: Optional["Container"] = None, **kwargs ): super(ContainerNetworkInterface, self).__init__(id=id, **kwargs) @@ -17030,8 +17026,8 @@ class PacketCaptureStorageLocation(msrest.serialization.Model): :param storage_id: The ID of the storage account to save the packet capture session. Required if no local file path is provided. :type storage_id: str - :param storage_path: The URI of the storage path to save the packet capture. Must be a well- - formed URI describing the location to save the packet capture. + :param storage_path: The URI of the storage path to save the packet capture. Must be a + well-formed URI describing the location to save the packet capture. :type storage_path: str :param file_path: A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no @@ -17805,9 +17801,10 @@ class PrivateLinkService(Resource): :vartype private_endpoint_connections: list[~azure.mgmt.network.v2020_07_01.models.PrivateEndpointConnection] :param visibility: The visibility list of the private link service. - :type visibility: ~azure.mgmt.network.v2020_07_01.models.ResourceSet + :type visibility: ~azure.mgmt.network.v2020_07_01.models.PrivateLinkServicePropertiesVisibility :param auto_approval: The auto-approval list of the private link service. - :type auto_approval: ~azure.mgmt.network.v2020_07_01.models.ResourceSet + :type auto_approval: + ~azure.mgmt.network.v2020_07_01.models.PrivateLinkServicePropertiesAutoApproval :param fqdns: The list of Fqdn. :type fqdns: list[str] :ivar alias: The alias of the private link service. @@ -17839,8 +17836,8 @@ class PrivateLinkService(Resource): 'network_interfaces': {'key': 'properties.networkInterfaces', 'type': '[NetworkInterface]'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'private_endpoint_connections': {'key': 'properties.privateEndpointConnections', 'type': '[PrivateEndpointConnection]'}, - 'visibility': {'key': 'properties.visibility', 'type': 'ResourceSet'}, - 'auto_approval': {'key': 'properties.autoApproval', 'type': 'ResourceSet'}, + 'visibility': {'key': 'properties.visibility', 'type': 'PrivateLinkServicePropertiesVisibility'}, + 'auto_approval': {'key': 'properties.autoApproval', 'type': 'PrivateLinkServicePropertiesAutoApproval'}, 'fqdns': {'key': 'properties.fqdns', 'type': '[str]'}, 'alias': {'key': 'properties.alias', 'type': 'str'}, 'enable_proxy_protocol': {'key': 'properties.enableProxyProtocol', 'type': 'bool'}, @@ -17854,8 +17851,8 @@ def __init__( tags: Optional[Dict[str, str]] = None, load_balancer_frontend_ip_configurations: Optional[List["FrontendIPConfiguration"]] = None, ip_configurations: Optional[List["PrivateLinkServiceIpConfiguration"]] = None, - visibility: Optional["ResourceSet"] = None, - auto_approval: Optional["ResourceSet"] = None, + visibility: Optional["PrivateLinkServicePropertiesVisibility"] = None, + auto_approval: Optional["PrivateLinkServicePropertiesAutoApproval"] = None, fqdns: Optional[List[str]] = None, enable_proxy_protocol: Optional[bool] = None, **kwargs @@ -21883,6 +21880,8 @@ class VirtualNetworkGateway(Resource): :type location: str :param tags: A set of tags. Resource tags. :type tags: dict[str, str] + :param extended_location: The extended location of type local virtual network gateway. + :type extended_location: ~azure.mgmt.network.v2020_07_01.models.ExtendedLocation :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str :param ip_configurations: IP configurations for virtual network gateway. @@ -21930,11 +21929,9 @@ class VirtualNetworkGateway(Resource): :ivar inbound_dns_forwarding_endpoint: The IP address allocated by the gateway to which dns requests can be sent. :vartype inbound_dns_forwarding_endpoint: str - :param virtual_network_extended_location_resource_id: MAS FIJI customer vnet resource id. - VirtualNetworkGateway of type local gateway is associated with the customer vnet. - :type virtual_network_extended_location_resource_id: str - :param extended_location: The extended location of type local virtual network gateway. - :type extended_location: ~azure.mgmt.network.v2020_07_01.models.ExtendedLocation + :param v_net_extended_location_resource_id: Customer vnet resource id. VirtualNetworkGateway of + type local gateway is associated with the customer vnet. + :type v_net_extended_location_resource_id: str """ _validation = { @@ -21952,6 +21949,7 @@ class VirtualNetworkGateway(Resource): 'type': {'key': 'type', 'type': 'str'}, 'location': {'key': 'location', 'type': 'str'}, 'tags': {'key': 'tags', 'type': '{str}'}, + 'extended_location': {'key': 'extendedLocation', 'type': 'ExtendedLocation'}, 'etag': {'key': 'etag', 'type': 'str'}, 'ip_configurations': {'key': 'properties.ipConfigurations', 'type': '[VirtualNetworkGatewayIPConfiguration]'}, 'gateway_type': {'key': 'properties.gatewayType', 'type': 'str'}, @@ -21969,8 +21967,7 @@ class VirtualNetworkGateway(Resource): 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'enable_dns_forwarding': {'key': 'properties.enableDnsForwarding', 'type': 'bool'}, 'inbound_dns_forwarding_endpoint': {'key': 'properties.inboundDnsForwardingEndpoint', 'type': 'str'}, - 'virtual_network_extended_location_resource_id': {'key': 'properties.virtualNetworkExtendedLocationResourceId', 'type': 'str'}, - 'extended_location': {'key': 'properties.extendedLocation', 'type': 'ExtendedLocation'}, + 'v_net_extended_location_resource_id': {'key': 'properties.vNetExtendedLocationResourceId', 'type': 'str'}, } def __init__( @@ -21979,6 +21976,7 @@ def __init__( id: Optional[str] = None, location: Optional[str] = None, tags: Optional[Dict[str, str]] = None, + extended_location: Optional["ExtendedLocation"] = None, ip_configurations: Optional[List["VirtualNetworkGatewayIPConfiguration"]] = None, gateway_type: Optional[Union[str, "VirtualNetworkGatewayType"]] = None, vpn_type: Optional[Union[str, "VpnType"]] = None, @@ -21992,11 +21990,11 @@ def __init__( bgp_settings: Optional["BgpSettings"] = None, custom_routes: Optional["AddressSpace"] = None, enable_dns_forwarding: Optional[bool] = None, - virtual_network_extended_location_resource_id: Optional[str] = None, - extended_location: Optional["ExtendedLocation"] = None, + v_net_extended_location_resource_id: Optional[str] = None, **kwargs ): super(VirtualNetworkGateway, self).__init__(id=id, location=location, tags=tags, **kwargs) + self.extended_location = extended_location self.etag = None self.ip_configurations = ip_configurations self.gateway_type = gateway_type @@ -22014,8 +22012,7 @@ def __init__( self.provisioning_state = None self.enable_dns_forwarding = enable_dns_forwarding self.inbound_dns_forwarding_endpoint = None - self.virtual_network_extended_location_resource_id = virtual_network_extended_location_resource_id - self.extended_location = extended_location + self.v_net_extended_location_resource_id = v_net_extended_location_resource_id class VirtualNetworkGatewayConnection(Resource): @@ -22654,8 +22651,8 @@ class VirtualNetworkPeering(SubResource): :type use_remote_gateways: bool :param remote_virtual_network: The reference to the remote virtual network. The remote virtual network can be in the same or different region (preview). See here to register for the preview - and learn more (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create- - peering). + and learn more + (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering). :type remote_virtual_network: ~azure.mgmt.network.v2020_07_01.models.SubResource :param remote_address_space: The reference to the remote virtual network address space. :type remote_address_space: ~azure.mgmt.network.v2020_07_01.models.AddressSpace diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_application_gateway_private_endpoint_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_application_gateway_private_endpoint_connections_operations.py index 07d63341192f..286fc70a764e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_application_gateway_private_endpoint_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_application_gateway_private_endpoint_connections_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -244,8 +244,8 @@ def begin_update( :type parameters: ~azure.mgmt.network.v2020_07_01.models.ApplicationGatewayPrivateEndpointConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGatewayPrivateEndpointConnection or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_application_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_application_gateways_operations.py index 9c016e15873b..b4df687d5c63 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_application_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_application_gateways_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -292,8 +292,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_07_01.models.ApplicationGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGateway or the result of cls(response) @@ -611,8 +611,8 @@ def begin_start( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -721,8 +721,8 @@ def begin_stop( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -842,8 +842,8 @@ def begin_backend_health( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGatewayBackendHealth or the result of cls(response) @@ -977,8 +977,8 @@ def begin_backend_health_on_demand( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGatewayBackendHealthOnDemand or the result of cls(response) @@ -1073,7 +1073,7 @@ def list_available_server_variables( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) @@ -1125,7 +1125,7 @@ def list_available_request_headers( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) @@ -1177,7 +1177,7 @@ def list_available_response_headers( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_application_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_application_security_groups_operations.py index c0b6b115abb9..dcd5bd0347e2 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_application_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_application_security_groups_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type application_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -293,8 +293,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_07_01.models.ApplicationSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_azure_firewalls_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_azure_firewalls_operations.py index ff0abeec5e59..9da20ae066ad 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_azure_firewalls_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_azure_firewalls_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type azure_firewall_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -292,8 +292,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_07_01.models.AzureFirewall :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AzureFirewall or the result of cls(response) @@ -420,8 +420,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2020_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AzureFirewall or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_bastion_hosts_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_bastion_hosts_operations.py index a1948cc226c2..3459412d4f94 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_bastion_hosts_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_bastion_hosts_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type bastion_host_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -292,8 +292,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_07_01.models.BastionHost :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either BastionHost or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_connection_monitors_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_connection_monitors_operations.py index 6d9f93a2155e..93e532a027f1 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_connection_monitors_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_connection_monitors_operations.py @@ -96,7 +96,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -135,8 +135,8 @@ def begin_create_or_update( :type migrate: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionMonitorResult or the result of cls(response) @@ -245,7 +245,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('ConnectionMonitorResult', pipeline_response) @@ -296,7 +296,7 @@ def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -322,8 +322,8 @@ def begin_delete( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -435,7 +435,7 @@ def update_tags( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('ConnectionMonitorResult', pipeline_response) @@ -486,7 +486,7 @@ def _stop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -512,8 +512,8 @@ def begin_stop( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -604,7 +604,7 @@ def _start_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -630,8 +630,8 @@ def begin_start( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -722,7 +722,7 @@ def _query_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -755,8 +755,8 @@ def begin_query( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionMonitorQueryResult or the result of cls(response) @@ -875,7 +875,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_custom_ip_prefixes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_custom_ip_prefixes_operations.py index 4f71e536f641..a7b0031ff734 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_custom_ip_prefixes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_custom_ip_prefixes_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type custom_ip_prefix_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_07_01.models.CustomIpPrefix :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either CustomIpPrefix or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_ddos_custom_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_ddos_custom_policies_operations.py index b4d1bd147070..e1c260fda882 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_ddos_custom_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_ddos_custom_policies_operations.py @@ -106,8 +106,8 @@ def begin_delete( :type ddos_custom_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -291,8 +291,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_07_01.models.DdosCustomPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either DdosCustomPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_ddos_protection_plans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_ddos_protection_plans_operations.py index 58a3966a4779..ed5807887c4e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_ddos_protection_plans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_ddos_protection_plans_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type ddos_protection_plan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -292,8 +292,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_07_01.models.DdosProtectionPlan :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either DdosProtectionPlan or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_dscp_configuration_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_dscp_configuration_operations.py index 8636f98198e0..8edc9fcf7eb4 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_dscp_configuration_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_dscp_configuration_operations.py @@ -123,8 +123,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_07_01.models.DscpConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either DscpConfiguration or the result of cls(response) @@ -237,8 +237,8 @@ def begin_delete( :type dscp_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_express_route_circuit_authorizations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_express_route_circuit_authorizations_operations.py index dc2dffbdfd6b..a377753047bb 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_express_route_circuit_authorizations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_express_route_circuit_authorizations_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type authorization_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -309,8 +309,8 @@ def begin_create_or_update( :type authorization_parameters: ~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitAuthorization :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitAuthorization or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_express_route_circuit_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_express_route_circuit_connections_operations.py index 32a4d95fd5af..96f9ef765cb6 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_express_route_circuit_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_express_route_circuit_connections_operations.py @@ -118,8 +118,8 @@ def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -326,8 +326,8 @@ def begin_create_or_update( :type express_route_circuit_connection_parameters: ~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitConnection or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_express_route_circuit_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_express_route_circuit_peerings_operations.py index d258de7fc075..c7cf3896afdc 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_express_route_circuit_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_express_route_circuit_peerings_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -309,8 +309,8 @@ def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuitPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_express_route_circuits_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_express_route_circuits_operations.py index bded69fc8e87..7d58c3941046 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_express_route_circuits_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_express_route_circuits_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type circuit_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -292,8 +292,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_07_01.models.ExpressRouteCircuit :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -489,8 +489,8 @@ def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -622,8 +622,8 @@ def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) @@ -755,8 +755,8 @@ def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableSummaryListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_express_route_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_express_route_connections_operations.py index 4cd3ffc6444c..d04b6523d2fd 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_express_route_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_express_route_connections_operations.py @@ -128,8 +128,8 @@ def begin_create_or_update( :type put_express_route_connection_parameters: ~azure.mgmt.network.v2020_07_01.models.ExpressRouteConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteConnection or the result of cls(response) @@ -312,8 +312,8 @@ def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_express_route_cross_connection_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_express_route_cross_connection_peerings_operations.py index def3afb0d659..d0c7bc707804 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_express_route_cross_connection_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_express_route_cross_connection_peerings_operations.py @@ -187,8 +187,8 @@ def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -384,8 +384,8 @@ def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2020_07_01.models.ExpressRouteCrossConnectionPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCrossConnectionPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_express_route_cross_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_express_route_cross_connections_operations.py index 3cde47092bba..00d346666931 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_express_route_cross_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_express_route_cross_connections_operations.py @@ -317,8 +317,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_07_01.models.ExpressRouteCrossConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCrossConnection or the result of cls(response) @@ -515,8 +515,8 @@ def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -648,8 +648,8 @@ def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCrossConnectionsRoutesTableSummaryListResult or the result of cls(response) @@ -781,8 +781,8 @@ def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_express_route_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_express_route_gateways_operations.py index efdfe5c310ba..df367f10908c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_express_route_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_express_route_gateways_operations.py @@ -229,8 +229,8 @@ def begin_create_or_update( :type put_express_route_gateway_parameters: ~azure.mgmt.network.v2020_07_01.models.ExpressRouteGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteGateway or the result of cls(response) @@ -403,8 +403,8 @@ def begin_delete( :type express_route_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_express_route_ports_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_express_route_ports_operations.py index 3d9564fcd6a9..78d2558a8178 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_express_route_ports_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_express_route_ports_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type express_route_port_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -292,8 +292,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_07_01.models.ExpressRoutePort :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRoutePort or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_firewall_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_firewall_policies_operations.py index be4e041a9c39..d3717066729a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_firewall_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_firewall_policies_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type firewall_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_07_01.models.FirewallPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FirewallPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_firewall_policy_rule_collection_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_firewall_policy_rule_collection_groups_operations.py index 6b3d469c11ce..5156074fd109 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_firewall_policy_rule_collection_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_firewall_policy_rule_collection_groups_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type rule_collection_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -309,8 +309,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_07_01.models.FirewallPolicyRuleCollectionGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FirewallPolicyRuleCollectionGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_flow_logs_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_flow_logs_operations.py index fc2114c82cb1..e90be73d600a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_flow_logs_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_flow_logs_operations.py @@ -93,7 +93,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -129,8 +129,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_07_01.models.FlowLog :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FlowLog or the result of cls(response) @@ -246,7 +246,7 @@ def update_tags( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('FlowLog', pipeline_response) @@ -310,7 +310,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('FlowLog', pipeline_response) @@ -361,7 +361,7 @@ def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -387,8 +387,8 @@ def begin_delete( :type flow_log_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -504,7 +504,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_hub_route_tables_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_hub_route_tables_operations.py index 5dde886d18af..773ba34c936a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_hub_route_tables_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_hub_route_tables_operations.py @@ -128,8 +128,8 @@ def begin_create_or_update( :type route_table_parameters: ~azure.mgmt.network.v2020_07_01.models.HubRouteTable :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either HubRouteTable or the result of cls(response) @@ -312,8 +312,8 @@ def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_hub_virtual_network_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_hub_virtual_network_connections_operations.py index d08a0d45afa1..d73cbb0b6af9 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_hub_virtual_network_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_hub_virtual_network_connections_operations.py @@ -129,8 +129,8 @@ def begin_create_or_update( :type hub_virtual_network_connection_parameters: ~azure.mgmt.network.v2020_07_01.models.HubVirtualNetworkConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either HubVirtualNetworkConnection or the result of cls(response) @@ -250,8 +250,8 @@ def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_inbound_nat_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_inbound_nat_rules_operations.py index 5bc368e15473..2e08a7f7f781 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_inbound_nat_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_inbound_nat_rules_operations.py @@ -187,8 +187,8 @@ def begin_delete( :type inbound_nat_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -389,8 +389,8 @@ def begin_create_or_update( :type inbound_nat_rule_parameters: ~azure.mgmt.network.v2020_07_01.models.InboundNatRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either InboundNatRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_inbound_security_rule_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_inbound_security_rule_operations.py index e25d36c0a277..cd37a181d6fd 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_inbound_security_rule_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_inbound_security_rule_operations.py @@ -128,8 +128,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_07_01.models.InboundSecurityRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either InboundSecurityRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_ip_allocations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_ip_allocations_operations.py index 8039c8459edb..8384dd44aed1 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_ip_allocations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_ip_allocations_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type ip_allocation_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_07_01.models.IpAllocation :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either IpAllocation or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_ip_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_ip_groups_operations.py index 3c6d05e41552..d3cd5f3cf08b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_ip_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_ip_groups_operations.py @@ -102,7 +102,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('IpGroup', pipeline_response) @@ -157,7 +157,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -190,8 +190,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_07_01.models.IpGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either IpGroup or the result of cls(response) @@ -301,7 +301,7 @@ def update_groups( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('IpGroup', pipeline_response) @@ -350,7 +350,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -373,8 +373,8 @@ def begin_delete( :type ip_groups_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -484,7 +484,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -552,7 +552,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_load_balancer_backend_address_pools_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_load_balancer_backend_address_pools_operations.py index 9c6b5957a602..365133b5fb1f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_load_balancer_backend_address_pools_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_load_balancer_backend_address_pools_operations.py @@ -267,8 +267,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_07_01.models.BackendAddressPool :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either BackendAddressPool or the result of cls(response) @@ -388,8 +388,8 @@ def begin_delete( :type backend_address_pool_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_load_balancers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_load_balancers_operations.py index 1c9fd59db9c2..21bf8db1d3c5 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_load_balancers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_load_balancers_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type load_balancer_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_07_01.models.LoadBalancer :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LoadBalancer or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_local_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_local_network_gateways_operations.py index 7fb19921b61b..d26b4b00698a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_local_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_local_network_gateways_operations.py @@ -123,8 +123,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_07_01.models.LocalNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LocalNetworkGateway or the result of cls(response) @@ -296,8 +296,8 @@ def begin_delete( :type local_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_nat_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_nat_gateways_operations.py index c7263348c9f6..da3ddccfa9e0 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_nat_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_nat_gateways_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type nat_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_07_01.models.NatGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NatGateway or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_network_interface_tap_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_network_interface_tap_configurations_operations.py index e23c706cff71..df8870fd3237 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_network_interface_tap_configurations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_network_interface_tap_configurations_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type tap_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -309,8 +309,8 @@ def begin_create_or_update( :type tap_configuration_parameters: ~azure.mgmt.network.v2020_07_01.models.NetworkInterfaceTapConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkInterfaceTapConfiguration or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_network_interfaces_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_network_interfaces_operations.py index 93ac2b85cb8c..887398a50529 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_network_interfaces_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_network_interfaces_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_07_01.models.NetworkInterface :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkInterface or the result of cls(response) @@ -621,8 +621,8 @@ def begin_get_effective_route_table( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either EffectiveRouteListResult or the result of cls(response) @@ -739,8 +739,8 @@ def begin_list_effective_network_security_groups( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either EffectiveNetworkSecurityGroupListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_network_management_client_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_network_management_client_operations.py index 9c09ef1d521b..6aa4dc1aa9b7 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_network_management_client_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_network_management_client_operations.py @@ -101,8 +101,8 @@ def begin_put_bastion_shareable_link( :type bsl_request: ~azure.mgmt.network.v2020_07_01.models.BastionShareableLinkListRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns an iterator like instance of either BastionShareableLinkListResult or the result of cls(response) @@ -286,8 +286,8 @@ def begin_delete_bastion_shareable_link( :type bsl_request: ~azure.mgmt.network.v2020_07_01.models.BastionShareableLinkListRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -488,8 +488,8 @@ def begin_get_active_sessions( :type bastion_host_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns an iterator like instance of either BastionActiveSessionListResult or the result of cls(response) @@ -878,8 +878,8 @@ def begin_generatevirtualwanvpnserverconfigurationvpnprofile( :type vpn_client_params: ~azure.mgmt.network.v2020_07_01.models.VirtualWanVpnProfileParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnProfileResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_network_profiles_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_network_profiles_operations.py index 5621c2c13f0a..bdd10ec99d58 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_network_profiles_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_network_profiles_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type network_profile_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_network_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_network_security_groups_operations.py index ada6551b7491..ba3ec5caa9cb 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_network_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_network_security_groups_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type network_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_07_01.models.NetworkSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_network_virtual_appliances_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_network_virtual_appliances_operations.py index 25b248061112..a793483c7e0f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_network_virtual_appliances_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_network_virtual_appliances_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type network_virtual_appliance_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -364,8 +364,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_07_01.models.NetworkVirtualAppliance :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkVirtualAppliance or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_network_watchers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_network_watchers_operations.py index 0b401356c275..334f34a3493f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_network_watchers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_network_watchers_operations.py @@ -104,7 +104,7 @@ def create_or_update( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -168,7 +168,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('NetworkWatcher', pipeline_response) @@ -217,7 +217,7 @@ def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -240,8 +240,8 @@ def begin_delete( :type network_watcher_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -347,7 +347,7 @@ def update_tags( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('NetworkWatcher', pipeline_response) @@ -419,7 +419,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -487,7 +487,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -555,7 +555,7 @@ def get_topology( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('Topology', pipeline_response) @@ -610,7 +610,7 @@ def _verify_ip_flow_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -643,8 +643,8 @@ def begin_verify_ip_flow( :type parameters: ~azure.mgmt.network.v2020_07_01.models.VerificationIPFlowParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VerificationIPFlowResult or the result of cls(response) @@ -741,7 +741,7 @@ def _get_next_hop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -774,8 +774,8 @@ def begin_get_next_hop( :type parameters: ~azure.mgmt.network.v2020_07_01.models.NextHopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NextHopResult or the result of cls(response) @@ -872,7 +872,7 @@ def _get_vm_security_rules_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -905,8 +905,8 @@ def begin_get_vm_security_rules( :type parameters: ~azure.mgmt.network.v2020_07_01.models.SecurityGroupViewParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either SecurityGroupViewResult or the result of cls(response) @@ -1003,7 +1003,7 @@ def _get_troubleshooting_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1036,8 +1036,8 @@ def begin_get_troubleshooting( :type parameters: ~azure.mgmt.network.v2020_07_01.models.TroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1134,7 +1134,7 @@ def _get_troubleshooting_result_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1167,8 +1167,8 @@ def begin_get_troubleshooting_result( :type parameters: ~azure.mgmt.network.v2020_07_01.models.QueryTroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1265,7 +1265,7 @@ def _set_flow_log_configuration_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1298,8 +1298,8 @@ def begin_set_flow_log_configuration( :type parameters: ~azure.mgmt.network.v2020_07_01.models.FlowLogInformation :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1396,7 +1396,7 @@ def _get_flow_log_status_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1430,8 +1430,8 @@ def begin_get_flow_log_status( :type parameters: ~azure.mgmt.network.v2020_07_01.models.FlowLogStatusParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1528,7 +1528,7 @@ def _check_connectivity_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1562,8 +1562,8 @@ def begin_check_connectivity( :type parameters: ~azure.mgmt.network.v2020_07_01.models.ConnectivityParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectivityInformation or the result of cls(response) @@ -1660,7 +1660,7 @@ def _get_azure_reachability_report_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1695,8 +1695,8 @@ def begin_get_azure_reachability_report( :type parameters: ~azure.mgmt.network.v2020_07_01.models.AzureReachabilityReportParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AzureReachabilityReport or the result of cls(response) @@ -1793,7 +1793,7 @@ def _list_available_providers_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1827,8 +1827,8 @@ def begin_list_available_providers( :type parameters: ~azure.mgmt.network.v2020_07_01.models.AvailableProvidersListParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AvailableProvidersList or the result of cls(response) @@ -1925,7 +1925,7 @@ def _get_network_configuration_diagnostic_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1962,8 +1962,8 @@ def begin_get_network_configuration_diagnostic( :type parameters: ~azure.mgmt.network.v2020_07_01.models.NetworkConfigurationDiagnosticParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkConfigurationDiagnosticResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_p2_svpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_p2_svpn_gateways_operations.py index 551a8b107bba..448c2a9707b2 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_p2_svpn_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_p2_svpn_gateways_operations.py @@ -183,8 +183,8 @@ def begin_create_or_update( :type p2_s_vpn_gateway_parameters: ~azure.mgmt.network.v2020_07_01.models.P2SVpnGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -312,8 +312,8 @@ def begin_update_tags( :type p2_s_vpn_gateway_parameters: ~azure.mgmt.network.v2020_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -426,8 +426,8 @@ def begin_delete( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -679,8 +679,8 @@ def begin_reset( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -807,8 +807,8 @@ def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2020_07_01.models.P2SVpnProfileParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnProfileResponse or the result of cls(response) @@ -927,8 +927,8 @@ def begin_get_p2_s_vpn_connection_health( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -1055,8 +1055,8 @@ def begin_get_p2_s_vpn_connection_health_detailed( :type request: ~azure.mgmt.network.v2020_07_01.models.P2SVpnConnectionHealthRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either P2SVpnConnectionHealth or the result of cls(response) @@ -1179,8 +1179,8 @@ def begin_disconnect_p2_s_vpn_connections( :type request: ~azure.mgmt.network.v2020_07_01.models.P2SVpnConnectionRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_packet_captures_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_packet_captures_operations.py index fbbe28e1da15..76517944fbb6 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_packet_captures_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_packet_captures_operations.py @@ -93,7 +93,7 @@ def _create_initial( if response.status_code not in [201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PacketCaptureResult', pipeline_response) @@ -125,8 +125,8 @@ def begin_create( :type parameters: ~azure.mgmt.network.v2020_07_01.models.PacketCapture :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PacketCaptureResult or the result of cls(response) @@ -234,7 +234,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PacketCaptureResult', pipeline_response) @@ -285,7 +285,7 @@ def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -311,8 +311,8 @@ def begin_delete( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -403,7 +403,7 @@ def _stop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -429,8 +429,8 @@ def begin_stop( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -521,7 +521,7 @@ def _get_status_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -554,8 +554,8 @@ def begin_get_status( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PacketCaptureQueryStatusResult or the result of cls(response) @@ -674,7 +674,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_private_dns_zone_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_private_dns_zone_groups_operations.py index 40bf8ac7d419..c8716376e749 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_private_dns_zone_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_private_dns_zone_groups_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type private_dns_zone_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -309,8 +309,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_07_01.models.PrivateDnsZoneGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PrivateDnsZoneGroup or the result of cls(response) @@ -430,7 +430,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_private_endpoints_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_private_endpoints_operations.py index e2cb1d73adf8..2eaf80284807 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_private_endpoints_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_private_endpoints_operations.py @@ -85,7 +85,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -108,8 +108,8 @@ def begin_delete( :type private_endpoint_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -212,7 +212,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateEndpoint', pipeline_response) @@ -267,7 +267,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -300,8 +300,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_07_01.models.PrivateEndpoint :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PrivateEndpoint or the result of cls(response) @@ -415,7 +415,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -483,7 +483,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_private_link_services_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_private_link_services_operations.py index f19401118fe7..e2d645a11e02 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_private_link_services_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_private_link_services_operations.py @@ -85,7 +85,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -108,8 +108,8 @@ def begin_delete( :type service_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -212,7 +212,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateLinkService', pipeline_response) @@ -267,7 +267,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -300,8 +300,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_07_01.models.PrivateLinkService :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PrivateLinkService or the result of cls(response) @@ -415,7 +415,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -483,7 +483,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -553,7 +553,7 @@ def get_private_endpoint_connection( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateEndpointConnection', pipeline_response) @@ -625,7 +625,7 @@ def update_private_endpoint_connection( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateEndpointConnection', pipeline_response) @@ -676,7 +676,7 @@ def _delete_private_endpoint_connection_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -702,8 +702,8 @@ def begin_delete_private_endpoint_connection( :type pe_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -819,7 +819,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -899,8 +899,8 @@ def begin_check_private_link_service_visibility( :type parameters: ~azure.mgmt.network.v2020_07_01.models.CheckPrivateLinkServiceVisibilityRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PrivateLinkServiceVisibility or the result of cls(response) @@ -1026,8 +1026,8 @@ def begin_check_private_link_service_visibility_by_resource_group( :type parameters: ~azure.mgmt.network.v2020_07_01.models.CheckPrivateLinkServiceVisibilityRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PrivateLinkServiceVisibility or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_public_ip_addresses_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_public_ip_addresses_operations.py index 14571a06d3c9..e67315cc4ac7 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_public_ip_addresses_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_public_ip_addresses_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type public_ip_address_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_07_01.models.PublicIPAddress :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PublicIPAddress or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_public_ip_prefixes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_public_ip_prefixes_operations.py index 5b8a7801b4c7..ed8f0c785a8c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_public_ip_prefixes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_public_ip_prefixes_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type public_ip_prefix_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_07_01.models.PublicIPPrefix :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PublicIPPrefix or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_route_filter_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_route_filter_rules_operations.py index 2caf03883e40..bf833cff2962 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_route_filter_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_route_filter_rules_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -309,8 +309,8 @@ def begin_create_or_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2020_07_01.models.RouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilterRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_route_filters_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_route_filters_operations.py index e8e505a3837e..f852b07214e2 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_route_filters_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_route_filters_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type route_filter_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ def begin_create_or_update( :type route_filter_parameters: ~azure.mgmt.network.v2020_07_01.models.RouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilter or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_route_tables_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_route_tables_operations.py index 8ad4032857e2..a98db4daf424 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_route_tables_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_route_tables_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_07_01.models.RouteTable :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteTable or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_routes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_routes_operations.py index da97e29db29e..8ae83511c412 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_routes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_routes_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type route_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -308,8 +308,8 @@ def begin_create_or_update( :type route_parameters: ~azure.mgmt.network.v2020_07_01.models.Route :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Route or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_security_partner_providers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_security_partner_providers_operations.py index ecdcfedb94ea..1b28e3b91c9e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_security_partner_providers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_security_partner_providers_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type security_partner_provider_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -293,8 +293,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_07_01.models.SecurityPartnerProvider :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either SecurityPartnerProvider or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_security_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_security_rules_operations.py index 75632ef7a710..25d2d5bf72ff 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_security_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_security_rules_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type security_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -309,8 +309,8 @@ def begin_create_or_update( :type security_rule_parameters: ~azure.mgmt.network.v2020_07_01.models.SecurityRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either SecurityRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_service_endpoint_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_service_endpoint_policies_operations.py index 990e4ad35f6f..5b97f87527db 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_service_endpoint_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_service_endpoint_policies_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type service_endpoint_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_07_01.models.ServiceEndpointPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ServiceEndpointPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_service_endpoint_policy_definitions_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_service_endpoint_policy_definitions_operations.py index 61ea57b73aa8..762ee760b429 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_service_endpoint_policy_definitions_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_service_endpoint_policy_definitions_operations.py @@ -113,8 +113,8 @@ def begin_delete( :type service_endpoint_policy_definition_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -313,8 +313,8 @@ def begin_create_or_update( :type service_endpoint_policy_definitions: ~azure.mgmt.network.v2020_07_01.models.ServiceEndpointPolicyDefinition :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ServiceEndpointPolicyDefinition or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_subnets_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_subnets_operations.py index c96a2e5e8e6a..ae08671e8445 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_subnets_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_subnets_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type subnet_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -313,8 +313,8 @@ def begin_create_or_update( :type subnet_parameters: ~azure.mgmt.network.v2020_07_01.models.Subnet :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Subnet or the result of cls(response) @@ -444,8 +444,8 @@ def begin_prepare_network_policies( :type prepare_network_policies_request_parameters: ~azure.mgmt.network.v2020_07_01.models.PrepareNetworkPoliciesRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -572,8 +572,8 @@ def begin_unprepare_network_policies( :type unprepare_network_policies_request_parameters: ~azure.mgmt.network.v2020_07_01.models.UnprepareNetworkPoliciesRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_appliance_sites_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_appliance_sites_operations.py index 9b829b05f0c0..902e145bd20d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_appliance_sites_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_appliance_sites_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type site_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -309,8 +309,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_07_01.models.VirtualApplianceSite :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualApplianceSite or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_hub_bgp_connection_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_hub_bgp_connection_operations.py index 17acb0334d2d..a946c97c7ba2 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_hub_bgp_connection_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_hub_bgp_connection_operations.py @@ -191,8 +191,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_07_01.models.BgpConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either BgpConnection or the result of cls(response) @@ -312,8 +312,8 @@ def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_hub_bgp_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_hub_bgp_connections_operations.py index 52c4e24c4a9e..6d6642306883 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_hub_bgp_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_hub_bgp_connections_operations.py @@ -192,8 +192,8 @@ def begin_list_learned_routes( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PeerRouteList or the result of cls(response) @@ -317,8 +317,8 @@ def begin_list_advertised_routes( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PeerRouteList or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_hub_ip_configuration_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_hub_ip_configuration_operations.py index 32071f968880..55e9089497c9 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_hub_ip_configuration_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_hub_ip_configuration_operations.py @@ -192,8 +192,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_07_01.models.HubIpConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either HubIpConfiguration or the result of cls(response) @@ -313,8 +313,8 @@ def begin_delete( :type ip_config_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_hub_route_table_v2_s_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_hub_route_table_v2_s_operations.py index 731e0bfb8b9f..c7e848559a72 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_hub_route_table_v2_s_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_hub_route_table_v2_s_operations.py @@ -100,7 +100,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualHubRouteTableV2', pipeline_response) @@ -157,7 +157,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -195,8 +195,8 @@ def begin_create_or_update( :type virtual_hub_route_table_v2_parameters: ~azure.mgmt.network.v2020_07_01.models.VirtualHubRouteTableV2 :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualHubRouteTableV2 or the result of cls(response) @@ -291,7 +291,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -317,8 +317,8 @@ def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_hubs_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_hubs_operations.py index a42457bb0f7c..fe5bc0efbf10 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_hubs_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_hubs_operations.py @@ -182,8 +182,8 @@ def begin_create_or_update( :type virtual_hub_parameters: ~azure.mgmt.network.v2020_07_01.models.VirtualHub :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualHub or the result of cls(response) @@ -363,8 +363,8 @@ def begin_delete( :type virtual_hub_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -624,8 +624,8 @@ def begin_get_effective_virtual_hub_routes( :type effective_routes_parameters: ~azure.mgmt.network.v2020_07_01.models.EffectiveRoutesParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_network_gateway_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_network_gateway_connections_operations.py index dfe694953c77..8bdfcba44726 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_network_gateway_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_network_gateway_connections_operations.py @@ -125,8 +125,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_07_01.models.VirtualNetworkGatewayConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -300,8 +300,8 @@ def begin_delete( :type virtual_network_gateway_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -425,8 +425,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2020_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -558,8 +558,8 @@ def begin_set_shared_key( :type parameters: ~azure.mgmt.network.v2020_07_01.models.ConnectionSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionSharedKey or the result of cls(response) @@ -823,8 +823,8 @@ def begin_reset_shared_key( :type parameters: ~azure.mgmt.network.v2020_07_01.models.ConnectionResetSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionResetSharedKey or the result of cls(response) @@ -924,7 +924,7 @@ def _start_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -957,8 +957,8 @@ def begin_start_packet_capture( :type parameters: ~azure.mgmt.network.v2020_07_01.models.VpnPacketCaptureStartParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1055,7 +1055,7 @@ def _stop_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -1088,8 +1088,8 @@ def begin_stop_packet_capture( :type parameters: ~azure.mgmt.network.v2020_07_01.models.VpnPacketCaptureStopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_network_gateways_operations.py index fe1a96c57dce..ddd6bcb6e8a6 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_network_gateways_operations.py @@ -123,8 +123,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_07_01.models.VirtualNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -296,8 +296,8 @@ def begin_delete( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -420,8 +420,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2020_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -692,8 +692,8 @@ def begin_reset( :type gateway_vip: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -807,8 +807,8 @@ def begin_reset_vpn_client_shared_key( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -933,8 +933,8 @@ def begin_generatevpnclientpackage( :type parameters: ~azure.mgmt.network.v2020_07_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1063,8 +1063,8 @@ def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2020_07_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1183,8 +1183,8 @@ def begin_get_vpn_profile_package_url( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1307,8 +1307,8 @@ def begin_get_bgp_peer_status( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either BgpPeerStatusListResult or the result of cls(response) @@ -1486,8 +1486,8 @@ def begin_get_learned_routes( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1610,8 +1610,8 @@ def begin_get_advertised_routes( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1740,8 +1740,8 @@ def begin_set_vpnclient_ipsec_parameters( :type vpnclient_ipsec_params: ~azure.mgmt.network.v2020_07_01.models.VpnClientIPsecParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnClientIPsecParameters or the result of cls(response) @@ -1859,8 +1859,8 @@ def begin_get_vpnclient_ipsec_parameters( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnClientIPsecParameters or the result of cls(response) @@ -2027,7 +2027,7 @@ def _start_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -2059,8 +2059,8 @@ def begin_start_packet_capture( :type parameters: ~azure.mgmt.network.v2020_07_01.models.VpnPacketCaptureStartParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -2157,7 +2157,7 @@ def _stop_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -2189,8 +2189,8 @@ def begin_stop_packet_capture( :type parameters: ~azure.mgmt.network.v2020_07_01.models.VpnPacketCaptureStopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -2309,8 +2309,8 @@ def begin_get_vpnclient_connection_health( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnClientConnectionHealthDetailListResult or the result of cls(response) @@ -2431,8 +2431,8 @@ def begin_disconnect_virtual_network_gateway_vpn_connections( :type request: ~azure.mgmt.network.v2020_07_01.models.P2SVpnConnectionRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_network_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_network_peerings_operations.py index 8834b31ba645..cb56a2845066 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_network_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_network_peerings_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type virtual_network_peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -309,8 +309,8 @@ def begin_create_or_update( :type virtual_network_peering_parameters: ~azure.mgmt.network.v2020_07_01.models.VirtualNetworkPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_network_taps_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_network_taps_operations.py index bdd69b462c65..bd655cf3477d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_network_taps_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_network_taps_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type tap_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -292,8 +292,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_07_01.models.VirtualNetworkTap :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkTap or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_networks_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_networks_operations.py index d66860d96834..e9426c7db2cf 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_networks_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_networks_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type virtual_network_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_07_01.models.VirtualNetwork :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetwork or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_router_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_router_peerings_operations.py index 59a7c10c933c..c18140825010 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_router_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_router_peerings_operations.py @@ -87,7 +87,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -113,8 +113,8 @@ def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -218,7 +218,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualRouterPeering', pipeline_response) @@ -275,7 +275,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -312,8 +312,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_07_01.models.VirtualRouterPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualRouterPeering or the result of cls(response) @@ -433,7 +433,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_routers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_routers_operations.py index 249d3f4e6038..10e7d0760de1 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_routers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_routers_operations.py @@ -85,7 +85,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -108,8 +108,8 @@ def begin_delete( :type virtual_router_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -212,7 +212,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualRouter', pipeline_response) @@ -267,7 +267,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -300,8 +300,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_07_01.models.VirtualRouter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualRouter or the result of cls(response) @@ -415,7 +415,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -483,7 +483,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_wans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_wans_operations.py index dcfa9261fdd2..a1b0949bf1cb 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_wans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_virtual_wans_operations.py @@ -182,8 +182,8 @@ def begin_create_or_update( :type wan_parameters: ~azure.mgmt.network.v2020_07_01.models.VirtualWAN :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualWAN or the result of cls(response) @@ -363,8 +363,8 @@ def begin_delete( :type virtual_wan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_vpn_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_vpn_connections_operations.py index f2b629052858..7ad40a768076 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_vpn_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_vpn_connections_operations.py @@ -192,8 +192,8 @@ def begin_create_or_update( :type vpn_connection_parameters: ~azure.mgmt.network.v2020_07_01.models.VpnConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnConnection or the result of cls(response) @@ -313,8 +313,8 @@ def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -448,8 +448,8 @@ def begin_start_packet_capture( :type parameters: ~azure.mgmt.network.v2020_07_01.models.VpnConnectionPacketCaptureStartParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -587,8 +587,8 @@ def begin_stop_packet_capture( :type parameters: ~azure.mgmt.network.v2020_07_01.models.VpnConnectionPacketCaptureStopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_vpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_vpn_gateways_operations.py index d2330148cdcd..6632a57692cf 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_vpn_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_vpn_gateways_operations.py @@ -183,8 +183,8 @@ def begin_create_or_update( :type vpn_gateway_parameters: ~azure.mgmt.network.v2020_07_01.models.VpnGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnGateway or the result of cls(response) @@ -311,8 +311,8 @@ def begin_update_tags( :type vpn_gateway_parameters: ~azure.mgmt.network.v2020_07_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnGateway or the result of cls(response) @@ -425,8 +425,8 @@ def begin_delete( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -540,8 +540,8 @@ def begin_reset( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnGateway or the result of cls(response) @@ -671,8 +671,8 @@ def begin_start_packet_capture( :type parameters: ~azure.mgmt.network.v2020_07_01.models.VpnGatewayPacketCaptureStartParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -803,8 +803,8 @@ def begin_stop_packet_capture( :type parameters: ~azure.mgmt.network.v2020_07_01.models.VpnGatewayPacketCaptureStopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py index af718dc533e8..a67b07bb59ae 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py @@ -112,8 +112,8 @@ def begin_list( :type virtual_wan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnServerConfigurationsResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_vpn_server_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_vpn_server_configurations_operations.py index 7a6c2a0d4467..575c8aea5e2c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_vpn_server_configurations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_vpn_server_configurations_operations.py @@ -185,8 +185,8 @@ def begin_create_or_update( :type vpn_server_configuration_parameters: ~azure.mgmt.network.v2020_07_01.models.VpnServerConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnServerConfiguration or the result of cls(response) @@ -367,8 +367,8 @@ def begin_delete( :type vpn_server_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_vpn_sites_configuration_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_vpn_sites_configuration_operations.py index ca5bc7fad250..c9f5276872e4 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_vpn_sites_configuration_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_vpn_sites_configuration_operations.py @@ -116,8 +116,8 @@ def begin_download( :type request: ~azure.mgmt.network.v2020_07_01.models.GetVpnSitesConfigurationRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_vpn_sites_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_vpn_sites_operations.py index a5e9e9d01dc2..37f3ed190217 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_vpn_sites_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_vpn_sites_operations.py @@ -182,8 +182,8 @@ def begin_create_or_update( :type vpn_site_parameters: ~azure.mgmt.network.v2020_07_01.models.VpnSite :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnSite or the result of cls(response) @@ -363,8 +363,8 @@ def begin_delete( :type vpn_site_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_web_application_firewall_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_web_application_firewall_policies_operations.py index 22fb2da3440d..c1d5d7d000e0 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_web_application_firewall_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/operations/_web_application_firewall_policies_operations.py @@ -375,8 +375,8 @@ def begin_delete( :type policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/_metadata.json b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/_metadata.json index b09292dbec8f..772e148c2d6c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/_metadata.json +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/_metadata.json @@ -9,7 +9,9 @@ "custom_base_url": null, "azure_arm": true, "has_lro_operations": true, - "client_side_validation": true + "client_side_validation": false, + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"NetworkManagementClientConfiguration\"], \"._operations_mixin\": [\"NetworkManagementClientOperationsMixin\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"NetworkManagementClientConfiguration\"], \"._operations_mixin\": [\"NetworkManagementClientOperationsMixin\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}" }, "global_parameters": { "sync": { @@ -28,13 +30,13 @@ }, "async": { "credential": { - "signature": "credential, # type: \"AsyncTokenCredential\"", + "signature": "credential: \"AsyncTokenCredential\",", "description": "Credential needed for the client to connect to Azure.", "docstring_type": "~azure.core.credentials_async.AsyncTokenCredential", "required": true }, "subscription_id": { - "signature": "subscription_id, # type: str", + "signature": "subscription_id: str,", "description": "The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.", "docstring_type": "str", "required": true @@ -42,14 +44,58 @@ }, "constant": { }, - "call": "credential, subscription_id" + "call": "credential, subscription_id", + "service_client_specific": { + "sync": { + "api_version": { + "signature": "api_version=None, # type: Optional[str]", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url=None, # type: Optional[str]", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile=KnownProfiles.default, # type: KnownProfiles", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + }, + "async": { + "api_version": { + "signature": "api_version: Optional[str] = None,", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url: Optional[str] = None,", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile: KnownProfiles = KnownProfiles.default,", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + } + } }, "config": { "credential": true, "credential_scopes": ["https://management.azure.com/.default"], "credential_default_policy_type": "BearerTokenCredentialPolicy", "credential_default_policy_type_has_async_version": true, - "credential_key_header_name": null + "credential_key_header_name": null, + "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMHttpLoggingPolicy\"]}, \"local\": {\"._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}}", + "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMHttpLoggingPolicy\"]}, \"local\": {\".._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}}" }, "operation_groups": { "application_gateways": "ApplicationGatewaysOperations", @@ -160,151 +206,153 @@ "web_application_firewall_policies": "WebApplicationFirewallPoliciesOperations" }, "operation_mixins": { - "_put_bastion_shareable_link_initial" : { - "sync": { - "signature": "def _put_bastion_shareable_link_initial(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_08_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionShareableLinkListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_08_01.models.BastionShareableLinkListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def _put_bastion_shareable_link_initial(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e Optional[\"_models.BastionShareableLinkListResult\"]:\n", - "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_08_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionShareableLinkListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_08_01.models.BastionShareableLinkListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "resource_group_name, bastion_host_name, bsl_request" - }, - "begin_put_bastion_shareable_link" : { - "sync": { - "signature": "def begin_put_bastion_shareable_link(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Creates a Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_08_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns an iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_08_01.models.BastionShareableLinkListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" - }, - "async": { - "coroutine": false, - "signature": "def begin_put_bastion_shareable_link(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e AsyncLROPoller[AsyncItemPaged[\"_models.BastionShareableLinkListResult\"]]:\n", - "doc": "\"\"\"Creates a Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_08_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns an iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_08_01.models.BastionShareableLinkListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" - }, - "call": "resource_group_name, bastion_host_name, bsl_request" - }, - "_delete_bastion_shareable_link_initial" : { - "sync": { - "signature": "def _delete_bastion_shareable_link_initial(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_08_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def _delete_bastion_shareable_link_initial(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e None:\n", - "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_08_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "resource_group_name, bastion_host_name, bsl_request" - }, - "begin_delete_bastion_shareable_link" : { - "sync": { - "signature": "def begin_delete_bastion_shareable_link(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Deletes the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_08_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def begin_delete_bastion_shareable_link(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e AsyncLROPoller[None]:\n", - "doc": "\"\"\"Deletes the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_08_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" - }, - "call": "resource_group_name, bastion_host_name, bsl_request" - }, - "get_bastion_shareable_link" : { - "sync": { - "signature": "def get_bastion_shareable_link(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Return the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_08_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_08_01.models.BastionShareableLinkListResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": false, - "signature": "def get_bastion_shareable_link(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e AsyncItemPaged[\"_models.BastionShareableLinkListResult\"]:\n", - "doc": "\"\"\"Return the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_08_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_08_01.models.BastionShareableLinkListResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "resource_group_name, bastion_host_name, bsl_request" - }, - "_get_active_sessions_initial" : { - "sync": { - "signature": "def _get_active_sessions_initial(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionActiveSessionListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_08_01.models.BastionActiveSessionListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def _get_active_sessions_initial(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n **kwargs\n) -\u003e Optional[\"_models.BastionActiveSessionListResult\"]:\n", - "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionActiveSessionListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_08_01.models.BastionActiveSessionListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "resource_group_name, bastion_host_name" - }, - "begin_get_active_sessions" : { - "sync": { - "signature": "def begin_get_active_sessions(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns an iterator like instance of either BastionActiveSessionListResult or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_08_01.models.BastionActiveSessionListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"], \"azure.core.polling\": [\"LROPoller\", \"NoPolling\", \"PollingMethod\"], \"azure.mgmt.core.polling.arm_polling\": [\"ARMPolling\"], \"azure.core.paging\": [\"ItemPaged\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Iterable\", \"Optional\", \"TypeVar\", \"Union\"]}}}", + "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"], \"azure.core.polling\": [\"AsyncLROPoller\", \"AsyncNoPolling\", \"AsyncPollingMethod\"], \"azure.mgmt.core.polling.async_arm_polling\": [\"AsyncARMPolling\"], \"azure.core.async_paging\": [\"AsyncItemPaged\", \"AsyncList\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"AsyncIterable\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\", \"Union\"]}}}", + "operations": { + "_put_bastion_shareable_link_initial" : { + "sync": { + "signature": "def _put_bastion_shareable_link_initial(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_08_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionShareableLinkListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_08_01.models.BastionShareableLinkListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def _put_bastion_shareable_link_initial(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e Optional[\"_models.BastionShareableLinkListResult\"]:\n", + "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_08_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionShareableLinkListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_08_01.models.BastionShareableLinkListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "resource_group_name, bastion_host_name, bsl_request" }, - "async": { - "coroutine": false, - "signature": "def begin_get_active_sessions(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n **kwargs\n) -\u003e AsyncLROPoller[AsyncItemPaged[\"_models.BastionActiveSessionListResult\"]]:\n", - "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns an iterator like instance of either BastionActiveSessionListResult or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_08_01.models.BastionActiveSessionListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + "begin_put_bastion_shareable_link" : { + "sync": { + "signature": "def begin_put_bastion_shareable_link(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Creates a Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_08_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the ARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns an iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_08_01.models.BastionShareableLinkListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "async": { + "coroutine": false, + "signature": "def begin_put_bastion_shareable_link(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e AsyncLROPoller[AsyncItemPaged[\"_models.BastionShareableLinkListResult\"]]:\n", + "doc": "\"\"\"Creates a Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_08_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the AsyncARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns an iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_08_01.models.BastionShareableLinkListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "call": "resource_group_name, bastion_host_name, bsl_request" }, - "call": "resource_group_name, bastion_host_name" - }, - "disconnect_active_sessions" : { - "sync": { - "signature": "def disconnect_active_sessions(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n session_ids, # type: \"_models.SessionIds\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param session_ids: The list of sessionids to disconnect.\n:type session_ids: ~azure.mgmt.network.v2020_08_01.models.SessionIds\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionSessionDeleteResult or the result of cls(response)\n:rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_08_01.models.BastionSessionDeleteResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": false, - "signature": "def disconnect_active_sessions(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n session_ids: \"_models.SessionIds\",\n **kwargs\n) -\u003e AsyncItemPaged[\"_models.BastionSessionDeleteResult\"]:\n", - "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param session_ids: The list of sessionids to disconnect.\n:type session_ids: ~azure.mgmt.network.v2020_08_01.models.SessionIds\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionSessionDeleteResult or the result of cls(response)\n:rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_08_01.models.BastionSessionDeleteResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "_delete_bastion_shareable_link_initial" : { + "sync": { + "signature": "def _delete_bastion_shareable_link_initial(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_08_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def _delete_bastion_shareable_link_initial(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e None:\n", + "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_08_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "resource_group_name, bastion_host_name, bsl_request" }, - "call": "resource_group_name, bastion_host_name, session_ids" - }, - "check_dns_name_availability" : { - "sync": { - "signature": "def check_dns_name_availability(\n self,\n location, # type: str\n domain_name_label, # type: str\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_08_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "begin_delete_bastion_shareable_link" : { + "sync": { + "signature": "def begin_delete_bastion_shareable_link(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Deletes the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_08_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the ARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def begin_delete_bastion_shareable_link(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e AsyncLROPoller[None]:\n", + "doc": "\"\"\"Deletes the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_08_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the AsyncARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "call": "resource_group_name, bastion_host_name, bsl_request" }, - "async": { - "coroutine": true, - "signature": "async def check_dns_name_availability(\n self,\n location: str,\n domain_name_label: str,\n **kwargs\n) -\u003e \"_models.DnsNameAvailabilityResult\":\n", - "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_08_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "get_bastion_shareable_link" : { + "sync": { + "signature": "def get_bastion_shareable_link(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Return the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_08_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_08_01.models.BastionShareableLinkListResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": false, + "signature": "def get_bastion_shareable_link(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e AsyncItemPaged[\"_models.BastionShareableLinkListResult\"]:\n", + "doc": "\"\"\"Return the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_08_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_08_01.models.BastionShareableLinkListResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "resource_group_name, bastion_host_name, bsl_request" }, - "call": "location, domain_name_label" - }, - "supported_security_providers" : { - "sync": { - "signature": "def supported_security_providers(\n self,\n resource_group_name, # type: str\n virtual_wan_name, # type: str\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Gives the supported security providers for the virtual wan.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN for which supported security providers are\n needed.\n:type virtual_wan_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VirtualWanSecurityProviders, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_08_01.models.VirtualWanSecurityProviders\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "_get_active_sessions_initial" : { + "sync": { + "signature": "def _get_active_sessions_initial(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionActiveSessionListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_08_01.models.BastionActiveSessionListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def _get_active_sessions_initial(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n **kwargs\n) -\u003e Optional[\"_models.BastionActiveSessionListResult\"]:\n", + "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionActiveSessionListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_08_01.models.BastionActiveSessionListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "resource_group_name, bastion_host_name" }, - "async": { - "coroutine": true, - "signature": "async def supported_security_providers(\n self,\n resource_group_name: str,\n virtual_wan_name: str,\n **kwargs\n) -\u003e \"_models.VirtualWanSecurityProviders\":\n", - "doc": "\"\"\"Gives the supported security providers for the virtual wan.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN for which supported security providers are\n needed.\n:type virtual_wan_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VirtualWanSecurityProviders, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_08_01.models.VirtualWanSecurityProviders\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "begin_get_active_sessions" : { + "sync": { + "signature": "def begin_get_active_sessions(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the ARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns an iterator like instance of either BastionActiveSessionListResult or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_08_01.models.BastionActiveSessionListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "async": { + "coroutine": false, + "signature": "def begin_get_active_sessions(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n **kwargs\n) -\u003e AsyncLROPoller[AsyncItemPaged[\"_models.BastionActiveSessionListResult\"]]:\n", + "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the AsyncARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns an iterator like instance of either BastionActiveSessionListResult or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_08_01.models.BastionActiveSessionListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "call": "resource_group_name, bastion_host_name" }, - "call": "resource_group_name, virtual_wan_name" - }, - "_generatevirtualwanvpnserverconfigurationvpnprofile_initial" : { - "sync": { - "signature": "def _generatevirtualwanvpnserverconfigurationvpnprofile_initial(\n self,\n resource_group_name, # type: str\n virtual_wan_name, # type: str\n vpn_client_params, # type: \"_models.VirtualWanVpnProfileParameters\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2020_08_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VpnProfileResponse, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_08_01.models.VpnProfileResponse or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "disconnect_active_sessions" : { + "sync": { + "signature": "def disconnect_active_sessions(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n session_ids, # type: \"_models.SessionIds\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param session_ids: The list of sessionids to disconnect.\n:type session_ids: ~azure.mgmt.network.v2020_08_01.models.SessionIds\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionSessionDeleteResult or the result of cls(response)\n:rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_08_01.models.BastionSessionDeleteResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": false, + "signature": "def disconnect_active_sessions(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n session_ids: \"_models.SessionIds\",\n **kwargs\n) -\u003e AsyncItemPaged[\"_models.BastionSessionDeleteResult\"]:\n", + "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param session_ids: The list of sessionids to disconnect.\n:type session_ids: ~azure.mgmt.network.v2020_08_01.models.SessionIds\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionSessionDeleteResult or the result of cls(response)\n:rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_08_01.models.BastionSessionDeleteResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "resource_group_name, bastion_host_name, session_ids" }, - "async": { - "coroutine": true, - "signature": "async def _generatevirtualwanvpnserverconfigurationvpnprofile_initial(\n self,\n resource_group_name: str,\n virtual_wan_name: str,\n vpn_client_params: \"_models.VirtualWanVpnProfileParameters\",\n **kwargs\n) -\u003e Optional[\"_models.VpnProfileResponse\"]:\n", - "doc": "\"\"\"\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2020_08_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VpnProfileResponse, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_08_01.models.VpnProfileResponse or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "check_dns_name_availability" : { + "sync": { + "signature": "def check_dns_name_availability(\n self,\n location, # type: str\n domain_name_label, # type: str\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_08_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def check_dns_name_availability(\n self,\n location: str,\n domain_name_label: str,\n **kwargs\n) -\u003e \"_models.DnsNameAvailabilityResult\":\n", + "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_08_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "location, domain_name_label" }, - "call": "resource_group_name, virtual_wan_name, vpn_client_params" - }, - "begin_generatevirtualwanvpnserverconfigurationvpnprofile" : { - "sync": { - "signature": "def begin_generatevirtualwanvpnserverconfigurationvpnprofile(\n self,\n resource_group_name, # type: str\n virtual_wan_name, # type: str\n vpn_client_params, # type: \"_models.VirtualWanVpnProfileParameters\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Generates a unique VPN profile for P2S clients for VirtualWan and associated\nVpnServerConfiguration combination in the specified resource group.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2020_08_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns either VpnProfileResponse or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_08_01.models.VpnProfileResponse]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + "supported_security_providers" : { + "sync": { + "signature": "def supported_security_providers(\n self,\n resource_group_name, # type: str\n virtual_wan_name, # type: str\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Gives the supported security providers for the virtual wan.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN for which supported security providers are\n needed.\n:type virtual_wan_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VirtualWanSecurityProviders, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_08_01.models.VirtualWanSecurityProviders\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def supported_security_providers(\n self,\n resource_group_name: str,\n virtual_wan_name: str,\n **kwargs\n) -\u003e \"_models.VirtualWanSecurityProviders\":\n", + "doc": "\"\"\"Gives the supported security providers for the virtual wan.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN for which supported security providers are\n needed.\n:type virtual_wan_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VirtualWanSecurityProviders, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_08_01.models.VirtualWanSecurityProviders\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "resource_group_name, virtual_wan_name" }, - "async": { - "coroutine": true, - "signature": "async def begin_generatevirtualwanvpnserverconfigurationvpnprofile(\n self,\n resource_group_name: str,\n virtual_wan_name: str,\n vpn_client_params: \"_models.VirtualWanVpnProfileParameters\",\n **kwargs\n) -\u003e AsyncLROPoller[\"_models.VpnProfileResponse\"]:\n", - "doc": "\"\"\"Generates a unique VPN profile for P2S clients for VirtualWan and associated\nVpnServerConfiguration combination in the specified resource group.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2020_08_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns either VpnProfileResponse or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_08_01.models.VpnProfileResponse]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + "_generatevirtualwanvpnserverconfigurationvpnprofile_initial" : { + "sync": { + "signature": "def _generatevirtualwanvpnserverconfigurationvpnprofile_initial(\n self,\n resource_group_name, # type: str\n virtual_wan_name, # type: str\n vpn_client_params, # type: \"_models.VirtualWanVpnProfileParameters\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2020_08_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VpnProfileResponse, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_08_01.models.VpnProfileResponse or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def _generatevirtualwanvpnserverconfigurationvpnprofile_initial(\n self,\n resource_group_name: str,\n virtual_wan_name: str,\n vpn_client_params: \"_models.VirtualWanVpnProfileParameters\",\n **kwargs\n) -\u003e Optional[\"_models.VpnProfileResponse\"]:\n", + "doc": "\"\"\"\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2020_08_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VpnProfileResponse, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_08_01.models.VpnProfileResponse or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "resource_group_name, virtual_wan_name, vpn_client_params" }, - "call": "resource_group_name, virtual_wan_name, vpn_client_params" + "begin_generatevirtualwanvpnserverconfigurationvpnprofile" : { + "sync": { + "signature": "def begin_generatevirtualwanvpnserverconfigurationvpnprofile(\n self,\n resource_group_name, # type: str\n virtual_wan_name, # type: str\n vpn_client_params, # type: \"_models.VirtualWanVpnProfileParameters\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Generates a unique VPN profile for P2S clients for VirtualWan and associated\nVpnServerConfiguration combination in the specified resource group.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2020_08_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the ARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns either VpnProfileResponse or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_08_01.models.VpnProfileResponse]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def begin_generatevirtualwanvpnserverconfigurationvpnprofile(\n self,\n resource_group_name: str,\n virtual_wan_name: str,\n vpn_client_params: \"_models.VirtualWanVpnProfileParameters\",\n **kwargs\n) -\u003e AsyncLROPoller[\"_models.VpnProfileResponse\"]:\n", + "doc": "\"\"\"Generates a unique VPN profile for P2S clients for VirtualWan and associated\nVpnServerConfiguration combination in the specified resource group.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2020_08_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the AsyncARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns either VpnProfileResponse or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_08_01.models.VpnProfileResponse]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "call": "resource_group_name, virtual_wan_name, vpn_client_params" + } } - }, - "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"], \"azure.core.polling\": [\"LROPoller\", \"NoPolling\", \"PollingMethod\"], \"azure.mgmt.core.polling.arm_polling\": [\"ARMPolling\"], \"azure.core.paging\": [\"ItemPaged\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Iterable\", \"Optional\", \"TypeVar\", \"Union\"]}}}", - "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"], \"azure.core.polling\": [\"AsyncLROPoller\", \"AsyncNoPolling\", \"AsyncPollingMethod\"], \"azure.mgmt.core.polling.async_arm_polling\": [\"AsyncARMPolling\"], \"azure.core.async_paging\": [\"AsyncItemPaged\", \"AsyncList\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"AsyncIterable\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\", \"Union\"]}}}" + } } \ No newline at end of file diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/_network_management_client.py index bd4b75edc116..992615fd936f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/_network_management_client.py @@ -16,6 +16,7 @@ from typing import Any, Optional from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse from ._configuration import NetworkManagementClientConfiguration from .operations import ApplicationGatewaysOperations @@ -366,6 +367,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( @@ -581,6 +583,24 @@ def __init__( self.web_application_firewall_policies = WebApplicationFirewallPoliciesOperations( self._client, self._config, self._serialize, self._deserialize) + def _send_request(self, http_request, **kwargs): + # type: (HttpRequest, Any) -> HttpResponse + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.HttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + def close(self): # type: () -> None self._client.close() diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/_network_management_client.py index 06187ae8a250..cb6e5df786e7 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/_network_management_client.py @@ -8,6 +8,7 @@ from typing import Any, Optional, TYPE_CHECKING +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core import AsyncARMPipelineClient from msrest import Deserializer, Serializer @@ -363,6 +364,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( @@ -578,6 +580,23 @@ def __init__( self.web_application_firewall_policies = WebApplicationFirewallPoliciesOperations( self._client, self._config, self._serialize, self._deserialize) + async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + async def close(self) -> None: await self._client.close() diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_application_gateway_private_endpoint_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_application_gateway_private_endpoint_connections_operations.py index c28e329c6505..9f68dd9b2b6b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_application_gateway_private_endpoint_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_application_gateway_private_endpoint_connections_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -236,8 +236,8 @@ async def begin_update( :type parameters: ~azure.mgmt.network.v2020_08_01.models.ApplicationGatewayPrivateEndpointConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGatewayPrivateEndpointConnection or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_application_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_application_gateways_operations.py index 207e93b0b565..59440affccd9 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_application_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_application_gateways_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -283,8 +283,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_08_01.models.ApplicationGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGateway or the result of cls(response) @@ -597,8 +597,8 @@ async def begin_start( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -705,8 +705,8 @@ async def begin_stop( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -824,8 +824,8 @@ async def begin_backend_health( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGatewayBackendHealth or the result of cls(response) @@ -957,8 +957,8 @@ async def begin_backend_health_on_demand( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGatewayBackendHealthOnDemand or the result of cls(response) @@ -1052,7 +1052,7 @@ async def list_available_server_variables( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) @@ -1103,7 +1103,7 @@ async def list_available_request_headers( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) @@ -1154,7 +1154,7 @@ async def list_available_response_headers( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_application_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_application_security_groups_operations.py index e33d72ab9baf..a2f3311c9085 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_application_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_application_security_groups_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type application_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -284,8 +284,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_08_01.models.ApplicationSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_azure_firewalls_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_azure_firewalls_operations.py index 327d353c9b9c..c809a46a3841 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_azure_firewalls_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_azure_firewalls_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type azure_firewall_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -283,8 +283,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_08_01.models.AzureFirewall :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AzureFirewall or the result of cls(response) @@ -409,8 +409,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2020_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AzureFirewall or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_bastion_hosts_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_bastion_hosts_operations.py index e6e18a9d7b76..fc4bee2ab302 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_bastion_hosts_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_bastion_hosts_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type bastion_host_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -283,8 +283,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_08_01.models.BastionHost :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either BastionHost or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_connection_monitors_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_connection_monitors_operations.py index 0f1b398b30ab..7ed4004c10c5 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_connection_monitors_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_connection_monitors_operations.py @@ -91,7 +91,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -129,8 +129,8 @@ async def begin_create_or_update( :type migrate: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionMonitorResult or the result of cls(response) @@ -238,7 +238,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('ConnectionMonitorResult', pipeline_response) @@ -288,7 +288,7 @@ async def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -313,8 +313,8 @@ async def begin_delete( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -425,7 +425,7 @@ async def update_tags( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('ConnectionMonitorResult', pipeline_response) @@ -475,7 +475,7 @@ async def _stop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -500,8 +500,8 @@ async def begin_stop( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -591,7 +591,7 @@ async def _start_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -616,8 +616,8 @@ async def begin_start( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -707,7 +707,7 @@ async def _query_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -739,8 +739,8 @@ async def begin_query( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionMonitorQueryResult or the result of cls(response) @@ -858,7 +858,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_custom_ip_prefixes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_custom_ip_prefixes_operations.py index 7362a762185a..ab56abbae94c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_custom_ip_prefixes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_custom_ip_prefixes_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type custom_ip_prefix_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -288,8 +288,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_08_01.models.CustomIpPrefix :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either CustomIpPrefix or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_ddos_custom_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_ddos_custom_policies_operations.py index 270b6ba9f83e..901c1edeedc9 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_ddos_custom_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_ddos_custom_policies_operations.py @@ -100,8 +100,8 @@ async def begin_delete( :type ddos_custom_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -282,8 +282,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_08_01.models.DdosCustomPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either DdosCustomPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_ddos_protection_plans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_ddos_protection_plans_operations.py index 26afdff3628a..ed1d7d0094c9 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_ddos_protection_plans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_ddos_protection_plans_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type ddos_protection_plan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -283,8 +283,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_08_01.models.DdosProtectionPlan :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either DdosProtectionPlan or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_dscp_configuration_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_dscp_configuration_operations.py index fc004603d23c..ff14f903447a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_dscp_configuration_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_dscp_configuration_operations.py @@ -117,8 +117,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_08_01.models.DscpConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either DscpConfiguration or the result of cls(response) @@ -229,8 +229,8 @@ async def begin_delete( :type dscp_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_express_route_circuit_authorizations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_express_route_circuit_authorizations_operations.py index abad41375c14..cbc978c84296 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_express_route_circuit_authorizations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_express_route_circuit_authorizations_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type authorization_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -300,8 +300,8 @@ async def begin_create_or_update( :type authorization_parameters: ~azure.mgmt.network.v2020_08_01.models.ExpressRouteCircuitAuthorization :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitAuthorization or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_express_route_circuit_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_express_route_circuit_connections_operations.py index 3568795e93fd..e44e3521c7a4 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_express_route_circuit_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_express_route_circuit_connections_operations.py @@ -112,8 +112,8 @@ async def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -317,8 +317,8 @@ async def begin_create_or_update( :type express_route_circuit_connection_parameters: ~azure.mgmt.network.v2020_08_01.models.ExpressRouteCircuitConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitConnection or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_express_route_circuit_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_express_route_circuit_peerings_operations.py index b5b6e2362f36..60c812e5f3f5 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_express_route_circuit_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_express_route_circuit_peerings_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -300,8 +300,8 @@ async def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2020_08_01.models.ExpressRouteCircuitPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_express_route_circuits_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_express_route_circuits_operations.py index e96da0f6fa8f..46dd2c545a13 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_express_route_circuits_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_express_route_circuits_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type circuit_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -283,8 +283,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_08_01.models.ExpressRouteCircuit :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -477,8 +477,8 @@ async def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -608,8 +608,8 @@ async def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) @@ -739,8 +739,8 @@ async def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableSummaryListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_express_route_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_express_route_connections_operations.py index c1cc963f9753..4095008b803b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_express_route_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_express_route_connections_operations.py @@ -122,8 +122,8 @@ async def begin_create_or_update( :type put_express_route_connection_parameters: ~azure.mgmt.network.v2020_08_01.models.ExpressRouteConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteConnection or the result of cls(response) @@ -303,8 +303,8 @@ async def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_express_route_cross_connection_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_express_route_cross_connection_peerings_operations.py index f973e555bb74..fde916ed82be 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_express_route_cross_connection_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_express_route_cross_connection_peerings_operations.py @@ -180,8 +180,8 @@ async def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -374,8 +374,8 @@ async def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2020_08_01.models.ExpressRouteCrossConnectionPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCrossConnectionPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_express_route_cross_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_express_route_cross_connections_operations.py index 2c357bdaf924..e115dd98c009 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_express_route_cross_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_express_route_cross_connections_operations.py @@ -308,8 +308,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_08_01.models.ExpressRouteCrossConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCrossConnection or the result of cls(response) @@ -503,8 +503,8 @@ async def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -634,8 +634,8 @@ async def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCrossConnectionsRoutesTableSummaryListResult or the result of cls(response) @@ -765,8 +765,8 @@ async def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_express_route_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_express_route_gateways_operations.py index 31c74b38b5ec..2832b29a7328 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_express_route_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_express_route_gateways_operations.py @@ -221,8 +221,8 @@ async def begin_create_or_update( :type put_express_route_gateway_parameters: ~azure.mgmt.network.v2020_08_01.models.ExpressRouteGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteGateway or the result of cls(response) @@ -348,8 +348,8 @@ async def begin_update_tags( :type express_route_gateway_parameters: ~azure.mgmt.network.v2020_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteGateway or the result of cls(response) @@ -519,8 +519,8 @@ async def begin_delete( :type express_route_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_express_route_ports_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_express_route_ports_operations.py index b5200673bba1..f586bafa5e4f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_express_route_ports_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_express_route_ports_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type express_route_port_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -283,8 +283,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_08_01.models.ExpressRoutePort :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRoutePort or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_firewall_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_firewall_policies_operations.py index 4579d9e02864..42761f47b12e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_firewall_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_firewall_policies_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type firewall_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -288,8 +288,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_08_01.models.FirewallPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FirewallPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_firewall_policy_rule_collection_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_firewall_policy_rule_collection_groups_operations.py index 07d021f33f89..3b3d46390303 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_firewall_policy_rule_collection_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_firewall_policy_rule_collection_groups_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type rule_collection_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -300,8 +300,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_08_01.models.FirewallPolicyRuleCollectionGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FirewallPolicyRuleCollectionGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_flow_logs_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_flow_logs_operations.py index 03ea79740446..6e36c94f4ad9 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_flow_logs_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_flow_logs_operations.py @@ -88,7 +88,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -123,8 +123,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_08_01.models.FlowLog :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FlowLog or the result of cls(response) @@ -239,7 +239,7 @@ async def update_tags( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('FlowLog', pipeline_response) @@ -302,7 +302,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('FlowLog', pipeline_response) @@ -352,7 +352,7 @@ async def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -377,8 +377,8 @@ async def begin_delete( :type flow_log_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -493,7 +493,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_hub_route_tables_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_hub_route_tables_operations.py index 3cd79a66b079..a6cda4cdd05b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_hub_route_tables_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_hub_route_tables_operations.py @@ -122,8 +122,8 @@ async def begin_create_or_update( :type route_table_parameters: ~azure.mgmt.network.v2020_08_01.models.HubRouteTable :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either HubRouteTable or the result of cls(response) @@ -303,8 +303,8 @@ async def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_hub_virtual_network_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_hub_virtual_network_connections_operations.py index 145766cf0a65..2c7a0075ef84 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_hub_virtual_network_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_hub_virtual_network_connections_operations.py @@ -123,8 +123,8 @@ async def begin_create_or_update( :type hub_virtual_network_connection_parameters: ~azure.mgmt.network.v2020_08_01.models.HubVirtualNetworkConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either HubVirtualNetworkConnection or the result of cls(response) @@ -242,8 +242,8 @@ async def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_inbound_nat_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_inbound_nat_rules_operations.py index 68544441ac56..e9e877f852fd 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_inbound_nat_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_inbound_nat_rules_operations.py @@ -180,8 +180,8 @@ async def begin_delete( :type inbound_nat_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -379,8 +379,8 @@ async def begin_create_or_update( :type inbound_nat_rule_parameters: ~azure.mgmt.network.v2020_08_01.models.InboundNatRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either InboundNatRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_inbound_security_rule_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_inbound_security_rule_operations.py index 5e03319833fd..d2e38777f4c5 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_inbound_security_rule_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_inbound_security_rule_operations.py @@ -122,8 +122,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_08_01.models.InboundSecurityRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either InboundSecurityRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_ip_allocations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_ip_allocations_operations.py index 61979dc02d67..1047f40f7892 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_ip_allocations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_ip_allocations_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type ip_allocation_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -288,8 +288,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_08_01.models.IpAllocation :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either IpAllocation or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_ip_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_ip_groups_operations.py index db3a7371db83..b03062525ead 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_ip_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_ip_groups_operations.py @@ -97,7 +97,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('IpGroup', pipeline_response) @@ -151,7 +151,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -183,8 +183,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_08_01.models.IpGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either IpGroup or the result of cls(response) @@ -293,7 +293,7 @@ async def update_groups( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('IpGroup', pipeline_response) @@ -341,7 +341,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -363,8 +363,8 @@ async def begin_delete( :type ip_groups_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -473,7 +473,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -540,7 +540,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_load_balancer_backend_address_pools_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_load_balancer_backend_address_pools_operations.py index 5d951506f507..23ccef9ed814 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_load_balancer_backend_address_pools_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_load_balancer_backend_address_pools_operations.py @@ -259,8 +259,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_08_01.models.BackendAddressPool :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either BackendAddressPool or the result of cls(response) @@ -378,8 +378,8 @@ async def begin_delete( :type backend_address_pool_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_load_balancers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_load_balancers_operations.py index c3865f1f3a49..45fbda722818 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_load_balancers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_load_balancers_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type load_balancer_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -288,8 +288,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_08_01.models.LoadBalancer :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LoadBalancer or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_local_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_local_network_gateways_operations.py index eb7d94f985c7..c59cb95638eb 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_local_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_local_network_gateways_operations.py @@ -117,8 +117,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_08_01.models.LocalNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LocalNetworkGateway or the result of cls(response) @@ -287,8 +287,8 @@ async def begin_delete( :type local_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_nat_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_nat_gateways_operations.py index 1907c148a583..5a02da4bed1e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_nat_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_nat_gateways_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type nat_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -289,8 +289,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_08_01.models.NatGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NatGateway or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_nat_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_nat_rules_operations.py index 8475bf6bd02f..eefc9894f066 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_nat_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_nat_rules_operations.py @@ -185,8 +185,8 @@ async def begin_create_or_update( :type nat_rule_parameters: ~azure.mgmt.network.v2020_08_01.models.VpnGatewayNatRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnGatewayNatRule or the result of cls(response) @@ -304,8 +304,8 @@ async def begin_delete( :type nat_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_network_interface_tap_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_network_interface_tap_configurations_operations.py index 5fa2ecd5f739..ce9e49915194 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_network_interface_tap_configurations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_network_interface_tap_configurations_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type tap_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -300,8 +300,8 @@ async def begin_create_or_update( :type tap_configuration_parameters: ~azure.mgmt.network.v2020_08_01.models.NetworkInterfaceTapConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkInterfaceTapConfiguration or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_network_interfaces_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_network_interfaces_operations.py index 41e6d0acd1c3..9a7212a56573 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_network_interfaces_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_network_interfaces_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -288,8 +288,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_08_01.models.NetworkInterface :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkInterface or the result of cls(response) @@ -607,8 +607,8 @@ async def begin_get_effective_route_table( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either EffectiveRouteListResult or the result of cls(response) @@ -723,8 +723,8 @@ async def begin_list_effective_network_security_groups( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either EffectiveNetworkSecurityGroupListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_network_management_client_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_network_management_client_operations.py index 097c6812379e..169d859e216d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_network_management_client_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_network_management_client_operations.py @@ -95,8 +95,8 @@ async def begin_put_bastion_shareable_link( :type bsl_request: ~azure.mgmt.network.v2020_08_01.models.BastionShareableLinkListRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns an iterator like instance of either BastionShareableLinkListResult or the result of cls(response) @@ -278,8 +278,8 @@ async def begin_delete_bastion_shareable_link( :type bsl_request: ~azure.mgmt.network.v2020_08_01.models.BastionShareableLinkListRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -477,8 +477,8 @@ async def begin_get_active_sessions( :type bastion_host_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns an iterator like instance of either BastionActiveSessionListResult or the result of cls(response) @@ -862,8 +862,8 @@ async def begin_generatevirtualwanvpnserverconfigurationvpnprofile( :type vpn_client_params: ~azure.mgmt.network.v2020_08_01.models.VirtualWanVpnProfileParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnProfileResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_network_profiles_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_network_profiles_operations.py index 82be41ac1b75..c964535bc8b4 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_network_profiles_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_network_profiles_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type network_profile_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_network_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_network_security_groups_operations.py index 08dcb5effc13..300323f9cf3a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_network_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_network_security_groups_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type network_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -289,8 +289,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_08_01.models.NetworkSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_network_virtual_appliances_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_network_virtual_appliances_operations.py index 88f6451fa559..36619bff300f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_network_virtual_appliances_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_network_virtual_appliances_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type network_virtual_appliance_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -354,8 +354,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_08_01.models.NetworkVirtualAppliance :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkVirtualAppliance or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_network_watchers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_network_watchers_operations.py index fdd47677df26..70b0a7506eb6 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_network_watchers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_network_watchers_operations.py @@ -99,7 +99,7 @@ async def create_or_update( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -162,7 +162,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('NetworkWatcher', pipeline_response) @@ -210,7 +210,7 @@ async def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -232,8 +232,8 @@ async def begin_delete( :type network_watcher_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -338,7 +338,7 @@ async def update_tags( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('NetworkWatcher', pipeline_response) @@ -409,7 +409,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -476,7 +476,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -543,7 +543,7 @@ async def get_topology( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('Topology', pipeline_response) @@ -597,7 +597,7 @@ async def _verify_ip_flow_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -629,8 +629,8 @@ async def begin_verify_ip_flow( :type parameters: ~azure.mgmt.network.v2020_08_01.models.VerificationIPFlowParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VerificationIPFlowResult or the result of cls(response) @@ -726,7 +726,7 @@ async def _get_next_hop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -758,8 +758,8 @@ async def begin_get_next_hop( :type parameters: ~azure.mgmt.network.v2020_08_01.models.NextHopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NextHopResult or the result of cls(response) @@ -855,7 +855,7 @@ async def _get_vm_security_rules_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -887,8 +887,8 @@ async def begin_get_vm_security_rules( :type parameters: ~azure.mgmt.network.v2020_08_01.models.SecurityGroupViewParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either SecurityGroupViewResult or the result of cls(response) @@ -984,7 +984,7 @@ async def _get_troubleshooting_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1016,8 +1016,8 @@ async def begin_get_troubleshooting( :type parameters: ~azure.mgmt.network.v2020_08_01.models.TroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1113,7 +1113,7 @@ async def _get_troubleshooting_result_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1145,8 +1145,8 @@ async def begin_get_troubleshooting_result( :type parameters: ~azure.mgmt.network.v2020_08_01.models.QueryTroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1242,7 +1242,7 @@ async def _set_flow_log_configuration_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1274,8 +1274,8 @@ async def begin_set_flow_log_configuration( :type parameters: ~azure.mgmt.network.v2020_08_01.models.FlowLogInformation :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1371,7 +1371,7 @@ async def _get_flow_log_status_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1404,8 +1404,8 @@ async def begin_get_flow_log_status( :type parameters: ~azure.mgmt.network.v2020_08_01.models.FlowLogStatusParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1501,7 +1501,7 @@ async def _check_connectivity_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1534,8 +1534,8 @@ async def begin_check_connectivity( :type parameters: ~azure.mgmt.network.v2020_08_01.models.ConnectivityParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectivityInformation or the result of cls(response) @@ -1631,7 +1631,7 @@ async def _get_azure_reachability_report_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1665,8 +1665,8 @@ async def begin_get_azure_reachability_report( :type parameters: ~azure.mgmt.network.v2020_08_01.models.AzureReachabilityReportParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AzureReachabilityReport or the result of cls(response) @@ -1762,7 +1762,7 @@ async def _list_available_providers_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1795,8 +1795,8 @@ async def begin_list_available_providers( :type parameters: ~azure.mgmt.network.v2020_08_01.models.AvailableProvidersListParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AvailableProvidersList or the result of cls(response) @@ -1892,7 +1892,7 @@ async def _get_network_configuration_diagnostic_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1928,8 +1928,8 @@ async def begin_get_network_configuration_diagnostic( :type parameters: ~azure.mgmt.network.v2020_08_01.models.NetworkConfigurationDiagnosticParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkConfigurationDiagnosticResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_p2_svpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_p2_svpn_gateways_operations.py index 29a74c50d423..c174f23d82cd 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_p2_svpn_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_p2_svpn_gateways_operations.py @@ -176,8 +176,8 @@ async def begin_create_or_update( :type p2_s_vpn_gateway_parameters: ~azure.mgmt.network.v2020_08_01.models.P2SVpnGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -303,8 +303,8 @@ async def begin_update_tags( :type p2_s_vpn_gateway_parameters: ~azure.mgmt.network.v2020_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -415,8 +415,8 @@ async def begin_delete( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -664,8 +664,8 @@ async def begin_reset( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -790,8 +790,8 @@ async def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2020_08_01.models.P2SVpnProfileParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnProfileResponse or the result of cls(response) @@ -908,8 +908,8 @@ async def begin_get_p2_s_vpn_connection_health( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -1034,8 +1034,8 @@ async def begin_get_p2_s_vpn_connection_health_detailed( :type request: ~azure.mgmt.network.v2020_08_01.models.P2SVpnConnectionHealthRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either P2SVpnConnectionHealth or the result of cls(response) @@ -1156,8 +1156,8 @@ async def begin_disconnect_p2_s_vpn_connections( :type request: ~azure.mgmt.network.v2020_08_01.models.P2SVpnConnectionRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_packet_captures_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_packet_captures_operations.py index 6578c76810de..bba78bc78754 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_packet_captures_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_packet_captures_operations.py @@ -88,7 +88,7 @@ async def _create_initial( if response.status_code not in [201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PacketCaptureResult', pipeline_response) @@ -119,8 +119,8 @@ async def begin_create( :type parameters: ~azure.mgmt.network.v2020_08_01.models.PacketCapture :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PacketCaptureResult or the result of cls(response) @@ -227,7 +227,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PacketCaptureResult', pipeline_response) @@ -277,7 +277,7 @@ async def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -302,8 +302,8 @@ async def begin_delete( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -393,7 +393,7 @@ async def _stop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -418,8 +418,8 @@ async def begin_stop( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -509,7 +509,7 @@ async def _get_status_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -541,8 +541,8 @@ async def begin_get_status( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PacketCaptureQueryStatusResult or the result of cls(response) @@ -660,7 +660,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_private_dns_zone_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_private_dns_zone_groups_operations.py index f2b1cf48ef9a..315c5f38fb32 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_private_dns_zone_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_private_dns_zone_groups_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type private_dns_zone_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -300,8 +300,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_08_01.models.PrivateDnsZoneGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PrivateDnsZoneGroup or the result of cls(response) @@ -420,7 +420,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_private_endpoints_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_private_endpoints_operations.py index c33d291ec1b7..c342d37f71fd 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_private_endpoints_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_private_endpoints_operations.py @@ -80,7 +80,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -102,8 +102,8 @@ async def begin_delete( :type private_endpoint_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -205,7 +205,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateEndpoint', pipeline_response) @@ -259,7 +259,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -291,8 +291,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_08_01.models.PrivateEndpoint :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PrivateEndpoint or the result of cls(response) @@ -405,7 +405,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -472,7 +472,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_private_link_services_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_private_link_services_operations.py index 383fd3ed322a..d466f68160d3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_private_link_services_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_private_link_services_operations.py @@ -80,7 +80,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -102,8 +102,8 @@ async def begin_delete( :type service_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -205,7 +205,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateLinkService', pipeline_response) @@ -259,7 +259,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -291,8 +291,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_08_01.models.PrivateLinkService :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PrivateLinkService or the result of cls(response) @@ -405,7 +405,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -472,7 +472,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -541,7 +541,7 @@ async def get_private_endpoint_connection( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateEndpointConnection', pipeline_response) @@ -612,7 +612,7 @@ async def update_private_endpoint_connection( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateEndpointConnection', pipeline_response) @@ -662,7 +662,7 @@ async def _delete_private_endpoint_connection_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -687,8 +687,8 @@ async def begin_delete_private_endpoint_connection( :type pe_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -803,7 +803,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -881,8 +881,8 @@ async def begin_check_private_link_service_visibility( :type parameters: ~azure.mgmt.network.v2020_08_01.models.CheckPrivateLinkServiceVisibilityRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PrivateLinkServiceVisibility or the result of cls(response) @@ -1006,8 +1006,8 @@ async def begin_check_private_link_service_visibility_by_resource_group( :type parameters: ~azure.mgmt.network.v2020_08_01.models.CheckPrivateLinkServiceVisibilityRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PrivateLinkServiceVisibility or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_public_ip_addresses_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_public_ip_addresses_operations.py index 9d0ad0dccfe6..92081043b124 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_public_ip_addresses_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_public_ip_addresses_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type public_ip_address_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -288,8 +288,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_08_01.models.PublicIPAddress :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PublicIPAddress or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_public_ip_prefixes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_public_ip_prefixes_operations.py index 22cadac2900f..0d48b7bf335d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_public_ip_prefixes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_public_ip_prefixes_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type public_ip_prefix_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -288,8 +288,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_08_01.models.PublicIPPrefix :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PublicIPPrefix or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_route_filter_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_route_filter_rules_operations.py index f2d3911dcce7..8a465f8cb794 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_route_filter_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_route_filter_rules_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -300,8 +300,8 @@ async def begin_create_or_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2020_08_01.models.RouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilterRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_route_filters_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_route_filters_operations.py index 70507aa919c8..7b258ca58504 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_route_filters_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_route_filters_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type route_filter_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -289,8 +289,8 @@ async def begin_create_or_update( :type route_filter_parameters: ~azure.mgmt.network.v2020_08_01.models.RouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilter or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_route_tables_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_route_tables_operations.py index 5b3a42888f0b..3792a0b95c6d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_route_tables_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_route_tables_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -288,8 +288,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_08_01.models.RouteTable :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteTable or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_routes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_routes_operations.py index cc6df955e5cd..f80e20f0966d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_routes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_routes_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type route_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -299,8 +299,8 @@ async def begin_create_or_update( :type route_parameters: ~azure.mgmt.network.v2020_08_01.models.Route :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Route or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_security_partner_providers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_security_partner_providers_operations.py index e696bcea99c0..4d5aff1eaf43 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_security_partner_providers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_security_partner_providers_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type security_partner_provider_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -284,8 +284,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_08_01.models.SecurityPartnerProvider :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either SecurityPartnerProvider or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_security_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_security_rules_operations.py index e300f9f26e2e..ed0c9303d44f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_security_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_security_rules_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type security_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -300,8 +300,8 @@ async def begin_create_or_update( :type security_rule_parameters: ~azure.mgmt.network.v2020_08_01.models.SecurityRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either SecurityRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_service_endpoint_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_service_endpoint_policies_operations.py index 666d86159173..1e03bdbfa32c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_service_endpoint_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_service_endpoint_policies_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type service_endpoint_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -289,8 +289,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_08_01.models.ServiceEndpointPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ServiceEndpointPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_service_endpoint_policy_definitions_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_service_endpoint_policy_definitions_operations.py index f12c1882bc47..804e3dfe3efc 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_service_endpoint_policy_definitions_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_service_endpoint_policy_definitions_operations.py @@ -107,8 +107,8 @@ async def begin_delete( :type service_endpoint_policy_definition_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -304,8 +304,8 @@ async def begin_create_or_update( :type service_endpoint_policy_definitions: ~azure.mgmt.network.v2020_08_01.models.ServiceEndpointPolicyDefinition :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ServiceEndpointPolicyDefinition or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_subnets_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_subnets_operations.py index 81485b3937d0..a096476b2404 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_subnets_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_subnets_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type subnet_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -304,8 +304,8 @@ async def begin_create_or_update( :type subnet_parameters: ~azure.mgmt.network.v2020_08_01.models.Subnet :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Subnet or the result of cls(response) @@ -433,8 +433,8 @@ async def begin_prepare_network_policies( :type prepare_network_policies_request_parameters: ~azure.mgmt.network.v2020_08_01.models.PrepareNetworkPoliciesRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -559,8 +559,8 @@ async def begin_unprepare_network_policies( :type unprepare_network_policies_request_parameters: ~azure.mgmt.network.v2020_08_01.models.UnprepareNetworkPoliciesRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_virtual_appliance_sites_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_virtual_appliance_sites_operations.py index 92af8b48b1f0..cacd67bfab7b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_virtual_appliance_sites_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_virtual_appliance_sites_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type site_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -300,8 +300,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_08_01.models.VirtualApplianceSite :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualApplianceSite or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_virtual_hub_bgp_connection_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_virtual_hub_bgp_connection_operations.py index de9174dc9b42..e35ca804004a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_virtual_hub_bgp_connection_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_virtual_hub_bgp_connection_operations.py @@ -184,8 +184,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_08_01.models.BgpConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either BgpConnection or the result of cls(response) @@ -303,8 +303,8 @@ async def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_virtual_hub_bgp_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_virtual_hub_bgp_connections_operations.py index bb394f98851f..7fab40d4df9a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_virtual_hub_bgp_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_virtual_hub_bgp_connections_operations.py @@ -185,8 +185,8 @@ async def begin_list_learned_routes( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PeerRouteList or the result of cls(response) @@ -308,8 +308,8 @@ async def begin_list_advertised_routes( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PeerRouteList or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_virtual_hub_ip_configuration_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_virtual_hub_ip_configuration_operations.py index 75e575601e10..3b65dd005c26 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_virtual_hub_ip_configuration_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_virtual_hub_ip_configuration_operations.py @@ -185,8 +185,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_08_01.models.HubIpConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either HubIpConfiguration or the result of cls(response) @@ -304,8 +304,8 @@ async def begin_delete( :type ip_config_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_virtual_hub_route_table_v2_s_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_virtual_hub_route_table_v2_s_operations.py index 19940e14ceb2..504b88b39fee 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_virtual_hub_route_table_v2_s_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_virtual_hub_route_table_v2_s_operations.py @@ -95,7 +95,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualHubRouteTableV2', pipeline_response) @@ -151,7 +151,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -188,8 +188,8 @@ async def begin_create_or_update( :type virtual_hub_route_table_v2_parameters: ~azure.mgmt.network.v2020_08_01.models.VirtualHubRouteTableV2 :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualHubRouteTableV2 or the result of cls(response) @@ -283,7 +283,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -308,8 +308,8 @@ async def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_virtual_hubs_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_virtual_hubs_operations.py index fcb16bec7f72..854b0ffa8b24 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_virtual_hubs_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_virtual_hubs_operations.py @@ -175,8 +175,8 @@ async def begin_create_or_update( :type virtual_hub_parameters: ~azure.mgmt.network.v2020_08_01.models.VirtualHub :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualHub or the result of cls(response) @@ -353,8 +353,8 @@ async def begin_delete( :type virtual_hub_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -610,8 +610,8 @@ async def begin_get_effective_virtual_hub_routes( :type effective_routes_parameters: ~azure.mgmt.network.v2020_08_01.models.EffectiveRoutesParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_virtual_network_gateway_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_virtual_network_gateway_connections_operations.py index f2463d583829..e2d037a8a40c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_virtual_network_gateway_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_virtual_network_gateway_connections_operations.py @@ -119,8 +119,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_08_01.models.VirtualNetworkGatewayConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -291,8 +291,8 @@ async def begin_delete( :type virtual_network_gateway_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -414,8 +414,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2020_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -545,8 +545,8 @@ async def begin_set_shared_key( :type parameters: ~azure.mgmt.network.v2020_08_01.models.ConnectionSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionSharedKey or the result of cls(response) @@ -806,8 +806,8 @@ async def begin_reset_shared_key( :type parameters: ~azure.mgmt.network.v2020_08_01.models.ConnectionResetSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionResetSharedKey or the result of cls(response) @@ -906,7 +906,7 @@ async def _start_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -938,8 +938,8 @@ async def begin_start_packet_capture( :type parameters: ~azure.mgmt.network.v2020_08_01.models.VpnPacketCaptureStartParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1035,7 +1035,7 @@ async def _stop_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -1067,8 +1067,8 @@ async def begin_stop_packet_capture( :type parameters: ~azure.mgmt.network.v2020_08_01.models.VpnPacketCaptureStopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1158,7 +1158,7 @@ async def _get_ike_sas_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -1187,8 +1187,8 @@ async def begin_get_ike_sas( :type virtual_network_gateway_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_virtual_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_virtual_network_gateways_operations.py index 57bc6dce9602..f53ff52b5a4b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_virtual_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_virtual_network_gateways_operations.py @@ -117,8 +117,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_08_01.models.VirtualNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -287,8 +287,8 @@ async def begin_delete( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -409,8 +409,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2020_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -677,8 +677,8 @@ async def begin_reset( :type gateway_vip: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -790,8 +790,8 @@ async def begin_reset_vpn_client_shared_key( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -914,8 +914,8 @@ async def begin_generatevpnclientpackage( :type parameters: ~azure.mgmt.network.v2020_08_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1042,8 +1042,8 @@ async def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2020_08_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1160,8 +1160,8 @@ async def begin_get_vpn_profile_package_url( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1282,8 +1282,8 @@ async def begin_get_bgp_peer_status( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either BgpPeerStatusListResult or the result of cls(response) @@ -1458,8 +1458,8 @@ async def begin_get_learned_routes( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1580,8 +1580,8 @@ async def begin_get_advertised_routes( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1708,8 +1708,8 @@ async def begin_set_vpnclient_ipsec_parameters( :type vpnclient_ipsec_params: ~azure.mgmt.network.v2020_08_01.models.VpnClientIPsecParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnClientIPsecParameters or the result of cls(response) @@ -1825,8 +1825,8 @@ async def begin_get_vpnclient_ipsec_parameters( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnClientIPsecParameters or the result of cls(response) @@ -1991,7 +1991,7 @@ async def _start_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -2022,8 +2022,8 @@ async def begin_start_packet_capture( :type parameters: ~azure.mgmt.network.v2020_08_01.models.VpnPacketCaptureStartParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -2119,7 +2119,7 @@ async def _stop_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -2150,8 +2150,8 @@ async def begin_stop_packet_capture( :type parameters: ~azure.mgmt.network.v2020_08_01.models.VpnPacketCaptureStopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -2268,8 +2268,8 @@ async def begin_get_vpnclient_connection_health( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnClientConnectionHealthDetailListResult or the result of cls(response) @@ -2388,8 +2388,8 @@ async def begin_disconnect_virtual_network_gateway_vpn_connections( :type request: ~azure.mgmt.network.v2020_08_01.models.P2SVpnConnectionRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_virtual_network_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_virtual_network_peerings_operations.py index c66a31047413..dedfd320d23a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_virtual_network_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_virtual_network_peerings_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type virtual_network_peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -300,8 +300,8 @@ async def begin_create_or_update( :type virtual_network_peering_parameters: ~azure.mgmt.network.v2020_08_01.models.VirtualNetworkPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_virtual_network_taps_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_virtual_network_taps_operations.py index 9c2d512bd174..f312ddeaf4fe 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_virtual_network_taps_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_virtual_network_taps_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type tap_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -283,8 +283,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_08_01.models.VirtualNetworkTap :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkTap or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_virtual_networks_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_virtual_networks_operations.py index 6a3a86bf2f56..68c4bc567290 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_virtual_networks_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_virtual_networks_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type virtual_network_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -288,8 +288,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_08_01.models.VirtualNetwork :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetwork or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_virtual_router_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_virtual_router_peerings_operations.py index 8823e2c910be..828564fb6069 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_virtual_router_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_virtual_router_peerings_operations.py @@ -82,7 +82,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -107,8 +107,8 @@ async def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -211,7 +211,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualRouterPeering', pipeline_response) @@ -267,7 +267,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -303,8 +303,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_08_01.models.VirtualRouterPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualRouterPeering or the result of cls(response) @@ -423,7 +423,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_virtual_routers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_virtual_routers_operations.py index 71e914f97729..f32eaf1230b2 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_virtual_routers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_virtual_routers_operations.py @@ -80,7 +80,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -102,8 +102,8 @@ async def begin_delete( :type virtual_router_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -205,7 +205,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualRouter', pipeline_response) @@ -259,7 +259,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -291,8 +291,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_08_01.models.VirtualRouter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualRouter or the result of cls(response) @@ -405,7 +405,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -472,7 +472,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_virtual_wans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_virtual_wans_operations.py index b1b2a8513937..91c930806666 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_virtual_wans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_virtual_wans_operations.py @@ -175,8 +175,8 @@ async def begin_create_or_update( :type wan_parameters: ~azure.mgmt.network.v2020_08_01.models.VirtualWAN :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualWAN or the result of cls(response) @@ -353,8 +353,8 @@ async def begin_delete( :type virtual_wan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_vpn_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_vpn_connections_operations.py index 60a677fa6390..8439a4f719f1 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_vpn_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_vpn_connections_operations.py @@ -185,8 +185,8 @@ async def begin_create_or_update( :type vpn_connection_parameters: ~azure.mgmt.network.v2020_08_01.models.VpnConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnConnection or the result of cls(response) @@ -304,8 +304,8 @@ async def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -437,8 +437,8 @@ async def begin_start_packet_capture( :type parameters: ~azure.mgmt.network.v2020_08_01.models.VpnConnectionPacketCaptureStartParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -574,8 +574,8 @@ async def begin_stop_packet_capture( :type parameters: ~azure.mgmt.network.v2020_08_01.models.VpnConnectionPacketCaptureStopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_vpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_vpn_gateways_operations.py index 120567abb145..b5a0e68b86c0 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_vpn_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_vpn_gateways_operations.py @@ -176,8 +176,8 @@ async def begin_create_or_update( :type vpn_gateway_parameters: ~azure.mgmt.network.v2020_08_01.models.VpnGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnGateway or the result of cls(response) @@ -302,8 +302,8 @@ async def begin_update_tags( :type vpn_gateway_parameters: ~azure.mgmt.network.v2020_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnGateway or the result of cls(response) @@ -414,8 +414,8 @@ async def begin_delete( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -527,8 +527,8 @@ async def begin_reset( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnGateway or the result of cls(response) @@ -656,8 +656,8 @@ async def begin_start_packet_capture( :type parameters: ~azure.mgmt.network.v2020_08_01.models.VpnGatewayPacketCaptureStartParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -786,8 +786,8 @@ async def begin_stop_packet_capture( :type parameters: ~azure.mgmt.network.v2020_08_01.models.VpnGatewayPacketCaptureStopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py index 51cd89eb8b49..22e64d20d936 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py @@ -106,8 +106,8 @@ async def begin_list( :type virtual_wan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnServerConfigurationsResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_vpn_server_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_vpn_server_configurations_operations.py index 895e722732b0..3c35a2f49eb3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_vpn_server_configurations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_vpn_server_configurations_operations.py @@ -178,8 +178,8 @@ async def begin_create_or_update( :type vpn_server_configuration_parameters: ~azure.mgmt.network.v2020_08_01.models.VpnServerConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnServerConfiguration or the result of cls(response) @@ -357,8 +357,8 @@ async def begin_delete( :type vpn_server_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_vpn_sites_configuration_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_vpn_sites_configuration_operations.py index 24c4527deae8..163561874919 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_vpn_sites_configuration_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_vpn_sites_configuration_operations.py @@ -110,8 +110,8 @@ async def begin_download( :type request: ~azure.mgmt.network.v2020_08_01.models.GetVpnSitesConfigurationRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_vpn_sites_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_vpn_sites_operations.py index 56e24734bb85..7da47fb94ed1 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_vpn_sites_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_vpn_sites_operations.py @@ -175,8 +175,8 @@ async def begin_create_or_update( :type vpn_site_parameters: ~azure.mgmt.network.v2020_08_01.models.VpnSite :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnSite or the result of cls(response) @@ -353,8 +353,8 @@ async def begin_delete( :type vpn_site_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_web_application_firewall_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_web_application_firewall_policies_operations.py index 9da95ae1b568..bc2361057b57 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_web_application_firewall_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/aio/operations/_web_application_firewall_policies_operations.py @@ -365,8 +365,8 @@ async def begin_delete( :type policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/models/_models.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/models/_models.py index 69a6d1a4e9d1..ae8427823f3e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/models/_models.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/models/_models.py @@ -129,68 +129,64 @@ class ApplicationGateway(Resource): :vartype operational_state: str or ~azure.mgmt.network.v2020_08_01.models.ApplicationGatewayOperationalState :param gateway_ip_configurations: Subnets of the application gateway resource. For default - limits, see `Application Gateway limits `_. + limits, see `Application Gateway limits + `_. :type gateway_ip_configurations: list[~azure.mgmt.network.v2020_08_01.models.ApplicationGatewayIPConfiguration] :param authentication_certificates: Authentication certificates of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type authentication_certificates: list[~azure.mgmt.network.v2020_08_01.models.ApplicationGatewayAuthenticationCertificate] :param trusted_root_certificates: Trusted Root certificates of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type trusted_root_certificates: list[~azure.mgmt.network.v2020_08_01.models.ApplicationGatewayTrustedRootCertificate] :param trusted_client_certificates: Trusted client certificates of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type trusted_client_certificates: list[~azure.mgmt.network.v2020_08_01.models.ApplicationGatewayTrustedClientCertificate] :param ssl_certificates: SSL certificates of the application gateway resource. For default - limits, see `Application Gateway limits `_. + limits, see `Application Gateway limits + `_. :type ssl_certificates: list[~azure.mgmt.network.v2020_08_01.models.ApplicationGatewaySslCertificate] :param frontend_ip_configurations: Frontend IP addresses of the application gateway resource. - For default limits, see `Application Gateway limits `_. + For default limits, see `Application Gateway limits + `_. :type frontend_ip_configurations: list[~azure.mgmt.network.v2020_08_01.models.ApplicationGatewayFrontendIPConfiguration] :param frontend_ports: Frontend ports of the application gateway resource. For default limits, - see `Application Gateway limits `_. + see `Application Gateway limits + `_. :type frontend_ports: list[~azure.mgmt.network.v2020_08_01.models.ApplicationGatewayFrontendPort] :param probes: Probes of the application gateway resource. :type probes: list[~azure.mgmt.network.v2020_08_01.models.ApplicationGatewayProbe] :param backend_address_pools: Backend address pool of the application gateway resource. For - default limits, see `Application Gateway limits `_. + default limits, see `Application Gateway limits + `_. :type backend_address_pools: list[~azure.mgmt.network.v2020_08_01.models.ApplicationGatewayBackendAddressPool] :param backend_http_settings_collection: Backend http settings of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type backend_http_settings_collection: list[~azure.mgmt.network.v2020_08_01.models.ApplicationGatewayBackendHttpSettings] :param http_listeners: Http listeners of the application gateway resource. For default limits, - see `Application Gateway limits `_. + see `Application Gateway limits + `_. :type http_listeners: list[~azure.mgmt.network.v2020_08_01.models.ApplicationGatewayHttpListener] :param ssl_profiles: SSL profiles of the application gateway resource. For default limits, see - `Application Gateway limits `_. + `Application Gateway limits + `_. :type ssl_profiles: list[~azure.mgmt.network.v2020_08_01.models.ApplicationGatewaySslProfile] :param url_path_maps: URL path map of the application gateway resource. For default limits, see - `Application Gateway limits `_. + `Application Gateway limits + `_. :type url_path_maps: list[~azure.mgmt.network.v2020_08_01.models.ApplicationGatewayUrlPathMap] :param request_routing_rules: Request routing rules of the application gateway resource. :type request_routing_rules: @@ -199,8 +195,8 @@ class ApplicationGateway(Resource): :type rewrite_rule_sets: list[~azure.mgmt.network.v2020_08_01.models.ApplicationGatewayRewriteRuleSet] :param redirect_configurations: Redirect configurations of the application gateway resource. - For default limits, see `Application Gateway limits `_. + For default limits, see `Application Gateway limits + `_. :type redirect_configurations: list[~azure.mgmt.network.v2020_08_01.models.ApplicationGatewayRedirectConfiguration] :param web_application_firewall_configuration: Web application firewall configuration. @@ -2112,7 +2108,7 @@ class ApplicationGatewayRewriteRuleCondition(msrest.serialization.Model): :param pattern: The pattern, either fixed string or regular expression, that evaluates the truthfulness of the condition. :type pattern: str - :param ignore_case: Setting this paramter to truth value with force the pattern to do a case + :param ignore_case: Setting this parameter to truth value with force the pattern to do a case in-sensitive comparison. :type ignore_case: bool :param negate: Setting this value as truth will force to check the negation of the condition @@ -4343,7 +4339,7 @@ class BastionActiveSession(msrest.serialization.Model): :ivar session_id: A unique id for the session. :vartype session_id: str :ivar start_time: The time when the session started. - :vartype start_time: object + :vartype start_time: str :ivar target_subscription_id: The subscription id for the target virtual machine. :vartype target_subscription_id: str :ivar resource_type: The type of the resource. @@ -4381,7 +4377,7 @@ class BastionActiveSession(msrest.serialization.Model): _attribute_map = { 'session_id': {'key': 'sessionId', 'type': 'str'}, - 'start_time': {'key': 'startTime', 'type': 'object'}, + 'start_time': {'key': 'startTime', 'type': 'str'}, 'target_subscription_id': {'key': 'targetSubscriptionId', 'type': 'str'}, 'resource_type': {'key': 'resourceType', 'type': 'str'}, 'target_host_name': {'key': 'targetHostName', 'type': 'str'}, @@ -4638,7 +4634,7 @@ class BastionShareableLink(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param vm: Required. Reference of the virtual machine resource. - :type vm: ~azure.mgmt.network.v2020_08_01.models.Resource + :type vm: ~azure.mgmt.network.v2020_08_01.models.VM :ivar bsl: The unique Bastion Shareable Link to the virtual machine. :vartype bsl: str :ivar created_at: The time when the link was created. @@ -4656,7 +4652,7 @@ class BastionShareableLink(msrest.serialization.Model): } _attribute_map = { - 'vm': {'key': 'vm', 'type': 'Resource'}, + 'vm': {'key': 'vm', 'type': 'VM'}, 'bsl': {'key': 'bsl', 'type': 'str'}, 'created_at': {'key': 'createdAt', 'type': 'str'}, 'message': {'key': 'message', 'type': 'str'}, @@ -6360,7 +6356,7 @@ class ContainerNetworkInterface(SubResource): ~azure.mgmt.network.v2020_08_01.models.ContainerNetworkInterfaceConfiguration :param container: Reference to the container to which this container network interface is attached. - :type container: ~azure.mgmt.network.v2020_08_01.models.SubResource + :type container: ~azure.mgmt.network.v2020_08_01.models.Container :ivar ip_configurations: Reference to the ip configuration on this container nic. :vartype ip_configurations: list[~azure.mgmt.network.v2020_08_01.models.ContainerNetworkInterfaceIpConfiguration] @@ -6383,7 +6379,7 @@ class ContainerNetworkInterface(SubResource): 'type': {'key': 'type', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, 'container_network_interface_configuration': {'key': 'properties.containerNetworkInterfaceConfiguration', 'type': 'ContainerNetworkInterfaceConfiguration'}, - 'container': {'key': 'properties.container', 'type': 'SubResource'}, + 'container': {'key': 'properties.container', 'type': 'Container'}, 'ip_configurations': {'key': 'properties.ipConfigurations', 'type': '[ContainerNetworkInterfaceIpConfiguration]'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, } @@ -15334,8 +15330,8 @@ class PacketCaptureStorageLocation(msrest.serialization.Model): :param storage_id: The ID of the storage account to save the packet capture session. Required if no local file path is provided. :type storage_id: str - :param storage_path: The URI of the storage path to save the packet capture. Must be a well- - formed URI describing the location to save the packet capture. + :param storage_path: The URI of the storage path to save the packet capture. Must be a + well-formed URI describing the location to save the packet capture. :type storage_path: str :param file_path: A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no @@ -16055,9 +16051,10 @@ class PrivateLinkService(Resource): :vartype private_endpoint_connections: list[~azure.mgmt.network.v2020_08_01.models.PrivateEndpointConnection] :param visibility: The visibility list of the private link service. - :type visibility: ~azure.mgmt.network.v2020_08_01.models.ResourceSet + :type visibility: ~azure.mgmt.network.v2020_08_01.models.PrivateLinkServicePropertiesVisibility :param auto_approval: The auto-approval list of the private link service. - :type auto_approval: ~azure.mgmt.network.v2020_08_01.models.ResourceSet + :type auto_approval: + ~azure.mgmt.network.v2020_08_01.models.PrivateLinkServicePropertiesAutoApproval :param fqdns: The list of Fqdn. :type fqdns: list[str] :ivar alias: The alias of the private link service. @@ -16090,8 +16087,8 @@ class PrivateLinkService(Resource): 'network_interfaces': {'key': 'properties.networkInterfaces', 'type': '[NetworkInterface]'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'private_endpoint_connections': {'key': 'properties.privateEndpointConnections', 'type': '[PrivateEndpointConnection]'}, - 'visibility': {'key': 'properties.visibility', 'type': 'ResourceSet'}, - 'auto_approval': {'key': 'properties.autoApproval', 'type': 'ResourceSet'}, + 'visibility': {'key': 'properties.visibility', 'type': 'PrivateLinkServicePropertiesVisibility'}, + 'auto_approval': {'key': 'properties.autoApproval', 'type': 'PrivateLinkServicePropertiesAutoApproval'}, 'fqdns': {'key': 'properties.fqdns', 'type': '[str]'}, 'alias': {'key': 'properties.alias', 'type': 'str'}, 'enable_proxy_protocol': {'key': 'properties.enableProxyProtocol', 'type': 'bool'}, @@ -19787,6 +19784,8 @@ class VirtualNetworkGateway(Resource): :type location: str :param tags: A set of tags. Resource tags. :type tags: dict[str, str] + :param extended_location: The extended location of type local virtual network gateway. + :type extended_location: ~azure.mgmt.network.v2020_08_01.models.ExtendedLocation :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str :param ip_configurations: IP configurations for virtual network gateway. @@ -19834,13 +19833,9 @@ class VirtualNetworkGateway(Resource): :ivar inbound_dns_forwarding_endpoint: The IP address allocated by the gateway to which dns requests can be sent. :vartype inbound_dns_forwarding_endpoint: str - :param v_net_extended_location_resource_id: MAS FIJI customer vnet resource id. - VirtualNetworkGateway of type local gateway is associated with the customer vnet. + :param v_net_extended_location_resource_id: Customer vnet resource id. VirtualNetworkGateway of + type local gateway is associated with the customer vnet. :type v_net_extended_location_resource_id: str - :param virtual_network_extended_location: The extended location of type local virtual network - gateway. - :type virtual_network_extended_location: - ~azure.mgmt.network.v2020_08_01.models.ExtendedLocation """ _validation = { @@ -19858,6 +19853,7 @@ class VirtualNetworkGateway(Resource): 'type': {'key': 'type', 'type': 'str'}, 'location': {'key': 'location', 'type': 'str'}, 'tags': {'key': 'tags', 'type': '{str}'}, + 'extended_location': {'key': 'extendedLocation', 'type': 'ExtendedLocation'}, 'etag': {'key': 'etag', 'type': 'str'}, 'ip_configurations': {'key': 'properties.ipConfigurations', 'type': '[VirtualNetworkGatewayIPConfiguration]'}, 'gateway_type': {'key': 'properties.gatewayType', 'type': 'str'}, @@ -19876,7 +19872,6 @@ class VirtualNetworkGateway(Resource): 'enable_dns_forwarding': {'key': 'properties.enableDnsForwarding', 'type': 'bool'}, 'inbound_dns_forwarding_endpoint': {'key': 'properties.inboundDnsForwardingEndpoint', 'type': 'str'}, 'v_net_extended_location_resource_id': {'key': 'properties.vNetExtendedLocationResourceId', 'type': 'str'}, - 'virtual_network_extended_location': {'key': 'properties.virtualNetworkExtendedLocation', 'type': 'ExtendedLocation'}, } def __init__( @@ -19884,6 +19879,7 @@ def __init__( **kwargs ): super(VirtualNetworkGateway, self).__init__(**kwargs) + self.extended_location = kwargs.get('extended_location', None) self.etag = None self.ip_configurations = kwargs.get('ip_configurations', None) self.gateway_type = kwargs.get('gateway_type', None) @@ -19902,7 +19898,6 @@ def __init__( self.enable_dns_forwarding = kwargs.get('enable_dns_forwarding', None) self.inbound_dns_forwarding_endpoint = None self.v_net_extended_location_resource_id = kwargs.get('v_net_extended_location_resource_id', None) - self.virtual_network_extended_location = kwargs.get('virtual_network_extended_location', None) class VirtualNetworkGatewayConnection(Resource): @@ -20481,8 +20476,8 @@ class VirtualNetworkPeering(SubResource): :type use_remote_gateways: bool :param remote_virtual_network: The reference to the remote virtual network. The remote virtual network can be in the same or different region (preview). See here to register for the preview - and learn more (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create- - peering). + and learn more + (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering). :type remote_virtual_network: ~azure.mgmt.network.v2020_08_01.models.SubResource :param remote_address_space: The reference to the remote virtual network address space. :type remote_address_space: ~azure.mgmt.network.v2020_08_01.models.AddressSpace diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/models/_models_py3.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/models/_models_py3.py index 9bfec6472903..010c4149ff4d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/models/_models_py3.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/models/_models_py3.py @@ -144,68 +144,64 @@ class ApplicationGateway(Resource): :vartype operational_state: str or ~azure.mgmt.network.v2020_08_01.models.ApplicationGatewayOperationalState :param gateway_ip_configurations: Subnets of the application gateway resource. For default - limits, see `Application Gateway limits `_. + limits, see `Application Gateway limits + `_. :type gateway_ip_configurations: list[~azure.mgmt.network.v2020_08_01.models.ApplicationGatewayIPConfiguration] :param authentication_certificates: Authentication certificates of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type authentication_certificates: list[~azure.mgmt.network.v2020_08_01.models.ApplicationGatewayAuthenticationCertificate] :param trusted_root_certificates: Trusted Root certificates of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type trusted_root_certificates: list[~azure.mgmt.network.v2020_08_01.models.ApplicationGatewayTrustedRootCertificate] :param trusted_client_certificates: Trusted client certificates of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type trusted_client_certificates: list[~azure.mgmt.network.v2020_08_01.models.ApplicationGatewayTrustedClientCertificate] :param ssl_certificates: SSL certificates of the application gateway resource. For default - limits, see `Application Gateway limits `_. + limits, see `Application Gateway limits + `_. :type ssl_certificates: list[~azure.mgmt.network.v2020_08_01.models.ApplicationGatewaySslCertificate] :param frontend_ip_configurations: Frontend IP addresses of the application gateway resource. - For default limits, see `Application Gateway limits `_. + For default limits, see `Application Gateway limits + `_. :type frontend_ip_configurations: list[~azure.mgmt.network.v2020_08_01.models.ApplicationGatewayFrontendIPConfiguration] :param frontend_ports: Frontend ports of the application gateway resource. For default limits, - see `Application Gateway limits `_. + see `Application Gateway limits + `_. :type frontend_ports: list[~azure.mgmt.network.v2020_08_01.models.ApplicationGatewayFrontendPort] :param probes: Probes of the application gateway resource. :type probes: list[~azure.mgmt.network.v2020_08_01.models.ApplicationGatewayProbe] :param backend_address_pools: Backend address pool of the application gateway resource. For - default limits, see `Application Gateway limits `_. + default limits, see `Application Gateway limits + `_. :type backend_address_pools: list[~azure.mgmt.network.v2020_08_01.models.ApplicationGatewayBackendAddressPool] :param backend_http_settings_collection: Backend http settings of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type backend_http_settings_collection: list[~azure.mgmt.network.v2020_08_01.models.ApplicationGatewayBackendHttpSettings] :param http_listeners: Http listeners of the application gateway resource. For default limits, - see `Application Gateway limits `_. + see `Application Gateway limits + `_. :type http_listeners: list[~azure.mgmt.network.v2020_08_01.models.ApplicationGatewayHttpListener] :param ssl_profiles: SSL profiles of the application gateway resource. For default limits, see - `Application Gateway limits `_. + `Application Gateway limits + `_. :type ssl_profiles: list[~azure.mgmt.network.v2020_08_01.models.ApplicationGatewaySslProfile] :param url_path_maps: URL path map of the application gateway resource. For default limits, see - `Application Gateway limits `_. + `Application Gateway limits + `_. :type url_path_maps: list[~azure.mgmt.network.v2020_08_01.models.ApplicationGatewayUrlPathMap] :param request_routing_rules: Request routing rules of the application gateway resource. :type request_routing_rules: @@ -214,8 +210,8 @@ class ApplicationGateway(Resource): :type rewrite_rule_sets: list[~azure.mgmt.network.v2020_08_01.models.ApplicationGatewayRewriteRuleSet] :param redirect_configurations: Redirect configurations of the application gateway resource. - For default limits, see `Application Gateway limits `_. + For default limits, see `Application Gateway limits + `_. :type redirect_configurations: list[~azure.mgmt.network.v2020_08_01.models.ApplicationGatewayRedirectConfiguration] :param web_application_firewall_configuration: Web application firewall configuration. @@ -2374,7 +2370,7 @@ class ApplicationGatewayRewriteRuleCondition(msrest.serialization.Model): :param pattern: The pattern, either fixed string or regular expression, that evaluates the truthfulness of the condition. :type pattern: str - :param ignore_case: Setting this paramter to truth value with force the pattern to do a case + :param ignore_case: Setting this parameter to truth value with force the pattern to do a case in-sensitive comparison. :type ignore_case: bool :param negate: Setting this value as truth will force to check the negation of the condition @@ -4869,7 +4865,7 @@ class BastionActiveSession(msrest.serialization.Model): :ivar session_id: A unique id for the session. :vartype session_id: str :ivar start_time: The time when the session started. - :vartype start_time: object + :vartype start_time: str :ivar target_subscription_id: The subscription id for the target virtual machine. :vartype target_subscription_id: str :ivar resource_type: The type of the resource. @@ -4907,7 +4903,7 @@ class BastionActiveSession(msrest.serialization.Model): _attribute_map = { 'session_id': {'key': 'sessionId', 'type': 'str'}, - 'start_time': {'key': 'startTime', 'type': 'object'}, + 'start_time': {'key': 'startTime', 'type': 'str'}, 'target_subscription_id': {'key': 'targetSubscriptionId', 'type': 'str'}, 'resource_type': {'key': 'resourceType', 'type': 'str'}, 'target_host_name': {'key': 'targetHostName', 'type': 'str'}, @@ -5185,7 +5181,7 @@ class BastionShareableLink(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param vm: Required. Reference of the virtual machine resource. - :type vm: ~azure.mgmt.network.v2020_08_01.models.Resource + :type vm: ~azure.mgmt.network.v2020_08_01.models.VM :ivar bsl: The unique Bastion Shareable Link to the virtual machine. :vartype bsl: str :ivar created_at: The time when the link was created. @@ -5203,7 +5199,7 @@ class BastionShareableLink(msrest.serialization.Model): } _attribute_map = { - 'vm': {'key': 'vm', 'type': 'Resource'}, + 'vm': {'key': 'vm', 'type': 'VM'}, 'bsl': {'key': 'bsl', 'type': 'str'}, 'created_at': {'key': 'createdAt', 'type': 'str'}, 'message': {'key': 'message', 'type': 'str'}, @@ -5212,7 +5208,7 @@ class BastionShareableLink(msrest.serialization.Model): def __init__( self, *, - vm: "Resource", + vm: "VM", **kwargs ): super(BastionShareableLink, self).__init__(**kwargs) @@ -7094,7 +7090,7 @@ class ContainerNetworkInterface(SubResource): ~azure.mgmt.network.v2020_08_01.models.ContainerNetworkInterfaceConfiguration :param container: Reference to the container to which this container network interface is attached. - :type container: ~azure.mgmt.network.v2020_08_01.models.SubResource + :type container: ~azure.mgmt.network.v2020_08_01.models.Container :ivar ip_configurations: Reference to the ip configuration on this container nic. :vartype ip_configurations: list[~azure.mgmt.network.v2020_08_01.models.ContainerNetworkInterfaceIpConfiguration] @@ -7117,7 +7113,7 @@ class ContainerNetworkInterface(SubResource): 'type': {'key': 'type', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, 'container_network_interface_configuration': {'key': 'properties.containerNetworkInterfaceConfiguration', 'type': 'ContainerNetworkInterfaceConfiguration'}, - 'container': {'key': 'properties.container', 'type': 'SubResource'}, + 'container': {'key': 'properties.container', 'type': 'Container'}, 'ip_configurations': {'key': 'properties.ipConfigurations', 'type': '[ContainerNetworkInterfaceIpConfiguration]'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, } @@ -7127,7 +7123,7 @@ def __init__( *, id: Optional[str] = None, name: Optional[str] = None, - container: Optional["SubResource"] = None, + container: Optional["Container"] = None, **kwargs ): super(ContainerNetworkInterface, self).__init__(id=id, **kwargs) @@ -17073,8 +17069,8 @@ class PacketCaptureStorageLocation(msrest.serialization.Model): :param storage_id: The ID of the storage account to save the packet capture session. Required if no local file path is provided. :type storage_id: str - :param storage_path: The URI of the storage path to save the packet capture. Must be a well- - formed URI describing the location to save the packet capture. + :param storage_path: The URI of the storage path to save the packet capture. Must be a + well-formed URI describing the location to save the packet capture. :type storage_path: str :param file_path: A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no @@ -17855,9 +17851,10 @@ class PrivateLinkService(Resource): :vartype private_endpoint_connections: list[~azure.mgmt.network.v2020_08_01.models.PrivateEndpointConnection] :param visibility: The visibility list of the private link service. - :type visibility: ~azure.mgmt.network.v2020_08_01.models.ResourceSet + :type visibility: ~azure.mgmt.network.v2020_08_01.models.PrivateLinkServicePropertiesVisibility :param auto_approval: The auto-approval list of the private link service. - :type auto_approval: ~azure.mgmt.network.v2020_08_01.models.ResourceSet + :type auto_approval: + ~azure.mgmt.network.v2020_08_01.models.PrivateLinkServicePropertiesAutoApproval :param fqdns: The list of Fqdn. :type fqdns: list[str] :ivar alias: The alias of the private link service. @@ -17890,8 +17887,8 @@ class PrivateLinkService(Resource): 'network_interfaces': {'key': 'properties.networkInterfaces', 'type': '[NetworkInterface]'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'private_endpoint_connections': {'key': 'properties.privateEndpointConnections', 'type': '[PrivateEndpointConnection]'}, - 'visibility': {'key': 'properties.visibility', 'type': 'ResourceSet'}, - 'auto_approval': {'key': 'properties.autoApproval', 'type': 'ResourceSet'}, + 'visibility': {'key': 'properties.visibility', 'type': 'PrivateLinkServicePropertiesVisibility'}, + 'auto_approval': {'key': 'properties.autoApproval', 'type': 'PrivateLinkServicePropertiesAutoApproval'}, 'fqdns': {'key': 'properties.fqdns', 'type': '[str]'}, 'alias': {'key': 'properties.alias', 'type': 'str'}, 'enable_proxy_protocol': {'key': 'properties.enableProxyProtocol', 'type': 'bool'}, @@ -17906,8 +17903,8 @@ def __init__( extended_location: Optional["ExtendedLocation"] = None, load_balancer_frontend_ip_configurations: Optional[List["FrontendIPConfiguration"]] = None, ip_configurations: Optional[List["PrivateLinkServiceIpConfiguration"]] = None, - visibility: Optional["ResourceSet"] = None, - auto_approval: Optional["ResourceSet"] = None, + visibility: Optional["PrivateLinkServicePropertiesVisibility"] = None, + auto_approval: Optional["PrivateLinkServicePropertiesAutoApproval"] = None, fqdns: Optional[List[str]] = None, enable_proxy_protocol: Optional[bool] = None, **kwargs @@ -22005,6 +22002,8 @@ class VirtualNetworkGateway(Resource): :type location: str :param tags: A set of tags. Resource tags. :type tags: dict[str, str] + :param extended_location: The extended location of type local virtual network gateway. + :type extended_location: ~azure.mgmt.network.v2020_08_01.models.ExtendedLocation :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str :param ip_configurations: IP configurations for virtual network gateway. @@ -22052,13 +22051,9 @@ class VirtualNetworkGateway(Resource): :ivar inbound_dns_forwarding_endpoint: The IP address allocated by the gateway to which dns requests can be sent. :vartype inbound_dns_forwarding_endpoint: str - :param v_net_extended_location_resource_id: MAS FIJI customer vnet resource id. - VirtualNetworkGateway of type local gateway is associated with the customer vnet. + :param v_net_extended_location_resource_id: Customer vnet resource id. VirtualNetworkGateway of + type local gateway is associated with the customer vnet. :type v_net_extended_location_resource_id: str - :param virtual_network_extended_location: The extended location of type local virtual network - gateway. - :type virtual_network_extended_location: - ~azure.mgmt.network.v2020_08_01.models.ExtendedLocation """ _validation = { @@ -22076,6 +22071,7 @@ class VirtualNetworkGateway(Resource): 'type': {'key': 'type', 'type': 'str'}, 'location': {'key': 'location', 'type': 'str'}, 'tags': {'key': 'tags', 'type': '{str}'}, + 'extended_location': {'key': 'extendedLocation', 'type': 'ExtendedLocation'}, 'etag': {'key': 'etag', 'type': 'str'}, 'ip_configurations': {'key': 'properties.ipConfigurations', 'type': '[VirtualNetworkGatewayIPConfiguration]'}, 'gateway_type': {'key': 'properties.gatewayType', 'type': 'str'}, @@ -22094,7 +22090,6 @@ class VirtualNetworkGateway(Resource): 'enable_dns_forwarding': {'key': 'properties.enableDnsForwarding', 'type': 'bool'}, 'inbound_dns_forwarding_endpoint': {'key': 'properties.inboundDnsForwardingEndpoint', 'type': 'str'}, 'v_net_extended_location_resource_id': {'key': 'properties.vNetExtendedLocationResourceId', 'type': 'str'}, - 'virtual_network_extended_location': {'key': 'properties.virtualNetworkExtendedLocation', 'type': 'ExtendedLocation'}, } def __init__( @@ -22103,6 +22098,7 @@ def __init__( id: Optional[str] = None, location: Optional[str] = None, tags: Optional[Dict[str, str]] = None, + extended_location: Optional["ExtendedLocation"] = None, ip_configurations: Optional[List["VirtualNetworkGatewayIPConfiguration"]] = None, gateway_type: Optional[Union[str, "VirtualNetworkGatewayType"]] = None, vpn_type: Optional[Union[str, "VpnType"]] = None, @@ -22117,10 +22113,10 @@ def __init__( custom_routes: Optional["AddressSpace"] = None, enable_dns_forwarding: Optional[bool] = None, v_net_extended_location_resource_id: Optional[str] = None, - virtual_network_extended_location: Optional["ExtendedLocation"] = None, **kwargs ): super(VirtualNetworkGateway, self).__init__(id=id, location=location, tags=tags, **kwargs) + self.extended_location = extended_location self.etag = None self.ip_configurations = ip_configurations self.gateway_type = gateway_type @@ -22139,7 +22135,6 @@ def __init__( self.enable_dns_forwarding = enable_dns_forwarding self.inbound_dns_forwarding_endpoint = None self.v_net_extended_location_resource_id = v_net_extended_location_resource_id - self.virtual_network_extended_location = virtual_network_extended_location class VirtualNetworkGatewayConnection(Resource): @@ -22778,8 +22773,8 @@ class VirtualNetworkPeering(SubResource): :type use_remote_gateways: bool :param remote_virtual_network: The reference to the remote virtual network. The remote virtual network can be in the same or different region (preview). See here to register for the preview - and learn more (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create- - peering). + and learn more + (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering). :type remote_virtual_network: ~azure.mgmt.network.v2020_08_01.models.SubResource :param remote_address_space: The reference to the remote virtual network address space. :type remote_address_space: ~azure.mgmt.network.v2020_08_01.models.AddressSpace diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_application_gateway_private_endpoint_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_application_gateway_private_endpoint_connections_operations.py index 0f8fe3f25ff4..d7ebe3eac429 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_application_gateway_private_endpoint_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_application_gateway_private_endpoint_connections_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -244,8 +244,8 @@ def begin_update( :type parameters: ~azure.mgmt.network.v2020_08_01.models.ApplicationGatewayPrivateEndpointConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGatewayPrivateEndpointConnection or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_application_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_application_gateways_operations.py index d6d1ccf6b1aa..c01aa19f583f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_application_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_application_gateways_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -292,8 +292,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_08_01.models.ApplicationGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGateway or the result of cls(response) @@ -611,8 +611,8 @@ def begin_start( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -721,8 +721,8 @@ def begin_stop( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -842,8 +842,8 @@ def begin_backend_health( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGatewayBackendHealth or the result of cls(response) @@ -977,8 +977,8 @@ def begin_backend_health_on_demand( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGatewayBackendHealthOnDemand or the result of cls(response) @@ -1073,7 +1073,7 @@ def list_available_server_variables( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) @@ -1125,7 +1125,7 @@ def list_available_request_headers( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) @@ -1177,7 +1177,7 @@ def list_available_response_headers( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_application_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_application_security_groups_operations.py index a8378c6cbced..1374e347605a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_application_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_application_security_groups_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type application_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -293,8 +293,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_08_01.models.ApplicationSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_azure_firewalls_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_azure_firewalls_operations.py index f6fb78f0450d..9e3d8e28c81d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_azure_firewalls_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_azure_firewalls_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type azure_firewall_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -292,8 +292,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_08_01.models.AzureFirewall :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AzureFirewall or the result of cls(response) @@ -420,8 +420,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2020_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AzureFirewall or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_bastion_hosts_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_bastion_hosts_operations.py index f90f2cc07c14..74e0b452a568 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_bastion_hosts_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_bastion_hosts_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type bastion_host_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -292,8 +292,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_08_01.models.BastionHost :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either BastionHost or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_connection_monitors_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_connection_monitors_operations.py index c7fcb267c016..4111120d6391 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_connection_monitors_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_connection_monitors_operations.py @@ -96,7 +96,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -135,8 +135,8 @@ def begin_create_or_update( :type migrate: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionMonitorResult or the result of cls(response) @@ -245,7 +245,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('ConnectionMonitorResult', pipeline_response) @@ -296,7 +296,7 @@ def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -322,8 +322,8 @@ def begin_delete( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -435,7 +435,7 @@ def update_tags( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('ConnectionMonitorResult', pipeline_response) @@ -486,7 +486,7 @@ def _stop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -512,8 +512,8 @@ def begin_stop( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -604,7 +604,7 @@ def _start_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -630,8 +630,8 @@ def begin_start( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -722,7 +722,7 @@ def _query_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -755,8 +755,8 @@ def begin_query( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionMonitorQueryResult or the result of cls(response) @@ -875,7 +875,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_custom_ip_prefixes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_custom_ip_prefixes_operations.py index b4d2196128b4..aa8e23457671 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_custom_ip_prefixes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_custom_ip_prefixes_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type custom_ip_prefix_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_08_01.models.CustomIpPrefix :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either CustomIpPrefix or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_ddos_custom_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_ddos_custom_policies_operations.py index b1b78de0cc68..db97a0956ef9 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_ddos_custom_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_ddos_custom_policies_operations.py @@ -106,8 +106,8 @@ def begin_delete( :type ddos_custom_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -291,8 +291,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_08_01.models.DdosCustomPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either DdosCustomPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_ddos_protection_plans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_ddos_protection_plans_operations.py index a1b8f750b121..faad0731c000 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_ddos_protection_plans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_ddos_protection_plans_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type ddos_protection_plan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -292,8 +292,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_08_01.models.DdosProtectionPlan :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either DdosProtectionPlan or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_dscp_configuration_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_dscp_configuration_operations.py index d9babe7edb9c..d810395cd701 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_dscp_configuration_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_dscp_configuration_operations.py @@ -123,8 +123,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_08_01.models.DscpConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either DscpConfiguration or the result of cls(response) @@ -237,8 +237,8 @@ def begin_delete( :type dscp_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_express_route_circuit_authorizations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_express_route_circuit_authorizations_operations.py index 368eee3f4d9c..dd9e168eaf76 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_express_route_circuit_authorizations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_express_route_circuit_authorizations_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type authorization_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -309,8 +309,8 @@ def begin_create_or_update( :type authorization_parameters: ~azure.mgmt.network.v2020_08_01.models.ExpressRouteCircuitAuthorization :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitAuthorization or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_express_route_circuit_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_express_route_circuit_connections_operations.py index 5d2612776e49..0442017b13fc 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_express_route_circuit_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_express_route_circuit_connections_operations.py @@ -118,8 +118,8 @@ def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -326,8 +326,8 @@ def begin_create_or_update( :type express_route_circuit_connection_parameters: ~azure.mgmt.network.v2020_08_01.models.ExpressRouteCircuitConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitConnection or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_express_route_circuit_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_express_route_circuit_peerings_operations.py index 7be0860a6691..a021cbe2ab44 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_express_route_circuit_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_express_route_circuit_peerings_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -309,8 +309,8 @@ def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2020_08_01.models.ExpressRouteCircuitPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_express_route_circuits_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_express_route_circuits_operations.py index 0e33b5353fc0..a9e16b7549ae 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_express_route_circuits_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_express_route_circuits_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type circuit_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -292,8 +292,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_08_01.models.ExpressRouteCircuit :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -489,8 +489,8 @@ def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -622,8 +622,8 @@ def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) @@ -755,8 +755,8 @@ def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableSummaryListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_express_route_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_express_route_connections_operations.py index 82ee3c5c7635..3e717a9b3045 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_express_route_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_express_route_connections_operations.py @@ -128,8 +128,8 @@ def begin_create_or_update( :type put_express_route_connection_parameters: ~azure.mgmt.network.v2020_08_01.models.ExpressRouteConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteConnection or the result of cls(response) @@ -312,8 +312,8 @@ def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_express_route_cross_connection_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_express_route_cross_connection_peerings_operations.py index 32115652322d..9975d8e80f3e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_express_route_cross_connection_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_express_route_cross_connection_peerings_operations.py @@ -187,8 +187,8 @@ def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -384,8 +384,8 @@ def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2020_08_01.models.ExpressRouteCrossConnectionPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCrossConnectionPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_express_route_cross_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_express_route_cross_connections_operations.py index 2a20f4c43db1..0c37c3d8d446 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_express_route_cross_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_express_route_cross_connections_operations.py @@ -317,8 +317,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_08_01.models.ExpressRouteCrossConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCrossConnection or the result of cls(response) @@ -515,8 +515,8 @@ def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -648,8 +648,8 @@ def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCrossConnectionsRoutesTableSummaryListResult or the result of cls(response) @@ -781,8 +781,8 @@ def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_express_route_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_express_route_gateways_operations.py index 3ff154fab66a..74ab098d96fb 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_express_route_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_express_route_gateways_operations.py @@ -229,8 +229,8 @@ def begin_create_or_update( :type put_express_route_gateway_parameters: ~azure.mgmt.network.v2020_08_01.models.ExpressRouteGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteGateway or the result of cls(response) @@ -358,8 +358,8 @@ def begin_update_tags( :type express_route_gateway_parameters: ~azure.mgmt.network.v2020_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteGateway or the result of cls(response) @@ -532,8 +532,8 @@ def begin_delete( :type express_route_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_express_route_ports_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_express_route_ports_operations.py index b392736f288a..c4b68587667e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_express_route_ports_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_express_route_ports_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type express_route_port_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -292,8 +292,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_08_01.models.ExpressRoutePort :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRoutePort or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_firewall_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_firewall_policies_operations.py index e909dab45f1c..662d8e9b8134 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_firewall_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_firewall_policies_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type firewall_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_08_01.models.FirewallPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FirewallPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_firewall_policy_rule_collection_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_firewall_policy_rule_collection_groups_operations.py index 02551cbc9c9b..de363f3bb6d2 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_firewall_policy_rule_collection_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_firewall_policy_rule_collection_groups_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type rule_collection_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -309,8 +309,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_08_01.models.FirewallPolicyRuleCollectionGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FirewallPolicyRuleCollectionGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_flow_logs_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_flow_logs_operations.py index 6eb347648dd5..461cc2b59b23 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_flow_logs_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_flow_logs_operations.py @@ -93,7 +93,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -129,8 +129,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_08_01.models.FlowLog :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FlowLog or the result of cls(response) @@ -246,7 +246,7 @@ def update_tags( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('FlowLog', pipeline_response) @@ -310,7 +310,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('FlowLog', pipeline_response) @@ -361,7 +361,7 @@ def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -387,8 +387,8 @@ def begin_delete( :type flow_log_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -504,7 +504,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_hub_route_tables_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_hub_route_tables_operations.py index 2d3baf332e38..dafc646089d3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_hub_route_tables_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_hub_route_tables_operations.py @@ -128,8 +128,8 @@ def begin_create_or_update( :type route_table_parameters: ~azure.mgmt.network.v2020_08_01.models.HubRouteTable :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either HubRouteTable or the result of cls(response) @@ -312,8 +312,8 @@ def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_hub_virtual_network_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_hub_virtual_network_connections_operations.py index d6ae19448ab0..9fff7c92116f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_hub_virtual_network_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_hub_virtual_network_connections_operations.py @@ -129,8 +129,8 @@ def begin_create_or_update( :type hub_virtual_network_connection_parameters: ~azure.mgmt.network.v2020_08_01.models.HubVirtualNetworkConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either HubVirtualNetworkConnection or the result of cls(response) @@ -250,8 +250,8 @@ def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_inbound_nat_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_inbound_nat_rules_operations.py index ef640998c494..a051c086e4f7 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_inbound_nat_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_inbound_nat_rules_operations.py @@ -187,8 +187,8 @@ def begin_delete( :type inbound_nat_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -389,8 +389,8 @@ def begin_create_or_update( :type inbound_nat_rule_parameters: ~azure.mgmt.network.v2020_08_01.models.InboundNatRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either InboundNatRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_inbound_security_rule_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_inbound_security_rule_operations.py index 3d3066dada95..e804bfca6b6e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_inbound_security_rule_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_inbound_security_rule_operations.py @@ -128,8 +128,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_08_01.models.InboundSecurityRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either InboundSecurityRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_ip_allocations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_ip_allocations_operations.py index 15bd54def618..8a2883552ace 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_ip_allocations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_ip_allocations_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type ip_allocation_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_08_01.models.IpAllocation :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either IpAllocation or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_ip_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_ip_groups_operations.py index 7e21b6d8abb4..7da28ca31af6 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_ip_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_ip_groups_operations.py @@ -102,7 +102,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('IpGroup', pipeline_response) @@ -157,7 +157,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -190,8 +190,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_08_01.models.IpGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either IpGroup or the result of cls(response) @@ -301,7 +301,7 @@ def update_groups( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('IpGroup', pipeline_response) @@ -350,7 +350,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -373,8 +373,8 @@ def begin_delete( :type ip_groups_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -484,7 +484,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -552,7 +552,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_load_balancer_backend_address_pools_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_load_balancer_backend_address_pools_operations.py index f779aa709fd3..dd5b74ab9b4a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_load_balancer_backend_address_pools_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_load_balancer_backend_address_pools_operations.py @@ -267,8 +267,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_08_01.models.BackendAddressPool :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either BackendAddressPool or the result of cls(response) @@ -388,8 +388,8 @@ def begin_delete( :type backend_address_pool_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_load_balancers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_load_balancers_operations.py index 423c20420363..d248e11cd308 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_load_balancers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_load_balancers_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type load_balancer_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_08_01.models.LoadBalancer :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LoadBalancer or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_local_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_local_network_gateways_operations.py index 2016b93555f8..ad4d00245efa 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_local_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_local_network_gateways_operations.py @@ -123,8 +123,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_08_01.models.LocalNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LocalNetworkGateway or the result of cls(response) @@ -296,8 +296,8 @@ def begin_delete( :type local_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_nat_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_nat_gateways_operations.py index f35cca8facbf..5ff56de1d721 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_nat_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_nat_gateways_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type nat_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_08_01.models.NatGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NatGateway or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_nat_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_nat_rules_operations.py index 5d59993ceb36..7c18481f113b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_nat_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_nat_rules_operations.py @@ -192,8 +192,8 @@ def begin_create_or_update( :type nat_rule_parameters: ~azure.mgmt.network.v2020_08_01.models.VpnGatewayNatRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnGatewayNatRule or the result of cls(response) @@ -313,8 +313,8 @@ def begin_delete( :type nat_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_network_interface_tap_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_network_interface_tap_configurations_operations.py index b4ba4def11da..a61fcb865edc 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_network_interface_tap_configurations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_network_interface_tap_configurations_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type tap_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -309,8 +309,8 @@ def begin_create_or_update( :type tap_configuration_parameters: ~azure.mgmt.network.v2020_08_01.models.NetworkInterfaceTapConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkInterfaceTapConfiguration or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_network_interfaces_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_network_interfaces_operations.py index 8c7da850dcf5..ab8be2a8c2b9 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_network_interfaces_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_network_interfaces_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_08_01.models.NetworkInterface :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkInterface or the result of cls(response) @@ -621,8 +621,8 @@ def begin_get_effective_route_table( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either EffectiveRouteListResult or the result of cls(response) @@ -739,8 +739,8 @@ def begin_list_effective_network_security_groups( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either EffectiveNetworkSecurityGroupListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_network_management_client_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_network_management_client_operations.py index 232d93f3d28c..cc15e56d4b53 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_network_management_client_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_network_management_client_operations.py @@ -101,8 +101,8 @@ def begin_put_bastion_shareable_link( :type bsl_request: ~azure.mgmt.network.v2020_08_01.models.BastionShareableLinkListRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns an iterator like instance of either BastionShareableLinkListResult or the result of cls(response) @@ -286,8 +286,8 @@ def begin_delete_bastion_shareable_link( :type bsl_request: ~azure.mgmt.network.v2020_08_01.models.BastionShareableLinkListRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -488,8 +488,8 @@ def begin_get_active_sessions( :type bastion_host_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns an iterator like instance of either BastionActiveSessionListResult or the result of cls(response) @@ -878,8 +878,8 @@ def begin_generatevirtualwanvpnserverconfigurationvpnprofile( :type vpn_client_params: ~azure.mgmt.network.v2020_08_01.models.VirtualWanVpnProfileParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnProfileResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_network_profiles_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_network_profiles_operations.py index 1a189e3e1bfb..57ce1dce5f1c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_network_profiles_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_network_profiles_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type network_profile_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_network_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_network_security_groups_operations.py index 469802b50917..96d5ea822e77 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_network_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_network_security_groups_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type network_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_08_01.models.NetworkSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_network_virtual_appliances_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_network_virtual_appliances_operations.py index fbe7602cf6e2..082022aa3611 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_network_virtual_appliances_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_network_virtual_appliances_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type network_virtual_appliance_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -364,8 +364,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_08_01.models.NetworkVirtualAppliance :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkVirtualAppliance or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_network_watchers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_network_watchers_operations.py index acb2d48c9ab9..93f71cf5ffcc 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_network_watchers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_network_watchers_operations.py @@ -104,7 +104,7 @@ def create_or_update( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -168,7 +168,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('NetworkWatcher', pipeline_response) @@ -217,7 +217,7 @@ def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -240,8 +240,8 @@ def begin_delete( :type network_watcher_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -347,7 +347,7 @@ def update_tags( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('NetworkWatcher', pipeline_response) @@ -419,7 +419,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -487,7 +487,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -555,7 +555,7 @@ def get_topology( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('Topology', pipeline_response) @@ -610,7 +610,7 @@ def _verify_ip_flow_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -643,8 +643,8 @@ def begin_verify_ip_flow( :type parameters: ~azure.mgmt.network.v2020_08_01.models.VerificationIPFlowParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VerificationIPFlowResult or the result of cls(response) @@ -741,7 +741,7 @@ def _get_next_hop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -774,8 +774,8 @@ def begin_get_next_hop( :type parameters: ~azure.mgmt.network.v2020_08_01.models.NextHopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NextHopResult or the result of cls(response) @@ -872,7 +872,7 @@ def _get_vm_security_rules_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -905,8 +905,8 @@ def begin_get_vm_security_rules( :type parameters: ~azure.mgmt.network.v2020_08_01.models.SecurityGroupViewParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either SecurityGroupViewResult or the result of cls(response) @@ -1003,7 +1003,7 @@ def _get_troubleshooting_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1036,8 +1036,8 @@ def begin_get_troubleshooting( :type parameters: ~azure.mgmt.network.v2020_08_01.models.TroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1134,7 +1134,7 @@ def _get_troubleshooting_result_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1167,8 +1167,8 @@ def begin_get_troubleshooting_result( :type parameters: ~azure.mgmt.network.v2020_08_01.models.QueryTroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1265,7 +1265,7 @@ def _set_flow_log_configuration_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1298,8 +1298,8 @@ def begin_set_flow_log_configuration( :type parameters: ~azure.mgmt.network.v2020_08_01.models.FlowLogInformation :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1396,7 +1396,7 @@ def _get_flow_log_status_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1430,8 +1430,8 @@ def begin_get_flow_log_status( :type parameters: ~azure.mgmt.network.v2020_08_01.models.FlowLogStatusParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1528,7 +1528,7 @@ def _check_connectivity_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1562,8 +1562,8 @@ def begin_check_connectivity( :type parameters: ~azure.mgmt.network.v2020_08_01.models.ConnectivityParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectivityInformation or the result of cls(response) @@ -1660,7 +1660,7 @@ def _get_azure_reachability_report_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1695,8 +1695,8 @@ def begin_get_azure_reachability_report( :type parameters: ~azure.mgmt.network.v2020_08_01.models.AzureReachabilityReportParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AzureReachabilityReport or the result of cls(response) @@ -1793,7 +1793,7 @@ def _list_available_providers_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1827,8 +1827,8 @@ def begin_list_available_providers( :type parameters: ~azure.mgmt.network.v2020_08_01.models.AvailableProvidersListParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AvailableProvidersList or the result of cls(response) @@ -1925,7 +1925,7 @@ def _get_network_configuration_diagnostic_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1962,8 +1962,8 @@ def begin_get_network_configuration_diagnostic( :type parameters: ~azure.mgmt.network.v2020_08_01.models.NetworkConfigurationDiagnosticParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkConfigurationDiagnosticResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_p2_svpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_p2_svpn_gateways_operations.py index cec4a3997fd2..593aca5af0b3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_p2_svpn_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_p2_svpn_gateways_operations.py @@ -183,8 +183,8 @@ def begin_create_or_update( :type p2_s_vpn_gateway_parameters: ~azure.mgmt.network.v2020_08_01.models.P2SVpnGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -312,8 +312,8 @@ def begin_update_tags( :type p2_s_vpn_gateway_parameters: ~azure.mgmt.network.v2020_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -426,8 +426,8 @@ def begin_delete( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -679,8 +679,8 @@ def begin_reset( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -807,8 +807,8 @@ def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2020_08_01.models.P2SVpnProfileParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnProfileResponse or the result of cls(response) @@ -927,8 +927,8 @@ def begin_get_p2_s_vpn_connection_health( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -1055,8 +1055,8 @@ def begin_get_p2_s_vpn_connection_health_detailed( :type request: ~azure.mgmt.network.v2020_08_01.models.P2SVpnConnectionHealthRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either P2SVpnConnectionHealth or the result of cls(response) @@ -1179,8 +1179,8 @@ def begin_disconnect_p2_s_vpn_connections( :type request: ~azure.mgmt.network.v2020_08_01.models.P2SVpnConnectionRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_packet_captures_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_packet_captures_operations.py index 6587cb36a9c3..cc8a9a1d9965 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_packet_captures_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_packet_captures_operations.py @@ -93,7 +93,7 @@ def _create_initial( if response.status_code not in [201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PacketCaptureResult', pipeline_response) @@ -125,8 +125,8 @@ def begin_create( :type parameters: ~azure.mgmt.network.v2020_08_01.models.PacketCapture :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PacketCaptureResult or the result of cls(response) @@ -234,7 +234,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PacketCaptureResult', pipeline_response) @@ -285,7 +285,7 @@ def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -311,8 +311,8 @@ def begin_delete( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -403,7 +403,7 @@ def _stop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -429,8 +429,8 @@ def begin_stop( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -521,7 +521,7 @@ def _get_status_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -554,8 +554,8 @@ def begin_get_status( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PacketCaptureQueryStatusResult or the result of cls(response) @@ -674,7 +674,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_private_dns_zone_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_private_dns_zone_groups_operations.py index 15a1f66f5fe8..d8678df0787e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_private_dns_zone_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_private_dns_zone_groups_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type private_dns_zone_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -309,8 +309,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_08_01.models.PrivateDnsZoneGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PrivateDnsZoneGroup or the result of cls(response) @@ -430,7 +430,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_private_endpoints_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_private_endpoints_operations.py index 639a08dc379f..10cdf07ac823 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_private_endpoints_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_private_endpoints_operations.py @@ -85,7 +85,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -108,8 +108,8 @@ def begin_delete( :type private_endpoint_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -212,7 +212,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateEndpoint', pipeline_response) @@ -267,7 +267,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -300,8 +300,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_08_01.models.PrivateEndpoint :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PrivateEndpoint or the result of cls(response) @@ -415,7 +415,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -483,7 +483,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_private_link_services_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_private_link_services_operations.py index d757fc4428c7..bda93909cb83 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_private_link_services_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_private_link_services_operations.py @@ -85,7 +85,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -108,8 +108,8 @@ def begin_delete( :type service_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -212,7 +212,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateLinkService', pipeline_response) @@ -267,7 +267,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -300,8 +300,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_08_01.models.PrivateLinkService :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PrivateLinkService or the result of cls(response) @@ -415,7 +415,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -483,7 +483,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -553,7 +553,7 @@ def get_private_endpoint_connection( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateEndpointConnection', pipeline_response) @@ -625,7 +625,7 @@ def update_private_endpoint_connection( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateEndpointConnection', pipeline_response) @@ -676,7 +676,7 @@ def _delete_private_endpoint_connection_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -702,8 +702,8 @@ def begin_delete_private_endpoint_connection( :type pe_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -819,7 +819,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -899,8 +899,8 @@ def begin_check_private_link_service_visibility( :type parameters: ~azure.mgmt.network.v2020_08_01.models.CheckPrivateLinkServiceVisibilityRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PrivateLinkServiceVisibility or the result of cls(response) @@ -1026,8 +1026,8 @@ def begin_check_private_link_service_visibility_by_resource_group( :type parameters: ~azure.mgmt.network.v2020_08_01.models.CheckPrivateLinkServiceVisibilityRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PrivateLinkServiceVisibility or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_public_ip_addresses_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_public_ip_addresses_operations.py index 6501f9c2d3ff..02184242189c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_public_ip_addresses_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_public_ip_addresses_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type public_ip_address_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_08_01.models.PublicIPAddress :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PublicIPAddress or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_public_ip_prefixes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_public_ip_prefixes_operations.py index 0d234631fef4..206c2f6e1387 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_public_ip_prefixes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_public_ip_prefixes_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type public_ip_prefix_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_08_01.models.PublicIPPrefix :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PublicIPPrefix or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_route_filter_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_route_filter_rules_operations.py index b5347d576f32..a0012b958a2e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_route_filter_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_route_filter_rules_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -309,8 +309,8 @@ def begin_create_or_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2020_08_01.models.RouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilterRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_route_filters_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_route_filters_operations.py index b7855f9cf1d1..8026ce1d8e7e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_route_filters_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_route_filters_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type route_filter_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ def begin_create_or_update( :type route_filter_parameters: ~azure.mgmt.network.v2020_08_01.models.RouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilter or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_route_tables_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_route_tables_operations.py index 75a6c6c257cc..79a525667b5a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_route_tables_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_route_tables_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_08_01.models.RouteTable :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteTable or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_routes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_routes_operations.py index 7907bf0fe2c3..feff1dbf2aed 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_routes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_routes_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type route_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -308,8 +308,8 @@ def begin_create_or_update( :type route_parameters: ~azure.mgmt.network.v2020_08_01.models.Route :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Route or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_security_partner_providers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_security_partner_providers_operations.py index 5976bd88d90d..09526bccbae9 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_security_partner_providers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_security_partner_providers_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type security_partner_provider_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -293,8 +293,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_08_01.models.SecurityPartnerProvider :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either SecurityPartnerProvider or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_security_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_security_rules_operations.py index 1cf9070671aa..9785d87a865b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_security_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_security_rules_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type security_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -309,8 +309,8 @@ def begin_create_or_update( :type security_rule_parameters: ~azure.mgmt.network.v2020_08_01.models.SecurityRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either SecurityRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_service_endpoint_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_service_endpoint_policies_operations.py index e2e7eedd2769..9e61ad9be783 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_service_endpoint_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_service_endpoint_policies_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type service_endpoint_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_08_01.models.ServiceEndpointPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ServiceEndpointPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_service_endpoint_policy_definitions_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_service_endpoint_policy_definitions_operations.py index 930f0600eca3..6eb726fd0df2 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_service_endpoint_policy_definitions_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_service_endpoint_policy_definitions_operations.py @@ -113,8 +113,8 @@ def begin_delete( :type service_endpoint_policy_definition_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -313,8 +313,8 @@ def begin_create_or_update( :type service_endpoint_policy_definitions: ~azure.mgmt.network.v2020_08_01.models.ServiceEndpointPolicyDefinition :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ServiceEndpointPolicyDefinition or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_subnets_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_subnets_operations.py index 28b1dc33cc25..68e6347621b5 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_subnets_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_subnets_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type subnet_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -313,8 +313,8 @@ def begin_create_or_update( :type subnet_parameters: ~azure.mgmt.network.v2020_08_01.models.Subnet :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Subnet or the result of cls(response) @@ -444,8 +444,8 @@ def begin_prepare_network_policies( :type prepare_network_policies_request_parameters: ~azure.mgmt.network.v2020_08_01.models.PrepareNetworkPoliciesRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -572,8 +572,8 @@ def begin_unprepare_network_policies( :type unprepare_network_policies_request_parameters: ~azure.mgmt.network.v2020_08_01.models.UnprepareNetworkPoliciesRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_virtual_appliance_sites_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_virtual_appliance_sites_operations.py index 6ab326236e8c..da74003d3ba6 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_virtual_appliance_sites_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_virtual_appliance_sites_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type site_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -309,8 +309,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_08_01.models.VirtualApplianceSite :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualApplianceSite or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_virtual_hub_bgp_connection_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_virtual_hub_bgp_connection_operations.py index 8e7fdc43a8df..e8eafc54ab63 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_virtual_hub_bgp_connection_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_virtual_hub_bgp_connection_operations.py @@ -191,8 +191,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_08_01.models.BgpConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either BgpConnection or the result of cls(response) @@ -312,8 +312,8 @@ def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_virtual_hub_bgp_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_virtual_hub_bgp_connections_operations.py index dce376267e53..0ab597059f16 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_virtual_hub_bgp_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_virtual_hub_bgp_connections_operations.py @@ -192,8 +192,8 @@ def begin_list_learned_routes( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PeerRouteList or the result of cls(response) @@ -317,8 +317,8 @@ def begin_list_advertised_routes( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PeerRouteList or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_virtual_hub_ip_configuration_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_virtual_hub_ip_configuration_operations.py index fc9d4f5f12fb..8baa09d90ac9 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_virtual_hub_ip_configuration_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_virtual_hub_ip_configuration_operations.py @@ -192,8 +192,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_08_01.models.HubIpConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either HubIpConfiguration or the result of cls(response) @@ -313,8 +313,8 @@ def begin_delete( :type ip_config_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_virtual_hub_route_table_v2_s_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_virtual_hub_route_table_v2_s_operations.py index 2bb06fb8423a..45013e0d8037 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_virtual_hub_route_table_v2_s_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_virtual_hub_route_table_v2_s_operations.py @@ -100,7 +100,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualHubRouteTableV2', pipeline_response) @@ -157,7 +157,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -195,8 +195,8 @@ def begin_create_or_update( :type virtual_hub_route_table_v2_parameters: ~azure.mgmt.network.v2020_08_01.models.VirtualHubRouteTableV2 :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualHubRouteTableV2 or the result of cls(response) @@ -291,7 +291,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -317,8 +317,8 @@ def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_virtual_hubs_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_virtual_hubs_operations.py index 03adf1ff0f6f..05ec4c6e7a05 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_virtual_hubs_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_virtual_hubs_operations.py @@ -182,8 +182,8 @@ def begin_create_or_update( :type virtual_hub_parameters: ~azure.mgmt.network.v2020_08_01.models.VirtualHub :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualHub or the result of cls(response) @@ -363,8 +363,8 @@ def begin_delete( :type virtual_hub_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -624,8 +624,8 @@ def begin_get_effective_virtual_hub_routes( :type effective_routes_parameters: ~azure.mgmt.network.v2020_08_01.models.EffectiveRoutesParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_virtual_network_gateway_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_virtual_network_gateway_connections_operations.py index 5480601b0300..ddf61dc03449 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_virtual_network_gateway_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_virtual_network_gateway_connections_operations.py @@ -125,8 +125,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_08_01.models.VirtualNetworkGatewayConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -300,8 +300,8 @@ def begin_delete( :type virtual_network_gateway_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -425,8 +425,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2020_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -558,8 +558,8 @@ def begin_set_shared_key( :type parameters: ~azure.mgmt.network.v2020_08_01.models.ConnectionSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionSharedKey or the result of cls(response) @@ -823,8 +823,8 @@ def begin_reset_shared_key( :type parameters: ~azure.mgmt.network.v2020_08_01.models.ConnectionResetSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionResetSharedKey or the result of cls(response) @@ -924,7 +924,7 @@ def _start_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -957,8 +957,8 @@ def begin_start_packet_capture( :type parameters: ~azure.mgmt.network.v2020_08_01.models.VpnPacketCaptureStartParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1055,7 +1055,7 @@ def _stop_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -1088,8 +1088,8 @@ def begin_stop_packet_capture( :type parameters: ~azure.mgmt.network.v2020_08_01.models.VpnPacketCaptureStopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1180,7 +1180,7 @@ def _get_ike_sas_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -1210,8 +1210,8 @@ def begin_get_ike_sas( :type virtual_network_gateway_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_virtual_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_virtual_network_gateways_operations.py index a3fd8c1925f3..2d842e672cf5 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_virtual_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_virtual_network_gateways_operations.py @@ -123,8 +123,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_08_01.models.VirtualNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -296,8 +296,8 @@ def begin_delete( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -420,8 +420,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2020_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -692,8 +692,8 @@ def begin_reset( :type gateway_vip: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -807,8 +807,8 @@ def begin_reset_vpn_client_shared_key( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -933,8 +933,8 @@ def begin_generatevpnclientpackage( :type parameters: ~azure.mgmt.network.v2020_08_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1063,8 +1063,8 @@ def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2020_08_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1183,8 +1183,8 @@ def begin_get_vpn_profile_package_url( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1307,8 +1307,8 @@ def begin_get_bgp_peer_status( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either BgpPeerStatusListResult or the result of cls(response) @@ -1486,8 +1486,8 @@ def begin_get_learned_routes( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1610,8 +1610,8 @@ def begin_get_advertised_routes( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1740,8 +1740,8 @@ def begin_set_vpnclient_ipsec_parameters( :type vpnclient_ipsec_params: ~azure.mgmt.network.v2020_08_01.models.VpnClientIPsecParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnClientIPsecParameters or the result of cls(response) @@ -1859,8 +1859,8 @@ def begin_get_vpnclient_ipsec_parameters( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnClientIPsecParameters or the result of cls(response) @@ -2027,7 +2027,7 @@ def _start_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -2059,8 +2059,8 @@ def begin_start_packet_capture( :type parameters: ~azure.mgmt.network.v2020_08_01.models.VpnPacketCaptureStartParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -2157,7 +2157,7 @@ def _stop_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -2189,8 +2189,8 @@ def begin_stop_packet_capture( :type parameters: ~azure.mgmt.network.v2020_08_01.models.VpnPacketCaptureStopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -2309,8 +2309,8 @@ def begin_get_vpnclient_connection_health( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnClientConnectionHealthDetailListResult or the result of cls(response) @@ -2431,8 +2431,8 @@ def begin_disconnect_virtual_network_gateway_vpn_connections( :type request: ~azure.mgmt.network.v2020_08_01.models.P2SVpnConnectionRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_virtual_network_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_virtual_network_peerings_operations.py index 94c2a0a47fee..cc3d4273c311 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_virtual_network_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_virtual_network_peerings_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type virtual_network_peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -309,8 +309,8 @@ def begin_create_or_update( :type virtual_network_peering_parameters: ~azure.mgmt.network.v2020_08_01.models.VirtualNetworkPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_virtual_network_taps_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_virtual_network_taps_operations.py index ab0a365065b5..de279cc45db7 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_virtual_network_taps_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_virtual_network_taps_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type tap_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -292,8 +292,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_08_01.models.VirtualNetworkTap :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkTap or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_virtual_networks_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_virtual_networks_operations.py index d2af415c8a64..b8949bff3ff0 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_virtual_networks_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_virtual_networks_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type virtual_network_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_08_01.models.VirtualNetwork :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetwork or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_virtual_router_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_virtual_router_peerings_operations.py index 4bab9ab6bd10..6c805fa6055b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_virtual_router_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_virtual_router_peerings_operations.py @@ -87,7 +87,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -113,8 +113,8 @@ def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -218,7 +218,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualRouterPeering', pipeline_response) @@ -275,7 +275,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -312,8 +312,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_08_01.models.VirtualRouterPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualRouterPeering or the result of cls(response) @@ -433,7 +433,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_virtual_routers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_virtual_routers_operations.py index 3f4ff6d8926a..be0fcdf1d33f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_virtual_routers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_virtual_routers_operations.py @@ -85,7 +85,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -108,8 +108,8 @@ def begin_delete( :type virtual_router_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -212,7 +212,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualRouter', pipeline_response) @@ -267,7 +267,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -300,8 +300,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_08_01.models.VirtualRouter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualRouter or the result of cls(response) @@ -415,7 +415,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -483,7 +483,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_virtual_wans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_virtual_wans_operations.py index 2b85b3e8420a..0d3ecf4f6605 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_virtual_wans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_virtual_wans_operations.py @@ -182,8 +182,8 @@ def begin_create_or_update( :type wan_parameters: ~azure.mgmt.network.v2020_08_01.models.VirtualWAN :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualWAN or the result of cls(response) @@ -363,8 +363,8 @@ def begin_delete( :type virtual_wan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_vpn_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_vpn_connections_operations.py index 01bd7153b2f5..ec4345aed747 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_vpn_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_vpn_connections_operations.py @@ -192,8 +192,8 @@ def begin_create_or_update( :type vpn_connection_parameters: ~azure.mgmt.network.v2020_08_01.models.VpnConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnConnection or the result of cls(response) @@ -313,8 +313,8 @@ def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -448,8 +448,8 @@ def begin_start_packet_capture( :type parameters: ~azure.mgmt.network.v2020_08_01.models.VpnConnectionPacketCaptureStartParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -587,8 +587,8 @@ def begin_stop_packet_capture( :type parameters: ~azure.mgmt.network.v2020_08_01.models.VpnConnectionPacketCaptureStopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_vpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_vpn_gateways_operations.py index a9512dc04bd5..a2399e1ee1f5 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_vpn_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_vpn_gateways_operations.py @@ -183,8 +183,8 @@ def begin_create_or_update( :type vpn_gateway_parameters: ~azure.mgmt.network.v2020_08_01.models.VpnGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnGateway or the result of cls(response) @@ -311,8 +311,8 @@ def begin_update_tags( :type vpn_gateway_parameters: ~azure.mgmt.network.v2020_08_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnGateway or the result of cls(response) @@ -425,8 +425,8 @@ def begin_delete( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -540,8 +540,8 @@ def begin_reset( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnGateway or the result of cls(response) @@ -671,8 +671,8 @@ def begin_start_packet_capture( :type parameters: ~azure.mgmt.network.v2020_08_01.models.VpnGatewayPacketCaptureStartParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -803,8 +803,8 @@ def begin_stop_packet_capture( :type parameters: ~azure.mgmt.network.v2020_08_01.models.VpnGatewayPacketCaptureStopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py index 2338de915322..8861ad1b3a2e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py @@ -112,8 +112,8 @@ def begin_list( :type virtual_wan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnServerConfigurationsResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_vpn_server_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_vpn_server_configurations_operations.py index 56385dc614c2..d564bd67980c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_vpn_server_configurations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_vpn_server_configurations_operations.py @@ -185,8 +185,8 @@ def begin_create_or_update( :type vpn_server_configuration_parameters: ~azure.mgmt.network.v2020_08_01.models.VpnServerConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnServerConfiguration or the result of cls(response) @@ -367,8 +367,8 @@ def begin_delete( :type vpn_server_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_vpn_sites_configuration_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_vpn_sites_configuration_operations.py index 81eb38eae2a8..59abc11404f6 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_vpn_sites_configuration_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_vpn_sites_configuration_operations.py @@ -116,8 +116,8 @@ def begin_download( :type request: ~azure.mgmt.network.v2020_08_01.models.GetVpnSitesConfigurationRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_vpn_sites_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_vpn_sites_operations.py index 42dbc36d4ea6..c7968fa7d253 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_vpn_sites_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_vpn_sites_operations.py @@ -182,8 +182,8 @@ def begin_create_or_update( :type vpn_site_parameters: ~azure.mgmt.network.v2020_08_01.models.VpnSite :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnSite or the result of cls(response) @@ -363,8 +363,8 @@ def begin_delete( :type vpn_site_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_web_application_firewall_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_web_application_firewall_policies_operations.py index 5aca7798331e..fd04a28f03c9 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_web_application_firewall_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/operations/_web_application_firewall_policies_operations.py @@ -375,8 +375,8 @@ def begin_delete( :type policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/_metadata.json b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/_metadata.json index 533283d654d1..d3620f1c30de 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/_metadata.json +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/_metadata.json @@ -9,7 +9,9 @@ "custom_base_url": null, "azure_arm": true, "has_lro_operations": true, - "client_side_validation": true + "client_side_validation": false, + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"NetworkManagementClientConfiguration\"], \"._operations_mixin\": [\"NetworkManagementClientOperationsMixin\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"NetworkManagementClientConfiguration\"], \"._operations_mixin\": [\"NetworkManagementClientOperationsMixin\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}" }, "global_parameters": { "sync": { @@ -28,13 +30,13 @@ }, "async": { "credential": { - "signature": "credential, # type: \"AsyncTokenCredential\"", + "signature": "credential: \"AsyncTokenCredential\",", "description": "Credential needed for the client to connect to Azure.", "docstring_type": "~azure.core.credentials_async.AsyncTokenCredential", "required": true }, "subscription_id": { - "signature": "subscription_id, # type: str", + "signature": "subscription_id: str,", "description": "The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.", "docstring_type": "str", "required": true @@ -42,14 +44,58 @@ }, "constant": { }, - "call": "credential, subscription_id" + "call": "credential, subscription_id", + "service_client_specific": { + "sync": { + "api_version": { + "signature": "api_version=None, # type: Optional[str]", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url=None, # type: Optional[str]", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile=KnownProfiles.default, # type: KnownProfiles", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + }, + "async": { + "api_version": { + "signature": "api_version: Optional[str] = None,", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url: Optional[str] = None,", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile: KnownProfiles = KnownProfiles.default,", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + } + } }, "config": { "credential": true, "credential_scopes": ["https://management.azure.com/.default"], "credential_default_policy_type": "BearerTokenCredentialPolicy", "credential_default_policy_type_has_async_version": true, - "credential_key_header_name": null + "credential_key_header_name": null, + "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMHttpLoggingPolicy\"]}, \"local\": {\"._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}}", + "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMHttpLoggingPolicy\"]}, \"local\": {\".._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}}" }, "operation_groups": { "application_gateways": "ApplicationGatewaysOperations", @@ -160,151 +206,153 @@ "web_application_firewall_policies": "WebApplicationFirewallPoliciesOperations" }, "operation_mixins": { - "_put_bastion_shareable_link_initial" : { - "sync": { - "signature": "def _put_bastion_shareable_link_initial(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_11_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionShareableLinkListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_11_01.models.BastionShareableLinkListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def _put_bastion_shareable_link_initial(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e Optional[\"_models.BastionShareableLinkListResult\"]:\n", - "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_11_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionShareableLinkListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_11_01.models.BastionShareableLinkListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "resource_group_name, bastion_host_name, bsl_request" - }, - "begin_put_bastion_shareable_link" : { - "sync": { - "signature": "def begin_put_bastion_shareable_link(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Creates a Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_11_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns an iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_11_01.models.BastionShareableLinkListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" - }, - "async": { - "coroutine": false, - "signature": "def begin_put_bastion_shareable_link(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e AsyncLROPoller[AsyncItemPaged[\"_models.BastionShareableLinkListResult\"]]:\n", - "doc": "\"\"\"Creates a Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_11_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns an iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_11_01.models.BastionShareableLinkListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" - }, - "call": "resource_group_name, bastion_host_name, bsl_request" - }, - "_delete_bastion_shareable_link_initial" : { - "sync": { - "signature": "def _delete_bastion_shareable_link_initial(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_11_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def _delete_bastion_shareable_link_initial(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e None:\n", - "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_11_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "resource_group_name, bastion_host_name, bsl_request" - }, - "begin_delete_bastion_shareable_link" : { - "sync": { - "signature": "def begin_delete_bastion_shareable_link(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Deletes the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_11_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def begin_delete_bastion_shareable_link(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e AsyncLROPoller[None]:\n", - "doc": "\"\"\"Deletes the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_11_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" - }, - "call": "resource_group_name, bastion_host_name, bsl_request" - }, - "get_bastion_shareable_link" : { - "sync": { - "signature": "def get_bastion_shareable_link(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Return the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_11_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_11_01.models.BastionShareableLinkListResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": false, - "signature": "def get_bastion_shareable_link(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e AsyncItemPaged[\"_models.BastionShareableLinkListResult\"]:\n", - "doc": "\"\"\"Return the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_11_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_11_01.models.BastionShareableLinkListResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "resource_group_name, bastion_host_name, bsl_request" - }, - "_get_active_sessions_initial" : { - "sync": { - "signature": "def _get_active_sessions_initial(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionActiveSessionListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_11_01.models.BastionActiveSessionListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": true, - "signature": "async def _get_active_sessions_initial(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n **kwargs\n) -\u003e Optional[\"_models.BastionActiveSessionListResult\"]:\n", - "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionActiveSessionListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_11_01.models.BastionActiveSessionListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "call": "resource_group_name, bastion_host_name" - }, - "begin_get_active_sessions" : { - "sync": { - "signature": "def begin_get_active_sessions(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns an iterator like instance of either BastionActiveSessionListResult or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_11_01.models.BastionActiveSessionListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"], \"azure.core.polling\": [\"LROPoller\", \"NoPolling\", \"PollingMethod\"], \"azure.mgmt.core.polling.arm_polling\": [\"ARMPolling\"], \"azure.core.paging\": [\"ItemPaged\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Iterable\", \"Optional\", \"TypeVar\", \"Union\"]}}}", + "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"], \"azure.core.polling\": [\"AsyncLROPoller\", \"AsyncNoPolling\", \"AsyncPollingMethod\"], \"azure.mgmt.core.polling.async_arm_polling\": [\"AsyncARMPolling\"], \"azure.core.async_paging\": [\"AsyncItemPaged\", \"AsyncList\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"AsyncIterable\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\", \"Union\"]}}}", + "operations": { + "_put_bastion_shareable_link_initial" : { + "sync": { + "signature": "def _put_bastion_shareable_link_initial(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_11_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionShareableLinkListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_11_01.models.BastionShareableLinkListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def _put_bastion_shareable_link_initial(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e Optional[\"_models.BastionShareableLinkListResult\"]:\n", + "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_11_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionShareableLinkListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_11_01.models.BastionShareableLinkListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "resource_group_name, bastion_host_name, bsl_request" }, - "async": { - "coroutine": false, - "signature": "def begin_get_active_sessions(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n **kwargs\n) -\u003e AsyncLROPoller[AsyncItemPaged[\"_models.BastionActiveSessionListResult\"]]:\n", - "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns an iterator like instance of either BastionActiveSessionListResult or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_11_01.models.BastionActiveSessionListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + "begin_put_bastion_shareable_link" : { + "sync": { + "signature": "def begin_put_bastion_shareable_link(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Creates a Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_11_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the ARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns an iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_11_01.models.BastionShareableLinkListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "async": { + "coroutine": false, + "signature": "def begin_put_bastion_shareable_link(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e AsyncLROPoller[AsyncItemPaged[\"_models.BastionShareableLinkListResult\"]]:\n", + "doc": "\"\"\"Creates a Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_11_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the AsyncARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns an iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_11_01.models.BastionShareableLinkListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "call": "resource_group_name, bastion_host_name, bsl_request" }, - "call": "resource_group_name, bastion_host_name" - }, - "disconnect_active_sessions" : { - "sync": { - "signature": "def disconnect_active_sessions(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n session_ids, # type: \"_models.SessionIds\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param session_ids: The list of sessionids to disconnect.\n:type session_ids: ~azure.mgmt.network.v2020_11_01.models.SessionIds\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionSessionDeleteResult or the result of cls(response)\n:rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_11_01.models.BastionSessionDeleteResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" - }, - "async": { - "coroutine": false, - "signature": "def disconnect_active_sessions(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n session_ids: \"_models.SessionIds\",\n **kwargs\n) -\u003e AsyncItemPaged[\"_models.BastionSessionDeleteResult\"]:\n", - "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param session_ids: The list of sessionids to disconnect.\n:type session_ids: ~azure.mgmt.network.v2020_11_01.models.SessionIds\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionSessionDeleteResult or the result of cls(response)\n:rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_11_01.models.BastionSessionDeleteResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "_delete_bastion_shareable_link_initial" : { + "sync": { + "signature": "def _delete_bastion_shareable_link_initial(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_11_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def _delete_bastion_shareable_link_initial(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e None:\n", + "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_11_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "resource_group_name, bastion_host_name, bsl_request" }, - "call": "resource_group_name, bastion_host_name, session_ids" - }, - "check_dns_name_availability" : { - "sync": { - "signature": "def check_dns_name_availability(\n self,\n location, # type: str\n domain_name_label, # type: str\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_11_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "begin_delete_bastion_shareable_link" : { + "sync": { + "signature": "def begin_delete_bastion_shareable_link(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Deletes the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_11_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the ARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def begin_delete_bastion_shareable_link(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e AsyncLROPoller[None]:\n", + "doc": "\"\"\"Deletes the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_11_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the AsyncARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "call": "resource_group_name, bastion_host_name, bsl_request" }, - "async": { - "coroutine": true, - "signature": "async def check_dns_name_availability(\n self,\n location: str,\n domain_name_label: str,\n **kwargs\n) -\u003e \"_models.DnsNameAvailabilityResult\":\n", - "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_11_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "get_bastion_shareable_link" : { + "sync": { + "signature": "def get_bastion_shareable_link(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Return the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_11_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_11_01.models.BastionShareableLinkListResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": false, + "signature": "def get_bastion_shareable_link(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e AsyncItemPaged[\"_models.BastionShareableLinkListResult\"]:\n", + "doc": "\"\"\"Return the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2020_11_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_11_01.models.BastionShareableLinkListResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "resource_group_name, bastion_host_name, bsl_request" }, - "call": "location, domain_name_label" - }, - "supported_security_providers" : { - "sync": { - "signature": "def supported_security_providers(\n self,\n resource_group_name, # type: str\n virtual_wan_name, # type: str\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Gives the supported security providers for the virtual wan.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN for which supported security providers are\n needed.\n:type virtual_wan_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VirtualWanSecurityProviders, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_11_01.models.VirtualWanSecurityProviders\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "_get_active_sessions_initial" : { + "sync": { + "signature": "def _get_active_sessions_initial(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionActiveSessionListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_11_01.models.BastionActiveSessionListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def _get_active_sessions_initial(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n **kwargs\n) -\u003e Optional[\"_models.BastionActiveSessionListResult\"]:\n", + "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionActiveSessionListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_11_01.models.BastionActiveSessionListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "resource_group_name, bastion_host_name" }, - "async": { - "coroutine": true, - "signature": "async def supported_security_providers(\n self,\n resource_group_name: str,\n virtual_wan_name: str,\n **kwargs\n) -\u003e \"_models.VirtualWanSecurityProviders\":\n", - "doc": "\"\"\"Gives the supported security providers for the virtual wan.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN for which supported security providers are\n needed.\n:type virtual_wan_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VirtualWanSecurityProviders, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_11_01.models.VirtualWanSecurityProviders\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "begin_get_active_sessions" : { + "sync": { + "signature": "def begin_get_active_sessions(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the ARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns an iterator like instance of either BastionActiveSessionListResult or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_11_01.models.BastionActiveSessionListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "async": { + "coroutine": false, + "signature": "def begin_get_active_sessions(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n **kwargs\n) -\u003e AsyncLROPoller[AsyncItemPaged[\"_models.BastionActiveSessionListResult\"]]:\n", + "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the AsyncARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns an iterator like instance of either BastionActiveSessionListResult or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_11_01.models.BastionActiveSessionListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "call": "resource_group_name, bastion_host_name" }, - "call": "resource_group_name, virtual_wan_name" - }, - "_generatevirtualwanvpnserverconfigurationvpnprofile_initial" : { - "sync": { - "signature": "def _generatevirtualwanvpnserverconfigurationvpnprofile_initial(\n self,\n resource_group_name, # type: str\n virtual_wan_name, # type: str\n vpn_client_params, # type: \"_models.VirtualWanVpnProfileParameters\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2020_11_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VpnProfileResponse, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_11_01.models.VpnProfileResponse or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "disconnect_active_sessions" : { + "sync": { + "signature": "def disconnect_active_sessions(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n session_ids, # type: \"_models.SessionIds\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param session_ids: The list of sessionids to disconnect.\n:type session_ids: ~azure.mgmt.network.v2020_11_01.models.SessionIds\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionSessionDeleteResult or the result of cls(response)\n:rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2020_11_01.models.BastionSessionDeleteResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": false, + "signature": "def disconnect_active_sessions(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n session_ids: \"_models.SessionIds\",\n **kwargs\n) -\u003e AsyncItemPaged[\"_models.BastionSessionDeleteResult\"]:\n", + "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param session_ids: The list of sessionids to disconnect.\n:type session_ids: ~azure.mgmt.network.v2020_11_01.models.SessionIds\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionSessionDeleteResult or the result of cls(response)\n:rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2020_11_01.models.BastionSessionDeleteResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "resource_group_name, bastion_host_name, session_ids" }, - "async": { - "coroutine": true, - "signature": "async def _generatevirtualwanvpnserverconfigurationvpnprofile_initial(\n self,\n resource_group_name: str,\n virtual_wan_name: str,\n vpn_client_params: \"_models.VirtualWanVpnProfileParameters\",\n **kwargs\n) -\u003e Optional[\"_models.VpnProfileResponse\"]:\n", - "doc": "\"\"\"\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2020_11_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VpnProfileResponse, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_11_01.models.VpnProfileResponse or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + "check_dns_name_availability" : { + "sync": { + "signature": "def check_dns_name_availability(\n self,\n location, # type: str\n domain_name_label, # type: str\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_11_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def check_dns_name_availability(\n self,\n location: str,\n domain_name_label: str,\n **kwargs\n) -\u003e \"_models.DnsNameAvailabilityResult\":\n", + "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_11_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "location, domain_name_label" }, - "call": "resource_group_name, virtual_wan_name, vpn_client_params" - }, - "begin_generatevirtualwanvpnserverconfigurationvpnprofile" : { - "sync": { - "signature": "def begin_generatevirtualwanvpnserverconfigurationvpnprofile(\n self,\n resource_group_name, # type: str\n virtual_wan_name, # type: str\n vpn_client_params, # type: \"_models.VirtualWanVpnProfileParameters\"\n **kwargs # type: Any\n):\n", - "doc": "\"\"\"Generates a unique VPN profile for P2S clients for VirtualWan and associated\nVpnServerConfiguration combination in the specified resource group.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2020_11_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns either VpnProfileResponse or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_11_01.models.VpnProfileResponse]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + "supported_security_providers" : { + "sync": { + "signature": "def supported_security_providers(\n self,\n resource_group_name, # type: str\n virtual_wan_name, # type: str\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Gives the supported security providers for the virtual wan.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN for which supported security providers are\n needed.\n:type virtual_wan_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VirtualWanSecurityProviders, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_11_01.models.VirtualWanSecurityProviders\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def supported_security_providers(\n self,\n resource_group_name: str,\n virtual_wan_name: str,\n **kwargs\n) -\u003e \"_models.VirtualWanSecurityProviders\":\n", + "doc": "\"\"\"Gives the supported security providers for the virtual wan.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN for which supported security providers are\n needed.\n:type virtual_wan_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VirtualWanSecurityProviders, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_11_01.models.VirtualWanSecurityProviders\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "resource_group_name, virtual_wan_name" }, - "async": { - "coroutine": true, - "signature": "async def begin_generatevirtualwanvpnserverconfigurationvpnprofile(\n self,\n resource_group_name: str,\n virtual_wan_name: str,\n vpn_client_params: \"_models.VirtualWanVpnProfileParameters\",\n **kwargs\n) -\u003e AsyncLROPoller[\"_models.VpnProfileResponse\"]:\n", - "doc": "\"\"\"Generates a unique VPN profile for P2S clients for VirtualWan and associated\nVpnServerConfiguration combination in the specified resource group.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2020_11_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: True for ARMPolling, False for no polling, or a\n polling object for personal polling strategy\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns either VpnProfileResponse or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_11_01.models.VpnProfileResponse]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + "_generatevirtualwanvpnserverconfigurationvpnprofile_initial" : { + "sync": { + "signature": "def _generatevirtualwanvpnserverconfigurationvpnprofile_initial(\n self,\n resource_group_name, # type: str\n virtual_wan_name, # type: str\n vpn_client_params, # type: \"_models.VirtualWanVpnProfileParameters\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2020_11_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VpnProfileResponse, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_11_01.models.VpnProfileResponse or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def _generatevirtualwanvpnserverconfigurationvpnprofile_initial(\n self,\n resource_group_name: str,\n virtual_wan_name: str,\n vpn_client_params: \"_models.VirtualWanVpnProfileParameters\",\n **kwargs\n) -\u003e Optional[\"_models.VpnProfileResponse\"]:\n", + "doc": "\"\"\"\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2020_11_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VpnProfileResponse, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2020_11_01.models.VpnProfileResponse or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "resource_group_name, virtual_wan_name, vpn_client_params" }, - "call": "resource_group_name, virtual_wan_name, vpn_client_params" + "begin_generatevirtualwanvpnserverconfigurationvpnprofile" : { + "sync": { + "signature": "def begin_generatevirtualwanvpnserverconfigurationvpnprofile(\n self,\n resource_group_name, # type: str\n virtual_wan_name, # type: str\n vpn_client_params, # type: \"_models.VirtualWanVpnProfileParameters\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Generates a unique VPN profile for P2S clients for VirtualWan and associated\nVpnServerConfiguration combination in the specified resource group.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2020_11_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the ARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns either VpnProfileResponse or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2020_11_01.models.VpnProfileResponse]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def begin_generatevirtualwanvpnserverconfigurationvpnprofile(\n self,\n resource_group_name: str,\n virtual_wan_name: str,\n vpn_client_params: \"_models.VirtualWanVpnProfileParameters\",\n **kwargs\n) -\u003e AsyncLROPoller[\"_models.VpnProfileResponse\"]:\n", + "doc": "\"\"\"Generates a unique VPN profile for P2S clients for VirtualWan and associated\nVpnServerConfiguration combination in the specified resource group.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2020_11_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the AsyncARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns either VpnProfileResponse or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2020_11_01.models.VpnProfileResponse]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "call": "resource_group_name, virtual_wan_name, vpn_client_params" + } } - }, - "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"], \"azure.core.polling\": [\"LROPoller\", \"NoPolling\", \"PollingMethod\"], \"azure.mgmt.core.polling.arm_polling\": [\"ARMPolling\"], \"azure.core.paging\": [\"ItemPaged\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Iterable\", \"Optional\", \"TypeVar\", \"Union\"]}}}", - "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"], \"azure.core.polling\": [\"AsyncLROPoller\", \"AsyncNoPolling\", \"AsyncPollingMethod\"], \"azure.mgmt.core.polling.async_arm_polling\": [\"AsyncARMPolling\"], \"azure.core.async_paging\": [\"AsyncItemPaged\", \"AsyncList\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"AsyncIterable\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\", \"Union\"]}}}" + } } \ No newline at end of file diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/_network_management_client.py index cb089d3fd94d..4768f2e373b1 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/_network_management_client.py @@ -16,6 +16,7 @@ from typing import Any, Optional from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse from ._configuration import NetworkManagementClientConfiguration from .operations import ApplicationGatewaysOperations @@ -366,6 +367,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( @@ -581,6 +583,24 @@ def __init__( self.web_application_firewall_policies = WebApplicationFirewallPoliciesOperations( self._client, self._config, self._serialize, self._deserialize) + def _send_request(self, http_request, **kwargs): + # type: (HttpRequest, Any) -> HttpResponse + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.HttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + def close(self): # type: () -> None self._client.close() diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/_network_management_client.py index 206115e31da3..8cd4b88e20a1 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/_network_management_client.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/_network_management_client.py @@ -8,6 +8,7 @@ from typing import Any, Optional, TYPE_CHECKING +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest from azure.mgmt.core import AsyncARMPipelineClient from msrest import Deserializer, Serializer @@ -363,6 +364,7 @@ def __init__( client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False self._deserialize = Deserializer(client_models) self.application_gateways = ApplicationGatewaysOperations( @@ -578,6 +580,23 @@ def __init__( self.web_application_firewall_policies = WebApplicationFirewallPoliciesOperations( self._client, self._config, self._serialize, self._deserialize) + async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + async def close(self) -> None: await self._client.close() diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_application_gateway_private_endpoint_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_application_gateway_private_endpoint_connections_operations.py index 1e7454aec931..7f172f172246 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_application_gateway_private_endpoint_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_application_gateway_private_endpoint_connections_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -236,8 +236,8 @@ async def begin_update( :type parameters: ~azure.mgmt.network.v2020_11_01.models.ApplicationGatewayPrivateEndpointConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGatewayPrivateEndpointConnection or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_application_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_application_gateways_operations.py index 28ae3844a7c0..6931c835da36 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_application_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_application_gateways_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -283,8 +283,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_11_01.models.ApplicationGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGateway or the result of cls(response) @@ -597,8 +597,8 @@ async def begin_start( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -705,8 +705,8 @@ async def begin_stop( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -824,8 +824,8 @@ async def begin_backend_health( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGatewayBackendHealth or the result of cls(response) @@ -957,8 +957,8 @@ async def begin_backend_health_on_demand( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationGatewayBackendHealthOnDemand or the result of cls(response) @@ -1052,7 +1052,7 @@ async def list_available_server_variables( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) @@ -1103,7 +1103,7 @@ async def list_available_request_headers( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) @@ -1154,7 +1154,7 @@ async def list_available_response_headers( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_application_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_application_security_groups_operations.py index df5da02f0f46..c5c222bd07bd 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_application_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_application_security_groups_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type application_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -284,8 +284,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_11_01.models.ApplicationSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ApplicationSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_azure_firewalls_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_azure_firewalls_operations.py index 9a61495a9c5a..975517c6351c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_azure_firewalls_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_azure_firewalls_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type azure_firewall_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -283,8 +283,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_11_01.models.AzureFirewall :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AzureFirewall or the result of cls(response) @@ -409,8 +409,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2020_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AzureFirewall or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_bastion_hosts_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_bastion_hosts_operations.py index a0cc8a4077a5..d279b089322e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_bastion_hosts_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_bastion_hosts_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type bastion_host_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -283,8 +283,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_11_01.models.BastionHost :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either BastionHost or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_connection_monitors_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_connection_monitors_operations.py index 3c600a3e8bdd..cc2267acc017 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_connection_monitors_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_connection_monitors_operations.py @@ -91,7 +91,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -129,8 +129,8 @@ async def begin_create_or_update( :type migrate: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionMonitorResult or the result of cls(response) @@ -238,7 +238,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('ConnectionMonitorResult', pipeline_response) @@ -288,7 +288,7 @@ async def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -313,8 +313,8 @@ async def begin_delete( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -425,7 +425,7 @@ async def update_tags( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('ConnectionMonitorResult', pipeline_response) @@ -475,7 +475,7 @@ async def _stop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -500,8 +500,8 @@ async def begin_stop( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -591,7 +591,7 @@ async def _start_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -616,8 +616,8 @@ async def begin_start( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -707,7 +707,7 @@ async def _query_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -739,8 +739,8 @@ async def begin_query( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionMonitorQueryResult or the result of cls(response) @@ -858,7 +858,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_custom_ip_prefixes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_custom_ip_prefixes_operations.py index e34dadff1e7c..dd14a57488a7 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_custom_ip_prefixes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_custom_ip_prefixes_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type custom_ip_prefix_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -288,8 +288,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_11_01.models.CustomIpPrefix :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either CustomIpPrefix or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_ddos_custom_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_ddos_custom_policies_operations.py index 8cf777b51190..56f3a7fba29d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_ddos_custom_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_ddos_custom_policies_operations.py @@ -100,8 +100,8 @@ async def begin_delete( :type ddos_custom_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -282,8 +282,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_11_01.models.DdosCustomPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either DdosCustomPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_ddos_protection_plans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_ddos_protection_plans_operations.py index 82b49bc0df2c..658ca01e7154 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_ddos_protection_plans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_ddos_protection_plans_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type ddos_protection_plan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -283,8 +283,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_11_01.models.DdosProtectionPlan :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either DdosProtectionPlan or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_dscp_configuration_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_dscp_configuration_operations.py index 8428b10c8f71..c1fa7231ad0f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_dscp_configuration_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_dscp_configuration_operations.py @@ -117,8 +117,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_11_01.models.DscpConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either DscpConfiguration or the result of cls(response) @@ -229,8 +229,8 @@ async def begin_delete( :type dscp_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_express_route_circuit_authorizations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_express_route_circuit_authorizations_operations.py index 2afba736674c..d784ef9f6706 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_express_route_circuit_authorizations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_express_route_circuit_authorizations_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type authorization_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -300,8 +300,8 @@ async def begin_create_or_update( :type authorization_parameters: ~azure.mgmt.network.v2020_11_01.models.ExpressRouteCircuitAuthorization :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitAuthorization or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_express_route_circuit_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_express_route_circuit_connections_operations.py index 056e5a233e91..25e545b6dd72 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_express_route_circuit_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_express_route_circuit_connections_operations.py @@ -112,8 +112,8 @@ async def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -317,8 +317,8 @@ async def begin_create_or_update( :type express_route_circuit_connection_parameters: ~azure.mgmt.network.v2020_11_01.models.ExpressRouteCircuitConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitConnection or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_express_route_circuit_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_express_route_circuit_peerings_operations.py index d85dc5ace718..43edf8fe50e4 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_express_route_circuit_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_express_route_circuit_peerings_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -300,8 +300,8 @@ async def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2020_11_01.models.ExpressRouteCircuitPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_express_route_circuits_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_express_route_circuits_operations.py index 06bc4bf4204c..1648c881c81b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_express_route_circuits_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_express_route_circuits_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type circuit_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -283,8 +283,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_11_01.models.ExpressRouteCircuit :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -477,8 +477,8 @@ async def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -608,8 +608,8 @@ async def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) @@ -739,8 +739,8 @@ async def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableSummaryListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_express_route_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_express_route_connections_operations.py index 3777c285fe6e..3cbabfdae3c3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_express_route_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_express_route_connections_operations.py @@ -122,8 +122,8 @@ async def begin_create_or_update( :type put_express_route_connection_parameters: ~azure.mgmt.network.v2020_11_01.models.ExpressRouteConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteConnection or the result of cls(response) @@ -303,8 +303,8 @@ async def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_express_route_cross_connection_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_express_route_cross_connection_peerings_operations.py index 13ba1e9bd966..2e3d94b971f3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_express_route_cross_connection_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_express_route_cross_connection_peerings_operations.py @@ -180,8 +180,8 @@ async def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -374,8 +374,8 @@ async def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2020_11_01.models.ExpressRouteCrossConnectionPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCrossConnectionPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_express_route_cross_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_express_route_cross_connections_operations.py index 8789e6da38db..bbe7f6a119e3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_express_route_cross_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_express_route_cross_connections_operations.py @@ -308,8 +308,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_11_01.models.ExpressRouteCrossConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCrossConnection or the result of cls(response) @@ -503,8 +503,8 @@ async def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -634,8 +634,8 @@ async def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCrossConnectionsRoutesTableSummaryListResult or the result of cls(response) @@ -765,8 +765,8 @@ async def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_express_route_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_express_route_gateways_operations.py index 689f12cd327b..35678f0e1ef7 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_express_route_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_express_route_gateways_operations.py @@ -221,8 +221,8 @@ async def begin_create_or_update( :type put_express_route_gateway_parameters: ~azure.mgmt.network.v2020_11_01.models.ExpressRouteGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteGateway or the result of cls(response) @@ -348,8 +348,8 @@ async def begin_update_tags( :type express_route_gateway_parameters: ~azure.mgmt.network.v2020_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRouteGateway or the result of cls(response) @@ -519,8 +519,8 @@ async def begin_delete( :type express_route_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_express_route_ports_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_express_route_ports_operations.py index 7438fb8d433c..d2bc2ff96b95 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_express_route_ports_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_express_route_ports_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type express_route_port_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -283,8 +283,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_11_01.models.ExpressRoutePort :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ExpressRoutePort or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_firewall_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_firewall_policies_operations.py index 2b145e514689..094779fd74f1 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_firewall_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_firewall_policies_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type firewall_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -288,8 +288,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_11_01.models.FirewallPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FirewallPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_firewall_policy_rule_collection_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_firewall_policy_rule_collection_groups_operations.py index 3f811a99eab6..0906f5fda2aa 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_firewall_policy_rule_collection_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_firewall_policy_rule_collection_groups_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type rule_collection_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -300,8 +300,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_11_01.models.FirewallPolicyRuleCollectionGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FirewallPolicyRuleCollectionGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_flow_logs_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_flow_logs_operations.py index 5f0b59c18ed2..b014702e7a16 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_flow_logs_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_flow_logs_operations.py @@ -88,7 +88,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -123,8 +123,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_11_01.models.FlowLog :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FlowLog or the result of cls(response) @@ -239,7 +239,7 @@ async def update_tags( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('FlowLog', pipeline_response) @@ -302,7 +302,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('FlowLog', pipeline_response) @@ -352,7 +352,7 @@ async def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -377,8 +377,8 @@ async def begin_delete( :type flow_log_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -493,7 +493,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_hub_route_tables_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_hub_route_tables_operations.py index 7095d72d7861..726637659d4a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_hub_route_tables_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_hub_route_tables_operations.py @@ -122,8 +122,8 @@ async def begin_create_or_update( :type route_table_parameters: ~azure.mgmt.network.v2020_11_01.models.HubRouteTable :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either HubRouteTable or the result of cls(response) @@ -303,8 +303,8 @@ async def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_hub_virtual_network_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_hub_virtual_network_connections_operations.py index 797adce4cba2..20f32bfd7efe 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_hub_virtual_network_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_hub_virtual_network_connections_operations.py @@ -123,8 +123,8 @@ async def begin_create_or_update( :type hub_virtual_network_connection_parameters: ~azure.mgmt.network.v2020_11_01.models.HubVirtualNetworkConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either HubVirtualNetworkConnection or the result of cls(response) @@ -242,8 +242,8 @@ async def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_inbound_nat_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_inbound_nat_rules_operations.py index 1116a9890345..c855382a94d2 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_inbound_nat_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_inbound_nat_rules_operations.py @@ -180,8 +180,8 @@ async def begin_delete( :type inbound_nat_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -379,8 +379,8 @@ async def begin_create_or_update( :type inbound_nat_rule_parameters: ~azure.mgmt.network.v2020_11_01.models.InboundNatRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either InboundNatRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_inbound_security_rule_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_inbound_security_rule_operations.py index 3e4c944a3e8e..933f715adf2b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_inbound_security_rule_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_inbound_security_rule_operations.py @@ -122,8 +122,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_11_01.models.InboundSecurityRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either InboundSecurityRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_ip_allocations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_ip_allocations_operations.py index b6452722c64b..16d63251ea8b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_ip_allocations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_ip_allocations_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type ip_allocation_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -288,8 +288,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_11_01.models.IpAllocation :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either IpAllocation or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_ip_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_ip_groups_operations.py index 7f07e1225c0e..0bf9a6af26b4 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_ip_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_ip_groups_operations.py @@ -97,7 +97,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('IpGroup', pipeline_response) @@ -151,7 +151,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -183,8 +183,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_11_01.models.IpGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either IpGroup or the result of cls(response) @@ -293,7 +293,7 @@ async def update_groups( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('IpGroup', pipeline_response) @@ -341,7 +341,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -363,8 +363,8 @@ async def begin_delete( :type ip_groups_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -473,7 +473,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -540,7 +540,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_load_balancer_backend_address_pools_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_load_balancer_backend_address_pools_operations.py index 710c912f731d..ee5df7b6737e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_load_balancer_backend_address_pools_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_load_balancer_backend_address_pools_operations.py @@ -259,8 +259,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_11_01.models.BackendAddressPool :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either BackendAddressPool or the result of cls(response) @@ -378,8 +378,8 @@ async def begin_delete( :type backend_address_pool_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_load_balancers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_load_balancers_operations.py index fa0d61ca7060..00c356911d6a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_load_balancers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_load_balancers_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type load_balancer_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -288,8 +288,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_11_01.models.LoadBalancer :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LoadBalancer or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_local_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_local_network_gateways_operations.py index 3a98a018098d..d0e2dee31309 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_local_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_local_network_gateways_operations.py @@ -117,8 +117,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_11_01.models.LocalNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either LocalNetworkGateway or the result of cls(response) @@ -287,8 +287,8 @@ async def begin_delete( :type local_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_nat_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_nat_gateways_operations.py index 1cf189e2f6ac..631e8ea970e3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_nat_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_nat_gateways_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type nat_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -289,8 +289,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_11_01.models.NatGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NatGateway or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_nat_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_nat_rules_operations.py index fc45ac4d1717..5c044ea351ff 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_nat_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_nat_rules_operations.py @@ -185,8 +185,8 @@ async def begin_create_or_update( :type nat_rule_parameters: ~azure.mgmt.network.v2020_11_01.models.VpnGatewayNatRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnGatewayNatRule or the result of cls(response) @@ -304,8 +304,8 @@ async def begin_delete( :type nat_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_network_interface_tap_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_network_interface_tap_configurations_operations.py index 4bf72bc76b80..c8ad2cd32cb2 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_network_interface_tap_configurations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_network_interface_tap_configurations_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type tap_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -300,8 +300,8 @@ async def begin_create_or_update( :type tap_configuration_parameters: ~azure.mgmt.network.v2020_11_01.models.NetworkInterfaceTapConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkInterfaceTapConfiguration or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_network_interfaces_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_network_interfaces_operations.py index 99b0b13f54b3..1b0397d2f94b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_network_interfaces_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_network_interfaces_operations.py @@ -324,8 +324,8 @@ async def begin_delete( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -511,8 +511,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_11_01.models.NetworkInterface :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkInterface or the result of cls(response) @@ -830,8 +830,8 @@ async def begin_get_effective_route_table( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either EffectiveRouteListResult or the result of cls(response) @@ -946,8 +946,8 @@ async def begin_list_effective_network_security_groups( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either EffectiveNetworkSecurityGroupListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_network_management_client_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_network_management_client_operations.py index 1319790f9767..804b9062780e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_network_management_client_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_network_management_client_operations.py @@ -95,8 +95,8 @@ async def begin_put_bastion_shareable_link( :type bsl_request: ~azure.mgmt.network.v2020_11_01.models.BastionShareableLinkListRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns an iterator like instance of either BastionShareableLinkListResult or the result of cls(response) @@ -278,8 +278,8 @@ async def begin_delete_bastion_shareable_link( :type bsl_request: ~azure.mgmt.network.v2020_11_01.models.BastionShareableLinkListRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -477,8 +477,8 @@ async def begin_get_active_sessions( :type bastion_host_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns an iterator like instance of either BastionActiveSessionListResult or the result of cls(response) @@ -862,8 +862,8 @@ async def begin_generatevirtualwanvpnserverconfigurationvpnprofile( :type vpn_client_params: ~azure.mgmt.network.v2020_11_01.models.VirtualWanVpnProfileParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnProfileResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_network_profiles_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_network_profiles_operations.py index cbfe41a6a528..4a7138f87a52 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_network_profiles_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_network_profiles_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type network_profile_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_network_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_network_security_groups_operations.py index 7862be99bb4b..104251c35002 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_network_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_network_security_groups_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type network_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -289,8 +289,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_11_01.models.NetworkSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_network_virtual_appliances_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_network_virtual_appliances_operations.py index 42caab8cc219..dd9b9d17df8f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_network_virtual_appliances_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_network_virtual_appliances_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type network_virtual_appliance_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -354,8 +354,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_11_01.models.NetworkVirtualAppliance :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkVirtualAppliance or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_network_watchers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_network_watchers_operations.py index c1717208472d..e6e984cb48cc 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_network_watchers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_network_watchers_operations.py @@ -99,7 +99,7 @@ async def create_or_update( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -162,7 +162,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('NetworkWatcher', pipeline_response) @@ -210,7 +210,7 @@ async def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -232,8 +232,8 @@ async def begin_delete( :type network_watcher_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -338,7 +338,7 @@ async def update_tags( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('NetworkWatcher', pipeline_response) @@ -409,7 +409,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -476,7 +476,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -543,7 +543,7 @@ async def get_topology( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('Topology', pipeline_response) @@ -597,7 +597,7 @@ async def _verify_ip_flow_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -629,8 +629,8 @@ async def begin_verify_ip_flow( :type parameters: ~azure.mgmt.network.v2020_11_01.models.VerificationIPFlowParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VerificationIPFlowResult or the result of cls(response) @@ -726,7 +726,7 @@ async def _get_next_hop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -758,8 +758,8 @@ async def begin_get_next_hop( :type parameters: ~azure.mgmt.network.v2020_11_01.models.NextHopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NextHopResult or the result of cls(response) @@ -855,7 +855,7 @@ async def _get_vm_security_rules_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -887,8 +887,8 @@ async def begin_get_vm_security_rules( :type parameters: ~azure.mgmt.network.v2020_11_01.models.SecurityGroupViewParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either SecurityGroupViewResult or the result of cls(response) @@ -984,7 +984,7 @@ async def _get_troubleshooting_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1016,8 +1016,8 @@ async def begin_get_troubleshooting( :type parameters: ~azure.mgmt.network.v2020_11_01.models.TroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1113,7 +1113,7 @@ async def _get_troubleshooting_result_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1145,8 +1145,8 @@ async def begin_get_troubleshooting_result( :type parameters: ~azure.mgmt.network.v2020_11_01.models.QueryTroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1242,7 +1242,7 @@ async def _set_flow_log_configuration_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1274,8 +1274,8 @@ async def begin_set_flow_log_configuration( :type parameters: ~azure.mgmt.network.v2020_11_01.models.FlowLogInformation :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1371,7 +1371,7 @@ async def _get_flow_log_status_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1404,8 +1404,8 @@ async def begin_get_flow_log_status( :type parameters: ~azure.mgmt.network.v2020_11_01.models.FlowLogStatusParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1501,7 +1501,7 @@ async def _check_connectivity_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1534,8 +1534,8 @@ async def begin_check_connectivity( :type parameters: ~azure.mgmt.network.v2020_11_01.models.ConnectivityParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectivityInformation or the result of cls(response) @@ -1631,7 +1631,7 @@ async def _get_azure_reachability_report_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1665,8 +1665,8 @@ async def begin_get_azure_reachability_report( :type parameters: ~azure.mgmt.network.v2020_11_01.models.AzureReachabilityReportParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AzureReachabilityReport or the result of cls(response) @@ -1762,7 +1762,7 @@ async def _list_available_providers_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1795,8 +1795,8 @@ async def begin_list_available_providers( :type parameters: ~azure.mgmt.network.v2020_11_01.models.AvailableProvidersListParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either AvailableProvidersList or the result of cls(response) @@ -1892,7 +1892,7 @@ async def _get_network_configuration_diagnostic_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1928,8 +1928,8 @@ async def begin_get_network_configuration_diagnostic( :type parameters: ~azure.mgmt.network.v2020_11_01.models.NetworkConfigurationDiagnosticParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either NetworkConfigurationDiagnosticResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_p2_svpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_p2_svpn_gateways_operations.py index 0afbb14e5ce3..832e624baeff 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_p2_svpn_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_p2_svpn_gateways_operations.py @@ -176,8 +176,8 @@ async def begin_create_or_update( :type p2_s_vpn_gateway_parameters: ~azure.mgmt.network.v2020_11_01.models.P2SVpnGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -303,8 +303,8 @@ async def begin_update_tags( :type p2_s_vpn_gateway_parameters: ~azure.mgmt.network.v2020_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -415,8 +415,8 @@ async def begin_delete( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -664,8 +664,8 @@ async def begin_reset( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -790,8 +790,8 @@ async def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2020_11_01.models.P2SVpnProfileParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnProfileResponse or the result of cls(response) @@ -908,8 +908,8 @@ async def begin_get_p2_s_vpn_connection_health( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -1034,8 +1034,8 @@ async def begin_get_p2_s_vpn_connection_health_detailed( :type request: ~azure.mgmt.network.v2020_11_01.models.P2SVpnConnectionHealthRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either P2SVpnConnectionHealth or the result of cls(response) @@ -1156,8 +1156,8 @@ async def begin_disconnect_p2_s_vpn_connections( :type request: ~azure.mgmt.network.v2020_11_01.models.P2SVpnConnectionRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_packet_captures_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_packet_captures_operations.py index 25ddc49ed034..ed46856c28d7 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_packet_captures_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_packet_captures_operations.py @@ -88,7 +88,7 @@ async def _create_initial( if response.status_code not in [201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PacketCaptureResult', pipeline_response) @@ -119,8 +119,8 @@ async def begin_create( :type parameters: ~azure.mgmt.network.v2020_11_01.models.PacketCapture :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PacketCaptureResult or the result of cls(response) @@ -227,7 +227,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PacketCaptureResult', pipeline_response) @@ -277,7 +277,7 @@ async def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -302,8 +302,8 @@ async def begin_delete( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -393,7 +393,7 @@ async def _stop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -418,8 +418,8 @@ async def begin_stop( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -509,7 +509,7 @@ async def _get_status_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -541,8 +541,8 @@ async def begin_get_status( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PacketCaptureQueryStatusResult or the result of cls(response) @@ -660,7 +660,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_private_dns_zone_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_private_dns_zone_groups_operations.py index ac6a50d0ffde..80b5c594c883 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_private_dns_zone_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_private_dns_zone_groups_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type private_dns_zone_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -300,8 +300,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_11_01.models.PrivateDnsZoneGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PrivateDnsZoneGroup or the result of cls(response) @@ -420,7 +420,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_private_endpoints_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_private_endpoints_operations.py index 972537b5e68d..2fa068b63774 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_private_endpoints_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_private_endpoints_operations.py @@ -80,7 +80,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -102,8 +102,8 @@ async def begin_delete( :type private_endpoint_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -205,7 +205,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateEndpoint', pipeline_response) @@ -259,7 +259,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -291,8 +291,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_11_01.models.PrivateEndpoint :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PrivateEndpoint or the result of cls(response) @@ -405,7 +405,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -472,7 +472,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_private_link_services_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_private_link_services_operations.py index 00e753aa15c2..2fcee33d6581 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_private_link_services_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_private_link_services_operations.py @@ -80,7 +80,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -102,8 +102,8 @@ async def begin_delete( :type service_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -205,7 +205,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateLinkService', pipeline_response) @@ -259,7 +259,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -291,8 +291,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_11_01.models.PrivateLinkService :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PrivateLinkService or the result of cls(response) @@ -405,7 +405,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -472,7 +472,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -541,7 +541,7 @@ async def get_private_endpoint_connection( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateEndpointConnection', pipeline_response) @@ -612,7 +612,7 @@ async def update_private_endpoint_connection( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateEndpointConnection', pipeline_response) @@ -662,7 +662,7 @@ async def _delete_private_endpoint_connection_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -687,8 +687,8 @@ async def begin_delete_private_endpoint_connection( :type pe_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -803,7 +803,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -881,8 +881,8 @@ async def begin_check_private_link_service_visibility( :type parameters: ~azure.mgmt.network.v2020_11_01.models.CheckPrivateLinkServiceVisibilityRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PrivateLinkServiceVisibility or the result of cls(response) @@ -1006,8 +1006,8 @@ async def begin_check_private_link_service_visibility_by_resource_group( :type parameters: ~azure.mgmt.network.v2020_11_01.models.CheckPrivateLinkServiceVisibilityRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PrivateLinkServiceVisibility or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_public_ip_addresses_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_public_ip_addresses_operations.py index 8bfcdc598d14..5899b2255244 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_public_ip_addresses_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_public_ip_addresses_operations.py @@ -341,8 +341,8 @@ async def begin_delete( :type public_ip_address_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -528,8 +528,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_11_01.models.PublicIPAddress :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PublicIPAddress or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_public_ip_prefixes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_public_ip_prefixes_operations.py index 93ad3eed7bba..8056f842188b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_public_ip_prefixes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_public_ip_prefixes_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type public_ip_prefix_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -288,8 +288,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_11_01.models.PublicIPPrefix :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PublicIPPrefix or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_route_filter_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_route_filter_rules_operations.py index 356d286d2025..972219e51d1c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_route_filter_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_route_filter_rules_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -300,8 +300,8 @@ async def begin_create_or_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2020_11_01.models.RouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilterRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_route_filters_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_route_filters_operations.py index dd1a218c190b..67e72a47137a 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_route_filters_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_route_filters_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type route_filter_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -289,8 +289,8 @@ async def begin_create_or_update( :type route_filter_parameters: ~azure.mgmt.network.v2020_11_01.models.RouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteFilter or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_route_tables_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_route_tables_operations.py index d01abc246ea1..f0da63c879af 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_route_tables_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_route_tables_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -288,8 +288,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_11_01.models.RouteTable :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either RouteTable or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_routes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_routes_operations.py index 4306788b58e2..d7b630f43b1f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_routes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_routes_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type route_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -299,8 +299,8 @@ async def begin_create_or_update( :type route_parameters: ~azure.mgmt.network.v2020_11_01.models.Route :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Route or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_security_partner_providers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_security_partner_providers_operations.py index e8c5c9a04b49..6332803aa835 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_security_partner_providers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_security_partner_providers_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type security_partner_provider_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -284,8 +284,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_11_01.models.SecurityPartnerProvider :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either SecurityPartnerProvider or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_security_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_security_rules_operations.py index 888ddf4ad9d0..1552eb7b1160 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_security_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_security_rules_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type security_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -300,8 +300,8 @@ async def begin_create_or_update( :type security_rule_parameters: ~azure.mgmt.network.v2020_11_01.models.SecurityRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either SecurityRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_service_endpoint_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_service_endpoint_policies_operations.py index 309d8c5917b1..d28f82130e09 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_service_endpoint_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_service_endpoint_policies_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type service_endpoint_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -289,8 +289,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_11_01.models.ServiceEndpointPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ServiceEndpointPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_service_endpoint_policy_definitions_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_service_endpoint_policy_definitions_operations.py index 2feab34d570e..bd9bad961169 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_service_endpoint_policy_definitions_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_service_endpoint_policy_definitions_operations.py @@ -107,8 +107,8 @@ async def begin_delete( :type service_endpoint_policy_definition_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -304,8 +304,8 @@ async def begin_create_or_update( :type service_endpoint_policy_definitions: ~azure.mgmt.network.v2020_11_01.models.ServiceEndpointPolicyDefinition :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ServiceEndpointPolicyDefinition or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_subnets_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_subnets_operations.py index 9dfa0f4c763f..189ed6f3a666 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_subnets_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_subnets_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type subnet_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -304,8 +304,8 @@ async def begin_create_or_update( :type subnet_parameters: ~azure.mgmt.network.v2020_11_01.models.Subnet :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either Subnet or the result of cls(response) @@ -433,8 +433,8 @@ async def begin_prepare_network_policies( :type prepare_network_policies_request_parameters: ~azure.mgmt.network.v2020_11_01.models.PrepareNetworkPoliciesRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -559,8 +559,8 @@ async def begin_unprepare_network_policies( :type unprepare_network_policies_request_parameters: ~azure.mgmt.network.v2020_11_01.models.UnprepareNetworkPoliciesRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_virtual_appliance_sites_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_virtual_appliance_sites_operations.py index 1a54827c567f..ce5976b20c5b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_virtual_appliance_sites_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_virtual_appliance_sites_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type site_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -300,8 +300,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_11_01.models.VirtualApplianceSite :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualApplianceSite or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_virtual_hub_bgp_connection_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_virtual_hub_bgp_connection_operations.py index 9a193220e42b..50232131141d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_virtual_hub_bgp_connection_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_virtual_hub_bgp_connection_operations.py @@ -184,8 +184,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_11_01.models.BgpConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either BgpConnection or the result of cls(response) @@ -303,8 +303,8 @@ async def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_virtual_hub_bgp_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_virtual_hub_bgp_connections_operations.py index 54e06d99f738..a7fbe15df249 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_virtual_hub_bgp_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_virtual_hub_bgp_connections_operations.py @@ -185,8 +185,8 @@ async def begin_list_learned_routes( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PeerRouteList or the result of cls(response) @@ -308,8 +308,8 @@ async def begin_list_advertised_routes( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either PeerRouteList or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_virtual_hub_ip_configuration_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_virtual_hub_ip_configuration_operations.py index 7b66d35c3d3e..89f188060780 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_virtual_hub_ip_configuration_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_virtual_hub_ip_configuration_operations.py @@ -185,8 +185,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_11_01.models.HubIpConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either HubIpConfiguration or the result of cls(response) @@ -304,8 +304,8 @@ async def begin_delete( :type ip_config_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_virtual_hub_route_table_v2_s_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_virtual_hub_route_table_v2_s_operations.py index f447197582e3..97b6d3a4066c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_virtual_hub_route_table_v2_s_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_virtual_hub_route_table_v2_s_operations.py @@ -95,7 +95,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualHubRouteTableV2', pipeline_response) @@ -151,7 +151,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -188,8 +188,8 @@ async def begin_create_or_update( :type virtual_hub_route_table_v2_parameters: ~azure.mgmt.network.v2020_11_01.models.VirtualHubRouteTableV2 :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualHubRouteTableV2 or the result of cls(response) @@ -283,7 +283,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -308,8 +308,8 @@ async def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_virtual_hubs_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_virtual_hubs_operations.py index 3f3317d6e0fd..9b80f7ef1c91 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_virtual_hubs_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_virtual_hubs_operations.py @@ -175,8 +175,8 @@ async def begin_create_or_update( :type virtual_hub_parameters: ~azure.mgmt.network.v2020_11_01.models.VirtualHub :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualHub or the result of cls(response) @@ -353,8 +353,8 @@ async def begin_delete( :type virtual_hub_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -610,8 +610,8 @@ async def begin_get_effective_virtual_hub_routes( :type effective_routes_parameters: ~azure.mgmt.network.v2020_11_01.models.EffectiveRoutesParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_virtual_network_gateway_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_virtual_network_gateway_connections_operations.py index 8861bc52fc9d..1ef49d021464 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_virtual_network_gateway_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_virtual_network_gateway_connections_operations.py @@ -119,8 +119,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_11_01.models.VirtualNetworkGatewayConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -291,8 +291,8 @@ async def begin_delete( :type virtual_network_gateway_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -414,8 +414,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2020_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -545,8 +545,8 @@ async def begin_set_shared_key( :type parameters: ~azure.mgmt.network.v2020_11_01.models.ConnectionSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionSharedKey or the result of cls(response) @@ -806,8 +806,8 @@ async def begin_reset_shared_key( :type parameters: ~azure.mgmt.network.v2020_11_01.models.ConnectionResetSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either ConnectionResetSharedKey or the result of cls(response) @@ -906,7 +906,7 @@ async def _start_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -938,8 +938,8 @@ async def begin_start_packet_capture( :type parameters: ~azure.mgmt.network.v2020_11_01.models.VpnPacketCaptureStartParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1035,7 +1035,7 @@ async def _stop_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -1067,8 +1067,8 @@ async def begin_stop_packet_capture( :type parameters: ~azure.mgmt.network.v2020_11_01.models.VpnPacketCaptureStopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1158,7 +1158,7 @@ async def _get_ike_sas_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -1187,8 +1187,8 @@ async def begin_get_ike_sas( :type virtual_network_gateway_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1277,7 +1277,7 @@ async def _reset_connection_initial( if response.status_code not in [202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -1300,8 +1300,8 @@ async def begin_reset_connection( :type virtual_network_gateway_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_virtual_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_virtual_network_gateways_operations.py index aa0e599c7ccc..0663b6e2d42f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_virtual_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_virtual_network_gateways_operations.py @@ -117,8 +117,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_11_01.models.VirtualNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -287,8 +287,8 @@ async def begin_delete( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -409,8 +409,8 @@ async def begin_update_tags( :type parameters: ~azure.mgmt.network.v2020_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -677,8 +677,8 @@ async def begin_reset( :type gateway_vip: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -790,8 +790,8 @@ async def begin_reset_vpn_client_shared_key( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -914,8 +914,8 @@ async def begin_generatevpnclientpackage( :type parameters: ~azure.mgmt.network.v2020_11_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1042,8 +1042,8 @@ async def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2020_11_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1160,8 +1160,8 @@ async def begin_get_vpn_profile_package_url( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -1282,8 +1282,8 @@ async def begin_get_bgp_peer_status( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either BgpPeerStatusListResult or the result of cls(response) @@ -1458,8 +1458,8 @@ async def begin_get_learned_routes( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1580,8 +1580,8 @@ async def begin_get_advertised_routes( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1708,8 +1708,8 @@ async def begin_set_vpnclient_ipsec_parameters( :type vpnclient_ipsec_params: ~azure.mgmt.network.v2020_11_01.models.VpnClientIPsecParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnClientIPsecParameters or the result of cls(response) @@ -1825,8 +1825,8 @@ async def begin_get_vpnclient_ipsec_parameters( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnClientIPsecParameters or the result of cls(response) @@ -1991,7 +1991,7 @@ async def _start_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -2022,8 +2022,8 @@ async def begin_start_packet_capture( :type parameters: ~azure.mgmt.network.v2020_11_01.models.VpnPacketCaptureStartParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -2119,7 +2119,7 @@ async def _stop_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -2150,8 +2150,8 @@ async def begin_stop_packet_capture( :type parameters: ~azure.mgmt.network.v2020_11_01.models.VpnPacketCaptureStopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -2268,8 +2268,8 @@ async def begin_get_vpnclient_connection_health( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnClientConnectionHealthDetailListResult or the result of cls(response) @@ -2388,8 +2388,8 @@ async def begin_disconnect_virtual_network_gateway_vpn_connections( :type request: ~azure.mgmt.network.v2020_11_01.models.P2SVpnConnectionRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_virtual_network_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_virtual_network_peerings_operations.py index 622977c9c6c9..e8012791fa7c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_virtual_network_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_virtual_network_peerings_operations.py @@ -106,8 +106,8 @@ async def begin_delete( :type virtual_network_peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -300,8 +300,8 @@ async def begin_create_or_update( :type virtual_network_peering_parameters: ~azure.mgmt.network.v2020_11_01.models.VirtualNetworkPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_virtual_network_taps_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_virtual_network_taps_operations.py index 5bb126145106..7218c31ea126 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_virtual_network_taps_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_virtual_network_taps_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type tap_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -283,8 +283,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_11_01.models.VirtualNetworkTap :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetworkTap or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_virtual_networks_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_virtual_networks_operations.py index 1700d5d081fe..e7aaa8b02626 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_virtual_networks_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_virtual_networks_operations.py @@ -101,8 +101,8 @@ async def begin_delete( :type virtual_network_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -288,8 +288,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_11_01.models.VirtualNetwork :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualNetwork or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_virtual_router_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_virtual_router_peerings_operations.py index d0236747a45b..a6b0ac634193 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_virtual_router_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_virtual_router_peerings_operations.py @@ -82,7 +82,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -107,8 +107,8 @@ async def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -211,7 +211,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualRouterPeering', pipeline_response) @@ -267,7 +267,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -303,8 +303,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_11_01.models.VirtualRouterPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualRouterPeering or the result of cls(response) @@ -423,7 +423,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_virtual_routers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_virtual_routers_operations.py index 64d53997463b..0234e1d854f1 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_virtual_routers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_virtual_routers_operations.py @@ -80,7 +80,7 @@ async def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -102,8 +102,8 @@ async def begin_delete( :type virtual_router_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -205,7 +205,7 @@ async def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualRouter', pipeline_response) @@ -259,7 +259,7 @@ async def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -291,8 +291,8 @@ async def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_11_01.models.VirtualRouter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualRouter or the result of cls(response) @@ -405,7 +405,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -472,7 +472,7 @@ async def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_virtual_wans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_virtual_wans_operations.py index 9e0a68b5e4e2..2aa9b92f5378 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_virtual_wans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_virtual_wans_operations.py @@ -175,8 +175,8 @@ async def begin_create_or_update( :type wan_parameters: ~azure.mgmt.network.v2020_11_01.models.VirtualWAN :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VirtualWAN or the result of cls(response) @@ -353,8 +353,8 @@ async def begin_delete( :type virtual_wan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_vpn_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_vpn_connections_operations.py index 83c1c5ad4f51..32c6cc83451c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_vpn_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_vpn_connections_operations.py @@ -185,8 +185,8 @@ async def begin_create_or_update( :type vpn_connection_parameters: ~azure.mgmt.network.v2020_11_01.models.VpnConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnConnection or the result of cls(response) @@ -304,8 +304,8 @@ async def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -437,8 +437,8 @@ async def begin_start_packet_capture( :type parameters: ~azure.mgmt.network.v2020_11_01.models.VpnConnectionPacketCaptureStartParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -574,8 +574,8 @@ async def begin_stop_packet_capture( :type parameters: ~azure.mgmt.network.v2020_11_01.models.VpnConnectionPacketCaptureStopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_vpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_vpn_gateways_operations.py index 021c38deac85..30cb4699847d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_vpn_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_vpn_gateways_operations.py @@ -176,8 +176,8 @@ async def begin_create_or_update( :type vpn_gateway_parameters: ~azure.mgmt.network.v2020_11_01.models.VpnGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnGateway or the result of cls(response) @@ -302,8 +302,8 @@ async def begin_update_tags( :type vpn_gateway_parameters: ~azure.mgmt.network.v2020_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnGateway or the result of cls(response) @@ -414,8 +414,8 @@ async def begin_delete( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -527,8 +527,8 @@ async def begin_reset( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnGateway or the result of cls(response) @@ -656,8 +656,8 @@ async def begin_start_packet_capture( :type parameters: ~azure.mgmt.network.v2020_11_01.models.VpnGatewayPacketCaptureStartParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) @@ -786,8 +786,8 @@ async def begin_stop_packet_capture( :type parameters: ~azure.mgmt.network.v2020_11_01.models.VpnGatewayPacketCaptureStopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_vpn_link_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_vpn_link_connections_operations.py index 58245d9e2c13..466f5f383dfc 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_vpn_link_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_vpn_link_connections_operations.py @@ -84,7 +84,7 @@ async def _reset_connection_initial( if response.status_code not in [202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -112,8 +112,8 @@ async def begin_reset_connection( :type link_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) @@ -207,7 +207,7 @@ async def _get_ike_sas_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -240,8 +240,8 @@ async def begin_get_ike_sas( :type link_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py index acb7b3699e2a..3a0fe04b96c2 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py @@ -106,8 +106,8 @@ async def begin_list( :type virtual_wan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnServerConfigurationsResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_vpn_server_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_vpn_server_configurations_operations.py index 3d6deb1e5531..c02de6b51e1c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_vpn_server_configurations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_vpn_server_configurations_operations.py @@ -178,8 +178,8 @@ async def begin_create_or_update( :type vpn_server_configuration_parameters: ~azure.mgmt.network.v2020_11_01.models.VpnServerConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnServerConfiguration or the result of cls(response) @@ -357,8 +357,8 @@ async def begin_delete( :type vpn_server_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_vpn_sites_configuration_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_vpn_sites_configuration_operations.py index 54fc996cc257..a040700f05f6 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_vpn_sites_configuration_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_vpn_sites_configuration_operations.py @@ -110,8 +110,8 @@ async def begin_download( :type request: ~azure.mgmt.network.v2020_11_01.models.GetVpnSitesConfigurationRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_vpn_sites_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_vpn_sites_operations.py index bcfebac5b742..12599c2b021e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_vpn_sites_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_vpn_sites_operations.py @@ -175,8 +175,8 @@ async def begin_create_or_update( :type vpn_site_parameters: ~azure.mgmt.network.v2020_11_01.models.VpnSite :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either VpnSite or the result of cls(response) @@ -353,8 +353,8 @@ async def begin_delete( :type vpn_site_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_web_application_firewall_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_web_application_firewall_policies_operations.py index 60ca537ab7e0..35b9e9b89e85 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_web_application_firewall_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/aio/operations/_web_application_firewall_policies_operations.py @@ -365,8 +365,8 @@ async def begin_delete( :type policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/models/__init__.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/models/__init__.py index bef6cc7cb0ca..caea60a9cbe8 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/models/__init__.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/models/__init__.py @@ -1214,6 +1214,8 @@ LoadDistribution, ManagedRuleEnabledState, NatGatewaySkuName, + NetworkInterfaceMigrationPhase, + NetworkInterfaceNicType, NetworkOperationStatus, NextHopType, OfficeTrafficCategory, @@ -1231,6 +1233,7 @@ Protocol, ProtocolType, ProvisioningState, + PublicIPAddressMigrationPhase, PublicIPAddressSkuName, PublicIPAddressSkuTier, PublicIPPrefixSkuName, @@ -1258,6 +1261,8 @@ VirtualNetworkGatewaySkuTier, VirtualNetworkGatewayType, VirtualNetworkPeeringState, + VirtualNetworkPrivateEndpointNetworkPolicies, + VirtualNetworkPrivateLinkServiceNetworkPolicies, VirtualWanSecurityProviderType, VpnAuthenticationType, VpnClientProtocol, @@ -1926,6 +1931,8 @@ 'LoadDistribution', 'ManagedRuleEnabledState', 'NatGatewaySkuName', + 'NetworkInterfaceMigrationPhase', + 'NetworkInterfaceNicType', 'NetworkOperationStatus', 'NextHopType', 'OfficeTrafficCategory', @@ -1943,6 +1950,7 @@ 'Protocol', 'ProtocolType', 'ProvisioningState', + 'PublicIPAddressMigrationPhase', 'PublicIPAddressSkuName', 'PublicIPAddressSkuTier', 'PublicIPPrefixSkuName', @@ -1970,6 +1978,8 @@ 'VirtualNetworkGatewaySkuTier', 'VirtualNetworkGatewayType', 'VirtualNetworkPeeringState', + 'VirtualNetworkPrivateEndpointNetworkPolicies', + 'VirtualNetworkPrivateLinkServiceNetworkPolicies', 'VirtualWanSecurityProviderType', 'VpnAuthenticationType', 'VpnClientProtocol', diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/models/_models.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/models/_models.py index 45b0629afc36..e12dd738459c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/models/_models.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/models/_models.py @@ -129,68 +129,64 @@ class ApplicationGateway(Resource): :vartype operational_state: str or ~azure.mgmt.network.v2020_11_01.models.ApplicationGatewayOperationalState :param gateway_ip_configurations: Subnets of the application gateway resource. For default - limits, see `Application Gateway limits `_. + limits, see `Application Gateway limits + `_. :type gateway_ip_configurations: list[~azure.mgmt.network.v2020_11_01.models.ApplicationGatewayIPConfiguration] :param authentication_certificates: Authentication certificates of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type authentication_certificates: list[~azure.mgmt.network.v2020_11_01.models.ApplicationGatewayAuthenticationCertificate] :param trusted_root_certificates: Trusted Root certificates of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type trusted_root_certificates: list[~azure.mgmt.network.v2020_11_01.models.ApplicationGatewayTrustedRootCertificate] :param trusted_client_certificates: Trusted client certificates of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type trusted_client_certificates: list[~azure.mgmt.network.v2020_11_01.models.ApplicationGatewayTrustedClientCertificate] :param ssl_certificates: SSL certificates of the application gateway resource. For default - limits, see `Application Gateway limits `_. + limits, see `Application Gateway limits + `_. :type ssl_certificates: list[~azure.mgmt.network.v2020_11_01.models.ApplicationGatewaySslCertificate] :param frontend_ip_configurations: Frontend IP addresses of the application gateway resource. - For default limits, see `Application Gateway limits `_. + For default limits, see `Application Gateway limits + `_. :type frontend_ip_configurations: list[~azure.mgmt.network.v2020_11_01.models.ApplicationGatewayFrontendIPConfiguration] :param frontend_ports: Frontend ports of the application gateway resource. For default limits, - see `Application Gateway limits `_. + see `Application Gateway limits + `_. :type frontend_ports: list[~azure.mgmt.network.v2020_11_01.models.ApplicationGatewayFrontendPort] :param probes: Probes of the application gateway resource. :type probes: list[~azure.mgmt.network.v2020_11_01.models.ApplicationGatewayProbe] :param backend_address_pools: Backend address pool of the application gateway resource. For - default limits, see `Application Gateway limits `_. + default limits, see `Application Gateway limits + `_. :type backend_address_pools: list[~azure.mgmt.network.v2020_11_01.models.ApplicationGatewayBackendAddressPool] :param backend_http_settings_collection: Backend http settings of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type backend_http_settings_collection: list[~azure.mgmt.network.v2020_11_01.models.ApplicationGatewayBackendHttpSettings] :param http_listeners: Http listeners of the application gateway resource. For default limits, - see `Application Gateway limits `_. + see `Application Gateway limits + `_. :type http_listeners: list[~azure.mgmt.network.v2020_11_01.models.ApplicationGatewayHttpListener] :param ssl_profiles: SSL profiles of the application gateway resource. For default limits, see - `Application Gateway limits `_. + `Application Gateway limits + `_. :type ssl_profiles: list[~azure.mgmt.network.v2020_11_01.models.ApplicationGatewaySslProfile] :param url_path_maps: URL path map of the application gateway resource. For default limits, see - `Application Gateway limits `_. + `Application Gateway limits + `_. :type url_path_maps: list[~azure.mgmt.network.v2020_11_01.models.ApplicationGatewayUrlPathMap] :param request_routing_rules: Request routing rules of the application gateway resource. :type request_routing_rules: @@ -199,8 +195,8 @@ class ApplicationGateway(Resource): :type rewrite_rule_sets: list[~azure.mgmt.network.v2020_11_01.models.ApplicationGatewayRewriteRuleSet] :param redirect_configurations: Redirect configurations of the application gateway resource. - For default limits, see `Application Gateway limits `_. + For default limits, see `Application Gateway limits + `_. :type redirect_configurations: list[~azure.mgmt.network.v2020_11_01.models.ApplicationGatewayRedirectConfiguration] :param web_application_firewall_configuration: Web application firewall configuration. @@ -3038,6 +3034,8 @@ class AvailablePrivateEndpointType(msrest.serialization.Model): :type type: str :param resource_name: The name of the service and resource. :type resource_name: str + :param display_name: Display name of the resource. + :type display_name: str """ _attribute_map = { @@ -3045,6 +3043,7 @@ class AvailablePrivateEndpointType(msrest.serialization.Model): 'id': {'key': 'id', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'resource_name': {'key': 'resourceName', 'type': 'str'}, + 'display_name': {'key': 'displayName', 'type': 'str'}, } def __init__( @@ -3056,6 +3055,7 @@ def __init__( self.id = kwargs.get('id', None) self.type = kwargs.get('type', None) self.resource_name = kwargs.get('resource_name', None) + self.display_name = kwargs.get('display_name', None) class AvailablePrivateEndpointTypesResult(msrest.serialization.Model): @@ -4343,7 +4343,7 @@ class BastionActiveSession(msrest.serialization.Model): :ivar session_id: A unique id for the session. :vartype session_id: str :ivar start_time: The time when the session started. - :vartype start_time: object + :vartype start_time: str :ivar target_subscription_id: The subscription id for the target virtual machine. :vartype target_subscription_id: str :ivar resource_type: The type of the resource. @@ -4381,7 +4381,7 @@ class BastionActiveSession(msrest.serialization.Model): _attribute_map = { 'session_id': {'key': 'sessionId', 'type': 'str'}, - 'start_time': {'key': 'startTime', 'type': 'object'}, + 'start_time': {'key': 'startTime', 'type': 'str'}, 'target_subscription_id': {'key': 'targetSubscriptionId', 'type': 'str'}, 'resource_type': {'key': 'resourceType', 'type': 'str'}, 'target_host_name': {'key': 'targetHostName', 'type': 'str'}, @@ -4638,7 +4638,7 @@ class BastionShareableLink(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param vm: Required. Reference of the virtual machine resource. - :type vm: ~azure.mgmt.network.v2020_11_01.models.Resource + :type vm: ~azure.mgmt.network.v2020_11_01.models.VM :ivar bsl: The unique Bastion Shareable Link to the virtual machine. :vartype bsl: str :ivar created_at: The time when the link was created. @@ -4656,7 +4656,7 @@ class BastionShareableLink(msrest.serialization.Model): } _attribute_map = { - 'vm': {'key': 'vm', 'type': 'Resource'}, + 'vm': {'key': 'vm', 'type': 'VM'}, 'bsl': {'key': 'bsl', 'type': 'str'}, 'created_at': {'key': 'createdAt', 'type': 'str'}, 'message': {'key': 'message', 'type': 'str'}, @@ -6360,7 +6360,7 @@ class ContainerNetworkInterface(SubResource): ~azure.mgmt.network.v2020_11_01.models.ContainerNetworkInterfaceConfiguration :param container: Reference to the container to which this container network interface is attached. - :type container: ~azure.mgmt.network.v2020_11_01.models.SubResource + :type container: ~azure.mgmt.network.v2020_11_01.models.Container :ivar ip_configurations: Reference to the ip configuration on this container nic. :vartype ip_configurations: list[~azure.mgmt.network.v2020_11_01.models.ContainerNetworkInterfaceIpConfiguration] @@ -6383,7 +6383,7 @@ class ContainerNetworkInterface(SubResource): 'type': {'key': 'type', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, 'container_network_interface_configuration': {'key': 'properties.containerNetworkInterfaceConfiguration', 'type': 'ContainerNetworkInterfaceConfiguration'}, - 'container': {'key': 'properties.container', 'type': 'SubResource'}, + 'container': {'key': 'properties.container', 'type': 'Container'}, 'ip_configurations': {'key': 'properties.ipConfigurations', 'type': '[ContainerNetworkInterfaceIpConfiguration]'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, } @@ -6823,6 +6823,8 @@ class Delegation(SubResource): :type name: str :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str + :param type: Resource type. + :type type: str :param service_name: The name of the service to whom the subnet should be delegated (e.g. Microsoft.Sql/servers). :type service_name: str @@ -6843,6 +6845,7 @@ class Delegation(SubResource): 'id': {'key': 'id', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, 'service_name': {'key': 'properties.serviceName', 'type': 'str'}, 'actions': {'key': 'properties.actions', 'type': '[str]'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, @@ -6855,6 +6858,7 @@ def __init__( super(Delegation, self).__init__(**kwargs) self.name = kwargs.get('name', None) self.etag = None + self.type = kwargs.get('type', None) self.service_name = kwargs.get('service_name', None) self.actions = None self.provisioning_state = None @@ -11211,11 +11215,14 @@ class IPAddressAvailabilityResult(msrest.serialization.Model): :param available_ip_addresses: Contains other available private IP addresses if the asked for address is taken. :type available_ip_addresses: list[str] + :param is_platform_reserved: Private IP address platform reserved. + :type is_platform_reserved: bool """ _attribute_map = { 'available': {'key': 'available', 'type': 'bool'}, 'available_ip_addresses': {'key': 'availableIPAddresses', 'type': '[str]'}, + 'is_platform_reserved': {'key': 'isPlatformReserved', 'type': 'bool'}, } def __init__( @@ -11225,6 +11232,7 @@ def __init__( super(IPAddressAvailabilityResult, self).__init__(**kwargs) self.available = kwargs.get('available', None) self.available_ip_addresses = kwargs.get('available_ip_addresses', None) + self.is_platform_reserved = kwargs.get('is_platform_reserved', None) class IpAllocation(Resource): @@ -13425,6 +13433,15 @@ class NetworkInterface(Resource): :ivar provisioning_state: The provisioning state of the network interface resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". :vartype provisioning_state: str or ~azure.mgmt.network.v2020_11_01.models.ProvisioningState + :param nic_type: Type of Network Interface resource. Possible values include: "Standard", + "Elastic". + :type nic_type: str or ~azure.mgmt.network.v2020_11_01.models.NetworkInterfaceNicType + :param private_link_service: Privatelinkservice of the network interface resource. + :type private_link_service: ~azure.mgmt.network.v2020_11_01.models.PrivateLinkService + :param migration_phase: Migration phase of Network Interface resource. Possible values include: + "None", "Prepare", "Commit", "Abort", "Committed". + :type migration_phase: str or + ~azure.mgmt.network.v2020_11_01.models.NetworkInterfaceMigrationPhase """ _validation = { @@ -13464,6 +13481,9 @@ class NetworkInterface(Resource): 'dscp_configuration': {'key': 'properties.dscpConfiguration', 'type': 'SubResource'}, 'resource_guid': {'key': 'properties.resourceGuid', 'type': 'str'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'nic_type': {'key': 'properties.nicType', 'type': 'str'}, + 'private_link_service': {'key': 'properties.privateLinkService', 'type': 'PrivateLinkService'}, + 'migration_phase': {'key': 'properties.migrationPhase', 'type': 'str'}, } def __init__( @@ -13487,6 +13507,9 @@ def __init__( self.dscp_configuration = None self.resource_guid = None self.provisioning_state = None + self.nic_type = kwargs.get('nic_type', None) + self.private_link_service = kwargs.get('private_link_service', None) + self.migration_phase = kwargs.get('migration_phase', None) class NetworkInterfaceAssociation(msrest.serialization.Model): @@ -13581,6 +13604,8 @@ class NetworkInterfaceIPConfiguration(SubResource): :type name: str :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str + :param type: Resource type. + :type type: str :param virtual_network_taps: The reference to Virtual Network Taps. :type virtual_network_taps: list[~azure.mgmt.network.v2020_11_01.models.VirtualNetworkTap] :param application_gateway_backend_address_pools: The reference to @@ -13632,6 +13657,7 @@ class NetworkInterfaceIPConfiguration(SubResource): 'id': {'key': 'id', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, 'virtual_network_taps': {'key': 'properties.virtualNetworkTaps', 'type': '[VirtualNetworkTap]'}, 'application_gateway_backend_address_pools': {'key': 'properties.applicationGatewayBackendAddressPools', 'type': '[ApplicationGatewayBackendAddressPool]'}, 'load_balancer_backend_address_pools': {'key': 'properties.loadBalancerBackendAddressPools', 'type': '[BackendAddressPool]'}, @@ -13654,6 +13680,7 @@ def __init__( super(NetworkInterfaceIPConfiguration, self).__init__(**kwargs) self.name = kwargs.get('name', None) self.etag = None + self.type = kwargs.get('type', None) self.virtual_network_taps = kwargs.get('virtual_network_taps', None) self.application_gateway_backend_address_pools = kwargs.get('application_gateway_backend_address_pools', None) self.load_balancer_backend_address_pools = kwargs.get('load_balancer_backend_address_pools', None) @@ -15417,8 +15444,8 @@ class PacketCaptureStorageLocation(msrest.serialization.Model): :param storage_id: The ID of the storage account to save the packet capture session. Required if no local file path is provided. :type storage_id: str - :param storage_path: The URI of the storage path to save the packet capture. Must be a well- - formed URI describing the location to save the packet capture. + :param storage_path: The URI of the storage path to save the packet capture. Must be a + well-formed URI describing the location to save the packet capture. :type storage_path: str :param file_path: A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no @@ -16138,9 +16165,10 @@ class PrivateLinkService(Resource): :vartype private_endpoint_connections: list[~azure.mgmt.network.v2020_11_01.models.PrivateEndpointConnection] :param visibility: The visibility list of the private link service. - :type visibility: ~azure.mgmt.network.v2020_11_01.models.ResourceSet + :type visibility: ~azure.mgmt.network.v2020_11_01.models.PrivateLinkServicePropertiesVisibility :param auto_approval: The auto-approval list of the private link service. - :type auto_approval: ~azure.mgmt.network.v2020_11_01.models.ResourceSet + :type auto_approval: + ~azure.mgmt.network.v2020_11_01.models.PrivateLinkServicePropertiesAutoApproval :param fqdns: The list of Fqdn. :type fqdns: list[str] :ivar alias: The alias of the private link service. @@ -16173,8 +16201,8 @@ class PrivateLinkService(Resource): 'network_interfaces': {'key': 'properties.networkInterfaces', 'type': '[NetworkInterface]'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'private_endpoint_connections': {'key': 'properties.privateEndpointConnections', 'type': '[PrivateEndpointConnection]'}, - 'visibility': {'key': 'properties.visibility', 'type': 'ResourceSet'}, - 'auto_approval': {'key': 'properties.autoApproval', 'type': 'ResourceSet'}, + 'visibility': {'key': 'properties.visibility', 'type': 'PrivateLinkServicePropertiesVisibility'}, + 'auto_approval': {'key': 'properties.autoApproval', 'type': 'PrivateLinkServicePropertiesAutoApproval'}, 'fqdns': {'key': 'properties.fqdns', 'type': '[str]'}, 'alias': {'key': 'properties.alias', 'type': 'str'}, 'enable_proxy_protocol': {'key': 'properties.enableProxyProtocol', 'type': 'bool'}, @@ -16669,6 +16697,18 @@ class PublicIPAddress(Resource): :ivar provisioning_state: The provisioning state of the public IP address resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". :vartype provisioning_state: str or ~azure.mgmt.network.v2020_11_01.models.ProvisioningState + :param service_public_ip_address: The service public IP address of the public IP address + resource. + :type service_public_ip_address: ~azure.mgmt.network.v2020_11_01.models.PublicIPAddress + :param nat_gateway: The NatGateway for the Public IP address. + :type nat_gateway: ~azure.mgmt.network.v2020_11_01.models.NatGateway + :param migration_phase: Migration phase of Public IP Address. Possible values include: "None", + "Prepare", "Commit", "Abort", "Committed". + :type migration_phase: str or + ~azure.mgmt.network.v2020_11_01.models.PublicIPAddressMigrationPhase + :param linked_public_ip_address: The linked public IP address of the public IP address + resource. + :type linked_public_ip_address: ~azure.mgmt.network.v2020_11_01.models.PublicIPAddress """ _validation = { @@ -16701,6 +16741,10 @@ class PublicIPAddress(Resource): 'idle_timeout_in_minutes': {'key': 'properties.idleTimeoutInMinutes', 'type': 'int'}, 'resource_guid': {'key': 'properties.resourceGuid', 'type': 'str'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'service_public_ip_address': {'key': 'properties.servicePublicIPAddress', 'type': 'PublicIPAddress'}, + 'nat_gateway': {'key': 'properties.natGateway', 'type': 'NatGateway'}, + 'migration_phase': {'key': 'properties.migrationPhase', 'type': 'str'}, + 'linked_public_ip_address': {'key': 'properties.linkedPublicIPAddress', 'type': 'PublicIPAddress'}, } def __init__( @@ -16723,6 +16767,10 @@ def __init__( self.idle_timeout_in_minutes = kwargs.get('idle_timeout_in_minutes', None) self.resource_guid = None self.provisioning_state = None + self.service_public_ip_address = kwargs.get('service_public_ip_address', None) + self.nat_gateway = kwargs.get('nat_gateway', None) + self.migration_phase = kwargs.get('migration_phase', None) + self.linked_public_ip_address = kwargs.get('linked_public_ip_address', None) class PublicIPAddressDnsSettings(msrest.serialization.Model): @@ -16851,6 +16899,8 @@ class PublicIPPrefix(Resource): :ivar provisioning_state: The provisioning state of the public IP prefix resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". :vartype provisioning_state: str or ~azure.mgmt.network.v2020_11_01.models.ProvisioningState + :param nat_gateway: NatGateway of Public IP Prefix. + :type nat_gateway: ~azure.mgmt.network.v2020_11_01.models.NatGateway """ _validation = { @@ -16883,6 +16933,7 @@ class PublicIPPrefix(Resource): 'custom_ip_prefix': {'key': 'properties.customIPPrefix', 'type': 'SubResource'}, 'resource_guid': {'key': 'properties.resourceGuid', 'type': 'str'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'nat_gateway': {'key': 'properties.natGateway', 'type': 'NatGateway'}, } def __init__( @@ -16903,6 +16954,7 @@ def __init__( self.custom_ip_prefix = kwargs.get('custom_ip_prefix', None) self.resource_guid = None self.provisioning_state = None + self.nat_gateway = kwargs.get('nat_gateway', None) class PublicIPPrefixListResult(msrest.serialization.Model): @@ -18270,6 +18322,8 @@ class ServiceTagInformationPropertiesFormat(msrest.serialization.Model): :vartype system_service: str :ivar address_prefixes: The list of IP address prefixes. :vartype address_prefixes: list[str] + :ivar state: The state of the service tag. + :vartype state: str """ _validation = { @@ -18277,6 +18331,7 @@ class ServiceTagInformationPropertiesFormat(msrest.serialization.Model): 'region': {'readonly': True}, 'system_service': {'readonly': True}, 'address_prefixes': {'readonly': True}, + 'state': {'readonly': True}, } _attribute_map = { @@ -18284,6 +18339,7 @@ class ServiceTagInformationPropertiesFormat(msrest.serialization.Model): 'region': {'key': 'region', 'type': 'str'}, 'system_service': {'key': 'systemService', 'type': 'str'}, 'address_prefixes': {'key': 'addressPrefixes', 'type': '[str]'}, + 'state': {'key': 'state', 'type': 'str'}, } def __init__( @@ -18295,6 +18351,7 @@ def __init__( self.region = None self.system_service = None self.address_prefixes = None + self.state = None class ServiceTagsListResult(msrest.serialization.Model): @@ -18410,6 +18467,8 @@ class Subnet(SubResource): :type name: str :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str + :param type: Resource type. + :type type: str :param address_prefix: The address prefix for the subnet. :type address_prefix: str :param address_prefixes: List of address prefixes for the subnet. @@ -18452,11 +18511,19 @@ class Subnet(SubResource): include: "Succeeded", "Updating", "Deleting", "Failed". :vartype provisioning_state: str or ~azure.mgmt.network.v2020_11_01.models.ProvisioningState :param private_endpoint_network_policies: Enable or Disable apply network policies on private - end point in the subnet. - :type private_endpoint_network_policies: str + end point in the subnet. Possible values include: "Enabled", "Disabled". Default value: + "Enabled". + :type private_endpoint_network_policies: str or + ~azure.mgmt.network.v2020_11_01.models.VirtualNetworkPrivateEndpointNetworkPolicies :param private_link_service_network_policies: Enable or Disable apply network policies on - private link service in the subnet. - :type private_link_service_network_policies: str + private link service in the subnet. Possible values include: "Enabled", "Disabled". Default + value: "Enabled". + :type private_link_service_network_policies: str or + ~azure.mgmt.network.v2020_11_01.models.VirtualNetworkPrivateLinkServiceNetworkPolicies + :param application_gateway_ip_configurations: Application gateway IP configurations of virtual + network resource. + :type application_gateway_ip_configurations: + list[~azure.mgmt.network.v2020_11_01.models.ApplicationGatewayIPConfiguration] """ _validation = { @@ -18474,6 +18541,7 @@ class Subnet(SubResource): 'id': {'key': 'id', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, 'address_prefix': {'key': 'properties.addressPrefix', 'type': 'str'}, 'address_prefixes': {'key': 'properties.addressPrefixes', 'type': '[str]'}, 'network_security_group': {'key': 'properties.networkSecurityGroup', 'type': 'NetworkSecurityGroup'}, @@ -18492,6 +18560,7 @@ class Subnet(SubResource): 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'private_endpoint_network_policies': {'key': 'properties.privateEndpointNetworkPolicies', 'type': 'str'}, 'private_link_service_network_policies': {'key': 'properties.privateLinkServiceNetworkPolicies', 'type': 'str'}, + 'application_gateway_ip_configurations': {'key': 'properties.applicationGatewayIpConfigurations', 'type': '[ApplicationGatewayIPConfiguration]'}, } def __init__( @@ -18501,6 +18570,7 @@ def __init__( super(Subnet, self).__init__(**kwargs) self.name = kwargs.get('name', None) self.etag = None + self.type = kwargs.get('type', None) self.address_prefix = kwargs.get('address_prefix', None) self.address_prefixes = kwargs.get('address_prefixes', None) self.network_security_group = kwargs.get('network_security_group', None) @@ -18517,8 +18587,9 @@ def __init__( self.delegations = kwargs.get('delegations', None) self.purpose = None self.provisioning_state = None - self.private_endpoint_network_policies = kwargs.get('private_endpoint_network_policies', None) - self.private_link_service_network_policies = kwargs.get('private_link_service_network_policies', None) + self.private_endpoint_network_policies = kwargs.get('private_endpoint_network_policies', "Enabled") + self.private_link_service_network_policies = kwargs.get('private_link_service_network_policies', "Enabled") + self.application_gateway_ip_configurations = kwargs.get('application_gateway_ip_configurations', None) class SubnetAssociation(msrest.serialization.Model): @@ -19798,6 +19869,8 @@ class VirtualNetworkGateway(Resource): :type location: str :param tags: A set of tags. Resource tags. :type tags: dict[str, str] + :param extended_location: The extended location of type local virtual network gateway. + :type extended_location: ~azure.mgmt.network.v2020_11_01.models.ExtendedLocation :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str :param ip_configurations: IP configurations for virtual network gateway. @@ -19845,13 +19918,9 @@ class VirtualNetworkGateway(Resource): :ivar inbound_dns_forwarding_endpoint: The IP address allocated by the gateway to which dns requests can be sent. :vartype inbound_dns_forwarding_endpoint: str - :param v_net_extended_location_resource_id: MAS FIJI customer vnet resource id. - VirtualNetworkGateway of type local gateway is associated with the customer vnet. + :param v_net_extended_location_resource_id: Customer vnet resource id. VirtualNetworkGateway of + type local gateway is associated with the customer vnet. :type v_net_extended_location_resource_id: str - :param virtual_network_extended_location: The extended location of type local virtual network - gateway. - :type virtual_network_extended_location: - ~azure.mgmt.network.v2020_11_01.models.ExtendedLocation """ _validation = { @@ -19869,6 +19938,7 @@ class VirtualNetworkGateway(Resource): 'type': {'key': 'type', 'type': 'str'}, 'location': {'key': 'location', 'type': 'str'}, 'tags': {'key': 'tags', 'type': '{str}'}, + 'extended_location': {'key': 'extendedLocation', 'type': 'ExtendedLocation'}, 'etag': {'key': 'etag', 'type': 'str'}, 'ip_configurations': {'key': 'properties.ipConfigurations', 'type': '[VirtualNetworkGatewayIPConfiguration]'}, 'gateway_type': {'key': 'properties.gatewayType', 'type': 'str'}, @@ -19887,7 +19957,6 @@ class VirtualNetworkGateway(Resource): 'enable_dns_forwarding': {'key': 'properties.enableDnsForwarding', 'type': 'bool'}, 'inbound_dns_forwarding_endpoint': {'key': 'properties.inboundDnsForwardingEndpoint', 'type': 'str'}, 'v_net_extended_location_resource_id': {'key': 'properties.vNetExtendedLocationResourceId', 'type': 'str'}, - 'virtual_network_extended_location': {'key': 'properties.virtualNetworkExtendedLocation', 'type': 'ExtendedLocation'}, } def __init__( @@ -19895,6 +19964,7 @@ def __init__( **kwargs ): super(VirtualNetworkGateway, self).__init__(**kwargs) + self.extended_location = kwargs.get('extended_location', None) self.etag = None self.ip_configurations = kwargs.get('ip_configurations', None) self.gateway_type = kwargs.get('gateway_type', None) @@ -19913,7 +19983,6 @@ def __init__( self.enable_dns_forwarding = kwargs.get('enable_dns_forwarding', None) self.inbound_dns_forwarding_endpoint = None self.v_net_extended_location_resource_id = kwargs.get('v_net_extended_location_resource_id', None) - self.virtual_network_extended_location = kwargs.get('virtual_network_extended_location', None) class VirtualNetworkGatewayConnection(Resource): @@ -20474,6 +20543,8 @@ class VirtualNetworkPeering(SubResource): :type name: str :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str + :param type: Resource type. + :type type: str :param allow_virtual_network_access: Whether the VMs in the local virtual network space would be able to access the VMs in remote virtual network space. :type allow_virtual_network_access: bool @@ -20490,8 +20561,8 @@ class VirtualNetworkPeering(SubResource): :type use_remote_gateways: bool :param remote_virtual_network: The reference to the remote virtual network. The remote virtual network can be in the same or different region (preview). See here to register for the preview - and learn more (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create- - peering). + and learn more + (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering). :type remote_virtual_network: ~azure.mgmt.network.v2020_11_01.models.SubResource :param remote_address_space: The reference to the remote virtual network address space. :type remote_address_space: ~azure.mgmt.network.v2020_11_01.models.AddressSpace @@ -20504,17 +20575,24 @@ class VirtualNetworkPeering(SubResource): :ivar provisioning_state: The provisioning state of the virtual network peering resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". :vartype provisioning_state: str or ~azure.mgmt.network.v2020_11_01.models.ProvisioningState + :param do_not_verify_remote_gateways: If we need to verify the provisioning state of the remote + gateway. + :type do_not_verify_remote_gateways: bool + :ivar resource_guid: The resourceGuid property of the Virtual Network peering resource. + :vartype resource_guid: str """ _validation = { 'etag': {'readonly': True}, 'provisioning_state': {'readonly': True}, + 'resource_guid': {'readonly': True}, } _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, 'allow_virtual_network_access': {'key': 'properties.allowVirtualNetworkAccess', 'type': 'bool'}, 'allow_forwarded_traffic': {'key': 'properties.allowForwardedTraffic', 'type': 'bool'}, 'allow_gateway_transit': {'key': 'properties.allowGatewayTransit', 'type': 'bool'}, @@ -20524,6 +20602,8 @@ class VirtualNetworkPeering(SubResource): 'remote_bgp_communities': {'key': 'properties.remoteBgpCommunities', 'type': 'VirtualNetworkBgpCommunities'}, 'peering_state': {'key': 'properties.peeringState', 'type': 'str'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'do_not_verify_remote_gateways': {'key': 'properties.doNotVerifyRemoteGateways', 'type': 'bool'}, + 'resource_guid': {'key': 'properties.resourceGuid', 'type': 'str'}, } def __init__( @@ -20533,6 +20613,7 @@ def __init__( super(VirtualNetworkPeering, self).__init__(**kwargs) self.name = kwargs.get('name', None) self.etag = None + self.type = kwargs.get('type', None) self.allow_virtual_network_access = kwargs.get('allow_virtual_network_access', None) self.allow_forwarded_traffic = kwargs.get('allow_forwarded_traffic', None) self.allow_gateway_transit = kwargs.get('allow_gateway_transit', None) @@ -20542,6 +20623,8 @@ def __init__( self.remote_bgp_communities = kwargs.get('remote_bgp_communities', None) self.peering_state = kwargs.get('peering_state', None) self.provisioning_state = None + self.do_not_verify_remote_gateways = kwargs.get('do_not_verify_remote_gateways', None) + self.resource_guid = None class VirtualNetworkPeeringListResult(msrest.serialization.Model): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/models/_models_py3.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/models/_models_py3.py index e9befa39fd07..5ade3c2c16c0 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/models/_models_py3.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/models/_models_py3.py @@ -144,68 +144,64 @@ class ApplicationGateway(Resource): :vartype operational_state: str or ~azure.mgmt.network.v2020_11_01.models.ApplicationGatewayOperationalState :param gateway_ip_configurations: Subnets of the application gateway resource. For default - limits, see `Application Gateway limits `_. + limits, see `Application Gateway limits + `_. :type gateway_ip_configurations: list[~azure.mgmt.network.v2020_11_01.models.ApplicationGatewayIPConfiguration] :param authentication_certificates: Authentication certificates of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type authentication_certificates: list[~azure.mgmt.network.v2020_11_01.models.ApplicationGatewayAuthenticationCertificate] :param trusted_root_certificates: Trusted Root certificates of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type trusted_root_certificates: list[~azure.mgmt.network.v2020_11_01.models.ApplicationGatewayTrustedRootCertificate] :param trusted_client_certificates: Trusted client certificates of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type trusted_client_certificates: list[~azure.mgmt.network.v2020_11_01.models.ApplicationGatewayTrustedClientCertificate] :param ssl_certificates: SSL certificates of the application gateway resource. For default - limits, see `Application Gateway limits `_. + limits, see `Application Gateway limits + `_. :type ssl_certificates: list[~azure.mgmt.network.v2020_11_01.models.ApplicationGatewaySslCertificate] :param frontend_ip_configurations: Frontend IP addresses of the application gateway resource. - For default limits, see `Application Gateway limits `_. + For default limits, see `Application Gateway limits + `_. :type frontend_ip_configurations: list[~azure.mgmt.network.v2020_11_01.models.ApplicationGatewayFrontendIPConfiguration] :param frontend_ports: Frontend ports of the application gateway resource. For default limits, - see `Application Gateway limits `_. + see `Application Gateway limits + `_. :type frontend_ports: list[~azure.mgmt.network.v2020_11_01.models.ApplicationGatewayFrontendPort] :param probes: Probes of the application gateway resource. :type probes: list[~azure.mgmt.network.v2020_11_01.models.ApplicationGatewayProbe] :param backend_address_pools: Backend address pool of the application gateway resource. For - default limits, see `Application Gateway limits `_. + default limits, see `Application Gateway limits + `_. :type backend_address_pools: list[~azure.mgmt.network.v2020_11_01.models.ApplicationGatewayBackendAddressPool] :param backend_http_settings_collection: Backend http settings of the application gateway resource. For default limits, see `Application Gateway limits - `_. + `_. :type backend_http_settings_collection: list[~azure.mgmt.network.v2020_11_01.models.ApplicationGatewayBackendHttpSettings] :param http_listeners: Http listeners of the application gateway resource. For default limits, - see `Application Gateway limits `_. + see `Application Gateway limits + `_. :type http_listeners: list[~azure.mgmt.network.v2020_11_01.models.ApplicationGatewayHttpListener] :param ssl_profiles: SSL profiles of the application gateway resource. For default limits, see - `Application Gateway limits `_. + `Application Gateway limits + `_. :type ssl_profiles: list[~azure.mgmt.network.v2020_11_01.models.ApplicationGatewaySslProfile] :param url_path_maps: URL path map of the application gateway resource. For default limits, see - `Application Gateway limits `_. + `Application Gateway limits + `_. :type url_path_maps: list[~azure.mgmt.network.v2020_11_01.models.ApplicationGatewayUrlPathMap] :param request_routing_rules: Request routing rules of the application gateway resource. :type request_routing_rules: @@ -214,8 +210,8 @@ class ApplicationGateway(Resource): :type rewrite_rule_sets: list[~azure.mgmt.network.v2020_11_01.models.ApplicationGatewayRewriteRuleSet] :param redirect_configurations: Redirect configurations of the application gateway resource. - For default limits, see `Application Gateway limits `_. + For default limits, see `Application Gateway limits + `_. :type redirect_configurations: list[~azure.mgmt.network.v2020_11_01.models.ApplicationGatewayRedirectConfiguration] :param web_application_firewall_configuration: Web application firewall configuration. @@ -3408,6 +3404,8 @@ class AvailablePrivateEndpointType(msrest.serialization.Model): :type type: str :param resource_name: The name of the service and resource. :type resource_name: str + :param display_name: Display name of the resource. + :type display_name: str """ _attribute_map = { @@ -3415,6 +3413,7 @@ class AvailablePrivateEndpointType(msrest.serialization.Model): 'id': {'key': 'id', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'resource_name': {'key': 'resourceName', 'type': 'str'}, + 'display_name': {'key': 'displayName', 'type': 'str'}, } def __init__( @@ -3424,6 +3423,7 @@ def __init__( id: Optional[str] = None, type: Optional[str] = None, resource_name: Optional[str] = None, + display_name: Optional[str] = None, **kwargs ): super(AvailablePrivateEndpointType, self).__init__(**kwargs) @@ -3431,6 +3431,7 @@ def __init__( self.id = id self.type = type self.resource_name = resource_name + self.display_name = display_name class AvailablePrivateEndpointTypesResult(msrest.serialization.Model): @@ -4869,7 +4870,7 @@ class BastionActiveSession(msrest.serialization.Model): :ivar session_id: A unique id for the session. :vartype session_id: str :ivar start_time: The time when the session started. - :vartype start_time: object + :vartype start_time: str :ivar target_subscription_id: The subscription id for the target virtual machine. :vartype target_subscription_id: str :ivar resource_type: The type of the resource. @@ -4907,7 +4908,7 @@ class BastionActiveSession(msrest.serialization.Model): _attribute_map = { 'session_id': {'key': 'sessionId', 'type': 'str'}, - 'start_time': {'key': 'startTime', 'type': 'object'}, + 'start_time': {'key': 'startTime', 'type': 'str'}, 'target_subscription_id': {'key': 'targetSubscriptionId', 'type': 'str'}, 'resource_type': {'key': 'resourceType', 'type': 'str'}, 'target_host_name': {'key': 'targetHostName', 'type': 'str'}, @@ -5185,7 +5186,7 @@ class BastionShareableLink(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param vm: Required. Reference of the virtual machine resource. - :type vm: ~azure.mgmt.network.v2020_11_01.models.Resource + :type vm: ~azure.mgmt.network.v2020_11_01.models.VM :ivar bsl: The unique Bastion Shareable Link to the virtual machine. :vartype bsl: str :ivar created_at: The time when the link was created. @@ -5203,7 +5204,7 @@ class BastionShareableLink(msrest.serialization.Model): } _attribute_map = { - 'vm': {'key': 'vm', 'type': 'Resource'}, + 'vm': {'key': 'vm', 'type': 'VM'}, 'bsl': {'key': 'bsl', 'type': 'str'}, 'created_at': {'key': 'createdAt', 'type': 'str'}, 'message': {'key': 'message', 'type': 'str'}, @@ -5212,7 +5213,7 @@ class BastionShareableLink(msrest.serialization.Model): def __init__( self, *, - vm: "Resource", + vm: "VM", **kwargs ): super(BastionShareableLink, self).__init__(**kwargs) @@ -7094,7 +7095,7 @@ class ContainerNetworkInterface(SubResource): ~azure.mgmt.network.v2020_11_01.models.ContainerNetworkInterfaceConfiguration :param container: Reference to the container to which this container network interface is attached. - :type container: ~azure.mgmt.network.v2020_11_01.models.SubResource + :type container: ~azure.mgmt.network.v2020_11_01.models.Container :ivar ip_configurations: Reference to the ip configuration on this container nic. :vartype ip_configurations: list[~azure.mgmt.network.v2020_11_01.models.ContainerNetworkInterfaceIpConfiguration] @@ -7117,7 +7118,7 @@ class ContainerNetworkInterface(SubResource): 'type': {'key': 'type', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, 'container_network_interface_configuration': {'key': 'properties.containerNetworkInterfaceConfiguration', 'type': 'ContainerNetworkInterfaceConfiguration'}, - 'container': {'key': 'properties.container', 'type': 'SubResource'}, + 'container': {'key': 'properties.container', 'type': 'Container'}, 'ip_configurations': {'key': 'properties.ipConfigurations', 'type': '[ContainerNetworkInterfaceIpConfiguration]'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, } @@ -7127,7 +7128,7 @@ def __init__( *, id: Optional[str] = None, name: Optional[str] = None, - container: Optional["SubResource"] = None, + container: Optional["Container"] = None, **kwargs ): super(ContainerNetworkInterface, self).__init__(id=id, **kwargs) @@ -7596,6 +7597,8 @@ class Delegation(SubResource): :type name: str :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str + :param type: Resource type. + :type type: str :param service_name: The name of the service to whom the subnet should be delegated (e.g. Microsoft.Sql/servers). :type service_name: str @@ -7616,6 +7619,7 @@ class Delegation(SubResource): 'id': {'key': 'id', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, 'service_name': {'key': 'properties.serviceName', 'type': 'str'}, 'actions': {'key': 'properties.actions', 'type': '[str]'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, @@ -7626,12 +7630,14 @@ def __init__( *, id: Optional[str] = None, name: Optional[str] = None, + type: Optional[str] = None, service_name: Optional[str] = None, **kwargs ): super(Delegation, self).__init__(id=id, **kwargs) self.name = name self.etag = None + self.type = type self.service_name = service_name self.actions = None self.provisioning_state = None @@ -12486,11 +12492,14 @@ class IPAddressAvailabilityResult(msrest.serialization.Model): :param available_ip_addresses: Contains other available private IP addresses if the asked for address is taken. :type available_ip_addresses: list[str] + :param is_platform_reserved: Private IP address platform reserved. + :type is_platform_reserved: bool """ _attribute_map = { 'available': {'key': 'available', 'type': 'bool'}, 'available_ip_addresses': {'key': 'availableIPAddresses', 'type': '[str]'}, + 'is_platform_reserved': {'key': 'isPlatformReserved', 'type': 'bool'}, } def __init__( @@ -12498,11 +12507,13 @@ def __init__( *, available: Optional[bool] = None, available_ip_addresses: Optional[List[str]] = None, + is_platform_reserved: Optional[bool] = None, **kwargs ): super(IPAddressAvailabilityResult, self).__init__(**kwargs) self.available = available self.available_ip_addresses = available_ip_addresses + self.is_platform_reserved = is_platform_reserved class IpAllocation(Resource): @@ -14953,6 +14964,15 @@ class NetworkInterface(Resource): :ivar provisioning_state: The provisioning state of the network interface resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". :vartype provisioning_state: str or ~azure.mgmt.network.v2020_11_01.models.ProvisioningState + :param nic_type: Type of Network Interface resource. Possible values include: "Standard", + "Elastic". + :type nic_type: str or ~azure.mgmt.network.v2020_11_01.models.NetworkInterfaceNicType + :param private_link_service: Privatelinkservice of the network interface resource. + :type private_link_service: ~azure.mgmt.network.v2020_11_01.models.PrivateLinkService + :param migration_phase: Migration phase of Network Interface resource. Possible values include: + "None", "Prepare", "Commit", "Abort", "Committed". + :type migration_phase: str or + ~azure.mgmt.network.v2020_11_01.models.NetworkInterfaceMigrationPhase """ _validation = { @@ -14992,6 +15012,9 @@ class NetworkInterface(Resource): 'dscp_configuration': {'key': 'properties.dscpConfiguration', 'type': 'SubResource'}, 'resource_guid': {'key': 'properties.resourceGuid', 'type': 'str'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'nic_type': {'key': 'properties.nicType', 'type': 'str'}, + 'private_link_service': {'key': 'properties.privateLinkService', 'type': 'PrivateLinkService'}, + 'migration_phase': {'key': 'properties.migrationPhase', 'type': 'str'}, } def __init__( @@ -15006,6 +15029,9 @@ def __init__( dns_settings: Optional["NetworkInterfaceDnsSettings"] = None, enable_accelerated_networking: Optional[bool] = None, enable_ip_forwarding: Optional[bool] = None, + nic_type: Optional[Union[str, "NetworkInterfaceNicType"]] = None, + private_link_service: Optional["PrivateLinkService"] = None, + migration_phase: Optional[Union[str, "NetworkInterfaceMigrationPhase"]] = None, **kwargs ): super(NetworkInterface, self).__init__(id=id, location=location, tags=tags, **kwargs) @@ -15025,6 +15051,9 @@ def __init__( self.dscp_configuration = None self.resource_guid = None self.provisioning_state = None + self.nic_type = nic_type + self.private_link_service = private_link_service + self.migration_phase = migration_phase class NetworkInterfaceAssociation(msrest.serialization.Model): @@ -15124,6 +15153,8 @@ class NetworkInterfaceIPConfiguration(SubResource): :type name: str :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str + :param type: Resource type. + :type type: str :param virtual_network_taps: The reference to Virtual Network Taps. :type virtual_network_taps: list[~azure.mgmt.network.v2020_11_01.models.VirtualNetworkTap] :param application_gateway_backend_address_pools: The reference to @@ -15175,6 +15206,7 @@ class NetworkInterfaceIPConfiguration(SubResource): 'id': {'key': 'id', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, 'virtual_network_taps': {'key': 'properties.virtualNetworkTaps', 'type': '[VirtualNetworkTap]'}, 'application_gateway_backend_address_pools': {'key': 'properties.applicationGatewayBackendAddressPools', 'type': '[ApplicationGatewayBackendAddressPool]'}, 'load_balancer_backend_address_pools': {'key': 'properties.loadBalancerBackendAddressPools', 'type': '[BackendAddressPool]'}, @@ -15195,6 +15227,7 @@ def __init__( *, id: Optional[str] = None, name: Optional[str] = None, + type: Optional[str] = None, virtual_network_taps: Optional[List["VirtualNetworkTap"]] = None, application_gateway_backend_address_pools: Optional[List["ApplicationGatewayBackendAddressPool"]] = None, load_balancer_backend_address_pools: Optional[List["BackendAddressPool"]] = None, @@ -15211,6 +15244,7 @@ def __init__( super(NetworkInterfaceIPConfiguration, self).__init__(id=id, **kwargs) self.name = name self.etag = None + self.type = type self.virtual_network_taps = virtual_network_taps self.application_gateway_backend_address_pools = application_gateway_backend_address_pools self.load_balancer_backend_address_pools = load_balancer_backend_address_pools @@ -17166,8 +17200,8 @@ class PacketCaptureStorageLocation(msrest.serialization.Model): :param storage_id: The ID of the storage account to save the packet capture session. Required if no local file path is provided. :type storage_id: str - :param storage_path: The URI of the storage path to save the packet capture. Must be a well- - formed URI describing the location to save the packet capture. + :param storage_path: The URI of the storage path to save the packet capture. Must be a + well-formed URI describing the location to save the packet capture. :type storage_path: str :param file_path: A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no @@ -17948,9 +17982,10 @@ class PrivateLinkService(Resource): :vartype private_endpoint_connections: list[~azure.mgmt.network.v2020_11_01.models.PrivateEndpointConnection] :param visibility: The visibility list of the private link service. - :type visibility: ~azure.mgmt.network.v2020_11_01.models.ResourceSet + :type visibility: ~azure.mgmt.network.v2020_11_01.models.PrivateLinkServicePropertiesVisibility :param auto_approval: The auto-approval list of the private link service. - :type auto_approval: ~azure.mgmt.network.v2020_11_01.models.ResourceSet + :type auto_approval: + ~azure.mgmt.network.v2020_11_01.models.PrivateLinkServicePropertiesAutoApproval :param fqdns: The list of Fqdn. :type fqdns: list[str] :ivar alias: The alias of the private link service. @@ -17983,8 +18018,8 @@ class PrivateLinkService(Resource): 'network_interfaces': {'key': 'properties.networkInterfaces', 'type': '[NetworkInterface]'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'private_endpoint_connections': {'key': 'properties.privateEndpointConnections', 'type': '[PrivateEndpointConnection]'}, - 'visibility': {'key': 'properties.visibility', 'type': 'ResourceSet'}, - 'auto_approval': {'key': 'properties.autoApproval', 'type': 'ResourceSet'}, + 'visibility': {'key': 'properties.visibility', 'type': 'PrivateLinkServicePropertiesVisibility'}, + 'auto_approval': {'key': 'properties.autoApproval', 'type': 'PrivateLinkServicePropertiesAutoApproval'}, 'fqdns': {'key': 'properties.fqdns', 'type': '[str]'}, 'alias': {'key': 'properties.alias', 'type': 'str'}, 'enable_proxy_protocol': {'key': 'properties.enableProxyProtocol', 'type': 'bool'}, @@ -17999,8 +18034,8 @@ def __init__( extended_location: Optional["ExtendedLocation"] = None, load_balancer_frontend_ip_configurations: Optional[List["FrontendIPConfiguration"]] = None, ip_configurations: Optional[List["PrivateLinkServiceIpConfiguration"]] = None, - visibility: Optional["ResourceSet"] = None, - auto_approval: Optional["ResourceSet"] = None, + visibility: Optional["PrivateLinkServicePropertiesVisibility"] = None, + auto_approval: Optional["PrivateLinkServicePropertiesAutoApproval"] = None, fqdns: Optional[List[str]] = None, enable_proxy_protocol: Optional[bool] = None, **kwargs @@ -18537,6 +18572,18 @@ class PublicIPAddress(Resource): :ivar provisioning_state: The provisioning state of the public IP address resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". :vartype provisioning_state: str or ~azure.mgmt.network.v2020_11_01.models.ProvisioningState + :param service_public_ip_address: The service public IP address of the public IP address + resource. + :type service_public_ip_address: ~azure.mgmt.network.v2020_11_01.models.PublicIPAddress + :param nat_gateway: The NatGateway for the Public IP address. + :type nat_gateway: ~azure.mgmt.network.v2020_11_01.models.NatGateway + :param migration_phase: Migration phase of Public IP Address. Possible values include: "None", + "Prepare", "Commit", "Abort", "Committed". + :type migration_phase: str or + ~azure.mgmt.network.v2020_11_01.models.PublicIPAddressMigrationPhase + :param linked_public_ip_address: The linked public IP address of the public IP address + resource. + :type linked_public_ip_address: ~azure.mgmt.network.v2020_11_01.models.PublicIPAddress """ _validation = { @@ -18569,6 +18616,10 @@ class PublicIPAddress(Resource): 'idle_timeout_in_minutes': {'key': 'properties.idleTimeoutInMinutes', 'type': 'int'}, 'resource_guid': {'key': 'properties.resourceGuid', 'type': 'str'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'service_public_ip_address': {'key': 'properties.servicePublicIPAddress', 'type': 'PublicIPAddress'}, + 'nat_gateway': {'key': 'properties.natGateway', 'type': 'NatGateway'}, + 'migration_phase': {'key': 'properties.migrationPhase', 'type': 'str'}, + 'linked_public_ip_address': {'key': 'properties.linkedPublicIPAddress', 'type': 'PublicIPAddress'}, } def __init__( @@ -18588,6 +18639,10 @@ def __init__( ip_address: Optional[str] = None, public_ip_prefix: Optional["SubResource"] = None, idle_timeout_in_minutes: Optional[int] = None, + service_public_ip_address: Optional["PublicIPAddress"] = None, + nat_gateway: Optional["NatGateway"] = None, + migration_phase: Optional[Union[str, "PublicIPAddressMigrationPhase"]] = None, + linked_public_ip_address: Optional["PublicIPAddress"] = None, **kwargs ): super(PublicIPAddress, self).__init__(id=id, location=location, tags=tags, **kwargs) @@ -18606,6 +18661,10 @@ def __init__( self.idle_timeout_in_minutes = idle_timeout_in_minutes self.resource_guid = None self.provisioning_state = None + self.service_public_ip_address = service_public_ip_address + self.nat_gateway = nat_gateway + self.migration_phase = migration_phase + self.linked_public_ip_address = linked_public_ip_address class PublicIPAddressDnsSettings(msrest.serialization.Model): @@ -18744,6 +18803,8 @@ class PublicIPPrefix(Resource): :ivar provisioning_state: The provisioning state of the public IP prefix resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". :vartype provisioning_state: str or ~azure.mgmt.network.v2020_11_01.models.ProvisioningState + :param nat_gateway: NatGateway of Public IP Prefix. + :type nat_gateway: ~azure.mgmt.network.v2020_11_01.models.NatGateway """ _validation = { @@ -18776,6 +18837,7 @@ class PublicIPPrefix(Resource): 'custom_ip_prefix': {'key': 'properties.customIPPrefix', 'type': 'SubResource'}, 'resource_guid': {'key': 'properties.resourceGuid', 'type': 'str'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'nat_gateway': {'key': 'properties.natGateway', 'type': 'NatGateway'}, } def __init__( @@ -18791,6 +18853,7 @@ def __init__( ip_tags: Optional[List["IpTag"]] = None, prefix_length: Optional[int] = None, custom_ip_prefix: Optional["SubResource"] = None, + nat_gateway: Optional["NatGateway"] = None, **kwargs ): super(PublicIPPrefix, self).__init__(id=id, location=location, tags=tags, **kwargs) @@ -18807,6 +18870,7 @@ def __init__( self.custom_ip_prefix = custom_ip_prefix self.resource_guid = None self.provisioning_state = None + self.nat_gateway = nat_gateway class PublicIPPrefixListResult(msrest.serialization.Model): @@ -20323,6 +20387,8 @@ class ServiceTagInformationPropertiesFormat(msrest.serialization.Model): :vartype system_service: str :ivar address_prefixes: The list of IP address prefixes. :vartype address_prefixes: list[str] + :ivar state: The state of the service tag. + :vartype state: str """ _validation = { @@ -20330,6 +20396,7 @@ class ServiceTagInformationPropertiesFormat(msrest.serialization.Model): 'region': {'readonly': True}, 'system_service': {'readonly': True}, 'address_prefixes': {'readonly': True}, + 'state': {'readonly': True}, } _attribute_map = { @@ -20337,6 +20404,7 @@ class ServiceTagInformationPropertiesFormat(msrest.serialization.Model): 'region': {'key': 'region', 'type': 'str'}, 'system_service': {'key': 'systemService', 'type': 'str'}, 'address_prefixes': {'key': 'addressPrefixes', 'type': '[str]'}, + 'state': {'key': 'state', 'type': 'str'}, } def __init__( @@ -20348,6 +20416,7 @@ def __init__( self.region = None self.system_service = None self.address_prefixes = None + self.state = None class ServiceTagsListResult(msrest.serialization.Model): @@ -20469,6 +20538,8 @@ class Subnet(SubResource): :type name: str :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str + :param type: Resource type. + :type type: str :param address_prefix: The address prefix for the subnet. :type address_prefix: str :param address_prefixes: List of address prefixes for the subnet. @@ -20511,11 +20582,19 @@ class Subnet(SubResource): include: "Succeeded", "Updating", "Deleting", "Failed". :vartype provisioning_state: str or ~azure.mgmt.network.v2020_11_01.models.ProvisioningState :param private_endpoint_network_policies: Enable or Disable apply network policies on private - end point in the subnet. - :type private_endpoint_network_policies: str + end point in the subnet. Possible values include: "Enabled", "Disabled". Default value: + "Enabled". + :type private_endpoint_network_policies: str or + ~azure.mgmt.network.v2020_11_01.models.VirtualNetworkPrivateEndpointNetworkPolicies :param private_link_service_network_policies: Enable or Disable apply network policies on - private link service in the subnet. - :type private_link_service_network_policies: str + private link service in the subnet. Possible values include: "Enabled", "Disabled". Default + value: "Enabled". + :type private_link_service_network_policies: str or + ~azure.mgmt.network.v2020_11_01.models.VirtualNetworkPrivateLinkServiceNetworkPolicies + :param application_gateway_ip_configurations: Application gateway IP configurations of virtual + network resource. + :type application_gateway_ip_configurations: + list[~azure.mgmt.network.v2020_11_01.models.ApplicationGatewayIPConfiguration] """ _validation = { @@ -20533,6 +20612,7 @@ class Subnet(SubResource): 'id': {'key': 'id', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, 'address_prefix': {'key': 'properties.addressPrefix', 'type': 'str'}, 'address_prefixes': {'key': 'properties.addressPrefixes', 'type': '[str]'}, 'network_security_group': {'key': 'properties.networkSecurityGroup', 'type': 'NetworkSecurityGroup'}, @@ -20551,6 +20631,7 @@ class Subnet(SubResource): 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'private_endpoint_network_policies': {'key': 'properties.privateEndpointNetworkPolicies', 'type': 'str'}, 'private_link_service_network_policies': {'key': 'properties.privateLinkServiceNetworkPolicies', 'type': 'str'}, + 'application_gateway_ip_configurations': {'key': 'properties.applicationGatewayIpConfigurations', 'type': '[ApplicationGatewayIPConfiguration]'}, } def __init__( @@ -20558,6 +20639,7 @@ def __init__( *, id: Optional[str] = None, name: Optional[str] = None, + type: Optional[str] = None, address_prefix: Optional[str] = None, address_prefixes: Optional[List[str]] = None, network_security_group: Optional["NetworkSecurityGroup"] = None, @@ -20567,13 +20649,15 @@ def __init__( service_endpoint_policies: Optional[List["ServiceEndpointPolicy"]] = None, ip_allocations: Optional[List["SubResource"]] = None, delegations: Optional[List["Delegation"]] = None, - private_endpoint_network_policies: Optional[str] = None, - private_link_service_network_policies: Optional[str] = None, + private_endpoint_network_policies: Optional[Union[str, "VirtualNetworkPrivateEndpointNetworkPolicies"]] = "Enabled", + private_link_service_network_policies: Optional[Union[str, "VirtualNetworkPrivateLinkServiceNetworkPolicies"]] = "Enabled", + application_gateway_ip_configurations: Optional[List["ApplicationGatewayIPConfiguration"]] = None, **kwargs ): super(Subnet, self).__init__(id=id, **kwargs) self.name = name self.etag = None + self.type = type self.address_prefix = address_prefix self.address_prefixes = address_prefixes self.network_security_group = network_security_group @@ -20592,6 +20676,7 @@ def __init__( self.provisioning_state = None self.private_endpoint_network_policies = private_endpoint_network_policies self.private_link_service_network_policies = private_link_service_network_policies + self.application_gateway_ip_configurations = application_gateway_ip_configurations class SubnetAssociation(msrest.serialization.Model): @@ -22019,6 +22104,8 @@ class VirtualNetworkGateway(Resource): :type location: str :param tags: A set of tags. Resource tags. :type tags: dict[str, str] + :param extended_location: The extended location of type local virtual network gateway. + :type extended_location: ~azure.mgmt.network.v2020_11_01.models.ExtendedLocation :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str :param ip_configurations: IP configurations for virtual network gateway. @@ -22066,13 +22153,9 @@ class VirtualNetworkGateway(Resource): :ivar inbound_dns_forwarding_endpoint: The IP address allocated by the gateway to which dns requests can be sent. :vartype inbound_dns_forwarding_endpoint: str - :param v_net_extended_location_resource_id: MAS FIJI customer vnet resource id. - VirtualNetworkGateway of type local gateway is associated with the customer vnet. + :param v_net_extended_location_resource_id: Customer vnet resource id. VirtualNetworkGateway of + type local gateway is associated with the customer vnet. :type v_net_extended_location_resource_id: str - :param virtual_network_extended_location: The extended location of type local virtual network - gateway. - :type virtual_network_extended_location: - ~azure.mgmt.network.v2020_11_01.models.ExtendedLocation """ _validation = { @@ -22090,6 +22173,7 @@ class VirtualNetworkGateway(Resource): 'type': {'key': 'type', 'type': 'str'}, 'location': {'key': 'location', 'type': 'str'}, 'tags': {'key': 'tags', 'type': '{str}'}, + 'extended_location': {'key': 'extendedLocation', 'type': 'ExtendedLocation'}, 'etag': {'key': 'etag', 'type': 'str'}, 'ip_configurations': {'key': 'properties.ipConfigurations', 'type': '[VirtualNetworkGatewayIPConfiguration]'}, 'gateway_type': {'key': 'properties.gatewayType', 'type': 'str'}, @@ -22108,7 +22192,6 @@ class VirtualNetworkGateway(Resource): 'enable_dns_forwarding': {'key': 'properties.enableDnsForwarding', 'type': 'bool'}, 'inbound_dns_forwarding_endpoint': {'key': 'properties.inboundDnsForwardingEndpoint', 'type': 'str'}, 'v_net_extended_location_resource_id': {'key': 'properties.vNetExtendedLocationResourceId', 'type': 'str'}, - 'virtual_network_extended_location': {'key': 'properties.virtualNetworkExtendedLocation', 'type': 'ExtendedLocation'}, } def __init__( @@ -22117,6 +22200,7 @@ def __init__( id: Optional[str] = None, location: Optional[str] = None, tags: Optional[Dict[str, str]] = None, + extended_location: Optional["ExtendedLocation"] = None, ip_configurations: Optional[List["VirtualNetworkGatewayIPConfiguration"]] = None, gateway_type: Optional[Union[str, "VirtualNetworkGatewayType"]] = None, vpn_type: Optional[Union[str, "VpnType"]] = None, @@ -22131,10 +22215,10 @@ def __init__( custom_routes: Optional["AddressSpace"] = None, enable_dns_forwarding: Optional[bool] = None, v_net_extended_location_resource_id: Optional[str] = None, - virtual_network_extended_location: Optional["ExtendedLocation"] = None, **kwargs ): super(VirtualNetworkGateway, self).__init__(id=id, location=location, tags=tags, **kwargs) + self.extended_location = extended_location self.etag = None self.ip_configurations = ip_configurations self.gateway_type = gateway_type @@ -22153,7 +22237,6 @@ def __init__( self.enable_dns_forwarding = enable_dns_forwarding self.inbound_dns_forwarding_endpoint = None self.v_net_extended_location_resource_id = v_net_extended_location_resource_id - self.virtual_network_extended_location = virtual_network_extended_location class VirtualNetworkGatewayConnection(Resource): @@ -22774,6 +22857,8 @@ class VirtualNetworkPeering(SubResource): :type name: str :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str + :param type: Resource type. + :type type: str :param allow_virtual_network_access: Whether the VMs in the local virtual network space would be able to access the VMs in remote virtual network space. :type allow_virtual_network_access: bool @@ -22790,8 +22875,8 @@ class VirtualNetworkPeering(SubResource): :type use_remote_gateways: bool :param remote_virtual_network: The reference to the remote virtual network. The remote virtual network can be in the same or different region (preview). See here to register for the preview - and learn more (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create- - peering). + and learn more + (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering). :type remote_virtual_network: ~azure.mgmt.network.v2020_11_01.models.SubResource :param remote_address_space: The reference to the remote virtual network address space. :type remote_address_space: ~azure.mgmt.network.v2020_11_01.models.AddressSpace @@ -22804,17 +22889,24 @@ class VirtualNetworkPeering(SubResource): :ivar provisioning_state: The provisioning state of the virtual network peering resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". :vartype provisioning_state: str or ~azure.mgmt.network.v2020_11_01.models.ProvisioningState + :param do_not_verify_remote_gateways: If we need to verify the provisioning state of the remote + gateway. + :type do_not_verify_remote_gateways: bool + :ivar resource_guid: The resourceGuid property of the Virtual Network peering resource. + :vartype resource_guid: str """ _validation = { 'etag': {'readonly': True}, 'provisioning_state': {'readonly': True}, + 'resource_guid': {'readonly': True}, } _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, 'allow_virtual_network_access': {'key': 'properties.allowVirtualNetworkAccess', 'type': 'bool'}, 'allow_forwarded_traffic': {'key': 'properties.allowForwardedTraffic', 'type': 'bool'}, 'allow_gateway_transit': {'key': 'properties.allowGatewayTransit', 'type': 'bool'}, @@ -22824,6 +22916,8 @@ class VirtualNetworkPeering(SubResource): 'remote_bgp_communities': {'key': 'properties.remoteBgpCommunities', 'type': 'VirtualNetworkBgpCommunities'}, 'peering_state': {'key': 'properties.peeringState', 'type': 'str'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'do_not_verify_remote_gateways': {'key': 'properties.doNotVerifyRemoteGateways', 'type': 'bool'}, + 'resource_guid': {'key': 'properties.resourceGuid', 'type': 'str'}, } def __init__( @@ -22831,6 +22925,7 @@ def __init__( *, id: Optional[str] = None, name: Optional[str] = None, + type: Optional[str] = None, allow_virtual_network_access: Optional[bool] = None, allow_forwarded_traffic: Optional[bool] = None, allow_gateway_transit: Optional[bool] = None, @@ -22839,11 +22934,13 @@ def __init__( remote_address_space: Optional["AddressSpace"] = None, remote_bgp_communities: Optional["VirtualNetworkBgpCommunities"] = None, peering_state: Optional[Union[str, "VirtualNetworkPeeringState"]] = None, + do_not_verify_remote_gateways: Optional[bool] = None, **kwargs ): super(VirtualNetworkPeering, self).__init__(id=id, **kwargs) self.name = name self.etag = None + self.type = type self.allow_virtual_network_access = allow_virtual_network_access self.allow_forwarded_traffic = allow_forwarded_traffic self.allow_gateway_transit = allow_gateway_transit @@ -22853,6 +22950,8 @@ def __init__( self.remote_bgp_communities = remote_bgp_communities self.peering_state = peering_state self.provisioning_state = None + self.do_not_verify_remote_gateways = do_not_verify_remote_gateways + self.resource_guid = None class VirtualNetworkPeeringListResult(msrest.serialization.Model): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/models/_network_management_client_enums.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/models/_network_management_client_enums.py index b28503a6dd45..f82f1c8fa145 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/models/_network_management_client_enums.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/models/_network_management_client_enums.py @@ -779,6 +779,23 @@ class NatGatewaySkuName(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): STANDARD = "Standard" +class NetworkInterfaceMigrationPhase(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Migration phase of Network Interface resource. + """ + + NONE = "None" + PREPARE = "Prepare" + COMMIT = "Commit" + ABORT = "Abort" + COMMITTED = "Committed" + +class NetworkInterfaceNicType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Type of Network Interface resource. + """ + + STANDARD = "Standard" + ELASTIC = "Elastic" + class NetworkOperationStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Status of the Azure async operation. """ @@ -937,6 +954,16 @@ class ProvisioningState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): DELETING = "Deleting" FAILED = "Failed" +class PublicIPAddressMigrationPhase(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Migration phase of Public IP Address. + """ + + NONE = "None" + PREPARE = "Prepare" + COMMIT = "Commit" + ABORT = "Abort" + COMMITTED = "Committed" + class PublicIPAddressSkuName(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Name of a public IP address SKU. """ @@ -1183,6 +1210,20 @@ class VirtualNetworkPeeringState(with_metaclass(_CaseInsensitiveEnumMeta, str, E CONNECTED = "Connected" DISCONNECTED = "Disconnected" +class VirtualNetworkPrivateEndpointNetworkPolicies(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Enable or Disable apply network policies on private end point in the subnet. + """ + + ENABLED = "Enabled" + DISABLED = "Disabled" + +class VirtualNetworkPrivateLinkServiceNetworkPolicies(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Enable or Disable apply network policies on private link service in the subnet. + """ + + ENABLED = "Enabled" + DISABLED = "Disabled" + class VirtualWanSecurityProviderType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The virtual wan security provider type. """ diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_application_gateway_private_endpoint_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_application_gateway_private_endpoint_connections_operations.py index fed9d92b17ab..bf89bcd2c455 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_application_gateway_private_endpoint_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_application_gateway_private_endpoint_connections_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -244,8 +244,8 @@ def begin_update( :type parameters: ~azure.mgmt.network.v2020_11_01.models.ApplicationGatewayPrivateEndpointConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGatewayPrivateEndpointConnection or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_application_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_application_gateways_operations.py index 04b5a2f32b6c..2fddb9c53468 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_application_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_application_gateways_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -292,8 +292,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_11_01.models.ApplicationGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGateway or the result of cls(response) @@ -611,8 +611,8 @@ def begin_start( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -721,8 +721,8 @@ def begin_stop( :type application_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -842,8 +842,8 @@ def begin_backend_health( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGatewayBackendHealth or the result of cls(response) @@ -977,8 +977,8 @@ def begin_backend_health_on_demand( :type expand: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationGatewayBackendHealthOnDemand or the result of cls(response) @@ -1073,7 +1073,7 @@ def list_available_server_variables( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) @@ -1125,7 +1125,7 @@ def list_available_request_headers( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) @@ -1177,7 +1177,7 @@ def list_available_response_headers( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('[str]', pipeline_response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_application_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_application_security_groups_operations.py index bd7e2fa62c4d..5f7f02059ff7 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_application_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_application_security_groups_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type application_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -293,8 +293,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_11_01.models.ApplicationSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ApplicationSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_azure_firewalls_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_azure_firewalls_operations.py index 24fe0b51524a..f51465393789 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_azure_firewalls_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_azure_firewalls_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type azure_firewall_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -292,8 +292,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_11_01.models.AzureFirewall :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AzureFirewall or the result of cls(response) @@ -420,8 +420,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2020_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AzureFirewall or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_bastion_hosts_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_bastion_hosts_operations.py index 014587eeb8d3..596d3d6860e1 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_bastion_hosts_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_bastion_hosts_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type bastion_host_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -292,8 +292,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_11_01.models.BastionHost :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either BastionHost or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_connection_monitors_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_connection_monitors_operations.py index 483bc3495ffc..d5df597b830e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_connection_monitors_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_connection_monitors_operations.py @@ -96,7 +96,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -135,8 +135,8 @@ def begin_create_or_update( :type migrate: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionMonitorResult or the result of cls(response) @@ -245,7 +245,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('ConnectionMonitorResult', pipeline_response) @@ -296,7 +296,7 @@ def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -322,8 +322,8 @@ def begin_delete( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -435,7 +435,7 @@ def update_tags( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('ConnectionMonitorResult', pipeline_response) @@ -486,7 +486,7 @@ def _stop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -512,8 +512,8 @@ def begin_stop( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -604,7 +604,7 @@ def _start_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -630,8 +630,8 @@ def begin_start( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -722,7 +722,7 @@ def _query_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -755,8 +755,8 @@ def begin_query( :type connection_monitor_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionMonitorQueryResult or the result of cls(response) @@ -875,7 +875,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_custom_ip_prefixes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_custom_ip_prefixes_operations.py index a8cb7debd939..83fa993df177 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_custom_ip_prefixes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_custom_ip_prefixes_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type custom_ip_prefix_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_11_01.models.CustomIpPrefix :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either CustomIpPrefix or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_ddos_custom_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_ddos_custom_policies_operations.py index 9056bffc16fb..37a68334a53e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_ddos_custom_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_ddos_custom_policies_operations.py @@ -106,8 +106,8 @@ def begin_delete( :type ddos_custom_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -291,8 +291,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_11_01.models.DdosCustomPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either DdosCustomPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_ddos_protection_plans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_ddos_protection_plans_operations.py index 8cd073f287b6..5f0719c74bb1 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_ddos_protection_plans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_ddos_protection_plans_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type ddos_protection_plan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -292,8 +292,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_11_01.models.DdosProtectionPlan :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either DdosProtectionPlan or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_dscp_configuration_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_dscp_configuration_operations.py index 32224101ed51..a4999d30f0b5 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_dscp_configuration_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_dscp_configuration_operations.py @@ -123,8 +123,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_11_01.models.DscpConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either DscpConfiguration or the result of cls(response) @@ -237,8 +237,8 @@ def begin_delete( :type dscp_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_express_route_circuit_authorizations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_express_route_circuit_authorizations_operations.py index 9f4c2571c15b..7a44e71916ac 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_express_route_circuit_authorizations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_express_route_circuit_authorizations_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type authorization_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -309,8 +309,8 @@ def begin_create_or_update( :type authorization_parameters: ~azure.mgmt.network.v2020_11_01.models.ExpressRouteCircuitAuthorization :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitAuthorization or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_express_route_circuit_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_express_route_circuit_connections_operations.py index 8a75bc32ea2e..6992c9673c91 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_express_route_circuit_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_express_route_circuit_connections_operations.py @@ -118,8 +118,8 @@ def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -326,8 +326,8 @@ def begin_create_or_update( :type express_route_circuit_connection_parameters: ~azure.mgmt.network.v2020_11_01.models.ExpressRouteCircuitConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitConnection or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_express_route_circuit_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_express_route_circuit_peerings_operations.py index 5069e1006c12..c49af847c050 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_express_route_circuit_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_express_route_circuit_peerings_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -309,8 +309,8 @@ def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2020_11_01.models.ExpressRouteCircuitPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_express_route_circuits_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_express_route_circuits_operations.py index 6379efea90d6..d18e838e3118 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_express_route_circuits_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_express_route_circuits_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type circuit_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -292,8 +292,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_11_01.models.ExpressRouteCircuit :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuit or the result of cls(response) @@ -489,8 +489,8 @@ def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -622,8 +622,8 @@ def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) @@ -755,8 +755,8 @@ def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableSummaryListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_express_route_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_express_route_connections_operations.py index c3a1eeee0337..ac5f353f7a65 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_express_route_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_express_route_connections_operations.py @@ -128,8 +128,8 @@ def begin_create_or_update( :type put_express_route_connection_parameters: ~azure.mgmt.network.v2020_11_01.models.ExpressRouteConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteConnection or the result of cls(response) @@ -312,8 +312,8 @@ def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_express_route_cross_connection_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_express_route_cross_connection_peerings_operations.py index cd86e488dcba..08a8881447d8 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_express_route_cross_connection_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_express_route_cross_connection_peerings_operations.py @@ -187,8 +187,8 @@ def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -384,8 +384,8 @@ def begin_create_or_update( :type peering_parameters: ~azure.mgmt.network.v2020_11_01.models.ExpressRouteCrossConnectionPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCrossConnectionPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_express_route_cross_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_express_route_cross_connections_operations.py index c188e5ce8bb7..ca56e063bff7 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_express_route_cross_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_express_route_cross_connections_operations.py @@ -317,8 +317,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_11_01.models.ExpressRouteCrossConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCrossConnection or the result of cls(response) @@ -515,8 +515,8 @@ def begin_list_arp_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) @@ -648,8 +648,8 @@ def begin_list_routes_table_summary( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCrossConnectionsRoutesTableSummaryListResult or the result of cls(response) @@ -781,8 +781,8 @@ def begin_list_routes_table( :type device_path: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_express_route_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_express_route_gateways_operations.py index ed92a032e920..5ece262d6c45 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_express_route_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_express_route_gateways_operations.py @@ -229,8 +229,8 @@ def begin_create_or_update( :type put_express_route_gateway_parameters: ~azure.mgmt.network.v2020_11_01.models.ExpressRouteGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteGateway or the result of cls(response) @@ -358,8 +358,8 @@ def begin_update_tags( :type express_route_gateway_parameters: ~azure.mgmt.network.v2020_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRouteGateway or the result of cls(response) @@ -532,8 +532,8 @@ def begin_delete( :type express_route_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_express_route_ports_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_express_route_ports_operations.py index 37f42df09ee2..3e14ec8401f3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_express_route_ports_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_express_route_ports_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type express_route_port_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -292,8 +292,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_11_01.models.ExpressRoutePort :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ExpressRoutePort or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_firewall_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_firewall_policies_operations.py index 7af370704d5d..1edd5f071308 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_firewall_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_firewall_policies_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type firewall_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_11_01.models.FirewallPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FirewallPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_firewall_policy_rule_collection_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_firewall_policy_rule_collection_groups_operations.py index 4f45ef813ebc..31752fc77cf4 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_firewall_policy_rule_collection_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_firewall_policy_rule_collection_groups_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type rule_collection_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -309,8 +309,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_11_01.models.FirewallPolicyRuleCollectionGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FirewallPolicyRuleCollectionGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_flow_logs_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_flow_logs_operations.py index c045cc669def..791fba8305ef 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_flow_logs_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_flow_logs_operations.py @@ -93,7 +93,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -129,8 +129,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_11_01.models.FlowLog :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FlowLog or the result of cls(response) @@ -246,7 +246,7 @@ def update_tags( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('FlowLog', pipeline_response) @@ -310,7 +310,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('FlowLog', pipeline_response) @@ -361,7 +361,7 @@ def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -387,8 +387,8 @@ def begin_delete( :type flow_log_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -504,7 +504,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_hub_route_tables_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_hub_route_tables_operations.py index 2e8e9377d9e9..2be297d462c0 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_hub_route_tables_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_hub_route_tables_operations.py @@ -128,8 +128,8 @@ def begin_create_or_update( :type route_table_parameters: ~azure.mgmt.network.v2020_11_01.models.HubRouteTable :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either HubRouteTable or the result of cls(response) @@ -312,8 +312,8 @@ def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_hub_virtual_network_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_hub_virtual_network_connections_operations.py index e57a919c56c3..1fe7e37319a1 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_hub_virtual_network_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_hub_virtual_network_connections_operations.py @@ -129,8 +129,8 @@ def begin_create_or_update( :type hub_virtual_network_connection_parameters: ~azure.mgmt.network.v2020_11_01.models.HubVirtualNetworkConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either HubVirtualNetworkConnection or the result of cls(response) @@ -250,8 +250,8 @@ def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_inbound_nat_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_inbound_nat_rules_operations.py index a0e44399a93b..4c1be6da2098 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_inbound_nat_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_inbound_nat_rules_operations.py @@ -187,8 +187,8 @@ def begin_delete( :type inbound_nat_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -389,8 +389,8 @@ def begin_create_or_update( :type inbound_nat_rule_parameters: ~azure.mgmt.network.v2020_11_01.models.InboundNatRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either InboundNatRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_inbound_security_rule_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_inbound_security_rule_operations.py index 17b814dace61..b412e6354fe8 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_inbound_security_rule_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_inbound_security_rule_operations.py @@ -128,8 +128,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_11_01.models.InboundSecurityRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either InboundSecurityRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_ip_allocations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_ip_allocations_operations.py index 039172c7c5e3..f86de5defab6 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_ip_allocations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_ip_allocations_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type ip_allocation_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_11_01.models.IpAllocation :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either IpAllocation or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_ip_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_ip_groups_operations.py index b0ea6966026d..3d4f81b29b65 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_ip_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_ip_groups_operations.py @@ -102,7 +102,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('IpGroup', pipeline_response) @@ -157,7 +157,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -190,8 +190,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_11_01.models.IpGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either IpGroup or the result of cls(response) @@ -301,7 +301,7 @@ def update_groups( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('IpGroup', pipeline_response) @@ -350,7 +350,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -373,8 +373,8 @@ def begin_delete( :type ip_groups_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -484,7 +484,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -552,7 +552,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_load_balancer_backend_address_pools_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_load_balancer_backend_address_pools_operations.py index 15013f2d7762..5321af07e7f3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_load_balancer_backend_address_pools_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_load_balancer_backend_address_pools_operations.py @@ -267,8 +267,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_11_01.models.BackendAddressPool :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either BackendAddressPool or the result of cls(response) @@ -388,8 +388,8 @@ def begin_delete( :type backend_address_pool_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_load_balancers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_load_balancers_operations.py index 636ad42edb2e..2b2159c3856f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_load_balancers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_load_balancers_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type load_balancer_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_11_01.models.LoadBalancer :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LoadBalancer or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_local_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_local_network_gateways_operations.py index 99a2856c8c50..efcc77e57094 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_local_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_local_network_gateways_operations.py @@ -123,8 +123,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_11_01.models.LocalNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either LocalNetworkGateway or the result of cls(response) @@ -296,8 +296,8 @@ def begin_delete( :type local_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_nat_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_nat_gateways_operations.py index 2c5b098a7417..5ea2e18c7db3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_nat_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_nat_gateways_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type nat_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_11_01.models.NatGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NatGateway or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_nat_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_nat_rules_operations.py index 2fcfcfe34876..da44559178f7 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_nat_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_nat_rules_operations.py @@ -192,8 +192,8 @@ def begin_create_or_update( :type nat_rule_parameters: ~azure.mgmt.network.v2020_11_01.models.VpnGatewayNatRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnGatewayNatRule or the result of cls(response) @@ -313,8 +313,8 @@ def begin_delete( :type nat_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_network_interface_tap_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_network_interface_tap_configurations_operations.py index 207a9f46858f..0a71db20265c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_network_interface_tap_configurations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_network_interface_tap_configurations_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type tap_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -309,8 +309,8 @@ def begin_create_or_update( :type tap_configuration_parameters: ~azure.mgmt.network.v2020_11_01.models.NetworkInterfaceTapConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkInterfaceTapConfiguration or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_network_interfaces_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_network_interfaces_operations.py index ba8e87c4040c..d5499906e59d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_network_interfaces_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_network_interfaces_operations.py @@ -333,8 +333,8 @@ def begin_delete( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -523,8 +523,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_11_01.models.NetworkInterface :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkInterface or the result of cls(response) @@ -847,8 +847,8 @@ def begin_get_effective_route_table( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either EffectiveRouteListResult or the result of cls(response) @@ -965,8 +965,8 @@ def begin_list_effective_network_security_groups( :type network_interface_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either EffectiveNetworkSecurityGroupListResult or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_network_management_client_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_network_management_client_operations.py index 0113a3eeb0a3..3dccdeb4af18 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_network_management_client_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_network_management_client_operations.py @@ -101,8 +101,8 @@ def begin_put_bastion_shareable_link( :type bsl_request: ~azure.mgmt.network.v2020_11_01.models.BastionShareableLinkListRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns an iterator like instance of either BastionShareableLinkListResult or the result of cls(response) @@ -286,8 +286,8 @@ def begin_delete_bastion_shareable_link( :type bsl_request: ~azure.mgmt.network.v2020_11_01.models.BastionShareableLinkListRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -488,8 +488,8 @@ def begin_get_active_sessions( :type bastion_host_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns an iterator like instance of either BastionActiveSessionListResult or the result of cls(response) @@ -878,8 +878,8 @@ def begin_generatevirtualwanvpnserverconfigurationvpnprofile( :type vpn_client_params: ~azure.mgmt.network.v2020_11_01.models.VirtualWanVpnProfileParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnProfileResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_network_profiles_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_network_profiles_operations.py index fbb9c3417c85..4a48caa17442 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_network_profiles_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_network_profiles_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type network_profile_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_network_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_network_security_groups_operations.py index 2443d45ea757..e8373c3ea95f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_network_security_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_network_security_groups_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type network_security_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_11_01.models.NetworkSecurityGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkSecurityGroup or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_network_virtual_appliances_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_network_virtual_appliances_operations.py index 9a754f557281..7b000b1d3686 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_network_virtual_appliances_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_network_virtual_appliances_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type network_virtual_appliance_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -364,8 +364,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_11_01.models.NetworkVirtualAppliance :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkVirtualAppliance or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_network_watchers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_network_watchers_operations.py index 4ad33d82f345..0ef13a3bec35 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_network_watchers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_network_watchers_operations.py @@ -104,7 +104,7 @@ def create_or_update( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -168,7 +168,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('NetworkWatcher', pipeline_response) @@ -217,7 +217,7 @@ def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -240,8 +240,8 @@ def begin_delete( :type network_watcher_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -347,7 +347,7 @@ def update_tags( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('NetworkWatcher', pipeline_response) @@ -419,7 +419,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -487,7 +487,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -555,7 +555,7 @@ def get_topology( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('Topology', pipeline_response) @@ -610,7 +610,7 @@ def _verify_ip_flow_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -643,8 +643,8 @@ def begin_verify_ip_flow( :type parameters: ~azure.mgmt.network.v2020_11_01.models.VerificationIPFlowParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VerificationIPFlowResult or the result of cls(response) @@ -741,7 +741,7 @@ def _get_next_hop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -774,8 +774,8 @@ def begin_get_next_hop( :type parameters: ~azure.mgmt.network.v2020_11_01.models.NextHopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NextHopResult or the result of cls(response) @@ -872,7 +872,7 @@ def _get_vm_security_rules_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -905,8 +905,8 @@ def begin_get_vm_security_rules( :type parameters: ~azure.mgmt.network.v2020_11_01.models.SecurityGroupViewParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either SecurityGroupViewResult or the result of cls(response) @@ -1003,7 +1003,7 @@ def _get_troubleshooting_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1036,8 +1036,8 @@ def begin_get_troubleshooting( :type parameters: ~azure.mgmt.network.v2020_11_01.models.TroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1134,7 +1134,7 @@ def _get_troubleshooting_result_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1167,8 +1167,8 @@ def begin_get_troubleshooting_result( :type parameters: ~azure.mgmt.network.v2020_11_01.models.QueryTroubleshootingParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either TroubleshootingResult or the result of cls(response) @@ -1265,7 +1265,7 @@ def _set_flow_log_configuration_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1298,8 +1298,8 @@ def begin_set_flow_log_configuration( :type parameters: ~azure.mgmt.network.v2020_11_01.models.FlowLogInformation :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1396,7 +1396,7 @@ def _get_flow_log_status_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1430,8 +1430,8 @@ def begin_get_flow_log_status( :type parameters: ~azure.mgmt.network.v2020_11_01.models.FlowLogStatusParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either FlowLogInformation or the result of cls(response) @@ -1528,7 +1528,7 @@ def _check_connectivity_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1562,8 +1562,8 @@ def begin_check_connectivity( :type parameters: ~azure.mgmt.network.v2020_11_01.models.ConnectivityParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectivityInformation or the result of cls(response) @@ -1660,7 +1660,7 @@ def _get_azure_reachability_report_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1695,8 +1695,8 @@ def begin_get_azure_reachability_report( :type parameters: ~azure.mgmt.network.v2020_11_01.models.AzureReachabilityReportParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AzureReachabilityReport or the result of cls(response) @@ -1793,7 +1793,7 @@ def _list_available_providers_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1827,8 +1827,8 @@ def begin_list_available_providers( :type parameters: ~azure.mgmt.network.v2020_11_01.models.AvailableProvidersListParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either AvailableProvidersList or the result of cls(response) @@ -1925,7 +1925,7 @@ def _get_network_configuration_diagnostic_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -1962,8 +1962,8 @@ def begin_get_network_configuration_diagnostic( :type parameters: ~azure.mgmt.network.v2020_11_01.models.NetworkConfigurationDiagnosticParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either NetworkConfigurationDiagnosticResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_p2_svpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_p2_svpn_gateways_operations.py index 468020e87244..720808c53ad3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_p2_svpn_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_p2_svpn_gateways_operations.py @@ -183,8 +183,8 @@ def begin_create_or_update( :type p2_s_vpn_gateway_parameters: ~azure.mgmt.network.v2020_11_01.models.P2SVpnGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -312,8 +312,8 @@ def begin_update_tags( :type p2_s_vpn_gateway_parameters: ~azure.mgmt.network.v2020_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -426,8 +426,8 @@ def begin_delete( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -679,8 +679,8 @@ def begin_reset( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -807,8 +807,8 @@ def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2020_11_01.models.P2SVpnProfileParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnProfileResponse or the result of cls(response) @@ -927,8 +927,8 @@ def begin_get_p2_s_vpn_connection_health( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either P2SVpnGateway or the result of cls(response) @@ -1055,8 +1055,8 @@ def begin_get_p2_s_vpn_connection_health_detailed( :type request: ~azure.mgmt.network.v2020_11_01.models.P2SVpnConnectionHealthRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either P2SVpnConnectionHealth or the result of cls(response) @@ -1179,8 +1179,8 @@ def begin_disconnect_p2_s_vpn_connections( :type request: ~azure.mgmt.network.v2020_11_01.models.P2SVpnConnectionRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_packet_captures_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_packet_captures_operations.py index f73cdfb1e41c..2347646ae91b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_packet_captures_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_packet_captures_operations.py @@ -93,7 +93,7 @@ def _create_initial( if response.status_code not in [201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PacketCaptureResult', pipeline_response) @@ -125,8 +125,8 @@ def begin_create( :type parameters: ~azure.mgmt.network.v2020_11_01.models.PacketCapture :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PacketCaptureResult or the result of cls(response) @@ -234,7 +234,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PacketCaptureResult', pipeline_response) @@ -285,7 +285,7 @@ def _delete_initial( if response.status_code not in [202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -311,8 +311,8 @@ def begin_delete( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -403,7 +403,7 @@ def _stop_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -429,8 +429,8 @@ def begin_stop( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -521,7 +521,7 @@ def _get_status_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -554,8 +554,8 @@ def begin_get_status( :type packet_capture_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PacketCaptureQueryStatusResult or the result of cls(response) @@ -674,7 +674,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_private_dns_zone_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_private_dns_zone_groups_operations.py index c82f3ed5938e..a1a741029bb1 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_private_dns_zone_groups_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_private_dns_zone_groups_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type private_dns_zone_group_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -309,8 +309,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_11_01.models.PrivateDnsZoneGroup :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PrivateDnsZoneGroup or the result of cls(response) @@ -430,7 +430,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_private_endpoints_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_private_endpoints_operations.py index 5b1ac575dde1..b3fb03829c1b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_private_endpoints_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_private_endpoints_operations.py @@ -85,7 +85,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -108,8 +108,8 @@ def begin_delete( :type private_endpoint_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -212,7 +212,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateEndpoint', pipeline_response) @@ -267,7 +267,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -300,8 +300,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_11_01.models.PrivateEndpoint :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PrivateEndpoint or the result of cls(response) @@ -415,7 +415,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -483,7 +483,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_private_link_services_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_private_link_services_operations.py index 8b5d7a134c05..4721ac75c41b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_private_link_services_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_private_link_services_operations.py @@ -85,7 +85,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -108,8 +108,8 @@ def begin_delete( :type service_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -212,7 +212,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateLinkService', pipeline_response) @@ -267,7 +267,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -300,8 +300,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_11_01.models.PrivateLinkService :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PrivateLinkService or the result of cls(response) @@ -415,7 +415,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -483,7 +483,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -553,7 +553,7 @@ def get_private_endpoint_connection( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateEndpointConnection', pipeline_response) @@ -625,7 +625,7 @@ def update_private_endpoint_connection( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('PrivateEndpointConnection', pipeline_response) @@ -676,7 +676,7 @@ def _delete_private_endpoint_connection_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -702,8 +702,8 @@ def begin_delete_private_endpoint_connection( :type pe_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -819,7 +819,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -899,8 +899,8 @@ def begin_check_private_link_service_visibility( :type parameters: ~azure.mgmt.network.v2020_11_01.models.CheckPrivateLinkServiceVisibilityRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PrivateLinkServiceVisibility or the result of cls(response) @@ -1026,8 +1026,8 @@ def begin_check_private_link_service_visibility_by_resource_group( :type parameters: ~azure.mgmt.network.v2020_11_01.models.CheckPrivateLinkServiceVisibilityRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PrivateLinkServiceVisibility or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_public_ip_addresses_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_public_ip_addresses_operations.py index fc38c9fdb676..48e30bb46015 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_public_ip_addresses_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_public_ip_addresses_operations.py @@ -350,8 +350,8 @@ def begin_delete( :type public_ip_address_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -540,8 +540,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_11_01.models.PublicIPAddress :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PublicIPAddress or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_public_ip_prefixes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_public_ip_prefixes_operations.py index f1fa642a7cc8..6769550e9554 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_public_ip_prefixes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_public_ip_prefixes_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type public_ip_prefix_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_11_01.models.PublicIPPrefix :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PublicIPPrefix or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_route_filter_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_route_filter_rules_operations.py index 1882fdb6dc7d..a948db063bb9 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_route_filter_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_route_filter_rules_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -309,8 +309,8 @@ def begin_create_or_update( :type route_filter_rule_parameters: ~azure.mgmt.network.v2020_11_01.models.RouteFilterRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilterRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_route_filters_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_route_filters_operations.py index 49a5b526bed7..58de1a1d0e67 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_route_filters_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_route_filters_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type route_filter_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ def begin_create_or_update( :type route_filter_parameters: ~azure.mgmt.network.v2020_11_01.models.RouteFilter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteFilter or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_route_tables_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_route_tables_operations.py index 64c61be76ceb..75af553cafad 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_route_tables_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_route_tables_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_11_01.models.RouteTable :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either RouteTable or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_routes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_routes_operations.py index 955b92f9b21c..ea4a39515c4f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_routes_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_routes_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type route_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -308,8 +308,8 @@ def begin_create_or_update( :type route_parameters: ~azure.mgmt.network.v2020_11_01.models.Route :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Route or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_security_partner_providers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_security_partner_providers_operations.py index 0808e1902887..2f5ae42a303f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_security_partner_providers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_security_partner_providers_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type security_partner_provider_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -293,8 +293,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_11_01.models.SecurityPartnerProvider :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either SecurityPartnerProvider or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_security_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_security_rules_operations.py index 2b3b8e24318e..692f98e3b73b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_security_rules_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_security_rules_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type security_rule_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -309,8 +309,8 @@ def begin_create_or_update( :type security_rule_parameters: ~azure.mgmt.network.v2020_11_01.models.SecurityRule :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either SecurityRule or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_service_endpoint_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_service_endpoint_policies_operations.py index cc4910d70e49..159d872ce10f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_service_endpoint_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_service_endpoint_policies_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type service_endpoint_policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -298,8 +298,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_11_01.models.ServiceEndpointPolicy :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ServiceEndpointPolicy or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_service_endpoint_policy_definitions_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_service_endpoint_policy_definitions_operations.py index f6d64d264a9f..04dfe7d970ae 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_service_endpoint_policy_definitions_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_service_endpoint_policy_definitions_operations.py @@ -113,8 +113,8 @@ def begin_delete( :type service_endpoint_policy_definition_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -313,8 +313,8 @@ def begin_create_or_update( :type service_endpoint_policy_definitions: ~azure.mgmt.network.v2020_11_01.models.ServiceEndpointPolicyDefinition :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ServiceEndpointPolicyDefinition or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_subnets_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_subnets_operations.py index 25ec2ff85ac9..518c2bf04713 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_subnets_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_subnets_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type subnet_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -313,8 +313,8 @@ def begin_create_or_update( :type subnet_parameters: ~azure.mgmt.network.v2020_11_01.models.Subnet :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either Subnet or the result of cls(response) @@ -444,8 +444,8 @@ def begin_prepare_network_policies( :type prepare_network_policies_request_parameters: ~azure.mgmt.network.v2020_11_01.models.PrepareNetworkPoliciesRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -572,8 +572,8 @@ def begin_unprepare_network_policies( :type unprepare_network_policies_request_parameters: ~azure.mgmt.network.v2020_11_01.models.UnprepareNetworkPoliciesRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_virtual_appliance_sites_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_virtual_appliance_sites_operations.py index 0609caf21ee4..48c71f340583 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_virtual_appliance_sites_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_virtual_appliance_sites_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type site_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -309,8 +309,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_11_01.models.VirtualApplianceSite :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualApplianceSite or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_virtual_hub_bgp_connection_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_virtual_hub_bgp_connection_operations.py index d38b387d5bc1..ad8a0e70e470 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_virtual_hub_bgp_connection_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_virtual_hub_bgp_connection_operations.py @@ -191,8 +191,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_11_01.models.BgpConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either BgpConnection or the result of cls(response) @@ -312,8 +312,8 @@ def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_virtual_hub_bgp_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_virtual_hub_bgp_connections_operations.py index 1f88412e9035..3c65ae731b01 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_virtual_hub_bgp_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_virtual_hub_bgp_connections_operations.py @@ -192,8 +192,8 @@ def begin_list_learned_routes( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PeerRouteList or the result of cls(response) @@ -317,8 +317,8 @@ def begin_list_advertised_routes( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either PeerRouteList or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_virtual_hub_ip_configuration_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_virtual_hub_ip_configuration_operations.py index 294b7cddfa2b..45801d164063 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_virtual_hub_ip_configuration_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_virtual_hub_ip_configuration_operations.py @@ -192,8 +192,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_11_01.models.HubIpConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either HubIpConfiguration or the result of cls(response) @@ -313,8 +313,8 @@ def begin_delete( :type ip_config_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_virtual_hub_route_table_v2_s_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_virtual_hub_route_table_v2_s_operations.py index 6e882b035a6c..60b763b506ef 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_virtual_hub_route_table_v2_s_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_virtual_hub_route_table_v2_s_operations.py @@ -100,7 +100,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualHubRouteTableV2', pipeline_response) @@ -157,7 +157,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -195,8 +195,8 @@ def begin_create_or_update( :type virtual_hub_route_table_v2_parameters: ~azure.mgmt.network.v2020_11_01.models.VirtualHubRouteTableV2 :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualHubRouteTableV2 or the result of cls(response) @@ -291,7 +291,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -317,8 +317,8 @@ def begin_delete( :type route_table_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_virtual_hubs_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_virtual_hubs_operations.py index 641f0d175387..fa2862658cb2 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_virtual_hubs_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_virtual_hubs_operations.py @@ -182,8 +182,8 @@ def begin_create_or_update( :type virtual_hub_parameters: ~azure.mgmt.network.v2020_11_01.models.VirtualHub :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualHub or the result of cls(response) @@ -363,8 +363,8 @@ def begin_delete( :type virtual_hub_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -624,8 +624,8 @@ def begin_get_effective_virtual_hub_routes( :type effective_routes_parameters: ~azure.mgmt.network.v2020_11_01.models.EffectiveRoutesParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_virtual_network_gateway_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_virtual_network_gateway_connections_operations.py index 0d0ccf269226..7fbfcc57bca3 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_virtual_network_gateway_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_virtual_network_gateway_connections_operations.py @@ -125,8 +125,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_11_01.models.VirtualNetworkGatewayConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -300,8 +300,8 @@ def begin_delete( :type virtual_network_gateway_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -425,8 +425,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2020_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) @@ -558,8 +558,8 @@ def begin_set_shared_key( :type parameters: ~azure.mgmt.network.v2020_11_01.models.ConnectionSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionSharedKey or the result of cls(response) @@ -823,8 +823,8 @@ def begin_reset_shared_key( :type parameters: ~azure.mgmt.network.v2020_11_01.models.ConnectionResetSharedKey :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either ConnectionResetSharedKey or the result of cls(response) @@ -924,7 +924,7 @@ def _start_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -957,8 +957,8 @@ def begin_start_packet_capture( :type parameters: ~azure.mgmt.network.v2020_11_01.models.VpnPacketCaptureStartParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1055,7 +1055,7 @@ def _stop_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -1088,8 +1088,8 @@ def begin_stop_packet_capture( :type parameters: ~azure.mgmt.network.v2020_11_01.models.VpnPacketCaptureStopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1180,7 +1180,7 @@ def _get_ike_sas_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -1210,8 +1210,8 @@ def begin_get_ike_sas( :type virtual_network_gateway_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1301,7 +1301,7 @@ def _reset_connection_initial( if response.status_code not in [202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -1325,8 +1325,8 @@ def begin_reset_connection( :type virtual_network_gateway_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_virtual_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_virtual_network_gateways_operations.py index 9526629ea483..649595a8a313 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_virtual_network_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_virtual_network_gateways_operations.py @@ -123,8 +123,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_11_01.models.VirtualNetworkGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -296,8 +296,8 @@ def begin_delete( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -420,8 +420,8 @@ def begin_update_tags( :type parameters: ~azure.mgmt.network.v2020_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -692,8 +692,8 @@ def begin_reset( :type gateway_vip: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) @@ -807,8 +807,8 @@ def begin_reset_vpn_client_shared_key( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -933,8 +933,8 @@ def begin_generatevpnclientpackage( :type parameters: ~azure.mgmt.network.v2020_11_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1063,8 +1063,8 @@ def begin_generate_vpn_profile( :type parameters: ~azure.mgmt.network.v2020_11_01.models.VpnClientParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1183,8 +1183,8 @@ def begin_get_vpn_profile_package_url( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -1307,8 +1307,8 @@ def begin_get_bgp_peer_status( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either BgpPeerStatusListResult or the result of cls(response) @@ -1486,8 +1486,8 @@ def begin_get_learned_routes( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1610,8 +1610,8 @@ def begin_get_advertised_routes( :type peer: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either GatewayRouteListResult or the result of cls(response) @@ -1740,8 +1740,8 @@ def begin_set_vpnclient_ipsec_parameters( :type vpnclient_ipsec_params: ~azure.mgmt.network.v2020_11_01.models.VpnClientIPsecParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnClientIPsecParameters or the result of cls(response) @@ -1859,8 +1859,8 @@ def begin_get_vpnclient_ipsec_parameters( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnClientIPsecParameters or the result of cls(response) @@ -2027,7 +2027,7 @@ def _start_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -2059,8 +2059,8 @@ def begin_start_packet_capture( :type parameters: ~azure.mgmt.network.v2020_11_01.models.VpnPacketCaptureStartParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -2157,7 +2157,7 @@ def _stop_packet_capture_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -2189,8 +2189,8 @@ def begin_stop_packet_capture( :type parameters: ~azure.mgmt.network.v2020_11_01.models.VpnPacketCaptureStopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -2309,8 +2309,8 @@ def begin_get_vpnclient_connection_health( :type virtual_network_gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnClientConnectionHealthDetailListResult or the result of cls(response) @@ -2431,8 +2431,8 @@ def begin_disconnect_virtual_network_gateway_vpn_connections( :type request: ~azure.mgmt.network.v2020_11_01.models.P2SVpnConnectionRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_virtual_network_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_virtual_network_peerings_operations.py index ab26035d7fde..1c2db5343cc5 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_virtual_network_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_virtual_network_peerings_operations.py @@ -112,8 +112,8 @@ def begin_delete( :type virtual_network_peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -309,8 +309,8 @@ def begin_create_or_update( :type virtual_network_peering_parameters: ~azure.mgmt.network.v2020_11_01.models.VirtualNetworkPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkPeering or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_virtual_network_taps_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_virtual_network_taps_operations.py index 4915c28b2ea5..d99ab868d69c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_virtual_network_taps_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_virtual_network_taps_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type tap_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -292,8 +292,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_11_01.models.VirtualNetworkTap :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetworkTap or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_virtual_networks_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_virtual_networks_operations.py index ee9b5a30dc6c..a713d2d0c07b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_virtual_networks_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_virtual_networks_operations.py @@ -107,8 +107,8 @@ def begin_delete( :type virtual_network_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -297,8 +297,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_11_01.models.VirtualNetwork :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualNetwork or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_virtual_router_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_virtual_router_peerings_operations.py index df1751ed6ca4..71b757472aca 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_virtual_router_peerings_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_virtual_router_peerings_operations.py @@ -87,7 +87,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -113,8 +113,8 @@ def begin_delete( :type peering_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -218,7 +218,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualRouterPeering', pipeline_response) @@ -275,7 +275,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -312,8 +312,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_11_01.models.VirtualRouterPeering :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualRouterPeering or the result of cls(response) @@ -433,7 +433,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_virtual_routers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_virtual_routers_operations.py index 41084b240036..66cc3f072f0e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_virtual_routers_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_virtual_routers_operations.py @@ -85,7 +85,7 @@ def _delete_initial( if response.status_code not in [200, 202, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -108,8 +108,8 @@ def begin_delete( :type virtual_router_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -212,7 +212,7 @@ def get( if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = self._deserialize('VirtualRouter', pipeline_response) @@ -267,7 +267,7 @@ def _create_or_update_initial( if response.status_code not in [200, 201]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if response.status_code == 200: @@ -300,8 +300,8 @@ def begin_create_or_update( :type parameters: ~azure.mgmt.network.v2020_11_01.models.VirtualRouter :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualRouter or the result of cls(response) @@ -415,7 +415,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) @@ -483,7 +483,7 @@ def get_next(next_link=None): response = pipeline_response.http_response if response.status_code not in [200]: - error = self._deserialize(_models.Error, response) + error = self._deserialize.failsafe_deserialize(_models.Error, response) map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_virtual_wans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_virtual_wans_operations.py index ed32386b3af4..3b61efd08f88 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_virtual_wans_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_virtual_wans_operations.py @@ -182,8 +182,8 @@ def begin_create_or_update( :type wan_parameters: ~azure.mgmt.network.v2020_11_01.models.VirtualWAN :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VirtualWAN or the result of cls(response) @@ -363,8 +363,8 @@ def begin_delete( :type virtual_wan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_vpn_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_vpn_connections_operations.py index bd8be36cde49..0d228bb0920f 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_vpn_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_vpn_connections_operations.py @@ -192,8 +192,8 @@ def begin_create_or_update( :type vpn_connection_parameters: ~azure.mgmt.network.v2020_11_01.models.VpnConnection :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnConnection or the result of cls(response) @@ -313,8 +313,8 @@ def begin_delete( :type connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -448,8 +448,8 @@ def begin_start_packet_capture( :type parameters: ~azure.mgmt.network.v2020_11_01.models.VpnConnectionPacketCaptureStartParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -587,8 +587,8 @@ def begin_stop_packet_capture( :type parameters: ~azure.mgmt.network.v2020_11_01.models.VpnConnectionPacketCaptureStopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_vpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_vpn_gateways_operations.py index 5746c2399588..debd828b40f7 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_vpn_gateways_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_vpn_gateways_operations.py @@ -183,8 +183,8 @@ def begin_create_or_update( :type vpn_gateway_parameters: ~azure.mgmt.network.v2020_11_01.models.VpnGateway :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnGateway or the result of cls(response) @@ -311,8 +311,8 @@ def begin_update_tags( :type vpn_gateway_parameters: ~azure.mgmt.network.v2020_11_01.models.TagsObject :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnGateway or the result of cls(response) @@ -425,8 +425,8 @@ def begin_delete( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -540,8 +540,8 @@ def begin_reset( :type gateway_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnGateway or the result of cls(response) @@ -671,8 +671,8 @@ def begin_start_packet_capture( :type parameters: ~azure.mgmt.network.v2020_11_01.models.VpnGatewayPacketCaptureStartParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) @@ -803,8 +803,8 @@ def begin_stop_packet_capture( :type parameters: ~azure.mgmt.network.v2020_11_01.models.VpnGatewayPacketCaptureStopParameters :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_vpn_link_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_vpn_link_connections_operations.py index f9966565e575..c4dbe8669b1e 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_vpn_link_connections_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_vpn_link_connections_operations.py @@ -89,7 +89,7 @@ def _reset_connection_initial( if response.status_code not in [202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -118,8 +118,8 @@ def begin_reset_connection( :type link_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) @@ -214,7 +214,7 @@ def _get_ike_sas_initial( if response.status_code not in [200, 202]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = self._deserialize(_models.ErrorResponse, response) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) deserialized = None @@ -248,8 +248,8 @@ def begin_get_ike_sas( :type link_connection_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either str or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py index 87b638b0db65..5ac50e71a5c6 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py @@ -112,8 +112,8 @@ def begin_list( :type virtual_wan_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnServerConfigurationsResponse or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_vpn_server_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_vpn_server_configurations_operations.py index 0dea97fc98cb..45b161f72c71 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_vpn_server_configurations_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_vpn_server_configurations_operations.py @@ -185,8 +185,8 @@ def begin_create_or_update( :type vpn_server_configuration_parameters: ~azure.mgmt.network.v2020_11_01.models.VpnServerConfiguration :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnServerConfiguration or the result of cls(response) @@ -367,8 +367,8 @@ def begin_delete( :type vpn_server_configuration_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_vpn_sites_configuration_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_vpn_sites_configuration_operations.py index c6109197827e..ec3c67b716a0 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_vpn_sites_configuration_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_vpn_sites_configuration_operations.py @@ -116,8 +116,8 @@ def begin_download( :type request: ~azure.mgmt.network.v2020_11_01.models.GetVpnSitesConfigurationRequest :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_vpn_sites_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_vpn_sites_operations.py index 5dcb3c0e453f..93f4faa55a0d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_vpn_sites_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_vpn_sites_operations.py @@ -182,8 +182,8 @@ def begin_create_or_update( :type vpn_site_parameters: ~azure.mgmt.network.v2020_11_01.models.VpnSite :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either VpnSite or the result of cls(response) @@ -363,8 +363,8 @@ def begin_delete( :type vpn_site_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_web_application_firewall_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_web_application_firewall_policies_operations.py index f34b77a7f62f..a71e016cfcaa 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_web_application_firewall_policies_operations.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_11_01/operations/_web_application_firewall_policies_operations.py @@ -375,8 +375,8 @@ def begin_delete( :type policy_name: str :keyword callable cls: A custom type or function that will be passed the direct response :keyword str continuation_token: A continuation token to restart a poller from a saved state. - :keyword polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. :paramtype polling: bool or ~azure.core.polling.PollingMethod :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. :return: An instance of LROPoller that returns either None or the result of cls(response) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/__init__.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/__init__.py new file mode 100644 index 000000000000..202b38f8e292 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/__init__.py @@ -0,0 +1,16 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from ._network_management_client import NetworkManagementClient +__all__ = ['NetworkManagementClient'] + +try: + from ._patch import patch_sdk # type: ignore + patch_sdk() +except ImportError: + pass diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/_configuration.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/_configuration.py new file mode 100644 index 000000000000..bc5f270f66ac --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/_configuration.py @@ -0,0 +1,69 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from typing import TYPE_CHECKING + +from azure.core.configuration import Configuration +from azure.core.pipeline import policies +from azure.mgmt.core.policies import ARMHttpLoggingPolicy + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any + + from azure.core.credentials import TokenCredential + +VERSION = "unknown" + +class NetworkManagementClientConfiguration(Configuration): + """Configuration for NetworkManagementClient. + + Note that all parameters used to create this instance are saved as instance + attributes. + + :param credential: Credential needed for the client to connect to Azure. + :type credential: ~azure.core.credentials.TokenCredential + :param subscription_id: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + :type subscription_id: str + """ + + def __init__( + self, + credential, # type: "TokenCredential" + subscription_id, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + if credential is None: + raise ValueError("Parameter 'credential' must not be None.") + if subscription_id is None: + raise ValueError("Parameter 'subscription_id' must not be None.") + super(NetworkManagementClientConfiguration, self).__init__(**kwargs) + + self.credential = credential + self.subscription_id = subscription_id + self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) + kwargs.setdefault('sdk_moniker', 'mgmt-network/{}'.format(VERSION)) + self._configure(**kwargs) + + def _configure( + self, + **kwargs # type: Any + ): + # type: (...) -> None + self.user_agent_policy = kwargs.get('user_agent_policy') or policies.UserAgentPolicy(**kwargs) + self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs) + self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs) + self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs) + self.http_logging_policy = kwargs.get('http_logging_policy') or ARMHttpLoggingPolicy(**kwargs) + self.retry_policy = kwargs.get('retry_policy') or policies.RetryPolicy(**kwargs) + self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs) + self.redirect_policy = kwargs.get('redirect_policy') or policies.RedirectPolicy(**kwargs) + self.authentication_policy = kwargs.get('authentication_policy') + if self.credential and not self.authentication_policy: + self.authentication_policy = policies.BearerTokenCredentialPolicy(self.credential, *self.credential_scopes, **kwargs) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/_metadata.json b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/_metadata.json new file mode 100644 index 000000000000..0ea2c7690a33 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/_metadata.json @@ -0,0 +1,359 @@ +{ + "chosen_version": "2021-02-01", + "total_api_version_list": ["2018-10-01", "2021-02-01"], + "client": { + "name": "NetworkManagementClient", + "filename": "_network_management_client", + "description": "Network Client.", + "base_url": "\u0027https://management.azure.com\u0027", + "custom_base_url": null, + "azure_arm": true, + "has_lro_operations": true, + "client_side_validation": false, + "sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"NetworkManagementClientConfiguration\"], \"._operations_mixin\": [\"NetworkManagementClientOperationsMixin\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}}}", + "async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"NetworkManagementClientConfiguration\"], \"._operations_mixin\": [\"NetworkManagementClientOperationsMixin\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}" + }, + "global_parameters": { + "sync": { + "credential": { + "signature": "credential, # type: \"TokenCredential\"", + "description": "Credential needed for the client to connect to Azure.", + "docstring_type": "~azure.core.credentials.TokenCredential", + "required": true + }, + "subscription_id": { + "signature": "subscription_id, # type: str", + "description": "The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.", + "docstring_type": "str", + "required": true + } + }, + "async": { + "credential": { + "signature": "credential: \"AsyncTokenCredential\",", + "description": "Credential needed for the client to connect to Azure.", + "docstring_type": "~azure.core.credentials_async.AsyncTokenCredential", + "required": true + }, + "subscription_id": { + "signature": "subscription_id: str,", + "description": "The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.", + "docstring_type": "str", + "required": true + } + }, + "constant": { + }, + "call": "credential, subscription_id", + "service_client_specific": { + "sync": { + "api_version": { + "signature": "api_version=None, # type: Optional[str]", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url=None, # type: Optional[str]", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile=KnownProfiles.default, # type: KnownProfiles", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + }, + "async": { + "api_version": { + "signature": "api_version: Optional[str] = None,", + "description": "API version to use if no profile is provided, or if missing in profile.", + "docstring_type": "str", + "required": false + }, + "base_url": { + "signature": "base_url: Optional[str] = None,", + "description": "Service URL", + "docstring_type": "str", + "required": false + }, + "profile": { + "signature": "profile: KnownProfiles = KnownProfiles.default,", + "description": "A profile definition, from KnownProfiles to dict.", + "docstring_type": "azure.profiles.KnownProfiles", + "required": false + } + } + } + }, + "config": { + "credential": true, + "credential_scopes": ["https://management.azure.com/.default"], + "credential_default_policy_type": "BearerTokenCredentialPolicy", + "credential_default_policy_type_has_async_version": true, + "credential_key_header_name": null, + "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMHttpLoggingPolicy\"]}, \"local\": {\"._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}}", + "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMHttpLoggingPolicy\"]}, \"local\": {\".._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}}" + }, + "operation_groups": { + "application_gateways": "ApplicationGatewaysOperations", + "application_gateway_private_link_resources": "ApplicationGatewayPrivateLinkResourcesOperations", + "application_gateway_private_endpoint_connections": "ApplicationGatewayPrivateEndpointConnectionsOperations", + "application_security_groups": "ApplicationSecurityGroupsOperations", + "available_delegations": "AvailableDelegationsOperations", + "available_resource_group_delegations": "AvailableResourceGroupDelegationsOperations", + "available_service_aliases": "AvailableServiceAliasesOperations", + "azure_firewalls": "AzureFirewallsOperations", + "azure_firewall_fqdn_tags": "AzureFirewallFqdnTagsOperations", + "web_categories": "WebCategoriesOperations", + "bastion_hosts": "BastionHostsOperations", + "network_interfaces": "NetworkInterfacesOperations", + "public_ip_addresses": "PublicIPAddressesOperations", + "custom_ip_prefixes": "CustomIPPrefixesOperations", + "ddos_custom_policies": "DdosCustomPoliciesOperations", + "ddos_protection_plans": "DdosProtectionPlansOperations", + "dscp_configuration": "DscpConfigurationOperations", + "available_endpoint_services": "AvailableEndpointServicesOperations", + "express_route_circuit_authorizations": "ExpressRouteCircuitAuthorizationsOperations", + "express_route_circuit_peerings": "ExpressRouteCircuitPeeringsOperations", + "express_route_circuit_connections": "ExpressRouteCircuitConnectionsOperations", + "peer_express_route_circuit_connections": "PeerExpressRouteCircuitConnectionsOperations", + "express_route_circuits": "ExpressRouteCircuitsOperations", + "express_route_service_providers": "ExpressRouteServiceProvidersOperations", + "express_route_cross_connections": "ExpressRouteCrossConnectionsOperations", + "express_route_cross_connection_peerings": "ExpressRouteCrossConnectionPeeringsOperations", + "express_route_ports_locations": "ExpressRoutePortsLocationsOperations", + "express_route_ports": "ExpressRoutePortsOperations", + "express_route_links": "ExpressRouteLinksOperations", + "firewall_policies": "FirewallPoliciesOperations", + "firewall_policy_rule_collection_groups": "FirewallPolicyRuleCollectionGroupsOperations", + "ip_allocations": "IpAllocationsOperations", + "ip_groups": "IpGroupsOperations", + "load_balancers": "LoadBalancersOperations", + "load_balancer_backend_address_pools": "LoadBalancerBackendAddressPoolsOperations", + "load_balancer_frontend_ip_configurations": "LoadBalancerFrontendIPConfigurationsOperations", + "inbound_nat_rules": "InboundNatRulesOperations", + "load_balancer_load_balancing_rules": "LoadBalancerLoadBalancingRulesOperations", + "load_balancer_outbound_rules": "LoadBalancerOutboundRulesOperations", + "load_balancer_network_interfaces": "LoadBalancerNetworkInterfacesOperations", + "load_balancer_probes": "LoadBalancerProbesOperations", + "nat_gateways": "NatGatewaysOperations", + "network_interface_ip_configurations": "NetworkInterfaceIPConfigurationsOperations", + "network_interface_load_balancers": "NetworkInterfaceLoadBalancersOperations", + "network_interface_tap_configurations": "NetworkInterfaceTapConfigurationsOperations", + "network_profiles": "NetworkProfilesOperations", + "network_security_groups": "NetworkSecurityGroupsOperations", + "security_rules": "SecurityRulesOperations", + "default_security_rules": "DefaultSecurityRulesOperations", + "network_virtual_appliances": "NetworkVirtualAppliancesOperations", + "virtual_appliance_sites": "VirtualApplianceSitesOperations", + "virtual_appliance_skus": "VirtualApplianceSkusOperations", + "inbound_security_rule": "InboundSecurityRuleOperations", + "network_watchers": "NetworkWatchersOperations", + "packet_captures": "PacketCapturesOperations", + "connection_monitors": "ConnectionMonitorsOperations", + "flow_logs": "FlowLogsOperations", + "operations": "Operations", + "private_endpoints": "PrivateEndpointsOperations", + "available_private_endpoint_types": "AvailablePrivateEndpointTypesOperations", + "private_dns_zone_groups": "PrivateDnsZoneGroupsOperations", + "private_link_services": "PrivateLinkServicesOperations", + "public_ip_prefixes": "PublicIPPrefixesOperations", + "route_filters": "RouteFiltersOperations", + "route_filter_rules": "RouteFilterRulesOperations", + "route_tables": "RouteTablesOperations", + "routes": "RoutesOperations", + "security_partner_providers": "SecurityPartnerProvidersOperations", + "bgp_service_communities": "BgpServiceCommunitiesOperations", + "service_endpoint_policies": "ServiceEndpointPoliciesOperations", + "service_endpoint_policy_definitions": "ServiceEndpointPolicyDefinitionsOperations", + "service_tags": "ServiceTagsOperations", + "usages": "UsagesOperations", + "virtual_networks": "VirtualNetworksOperations", + "subnets": "SubnetsOperations", + "resource_navigation_links": "ResourceNavigationLinksOperations", + "service_association_links": "ServiceAssociationLinksOperations", + "virtual_network_peerings": "VirtualNetworkPeeringsOperations", + "virtual_network_gateways": "VirtualNetworkGatewaysOperations", + "virtual_network_gateway_connections": "VirtualNetworkGatewayConnectionsOperations", + "local_network_gateways": "LocalNetworkGatewaysOperations", + "virtual_network_gateway_nat_rules": "VirtualNetworkGatewayNatRulesOperations", + "virtual_network_taps": "VirtualNetworkTapsOperations", + "virtual_routers": "VirtualRoutersOperations", + "virtual_router_peerings": "VirtualRouterPeeringsOperations", + "virtual_wans": "VirtualWansOperations", + "vpn_sites": "VpnSitesOperations", + "vpn_site_links": "VpnSiteLinksOperations", + "vpn_sites_configuration": "VpnSitesConfigurationOperations", + "vpn_server_configurations": "VpnServerConfigurationsOperations", + "virtual_hubs": "VirtualHubsOperations", + "hub_virtual_network_connections": "HubVirtualNetworkConnectionsOperations", + "vpn_gateways": "VpnGatewaysOperations", + "vpn_link_connections": "VpnLinkConnectionsOperations", + "vpn_connections": "VpnConnectionsOperations", + "vpn_site_link_connections": "VpnSiteLinkConnectionsOperations", + "nat_rules": "NatRulesOperations", + "p2_svpn_gateways": "P2SVpnGatewaysOperations", + "vpn_server_configurations_associated_with_virtual_wan": "VpnServerConfigurationsAssociatedWithVirtualWanOperations", + "virtual_hub_route_table_v2_s": "VirtualHubRouteTableV2SOperations", + "express_route_gateways": "ExpressRouteGatewaysOperations", + "express_route_connections": "ExpressRouteConnectionsOperations", + "virtual_hub_bgp_connection": "VirtualHubBgpConnectionOperations", + "virtual_hub_bgp_connections": "VirtualHubBgpConnectionsOperations", + "virtual_hub_ip_configuration": "VirtualHubIpConfigurationOperations", + "hub_route_tables": "HubRouteTablesOperations", + "web_application_firewall_policies": "WebApplicationFirewallPoliciesOperations" + }, + "operation_mixins": { + "sync_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"], \"azure.core.polling\": [\"LROPoller\", \"NoPolling\", \"PollingMethod\"], \"azure.mgmt.core.polling.arm_polling\": [\"ARMPolling\"], \"azure.core.paging\": [\"ItemPaged\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Callable\", \"Dict\", \"Generic\", \"Iterable\", \"Optional\", \"TypeVar\", \"Union\"]}}}", + "async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.exceptions\": [\"ClientAuthenticationError\", \"HttpResponseError\", \"ResourceExistsError\", \"ResourceNotFoundError\", \"map_error\"], \"azure.mgmt.core.exceptions\": [\"ARMErrorFormat\"], \"azure.core.pipeline\": [\"PipelineResponse\"], \"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"], \"azure.core.polling\": [\"AsyncLROPoller\", \"AsyncNoPolling\", \"AsyncPollingMethod\"], \"azure.mgmt.core.polling.async_arm_polling\": [\"AsyncARMPolling\"], \"azure.core.async_paging\": [\"AsyncItemPaged\", \"AsyncList\"]}, \"stdlib\": {\"warnings\": [null]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"AsyncIterable\", \"Callable\", \"Dict\", \"Generic\", \"Optional\", \"TypeVar\", \"Union\"]}}}", + "operations": { + "_put_bastion_shareable_link_initial" : { + "sync": { + "signature": "def _put_bastion_shareable_link_initial(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2021_02_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionShareableLinkListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2021_02_01.models.BastionShareableLinkListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def _put_bastion_shareable_link_initial(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e Optional[\"_models.BastionShareableLinkListResult\"]:\n", + "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2021_02_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionShareableLinkListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2021_02_01.models.BastionShareableLinkListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "resource_group_name, bastion_host_name, bsl_request" + }, + "begin_put_bastion_shareable_link" : { + "sync": { + "signature": "def begin_put_bastion_shareable_link(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Creates a Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2021_02_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the ARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns an iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.BastionShareableLinkListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "async": { + "coroutine": false, + "signature": "def begin_put_bastion_shareable_link(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e AsyncLROPoller[AsyncItemPaged[\"_models.BastionShareableLinkListResult\"]]:\n", + "doc": "\"\"\"Creates a Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2021_02_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the AsyncARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns an iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.BastionShareableLinkListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "call": "resource_group_name, bastion_host_name, bsl_request" + }, + "_delete_bastion_shareable_link_initial" : { + "sync": { + "signature": "def _delete_bastion_shareable_link_initial(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2021_02_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def _delete_bastion_shareable_link_initial(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e None:\n", + "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2021_02_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: None, or the result of cls(response)\n:rtype: None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "resource_group_name, bastion_host_name, bsl_request" + }, + "begin_delete_bastion_shareable_link" : { + "sync": { + "signature": "def begin_delete_bastion_shareable_link(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Deletes the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2021_02_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the ARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def begin_delete_bastion_shareable_link(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e AsyncLROPoller[None]:\n", + "doc": "\"\"\"Deletes the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2021_02_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the AsyncARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns either None or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[None]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "call": "resource_group_name, bastion_host_name, bsl_request" + }, + "get_bastion_shareable_link" : { + "sync": { + "signature": "def get_bastion_shareable_link(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n bsl_request, # type: \"_models.BastionShareableLinkListRequest\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Return the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2021_02_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.BastionShareableLinkListResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": false, + "signature": "def get_bastion_shareable_link(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n bsl_request: \"_models.BastionShareableLinkListRequest\",\n **kwargs\n) -\u003e AsyncItemPaged[\"_models.BastionShareableLinkListResult\"]:\n", + "doc": "\"\"\"Return the Bastion Shareable Links for all the VMs specified in the request.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param bsl_request: Post request for all the Bastion Shareable Link endpoints.\n:type bsl_request: ~azure.mgmt.network.v2021_02_01.models.BastionShareableLinkListRequest\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionShareableLinkListResult or the result of cls(response)\n:rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.BastionShareableLinkListResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "resource_group_name, bastion_host_name, bsl_request" + }, + "_get_active_sessions_initial" : { + "sync": { + "signature": "def _get_active_sessions_initial(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionActiveSessionListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2021_02_01.models.BastionActiveSessionListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def _get_active_sessions_initial(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n **kwargs\n) -\u003e Optional[\"_models.BastionActiveSessionListResult\"]:\n", + "doc": "\"\"\"\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: BastionActiveSessionListResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2021_02_01.models.BastionActiveSessionListResult or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "resource_group_name, bastion_host_name" + }, + "begin_get_active_sessions" : { + "sync": { + "signature": "def begin_get_active_sessions(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the ARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns an iterator like instance of either BastionActiveSessionListResult or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.BastionActiveSessionListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "async": { + "coroutine": false, + "signature": "def begin_get_active_sessions(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n **kwargs\n) -\u003e AsyncLROPoller[AsyncItemPaged[\"_models.BastionActiveSessionListResult\"]]:\n", + "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the AsyncARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns an iterator like instance of either BastionActiveSessionListResult or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.BastionActiveSessionListResult]]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "call": "resource_group_name, bastion_host_name" + }, + "disconnect_active_sessions" : { + "sync": { + "signature": "def disconnect_active_sessions(\n self,\n resource_group_name, # type: str\n bastion_host_name, # type: str\n session_ids, # type: \"_models.SessionIds\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param session_ids: The list of sessionids to disconnect.\n:type session_ids: ~azure.mgmt.network.v2021_02_01.models.SessionIds\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionSessionDeleteResult or the result of cls(response)\n:rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.BastionSessionDeleteResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": false, + "signature": "def disconnect_active_sessions(\n self,\n resource_group_name: str,\n bastion_host_name: str,\n session_ids: \"_models.SessionIds\",\n **kwargs\n) -\u003e AsyncItemPaged[\"_models.BastionSessionDeleteResult\"]:\n", + "doc": "\"\"\"Returns the list of currently active sessions on the Bastion.\n\n:param resource_group_name: The name of the resource group.\n:type resource_group_name: str\n:param bastion_host_name: The name of the Bastion Host.\n:type bastion_host_name: str\n:param session_ids: The list of sessionids to disconnect.\n:type session_ids: ~azure.mgmt.network.v2021_02_01.models.SessionIds\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: An iterator like instance of either BastionSessionDeleteResult or the result of cls(response)\n:rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.BastionSessionDeleteResult]\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "resource_group_name, bastion_host_name, session_ids" + }, + "check_dns_name_availability" : { + "sync": { + "signature": "def check_dns_name_availability(\n self,\n location, # type: str\n domain_name_label, # type: str\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2021_02_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def check_dns_name_availability(\n self,\n location: str,\n domain_name_label: str,\n **kwargs\n) -\u003e \"_models.DnsNameAvailabilityResult\":\n", + "doc": "\"\"\"Checks whether a domain name in the cloudapp.azure.com zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2021_02_01.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "location, domain_name_label" + }, + "supported_security_providers" : { + "sync": { + "signature": "def supported_security_providers(\n self,\n resource_group_name, # type: str\n virtual_wan_name, # type: str\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Gives the supported security providers for the virtual wan.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN for which supported security providers are\n needed.\n:type virtual_wan_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VirtualWanSecurityProviders, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2021_02_01.models.VirtualWanSecurityProviders\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def supported_security_providers(\n self,\n resource_group_name: str,\n virtual_wan_name: str,\n **kwargs\n) -\u003e \"_models.VirtualWanSecurityProviders\":\n", + "doc": "\"\"\"Gives the supported security providers for the virtual wan.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN for which supported security providers are\n needed.\n:type virtual_wan_name: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VirtualWanSecurityProviders, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2021_02_01.models.VirtualWanSecurityProviders\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "resource_group_name, virtual_wan_name" + }, + "_generatevirtualwanvpnserverconfigurationvpnprofile_initial" : { + "sync": { + "signature": "def _generatevirtualwanvpnserverconfigurationvpnprofile_initial(\n self,\n resource_group_name, # type: str\n virtual_wan_name, # type: str\n vpn_client_params, # type: \"_models.VirtualWanVpnProfileParameters\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2021_02_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VpnProfileResponse, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2021_02_01.models.VpnProfileResponse or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def _generatevirtualwanvpnserverconfigurationvpnprofile_initial(\n self,\n resource_group_name: str,\n virtual_wan_name: str,\n vpn_client_params: \"_models.VirtualWanVpnProfileParameters\",\n **kwargs\n) -\u003e Optional[\"_models.VpnProfileResponse\"]:\n", + "doc": "\"\"\"\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2021_02_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: VpnProfileResponse, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2021_02_01.models.VpnProfileResponse or None\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\"" + }, + "call": "resource_group_name, virtual_wan_name, vpn_client_params" + }, + "begin_generatevirtualwanvpnserverconfigurationvpnprofile" : { + "sync": { + "signature": "def begin_generatevirtualwanvpnserverconfigurationvpnprofile(\n self,\n resource_group_name, # type: str\n virtual_wan_name, # type: str\n vpn_client_params, # type: \"_models.VirtualWanVpnProfileParameters\"\n **kwargs # type: Any\n):\n", + "doc": "\"\"\"Generates a unique VPN profile for P2S clients for VirtualWan and associated\nVpnServerConfiguration combination in the specified resource group.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2021_02_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the ARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.PollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of LROPoller that returns either VpnProfileResponse or the result of cls(response)\n:rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.VpnProfileResponse]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "async": { + "coroutine": true, + "signature": "async def begin_generatevirtualwanvpnserverconfigurationvpnprofile(\n self,\n resource_group_name: str,\n virtual_wan_name: str,\n vpn_client_params: \"_models.VirtualWanVpnProfileParameters\",\n **kwargs\n) -\u003e AsyncLROPoller[\"_models.VpnProfileResponse\"]:\n", + "doc": "\"\"\"Generates a unique VPN profile for P2S clients for VirtualWan and associated\nVpnServerConfiguration combination in the specified resource group.\n\n:param resource_group_name: The resource group name.\n:type resource_group_name: str\n:param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is\n needed.\n:type virtual_wan_name: str\n:param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation\n operation.\n:type vpn_client_params: ~azure.mgmt.network.v2021_02_01.models.VirtualWanVpnProfileParameters\n:keyword callable cls: A custom type or function that will be passed the direct response\n:keyword str continuation_token: A continuation token to restart a poller from a saved state.\n:keyword polling: Pass in True if you\u0027d like the AsyncARMPolling polling method,\n False for no polling, or your own initialized polling object for a personal polling strategy.\n:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod\n:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.\n:return: An instance of AsyncLROPoller that returns either VpnProfileResponse or the result of cls(response)\n:rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.VpnProfileResponse]\n:raises ~azure.core.exceptions.HttpResponseError:\n\"\"\"" + }, + "call": "resource_group_name, virtual_wan_name, vpn_client_params" + } + } + } +} \ No newline at end of file diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/_network_management_client.py new file mode 100644 index 000000000000..52ed16fabf46 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/_network_management_client.py @@ -0,0 +1,620 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from typing import TYPE_CHECKING + +from azure.mgmt.core import ARMPipelineClient +from msrest import Deserializer, Serializer + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Optional + + from azure.core.credentials import TokenCredential + from azure.core.pipeline.transport import HttpRequest, HttpResponse + +from ._configuration import NetworkManagementClientConfiguration +from .operations import ApplicationGatewaysOperations +from .operations import ApplicationGatewayPrivateLinkResourcesOperations +from .operations import ApplicationGatewayPrivateEndpointConnectionsOperations +from .operations import ApplicationSecurityGroupsOperations +from .operations import AvailableDelegationsOperations +from .operations import AvailableResourceGroupDelegationsOperations +from .operations import AvailableServiceAliasesOperations +from .operations import AzureFirewallsOperations +from .operations import AzureFirewallFqdnTagsOperations +from .operations import WebCategoriesOperations +from .operations import BastionHostsOperations +from .operations import NetworkManagementClientOperationsMixin +from .operations import NetworkInterfacesOperations +from .operations import PublicIPAddressesOperations +from .operations import CustomIPPrefixesOperations +from .operations import DdosCustomPoliciesOperations +from .operations import DdosProtectionPlansOperations +from .operations import DscpConfigurationOperations +from .operations import AvailableEndpointServicesOperations +from .operations import ExpressRouteCircuitAuthorizationsOperations +from .operations import ExpressRouteCircuitPeeringsOperations +from .operations import ExpressRouteCircuitConnectionsOperations +from .operations import PeerExpressRouteCircuitConnectionsOperations +from .operations import ExpressRouteCircuitsOperations +from .operations import ExpressRouteServiceProvidersOperations +from .operations import ExpressRouteCrossConnectionsOperations +from .operations import ExpressRouteCrossConnectionPeeringsOperations +from .operations import ExpressRoutePortsLocationsOperations +from .operations import ExpressRoutePortsOperations +from .operations import ExpressRouteLinksOperations +from .operations import FirewallPoliciesOperations +from .operations import FirewallPolicyRuleCollectionGroupsOperations +from .operations import IpAllocationsOperations +from .operations import IpGroupsOperations +from .operations import LoadBalancersOperations +from .operations import LoadBalancerBackendAddressPoolsOperations +from .operations import LoadBalancerFrontendIPConfigurationsOperations +from .operations import InboundNatRulesOperations +from .operations import LoadBalancerLoadBalancingRulesOperations +from .operations import LoadBalancerOutboundRulesOperations +from .operations import LoadBalancerNetworkInterfacesOperations +from .operations import LoadBalancerProbesOperations +from .operations import NatGatewaysOperations +from .operations import NetworkInterfaceIPConfigurationsOperations +from .operations import NetworkInterfaceLoadBalancersOperations +from .operations import NetworkInterfaceTapConfigurationsOperations +from .operations import NetworkProfilesOperations +from .operations import NetworkSecurityGroupsOperations +from .operations import SecurityRulesOperations +from .operations import DefaultSecurityRulesOperations +from .operations import NetworkVirtualAppliancesOperations +from .operations import VirtualApplianceSitesOperations +from .operations import VirtualApplianceSkusOperations +from .operations import InboundSecurityRuleOperations +from .operations import NetworkWatchersOperations +from .operations import PacketCapturesOperations +from .operations import ConnectionMonitorsOperations +from .operations import FlowLogsOperations +from .operations import Operations +from .operations import PrivateEndpointsOperations +from .operations import AvailablePrivateEndpointTypesOperations +from .operations import PrivateDnsZoneGroupsOperations +from .operations import PrivateLinkServicesOperations +from .operations import PublicIPPrefixesOperations +from .operations import RouteFiltersOperations +from .operations import RouteFilterRulesOperations +from .operations import RouteTablesOperations +from .operations import RoutesOperations +from .operations import SecurityPartnerProvidersOperations +from .operations import BgpServiceCommunitiesOperations +from .operations import ServiceEndpointPoliciesOperations +from .operations import ServiceEndpointPolicyDefinitionsOperations +from .operations import ServiceTagsOperations +from .operations import UsagesOperations +from .operations import VirtualNetworksOperations +from .operations import SubnetsOperations +from .operations import ResourceNavigationLinksOperations +from .operations import ServiceAssociationLinksOperations +from .operations import VirtualNetworkPeeringsOperations +from .operations import VirtualNetworkGatewaysOperations +from .operations import VirtualNetworkGatewayConnectionsOperations +from .operations import LocalNetworkGatewaysOperations +from .operations import VirtualNetworkGatewayNatRulesOperations +from .operations import VirtualNetworkTapsOperations +from .operations import VirtualRoutersOperations +from .operations import VirtualRouterPeeringsOperations +from .operations import VirtualWansOperations +from .operations import VpnSitesOperations +from .operations import VpnSiteLinksOperations +from .operations import VpnSitesConfigurationOperations +from .operations import VpnServerConfigurationsOperations +from .operations import VirtualHubsOperations +from .operations import HubVirtualNetworkConnectionsOperations +from .operations import VpnGatewaysOperations +from .operations import VpnLinkConnectionsOperations +from .operations import VpnConnectionsOperations +from .operations import VpnSiteLinkConnectionsOperations +from .operations import NatRulesOperations +from .operations import P2SVpnGatewaysOperations +from .operations import VpnServerConfigurationsAssociatedWithVirtualWanOperations +from .operations import VirtualHubRouteTableV2SOperations +from .operations import ExpressRouteGatewaysOperations +from .operations import ExpressRouteConnectionsOperations +from .operations import VirtualHubBgpConnectionOperations +from .operations import VirtualHubBgpConnectionsOperations +from .operations import VirtualHubIpConfigurationOperations +from .operations import HubRouteTablesOperations +from .operations import WebApplicationFirewallPoliciesOperations +from . import models + + +class NetworkManagementClient(NetworkManagementClientOperationsMixin): + """Network Client. + + :ivar application_gateways: ApplicationGatewaysOperations operations + :vartype application_gateways: azure.mgmt.network.v2021_02_01.operations.ApplicationGatewaysOperations + :ivar application_gateway_private_link_resources: ApplicationGatewayPrivateLinkResourcesOperations operations + :vartype application_gateway_private_link_resources: azure.mgmt.network.v2021_02_01.operations.ApplicationGatewayPrivateLinkResourcesOperations + :ivar application_gateway_private_endpoint_connections: ApplicationGatewayPrivateEndpointConnectionsOperations operations + :vartype application_gateway_private_endpoint_connections: azure.mgmt.network.v2021_02_01.operations.ApplicationGatewayPrivateEndpointConnectionsOperations + :ivar application_security_groups: ApplicationSecurityGroupsOperations operations + :vartype application_security_groups: azure.mgmt.network.v2021_02_01.operations.ApplicationSecurityGroupsOperations + :ivar available_delegations: AvailableDelegationsOperations operations + :vartype available_delegations: azure.mgmt.network.v2021_02_01.operations.AvailableDelegationsOperations + :ivar available_resource_group_delegations: AvailableResourceGroupDelegationsOperations operations + :vartype available_resource_group_delegations: azure.mgmt.network.v2021_02_01.operations.AvailableResourceGroupDelegationsOperations + :ivar available_service_aliases: AvailableServiceAliasesOperations operations + :vartype available_service_aliases: azure.mgmt.network.v2021_02_01.operations.AvailableServiceAliasesOperations + :ivar azure_firewalls: AzureFirewallsOperations operations + :vartype azure_firewalls: azure.mgmt.network.v2021_02_01.operations.AzureFirewallsOperations + :ivar azure_firewall_fqdn_tags: AzureFirewallFqdnTagsOperations operations + :vartype azure_firewall_fqdn_tags: azure.mgmt.network.v2021_02_01.operations.AzureFirewallFqdnTagsOperations + :ivar web_categories: WebCategoriesOperations operations + :vartype web_categories: azure.mgmt.network.v2021_02_01.operations.WebCategoriesOperations + :ivar bastion_hosts: BastionHostsOperations operations + :vartype bastion_hosts: azure.mgmt.network.v2021_02_01.operations.BastionHostsOperations + :ivar network_interfaces: NetworkInterfacesOperations operations + :vartype network_interfaces: azure.mgmt.network.v2021_02_01.operations.NetworkInterfacesOperations + :ivar public_ip_addresses: PublicIPAddressesOperations operations + :vartype public_ip_addresses: azure.mgmt.network.v2021_02_01.operations.PublicIPAddressesOperations + :ivar custom_ip_prefixes: CustomIPPrefixesOperations operations + :vartype custom_ip_prefixes: azure.mgmt.network.v2021_02_01.operations.CustomIPPrefixesOperations + :ivar ddos_custom_policies: DdosCustomPoliciesOperations operations + :vartype ddos_custom_policies: azure.mgmt.network.v2021_02_01.operations.DdosCustomPoliciesOperations + :ivar ddos_protection_plans: DdosProtectionPlansOperations operations + :vartype ddos_protection_plans: azure.mgmt.network.v2021_02_01.operations.DdosProtectionPlansOperations + :ivar dscp_configuration: DscpConfigurationOperations operations + :vartype dscp_configuration: azure.mgmt.network.v2021_02_01.operations.DscpConfigurationOperations + :ivar available_endpoint_services: AvailableEndpointServicesOperations operations + :vartype available_endpoint_services: azure.mgmt.network.v2021_02_01.operations.AvailableEndpointServicesOperations + :ivar express_route_circuit_authorizations: ExpressRouteCircuitAuthorizationsOperations operations + :vartype express_route_circuit_authorizations: azure.mgmt.network.v2021_02_01.operations.ExpressRouteCircuitAuthorizationsOperations + :ivar express_route_circuit_peerings: ExpressRouteCircuitPeeringsOperations operations + :vartype express_route_circuit_peerings: azure.mgmt.network.v2021_02_01.operations.ExpressRouteCircuitPeeringsOperations + :ivar express_route_circuit_connections: ExpressRouteCircuitConnectionsOperations operations + :vartype express_route_circuit_connections: azure.mgmt.network.v2021_02_01.operations.ExpressRouteCircuitConnectionsOperations + :ivar peer_express_route_circuit_connections: PeerExpressRouteCircuitConnectionsOperations operations + :vartype peer_express_route_circuit_connections: azure.mgmt.network.v2021_02_01.operations.PeerExpressRouteCircuitConnectionsOperations + :ivar express_route_circuits: ExpressRouteCircuitsOperations operations + :vartype express_route_circuits: azure.mgmt.network.v2021_02_01.operations.ExpressRouteCircuitsOperations + :ivar express_route_service_providers: ExpressRouteServiceProvidersOperations operations + :vartype express_route_service_providers: azure.mgmt.network.v2021_02_01.operations.ExpressRouteServiceProvidersOperations + :ivar express_route_cross_connections: ExpressRouteCrossConnectionsOperations operations + :vartype express_route_cross_connections: azure.mgmt.network.v2021_02_01.operations.ExpressRouteCrossConnectionsOperations + :ivar express_route_cross_connection_peerings: ExpressRouteCrossConnectionPeeringsOperations operations + :vartype express_route_cross_connection_peerings: azure.mgmt.network.v2021_02_01.operations.ExpressRouteCrossConnectionPeeringsOperations + :ivar express_route_ports_locations: ExpressRoutePortsLocationsOperations operations + :vartype express_route_ports_locations: azure.mgmt.network.v2021_02_01.operations.ExpressRoutePortsLocationsOperations + :ivar express_route_ports: ExpressRoutePortsOperations operations + :vartype express_route_ports: azure.mgmt.network.v2021_02_01.operations.ExpressRoutePortsOperations + :ivar express_route_links: ExpressRouteLinksOperations operations + :vartype express_route_links: azure.mgmt.network.v2021_02_01.operations.ExpressRouteLinksOperations + :ivar firewall_policies: FirewallPoliciesOperations operations + :vartype firewall_policies: azure.mgmt.network.v2021_02_01.operations.FirewallPoliciesOperations + :ivar firewall_policy_rule_collection_groups: FirewallPolicyRuleCollectionGroupsOperations operations + :vartype firewall_policy_rule_collection_groups: azure.mgmt.network.v2021_02_01.operations.FirewallPolicyRuleCollectionGroupsOperations + :ivar ip_allocations: IpAllocationsOperations operations + :vartype ip_allocations: azure.mgmt.network.v2021_02_01.operations.IpAllocationsOperations + :ivar ip_groups: IpGroupsOperations operations + :vartype ip_groups: azure.mgmt.network.v2021_02_01.operations.IpGroupsOperations + :ivar load_balancers: LoadBalancersOperations operations + :vartype load_balancers: azure.mgmt.network.v2021_02_01.operations.LoadBalancersOperations + :ivar load_balancer_backend_address_pools: LoadBalancerBackendAddressPoolsOperations operations + :vartype load_balancer_backend_address_pools: azure.mgmt.network.v2021_02_01.operations.LoadBalancerBackendAddressPoolsOperations + :ivar load_balancer_frontend_ip_configurations: LoadBalancerFrontendIPConfigurationsOperations operations + :vartype load_balancer_frontend_ip_configurations: azure.mgmt.network.v2021_02_01.operations.LoadBalancerFrontendIPConfigurationsOperations + :ivar inbound_nat_rules: InboundNatRulesOperations operations + :vartype inbound_nat_rules: azure.mgmt.network.v2021_02_01.operations.InboundNatRulesOperations + :ivar load_balancer_load_balancing_rules: LoadBalancerLoadBalancingRulesOperations operations + :vartype load_balancer_load_balancing_rules: azure.mgmt.network.v2021_02_01.operations.LoadBalancerLoadBalancingRulesOperations + :ivar load_balancer_outbound_rules: LoadBalancerOutboundRulesOperations operations + :vartype load_balancer_outbound_rules: azure.mgmt.network.v2021_02_01.operations.LoadBalancerOutboundRulesOperations + :ivar load_balancer_network_interfaces: LoadBalancerNetworkInterfacesOperations operations + :vartype load_balancer_network_interfaces: azure.mgmt.network.v2021_02_01.operations.LoadBalancerNetworkInterfacesOperations + :ivar load_balancer_probes: LoadBalancerProbesOperations operations + :vartype load_balancer_probes: azure.mgmt.network.v2021_02_01.operations.LoadBalancerProbesOperations + :ivar nat_gateways: NatGatewaysOperations operations + :vartype nat_gateways: azure.mgmt.network.v2021_02_01.operations.NatGatewaysOperations + :ivar network_interface_ip_configurations: NetworkInterfaceIPConfigurationsOperations operations + :vartype network_interface_ip_configurations: azure.mgmt.network.v2021_02_01.operations.NetworkInterfaceIPConfigurationsOperations + :ivar network_interface_load_balancers: NetworkInterfaceLoadBalancersOperations operations + :vartype network_interface_load_balancers: azure.mgmt.network.v2021_02_01.operations.NetworkInterfaceLoadBalancersOperations + :ivar network_interface_tap_configurations: NetworkInterfaceTapConfigurationsOperations operations + :vartype network_interface_tap_configurations: azure.mgmt.network.v2021_02_01.operations.NetworkInterfaceTapConfigurationsOperations + :ivar network_profiles: NetworkProfilesOperations operations + :vartype network_profiles: azure.mgmt.network.v2021_02_01.operations.NetworkProfilesOperations + :ivar network_security_groups: NetworkSecurityGroupsOperations operations + :vartype network_security_groups: azure.mgmt.network.v2021_02_01.operations.NetworkSecurityGroupsOperations + :ivar security_rules: SecurityRulesOperations operations + :vartype security_rules: azure.mgmt.network.v2021_02_01.operations.SecurityRulesOperations + :ivar default_security_rules: DefaultSecurityRulesOperations operations + :vartype default_security_rules: azure.mgmt.network.v2021_02_01.operations.DefaultSecurityRulesOperations + :ivar network_virtual_appliances: NetworkVirtualAppliancesOperations operations + :vartype network_virtual_appliances: azure.mgmt.network.v2021_02_01.operations.NetworkVirtualAppliancesOperations + :ivar virtual_appliance_sites: VirtualApplianceSitesOperations operations + :vartype virtual_appliance_sites: azure.mgmt.network.v2021_02_01.operations.VirtualApplianceSitesOperations + :ivar virtual_appliance_skus: VirtualApplianceSkusOperations operations + :vartype virtual_appliance_skus: azure.mgmt.network.v2021_02_01.operations.VirtualApplianceSkusOperations + :ivar inbound_security_rule: InboundSecurityRuleOperations operations + :vartype inbound_security_rule: azure.mgmt.network.v2021_02_01.operations.InboundSecurityRuleOperations + :ivar network_watchers: NetworkWatchersOperations operations + :vartype network_watchers: azure.mgmt.network.v2021_02_01.operations.NetworkWatchersOperations + :ivar packet_captures: PacketCapturesOperations operations + :vartype packet_captures: azure.mgmt.network.v2021_02_01.operations.PacketCapturesOperations + :ivar connection_monitors: ConnectionMonitorsOperations operations + :vartype connection_monitors: azure.mgmt.network.v2021_02_01.operations.ConnectionMonitorsOperations + :ivar flow_logs: FlowLogsOperations operations + :vartype flow_logs: azure.mgmt.network.v2021_02_01.operations.FlowLogsOperations + :ivar operations: Operations operations + :vartype operations: azure.mgmt.network.v2021_02_01.operations.Operations + :ivar private_endpoints: PrivateEndpointsOperations operations + :vartype private_endpoints: azure.mgmt.network.v2021_02_01.operations.PrivateEndpointsOperations + :ivar available_private_endpoint_types: AvailablePrivateEndpointTypesOperations operations + :vartype available_private_endpoint_types: azure.mgmt.network.v2021_02_01.operations.AvailablePrivateEndpointTypesOperations + :ivar private_dns_zone_groups: PrivateDnsZoneGroupsOperations operations + :vartype private_dns_zone_groups: azure.mgmt.network.v2021_02_01.operations.PrivateDnsZoneGroupsOperations + :ivar private_link_services: PrivateLinkServicesOperations operations + :vartype private_link_services: azure.mgmt.network.v2021_02_01.operations.PrivateLinkServicesOperations + :ivar public_ip_prefixes: PublicIPPrefixesOperations operations + :vartype public_ip_prefixes: azure.mgmt.network.v2021_02_01.operations.PublicIPPrefixesOperations + :ivar route_filters: RouteFiltersOperations operations + :vartype route_filters: azure.mgmt.network.v2021_02_01.operations.RouteFiltersOperations + :ivar route_filter_rules: RouteFilterRulesOperations operations + :vartype route_filter_rules: azure.mgmt.network.v2021_02_01.operations.RouteFilterRulesOperations + :ivar route_tables: RouteTablesOperations operations + :vartype route_tables: azure.mgmt.network.v2021_02_01.operations.RouteTablesOperations + :ivar routes: RoutesOperations operations + :vartype routes: azure.mgmt.network.v2021_02_01.operations.RoutesOperations + :ivar security_partner_providers: SecurityPartnerProvidersOperations operations + :vartype security_partner_providers: azure.mgmt.network.v2021_02_01.operations.SecurityPartnerProvidersOperations + :ivar bgp_service_communities: BgpServiceCommunitiesOperations operations + :vartype bgp_service_communities: azure.mgmt.network.v2021_02_01.operations.BgpServiceCommunitiesOperations + :ivar service_endpoint_policies: ServiceEndpointPoliciesOperations operations + :vartype service_endpoint_policies: azure.mgmt.network.v2021_02_01.operations.ServiceEndpointPoliciesOperations + :ivar service_endpoint_policy_definitions: ServiceEndpointPolicyDefinitionsOperations operations + :vartype service_endpoint_policy_definitions: azure.mgmt.network.v2021_02_01.operations.ServiceEndpointPolicyDefinitionsOperations + :ivar service_tags: ServiceTagsOperations operations + :vartype service_tags: azure.mgmt.network.v2021_02_01.operations.ServiceTagsOperations + :ivar usages: UsagesOperations operations + :vartype usages: azure.mgmt.network.v2021_02_01.operations.UsagesOperations + :ivar virtual_networks: VirtualNetworksOperations operations + :vartype virtual_networks: azure.mgmt.network.v2021_02_01.operations.VirtualNetworksOperations + :ivar subnets: SubnetsOperations operations + :vartype subnets: azure.mgmt.network.v2021_02_01.operations.SubnetsOperations + :ivar resource_navigation_links: ResourceNavigationLinksOperations operations + :vartype resource_navigation_links: azure.mgmt.network.v2021_02_01.operations.ResourceNavigationLinksOperations + :ivar service_association_links: ServiceAssociationLinksOperations operations + :vartype service_association_links: azure.mgmt.network.v2021_02_01.operations.ServiceAssociationLinksOperations + :ivar virtual_network_peerings: VirtualNetworkPeeringsOperations operations + :vartype virtual_network_peerings: azure.mgmt.network.v2021_02_01.operations.VirtualNetworkPeeringsOperations + :ivar virtual_network_gateways: VirtualNetworkGatewaysOperations operations + :vartype virtual_network_gateways: azure.mgmt.network.v2021_02_01.operations.VirtualNetworkGatewaysOperations + :ivar virtual_network_gateway_connections: VirtualNetworkGatewayConnectionsOperations operations + :vartype virtual_network_gateway_connections: azure.mgmt.network.v2021_02_01.operations.VirtualNetworkGatewayConnectionsOperations + :ivar local_network_gateways: LocalNetworkGatewaysOperations operations + :vartype local_network_gateways: azure.mgmt.network.v2021_02_01.operations.LocalNetworkGatewaysOperations + :ivar virtual_network_gateway_nat_rules: VirtualNetworkGatewayNatRulesOperations operations + :vartype virtual_network_gateway_nat_rules: azure.mgmt.network.v2021_02_01.operations.VirtualNetworkGatewayNatRulesOperations + :ivar virtual_network_taps: VirtualNetworkTapsOperations operations + :vartype virtual_network_taps: azure.mgmt.network.v2021_02_01.operations.VirtualNetworkTapsOperations + :ivar virtual_routers: VirtualRoutersOperations operations + :vartype virtual_routers: azure.mgmt.network.v2021_02_01.operations.VirtualRoutersOperations + :ivar virtual_router_peerings: VirtualRouterPeeringsOperations operations + :vartype virtual_router_peerings: azure.mgmt.network.v2021_02_01.operations.VirtualRouterPeeringsOperations + :ivar virtual_wans: VirtualWansOperations operations + :vartype virtual_wans: azure.mgmt.network.v2021_02_01.operations.VirtualWansOperations + :ivar vpn_sites: VpnSitesOperations operations + :vartype vpn_sites: azure.mgmt.network.v2021_02_01.operations.VpnSitesOperations + :ivar vpn_site_links: VpnSiteLinksOperations operations + :vartype vpn_site_links: azure.mgmt.network.v2021_02_01.operations.VpnSiteLinksOperations + :ivar vpn_sites_configuration: VpnSitesConfigurationOperations operations + :vartype vpn_sites_configuration: azure.mgmt.network.v2021_02_01.operations.VpnSitesConfigurationOperations + :ivar vpn_server_configurations: VpnServerConfigurationsOperations operations + :vartype vpn_server_configurations: azure.mgmt.network.v2021_02_01.operations.VpnServerConfigurationsOperations + :ivar virtual_hubs: VirtualHubsOperations operations + :vartype virtual_hubs: azure.mgmt.network.v2021_02_01.operations.VirtualHubsOperations + :ivar hub_virtual_network_connections: HubVirtualNetworkConnectionsOperations operations + :vartype hub_virtual_network_connections: azure.mgmt.network.v2021_02_01.operations.HubVirtualNetworkConnectionsOperations + :ivar vpn_gateways: VpnGatewaysOperations operations + :vartype vpn_gateways: azure.mgmt.network.v2021_02_01.operations.VpnGatewaysOperations + :ivar vpn_link_connections: VpnLinkConnectionsOperations operations + :vartype vpn_link_connections: azure.mgmt.network.v2021_02_01.operations.VpnLinkConnectionsOperations + :ivar vpn_connections: VpnConnectionsOperations operations + :vartype vpn_connections: azure.mgmt.network.v2021_02_01.operations.VpnConnectionsOperations + :ivar vpn_site_link_connections: VpnSiteLinkConnectionsOperations operations + :vartype vpn_site_link_connections: azure.mgmt.network.v2021_02_01.operations.VpnSiteLinkConnectionsOperations + :ivar nat_rules: NatRulesOperations operations + :vartype nat_rules: azure.mgmt.network.v2021_02_01.operations.NatRulesOperations + :ivar p2_svpn_gateways: P2SVpnGatewaysOperations operations + :vartype p2_svpn_gateways: azure.mgmt.network.v2021_02_01.operations.P2SVpnGatewaysOperations + :ivar vpn_server_configurations_associated_with_virtual_wan: VpnServerConfigurationsAssociatedWithVirtualWanOperations operations + :vartype vpn_server_configurations_associated_with_virtual_wan: azure.mgmt.network.v2021_02_01.operations.VpnServerConfigurationsAssociatedWithVirtualWanOperations + :ivar virtual_hub_route_table_v2_s: VirtualHubRouteTableV2SOperations operations + :vartype virtual_hub_route_table_v2_s: azure.mgmt.network.v2021_02_01.operations.VirtualHubRouteTableV2SOperations + :ivar express_route_gateways: ExpressRouteGatewaysOperations operations + :vartype express_route_gateways: azure.mgmt.network.v2021_02_01.operations.ExpressRouteGatewaysOperations + :ivar express_route_connections: ExpressRouteConnectionsOperations operations + :vartype express_route_connections: azure.mgmt.network.v2021_02_01.operations.ExpressRouteConnectionsOperations + :ivar virtual_hub_bgp_connection: VirtualHubBgpConnectionOperations operations + :vartype virtual_hub_bgp_connection: azure.mgmt.network.v2021_02_01.operations.VirtualHubBgpConnectionOperations + :ivar virtual_hub_bgp_connections: VirtualHubBgpConnectionsOperations operations + :vartype virtual_hub_bgp_connections: azure.mgmt.network.v2021_02_01.operations.VirtualHubBgpConnectionsOperations + :ivar virtual_hub_ip_configuration: VirtualHubIpConfigurationOperations operations + :vartype virtual_hub_ip_configuration: azure.mgmt.network.v2021_02_01.operations.VirtualHubIpConfigurationOperations + :ivar hub_route_tables: HubRouteTablesOperations operations + :vartype hub_route_tables: azure.mgmt.network.v2021_02_01.operations.HubRouteTablesOperations + :ivar web_application_firewall_policies: WebApplicationFirewallPoliciesOperations operations + :vartype web_application_firewall_policies: azure.mgmt.network.v2021_02_01.operations.WebApplicationFirewallPoliciesOperations + :param credential: Credential needed for the client to connect to Azure. + :type credential: ~azure.core.credentials.TokenCredential + :param subscription_id: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + :type subscription_id: str + :param str base_url: Service URL + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + """ + + def __init__( + self, + credential, # type: "TokenCredential" + subscription_id, # type: str + base_url=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> None + if not base_url: + base_url = 'https://management.azure.com' + self._config = NetworkManagementClientConfiguration(credential, subscription_id, **kwargs) + self._client = ARMPipelineClient(base_url=base_url, config=self._config, **kwargs) + + client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} + self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False + self._deserialize = Deserializer(client_models) + + self.application_gateways = ApplicationGatewaysOperations( + self._client, self._config, self._serialize, self._deserialize) + self.application_gateway_private_link_resources = ApplicationGatewayPrivateLinkResourcesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.application_gateway_private_endpoint_connections = ApplicationGatewayPrivateEndpointConnectionsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.application_security_groups = ApplicationSecurityGroupsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.available_delegations = AvailableDelegationsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.available_resource_group_delegations = AvailableResourceGroupDelegationsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.available_service_aliases = AvailableServiceAliasesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.azure_firewalls = AzureFirewallsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.azure_firewall_fqdn_tags = AzureFirewallFqdnTagsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.web_categories = WebCategoriesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.bastion_hosts = BastionHostsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.network_interfaces = NetworkInterfacesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.public_ip_addresses = PublicIPAddressesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.custom_ip_prefixes = CustomIPPrefixesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.ddos_custom_policies = DdosCustomPoliciesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.ddos_protection_plans = DdosProtectionPlansOperations( + self._client, self._config, self._serialize, self._deserialize) + self.dscp_configuration = DscpConfigurationOperations( + self._client, self._config, self._serialize, self._deserialize) + self.available_endpoint_services = AvailableEndpointServicesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.express_route_circuit_authorizations = ExpressRouteCircuitAuthorizationsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.express_route_circuit_peerings = ExpressRouteCircuitPeeringsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.express_route_circuit_connections = ExpressRouteCircuitConnectionsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.peer_express_route_circuit_connections = PeerExpressRouteCircuitConnectionsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.express_route_circuits = ExpressRouteCircuitsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.express_route_service_providers = ExpressRouteServiceProvidersOperations( + self._client, self._config, self._serialize, self._deserialize) + self.express_route_cross_connections = ExpressRouteCrossConnectionsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.express_route_cross_connection_peerings = ExpressRouteCrossConnectionPeeringsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.express_route_ports_locations = ExpressRoutePortsLocationsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.express_route_ports = ExpressRoutePortsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.express_route_links = ExpressRouteLinksOperations( + self._client, self._config, self._serialize, self._deserialize) + self.firewall_policies = FirewallPoliciesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.firewall_policy_rule_collection_groups = FirewallPolicyRuleCollectionGroupsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.ip_allocations = IpAllocationsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.ip_groups = IpGroupsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.load_balancers = LoadBalancersOperations( + self._client, self._config, self._serialize, self._deserialize) + self.load_balancer_backend_address_pools = LoadBalancerBackendAddressPoolsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.load_balancer_frontend_ip_configurations = LoadBalancerFrontendIPConfigurationsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.inbound_nat_rules = InboundNatRulesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.load_balancer_load_balancing_rules = LoadBalancerLoadBalancingRulesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.load_balancer_outbound_rules = LoadBalancerOutboundRulesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.load_balancer_network_interfaces = LoadBalancerNetworkInterfacesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.load_balancer_probes = LoadBalancerProbesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.nat_gateways = NatGatewaysOperations( + self._client, self._config, self._serialize, self._deserialize) + self.network_interface_ip_configurations = NetworkInterfaceIPConfigurationsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.network_interface_load_balancers = NetworkInterfaceLoadBalancersOperations( + self._client, self._config, self._serialize, self._deserialize) + self.network_interface_tap_configurations = NetworkInterfaceTapConfigurationsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.network_profiles = NetworkProfilesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.network_security_groups = NetworkSecurityGroupsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.security_rules = SecurityRulesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.default_security_rules = DefaultSecurityRulesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.network_virtual_appliances = NetworkVirtualAppliancesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.virtual_appliance_sites = VirtualApplianceSitesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.virtual_appliance_skus = VirtualApplianceSkusOperations( + self._client, self._config, self._serialize, self._deserialize) + self.inbound_security_rule = InboundSecurityRuleOperations( + self._client, self._config, self._serialize, self._deserialize) + self.network_watchers = NetworkWatchersOperations( + self._client, self._config, self._serialize, self._deserialize) + self.packet_captures = PacketCapturesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.connection_monitors = ConnectionMonitorsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.flow_logs = FlowLogsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.operations = Operations( + self._client, self._config, self._serialize, self._deserialize) + self.private_endpoints = PrivateEndpointsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.available_private_endpoint_types = AvailablePrivateEndpointTypesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.private_dns_zone_groups = PrivateDnsZoneGroupsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.private_link_services = PrivateLinkServicesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.public_ip_prefixes = PublicIPPrefixesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.route_filters = RouteFiltersOperations( + self._client, self._config, self._serialize, self._deserialize) + self.route_filter_rules = RouteFilterRulesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.route_tables = RouteTablesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.routes = RoutesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.security_partner_providers = SecurityPartnerProvidersOperations( + self._client, self._config, self._serialize, self._deserialize) + self.bgp_service_communities = BgpServiceCommunitiesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.service_endpoint_policies = ServiceEndpointPoliciesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.service_endpoint_policy_definitions = ServiceEndpointPolicyDefinitionsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.service_tags = ServiceTagsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.usages = UsagesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.virtual_networks = VirtualNetworksOperations( + self._client, self._config, self._serialize, self._deserialize) + self.subnets = SubnetsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.resource_navigation_links = ResourceNavigationLinksOperations( + self._client, self._config, self._serialize, self._deserialize) + self.service_association_links = ServiceAssociationLinksOperations( + self._client, self._config, self._serialize, self._deserialize) + self.virtual_network_peerings = VirtualNetworkPeeringsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.virtual_network_gateways = VirtualNetworkGatewaysOperations( + self._client, self._config, self._serialize, self._deserialize) + self.virtual_network_gateway_connections = VirtualNetworkGatewayConnectionsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.local_network_gateways = LocalNetworkGatewaysOperations( + self._client, self._config, self._serialize, self._deserialize) + self.virtual_network_gateway_nat_rules = VirtualNetworkGatewayNatRulesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.virtual_network_taps = VirtualNetworkTapsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.virtual_routers = VirtualRoutersOperations( + self._client, self._config, self._serialize, self._deserialize) + self.virtual_router_peerings = VirtualRouterPeeringsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.virtual_wans = VirtualWansOperations( + self._client, self._config, self._serialize, self._deserialize) + self.vpn_sites = VpnSitesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.vpn_site_links = VpnSiteLinksOperations( + self._client, self._config, self._serialize, self._deserialize) + self.vpn_sites_configuration = VpnSitesConfigurationOperations( + self._client, self._config, self._serialize, self._deserialize) + self.vpn_server_configurations = VpnServerConfigurationsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.virtual_hubs = VirtualHubsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.hub_virtual_network_connections = HubVirtualNetworkConnectionsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.vpn_gateways = VpnGatewaysOperations( + self._client, self._config, self._serialize, self._deserialize) + self.vpn_link_connections = VpnLinkConnectionsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.vpn_connections = VpnConnectionsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.vpn_site_link_connections = VpnSiteLinkConnectionsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.nat_rules = NatRulesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.p2_svpn_gateways = P2SVpnGatewaysOperations( + self._client, self._config, self._serialize, self._deserialize) + self.vpn_server_configurations_associated_with_virtual_wan = VpnServerConfigurationsAssociatedWithVirtualWanOperations( + self._client, self._config, self._serialize, self._deserialize) + self.virtual_hub_route_table_v2_s = VirtualHubRouteTableV2SOperations( + self._client, self._config, self._serialize, self._deserialize) + self.express_route_gateways = ExpressRouteGatewaysOperations( + self._client, self._config, self._serialize, self._deserialize) + self.express_route_connections = ExpressRouteConnectionsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.virtual_hub_bgp_connection = VirtualHubBgpConnectionOperations( + self._client, self._config, self._serialize, self._deserialize) + self.virtual_hub_bgp_connections = VirtualHubBgpConnectionsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.virtual_hub_ip_configuration = VirtualHubIpConfigurationOperations( + self._client, self._config, self._serialize, self._deserialize) + self.hub_route_tables = HubRouteTablesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.web_application_firewall_policies = WebApplicationFirewallPoliciesOperations( + self._client, self._config, self._serialize, self._deserialize) + + def _send_request(self, http_request, **kwargs): + # type: (HttpRequest, Any) -> HttpResponse + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.HttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + + def close(self): + # type: () -> None + self._client.close() + + def __enter__(self): + # type: () -> NetworkManagementClient + self._client.__enter__() + return self + + def __exit__(self, *exc_details): + # type: (Any) -> None + self._client.__exit__(*exc_details) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/__init__.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/__init__.py new file mode 100644 index 000000000000..1c78defcf225 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/__init__.py @@ -0,0 +1,10 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from ._network_management_client import NetworkManagementClient +__all__ = ['NetworkManagementClient'] diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/_configuration.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/_configuration.py new file mode 100644 index 000000000000..13d69e860632 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/_configuration.py @@ -0,0 +1,65 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from typing import Any, TYPE_CHECKING + +from azure.core.configuration import Configuration +from azure.core.pipeline import policies +from azure.mgmt.core.policies import ARMHttpLoggingPolicy + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from azure.core.credentials_async import AsyncTokenCredential + +VERSION = "unknown" + +class NetworkManagementClientConfiguration(Configuration): + """Configuration for NetworkManagementClient. + + Note that all parameters used to create this instance are saved as instance + attributes. + + :param credential: Credential needed for the client to connect to Azure. + :type credential: ~azure.core.credentials_async.AsyncTokenCredential + :param subscription_id: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + :type subscription_id: str + """ + + def __init__( + self, + credential: "AsyncTokenCredential", + subscription_id: str, + **kwargs: Any + ) -> None: + if credential is None: + raise ValueError("Parameter 'credential' must not be None.") + if subscription_id is None: + raise ValueError("Parameter 'subscription_id' must not be None.") + super(NetworkManagementClientConfiguration, self).__init__(**kwargs) + + self.credential = credential + self.subscription_id = subscription_id + self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) + kwargs.setdefault('sdk_moniker', 'mgmt-network/{}'.format(VERSION)) + self._configure(**kwargs) + + def _configure( + self, + **kwargs: Any + ) -> None: + self.user_agent_policy = kwargs.get('user_agent_policy') or policies.UserAgentPolicy(**kwargs) + self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs) + self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs) + self.logging_policy = kwargs.get('logging_policy') or policies.NetworkTraceLoggingPolicy(**kwargs) + self.http_logging_policy = kwargs.get('http_logging_policy') or ARMHttpLoggingPolicy(**kwargs) + self.retry_policy = kwargs.get('retry_policy') or policies.AsyncRetryPolicy(**kwargs) + self.custom_hook_policy = kwargs.get('custom_hook_policy') or policies.CustomHookPolicy(**kwargs) + self.redirect_policy = kwargs.get('redirect_policy') or policies.AsyncRedirectPolicy(**kwargs) + self.authentication_policy = kwargs.get('authentication_policy') + if self.credential and not self.authentication_policy: + self.authentication_policy = policies.AsyncBearerTokenCredentialPolicy(self.credential, *self.credential_scopes, **kwargs) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/_network_management_client.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/_network_management_client.py new file mode 100644 index 000000000000..078fb0e857fd --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/_network_management_client.py @@ -0,0 +1,613 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from typing import Any, Optional, TYPE_CHECKING + +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core import AsyncARMPipelineClient +from msrest import Deserializer, Serializer + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from azure.core.credentials_async import AsyncTokenCredential + +from ._configuration import NetworkManagementClientConfiguration +from .operations import ApplicationGatewaysOperations +from .operations import ApplicationGatewayPrivateLinkResourcesOperations +from .operations import ApplicationGatewayPrivateEndpointConnectionsOperations +from .operations import ApplicationSecurityGroupsOperations +from .operations import AvailableDelegationsOperations +from .operations import AvailableResourceGroupDelegationsOperations +from .operations import AvailableServiceAliasesOperations +from .operations import AzureFirewallsOperations +from .operations import AzureFirewallFqdnTagsOperations +from .operations import WebCategoriesOperations +from .operations import BastionHostsOperations +from .operations import NetworkManagementClientOperationsMixin +from .operations import NetworkInterfacesOperations +from .operations import PublicIPAddressesOperations +from .operations import CustomIPPrefixesOperations +from .operations import DdosCustomPoliciesOperations +from .operations import DdosProtectionPlansOperations +from .operations import DscpConfigurationOperations +from .operations import AvailableEndpointServicesOperations +from .operations import ExpressRouteCircuitAuthorizationsOperations +from .operations import ExpressRouteCircuitPeeringsOperations +from .operations import ExpressRouteCircuitConnectionsOperations +from .operations import PeerExpressRouteCircuitConnectionsOperations +from .operations import ExpressRouteCircuitsOperations +from .operations import ExpressRouteServiceProvidersOperations +from .operations import ExpressRouteCrossConnectionsOperations +from .operations import ExpressRouteCrossConnectionPeeringsOperations +from .operations import ExpressRoutePortsLocationsOperations +from .operations import ExpressRoutePortsOperations +from .operations import ExpressRouteLinksOperations +from .operations import FirewallPoliciesOperations +from .operations import FirewallPolicyRuleCollectionGroupsOperations +from .operations import IpAllocationsOperations +from .operations import IpGroupsOperations +from .operations import LoadBalancersOperations +from .operations import LoadBalancerBackendAddressPoolsOperations +from .operations import LoadBalancerFrontendIPConfigurationsOperations +from .operations import InboundNatRulesOperations +from .operations import LoadBalancerLoadBalancingRulesOperations +from .operations import LoadBalancerOutboundRulesOperations +from .operations import LoadBalancerNetworkInterfacesOperations +from .operations import LoadBalancerProbesOperations +from .operations import NatGatewaysOperations +from .operations import NetworkInterfaceIPConfigurationsOperations +from .operations import NetworkInterfaceLoadBalancersOperations +from .operations import NetworkInterfaceTapConfigurationsOperations +from .operations import NetworkProfilesOperations +from .operations import NetworkSecurityGroupsOperations +from .operations import SecurityRulesOperations +from .operations import DefaultSecurityRulesOperations +from .operations import NetworkVirtualAppliancesOperations +from .operations import VirtualApplianceSitesOperations +from .operations import VirtualApplianceSkusOperations +from .operations import InboundSecurityRuleOperations +from .operations import NetworkWatchersOperations +from .operations import PacketCapturesOperations +from .operations import ConnectionMonitorsOperations +from .operations import FlowLogsOperations +from .operations import Operations +from .operations import PrivateEndpointsOperations +from .operations import AvailablePrivateEndpointTypesOperations +from .operations import PrivateDnsZoneGroupsOperations +from .operations import PrivateLinkServicesOperations +from .operations import PublicIPPrefixesOperations +from .operations import RouteFiltersOperations +from .operations import RouteFilterRulesOperations +from .operations import RouteTablesOperations +from .operations import RoutesOperations +from .operations import SecurityPartnerProvidersOperations +from .operations import BgpServiceCommunitiesOperations +from .operations import ServiceEndpointPoliciesOperations +from .operations import ServiceEndpointPolicyDefinitionsOperations +from .operations import ServiceTagsOperations +from .operations import UsagesOperations +from .operations import VirtualNetworksOperations +from .operations import SubnetsOperations +from .operations import ResourceNavigationLinksOperations +from .operations import ServiceAssociationLinksOperations +from .operations import VirtualNetworkPeeringsOperations +from .operations import VirtualNetworkGatewaysOperations +from .operations import VirtualNetworkGatewayConnectionsOperations +from .operations import LocalNetworkGatewaysOperations +from .operations import VirtualNetworkGatewayNatRulesOperations +from .operations import VirtualNetworkTapsOperations +from .operations import VirtualRoutersOperations +from .operations import VirtualRouterPeeringsOperations +from .operations import VirtualWansOperations +from .operations import VpnSitesOperations +from .operations import VpnSiteLinksOperations +from .operations import VpnSitesConfigurationOperations +from .operations import VpnServerConfigurationsOperations +from .operations import VirtualHubsOperations +from .operations import HubVirtualNetworkConnectionsOperations +from .operations import VpnGatewaysOperations +from .operations import VpnLinkConnectionsOperations +from .operations import VpnConnectionsOperations +from .operations import VpnSiteLinkConnectionsOperations +from .operations import NatRulesOperations +from .operations import P2SVpnGatewaysOperations +from .operations import VpnServerConfigurationsAssociatedWithVirtualWanOperations +from .operations import VirtualHubRouteTableV2SOperations +from .operations import ExpressRouteGatewaysOperations +from .operations import ExpressRouteConnectionsOperations +from .operations import VirtualHubBgpConnectionOperations +from .operations import VirtualHubBgpConnectionsOperations +from .operations import VirtualHubIpConfigurationOperations +from .operations import HubRouteTablesOperations +from .operations import WebApplicationFirewallPoliciesOperations +from .. import models + + +class NetworkManagementClient(NetworkManagementClientOperationsMixin): + """Network Client. + + :ivar application_gateways: ApplicationGatewaysOperations operations + :vartype application_gateways: azure.mgmt.network.v2021_02_01.aio.operations.ApplicationGatewaysOperations + :ivar application_gateway_private_link_resources: ApplicationGatewayPrivateLinkResourcesOperations operations + :vartype application_gateway_private_link_resources: azure.mgmt.network.v2021_02_01.aio.operations.ApplicationGatewayPrivateLinkResourcesOperations + :ivar application_gateway_private_endpoint_connections: ApplicationGatewayPrivateEndpointConnectionsOperations operations + :vartype application_gateway_private_endpoint_connections: azure.mgmt.network.v2021_02_01.aio.operations.ApplicationGatewayPrivateEndpointConnectionsOperations + :ivar application_security_groups: ApplicationSecurityGroupsOperations operations + :vartype application_security_groups: azure.mgmt.network.v2021_02_01.aio.operations.ApplicationSecurityGroupsOperations + :ivar available_delegations: AvailableDelegationsOperations operations + :vartype available_delegations: azure.mgmt.network.v2021_02_01.aio.operations.AvailableDelegationsOperations + :ivar available_resource_group_delegations: AvailableResourceGroupDelegationsOperations operations + :vartype available_resource_group_delegations: azure.mgmt.network.v2021_02_01.aio.operations.AvailableResourceGroupDelegationsOperations + :ivar available_service_aliases: AvailableServiceAliasesOperations operations + :vartype available_service_aliases: azure.mgmt.network.v2021_02_01.aio.operations.AvailableServiceAliasesOperations + :ivar azure_firewalls: AzureFirewallsOperations operations + :vartype azure_firewalls: azure.mgmt.network.v2021_02_01.aio.operations.AzureFirewallsOperations + :ivar azure_firewall_fqdn_tags: AzureFirewallFqdnTagsOperations operations + :vartype azure_firewall_fqdn_tags: azure.mgmt.network.v2021_02_01.aio.operations.AzureFirewallFqdnTagsOperations + :ivar web_categories: WebCategoriesOperations operations + :vartype web_categories: azure.mgmt.network.v2021_02_01.aio.operations.WebCategoriesOperations + :ivar bastion_hosts: BastionHostsOperations operations + :vartype bastion_hosts: azure.mgmt.network.v2021_02_01.aio.operations.BastionHostsOperations + :ivar network_interfaces: NetworkInterfacesOperations operations + :vartype network_interfaces: azure.mgmt.network.v2021_02_01.aio.operations.NetworkInterfacesOperations + :ivar public_ip_addresses: PublicIPAddressesOperations operations + :vartype public_ip_addresses: azure.mgmt.network.v2021_02_01.aio.operations.PublicIPAddressesOperations + :ivar custom_ip_prefixes: CustomIPPrefixesOperations operations + :vartype custom_ip_prefixes: azure.mgmt.network.v2021_02_01.aio.operations.CustomIPPrefixesOperations + :ivar ddos_custom_policies: DdosCustomPoliciesOperations operations + :vartype ddos_custom_policies: azure.mgmt.network.v2021_02_01.aio.operations.DdosCustomPoliciesOperations + :ivar ddos_protection_plans: DdosProtectionPlansOperations operations + :vartype ddos_protection_plans: azure.mgmt.network.v2021_02_01.aio.operations.DdosProtectionPlansOperations + :ivar dscp_configuration: DscpConfigurationOperations operations + :vartype dscp_configuration: azure.mgmt.network.v2021_02_01.aio.operations.DscpConfigurationOperations + :ivar available_endpoint_services: AvailableEndpointServicesOperations operations + :vartype available_endpoint_services: azure.mgmt.network.v2021_02_01.aio.operations.AvailableEndpointServicesOperations + :ivar express_route_circuit_authorizations: ExpressRouteCircuitAuthorizationsOperations operations + :vartype express_route_circuit_authorizations: azure.mgmt.network.v2021_02_01.aio.operations.ExpressRouteCircuitAuthorizationsOperations + :ivar express_route_circuit_peerings: ExpressRouteCircuitPeeringsOperations operations + :vartype express_route_circuit_peerings: azure.mgmt.network.v2021_02_01.aio.operations.ExpressRouteCircuitPeeringsOperations + :ivar express_route_circuit_connections: ExpressRouteCircuitConnectionsOperations operations + :vartype express_route_circuit_connections: azure.mgmt.network.v2021_02_01.aio.operations.ExpressRouteCircuitConnectionsOperations + :ivar peer_express_route_circuit_connections: PeerExpressRouteCircuitConnectionsOperations operations + :vartype peer_express_route_circuit_connections: azure.mgmt.network.v2021_02_01.aio.operations.PeerExpressRouteCircuitConnectionsOperations + :ivar express_route_circuits: ExpressRouteCircuitsOperations operations + :vartype express_route_circuits: azure.mgmt.network.v2021_02_01.aio.operations.ExpressRouteCircuitsOperations + :ivar express_route_service_providers: ExpressRouteServiceProvidersOperations operations + :vartype express_route_service_providers: azure.mgmt.network.v2021_02_01.aio.operations.ExpressRouteServiceProvidersOperations + :ivar express_route_cross_connections: ExpressRouteCrossConnectionsOperations operations + :vartype express_route_cross_connections: azure.mgmt.network.v2021_02_01.aio.operations.ExpressRouteCrossConnectionsOperations + :ivar express_route_cross_connection_peerings: ExpressRouteCrossConnectionPeeringsOperations operations + :vartype express_route_cross_connection_peerings: azure.mgmt.network.v2021_02_01.aio.operations.ExpressRouteCrossConnectionPeeringsOperations + :ivar express_route_ports_locations: ExpressRoutePortsLocationsOperations operations + :vartype express_route_ports_locations: azure.mgmt.network.v2021_02_01.aio.operations.ExpressRoutePortsLocationsOperations + :ivar express_route_ports: ExpressRoutePortsOperations operations + :vartype express_route_ports: azure.mgmt.network.v2021_02_01.aio.operations.ExpressRoutePortsOperations + :ivar express_route_links: ExpressRouteLinksOperations operations + :vartype express_route_links: azure.mgmt.network.v2021_02_01.aio.operations.ExpressRouteLinksOperations + :ivar firewall_policies: FirewallPoliciesOperations operations + :vartype firewall_policies: azure.mgmt.network.v2021_02_01.aio.operations.FirewallPoliciesOperations + :ivar firewall_policy_rule_collection_groups: FirewallPolicyRuleCollectionGroupsOperations operations + :vartype firewall_policy_rule_collection_groups: azure.mgmt.network.v2021_02_01.aio.operations.FirewallPolicyRuleCollectionGroupsOperations + :ivar ip_allocations: IpAllocationsOperations operations + :vartype ip_allocations: azure.mgmt.network.v2021_02_01.aio.operations.IpAllocationsOperations + :ivar ip_groups: IpGroupsOperations operations + :vartype ip_groups: azure.mgmt.network.v2021_02_01.aio.operations.IpGroupsOperations + :ivar load_balancers: LoadBalancersOperations operations + :vartype load_balancers: azure.mgmt.network.v2021_02_01.aio.operations.LoadBalancersOperations + :ivar load_balancer_backend_address_pools: LoadBalancerBackendAddressPoolsOperations operations + :vartype load_balancer_backend_address_pools: azure.mgmt.network.v2021_02_01.aio.operations.LoadBalancerBackendAddressPoolsOperations + :ivar load_balancer_frontend_ip_configurations: LoadBalancerFrontendIPConfigurationsOperations operations + :vartype load_balancer_frontend_ip_configurations: azure.mgmt.network.v2021_02_01.aio.operations.LoadBalancerFrontendIPConfigurationsOperations + :ivar inbound_nat_rules: InboundNatRulesOperations operations + :vartype inbound_nat_rules: azure.mgmt.network.v2021_02_01.aio.operations.InboundNatRulesOperations + :ivar load_balancer_load_balancing_rules: LoadBalancerLoadBalancingRulesOperations operations + :vartype load_balancer_load_balancing_rules: azure.mgmt.network.v2021_02_01.aio.operations.LoadBalancerLoadBalancingRulesOperations + :ivar load_balancer_outbound_rules: LoadBalancerOutboundRulesOperations operations + :vartype load_balancer_outbound_rules: azure.mgmt.network.v2021_02_01.aio.operations.LoadBalancerOutboundRulesOperations + :ivar load_balancer_network_interfaces: LoadBalancerNetworkInterfacesOperations operations + :vartype load_balancer_network_interfaces: azure.mgmt.network.v2021_02_01.aio.operations.LoadBalancerNetworkInterfacesOperations + :ivar load_balancer_probes: LoadBalancerProbesOperations operations + :vartype load_balancer_probes: azure.mgmt.network.v2021_02_01.aio.operations.LoadBalancerProbesOperations + :ivar nat_gateways: NatGatewaysOperations operations + :vartype nat_gateways: azure.mgmt.network.v2021_02_01.aio.operations.NatGatewaysOperations + :ivar network_interface_ip_configurations: NetworkInterfaceIPConfigurationsOperations operations + :vartype network_interface_ip_configurations: azure.mgmt.network.v2021_02_01.aio.operations.NetworkInterfaceIPConfigurationsOperations + :ivar network_interface_load_balancers: NetworkInterfaceLoadBalancersOperations operations + :vartype network_interface_load_balancers: azure.mgmt.network.v2021_02_01.aio.operations.NetworkInterfaceLoadBalancersOperations + :ivar network_interface_tap_configurations: NetworkInterfaceTapConfigurationsOperations operations + :vartype network_interface_tap_configurations: azure.mgmt.network.v2021_02_01.aio.operations.NetworkInterfaceTapConfigurationsOperations + :ivar network_profiles: NetworkProfilesOperations operations + :vartype network_profiles: azure.mgmt.network.v2021_02_01.aio.operations.NetworkProfilesOperations + :ivar network_security_groups: NetworkSecurityGroupsOperations operations + :vartype network_security_groups: azure.mgmt.network.v2021_02_01.aio.operations.NetworkSecurityGroupsOperations + :ivar security_rules: SecurityRulesOperations operations + :vartype security_rules: azure.mgmt.network.v2021_02_01.aio.operations.SecurityRulesOperations + :ivar default_security_rules: DefaultSecurityRulesOperations operations + :vartype default_security_rules: azure.mgmt.network.v2021_02_01.aio.operations.DefaultSecurityRulesOperations + :ivar network_virtual_appliances: NetworkVirtualAppliancesOperations operations + :vartype network_virtual_appliances: azure.mgmt.network.v2021_02_01.aio.operations.NetworkVirtualAppliancesOperations + :ivar virtual_appliance_sites: VirtualApplianceSitesOperations operations + :vartype virtual_appliance_sites: azure.mgmt.network.v2021_02_01.aio.operations.VirtualApplianceSitesOperations + :ivar virtual_appliance_skus: VirtualApplianceSkusOperations operations + :vartype virtual_appliance_skus: azure.mgmt.network.v2021_02_01.aio.operations.VirtualApplianceSkusOperations + :ivar inbound_security_rule: InboundSecurityRuleOperations operations + :vartype inbound_security_rule: azure.mgmt.network.v2021_02_01.aio.operations.InboundSecurityRuleOperations + :ivar network_watchers: NetworkWatchersOperations operations + :vartype network_watchers: azure.mgmt.network.v2021_02_01.aio.operations.NetworkWatchersOperations + :ivar packet_captures: PacketCapturesOperations operations + :vartype packet_captures: azure.mgmt.network.v2021_02_01.aio.operations.PacketCapturesOperations + :ivar connection_monitors: ConnectionMonitorsOperations operations + :vartype connection_monitors: azure.mgmt.network.v2021_02_01.aio.operations.ConnectionMonitorsOperations + :ivar flow_logs: FlowLogsOperations operations + :vartype flow_logs: azure.mgmt.network.v2021_02_01.aio.operations.FlowLogsOperations + :ivar operations: Operations operations + :vartype operations: azure.mgmt.network.v2021_02_01.aio.operations.Operations + :ivar private_endpoints: PrivateEndpointsOperations operations + :vartype private_endpoints: azure.mgmt.network.v2021_02_01.aio.operations.PrivateEndpointsOperations + :ivar available_private_endpoint_types: AvailablePrivateEndpointTypesOperations operations + :vartype available_private_endpoint_types: azure.mgmt.network.v2021_02_01.aio.operations.AvailablePrivateEndpointTypesOperations + :ivar private_dns_zone_groups: PrivateDnsZoneGroupsOperations operations + :vartype private_dns_zone_groups: azure.mgmt.network.v2021_02_01.aio.operations.PrivateDnsZoneGroupsOperations + :ivar private_link_services: PrivateLinkServicesOperations operations + :vartype private_link_services: azure.mgmt.network.v2021_02_01.aio.operations.PrivateLinkServicesOperations + :ivar public_ip_prefixes: PublicIPPrefixesOperations operations + :vartype public_ip_prefixes: azure.mgmt.network.v2021_02_01.aio.operations.PublicIPPrefixesOperations + :ivar route_filters: RouteFiltersOperations operations + :vartype route_filters: azure.mgmt.network.v2021_02_01.aio.operations.RouteFiltersOperations + :ivar route_filter_rules: RouteFilterRulesOperations operations + :vartype route_filter_rules: azure.mgmt.network.v2021_02_01.aio.operations.RouteFilterRulesOperations + :ivar route_tables: RouteTablesOperations operations + :vartype route_tables: azure.mgmt.network.v2021_02_01.aio.operations.RouteTablesOperations + :ivar routes: RoutesOperations operations + :vartype routes: azure.mgmt.network.v2021_02_01.aio.operations.RoutesOperations + :ivar security_partner_providers: SecurityPartnerProvidersOperations operations + :vartype security_partner_providers: azure.mgmt.network.v2021_02_01.aio.operations.SecurityPartnerProvidersOperations + :ivar bgp_service_communities: BgpServiceCommunitiesOperations operations + :vartype bgp_service_communities: azure.mgmt.network.v2021_02_01.aio.operations.BgpServiceCommunitiesOperations + :ivar service_endpoint_policies: ServiceEndpointPoliciesOperations operations + :vartype service_endpoint_policies: azure.mgmt.network.v2021_02_01.aio.operations.ServiceEndpointPoliciesOperations + :ivar service_endpoint_policy_definitions: ServiceEndpointPolicyDefinitionsOperations operations + :vartype service_endpoint_policy_definitions: azure.mgmt.network.v2021_02_01.aio.operations.ServiceEndpointPolicyDefinitionsOperations + :ivar service_tags: ServiceTagsOperations operations + :vartype service_tags: azure.mgmt.network.v2021_02_01.aio.operations.ServiceTagsOperations + :ivar usages: UsagesOperations operations + :vartype usages: azure.mgmt.network.v2021_02_01.aio.operations.UsagesOperations + :ivar virtual_networks: VirtualNetworksOperations operations + :vartype virtual_networks: azure.mgmt.network.v2021_02_01.aio.operations.VirtualNetworksOperations + :ivar subnets: SubnetsOperations operations + :vartype subnets: azure.mgmt.network.v2021_02_01.aio.operations.SubnetsOperations + :ivar resource_navigation_links: ResourceNavigationLinksOperations operations + :vartype resource_navigation_links: azure.mgmt.network.v2021_02_01.aio.operations.ResourceNavigationLinksOperations + :ivar service_association_links: ServiceAssociationLinksOperations operations + :vartype service_association_links: azure.mgmt.network.v2021_02_01.aio.operations.ServiceAssociationLinksOperations + :ivar virtual_network_peerings: VirtualNetworkPeeringsOperations operations + :vartype virtual_network_peerings: azure.mgmt.network.v2021_02_01.aio.operations.VirtualNetworkPeeringsOperations + :ivar virtual_network_gateways: VirtualNetworkGatewaysOperations operations + :vartype virtual_network_gateways: azure.mgmt.network.v2021_02_01.aio.operations.VirtualNetworkGatewaysOperations + :ivar virtual_network_gateway_connections: VirtualNetworkGatewayConnectionsOperations operations + :vartype virtual_network_gateway_connections: azure.mgmt.network.v2021_02_01.aio.operations.VirtualNetworkGatewayConnectionsOperations + :ivar local_network_gateways: LocalNetworkGatewaysOperations operations + :vartype local_network_gateways: azure.mgmt.network.v2021_02_01.aio.operations.LocalNetworkGatewaysOperations + :ivar virtual_network_gateway_nat_rules: VirtualNetworkGatewayNatRulesOperations operations + :vartype virtual_network_gateway_nat_rules: azure.mgmt.network.v2021_02_01.aio.operations.VirtualNetworkGatewayNatRulesOperations + :ivar virtual_network_taps: VirtualNetworkTapsOperations operations + :vartype virtual_network_taps: azure.mgmt.network.v2021_02_01.aio.operations.VirtualNetworkTapsOperations + :ivar virtual_routers: VirtualRoutersOperations operations + :vartype virtual_routers: azure.mgmt.network.v2021_02_01.aio.operations.VirtualRoutersOperations + :ivar virtual_router_peerings: VirtualRouterPeeringsOperations operations + :vartype virtual_router_peerings: azure.mgmt.network.v2021_02_01.aio.operations.VirtualRouterPeeringsOperations + :ivar virtual_wans: VirtualWansOperations operations + :vartype virtual_wans: azure.mgmt.network.v2021_02_01.aio.operations.VirtualWansOperations + :ivar vpn_sites: VpnSitesOperations operations + :vartype vpn_sites: azure.mgmt.network.v2021_02_01.aio.operations.VpnSitesOperations + :ivar vpn_site_links: VpnSiteLinksOperations operations + :vartype vpn_site_links: azure.mgmt.network.v2021_02_01.aio.operations.VpnSiteLinksOperations + :ivar vpn_sites_configuration: VpnSitesConfigurationOperations operations + :vartype vpn_sites_configuration: azure.mgmt.network.v2021_02_01.aio.operations.VpnSitesConfigurationOperations + :ivar vpn_server_configurations: VpnServerConfigurationsOperations operations + :vartype vpn_server_configurations: azure.mgmt.network.v2021_02_01.aio.operations.VpnServerConfigurationsOperations + :ivar virtual_hubs: VirtualHubsOperations operations + :vartype virtual_hubs: azure.mgmt.network.v2021_02_01.aio.operations.VirtualHubsOperations + :ivar hub_virtual_network_connections: HubVirtualNetworkConnectionsOperations operations + :vartype hub_virtual_network_connections: azure.mgmt.network.v2021_02_01.aio.operations.HubVirtualNetworkConnectionsOperations + :ivar vpn_gateways: VpnGatewaysOperations operations + :vartype vpn_gateways: azure.mgmt.network.v2021_02_01.aio.operations.VpnGatewaysOperations + :ivar vpn_link_connections: VpnLinkConnectionsOperations operations + :vartype vpn_link_connections: azure.mgmt.network.v2021_02_01.aio.operations.VpnLinkConnectionsOperations + :ivar vpn_connections: VpnConnectionsOperations operations + :vartype vpn_connections: azure.mgmt.network.v2021_02_01.aio.operations.VpnConnectionsOperations + :ivar vpn_site_link_connections: VpnSiteLinkConnectionsOperations operations + :vartype vpn_site_link_connections: azure.mgmt.network.v2021_02_01.aio.operations.VpnSiteLinkConnectionsOperations + :ivar nat_rules: NatRulesOperations operations + :vartype nat_rules: azure.mgmt.network.v2021_02_01.aio.operations.NatRulesOperations + :ivar p2_svpn_gateways: P2SVpnGatewaysOperations operations + :vartype p2_svpn_gateways: azure.mgmt.network.v2021_02_01.aio.operations.P2SVpnGatewaysOperations + :ivar vpn_server_configurations_associated_with_virtual_wan: VpnServerConfigurationsAssociatedWithVirtualWanOperations operations + :vartype vpn_server_configurations_associated_with_virtual_wan: azure.mgmt.network.v2021_02_01.aio.operations.VpnServerConfigurationsAssociatedWithVirtualWanOperations + :ivar virtual_hub_route_table_v2_s: VirtualHubRouteTableV2SOperations operations + :vartype virtual_hub_route_table_v2_s: azure.mgmt.network.v2021_02_01.aio.operations.VirtualHubRouteTableV2SOperations + :ivar express_route_gateways: ExpressRouteGatewaysOperations operations + :vartype express_route_gateways: azure.mgmt.network.v2021_02_01.aio.operations.ExpressRouteGatewaysOperations + :ivar express_route_connections: ExpressRouteConnectionsOperations operations + :vartype express_route_connections: azure.mgmt.network.v2021_02_01.aio.operations.ExpressRouteConnectionsOperations + :ivar virtual_hub_bgp_connection: VirtualHubBgpConnectionOperations operations + :vartype virtual_hub_bgp_connection: azure.mgmt.network.v2021_02_01.aio.operations.VirtualHubBgpConnectionOperations + :ivar virtual_hub_bgp_connections: VirtualHubBgpConnectionsOperations operations + :vartype virtual_hub_bgp_connections: azure.mgmt.network.v2021_02_01.aio.operations.VirtualHubBgpConnectionsOperations + :ivar virtual_hub_ip_configuration: VirtualHubIpConfigurationOperations operations + :vartype virtual_hub_ip_configuration: azure.mgmt.network.v2021_02_01.aio.operations.VirtualHubIpConfigurationOperations + :ivar hub_route_tables: HubRouteTablesOperations operations + :vartype hub_route_tables: azure.mgmt.network.v2021_02_01.aio.operations.HubRouteTablesOperations + :ivar web_application_firewall_policies: WebApplicationFirewallPoliciesOperations operations + :vartype web_application_firewall_policies: azure.mgmt.network.v2021_02_01.aio.operations.WebApplicationFirewallPoliciesOperations + :param credential: Credential needed for the client to connect to Azure. + :type credential: ~azure.core.credentials_async.AsyncTokenCredential + :param subscription_id: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + :type subscription_id: str + :param str base_url: Service URL + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + """ + + def __init__( + self, + credential: "AsyncTokenCredential", + subscription_id: str, + base_url: Optional[str] = None, + **kwargs: Any + ) -> None: + if not base_url: + base_url = 'https://management.azure.com' + self._config = NetworkManagementClientConfiguration(credential, subscription_id, **kwargs) + self._client = AsyncARMPipelineClient(base_url=base_url, config=self._config, **kwargs) + + client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} + self._serialize = Serializer(client_models) + self._serialize.client_side_validation = False + self._deserialize = Deserializer(client_models) + + self.application_gateways = ApplicationGatewaysOperations( + self._client, self._config, self._serialize, self._deserialize) + self.application_gateway_private_link_resources = ApplicationGatewayPrivateLinkResourcesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.application_gateway_private_endpoint_connections = ApplicationGatewayPrivateEndpointConnectionsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.application_security_groups = ApplicationSecurityGroupsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.available_delegations = AvailableDelegationsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.available_resource_group_delegations = AvailableResourceGroupDelegationsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.available_service_aliases = AvailableServiceAliasesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.azure_firewalls = AzureFirewallsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.azure_firewall_fqdn_tags = AzureFirewallFqdnTagsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.web_categories = WebCategoriesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.bastion_hosts = BastionHostsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.network_interfaces = NetworkInterfacesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.public_ip_addresses = PublicIPAddressesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.custom_ip_prefixes = CustomIPPrefixesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.ddos_custom_policies = DdosCustomPoliciesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.ddos_protection_plans = DdosProtectionPlansOperations( + self._client, self._config, self._serialize, self._deserialize) + self.dscp_configuration = DscpConfigurationOperations( + self._client, self._config, self._serialize, self._deserialize) + self.available_endpoint_services = AvailableEndpointServicesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.express_route_circuit_authorizations = ExpressRouteCircuitAuthorizationsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.express_route_circuit_peerings = ExpressRouteCircuitPeeringsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.express_route_circuit_connections = ExpressRouteCircuitConnectionsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.peer_express_route_circuit_connections = PeerExpressRouteCircuitConnectionsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.express_route_circuits = ExpressRouteCircuitsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.express_route_service_providers = ExpressRouteServiceProvidersOperations( + self._client, self._config, self._serialize, self._deserialize) + self.express_route_cross_connections = ExpressRouteCrossConnectionsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.express_route_cross_connection_peerings = ExpressRouteCrossConnectionPeeringsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.express_route_ports_locations = ExpressRoutePortsLocationsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.express_route_ports = ExpressRoutePortsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.express_route_links = ExpressRouteLinksOperations( + self._client, self._config, self._serialize, self._deserialize) + self.firewall_policies = FirewallPoliciesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.firewall_policy_rule_collection_groups = FirewallPolicyRuleCollectionGroupsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.ip_allocations = IpAllocationsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.ip_groups = IpGroupsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.load_balancers = LoadBalancersOperations( + self._client, self._config, self._serialize, self._deserialize) + self.load_balancer_backend_address_pools = LoadBalancerBackendAddressPoolsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.load_balancer_frontend_ip_configurations = LoadBalancerFrontendIPConfigurationsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.inbound_nat_rules = InboundNatRulesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.load_balancer_load_balancing_rules = LoadBalancerLoadBalancingRulesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.load_balancer_outbound_rules = LoadBalancerOutboundRulesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.load_balancer_network_interfaces = LoadBalancerNetworkInterfacesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.load_balancer_probes = LoadBalancerProbesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.nat_gateways = NatGatewaysOperations( + self._client, self._config, self._serialize, self._deserialize) + self.network_interface_ip_configurations = NetworkInterfaceIPConfigurationsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.network_interface_load_balancers = NetworkInterfaceLoadBalancersOperations( + self._client, self._config, self._serialize, self._deserialize) + self.network_interface_tap_configurations = NetworkInterfaceTapConfigurationsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.network_profiles = NetworkProfilesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.network_security_groups = NetworkSecurityGroupsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.security_rules = SecurityRulesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.default_security_rules = DefaultSecurityRulesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.network_virtual_appliances = NetworkVirtualAppliancesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.virtual_appliance_sites = VirtualApplianceSitesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.virtual_appliance_skus = VirtualApplianceSkusOperations( + self._client, self._config, self._serialize, self._deserialize) + self.inbound_security_rule = InboundSecurityRuleOperations( + self._client, self._config, self._serialize, self._deserialize) + self.network_watchers = NetworkWatchersOperations( + self._client, self._config, self._serialize, self._deserialize) + self.packet_captures = PacketCapturesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.connection_monitors = ConnectionMonitorsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.flow_logs = FlowLogsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.operations = Operations( + self._client, self._config, self._serialize, self._deserialize) + self.private_endpoints = PrivateEndpointsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.available_private_endpoint_types = AvailablePrivateEndpointTypesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.private_dns_zone_groups = PrivateDnsZoneGroupsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.private_link_services = PrivateLinkServicesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.public_ip_prefixes = PublicIPPrefixesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.route_filters = RouteFiltersOperations( + self._client, self._config, self._serialize, self._deserialize) + self.route_filter_rules = RouteFilterRulesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.route_tables = RouteTablesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.routes = RoutesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.security_partner_providers = SecurityPartnerProvidersOperations( + self._client, self._config, self._serialize, self._deserialize) + self.bgp_service_communities = BgpServiceCommunitiesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.service_endpoint_policies = ServiceEndpointPoliciesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.service_endpoint_policy_definitions = ServiceEndpointPolicyDefinitionsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.service_tags = ServiceTagsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.usages = UsagesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.virtual_networks = VirtualNetworksOperations( + self._client, self._config, self._serialize, self._deserialize) + self.subnets = SubnetsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.resource_navigation_links = ResourceNavigationLinksOperations( + self._client, self._config, self._serialize, self._deserialize) + self.service_association_links = ServiceAssociationLinksOperations( + self._client, self._config, self._serialize, self._deserialize) + self.virtual_network_peerings = VirtualNetworkPeeringsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.virtual_network_gateways = VirtualNetworkGatewaysOperations( + self._client, self._config, self._serialize, self._deserialize) + self.virtual_network_gateway_connections = VirtualNetworkGatewayConnectionsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.local_network_gateways = LocalNetworkGatewaysOperations( + self._client, self._config, self._serialize, self._deserialize) + self.virtual_network_gateway_nat_rules = VirtualNetworkGatewayNatRulesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.virtual_network_taps = VirtualNetworkTapsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.virtual_routers = VirtualRoutersOperations( + self._client, self._config, self._serialize, self._deserialize) + self.virtual_router_peerings = VirtualRouterPeeringsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.virtual_wans = VirtualWansOperations( + self._client, self._config, self._serialize, self._deserialize) + self.vpn_sites = VpnSitesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.vpn_site_links = VpnSiteLinksOperations( + self._client, self._config, self._serialize, self._deserialize) + self.vpn_sites_configuration = VpnSitesConfigurationOperations( + self._client, self._config, self._serialize, self._deserialize) + self.vpn_server_configurations = VpnServerConfigurationsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.virtual_hubs = VirtualHubsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.hub_virtual_network_connections = HubVirtualNetworkConnectionsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.vpn_gateways = VpnGatewaysOperations( + self._client, self._config, self._serialize, self._deserialize) + self.vpn_link_connections = VpnLinkConnectionsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.vpn_connections = VpnConnectionsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.vpn_site_link_connections = VpnSiteLinkConnectionsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.nat_rules = NatRulesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.p2_svpn_gateways = P2SVpnGatewaysOperations( + self._client, self._config, self._serialize, self._deserialize) + self.vpn_server_configurations_associated_with_virtual_wan = VpnServerConfigurationsAssociatedWithVirtualWanOperations( + self._client, self._config, self._serialize, self._deserialize) + self.virtual_hub_route_table_v2_s = VirtualHubRouteTableV2SOperations( + self._client, self._config, self._serialize, self._deserialize) + self.express_route_gateways = ExpressRouteGatewaysOperations( + self._client, self._config, self._serialize, self._deserialize) + self.express_route_connections = ExpressRouteConnectionsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.virtual_hub_bgp_connection = VirtualHubBgpConnectionOperations( + self._client, self._config, self._serialize, self._deserialize) + self.virtual_hub_bgp_connections = VirtualHubBgpConnectionsOperations( + self._client, self._config, self._serialize, self._deserialize) + self.virtual_hub_ip_configuration = VirtualHubIpConfigurationOperations( + self._client, self._config, self._serialize, self._deserialize) + self.hub_route_tables = HubRouteTablesOperations( + self._client, self._config, self._serialize, self._deserialize) + self.web_application_firewall_policies = WebApplicationFirewallPoliciesOperations( + self._client, self._config, self._serialize, self._deserialize) + + async def _send_request(self, http_request: HttpRequest, **kwargs: Any) -> AsyncHttpResponse: + """Runs the network request through the client's chained policies. + + :param http_request: The network request you want to make. Required. + :type http_request: ~azure.core.pipeline.transport.HttpRequest + :keyword bool stream: Whether the response payload will be streamed. Defaults to True. + :return: The response of your network call. Does not do error handling on your response. + :rtype: ~azure.core.pipeline.transport.AsyncHttpResponse + """ + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + http_request.url = self._client.format_url(http_request.url, **path_format_arguments) + stream = kwargs.pop("stream", True) + pipeline_response = await self._client._pipeline.run(http_request, stream=stream, **kwargs) + return pipeline_response.http_response + + async def close(self) -> None: + await self._client.close() + + async def __aenter__(self) -> "NetworkManagementClient": + await self._client.__aenter__() + return self + + async def __aexit__(self, *exc_details) -> None: + await self._client.__aexit__(*exc_details) diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/__init__.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/__init__.py new file mode 100644 index 000000000000..d1f7a6e542a4 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/__init__.py @@ -0,0 +1,227 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from ._application_gateways_operations import ApplicationGatewaysOperations +from ._application_gateway_private_link_resources_operations import ApplicationGatewayPrivateLinkResourcesOperations +from ._application_gateway_private_endpoint_connections_operations import ApplicationGatewayPrivateEndpointConnectionsOperations +from ._application_security_groups_operations import ApplicationSecurityGroupsOperations +from ._available_delegations_operations import AvailableDelegationsOperations +from ._available_resource_group_delegations_operations import AvailableResourceGroupDelegationsOperations +from ._available_service_aliases_operations import AvailableServiceAliasesOperations +from ._azure_firewalls_operations import AzureFirewallsOperations +from ._azure_firewall_fqdn_tags_operations import AzureFirewallFqdnTagsOperations +from ._web_categories_operations import WebCategoriesOperations +from ._bastion_hosts_operations import BastionHostsOperations +from ._network_management_client_operations import NetworkManagementClientOperationsMixin +from ._network_interfaces_operations import NetworkInterfacesOperations +from ._public_ip_addresses_operations import PublicIPAddressesOperations +from ._custom_ip_prefixes_operations import CustomIPPrefixesOperations +from ._ddos_custom_policies_operations import DdosCustomPoliciesOperations +from ._ddos_protection_plans_operations import DdosProtectionPlansOperations +from ._dscp_configuration_operations import DscpConfigurationOperations +from ._available_endpoint_services_operations import AvailableEndpointServicesOperations +from ._express_route_circuit_authorizations_operations import ExpressRouteCircuitAuthorizationsOperations +from ._express_route_circuit_peerings_operations import ExpressRouteCircuitPeeringsOperations +from ._express_route_circuit_connections_operations import ExpressRouteCircuitConnectionsOperations +from ._peer_express_route_circuit_connections_operations import PeerExpressRouteCircuitConnectionsOperations +from ._express_route_circuits_operations import ExpressRouteCircuitsOperations +from ._express_route_service_providers_operations import ExpressRouteServiceProvidersOperations +from ._express_route_cross_connections_operations import ExpressRouteCrossConnectionsOperations +from ._express_route_cross_connection_peerings_operations import ExpressRouteCrossConnectionPeeringsOperations +from ._express_route_ports_locations_operations import ExpressRoutePortsLocationsOperations +from ._express_route_ports_operations import ExpressRoutePortsOperations +from ._express_route_links_operations import ExpressRouteLinksOperations +from ._firewall_policies_operations import FirewallPoliciesOperations +from ._firewall_policy_rule_collection_groups_operations import FirewallPolicyRuleCollectionGroupsOperations +from ._ip_allocations_operations import IpAllocationsOperations +from ._ip_groups_operations import IpGroupsOperations +from ._load_balancers_operations import LoadBalancersOperations +from ._load_balancer_backend_address_pools_operations import LoadBalancerBackendAddressPoolsOperations +from ._load_balancer_frontend_ip_configurations_operations import LoadBalancerFrontendIPConfigurationsOperations +from ._inbound_nat_rules_operations import InboundNatRulesOperations +from ._load_balancer_load_balancing_rules_operations import LoadBalancerLoadBalancingRulesOperations +from ._load_balancer_outbound_rules_operations import LoadBalancerOutboundRulesOperations +from ._load_balancer_network_interfaces_operations import LoadBalancerNetworkInterfacesOperations +from ._load_balancer_probes_operations import LoadBalancerProbesOperations +from ._nat_gateways_operations import NatGatewaysOperations +from ._network_interface_ip_configurations_operations import NetworkInterfaceIPConfigurationsOperations +from ._network_interface_load_balancers_operations import NetworkInterfaceLoadBalancersOperations +from ._network_interface_tap_configurations_operations import NetworkInterfaceTapConfigurationsOperations +from ._network_profiles_operations import NetworkProfilesOperations +from ._network_security_groups_operations import NetworkSecurityGroupsOperations +from ._security_rules_operations import SecurityRulesOperations +from ._default_security_rules_operations import DefaultSecurityRulesOperations +from ._network_virtual_appliances_operations import NetworkVirtualAppliancesOperations +from ._virtual_appliance_sites_operations import VirtualApplianceSitesOperations +from ._virtual_appliance_skus_operations import VirtualApplianceSkusOperations +from ._inbound_security_rule_operations import InboundSecurityRuleOperations +from ._network_watchers_operations import NetworkWatchersOperations +from ._packet_captures_operations import PacketCapturesOperations +from ._connection_monitors_operations import ConnectionMonitorsOperations +from ._flow_logs_operations import FlowLogsOperations +from ._operations import Operations +from ._private_endpoints_operations import PrivateEndpointsOperations +from ._available_private_endpoint_types_operations import AvailablePrivateEndpointTypesOperations +from ._private_dns_zone_groups_operations import PrivateDnsZoneGroupsOperations +from ._private_link_services_operations import PrivateLinkServicesOperations +from ._public_ip_prefixes_operations import PublicIPPrefixesOperations +from ._route_filters_operations import RouteFiltersOperations +from ._route_filter_rules_operations import RouteFilterRulesOperations +from ._route_tables_operations import RouteTablesOperations +from ._routes_operations import RoutesOperations +from ._security_partner_providers_operations import SecurityPartnerProvidersOperations +from ._bgp_service_communities_operations import BgpServiceCommunitiesOperations +from ._service_endpoint_policies_operations import ServiceEndpointPoliciesOperations +from ._service_endpoint_policy_definitions_operations import ServiceEndpointPolicyDefinitionsOperations +from ._service_tags_operations import ServiceTagsOperations +from ._usages_operations import UsagesOperations +from ._virtual_networks_operations import VirtualNetworksOperations +from ._subnets_operations import SubnetsOperations +from ._resource_navigation_links_operations import ResourceNavigationLinksOperations +from ._service_association_links_operations import ServiceAssociationLinksOperations +from ._virtual_network_peerings_operations import VirtualNetworkPeeringsOperations +from ._virtual_network_gateways_operations import VirtualNetworkGatewaysOperations +from ._virtual_network_gateway_connections_operations import VirtualNetworkGatewayConnectionsOperations +from ._local_network_gateways_operations import LocalNetworkGatewaysOperations +from ._virtual_network_gateway_nat_rules_operations import VirtualNetworkGatewayNatRulesOperations +from ._virtual_network_taps_operations import VirtualNetworkTapsOperations +from ._virtual_routers_operations import VirtualRoutersOperations +from ._virtual_router_peerings_operations import VirtualRouterPeeringsOperations +from ._virtual_wans_operations import VirtualWansOperations +from ._vpn_sites_operations import VpnSitesOperations +from ._vpn_site_links_operations import VpnSiteLinksOperations +from ._vpn_sites_configuration_operations import VpnSitesConfigurationOperations +from ._vpn_server_configurations_operations import VpnServerConfigurationsOperations +from ._virtual_hubs_operations import VirtualHubsOperations +from ._hub_virtual_network_connections_operations import HubVirtualNetworkConnectionsOperations +from ._vpn_gateways_operations import VpnGatewaysOperations +from ._vpn_link_connections_operations import VpnLinkConnectionsOperations +from ._vpn_connections_operations import VpnConnectionsOperations +from ._vpn_site_link_connections_operations import VpnSiteLinkConnectionsOperations +from ._nat_rules_operations import NatRulesOperations +from ._p2_svpn_gateways_operations import P2SVpnGatewaysOperations +from ._vpn_server_configurations_associated_with_virtual_wan_operations import VpnServerConfigurationsAssociatedWithVirtualWanOperations +from ._virtual_hub_route_table_v2_s_operations import VirtualHubRouteTableV2SOperations +from ._express_route_gateways_operations import ExpressRouteGatewaysOperations +from ._express_route_connections_operations import ExpressRouteConnectionsOperations +from ._virtual_hub_bgp_connection_operations import VirtualHubBgpConnectionOperations +from ._virtual_hub_bgp_connections_operations import VirtualHubBgpConnectionsOperations +from ._virtual_hub_ip_configuration_operations import VirtualHubIpConfigurationOperations +from ._hub_route_tables_operations import HubRouteTablesOperations +from ._web_application_firewall_policies_operations import WebApplicationFirewallPoliciesOperations + +__all__ = [ + 'ApplicationGatewaysOperations', + 'ApplicationGatewayPrivateLinkResourcesOperations', + 'ApplicationGatewayPrivateEndpointConnectionsOperations', + 'ApplicationSecurityGroupsOperations', + 'AvailableDelegationsOperations', + 'AvailableResourceGroupDelegationsOperations', + 'AvailableServiceAliasesOperations', + 'AzureFirewallsOperations', + 'AzureFirewallFqdnTagsOperations', + 'WebCategoriesOperations', + 'BastionHostsOperations', + 'NetworkManagementClientOperationsMixin', + 'NetworkInterfacesOperations', + 'PublicIPAddressesOperations', + 'CustomIPPrefixesOperations', + 'DdosCustomPoliciesOperations', + 'DdosProtectionPlansOperations', + 'DscpConfigurationOperations', + 'AvailableEndpointServicesOperations', + 'ExpressRouteCircuitAuthorizationsOperations', + 'ExpressRouteCircuitPeeringsOperations', + 'ExpressRouteCircuitConnectionsOperations', + 'PeerExpressRouteCircuitConnectionsOperations', + 'ExpressRouteCircuitsOperations', + 'ExpressRouteServiceProvidersOperations', + 'ExpressRouteCrossConnectionsOperations', + 'ExpressRouteCrossConnectionPeeringsOperations', + 'ExpressRoutePortsLocationsOperations', + 'ExpressRoutePortsOperations', + 'ExpressRouteLinksOperations', + 'FirewallPoliciesOperations', + 'FirewallPolicyRuleCollectionGroupsOperations', + 'IpAllocationsOperations', + 'IpGroupsOperations', + 'LoadBalancersOperations', + 'LoadBalancerBackendAddressPoolsOperations', + 'LoadBalancerFrontendIPConfigurationsOperations', + 'InboundNatRulesOperations', + 'LoadBalancerLoadBalancingRulesOperations', + 'LoadBalancerOutboundRulesOperations', + 'LoadBalancerNetworkInterfacesOperations', + 'LoadBalancerProbesOperations', + 'NatGatewaysOperations', + 'NetworkInterfaceIPConfigurationsOperations', + 'NetworkInterfaceLoadBalancersOperations', + 'NetworkInterfaceTapConfigurationsOperations', + 'NetworkProfilesOperations', + 'NetworkSecurityGroupsOperations', + 'SecurityRulesOperations', + 'DefaultSecurityRulesOperations', + 'NetworkVirtualAppliancesOperations', + 'VirtualApplianceSitesOperations', + 'VirtualApplianceSkusOperations', + 'InboundSecurityRuleOperations', + 'NetworkWatchersOperations', + 'PacketCapturesOperations', + 'ConnectionMonitorsOperations', + 'FlowLogsOperations', + 'Operations', + 'PrivateEndpointsOperations', + 'AvailablePrivateEndpointTypesOperations', + 'PrivateDnsZoneGroupsOperations', + 'PrivateLinkServicesOperations', + 'PublicIPPrefixesOperations', + 'RouteFiltersOperations', + 'RouteFilterRulesOperations', + 'RouteTablesOperations', + 'RoutesOperations', + 'SecurityPartnerProvidersOperations', + 'BgpServiceCommunitiesOperations', + 'ServiceEndpointPoliciesOperations', + 'ServiceEndpointPolicyDefinitionsOperations', + 'ServiceTagsOperations', + 'UsagesOperations', + 'VirtualNetworksOperations', + 'SubnetsOperations', + 'ResourceNavigationLinksOperations', + 'ServiceAssociationLinksOperations', + 'VirtualNetworkPeeringsOperations', + 'VirtualNetworkGatewaysOperations', + 'VirtualNetworkGatewayConnectionsOperations', + 'LocalNetworkGatewaysOperations', + 'VirtualNetworkGatewayNatRulesOperations', + 'VirtualNetworkTapsOperations', + 'VirtualRoutersOperations', + 'VirtualRouterPeeringsOperations', + 'VirtualWansOperations', + 'VpnSitesOperations', + 'VpnSiteLinksOperations', + 'VpnSitesConfigurationOperations', + 'VpnServerConfigurationsOperations', + 'VirtualHubsOperations', + 'HubVirtualNetworkConnectionsOperations', + 'VpnGatewaysOperations', + 'VpnLinkConnectionsOperations', + 'VpnConnectionsOperations', + 'VpnSiteLinkConnectionsOperations', + 'NatRulesOperations', + 'P2SVpnGatewaysOperations', + 'VpnServerConfigurationsAssociatedWithVirtualWanOperations', + 'VirtualHubRouteTableV2SOperations', + 'ExpressRouteGatewaysOperations', + 'ExpressRouteConnectionsOperations', + 'VirtualHubBgpConnectionOperations', + 'VirtualHubBgpConnectionsOperations', + 'VirtualHubIpConfigurationOperations', + 'HubRouteTablesOperations', + 'WebApplicationFirewallPoliciesOperations', +] diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_application_gateway_private_endpoint_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_application_gateway_private_endpoint_connections_operations.py new file mode 100644 index 000000000000..137f3b8835cc --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_application_gateway_private_endpoint_connections_operations.py @@ -0,0 +1,429 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class ApplicationGatewayPrivateEndpointConnectionsOperations: + """ApplicationGatewayPrivateEndpointConnectionsOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def _delete_initial( + self, + resource_group_name: str, + application_gateway_name: str, + connection_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'applicationGatewayName': self._serialize.url("application_gateway_name", application_gateway_name, 'str'), + 'connectionName': self._serialize.url("connection_name", connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/privateEndpointConnections/{connectionName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + application_gateway_name: str, + connection_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the specified private endpoint connection on application gateway. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param application_gateway_name: The name of the application gateway. + :type application_gateway_name: str + :param connection_name: The name of the application gateway private endpoint connection. + :type connection_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + application_gateway_name=application_gateway_name, + connection_name=connection_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'applicationGatewayName': self._serialize.url("application_gateway_name", application_gateway_name, 'str'), + 'connectionName': self._serialize.url("connection_name", connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/privateEndpointConnections/{connectionName}'} # type: ignore + + async def _update_initial( + self, + resource_group_name: str, + application_gateway_name: str, + connection_name: str, + parameters: "_models.ApplicationGatewayPrivateEndpointConnection", + **kwargs + ) -> Optional["_models.ApplicationGatewayPrivateEndpointConnection"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.ApplicationGatewayPrivateEndpointConnection"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'applicationGatewayName': self._serialize.url("application_gateway_name", application_gateway_name, 'str'), + 'connectionName': self._serialize.url("connection_name", connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'ApplicationGatewayPrivateEndpointConnection') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('ApplicationGatewayPrivateEndpointConnection', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/privateEndpointConnections/{connectionName}'} # type: ignore + + async def begin_update( + self, + resource_group_name: str, + application_gateway_name: str, + connection_name: str, + parameters: "_models.ApplicationGatewayPrivateEndpointConnection", + **kwargs + ) -> AsyncLROPoller["_models.ApplicationGatewayPrivateEndpointConnection"]: + """Updates the specified private endpoint connection on application gateway. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param application_gateway_name: The name of the application gateway. + :type application_gateway_name: str + :param connection_name: The name of the application gateway private endpoint connection. + :type connection_name: str + :param parameters: Parameters supplied to update application gateway private endpoint + connection operation. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayPrivateEndpointConnection + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either ApplicationGatewayPrivateEndpointConnection or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayPrivateEndpointConnection] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.ApplicationGatewayPrivateEndpointConnection"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._update_initial( + resource_group_name=resource_group_name, + application_gateway_name=application_gateway_name, + connection_name=connection_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('ApplicationGatewayPrivateEndpointConnection', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'applicationGatewayName': self._serialize.url("application_gateway_name", application_gateway_name, 'str'), + 'connectionName': self._serialize.url("connection_name", connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/privateEndpointConnections/{connectionName}'} # type: ignore + + async def get( + self, + resource_group_name: str, + application_gateway_name: str, + connection_name: str, + **kwargs + ) -> "_models.ApplicationGatewayPrivateEndpointConnection": + """Gets the specified private endpoint connection on application gateway. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param application_gateway_name: The name of the application gateway. + :type application_gateway_name: str + :param connection_name: The name of the application gateway private endpoint connection. + :type connection_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ApplicationGatewayPrivateEndpointConnection, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayPrivateEndpointConnection + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ApplicationGatewayPrivateEndpointConnection"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'applicationGatewayName': self._serialize.url("application_gateway_name", application_gateway_name, 'str'), + 'connectionName': self._serialize.url("connection_name", connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ApplicationGatewayPrivateEndpointConnection', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/privateEndpointConnections/{connectionName}'} # type: ignore + + def list( + self, + resource_group_name: str, + application_gateway_name: str, + **kwargs + ) -> AsyncIterable["_models.ApplicationGatewayPrivateEndpointConnectionListResult"]: + """Lists all private endpoint connections on an application gateway. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param application_gateway_name: The name of the application gateway. + :type application_gateway_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ApplicationGatewayPrivateEndpointConnectionListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayPrivateEndpointConnectionListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ApplicationGatewayPrivateEndpointConnectionListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'applicationGatewayName': self._serialize.url("application_gateway_name", application_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('ApplicationGatewayPrivateEndpointConnectionListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/privateEndpointConnections'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_application_gateway_private_link_resources_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_application_gateway_private_link_resources_operations.py new file mode 100644 index 000000000000..8b6ad1a1d9e3 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_application_gateway_private_link_resources_operations.py @@ -0,0 +1,116 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class ApplicationGatewayPrivateLinkResourcesOperations: + """ApplicationGatewayPrivateLinkResourcesOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + resource_group_name: str, + application_gateway_name: str, + **kwargs + ) -> AsyncIterable["_models.ApplicationGatewayPrivateLinkResourceListResult"]: + """Lists all private link resources on an application gateway. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param application_gateway_name: The name of the application gateway. + :type application_gateway_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ApplicationGatewayPrivateLinkResourceListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayPrivateLinkResourceListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ApplicationGatewayPrivateLinkResourceListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'applicationGatewayName': self._serialize.url("application_gateway_name", application_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('ApplicationGatewayPrivateLinkResourceListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/privateLinkResources'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_application_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_application_gateways_operations.py new file mode 100644 index 000000000000..c266f91aa78c --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_application_gateways_operations.py @@ -0,0 +1,1386 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, List, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class ApplicationGatewaysOperations: + """ApplicationGatewaysOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def _delete_initial( + self, + resource_group_name: str, + application_gateway_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'applicationGatewayName': self._serialize.url("application_gateway_name", application_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + application_gateway_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the specified application gateway. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param application_gateway_name: The name of the application gateway. + :type application_gateway_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + application_gateway_name=application_gateway_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'applicationGatewayName': self._serialize.url("application_gateway_name", application_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}'} # type: ignore + + async def get( + self, + resource_group_name: str, + application_gateway_name: str, + **kwargs + ) -> "_models.ApplicationGateway": + """Gets the specified application gateway. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param application_gateway_name: The name of the application gateway. + :type application_gateway_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ApplicationGateway, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.ApplicationGateway + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ApplicationGateway"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'applicationGatewayName': self._serialize.url("application_gateway_name", application_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ApplicationGateway', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}'} # type: ignore + + async def _create_or_update_initial( + self, + resource_group_name: str, + application_gateway_name: str, + parameters: "_models.ApplicationGateway", + **kwargs + ) -> "_models.ApplicationGateway": + cls = kwargs.pop('cls', None) # type: ClsType["_models.ApplicationGateway"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'applicationGatewayName': self._serialize.url("application_gateway_name", application_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'ApplicationGateway') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('ApplicationGateway', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('ApplicationGateway', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}'} # type: ignore + + async def begin_create_or_update( + self, + resource_group_name: str, + application_gateway_name: str, + parameters: "_models.ApplicationGateway", + **kwargs + ) -> AsyncLROPoller["_models.ApplicationGateway"]: + """Creates or updates the specified application gateway. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param application_gateway_name: The name of the application gateway. + :type application_gateway_name: str + :param parameters: Parameters supplied to the create or update application gateway operation. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.ApplicationGateway + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either ApplicationGateway or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.ApplicationGateway] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.ApplicationGateway"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + resource_group_name=resource_group_name, + application_gateway_name=application_gateway_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('ApplicationGateway', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'applicationGatewayName': self._serialize.url("application_gateway_name", application_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}'} # type: ignore + + async def update_tags( + self, + resource_group_name: str, + application_gateway_name: str, + parameters: "_models.TagsObject", + **kwargs + ) -> "_models.ApplicationGateway": + """Updates the specified application gateway tags. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param application_gateway_name: The name of the application gateway. + :type application_gateway_name: str + :param parameters: Parameters supplied to update application gateway tags. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.TagsObject + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ApplicationGateway, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.ApplicationGateway + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ApplicationGateway"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update_tags.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'applicationGatewayName': self._serialize.url("application_gateway_name", application_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'TagsObject') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ApplicationGateway', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}'} # type: ignore + + def list( + self, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["_models.ApplicationGatewayListResult"]: + """Lists all application gateways in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ApplicationGatewayListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ApplicationGatewayListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('ApplicationGatewayListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways'} # type: ignore + + def list_all( + self, + **kwargs + ) -> AsyncIterable["_models.ApplicationGatewayListResult"]: + """Gets all the application gateways in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ApplicationGatewayListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ApplicationGatewayListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_all.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('ApplicationGatewayListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_all.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGateways'} # type: ignore + + async def _start_initial( + self, + resource_group_name: str, + application_gateway_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._start_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'applicationGatewayName': self._serialize.url("application_gateway_name", application_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _start_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/start'} # type: ignore + + async def begin_start( + self, + resource_group_name: str, + application_gateway_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Starts the specified application gateway. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param application_gateway_name: The name of the application gateway. + :type application_gateway_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._start_initial( + resource_group_name=resource_group_name, + application_gateway_name=application_gateway_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'applicationGatewayName': self._serialize.url("application_gateway_name", application_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_start.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/start'} # type: ignore + + async def _stop_initial( + self, + resource_group_name: str, + application_gateway_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._stop_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'applicationGatewayName': self._serialize.url("application_gateway_name", application_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _stop_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/stop'} # type: ignore + + async def begin_stop( + self, + resource_group_name: str, + application_gateway_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Stops the specified application gateway in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param application_gateway_name: The name of the application gateway. + :type application_gateway_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._stop_initial( + resource_group_name=resource_group_name, + application_gateway_name=application_gateway_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'applicationGatewayName': self._serialize.url("application_gateway_name", application_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_stop.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/stop'} # type: ignore + + async def _backend_health_initial( + self, + resource_group_name: str, + application_gateway_name: str, + expand: Optional[str] = None, + **kwargs + ) -> Optional["_models.ApplicationGatewayBackendHealth"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.ApplicationGatewayBackendHealth"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._backend_health_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'applicationGatewayName': self._serialize.url("application_gateway_name", application_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('ApplicationGatewayBackendHealth', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _backend_health_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/backendhealth'} # type: ignore + + async def begin_backend_health( + self, + resource_group_name: str, + application_gateway_name: str, + expand: Optional[str] = None, + **kwargs + ) -> AsyncLROPoller["_models.ApplicationGatewayBackendHealth"]: + """Gets the backend health of the specified application gateway in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param application_gateway_name: The name of the application gateway. + :type application_gateway_name: str + :param expand: Expands BackendAddressPool and BackendHttpSettings referenced in backend health. + :type expand: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either ApplicationGatewayBackendHealth or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayBackendHealth] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.ApplicationGatewayBackendHealth"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._backend_health_initial( + resource_group_name=resource_group_name, + application_gateway_name=application_gateway_name, + expand=expand, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('ApplicationGatewayBackendHealth', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'applicationGatewayName': self._serialize.url("application_gateway_name", application_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_backend_health.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/backendhealth'} # type: ignore + + async def _backend_health_on_demand_initial( + self, + resource_group_name: str, + application_gateway_name: str, + probe_request: "_models.ApplicationGatewayOnDemandProbe", + expand: Optional[str] = None, + **kwargs + ) -> Optional["_models.ApplicationGatewayBackendHealthOnDemand"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.ApplicationGatewayBackendHealthOnDemand"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._backend_health_on_demand_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'applicationGatewayName': self._serialize.url("application_gateway_name", application_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(probe_request, 'ApplicationGatewayOnDemandProbe') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('ApplicationGatewayBackendHealthOnDemand', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _backend_health_on_demand_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/getBackendHealthOnDemand'} # type: ignore + + async def begin_backend_health_on_demand( + self, + resource_group_name: str, + application_gateway_name: str, + probe_request: "_models.ApplicationGatewayOnDemandProbe", + expand: Optional[str] = None, + **kwargs + ) -> AsyncLROPoller["_models.ApplicationGatewayBackendHealthOnDemand"]: + """Gets the backend health for given combination of backend pool and http setting of the specified + application gateway in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param application_gateway_name: The name of the application gateway. + :type application_gateway_name: str + :param probe_request: Request body for on-demand test probe operation. + :type probe_request: ~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayOnDemandProbe + :param expand: Expands BackendAddressPool and BackendHttpSettings referenced in backend health. + :type expand: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either ApplicationGatewayBackendHealthOnDemand or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayBackendHealthOnDemand] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.ApplicationGatewayBackendHealthOnDemand"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._backend_health_on_demand_initial( + resource_group_name=resource_group_name, + application_gateway_name=application_gateway_name, + probe_request=probe_request, + expand=expand, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('ApplicationGatewayBackendHealthOnDemand', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'applicationGatewayName': self._serialize.url("application_gateway_name", application_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_backend_health_on_demand.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/getBackendHealthOnDemand'} # type: ignore + + async def list_available_server_variables( + self, + **kwargs + ) -> List[str]: + """Lists all available server variables. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: list of str, or the result of cls(response) + :rtype: list[str] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType[List[str]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.list_available_server_variables.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.Error, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('[str]', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + list_available_server_variables.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableServerVariables'} # type: ignore + + async def list_available_request_headers( + self, + **kwargs + ) -> List[str]: + """Lists all available request headers. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: list of str, or the result of cls(response) + :rtype: list[str] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType[List[str]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.list_available_request_headers.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.Error, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('[str]', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + list_available_request_headers.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableRequestHeaders'} # type: ignore + + async def list_available_response_headers( + self, + **kwargs + ) -> List[str]: + """Lists all available response headers. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: list of str, or the result of cls(response) + :rtype: list[str] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType[List[str]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.list_available_response_headers.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.Error, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('[str]', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + list_available_response_headers.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableResponseHeaders'} # type: ignore + + async def list_available_waf_rule_sets( + self, + **kwargs + ) -> "_models.ApplicationGatewayAvailableWafRuleSetsResult": + """Lists all available web application firewall rule sets. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ApplicationGatewayAvailableWafRuleSetsResult, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayAvailableWafRuleSetsResult + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ApplicationGatewayAvailableWafRuleSetsResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.list_available_waf_rule_sets.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ApplicationGatewayAvailableWafRuleSetsResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + list_available_waf_rule_sets.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableWafRuleSets'} # type: ignore + + async def list_available_ssl_options( + self, + **kwargs + ) -> "_models.ApplicationGatewayAvailableSslOptions": + """Lists available Ssl options for configuring Ssl policy. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ApplicationGatewayAvailableSslOptions, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayAvailableSslOptions + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ApplicationGatewayAvailableSslOptions"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.list_available_ssl_options.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ApplicationGatewayAvailableSslOptions', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + list_available_ssl_options.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default'} # type: ignore + + def list_available_ssl_predefined_policies( + self, + **kwargs + ) -> AsyncIterable["_models.ApplicationGatewayAvailableSslPredefinedPolicies"]: + """Lists all SSL predefined policies for configuring Ssl policy. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ApplicationGatewayAvailableSslPredefinedPolicies or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayAvailableSslPredefinedPolicies] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ApplicationGatewayAvailableSslPredefinedPolicies"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_available_ssl_predefined_policies.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('ApplicationGatewayAvailableSslPredefinedPolicies', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_available_ssl_predefined_policies.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default/predefinedPolicies'} # type: ignore + + async def get_ssl_predefined_policy( + self, + predefined_policy_name: str, + **kwargs + ) -> "_models.ApplicationGatewaySslPredefinedPolicy": + """Gets Ssl predefined policy with the specified policy name. + + :param predefined_policy_name: Name of Ssl predefined policy. + :type predefined_policy_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ApplicationGatewaySslPredefinedPolicy, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.ApplicationGatewaySslPredefinedPolicy + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ApplicationGatewaySslPredefinedPolicy"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get_ssl_predefined_policy.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'predefinedPolicyName': self._serialize.url("predefined_policy_name", predefined_policy_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ApplicationGatewaySslPredefinedPolicy', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_ssl_predefined_policy.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default/predefinedPolicies/{predefinedPolicyName}'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_application_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_application_security_groups_operations.py new file mode 100644 index 000000000000..a0a115bb5142 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_application_security_groups_operations.py @@ -0,0 +1,541 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class ApplicationSecurityGroupsOperations: + """ApplicationSecurityGroupsOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def _delete_initial( + self, + resource_group_name: str, + application_security_group_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'applicationSecurityGroupName': self._serialize.url("application_security_group_name", application_security_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + application_security_group_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the specified application security group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param application_security_group_name: The name of the application security group. + :type application_security_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + application_security_group_name=application_security_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'applicationSecurityGroupName': self._serialize.url("application_security_group_name", application_security_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}'} # type: ignore + + async def get( + self, + resource_group_name: str, + application_security_group_name: str, + **kwargs + ) -> "_models.ApplicationSecurityGroup": + """Gets information about the specified application security group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param application_security_group_name: The name of the application security group. + :type application_security_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ApplicationSecurityGroup, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.ApplicationSecurityGroup + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ApplicationSecurityGroup"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'applicationSecurityGroupName': self._serialize.url("application_security_group_name", application_security_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ApplicationSecurityGroup', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}'} # type: ignore + + async def _create_or_update_initial( + self, + resource_group_name: str, + application_security_group_name: str, + parameters: "_models.ApplicationSecurityGroup", + **kwargs + ) -> "_models.ApplicationSecurityGroup": + cls = kwargs.pop('cls', None) # type: ClsType["_models.ApplicationSecurityGroup"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'applicationSecurityGroupName': self._serialize.url("application_security_group_name", application_security_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'ApplicationSecurityGroup') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('ApplicationSecurityGroup', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('ApplicationSecurityGroup', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}'} # type: ignore + + async def begin_create_or_update( + self, + resource_group_name: str, + application_security_group_name: str, + parameters: "_models.ApplicationSecurityGroup", + **kwargs + ) -> AsyncLROPoller["_models.ApplicationSecurityGroup"]: + """Creates or updates an application security group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param application_security_group_name: The name of the application security group. + :type application_security_group_name: str + :param parameters: Parameters supplied to the create or update ApplicationSecurityGroup + operation. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.ApplicationSecurityGroup + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either ApplicationSecurityGroup or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.ApplicationSecurityGroup] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.ApplicationSecurityGroup"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + resource_group_name=resource_group_name, + application_security_group_name=application_security_group_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('ApplicationSecurityGroup', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'applicationSecurityGroupName': self._serialize.url("application_security_group_name", application_security_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}'} # type: ignore + + async def update_tags( + self, + resource_group_name: str, + application_security_group_name: str, + parameters: "_models.TagsObject", + **kwargs + ) -> "_models.ApplicationSecurityGroup": + """Updates an application security group's tags. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param application_security_group_name: The name of the application security group. + :type application_security_group_name: str + :param parameters: Parameters supplied to update application security group tags. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.TagsObject + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ApplicationSecurityGroup, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.ApplicationSecurityGroup + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ApplicationSecurityGroup"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update_tags.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'applicationSecurityGroupName': self._serialize.url("application_security_group_name", application_security_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'TagsObject') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ApplicationSecurityGroup', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}'} # type: ignore + + def list_all( + self, + **kwargs + ) -> AsyncIterable["_models.ApplicationSecurityGroupListResult"]: + """Gets all application security groups in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ApplicationSecurityGroupListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.ApplicationSecurityGroupListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ApplicationSecurityGroupListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_all.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('ApplicationSecurityGroupListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_all.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationSecurityGroups'} # type: ignore + + def list( + self, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["_models.ApplicationSecurityGroupListResult"]: + """Gets all the application security groups in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ApplicationSecurityGroupListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.ApplicationSecurityGroupListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ApplicationSecurityGroupListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('ApplicationSecurityGroupListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_available_delegations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_available_delegations_operations.py new file mode 100644 index 000000000000..8cdd81371754 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_available_delegations_operations.py @@ -0,0 +1,112 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class AvailableDelegationsOperations: + """AvailableDelegationsOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + location: str, + **kwargs + ) -> AsyncIterable["_models.AvailableDelegationsResult"]: + """Gets all of the available subnet delegations for this subscription in this region. + + :param location: The location of the subnet. + :type location: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either AvailableDelegationsResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.AvailableDelegationsResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.AvailableDelegationsResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'location': self._serialize.url("location", location, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('AvailableDelegationsResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/availableDelegations'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_available_endpoint_services_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_available_endpoint_services_operations.py new file mode 100644 index 000000000000..d205539b10c7 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_available_endpoint_services_operations.py @@ -0,0 +1,112 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class AvailableEndpointServicesOperations: + """AvailableEndpointServicesOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + location: str, + **kwargs + ) -> AsyncIterable["_models.EndpointServicesListResult"]: + """List what values of endpoint services are available for use. + + :param location: The location to check available endpoint services. + :type location: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either EndpointServicesListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.EndpointServicesListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.EndpointServicesListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'location': self._serialize.url("location", location, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('EndpointServicesListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/virtualNetworkAvailableEndpointServices'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_available_private_endpoint_types_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_available_private_endpoint_types_operations.py new file mode 100644 index 000000000000..60d2d7a4d8e5 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_available_private_endpoint_types_operations.py @@ -0,0 +1,188 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class AvailablePrivateEndpointTypesOperations: + """AvailablePrivateEndpointTypesOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + location: str, + **kwargs + ) -> AsyncIterable["_models.AvailablePrivateEndpointTypesResult"]: + """Returns all of the resource types that can be linked to a Private Endpoint in this subscription + in this region. + + :param location: The location of the domain name. + :type location: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either AvailablePrivateEndpointTypesResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.AvailablePrivateEndpointTypesResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.AvailablePrivateEndpointTypesResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'location': self._serialize.url("location", location, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('AvailablePrivateEndpointTypesResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/availablePrivateEndpointTypes'} # type: ignore + + def list_by_resource_group( + self, + location: str, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["_models.AvailablePrivateEndpointTypesResult"]: + """Returns all of the resource types that can be linked to a Private Endpoint in this subscription + in this region. + + :param location: The location of the domain name. + :type location: str + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either AvailablePrivateEndpointTypesResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.AvailablePrivateEndpointTypesResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.AvailablePrivateEndpointTypesResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_resource_group.metadata['url'] # type: ignore + path_format_arguments = { + 'location': self._serialize.url("location", location, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('AvailablePrivateEndpointTypesResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/availablePrivateEndpointTypes'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_available_resource_group_delegations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_available_resource_group_delegations_operations.py new file mode 100644 index 000000000000..cfea6b95880c --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_available_resource_group_delegations_operations.py @@ -0,0 +1,116 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class AvailableResourceGroupDelegationsOperations: + """AvailableResourceGroupDelegationsOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + location: str, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["_models.AvailableDelegationsResult"]: + """Gets all of the available subnet delegations for this resource group in this region. + + :param location: The location of the domain name. + :type location: str + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either AvailableDelegationsResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.AvailableDelegationsResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.AvailableDelegationsResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'location': self._serialize.url("location", location, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('AvailableDelegationsResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/availableDelegations'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_available_service_aliases_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_available_service_aliases_operations.py new file mode 100644 index 000000000000..ee07eef63187 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_available_service_aliases_operations.py @@ -0,0 +1,186 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class AvailableServiceAliasesOperations: + """AvailableServiceAliasesOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + location: str, + **kwargs + ) -> AsyncIterable["_models.AvailableServiceAliasesResult"]: + """Gets all available service aliases for this subscription in this region. + + :param location: The location. + :type location: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either AvailableServiceAliasesResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.AvailableServiceAliasesResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.AvailableServiceAliasesResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'location': self._serialize.url("location", location, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('AvailableServiceAliasesResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/availableServiceAliases'} # type: ignore + + def list_by_resource_group( + self, + resource_group_name: str, + location: str, + **kwargs + ) -> AsyncIterable["_models.AvailableServiceAliasesResult"]: + """Gets all available service aliases for this resource group in this region. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param location: The location. + :type location: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either AvailableServiceAliasesResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.AvailableServiceAliasesResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.AvailableServiceAliasesResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_resource_group.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'location': self._serialize.url("location", location, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('AvailableServiceAliasesResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/availableServiceAliases'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_azure_firewall_fqdn_tags_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_azure_firewall_fqdn_tags_operations.py new file mode 100644 index 000000000000..ed982afc92f0 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_azure_firewall_fqdn_tags_operations.py @@ -0,0 +1,108 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class AzureFirewallFqdnTagsOperations: + """AzureFirewallFqdnTagsOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_all( + self, + **kwargs + ) -> AsyncIterable["_models.AzureFirewallFqdnTagListResult"]: + """Gets all the Azure Firewall FQDN Tags in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either AzureFirewallFqdnTagListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.AzureFirewallFqdnTagListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.AzureFirewallFqdnTagListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_all.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('AzureFirewallFqdnTagListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_all.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/azureFirewallFqdnTags'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_azure_firewalls_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_azure_firewalls_operations.py new file mode 100644 index 000000000000..ffb19bbbe98a --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_azure_firewalls_operations.py @@ -0,0 +1,600 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class AzureFirewallsOperations: + """AzureFirewallsOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def _delete_initial( + self, + resource_group_name: str, + azure_firewall_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'azureFirewallName': self._serialize.url("azure_firewall_name", azure_firewall_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + azure_firewall_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the specified Azure Firewall. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param azure_firewall_name: The name of the Azure Firewall. + :type azure_firewall_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + azure_firewall_name=azure_firewall_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'azureFirewallName': self._serialize.url("azure_firewall_name", azure_firewall_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}'} # type: ignore + + async def get( + self, + resource_group_name: str, + azure_firewall_name: str, + **kwargs + ) -> "_models.AzureFirewall": + """Gets the specified Azure Firewall. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param azure_firewall_name: The name of the Azure Firewall. + :type azure_firewall_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: AzureFirewall, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.AzureFirewall + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.AzureFirewall"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'azureFirewallName': self._serialize.url("azure_firewall_name", azure_firewall_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('AzureFirewall', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}'} # type: ignore + + async def _create_or_update_initial( + self, + resource_group_name: str, + azure_firewall_name: str, + parameters: "_models.AzureFirewall", + **kwargs + ) -> "_models.AzureFirewall": + cls = kwargs.pop('cls', None) # type: ClsType["_models.AzureFirewall"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'azureFirewallName': self._serialize.url("azure_firewall_name", azure_firewall_name, 'str', max_length=56, min_length=1), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'AzureFirewall') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('AzureFirewall', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('AzureFirewall', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}'} # type: ignore + + async def begin_create_or_update( + self, + resource_group_name: str, + azure_firewall_name: str, + parameters: "_models.AzureFirewall", + **kwargs + ) -> AsyncLROPoller["_models.AzureFirewall"]: + """Creates or updates the specified Azure Firewall. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param azure_firewall_name: The name of the Azure Firewall. + :type azure_firewall_name: str + :param parameters: Parameters supplied to the create or update Azure Firewall operation. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.AzureFirewall + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either AzureFirewall or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.AzureFirewall] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.AzureFirewall"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + resource_group_name=resource_group_name, + azure_firewall_name=azure_firewall_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('AzureFirewall', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'azureFirewallName': self._serialize.url("azure_firewall_name", azure_firewall_name, 'str', max_length=56, min_length=1), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}'} # type: ignore + + async def _update_tags_initial( + self, + resource_group_name: str, + azure_firewall_name: str, + parameters: "_models.TagsObject", + **kwargs + ) -> Optional["_models.AzureFirewall"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.AzureFirewall"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._update_tags_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'azureFirewallName': self._serialize.url("azure_firewall_name", azure_firewall_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'TagsObject') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('AzureFirewall', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _update_tags_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}'} # type: ignore + + async def begin_update_tags( + self, + resource_group_name: str, + azure_firewall_name: str, + parameters: "_models.TagsObject", + **kwargs + ) -> AsyncLROPoller["_models.AzureFirewall"]: + """Updates tags of an Azure Firewall resource. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param azure_firewall_name: The name of the Azure Firewall. + :type azure_firewall_name: str + :param parameters: Parameters supplied to update azure firewall tags. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.TagsObject + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either AzureFirewall or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.AzureFirewall] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.AzureFirewall"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._update_tags_initial( + resource_group_name=resource_group_name, + azure_firewall_name=azure_firewall_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('AzureFirewall', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'azureFirewallName': self._serialize.url("azure_firewall_name", azure_firewall_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}'} # type: ignore + + def list( + self, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["_models.AzureFirewallListResult"]: + """Lists all Azure Firewalls in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either AzureFirewallListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.AzureFirewallListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.AzureFirewallListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('AzureFirewallListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls'} # type: ignore + + def list_all( + self, + **kwargs + ) -> AsyncIterable["_models.AzureFirewallListResult"]: + """Gets all the Azure Firewalls in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either AzureFirewallListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.AzureFirewallListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.AzureFirewallListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_all.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('AzureFirewallListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_all.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/azureFirewalls'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_bastion_hosts_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_bastion_hosts_operations.py new file mode 100644 index 000000000000..14347a41f614 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_bastion_hosts_operations.py @@ -0,0 +1,474 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class BastionHostsOperations: + """BastionHostsOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def _delete_initial( + self, + resource_group_name: str, + bastion_host_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'bastionHostName': self._serialize.url("bastion_host_name", bastion_host_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + bastion_host_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the specified Bastion Host. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param bastion_host_name: The name of the Bastion Host. + :type bastion_host_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + bastion_host_name=bastion_host_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'bastionHostName': self._serialize.url("bastion_host_name", bastion_host_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}'} # type: ignore + + async def get( + self, + resource_group_name: str, + bastion_host_name: str, + **kwargs + ) -> "_models.BastionHost": + """Gets the specified Bastion Host. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param bastion_host_name: The name of the Bastion Host. + :type bastion_host_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: BastionHost, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.BastionHost + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.BastionHost"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'bastionHostName': self._serialize.url("bastion_host_name", bastion_host_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('BastionHost', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}'} # type: ignore + + async def _create_or_update_initial( + self, + resource_group_name: str, + bastion_host_name: str, + parameters: "_models.BastionHost", + **kwargs + ) -> "_models.BastionHost": + cls = kwargs.pop('cls', None) # type: ClsType["_models.BastionHost"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'bastionHostName': self._serialize.url("bastion_host_name", bastion_host_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'BastionHost') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('BastionHost', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('BastionHost', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}'} # type: ignore + + async def begin_create_or_update( + self, + resource_group_name: str, + bastion_host_name: str, + parameters: "_models.BastionHost", + **kwargs + ) -> AsyncLROPoller["_models.BastionHost"]: + """Creates or updates the specified Bastion Host. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param bastion_host_name: The name of the Bastion Host. + :type bastion_host_name: str + :param parameters: Parameters supplied to the create or update Bastion Host operation. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.BastionHost + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either BastionHost or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.BastionHost] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.BastionHost"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + resource_group_name=resource_group_name, + bastion_host_name=bastion_host_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('BastionHost', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'bastionHostName': self._serialize.url("bastion_host_name", bastion_host_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}'} # type: ignore + + def list( + self, + **kwargs + ) -> AsyncIterable["_models.BastionHostListResult"]: + """Lists all Bastion Hosts in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either BastionHostListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.BastionHostListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.BastionHostListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('BastionHostListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/bastionHosts'} # type: ignore + + def list_by_resource_group( + self, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["_models.BastionHostListResult"]: + """Lists all Bastion Hosts in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either BastionHostListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.BastionHostListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.BastionHostListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_resource_group.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('BastionHostListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_bgp_service_communities_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_bgp_service_communities_operations.py new file mode 100644 index 000000000000..8a1a75b44765 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_bgp_service_communities_operations.py @@ -0,0 +1,108 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class BgpServiceCommunitiesOperations: + """BgpServiceCommunitiesOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + **kwargs + ) -> AsyncIterable["_models.BgpServiceCommunityListResult"]: + """Gets all the available bgp service communities. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either BgpServiceCommunityListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.BgpServiceCommunityListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.BgpServiceCommunityListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('BgpServiceCommunityListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/bgpServiceCommunities'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_connection_monitors_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_connection_monitors_operations.py new file mode 100644 index 000000000000..798354fb0955 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_connection_monitors_operations.py @@ -0,0 +1,870 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class ConnectionMonitorsOperations: + """ConnectionMonitorsOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def _create_or_update_initial( + self, + resource_group_name: str, + network_watcher_name: str, + connection_monitor_name: str, + parameters: "_models.ConnectionMonitor", + migrate: Optional[str] = None, + **kwargs + ) -> "_models.ConnectionMonitorResult": + cls = kwargs.pop('cls', None) # type: ClsType["_models.ConnectionMonitorResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'connectionMonitorName': self._serialize.url("connection_monitor_name", connection_monitor_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if migrate is not None: + query_parameters['migrate'] = self._serialize.query("migrate", migrate, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'ConnectionMonitor') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('ConnectionMonitorResult', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('ConnectionMonitorResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}'} # type: ignore + + async def begin_create_or_update( + self, + resource_group_name: str, + network_watcher_name: str, + connection_monitor_name: str, + parameters: "_models.ConnectionMonitor", + migrate: Optional[str] = None, + **kwargs + ) -> AsyncLROPoller["_models.ConnectionMonitorResult"]: + """Create or update a connection monitor. + + :param resource_group_name: The name of the resource group containing Network Watcher. + :type resource_group_name: str + :param network_watcher_name: The name of the Network Watcher resource. + :type network_watcher_name: str + :param connection_monitor_name: The name of the connection monitor. + :type connection_monitor_name: str + :param parameters: Parameters that define the operation to create a connection monitor. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.ConnectionMonitor + :param migrate: Value indicating whether connection monitor V1 should be migrated to V2 format. + :type migrate: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either ConnectionMonitorResult or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorResult] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.ConnectionMonitorResult"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + resource_group_name=resource_group_name, + network_watcher_name=network_watcher_name, + connection_monitor_name=connection_monitor_name, + parameters=parameters, + migrate=migrate, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('ConnectionMonitorResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'connectionMonitorName': self._serialize.url("connection_monitor_name", connection_monitor_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}'} # type: ignore + + async def get( + self, + resource_group_name: str, + network_watcher_name: str, + connection_monitor_name: str, + **kwargs + ) -> "_models.ConnectionMonitorResult": + """Gets a connection monitor by name. + + :param resource_group_name: The name of the resource group containing Network Watcher. + :type resource_group_name: str + :param network_watcher_name: The name of the Network Watcher resource. + :type network_watcher_name: str + :param connection_monitor_name: The name of the connection monitor. + :type connection_monitor_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ConnectionMonitorResult, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorResult + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ConnectionMonitorResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'connectionMonitorName': self._serialize.url("connection_monitor_name", connection_monitor_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ConnectionMonitorResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}'} # type: ignore + + async def _delete_initial( + self, + resource_group_name: str, + network_watcher_name: str, + connection_monitor_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'connectionMonitorName': self._serialize.url("connection_monitor_name", connection_monitor_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + network_watcher_name: str, + connection_monitor_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the specified connection monitor. + + :param resource_group_name: The name of the resource group containing Network Watcher. + :type resource_group_name: str + :param network_watcher_name: The name of the Network Watcher resource. + :type network_watcher_name: str + :param connection_monitor_name: The name of the connection monitor. + :type connection_monitor_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + network_watcher_name=network_watcher_name, + connection_monitor_name=connection_monitor_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'connectionMonitorName': self._serialize.url("connection_monitor_name", connection_monitor_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}'} # type: ignore + + async def update_tags( + self, + resource_group_name: str, + network_watcher_name: str, + connection_monitor_name: str, + parameters: "_models.TagsObject", + **kwargs + ) -> "_models.ConnectionMonitorResult": + """Update tags of the specified connection monitor. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_watcher_name: The name of the network watcher. + :type network_watcher_name: str + :param connection_monitor_name: The name of the connection monitor. + :type connection_monitor_name: str + :param parameters: Parameters supplied to update connection monitor tags. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.TagsObject + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ConnectionMonitorResult, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorResult + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ConnectionMonitorResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update_tags.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'connectionMonitorName': self._serialize.url("connection_monitor_name", connection_monitor_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'TagsObject') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ConnectionMonitorResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}'} # type: ignore + + async def _stop_initial( + self, + resource_group_name: str, + network_watcher_name: str, + connection_monitor_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._stop_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'connectionMonitorName': self._serialize.url("connection_monitor_name", connection_monitor_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _stop_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}/stop'} # type: ignore + + async def begin_stop( + self, + resource_group_name: str, + network_watcher_name: str, + connection_monitor_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Stops the specified connection monitor. + + :param resource_group_name: The name of the resource group containing Network Watcher. + :type resource_group_name: str + :param network_watcher_name: The name of the Network Watcher resource. + :type network_watcher_name: str + :param connection_monitor_name: The name of the connection monitor. + :type connection_monitor_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._stop_initial( + resource_group_name=resource_group_name, + network_watcher_name=network_watcher_name, + connection_monitor_name=connection_monitor_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'connectionMonitorName': self._serialize.url("connection_monitor_name", connection_monitor_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_stop.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}/stop'} # type: ignore + + async def _start_initial( + self, + resource_group_name: str, + network_watcher_name: str, + connection_monitor_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._start_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'connectionMonitorName': self._serialize.url("connection_monitor_name", connection_monitor_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _start_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}/start'} # type: ignore + + async def begin_start( + self, + resource_group_name: str, + network_watcher_name: str, + connection_monitor_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Starts the specified connection monitor. + + :param resource_group_name: The name of the resource group containing Network Watcher. + :type resource_group_name: str + :param network_watcher_name: The name of the Network Watcher resource. + :type network_watcher_name: str + :param connection_monitor_name: The name of the connection monitor. + :type connection_monitor_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._start_initial( + resource_group_name=resource_group_name, + network_watcher_name=network_watcher_name, + connection_monitor_name=connection_monitor_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'connectionMonitorName': self._serialize.url("connection_monitor_name", connection_monitor_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_start.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}/start'} # type: ignore + + async def _query_initial( + self, + resource_group_name: str, + network_watcher_name: str, + connection_monitor_name: str, + **kwargs + ) -> "_models.ConnectionMonitorQueryResult": + cls = kwargs.pop('cls', None) # type: ClsType["_models.ConnectionMonitorQueryResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._query_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'connectionMonitorName': self._serialize.url("connection_monitor_name", connection_monitor_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('ConnectionMonitorQueryResult', pipeline_response) + + if response.status_code == 202: + deserialized = self._deserialize('ConnectionMonitorQueryResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _query_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}/query'} # type: ignore + + async def begin_query( + self, + resource_group_name: str, + network_watcher_name: str, + connection_monitor_name: str, + **kwargs + ) -> AsyncLROPoller["_models.ConnectionMonitorQueryResult"]: + """Query a snapshot of the most recent connection states. + + :param resource_group_name: The name of the resource group containing Network Watcher. + :type resource_group_name: str + :param network_watcher_name: The name of the Network Watcher resource. + :type network_watcher_name: str + :param connection_monitor_name: The name given to the connection monitor. + :type connection_monitor_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either ConnectionMonitorQueryResult or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorQueryResult] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.ConnectionMonitorQueryResult"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._query_initial( + resource_group_name=resource_group_name, + network_watcher_name=network_watcher_name, + connection_monitor_name=connection_monitor_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('ConnectionMonitorQueryResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'connectionMonitorName': self._serialize.url("connection_monitor_name", connection_monitor_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_query.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}/query'} # type: ignore + + def list( + self, + resource_group_name: str, + network_watcher_name: str, + **kwargs + ) -> AsyncIterable["_models.ConnectionMonitorListResult"]: + """Lists all connection monitors for the specified Network Watcher. + + :param resource_group_name: The name of the resource group containing Network Watcher. + :type resource_group_name: str + :param network_watcher_name: The name of the Network Watcher resource. + :type network_watcher_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ConnectionMonitorListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ConnectionMonitorListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('ConnectionMonitorListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_custom_ip_prefixes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_custom_ip_prefixes_operations.py new file mode 100644 index 000000000000..5080230cde7e --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_custom_ip_prefixes_operations.py @@ -0,0 +1,545 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class CustomIPPrefixesOperations: + """CustomIPPrefixesOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def _delete_initial( + self, + resource_group_name: str, + custom_ip_prefix_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'customIpPrefixName': self._serialize.url("custom_ip_prefix_name", custom_ip_prefix_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/customIpPrefixes/{customIpPrefixName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + custom_ip_prefix_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the specified custom IP prefix. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param custom_ip_prefix_name: The name of the CustomIpPrefix. + :type custom_ip_prefix_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + custom_ip_prefix_name=custom_ip_prefix_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'customIpPrefixName': self._serialize.url("custom_ip_prefix_name", custom_ip_prefix_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/customIpPrefixes/{customIpPrefixName}'} # type: ignore + + async def get( + self, + resource_group_name: str, + custom_ip_prefix_name: str, + expand: Optional[str] = None, + **kwargs + ) -> "_models.CustomIpPrefix": + """Gets the specified custom IP prefix in a specified resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param custom_ip_prefix_name: The name of the custom IP prefix. + :type custom_ip_prefix_name: str + :param expand: Expands referenced resources. + :type expand: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: CustomIpPrefix, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.CustomIpPrefix + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.CustomIpPrefix"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'customIpPrefixName': self._serialize.url("custom_ip_prefix_name", custom_ip_prefix_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('CustomIpPrefix', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/customIpPrefixes/{customIpPrefixName}'} # type: ignore + + async def _create_or_update_initial( + self, + resource_group_name: str, + custom_ip_prefix_name: str, + parameters: "_models.CustomIpPrefix", + **kwargs + ) -> "_models.CustomIpPrefix": + cls = kwargs.pop('cls', None) # type: ClsType["_models.CustomIpPrefix"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'customIpPrefixName': self._serialize.url("custom_ip_prefix_name", custom_ip_prefix_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'CustomIpPrefix') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('CustomIpPrefix', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('CustomIpPrefix', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/customIpPrefixes/{customIpPrefixName}'} # type: ignore + + async def begin_create_or_update( + self, + resource_group_name: str, + custom_ip_prefix_name: str, + parameters: "_models.CustomIpPrefix", + **kwargs + ) -> AsyncLROPoller["_models.CustomIpPrefix"]: + """Creates or updates a custom IP prefix. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param custom_ip_prefix_name: The name of the custom IP prefix. + :type custom_ip_prefix_name: str + :param parameters: Parameters supplied to the create or update custom IP prefix operation. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.CustomIpPrefix + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either CustomIpPrefix or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.CustomIpPrefix] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.CustomIpPrefix"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + resource_group_name=resource_group_name, + custom_ip_prefix_name=custom_ip_prefix_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('CustomIpPrefix', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'customIpPrefixName': self._serialize.url("custom_ip_prefix_name", custom_ip_prefix_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/customIpPrefixes/{customIpPrefixName}'} # type: ignore + + async def update_tags( + self, + resource_group_name: str, + custom_ip_prefix_name: str, + parameters: "_models.TagsObject", + **kwargs + ) -> "_models.CustomIpPrefix": + """Updates custom IP prefix tags. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param custom_ip_prefix_name: The name of the custom IP prefix. + :type custom_ip_prefix_name: str + :param parameters: Parameters supplied to update custom IP prefix tags. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.TagsObject + :keyword callable cls: A custom type or function that will be passed the direct response + :return: CustomIpPrefix, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.CustomIpPrefix + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.CustomIpPrefix"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update_tags.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'customIpPrefixName': self._serialize.url("custom_ip_prefix_name", custom_ip_prefix_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'TagsObject') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('CustomIpPrefix', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/customIpPrefixes/{customIpPrefixName}'} # type: ignore + + def list_all( + self, + **kwargs + ) -> AsyncIterable["_models.CustomIpPrefixListResult"]: + """Gets all the custom IP prefixes in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either CustomIpPrefixListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.CustomIpPrefixListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.CustomIpPrefixListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_all.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('CustomIpPrefixListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_all.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/customIpPrefixes'} # type: ignore + + def list( + self, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["_models.CustomIpPrefixListResult"]: + """Gets all custom IP prefixes in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either CustomIpPrefixListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.CustomIpPrefixListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.CustomIpPrefixListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('CustomIpPrefixListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/customIpPrefixes'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_ddos_custom_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_ddos_custom_policies_operations.py new file mode 100644 index 000000000000..c6909ec9add4 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_ddos_custom_policies_operations.py @@ -0,0 +1,403 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class DdosCustomPoliciesOperations: + """DdosCustomPoliciesOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def _delete_initial( + self, + resource_group_name: str, + ddos_custom_policy_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'ddosCustomPolicyName': self._serialize.url("ddos_custom_policy_name", ddos_custom_policy_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosCustomPolicies/{ddosCustomPolicyName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + ddos_custom_policy_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the specified DDoS custom policy. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param ddos_custom_policy_name: The name of the DDoS custom policy. + :type ddos_custom_policy_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + ddos_custom_policy_name=ddos_custom_policy_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'ddosCustomPolicyName': self._serialize.url("ddos_custom_policy_name", ddos_custom_policy_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosCustomPolicies/{ddosCustomPolicyName}'} # type: ignore + + async def get( + self, + resource_group_name: str, + ddos_custom_policy_name: str, + **kwargs + ) -> "_models.DdosCustomPolicy": + """Gets information about the specified DDoS custom policy. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param ddos_custom_policy_name: The name of the DDoS custom policy. + :type ddos_custom_policy_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: DdosCustomPolicy, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.DdosCustomPolicy + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DdosCustomPolicy"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'ddosCustomPolicyName': self._serialize.url("ddos_custom_policy_name", ddos_custom_policy_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('DdosCustomPolicy', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosCustomPolicies/{ddosCustomPolicyName}'} # type: ignore + + async def _create_or_update_initial( + self, + resource_group_name: str, + ddos_custom_policy_name: str, + parameters: "_models.DdosCustomPolicy", + **kwargs + ) -> "_models.DdosCustomPolicy": + cls = kwargs.pop('cls', None) # type: ClsType["_models.DdosCustomPolicy"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'ddosCustomPolicyName': self._serialize.url("ddos_custom_policy_name", ddos_custom_policy_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'DdosCustomPolicy') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('DdosCustomPolicy', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('DdosCustomPolicy', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosCustomPolicies/{ddosCustomPolicyName}'} # type: ignore + + async def begin_create_or_update( + self, + resource_group_name: str, + ddos_custom_policy_name: str, + parameters: "_models.DdosCustomPolicy", + **kwargs + ) -> AsyncLROPoller["_models.DdosCustomPolicy"]: + """Creates or updates a DDoS custom policy. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param ddos_custom_policy_name: The name of the DDoS custom policy. + :type ddos_custom_policy_name: str + :param parameters: Parameters supplied to the create or update operation. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.DdosCustomPolicy + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either DdosCustomPolicy or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.DdosCustomPolicy] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.DdosCustomPolicy"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + resource_group_name=resource_group_name, + ddos_custom_policy_name=ddos_custom_policy_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('DdosCustomPolicy', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'ddosCustomPolicyName': self._serialize.url("ddos_custom_policy_name", ddos_custom_policy_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosCustomPolicies/{ddosCustomPolicyName}'} # type: ignore + + async def update_tags( + self, + resource_group_name: str, + ddos_custom_policy_name: str, + parameters: "_models.TagsObject", + **kwargs + ) -> "_models.DdosCustomPolicy": + """Update a DDoS custom policy tags. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param ddos_custom_policy_name: The name of the DDoS custom policy. + :type ddos_custom_policy_name: str + :param parameters: Parameters supplied to update DDoS custom policy resource tags. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.TagsObject + :keyword callable cls: A custom type or function that will be passed the direct response + :return: DdosCustomPolicy, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.DdosCustomPolicy + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DdosCustomPolicy"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update_tags.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'ddosCustomPolicyName': self._serialize.url("ddos_custom_policy_name", ddos_custom_policy_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'TagsObject') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('DdosCustomPolicy', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosCustomPolicies/{ddosCustomPolicyName}'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_ddos_protection_plans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_ddos_protection_plans_operations.py new file mode 100644 index 000000000000..510a216c77c2 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_ddos_protection_plans_operations.py @@ -0,0 +1,540 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class DdosProtectionPlansOperations: + """DdosProtectionPlansOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def _delete_initial( + self, + resource_group_name: str, + ddos_protection_plan_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'ddosProtectionPlanName': self._serialize.url("ddos_protection_plan_name", ddos_protection_plan_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans/{ddosProtectionPlanName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + ddos_protection_plan_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the specified DDoS protection plan. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param ddos_protection_plan_name: The name of the DDoS protection plan. + :type ddos_protection_plan_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + ddos_protection_plan_name=ddos_protection_plan_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'ddosProtectionPlanName': self._serialize.url("ddos_protection_plan_name", ddos_protection_plan_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans/{ddosProtectionPlanName}'} # type: ignore + + async def get( + self, + resource_group_name: str, + ddos_protection_plan_name: str, + **kwargs + ) -> "_models.DdosProtectionPlan": + """Gets information about the specified DDoS protection plan. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param ddos_protection_plan_name: The name of the DDoS protection plan. + :type ddos_protection_plan_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: DdosProtectionPlan, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.DdosProtectionPlan + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DdosProtectionPlan"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'ddosProtectionPlanName': self._serialize.url("ddos_protection_plan_name", ddos_protection_plan_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('DdosProtectionPlan', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans/{ddosProtectionPlanName}'} # type: ignore + + async def _create_or_update_initial( + self, + resource_group_name: str, + ddos_protection_plan_name: str, + parameters: "_models.DdosProtectionPlan", + **kwargs + ) -> "_models.DdosProtectionPlan": + cls = kwargs.pop('cls', None) # type: ClsType["_models.DdosProtectionPlan"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'ddosProtectionPlanName': self._serialize.url("ddos_protection_plan_name", ddos_protection_plan_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'DdosProtectionPlan') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('DdosProtectionPlan', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('DdosProtectionPlan', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans/{ddosProtectionPlanName}'} # type: ignore + + async def begin_create_or_update( + self, + resource_group_name: str, + ddos_protection_plan_name: str, + parameters: "_models.DdosProtectionPlan", + **kwargs + ) -> AsyncLROPoller["_models.DdosProtectionPlan"]: + """Creates or updates a DDoS protection plan. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param ddos_protection_plan_name: The name of the DDoS protection plan. + :type ddos_protection_plan_name: str + :param parameters: Parameters supplied to the create or update operation. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.DdosProtectionPlan + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either DdosProtectionPlan or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.DdosProtectionPlan] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.DdosProtectionPlan"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + resource_group_name=resource_group_name, + ddos_protection_plan_name=ddos_protection_plan_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('DdosProtectionPlan', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'ddosProtectionPlanName': self._serialize.url("ddos_protection_plan_name", ddos_protection_plan_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans/{ddosProtectionPlanName}'} # type: ignore + + async def update_tags( + self, + resource_group_name: str, + ddos_protection_plan_name: str, + parameters: "_models.TagsObject", + **kwargs + ) -> "_models.DdosProtectionPlan": + """Update a DDoS protection plan tags. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param ddos_protection_plan_name: The name of the DDoS protection plan. + :type ddos_protection_plan_name: str + :param parameters: Parameters supplied to the update DDoS protection plan resource tags. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.TagsObject + :keyword callable cls: A custom type or function that will be passed the direct response + :return: DdosProtectionPlan, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.DdosProtectionPlan + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DdosProtectionPlan"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update_tags.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'ddosProtectionPlanName': self._serialize.url("ddos_protection_plan_name", ddos_protection_plan_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'TagsObject') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('DdosProtectionPlan', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans/{ddosProtectionPlanName}'} # type: ignore + + def list( + self, + **kwargs + ) -> AsyncIterable["_models.DdosProtectionPlanListResult"]: + """Gets all DDoS protection plans in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either DdosProtectionPlanListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.DdosProtectionPlanListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DdosProtectionPlanListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('DdosProtectionPlanListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/ddosProtectionPlans'} # type: ignore + + def list_by_resource_group( + self, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["_models.DdosProtectionPlanListResult"]: + """Gets all the DDoS protection plans in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either DdosProtectionPlanListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.DdosProtectionPlanListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DdosProtectionPlanListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_resource_group.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('DdosProtectionPlanListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_default_security_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_default_security_rules_operations.py new file mode 100644 index 000000000000..a64878629039 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_default_security_rules_operations.py @@ -0,0 +1,178 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class DefaultSecurityRulesOperations: + """DefaultSecurityRulesOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + resource_group_name: str, + network_security_group_name: str, + **kwargs + ) -> AsyncIterable["_models.SecurityRuleListResult"]: + """Gets all default security rules in a network security group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_security_group_name: The name of the network security group. + :type network_security_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either SecurityRuleListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.SecurityRuleListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.SecurityRuleListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkSecurityGroupName': self._serialize.url("network_security_group_name", network_security_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('SecurityRuleListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/defaultSecurityRules'} # type: ignore + + async def get( + self, + resource_group_name: str, + network_security_group_name: str, + default_security_rule_name: str, + **kwargs + ) -> "_models.SecurityRule": + """Get the specified default network security rule. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_security_group_name: The name of the network security group. + :type network_security_group_name: str + :param default_security_rule_name: The name of the default security rule. + :type default_security_rule_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: SecurityRule, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.SecurityRule + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.SecurityRule"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkSecurityGroupName': self._serialize.url("network_security_group_name", network_security_group_name, 'str'), + 'defaultSecurityRuleName': self._serialize.url("default_security_rule_name", default_security_rule_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('SecurityRule', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/defaultSecurityRules/{defaultSecurityRuleName}'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_dscp_configuration_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_dscp_configuration_operations.py new file mode 100644 index 000000000000..52e65c057c93 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_dscp_configuration_operations.py @@ -0,0 +1,474 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class DscpConfigurationOperations: + """DscpConfigurationOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def _create_or_update_initial( + self, + resource_group_name: str, + dscp_configuration_name: str, + parameters: "_models.DscpConfiguration", + **kwargs + ) -> "_models.DscpConfiguration": + cls = kwargs.pop('cls', None) # type: ClsType["_models.DscpConfiguration"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'dscpConfigurationName': self._serialize.url("dscp_configuration_name", dscp_configuration_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'DscpConfiguration') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('DscpConfiguration', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('DscpConfiguration', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dscpConfigurations/{dscpConfigurationName}'} # type: ignore + + async def begin_create_or_update( + self, + resource_group_name: str, + dscp_configuration_name: str, + parameters: "_models.DscpConfiguration", + **kwargs + ) -> AsyncLROPoller["_models.DscpConfiguration"]: + """Creates or updates a DSCP Configuration. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param dscp_configuration_name: The name of the resource. + :type dscp_configuration_name: str + :param parameters: Parameters supplied to the create or update dscp configuration operation. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.DscpConfiguration + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either DscpConfiguration or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.DscpConfiguration] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.DscpConfiguration"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + resource_group_name=resource_group_name, + dscp_configuration_name=dscp_configuration_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('DscpConfiguration', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'dscpConfigurationName': self._serialize.url("dscp_configuration_name", dscp_configuration_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dscpConfigurations/{dscpConfigurationName}'} # type: ignore + + async def _delete_initial( + self, + resource_group_name: str, + dscp_configuration_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'dscpConfigurationName': self._serialize.url("dscp_configuration_name", dscp_configuration_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dscpConfigurations/{dscpConfigurationName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + dscp_configuration_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes a DSCP Configuration. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param dscp_configuration_name: The name of the resource. + :type dscp_configuration_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + dscp_configuration_name=dscp_configuration_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'dscpConfigurationName': self._serialize.url("dscp_configuration_name", dscp_configuration_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dscpConfigurations/{dscpConfigurationName}'} # type: ignore + + async def get( + self, + resource_group_name: str, + dscp_configuration_name: str, + **kwargs + ) -> "_models.DscpConfiguration": + """Gets a DSCP Configuration. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param dscp_configuration_name: The name of the resource. + :type dscp_configuration_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: DscpConfiguration, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.DscpConfiguration + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DscpConfiguration"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'dscpConfigurationName': self._serialize.url("dscp_configuration_name", dscp_configuration_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('DscpConfiguration', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dscpConfigurations/{dscpConfigurationName}'} # type: ignore + + def list( + self, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["_models.DscpConfigurationListResult"]: + """Gets a DSCP Configuration. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either DscpConfigurationListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.DscpConfigurationListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DscpConfigurationListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('DscpConfigurationListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dscpConfigurations'} # type: ignore + + def list_all( + self, + **kwargs + ) -> AsyncIterable["_models.DscpConfigurationListResult"]: + """Gets all dscp configurations in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either DscpConfigurationListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.DscpConfigurationListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DscpConfigurationListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_all.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('DscpConfigurationListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_all.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/dscpConfigurations'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_express_route_circuit_authorizations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_express_route_circuit_authorizations_operations.py new file mode 100644 index 000000000000..25fb877eab55 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_express_route_circuit_authorizations_operations.py @@ -0,0 +1,431 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class ExpressRouteCircuitAuthorizationsOperations: + """ExpressRouteCircuitAuthorizationsOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def _delete_initial( + self, + resource_group_name: str, + circuit_name: str, + authorization_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'circuitName': self._serialize.url("circuit_name", circuit_name, 'str'), + 'authorizationName': self._serialize.url("authorization_name", authorization_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations/{authorizationName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + circuit_name: str, + authorization_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the specified authorization from the specified express route circuit. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param circuit_name: The name of the express route circuit. + :type circuit_name: str + :param authorization_name: The name of the authorization. + :type authorization_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + circuit_name=circuit_name, + authorization_name=authorization_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'circuitName': self._serialize.url("circuit_name", circuit_name, 'str'), + 'authorizationName': self._serialize.url("authorization_name", authorization_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations/{authorizationName}'} # type: ignore + + async def get( + self, + resource_group_name: str, + circuit_name: str, + authorization_name: str, + **kwargs + ) -> "_models.ExpressRouteCircuitAuthorization": + """Gets the specified authorization from the specified express route circuit. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param circuit_name: The name of the express route circuit. + :type circuit_name: str + :param authorization_name: The name of the authorization. + :type authorization_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ExpressRouteCircuitAuthorization, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitAuthorization + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteCircuitAuthorization"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'circuitName': self._serialize.url("circuit_name", circuit_name, 'str'), + 'authorizationName': self._serialize.url("authorization_name", authorization_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ExpressRouteCircuitAuthorization', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations/{authorizationName}'} # type: ignore + + async def _create_or_update_initial( + self, + resource_group_name: str, + circuit_name: str, + authorization_name: str, + authorization_parameters: "_models.ExpressRouteCircuitAuthorization", + **kwargs + ) -> "_models.ExpressRouteCircuitAuthorization": + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteCircuitAuthorization"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'circuitName': self._serialize.url("circuit_name", circuit_name, 'str'), + 'authorizationName': self._serialize.url("authorization_name", authorization_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(authorization_parameters, 'ExpressRouteCircuitAuthorization') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('ExpressRouteCircuitAuthorization', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('ExpressRouteCircuitAuthorization', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations/{authorizationName}'} # type: ignore + + async def begin_create_or_update( + self, + resource_group_name: str, + circuit_name: str, + authorization_name: str, + authorization_parameters: "_models.ExpressRouteCircuitAuthorization", + **kwargs + ) -> AsyncLROPoller["_models.ExpressRouteCircuitAuthorization"]: + """Creates or updates an authorization in the specified express route circuit. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param circuit_name: The name of the express route circuit. + :type circuit_name: str + :param authorization_name: The name of the authorization. + :type authorization_name: str + :param authorization_parameters: Parameters supplied to the create or update express route + circuit authorization operation. + :type authorization_parameters: ~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitAuthorization + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitAuthorization or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitAuthorization] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteCircuitAuthorization"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + resource_group_name=resource_group_name, + circuit_name=circuit_name, + authorization_name=authorization_name, + authorization_parameters=authorization_parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('ExpressRouteCircuitAuthorization', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'circuitName': self._serialize.url("circuit_name", circuit_name, 'str'), + 'authorizationName': self._serialize.url("authorization_name", authorization_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations/{authorizationName}'} # type: ignore + + def list( + self, + resource_group_name: str, + circuit_name: str, + **kwargs + ) -> AsyncIterable["_models.AuthorizationListResult"]: + """Gets all authorizations in an express route circuit. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param circuit_name: The name of the circuit. + :type circuit_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either AuthorizationListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.AuthorizationListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.AuthorizationListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'circuitName': self._serialize.url("circuit_name", circuit_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('AuthorizationListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_express_route_circuit_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_express_route_circuit_connections_operations.py new file mode 100644 index 000000000000..305fb5d70f4b --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_express_route_circuit_connections_operations.py @@ -0,0 +1,455 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class ExpressRouteCircuitConnectionsOperations: + """ExpressRouteCircuitConnectionsOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def _delete_initial( + self, + resource_group_name: str, + circuit_name: str, + peering_name: str, + connection_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'circuitName': self._serialize.url("circuit_name", circuit_name, 'str'), + 'peeringName': self._serialize.url("peering_name", peering_name, 'str'), + 'connectionName': self._serialize.url("connection_name", connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/connections/{connectionName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + circuit_name: str, + peering_name: str, + connection_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the specified Express Route Circuit Connection from the specified express route + circuit. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param circuit_name: The name of the express route circuit. + :type circuit_name: str + :param peering_name: The name of the peering. + :type peering_name: str + :param connection_name: The name of the express route circuit connection. + :type connection_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + circuit_name=circuit_name, + peering_name=peering_name, + connection_name=connection_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'circuitName': self._serialize.url("circuit_name", circuit_name, 'str'), + 'peeringName': self._serialize.url("peering_name", peering_name, 'str'), + 'connectionName': self._serialize.url("connection_name", connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/connections/{connectionName}'} # type: ignore + + async def get( + self, + resource_group_name: str, + circuit_name: str, + peering_name: str, + connection_name: str, + **kwargs + ) -> "_models.ExpressRouteCircuitConnection": + """Gets the specified Express Route Circuit Connection from the specified express route circuit. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param circuit_name: The name of the express route circuit. + :type circuit_name: str + :param peering_name: The name of the peering. + :type peering_name: str + :param connection_name: The name of the express route circuit connection. + :type connection_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ExpressRouteCircuitConnection, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitConnection + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteCircuitConnection"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'circuitName': self._serialize.url("circuit_name", circuit_name, 'str'), + 'peeringName': self._serialize.url("peering_name", peering_name, 'str'), + 'connectionName': self._serialize.url("connection_name", connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ExpressRouteCircuitConnection', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/connections/{connectionName}'} # type: ignore + + async def _create_or_update_initial( + self, + resource_group_name: str, + circuit_name: str, + peering_name: str, + connection_name: str, + express_route_circuit_connection_parameters: "_models.ExpressRouteCircuitConnection", + **kwargs + ) -> "_models.ExpressRouteCircuitConnection": + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteCircuitConnection"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'circuitName': self._serialize.url("circuit_name", circuit_name, 'str'), + 'peeringName': self._serialize.url("peering_name", peering_name, 'str'), + 'connectionName': self._serialize.url("connection_name", connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(express_route_circuit_connection_parameters, 'ExpressRouteCircuitConnection') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('ExpressRouteCircuitConnection', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('ExpressRouteCircuitConnection', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/connections/{connectionName}'} # type: ignore + + async def begin_create_or_update( + self, + resource_group_name: str, + circuit_name: str, + peering_name: str, + connection_name: str, + express_route_circuit_connection_parameters: "_models.ExpressRouteCircuitConnection", + **kwargs + ) -> AsyncLROPoller["_models.ExpressRouteCircuitConnection"]: + """Creates or updates a Express Route Circuit Connection in the specified express route circuits. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param circuit_name: The name of the express route circuit. + :type circuit_name: str + :param peering_name: The name of the peering. + :type peering_name: str + :param connection_name: The name of the express route circuit connection. + :type connection_name: str + :param express_route_circuit_connection_parameters: Parameters supplied to the create or update + express route circuit connection operation. + :type express_route_circuit_connection_parameters: ~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitConnection + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitConnection or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitConnection] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteCircuitConnection"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + resource_group_name=resource_group_name, + circuit_name=circuit_name, + peering_name=peering_name, + connection_name=connection_name, + express_route_circuit_connection_parameters=express_route_circuit_connection_parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('ExpressRouteCircuitConnection', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'circuitName': self._serialize.url("circuit_name", circuit_name, 'str'), + 'peeringName': self._serialize.url("peering_name", peering_name, 'str'), + 'connectionName': self._serialize.url("connection_name", connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/connections/{connectionName}'} # type: ignore + + def list( + self, + resource_group_name: str, + circuit_name: str, + peering_name: str, + **kwargs + ) -> AsyncIterable["_models.ExpressRouteCircuitConnectionListResult"]: + """Gets all global reach connections associated with a private peering in an express route + circuit. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param circuit_name: The name of the circuit. + :type circuit_name: str + :param peering_name: The name of the peering. + :type peering_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ExpressRouteCircuitConnectionListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitConnectionListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteCircuitConnectionListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'circuitName': self._serialize.url("circuit_name", circuit_name, 'str'), + 'peeringName': self._serialize.url("peering_name", peering_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('ExpressRouteCircuitConnectionListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/connections'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_express_route_circuit_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_express_route_circuit_peerings_operations.py new file mode 100644 index 000000000000..92fd4d85eed6 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_express_route_circuit_peerings_operations.py @@ -0,0 +1,431 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class ExpressRouteCircuitPeeringsOperations: + """ExpressRouteCircuitPeeringsOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def _delete_initial( + self, + resource_group_name: str, + circuit_name: str, + peering_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'circuitName': self._serialize.url("circuit_name", circuit_name, 'str'), + 'peeringName': self._serialize.url("peering_name", peering_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + circuit_name: str, + peering_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the specified peering from the specified express route circuit. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param circuit_name: The name of the express route circuit. + :type circuit_name: str + :param peering_name: The name of the peering. + :type peering_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + circuit_name=circuit_name, + peering_name=peering_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'circuitName': self._serialize.url("circuit_name", circuit_name, 'str'), + 'peeringName': self._serialize.url("peering_name", peering_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}'} # type: ignore + + async def get( + self, + resource_group_name: str, + circuit_name: str, + peering_name: str, + **kwargs + ) -> "_models.ExpressRouteCircuitPeering": + """Gets the specified peering for the express route circuit. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param circuit_name: The name of the express route circuit. + :type circuit_name: str + :param peering_name: The name of the peering. + :type peering_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ExpressRouteCircuitPeering, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitPeering + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteCircuitPeering"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'circuitName': self._serialize.url("circuit_name", circuit_name, 'str'), + 'peeringName': self._serialize.url("peering_name", peering_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ExpressRouteCircuitPeering', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}'} # type: ignore + + async def _create_or_update_initial( + self, + resource_group_name: str, + circuit_name: str, + peering_name: str, + peering_parameters: "_models.ExpressRouteCircuitPeering", + **kwargs + ) -> "_models.ExpressRouteCircuitPeering": + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteCircuitPeering"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'circuitName': self._serialize.url("circuit_name", circuit_name, 'str'), + 'peeringName': self._serialize.url("peering_name", peering_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(peering_parameters, 'ExpressRouteCircuitPeering') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('ExpressRouteCircuitPeering', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('ExpressRouteCircuitPeering', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}'} # type: ignore + + async def begin_create_or_update( + self, + resource_group_name: str, + circuit_name: str, + peering_name: str, + peering_parameters: "_models.ExpressRouteCircuitPeering", + **kwargs + ) -> AsyncLROPoller["_models.ExpressRouteCircuitPeering"]: + """Creates or updates a peering in the specified express route circuits. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param circuit_name: The name of the express route circuit. + :type circuit_name: str + :param peering_name: The name of the peering. + :type peering_name: str + :param peering_parameters: Parameters supplied to the create or update express route circuit + peering operation. + :type peering_parameters: ~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitPeering + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitPeering or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitPeering] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteCircuitPeering"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + resource_group_name=resource_group_name, + circuit_name=circuit_name, + peering_name=peering_name, + peering_parameters=peering_parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('ExpressRouteCircuitPeering', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'circuitName': self._serialize.url("circuit_name", circuit_name, 'str'), + 'peeringName': self._serialize.url("peering_name", peering_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}'} # type: ignore + + def list( + self, + resource_group_name: str, + circuit_name: str, + **kwargs + ) -> AsyncIterable["_models.ExpressRouteCircuitPeeringListResult"]: + """Gets all peerings in a specified express route circuit. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param circuit_name: The name of the express route circuit. + :type circuit_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ExpressRouteCircuitPeeringListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitPeeringListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteCircuitPeeringListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'circuitName': self._serialize.url("circuit_name", circuit_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('ExpressRouteCircuitPeeringListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_express_route_circuits_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_express_route_circuits_operations.py new file mode 100644 index 000000000000..e391b916ba9a --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_express_route_circuits_operations.py @@ -0,0 +1,1053 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class ExpressRouteCircuitsOperations: + """ExpressRouteCircuitsOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def _delete_initial( + self, + resource_group_name: str, + circuit_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'circuitName': self._serialize.url("circuit_name", circuit_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + circuit_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the specified express route circuit. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param circuit_name: The name of the express route circuit. + :type circuit_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + circuit_name=circuit_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'circuitName': self._serialize.url("circuit_name", circuit_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}'} # type: ignore + + async def get( + self, + resource_group_name: str, + circuit_name: str, + **kwargs + ) -> "_models.ExpressRouteCircuit": + """Gets information about the specified express route circuit. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param circuit_name: The name of express route circuit. + :type circuit_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ExpressRouteCircuit, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuit + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteCircuit"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'circuitName': self._serialize.url("circuit_name", circuit_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ExpressRouteCircuit', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}'} # type: ignore + + async def _create_or_update_initial( + self, + resource_group_name: str, + circuit_name: str, + parameters: "_models.ExpressRouteCircuit", + **kwargs + ) -> "_models.ExpressRouteCircuit": + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteCircuit"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'circuitName': self._serialize.url("circuit_name", circuit_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'ExpressRouteCircuit') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('ExpressRouteCircuit', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('ExpressRouteCircuit', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}'} # type: ignore + + async def begin_create_or_update( + self, + resource_group_name: str, + circuit_name: str, + parameters: "_models.ExpressRouteCircuit", + **kwargs + ) -> AsyncLROPoller["_models.ExpressRouteCircuit"]: + """Creates or updates an express route circuit. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param circuit_name: The name of the circuit. + :type circuit_name: str + :param parameters: Parameters supplied to the create or update express route circuit operation. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuit + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuit or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuit] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteCircuit"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + resource_group_name=resource_group_name, + circuit_name=circuit_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('ExpressRouteCircuit', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'circuitName': self._serialize.url("circuit_name", circuit_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}'} # type: ignore + + async def update_tags( + self, + resource_group_name: str, + circuit_name: str, + parameters: "_models.TagsObject", + **kwargs + ) -> "_models.ExpressRouteCircuit": + """Updates an express route circuit tags. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param circuit_name: The name of the circuit. + :type circuit_name: str + :param parameters: Parameters supplied to update express route circuit tags. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.TagsObject + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ExpressRouteCircuit, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuit + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteCircuit"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update_tags.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'circuitName': self._serialize.url("circuit_name", circuit_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'TagsObject') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ExpressRouteCircuit', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}'} # type: ignore + + async def _list_arp_table_initial( + self, + resource_group_name: str, + circuit_name: str, + peering_name: str, + device_path: str, + **kwargs + ) -> Optional["_models.ExpressRouteCircuitsArpTableListResult"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.ExpressRouteCircuitsArpTableListResult"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._list_arp_table_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'circuitName': self._serialize.url("circuit_name", circuit_name, 'str'), + 'peeringName': self._serialize.url("peering_name", peering_name, 'str'), + 'devicePath': self._serialize.url("device_path", device_path, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('ExpressRouteCircuitsArpTableListResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _list_arp_table_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/arpTables/{devicePath}'} # type: ignore + + async def begin_list_arp_table( + self, + resource_group_name: str, + circuit_name: str, + peering_name: str, + device_path: str, + **kwargs + ) -> AsyncLROPoller["_models.ExpressRouteCircuitsArpTableListResult"]: + """Gets the currently advertised ARP table associated with the express route circuit in a resource + group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param circuit_name: The name of the express route circuit. + :type circuit_name: str + :param peering_name: The name of the peering. + :type peering_name: str + :param device_path: The path of the device. + :type device_path: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitsArpTableListResult] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteCircuitsArpTableListResult"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._list_arp_table_initial( + resource_group_name=resource_group_name, + circuit_name=circuit_name, + peering_name=peering_name, + device_path=device_path, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('ExpressRouteCircuitsArpTableListResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'circuitName': self._serialize.url("circuit_name", circuit_name, 'str'), + 'peeringName': self._serialize.url("peering_name", peering_name, 'str'), + 'devicePath': self._serialize.url("device_path", device_path, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_list_arp_table.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/arpTables/{devicePath}'} # type: ignore + + async def _list_routes_table_initial( + self, + resource_group_name: str, + circuit_name: str, + peering_name: str, + device_path: str, + **kwargs + ) -> Optional["_models.ExpressRouteCircuitsRoutesTableListResult"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.ExpressRouteCircuitsRoutesTableListResult"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._list_routes_table_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'circuitName': self._serialize.url("circuit_name", circuit_name, 'str'), + 'peeringName': self._serialize.url("peering_name", peering_name, 'str'), + 'devicePath': self._serialize.url("device_path", device_path, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('ExpressRouteCircuitsRoutesTableListResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _list_routes_table_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/routeTables/{devicePath}'} # type: ignore + + async def begin_list_routes_table( + self, + resource_group_name: str, + circuit_name: str, + peering_name: str, + device_path: str, + **kwargs + ) -> AsyncLROPoller["_models.ExpressRouteCircuitsRoutesTableListResult"]: + """Gets the currently advertised routes table associated with the express route circuit in a + resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param circuit_name: The name of the express route circuit. + :type circuit_name: str + :param peering_name: The name of the peering. + :type peering_name: str + :param device_path: The path of the device. + :type device_path: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitsRoutesTableListResult] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteCircuitsRoutesTableListResult"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._list_routes_table_initial( + resource_group_name=resource_group_name, + circuit_name=circuit_name, + peering_name=peering_name, + device_path=device_path, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('ExpressRouteCircuitsRoutesTableListResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'circuitName': self._serialize.url("circuit_name", circuit_name, 'str'), + 'peeringName': self._serialize.url("peering_name", peering_name, 'str'), + 'devicePath': self._serialize.url("device_path", device_path, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_list_routes_table.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/routeTables/{devicePath}'} # type: ignore + + async def _list_routes_table_summary_initial( + self, + resource_group_name: str, + circuit_name: str, + peering_name: str, + device_path: str, + **kwargs + ) -> Optional["_models.ExpressRouteCircuitsRoutesTableSummaryListResult"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.ExpressRouteCircuitsRoutesTableSummaryListResult"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._list_routes_table_summary_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'circuitName': self._serialize.url("circuit_name", circuit_name, 'str'), + 'peeringName': self._serialize.url("peering_name", peering_name, 'str'), + 'devicePath': self._serialize.url("device_path", device_path, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('ExpressRouteCircuitsRoutesTableSummaryListResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _list_routes_table_summary_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/routeTablesSummary/{devicePath}'} # type: ignore + + async def begin_list_routes_table_summary( + self, + resource_group_name: str, + circuit_name: str, + peering_name: str, + device_path: str, + **kwargs + ) -> AsyncLROPoller["_models.ExpressRouteCircuitsRoutesTableSummaryListResult"]: + """Gets the currently advertised routes table summary associated with the express route circuit in + a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param circuit_name: The name of the express route circuit. + :type circuit_name: str + :param peering_name: The name of the peering. + :type peering_name: str + :param device_path: The path of the device. + :type device_path: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableSummaryListResult or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitsRoutesTableSummaryListResult] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteCircuitsRoutesTableSummaryListResult"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._list_routes_table_summary_initial( + resource_group_name=resource_group_name, + circuit_name=circuit_name, + peering_name=peering_name, + device_path=device_path, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('ExpressRouteCircuitsRoutesTableSummaryListResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'circuitName': self._serialize.url("circuit_name", circuit_name, 'str'), + 'peeringName': self._serialize.url("peering_name", peering_name, 'str'), + 'devicePath': self._serialize.url("device_path", device_path, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_list_routes_table_summary.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/routeTablesSummary/{devicePath}'} # type: ignore + + async def get_stats( + self, + resource_group_name: str, + circuit_name: str, + **kwargs + ) -> "_models.ExpressRouteCircuitStats": + """Gets all the stats from an express route circuit in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param circuit_name: The name of the express route circuit. + :type circuit_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ExpressRouteCircuitStats, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitStats + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteCircuitStats"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get_stats.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'circuitName': self._serialize.url("circuit_name", circuit_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ExpressRouteCircuitStats', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_stats.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/stats'} # type: ignore + + async def get_peering_stats( + self, + resource_group_name: str, + circuit_name: str, + peering_name: str, + **kwargs + ) -> "_models.ExpressRouteCircuitStats": + """Gets all stats from an express route circuit in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param circuit_name: The name of the express route circuit. + :type circuit_name: str + :param peering_name: The name of the peering. + :type peering_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ExpressRouteCircuitStats, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitStats + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteCircuitStats"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get_peering_stats.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'circuitName': self._serialize.url("circuit_name", circuit_name, 'str'), + 'peeringName': self._serialize.url("peering_name", peering_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ExpressRouteCircuitStats', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_peering_stats.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/stats'} # type: ignore + + def list( + self, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["_models.ExpressRouteCircuitListResult"]: + """Gets all the express route circuits in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ExpressRouteCircuitListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteCircuitListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('ExpressRouteCircuitListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits'} # type: ignore + + def list_all( + self, + **kwargs + ) -> AsyncIterable["_models.ExpressRouteCircuitListResult"]: + """Gets all the express route circuits in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ExpressRouteCircuitListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteCircuitListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_all.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('ExpressRouteCircuitListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_all.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteCircuits'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_express_route_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_express_route_connections_operations.py new file mode 100644 index 000000000000..3cacdd5b9597 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_express_route_connections_operations.py @@ -0,0 +1,414 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class ExpressRouteConnectionsOperations: + """ExpressRouteConnectionsOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def _create_or_update_initial( + self, + resource_group_name: str, + express_route_gateway_name: str, + connection_name: str, + put_express_route_connection_parameters: "_models.ExpressRouteConnection", + **kwargs + ) -> "_models.ExpressRouteConnection": + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteConnection"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'expressRouteGatewayName': self._serialize.url("express_route_gateway_name", express_route_gateway_name, 'str'), + 'connectionName': self._serialize.url("connection_name", connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(put_express_route_connection_parameters, 'ExpressRouteConnection') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('ExpressRouteConnection', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('ExpressRouteConnection', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/expressRouteConnections/{connectionName}'} # type: ignore + + async def begin_create_or_update( + self, + resource_group_name: str, + express_route_gateway_name: str, + connection_name: str, + put_express_route_connection_parameters: "_models.ExpressRouteConnection", + **kwargs + ) -> AsyncLROPoller["_models.ExpressRouteConnection"]: + """Creates a connection between an ExpressRoute gateway and an ExpressRoute circuit. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param express_route_gateway_name: The name of the ExpressRoute gateway. + :type express_route_gateway_name: str + :param connection_name: The name of the connection subresource. + :type connection_name: str + :param put_express_route_connection_parameters: Parameters required in an + ExpressRouteConnection PUT operation. + :type put_express_route_connection_parameters: ~azure.mgmt.network.v2021_02_01.models.ExpressRouteConnection + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either ExpressRouteConnection or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.ExpressRouteConnection] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteConnection"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + resource_group_name=resource_group_name, + express_route_gateway_name=express_route_gateway_name, + connection_name=connection_name, + put_express_route_connection_parameters=put_express_route_connection_parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('ExpressRouteConnection', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'expressRouteGatewayName': self._serialize.url("express_route_gateway_name", express_route_gateway_name, 'str'), + 'connectionName': self._serialize.url("connection_name", connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/expressRouteConnections/{connectionName}'} # type: ignore + + async def get( + self, + resource_group_name: str, + express_route_gateway_name: str, + connection_name: str, + **kwargs + ) -> "_models.ExpressRouteConnection": + """Gets the specified ExpressRouteConnection. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param express_route_gateway_name: The name of the ExpressRoute gateway. + :type express_route_gateway_name: str + :param connection_name: The name of the ExpressRoute connection. + :type connection_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ExpressRouteConnection, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.ExpressRouteConnection + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteConnection"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'expressRouteGatewayName': self._serialize.url("express_route_gateway_name", express_route_gateway_name, 'str'), + 'connectionName': self._serialize.url("connection_name", connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ExpressRouteConnection', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/expressRouteConnections/{connectionName}'} # type: ignore + + async def _delete_initial( + self, + resource_group_name: str, + express_route_gateway_name: str, + connection_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'expressRouteGatewayName': self._serialize.url("express_route_gateway_name", express_route_gateway_name, 'str'), + 'connectionName': self._serialize.url("connection_name", connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/expressRouteConnections/{connectionName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + express_route_gateway_name: str, + connection_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes a connection to a ExpressRoute circuit. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param express_route_gateway_name: The name of the ExpressRoute gateway. + :type express_route_gateway_name: str + :param connection_name: The name of the connection subresource. + :type connection_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + express_route_gateway_name=express_route_gateway_name, + connection_name=connection_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'expressRouteGatewayName': self._serialize.url("express_route_gateway_name", express_route_gateway_name, 'str'), + 'connectionName': self._serialize.url("connection_name", connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/expressRouteConnections/{connectionName}'} # type: ignore + + async def list( + self, + resource_group_name: str, + express_route_gateway_name: str, + **kwargs + ) -> "_models.ExpressRouteConnectionList": + """Lists ExpressRouteConnections. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param express_route_gateway_name: The name of the ExpressRoute gateway. + :type express_route_gateway_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ExpressRouteConnectionList, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.ExpressRouteConnectionList + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteConnectionList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'expressRouteGatewayName': self._serialize.url("express_route_gateway_name", express_route_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ExpressRouteConnectionList', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/expressRouteConnections'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_express_route_cross_connection_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_express_route_cross_connection_peerings_operations.py new file mode 100644 index 000000000000..020bba982e70 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_express_route_cross_connection_peerings_operations.py @@ -0,0 +1,431 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class ExpressRouteCrossConnectionPeeringsOperations: + """ExpressRouteCrossConnectionPeeringsOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + resource_group_name: str, + cross_connection_name: str, + **kwargs + ) -> AsyncIterable["_models.ExpressRouteCrossConnectionPeeringList"]: + """Gets all peerings in a specified ExpressRouteCrossConnection. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param cross_connection_name: The name of the ExpressRouteCrossConnection. + :type cross_connection_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ExpressRouteCrossConnectionPeeringList or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.ExpressRouteCrossConnectionPeeringList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteCrossConnectionPeeringList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'crossConnectionName': self._serialize.url("cross_connection_name", cross_connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('ExpressRouteCrossConnectionPeeringList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings'} # type: ignore + + async def _delete_initial( + self, + resource_group_name: str, + cross_connection_name: str, + peering_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'crossConnectionName': self._serialize.url("cross_connection_name", cross_connection_name, 'str'), + 'peeringName': self._serialize.url("peering_name", peering_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + cross_connection_name: str, + peering_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the specified peering from the ExpressRouteCrossConnection. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param cross_connection_name: The name of the ExpressRouteCrossConnection. + :type cross_connection_name: str + :param peering_name: The name of the peering. + :type peering_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + cross_connection_name=cross_connection_name, + peering_name=peering_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'crossConnectionName': self._serialize.url("cross_connection_name", cross_connection_name, 'str'), + 'peeringName': self._serialize.url("peering_name", peering_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}'} # type: ignore + + async def get( + self, + resource_group_name: str, + cross_connection_name: str, + peering_name: str, + **kwargs + ) -> "_models.ExpressRouteCrossConnectionPeering": + """Gets the specified peering for the ExpressRouteCrossConnection. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param cross_connection_name: The name of the ExpressRouteCrossConnection. + :type cross_connection_name: str + :param peering_name: The name of the peering. + :type peering_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ExpressRouteCrossConnectionPeering, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.ExpressRouteCrossConnectionPeering + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteCrossConnectionPeering"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'crossConnectionName': self._serialize.url("cross_connection_name", cross_connection_name, 'str'), + 'peeringName': self._serialize.url("peering_name", peering_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ExpressRouteCrossConnectionPeering', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}'} # type: ignore + + async def _create_or_update_initial( + self, + resource_group_name: str, + cross_connection_name: str, + peering_name: str, + peering_parameters: "_models.ExpressRouteCrossConnectionPeering", + **kwargs + ) -> "_models.ExpressRouteCrossConnectionPeering": + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteCrossConnectionPeering"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'crossConnectionName': self._serialize.url("cross_connection_name", cross_connection_name, 'str'), + 'peeringName': self._serialize.url("peering_name", peering_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(peering_parameters, 'ExpressRouteCrossConnectionPeering') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('ExpressRouteCrossConnectionPeering', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('ExpressRouteCrossConnectionPeering', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}'} # type: ignore + + async def begin_create_or_update( + self, + resource_group_name: str, + cross_connection_name: str, + peering_name: str, + peering_parameters: "_models.ExpressRouteCrossConnectionPeering", + **kwargs + ) -> AsyncLROPoller["_models.ExpressRouteCrossConnectionPeering"]: + """Creates or updates a peering in the specified ExpressRouteCrossConnection. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param cross_connection_name: The name of the ExpressRouteCrossConnection. + :type cross_connection_name: str + :param peering_name: The name of the peering. + :type peering_name: str + :param peering_parameters: Parameters supplied to the create or update + ExpressRouteCrossConnection peering operation. + :type peering_parameters: ~azure.mgmt.network.v2021_02_01.models.ExpressRouteCrossConnectionPeering + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either ExpressRouteCrossConnectionPeering or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.ExpressRouteCrossConnectionPeering] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteCrossConnectionPeering"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + resource_group_name=resource_group_name, + cross_connection_name=cross_connection_name, + peering_name=peering_name, + peering_parameters=peering_parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('ExpressRouteCrossConnectionPeering', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'crossConnectionName': self._serialize.url("cross_connection_name", cross_connection_name, 'str'), + 'peeringName': self._serialize.url("peering_name", peering_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_express_route_cross_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_express_route_cross_connections_operations.py new file mode 100644 index 000000000000..933fb2212700 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_express_route_cross_connections_operations.py @@ -0,0 +1,823 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class ExpressRouteCrossConnectionsOperations: + """ExpressRouteCrossConnectionsOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + **kwargs + ) -> AsyncIterable["_models.ExpressRouteCrossConnectionListResult"]: + """Retrieves all the ExpressRouteCrossConnections in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ExpressRouteCrossConnectionListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.ExpressRouteCrossConnectionListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteCrossConnectionListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('ExpressRouteCrossConnectionListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteCrossConnections'} # type: ignore + + def list_by_resource_group( + self, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["_models.ExpressRouteCrossConnectionListResult"]: + """Retrieves all the ExpressRouteCrossConnections in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ExpressRouteCrossConnectionListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.ExpressRouteCrossConnectionListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteCrossConnectionListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_resource_group.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('ExpressRouteCrossConnectionListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections'} # type: ignore + + async def get( + self, + resource_group_name: str, + cross_connection_name: str, + **kwargs + ) -> "_models.ExpressRouteCrossConnection": + """Gets details about the specified ExpressRouteCrossConnection. + + :param resource_group_name: The name of the resource group (peering location of the circuit). + :type resource_group_name: str + :param cross_connection_name: The name of the ExpressRouteCrossConnection (service key of the + circuit). + :type cross_connection_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ExpressRouteCrossConnection, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.ExpressRouteCrossConnection + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteCrossConnection"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'crossConnectionName': self._serialize.url("cross_connection_name", cross_connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ExpressRouteCrossConnection', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}'} # type: ignore + + async def _create_or_update_initial( + self, + resource_group_name: str, + cross_connection_name: str, + parameters: "_models.ExpressRouteCrossConnection", + **kwargs + ) -> "_models.ExpressRouteCrossConnection": + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteCrossConnection"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'crossConnectionName': self._serialize.url("cross_connection_name", cross_connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'ExpressRouteCrossConnection') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ExpressRouteCrossConnection', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}'} # type: ignore + + async def begin_create_or_update( + self, + resource_group_name: str, + cross_connection_name: str, + parameters: "_models.ExpressRouteCrossConnection", + **kwargs + ) -> AsyncLROPoller["_models.ExpressRouteCrossConnection"]: + """Update the specified ExpressRouteCrossConnection. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param cross_connection_name: The name of the ExpressRouteCrossConnection. + :type cross_connection_name: str + :param parameters: Parameters supplied to the update express route crossConnection operation. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.ExpressRouteCrossConnection + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either ExpressRouteCrossConnection or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.ExpressRouteCrossConnection] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteCrossConnection"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + resource_group_name=resource_group_name, + cross_connection_name=cross_connection_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('ExpressRouteCrossConnection', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'crossConnectionName': self._serialize.url("cross_connection_name", cross_connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}'} # type: ignore + + async def update_tags( + self, + resource_group_name: str, + cross_connection_name: str, + cross_connection_parameters: "_models.TagsObject", + **kwargs + ) -> "_models.ExpressRouteCrossConnection": + """Updates an express route cross connection tags. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param cross_connection_name: The name of the cross connection. + :type cross_connection_name: str + :param cross_connection_parameters: Parameters supplied to update express route cross + connection tags. + :type cross_connection_parameters: ~azure.mgmt.network.v2021_02_01.models.TagsObject + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ExpressRouteCrossConnection, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.ExpressRouteCrossConnection + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteCrossConnection"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update_tags.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'crossConnectionName': self._serialize.url("cross_connection_name", cross_connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(cross_connection_parameters, 'TagsObject') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ExpressRouteCrossConnection', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}'} # type: ignore + + async def _list_arp_table_initial( + self, + resource_group_name: str, + cross_connection_name: str, + peering_name: str, + device_path: str, + **kwargs + ) -> Optional["_models.ExpressRouteCircuitsArpTableListResult"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.ExpressRouteCircuitsArpTableListResult"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._list_arp_table_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'crossConnectionName': self._serialize.url("cross_connection_name", cross_connection_name, 'str'), + 'peeringName': self._serialize.url("peering_name", peering_name, 'str'), + 'devicePath': self._serialize.url("device_path", device_path, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('ExpressRouteCircuitsArpTableListResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _list_arp_table_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}/arpTables/{devicePath}'} # type: ignore + + async def begin_list_arp_table( + self, + resource_group_name: str, + cross_connection_name: str, + peering_name: str, + device_path: str, + **kwargs + ) -> AsyncLROPoller["_models.ExpressRouteCircuitsArpTableListResult"]: + """Gets the currently advertised ARP table associated with the express route cross connection in a + resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param cross_connection_name: The name of the ExpressRouteCrossConnection. + :type cross_connection_name: str + :param peering_name: The name of the peering. + :type peering_name: str + :param device_path: The path of the device. + :type device_path: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitsArpTableListResult] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteCircuitsArpTableListResult"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._list_arp_table_initial( + resource_group_name=resource_group_name, + cross_connection_name=cross_connection_name, + peering_name=peering_name, + device_path=device_path, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('ExpressRouteCircuitsArpTableListResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'crossConnectionName': self._serialize.url("cross_connection_name", cross_connection_name, 'str'), + 'peeringName': self._serialize.url("peering_name", peering_name, 'str'), + 'devicePath': self._serialize.url("device_path", device_path, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_list_arp_table.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}/arpTables/{devicePath}'} # type: ignore + + async def _list_routes_table_summary_initial( + self, + resource_group_name: str, + cross_connection_name: str, + peering_name: str, + device_path: str, + **kwargs + ) -> Optional["_models.ExpressRouteCrossConnectionsRoutesTableSummaryListResult"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.ExpressRouteCrossConnectionsRoutesTableSummaryListResult"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._list_routes_table_summary_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'crossConnectionName': self._serialize.url("cross_connection_name", cross_connection_name, 'str'), + 'peeringName': self._serialize.url("peering_name", peering_name, 'str'), + 'devicePath': self._serialize.url("device_path", device_path, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('ExpressRouteCrossConnectionsRoutesTableSummaryListResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _list_routes_table_summary_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}/routeTablesSummary/{devicePath}'} # type: ignore + + async def begin_list_routes_table_summary( + self, + resource_group_name: str, + cross_connection_name: str, + peering_name: str, + device_path: str, + **kwargs + ) -> AsyncLROPoller["_models.ExpressRouteCrossConnectionsRoutesTableSummaryListResult"]: + """Gets the route table summary associated with the express route cross connection in a resource + group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param cross_connection_name: The name of the ExpressRouteCrossConnection. + :type cross_connection_name: str + :param peering_name: The name of the peering. + :type peering_name: str + :param device_path: The path of the device. + :type device_path: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either ExpressRouteCrossConnectionsRoutesTableSummaryListResult or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.ExpressRouteCrossConnectionsRoutesTableSummaryListResult] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteCrossConnectionsRoutesTableSummaryListResult"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._list_routes_table_summary_initial( + resource_group_name=resource_group_name, + cross_connection_name=cross_connection_name, + peering_name=peering_name, + device_path=device_path, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('ExpressRouteCrossConnectionsRoutesTableSummaryListResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'crossConnectionName': self._serialize.url("cross_connection_name", cross_connection_name, 'str'), + 'peeringName': self._serialize.url("peering_name", peering_name, 'str'), + 'devicePath': self._serialize.url("device_path", device_path, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_list_routes_table_summary.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}/routeTablesSummary/{devicePath}'} # type: ignore + + async def _list_routes_table_initial( + self, + resource_group_name: str, + cross_connection_name: str, + peering_name: str, + device_path: str, + **kwargs + ) -> Optional["_models.ExpressRouteCircuitsRoutesTableListResult"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.ExpressRouteCircuitsRoutesTableListResult"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._list_routes_table_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'crossConnectionName': self._serialize.url("cross_connection_name", cross_connection_name, 'str'), + 'peeringName': self._serialize.url("peering_name", peering_name, 'str'), + 'devicePath': self._serialize.url("device_path", device_path, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('ExpressRouteCircuitsRoutesTableListResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _list_routes_table_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}/routeTables/{devicePath}'} # type: ignore + + async def begin_list_routes_table( + self, + resource_group_name: str, + cross_connection_name: str, + peering_name: str, + device_path: str, + **kwargs + ) -> AsyncLROPoller["_models.ExpressRouteCircuitsRoutesTableListResult"]: + """Gets the currently advertised routes table associated with the express route cross connection + in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param cross_connection_name: The name of the ExpressRouteCrossConnection. + :type cross_connection_name: str + :param peering_name: The name of the peering. + :type peering_name: str + :param device_path: The path of the device. + :type device_path: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitsRoutesTableListResult] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteCircuitsRoutesTableListResult"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._list_routes_table_initial( + resource_group_name=resource_group_name, + cross_connection_name=cross_connection_name, + peering_name=peering_name, + device_path=device_path, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('ExpressRouteCircuitsRoutesTableListResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'crossConnectionName': self._serialize.url("cross_connection_name", cross_connection_name, 'str'), + 'peeringName': self._serialize.url("peering_name", peering_name, 'str'), + 'devicePath': self._serialize.url("device_path", device_path, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_list_routes_table.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}/routeTables/{devicePath}'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_express_route_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_express_route_gateways_operations.py new file mode 100644 index 000000000000..734e8cc1b27a --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_express_route_gateways_operations.py @@ -0,0 +1,570 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class ExpressRouteGatewaysOperations: + """ExpressRouteGatewaysOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def list_by_subscription( + self, + **kwargs + ) -> "_models.ExpressRouteGatewayList": + """Lists ExpressRoute gateways under a given subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ExpressRouteGatewayList, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.ExpressRouteGatewayList + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteGatewayList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.list_by_subscription.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ExpressRouteGatewayList', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + list_by_subscription.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteGateways'} # type: ignore + + async def list_by_resource_group( + self, + resource_group_name: str, + **kwargs + ) -> "_models.ExpressRouteGatewayList": + """Lists ExpressRoute gateways in a given resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ExpressRouteGatewayList, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.ExpressRouteGatewayList + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteGatewayList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.list_by_resource_group.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ExpressRouteGatewayList', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways'} # type: ignore + + async def _create_or_update_initial( + self, + resource_group_name: str, + express_route_gateway_name: str, + put_express_route_gateway_parameters: "_models.ExpressRouteGateway", + **kwargs + ) -> "_models.ExpressRouteGateway": + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteGateway"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'expressRouteGatewayName': self._serialize.url("express_route_gateway_name", express_route_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(put_express_route_gateway_parameters, 'ExpressRouteGateway') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('ExpressRouteGateway', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('ExpressRouteGateway', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}'} # type: ignore + + async def begin_create_or_update( + self, + resource_group_name: str, + express_route_gateway_name: str, + put_express_route_gateway_parameters: "_models.ExpressRouteGateway", + **kwargs + ) -> AsyncLROPoller["_models.ExpressRouteGateway"]: + """Creates or updates a ExpressRoute gateway in a specified resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param express_route_gateway_name: The name of the ExpressRoute gateway. + :type express_route_gateway_name: str + :param put_express_route_gateway_parameters: Parameters required in an ExpressRoute gateway PUT + operation. + :type put_express_route_gateway_parameters: ~azure.mgmt.network.v2021_02_01.models.ExpressRouteGateway + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either ExpressRouteGateway or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.ExpressRouteGateway] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteGateway"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + resource_group_name=resource_group_name, + express_route_gateway_name=express_route_gateway_name, + put_express_route_gateway_parameters=put_express_route_gateway_parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('ExpressRouteGateway', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'expressRouteGatewayName': self._serialize.url("express_route_gateway_name", express_route_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}'} # type: ignore + + async def _update_tags_initial( + self, + resource_group_name: str, + express_route_gateway_name: str, + express_route_gateway_parameters: "_models.TagsObject", + **kwargs + ) -> Optional["_models.ExpressRouteGateway"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.ExpressRouteGateway"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._update_tags_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'expressRouteGatewayName': self._serialize.url("express_route_gateway_name", express_route_gateway_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(express_route_gateway_parameters, 'TagsObject') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('ExpressRouteGateway', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _update_tags_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}'} # type: ignore + + async def begin_update_tags( + self, + resource_group_name: str, + express_route_gateway_name: str, + express_route_gateway_parameters: "_models.TagsObject", + **kwargs + ) -> AsyncLROPoller["_models.ExpressRouteGateway"]: + """Updates express route gateway tags. + + :param resource_group_name: The resource group name of the ExpressRouteGateway. + :type resource_group_name: str + :param express_route_gateway_name: The name of the gateway. + :type express_route_gateway_name: str + :param express_route_gateway_parameters: Parameters supplied to update a virtual wan express + route gateway tags. + :type express_route_gateway_parameters: ~azure.mgmt.network.v2021_02_01.models.TagsObject + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either ExpressRouteGateway or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.ExpressRouteGateway] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteGateway"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._update_tags_initial( + resource_group_name=resource_group_name, + express_route_gateway_name=express_route_gateway_name, + express_route_gateway_parameters=express_route_gateway_parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('ExpressRouteGateway', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'expressRouteGatewayName': self._serialize.url("express_route_gateway_name", express_route_gateway_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}'} # type: ignore + + async def get( + self, + resource_group_name: str, + express_route_gateway_name: str, + **kwargs + ) -> "_models.ExpressRouteGateway": + """Fetches the details of a ExpressRoute gateway in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param express_route_gateway_name: The name of the ExpressRoute gateway. + :type express_route_gateway_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ExpressRouteGateway, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.ExpressRouteGateway + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteGateway"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'expressRouteGatewayName': self._serialize.url("express_route_gateway_name", express_route_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ExpressRouteGateway', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}'} # type: ignore + + async def _delete_initial( + self, + resource_group_name: str, + express_route_gateway_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'expressRouteGatewayName': self._serialize.url("express_route_gateway_name", express_route_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + express_route_gateway_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the specified ExpressRoute gateway in a resource group. An ExpressRoute gateway + resource can only be deleted when there are no connection subresources. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param express_route_gateway_name: The name of the ExpressRoute gateway. + :type express_route_gateway_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + express_route_gateway_name=express_route_gateway_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'expressRouteGatewayName': self._serialize.url("express_route_gateway_name", express_route_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_express_route_links_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_express_route_links_operations.py new file mode 100644 index 000000000000..2d3b0a965f2b --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_express_route_links_operations.py @@ -0,0 +1,178 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class ExpressRouteLinksOperations: + """ExpressRouteLinksOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def get( + self, + resource_group_name: str, + express_route_port_name: str, + link_name: str, + **kwargs + ) -> "_models.ExpressRouteLink": + """Retrieves the specified ExpressRouteLink resource. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param express_route_port_name: The name of the ExpressRoutePort resource. + :type express_route_port_name: str + :param link_name: The name of the ExpressRouteLink resource. + :type link_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ExpressRouteLink, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.ExpressRouteLink + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteLink"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'expressRoutePortName': self._serialize.url("express_route_port_name", express_route_port_name, 'str'), + 'linkName': self._serialize.url("link_name", link_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ExpressRouteLink', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}/links/{linkName}'} # type: ignore + + def list( + self, + resource_group_name: str, + express_route_port_name: str, + **kwargs + ) -> AsyncIterable["_models.ExpressRouteLinkListResult"]: + """Retrieve the ExpressRouteLink sub-resources of the specified ExpressRoutePort resource. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param express_route_port_name: The name of the ExpressRoutePort resource. + :type express_route_port_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ExpressRouteLinkListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.ExpressRouteLinkListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteLinkListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'expressRoutePortName': self._serialize.url("express_route_port_name", express_route_port_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('ExpressRouteLinkListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}/links'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_express_route_ports_locations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_express_route_ports_locations_operations.py new file mode 100644 index 000000000000..a0218a498d62 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_express_route_ports_locations_operations.py @@ -0,0 +1,165 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class ExpressRoutePortsLocationsOperations: + """ExpressRoutePortsLocationsOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + **kwargs + ) -> AsyncIterable["_models.ExpressRoutePortsLocationListResult"]: + """Retrieves all ExpressRoutePort peering locations. Does not return available bandwidths for each + location. Available bandwidths can only be obtained when retrieving a specific peering + location. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ExpressRoutePortsLocationListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.ExpressRoutePortsLocationListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRoutePortsLocationListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('ExpressRoutePortsLocationListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePortsLocations'} # type: ignore + + async def get( + self, + location_name: str, + **kwargs + ) -> "_models.ExpressRoutePortsLocation": + """Retrieves a single ExpressRoutePort peering location, including the list of available + bandwidths available at said peering location. + + :param location_name: Name of the requested ExpressRoutePort peering location. + :type location_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ExpressRoutePortsLocation, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.ExpressRoutePortsLocation + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRoutePortsLocation"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'locationName': self._serialize.url("location_name", location_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ExpressRoutePortsLocation', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePortsLocations/{locationName}'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_express_route_ports_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_express_route_ports_operations.py new file mode 100644 index 000000000000..841d2349afbf --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_express_route_ports_operations.py @@ -0,0 +1,606 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class ExpressRoutePortsOperations: + """ExpressRoutePortsOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def _delete_initial( + self, + resource_group_name: str, + express_route_port_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'expressRoutePortName': self._serialize.url("express_route_port_name", express_route_port_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + express_route_port_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the specified ExpressRoutePort resource. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param express_route_port_name: The name of the ExpressRoutePort resource. + :type express_route_port_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + express_route_port_name=express_route_port_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'expressRoutePortName': self._serialize.url("express_route_port_name", express_route_port_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}'} # type: ignore + + async def get( + self, + resource_group_name: str, + express_route_port_name: str, + **kwargs + ) -> "_models.ExpressRoutePort": + """Retrieves the requested ExpressRoutePort resource. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param express_route_port_name: The name of ExpressRoutePort. + :type express_route_port_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ExpressRoutePort, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.ExpressRoutePort + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRoutePort"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'expressRoutePortName': self._serialize.url("express_route_port_name", express_route_port_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ExpressRoutePort', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}'} # type: ignore + + async def _create_or_update_initial( + self, + resource_group_name: str, + express_route_port_name: str, + parameters: "_models.ExpressRoutePort", + **kwargs + ) -> "_models.ExpressRoutePort": + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRoutePort"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'expressRoutePortName': self._serialize.url("express_route_port_name", express_route_port_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'ExpressRoutePort') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('ExpressRoutePort', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('ExpressRoutePort', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}'} # type: ignore + + async def begin_create_or_update( + self, + resource_group_name: str, + express_route_port_name: str, + parameters: "_models.ExpressRoutePort", + **kwargs + ) -> AsyncLROPoller["_models.ExpressRoutePort"]: + """Creates or updates the specified ExpressRoutePort resource. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param express_route_port_name: The name of the ExpressRoutePort resource. + :type express_route_port_name: str + :param parameters: Parameters supplied to the create ExpressRoutePort operation. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.ExpressRoutePort + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either ExpressRoutePort or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.ExpressRoutePort] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRoutePort"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + resource_group_name=resource_group_name, + express_route_port_name=express_route_port_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('ExpressRoutePort', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'expressRoutePortName': self._serialize.url("express_route_port_name", express_route_port_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}'} # type: ignore + + async def update_tags( + self, + resource_group_name: str, + express_route_port_name: str, + parameters: "_models.TagsObject", + **kwargs + ) -> "_models.ExpressRoutePort": + """Update ExpressRoutePort tags. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param express_route_port_name: The name of the ExpressRoutePort resource. + :type express_route_port_name: str + :param parameters: Parameters supplied to update ExpressRoutePort resource tags. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.TagsObject + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ExpressRoutePort, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.ExpressRoutePort + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRoutePort"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update_tags.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'expressRoutePortName': self._serialize.url("express_route_port_name", express_route_port_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'TagsObject') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ExpressRoutePort', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}'} # type: ignore + + def list_by_resource_group( + self, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["_models.ExpressRoutePortListResult"]: + """List all the ExpressRoutePort resources in the specified resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ExpressRoutePortListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.ExpressRoutePortListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRoutePortListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_resource_group.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('ExpressRoutePortListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts'} # type: ignore + + def list( + self, + **kwargs + ) -> AsyncIterable["_models.ExpressRoutePortListResult"]: + """List all the ExpressRoutePort resources in the specified subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ExpressRoutePortListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.ExpressRoutePortListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRoutePortListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('ExpressRoutePortListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePorts'} # type: ignore + + async def generate_loa( + self, + resource_group_name: str, + express_route_port_name: str, + request: "_models.GenerateExpressRoutePortsLOARequest", + **kwargs + ) -> "_models.GenerateExpressRoutePortsLOAResult": + """Generate a letter of authorization for the requested ExpressRoutePort resource. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param express_route_port_name: The name of ExpressRoutePort. + :type express_route_port_name: str + :param request: Request parameters supplied to generate a letter of authorization. + :type request: ~azure.mgmt.network.v2021_02_01.models.GenerateExpressRoutePortsLOARequest + :keyword callable cls: A custom type or function that will be passed the direct response + :return: GenerateExpressRoutePortsLOAResult, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.GenerateExpressRoutePortsLOAResult + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.GenerateExpressRoutePortsLOAResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.generate_loa.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'expressRoutePortName': self._serialize.url("express_route_port_name", express_route_port_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(request, 'GenerateExpressRoutePortsLOARequest') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('GenerateExpressRoutePortsLOAResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + generate_loa.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRoutePorts/{expressRoutePortName}/generateLoa'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_express_route_service_providers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_express_route_service_providers_operations.py new file mode 100644 index 000000000000..a53039554cf6 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_express_route_service_providers_operations.py @@ -0,0 +1,108 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class ExpressRouteServiceProvidersOperations: + """ExpressRouteServiceProvidersOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + **kwargs + ) -> AsyncIterable["_models.ExpressRouteServiceProviderListResult"]: + """Gets all the available express route service providers. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ExpressRouteServiceProviderListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.ExpressRouteServiceProviderListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteServiceProviderListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('ExpressRouteServiceProviderListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteServiceProviders'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_firewall_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_firewall_policies_operations.py new file mode 100644 index 000000000000..d6eec7dfc037 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_firewall_policies_operations.py @@ -0,0 +1,479 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class FirewallPoliciesOperations: + """FirewallPoliciesOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def _delete_initial( + self, + resource_group_name: str, + firewall_policy_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'firewallPolicyName': self._serialize.url("firewall_policy_name", firewall_policy_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + firewall_policy_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the specified Firewall Policy. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param firewall_policy_name: The name of the Firewall Policy. + :type firewall_policy_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + firewall_policy_name=firewall_policy_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'firewallPolicyName': self._serialize.url("firewall_policy_name", firewall_policy_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}'} # type: ignore + + async def get( + self, + resource_group_name: str, + firewall_policy_name: str, + expand: Optional[str] = None, + **kwargs + ) -> "_models.FirewallPolicy": + """Gets the specified Firewall Policy. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param firewall_policy_name: The name of the Firewall Policy. + :type firewall_policy_name: str + :param expand: Expands referenced resources. + :type expand: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: FirewallPolicy, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.FirewallPolicy + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.FirewallPolicy"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'firewallPolicyName': self._serialize.url("firewall_policy_name", firewall_policy_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('FirewallPolicy', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}'} # type: ignore + + async def _create_or_update_initial( + self, + resource_group_name: str, + firewall_policy_name: str, + parameters: "_models.FirewallPolicy", + **kwargs + ) -> "_models.FirewallPolicy": + cls = kwargs.pop('cls', None) # type: ClsType["_models.FirewallPolicy"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'firewallPolicyName': self._serialize.url("firewall_policy_name", firewall_policy_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'FirewallPolicy') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('FirewallPolicy', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('FirewallPolicy', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}'} # type: ignore + + async def begin_create_or_update( + self, + resource_group_name: str, + firewall_policy_name: str, + parameters: "_models.FirewallPolicy", + **kwargs + ) -> AsyncLROPoller["_models.FirewallPolicy"]: + """Creates or updates the specified Firewall Policy. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param firewall_policy_name: The name of the Firewall Policy. + :type firewall_policy_name: str + :param parameters: Parameters supplied to the create or update Firewall Policy operation. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.FirewallPolicy + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either FirewallPolicy or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.FirewallPolicy] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.FirewallPolicy"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + resource_group_name=resource_group_name, + firewall_policy_name=firewall_policy_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('FirewallPolicy', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'firewallPolicyName': self._serialize.url("firewall_policy_name", firewall_policy_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}'} # type: ignore + + def list( + self, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["_models.FirewallPolicyListResult"]: + """Lists all Firewall Policies in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either FirewallPolicyListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.FirewallPolicyListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.FirewallPolicyListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('FirewallPolicyListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies'} # type: ignore + + def list_all( + self, + **kwargs + ) -> AsyncIterable["_models.FirewallPolicyListResult"]: + """Gets all the Firewall Policies in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either FirewallPolicyListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.FirewallPolicyListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.FirewallPolicyListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_all.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('FirewallPolicyListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_all.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/firewallPolicies'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_firewall_policy_rule_collection_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_firewall_policy_rule_collection_groups_operations.py new file mode 100644 index 000000000000..38abd1d48423 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_firewall_policy_rule_collection_groups_operations.py @@ -0,0 +1,431 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class FirewallPolicyRuleCollectionGroupsOperations: + """FirewallPolicyRuleCollectionGroupsOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def _delete_initial( + self, + resource_group_name: str, + firewall_policy_name: str, + rule_collection_group_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'firewallPolicyName': self._serialize.url("firewall_policy_name", firewall_policy_name, 'str'), + 'ruleCollectionGroupName': self._serialize.url("rule_collection_group_name", rule_collection_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleCollectionGroups/{ruleCollectionGroupName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + firewall_policy_name: str, + rule_collection_group_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the specified FirewallPolicyRuleCollectionGroup. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param firewall_policy_name: The name of the Firewall Policy. + :type firewall_policy_name: str + :param rule_collection_group_name: The name of the FirewallPolicyRuleCollectionGroup. + :type rule_collection_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + firewall_policy_name=firewall_policy_name, + rule_collection_group_name=rule_collection_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'firewallPolicyName': self._serialize.url("firewall_policy_name", firewall_policy_name, 'str'), + 'ruleCollectionGroupName': self._serialize.url("rule_collection_group_name", rule_collection_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleCollectionGroups/{ruleCollectionGroupName}'} # type: ignore + + async def get( + self, + resource_group_name: str, + firewall_policy_name: str, + rule_collection_group_name: str, + **kwargs + ) -> "_models.FirewallPolicyRuleCollectionGroup": + """Gets the specified FirewallPolicyRuleCollectionGroup. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param firewall_policy_name: The name of the Firewall Policy. + :type firewall_policy_name: str + :param rule_collection_group_name: The name of the FirewallPolicyRuleCollectionGroup. + :type rule_collection_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: FirewallPolicyRuleCollectionGroup, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.FirewallPolicyRuleCollectionGroup + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.FirewallPolicyRuleCollectionGroup"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'firewallPolicyName': self._serialize.url("firewall_policy_name", firewall_policy_name, 'str'), + 'ruleCollectionGroupName': self._serialize.url("rule_collection_group_name", rule_collection_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('FirewallPolicyRuleCollectionGroup', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleCollectionGroups/{ruleCollectionGroupName}'} # type: ignore + + async def _create_or_update_initial( + self, + resource_group_name: str, + firewall_policy_name: str, + rule_collection_group_name: str, + parameters: "_models.FirewallPolicyRuleCollectionGroup", + **kwargs + ) -> "_models.FirewallPolicyRuleCollectionGroup": + cls = kwargs.pop('cls', None) # type: ClsType["_models.FirewallPolicyRuleCollectionGroup"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'firewallPolicyName': self._serialize.url("firewall_policy_name", firewall_policy_name, 'str'), + 'ruleCollectionGroupName': self._serialize.url("rule_collection_group_name", rule_collection_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'FirewallPolicyRuleCollectionGroup') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('FirewallPolicyRuleCollectionGroup', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('FirewallPolicyRuleCollectionGroup', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleCollectionGroups/{ruleCollectionGroupName}'} # type: ignore + + async def begin_create_or_update( + self, + resource_group_name: str, + firewall_policy_name: str, + rule_collection_group_name: str, + parameters: "_models.FirewallPolicyRuleCollectionGroup", + **kwargs + ) -> AsyncLROPoller["_models.FirewallPolicyRuleCollectionGroup"]: + """Creates or updates the specified FirewallPolicyRuleCollectionGroup. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param firewall_policy_name: The name of the Firewall Policy. + :type firewall_policy_name: str + :param rule_collection_group_name: The name of the FirewallPolicyRuleCollectionGroup. + :type rule_collection_group_name: str + :param parameters: Parameters supplied to the create or update + FirewallPolicyRuleCollectionGroup operation. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.FirewallPolicyRuleCollectionGroup + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either FirewallPolicyRuleCollectionGroup or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.FirewallPolicyRuleCollectionGroup] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.FirewallPolicyRuleCollectionGroup"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + resource_group_name=resource_group_name, + firewall_policy_name=firewall_policy_name, + rule_collection_group_name=rule_collection_group_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('FirewallPolicyRuleCollectionGroup', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'firewallPolicyName': self._serialize.url("firewall_policy_name", firewall_policy_name, 'str'), + 'ruleCollectionGroupName': self._serialize.url("rule_collection_group_name", rule_collection_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleCollectionGroups/{ruleCollectionGroupName}'} # type: ignore + + def list( + self, + resource_group_name: str, + firewall_policy_name: str, + **kwargs + ) -> AsyncIterable["_models.FirewallPolicyRuleCollectionGroupListResult"]: + """Lists all FirewallPolicyRuleCollectionGroups in a FirewallPolicy resource. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param firewall_policy_name: The name of the Firewall Policy. + :type firewall_policy_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either FirewallPolicyRuleCollectionGroupListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.FirewallPolicyRuleCollectionGroupListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.FirewallPolicyRuleCollectionGroupListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'firewallPolicyName': self._serialize.url("firewall_policy_name", firewall_policy_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('FirewallPolicyRuleCollectionGroupListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleCollectionGroups'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_flow_logs_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_flow_logs_operations.py new file mode 100644 index 000000000000..d0105abe62cb --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_flow_logs_operations.py @@ -0,0 +1,505 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class FlowLogsOperations: + """FlowLogsOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def _create_or_update_initial( + self, + resource_group_name: str, + network_watcher_name: str, + flow_log_name: str, + parameters: "_models.FlowLog", + **kwargs + ) -> "_models.FlowLog": + cls = kwargs.pop('cls', None) # type: ClsType["_models.FlowLog"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'flowLogName': self._serialize.url("flow_log_name", flow_log_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'FlowLog') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('FlowLog', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('FlowLog', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/flowLogs/{flowLogName}'} # type: ignore + + async def begin_create_or_update( + self, + resource_group_name: str, + network_watcher_name: str, + flow_log_name: str, + parameters: "_models.FlowLog", + **kwargs + ) -> AsyncLROPoller["_models.FlowLog"]: + """Create or update a flow log for the specified network security group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_watcher_name: The name of the network watcher. + :type network_watcher_name: str + :param flow_log_name: The name of the flow log. + :type flow_log_name: str + :param parameters: Parameters that define the create or update flow log resource. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.FlowLog + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either FlowLog or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.FlowLog] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.FlowLog"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + resource_group_name=resource_group_name, + network_watcher_name=network_watcher_name, + flow_log_name=flow_log_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('FlowLog', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'flowLogName': self._serialize.url("flow_log_name", flow_log_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/flowLogs/{flowLogName}'} # type: ignore + + async def update_tags( + self, + resource_group_name: str, + network_watcher_name: str, + flow_log_name: str, + parameters: "_models.TagsObject", + **kwargs + ) -> "_models.FlowLog": + """Update tags of the specified flow log. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_watcher_name: The name of the network watcher. + :type network_watcher_name: str + :param flow_log_name: The name of the flow log. + :type flow_log_name: str + :param parameters: Parameters supplied to update flow log tags. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.TagsObject + :keyword callable cls: A custom type or function that will be passed the direct response + :return: FlowLog, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.FlowLog + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.FlowLog"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update_tags.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'flowLogName': self._serialize.url("flow_log_name", flow_log_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'TagsObject') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('FlowLog', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/flowLogs/{flowLogName}'} # type: ignore + + async def get( + self, + resource_group_name: str, + network_watcher_name: str, + flow_log_name: str, + **kwargs + ) -> "_models.FlowLog": + """Gets a flow log resource by name. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_watcher_name: The name of the network watcher. + :type network_watcher_name: str + :param flow_log_name: The name of the flow log resource. + :type flow_log_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: FlowLog, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.FlowLog + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.FlowLog"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'flowLogName': self._serialize.url("flow_log_name", flow_log_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('FlowLog', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/flowLogs/{flowLogName}'} # type: ignore + + async def _delete_initial( + self, + resource_group_name: str, + network_watcher_name: str, + flow_log_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'flowLogName': self._serialize.url("flow_log_name", flow_log_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/flowLogs/{flowLogName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + network_watcher_name: str, + flow_log_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the specified flow log resource. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_watcher_name: The name of the network watcher. + :type network_watcher_name: str + :param flow_log_name: The name of the flow log resource. + :type flow_log_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + network_watcher_name=network_watcher_name, + flow_log_name=flow_log_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'flowLogName': self._serialize.url("flow_log_name", flow_log_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/flowLogs/{flowLogName}'} # type: ignore + + def list( + self, + resource_group_name: str, + network_watcher_name: str, + **kwargs + ) -> AsyncIterable["_models.FlowLogListResult"]: + """Lists all flow log resources for the specified Network Watcher. + + :param resource_group_name: The name of the resource group containing Network Watcher. + :type resource_group_name: str + :param network_watcher_name: The name of the Network Watcher resource. + :type network_watcher_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either FlowLogListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.FlowLogListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.FlowLogListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('FlowLogListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/flowLogs'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_hub_route_tables_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_hub_route_tables_operations.py new file mode 100644 index 000000000000..f3975bdfcb37 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_hub_route_tables_operations.py @@ -0,0 +1,430 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class HubRouteTablesOperations: + """HubRouteTablesOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def _create_or_update_initial( + self, + resource_group_name: str, + virtual_hub_name: str, + route_table_name: str, + route_table_parameters: "_models.HubRouteTable", + **kwargs + ) -> "_models.HubRouteTable": + cls = kwargs.pop('cls', None) # type: ClsType["_models.HubRouteTable"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualHubName': self._serialize.url("virtual_hub_name", virtual_hub_name, 'str'), + 'routeTableName': self._serialize.url("route_table_name", route_table_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(route_table_parameters, 'HubRouteTable') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('HubRouteTable', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('HubRouteTable', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubRouteTables/{routeTableName}'} # type: ignore + + async def begin_create_or_update( + self, + resource_group_name: str, + virtual_hub_name: str, + route_table_name: str, + route_table_parameters: "_models.HubRouteTable", + **kwargs + ) -> AsyncLROPoller["_models.HubRouteTable"]: + """Creates a RouteTable resource if it doesn't exist else updates the existing RouteTable. + + :param resource_group_name: The resource group name of the VirtualHub. + :type resource_group_name: str + :param virtual_hub_name: The name of the VirtualHub. + :type virtual_hub_name: str + :param route_table_name: The name of the RouteTable. + :type route_table_name: str + :param route_table_parameters: Parameters supplied to create or update RouteTable. + :type route_table_parameters: ~azure.mgmt.network.v2021_02_01.models.HubRouteTable + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either HubRouteTable or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.HubRouteTable] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.HubRouteTable"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + resource_group_name=resource_group_name, + virtual_hub_name=virtual_hub_name, + route_table_name=route_table_name, + route_table_parameters=route_table_parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('HubRouteTable', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualHubName': self._serialize.url("virtual_hub_name", virtual_hub_name, 'str'), + 'routeTableName': self._serialize.url("route_table_name", route_table_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubRouteTables/{routeTableName}'} # type: ignore + + async def get( + self, + resource_group_name: str, + virtual_hub_name: str, + route_table_name: str, + **kwargs + ) -> "_models.HubRouteTable": + """Retrieves the details of a RouteTable. + + :param resource_group_name: The resource group name of the VirtualHub. + :type resource_group_name: str + :param virtual_hub_name: The name of the VirtualHub. + :type virtual_hub_name: str + :param route_table_name: The name of the RouteTable. + :type route_table_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: HubRouteTable, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.HubRouteTable + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.HubRouteTable"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualHubName': self._serialize.url("virtual_hub_name", virtual_hub_name, 'str'), + 'routeTableName': self._serialize.url("route_table_name", route_table_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('HubRouteTable', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubRouteTables/{routeTableName}'} # type: ignore + + async def _delete_initial( + self, + resource_group_name: str, + virtual_hub_name: str, + route_table_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualHubName': self._serialize.url("virtual_hub_name", virtual_hub_name, 'str'), + 'routeTableName': self._serialize.url("route_table_name", route_table_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubRouteTables/{routeTableName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + virtual_hub_name: str, + route_table_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes a RouteTable. + + :param resource_group_name: The resource group name of the RouteTable. + :type resource_group_name: str + :param virtual_hub_name: The name of the VirtualHub. + :type virtual_hub_name: str + :param route_table_name: The name of the RouteTable. + :type route_table_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + virtual_hub_name=virtual_hub_name, + route_table_name=route_table_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualHubName': self._serialize.url("virtual_hub_name", virtual_hub_name, 'str'), + 'routeTableName': self._serialize.url("route_table_name", route_table_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubRouteTables/{routeTableName}'} # type: ignore + + def list( + self, + resource_group_name: str, + virtual_hub_name: str, + **kwargs + ) -> AsyncIterable["_models.ListHubRouteTablesResult"]: + """Retrieves the details of all RouteTables. + + :param resource_group_name: The resource group name of the VirtualHub. + :type resource_group_name: str + :param virtual_hub_name: The name of the VirtualHub. + :type virtual_hub_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ListHubRouteTablesResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.ListHubRouteTablesResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ListHubRouteTablesResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualHubName': self._serialize.url("virtual_hub_name", virtual_hub_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('ListHubRouteTablesResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubRouteTables'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_hub_virtual_network_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_hub_virtual_network_connections_operations.py new file mode 100644 index 000000000000..a9725e4a6c28 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_hub_virtual_network_connections_operations.py @@ -0,0 +1,431 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class HubVirtualNetworkConnectionsOperations: + """HubVirtualNetworkConnectionsOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def _create_or_update_initial( + self, + resource_group_name: str, + virtual_hub_name: str, + connection_name: str, + hub_virtual_network_connection_parameters: "_models.HubVirtualNetworkConnection", + **kwargs + ) -> "_models.HubVirtualNetworkConnection": + cls = kwargs.pop('cls', None) # type: ClsType["_models.HubVirtualNetworkConnection"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualHubName': self._serialize.url("virtual_hub_name", virtual_hub_name, 'str'), + 'connectionName': self._serialize.url("connection_name", connection_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(hub_virtual_network_connection_parameters, 'HubVirtualNetworkConnection') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('HubVirtualNetworkConnection', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('HubVirtualNetworkConnection', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubVirtualNetworkConnections/{connectionName}'} # type: ignore + + async def begin_create_or_update( + self, + resource_group_name: str, + virtual_hub_name: str, + connection_name: str, + hub_virtual_network_connection_parameters: "_models.HubVirtualNetworkConnection", + **kwargs + ) -> AsyncLROPoller["_models.HubVirtualNetworkConnection"]: + """Creates a hub virtual network connection if it doesn't exist else updates the existing one. + + :param resource_group_name: The resource group name of the HubVirtualNetworkConnection. + :type resource_group_name: str + :param virtual_hub_name: The name of the VirtualHub. + :type virtual_hub_name: str + :param connection_name: The name of the HubVirtualNetworkConnection. + :type connection_name: str + :param hub_virtual_network_connection_parameters: Parameters supplied to create or update a hub + virtual network connection. + :type hub_virtual_network_connection_parameters: ~azure.mgmt.network.v2021_02_01.models.HubVirtualNetworkConnection + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either HubVirtualNetworkConnection or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.HubVirtualNetworkConnection] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.HubVirtualNetworkConnection"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + resource_group_name=resource_group_name, + virtual_hub_name=virtual_hub_name, + connection_name=connection_name, + hub_virtual_network_connection_parameters=hub_virtual_network_connection_parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('HubVirtualNetworkConnection', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualHubName': self._serialize.url("virtual_hub_name", virtual_hub_name, 'str'), + 'connectionName': self._serialize.url("connection_name", connection_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubVirtualNetworkConnections/{connectionName}'} # type: ignore + + async def _delete_initial( + self, + resource_group_name: str, + virtual_hub_name: str, + connection_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualHubName': self._serialize.url("virtual_hub_name", virtual_hub_name, 'str'), + 'connectionName': self._serialize.url("connection_name", connection_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubVirtualNetworkConnections/{connectionName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + virtual_hub_name: str, + connection_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes a HubVirtualNetworkConnection. + + :param resource_group_name: The resource group name of the VirtualHub. + :type resource_group_name: str + :param virtual_hub_name: The name of the VirtualHub. + :type virtual_hub_name: str + :param connection_name: The name of the HubVirtualNetworkConnection. + :type connection_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + virtual_hub_name=virtual_hub_name, + connection_name=connection_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualHubName': self._serialize.url("virtual_hub_name", virtual_hub_name, 'str'), + 'connectionName': self._serialize.url("connection_name", connection_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubVirtualNetworkConnections/{connectionName}'} # type: ignore + + async def get( + self, + resource_group_name: str, + virtual_hub_name: str, + connection_name: str, + **kwargs + ) -> "_models.HubVirtualNetworkConnection": + """Retrieves the details of a HubVirtualNetworkConnection. + + :param resource_group_name: The resource group name of the VirtualHub. + :type resource_group_name: str + :param virtual_hub_name: The name of the VirtualHub. + :type virtual_hub_name: str + :param connection_name: The name of the vpn connection. + :type connection_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: HubVirtualNetworkConnection, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.HubVirtualNetworkConnection + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.HubVirtualNetworkConnection"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualHubName': self._serialize.url("virtual_hub_name", virtual_hub_name, 'str'), + 'connectionName': self._serialize.url("connection_name", connection_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('HubVirtualNetworkConnection', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubVirtualNetworkConnections/{connectionName}'} # type: ignore + + def list( + self, + resource_group_name: str, + virtual_hub_name: str, + **kwargs + ) -> AsyncIterable["_models.ListHubVirtualNetworkConnectionsResult"]: + """Retrieves the details of all HubVirtualNetworkConnections. + + :param resource_group_name: The resource group name of the VirtualHub. + :type resource_group_name: str + :param virtual_hub_name: The name of the VirtualHub. + :type virtual_hub_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ListHubVirtualNetworkConnectionsResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.ListHubVirtualNetworkConnectionsResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ListHubVirtualNetworkConnectionsResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualHubName': self._serialize.url("virtual_hub_name", virtual_hub_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('ListHubVirtualNetworkConnectionsResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubVirtualNetworkConnections'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_inbound_nat_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_inbound_nat_rules_operations.py new file mode 100644 index 000000000000..ad7d19cb375e --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_inbound_nat_rules_operations.py @@ -0,0 +1,436 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class InboundNatRulesOperations: + """InboundNatRulesOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + resource_group_name: str, + load_balancer_name: str, + **kwargs + ) -> AsyncIterable["_models.InboundNatRuleListResult"]: + """Gets all the inbound nat rules in a load balancer. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param load_balancer_name: The name of the load balancer. + :type load_balancer_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either InboundNatRuleListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.InboundNatRuleListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.InboundNatRuleListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'loadBalancerName': self._serialize.url("load_balancer_name", load_balancer_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('InboundNatRuleListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules'} # type: ignore + + async def _delete_initial( + self, + resource_group_name: str, + load_balancer_name: str, + inbound_nat_rule_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'loadBalancerName': self._serialize.url("load_balancer_name", load_balancer_name, 'str'), + 'inboundNatRuleName': self._serialize.url("inbound_nat_rule_name", inbound_nat_rule_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules/{inboundNatRuleName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + load_balancer_name: str, + inbound_nat_rule_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the specified load balancer inbound nat rule. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param load_balancer_name: The name of the load balancer. + :type load_balancer_name: str + :param inbound_nat_rule_name: The name of the inbound nat rule. + :type inbound_nat_rule_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + load_balancer_name=load_balancer_name, + inbound_nat_rule_name=inbound_nat_rule_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'loadBalancerName': self._serialize.url("load_balancer_name", load_balancer_name, 'str'), + 'inboundNatRuleName': self._serialize.url("inbound_nat_rule_name", inbound_nat_rule_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules/{inboundNatRuleName}'} # type: ignore + + async def get( + self, + resource_group_name: str, + load_balancer_name: str, + inbound_nat_rule_name: str, + expand: Optional[str] = None, + **kwargs + ) -> "_models.InboundNatRule": + """Gets the specified load balancer inbound nat rule. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param load_balancer_name: The name of the load balancer. + :type load_balancer_name: str + :param inbound_nat_rule_name: The name of the inbound nat rule. + :type inbound_nat_rule_name: str + :param expand: Expands referenced resources. + :type expand: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: InboundNatRule, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.InboundNatRule + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.InboundNatRule"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'loadBalancerName': self._serialize.url("load_balancer_name", load_balancer_name, 'str'), + 'inboundNatRuleName': self._serialize.url("inbound_nat_rule_name", inbound_nat_rule_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('InboundNatRule', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules/{inboundNatRuleName}'} # type: ignore + + async def _create_or_update_initial( + self, + resource_group_name: str, + load_balancer_name: str, + inbound_nat_rule_name: str, + inbound_nat_rule_parameters: "_models.InboundNatRule", + **kwargs + ) -> "_models.InboundNatRule": + cls = kwargs.pop('cls', None) # type: ClsType["_models.InboundNatRule"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'loadBalancerName': self._serialize.url("load_balancer_name", load_balancer_name, 'str'), + 'inboundNatRuleName': self._serialize.url("inbound_nat_rule_name", inbound_nat_rule_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(inbound_nat_rule_parameters, 'InboundNatRule') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('InboundNatRule', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('InboundNatRule', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules/{inboundNatRuleName}'} # type: ignore + + async def begin_create_or_update( + self, + resource_group_name: str, + load_balancer_name: str, + inbound_nat_rule_name: str, + inbound_nat_rule_parameters: "_models.InboundNatRule", + **kwargs + ) -> AsyncLROPoller["_models.InboundNatRule"]: + """Creates or updates a load balancer inbound nat rule. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param load_balancer_name: The name of the load balancer. + :type load_balancer_name: str + :param inbound_nat_rule_name: The name of the inbound nat rule. + :type inbound_nat_rule_name: str + :param inbound_nat_rule_parameters: Parameters supplied to the create or update inbound nat + rule operation. + :type inbound_nat_rule_parameters: ~azure.mgmt.network.v2021_02_01.models.InboundNatRule + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either InboundNatRule or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.InboundNatRule] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.InboundNatRule"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + resource_group_name=resource_group_name, + load_balancer_name=load_balancer_name, + inbound_nat_rule_name=inbound_nat_rule_name, + inbound_nat_rule_parameters=inbound_nat_rule_parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('InboundNatRule', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'loadBalancerName': self._serialize.url("load_balancer_name", load_balancer_name, 'str'), + 'inboundNatRuleName': self._serialize.url("inbound_nat_rule_name", inbound_nat_rule_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules/{inboundNatRuleName}'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_inbound_security_rule_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_inbound_security_rule_operations.py new file mode 100644 index 000000000000..1efff4fdaad9 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_inbound_security_rule_operations.py @@ -0,0 +1,179 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class InboundSecurityRuleOperations: + """InboundSecurityRuleOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def _create_or_update_initial( + self, + resource_group_name: str, + network_virtual_appliance_name: str, + rule_collection_name: str, + parameters: "_models.InboundSecurityRule", + **kwargs + ) -> "_models.InboundSecurityRule": + cls = kwargs.pop('cls', None) # type: ClsType["_models.InboundSecurityRule"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkVirtualApplianceName': self._serialize.url("network_virtual_appliance_name", network_virtual_appliance_name, 'str'), + 'ruleCollectionName': self._serialize.url("rule_collection_name", rule_collection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'InboundSecurityRule') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('InboundSecurityRule', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('InboundSecurityRule', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}/inboundSecurityRules/{ruleCollectionName}'} # type: ignore + + async def begin_create_or_update( + self, + resource_group_name: str, + network_virtual_appliance_name: str, + rule_collection_name: str, + parameters: "_models.InboundSecurityRule", + **kwargs + ) -> AsyncLROPoller["_models.InboundSecurityRule"]: + """Creates or updates the specified Network Virtual Appliance Inbound Security Rules. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_virtual_appliance_name: The name of the Network Virtual Appliance. + :type network_virtual_appliance_name: str + :param rule_collection_name: The name of security rule collection. + :type rule_collection_name: str + :param parameters: Parameters supplied to the create or update Network Virtual Appliance + Inbound Security Rules operation. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.InboundSecurityRule + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either InboundSecurityRule or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.InboundSecurityRule] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.InboundSecurityRule"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + resource_group_name=resource_group_name, + network_virtual_appliance_name=network_virtual_appliance_name, + rule_collection_name=rule_collection_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('InboundSecurityRule', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkVirtualApplianceName': self._serialize.url("network_virtual_appliance_name", network_virtual_appliance_name, 'str'), + 'ruleCollectionName': self._serialize.url("rule_collection_name", rule_collection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}/inboundSecurityRules/{ruleCollectionName}'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_ip_allocations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_ip_allocations_operations.py new file mode 100644 index 000000000000..4d7f5317640d --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_ip_allocations_operations.py @@ -0,0 +1,545 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class IpAllocationsOperations: + """IpAllocationsOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def _delete_initial( + self, + resource_group_name: str, + ip_allocation_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'ipAllocationName': self._serialize.url("ip_allocation_name", ip_allocation_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/IpAllocations/{ipAllocationName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + ip_allocation_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the specified IpAllocation. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param ip_allocation_name: The name of the IpAllocation. + :type ip_allocation_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + ip_allocation_name=ip_allocation_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'ipAllocationName': self._serialize.url("ip_allocation_name", ip_allocation_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/IpAllocations/{ipAllocationName}'} # type: ignore + + async def get( + self, + resource_group_name: str, + ip_allocation_name: str, + expand: Optional[str] = None, + **kwargs + ) -> "_models.IpAllocation": + """Gets the specified IpAllocation by resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param ip_allocation_name: The name of the IpAllocation. + :type ip_allocation_name: str + :param expand: Expands referenced resources. + :type expand: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: IpAllocation, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.IpAllocation + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.IpAllocation"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'ipAllocationName': self._serialize.url("ip_allocation_name", ip_allocation_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('IpAllocation', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/IpAllocations/{ipAllocationName}'} # type: ignore + + async def _create_or_update_initial( + self, + resource_group_name: str, + ip_allocation_name: str, + parameters: "_models.IpAllocation", + **kwargs + ) -> "_models.IpAllocation": + cls = kwargs.pop('cls', None) # type: ClsType["_models.IpAllocation"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'ipAllocationName': self._serialize.url("ip_allocation_name", ip_allocation_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'IpAllocation') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('IpAllocation', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('IpAllocation', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/IpAllocations/{ipAllocationName}'} # type: ignore + + async def begin_create_or_update( + self, + resource_group_name: str, + ip_allocation_name: str, + parameters: "_models.IpAllocation", + **kwargs + ) -> AsyncLROPoller["_models.IpAllocation"]: + """Creates or updates an IpAllocation in the specified resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param ip_allocation_name: The name of the IpAllocation. + :type ip_allocation_name: str + :param parameters: Parameters supplied to the create or update virtual network operation. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.IpAllocation + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either IpAllocation or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.IpAllocation] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.IpAllocation"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + resource_group_name=resource_group_name, + ip_allocation_name=ip_allocation_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('IpAllocation', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'ipAllocationName': self._serialize.url("ip_allocation_name", ip_allocation_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/IpAllocations/{ipAllocationName}'} # type: ignore + + async def update_tags( + self, + resource_group_name: str, + ip_allocation_name: str, + parameters: "_models.TagsObject", + **kwargs + ) -> "_models.IpAllocation": + """Updates a IpAllocation tags. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param ip_allocation_name: The name of the IpAllocation. + :type ip_allocation_name: str + :param parameters: Parameters supplied to update IpAllocation tags. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.TagsObject + :keyword callable cls: A custom type or function that will be passed the direct response + :return: IpAllocation, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.IpAllocation + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.IpAllocation"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update_tags.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'ipAllocationName': self._serialize.url("ip_allocation_name", ip_allocation_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'TagsObject') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('IpAllocation', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/IpAllocations/{ipAllocationName}'} # type: ignore + + def list( + self, + **kwargs + ) -> AsyncIterable["_models.IpAllocationListResult"]: + """Gets all IpAllocations in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either IpAllocationListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.IpAllocationListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.IpAllocationListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('IpAllocationListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/IpAllocations'} # type: ignore + + def list_by_resource_group( + self, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["_models.IpAllocationListResult"]: + """Gets all IpAllocations in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either IpAllocationListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.IpAllocationListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.IpAllocationListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_resource_group.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('IpAllocationListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/IpAllocations'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_ip_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_ip_groups_operations.py new file mode 100644 index 000000000000..e12b22227d31 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_ip_groups_operations.py @@ -0,0 +1,552 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class IpGroupsOperations: + """IpGroupsOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def get( + self, + resource_group_name: str, + ip_groups_name: str, + expand: Optional[str] = None, + **kwargs + ) -> "_models.IpGroup": + """Gets the specified ipGroups. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param ip_groups_name: The name of the ipGroups. + :type ip_groups_name: str + :param expand: Expands resourceIds (of Firewalls/Network Security Groups etc.) back referenced + by the IpGroups resource. + :type expand: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: IpGroup, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.IpGroup + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.IpGroup"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'ipGroupsName': self._serialize.url("ip_groups_name", ip_groups_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.Error, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('IpGroup', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ipGroups/{ipGroupsName}'} # type: ignore + + async def _create_or_update_initial( + self, + resource_group_name: str, + ip_groups_name: str, + parameters: "_models.IpGroup", + **kwargs + ) -> "_models.IpGroup": + cls = kwargs.pop('cls', None) # type: ClsType["_models.IpGroup"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'ipGroupsName': self._serialize.url("ip_groups_name", ip_groups_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'IpGroup') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.Error, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('IpGroup', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('IpGroup', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ipGroups/{ipGroupsName}'} # type: ignore + + async def begin_create_or_update( + self, + resource_group_name: str, + ip_groups_name: str, + parameters: "_models.IpGroup", + **kwargs + ) -> AsyncLROPoller["_models.IpGroup"]: + """Creates or updates an ipGroups in a specified resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param ip_groups_name: The name of the ipGroups. + :type ip_groups_name: str + :param parameters: Parameters supplied to the create or update IpGroups operation. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.IpGroup + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either IpGroup or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.IpGroup] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.IpGroup"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + resource_group_name=resource_group_name, + ip_groups_name=ip_groups_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('IpGroup', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'ipGroupsName': self._serialize.url("ip_groups_name", ip_groups_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ipGroups/{ipGroupsName}'} # type: ignore + + async def update_groups( + self, + resource_group_name: str, + ip_groups_name: str, + parameters: "_models.TagsObject", + **kwargs + ) -> "_models.IpGroup": + """Updates tags of an IpGroups resource. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param ip_groups_name: The name of the ipGroups. + :type ip_groups_name: str + :param parameters: Parameters supplied to the update ipGroups operation. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.TagsObject + :keyword callable cls: A custom type or function that will be passed the direct response + :return: IpGroup, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.IpGroup + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.IpGroup"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update_groups.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'ipGroupsName': self._serialize.url("ip_groups_name", ip_groups_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'TagsObject') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.Error, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('IpGroup', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update_groups.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ipGroups/{ipGroupsName}'} # type: ignore + + async def _delete_initial( + self, + resource_group_name: str, + ip_groups_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'ipGroupsName': self._serialize.url("ip_groups_name", ip_groups_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.Error, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ipGroups/{ipGroupsName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + ip_groups_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the specified ipGroups. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param ip_groups_name: The name of the ipGroups. + :type ip_groups_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + ip_groups_name=ip_groups_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'ipGroupsName': self._serialize.url("ip_groups_name", ip_groups_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ipGroups/{ipGroupsName}'} # type: ignore + + def list_by_resource_group( + self, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["_models.IpGroupListResult"]: + """Gets all IpGroups in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either IpGroupListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.IpGroupListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.IpGroupListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_resource_group.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('IpGroupListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize(_models.Error, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ipGroups'} # type: ignore + + def list( + self, + **kwargs + ) -> AsyncIterable["_models.IpGroupListResult"]: + """Gets all IpGroups in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either IpGroupListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.IpGroupListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.IpGroupListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('IpGroupListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize(_models.Error, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/ipGroups'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_load_balancer_backend_address_pools_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_load_balancer_backend_address_pools_operations.py new file mode 100644 index 000000000000..7290e9ea1251 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_load_balancer_backend_address_pools_operations.py @@ -0,0 +1,431 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class LoadBalancerBackendAddressPoolsOperations: + """LoadBalancerBackendAddressPoolsOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + resource_group_name: str, + load_balancer_name: str, + **kwargs + ) -> AsyncIterable["_models.LoadBalancerBackendAddressPoolListResult"]: + """Gets all the load balancer backed address pools. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param load_balancer_name: The name of the load balancer. + :type load_balancer_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either LoadBalancerBackendAddressPoolListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.LoadBalancerBackendAddressPoolListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.LoadBalancerBackendAddressPoolListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'loadBalancerName': self._serialize.url("load_balancer_name", load_balancer_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('LoadBalancerBackendAddressPoolListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools'} # type: ignore + + async def get( + self, + resource_group_name: str, + load_balancer_name: str, + backend_address_pool_name: str, + **kwargs + ) -> "_models.BackendAddressPool": + """Gets load balancer backend address pool. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param load_balancer_name: The name of the load balancer. + :type load_balancer_name: str + :param backend_address_pool_name: The name of the backend address pool. + :type backend_address_pool_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: BackendAddressPool, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.BackendAddressPool + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.BackendAddressPool"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'loadBalancerName': self._serialize.url("load_balancer_name", load_balancer_name, 'str'), + 'backendAddressPoolName': self._serialize.url("backend_address_pool_name", backend_address_pool_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('BackendAddressPool', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}'} # type: ignore + + async def _create_or_update_initial( + self, + resource_group_name: str, + load_balancer_name: str, + backend_address_pool_name: str, + parameters: "_models.BackendAddressPool", + **kwargs + ) -> "_models.BackendAddressPool": + cls = kwargs.pop('cls', None) # type: ClsType["_models.BackendAddressPool"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'loadBalancerName': self._serialize.url("load_balancer_name", load_balancer_name, 'str'), + 'backendAddressPoolName': self._serialize.url("backend_address_pool_name", backend_address_pool_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'BackendAddressPool') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('BackendAddressPool', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('BackendAddressPool', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}'} # type: ignore + + async def begin_create_or_update( + self, + resource_group_name: str, + load_balancer_name: str, + backend_address_pool_name: str, + parameters: "_models.BackendAddressPool", + **kwargs + ) -> AsyncLROPoller["_models.BackendAddressPool"]: + """Creates or updates a load balancer backend address pool. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param load_balancer_name: The name of the load balancer. + :type load_balancer_name: str + :param backend_address_pool_name: The name of the backend address pool. + :type backend_address_pool_name: str + :param parameters: Parameters supplied to the create or update load balancer backend address + pool operation. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.BackendAddressPool + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either BackendAddressPool or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.BackendAddressPool] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.BackendAddressPool"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + resource_group_name=resource_group_name, + load_balancer_name=load_balancer_name, + backend_address_pool_name=backend_address_pool_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('BackendAddressPool', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'loadBalancerName': self._serialize.url("load_balancer_name", load_balancer_name, 'str'), + 'backendAddressPoolName': self._serialize.url("backend_address_pool_name", backend_address_pool_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}'} # type: ignore + + async def _delete_initial( + self, + resource_group_name: str, + load_balancer_name: str, + backend_address_pool_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'loadBalancerName': self._serialize.url("load_balancer_name", load_balancer_name, 'str'), + 'backendAddressPoolName': self._serialize.url("backend_address_pool_name", backend_address_pool_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + load_balancer_name: str, + backend_address_pool_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the specified load balancer backend address pool. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param load_balancer_name: The name of the load balancer. + :type load_balancer_name: str + :param backend_address_pool_name: The name of the backend address pool. + :type backend_address_pool_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + load_balancer_name=load_balancer_name, + backend_address_pool_name=backend_address_pool_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'loadBalancerName': self._serialize.url("load_balancer_name", load_balancer_name, 'str'), + 'backendAddressPoolName': self._serialize.url("backend_address_pool_name", backend_address_pool_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_load_balancer_frontend_ip_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_load_balancer_frontend_ip_configurations_operations.py new file mode 100644 index 000000000000..598e232e9f24 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_load_balancer_frontend_ip_configurations_operations.py @@ -0,0 +1,178 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class LoadBalancerFrontendIPConfigurationsOperations: + """LoadBalancerFrontendIPConfigurationsOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + resource_group_name: str, + load_balancer_name: str, + **kwargs + ) -> AsyncIterable["_models.LoadBalancerFrontendIPConfigurationListResult"]: + """Gets all the load balancer frontend IP configurations. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param load_balancer_name: The name of the load balancer. + :type load_balancer_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either LoadBalancerFrontendIPConfigurationListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.LoadBalancerFrontendIPConfigurationListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.LoadBalancerFrontendIPConfigurationListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'loadBalancerName': self._serialize.url("load_balancer_name", load_balancer_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('LoadBalancerFrontendIPConfigurationListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/frontendIPConfigurations'} # type: ignore + + async def get( + self, + resource_group_name: str, + load_balancer_name: str, + frontend_ip_configuration_name: str, + **kwargs + ) -> "_models.FrontendIPConfiguration": + """Gets load balancer frontend IP configuration. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param load_balancer_name: The name of the load balancer. + :type load_balancer_name: str + :param frontend_ip_configuration_name: The name of the frontend IP configuration. + :type frontend_ip_configuration_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: FrontendIPConfiguration, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.FrontendIPConfiguration + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.FrontendIPConfiguration"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'loadBalancerName': self._serialize.url("load_balancer_name", load_balancer_name, 'str'), + 'frontendIPConfigurationName': self._serialize.url("frontend_ip_configuration_name", frontend_ip_configuration_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('FrontendIPConfiguration', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/frontendIPConfigurations/{frontendIPConfigurationName}'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_load_balancer_load_balancing_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_load_balancer_load_balancing_rules_operations.py new file mode 100644 index 000000000000..1ce0ced98236 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_load_balancer_load_balancing_rules_operations.py @@ -0,0 +1,178 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class LoadBalancerLoadBalancingRulesOperations: + """LoadBalancerLoadBalancingRulesOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + resource_group_name: str, + load_balancer_name: str, + **kwargs + ) -> AsyncIterable["_models.LoadBalancerLoadBalancingRuleListResult"]: + """Gets all the load balancing rules in a load balancer. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param load_balancer_name: The name of the load balancer. + :type load_balancer_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either LoadBalancerLoadBalancingRuleListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.LoadBalancerLoadBalancingRuleListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.LoadBalancerLoadBalancingRuleListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'loadBalancerName': self._serialize.url("load_balancer_name", load_balancer_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('LoadBalancerLoadBalancingRuleListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/loadBalancingRules'} # type: ignore + + async def get( + self, + resource_group_name: str, + load_balancer_name: str, + load_balancing_rule_name: str, + **kwargs + ) -> "_models.LoadBalancingRule": + """Gets the specified load balancer load balancing rule. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param load_balancer_name: The name of the load balancer. + :type load_balancer_name: str + :param load_balancing_rule_name: The name of the load balancing rule. + :type load_balancing_rule_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: LoadBalancingRule, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.LoadBalancingRule + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.LoadBalancingRule"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'loadBalancerName': self._serialize.url("load_balancer_name", load_balancer_name, 'str'), + 'loadBalancingRuleName': self._serialize.url("load_balancing_rule_name", load_balancing_rule_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('LoadBalancingRule', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/loadBalancingRules/{loadBalancingRuleName}'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_load_balancer_network_interfaces_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_load_balancer_network_interfaces_operations.py new file mode 100644 index 000000000000..a6788e0e1a85 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_load_balancer_network_interfaces_operations.py @@ -0,0 +1,116 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class LoadBalancerNetworkInterfacesOperations: + """LoadBalancerNetworkInterfacesOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + resource_group_name: str, + load_balancer_name: str, + **kwargs + ) -> AsyncIterable["_models.NetworkInterfaceListResult"]: + """Gets associated load balancer network interfaces. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param load_balancer_name: The name of the load balancer. + :type load_balancer_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either NetworkInterfaceListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.NetworkInterfaceListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkInterfaceListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'loadBalancerName': self._serialize.url("load_balancer_name", load_balancer_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('NetworkInterfaceListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/networkInterfaces'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_load_balancer_outbound_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_load_balancer_outbound_rules_operations.py new file mode 100644 index 000000000000..f71f75b68bb7 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_load_balancer_outbound_rules_operations.py @@ -0,0 +1,178 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class LoadBalancerOutboundRulesOperations: + """LoadBalancerOutboundRulesOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + resource_group_name: str, + load_balancer_name: str, + **kwargs + ) -> AsyncIterable["_models.LoadBalancerOutboundRuleListResult"]: + """Gets all the outbound rules in a load balancer. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param load_balancer_name: The name of the load balancer. + :type load_balancer_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either LoadBalancerOutboundRuleListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.LoadBalancerOutboundRuleListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.LoadBalancerOutboundRuleListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'loadBalancerName': self._serialize.url("load_balancer_name", load_balancer_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('LoadBalancerOutboundRuleListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/outboundRules'} # type: ignore + + async def get( + self, + resource_group_name: str, + load_balancer_name: str, + outbound_rule_name: str, + **kwargs + ) -> "_models.OutboundRule": + """Gets the specified load balancer outbound rule. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param load_balancer_name: The name of the load balancer. + :type load_balancer_name: str + :param outbound_rule_name: The name of the outbound rule. + :type outbound_rule_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: OutboundRule, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.OutboundRule + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.OutboundRule"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'loadBalancerName': self._serialize.url("load_balancer_name", load_balancer_name, 'str'), + 'outboundRuleName': self._serialize.url("outbound_rule_name", outbound_rule_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('OutboundRule', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/outboundRules/{outboundRuleName}'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_load_balancer_probes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_load_balancer_probes_operations.py new file mode 100644 index 000000000000..1d5810243346 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_load_balancer_probes_operations.py @@ -0,0 +1,178 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class LoadBalancerProbesOperations: + """LoadBalancerProbesOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + resource_group_name: str, + load_balancer_name: str, + **kwargs + ) -> AsyncIterable["_models.LoadBalancerProbeListResult"]: + """Gets all the load balancer probes. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param load_balancer_name: The name of the load balancer. + :type load_balancer_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either LoadBalancerProbeListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.LoadBalancerProbeListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.LoadBalancerProbeListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'loadBalancerName': self._serialize.url("load_balancer_name", load_balancer_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('LoadBalancerProbeListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes'} # type: ignore + + async def get( + self, + resource_group_name: str, + load_balancer_name: str, + probe_name: str, + **kwargs + ) -> "_models.Probe": + """Gets load balancer probe. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param load_balancer_name: The name of the load balancer. + :type load_balancer_name: str + :param probe_name: The name of the probe. + :type probe_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Probe, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.Probe + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Probe"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'loadBalancerName': self._serialize.url("load_balancer_name", load_balancer_name, 'str'), + 'probeName': self._serialize.url("probe_name", probe_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Probe', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_load_balancers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_load_balancers_operations.py new file mode 100644 index 000000000000..67c9db6c3d65 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_load_balancers_operations.py @@ -0,0 +1,656 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class LoadBalancersOperations: + """LoadBalancersOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def _delete_initial( + self, + resource_group_name: str, + load_balancer_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'loadBalancerName': self._serialize.url("load_balancer_name", load_balancer_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + load_balancer_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the specified load balancer. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param load_balancer_name: The name of the load balancer. + :type load_balancer_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + load_balancer_name=load_balancer_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'loadBalancerName': self._serialize.url("load_balancer_name", load_balancer_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}'} # type: ignore + + async def get( + self, + resource_group_name: str, + load_balancer_name: str, + expand: Optional[str] = None, + **kwargs + ) -> "_models.LoadBalancer": + """Gets the specified load balancer. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param load_balancer_name: The name of the load balancer. + :type load_balancer_name: str + :param expand: Expands referenced resources. + :type expand: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: LoadBalancer, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.LoadBalancer + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.LoadBalancer"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'loadBalancerName': self._serialize.url("load_balancer_name", load_balancer_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('LoadBalancer', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}'} # type: ignore + + async def _create_or_update_initial( + self, + resource_group_name: str, + load_balancer_name: str, + parameters: "_models.LoadBalancer", + **kwargs + ) -> "_models.LoadBalancer": + cls = kwargs.pop('cls', None) # type: ClsType["_models.LoadBalancer"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'loadBalancerName': self._serialize.url("load_balancer_name", load_balancer_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'LoadBalancer') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('LoadBalancer', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('LoadBalancer', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}'} # type: ignore + + async def begin_create_or_update( + self, + resource_group_name: str, + load_balancer_name: str, + parameters: "_models.LoadBalancer", + **kwargs + ) -> AsyncLROPoller["_models.LoadBalancer"]: + """Creates or updates a load balancer. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param load_balancer_name: The name of the load balancer. + :type load_balancer_name: str + :param parameters: Parameters supplied to the create or update load balancer operation. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.LoadBalancer + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either LoadBalancer or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.LoadBalancer] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.LoadBalancer"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + resource_group_name=resource_group_name, + load_balancer_name=load_balancer_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('LoadBalancer', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'loadBalancerName': self._serialize.url("load_balancer_name", load_balancer_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}'} # type: ignore + + async def update_tags( + self, + resource_group_name: str, + load_balancer_name: str, + parameters: "_models.TagsObject", + **kwargs + ) -> "_models.LoadBalancer": + """Updates a load balancer tags. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param load_balancer_name: The name of the load balancer. + :type load_balancer_name: str + :param parameters: Parameters supplied to update load balancer tags. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.TagsObject + :keyword callable cls: A custom type or function that will be passed the direct response + :return: LoadBalancer, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.LoadBalancer + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.LoadBalancer"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update_tags.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'loadBalancerName': self._serialize.url("load_balancer_name", load_balancer_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'TagsObject') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('LoadBalancer', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}'} # type: ignore + + def list_all( + self, + **kwargs + ) -> AsyncIterable["_models.LoadBalancerListResult"]: + """Gets all the load balancers in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either LoadBalancerListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.LoadBalancerListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.LoadBalancerListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_all.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('LoadBalancerListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_all.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/loadBalancers'} # type: ignore + + def list( + self, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["_models.LoadBalancerListResult"]: + """Gets all the load balancers in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either LoadBalancerListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.LoadBalancerListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.LoadBalancerListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('LoadBalancerListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers'} # type: ignore + + async def _swap_public_ip_addresses_initial( + self, + location: str, + parameters: "_models.LoadBalancerVipSwapRequest", + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._swap_public_ip_addresses_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'location': self._serialize.url("location", location, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'LoadBalancerVipSwapRequest') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _swap_public_ip_addresses_initial.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/setLoadBalancerFrontendPublicIpAddresses'} # type: ignore + + async def begin_swap_public_ip_addresses( + self, + location: str, + parameters: "_models.LoadBalancerVipSwapRequest", + **kwargs + ) -> AsyncLROPoller[None]: + """Swaps VIPs between two load balancers. + + :param location: The region where load balancers are located at. + :type location: str + :param parameters: Parameters that define which VIPs should be swapped. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.LoadBalancerVipSwapRequest + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._swap_public_ip_addresses_initial( + location=location, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'location': self._serialize.url("location", location, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_swap_public_ip_addresses.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/setLoadBalancerFrontendPublicIpAddresses'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_local_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_local_network_gateways_operations.py new file mode 100644 index 000000000000..b453084ceafe --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_local_network_gateways_operations.py @@ -0,0 +1,474 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class LocalNetworkGatewaysOperations: + """LocalNetworkGatewaysOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def _create_or_update_initial( + self, + resource_group_name: str, + local_network_gateway_name: str, + parameters: "_models.LocalNetworkGateway", + **kwargs + ) -> "_models.LocalNetworkGateway": + cls = kwargs.pop('cls', None) # type: ClsType["_models.LocalNetworkGateway"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'localNetworkGatewayName': self._serialize.url("local_network_gateway_name", local_network_gateway_name, 'str', min_length=1), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'LocalNetworkGateway') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('LocalNetworkGateway', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('LocalNetworkGateway', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways/{localNetworkGatewayName}'} # type: ignore + + async def begin_create_or_update( + self, + resource_group_name: str, + local_network_gateway_name: str, + parameters: "_models.LocalNetworkGateway", + **kwargs + ) -> AsyncLROPoller["_models.LocalNetworkGateway"]: + """Creates or updates a local network gateway in the specified resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param local_network_gateway_name: The name of the local network gateway. + :type local_network_gateway_name: str + :param parameters: Parameters supplied to the create or update local network gateway operation. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.LocalNetworkGateway + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either LocalNetworkGateway or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.LocalNetworkGateway] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.LocalNetworkGateway"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + resource_group_name=resource_group_name, + local_network_gateway_name=local_network_gateway_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('LocalNetworkGateway', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'localNetworkGatewayName': self._serialize.url("local_network_gateway_name", local_network_gateway_name, 'str', min_length=1), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways/{localNetworkGatewayName}'} # type: ignore + + async def get( + self, + resource_group_name: str, + local_network_gateway_name: str, + **kwargs + ) -> "_models.LocalNetworkGateway": + """Gets the specified local network gateway in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param local_network_gateway_name: The name of the local network gateway. + :type local_network_gateway_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: LocalNetworkGateway, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.LocalNetworkGateway + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.LocalNetworkGateway"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'localNetworkGatewayName': self._serialize.url("local_network_gateway_name", local_network_gateway_name, 'str', min_length=1), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('LocalNetworkGateway', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways/{localNetworkGatewayName}'} # type: ignore + + async def _delete_initial( + self, + resource_group_name: str, + local_network_gateway_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'localNetworkGatewayName': self._serialize.url("local_network_gateway_name", local_network_gateway_name, 'str', min_length=1), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways/{localNetworkGatewayName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + local_network_gateway_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the specified local network gateway. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param local_network_gateway_name: The name of the local network gateway. + :type local_network_gateway_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + local_network_gateway_name=local_network_gateway_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'localNetworkGatewayName': self._serialize.url("local_network_gateway_name", local_network_gateway_name, 'str', min_length=1), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways/{localNetworkGatewayName}'} # type: ignore + + async def update_tags( + self, + resource_group_name: str, + local_network_gateway_name: str, + parameters: "_models.TagsObject", + **kwargs + ) -> "_models.LocalNetworkGateway": + """Updates a local network gateway tags. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param local_network_gateway_name: The name of the local network gateway. + :type local_network_gateway_name: str + :param parameters: Parameters supplied to update local network gateway tags. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.TagsObject + :keyword callable cls: A custom type or function that will be passed the direct response + :return: LocalNetworkGateway, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.LocalNetworkGateway + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.LocalNetworkGateway"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update_tags.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'localNetworkGatewayName': self._serialize.url("local_network_gateway_name", local_network_gateway_name, 'str', min_length=1), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'TagsObject') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('LocalNetworkGateway', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways/{localNetworkGatewayName}'} # type: ignore + + def list( + self, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["_models.LocalNetworkGatewayListResult"]: + """Gets all the local network gateways in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either LocalNetworkGatewayListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.LocalNetworkGatewayListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.LocalNetworkGatewayListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('LocalNetworkGatewayListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_nat_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_nat_gateways_operations.py new file mode 100644 index 000000000000..277843b5ea35 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_nat_gateways_operations.py @@ -0,0 +1,546 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class NatGatewaysOperations: + """NatGatewaysOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def _delete_initial( + self, + resource_group_name: str, + nat_gateway_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'natGatewayName': self._serialize.url("nat_gateway_name", nat_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/natGateways/{natGatewayName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + nat_gateway_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the specified nat gateway. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param nat_gateway_name: The name of the nat gateway. + :type nat_gateway_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + nat_gateway_name=nat_gateway_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'natGatewayName': self._serialize.url("nat_gateway_name", nat_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/natGateways/{natGatewayName}'} # type: ignore + + async def get( + self, + resource_group_name: str, + nat_gateway_name: str, + expand: Optional[str] = None, + **kwargs + ) -> "_models.NatGateway": + """Gets the specified nat gateway in a specified resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param nat_gateway_name: The name of the nat gateway. + :type nat_gateway_name: str + :param expand: Expands referenced resources. + :type expand: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: NatGateway, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.NatGateway + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NatGateway"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'natGatewayName': self._serialize.url("nat_gateway_name", nat_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('NatGateway', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/natGateways/{natGatewayName}'} # type: ignore + + async def _create_or_update_initial( + self, + resource_group_name: str, + nat_gateway_name: str, + parameters: "_models.NatGateway", + **kwargs + ) -> Optional["_models.NatGateway"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.NatGateway"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'natGatewayName': self._serialize.url("nat_gateway_name", nat_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'NatGateway') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('NatGateway', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('NatGateway', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/natGateways/{natGatewayName}'} # type: ignore + + async def begin_create_or_update( + self, + resource_group_name: str, + nat_gateway_name: str, + parameters: "_models.NatGateway", + **kwargs + ) -> AsyncLROPoller["_models.NatGateway"]: + """Creates or updates a nat gateway. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param nat_gateway_name: The name of the nat gateway. + :type nat_gateway_name: str + :param parameters: Parameters supplied to the create or update nat gateway operation. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.NatGateway + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either NatGateway or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.NatGateway] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.NatGateway"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + resource_group_name=resource_group_name, + nat_gateway_name=nat_gateway_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('NatGateway', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'natGatewayName': self._serialize.url("nat_gateway_name", nat_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/natGateways/{natGatewayName}'} # type: ignore + + async def update_tags( + self, + resource_group_name: str, + nat_gateway_name: str, + parameters: "_models.TagsObject", + **kwargs + ) -> "_models.NatGateway": + """Updates nat gateway tags. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param nat_gateway_name: The name of the nat gateway. + :type nat_gateway_name: str + :param parameters: Parameters supplied to update nat gateway tags. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.TagsObject + :keyword callable cls: A custom type or function that will be passed the direct response + :return: NatGateway, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.NatGateway + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NatGateway"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update_tags.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'natGatewayName': self._serialize.url("nat_gateway_name", nat_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'TagsObject') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('NatGateway', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/natGateways/{natGatewayName}'} # type: ignore + + def list_all( + self, + **kwargs + ) -> AsyncIterable["_models.NatGatewayListResult"]: + """Gets all the Nat Gateways in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either NatGatewayListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.NatGatewayListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NatGatewayListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_all.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('NatGatewayListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_all.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/natGateways'} # type: ignore + + def list( + self, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["_models.NatGatewayListResult"]: + """Gets all nat gateways in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either NatGatewayListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.NatGatewayListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NatGatewayListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('NatGatewayListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/natGateways'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_nat_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_nat_rules_operations.py new file mode 100644 index 000000000000..616ddcc40a14 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_nat_rules_operations.py @@ -0,0 +1,431 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class NatRulesOperations: + """NatRulesOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def get( + self, + resource_group_name: str, + gateway_name: str, + nat_rule_name: str, + **kwargs + ) -> "_models.VpnGatewayNatRule": + """Retrieves the details of a nat ruleGet. + + :param resource_group_name: The resource group name of the VpnGateway. + :type resource_group_name: str + :param gateway_name: The name of the gateway. + :type gateway_name: str + :param nat_rule_name: The name of the nat rule. + :type nat_rule_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: VpnGatewayNatRule, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.VpnGatewayNatRule + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.VpnGatewayNatRule"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + 'natRuleName': self._serialize.url("nat_rule_name", nat_rule_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('VpnGatewayNatRule', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/natRules/{natRuleName}'} # type: ignore + + async def _create_or_update_initial( + self, + resource_group_name: str, + gateway_name: str, + nat_rule_name: str, + nat_rule_parameters: "_models.VpnGatewayNatRule", + **kwargs + ) -> "_models.VpnGatewayNatRule": + cls = kwargs.pop('cls', None) # type: ClsType["_models.VpnGatewayNatRule"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + 'natRuleName': self._serialize.url("nat_rule_name", nat_rule_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(nat_rule_parameters, 'VpnGatewayNatRule') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('VpnGatewayNatRule', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('VpnGatewayNatRule', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/natRules/{natRuleName}'} # type: ignore + + async def begin_create_or_update( + self, + resource_group_name: str, + gateway_name: str, + nat_rule_name: str, + nat_rule_parameters: "_models.VpnGatewayNatRule", + **kwargs + ) -> AsyncLROPoller["_models.VpnGatewayNatRule"]: + """Creates a nat rule to a scalable vpn gateway if it doesn't exist else updates the existing nat + rules. + + :param resource_group_name: The resource group name of the VpnGateway. + :type resource_group_name: str + :param gateway_name: The name of the gateway. + :type gateway_name: str + :param nat_rule_name: The name of the nat rule. + :type nat_rule_name: str + :param nat_rule_parameters: Parameters supplied to create or Update a Nat Rule. + :type nat_rule_parameters: ~azure.mgmt.network.v2021_02_01.models.VpnGatewayNatRule + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either VpnGatewayNatRule or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.VpnGatewayNatRule] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.VpnGatewayNatRule"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + resource_group_name=resource_group_name, + gateway_name=gateway_name, + nat_rule_name=nat_rule_name, + nat_rule_parameters=nat_rule_parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('VpnGatewayNatRule', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + 'natRuleName': self._serialize.url("nat_rule_name", nat_rule_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/natRules/{natRuleName}'} # type: ignore + + async def _delete_initial( + self, + resource_group_name: str, + gateway_name: str, + nat_rule_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + 'natRuleName': self._serialize.url("nat_rule_name", nat_rule_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/natRules/{natRuleName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + gateway_name: str, + nat_rule_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes a nat rule. + + :param resource_group_name: The resource group name of the VpnGateway. + :type resource_group_name: str + :param gateway_name: The name of the gateway. + :type gateway_name: str + :param nat_rule_name: The name of the nat rule. + :type nat_rule_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + gateway_name=gateway_name, + nat_rule_name=nat_rule_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + 'natRuleName': self._serialize.url("nat_rule_name", nat_rule_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/natRules/{natRuleName}'} # type: ignore + + def list_by_vpn_gateway( + self, + resource_group_name: str, + gateway_name: str, + **kwargs + ) -> AsyncIterable["_models.ListVpnGatewayNatRulesResult"]: + """Retrieves all nat rules for a particular virtual wan vpn gateway. + + :param resource_group_name: The resource group name of the VpnGateway. + :type resource_group_name: str + :param gateway_name: The name of the gateway. + :type gateway_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ListVpnGatewayNatRulesResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.ListVpnGatewayNatRulesResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ListVpnGatewayNatRulesResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_vpn_gateway.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('ListVpnGatewayNatRulesResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_vpn_gateway.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/natRules'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_network_interface_ip_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_network_interface_ip_configurations_operations.py new file mode 100644 index 000000000000..d46ebd37ff67 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_network_interface_ip_configurations_operations.py @@ -0,0 +1,178 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class NetworkInterfaceIPConfigurationsOperations: + """NetworkInterfaceIPConfigurationsOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + resource_group_name: str, + network_interface_name: str, + **kwargs + ) -> AsyncIterable["_models.NetworkInterfaceIPConfigurationListResult"]: + """Get all ip configurations in a network interface. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_interface_name: The name of the network interface. + :type network_interface_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either NetworkInterfaceIPConfigurationListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.NetworkInterfaceIPConfigurationListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkInterfaceIPConfigurationListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkInterfaceName': self._serialize.url("network_interface_name", network_interface_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('NetworkInterfaceIPConfigurationListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/ipConfigurations'} # type: ignore + + async def get( + self, + resource_group_name: str, + network_interface_name: str, + ip_configuration_name: str, + **kwargs + ) -> "_models.NetworkInterfaceIPConfiguration": + """Gets the specified network interface ip configuration. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_interface_name: The name of the network interface. + :type network_interface_name: str + :param ip_configuration_name: The name of the ip configuration name. + :type ip_configuration_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: NetworkInterfaceIPConfiguration, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.NetworkInterfaceIPConfiguration + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkInterfaceIPConfiguration"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkInterfaceName': self._serialize.url("network_interface_name", network_interface_name, 'str'), + 'ipConfigurationName': self._serialize.url("ip_configuration_name", ip_configuration_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('NetworkInterfaceIPConfiguration', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/ipConfigurations/{ipConfigurationName}'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_network_interface_load_balancers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_network_interface_load_balancers_operations.py new file mode 100644 index 000000000000..253e3c608e0c --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_network_interface_load_balancers_operations.py @@ -0,0 +1,116 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class NetworkInterfaceLoadBalancersOperations: + """NetworkInterfaceLoadBalancersOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + resource_group_name: str, + network_interface_name: str, + **kwargs + ) -> AsyncIterable["_models.NetworkInterfaceLoadBalancerListResult"]: + """List all load balancers in a network interface. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_interface_name: The name of the network interface. + :type network_interface_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either NetworkInterfaceLoadBalancerListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.NetworkInterfaceLoadBalancerListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkInterfaceLoadBalancerListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkInterfaceName': self._serialize.url("network_interface_name", network_interface_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('NetworkInterfaceLoadBalancerListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/loadBalancers'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_network_interface_tap_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_network_interface_tap_configurations_operations.py new file mode 100644 index 000000000000..d13f21708ac5 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_network_interface_tap_configurations_operations.py @@ -0,0 +1,431 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class NetworkInterfaceTapConfigurationsOperations: + """NetworkInterfaceTapConfigurationsOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def _delete_initial( + self, + resource_group_name: str, + network_interface_name: str, + tap_configuration_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkInterfaceName': self._serialize.url("network_interface_name", network_interface_name, 'str'), + 'tapConfigurationName': self._serialize.url("tap_configuration_name", tap_configuration_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/tapConfigurations/{tapConfigurationName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + network_interface_name: str, + tap_configuration_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the specified tap configuration from the NetworkInterface. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_interface_name: The name of the network interface. + :type network_interface_name: str + :param tap_configuration_name: The name of the tap configuration. + :type tap_configuration_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + network_interface_name=network_interface_name, + tap_configuration_name=tap_configuration_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkInterfaceName': self._serialize.url("network_interface_name", network_interface_name, 'str'), + 'tapConfigurationName': self._serialize.url("tap_configuration_name", tap_configuration_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/tapConfigurations/{tapConfigurationName}'} # type: ignore + + async def get( + self, + resource_group_name: str, + network_interface_name: str, + tap_configuration_name: str, + **kwargs + ) -> "_models.NetworkInterfaceTapConfiguration": + """Get the specified tap configuration on a network interface. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_interface_name: The name of the network interface. + :type network_interface_name: str + :param tap_configuration_name: The name of the tap configuration. + :type tap_configuration_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: NetworkInterfaceTapConfiguration, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.NetworkInterfaceTapConfiguration + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkInterfaceTapConfiguration"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkInterfaceName': self._serialize.url("network_interface_name", network_interface_name, 'str'), + 'tapConfigurationName': self._serialize.url("tap_configuration_name", tap_configuration_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('NetworkInterfaceTapConfiguration', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/tapConfigurations/{tapConfigurationName}'} # type: ignore + + async def _create_or_update_initial( + self, + resource_group_name: str, + network_interface_name: str, + tap_configuration_name: str, + tap_configuration_parameters: "_models.NetworkInterfaceTapConfiguration", + **kwargs + ) -> "_models.NetworkInterfaceTapConfiguration": + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkInterfaceTapConfiguration"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkInterfaceName': self._serialize.url("network_interface_name", network_interface_name, 'str'), + 'tapConfigurationName': self._serialize.url("tap_configuration_name", tap_configuration_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(tap_configuration_parameters, 'NetworkInterfaceTapConfiguration') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('NetworkInterfaceTapConfiguration', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('NetworkInterfaceTapConfiguration', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/tapConfigurations/{tapConfigurationName}'} # type: ignore + + async def begin_create_or_update( + self, + resource_group_name: str, + network_interface_name: str, + tap_configuration_name: str, + tap_configuration_parameters: "_models.NetworkInterfaceTapConfiguration", + **kwargs + ) -> AsyncLROPoller["_models.NetworkInterfaceTapConfiguration"]: + """Creates or updates a Tap configuration in the specified NetworkInterface. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_interface_name: The name of the network interface. + :type network_interface_name: str + :param tap_configuration_name: The name of the tap configuration. + :type tap_configuration_name: str + :param tap_configuration_parameters: Parameters supplied to the create or update tap + configuration operation. + :type tap_configuration_parameters: ~azure.mgmt.network.v2021_02_01.models.NetworkInterfaceTapConfiguration + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either NetworkInterfaceTapConfiguration or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.NetworkInterfaceTapConfiguration] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkInterfaceTapConfiguration"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + resource_group_name=resource_group_name, + network_interface_name=network_interface_name, + tap_configuration_name=tap_configuration_name, + tap_configuration_parameters=tap_configuration_parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('NetworkInterfaceTapConfiguration', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkInterfaceName': self._serialize.url("network_interface_name", network_interface_name, 'str'), + 'tapConfigurationName': self._serialize.url("tap_configuration_name", tap_configuration_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/tapConfigurations/{tapConfigurationName}'} # type: ignore + + def list( + self, + resource_group_name: str, + network_interface_name: str, + **kwargs + ) -> AsyncIterable["_models.NetworkInterfaceTapConfigurationListResult"]: + """Get all Tap configurations in a network interface. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_interface_name: The name of the network interface. + :type network_interface_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either NetworkInterfaceTapConfigurationListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.NetworkInterfaceTapConfigurationListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkInterfaceTapConfigurationListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkInterfaceName': self._serialize.url("network_interface_name", network_interface_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('NetworkInterfaceTapConfigurationListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/tapConfigurations'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_network_interfaces_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_network_interfaces_operations.py new file mode 100644 index 000000000000..9d6877f1d875 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_network_interfaces_operations.py @@ -0,0 +1,1386 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class NetworkInterfacesOperations: + """NetworkInterfacesOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_cloud_service_role_instance_network_interfaces( + self, + resource_group_name: str, + cloud_service_name: str, + role_instance_name: str, + **kwargs + ) -> AsyncIterable["_models.NetworkInterfaceListResult"]: + """Gets information about all network interfaces in a role instance in a cloud service. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param cloud_service_name: The name of the cloud service. + :type cloud_service_name: str + :param role_instance_name: The name of role instance. + :type role_instance_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either NetworkInterfaceListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.NetworkInterfaceListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkInterfaceListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_cloud_service_role_instance_network_interfaces.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'cloudServiceName': self._serialize.url("cloud_service_name", cloud_service_name, 'str'), + 'roleInstanceName': self._serialize.url("role_instance_name", role_instance_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('NetworkInterfaceListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_cloud_service_role_instance_network_interfaces.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}/networkInterfaces'} # type: ignore + + def list_cloud_service_network_interfaces( + self, + resource_group_name: str, + cloud_service_name: str, + **kwargs + ) -> AsyncIterable["_models.NetworkInterfaceListResult"]: + """Gets all network interfaces in a cloud service. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param cloud_service_name: The name of the cloud service. + :type cloud_service_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either NetworkInterfaceListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.NetworkInterfaceListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkInterfaceListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_cloud_service_network_interfaces.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'cloudServiceName': self._serialize.url("cloud_service_name", cloud_service_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('NetworkInterfaceListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_cloud_service_network_interfaces.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/networkInterfaces'} # type: ignore + + async def get_cloud_service_network_interface( + self, + resource_group_name: str, + cloud_service_name: str, + role_instance_name: str, + network_interface_name: str, + expand: Optional[str] = None, + **kwargs + ) -> "_models.NetworkInterface": + """Get the specified network interface in a cloud service. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param cloud_service_name: The name of the cloud service. + :type cloud_service_name: str + :param role_instance_name: The name of role instance. + :type role_instance_name: str + :param network_interface_name: The name of the network interface. + :type network_interface_name: str + :param expand: Expands referenced resources. + :type expand: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: NetworkInterface, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.NetworkInterface + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkInterface"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get_cloud_service_network_interface.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'cloudServiceName': self._serialize.url("cloud_service_name", cloud_service_name, 'str'), + 'roleInstanceName': self._serialize.url("role_instance_name", role_instance_name, 'str'), + 'networkInterfaceName': self._serialize.url("network_interface_name", network_interface_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('NetworkInterface', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_cloud_service_network_interface.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}/networkInterfaces/{networkInterfaceName}'} # type: ignore + + async def _delete_initial( + self, + resource_group_name: str, + network_interface_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkInterfaceName': self._serialize.url("network_interface_name", network_interface_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + network_interface_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the specified network interface. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_interface_name: The name of the network interface. + :type network_interface_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + network_interface_name=network_interface_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkInterfaceName': self._serialize.url("network_interface_name", network_interface_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}'} # type: ignore + + async def get( + self, + resource_group_name: str, + network_interface_name: str, + expand: Optional[str] = None, + **kwargs + ) -> "_models.NetworkInterface": + """Gets information about the specified network interface. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_interface_name: The name of the network interface. + :type network_interface_name: str + :param expand: Expands referenced resources. + :type expand: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: NetworkInterface, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.NetworkInterface + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkInterface"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkInterfaceName': self._serialize.url("network_interface_name", network_interface_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('NetworkInterface', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}'} # type: ignore + + async def _create_or_update_initial( + self, + resource_group_name: str, + network_interface_name: str, + parameters: "_models.NetworkInterface", + **kwargs + ) -> "_models.NetworkInterface": + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkInterface"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkInterfaceName': self._serialize.url("network_interface_name", network_interface_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'NetworkInterface') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('NetworkInterface', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('NetworkInterface', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}'} # type: ignore + + async def begin_create_or_update( + self, + resource_group_name: str, + network_interface_name: str, + parameters: "_models.NetworkInterface", + **kwargs + ) -> AsyncLROPoller["_models.NetworkInterface"]: + """Creates or updates a network interface. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_interface_name: The name of the network interface. + :type network_interface_name: str + :param parameters: Parameters supplied to the create or update network interface operation. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.NetworkInterface + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either NetworkInterface or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.NetworkInterface] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkInterface"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + resource_group_name=resource_group_name, + network_interface_name=network_interface_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('NetworkInterface', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkInterfaceName': self._serialize.url("network_interface_name", network_interface_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}'} # type: ignore + + async def update_tags( + self, + resource_group_name: str, + network_interface_name: str, + parameters: "_models.TagsObject", + **kwargs + ) -> "_models.NetworkInterface": + """Updates a network interface tags. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_interface_name: The name of the network interface. + :type network_interface_name: str + :param parameters: Parameters supplied to update network interface tags. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.TagsObject + :keyword callable cls: A custom type or function that will be passed the direct response + :return: NetworkInterface, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.NetworkInterface + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkInterface"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update_tags.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkInterfaceName': self._serialize.url("network_interface_name", network_interface_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'TagsObject') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('NetworkInterface', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}'} # type: ignore + + def list_all( + self, + **kwargs + ) -> AsyncIterable["_models.NetworkInterfaceListResult"]: + """Gets all network interfaces in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either NetworkInterfaceListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.NetworkInterfaceListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkInterfaceListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_all.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('NetworkInterfaceListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_all.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkInterfaces'} # type: ignore + + def list( + self, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["_models.NetworkInterfaceListResult"]: + """Gets all network interfaces in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either NetworkInterfaceListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.NetworkInterfaceListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkInterfaceListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('NetworkInterfaceListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces'} # type: ignore + + async def _get_effective_route_table_initial( + self, + resource_group_name: str, + network_interface_name: str, + **kwargs + ) -> Optional["_models.EffectiveRouteListResult"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.EffectiveRouteListResult"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._get_effective_route_table_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkInterfaceName': self._serialize.url("network_interface_name", network_interface_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('EffectiveRouteListResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _get_effective_route_table_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/effectiveRouteTable'} # type: ignore + + async def begin_get_effective_route_table( + self, + resource_group_name: str, + network_interface_name: str, + **kwargs + ) -> AsyncLROPoller["_models.EffectiveRouteListResult"]: + """Gets all route tables applied to a network interface. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_interface_name: The name of the network interface. + :type network_interface_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either EffectiveRouteListResult or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.EffectiveRouteListResult] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.EffectiveRouteListResult"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._get_effective_route_table_initial( + resource_group_name=resource_group_name, + network_interface_name=network_interface_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('EffectiveRouteListResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkInterfaceName': self._serialize.url("network_interface_name", network_interface_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_get_effective_route_table.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/effectiveRouteTable'} # type: ignore + + async def _list_effective_network_security_groups_initial( + self, + resource_group_name: str, + network_interface_name: str, + **kwargs + ) -> Optional["_models.EffectiveNetworkSecurityGroupListResult"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.EffectiveNetworkSecurityGroupListResult"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._list_effective_network_security_groups_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkInterfaceName': self._serialize.url("network_interface_name", network_interface_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('EffectiveNetworkSecurityGroupListResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _list_effective_network_security_groups_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/effectiveNetworkSecurityGroups'} # type: ignore + + async def begin_list_effective_network_security_groups( + self, + resource_group_name: str, + network_interface_name: str, + **kwargs + ) -> AsyncLROPoller["_models.EffectiveNetworkSecurityGroupListResult"]: + """Gets all network security groups applied to a network interface. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_interface_name: The name of the network interface. + :type network_interface_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either EffectiveNetworkSecurityGroupListResult or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.EffectiveNetworkSecurityGroupListResult] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.EffectiveNetworkSecurityGroupListResult"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._list_effective_network_security_groups_initial( + resource_group_name=resource_group_name, + network_interface_name=network_interface_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('EffectiveNetworkSecurityGroupListResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkInterfaceName': self._serialize.url("network_interface_name", network_interface_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_list_effective_network_security_groups.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/effectiveNetworkSecurityGroups'} # type: ignore + + def list_virtual_machine_scale_set_vm_network_interfaces( + self, + resource_group_name: str, + virtual_machine_scale_set_name: str, + virtualmachine_index: str, + **kwargs + ) -> AsyncIterable["_models.NetworkInterfaceListResult"]: + """Gets information about all network interfaces in a virtual machine in a virtual machine scale + set. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_machine_scale_set_name: The name of the virtual machine scale set. + :type virtual_machine_scale_set_name: str + :param virtualmachine_index: The virtual machine index. + :type virtualmachine_index: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either NetworkInterfaceListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.NetworkInterfaceListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkInterfaceListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-10-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_virtual_machine_scale_set_vm_network_interfaces.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualMachineScaleSetName': self._serialize.url("virtual_machine_scale_set_name", virtual_machine_scale_set_name, 'str'), + 'virtualmachineIndex': self._serialize.url("virtualmachine_index", virtualmachine_index, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('NetworkInterfaceListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_virtual_machine_scale_set_vm_network_interfaces.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines/{virtualmachineIndex}/networkInterfaces'} # type: ignore + + def list_virtual_machine_scale_set_network_interfaces( + self, + resource_group_name: str, + virtual_machine_scale_set_name: str, + **kwargs + ) -> AsyncIterable["_models.NetworkInterfaceListResult"]: + """Gets all network interfaces in a virtual machine scale set. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_machine_scale_set_name: The name of the virtual machine scale set. + :type virtual_machine_scale_set_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either NetworkInterfaceListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.NetworkInterfaceListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkInterfaceListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-10-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_virtual_machine_scale_set_network_interfaces.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualMachineScaleSetName': self._serialize.url("virtual_machine_scale_set_name", virtual_machine_scale_set_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('NetworkInterfaceListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_virtual_machine_scale_set_network_interfaces.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/networkInterfaces'} # type: ignore + + async def get_virtual_machine_scale_set_network_interface( + self, + resource_group_name: str, + virtual_machine_scale_set_name: str, + virtualmachine_index: str, + network_interface_name: str, + expand: Optional[str] = None, + **kwargs + ) -> "_models.NetworkInterface": + """Get the specified network interface in a virtual machine scale set. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_machine_scale_set_name: The name of the virtual machine scale set. + :type virtual_machine_scale_set_name: str + :param virtualmachine_index: The virtual machine index. + :type virtualmachine_index: str + :param network_interface_name: The name of the network interface. + :type network_interface_name: str + :param expand: Expands referenced resources. + :type expand: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: NetworkInterface, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.NetworkInterface + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkInterface"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-10-01" + accept = "application/json" + + # Construct URL + url = self.get_virtual_machine_scale_set_network_interface.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualMachineScaleSetName': self._serialize.url("virtual_machine_scale_set_name", virtual_machine_scale_set_name, 'str'), + 'virtualmachineIndex': self._serialize.url("virtualmachine_index", virtualmachine_index, 'str'), + 'networkInterfaceName': self._serialize.url("network_interface_name", network_interface_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('NetworkInterface', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_virtual_machine_scale_set_network_interface.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines/{virtualmachineIndex}/networkInterfaces/{networkInterfaceName}'} # type: ignore + + def list_virtual_machine_scale_set_ip_configurations( + self, + resource_group_name: str, + virtual_machine_scale_set_name: str, + virtualmachine_index: str, + network_interface_name: str, + expand: Optional[str] = None, + **kwargs + ) -> AsyncIterable["_models.NetworkInterfaceIPConfigurationListResult"]: + """Get the specified network interface ip configuration in a virtual machine scale set. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_machine_scale_set_name: The name of the virtual machine scale set. + :type virtual_machine_scale_set_name: str + :param virtualmachine_index: The virtual machine index. + :type virtualmachine_index: str + :param network_interface_name: The name of the network interface. + :type network_interface_name: str + :param expand: Expands referenced resources. + :type expand: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either NetworkInterfaceIPConfigurationListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.NetworkInterfaceIPConfigurationListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkInterfaceIPConfigurationListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-10-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_virtual_machine_scale_set_ip_configurations.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualMachineScaleSetName': self._serialize.url("virtual_machine_scale_set_name", virtual_machine_scale_set_name, 'str'), + 'virtualmachineIndex': self._serialize.url("virtualmachine_index", virtualmachine_index, 'str'), + 'networkInterfaceName': self._serialize.url("network_interface_name", network_interface_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('NetworkInterfaceIPConfigurationListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_virtual_machine_scale_set_ip_configurations.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines/{virtualmachineIndex}/networkInterfaces/{networkInterfaceName}/ipConfigurations'} # type: ignore + + async def get_virtual_machine_scale_set_ip_configuration( + self, + resource_group_name: str, + virtual_machine_scale_set_name: str, + virtualmachine_index: str, + network_interface_name: str, + ip_configuration_name: str, + expand: Optional[str] = None, + **kwargs + ) -> "_models.NetworkInterfaceIPConfiguration": + """Get the specified network interface ip configuration in a virtual machine scale set. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_machine_scale_set_name: The name of the virtual machine scale set. + :type virtual_machine_scale_set_name: str + :param virtualmachine_index: The virtual machine index. + :type virtualmachine_index: str + :param network_interface_name: The name of the network interface. + :type network_interface_name: str + :param ip_configuration_name: The name of the ip configuration. + :type ip_configuration_name: str + :param expand: Expands referenced resources. + :type expand: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: NetworkInterfaceIPConfiguration, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.NetworkInterfaceIPConfiguration + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkInterfaceIPConfiguration"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-10-01" + accept = "application/json" + + # Construct URL + url = self.get_virtual_machine_scale_set_ip_configuration.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualMachineScaleSetName': self._serialize.url("virtual_machine_scale_set_name", virtual_machine_scale_set_name, 'str'), + 'virtualmachineIndex': self._serialize.url("virtualmachine_index", virtualmachine_index, 'str'), + 'networkInterfaceName': self._serialize.url("network_interface_name", network_interface_name, 'str'), + 'ipConfigurationName': self._serialize.url("ip_configuration_name", ip_configuration_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('NetworkInterfaceIPConfiguration', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_virtual_machine_scale_set_ip_configuration.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines/{virtualmachineIndex}/networkInterfaces/{networkInterfaceName}/ipConfigurations/{ipConfigurationName}'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_network_management_client_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_network_management_client_operations.py new file mode 100644 index 000000000000..19f542334ca2 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_network_management_client_operations.py @@ -0,0 +1,917 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class NetworkManagementClientOperationsMixin: + + async def _put_bastion_shareable_link_initial( + self, + resource_group_name: str, + bastion_host_name: str, + bsl_request: "_models.BastionShareableLinkListRequest", + **kwargs + ) -> Optional["_models.BastionShareableLinkListResult"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.BastionShareableLinkListResult"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._put_bastion_shareable_link_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'bastionHostName': self._serialize.url("bastion_host_name", bastion_host_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(bsl_request, 'BastionShareableLinkListRequest') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('BastionShareableLinkListResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _put_bastion_shareable_link_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/createShareableLinks'} # type: ignore + + async def begin_put_bastion_shareable_link( + self, + resource_group_name: str, + bastion_host_name: str, + bsl_request: "_models.BastionShareableLinkListRequest", + **kwargs + ) -> AsyncLROPoller[AsyncItemPaged["_models.BastionShareableLinkListResult"]]: + """Creates a Bastion Shareable Links for all the VMs specified in the request. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param bastion_host_name: The name of the Bastion Host. + :type bastion_host_name: str + :param bsl_request: Post request for all the Bastion Shareable Link endpoints. + :type bsl_request: ~azure.mgmt.network.v2021_02_01.models.BastionShareableLinkListRequest + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns an iterator like instance of either BastionShareableLinkListResult or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.BastionShareableLinkListResult]] + :raises ~azure.core.exceptions.HttpResponseError: + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.BastionShareableLinkListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = "application/json" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.put_bastion_shareable_link.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'bastionHostName': self._serialize.url("bastion_host_name", bastion_host_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(bsl_request, 'BastionShareableLinkListRequest') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(bsl_request, 'BastionShareableLinkListRequest') + body_content_kwargs['content'] = body_content + request = self._client.get(url, query_parameters, header_parameters, **body_content_kwargs) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('BastionShareableLinkListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.BastionShareableLinkListResult"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._put_bastion_shareable_link_initial( + resource_group_name=resource_group_name, + bastion_host_name=bastion_host_name, + bsl_request=bsl_request, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + def get_long_running_output(pipeline_response): + async def internal_get_next(next_link=None): + if next_link is None: + return pipeline_response + else: + return await get_next(next_link) + + return AsyncItemPaged( + internal_get_next, extract_data + ) + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'bastionHostName': self._serialize.url("bastion_host_name", bastion_host_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_put_bastion_shareable_link.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/createShareableLinks'} # type: ignore + + async def _delete_bastion_shareable_link_initial( + self, + resource_group_name: str, + bastion_host_name: str, + bsl_request: "_models.BastionShareableLinkListRequest", + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._delete_bastion_shareable_link_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'bastionHostName': self._serialize.url("bastion_host_name", bastion_host_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(bsl_request, 'BastionShareableLinkListRequest') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_bastion_shareable_link_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/deleteShareableLinks'} # type: ignore + + async def begin_delete_bastion_shareable_link( + self, + resource_group_name: str, + bastion_host_name: str, + bsl_request: "_models.BastionShareableLinkListRequest", + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the Bastion Shareable Links for all the VMs specified in the request. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param bastion_host_name: The name of the Bastion Host. + :type bastion_host_name: str + :param bsl_request: Post request for all the Bastion Shareable Link endpoints. + :type bsl_request: ~azure.mgmt.network.v2021_02_01.models.BastionShareableLinkListRequest + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_bastion_shareable_link_initial( + resource_group_name=resource_group_name, + bastion_host_name=bastion_host_name, + bsl_request=bsl_request, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'bastionHostName': self._serialize.url("bastion_host_name", bastion_host_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete_bastion_shareable_link.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/deleteShareableLinks'} # type: ignore + + def get_bastion_shareable_link( + self, + resource_group_name: str, + bastion_host_name: str, + bsl_request: "_models.BastionShareableLinkListRequest", + **kwargs + ) -> AsyncIterable["_models.BastionShareableLinkListResult"]: + """Return the Bastion Shareable Links for all the VMs specified in the request. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param bastion_host_name: The name of the Bastion Host. + :type bastion_host_name: str + :param bsl_request: Post request for all the Bastion Shareable Link endpoints. + :type bsl_request: ~azure.mgmt.network.v2021_02_01.models.BastionShareableLinkListRequest + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either BastionShareableLinkListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.BastionShareableLinkListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.BastionShareableLinkListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = "application/json" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.get_bastion_shareable_link.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'bastionHostName': self._serialize.url("bastion_host_name", bastion_host_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(bsl_request, 'BastionShareableLinkListRequest') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(bsl_request, 'BastionShareableLinkListRequest') + body_content_kwargs['content'] = body_content + request = self._client.get(url, query_parameters, header_parameters, **body_content_kwargs) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('BastionShareableLinkListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + get_bastion_shareable_link.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/getShareableLinks'} # type: ignore + + async def _get_active_sessions_initial( + self, + resource_group_name: str, + bastion_host_name: str, + **kwargs + ) -> Optional["_models.BastionActiveSessionListResult"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.BastionActiveSessionListResult"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._get_active_sessions_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'bastionHostName': self._serialize.url("bastion_host_name", bastion_host_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('BastionActiveSessionListResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _get_active_sessions_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/getActiveSessions'} # type: ignore + + async def begin_get_active_sessions( + self, + resource_group_name: str, + bastion_host_name: str, + **kwargs + ) -> AsyncLROPoller[AsyncItemPaged["_models.BastionActiveSessionListResult"]]: + """Returns the list of currently active sessions on the Bastion. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param bastion_host_name: The name of the Bastion Host. + :type bastion_host_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns an iterator like instance of either BastionActiveSessionListResult or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.BastionActiveSessionListResult]] + :raises ~azure.core.exceptions.HttpResponseError: + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.BastionActiveSessionListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.get_active_sessions.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'bastionHostName': self._serialize.url("bastion_host_name", bastion_host_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('BastionActiveSessionListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.BastionActiveSessionListResult"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._get_active_sessions_initial( + resource_group_name=resource_group_name, + bastion_host_name=bastion_host_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + def get_long_running_output(pipeline_response): + async def internal_get_next(next_link=None): + if next_link is None: + return pipeline_response + else: + return await get_next(next_link) + + return AsyncItemPaged( + internal_get_next, extract_data + ) + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'bastionHostName': self._serialize.url("bastion_host_name", bastion_host_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_get_active_sessions.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/getActiveSessions'} # type: ignore + + def disconnect_active_sessions( + self, + resource_group_name: str, + bastion_host_name: str, + session_ids: "_models.SessionIds", + **kwargs + ) -> AsyncIterable["_models.BastionSessionDeleteResult"]: + """Returns the list of currently active sessions on the Bastion. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param bastion_host_name: The name of the Bastion Host. + :type bastion_host_name: str + :param session_ids: The list of sessionids to disconnect. + :type session_ids: ~azure.mgmt.network.v2021_02_01.models.SessionIds + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either BastionSessionDeleteResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.BastionSessionDeleteResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.BastionSessionDeleteResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = "application/json" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.disconnect_active_sessions.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'bastionHostName': self._serialize.url("bastion_host_name", bastion_host_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(session_ids, 'SessionIds') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(session_ids, 'SessionIds') + body_content_kwargs['content'] = body_content + request = self._client.get(url, query_parameters, header_parameters, **body_content_kwargs) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('BastionSessionDeleteResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + disconnect_active_sessions.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/disconnectActiveSessions'} # type: ignore + + async def check_dns_name_availability( + self, + location: str, + domain_name_label: str, + **kwargs + ) -> "_models.DnsNameAvailabilityResult": + """Checks whether a domain name in the cloudapp.azure.com zone is available for use. + + :param location: The location of the domain name. + :type location: str + :param domain_name_label: The domain name to be verified. It must conform to the following + regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$. + :type domain_name_label: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: DnsNameAvailabilityResult, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.DnsNameAvailabilityResult + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DnsNameAvailabilityResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.check_dns_name_availability.metadata['url'] # type: ignore + path_format_arguments = { + 'location': self._serialize.url("location", location, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['domainNameLabel'] = self._serialize.query("domain_name_label", domain_name_label, 'str') + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('DnsNameAvailabilityResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + check_dns_name_availability.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/CheckDnsNameAvailability'} # type: ignore + + async def supported_security_providers( + self, + resource_group_name: str, + virtual_wan_name: str, + **kwargs + ) -> "_models.VirtualWanSecurityProviders": + """Gives the supported security providers for the virtual wan. + + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param virtual_wan_name: The name of the VirtualWAN for which supported security providers are + needed. + :type virtual_wan_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: VirtualWanSecurityProviders, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.VirtualWanSecurityProviders + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualWanSecurityProviders"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.supported_security_providers.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualWANName': self._serialize.url("virtual_wan_name", virtual_wan_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('VirtualWanSecurityProviders', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + supported_security_providers.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{virtualWANName}/supportedSecurityProviders'} # type: ignore + + async def _generatevirtualwanvpnserverconfigurationvpnprofile_initial( + self, + resource_group_name: str, + virtual_wan_name: str, + vpn_client_params: "_models.VirtualWanVpnProfileParameters", + **kwargs + ) -> Optional["_models.VpnProfileResponse"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.VpnProfileResponse"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._generatevirtualwanvpnserverconfigurationvpnprofile_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualWANName': self._serialize.url("virtual_wan_name", virtual_wan_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(vpn_client_params, 'VirtualWanVpnProfileParameters') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('VpnProfileResponse', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _generatevirtualwanvpnserverconfigurationvpnprofile_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{virtualWANName}/GenerateVpnProfile'} # type: ignore + + async def begin_generatevirtualwanvpnserverconfigurationvpnprofile( + self, + resource_group_name: str, + virtual_wan_name: str, + vpn_client_params: "_models.VirtualWanVpnProfileParameters", + **kwargs + ) -> AsyncLROPoller["_models.VpnProfileResponse"]: + """Generates a unique VPN profile for P2S clients for VirtualWan and associated + VpnServerConfiguration combination in the specified resource group. + + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is + needed. + :type virtual_wan_name: str + :param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation + operation. + :type vpn_client_params: ~azure.mgmt.network.v2021_02_01.models.VirtualWanVpnProfileParameters + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either VpnProfileResponse or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.VpnProfileResponse] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.VpnProfileResponse"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._generatevirtualwanvpnserverconfigurationvpnprofile_initial( + resource_group_name=resource_group_name, + virtual_wan_name=virtual_wan_name, + vpn_client_params=vpn_client_params, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('VpnProfileResponse', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualWANName': self._serialize.url("virtual_wan_name", virtual_wan_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_generatevirtualwanvpnserverconfigurationvpnprofile.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{virtualWANName}/GenerateVpnProfile'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_network_profiles_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_network_profiles_operations.py new file mode 100644 index 000000000000..8da721904a85 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_network_profiles_operations.py @@ -0,0 +1,487 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class NetworkProfilesOperations: + """NetworkProfilesOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def _delete_initial( + self, + resource_group_name: str, + network_profile_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkProfileName': self._serialize.url("network_profile_name", network_profile_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkProfiles/{networkProfileName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + network_profile_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the specified network profile. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_profile_name: The name of the NetworkProfile. + :type network_profile_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + network_profile_name=network_profile_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkProfileName': self._serialize.url("network_profile_name", network_profile_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkProfiles/{networkProfileName}'} # type: ignore + + async def get( + self, + resource_group_name: str, + network_profile_name: str, + expand: Optional[str] = None, + **kwargs + ) -> "_models.NetworkProfile": + """Gets the specified network profile in a specified resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_profile_name: The name of the public IP prefix. + :type network_profile_name: str + :param expand: Expands referenced resources. + :type expand: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: NetworkProfile, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.NetworkProfile + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkProfile"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkProfileName': self._serialize.url("network_profile_name", network_profile_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('NetworkProfile', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkProfiles/{networkProfileName}'} # type: ignore + + async def create_or_update( + self, + resource_group_name: str, + network_profile_name: str, + parameters: "_models.NetworkProfile", + **kwargs + ) -> "_models.NetworkProfile": + """Creates or updates a network profile. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_profile_name: The name of the network profile. + :type network_profile_name: str + :param parameters: Parameters supplied to the create or update network profile operation. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.NetworkProfile + :keyword callable cls: A custom type or function that will be passed the direct response + :return: NetworkProfile, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.NetworkProfile + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkProfile"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.create_or_update.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkProfileName': self._serialize.url("network_profile_name", network_profile_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'NetworkProfile') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('NetworkProfile', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('NetworkProfile', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkProfiles/{networkProfileName}'} # type: ignore + + async def update_tags( + self, + resource_group_name: str, + network_profile_name: str, + parameters: "_models.TagsObject", + **kwargs + ) -> "_models.NetworkProfile": + """Updates network profile tags. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_profile_name: The name of the network profile. + :type network_profile_name: str + :param parameters: Parameters supplied to update network profile tags. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.TagsObject + :keyword callable cls: A custom type or function that will be passed the direct response + :return: NetworkProfile, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.NetworkProfile + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkProfile"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update_tags.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkProfileName': self._serialize.url("network_profile_name", network_profile_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'TagsObject') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('NetworkProfile', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkProfiles/{networkProfileName}'} # type: ignore + + def list_all( + self, + **kwargs + ) -> AsyncIterable["_models.NetworkProfileListResult"]: + """Gets all the network profiles in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either NetworkProfileListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.NetworkProfileListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkProfileListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_all.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('NetworkProfileListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_all.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkProfiles'} # type: ignore + + def list( + self, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["_models.NetworkProfileListResult"]: + """Gets all network profiles in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either NetworkProfileListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.NetworkProfileListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkProfileListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('NetworkProfileListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkProfiles'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_network_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_network_security_groups_operations.py new file mode 100644 index 000000000000..3d3573f72821 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_network_security_groups_operations.py @@ -0,0 +1,546 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class NetworkSecurityGroupsOperations: + """NetworkSecurityGroupsOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def _delete_initial( + self, + resource_group_name: str, + network_security_group_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkSecurityGroupName': self._serialize.url("network_security_group_name", network_security_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + network_security_group_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the specified network security group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_security_group_name: The name of the network security group. + :type network_security_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + network_security_group_name=network_security_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkSecurityGroupName': self._serialize.url("network_security_group_name", network_security_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}'} # type: ignore + + async def get( + self, + resource_group_name: str, + network_security_group_name: str, + expand: Optional[str] = None, + **kwargs + ) -> "_models.NetworkSecurityGroup": + """Gets the specified network security group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_security_group_name: The name of the network security group. + :type network_security_group_name: str + :param expand: Expands referenced resources. + :type expand: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: NetworkSecurityGroup, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.NetworkSecurityGroup + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkSecurityGroup"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkSecurityGroupName': self._serialize.url("network_security_group_name", network_security_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('NetworkSecurityGroup', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}'} # type: ignore + + async def _create_or_update_initial( + self, + resource_group_name: str, + network_security_group_name: str, + parameters: "_models.NetworkSecurityGroup", + **kwargs + ) -> "_models.NetworkSecurityGroup": + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkSecurityGroup"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkSecurityGroupName': self._serialize.url("network_security_group_name", network_security_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'NetworkSecurityGroup') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('NetworkSecurityGroup', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('NetworkSecurityGroup', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}'} # type: ignore + + async def begin_create_or_update( + self, + resource_group_name: str, + network_security_group_name: str, + parameters: "_models.NetworkSecurityGroup", + **kwargs + ) -> AsyncLROPoller["_models.NetworkSecurityGroup"]: + """Creates or updates a network security group in the specified resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_security_group_name: The name of the network security group. + :type network_security_group_name: str + :param parameters: Parameters supplied to the create or update network security group + operation. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.NetworkSecurityGroup + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either NetworkSecurityGroup or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.NetworkSecurityGroup] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkSecurityGroup"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + resource_group_name=resource_group_name, + network_security_group_name=network_security_group_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('NetworkSecurityGroup', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkSecurityGroupName': self._serialize.url("network_security_group_name", network_security_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}'} # type: ignore + + async def update_tags( + self, + resource_group_name: str, + network_security_group_name: str, + parameters: "_models.TagsObject", + **kwargs + ) -> "_models.NetworkSecurityGroup": + """Updates a network security group tags. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_security_group_name: The name of the network security group. + :type network_security_group_name: str + :param parameters: Parameters supplied to update network security group tags. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.TagsObject + :keyword callable cls: A custom type or function that will be passed the direct response + :return: NetworkSecurityGroup, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.NetworkSecurityGroup + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkSecurityGroup"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update_tags.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkSecurityGroupName': self._serialize.url("network_security_group_name", network_security_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'TagsObject') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('NetworkSecurityGroup', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}'} # type: ignore + + def list_all( + self, + **kwargs + ) -> AsyncIterable["_models.NetworkSecurityGroupListResult"]: + """Gets all network security groups in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either NetworkSecurityGroupListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.NetworkSecurityGroupListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkSecurityGroupListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_all.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('NetworkSecurityGroupListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_all.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkSecurityGroups'} # type: ignore + + def list( + self, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["_models.NetworkSecurityGroupListResult"]: + """Gets all network security groups in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either NetworkSecurityGroupListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.NetworkSecurityGroupListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkSecurityGroupListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('NetworkSecurityGroupListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_network_virtual_appliances_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_network_virtual_appliances_operations.py new file mode 100644 index 000000000000..a597d985326e --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_network_virtual_appliances_operations.py @@ -0,0 +1,545 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class NetworkVirtualAppliancesOperations: + """NetworkVirtualAppliancesOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def _delete_initial( + self, + resource_group_name: str, + network_virtual_appliance_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkVirtualApplianceName': self._serialize.url("network_virtual_appliance_name", network_virtual_appliance_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + network_virtual_appliance_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the specified Network Virtual Appliance. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_virtual_appliance_name: The name of Network Virtual Appliance. + :type network_virtual_appliance_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + network_virtual_appliance_name=network_virtual_appliance_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkVirtualApplianceName': self._serialize.url("network_virtual_appliance_name", network_virtual_appliance_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}'} # type: ignore + + async def get( + self, + resource_group_name: str, + network_virtual_appliance_name: str, + expand: Optional[str] = None, + **kwargs + ) -> "_models.NetworkVirtualAppliance": + """Gets the specified Network Virtual Appliance. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_virtual_appliance_name: The name of Network Virtual Appliance. + :type network_virtual_appliance_name: str + :param expand: Expands referenced resources. + :type expand: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: NetworkVirtualAppliance, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.NetworkVirtualAppliance + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkVirtualAppliance"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkVirtualApplianceName': self._serialize.url("network_virtual_appliance_name", network_virtual_appliance_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('NetworkVirtualAppliance', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}'} # type: ignore + + async def update_tags( + self, + resource_group_name: str, + network_virtual_appliance_name: str, + parameters: "_models.TagsObject", + **kwargs + ) -> "_models.NetworkVirtualAppliance": + """Updates a Network Virtual Appliance. + + :param resource_group_name: The resource group name of Network Virtual Appliance. + :type resource_group_name: str + :param network_virtual_appliance_name: The name of Network Virtual Appliance being updated. + :type network_virtual_appliance_name: str + :param parameters: Parameters supplied to Update Network Virtual Appliance Tags. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.TagsObject + :keyword callable cls: A custom type or function that will be passed the direct response + :return: NetworkVirtualAppliance, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.NetworkVirtualAppliance + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkVirtualAppliance"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update_tags.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkVirtualApplianceName': self._serialize.url("network_virtual_appliance_name", network_virtual_appliance_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'TagsObject') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('NetworkVirtualAppliance', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}'} # type: ignore + + async def _create_or_update_initial( + self, + resource_group_name: str, + network_virtual_appliance_name: str, + parameters: "_models.NetworkVirtualAppliance", + **kwargs + ) -> "_models.NetworkVirtualAppliance": + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkVirtualAppliance"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkVirtualApplianceName': self._serialize.url("network_virtual_appliance_name", network_virtual_appliance_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'NetworkVirtualAppliance') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('NetworkVirtualAppliance', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('NetworkVirtualAppliance', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}'} # type: ignore + + async def begin_create_or_update( + self, + resource_group_name: str, + network_virtual_appliance_name: str, + parameters: "_models.NetworkVirtualAppliance", + **kwargs + ) -> AsyncLROPoller["_models.NetworkVirtualAppliance"]: + """Creates or updates the specified Network Virtual Appliance. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_virtual_appliance_name: The name of Network Virtual Appliance. + :type network_virtual_appliance_name: str + :param parameters: Parameters supplied to the create or update Network Virtual Appliance. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.NetworkVirtualAppliance + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either NetworkVirtualAppliance or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.NetworkVirtualAppliance] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkVirtualAppliance"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + resource_group_name=resource_group_name, + network_virtual_appliance_name=network_virtual_appliance_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('NetworkVirtualAppliance', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkVirtualApplianceName': self._serialize.url("network_virtual_appliance_name", network_virtual_appliance_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}'} # type: ignore + + def list_by_resource_group( + self, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["_models.NetworkVirtualApplianceListResult"]: + """Lists all Network Virtual Appliances in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either NetworkVirtualApplianceListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.NetworkVirtualApplianceListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkVirtualApplianceListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_resource_group.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('NetworkVirtualApplianceListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances'} # type: ignore + + def list( + self, + **kwargs + ) -> AsyncIterable["_models.NetworkVirtualApplianceListResult"]: + """Gets all Network Virtual Appliances in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either NetworkVirtualApplianceListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.NetworkVirtualApplianceListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkVirtualApplianceListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('NetworkVirtualApplianceListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkVirtualAppliances'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_network_watchers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_network_watchers_operations.py new file mode 100644 index 000000000000..ffb498993835 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_network_watchers_operations.py @@ -0,0 +1,1983 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class NetworkWatchersOperations: + """NetworkWatchersOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def create_or_update( + self, + resource_group_name: str, + network_watcher_name: str, + parameters: "_models.NetworkWatcher", + **kwargs + ) -> "_models.NetworkWatcher": + """Creates or updates a network watcher in the specified resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_watcher_name: The name of the network watcher. + :type network_watcher_name: str + :param parameters: Parameters that define the network watcher resource. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.NetworkWatcher + :keyword callable cls: A custom type or function that will be passed the direct response + :return: NetworkWatcher, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.NetworkWatcher + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkWatcher"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.create_or_update.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'NetworkWatcher') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('NetworkWatcher', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('NetworkWatcher', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}'} # type: ignore + + async def get( + self, + resource_group_name: str, + network_watcher_name: str, + **kwargs + ) -> "_models.NetworkWatcher": + """Gets the specified network watcher by resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_watcher_name: The name of the network watcher. + :type network_watcher_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: NetworkWatcher, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.NetworkWatcher + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkWatcher"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('NetworkWatcher', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}'} # type: ignore + + async def _delete_initial( + self, + resource_group_name: str, + network_watcher_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + network_watcher_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the specified network watcher resource. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_watcher_name: The name of the network watcher. + :type network_watcher_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + network_watcher_name=network_watcher_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}'} # type: ignore + + async def update_tags( + self, + resource_group_name: str, + network_watcher_name: str, + parameters: "_models.TagsObject", + **kwargs + ) -> "_models.NetworkWatcher": + """Updates a network watcher tags. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_watcher_name: The name of the network watcher. + :type network_watcher_name: str + :param parameters: Parameters supplied to update network watcher tags. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.TagsObject + :keyword callable cls: A custom type or function that will be passed the direct response + :return: NetworkWatcher, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.NetworkWatcher + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkWatcher"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update_tags.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'TagsObject') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('NetworkWatcher', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}'} # type: ignore + + def list( + self, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["_models.NetworkWatcherListResult"]: + """Gets all network watchers by resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either NetworkWatcherListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.NetworkWatcherListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkWatcherListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('NetworkWatcherListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers'} # type: ignore + + def list_all( + self, + **kwargs + ) -> AsyncIterable["_models.NetworkWatcherListResult"]: + """Gets all network watchers by subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either NetworkWatcherListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.NetworkWatcherListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkWatcherListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_all.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('NetworkWatcherListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_all.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkWatchers'} # type: ignore + + async def get_topology( + self, + resource_group_name: str, + network_watcher_name: str, + parameters: "_models.TopologyParameters", + **kwargs + ) -> "_models.Topology": + """Gets the current network topology by resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_watcher_name: The name of the network watcher. + :type network_watcher_name: str + :param parameters: Parameters that define the representation of topology. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.TopologyParameters + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Topology, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.Topology + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Topology"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.get_topology.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'TopologyParameters') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Topology', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_topology.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/topology'} # type: ignore + + async def _verify_ip_flow_initial( + self, + resource_group_name: str, + network_watcher_name: str, + parameters: "_models.VerificationIPFlowParameters", + **kwargs + ) -> "_models.VerificationIPFlowResult": + cls = kwargs.pop('cls', None) # type: ClsType["_models.VerificationIPFlowResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._verify_ip_flow_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'VerificationIPFlowParameters') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('VerificationIPFlowResult', pipeline_response) + + if response.status_code == 202: + deserialized = self._deserialize('VerificationIPFlowResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _verify_ip_flow_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/ipFlowVerify'} # type: ignore + + async def begin_verify_ip_flow( + self, + resource_group_name: str, + network_watcher_name: str, + parameters: "_models.VerificationIPFlowParameters", + **kwargs + ) -> AsyncLROPoller["_models.VerificationIPFlowResult"]: + """Verify IP flow from the specified VM to a location given the currently configured NSG rules. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_watcher_name: The name of the network watcher. + :type network_watcher_name: str + :param parameters: Parameters that define the IP flow to be verified. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.VerificationIPFlowParameters + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either VerificationIPFlowResult or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.VerificationIPFlowResult] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.VerificationIPFlowResult"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._verify_ip_flow_initial( + resource_group_name=resource_group_name, + network_watcher_name=network_watcher_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('VerificationIPFlowResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_verify_ip_flow.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/ipFlowVerify'} # type: ignore + + async def _get_next_hop_initial( + self, + resource_group_name: str, + network_watcher_name: str, + parameters: "_models.NextHopParameters", + **kwargs + ) -> "_models.NextHopResult": + cls = kwargs.pop('cls', None) # type: ClsType["_models.NextHopResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._get_next_hop_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'NextHopParameters') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('NextHopResult', pipeline_response) + + if response.status_code == 202: + deserialized = self._deserialize('NextHopResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _get_next_hop_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/nextHop'} # type: ignore + + async def begin_get_next_hop( + self, + resource_group_name: str, + network_watcher_name: str, + parameters: "_models.NextHopParameters", + **kwargs + ) -> AsyncLROPoller["_models.NextHopResult"]: + """Gets the next hop from the specified VM. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_watcher_name: The name of the network watcher. + :type network_watcher_name: str + :param parameters: Parameters that define the source and destination endpoint. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.NextHopParameters + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either NextHopResult or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.NextHopResult] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.NextHopResult"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._get_next_hop_initial( + resource_group_name=resource_group_name, + network_watcher_name=network_watcher_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('NextHopResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_get_next_hop.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/nextHop'} # type: ignore + + async def _get_vm_security_rules_initial( + self, + resource_group_name: str, + network_watcher_name: str, + parameters: "_models.SecurityGroupViewParameters", + **kwargs + ) -> "_models.SecurityGroupViewResult": + cls = kwargs.pop('cls', None) # type: ClsType["_models.SecurityGroupViewResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._get_vm_security_rules_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'SecurityGroupViewParameters') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('SecurityGroupViewResult', pipeline_response) + + if response.status_code == 202: + deserialized = self._deserialize('SecurityGroupViewResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _get_vm_security_rules_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/securityGroupView'} # type: ignore + + async def begin_get_vm_security_rules( + self, + resource_group_name: str, + network_watcher_name: str, + parameters: "_models.SecurityGroupViewParameters", + **kwargs + ) -> AsyncLROPoller["_models.SecurityGroupViewResult"]: + """Gets the configured and effective security group rules on the specified VM. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_watcher_name: The name of the network watcher. + :type network_watcher_name: str + :param parameters: Parameters that define the VM to check security groups for. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.SecurityGroupViewParameters + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either SecurityGroupViewResult or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.SecurityGroupViewResult] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.SecurityGroupViewResult"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._get_vm_security_rules_initial( + resource_group_name=resource_group_name, + network_watcher_name=network_watcher_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('SecurityGroupViewResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_get_vm_security_rules.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/securityGroupView'} # type: ignore + + async def _get_troubleshooting_initial( + self, + resource_group_name: str, + network_watcher_name: str, + parameters: "_models.TroubleshootingParameters", + **kwargs + ) -> "_models.TroubleshootingResult": + cls = kwargs.pop('cls', None) # type: ClsType["_models.TroubleshootingResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._get_troubleshooting_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'TroubleshootingParameters') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('TroubleshootingResult', pipeline_response) + + if response.status_code == 202: + deserialized = self._deserialize('TroubleshootingResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _get_troubleshooting_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/troubleshoot'} # type: ignore + + async def begin_get_troubleshooting( + self, + resource_group_name: str, + network_watcher_name: str, + parameters: "_models.TroubleshootingParameters", + **kwargs + ) -> AsyncLROPoller["_models.TroubleshootingResult"]: + """Initiate troubleshooting on a specified resource. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_watcher_name: The name of the network watcher resource. + :type network_watcher_name: str + :param parameters: Parameters that define the resource to troubleshoot. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.TroubleshootingParameters + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either TroubleshootingResult or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.TroubleshootingResult] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.TroubleshootingResult"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._get_troubleshooting_initial( + resource_group_name=resource_group_name, + network_watcher_name=network_watcher_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('TroubleshootingResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_get_troubleshooting.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/troubleshoot'} # type: ignore + + async def _get_troubleshooting_result_initial( + self, + resource_group_name: str, + network_watcher_name: str, + parameters: "_models.QueryTroubleshootingParameters", + **kwargs + ) -> "_models.TroubleshootingResult": + cls = kwargs.pop('cls', None) # type: ClsType["_models.TroubleshootingResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._get_troubleshooting_result_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'QueryTroubleshootingParameters') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('TroubleshootingResult', pipeline_response) + + if response.status_code == 202: + deserialized = self._deserialize('TroubleshootingResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _get_troubleshooting_result_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/queryTroubleshootResult'} # type: ignore + + async def begin_get_troubleshooting_result( + self, + resource_group_name: str, + network_watcher_name: str, + parameters: "_models.QueryTroubleshootingParameters", + **kwargs + ) -> AsyncLROPoller["_models.TroubleshootingResult"]: + """Get the last completed troubleshooting result on a specified resource. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_watcher_name: The name of the network watcher resource. + :type network_watcher_name: str + :param parameters: Parameters that define the resource to query the troubleshooting result. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.QueryTroubleshootingParameters + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either TroubleshootingResult or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.TroubleshootingResult] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.TroubleshootingResult"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._get_troubleshooting_result_initial( + resource_group_name=resource_group_name, + network_watcher_name=network_watcher_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('TroubleshootingResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_get_troubleshooting_result.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/queryTroubleshootResult'} # type: ignore + + async def _set_flow_log_configuration_initial( + self, + resource_group_name: str, + network_watcher_name: str, + parameters: "_models.FlowLogInformation", + **kwargs + ) -> "_models.FlowLogInformation": + cls = kwargs.pop('cls', None) # type: ClsType["_models.FlowLogInformation"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._set_flow_log_configuration_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'FlowLogInformation') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('FlowLogInformation', pipeline_response) + + if response.status_code == 202: + deserialized = self._deserialize('FlowLogInformation', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _set_flow_log_configuration_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/configureFlowLog'} # type: ignore + + async def begin_set_flow_log_configuration( + self, + resource_group_name: str, + network_watcher_name: str, + parameters: "_models.FlowLogInformation", + **kwargs + ) -> AsyncLROPoller["_models.FlowLogInformation"]: + """Configures flow log and traffic analytics (optional) on a specified resource. + + :param resource_group_name: The name of the network watcher resource group. + :type resource_group_name: str + :param network_watcher_name: The name of the network watcher resource. + :type network_watcher_name: str + :param parameters: Parameters that define the configuration of flow log. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.FlowLogInformation + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either FlowLogInformation or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.FlowLogInformation] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.FlowLogInformation"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._set_flow_log_configuration_initial( + resource_group_name=resource_group_name, + network_watcher_name=network_watcher_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('FlowLogInformation', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_set_flow_log_configuration.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/configureFlowLog'} # type: ignore + + async def _get_flow_log_status_initial( + self, + resource_group_name: str, + network_watcher_name: str, + parameters: "_models.FlowLogStatusParameters", + **kwargs + ) -> "_models.FlowLogInformation": + cls = kwargs.pop('cls', None) # type: ClsType["_models.FlowLogInformation"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._get_flow_log_status_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'FlowLogStatusParameters') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('FlowLogInformation', pipeline_response) + + if response.status_code == 202: + deserialized = self._deserialize('FlowLogInformation', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _get_flow_log_status_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/queryFlowLogStatus'} # type: ignore + + async def begin_get_flow_log_status( + self, + resource_group_name: str, + network_watcher_name: str, + parameters: "_models.FlowLogStatusParameters", + **kwargs + ) -> AsyncLROPoller["_models.FlowLogInformation"]: + """Queries status of flow log and traffic analytics (optional) on a specified resource. + + :param resource_group_name: The name of the network watcher resource group. + :type resource_group_name: str + :param network_watcher_name: The name of the network watcher resource. + :type network_watcher_name: str + :param parameters: Parameters that define a resource to query flow log and traffic analytics + (optional) status. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.FlowLogStatusParameters + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either FlowLogInformation or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.FlowLogInformation] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.FlowLogInformation"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._get_flow_log_status_initial( + resource_group_name=resource_group_name, + network_watcher_name=network_watcher_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('FlowLogInformation', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_get_flow_log_status.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/queryFlowLogStatus'} # type: ignore + + async def _check_connectivity_initial( + self, + resource_group_name: str, + network_watcher_name: str, + parameters: "_models.ConnectivityParameters", + **kwargs + ) -> "_models.ConnectivityInformation": + cls = kwargs.pop('cls', None) # type: ClsType["_models.ConnectivityInformation"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._check_connectivity_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'ConnectivityParameters') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('ConnectivityInformation', pipeline_response) + + if response.status_code == 202: + deserialized = self._deserialize('ConnectivityInformation', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _check_connectivity_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectivityCheck'} # type: ignore + + async def begin_check_connectivity( + self, + resource_group_name: str, + network_watcher_name: str, + parameters: "_models.ConnectivityParameters", + **kwargs + ) -> AsyncLROPoller["_models.ConnectivityInformation"]: + """Verifies the possibility of establishing a direct TCP connection from a virtual machine to a + given endpoint including another VM or an arbitrary remote server. + + :param resource_group_name: The name of the network watcher resource group. + :type resource_group_name: str + :param network_watcher_name: The name of the network watcher resource. + :type network_watcher_name: str + :param parameters: Parameters that determine how the connectivity check will be performed. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.ConnectivityParameters + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either ConnectivityInformation or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.ConnectivityInformation] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.ConnectivityInformation"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._check_connectivity_initial( + resource_group_name=resource_group_name, + network_watcher_name=network_watcher_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('ConnectivityInformation', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_check_connectivity.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectivityCheck'} # type: ignore + + async def _get_azure_reachability_report_initial( + self, + resource_group_name: str, + network_watcher_name: str, + parameters: "_models.AzureReachabilityReportParameters", + **kwargs + ) -> "_models.AzureReachabilityReport": + cls = kwargs.pop('cls', None) # type: ClsType["_models.AzureReachabilityReport"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._get_azure_reachability_report_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'AzureReachabilityReportParameters') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('AzureReachabilityReport', pipeline_response) + + if response.status_code == 202: + deserialized = self._deserialize('AzureReachabilityReport', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _get_azure_reachability_report_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/azureReachabilityReport'} # type: ignore + + async def begin_get_azure_reachability_report( + self, + resource_group_name: str, + network_watcher_name: str, + parameters: "_models.AzureReachabilityReportParameters", + **kwargs + ) -> AsyncLROPoller["_models.AzureReachabilityReport"]: + """NOTE: This feature is currently in preview and still being tested for stability. Gets the + relative latency score for internet service providers from a specified location to Azure + regions. + + :param resource_group_name: The name of the network watcher resource group. + :type resource_group_name: str + :param network_watcher_name: The name of the network watcher resource. + :type network_watcher_name: str + :param parameters: Parameters that determine Azure reachability report configuration. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.AzureReachabilityReportParameters + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either AzureReachabilityReport or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.AzureReachabilityReport] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.AzureReachabilityReport"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._get_azure_reachability_report_initial( + resource_group_name=resource_group_name, + network_watcher_name=network_watcher_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('AzureReachabilityReport', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_get_azure_reachability_report.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/azureReachabilityReport'} # type: ignore + + async def _list_available_providers_initial( + self, + resource_group_name: str, + network_watcher_name: str, + parameters: "_models.AvailableProvidersListParameters", + **kwargs + ) -> "_models.AvailableProvidersList": + cls = kwargs.pop('cls', None) # type: ClsType["_models.AvailableProvidersList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._list_available_providers_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'AvailableProvidersListParameters') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('AvailableProvidersList', pipeline_response) + + if response.status_code == 202: + deserialized = self._deserialize('AvailableProvidersList', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _list_available_providers_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/availableProvidersList'} # type: ignore + + async def begin_list_available_providers( + self, + resource_group_name: str, + network_watcher_name: str, + parameters: "_models.AvailableProvidersListParameters", + **kwargs + ) -> AsyncLROPoller["_models.AvailableProvidersList"]: + """NOTE: This feature is currently in preview and still being tested for stability. Lists all + available internet service providers for a specified Azure region. + + :param resource_group_name: The name of the network watcher resource group. + :type resource_group_name: str + :param network_watcher_name: The name of the network watcher resource. + :type network_watcher_name: str + :param parameters: Parameters that scope the list of available providers. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.AvailableProvidersListParameters + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either AvailableProvidersList or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.AvailableProvidersList] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.AvailableProvidersList"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._list_available_providers_initial( + resource_group_name=resource_group_name, + network_watcher_name=network_watcher_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('AvailableProvidersList', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_list_available_providers.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/availableProvidersList'} # type: ignore + + async def _get_network_configuration_diagnostic_initial( + self, + resource_group_name: str, + network_watcher_name: str, + parameters: "_models.NetworkConfigurationDiagnosticParameters", + **kwargs + ) -> "_models.NetworkConfigurationDiagnosticResponse": + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkConfigurationDiagnosticResponse"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._get_network_configuration_diagnostic_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'NetworkConfigurationDiagnosticParameters') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('NetworkConfigurationDiagnosticResponse', pipeline_response) + + if response.status_code == 202: + deserialized = self._deserialize('NetworkConfigurationDiagnosticResponse', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _get_network_configuration_diagnostic_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/networkConfigurationDiagnostic'} # type: ignore + + async def begin_get_network_configuration_diagnostic( + self, + resource_group_name: str, + network_watcher_name: str, + parameters: "_models.NetworkConfigurationDiagnosticParameters", + **kwargs + ) -> AsyncLROPoller["_models.NetworkConfigurationDiagnosticResponse"]: + """Gets Network Configuration Diagnostic data to help customers understand and debug network + behavior. It provides detailed information on what security rules were applied to a specified + traffic flow and the result of evaluating these rules. Customers must provide details of a flow + like source, destination, protocol, etc. The API returns whether traffic was allowed or denied, + the rules evaluated for the specified flow and the evaluation results. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_watcher_name: The name of the network watcher. + :type network_watcher_name: str + :param parameters: Parameters to get network configuration diagnostic. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.NetworkConfigurationDiagnosticParameters + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either NetworkConfigurationDiagnosticResponse or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.NetworkConfigurationDiagnosticResponse] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkConfigurationDiagnosticResponse"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._get_network_configuration_diagnostic_initial( + resource_group_name=resource_group_name, + network_watcher_name=network_watcher_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('NetworkConfigurationDiagnosticResponse', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_get_network_configuration_diagnostic.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/networkConfigurationDiagnostic'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_operations.py new file mode 100644 index 000000000000..efd4c989624b --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_operations.py @@ -0,0 +1,104 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class Operations: + """Operations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + **kwargs + ) -> AsyncIterable["_models.OperationListResult"]: + """Lists all of the available Network Rest API operations. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either OperationListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.OperationListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.OperationListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('OperationListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/providers/Microsoft.Network/operations'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_p2_svpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_p2_svpn_gateways_operations.py new file mode 100644 index 000000000000..b484e6fb0993 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_p2_svpn_gateways_operations.py @@ -0,0 +1,1208 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class P2SVpnGatewaysOperations: + """P2SVpnGatewaysOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def get( + self, + resource_group_name: str, + gateway_name: str, + **kwargs + ) -> "_models.P2SVpnGateway": + """Retrieves the details of a virtual wan p2s vpn gateway. + + :param resource_group_name: The resource group name of the P2SVpnGateway. + :type resource_group_name: str + :param gateway_name: The name of the gateway. + :type gateway_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: P2SVpnGateway, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.P2SVpnGateway + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.P2SVpnGateway"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('P2SVpnGateway', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}'} # type: ignore + + async def _create_or_update_initial( + self, + resource_group_name: str, + gateway_name: str, + p2_s_vpn_gateway_parameters: "_models.P2SVpnGateway", + **kwargs + ) -> "_models.P2SVpnGateway": + cls = kwargs.pop('cls', None) # type: ClsType["_models.P2SVpnGateway"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(p2_s_vpn_gateway_parameters, 'P2SVpnGateway') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('P2SVpnGateway', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('P2SVpnGateway', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}'} # type: ignore + + async def begin_create_or_update( + self, + resource_group_name: str, + gateway_name: str, + p2_s_vpn_gateway_parameters: "_models.P2SVpnGateway", + **kwargs + ) -> AsyncLROPoller["_models.P2SVpnGateway"]: + """Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway. + + :param resource_group_name: The resource group name of the P2SVpnGateway. + :type resource_group_name: str + :param gateway_name: The name of the gateway. + :type gateway_name: str + :param p2_s_vpn_gateway_parameters: Parameters supplied to create or Update a virtual wan p2s + vpn gateway. + :type p2_s_vpn_gateway_parameters: ~azure.mgmt.network.v2021_02_01.models.P2SVpnGateway + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either P2SVpnGateway or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.P2SVpnGateway] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.P2SVpnGateway"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + resource_group_name=resource_group_name, + gateway_name=gateway_name, + p2_s_vpn_gateway_parameters=p2_s_vpn_gateway_parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('P2SVpnGateway', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}'} # type: ignore + + async def _update_tags_initial( + self, + resource_group_name: str, + gateway_name: str, + p2_s_vpn_gateway_parameters: "_models.TagsObject", + **kwargs + ) -> Optional["_models.P2SVpnGateway"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.P2SVpnGateway"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._update_tags_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(p2_s_vpn_gateway_parameters, 'TagsObject') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('P2SVpnGateway', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _update_tags_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}'} # type: ignore + + async def begin_update_tags( + self, + resource_group_name: str, + gateway_name: str, + p2_s_vpn_gateway_parameters: "_models.TagsObject", + **kwargs + ) -> AsyncLROPoller["_models.P2SVpnGateway"]: + """Updates virtual wan p2s vpn gateway tags. + + :param resource_group_name: The resource group name of the P2SVpnGateway. + :type resource_group_name: str + :param gateway_name: The name of the gateway. + :type gateway_name: str + :param p2_s_vpn_gateway_parameters: Parameters supplied to update a virtual wan p2s vpn gateway + tags. + :type p2_s_vpn_gateway_parameters: ~azure.mgmt.network.v2021_02_01.models.TagsObject + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either P2SVpnGateway or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.P2SVpnGateway] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.P2SVpnGateway"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._update_tags_initial( + resource_group_name=resource_group_name, + gateway_name=gateway_name, + p2_s_vpn_gateway_parameters=p2_s_vpn_gateway_parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('P2SVpnGateway', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}'} # type: ignore + + async def _delete_initial( + self, + resource_group_name: str, + gateway_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + gateway_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes a virtual wan p2s vpn gateway. + + :param resource_group_name: The resource group name of the P2SVpnGateway. + :type resource_group_name: str + :param gateway_name: The name of the gateway. + :type gateway_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + gateway_name=gateway_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}'} # type: ignore + + def list_by_resource_group( + self, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["_models.ListP2SVpnGatewaysResult"]: + """Lists all the P2SVpnGateways in a resource group. + + :param resource_group_name: The resource group name of the P2SVpnGateway. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ListP2SVpnGatewaysResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.ListP2SVpnGatewaysResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ListP2SVpnGatewaysResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_resource_group.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('ListP2SVpnGatewaysResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways'} # type: ignore + + def list( + self, + **kwargs + ) -> AsyncIterable["_models.ListP2SVpnGatewaysResult"]: + """Lists all the P2SVpnGateways in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ListP2SVpnGatewaysResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.ListP2SVpnGatewaysResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ListP2SVpnGatewaysResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('ListP2SVpnGatewaysResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/p2svpnGateways'} # type: ignore + + async def _reset_initial( + self, + resource_group_name: str, + gateway_name: str, + **kwargs + ) -> Optional["_models.P2SVpnGateway"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.P2SVpnGateway"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._reset_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('P2SVpnGateway', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _reset_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}/reset'} # type: ignore + + async def begin_reset( + self, + resource_group_name: str, + gateway_name: str, + **kwargs + ) -> AsyncLROPoller["_models.P2SVpnGateway"]: + """Resets the primary of the p2s vpn gateway in the specified resource group. + + :param resource_group_name: The resource group name of the P2SVpnGateway. + :type resource_group_name: str + :param gateway_name: The name of the gateway. + :type gateway_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either P2SVpnGateway or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.P2SVpnGateway] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.P2SVpnGateway"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._reset_initial( + resource_group_name=resource_group_name, + gateway_name=gateway_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('P2SVpnGateway', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_reset.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}/reset'} # type: ignore + + async def _generate_vpn_profile_initial( + self, + resource_group_name: str, + gateway_name: str, + parameters: "_models.P2SVpnProfileParameters", + **kwargs + ) -> Optional["_models.VpnProfileResponse"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.VpnProfileResponse"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._generate_vpn_profile_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'P2SVpnProfileParameters') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('VpnProfileResponse', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _generate_vpn_profile_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}/generatevpnprofile'} # type: ignore + + async def begin_generate_vpn_profile( + self, + resource_group_name: str, + gateway_name: str, + parameters: "_models.P2SVpnProfileParameters", + **kwargs + ) -> AsyncLROPoller["_models.VpnProfileResponse"]: + """Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param gateway_name: The name of the P2SVpnGateway. + :type gateway_name: str + :param parameters: Parameters supplied to the generate P2SVpnGateway VPN client package + operation. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.P2SVpnProfileParameters + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either VpnProfileResponse or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.VpnProfileResponse] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.VpnProfileResponse"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._generate_vpn_profile_initial( + resource_group_name=resource_group_name, + gateway_name=gateway_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('VpnProfileResponse', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_generate_vpn_profile.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}/generatevpnprofile'} # type: ignore + + async def _get_p2_s_vpn_connection_health_initial( + self, + resource_group_name: str, + gateway_name: str, + **kwargs + ) -> Optional["_models.P2SVpnGateway"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.P2SVpnGateway"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._get_p2_s_vpn_connection_health_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('P2SVpnGateway', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _get_p2_s_vpn_connection_health_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}/getP2sVpnConnectionHealth'} # type: ignore + + async def begin_get_p2_s_vpn_connection_health( + self, + resource_group_name: str, + gateway_name: str, + **kwargs + ) -> AsyncLROPoller["_models.P2SVpnGateway"]: + """Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified + resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param gateway_name: The name of the P2SVpnGateway. + :type gateway_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either P2SVpnGateway or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.P2SVpnGateway] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.P2SVpnGateway"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._get_p2_s_vpn_connection_health_initial( + resource_group_name=resource_group_name, + gateway_name=gateway_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('P2SVpnGateway', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_get_p2_s_vpn_connection_health.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}/getP2sVpnConnectionHealth'} # type: ignore + + async def _get_p2_s_vpn_connection_health_detailed_initial( + self, + resource_group_name: str, + gateway_name: str, + request: "_models.P2SVpnConnectionHealthRequest", + **kwargs + ) -> Optional["_models.P2SVpnConnectionHealth"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.P2SVpnConnectionHealth"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._get_p2_s_vpn_connection_health_detailed_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(request, 'P2SVpnConnectionHealthRequest') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('P2SVpnConnectionHealth', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _get_p2_s_vpn_connection_health_detailed_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}/getP2sVpnConnectionHealthDetailed'} # type: ignore + + async def begin_get_p2_s_vpn_connection_health_detailed( + self, + resource_group_name: str, + gateway_name: str, + request: "_models.P2SVpnConnectionHealthRequest", + **kwargs + ) -> AsyncLROPoller["_models.P2SVpnConnectionHealth"]: + """Gets the sas url to get the connection health detail of P2S clients of the virtual wan + P2SVpnGateway in the specified resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param gateway_name: The name of the P2SVpnGateway. + :type gateway_name: str + :param request: Request parameters supplied to get p2s vpn connections detailed health. + :type request: ~azure.mgmt.network.v2021_02_01.models.P2SVpnConnectionHealthRequest + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either P2SVpnConnectionHealth or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.P2SVpnConnectionHealth] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.P2SVpnConnectionHealth"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._get_p2_s_vpn_connection_health_detailed_initial( + resource_group_name=resource_group_name, + gateway_name=gateway_name, + request=request, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('P2SVpnConnectionHealth', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_get_p2_s_vpn_connection_health_detailed.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}/getP2sVpnConnectionHealthDetailed'} # type: ignore + + async def _disconnect_p2_s_vpn_connections_initial( + self, + resource_group_name: str, + p2_s_vpn_gateway_name: str, + request: "_models.P2SVpnConnectionRequest", + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._disconnect_p2_s_vpn_connections_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'p2sVpnGatewayName': self._serialize.url("p2_s_vpn_gateway_name", p2_s_vpn_gateway_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(request, 'P2SVpnConnectionRequest') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _disconnect_p2_s_vpn_connections_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{p2sVpnGatewayName}/disconnectP2sVpnConnections'} # type: ignore + + async def begin_disconnect_p2_s_vpn_connections( + self, + resource_group_name: str, + p2_s_vpn_gateway_name: str, + request: "_models.P2SVpnConnectionRequest", + **kwargs + ) -> AsyncLROPoller[None]: + """Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource + group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param p2_s_vpn_gateway_name: The name of the P2S Vpn Gateway. + :type p2_s_vpn_gateway_name: str + :param request: The parameters are supplied to disconnect p2s vpn connections. + :type request: ~azure.mgmt.network.v2021_02_01.models.P2SVpnConnectionRequest + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._disconnect_p2_s_vpn_connections_initial( + resource_group_name=resource_group_name, + p2_s_vpn_gateway_name=p2_s_vpn_gateway_name, + request=request, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'p2sVpnGatewayName': self._serialize.url("p2_s_vpn_gateway_name", p2_s_vpn_gateway_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_disconnect_p2_s_vpn_connections.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{p2sVpnGatewayName}/disconnectP2sVpnConnections'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_packet_captures_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_packet_captures_operations.py new file mode 100644 index 000000000000..39edd31574d1 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_packet_captures_operations.py @@ -0,0 +1,672 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class PacketCapturesOperations: + """PacketCapturesOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def _create_initial( + self, + resource_group_name: str, + network_watcher_name: str, + packet_capture_name: str, + parameters: "_models.PacketCapture", + **kwargs + ) -> "_models.PacketCaptureResult": + cls = kwargs.pop('cls', None) # type: ClsType["_models.PacketCaptureResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'packetCaptureName': self._serialize.url("packet_capture_name", packet_capture_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'PacketCapture') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('PacketCaptureResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}'} # type: ignore + + async def begin_create( + self, + resource_group_name: str, + network_watcher_name: str, + packet_capture_name: str, + parameters: "_models.PacketCapture", + **kwargs + ) -> AsyncLROPoller["_models.PacketCaptureResult"]: + """Create and start a packet capture on the specified VM. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_watcher_name: The name of the network watcher. + :type network_watcher_name: str + :param packet_capture_name: The name of the packet capture session. + :type packet_capture_name: str + :param parameters: Parameters that define the create packet capture operation. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.PacketCapture + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either PacketCaptureResult or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.PacketCaptureResult] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.PacketCaptureResult"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_initial( + resource_group_name=resource_group_name, + network_watcher_name=network_watcher_name, + packet_capture_name=packet_capture_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('PacketCaptureResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'packetCaptureName': self._serialize.url("packet_capture_name", packet_capture_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}'} # type: ignore + + async def get( + self, + resource_group_name: str, + network_watcher_name: str, + packet_capture_name: str, + **kwargs + ) -> "_models.PacketCaptureResult": + """Gets a packet capture session by name. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_watcher_name: The name of the network watcher. + :type network_watcher_name: str + :param packet_capture_name: The name of the packet capture session. + :type packet_capture_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: PacketCaptureResult, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.PacketCaptureResult + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.PacketCaptureResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'packetCaptureName': self._serialize.url("packet_capture_name", packet_capture_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('PacketCaptureResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}'} # type: ignore + + async def _delete_initial( + self, + resource_group_name: str, + network_watcher_name: str, + packet_capture_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'packetCaptureName': self._serialize.url("packet_capture_name", packet_capture_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + network_watcher_name: str, + packet_capture_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the specified packet capture session. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_watcher_name: The name of the network watcher. + :type network_watcher_name: str + :param packet_capture_name: The name of the packet capture session. + :type packet_capture_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + network_watcher_name=network_watcher_name, + packet_capture_name=packet_capture_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'packetCaptureName': self._serialize.url("packet_capture_name", packet_capture_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}'} # type: ignore + + async def _stop_initial( + self, + resource_group_name: str, + network_watcher_name: str, + packet_capture_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._stop_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'packetCaptureName': self._serialize.url("packet_capture_name", packet_capture_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _stop_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}/stop'} # type: ignore + + async def begin_stop( + self, + resource_group_name: str, + network_watcher_name: str, + packet_capture_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Stops a specified packet capture session. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_watcher_name: The name of the network watcher. + :type network_watcher_name: str + :param packet_capture_name: The name of the packet capture session. + :type packet_capture_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._stop_initial( + resource_group_name=resource_group_name, + network_watcher_name=network_watcher_name, + packet_capture_name=packet_capture_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'packetCaptureName': self._serialize.url("packet_capture_name", packet_capture_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_stop.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}/stop'} # type: ignore + + async def _get_status_initial( + self, + resource_group_name: str, + network_watcher_name: str, + packet_capture_name: str, + **kwargs + ) -> "_models.PacketCaptureQueryStatusResult": + cls = kwargs.pop('cls', None) # type: ClsType["_models.PacketCaptureQueryStatusResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._get_status_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'packetCaptureName': self._serialize.url("packet_capture_name", packet_capture_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('PacketCaptureQueryStatusResult', pipeline_response) + + if response.status_code == 202: + deserialized = self._deserialize('PacketCaptureQueryStatusResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _get_status_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}/queryStatus'} # type: ignore + + async def begin_get_status( + self, + resource_group_name: str, + network_watcher_name: str, + packet_capture_name: str, + **kwargs + ) -> AsyncLROPoller["_models.PacketCaptureQueryStatusResult"]: + """Query the status of a running packet capture session. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_watcher_name: The name of the Network Watcher resource. + :type network_watcher_name: str + :param packet_capture_name: The name given to the packet capture session. + :type packet_capture_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either PacketCaptureQueryStatusResult or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.PacketCaptureQueryStatusResult] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.PacketCaptureQueryStatusResult"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._get_status_initial( + resource_group_name=resource_group_name, + network_watcher_name=network_watcher_name, + packet_capture_name=packet_capture_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('PacketCaptureQueryStatusResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'packetCaptureName': self._serialize.url("packet_capture_name", packet_capture_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_get_status.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}/queryStatus'} # type: ignore + + def list( + self, + resource_group_name: str, + network_watcher_name: str, + **kwargs + ) -> AsyncIterable["_models.PacketCaptureListResult"]: + """Lists all packet capture sessions within the specified resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_watcher_name: The name of the Network Watcher resource. + :type network_watcher_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either PacketCaptureListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.PacketCaptureListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.PacketCaptureListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('PacketCaptureListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_peer_express_route_circuit_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_peer_express_route_circuit_connections_operations.py new file mode 100644 index 000000000000..ec74af91e018 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_peer_express_route_circuit_connections_operations.py @@ -0,0 +1,188 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class PeerExpressRouteCircuitConnectionsOperations: + """PeerExpressRouteCircuitConnectionsOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def get( + self, + resource_group_name: str, + circuit_name: str, + peering_name: str, + connection_name: str, + **kwargs + ) -> "_models.PeerExpressRouteCircuitConnection": + """Gets the specified Peer Express Route Circuit Connection from the specified express route + circuit. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param circuit_name: The name of the express route circuit. + :type circuit_name: str + :param peering_name: The name of the peering. + :type peering_name: str + :param connection_name: The name of the peer express route circuit connection. + :type connection_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: PeerExpressRouteCircuitConnection, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.PeerExpressRouteCircuitConnection + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.PeerExpressRouteCircuitConnection"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'circuitName': self._serialize.url("circuit_name", circuit_name, 'str'), + 'peeringName': self._serialize.url("peering_name", peering_name, 'str'), + 'connectionName': self._serialize.url("connection_name", connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('PeerExpressRouteCircuitConnection', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/peerConnections/{connectionName}'} # type: ignore + + def list( + self, + resource_group_name: str, + circuit_name: str, + peering_name: str, + **kwargs + ) -> AsyncIterable["_models.PeerExpressRouteCircuitConnectionListResult"]: + """Gets all global reach peer connections associated with a private peering in an express route + circuit. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param circuit_name: The name of the circuit. + :type circuit_name: str + :param peering_name: The name of the peering. + :type peering_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either PeerExpressRouteCircuitConnectionListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.PeerExpressRouteCircuitConnectionListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.PeerExpressRouteCircuitConnectionListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'circuitName': self._serialize.url("circuit_name", circuit_name, 'str'), + 'peeringName': self._serialize.url("peering_name", peering_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('PeerExpressRouteCircuitConnectionListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/peerConnections'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_private_dns_zone_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_private_dns_zone_groups_operations.py new file mode 100644 index 000000000000..9960c7b17d90 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_private_dns_zone_groups_operations.py @@ -0,0 +1,432 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class PrivateDnsZoneGroupsOperations: + """PrivateDnsZoneGroupsOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def _delete_initial( + self, + resource_group_name: str, + private_endpoint_name: str, + private_dns_zone_group_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'privateEndpointName': self._serialize.url("private_endpoint_name", private_endpoint_name, 'str'), + 'privateDnsZoneGroupName': self._serialize.url("private_dns_zone_group_name", private_dns_zone_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}/privateDnsZoneGroups/{privateDnsZoneGroupName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + private_endpoint_name: str, + private_dns_zone_group_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the specified private dns zone group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param private_endpoint_name: The name of the private endpoint. + :type private_endpoint_name: str + :param private_dns_zone_group_name: The name of the private dns zone group. + :type private_dns_zone_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + private_endpoint_name=private_endpoint_name, + private_dns_zone_group_name=private_dns_zone_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'privateEndpointName': self._serialize.url("private_endpoint_name", private_endpoint_name, 'str'), + 'privateDnsZoneGroupName': self._serialize.url("private_dns_zone_group_name", private_dns_zone_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}/privateDnsZoneGroups/{privateDnsZoneGroupName}'} # type: ignore + + async def get( + self, + resource_group_name: str, + private_endpoint_name: str, + private_dns_zone_group_name: str, + **kwargs + ) -> "_models.PrivateDnsZoneGroup": + """Gets the private dns zone group resource by specified private dns zone group name. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param private_endpoint_name: The name of the private endpoint. + :type private_endpoint_name: str + :param private_dns_zone_group_name: The name of the private dns zone group. + :type private_dns_zone_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: PrivateDnsZoneGroup, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.PrivateDnsZoneGroup + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.PrivateDnsZoneGroup"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'privateEndpointName': self._serialize.url("private_endpoint_name", private_endpoint_name, 'str'), + 'privateDnsZoneGroupName': self._serialize.url("private_dns_zone_group_name", private_dns_zone_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('PrivateDnsZoneGroup', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}/privateDnsZoneGroups/{privateDnsZoneGroupName}'} # type: ignore + + async def _create_or_update_initial( + self, + resource_group_name: str, + private_endpoint_name: str, + private_dns_zone_group_name: str, + parameters: "_models.PrivateDnsZoneGroup", + **kwargs + ) -> "_models.PrivateDnsZoneGroup": + cls = kwargs.pop('cls', None) # type: ClsType["_models.PrivateDnsZoneGroup"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'privateEndpointName': self._serialize.url("private_endpoint_name", private_endpoint_name, 'str'), + 'privateDnsZoneGroupName': self._serialize.url("private_dns_zone_group_name", private_dns_zone_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'PrivateDnsZoneGroup') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('PrivateDnsZoneGroup', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('PrivateDnsZoneGroup', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}/privateDnsZoneGroups/{privateDnsZoneGroupName}'} # type: ignore + + async def begin_create_or_update( + self, + resource_group_name: str, + private_endpoint_name: str, + private_dns_zone_group_name: str, + parameters: "_models.PrivateDnsZoneGroup", + **kwargs + ) -> AsyncLROPoller["_models.PrivateDnsZoneGroup"]: + """Creates or updates a private dns zone group in the specified private endpoint. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param private_endpoint_name: The name of the private endpoint. + :type private_endpoint_name: str + :param private_dns_zone_group_name: The name of the private dns zone group. + :type private_dns_zone_group_name: str + :param parameters: Parameters supplied to the create or update private dns zone group + operation. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.PrivateDnsZoneGroup + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either PrivateDnsZoneGroup or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.PrivateDnsZoneGroup] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.PrivateDnsZoneGroup"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + resource_group_name=resource_group_name, + private_endpoint_name=private_endpoint_name, + private_dns_zone_group_name=private_dns_zone_group_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('PrivateDnsZoneGroup', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'privateEndpointName': self._serialize.url("private_endpoint_name", private_endpoint_name, 'str'), + 'privateDnsZoneGroupName': self._serialize.url("private_dns_zone_group_name", private_dns_zone_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}/privateDnsZoneGroups/{privateDnsZoneGroupName}'} # type: ignore + + def list( + self, + private_endpoint_name: str, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["_models.PrivateDnsZoneGroupListResult"]: + """Gets all private dns zone groups in a private endpoint. + + :param private_endpoint_name: The name of the private endpoint. + :type private_endpoint_name: str + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either PrivateDnsZoneGroupListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.PrivateDnsZoneGroupListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.PrivateDnsZoneGroupListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'privateEndpointName': self._serialize.url("private_endpoint_name", private_endpoint_name, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('PrivateDnsZoneGroupListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize(_models.Error, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}/privateDnsZoneGroups'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_private_endpoints_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_private_endpoints_operations.py new file mode 100644 index 000000000000..3daff1fc9194 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_private_endpoints_operations.py @@ -0,0 +1,484 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class PrivateEndpointsOperations: + """PrivateEndpointsOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def _delete_initial( + self, + resource_group_name: str, + private_endpoint_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'privateEndpointName': self._serialize.url("private_endpoint_name", private_endpoint_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.Error, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + private_endpoint_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the specified private endpoint. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param private_endpoint_name: The name of the private endpoint. + :type private_endpoint_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + private_endpoint_name=private_endpoint_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'privateEndpointName': self._serialize.url("private_endpoint_name", private_endpoint_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}'} # type: ignore + + async def get( + self, + resource_group_name: str, + private_endpoint_name: str, + expand: Optional[str] = None, + **kwargs + ) -> "_models.PrivateEndpoint": + """Gets the specified private endpoint by resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param private_endpoint_name: The name of the private endpoint. + :type private_endpoint_name: str + :param expand: Expands referenced resources. + :type expand: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: PrivateEndpoint, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.PrivateEndpoint + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.PrivateEndpoint"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'privateEndpointName': self._serialize.url("private_endpoint_name", private_endpoint_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.Error, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('PrivateEndpoint', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}'} # type: ignore + + async def _create_or_update_initial( + self, + resource_group_name: str, + private_endpoint_name: str, + parameters: "_models.PrivateEndpoint", + **kwargs + ) -> "_models.PrivateEndpoint": + cls = kwargs.pop('cls', None) # type: ClsType["_models.PrivateEndpoint"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'privateEndpointName': self._serialize.url("private_endpoint_name", private_endpoint_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'PrivateEndpoint') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.Error, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('PrivateEndpoint', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('PrivateEndpoint', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}'} # type: ignore + + async def begin_create_or_update( + self, + resource_group_name: str, + private_endpoint_name: str, + parameters: "_models.PrivateEndpoint", + **kwargs + ) -> AsyncLROPoller["_models.PrivateEndpoint"]: + """Creates or updates an private endpoint in the specified resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param private_endpoint_name: The name of the private endpoint. + :type private_endpoint_name: str + :param parameters: Parameters supplied to the create or update private endpoint operation. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.PrivateEndpoint + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either PrivateEndpoint or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.PrivateEndpoint] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.PrivateEndpoint"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + resource_group_name=resource_group_name, + private_endpoint_name=private_endpoint_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('PrivateEndpoint', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'privateEndpointName': self._serialize.url("private_endpoint_name", private_endpoint_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}'} # type: ignore + + def list( + self, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["_models.PrivateEndpointListResult"]: + """Gets all private endpoints in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either PrivateEndpointListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.PrivateEndpointListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.PrivateEndpointListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('PrivateEndpointListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize(_models.Error, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints'} # type: ignore + + def list_by_subscription( + self, + **kwargs + ) -> AsyncIterable["_models.PrivateEndpointListResult"]: + """Gets all private endpoints in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either PrivateEndpointListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.PrivateEndpointListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.PrivateEndpointListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_subscription.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('PrivateEndpointListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize(_models.Error, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_subscription.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/privateEndpoints'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_private_link_services_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_private_link_services_operations.py new file mode 100644 index 000000000000..073b0df694dd --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_private_link_services_operations.py @@ -0,0 +1,1207 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class PrivateLinkServicesOperations: + """PrivateLinkServicesOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def _delete_initial( + self, + resource_group_name: str, + service_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'serviceName': self._serialize.url("service_name", service_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.Error, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + service_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the specified private link service. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param service_name: The name of the private link service. + :type service_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + service_name=service_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'serviceName': self._serialize.url("service_name", service_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}'} # type: ignore + + async def get( + self, + resource_group_name: str, + service_name: str, + expand: Optional[str] = None, + **kwargs + ) -> "_models.PrivateLinkService": + """Gets the specified private link service by resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param service_name: The name of the private link service. + :type service_name: str + :param expand: Expands referenced resources. + :type expand: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: PrivateLinkService, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.PrivateLinkService + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.PrivateLinkService"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'serviceName': self._serialize.url("service_name", service_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.Error, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('PrivateLinkService', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}'} # type: ignore + + async def _create_or_update_initial( + self, + resource_group_name: str, + service_name: str, + parameters: "_models.PrivateLinkService", + **kwargs + ) -> "_models.PrivateLinkService": + cls = kwargs.pop('cls', None) # type: ClsType["_models.PrivateLinkService"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'serviceName': self._serialize.url("service_name", service_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'PrivateLinkService') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.Error, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('PrivateLinkService', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('PrivateLinkService', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}'} # type: ignore + + async def begin_create_or_update( + self, + resource_group_name: str, + service_name: str, + parameters: "_models.PrivateLinkService", + **kwargs + ) -> AsyncLROPoller["_models.PrivateLinkService"]: + """Creates or updates an private link service in the specified resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param service_name: The name of the private link service. + :type service_name: str + :param parameters: Parameters supplied to the create or update private link service operation. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.PrivateLinkService + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either PrivateLinkService or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.PrivateLinkService] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.PrivateLinkService"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + resource_group_name=resource_group_name, + service_name=service_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('PrivateLinkService', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'serviceName': self._serialize.url("service_name", service_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}'} # type: ignore + + def list( + self, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["_models.PrivateLinkServiceListResult"]: + """Gets all private link services in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either PrivateLinkServiceListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.PrivateLinkServiceListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.PrivateLinkServiceListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('PrivateLinkServiceListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize(_models.Error, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices'} # type: ignore + + def list_by_subscription( + self, + **kwargs + ) -> AsyncIterable["_models.PrivateLinkServiceListResult"]: + """Gets all private link service in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either PrivateLinkServiceListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.PrivateLinkServiceListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.PrivateLinkServiceListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_subscription.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('PrivateLinkServiceListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize(_models.Error, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_subscription.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/privateLinkServices'} # type: ignore + + async def get_private_endpoint_connection( + self, + resource_group_name: str, + service_name: str, + pe_connection_name: str, + expand: Optional[str] = None, + **kwargs + ) -> "_models.PrivateEndpointConnection": + """Get the specific private end point connection by specific private link service in the resource + group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param service_name: The name of the private link service. + :type service_name: str + :param pe_connection_name: The name of the private end point connection. + :type pe_connection_name: str + :param expand: Expands referenced resources. + :type expand: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: PrivateEndpointConnection, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.PrivateEndpointConnection + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.PrivateEndpointConnection"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get_private_endpoint_connection.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'serviceName': self._serialize.url("service_name", service_name, 'str'), + 'peConnectionName': self._serialize.url("pe_connection_name", pe_connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.Error, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('PrivateEndpointConnection', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_private_endpoint_connection.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}/privateEndpointConnections/{peConnectionName}'} # type: ignore + + async def update_private_endpoint_connection( + self, + resource_group_name: str, + service_name: str, + pe_connection_name: str, + parameters: "_models.PrivateEndpointConnection", + **kwargs + ) -> "_models.PrivateEndpointConnection": + """Approve or reject private end point connection for a private link service in a subscription. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param service_name: The name of the private link service. + :type service_name: str + :param pe_connection_name: The name of the private end point connection. + :type pe_connection_name: str + :param parameters: Parameters supplied to approve or reject the private end point connection. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.PrivateEndpointConnection + :keyword callable cls: A custom type or function that will be passed the direct response + :return: PrivateEndpointConnection, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.PrivateEndpointConnection + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.PrivateEndpointConnection"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update_private_endpoint_connection.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'serviceName': self._serialize.url("service_name", service_name, 'str'), + 'peConnectionName': self._serialize.url("pe_connection_name", pe_connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'PrivateEndpointConnection') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.Error, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('PrivateEndpointConnection', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update_private_endpoint_connection.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}/privateEndpointConnections/{peConnectionName}'} # type: ignore + + async def _delete_private_endpoint_connection_initial( + self, + resource_group_name: str, + service_name: str, + pe_connection_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_private_endpoint_connection_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'serviceName': self._serialize.url("service_name", service_name, 'str'), + 'peConnectionName': self._serialize.url("pe_connection_name", pe_connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.Error, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_private_endpoint_connection_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}/privateEndpointConnections/{peConnectionName}'} # type: ignore + + async def begin_delete_private_endpoint_connection( + self, + resource_group_name: str, + service_name: str, + pe_connection_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Delete private end point connection for a private link service in a subscription. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param service_name: The name of the private link service. + :type service_name: str + :param pe_connection_name: The name of the private end point connection. + :type pe_connection_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_private_endpoint_connection_initial( + resource_group_name=resource_group_name, + service_name=service_name, + pe_connection_name=pe_connection_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'serviceName': self._serialize.url("service_name", service_name, 'str'), + 'peConnectionName': self._serialize.url("pe_connection_name", pe_connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete_private_endpoint_connection.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}/privateEndpointConnections/{peConnectionName}'} # type: ignore + + def list_private_endpoint_connections( + self, + resource_group_name: str, + service_name: str, + **kwargs + ) -> AsyncIterable["_models.PrivateEndpointConnectionListResult"]: + """Gets all private end point connections for a specific private link service. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param service_name: The name of the private link service. + :type service_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either PrivateEndpointConnectionListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.PrivateEndpointConnectionListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.PrivateEndpointConnectionListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_private_endpoint_connections.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'serviceName': self._serialize.url("service_name", service_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('PrivateEndpointConnectionListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize(_models.Error, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_private_endpoint_connections.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}/privateEndpointConnections'} # type: ignore + + async def _check_private_link_service_visibility_initial( + self, + location: str, + parameters: "_models.CheckPrivateLinkServiceVisibilityRequest", + **kwargs + ) -> Optional["_models.PrivateLinkServiceVisibility"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.PrivateLinkServiceVisibility"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._check_private_link_service_visibility_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'location': self._serialize.url("location", location, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'CheckPrivateLinkServiceVisibilityRequest') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('PrivateLinkServiceVisibility', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _check_private_link_service_visibility_initial.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/checkPrivateLinkServiceVisibility'} # type: ignore + + async def begin_check_private_link_service_visibility( + self, + location: str, + parameters: "_models.CheckPrivateLinkServiceVisibilityRequest", + **kwargs + ) -> AsyncLROPoller["_models.PrivateLinkServiceVisibility"]: + """Checks whether the subscription is visible to private link service. + + :param location: The location of the domain name. + :type location: str + :param parameters: The request body of CheckPrivateLinkService API call. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.CheckPrivateLinkServiceVisibilityRequest + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either PrivateLinkServiceVisibility or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.PrivateLinkServiceVisibility] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.PrivateLinkServiceVisibility"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._check_private_link_service_visibility_initial( + location=location, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('PrivateLinkServiceVisibility', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'location': self._serialize.url("location", location, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_check_private_link_service_visibility.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/checkPrivateLinkServiceVisibility'} # type: ignore + + async def _check_private_link_service_visibility_by_resource_group_initial( + self, + location: str, + resource_group_name: str, + parameters: "_models.CheckPrivateLinkServiceVisibilityRequest", + **kwargs + ) -> Optional["_models.PrivateLinkServiceVisibility"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.PrivateLinkServiceVisibility"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._check_private_link_service_visibility_by_resource_group_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'location': self._serialize.url("location", location, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'CheckPrivateLinkServiceVisibilityRequest') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('PrivateLinkServiceVisibility', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _check_private_link_service_visibility_by_resource_group_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/checkPrivateLinkServiceVisibility'} # type: ignore + + async def begin_check_private_link_service_visibility_by_resource_group( + self, + location: str, + resource_group_name: str, + parameters: "_models.CheckPrivateLinkServiceVisibilityRequest", + **kwargs + ) -> AsyncLROPoller["_models.PrivateLinkServiceVisibility"]: + """Checks whether the subscription is visible to private link service in the specified resource + group. + + :param location: The location of the domain name. + :type location: str + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param parameters: The request body of CheckPrivateLinkService API call. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.CheckPrivateLinkServiceVisibilityRequest + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either PrivateLinkServiceVisibility or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.PrivateLinkServiceVisibility] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.PrivateLinkServiceVisibility"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._check_private_link_service_visibility_by_resource_group_initial( + location=location, + resource_group_name=resource_group_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('PrivateLinkServiceVisibility', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'location': self._serialize.url("location", location, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_check_private_link_service_visibility_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/checkPrivateLinkServiceVisibility'} # type: ignore + + def list_auto_approved_private_link_services( + self, + location: str, + **kwargs + ) -> AsyncIterable["_models.AutoApprovedPrivateLinkServicesResult"]: + """Returns all of the private link service ids that can be linked to a Private Endpoint with auto + approved in this subscription in this region. + + :param location: The location of the domain name. + :type location: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either AutoApprovedPrivateLinkServicesResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.AutoApprovedPrivateLinkServicesResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.AutoApprovedPrivateLinkServicesResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_auto_approved_private_link_services.metadata['url'] # type: ignore + path_format_arguments = { + 'location': self._serialize.url("location", location, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('AutoApprovedPrivateLinkServicesResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_auto_approved_private_link_services.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/autoApprovedPrivateLinkServices'} # type: ignore + + def list_auto_approved_private_link_services_by_resource_group( + self, + location: str, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["_models.AutoApprovedPrivateLinkServicesResult"]: + """Returns all of the private link service ids that can be linked to a Private Endpoint with auto + approved in this subscription in this region. + + :param location: The location of the domain name. + :type location: str + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either AutoApprovedPrivateLinkServicesResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.AutoApprovedPrivateLinkServicesResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.AutoApprovedPrivateLinkServicesResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_auto_approved_private_link_services_by_resource_group.metadata['url'] # type: ignore + path_format_arguments = { + 'location': self._serialize.url("location", location, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('AutoApprovedPrivateLinkServicesResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_auto_approved_private_link_services_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/autoApprovedPrivateLinkServices'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_public_ip_addresses_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_public_ip_addresses_operations.py new file mode 100644 index 000000000000..6ea1a8654b16 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_public_ip_addresses_operations.py @@ -0,0 +1,1025 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class PublicIPAddressesOperations: + """PublicIPAddressesOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_cloud_service_public_ip_addresses( + self, + resource_group_name: str, + cloud_service_name: str, + **kwargs + ) -> AsyncIterable["_models.PublicIPAddressListResult"]: + """Gets information about all public IP addresses on a cloud service level. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param cloud_service_name: The name of the cloud service. + :type cloud_service_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either PublicIPAddressListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.PublicIPAddressListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.PublicIPAddressListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_cloud_service_public_ip_addresses.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'cloudServiceName': self._serialize.url("cloud_service_name", cloud_service_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('PublicIPAddressListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_cloud_service_public_ip_addresses.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/publicipaddresses'} # type: ignore + + def list_cloud_service_role_instance_public_ip_addresses( + self, + resource_group_name: str, + cloud_service_name: str, + role_instance_name: str, + network_interface_name: str, + ip_configuration_name: str, + **kwargs + ) -> AsyncIterable["_models.PublicIPAddressListResult"]: + """Gets information about all public IP addresses in a role instance IP configuration in a cloud + service. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param cloud_service_name: The name of the cloud service. + :type cloud_service_name: str + :param role_instance_name: The name of role instance. + :type role_instance_name: str + :param network_interface_name: The network interface name. + :type network_interface_name: str + :param ip_configuration_name: The IP configuration name. + :type ip_configuration_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either PublicIPAddressListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.PublicIPAddressListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.PublicIPAddressListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_cloud_service_role_instance_public_ip_addresses.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'cloudServiceName': self._serialize.url("cloud_service_name", cloud_service_name, 'str'), + 'roleInstanceName': self._serialize.url("role_instance_name", role_instance_name, 'str'), + 'networkInterfaceName': self._serialize.url("network_interface_name", network_interface_name, 'str'), + 'ipConfigurationName': self._serialize.url("ip_configuration_name", ip_configuration_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('PublicIPAddressListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_cloud_service_role_instance_public_ip_addresses.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}/networkInterfaces/{networkInterfaceName}/ipconfigurations/{ipConfigurationName}/publicipaddresses'} # type: ignore + + async def get_cloud_service_public_ip_address( + self, + resource_group_name: str, + cloud_service_name: str, + role_instance_name: str, + network_interface_name: str, + ip_configuration_name: str, + public_ip_address_name: str, + expand: Optional[str] = None, + **kwargs + ) -> "_models.PublicIPAddress": + """Get the specified public IP address in a cloud service. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param cloud_service_name: The name of the cloud service. + :type cloud_service_name: str + :param role_instance_name: The role instance name. + :type role_instance_name: str + :param network_interface_name: The name of the network interface. + :type network_interface_name: str + :param ip_configuration_name: The name of the IP configuration. + :type ip_configuration_name: str + :param public_ip_address_name: The name of the public IP Address. + :type public_ip_address_name: str + :param expand: Expands referenced resources. + :type expand: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: PublicIPAddress, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.PublicIPAddress + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.PublicIPAddress"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get_cloud_service_public_ip_address.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'cloudServiceName': self._serialize.url("cloud_service_name", cloud_service_name, 'str'), + 'roleInstanceName': self._serialize.url("role_instance_name", role_instance_name, 'str'), + 'networkInterfaceName': self._serialize.url("network_interface_name", network_interface_name, 'str'), + 'ipConfigurationName': self._serialize.url("ip_configuration_name", ip_configuration_name, 'str'), + 'publicIpAddressName': self._serialize.url("public_ip_address_name", public_ip_address_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('PublicIPAddress', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_cloud_service_public_ip_address.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}/networkInterfaces/{networkInterfaceName}/ipconfigurations/{ipConfigurationName}/publicipaddresses/{publicIpAddressName}'} # type: ignore + + async def _delete_initial( + self, + resource_group_name: str, + public_ip_address_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'publicIpAddressName': self._serialize.url("public_ip_address_name", public_ip_address_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + public_ip_address_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the specified public IP address. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param public_ip_address_name: The name of the public IP address. + :type public_ip_address_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + public_ip_address_name=public_ip_address_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'publicIpAddressName': self._serialize.url("public_ip_address_name", public_ip_address_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}'} # type: ignore + + async def get( + self, + resource_group_name: str, + public_ip_address_name: str, + expand: Optional[str] = None, + **kwargs + ) -> "_models.PublicIPAddress": + """Gets the specified public IP address in a specified resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param public_ip_address_name: The name of the public IP address. + :type public_ip_address_name: str + :param expand: Expands referenced resources. + :type expand: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: PublicIPAddress, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.PublicIPAddress + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.PublicIPAddress"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'publicIpAddressName': self._serialize.url("public_ip_address_name", public_ip_address_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('PublicIPAddress', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}'} # type: ignore + + async def _create_or_update_initial( + self, + resource_group_name: str, + public_ip_address_name: str, + parameters: "_models.PublicIPAddress", + **kwargs + ) -> "_models.PublicIPAddress": + cls = kwargs.pop('cls', None) # type: ClsType["_models.PublicIPAddress"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'publicIpAddressName': self._serialize.url("public_ip_address_name", public_ip_address_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'PublicIPAddress') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('PublicIPAddress', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('PublicIPAddress', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}'} # type: ignore + + async def begin_create_or_update( + self, + resource_group_name: str, + public_ip_address_name: str, + parameters: "_models.PublicIPAddress", + **kwargs + ) -> AsyncLROPoller["_models.PublicIPAddress"]: + """Creates or updates a static or dynamic public IP address. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param public_ip_address_name: The name of the public IP address. + :type public_ip_address_name: str + :param parameters: Parameters supplied to the create or update public IP address operation. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.PublicIPAddress + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either PublicIPAddress or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.PublicIPAddress] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.PublicIPAddress"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + resource_group_name=resource_group_name, + public_ip_address_name=public_ip_address_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('PublicIPAddress', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'publicIpAddressName': self._serialize.url("public_ip_address_name", public_ip_address_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}'} # type: ignore + + async def update_tags( + self, + resource_group_name: str, + public_ip_address_name: str, + parameters: "_models.TagsObject", + **kwargs + ) -> "_models.PublicIPAddress": + """Updates public IP address tags. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param public_ip_address_name: The name of the public IP address. + :type public_ip_address_name: str + :param parameters: Parameters supplied to update public IP address tags. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.TagsObject + :keyword callable cls: A custom type or function that will be passed the direct response + :return: PublicIPAddress, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.PublicIPAddress + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.PublicIPAddress"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update_tags.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'publicIpAddressName': self._serialize.url("public_ip_address_name", public_ip_address_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'TagsObject') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('PublicIPAddress', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}'} # type: ignore + + def list_all( + self, + **kwargs + ) -> AsyncIterable["_models.PublicIPAddressListResult"]: + """Gets all the public IP addresses in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either PublicIPAddressListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.PublicIPAddressListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.PublicIPAddressListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_all.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('PublicIPAddressListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_all.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/publicIPAddresses'} # type: ignore + + def list( + self, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["_models.PublicIPAddressListResult"]: + """Gets all public IP addresses in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either PublicIPAddressListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.PublicIPAddressListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.PublicIPAddressListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('PublicIPAddressListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses'} # type: ignore + + def list_virtual_machine_scale_set_public_ip_addresses( + self, + resource_group_name: str, + virtual_machine_scale_set_name: str, + **kwargs + ) -> AsyncIterable["_models.PublicIPAddressListResult"]: + """Gets information about all public IP addresses on a virtual machine scale set level. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_machine_scale_set_name: The name of the virtual machine scale set. + :type virtual_machine_scale_set_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either PublicIPAddressListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.PublicIPAddressListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.PublicIPAddressListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-10-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_virtual_machine_scale_set_public_ip_addresses.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualMachineScaleSetName': self._serialize.url("virtual_machine_scale_set_name", virtual_machine_scale_set_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('PublicIPAddressListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_virtual_machine_scale_set_public_ip_addresses.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/publicipaddresses'} # type: ignore + + def list_virtual_machine_scale_set_vm_public_ip_addresses( + self, + resource_group_name: str, + virtual_machine_scale_set_name: str, + virtualmachine_index: str, + network_interface_name: str, + ip_configuration_name: str, + **kwargs + ) -> AsyncIterable["_models.PublicIPAddressListResult"]: + """Gets information about all public IP addresses in a virtual machine IP configuration in a + virtual machine scale set. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_machine_scale_set_name: The name of the virtual machine scale set. + :type virtual_machine_scale_set_name: str + :param virtualmachine_index: The virtual machine index. + :type virtualmachine_index: str + :param network_interface_name: The network interface name. + :type network_interface_name: str + :param ip_configuration_name: The IP configuration name. + :type ip_configuration_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either PublicIPAddressListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.PublicIPAddressListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.PublicIPAddressListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-10-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_virtual_machine_scale_set_vm_public_ip_addresses.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualMachineScaleSetName': self._serialize.url("virtual_machine_scale_set_name", virtual_machine_scale_set_name, 'str'), + 'virtualmachineIndex': self._serialize.url("virtualmachine_index", virtualmachine_index, 'str'), + 'networkInterfaceName': self._serialize.url("network_interface_name", network_interface_name, 'str'), + 'ipConfigurationName': self._serialize.url("ip_configuration_name", ip_configuration_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('PublicIPAddressListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_virtual_machine_scale_set_vm_public_ip_addresses.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines/{virtualmachineIndex}/networkInterfaces/{networkInterfaceName}/ipconfigurations/{ipConfigurationName}/publicipaddresses'} # type: ignore + + async def get_virtual_machine_scale_set_public_ip_address( + self, + resource_group_name: str, + virtual_machine_scale_set_name: str, + virtualmachine_index: str, + network_interface_name: str, + ip_configuration_name: str, + public_ip_address_name: str, + expand: Optional[str] = None, + **kwargs + ) -> "_models.PublicIPAddress": + """Get the specified public IP address in a virtual machine scale set. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_machine_scale_set_name: The name of the virtual machine scale set. + :type virtual_machine_scale_set_name: str + :param virtualmachine_index: The virtual machine index. + :type virtualmachine_index: str + :param network_interface_name: The name of the network interface. + :type network_interface_name: str + :param ip_configuration_name: The name of the IP configuration. + :type ip_configuration_name: str + :param public_ip_address_name: The name of the public IP Address. + :type public_ip_address_name: str + :param expand: Expands referenced resources. + :type expand: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: PublicIPAddress, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.PublicIPAddress + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.PublicIPAddress"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-10-01" + accept = "application/json" + + # Construct URL + url = self.get_virtual_machine_scale_set_public_ip_address.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualMachineScaleSetName': self._serialize.url("virtual_machine_scale_set_name", virtual_machine_scale_set_name, 'str'), + 'virtualmachineIndex': self._serialize.url("virtualmachine_index", virtualmachine_index, 'str'), + 'networkInterfaceName': self._serialize.url("network_interface_name", network_interface_name, 'str'), + 'ipConfigurationName': self._serialize.url("ip_configuration_name", ip_configuration_name, 'str'), + 'publicIpAddressName': self._serialize.url("public_ip_address_name", public_ip_address_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('PublicIPAddress', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_virtual_machine_scale_set_public_ip_address.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines/{virtualmachineIndex}/networkInterfaces/{networkInterfaceName}/ipconfigurations/{ipConfigurationName}/publicipaddresses/{publicIpAddressName}'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_public_ip_prefixes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_public_ip_prefixes_operations.py new file mode 100644 index 000000000000..8c3b9506617b --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_public_ip_prefixes_operations.py @@ -0,0 +1,545 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class PublicIPPrefixesOperations: + """PublicIPPrefixesOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def _delete_initial( + self, + resource_group_name: str, + public_ip_prefix_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'publicIpPrefixName': self._serialize.url("public_ip_prefix_name", public_ip_prefix_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIpPrefixName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + public_ip_prefix_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the specified public IP prefix. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param public_ip_prefix_name: The name of the PublicIpPrefix. + :type public_ip_prefix_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + public_ip_prefix_name=public_ip_prefix_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'publicIpPrefixName': self._serialize.url("public_ip_prefix_name", public_ip_prefix_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIpPrefixName}'} # type: ignore + + async def get( + self, + resource_group_name: str, + public_ip_prefix_name: str, + expand: Optional[str] = None, + **kwargs + ) -> "_models.PublicIPPrefix": + """Gets the specified public IP prefix in a specified resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param public_ip_prefix_name: The name of the public IP prefix. + :type public_ip_prefix_name: str + :param expand: Expands referenced resources. + :type expand: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: PublicIPPrefix, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.PublicIPPrefix + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.PublicIPPrefix"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'publicIpPrefixName': self._serialize.url("public_ip_prefix_name", public_ip_prefix_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('PublicIPPrefix', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIpPrefixName}'} # type: ignore + + async def _create_or_update_initial( + self, + resource_group_name: str, + public_ip_prefix_name: str, + parameters: "_models.PublicIPPrefix", + **kwargs + ) -> "_models.PublicIPPrefix": + cls = kwargs.pop('cls', None) # type: ClsType["_models.PublicIPPrefix"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'publicIpPrefixName': self._serialize.url("public_ip_prefix_name", public_ip_prefix_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'PublicIPPrefix') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('PublicIPPrefix', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('PublicIPPrefix', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIpPrefixName}'} # type: ignore + + async def begin_create_or_update( + self, + resource_group_name: str, + public_ip_prefix_name: str, + parameters: "_models.PublicIPPrefix", + **kwargs + ) -> AsyncLROPoller["_models.PublicIPPrefix"]: + """Creates or updates a static or dynamic public IP prefix. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param public_ip_prefix_name: The name of the public IP prefix. + :type public_ip_prefix_name: str + :param parameters: Parameters supplied to the create or update public IP prefix operation. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.PublicIPPrefix + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either PublicIPPrefix or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.PublicIPPrefix] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.PublicIPPrefix"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + resource_group_name=resource_group_name, + public_ip_prefix_name=public_ip_prefix_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('PublicIPPrefix', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'publicIpPrefixName': self._serialize.url("public_ip_prefix_name", public_ip_prefix_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIpPrefixName}'} # type: ignore + + async def update_tags( + self, + resource_group_name: str, + public_ip_prefix_name: str, + parameters: "_models.TagsObject", + **kwargs + ) -> "_models.PublicIPPrefix": + """Updates public IP prefix tags. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param public_ip_prefix_name: The name of the public IP prefix. + :type public_ip_prefix_name: str + :param parameters: Parameters supplied to update public IP prefix tags. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.TagsObject + :keyword callable cls: A custom type or function that will be passed the direct response + :return: PublicIPPrefix, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.PublicIPPrefix + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.PublicIPPrefix"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update_tags.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'publicIpPrefixName': self._serialize.url("public_ip_prefix_name", public_ip_prefix_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'TagsObject') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('PublicIPPrefix', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIpPrefixName}'} # type: ignore + + def list_all( + self, + **kwargs + ) -> AsyncIterable["_models.PublicIPPrefixListResult"]: + """Gets all the public IP prefixes in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either PublicIPPrefixListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.PublicIPPrefixListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.PublicIPPrefixListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_all.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('PublicIPPrefixListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_all.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/publicIPPrefixes'} # type: ignore + + def list( + self, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["_models.PublicIPPrefixListResult"]: + """Gets all public IP prefixes in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either PublicIPPrefixListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.PublicIPPrefixListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.PublicIPPrefixListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('PublicIPPrefixListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_resource_navigation_links_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_resource_navigation_links_operations.py new file mode 100644 index 000000000000..e16090115c0d --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_resource_navigation_links_operations.py @@ -0,0 +1,103 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, Callable, Dict, Generic, Optional, TypeVar +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class ResourceNavigationLinksOperations: + """ResourceNavigationLinksOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def list( + self, + resource_group_name: str, + virtual_network_name: str, + subnet_name: str, + **kwargs + ) -> "_models.ResourceNavigationLinksListResult": + """Gets a list of resource navigation links for a subnet. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_name: The name of the virtual network. + :type virtual_network_name: str + :param subnet_name: The name of the subnet. + :type subnet_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ResourceNavigationLinksListResult, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.ResourceNavigationLinksListResult + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ResourceNavigationLinksListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkName': self._serialize.url("virtual_network_name", virtual_network_name, 'str'), + 'subnetName': self._serialize.url("subnet_name", subnet_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ResourceNavigationLinksListResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}/ResourceNavigationLinks'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_route_filter_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_route_filter_rules_operations.py new file mode 100644 index 000000000000..2100d8493e17 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_route_filter_rules_operations.py @@ -0,0 +1,431 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class RouteFilterRulesOperations: + """RouteFilterRulesOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def _delete_initial( + self, + resource_group_name: str, + route_filter_name: str, + rule_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'routeFilterName': self._serialize.url("route_filter_name", route_filter_name, 'str'), + 'ruleName': self._serialize.url("rule_name", rule_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}/routeFilterRules/{ruleName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + route_filter_name: str, + rule_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the specified rule from a route filter. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param route_filter_name: The name of the route filter. + :type route_filter_name: str + :param rule_name: The name of the rule. + :type rule_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + route_filter_name=route_filter_name, + rule_name=rule_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'routeFilterName': self._serialize.url("route_filter_name", route_filter_name, 'str'), + 'ruleName': self._serialize.url("rule_name", rule_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}/routeFilterRules/{ruleName}'} # type: ignore + + async def get( + self, + resource_group_name: str, + route_filter_name: str, + rule_name: str, + **kwargs + ) -> "_models.RouteFilterRule": + """Gets the specified rule from a route filter. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param route_filter_name: The name of the route filter. + :type route_filter_name: str + :param rule_name: The name of the rule. + :type rule_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: RouteFilterRule, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.RouteFilterRule + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.RouteFilterRule"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'routeFilterName': self._serialize.url("route_filter_name", route_filter_name, 'str'), + 'ruleName': self._serialize.url("rule_name", rule_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('RouteFilterRule', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}/routeFilterRules/{ruleName}'} # type: ignore + + async def _create_or_update_initial( + self, + resource_group_name: str, + route_filter_name: str, + rule_name: str, + route_filter_rule_parameters: "_models.RouteFilterRule", + **kwargs + ) -> "_models.RouteFilterRule": + cls = kwargs.pop('cls', None) # type: ClsType["_models.RouteFilterRule"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'routeFilterName': self._serialize.url("route_filter_name", route_filter_name, 'str'), + 'ruleName': self._serialize.url("rule_name", rule_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(route_filter_rule_parameters, 'RouteFilterRule') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('RouteFilterRule', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('RouteFilterRule', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}/routeFilterRules/{ruleName}'} # type: ignore + + async def begin_create_or_update( + self, + resource_group_name: str, + route_filter_name: str, + rule_name: str, + route_filter_rule_parameters: "_models.RouteFilterRule", + **kwargs + ) -> AsyncLROPoller["_models.RouteFilterRule"]: + """Creates or updates a route in the specified route filter. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param route_filter_name: The name of the route filter. + :type route_filter_name: str + :param rule_name: The name of the route filter rule. + :type rule_name: str + :param route_filter_rule_parameters: Parameters supplied to the create or update route filter + rule operation. + :type route_filter_rule_parameters: ~azure.mgmt.network.v2021_02_01.models.RouteFilterRule + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either RouteFilterRule or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.RouteFilterRule] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.RouteFilterRule"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + resource_group_name=resource_group_name, + route_filter_name=route_filter_name, + rule_name=rule_name, + route_filter_rule_parameters=route_filter_rule_parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('RouteFilterRule', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'routeFilterName': self._serialize.url("route_filter_name", route_filter_name, 'str'), + 'ruleName': self._serialize.url("rule_name", rule_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}/routeFilterRules/{ruleName}'} # type: ignore + + def list_by_route_filter( + self, + resource_group_name: str, + route_filter_name: str, + **kwargs + ) -> AsyncIterable["_models.RouteFilterRuleListResult"]: + """Gets all RouteFilterRules in a route filter. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param route_filter_name: The name of the route filter. + :type route_filter_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either RouteFilterRuleListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.RouteFilterRuleListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.RouteFilterRuleListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_route_filter.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'routeFilterName': self._serialize.url("route_filter_name", route_filter_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('RouteFilterRuleListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_route_filter.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}/routeFilterRules'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_route_filters_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_route_filters_operations.py new file mode 100644 index 000000000000..39493378a0e0 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_route_filters_operations.py @@ -0,0 +1,546 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class RouteFiltersOperations: + """RouteFiltersOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def _delete_initial( + self, + resource_group_name: str, + route_filter_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'routeFilterName': self._serialize.url("route_filter_name", route_filter_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + route_filter_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the specified route filter. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param route_filter_name: The name of the route filter. + :type route_filter_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + route_filter_name=route_filter_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'routeFilterName': self._serialize.url("route_filter_name", route_filter_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}'} # type: ignore + + async def get( + self, + resource_group_name: str, + route_filter_name: str, + expand: Optional[str] = None, + **kwargs + ) -> "_models.RouteFilter": + """Gets the specified route filter. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param route_filter_name: The name of the route filter. + :type route_filter_name: str + :param expand: Expands referenced express route bgp peering resources. + :type expand: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: RouteFilter, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.RouteFilter + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.RouteFilter"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'routeFilterName': self._serialize.url("route_filter_name", route_filter_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('RouteFilter', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}'} # type: ignore + + async def _create_or_update_initial( + self, + resource_group_name: str, + route_filter_name: str, + route_filter_parameters: "_models.RouteFilter", + **kwargs + ) -> "_models.RouteFilter": + cls = kwargs.pop('cls', None) # type: ClsType["_models.RouteFilter"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'routeFilterName': self._serialize.url("route_filter_name", route_filter_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(route_filter_parameters, 'RouteFilter') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('RouteFilter', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('RouteFilter', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}'} # type: ignore + + async def begin_create_or_update( + self, + resource_group_name: str, + route_filter_name: str, + route_filter_parameters: "_models.RouteFilter", + **kwargs + ) -> AsyncLROPoller["_models.RouteFilter"]: + """Creates or updates a route filter in a specified resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param route_filter_name: The name of the route filter. + :type route_filter_name: str + :param route_filter_parameters: Parameters supplied to the create or update route filter + operation. + :type route_filter_parameters: ~azure.mgmt.network.v2021_02_01.models.RouteFilter + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either RouteFilter or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.RouteFilter] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.RouteFilter"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + resource_group_name=resource_group_name, + route_filter_name=route_filter_name, + route_filter_parameters=route_filter_parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('RouteFilter', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'routeFilterName': self._serialize.url("route_filter_name", route_filter_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}'} # type: ignore + + async def update_tags( + self, + resource_group_name: str, + route_filter_name: str, + parameters: "_models.TagsObject", + **kwargs + ) -> "_models.RouteFilter": + """Updates tags of a route filter. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param route_filter_name: The name of the route filter. + :type route_filter_name: str + :param parameters: Parameters supplied to update route filter tags. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.TagsObject + :keyword callable cls: A custom type or function that will be passed the direct response + :return: RouteFilter, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.RouteFilter + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.RouteFilter"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update_tags.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'routeFilterName': self._serialize.url("route_filter_name", route_filter_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'TagsObject') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('RouteFilter', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}'} # type: ignore + + def list_by_resource_group( + self, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["_models.RouteFilterListResult"]: + """Gets all route filters in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either RouteFilterListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.RouteFilterListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.RouteFilterListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_resource_group.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('RouteFilterListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters'} # type: ignore + + def list( + self, + **kwargs + ) -> AsyncIterable["_models.RouteFilterListResult"]: + """Gets all route filters in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either RouteFilterListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.RouteFilterListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.RouteFilterListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('RouteFilterListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/routeFilters'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_route_tables_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_route_tables_operations.py new file mode 100644 index 000000000000..bf5eaa30c88a --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_route_tables_operations.py @@ -0,0 +1,545 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class RouteTablesOperations: + """RouteTablesOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def _delete_initial( + self, + resource_group_name: str, + route_table_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'routeTableName': self._serialize.url("route_table_name", route_table_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + route_table_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the specified route table. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param route_table_name: The name of the route table. + :type route_table_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + route_table_name=route_table_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'routeTableName': self._serialize.url("route_table_name", route_table_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}'} # type: ignore + + async def get( + self, + resource_group_name: str, + route_table_name: str, + expand: Optional[str] = None, + **kwargs + ) -> "_models.RouteTable": + """Gets the specified route table. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param route_table_name: The name of the route table. + :type route_table_name: str + :param expand: Expands referenced resources. + :type expand: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: RouteTable, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.RouteTable + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.RouteTable"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'routeTableName': self._serialize.url("route_table_name", route_table_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('RouteTable', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}'} # type: ignore + + async def _create_or_update_initial( + self, + resource_group_name: str, + route_table_name: str, + parameters: "_models.RouteTable", + **kwargs + ) -> "_models.RouteTable": + cls = kwargs.pop('cls', None) # type: ClsType["_models.RouteTable"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'routeTableName': self._serialize.url("route_table_name", route_table_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'RouteTable') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('RouteTable', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('RouteTable', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}'} # type: ignore + + async def begin_create_or_update( + self, + resource_group_name: str, + route_table_name: str, + parameters: "_models.RouteTable", + **kwargs + ) -> AsyncLROPoller["_models.RouteTable"]: + """Create or updates a route table in a specified resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param route_table_name: The name of the route table. + :type route_table_name: str + :param parameters: Parameters supplied to the create or update route table operation. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.RouteTable + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either RouteTable or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.RouteTable] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.RouteTable"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + resource_group_name=resource_group_name, + route_table_name=route_table_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('RouteTable', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'routeTableName': self._serialize.url("route_table_name", route_table_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}'} # type: ignore + + async def update_tags( + self, + resource_group_name: str, + route_table_name: str, + parameters: "_models.TagsObject", + **kwargs + ) -> "_models.RouteTable": + """Updates a route table tags. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param route_table_name: The name of the route table. + :type route_table_name: str + :param parameters: Parameters supplied to update route table tags. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.TagsObject + :keyword callable cls: A custom type or function that will be passed the direct response + :return: RouteTable, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.RouteTable + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.RouteTable"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update_tags.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'routeTableName': self._serialize.url("route_table_name", route_table_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'TagsObject') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('RouteTable', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}'} # type: ignore + + def list( + self, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["_models.RouteTableListResult"]: + """Gets all route tables in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either RouteTableListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.RouteTableListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.RouteTableListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('RouteTableListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables'} # type: ignore + + def list_all( + self, + **kwargs + ) -> AsyncIterable["_models.RouteTableListResult"]: + """Gets all route tables in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either RouteTableListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.RouteTableListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.RouteTableListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_all.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('RouteTableListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_all.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/routeTables'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_routes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_routes_operations.py new file mode 100644 index 000000000000..044e9c3eab41 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_routes_operations.py @@ -0,0 +1,430 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class RoutesOperations: + """RoutesOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def _delete_initial( + self, + resource_group_name: str, + route_table_name: str, + route_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'routeTableName': self._serialize.url("route_table_name", route_table_name, 'str'), + 'routeName': self._serialize.url("route_name", route_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}/routes/{routeName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + route_table_name: str, + route_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the specified route from a route table. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param route_table_name: The name of the route table. + :type route_table_name: str + :param route_name: The name of the route. + :type route_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + route_table_name=route_table_name, + route_name=route_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'routeTableName': self._serialize.url("route_table_name", route_table_name, 'str'), + 'routeName': self._serialize.url("route_name", route_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}/routes/{routeName}'} # type: ignore + + async def get( + self, + resource_group_name: str, + route_table_name: str, + route_name: str, + **kwargs + ) -> "_models.Route": + """Gets the specified route from a route table. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param route_table_name: The name of the route table. + :type route_table_name: str + :param route_name: The name of the route. + :type route_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Route, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.Route + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Route"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'routeTableName': self._serialize.url("route_table_name", route_table_name, 'str'), + 'routeName': self._serialize.url("route_name", route_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Route', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}/routes/{routeName}'} # type: ignore + + async def _create_or_update_initial( + self, + resource_group_name: str, + route_table_name: str, + route_name: str, + route_parameters: "_models.Route", + **kwargs + ) -> "_models.Route": + cls = kwargs.pop('cls', None) # type: ClsType["_models.Route"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'routeTableName': self._serialize.url("route_table_name", route_table_name, 'str'), + 'routeName': self._serialize.url("route_name", route_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(route_parameters, 'Route') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('Route', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('Route', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}/routes/{routeName}'} # type: ignore + + async def begin_create_or_update( + self, + resource_group_name: str, + route_table_name: str, + route_name: str, + route_parameters: "_models.Route", + **kwargs + ) -> AsyncLROPoller["_models.Route"]: + """Creates or updates a route in the specified route table. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param route_table_name: The name of the route table. + :type route_table_name: str + :param route_name: The name of the route. + :type route_name: str + :param route_parameters: Parameters supplied to the create or update route operation. + :type route_parameters: ~azure.mgmt.network.v2021_02_01.models.Route + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either Route or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.Route] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.Route"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + resource_group_name=resource_group_name, + route_table_name=route_table_name, + route_name=route_name, + route_parameters=route_parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('Route', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'routeTableName': self._serialize.url("route_table_name", route_table_name, 'str'), + 'routeName': self._serialize.url("route_name", route_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}/routes/{routeName}'} # type: ignore + + def list( + self, + resource_group_name: str, + route_table_name: str, + **kwargs + ) -> AsyncIterable["_models.RouteListResult"]: + """Gets all routes in a route table. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param route_table_name: The name of the route table. + :type route_table_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either RouteListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.RouteListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.RouteListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'routeTableName': self._serialize.url("route_table_name", route_table_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('RouteListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}/routes'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_security_partner_providers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_security_partner_providers_operations.py new file mode 100644 index 000000000000..73aeecf89366 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_security_partner_providers_operations.py @@ -0,0 +1,541 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class SecurityPartnerProvidersOperations: + """SecurityPartnerProvidersOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def _delete_initial( + self, + resource_group_name: str, + security_partner_provider_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'securityPartnerProviderName': self._serialize.url("security_partner_provider_name", security_partner_provider_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/securityPartnerProviders/{securityPartnerProviderName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + security_partner_provider_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the specified Security Partner Provider. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param security_partner_provider_name: The name of the Security Partner Provider. + :type security_partner_provider_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + security_partner_provider_name=security_partner_provider_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'securityPartnerProviderName': self._serialize.url("security_partner_provider_name", security_partner_provider_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/securityPartnerProviders/{securityPartnerProviderName}'} # type: ignore + + async def get( + self, + resource_group_name: str, + security_partner_provider_name: str, + **kwargs + ) -> "_models.SecurityPartnerProvider": + """Gets the specified Security Partner Provider. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param security_partner_provider_name: The name of the Security Partner Provider. + :type security_partner_provider_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: SecurityPartnerProvider, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.SecurityPartnerProvider + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.SecurityPartnerProvider"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'securityPartnerProviderName': self._serialize.url("security_partner_provider_name", security_partner_provider_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('SecurityPartnerProvider', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/securityPartnerProviders/{securityPartnerProviderName}'} # type: ignore + + async def _create_or_update_initial( + self, + resource_group_name: str, + security_partner_provider_name: str, + parameters: "_models.SecurityPartnerProvider", + **kwargs + ) -> "_models.SecurityPartnerProvider": + cls = kwargs.pop('cls', None) # type: ClsType["_models.SecurityPartnerProvider"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'securityPartnerProviderName': self._serialize.url("security_partner_provider_name", security_partner_provider_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'SecurityPartnerProvider') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('SecurityPartnerProvider', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('SecurityPartnerProvider', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/securityPartnerProviders/{securityPartnerProviderName}'} # type: ignore + + async def begin_create_or_update( + self, + resource_group_name: str, + security_partner_provider_name: str, + parameters: "_models.SecurityPartnerProvider", + **kwargs + ) -> AsyncLROPoller["_models.SecurityPartnerProvider"]: + """Creates or updates the specified Security Partner Provider. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param security_partner_provider_name: The name of the Security Partner Provider. + :type security_partner_provider_name: str + :param parameters: Parameters supplied to the create or update Security Partner Provider + operation. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.SecurityPartnerProvider + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either SecurityPartnerProvider or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.SecurityPartnerProvider] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.SecurityPartnerProvider"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + resource_group_name=resource_group_name, + security_partner_provider_name=security_partner_provider_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('SecurityPartnerProvider', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'securityPartnerProviderName': self._serialize.url("security_partner_provider_name", security_partner_provider_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/securityPartnerProviders/{securityPartnerProviderName}'} # type: ignore + + async def update_tags( + self, + resource_group_name: str, + security_partner_provider_name: str, + parameters: "_models.TagsObject", + **kwargs + ) -> "_models.SecurityPartnerProvider": + """Updates tags of a Security Partner Provider resource. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param security_partner_provider_name: The name of the Security Partner Provider. + :type security_partner_provider_name: str + :param parameters: Parameters supplied to update Security Partner Provider tags. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.TagsObject + :keyword callable cls: A custom type or function that will be passed the direct response + :return: SecurityPartnerProvider, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.SecurityPartnerProvider + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.SecurityPartnerProvider"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update_tags.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'securityPartnerProviderName': self._serialize.url("security_partner_provider_name", security_partner_provider_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'TagsObject') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('SecurityPartnerProvider', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/securityPartnerProviders/{securityPartnerProviderName}'} # type: ignore + + def list_by_resource_group( + self, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["_models.SecurityPartnerProviderListResult"]: + """Lists all Security Partner Providers in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either SecurityPartnerProviderListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.SecurityPartnerProviderListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.SecurityPartnerProviderListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_resource_group.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('SecurityPartnerProviderListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/securityPartnerProviders'} # type: ignore + + def list( + self, + **kwargs + ) -> AsyncIterable["_models.SecurityPartnerProviderListResult"]: + """Gets all the Security Partner Providers in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either SecurityPartnerProviderListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.SecurityPartnerProviderListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.SecurityPartnerProviderListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('SecurityPartnerProviderListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/securityPartnerProviders'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_security_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_security_rules_operations.py new file mode 100644 index 000000000000..25b76258df7f --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_security_rules_operations.py @@ -0,0 +1,431 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class SecurityRulesOperations: + """SecurityRulesOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def _delete_initial( + self, + resource_group_name: str, + network_security_group_name: str, + security_rule_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkSecurityGroupName': self._serialize.url("network_security_group_name", network_security_group_name, 'str'), + 'securityRuleName': self._serialize.url("security_rule_name", security_rule_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules/{securityRuleName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + network_security_group_name: str, + security_rule_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the specified network security rule. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_security_group_name: The name of the network security group. + :type network_security_group_name: str + :param security_rule_name: The name of the security rule. + :type security_rule_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + network_security_group_name=network_security_group_name, + security_rule_name=security_rule_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkSecurityGroupName': self._serialize.url("network_security_group_name", network_security_group_name, 'str'), + 'securityRuleName': self._serialize.url("security_rule_name", security_rule_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules/{securityRuleName}'} # type: ignore + + async def get( + self, + resource_group_name: str, + network_security_group_name: str, + security_rule_name: str, + **kwargs + ) -> "_models.SecurityRule": + """Get the specified network security rule. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_security_group_name: The name of the network security group. + :type network_security_group_name: str + :param security_rule_name: The name of the security rule. + :type security_rule_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: SecurityRule, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.SecurityRule + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.SecurityRule"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkSecurityGroupName': self._serialize.url("network_security_group_name", network_security_group_name, 'str'), + 'securityRuleName': self._serialize.url("security_rule_name", security_rule_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('SecurityRule', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules/{securityRuleName}'} # type: ignore + + async def _create_or_update_initial( + self, + resource_group_name: str, + network_security_group_name: str, + security_rule_name: str, + security_rule_parameters: "_models.SecurityRule", + **kwargs + ) -> "_models.SecurityRule": + cls = kwargs.pop('cls', None) # type: ClsType["_models.SecurityRule"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkSecurityGroupName': self._serialize.url("network_security_group_name", network_security_group_name, 'str'), + 'securityRuleName': self._serialize.url("security_rule_name", security_rule_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(security_rule_parameters, 'SecurityRule') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('SecurityRule', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('SecurityRule', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules/{securityRuleName}'} # type: ignore + + async def begin_create_or_update( + self, + resource_group_name: str, + network_security_group_name: str, + security_rule_name: str, + security_rule_parameters: "_models.SecurityRule", + **kwargs + ) -> AsyncLROPoller["_models.SecurityRule"]: + """Creates or updates a security rule in the specified network security group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_security_group_name: The name of the network security group. + :type network_security_group_name: str + :param security_rule_name: The name of the security rule. + :type security_rule_name: str + :param security_rule_parameters: Parameters supplied to the create or update network security + rule operation. + :type security_rule_parameters: ~azure.mgmt.network.v2021_02_01.models.SecurityRule + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either SecurityRule or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.SecurityRule] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.SecurityRule"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + resource_group_name=resource_group_name, + network_security_group_name=network_security_group_name, + security_rule_name=security_rule_name, + security_rule_parameters=security_rule_parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('SecurityRule', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkSecurityGroupName': self._serialize.url("network_security_group_name", network_security_group_name, 'str'), + 'securityRuleName': self._serialize.url("security_rule_name", security_rule_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules/{securityRuleName}'} # type: ignore + + def list( + self, + resource_group_name: str, + network_security_group_name: str, + **kwargs + ) -> AsyncIterable["_models.SecurityRuleListResult"]: + """Gets all security rules in a network security group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_security_group_name: The name of the network security group. + :type network_security_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either SecurityRuleListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.SecurityRuleListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.SecurityRuleListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkSecurityGroupName': self._serialize.url("network_security_group_name", network_security_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('SecurityRuleListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_service_association_links_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_service_association_links_operations.py new file mode 100644 index 000000000000..edb7a7c8154f --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_service_association_links_operations.py @@ -0,0 +1,103 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, Callable, Dict, Generic, Optional, TypeVar +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class ServiceAssociationLinksOperations: + """ServiceAssociationLinksOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def list( + self, + resource_group_name: str, + virtual_network_name: str, + subnet_name: str, + **kwargs + ) -> "_models.ServiceAssociationLinksListResult": + """Gets a list of service association links for a subnet. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_name: The name of the virtual network. + :type virtual_network_name: str + :param subnet_name: The name of the subnet. + :type subnet_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ServiceAssociationLinksListResult, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.ServiceAssociationLinksListResult + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ServiceAssociationLinksListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkName': self._serialize.url("virtual_network_name", virtual_network_name, 'str'), + 'subnetName': self._serialize.url("subnet_name", subnet_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ServiceAssociationLinksListResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}/ServiceAssociationLinks'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_service_endpoint_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_service_endpoint_policies_operations.py new file mode 100644 index 000000000000..75254b30f117 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_service_endpoint_policies_operations.py @@ -0,0 +1,546 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class ServiceEndpointPoliciesOperations: + """ServiceEndpointPoliciesOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def _delete_initial( + self, + resource_group_name: str, + service_endpoint_policy_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'serviceEndpointPolicyName': self._serialize.url("service_endpoint_policy_name", service_endpoint_policy_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + service_endpoint_policy_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the specified service endpoint policy. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param service_endpoint_policy_name: The name of the service endpoint policy. + :type service_endpoint_policy_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + service_endpoint_policy_name=service_endpoint_policy_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'serviceEndpointPolicyName': self._serialize.url("service_endpoint_policy_name", service_endpoint_policy_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}'} # type: ignore + + async def get( + self, + resource_group_name: str, + service_endpoint_policy_name: str, + expand: Optional[str] = None, + **kwargs + ) -> "_models.ServiceEndpointPolicy": + """Gets the specified service Endpoint Policies in a specified resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param service_endpoint_policy_name: The name of the service endpoint policy. + :type service_endpoint_policy_name: str + :param expand: Expands referenced resources. + :type expand: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ServiceEndpointPolicy, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.ServiceEndpointPolicy + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ServiceEndpointPolicy"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'serviceEndpointPolicyName': self._serialize.url("service_endpoint_policy_name", service_endpoint_policy_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ServiceEndpointPolicy', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}'} # type: ignore + + async def _create_or_update_initial( + self, + resource_group_name: str, + service_endpoint_policy_name: str, + parameters: "_models.ServiceEndpointPolicy", + **kwargs + ) -> "_models.ServiceEndpointPolicy": + cls = kwargs.pop('cls', None) # type: ClsType["_models.ServiceEndpointPolicy"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'serviceEndpointPolicyName': self._serialize.url("service_endpoint_policy_name", service_endpoint_policy_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'ServiceEndpointPolicy') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('ServiceEndpointPolicy', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('ServiceEndpointPolicy', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}'} # type: ignore + + async def begin_create_or_update( + self, + resource_group_name: str, + service_endpoint_policy_name: str, + parameters: "_models.ServiceEndpointPolicy", + **kwargs + ) -> AsyncLROPoller["_models.ServiceEndpointPolicy"]: + """Creates or updates a service Endpoint Policies. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param service_endpoint_policy_name: The name of the service endpoint policy. + :type service_endpoint_policy_name: str + :param parameters: Parameters supplied to the create or update service endpoint policy + operation. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.ServiceEndpointPolicy + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either ServiceEndpointPolicy or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.ServiceEndpointPolicy] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.ServiceEndpointPolicy"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + resource_group_name=resource_group_name, + service_endpoint_policy_name=service_endpoint_policy_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('ServiceEndpointPolicy', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'serviceEndpointPolicyName': self._serialize.url("service_endpoint_policy_name", service_endpoint_policy_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}'} # type: ignore + + async def update_tags( + self, + resource_group_name: str, + service_endpoint_policy_name: str, + parameters: "_models.TagsObject", + **kwargs + ) -> "_models.ServiceEndpointPolicy": + """Updates tags of a service endpoint policy. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param service_endpoint_policy_name: The name of the service endpoint policy. + :type service_endpoint_policy_name: str + :param parameters: Parameters supplied to update service endpoint policy tags. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.TagsObject + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ServiceEndpointPolicy, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.ServiceEndpointPolicy + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ServiceEndpointPolicy"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update_tags.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'serviceEndpointPolicyName': self._serialize.url("service_endpoint_policy_name", service_endpoint_policy_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'TagsObject') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ServiceEndpointPolicy', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}'} # type: ignore + + def list( + self, + **kwargs + ) -> AsyncIterable["_models.ServiceEndpointPolicyListResult"]: + """Gets all the service endpoint policies in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ServiceEndpointPolicyListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.ServiceEndpointPolicyListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ServiceEndpointPolicyListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('ServiceEndpointPolicyListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/ServiceEndpointPolicies'} # type: ignore + + def list_by_resource_group( + self, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["_models.ServiceEndpointPolicyListResult"]: + """Gets all service endpoint Policies in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ServiceEndpointPolicyListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.ServiceEndpointPolicyListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ServiceEndpointPolicyListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_resource_group.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('ServiceEndpointPolicyListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_service_endpoint_policy_definitions_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_service_endpoint_policy_definitions_operations.py new file mode 100644 index 000000000000..c86bf1a46d71 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_service_endpoint_policy_definitions_operations.py @@ -0,0 +1,435 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class ServiceEndpointPolicyDefinitionsOperations: + """ServiceEndpointPolicyDefinitionsOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def _delete_initial( + self, + resource_group_name: str, + service_endpoint_policy_name: str, + service_endpoint_policy_definition_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'serviceEndpointPolicyName': self._serialize.url("service_endpoint_policy_name", service_endpoint_policy_name, 'str'), + 'serviceEndpointPolicyDefinitionName': self._serialize.url("service_endpoint_policy_definition_name", service_endpoint_policy_definition_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}/serviceEndpointPolicyDefinitions/{serviceEndpointPolicyDefinitionName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + service_endpoint_policy_name: str, + service_endpoint_policy_definition_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the specified ServiceEndpoint policy definitions. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param service_endpoint_policy_name: The name of the Service Endpoint Policy. + :type service_endpoint_policy_name: str + :param service_endpoint_policy_definition_name: The name of the service endpoint policy + definition. + :type service_endpoint_policy_definition_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + service_endpoint_policy_name=service_endpoint_policy_name, + service_endpoint_policy_definition_name=service_endpoint_policy_definition_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'serviceEndpointPolicyName': self._serialize.url("service_endpoint_policy_name", service_endpoint_policy_name, 'str'), + 'serviceEndpointPolicyDefinitionName': self._serialize.url("service_endpoint_policy_definition_name", service_endpoint_policy_definition_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}/serviceEndpointPolicyDefinitions/{serviceEndpointPolicyDefinitionName}'} # type: ignore + + async def get( + self, + resource_group_name: str, + service_endpoint_policy_name: str, + service_endpoint_policy_definition_name: str, + **kwargs + ) -> "_models.ServiceEndpointPolicyDefinition": + """Get the specified service endpoint policy definitions from service endpoint policy. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param service_endpoint_policy_name: The name of the service endpoint policy name. + :type service_endpoint_policy_name: str + :param service_endpoint_policy_definition_name: The name of the service endpoint policy + definition name. + :type service_endpoint_policy_definition_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ServiceEndpointPolicyDefinition, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.ServiceEndpointPolicyDefinition + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ServiceEndpointPolicyDefinition"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'serviceEndpointPolicyName': self._serialize.url("service_endpoint_policy_name", service_endpoint_policy_name, 'str'), + 'serviceEndpointPolicyDefinitionName': self._serialize.url("service_endpoint_policy_definition_name", service_endpoint_policy_definition_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ServiceEndpointPolicyDefinition', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}/serviceEndpointPolicyDefinitions/{serviceEndpointPolicyDefinitionName}'} # type: ignore + + async def _create_or_update_initial( + self, + resource_group_name: str, + service_endpoint_policy_name: str, + service_endpoint_policy_definition_name: str, + service_endpoint_policy_definitions: "_models.ServiceEndpointPolicyDefinition", + **kwargs + ) -> "_models.ServiceEndpointPolicyDefinition": + cls = kwargs.pop('cls', None) # type: ClsType["_models.ServiceEndpointPolicyDefinition"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'serviceEndpointPolicyName': self._serialize.url("service_endpoint_policy_name", service_endpoint_policy_name, 'str'), + 'serviceEndpointPolicyDefinitionName': self._serialize.url("service_endpoint_policy_definition_name", service_endpoint_policy_definition_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(service_endpoint_policy_definitions, 'ServiceEndpointPolicyDefinition') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('ServiceEndpointPolicyDefinition', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('ServiceEndpointPolicyDefinition', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}/serviceEndpointPolicyDefinitions/{serviceEndpointPolicyDefinitionName}'} # type: ignore + + async def begin_create_or_update( + self, + resource_group_name: str, + service_endpoint_policy_name: str, + service_endpoint_policy_definition_name: str, + service_endpoint_policy_definitions: "_models.ServiceEndpointPolicyDefinition", + **kwargs + ) -> AsyncLROPoller["_models.ServiceEndpointPolicyDefinition"]: + """Creates or updates a service endpoint policy definition in the specified service endpoint + policy. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param service_endpoint_policy_name: The name of the service endpoint policy. + :type service_endpoint_policy_name: str + :param service_endpoint_policy_definition_name: The name of the service endpoint policy + definition name. + :type service_endpoint_policy_definition_name: str + :param service_endpoint_policy_definitions: Parameters supplied to the create or update service + endpoint policy operation. + :type service_endpoint_policy_definitions: ~azure.mgmt.network.v2021_02_01.models.ServiceEndpointPolicyDefinition + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either ServiceEndpointPolicyDefinition or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.ServiceEndpointPolicyDefinition] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.ServiceEndpointPolicyDefinition"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + resource_group_name=resource_group_name, + service_endpoint_policy_name=service_endpoint_policy_name, + service_endpoint_policy_definition_name=service_endpoint_policy_definition_name, + service_endpoint_policy_definitions=service_endpoint_policy_definitions, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('ServiceEndpointPolicyDefinition', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'serviceEndpointPolicyName': self._serialize.url("service_endpoint_policy_name", service_endpoint_policy_name, 'str'), + 'serviceEndpointPolicyDefinitionName': self._serialize.url("service_endpoint_policy_definition_name", service_endpoint_policy_definition_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}/serviceEndpointPolicyDefinitions/{serviceEndpointPolicyDefinitionName}'} # type: ignore + + def list_by_resource_group( + self, + resource_group_name: str, + service_endpoint_policy_name: str, + **kwargs + ) -> AsyncIterable["_models.ServiceEndpointPolicyDefinitionListResult"]: + """Gets all service endpoint policy definitions in a service end point policy. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param service_endpoint_policy_name: The name of the service endpoint policy name. + :type service_endpoint_policy_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ServiceEndpointPolicyDefinitionListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.ServiceEndpointPolicyDefinitionListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ServiceEndpointPolicyDefinitionListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_resource_group.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'serviceEndpointPolicyName': self._serialize.url("service_endpoint_policy_name", service_endpoint_policy_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('ServiceEndpointPolicyDefinitionListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}/serviceEndpointPolicyDefinitions'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_service_tags_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_service_tags_operations.py new file mode 100644 index 000000000000..1213eb4bd10b --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_service_tags_operations.py @@ -0,0 +1,97 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, Callable, Dict, Generic, Optional, TypeVar +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class ServiceTagsOperations: + """ServiceTagsOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def list( + self, + location: str, + **kwargs + ) -> "_models.ServiceTagsListResult": + """Gets a list of service tag information resources. + + :param location: The location that will be used as a reference for version (not as a filter + based on location, you will get the list of service tags with prefix details across all regions + but limited to the cloud that your subscription belongs to). + :type location: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ServiceTagsListResult, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.ServiceTagsListResult + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ServiceTagsListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'location': self._serialize.url("location", location, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ServiceTagsListResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/serviceTags'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_subnets_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_subnets_operations.py new file mode 100644 index 000000000000..e9a61d473ea6 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_subnets_operations.py @@ -0,0 +1,687 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class SubnetsOperations: + """SubnetsOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def _delete_initial( + self, + resource_group_name: str, + virtual_network_name: str, + subnet_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkName': self._serialize.url("virtual_network_name", virtual_network_name, 'str'), + 'subnetName': self._serialize.url("subnet_name", subnet_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + virtual_network_name: str, + subnet_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the specified subnet. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_name: The name of the virtual network. + :type virtual_network_name: str + :param subnet_name: The name of the subnet. + :type subnet_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + virtual_network_name=virtual_network_name, + subnet_name=subnet_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkName': self._serialize.url("virtual_network_name", virtual_network_name, 'str'), + 'subnetName': self._serialize.url("subnet_name", subnet_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}'} # type: ignore + + async def get( + self, + resource_group_name: str, + virtual_network_name: str, + subnet_name: str, + expand: Optional[str] = None, + **kwargs + ) -> "_models.Subnet": + """Gets the specified subnet by virtual network and resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_name: The name of the virtual network. + :type virtual_network_name: str + :param subnet_name: The name of the subnet. + :type subnet_name: str + :param expand: Expands referenced resources. + :type expand: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Subnet, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.Subnet + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Subnet"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkName': self._serialize.url("virtual_network_name", virtual_network_name, 'str'), + 'subnetName': self._serialize.url("subnet_name", subnet_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Subnet', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}'} # type: ignore + + async def _create_or_update_initial( + self, + resource_group_name: str, + virtual_network_name: str, + subnet_name: str, + subnet_parameters: "_models.Subnet", + **kwargs + ) -> "_models.Subnet": + cls = kwargs.pop('cls', None) # type: ClsType["_models.Subnet"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkName': self._serialize.url("virtual_network_name", virtual_network_name, 'str'), + 'subnetName': self._serialize.url("subnet_name", subnet_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(subnet_parameters, 'Subnet') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('Subnet', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('Subnet', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}'} # type: ignore + + async def begin_create_or_update( + self, + resource_group_name: str, + virtual_network_name: str, + subnet_name: str, + subnet_parameters: "_models.Subnet", + **kwargs + ) -> AsyncLROPoller["_models.Subnet"]: + """Creates or updates a subnet in the specified virtual network. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_name: The name of the virtual network. + :type virtual_network_name: str + :param subnet_name: The name of the subnet. + :type subnet_name: str + :param subnet_parameters: Parameters supplied to the create or update subnet operation. + :type subnet_parameters: ~azure.mgmt.network.v2021_02_01.models.Subnet + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either Subnet or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.Subnet] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.Subnet"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + resource_group_name=resource_group_name, + virtual_network_name=virtual_network_name, + subnet_name=subnet_name, + subnet_parameters=subnet_parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('Subnet', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkName': self._serialize.url("virtual_network_name", virtual_network_name, 'str'), + 'subnetName': self._serialize.url("subnet_name", subnet_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}'} # type: ignore + + async def _prepare_network_policies_initial( + self, + resource_group_name: str, + virtual_network_name: str, + subnet_name: str, + prepare_network_policies_request_parameters: "_models.PrepareNetworkPoliciesRequest", + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._prepare_network_policies_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkName': self._serialize.url("virtual_network_name", virtual_network_name, 'str'), + 'subnetName': self._serialize.url("subnet_name", subnet_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(prepare_network_policies_request_parameters, 'PrepareNetworkPoliciesRequest') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _prepare_network_policies_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}/PrepareNetworkPolicies'} # type: ignore + + async def begin_prepare_network_policies( + self, + resource_group_name: str, + virtual_network_name: str, + subnet_name: str, + prepare_network_policies_request_parameters: "_models.PrepareNetworkPoliciesRequest", + **kwargs + ) -> AsyncLROPoller[None]: + """Prepares a subnet by applying network intent policies. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_name: The name of the virtual network. + :type virtual_network_name: str + :param subnet_name: The name of the subnet. + :type subnet_name: str + :param prepare_network_policies_request_parameters: Parameters supplied to prepare subnet by + applying network intent policies. + :type prepare_network_policies_request_parameters: ~azure.mgmt.network.v2021_02_01.models.PrepareNetworkPoliciesRequest + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._prepare_network_policies_initial( + resource_group_name=resource_group_name, + virtual_network_name=virtual_network_name, + subnet_name=subnet_name, + prepare_network_policies_request_parameters=prepare_network_policies_request_parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkName': self._serialize.url("virtual_network_name", virtual_network_name, 'str'), + 'subnetName': self._serialize.url("subnet_name", subnet_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_prepare_network_policies.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}/PrepareNetworkPolicies'} # type: ignore + + async def _unprepare_network_policies_initial( + self, + resource_group_name: str, + virtual_network_name: str, + subnet_name: str, + unprepare_network_policies_request_parameters: "_models.UnprepareNetworkPoliciesRequest", + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._unprepare_network_policies_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkName': self._serialize.url("virtual_network_name", virtual_network_name, 'str'), + 'subnetName': self._serialize.url("subnet_name", subnet_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(unprepare_network_policies_request_parameters, 'UnprepareNetworkPoliciesRequest') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _unprepare_network_policies_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}/UnprepareNetworkPolicies'} # type: ignore + + async def begin_unprepare_network_policies( + self, + resource_group_name: str, + virtual_network_name: str, + subnet_name: str, + unprepare_network_policies_request_parameters: "_models.UnprepareNetworkPoliciesRequest", + **kwargs + ) -> AsyncLROPoller[None]: + """Unprepares a subnet by removing network intent policies. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_name: The name of the virtual network. + :type virtual_network_name: str + :param subnet_name: The name of the subnet. + :type subnet_name: str + :param unprepare_network_policies_request_parameters: Parameters supplied to unprepare subnet + to remove network intent policies. + :type unprepare_network_policies_request_parameters: ~azure.mgmt.network.v2021_02_01.models.UnprepareNetworkPoliciesRequest + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._unprepare_network_policies_initial( + resource_group_name=resource_group_name, + virtual_network_name=virtual_network_name, + subnet_name=subnet_name, + unprepare_network_policies_request_parameters=unprepare_network_policies_request_parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkName': self._serialize.url("virtual_network_name", virtual_network_name, 'str'), + 'subnetName': self._serialize.url("subnet_name", subnet_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_unprepare_network_policies.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}/UnprepareNetworkPolicies'} # type: ignore + + def list( + self, + resource_group_name: str, + virtual_network_name: str, + **kwargs + ) -> AsyncIterable["_models.SubnetListResult"]: + """Gets all subnets in a virtual network. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_name: The name of the virtual network. + :type virtual_network_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either SubnetListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.SubnetListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.SubnetListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkName': self._serialize.url("virtual_network_name", virtual_network_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('SubnetListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_usages_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_usages_operations.py new file mode 100644 index 000000000000..a4d83981ef0f --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_usages_operations.py @@ -0,0 +1,112 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class UsagesOperations: + """UsagesOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + location: str, + **kwargs + ) -> AsyncIterable["_models.UsagesListResult"]: + """List network usages for a subscription. + + :param location: The location where resource usage is queried. + :type location: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either UsagesListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.UsagesListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.UsagesListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'location': self._serialize.url("location", location, 'str', pattern=r'^[-\w\._ ]+$'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('UsagesListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/usages'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_virtual_appliance_sites_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_virtual_appliance_sites_operations.py new file mode 100644 index 000000000000..b1f2a92863eb --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_virtual_appliance_sites_operations.py @@ -0,0 +1,431 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class VirtualApplianceSitesOperations: + """VirtualApplianceSitesOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def _delete_initial( + self, + resource_group_name: str, + network_virtual_appliance_name: str, + site_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkVirtualApplianceName': self._serialize.url("network_virtual_appliance_name", network_virtual_appliance_name, 'str'), + 'siteName': self._serialize.url("site_name", site_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}/virtualApplianceSites/{siteName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + network_virtual_appliance_name: str, + site_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the specified site from a Virtual Appliance. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_virtual_appliance_name: The name of the Network Virtual Appliance. + :type network_virtual_appliance_name: str + :param site_name: The name of the site. + :type site_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + network_virtual_appliance_name=network_virtual_appliance_name, + site_name=site_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkVirtualApplianceName': self._serialize.url("network_virtual_appliance_name", network_virtual_appliance_name, 'str'), + 'siteName': self._serialize.url("site_name", site_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}/virtualApplianceSites/{siteName}'} # type: ignore + + async def get( + self, + resource_group_name: str, + network_virtual_appliance_name: str, + site_name: str, + **kwargs + ) -> "_models.VirtualApplianceSite": + """Gets the specified Virtual Appliance Site. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_virtual_appliance_name: The name of the Network Virtual Appliance. + :type network_virtual_appliance_name: str + :param site_name: The name of the site. + :type site_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: VirtualApplianceSite, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.VirtualApplianceSite + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualApplianceSite"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkVirtualApplianceName': self._serialize.url("network_virtual_appliance_name", network_virtual_appliance_name, 'str'), + 'siteName': self._serialize.url("site_name", site_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('VirtualApplianceSite', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}/virtualApplianceSites/{siteName}'} # type: ignore + + async def _create_or_update_initial( + self, + resource_group_name: str, + network_virtual_appliance_name: str, + site_name: str, + parameters: "_models.VirtualApplianceSite", + **kwargs + ) -> "_models.VirtualApplianceSite": + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualApplianceSite"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkVirtualApplianceName': self._serialize.url("network_virtual_appliance_name", network_virtual_appliance_name, 'str'), + 'siteName': self._serialize.url("site_name", site_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'VirtualApplianceSite') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('VirtualApplianceSite', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('VirtualApplianceSite', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}/virtualApplianceSites/{siteName}'} # type: ignore + + async def begin_create_or_update( + self, + resource_group_name: str, + network_virtual_appliance_name: str, + site_name: str, + parameters: "_models.VirtualApplianceSite", + **kwargs + ) -> AsyncLROPoller["_models.VirtualApplianceSite"]: + """Creates or updates the specified Network Virtual Appliance Site. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_virtual_appliance_name: The name of the Network Virtual Appliance. + :type network_virtual_appliance_name: str + :param site_name: The name of the site. + :type site_name: str + :param parameters: Parameters supplied to the create or update Network Virtual Appliance Site + operation. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.VirtualApplianceSite + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either VirtualApplianceSite or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.VirtualApplianceSite] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualApplianceSite"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + resource_group_name=resource_group_name, + network_virtual_appliance_name=network_virtual_appliance_name, + site_name=site_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('VirtualApplianceSite', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkVirtualApplianceName': self._serialize.url("network_virtual_appliance_name", network_virtual_appliance_name, 'str'), + 'siteName': self._serialize.url("site_name", site_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}/virtualApplianceSites/{siteName}'} # type: ignore + + def list( + self, + resource_group_name: str, + network_virtual_appliance_name: str, + **kwargs + ) -> AsyncIterable["_models.NetworkVirtualApplianceSiteListResult"]: + """Lists all Network Virtual Appliance Sites in a Network Virtual Appliance resource. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_virtual_appliance_name: The name of the Network Virtual Appliance. + :type network_virtual_appliance_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either NetworkVirtualApplianceSiteListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.NetworkVirtualApplianceSiteListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkVirtualApplianceSiteListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkVirtualApplianceName': self._serialize.url("network_virtual_appliance_name", network_virtual_appliance_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('NetworkVirtualApplianceSiteListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}/virtualApplianceSites'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_virtual_appliance_skus_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_virtual_appliance_skus_operations.py new file mode 100644 index 000000000000..e509032e3cf7 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_virtual_appliance_skus_operations.py @@ -0,0 +1,162 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class VirtualApplianceSkusOperations: + """VirtualApplianceSkusOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + **kwargs + ) -> AsyncIterable["_models.NetworkVirtualApplianceSkuListResult"]: + """List all SKUs available for a virtual appliance. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either NetworkVirtualApplianceSkuListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.NetworkVirtualApplianceSkuListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkVirtualApplianceSkuListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('NetworkVirtualApplianceSkuListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkVirtualApplianceSkus'} # type: ignore + + async def get( + self, + sku_name: str, + **kwargs + ) -> "_models.NetworkVirtualApplianceSku": + """Retrieves a single available sku for network virtual appliance. + + :param sku_name: Name of the Sku. + :type sku_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: NetworkVirtualApplianceSku, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.NetworkVirtualApplianceSku + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkVirtualApplianceSku"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'skuName': self._serialize.url("sku_name", sku_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('NetworkVirtualApplianceSku', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkVirtualApplianceSkus/{skuName}'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_virtual_hub_bgp_connection_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_virtual_hub_bgp_connection_operations.py new file mode 100644 index 000000000000..ab1da9daca8a --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_virtual_hub_bgp_connection_operations.py @@ -0,0 +1,356 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class VirtualHubBgpConnectionOperations: + """VirtualHubBgpConnectionOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def get( + self, + resource_group_name: str, + virtual_hub_name: str, + connection_name: str, + **kwargs + ) -> "_models.BgpConnection": + """Retrieves the details of a Virtual Hub Bgp Connection. + + :param resource_group_name: The resource group name of the VirtualHub. + :type resource_group_name: str + :param virtual_hub_name: The name of the VirtualHub. + :type virtual_hub_name: str + :param connection_name: The name of the connection. + :type connection_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: BgpConnection, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.BgpConnection + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.BgpConnection"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualHubName': self._serialize.url("virtual_hub_name", virtual_hub_name, 'str'), + 'connectionName': self._serialize.url("connection_name", connection_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('BgpConnection', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/bgpConnections/{connectionName}'} # type: ignore + + async def _create_or_update_initial( + self, + resource_group_name: str, + virtual_hub_name: str, + connection_name: str, + parameters: "_models.BgpConnection", + **kwargs + ) -> "_models.BgpConnection": + cls = kwargs.pop('cls', None) # type: ClsType["_models.BgpConnection"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualHubName': self._serialize.url("virtual_hub_name", virtual_hub_name, 'str'), + 'connectionName': self._serialize.url("connection_name", connection_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'BgpConnection') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('BgpConnection', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('BgpConnection', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/bgpConnections/{connectionName}'} # type: ignore + + async def begin_create_or_update( + self, + resource_group_name: str, + virtual_hub_name: str, + connection_name: str, + parameters: "_models.BgpConnection", + **kwargs + ) -> AsyncLROPoller["_models.BgpConnection"]: + """Creates a VirtualHubBgpConnection resource if it doesn't exist else updates the existing + VirtualHubBgpConnection. + + :param resource_group_name: The resource group name of the VirtualHub. + :type resource_group_name: str + :param virtual_hub_name: The name of the VirtualHub. + :type virtual_hub_name: str + :param connection_name: The name of the connection. + :type connection_name: str + :param parameters: Parameters of Bgp connection. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.BgpConnection + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either BgpConnection or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.BgpConnection] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.BgpConnection"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + resource_group_name=resource_group_name, + virtual_hub_name=virtual_hub_name, + connection_name=connection_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('BgpConnection', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualHubName': self._serialize.url("virtual_hub_name", virtual_hub_name, 'str'), + 'connectionName': self._serialize.url("connection_name", connection_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/bgpConnections/{connectionName}'} # type: ignore + + async def _delete_initial( + self, + resource_group_name: str, + virtual_hub_name: str, + connection_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualHubName': self._serialize.url("virtual_hub_name", virtual_hub_name, 'str'), + 'connectionName': self._serialize.url("connection_name", connection_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/bgpConnections/{connectionName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + virtual_hub_name: str, + connection_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes a VirtualHubBgpConnection. + + :param resource_group_name: The resource group name of the VirtualHubBgpConnection. + :type resource_group_name: str + :param virtual_hub_name: The name of the VirtualHub. + :type virtual_hub_name: str + :param connection_name: The name of the connection. + :type connection_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + virtual_hub_name=virtual_hub_name, + connection_name=connection_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualHubName': self._serialize.url("virtual_hub_name", virtual_hub_name, 'str'), + 'connectionName': self._serialize.url("connection_name", connection_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/bgpConnections/{connectionName}'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_virtual_hub_bgp_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_virtual_hub_bgp_connections_operations.py new file mode 100644 index 000000000000..60728519486b --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_virtual_hub_bgp_connections_operations.py @@ -0,0 +1,364 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class VirtualHubBgpConnectionsOperations: + """VirtualHubBgpConnectionsOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + resource_group_name: str, + virtual_hub_name: str, + **kwargs + ) -> AsyncIterable["_models.ListVirtualHubBgpConnectionResults"]: + """Retrieves the details of all VirtualHubBgpConnections. + + :param resource_group_name: The resource group name of the VirtualHub. + :type resource_group_name: str + :param virtual_hub_name: The name of the VirtualHub. + :type virtual_hub_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ListVirtualHubBgpConnectionResults or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.ListVirtualHubBgpConnectionResults] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ListVirtualHubBgpConnectionResults"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualHubName': self._serialize.url("virtual_hub_name", virtual_hub_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('ListVirtualHubBgpConnectionResults', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/bgpConnections'} # type: ignore + + async def _list_learned_routes_initial( + self, + resource_group_name: str, + hub_name: str, + connection_name: str, + **kwargs + ) -> Optional["_models.PeerRouteList"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.PeerRouteList"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._list_learned_routes_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'hubName': self._serialize.url("hub_name", hub_name, 'str'), + 'connectionName': self._serialize.url("connection_name", connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('PeerRouteList', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _list_learned_routes_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{hubName}/bgpConnections/{connectionName}/learnedRoutes'} # type: ignore + + async def begin_list_learned_routes( + self, + resource_group_name: str, + hub_name: str, + connection_name: str, + **kwargs + ) -> AsyncLROPoller["_models.PeerRouteList"]: + """Retrieves a list of routes the virtual hub bgp connection has learned. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param hub_name: The name of the virtual hub. + :type hub_name: str + :param connection_name: The name of the virtual hub bgp connection. + :type connection_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either PeerRouteList or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.PeerRouteList] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.PeerRouteList"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._list_learned_routes_initial( + resource_group_name=resource_group_name, + hub_name=hub_name, + connection_name=connection_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('PeerRouteList', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'hubName': self._serialize.url("hub_name", hub_name, 'str'), + 'connectionName': self._serialize.url("connection_name", connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_list_learned_routes.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{hubName}/bgpConnections/{connectionName}/learnedRoutes'} # type: ignore + + async def _list_advertised_routes_initial( + self, + resource_group_name: str, + hub_name: str, + connection_name: str, + **kwargs + ) -> Optional["_models.PeerRouteList"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.PeerRouteList"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._list_advertised_routes_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'hubName': self._serialize.url("hub_name", hub_name, 'str'), + 'connectionName': self._serialize.url("connection_name", connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('PeerRouteList', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _list_advertised_routes_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{hubName}/bgpConnections/{connectionName}/advertisedRoutes'} # type: ignore + + async def begin_list_advertised_routes( + self, + resource_group_name: str, + hub_name: str, + connection_name: str, + **kwargs + ) -> AsyncLROPoller["_models.PeerRouteList"]: + """Retrieves a list of routes the virtual hub bgp connection is advertising to the specified peer. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param hub_name: The name of the virtual hub. + :type hub_name: str + :param connection_name: The name of the virtual hub bgp connection. + :type connection_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either PeerRouteList or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.PeerRouteList] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.PeerRouteList"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._list_advertised_routes_initial( + resource_group_name=resource_group_name, + hub_name=hub_name, + connection_name=connection_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('PeerRouteList', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'hubName': self._serialize.url("hub_name", hub_name, 'str'), + 'connectionName': self._serialize.url("connection_name", connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_list_advertised_routes.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{hubName}/bgpConnections/{connectionName}/advertisedRoutes'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_virtual_hub_ip_configuration_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_virtual_hub_ip_configuration_operations.py new file mode 100644 index 000000000000..f7e896b22469 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_virtual_hub_ip_configuration_operations.py @@ -0,0 +1,431 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class VirtualHubIpConfigurationOperations: + """VirtualHubIpConfigurationOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def get( + self, + resource_group_name: str, + virtual_hub_name: str, + ip_config_name: str, + **kwargs + ) -> "_models.HubIpConfiguration": + """Retrieves the details of a Virtual Hub Ip configuration. + + :param resource_group_name: The resource group name of the VirtualHub. + :type resource_group_name: str + :param virtual_hub_name: The name of the VirtualHub. + :type virtual_hub_name: str + :param ip_config_name: The name of the ipconfig. + :type ip_config_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: HubIpConfiguration, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.HubIpConfiguration + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.HubIpConfiguration"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualHubName': self._serialize.url("virtual_hub_name", virtual_hub_name, 'str'), + 'ipConfigName': self._serialize.url("ip_config_name", ip_config_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('HubIpConfiguration', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/ipConfigurations/{ipConfigName}'} # type: ignore + + async def _create_or_update_initial( + self, + resource_group_name: str, + virtual_hub_name: str, + ip_config_name: str, + parameters: "_models.HubIpConfiguration", + **kwargs + ) -> "_models.HubIpConfiguration": + cls = kwargs.pop('cls', None) # type: ClsType["_models.HubIpConfiguration"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualHubName': self._serialize.url("virtual_hub_name", virtual_hub_name, 'str'), + 'ipConfigName': self._serialize.url("ip_config_name", ip_config_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'HubIpConfiguration') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('HubIpConfiguration', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('HubIpConfiguration', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/ipConfigurations/{ipConfigName}'} # type: ignore + + async def begin_create_or_update( + self, + resource_group_name: str, + virtual_hub_name: str, + ip_config_name: str, + parameters: "_models.HubIpConfiguration", + **kwargs + ) -> AsyncLROPoller["_models.HubIpConfiguration"]: + """Creates a VirtualHubIpConfiguration resource if it doesn't exist else updates the existing + VirtualHubIpConfiguration. + + :param resource_group_name: The resource group name of the VirtualHub. + :type resource_group_name: str + :param virtual_hub_name: The name of the VirtualHub. + :type virtual_hub_name: str + :param ip_config_name: The name of the ipconfig. + :type ip_config_name: str + :param parameters: Hub Ip Configuration parameters. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.HubIpConfiguration + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either HubIpConfiguration or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.HubIpConfiguration] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.HubIpConfiguration"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + resource_group_name=resource_group_name, + virtual_hub_name=virtual_hub_name, + ip_config_name=ip_config_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('HubIpConfiguration', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualHubName': self._serialize.url("virtual_hub_name", virtual_hub_name, 'str'), + 'ipConfigName': self._serialize.url("ip_config_name", ip_config_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/ipConfigurations/{ipConfigName}'} # type: ignore + + async def _delete_initial( + self, + resource_group_name: str, + virtual_hub_name: str, + ip_config_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualHubName': self._serialize.url("virtual_hub_name", virtual_hub_name, 'str'), + 'ipConfigName': self._serialize.url("ip_config_name", ip_config_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/ipConfigurations/{ipConfigName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + virtual_hub_name: str, + ip_config_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes a VirtualHubIpConfiguration. + + :param resource_group_name: The resource group name of the VirtualHubBgpConnection. + :type resource_group_name: str + :param virtual_hub_name: The name of the VirtualHub. + :type virtual_hub_name: str + :param ip_config_name: The name of the ipconfig. + :type ip_config_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + virtual_hub_name=virtual_hub_name, + ip_config_name=ip_config_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualHubName': self._serialize.url("virtual_hub_name", virtual_hub_name, 'str'), + 'ipConfigName': self._serialize.url("ip_config_name", ip_config_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/ipConfigurations/{ipConfigName}'} # type: ignore + + def list( + self, + resource_group_name: str, + virtual_hub_name: str, + **kwargs + ) -> AsyncIterable["_models.ListVirtualHubIpConfigurationResults"]: + """Retrieves the details of all VirtualHubIpConfigurations. + + :param resource_group_name: The resource group name of the VirtualHub. + :type resource_group_name: str + :param virtual_hub_name: The name of the VirtualHub. + :type virtual_hub_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ListVirtualHubIpConfigurationResults or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.ListVirtualHubIpConfigurationResults] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ListVirtualHubIpConfigurationResults"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualHubName': self._serialize.url("virtual_hub_name", virtual_hub_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('ListVirtualHubIpConfigurationResults', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/ipConfigurations'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_virtual_hub_route_table_v2_s_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_virtual_hub_route_table_v2_s_operations.py new file mode 100644 index 000000000000..756c45ddc4dd --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_virtual_hub_route_table_v2_s_operations.py @@ -0,0 +1,435 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class VirtualHubRouteTableV2SOperations: + """VirtualHubRouteTableV2SOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def get( + self, + resource_group_name: str, + virtual_hub_name: str, + route_table_name: str, + **kwargs + ) -> "_models.VirtualHubRouteTableV2": + """Retrieves the details of a VirtualHubRouteTableV2. + + :param resource_group_name: The resource group name of the VirtualHubRouteTableV2. + :type resource_group_name: str + :param virtual_hub_name: The name of the VirtualHub. + :type virtual_hub_name: str + :param route_table_name: The name of the VirtualHubRouteTableV2. + :type route_table_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: VirtualHubRouteTableV2, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.VirtualHubRouteTableV2 + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualHubRouteTableV2"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualHubName': self._serialize.url("virtual_hub_name", virtual_hub_name, 'str'), + 'routeTableName': self._serialize.url("route_table_name", route_table_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.Error, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('VirtualHubRouteTableV2', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routeTables/{routeTableName}'} # type: ignore + + async def _create_or_update_initial( + self, + resource_group_name: str, + virtual_hub_name: str, + route_table_name: str, + virtual_hub_route_table_v2_parameters: "_models.VirtualHubRouteTableV2", + **kwargs + ) -> "_models.VirtualHubRouteTableV2": + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualHubRouteTableV2"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualHubName': self._serialize.url("virtual_hub_name", virtual_hub_name, 'str'), + 'routeTableName': self._serialize.url("route_table_name", route_table_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(virtual_hub_route_table_v2_parameters, 'VirtualHubRouteTableV2') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.Error, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('VirtualHubRouteTableV2', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('VirtualHubRouteTableV2', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routeTables/{routeTableName}'} # type: ignore + + async def begin_create_or_update( + self, + resource_group_name: str, + virtual_hub_name: str, + route_table_name: str, + virtual_hub_route_table_v2_parameters: "_models.VirtualHubRouteTableV2", + **kwargs + ) -> AsyncLROPoller["_models.VirtualHubRouteTableV2"]: + """Creates a VirtualHubRouteTableV2 resource if it doesn't exist else updates the existing + VirtualHubRouteTableV2. + + :param resource_group_name: The resource group name of the VirtualHub. + :type resource_group_name: str + :param virtual_hub_name: The name of the VirtualHub. + :type virtual_hub_name: str + :param route_table_name: The name of the VirtualHubRouteTableV2. + :type route_table_name: str + :param virtual_hub_route_table_v2_parameters: Parameters supplied to create or update + VirtualHubRouteTableV2. + :type virtual_hub_route_table_v2_parameters: ~azure.mgmt.network.v2021_02_01.models.VirtualHubRouteTableV2 + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either VirtualHubRouteTableV2 or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.VirtualHubRouteTableV2] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualHubRouteTableV2"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + resource_group_name=resource_group_name, + virtual_hub_name=virtual_hub_name, + route_table_name=route_table_name, + virtual_hub_route_table_v2_parameters=virtual_hub_route_table_v2_parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('VirtualHubRouteTableV2', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualHubName': self._serialize.url("virtual_hub_name", virtual_hub_name, 'str'), + 'routeTableName': self._serialize.url("route_table_name", route_table_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routeTables/{routeTableName}'} # type: ignore + + async def _delete_initial( + self, + resource_group_name: str, + virtual_hub_name: str, + route_table_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualHubName': self._serialize.url("virtual_hub_name", virtual_hub_name, 'str'), + 'routeTableName': self._serialize.url("route_table_name", route_table_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.Error, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routeTables/{routeTableName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + virtual_hub_name: str, + route_table_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes a VirtualHubRouteTableV2. + + :param resource_group_name: The resource group name of the VirtualHubRouteTableV2. + :type resource_group_name: str + :param virtual_hub_name: The name of the VirtualHub. + :type virtual_hub_name: str + :param route_table_name: The name of the VirtualHubRouteTableV2. + :type route_table_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + virtual_hub_name=virtual_hub_name, + route_table_name=route_table_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualHubName': self._serialize.url("virtual_hub_name", virtual_hub_name, 'str'), + 'routeTableName': self._serialize.url("route_table_name", route_table_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routeTables/{routeTableName}'} # type: ignore + + def list( + self, + resource_group_name: str, + virtual_hub_name: str, + **kwargs + ) -> AsyncIterable["_models.ListVirtualHubRouteTableV2SResult"]: + """Retrieves the details of all VirtualHubRouteTableV2s. + + :param resource_group_name: The resource group name of the VirtualHub. + :type resource_group_name: str + :param virtual_hub_name: The name of the VirtualHub. + :type virtual_hub_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ListVirtualHubRouteTableV2SResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.ListVirtualHubRouteTableV2SResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ListVirtualHubRouteTableV2SResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualHubName': self._serialize.url("virtual_hub_name", virtual_hub_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('ListVirtualHubRouteTableV2SResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routeTables'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_virtual_hubs_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_virtual_hubs_operations.py new file mode 100644 index 000000000000..c99994e92735 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_virtual_hubs_operations.py @@ -0,0 +1,662 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class VirtualHubsOperations: + """VirtualHubsOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def get( + self, + resource_group_name: str, + virtual_hub_name: str, + **kwargs + ) -> "_models.VirtualHub": + """Retrieves the details of a VirtualHub. + + :param resource_group_name: The resource group name of the VirtualHub. + :type resource_group_name: str + :param virtual_hub_name: The name of the VirtualHub. + :type virtual_hub_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: VirtualHub, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.VirtualHub + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualHub"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualHubName': self._serialize.url("virtual_hub_name", virtual_hub_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('VirtualHub', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}'} # type: ignore + + async def _create_or_update_initial( + self, + resource_group_name: str, + virtual_hub_name: str, + virtual_hub_parameters: "_models.VirtualHub", + **kwargs + ) -> "_models.VirtualHub": + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualHub"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualHubName': self._serialize.url("virtual_hub_name", virtual_hub_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(virtual_hub_parameters, 'VirtualHub') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('VirtualHub', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('VirtualHub', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}'} # type: ignore + + async def begin_create_or_update( + self, + resource_group_name: str, + virtual_hub_name: str, + virtual_hub_parameters: "_models.VirtualHub", + **kwargs + ) -> AsyncLROPoller["_models.VirtualHub"]: + """Creates a VirtualHub resource if it doesn't exist else updates the existing VirtualHub. + + :param resource_group_name: The resource group name of the VirtualHub. + :type resource_group_name: str + :param virtual_hub_name: The name of the VirtualHub. + :type virtual_hub_name: str + :param virtual_hub_parameters: Parameters supplied to create or update VirtualHub. + :type virtual_hub_parameters: ~azure.mgmt.network.v2021_02_01.models.VirtualHub + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either VirtualHub or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.VirtualHub] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualHub"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + resource_group_name=resource_group_name, + virtual_hub_name=virtual_hub_name, + virtual_hub_parameters=virtual_hub_parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('VirtualHub', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualHubName': self._serialize.url("virtual_hub_name", virtual_hub_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}'} # type: ignore + + async def update_tags( + self, + resource_group_name: str, + virtual_hub_name: str, + virtual_hub_parameters: "_models.TagsObject", + **kwargs + ) -> "_models.VirtualHub": + """Updates VirtualHub tags. + + :param resource_group_name: The resource group name of the VirtualHub. + :type resource_group_name: str + :param virtual_hub_name: The name of the VirtualHub. + :type virtual_hub_name: str + :param virtual_hub_parameters: Parameters supplied to update VirtualHub tags. + :type virtual_hub_parameters: ~azure.mgmt.network.v2021_02_01.models.TagsObject + :keyword callable cls: A custom type or function that will be passed the direct response + :return: VirtualHub, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.VirtualHub + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualHub"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update_tags.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualHubName': self._serialize.url("virtual_hub_name", virtual_hub_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(virtual_hub_parameters, 'TagsObject') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('VirtualHub', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}'} # type: ignore + + async def _delete_initial( + self, + resource_group_name: str, + virtual_hub_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualHubName': self._serialize.url("virtual_hub_name", virtual_hub_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + virtual_hub_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes a VirtualHub. + + :param resource_group_name: The resource group name of the VirtualHub. + :type resource_group_name: str + :param virtual_hub_name: The name of the VirtualHub. + :type virtual_hub_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + virtual_hub_name=virtual_hub_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualHubName': self._serialize.url("virtual_hub_name", virtual_hub_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}'} # type: ignore + + def list_by_resource_group( + self, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["_models.ListVirtualHubsResult"]: + """Lists all the VirtualHubs in a resource group. + + :param resource_group_name: The resource group name of the VirtualHub. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ListVirtualHubsResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.ListVirtualHubsResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ListVirtualHubsResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_resource_group.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('ListVirtualHubsResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs'} # type: ignore + + def list( + self, + **kwargs + ) -> AsyncIterable["_models.ListVirtualHubsResult"]: + """Lists all the VirtualHubs in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ListVirtualHubsResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.ListVirtualHubsResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ListVirtualHubsResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('ListVirtualHubsResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualHubs'} # type: ignore + + async def _get_effective_virtual_hub_routes_initial( + self, + resource_group_name: str, + virtual_hub_name: str, + effective_routes_parameters: Optional["_models.EffectiveRoutesParameters"] = None, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._get_effective_virtual_hub_routes_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualHubName': self._serialize.url("virtual_hub_name", virtual_hub_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + if effective_routes_parameters is not None: + body_content = self._serialize.body(effective_routes_parameters, 'EffectiveRoutesParameters') + else: + body_content = None + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _get_effective_virtual_hub_routes_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/effectiveRoutes'} # type: ignore + + async def begin_get_effective_virtual_hub_routes( + self, + resource_group_name: str, + virtual_hub_name: str, + effective_routes_parameters: Optional["_models.EffectiveRoutesParameters"] = None, + **kwargs + ) -> AsyncLROPoller[None]: + """Gets the effective routes configured for the Virtual Hub resource or the specified resource . + + :param resource_group_name: The resource group name of the VirtualHub. + :type resource_group_name: str + :param virtual_hub_name: The name of the VirtualHub. + :type virtual_hub_name: str + :param effective_routes_parameters: Parameters supplied to get the effective routes for a + specific resource. + :type effective_routes_parameters: ~azure.mgmt.network.v2021_02_01.models.EffectiveRoutesParameters + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._get_effective_virtual_hub_routes_initial( + resource_group_name=resource_group_name, + virtual_hub_name=virtual_hub_name, + effective_routes_parameters=effective_routes_parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualHubName': self._serialize.url("virtual_hub_name", virtual_hub_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_get_effective_virtual_hub_routes.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/effectiveRoutes'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_virtual_network_gateway_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_virtual_network_gateway_connections_operations.py new file mode 100644 index 000000000000..79d240402259 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_virtual_network_gateway_connections_operations.py @@ -0,0 +1,1351 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class VirtualNetworkGatewayConnectionsOperations: + """VirtualNetworkGatewayConnectionsOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def _create_or_update_initial( + self, + resource_group_name: str, + virtual_network_gateway_connection_name: str, + parameters: "_models.VirtualNetworkGatewayConnection", + **kwargs + ) -> "_models.VirtualNetworkGatewayConnection": + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualNetworkGatewayConnection"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayConnectionName': self._serialize.url("virtual_network_gateway_connection_name", virtual_network_gateway_connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'VirtualNetworkGatewayConnection') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('VirtualNetworkGatewayConnection', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('VirtualNetworkGatewayConnection', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}'} # type: ignore + + async def begin_create_or_update( + self, + resource_group_name: str, + virtual_network_gateway_connection_name: str, + parameters: "_models.VirtualNetworkGatewayConnection", + **kwargs + ) -> AsyncLROPoller["_models.VirtualNetworkGatewayConnection"]: + """Creates or updates a virtual network gateway connection in the specified resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_gateway_connection_name: The name of the virtual network gateway + connection. + :type virtual_network_gateway_connection_name: str + :param parameters: Parameters supplied to the create or update virtual network gateway + connection operation. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.VirtualNetworkGatewayConnection + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.VirtualNetworkGatewayConnection] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualNetworkGatewayConnection"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + resource_group_name=resource_group_name, + virtual_network_gateway_connection_name=virtual_network_gateway_connection_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('VirtualNetworkGatewayConnection', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayConnectionName': self._serialize.url("virtual_network_gateway_connection_name", virtual_network_gateway_connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}'} # type: ignore + + async def get( + self, + resource_group_name: str, + virtual_network_gateway_connection_name: str, + **kwargs + ) -> "_models.VirtualNetworkGatewayConnection": + """Gets the specified virtual network gateway connection by resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_gateway_connection_name: The name of the virtual network gateway + connection. + :type virtual_network_gateway_connection_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: VirtualNetworkGatewayConnection, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.VirtualNetworkGatewayConnection + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualNetworkGatewayConnection"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayConnectionName': self._serialize.url("virtual_network_gateway_connection_name", virtual_network_gateway_connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('VirtualNetworkGatewayConnection', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}'} # type: ignore + + async def _delete_initial( + self, + resource_group_name: str, + virtual_network_gateway_connection_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayConnectionName': self._serialize.url("virtual_network_gateway_connection_name", virtual_network_gateway_connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + virtual_network_gateway_connection_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the specified virtual network Gateway connection. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_gateway_connection_name: The name of the virtual network gateway + connection. + :type virtual_network_gateway_connection_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + virtual_network_gateway_connection_name=virtual_network_gateway_connection_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayConnectionName': self._serialize.url("virtual_network_gateway_connection_name", virtual_network_gateway_connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}'} # type: ignore + + async def _update_tags_initial( + self, + resource_group_name: str, + virtual_network_gateway_connection_name: str, + parameters: "_models.TagsObject", + **kwargs + ) -> Optional["_models.VirtualNetworkGatewayConnection"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.VirtualNetworkGatewayConnection"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._update_tags_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayConnectionName': self._serialize.url("virtual_network_gateway_connection_name", virtual_network_gateway_connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'TagsObject') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('VirtualNetworkGatewayConnection', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _update_tags_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}'} # type: ignore + + async def begin_update_tags( + self, + resource_group_name: str, + virtual_network_gateway_connection_name: str, + parameters: "_models.TagsObject", + **kwargs + ) -> AsyncLROPoller["_models.VirtualNetworkGatewayConnection"]: + """Updates a virtual network gateway connection tags. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_gateway_connection_name: The name of the virtual network gateway + connection. + :type virtual_network_gateway_connection_name: str + :param parameters: Parameters supplied to update virtual network gateway connection tags. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.TagsObject + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.VirtualNetworkGatewayConnection] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualNetworkGatewayConnection"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._update_tags_initial( + resource_group_name=resource_group_name, + virtual_network_gateway_connection_name=virtual_network_gateway_connection_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('VirtualNetworkGatewayConnection', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayConnectionName': self._serialize.url("virtual_network_gateway_connection_name", virtual_network_gateway_connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}'} # type: ignore + + async def _set_shared_key_initial( + self, + resource_group_name: str, + virtual_network_gateway_connection_name: str, + parameters: "_models.ConnectionSharedKey", + **kwargs + ) -> "_models.ConnectionSharedKey": + cls = kwargs.pop('cls', None) # type: ClsType["_models.ConnectionSharedKey"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._set_shared_key_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayConnectionName': self._serialize.url("virtual_network_gateway_connection_name", virtual_network_gateway_connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'ConnectionSharedKey') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('ConnectionSharedKey', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('ConnectionSharedKey', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _set_shared_key_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/sharedkey'} # type: ignore + + async def begin_set_shared_key( + self, + resource_group_name: str, + virtual_network_gateway_connection_name: str, + parameters: "_models.ConnectionSharedKey", + **kwargs + ) -> AsyncLROPoller["_models.ConnectionSharedKey"]: + """The Put VirtualNetworkGatewayConnectionSharedKey operation sets the virtual network gateway + connection shared key for passed virtual network gateway connection in the specified resource + group through Network resource provider. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_gateway_connection_name: The virtual network gateway connection name. + :type virtual_network_gateway_connection_name: str + :param parameters: Parameters supplied to the Begin Set Virtual Network Gateway connection + Shared key operation throughNetwork resource provider. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.ConnectionSharedKey + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either ConnectionSharedKey or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.ConnectionSharedKey] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.ConnectionSharedKey"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._set_shared_key_initial( + resource_group_name=resource_group_name, + virtual_network_gateway_connection_name=virtual_network_gateway_connection_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('ConnectionSharedKey', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayConnectionName': self._serialize.url("virtual_network_gateway_connection_name", virtual_network_gateway_connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_set_shared_key.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/sharedkey'} # type: ignore + + async def get_shared_key( + self, + resource_group_name: str, + virtual_network_gateway_connection_name: str, + **kwargs + ) -> "_models.ConnectionSharedKey": + """The Get VirtualNetworkGatewayConnectionSharedKey operation retrieves information about the + specified virtual network gateway connection shared key through Network resource provider. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_gateway_connection_name: The virtual network gateway connection shared + key name. + :type virtual_network_gateway_connection_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ConnectionSharedKey, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.ConnectionSharedKey + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ConnectionSharedKey"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get_shared_key.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayConnectionName': self._serialize.url("virtual_network_gateway_connection_name", virtual_network_gateway_connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ConnectionSharedKey', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_shared_key.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/sharedkey'} # type: ignore + + def list( + self, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["_models.VirtualNetworkGatewayConnectionListResult"]: + """The List VirtualNetworkGatewayConnections operation retrieves all the virtual network gateways + connections created. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either VirtualNetworkGatewayConnectionListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.VirtualNetworkGatewayConnectionListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualNetworkGatewayConnectionListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('VirtualNetworkGatewayConnectionListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections'} # type: ignore + + async def _reset_shared_key_initial( + self, + resource_group_name: str, + virtual_network_gateway_connection_name: str, + parameters: "_models.ConnectionResetSharedKey", + **kwargs + ) -> Optional["_models.ConnectionResetSharedKey"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.ConnectionResetSharedKey"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._reset_shared_key_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayConnectionName': self._serialize.url("virtual_network_gateway_connection_name", virtual_network_gateway_connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'ConnectionResetSharedKey') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('ConnectionResetSharedKey', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _reset_shared_key_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/sharedkey/reset'} # type: ignore + + async def begin_reset_shared_key( + self, + resource_group_name: str, + virtual_network_gateway_connection_name: str, + parameters: "_models.ConnectionResetSharedKey", + **kwargs + ) -> AsyncLROPoller["_models.ConnectionResetSharedKey"]: + """The VirtualNetworkGatewayConnectionResetSharedKey operation resets the virtual network gateway + connection shared key for passed virtual network gateway connection in the specified resource + group through Network resource provider. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_gateway_connection_name: The virtual network gateway connection reset + shared key Name. + :type virtual_network_gateway_connection_name: str + :param parameters: Parameters supplied to the begin reset virtual network gateway connection + shared key operation through network resource provider. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.ConnectionResetSharedKey + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either ConnectionResetSharedKey or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.ConnectionResetSharedKey] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.ConnectionResetSharedKey"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._reset_shared_key_initial( + resource_group_name=resource_group_name, + virtual_network_gateway_connection_name=virtual_network_gateway_connection_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('ConnectionResetSharedKey', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayConnectionName': self._serialize.url("virtual_network_gateway_connection_name", virtual_network_gateway_connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_reset_shared_key.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/sharedkey/reset'} # type: ignore + + async def _start_packet_capture_initial( + self, + resource_group_name: str, + virtual_network_gateway_connection_name: str, + parameters: Optional["_models.VpnPacketCaptureStartParameters"] = None, + **kwargs + ) -> Optional[str]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional[str]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._start_packet_capture_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayConnectionName': self._serialize.url("virtual_network_gateway_connection_name", virtual_network_gateway_connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + if parameters is not None: + body_content = self._serialize.body(parameters, 'VpnPacketCaptureStartParameters') + else: + body_content = None + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.Error, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('str', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _start_packet_capture_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/startPacketCapture'} # type: ignore + + async def begin_start_packet_capture( + self, + resource_group_name: str, + virtual_network_gateway_connection_name: str, + parameters: Optional["_models.VpnPacketCaptureStartParameters"] = None, + **kwargs + ) -> AsyncLROPoller[str]: + """Starts packet capture on virtual network gateway connection in the specified resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_gateway_connection_name: The name of the virtual network gateway + connection. + :type virtual_network_gateway_connection_name: str + :param parameters: Virtual network gateway packet capture parameters supplied to start packet + capture on gateway connection. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.VpnPacketCaptureStartParameters + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[str] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[str] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._start_packet_capture_initial( + resource_group_name=resource_group_name, + virtual_network_gateway_connection_name=virtual_network_gateway_connection_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('str', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayConnectionName': self._serialize.url("virtual_network_gateway_connection_name", virtual_network_gateway_connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_start_packet_capture.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/startPacketCapture'} # type: ignore + + async def _stop_packet_capture_initial( + self, + resource_group_name: str, + virtual_network_gateway_connection_name: str, + parameters: "_models.VpnPacketCaptureStopParameters", + **kwargs + ) -> Optional[str]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional[str]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._stop_packet_capture_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayConnectionName': self._serialize.url("virtual_network_gateway_connection_name", virtual_network_gateway_connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'VpnPacketCaptureStopParameters') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.Error, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('str', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _stop_packet_capture_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/stopPacketCapture'} # type: ignore + + async def begin_stop_packet_capture( + self, + resource_group_name: str, + virtual_network_gateway_connection_name: str, + parameters: "_models.VpnPacketCaptureStopParameters", + **kwargs + ) -> AsyncLROPoller[str]: + """Stops packet capture on virtual network gateway connection in the specified resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_gateway_connection_name: The name of the virtual network gateway + Connection. + :type virtual_network_gateway_connection_name: str + :param parameters: Virtual network gateway packet capture parameters supplied to stop packet + capture on gateway connection. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.VpnPacketCaptureStopParameters + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[str] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[str] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._stop_packet_capture_initial( + resource_group_name=resource_group_name, + virtual_network_gateway_connection_name=virtual_network_gateway_connection_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('str', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayConnectionName': self._serialize.url("virtual_network_gateway_connection_name", virtual_network_gateway_connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_stop_packet_capture.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/stopPacketCapture'} # type: ignore + + async def _get_ike_sas_initial( + self, + resource_group_name: str, + virtual_network_gateway_connection_name: str, + **kwargs + ) -> Optional[str]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional[str]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._get_ike_sas_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayConnectionName': self._serialize.url("virtual_network_gateway_connection_name", virtual_network_gateway_connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('str', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _get_ike_sas_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/getikesas'} # type: ignore + + async def begin_get_ike_sas( + self, + resource_group_name: str, + virtual_network_gateway_connection_name: str, + **kwargs + ) -> AsyncLROPoller[str]: + """Lists IKE Security Associations for the virtual network gateway connection in the specified + resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_gateway_connection_name: The name of the virtual network gateway + Connection. + :type virtual_network_gateway_connection_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[str] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[str] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._get_ike_sas_initial( + resource_group_name=resource_group_name, + virtual_network_gateway_connection_name=virtual_network_gateway_connection_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('str', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayConnectionName': self._serialize.url("virtual_network_gateway_connection_name", virtual_network_gateway_connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_get_ike_sas.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/getikesas'} # type: ignore + + async def _reset_connection_initial( + self, + resource_group_name: str, + virtual_network_gateway_connection_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._reset_connection_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayConnectionName': self._serialize.url("virtual_network_gateway_connection_name", virtual_network_gateway_connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _reset_connection_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/resetconnection'} # type: ignore + + async def begin_reset_connection( + self, + resource_group_name: str, + virtual_network_gateway_connection_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Resets the virtual network gateway connection specified. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_gateway_connection_name: The name of the virtual network gateway + Connection. + :type virtual_network_gateway_connection_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._reset_connection_initial( + resource_group_name=resource_group_name, + virtual_network_gateway_connection_name=virtual_network_gateway_connection_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayConnectionName': self._serialize.url("virtual_network_gateway_connection_name", virtual_network_gateway_connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_reset_connection.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/resetconnection'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_virtual_network_gateway_nat_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_virtual_network_gateway_nat_rules_operations.py new file mode 100644 index 000000000000..ea6a4bde58df --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_virtual_network_gateway_nat_rules_operations.py @@ -0,0 +1,431 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class VirtualNetworkGatewayNatRulesOperations: + """VirtualNetworkGatewayNatRulesOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def get( + self, + resource_group_name: str, + virtual_network_gateway_name: str, + nat_rule_name: str, + **kwargs + ) -> "_models.VirtualNetworkGatewayNatRule": + """Retrieves the details of a nat rule. + + :param resource_group_name: The resource group name of the Virtual Network Gateway. + :type resource_group_name: str + :param virtual_network_gateway_name: The name of the gateway. + :type virtual_network_gateway_name: str + :param nat_rule_name: The name of the nat rule. + :type nat_rule_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: VirtualNetworkGatewayNatRule, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.VirtualNetworkGatewayNatRule + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualNetworkGatewayNatRule"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'natRuleName': self._serialize.url("nat_rule_name", nat_rule_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('VirtualNetworkGatewayNatRule', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/natRules/{natRuleName}'} # type: ignore + + async def _create_or_update_initial( + self, + resource_group_name: str, + virtual_network_gateway_name: str, + nat_rule_name: str, + nat_rule_parameters: "_models.VirtualNetworkGatewayNatRule", + **kwargs + ) -> "_models.VirtualNetworkGatewayNatRule": + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualNetworkGatewayNatRule"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'natRuleName': self._serialize.url("nat_rule_name", nat_rule_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(nat_rule_parameters, 'VirtualNetworkGatewayNatRule') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('VirtualNetworkGatewayNatRule', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('VirtualNetworkGatewayNatRule', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/natRules/{natRuleName}'} # type: ignore + + async def begin_create_or_update( + self, + resource_group_name: str, + virtual_network_gateway_name: str, + nat_rule_name: str, + nat_rule_parameters: "_models.VirtualNetworkGatewayNatRule", + **kwargs + ) -> AsyncLROPoller["_models.VirtualNetworkGatewayNatRule"]: + """Creates a nat rule to a scalable virtual network gateway if it doesn't exist else updates the + existing nat rules. + + :param resource_group_name: The resource group name of the Virtual Network Gateway. + :type resource_group_name: str + :param virtual_network_gateway_name: The name of the gateway. + :type virtual_network_gateway_name: str + :param nat_rule_name: The name of the nat rule. + :type nat_rule_name: str + :param nat_rule_parameters: Parameters supplied to create or Update a Nat Rule. + :type nat_rule_parameters: ~azure.mgmt.network.v2021_02_01.models.VirtualNetworkGatewayNatRule + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either VirtualNetworkGatewayNatRule or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.VirtualNetworkGatewayNatRule] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualNetworkGatewayNatRule"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + resource_group_name=resource_group_name, + virtual_network_gateway_name=virtual_network_gateway_name, + nat_rule_name=nat_rule_name, + nat_rule_parameters=nat_rule_parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('VirtualNetworkGatewayNatRule', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'natRuleName': self._serialize.url("nat_rule_name", nat_rule_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/natRules/{natRuleName}'} # type: ignore + + async def _delete_initial( + self, + resource_group_name: str, + virtual_network_gateway_name: str, + nat_rule_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'natRuleName': self._serialize.url("nat_rule_name", nat_rule_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/natRules/{natRuleName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + virtual_network_gateway_name: str, + nat_rule_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes a nat rule. + + :param resource_group_name: The resource group name of the Virtual Network Gateway. + :type resource_group_name: str + :param virtual_network_gateway_name: The name of the gateway. + :type virtual_network_gateway_name: str + :param nat_rule_name: The name of the nat rule. + :type nat_rule_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + virtual_network_gateway_name=virtual_network_gateway_name, + nat_rule_name=nat_rule_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'natRuleName': self._serialize.url("nat_rule_name", nat_rule_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/natRules/{natRuleName}'} # type: ignore + + def list_by_virtual_network_gateway( + self, + resource_group_name: str, + virtual_network_gateway_name: str, + **kwargs + ) -> AsyncIterable["_models.ListVirtualNetworkGatewayNatRulesResult"]: + """Retrieves all nat rules for a particular virtual network gateway. + + :param resource_group_name: The resource group name of the virtual network gateway. + :type resource_group_name: str + :param virtual_network_gateway_name: The name of the gateway. + :type virtual_network_gateway_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ListVirtualNetworkGatewayNatRulesResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.ListVirtualNetworkGatewayNatRulesResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ListVirtualNetworkGatewayNatRulesResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_virtual_network_gateway.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('ListVirtualNetworkGatewayNatRulesResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_virtual_network_gateway.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/natRules'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_virtual_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_virtual_network_gateways_operations.py new file mode 100644 index 000000000000..12ca08d1138f --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_virtual_network_gateways_operations.py @@ -0,0 +1,2440 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class VirtualNetworkGatewaysOperations: + """VirtualNetworkGatewaysOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def _create_or_update_initial( + self, + resource_group_name: str, + virtual_network_gateway_name: str, + parameters: "_models.VirtualNetworkGateway", + **kwargs + ) -> "_models.VirtualNetworkGateway": + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualNetworkGateway"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'VirtualNetworkGateway') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('VirtualNetworkGateway', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('VirtualNetworkGateway', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}'} # type: ignore + + async def begin_create_or_update( + self, + resource_group_name: str, + virtual_network_gateway_name: str, + parameters: "_models.VirtualNetworkGateway", + **kwargs + ) -> AsyncLROPoller["_models.VirtualNetworkGateway"]: + """Creates or updates a virtual network gateway in the specified resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_gateway_name: The name of the virtual network gateway. + :type virtual_network_gateway_name: str + :param parameters: Parameters supplied to create or update virtual network gateway operation. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.VirtualNetworkGateway + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.VirtualNetworkGateway] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualNetworkGateway"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + resource_group_name=resource_group_name, + virtual_network_gateway_name=virtual_network_gateway_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('VirtualNetworkGateway', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}'} # type: ignore + + async def get( + self, + resource_group_name: str, + virtual_network_gateway_name: str, + **kwargs + ) -> "_models.VirtualNetworkGateway": + """Gets the specified virtual network gateway by resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_gateway_name: The name of the virtual network gateway. + :type virtual_network_gateway_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: VirtualNetworkGateway, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.VirtualNetworkGateway + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualNetworkGateway"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('VirtualNetworkGateway', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}'} # type: ignore + + async def _delete_initial( + self, + resource_group_name: str, + virtual_network_gateway_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + virtual_network_gateway_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the specified virtual network gateway. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_gateway_name: The name of the virtual network gateway. + :type virtual_network_gateway_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + virtual_network_gateway_name=virtual_network_gateway_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}'} # type: ignore + + async def _update_tags_initial( + self, + resource_group_name: str, + virtual_network_gateway_name: str, + parameters: "_models.TagsObject", + **kwargs + ) -> Optional["_models.VirtualNetworkGateway"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.VirtualNetworkGateway"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._update_tags_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'TagsObject') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('VirtualNetworkGateway', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _update_tags_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}'} # type: ignore + + async def begin_update_tags( + self, + resource_group_name: str, + virtual_network_gateway_name: str, + parameters: "_models.TagsObject", + **kwargs + ) -> AsyncLROPoller["_models.VirtualNetworkGateway"]: + """Updates a virtual network gateway tags. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_gateway_name: The name of the virtual network gateway. + :type virtual_network_gateway_name: str + :param parameters: Parameters supplied to update virtual network gateway tags. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.TagsObject + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.VirtualNetworkGateway] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualNetworkGateway"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._update_tags_initial( + resource_group_name=resource_group_name, + virtual_network_gateway_name=virtual_network_gateway_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('VirtualNetworkGateway', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}'} # type: ignore + + def list( + self, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["_models.VirtualNetworkGatewayListResult"]: + """Gets all virtual network gateways by resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either VirtualNetworkGatewayListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.VirtualNetworkGatewayListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualNetworkGatewayListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('VirtualNetworkGatewayListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways'} # type: ignore + + def list_connections( + self, + resource_group_name: str, + virtual_network_gateway_name: str, + **kwargs + ) -> AsyncIterable["_models.VirtualNetworkGatewayListConnectionsResult"]: + """Gets all the connections in a virtual network gateway. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_gateway_name: The name of the virtual network gateway. + :type virtual_network_gateway_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either VirtualNetworkGatewayListConnectionsResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.VirtualNetworkGatewayListConnectionsResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualNetworkGatewayListConnectionsResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_connections.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('VirtualNetworkGatewayListConnectionsResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_connections.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/connections'} # type: ignore + + async def _reset_initial( + self, + resource_group_name: str, + virtual_network_gateway_name: str, + gateway_vip: Optional[str] = None, + **kwargs + ) -> Optional["_models.VirtualNetworkGateway"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.VirtualNetworkGateway"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._reset_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + if gateway_vip is not None: + query_parameters['gatewayVip'] = self._serialize.query("gateway_vip", gateway_vip, 'str') + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('VirtualNetworkGateway', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _reset_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/reset'} # type: ignore + + async def begin_reset( + self, + resource_group_name: str, + virtual_network_gateway_name: str, + gateway_vip: Optional[str] = None, + **kwargs + ) -> AsyncLROPoller["_models.VirtualNetworkGateway"]: + """Resets the primary of the virtual network gateway in the specified resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_gateway_name: The name of the virtual network gateway. + :type virtual_network_gateway_name: str + :param gateway_vip: Virtual network gateway vip address supplied to the begin reset of the + active-active feature enabled gateway. + :type gateway_vip: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either VirtualNetworkGateway or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.VirtualNetworkGateway] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualNetworkGateway"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._reset_initial( + resource_group_name=resource_group_name, + virtual_network_gateway_name=virtual_network_gateway_name, + gateway_vip=gateway_vip, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('VirtualNetworkGateway', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_reset.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/reset'} # type: ignore + + async def _reset_vpn_client_shared_key_initial( + self, + resource_group_name: str, + virtual_network_gateway_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._reset_vpn_client_shared_key_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _reset_vpn_client_shared_key_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/resetvpnclientsharedkey'} # type: ignore + + async def begin_reset_vpn_client_shared_key( + self, + resource_group_name: str, + virtual_network_gateway_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Resets the VPN client shared key of the virtual network gateway in the specified resource + group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_gateway_name: The name of the virtual network gateway. + :type virtual_network_gateway_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._reset_vpn_client_shared_key_initial( + resource_group_name=resource_group_name, + virtual_network_gateway_name=virtual_network_gateway_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_reset_vpn_client_shared_key.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/resetvpnclientsharedkey'} # type: ignore + + async def _generatevpnclientpackage_initial( + self, + resource_group_name: str, + virtual_network_gateway_name: str, + parameters: "_models.VpnClientParameters", + **kwargs + ) -> Optional[str]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional[str]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._generatevpnclientpackage_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'VpnClientParameters') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('str', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _generatevpnclientpackage_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/generatevpnclientpackage'} # type: ignore + + async def begin_generatevpnclientpackage( + self, + resource_group_name: str, + virtual_network_gateway_name: str, + parameters: "_models.VpnClientParameters", + **kwargs + ) -> AsyncLROPoller[str]: + """Generates VPN client package for P2S client of the virtual network gateway in the specified + resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_gateway_name: The name of the virtual network gateway. + :type virtual_network_gateway_name: str + :param parameters: Parameters supplied to the generate virtual network gateway VPN client + package operation. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.VpnClientParameters + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[str] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[str] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._generatevpnclientpackage_initial( + resource_group_name=resource_group_name, + virtual_network_gateway_name=virtual_network_gateway_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('str', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_generatevpnclientpackage.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/generatevpnclientpackage'} # type: ignore + + async def _generate_vpn_profile_initial( + self, + resource_group_name: str, + virtual_network_gateway_name: str, + parameters: "_models.VpnClientParameters", + **kwargs + ) -> Optional[str]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional[str]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._generate_vpn_profile_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'VpnClientParameters') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('str', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _generate_vpn_profile_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/generatevpnprofile'} # type: ignore + + async def begin_generate_vpn_profile( + self, + resource_group_name: str, + virtual_network_gateway_name: str, + parameters: "_models.VpnClientParameters", + **kwargs + ) -> AsyncLROPoller[str]: + """Generates VPN profile for P2S client of the virtual network gateway in the specified resource + group. Used for IKEV2 and radius based authentication. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_gateway_name: The name of the virtual network gateway. + :type virtual_network_gateway_name: str + :param parameters: Parameters supplied to the generate virtual network gateway VPN client + package operation. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.VpnClientParameters + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[str] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[str] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._generate_vpn_profile_initial( + resource_group_name=resource_group_name, + virtual_network_gateway_name=virtual_network_gateway_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('str', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_generate_vpn_profile.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/generatevpnprofile'} # type: ignore + + async def _get_vpn_profile_package_url_initial( + self, + resource_group_name: str, + virtual_network_gateway_name: str, + **kwargs + ) -> Optional[str]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional[str]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._get_vpn_profile_package_url_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('str', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _get_vpn_profile_package_url_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getvpnprofilepackageurl'} # type: ignore + + async def begin_get_vpn_profile_package_url( + self, + resource_group_name: str, + virtual_network_gateway_name: str, + **kwargs + ) -> AsyncLROPoller[str]: + """Gets pre-generated VPN profile for P2S client of the virtual network gateway in the specified + resource group. The profile needs to be generated first using generateVpnProfile. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_gateway_name: The name of the virtual network gateway. + :type virtual_network_gateway_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[str] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[str] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._get_vpn_profile_package_url_initial( + resource_group_name=resource_group_name, + virtual_network_gateway_name=virtual_network_gateway_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('str', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_get_vpn_profile_package_url.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getvpnprofilepackageurl'} # type: ignore + + async def _get_bgp_peer_status_initial( + self, + resource_group_name: str, + virtual_network_gateway_name: str, + peer: Optional[str] = None, + **kwargs + ) -> Optional["_models.BgpPeerStatusListResult"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.BgpPeerStatusListResult"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._get_bgp_peer_status_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + if peer is not None: + query_parameters['peer'] = self._serialize.query("peer", peer, 'str') + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('BgpPeerStatusListResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _get_bgp_peer_status_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getBgpPeerStatus'} # type: ignore + + async def begin_get_bgp_peer_status( + self, + resource_group_name: str, + virtual_network_gateway_name: str, + peer: Optional[str] = None, + **kwargs + ) -> AsyncLROPoller["_models.BgpPeerStatusListResult"]: + """The GetBgpPeerStatus operation retrieves the status of all BGP peers. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_gateway_name: The name of the virtual network gateway. + :type virtual_network_gateway_name: str + :param peer: The IP address of the peer to retrieve the status of. + :type peer: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either BgpPeerStatusListResult or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.BgpPeerStatusListResult] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.BgpPeerStatusListResult"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._get_bgp_peer_status_initial( + resource_group_name=resource_group_name, + virtual_network_gateway_name=virtual_network_gateway_name, + peer=peer, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('BgpPeerStatusListResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_get_bgp_peer_status.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getBgpPeerStatus'} # type: ignore + + async def supported_vpn_devices( + self, + resource_group_name: str, + virtual_network_gateway_name: str, + **kwargs + ) -> str: + """Gets a xml format representation for supported vpn devices. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_gateway_name: The name of the virtual network gateway. + :type virtual_network_gateway_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: str, or the result of cls(response) + :rtype: str + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType[str] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.supported_vpn_devices.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('str', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + supported_vpn_devices.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/supportedvpndevices'} # type: ignore + + async def _get_learned_routes_initial( + self, + resource_group_name: str, + virtual_network_gateway_name: str, + **kwargs + ) -> Optional["_models.GatewayRouteListResult"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.GatewayRouteListResult"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._get_learned_routes_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('GatewayRouteListResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _get_learned_routes_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getLearnedRoutes'} # type: ignore + + async def begin_get_learned_routes( + self, + resource_group_name: str, + virtual_network_gateway_name: str, + **kwargs + ) -> AsyncLROPoller["_models.GatewayRouteListResult"]: + """This operation retrieves a list of routes the virtual network gateway has learned, including + routes learned from BGP peers. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_gateway_name: The name of the virtual network gateway. + :type virtual_network_gateway_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either GatewayRouteListResult or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.GatewayRouteListResult] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.GatewayRouteListResult"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._get_learned_routes_initial( + resource_group_name=resource_group_name, + virtual_network_gateway_name=virtual_network_gateway_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('GatewayRouteListResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_get_learned_routes.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getLearnedRoutes'} # type: ignore + + async def _get_advertised_routes_initial( + self, + resource_group_name: str, + virtual_network_gateway_name: str, + peer: str, + **kwargs + ) -> Optional["_models.GatewayRouteListResult"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.GatewayRouteListResult"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._get_advertised_routes_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['peer'] = self._serialize.query("peer", peer, 'str') + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('GatewayRouteListResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _get_advertised_routes_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getAdvertisedRoutes'} # type: ignore + + async def begin_get_advertised_routes( + self, + resource_group_name: str, + virtual_network_gateway_name: str, + peer: str, + **kwargs + ) -> AsyncLROPoller["_models.GatewayRouteListResult"]: + """This operation retrieves a list of routes the virtual network gateway is advertising to the + specified peer. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_gateway_name: The name of the virtual network gateway. + :type virtual_network_gateway_name: str + :param peer: The IP address of the peer. + :type peer: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either GatewayRouteListResult or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.GatewayRouteListResult] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.GatewayRouteListResult"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._get_advertised_routes_initial( + resource_group_name=resource_group_name, + virtual_network_gateway_name=virtual_network_gateway_name, + peer=peer, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('GatewayRouteListResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_get_advertised_routes.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getAdvertisedRoutes'} # type: ignore + + async def _set_vpnclient_ipsec_parameters_initial( + self, + resource_group_name: str, + virtual_network_gateway_name: str, + vpnclient_ipsec_params: "_models.VpnClientIPsecParameters", + **kwargs + ) -> Optional["_models.VpnClientIPsecParameters"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.VpnClientIPsecParameters"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._set_vpnclient_ipsec_parameters_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(vpnclient_ipsec_params, 'VpnClientIPsecParameters') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('VpnClientIPsecParameters', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _set_vpnclient_ipsec_parameters_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/setvpnclientipsecparameters'} # type: ignore + + async def begin_set_vpnclient_ipsec_parameters( + self, + resource_group_name: str, + virtual_network_gateway_name: str, + vpnclient_ipsec_params: "_models.VpnClientIPsecParameters", + **kwargs + ) -> AsyncLROPoller["_models.VpnClientIPsecParameters"]: + """The Set VpnclientIpsecParameters operation sets the vpnclient ipsec policy for P2S client of + virtual network gateway in the specified resource group through Network resource provider. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_gateway_name: The name of the virtual network gateway. + :type virtual_network_gateway_name: str + :param vpnclient_ipsec_params: Parameters supplied to the Begin Set vpnclient ipsec parameters + of Virtual Network Gateway P2S client operation through Network resource provider. + :type vpnclient_ipsec_params: ~azure.mgmt.network.v2021_02_01.models.VpnClientIPsecParameters + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either VpnClientIPsecParameters or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.VpnClientIPsecParameters] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.VpnClientIPsecParameters"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._set_vpnclient_ipsec_parameters_initial( + resource_group_name=resource_group_name, + virtual_network_gateway_name=virtual_network_gateway_name, + vpnclient_ipsec_params=vpnclient_ipsec_params, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('VpnClientIPsecParameters', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_set_vpnclient_ipsec_parameters.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/setvpnclientipsecparameters'} # type: ignore + + async def _get_vpnclient_ipsec_parameters_initial( + self, + resource_group_name: str, + virtual_network_gateway_name: str, + **kwargs + ) -> "_models.VpnClientIPsecParameters": + cls = kwargs.pop('cls', None) # type: ClsType["_models.VpnClientIPsecParameters"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._get_vpnclient_ipsec_parameters_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('VpnClientIPsecParameters', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _get_vpnclient_ipsec_parameters_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getvpnclientipsecparameters'} # type: ignore + + async def begin_get_vpnclient_ipsec_parameters( + self, + resource_group_name: str, + virtual_network_gateway_name: str, + **kwargs + ) -> AsyncLROPoller["_models.VpnClientIPsecParameters"]: + """The Get VpnclientIpsecParameters operation retrieves information about the vpnclient ipsec + policy for P2S client of virtual network gateway in the specified resource group through + Network resource provider. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_gateway_name: The virtual network gateway name. + :type virtual_network_gateway_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either VpnClientIPsecParameters or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.VpnClientIPsecParameters] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.VpnClientIPsecParameters"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._get_vpnclient_ipsec_parameters_initial( + resource_group_name=resource_group_name, + virtual_network_gateway_name=virtual_network_gateway_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('VpnClientIPsecParameters', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_get_vpnclient_ipsec_parameters.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getvpnclientipsecparameters'} # type: ignore + + async def vpn_device_configuration_script( + self, + resource_group_name: str, + virtual_network_gateway_connection_name: str, + parameters: "_models.VpnDeviceScriptParameters", + **kwargs + ) -> str: + """Gets a xml format representation for vpn device configuration script. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_gateway_connection_name: The name of the virtual network gateway + connection for which the configuration script is generated. + :type virtual_network_gateway_connection_name: str + :param parameters: Parameters supplied to the generate vpn device script operation. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.VpnDeviceScriptParameters + :keyword callable cls: A custom type or function that will be passed the direct response + :return: str, or the result of cls(response) + :rtype: str + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType[str] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.vpn_device_configuration_script.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayConnectionName': self._serialize.url("virtual_network_gateway_connection_name", virtual_network_gateway_connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'VpnDeviceScriptParameters') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('str', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + vpn_device_configuration_script.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/vpndeviceconfigurationscript'} # type: ignore + + async def _start_packet_capture_initial( + self, + resource_group_name: str, + virtual_network_gateway_name: str, + parameters: Optional["_models.VpnPacketCaptureStartParameters"] = None, + **kwargs + ) -> Optional[str]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional[str]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._start_packet_capture_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + if parameters is not None: + body_content = self._serialize.body(parameters, 'VpnPacketCaptureStartParameters') + else: + body_content = None + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.Error, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('str', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _start_packet_capture_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/startPacketCapture'} # type: ignore + + async def begin_start_packet_capture( + self, + resource_group_name: str, + virtual_network_gateway_name: str, + parameters: Optional["_models.VpnPacketCaptureStartParameters"] = None, + **kwargs + ) -> AsyncLROPoller[str]: + """Starts packet capture on virtual network gateway in the specified resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_gateway_name: The name of the virtual network gateway. + :type virtual_network_gateway_name: str + :param parameters: Virtual network gateway packet capture parameters supplied to start packet + capture on gateway. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.VpnPacketCaptureStartParameters + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[str] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[str] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._start_packet_capture_initial( + resource_group_name=resource_group_name, + virtual_network_gateway_name=virtual_network_gateway_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('str', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_start_packet_capture.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/startPacketCapture'} # type: ignore + + async def _stop_packet_capture_initial( + self, + resource_group_name: str, + virtual_network_gateway_name: str, + parameters: "_models.VpnPacketCaptureStopParameters", + **kwargs + ) -> Optional[str]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional[str]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._stop_packet_capture_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'VpnPacketCaptureStopParameters') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.Error, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('str', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _stop_packet_capture_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/stopPacketCapture'} # type: ignore + + async def begin_stop_packet_capture( + self, + resource_group_name: str, + virtual_network_gateway_name: str, + parameters: "_models.VpnPacketCaptureStopParameters", + **kwargs + ) -> AsyncLROPoller[str]: + """Stops packet capture on virtual network gateway in the specified resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_gateway_name: The name of the virtual network gateway. + :type virtual_network_gateway_name: str + :param parameters: Virtual network gateway packet capture parameters supplied to stop packet + capture on gateway. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.VpnPacketCaptureStopParameters + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[str] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[str] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._stop_packet_capture_initial( + resource_group_name=resource_group_name, + virtual_network_gateway_name=virtual_network_gateway_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('str', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_stop_packet_capture.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/stopPacketCapture'} # type: ignore + + async def _get_vpnclient_connection_health_initial( + self, + resource_group_name: str, + virtual_network_gateway_name: str, + **kwargs + ) -> Optional["_models.VpnClientConnectionHealthDetailListResult"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.VpnClientConnectionHealthDetailListResult"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._get_vpnclient_connection_health_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('VpnClientConnectionHealthDetailListResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _get_vpnclient_connection_health_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getVpnClientConnectionHealth'} # type: ignore + + async def begin_get_vpnclient_connection_health( + self, + resource_group_name: str, + virtual_network_gateway_name: str, + **kwargs + ) -> AsyncLROPoller["_models.VpnClientConnectionHealthDetailListResult"]: + """Get VPN client connection health detail per P2S client connection of the virtual network + gateway in the specified resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_gateway_name: The name of the virtual network gateway. + :type virtual_network_gateway_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either VpnClientConnectionHealthDetailListResult or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.VpnClientConnectionHealthDetailListResult] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.VpnClientConnectionHealthDetailListResult"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._get_vpnclient_connection_health_initial( + resource_group_name=resource_group_name, + virtual_network_gateway_name=virtual_network_gateway_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('VpnClientConnectionHealthDetailListResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_get_vpnclient_connection_health.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getVpnClientConnectionHealth'} # type: ignore + + async def _disconnect_virtual_network_gateway_vpn_connections_initial( + self, + resource_group_name: str, + virtual_network_gateway_name: str, + request: "_models.P2SVpnConnectionRequest", + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._disconnect_virtual_network_gateway_vpn_connections_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(request, 'P2SVpnConnectionRequest') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _disconnect_virtual_network_gateway_vpn_connections_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/disconnectVirtualNetworkGatewayVpnConnections'} # type: ignore + + async def begin_disconnect_virtual_network_gateway_vpn_connections( + self, + resource_group_name: str, + virtual_network_gateway_name: str, + request: "_models.P2SVpnConnectionRequest", + **kwargs + ) -> AsyncLROPoller[None]: + """Disconnect vpn connections of virtual network gateway in the specified resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_gateway_name: The name of the virtual network gateway. + :type virtual_network_gateway_name: str + :param request: The parameters are supplied to disconnect vpn connections. + :type request: ~azure.mgmt.network.v2021_02_01.models.P2SVpnConnectionRequest + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._disconnect_virtual_network_gateway_vpn_connections_initial( + resource_group_name=resource_group_name, + virtual_network_gateway_name=virtual_network_gateway_name, + request=request, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_disconnect_virtual_network_gateway_vpn_connections.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/disconnectVirtualNetworkGatewayVpnConnections'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_virtual_network_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_virtual_network_peerings_operations.py new file mode 100644 index 000000000000..aba7b602f062 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_virtual_network_peerings_operations.py @@ -0,0 +1,439 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class VirtualNetworkPeeringsOperations: + """VirtualNetworkPeeringsOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def _delete_initial( + self, + resource_group_name: str, + virtual_network_name: str, + virtual_network_peering_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkName': self._serialize.url("virtual_network_name", virtual_network_name, 'str'), + 'virtualNetworkPeeringName': self._serialize.url("virtual_network_peering_name", virtual_network_peering_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/virtualNetworkPeerings/{virtualNetworkPeeringName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + virtual_network_name: str, + virtual_network_peering_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the specified virtual network peering. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_name: The name of the virtual network. + :type virtual_network_name: str + :param virtual_network_peering_name: The name of the virtual network peering. + :type virtual_network_peering_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + virtual_network_name=virtual_network_name, + virtual_network_peering_name=virtual_network_peering_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkName': self._serialize.url("virtual_network_name", virtual_network_name, 'str'), + 'virtualNetworkPeeringName': self._serialize.url("virtual_network_peering_name", virtual_network_peering_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/virtualNetworkPeerings/{virtualNetworkPeeringName}'} # type: ignore + + async def get( + self, + resource_group_name: str, + virtual_network_name: str, + virtual_network_peering_name: str, + **kwargs + ) -> "_models.VirtualNetworkPeering": + """Gets the specified virtual network peering. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_name: The name of the virtual network. + :type virtual_network_name: str + :param virtual_network_peering_name: The name of the virtual network peering. + :type virtual_network_peering_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: VirtualNetworkPeering, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.VirtualNetworkPeering + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualNetworkPeering"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkName': self._serialize.url("virtual_network_name", virtual_network_name, 'str'), + 'virtualNetworkPeeringName': self._serialize.url("virtual_network_peering_name", virtual_network_peering_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('VirtualNetworkPeering', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/virtualNetworkPeerings/{virtualNetworkPeeringName}'} # type: ignore + + async def _create_or_update_initial( + self, + resource_group_name: str, + virtual_network_name: str, + virtual_network_peering_name: str, + virtual_network_peering_parameters: "_models.VirtualNetworkPeering", + sync_remote_address_space: Optional[Union[str, "_models.SyncRemoteAddressSpace"]] = None, + **kwargs + ) -> "_models.VirtualNetworkPeering": + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualNetworkPeering"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkName': self._serialize.url("virtual_network_name", virtual_network_name, 'str'), + 'virtualNetworkPeeringName': self._serialize.url("virtual_network_peering_name", virtual_network_peering_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + if sync_remote_address_space is not None: + query_parameters['syncRemoteAddressSpace'] = self._serialize.query("sync_remote_address_space", sync_remote_address_space, 'str') + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(virtual_network_peering_parameters, 'VirtualNetworkPeering') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('VirtualNetworkPeering', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('VirtualNetworkPeering', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/virtualNetworkPeerings/{virtualNetworkPeeringName}'} # type: ignore + + async def begin_create_or_update( + self, + resource_group_name: str, + virtual_network_name: str, + virtual_network_peering_name: str, + virtual_network_peering_parameters: "_models.VirtualNetworkPeering", + sync_remote_address_space: Optional[Union[str, "_models.SyncRemoteAddressSpace"]] = None, + **kwargs + ) -> AsyncLROPoller["_models.VirtualNetworkPeering"]: + """Creates or updates a peering in the specified virtual network. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_name: The name of the virtual network. + :type virtual_network_name: str + :param virtual_network_peering_name: The name of the peering. + :type virtual_network_peering_name: str + :param virtual_network_peering_parameters: Parameters supplied to the create or update virtual + network peering operation. + :type virtual_network_peering_parameters: ~azure.mgmt.network.v2021_02_01.models.VirtualNetworkPeering + :param sync_remote_address_space: Parameter indicates the intention to sync the peering with + the current address space on the remote vNet after it's updated. + :type sync_remote_address_space: str or ~azure.mgmt.network.v2021_02_01.models.SyncRemoteAddressSpace + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either VirtualNetworkPeering or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.VirtualNetworkPeering] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualNetworkPeering"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + resource_group_name=resource_group_name, + virtual_network_name=virtual_network_name, + virtual_network_peering_name=virtual_network_peering_name, + virtual_network_peering_parameters=virtual_network_peering_parameters, + sync_remote_address_space=sync_remote_address_space, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('VirtualNetworkPeering', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkName': self._serialize.url("virtual_network_name", virtual_network_name, 'str'), + 'virtualNetworkPeeringName': self._serialize.url("virtual_network_peering_name", virtual_network_peering_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/virtualNetworkPeerings/{virtualNetworkPeeringName}'} # type: ignore + + def list( + self, + resource_group_name: str, + virtual_network_name: str, + **kwargs + ) -> AsyncIterable["_models.VirtualNetworkPeeringListResult"]: + """Gets all virtual network peerings in a virtual network. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_name: The name of the virtual network. + :type virtual_network_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either VirtualNetworkPeeringListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.VirtualNetworkPeeringListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualNetworkPeeringListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkName': self._serialize.url("virtual_network_name", virtual_network_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('VirtualNetworkPeeringListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/virtualNetworkPeerings'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_virtual_network_taps_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_virtual_network_taps_operations.py new file mode 100644 index 000000000000..f0c3154f644c --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_virtual_network_taps_operations.py @@ -0,0 +1,540 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class VirtualNetworkTapsOperations: + """VirtualNetworkTapsOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def _delete_initial( + self, + resource_group_name: str, + tap_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'tapName': self._serialize.url("tap_name", tap_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkTaps/{tapName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + tap_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the specified virtual network tap. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param tap_name: The name of the virtual network tap. + :type tap_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + tap_name=tap_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'tapName': self._serialize.url("tap_name", tap_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkTaps/{tapName}'} # type: ignore + + async def get( + self, + resource_group_name: str, + tap_name: str, + **kwargs + ) -> "_models.VirtualNetworkTap": + """Gets information about the specified virtual network tap. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param tap_name: The name of virtual network tap. + :type tap_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: VirtualNetworkTap, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.VirtualNetworkTap + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualNetworkTap"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'tapName': self._serialize.url("tap_name", tap_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('VirtualNetworkTap', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkTaps/{tapName}'} # type: ignore + + async def _create_or_update_initial( + self, + resource_group_name: str, + tap_name: str, + parameters: "_models.VirtualNetworkTap", + **kwargs + ) -> "_models.VirtualNetworkTap": + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualNetworkTap"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'tapName': self._serialize.url("tap_name", tap_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'VirtualNetworkTap') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('VirtualNetworkTap', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('VirtualNetworkTap', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkTaps/{tapName}'} # type: ignore + + async def begin_create_or_update( + self, + resource_group_name: str, + tap_name: str, + parameters: "_models.VirtualNetworkTap", + **kwargs + ) -> AsyncLROPoller["_models.VirtualNetworkTap"]: + """Creates or updates a Virtual Network Tap. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param tap_name: The name of the virtual network tap. + :type tap_name: str + :param parameters: Parameters supplied to the create or update virtual network tap operation. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.VirtualNetworkTap + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either VirtualNetworkTap or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.VirtualNetworkTap] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualNetworkTap"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + resource_group_name=resource_group_name, + tap_name=tap_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('VirtualNetworkTap', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'tapName': self._serialize.url("tap_name", tap_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkTaps/{tapName}'} # type: ignore + + async def update_tags( + self, + resource_group_name: str, + tap_name: str, + tap_parameters: "_models.TagsObject", + **kwargs + ) -> "_models.VirtualNetworkTap": + """Updates an VirtualNetworkTap tags. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param tap_name: The name of the tap. + :type tap_name: str + :param tap_parameters: Parameters supplied to update VirtualNetworkTap tags. + :type tap_parameters: ~azure.mgmt.network.v2021_02_01.models.TagsObject + :keyword callable cls: A custom type or function that will be passed the direct response + :return: VirtualNetworkTap, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.VirtualNetworkTap + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualNetworkTap"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update_tags.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'tapName': self._serialize.url("tap_name", tap_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(tap_parameters, 'TagsObject') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('VirtualNetworkTap', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkTaps/{tapName}'} # type: ignore + + def list_all( + self, + **kwargs + ) -> AsyncIterable["_models.VirtualNetworkTapListResult"]: + """Gets all the VirtualNetworkTaps in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either VirtualNetworkTapListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.VirtualNetworkTapListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualNetworkTapListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_all.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('VirtualNetworkTapListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_all.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualNetworkTaps'} # type: ignore + + def list_by_resource_group( + self, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["_models.VirtualNetworkTapListResult"]: + """Gets all the VirtualNetworkTaps in a subscription. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either VirtualNetworkTapListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.VirtualNetworkTapListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualNetworkTapListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_resource_group.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('VirtualNetworkTapListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkTaps'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_virtual_networks_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_virtual_networks_operations.py new file mode 100644 index 000000000000..87b921416a75 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_virtual_networks_operations.py @@ -0,0 +1,681 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class VirtualNetworksOperations: + """VirtualNetworksOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def _delete_initial( + self, + resource_group_name: str, + virtual_network_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkName': self._serialize.url("virtual_network_name", virtual_network_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + virtual_network_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the specified virtual network. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_name: The name of the virtual network. + :type virtual_network_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + virtual_network_name=virtual_network_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkName': self._serialize.url("virtual_network_name", virtual_network_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}'} # type: ignore + + async def get( + self, + resource_group_name: str, + virtual_network_name: str, + expand: Optional[str] = None, + **kwargs + ) -> "_models.VirtualNetwork": + """Gets the specified virtual network by resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_name: The name of the virtual network. + :type virtual_network_name: str + :param expand: Expands referenced resources. + :type expand: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: VirtualNetwork, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.VirtualNetwork + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualNetwork"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkName': self._serialize.url("virtual_network_name", virtual_network_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('VirtualNetwork', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}'} # type: ignore + + async def _create_or_update_initial( + self, + resource_group_name: str, + virtual_network_name: str, + parameters: "_models.VirtualNetwork", + **kwargs + ) -> "_models.VirtualNetwork": + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualNetwork"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkName': self._serialize.url("virtual_network_name", virtual_network_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'VirtualNetwork') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('VirtualNetwork', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('VirtualNetwork', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}'} # type: ignore + + async def begin_create_or_update( + self, + resource_group_name: str, + virtual_network_name: str, + parameters: "_models.VirtualNetwork", + **kwargs + ) -> AsyncLROPoller["_models.VirtualNetwork"]: + """Creates or updates a virtual network in the specified resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_name: The name of the virtual network. + :type virtual_network_name: str + :param parameters: Parameters supplied to the create or update virtual network operation. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.VirtualNetwork + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either VirtualNetwork or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.VirtualNetwork] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualNetwork"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + resource_group_name=resource_group_name, + virtual_network_name=virtual_network_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('VirtualNetwork', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkName': self._serialize.url("virtual_network_name", virtual_network_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}'} # type: ignore + + async def update_tags( + self, + resource_group_name: str, + virtual_network_name: str, + parameters: "_models.TagsObject", + **kwargs + ) -> "_models.VirtualNetwork": + """Updates a virtual network tags. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_name: The name of the virtual network. + :type virtual_network_name: str + :param parameters: Parameters supplied to update virtual network tags. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.TagsObject + :keyword callable cls: A custom type or function that will be passed the direct response + :return: VirtualNetwork, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.VirtualNetwork + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualNetwork"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update_tags.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkName': self._serialize.url("virtual_network_name", virtual_network_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'TagsObject') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('VirtualNetwork', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}'} # type: ignore + + def list_all( + self, + **kwargs + ) -> AsyncIterable["_models.VirtualNetworkListResult"]: + """Gets all virtual networks in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either VirtualNetworkListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.VirtualNetworkListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualNetworkListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_all.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('VirtualNetworkListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_all.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualNetworks'} # type: ignore + + def list( + self, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["_models.VirtualNetworkListResult"]: + """Gets all virtual networks in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either VirtualNetworkListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.VirtualNetworkListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualNetworkListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('VirtualNetworkListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks'} # type: ignore + + async def check_ip_address_availability( + self, + resource_group_name: str, + virtual_network_name: str, + ip_address: str, + **kwargs + ) -> "_models.IPAddressAvailabilityResult": + """Checks whether a private IP address is available for use. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_name: The name of the virtual network. + :type virtual_network_name: str + :param ip_address: The private IP address to be verified. + :type ip_address: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: IPAddressAvailabilityResult, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.IPAddressAvailabilityResult + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.IPAddressAvailabilityResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.check_ip_address_availability.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkName': self._serialize.url("virtual_network_name", virtual_network_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['ipAddress'] = self._serialize.query("ip_address", ip_address, 'str') + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('IPAddressAvailabilityResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + check_ip_address_availability.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/CheckIPAddressAvailability'} # type: ignore + + def list_usage( + self, + resource_group_name: str, + virtual_network_name: str, + **kwargs + ) -> AsyncIterable["_models.VirtualNetworkListUsageResult"]: + """Lists usage stats. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_name: The name of the virtual network. + :type virtual_network_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either VirtualNetworkListUsageResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.VirtualNetworkListUsageResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualNetworkListUsageResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_usage.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkName': self._serialize.url("virtual_network_name", virtual_network_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('VirtualNetworkListUsageResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_usage.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/usages'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_virtual_router_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_virtual_router_peerings_operations.py new file mode 100644 index 000000000000..e68aa03ee9c2 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_virtual_router_peerings_operations.py @@ -0,0 +1,435 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class VirtualRouterPeeringsOperations: + """VirtualRouterPeeringsOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def _delete_initial( + self, + resource_group_name: str, + virtual_router_name: str, + peering_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualRouterName': self._serialize.url("virtual_router_name", virtual_router_name, 'str'), + 'peeringName': self._serialize.url("peering_name", peering_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.Error, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}/peerings/{peeringName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + virtual_router_name: str, + peering_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the specified peering from a Virtual Router. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_router_name: The name of the Virtual Router. + :type virtual_router_name: str + :param peering_name: The name of the peering. + :type peering_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + virtual_router_name=virtual_router_name, + peering_name=peering_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualRouterName': self._serialize.url("virtual_router_name", virtual_router_name, 'str'), + 'peeringName': self._serialize.url("peering_name", peering_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}/peerings/{peeringName}'} # type: ignore + + async def get( + self, + resource_group_name: str, + virtual_router_name: str, + peering_name: str, + **kwargs + ) -> "_models.VirtualRouterPeering": + """Gets the specified Virtual Router Peering. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_router_name: The name of the Virtual Router. + :type virtual_router_name: str + :param peering_name: The name of the Virtual Router Peering. + :type peering_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: VirtualRouterPeering, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.VirtualRouterPeering + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualRouterPeering"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualRouterName': self._serialize.url("virtual_router_name", virtual_router_name, 'str'), + 'peeringName': self._serialize.url("peering_name", peering_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.Error, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('VirtualRouterPeering', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}/peerings/{peeringName}'} # type: ignore + + async def _create_or_update_initial( + self, + resource_group_name: str, + virtual_router_name: str, + peering_name: str, + parameters: "_models.VirtualRouterPeering", + **kwargs + ) -> "_models.VirtualRouterPeering": + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualRouterPeering"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualRouterName': self._serialize.url("virtual_router_name", virtual_router_name, 'str'), + 'peeringName': self._serialize.url("peering_name", peering_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'VirtualRouterPeering') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.Error, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('VirtualRouterPeering', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('VirtualRouterPeering', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}/peerings/{peeringName}'} # type: ignore + + async def begin_create_or_update( + self, + resource_group_name: str, + virtual_router_name: str, + peering_name: str, + parameters: "_models.VirtualRouterPeering", + **kwargs + ) -> AsyncLROPoller["_models.VirtualRouterPeering"]: + """Creates or updates the specified Virtual Router Peering. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_router_name: The name of the Virtual Router. + :type virtual_router_name: str + :param peering_name: The name of the Virtual Router Peering. + :type peering_name: str + :param parameters: Parameters supplied to the create or update Virtual Router Peering + operation. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.VirtualRouterPeering + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either VirtualRouterPeering or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.VirtualRouterPeering] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualRouterPeering"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + resource_group_name=resource_group_name, + virtual_router_name=virtual_router_name, + peering_name=peering_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('VirtualRouterPeering', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualRouterName': self._serialize.url("virtual_router_name", virtual_router_name, 'str'), + 'peeringName': self._serialize.url("peering_name", peering_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}/peerings/{peeringName}'} # type: ignore + + def list( + self, + resource_group_name: str, + virtual_router_name: str, + **kwargs + ) -> AsyncIterable["_models.VirtualRouterPeeringListResult"]: + """Lists all Virtual Router Peerings in a Virtual Router resource. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_router_name: The name of the Virtual Router. + :type virtual_router_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either VirtualRouterPeeringListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.VirtualRouterPeeringListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualRouterPeeringListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualRouterName': self._serialize.url("virtual_router_name", virtual_router_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('VirtualRouterPeeringListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize(_models.Error, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}/peerings'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_virtual_routers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_virtual_routers_operations.py new file mode 100644 index 000000000000..4995e3b98426 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_virtual_routers_operations.py @@ -0,0 +1,484 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class VirtualRoutersOperations: + """VirtualRoutersOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def _delete_initial( + self, + resource_group_name: str, + virtual_router_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualRouterName': self._serialize.url("virtual_router_name", virtual_router_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.Error, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + virtual_router_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes the specified Virtual Router. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_router_name: The name of the Virtual Router. + :type virtual_router_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + virtual_router_name=virtual_router_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualRouterName': self._serialize.url("virtual_router_name", virtual_router_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}'} # type: ignore + + async def get( + self, + resource_group_name: str, + virtual_router_name: str, + expand: Optional[str] = None, + **kwargs + ) -> "_models.VirtualRouter": + """Gets the specified Virtual Router. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_router_name: The name of the Virtual Router. + :type virtual_router_name: str + :param expand: Expands referenced resources. + :type expand: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: VirtualRouter, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.VirtualRouter + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualRouter"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualRouterName': self._serialize.url("virtual_router_name", virtual_router_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.Error, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('VirtualRouter', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}'} # type: ignore + + async def _create_or_update_initial( + self, + resource_group_name: str, + virtual_router_name: str, + parameters: "_models.VirtualRouter", + **kwargs + ) -> "_models.VirtualRouter": + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualRouter"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualRouterName': self._serialize.url("virtual_router_name", virtual_router_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'VirtualRouter') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.Error, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('VirtualRouter', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('VirtualRouter', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}'} # type: ignore + + async def begin_create_or_update( + self, + resource_group_name: str, + virtual_router_name: str, + parameters: "_models.VirtualRouter", + **kwargs + ) -> AsyncLROPoller["_models.VirtualRouter"]: + """Creates or updates the specified Virtual Router. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_router_name: The name of the Virtual Router. + :type virtual_router_name: str + :param parameters: Parameters supplied to the create or update Virtual Router. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.VirtualRouter + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either VirtualRouter or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.VirtualRouter] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualRouter"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + resource_group_name=resource_group_name, + virtual_router_name=virtual_router_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('VirtualRouter', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualRouterName': self._serialize.url("virtual_router_name", virtual_router_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}'} # type: ignore + + def list_by_resource_group( + self, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["_models.VirtualRouterListResult"]: + """Lists all Virtual Routers in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either VirtualRouterListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.VirtualRouterListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualRouterListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_resource_group.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('VirtualRouterListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize(_models.Error, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters'} # type: ignore + + def list( + self, + **kwargs + ) -> AsyncIterable["_models.VirtualRouterListResult"]: + """Gets all the Virtual Routers in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either VirtualRouterListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.VirtualRouterListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualRouterListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('VirtualRouterListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize(_models.Error, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualRouters'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_virtual_wans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_virtual_wans_operations.py new file mode 100644 index 000000000000..319f7cc963dc --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_virtual_wans_operations.py @@ -0,0 +1,540 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class VirtualWansOperations: + """VirtualWansOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def get( + self, + resource_group_name: str, + virtual_wan_name: str, + **kwargs + ) -> "_models.VirtualWAN": + """Retrieves the details of a VirtualWAN. + + :param resource_group_name: The resource group name of the VirtualWan. + :type resource_group_name: str + :param virtual_wan_name: The name of the VirtualWAN being retrieved. + :type virtual_wan_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: VirtualWAN, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.VirtualWAN + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualWAN"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'VirtualWANName': self._serialize.url("virtual_wan_name", virtual_wan_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('VirtualWAN', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{VirtualWANName}'} # type: ignore + + async def _create_or_update_initial( + self, + resource_group_name: str, + virtual_wan_name: str, + wan_parameters: "_models.VirtualWAN", + **kwargs + ) -> "_models.VirtualWAN": + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualWAN"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'VirtualWANName': self._serialize.url("virtual_wan_name", virtual_wan_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(wan_parameters, 'VirtualWAN') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('VirtualWAN', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('VirtualWAN', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{VirtualWANName}'} # type: ignore + + async def begin_create_or_update( + self, + resource_group_name: str, + virtual_wan_name: str, + wan_parameters: "_models.VirtualWAN", + **kwargs + ) -> AsyncLROPoller["_models.VirtualWAN"]: + """Creates a VirtualWAN resource if it doesn't exist else updates the existing VirtualWAN. + + :param resource_group_name: The resource group name of the VirtualWan. + :type resource_group_name: str + :param virtual_wan_name: The name of the VirtualWAN being created or updated. + :type virtual_wan_name: str + :param wan_parameters: Parameters supplied to create or update VirtualWAN. + :type wan_parameters: ~azure.mgmt.network.v2021_02_01.models.VirtualWAN + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either VirtualWAN or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.VirtualWAN] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualWAN"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + resource_group_name=resource_group_name, + virtual_wan_name=virtual_wan_name, + wan_parameters=wan_parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('VirtualWAN', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'VirtualWANName': self._serialize.url("virtual_wan_name", virtual_wan_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{VirtualWANName}'} # type: ignore + + async def update_tags( + self, + resource_group_name: str, + virtual_wan_name: str, + wan_parameters: "_models.TagsObject", + **kwargs + ) -> "_models.VirtualWAN": + """Updates a VirtualWAN tags. + + :param resource_group_name: The resource group name of the VirtualWan. + :type resource_group_name: str + :param virtual_wan_name: The name of the VirtualWAN being updated. + :type virtual_wan_name: str + :param wan_parameters: Parameters supplied to Update VirtualWAN tags. + :type wan_parameters: ~azure.mgmt.network.v2021_02_01.models.TagsObject + :keyword callable cls: A custom type or function that will be passed the direct response + :return: VirtualWAN, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.VirtualWAN + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualWAN"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update_tags.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'VirtualWANName': self._serialize.url("virtual_wan_name", virtual_wan_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(wan_parameters, 'TagsObject') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('VirtualWAN', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{VirtualWANName}'} # type: ignore + + async def _delete_initial( + self, + resource_group_name: str, + virtual_wan_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'VirtualWANName': self._serialize.url("virtual_wan_name", virtual_wan_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{VirtualWANName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + virtual_wan_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes a VirtualWAN. + + :param resource_group_name: The resource group name of the VirtualWan. + :type resource_group_name: str + :param virtual_wan_name: The name of the VirtualWAN being deleted. + :type virtual_wan_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + virtual_wan_name=virtual_wan_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'VirtualWANName': self._serialize.url("virtual_wan_name", virtual_wan_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{VirtualWANName}'} # type: ignore + + def list_by_resource_group( + self, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["_models.ListVirtualWANsResult"]: + """Lists all the VirtualWANs in a resource group. + + :param resource_group_name: The resource group name of the VirtualWan. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ListVirtualWANsResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.ListVirtualWANsResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ListVirtualWANsResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_resource_group.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('ListVirtualWANsResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans'} # type: ignore + + def list( + self, + **kwargs + ) -> AsyncIterable["_models.ListVirtualWANsResult"]: + """Lists all the VirtualWANs in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ListVirtualWANsResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.ListVirtualWANsResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ListVirtualWANsResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('ListVirtualWANsResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualWans'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_vpn_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_vpn_connections_operations.py new file mode 100644 index 000000000000..5764ebeeee45 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_vpn_connections_operations.py @@ -0,0 +1,705 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class VpnConnectionsOperations: + """VpnConnectionsOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def get( + self, + resource_group_name: str, + gateway_name: str, + connection_name: str, + **kwargs + ) -> "_models.VpnConnection": + """Retrieves the details of a vpn connection. + + :param resource_group_name: The resource group name of the VpnGateway. + :type resource_group_name: str + :param gateway_name: The name of the gateway. + :type gateway_name: str + :param connection_name: The name of the vpn connection. + :type connection_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: VpnConnection, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.VpnConnection + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.VpnConnection"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + 'connectionName': self._serialize.url("connection_name", connection_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('VpnConnection', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}'} # type: ignore + + async def _create_or_update_initial( + self, + resource_group_name: str, + gateway_name: str, + connection_name: str, + vpn_connection_parameters: "_models.VpnConnection", + **kwargs + ) -> "_models.VpnConnection": + cls = kwargs.pop('cls', None) # type: ClsType["_models.VpnConnection"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + 'connectionName': self._serialize.url("connection_name", connection_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(vpn_connection_parameters, 'VpnConnection') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('VpnConnection', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('VpnConnection', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}'} # type: ignore + + async def begin_create_or_update( + self, + resource_group_name: str, + gateway_name: str, + connection_name: str, + vpn_connection_parameters: "_models.VpnConnection", + **kwargs + ) -> AsyncLROPoller["_models.VpnConnection"]: + """Creates a vpn connection to a scalable vpn gateway if it doesn't exist else updates the + existing connection. + + :param resource_group_name: The resource group name of the VpnGateway. + :type resource_group_name: str + :param gateway_name: The name of the gateway. + :type gateway_name: str + :param connection_name: The name of the connection. + :type connection_name: str + :param vpn_connection_parameters: Parameters supplied to create or Update a VPN Connection. + :type vpn_connection_parameters: ~azure.mgmt.network.v2021_02_01.models.VpnConnection + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either VpnConnection or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.VpnConnection] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.VpnConnection"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + resource_group_name=resource_group_name, + gateway_name=gateway_name, + connection_name=connection_name, + vpn_connection_parameters=vpn_connection_parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('VpnConnection', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + 'connectionName': self._serialize.url("connection_name", connection_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}'} # type: ignore + + async def _delete_initial( + self, + resource_group_name: str, + gateway_name: str, + connection_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + 'connectionName': self._serialize.url("connection_name", connection_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + gateway_name: str, + connection_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes a vpn connection. + + :param resource_group_name: The resource group name of the VpnGateway. + :type resource_group_name: str + :param gateway_name: The name of the gateway. + :type gateway_name: str + :param connection_name: The name of the connection. + :type connection_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + gateway_name=gateway_name, + connection_name=connection_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + 'connectionName': self._serialize.url("connection_name", connection_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}'} # type: ignore + + async def _start_packet_capture_initial( + self, + resource_group_name: str, + gateway_name: str, + vpn_connection_name: str, + parameters: Optional["_models.VpnConnectionPacketCaptureStartParameters"] = None, + **kwargs + ) -> Optional[str]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional[str]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._start_packet_capture_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + 'vpnConnectionName': self._serialize.url("vpn_connection_name", vpn_connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + if parameters is not None: + body_content = self._serialize.body(parameters, 'VpnConnectionPacketCaptureStartParameters') + else: + body_content = None + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('str', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _start_packet_capture_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{vpnConnectionName}/startpacketcapture'} # type: ignore + + async def begin_start_packet_capture( + self, + resource_group_name: str, + gateway_name: str, + vpn_connection_name: str, + parameters: Optional["_models.VpnConnectionPacketCaptureStartParameters"] = None, + **kwargs + ) -> AsyncLROPoller[str]: + """Starts packet capture on Vpn connection in the specified resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param gateway_name: The name of the gateway. + :type gateway_name: str + :param vpn_connection_name: The name of the vpn connection. + :type vpn_connection_name: str + :param parameters: Vpn Connection packet capture parameters supplied to start packet capture on + gateway connection. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.VpnConnectionPacketCaptureStartParameters + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[str] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[str] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._start_packet_capture_initial( + resource_group_name=resource_group_name, + gateway_name=gateway_name, + vpn_connection_name=vpn_connection_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('str', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + 'vpnConnectionName': self._serialize.url("vpn_connection_name", vpn_connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_start_packet_capture.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{vpnConnectionName}/startpacketcapture'} # type: ignore + + async def _stop_packet_capture_initial( + self, + resource_group_name: str, + gateway_name: str, + vpn_connection_name: str, + parameters: Optional["_models.VpnConnectionPacketCaptureStopParameters"] = None, + **kwargs + ) -> Optional[str]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional[str]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._stop_packet_capture_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + 'vpnConnectionName': self._serialize.url("vpn_connection_name", vpn_connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + if parameters is not None: + body_content = self._serialize.body(parameters, 'VpnConnectionPacketCaptureStopParameters') + else: + body_content = None + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('str', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _stop_packet_capture_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{vpnConnectionName}/stoppacketcapture'} # type: ignore + + async def begin_stop_packet_capture( + self, + resource_group_name: str, + gateway_name: str, + vpn_connection_name: str, + parameters: Optional["_models.VpnConnectionPacketCaptureStopParameters"] = None, + **kwargs + ) -> AsyncLROPoller[str]: + """Stops packet capture on Vpn connection in the specified resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param gateway_name: The name of the gateway. + :type gateway_name: str + :param vpn_connection_name: The name of the vpn connection. + :type vpn_connection_name: str + :param parameters: Vpn Connection packet capture parameters supplied to stop packet capture on + gateway connection. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.VpnConnectionPacketCaptureStopParameters + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[str] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[str] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._stop_packet_capture_initial( + resource_group_name=resource_group_name, + gateway_name=gateway_name, + vpn_connection_name=vpn_connection_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('str', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + 'vpnConnectionName': self._serialize.url("vpn_connection_name", vpn_connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_stop_packet_capture.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{vpnConnectionName}/stoppacketcapture'} # type: ignore + + def list_by_vpn_gateway( + self, + resource_group_name: str, + gateway_name: str, + **kwargs + ) -> AsyncIterable["_models.ListVpnConnectionsResult"]: + """Retrieves all vpn connections for a particular virtual wan vpn gateway. + + :param resource_group_name: The resource group name of the VpnGateway. + :type resource_group_name: str + :param gateway_name: The name of the gateway. + :type gateway_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ListVpnConnectionsResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.ListVpnConnectionsResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ListVpnConnectionsResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_vpn_gateway.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('ListVpnConnectionsResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_vpn_gateway.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_vpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_vpn_gateways_operations.py new file mode 100644 index 000000000000..e6c660df620b --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_vpn_gateways_operations.py @@ -0,0 +1,977 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class VpnGatewaysOperations: + """VpnGatewaysOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def get( + self, + resource_group_name: str, + gateway_name: str, + **kwargs + ) -> "_models.VpnGateway": + """Retrieves the details of a virtual wan vpn gateway. + + :param resource_group_name: The resource group name of the VpnGateway. + :type resource_group_name: str + :param gateway_name: The name of the gateway. + :type gateway_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: VpnGateway, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.VpnGateway + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.VpnGateway"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('VpnGateway', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}'} # type: ignore + + async def _create_or_update_initial( + self, + resource_group_name: str, + gateway_name: str, + vpn_gateway_parameters: "_models.VpnGateway", + **kwargs + ) -> "_models.VpnGateway": + cls = kwargs.pop('cls', None) # type: ClsType["_models.VpnGateway"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(vpn_gateway_parameters, 'VpnGateway') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('VpnGateway', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('VpnGateway', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}'} # type: ignore + + async def begin_create_or_update( + self, + resource_group_name: str, + gateway_name: str, + vpn_gateway_parameters: "_models.VpnGateway", + **kwargs + ) -> AsyncLROPoller["_models.VpnGateway"]: + """Creates a virtual wan vpn gateway if it doesn't exist else updates the existing gateway. + + :param resource_group_name: The resource group name of the VpnGateway. + :type resource_group_name: str + :param gateway_name: The name of the gateway. + :type gateway_name: str + :param vpn_gateway_parameters: Parameters supplied to create or Update a virtual wan vpn + gateway. + :type vpn_gateway_parameters: ~azure.mgmt.network.v2021_02_01.models.VpnGateway + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either VpnGateway or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.VpnGateway] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.VpnGateway"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + resource_group_name=resource_group_name, + gateway_name=gateway_name, + vpn_gateway_parameters=vpn_gateway_parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('VpnGateway', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}'} # type: ignore + + async def _update_tags_initial( + self, + resource_group_name: str, + gateway_name: str, + vpn_gateway_parameters: "_models.TagsObject", + **kwargs + ) -> Optional["_models.VpnGateway"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.VpnGateway"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._update_tags_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(vpn_gateway_parameters, 'TagsObject') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('VpnGateway', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _update_tags_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}'} # type: ignore + + async def begin_update_tags( + self, + resource_group_name: str, + gateway_name: str, + vpn_gateway_parameters: "_models.TagsObject", + **kwargs + ) -> AsyncLROPoller["_models.VpnGateway"]: + """Updates virtual wan vpn gateway tags. + + :param resource_group_name: The resource group name of the VpnGateway. + :type resource_group_name: str + :param gateway_name: The name of the gateway. + :type gateway_name: str + :param vpn_gateway_parameters: Parameters supplied to update a virtual wan vpn gateway tags. + :type vpn_gateway_parameters: ~azure.mgmt.network.v2021_02_01.models.TagsObject + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either VpnGateway or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.VpnGateway] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.VpnGateway"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._update_tags_initial( + resource_group_name=resource_group_name, + gateway_name=gateway_name, + vpn_gateway_parameters=vpn_gateway_parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('VpnGateway', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}'} # type: ignore + + async def _delete_initial( + self, + resource_group_name: str, + gateway_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + gateway_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes a virtual wan vpn gateway. + + :param resource_group_name: The resource group name of the VpnGateway. + :type resource_group_name: str + :param gateway_name: The name of the gateway. + :type gateway_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + gateway_name=gateway_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}'} # type: ignore + + async def _reset_initial( + self, + resource_group_name: str, + gateway_name: str, + **kwargs + ) -> Optional["_models.VpnGateway"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.VpnGateway"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._reset_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('VpnGateway', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _reset_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/reset'} # type: ignore + + async def begin_reset( + self, + resource_group_name: str, + gateway_name: str, + **kwargs + ) -> AsyncLROPoller["_models.VpnGateway"]: + """Resets the primary of the vpn gateway in the specified resource group. + + :param resource_group_name: The resource group name of the VpnGateway. + :type resource_group_name: str + :param gateway_name: The name of the gateway. + :type gateway_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either VpnGateway or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.VpnGateway] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.VpnGateway"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._reset_initial( + resource_group_name=resource_group_name, + gateway_name=gateway_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('VpnGateway', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_reset.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/reset'} # type: ignore + + async def _start_packet_capture_initial( + self, + resource_group_name: str, + gateway_name: str, + parameters: Optional["_models.VpnGatewayPacketCaptureStartParameters"] = None, + **kwargs + ) -> Optional[str]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional[str]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._start_packet_capture_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + if parameters is not None: + body_content = self._serialize.body(parameters, 'VpnGatewayPacketCaptureStartParameters') + else: + body_content = None + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('str', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _start_packet_capture_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/startpacketcapture'} # type: ignore + + async def begin_start_packet_capture( + self, + resource_group_name: str, + gateway_name: str, + parameters: Optional["_models.VpnGatewayPacketCaptureStartParameters"] = None, + **kwargs + ) -> AsyncLROPoller[str]: + """Starts packet capture on vpn gateway in the specified resource group. + + :param resource_group_name: The resource group name of the VpnGateway. + :type resource_group_name: str + :param gateway_name: The name of the gateway. + :type gateway_name: str + :param parameters: Vpn gateway packet capture parameters supplied to start packet capture on + vpn gateway. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.VpnGatewayPacketCaptureStartParameters + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[str] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[str] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._start_packet_capture_initial( + resource_group_name=resource_group_name, + gateway_name=gateway_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('str', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_start_packet_capture.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/startpacketcapture'} # type: ignore + + async def _stop_packet_capture_initial( + self, + resource_group_name: str, + gateway_name: str, + parameters: Optional["_models.VpnGatewayPacketCaptureStopParameters"] = None, + **kwargs + ) -> Optional[str]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional[str]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._stop_packet_capture_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + if parameters is not None: + body_content = self._serialize.body(parameters, 'VpnGatewayPacketCaptureStopParameters') + else: + body_content = None + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('str', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _stop_packet_capture_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/stoppacketcapture'} # type: ignore + + async def begin_stop_packet_capture( + self, + resource_group_name: str, + gateway_name: str, + parameters: Optional["_models.VpnGatewayPacketCaptureStopParameters"] = None, + **kwargs + ) -> AsyncLROPoller[str]: + """Stops packet capture on vpn gateway in the specified resource group. + + :param resource_group_name: The resource group name of the VpnGateway. + :type resource_group_name: str + :param gateway_name: The name of the gateway. + :type gateway_name: str + :param parameters: Vpn gateway packet capture parameters supplied to stop packet capture on vpn + gateway. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.VpnGatewayPacketCaptureStopParameters + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[str] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[str] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._stop_packet_capture_initial( + resource_group_name=resource_group_name, + gateway_name=gateway_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('str', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_stop_packet_capture.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/stoppacketcapture'} # type: ignore + + def list_by_resource_group( + self, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["_models.ListVpnGatewaysResult"]: + """Lists all the VpnGateways in a resource group. + + :param resource_group_name: The resource group name of the VpnGateway. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ListVpnGatewaysResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.ListVpnGatewaysResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ListVpnGatewaysResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_resource_group.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('ListVpnGatewaysResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways'} # type: ignore + + def list( + self, + **kwargs + ) -> AsyncIterable["_models.ListVpnGatewaysResult"]: + """Lists all the VpnGateways in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ListVpnGatewaysResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.ListVpnGatewaysResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ListVpnGatewaysResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('ListVpnGatewaysResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/vpnGateways'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_vpn_link_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_vpn_link_connections_operations.py new file mode 100644 index 000000000000..19f9b354efef --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_vpn_link_connections_operations.py @@ -0,0 +1,377 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class VpnLinkConnectionsOperations: + """VpnLinkConnectionsOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def _reset_connection_initial( + self, + resource_group_name: str, + gateway_name: str, + connection_name: str, + link_connection_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._reset_connection_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + 'connectionName': self._serialize.url("connection_name", connection_name, 'str'), + 'linkConnectionName': self._serialize.url("link_connection_name", link_connection_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _reset_connection_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}/vpnLinkConnections/{linkConnectionName}/resetconnection'} # type: ignore + + async def begin_reset_connection( + self, + resource_group_name: str, + gateway_name: str, + connection_name: str, + link_connection_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Resets the VpnLink connection specified. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param gateway_name: The name of the gateway. + :type gateway_name: str + :param connection_name: The name of the vpn connection. + :type connection_name: str + :param link_connection_name: The name of the vpn link connection. + :type link_connection_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._reset_connection_initial( + resource_group_name=resource_group_name, + gateway_name=gateway_name, + connection_name=connection_name, + link_connection_name=link_connection_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + 'connectionName': self._serialize.url("connection_name", connection_name, 'str'), + 'linkConnectionName': self._serialize.url("link_connection_name", link_connection_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_reset_connection.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}/vpnLinkConnections/{linkConnectionName}/resetconnection'} # type: ignore + + async def _get_ike_sas_initial( + self, + resource_group_name: str, + gateway_name: str, + connection_name: str, + link_connection_name: str, + **kwargs + ) -> Optional[str]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional[str]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._get_ike_sas_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + 'connectionName': self._serialize.url("connection_name", connection_name, 'str'), + 'linkConnectionName': self._serialize.url("link_connection_name", link_connection_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('str', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _get_ike_sas_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}/vpnLinkConnections/{linkConnectionName}/getikesas'} # type: ignore + + async def begin_get_ike_sas( + self, + resource_group_name: str, + gateway_name: str, + connection_name: str, + link_connection_name: str, + **kwargs + ) -> AsyncLROPoller[str]: + """Lists IKE Security Associations for Vpn Site Link Connection in the specified resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param gateway_name: The name of the gateway. + :type gateway_name: str + :param connection_name: The name of the vpn connection. + :type connection_name: str + :param link_connection_name: The name of the vpn link connection. + :type link_connection_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either str or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[str] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[str] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._get_ike_sas_initial( + resource_group_name=resource_group_name, + gateway_name=gateway_name, + connection_name=connection_name, + link_connection_name=link_connection_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('str', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + 'connectionName': self._serialize.url("connection_name", connection_name, 'str'), + 'linkConnectionName': self._serialize.url("link_connection_name", link_connection_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_get_ike_sas.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}/vpnLinkConnections/{linkConnectionName}/getikesas'} # type: ignore + + def list_by_vpn_connection( + self, + resource_group_name: str, + gateway_name: str, + connection_name: str, + **kwargs + ) -> AsyncIterable["_models.ListVpnSiteLinkConnectionsResult"]: + """Retrieves all vpn site link connections for a particular virtual wan vpn gateway vpn + connection. + + :param resource_group_name: The resource group name of the vpn gateway. + :type resource_group_name: str + :param gateway_name: The name of the gateway. + :type gateway_name: str + :param connection_name: The name of the vpn connection. + :type connection_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ListVpnSiteLinkConnectionsResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.ListVpnSiteLinkConnectionsResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ListVpnSiteLinkConnectionsResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_vpn_connection.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + 'connectionName': self._serialize.url("connection_name", connection_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('ListVpnSiteLinkConnectionsResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_vpn_connection.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}/vpnLinkConnections'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py new file mode 100644 index 000000000000..01a4cb90f210 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py @@ -0,0 +1,160 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class VpnServerConfigurationsAssociatedWithVirtualWanOperations: + """VpnServerConfigurationsAssociatedWithVirtualWanOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def _list_initial( + self, + resource_group_name: str, + virtual_wan_name: str, + **kwargs + ) -> Optional["_models.VpnServerConfigurationsResponse"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.VpnServerConfigurationsResponse"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._list_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualWANName': self._serialize.url("virtual_wan_name", virtual_wan_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('VpnServerConfigurationsResponse', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _list_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{virtualWANName}/vpnServerConfigurations'} # type: ignore + + async def begin_list( + self, + resource_group_name: str, + virtual_wan_name: str, + **kwargs + ) -> AsyncLROPoller["_models.VpnServerConfigurationsResponse"]: + """Gives the list of VpnServerConfigurations associated with Virtual Wan in a resource group. + + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is + needed. + :type virtual_wan_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either VpnServerConfigurationsResponse or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.VpnServerConfigurationsResponse] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.VpnServerConfigurationsResponse"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._list_initial( + resource_group_name=resource_group_name, + virtual_wan_name=virtual_wan_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('VpnServerConfigurationsResponse', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualWANName': self._serialize.url("virtual_wan_name", virtual_wan_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{virtualWANName}/vpnServerConfigurations'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_vpn_server_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_vpn_server_configurations_operations.py new file mode 100644 index 000000000000..a7fff3a3bde2 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_vpn_server_configurations_operations.py @@ -0,0 +1,544 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class VpnServerConfigurationsOperations: + """VpnServerConfigurationsOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def get( + self, + resource_group_name: str, + vpn_server_configuration_name: str, + **kwargs + ) -> "_models.VpnServerConfiguration": + """Retrieves the details of a VpnServerConfiguration. + + :param resource_group_name: The resource group name of the VpnServerConfiguration. + :type resource_group_name: str + :param vpn_server_configuration_name: The name of the VpnServerConfiguration being retrieved. + :type vpn_server_configuration_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: VpnServerConfiguration, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.VpnServerConfiguration + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.VpnServerConfiguration"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'vpnServerConfigurationName': self._serialize.url("vpn_server_configuration_name", vpn_server_configuration_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('VpnServerConfiguration', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations/{vpnServerConfigurationName}'} # type: ignore + + async def _create_or_update_initial( + self, + resource_group_name: str, + vpn_server_configuration_name: str, + vpn_server_configuration_parameters: "_models.VpnServerConfiguration", + **kwargs + ) -> "_models.VpnServerConfiguration": + cls = kwargs.pop('cls', None) # type: ClsType["_models.VpnServerConfiguration"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'vpnServerConfigurationName': self._serialize.url("vpn_server_configuration_name", vpn_server_configuration_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(vpn_server_configuration_parameters, 'VpnServerConfiguration') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('VpnServerConfiguration', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('VpnServerConfiguration', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations/{vpnServerConfigurationName}'} # type: ignore + + async def begin_create_or_update( + self, + resource_group_name: str, + vpn_server_configuration_name: str, + vpn_server_configuration_parameters: "_models.VpnServerConfiguration", + **kwargs + ) -> AsyncLROPoller["_models.VpnServerConfiguration"]: + """Creates a VpnServerConfiguration resource if it doesn't exist else updates the existing + VpnServerConfiguration. + + :param resource_group_name: The resource group name of the VpnServerConfiguration. + :type resource_group_name: str + :param vpn_server_configuration_name: The name of the VpnServerConfiguration being created or + updated. + :type vpn_server_configuration_name: str + :param vpn_server_configuration_parameters: Parameters supplied to create or update + VpnServerConfiguration. + :type vpn_server_configuration_parameters: ~azure.mgmt.network.v2021_02_01.models.VpnServerConfiguration + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either VpnServerConfiguration or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.VpnServerConfiguration] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.VpnServerConfiguration"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + resource_group_name=resource_group_name, + vpn_server_configuration_name=vpn_server_configuration_name, + vpn_server_configuration_parameters=vpn_server_configuration_parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('VpnServerConfiguration', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'vpnServerConfigurationName': self._serialize.url("vpn_server_configuration_name", vpn_server_configuration_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations/{vpnServerConfigurationName}'} # type: ignore + + async def update_tags( + self, + resource_group_name: str, + vpn_server_configuration_name: str, + vpn_server_configuration_parameters: "_models.TagsObject", + **kwargs + ) -> "_models.VpnServerConfiguration": + """Updates VpnServerConfiguration tags. + + :param resource_group_name: The resource group name of the VpnServerConfiguration. + :type resource_group_name: str + :param vpn_server_configuration_name: The name of the VpnServerConfiguration being updated. + :type vpn_server_configuration_name: str + :param vpn_server_configuration_parameters: Parameters supplied to update + VpnServerConfiguration tags. + :type vpn_server_configuration_parameters: ~azure.mgmt.network.v2021_02_01.models.TagsObject + :keyword callable cls: A custom type or function that will be passed the direct response + :return: VpnServerConfiguration, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.VpnServerConfiguration + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.VpnServerConfiguration"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update_tags.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'vpnServerConfigurationName': self._serialize.url("vpn_server_configuration_name", vpn_server_configuration_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(vpn_server_configuration_parameters, 'TagsObject') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('VpnServerConfiguration', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations/{vpnServerConfigurationName}'} # type: ignore + + async def _delete_initial( + self, + resource_group_name: str, + vpn_server_configuration_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'vpnServerConfigurationName': self._serialize.url("vpn_server_configuration_name", vpn_server_configuration_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations/{vpnServerConfigurationName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + vpn_server_configuration_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes a VpnServerConfiguration. + + :param resource_group_name: The resource group name of the VpnServerConfiguration. + :type resource_group_name: str + :param vpn_server_configuration_name: The name of the VpnServerConfiguration being deleted. + :type vpn_server_configuration_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + vpn_server_configuration_name=vpn_server_configuration_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'vpnServerConfigurationName': self._serialize.url("vpn_server_configuration_name", vpn_server_configuration_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations/{vpnServerConfigurationName}'} # type: ignore + + def list_by_resource_group( + self, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["_models.ListVpnServerConfigurationsResult"]: + """Lists all the vpnServerConfigurations in a resource group. + + :param resource_group_name: The resource group name of the VpnServerConfiguration. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ListVpnServerConfigurationsResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.ListVpnServerConfigurationsResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ListVpnServerConfigurationsResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_resource_group.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('ListVpnServerConfigurationsResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations'} # type: ignore + + def list( + self, + **kwargs + ) -> AsyncIterable["_models.ListVpnServerConfigurationsResult"]: + """Lists all the VpnServerConfigurations in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ListVpnServerConfigurationsResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.ListVpnServerConfigurationsResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ListVpnServerConfigurationsResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('ListVpnServerConfigurationsResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/vpnServerConfigurations'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_vpn_site_link_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_vpn_site_link_connections_operations.py new file mode 100644 index 000000000000..32d2e36861b2 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_vpn_site_link_connections_operations.py @@ -0,0 +1,107 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, Callable, Dict, Generic, Optional, TypeVar +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class VpnSiteLinkConnectionsOperations: + """VpnSiteLinkConnectionsOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def get( + self, + resource_group_name: str, + gateway_name: str, + connection_name: str, + link_connection_name: str, + **kwargs + ) -> "_models.VpnSiteLinkConnection": + """Retrieves the details of a vpn site link connection. + + :param resource_group_name: The resource group name of the VpnGateway. + :type resource_group_name: str + :param gateway_name: The name of the gateway. + :type gateway_name: str + :param connection_name: The name of the vpn connection. + :type connection_name: str + :param link_connection_name: The name of the vpn connection. + :type link_connection_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: VpnSiteLinkConnection, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.VpnSiteLinkConnection + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.VpnSiteLinkConnection"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + 'connectionName': self._serialize.url("connection_name", connection_name, 'str'), + 'linkConnectionName': self._serialize.url("link_connection_name", link_connection_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('VpnSiteLinkConnection', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}/vpnLinkConnections/{linkConnectionName}'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_vpn_site_links_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_vpn_site_links_operations.py new file mode 100644 index 000000000000..45b33d1dfe87 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_vpn_site_links_operations.py @@ -0,0 +1,178 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class VpnSiteLinksOperations: + """VpnSiteLinksOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def get( + self, + resource_group_name: str, + vpn_site_name: str, + vpn_site_link_name: str, + **kwargs + ) -> "_models.VpnSiteLink": + """Retrieves the details of a VPN site link. + + :param resource_group_name: The resource group name of the VpnSite. + :type resource_group_name: str + :param vpn_site_name: The name of the VpnSite. + :type vpn_site_name: str + :param vpn_site_link_name: The name of the VpnSiteLink being retrieved. + :type vpn_site_link_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: VpnSiteLink, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.VpnSiteLink + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.VpnSiteLink"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'vpnSiteName': self._serialize.url("vpn_site_name", vpn_site_name, 'str'), + 'vpnSiteLinkName': self._serialize.url("vpn_site_link_name", vpn_site_link_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('VpnSiteLink', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites/{vpnSiteName}/vpnSiteLinks/{vpnSiteLinkName}'} # type: ignore + + def list_by_vpn_site( + self, + resource_group_name: str, + vpn_site_name: str, + **kwargs + ) -> AsyncIterable["_models.ListVpnSiteLinksResult"]: + """Lists all the vpnSiteLinks in a resource group for a vpn site. + + :param resource_group_name: The resource group name of the VpnSite. + :type resource_group_name: str + :param vpn_site_name: The name of the VpnSite. + :type vpn_site_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ListVpnSiteLinksResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.ListVpnSiteLinksResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ListVpnSiteLinksResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_vpn_site.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'vpnSiteName': self._serialize.url("vpn_site_name", vpn_site_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('ListVpnSiteLinksResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_vpn_site.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites/{vpnSiteName}/vpnSiteLinks'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_vpn_sites_configuration_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_vpn_sites_configuration_operations.py new file mode 100644 index 000000000000..9c1aa606ee98 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_vpn_sites_configuration_operations.py @@ -0,0 +1,162 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class VpnSitesConfigurationOperations: + """VpnSitesConfigurationOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def _download_initial( + self, + resource_group_name: str, + virtual_wan_name: str, + request: "_models.GetVpnSitesConfigurationRequest", + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._download_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualWANName': self._serialize.url("virtual_wan_name", virtual_wan_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(request, 'GetVpnSitesConfigurationRequest') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _download_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{virtualWANName}/vpnConfiguration'} # type: ignore + + async def begin_download( + self, + resource_group_name: str, + virtual_wan_name: str, + request: "_models.GetVpnSitesConfigurationRequest", + **kwargs + ) -> AsyncLROPoller[None]: + """Gives the sas-url to download the configurations for vpn-sites in a resource group. + + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param virtual_wan_name: The name of the VirtualWAN for which configuration of all vpn-sites is + needed. + :type virtual_wan_name: str + :param request: Parameters supplied to download vpn-sites configuration. + :type request: ~azure.mgmt.network.v2021_02_01.models.GetVpnSitesConfigurationRequest + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._download_initial( + resource_group_name=resource_group_name, + virtual_wan_name=virtual_wan_name, + request=request, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualWANName': self._serialize.url("virtual_wan_name", virtual_wan_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_download.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{virtualWANName}/vpnConfiguration'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_vpn_sites_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_vpn_sites_operations.py new file mode 100644 index 000000000000..050c1e4f8e59 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_vpn_sites_operations.py @@ -0,0 +1,540 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class VpnSitesOperations: + """VpnSitesOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def get( + self, + resource_group_name: str, + vpn_site_name: str, + **kwargs + ) -> "_models.VpnSite": + """Retrieves the details of a VPN site. + + :param resource_group_name: The resource group name of the VpnSite. + :type resource_group_name: str + :param vpn_site_name: The name of the VpnSite being retrieved. + :type vpn_site_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: VpnSite, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.VpnSite + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.VpnSite"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'vpnSiteName': self._serialize.url("vpn_site_name", vpn_site_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('VpnSite', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites/{vpnSiteName}'} # type: ignore + + async def _create_or_update_initial( + self, + resource_group_name: str, + vpn_site_name: str, + vpn_site_parameters: "_models.VpnSite", + **kwargs + ) -> "_models.VpnSite": + cls = kwargs.pop('cls', None) # type: ClsType["_models.VpnSite"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'vpnSiteName': self._serialize.url("vpn_site_name", vpn_site_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(vpn_site_parameters, 'VpnSite') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('VpnSite', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('VpnSite', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites/{vpnSiteName}'} # type: ignore + + async def begin_create_or_update( + self, + resource_group_name: str, + vpn_site_name: str, + vpn_site_parameters: "_models.VpnSite", + **kwargs + ) -> AsyncLROPoller["_models.VpnSite"]: + """Creates a VpnSite resource if it doesn't exist else updates the existing VpnSite. + + :param resource_group_name: The resource group name of the VpnSite. + :type resource_group_name: str + :param vpn_site_name: The name of the VpnSite being created or updated. + :type vpn_site_name: str + :param vpn_site_parameters: Parameters supplied to create or update VpnSite. + :type vpn_site_parameters: ~azure.mgmt.network.v2021_02_01.models.VpnSite + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either VpnSite or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.network.v2021_02_01.models.VpnSite] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.VpnSite"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._create_or_update_initial( + resource_group_name=resource_group_name, + vpn_site_name=vpn_site_name, + vpn_site_parameters=vpn_site_parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('VpnSite', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'vpnSiteName': self._serialize.url("vpn_site_name", vpn_site_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites/{vpnSiteName}'} # type: ignore + + async def update_tags( + self, + resource_group_name: str, + vpn_site_name: str, + vpn_site_parameters: "_models.TagsObject", + **kwargs + ) -> "_models.VpnSite": + """Updates VpnSite tags. + + :param resource_group_name: The resource group name of the VpnSite. + :type resource_group_name: str + :param vpn_site_name: The name of the VpnSite being updated. + :type vpn_site_name: str + :param vpn_site_parameters: Parameters supplied to update VpnSite tags. + :type vpn_site_parameters: ~azure.mgmt.network.v2021_02_01.models.TagsObject + :keyword callable cls: A custom type or function that will be passed the direct response + :return: VpnSite, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.VpnSite + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.VpnSite"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update_tags.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'vpnSiteName': self._serialize.url("vpn_site_name", vpn_site_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(vpn_site_parameters, 'TagsObject') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('VpnSite', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites/{vpnSiteName}'} # type: ignore + + async def _delete_initial( + self, + resource_group_name: str, + vpn_site_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'vpnSiteName': self._serialize.url("vpn_site_name", vpn_site_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites/{vpnSiteName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + vpn_site_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes a VpnSite. + + :param resource_group_name: The resource group name of the VpnSite. + :type resource_group_name: str + :param vpn_site_name: The name of the VpnSite being deleted. + :type vpn_site_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + vpn_site_name=vpn_site_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'vpnSiteName': self._serialize.url("vpn_site_name", vpn_site_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites/{vpnSiteName}'} # type: ignore + + def list_by_resource_group( + self, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["_models.ListVpnSitesResult"]: + """Lists all the vpnSites in a resource group. + + :param resource_group_name: The resource group name of the VpnSite. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ListVpnSitesResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.ListVpnSitesResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ListVpnSitesResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_resource_group.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('ListVpnSitesResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites'} # type: ignore + + def list( + self, + **kwargs + ) -> AsyncIterable["_models.ListVpnSitesResult"]: + """Lists all the VpnSites in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ListVpnSitesResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.ListVpnSitesResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ListVpnSitesResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('ListVpnSitesResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/vpnSites'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_web_application_firewall_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_web_application_firewall_policies_operations.py new file mode 100644 index 000000000000..bc3837506972 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_web_application_firewall_policies_operations.py @@ -0,0 +1,416 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar, Union +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.core.polling import AsyncLROPoller, AsyncNoPolling, AsyncPollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class WebApplicationFirewallPoliciesOperations: + """WebApplicationFirewallPoliciesOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + resource_group_name: str, + **kwargs + ) -> AsyncIterable["_models.WebApplicationFirewallPolicyListResult"]: + """Lists all of the protection policies within a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either WebApplicationFirewallPolicyListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.WebApplicationFirewallPolicyListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.WebApplicationFirewallPolicyListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('WebApplicationFirewallPolicyListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies'} # type: ignore + + def list_all( + self, + **kwargs + ) -> AsyncIterable["_models.WebApplicationFirewallPolicyListResult"]: + """Gets all the WAF policies in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either WebApplicationFirewallPolicyListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.WebApplicationFirewallPolicyListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.WebApplicationFirewallPolicyListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_all.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('WebApplicationFirewallPolicyListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_all.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies'} # type: ignore + + async def get( + self, + resource_group_name: str, + policy_name: str, + **kwargs + ) -> "_models.WebApplicationFirewallPolicy": + """Retrieve protection policy with specified name within a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param policy_name: The name of the policy. + :type policy_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: WebApplicationFirewallPolicy, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.WebApplicationFirewallPolicy + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.WebApplicationFirewallPolicy"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'policyName': self._serialize.url("policy_name", policy_name, 'str', max_length=128, min_length=0), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('WebApplicationFirewallPolicy', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies/{policyName}'} # type: ignore + + async def create_or_update( + self, + resource_group_name: str, + policy_name: str, + parameters: "_models.WebApplicationFirewallPolicy", + **kwargs + ) -> "_models.WebApplicationFirewallPolicy": + """Creates or update policy with specified rule set name within a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param policy_name: The name of the policy. + :type policy_name: str + :param parameters: Policy to be created. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.WebApplicationFirewallPolicy + :keyword callable cls: A custom type or function that will be passed the direct response + :return: WebApplicationFirewallPolicy, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.WebApplicationFirewallPolicy + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.WebApplicationFirewallPolicy"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.create_or_update.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'policyName': self._serialize.url("policy_name", policy_name, 'str', max_length=128, min_length=0), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'WebApplicationFirewallPolicy') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('WebApplicationFirewallPolicy', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('WebApplicationFirewallPolicy', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies/{policyName}'} # type: ignore + + async def _delete_initial( + self, + resource_group_name: str, + policy_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'policyName': self._serialize.url("policy_name", policy_name, 'str', max_length=128, min_length=0), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies/{policyName}'} # type: ignore + + async def begin_delete( + self, + resource_group_name: str, + policy_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Deletes Policy. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param policy_name: The name of the policy. + :type policy_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the AsyncARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._delete_initial( + resource_group_name=resource_group_name, + policy_name=policy_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'policyName': self._serialize.url("policy_name", policy_name, 'str', max_length=128, min_length=0), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies/{policyName}'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_web_categories_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_web_categories_operations.py new file mode 100644 index 000000000000..836781699218 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/aio/operations/_web_categories_operations.py @@ -0,0 +1,167 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models as _models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class WebCategoriesOperations: + """WebCategoriesOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + async def get( + self, + name: str, + expand: Optional[str] = None, + **kwargs + ) -> "_models.AzureWebCategory": + """Gets the specified Azure Web Category. + + :param name: The name of the azureWebCategory. + :type name: str + :param expand: Expands resourceIds back referenced by the azureWebCategory resource. + :type expand: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: AzureWebCategory, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.AzureWebCategory + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.AzureWebCategory"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('AzureWebCategory', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/azureWebCategories/{name}'} # type: ignore + + def list_by_subscription( + self, + **kwargs + ) -> AsyncIterable["_models.AzureWebCategoryListResult"]: + """Gets all the Azure Web Categories in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either AzureWebCategoryListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.mgmt.network.v2021_02_01.models.AzureWebCategoryListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.AzureWebCategoryListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_subscription.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('AzureWebCategoryListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list_by_subscription.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/azureWebCategories'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/models/__init__.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/models/__init__.py new file mode 100644 index 000000000000..6cece057f6f2 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/models/__init__.py @@ -0,0 +1,2033 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +try: + from ._models_py3 import AadAuthenticationParameters + from ._models_py3 import AddressSpace + from ._models_py3 import ApplicationGateway + from ._models_py3 import ApplicationGatewayAuthenticationCertificate + from ._models_py3 import ApplicationGatewayAutoscaleConfiguration + from ._models_py3 import ApplicationGatewayAvailableSslOptions + from ._models_py3 import ApplicationGatewayAvailableSslPredefinedPolicies + from ._models_py3 import ApplicationGatewayAvailableWafRuleSetsResult + from ._models_py3 import ApplicationGatewayBackendAddress + from ._models_py3 import ApplicationGatewayBackendAddressPool + from ._models_py3 import ApplicationGatewayBackendHealth + from ._models_py3 import ApplicationGatewayBackendHealthHttpSettings + from ._models_py3 import ApplicationGatewayBackendHealthOnDemand + from ._models_py3 import ApplicationGatewayBackendHealthPool + from ._models_py3 import ApplicationGatewayBackendHealthServer + from ._models_py3 import ApplicationGatewayBackendHttpSettings + from ._models_py3 import ApplicationGatewayClientAuthConfiguration + from ._models_py3 import ApplicationGatewayConnectionDraining + from ._models_py3 import ApplicationGatewayCustomError + from ._models_py3 import ApplicationGatewayFirewallDisabledRuleGroup + from ._models_py3 import ApplicationGatewayFirewallExclusion + from ._models_py3 import ApplicationGatewayFirewallRule + from ._models_py3 import ApplicationGatewayFirewallRuleGroup + from ._models_py3 import ApplicationGatewayFirewallRuleSet + from ._models_py3 import ApplicationGatewayFrontendIPConfiguration + from ._models_py3 import ApplicationGatewayFrontendPort + from ._models_py3 import ApplicationGatewayHeaderConfiguration + from ._models_py3 import ApplicationGatewayHttpListener + from ._models_py3 import ApplicationGatewayIPConfiguration + from ._models_py3 import ApplicationGatewayListResult + from ._models_py3 import ApplicationGatewayOnDemandProbe + from ._models_py3 import ApplicationGatewayPathRule + from ._models_py3 import ApplicationGatewayPrivateEndpointConnection + from ._models_py3 import ApplicationGatewayPrivateEndpointConnectionListResult + from ._models_py3 import ApplicationGatewayPrivateLinkConfiguration + from ._models_py3 import ApplicationGatewayPrivateLinkIpConfiguration + from ._models_py3 import ApplicationGatewayPrivateLinkResource + from ._models_py3 import ApplicationGatewayPrivateLinkResourceListResult + from ._models_py3 import ApplicationGatewayProbe + from ._models_py3 import ApplicationGatewayProbeHealthResponseMatch + from ._models_py3 import ApplicationGatewayRedirectConfiguration + from ._models_py3 import ApplicationGatewayRequestRoutingRule + from ._models_py3 import ApplicationGatewayRewriteRule + from ._models_py3 import ApplicationGatewayRewriteRuleActionSet + from ._models_py3 import ApplicationGatewayRewriteRuleCondition + from ._models_py3 import ApplicationGatewayRewriteRuleSet + from ._models_py3 import ApplicationGatewaySku + from ._models_py3 import ApplicationGatewaySslCertificate + from ._models_py3 import ApplicationGatewaySslPolicy + from ._models_py3 import ApplicationGatewaySslPredefinedPolicy + from ._models_py3 import ApplicationGatewaySslProfile + from ._models_py3 import ApplicationGatewayTrustedClientCertificate + from ._models_py3 import ApplicationGatewayTrustedRootCertificate + from ._models_py3 import ApplicationGatewayUrlConfiguration + from ._models_py3 import ApplicationGatewayUrlPathMap + from ._models_py3 import ApplicationGatewayWebApplicationFirewallConfiguration + from ._models_py3 import ApplicationRule + from ._models_py3 import ApplicationSecurityGroup + from ._models_py3 import ApplicationSecurityGroupListResult + from ._models_py3 import AuthorizationListResult + from ._models_py3 import AutoApprovedPrivateLinkService + from ._models_py3 import AutoApprovedPrivateLinkServicesResult + from ._models_py3 import Availability + from ._models_py3 import AvailableDelegation + from ._models_py3 import AvailableDelegationsResult + from ._models_py3 import AvailablePrivateEndpointType + from ._models_py3 import AvailablePrivateEndpointTypesResult + from ._models_py3 import AvailableProvidersList + from ._models_py3 import AvailableProvidersListCity + from ._models_py3 import AvailableProvidersListCountry + from ._models_py3 import AvailableProvidersListParameters + from ._models_py3 import AvailableProvidersListState + from ._models_py3 import AvailableServiceAlias + from ._models_py3 import AvailableServiceAliasesResult + from ._models_py3 import AzureAsyncOperationResult + from ._models_py3 import AzureFirewall + from ._models_py3 import AzureFirewallApplicationRule + from ._models_py3 import AzureFirewallApplicationRuleCollection + from ._models_py3 import AzureFirewallApplicationRuleProtocol + from ._models_py3 import AzureFirewallFqdnTag + from ._models_py3 import AzureFirewallFqdnTagListResult + from ._models_py3 import AzureFirewallIPConfiguration + from ._models_py3 import AzureFirewallIpGroups + from ._models_py3 import AzureFirewallListResult + from ._models_py3 import AzureFirewallNatRCAction + from ._models_py3 import AzureFirewallNatRule + from ._models_py3 import AzureFirewallNatRuleCollection + from ._models_py3 import AzureFirewallNetworkRule + from ._models_py3 import AzureFirewallNetworkRuleCollection + from ._models_py3 import AzureFirewallPublicIPAddress + from ._models_py3 import AzureFirewallRCAction + from ._models_py3 import AzureFirewallSku + from ._models_py3 import AzureReachabilityReport + from ._models_py3 import AzureReachabilityReportItem + from ._models_py3 import AzureReachabilityReportLatencyInfo + from ._models_py3 import AzureReachabilityReportLocation + from ._models_py3 import AzureReachabilityReportParameters + from ._models_py3 import AzureWebCategory + from ._models_py3 import AzureWebCategoryListResult + from ._models_py3 import BGPCommunity + from ._models_py3 import BackendAddressPool + from ._models_py3 import BastionActiveSession + from ._models_py3 import BastionActiveSessionListResult + from ._models_py3 import BastionHost + from ._models_py3 import BastionHostIPConfiguration + from ._models_py3 import BastionHostListResult + from ._models_py3 import BastionSessionDeleteResult + from ._models_py3 import BastionSessionState + from ._models_py3 import BastionShareableLink + from ._models_py3 import BastionShareableLinkListRequest + from ._models_py3 import BastionShareableLinkListResult + from ._models_py3 import BgpConnection + from ._models_py3 import BgpPeerStatus + from ._models_py3 import BgpPeerStatusListResult + from ._models_py3 import BgpServiceCommunity + from ._models_py3 import BgpServiceCommunityListResult + from ._models_py3 import BgpSettings + from ._models_py3 import BreakOutCategoryPolicies + from ._models_py3 import CheckPrivateLinkServiceVisibilityRequest + from ._models_py3 import CloudErrorBody + from ._models_py3 import Components1Jq1T4ISchemasManagedserviceidentityPropertiesUserassignedidentitiesAdditionalproperties + from ._models_py3 import ConnectionMonitor + from ._models_py3 import ConnectionMonitorDestination + from ._models_py3 import ConnectionMonitorEndpoint + from ._models_py3 import ConnectionMonitorEndpointFilter + from ._models_py3 import ConnectionMonitorEndpointFilterItem + from ._models_py3 import ConnectionMonitorEndpointScope + from ._models_py3 import ConnectionMonitorEndpointScopeItem + from ._models_py3 import ConnectionMonitorHttpConfiguration + from ._models_py3 import ConnectionMonitorIcmpConfiguration + from ._models_py3 import ConnectionMonitorListResult + from ._models_py3 import ConnectionMonitorOutput + from ._models_py3 import ConnectionMonitorParameters + from ._models_py3 import ConnectionMonitorQueryResult + from ._models_py3 import ConnectionMonitorResult + from ._models_py3 import ConnectionMonitorResultProperties + from ._models_py3 import ConnectionMonitorSource + from ._models_py3 import ConnectionMonitorSuccessThreshold + from ._models_py3 import ConnectionMonitorTcpConfiguration + from ._models_py3 import ConnectionMonitorTestConfiguration + from ._models_py3 import ConnectionMonitorTestGroup + from ._models_py3 import ConnectionMonitorWorkspaceSettings + from ._models_py3 import ConnectionResetSharedKey + from ._models_py3 import ConnectionSharedKey + from ._models_py3 import ConnectionStateSnapshot + from ._models_py3 import ConnectivityDestination + from ._models_py3 import ConnectivityHop + from ._models_py3 import ConnectivityInformation + from ._models_py3 import ConnectivityIssue + from ._models_py3 import ConnectivityParameters + from ._models_py3 import ConnectivitySource + from ._models_py3 import Container + from ._models_py3 import ContainerNetworkInterface + from ._models_py3 import ContainerNetworkInterfaceConfiguration + from ._models_py3 import ContainerNetworkInterfaceIpConfiguration + from ._models_py3 import CustomDnsConfigPropertiesFormat + from ._models_py3 import CustomIpPrefix + from ._models_py3 import CustomIpPrefixListResult + from ._models_py3 import DdosCustomPolicy + from ._models_py3 import DdosProtectionPlan + from ._models_py3 import DdosProtectionPlanListResult + from ._models_py3 import DdosSettings + from ._models_py3 import Delegation + from ._models_py3 import DeviceProperties + from ._models_py3 import DhcpOptions + from ._models_py3 import Dimension + from ._models_py3 import DnsNameAvailabilityResult + from ._models_py3 import DnsSettings + from ._models_py3 import DscpConfiguration + from ._models_py3 import DscpConfigurationListResult + from ._models_py3 import EffectiveNetworkSecurityGroup + from ._models_py3 import EffectiveNetworkSecurityGroupAssociation + from ._models_py3 import EffectiveNetworkSecurityGroupListResult + from ._models_py3 import EffectiveNetworkSecurityRule + from ._models_py3 import EffectiveRoute + from ._models_py3 import EffectiveRouteListResult + from ._models_py3 import EffectiveRoutesParameters + from ._models_py3 import EndpointServiceResult + from ._models_py3 import EndpointServicesListResult + from ._models_py3 import Error + from ._models_py3 import ErrorDetails + from ._models_py3 import ErrorResponse + from ._models_py3 import EvaluatedNetworkSecurityGroup + from ._models_py3 import ExpressRouteCircuit + from ._models_py3 import ExpressRouteCircuitArpTable + from ._models_py3 import ExpressRouteCircuitAuthorization + from ._models_py3 import ExpressRouteCircuitConnection + from ._models_py3 import ExpressRouteCircuitConnectionListResult + from ._models_py3 import ExpressRouteCircuitListResult + from ._models_py3 import ExpressRouteCircuitPeering + from ._models_py3 import ExpressRouteCircuitPeeringConfig + from ._models_py3 import ExpressRouteCircuitPeeringId + from ._models_py3 import ExpressRouteCircuitPeeringListResult + from ._models_py3 import ExpressRouteCircuitReference + from ._models_py3 import ExpressRouteCircuitRoutesTable + from ._models_py3 import ExpressRouteCircuitRoutesTableSummary + from ._models_py3 import ExpressRouteCircuitServiceProviderProperties + from ._models_py3 import ExpressRouteCircuitSku + from ._models_py3 import ExpressRouteCircuitStats + from ._models_py3 import ExpressRouteCircuitsArpTableListResult + from ._models_py3 import ExpressRouteCircuitsRoutesTableListResult + from ._models_py3 import ExpressRouteCircuitsRoutesTableSummaryListResult + from ._models_py3 import ExpressRouteConnection + from ._models_py3 import ExpressRouteConnectionId + from ._models_py3 import ExpressRouteConnectionList + from ._models_py3 import ExpressRouteCrossConnection + from ._models_py3 import ExpressRouteCrossConnectionListResult + from ._models_py3 import ExpressRouteCrossConnectionPeering + from ._models_py3 import ExpressRouteCrossConnectionPeeringList + from ._models_py3 import ExpressRouteCrossConnectionRoutesTableSummary + from ._models_py3 import ExpressRouteCrossConnectionsRoutesTableSummaryListResult + from ._models_py3 import ExpressRouteGateway + from ._models_py3 import ExpressRouteGatewayList + from ._models_py3 import ExpressRouteGatewayPropertiesAutoScaleConfiguration + from ._models_py3 import ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds + from ._models_py3 import ExpressRouteLink + from ._models_py3 import ExpressRouteLinkListResult + from ._models_py3 import ExpressRouteLinkMacSecConfig + from ._models_py3 import ExpressRoutePort + from ._models_py3 import ExpressRoutePortListResult + from ._models_py3 import ExpressRoutePortsLocation + from ._models_py3 import ExpressRoutePortsLocationBandwidths + from ._models_py3 import ExpressRoutePortsLocationListResult + from ._models_py3 import ExpressRouteServiceProvider + from ._models_py3 import ExpressRouteServiceProviderBandwidthsOffered + from ._models_py3 import ExpressRouteServiceProviderListResult + from ._models_py3 import ExtendedLocation + from ._models_py3 import FirewallPolicy + from ._models_py3 import FirewallPolicyCertificateAuthority + from ._models_py3 import FirewallPolicyFilterRuleCollection + from ._models_py3 import FirewallPolicyFilterRuleCollectionAction + from ._models_py3 import FirewallPolicyInsights + from ._models_py3 import FirewallPolicyIntrusionDetection + from ._models_py3 import FirewallPolicyIntrusionDetectionBypassTrafficSpecifications + from ._models_py3 import FirewallPolicyIntrusionDetectionConfiguration + from ._models_py3 import FirewallPolicyIntrusionDetectionSignatureSpecification + from ._models_py3 import FirewallPolicyListResult + from ._models_py3 import FirewallPolicyLogAnalyticsResources + from ._models_py3 import FirewallPolicyLogAnalyticsWorkspace + from ._models_py3 import FirewallPolicyNatRuleCollection + from ._models_py3 import FirewallPolicyNatRuleCollectionAction + from ._models_py3 import FirewallPolicyRule + from ._models_py3 import FirewallPolicyRuleApplicationProtocol + from ._models_py3 import FirewallPolicyRuleCollection + from ._models_py3 import FirewallPolicyRuleCollectionGroup + from ._models_py3 import FirewallPolicyRuleCollectionGroupListResult + from ._models_py3 import FirewallPolicySNAT + from ._models_py3 import FirewallPolicySku + from ._models_py3 import FirewallPolicyThreatIntelWhitelist + from ._models_py3 import FirewallPolicyTransportSecurity + from ._models_py3 import FlowLog + from ._models_py3 import FlowLogFormatParameters + from ._models_py3 import FlowLogInformation + from ._models_py3 import FlowLogListResult + from ._models_py3 import FlowLogStatusParameters + from ._models_py3 import FrontendIPConfiguration + from ._models_py3 import GatewayLoadBalancerTunnelInterface + from ._models_py3 import GatewayRoute + from ._models_py3 import GatewayRouteListResult + from ._models_py3 import GenerateExpressRoutePortsLOARequest + from ._models_py3 import GenerateExpressRoutePortsLOAResult + from ._models_py3 import GetVpnSitesConfigurationRequest + from ._models_py3 import HTTPConfiguration + from ._models_py3 import HTTPHeader + from ._models_py3 import HopLink + from ._models_py3 import HubIPAddresses + from ._models_py3 import HubIpConfiguration + from ._models_py3 import HubPublicIPAddresses + from ._models_py3 import HubRoute + from ._models_py3 import HubRouteTable + from ._models_py3 import HubVirtualNetworkConnection + from ._models_py3 import IPAddressAvailabilityResult + from ._models_py3 import IPConfiguration + from ._models_py3 import IPConfigurationBgpPeeringAddress + from ._models_py3 import IPConfigurationProfile + from ._models_py3 import InboundNatPool + from ._models_py3 import InboundNatRule + from ._models_py3 import InboundNatRuleListResult + from ._models_py3 import InboundSecurityRule + from ._models_py3 import InboundSecurityRules + from ._models_py3 import IpAllocation + from ._models_py3 import IpAllocationListResult + from ._models_py3 import IpGroup + from ._models_py3 import IpGroupListResult + from ._models_py3 import IpTag + from ._models_py3 import IpsecPolicy + from ._models_py3 import Ipv6CircuitConnectionConfig + from ._models_py3 import Ipv6ExpressRouteCircuitPeeringConfig + from ._models_py3 import ListHubRouteTablesResult + from ._models_py3 import ListHubVirtualNetworkConnectionsResult + from ._models_py3 import ListP2SVpnGatewaysResult + from ._models_py3 import ListVirtualHubBgpConnectionResults + from ._models_py3 import ListVirtualHubIpConfigurationResults + from ._models_py3 import ListVirtualHubRouteTableV2SResult + from ._models_py3 import ListVirtualHubsResult + from ._models_py3 import ListVirtualNetworkGatewayNatRulesResult + from ._models_py3 import ListVirtualWANsResult + from ._models_py3 import ListVpnConnectionsResult + from ._models_py3 import ListVpnGatewayNatRulesResult + from ._models_py3 import ListVpnGatewaysResult + from ._models_py3 import ListVpnServerConfigurationsResult + from ._models_py3 import ListVpnSiteLinkConnectionsResult + from ._models_py3 import ListVpnSiteLinksResult + from ._models_py3 import ListVpnSitesResult + from ._models_py3 import LoadBalancer + from ._models_py3 import LoadBalancerBackendAddress + from ._models_py3 import LoadBalancerBackendAddressPoolListResult + from ._models_py3 import LoadBalancerFrontendIPConfigurationListResult + from ._models_py3 import LoadBalancerListResult + from ._models_py3 import LoadBalancerLoadBalancingRuleListResult + from ._models_py3 import LoadBalancerOutboundRuleListResult + from ._models_py3 import LoadBalancerProbeListResult + from ._models_py3 import LoadBalancerSku + from ._models_py3 import LoadBalancerVipSwapRequest + from ._models_py3 import LoadBalancerVipSwapRequestFrontendIPConfiguration + from ._models_py3 import LoadBalancingRule + from ._models_py3 import LocalNetworkGateway + from ._models_py3 import LocalNetworkGatewayListResult + from ._models_py3 import LogSpecification + from ._models_py3 import ManagedRuleGroupOverride + from ._models_py3 import ManagedRuleOverride + from ._models_py3 import ManagedRuleSet + from ._models_py3 import ManagedRulesDefinition + from ._models_py3 import ManagedServiceIdentity + from ._models_py3 import MatchCondition + from ._models_py3 import MatchVariable + from ._models_py3 import MatchedRule + from ._models_py3 import MetricSpecification + from ._models_py3 import NatGateway + from ._models_py3 import NatGatewayListResult + from ._models_py3 import NatGatewaySku + from ._models_py3 import NatRule + from ._models_py3 import NetworkConfigurationDiagnosticParameters + from ._models_py3 import NetworkConfigurationDiagnosticProfile + from ._models_py3 import NetworkConfigurationDiagnosticResponse + from ._models_py3 import NetworkConfigurationDiagnosticResult + from ._models_py3 import NetworkIntentPolicy + from ._models_py3 import NetworkIntentPolicyConfiguration + from ._models_py3 import NetworkInterface + from ._models_py3 import NetworkInterfaceAssociation + from ._models_py3 import NetworkInterfaceDnsSettings + from ._models_py3 import NetworkInterfaceIPConfiguration + from ._models_py3 import NetworkInterfaceIPConfigurationListResult + from ._models_py3 import NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties + from ._models_py3 import NetworkInterfaceListResult + from ._models_py3 import NetworkInterfaceLoadBalancerListResult + from ._models_py3 import NetworkInterfaceTapConfiguration + from ._models_py3 import NetworkInterfaceTapConfigurationListResult + from ._models_py3 import NetworkProfile + from ._models_py3 import NetworkProfileListResult + from ._models_py3 import NetworkRule + from ._models_py3 import NetworkSecurityGroup + from ._models_py3 import NetworkSecurityGroupListResult + from ._models_py3 import NetworkSecurityGroupResult + from ._models_py3 import NetworkSecurityRulesEvaluationResult + from ._models_py3 import NetworkVirtualAppliance + from ._models_py3 import NetworkVirtualApplianceListResult + from ._models_py3 import NetworkVirtualApplianceSiteListResult + from ._models_py3 import NetworkVirtualApplianceSku + from ._models_py3 import NetworkVirtualApplianceSkuInstances + from ._models_py3 import NetworkVirtualApplianceSkuListResult + from ._models_py3 import NetworkWatcher + from ._models_py3 import NetworkWatcherListResult + from ._models_py3 import NextHopParameters + from ._models_py3 import NextHopResult + from ._models_py3 import O365BreakOutCategoryPolicies + from ._models_py3 import O365PolicyProperties + from ._models_py3 import Office365PolicyProperties + from ._models_py3 import Operation + from ._models_py3 import OperationDisplay + from ._models_py3 import OperationListResult + from ._models_py3 import OperationPropertiesFormatServiceSpecification + from ._models_py3 import OutboundRule + from ._models_py3 import OwaspCrsExclusionEntry + from ._models_py3 import P2SConnectionConfiguration + from ._models_py3 import P2SVpnConnectionHealth + from ._models_py3 import P2SVpnConnectionHealthRequest + from ._models_py3 import P2SVpnConnectionRequest + from ._models_py3 import P2SVpnGateway + from ._models_py3 import P2SVpnProfileParameters + from ._models_py3 import PacketCapture + from ._models_py3 import PacketCaptureFilter + from ._models_py3 import PacketCaptureListResult + from ._models_py3 import PacketCaptureParameters + from ._models_py3 import PacketCaptureQueryStatusResult + from ._models_py3 import PacketCaptureResult + from ._models_py3 import PacketCaptureResultProperties + from ._models_py3 import PacketCaptureStorageLocation + from ._models_py3 import PatchRouteFilter + from ._models_py3 import PatchRouteFilterRule + from ._models_py3 import PeerExpressRouteCircuitConnection + from ._models_py3 import PeerExpressRouteCircuitConnectionListResult + from ._models_py3 import PeerRoute + from ._models_py3 import PeerRouteList + from ._models_py3 import PolicySettings + from ._models_py3 import PrepareNetworkPoliciesRequest + from ._models_py3 import PrivateDnsZoneConfig + from ._models_py3 import PrivateDnsZoneGroup + from ._models_py3 import PrivateDnsZoneGroupListResult + from ._models_py3 import PrivateEndpoint + from ._models_py3 import PrivateEndpointConnection + from ._models_py3 import PrivateEndpointConnectionListResult + from ._models_py3 import PrivateEndpointListResult + from ._models_py3 import PrivateLinkService + from ._models_py3 import PrivateLinkServiceConnection + from ._models_py3 import PrivateLinkServiceConnectionState + from ._models_py3 import PrivateLinkServiceIpConfiguration + from ._models_py3 import PrivateLinkServiceListResult + from ._models_py3 import PrivateLinkServicePropertiesAutoApproval + from ._models_py3 import PrivateLinkServicePropertiesVisibility + from ._models_py3 import PrivateLinkServiceVisibility + from ._models_py3 import Probe + from ._models_py3 import PropagatedRouteTable + from ._models_py3 import ProtocolConfiguration + from ._models_py3 import ProtocolCustomSettingsFormat + from ._models_py3 import PublicIPAddress + from ._models_py3 import PublicIPAddressDnsSettings + from ._models_py3 import PublicIPAddressListResult + from ._models_py3 import PublicIPAddressSku + from ._models_py3 import PublicIPPrefix + from ._models_py3 import PublicIPPrefixListResult + from ._models_py3 import PublicIPPrefixSku + from ._models_py3 import QosIpRange + from ._models_py3 import QosPortRange + from ._models_py3 import QueryTroubleshootingParameters + from ._models_py3 import RadiusServer + from ._models_py3 import RecordSet + from ._models_py3 import ReferencedPublicIpAddress + from ._models_py3 import Resource + from ._models_py3 import ResourceNavigationLink + from ._models_py3 import ResourceNavigationLinksListResult + from ._models_py3 import ResourceSet + from ._models_py3 import RetentionPolicyParameters + from ._models_py3 import Route + from ._models_py3 import RouteFilter + from ._models_py3 import RouteFilterListResult + from ._models_py3 import RouteFilterRule + from ._models_py3 import RouteFilterRuleListResult + from ._models_py3 import RouteListResult + from ._models_py3 import RouteTable + from ._models_py3 import RouteTableListResult + from ._models_py3 import RoutingConfiguration + from ._models_py3 import SecurityGroupNetworkInterface + from ._models_py3 import SecurityGroupViewParameters + from ._models_py3 import SecurityGroupViewResult + from ._models_py3 import SecurityPartnerProvider + from ._models_py3 import SecurityPartnerProviderListResult + from ._models_py3 import SecurityRule + from ._models_py3 import SecurityRuleAssociations + from ._models_py3 import SecurityRuleListResult + from ._models_py3 import ServiceAssociationLink + from ._models_py3 import ServiceAssociationLinksListResult + from ._models_py3 import ServiceEndpointPolicy + from ._models_py3 import ServiceEndpointPolicyDefinition + from ._models_py3 import ServiceEndpointPolicyDefinitionListResult + from ._models_py3 import ServiceEndpointPolicyListResult + from ._models_py3 import ServiceEndpointPropertiesFormat + from ._models_py3 import ServiceTagInformation + from ._models_py3 import ServiceTagInformationPropertiesFormat + from ._models_py3 import ServiceTagsListResult + from ._models_py3 import SessionIds + from ._models_py3 import Sku + from ._models_py3 import StaticRoute + from ._models_py3 import SubResource + from ._models_py3 import Subnet + from ._models_py3 import SubnetAssociation + from ._models_py3 import SubnetListResult + from ._models_py3 import TagsObject + from ._models_py3 import Topology + from ._models_py3 import TopologyAssociation + from ._models_py3 import TopologyParameters + from ._models_py3 import TopologyResource + from ._models_py3 import TrafficAnalyticsConfigurationProperties + from ._models_py3 import TrafficAnalyticsProperties + from ._models_py3 import TrafficSelectorPolicy + from ._models_py3 import TroubleshootingDetails + from ._models_py3 import TroubleshootingParameters + from ._models_py3 import TroubleshootingRecommendedActions + from ._models_py3 import TroubleshootingResult + from ._models_py3 import TunnelConnectionHealth + from ._models_py3 import UnprepareNetworkPoliciesRequest + from ._models_py3 import Usage + from ._models_py3 import UsageName + from ._models_py3 import UsagesListResult + from ._models_py3 import VM + from ._models_py3 import VerificationIPFlowParameters + from ._models_py3 import VerificationIPFlowResult + from ._models_py3 import VirtualApplianceNicProperties + from ._models_py3 import VirtualApplianceSite + from ._models_py3 import VirtualApplianceSkuProperties + from ._models_py3 import VirtualHub + from ._models_py3 import VirtualHubEffectiveRoute + from ._models_py3 import VirtualHubEffectiveRouteList + from ._models_py3 import VirtualHubId + from ._models_py3 import VirtualHubRoute + from ._models_py3 import VirtualHubRouteTable + from ._models_py3 import VirtualHubRouteTableV2 + from ._models_py3 import VirtualHubRouteV2 + from ._models_py3 import VirtualNetwork + from ._models_py3 import VirtualNetworkBgpCommunities + from ._models_py3 import VirtualNetworkConnectionGatewayReference + from ._models_py3 import VirtualNetworkGateway + from ._models_py3 import VirtualNetworkGatewayConnection + from ._models_py3 import VirtualNetworkGatewayConnectionListEntity + from ._models_py3 import VirtualNetworkGatewayConnectionListResult + from ._models_py3 import VirtualNetworkGatewayIPConfiguration + from ._models_py3 import VirtualNetworkGatewayListConnectionsResult + from ._models_py3 import VirtualNetworkGatewayListResult + from ._models_py3 import VirtualNetworkGatewayNatRule + from ._models_py3 import VirtualNetworkGatewaySku + from ._models_py3 import VirtualNetworkListResult + from ._models_py3 import VirtualNetworkListUsageResult + from ._models_py3 import VirtualNetworkPeering + from ._models_py3 import VirtualNetworkPeeringListResult + from ._models_py3 import VirtualNetworkTap + from ._models_py3 import VirtualNetworkTapListResult + from ._models_py3 import VirtualNetworkUsage + from ._models_py3 import VirtualNetworkUsageName + from ._models_py3 import VirtualRouter + from ._models_py3 import VirtualRouterListResult + from ._models_py3 import VirtualRouterPeering + from ._models_py3 import VirtualRouterPeeringListResult + from ._models_py3 import VirtualWAN + from ._models_py3 import VirtualWanSecurityProvider + from ._models_py3 import VirtualWanSecurityProviders + from ._models_py3 import VirtualWanVpnProfileParameters + from ._models_py3 import VnetRoute + from ._models_py3 import VpnClientConfiguration + from ._models_py3 import VpnClientConnectionHealth + from ._models_py3 import VpnClientConnectionHealthDetail + from ._models_py3 import VpnClientConnectionHealthDetailListResult + from ._models_py3 import VpnClientIPsecParameters + from ._models_py3 import VpnClientParameters + from ._models_py3 import VpnClientRevokedCertificate + from ._models_py3 import VpnClientRootCertificate + from ._models_py3 import VpnConnection + from ._models_py3 import VpnConnectionPacketCaptureStartParameters + from ._models_py3 import VpnConnectionPacketCaptureStopParameters + from ._models_py3 import VpnDeviceScriptParameters + from ._models_py3 import VpnGateway + from ._models_py3 import VpnGatewayIpConfiguration + from ._models_py3 import VpnGatewayNatRule + from ._models_py3 import VpnGatewayPacketCaptureStartParameters + from ._models_py3 import VpnGatewayPacketCaptureStopParameters + from ._models_py3 import VpnLinkBgpSettings + from ._models_py3 import VpnLinkProviderProperties + from ._models_py3 import VpnNatRuleMapping + from ._models_py3 import VpnPacketCaptureStartParameters + from ._models_py3 import VpnPacketCaptureStopParameters + from ._models_py3 import VpnProfileResponse + from ._models_py3 import VpnServerConfigRadiusClientRootCertificate + from ._models_py3 import VpnServerConfigRadiusServerRootCertificate + from ._models_py3 import VpnServerConfigVpnClientRevokedCertificate + from ._models_py3 import VpnServerConfigVpnClientRootCertificate + from ._models_py3 import VpnServerConfiguration + from ._models_py3 import VpnServerConfigurationsResponse + from ._models_py3 import VpnSite + from ._models_py3 import VpnSiteId + from ._models_py3 import VpnSiteLink + from ._models_py3 import VpnSiteLinkConnection + from ._models_py3 import WebApplicationFirewallCustomRule + from ._models_py3 import WebApplicationFirewallPolicy + from ._models_py3 import WebApplicationFirewallPolicyListResult +except (SyntaxError, ImportError): + from ._models import AadAuthenticationParameters # type: ignore + from ._models import AddressSpace # type: ignore + from ._models import ApplicationGateway # type: ignore + from ._models import ApplicationGatewayAuthenticationCertificate # type: ignore + from ._models import ApplicationGatewayAutoscaleConfiguration # type: ignore + from ._models import ApplicationGatewayAvailableSslOptions # type: ignore + from ._models import ApplicationGatewayAvailableSslPredefinedPolicies # type: ignore + from ._models import ApplicationGatewayAvailableWafRuleSetsResult # type: ignore + from ._models import ApplicationGatewayBackendAddress # type: ignore + from ._models import ApplicationGatewayBackendAddressPool # type: ignore + from ._models import ApplicationGatewayBackendHealth # type: ignore + from ._models import ApplicationGatewayBackendHealthHttpSettings # type: ignore + from ._models import ApplicationGatewayBackendHealthOnDemand # type: ignore + from ._models import ApplicationGatewayBackendHealthPool # type: ignore + from ._models import ApplicationGatewayBackendHealthServer # type: ignore + from ._models import ApplicationGatewayBackendHttpSettings # type: ignore + from ._models import ApplicationGatewayClientAuthConfiguration # type: ignore + from ._models import ApplicationGatewayConnectionDraining # type: ignore + from ._models import ApplicationGatewayCustomError # type: ignore + from ._models import ApplicationGatewayFirewallDisabledRuleGroup # type: ignore + from ._models import ApplicationGatewayFirewallExclusion # type: ignore + from ._models import ApplicationGatewayFirewallRule # type: ignore + from ._models import ApplicationGatewayFirewallRuleGroup # type: ignore + from ._models import ApplicationGatewayFirewallRuleSet # type: ignore + from ._models import ApplicationGatewayFrontendIPConfiguration # type: ignore + from ._models import ApplicationGatewayFrontendPort # type: ignore + from ._models import ApplicationGatewayHeaderConfiguration # type: ignore + from ._models import ApplicationGatewayHttpListener # type: ignore + from ._models import ApplicationGatewayIPConfiguration # type: ignore + from ._models import ApplicationGatewayListResult # type: ignore + from ._models import ApplicationGatewayOnDemandProbe # type: ignore + from ._models import ApplicationGatewayPathRule # type: ignore + from ._models import ApplicationGatewayPrivateEndpointConnection # type: ignore + from ._models import ApplicationGatewayPrivateEndpointConnectionListResult # type: ignore + from ._models import ApplicationGatewayPrivateLinkConfiguration # type: ignore + from ._models import ApplicationGatewayPrivateLinkIpConfiguration # type: ignore + from ._models import ApplicationGatewayPrivateLinkResource # type: ignore + from ._models import ApplicationGatewayPrivateLinkResourceListResult # type: ignore + from ._models import ApplicationGatewayProbe # type: ignore + from ._models import ApplicationGatewayProbeHealthResponseMatch # type: ignore + from ._models import ApplicationGatewayRedirectConfiguration # type: ignore + from ._models import ApplicationGatewayRequestRoutingRule # type: ignore + from ._models import ApplicationGatewayRewriteRule # type: ignore + from ._models import ApplicationGatewayRewriteRuleActionSet # type: ignore + from ._models import ApplicationGatewayRewriteRuleCondition # type: ignore + from ._models import ApplicationGatewayRewriteRuleSet # type: ignore + from ._models import ApplicationGatewaySku # type: ignore + from ._models import ApplicationGatewaySslCertificate # type: ignore + from ._models import ApplicationGatewaySslPolicy # type: ignore + from ._models import ApplicationGatewaySslPredefinedPolicy # type: ignore + from ._models import ApplicationGatewaySslProfile # type: ignore + from ._models import ApplicationGatewayTrustedClientCertificate # type: ignore + from ._models import ApplicationGatewayTrustedRootCertificate # type: ignore + from ._models import ApplicationGatewayUrlConfiguration # type: ignore + from ._models import ApplicationGatewayUrlPathMap # type: ignore + from ._models import ApplicationGatewayWebApplicationFirewallConfiguration # type: ignore + from ._models import ApplicationRule # type: ignore + from ._models import ApplicationSecurityGroup # type: ignore + from ._models import ApplicationSecurityGroupListResult # type: ignore + from ._models import AuthorizationListResult # type: ignore + from ._models import AutoApprovedPrivateLinkService # type: ignore + from ._models import AutoApprovedPrivateLinkServicesResult # type: ignore + from ._models import Availability # type: ignore + from ._models import AvailableDelegation # type: ignore + from ._models import AvailableDelegationsResult # type: ignore + from ._models import AvailablePrivateEndpointType # type: ignore + from ._models import AvailablePrivateEndpointTypesResult # type: ignore + from ._models import AvailableProvidersList # type: ignore + from ._models import AvailableProvidersListCity # type: ignore + from ._models import AvailableProvidersListCountry # type: ignore + from ._models import AvailableProvidersListParameters # type: ignore + from ._models import AvailableProvidersListState # type: ignore + from ._models import AvailableServiceAlias # type: ignore + from ._models import AvailableServiceAliasesResult # type: ignore + from ._models import AzureAsyncOperationResult # type: ignore + from ._models import AzureFirewall # type: ignore + from ._models import AzureFirewallApplicationRule # type: ignore + from ._models import AzureFirewallApplicationRuleCollection # type: ignore + from ._models import AzureFirewallApplicationRuleProtocol # type: ignore + from ._models import AzureFirewallFqdnTag # type: ignore + from ._models import AzureFirewallFqdnTagListResult # type: ignore + from ._models import AzureFirewallIPConfiguration # type: ignore + from ._models import AzureFirewallIpGroups # type: ignore + from ._models import AzureFirewallListResult # type: ignore + from ._models import AzureFirewallNatRCAction # type: ignore + from ._models import AzureFirewallNatRule # type: ignore + from ._models import AzureFirewallNatRuleCollection # type: ignore + from ._models import AzureFirewallNetworkRule # type: ignore + from ._models import AzureFirewallNetworkRuleCollection # type: ignore + from ._models import AzureFirewallPublicIPAddress # type: ignore + from ._models import AzureFirewallRCAction # type: ignore + from ._models import AzureFirewallSku # type: ignore + from ._models import AzureReachabilityReport # type: ignore + from ._models import AzureReachabilityReportItem # type: ignore + from ._models import AzureReachabilityReportLatencyInfo # type: ignore + from ._models import AzureReachabilityReportLocation # type: ignore + from ._models import AzureReachabilityReportParameters # type: ignore + from ._models import AzureWebCategory # type: ignore + from ._models import AzureWebCategoryListResult # type: ignore + from ._models import BGPCommunity # type: ignore + from ._models import BackendAddressPool # type: ignore + from ._models import BastionActiveSession # type: ignore + from ._models import BastionActiveSessionListResult # type: ignore + from ._models import BastionHost # type: ignore + from ._models import BastionHostIPConfiguration # type: ignore + from ._models import BastionHostListResult # type: ignore + from ._models import BastionSessionDeleteResult # type: ignore + from ._models import BastionSessionState # type: ignore + from ._models import BastionShareableLink # type: ignore + from ._models import BastionShareableLinkListRequest # type: ignore + from ._models import BastionShareableLinkListResult # type: ignore + from ._models import BgpConnection # type: ignore + from ._models import BgpPeerStatus # type: ignore + from ._models import BgpPeerStatusListResult # type: ignore + from ._models import BgpServiceCommunity # type: ignore + from ._models import BgpServiceCommunityListResult # type: ignore + from ._models import BgpSettings # type: ignore + from ._models import BreakOutCategoryPolicies # type: ignore + from ._models import CheckPrivateLinkServiceVisibilityRequest # type: ignore + from ._models import CloudErrorBody # type: ignore + from ._models import Components1Jq1T4ISchemasManagedserviceidentityPropertiesUserassignedidentitiesAdditionalproperties # type: ignore + from ._models import ConnectionMonitor # type: ignore + from ._models import ConnectionMonitorDestination # type: ignore + from ._models import ConnectionMonitorEndpoint # type: ignore + from ._models import ConnectionMonitorEndpointFilter # type: ignore + from ._models import ConnectionMonitorEndpointFilterItem # type: ignore + from ._models import ConnectionMonitorEndpointScope # type: ignore + from ._models import ConnectionMonitorEndpointScopeItem # type: ignore + from ._models import ConnectionMonitorHttpConfiguration # type: ignore + from ._models import ConnectionMonitorIcmpConfiguration # type: ignore + from ._models import ConnectionMonitorListResult # type: ignore + from ._models import ConnectionMonitorOutput # type: ignore + from ._models import ConnectionMonitorParameters # type: ignore + from ._models import ConnectionMonitorQueryResult # type: ignore + from ._models import ConnectionMonitorResult # type: ignore + from ._models import ConnectionMonitorResultProperties # type: ignore + from ._models import ConnectionMonitorSource # type: ignore + from ._models import ConnectionMonitorSuccessThreshold # type: ignore + from ._models import ConnectionMonitorTcpConfiguration # type: ignore + from ._models import ConnectionMonitorTestConfiguration # type: ignore + from ._models import ConnectionMonitorTestGroup # type: ignore + from ._models import ConnectionMonitorWorkspaceSettings # type: ignore + from ._models import ConnectionResetSharedKey # type: ignore + from ._models import ConnectionSharedKey # type: ignore + from ._models import ConnectionStateSnapshot # type: ignore + from ._models import ConnectivityDestination # type: ignore + from ._models import ConnectivityHop # type: ignore + from ._models import ConnectivityInformation # type: ignore + from ._models import ConnectivityIssue # type: ignore + from ._models import ConnectivityParameters # type: ignore + from ._models import ConnectivitySource # type: ignore + from ._models import Container # type: ignore + from ._models import ContainerNetworkInterface # type: ignore + from ._models import ContainerNetworkInterfaceConfiguration # type: ignore + from ._models import ContainerNetworkInterfaceIpConfiguration # type: ignore + from ._models import CustomDnsConfigPropertiesFormat # type: ignore + from ._models import CustomIpPrefix # type: ignore + from ._models import CustomIpPrefixListResult # type: ignore + from ._models import DdosCustomPolicy # type: ignore + from ._models import DdosProtectionPlan # type: ignore + from ._models import DdosProtectionPlanListResult # type: ignore + from ._models import DdosSettings # type: ignore + from ._models import Delegation # type: ignore + from ._models import DeviceProperties # type: ignore + from ._models import DhcpOptions # type: ignore + from ._models import Dimension # type: ignore + from ._models import DnsNameAvailabilityResult # type: ignore + from ._models import DnsSettings # type: ignore + from ._models import DscpConfiguration # type: ignore + from ._models import DscpConfigurationListResult # type: ignore + from ._models import EffectiveNetworkSecurityGroup # type: ignore + from ._models import EffectiveNetworkSecurityGroupAssociation # type: ignore + from ._models import EffectiveNetworkSecurityGroupListResult # type: ignore + from ._models import EffectiveNetworkSecurityRule # type: ignore + from ._models import EffectiveRoute # type: ignore + from ._models import EffectiveRouteListResult # type: ignore + from ._models import EffectiveRoutesParameters # type: ignore + from ._models import EndpointServiceResult # type: ignore + from ._models import EndpointServicesListResult # type: ignore + from ._models import Error # type: ignore + from ._models import ErrorDetails # type: ignore + from ._models import ErrorResponse # type: ignore + from ._models import EvaluatedNetworkSecurityGroup # type: ignore + from ._models import ExpressRouteCircuit # type: ignore + from ._models import ExpressRouteCircuitArpTable # type: ignore + from ._models import ExpressRouteCircuitAuthorization # type: ignore + from ._models import ExpressRouteCircuitConnection # type: ignore + from ._models import ExpressRouteCircuitConnectionListResult # type: ignore + from ._models import ExpressRouteCircuitListResult # type: ignore + from ._models import ExpressRouteCircuitPeering # type: ignore + from ._models import ExpressRouteCircuitPeeringConfig # type: ignore + from ._models import ExpressRouteCircuitPeeringId # type: ignore + from ._models import ExpressRouteCircuitPeeringListResult # type: ignore + from ._models import ExpressRouteCircuitReference # type: ignore + from ._models import ExpressRouteCircuitRoutesTable # type: ignore + from ._models import ExpressRouteCircuitRoutesTableSummary # type: ignore + from ._models import ExpressRouteCircuitServiceProviderProperties # type: ignore + from ._models import ExpressRouteCircuitSku # type: ignore + from ._models import ExpressRouteCircuitStats # type: ignore + from ._models import ExpressRouteCircuitsArpTableListResult # type: ignore + from ._models import ExpressRouteCircuitsRoutesTableListResult # type: ignore + from ._models import ExpressRouteCircuitsRoutesTableSummaryListResult # type: ignore + from ._models import ExpressRouteConnection # type: ignore + from ._models import ExpressRouteConnectionId # type: ignore + from ._models import ExpressRouteConnectionList # type: ignore + from ._models import ExpressRouteCrossConnection # type: ignore + from ._models import ExpressRouteCrossConnectionListResult # type: ignore + from ._models import ExpressRouteCrossConnectionPeering # type: ignore + from ._models import ExpressRouteCrossConnectionPeeringList # type: ignore + from ._models import ExpressRouteCrossConnectionRoutesTableSummary # type: ignore + from ._models import ExpressRouteCrossConnectionsRoutesTableSummaryListResult # type: ignore + from ._models import ExpressRouteGateway # type: ignore + from ._models import ExpressRouteGatewayList # type: ignore + from ._models import ExpressRouteGatewayPropertiesAutoScaleConfiguration # type: ignore + from ._models import ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds # type: ignore + from ._models import ExpressRouteLink # type: ignore + from ._models import ExpressRouteLinkListResult # type: ignore + from ._models import ExpressRouteLinkMacSecConfig # type: ignore + from ._models import ExpressRoutePort # type: ignore + from ._models import ExpressRoutePortListResult # type: ignore + from ._models import ExpressRoutePortsLocation # type: ignore + from ._models import ExpressRoutePortsLocationBandwidths # type: ignore + from ._models import ExpressRoutePortsLocationListResult # type: ignore + from ._models import ExpressRouteServiceProvider # type: ignore + from ._models import ExpressRouteServiceProviderBandwidthsOffered # type: ignore + from ._models import ExpressRouteServiceProviderListResult # type: ignore + from ._models import ExtendedLocation # type: ignore + from ._models import FirewallPolicy # type: ignore + from ._models import FirewallPolicyCertificateAuthority # type: ignore + from ._models import FirewallPolicyFilterRuleCollection # type: ignore + from ._models import FirewallPolicyFilterRuleCollectionAction # type: ignore + from ._models import FirewallPolicyInsights # type: ignore + from ._models import FirewallPolicyIntrusionDetection # type: ignore + from ._models import FirewallPolicyIntrusionDetectionBypassTrafficSpecifications # type: ignore + from ._models import FirewallPolicyIntrusionDetectionConfiguration # type: ignore + from ._models import FirewallPolicyIntrusionDetectionSignatureSpecification # type: ignore + from ._models import FirewallPolicyListResult # type: ignore + from ._models import FirewallPolicyLogAnalyticsResources # type: ignore + from ._models import FirewallPolicyLogAnalyticsWorkspace # type: ignore + from ._models import FirewallPolicyNatRuleCollection # type: ignore + from ._models import FirewallPolicyNatRuleCollectionAction # type: ignore + from ._models import FirewallPolicyRule # type: ignore + from ._models import FirewallPolicyRuleApplicationProtocol # type: ignore + from ._models import FirewallPolicyRuleCollection # type: ignore + from ._models import FirewallPolicyRuleCollectionGroup # type: ignore + from ._models import FirewallPolicyRuleCollectionGroupListResult # type: ignore + from ._models import FirewallPolicySNAT # type: ignore + from ._models import FirewallPolicySku # type: ignore + from ._models import FirewallPolicyThreatIntelWhitelist # type: ignore + from ._models import FirewallPolicyTransportSecurity # type: ignore + from ._models import FlowLog # type: ignore + from ._models import FlowLogFormatParameters # type: ignore + from ._models import FlowLogInformation # type: ignore + from ._models import FlowLogListResult # type: ignore + from ._models import FlowLogStatusParameters # type: ignore + from ._models import FrontendIPConfiguration # type: ignore + from ._models import GatewayLoadBalancerTunnelInterface # type: ignore + from ._models import GatewayRoute # type: ignore + from ._models import GatewayRouteListResult # type: ignore + from ._models import GenerateExpressRoutePortsLOARequest # type: ignore + from ._models import GenerateExpressRoutePortsLOAResult # type: ignore + from ._models import GetVpnSitesConfigurationRequest # type: ignore + from ._models import HTTPConfiguration # type: ignore + from ._models import HTTPHeader # type: ignore + from ._models import HopLink # type: ignore + from ._models import HubIPAddresses # type: ignore + from ._models import HubIpConfiguration # type: ignore + from ._models import HubPublicIPAddresses # type: ignore + from ._models import HubRoute # type: ignore + from ._models import HubRouteTable # type: ignore + from ._models import HubVirtualNetworkConnection # type: ignore + from ._models import IPAddressAvailabilityResult # type: ignore + from ._models import IPConfiguration # type: ignore + from ._models import IPConfigurationBgpPeeringAddress # type: ignore + from ._models import IPConfigurationProfile # type: ignore + from ._models import InboundNatPool # type: ignore + from ._models import InboundNatRule # type: ignore + from ._models import InboundNatRuleListResult # type: ignore + from ._models import InboundSecurityRule # type: ignore + from ._models import InboundSecurityRules # type: ignore + from ._models import IpAllocation # type: ignore + from ._models import IpAllocationListResult # type: ignore + from ._models import IpGroup # type: ignore + from ._models import IpGroupListResult # type: ignore + from ._models import IpTag # type: ignore + from ._models import IpsecPolicy # type: ignore + from ._models import Ipv6CircuitConnectionConfig # type: ignore + from ._models import Ipv6ExpressRouteCircuitPeeringConfig # type: ignore + from ._models import ListHubRouteTablesResult # type: ignore + from ._models import ListHubVirtualNetworkConnectionsResult # type: ignore + from ._models import ListP2SVpnGatewaysResult # type: ignore + from ._models import ListVirtualHubBgpConnectionResults # type: ignore + from ._models import ListVirtualHubIpConfigurationResults # type: ignore + from ._models import ListVirtualHubRouteTableV2SResult # type: ignore + from ._models import ListVirtualHubsResult # type: ignore + from ._models import ListVirtualNetworkGatewayNatRulesResult # type: ignore + from ._models import ListVirtualWANsResult # type: ignore + from ._models import ListVpnConnectionsResult # type: ignore + from ._models import ListVpnGatewayNatRulesResult # type: ignore + from ._models import ListVpnGatewaysResult # type: ignore + from ._models import ListVpnServerConfigurationsResult # type: ignore + from ._models import ListVpnSiteLinkConnectionsResult # type: ignore + from ._models import ListVpnSiteLinksResult # type: ignore + from ._models import ListVpnSitesResult # type: ignore + from ._models import LoadBalancer # type: ignore + from ._models import LoadBalancerBackendAddress # type: ignore + from ._models import LoadBalancerBackendAddressPoolListResult # type: ignore + from ._models import LoadBalancerFrontendIPConfigurationListResult # type: ignore + from ._models import LoadBalancerListResult # type: ignore + from ._models import LoadBalancerLoadBalancingRuleListResult # type: ignore + from ._models import LoadBalancerOutboundRuleListResult # type: ignore + from ._models import LoadBalancerProbeListResult # type: ignore + from ._models import LoadBalancerSku # type: ignore + from ._models import LoadBalancerVipSwapRequest # type: ignore + from ._models import LoadBalancerVipSwapRequestFrontendIPConfiguration # type: ignore + from ._models import LoadBalancingRule # type: ignore + from ._models import LocalNetworkGateway # type: ignore + from ._models import LocalNetworkGatewayListResult # type: ignore + from ._models import LogSpecification # type: ignore + from ._models import ManagedRuleGroupOverride # type: ignore + from ._models import ManagedRuleOverride # type: ignore + from ._models import ManagedRuleSet # type: ignore + from ._models import ManagedRulesDefinition # type: ignore + from ._models import ManagedServiceIdentity # type: ignore + from ._models import MatchCondition # type: ignore + from ._models import MatchVariable # type: ignore + from ._models import MatchedRule # type: ignore + from ._models import MetricSpecification # type: ignore + from ._models import NatGateway # type: ignore + from ._models import NatGatewayListResult # type: ignore + from ._models import NatGatewaySku # type: ignore + from ._models import NatRule # type: ignore + from ._models import NetworkConfigurationDiagnosticParameters # type: ignore + from ._models import NetworkConfigurationDiagnosticProfile # type: ignore + from ._models import NetworkConfigurationDiagnosticResponse # type: ignore + from ._models import NetworkConfigurationDiagnosticResult # type: ignore + from ._models import NetworkIntentPolicy # type: ignore + from ._models import NetworkIntentPolicyConfiguration # type: ignore + from ._models import NetworkInterface # type: ignore + from ._models import NetworkInterfaceAssociation # type: ignore + from ._models import NetworkInterfaceDnsSettings # type: ignore + from ._models import NetworkInterfaceIPConfiguration # type: ignore + from ._models import NetworkInterfaceIPConfigurationListResult # type: ignore + from ._models import NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties # type: ignore + from ._models import NetworkInterfaceListResult # type: ignore + from ._models import NetworkInterfaceLoadBalancerListResult # type: ignore + from ._models import NetworkInterfaceTapConfiguration # type: ignore + from ._models import NetworkInterfaceTapConfigurationListResult # type: ignore + from ._models import NetworkProfile # type: ignore + from ._models import NetworkProfileListResult # type: ignore + from ._models import NetworkRule # type: ignore + from ._models import NetworkSecurityGroup # type: ignore + from ._models import NetworkSecurityGroupListResult # type: ignore + from ._models import NetworkSecurityGroupResult # type: ignore + from ._models import NetworkSecurityRulesEvaluationResult # type: ignore + from ._models import NetworkVirtualAppliance # type: ignore + from ._models import NetworkVirtualApplianceListResult # type: ignore + from ._models import NetworkVirtualApplianceSiteListResult # type: ignore + from ._models import NetworkVirtualApplianceSku # type: ignore + from ._models import NetworkVirtualApplianceSkuInstances # type: ignore + from ._models import NetworkVirtualApplianceSkuListResult # type: ignore + from ._models import NetworkWatcher # type: ignore + from ._models import NetworkWatcherListResult # type: ignore + from ._models import NextHopParameters # type: ignore + from ._models import NextHopResult # type: ignore + from ._models import O365BreakOutCategoryPolicies # type: ignore + from ._models import O365PolicyProperties # type: ignore + from ._models import Office365PolicyProperties # type: ignore + from ._models import Operation # type: ignore + from ._models import OperationDisplay # type: ignore + from ._models import OperationListResult # type: ignore + from ._models import OperationPropertiesFormatServiceSpecification # type: ignore + from ._models import OutboundRule # type: ignore + from ._models import OwaspCrsExclusionEntry # type: ignore + from ._models import P2SConnectionConfiguration # type: ignore + from ._models import P2SVpnConnectionHealth # type: ignore + from ._models import P2SVpnConnectionHealthRequest # type: ignore + from ._models import P2SVpnConnectionRequest # type: ignore + from ._models import P2SVpnGateway # type: ignore + from ._models import P2SVpnProfileParameters # type: ignore + from ._models import PacketCapture # type: ignore + from ._models import PacketCaptureFilter # type: ignore + from ._models import PacketCaptureListResult # type: ignore + from ._models import PacketCaptureParameters # type: ignore + from ._models import PacketCaptureQueryStatusResult # type: ignore + from ._models import PacketCaptureResult # type: ignore + from ._models import PacketCaptureResultProperties # type: ignore + from ._models import PacketCaptureStorageLocation # type: ignore + from ._models import PatchRouteFilter # type: ignore + from ._models import PatchRouteFilterRule # type: ignore + from ._models import PeerExpressRouteCircuitConnection # type: ignore + from ._models import PeerExpressRouteCircuitConnectionListResult # type: ignore + from ._models import PeerRoute # type: ignore + from ._models import PeerRouteList # type: ignore + from ._models import PolicySettings # type: ignore + from ._models import PrepareNetworkPoliciesRequest # type: ignore + from ._models import PrivateDnsZoneConfig # type: ignore + from ._models import PrivateDnsZoneGroup # type: ignore + from ._models import PrivateDnsZoneGroupListResult # type: ignore + from ._models import PrivateEndpoint # type: ignore + from ._models import PrivateEndpointConnection # type: ignore + from ._models import PrivateEndpointConnectionListResult # type: ignore + from ._models import PrivateEndpointListResult # type: ignore + from ._models import PrivateLinkService # type: ignore + from ._models import PrivateLinkServiceConnection # type: ignore + from ._models import PrivateLinkServiceConnectionState # type: ignore + from ._models import PrivateLinkServiceIpConfiguration # type: ignore + from ._models import PrivateLinkServiceListResult # type: ignore + from ._models import PrivateLinkServicePropertiesAutoApproval # type: ignore + from ._models import PrivateLinkServicePropertiesVisibility # type: ignore + from ._models import PrivateLinkServiceVisibility # type: ignore + from ._models import Probe # type: ignore + from ._models import PropagatedRouteTable # type: ignore + from ._models import ProtocolConfiguration # type: ignore + from ._models import ProtocolCustomSettingsFormat # type: ignore + from ._models import PublicIPAddress # type: ignore + from ._models import PublicIPAddressDnsSettings # type: ignore + from ._models import PublicIPAddressListResult # type: ignore + from ._models import PublicIPAddressSku # type: ignore + from ._models import PublicIPPrefix # type: ignore + from ._models import PublicIPPrefixListResult # type: ignore + from ._models import PublicIPPrefixSku # type: ignore + from ._models import QosIpRange # type: ignore + from ._models import QosPortRange # type: ignore + from ._models import QueryTroubleshootingParameters # type: ignore + from ._models import RadiusServer # type: ignore + from ._models import RecordSet # type: ignore + from ._models import ReferencedPublicIpAddress # type: ignore + from ._models import Resource # type: ignore + from ._models import ResourceNavigationLink # type: ignore + from ._models import ResourceNavigationLinksListResult # type: ignore + from ._models import ResourceSet # type: ignore + from ._models import RetentionPolicyParameters # type: ignore + from ._models import Route # type: ignore + from ._models import RouteFilter # type: ignore + from ._models import RouteFilterListResult # type: ignore + from ._models import RouteFilterRule # type: ignore + from ._models import RouteFilterRuleListResult # type: ignore + from ._models import RouteListResult # type: ignore + from ._models import RouteTable # type: ignore + from ._models import RouteTableListResult # type: ignore + from ._models import RoutingConfiguration # type: ignore + from ._models import SecurityGroupNetworkInterface # type: ignore + from ._models import SecurityGroupViewParameters # type: ignore + from ._models import SecurityGroupViewResult # type: ignore + from ._models import SecurityPartnerProvider # type: ignore + from ._models import SecurityPartnerProviderListResult # type: ignore + from ._models import SecurityRule # type: ignore + from ._models import SecurityRuleAssociations # type: ignore + from ._models import SecurityRuleListResult # type: ignore + from ._models import ServiceAssociationLink # type: ignore + from ._models import ServiceAssociationLinksListResult # type: ignore + from ._models import ServiceEndpointPolicy # type: ignore + from ._models import ServiceEndpointPolicyDefinition # type: ignore + from ._models import ServiceEndpointPolicyDefinitionListResult # type: ignore + from ._models import ServiceEndpointPolicyListResult # type: ignore + from ._models import ServiceEndpointPropertiesFormat # type: ignore + from ._models import ServiceTagInformation # type: ignore + from ._models import ServiceTagInformationPropertiesFormat # type: ignore + from ._models import ServiceTagsListResult # type: ignore + from ._models import SessionIds # type: ignore + from ._models import Sku # type: ignore + from ._models import StaticRoute # type: ignore + from ._models import SubResource # type: ignore + from ._models import Subnet # type: ignore + from ._models import SubnetAssociation # type: ignore + from ._models import SubnetListResult # type: ignore + from ._models import TagsObject # type: ignore + from ._models import Topology # type: ignore + from ._models import TopologyAssociation # type: ignore + from ._models import TopologyParameters # type: ignore + from ._models import TopologyResource # type: ignore + from ._models import TrafficAnalyticsConfigurationProperties # type: ignore + from ._models import TrafficAnalyticsProperties # type: ignore + from ._models import TrafficSelectorPolicy # type: ignore + from ._models import TroubleshootingDetails # type: ignore + from ._models import TroubleshootingParameters # type: ignore + from ._models import TroubleshootingRecommendedActions # type: ignore + from ._models import TroubleshootingResult # type: ignore + from ._models import TunnelConnectionHealth # type: ignore + from ._models import UnprepareNetworkPoliciesRequest # type: ignore + from ._models import Usage # type: ignore + from ._models import UsageName # type: ignore + from ._models import UsagesListResult # type: ignore + from ._models import VM # type: ignore + from ._models import VerificationIPFlowParameters # type: ignore + from ._models import VerificationIPFlowResult # type: ignore + from ._models import VirtualApplianceNicProperties # type: ignore + from ._models import VirtualApplianceSite # type: ignore + from ._models import VirtualApplianceSkuProperties # type: ignore + from ._models import VirtualHub # type: ignore + from ._models import VirtualHubEffectiveRoute # type: ignore + from ._models import VirtualHubEffectiveRouteList # type: ignore + from ._models import VirtualHubId # type: ignore + from ._models import VirtualHubRoute # type: ignore + from ._models import VirtualHubRouteTable # type: ignore + from ._models import VirtualHubRouteTableV2 # type: ignore + from ._models import VirtualHubRouteV2 # type: ignore + from ._models import VirtualNetwork # type: ignore + from ._models import VirtualNetworkBgpCommunities # type: ignore + from ._models import VirtualNetworkConnectionGatewayReference # type: ignore + from ._models import VirtualNetworkGateway # type: ignore + from ._models import VirtualNetworkGatewayConnection # type: ignore + from ._models import VirtualNetworkGatewayConnectionListEntity # type: ignore + from ._models import VirtualNetworkGatewayConnectionListResult # type: ignore + from ._models import VirtualNetworkGatewayIPConfiguration # type: ignore + from ._models import VirtualNetworkGatewayListConnectionsResult # type: ignore + from ._models import VirtualNetworkGatewayListResult # type: ignore + from ._models import VirtualNetworkGatewayNatRule # type: ignore + from ._models import VirtualNetworkGatewaySku # type: ignore + from ._models import VirtualNetworkListResult # type: ignore + from ._models import VirtualNetworkListUsageResult # type: ignore + from ._models import VirtualNetworkPeering # type: ignore + from ._models import VirtualNetworkPeeringListResult # type: ignore + from ._models import VirtualNetworkTap # type: ignore + from ._models import VirtualNetworkTapListResult # type: ignore + from ._models import VirtualNetworkUsage # type: ignore + from ._models import VirtualNetworkUsageName # type: ignore + from ._models import VirtualRouter # type: ignore + from ._models import VirtualRouterListResult # type: ignore + from ._models import VirtualRouterPeering # type: ignore + from ._models import VirtualRouterPeeringListResult # type: ignore + from ._models import VirtualWAN # type: ignore + from ._models import VirtualWanSecurityProvider # type: ignore + from ._models import VirtualWanSecurityProviders # type: ignore + from ._models import VirtualWanVpnProfileParameters # type: ignore + from ._models import VnetRoute # type: ignore + from ._models import VpnClientConfiguration # type: ignore + from ._models import VpnClientConnectionHealth # type: ignore + from ._models import VpnClientConnectionHealthDetail # type: ignore + from ._models import VpnClientConnectionHealthDetailListResult # type: ignore + from ._models import VpnClientIPsecParameters # type: ignore + from ._models import VpnClientParameters # type: ignore + from ._models import VpnClientRevokedCertificate # type: ignore + from ._models import VpnClientRootCertificate # type: ignore + from ._models import VpnConnection # type: ignore + from ._models import VpnConnectionPacketCaptureStartParameters # type: ignore + from ._models import VpnConnectionPacketCaptureStopParameters # type: ignore + from ._models import VpnDeviceScriptParameters # type: ignore + from ._models import VpnGateway # type: ignore + from ._models import VpnGatewayIpConfiguration # type: ignore + from ._models import VpnGatewayNatRule # type: ignore + from ._models import VpnGatewayPacketCaptureStartParameters # type: ignore + from ._models import VpnGatewayPacketCaptureStopParameters # type: ignore + from ._models import VpnLinkBgpSettings # type: ignore + from ._models import VpnLinkProviderProperties # type: ignore + from ._models import VpnNatRuleMapping # type: ignore + from ._models import VpnPacketCaptureStartParameters # type: ignore + from ._models import VpnPacketCaptureStopParameters # type: ignore + from ._models import VpnProfileResponse # type: ignore + from ._models import VpnServerConfigRadiusClientRootCertificate # type: ignore + from ._models import VpnServerConfigRadiusServerRootCertificate # type: ignore + from ._models import VpnServerConfigVpnClientRevokedCertificate # type: ignore + from ._models import VpnServerConfigVpnClientRootCertificate # type: ignore + from ._models import VpnServerConfiguration # type: ignore + from ._models import VpnServerConfigurationsResponse # type: ignore + from ._models import VpnSite # type: ignore + from ._models import VpnSiteId # type: ignore + from ._models import VpnSiteLink # type: ignore + from ._models import VpnSiteLinkConnection # type: ignore + from ._models import WebApplicationFirewallCustomRule # type: ignore + from ._models import WebApplicationFirewallPolicy # type: ignore + from ._models import WebApplicationFirewallPolicyListResult # type: ignore + +from ._network_management_client_enums import ( + Access, + ApplicationGatewayBackendHealthServerHealth, + ApplicationGatewayCookieBasedAffinity, + ApplicationGatewayCustomErrorStatusCode, + ApplicationGatewayFirewallMode, + ApplicationGatewayOperationalState, + ApplicationGatewayProtocol, + ApplicationGatewayRedirectType, + ApplicationGatewayRequestRoutingRuleType, + ApplicationGatewaySkuName, + ApplicationGatewaySslCipherSuite, + ApplicationGatewaySslPolicyName, + ApplicationGatewaySslPolicyType, + ApplicationGatewaySslProtocol, + ApplicationGatewayTier, + AssociationType, + AuthenticationMethod, + AuthorizationUseStatus, + AzureFirewallApplicationRuleProtocolType, + AzureFirewallNatRCActionType, + AzureFirewallNetworkRuleProtocol, + AzureFirewallRCActionType, + AzureFirewallSkuName, + AzureFirewallSkuTier, + AzureFirewallThreatIntelMode, + BastionConnectProtocol, + BastionHostSkuName, + BgpPeerState, + CircuitConnectionStatus, + CommissionedState, + ConnectionMonitorEndpointFilterItemType, + ConnectionMonitorEndpointFilterType, + ConnectionMonitorSourceStatus, + ConnectionMonitorTestConfigurationProtocol, + ConnectionMonitorType, + ConnectionState, + ConnectionStatus, + CoverageLevel, + DdosCustomPolicyProtocol, + DdosCustomPolicyTriggerSensitivityOverride, + DdosSettingsProtectionCoverage, + DeleteOptions, + DestinationPortBehavior, + DhGroup, + Direction, + EffectiveRouteSource, + EffectiveRouteState, + EffectiveSecurityRuleProtocol, + EndpointType, + EvaluationState, + ExpressRouteCircuitPeeringAdvertisedPublicPrefixState, + ExpressRouteCircuitPeeringState, + ExpressRouteCircuitSkuFamily, + ExpressRouteCircuitSkuTier, + ExpressRouteLinkAdminState, + ExpressRouteLinkConnectorType, + ExpressRouteLinkMacSecCipher, + ExpressRouteLinkMacSecSciState, + ExpressRoutePeeringState, + ExpressRoutePeeringType, + ExpressRoutePortsEncapsulation, + ExtendedLocationTypes, + FirewallPolicyFilterRuleCollectionActionType, + FirewallPolicyIntrusionDetectionProtocol, + FirewallPolicyIntrusionDetectionStateType, + FirewallPolicyNatRuleCollectionActionType, + FirewallPolicyRuleApplicationProtocolType, + FirewallPolicyRuleCollectionType, + FirewallPolicyRuleNetworkProtocol, + FirewallPolicyRuleType, + FirewallPolicySkuTier, + FlowLogFormatType, + GatewayLoadBalancerTunnelInterfaceType, + GatewayLoadBalancerTunnelProtocol, + HTTPConfigurationMethod, + HTTPMethod, + HubBgpConnectionStatus, + HubVirtualNetworkConnectionStatus, + IPAllocationMethod, + IPVersion, + IkeEncryption, + IkeIntegrity, + InboundSecurityRulesProtocol, + IpAllocationType, + IpFlowProtocol, + IpsecEncryption, + IpsecIntegrity, + IssueType, + LoadBalancerOutboundRuleProtocol, + LoadBalancerSkuName, + LoadBalancerSkuTier, + LoadDistribution, + ManagedRuleEnabledState, + NatGatewaySkuName, + NetworkInterfaceMigrationPhase, + NetworkInterfaceNicType, + NetworkOperationStatus, + NextHopType, + OfficeTrafficCategory, + Origin, + OutputType, + OwaspCrsExclusionEntryMatchVariable, + OwaspCrsExclusionEntrySelectorMatchOperator, + PcError, + PcProtocol, + PcStatus, + PfsGroup, + PreferredIPVersion, + PreferredRoutingGateway, + ProbeProtocol, + ProcessorArchitecture, + Protocol, + ProtocolType, + ProvisioningState, + PublicIPAddressMigrationPhase, + PublicIPAddressSkuName, + PublicIPAddressSkuTier, + PublicIPPrefixSkuName, + PublicIPPrefixSkuTier, + ResourceIdentityType, + RouteFilterRuleType, + RouteNextHopType, + RoutingState, + SecurityPartnerProviderConnectionStatus, + SecurityProviderName, + SecurityRuleAccess, + SecurityRuleDirection, + SecurityRuleProtocol, + ServiceProviderProvisioningState, + Severity, + SyncRemoteAddressSpace, + TransportProtocol, + TunnelConnectionStatus, + UsageUnit, + VerbosityLevel, + VirtualNetworkGatewayConnectionMode, + VirtualNetworkGatewayConnectionProtocol, + VirtualNetworkGatewayConnectionStatus, + VirtualNetworkGatewayConnectionType, + VirtualNetworkGatewaySkuName, + VirtualNetworkGatewaySkuTier, + VirtualNetworkGatewayType, + VirtualNetworkPeeringLevel, + VirtualNetworkPeeringState, + VirtualNetworkPrivateEndpointNetworkPolicies, + VirtualNetworkPrivateLinkServiceNetworkPolicies, + VirtualWanSecurityProviderType, + VpnAuthenticationType, + VpnClientProtocol, + VpnConnectionStatus, + VpnGatewayGeneration, + VpnGatewayTunnelingProtocol, + VpnLinkConnectionMode, + VpnNatRuleMode, + VpnNatRuleType, + VpnType, + WebApplicationFirewallAction, + WebApplicationFirewallEnabledState, + WebApplicationFirewallMatchVariable, + WebApplicationFirewallMode, + WebApplicationFirewallOperator, + WebApplicationFirewallPolicyResourceState, + WebApplicationFirewallRuleType, + WebApplicationFirewallTransform, +) + +__all__ = [ + 'AadAuthenticationParameters', + 'AddressSpace', + 'ApplicationGateway', + 'ApplicationGatewayAuthenticationCertificate', + 'ApplicationGatewayAutoscaleConfiguration', + 'ApplicationGatewayAvailableSslOptions', + 'ApplicationGatewayAvailableSslPredefinedPolicies', + 'ApplicationGatewayAvailableWafRuleSetsResult', + 'ApplicationGatewayBackendAddress', + 'ApplicationGatewayBackendAddressPool', + 'ApplicationGatewayBackendHealth', + 'ApplicationGatewayBackendHealthHttpSettings', + 'ApplicationGatewayBackendHealthOnDemand', + 'ApplicationGatewayBackendHealthPool', + 'ApplicationGatewayBackendHealthServer', + 'ApplicationGatewayBackendHttpSettings', + 'ApplicationGatewayClientAuthConfiguration', + 'ApplicationGatewayConnectionDraining', + 'ApplicationGatewayCustomError', + 'ApplicationGatewayFirewallDisabledRuleGroup', + 'ApplicationGatewayFirewallExclusion', + 'ApplicationGatewayFirewallRule', + 'ApplicationGatewayFirewallRuleGroup', + 'ApplicationGatewayFirewallRuleSet', + 'ApplicationGatewayFrontendIPConfiguration', + 'ApplicationGatewayFrontendPort', + 'ApplicationGatewayHeaderConfiguration', + 'ApplicationGatewayHttpListener', + 'ApplicationGatewayIPConfiguration', + 'ApplicationGatewayListResult', + 'ApplicationGatewayOnDemandProbe', + 'ApplicationGatewayPathRule', + 'ApplicationGatewayPrivateEndpointConnection', + 'ApplicationGatewayPrivateEndpointConnectionListResult', + 'ApplicationGatewayPrivateLinkConfiguration', + 'ApplicationGatewayPrivateLinkIpConfiguration', + 'ApplicationGatewayPrivateLinkResource', + 'ApplicationGatewayPrivateLinkResourceListResult', + 'ApplicationGatewayProbe', + 'ApplicationGatewayProbeHealthResponseMatch', + 'ApplicationGatewayRedirectConfiguration', + 'ApplicationGatewayRequestRoutingRule', + 'ApplicationGatewayRewriteRule', + 'ApplicationGatewayRewriteRuleActionSet', + 'ApplicationGatewayRewriteRuleCondition', + 'ApplicationGatewayRewriteRuleSet', + 'ApplicationGatewaySku', + 'ApplicationGatewaySslCertificate', + 'ApplicationGatewaySslPolicy', + 'ApplicationGatewaySslPredefinedPolicy', + 'ApplicationGatewaySslProfile', + 'ApplicationGatewayTrustedClientCertificate', + 'ApplicationGatewayTrustedRootCertificate', + 'ApplicationGatewayUrlConfiguration', + 'ApplicationGatewayUrlPathMap', + 'ApplicationGatewayWebApplicationFirewallConfiguration', + 'ApplicationRule', + 'ApplicationSecurityGroup', + 'ApplicationSecurityGroupListResult', + 'AuthorizationListResult', + 'AutoApprovedPrivateLinkService', + 'AutoApprovedPrivateLinkServicesResult', + 'Availability', + 'AvailableDelegation', + 'AvailableDelegationsResult', + 'AvailablePrivateEndpointType', + 'AvailablePrivateEndpointTypesResult', + 'AvailableProvidersList', + 'AvailableProvidersListCity', + 'AvailableProvidersListCountry', + 'AvailableProvidersListParameters', + 'AvailableProvidersListState', + 'AvailableServiceAlias', + 'AvailableServiceAliasesResult', + 'AzureAsyncOperationResult', + 'AzureFirewall', + 'AzureFirewallApplicationRule', + 'AzureFirewallApplicationRuleCollection', + 'AzureFirewallApplicationRuleProtocol', + 'AzureFirewallFqdnTag', + 'AzureFirewallFqdnTagListResult', + 'AzureFirewallIPConfiguration', + 'AzureFirewallIpGroups', + 'AzureFirewallListResult', + 'AzureFirewallNatRCAction', + 'AzureFirewallNatRule', + 'AzureFirewallNatRuleCollection', + 'AzureFirewallNetworkRule', + 'AzureFirewallNetworkRuleCollection', + 'AzureFirewallPublicIPAddress', + 'AzureFirewallRCAction', + 'AzureFirewallSku', + 'AzureReachabilityReport', + 'AzureReachabilityReportItem', + 'AzureReachabilityReportLatencyInfo', + 'AzureReachabilityReportLocation', + 'AzureReachabilityReportParameters', + 'AzureWebCategory', + 'AzureWebCategoryListResult', + 'BGPCommunity', + 'BackendAddressPool', + 'BastionActiveSession', + 'BastionActiveSessionListResult', + 'BastionHost', + 'BastionHostIPConfiguration', + 'BastionHostListResult', + 'BastionSessionDeleteResult', + 'BastionSessionState', + 'BastionShareableLink', + 'BastionShareableLinkListRequest', + 'BastionShareableLinkListResult', + 'BgpConnection', + 'BgpPeerStatus', + 'BgpPeerStatusListResult', + 'BgpServiceCommunity', + 'BgpServiceCommunityListResult', + 'BgpSettings', + 'BreakOutCategoryPolicies', + 'CheckPrivateLinkServiceVisibilityRequest', + 'CloudErrorBody', + 'Components1Jq1T4ISchemasManagedserviceidentityPropertiesUserassignedidentitiesAdditionalproperties', + 'ConnectionMonitor', + 'ConnectionMonitorDestination', + 'ConnectionMonitorEndpoint', + 'ConnectionMonitorEndpointFilter', + 'ConnectionMonitorEndpointFilterItem', + 'ConnectionMonitorEndpointScope', + 'ConnectionMonitorEndpointScopeItem', + 'ConnectionMonitorHttpConfiguration', + 'ConnectionMonitorIcmpConfiguration', + 'ConnectionMonitorListResult', + 'ConnectionMonitorOutput', + 'ConnectionMonitorParameters', + 'ConnectionMonitorQueryResult', + 'ConnectionMonitorResult', + 'ConnectionMonitorResultProperties', + 'ConnectionMonitorSource', + 'ConnectionMonitorSuccessThreshold', + 'ConnectionMonitorTcpConfiguration', + 'ConnectionMonitorTestConfiguration', + 'ConnectionMonitorTestGroup', + 'ConnectionMonitorWorkspaceSettings', + 'ConnectionResetSharedKey', + 'ConnectionSharedKey', + 'ConnectionStateSnapshot', + 'ConnectivityDestination', + 'ConnectivityHop', + 'ConnectivityInformation', + 'ConnectivityIssue', + 'ConnectivityParameters', + 'ConnectivitySource', + 'Container', + 'ContainerNetworkInterface', + 'ContainerNetworkInterfaceConfiguration', + 'ContainerNetworkInterfaceIpConfiguration', + 'CustomDnsConfigPropertiesFormat', + 'CustomIpPrefix', + 'CustomIpPrefixListResult', + 'DdosCustomPolicy', + 'DdosProtectionPlan', + 'DdosProtectionPlanListResult', + 'DdosSettings', + 'Delegation', + 'DeviceProperties', + 'DhcpOptions', + 'Dimension', + 'DnsNameAvailabilityResult', + 'DnsSettings', + 'DscpConfiguration', + 'DscpConfigurationListResult', + 'EffectiveNetworkSecurityGroup', + 'EffectiveNetworkSecurityGroupAssociation', + 'EffectiveNetworkSecurityGroupListResult', + 'EffectiveNetworkSecurityRule', + 'EffectiveRoute', + 'EffectiveRouteListResult', + 'EffectiveRoutesParameters', + 'EndpointServiceResult', + 'EndpointServicesListResult', + 'Error', + 'ErrorDetails', + 'ErrorResponse', + 'EvaluatedNetworkSecurityGroup', + 'ExpressRouteCircuit', + 'ExpressRouteCircuitArpTable', + 'ExpressRouteCircuitAuthorization', + 'ExpressRouteCircuitConnection', + 'ExpressRouteCircuitConnectionListResult', + 'ExpressRouteCircuitListResult', + 'ExpressRouteCircuitPeering', + 'ExpressRouteCircuitPeeringConfig', + 'ExpressRouteCircuitPeeringId', + 'ExpressRouteCircuitPeeringListResult', + 'ExpressRouteCircuitReference', + 'ExpressRouteCircuitRoutesTable', + 'ExpressRouteCircuitRoutesTableSummary', + 'ExpressRouteCircuitServiceProviderProperties', + 'ExpressRouteCircuitSku', + 'ExpressRouteCircuitStats', + 'ExpressRouteCircuitsArpTableListResult', + 'ExpressRouteCircuitsRoutesTableListResult', + 'ExpressRouteCircuitsRoutesTableSummaryListResult', + 'ExpressRouteConnection', + 'ExpressRouteConnectionId', + 'ExpressRouteConnectionList', + 'ExpressRouteCrossConnection', + 'ExpressRouteCrossConnectionListResult', + 'ExpressRouteCrossConnectionPeering', + 'ExpressRouteCrossConnectionPeeringList', + 'ExpressRouteCrossConnectionRoutesTableSummary', + 'ExpressRouteCrossConnectionsRoutesTableSummaryListResult', + 'ExpressRouteGateway', + 'ExpressRouteGatewayList', + 'ExpressRouteGatewayPropertiesAutoScaleConfiguration', + 'ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds', + 'ExpressRouteLink', + 'ExpressRouteLinkListResult', + 'ExpressRouteLinkMacSecConfig', + 'ExpressRoutePort', + 'ExpressRoutePortListResult', + 'ExpressRoutePortsLocation', + 'ExpressRoutePortsLocationBandwidths', + 'ExpressRoutePortsLocationListResult', + 'ExpressRouteServiceProvider', + 'ExpressRouteServiceProviderBandwidthsOffered', + 'ExpressRouteServiceProviderListResult', + 'ExtendedLocation', + 'FirewallPolicy', + 'FirewallPolicyCertificateAuthority', + 'FirewallPolicyFilterRuleCollection', + 'FirewallPolicyFilterRuleCollectionAction', + 'FirewallPolicyInsights', + 'FirewallPolicyIntrusionDetection', + 'FirewallPolicyIntrusionDetectionBypassTrafficSpecifications', + 'FirewallPolicyIntrusionDetectionConfiguration', + 'FirewallPolicyIntrusionDetectionSignatureSpecification', + 'FirewallPolicyListResult', + 'FirewallPolicyLogAnalyticsResources', + 'FirewallPolicyLogAnalyticsWorkspace', + 'FirewallPolicyNatRuleCollection', + 'FirewallPolicyNatRuleCollectionAction', + 'FirewallPolicyRule', + 'FirewallPolicyRuleApplicationProtocol', + 'FirewallPolicyRuleCollection', + 'FirewallPolicyRuleCollectionGroup', + 'FirewallPolicyRuleCollectionGroupListResult', + 'FirewallPolicySNAT', + 'FirewallPolicySku', + 'FirewallPolicyThreatIntelWhitelist', + 'FirewallPolicyTransportSecurity', + 'FlowLog', + 'FlowLogFormatParameters', + 'FlowLogInformation', + 'FlowLogListResult', + 'FlowLogStatusParameters', + 'FrontendIPConfiguration', + 'GatewayLoadBalancerTunnelInterface', + 'GatewayRoute', + 'GatewayRouteListResult', + 'GenerateExpressRoutePortsLOARequest', + 'GenerateExpressRoutePortsLOAResult', + 'GetVpnSitesConfigurationRequest', + 'HTTPConfiguration', + 'HTTPHeader', + 'HopLink', + 'HubIPAddresses', + 'HubIpConfiguration', + 'HubPublicIPAddresses', + 'HubRoute', + 'HubRouteTable', + 'HubVirtualNetworkConnection', + 'IPAddressAvailabilityResult', + 'IPConfiguration', + 'IPConfigurationBgpPeeringAddress', + 'IPConfigurationProfile', + 'InboundNatPool', + 'InboundNatRule', + 'InboundNatRuleListResult', + 'InboundSecurityRule', + 'InboundSecurityRules', + 'IpAllocation', + 'IpAllocationListResult', + 'IpGroup', + 'IpGroupListResult', + 'IpTag', + 'IpsecPolicy', + 'Ipv6CircuitConnectionConfig', + 'Ipv6ExpressRouteCircuitPeeringConfig', + 'ListHubRouteTablesResult', + 'ListHubVirtualNetworkConnectionsResult', + 'ListP2SVpnGatewaysResult', + 'ListVirtualHubBgpConnectionResults', + 'ListVirtualHubIpConfigurationResults', + 'ListVirtualHubRouteTableV2SResult', + 'ListVirtualHubsResult', + 'ListVirtualNetworkGatewayNatRulesResult', + 'ListVirtualWANsResult', + 'ListVpnConnectionsResult', + 'ListVpnGatewayNatRulesResult', + 'ListVpnGatewaysResult', + 'ListVpnServerConfigurationsResult', + 'ListVpnSiteLinkConnectionsResult', + 'ListVpnSiteLinksResult', + 'ListVpnSitesResult', + 'LoadBalancer', + 'LoadBalancerBackendAddress', + 'LoadBalancerBackendAddressPoolListResult', + 'LoadBalancerFrontendIPConfigurationListResult', + 'LoadBalancerListResult', + 'LoadBalancerLoadBalancingRuleListResult', + 'LoadBalancerOutboundRuleListResult', + 'LoadBalancerProbeListResult', + 'LoadBalancerSku', + 'LoadBalancerVipSwapRequest', + 'LoadBalancerVipSwapRequestFrontendIPConfiguration', + 'LoadBalancingRule', + 'LocalNetworkGateway', + 'LocalNetworkGatewayListResult', + 'LogSpecification', + 'ManagedRuleGroupOverride', + 'ManagedRuleOverride', + 'ManagedRuleSet', + 'ManagedRulesDefinition', + 'ManagedServiceIdentity', + 'MatchCondition', + 'MatchVariable', + 'MatchedRule', + 'MetricSpecification', + 'NatGateway', + 'NatGatewayListResult', + 'NatGatewaySku', + 'NatRule', + 'NetworkConfigurationDiagnosticParameters', + 'NetworkConfigurationDiagnosticProfile', + 'NetworkConfigurationDiagnosticResponse', + 'NetworkConfigurationDiagnosticResult', + 'NetworkIntentPolicy', + 'NetworkIntentPolicyConfiguration', + 'NetworkInterface', + 'NetworkInterfaceAssociation', + 'NetworkInterfaceDnsSettings', + 'NetworkInterfaceIPConfiguration', + 'NetworkInterfaceIPConfigurationListResult', + 'NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties', + 'NetworkInterfaceListResult', + 'NetworkInterfaceLoadBalancerListResult', + 'NetworkInterfaceTapConfiguration', + 'NetworkInterfaceTapConfigurationListResult', + 'NetworkProfile', + 'NetworkProfileListResult', + 'NetworkRule', + 'NetworkSecurityGroup', + 'NetworkSecurityGroupListResult', + 'NetworkSecurityGroupResult', + 'NetworkSecurityRulesEvaluationResult', + 'NetworkVirtualAppliance', + 'NetworkVirtualApplianceListResult', + 'NetworkVirtualApplianceSiteListResult', + 'NetworkVirtualApplianceSku', + 'NetworkVirtualApplianceSkuInstances', + 'NetworkVirtualApplianceSkuListResult', + 'NetworkWatcher', + 'NetworkWatcherListResult', + 'NextHopParameters', + 'NextHopResult', + 'O365BreakOutCategoryPolicies', + 'O365PolicyProperties', + 'Office365PolicyProperties', + 'Operation', + 'OperationDisplay', + 'OperationListResult', + 'OperationPropertiesFormatServiceSpecification', + 'OutboundRule', + 'OwaspCrsExclusionEntry', + 'P2SConnectionConfiguration', + 'P2SVpnConnectionHealth', + 'P2SVpnConnectionHealthRequest', + 'P2SVpnConnectionRequest', + 'P2SVpnGateway', + 'P2SVpnProfileParameters', + 'PacketCapture', + 'PacketCaptureFilter', + 'PacketCaptureListResult', + 'PacketCaptureParameters', + 'PacketCaptureQueryStatusResult', + 'PacketCaptureResult', + 'PacketCaptureResultProperties', + 'PacketCaptureStorageLocation', + 'PatchRouteFilter', + 'PatchRouteFilterRule', + 'PeerExpressRouteCircuitConnection', + 'PeerExpressRouteCircuitConnectionListResult', + 'PeerRoute', + 'PeerRouteList', + 'PolicySettings', + 'PrepareNetworkPoliciesRequest', + 'PrivateDnsZoneConfig', + 'PrivateDnsZoneGroup', + 'PrivateDnsZoneGroupListResult', + 'PrivateEndpoint', + 'PrivateEndpointConnection', + 'PrivateEndpointConnectionListResult', + 'PrivateEndpointListResult', + 'PrivateLinkService', + 'PrivateLinkServiceConnection', + 'PrivateLinkServiceConnectionState', + 'PrivateLinkServiceIpConfiguration', + 'PrivateLinkServiceListResult', + 'PrivateLinkServicePropertiesAutoApproval', + 'PrivateLinkServicePropertiesVisibility', + 'PrivateLinkServiceVisibility', + 'Probe', + 'PropagatedRouteTable', + 'ProtocolConfiguration', + 'ProtocolCustomSettingsFormat', + 'PublicIPAddress', + 'PublicIPAddressDnsSettings', + 'PublicIPAddressListResult', + 'PublicIPAddressSku', + 'PublicIPPrefix', + 'PublicIPPrefixListResult', + 'PublicIPPrefixSku', + 'QosIpRange', + 'QosPortRange', + 'QueryTroubleshootingParameters', + 'RadiusServer', + 'RecordSet', + 'ReferencedPublicIpAddress', + 'Resource', + 'ResourceNavigationLink', + 'ResourceNavigationLinksListResult', + 'ResourceSet', + 'RetentionPolicyParameters', + 'Route', + 'RouteFilter', + 'RouteFilterListResult', + 'RouteFilterRule', + 'RouteFilterRuleListResult', + 'RouteListResult', + 'RouteTable', + 'RouteTableListResult', + 'RoutingConfiguration', + 'SecurityGroupNetworkInterface', + 'SecurityGroupViewParameters', + 'SecurityGroupViewResult', + 'SecurityPartnerProvider', + 'SecurityPartnerProviderListResult', + 'SecurityRule', + 'SecurityRuleAssociations', + 'SecurityRuleListResult', + 'ServiceAssociationLink', + 'ServiceAssociationLinksListResult', + 'ServiceEndpointPolicy', + 'ServiceEndpointPolicyDefinition', + 'ServiceEndpointPolicyDefinitionListResult', + 'ServiceEndpointPolicyListResult', + 'ServiceEndpointPropertiesFormat', + 'ServiceTagInformation', + 'ServiceTagInformationPropertiesFormat', + 'ServiceTagsListResult', + 'SessionIds', + 'Sku', + 'StaticRoute', + 'SubResource', + 'Subnet', + 'SubnetAssociation', + 'SubnetListResult', + 'TagsObject', + 'Topology', + 'TopologyAssociation', + 'TopologyParameters', + 'TopologyResource', + 'TrafficAnalyticsConfigurationProperties', + 'TrafficAnalyticsProperties', + 'TrafficSelectorPolicy', + 'TroubleshootingDetails', + 'TroubleshootingParameters', + 'TroubleshootingRecommendedActions', + 'TroubleshootingResult', + 'TunnelConnectionHealth', + 'UnprepareNetworkPoliciesRequest', + 'Usage', + 'UsageName', + 'UsagesListResult', + 'VM', + 'VerificationIPFlowParameters', + 'VerificationIPFlowResult', + 'VirtualApplianceNicProperties', + 'VirtualApplianceSite', + 'VirtualApplianceSkuProperties', + 'VirtualHub', + 'VirtualHubEffectiveRoute', + 'VirtualHubEffectiveRouteList', + 'VirtualHubId', + 'VirtualHubRoute', + 'VirtualHubRouteTable', + 'VirtualHubRouteTableV2', + 'VirtualHubRouteV2', + 'VirtualNetwork', + 'VirtualNetworkBgpCommunities', + 'VirtualNetworkConnectionGatewayReference', + 'VirtualNetworkGateway', + 'VirtualNetworkGatewayConnection', + 'VirtualNetworkGatewayConnectionListEntity', + 'VirtualNetworkGatewayConnectionListResult', + 'VirtualNetworkGatewayIPConfiguration', + 'VirtualNetworkGatewayListConnectionsResult', + 'VirtualNetworkGatewayListResult', + 'VirtualNetworkGatewayNatRule', + 'VirtualNetworkGatewaySku', + 'VirtualNetworkListResult', + 'VirtualNetworkListUsageResult', + 'VirtualNetworkPeering', + 'VirtualNetworkPeeringListResult', + 'VirtualNetworkTap', + 'VirtualNetworkTapListResult', + 'VirtualNetworkUsage', + 'VirtualNetworkUsageName', + 'VirtualRouter', + 'VirtualRouterListResult', + 'VirtualRouterPeering', + 'VirtualRouterPeeringListResult', + 'VirtualWAN', + 'VirtualWanSecurityProvider', + 'VirtualWanSecurityProviders', + 'VirtualWanVpnProfileParameters', + 'VnetRoute', + 'VpnClientConfiguration', + 'VpnClientConnectionHealth', + 'VpnClientConnectionHealthDetail', + 'VpnClientConnectionHealthDetailListResult', + 'VpnClientIPsecParameters', + 'VpnClientParameters', + 'VpnClientRevokedCertificate', + 'VpnClientRootCertificate', + 'VpnConnection', + 'VpnConnectionPacketCaptureStartParameters', + 'VpnConnectionPacketCaptureStopParameters', + 'VpnDeviceScriptParameters', + 'VpnGateway', + 'VpnGatewayIpConfiguration', + 'VpnGatewayNatRule', + 'VpnGatewayPacketCaptureStartParameters', + 'VpnGatewayPacketCaptureStopParameters', + 'VpnLinkBgpSettings', + 'VpnLinkProviderProperties', + 'VpnNatRuleMapping', + 'VpnPacketCaptureStartParameters', + 'VpnPacketCaptureStopParameters', + 'VpnProfileResponse', + 'VpnServerConfigRadiusClientRootCertificate', + 'VpnServerConfigRadiusServerRootCertificate', + 'VpnServerConfigVpnClientRevokedCertificate', + 'VpnServerConfigVpnClientRootCertificate', + 'VpnServerConfiguration', + 'VpnServerConfigurationsResponse', + 'VpnSite', + 'VpnSiteId', + 'VpnSiteLink', + 'VpnSiteLinkConnection', + 'WebApplicationFirewallCustomRule', + 'WebApplicationFirewallPolicy', + 'WebApplicationFirewallPolicyListResult', + 'Access', + 'ApplicationGatewayBackendHealthServerHealth', + 'ApplicationGatewayCookieBasedAffinity', + 'ApplicationGatewayCustomErrorStatusCode', + 'ApplicationGatewayFirewallMode', + 'ApplicationGatewayOperationalState', + 'ApplicationGatewayProtocol', + 'ApplicationGatewayRedirectType', + 'ApplicationGatewayRequestRoutingRuleType', + 'ApplicationGatewaySkuName', + 'ApplicationGatewaySslCipherSuite', + 'ApplicationGatewaySslPolicyName', + 'ApplicationGatewaySslPolicyType', + 'ApplicationGatewaySslProtocol', + 'ApplicationGatewayTier', + 'AssociationType', + 'AuthenticationMethod', + 'AuthorizationUseStatus', + 'AzureFirewallApplicationRuleProtocolType', + 'AzureFirewallNatRCActionType', + 'AzureFirewallNetworkRuleProtocol', + 'AzureFirewallRCActionType', + 'AzureFirewallSkuName', + 'AzureFirewallSkuTier', + 'AzureFirewallThreatIntelMode', + 'BastionConnectProtocol', + 'BastionHostSkuName', + 'BgpPeerState', + 'CircuitConnectionStatus', + 'CommissionedState', + 'ConnectionMonitorEndpointFilterItemType', + 'ConnectionMonitorEndpointFilterType', + 'ConnectionMonitorSourceStatus', + 'ConnectionMonitorTestConfigurationProtocol', + 'ConnectionMonitorType', + 'ConnectionState', + 'ConnectionStatus', + 'CoverageLevel', + 'DdosCustomPolicyProtocol', + 'DdosCustomPolicyTriggerSensitivityOverride', + 'DdosSettingsProtectionCoverage', + 'DeleteOptions', + 'DestinationPortBehavior', + 'DhGroup', + 'Direction', + 'EffectiveRouteSource', + 'EffectiveRouteState', + 'EffectiveSecurityRuleProtocol', + 'EndpointType', + 'EvaluationState', + 'ExpressRouteCircuitPeeringAdvertisedPublicPrefixState', + 'ExpressRouteCircuitPeeringState', + 'ExpressRouteCircuitSkuFamily', + 'ExpressRouteCircuitSkuTier', + 'ExpressRouteLinkAdminState', + 'ExpressRouteLinkConnectorType', + 'ExpressRouteLinkMacSecCipher', + 'ExpressRouteLinkMacSecSciState', + 'ExpressRoutePeeringState', + 'ExpressRoutePeeringType', + 'ExpressRoutePortsEncapsulation', + 'ExtendedLocationTypes', + 'FirewallPolicyFilterRuleCollectionActionType', + 'FirewallPolicyIntrusionDetectionProtocol', + 'FirewallPolicyIntrusionDetectionStateType', + 'FirewallPolicyNatRuleCollectionActionType', + 'FirewallPolicyRuleApplicationProtocolType', + 'FirewallPolicyRuleCollectionType', + 'FirewallPolicyRuleNetworkProtocol', + 'FirewallPolicyRuleType', + 'FirewallPolicySkuTier', + 'FlowLogFormatType', + 'GatewayLoadBalancerTunnelInterfaceType', + 'GatewayLoadBalancerTunnelProtocol', + 'HTTPConfigurationMethod', + 'HTTPMethod', + 'HubBgpConnectionStatus', + 'HubVirtualNetworkConnectionStatus', + 'IPAllocationMethod', + 'IPVersion', + 'IkeEncryption', + 'IkeIntegrity', + 'InboundSecurityRulesProtocol', + 'IpAllocationType', + 'IpFlowProtocol', + 'IpsecEncryption', + 'IpsecIntegrity', + 'IssueType', + 'LoadBalancerOutboundRuleProtocol', + 'LoadBalancerSkuName', + 'LoadBalancerSkuTier', + 'LoadDistribution', + 'ManagedRuleEnabledState', + 'NatGatewaySkuName', + 'NetworkInterfaceMigrationPhase', + 'NetworkInterfaceNicType', + 'NetworkOperationStatus', + 'NextHopType', + 'OfficeTrafficCategory', + 'Origin', + 'OutputType', + 'OwaspCrsExclusionEntryMatchVariable', + 'OwaspCrsExclusionEntrySelectorMatchOperator', + 'PcError', + 'PcProtocol', + 'PcStatus', + 'PfsGroup', + 'PreferredIPVersion', + 'PreferredRoutingGateway', + 'ProbeProtocol', + 'ProcessorArchitecture', + 'Protocol', + 'ProtocolType', + 'ProvisioningState', + 'PublicIPAddressMigrationPhase', + 'PublicIPAddressSkuName', + 'PublicIPAddressSkuTier', + 'PublicIPPrefixSkuName', + 'PublicIPPrefixSkuTier', + 'ResourceIdentityType', + 'RouteFilterRuleType', + 'RouteNextHopType', + 'RoutingState', + 'SecurityPartnerProviderConnectionStatus', + 'SecurityProviderName', + 'SecurityRuleAccess', + 'SecurityRuleDirection', + 'SecurityRuleProtocol', + 'ServiceProviderProvisioningState', + 'Severity', + 'SyncRemoteAddressSpace', + 'TransportProtocol', + 'TunnelConnectionStatus', + 'UsageUnit', + 'VerbosityLevel', + 'VirtualNetworkGatewayConnectionMode', + 'VirtualNetworkGatewayConnectionProtocol', + 'VirtualNetworkGatewayConnectionStatus', + 'VirtualNetworkGatewayConnectionType', + 'VirtualNetworkGatewaySkuName', + 'VirtualNetworkGatewaySkuTier', + 'VirtualNetworkGatewayType', + 'VirtualNetworkPeeringLevel', + 'VirtualNetworkPeeringState', + 'VirtualNetworkPrivateEndpointNetworkPolicies', + 'VirtualNetworkPrivateLinkServiceNetworkPolicies', + 'VirtualWanSecurityProviderType', + 'VpnAuthenticationType', + 'VpnClientProtocol', + 'VpnConnectionStatus', + 'VpnGatewayGeneration', + 'VpnGatewayTunnelingProtocol', + 'VpnLinkConnectionMode', + 'VpnNatRuleMode', + 'VpnNatRuleType', + 'VpnType', + 'WebApplicationFirewallAction', + 'WebApplicationFirewallEnabledState', + 'WebApplicationFirewallMatchVariable', + 'WebApplicationFirewallMode', + 'WebApplicationFirewallOperator', + 'WebApplicationFirewallPolicyResourceState', + 'WebApplicationFirewallRuleType', + 'WebApplicationFirewallTransform', +] diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/models/_models.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/models/_models.py new file mode 100644 index 000000000000..772bd4c9aba0 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/models/_models.py @@ -0,0 +1,23125 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from azure.core.exceptions import HttpResponseError +import msrest.serialization + + +class AadAuthenticationParameters(msrest.serialization.Model): + """AAD Vpn authentication type related parameters. + + :param aad_tenant: AAD Vpn authentication parameter AAD tenant. + :type aad_tenant: str + :param aad_audience: AAD Vpn authentication parameter AAD audience. + :type aad_audience: str + :param aad_issuer: AAD Vpn authentication parameter AAD issuer. + :type aad_issuer: str + """ + + _attribute_map = { + 'aad_tenant': {'key': 'aadTenant', 'type': 'str'}, + 'aad_audience': {'key': 'aadAudience', 'type': 'str'}, + 'aad_issuer': {'key': 'aadIssuer', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(AadAuthenticationParameters, self).__init__(**kwargs) + self.aad_tenant = kwargs.get('aad_tenant', None) + self.aad_audience = kwargs.get('aad_audience', None) + self.aad_issuer = kwargs.get('aad_issuer', None) + + +class AddressSpace(msrest.serialization.Model): + """AddressSpace contains an array of IP address ranges that can be used by subnets of the virtual network. + + :param address_prefixes: A list of address blocks reserved for this virtual network in CIDR + notation. + :type address_prefixes: list[str] + """ + + _attribute_map = { + 'address_prefixes': {'key': 'addressPrefixes', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(AddressSpace, self).__init__(**kwargs) + self.address_prefixes = kwargs.get('address_prefixes', None) + + +class Resource(msrest.serialization.Model): + """Common resource representation. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + } + + def __init__( + self, + **kwargs + ): + super(Resource, self).__init__(**kwargs) + self.id = kwargs.get('id', None) + self.name = None + self.type = None + self.location = kwargs.get('location', None) + self.tags = kwargs.get('tags', None) + + +class ApplicationGateway(Resource): + """Application gateway resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param zones: A list of availability zones denoting where the resource needs to come from. + :type zones: list[str] + :param identity: The identity of the application gateway, if configured. + :type identity: ~azure.mgmt.network.v2021_02_01.models.ManagedServiceIdentity + :param sku: SKU of the application gateway resource. + :type sku: ~azure.mgmt.network.v2021_02_01.models.ApplicationGatewaySku + :param ssl_policy: SSL policy of the application gateway resource. + :type ssl_policy: ~azure.mgmt.network.v2021_02_01.models.ApplicationGatewaySslPolicy + :ivar operational_state: Operational state of the application gateway resource. Possible values + include: "Stopped", "Starting", "Running", "Stopping". + :vartype operational_state: str or + ~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayOperationalState + :param gateway_ip_configurations: Subnets of the application gateway resource. For default + limits, see `Application Gateway limits + `_. + :type gateway_ip_configurations: + list[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayIPConfiguration] + :param authentication_certificates: Authentication certificates of the application gateway + resource. For default limits, see `Application Gateway limits + `_. + :type authentication_certificates: + list[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayAuthenticationCertificate] + :param trusted_root_certificates: Trusted Root certificates of the application gateway + resource. For default limits, see `Application Gateway limits + `_. + :type trusted_root_certificates: + list[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayTrustedRootCertificate] + :param trusted_client_certificates: Trusted client certificates of the application gateway + resource. For default limits, see `Application Gateway limits + `_. + :type trusted_client_certificates: + list[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayTrustedClientCertificate] + :param ssl_certificates: SSL certificates of the application gateway resource. For default + limits, see `Application Gateway limits + `_. + :type ssl_certificates: + list[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewaySslCertificate] + :param frontend_ip_configurations: Frontend IP addresses of the application gateway resource. + For default limits, see `Application Gateway limits + `_. + :type frontend_ip_configurations: + list[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayFrontendIPConfiguration] + :param frontend_ports: Frontend ports of the application gateway resource. For default limits, + see `Application Gateway limits + `_. + :type frontend_ports: + list[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayFrontendPort] + :param probes: Probes of the application gateway resource. + :type probes: list[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayProbe] + :param backend_address_pools: Backend address pool of the application gateway resource. For + default limits, see `Application Gateway limits + `_. + :type backend_address_pools: + list[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayBackendAddressPool] + :param backend_http_settings_collection: Backend http settings of the application gateway + resource. For default limits, see `Application Gateway limits + `_. + :type backend_http_settings_collection: + list[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayBackendHttpSettings] + :param http_listeners: Http listeners of the application gateway resource. For default limits, + see `Application Gateway limits + `_. + :type http_listeners: + list[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayHttpListener] + :param ssl_profiles: SSL profiles of the application gateway resource. For default limits, see + `Application Gateway limits + `_. + :type ssl_profiles: list[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewaySslProfile] + :param url_path_maps: URL path map of the application gateway resource. For default limits, see + `Application Gateway limits + `_. + :type url_path_maps: list[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayUrlPathMap] + :param request_routing_rules: Request routing rules of the application gateway resource. + :type request_routing_rules: + list[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayRequestRoutingRule] + :param rewrite_rule_sets: Rewrite rules for the application gateway resource. + :type rewrite_rule_sets: + list[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayRewriteRuleSet] + :param redirect_configurations: Redirect configurations of the application gateway resource. + For default limits, see `Application Gateway limits + `_. + :type redirect_configurations: + list[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayRedirectConfiguration] + :param web_application_firewall_configuration: Web application firewall configuration. + :type web_application_firewall_configuration: + ~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayWebApplicationFirewallConfiguration + :param firewall_policy: Reference to the FirewallPolicy resource. + :type firewall_policy: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param enable_http2: Whether HTTP2 is enabled on the application gateway resource. + :type enable_http2: bool + :param enable_fips: Whether FIPS is enabled on the application gateway resource. + :type enable_fips: bool + :param autoscale_configuration: Autoscale Configuration. + :type autoscale_configuration: + ~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayAutoscaleConfiguration + :param private_link_configurations: PrivateLink configurations on application gateway. + :type private_link_configurations: + list[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayPrivateLinkConfiguration] + :ivar private_endpoint_connections: Private Endpoint connections on application gateway. + :vartype private_endpoint_connections: + list[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayPrivateEndpointConnection] + :ivar resource_guid: The resource GUID property of the application gateway resource. + :vartype resource_guid: str + :ivar provisioning_state: The provisioning state of the application gateway resource. Possible + values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :param custom_error_configurations: Custom error configurations of the application gateway + resource. + :type custom_error_configurations: + list[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayCustomError] + :param force_firewall_policy_association: If true, associates a firewall policy with an + application gateway regardless whether the policy differs from the WAF Config. + :type force_firewall_policy_association: bool + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'operational_state': {'readonly': True}, + 'private_endpoint_connections': {'readonly': True}, + 'resource_guid': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'zones': {'key': 'zones', 'type': '[str]'}, + 'identity': {'key': 'identity', 'type': 'ManagedServiceIdentity'}, + 'sku': {'key': 'properties.sku', 'type': 'ApplicationGatewaySku'}, + 'ssl_policy': {'key': 'properties.sslPolicy', 'type': 'ApplicationGatewaySslPolicy'}, + 'operational_state': {'key': 'properties.operationalState', 'type': 'str'}, + 'gateway_ip_configurations': {'key': 'properties.gatewayIPConfigurations', 'type': '[ApplicationGatewayIPConfiguration]'}, + 'authentication_certificates': {'key': 'properties.authenticationCertificates', 'type': '[ApplicationGatewayAuthenticationCertificate]'}, + 'trusted_root_certificates': {'key': 'properties.trustedRootCertificates', 'type': '[ApplicationGatewayTrustedRootCertificate]'}, + 'trusted_client_certificates': {'key': 'properties.trustedClientCertificates', 'type': '[ApplicationGatewayTrustedClientCertificate]'}, + 'ssl_certificates': {'key': 'properties.sslCertificates', 'type': '[ApplicationGatewaySslCertificate]'}, + 'frontend_ip_configurations': {'key': 'properties.frontendIPConfigurations', 'type': '[ApplicationGatewayFrontendIPConfiguration]'}, + 'frontend_ports': {'key': 'properties.frontendPorts', 'type': '[ApplicationGatewayFrontendPort]'}, + 'probes': {'key': 'properties.probes', 'type': '[ApplicationGatewayProbe]'}, + 'backend_address_pools': {'key': 'properties.backendAddressPools', 'type': '[ApplicationGatewayBackendAddressPool]'}, + 'backend_http_settings_collection': {'key': 'properties.backendHttpSettingsCollection', 'type': '[ApplicationGatewayBackendHttpSettings]'}, + 'http_listeners': {'key': 'properties.httpListeners', 'type': '[ApplicationGatewayHttpListener]'}, + 'ssl_profiles': {'key': 'properties.sslProfiles', 'type': '[ApplicationGatewaySslProfile]'}, + 'url_path_maps': {'key': 'properties.urlPathMaps', 'type': '[ApplicationGatewayUrlPathMap]'}, + 'request_routing_rules': {'key': 'properties.requestRoutingRules', 'type': '[ApplicationGatewayRequestRoutingRule]'}, + 'rewrite_rule_sets': {'key': 'properties.rewriteRuleSets', 'type': '[ApplicationGatewayRewriteRuleSet]'}, + 'redirect_configurations': {'key': 'properties.redirectConfigurations', 'type': '[ApplicationGatewayRedirectConfiguration]'}, + 'web_application_firewall_configuration': {'key': 'properties.webApplicationFirewallConfiguration', 'type': 'ApplicationGatewayWebApplicationFirewallConfiguration'}, + 'firewall_policy': {'key': 'properties.firewallPolicy', 'type': 'SubResource'}, + 'enable_http2': {'key': 'properties.enableHttp2', 'type': 'bool'}, + 'enable_fips': {'key': 'properties.enableFips', 'type': 'bool'}, + 'autoscale_configuration': {'key': 'properties.autoscaleConfiguration', 'type': 'ApplicationGatewayAutoscaleConfiguration'}, + 'private_link_configurations': {'key': 'properties.privateLinkConfigurations', 'type': '[ApplicationGatewayPrivateLinkConfiguration]'}, + 'private_endpoint_connections': {'key': 'properties.privateEndpointConnections', 'type': '[ApplicationGatewayPrivateEndpointConnection]'}, + 'resource_guid': {'key': 'properties.resourceGuid', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'custom_error_configurations': {'key': 'properties.customErrorConfigurations', 'type': '[ApplicationGatewayCustomError]'}, + 'force_firewall_policy_association': {'key': 'properties.forceFirewallPolicyAssociation', 'type': 'bool'}, + } + + def __init__( + self, + **kwargs + ): + super(ApplicationGateway, self).__init__(**kwargs) + self.etag = None + self.zones = kwargs.get('zones', None) + self.identity = kwargs.get('identity', None) + self.sku = kwargs.get('sku', None) + self.ssl_policy = kwargs.get('ssl_policy', None) + self.operational_state = None + self.gateway_ip_configurations = kwargs.get('gateway_ip_configurations', None) + self.authentication_certificates = kwargs.get('authentication_certificates', None) + self.trusted_root_certificates = kwargs.get('trusted_root_certificates', None) + self.trusted_client_certificates = kwargs.get('trusted_client_certificates', None) + self.ssl_certificates = kwargs.get('ssl_certificates', None) + self.frontend_ip_configurations = kwargs.get('frontend_ip_configurations', None) + self.frontend_ports = kwargs.get('frontend_ports', None) + self.probes = kwargs.get('probes', None) + self.backend_address_pools = kwargs.get('backend_address_pools', None) + self.backend_http_settings_collection = kwargs.get('backend_http_settings_collection', None) + self.http_listeners = kwargs.get('http_listeners', None) + self.ssl_profiles = kwargs.get('ssl_profiles', None) + self.url_path_maps = kwargs.get('url_path_maps', None) + self.request_routing_rules = kwargs.get('request_routing_rules', None) + self.rewrite_rule_sets = kwargs.get('rewrite_rule_sets', None) + self.redirect_configurations = kwargs.get('redirect_configurations', None) + self.web_application_firewall_configuration = kwargs.get('web_application_firewall_configuration', None) + self.firewall_policy = kwargs.get('firewall_policy', None) + self.enable_http2 = kwargs.get('enable_http2', None) + self.enable_fips = kwargs.get('enable_fips', None) + self.autoscale_configuration = kwargs.get('autoscale_configuration', None) + self.private_link_configurations = kwargs.get('private_link_configurations', None) + self.private_endpoint_connections = None + self.resource_guid = None + self.provisioning_state = None + self.custom_error_configurations = kwargs.get('custom_error_configurations', None) + self.force_firewall_policy_association = kwargs.get('force_firewall_policy_association', None) + + +class SubResource(msrest.serialization.Model): + """Reference to another subresource. + + :param id: Resource ID. + :type id: str + """ + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(SubResource, self).__init__(**kwargs) + self.id = kwargs.get('id', None) + + +class ApplicationGatewayAuthenticationCertificate(SubResource): + """Authentication certificates of an application gateway. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: Name of the authentication certificate that is unique within an Application + Gateway. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str + :param data: Certificate public data. + :type data: str + :ivar provisioning_state: The provisioning state of the authentication certificate resource. + Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'data': {'key': 'properties.data', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ApplicationGatewayAuthenticationCertificate, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.etag = None + self.type = None + self.data = kwargs.get('data', None) + self.provisioning_state = None + + +class ApplicationGatewayAutoscaleConfiguration(msrest.serialization.Model): + """Application Gateway autoscale configuration. + + All required parameters must be populated in order to send to Azure. + + :param min_capacity: Required. Lower bound on number of Application Gateway capacity. + :type min_capacity: int + :param max_capacity: Upper bound on number of Application Gateway capacity. + :type max_capacity: int + """ + + _validation = { + 'min_capacity': {'required': True, 'minimum': 0}, + 'max_capacity': {'minimum': 2}, + } + + _attribute_map = { + 'min_capacity': {'key': 'minCapacity', 'type': 'int'}, + 'max_capacity': {'key': 'maxCapacity', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(ApplicationGatewayAutoscaleConfiguration, self).__init__(**kwargs) + self.min_capacity = kwargs['min_capacity'] + self.max_capacity = kwargs.get('max_capacity', None) + + +class ApplicationGatewayAvailableSslOptions(Resource): + """Response for ApplicationGatewayAvailableSslOptions API service call. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :param predefined_policies: List of available Ssl predefined policy. + :type predefined_policies: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + :param default_policy: Name of the Ssl predefined policy applied by default to application + gateway. Possible values include: "AppGwSslPolicy20150501", "AppGwSslPolicy20170401", + "AppGwSslPolicy20170401S". + :type default_policy: str or + ~azure.mgmt.network.v2021_02_01.models.ApplicationGatewaySslPolicyName + :param available_cipher_suites: List of available Ssl cipher suites. + :type available_cipher_suites: list[str or + ~azure.mgmt.network.v2021_02_01.models.ApplicationGatewaySslCipherSuite] + :param available_protocols: List of available Ssl protocols. + :type available_protocols: list[str or + ~azure.mgmt.network.v2021_02_01.models.ApplicationGatewaySslProtocol] + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'predefined_policies': {'key': 'properties.predefinedPolicies', 'type': '[SubResource]'}, + 'default_policy': {'key': 'properties.defaultPolicy', 'type': 'str'}, + 'available_cipher_suites': {'key': 'properties.availableCipherSuites', 'type': '[str]'}, + 'available_protocols': {'key': 'properties.availableProtocols', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(ApplicationGatewayAvailableSslOptions, self).__init__(**kwargs) + self.predefined_policies = kwargs.get('predefined_policies', None) + self.default_policy = kwargs.get('default_policy', None) + self.available_cipher_suites = kwargs.get('available_cipher_suites', None) + self.available_protocols = kwargs.get('available_protocols', None) + + +class ApplicationGatewayAvailableSslPredefinedPolicies(msrest.serialization.Model): + """Response for ApplicationGatewayAvailableSslOptions API service call. + + :param value: List of available Ssl predefined policy. + :type value: list[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewaySslPredefinedPolicy] + :param next_link: URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[ApplicationGatewaySslPredefinedPolicy]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ApplicationGatewayAvailableSslPredefinedPolicies, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = kwargs.get('next_link', None) + + +class ApplicationGatewayAvailableWafRuleSetsResult(msrest.serialization.Model): + """Response for ApplicationGatewayAvailableWafRuleSets API service call. + + :param value: The list of application gateway rule sets. + :type value: list[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayFirewallRuleSet] + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[ApplicationGatewayFirewallRuleSet]'}, + } + + def __init__( + self, + **kwargs + ): + super(ApplicationGatewayAvailableWafRuleSetsResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + + +class ApplicationGatewayBackendAddress(msrest.serialization.Model): + """Backend address of an application gateway. + + :param fqdn: Fully qualified domain name (FQDN). + :type fqdn: str + :param ip_address: IP address. + :type ip_address: str + """ + + _attribute_map = { + 'fqdn': {'key': 'fqdn', 'type': 'str'}, + 'ip_address': {'key': 'ipAddress', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ApplicationGatewayBackendAddress, self).__init__(**kwargs) + self.fqdn = kwargs.get('fqdn', None) + self.ip_address = kwargs.get('ip_address', None) + + +class ApplicationGatewayBackendAddressPool(SubResource): + """Backend Address Pool of an application gateway. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: Name of the backend address pool that is unique within an Application Gateway. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str + :ivar backend_ip_configurations: Collection of references to IPs defined in network interfaces. + :vartype backend_ip_configurations: + list[~azure.mgmt.network.v2021_02_01.models.NetworkInterfaceIPConfiguration] + :param backend_addresses: Backend addresses. + :type backend_addresses: + list[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayBackendAddress] + :ivar provisioning_state: The provisioning state of the backend address pool resource. Possible + values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'backend_ip_configurations': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'backend_ip_configurations': {'key': 'properties.backendIPConfigurations', 'type': '[NetworkInterfaceIPConfiguration]'}, + 'backend_addresses': {'key': 'properties.backendAddresses', 'type': '[ApplicationGatewayBackendAddress]'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ApplicationGatewayBackendAddressPool, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.etag = None + self.type = None + self.backend_ip_configurations = None + self.backend_addresses = kwargs.get('backend_addresses', None) + self.provisioning_state = None + + +class ApplicationGatewayBackendHealth(msrest.serialization.Model): + """Response for ApplicationGatewayBackendHealth API service call. + + :param backend_address_pools: A list of ApplicationGatewayBackendHealthPool resources. + :type backend_address_pools: + list[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayBackendHealthPool] + """ + + _attribute_map = { + 'backend_address_pools': {'key': 'backendAddressPools', 'type': '[ApplicationGatewayBackendHealthPool]'}, + } + + def __init__( + self, + **kwargs + ): + super(ApplicationGatewayBackendHealth, self).__init__(**kwargs) + self.backend_address_pools = kwargs.get('backend_address_pools', None) + + +class ApplicationGatewayBackendHealthHttpSettings(msrest.serialization.Model): + """Application gateway BackendHealthHttp settings. + + :param backend_http_settings: Reference to an ApplicationGatewayBackendHttpSettings resource. + :type backend_http_settings: + ~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayBackendHttpSettings + :param servers: List of ApplicationGatewayBackendHealthServer resources. + :type servers: + list[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayBackendHealthServer] + """ + + _attribute_map = { + 'backend_http_settings': {'key': 'backendHttpSettings', 'type': 'ApplicationGatewayBackendHttpSettings'}, + 'servers': {'key': 'servers', 'type': '[ApplicationGatewayBackendHealthServer]'}, + } + + def __init__( + self, + **kwargs + ): + super(ApplicationGatewayBackendHealthHttpSettings, self).__init__(**kwargs) + self.backend_http_settings = kwargs.get('backend_http_settings', None) + self.servers = kwargs.get('servers', None) + + +class ApplicationGatewayBackendHealthOnDemand(msrest.serialization.Model): + """Result of on demand test probe. + + :param backend_address_pool: Reference to an ApplicationGatewayBackendAddressPool resource. + :type backend_address_pool: + ~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayBackendAddressPool + :param backend_health_http_settings: Application gateway BackendHealthHttp settings. + :type backend_health_http_settings: + ~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayBackendHealthHttpSettings + """ + + _attribute_map = { + 'backend_address_pool': {'key': 'backendAddressPool', 'type': 'ApplicationGatewayBackendAddressPool'}, + 'backend_health_http_settings': {'key': 'backendHealthHttpSettings', 'type': 'ApplicationGatewayBackendHealthHttpSettings'}, + } + + def __init__( + self, + **kwargs + ): + super(ApplicationGatewayBackendHealthOnDemand, self).__init__(**kwargs) + self.backend_address_pool = kwargs.get('backend_address_pool', None) + self.backend_health_http_settings = kwargs.get('backend_health_http_settings', None) + + +class ApplicationGatewayBackendHealthPool(msrest.serialization.Model): + """Application gateway BackendHealth pool. + + :param backend_address_pool: Reference to an ApplicationGatewayBackendAddressPool resource. + :type backend_address_pool: + ~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayBackendAddressPool + :param backend_http_settings_collection: List of ApplicationGatewayBackendHealthHttpSettings + resources. + :type backend_http_settings_collection: + list[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayBackendHealthHttpSettings] + """ + + _attribute_map = { + 'backend_address_pool': {'key': 'backendAddressPool', 'type': 'ApplicationGatewayBackendAddressPool'}, + 'backend_http_settings_collection': {'key': 'backendHttpSettingsCollection', 'type': '[ApplicationGatewayBackendHealthHttpSettings]'}, + } + + def __init__( + self, + **kwargs + ): + super(ApplicationGatewayBackendHealthPool, self).__init__(**kwargs) + self.backend_address_pool = kwargs.get('backend_address_pool', None) + self.backend_http_settings_collection = kwargs.get('backend_http_settings_collection', None) + + +class ApplicationGatewayBackendHealthServer(msrest.serialization.Model): + """Application gateway backendhealth http settings. + + :param address: IP address or FQDN of backend server. + :type address: str + :param ip_configuration: Reference to IP configuration of backend server. + :type ip_configuration: ~azure.mgmt.network.v2021_02_01.models.NetworkInterfaceIPConfiguration + :param health: Health of backend server. Possible values include: "Unknown", "Up", "Down", + "Partial", "Draining". + :type health: str or + ~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayBackendHealthServerHealth + :param health_probe_log: Health Probe Log. + :type health_probe_log: str + """ + + _attribute_map = { + 'address': {'key': 'address', 'type': 'str'}, + 'ip_configuration': {'key': 'ipConfiguration', 'type': 'NetworkInterfaceIPConfiguration'}, + 'health': {'key': 'health', 'type': 'str'}, + 'health_probe_log': {'key': 'healthProbeLog', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ApplicationGatewayBackendHealthServer, self).__init__(**kwargs) + self.address = kwargs.get('address', None) + self.ip_configuration = kwargs.get('ip_configuration', None) + self.health = kwargs.get('health', None) + self.health_probe_log = kwargs.get('health_probe_log', None) + + +class ApplicationGatewayBackendHttpSettings(SubResource): + """Backend address pool settings of an application gateway. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: Name of the backend http settings that is unique within an Application Gateway. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str + :param port: The destination port on the backend. + :type port: int + :param protocol: The protocol used to communicate with the backend. Possible values include: + "Http", "Https". + :type protocol: str or ~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayProtocol + :param cookie_based_affinity: Cookie based affinity. Possible values include: "Enabled", + "Disabled". + :type cookie_based_affinity: str or + ~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayCookieBasedAffinity + :param request_timeout: Request timeout in seconds. Application Gateway will fail the request + if response is not received within RequestTimeout. Acceptable values are from 1 second to 86400 + seconds. + :type request_timeout: int + :param probe: Probe resource of an application gateway. + :type probe: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param authentication_certificates: Array of references to application gateway authentication + certificates. + :type authentication_certificates: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + :param trusted_root_certificates: Array of references to application gateway trusted root + certificates. + :type trusted_root_certificates: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + :param connection_draining: Connection draining of the backend http settings resource. + :type connection_draining: + ~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayConnectionDraining + :param host_name: Host header to be sent to the backend servers. + :type host_name: str + :param pick_host_name_from_backend_address: Whether to pick host header should be picked from + the host name of the backend server. Default value is false. + :type pick_host_name_from_backend_address: bool + :param affinity_cookie_name: Cookie name to use for the affinity cookie. + :type affinity_cookie_name: str + :param probe_enabled: Whether the probe is enabled. Default value is false. + :type probe_enabled: bool + :param path: Path which should be used as a prefix for all HTTP requests. Null means no path + will be prefixed. Default value is null. + :type path: str + :ivar provisioning_state: The provisioning state of the backend HTTP settings resource. + Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'port': {'key': 'properties.port', 'type': 'int'}, + 'protocol': {'key': 'properties.protocol', 'type': 'str'}, + 'cookie_based_affinity': {'key': 'properties.cookieBasedAffinity', 'type': 'str'}, + 'request_timeout': {'key': 'properties.requestTimeout', 'type': 'int'}, + 'probe': {'key': 'properties.probe', 'type': 'SubResource'}, + 'authentication_certificates': {'key': 'properties.authenticationCertificates', 'type': '[SubResource]'}, + 'trusted_root_certificates': {'key': 'properties.trustedRootCertificates', 'type': '[SubResource]'}, + 'connection_draining': {'key': 'properties.connectionDraining', 'type': 'ApplicationGatewayConnectionDraining'}, + 'host_name': {'key': 'properties.hostName', 'type': 'str'}, + 'pick_host_name_from_backend_address': {'key': 'properties.pickHostNameFromBackendAddress', 'type': 'bool'}, + 'affinity_cookie_name': {'key': 'properties.affinityCookieName', 'type': 'str'}, + 'probe_enabled': {'key': 'properties.probeEnabled', 'type': 'bool'}, + 'path': {'key': 'properties.path', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ApplicationGatewayBackendHttpSettings, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.etag = None + self.type = None + self.port = kwargs.get('port', None) + self.protocol = kwargs.get('protocol', None) + self.cookie_based_affinity = kwargs.get('cookie_based_affinity', None) + self.request_timeout = kwargs.get('request_timeout', None) + self.probe = kwargs.get('probe', None) + self.authentication_certificates = kwargs.get('authentication_certificates', None) + self.trusted_root_certificates = kwargs.get('trusted_root_certificates', None) + self.connection_draining = kwargs.get('connection_draining', None) + self.host_name = kwargs.get('host_name', None) + self.pick_host_name_from_backend_address = kwargs.get('pick_host_name_from_backend_address', None) + self.affinity_cookie_name = kwargs.get('affinity_cookie_name', None) + self.probe_enabled = kwargs.get('probe_enabled', None) + self.path = kwargs.get('path', None) + self.provisioning_state = None + + +class ApplicationGatewayClientAuthConfiguration(msrest.serialization.Model): + """Application gateway client authentication configuration. + + :param verify_client_cert_issuer_dn: Verify client certificate issuer name on the application + gateway. + :type verify_client_cert_issuer_dn: bool + """ + + _attribute_map = { + 'verify_client_cert_issuer_dn': {'key': 'verifyClientCertIssuerDN', 'type': 'bool'}, + } + + def __init__( + self, + **kwargs + ): + super(ApplicationGatewayClientAuthConfiguration, self).__init__(**kwargs) + self.verify_client_cert_issuer_dn = kwargs.get('verify_client_cert_issuer_dn', None) + + +class ApplicationGatewayConnectionDraining(msrest.serialization.Model): + """Connection draining allows open connections to a backend server to be active for a specified time after the backend server got removed from the configuration. + + All required parameters must be populated in order to send to Azure. + + :param enabled: Required. Whether connection draining is enabled or not. + :type enabled: bool + :param drain_timeout_in_sec: Required. The number of seconds connection draining is active. + Acceptable values are from 1 second to 3600 seconds. + :type drain_timeout_in_sec: int + """ + + _validation = { + 'enabled': {'required': True}, + 'drain_timeout_in_sec': {'required': True, 'maximum': 3600, 'minimum': 1}, + } + + _attribute_map = { + 'enabled': {'key': 'enabled', 'type': 'bool'}, + 'drain_timeout_in_sec': {'key': 'drainTimeoutInSec', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(ApplicationGatewayConnectionDraining, self).__init__(**kwargs) + self.enabled = kwargs['enabled'] + self.drain_timeout_in_sec = kwargs['drain_timeout_in_sec'] + + +class ApplicationGatewayCustomError(msrest.serialization.Model): + """Customer error of an application gateway. + + :param status_code: Status code of the application gateway customer error. Possible values + include: "HttpStatus403", "HttpStatus502". + :type status_code: str or + ~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayCustomErrorStatusCode + :param custom_error_page_url: Error page URL of the application gateway customer error. + :type custom_error_page_url: str + """ + + _attribute_map = { + 'status_code': {'key': 'statusCode', 'type': 'str'}, + 'custom_error_page_url': {'key': 'customErrorPageUrl', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ApplicationGatewayCustomError, self).__init__(**kwargs) + self.status_code = kwargs.get('status_code', None) + self.custom_error_page_url = kwargs.get('custom_error_page_url', None) + + +class ApplicationGatewayFirewallDisabledRuleGroup(msrest.serialization.Model): + """Allows to disable rules within a rule group or an entire rule group. + + All required parameters must be populated in order to send to Azure. + + :param rule_group_name: Required. The name of the rule group that will be disabled. + :type rule_group_name: str + :param rules: The list of rules that will be disabled. If null, all rules of the rule group + will be disabled. + :type rules: list[int] + """ + + _validation = { + 'rule_group_name': {'required': True}, + } + + _attribute_map = { + 'rule_group_name': {'key': 'ruleGroupName', 'type': 'str'}, + 'rules': {'key': 'rules', 'type': '[int]'}, + } + + def __init__( + self, + **kwargs + ): + super(ApplicationGatewayFirewallDisabledRuleGroup, self).__init__(**kwargs) + self.rule_group_name = kwargs['rule_group_name'] + self.rules = kwargs.get('rules', None) + + +class ApplicationGatewayFirewallExclusion(msrest.serialization.Model): + """Allow to exclude some variable satisfy the condition for the WAF check. + + All required parameters must be populated in order to send to Azure. + + :param match_variable: Required. The variable to be excluded. + :type match_variable: str + :param selector_match_operator: Required. When matchVariable is a collection, operate on the + selector to specify which elements in the collection this exclusion applies to. + :type selector_match_operator: str + :param selector: Required. When matchVariable is a collection, operator used to specify which + elements in the collection this exclusion applies to. + :type selector: str + """ + + _validation = { + 'match_variable': {'required': True}, + 'selector_match_operator': {'required': True}, + 'selector': {'required': True}, + } + + _attribute_map = { + 'match_variable': {'key': 'matchVariable', 'type': 'str'}, + 'selector_match_operator': {'key': 'selectorMatchOperator', 'type': 'str'}, + 'selector': {'key': 'selector', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ApplicationGatewayFirewallExclusion, self).__init__(**kwargs) + self.match_variable = kwargs['match_variable'] + self.selector_match_operator = kwargs['selector_match_operator'] + self.selector = kwargs['selector'] + + +class ApplicationGatewayFirewallRule(msrest.serialization.Model): + """A web application firewall rule. + + All required parameters must be populated in order to send to Azure. + + :param rule_id: Required. The identifier of the web application firewall rule. + :type rule_id: int + :param description: The description of the web application firewall rule. + :type description: str + """ + + _validation = { + 'rule_id': {'required': True}, + } + + _attribute_map = { + 'rule_id': {'key': 'ruleId', 'type': 'int'}, + 'description': {'key': 'description', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ApplicationGatewayFirewallRule, self).__init__(**kwargs) + self.rule_id = kwargs['rule_id'] + self.description = kwargs.get('description', None) + + +class ApplicationGatewayFirewallRuleGroup(msrest.serialization.Model): + """A web application firewall rule group. + + All required parameters must be populated in order to send to Azure. + + :param rule_group_name: Required. The name of the web application firewall rule group. + :type rule_group_name: str + :param description: The description of the web application firewall rule group. + :type description: str + :param rules: Required. The rules of the web application firewall rule group. + :type rules: list[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayFirewallRule] + """ + + _validation = { + 'rule_group_name': {'required': True}, + 'rules': {'required': True}, + } + + _attribute_map = { + 'rule_group_name': {'key': 'ruleGroupName', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + 'rules': {'key': 'rules', 'type': '[ApplicationGatewayFirewallRule]'}, + } + + def __init__( + self, + **kwargs + ): + super(ApplicationGatewayFirewallRuleGroup, self).__init__(**kwargs) + self.rule_group_name = kwargs['rule_group_name'] + self.description = kwargs.get('description', None) + self.rules = kwargs['rules'] + + +class ApplicationGatewayFirewallRuleSet(Resource): + """A web application firewall rule set. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :ivar provisioning_state: The provisioning state of the web application firewall rule set. + Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :param rule_set_type: The type of the web application firewall rule set. + :type rule_set_type: str + :param rule_set_version: The version of the web application firewall rule set type. + :type rule_set_version: str + :param rule_groups: The rule groups of the web application firewall rule set. + :type rule_groups: + list[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayFirewallRuleGroup] + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'rule_set_type': {'key': 'properties.ruleSetType', 'type': 'str'}, + 'rule_set_version': {'key': 'properties.ruleSetVersion', 'type': 'str'}, + 'rule_groups': {'key': 'properties.ruleGroups', 'type': '[ApplicationGatewayFirewallRuleGroup]'}, + } + + def __init__( + self, + **kwargs + ): + super(ApplicationGatewayFirewallRuleSet, self).__init__(**kwargs) + self.provisioning_state = None + self.rule_set_type = kwargs.get('rule_set_type', None) + self.rule_set_version = kwargs.get('rule_set_version', None) + self.rule_groups = kwargs.get('rule_groups', None) + + +class ApplicationGatewayFrontendIPConfiguration(SubResource): + """Frontend IP configuration of an application gateway. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: Name of the frontend IP configuration that is unique within an Application + Gateway. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str + :param private_ip_address: PrivateIPAddress of the network interface IP Configuration. + :type private_ip_address: str + :param private_ip_allocation_method: The private IP address allocation method. Possible values + include: "Static", "Dynamic". + :type private_ip_allocation_method: str or + ~azure.mgmt.network.v2021_02_01.models.IPAllocationMethod + :param subnet: Reference to the subnet resource. + :type subnet: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param public_ip_address: Reference to the PublicIP resource. + :type public_ip_address: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param private_link_configuration: Reference to the application gateway private link + configuration. + :type private_link_configuration: ~azure.mgmt.network.v2021_02_01.models.SubResource + :ivar provisioning_state: The provisioning state of the frontend IP configuration resource. + Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'private_ip_address': {'key': 'properties.privateIPAddress', 'type': 'str'}, + 'private_ip_allocation_method': {'key': 'properties.privateIPAllocationMethod', 'type': 'str'}, + 'subnet': {'key': 'properties.subnet', 'type': 'SubResource'}, + 'public_ip_address': {'key': 'properties.publicIPAddress', 'type': 'SubResource'}, + 'private_link_configuration': {'key': 'properties.privateLinkConfiguration', 'type': 'SubResource'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ApplicationGatewayFrontendIPConfiguration, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.etag = None + self.type = None + self.private_ip_address = kwargs.get('private_ip_address', None) + self.private_ip_allocation_method = kwargs.get('private_ip_allocation_method', None) + self.subnet = kwargs.get('subnet', None) + self.public_ip_address = kwargs.get('public_ip_address', None) + self.private_link_configuration = kwargs.get('private_link_configuration', None) + self.provisioning_state = None + + +class ApplicationGatewayFrontendPort(SubResource): + """Frontend port of an application gateway. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: Name of the frontend port that is unique within an Application Gateway. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str + :param port: Frontend port. + :type port: int + :ivar provisioning_state: The provisioning state of the frontend port resource. Possible values + include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'port': {'key': 'properties.port', 'type': 'int'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ApplicationGatewayFrontendPort, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.etag = None + self.type = None + self.port = kwargs.get('port', None) + self.provisioning_state = None + + +class ApplicationGatewayHeaderConfiguration(msrest.serialization.Model): + """Header configuration of the Actions set in Application Gateway. + + :param header_name: Header name of the header configuration. + :type header_name: str + :param header_value: Header value of the header configuration. + :type header_value: str + """ + + _attribute_map = { + 'header_name': {'key': 'headerName', 'type': 'str'}, + 'header_value': {'key': 'headerValue', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ApplicationGatewayHeaderConfiguration, self).__init__(**kwargs) + self.header_name = kwargs.get('header_name', None) + self.header_value = kwargs.get('header_value', None) + + +class ApplicationGatewayHttpListener(SubResource): + """Http listener of an application gateway. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: Name of the HTTP listener that is unique within an Application Gateway. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str + :param frontend_ip_configuration: Frontend IP configuration resource of an application gateway. + :type frontend_ip_configuration: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param frontend_port: Frontend port resource of an application gateway. + :type frontend_port: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param protocol: Protocol of the HTTP listener. Possible values include: "Http", "Https". + :type protocol: str or ~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayProtocol + :param host_name: Host name of HTTP listener. + :type host_name: str + :param ssl_certificate: SSL certificate resource of an application gateway. + :type ssl_certificate: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param ssl_profile: SSL profile resource of the application gateway. + :type ssl_profile: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param require_server_name_indication: Applicable only if protocol is https. Enables SNI for + multi-hosting. + :type require_server_name_indication: bool + :ivar provisioning_state: The provisioning state of the HTTP listener resource. Possible values + include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :param custom_error_configurations: Custom error configurations of the HTTP listener. + :type custom_error_configurations: + list[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayCustomError] + :param firewall_policy: Reference to the FirewallPolicy resource. + :type firewall_policy: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param host_names: List of Host names for HTTP Listener that allows special wildcard characters + as well. + :type host_names: list[str] + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'frontend_ip_configuration': {'key': 'properties.frontendIPConfiguration', 'type': 'SubResource'}, + 'frontend_port': {'key': 'properties.frontendPort', 'type': 'SubResource'}, + 'protocol': {'key': 'properties.protocol', 'type': 'str'}, + 'host_name': {'key': 'properties.hostName', 'type': 'str'}, + 'ssl_certificate': {'key': 'properties.sslCertificate', 'type': 'SubResource'}, + 'ssl_profile': {'key': 'properties.sslProfile', 'type': 'SubResource'}, + 'require_server_name_indication': {'key': 'properties.requireServerNameIndication', 'type': 'bool'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'custom_error_configurations': {'key': 'properties.customErrorConfigurations', 'type': '[ApplicationGatewayCustomError]'}, + 'firewall_policy': {'key': 'properties.firewallPolicy', 'type': 'SubResource'}, + 'host_names': {'key': 'properties.hostNames', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(ApplicationGatewayHttpListener, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.etag = None + self.type = None + self.frontend_ip_configuration = kwargs.get('frontend_ip_configuration', None) + self.frontend_port = kwargs.get('frontend_port', None) + self.protocol = kwargs.get('protocol', None) + self.host_name = kwargs.get('host_name', None) + self.ssl_certificate = kwargs.get('ssl_certificate', None) + self.ssl_profile = kwargs.get('ssl_profile', None) + self.require_server_name_indication = kwargs.get('require_server_name_indication', None) + self.provisioning_state = None + self.custom_error_configurations = kwargs.get('custom_error_configurations', None) + self.firewall_policy = kwargs.get('firewall_policy', None) + self.host_names = kwargs.get('host_names', None) + + +class ApplicationGatewayIPConfiguration(SubResource): + """IP configuration of an application gateway. Currently 1 public and 1 private IP configuration is allowed. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: Name of the IP configuration that is unique within an Application Gateway. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str + :param subnet: Reference to the subnet resource. A subnet from where application gateway gets + its private address. + :type subnet: ~azure.mgmt.network.v2021_02_01.models.SubResource + :ivar provisioning_state: The provisioning state of the application gateway IP configuration + resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'subnet': {'key': 'properties.subnet', 'type': 'SubResource'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ApplicationGatewayIPConfiguration, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.etag = None + self.type = None + self.subnet = kwargs.get('subnet', None) + self.provisioning_state = None + + +class ApplicationGatewayListResult(msrest.serialization.Model): + """Response for ListApplicationGateways API service call. + + :param value: List of an application gateways in a resource group. + :type value: list[~azure.mgmt.network.v2021_02_01.models.ApplicationGateway] + :param next_link: URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[ApplicationGateway]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ApplicationGatewayListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = kwargs.get('next_link', None) + + +class ApplicationGatewayOnDemandProbe(msrest.serialization.Model): + """Details of on demand test probe request. + + :param protocol: The protocol used for the probe. Possible values include: "Http", "Https". + :type protocol: str or ~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayProtocol + :param host: Host name to send the probe to. + :type host: str + :param path: Relative path of probe. Valid path starts from '/'. Probe is sent to + :code:``://:code:``::code:``:code:``. + :type path: str + :param timeout: The probe timeout in seconds. Probe marked as failed if valid response is not + received with this timeout period. Acceptable values are from 1 second to 86400 seconds. + :type timeout: int + :param pick_host_name_from_backend_http_settings: Whether the host header should be picked from + the backend http settings. Default value is false. + :type pick_host_name_from_backend_http_settings: bool + :param match: Criterion for classifying a healthy probe response. + :type match: ~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayProbeHealthResponseMatch + :param backend_address_pool: Reference to backend pool of application gateway to which probe + request will be sent. + :type backend_address_pool: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param backend_http_settings: Reference to backend http setting of application gateway to be + used for test probe. + :type backend_http_settings: ~azure.mgmt.network.v2021_02_01.models.SubResource + """ + + _attribute_map = { + 'protocol': {'key': 'protocol', 'type': 'str'}, + 'host': {'key': 'host', 'type': 'str'}, + 'path': {'key': 'path', 'type': 'str'}, + 'timeout': {'key': 'timeout', 'type': 'int'}, + 'pick_host_name_from_backend_http_settings': {'key': 'pickHostNameFromBackendHttpSettings', 'type': 'bool'}, + 'match': {'key': 'match', 'type': 'ApplicationGatewayProbeHealthResponseMatch'}, + 'backend_address_pool': {'key': 'backendAddressPool', 'type': 'SubResource'}, + 'backend_http_settings': {'key': 'backendHttpSettings', 'type': 'SubResource'}, + } + + def __init__( + self, + **kwargs + ): + super(ApplicationGatewayOnDemandProbe, self).__init__(**kwargs) + self.protocol = kwargs.get('protocol', None) + self.host = kwargs.get('host', None) + self.path = kwargs.get('path', None) + self.timeout = kwargs.get('timeout', None) + self.pick_host_name_from_backend_http_settings = kwargs.get('pick_host_name_from_backend_http_settings', None) + self.match = kwargs.get('match', None) + self.backend_address_pool = kwargs.get('backend_address_pool', None) + self.backend_http_settings = kwargs.get('backend_http_settings', None) + + +class ApplicationGatewayPathRule(SubResource): + """Path rule of URL path map of an application gateway. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: Name of the path rule that is unique within an Application Gateway. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str + :param paths: Path rules of URL path map. + :type paths: list[str] + :param backend_address_pool: Backend address pool resource of URL path map path rule. + :type backend_address_pool: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param backend_http_settings: Backend http settings resource of URL path map path rule. + :type backend_http_settings: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param redirect_configuration: Redirect configuration resource of URL path map path rule. + :type redirect_configuration: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param rewrite_rule_set: Rewrite rule set resource of URL path map path rule. + :type rewrite_rule_set: ~azure.mgmt.network.v2021_02_01.models.SubResource + :ivar provisioning_state: The provisioning state of the path rule resource. Possible values + include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :param firewall_policy: Reference to the FirewallPolicy resource. + :type firewall_policy: ~azure.mgmt.network.v2021_02_01.models.SubResource + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'paths': {'key': 'properties.paths', 'type': '[str]'}, + 'backend_address_pool': {'key': 'properties.backendAddressPool', 'type': 'SubResource'}, + 'backend_http_settings': {'key': 'properties.backendHttpSettings', 'type': 'SubResource'}, + 'redirect_configuration': {'key': 'properties.redirectConfiguration', 'type': 'SubResource'}, + 'rewrite_rule_set': {'key': 'properties.rewriteRuleSet', 'type': 'SubResource'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'firewall_policy': {'key': 'properties.firewallPolicy', 'type': 'SubResource'}, + } + + def __init__( + self, + **kwargs + ): + super(ApplicationGatewayPathRule, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.etag = None + self.type = None + self.paths = kwargs.get('paths', None) + self.backend_address_pool = kwargs.get('backend_address_pool', None) + self.backend_http_settings = kwargs.get('backend_http_settings', None) + self.redirect_configuration = kwargs.get('redirect_configuration', None) + self.rewrite_rule_set = kwargs.get('rewrite_rule_set', None) + self.provisioning_state = None + self.firewall_policy = kwargs.get('firewall_policy', None) + + +class ApplicationGatewayPrivateEndpointConnection(SubResource): + """Private Endpoint connection on an application gateway. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: Name of the private endpoint connection on an application gateway. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str + :ivar private_endpoint: The resource of private end point. + :vartype private_endpoint: ~azure.mgmt.network.v2021_02_01.models.PrivateEndpoint + :param private_link_service_connection_state: A collection of information about the state of + the connection between service consumer and provider. + :type private_link_service_connection_state: + ~azure.mgmt.network.v2021_02_01.models.PrivateLinkServiceConnectionState + :ivar provisioning_state: The provisioning state of the application gateway private endpoint + connection resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :ivar link_identifier: The consumer link id. + :vartype link_identifier: str + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'private_endpoint': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'link_identifier': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'private_endpoint': {'key': 'properties.privateEndpoint', 'type': 'PrivateEndpoint'}, + 'private_link_service_connection_state': {'key': 'properties.privateLinkServiceConnectionState', 'type': 'PrivateLinkServiceConnectionState'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'link_identifier': {'key': 'properties.linkIdentifier', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ApplicationGatewayPrivateEndpointConnection, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.etag = None + self.type = None + self.private_endpoint = None + self.private_link_service_connection_state = kwargs.get('private_link_service_connection_state', None) + self.provisioning_state = None + self.link_identifier = None + + +class ApplicationGatewayPrivateEndpointConnectionListResult(msrest.serialization.Model): + """Response for ListApplicationGatewayPrivateEndpointConnection API service call. Gets all private endpoint connections for an application gateway. + + :param value: List of private endpoint connections on an application gateway. + :type value: + list[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayPrivateEndpointConnection] + :param next_link: URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[ApplicationGatewayPrivateEndpointConnection]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ApplicationGatewayPrivateEndpointConnectionListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = kwargs.get('next_link', None) + + +class ApplicationGatewayPrivateLinkConfiguration(SubResource): + """Private Link Configuration on an application gateway. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: Name of the private link configuration that is unique within an Application + Gateway. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str + :param ip_configurations: An array of application gateway private link ip configurations. + :type ip_configurations: + list[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayPrivateLinkIpConfiguration] + :ivar provisioning_state: The provisioning state of the application gateway private link + configuration. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'ip_configurations': {'key': 'properties.ipConfigurations', 'type': '[ApplicationGatewayPrivateLinkIpConfiguration]'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ApplicationGatewayPrivateLinkConfiguration, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.etag = None + self.type = None + self.ip_configurations = kwargs.get('ip_configurations', None) + self.provisioning_state = None + + +class ApplicationGatewayPrivateLinkIpConfiguration(SubResource): + """The application gateway private link ip configuration. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: The name of application gateway private link ip configuration. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: The resource type. + :vartype type: str + :param private_ip_address: The private IP address of the IP configuration. + :type private_ip_address: str + :param private_ip_allocation_method: The private IP address allocation method. Possible values + include: "Static", "Dynamic". + :type private_ip_allocation_method: str or + ~azure.mgmt.network.v2021_02_01.models.IPAllocationMethod + :param subnet: Reference to the subnet resource. + :type subnet: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param primary: Whether the ip configuration is primary or not. + :type primary: bool + :ivar provisioning_state: The provisioning state of the application gateway private link IP + configuration. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'private_ip_address': {'key': 'properties.privateIPAddress', 'type': 'str'}, + 'private_ip_allocation_method': {'key': 'properties.privateIPAllocationMethod', 'type': 'str'}, + 'subnet': {'key': 'properties.subnet', 'type': 'SubResource'}, + 'primary': {'key': 'properties.primary', 'type': 'bool'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ApplicationGatewayPrivateLinkIpConfiguration, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.etag = None + self.type = None + self.private_ip_address = kwargs.get('private_ip_address', None) + self.private_ip_allocation_method = kwargs.get('private_ip_allocation_method', None) + self.subnet = kwargs.get('subnet', None) + self.primary = kwargs.get('primary', None) + self.provisioning_state = None + + +class ApplicationGatewayPrivateLinkResource(SubResource): + """PrivateLink Resource of an application gateway. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: Name of the private link resource that is unique within an Application Gateway. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str + :ivar group_id: Group identifier of private link resource. + :vartype group_id: str + :ivar required_members: Required member names of private link resource. + :vartype required_members: list[str] + :param required_zone_names: Required DNS zone names of the the private link resource. + :type required_zone_names: list[str] + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'group_id': {'readonly': True}, + 'required_members': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'group_id': {'key': 'properties.groupId', 'type': 'str'}, + 'required_members': {'key': 'properties.requiredMembers', 'type': '[str]'}, + 'required_zone_names': {'key': 'properties.requiredZoneNames', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(ApplicationGatewayPrivateLinkResource, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.etag = None + self.type = None + self.group_id = None + self.required_members = None + self.required_zone_names = kwargs.get('required_zone_names', None) + + +class ApplicationGatewayPrivateLinkResourceListResult(msrest.serialization.Model): + """Response for ListApplicationGatewayPrivateLinkResources API service call. Gets all private link resources for an application gateway. + + :param value: List of private link resources of an application gateway. + :type value: list[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayPrivateLinkResource] + :param next_link: URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[ApplicationGatewayPrivateLinkResource]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ApplicationGatewayPrivateLinkResourceListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = kwargs.get('next_link', None) + + +class ApplicationGatewayProbe(SubResource): + """Probe of the application gateway. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: Name of the probe that is unique within an Application Gateway. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str + :param protocol: The protocol used for the probe. Possible values include: "Http", "Https". + :type protocol: str or ~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayProtocol + :param host: Host name to send the probe to. + :type host: str + :param path: Relative path of probe. Valid path starts from '/'. Probe is sent to + :code:``://:code:``::code:``:code:``. + :type path: str + :param interval: The probing interval in seconds. This is the time interval between two + consecutive probes. Acceptable values are from 1 second to 86400 seconds. + :type interval: int + :param timeout: The probe timeout in seconds. Probe marked as failed if valid response is not + received with this timeout period. Acceptable values are from 1 second to 86400 seconds. + :type timeout: int + :param unhealthy_threshold: The probe retry count. Backend server is marked down after + consecutive probe failure count reaches UnhealthyThreshold. Acceptable values are from 1 second + to 20. + :type unhealthy_threshold: int + :param pick_host_name_from_backend_http_settings: Whether the host header should be picked from + the backend http settings. Default value is false. + :type pick_host_name_from_backend_http_settings: bool + :param min_servers: Minimum number of servers that are always marked healthy. Default value is + 0. + :type min_servers: int + :param match: Criterion for classifying a healthy probe response. + :type match: ~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayProbeHealthResponseMatch + :ivar provisioning_state: The provisioning state of the probe resource. Possible values + include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :param port: Custom port which will be used for probing the backend servers. The valid value + ranges from 1 to 65535. In case not set, port from http settings will be used. This property is + valid for Standard_v2 and WAF_v2 only. + :type port: int + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'port': {'maximum': 65535, 'minimum': 1}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'protocol': {'key': 'properties.protocol', 'type': 'str'}, + 'host': {'key': 'properties.host', 'type': 'str'}, + 'path': {'key': 'properties.path', 'type': 'str'}, + 'interval': {'key': 'properties.interval', 'type': 'int'}, + 'timeout': {'key': 'properties.timeout', 'type': 'int'}, + 'unhealthy_threshold': {'key': 'properties.unhealthyThreshold', 'type': 'int'}, + 'pick_host_name_from_backend_http_settings': {'key': 'properties.pickHostNameFromBackendHttpSettings', 'type': 'bool'}, + 'min_servers': {'key': 'properties.minServers', 'type': 'int'}, + 'match': {'key': 'properties.match', 'type': 'ApplicationGatewayProbeHealthResponseMatch'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'port': {'key': 'properties.port', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(ApplicationGatewayProbe, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.etag = None + self.type = None + self.protocol = kwargs.get('protocol', None) + self.host = kwargs.get('host', None) + self.path = kwargs.get('path', None) + self.interval = kwargs.get('interval', None) + self.timeout = kwargs.get('timeout', None) + self.unhealthy_threshold = kwargs.get('unhealthy_threshold', None) + self.pick_host_name_from_backend_http_settings = kwargs.get('pick_host_name_from_backend_http_settings', None) + self.min_servers = kwargs.get('min_servers', None) + self.match = kwargs.get('match', None) + self.provisioning_state = None + self.port = kwargs.get('port', None) + + +class ApplicationGatewayProbeHealthResponseMatch(msrest.serialization.Model): + """Application gateway probe health response match. + + :param body: Body that must be contained in the health response. Default value is empty. + :type body: str + :param status_codes: Allowed ranges of healthy status codes. Default range of healthy status + codes is 200-399. + :type status_codes: list[str] + """ + + _attribute_map = { + 'body': {'key': 'body', 'type': 'str'}, + 'status_codes': {'key': 'statusCodes', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(ApplicationGatewayProbeHealthResponseMatch, self).__init__(**kwargs) + self.body = kwargs.get('body', None) + self.status_codes = kwargs.get('status_codes', None) + + +class ApplicationGatewayRedirectConfiguration(SubResource): + """Redirect configuration of an application gateway. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: Name of the redirect configuration that is unique within an Application Gateway. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str + :param redirect_type: HTTP redirection type. Possible values include: "Permanent", "Found", + "SeeOther", "Temporary". + :type redirect_type: str or + ~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayRedirectType + :param target_listener: Reference to a listener to redirect the request to. + :type target_listener: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param target_url: Url to redirect the request to. + :type target_url: str + :param include_path: Include path in the redirected url. + :type include_path: bool + :param include_query_string: Include query string in the redirected url. + :type include_query_string: bool + :param request_routing_rules: Request routing specifying redirect configuration. + :type request_routing_rules: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + :param url_path_maps: Url path maps specifying default redirect configuration. + :type url_path_maps: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + :param path_rules: Path rules specifying redirect configuration. + :type path_rules: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'redirect_type': {'key': 'properties.redirectType', 'type': 'str'}, + 'target_listener': {'key': 'properties.targetListener', 'type': 'SubResource'}, + 'target_url': {'key': 'properties.targetUrl', 'type': 'str'}, + 'include_path': {'key': 'properties.includePath', 'type': 'bool'}, + 'include_query_string': {'key': 'properties.includeQueryString', 'type': 'bool'}, + 'request_routing_rules': {'key': 'properties.requestRoutingRules', 'type': '[SubResource]'}, + 'url_path_maps': {'key': 'properties.urlPathMaps', 'type': '[SubResource]'}, + 'path_rules': {'key': 'properties.pathRules', 'type': '[SubResource]'}, + } + + def __init__( + self, + **kwargs + ): + super(ApplicationGatewayRedirectConfiguration, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.etag = None + self.type = None + self.redirect_type = kwargs.get('redirect_type', None) + self.target_listener = kwargs.get('target_listener', None) + self.target_url = kwargs.get('target_url', None) + self.include_path = kwargs.get('include_path', None) + self.include_query_string = kwargs.get('include_query_string', None) + self.request_routing_rules = kwargs.get('request_routing_rules', None) + self.url_path_maps = kwargs.get('url_path_maps', None) + self.path_rules = kwargs.get('path_rules', None) + + +class ApplicationGatewayRequestRoutingRule(SubResource): + """Request routing rule of an application gateway. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: Name of the request routing rule that is unique within an Application Gateway. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str + :param rule_type: Rule type. Possible values include: "Basic", "PathBasedRouting". + :type rule_type: str or + ~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayRequestRoutingRuleType + :param priority: Priority of the request routing rule. + :type priority: int + :param backend_address_pool: Backend address pool resource of the application gateway. + :type backend_address_pool: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param backend_http_settings: Backend http settings resource of the application gateway. + :type backend_http_settings: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param http_listener: Http listener resource of the application gateway. + :type http_listener: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param url_path_map: URL path map resource of the application gateway. + :type url_path_map: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param rewrite_rule_set: Rewrite Rule Set resource in Basic rule of the application gateway. + :type rewrite_rule_set: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param redirect_configuration: Redirect configuration resource of the application gateway. + :type redirect_configuration: ~azure.mgmt.network.v2021_02_01.models.SubResource + :ivar provisioning_state: The provisioning state of the request routing rule resource. Possible + values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'priority': {'maximum': 20000, 'minimum': 1}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'rule_type': {'key': 'properties.ruleType', 'type': 'str'}, + 'priority': {'key': 'properties.priority', 'type': 'int'}, + 'backend_address_pool': {'key': 'properties.backendAddressPool', 'type': 'SubResource'}, + 'backend_http_settings': {'key': 'properties.backendHttpSettings', 'type': 'SubResource'}, + 'http_listener': {'key': 'properties.httpListener', 'type': 'SubResource'}, + 'url_path_map': {'key': 'properties.urlPathMap', 'type': 'SubResource'}, + 'rewrite_rule_set': {'key': 'properties.rewriteRuleSet', 'type': 'SubResource'}, + 'redirect_configuration': {'key': 'properties.redirectConfiguration', 'type': 'SubResource'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ApplicationGatewayRequestRoutingRule, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.etag = None + self.type = None + self.rule_type = kwargs.get('rule_type', None) + self.priority = kwargs.get('priority', None) + self.backend_address_pool = kwargs.get('backend_address_pool', None) + self.backend_http_settings = kwargs.get('backend_http_settings', None) + self.http_listener = kwargs.get('http_listener', None) + self.url_path_map = kwargs.get('url_path_map', None) + self.rewrite_rule_set = kwargs.get('rewrite_rule_set', None) + self.redirect_configuration = kwargs.get('redirect_configuration', None) + self.provisioning_state = None + + +class ApplicationGatewayRewriteRule(msrest.serialization.Model): + """Rewrite rule of an application gateway. + + :param name: Name of the rewrite rule that is unique within an Application Gateway. + :type name: str + :param rule_sequence: Rule Sequence of the rewrite rule that determines the order of execution + of a particular rule in a RewriteRuleSet. + :type rule_sequence: int + :param conditions: Conditions based on which the action set execution will be evaluated. + :type conditions: + list[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayRewriteRuleCondition] + :param action_set: Set of actions to be done as part of the rewrite Rule. + :type action_set: ~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayRewriteRuleActionSet + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'rule_sequence': {'key': 'ruleSequence', 'type': 'int'}, + 'conditions': {'key': 'conditions', 'type': '[ApplicationGatewayRewriteRuleCondition]'}, + 'action_set': {'key': 'actionSet', 'type': 'ApplicationGatewayRewriteRuleActionSet'}, + } + + def __init__( + self, + **kwargs + ): + super(ApplicationGatewayRewriteRule, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.rule_sequence = kwargs.get('rule_sequence', None) + self.conditions = kwargs.get('conditions', None) + self.action_set = kwargs.get('action_set', None) + + +class ApplicationGatewayRewriteRuleActionSet(msrest.serialization.Model): + """Set of actions in the Rewrite Rule in Application Gateway. + + :param request_header_configurations: Request Header Actions in the Action Set. + :type request_header_configurations: + list[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayHeaderConfiguration] + :param response_header_configurations: Response Header Actions in the Action Set. + :type response_header_configurations: + list[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayHeaderConfiguration] + :param url_configuration: Url Configuration Action in the Action Set. + :type url_configuration: + ~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayUrlConfiguration + """ + + _attribute_map = { + 'request_header_configurations': {'key': 'requestHeaderConfigurations', 'type': '[ApplicationGatewayHeaderConfiguration]'}, + 'response_header_configurations': {'key': 'responseHeaderConfigurations', 'type': '[ApplicationGatewayHeaderConfiguration]'}, + 'url_configuration': {'key': 'urlConfiguration', 'type': 'ApplicationGatewayUrlConfiguration'}, + } + + def __init__( + self, + **kwargs + ): + super(ApplicationGatewayRewriteRuleActionSet, self).__init__(**kwargs) + self.request_header_configurations = kwargs.get('request_header_configurations', None) + self.response_header_configurations = kwargs.get('response_header_configurations', None) + self.url_configuration = kwargs.get('url_configuration', None) + + +class ApplicationGatewayRewriteRuleCondition(msrest.serialization.Model): + """Set of conditions in the Rewrite Rule in Application Gateway. + + :param variable: The condition parameter of the RewriteRuleCondition. + :type variable: str + :param pattern: The pattern, either fixed string or regular expression, that evaluates the + truthfulness of the condition. + :type pattern: str + :param ignore_case: Setting this parameter to truth value with force the pattern to do a case + in-sensitive comparison. + :type ignore_case: bool + :param negate: Setting this value as truth will force to check the negation of the condition + given by the user. + :type negate: bool + """ + + _attribute_map = { + 'variable': {'key': 'variable', 'type': 'str'}, + 'pattern': {'key': 'pattern', 'type': 'str'}, + 'ignore_case': {'key': 'ignoreCase', 'type': 'bool'}, + 'negate': {'key': 'negate', 'type': 'bool'}, + } + + def __init__( + self, + **kwargs + ): + super(ApplicationGatewayRewriteRuleCondition, self).__init__(**kwargs) + self.variable = kwargs.get('variable', None) + self.pattern = kwargs.get('pattern', None) + self.ignore_case = kwargs.get('ignore_case', None) + self.negate = kwargs.get('negate', None) + + +class ApplicationGatewayRewriteRuleSet(SubResource): + """Rewrite rule set of an application gateway. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: Name of the rewrite rule set that is unique within an Application Gateway. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param rewrite_rules: Rewrite rules in the rewrite rule set. + :type rewrite_rules: list[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayRewriteRule] + :ivar provisioning_state: The provisioning state of the rewrite rule set resource. Possible + values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'rewrite_rules': {'key': 'properties.rewriteRules', 'type': '[ApplicationGatewayRewriteRule]'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ApplicationGatewayRewriteRuleSet, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.etag = None + self.rewrite_rules = kwargs.get('rewrite_rules', None) + self.provisioning_state = None + + +class ApplicationGatewaySku(msrest.serialization.Model): + """SKU of an application gateway. + + :param name: Name of an application gateway SKU. Possible values include: "Standard_Small", + "Standard_Medium", "Standard_Large", "WAF_Medium", "WAF_Large", "Standard_v2", "WAF_v2". + :type name: str or ~azure.mgmt.network.v2021_02_01.models.ApplicationGatewaySkuName + :param tier: Tier of an application gateway. Possible values include: "Standard", "WAF", + "Standard_v2", "WAF_v2". + :type tier: str or ~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayTier + :param capacity: Capacity (instance count) of an application gateway. + :type capacity: int + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'tier': {'key': 'tier', 'type': 'str'}, + 'capacity': {'key': 'capacity', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(ApplicationGatewaySku, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.tier = kwargs.get('tier', None) + self.capacity = kwargs.get('capacity', None) + + +class ApplicationGatewaySslCertificate(SubResource): + """SSL certificates of an application gateway. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: Name of the SSL certificate that is unique within an Application Gateway. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str + :param data: Base-64 encoded pfx certificate. Only applicable in PUT Request. + :type data: str + :param password: Password for the pfx file specified in data. Only applicable in PUT request. + :type password: str + :ivar public_cert_data: Base-64 encoded Public cert data corresponding to pfx specified in + data. Only applicable in GET request. + :vartype public_cert_data: str + :param key_vault_secret_id: Secret Id of (base-64 encoded unencrypted pfx) 'Secret' or + 'Certificate' object stored in KeyVault. + :type key_vault_secret_id: str + :ivar provisioning_state: The provisioning state of the SSL certificate resource. Possible + values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'public_cert_data': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'data': {'key': 'properties.data', 'type': 'str'}, + 'password': {'key': 'properties.password', 'type': 'str'}, + 'public_cert_data': {'key': 'properties.publicCertData', 'type': 'str'}, + 'key_vault_secret_id': {'key': 'properties.keyVaultSecretId', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ApplicationGatewaySslCertificate, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.etag = None + self.type = None + self.data = kwargs.get('data', None) + self.password = kwargs.get('password', None) + self.public_cert_data = None + self.key_vault_secret_id = kwargs.get('key_vault_secret_id', None) + self.provisioning_state = None + + +class ApplicationGatewaySslPolicy(msrest.serialization.Model): + """Application Gateway Ssl policy. + + :param disabled_ssl_protocols: Ssl protocols to be disabled on application gateway. + :type disabled_ssl_protocols: list[str or + ~azure.mgmt.network.v2021_02_01.models.ApplicationGatewaySslProtocol] + :param policy_type: Type of Ssl Policy. Possible values include: "Predefined", "Custom". + :type policy_type: str or + ~azure.mgmt.network.v2021_02_01.models.ApplicationGatewaySslPolicyType + :param policy_name: Name of Ssl predefined policy. Possible values include: + "AppGwSslPolicy20150501", "AppGwSslPolicy20170401", "AppGwSslPolicy20170401S". + :type policy_name: str or + ~azure.mgmt.network.v2021_02_01.models.ApplicationGatewaySslPolicyName + :param cipher_suites: Ssl cipher suites to be enabled in the specified order to application + gateway. + :type cipher_suites: list[str or + ~azure.mgmt.network.v2021_02_01.models.ApplicationGatewaySslCipherSuite] + :param min_protocol_version: Minimum version of Ssl protocol to be supported on application + gateway. Possible values include: "TLSv1_0", "TLSv1_1", "TLSv1_2". + :type min_protocol_version: str or + ~azure.mgmt.network.v2021_02_01.models.ApplicationGatewaySslProtocol + """ + + _attribute_map = { + 'disabled_ssl_protocols': {'key': 'disabledSslProtocols', 'type': '[str]'}, + 'policy_type': {'key': 'policyType', 'type': 'str'}, + 'policy_name': {'key': 'policyName', 'type': 'str'}, + 'cipher_suites': {'key': 'cipherSuites', 'type': '[str]'}, + 'min_protocol_version': {'key': 'minProtocolVersion', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ApplicationGatewaySslPolicy, self).__init__(**kwargs) + self.disabled_ssl_protocols = kwargs.get('disabled_ssl_protocols', None) + self.policy_type = kwargs.get('policy_type', None) + self.policy_name = kwargs.get('policy_name', None) + self.cipher_suites = kwargs.get('cipher_suites', None) + self.min_protocol_version = kwargs.get('min_protocol_version', None) + + +class ApplicationGatewaySslPredefinedPolicy(SubResource): + """An Ssl predefined policy. + + :param id: Resource ID. + :type id: str + :param name: Name of the Ssl predefined policy. + :type name: str + :param cipher_suites: Ssl cipher suites to be enabled in the specified order for application + gateway. + :type cipher_suites: list[str or + ~azure.mgmt.network.v2021_02_01.models.ApplicationGatewaySslCipherSuite] + :param min_protocol_version: Minimum version of Ssl protocol to be supported on application + gateway. Possible values include: "TLSv1_0", "TLSv1_1", "TLSv1_2". + :type min_protocol_version: str or + ~azure.mgmt.network.v2021_02_01.models.ApplicationGatewaySslProtocol + """ + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'cipher_suites': {'key': 'properties.cipherSuites', 'type': '[str]'}, + 'min_protocol_version': {'key': 'properties.minProtocolVersion', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ApplicationGatewaySslPredefinedPolicy, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.cipher_suites = kwargs.get('cipher_suites', None) + self.min_protocol_version = kwargs.get('min_protocol_version', None) + + +class ApplicationGatewaySslProfile(SubResource): + """SSL profile of an application gateway. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: Name of the SSL profile that is unique within an Application Gateway. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str + :param trusted_client_certificates: Array of references to application gateway trusted client + certificates. + :type trusted_client_certificates: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + :param ssl_policy: SSL policy of the application gateway resource. + :type ssl_policy: ~azure.mgmt.network.v2021_02_01.models.ApplicationGatewaySslPolicy + :param client_auth_configuration: Client authentication configuration of the application + gateway resource. + :type client_auth_configuration: + ~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayClientAuthConfiguration + :ivar provisioning_state: The provisioning state of the HTTP listener resource. Possible values + include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'trusted_client_certificates': {'key': 'properties.trustedClientCertificates', 'type': '[SubResource]'}, + 'ssl_policy': {'key': 'properties.sslPolicy', 'type': 'ApplicationGatewaySslPolicy'}, + 'client_auth_configuration': {'key': 'properties.clientAuthConfiguration', 'type': 'ApplicationGatewayClientAuthConfiguration'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ApplicationGatewaySslProfile, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.etag = None + self.type = None + self.trusted_client_certificates = kwargs.get('trusted_client_certificates', None) + self.ssl_policy = kwargs.get('ssl_policy', None) + self.client_auth_configuration = kwargs.get('client_auth_configuration', None) + self.provisioning_state = None + + +class ApplicationGatewayTrustedClientCertificate(SubResource): + """Trusted client certificates of an application gateway. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: Name of the trusted client certificate that is unique within an Application + Gateway. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str + :param data: Certificate public data. + :type data: str + :ivar validated_cert_data: Validated certificate data. + :vartype validated_cert_data: str + :ivar client_cert_issuer_dn: Distinguished name of client certificate issuer. + :vartype client_cert_issuer_dn: str + :ivar provisioning_state: The provisioning state of the trusted client certificate resource. + Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'validated_cert_data': {'readonly': True}, + 'client_cert_issuer_dn': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'data': {'key': 'properties.data', 'type': 'str'}, + 'validated_cert_data': {'key': 'properties.validatedCertData', 'type': 'str'}, + 'client_cert_issuer_dn': {'key': 'properties.clientCertIssuerDN', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ApplicationGatewayTrustedClientCertificate, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.etag = None + self.type = None + self.data = kwargs.get('data', None) + self.validated_cert_data = None + self.client_cert_issuer_dn = None + self.provisioning_state = None + + +class ApplicationGatewayTrustedRootCertificate(SubResource): + """Trusted Root certificates of an application gateway. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: Name of the trusted root certificate that is unique within an Application Gateway. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str + :param data: Certificate public data. + :type data: str + :param key_vault_secret_id: Secret Id of (base-64 encoded unencrypted pfx) 'Secret' or + 'Certificate' object stored in KeyVault. + :type key_vault_secret_id: str + :ivar provisioning_state: The provisioning state of the trusted root certificate resource. + Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'data': {'key': 'properties.data', 'type': 'str'}, + 'key_vault_secret_id': {'key': 'properties.keyVaultSecretId', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ApplicationGatewayTrustedRootCertificate, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.etag = None + self.type = None + self.data = kwargs.get('data', None) + self.key_vault_secret_id = kwargs.get('key_vault_secret_id', None) + self.provisioning_state = None + + +class ApplicationGatewayUrlConfiguration(msrest.serialization.Model): + """Url configuration of the Actions set in Application Gateway. + + :param modified_path: Url path which user has provided for url rewrite. Null means no path will + be updated. Default value is null. + :type modified_path: str + :param modified_query_string: Query string which user has provided for url rewrite. Null means + no query string will be updated. Default value is null. + :type modified_query_string: str + :param reroute: If set as true, it will re-evaluate the url path map provided in path based + request routing rules using modified path. Default value is false. + :type reroute: bool + """ + + _attribute_map = { + 'modified_path': {'key': 'modifiedPath', 'type': 'str'}, + 'modified_query_string': {'key': 'modifiedQueryString', 'type': 'str'}, + 'reroute': {'key': 'reroute', 'type': 'bool'}, + } + + def __init__( + self, + **kwargs + ): + super(ApplicationGatewayUrlConfiguration, self).__init__(**kwargs) + self.modified_path = kwargs.get('modified_path', None) + self.modified_query_string = kwargs.get('modified_query_string', None) + self.reroute = kwargs.get('reroute', None) + + +class ApplicationGatewayUrlPathMap(SubResource): + """UrlPathMaps give a url path to the backend mapping information for PathBasedRouting. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: Name of the URL path map that is unique within an Application Gateway. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str + :param default_backend_address_pool: Default backend address pool resource of URL path map. + :type default_backend_address_pool: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param default_backend_http_settings: Default backend http settings resource of URL path map. + :type default_backend_http_settings: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param default_rewrite_rule_set: Default Rewrite rule set resource of URL path map. + :type default_rewrite_rule_set: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param default_redirect_configuration: Default redirect configuration resource of URL path map. + :type default_redirect_configuration: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param path_rules: Path rule of URL path map resource. + :type path_rules: list[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayPathRule] + :ivar provisioning_state: The provisioning state of the URL path map resource. Possible values + include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'default_backend_address_pool': {'key': 'properties.defaultBackendAddressPool', 'type': 'SubResource'}, + 'default_backend_http_settings': {'key': 'properties.defaultBackendHttpSettings', 'type': 'SubResource'}, + 'default_rewrite_rule_set': {'key': 'properties.defaultRewriteRuleSet', 'type': 'SubResource'}, + 'default_redirect_configuration': {'key': 'properties.defaultRedirectConfiguration', 'type': 'SubResource'}, + 'path_rules': {'key': 'properties.pathRules', 'type': '[ApplicationGatewayPathRule]'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ApplicationGatewayUrlPathMap, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.etag = None + self.type = None + self.default_backend_address_pool = kwargs.get('default_backend_address_pool', None) + self.default_backend_http_settings = kwargs.get('default_backend_http_settings', None) + self.default_rewrite_rule_set = kwargs.get('default_rewrite_rule_set', None) + self.default_redirect_configuration = kwargs.get('default_redirect_configuration', None) + self.path_rules = kwargs.get('path_rules', None) + self.provisioning_state = None + + +class ApplicationGatewayWebApplicationFirewallConfiguration(msrest.serialization.Model): + """Application gateway web application firewall configuration. + + All required parameters must be populated in order to send to Azure. + + :param enabled: Required. Whether the web application firewall is enabled or not. + :type enabled: bool + :param firewall_mode: Required. Web application firewall mode. Possible values include: + "Detection", "Prevention". + :type firewall_mode: str or + ~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayFirewallMode + :param rule_set_type: Required. The type of the web application firewall rule set. Possible + values are: 'OWASP'. + :type rule_set_type: str + :param rule_set_version: Required. The version of the rule set type. + :type rule_set_version: str + :param disabled_rule_groups: The disabled rule groups. + :type disabled_rule_groups: + list[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayFirewallDisabledRuleGroup] + :param request_body_check: Whether allow WAF to check request Body. + :type request_body_check: bool + :param max_request_body_size: Maximum request body size for WAF. + :type max_request_body_size: int + :param max_request_body_size_in_kb: Maximum request body size in Kb for WAF. + :type max_request_body_size_in_kb: int + :param file_upload_limit_in_mb: Maximum file upload size in Mb for WAF. + :type file_upload_limit_in_mb: int + :param exclusions: The exclusion list. + :type exclusions: + list[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayFirewallExclusion] + """ + + _validation = { + 'enabled': {'required': True}, + 'firewall_mode': {'required': True}, + 'rule_set_type': {'required': True}, + 'rule_set_version': {'required': True}, + 'max_request_body_size': {'maximum': 128, 'minimum': 8}, + 'max_request_body_size_in_kb': {'maximum': 128, 'minimum': 8}, + 'file_upload_limit_in_mb': {'minimum': 0}, + } + + _attribute_map = { + 'enabled': {'key': 'enabled', 'type': 'bool'}, + 'firewall_mode': {'key': 'firewallMode', 'type': 'str'}, + 'rule_set_type': {'key': 'ruleSetType', 'type': 'str'}, + 'rule_set_version': {'key': 'ruleSetVersion', 'type': 'str'}, + 'disabled_rule_groups': {'key': 'disabledRuleGroups', 'type': '[ApplicationGatewayFirewallDisabledRuleGroup]'}, + 'request_body_check': {'key': 'requestBodyCheck', 'type': 'bool'}, + 'max_request_body_size': {'key': 'maxRequestBodySize', 'type': 'int'}, + 'max_request_body_size_in_kb': {'key': 'maxRequestBodySizeInKb', 'type': 'int'}, + 'file_upload_limit_in_mb': {'key': 'fileUploadLimitInMb', 'type': 'int'}, + 'exclusions': {'key': 'exclusions', 'type': '[ApplicationGatewayFirewallExclusion]'}, + } + + def __init__( + self, + **kwargs + ): + super(ApplicationGatewayWebApplicationFirewallConfiguration, self).__init__(**kwargs) + self.enabled = kwargs['enabled'] + self.firewall_mode = kwargs['firewall_mode'] + self.rule_set_type = kwargs['rule_set_type'] + self.rule_set_version = kwargs['rule_set_version'] + self.disabled_rule_groups = kwargs.get('disabled_rule_groups', None) + self.request_body_check = kwargs.get('request_body_check', None) + self.max_request_body_size = kwargs.get('max_request_body_size', None) + self.max_request_body_size_in_kb = kwargs.get('max_request_body_size_in_kb', None) + self.file_upload_limit_in_mb = kwargs.get('file_upload_limit_in_mb', None) + self.exclusions = kwargs.get('exclusions', None) + + +class FirewallPolicyRule(msrest.serialization.Model): + """Properties of a rule. + + You probably want to use the sub-classes and not this class directly. Known + sub-classes are: ApplicationRule, NatRule, NetworkRule. + + All required parameters must be populated in order to send to Azure. + + :param name: Name of the rule. + :type name: str + :param description: Description of the rule. + :type description: str + :param rule_type: Required. Rule Type.Constant filled by server. Possible values include: + "ApplicationRule", "NetworkRule", "NatRule". + :type rule_type: str or ~azure.mgmt.network.v2021_02_01.models.FirewallPolicyRuleType + """ + + _validation = { + 'rule_type': {'required': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + 'rule_type': {'key': 'ruleType', 'type': 'str'}, + } + + _subtype_map = { + 'rule_type': {'ApplicationRule': 'ApplicationRule', 'NatRule': 'NatRule', 'NetworkRule': 'NetworkRule'} + } + + def __init__( + self, + **kwargs + ): + super(FirewallPolicyRule, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.description = kwargs.get('description', None) + self.rule_type = None # type: Optional[str] + + +class ApplicationRule(FirewallPolicyRule): + """Rule of type application. + + All required parameters must be populated in order to send to Azure. + + :param name: Name of the rule. + :type name: str + :param description: Description of the rule. + :type description: str + :param rule_type: Required. Rule Type.Constant filled by server. Possible values include: + "ApplicationRule", "NetworkRule", "NatRule". + :type rule_type: str or ~azure.mgmt.network.v2021_02_01.models.FirewallPolicyRuleType + :param source_addresses: List of source IP addresses for this rule. + :type source_addresses: list[str] + :param destination_addresses: List of destination IP addresses or Service Tags. + :type destination_addresses: list[str] + :param protocols: Array of Application Protocols. + :type protocols: + list[~azure.mgmt.network.v2021_02_01.models.FirewallPolicyRuleApplicationProtocol] + :param target_fqdns: List of FQDNs for this rule. + :type target_fqdns: list[str] + :param target_urls: List of Urls for this rule condition. + :type target_urls: list[str] + :param fqdn_tags: List of FQDN Tags for this rule. + :type fqdn_tags: list[str] + :param source_ip_groups: List of source IpGroups for this rule. + :type source_ip_groups: list[str] + :param terminate_tls: Terminate TLS connections for this rule. + :type terminate_tls: bool + :param web_categories: List of destination azure web categories. + :type web_categories: list[str] + """ + + _validation = { + 'rule_type': {'required': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + 'rule_type': {'key': 'ruleType', 'type': 'str'}, + 'source_addresses': {'key': 'sourceAddresses', 'type': '[str]'}, + 'destination_addresses': {'key': 'destinationAddresses', 'type': '[str]'}, + 'protocols': {'key': 'protocols', 'type': '[FirewallPolicyRuleApplicationProtocol]'}, + 'target_fqdns': {'key': 'targetFqdns', 'type': '[str]'}, + 'target_urls': {'key': 'targetUrls', 'type': '[str]'}, + 'fqdn_tags': {'key': 'fqdnTags', 'type': '[str]'}, + 'source_ip_groups': {'key': 'sourceIpGroups', 'type': '[str]'}, + 'terminate_tls': {'key': 'terminateTLS', 'type': 'bool'}, + 'web_categories': {'key': 'webCategories', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(ApplicationRule, self).__init__(**kwargs) + self.rule_type = 'ApplicationRule' # type: str + self.source_addresses = kwargs.get('source_addresses', None) + self.destination_addresses = kwargs.get('destination_addresses', None) + self.protocols = kwargs.get('protocols', None) + self.target_fqdns = kwargs.get('target_fqdns', None) + self.target_urls = kwargs.get('target_urls', None) + self.fqdn_tags = kwargs.get('fqdn_tags', None) + self.source_ip_groups = kwargs.get('source_ip_groups', None) + self.terminate_tls = kwargs.get('terminate_tls', None) + self.web_categories = kwargs.get('web_categories', None) + + +class ApplicationSecurityGroup(Resource): + """An application security group in a resource group. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar resource_guid: The resource GUID property of the application security group resource. It + uniquely identifies a resource, even if the user changes its name or migrate the resource + across subscriptions or resource groups. + :vartype resource_guid: str + :ivar provisioning_state: The provisioning state of the application security group resource. + Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'resource_guid': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'resource_guid': {'key': 'properties.resourceGuid', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ApplicationSecurityGroup, self).__init__(**kwargs) + self.etag = None + self.resource_guid = None + self.provisioning_state = None + + +class ApplicationSecurityGroupListResult(msrest.serialization.Model): + """A list of application security groups. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: A list of application security groups. + :type value: list[~azure.mgmt.network.v2021_02_01.models.ApplicationSecurityGroup] + :ivar next_link: The URL to get the next set of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[ApplicationSecurityGroup]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ApplicationSecurityGroupListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = None + + +class AuthorizationListResult(msrest.serialization.Model): + """Response for ListAuthorizations API service call retrieves all authorizations that belongs to an ExpressRouteCircuit. + + :param value: The authorizations in an ExpressRoute Circuit. + :type value: list[~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitAuthorization] + :param next_link: The URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[ExpressRouteCircuitAuthorization]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(AuthorizationListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = kwargs.get('next_link', None) + + +class AutoApprovedPrivateLinkService(msrest.serialization.Model): + """The information of an AutoApprovedPrivateLinkService. + + :param private_link_service: The id of the private link service resource. + :type private_link_service: str + """ + + _attribute_map = { + 'private_link_service': {'key': 'privateLinkService', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(AutoApprovedPrivateLinkService, self).__init__(**kwargs) + self.private_link_service = kwargs.get('private_link_service', None) + + +class AutoApprovedPrivateLinkServicesResult(msrest.serialization.Model): + """An array of private link service id that can be linked to a private end point with auto approved. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: An array of auto approved private link service. + :type value: list[~azure.mgmt.network.v2021_02_01.models.AutoApprovedPrivateLinkService] + :ivar next_link: The URL to get the next set of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[AutoApprovedPrivateLinkService]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(AutoApprovedPrivateLinkServicesResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = None + + +class Availability(msrest.serialization.Model): + """Availability of the metric. + + :param time_grain: The time grain of the availability. + :type time_grain: str + :param retention: The retention of the availability. + :type retention: str + :param blob_duration: Duration of the availability blob. + :type blob_duration: str + """ + + _attribute_map = { + 'time_grain': {'key': 'timeGrain', 'type': 'str'}, + 'retention': {'key': 'retention', 'type': 'str'}, + 'blob_duration': {'key': 'blobDuration', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(Availability, self).__init__(**kwargs) + self.time_grain = kwargs.get('time_grain', None) + self.retention = kwargs.get('retention', None) + self.blob_duration = kwargs.get('blob_duration', None) + + +class AvailableDelegation(msrest.serialization.Model): + """The serviceName of an AvailableDelegation indicates a possible delegation for a subnet. + + :param name: The name of the AvailableDelegation resource. + :type name: str + :param id: A unique identifier of the AvailableDelegation resource. + :type id: str + :param type: Resource type. + :type type: str + :param service_name: The name of the service and resource. + :type service_name: str + :param actions: The actions permitted to the service upon delegation. + :type actions: list[str] + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'id': {'key': 'id', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'service_name': {'key': 'serviceName', 'type': 'str'}, + 'actions': {'key': 'actions', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(AvailableDelegation, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.id = kwargs.get('id', None) + self.type = kwargs.get('type', None) + self.service_name = kwargs.get('service_name', None) + self.actions = kwargs.get('actions', None) + + +class AvailableDelegationsResult(msrest.serialization.Model): + """An array of available delegations. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: An array of available delegations. + :type value: list[~azure.mgmt.network.v2021_02_01.models.AvailableDelegation] + :ivar next_link: The URL to get the next set of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[AvailableDelegation]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(AvailableDelegationsResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = None + + +class AvailablePrivateEndpointType(msrest.serialization.Model): + """The information of an AvailablePrivateEndpointType. + + :param name: The name of the service and resource. + :type name: str + :param id: A unique identifier of the AvailablePrivateEndpoint Type resource. + :type id: str + :param type: Resource type. + :type type: str + :param resource_name: The name of the service and resource. + :type resource_name: str + :param display_name: Display name of the resource. + :type display_name: str + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'id': {'key': 'id', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'resource_name': {'key': 'resourceName', 'type': 'str'}, + 'display_name': {'key': 'displayName', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(AvailablePrivateEndpointType, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.id = kwargs.get('id', None) + self.type = kwargs.get('type', None) + self.resource_name = kwargs.get('resource_name', None) + self.display_name = kwargs.get('display_name', None) + + +class AvailablePrivateEndpointTypesResult(msrest.serialization.Model): + """An array of available PrivateEndpoint types. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: An array of available privateEndpoint type. + :type value: list[~azure.mgmt.network.v2021_02_01.models.AvailablePrivateEndpointType] + :ivar next_link: The URL to get the next set of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[AvailablePrivateEndpointType]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(AvailablePrivateEndpointTypesResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = None + + +class AvailableProvidersList(msrest.serialization.Model): + """List of available countries with details. + + All required parameters must be populated in order to send to Azure. + + :param countries: Required. List of available countries. + :type countries: list[~azure.mgmt.network.v2021_02_01.models.AvailableProvidersListCountry] + """ + + _validation = { + 'countries': {'required': True}, + } + + _attribute_map = { + 'countries': {'key': 'countries', 'type': '[AvailableProvidersListCountry]'}, + } + + def __init__( + self, + **kwargs + ): + super(AvailableProvidersList, self).__init__(**kwargs) + self.countries = kwargs['countries'] + + +class AvailableProvidersListCity(msrest.serialization.Model): + """City or town details. + + :param city_name: The city or town name. + :type city_name: str + :param providers: A list of Internet service providers. + :type providers: list[str] + """ + + _attribute_map = { + 'city_name': {'key': 'cityName', 'type': 'str'}, + 'providers': {'key': 'providers', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(AvailableProvidersListCity, self).__init__(**kwargs) + self.city_name = kwargs.get('city_name', None) + self.providers = kwargs.get('providers', None) + + +class AvailableProvidersListCountry(msrest.serialization.Model): + """Country details. + + :param country_name: The country name. + :type country_name: str + :param providers: A list of Internet service providers. + :type providers: list[str] + :param states: List of available states in the country. + :type states: list[~azure.mgmt.network.v2021_02_01.models.AvailableProvidersListState] + """ + + _attribute_map = { + 'country_name': {'key': 'countryName', 'type': 'str'}, + 'providers': {'key': 'providers', 'type': '[str]'}, + 'states': {'key': 'states', 'type': '[AvailableProvidersListState]'}, + } + + def __init__( + self, + **kwargs + ): + super(AvailableProvidersListCountry, self).__init__(**kwargs) + self.country_name = kwargs.get('country_name', None) + self.providers = kwargs.get('providers', None) + self.states = kwargs.get('states', None) + + +class AvailableProvidersListParameters(msrest.serialization.Model): + """Constraints that determine the list of available Internet service providers. + + :param azure_locations: A list of Azure regions. + :type azure_locations: list[str] + :param country: The country for available providers list. + :type country: str + :param state: The state for available providers list. + :type state: str + :param city: The city or town for available providers list. + :type city: str + """ + + _attribute_map = { + 'azure_locations': {'key': 'azureLocations', 'type': '[str]'}, + 'country': {'key': 'country', 'type': 'str'}, + 'state': {'key': 'state', 'type': 'str'}, + 'city': {'key': 'city', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(AvailableProvidersListParameters, self).__init__(**kwargs) + self.azure_locations = kwargs.get('azure_locations', None) + self.country = kwargs.get('country', None) + self.state = kwargs.get('state', None) + self.city = kwargs.get('city', None) + + +class AvailableProvidersListState(msrest.serialization.Model): + """State details. + + :param state_name: The state name. + :type state_name: str + :param providers: A list of Internet service providers. + :type providers: list[str] + :param cities: List of available cities or towns in the state. + :type cities: list[~azure.mgmt.network.v2021_02_01.models.AvailableProvidersListCity] + """ + + _attribute_map = { + 'state_name': {'key': 'stateName', 'type': 'str'}, + 'providers': {'key': 'providers', 'type': '[str]'}, + 'cities': {'key': 'cities', 'type': '[AvailableProvidersListCity]'}, + } + + def __init__( + self, + **kwargs + ): + super(AvailableProvidersListState, self).__init__(**kwargs) + self.state_name = kwargs.get('state_name', None) + self.providers = kwargs.get('providers', None) + self.cities = kwargs.get('cities', None) + + +class AvailableServiceAlias(msrest.serialization.Model): + """The available service alias. + + :param name: The name of the service alias. + :type name: str + :param id: The ID of the service alias. + :type id: str + :param type: The type of the resource. + :type type: str + :param resource_name: The resource name of the service alias. + :type resource_name: str + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'id': {'key': 'id', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'resource_name': {'key': 'resourceName', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(AvailableServiceAlias, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.id = kwargs.get('id', None) + self.type = kwargs.get('type', None) + self.resource_name = kwargs.get('resource_name', None) + + +class AvailableServiceAliasesResult(msrest.serialization.Model): + """An array of available service aliases. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: An array of available service aliases. + :type value: list[~azure.mgmt.network.v2021_02_01.models.AvailableServiceAlias] + :ivar next_link: The URL to get the next set of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[AvailableServiceAlias]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(AvailableServiceAliasesResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = None + + +class AzureAsyncOperationResult(msrest.serialization.Model): + """The response body contains the status of the specified asynchronous operation, indicating whether it has succeeded, is in progress, or has failed. Note that this status is distinct from the HTTP status code returned for the Get Operation Status operation itself. If the asynchronous operation succeeded, the response body includes the HTTP status code for the successful request. If the asynchronous operation failed, the response body includes the HTTP status code for the failed request and error information regarding the failure. + + :param status: Status of the Azure async operation. Possible values include: "InProgress", + "Succeeded", "Failed". + :type status: str or ~azure.mgmt.network.v2021_02_01.models.NetworkOperationStatus + :param error: Details of the error occurred during specified asynchronous operation. + :type error: ~azure.mgmt.network.v2021_02_01.models.Error + """ + + _attribute_map = { + 'status': {'key': 'status', 'type': 'str'}, + 'error': {'key': 'error', 'type': 'Error'}, + } + + def __init__( + self, + **kwargs + ): + super(AzureAsyncOperationResult, self).__init__(**kwargs) + self.status = kwargs.get('status', None) + self.error = kwargs.get('error', None) + + +class AzureFirewall(Resource): + """Azure Firewall resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :param zones: A list of availability zones denoting where the resource needs to come from. + :type zones: list[str] + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param application_rule_collections: Collection of application rule collections used by Azure + Firewall. + :type application_rule_collections: + list[~azure.mgmt.network.v2021_02_01.models.AzureFirewallApplicationRuleCollection] + :param nat_rule_collections: Collection of NAT rule collections used by Azure Firewall. + :type nat_rule_collections: + list[~azure.mgmt.network.v2021_02_01.models.AzureFirewallNatRuleCollection] + :param network_rule_collections: Collection of network rule collections used by Azure Firewall. + :type network_rule_collections: + list[~azure.mgmt.network.v2021_02_01.models.AzureFirewallNetworkRuleCollection] + :param ip_configurations: IP configuration of the Azure Firewall resource. + :type ip_configurations: + list[~azure.mgmt.network.v2021_02_01.models.AzureFirewallIPConfiguration] + :param management_ip_configuration: IP configuration of the Azure Firewall used for management + traffic. + :type management_ip_configuration: + ~azure.mgmt.network.v2021_02_01.models.AzureFirewallIPConfiguration + :ivar provisioning_state: The provisioning state of the Azure firewall resource. Possible + values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :param threat_intel_mode: The operation mode for Threat Intelligence. Possible values include: + "Alert", "Deny", "Off". + :type threat_intel_mode: str or + ~azure.mgmt.network.v2021_02_01.models.AzureFirewallThreatIntelMode + :param virtual_hub: The virtualHub to which the firewall belongs. + :type virtual_hub: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param firewall_policy: The firewallPolicy associated with this azure firewall. + :type firewall_policy: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param hub_ip_addresses: IP addresses associated with AzureFirewall. + :type hub_ip_addresses: ~azure.mgmt.network.v2021_02_01.models.HubIPAddresses + :ivar ip_groups: IpGroups associated with AzureFirewall. + :vartype ip_groups: list[~azure.mgmt.network.v2021_02_01.models.AzureFirewallIpGroups] + :param sku: The Azure Firewall Resource SKU. + :type sku: ~azure.mgmt.network.v2021_02_01.models.AzureFirewallSku + :param additional_properties: The additional properties used to further config this azure + firewall. + :type additional_properties: dict[str, str] + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'ip_groups': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'zones': {'key': 'zones', 'type': '[str]'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'application_rule_collections': {'key': 'properties.applicationRuleCollections', 'type': '[AzureFirewallApplicationRuleCollection]'}, + 'nat_rule_collections': {'key': 'properties.natRuleCollections', 'type': '[AzureFirewallNatRuleCollection]'}, + 'network_rule_collections': {'key': 'properties.networkRuleCollections', 'type': '[AzureFirewallNetworkRuleCollection]'}, + 'ip_configurations': {'key': 'properties.ipConfigurations', 'type': '[AzureFirewallIPConfiguration]'}, + 'management_ip_configuration': {'key': 'properties.managementIpConfiguration', 'type': 'AzureFirewallIPConfiguration'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'threat_intel_mode': {'key': 'properties.threatIntelMode', 'type': 'str'}, + 'virtual_hub': {'key': 'properties.virtualHub', 'type': 'SubResource'}, + 'firewall_policy': {'key': 'properties.firewallPolicy', 'type': 'SubResource'}, + 'hub_ip_addresses': {'key': 'properties.hubIPAddresses', 'type': 'HubIPAddresses'}, + 'ip_groups': {'key': 'properties.ipGroups', 'type': '[AzureFirewallIpGroups]'}, + 'sku': {'key': 'properties.sku', 'type': 'AzureFirewallSku'}, + 'additional_properties': {'key': 'properties.additionalProperties', 'type': '{str}'}, + } + + def __init__( + self, + **kwargs + ): + super(AzureFirewall, self).__init__(**kwargs) + self.zones = kwargs.get('zones', None) + self.etag = None + self.application_rule_collections = kwargs.get('application_rule_collections', None) + self.nat_rule_collections = kwargs.get('nat_rule_collections', None) + self.network_rule_collections = kwargs.get('network_rule_collections', None) + self.ip_configurations = kwargs.get('ip_configurations', None) + self.management_ip_configuration = kwargs.get('management_ip_configuration', None) + self.provisioning_state = None + self.threat_intel_mode = kwargs.get('threat_intel_mode', None) + self.virtual_hub = kwargs.get('virtual_hub', None) + self.firewall_policy = kwargs.get('firewall_policy', None) + self.hub_ip_addresses = kwargs.get('hub_ip_addresses', None) + self.ip_groups = None + self.sku = kwargs.get('sku', None) + self.additional_properties = kwargs.get('additional_properties', None) + + +class AzureFirewallApplicationRule(msrest.serialization.Model): + """Properties of an application rule. + + :param name: Name of the application rule. + :type name: str + :param description: Description of the rule. + :type description: str + :param source_addresses: List of source IP addresses for this rule. + :type source_addresses: list[str] + :param protocols: Array of ApplicationRuleProtocols. + :type protocols: + list[~azure.mgmt.network.v2021_02_01.models.AzureFirewallApplicationRuleProtocol] + :param target_fqdns: List of FQDNs for this rule. + :type target_fqdns: list[str] + :param fqdn_tags: List of FQDN Tags for this rule. + :type fqdn_tags: list[str] + :param source_ip_groups: List of source IpGroups for this rule. + :type source_ip_groups: list[str] + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + 'source_addresses': {'key': 'sourceAddresses', 'type': '[str]'}, + 'protocols': {'key': 'protocols', 'type': '[AzureFirewallApplicationRuleProtocol]'}, + 'target_fqdns': {'key': 'targetFqdns', 'type': '[str]'}, + 'fqdn_tags': {'key': 'fqdnTags', 'type': '[str]'}, + 'source_ip_groups': {'key': 'sourceIpGroups', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(AzureFirewallApplicationRule, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.description = kwargs.get('description', None) + self.source_addresses = kwargs.get('source_addresses', None) + self.protocols = kwargs.get('protocols', None) + self.target_fqdns = kwargs.get('target_fqdns', None) + self.fqdn_tags = kwargs.get('fqdn_tags', None) + self.source_ip_groups = kwargs.get('source_ip_groups', None) + + +class AzureFirewallApplicationRuleCollection(SubResource): + """Application rule collection resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: The name of the resource that is unique within the Azure firewall. This name can + be used to access the resource. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param priority: Priority of the application rule collection resource. + :type priority: int + :param action: The action type of a rule collection. + :type action: ~azure.mgmt.network.v2021_02_01.models.AzureFirewallRCAction + :param rules: Collection of rules used by a application rule collection. + :type rules: list[~azure.mgmt.network.v2021_02_01.models.AzureFirewallApplicationRule] + :ivar provisioning_state: The provisioning state of the application rule collection resource. + Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'priority': {'maximum': 65000, 'minimum': 100}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'priority': {'key': 'properties.priority', 'type': 'int'}, + 'action': {'key': 'properties.action', 'type': 'AzureFirewallRCAction'}, + 'rules': {'key': 'properties.rules', 'type': '[AzureFirewallApplicationRule]'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(AzureFirewallApplicationRuleCollection, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.etag = None + self.priority = kwargs.get('priority', None) + self.action = kwargs.get('action', None) + self.rules = kwargs.get('rules', None) + self.provisioning_state = None + + +class AzureFirewallApplicationRuleProtocol(msrest.serialization.Model): + """Properties of the application rule protocol. + + :param protocol_type: Protocol type. Possible values include: "Http", "Https", "Mssql". + :type protocol_type: str or + ~azure.mgmt.network.v2021_02_01.models.AzureFirewallApplicationRuleProtocolType + :param port: Port number for the protocol, cannot be greater than 64000. This field is + optional. + :type port: int + """ + + _validation = { + 'port': {'maximum': 64000, 'minimum': 0}, + } + + _attribute_map = { + 'protocol_type': {'key': 'protocolType', 'type': 'str'}, + 'port': {'key': 'port', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(AzureFirewallApplicationRuleProtocol, self).__init__(**kwargs) + self.protocol_type = kwargs.get('protocol_type', None) + self.port = kwargs.get('port', None) + + +class AzureFirewallFqdnTag(Resource): + """Azure Firewall FQDN Tag Resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar provisioning_state: The provisioning state of the Azure firewall FQDN tag resource. + Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :ivar fqdn_tag_name: The name of this FQDN Tag. + :vartype fqdn_tag_name: str + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'fqdn_tag_name': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'fqdn_tag_name': {'key': 'properties.fqdnTagName', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(AzureFirewallFqdnTag, self).__init__(**kwargs) + self.etag = None + self.provisioning_state = None + self.fqdn_tag_name = None + + +class AzureFirewallFqdnTagListResult(msrest.serialization.Model): + """Response for ListAzureFirewallFqdnTags API service call. + + :param value: List of Azure Firewall FQDN Tags in a resource group. + :type value: list[~azure.mgmt.network.v2021_02_01.models.AzureFirewallFqdnTag] + :param next_link: URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[AzureFirewallFqdnTag]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(AzureFirewallFqdnTagListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = kwargs.get('next_link', None) + + +class AzureFirewallIPConfiguration(SubResource): + """IP configuration of an Azure Firewall. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: Name of the resource that is unique within a resource group. This name can be used + to access the resource. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str + :ivar private_ip_address: The Firewall Internal Load Balancer IP to be used as the next hop in + User Defined Routes. + :vartype private_ip_address: str + :param subnet: Reference to the subnet resource. This resource must be named + 'AzureFirewallSubnet' or 'AzureFirewallManagementSubnet'. + :type subnet: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param public_ip_address: Reference to the PublicIP resource. This field is a mandatory input + if subnet is not null. + :type public_ip_address: ~azure.mgmt.network.v2021_02_01.models.SubResource + :ivar provisioning_state: The provisioning state of the Azure firewall IP configuration + resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'private_ip_address': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'private_ip_address': {'key': 'properties.privateIPAddress', 'type': 'str'}, + 'subnet': {'key': 'properties.subnet', 'type': 'SubResource'}, + 'public_ip_address': {'key': 'properties.publicIPAddress', 'type': 'SubResource'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(AzureFirewallIPConfiguration, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.etag = None + self.type = None + self.private_ip_address = None + self.subnet = kwargs.get('subnet', None) + self.public_ip_address = kwargs.get('public_ip_address', None) + self.provisioning_state = None + + +class AzureFirewallIpGroups(msrest.serialization.Model): + """IpGroups associated with azure firewall. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Resource ID. + :vartype id: str + :ivar change_number: The iteration number. + :vartype change_number: str + """ + + _validation = { + 'id': {'readonly': True}, + 'change_number': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'change_number': {'key': 'changeNumber', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(AzureFirewallIpGroups, self).__init__(**kwargs) + self.id = None + self.change_number = None + + +class AzureFirewallListResult(msrest.serialization.Model): + """Response for ListAzureFirewalls API service call. + + :param value: List of Azure Firewalls in a resource group. + :type value: list[~azure.mgmt.network.v2021_02_01.models.AzureFirewall] + :param next_link: URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[AzureFirewall]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(AzureFirewallListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = kwargs.get('next_link', None) + + +class AzureFirewallNatRCAction(msrest.serialization.Model): + """AzureFirewall NAT Rule Collection Action. + + :param type: The type of action. Possible values include: "Snat", "Dnat". + :type type: str or ~azure.mgmt.network.v2021_02_01.models.AzureFirewallNatRCActionType + """ + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(AzureFirewallNatRCAction, self).__init__(**kwargs) + self.type = kwargs.get('type', None) + + +class AzureFirewallNatRule(msrest.serialization.Model): + """Properties of a NAT rule. + + :param name: Name of the NAT rule. + :type name: str + :param description: Description of the rule. + :type description: str + :param source_addresses: List of source IP addresses for this rule. + :type source_addresses: list[str] + :param destination_addresses: List of destination IP addresses for this rule. Supports IP + ranges, prefixes, and service tags. + :type destination_addresses: list[str] + :param destination_ports: List of destination ports. + :type destination_ports: list[str] + :param protocols: Array of AzureFirewallNetworkRuleProtocols applicable to this NAT rule. + :type protocols: list[str or + ~azure.mgmt.network.v2021_02_01.models.AzureFirewallNetworkRuleProtocol] + :param translated_address: The translated address for this NAT rule. + :type translated_address: str + :param translated_port: The translated port for this NAT rule. + :type translated_port: str + :param translated_fqdn: The translated FQDN for this NAT rule. + :type translated_fqdn: str + :param source_ip_groups: List of source IpGroups for this rule. + :type source_ip_groups: list[str] + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + 'source_addresses': {'key': 'sourceAddresses', 'type': '[str]'}, + 'destination_addresses': {'key': 'destinationAddresses', 'type': '[str]'}, + 'destination_ports': {'key': 'destinationPorts', 'type': '[str]'}, + 'protocols': {'key': 'protocols', 'type': '[str]'}, + 'translated_address': {'key': 'translatedAddress', 'type': 'str'}, + 'translated_port': {'key': 'translatedPort', 'type': 'str'}, + 'translated_fqdn': {'key': 'translatedFqdn', 'type': 'str'}, + 'source_ip_groups': {'key': 'sourceIpGroups', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(AzureFirewallNatRule, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.description = kwargs.get('description', None) + self.source_addresses = kwargs.get('source_addresses', None) + self.destination_addresses = kwargs.get('destination_addresses', None) + self.destination_ports = kwargs.get('destination_ports', None) + self.protocols = kwargs.get('protocols', None) + self.translated_address = kwargs.get('translated_address', None) + self.translated_port = kwargs.get('translated_port', None) + self.translated_fqdn = kwargs.get('translated_fqdn', None) + self.source_ip_groups = kwargs.get('source_ip_groups', None) + + +class AzureFirewallNatRuleCollection(SubResource): + """NAT rule collection resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: The name of the resource that is unique within the Azure firewall. This name can + be used to access the resource. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param priority: Priority of the NAT rule collection resource. + :type priority: int + :param action: The action type of a NAT rule collection. + :type action: ~azure.mgmt.network.v2021_02_01.models.AzureFirewallNatRCAction + :param rules: Collection of rules used by a NAT rule collection. + :type rules: list[~azure.mgmt.network.v2021_02_01.models.AzureFirewallNatRule] + :ivar provisioning_state: The provisioning state of the NAT rule collection resource. Possible + values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'priority': {'maximum': 65000, 'minimum': 100}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'priority': {'key': 'properties.priority', 'type': 'int'}, + 'action': {'key': 'properties.action', 'type': 'AzureFirewallNatRCAction'}, + 'rules': {'key': 'properties.rules', 'type': '[AzureFirewallNatRule]'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(AzureFirewallNatRuleCollection, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.etag = None + self.priority = kwargs.get('priority', None) + self.action = kwargs.get('action', None) + self.rules = kwargs.get('rules', None) + self.provisioning_state = None + + +class AzureFirewallNetworkRule(msrest.serialization.Model): + """Properties of the network rule. + + :param name: Name of the network rule. + :type name: str + :param description: Description of the rule. + :type description: str + :param protocols: Array of AzureFirewallNetworkRuleProtocols. + :type protocols: list[str or + ~azure.mgmt.network.v2021_02_01.models.AzureFirewallNetworkRuleProtocol] + :param source_addresses: List of source IP addresses for this rule. + :type source_addresses: list[str] + :param destination_addresses: List of destination IP addresses. + :type destination_addresses: list[str] + :param destination_ports: List of destination ports. + :type destination_ports: list[str] + :param destination_fqdns: List of destination FQDNs. + :type destination_fqdns: list[str] + :param source_ip_groups: List of source IpGroups for this rule. + :type source_ip_groups: list[str] + :param destination_ip_groups: List of destination IpGroups for this rule. + :type destination_ip_groups: list[str] + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + 'protocols': {'key': 'protocols', 'type': '[str]'}, + 'source_addresses': {'key': 'sourceAddresses', 'type': '[str]'}, + 'destination_addresses': {'key': 'destinationAddresses', 'type': '[str]'}, + 'destination_ports': {'key': 'destinationPorts', 'type': '[str]'}, + 'destination_fqdns': {'key': 'destinationFqdns', 'type': '[str]'}, + 'source_ip_groups': {'key': 'sourceIpGroups', 'type': '[str]'}, + 'destination_ip_groups': {'key': 'destinationIpGroups', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(AzureFirewallNetworkRule, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.description = kwargs.get('description', None) + self.protocols = kwargs.get('protocols', None) + self.source_addresses = kwargs.get('source_addresses', None) + self.destination_addresses = kwargs.get('destination_addresses', None) + self.destination_ports = kwargs.get('destination_ports', None) + self.destination_fqdns = kwargs.get('destination_fqdns', None) + self.source_ip_groups = kwargs.get('source_ip_groups', None) + self.destination_ip_groups = kwargs.get('destination_ip_groups', None) + + +class AzureFirewallNetworkRuleCollection(SubResource): + """Network rule collection resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: The name of the resource that is unique within the Azure firewall. This name can + be used to access the resource. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param priority: Priority of the network rule collection resource. + :type priority: int + :param action: The action type of a rule collection. + :type action: ~azure.mgmt.network.v2021_02_01.models.AzureFirewallRCAction + :param rules: Collection of rules used by a network rule collection. + :type rules: list[~azure.mgmt.network.v2021_02_01.models.AzureFirewallNetworkRule] + :ivar provisioning_state: The provisioning state of the network rule collection resource. + Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'priority': {'maximum': 65000, 'minimum': 100}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'priority': {'key': 'properties.priority', 'type': 'int'}, + 'action': {'key': 'properties.action', 'type': 'AzureFirewallRCAction'}, + 'rules': {'key': 'properties.rules', 'type': '[AzureFirewallNetworkRule]'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(AzureFirewallNetworkRuleCollection, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.etag = None + self.priority = kwargs.get('priority', None) + self.action = kwargs.get('action', None) + self.rules = kwargs.get('rules', None) + self.provisioning_state = None + + +class AzureFirewallPublicIPAddress(msrest.serialization.Model): + """Public IP Address associated with azure firewall. + + :param address: Public IP Address value. + :type address: str + """ + + _attribute_map = { + 'address': {'key': 'address', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(AzureFirewallPublicIPAddress, self).__init__(**kwargs) + self.address = kwargs.get('address', None) + + +class AzureFirewallRCAction(msrest.serialization.Model): + """Properties of the AzureFirewallRCAction. + + :param type: The type of action. Possible values include: "Allow", "Deny". + :type type: str or ~azure.mgmt.network.v2021_02_01.models.AzureFirewallRCActionType + """ + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(AzureFirewallRCAction, self).__init__(**kwargs) + self.type = kwargs.get('type', None) + + +class AzureFirewallSku(msrest.serialization.Model): + """SKU of an Azure Firewall. + + :param name: Name of an Azure Firewall SKU. Possible values include: "AZFW_VNet", "AZFW_Hub". + :type name: str or ~azure.mgmt.network.v2021_02_01.models.AzureFirewallSkuName + :param tier: Tier of an Azure Firewall. Possible values include: "Standard", "Premium". + :type tier: str or ~azure.mgmt.network.v2021_02_01.models.AzureFirewallSkuTier + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'tier': {'key': 'tier', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(AzureFirewallSku, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.tier = kwargs.get('tier', None) + + +class AzureReachabilityReport(msrest.serialization.Model): + """Azure reachability report details. + + All required parameters must be populated in order to send to Azure. + + :param aggregation_level: Required. The aggregation level of Azure reachability report. Can be + Country, State or City. + :type aggregation_level: str + :param provider_location: Required. Parameters that define a geographic location. + :type provider_location: ~azure.mgmt.network.v2021_02_01.models.AzureReachabilityReportLocation + :param reachability_report: Required. List of Azure reachability report items. + :type reachability_report: + list[~azure.mgmt.network.v2021_02_01.models.AzureReachabilityReportItem] + """ + + _validation = { + 'aggregation_level': {'required': True}, + 'provider_location': {'required': True}, + 'reachability_report': {'required': True}, + } + + _attribute_map = { + 'aggregation_level': {'key': 'aggregationLevel', 'type': 'str'}, + 'provider_location': {'key': 'providerLocation', 'type': 'AzureReachabilityReportLocation'}, + 'reachability_report': {'key': 'reachabilityReport', 'type': '[AzureReachabilityReportItem]'}, + } + + def __init__( + self, + **kwargs + ): + super(AzureReachabilityReport, self).__init__(**kwargs) + self.aggregation_level = kwargs['aggregation_level'] + self.provider_location = kwargs['provider_location'] + self.reachability_report = kwargs['reachability_report'] + + +class AzureReachabilityReportItem(msrest.serialization.Model): + """Azure reachability report details for a given provider location. + + :param provider: The Internet service provider. + :type provider: str + :param azure_location: The Azure region. + :type azure_location: str + :param latencies: List of latency details for each of the time series. + :type latencies: + list[~azure.mgmt.network.v2021_02_01.models.AzureReachabilityReportLatencyInfo] + """ + + _attribute_map = { + 'provider': {'key': 'provider', 'type': 'str'}, + 'azure_location': {'key': 'azureLocation', 'type': 'str'}, + 'latencies': {'key': 'latencies', 'type': '[AzureReachabilityReportLatencyInfo]'}, + } + + def __init__( + self, + **kwargs + ): + super(AzureReachabilityReportItem, self).__init__(**kwargs) + self.provider = kwargs.get('provider', None) + self.azure_location = kwargs.get('azure_location', None) + self.latencies = kwargs.get('latencies', None) + + +class AzureReachabilityReportLatencyInfo(msrest.serialization.Model): + """Details on latency for a time series. + + :param time_stamp: The time stamp. + :type time_stamp: ~datetime.datetime + :param score: The relative latency score between 1 and 100, higher values indicating a faster + connection. + :type score: int + """ + + _validation = { + 'score': {'maximum': 100, 'minimum': 1}, + } + + _attribute_map = { + 'time_stamp': {'key': 'timeStamp', 'type': 'iso-8601'}, + 'score': {'key': 'score', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(AzureReachabilityReportLatencyInfo, self).__init__(**kwargs) + self.time_stamp = kwargs.get('time_stamp', None) + self.score = kwargs.get('score', None) + + +class AzureReachabilityReportLocation(msrest.serialization.Model): + """Parameters that define a geographic location. + + All required parameters must be populated in order to send to Azure. + + :param country: Required. The name of the country. + :type country: str + :param state: The name of the state. + :type state: str + :param city: The name of the city or town. + :type city: str + """ + + _validation = { + 'country': {'required': True}, + } + + _attribute_map = { + 'country': {'key': 'country', 'type': 'str'}, + 'state': {'key': 'state', 'type': 'str'}, + 'city': {'key': 'city', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(AzureReachabilityReportLocation, self).__init__(**kwargs) + self.country = kwargs['country'] + self.state = kwargs.get('state', None) + self.city = kwargs.get('city', None) + + +class AzureReachabilityReportParameters(msrest.serialization.Model): + """Geographic and time constraints for Azure reachability report. + + All required parameters must be populated in order to send to Azure. + + :param provider_location: Required. Parameters that define a geographic location. + :type provider_location: ~azure.mgmt.network.v2021_02_01.models.AzureReachabilityReportLocation + :param providers: List of Internet service providers. + :type providers: list[str] + :param azure_locations: Optional Azure regions to scope the query to. + :type azure_locations: list[str] + :param start_time: Required. The start time for the Azure reachability report. + :type start_time: ~datetime.datetime + :param end_time: Required. The end time for the Azure reachability report. + :type end_time: ~datetime.datetime + """ + + _validation = { + 'provider_location': {'required': True}, + 'start_time': {'required': True}, + 'end_time': {'required': True}, + } + + _attribute_map = { + 'provider_location': {'key': 'providerLocation', 'type': 'AzureReachabilityReportLocation'}, + 'providers': {'key': 'providers', 'type': '[str]'}, + 'azure_locations': {'key': 'azureLocations', 'type': '[str]'}, + 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, + 'end_time': {'key': 'endTime', 'type': 'iso-8601'}, + } + + def __init__( + self, + **kwargs + ): + super(AzureReachabilityReportParameters, self).__init__(**kwargs) + self.provider_location = kwargs['provider_location'] + self.providers = kwargs.get('providers', None) + self.azure_locations = kwargs.get('azure_locations', None) + self.start_time = kwargs['start_time'] + self.end_time = kwargs['end_time'] + + +class AzureWebCategory(msrest.serialization.Model): + """Azure Web Category Resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar group: The name of the group that the category belongs to. + :vartype group: str + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'group': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'group': {'key': 'properties.group', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(AzureWebCategory, self).__init__(**kwargs) + self.id = kwargs.get('id', None) + self.name = None + self.type = None + self.etag = None + self.group = None + + +class AzureWebCategoryListResult(msrest.serialization.Model): + """Response for ListAzureWebCategories API service call. + + :param value: List of Azure Web Categories for a given Subscription. + :type value: list[~azure.mgmt.network.v2021_02_01.models.AzureWebCategory] + :param next_link: URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[AzureWebCategory]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(AzureWebCategoryListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = kwargs.get('next_link', None) + + +class BackendAddressPool(SubResource): + """Pool of backend IP addresses. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: The name of the resource that is unique within the set of backend address pools + used by the load balancer. This name can be used to access the resource. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str + :param location: The location of the backend address pool. + :type location: str + :param tunnel_interfaces: An array of gateway load balancer tunnel interfaces. + :type tunnel_interfaces: + list[~azure.mgmt.network.v2021_02_01.models.GatewayLoadBalancerTunnelInterface] + :param load_balancer_backend_addresses: An array of backend addresses. + :type load_balancer_backend_addresses: + list[~azure.mgmt.network.v2021_02_01.models.LoadBalancerBackendAddress] + :ivar backend_ip_configurations: An array of references to IP addresses defined in network + interfaces. + :vartype backend_ip_configurations: + list[~azure.mgmt.network.v2021_02_01.models.NetworkInterfaceIPConfiguration] + :ivar load_balancing_rules: An array of references to load balancing rules that use this + backend address pool. + :vartype load_balancing_rules: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + :ivar outbound_rule: A reference to an outbound rule that uses this backend address pool. + :vartype outbound_rule: ~azure.mgmt.network.v2021_02_01.models.SubResource + :ivar outbound_rules: An array of references to outbound rules that use this backend address + pool. + :vartype outbound_rules: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + :ivar provisioning_state: The provisioning state of the backend address pool resource. Possible + values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'backend_ip_configurations': {'readonly': True}, + 'load_balancing_rules': {'readonly': True}, + 'outbound_rule': {'readonly': True}, + 'outbound_rules': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'properties.location', 'type': 'str'}, + 'tunnel_interfaces': {'key': 'properties.tunnelInterfaces', 'type': '[GatewayLoadBalancerTunnelInterface]'}, + 'load_balancer_backend_addresses': {'key': 'properties.loadBalancerBackendAddresses', 'type': '[LoadBalancerBackendAddress]'}, + 'backend_ip_configurations': {'key': 'properties.backendIPConfigurations', 'type': '[NetworkInterfaceIPConfiguration]'}, + 'load_balancing_rules': {'key': 'properties.loadBalancingRules', 'type': '[SubResource]'}, + 'outbound_rule': {'key': 'properties.outboundRule', 'type': 'SubResource'}, + 'outbound_rules': {'key': 'properties.outboundRules', 'type': '[SubResource]'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(BackendAddressPool, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.etag = None + self.type = None + self.location = kwargs.get('location', None) + self.tunnel_interfaces = kwargs.get('tunnel_interfaces', None) + self.load_balancer_backend_addresses = kwargs.get('load_balancer_backend_addresses', None) + self.backend_ip_configurations = None + self.load_balancing_rules = None + self.outbound_rule = None + self.outbound_rules = None + self.provisioning_state = None + + +class BastionActiveSession(msrest.serialization.Model): + """The session detail for a target. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar session_id: A unique id for the session. + :vartype session_id: str + :ivar start_time: The time when the session started. + :vartype start_time: str + :ivar target_subscription_id: The subscription id for the target virtual machine. + :vartype target_subscription_id: str + :ivar resource_type: The type of the resource. + :vartype resource_type: str + :ivar target_host_name: The host name of the target. + :vartype target_host_name: str + :ivar target_resource_group: The resource group of the target. + :vartype target_resource_group: str + :ivar user_name: The user name who is active on this session. + :vartype user_name: str + :ivar target_ip_address: The IP Address of the target. + :vartype target_ip_address: str + :ivar protocol: The protocol used to connect to the target. Possible values include: "SSH", + "RDP". + :vartype protocol: str or ~azure.mgmt.network.v2021_02_01.models.BastionConnectProtocol + :ivar target_resource_id: The resource id of the target. + :vartype target_resource_id: str + :ivar session_duration_in_mins: Duration in mins the session has been active. + :vartype session_duration_in_mins: float + """ + + _validation = { + 'session_id': {'readonly': True}, + 'start_time': {'readonly': True}, + 'target_subscription_id': {'readonly': True}, + 'resource_type': {'readonly': True}, + 'target_host_name': {'readonly': True}, + 'target_resource_group': {'readonly': True}, + 'user_name': {'readonly': True}, + 'target_ip_address': {'readonly': True}, + 'protocol': {'readonly': True}, + 'target_resource_id': {'readonly': True}, + 'session_duration_in_mins': {'readonly': True}, + } + + _attribute_map = { + 'session_id': {'key': 'sessionId', 'type': 'str'}, + 'start_time': {'key': 'startTime', 'type': 'str'}, + 'target_subscription_id': {'key': 'targetSubscriptionId', 'type': 'str'}, + 'resource_type': {'key': 'resourceType', 'type': 'str'}, + 'target_host_name': {'key': 'targetHostName', 'type': 'str'}, + 'target_resource_group': {'key': 'targetResourceGroup', 'type': 'str'}, + 'user_name': {'key': 'userName', 'type': 'str'}, + 'target_ip_address': {'key': 'targetIpAddress', 'type': 'str'}, + 'protocol': {'key': 'protocol', 'type': 'str'}, + 'target_resource_id': {'key': 'targetResourceId', 'type': 'str'}, + 'session_duration_in_mins': {'key': 'sessionDurationInMins', 'type': 'float'}, + } + + def __init__( + self, + **kwargs + ): + super(BastionActiveSession, self).__init__(**kwargs) + self.session_id = None + self.start_time = None + self.target_subscription_id = None + self.resource_type = None + self.target_host_name = None + self.target_resource_group = None + self.user_name = None + self.target_ip_address = None + self.protocol = None + self.target_resource_id = None + self.session_duration_in_mins = None + + +class BastionActiveSessionListResult(msrest.serialization.Model): + """Response for GetActiveSessions. + + :param value: List of active sessions on the bastion. + :type value: list[~azure.mgmt.network.v2021_02_01.models.BastionActiveSession] + :param next_link: The URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[BastionActiveSession]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(BastionActiveSessionListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = kwargs.get('next_link', None) + + +class BastionHost(Resource): + """Bastion Host resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param sku: The sku of this Bastion Host. + :type sku: ~azure.mgmt.network.v2021_02_01.models.Sku + :param ip_configurations: IP configuration of the Bastion Host resource. + :type ip_configurations: + list[~azure.mgmt.network.v2021_02_01.models.BastionHostIPConfiguration] + :param dns_name: FQDN for the endpoint on which bastion host is accessible. + :type dns_name: str + :ivar provisioning_state: The provisioning state of the bastion host resource. Possible values + include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'sku': {'key': 'sku', 'type': 'Sku'}, + 'ip_configurations': {'key': 'properties.ipConfigurations', 'type': '[BastionHostIPConfiguration]'}, + 'dns_name': {'key': 'properties.dnsName', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(BastionHost, self).__init__(**kwargs) + self.etag = None + self.sku = kwargs.get('sku', None) + self.ip_configurations = kwargs.get('ip_configurations', None) + self.dns_name = kwargs.get('dns_name', None) + self.provisioning_state = None + + +class BastionHostIPConfiguration(SubResource): + """IP configuration of an Bastion Host. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: Name of the resource that is unique within a resource group. This name can be used + to access the resource. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Ip configuration type. + :vartype type: str + :param subnet: Reference of the subnet resource. + :type subnet: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param public_ip_address: Reference of the PublicIP resource. + :type public_ip_address: ~azure.mgmt.network.v2021_02_01.models.SubResource + :ivar provisioning_state: The provisioning state of the bastion host IP configuration resource. + Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :param private_ip_allocation_method: Private IP allocation method. Possible values include: + "Static", "Dynamic". + :type private_ip_allocation_method: str or + ~azure.mgmt.network.v2021_02_01.models.IPAllocationMethod + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'subnet': {'key': 'properties.subnet', 'type': 'SubResource'}, + 'public_ip_address': {'key': 'properties.publicIPAddress', 'type': 'SubResource'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'private_ip_allocation_method': {'key': 'properties.privateIPAllocationMethod', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(BastionHostIPConfiguration, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.etag = None + self.type = None + self.subnet = kwargs.get('subnet', None) + self.public_ip_address = kwargs.get('public_ip_address', None) + self.provisioning_state = None + self.private_ip_allocation_method = kwargs.get('private_ip_allocation_method', None) + + +class BastionHostListResult(msrest.serialization.Model): + """Response for ListBastionHosts API service call. + + :param value: List of Bastion Hosts in a resource group. + :type value: list[~azure.mgmt.network.v2021_02_01.models.BastionHost] + :param next_link: URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[BastionHost]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(BastionHostListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = kwargs.get('next_link', None) + + +class BastionSessionDeleteResult(msrest.serialization.Model): + """Response for DisconnectActiveSessions. + + :param value: List of sessions with their corresponding state. + :type value: list[~azure.mgmt.network.v2021_02_01.models.BastionSessionState] + :param next_link: The URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[BastionSessionState]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(BastionSessionDeleteResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = kwargs.get('next_link', None) + + +class BastionSessionState(msrest.serialization.Model): + """The session state detail for a target. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar session_id: A unique id for the session. + :vartype session_id: str + :ivar message: Used for extra information. + :vartype message: str + :ivar state: The state of the session. Disconnected/Failed/NotFound. + :vartype state: str + """ + + _validation = { + 'session_id': {'readonly': True}, + 'message': {'readonly': True}, + 'state': {'readonly': True}, + } + + _attribute_map = { + 'session_id': {'key': 'sessionId', 'type': 'str'}, + 'message': {'key': 'message', 'type': 'str'}, + 'state': {'key': 'state', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(BastionSessionState, self).__init__(**kwargs) + self.session_id = None + self.message = None + self.state = None + + +class BastionShareableLink(msrest.serialization.Model): + """Bastion Shareable Link. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param vm: Required. Reference of the virtual machine resource. + :type vm: ~azure.mgmt.network.v2021_02_01.models.VM + :ivar bsl: The unique Bastion Shareable Link to the virtual machine. + :vartype bsl: str + :ivar created_at: The time when the link was created. + :vartype created_at: str + :ivar message: Optional field indicating the warning or error message related to the vm in case + of partial failure. + :vartype message: str + """ + + _validation = { + 'vm': {'required': True}, + 'bsl': {'readonly': True}, + 'created_at': {'readonly': True}, + 'message': {'readonly': True}, + } + + _attribute_map = { + 'vm': {'key': 'vm', 'type': 'VM'}, + 'bsl': {'key': 'bsl', 'type': 'str'}, + 'created_at': {'key': 'createdAt', 'type': 'str'}, + 'message': {'key': 'message', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(BastionShareableLink, self).__init__(**kwargs) + self.vm = kwargs['vm'] + self.bsl = None + self.created_at = None + self.message = None + + +class BastionShareableLinkListRequest(msrest.serialization.Model): + """Post request for all the Bastion Shareable Link endpoints. + + :param vms: List of VM references. + :type vms: list[~azure.mgmt.network.v2021_02_01.models.BastionShareableLink] + """ + + _attribute_map = { + 'vms': {'key': 'vms', 'type': '[BastionShareableLink]'}, + } + + def __init__( + self, + **kwargs + ): + super(BastionShareableLinkListRequest, self).__init__(**kwargs) + self.vms = kwargs.get('vms', None) + + +class BastionShareableLinkListResult(msrest.serialization.Model): + """Response for all the Bastion Shareable Link endpoints. + + :param value: List of Bastion Shareable Links for the request. + :type value: list[~azure.mgmt.network.v2021_02_01.models.BastionShareableLink] + :param next_link: The URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[BastionShareableLink]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(BastionShareableLinkListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = kwargs.get('next_link', None) + + +class BGPCommunity(msrest.serialization.Model): + """Contains bgp community information offered in Service Community resources. + + :param service_supported_region: The region which the service support. e.g. For O365, region is + Global. + :type service_supported_region: str + :param community_name: The name of the bgp community. e.g. Skype. + :type community_name: str + :param community_value: The value of the bgp community. For more information: + https://docs.microsoft.com/en-us/azure/expressroute/expressroute-routing. + :type community_value: str + :param community_prefixes: The prefixes that the bgp community contains. + :type community_prefixes: list[str] + :param is_authorized_to_use: Customer is authorized to use bgp community or not. + :type is_authorized_to_use: bool + :param service_group: The service group of the bgp community contains. + :type service_group: str + """ + + _attribute_map = { + 'service_supported_region': {'key': 'serviceSupportedRegion', 'type': 'str'}, + 'community_name': {'key': 'communityName', 'type': 'str'}, + 'community_value': {'key': 'communityValue', 'type': 'str'}, + 'community_prefixes': {'key': 'communityPrefixes', 'type': '[str]'}, + 'is_authorized_to_use': {'key': 'isAuthorizedToUse', 'type': 'bool'}, + 'service_group': {'key': 'serviceGroup', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(BGPCommunity, self).__init__(**kwargs) + self.service_supported_region = kwargs.get('service_supported_region', None) + self.community_name = kwargs.get('community_name', None) + self.community_value = kwargs.get('community_value', None) + self.community_prefixes = kwargs.get('community_prefixes', None) + self.is_authorized_to_use = kwargs.get('is_authorized_to_use', None) + self.service_group = kwargs.get('service_group', None) + + +class BgpConnection(SubResource): + """Virtual Appliance Site resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: Name of the connection. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Connection type. + :vartype type: str + :param peer_asn: Peer ASN. + :type peer_asn: long + :param peer_ip: Peer IP. + :type peer_ip: str + :ivar provisioning_state: The provisioning state of the resource. Possible values include: + "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :ivar connection_state: The current state of the VirtualHub to Peer. Possible values include: + "Unknown", "Connecting", "Connected", "NotConnected". + :vartype connection_state: str or ~azure.mgmt.network.v2021_02_01.models.HubBgpConnectionStatus + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'peer_asn': {'maximum': 4294967295, 'minimum': 0}, + 'provisioning_state': {'readonly': True}, + 'connection_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'peer_asn': {'key': 'properties.peerAsn', 'type': 'long'}, + 'peer_ip': {'key': 'properties.peerIp', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'connection_state': {'key': 'properties.connectionState', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(BgpConnection, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.etag = None + self.type = None + self.peer_asn = kwargs.get('peer_asn', None) + self.peer_ip = kwargs.get('peer_ip', None) + self.provisioning_state = None + self.connection_state = None + + +class BgpPeerStatus(msrest.serialization.Model): + """BGP peer status details. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar local_address: The virtual network gateway's local address. + :vartype local_address: str + :ivar neighbor: The remote BGP peer. + :vartype neighbor: str + :ivar asn: The autonomous system number of the remote BGP peer. + :vartype asn: long + :ivar state: The BGP peer state. Possible values include: "Unknown", "Stopped", "Idle", + "Connecting", "Connected". + :vartype state: str or ~azure.mgmt.network.v2021_02_01.models.BgpPeerState + :ivar connected_duration: For how long the peering has been up. + :vartype connected_duration: str + :ivar routes_received: The number of routes learned from this peer. + :vartype routes_received: long + :ivar messages_sent: The number of BGP messages sent. + :vartype messages_sent: long + :ivar messages_received: The number of BGP messages received. + :vartype messages_received: long + """ + + _validation = { + 'local_address': {'readonly': True}, + 'neighbor': {'readonly': True}, + 'asn': {'readonly': True, 'maximum': 4294967295, 'minimum': 0}, + 'state': {'readonly': True}, + 'connected_duration': {'readonly': True}, + 'routes_received': {'readonly': True}, + 'messages_sent': {'readonly': True}, + 'messages_received': {'readonly': True}, + } + + _attribute_map = { + 'local_address': {'key': 'localAddress', 'type': 'str'}, + 'neighbor': {'key': 'neighbor', 'type': 'str'}, + 'asn': {'key': 'asn', 'type': 'long'}, + 'state': {'key': 'state', 'type': 'str'}, + 'connected_duration': {'key': 'connectedDuration', 'type': 'str'}, + 'routes_received': {'key': 'routesReceived', 'type': 'long'}, + 'messages_sent': {'key': 'messagesSent', 'type': 'long'}, + 'messages_received': {'key': 'messagesReceived', 'type': 'long'}, + } + + def __init__( + self, + **kwargs + ): + super(BgpPeerStatus, self).__init__(**kwargs) + self.local_address = None + self.neighbor = None + self.asn = None + self.state = None + self.connected_duration = None + self.routes_received = None + self.messages_sent = None + self.messages_received = None + + +class BgpPeerStatusListResult(msrest.serialization.Model): + """Response for list BGP peer status API service call. + + :param value: List of BGP peers. + :type value: list[~azure.mgmt.network.v2021_02_01.models.BgpPeerStatus] + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[BgpPeerStatus]'}, + } + + def __init__( + self, + **kwargs + ): + super(BgpPeerStatusListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + + +class BgpServiceCommunity(Resource): + """Service Community Properties. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :param service_name: The name of the bgp community. e.g. Skype. + :type service_name: str + :param bgp_communities: A list of bgp communities. + :type bgp_communities: list[~azure.mgmt.network.v2021_02_01.models.BGPCommunity] + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'service_name': {'key': 'properties.serviceName', 'type': 'str'}, + 'bgp_communities': {'key': 'properties.bgpCommunities', 'type': '[BGPCommunity]'}, + } + + def __init__( + self, + **kwargs + ): + super(BgpServiceCommunity, self).__init__(**kwargs) + self.service_name = kwargs.get('service_name', None) + self.bgp_communities = kwargs.get('bgp_communities', None) + + +class BgpServiceCommunityListResult(msrest.serialization.Model): + """Response for the ListServiceCommunity API service call. + + :param value: A list of service community resources. + :type value: list[~azure.mgmt.network.v2021_02_01.models.BgpServiceCommunity] + :param next_link: The URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[BgpServiceCommunity]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(BgpServiceCommunityListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = kwargs.get('next_link', None) + + +class BgpSettings(msrest.serialization.Model): + """BGP settings details. + + :param asn: The BGP speaker's ASN. + :type asn: long + :param bgp_peering_address: The BGP peering address and BGP identifier of this BGP speaker. + :type bgp_peering_address: str + :param peer_weight: The weight added to routes learned from this BGP speaker. + :type peer_weight: int + :param bgp_peering_addresses: BGP peering address with IP configuration ID for virtual network + gateway. + :type bgp_peering_addresses: + list[~azure.mgmt.network.v2021_02_01.models.IPConfigurationBgpPeeringAddress] + """ + + _validation = { + 'asn': {'maximum': 4294967295, 'minimum': 0}, + } + + _attribute_map = { + 'asn': {'key': 'asn', 'type': 'long'}, + 'bgp_peering_address': {'key': 'bgpPeeringAddress', 'type': 'str'}, + 'peer_weight': {'key': 'peerWeight', 'type': 'int'}, + 'bgp_peering_addresses': {'key': 'bgpPeeringAddresses', 'type': '[IPConfigurationBgpPeeringAddress]'}, + } + + def __init__( + self, + **kwargs + ): + super(BgpSettings, self).__init__(**kwargs) + self.asn = kwargs.get('asn', None) + self.bgp_peering_address = kwargs.get('bgp_peering_address', None) + self.peer_weight = kwargs.get('peer_weight', None) + self.bgp_peering_addresses = kwargs.get('bgp_peering_addresses', None) + + +class BreakOutCategoryPolicies(msrest.serialization.Model): + """Network Virtual Appliance Sku Properties. + + :param allow: Flag to control breakout of o365 allow category. + :type allow: bool + :param optimize: Flag to control breakout of o365 optimize category. + :type optimize: bool + :param default: Flag to control breakout of o365 default category. + :type default: bool + """ + + _attribute_map = { + 'allow': {'key': 'allow', 'type': 'bool'}, + 'optimize': {'key': 'optimize', 'type': 'bool'}, + 'default': {'key': 'default', 'type': 'bool'}, + } + + def __init__( + self, + **kwargs + ): + super(BreakOutCategoryPolicies, self).__init__(**kwargs) + self.allow = kwargs.get('allow', None) + self.optimize = kwargs.get('optimize', None) + self.default = kwargs.get('default', None) + + +class CheckPrivateLinkServiceVisibilityRequest(msrest.serialization.Model): + """Request body of the CheckPrivateLinkServiceVisibility API service call. + + :param private_link_service_alias: The alias of the private link service. + :type private_link_service_alias: str + """ + + _attribute_map = { + 'private_link_service_alias': {'key': 'privateLinkServiceAlias', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(CheckPrivateLinkServiceVisibilityRequest, self).__init__(**kwargs) + self.private_link_service_alias = kwargs.get('private_link_service_alias', None) + + +class CloudErrorBody(msrest.serialization.Model): + """An error response from the service. + + :param code: An identifier for the error. Codes are invariant and are intended to be consumed + programmatically. + :type code: str + :param message: A message describing the error, intended to be suitable for display in a user + interface. + :type message: str + :param target: The target of the particular error. For example, the name of the property in + error. + :type target: str + :param details: A list of additional details about the error. + :type details: list[~azure.mgmt.network.v2021_02_01.models.CloudErrorBody] + """ + + _attribute_map = { + 'code': {'key': 'code', 'type': 'str'}, + 'message': {'key': 'message', 'type': 'str'}, + 'target': {'key': 'target', 'type': 'str'}, + 'details': {'key': 'details', 'type': '[CloudErrorBody]'}, + } + + def __init__( + self, + **kwargs + ): + super(CloudErrorBody, self).__init__(**kwargs) + self.code = kwargs.get('code', None) + self.message = kwargs.get('message', None) + self.target = kwargs.get('target', None) + self.details = kwargs.get('details', None) + + +class Components1Jq1T4ISchemasManagedserviceidentityPropertiesUserassignedidentitiesAdditionalproperties(msrest.serialization.Model): + """Components1Jq1T4ISchemasManagedserviceidentityPropertiesUserassignedidentitiesAdditionalproperties. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar principal_id: The principal id of user assigned identity. + :vartype principal_id: str + :ivar client_id: The client id of user assigned identity. + :vartype client_id: str + """ + + _validation = { + 'principal_id': {'readonly': True}, + 'client_id': {'readonly': True}, + } + + _attribute_map = { + 'principal_id': {'key': 'principalId', 'type': 'str'}, + 'client_id': {'key': 'clientId', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(Components1Jq1T4ISchemasManagedserviceidentityPropertiesUserassignedidentitiesAdditionalproperties, self).__init__(**kwargs) + self.principal_id = None + self.client_id = None + + +class ConnectionMonitor(msrest.serialization.Model): + """Parameters that define the operation to create a connection monitor. + + :param location: Connection monitor location. + :type location: str + :param tags: A set of tags. Connection monitor tags. + :type tags: dict[str, str] + :param source: Describes the source of connection monitor. + :type source: ~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorSource + :param destination: Describes the destination of connection monitor. + :type destination: ~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorDestination + :param auto_start: Determines if the connection monitor will start automatically once created. + :type auto_start: bool + :param monitoring_interval_in_seconds: Monitoring interval in seconds. + :type monitoring_interval_in_seconds: int + :param endpoints: List of connection monitor endpoints. + :type endpoints: list[~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorEndpoint] + :param test_configurations: List of connection monitor test configurations. + :type test_configurations: + list[~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorTestConfiguration] + :param test_groups: List of connection monitor test groups. + :type test_groups: list[~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorTestGroup] + :param outputs: List of connection monitor outputs. + :type outputs: list[~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorOutput] + :param notes: Optional notes to be associated with the connection monitor. + :type notes: str + """ + + _validation = { + 'monitoring_interval_in_seconds': {'maximum': 1800, 'minimum': 30}, + } + + _attribute_map = { + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'source': {'key': 'properties.source', 'type': 'ConnectionMonitorSource'}, + 'destination': {'key': 'properties.destination', 'type': 'ConnectionMonitorDestination'}, + 'auto_start': {'key': 'properties.autoStart', 'type': 'bool'}, + 'monitoring_interval_in_seconds': {'key': 'properties.monitoringIntervalInSeconds', 'type': 'int'}, + 'endpoints': {'key': 'properties.endpoints', 'type': '[ConnectionMonitorEndpoint]'}, + 'test_configurations': {'key': 'properties.testConfigurations', 'type': '[ConnectionMonitorTestConfiguration]'}, + 'test_groups': {'key': 'properties.testGroups', 'type': '[ConnectionMonitorTestGroup]'}, + 'outputs': {'key': 'properties.outputs', 'type': '[ConnectionMonitorOutput]'}, + 'notes': {'key': 'properties.notes', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ConnectionMonitor, self).__init__(**kwargs) + self.location = kwargs.get('location', None) + self.tags = kwargs.get('tags', None) + self.source = kwargs.get('source', None) + self.destination = kwargs.get('destination', None) + self.auto_start = kwargs.get('auto_start', True) + self.monitoring_interval_in_seconds = kwargs.get('monitoring_interval_in_seconds', 60) + self.endpoints = kwargs.get('endpoints', None) + self.test_configurations = kwargs.get('test_configurations', None) + self.test_groups = kwargs.get('test_groups', None) + self.outputs = kwargs.get('outputs', None) + self.notes = kwargs.get('notes', None) + + +class ConnectionMonitorDestination(msrest.serialization.Model): + """Describes the destination of connection monitor. + + :param resource_id: The ID of the resource used as the destination by connection monitor. + :type resource_id: str + :param address: Address of the connection monitor destination (IP or domain name). + :type address: str + :param port: The destination port used by connection monitor. + :type port: int + """ + + _validation = { + 'port': {'maximum': 65535, 'minimum': 0}, + } + + _attribute_map = { + 'resource_id': {'key': 'resourceId', 'type': 'str'}, + 'address': {'key': 'address', 'type': 'str'}, + 'port': {'key': 'port', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(ConnectionMonitorDestination, self).__init__(**kwargs) + self.resource_id = kwargs.get('resource_id', None) + self.address = kwargs.get('address', None) + self.port = kwargs.get('port', None) + + +class ConnectionMonitorEndpoint(msrest.serialization.Model): + """Describes the connection monitor endpoint. + + All required parameters must be populated in order to send to Azure. + + :param name: Required. The name of the connection monitor endpoint. + :type name: str + :param type: The endpoint type. Possible values include: "AzureVM", "AzureVNet", "AzureSubnet", + "ExternalAddress", "MMAWorkspaceMachine", "MMAWorkspaceNetwork". + :type type: str or ~azure.mgmt.network.v2021_02_01.models.EndpointType + :param resource_id: Resource ID of the connection monitor endpoint. + :type resource_id: str + :param address: Address of the connection monitor endpoint (IP or domain name). + :type address: str + :param filter: Filter for sub-items within the endpoint. + :type filter: ~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorEndpointFilter + :param scope: Endpoint scope. + :type scope: ~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorEndpointScope + :param coverage_level: Test coverage for the endpoint. Possible values include: "Default", + "Low", "BelowAverage", "Average", "AboveAverage", "Full". + :type coverage_level: str or ~azure.mgmt.network.v2021_02_01.models.CoverageLevel + """ + + _validation = { + 'name': {'required': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'resource_id': {'key': 'resourceId', 'type': 'str'}, + 'address': {'key': 'address', 'type': 'str'}, + 'filter': {'key': 'filter', 'type': 'ConnectionMonitorEndpointFilter'}, + 'scope': {'key': 'scope', 'type': 'ConnectionMonitorEndpointScope'}, + 'coverage_level': {'key': 'coverageLevel', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ConnectionMonitorEndpoint, self).__init__(**kwargs) + self.name = kwargs['name'] + self.type = kwargs.get('type', None) + self.resource_id = kwargs.get('resource_id', None) + self.address = kwargs.get('address', None) + self.filter = kwargs.get('filter', None) + self.scope = kwargs.get('scope', None) + self.coverage_level = kwargs.get('coverage_level', None) + + +class ConnectionMonitorEndpointFilter(msrest.serialization.Model): + """Describes the connection monitor endpoint filter. + + :param type: The behavior of the endpoint filter. Currently only 'Include' is supported. + Possible values include: "Include". + :type type: str or ~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorEndpointFilterType + :param items: List of items in the filter. + :type items: list[~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorEndpointFilterItem] + """ + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, + 'items': {'key': 'items', 'type': '[ConnectionMonitorEndpointFilterItem]'}, + } + + def __init__( + self, + **kwargs + ): + super(ConnectionMonitorEndpointFilter, self).__init__(**kwargs) + self.type = kwargs.get('type', None) + self.items = kwargs.get('items', None) + + +class ConnectionMonitorEndpointFilterItem(msrest.serialization.Model): + """Describes the connection monitor endpoint filter item. + + :param type: The type of item included in the filter. Currently only 'AgentAddress' is + supported. Possible values include: "AgentAddress". + :type type: str or + ~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorEndpointFilterItemType + :param address: The address of the filter item. + :type address: str + """ + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, + 'address': {'key': 'address', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ConnectionMonitorEndpointFilterItem, self).__init__(**kwargs) + self.type = kwargs.get('type', None) + self.address = kwargs.get('address', None) + + +class ConnectionMonitorEndpointScope(msrest.serialization.Model): + """Describes the connection monitor endpoint scope. + + :param include: List of items which needs to be included to the endpoint scope. + :type include: list[~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorEndpointScopeItem] + :param exclude: List of items which needs to be excluded from the endpoint scope. + :type exclude: list[~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorEndpointScopeItem] + """ + + _attribute_map = { + 'include': {'key': 'include', 'type': '[ConnectionMonitorEndpointScopeItem]'}, + 'exclude': {'key': 'exclude', 'type': '[ConnectionMonitorEndpointScopeItem]'}, + } + + def __init__( + self, + **kwargs + ): + super(ConnectionMonitorEndpointScope, self).__init__(**kwargs) + self.include = kwargs.get('include', None) + self.exclude = kwargs.get('exclude', None) + + +class ConnectionMonitorEndpointScopeItem(msrest.serialization.Model): + """Describes the connection monitor endpoint scope item. + + :param address: The address of the endpoint item. Supported types are IPv4/IPv6 subnet mask or + IPv4/IPv6 IP address. + :type address: str + """ + + _attribute_map = { + 'address': {'key': 'address', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ConnectionMonitorEndpointScopeItem, self).__init__(**kwargs) + self.address = kwargs.get('address', None) + + +class ConnectionMonitorHttpConfiguration(msrest.serialization.Model): + """Describes the HTTP configuration. + + :param port: The port to connect to. + :type port: int + :param method: The HTTP method to use. Possible values include: "Get", "Post". + :type method: str or ~azure.mgmt.network.v2021_02_01.models.HTTPConfigurationMethod + :param path: The path component of the URI. For instance, "/dir1/dir2". + :type path: str + :param request_headers: The HTTP headers to transmit with the request. + :type request_headers: list[~azure.mgmt.network.v2021_02_01.models.HTTPHeader] + :param valid_status_code_ranges: HTTP status codes to consider successful. For instance, + "2xx,301-304,418". + :type valid_status_code_ranges: list[str] + :param prefer_https: Value indicating whether HTTPS is preferred over HTTP in cases where the + choice is not explicit. + :type prefer_https: bool + """ + + _validation = { + 'port': {'maximum': 65535, 'minimum': 0}, + } + + _attribute_map = { + 'port': {'key': 'port', 'type': 'int'}, + 'method': {'key': 'method', 'type': 'str'}, + 'path': {'key': 'path', 'type': 'str'}, + 'request_headers': {'key': 'requestHeaders', 'type': '[HTTPHeader]'}, + 'valid_status_code_ranges': {'key': 'validStatusCodeRanges', 'type': '[str]'}, + 'prefer_https': {'key': 'preferHTTPS', 'type': 'bool'}, + } + + def __init__( + self, + **kwargs + ): + super(ConnectionMonitorHttpConfiguration, self).__init__(**kwargs) + self.port = kwargs.get('port', None) + self.method = kwargs.get('method', None) + self.path = kwargs.get('path', None) + self.request_headers = kwargs.get('request_headers', None) + self.valid_status_code_ranges = kwargs.get('valid_status_code_ranges', None) + self.prefer_https = kwargs.get('prefer_https', None) + + +class ConnectionMonitorIcmpConfiguration(msrest.serialization.Model): + """Describes the ICMP configuration. + + :param disable_trace_route: Value indicating whether path evaluation with trace route should be + disabled. + :type disable_trace_route: bool + """ + + _attribute_map = { + 'disable_trace_route': {'key': 'disableTraceRoute', 'type': 'bool'}, + } + + def __init__( + self, + **kwargs + ): + super(ConnectionMonitorIcmpConfiguration, self).__init__(**kwargs) + self.disable_trace_route = kwargs.get('disable_trace_route', None) + + +class ConnectionMonitorListResult(msrest.serialization.Model): + """List of connection monitors. + + :param value: Information about connection monitors. + :type value: list[~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorResult] + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[ConnectionMonitorResult]'}, + } + + def __init__( + self, + **kwargs + ): + super(ConnectionMonitorListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + + +class ConnectionMonitorOutput(msrest.serialization.Model): + """Describes a connection monitor output destination. + + :param type: Connection monitor output destination type. Currently, only "Workspace" is + supported. Possible values include: "Workspace". + :type type: str or ~azure.mgmt.network.v2021_02_01.models.OutputType + :param workspace_settings: Describes the settings for producing output into a log analytics + workspace. + :type workspace_settings: + ~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorWorkspaceSettings + """ + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, + 'workspace_settings': {'key': 'workspaceSettings', 'type': 'ConnectionMonitorWorkspaceSettings'}, + } + + def __init__( + self, + **kwargs + ): + super(ConnectionMonitorOutput, self).__init__(**kwargs) + self.type = kwargs.get('type', None) + self.workspace_settings = kwargs.get('workspace_settings', None) + + +class ConnectionMonitorParameters(msrest.serialization.Model): + """Parameters that define the operation to create a connection monitor. + + :param source: Describes the source of connection monitor. + :type source: ~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorSource + :param destination: Describes the destination of connection monitor. + :type destination: ~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorDestination + :param auto_start: Determines if the connection monitor will start automatically once created. + :type auto_start: bool + :param monitoring_interval_in_seconds: Monitoring interval in seconds. + :type monitoring_interval_in_seconds: int + :param endpoints: List of connection monitor endpoints. + :type endpoints: list[~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorEndpoint] + :param test_configurations: List of connection monitor test configurations. + :type test_configurations: + list[~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorTestConfiguration] + :param test_groups: List of connection monitor test groups. + :type test_groups: list[~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorTestGroup] + :param outputs: List of connection monitor outputs. + :type outputs: list[~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorOutput] + :param notes: Optional notes to be associated with the connection monitor. + :type notes: str + """ + + _validation = { + 'monitoring_interval_in_seconds': {'maximum': 1800, 'minimum': 30}, + } + + _attribute_map = { + 'source': {'key': 'source', 'type': 'ConnectionMonitorSource'}, + 'destination': {'key': 'destination', 'type': 'ConnectionMonitorDestination'}, + 'auto_start': {'key': 'autoStart', 'type': 'bool'}, + 'monitoring_interval_in_seconds': {'key': 'monitoringIntervalInSeconds', 'type': 'int'}, + 'endpoints': {'key': 'endpoints', 'type': '[ConnectionMonitorEndpoint]'}, + 'test_configurations': {'key': 'testConfigurations', 'type': '[ConnectionMonitorTestConfiguration]'}, + 'test_groups': {'key': 'testGroups', 'type': '[ConnectionMonitorTestGroup]'}, + 'outputs': {'key': 'outputs', 'type': '[ConnectionMonitorOutput]'}, + 'notes': {'key': 'notes', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ConnectionMonitorParameters, self).__init__(**kwargs) + self.source = kwargs.get('source', None) + self.destination = kwargs.get('destination', None) + self.auto_start = kwargs.get('auto_start', True) + self.monitoring_interval_in_seconds = kwargs.get('monitoring_interval_in_seconds', 60) + self.endpoints = kwargs.get('endpoints', None) + self.test_configurations = kwargs.get('test_configurations', None) + self.test_groups = kwargs.get('test_groups', None) + self.outputs = kwargs.get('outputs', None) + self.notes = kwargs.get('notes', None) + + +class ConnectionMonitorQueryResult(msrest.serialization.Model): + """List of connection states snapshots. + + :param source_status: Status of connection monitor source. Possible values include: "Unknown", + "Active", "Inactive". + :type source_status: str or + ~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorSourceStatus + :param states: Information about connection states. + :type states: list[~azure.mgmt.network.v2021_02_01.models.ConnectionStateSnapshot] + """ + + _attribute_map = { + 'source_status': {'key': 'sourceStatus', 'type': 'str'}, + 'states': {'key': 'states', 'type': '[ConnectionStateSnapshot]'}, + } + + def __init__( + self, + **kwargs + ): + super(ConnectionMonitorQueryResult, self).__init__(**kwargs) + self.source_status = kwargs.get('source_status', None) + self.states = kwargs.get('states', None) + + +class ConnectionMonitorResult(msrest.serialization.Model): + """Information about the connection monitor. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar name: Name of the connection monitor. + :vartype name: str + :ivar id: ID of the connection monitor. + :vartype id: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Connection monitor type. + :vartype type: str + :param location: Connection monitor location. + :type location: str + :param tags: A set of tags. Connection monitor tags. + :type tags: dict[str, str] + :param source: Describes the source of connection monitor. + :type source: ~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorSource + :param destination: Describes the destination of connection monitor. + :type destination: ~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorDestination + :param auto_start: Determines if the connection monitor will start automatically once created. + :type auto_start: bool + :param monitoring_interval_in_seconds: Monitoring interval in seconds. + :type monitoring_interval_in_seconds: int + :param endpoints: List of connection monitor endpoints. + :type endpoints: list[~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorEndpoint] + :param test_configurations: List of connection monitor test configurations. + :type test_configurations: + list[~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorTestConfiguration] + :param test_groups: List of connection monitor test groups. + :type test_groups: list[~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorTestGroup] + :param outputs: List of connection monitor outputs. + :type outputs: list[~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorOutput] + :param notes: Optional notes to be associated with the connection monitor. + :type notes: str + :ivar provisioning_state: The provisioning state of the connection monitor. Possible values + include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :ivar start_time: The date and time when the connection monitor was started. + :vartype start_time: ~datetime.datetime + :ivar monitoring_status: The monitoring status of the connection monitor. + :vartype monitoring_status: str + :ivar connection_monitor_type: Type of connection monitor. Possible values include: + "MultiEndpoint", "SingleSourceDestination". + :vartype connection_monitor_type: str or + ~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorType + """ + + _validation = { + 'name': {'readonly': True}, + 'id': {'readonly': True}, + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'monitoring_interval_in_seconds': {'maximum': 1800, 'minimum': 30}, + 'provisioning_state': {'readonly': True}, + 'start_time': {'readonly': True}, + 'monitoring_status': {'readonly': True}, + 'connection_monitor_type': {'readonly': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'id': {'key': 'id', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'source': {'key': 'properties.source', 'type': 'ConnectionMonitorSource'}, + 'destination': {'key': 'properties.destination', 'type': 'ConnectionMonitorDestination'}, + 'auto_start': {'key': 'properties.autoStart', 'type': 'bool'}, + 'monitoring_interval_in_seconds': {'key': 'properties.monitoringIntervalInSeconds', 'type': 'int'}, + 'endpoints': {'key': 'properties.endpoints', 'type': '[ConnectionMonitorEndpoint]'}, + 'test_configurations': {'key': 'properties.testConfigurations', 'type': '[ConnectionMonitorTestConfiguration]'}, + 'test_groups': {'key': 'properties.testGroups', 'type': '[ConnectionMonitorTestGroup]'}, + 'outputs': {'key': 'properties.outputs', 'type': '[ConnectionMonitorOutput]'}, + 'notes': {'key': 'properties.notes', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'start_time': {'key': 'properties.startTime', 'type': 'iso-8601'}, + 'monitoring_status': {'key': 'properties.monitoringStatus', 'type': 'str'}, + 'connection_monitor_type': {'key': 'properties.connectionMonitorType', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ConnectionMonitorResult, self).__init__(**kwargs) + self.name = None + self.id = None + self.etag = None + self.type = None + self.location = kwargs.get('location', None) + self.tags = kwargs.get('tags', None) + self.source = kwargs.get('source', None) + self.destination = kwargs.get('destination', None) + self.auto_start = kwargs.get('auto_start', True) + self.monitoring_interval_in_seconds = kwargs.get('monitoring_interval_in_seconds', 60) + self.endpoints = kwargs.get('endpoints', None) + self.test_configurations = kwargs.get('test_configurations', None) + self.test_groups = kwargs.get('test_groups', None) + self.outputs = kwargs.get('outputs', None) + self.notes = kwargs.get('notes', None) + self.provisioning_state = None + self.start_time = None + self.monitoring_status = None + self.connection_monitor_type = None + + +class ConnectionMonitorResultProperties(ConnectionMonitorParameters): + """Describes the properties of a connection monitor. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param source: Describes the source of connection monitor. + :type source: ~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorSource + :param destination: Describes the destination of connection monitor. + :type destination: ~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorDestination + :param auto_start: Determines if the connection monitor will start automatically once created. + :type auto_start: bool + :param monitoring_interval_in_seconds: Monitoring interval in seconds. + :type monitoring_interval_in_seconds: int + :param endpoints: List of connection monitor endpoints. + :type endpoints: list[~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorEndpoint] + :param test_configurations: List of connection monitor test configurations. + :type test_configurations: + list[~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorTestConfiguration] + :param test_groups: List of connection monitor test groups. + :type test_groups: list[~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorTestGroup] + :param outputs: List of connection monitor outputs. + :type outputs: list[~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorOutput] + :param notes: Optional notes to be associated with the connection monitor. + :type notes: str + :ivar provisioning_state: The provisioning state of the connection monitor. Possible values + include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :ivar start_time: The date and time when the connection monitor was started. + :vartype start_time: ~datetime.datetime + :ivar monitoring_status: The monitoring status of the connection monitor. + :vartype monitoring_status: str + :ivar connection_monitor_type: Type of connection monitor. Possible values include: + "MultiEndpoint", "SingleSourceDestination". + :vartype connection_monitor_type: str or + ~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorType + """ + + _validation = { + 'monitoring_interval_in_seconds': {'maximum': 1800, 'minimum': 30}, + 'provisioning_state': {'readonly': True}, + 'start_time': {'readonly': True}, + 'monitoring_status': {'readonly': True}, + 'connection_monitor_type': {'readonly': True}, + } + + _attribute_map = { + 'source': {'key': 'source', 'type': 'ConnectionMonitorSource'}, + 'destination': {'key': 'destination', 'type': 'ConnectionMonitorDestination'}, + 'auto_start': {'key': 'autoStart', 'type': 'bool'}, + 'monitoring_interval_in_seconds': {'key': 'monitoringIntervalInSeconds', 'type': 'int'}, + 'endpoints': {'key': 'endpoints', 'type': '[ConnectionMonitorEndpoint]'}, + 'test_configurations': {'key': 'testConfigurations', 'type': '[ConnectionMonitorTestConfiguration]'}, + 'test_groups': {'key': 'testGroups', 'type': '[ConnectionMonitorTestGroup]'}, + 'outputs': {'key': 'outputs', 'type': '[ConnectionMonitorOutput]'}, + 'notes': {'key': 'notes', 'type': 'str'}, + 'provisioning_state': {'key': 'provisioningState', 'type': 'str'}, + 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, + 'monitoring_status': {'key': 'monitoringStatus', 'type': 'str'}, + 'connection_monitor_type': {'key': 'connectionMonitorType', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ConnectionMonitorResultProperties, self).__init__(**kwargs) + self.provisioning_state = None + self.start_time = None + self.monitoring_status = None + self.connection_monitor_type = None + + +class ConnectionMonitorSource(msrest.serialization.Model): + """Describes the source of connection monitor. + + All required parameters must be populated in order to send to Azure. + + :param resource_id: Required. The ID of the resource used as the source by connection monitor. + :type resource_id: str + :param port: The source port used by connection monitor. + :type port: int + """ + + _validation = { + 'resource_id': {'required': True}, + 'port': {'maximum': 65535, 'minimum': 0}, + } + + _attribute_map = { + 'resource_id': {'key': 'resourceId', 'type': 'str'}, + 'port': {'key': 'port', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(ConnectionMonitorSource, self).__init__(**kwargs) + self.resource_id = kwargs['resource_id'] + self.port = kwargs.get('port', None) + + +class ConnectionMonitorSuccessThreshold(msrest.serialization.Model): + """Describes the threshold for declaring a test successful. + + :param checks_failed_percent: The maximum percentage of failed checks permitted for a test to + evaluate as successful. + :type checks_failed_percent: int + :param round_trip_time_ms: The maximum round-trip time in milliseconds permitted for a test to + evaluate as successful. + :type round_trip_time_ms: float + """ + + _attribute_map = { + 'checks_failed_percent': {'key': 'checksFailedPercent', 'type': 'int'}, + 'round_trip_time_ms': {'key': 'roundTripTimeMs', 'type': 'float'}, + } + + def __init__( + self, + **kwargs + ): + super(ConnectionMonitorSuccessThreshold, self).__init__(**kwargs) + self.checks_failed_percent = kwargs.get('checks_failed_percent', None) + self.round_trip_time_ms = kwargs.get('round_trip_time_ms', None) + + +class ConnectionMonitorTcpConfiguration(msrest.serialization.Model): + """Describes the TCP configuration. + + :param port: The port to connect to. + :type port: int + :param disable_trace_route: Value indicating whether path evaluation with trace route should be + disabled. + :type disable_trace_route: bool + :param destination_port_behavior: Destination port behavior. Possible values include: "None", + "ListenIfAvailable". + :type destination_port_behavior: str or + ~azure.mgmt.network.v2021_02_01.models.DestinationPortBehavior + """ + + _validation = { + 'port': {'maximum': 65535, 'minimum': 0}, + } + + _attribute_map = { + 'port': {'key': 'port', 'type': 'int'}, + 'disable_trace_route': {'key': 'disableTraceRoute', 'type': 'bool'}, + 'destination_port_behavior': {'key': 'destinationPortBehavior', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ConnectionMonitorTcpConfiguration, self).__init__(**kwargs) + self.port = kwargs.get('port', None) + self.disable_trace_route = kwargs.get('disable_trace_route', None) + self.destination_port_behavior = kwargs.get('destination_port_behavior', None) + + +class ConnectionMonitorTestConfiguration(msrest.serialization.Model): + """Describes a connection monitor test configuration. + + All required parameters must be populated in order to send to Azure. + + :param name: Required. The name of the connection monitor test configuration. + :type name: str + :param test_frequency_sec: The frequency of test evaluation, in seconds. + :type test_frequency_sec: int + :param protocol: Required. The protocol to use in test evaluation. Possible values include: + "Tcp", "Http", "Icmp". + :type protocol: str or + ~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorTestConfigurationProtocol + :param preferred_ip_version: The preferred IP version to use in test evaluation. The connection + monitor may choose to use a different version depending on other parameters. Possible values + include: "IPv4", "IPv6". + :type preferred_ip_version: str or ~azure.mgmt.network.v2021_02_01.models.PreferredIPVersion + :param http_configuration: The parameters used to perform test evaluation over HTTP. + :type http_configuration: + ~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorHttpConfiguration + :param tcp_configuration: The parameters used to perform test evaluation over TCP. + :type tcp_configuration: + ~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorTcpConfiguration + :param icmp_configuration: The parameters used to perform test evaluation over ICMP. + :type icmp_configuration: + ~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorIcmpConfiguration + :param success_threshold: The threshold for declaring a test successful. + :type success_threshold: + ~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorSuccessThreshold + """ + + _validation = { + 'name': {'required': True}, + 'protocol': {'required': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'test_frequency_sec': {'key': 'testFrequencySec', 'type': 'int'}, + 'protocol': {'key': 'protocol', 'type': 'str'}, + 'preferred_ip_version': {'key': 'preferredIPVersion', 'type': 'str'}, + 'http_configuration': {'key': 'httpConfiguration', 'type': 'ConnectionMonitorHttpConfiguration'}, + 'tcp_configuration': {'key': 'tcpConfiguration', 'type': 'ConnectionMonitorTcpConfiguration'}, + 'icmp_configuration': {'key': 'icmpConfiguration', 'type': 'ConnectionMonitorIcmpConfiguration'}, + 'success_threshold': {'key': 'successThreshold', 'type': 'ConnectionMonitorSuccessThreshold'}, + } + + def __init__( + self, + **kwargs + ): + super(ConnectionMonitorTestConfiguration, self).__init__(**kwargs) + self.name = kwargs['name'] + self.test_frequency_sec = kwargs.get('test_frequency_sec', None) + self.protocol = kwargs['protocol'] + self.preferred_ip_version = kwargs.get('preferred_ip_version', None) + self.http_configuration = kwargs.get('http_configuration', None) + self.tcp_configuration = kwargs.get('tcp_configuration', None) + self.icmp_configuration = kwargs.get('icmp_configuration', None) + self.success_threshold = kwargs.get('success_threshold', None) + + +class ConnectionMonitorTestGroup(msrest.serialization.Model): + """Describes the connection monitor test group. + + All required parameters must be populated in order to send to Azure. + + :param name: Required. The name of the connection monitor test group. + :type name: str + :param disable: Value indicating whether test group is disabled. + :type disable: bool + :param test_configurations: Required. List of test configuration names. + :type test_configurations: list[str] + :param sources: Required. List of source endpoint names. + :type sources: list[str] + :param destinations: Required. List of destination endpoint names. + :type destinations: list[str] + """ + + _validation = { + 'name': {'required': True}, + 'test_configurations': {'required': True}, + 'sources': {'required': True}, + 'destinations': {'required': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'disable': {'key': 'disable', 'type': 'bool'}, + 'test_configurations': {'key': 'testConfigurations', 'type': '[str]'}, + 'sources': {'key': 'sources', 'type': '[str]'}, + 'destinations': {'key': 'destinations', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(ConnectionMonitorTestGroup, self).__init__(**kwargs) + self.name = kwargs['name'] + self.disable = kwargs.get('disable', None) + self.test_configurations = kwargs['test_configurations'] + self.sources = kwargs['sources'] + self.destinations = kwargs['destinations'] + + +class ConnectionMonitorWorkspaceSettings(msrest.serialization.Model): + """Describes the settings for producing output into a log analytics workspace. + + :param workspace_resource_id: Log analytics workspace resource ID. + :type workspace_resource_id: str + """ + + _attribute_map = { + 'workspace_resource_id': {'key': 'workspaceResourceId', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ConnectionMonitorWorkspaceSettings, self).__init__(**kwargs) + self.workspace_resource_id = kwargs.get('workspace_resource_id', None) + + +class ConnectionResetSharedKey(msrest.serialization.Model): + """The virtual network connection reset shared key. + + All required parameters must be populated in order to send to Azure. + + :param key_length: Required. The virtual network connection reset shared key length, should + between 1 and 128. + :type key_length: int + """ + + _validation = { + 'key_length': {'required': True, 'maximum': 128, 'minimum': 1}, + } + + _attribute_map = { + 'key_length': {'key': 'keyLength', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(ConnectionResetSharedKey, self).__init__(**kwargs) + self.key_length = kwargs['key_length'] + + +class ConnectionSharedKey(SubResource): + """Response for GetConnectionSharedKey API service call. + + All required parameters must be populated in order to send to Azure. + + :param id: Resource ID. + :type id: str + :param value: Required. The virtual network connection shared key value. + :type value: str + """ + + _validation = { + 'value': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'value': {'key': 'value', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ConnectionSharedKey, self).__init__(**kwargs) + self.value = kwargs['value'] + + +class ConnectionStateSnapshot(msrest.serialization.Model): + """Connection state snapshot. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param connection_state: The connection state. Possible values include: "Reachable", + "Unreachable", "Unknown". + :type connection_state: str or ~azure.mgmt.network.v2021_02_01.models.ConnectionState + :param start_time: The start time of the connection snapshot. + :type start_time: ~datetime.datetime + :param end_time: The end time of the connection snapshot. + :type end_time: ~datetime.datetime + :param evaluation_state: Connectivity analysis evaluation state. Possible values include: + "NotStarted", "InProgress", "Completed". + :type evaluation_state: str or ~azure.mgmt.network.v2021_02_01.models.EvaluationState + :param avg_latency_in_ms: Average latency in ms. + :type avg_latency_in_ms: long + :param min_latency_in_ms: Minimum latency in ms. + :type min_latency_in_ms: long + :param max_latency_in_ms: Maximum latency in ms. + :type max_latency_in_ms: long + :param probes_sent: The number of sent probes. + :type probes_sent: long + :param probes_failed: The number of failed probes. + :type probes_failed: long + :ivar hops: List of hops between the source and the destination. + :vartype hops: list[~azure.mgmt.network.v2021_02_01.models.ConnectivityHop] + """ + + _validation = { + 'avg_latency_in_ms': {'maximum': 4294967295, 'minimum': 0}, + 'min_latency_in_ms': {'maximum': 4294967295, 'minimum': 0}, + 'max_latency_in_ms': {'maximum': 4294967295, 'minimum': 0}, + 'probes_sent': {'maximum': 4294967295, 'minimum': 0}, + 'probes_failed': {'maximum': 4294967295, 'minimum': 0}, + 'hops': {'readonly': True}, + } + + _attribute_map = { + 'connection_state': {'key': 'connectionState', 'type': 'str'}, + 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, + 'end_time': {'key': 'endTime', 'type': 'iso-8601'}, + 'evaluation_state': {'key': 'evaluationState', 'type': 'str'}, + 'avg_latency_in_ms': {'key': 'avgLatencyInMs', 'type': 'long'}, + 'min_latency_in_ms': {'key': 'minLatencyInMs', 'type': 'long'}, + 'max_latency_in_ms': {'key': 'maxLatencyInMs', 'type': 'long'}, + 'probes_sent': {'key': 'probesSent', 'type': 'long'}, + 'probes_failed': {'key': 'probesFailed', 'type': 'long'}, + 'hops': {'key': 'hops', 'type': '[ConnectivityHop]'}, + } + + def __init__( + self, + **kwargs + ): + super(ConnectionStateSnapshot, self).__init__(**kwargs) + self.connection_state = kwargs.get('connection_state', None) + self.start_time = kwargs.get('start_time', None) + self.end_time = kwargs.get('end_time', None) + self.evaluation_state = kwargs.get('evaluation_state', None) + self.avg_latency_in_ms = kwargs.get('avg_latency_in_ms', None) + self.min_latency_in_ms = kwargs.get('min_latency_in_ms', None) + self.max_latency_in_ms = kwargs.get('max_latency_in_ms', None) + self.probes_sent = kwargs.get('probes_sent', None) + self.probes_failed = kwargs.get('probes_failed', None) + self.hops = None + + +class ConnectivityDestination(msrest.serialization.Model): + """Parameters that define destination of connection. + + :param resource_id: The ID of the resource to which a connection attempt will be made. + :type resource_id: str + :param address: The IP address or URI the resource to which a connection attempt will be made. + :type address: str + :param port: Port on which check connectivity will be performed. + :type port: int + """ + + _validation = { + 'port': {'maximum': 65535, 'minimum': 0}, + } + + _attribute_map = { + 'resource_id': {'key': 'resourceId', 'type': 'str'}, + 'address': {'key': 'address', 'type': 'str'}, + 'port': {'key': 'port', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(ConnectivityDestination, self).__init__(**kwargs) + self.resource_id = kwargs.get('resource_id', None) + self.address = kwargs.get('address', None) + self.port = kwargs.get('port', None) + + +class ConnectivityHop(msrest.serialization.Model): + """Information about a hop between the source and the destination. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar type: The type of the hop. + :vartype type: str + :ivar id: The ID of the hop. + :vartype id: str + :ivar address: The IP address of the hop. + :vartype address: str + :ivar resource_id: The ID of the resource corresponding to this hop. + :vartype resource_id: str + :ivar next_hop_ids: List of next hop identifiers. + :vartype next_hop_ids: list[str] + :ivar previous_hop_ids: List of previous hop identifiers. + :vartype previous_hop_ids: list[str] + :ivar links: List of hop links. + :vartype links: list[~azure.mgmt.network.v2021_02_01.models.HopLink] + :ivar previous_links: List of previous hop links. + :vartype previous_links: list[~azure.mgmt.network.v2021_02_01.models.HopLink] + :ivar issues: List of issues. + :vartype issues: list[~azure.mgmt.network.v2021_02_01.models.ConnectivityIssue] + """ + + _validation = { + 'type': {'readonly': True}, + 'id': {'readonly': True}, + 'address': {'readonly': True}, + 'resource_id': {'readonly': True}, + 'next_hop_ids': {'readonly': True}, + 'previous_hop_ids': {'readonly': True}, + 'links': {'readonly': True}, + 'previous_links': {'readonly': True}, + 'issues': {'readonly': True}, + } + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, + 'id': {'key': 'id', 'type': 'str'}, + 'address': {'key': 'address', 'type': 'str'}, + 'resource_id': {'key': 'resourceId', 'type': 'str'}, + 'next_hop_ids': {'key': 'nextHopIds', 'type': '[str]'}, + 'previous_hop_ids': {'key': 'previousHopIds', 'type': '[str]'}, + 'links': {'key': 'links', 'type': '[HopLink]'}, + 'previous_links': {'key': 'previousLinks', 'type': '[HopLink]'}, + 'issues': {'key': 'issues', 'type': '[ConnectivityIssue]'}, + } + + def __init__( + self, + **kwargs + ): + super(ConnectivityHop, self).__init__(**kwargs) + self.type = None + self.id = None + self.address = None + self.resource_id = None + self.next_hop_ids = None + self.previous_hop_ids = None + self.links = None + self.previous_links = None + self.issues = None + + +class ConnectivityInformation(msrest.serialization.Model): + """Information on the connectivity status. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar hops: List of hops between the source and the destination. + :vartype hops: list[~azure.mgmt.network.v2021_02_01.models.ConnectivityHop] + :ivar connection_status: The connection status. Possible values include: "Unknown", + "Connected", "Disconnected", "Degraded". + :vartype connection_status: str or ~azure.mgmt.network.v2021_02_01.models.ConnectionStatus + :ivar avg_latency_in_ms: Average latency in milliseconds. + :vartype avg_latency_in_ms: int + :ivar min_latency_in_ms: Minimum latency in milliseconds. + :vartype min_latency_in_ms: int + :ivar max_latency_in_ms: Maximum latency in milliseconds. + :vartype max_latency_in_ms: int + :ivar probes_sent: Total number of probes sent. + :vartype probes_sent: int + :ivar probes_failed: Number of failed probes. + :vartype probes_failed: int + """ + + _validation = { + 'hops': {'readonly': True}, + 'connection_status': {'readonly': True}, + 'avg_latency_in_ms': {'readonly': True}, + 'min_latency_in_ms': {'readonly': True}, + 'max_latency_in_ms': {'readonly': True}, + 'probes_sent': {'readonly': True}, + 'probes_failed': {'readonly': True}, + } + + _attribute_map = { + 'hops': {'key': 'hops', 'type': '[ConnectivityHop]'}, + 'connection_status': {'key': 'connectionStatus', 'type': 'str'}, + 'avg_latency_in_ms': {'key': 'avgLatencyInMs', 'type': 'int'}, + 'min_latency_in_ms': {'key': 'minLatencyInMs', 'type': 'int'}, + 'max_latency_in_ms': {'key': 'maxLatencyInMs', 'type': 'int'}, + 'probes_sent': {'key': 'probesSent', 'type': 'int'}, + 'probes_failed': {'key': 'probesFailed', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(ConnectivityInformation, self).__init__(**kwargs) + self.hops = None + self.connection_status = None + self.avg_latency_in_ms = None + self.min_latency_in_ms = None + self.max_latency_in_ms = None + self.probes_sent = None + self.probes_failed = None + + +class ConnectivityIssue(msrest.serialization.Model): + """Information about an issue encountered in the process of checking for connectivity. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar origin: The origin of the issue. Possible values include: "Local", "Inbound", "Outbound". + :vartype origin: str or ~azure.mgmt.network.v2021_02_01.models.Origin + :ivar severity: The severity of the issue. Possible values include: "Error", "Warning". + :vartype severity: str or ~azure.mgmt.network.v2021_02_01.models.Severity + :ivar type: The type of issue. Possible values include: "Unknown", "AgentStopped", + "GuestFirewall", "DnsResolution", "SocketBind", "NetworkSecurityRule", "UserDefinedRoute", + "PortThrottled", "Platform". + :vartype type: str or ~azure.mgmt.network.v2021_02_01.models.IssueType + :ivar context: Provides additional context on the issue. + :vartype context: list[dict[str, str]] + """ + + _validation = { + 'origin': {'readonly': True}, + 'severity': {'readonly': True}, + 'type': {'readonly': True}, + 'context': {'readonly': True}, + } + + _attribute_map = { + 'origin': {'key': 'origin', 'type': 'str'}, + 'severity': {'key': 'severity', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'context': {'key': 'context', 'type': '[{str}]'}, + } + + def __init__( + self, + **kwargs + ): + super(ConnectivityIssue, self).__init__(**kwargs) + self.origin = None + self.severity = None + self.type = None + self.context = None + + +class ConnectivityParameters(msrest.serialization.Model): + """Parameters that determine how the connectivity check will be performed. + + All required parameters must be populated in order to send to Azure. + + :param source: Required. The source of the connection. + :type source: ~azure.mgmt.network.v2021_02_01.models.ConnectivitySource + :param destination: Required. The destination of connection. + :type destination: ~azure.mgmt.network.v2021_02_01.models.ConnectivityDestination + :param protocol: Network protocol. Possible values include: "Tcp", "Http", "Https", "Icmp". + :type protocol: str or ~azure.mgmt.network.v2021_02_01.models.Protocol + :param protocol_configuration: Configuration of the protocol. + :type protocol_configuration: ~azure.mgmt.network.v2021_02_01.models.ProtocolConfiguration + :param preferred_ip_version: Preferred IP version of the connection. Possible values include: + "IPv4", "IPv6". + :type preferred_ip_version: str or ~azure.mgmt.network.v2021_02_01.models.IPVersion + """ + + _validation = { + 'source': {'required': True}, + 'destination': {'required': True}, + } + + _attribute_map = { + 'source': {'key': 'source', 'type': 'ConnectivitySource'}, + 'destination': {'key': 'destination', 'type': 'ConnectivityDestination'}, + 'protocol': {'key': 'protocol', 'type': 'str'}, + 'protocol_configuration': {'key': 'protocolConfiguration', 'type': 'ProtocolConfiguration'}, + 'preferred_ip_version': {'key': 'preferredIPVersion', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ConnectivityParameters, self).__init__(**kwargs) + self.source = kwargs['source'] + self.destination = kwargs['destination'] + self.protocol = kwargs.get('protocol', None) + self.protocol_configuration = kwargs.get('protocol_configuration', None) + self.preferred_ip_version = kwargs.get('preferred_ip_version', None) + + +class ConnectivitySource(msrest.serialization.Model): + """Parameters that define the source of the connection. + + All required parameters must be populated in order to send to Azure. + + :param resource_id: Required. The ID of the resource from which a connectivity check will be + initiated. + :type resource_id: str + :param port: The source port from which a connectivity check will be performed. + :type port: int + """ + + _validation = { + 'resource_id': {'required': True}, + 'port': {'maximum': 65535, 'minimum': 0}, + } + + _attribute_map = { + 'resource_id': {'key': 'resourceId', 'type': 'str'}, + 'port': {'key': 'port', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(ConnectivitySource, self).__init__(**kwargs) + self.resource_id = kwargs['resource_id'] + self.port = kwargs.get('port', None) + + +class Container(SubResource): + """Reference to container resource in remote resource provider. + + :param id: Resource ID. + :type id: str + """ + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(Container, self).__init__(**kwargs) + + +class ContainerNetworkInterface(SubResource): + """Container network interface child resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: The name of the resource. This name can be used to access the resource. + :type name: str + :ivar type: Sub Resource type. + :vartype type: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar container_network_interface_configuration: Container network interface configuration from + which this container network interface is created. + :vartype container_network_interface_configuration: + ~azure.mgmt.network.v2021_02_01.models.ContainerNetworkInterfaceConfiguration + :param container: Reference to the container to which this container network interface is + attached. + :type container: ~azure.mgmt.network.v2021_02_01.models.Container + :ivar ip_configurations: Reference to the ip configuration on this container nic. + :vartype ip_configurations: + list[~azure.mgmt.network.v2021_02_01.models.ContainerNetworkInterfaceIpConfiguration] + :ivar provisioning_state: The provisioning state of the container network interface resource. + Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'container_network_interface_configuration': {'readonly': True}, + 'ip_configurations': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'container_network_interface_configuration': {'key': 'properties.containerNetworkInterfaceConfiguration', 'type': 'ContainerNetworkInterfaceConfiguration'}, + 'container': {'key': 'properties.container', 'type': 'Container'}, + 'ip_configurations': {'key': 'properties.ipConfigurations', 'type': '[ContainerNetworkInterfaceIpConfiguration]'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ContainerNetworkInterface, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.type = None + self.etag = None + self.container_network_interface_configuration = None + self.container = kwargs.get('container', None) + self.ip_configurations = None + self.provisioning_state = None + + +class ContainerNetworkInterfaceConfiguration(SubResource): + """Container network interface configuration child resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: The name of the resource. This name can be used to access the resource. + :type name: str + :ivar type: Sub Resource type. + :vartype type: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param ip_configurations: A list of ip configurations of the container network interface + configuration. + :type ip_configurations: list[~azure.mgmt.network.v2021_02_01.models.IPConfigurationProfile] + :param container_network_interfaces: A list of container network interfaces created from this + container network interface configuration. + :type container_network_interfaces: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + :ivar provisioning_state: The provisioning state of the container network interface + configuration resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'ip_configurations': {'key': 'properties.ipConfigurations', 'type': '[IPConfigurationProfile]'}, + 'container_network_interfaces': {'key': 'properties.containerNetworkInterfaces', 'type': '[SubResource]'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ContainerNetworkInterfaceConfiguration, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.type = None + self.etag = None + self.ip_configurations = kwargs.get('ip_configurations', None) + self.container_network_interfaces = kwargs.get('container_network_interfaces', None) + self.provisioning_state = None + + +class ContainerNetworkInterfaceIpConfiguration(msrest.serialization.Model): + """The ip configuration for a container network interface. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param name: The name of the resource. This name can be used to access the resource. + :type name: str + :ivar type: Sub Resource type. + :vartype type: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar provisioning_state: The provisioning state of the container network interface IP + configuration resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ContainerNetworkInterfaceIpConfiguration, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.type = None + self.etag = None + self.provisioning_state = None + + +class CustomDnsConfigPropertiesFormat(msrest.serialization.Model): + """Contains custom Dns resolution configuration from customer. + + :param fqdn: Fqdn that resolves to private endpoint ip address. + :type fqdn: str + :param ip_addresses: A list of private ip addresses of the private endpoint. + :type ip_addresses: list[str] + """ + + _attribute_map = { + 'fqdn': {'key': 'fqdn', 'type': 'str'}, + 'ip_addresses': {'key': 'ipAddresses', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(CustomDnsConfigPropertiesFormat, self).__init__(**kwargs) + self.fqdn = kwargs.get('fqdn', None) + self.ip_addresses = kwargs.get('ip_addresses', None) + + +class CustomIpPrefix(Resource): + """Custom IP prefix resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :param extended_location: The extended location of the custom IP prefix. + :type extended_location: ~azure.mgmt.network.v2021_02_01.models.ExtendedLocation + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param zones: A list of availability zones denoting the IP allocated for the resource needs to + come from. + :type zones: list[str] + :param cidr: The prefix range in CIDR notation. Should include the start address and the prefix + length. + :type cidr: str + :param signed_message: Signed message for WAN validation. + :type signed_message: str + :param authorization_message: Authorization message for WAN validation. + :type authorization_message: str + :param custom_ip_prefix_parent: The Parent CustomIpPrefix for IPv6 /64 CustomIpPrefix. + :type custom_ip_prefix_parent: ~azure.mgmt.network.v2021_02_01.models.CustomIpPrefix + :ivar child_custom_ip_prefixes: The list of all Children for IPv6 /48 CustomIpPrefix. + :vartype child_custom_ip_prefixes: list[~azure.mgmt.network.v2021_02_01.models.CustomIpPrefix] + :param commissioned_state: The commissioned state of the Custom IP Prefix. Possible values + include: "Provisioning", "Provisioned", "Commissioning", "Commissioned", "Decommissioning", + "Deprovisioning". + :type commissioned_state: str or ~azure.mgmt.network.v2021_02_01.models.CommissionedState + :ivar public_ip_prefixes: The list of all referenced PublicIpPrefixes. + :vartype public_ip_prefixes: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + :ivar resource_guid: The resource GUID property of the custom IP prefix resource. + :vartype resource_guid: str + :ivar failed_reason: The reason why resource is in failed state. + :vartype failed_reason: str + :ivar provisioning_state: The provisioning state of the custom IP prefix resource. Possible + values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'child_custom_ip_prefixes': {'readonly': True}, + 'public_ip_prefixes': {'readonly': True}, + 'resource_guid': {'readonly': True}, + 'failed_reason': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'extended_location': {'key': 'extendedLocation', 'type': 'ExtendedLocation'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'zones': {'key': 'zones', 'type': '[str]'}, + 'cidr': {'key': 'properties.cidr', 'type': 'str'}, + 'signed_message': {'key': 'properties.signedMessage', 'type': 'str'}, + 'authorization_message': {'key': 'properties.authorizationMessage', 'type': 'str'}, + 'custom_ip_prefix_parent': {'key': 'properties.customIpPrefixParent', 'type': 'CustomIpPrefix'}, + 'child_custom_ip_prefixes': {'key': 'properties.childCustomIpPrefixes', 'type': '[CustomIpPrefix]'}, + 'commissioned_state': {'key': 'properties.commissionedState', 'type': 'str'}, + 'public_ip_prefixes': {'key': 'properties.publicIpPrefixes', 'type': '[SubResource]'}, + 'resource_guid': {'key': 'properties.resourceGuid', 'type': 'str'}, + 'failed_reason': {'key': 'properties.failedReason', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(CustomIpPrefix, self).__init__(**kwargs) + self.extended_location = kwargs.get('extended_location', None) + self.etag = None + self.zones = kwargs.get('zones', None) + self.cidr = kwargs.get('cidr', None) + self.signed_message = kwargs.get('signed_message', None) + self.authorization_message = kwargs.get('authorization_message', None) + self.custom_ip_prefix_parent = kwargs.get('custom_ip_prefix_parent', None) + self.child_custom_ip_prefixes = None + self.commissioned_state = kwargs.get('commissioned_state', None) + self.public_ip_prefixes = None + self.resource_guid = None + self.failed_reason = None + self.provisioning_state = None + + +class CustomIpPrefixListResult(msrest.serialization.Model): + """Response for ListCustomIpPrefixes API service call. + + :param value: A list of Custom IP prefixes that exists in a resource group. + :type value: list[~azure.mgmt.network.v2021_02_01.models.CustomIpPrefix] + :param next_link: The URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[CustomIpPrefix]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(CustomIpPrefixListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = kwargs.get('next_link', None) + + +class DdosCustomPolicy(Resource): + """A DDoS custom policy in a resource group. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar resource_guid: The resource GUID property of the DDoS custom policy resource. It uniquely + identifies the resource, even if the user changes its name or migrate the resource across + subscriptions or resource groups. + :vartype resource_guid: str + :ivar provisioning_state: The provisioning state of the DDoS custom policy resource. Possible + values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :ivar public_ip_addresses: The list of public IPs associated with the DDoS custom policy + resource. This list is read-only. + :vartype public_ip_addresses: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + :param protocol_custom_settings: The protocol-specific DDoS policy customization parameters. + :type protocol_custom_settings: + list[~azure.mgmt.network.v2021_02_01.models.ProtocolCustomSettingsFormat] + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'resource_guid': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'public_ip_addresses': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'resource_guid': {'key': 'properties.resourceGuid', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'public_ip_addresses': {'key': 'properties.publicIPAddresses', 'type': '[SubResource]'}, + 'protocol_custom_settings': {'key': 'properties.protocolCustomSettings', 'type': '[ProtocolCustomSettingsFormat]'}, + } + + def __init__( + self, + **kwargs + ): + super(DdosCustomPolicy, self).__init__(**kwargs) + self.etag = None + self.resource_guid = None + self.provisioning_state = None + self.public_ip_addresses = None + self.protocol_custom_settings = kwargs.get('protocol_custom_settings', None) + + +class DdosProtectionPlan(msrest.serialization.Model): + """A DDoS protection plan in a resource group. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Resource ID. + :vartype id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar resource_guid: The resource GUID property of the DDoS protection plan resource. It + uniquely identifies the resource, even if the user changes its name or migrate the resource + across subscriptions or resource groups. + :vartype resource_guid: str + :ivar provisioning_state: The provisioning state of the DDoS protection plan resource. Possible + values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :ivar virtual_networks: The list of virtual networks associated with the DDoS protection plan + resource. This list is read-only. + :vartype virtual_networks: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'resource_guid': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'virtual_networks': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'resource_guid': {'key': 'properties.resourceGuid', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'virtual_networks': {'key': 'properties.virtualNetworks', 'type': '[SubResource]'}, + } + + def __init__( + self, + **kwargs + ): + super(DdosProtectionPlan, self).__init__(**kwargs) + self.id = None + self.name = None + self.type = None + self.location = kwargs.get('location', None) + self.tags = kwargs.get('tags', None) + self.etag = None + self.resource_guid = None + self.provisioning_state = None + self.virtual_networks = None + + +class DdosProtectionPlanListResult(msrest.serialization.Model): + """A list of DDoS protection plans. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: A list of DDoS protection plans. + :type value: list[~azure.mgmt.network.v2021_02_01.models.DdosProtectionPlan] + :ivar next_link: The URL to get the next set of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[DdosProtectionPlan]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(DdosProtectionPlanListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = None + + +class DdosSettings(msrest.serialization.Model): + """Contains the DDoS protection settings of the public IP. + + :param ddos_custom_policy: The DDoS custom policy associated with the public IP. + :type ddos_custom_policy: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param protection_coverage: The DDoS protection policy customizability of the public IP. Only + standard coverage will have the ability to be customized. Possible values include: "Basic", + "Standard". + :type protection_coverage: str or + ~azure.mgmt.network.v2021_02_01.models.DdosSettingsProtectionCoverage + :param protected_ip: Enables DDoS protection on the public IP. + :type protected_ip: bool + """ + + _attribute_map = { + 'ddos_custom_policy': {'key': 'ddosCustomPolicy', 'type': 'SubResource'}, + 'protection_coverage': {'key': 'protectionCoverage', 'type': 'str'}, + 'protected_ip': {'key': 'protectedIP', 'type': 'bool'}, + } + + def __init__( + self, + **kwargs + ): + super(DdosSettings, self).__init__(**kwargs) + self.ddos_custom_policy = kwargs.get('ddos_custom_policy', None) + self.protection_coverage = kwargs.get('protection_coverage', None) + self.protected_ip = kwargs.get('protected_ip', None) + + +class Delegation(SubResource): + """Details the service to which the subnet is delegated. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: The name of the resource that is unique within a subnet. This name can be used to + access the resource. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param type: Resource type. + :type type: str + :param service_name: The name of the service to whom the subnet should be delegated (e.g. + Microsoft.Sql/servers). + :type service_name: str + :ivar actions: The actions permitted to the service upon delegation. + :vartype actions: list[str] + :ivar provisioning_state: The provisioning state of the service delegation resource. Possible + values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'actions': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'service_name': {'key': 'properties.serviceName', 'type': 'str'}, + 'actions': {'key': 'properties.actions', 'type': '[str]'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(Delegation, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.etag = None + self.type = kwargs.get('type', None) + self.service_name = kwargs.get('service_name', None) + self.actions = None + self.provisioning_state = None + + +class DeviceProperties(msrest.serialization.Model): + """List of properties of the device. + + :param device_vendor: Name of the device Vendor. + :type device_vendor: str + :param device_model: Model of the device. + :type device_model: str + :param link_speed_in_mbps: Link speed. + :type link_speed_in_mbps: int + """ + + _attribute_map = { + 'device_vendor': {'key': 'deviceVendor', 'type': 'str'}, + 'device_model': {'key': 'deviceModel', 'type': 'str'}, + 'link_speed_in_mbps': {'key': 'linkSpeedInMbps', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(DeviceProperties, self).__init__(**kwargs) + self.device_vendor = kwargs.get('device_vendor', None) + self.device_model = kwargs.get('device_model', None) + self.link_speed_in_mbps = kwargs.get('link_speed_in_mbps', None) + + +class DhcpOptions(msrest.serialization.Model): + """DhcpOptions contains an array of DNS servers available to VMs deployed in the virtual network. Standard DHCP option for a subnet overrides VNET DHCP options. + + :param dns_servers: The list of DNS servers IP addresses. + :type dns_servers: list[str] + """ + + _attribute_map = { + 'dns_servers': {'key': 'dnsServers', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(DhcpOptions, self).__init__(**kwargs) + self.dns_servers = kwargs.get('dns_servers', None) + + +class Dimension(msrest.serialization.Model): + """Dimension of the metric. + + :param name: The name of the dimension. + :type name: str + :param display_name: The display name of the dimension. + :type display_name: str + :param internal_name: The internal name of the dimension. + :type internal_name: str + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'display_name': {'key': 'displayName', 'type': 'str'}, + 'internal_name': {'key': 'internalName', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(Dimension, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.display_name = kwargs.get('display_name', None) + self.internal_name = kwargs.get('internal_name', None) + + +class DnsNameAvailabilityResult(msrest.serialization.Model): + """Response for the CheckDnsNameAvailability API service call. + + :param available: Domain availability (True/False). + :type available: bool + """ + + _attribute_map = { + 'available': {'key': 'available', 'type': 'bool'}, + } + + def __init__( + self, + **kwargs + ): + super(DnsNameAvailabilityResult, self).__init__(**kwargs) + self.available = kwargs.get('available', None) + + +class DnsSettings(msrest.serialization.Model): + """DNS Proxy Settings in Firewall Policy. + + :param servers: List of Custom DNS Servers. + :type servers: list[str] + :param enable_proxy: Enable DNS Proxy on Firewalls attached to the Firewall Policy. + :type enable_proxy: bool + :param require_proxy_for_network_rules: FQDNs in Network Rules are supported when set to true. + :type require_proxy_for_network_rules: bool + """ + + _attribute_map = { + 'servers': {'key': 'servers', 'type': '[str]'}, + 'enable_proxy': {'key': 'enableProxy', 'type': 'bool'}, + 'require_proxy_for_network_rules': {'key': 'requireProxyForNetworkRules', 'type': 'bool'}, + } + + def __init__( + self, + **kwargs + ): + super(DnsSettings, self).__init__(**kwargs) + self.servers = kwargs.get('servers', None) + self.enable_proxy = kwargs.get('enable_proxy', None) + self.require_proxy_for_network_rules = kwargs.get('require_proxy_for_network_rules', None) + + +class DscpConfiguration(Resource): + """DSCP Configuration in a resource group. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param markings: List of markings to be used in the configuration. + :type markings: list[int] + :param source_ip_ranges: Source IP ranges. + :type source_ip_ranges: list[~azure.mgmt.network.v2021_02_01.models.QosIpRange] + :param destination_ip_ranges: Destination IP ranges. + :type destination_ip_ranges: list[~azure.mgmt.network.v2021_02_01.models.QosIpRange] + :param source_port_ranges: Sources port ranges. + :type source_port_ranges: list[~azure.mgmt.network.v2021_02_01.models.QosPortRange] + :param destination_port_ranges: Destination port ranges. + :type destination_port_ranges: list[~azure.mgmt.network.v2021_02_01.models.QosPortRange] + :param protocol: RNM supported protocol types. Possible values include: "DoNotUse", "Icmp", + "Tcp", "Udp", "Gre", "Esp", "Ah", "Vxlan", "All". + :type protocol: str or ~azure.mgmt.network.v2021_02_01.models.ProtocolType + :ivar qos_collection_id: Qos Collection ID generated by RNM. + :vartype qos_collection_id: str + :ivar associated_network_interfaces: Associated Network Interfaces to the DSCP Configuration. + :vartype associated_network_interfaces: + list[~azure.mgmt.network.v2021_02_01.models.NetworkInterface] + :ivar resource_guid: The resource GUID property of the DSCP Configuration resource. + :vartype resource_guid: str + :ivar provisioning_state: The provisioning state of the DSCP Configuration resource. Possible + values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'qos_collection_id': {'readonly': True}, + 'associated_network_interfaces': {'readonly': True}, + 'resource_guid': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'markings': {'key': 'properties.markings', 'type': '[int]'}, + 'source_ip_ranges': {'key': 'properties.sourceIpRanges', 'type': '[QosIpRange]'}, + 'destination_ip_ranges': {'key': 'properties.destinationIpRanges', 'type': '[QosIpRange]'}, + 'source_port_ranges': {'key': 'properties.sourcePortRanges', 'type': '[QosPortRange]'}, + 'destination_port_ranges': {'key': 'properties.destinationPortRanges', 'type': '[QosPortRange]'}, + 'protocol': {'key': 'properties.protocol', 'type': 'str'}, + 'qos_collection_id': {'key': 'properties.qosCollectionId', 'type': 'str'}, + 'associated_network_interfaces': {'key': 'properties.associatedNetworkInterfaces', 'type': '[NetworkInterface]'}, + 'resource_guid': {'key': 'properties.resourceGuid', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(DscpConfiguration, self).__init__(**kwargs) + self.etag = None + self.markings = kwargs.get('markings', None) + self.source_ip_ranges = kwargs.get('source_ip_ranges', None) + self.destination_ip_ranges = kwargs.get('destination_ip_ranges', None) + self.source_port_ranges = kwargs.get('source_port_ranges', None) + self.destination_port_ranges = kwargs.get('destination_port_ranges', None) + self.protocol = kwargs.get('protocol', None) + self.qos_collection_id = None + self.associated_network_interfaces = None + self.resource_guid = None + self.provisioning_state = None + + +class DscpConfigurationListResult(msrest.serialization.Model): + """Response for the DscpConfigurationList API service call. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: A list of dscp configurations in a resource group. + :type value: list[~azure.mgmt.network.v2021_02_01.models.DscpConfiguration] + :ivar next_link: The URL to get the next set of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[DscpConfiguration]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(DscpConfigurationListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = None + + +class EffectiveNetworkSecurityGroup(msrest.serialization.Model): + """Effective network security group. + + :param network_security_group: The ID of network security group that is applied. + :type network_security_group: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param association: Associated resources. + :type association: + ~azure.mgmt.network.v2021_02_01.models.EffectiveNetworkSecurityGroupAssociation + :param effective_security_rules: A collection of effective security rules. + :type effective_security_rules: + list[~azure.mgmt.network.v2021_02_01.models.EffectiveNetworkSecurityRule] + :param tag_map: Mapping of tags to list of IP Addresses included within the tag. + :type tag_map: str + """ + + _attribute_map = { + 'network_security_group': {'key': 'networkSecurityGroup', 'type': 'SubResource'}, + 'association': {'key': 'association', 'type': 'EffectiveNetworkSecurityGroupAssociation'}, + 'effective_security_rules': {'key': 'effectiveSecurityRules', 'type': '[EffectiveNetworkSecurityRule]'}, + 'tag_map': {'key': 'tagMap', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(EffectiveNetworkSecurityGroup, self).__init__(**kwargs) + self.network_security_group = kwargs.get('network_security_group', None) + self.association = kwargs.get('association', None) + self.effective_security_rules = kwargs.get('effective_security_rules', None) + self.tag_map = kwargs.get('tag_map', None) + + +class EffectiveNetworkSecurityGroupAssociation(msrest.serialization.Model): + """The effective network security group association. + + :param network_manager: The ID of the Azure network manager if assigned. + :type network_manager: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param subnet: The ID of the subnet if assigned. + :type subnet: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param network_interface: The ID of the network interface if assigned. + :type network_interface: ~azure.mgmt.network.v2021_02_01.models.SubResource + """ + + _attribute_map = { + 'network_manager': {'key': 'networkManager', 'type': 'SubResource'}, + 'subnet': {'key': 'subnet', 'type': 'SubResource'}, + 'network_interface': {'key': 'networkInterface', 'type': 'SubResource'}, + } + + def __init__( + self, + **kwargs + ): + super(EffectiveNetworkSecurityGroupAssociation, self).__init__(**kwargs) + self.network_manager = kwargs.get('network_manager', None) + self.subnet = kwargs.get('subnet', None) + self.network_interface = kwargs.get('network_interface', None) + + +class EffectiveNetworkSecurityGroupListResult(msrest.serialization.Model): + """Response for list effective network security groups API service call. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: A list of effective network security groups. + :type value: list[~azure.mgmt.network.v2021_02_01.models.EffectiveNetworkSecurityGroup] + :ivar next_link: The URL to get the next set of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[EffectiveNetworkSecurityGroup]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(EffectiveNetworkSecurityGroupListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = None + + +class EffectiveNetworkSecurityRule(msrest.serialization.Model): + """Effective network security rules. + + :param name: The name of the security rule specified by the user (if created by the user). + :type name: str + :param protocol: The network protocol this rule applies to. Possible values include: "Tcp", + "Udp", "All". + :type protocol: str or ~azure.mgmt.network.v2021_02_01.models.EffectiveSecurityRuleProtocol + :param source_port_range: The source port or range. + :type source_port_range: str + :param destination_port_range: The destination port or range. + :type destination_port_range: str + :param source_port_ranges: The source port ranges. Expected values include a single integer + between 0 and 65535, a range using '-' as separator (e.g. 100-400), or an asterisk (*). + :type source_port_ranges: list[str] + :param destination_port_ranges: The destination port ranges. Expected values include a single + integer between 0 and 65535, a range using '-' as separator (e.g. 100-400), or an asterisk (*). + :type destination_port_ranges: list[str] + :param source_address_prefix: The source address prefix. + :type source_address_prefix: str + :param destination_address_prefix: The destination address prefix. + :type destination_address_prefix: str + :param source_address_prefixes: The source address prefixes. Expected values include CIDR IP + ranges, Default Tags (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the + asterisk (*). + :type source_address_prefixes: list[str] + :param destination_address_prefixes: The destination address prefixes. Expected values include + CIDR IP ranges, Default Tags (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and + the asterisk (*). + :type destination_address_prefixes: list[str] + :param expanded_source_address_prefix: The expanded source address prefix. + :type expanded_source_address_prefix: list[str] + :param expanded_destination_address_prefix: Expanded destination address prefix. + :type expanded_destination_address_prefix: list[str] + :param access: Whether network traffic is allowed or denied. Possible values include: "Allow", + "Deny". + :type access: str or ~azure.mgmt.network.v2021_02_01.models.SecurityRuleAccess + :param priority: The priority of the rule. + :type priority: int + :param direction: The direction of the rule. Possible values include: "Inbound", "Outbound". + :type direction: str or ~azure.mgmt.network.v2021_02_01.models.SecurityRuleDirection + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'protocol': {'key': 'protocol', 'type': 'str'}, + 'source_port_range': {'key': 'sourcePortRange', 'type': 'str'}, + 'destination_port_range': {'key': 'destinationPortRange', 'type': 'str'}, + 'source_port_ranges': {'key': 'sourcePortRanges', 'type': '[str]'}, + 'destination_port_ranges': {'key': 'destinationPortRanges', 'type': '[str]'}, + 'source_address_prefix': {'key': 'sourceAddressPrefix', 'type': 'str'}, + 'destination_address_prefix': {'key': 'destinationAddressPrefix', 'type': 'str'}, + 'source_address_prefixes': {'key': 'sourceAddressPrefixes', 'type': '[str]'}, + 'destination_address_prefixes': {'key': 'destinationAddressPrefixes', 'type': '[str]'}, + 'expanded_source_address_prefix': {'key': 'expandedSourceAddressPrefix', 'type': '[str]'}, + 'expanded_destination_address_prefix': {'key': 'expandedDestinationAddressPrefix', 'type': '[str]'}, + 'access': {'key': 'access', 'type': 'str'}, + 'priority': {'key': 'priority', 'type': 'int'}, + 'direction': {'key': 'direction', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(EffectiveNetworkSecurityRule, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.protocol = kwargs.get('protocol', None) + self.source_port_range = kwargs.get('source_port_range', None) + self.destination_port_range = kwargs.get('destination_port_range', None) + self.source_port_ranges = kwargs.get('source_port_ranges', None) + self.destination_port_ranges = kwargs.get('destination_port_ranges', None) + self.source_address_prefix = kwargs.get('source_address_prefix', None) + self.destination_address_prefix = kwargs.get('destination_address_prefix', None) + self.source_address_prefixes = kwargs.get('source_address_prefixes', None) + self.destination_address_prefixes = kwargs.get('destination_address_prefixes', None) + self.expanded_source_address_prefix = kwargs.get('expanded_source_address_prefix', None) + self.expanded_destination_address_prefix = kwargs.get('expanded_destination_address_prefix', None) + self.access = kwargs.get('access', None) + self.priority = kwargs.get('priority', None) + self.direction = kwargs.get('direction', None) + + +class EffectiveRoute(msrest.serialization.Model): + """Effective Route. + + :param name: The name of the user defined route. This is optional. + :type name: str + :param disable_bgp_route_propagation: If true, on-premises routes are not propagated to the + network interfaces in the subnet. + :type disable_bgp_route_propagation: bool + :param source: Who created the route. Possible values include: "Unknown", "User", + "VirtualNetworkGateway", "Default". + :type source: str or ~azure.mgmt.network.v2021_02_01.models.EffectiveRouteSource + :param state: The value of effective route. Possible values include: "Active", "Invalid". + :type state: str or ~azure.mgmt.network.v2021_02_01.models.EffectiveRouteState + :param address_prefix: The address prefixes of the effective routes in CIDR notation. + :type address_prefix: list[str] + :param next_hop_ip_address: The IP address of the next hop of the effective route. + :type next_hop_ip_address: list[str] + :param next_hop_type: The type of Azure hop the packet should be sent to. Possible values + include: "VirtualNetworkGateway", "VnetLocal", "Internet", "VirtualAppliance", "None". + :type next_hop_type: str or ~azure.mgmt.network.v2021_02_01.models.RouteNextHopType + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'disable_bgp_route_propagation': {'key': 'disableBgpRoutePropagation', 'type': 'bool'}, + 'source': {'key': 'source', 'type': 'str'}, + 'state': {'key': 'state', 'type': 'str'}, + 'address_prefix': {'key': 'addressPrefix', 'type': '[str]'}, + 'next_hop_ip_address': {'key': 'nextHopIpAddress', 'type': '[str]'}, + 'next_hop_type': {'key': 'nextHopType', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(EffectiveRoute, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.disable_bgp_route_propagation = kwargs.get('disable_bgp_route_propagation', None) + self.source = kwargs.get('source', None) + self.state = kwargs.get('state', None) + self.address_prefix = kwargs.get('address_prefix', None) + self.next_hop_ip_address = kwargs.get('next_hop_ip_address', None) + self.next_hop_type = kwargs.get('next_hop_type', None) + + +class EffectiveRouteListResult(msrest.serialization.Model): + """Response for list effective route API service call. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: A list of effective routes. + :type value: list[~azure.mgmt.network.v2021_02_01.models.EffectiveRoute] + :ivar next_link: The URL to get the next set of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[EffectiveRoute]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(EffectiveRouteListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = None + + +class EffectiveRoutesParameters(msrest.serialization.Model): + """The parameters specifying the resource whose effective routes are being requested. + + :param resource_id: The resource whose effective routes are being requested. + :type resource_id: str + :param virtual_wan_resource_type: The type of the specified resource like RouteTable, + ExpressRouteConnection, HubVirtualNetworkConnection, VpnConnection and P2SConnection. + :type virtual_wan_resource_type: str + """ + + _attribute_map = { + 'resource_id': {'key': 'resourceId', 'type': 'str'}, + 'virtual_wan_resource_type': {'key': 'virtualWanResourceType', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(EffectiveRoutesParameters, self).__init__(**kwargs) + self.resource_id = kwargs.get('resource_id', None) + self.virtual_wan_resource_type = kwargs.get('virtual_wan_resource_type', None) + + +class EndpointServiceResult(SubResource): + """Endpoint service. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Name of the endpoint service. + :vartype name: str + :ivar type: Type of the endpoint service. + :vartype type: str + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(EndpointServiceResult, self).__init__(**kwargs) + self.name = None + self.type = None + + +class EndpointServicesListResult(msrest.serialization.Model): + """Response for the ListAvailableEndpointServices API service call. + + :param value: List of available endpoint services in a region. + :type value: list[~azure.mgmt.network.v2021_02_01.models.EndpointServiceResult] + :param next_link: The URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[EndpointServiceResult]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(EndpointServicesListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = kwargs.get('next_link', None) + + +class Error(msrest.serialization.Model): + """Common error representation. + + :param code: Error code. + :type code: str + :param message: Error message. + :type message: str + :param target: Error target. + :type target: str + :param details: Error details. + :type details: list[~azure.mgmt.network.v2021_02_01.models.ErrorDetails] + :param inner_error: Inner error message. + :type inner_error: str + """ + + _attribute_map = { + 'code': {'key': 'code', 'type': 'str'}, + 'message': {'key': 'message', 'type': 'str'}, + 'target': {'key': 'target', 'type': 'str'}, + 'details': {'key': 'details', 'type': '[ErrorDetails]'}, + 'inner_error': {'key': 'innerError', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(Error, self).__init__(**kwargs) + self.code = kwargs.get('code', None) + self.message = kwargs.get('message', None) + self.target = kwargs.get('target', None) + self.details = kwargs.get('details', None) + self.inner_error = kwargs.get('inner_error', None) + + +class ErrorDetails(msrest.serialization.Model): + """Common error details representation. + + :param code: Error code. + :type code: str + :param target: Error target. + :type target: str + :param message: Error message. + :type message: str + """ + + _attribute_map = { + 'code': {'key': 'code', 'type': 'str'}, + 'target': {'key': 'target', 'type': 'str'}, + 'message': {'key': 'message', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ErrorDetails, self).__init__(**kwargs) + self.code = kwargs.get('code', None) + self.target = kwargs.get('target', None) + self.message = kwargs.get('message', None) + + +class ErrorResponse(msrest.serialization.Model): + """The error object. + + :param error: The error details object. + :type error: ~azure.mgmt.network.v2021_02_01.models.ErrorDetails + """ + + _attribute_map = { + 'error': {'key': 'error', 'type': 'ErrorDetails'}, + } + + def __init__( + self, + **kwargs + ): + super(ErrorResponse, self).__init__(**kwargs) + self.error = kwargs.get('error', None) + + +class EvaluatedNetworkSecurityGroup(msrest.serialization.Model): + """Results of network security group evaluation. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param network_security_group_id: Network security group ID. + :type network_security_group_id: str + :param applied_to: Resource ID of nic or subnet to which network security group is applied. + :type applied_to: str + :param matched_rule: Matched network security rule. + :type matched_rule: ~azure.mgmt.network.v2021_02_01.models.MatchedRule + :ivar rules_evaluation_result: List of network security rules evaluation results. + :vartype rules_evaluation_result: + list[~azure.mgmt.network.v2021_02_01.models.NetworkSecurityRulesEvaluationResult] + """ + + _validation = { + 'rules_evaluation_result': {'readonly': True}, + } + + _attribute_map = { + 'network_security_group_id': {'key': 'networkSecurityGroupId', 'type': 'str'}, + 'applied_to': {'key': 'appliedTo', 'type': 'str'}, + 'matched_rule': {'key': 'matchedRule', 'type': 'MatchedRule'}, + 'rules_evaluation_result': {'key': 'rulesEvaluationResult', 'type': '[NetworkSecurityRulesEvaluationResult]'}, + } + + def __init__( + self, + **kwargs + ): + super(EvaluatedNetworkSecurityGroup, self).__init__(**kwargs) + self.network_security_group_id = kwargs.get('network_security_group_id', None) + self.applied_to = kwargs.get('applied_to', None) + self.matched_rule = kwargs.get('matched_rule', None) + self.rules_evaluation_result = None + + +class ExpressRouteCircuit(Resource): + """ExpressRouteCircuit resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :param sku: The SKU. + :type sku: ~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitSku + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param allow_classic_operations: Allow classic operations. + :type allow_classic_operations: bool + :param circuit_provisioning_state: The CircuitProvisioningState state of the resource. + :type circuit_provisioning_state: str + :param service_provider_provisioning_state: The ServiceProviderProvisioningState state of the + resource. Possible values include: "NotProvisioned", "Provisioning", "Provisioned", + "Deprovisioning". + :type service_provider_provisioning_state: str or + ~azure.mgmt.network.v2021_02_01.models.ServiceProviderProvisioningState + :param authorizations: The list of authorizations. + :type authorizations: + list[~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitAuthorization] + :param peerings: The list of peerings. + :type peerings: list[~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitPeering] + :param service_key: The ServiceKey. + :type service_key: str + :param service_provider_notes: The ServiceProviderNotes. + :type service_provider_notes: str + :param service_provider_properties: The ServiceProviderProperties. + :type service_provider_properties: + ~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitServiceProviderProperties + :param express_route_port: The reference to the ExpressRoutePort resource when the circuit is + provisioned on an ExpressRoutePort resource. + :type express_route_port: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param bandwidth_in_gbps: The bandwidth of the circuit when the circuit is provisioned on an + ExpressRoutePort resource. + :type bandwidth_in_gbps: float + :ivar stag: The identifier of the circuit traffic. Outer tag for QinQ encapsulation. + :vartype stag: int + :ivar provisioning_state: The provisioning state of the express route circuit resource. + Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :param gateway_manager_etag: The GatewayManager Etag. + :type gateway_manager_etag: str + :param global_reach_enabled: Flag denoting global reach status. + :type global_reach_enabled: bool + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'stag': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'sku': {'key': 'sku', 'type': 'ExpressRouteCircuitSku'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'allow_classic_operations': {'key': 'properties.allowClassicOperations', 'type': 'bool'}, + 'circuit_provisioning_state': {'key': 'properties.circuitProvisioningState', 'type': 'str'}, + 'service_provider_provisioning_state': {'key': 'properties.serviceProviderProvisioningState', 'type': 'str'}, + 'authorizations': {'key': 'properties.authorizations', 'type': '[ExpressRouteCircuitAuthorization]'}, + 'peerings': {'key': 'properties.peerings', 'type': '[ExpressRouteCircuitPeering]'}, + 'service_key': {'key': 'properties.serviceKey', 'type': 'str'}, + 'service_provider_notes': {'key': 'properties.serviceProviderNotes', 'type': 'str'}, + 'service_provider_properties': {'key': 'properties.serviceProviderProperties', 'type': 'ExpressRouteCircuitServiceProviderProperties'}, + 'express_route_port': {'key': 'properties.expressRoutePort', 'type': 'SubResource'}, + 'bandwidth_in_gbps': {'key': 'properties.bandwidthInGbps', 'type': 'float'}, + 'stag': {'key': 'properties.stag', 'type': 'int'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'gateway_manager_etag': {'key': 'properties.gatewayManagerEtag', 'type': 'str'}, + 'global_reach_enabled': {'key': 'properties.globalReachEnabled', 'type': 'bool'}, + } + + def __init__( + self, + **kwargs + ): + super(ExpressRouteCircuit, self).__init__(**kwargs) + self.sku = kwargs.get('sku', None) + self.etag = None + self.allow_classic_operations = kwargs.get('allow_classic_operations', None) + self.circuit_provisioning_state = kwargs.get('circuit_provisioning_state', None) + self.service_provider_provisioning_state = kwargs.get('service_provider_provisioning_state', None) + self.authorizations = kwargs.get('authorizations', None) + self.peerings = kwargs.get('peerings', None) + self.service_key = kwargs.get('service_key', None) + self.service_provider_notes = kwargs.get('service_provider_notes', None) + self.service_provider_properties = kwargs.get('service_provider_properties', None) + self.express_route_port = kwargs.get('express_route_port', None) + self.bandwidth_in_gbps = kwargs.get('bandwidth_in_gbps', None) + self.stag = None + self.provisioning_state = None + self.gateway_manager_etag = kwargs.get('gateway_manager_etag', None) + self.global_reach_enabled = kwargs.get('global_reach_enabled', None) + + +class ExpressRouteCircuitArpTable(msrest.serialization.Model): + """The ARP table associated with the ExpressRouteCircuit. + + :param age: Entry age in minutes. + :type age: int + :param interface: Interface address. + :type interface: str + :param ip_address: The IP address. + :type ip_address: str + :param mac_address: The MAC address. + :type mac_address: str + """ + + _attribute_map = { + 'age': {'key': 'age', 'type': 'int'}, + 'interface': {'key': 'interface', 'type': 'str'}, + 'ip_address': {'key': 'ipAddress', 'type': 'str'}, + 'mac_address': {'key': 'macAddress', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ExpressRouteCircuitArpTable, self).__init__(**kwargs) + self.age = kwargs.get('age', None) + self.interface = kwargs.get('interface', None) + self.ip_address = kwargs.get('ip_address', None) + self.mac_address = kwargs.get('mac_address', None) + + +class ExpressRouteCircuitAuthorization(SubResource): + """Authorization in an ExpressRouteCircuit resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: The name of the resource that is unique within a resource group. This name can be + used to access the resource. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str + :param authorization_key: The authorization key. + :type authorization_key: str + :param authorization_use_status: The authorization use status. Possible values include: + "Available", "InUse". + :type authorization_use_status: str or + ~azure.mgmt.network.v2021_02_01.models.AuthorizationUseStatus + :ivar provisioning_state: The provisioning state of the authorization resource. Possible values + include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'authorization_key': {'key': 'properties.authorizationKey', 'type': 'str'}, + 'authorization_use_status': {'key': 'properties.authorizationUseStatus', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ExpressRouteCircuitAuthorization, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.etag = None + self.type = None + self.authorization_key = kwargs.get('authorization_key', None) + self.authorization_use_status = kwargs.get('authorization_use_status', None) + self.provisioning_state = None + + +class ExpressRouteCircuitConnection(SubResource): + """Express Route Circuit Connection in an ExpressRouteCircuitPeering resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: The name of the resource that is unique within a resource group. This name can be + used to access the resource. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str + :param express_route_circuit_peering: Reference to Express Route Circuit Private Peering + Resource of the circuit initiating connection. + :type express_route_circuit_peering: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param peer_express_route_circuit_peering: Reference to Express Route Circuit Private Peering + Resource of the peered circuit. + :type peer_express_route_circuit_peering: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param address_prefix: /29 IP address space to carve out Customer addresses for tunnels. + :type address_prefix: str + :param authorization_key: The authorization key. + :type authorization_key: str + :param ipv6_circuit_connection_config: IPv6 Address PrefixProperties of the express route + circuit connection. + :type ipv6_circuit_connection_config: + ~azure.mgmt.network.v2021_02_01.models.Ipv6CircuitConnectionConfig + :ivar circuit_connection_status: Express Route Circuit connection state. Possible values + include: "Connected", "Connecting", "Disconnected". + :vartype circuit_connection_status: str or + ~azure.mgmt.network.v2021_02_01.models.CircuitConnectionStatus + :ivar provisioning_state: The provisioning state of the express route circuit connection + resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'circuit_connection_status': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'express_route_circuit_peering': {'key': 'properties.expressRouteCircuitPeering', 'type': 'SubResource'}, + 'peer_express_route_circuit_peering': {'key': 'properties.peerExpressRouteCircuitPeering', 'type': 'SubResource'}, + 'address_prefix': {'key': 'properties.addressPrefix', 'type': 'str'}, + 'authorization_key': {'key': 'properties.authorizationKey', 'type': 'str'}, + 'ipv6_circuit_connection_config': {'key': 'properties.ipv6CircuitConnectionConfig', 'type': 'Ipv6CircuitConnectionConfig'}, + 'circuit_connection_status': {'key': 'properties.circuitConnectionStatus', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ExpressRouteCircuitConnection, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.etag = None + self.type = None + self.express_route_circuit_peering = kwargs.get('express_route_circuit_peering', None) + self.peer_express_route_circuit_peering = kwargs.get('peer_express_route_circuit_peering', None) + self.address_prefix = kwargs.get('address_prefix', None) + self.authorization_key = kwargs.get('authorization_key', None) + self.ipv6_circuit_connection_config = kwargs.get('ipv6_circuit_connection_config', None) + self.circuit_connection_status = None + self.provisioning_state = None + + +class ExpressRouteCircuitConnectionListResult(msrest.serialization.Model): + """Response for ListConnections API service call retrieves all global reach connections that belongs to a Private Peering for an ExpressRouteCircuit. + + :param value: The global reach connection associated with Private Peering in an ExpressRoute + Circuit. + :type value: list[~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitConnection] + :param next_link: The URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[ExpressRouteCircuitConnection]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ExpressRouteCircuitConnectionListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = kwargs.get('next_link', None) + + +class ExpressRouteCircuitListResult(msrest.serialization.Model): + """Response for ListExpressRouteCircuit API service call. + + :param value: A list of ExpressRouteCircuits in a resource group. + :type value: list[~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuit] + :param next_link: The URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[ExpressRouteCircuit]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ExpressRouteCircuitListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = kwargs.get('next_link', None) + + +class ExpressRouteCircuitPeering(SubResource): + """Peering in an ExpressRouteCircuit resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: The name of the resource that is unique within a resource group. This name can be + used to access the resource. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str + :param peering_type: The peering type. Possible values include: "AzurePublicPeering", + "AzurePrivatePeering", "MicrosoftPeering". + :type peering_type: str or ~azure.mgmt.network.v2021_02_01.models.ExpressRoutePeeringType + :param state: The peering state. Possible values include: "Disabled", "Enabled". + :type state: str or ~azure.mgmt.network.v2021_02_01.models.ExpressRoutePeeringState + :param azure_asn: The Azure ASN. + :type azure_asn: int + :param peer_asn: The peer ASN. + :type peer_asn: long + :param primary_peer_address_prefix: The primary address prefix. + :type primary_peer_address_prefix: str + :param secondary_peer_address_prefix: The secondary address prefix. + :type secondary_peer_address_prefix: str + :param primary_azure_port: The primary port. + :type primary_azure_port: str + :param secondary_azure_port: The secondary port. + :type secondary_azure_port: str + :param shared_key: The shared key. + :type shared_key: str + :param vlan_id: The VLAN ID. + :type vlan_id: int + :param microsoft_peering_config: The Microsoft peering configuration. + :type microsoft_peering_config: + ~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitPeeringConfig + :param stats: The peering stats of express route circuit. + :type stats: ~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitStats + :ivar provisioning_state: The provisioning state of the express route circuit peering resource. + Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :param gateway_manager_etag: The GatewayManager Etag. + :type gateway_manager_etag: str + :ivar last_modified_by: Who was the last to modify the peering. + :vartype last_modified_by: str + :param route_filter: The reference to the RouteFilter resource. + :type route_filter: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param ipv6_peering_config: The IPv6 peering configuration. + :type ipv6_peering_config: + ~azure.mgmt.network.v2021_02_01.models.Ipv6ExpressRouteCircuitPeeringConfig + :param express_route_connection: The ExpressRoute connection. + :type express_route_connection: ~azure.mgmt.network.v2021_02_01.models.ExpressRouteConnectionId + :param connections: The list of circuit connections associated with Azure Private Peering for + this circuit. + :type connections: list[~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitConnection] + :ivar peered_connections: The list of peered circuit connections associated with Azure Private + Peering for this circuit. + :vartype peered_connections: + list[~azure.mgmt.network.v2021_02_01.models.PeerExpressRouteCircuitConnection] + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'peer_asn': {'maximum': 4294967295, 'minimum': 1}, + 'provisioning_state': {'readonly': True}, + 'last_modified_by': {'readonly': True}, + 'peered_connections': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'peering_type': {'key': 'properties.peeringType', 'type': 'str'}, + 'state': {'key': 'properties.state', 'type': 'str'}, + 'azure_asn': {'key': 'properties.azureASN', 'type': 'int'}, + 'peer_asn': {'key': 'properties.peerASN', 'type': 'long'}, + 'primary_peer_address_prefix': {'key': 'properties.primaryPeerAddressPrefix', 'type': 'str'}, + 'secondary_peer_address_prefix': {'key': 'properties.secondaryPeerAddressPrefix', 'type': 'str'}, + 'primary_azure_port': {'key': 'properties.primaryAzurePort', 'type': 'str'}, + 'secondary_azure_port': {'key': 'properties.secondaryAzurePort', 'type': 'str'}, + 'shared_key': {'key': 'properties.sharedKey', 'type': 'str'}, + 'vlan_id': {'key': 'properties.vlanId', 'type': 'int'}, + 'microsoft_peering_config': {'key': 'properties.microsoftPeeringConfig', 'type': 'ExpressRouteCircuitPeeringConfig'}, + 'stats': {'key': 'properties.stats', 'type': 'ExpressRouteCircuitStats'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'gateway_manager_etag': {'key': 'properties.gatewayManagerEtag', 'type': 'str'}, + 'last_modified_by': {'key': 'properties.lastModifiedBy', 'type': 'str'}, + 'route_filter': {'key': 'properties.routeFilter', 'type': 'SubResource'}, + 'ipv6_peering_config': {'key': 'properties.ipv6PeeringConfig', 'type': 'Ipv6ExpressRouteCircuitPeeringConfig'}, + 'express_route_connection': {'key': 'properties.expressRouteConnection', 'type': 'ExpressRouteConnectionId'}, + 'connections': {'key': 'properties.connections', 'type': '[ExpressRouteCircuitConnection]'}, + 'peered_connections': {'key': 'properties.peeredConnections', 'type': '[PeerExpressRouteCircuitConnection]'}, + } + + def __init__( + self, + **kwargs + ): + super(ExpressRouteCircuitPeering, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.etag = None + self.type = None + self.peering_type = kwargs.get('peering_type', None) + self.state = kwargs.get('state', None) + self.azure_asn = kwargs.get('azure_asn', None) + self.peer_asn = kwargs.get('peer_asn', None) + self.primary_peer_address_prefix = kwargs.get('primary_peer_address_prefix', None) + self.secondary_peer_address_prefix = kwargs.get('secondary_peer_address_prefix', None) + self.primary_azure_port = kwargs.get('primary_azure_port', None) + self.secondary_azure_port = kwargs.get('secondary_azure_port', None) + self.shared_key = kwargs.get('shared_key', None) + self.vlan_id = kwargs.get('vlan_id', None) + self.microsoft_peering_config = kwargs.get('microsoft_peering_config', None) + self.stats = kwargs.get('stats', None) + self.provisioning_state = None + self.gateway_manager_etag = kwargs.get('gateway_manager_etag', None) + self.last_modified_by = None + self.route_filter = kwargs.get('route_filter', None) + self.ipv6_peering_config = kwargs.get('ipv6_peering_config', None) + self.express_route_connection = kwargs.get('express_route_connection', None) + self.connections = kwargs.get('connections', None) + self.peered_connections = None + + +class ExpressRouteCircuitPeeringConfig(msrest.serialization.Model): + """Specifies the peering configuration. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param advertised_public_prefixes: The reference to AdvertisedPublicPrefixes. + :type advertised_public_prefixes: list[str] + :param advertised_communities: The communities of bgp peering. Specified for microsoft peering. + :type advertised_communities: list[str] + :ivar advertised_public_prefixes_state: The advertised public prefix state of the Peering + resource. Possible values include: "NotConfigured", "Configuring", "Configured", + "ValidationNeeded". + :vartype advertised_public_prefixes_state: str or + ~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + :param legacy_mode: The legacy mode of the peering. + :type legacy_mode: int + :param customer_asn: The CustomerASN of the peering. + :type customer_asn: int + :param routing_registry_name: The RoutingRegistryName of the configuration. + :type routing_registry_name: str + """ + + _validation = { + 'advertised_public_prefixes_state': {'readonly': True}, + } + + _attribute_map = { + 'advertised_public_prefixes': {'key': 'advertisedPublicPrefixes', 'type': '[str]'}, + 'advertised_communities': {'key': 'advertisedCommunities', 'type': '[str]'}, + 'advertised_public_prefixes_state': {'key': 'advertisedPublicPrefixesState', 'type': 'str'}, + 'legacy_mode': {'key': 'legacyMode', 'type': 'int'}, + 'customer_asn': {'key': 'customerASN', 'type': 'int'}, + 'routing_registry_name': {'key': 'routingRegistryName', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ExpressRouteCircuitPeeringConfig, self).__init__(**kwargs) + self.advertised_public_prefixes = kwargs.get('advertised_public_prefixes', None) + self.advertised_communities = kwargs.get('advertised_communities', None) + self.advertised_public_prefixes_state = None + self.legacy_mode = kwargs.get('legacy_mode', None) + self.customer_asn = kwargs.get('customer_asn', None) + self.routing_registry_name = kwargs.get('routing_registry_name', None) + + +class ExpressRouteCircuitPeeringId(msrest.serialization.Model): + """ExpressRoute circuit peering identifier. + + :param id: The ID of the ExpressRoute circuit peering. + :type id: str + """ + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ExpressRouteCircuitPeeringId, self).__init__(**kwargs) + self.id = kwargs.get('id', None) + + +class ExpressRouteCircuitPeeringListResult(msrest.serialization.Model): + """Response for ListPeering API service call retrieves all peerings that belong to an ExpressRouteCircuit. + + :param value: The peerings in an express route circuit. + :type value: list[~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitPeering] + :param next_link: The URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[ExpressRouteCircuitPeering]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ExpressRouteCircuitPeeringListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = kwargs.get('next_link', None) + + +class ExpressRouteCircuitReference(msrest.serialization.Model): + """Reference to an express route circuit. + + :param id: Corresponding Express Route Circuit Id. + :type id: str + """ + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ExpressRouteCircuitReference, self).__init__(**kwargs) + self.id = kwargs.get('id', None) + + +class ExpressRouteCircuitRoutesTable(msrest.serialization.Model): + """The routes table associated with the ExpressRouteCircuit. + + :param network: IP address of a network entity. + :type network: str + :param next_hop: NextHop address. + :type next_hop: str + :param loc_prf: Local preference value as set with the set local-preference route-map + configuration command. + :type loc_prf: str + :param weight: Route Weight. + :type weight: int + :param path: Autonomous system paths to the destination network. + :type path: str + """ + + _attribute_map = { + 'network': {'key': 'network', 'type': 'str'}, + 'next_hop': {'key': 'nextHop', 'type': 'str'}, + 'loc_prf': {'key': 'locPrf', 'type': 'str'}, + 'weight': {'key': 'weight', 'type': 'int'}, + 'path': {'key': 'path', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ExpressRouteCircuitRoutesTable, self).__init__(**kwargs) + self.network = kwargs.get('network', None) + self.next_hop = kwargs.get('next_hop', None) + self.loc_prf = kwargs.get('loc_prf', None) + self.weight = kwargs.get('weight', None) + self.path = kwargs.get('path', None) + + +class ExpressRouteCircuitRoutesTableSummary(msrest.serialization.Model): + """The routes table associated with the ExpressRouteCircuit. + + :param neighbor: IP address of the neighbor. + :type neighbor: str + :param v: BGP version number spoken to the neighbor. + :type v: int + :param as_property: Autonomous system number. + :type as_property: int + :param up_down: The length of time that the BGP session has been in the Established state, or + the current status if not in the Established state. + :type up_down: str + :param state_pfx_rcd: Current state of the BGP session, and the number of prefixes that have + been received from a neighbor or peer group. + :type state_pfx_rcd: str + """ + + _attribute_map = { + 'neighbor': {'key': 'neighbor', 'type': 'str'}, + 'v': {'key': 'v', 'type': 'int'}, + 'as_property': {'key': 'as', 'type': 'int'}, + 'up_down': {'key': 'upDown', 'type': 'str'}, + 'state_pfx_rcd': {'key': 'statePfxRcd', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ExpressRouteCircuitRoutesTableSummary, self).__init__(**kwargs) + self.neighbor = kwargs.get('neighbor', None) + self.v = kwargs.get('v', None) + self.as_property = kwargs.get('as_property', None) + self.up_down = kwargs.get('up_down', None) + self.state_pfx_rcd = kwargs.get('state_pfx_rcd', None) + + +class ExpressRouteCircuitsArpTableListResult(msrest.serialization.Model): + """Response for ListArpTable associated with the Express Route Circuits API. + + :param value: A list of the ARP tables. + :type value: list[~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitArpTable] + :param next_link: The URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[ExpressRouteCircuitArpTable]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ExpressRouteCircuitsArpTableListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = kwargs.get('next_link', None) + + +class ExpressRouteCircuitServiceProviderProperties(msrest.serialization.Model): + """Contains ServiceProviderProperties in an ExpressRouteCircuit. + + :param service_provider_name: The serviceProviderName. + :type service_provider_name: str + :param peering_location: The peering location. + :type peering_location: str + :param bandwidth_in_mbps: The BandwidthInMbps. + :type bandwidth_in_mbps: int + """ + + _attribute_map = { + 'service_provider_name': {'key': 'serviceProviderName', 'type': 'str'}, + 'peering_location': {'key': 'peeringLocation', 'type': 'str'}, + 'bandwidth_in_mbps': {'key': 'bandwidthInMbps', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(ExpressRouteCircuitServiceProviderProperties, self).__init__(**kwargs) + self.service_provider_name = kwargs.get('service_provider_name', None) + self.peering_location = kwargs.get('peering_location', None) + self.bandwidth_in_mbps = kwargs.get('bandwidth_in_mbps', None) + + +class ExpressRouteCircuitSku(msrest.serialization.Model): + """Contains SKU in an ExpressRouteCircuit. + + :param name: The name of the SKU. + :type name: str + :param tier: The tier of the SKU. Possible values include: "Standard", "Premium", "Basic", + "Local". + :type tier: str or ~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitSkuTier + :param family: The family of the SKU. Possible values include: "UnlimitedData", "MeteredData". + :type family: str or ~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitSkuFamily + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'tier': {'key': 'tier', 'type': 'str'}, + 'family': {'key': 'family', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ExpressRouteCircuitSku, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.tier = kwargs.get('tier', None) + self.family = kwargs.get('family', None) + + +class ExpressRouteCircuitsRoutesTableListResult(msrest.serialization.Model): + """Response for ListRoutesTable associated with the Express Route Circuits API. + + :param value: The list of routes table. + :type value: list[~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitRoutesTable] + :param next_link: The URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[ExpressRouteCircuitRoutesTable]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ExpressRouteCircuitsRoutesTableListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = kwargs.get('next_link', None) + + +class ExpressRouteCircuitsRoutesTableSummaryListResult(msrest.serialization.Model): + """Response for ListRoutesTable associated with the Express Route Circuits API. + + :param value: A list of the routes table. + :type value: list[~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitRoutesTableSummary] + :param next_link: The URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[ExpressRouteCircuitRoutesTableSummary]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ExpressRouteCircuitsRoutesTableSummaryListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = kwargs.get('next_link', None) + + +class ExpressRouteCircuitStats(msrest.serialization.Model): + """Contains stats associated with the peering. + + :param primarybytes_in: The Primary BytesIn of the peering. + :type primarybytes_in: long + :param primarybytes_out: The primary BytesOut of the peering. + :type primarybytes_out: long + :param secondarybytes_in: The secondary BytesIn of the peering. + :type secondarybytes_in: long + :param secondarybytes_out: The secondary BytesOut of the peering. + :type secondarybytes_out: long + """ + + _attribute_map = { + 'primarybytes_in': {'key': 'primarybytesIn', 'type': 'long'}, + 'primarybytes_out': {'key': 'primarybytesOut', 'type': 'long'}, + 'secondarybytes_in': {'key': 'secondarybytesIn', 'type': 'long'}, + 'secondarybytes_out': {'key': 'secondarybytesOut', 'type': 'long'}, + } + + def __init__( + self, + **kwargs + ): + super(ExpressRouteCircuitStats, self).__init__(**kwargs) + self.primarybytes_in = kwargs.get('primarybytes_in', None) + self.primarybytes_out = kwargs.get('primarybytes_out', None) + self.secondarybytes_in = kwargs.get('secondarybytes_in', None) + self.secondarybytes_out = kwargs.get('secondarybytes_out', None) + + +class ExpressRouteConnection(SubResource): + """ExpressRouteConnection resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param id: Resource ID. + :type id: str + :param name: Required. The name of the resource. + :type name: str + :ivar provisioning_state: The provisioning state of the express route connection resource. + Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :param express_route_circuit_peering: The ExpressRoute circuit peering. + :type express_route_circuit_peering: + ~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitPeeringId + :param authorization_key: Authorization key to establish the connection. + :type authorization_key: str + :param routing_weight: The routing weight associated to the connection. + :type routing_weight: int + :param enable_internet_security: Enable internet security. + :type enable_internet_security: bool + :param express_route_gateway_bypass: Enable FastPath to vWan Firewall hub. + :type express_route_gateway_bypass: bool + :param routing_configuration: The Routing Configuration indicating the associated and + propagated route tables on this connection. + :type routing_configuration: ~azure.mgmt.network.v2021_02_01.models.RoutingConfiguration + """ + + _validation = { + 'name': {'required': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'express_route_circuit_peering': {'key': 'properties.expressRouteCircuitPeering', 'type': 'ExpressRouteCircuitPeeringId'}, + 'authorization_key': {'key': 'properties.authorizationKey', 'type': 'str'}, + 'routing_weight': {'key': 'properties.routingWeight', 'type': 'int'}, + 'enable_internet_security': {'key': 'properties.enableInternetSecurity', 'type': 'bool'}, + 'express_route_gateway_bypass': {'key': 'properties.expressRouteGatewayBypass', 'type': 'bool'}, + 'routing_configuration': {'key': 'properties.routingConfiguration', 'type': 'RoutingConfiguration'}, + } + + def __init__( + self, + **kwargs + ): + super(ExpressRouteConnection, self).__init__(**kwargs) + self.name = kwargs['name'] + self.provisioning_state = None + self.express_route_circuit_peering = kwargs.get('express_route_circuit_peering', None) + self.authorization_key = kwargs.get('authorization_key', None) + self.routing_weight = kwargs.get('routing_weight', None) + self.enable_internet_security = kwargs.get('enable_internet_security', None) + self.express_route_gateway_bypass = kwargs.get('express_route_gateway_bypass', None) + self.routing_configuration = kwargs.get('routing_configuration', None) + + +class ExpressRouteConnectionId(msrest.serialization.Model): + """The ID of the ExpressRouteConnection. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: The ID of the ExpressRouteConnection. + :vartype id: str + """ + + _validation = { + 'id': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ExpressRouteConnectionId, self).__init__(**kwargs) + self.id = None + + +class ExpressRouteConnectionList(msrest.serialization.Model): + """ExpressRouteConnection list. + + :param value: The list of ExpressRoute connections. + :type value: list[~azure.mgmt.network.v2021_02_01.models.ExpressRouteConnection] + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[ExpressRouteConnection]'}, + } + + def __init__( + self, + **kwargs + ): + super(ExpressRouteConnectionList, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + + +class ExpressRouteCrossConnection(Resource): + """ExpressRouteCrossConnection resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar primary_azure_port: The name of the primary port. + :vartype primary_azure_port: str + :ivar secondary_azure_port: The name of the secondary port. + :vartype secondary_azure_port: str + :ivar s_tag: The identifier of the circuit traffic. + :vartype s_tag: int + :ivar peering_location: The peering location of the ExpressRoute circuit. + :vartype peering_location: str + :ivar bandwidth_in_mbps: The circuit bandwidth In Mbps. + :vartype bandwidth_in_mbps: int + :param express_route_circuit: The ExpressRouteCircuit. + :type express_route_circuit: + ~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitReference + :param service_provider_provisioning_state: The provisioning state of the circuit in the + connectivity provider system. Possible values include: "NotProvisioned", "Provisioning", + "Provisioned", "Deprovisioning". + :type service_provider_provisioning_state: str or + ~azure.mgmt.network.v2021_02_01.models.ServiceProviderProvisioningState + :param service_provider_notes: Additional read only notes set by the connectivity provider. + :type service_provider_notes: str + :ivar provisioning_state: The provisioning state of the express route cross connection + resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :param peerings: The list of peerings. + :type peerings: list[~azure.mgmt.network.v2021_02_01.models.ExpressRouteCrossConnectionPeering] + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'primary_azure_port': {'readonly': True}, + 'secondary_azure_port': {'readonly': True}, + 's_tag': {'readonly': True}, + 'peering_location': {'readonly': True}, + 'bandwidth_in_mbps': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'primary_azure_port': {'key': 'properties.primaryAzurePort', 'type': 'str'}, + 'secondary_azure_port': {'key': 'properties.secondaryAzurePort', 'type': 'str'}, + 's_tag': {'key': 'properties.sTag', 'type': 'int'}, + 'peering_location': {'key': 'properties.peeringLocation', 'type': 'str'}, + 'bandwidth_in_mbps': {'key': 'properties.bandwidthInMbps', 'type': 'int'}, + 'express_route_circuit': {'key': 'properties.expressRouteCircuit', 'type': 'ExpressRouteCircuitReference'}, + 'service_provider_provisioning_state': {'key': 'properties.serviceProviderProvisioningState', 'type': 'str'}, + 'service_provider_notes': {'key': 'properties.serviceProviderNotes', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'peerings': {'key': 'properties.peerings', 'type': '[ExpressRouteCrossConnectionPeering]'}, + } + + def __init__( + self, + **kwargs + ): + super(ExpressRouteCrossConnection, self).__init__(**kwargs) + self.etag = None + self.primary_azure_port = None + self.secondary_azure_port = None + self.s_tag = None + self.peering_location = None + self.bandwidth_in_mbps = None + self.express_route_circuit = kwargs.get('express_route_circuit', None) + self.service_provider_provisioning_state = kwargs.get('service_provider_provisioning_state', None) + self.service_provider_notes = kwargs.get('service_provider_notes', None) + self.provisioning_state = None + self.peerings = kwargs.get('peerings', None) + + +class ExpressRouteCrossConnectionListResult(msrest.serialization.Model): + """Response for ListExpressRouteCrossConnection API service call. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: A list of ExpressRouteCrossConnection resources. + :type value: list[~azure.mgmt.network.v2021_02_01.models.ExpressRouteCrossConnection] + :ivar next_link: The URL to get the next set of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[ExpressRouteCrossConnection]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ExpressRouteCrossConnectionListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = None + + +class ExpressRouteCrossConnectionPeering(SubResource): + """Peering in an ExpressRoute Cross Connection resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: The name of the resource that is unique within a resource group. This name can be + used to access the resource. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param peering_type: The peering type. Possible values include: "AzurePublicPeering", + "AzurePrivatePeering", "MicrosoftPeering". + :type peering_type: str or ~azure.mgmt.network.v2021_02_01.models.ExpressRoutePeeringType + :param state: The peering state. Possible values include: "Disabled", "Enabled". + :type state: str or ~azure.mgmt.network.v2021_02_01.models.ExpressRoutePeeringState + :ivar azure_asn: The Azure ASN. + :vartype azure_asn: int + :param peer_asn: The peer ASN. + :type peer_asn: long + :param primary_peer_address_prefix: The primary address prefix. + :type primary_peer_address_prefix: str + :param secondary_peer_address_prefix: The secondary address prefix. + :type secondary_peer_address_prefix: str + :ivar primary_azure_port: The primary port. + :vartype primary_azure_port: str + :ivar secondary_azure_port: The secondary port. + :vartype secondary_azure_port: str + :param shared_key: The shared key. + :type shared_key: str + :param vlan_id: The VLAN ID. + :type vlan_id: int + :param microsoft_peering_config: The Microsoft peering configuration. + :type microsoft_peering_config: + ~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitPeeringConfig + :ivar provisioning_state: The provisioning state of the express route cross connection peering + resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :param gateway_manager_etag: The GatewayManager Etag. + :type gateway_manager_etag: str + :ivar last_modified_by: Who was the last to modify the peering. + :vartype last_modified_by: str + :param ipv6_peering_config: The IPv6 peering configuration. + :type ipv6_peering_config: + ~azure.mgmt.network.v2021_02_01.models.Ipv6ExpressRouteCircuitPeeringConfig + """ + + _validation = { + 'etag': {'readonly': True}, + 'azure_asn': {'readonly': True}, + 'peer_asn': {'maximum': 4294967295, 'minimum': 1}, + 'primary_azure_port': {'readonly': True}, + 'secondary_azure_port': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'last_modified_by': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'peering_type': {'key': 'properties.peeringType', 'type': 'str'}, + 'state': {'key': 'properties.state', 'type': 'str'}, + 'azure_asn': {'key': 'properties.azureASN', 'type': 'int'}, + 'peer_asn': {'key': 'properties.peerASN', 'type': 'long'}, + 'primary_peer_address_prefix': {'key': 'properties.primaryPeerAddressPrefix', 'type': 'str'}, + 'secondary_peer_address_prefix': {'key': 'properties.secondaryPeerAddressPrefix', 'type': 'str'}, + 'primary_azure_port': {'key': 'properties.primaryAzurePort', 'type': 'str'}, + 'secondary_azure_port': {'key': 'properties.secondaryAzurePort', 'type': 'str'}, + 'shared_key': {'key': 'properties.sharedKey', 'type': 'str'}, + 'vlan_id': {'key': 'properties.vlanId', 'type': 'int'}, + 'microsoft_peering_config': {'key': 'properties.microsoftPeeringConfig', 'type': 'ExpressRouteCircuitPeeringConfig'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'gateway_manager_etag': {'key': 'properties.gatewayManagerEtag', 'type': 'str'}, + 'last_modified_by': {'key': 'properties.lastModifiedBy', 'type': 'str'}, + 'ipv6_peering_config': {'key': 'properties.ipv6PeeringConfig', 'type': 'Ipv6ExpressRouteCircuitPeeringConfig'}, + } + + def __init__( + self, + **kwargs + ): + super(ExpressRouteCrossConnectionPeering, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.etag = None + self.peering_type = kwargs.get('peering_type', None) + self.state = kwargs.get('state', None) + self.azure_asn = None + self.peer_asn = kwargs.get('peer_asn', None) + self.primary_peer_address_prefix = kwargs.get('primary_peer_address_prefix', None) + self.secondary_peer_address_prefix = kwargs.get('secondary_peer_address_prefix', None) + self.primary_azure_port = None + self.secondary_azure_port = None + self.shared_key = kwargs.get('shared_key', None) + self.vlan_id = kwargs.get('vlan_id', None) + self.microsoft_peering_config = kwargs.get('microsoft_peering_config', None) + self.provisioning_state = None + self.gateway_manager_etag = kwargs.get('gateway_manager_etag', None) + self.last_modified_by = None + self.ipv6_peering_config = kwargs.get('ipv6_peering_config', None) + + +class ExpressRouteCrossConnectionPeeringList(msrest.serialization.Model): + """Response for ListPeering API service call retrieves all peerings that belong to an ExpressRouteCrossConnection. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: The peerings in an express route cross connection. + :type value: list[~azure.mgmt.network.v2021_02_01.models.ExpressRouteCrossConnectionPeering] + :ivar next_link: The URL to get the next set of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[ExpressRouteCrossConnectionPeering]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ExpressRouteCrossConnectionPeeringList, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = None + + +class ExpressRouteCrossConnectionRoutesTableSummary(msrest.serialization.Model): + """The routes table associated with the ExpressRouteCircuit. + + :param neighbor: IP address of Neighbor router. + :type neighbor: str + :param asn: Autonomous system number. + :type asn: int + :param up_down: The length of time that the BGP session has been in the Established state, or + the current status if not in the Established state. + :type up_down: str + :param state_or_prefixes_received: Current state of the BGP session, and the number of prefixes + that have been received from a neighbor or peer group. + :type state_or_prefixes_received: str + """ + + _attribute_map = { + 'neighbor': {'key': 'neighbor', 'type': 'str'}, + 'asn': {'key': 'asn', 'type': 'int'}, + 'up_down': {'key': 'upDown', 'type': 'str'}, + 'state_or_prefixes_received': {'key': 'stateOrPrefixesReceived', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ExpressRouteCrossConnectionRoutesTableSummary, self).__init__(**kwargs) + self.neighbor = kwargs.get('neighbor', None) + self.asn = kwargs.get('asn', None) + self.up_down = kwargs.get('up_down', None) + self.state_or_prefixes_received = kwargs.get('state_or_prefixes_received', None) + + +class ExpressRouteCrossConnectionsRoutesTableSummaryListResult(msrest.serialization.Model): + """Response for ListRoutesTable associated with the Express Route Cross Connections. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: A list of the routes table. + :type value: + list[~azure.mgmt.network.v2021_02_01.models.ExpressRouteCrossConnectionRoutesTableSummary] + :ivar next_link: The URL to get the next set of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[ExpressRouteCrossConnectionRoutesTableSummary]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ExpressRouteCrossConnectionsRoutesTableSummaryListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = None + + +class ExpressRouteGateway(Resource): + """ExpressRoute gateway resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param auto_scale_configuration: Configuration for auto scaling. + :type auto_scale_configuration: + ~azure.mgmt.network.v2021_02_01.models.ExpressRouteGatewayPropertiesAutoScaleConfiguration + :ivar express_route_connections: List of ExpressRoute connections to the ExpressRoute gateway. + :vartype express_route_connections: + list[~azure.mgmt.network.v2021_02_01.models.ExpressRouteConnection] + :ivar provisioning_state: The provisioning state of the express route gateway resource. + Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :param virtual_hub: The Virtual Hub where the ExpressRoute gateway is or will be deployed. + :type virtual_hub: ~azure.mgmt.network.v2021_02_01.models.VirtualHubId + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'express_route_connections': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'auto_scale_configuration': {'key': 'properties.autoScaleConfiguration', 'type': 'ExpressRouteGatewayPropertiesAutoScaleConfiguration'}, + 'express_route_connections': {'key': 'properties.expressRouteConnections', 'type': '[ExpressRouteConnection]'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'virtual_hub': {'key': 'properties.virtualHub', 'type': 'VirtualHubId'}, + } + + def __init__( + self, + **kwargs + ): + super(ExpressRouteGateway, self).__init__(**kwargs) + self.etag = None + self.auto_scale_configuration = kwargs.get('auto_scale_configuration', None) + self.express_route_connections = None + self.provisioning_state = None + self.virtual_hub = kwargs.get('virtual_hub', None) + + +class ExpressRouteGatewayList(msrest.serialization.Model): + """List of ExpressRoute gateways. + + :param value: List of ExpressRoute gateways. + :type value: list[~azure.mgmt.network.v2021_02_01.models.ExpressRouteGateway] + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[ExpressRouteGateway]'}, + } + + def __init__( + self, + **kwargs + ): + super(ExpressRouteGatewayList, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + + +class ExpressRouteGatewayPropertiesAutoScaleConfiguration(msrest.serialization.Model): + """Configuration for auto scaling. + + :param bounds: Minimum and maximum number of scale units to deploy. + :type bounds: + ~azure.mgmt.network.v2021_02_01.models.ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds + """ + + _attribute_map = { + 'bounds': {'key': 'bounds', 'type': 'ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds'}, + } + + def __init__( + self, + **kwargs + ): + super(ExpressRouteGatewayPropertiesAutoScaleConfiguration, self).__init__(**kwargs) + self.bounds = kwargs.get('bounds', None) + + +class ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds(msrest.serialization.Model): + """Minimum and maximum number of scale units to deploy. + + :param min: Minimum number of scale units deployed for ExpressRoute gateway. + :type min: int + :param max: Maximum number of scale units deployed for ExpressRoute gateway. + :type max: int + """ + + _attribute_map = { + 'min': {'key': 'min', 'type': 'int'}, + 'max': {'key': 'max', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds, self).__init__(**kwargs) + self.min = kwargs.get('min', None) + self.max = kwargs.get('max', None) + + +class ExpressRouteLink(SubResource): + """ExpressRouteLink child resource definition. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: Name of child port resource that is unique among child port resources of the + parent. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar router_name: Name of Azure router associated with physical port. + :vartype router_name: str + :ivar interface_name: Name of Azure router interface. + :vartype interface_name: str + :ivar patch_panel_id: Mapping between physical port to patch panel port. + :vartype patch_panel_id: str + :ivar rack_id: Mapping of physical patch panel to rack. + :vartype rack_id: str + :ivar connector_type: Physical fiber port type. Possible values include: "LC", "SC". + :vartype connector_type: str or + ~azure.mgmt.network.v2021_02_01.models.ExpressRouteLinkConnectorType + :param admin_state: Administrative state of the physical port. Possible values include: + "Enabled", "Disabled". + :type admin_state: str or ~azure.mgmt.network.v2021_02_01.models.ExpressRouteLinkAdminState + :ivar provisioning_state: The provisioning state of the express route link resource. Possible + values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :param mac_sec_config: MacSec configuration. + :type mac_sec_config: ~azure.mgmt.network.v2021_02_01.models.ExpressRouteLinkMacSecConfig + """ + + _validation = { + 'etag': {'readonly': True}, + 'router_name': {'readonly': True}, + 'interface_name': {'readonly': True}, + 'patch_panel_id': {'readonly': True}, + 'rack_id': {'readonly': True}, + 'connector_type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'router_name': {'key': 'properties.routerName', 'type': 'str'}, + 'interface_name': {'key': 'properties.interfaceName', 'type': 'str'}, + 'patch_panel_id': {'key': 'properties.patchPanelId', 'type': 'str'}, + 'rack_id': {'key': 'properties.rackId', 'type': 'str'}, + 'connector_type': {'key': 'properties.connectorType', 'type': 'str'}, + 'admin_state': {'key': 'properties.adminState', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'mac_sec_config': {'key': 'properties.macSecConfig', 'type': 'ExpressRouteLinkMacSecConfig'}, + } + + def __init__( + self, + **kwargs + ): + super(ExpressRouteLink, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.etag = None + self.router_name = None + self.interface_name = None + self.patch_panel_id = None + self.rack_id = None + self.connector_type = None + self.admin_state = kwargs.get('admin_state', None) + self.provisioning_state = None + self.mac_sec_config = kwargs.get('mac_sec_config', None) + + +class ExpressRouteLinkListResult(msrest.serialization.Model): + """Response for ListExpressRouteLinks API service call. + + :param value: The list of ExpressRouteLink sub-resources. + :type value: list[~azure.mgmt.network.v2021_02_01.models.ExpressRouteLink] + :param next_link: The URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[ExpressRouteLink]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ExpressRouteLinkListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = kwargs.get('next_link', None) + + +class ExpressRouteLinkMacSecConfig(msrest.serialization.Model): + """ExpressRouteLink Mac Security Configuration. + + :param ckn_secret_identifier: Keyvault Secret Identifier URL containing Mac security CKN key. + :type ckn_secret_identifier: str + :param cak_secret_identifier: Keyvault Secret Identifier URL containing Mac security CAK key. + :type cak_secret_identifier: str + :param cipher: Mac security cipher. Possible values include: "GcmAes256", "GcmAes128", + "GcmAesXpn128", "GcmAesXpn256". + :type cipher: str or ~azure.mgmt.network.v2021_02_01.models.ExpressRouteLinkMacSecCipher + :param sci_state: Sci mode enabled/disabled. Possible values include: "Disabled", "Enabled". + :type sci_state: str or ~azure.mgmt.network.v2021_02_01.models.ExpressRouteLinkMacSecSciState + """ + + _attribute_map = { + 'ckn_secret_identifier': {'key': 'cknSecretIdentifier', 'type': 'str'}, + 'cak_secret_identifier': {'key': 'cakSecretIdentifier', 'type': 'str'}, + 'cipher': {'key': 'cipher', 'type': 'str'}, + 'sci_state': {'key': 'sciState', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ExpressRouteLinkMacSecConfig, self).__init__(**kwargs) + self.ckn_secret_identifier = kwargs.get('ckn_secret_identifier', None) + self.cak_secret_identifier = kwargs.get('cak_secret_identifier', None) + self.cipher = kwargs.get('cipher', None) + self.sci_state = kwargs.get('sci_state', None) + + +class ExpressRoutePort(Resource): + """ExpressRoutePort resource definition. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param identity: The identity of ExpressRoutePort, if configured. + :type identity: ~azure.mgmt.network.v2021_02_01.models.ManagedServiceIdentity + :param peering_location: The name of the peering location that the ExpressRoutePort is mapped + to physically. + :type peering_location: str + :param bandwidth_in_gbps: Bandwidth of procured ports in Gbps. + :type bandwidth_in_gbps: int + :ivar provisioned_bandwidth_in_gbps: Aggregate Gbps of associated circuit bandwidths. + :vartype provisioned_bandwidth_in_gbps: float + :ivar mtu: Maximum transmission unit of the physical port pair(s). + :vartype mtu: str + :param encapsulation: Encapsulation method on physical ports. Possible values include: "Dot1Q", + "QinQ". + :type encapsulation: str or + ~azure.mgmt.network.v2021_02_01.models.ExpressRoutePortsEncapsulation + :ivar ether_type: Ether type of the physical port. + :vartype ether_type: str + :ivar allocation_date: Date of the physical port allocation to be used in Letter of + Authorization. + :vartype allocation_date: str + :param links: The set of physical links of the ExpressRoutePort resource. + :type links: list[~azure.mgmt.network.v2021_02_01.models.ExpressRouteLink] + :ivar circuits: Reference the ExpressRoute circuit(s) that are provisioned on this + ExpressRoutePort resource. + :vartype circuits: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + :ivar provisioning_state: The provisioning state of the express route port resource. Possible + values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :ivar resource_guid: The resource GUID property of the express route port resource. + :vartype resource_guid: str + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'provisioned_bandwidth_in_gbps': {'readonly': True}, + 'mtu': {'readonly': True}, + 'ether_type': {'readonly': True}, + 'allocation_date': {'readonly': True}, + 'circuits': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'resource_guid': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'identity': {'key': 'identity', 'type': 'ManagedServiceIdentity'}, + 'peering_location': {'key': 'properties.peeringLocation', 'type': 'str'}, + 'bandwidth_in_gbps': {'key': 'properties.bandwidthInGbps', 'type': 'int'}, + 'provisioned_bandwidth_in_gbps': {'key': 'properties.provisionedBandwidthInGbps', 'type': 'float'}, + 'mtu': {'key': 'properties.mtu', 'type': 'str'}, + 'encapsulation': {'key': 'properties.encapsulation', 'type': 'str'}, + 'ether_type': {'key': 'properties.etherType', 'type': 'str'}, + 'allocation_date': {'key': 'properties.allocationDate', 'type': 'str'}, + 'links': {'key': 'properties.links', 'type': '[ExpressRouteLink]'}, + 'circuits': {'key': 'properties.circuits', 'type': '[SubResource]'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'resource_guid': {'key': 'properties.resourceGuid', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ExpressRoutePort, self).__init__(**kwargs) + self.etag = None + self.identity = kwargs.get('identity', None) + self.peering_location = kwargs.get('peering_location', None) + self.bandwidth_in_gbps = kwargs.get('bandwidth_in_gbps', None) + self.provisioned_bandwidth_in_gbps = None + self.mtu = None + self.encapsulation = kwargs.get('encapsulation', None) + self.ether_type = None + self.allocation_date = None + self.links = kwargs.get('links', None) + self.circuits = None + self.provisioning_state = None + self.resource_guid = None + + +class ExpressRoutePortListResult(msrest.serialization.Model): + """Response for ListExpressRoutePorts API service call. + + :param value: A list of ExpressRoutePort resources. + :type value: list[~azure.mgmt.network.v2021_02_01.models.ExpressRoutePort] + :param next_link: The URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[ExpressRoutePort]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ExpressRoutePortListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = kwargs.get('next_link', None) + + +class ExpressRoutePortsLocation(Resource): + """Definition of the ExpressRoutePorts peering location resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :ivar address: Address of peering location. + :vartype address: str + :ivar contact: Contact details of peering locations. + :vartype contact: str + :param available_bandwidths: The inventory of available ExpressRoutePort bandwidths. + :type available_bandwidths: + list[~azure.mgmt.network.v2021_02_01.models.ExpressRoutePortsLocationBandwidths] + :ivar provisioning_state: The provisioning state of the express route port location resource. + Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'address': {'readonly': True}, + 'contact': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'address': {'key': 'properties.address', 'type': 'str'}, + 'contact': {'key': 'properties.contact', 'type': 'str'}, + 'available_bandwidths': {'key': 'properties.availableBandwidths', 'type': '[ExpressRoutePortsLocationBandwidths]'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ExpressRoutePortsLocation, self).__init__(**kwargs) + self.address = None + self.contact = None + self.available_bandwidths = kwargs.get('available_bandwidths', None) + self.provisioning_state = None + + +class ExpressRoutePortsLocationBandwidths(msrest.serialization.Model): + """Real-time inventory of available ExpressRoute port bandwidths. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar offer_name: Bandwidth descriptive name. + :vartype offer_name: str + :ivar value_in_gbps: Bandwidth value in Gbps. + :vartype value_in_gbps: int + """ + + _validation = { + 'offer_name': {'readonly': True}, + 'value_in_gbps': {'readonly': True}, + } + + _attribute_map = { + 'offer_name': {'key': 'offerName', 'type': 'str'}, + 'value_in_gbps': {'key': 'valueInGbps', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(ExpressRoutePortsLocationBandwidths, self).__init__(**kwargs) + self.offer_name = None + self.value_in_gbps = None + + +class ExpressRoutePortsLocationListResult(msrest.serialization.Model): + """Response for ListExpressRoutePortsLocations API service call. + + :param value: The list of all ExpressRoutePort peering locations. + :type value: list[~azure.mgmt.network.v2021_02_01.models.ExpressRoutePortsLocation] + :param next_link: The URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[ExpressRoutePortsLocation]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ExpressRoutePortsLocationListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = kwargs.get('next_link', None) + + +class ExpressRouteServiceProvider(Resource): + """A ExpressRouteResourceProvider object. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :param peering_locations: A list of peering locations. + :type peering_locations: list[str] + :param bandwidths_offered: A list of bandwidths offered. + :type bandwidths_offered: + list[~azure.mgmt.network.v2021_02_01.models.ExpressRouteServiceProviderBandwidthsOffered] + :ivar provisioning_state: The provisioning state of the express route service provider + resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'peering_locations': {'key': 'properties.peeringLocations', 'type': '[str]'}, + 'bandwidths_offered': {'key': 'properties.bandwidthsOffered', 'type': '[ExpressRouteServiceProviderBandwidthsOffered]'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ExpressRouteServiceProvider, self).__init__(**kwargs) + self.peering_locations = kwargs.get('peering_locations', None) + self.bandwidths_offered = kwargs.get('bandwidths_offered', None) + self.provisioning_state = None + + +class ExpressRouteServiceProviderBandwidthsOffered(msrest.serialization.Model): + """Contains bandwidths offered in ExpressRouteServiceProvider resources. + + :param offer_name: The OfferName. + :type offer_name: str + :param value_in_mbps: The ValueInMbps. + :type value_in_mbps: int + """ + + _attribute_map = { + 'offer_name': {'key': 'offerName', 'type': 'str'}, + 'value_in_mbps': {'key': 'valueInMbps', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(ExpressRouteServiceProviderBandwidthsOffered, self).__init__(**kwargs) + self.offer_name = kwargs.get('offer_name', None) + self.value_in_mbps = kwargs.get('value_in_mbps', None) + + +class ExpressRouteServiceProviderListResult(msrest.serialization.Model): + """Response for the ListExpressRouteServiceProvider API service call. + + :param value: A list of ExpressRouteResourceProvider resources. + :type value: list[~azure.mgmt.network.v2021_02_01.models.ExpressRouteServiceProvider] + :param next_link: The URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[ExpressRouteServiceProvider]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ExpressRouteServiceProviderListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = kwargs.get('next_link', None) + + +class ExtendedLocation(msrest.serialization.Model): + """ExtendedLocation complex type. + + :param name: The name of the extended location. + :type name: str + :param type: The type of the extended location. Possible values include: "EdgeZone". + :type type: str or ~azure.mgmt.network.v2021_02_01.models.ExtendedLocationTypes + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ExtendedLocation, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.type = kwargs.get('type', None) + + +class FirewallPolicy(Resource): + """FirewallPolicy Resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param identity: The identity of the firewall policy. + :type identity: ~azure.mgmt.network.v2021_02_01.models.ManagedServiceIdentity + :ivar rule_collection_groups: List of references to FirewallPolicyRuleCollectionGroups. + :vartype rule_collection_groups: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + :ivar provisioning_state: The provisioning state of the firewall policy resource. Possible + values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :param base_policy: The parent firewall policy from which rules are inherited. + :type base_policy: ~azure.mgmt.network.v2021_02_01.models.SubResource + :ivar firewalls: List of references to Azure Firewalls that this Firewall Policy is associated + with. + :vartype firewalls: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + :ivar child_policies: List of references to Child Firewall Policies. + :vartype child_policies: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + :param threat_intel_mode: The operation mode for Threat Intelligence. Possible values include: + "Alert", "Deny", "Off". + :type threat_intel_mode: str or + ~azure.mgmt.network.v2021_02_01.models.AzureFirewallThreatIntelMode + :param threat_intel_whitelist: ThreatIntel Whitelist for Firewall Policy. + :type threat_intel_whitelist: + ~azure.mgmt.network.v2021_02_01.models.FirewallPolicyThreatIntelWhitelist + :param insights: Insights on Firewall Policy. + :type insights: ~azure.mgmt.network.v2021_02_01.models.FirewallPolicyInsights + :param snat: The private IP addresses/IP ranges to which traffic will not be SNAT. + :type snat: ~azure.mgmt.network.v2021_02_01.models.FirewallPolicySNAT + :param dns_settings: DNS Proxy Settings definition. + :type dns_settings: ~azure.mgmt.network.v2021_02_01.models.DnsSettings + :param intrusion_detection: The configuration for Intrusion detection. + :type intrusion_detection: + ~azure.mgmt.network.v2021_02_01.models.FirewallPolicyIntrusionDetection + :param transport_security: TLS Configuration definition. + :type transport_security: + ~azure.mgmt.network.v2021_02_01.models.FirewallPolicyTransportSecurity + :param sku: The Firewall Policy SKU. + :type sku: ~azure.mgmt.network.v2021_02_01.models.FirewallPolicySku + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'rule_collection_groups': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'firewalls': {'readonly': True}, + 'child_policies': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'identity': {'key': 'identity', 'type': 'ManagedServiceIdentity'}, + 'rule_collection_groups': {'key': 'properties.ruleCollectionGroups', 'type': '[SubResource]'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'base_policy': {'key': 'properties.basePolicy', 'type': 'SubResource'}, + 'firewalls': {'key': 'properties.firewalls', 'type': '[SubResource]'}, + 'child_policies': {'key': 'properties.childPolicies', 'type': '[SubResource]'}, + 'threat_intel_mode': {'key': 'properties.threatIntelMode', 'type': 'str'}, + 'threat_intel_whitelist': {'key': 'properties.threatIntelWhitelist', 'type': 'FirewallPolicyThreatIntelWhitelist'}, + 'insights': {'key': 'properties.insights', 'type': 'FirewallPolicyInsights'}, + 'snat': {'key': 'properties.snat', 'type': 'FirewallPolicySNAT'}, + 'dns_settings': {'key': 'properties.dnsSettings', 'type': 'DnsSettings'}, + 'intrusion_detection': {'key': 'properties.intrusionDetection', 'type': 'FirewallPolicyIntrusionDetection'}, + 'transport_security': {'key': 'properties.transportSecurity', 'type': 'FirewallPolicyTransportSecurity'}, + 'sku': {'key': 'properties.sku', 'type': 'FirewallPolicySku'}, + } + + def __init__( + self, + **kwargs + ): + super(FirewallPolicy, self).__init__(**kwargs) + self.etag = None + self.identity = kwargs.get('identity', None) + self.rule_collection_groups = None + self.provisioning_state = None + self.base_policy = kwargs.get('base_policy', None) + self.firewalls = None + self.child_policies = None + self.threat_intel_mode = kwargs.get('threat_intel_mode', None) + self.threat_intel_whitelist = kwargs.get('threat_intel_whitelist', None) + self.insights = kwargs.get('insights', None) + self.snat = kwargs.get('snat', None) + self.dns_settings = kwargs.get('dns_settings', None) + self.intrusion_detection = kwargs.get('intrusion_detection', None) + self.transport_security = kwargs.get('transport_security', None) + self.sku = kwargs.get('sku', None) + + +class FirewallPolicyCertificateAuthority(msrest.serialization.Model): + """Trusted Root certificates properties for tls. + + :param key_vault_secret_id: Secret Id of (base-64 encoded unencrypted pfx) 'Secret' or + 'Certificate' object stored in KeyVault. + :type key_vault_secret_id: str + :param name: Name of the CA certificate. + :type name: str + """ + + _attribute_map = { + 'key_vault_secret_id': {'key': 'keyVaultSecretId', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(FirewallPolicyCertificateAuthority, self).__init__(**kwargs) + self.key_vault_secret_id = kwargs.get('key_vault_secret_id', None) + self.name = kwargs.get('name', None) + + +class FirewallPolicyRuleCollection(msrest.serialization.Model): + """Properties of the rule collection. + + You probably want to use the sub-classes and not this class directly. Known + sub-classes are: FirewallPolicyFilterRuleCollection, FirewallPolicyNatRuleCollection. + + All required parameters must be populated in order to send to Azure. + + :param rule_collection_type: Required. The type of the rule collection.Constant filled by + server. Possible values include: "FirewallPolicyNatRuleCollection", + "FirewallPolicyFilterRuleCollection". + :type rule_collection_type: str or + ~azure.mgmt.network.v2021_02_01.models.FirewallPolicyRuleCollectionType + :param name: The name of the rule collection. + :type name: str + :param priority: Priority of the Firewall Policy Rule Collection resource. + :type priority: int + """ + + _validation = { + 'rule_collection_type': {'required': True}, + 'priority': {'maximum': 65000, 'minimum': 100}, + } + + _attribute_map = { + 'rule_collection_type': {'key': 'ruleCollectionType', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'priority': {'key': 'priority', 'type': 'int'}, + } + + _subtype_map = { + 'rule_collection_type': {'FirewallPolicyFilterRuleCollection': 'FirewallPolicyFilterRuleCollection', 'FirewallPolicyNatRuleCollection': 'FirewallPolicyNatRuleCollection'} + } + + def __init__( + self, + **kwargs + ): + super(FirewallPolicyRuleCollection, self).__init__(**kwargs) + self.rule_collection_type = None # type: Optional[str] + self.name = kwargs.get('name', None) + self.priority = kwargs.get('priority', None) + + +class FirewallPolicyFilterRuleCollection(FirewallPolicyRuleCollection): + """Firewall Policy Filter Rule Collection. + + All required parameters must be populated in order to send to Azure. + + :param rule_collection_type: Required. The type of the rule collection.Constant filled by + server. Possible values include: "FirewallPolicyNatRuleCollection", + "FirewallPolicyFilterRuleCollection". + :type rule_collection_type: str or + ~azure.mgmt.network.v2021_02_01.models.FirewallPolicyRuleCollectionType + :param name: The name of the rule collection. + :type name: str + :param priority: Priority of the Firewall Policy Rule Collection resource. + :type priority: int + :param action: The action type of a Filter rule collection. + :type action: ~azure.mgmt.network.v2021_02_01.models.FirewallPolicyFilterRuleCollectionAction + :param rules: List of rules included in a rule collection. + :type rules: list[~azure.mgmt.network.v2021_02_01.models.FirewallPolicyRule] + """ + + _validation = { + 'rule_collection_type': {'required': True}, + 'priority': {'maximum': 65000, 'minimum': 100}, + } + + _attribute_map = { + 'rule_collection_type': {'key': 'ruleCollectionType', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'priority': {'key': 'priority', 'type': 'int'}, + 'action': {'key': 'action', 'type': 'FirewallPolicyFilterRuleCollectionAction'}, + 'rules': {'key': 'rules', 'type': '[FirewallPolicyRule]'}, + } + + def __init__( + self, + **kwargs + ): + super(FirewallPolicyFilterRuleCollection, self).__init__(**kwargs) + self.rule_collection_type = 'FirewallPolicyFilterRuleCollection' # type: str + self.action = kwargs.get('action', None) + self.rules = kwargs.get('rules', None) + + +class FirewallPolicyFilterRuleCollectionAction(msrest.serialization.Model): + """Properties of the FirewallPolicyFilterRuleCollectionAction. + + :param type: The type of action. Possible values include: "Allow", "Deny". + :type type: str or + ~azure.mgmt.network.v2021_02_01.models.FirewallPolicyFilterRuleCollectionActionType + """ + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(FirewallPolicyFilterRuleCollectionAction, self).__init__(**kwargs) + self.type = kwargs.get('type', None) + + +class FirewallPolicyInsights(msrest.serialization.Model): + """Firewall Policy Insights. + + :param is_enabled: A flag to indicate if the insights are enabled on the policy. + :type is_enabled: bool + :param retention_days: Number of days the insights should be enabled on the policy. + :type retention_days: int + :param log_analytics_resources: Workspaces needed to configure the Firewall Policy Insights. + :type log_analytics_resources: + ~azure.mgmt.network.v2021_02_01.models.FirewallPolicyLogAnalyticsResources + """ + + _attribute_map = { + 'is_enabled': {'key': 'isEnabled', 'type': 'bool'}, + 'retention_days': {'key': 'retentionDays', 'type': 'int'}, + 'log_analytics_resources': {'key': 'logAnalyticsResources', 'type': 'FirewallPolicyLogAnalyticsResources'}, + } + + def __init__( + self, + **kwargs + ): + super(FirewallPolicyInsights, self).__init__(**kwargs) + self.is_enabled = kwargs.get('is_enabled', None) + self.retention_days = kwargs.get('retention_days', None) + self.log_analytics_resources = kwargs.get('log_analytics_resources', None) + + +class FirewallPolicyIntrusionDetection(msrest.serialization.Model): + """Configuration for intrusion detection mode and rules. + + :param mode: Intrusion detection general state. Possible values include: "Off", "Alert", + "Deny". + :type mode: str or + ~azure.mgmt.network.v2021_02_01.models.FirewallPolicyIntrusionDetectionStateType + :param configuration: Intrusion detection configuration properties. + :type configuration: + ~azure.mgmt.network.v2021_02_01.models.FirewallPolicyIntrusionDetectionConfiguration + """ + + _attribute_map = { + 'mode': {'key': 'mode', 'type': 'str'}, + 'configuration': {'key': 'configuration', 'type': 'FirewallPolicyIntrusionDetectionConfiguration'}, + } + + def __init__( + self, + **kwargs + ): + super(FirewallPolicyIntrusionDetection, self).__init__(**kwargs) + self.mode = kwargs.get('mode', None) + self.configuration = kwargs.get('configuration', None) + + +class FirewallPolicyIntrusionDetectionBypassTrafficSpecifications(msrest.serialization.Model): + """Intrusion detection bypass traffic specification. + + :param name: Name of the bypass traffic rule. + :type name: str + :param description: Description of the bypass traffic rule. + :type description: str + :param protocol: The rule bypass protocol. Possible values include: "TCP", "UDP", "ICMP", + "ANY". + :type protocol: str or + ~azure.mgmt.network.v2021_02_01.models.FirewallPolicyIntrusionDetectionProtocol + :param source_addresses: List of source IP addresses or ranges for this rule. + :type source_addresses: list[str] + :param destination_addresses: List of destination IP addresses or ranges for this rule. + :type destination_addresses: list[str] + :param destination_ports: List of destination ports or ranges. + :type destination_ports: list[str] + :param source_ip_groups: List of source IpGroups for this rule. + :type source_ip_groups: list[str] + :param destination_ip_groups: List of destination IpGroups for this rule. + :type destination_ip_groups: list[str] + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + 'protocol': {'key': 'protocol', 'type': 'str'}, + 'source_addresses': {'key': 'sourceAddresses', 'type': '[str]'}, + 'destination_addresses': {'key': 'destinationAddresses', 'type': '[str]'}, + 'destination_ports': {'key': 'destinationPorts', 'type': '[str]'}, + 'source_ip_groups': {'key': 'sourceIpGroups', 'type': '[str]'}, + 'destination_ip_groups': {'key': 'destinationIpGroups', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(FirewallPolicyIntrusionDetectionBypassTrafficSpecifications, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.description = kwargs.get('description', None) + self.protocol = kwargs.get('protocol', None) + self.source_addresses = kwargs.get('source_addresses', None) + self.destination_addresses = kwargs.get('destination_addresses', None) + self.destination_ports = kwargs.get('destination_ports', None) + self.source_ip_groups = kwargs.get('source_ip_groups', None) + self.destination_ip_groups = kwargs.get('destination_ip_groups', None) + + +class FirewallPolicyIntrusionDetectionConfiguration(msrest.serialization.Model): + """The operation for configuring intrusion detection. + + :param signature_overrides: List of specific signatures states. + :type signature_overrides: + list[~azure.mgmt.network.v2021_02_01.models.FirewallPolicyIntrusionDetectionSignatureSpecification] + :param bypass_traffic_settings: List of rules for traffic to bypass. + :type bypass_traffic_settings: + list[~azure.mgmt.network.v2021_02_01.models.FirewallPolicyIntrusionDetectionBypassTrafficSpecifications] + """ + + _attribute_map = { + 'signature_overrides': {'key': 'signatureOverrides', 'type': '[FirewallPolicyIntrusionDetectionSignatureSpecification]'}, + 'bypass_traffic_settings': {'key': 'bypassTrafficSettings', 'type': '[FirewallPolicyIntrusionDetectionBypassTrafficSpecifications]'}, + } + + def __init__( + self, + **kwargs + ): + super(FirewallPolicyIntrusionDetectionConfiguration, self).__init__(**kwargs) + self.signature_overrides = kwargs.get('signature_overrides', None) + self.bypass_traffic_settings = kwargs.get('bypass_traffic_settings', None) + + +class FirewallPolicyIntrusionDetectionSignatureSpecification(msrest.serialization.Model): + """Intrusion detection signatures specification states. + + :param id: Signature id. + :type id: str + :param mode: The signature state. Possible values include: "Off", "Alert", "Deny". + :type mode: str or + ~azure.mgmt.network.v2021_02_01.models.FirewallPolicyIntrusionDetectionStateType + """ + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'mode': {'key': 'mode', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(FirewallPolicyIntrusionDetectionSignatureSpecification, self).__init__(**kwargs) + self.id = kwargs.get('id', None) + self.mode = kwargs.get('mode', None) + + +class FirewallPolicyListResult(msrest.serialization.Model): + """Response for ListFirewallPolicies API service call. + + :param value: List of Firewall Policies in a resource group. + :type value: list[~azure.mgmt.network.v2021_02_01.models.FirewallPolicy] + :param next_link: URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[FirewallPolicy]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(FirewallPolicyListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = kwargs.get('next_link', None) + + +class FirewallPolicyLogAnalyticsResources(msrest.serialization.Model): + """Log Analytics Resources for Firewall Policy Insights. + + :param workspaces: List of workspaces for Firewall Policy Insights. + :type workspaces: + list[~azure.mgmt.network.v2021_02_01.models.FirewallPolicyLogAnalyticsWorkspace] + :param default_workspace_id: The default workspace Id for Firewall Policy Insights. + :type default_workspace_id: ~azure.mgmt.network.v2021_02_01.models.SubResource + """ + + _attribute_map = { + 'workspaces': {'key': 'workspaces', 'type': '[FirewallPolicyLogAnalyticsWorkspace]'}, + 'default_workspace_id': {'key': 'defaultWorkspaceId', 'type': 'SubResource'}, + } + + def __init__( + self, + **kwargs + ): + super(FirewallPolicyLogAnalyticsResources, self).__init__(**kwargs) + self.workspaces = kwargs.get('workspaces', None) + self.default_workspace_id = kwargs.get('default_workspace_id', None) + + +class FirewallPolicyLogAnalyticsWorkspace(msrest.serialization.Model): + """Log Analytics Workspace for Firewall Policy Insights. + + :param region: Region to configure the Workspace. + :type region: str + :param workspace_id: The workspace Id for Firewall Policy Insights. + :type workspace_id: ~azure.mgmt.network.v2021_02_01.models.SubResource + """ + + _attribute_map = { + 'region': {'key': 'region', 'type': 'str'}, + 'workspace_id': {'key': 'workspaceId', 'type': 'SubResource'}, + } + + def __init__( + self, + **kwargs + ): + super(FirewallPolicyLogAnalyticsWorkspace, self).__init__(**kwargs) + self.region = kwargs.get('region', None) + self.workspace_id = kwargs.get('workspace_id', None) + + +class FirewallPolicyNatRuleCollection(FirewallPolicyRuleCollection): + """Firewall Policy NAT Rule Collection. + + All required parameters must be populated in order to send to Azure. + + :param rule_collection_type: Required. The type of the rule collection.Constant filled by + server. Possible values include: "FirewallPolicyNatRuleCollection", + "FirewallPolicyFilterRuleCollection". + :type rule_collection_type: str or + ~azure.mgmt.network.v2021_02_01.models.FirewallPolicyRuleCollectionType + :param name: The name of the rule collection. + :type name: str + :param priority: Priority of the Firewall Policy Rule Collection resource. + :type priority: int + :param action: The action type of a Nat rule collection. + :type action: ~azure.mgmt.network.v2021_02_01.models.FirewallPolicyNatRuleCollectionAction + :param rules: List of rules included in a rule collection. + :type rules: list[~azure.mgmt.network.v2021_02_01.models.FirewallPolicyRule] + """ + + _validation = { + 'rule_collection_type': {'required': True}, + 'priority': {'maximum': 65000, 'minimum': 100}, + } + + _attribute_map = { + 'rule_collection_type': {'key': 'ruleCollectionType', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'priority': {'key': 'priority', 'type': 'int'}, + 'action': {'key': 'action', 'type': 'FirewallPolicyNatRuleCollectionAction'}, + 'rules': {'key': 'rules', 'type': '[FirewallPolicyRule]'}, + } + + def __init__( + self, + **kwargs + ): + super(FirewallPolicyNatRuleCollection, self).__init__(**kwargs) + self.rule_collection_type = 'FirewallPolicyNatRuleCollection' # type: str + self.action = kwargs.get('action', None) + self.rules = kwargs.get('rules', None) + + +class FirewallPolicyNatRuleCollectionAction(msrest.serialization.Model): + """Properties of the FirewallPolicyNatRuleCollectionAction. + + :param type: The type of action. Possible values include: "DNAT". + :type type: str or + ~azure.mgmt.network.v2021_02_01.models.FirewallPolicyNatRuleCollectionActionType + """ + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(FirewallPolicyNatRuleCollectionAction, self).__init__(**kwargs) + self.type = kwargs.get('type', None) + + +class FirewallPolicyRuleApplicationProtocol(msrest.serialization.Model): + """Properties of the application rule protocol. + + :param protocol_type: Protocol type. Possible values include: "Http", "Https". + :type protocol_type: str or + ~azure.mgmt.network.v2021_02_01.models.FirewallPolicyRuleApplicationProtocolType + :param port: Port number for the protocol, cannot be greater than 64000. + :type port: int + """ + + _validation = { + 'port': {'maximum': 64000, 'minimum': 0}, + } + + _attribute_map = { + 'protocol_type': {'key': 'protocolType', 'type': 'str'}, + 'port': {'key': 'port', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(FirewallPolicyRuleApplicationProtocol, self).__init__(**kwargs) + self.protocol_type = kwargs.get('protocol_type', None) + self.port = kwargs.get('port', None) + + +class FirewallPolicyRuleCollectionGroup(SubResource): + """Rule Collection Group resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: The name of the resource that is unique within a resource group. This name can be + used to access the resource. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Rule Group type. + :vartype type: str + :param priority: Priority of the Firewall Policy Rule Collection Group resource. + :type priority: int + :param rule_collections: Group of Firewall Policy rule collections. + :type rule_collections: + list[~azure.mgmt.network.v2021_02_01.models.FirewallPolicyRuleCollection] + :ivar provisioning_state: The provisioning state of the firewall policy rule collection group + resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'priority': {'maximum': 65000, 'minimum': 100}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'priority': {'key': 'properties.priority', 'type': 'int'}, + 'rule_collections': {'key': 'properties.ruleCollections', 'type': '[FirewallPolicyRuleCollection]'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(FirewallPolicyRuleCollectionGroup, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.etag = None + self.type = None + self.priority = kwargs.get('priority', None) + self.rule_collections = kwargs.get('rule_collections', None) + self.provisioning_state = None + + +class FirewallPolicyRuleCollectionGroupListResult(msrest.serialization.Model): + """Response for ListFirewallPolicyRuleCollectionGroups API service call. + + :param value: List of FirewallPolicyRuleCollectionGroups in a FirewallPolicy. + :type value: list[~azure.mgmt.network.v2021_02_01.models.FirewallPolicyRuleCollectionGroup] + :param next_link: URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[FirewallPolicyRuleCollectionGroup]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(FirewallPolicyRuleCollectionGroupListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = kwargs.get('next_link', None) + + +class FirewallPolicySku(msrest.serialization.Model): + """SKU of Firewall policy. + + :param tier: Tier of Firewall Policy. Possible values include: "Standard", "Premium". + :type tier: str or ~azure.mgmt.network.v2021_02_01.models.FirewallPolicySkuTier + """ + + _attribute_map = { + 'tier': {'key': 'tier', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(FirewallPolicySku, self).__init__(**kwargs) + self.tier = kwargs.get('tier', None) + + +class FirewallPolicySNAT(msrest.serialization.Model): + """The private IP addresses/IP ranges to which traffic will not be SNAT. + + :param private_ranges: List of private IP addresses/IP address ranges to not be SNAT. + :type private_ranges: list[str] + """ + + _attribute_map = { + 'private_ranges': {'key': 'privateRanges', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(FirewallPolicySNAT, self).__init__(**kwargs) + self.private_ranges = kwargs.get('private_ranges', None) + + +class FirewallPolicyThreatIntelWhitelist(msrest.serialization.Model): + """ThreatIntel Whitelist for Firewall Policy. + + :param ip_addresses: List of IP addresses for the ThreatIntel Whitelist. + :type ip_addresses: list[str] + :param fqdns: List of FQDNs for the ThreatIntel Whitelist. + :type fqdns: list[str] + """ + + _attribute_map = { + 'ip_addresses': {'key': 'ipAddresses', 'type': '[str]'}, + 'fqdns': {'key': 'fqdns', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(FirewallPolicyThreatIntelWhitelist, self).__init__(**kwargs) + self.ip_addresses = kwargs.get('ip_addresses', None) + self.fqdns = kwargs.get('fqdns', None) + + +class FirewallPolicyTransportSecurity(msrest.serialization.Model): + """Configuration needed to perform TLS termination & initiation. + + :param certificate_authority: The CA used for intermediate CA generation. + :type certificate_authority: + ~azure.mgmt.network.v2021_02_01.models.FirewallPolicyCertificateAuthority + """ + + _attribute_map = { + 'certificate_authority': {'key': 'certificateAuthority', 'type': 'FirewallPolicyCertificateAuthority'}, + } + + def __init__( + self, + **kwargs + ): + super(FirewallPolicyTransportSecurity, self).__init__(**kwargs) + self.certificate_authority = kwargs.get('certificate_authority', None) + + +class FlowLog(Resource): + """A flow log resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param target_resource_id: ID of network security group to which flow log will be applied. + :type target_resource_id: str + :ivar target_resource_guid: Guid of network security group to which flow log will be applied. + :vartype target_resource_guid: str + :param storage_id: ID of the storage account which is used to store the flow log. + :type storage_id: str + :param enabled: Flag to enable/disable flow logging. + :type enabled: bool + :param retention_policy: Parameters that define the retention policy for flow log. + :type retention_policy: ~azure.mgmt.network.v2021_02_01.models.RetentionPolicyParameters + :param format: Parameters that define the flow log format. + :type format: ~azure.mgmt.network.v2021_02_01.models.FlowLogFormatParameters + :param flow_analytics_configuration: Parameters that define the configuration of traffic + analytics. + :type flow_analytics_configuration: + ~azure.mgmt.network.v2021_02_01.models.TrafficAnalyticsProperties + :ivar provisioning_state: The provisioning state of the flow log. Possible values include: + "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'target_resource_guid': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'target_resource_id': {'key': 'properties.targetResourceId', 'type': 'str'}, + 'target_resource_guid': {'key': 'properties.targetResourceGuid', 'type': 'str'}, + 'storage_id': {'key': 'properties.storageId', 'type': 'str'}, + 'enabled': {'key': 'properties.enabled', 'type': 'bool'}, + 'retention_policy': {'key': 'properties.retentionPolicy', 'type': 'RetentionPolicyParameters'}, + 'format': {'key': 'properties.format', 'type': 'FlowLogFormatParameters'}, + 'flow_analytics_configuration': {'key': 'properties.flowAnalyticsConfiguration', 'type': 'TrafficAnalyticsProperties'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(FlowLog, self).__init__(**kwargs) + self.etag = None + self.target_resource_id = kwargs.get('target_resource_id', None) + self.target_resource_guid = None + self.storage_id = kwargs.get('storage_id', None) + self.enabled = kwargs.get('enabled', None) + self.retention_policy = kwargs.get('retention_policy', None) + self.format = kwargs.get('format', None) + self.flow_analytics_configuration = kwargs.get('flow_analytics_configuration', None) + self.provisioning_state = None + + +class FlowLogFormatParameters(msrest.serialization.Model): + """Parameters that define the flow log format. + + :param type: The file type of flow log. Possible values include: "JSON". + :type type: str or ~azure.mgmt.network.v2021_02_01.models.FlowLogFormatType + :param version: The version (revision) of the flow log. + :type version: int + """ + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, + 'version': {'key': 'version', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(FlowLogFormatParameters, self).__init__(**kwargs) + self.type = kwargs.get('type', None) + self.version = kwargs.get('version', 0) + + +class FlowLogInformation(msrest.serialization.Model): + """Information on the configuration of flow log and traffic analytics (optional) . + + All required parameters must be populated in order to send to Azure. + + :param target_resource_id: Required. The ID of the resource to configure for flow log and + traffic analytics (optional) . + :type target_resource_id: str + :param flow_analytics_configuration: Parameters that define the configuration of traffic + analytics. + :type flow_analytics_configuration: + ~azure.mgmt.network.v2021_02_01.models.TrafficAnalyticsProperties + :param storage_id: Required. ID of the storage account which is used to store the flow log. + :type storage_id: str + :param enabled: Required. Flag to enable/disable flow logging. + :type enabled: bool + :param retention_policy: Parameters that define the retention policy for flow log. + :type retention_policy: ~azure.mgmt.network.v2021_02_01.models.RetentionPolicyParameters + :param format: Parameters that define the flow log format. + :type format: ~azure.mgmt.network.v2021_02_01.models.FlowLogFormatParameters + """ + + _validation = { + 'target_resource_id': {'required': True}, + 'storage_id': {'required': True}, + 'enabled': {'required': True}, + } + + _attribute_map = { + 'target_resource_id': {'key': 'targetResourceId', 'type': 'str'}, + 'flow_analytics_configuration': {'key': 'flowAnalyticsConfiguration', 'type': 'TrafficAnalyticsProperties'}, + 'storage_id': {'key': 'properties.storageId', 'type': 'str'}, + 'enabled': {'key': 'properties.enabled', 'type': 'bool'}, + 'retention_policy': {'key': 'properties.retentionPolicy', 'type': 'RetentionPolicyParameters'}, + 'format': {'key': 'properties.format', 'type': 'FlowLogFormatParameters'}, + } + + def __init__( + self, + **kwargs + ): + super(FlowLogInformation, self).__init__(**kwargs) + self.target_resource_id = kwargs['target_resource_id'] + self.flow_analytics_configuration = kwargs.get('flow_analytics_configuration', None) + self.storage_id = kwargs['storage_id'] + self.enabled = kwargs['enabled'] + self.retention_policy = kwargs.get('retention_policy', None) + self.format = kwargs.get('format', None) + + +class FlowLogListResult(msrest.serialization.Model): + """List of flow logs. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: Information about flow log resource. + :type value: list[~azure.mgmt.network.v2021_02_01.models.FlowLog] + :ivar next_link: The URL to get the next set of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[FlowLog]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(FlowLogListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = None + + +class FlowLogStatusParameters(msrest.serialization.Model): + """Parameters that define a resource to query flow log and traffic analytics (optional) status. + + All required parameters must be populated in order to send to Azure. + + :param target_resource_id: Required. The target resource where getting the flow log and traffic + analytics (optional) status. + :type target_resource_id: str + """ + + _validation = { + 'target_resource_id': {'required': True}, + } + + _attribute_map = { + 'target_resource_id': {'key': 'targetResourceId', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(FlowLogStatusParameters, self).__init__(**kwargs) + self.target_resource_id = kwargs['target_resource_id'] + + +class FrontendIPConfiguration(SubResource): + """Frontend IP address of the load balancer. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: The name of the resource that is unique within the set of frontend IP + configurations used by the load balancer. This name can be used to access the resource. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str + :param zones: A list of availability zones denoting the IP allocated for the resource needs to + come from. + :type zones: list[str] + :ivar inbound_nat_rules: An array of references to inbound rules that use this frontend IP. + :vartype inbound_nat_rules: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + :ivar inbound_nat_pools: An array of references to inbound pools that use this frontend IP. + :vartype inbound_nat_pools: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + :ivar outbound_rules: An array of references to outbound rules that use this frontend IP. + :vartype outbound_rules: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + :ivar load_balancing_rules: An array of references to load balancing rules that use this + frontend IP. + :vartype load_balancing_rules: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + :param private_ip_address: The private IP address of the IP configuration. + :type private_ip_address: str + :param private_ip_allocation_method: The Private IP allocation method. Possible values include: + "Static", "Dynamic". + :type private_ip_allocation_method: str or + ~azure.mgmt.network.v2021_02_01.models.IPAllocationMethod + :param private_ip_address_version: Whether the specific ipconfiguration is IPv4 or IPv6. + Default is taken as IPv4. Possible values include: "IPv4", "IPv6". + :type private_ip_address_version: str or ~azure.mgmt.network.v2021_02_01.models.IPVersion + :param subnet: The reference to the subnet resource. + :type subnet: ~azure.mgmt.network.v2021_02_01.models.Subnet + :param public_ip_address: The reference to the Public IP resource. + :type public_ip_address: ~azure.mgmt.network.v2021_02_01.models.PublicIPAddress + :param public_ip_prefix: The reference to the Public IP Prefix resource. + :type public_ip_prefix: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param gateway_load_balancer: The reference to gateway load balancer frontend IP. + :type gateway_load_balancer: ~azure.mgmt.network.v2021_02_01.models.SubResource + :ivar provisioning_state: The provisioning state of the frontend IP configuration resource. + Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'inbound_nat_rules': {'readonly': True}, + 'inbound_nat_pools': {'readonly': True}, + 'outbound_rules': {'readonly': True}, + 'load_balancing_rules': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'zones': {'key': 'zones', 'type': '[str]'}, + 'inbound_nat_rules': {'key': 'properties.inboundNatRules', 'type': '[SubResource]'}, + 'inbound_nat_pools': {'key': 'properties.inboundNatPools', 'type': '[SubResource]'}, + 'outbound_rules': {'key': 'properties.outboundRules', 'type': '[SubResource]'}, + 'load_balancing_rules': {'key': 'properties.loadBalancingRules', 'type': '[SubResource]'}, + 'private_ip_address': {'key': 'properties.privateIPAddress', 'type': 'str'}, + 'private_ip_allocation_method': {'key': 'properties.privateIPAllocationMethod', 'type': 'str'}, + 'private_ip_address_version': {'key': 'properties.privateIPAddressVersion', 'type': 'str'}, + 'subnet': {'key': 'properties.subnet', 'type': 'Subnet'}, + 'public_ip_address': {'key': 'properties.publicIPAddress', 'type': 'PublicIPAddress'}, + 'public_ip_prefix': {'key': 'properties.publicIPPrefix', 'type': 'SubResource'}, + 'gateway_load_balancer': {'key': 'properties.gatewayLoadBalancer', 'type': 'SubResource'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(FrontendIPConfiguration, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.etag = None + self.type = None + self.zones = kwargs.get('zones', None) + self.inbound_nat_rules = None + self.inbound_nat_pools = None + self.outbound_rules = None + self.load_balancing_rules = None + self.private_ip_address = kwargs.get('private_ip_address', None) + self.private_ip_allocation_method = kwargs.get('private_ip_allocation_method', None) + self.private_ip_address_version = kwargs.get('private_ip_address_version', None) + self.subnet = kwargs.get('subnet', None) + self.public_ip_address = kwargs.get('public_ip_address', None) + self.public_ip_prefix = kwargs.get('public_ip_prefix', None) + self.gateway_load_balancer = kwargs.get('gateway_load_balancer', None) + self.provisioning_state = None + + +class GatewayLoadBalancerTunnelInterface(msrest.serialization.Model): + """Gateway load balancer tunnel interface of a load balancer backend address pool. + + :param port: Port of gateway load balancer tunnel interface. + :type port: int + :param identifier: Identifier of gateway load balancer tunnel interface. + :type identifier: int + :param protocol: Protocol of gateway load balancer tunnel interface. Possible values include: + "None", "Native", "VXLAN". + :type protocol: str or ~azure.mgmt.network.v2021_02_01.models.GatewayLoadBalancerTunnelProtocol + :param type: Traffic type of gateway load balancer tunnel interface. Possible values include: + "None", "Internal", "External". + :type type: str or + ~azure.mgmt.network.v2021_02_01.models.GatewayLoadBalancerTunnelInterfaceType + """ + + _attribute_map = { + 'port': {'key': 'port', 'type': 'int'}, + 'identifier': {'key': 'identifier', 'type': 'int'}, + 'protocol': {'key': 'protocol', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(GatewayLoadBalancerTunnelInterface, self).__init__(**kwargs) + self.port = kwargs.get('port', None) + self.identifier = kwargs.get('identifier', None) + self.protocol = kwargs.get('protocol', None) + self.type = kwargs.get('type', None) + + +class GatewayRoute(msrest.serialization.Model): + """Gateway routing details. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar local_address: The gateway's local address. + :vartype local_address: str + :ivar network: The route's network prefix. + :vartype network: str + :ivar next_hop: The route's next hop. + :vartype next_hop: str + :ivar source_peer: The peer this route was learned from. + :vartype source_peer: str + :ivar origin: The source this route was learned from. + :vartype origin: str + :ivar as_path: The route's AS path sequence. + :vartype as_path: str + :ivar weight: The route's weight. + :vartype weight: int + """ + + _validation = { + 'local_address': {'readonly': True}, + 'network': {'readonly': True}, + 'next_hop': {'readonly': True}, + 'source_peer': {'readonly': True}, + 'origin': {'readonly': True}, + 'as_path': {'readonly': True}, + 'weight': {'readonly': True}, + } + + _attribute_map = { + 'local_address': {'key': 'localAddress', 'type': 'str'}, + 'network': {'key': 'network', 'type': 'str'}, + 'next_hop': {'key': 'nextHop', 'type': 'str'}, + 'source_peer': {'key': 'sourcePeer', 'type': 'str'}, + 'origin': {'key': 'origin', 'type': 'str'}, + 'as_path': {'key': 'asPath', 'type': 'str'}, + 'weight': {'key': 'weight', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(GatewayRoute, self).__init__(**kwargs) + self.local_address = None + self.network = None + self.next_hop = None + self.source_peer = None + self.origin = None + self.as_path = None + self.weight = None + + +class GatewayRouteListResult(msrest.serialization.Model): + """List of virtual network gateway routes. + + :param value: List of gateway routes. + :type value: list[~azure.mgmt.network.v2021_02_01.models.GatewayRoute] + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[GatewayRoute]'}, + } + + def __init__( + self, + **kwargs + ): + super(GatewayRouteListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + + +class GenerateExpressRoutePortsLOARequest(msrest.serialization.Model): + """The customer name to be printed on a letter of authorization. + + All required parameters must be populated in order to send to Azure. + + :param customer_name: Required. The customer name. + :type customer_name: str + """ + + _validation = { + 'customer_name': {'required': True}, + } + + _attribute_map = { + 'customer_name': {'key': 'customerName', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(GenerateExpressRoutePortsLOARequest, self).__init__(**kwargs) + self.customer_name = kwargs['customer_name'] + + +class GenerateExpressRoutePortsLOAResult(msrest.serialization.Model): + """Response for GenerateExpressRoutePortsLOA API service call. + + :param encoded_content: The content as a base64 encoded string. + :type encoded_content: str + """ + + _attribute_map = { + 'encoded_content': {'key': 'encodedContent', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(GenerateExpressRoutePortsLOAResult, self).__init__(**kwargs) + self.encoded_content = kwargs.get('encoded_content', None) + + +class GetVpnSitesConfigurationRequest(msrest.serialization.Model): + """List of Vpn-Sites. + + All required parameters must be populated in order to send to Azure. + + :param vpn_sites: List of resource-ids of the vpn-sites for which config is to be downloaded. + :type vpn_sites: list[str] + :param output_blob_sas_url: Required. The sas-url to download the configurations for vpn-sites. + :type output_blob_sas_url: str + """ + + _validation = { + 'output_blob_sas_url': {'required': True}, + } + + _attribute_map = { + 'vpn_sites': {'key': 'vpnSites', 'type': '[str]'}, + 'output_blob_sas_url': {'key': 'outputBlobSasUrl', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(GetVpnSitesConfigurationRequest, self).__init__(**kwargs) + self.vpn_sites = kwargs.get('vpn_sites', None) + self.output_blob_sas_url = kwargs['output_blob_sas_url'] + + +class HopLink(msrest.serialization.Model): + """Hop link. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar next_hop_id: The ID of the next hop. + :vartype next_hop_id: str + :ivar link_type: Link type. + :vartype link_type: str + :ivar issues: List of issues. + :vartype issues: list[~azure.mgmt.network.v2021_02_01.models.ConnectivityIssue] + :ivar context: Provides additional context on links. + :vartype context: dict[str, str] + :ivar resource_id: Resource ID. + :vartype resource_id: str + :ivar round_trip_time_min: Minimum roundtrip time in milliseconds. + :vartype round_trip_time_min: long + :ivar round_trip_time_avg: Average roundtrip time in milliseconds. + :vartype round_trip_time_avg: long + :ivar round_trip_time_max: Maximum roundtrip time in milliseconds. + :vartype round_trip_time_max: long + """ + + _validation = { + 'next_hop_id': {'readonly': True}, + 'link_type': {'readonly': True}, + 'issues': {'readonly': True}, + 'context': {'readonly': True}, + 'resource_id': {'readonly': True}, + 'round_trip_time_min': {'readonly': True, 'maximum': 4294967295, 'minimum': 0}, + 'round_trip_time_avg': {'readonly': True, 'maximum': 4294967295, 'minimum': 0}, + 'round_trip_time_max': {'readonly': True, 'maximum': 4294967295, 'minimum': 0}, + } + + _attribute_map = { + 'next_hop_id': {'key': 'nextHopId', 'type': 'str'}, + 'link_type': {'key': 'linkType', 'type': 'str'}, + 'issues': {'key': 'issues', 'type': '[ConnectivityIssue]'}, + 'context': {'key': 'context', 'type': '{str}'}, + 'resource_id': {'key': 'resourceId', 'type': 'str'}, + 'round_trip_time_min': {'key': 'properties.roundTripTimeMin', 'type': 'long'}, + 'round_trip_time_avg': {'key': 'properties.roundTripTimeAvg', 'type': 'long'}, + 'round_trip_time_max': {'key': 'properties.roundTripTimeMax', 'type': 'long'}, + } + + def __init__( + self, + **kwargs + ): + super(HopLink, self).__init__(**kwargs) + self.next_hop_id = None + self.link_type = None + self.issues = None + self.context = None + self.resource_id = None + self.round_trip_time_min = None + self.round_trip_time_avg = None + self.round_trip_time_max = None + + +class HTTPConfiguration(msrest.serialization.Model): + """HTTP configuration of the connectivity check. + + :param method: HTTP method. Possible values include: "Get". + :type method: str or ~azure.mgmt.network.v2021_02_01.models.HTTPMethod + :param headers: List of HTTP headers. + :type headers: list[~azure.mgmt.network.v2021_02_01.models.HTTPHeader] + :param valid_status_codes: Valid status codes. + :type valid_status_codes: list[int] + """ + + _attribute_map = { + 'method': {'key': 'method', 'type': 'str'}, + 'headers': {'key': 'headers', 'type': '[HTTPHeader]'}, + 'valid_status_codes': {'key': 'validStatusCodes', 'type': '[int]'}, + } + + def __init__( + self, + **kwargs + ): + super(HTTPConfiguration, self).__init__(**kwargs) + self.method = kwargs.get('method', None) + self.headers = kwargs.get('headers', None) + self.valid_status_codes = kwargs.get('valid_status_codes', None) + + +class HTTPHeader(msrest.serialization.Model): + """The HTTP header. + + :param name: The name in HTTP header. + :type name: str + :param value: The value in HTTP header. + :type value: str + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'value': {'key': 'value', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(HTTPHeader, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.value = kwargs.get('value', None) + + +class HubIPAddresses(msrest.serialization.Model): + """IP addresses associated with azure firewall. + + :param public_i_ps: Public IP addresses associated with azure firewall. + :type public_i_ps: ~azure.mgmt.network.v2021_02_01.models.HubPublicIPAddresses + :param private_ip_address: Private IP Address associated with azure firewall. + :type private_ip_address: str + """ + + _attribute_map = { + 'public_i_ps': {'key': 'publicIPs', 'type': 'HubPublicIPAddresses'}, + 'private_ip_address': {'key': 'privateIPAddress', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(HubIPAddresses, self).__init__(**kwargs) + self.public_i_ps = kwargs.get('public_i_ps', None) + self.private_ip_address = kwargs.get('private_ip_address', None) + + +class HubIpConfiguration(SubResource): + """IpConfigurations. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: Name of the Ip Configuration. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Ipconfiguration type. + :vartype type: str + :param private_ip_address: The private IP address of the IP configuration. + :type private_ip_address: str + :param private_ip_allocation_method: The private IP address allocation method. Possible values + include: "Static", "Dynamic". + :type private_ip_allocation_method: str or + ~azure.mgmt.network.v2021_02_01.models.IPAllocationMethod + :param subnet: The reference to the subnet resource. + :type subnet: ~azure.mgmt.network.v2021_02_01.models.Subnet + :param public_ip_address: The reference to the public IP resource. + :type public_ip_address: ~azure.mgmt.network.v2021_02_01.models.PublicIPAddress + :ivar provisioning_state: The provisioning state of the IP configuration resource. Possible + values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'private_ip_address': {'key': 'properties.privateIPAddress', 'type': 'str'}, + 'private_ip_allocation_method': {'key': 'properties.privateIPAllocationMethod', 'type': 'str'}, + 'subnet': {'key': 'properties.subnet', 'type': 'Subnet'}, + 'public_ip_address': {'key': 'properties.publicIPAddress', 'type': 'PublicIPAddress'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(HubIpConfiguration, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.etag = None + self.type = None + self.private_ip_address = kwargs.get('private_ip_address', None) + self.private_ip_allocation_method = kwargs.get('private_ip_allocation_method', None) + self.subnet = kwargs.get('subnet', None) + self.public_ip_address = kwargs.get('public_ip_address', None) + self.provisioning_state = None + + +class HubPublicIPAddresses(msrest.serialization.Model): + """Public IP addresses associated with azure firewall. + + :param addresses: The list of Public IP addresses associated with azure firewall or IP + addresses to be retained. + :type addresses: list[~azure.mgmt.network.v2021_02_01.models.AzureFirewallPublicIPAddress] + :param count: The number of Public IP addresses associated with azure firewall. + :type count: int + """ + + _attribute_map = { + 'addresses': {'key': 'addresses', 'type': '[AzureFirewallPublicIPAddress]'}, + 'count': {'key': 'count', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(HubPublicIPAddresses, self).__init__(**kwargs) + self.addresses = kwargs.get('addresses', None) + self.count = kwargs.get('count', None) + + +class HubRoute(msrest.serialization.Model): + """RouteTable route. + + All required parameters must be populated in order to send to Azure. + + :param name: Required. The name of the Route that is unique within a RouteTable. This name can + be used to access this route. + :type name: str + :param destination_type: Required. The type of destinations (eg: CIDR, ResourceId, Service). + :type destination_type: str + :param destinations: Required. List of all destinations. + :type destinations: list[str] + :param next_hop_type: Required. The type of next hop (eg: ResourceId). + :type next_hop_type: str + :param next_hop: Required. NextHop resource ID. + :type next_hop: str + """ + + _validation = { + 'name': {'required': True}, + 'destination_type': {'required': True}, + 'destinations': {'required': True}, + 'next_hop_type': {'required': True}, + 'next_hop': {'required': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'destination_type': {'key': 'destinationType', 'type': 'str'}, + 'destinations': {'key': 'destinations', 'type': '[str]'}, + 'next_hop_type': {'key': 'nextHopType', 'type': 'str'}, + 'next_hop': {'key': 'nextHop', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(HubRoute, self).__init__(**kwargs) + self.name = kwargs['name'] + self.destination_type = kwargs['destination_type'] + self.destinations = kwargs['destinations'] + self.next_hop_type = kwargs['next_hop_type'] + self.next_hop = kwargs['next_hop'] + + +class HubRouteTable(SubResource): + """RouteTable resource in a virtual hub. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: The name of the resource that is unique within a resource group. This name can be + used to access the resource. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Resource type. + :vartype type: str + :param routes: List of all routes. + :type routes: list[~azure.mgmt.network.v2021_02_01.models.HubRoute] + :param labels: List of labels associated with this route table. + :type labels: list[str] + :ivar associated_connections: List of all connections associated with this route table. + :vartype associated_connections: list[str] + :ivar propagating_connections: List of all connections that advertise to this route table. + :vartype propagating_connections: list[str] + :ivar provisioning_state: The provisioning state of the RouteTable resource. Possible values + include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'associated_connections': {'readonly': True}, + 'propagating_connections': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'routes': {'key': 'properties.routes', 'type': '[HubRoute]'}, + 'labels': {'key': 'properties.labels', 'type': '[str]'}, + 'associated_connections': {'key': 'properties.associatedConnections', 'type': '[str]'}, + 'propagating_connections': {'key': 'properties.propagatingConnections', 'type': '[str]'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(HubRouteTable, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.etag = None + self.type = None + self.routes = kwargs.get('routes', None) + self.labels = kwargs.get('labels', None) + self.associated_connections = None + self.propagating_connections = None + self.provisioning_state = None + + +class HubVirtualNetworkConnection(SubResource): + """HubVirtualNetworkConnection Resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: The name of the resource that is unique within a resource group. This name can be + used to access the resource. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param remote_virtual_network: Reference to the remote virtual network. + :type remote_virtual_network: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param allow_hub_to_remote_vnet_transit: Deprecated: VirtualHub to RemoteVnet transit to + enabled or not. + :type allow_hub_to_remote_vnet_transit: bool + :param allow_remote_vnet_to_use_hub_vnet_gateways: Deprecated: Allow RemoteVnet to use Virtual + Hub's gateways. + :type allow_remote_vnet_to_use_hub_vnet_gateways: bool + :param enable_internet_security: Enable internet security. + :type enable_internet_security: bool + :param routing_configuration: The Routing Configuration indicating the associated and + propagated route tables on this connection. + :type routing_configuration: ~azure.mgmt.network.v2021_02_01.models.RoutingConfiguration + :ivar provisioning_state: The provisioning state of the hub virtual network connection + resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'remote_virtual_network': {'key': 'properties.remoteVirtualNetwork', 'type': 'SubResource'}, + 'allow_hub_to_remote_vnet_transit': {'key': 'properties.allowHubToRemoteVnetTransit', 'type': 'bool'}, + 'allow_remote_vnet_to_use_hub_vnet_gateways': {'key': 'properties.allowRemoteVnetToUseHubVnetGateways', 'type': 'bool'}, + 'enable_internet_security': {'key': 'properties.enableInternetSecurity', 'type': 'bool'}, + 'routing_configuration': {'key': 'properties.routingConfiguration', 'type': 'RoutingConfiguration'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(HubVirtualNetworkConnection, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.etag = None + self.remote_virtual_network = kwargs.get('remote_virtual_network', None) + self.allow_hub_to_remote_vnet_transit = kwargs.get('allow_hub_to_remote_vnet_transit', None) + self.allow_remote_vnet_to_use_hub_vnet_gateways = kwargs.get('allow_remote_vnet_to_use_hub_vnet_gateways', None) + self.enable_internet_security = kwargs.get('enable_internet_security', None) + self.routing_configuration = kwargs.get('routing_configuration', None) + self.provisioning_state = None + + +class InboundNatPool(SubResource): + """Inbound NAT pool of the load balancer. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: The name of the resource that is unique within the set of inbound NAT pools used + by the load balancer. This name can be used to access the resource. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str + :param frontend_ip_configuration: A reference to frontend IP addresses. + :type frontend_ip_configuration: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param protocol: The reference to the transport protocol used by the inbound NAT pool. Possible + values include: "Udp", "Tcp", "All". + :type protocol: str or ~azure.mgmt.network.v2021_02_01.models.TransportProtocol + :param frontend_port_range_start: The first port number in the range of external ports that + will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values + range between 1 and 65534. + :type frontend_port_range_start: int + :param frontend_port_range_end: The last port number in the range of external ports that will + be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range + between 1 and 65535. + :type frontend_port_range_end: int + :param backend_port: The port used for internal connections on the endpoint. Acceptable values + are between 1 and 65535. + :type backend_port: int + :param idle_timeout_in_minutes: The timeout for the TCP idle connection. The value can be set + between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the + protocol is set to TCP. + :type idle_timeout_in_minutes: int + :param enable_floating_ip: Configures a virtual machine's endpoint for the floating IP + capability required to configure a SQL AlwaysOn Availability Group. This setting is required + when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed + after you create the endpoint. + :type enable_floating_ip: bool + :param enable_tcp_reset: Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected + connection termination. This element is only used when the protocol is set to TCP. + :type enable_tcp_reset: bool + :ivar provisioning_state: The provisioning state of the inbound NAT pool resource. Possible + values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'frontend_ip_configuration': {'key': 'properties.frontendIPConfiguration', 'type': 'SubResource'}, + 'protocol': {'key': 'properties.protocol', 'type': 'str'}, + 'frontend_port_range_start': {'key': 'properties.frontendPortRangeStart', 'type': 'int'}, + 'frontend_port_range_end': {'key': 'properties.frontendPortRangeEnd', 'type': 'int'}, + 'backend_port': {'key': 'properties.backendPort', 'type': 'int'}, + 'idle_timeout_in_minutes': {'key': 'properties.idleTimeoutInMinutes', 'type': 'int'}, + 'enable_floating_ip': {'key': 'properties.enableFloatingIP', 'type': 'bool'}, + 'enable_tcp_reset': {'key': 'properties.enableTcpReset', 'type': 'bool'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(InboundNatPool, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.etag = None + self.type = None + self.frontend_ip_configuration = kwargs.get('frontend_ip_configuration', None) + self.protocol = kwargs.get('protocol', None) + self.frontend_port_range_start = kwargs.get('frontend_port_range_start', None) + self.frontend_port_range_end = kwargs.get('frontend_port_range_end', None) + self.backend_port = kwargs.get('backend_port', None) + self.idle_timeout_in_minutes = kwargs.get('idle_timeout_in_minutes', None) + self.enable_floating_ip = kwargs.get('enable_floating_ip', None) + self.enable_tcp_reset = kwargs.get('enable_tcp_reset', None) + self.provisioning_state = None + + +class InboundNatRule(SubResource): + """Inbound NAT rule of the load balancer. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: The name of the resource that is unique within the set of inbound NAT rules used + by the load balancer. This name can be used to access the resource. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str + :param frontend_ip_configuration: A reference to frontend IP addresses. + :type frontend_ip_configuration: ~azure.mgmt.network.v2021_02_01.models.SubResource + :ivar backend_ip_configuration: A reference to a private IP address defined on a network + interface of a VM. Traffic sent to the frontend port of each of the frontend IP configurations + is forwarded to the backend IP. + :vartype backend_ip_configuration: + ~azure.mgmt.network.v2021_02_01.models.NetworkInterfaceIPConfiguration + :param protocol: The reference to the transport protocol used by the load balancing rule. + Possible values include: "Udp", "Tcp", "All". + :type protocol: str or ~azure.mgmt.network.v2021_02_01.models.TransportProtocol + :param frontend_port: The port for the external endpoint. Port numbers for each rule must be + unique within the Load Balancer. Acceptable values range from 1 to 65534. + :type frontend_port: int + :param backend_port: The port used for the internal endpoint. Acceptable values range from 1 to + 65535. + :type backend_port: int + :param idle_timeout_in_minutes: The timeout for the TCP idle connection. The value can be set + between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the + protocol is set to TCP. + :type idle_timeout_in_minutes: int + :param enable_floating_ip: Configures a virtual machine's endpoint for the floating IP + capability required to configure a SQL AlwaysOn Availability Group. This setting is required + when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed + after you create the endpoint. + :type enable_floating_ip: bool + :param enable_tcp_reset: Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected + connection termination. This element is only used when the protocol is set to TCP. + :type enable_tcp_reset: bool + :ivar provisioning_state: The provisioning state of the inbound NAT rule resource. Possible + values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'backend_ip_configuration': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'frontend_ip_configuration': {'key': 'properties.frontendIPConfiguration', 'type': 'SubResource'}, + 'backend_ip_configuration': {'key': 'properties.backendIPConfiguration', 'type': 'NetworkInterfaceIPConfiguration'}, + 'protocol': {'key': 'properties.protocol', 'type': 'str'}, + 'frontend_port': {'key': 'properties.frontendPort', 'type': 'int'}, + 'backend_port': {'key': 'properties.backendPort', 'type': 'int'}, + 'idle_timeout_in_minutes': {'key': 'properties.idleTimeoutInMinutes', 'type': 'int'}, + 'enable_floating_ip': {'key': 'properties.enableFloatingIP', 'type': 'bool'}, + 'enable_tcp_reset': {'key': 'properties.enableTcpReset', 'type': 'bool'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(InboundNatRule, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.etag = None + self.type = None + self.frontend_ip_configuration = kwargs.get('frontend_ip_configuration', None) + self.backend_ip_configuration = None + self.protocol = kwargs.get('protocol', None) + self.frontend_port = kwargs.get('frontend_port', None) + self.backend_port = kwargs.get('backend_port', None) + self.idle_timeout_in_minutes = kwargs.get('idle_timeout_in_minutes', None) + self.enable_floating_ip = kwargs.get('enable_floating_ip', None) + self.enable_tcp_reset = kwargs.get('enable_tcp_reset', None) + self.provisioning_state = None + + +class InboundNatRuleListResult(msrest.serialization.Model): + """Response for ListInboundNatRule API service call. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: A list of inbound nat rules in a load balancer. + :type value: list[~azure.mgmt.network.v2021_02_01.models.InboundNatRule] + :ivar next_link: The URL to get the next set of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[InboundNatRule]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(InboundNatRuleListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = None + + +class InboundSecurityRule(SubResource): + """NVA Inbound Security Rule resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: Name of security rule collection. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: NVA inbound security rule type. + :vartype type: str + :param rules: List of allowed rules. + :type rules: list[~azure.mgmt.network.v2021_02_01.models.InboundSecurityRules] + :ivar provisioning_state: The provisioning state of the resource. Possible values include: + "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'rules': {'key': 'properties.rules', 'type': '[InboundSecurityRules]'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(InboundSecurityRule, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.etag = None + self.type = None + self.rules = kwargs.get('rules', None) + self.provisioning_state = None + + +class InboundSecurityRules(msrest.serialization.Model): + """Properties of the Inbound Security Rules resource. + + :param protocol: Protocol. This should be either TCP or UDP. Possible values include: "TCP", + "UDP". + :type protocol: str or ~azure.mgmt.network.v2021_02_01.models.InboundSecurityRulesProtocol + :param source_address_prefix: The CIDR or source IP range. Only /30, /31 and /32 Ip ranges are + allowed. + :type source_address_prefix: str + :param destination_port_range: NVA port ranges to be opened up. One needs to provide specific + ports. + :type destination_port_range: int + """ + + _validation = { + 'destination_port_range': {'maximum': 65535, 'minimum': 0}, + } + + _attribute_map = { + 'protocol': {'key': 'protocol', 'type': 'str'}, + 'source_address_prefix': {'key': 'sourceAddressPrefix', 'type': 'str'}, + 'destination_port_range': {'key': 'destinationPortRange', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(InboundSecurityRules, self).__init__(**kwargs) + self.protocol = kwargs.get('protocol', None) + self.source_address_prefix = kwargs.get('source_address_prefix', None) + self.destination_port_range = kwargs.get('destination_port_range', None) + + +class IPAddressAvailabilityResult(msrest.serialization.Model): + """Response for CheckIPAddressAvailability API service call. + + :param available: Private IP address availability. + :type available: bool + :param available_ip_addresses: Contains other available private IP addresses if the asked for + address is taken. + :type available_ip_addresses: list[str] + :param is_platform_reserved: Private IP address platform reserved. + :type is_platform_reserved: bool + """ + + _attribute_map = { + 'available': {'key': 'available', 'type': 'bool'}, + 'available_ip_addresses': {'key': 'availableIPAddresses', 'type': '[str]'}, + 'is_platform_reserved': {'key': 'isPlatformReserved', 'type': 'bool'}, + } + + def __init__( + self, + **kwargs + ): + super(IPAddressAvailabilityResult, self).__init__(**kwargs) + self.available = kwargs.get('available', None) + self.available_ip_addresses = kwargs.get('available_ip_addresses', None) + self.is_platform_reserved = kwargs.get('is_platform_reserved', None) + + +class IpAllocation(Resource): + """IpAllocation resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar subnet: The Subnet that using the prefix of this IpAllocation resource. + :vartype subnet: ~azure.mgmt.network.v2021_02_01.models.SubResource + :ivar virtual_network: The VirtualNetwork that using the prefix of this IpAllocation resource. + :vartype virtual_network: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param type_properties_type: The type for the IpAllocation. Possible values include: + "Undefined", "Hypernet". + :type type_properties_type: str or ~azure.mgmt.network.v2021_02_01.models.IpAllocationType + :param prefix: The address prefix for the IpAllocation. + :type prefix: str + :param prefix_length: The address prefix length for the IpAllocation. + :type prefix_length: int + :param prefix_type: The address prefix Type for the IpAllocation. Possible values include: + "IPv4", "IPv6". + :type prefix_type: str or ~azure.mgmt.network.v2021_02_01.models.IPVersion + :param ipam_allocation_id: The IPAM allocation ID. + :type ipam_allocation_id: str + :param allocation_tags: IpAllocation tags. + :type allocation_tags: dict[str, str] + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'subnet': {'readonly': True}, + 'virtual_network': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'subnet': {'key': 'properties.subnet', 'type': 'SubResource'}, + 'virtual_network': {'key': 'properties.virtualNetwork', 'type': 'SubResource'}, + 'type_properties_type': {'key': 'properties.type', 'type': 'str'}, + 'prefix': {'key': 'properties.prefix', 'type': 'str'}, + 'prefix_length': {'key': 'properties.prefixLength', 'type': 'int'}, + 'prefix_type': {'key': 'properties.prefixType', 'type': 'str'}, + 'ipam_allocation_id': {'key': 'properties.ipamAllocationId', 'type': 'str'}, + 'allocation_tags': {'key': 'properties.allocationTags', 'type': '{str}'}, + } + + def __init__( + self, + **kwargs + ): + super(IpAllocation, self).__init__(**kwargs) + self.etag = None + self.subnet = None + self.virtual_network = None + self.type_properties_type = kwargs.get('type_properties_type', None) + self.prefix = kwargs.get('prefix', None) + self.prefix_length = kwargs.get('prefix_length', 0) + self.prefix_type = kwargs.get('prefix_type', None) + self.ipam_allocation_id = kwargs.get('ipam_allocation_id', None) + self.allocation_tags = kwargs.get('allocation_tags', None) + + +class IpAllocationListResult(msrest.serialization.Model): + """Response for the ListIpAllocations API service call. + + :param value: A list of IpAllocation resources. + :type value: list[~azure.mgmt.network.v2021_02_01.models.IpAllocation] + :param next_link: The URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[IpAllocation]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(IpAllocationListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = kwargs.get('next_link', None) + + +class IPConfiguration(SubResource): + """IP configuration. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: The name of the resource that is unique within a resource group. This name can be + used to access the resource. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param private_ip_address: The private IP address of the IP configuration. + :type private_ip_address: str + :param private_ip_allocation_method: The private IP address allocation method. Possible values + include: "Static", "Dynamic". + :type private_ip_allocation_method: str or + ~azure.mgmt.network.v2021_02_01.models.IPAllocationMethod + :param subnet: The reference to the subnet resource. + :type subnet: ~azure.mgmt.network.v2021_02_01.models.Subnet + :param public_ip_address: The reference to the public IP resource. + :type public_ip_address: ~azure.mgmt.network.v2021_02_01.models.PublicIPAddress + :ivar provisioning_state: The provisioning state of the IP configuration resource. Possible + values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'private_ip_address': {'key': 'properties.privateIPAddress', 'type': 'str'}, + 'private_ip_allocation_method': {'key': 'properties.privateIPAllocationMethod', 'type': 'str'}, + 'subnet': {'key': 'properties.subnet', 'type': 'Subnet'}, + 'public_ip_address': {'key': 'properties.publicIPAddress', 'type': 'PublicIPAddress'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(IPConfiguration, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.etag = None + self.private_ip_address = kwargs.get('private_ip_address', None) + self.private_ip_allocation_method = kwargs.get('private_ip_allocation_method', None) + self.subnet = kwargs.get('subnet', None) + self.public_ip_address = kwargs.get('public_ip_address', None) + self.provisioning_state = None + + +class IPConfigurationBgpPeeringAddress(msrest.serialization.Model): + """Properties of IPConfigurationBgpPeeringAddress. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param ipconfiguration_id: The ID of IP configuration which belongs to gateway. + :type ipconfiguration_id: str + :ivar default_bgp_ip_addresses: The list of default BGP peering addresses which belong to IP + configuration. + :vartype default_bgp_ip_addresses: list[str] + :param custom_bgp_ip_addresses: The list of custom BGP peering addresses which belong to IP + configuration. + :type custom_bgp_ip_addresses: list[str] + :ivar tunnel_ip_addresses: The list of tunnel public IP addresses which belong to IP + configuration. + :vartype tunnel_ip_addresses: list[str] + """ + + _validation = { + 'default_bgp_ip_addresses': {'readonly': True}, + 'tunnel_ip_addresses': {'readonly': True}, + } + + _attribute_map = { + 'ipconfiguration_id': {'key': 'ipconfigurationId', 'type': 'str'}, + 'default_bgp_ip_addresses': {'key': 'defaultBgpIpAddresses', 'type': '[str]'}, + 'custom_bgp_ip_addresses': {'key': 'customBgpIpAddresses', 'type': '[str]'}, + 'tunnel_ip_addresses': {'key': 'tunnelIpAddresses', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(IPConfigurationBgpPeeringAddress, self).__init__(**kwargs) + self.ipconfiguration_id = kwargs.get('ipconfiguration_id', None) + self.default_bgp_ip_addresses = None + self.custom_bgp_ip_addresses = kwargs.get('custom_bgp_ip_addresses', None) + self.tunnel_ip_addresses = None + + +class IPConfigurationProfile(SubResource): + """IP configuration profile child resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: The name of the resource. This name can be used to access the resource. + :type name: str + :ivar type: Sub Resource type. + :vartype type: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param subnet: The reference to the subnet resource to create a container network interface ip + configuration. + :type subnet: ~azure.mgmt.network.v2021_02_01.models.Subnet + :ivar provisioning_state: The provisioning state of the IP configuration profile resource. + Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'subnet': {'key': 'properties.subnet', 'type': 'Subnet'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(IPConfigurationProfile, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.type = None + self.etag = None + self.subnet = kwargs.get('subnet', None) + self.provisioning_state = None + + +class IpGroup(Resource): + """The IpGroups resource information. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar provisioning_state: The provisioning state of the IpGroups resource. Possible values + include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :param ip_addresses: IpAddresses/IpAddressPrefixes in the IpGroups resource. + :type ip_addresses: list[str] + :ivar firewalls: List of references to Firewall resources that this IpGroups is associated + with. + :vartype firewalls: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + :ivar firewall_policies: List of references to Firewall Policies resources that this IpGroups + is associated with. + :vartype firewall_policies: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'firewalls': {'readonly': True}, + 'firewall_policies': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'ip_addresses': {'key': 'properties.ipAddresses', 'type': '[str]'}, + 'firewalls': {'key': 'properties.firewalls', 'type': '[SubResource]'}, + 'firewall_policies': {'key': 'properties.firewallPolicies', 'type': '[SubResource]'}, + } + + def __init__( + self, + **kwargs + ): + super(IpGroup, self).__init__(**kwargs) + self.etag = None + self.provisioning_state = None + self.ip_addresses = kwargs.get('ip_addresses', None) + self.firewalls = None + self.firewall_policies = None + + +class IpGroupListResult(msrest.serialization.Model): + """Response for the ListIpGroups API service call. + + :param value: The list of IpGroups information resources. + :type value: list[~azure.mgmt.network.v2021_02_01.models.IpGroup] + :param next_link: URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[IpGroup]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(IpGroupListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = kwargs.get('next_link', None) + + +class IpsecPolicy(msrest.serialization.Model): + """An IPSec Policy configuration for a virtual network gateway connection. + + All required parameters must be populated in order to send to Azure. + + :param sa_life_time_seconds: Required. The IPSec Security Association (also called Quick Mode + or Phase 2 SA) lifetime in seconds for a site to site VPN tunnel. + :type sa_life_time_seconds: int + :param sa_data_size_kilobytes: Required. The IPSec Security Association (also called Quick Mode + or Phase 2 SA) payload size in KB for a site to site VPN tunnel. + :type sa_data_size_kilobytes: int + :param ipsec_encryption: Required. The IPSec encryption algorithm (IKE phase 1). Possible + values include: "None", "DES", "DES3", "AES128", "AES192", "AES256", "GCMAES128", "GCMAES192", + "GCMAES256". + :type ipsec_encryption: str or ~azure.mgmt.network.v2021_02_01.models.IpsecEncryption + :param ipsec_integrity: Required. The IPSec integrity algorithm (IKE phase 1). Possible values + include: "MD5", "SHA1", "SHA256", "GCMAES128", "GCMAES192", "GCMAES256". + :type ipsec_integrity: str or ~azure.mgmt.network.v2021_02_01.models.IpsecIntegrity + :param ike_encryption: Required. The IKE encryption algorithm (IKE phase 2). Possible values + include: "DES", "DES3", "AES128", "AES192", "AES256", "GCMAES256", "GCMAES128". + :type ike_encryption: str or ~azure.mgmt.network.v2021_02_01.models.IkeEncryption + :param ike_integrity: Required. The IKE integrity algorithm (IKE phase 2). Possible values + include: "MD5", "SHA1", "SHA256", "SHA384", "GCMAES256", "GCMAES128". + :type ike_integrity: str or ~azure.mgmt.network.v2021_02_01.models.IkeIntegrity + :param dh_group: Required. The DH Group used in IKE Phase 1 for initial SA. Possible values + include: "None", "DHGroup1", "DHGroup2", "DHGroup14", "DHGroup2048", "ECP256", "ECP384", + "DHGroup24". + :type dh_group: str or ~azure.mgmt.network.v2021_02_01.models.DhGroup + :param pfs_group: Required. The Pfs Group used in IKE Phase 2 for new child SA. Possible values + include: "None", "PFS1", "PFS2", "PFS2048", "ECP256", "ECP384", "PFS24", "PFS14", "PFSMM". + :type pfs_group: str or ~azure.mgmt.network.v2021_02_01.models.PfsGroup + """ + + _validation = { + 'sa_life_time_seconds': {'required': True}, + 'sa_data_size_kilobytes': {'required': True}, + 'ipsec_encryption': {'required': True}, + 'ipsec_integrity': {'required': True}, + 'ike_encryption': {'required': True}, + 'ike_integrity': {'required': True}, + 'dh_group': {'required': True}, + 'pfs_group': {'required': True}, + } + + _attribute_map = { + 'sa_life_time_seconds': {'key': 'saLifeTimeSeconds', 'type': 'int'}, + 'sa_data_size_kilobytes': {'key': 'saDataSizeKilobytes', 'type': 'int'}, + 'ipsec_encryption': {'key': 'ipsecEncryption', 'type': 'str'}, + 'ipsec_integrity': {'key': 'ipsecIntegrity', 'type': 'str'}, + 'ike_encryption': {'key': 'ikeEncryption', 'type': 'str'}, + 'ike_integrity': {'key': 'ikeIntegrity', 'type': 'str'}, + 'dh_group': {'key': 'dhGroup', 'type': 'str'}, + 'pfs_group': {'key': 'pfsGroup', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(IpsecPolicy, self).__init__(**kwargs) + self.sa_life_time_seconds = kwargs['sa_life_time_seconds'] + self.sa_data_size_kilobytes = kwargs['sa_data_size_kilobytes'] + self.ipsec_encryption = kwargs['ipsec_encryption'] + self.ipsec_integrity = kwargs['ipsec_integrity'] + self.ike_encryption = kwargs['ike_encryption'] + self.ike_integrity = kwargs['ike_integrity'] + self.dh_group = kwargs['dh_group'] + self.pfs_group = kwargs['pfs_group'] + + +class IpTag(msrest.serialization.Model): + """Contains the IpTag associated with the object. + + :param ip_tag_type: The IP tag type. Example: FirstPartyUsage. + :type ip_tag_type: str + :param tag: The value of the IP tag associated with the public IP. Example: SQL. + :type tag: str + """ + + _attribute_map = { + 'ip_tag_type': {'key': 'ipTagType', 'type': 'str'}, + 'tag': {'key': 'tag', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(IpTag, self).__init__(**kwargs) + self.ip_tag_type = kwargs.get('ip_tag_type', None) + self.tag = kwargs.get('tag', None) + + +class Ipv6CircuitConnectionConfig(msrest.serialization.Model): + """IPv6 Circuit Connection properties for global reach. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param address_prefix: /125 IP address space to carve out customer addresses for global reach. + :type address_prefix: str + :ivar circuit_connection_status: Express Route Circuit connection state. Possible values + include: "Connected", "Connecting", "Disconnected". + :vartype circuit_connection_status: str or + ~azure.mgmt.network.v2021_02_01.models.CircuitConnectionStatus + """ + + _validation = { + 'circuit_connection_status': {'readonly': True}, + } + + _attribute_map = { + 'address_prefix': {'key': 'addressPrefix', 'type': 'str'}, + 'circuit_connection_status': {'key': 'circuitConnectionStatus', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(Ipv6CircuitConnectionConfig, self).__init__(**kwargs) + self.address_prefix = kwargs.get('address_prefix', None) + self.circuit_connection_status = None + + +class Ipv6ExpressRouteCircuitPeeringConfig(msrest.serialization.Model): + """Contains IPv6 peering config. + + :param primary_peer_address_prefix: The primary address prefix. + :type primary_peer_address_prefix: str + :param secondary_peer_address_prefix: The secondary address prefix. + :type secondary_peer_address_prefix: str + :param microsoft_peering_config: The Microsoft peering configuration. + :type microsoft_peering_config: + ~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitPeeringConfig + :param route_filter: The reference to the RouteFilter resource. + :type route_filter: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param state: The state of peering. Possible values include: "Disabled", "Enabled". + :type state: str or ~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitPeeringState + """ + + _attribute_map = { + 'primary_peer_address_prefix': {'key': 'primaryPeerAddressPrefix', 'type': 'str'}, + 'secondary_peer_address_prefix': {'key': 'secondaryPeerAddressPrefix', 'type': 'str'}, + 'microsoft_peering_config': {'key': 'microsoftPeeringConfig', 'type': 'ExpressRouteCircuitPeeringConfig'}, + 'route_filter': {'key': 'routeFilter', 'type': 'SubResource'}, + 'state': {'key': 'state', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(Ipv6ExpressRouteCircuitPeeringConfig, self).__init__(**kwargs) + self.primary_peer_address_prefix = kwargs.get('primary_peer_address_prefix', None) + self.secondary_peer_address_prefix = kwargs.get('secondary_peer_address_prefix', None) + self.microsoft_peering_config = kwargs.get('microsoft_peering_config', None) + self.route_filter = kwargs.get('route_filter', None) + self.state = kwargs.get('state', None) + + +class ListHubRouteTablesResult(msrest.serialization.Model): + """List of RouteTables and a URL nextLink to get the next set of results. + + :param value: List of RouteTables. + :type value: list[~azure.mgmt.network.v2021_02_01.models.HubRouteTable] + :param next_link: URL to get the next set of operation list results if there are any. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[HubRouteTable]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ListHubRouteTablesResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = kwargs.get('next_link', None) + + +class ListHubVirtualNetworkConnectionsResult(msrest.serialization.Model): + """List of HubVirtualNetworkConnections and a URL nextLink to get the next set of results. + + :param value: List of HubVirtualNetworkConnections. + :type value: list[~azure.mgmt.network.v2021_02_01.models.HubVirtualNetworkConnection] + :param next_link: URL to get the next set of operation list results if there are any. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[HubVirtualNetworkConnection]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ListHubVirtualNetworkConnectionsResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = kwargs.get('next_link', None) + + +class ListP2SVpnGatewaysResult(msrest.serialization.Model): + """Result of the request to list P2SVpnGateways. It contains a list of P2SVpnGateways and a URL nextLink to get the next set of results. + + :param value: List of P2SVpnGateways. + :type value: list[~azure.mgmt.network.v2021_02_01.models.P2SVpnGateway] + :param next_link: URL to get the next set of operation list results if there are any. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[P2SVpnGateway]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ListP2SVpnGatewaysResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = kwargs.get('next_link', None) + + +class ListVirtualHubBgpConnectionResults(msrest.serialization.Model): + """VirtualHubBgpConnections list. + + :param value: The list of VirtualHubBgpConnections. + :type value: list[~azure.mgmt.network.v2021_02_01.models.BgpConnection] + :param next_link: URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[BgpConnection]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ListVirtualHubBgpConnectionResults, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = kwargs.get('next_link', None) + + +class ListVirtualHubIpConfigurationResults(msrest.serialization.Model): + """VirtualHubIpConfigurations list. + + :param value: The list of VirtualHubIpConfigurations. + :type value: list[~azure.mgmt.network.v2021_02_01.models.HubIpConfiguration] + :param next_link: URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[HubIpConfiguration]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ListVirtualHubIpConfigurationResults, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = kwargs.get('next_link', None) + + +class ListVirtualHubRouteTableV2SResult(msrest.serialization.Model): + """List of VirtualHubRouteTableV2s and a URL nextLink to get the next set of results. + + :param value: List of VirtualHubRouteTableV2s. + :type value: list[~azure.mgmt.network.v2021_02_01.models.VirtualHubRouteTableV2] + :param next_link: URL to get the next set of operation list results if there are any. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[VirtualHubRouteTableV2]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ListVirtualHubRouteTableV2SResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = kwargs.get('next_link', None) + + +class ListVirtualHubsResult(msrest.serialization.Model): + """Result of the request to list VirtualHubs. It contains a list of VirtualHubs and a URL nextLink to get the next set of results. + + :param value: List of VirtualHubs. + :type value: list[~azure.mgmt.network.v2021_02_01.models.VirtualHub] + :param next_link: URL to get the next set of operation list results if there are any. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[VirtualHub]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ListVirtualHubsResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = kwargs.get('next_link', None) + + +class ListVirtualNetworkGatewayNatRulesResult(msrest.serialization.Model): + """Result of the request to list all nat rules to a virtual network gateway. It contains a list of Nat rules and a URL nextLink to get the next set of results. + + :param value: List of Nat Rules. + :type value: list[~azure.mgmt.network.v2021_02_01.models.VirtualNetworkGatewayNatRule] + :param next_link: URL to get the next set of operation list results if there are any. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[VirtualNetworkGatewayNatRule]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ListVirtualNetworkGatewayNatRulesResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = kwargs.get('next_link', None) + + +class ListVirtualWANsResult(msrest.serialization.Model): + """Result of the request to list VirtualWANs. It contains a list of VirtualWANs and a URL nextLink to get the next set of results. + + :param value: List of VirtualWANs. + :type value: list[~azure.mgmt.network.v2021_02_01.models.VirtualWAN] + :param next_link: URL to get the next set of operation list results if there are any. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[VirtualWAN]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ListVirtualWANsResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = kwargs.get('next_link', None) + + +class ListVpnConnectionsResult(msrest.serialization.Model): + """Result of the request to list all vpn connections to a virtual wan vpn gateway. It contains a list of Vpn Connections and a URL nextLink to get the next set of results. + + :param value: List of Vpn Connections. + :type value: list[~azure.mgmt.network.v2021_02_01.models.VpnConnection] + :param next_link: URL to get the next set of operation list results if there are any. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[VpnConnection]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ListVpnConnectionsResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = kwargs.get('next_link', None) + + +class ListVpnGatewayNatRulesResult(msrest.serialization.Model): + """Result of the request to list all nat rules to a virtual wan vpn gateway. It contains a list of Nat rules and a URL nextLink to get the next set of results. + + :param value: List of Nat Rules. + :type value: list[~azure.mgmt.network.v2021_02_01.models.VpnGatewayNatRule] + :param next_link: URL to get the next set of operation list results if there are any. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[VpnGatewayNatRule]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ListVpnGatewayNatRulesResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = kwargs.get('next_link', None) + + +class ListVpnGatewaysResult(msrest.serialization.Model): + """Result of the request to list VpnGateways. It contains a list of VpnGateways and a URL nextLink to get the next set of results. + + :param value: List of VpnGateways. + :type value: list[~azure.mgmt.network.v2021_02_01.models.VpnGateway] + :param next_link: URL to get the next set of operation list results if there are any. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[VpnGateway]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ListVpnGatewaysResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = kwargs.get('next_link', None) + + +class ListVpnServerConfigurationsResult(msrest.serialization.Model): + """Result of the request to list all VpnServerConfigurations. It contains a list of VpnServerConfigurations and a URL nextLink to get the next set of results. + + :param value: List of VpnServerConfigurations. + :type value: list[~azure.mgmt.network.v2021_02_01.models.VpnServerConfiguration] + :param next_link: URL to get the next set of operation list results if there are any. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[VpnServerConfiguration]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ListVpnServerConfigurationsResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = kwargs.get('next_link', None) + + +class ListVpnSiteLinkConnectionsResult(msrest.serialization.Model): + """Result of the request to list all vpn connections to a virtual wan vpn gateway. It contains a list of Vpn Connections and a URL nextLink to get the next set of results. + + :param value: List of VpnSiteLinkConnections. + :type value: list[~azure.mgmt.network.v2021_02_01.models.VpnSiteLinkConnection] + :param next_link: URL to get the next set of operation list results if there are any. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[VpnSiteLinkConnection]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ListVpnSiteLinkConnectionsResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = kwargs.get('next_link', None) + + +class ListVpnSiteLinksResult(msrest.serialization.Model): + """Result of the request to list VpnSiteLinks. It contains a list of VpnSiteLinks and a URL nextLink to get the next set of results. + + :param value: List of VpnSitesLinks. + :type value: list[~azure.mgmt.network.v2021_02_01.models.VpnSiteLink] + :param next_link: URL to get the next set of operation list results if there are any. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[VpnSiteLink]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ListVpnSiteLinksResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = kwargs.get('next_link', None) + + +class ListVpnSitesResult(msrest.serialization.Model): + """Result of the request to list VpnSites. It contains a list of VpnSites and a URL nextLink to get the next set of results. + + :param value: List of VpnSites. + :type value: list[~azure.mgmt.network.v2021_02_01.models.VpnSite] + :param next_link: URL to get the next set of operation list results if there are any. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[VpnSite]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ListVpnSitesResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = kwargs.get('next_link', None) + + +class LoadBalancer(Resource): + """LoadBalancer resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :param extended_location: The extended location of the load balancer. + :type extended_location: ~azure.mgmt.network.v2021_02_01.models.ExtendedLocation + :param sku: The load balancer SKU. + :type sku: ~azure.mgmt.network.v2021_02_01.models.LoadBalancerSku + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param frontend_ip_configurations: Object representing the frontend IPs to be used for the load + balancer. + :type frontend_ip_configurations: + list[~azure.mgmt.network.v2021_02_01.models.FrontendIPConfiguration] + :param backend_address_pools: Collection of backend address pools used by a load balancer. + :type backend_address_pools: list[~azure.mgmt.network.v2021_02_01.models.BackendAddressPool] + :param load_balancing_rules: Object collection representing the load balancing rules Gets the + provisioning. + :type load_balancing_rules: list[~azure.mgmt.network.v2021_02_01.models.LoadBalancingRule] + :param probes: Collection of probe objects used in the load balancer. + :type probes: list[~azure.mgmt.network.v2021_02_01.models.Probe] + :param inbound_nat_rules: Collection of inbound NAT Rules used by a load balancer. Defining + inbound NAT rules on your load balancer is mutually exclusive with defining an inbound NAT + pool. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are + associated with individual virtual machines cannot reference an Inbound NAT pool. They have to + reference individual inbound NAT rules. + :type inbound_nat_rules: list[~azure.mgmt.network.v2021_02_01.models.InboundNatRule] + :param inbound_nat_pools: Defines an external port range for inbound NAT to a single backend + port on NICs associated with a load balancer. Inbound NAT rules are created automatically for + each NIC associated with the Load Balancer using an external port from this range. Defining an + Inbound NAT pool on your Load Balancer is mutually exclusive with defining inbound Nat rules. + Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with + individual virtual machines cannot reference an inbound NAT pool. They have to reference + individual inbound NAT rules. + :type inbound_nat_pools: list[~azure.mgmt.network.v2021_02_01.models.InboundNatPool] + :param outbound_rules: The outbound rules. + :type outbound_rules: list[~azure.mgmt.network.v2021_02_01.models.OutboundRule] + :ivar resource_guid: The resource GUID property of the load balancer resource. + :vartype resource_guid: str + :ivar provisioning_state: The provisioning state of the load balancer resource. Possible values + include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'resource_guid': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'extended_location': {'key': 'extendedLocation', 'type': 'ExtendedLocation'}, + 'sku': {'key': 'sku', 'type': 'LoadBalancerSku'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'frontend_ip_configurations': {'key': 'properties.frontendIPConfigurations', 'type': '[FrontendIPConfiguration]'}, + 'backend_address_pools': {'key': 'properties.backendAddressPools', 'type': '[BackendAddressPool]'}, + 'load_balancing_rules': {'key': 'properties.loadBalancingRules', 'type': '[LoadBalancingRule]'}, + 'probes': {'key': 'properties.probes', 'type': '[Probe]'}, + 'inbound_nat_rules': {'key': 'properties.inboundNatRules', 'type': '[InboundNatRule]'}, + 'inbound_nat_pools': {'key': 'properties.inboundNatPools', 'type': '[InboundNatPool]'}, + 'outbound_rules': {'key': 'properties.outboundRules', 'type': '[OutboundRule]'}, + 'resource_guid': {'key': 'properties.resourceGuid', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(LoadBalancer, self).__init__(**kwargs) + self.extended_location = kwargs.get('extended_location', None) + self.sku = kwargs.get('sku', None) + self.etag = None + self.frontend_ip_configurations = kwargs.get('frontend_ip_configurations', None) + self.backend_address_pools = kwargs.get('backend_address_pools', None) + self.load_balancing_rules = kwargs.get('load_balancing_rules', None) + self.probes = kwargs.get('probes', None) + self.inbound_nat_rules = kwargs.get('inbound_nat_rules', None) + self.inbound_nat_pools = kwargs.get('inbound_nat_pools', None) + self.outbound_rules = kwargs.get('outbound_rules', None) + self.resource_guid = None + self.provisioning_state = None + + +class LoadBalancerBackendAddress(msrest.serialization.Model): + """Load balancer backend addresses. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param name: Name of the backend address. + :type name: str + :param virtual_network: Reference to an existing virtual network. + :type virtual_network: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param subnet: Reference to an existing subnet. + :type subnet: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param ip_address: IP Address belonging to the referenced virtual network. + :type ip_address: str + :ivar network_interface_ip_configuration: Reference to IP address defined in network + interfaces. + :vartype network_interface_ip_configuration: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param load_balancer_frontend_ip_configuration: Reference to the frontend ip address + configuration defined in regional loadbalancer. + :type load_balancer_frontend_ip_configuration: + ~azure.mgmt.network.v2021_02_01.models.SubResource + """ + + _validation = { + 'network_interface_ip_configuration': {'readonly': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'virtual_network': {'key': 'properties.virtualNetwork', 'type': 'SubResource'}, + 'subnet': {'key': 'properties.subnet', 'type': 'SubResource'}, + 'ip_address': {'key': 'properties.ipAddress', 'type': 'str'}, + 'network_interface_ip_configuration': {'key': 'properties.networkInterfaceIPConfiguration', 'type': 'SubResource'}, + 'load_balancer_frontend_ip_configuration': {'key': 'properties.loadBalancerFrontendIPConfiguration', 'type': 'SubResource'}, + } + + def __init__( + self, + **kwargs + ): + super(LoadBalancerBackendAddress, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.virtual_network = kwargs.get('virtual_network', None) + self.subnet = kwargs.get('subnet', None) + self.ip_address = kwargs.get('ip_address', None) + self.network_interface_ip_configuration = None + self.load_balancer_frontend_ip_configuration = kwargs.get('load_balancer_frontend_ip_configuration', None) + + +class LoadBalancerBackendAddressPoolListResult(msrest.serialization.Model): + """Response for ListBackendAddressPool API service call. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: A list of backend address pools in a load balancer. + :type value: list[~azure.mgmt.network.v2021_02_01.models.BackendAddressPool] + :ivar next_link: The URL to get the next set of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[BackendAddressPool]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(LoadBalancerBackendAddressPoolListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = None + + +class LoadBalancerFrontendIPConfigurationListResult(msrest.serialization.Model): + """Response for ListFrontendIPConfiguration API service call. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: A list of frontend IP configurations in a load balancer. + :type value: list[~azure.mgmt.network.v2021_02_01.models.FrontendIPConfiguration] + :ivar next_link: The URL to get the next set of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[FrontendIPConfiguration]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(LoadBalancerFrontendIPConfigurationListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = None + + +class LoadBalancerListResult(msrest.serialization.Model): + """Response for ListLoadBalancers API service call. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: A list of load balancers in a resource group. + :type value: list[~azure.mgmt.network.v2021_02_01.models.LoadBalancer] + :ivar next_link: The URL to get the next set of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[LoadBalancer]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(LoadBalancerListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = None + + +class LoadBalancerLoadBalancingRuleListResult(msrest.serialization.Model): + """Response for ListLoadBalancingRule API service call. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: A list of load balancing rules in a load balancer. + :type value: list[~azure.mgmt.network.v2021_02_01.models.LoadBalancingRule] + :ivar next_link: The URL to get the next set of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[LoadBalancingRule]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(LoadBalancerLoadBalancingRuleListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = None + + +class LoadBalancerOutboundRuleListResult(msrest.serialization.Model): + """Response for ListOutboundRule API service call. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: A list of outbound rules in a load balancer. + :type value: list[~azure.mgmt.network.v2021_02_01.models.OutboundRule] + :ivar next_link: The URL to get the next set of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[OutboundRule]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(LoadBalancerOutboundRuleListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = None + + +class LoadBalancerProbeListResult(msrest.serialization.Model): + """Response for ListProbe API service call. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: A list of probes in a load balancer. + :type value: list[~azure.mgmt.network.v2021_02_01.models.Probe] + :ivar next_link: The URL to get the next set of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Probe]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(LoadBalancerProbeListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = None + + +class LoadBalancerSku(msrest.serialization.Model): + """SKU of a load balancer. + + :param name: Name of a load balancer SKU. Possible values include: "Basic", "Standard", + "Gateway". + :type name: str or ~azure.mgmt.network.v2021_02_01.models.LoadBalancerSkuName + :param tier: Tier of a load balancer SKU. Possible values include: "Regional", "Global". + :type tier: str or ~azure.mgmt.network.v2021_02_01.models.LoadBalancerSkuTier + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'tier': {'key': 'tier', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(LoadBalancerSku, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.tier = kwargs.get('tier', None) + + +class LoadBalancerVipSwapRequest(msrest.serialization.Model): + """The request for a VIP swap. + + :param frontend_ip_configurations: A list of frontend IP configuration resources that should + swap VIPs. + :type frontend_ip_configurations: + list[~azure.mgmt.network.v2021_02_01.models.LoadBalancerVipSwapRequestFrontendIPConfiguration] + """ + + _attribute_map = { + 'frontend_ip_configurations': {'key': 'frontendIPConfigurations', 'type': '[LoadBalancerVipSwapRequestFrontendIPConfiguration]'}, + } + + def __init__( + self, + **kwargs + ): + super(LoadBalancerVipSwapRequest, self).__init__(**kwargs) + self.frontend_ip_configurations = kwargs.get('frontend_ip_configurations', None) + + +class LoadBalancerVipSwapRequestFrontendIPConfiguration(msrest.serialization.Model): + """VIP swap request's frontend IP configuration object. + + :param id: The ID of frontend IP configuration resource. + :type id: str + :param public_ip_address: A reference to public IP address resource. + :type public_ip_address: ~azure.mgmt.network.v2021_02_01.models.SubResource + """ + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'public_ip_address': {'key': 'properties.publicIPAddress', 'type': 'SubResource'}, + } + + def __init__( + self, + **kwargs + ): + super(LoadBalancerVipSwapRequestFrontendIPConfiguration, self).__init__(**kwargs) + self.id = kwargs.get('id', None) + self.public_ip_address = kwargs.get('public_ip_address', None) + + +class LoadBalancingRule(SubResource): + """A load balancing rule for a load balancer. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: The name of the resource that is unique within the set of load balancing rules + used by the load balancer. This name can be used to access the resource. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str + :param frontend_ip_configuration: A reference to frontend IP addresses. + :type frontend_ip_configuration: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param backend_address_pool: A reference to a pool of DIPs. Inbound traffic is randomly load + balanced across IPs in the backend IPs. + :type backend_address_pool: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param backend_address_pools: An array of references to pool of DIPs. + :type backend_address_pools: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + :param probe: The reference to the load balancer probe used by the load balancing rule. + :type probe: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param protocol: The reference to the transport protocol used by the load balancing rule. + Possible values include: "Udp", "Tcp", "All". + :type protocol: str or ~azure.mgmt.network.v2021_02_01.models.TransportProtocol + :param load_distribution: The load distribution policy for this rule. Possible values include: + "Default", "SourceIP", "SourceIPProtocol". + :type load_distribution: str or ~azure.mgmt.network.v2021_02_01.models.LoadDistribution + :param frontend_port: The port for the external endpoint. Port numbers for each rule must be + unique within the Load Balancer. Acceptable values are between 0 and 65534. Note that value 0 + enables "Any Port". + :type frontend_port: int + :param backend_port: The port used for internal connections on the endpoint. Acceptable values + are between 0 and 65535. Note that value 0 enables "Any Port". + :type backend_port: int + :param idle_timeout_in_minutes: The timeout for the TCP idle connection. The value can be set + between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the + protocol is set to TCP. + :type idle_timeout_in_minutes: int + :param enable_floating_ip: Configures a virtual machine's endpoint for the floating IP + capability required to configure a SQL AlwaysOn Availability Group. This setting is required + when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed + after you create the endpoint. + :type enable_floating_ip: bool + :param enable_tcp_reset: Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected + connection termination. This element is only used when the protocol is set to TCP. + :type enable_tcp_reset: bool + :param disable_outbound_snat: Configures SNAT for the VMs in the backend pool to use the + publicIP address specified in the frontend of the load balancing rule. + :type disable_outbound_snat: bool + :ivar provisioning_state: The provisioning state of the load balancing rule resource. Possible + values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'frontend_ip_configuration': {'key': 'properties.frontendIPConfiguration', 'type': 'SubResource'}, + 'backend_address_pool': {'key': 'properties.backendAddressPool', 'type': 'SubResource'}, + 'backend_address_pools': {'key': 'properties.backendAddressPools', 'type': '[SubResource]'}, + 'probe': {'key': 'properties.probe', 'type': 'SubResource'}, + 'protocol': {'key': 'properties.protocol', 'type': 'str'}, + 'load_distribution': {'key': 'properties.loadDistribution', 'type': 'str'}, + 'frontend_port': {'key': 'properties.frontendPort', 'type': 'int'}, + 'backend_port': {'key': 'properties.backendPort', 'type': 'int'}, + 'idle_timeout_in_minutes': {'key': 'properties.idleTimeoutInMinutes', 'type': 'int'}, + 'enable_floating_ip': {'key': 'properties.enableFloatingIP', 'type': 'bool'}, + 'enable_tcp_reset': {'key': 'properties.enableTcpReset', 'type': 'bool'}, + 'disable_outbound_snat': {'key': 'properties.disableOutboundSnat', 'type': 'bool'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(LoadBalancingRule, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.etag = None + self.type = None + self.frontend_ip_configuration = kwargs.get('frontend_ip_configuration', None) + self.backend_address_pool = kwargs.get('backend_address_pool', None) + self.backend_address_pools = kwargs.get('backend_address_pools', None) + self.probe = kwargs.get('probe', None) + self.protocol = kwargs.get('protocol', None) + self.load_distribution = kwargs.get('load_distribution', None) + self.frontend_port = kwargs.get('frontend_port', None) + self.backend_port = kwargs.get('backend_port', None) + self.idle_timeout_in_minutes = kwargs.get('idle_timeout_in_minutes', None) + self.enable_floating_ip = kwargs.get('enable_floating_ip', None) + self.enable_tcp_reset = kwargs.get('enable_tcp_reset', None) + self.disable_outbound_snat = kwargs.get('disable_outbound_snat', None) + self.provisioning_state = None + + +class LocalNetworkGateway(Resource): + """A common class for general resource information. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param local_network_address_space: Local network site address space. + :type local_network_address_space: ~azure.mgmt.network.v2021_02_01.models.AddressSpace + :param gateway_ip_address: IP address of local network gateway. + :type gateway_ip_address: str + :param fqdn: FQDN of local network gateway. + :type fqdn: str + :param bgp_settings: Local network gateway's BGP speaker settings. + :type bgp_settings: ~azure.mgmt.network.v2021_02_01.models.BgpSettings + :ivar resource_guid: The resource GUID property of the local network gateway resource. + :vartype resource_guid: str + :ivar provisioning_state: The provisioning state of the local network gateway resource. + Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'resource_guid': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'local_network_address_space': {'key': 'properties.localNetworkAddressSpace', 'type': 'AddressSpace'}, + 'gateway_ip_address': {'key': 'properties.gatewayIpAddress', 'type': 'str'}, + 'fqdn': {'key': 'properties.fqdn', 'type': 'str'}, + 'bgp_settings': {'key': 'properties.bgpSettings', 'type': 'BgpSettings'}, + 'resource_guid': {'key': 'properties.resourceGuid', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(LocalNetworkGateway, self).__init__(**kwargs) + self.etag = None + self.local_network_address_space = kwargs.get('local_network_address_space', None) + self.gateway_ip_address = kwargs.get('gateway_ip_address', None) + self.fqdn = kwargs.get('fqdn', None) + self.bgp_settings = kwargs.get('bgp_settings', None) + self.resource_guid = None + self.provisioning_state = None + + +class LocalNetworkGatewayListResult(msrest.serialization.Model): + """Response for ListLocalNetworkGateways API service call. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: A list of local network gateways that exists in a resource group. + :type value: list[~azure.mgmt.network.v2021_02_01.models.LocalNetworkGateway] + :ivar next_link: The URL to get the next set of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[LocalNetworkGateway]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(LocalNetworkGatewayListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = None + + +class LogSpecification(msrest.serialization.Model): + """Description of logging specification. + + :param name: The name of the specification. + :type name: str + :param display_name: The display name of the specification. + :type display_name: str + :param blob_duration: Duration of the blob. + :type blob_duration: str + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'display_name': {'key': 'displayName', 'type': 'str'}, + 'blob_duration': {'key': 'blobDuration', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(LogSpecification, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.display_name = kwargs.get('display_name', None) + self.blob_duration = kwargs.get('blob_duration', None) + + +class ManagedRuleGroupOverride(msrest.serialization.Model): + """Defines a managed rule group override setting. + + All required parameters must be populated in order to send to Azure. + + :param rule_group_name: Required. The managed rule group to override. + :type rule_group_name: str + :param rules: List of rules that will be disabled. If none specified, all rules in the group + will be disabled. + :type rules: list[~azure.mgmt.network.v2021_02_01.models.ManagedRuleOverride] + """ + + _validation = { + 'rule_group_name': {'required': True}, + } + + _attribute_map = { + 'rule_group_name': {'key': 'ruleGroupName', 'type': 'str'}, + 'rules': {'key': 'rules', 'type': '[ManagedRuleOverride]'}, + } + + def __init__( + self, + **kwargs + ): + super(ManagedRuleGroupOverride, self).__init__(**kwargs) + self.rule_group_name = kwargs['rule_group_name'] + self.rules = kwargs.get('rules', None) + + +class ManagedRuleOverride(msrest.serialization.Model): + """Defines a managed rule group override setting. + + All required parameters must be populated in order to send to Azure. + + :param rule_id: Required. Identifier for the managed rule. + :type rule_id: str + :param state: The state of the managed rule. Defaults to Disabled if not specified. Possible + values include: "Disabled". + :type state: str or ~azure.mgmt.network.v2021_02_01.models.ManagedRuleEnabledState + """ + + _validation = { + 'rule_id': {'required': True}, + } + + _attribute_map = { + 'rule_id': {'key': 'ruleId', 'type': 'str'}, + 'state': {'key': 'state', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ManagedRuleOverride, self).__init__(**kwargs) + self.rule_id = kwargs['rule_id'] + self.state = kwargs.get('state', None) + + +class ManagedRulesDefinition(msrest.serialization.Model): + """Allow to exclude some variable satisfy the condition for the WAF check. + + All required parameters must be populated in order to send to Azure. + + :param exclusions: The Exclusions that are applied on the policy. + :type exclusions: list[~azure.mgmt.network.v2021_02_01.models.OwaspCrsExclusionEntry] + :param managed_rule_sets: Required. The managed rule sets that are associated with the policy. + :type managed_rule_sets: list[~azure.mgmt.network.v2021_02_01.models.ManagedRuleSet] + """ + + _validation = { + 'managed_rule_sets': {'required': True}, + } + + _attribute_map = { + 'exclusions': {'key': 'exclusions', 'type': '[OwaspCrsExclusionEntry]'}, + 'managed_rule_sets': {'key': 'managedRuleSets', 'type': '[ManagedRuleSet]'}, + } + + def __init__( + self, + **kwargs + ): + super(ManagedRulesDefinition, self).__init__(**kwargs) + self.exclusions = kwargs.get('exclusions', None) + self.managed_rule_sets = kwargs['managed_rule_sets'] + + +class ManagedRuleSet(msrest.serialization.Model): + """Defines a managed rule set. + + All required parameters must be populated in order to send to Azure. + + :param rule_set_type: Required. Defines the rule set type to use. + :type rule_set_type: str + :param rule_set_version: Required. Defines the version of the rule set to use. + :type rule_set_version: str + :param rule_group_overrides: Defines the rule group overrides to apply to the rule set. + :type rule_group_overrides: + list[~azure.mgmt.network.v2021_02_01.models.ManagedRuleGroupOverride] + """ + + _validation = { + 'rule_set_type': {'required': True}, + 'rule_set_version': {'required': True}, + } + + _attribute_map = { + 'rule_set_type': {'key': 'ruleSetType', 'type': 'str'}, + 'rule_set_version': {'key': 'ruleSetVersion', 'type': 'str'}, + 'rule_group_overrides': {'key': 'ruleGroupOverrides', 'type': '[ManagedRuleGroupOverride]'}, + } + + def __init__( + self, + **kwargs + ): + super(ManagedRuleSet, self).__init__(**kwargs) + self.rule_set_type = kwargs['rule_set_type'] + self.rule_set_version = kwargs['rule_set_version'] + self.rule_group_overrides = kwargs.get('rule_group_overrides', None) + + +class ManagedServiceIdentity(msrest.serialization.Model): + """Identity for the resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar principal_id: The principal id of the system assigned identity. This property will only + be provided for a system assigned identity. + :vartype principal_id: str + :ivar tenant_id: The tenant id of the system assigned identity. This property will only be + provided for a system assigned identity. + :vartype tenant_id: str + :param type: The type of identity used for the resource. The type 'SystemAssigned, + UserAssigned' includes both an implicitly created identity and a set of user assigned + identities. The type 'None' will remove any identities from the virtual machine. Possible + values include: "SystemAssigned", "UserAssigned", "SystemAssigned, UserAssigned", "None". + :type type: str or ~azure.mgmt.network.v2021_02_01.models.ResourceIdentityType + :param user_assigned_identities: The list of user identities associated with resource. The user + identity dictionary key references will be ARM resource ids in the form: + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. + :type user_assigned_identities: dict[str, + ~azure.mgmt.network.v2021_02_01.models.Components1Jq1T4ISchemasManagedserviceidentityPropertiesUserassignedidentitiesAdditionalproperties] + """ + + _validation = { + 'principal_id': {'readonly': True}, + 'tenant_id': {'readonly': True}, + } + + _attribute_map = { + 'principal_id': {'key': 'principalId', 'type': 'str'}, + 'tenant_id': {'key': 'tenantId', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'user_assigned_identities': {'key': 'userAssignedIdentities', 'type': '{Components1Jq1T4ISchemasManagedserviceidentityPropertiesUserassignedidentitiesAdditionalproperties}'}, + } + + def __init__( + self, + **kwargs + ): + super(ManagedServiceIdentity, self).__init__(**kwargs) + self.principal_id = None + self.tenant_id = None + self.type = kwargs.get('type', None) + self.user_assigned_identities = kwargs.get('user_assigned_identities', None) + + +class MatchCondition(msrest.serialization.Model): + """Define match conditions. + + All required parameters must be populated in order to send to Azure. + + :param match_variables: Required. List of match variables. + :type match_variables: list[~azure.mgmt.network.v2021_02_01.models.MatchVariable] + :param operator: Required. The operator to be matched. Possible values include: "IPMatch", + "Equal", "Contains", "LessThan", "GreaterThan", "LessThanOrEqual", "GreaterThanOrEqual", + "BeginsWith", "EndsWith", "Regex", "GeoMatch". + :type operator: str or ~azure.mgmt.network.v2021_02_01.models.WebApplicationFirewallOperator + :param negation_conditon: Whether this is negate condition or not. + :type negation_conditon: bool + :param match_values: Required. Match value. + :type match_values: list[str] + :param transforms: List of transforms. + :type transforms: list[str or + ~azure.mgmt.network.v2021_02_01.models.WebApplicationFirewallTransform] + """ + + _validation = { + 'match_variables': {'required': True}, + 'operator': {'required': True}, + 'match_values': {'required': True}, + } + + _attribute_map = { + 'match_variables': {'key': 'matchVariables', 'type': '[MatchVariable]'}, + 'operator': {'key': 'operator', 'type': 'str'}, + 'negation_conditon': {'key': 'negationConditon', 'type': 'bool'}, + 'match_values': {'key': 'matchValues', 'type': '[str]'}, + 'transforms': {'key': 'transforms', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(MatchCondition, self).__init__(**kwargs) + self.match_variables = kwargs['match_variables'] + self.operator = kwargs['operator'] + self.negation_conditon = kwargs.get('negation_conditon', None) + self.match_values = kwargs['match_values'] + self.transforms = kwargs.get('transforms', None) + + +class MatchedRule(msrest.serialization.Model): + """Matched rule. + + :param rule_name: Name of the matched network security rule. + :type rule_name: str + :param action: The network traffic is allowed or denied. Possible values are 'Allow' and + 'Deny'. + :type action: str + """ + + _attribute_map = { + 'rule_name': {'key': 'ruleName', 'type': 'str'}, + 'action': {'key': 'action', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(MatchedRule, self).__init__(**kwargs) + self.rule_name = kwargs.get('rule_name', None) + self.action = kwargs.get('action', None) + + +class MatchVariable(msrest.serialization.Model): + """Define match variables. + + All required parameters must be populated in order to send to Azure. + + :param variable_name: Required. Match Variable. Possible values include: "RemoteAddr", + "RequestMethod", "QueryString", "PostArgs", "RequestUri", "RequestHeaders", "RequestBody", + "RequestCookies". + :type variable_name: str or + ~azure.mgmt.network.v2021_02_01.models.WebApplicationFirewallMatchVariable + :param selector: The selector of match variable. + :type selector: str + """ + + _validation = { + 'variable_name': {'required': True}, + } + + _attribute_map = { + 'variable_name': {'key': 'variableName', 'type': 'str'}, + 'selector': {'key': 'selector', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(MatchVariable, self).__init__(**kwargs) + self.variable_name = kwargs['variable_name'] + self.selector = kwargs.get('selector', None) + + +class MetricSpecification(msrest.serialization.Model): + """Description of metrics specification. + + :param name: The name of the metric. + :type name: str + :param display_name: The display name of the metric. + :type display_name: str + :param display_description: The description of the metric. + :type display_description: str + :param unit: Units the metric to be displayed in. + :type unit: str + :param aggregation_type: The aggregation type. + :type aggregation_type: str + :param availabilities: List of availability. + :type availabilities: list[~azure.mgmt.network.v2021_02_01.models.Availability] + :param enable_regional_mdm_account: Whether regional MDM account enabled. + :type enable_regional_mdm_account: bool + :param fill_gap_with_zero: Whether gaps would be filled with zeros. + :type fill_gap_with_zero: bool + :param metric_filter_pattern: Pattern for the filter of the metric. + :type metric_filter_pattern: str + :param dimensions: List of dimensions. + :type dimensions: list[~azure.mgmt.network.v2021_02_01.models.Dimension] + :param is_internal: Whether the metric is internal. + :type is_internal: bool + :param source_mdm_account: The source MDM account. + :type source_mdm_account: str + :param source_mdm_namespace: The source MDM namespace. + :type source_mdm_namespace: str + :param resource_id_dimension_name_override: The resource Id dimension name override. + :type resource_id_dimension_name_override: str + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'display_name': {'key': 'displayName', 'type': 'str'}, + 'display_description': {'key': 'displayDescription', 'type': 'str'}, + 'unit': {'key': 'unit', 'type': 'str'}, + 'aggregation_type': {'key': 'aggregationType', 'type': 'str'}, + 'availabilities': {'key': 'availabilities', 'type': '[Availability]'}, + 'enable_regional_mdm_account': {'key': 'enableRegionalMdmAccount', 'type': 'bool'}, + 'fill_gap_with_zero': {'key': 'fillGapWithZero', 'type': 'bool'}, + 'metric_filter_pattern': {'key': 'metricFilterPattern', 'type': 'str'}, + 'dimensions': {'key': 'dimensions', 'type': '[Dimension]'}, + 'is_internal': {'key': 'isInternal', 'type': 'bool'}, + 'source_mdm_account': {'key': 'sourceMdmAccount', 'type': 'str'}, + 'source_mdm_namespace': {'key': 'sourceMdmNamespace', 'type': 'str'}, + 'resource_id_dimension_name_override': {'key': 'resourceIdDimensionNameOverride', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(MetricSpecification, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.display_name = kwargs.get('display_name', None) + self.display_description = kwargs.get('display_description', None) + self.unit = kwargs.get('unit', None) + self.aggregation_type = kwargs.get('aggregation_type', None) + self.availabilities = kwargs.get('availabilities', None) + self.enable_regional_mdm_account = kwargs.get('enable_regional_mdm_account', None) + self.fill_gap_with_zero = kwargs.get('fill_gap_with_zero', None) + self.metric_filter_pattern = kwargs.get('metric_filter_pattern', None) + self.dimensions = kwargs.get('dimensions', None) + self.is_internal = kwargs.get('is_internal', None) + self.source_mdm_account = kwargs.get('source_mdm_account', None) + self.source_mdm_namespace = kwargs.get('source_mdm_namespace', None) + self.resource_id_dimension_name_override = kwargs.get('resource_id_dimension_name_override', None) + + +class NatGateway(Resource): + """Nat Gateway resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :param sku: The nat gateway SKU. + :type sku: ~azure.mgmt.network.v2021_02_01.models.NatGatewaySku + :param zones: A list of availability zones denoting the zone in which Nat Gateway should be + deployed. + :type zones: list[str] + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param idle_timeout_in_minutes: The idle timeout of the nat gateway. + :type idle_timeout_in_minutes: int + :param public_ip_addresses: An array of public ip addresses associated with the nat gateway + resource. + :type public_ip_addresses: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + :param public_ip_prefixes: An array of public ip prefixes associated with the nat gateway + resource. + :type public_ip_prefixes: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + :ivar subnets: An array of references to the subnets using this nat gateway resource. + :vartype subnets: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + :ivar resource_guid: The resource GUID property of the NAT gateway resource. + :vartype resource_guid: str + :ivar provisioning_state: The provisioning state of the NAT gateway resource. Possible values + include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'subnets': {'readonly': True}, + 'resource_guid': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'sku': {'key': 'sku', 'type': 'NatGatewaySku'}, + 'zones': {'key': 'zones', 'type': '[str]'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'idle_timeout_in_minutes': {'key': 'properties.idleTimeoutInMinutes', 'type': 'int'}, + 'public_ip_addresses': {'key': 'properties.publicIpAddresses', 'type': '[SubResource]'}, + 'public_ip_prefixes': {'key': 'properties.publicIpPrefixes', 'type': '[SubResource]'}, + 'subnets': {'key': 'properties.subnets', 'type': '[SubResource]'}, + 'resource_guid': {'key': 'properties.resourceGuid', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(NatGateway, self).__init__(**kwargs) + self.sku = kwargs.get('sku', None) + self.zones = kwargs.get('zones', None) + self.etag = None + self.idle_timeout_in_minutes = kwargs.get('idle_timeout_in_minutes', None) + self.public_ip_addresses = kwargs.get('public_ip_addresses', None) + self.public_ip_prefixes = kwargs.get('public_ip_prefixes', None) + self.subnets = None + self.resource_guid = None + self.provisioning_state = None + + +class NatGatewayListResult(msrest.serialization.Model): + """Response for ListNatGateways API service call. + + :param value: A list of Nat Gateways that exists in a resource group. + :type value: list[~azure.mgmt.network.v2021_02_01.models.NatGateway] + :param next_link: The URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[NatGateway]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(NatGatewayListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = kwargs.get('next_link', None) + + +class NatGatewaySku(msrest.serialization.Model): + """SKU of nat gateway. + + :param name: Name of Nat Gateway SKU. Possible values include: "Standard". + :type name: str or ~azure.mgmt.network.v2021_02_01.models.NatGatewaySkuName + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(NatGatewaySku, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + + +class NatRule(FirewallPolicyRule): + """Rule of type nat. + + All required parameters must be populated in order to send to Azure. + + :param name: Name of the rule. + :type name: str + :param description: Description of the rule. + :type description: str + :param rule_type: Required. Rule Type.Constant filled by server. Possible values include: + "ApplicationRule", "NetworkRule", "NatRule". + :type rule_type: str or ~azure.mgmt.network.v2021_02_01.models.FirewallPolicyRuleType + :param ip_protocols: Array of FirewallPolicyRuleNetworkProtocols. + :type ip_protocols: list[str or + ~azure.mgmt.network.v2021_02_01.models.FirewallPolicyRuleNetworkProtocol] + :param source_addresses: List of source IP addresses for this rule. + :type source_addresses: list[str] + :param destination_addresses: List of destination IP addresses or Service Tags. + :type destination_addresses: list[str] + :param destination_ports: List of destination ports. + :type destination_ports: list[str] + :param translated_address: The translated address for this NAT rule. + :type translated_address: str + :param translated_port: The translated port for this NAT rule. + :type translated_port: str + :param source_ip_groups: List of source IpGroups for this rule. + :type source_ip_groups: list[str] + :param translated_fqdn: The translated FQDN for this NAT rule. + :type translated_fqdn: str + """ + + _validation = { + 'rule_type': {'required': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + 'rule_type': {'key': 'ruleType', 'type': 'str'}, + 'ip_protocols': {'key': 'ipProtocols', 'type': '[str]'}, + 'source_addresses': {'key': 'sourceAddresses', 'type': '[str]'}, + 'destination_addresses': {'key': 'destinationAddresses', 'type': '[str]'}, + 'destination_ports': {'key': 'destinationPorts', 'type': '[str]'}, + 'translated_address': {'key': 'translatedAddress', 'type': 'str'}, + 'translated_port': {'key': 'translatedPort', 'type': 'str'}, + 'source_ip_groups': {'key': 'sourceIpGroups', 'type': '[str]'}, + 'translated_fqdn': {'key': 'translatedFqdn', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(NatRule, self).__init__(**kwargs) + self.rule_type = 'NatRule' # type: str + self.ip_protocols = kwargs.get('ip_protocols', None) + self.source_addresses = kwargs.get('source_addresses', None) + self.destination_addresses = kwargs.get('destination_addresses', None) + self.destination_ports = kwargs.get('destination_ports', None) + self.translated_address = kwargs.get('translated_address', None) + self.translated_port = kwargs.get('translated_port', None) + self.source_ip_groups = kwargs.get('source_ip_groups', None) + self.translated_fqdn = kwargs.get('translated_fqdn', None) + + +class NetworkConfigurationDiagnosticParameters(msrest.serialization.Model): + """Parameters to get network configuration diagnostic. + + All required parameters must be populated in order to send to Azure. + + :param target_resource_id: Required. The ID of the target resource to perform network + configuration diagnostic. Valid options are VM, NetworkInterface, VMSS/NetworkInterface and + Application Gateway. + :type target_resource_id: str + :param verbosity_level: Verbosity level. Possible values include: "Normal", "Minimum", "Full". + :type verbosity_level: str or ~azure.mgmt.network.v2021_02_01.models.VerbosityLevel + :param profiles: Required. List of network configuration diagnostic profiles. + :type profiles: + list[~azure.mgmt.network.v2021_02_01.models.NetworkConfigurationDiagnosticProfile] + """ + + _validation = { + 'target_resource_id': {'required': True}, + 'profiles': {'required': True}, + } + + _attribute_map = { + 'target_resource_id': {'key': 'targetResourceId', 'type': 'str'}, + 'verbosity_level': {'key': 'verbosityLevel', 'type': 'str'}, + 'profiles': {'key': 'profiles', 'type': '[NetworkConfigurationDiagnosticProfile]'}, + } + + def __init__( + self, + **kwargs + ): + super(NetworkConfigurationDiagnosticParameters, self).__init__(**kwargs) + self.target_resource_id = kwargs['target_resource_id'] + self.verbosity_level = kwargs.get('verbosity_level', None) + self.profiles = kwargs['profiles'] + + +class NetworkConfigurationDiagnosticProfile(msrest.serialization.Model): + """Parameters to compare with network configuration. + + All required parameters must be populated in order to send to Azure. + + :param direction: Required. The direction of the traffic. Possible values include: "Inbound", + "Outbound". + :type direction: str or ~azure.mgmt.network.v2021_02_01.models.Direction + :param protocol: Required. Protocol to be verified on. Accepted values are '*', TCP, UDP. + :type protocol: str + :param source: Required. Traffic source. Accepted values are '*', IP Address/CIDR, Service Tag. + :type source: str + :param destination: Required. Traffic destination. Accepted values are: '*', IP Address/CIDR, + Service Tag. + :type destination: str + :param destination_port: Required. Traffic destination port. Accepted values are '*' and a + single port in the range (0 - 65535). + :type destination_port: str + """ + + _validation = { + 'direction': {'required': True}, + 'protocol': {'required': True}, + 'source': {'required': True}, + 'destination': {'required': True}, + 'destination_port': {'required': True}, + } + + _attribute_map = { + 'direction': {'key': 'direction', 'type': 'str'}, + 'protocol': {'key': 'protocol', 'type': 'str'}, + 'source': {'key': 'source', 'type': 'str'}, + 'destination': {'key': 'destination', 'type': 'str'}, + 'destination_port': {'key': 'destinationPort', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(NetworkConfigurationDiagnosticProfile, self).__init__(**kwargs) + self.direction = kwargs['direction'] + self.protocol = kwargs['protocol'] + self.source = kwargs['source'] + self.destination = kwargs['destination'] + self.destination_port = kwargs['destination_port'] + + +class NetworkConfigurationDiagnosticResponse(msrest.serialization.Model): + """Results of network configuration diagnostic on the target resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar results: List of network configuration diagnostic results. + :vartype results: + list[~azure.mgmt.network.v2021_02_01.models.NetworkConfigurationDiagnosticResult] + """ + + _validation = { + 'results': {'readonly': True}, + } + + _attribute_map = { + 'results': {'key': 'results', 'type': '[NetworkConfigurationDiagnosticResult]'}, + } + + def __init__( + self, + **kwargs + ): + super(NetworkConfigurationDiagnosticResponse, self).__init__(**kwargs) + self.results = None + + +class NetworkConfigurationDiagnosticResult(msrest.serialization.Model): + """Network configuration diagnostic result corresponded to provided traffic query. + + :param profile: Network configuration diagnostic profile. + :type profile: ~azure.mgmt.network.v2021_02_01.models.NetworkConfigurationDiagnosticProfile + :param network_security_group_result: Network security group result. + :type network_security_group_result: + ~azure.mgmt.network.v2021_02_01.models.NetworkSecurityGroupResult + """ + + _attribute_map = { + 'profile': {'key': 'profile', 'type': 'NetworkConfigurationDiagnosticProfile'}, + 'network_security_group_result': {'key': 'networkSecurityGroupResult', 'type': 'NetworkSecurityGroupResult'}, + } + + def __init__( + self, + **kwargs + ): + super(NetworkConfigurationDiagnosticResult, self).__init__(**kwargs) + self.profile = kwargs.get('profile', None) + self.network_security_group_result = kwargs.get('network_security_group_result', None) + + +class NetworkIntentPolicy(Resource): + """Network Intent Policy resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'etag': {'key': 'etag', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(NetworkIntentPolicy, self).__init__(**kwargs) + self.etag = None + + +class NetworkIntentPolicyConfiguration(msrest.serialization.Model): + """Details of NetworkIntentPolicyConfiguration for PrepareNetworkPoliciesRequest. + + :param network_intent_policy_name: The name of the Network Intent Policy for storing in target + subscription. + :type network_intent_policy_name: str + :param source_network_intent_policy: Source network intent policy. + :type source_network_intent_policy: ~azure.mgmt.network.v2021_02_01.models.NetworkIntentPolicy + """ + + _attribute_map = { + 'network_intent_policy_name': {'key': 'networkIntentPolicyName', 'type': 'str'}, + 'source_network_intent_policy': {'key': 'sourceNetworkIntentPolicy', 'type': 'NetworkIntentPolicy'}, + } + + def __init__( + self, + **kwargs + ): + super(NetworkIntentPolicyConfiguration, self).__init__(**kwargs) + self.network_intent_policy_name = kwargs.get('network_intent_policy_name', None) + self.source_network_intent_policy = kwargs.get('source_network_intent_policy', None) + + +class NetworkInterface(Resource): + """A network interface in a resource group. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :param extended_location: The extended location of the network interface. + :type extended_location: ~azure.mgmt.network.v2021_02_01.models.ExtendedLocation + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar virtual_machine: The reference to a virtual machine. + :vartype virtual_machine: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param network_security_group: The reference to the NetworkSecurityGroup resource. + :type network_security_group: ~azure.mgmt.network.v2021_02_01.models.NetworkSecurityGroup + :ivar private_endpoint: A reference to the private endpoint to which the network interface is + linked. + :vartype private_endpoint: ~azure.mgmt.network.v2021_02_01.models.PrivateEndpoint + :param ip_configurations: A list of IPConfigurations of the network interface. + :type ip_configurations: + list[~azure.mgmt.network.v2021_02_01.models.NetworkInterfaceIPConfiguration] + :ivar tap_configurations: A list of TapConfigurations of the network interface. + :vartype tap_configurations: + list[~azure.mgmt.network.v2021_02_01.models.NetworkInterfaceTapConfiguration] + :param dns_settings: The DNS settings in network interface. + :type dns_settings: ~azure.mgmt.network.v2021_02_01.models.NetworkInterfaceDnsSettings + :ivar mac_address: The MAC address of the network interface. + :vartype mac_address: str + :ivar primary: Whether this is a primary network interface on a virtual machine. + :vartype primary: bool + :param enable_accelerated_networking: If the network interface is accelerated networking + enabled. + :type enable_accelerated_networking: bool + :param enable_ip_forwarding: Indicates whether IP forwarding is enabled on this network + interface. + :type enable_ip_forwarding: bool + :ivar hosted_workloads: A list of references to linked BareMetal resources. + :vartype hosted_workloads: list[str] + :ivar dscp_configuration: A reference to the dscp configuration to which the network interface + is linked. + :vartype dscp_configuration: ~azure.mgmt.network.v2021_02_01.models.SubResource + :ivar resource_guid: The resource GUID property of the network interface resource. + :vartype resource_guid: str + :ivar provisioning_state: The provisioning state of the network interface resource. Possible + values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :param workload_type: WorkloadType of the NetworkInterface for BareMetal resources. + :type workload_type: str + :param nic_type: Type of Network Interface resource. Possible values include: "Standard", + "Elastic". + :type nic_type: str or ~azure.mgmt.network.v2021_02_01.models.NetworkInterfaceNicType + :param private_link_service: Privatelinkservice of the network interface resource. + :type private_link_service: ~azure.mgmt.network.v2021_02_01.models.PrivateLinkService + :param migration_phase: Migration phase of Network Interface resource. Possible values include: + "None", "Prepare", "Commit", "Abort", "Committed". + :type migration_phase: str or + ~azure.mgmt.network.v2021_02_01.models.NetworkInterfaceMigrationPhase + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'virtual_machine': {'readonly': True}, + 'private_endpoint': {'readonly': True}, + 'tap_configurations': {'readonly': True}, + 'mac_address': {'readonly': True}, + 'primary': {'readonly': True}, + 'hosted_workloads': {'readonly': True}, + 'dscp_configuration': {'readonly': True}, + 'resource_guid': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'extended_location': {'key': 'extendedLocation', 'type': 'ExtendedLocation'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'virtual_machine': {'key': 'properties.virtualMachine', 'type': 'SubResource'}, + 'network_security_group': {'key': 'properties.networkSecurityGroup', 'type': 'NetworkSecurityGroup'}, + 'private_endpoint': {'key': 'properties.privateEndpoint', 'type': 'PrivateEndpoint'}, + 'ip_configurations': {'key': 'properties.ipConfigurations', 'type': '[NetworkInterfaceIPConfiguration]'}, + 'tap_configurations': {'key': 'properties.tapConfigurations', 'type': '[NetworkInterfaceTapConfiguration]'}, + 'dns_settings': {'key': 'properties.dnsSettings', 'type': 'NetworkInterfaceDnsSettings'}, + 'mac_address': {'key': 'properties.macAddress', 'type': 'str'}, + 'primary': {'key': 'properties.primary', 'type': 'bool'}, + 'enable_accelerated_networking': {'key': 'properties.enableAcceleratedNetworking', 'type': 'bool'}, + 'enable_ip_forwarding': {'key': 'properties.enableIPForwarding', 'type': 'bool'}, + 'hosted_workloads': {'key': 'properties.hostedWorkloads', 'type': '[str]'}, + 'dscp_configuration': {'key': 'properties.dscpConfiguration', 'type': 'SubResource'}, + 'resource_guid': {'key': 'properties.resourceGuid', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'workload_type': {'key': 'properties.workloadType', 'type': 'str'}, + 'nic_type': {'key': 'properties.nicType', 'type': 'str'}, + 'private_link_service': {'key': 'properties.privateLinkService', 'type': 'PrivateLinkService'}, + 'migration_phase': {'key': 'properties.migrationPhase', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(NetworkInterface, self).__init__(**kwargs) + self.extended_location = kwargs.get('extended_location', None) + self.etag = None + self.virtual_machine = None + self.network_security_group = kwargs.get('network_security_group', None) + self.private_endpoint = None + self.ip_configurations = kwargs.get('ip_configurations', None) + self.tap_configurations = None + self.dns_settings = kwargs.get('dns_settings', None) + self.mac_address = None + self.primary = None + self.enable_accelerated_networking = kwargs.get('enable_accelerated_networking', None) + self.enable_ip_forwarding = kwargs.get('enable_ip_forwarding', None) + self.hosted_workloads = None + self.dscp_configuration = None + self.resource_guid = None + self.provisioning_state = None + self.workload_type = kwargs.get('workload_type', None) + self.nic_type = kwargs.get('nic_type', None) + self.private_link_service = kwargs.get('private_link_service', None) + self.migration_phase = kwargs.get('migration_phase', None) + + +class NetworkInterfaceAssociation(msrest.serialization.Model): + """Network interface and its custom security rules. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Network interface ID. + :vartype id: str + :param security_rules: Collection of custom security rules. + :type security_rules: list[~azure.mgmt.network.v2021_02_01.models.SecurityRule] + """ + + _validation = { + 'id': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'security_rules': {'key': 'securityRules', 'type': '[SecurityRule]'}, + } + + def __init__( + self, + **kwargs + ): + super(NetworkInterfaceAssociation, self).__init__(**kwargs) + self.id = None + self.security_rules = kwargs.get('security_rules', None) + + +class NetworkInterfaceDnsSettings(msrest.serialization.Model): + """DNS settings of a network interface. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param dns_servers: List of DNS servers IP addresses. Use 'AzureProvidedDNS' to switch to azure + provided DNS resolution. 'AzureProvidedDNS' value cannot be combined with other IPs, it must be + the only value in dnsServers collection. + :type dns_servers: list[str] + :ivar applied_dns_servers: If the VM that uses this NIC is part of an Availability Set, then + this list will have the union of all DNS servers from all NICs that are part of the + Availability Set. This property is what is configured on each of those VMs. + :vartype applied_dns_servers: list[str] + :param internal_dns_name_label: Relative DNS name for this NIC used for internal communications + between VMs in the same virtual network. + :type internal_dns_name_label: str + :ivar internal_fqdn: Fully qualified DNS name supporting internal communications between VMs in + the same virtual network. + :vartype internal_fqdn: str + :ivar internal_domain_name_suffix: Even if internalDnsNameLabel is not specified, a DNS entry + is created for the primary NIC of the VM. This DNS name can be constructed by concatenating the + VM name with the value of internalDomainNameSuffix. + :vartype internal_domain_name_suffix: str + """ + + _validation = { + 'applied_dns_servers': {'readonly': True}, + 'internal_fqdn': {'readonly': True}, + 'internal_domain_name_suffix': {'readonly': True}, + } + + _attribute_map = { + 'dns_servers': {'key': 'dnsServers', 'type': '[str]'}, + 'applied_dns_servers': {'key': 'appliedDnsServers', 'type': '[str]'}, + 'internal_dns_name_label': {'key': 'internalDnsNameLabel', 'type': 'str'}, + 'internal_fqdn': {'key': 'internalFqdn', 'type': 'str'}, + 'internal_domain_name_suffix': {'key': 'internalDomainNameSuffix', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(NetworkInterfaceDnsSettings, self).__init__(**kwargs) + self.dns_servers = kwargs.get('dns_servers', None) + self.applied_dns_servers = None + self.internal_dns_name_label = kwargs.get('internal_dns_name_label', None) + self.internal_fqdn = None + self.internal_domain_name_suffix = None + + +class NetworkInterfaceIPConfiguration(SubResource): + """IPConfiguration in a network interface. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: The name of the resource that is unique within a resource group. This name can be + used to access the resource. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param type: Resource type. + :type type: str + :param gateway_load_balancer: The reference to gateway load balancer frontend IP. + :type gateway_load_balancer: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param virtual_network_taps: The reference to Virtual Network Taps. + :type virtual_network_taps: list[~azure.mgmt.network.v2021_02_01.models.VirtualNetworkTap] + :param application_gateway_backend_address_pools: The reference to + ApplicationGatewayBackendAddressPool resource. + :type application_gateway_backend_address_pools: + list[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayBackendAddressPool] + :param load_balancer_backend_address_pools: The reference to LoadBalancerBackendAddressPool + resource. + :type load_balancer_backend_address_pools: + list[~azure.mgmt.network.v2021_02_01.models.BackendAddressPool] + :param load_balancer_inbound_nat_rules: A list of references of LoadBalancerInboundNatRules. + :type load_balancer_inbound_nat_rules: + list[~azure.mgmt.network.v2021_02_01.models.InboundNatRule] + :param private_ip_address: Private IP address of the IP configuration. + :type private_ip_address: str + :param private_ip_allocation_method: The private IP address allocation method. Possible values + include: "Static", "Dynamic". + :type private_ip_allocation_method: str or + ~azure.mgmt.network.v2021_02_01.models.IPAllocationMethod + :param private_ip_address_version: Whether the specific IP configuration is IPv4 or IPv6. + Default is IPv4. Possible values include: "IPv4", "IPv6". + :type private_ip_address_version: str or ~azure.mgmt.network.v2021_02_01.models.IPVersion + :param subnet: Subnet bound to the IP configuration. + :type subnet: ~azure.mgmt.network.v2021_02_01.models.Subnet + :param primary: Whether this is a primary customer address on the network interface. + :type primary: bool + :param public_ip_address: Public IP address bound to the IP configuration. + :type public_ip_address: ~azure.mgmt.network.v2021_02_01.models.PublicIPAddress + :param application_security_groups: Application security groups in which the IP configuration + is included. + :type application_security_groups: + list[~azure.mgmt.network.v2021_02_01.models.ApplicationSecurityGroup] + :ivar provisioning_state: The provisioning state of the network interface IP configuration. + Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :ivar private_link_connection_properties: PrivateLinkConnection properties for the network + interface. + :vartype private_link_connection_properties: + ~azure.mgmt.network.v2021_02_01.models.NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties + """ + + _validation = { + 'etag': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'private_link_connection_properties': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'gateway_load_balancer': {'key': 'properties.gatewayLoadBalancer', 'type': 'SubResource'}, + 'virtual_network_taps': {'key': 'properties.virtualNetworkTaps', 'type': '[VirtualNetworkTap]'}, + 'application_gateway_backend_address_pools': {'key': 'properties.applicationGatewayBackendAddressPools', 'type': '[ApplicationGatewayBackendAddressPool]'}, + 'load_balancer_backend_address_pools': {'key': 'properties.loadBalancerBackendAddressPools', 'type': '[BackendAddressPool]'}, + 'load_balancer_inbound_nat_rules': {'key': 'properties.loadBalancerInboundNatRules', 'type': '[InboundNatRule]'}, + 'private_ip_address': {'key': 'properties.privateIPAddress', 'type': 'str'}, + 'private_ip_allocation_method': {'key': 'properties.privateIPAllocationMethod', 'type': 'str'}, + 'private_ip_address_version': {'key': 'properties.privateIPAddressVersion', 'type': 'str'}, + 'subnet': {'key': 'properties.subnet', 'type': 'Subnet'}, + 'primary': {'key': 'properties.primary', 'type': 'bool'}, + 'public_ip_address': {'key': 'properties.publicIPAddress', 'type': 'PublicIPAddress'}, + 'application_security_groups': {'key': 'properties.applicationSecurityGroups', 'type': '[ApplicationSecurityGroup]'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'private_link_connection_properties': {'key': 'properties.privateLinkConnectionProperties', 'type': 'NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties'}, + } + + def __init__( + self, + **kwargs + ): + super(NetworkInterfaceIPConfiguration, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.etag = None + self.type = kwargs.get('type', None) + self.gateway_load_balancer = kwargs.get('gateway_load_balancer', None) + self.virtual_network_taps = kwargs.get('virtual_network_taps', None) + self.application_gateway_backend_address_pools = kwargs.get('application_gateway_backend_address_pools', None) + self.load_balancer_backend_address_pools = kwargs.get('load_balancer_backend_address_pools', None) + self.load_balancer_inbound_nat_rules = kwargs.get('load_balancer_inbound_nat_rules', None) + self.private_ip_address = kwargs.get('private_ip_address', None) + self.private_ip_allocation_method = kwargs.get('private_ip_allocation_method', None) + self.private_ip_address_version = kwargs.get('private_ip_address_version', None) + self.subnet = kwargs.get('subnet', None) + self.primary = kwargs.get('primary', None) + self.public_ip_address = kwargs.get('public_ip_address', None) + self.application_security_groups = kwargs.get('application_security_groups', None) + self.provisioning_state = None + self.private_link_connection_properties = None + + +class NetworkInterfaceIPConfigurationListResult(msrest.serialization.Model): + """Response for list ip configurations API service call. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: A list of ip configurations. + :type value: list[~azure.mgmt.network.v2021_02_01.models.NetworkInterfaceIPConfiguration] + :ivar next_link: The URL to get the next set of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[NetworkInterfaceIPConfiguration]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(NetworkInterfaceIPConfigurationListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = None + + +class NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties(msrest.serialization.Model): + """PrivateLinkConnection properties for the network interface. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar group_id: The group ID for current private link connection. + :vartype group_id: str + :ivar required_member_name: The required member name for current private link connection. + :vartype required_member_name: str + :ivar fqdns: List of FQDNs for current private link connection. + :vartype fqdns: list[str] + """ + + _validation = { + 'group_id': {'readonly': True}, + 'required_member_name': {'readonly': True}, + 'fqdns': {'readonly': True}, + } + + _attribute_map = { + 'group_id': {'key': 'groupId', 'type': 'str'}, + 'required_member_name': {'key': 'requiredMemberName', 'type': 'str'}, + 'fqdns': {'key': 'fqdns', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties, self).__init__(**kwargs) + self.group_id = None + self.required_member_name = None + self.fqdns = None + + +class NetworkInterfaceListResult(msrest.serialization.Model): + """Response for the ListNetworkInterface API service call. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: A list of network interfaces in a resource group. + :type value: list[~azure.mgmt.network.v2021_02_01.models.NetworkInterface] + :ivar next_link: The URL to get the next set of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[NetworkInterface]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(NetworkInterfaceListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = None + + +class NetworkInterfaceLoadBalancerListResult(msrest.serialization.Model): + """Response for list ip configurations API service call. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: A list of load balancers. + :type value: list[~azure.mgmt.network.v2021_02_01.models.LoadBalancer] + :ivar next_link: The URL to get the next set of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[LoadBalancer]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(NetworkInterfaceLoadBalancerListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = None + + +class NetworkInterfaceTapConfiguration(SubResource): + """Tap configuration in a Network Interface. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: The name of the resource that is unique within a resource group. This name can be + used to access the resource. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Sub Resource type. + :vartype type: str + :param virtual_network_tap: The reference to the Virtual Network Tap resource. + :type virtual_network_tap: ~azure.mgmt.network.v2021_02_01.models.VirtualNetworkTap + :ivar provisioning_state: The provisioning state of the network interface tap configuration + resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'virtual_network_tap': {'key': 'properties.virtualNetworkTap', 'type': 'VirtualNetworkTap'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(NetworkInterfaceTapConfiguration, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.etag = None + self.type = None + self.virtual_network_tap = kwargs.get('virtual_network_tap', None) + self.provisioning_state = None + + +class NetworkInterfaceTapConfigurationListResult(msrest.serialization.Model): + """Response for list tap configurations API service call. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: A list of tap configurations. + :type value: list[~azure.mgmt.network.v2021_02_01.models.NetworkInterfaceTapConfiguration] + :ivar next_link: The URL to get the next set of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[NetworkInterfaceTapConfiguration]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(NetworkInterfaceTapConfigurationListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = None + + +class NetworkProfile(Resource): + """Network profile resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar container_network_interfaces: List of child container network interfaces. + :vartype container_network_interfaces: + list[~azure.mgmt.network.v2021_02_01.models.ContainerNetworkInterface] + :param container_network_interface_configurations: List of chid container network interface + configurations. + :type container_network_interface_configurations: + list[~azure.mgmt.network.v2021_02_01.models.ContainerNetworkInterfaceConfiguration] + :ivar resource_guid: The resource GUID property of the network profile resource. + :vartype resource_guid: str + :ivar provisioning_state: The provisioning state of the network profile resource. Possible + values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'container_network_interfaces': {'readonly': True}, + 'resource_guid': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'container_network_interfaces': {'key': 'properties.containerNetworkInterfaces', 'type': '[ContainerNetworkInterface]'}, + 'container_network_interface_configurations': {'key': 'properties.containerNetworkInterfaceConfigurations', 'type': '[ContainerNetworkInterfaceConfiguration]'}, + 'resource_guid': {'key': 'properties.resourceGuid', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(NetworkProfile, self).__init__(**kwargs) + self.etag = None + self.container_network_interfaces = None + self.container_network_interface_configurations = kwargs.get('container_network_interface_configurations', None) + self.resource_guid = None + self.provisioning_state = None + + +class NetworkProfileListResult(msrest.serialization.Model): + """Response for ListNetworkProfiles API service call. + + :param value: A list of network profiles that exist in a resource group. + :type value: list[~azure.mgmt.network.v2021_02_01.models.NetworkProfile] + :param next_link: The URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[NetworkProfile]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(NetworkProfileListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = kwargs.get('next_link', None) + + +class NetworkRule(FirewallPolicyRule): + """Rule of type network. + + All required parameters must be populated in order to send to Azure. + + :param name: Name of the rule. + :type name: str + :param description: Description of the rule. + :type description: str + :param rule_type: Required. Rule Type.Constant filled by server. Possible values include: + "ApplicationRule", "NetworkRule", "NatRule". + :type rule_type: str or ~azure.mgmt.network.v2021_02_01.models.FirewallPolicyRuleType + :param ip_protocols: Array of FirewallPolicyRuleNetworkProtocols. + :type ip_protocols: list[str or + ~azure.mgmt.network.v2021_02_01.models.FirewallPolicyRuleNetworkProtocol] + :param source_addresses: List of source IP addresses for this rule. + :type source_addresses: list[str] + :param destination_addresses: List of destination IP addresses or Service Tags. + :type destination_addresses: list[str] + :param destination_ports: List of destination ports. + :type destination_ports: list[str] + :param source_ip_groups: List of source IpGroups for this rule. + :type source_ip_groups: list[str] + :param destination_ip_groups: List of destination IpGroups for this rule. + :type destination_ip_groups: list[str] + :param destination_fqdns: List of destination FQDNs. + :type destination_fqdns: list[str] + """ + + _validation = { + 'rule_type': {'required': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + 'rule_type': {'key': 'ruleType', 'type': 'str'}, + 'ip_protocols': {'key': 'ipProtocols', 'type': '[str]'}, + 'source_addresses': {'key': 'sourceAddresses', 'type': '[str]'}, + 'destination_addresses': {'key': 'destinationAddresses', 'type': '[str]'}, + 'destination_ports': {'key': 'destinationPorts', 'type': '[str]'}, + 'source_ip_groups': {'key': 'sourceIpGroups', 'type': '[str]'}, + 'destination_ip_groups': {'key': 'destinationIpGroups', 'type': '[str]'}, + 'destination_fqdns': {'key': 'destinationFqdns', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(NetworkRule, self).__init__(**kwargs) + self.rule_type = 'NetworkRule' # type: str + self.ip_protocols = kwargs.get('ip_protocols', None) + self.source_addresses = kwargs.get('source_addresses', None) + self.destination_addresses = kwargs.get('destination_addresses', None) + self.destination_ports = kwargs.get('destination_ports', None) + self.source_ip_groups = kwargs.get('source_ip_groups', None) + self.destination_ip_groups = kwargs.get('destination_ip_groups', None) + self.destination_fqdns = kwargs.get('destination_fqdns', None) + + +class NetworkSecurityGroup(Resource): + """NetworkSecurityGroup resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param security_rules: A collection of security rules of the network security group. + :type security_rules: list[~azure.mgmt.network.v2021_02_01.models.SecurityRule] + :ivar default_security_rules: The default security rules of network security group. + :vartype default_security_rules: list[~azure.mgmt.network.v2021_02_01.models.SecurityRule] + :ivar network_interfaces: A collection of references to network interfaces. + :vartype network_interfaces: list[~azure.mgmt.network.v2021_02_01.models.NetworkInterface] + :ivar subnets: A collection of references to subnets. + :vartype subnets: list[~azure.mgmt.network.v2021_02_01.models.Subnet] + :ivar flow_logs: A collection of references to flow log resources. + :vartype flow_logs: list[~azure.mgmt.network.v2021_02_01.models.FlowLog] + :ivar resource_guid: The resource GUID property of the network security group resource. + :vartype resource_guid: str + :ivar provisioning_state: The provisioning state of the network security group resource. + Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'default_security_rules': {'readonly': True}, + 'network_interfaces': {'readonly': True}, + 'subnets': {'readonly': True}, + 'flow_logs': {'readonly': True}, + 'resource_guid': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'security_rules': {'key': 'properties.securityRules', 'type': '[SecurityRule]'}, + 'default_security_rules': {'key': 'properties.defaultSecurityRules', 'type': '[SecurityRule]'}, + 'network_interfaces': {'key': 'properties.networkInterfaces', 'type': '[NetworkInterface]'}, + 'subnets': {'key': 'properties.subnets', 'type': '[Subnet]'}, + 'flow_logs': {'key': 'properties.flowLogs', 'type': '[FlowLog]'}, + 'resource_guid': {'key': 'properties.resourceGuid', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(NetworkSecurityGroup, self).__init__(**kwargs) + self.etag = None + self.security_rules = kwargs.get('security_rules', None) + self.default_security_rules = None + self.network_interfaces = None + self.subnets = None + self.flow_logs = None + self.resource_guid = None + self.provisioning_state = None + + +class NetworkSecurityGroupListResult(msrest.serialization.Model): + """Response for ListNetworkSecurityGroups API service call. + + :param value: A list of NetworkSecurityGroup resources. + :type value: list[~azure.mgmt.network.v2021_02_01.models.NetworkSecurityGroup] + :param next_link: The URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[NetworkSecurityGroup]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(NetworkSecurityGroupListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = kwargs.get('next_link', None) + + +class NetworkSecurityGroupResult(msrest.serialization.Model): + """Network configuration diagnostic result corresponded provided traffic query. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param security_rule_access_result: The network traffic is allowed or denied. Possible values + include: "Allow", "Deny". + :type security_rule_access_result: str or + ~azure.mgmt.network.v2021_02_01.models.SecurityRuleAccess + :ivar evaluated_network_security_groups: List of results network security groups diagnostic. + :vartype evaluated_network_security_groups: + list[~azure.mgmt.network.v2021_02_01.models.EvaluatedNetworkSecurityGroup] + """ + + _validation = { + 'evaluated_network_security_groups': {'readonly': True}, + } + + _attribute_map = { + 'security_rule_access_result': {'key': 'securityRuleAccessResult', 'type': 'str'}, + 'evaluated_network_security_groups': {'key': 'evaluatedNetworkSecurityGroups', 'type': '[EvaluatedNetworkSecurityGroup]'}, + } + + def __init__( + self, + **kwargs + ): + super(NetworkSecurityGroupResult, self).__init__(**kwargs) + self.security_rule_access_result = kwargs.get('security_rule_access_result', None) + self.evaluated_network_security_groups = None + + +class NetworkSecurityRulesEvaluationResult(msrest.serialization.Model): + """Network security rules evaluation result. + + :param name: Name of the network security rule. + :type name: str + :param protocol_matched: Value indicating whether protocol is matched. + :type protocol_matched: bool + :param source_matched: Value indicating whether source is matched. + :type source_matched: bool + :param source_port_matched: Value indicating whether source port is matched. + :type source_port_matched: bool + :param destination_matched: Value indicating whether destination is matched. + :type destination_matched: bool + :param destination_port_matched: Value indicating whether destination port is matched. + :type destination_port_matched: bool + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'protocol_matched': {'key': 'protocolMatched', 'type': 'bool'}, + 'source_matched': {'key': 'sourceMatched', 'type': 'bool'}, + 'source_port_matched': {'key': 'sourcePortMatched', 'type': 'bool'}, + 'destination_matched': {'key': 'destinationMatched', 'type': 'bool'}, + 'destination_port_matched': {'key': 'destinationPortMatched', 'type': 'bool'}, + } + + def __init__( + self, + **kwargs + ): + super(NetworkSecurityRulesEvaluationResult, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.protocol_matched = kwargs.get('protocol_matched', None) + self.source_matched = kwargs.get('source_matched', None) + self.source_port_matched = kwargs.get('source_port_matched', None) + self.destination_matched = kwargs.get('destination_matched', None) + self.destination_port_matched = kwargs.get('destination_port_matched', None) + + +class NetworkVirtualAppliance(Resource): + """NetworkVirtualAppliance Resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :param identity: The service principal that has read access to cloud-init and config blob. + :type identity: ~azure.mgmt.network.v2021_02_01.models.ManagedServiceIdentity + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param nva_sku: Network Virtual Appliance SKU. + :type nva_sku: ~azure.mgmt.network.v2021_02_01.models.VirtualApplianceSkuProperties + :ivar address_prefix: Address Prefix. + :vartype address_prefix: str + :param boot_strap_configuration_blobs: BootStrapConfigurationBlobs storage URLs. + :type boot_strap_configuration_blobs: list[str] + :param virtual_hub: The Virtual Hub where Network Virtual Appliance is being deployed. + :type virtual_hub: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param cloud_init_configuration_blobs: CloudInitConfigurationBlob storage URLs. + :type cloud_init_configuration_blobs: list[str] + :param cloud_init_configuration: CloudInitConfiguration string in plain text. + :type cloud_init_configuration: str + :param virtual_appliance_asn: VirtualAppliance ASN. + :type virtual_appliance_asn: long + :ivar virtual_appliance_nics: List of Virtual Appliance Network Interfaces. + :vartype virtual_appliance_nics: + list[~azure.mgmt.network.v2021_02_01.models.VirtualApplianceNicProperties] + :ivar virtual_appliance_sites: List of references to VirtualApplianceSite. + :vartype virtual_appliance_sites: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + :ivar inbound_security_rules: List of references to InboundSecurityRules. + :vartype inbound_security_rules: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + :ivar provisioning_state: The provisioning state of the resource. Possible values include: + "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'address_prefix': {'readonly': True}, + 'virtual_appliance_asn': {'maximum': 4294967295, 'minimum': 0}, + 'virtual_appliance_nics': {'readonly': True}, + 'virtual_appliance_sites': {'readonly': True}, + 'inbound_security_rules': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'identity': {'key': 'identity', 'type': 'ManagedServiceIdentity'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'nva_sku': {'key': 'properties.nvaSku', 'type': 'VirtualApplianceSkuProperties'}, + 'address_prefix': {'key': 'properties.addressPrefix', 'type': 'str'}, + 'boot_strap_configuration_blobs': {'key': 'properties.bootStrapConfigurationBlobs', 'type': '[str]'}, + 'virtual_hub': {'key': 'properties.virtualHub', 'type': 'SubResource'}, + 'cloud_init_configuration_blobs': {'key': 'properties.cloudInitConfigurationBlobs', 'type': '[str]'}, + 'cloud_init_configuration': {'key': 'properties.cloudInitConfiguration', 'type': 'str'}, + 'virtual_appliance_asn': {'key': 'properties.virtualApplianceAsn', 'type': 'long'}, + 'virtual_appliance_nics': {'key': 'properties.virtualApplianceNics', 'type': '[VirtualApplianceNicProperties]'}, + 'virtual_appliance_sites': {'key': 'properties.virtualApplianceSites', 'type': '[SubResource]'}, + 'inbound_security_rules': {'key': 'properties.inboundSecurityRules', 'type': '[SubResource]'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(NetworkVirtualAppliance, self).__init__(**kwargs) + self.identity = kwargs.get('identity', None) + self.etag = None + self.nva_sku = kwargs.get('nva_sku', None) + self.address_prefix = None + self.boot_strap_configuration_blobs = kwargs.get('boot_strap_configuration_blobs', None) + self.virtual_hub = kwargs.get('virtual_hub', None) + self.cloud_init_configuration_blobs = kwargs.get('cloud_init_configuration_blobs', None) + self.cloud_init_configuration = kwargs.get('cloud_init_configuration', None) + self.virtual_appliance_asn = kwargs.get('virtual_appliance_asn', None) + self.virtual_appliance_nics = None + self.virtual_appliance_sites = None + self.inbound_security_rules = None + self.provisioning_state = None + + +class NetworkVirtualApplianceListResult(msrest.serialization.Model): + """Response for ListNetworkVirtualAppliances API service call. + + :param value: List of Network Virtual Appliances. + :type value: list[~azure.mgmt.network.v2021_02_01.models.NetworkVirtualAppliance] + :param next_link: URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[NetworkVirtualAppliance]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(NetworkVirtualApplianceListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = kwargs.get('next_link', None) + + +class NetworkVirtualApplianceSiteListResult(msrest.serialization.Model): + """Response for ListNetworkVirtualApplianceSites API service call. + + :param value: List of Network Virtual Appliance sites. + :type value: list[~azure.mgmt.network.v2021_02_01.models.VirtualApplianceSite] + :param next_link: URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[VirtualApplianceSite]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(NetworkVirtualApplianceSiteListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = kwargs.get('next_link', None) + + +class NetworkVirtualApplianceSku(Resource): + """Definition of the NetworkVirtualApplianceSkus resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar vendor: Network Virtual Appliance Sku vendor. + :vartype vendor: str + :ivar available_versions: Available Network Virtual Appliance versions. + :vartype available_versions: list[str] + :param available_scale_units: The list of scale units available. + :type available_scale_units: + list[~azure.mgmt.network.v2021_02_01.models.NetworkVirtualApplianceSkuInstances] + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'vendor': {'readonly': True}, + 'available_versions': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'vendor': {'key': 'properties.vendor', 'type': 'str'}, + 'available_versions': {'key': 'properties.availableVersions', 'type': '[str]'}, + 'available_scale_units': {'key': 'properties.availableScaleUnits', 'type': '[NetworkVirtualApplianceSkuInstances]'}, + } + + def __init__( + self, + **kwargs + ): + super(NetworkVirtualApplianceSku, self).__init__(**kwargs) + self.etag = None + self.vendor = None + self.available_versions = None + self.available_scale_units = kwargs.get('available_scale_units', None) + + +class NetworkVirtualApplianceSkuInstances(msrest.serialization.Model): + """List of available Sku and instances. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar scale_unit: Scale Unit. + :vartype scale_unit: str + :ivar instance_count: Instance Count. + :vartype instance_count: int + """ + + _validation = { + 'scale_unit': {'readonly': True}, + 'instance_count': {'readonly': True}, + } + + _attribute_map = { + 'scale_unit': {'key': 'scaleUnit', 'type': 'str'}, + 'instance_count': {'key': 'instanceCount', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(NetworkVirtualApplianceSkuInstances, self).__init__(**kwargs) + self.scale_unit = None + self.instance_count = None + + +class NetworkVirtualApplianceSkuListResult(msrest.serialization.Model): + """Response for ListNetworkVirtualApplianceSkus API service call. + + :param value: List of Network Virtual Appliance Skus that are available. + :type value: list[~azure.mgmt.network.v2021_02_01.models.NetworkVirtualApplianceSku] + :param next_link: URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[NetworkVirtualApplianceSku]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(NetworkVirtualApplianceSkuListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = kwargs.get('next_link', None) + + +class NetworkWatcher(Resource): + """Network watcher in a resource group. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar provisioning_state: The provisioning state of the network watcher resource. Possible + values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(NetworkWatcher, self).__init__(**kwargs) + self.etag = None + self.provisioning_state = None + + +class NetworkWatcherListResult(msrest.serialization.Model): + """Response for ListNetworkWatchers API service call. + + :param value: List of network watcher resources. + :type value: list[~azure.mgmt.network.v2021_02_01.models.NetworkWatcher] + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[NetworkWatcher]'}, + } + + def __init__( + self, + **kwargs + ): + super(NetworkWatcherListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + + +class NextHopParameters(msrest.serialization.Model): + """Parameters that define the source and destination endpoint. + + All required parameters must be populated in order to send to Azure. + + :param target_resource_id: Required. The resource identifier of the target resource against + which the action is to be performed. + :type target_resource_id: str + :param source_ip_address: Required. The source IP address. + :type source_ip_address: str + :param destination_ip_address: Required. The destination IP address. + :type destination_ip_address: str + :param target_nic_resource_id: The NIC ID. (If VM has multiple NICs and IP forwarding is + enabled on any of the nics, then this parameter must be specified. Otherwise optional). + :type target_nic_resource_id: str + """ + + _validation = { + 'target_resource_id': {'required': True}, + 'source_ip_address': {'required': True}, + 'destination_ip_address': {'required': True}, + } + + _attribute_map = { + 'target_resource_id': {'key': 'targetResourceId', 'type': 'str'}, + 'source_ip_address': {'key': 'sourceIPAddress', 'type': 'str'}, + 'destination_ip_address': {'key': 'destinationIPAddress', 'type': 'str'}, + 'target_nic_resource_id': {'key': 'targetNicResourceId', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(NextHopParameters, self).__init__(**kwargs) + self.target_resource_id = kwargs['target_resource_id'] + self.source_ip_address = kwargs['source_ip_address'] + self.destination_ip_address = kwargs['destination_ip_address'] + self.target_nic_resource_id = kwargs.get('target_nic_resource_id', None) + + +class NextHopResult(msrest.serialization.Model): + """The information about next hop from the specified VM. + + :param next_hop_type: Next hop type. Possible values include: "Internet", "VirtualAppliance", + "VirtualNetworkGateway", "VnetLocal", "HyperNetGateway", "None". + :type next_hop_type: str or ~azure.mgmt.network.v2021_02_01.models.NextHopType + :param next_hop_ip_address: Next hop IP Address. + :type next_hop_ip_address: str + :param route_table_id: The resource identifier for the route table associated with the route + being returned. If the route being returned does not correspond to any user created routes then + this field will be the string 'System Route'. + :type route_table_id: str + """ + + _attribute_map = { + 'next_hop_type': {'key': 'nextHopType', 'type': 'str'}, + 'next_hop_ip_address': {'key': 'nextHopIpAddress', 'type': 'str'}, + 'route_table_id': {'key': 'routeTableId', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(NextHopResult, self).__init__(**kwargs) + self.next_hop_type = kwargs.get('next_hop_type', None) + self.next_hop_ip_address = kwargs.get('next_hop_ip_address', None) + self.route_table_id = kwargs.get('route_table_id', None) + + +class O365BreakOutCategoryPolicies(msrest.serialization.Model): + """Office365 breakout categories. + + :param allow: Flag to control allow category. + :type allow: bool + :param optimize: Flag to control optimize category. + :type optimize: bool + :param default: Flag to control default category. + :type default: bool + """ + + _attribute_map = { + 'allow': {'key': 'allow', 'type': 'bool'}, + 'optimize': {'key': 'optimize', 'type': 'bool'}, + 'default': {'key': 'default', 'type': 'bool'}, + } + + def __init__( + self, + **kwargs + ): + super(O365BreakOutCategoryPolicies, self).__init__(**kwargs) + self.allow = kwargs.get('allow', None) + self.optimize = kwargs.get('optimize', None) + self.default = kwargs.get('default', None) + + +class O365PolicyProperties(msrest.serialization.Model): + """The Office365 breakout policy. + + :param break_out_categories: Office365 breakout categories. + :type break_out_categories: ~azure.mgmt.network.v2021_02_01.models.O365BreakOutCategoryPolicies + """ + + _attribute_map = { + 'break_out_categories': {'key': 'breakOutCategories', 'type': 'O365BreakOutCategoryPolicies'}, + } + + def __init__( + self, + **kwargs + ): + super(O365PolicyProperties, self).__init__(**kwargs) + self.break_out_categories = kwargs.get('break_out_categories', None) + + +class Office365PolicyProperties(msrest.serialization.Model): + """Network Virtual Appliance Sku Properties. + + :param break_out_categories: Office 365 breakout categories. + :type break_out_categories: ~azure.mgmt.network.v2021_02_01.models.BreakOutCategoryPolicies + """ + + _attribute_map = { + 'break_out_categories': {'key': 'breakOutCategories', 'type': 'BreakOutCategoryPolicies'}, + } + + def __init__( + self, + **kwargs + ): + super(Office365PolicyProperties, self).__init__(**kwargs) + self.break_out_categories = kwargs.get('break_out_categories', None) + + +class Operation(msrest.serialization.Model): + """Network REST API operation definition. + + :param name: Operation name: {provider}/{resource}/{operation}. + :type name: str + :param display: Display metadata associated with the operation. + :type display: ~azure.mgmt.network.v2021_02_01.models.OperationDisplay + :param origin: Origin of the operation. + :type origin: str + :param service_specification: Specification of the service. + :type service_specification: + ~azure.mgmt.network.v2021_02_01.models.OperationPropertiesFormatServiceSpecification + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'display': {'key': 'display', 'type': 'OperationDisplay'}, + 'origin': {'key': 'origin', 'type': 'str'}, + 'service_specification': {'key': 'properties.serviceSpecification', 'type': 'OperationPropertiesFormatServiceSpecification'}, + } + + def __init__( + self, + **kwargs + ): + super(Operation, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.display = kwargs.get('display', None) + self.origin = kwargs.get('origin', None) + self.service_specification = kwargs.get('service_specification', None) + + +class OperationDisplay(msrest.serialization.Model): + """Display metadata associated with the operation. + + :param provider: Service provider: Microsoft Network. + :type provider: str + :param resource: Resource on which the operation is performed. + :type resource: str + :param operation: Type of the operation: get, read, delete, etc. + :type operation: str + :param description: Description of the operation. + :type description: str + """ + + _attribute_map = { + 'provider': {'key': 'provider', 'type': 'str'}, + 'resource': {'key': 'resource', 'type': 'str'}, + 'operation': {'key': 'operation', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(OperationDisplay, self).__init__(**kwargs) + self.provider = kwargs.get('provider', None) + self.resource = kwargs.get('resource', None) + self.operation = kwargs.get('operation', None) + self.description = kwargs.get('description', None) + + +class OperationListResult(msrest.serialization.Model): + """Result of the request to list Network operations. It contains a list of operations and a URL link to get the next set of results. + + :param value: List of Network operations supported by the Network resource provider. + :type value: list[~azure.mgmt.network.v2021_02_01.models.Operation] + :param next_link: URL to get the next set of operation list results if there are any. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Operation]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(OperationListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = kwargs.get('next_link', None) + + +class OperationPropertiesFormatServiceSpecification(msrest.serialization.Model): + """Specification of the service. + + :param metric_specifications: Operation service specification. + :type metric_specifications: list[~azure.mgmt.network.v2021_02_01.models.MetricSpecification] + :param log_specifications: Operation log specification. + :type log_specifications: list[~azure.mgmt.network.v2021_02_01.models.LogSpecification] + """ + + _attribute_map = { + 'metric_specifications': {'key': 'metricSpecifications', 'type': '[MetricSpecification]'}, + 'log_specifications': {'key': 'logSpecifications', 'type': '[LogSpecification]'}, + } + + def __init__( + self, + **kwargs + ): + super(OperationPropertiesFormatServiceSpecification, self).__init__(**kwargs) + self.metric_specifications = kwargs.get('metric_specifications', None) + self.log_specifications = kwargs.get('log_specifications', None) + + +class OutboundRule(SubResource): + """Outbound rule of the load balancer. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: The name of the resource that is unique within the set of outbound rules used by + the load balancer. This name can be used to access the resource. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str + :param allocated_outbound_ports: The number of outbound ports to be used for NAT. + :type allocated_outbound_ports: int + :param frontend_ip_configurations: The Frontend IP addresses of the load balancer. + :type frontend_ip_configurations: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + :param backend_address_pool: A reference to a pool of DIPs. Outbound traffic is randomly load + balanced across IPs in the backend IPs. + :type backend_address_pool: ~azure.mgmt.network.v2021_02_01.models.SubResource + :ivar provisioning_state: The provisioning state of the outbound rule resource. Possible values + include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :param protocol: The protocol for the outbound rule in load balancer. Possible values include: + "Tcp", "Udp", "All". + :type protocol: str or ~azure.mgmt.network.v2021_02_01.models.LoadBalancerOutboundRuleProtocol + :param enable_tcp_reset: Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected + connection termination. This element is only used when the protocol is set to TCP. + :type enable_tcp_reset: bool + :param idle_timeout_in_minutes: The timeout for the TCP idle connection. + :type idle_timeout_in_minutes: int + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'allocated_outbound_ports': {'key': 'properties.allocatedOutboundPorts', 'type': 'int'}, + 'frontend_ip_configurations': {'key': 'properties.frontendIPConfigurations', 'type': '[SubResource]'}, + 'backend_address_pool': {'key': 'properties.backendAddressPool', 'type': 'SubResource'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'protocol': {'key': 'properties.protocol', 'type': 'str'}, + 'enable_tcp_reset': {'key': 'properties.enableTcpReset', 'type': 'bool'}, + 'idle_timeout_in_minutes': {'key': 'properties.idleTimeoutInMinutes', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(OutboundRule, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.etag = None + self.type = None + self.allocated_outbound_ports = kwargs.get('allocated_outbound_ports', None) + self.frontend_ip_configurations = kwargs.get('frontend_ip_configurations', None) + self.backend_address_pool = kwargs.get('backend_address_pool', None) + self.provisioning_state = None + self.protocol = kwargs.get('protocol', None) + self.enable_tcp_reset = kwargs.get('enable_tcp_reset', None) + self.idle_timeout_in_minutes = kwargs.get('idle_timeout_in_minutes', None) + + +class OwaspCrsExclusionEntry(msrest.serialization.Model): + """Allow to exclude some variable satisfy the condition for the WAF check. + + All required parameters must be populated in order to send to Azure. + + :param match_variable: Required. The variable to be excluded. Possible values include: + "RequestHeaderNames", "RequestCookieNames", "RequestArgNames". + :type match_variable: str or + ~azure.mgmt.network.v2021_02_01.models.OwaspCrsExclusionEntryMatchVariable + :param selector_match_operator: Required. When matchVariable is a collection, operate on the + selector to specify which elements in the collection this exclusion applies to. Possible values + include: "Equals", "Contains", "StartsWith", "EndsWith", "EqualsAny". + :type selector_match_operator: str or + ~azure.mgmt.network.v2021_02_01.models.OwaspCrsExclusionEntrySelectorMatchOperator + :param selector: Required. When matchVariable is a collection, operator used to specify which + elements in the collection this exclusion applies to. + :type selector: str + """ + + _validation = { + 'match_variable': {'required': True}, + 'selector_match_operator': {'required': True}, + 'selector': {'required': True}, + } + + _attribute_map = { + 'match_variable': {'key': 'matchVariable', 'type': 'str'}, + 'selector_match_operator': {'key': 'selectorMatchOperator', 'type': 'str'}, + 'selector': {'key': 'selector', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(OwaspCrsExclusionEntry, self).__init__(**kwargs) + self.match_variable = kwargs['match_variable'] + self.selector_match_operator = kwargs['selector_match_operator'] + self.selector = kwargs['selector'] + + +class P2SConnectionConfiguration(SubResource): + """P2SConnectionConfiguration Resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: The name of the resource that is unique within a resource group. This name can be + used to access the resource. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param vpn_client_address_pool: The reference to the address space resource which represents + Address space for P2S VpnClient. + :type vpn_client_address_pool: ~azure.mgmt.network.v2021_02_01.models.AddressSpace + :param routing_configuration: The Routing Configuration indicating the associated and + propagated route tables on this connection. + :type routing_configuration: ~azure.mgmt.network.v2021_02_01.models.RoutingConfiguration + :param enable_internet_security: Flag indicating whether the enable internet security flag is + turned on for the P2S Connections or not. + :type enable_internet_security: bool + :ivar provisioning_state: The provisioning state of the P2SConnectionConfiguration resource. + Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'vpn_client_address_pool': {'key': 'properties.vpnClientAddressPool', 'type': 'AddressSpace'}, + 'routing_configuration': {'key': 'properties.routingConfiguration', 'type': 'RoutingConfiguration'}, + 'enable_internet_security': {'key': 'properties.enableInternetSecurity', 'type': 'bool'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(P2SConnectionConfiguration, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.etag = None + self.vpn_client_address_pool = kwargs.get('vpn_client_address_pool', None) + self.routing_configuration = kwargs.get('routing_configuration', None) + self.enable_internet_security = kwargs.get('enable_internet_security', None) + self.provisioning_state = None + + +class P2SVpnConnectionHealth(msrest.serialization.Model): + """P2S Vpn connection detailed health written to sas url. + + :param sas_url: Returned sas url of the blob to which the p2s vpn connection detailed health + will be written. + :type sas_url: str + """ + + _attribute_map = { + 'sas_url': {'key': 'sasUrl', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(P2SVpnConnectionHealth, self).__init__(**kwargs) + self.sas_url = kwargs.get('sas_url', None) + + +class P2SVpnConnectionHealthRequest(msrest.serialization.Model): + """List of P2S Vpn connection health request. + + :param vpn_user_names_filter: The list of p2s vpn user names whose p2s vpn connection detailed + health to retrieve for. + :type vpn_user_names_filter: list[str] + :param output_blob_sas_url: The sas-url to download the P2S Vpn connection health detail. + :type output_blob_sas_url: str + """ + + _attribute_map = { + 'vpn_user_names_filter': {'key': 'vpnUserNamesFilter', 'type': '[str]'}, + 'output_blob_sas_url': {'key': 'outputBlobSasUrl', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(P2SVpnConnectionHealthRequest, self).__init__(**kwargs) + self.vpn_user_names_filter = kwargs.get('vpn_user_names_filter', None) + self.output_blob_sas_url = kwargs.get('output_blob_sas_url', None) + + +class P2SVpnConnectionRequest(msrest.serialization.Model): + """List of p2s vpn connections to be disconnected. + + :param vpn_connection_ids: List of p2s vpn connection Ids. + :type vpn_connection_ids: list[str] + """ + + _attribute_map = { + 'vpn_connection_ids': {'key': 'vpnConnectionIds', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(P2SVpnConnectionRequest, self).__init__(**kwargs) + self.vpn_connection_ids = kwargs.get('vpn_connection_ids', None) + + +class P2SVpnGateway(Resource): + """P2SVpnGateway Resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param virtual_hub: The VirtualHub to which the gateway belongs. + :type virtual_hub: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param p2_s_connection_configurations: List of all p2s connection configurations of the + gateway. + :type p2_s_connection_configurations: + list[~azure.mgmt.network.v2021_02_01.models.P2SConnectionConfiguration] + :ivar provisioning_state: The provisioning state of the P2S VPN gateway resource. Possible + values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :param vpn_gateway_scale_unit: The scale unit for this p2s vpn gateway. + :type vpn_gateway_scale_unit: int + :param vpn_server_configuration: The VpnServerConfiguration to which the p2sVpnGateway is + attached to. + :type vpn_server_configuration: ~azure.mgmt.network.v2021_02_01.models.SubResource + :ivar vpn_client_connection_health: All P2S VPN clients' connection health status. + :vartype vpn_client_connection_health: + ~azure.mgmt.network.v2021_02_01.models.VpnClientConnectionHealth + :param custom_dns_servers: List of all customer specified DNS servers IP addresses. + :type custom_dns_servers: list[str] + :param is_routing_preference_internet: Enable Routing Preference property for the Public IP + Interface of the P2SVpnGateway. + :type is_routing_preference_internet: bool + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'vpn_client_connection_health': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'virtual_hub': {'key': 'properties.virtualHub', 'type': 'SubResource'}, + 'p2_s_connection_configurations': {'key': 'properties.p2SConnectionConfigurations', 'type': '[P2SConnectionConfiguration]'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'vpn_gateway_scale_unit': {'key': 'properties.vpnGatewayScaleUnit', 'type': 'int'}, + 'vpn_server_configuration': {'key': 'properties.vpnServerConfiguration', 'type': 'SubResource'}, + 'vpn_client_connection_health': {'key': 'properties.vpnClientConnectionHealth', 'type': 'VpnClientConnectionHealth'}, + 'custom_dns_servers': {'key': 'properties.customDnsServers', 'type': '[str]'}, + 'is_routing_preference_internet': {'key': 'properties.isRoutingPreferenceInternet', 'type': 'bool'}, + } + + def __init__( + self, + **kwargs + ): + super(P2SVpnGateway, self).__init__(**kwargs) + self.etag = None + self.virtual_hub = kwargs.get('virtual_hub', None) + self.p2_s_connection_configurations = kwargs.get('p2_s_connection_configurations', None) + self.provisioning_state = None + self.vpn_gateway_scale_unit = kwargs.get('vpn_gateway_scale_unit', None) + self.vpn_server_configuration = kwargs.get('vpn_server_configuration', None) + self.vpn_client_connection_health = None + self.custom_dns_servers = kwargs.get('custom_dns_servers', None) + self.is_routing_preference_internet = kwargs.get('is_routing_preference_internet', None) + + +class P2SVpnProfileParameters(msrest.serialization.Model): + """Vpn Client Parameters for package generation. + + :param authentication_method: VPN client authentication method. Possible values include: + "EAPTLS", "EAPMSCHAPv2". + :type authentication_method: str or ~azure.mgmt.network.v2021_02_01.models.AuthenticationMethod + """ + + _attribute_map = { + 'authentication_method': {'key': 'authenticationMethod', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(P2SVpnProfileParameters, self).__init__(**kwargs) + self.authentication_method = kwargs.get('authentication_method', None) + + +class PacketCapture(msrest.serialization.Model): + """Parameters that define the create packet capture operation. + + All required parameters must be populated in order to send to Azure. + + :param target: Required. The ID of the targeted resource, only VM is currently supported. + :type target: str + :param bytes_to_capture_per_packet: Number of bytes captured per packet, the remaining bytes + are truncated. + :type bytes_to_capture_per_packet: long + :param total_bytes_per_session: Maximum size of the capture output. + :type total_bytes_per_session: long + :param time_limit_in_seconds: Maximum duration of the capture session in seconds. + :type time_limit_in_seconds: int + :param storage_location: Required. The storage location for a packet capture session. + :type storage_location: ~azure.mgmt.network.v2021_02_01.models.PacketCaptureStorageLocation + :param filters: A list of packet capture filters. + :type filters: list[~azure.mgmt.network.v2021_02_01.models.PacketCaptureFilter] + """ + + _validation = { + 'target': {'required': True}, + 'bytes_to_capture_per_packet': {'maximum': 4294967295, 'minimum': 0}, + 'total_bytes_per_session': {'maximum': 4294967295, 'minimum': 0}, + 'time_limit_in_seconds': {'maximum': 18000, 'minimum': 0}, + 'storage_location': {'required': True}, + } + + _attribute_map = { + 'target': {'key': 'properties.target', 'type': 'str'}, + 'bytes_to_capture_per_packet': {'key': 'properties.bytesToCapturePerPacket', 'type': 'long'}, + 'total_bytes_per_session': {'key': 'properties.totalBytesPerSession', 'type': 'long'}, + 'time_limit_in_seconds': {'key': 'properties.timeLimitInSeconds', 'type': 'int'}, + 'storage_location': {'key': 'properties.storageLocation', 'type': 'PacketCaptureStorageLocation'}, + 'filters': {'key': 'properties.filters', 'type': '[PacketCaptureFilter]'}, + } + + def __init__( + self, + **kwargs + ): + super(PacketCapture, self).__init__(**kwargs) + self.target = kwargs['target'] + self.bytes_to_capture_per_packet = kwargs.get('bytes_to_capture_per_packet', 0) + self.total_bytes_per_session = kwargs.get('total_bytes_per_session', 1073741824) + self.time_limit_in_seconds = kwargs.get('time_limit_in_seconds', 18000) + self.storage_location = kwargs['storage_location'] + self.filters = kwargs.get('filters', None) + + +class PacketCaptureFilter(msrest.serialization.Model): + """Filter that is applied to packet capture request. Multiple filters can be applied. + + :param protocol: Protocol to be filtered on. Possible values include: "TCP", "UDP", "Any". + Default value: "Any". + :type protocol: str or ~azure.mgmt.network.v2021_02_01.models.PcProtocol + :param local_ip_address: Local IP Address to be filtered on. Notation: "127.0.0.1" for single + address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5"? for multiple entries. + Multiple ranges not currently supported. Mixing ranges with multiple entries not currently + supported. Default = null. + :type local_ip_address: str + :param remote_ip_address: Local IP Address to be filtered on. Notation: "127.0.0.1" for single + address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5;" for multiple entries. + Multiple ranges not currently supported. Mixing ranges with multiple entries not currently + supported. Default = null. + :type remote_ip_address: str + :param local_port: Local port to be filtered on. Notation: "80" for single port entry."80-85" + for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing + ranges with multiple entries not currently supported. Default = null. + :type local_port: str + :param remote_port: Remote port to be filtered on. Notation: "80" for single port entry."80-85" + for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing + ranges with multiple entries not currently supported. Default = null. + :type remote_port: str + """ + + _attribute_map = { + 'protocol': {'key': 'protocol', 'type': 'str'}, + 'local_ip_address': {'key': 'localIPAddress', 'type': 'str'}, + 'remote_ip_address': {'key': 'remoteIPAddress', 'type': 'str'}, + 'local_port': {'key': 'localPort', 'type': 'str'}, + 'remote_port': {'key': 'remotePort', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(PacketCaptureFilter, self).__init__(**kwargs) + self.protocol = kwargs.get('protocol', "Any") + self.local_ip_address = kwargs.get('local_ip_address', None) + self.remote_ip_address = kwargs.get('remote_ip_address', None) + self.local_port = kwargs.get('local_port', None) + self.remote_port = kwargs.get('remote_port', None) + + +class PacketCaptureListResult(msrest.serialization.Model): + """List of packet capture sessions. + + :param value: Information about packet capture sessions. + :type value: list[~azure.mgmt.network.v2021_02_01.models.PacketCaptureResult] + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[PacketCaptureResult]'}, + } + + def __init__( + self, + **kwargs + ): + super(PacketCaptureListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + + +class PacketCaptureParameters(msrest.serialization.Model): + """Parameters that define the create packet capture operation. + + All required parameters must be populated in order to send to Azure. + + :param target: Required. The ID of the targeted resource, only VM is currently supported. + :type target: str + :param bytes_to_capture_per_packet: Number of bytes captured per packet, the remaining bytes + are truncated. + :type bytes_to_capture_per_packet: long + :param total_bytes_per_session: Maximum size of the capture output. + :type total_bytes_per_session: long + :param time_limit_in_seconds: Maximum duration of the capture session in seconds. + :type time_limit_in_seconds: int + :param storage_location: Required. The storage location for a packet capture session. + :type storage_location: ~azure.mgmt.network.v2021_02_01.models.PacketCaptureStorageLocation + :param filters: A list of packet capture filters. + :type filters: list[~azure.mgmt.network.v2021_02_01.models.PacketCaptureFilter] + """ + + _validation = { + 'target': {'required': True}, + 'bytes_to_capture_per_packet': {'maximum': 4294967295, 'minimum': 0}, + 'total_bytes_per_session': {'maximum': 4294967295, 'minimum': 0}, + 'time_limit_in_seconds': {'maximum': 18000, 'minimum': 0}, + 'storage_location': {'required': True}, + } + + _attribute_map = { + 'target': {'key': 'target', 'type': 'str'}, + 'bytes_to_capture_per_packet': {'key': 'bytesToCapturePerPacket', 'type': 'long'}, + 'total_bytes_per_session': {'key': 'totalBytesPerSession', 'type': 'long'}, + 'time_limit_in_seconds': {'key': 'timeLimitInSeconds', 'type': 'int'}, + 'storage_location': {'key': 'storageLocation', 'type': 'PacketCaptureStorageLocation'}, + 'filters': {'key': 'filters', 'type': '[PacketCaptureFilter]'}, + } + + def __init__( + self, + **kwargs + ): + super(PacketCaptureParameters, self).__init__(**kwargs) + self.target = kwargs['target'] + self.bytes_to_capture_per_packet = kwargs.get('bytes_to_capture_per_packet', 0) + self.total_bytes_per_session = kwargs.get('total_bytes_per_session', 1073741824) + self.time_limit_in_seconds = kwargs.get('time_limit_in_seconds', 18000) + self.storage_location = kwargs['storage_location'] + self.filters = kwargs.get('filters', None) + + +class PacketCaptureQueryStatusResult(msrest.serialization.Model): + """Status of packet capture session. + + :param name: The name of the packet capture resource. + :type name: str + :param id: The ID of the packet capture resource. + :type id: str + :param capture_start_time: The start time of the packet capture session. + :type capture_start_time: ~datetime.datetime + :param packet_capture_status: The status of the packet capture session. Possible values + include: "NotStarted", "Running", "Stopped", "Error", "Unknown". + :type packet_capture_status: str or ~azure.mgmt.network.v2021_02_01.models.PcStatus + :param stop_reason: The reason the current packet capture session was stopped. + :type stop_reason: str + :param packet_capture_error: List of errors of packet capture session. + :type packet_capture_error: list[str or ~azure.mgmt.network.v2021_02_01.models.PcError] + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'id': {'key': 'id', 'type': 'str'}, + 'capture_start_time': {'key': 'captureStartTime', 'type': 'iso-8601'}, + 'packet_capture_status': {'key': 'packetCaptureStatus', 'type': 'str'}, + 'stop_reason': {'key': 'stopReason', 'type': 'str'}, + 'packet_capture_error': {'key': 'packetCaptureError', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(PacketCaptureQueryStatusResult, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.id = kwargs.get('id', None) + self.capture_start_time = kwargs.get('capture_start_time', None) + self.packet_capture_status = kwargs.get('packet_capture_status', None) + self.stop_reason = kwargs.get('stop_reason', None) + self.packet_capture_error = kwargs.get('packet_capture_error', None) + + +class PacketCaptureResult(msrest.serialization.Model): + """Information about packet capture session. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar name: Name of the packet capture session. + :vartype name: str + :ivar id: ID of the packet capture operation. + :vartype id: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param target: The ID of the targeted resource, only VM is currently supported. + :type target: str + :param bytes_to_capture_per_packet: Number of bytes captured per packet, the remaining bytes + are truncated. + :type bytes_to_capture_per_packet: long + :param total_bytes_per_session: Maximum size of the capture output. + :type total_bytes_per_session: long + :param time_limit_in_seconds: Maximum duration of the capture session in seconds. + :type time_limit_in_seconds: int + :param storage_location: The storage location for a packet capture session. + :type storage_location: ~azure.mgmt.network.v2021_02_01.models.PacketCaptureStorageLocation + :param filters: A list of packet capture filters. + :type filters: list[~azure.mgmt.network.v2021_02_01.models.PacketCaptureFilter] + :ivar provisioning_state: The provisioning state of the packet capture session. Possible values + include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'name': {'readonly': True}, + 'id': {'readonly': True}, + 'etag': {'readonly': True}, + 'bytes_to_capture_per_packet': {'maximum': 4294967295, 'minimum': 0}, + 'total_bytes_per_session': {'maximum': 4294967295, 'minimum': 0}, + 'time_limit_in_seconds': {'maximum': 18000, 'minimum': 0}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'id': {'key': 'id', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'target': {'key': 'properties.target', 'type': 'str'}, + 'bytes_to_capture_per_packet': {'key': 'properties.bytesToCapturePerPacket', 'type': 'long'}, + 'total_bytes_per_session': {'key': 'properties.totalBytesPerSession', 'type': 'long'}, + 'time_limit_in_seconds': {'key': 'properties.timeLimitInSeconds', 'type': 'int'}, + 'storage_location': {'key': 'properties.storageLocation', 'type': 'PacketCaptureStorageLocation'}, + 'filters': {'key': 'properties.filters', 'type': '[PacketCaptureFilter]'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(PacketCaptureResult, self).__init__(**kwargs) + self.name = None + self.id = None + self.etag = None + self.target = kwargs.get('target', None) + self.bytes_to_capture_per_packet = kwargs.get('bytes_to_capture_per_packet', 0) + self.total_bytes_per_session = kwargs.get('total_bytes_per_session', 1073741824) + self.time_limit_in_seconds = kwargs.get('time_limit_in_seconds', 18000) + self.storage_location = kwargs.get('storage_location', None) + self.filters = kwargs.get('filters', None) + self.provisioning_state = None + + +class PacketCaptureResultProperties(PacketCaptureParameters): + """The properties of a packet capture session. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param target: Required. The ID of the targeted resource, only VM is currently supported. + :type target: str + :param bytes_to_capture_per_packet: Number of bytes captured per packet, the remaining bytes + are truncated. + :type bytes_to_capture_per_packet: long + :param total_bytes_per_session: Maximum size of the capture output. + :type total_bytes_per_session: long + :param time_limit_in_seconds: Maximum duration of the capture session in seconds. + :type time_limit_in_seconds: int + :param storage_location: Required. The storage location for a packet capture session. + :type storage_location: ~azure.mgmt.network.v2021_02_01.models.PacketCaptureStorageLocation + :param filters: A list of packet capture filters. + :type filters: list[~azure.mgmt.network.v2021_02_01.models.PacketCaptureFilter] + :ivar provisioning_state: The provisioning state of the packet capture session. Possible values + include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'target': {'required': True}, + 'bytes_to_capture_per_packet': {'maximum': 4294967295, 'minimum': 0}, + 'total_bytes_per_session': {'maximum': 4294967295, 'minimum': 0}, + 'time_limit_in_seconds': {'maximum': 18000, 'minimum': 0}, + 'storage_location': {'required': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'target': {'key': 'target', 'type': 'str'}, + 'bytes_to_capture_per_packet': {'key': 'bytesToCapturePerPacket', 'type': 'long'}, + 'total_bytes_per_session': {'key': 'totalBytesPerSession', 'type': 'long'}, + 'time_limit_in_seconds': {'key': 'timeLimitInSeconds', 'type': 'int'}, + 'storage_location': {'key': 'storageLocation', 'type': 'PacketCaptureStorageLocation'}, + 'filters': {'key': 'filters', 'type': '[PacketCaptureFilter]'}, + 'provisioning_state': {'key': 'provisioningState', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(PacketCaptureResultProperties, self).__init__(**kwargs) + self.provisioning_state = None + + +class PacketCaptureStorageLocation(msrest.serialization.Model): + """The storage location for a packet capture session. + + :param storage_id: The ID of the storage account to save the packet capture session. Required + if no local file path is provided. + :type storage_id: str + :param storage_path: The URI of the storage path to save the packet capture. Must be a + well-formed URI describing the location to save the packet capture. + :type storage_path: str + :param file_path: A valid local path on the targeting VM. Must include the name of the capture + file (*.cap). For linux virtual machine it must start with /var/captures. Required if no + storage ID is provided, otherwise optional. + :type file_path: str + """ + + _attribute_map = { + 'storage_id': {'key': 'storageId', 'type': 'str'}, + 'storage_path': {'key': 'storagePath', 'type': 'str'}, + 'file_path': {'key': 'filePath', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(PacketCaptureStorageLocation, self).__init__(**kwargs) + self.storage_id = kwargs.get('storage_id', None) + self.storage_path = kwargs.get('storage_path', None) + self.file_path = kwargs.get('file_path', None) + + +class PatchRouteFilter(SubResource): + """Route Filter Resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: The name of the resource that is unique within a resource group. This name can be + used to access the resource. + :vartype name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Resource type. + :vartype type: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :param rules: Collection of RouteFilterRules contained within a route filter. + :type rules: list[~azure.mgmt.network.v2021_02_01.models.RouteFilterRule] + :ivar peerings: A collection of references to express route circuit peerings. + :vartype peerings: list[~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitPeering] + :ivar ipv6_peerings: A collection of references to express route circuit ipv6 peerings. + :vartype ipv6_peerings: list[~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitPeering] + :ivar provisioning_state: The provisioning state of the route filter resource. Possible values + include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'name': {'readonly': True}, + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'peerings': {'readonly': True}, + 'ipv6_peerings': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'rules': {'key': 'properties.rules', 'type': '[RouteFilterRule]'}, + 'peerings': {'key': 'properties.peerings', 'type': '[ExpressRouteCircuitPeering]'}, + 'ipv6_peerings': {'key': 'properties.ipv6Peerings', 'type': '[ExpressRouteCircuitPeering]'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(PatchRouteFilter, self).__init__(**kwargs) + self.name = None + self.etag = None + self.type = None + self.tags = kwargs.get('tags', None) + self.rules = kwargs.get('rules', None) + self.peerings = None + self.ipv6_peerings = None + self.provisioning_state = None + + +class PatchRouteFilterRule(SubResource): + """Route Filter Rule Resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: The name of the resource that is unique within a resource group. This name can be + used to access the resource. + :vartype name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param access: The access type of the rule. Possible values include: "Allow", "Deny". + :type access: str or ~azure.mgmt.network.v2021_02_01.models.Access + :param route_filter_rule_type: The rule type of the rule. Possible values include: "Community". + :type route_filter_rule_type: str or ~azure.mgmt.network.v2021_02_01.models.RouteFilterRuleType + :param communities: The collection for bgp community values to filter on. e.g. + ['12076:5010','12076:5020']. + :type communities: list[str] + :ivar provisioning_state: The provisioning state of the route filter rule resource. Possible + values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'name': {'readonly': True}, + 'etag': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'access': {'key': 'properties.access', 'type': 'str'}, + 'route_filter_rule_type': {'key': 'properties.routeFilterRuleType', 'type': 'str'}, + 'communities': {'key': 'properties.communities', 'type': '[str]'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(PatchRouteFilterRule, self).__init__(**kwargs) + self.name = None + self.etag = None + self.access = kwargs.get('access', None) + self.route_filter_rule_type = kwargs.get('route_filter_rule_type', None) + self.communities = kwargs.get('communities', None) + self.provisioning_state = None + + +class PeerExpressRouteCircuitConnection(SubResource): + """Peer Express Route Circuit Connection in an ExpressRouteCircuitPeering resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: The name of the resource that is unique within a resource group. This name can be + used to access the resource. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str + :param express_route_circuit_peering: Reference to Express Route Circuit Private Peering + Resource of the circuit. + :type express_route_circuit_peering: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param peer_express_route_circuit_peering: Reference to Express Route Circuit Private Peering + Resource of the peered circuit. + :type peer_express_route_circuit_peering: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param address_prefix: /29 IP address space to carve out Customer addresses for tunnels. + :type address_prefix: str + :ivar circuit_connection_status: Express Route Circuit connection state. Possible values + include: "Connected", "Connecting", "Disconnected". + :vartype circuit_connection_status: str or + ~azure.mgmt.network.v2021_02_01.models.CircuitConnectionStatus + :param connection_name: The name of the express route circuit connection resource. + :type connection_name: str + :param auth_resource_guid: The resource guid of the authorization used for the express route + circuit connection. + :type auth_resource_guid: str + :ivar provisioning_state: The provisioning state of the peer express route circuit connection + resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'circuit_connection_status': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'express_route_circuit_peering': {'key': 'properties.expressRouteCircuitPeering', 'type': 'SubResource'}, + 'peer_express_route_circuit_peering': {'key': 'properties.peerExpressRouteCircuitPeering', 'type': 'SubResource'}, + 'address_prefix': {'key': 'properties.addressPrefix', 'type': 'str'}, + 'circuit_connection_status': {'key': 'properties.circuitConnectionStatus', 'type': 'str'}, + 'connection_name': {'key': 'properties.connectionName', 'type': 'str'}, + 'auth_resource_guid': {'key': 'properties.authResourceGuid', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(PeerExpressRouteCircuitConnection, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.etag = None + self.type = None + self.express_route_circuit_peering = kwargs.get('express_route_circuit_peering', None) + self.peer_express_route_circuit_peering = kwargs.get('peer_express_route_circuit_peering', None) + self.address_prefix = kwargs.get('address_prefix', None) + self.circuit_connection_status = None + self.connection_name = kwargs.get('connection_name', None) + self.auth_resource_guid = kwargs.get('auth_resource_guid', None) + self.provisioning_state = None + + +class PeerExpressRouteCircuitConnectionListResult(msrest.serialization.Model): + """Response for ListPeeredConnections API service call retrieves all global reach peer circuit connections that belongs to a Private Peering for an ExpressRouteCircuit. + + :param value: The global reach peer circuit connection associated with Private Peering in an + ExpressRoute Circuit. + :type value: list[~azure.mgmt.network.v2021_02_01.models.PeerExpressRouteCircuitConnection] + :param next_link: The URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[PeerExpressRouteCircuitConnection]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(PeerExpressRouteCircuitConnectionListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = kwargs.get('next_link', None) + + +class PeerRoute(msrest.serialization.Model): + """Peer routing details. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar local_address: The peer's local address. + :vartype local_address: str + :ivar network: The route's network prefix. + :vartype network: str + :ivar next_hop: The route's next hop. + :vartype next_hop: str + :ivar source_peer: The peer this route was learned from. + :vartype source_peer: str + :ivar origin: The source this route was learned from. + :vartype origin: str + :ivar as_path: The route's AS path sequence. + :vartype as_path: str + :ivar weight: The route's weight. + :vartype weight: int + """ + + _validation = { + 'local_address': {'readonly': True}, + 'network': {'readonly': True}, + 'next_hop': {'readonly': True}, + 'source_peer': {'readonly': True}, + 'origin': {'readonly': True}, + 'as_path': {'readonly': True}, + 'weight': {'readonly': True}, + } + + _attribute_map = { + 'local_address': {'key': 'localAddress', 'type': 'str'}, + 'network': {'key': 'network', 'type': 'str'}, + 'next_hop': {'key': 'nextHop', 'type': 'str'}, + 'source_peer': {'key': 'sourcePeer', 'type': 'str'}, + 'origin': {'key': 'origin', 'type': 'str'}, + 'as_path': {'key': 'asPath', 'type': 'str'}, + 'weight': {'key': 'weight', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(PeerRoute, self).__init__(**kwargs) + self.local_address = None + self.network = None + self.next_hop = None + self.source_peer = None + self.origin = None + self.as_path = None + self.weight = None + + +class PeerRouteList(msrest.serialization.Model): + """List of virtual router peer routes. + + :param value: List of peer routes. + :type value: list[~azure.mgmt.network.v2021_02_01.models.PeerRoute] + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[PeerRoute]'}, + } + + def __init__( + self, + **kwargs + ): + super(PeerRouteList, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + + +class PolicySettings(msrest.serialization.Model): + """Defines contents of a web application firewall global configuration. + + :param state: The state of the policy. Possible values include: "Disabled", "Enabled". + :type state: str or ~azure.mgmt.network.v2021_02_01.models.WebApplicationFirewallEnabledState + :param mode: The mode of the policy. Possible values include: "Prevention", "Detection". + :type mode: str or ~azure.mgmt.network.v2021_02_01.models.WebApplicationFirewallMode + :param request_body_check: Whether to allow WAF to check request Body. + :type request_body_check: bool + :param max_request_body_size_in_kb: Maximum request body size in Kb for WAF. + :type max_request_body_size_in_kb: int + :param file_upload_limit_in_mb: Maximum file upload size in Mb for WAF. + :type file_upload_limit_in_mb: int + """ + + _validation = { + 'max_request_body_size_in_kb': {'minimum': 8}, + 'file_upload_limit_in_mb': {'minimum': 0}, + } + + _attribute_map = { + 'state': {'key': 'state', 'type': 'str'}, + 'mode': {'key': 'mode', 'type': 'str'}, + 'request_body_check': {'key': 'requestBodyCheck', 'type': 'bool'}, + 'max_request_body_size_in_kb': {'key': 'maxRequestBodySizeInKb', 'type': 'int'}, + 'file_upload_limit_in_mb': {'key': 'fileUploadLimitInMb', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(PolicySettings, self).__init__(**kwargs) + self.state = kwargs.get('state', None) + self.mode = kwargs.get('mode', None) + self.request_body_check = kwargs.get('request_body_check', None) + self.max_request_body_size_in_kb = kwargs.get('max_request_body_size_in_kb', None) + self.file_upload_limit_in_mb = kwargs.get('file_upload_limit_in_mb', None) + + +class PrepareNetworkPoliciesRequest(msrest.serialization.Model): + """Details of PrepareNetworkPolicies for Subnet. + + :param service_name: The name of the service for which subnet is being prepared for. + :type service_name: str + :param network_intent_policy_configurations: A list of NetworkIntentPolicyConfiguration. + :type network_intent_policy_configurations: + list[~azure.mgmt.network.v2021_02_01.models.NetworkIntentPolicyConfiguration] + """ + + _attribute_map = { + 'service_name': {'key': 'serviceName', 'type': 'str'}, + 'network_intent_policy_configurations': {'key': 'networkIntentPolicyConfigurations', 'type': '[NetworkIntentPolicyConfiguration]'}, + } + + def __init__( + self, + **kwargs + ): + super(PrepareNetworkPoliciesRequest, self).__init__(**kwargs) + self.service_name = kwargs.get('service_name', None) + self.network_intent_policy_configurations = kwargs.get('network_intent_policy_configurations', None) + + +class PrivateDnsZoneConfig(msrest.serialization.Model): + """PrivateDnsZoneConfig resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param name: Name of the resource that is unique within a resource group. This name can be used + to access the resource. + :type name: str + :param private_dns_zone_id: The resource id of the private dns zone. + :type private_dns_zone_id: str + :ivar record_sets: A collection of information regarding a recordSet, holding information to + identify private resources. + :vartype record_sets: list[~azure.mgmt.network.v2021_02_01.models.RecordSet] + """ + + _validation = { + 'record_sets': {'readonly': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'private_dns_zone_id': {'key': 'properties.privateDnsZoneId', 'type': 'str'}, + 'record_sets': {'key': 'properties.recordSets', 'type': '[RecordSet]'}, + } + + def __init__( + self, + **kwargs + ): + super(PrivateDnsZoneConfig, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.private_dns_zone_id = kwargs.get('private_dns_zone_id', None) + self.record_sets = None + + +class PrivateDnsZoneGroup(SubResource): + """Private dns zone group resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: Name of the resource that is unique within a resource group. This name can be used + to access the resource. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar provisioning_state: The provisioning state of the private dns zone group resource. + Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :param private_dns_zone_configs: A collection of private dns zone configurations of the private + dns zone group. + :type private_dns_zone_configs: + list[~azure.mgmt.network.v2021_02_01.models.PrivateDnsZoneConfig] + """ + + _validation = { + 'etag': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'private_dns_zone_configs': {'key': 'properties.privateDnsZoneConfigs', 'type': '[PrivateDnsZoneConfig]'}, + } + + def __init__( + self, + **kwargs + ): + super(PrivateDnsZoneGroup, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.etag = None + self.provisioning_state = None + self.private_dns_zone_configs = kwargs.get('private_dns_zone_configs', None) + + +class PrivateDnsZoneGroupListResult(msrest.serialization.Model): + """Response for the ListPrivateDnsZoneGroups API service call. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: A list of private dns zone group resources in a private endpoint. + :type value: list[~azure.mgmt.network.v2021_02_01.models.PrivateDnsZoneGroup] + :ivar next_link: The URL to get the next set of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[PrivateDnsZoneGroup]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(PrivateDnsZoneGroupListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = None + + +class PrivateEndpoint(Resource): + """Private endpoint resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :param extended_location: The extended location of the load balancer. + :type extended_location: ~azure.mgmt.network.v2021_02_01.models.ExtendedLocation + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param subnet: The ID of the subnet from which the private IP will be allocated. + :type subnet: ~azure.mgmt.network.v2021_02_01.models.Subnet + :ivar network_interfaces: An array of references to the network interfaces created for this + private endpoint. + :vartype network_interfaces: list[~azure.mgmt.network.v2021_02_01.models.NetworkInterface] + :ivar provisioning_state: The provisioning state of the private endpoint resource. Possible + values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :param private_link_service_connections: A grouping of information about the connection to the + remote resource. + :type private_link_service_connections: + list[~azure.mgmt.network.v2021_02_01.models.PrivateLinkServiceConnection] + :param manual_private_link_service_connections: A grouping of information about the connection + to the remote resource. Used when the network admin does not have access to approve connections + to the remote resource. + :type manual_private_link_service_connections: + list[~azure.mgmt.network.v2021_02_01.models.PrivateLinkServiceConnection] + :param custom_dns_configs: An array of custom dns configurations. + :type custom_dns_configs: + list[~azure.mgmt.network.v2021_02_01.models.CustomDnsConfigPropertiesFormat] + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'network_interfaces': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'extended_location': {'key': 'extendedLocation', 'type': 'ExtendedLocation'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'subnet': {'key': 'properties.subnet', 'type': 'Subnet'}, + 'network_interfaces': {'key': 'properties.networkInterfaces', 'type': '[NetworkInterface]'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'private_link_service_connections': {'key': 'properties.privateLinkServiceConnections', 'type': '[PrivateLinkServiceConnection]'}, + 'manual_private_link_service_connections': {'key': 'properties.manualPrivateLinkServiceConnections', 'type': '[PrivateLinkServiceConnection]'}, + 'custom_dns_configs': {'key': 'properties.customDnsConfigs', 'type': '[CustomDnsConfigPropertiesFormat]'}, + } + + def __init__( + self, + **kwargs + ): + super(PrivateEndpoint, self).__init__(**kwargs) + self.extended_location = kwargs.get('extended_location', None) + self.etag = None + self.subnet = kwargs.get('subnet', None) + self.network_interfaces = None + self.provisioning_state = None + self.private_link_service_connections = kwargs.get('private_link_service_connections', None) + self.manual_private_link_service_connections = kwargs.get('manual_private_link_service_connections', None) + self.custom_dns_configs = kwargs.get('custom_dns_configs', None) + + +class PrivateEndpointConnection(SubResource): + """PrivateEndpointConnection resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: The name of the resource that is unique within a resource group. This name can be + used to access the resource. + :type name: str + :ivar type: The resource type. + :vartype type: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar private_endpoint: The resource of private end point. + :vartype private_endpoint: ~azure.mgmt.network.v2021_02_01.models.PrivateEndpoint + :param private_link_service_connection_state: A collection of information about the state of + the connection between service consumer and provider. + :type private_link_service_connection_state: + ~azure.mgmt.network.v2021_02_01.models.PrivateLinkServiceConnectionState + :ivar provisioning_state: The provisioning state of the private endpoint connection resource. + Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :ivar link_identifier: The consumer link id. + :vartype link_identifier: str + """ + + _validation = { + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'private_endpoint': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'link_identifier': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'private_endpoint': {'key': 'properties.privateEndpoint', 'type': 'PrivateEndpoint'}, + 'private_link_service_connection_state': {'key': 'properties.privateLinkServiceConnectionState', 'type': 'PrivateLinkServiceConnectionState'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'link_identifier': {'key': 'properties.linkIdentifier', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(PrivateEndpointConnection, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.type = None + self.etag = None + self.private_endpoint = None + self.private_link_service_connection_state = kwargs.get('private_link_service_connection_state', None) + self.provisioning_state = None + self.link_identifier = None + + +class PrivateEndpointConnectionListResult(msrest.serialization.Model): + """Response for the ListPrivateEndpointConnection API service call. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: A list of PrivateEndpointConnection resources for a specific private link + service. + :type value: list[~azure.mgmt.network.v2021_02_01.models.PrivateEndpointConnection] + :ivar next_link: The URL to get the next set of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[PrivateEndpointConnection]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(PrivateEndpointConnectionListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = None + + +class PrivateEndpointListResult(msrest.serialization.Model): + """Response for the ListPrivateEndpoints API service call. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: A list of private endpoint resources in a resource group. + :type value: list[~azure.mgmt.network.v2021_02_01.models.PrivateEndpoint] + :ivar next_link: The URL to get the next set of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[PrivateEndpoint]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(PrivateEndpointListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = None + + +class PrivateLinkService(Resource): + """Private link service resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :param extended_location: The extended location of the load balancer. + :type extended_location: ~azure.mgmt.network.v2021_02_01.models.ExtendedLocation + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param load_balancer_frontend_ip_configurations: An array of references to the load balancer IP + configurations. + :type load_balancer_frontend_ip_configurations: + list[~azure.mgmt.network.v2021_02_01.models.FrontendIPConfiguration] + :param ip_configurations: An array of private link service IP configurations. + :type ip_configurations: + list[~azure.mgmt.network.v2021_02_01.models.PrivateLinkServiceIpConfiguration] + :ivar network_interfaces: An array of references to the network interfaces created for this + private link service. + :vartype network_interfaces: list[~azure.mgmt.network.v2021_02_01.models.NetworkInterface] + :ivar provisioning_state: The provisioning state of the private link service resource. Possible + values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :ivar private_endpoint_connections: An array of list about connections to the private endpoint. + :vartype private_endpoint_connections: + list[~azure.mgmt.network.v2021_02_01.models.PrivateEndpointConnection] + :param visibility: The visibility list of the private link service. + :type visibility: ~azure.mgmt.network.v2021_02_01.models.PrivateLinkServicePropertiesVisibility + :param auto_approval: The auto-approval list of the private link service. + :type auto_approval: + ~azure.mgmt.network.v2021_02_01.models.PrivateLinkServicePropertiesAutoApproval + :param fqdns: The list of Fqdn. + :type fqdns: list[str] + :ivar alias: The alias of the private link service. + :vartype alias: str + :param enable_proxy_protocol: Whether the private link service is enabled for proxy protocol or + not. + :type enable_proxy_protocol: bool + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'network_interfaces': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'private_endpoint_connections': {'readonly': True}, + 'alias': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'extended_location': {'key': 'extendedLocation', 'type': 'ExtendedLocation'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'load_balancer_frontend_ip_configurations': {'key': 'properties.loadBalancerFrontendIpConfigurations', 'type': '[FrontendIPConfiguration]'}, + 'ip_configurations': {'key': 'properties.ipConfigurations', 'type': '[PrivateLinkServiceIpConfiguration]'}, + 'network_interfaces': {'key': 'properties.networkInterfaces', 'type': '[NetworkInterface]'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'private_endpoint_connections': {'key': 'properties.privateEndpointConnections', 'type': '[PrivateEndpointConnection]'}, + 'visibility': {'key': 'properties.visibility', 'type': 'PrivateLinkServicePropertiesVisibility'}, + 'auto_approval': {'key': 'properties.autoApproval', 'type': 'PrivateLinkServicePropertiesAutoApproval'}, + 'fqdns': {'key': 'properties.fqdns', 'type': '[str]'}, + 'alias': {'key': 'properties.alias', 'type': 'str'}, + 'enable_proxy_protocol': {'key': 'properties.enableProxyProtocol', 'type': 'bool'}, + } + + def __init__( + self, + **kwargs + ): + super(PrivateLinkService, self).__init__(**kwargs) + self.extended_location = kwargs.get('extended_location', None) + self.etag = None + self.load_balancer_frontend_ip_configurations = kwargs.get('load_balancer_frontend_ip_configurations', None) + self.ip_configurations = kwargs.get('ip_configurations', None) + self.network_interfaces = None + self.provisioning_state = None + self.private_endpoint_connections = None + self.visibility = kwargs.get('visibility', None) + self.auto_approval = kwargs.get('auto_approval', None) + self.fqdns = kwargs.get('fqdns', None) + self.alias = None + self.enable_proxy_protocol = kwargs.get('enable_proxy_protocol', None) + + +class PrivateLinkServiceConnection(SubResource): + """PrivateLinkServiceConnection resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: The name of the resource that is unique within a resource group. This name can be + used to access the resource. + :type name: str + :ivar type: The resource type. + :vartype type: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar provisioning_state: The provisioning state of the private link service connection + resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :param private_link_service_id: The resource id of private link service. + :type private_link_service_id: str + :param group_ids: The ID(s) of the group(s) obtained from the remote resource that this private + endpoint should connect to. + :type group_ids: list[str] + :param request_message: A message passed to the owner of the remote resource with this + connection request. Restricted to 140 chars. + :type request_message: str + :param private_link_service_connection_state: A collection of read-only information about the + state of the connection to the remote resource. + :type private_link_service_connection_state: + ~azure.mgmt.network.v2021_02_01.models.PrivateLinkServiceConnectionState + """ + + _validation = { + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'private_link_service_id': {'key': 'properties.privateLinkServiceId', 'type': 'str'}, + 'group_ids': {'key': 'properties.groupIds', 'type': '[str]'}, + 'request_message': {'key': 'properties.requestMessage', 'type': 'str'}, + 'private_link_service_connection_state': {'key': 'properties.privateLinkServiceConnectionState', 'type': 'PrivateLinkServiceConnectionState'}, + } + + def __init__( + self, + **kwargs + ): + super(PrivateLinkServiceConnection, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.type = None + self.etag = None + self.provisioning_state = None + self.private_link_service_id = kwargs.get('private_link_service_id', None) + self.group_ids = kwargs.get('group_ids', None) + self.request_message = kwargs.get('request_message', None) + self.private_link_service_connection_state = kwargs.get('private_link_service_connection_state', None) + + +class PrivateLinkServiceConnectionState(msrest.serialization.Model): + """A collection of information about the state of the connection between service consumer and provider. + + :param status: Indicates whether the connection has been Approved/Rejected/Removed by the owner + of the service. + :type status: str + :param description: The reason for approval/rejection of the connection. + :type description: str + :param actions_required: A message indicating if changes on the service provider require any + updates on the consumer. + :type actions_required: str + """ + + _attribute_map = { + 'status': {'key': 'status', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + 'actions_required': {'key': 'actionsRequired', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(PrivateLinkServiceConnectionState, self).__init__(**kwargs) + self.status = kwargs.get('status', None) + self.description = kwargs.get('description', None) + self.actions_required = kwargs.get('actions_required', None) + + +class PrivateLinkServiceIpConfiguration(SubResource): + """The private link service ip configuration. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: The name of private link service ip configuration. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: The resource type. + :vartype type: str + :param private_ip_address: The private IP address of the IP configuration. + :type private_ip_address: str + :param private_ip_allocation_method: The private IP address allocation method. Possible values + include: "Static", "Dynamic". + :type private_ip_allocation_method: str or + ~azure.mgmt.network.v2021_02_01.models.IPAllocationMethod + :param subnet: The reference to the subnet resource. + :type subnet: ~azure.mgmt.network.v2021_02_01.models.Subnet + :param primary: Whether the ip configuration is primary or not. + :type primary: bool + :ivar provisioning_state: The provisioning state of the private link service IP configuration + resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :param private_ip_address_version: Whether the specific IP configuration is IPv4 or IPv6. + Default is IPv4. Possible values include: "IPv4", "IPv6". + :type private_ip_address_version: str or ~azure.mgmt.network.v2021_02_01.models.IPVersion + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'private_ip_address': {'key': 'properties.privateIPAddress', 'type': 'str'}, + 'private_ip_allocation_method': {'key': 'properties.privateIPAllocationMethod', 'type': 'str'}, + 'subnet': {'key': 'properties.subnet', 'type': 'Subnet'}, + 'primary': {'key': 'properties.primary', 'type': 'bool'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'private_ip_address_version': {'key': 'properties.privateIPAddressVersion', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(PrivateLinkServiceIpConfiguration, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.etag = None + self.type = None + self.private_ip_address = kwargs.get('private_ip_address', None) + self.private_ip_allocation_method = kwargs.get('private_ip_allocation_method', None) + self.subnet = kwargs.get('subnet', None) + self.primary = kwargs.get('primary', None) + self.provisioning_state = None + self.private_ip_address_version = kwargs.get('private_ip_address_version', None) + + +class PrivateLinkServiceListResult(msrest.serialization.Model): + """Response for the ListPrivateLinkService API service call. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: A list of PrivateLinkService resources in a resource group. + :type value: list[~azure.mgmt.network.v2021_02_01.models.PrivateLinkService] + :ivar next_link: The URL to get the next set of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[PrivateLinkService]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(PrivateLinkServiceListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = None + + +class ResourceSet(msrest.serialization.Model): + """The base resource set for visibility and auto-approval. + + :param subscriptions: The list of subscriptions. + :type subscriptions: list[str] + """ + + _attribute_map = { + 'subscriptions': {'key': 'subscriptions', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(ResourceSet, self).__init__(**kwargs) + self.subscriptions = kwargs.get('subscriptions', None) + + +class PrivateLinkServicePropertiesAutoApproval(ResourceSet): + """The auto-approval list of the private link service. + + :param subscriptions: The list of subscriptions. + :type subscriptions: list[str] + """ + + _attribute_map = { + 'subscriptions': {'key': 'subscriptions', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(PrivateLinkServicePropertiesAutoApproval, self).__init__(**kwargs) + + +class PrivateLinkServicePropertiesVisibility(ResourceSet): + """The visibility list of the private link service. + + :param subscriptions: The list of subscriptions. + :type subscriptions: list[str] + """ + + _attribute_map = { + 'subscriptions': {'key': 'subscriptions', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(PrivateLinkServicePropertiesVisibility, self).__init__(**kwargs) + + +class PrivateLinkServiceVisibility(msrest.serialization.Model): + """Response for the CheckPrivateLinkServiceVisibility API service call. + + :param visible: Private Link Service Visibility (True/False). + :type visible: bool + """ + + _attribute_map = { + 'visible': {'key': 'visible', 'type': 'bool'}, + } + + def __init__( + self, + **kwargs + ): + super(PrivateLinkServiceVisibility, self).__init__(**kwargs) + self.visible = kwargs.get('visible', None) + + +class Probe(SubResource): + """A load balancer probe. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: The name of the resource that is unique within the set of probes used by the load + balancer. This name can be used to access the resource. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str + :ivar load_balancing_rules: The load balancer rules that use this probe. + :vartype load_balancing_rules: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + :param protocol: The protocol of the end point. If 'Tcp' is specified, a received ACK is + required for the probe to be successful. If 'Http' or 'Https' is specified, a 200 OK response + from the specifies URI is required for the probe to be successful. Possible values include: + "Http", "Tcp", "Https". + :type protocol: str or ~azure.mgmt.network.v2021_02_01.models.ProbeProtocol + :param port: The port for communicating the probe. Possible values range from 1 to 65535, + inclusive. + :type port: int + :param interval_in_seconds: The interval, in seconds, for how frequently to probe the endpoint + for health status. Typically, the interval is slightly less than half the allocated timeout + period (in seconds) which allows two full probes before taking the instance out of rotation. + The default value is 15, the minimum value is 5. + :type interval_in_seconds: int + :param number_of_probes: The number of probes where if no response, will result in stopping + further traffic from being delivered to the endpoint. This values allows endpoints to be taken + out of rotation faster or slower than the typical times used in Azure. + :type number_of_probes: int + :param request_path: The URI used for requesting health status from the VM. Path is required if + a protocol is set to http. Otherwise, it is not allowed. There is no default value. + :type request_path: str + :ivar provisioning_state: The provisioning state of the probe resource. Possible values + include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'load_balancing_rules': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'load_balancing_rules': {'key': 'properties.loadBalancingRules', 'type': '[SubResource]'}, + 'protocol': {'key': 'properties.protocol', 'type': 'str'}, + 'port': {'key': 'properties.port', 'type': 'int'}, + 'interval_in_seconds': {'key': 'properties.intervalInSeconds', 'type': 'int'}, + 'number_of_probes': {'key': 'properties.numberOfProbes', 'type': 'int'}, + 'request_path': {'key': 'properties.requestPath', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(Probe, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.etag = None + self.type = None + self.load_balancing_rules = None + self.protocol = kwargs.get('protocol', None) + self.port = kwargs.get('port', None) + self.interval_in_seconds = kwargs.get('interval_in_seconds', None) + self.number_of_probes = kwargs.get('number_of_probes', None) + self.request_path = kwargs.get('request_path', None) + self.provisioning_state = None + + +class PropagatedRouteTable(msrest.serialization.Model): + """The list of RouteTables to advertise the routes to. + + :param labels: The list of labels. + :type labels: list[str] + :param ids: The list of resource ids of all the RouteTables. + :type ids: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + """ + + _attribute_map = { + 'labels': {'key': 'labels', 'type': '[str]'}, + 'ids': {'key': 'ids', 'type': '[SubResource]'}, + } + + def __init__( + self, + **kwargs + ): + super(PropagatedRouteTable, self).__init__(**kwargs) + self.labels = kwargs.get('labels', None) + self.ids = kwargs.get('ids', None) + + +class ProtocolConfiguration(msrest.serialization.Model): + """Configuration of the protocol. + + :param http_configuration: HTTP configuration of the connectivity check. + :type http_configuration: ~azure.mgmt.network.v2021_02_01.models.HTTPConfiguration + """ + + _attribute_map = { + 'http_configuration': {'key': 'HTTPConfiguration', 'type': 'HTTPConfiguration'}, + } + + def __init__( + self, + **kwargs + ): + super(ProtocolConfiguration, self).__init__(**kwargs) + self.http_configuration = kwargs.get('http_configuration', None) + + +class ProtocolCustomSettingsFormat(msrest.serialization.Model): + """DDoS custom policy properties. + + :param protocol: The protocol for which the DDoS protection policy is being customized. + Possible values include: "Tcp", "Udp", "Syn". + :type protocol: str or ~azure.mgmt.network.v2021_02_01.models.DdosCustomPolicyProtocol + :param trigger_rate_override: The customized DDoS protection trigger rate. + :type trigger_rate_override: str + :param source_rate_override: The customized DDoS protection source rate. + :type source_rate_override: str + :param trigger_sensitivity_override: The customized DDoS protection trigger rate sensitivity + degrees. High: Trigger rate set with most sensitivity w.r.t. normal traffic. Default: Trigger + rate set with moderate sensitivity w.r.t. normal traffic. Low: Trigger rate set with less + sensitivity w.r.t. normal traffic. Relaxed: Trigger rate set with least sensitivity w.r.t. + normal traffic. Possible values include: "Relaxed", "Low", "Default", "High". + :type trigger_sensitivity_override: str or + ~azure.mgmt.network.v2021_02_01.models.DdosCustomPolicyTriggerSensitivityOverride + """ + + _attribute_map = { + 'protocol': {'key': 'protocol', 'type': 'str'}, + 'trigger_rate_override': {'key': 'triggerRateOverride', 'type': 'str'}, + 'source_rate_override': {'key': 'sourceRateOverride', 'type': 'str'}, + 'trigger_sensitivity_override': {'key': 'triggerSensitivityOverride', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ProtocolCustomSettingsFormat, self).__init__(**kwargs) + self.protocol = kwargs.get('protocol', None) + self.trigger_rate_override = kwargs.get('trigger_rate_override', None) + self.source_rate_override = kwargs.get('source_rate_override', None) + self.trigger_sensitivity_override = kwargs.get('trigger_sensitivity_override', None) + + +class PublicIPAddress(Resource): + """Public IP address resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :param extended_location: The extended location of the public ip address. + :type extended_location: ~azure.mgmt.network.v2021_02_01.models.ExtendedLocation + :param sku: The public IP address SKU. + :type sku: ~azure.mgmt.network.v2021_02_01.models.PublicIPAddressSku + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param zones: A list of availability zones denoting the IP allocated for the resource needs to + come from. + :type zones: list[str] + :param public_ip_allocation_method: The public IP address allocation method. Possible values + include: "Static", "Dynamic". + :type public_ip_allocation_method: str or + ~azure.mgmt.network.v2021_02_01.models.IPAllocationMethod + :param public_ip_address_version: The public IP address version. Possible values include: + "IPv4", "IPv6". + :type public_ip_address_version: str or ~azure.mgmt.network.v2021_02_01.models.IPVersion + :ivar ip_configuration: The IP configuration associated with the public IP address. + :vartype ip_configuration: ~azure.mgmt.network.v2021_02_01.models.IPConfiguration + :param dns_settings: The FQDN of the DNS record associated with the public IP address. + :type dns_settings: ~azure.mgmt.network.v2021_02_01.models.PublicIPAddressDnsSettings + :param ddos_settings: The DDoS protection custom policy associated with the public IP address. + :type ddos_settings: ~azure.mgmt.network.v2021_02_01.models.DdosSettings + :param ip_tags: The list of tags associated with the public IP address. + :type ip_tags: list[~azure.mgmt.network.v2021_02_01.models.IpTag] + :param ip_address: The IP address associated with the public IP address resource. + :type ip_address: str + :param public_ip_prefix: The Public IP Prefix this Public IP Address should be allocated from. + :type public_ip_prefix: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param idle_timeout_in_minutes: The idle timeout of the public IP address. + :type idle_timeout_in_minutes: int + :ivar resource_guid: The resource GUID property of the public IP address resource. + :vartype resource_guid: str + :ivar provisioning_state: The provisioning state of the public IP address resource. Possible + values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :param service_public_ip_address: The service public IP address of the public IP address + resource. + :type service_public_ip_address: ~azure.mgmt.network.v2021_02_01.models.PublicIPAddress + :param nat_gateway: The NatGateway for the Public IP address. + :type nat_gateway: ~azure.mgmt.network.v2021_02_01.models.NatGateway + :param migration_phase: Migration phase of Public IP Address. Possible values include: "None", + "Prepare", "Commit", "Abort", "Committed". + :type migration_phase: str or + ~azure.mgmt.network.v2021_02_01.models.PublicIPAddressMigrationPhase + :param linked_public_ip_address: The linked public IP address of the public IP address + resource. + :type linked_public_ip_address: ~azure.mgmt.network.v2021_02_01.models.PublicIPAddress + :param delete_option: Specify what happens to the public IP address when the VM using it is + deleted. Possible values include: "Delete", "Detach". + :type delete_option: str or ~azure.mgmt.network.v2021_02_01.models.DeleteOptions + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'ip_configuration': {'readonly': True}, + 'resource_guid': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'extended_location': {'key': 'extendedLocation', 'type': 'ExtendedLocation'}, + 'sku': {'key': 'sku', 'type': 'PublicIPAddressSku'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'zones': {'key': 'zones', 'type': '[str]'}, + 'public_ip_allocation_method': {'key': 'properties.publicIPAllocationMethod', 'type': 'str'}, + 'public_ip_address_version': {'key': 'properties.publicIPAddressVersion', 'type': 'str'}, + 'ip_configuration': {'key': 'properties.ipConfiguration', 'type': 'IPConfiguration'}, + 'dns_settings': {'key': 'properties.dnsSettings', 'type': 'PublicIPAddressDnsSettings'}, + 'ddos_settings': {'key': 'properties.ddosSettings', 'type': 'DdosSettings'}, + 'ip_tags': {'key': 'properties.ipTags', 'type': '[IpTag]'}, + 'ip_address': {'key': 'properties.ipAddress', 'type': 'str'}, + 'public_ip_prefix': {'key': 'properties.publicIPPrefix', 'type': 'SubResource'}, + 'idle_timeout_in_minutes': {'key': 'properties.idleTimeoutInMinutes', 'type': 'int'}, + 'resource_guid': {'key': 'properties.resourceGuid', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'service_public_ip_address': {'key': 'properties.servicePublicIPAddress', 'type': 'PublicIPAddress'}, + 'nat_gateway': {'key': 'properties.natGateway', 'type': 'NatGateway'}, + 'migration_phase': {'key': 'properties.migrationPhase', 'type': 'str'}, + 'linked_public_ip_address': {'key': 'properties.linkedPublicIPAddress', 'type': 'PublicIPAddress'}, + 'delete_option': {'key': 'properties.deleteOption', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(PublicIPAddress, self).__init__(**kwargs) + self.extended_location = kwargs.get('extended_location', None) + self.sku = kwargs.get('sku', None) + self.etag = None + self.zones = kwargs.get('zones', None) + self.public_ip_allocation_method = kwargs.get('public_ip_allocation_method', None) + self.public_ip_address_version = kwargs.get('public_ip_address_version', None) + self.ip_configuration = None + self.dns_settings = kwargs.get('dns_settings', None) + self.ddos_settings = kwargs.get('ddos_settings', None) + self.ip_tags = kwargs.get('ip_tags', None) + self.ip_address = kwargs.get('ip_address', None) + self.public_ip_prefix = kwargs.get('public_ip_prefix', None) + self.idle_timeout_in_minutes = kwargs.get('idle_timeout_in_minutes', None) + self.resource_guid = None + self.provisioning_state = None + self.service_public_ip_address = kwargs.get('service_public_ip_address', None) + self.nat_gateway = kwargs.get('nat_gateway', None) + self.migration_phase = kwargs.get('migration_phase', None) + self.linked_public_ip_address = kwargs.get('linked_public_ip_address', None) + self.delete_option = kwargs.get('delete_option', None) + + +class PublicIPAddressDnsSettings(msrest.serialization.Model): + """Contains FQDN of the DNS record associated with the public IP address. + + :param domain_name_label: The domain name label. The concatenation of the domain name label and + the regionalized DNS zone make up the fully qualified domain name associated with the public IP + address. If a domain name label is specified, an A DNS record is created for the public IP in + the Microsoft Azure DNS system. + :type domain_name_label: str + :param fqdn: The Fully Qualified Domain Name of the A DNS record associated with the public IP. + This is the concatenation of the domainNameLabel and the regionalized DNS zone. + :type fqdn: str + :param reverse_fqdn: The reverse FQDN. A user-visible, fully qualified domain name that + resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is + created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN. + :type reverse_fqdn: str + """ + + _attribute_map = { + 'domain_name_label': {'key': 'domainNameLabel', 'type': 'str'}, + 'fqdn': {'key': 'fqdn', 'type': 'str'}, + 'reverse_fqdn': {'key': 'reverseFqdn', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(PublicIPAddressDnsSettings, self).__init__(**kwargs) + self.domain_name_label = kwargs.get('domain_name_label', None) + self.fqdn = kwargs.get('fqdn', None) + self.reverse_fqdn = kwargs.get('reverse_fqdn', None) + + +class PublicIPAddressListResult(msrest.serialization.Model): + """Response for ListPublicIpAddresses API service call. + + :param value: A list of public IP addresses that exists in a resource group. + :type value: list[~azure.mgmt.network.v2021_02_01.models.PublicIPAddress] + :param next_link: The URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[PublicIPAddress]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(PublicIPAddressListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = kwargs.get('next_link', None) + + +class PublicIPAddressSku(msrest.serialization.Model): + """SKU of a public IP address. + + :param name: Name of a public IP address SKU. Possible values include: "Basic", "Standard". + :type name: str or ~azure.mgmt.network.v2021_02_01.models.PublicIPAddressSkuName + :param tier: Tier of a public IP address SKU. Possible values include: "Regional", "Global". + :type tier: str or ~azure.mgmt.network.v2021_02_01.models.PublicIPAddressSkuTier + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'tier': {'key': 'tier', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(PublicIPAddressSku, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.tier = kwargs.get('tier', None) + + +class PublicIPPrefix(Resource): + """Public IP prefix resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :param extended_location: The extended location of the public ip address. + :type extended_location: ~azure.mgmt.network.v2021_02_01.models.ExtendedLocation + :param sku: The public IP prefix SKU. + :type sku: ~azure.mgmt.network.v2021_02_01.models.PublicIPPrefixSku + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param zones: A list of availability zones denoting the IP allocated for the resource needs to + come from. + :type zones: list[str] + :param public_ip_address_version: The public IP address version. Possible values include: + "IPv4", "IPv6". + :type public_ip_address_version: str or ~azure.mgmt.network.v2021_02_01.models.IPVersion + :param ip_tags: The list of tags associated with the public IP prefix. + :type ip_tags: list[~azure.mgmt.network.v2021_02_01.models.IpTag] + :param prefix_length: The Length of the Public IP Prefix. + :type prefix_length: int + :ivar ip_prefix: The allocated Prefix. + :vartype ip_prefix: str + :ivar public_ip_addresses: The list of all referenced PublicIPAddresses. + :vartype public_ip_addresses: + list[~azure.mgmt.network.v2021_02_01.models.ReferencedPublicIpAddress] + :ivar load_balancer_frontend_ip_configuration: The reference to load balancer frontend IP + configuration associated with the public IP prefix. + :vartype load_balancer_frontend_ip_configuration: + ~azure.mgmt.network.v2021_02_01.models.SubResource + :param custom_ip_prefix: The customIpPrefix that this prefix is associated with. + :type custom_ip_prefix: ~azure.mgmt.network.v2021_02_01.models.SubResource + :ivar resource_guid: The resource GUID property of the public IP prefix resource. + :vartype resource_guid: str + :ivar provisioning_state: The provisioning state of the public IP prefix resource. Possible + values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :param nat_gateway: NatGateway of Public IP Prefix. + :type nat_gateway: ~azure.mgmt.network.v2021_02_01.models.NatGateway + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'ip_prefix': {'readonly': True}, + 'public_ip_addresses': {'readonly': True}, + 'load_balancer_frontend_ip_configuration': {'readonly': True}, + 'resource_guid': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'extended_location': {'key': 'extendedLocation', 'type': 'ExtendedLocation'}, + 'sku': {'key': 'sku', 'type': 'PublicIPPrefixSku'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'zones': {'key': 'zones', 'type': '[str]'}, + 'public_ip_address_version': {'key': 'properties.publicIPAddressVersion', 'type': 'str'}, + 'ip_tags': {'key': 'properties.ipTags', 'type': '[IpTag]'}, + 'prefix_length': {'key': 'properties.prefixLength', 'type': 'int'}, + 'ip_prefix': {'key': 'properties.ipPrefix', 'type': 'str'}, + 'public_ip_addresses': {'key': 'properties.publicIPAddresses', 'type': '[ReferencedPublicIpAddress]'}, + 'load_balancer_frontend_ip_configuration': {'key': 'properties.loadBalancerFrontendIpConfiguration', 'type': 'SubResource'}, + 'custom_ip_prefix': {'key': 'properties.customIPPrefix', 'type': 'SubResource'}, + 'resource_guid': {'key': 'properties.resourceGuid', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'nat_gateway': {'key': 'properties.natGateway', 'type': 'NatGateway'}, + } + + def __init__( + self, + **kwargs + ): + super(PublicIPPrefix, self).__init__(**kwargs) + self.extended_location = kwargs.get('extended_location', None) + self.sku = kwargs.get('sku', None) + self.etag = None + self.zones = kwargs.get('zones', None) + self.public_ip_address_version = kwargs.get('public_ip_address_version', None) + self.ip_tags = kwargs.get('ip_tags', None) + self.prefix_length = kwargs.get('prefix_length', None) + self.ip_prefix = None + self.public_ip_addresses = None + self.load_balancer_frontend_ip_configuration = None + self.custom_ip_prefix = kwargs.get('custom_ip_prefix', None) + self.resource_guid = None + self.provisioning_state = None + self.nat_gateway = kwargs.get('nat_gateway', None) + + +class PublicIPPrefixListResult(msrest.serialization.Model): + """Response for ListPublicIpPrefixes API service call. + + :param value: A list of public IP prefixes that exists in a resource group. + :type value: list[~azure.mgmt.network.v2021_02_01.models.PublicIPPrefix] + :param next_link: The URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[PublicIPPrefix]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(PublicIPPrefixListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = kwargs.get('next_link', None) + + +class PublicIPPrefixSku(msrest.serialization.Model): + """SKU of a public IP prefix. + + :param name: Name of a public IP prefix SKU. Possible values include: "Standard". + :type name: str or ~azure.mgmt.network.v2021_02_01.models.PublicIPPrefixSkuName + :param tier: Tier of a public IP prefix SKU. Possible values include: "Regional", "Global". + :type tier: str or ~azure.mgmt.network.v2021_02_01.models.PublicIPPrefixSkuTier + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'tier': {'key': 'tier', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(PublicIPPrefixSku, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.tier = kwargs.get('tier', None) + + +class QosIpRange(msrest.serialization.Model): + """Qos Traffic Profiler IP Range properties. + + :param start_ip: Start IP Address. + :type start_ip: str + :param end_ip: End IP Address. + :type end_ip: str + """ + + _attribute_map = { + 'start_ip': {'key': 'startIP', 'type': 'str'}, + 'end_ip': {'key': 'endIP', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(QosIpRange, self).__init__(**kwargs) + self.start_ip = kwargs.get('start_ip', None) + self.end_ip = kwargs.get('end_ip', None) + + +class QosPortRange(msrest.serialization.Model): + """Qos Traffic Profiler Port range properties. + + :param start: Qos Port Range start. + :type start: int + :param end: Qos Port Range end. + :type end: int + """ + + _attribute_map = { + 'start': {'key': 'start', 'type': 'int'}, + 'end': {'key': 'end', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(QosPortRange, self).__init__(**kwargs) + self.start = kwargs.get('start', None) + self.end = kwargs.get('end', None) + + +class QueryTroubleshootingParameters(msrest.serialization.Model): + """Parameters that define the resource to query the troubleshooting result. + + All required parameters must be populated in order to send to Azure. + + :param target_resource_id: Required. The target resource ID to query the troubleshooting + result. + :type target_resource_id: str + """ + + _validation = { + 'target_resource_id': {'required': True}, + } + + _attribute_map = { + 'target_resource_id': {'key': 'targetResourceId', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(QueryTroubleshootingParameters, self).__init__(**kwargs) + self.target_resource_id = kwargs['target_resource_id'] + + +class RadiusServer(msrest.serialization.Model): + """Radius Server Settings. + + All required parameters must be populated in order to send to Azure. + + :param radius_server_address: Required. The address of this radius server. + :type radius_server_address: str + :param radius_server_score: The initial score assigned to this radius server. + :type radius_server_score: long + :param radius_server_secret: The secret used for this radius server. + :type radius_server_secret: str + """ + + _validation = { + 'radius_server_address': {'required': True}, + } + + _attribute_map = { + 'radius_server_address': {'key': 'radiusServerAddress', 'type': 'str'}, + 'radius_server_score': {'key': 'radiusServerScore', 'type': 'long'}, + 'radius_server_secret': {'key': 'radiusServerSecret', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(RadiusServer, self).__init__(**kwargs) + self.radius_server_address = kwargs['radius_server_address'] + self.radius_server_score = kwargs.get('radius_server_score', None) + self.radius_server_secret = kwargs.get('radius_server_secret', None) + + +class RecordSet(msrest.serialization.Model): + """A collective group of information about the record set information. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param record_type: Resource record type. + :type record_type: str + :param record_set_name: Recordset name. + :type record_set_name: str + :param fqdn: Fqdn that resolves to private endpoint ip address. + :type fqdn: str + :ivar provisioning_state: The provisioning state of the recordset. Possible values include: + "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :param ttl: Recordset time to live. + :type ttl: int + :param ip_addresses: The private ip address of the private endpoint. + :type ip_addresses: list[str] + """ + + _validation = { + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'record_type': {'key': 'recordType', 'type': 'str'}, + 'record_set_name': {'key': 'recordSetName', 'type': 'str'}, + 'fqdn': {'key': 'fqdn', 'type': 'str'}, + 'provisioning_state': {'key': 'provisioningState', 'type': 'str'}, + 'ttl': {'key': 'ttl', 'type': 'int'}, + 'ip_addresses': {'key': 'ipAddresses', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(RecordSet, self).__init__(**kwargs) + self.record_type = kwargs.get('record_type', None) + self.record_set_name = kwargs.get('record_set_name', None) + self.fqdn = kwargs.get('fqdn', None) + self.provisioning_state = None + self.ttl = kwargs.get('ttl', None) + self.ip_addresses = kwargs.get('ip_addresses', None) + + +class ReferencedPublicIpAddress(msrest.serialization.Model): + """Reference to a public IP address. + + :param id: The PublicIPAddress Reference. + :type id: str + """ + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ReferencedPublicIpAddress, self).__init__(**kwargs) + self.id = kwargs.get('id', None) + + +class ResourceNavigationLink(SubResource): + """ResourceNavigationLink resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: Name of the resource that is unique within a resource group. This name can be used + to access the resource. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Resource type. + :vartype type: str + :param linked_resource_type: Resource type of the linked resource. + :type linked_resource_type: str + :param link: Link to the external resource. + :type link: str + :ivar provisioning_state: The provisioning state of the resource navigation link resource. + Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'linked_resource_type': {'key': 'properties.linkedResourceType', 'type': 'str'}, + 'link': {'key': 'properties.link', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ResourceNavigationLink, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.etag = None + self.type = None + self.linked_resource_type = kwargs.get('linked_resource_type', None) + self.link = kwargs.get('link', None) + self.provisioning_state = None + + +class ResourceNavigationLinksListResult(msrest.serialization.Model): + """Response for ResourceNavigationLinks_List operation. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: The resource navigation links in a subnet. + :type value: list[~azure.mgmt.network.v2021_02_01.models.ResourceNavigationLink] + :ivar next_link: The URL to get the next set of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[ResourceNavigationLink]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ResourceNavigationLinksListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = None + + +class RetentionPolicyParameters(msrest.serialization.Model): + """Parameters that define the retention policy for flow log. + + :param days: Number of days to retain flow log records. + :type days: int + :param enabled: Flag to enable/disable retention. + :type enabled: bool + """ + + _attribute_map = { + 'days': {'key': 'days', 'type': 'int'}, + 'enabled': {'key': 'enabled', 'type': 'bool'}, + } + + def __init__( + self, + **kwargs + ): + super(RetentionPolicyParameters, self).__init__(**kwargs) + self.days = kwargs.get('days', 0) + self.enabled = kwargs.get('enabled', False) + + +class Route(SubResource): + """Route resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: The name of the resource that is unique within a resource group. This name can be + used to access the resource. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param type: The type of the resource. + :type type: str + :param address_prefix: The destination CIDR to which the route applies. + :type address_prefix: str + :param next_hop_type: The type of Azure hop the packet should be sent to. Possible values + include: "VirtualNetworkGateway", "VnetLocal", "Internet", "VirtualAppliance", "None". + :type next_hop_type: str or ~azure.mgmt.network.v2021_02_01.models.RouteNextHopType + :param next_hop_ip_address: The IP address packets should be forwarded to. Next hop values are + only allowed in routes where the next hop type is VirtualAppliance. + :type next_hop_ip_address: str + :ivar provisioning_state: The provisioning state of the route resource. Possible values + include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :param has_bgp_override: A value indicating whether this route overrides overlapping BGP routes + regardless of LPM. + :type has_bgp_override: bool + """ + + _validation = { + 'etag': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'address_prefix': {'key': 'properties.addressPrefix', 'type': 'str'}, + 'next_hop_type': {'key': 'properties.nextHopType', 'type': 'str'}, + 'next_hop_ip_address': {'key': 'properties.nextHopIpAddress', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'has_bgp_override': {'key': 'properties.hasBgpOverride', 'type': 'bool'}, + } + + def __init__( + self, + **kwargs + ): + super(Route, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.etag = None + self.type = kwargs.get('type', None) + self.address_prefix = kwargs.get('address_prefix', None) + self.next_hop_type = kwargs.get('next_hop_type', None) + self.next_hop_ip_address = kwargs.get('next_hop_ip_address', None) + self.provisioning_state = None + self.has_bgp_override = kwargs.get('has_bgp_override', None) + + +class RouteFilter(Resource): + """Route Filter Resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param rules: Collection of RouteFilterRules contained within a route filter. + :type rules: list[~azure.mgmt.network.v2021_02_01.models.RouteFilterRule] + :ivar peerings: A collection of references to express route circuit peerings. + :vartype peerings: list[~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitPeering] + :ivar ipv6_peerings: A collection of references to express route circuit ipv6 peerings. + :vartype ipv6_peerings: list[~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitPeering] + :ivar provisioning_state: The provisioning state of the route filter resource. Possible values + include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'peerings': {'readonly': True}, + 'ipv6_peerings': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'rules': {'key': 'properties.rules', 'type': '[RouteFilterRule]'}, + 'peerings': {'key': 'properties.peerings', 'type': '[ExpressRouteCircuitPeering]'}, + 'ipv6_peerings': {'key': 'properties.ipv6Peerings', 'type': '[ExpressRouteCircuitPeering]'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(RouteFilter, self).__init__(**kwargs) + self.etag = None + self.rules = kwargs.get('rules', None) + self.peerings = None + self.ipv6_peerings = None + self.provisioning_state = None + + +class RouteFilterListResult(msrest.serialization.Model): + """Response for the ListRouteFilters API service call. + + :param value: A list of route filters in a resource group. + :type value: list[~azure.mgmt.network.v2021_02_01.models.RouteFilter] + :param next_link: The URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[RouteFilter]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(RouteFilterListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = kwargs.get('next_link', None) + + +class RouteFilterRule(SubResource): + """Route Filter Rule Resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: The name of the resource that is unique within a resource group. This name can be + used to access the resource. + :type name: str + :param location: Resource location. + :type location: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param access: The access type of the rule. Possible values include: "Allow", "Deny". + :type access: str or ~azure.mgmt.network.v2021_02_01.models.Access + :param route_filter_rule_type: The rule type of the rule. Possible values include: "Community". + :type route_filter_rule_type: str or ~azure.mgmt.network.v2021_02_01.models.RouteFilterRuleType + :param communities: The collection for bgp community values to filter on. e.g. + ['12076:5010','12076:5020']. + :type communities: list[str] + :ivar provisioning_state: The provisioning state of the route filter rule resource. Possible + values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'access': {'key': 'properties.access', 'type': 'str'}, + 'route_filter_rule_type': {'key': 'properties.routeFilterRuleType', 'type': 'str'}, + 'communities': {'key': 'properties.communities', 'type': '[str]'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(RouteFilterRule, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.location = kwargs.get('location', None) + self.etag = None + self.access = kwargs.get('access', None) + self.route_filter_rule_type = kwargs.get('route_filter_rule_type', None) + self.communities = kwargs.get('communities', None) + self.provisioning_state = None + + +class RouteFilterRuleListResult(msrest.serialization.Model): + """Response for the ListRouteFilterRules API service call. + + :param value: A list of RouteFilterRules in a resource group. + :type value: list[~azure.mgmt.network.v2021_02_01.models.RouteFilterRule] + :param next_link: The URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[RouteFilterRule]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(RouteFilterRuleListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = kwargs.get('next_link', None) + + +class RouteListResult(msrest.serialization.Model): + """Response for the ListRoute API service call. + + :param value: A list of routes in a resource group. + :type value: list[~azure.mgmt.network.v2021_02_01.models.Route] + :param next_link: The URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Route]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(RouteListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = kwargs.get('next_link', None) + + +class RouteTable(Resource): + """Route table resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param routes: Collection of routes contained within a route table. + :type routes: list[~azure.mgmt.network.v2021_02_01.models.Route] + :ivar subnets: A collection of references to subnets. + :vartype subnets: list[~azure.mgmt.network.v2021_02_01.models.Subnet] + :param disable_bgp_route_propagation: Whether to disable the routes learned by BGP on that + route table. True means disable. + :type disable_bgp_route_propagation: bool + :ivar provisioning_state: The provisioning state of the route table resource. Possible values + include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :ivar resource_guid: The resource GUID property of the route table. + :vartype resource_guid: str + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'subnets': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'resource_guid': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'routes': {'key': 'properties.routes', 'type': '[Route]'}, + 'subnets': {'key': 'properties.subnets', 'type': '[Subnet]'}, + 'disable_bgp_route_propagation': {'key': 'properties.disableBgpRoutePropagation', 'type': 'bool'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'resource_guid': {'key': 'properties.resourceGuid', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(RouteTable, self).__init__(**kwargs) + self.etag = None + self.routes = kwargs.get('routes', None) + self.subnets = None + self.disable_bgp_route_propagation = kwargs.get('disable_bgp_route_propagation', None) + self.provisioning_state = None + self.resource_guid = None + + +class RouteTableListResult(msrest.serialization.Model): + """Response for the ListRouteTable API service call. + + :param value: A list of route tables in a resource group. + :type value: list[~azure.mgmt.network.v2021_02_01.models.RouteTable] + :param next_link: The URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[RouteTable]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(RouteTableListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = kwargs.get('next_link', None) + + +class RoutingConfiguration(msrest.serialization.Model): + """Routing Configuration indicating the associated and propagated route tables for this connection. + + :param associated_route_table: The resource id RouteTable associated with this + RoutingConfiguration. + :type associated_route_table: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param propagated_route_tables: The list of RouteTables to advertise the routes to. + :type propagated_route_tables: ~azure.mgmt.network.v2021_02_01.models.PropagatedRouteTable + :param vnet_routes: List of routes that control routing from VirtualHub into a virtual network + connection. + :type vnet_routes: ~azure.mgmt.network.v2021_02_01.models.VnetRoute + """ + + _attribute_map = { + 'associated_route_table': {'key': 'associatedRouteTable', 'type': 'SubResource'}, + 'propagated_route_tables': {'key': 'propagatedRouteTables', 'type': 'PropagatedRouteTable'}, + 'vnet_routes': {'key': 'vnetRoutes', 'type': 'VnetRoute'}, + } + + def __init__( + self, + **kwargs + ): + super(RoutingConfiguration, self).__init__(**kwargs) + self.associated_route_table = kwargs.get('associated_route_table', None) + self.propagated_route_tables = kwargs.get('propagated_route_tables', None) + self.vnet_routes = kwargs.get('vnet_routes', None) + + +class SecurityGroupNetworkInterface(msrest.serialization.Model): + """Network interface and all its associated security rules. + + :param id: ID of the network interface. + :type id: str + :param security_rule_associations: All security rules associated with the network interface. + :type security_rule_associations: + ~azure.mgmt.network.v2021_02_01.models.SecurityRuleAssociations + """ + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'security_rule_associations': {'key': 'securityRuleAssociations', 'type': 'SecurityRuleAssociations'}, + } + + def __init__( + self, + **kwargs + ): + super(SecurityGroupNetworkInterface, self).__init__(**kwargs) + self.id = kwargs.get('id', None) + self.security_rule_associations = kwargs.get('security_rule_associations', None) + + +class SecurityGroupViewParameters(msrest.serialization.Model): + """Parameters that define the VM to check security groups for. + + All required parameters must be populated in order to send to Azure. + + :param target_resource_id: Required. ID of the target VM. + :type target_resource_id: str + """ + + _validation = { + 'target_resource_id': {'required': True}, + } + + _attribute_map = { + 'target_resource_id': {'key': 'targetResourceId', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(SecurityGroupViewParameters, self).__init__(**kwargs) + self.target_resource_id = kwargs['target_resource_id'] + + +class SecurityGroupViewResult(msrest.serialization.Model): + """The information about security rules applied to the specified VM. + + :param network_interfaces: List of network interfaces on the specified VM. + :type network_interfaces: + list[~azure.mgmt.network.v2021_02_01.models.SecurityGroupNetworkInterface] + """ + + _attribute_map = { + 'network_interfaces': {'key': 'networkInterfaces', 'type': '[SecurityGroupNetworkInterface]'}, + } + + def __init__( + self, + **kwargs + ): + super(SecurityGroupViewResult, self).__init__(**kwargs) + self.network_interfaces = kwargs.get('network_interfaces', None) + + +class SecurityPartnerProvider(Resource): + """Security Partner Provider resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar provisioning_state: The provisioning state of the Security Partner Provider resource. + Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :param security_provider_name: The security provider name. Possible values include: "ZScaler", + "IBoss", "Checkpoint". + :type security_provider_name: str or + ~azure.mgmt.network.v2021_02_01.models.SecurityProviderName + :ivar connection_status: The connection status with the Security Partner Provider. Possible + values include: "Unknown", "PartiallyConnected", "Connected", "NotConnected". + :vartype connection_status: str or + ~azure.mgmt.network.v2021_02_01.models.SecurityPartnerProviderConnectionStatus + :param virtual_hub: The virtualHub to which the Security Partner Provider belongs. + :type virtual_hub: ~azure.mgmt.network.v2021_02_01.models.SubResource + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'connection_status': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'security_provider_name': {'key': 'properties.securityProviderName', 'type': 'str'}, + 'connection_status': {'key': 'properties.connectionStatus', 'type': 'str'}, + 'virtual_hub': {'key': 'properties.virtualHub', 'type': 'SubResource'}, + } + + def __init__( + self, + **kwargs + ): + super(SecurityPartnerProvider, self).__init__(**kwargs) + self.etag = None + self.provisioning_state = None + self.security_provider_name = kwargs.get('security_provider_name', None) + self.connection_status = None + self.virtual_hub = kwargs.get('virtual_hub', None) + + +class SecurityPartnerProviderListResult(msrest.serialization.Model): + """Response for ListSecurityPartnerProviders API service call. + + :param value: List of Security Partner Providers in a resource group. + :type value: list[~azure.mgmt.network.v2021_02_01.models.SecurityPartnerProvider] + :param next_link: URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[SecurityPartnerProvider]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(SecurityPartnerProviderListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = kwargs.get('next_link', None) + + +class SecurityRule(SubResource): + """Network security rule. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: The name of the resource that is unique within a resource group. This name can be + used to access the resource. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param type: The type of the resource. + :type type: str + :param description: A description for this rule. Restricted to 140 chars. + :type description: str + :param protocol: Network protocol this rule applies to. Possible values include: "Tcp", "Udp", + "Icmp", "Esp", "*", "Ah". + :type protocol: str or ~azure.mgmt.network.v2021_02_01.models.SecurityRuleProtocol + :param source_port_range: The source port or range. Integer or range between 0 and 65535. + Asterisk '*' can also be used to match all ports. + :type source_port_range: str + :param destination_port_range: The destination port or range. Integer or range between 0 and + 65535. Asterisk '*' can also be used to match all ports. + :type destination_port_range: str + :param source_address_prefix: The CIDR or source IP range. Asterisk '*' can also be used to + match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' + can also be used. If this is an ingress rule, specifies where network traffic originates from. + :type source_address_prefix: str + :param source_address_prefixes: The CIDR or source IP ranges. + :type source_address_prefixes: list[str] + :param source_application_security_groups: The application security group specified as source. + :type source_application_security_groups: + list[~azure.mgmt.network.v2021_02_01.models.ApplicationSecurityGroup] + :param destination_address_prefix: The destination address prefix. CIDR or destination IP + range. Asterisk '*' can also be used to match all source IPs. Default tags such as + 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used. + :type destination_address_prefix: str + :param destination_address_prefixes: The destination address prefixes. CIDR or destination IP + ranges. + :type destination_address_prefixes: list[str] + :param destination_application_security_groups: The application security group specified as + destination. + :type destination_application_security_groups: + list[~azure.mgmt.network.v2021_02_01.models.ApplicationSecurityGroup] + :param source_port_ranges: The source port ranges. + :type source_port_ranges: list[str] + :param destination_port_ranges: The destination port ranges. + :type destination_port_ranges: list[str] + :param access: The network traffic is allowed or denied. Possible values include: "Allow", + "Deny". + :type access: str or ~azure.mgmt.network.v2021_02_01.models.SecurityRuleAccess + :param priority: The priority of the rule. The value can be between 100 and 4096. The priority + number must be unique for each rule in the collection. The lower the priority number, the + higher the priority of the rule. + :type priority: int + :param direction: The direction of the rule. The direction specifies if rule will be evaluated + on incoming or outgoing traffic. Possible values include: "Inbound", "Outbound". + :type direction: str or ~azure.mgmt.network.v2021_02_01.models.SecurityRuleDirection + :ivar provisioning_state: The provisioning state of the security rule resource. Possible values + include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'description': {'key': 'properties.description', 'type': 'str'}, + 'protocol': {'key': 'properties.protocol', 'type': 'str'}, + 'source_port_range': {'key': 'properties.sourcePortRange', 'type': 'str'}, + 'destination_port_range': {'key': 'properties.destinationPortRange', 'type': 'str'}, + 'source_address_prefix': {'key': 'properties.sourceAddressPrefix', 'type': 'str'}, + 'source_address_prefixes': {'key': 'properties.sourceAddressPrefixes', 'type': '[str]'}, + 'source_application_security_groups': {'key': 'properties.sourceApplicationSecurityGroups', 'type': '[ApplicationSecurityGroup]'}, + 'destination_address_prefix': {'key': 'properties.destinationAddressPrefix', 'type': 'str'}, + 'destination_address_prefixes': {'key': 'properties.destinationAddressPrefixes', 'type': '[str]'}, + 'destination_application_security_groups': {'key': 'properties.destinationApplicationSecurityGroups', 'type': '[ApplicationSecurityGroup]'}, + 'source_port_ranges': {'key': 'properties.sourcePortRanges', 'type': '[str]'}, + 'destination_port_ranges': {'key': 'properties.destinationPortRanges', 'type': '[str]'}, + 'access': {'key': 'properties.access', 'type': 'str'}, + 'priority': {'key': 'properties.priority', 'type': 'int'}, + 'direction': {'key': 'properties.direction', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(SecurityRule, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.etag = None + self.type = kwargs.get('type', None) + self.description = kwargs.get('description', None) + self.protocol = kwargs.get('protocol', None) + self.source_port_range = kwargs.get('source_port_range', None) + self.destination_port_range = kwargs.get('destination_port_range', None) + self.source_address_prefix = kwargs.get('source_address_prefix', None) + self.source_address_prefixes = kwargs.get('source_address_prefixes', None) + self.source_application_security_groups = kwargs.get('source_application_security_groups', None) + self.destination_address_prefix = kwargs.get('destination_address_prefix', None) + self.destination_address_prefixes = kwargs.get('destination_address_prefixes', None) + self.destination_application_security_groups = kwargs.get('destination_application_security_groups', None) + self.source_port_ranges = kwargs.get('source_port_ranges', None) + self.destination_port_ranges = kwargs.get('destination_port_ranges', None) + self.access = kwargs.get('access', None) + self.priority = kwargs.get('priority', None) + self.direction = kwargs.get('direction', None) + self.provisioning_state = None + + +class SecurityRuleAssociations(msrest.serialization.Model): + """All security rules associated with the network interface. + + :param network_interface_association: Network interface and it's custom security rules. + :type network_interface_association: + ~azure.mgmt.network.v2021_02_01.models.NetworkInterfaceAssociation + :param subnet_association: Subnet and it's custom security rules. + :type subnet_association: ~azure.mgmt.network.v2021_02_01.models.SubnetAssociation + :param default_security_rules: Collection of default security rules of the network security + group. + :type default_security_rules: list[~azure.mgmt.network.v2021_02_01.models.SecurityRule] + :param effective_security_rules: Collection of effective security rules. + :type effective_security_rules: + list[~azure.mgmt.network.v2021_02_01.models.EffectiveNetworkSecurityRule] + """ + + _attribute_map = { + 'network_interface_association': {'key': 'networkInterfaceAssociation', 'type': 'NetworkInterfaceAssociation'}, + 'subnet_association': {'key': 'subnetAssociation', 'type': 'SubnetAssociation'}, + 'default_security_rules': {'key': 'defaultSecurityRules', 'type': '[SecurityRule]'}, + 'effective_security_rules': {'key': 'effectiveSecurityRules', 'type': '[EffectiveNetworkSecurityRule]'}, + } + + def __init__( + self, + **kwargs + ): + super(SecurityRuleAssociations, self).__init__(**kwargs) + self.network_interface_association = kwargs.get('network_interface_association', None) + self.subnet_association = kwargs.get('subnet_association', None) + self.default_security_rules = kwargs.get('default_security_rules', None) + self.effective_security_rules = kwargs.get('effective_security_rules', None) + + +class SecurityRuleListResult(msrest.serialization.Model): + """Response for ListSecurityRule API service call. Retrieves all security rules that belongs to a network security group. + + :param value: The security rules in a network security group. + :type value: list[~azure.mgmt.network.v2021_02_01.models.SecurityRule] + :param next_link: The URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[SecurityRule]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(SecurityRuleListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = kwargs.get('next_link', None) + + +class ServiceAssociationLink(SubResource): + """ServiceAssociationLink resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: Name of the resource that is unique within a resource group. This name can be used + to access the resource. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Resource type. + :vartype type: str + :param linked_resource_type: Resource type of the linked resource. + :type linked_resource_type: str + :param link: Link to the external resource. + :type link: str + :ivar provisioning_state: The provisioning state of the service association link resource. + Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :param allow_delete: If true, the resource can be deleted. + :type allow_delete: bool + :param locations: A list of locations. + :type locations: list[str] + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'linked_resource_type': {'key': 'properties.linkedResourceType', 'type': 'str'}, + 'link': {'key': 'properties.link', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'allow_delete': {'key': 'properties.allowDelete', 'type': 'bool'}, + 'locations': {'key': 'properties.locations', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(ServiceAssociationLink, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.etag = None + self.type = None + self.linked_resource_type = kwargs.get('linked_resource_type', None) + self.link = kwargs.get('link', None) + self.provisioning_state = None + self.allow_delete = kwargs.get('allow_delete', None) + self.locations = kwargs.get('locations', None) + + +class ServiceAssociationLinksListResult(msrest.serialization.Model): + """Response for ServiceAssociationLinks_List operation. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: The service association links in a subnet. + :type value: list[~azure.mgmt.network.v2021_02_01.models.ServiceAssociationLink] + :ivar next_link: The URL to get the next set of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[ServiceAssociationLink]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ServiceAssociationLinksListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = None + + +class ServiceEndpointPolicy(Resource): + """Service End point policy resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar kind: Kind of service endpoint policy. This is metadata used for the Azure portal + experience. + :vartype kind: str + :param service_endpoint_policy_definitions: A collection of service endpoint policy definitions + of the service endpoint policy. + :type service_endpoint_policy_definitions: + list[~azure.mgmt.network.v2021_02_01.models.ServiceEndpointPolicyDefinition] + :ivar subnets: A collection of references to subnets. + :vartype subnets: list[~azure.mgmt.network.v2021_02_01.models.Subnet] + :ivar resource_guid: The resource GUID property of the service endpoint policy resource. + :vartype resource_guid: str + :ivar provisioning_state: The provisioning state of the service endpoint policy resource. + Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'kind': {'readonly': True}, + 'subnets': {'readonly': True}, + 'resource_guid': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'service_endpoint_policy_definitions': {'key': 'properties.serviceEndpointPolicyDefinitions', 'type': '[ServiceEndpointPolicyDefinition]'}, + 'subnets': {'key': 'properties.subnets', 'type': '[Subnet]'}, + 'resource_guid': {'key': 'properties.resourceGuid', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ServiceEndpointPolicy, self).__init__(**kwargs) + self.etag = None + self.kind = None + self.service_endpoint_policy_definitions = kwargs.get('service_endpoint_policy_definitions', None) + self.subnets = None + self.resource_guid = None + self.provisioning_state = None + + +class ServiceEndpointPolicyDefinition(SubResource): + """Service Endpoint policy definitions. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: The name of the resource that is unique within a resource group. This name can be + used to access the resource. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param description: A description for this rule. Restricted to 140 chars. + :type description: str + :param service: Service endpoint name. + :type service: str + :param service_resources: A list of service resources. + :type service_resources: list[str] + :ivar provisioning_state: The provisioning state of the service endpoint policy definition + resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'description': {'key': 'properties.description', 'type': 'str'}, + 'service': {'key': 'properties.service', 'type': 'str'}, + 'service_resources': {'key': 'properties.serviceResources', 'type': '[str]'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ServiceEndpointPolicyDefinition, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.etag = None + self.description = kwargs.get('description', None) + self.service = kwargs.get('service', None) + self.service_resources = kwargs.get('service_resources', None) + self.provisioning_state = None + + +class ServiceEndpointPolicyDefinitionListResult(msrest.serialization.Model): + """Response for ListServiceEndpointPolicyDefinition API service call. Retrieves all service endpoint policy definition that belongs to a service endpoint policy. + + :param value: The service endpoint policy definition in a service endpoint policy. + :type value: list[~azure.mgmt.network.v2021_02_01.models.ServiceEndpointPolicyDefinition] + :param next_link: The URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[ServiceEndpointPolicyDefinition]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ServiceEndpointPolicyDefinitionListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = kwargs.get('next_link', None) + + +class ServiceEndpointPolicyListResult(msrest.serialization.Model): + """Response for ListServiceEndpointPolicies API service call. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: A list of ServiceEndpointPolicy resources. + :type value: list[~azure.mgmt.network.v2021_02_01.models.ServiceEndpointPolicy] + :ivar next_link: The URL to get the next set of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[ServiceEndpointPolicy]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ServiceEndpointPolicyListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = None + + +class ServiceEndpointPropertiesFormat(msrest.serialization.Model): + """The service endpoint properties. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param service: The type of the endpoint service. + :type service: str + :param locations: A list of locations. + :type locations: list[str] + :ivar provisioning_state: The provisioning state of the service endpoint resource. Possible + values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'service': {'key': 'service', 'type': 'str'}, + 'locations': {'key': 'locations', 'type': '[str]'}, + 'provisioning_state': {'key': 'provisioningState', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ServiceEndpointPropertiesFormat, self).__init__(**kwargs) + self.service = kwargs.get('service', None) + self.locations = kwargs.get('locations', None) + self.provisioning_state = None + + +class ServiceTagInformation(msrest.serialization.Model): + """The service tag information. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar properties: Properties of the service tag information. + :vartype properties: + ~azure.mgmt.network.v2021_02_01.models.ServiceTagInformationPropertiesFormat + :ivar name: The name of service tag. + :vartype name: str + :ivar id: The ID of service tag. + :vartype id: str + """ + + _validation = { + 'properties': {'readonly': True}, + 'name': {'readonly': True}, + 'id': {'readonly': True}, + } + + _attribute_map = { + 'properties': {'key': 'properties', 'type': 'ServiceTagInformationPropertiesFormat'}, + 'name': {'key': 'name', 'type': 'str'}, + 'id': {'key': 'id', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ServiceTagInformation, self).__init__(**kwargs) + self.properties = None + self.name = None + self.id = None + + +class ServiceTagInformationPropertiesFormat(msrest.serialization.Model): + """Properties of the service tag information. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar change_number: The iteration number of service tag. + :vartype change_number: str + :ivar region: The region of service tag. + :vartype region: str + :ivar system_service: The name of system service. + :vartype system_service: str + :ivar address_prefixes: The list of IP address prefixes. + :vartype address_prefixes: list[str] + :ivar state: The state of the service tag. + :vartype state: str + """ + + _validation = { + 'change_number': {'readonly': True}, + 'region': {'readonly': True}, + 'system_service': {'readonly': True}, + 'address_prefixes': {'readonly': True}, + 'state': {'readonly': True}, + } + + _attribute_map = { + 'change_number': {'key': 'changeNumber', 'type': 'str'}, + 'region': {'key': 'region', 'type': 'str'}, + 'system_service': {'key': 'systemService', 'type': 'str'}, + 'address_prefixes': {'key': 'addressPrefixes', 'type': '[str]'}, + 'state': {'key': 'state', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ServiceTagInformationPropertiesFormat, self).__init__(**kwargs) + self.change_number = None + self.region = None + self.system_service = None + self.address_prefixes = None + self.state = None + + +class ServiceTagsListResult(msrest.serialization.Model): + """Response for the ListServiceTags API service call. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar name: The name of the cloud. + :vartype name: str + :ivar id: The ID of the cloud. + :vartype id: str + :ivar type: The azure resource type. + :vartype type: str + :ivar change_number: The iteration number. + :vartype change_number: str + :ivar cloud: The name of the cloud. + :vartype cloud: str + :ivar values: The list of service tag information resources. + :vartype values: list[~azure.mgmt.network.v2021_02_01.models.ServiceTagInformation] + :ivar next_link: The URL to get next page of service tag information resources. + :vartype next_link: str + """ + + _validation = { + 'name': {'readonly': True}, + 'id': {'readonly': True}, + 'type': {'readonly': True}, + 'change_number': {'readonly': True}, + 'cloud': {'readonly': True}, + 'values': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'id': {'key': 'id', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'change_number': {'key': 'changeNumber', 'type': 'str'}, + 'cloud': {'key': 'cloud', 'type': 'str'}, + 'values': {'key': 'values', 'type': '[ServiceTagInformation]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ServiceTagsListResult, self).__init__(**kwargs) + self.name = None + self.id = None + self.type = None + self.change_number = None + self.cloud = None + self.values = None + self.next_link = None + + +class SessionIds(msrest.serialization.Model): + """List of session IDs. + + :param session_ids: List of session IDs. + :type session_ids: list[str] + """ + + _attribute_map = { + 'session_ids': {'key': 'sessionIds', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(SessionIds, self).__init__(**kwargs) + self.session_ids = kwargs.get('session_ids', None) + + +class Sku(msrest.serialization.Model): + """The sku of this Bastion Host. + + :param name: The name of this Bastion Host. Possible values include: "Basic", "Standard". + Default value: "Standard". + :type name: str or ~azure.mgmt.network.v2021_02_01.models.BastionHostSkuName + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(Sku, self).__init__(**kwargs) + self.name = kwargs.get('name', "Standard") + + +class StaticRoute(msrest.serialization.Model): + """List of all Static Routes. + + :param name: The name of the StaticRoute that is unique within a VnetRoute. + :type name: str + :param address_prefixes: List of all address prefixes. + :type address_prefixes: list[str] + :param next_hop_ip_address: The ip address of the next hop. + :type next_hop_ip_address: str + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'address_prefixes': {'key': 'addressPrefixes', 'type': '[str]'}, + 'next_hop_ip_address': {'key': 'nextHopIpAddress', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(StaticRoute, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.address_prefixes = kwargs.get('address_prefixes', None) + self.next_hop_ip_address = kwargs.get('next_hop_ip_address', None) + + +class Subnet(SubResource): + """Subnet in a virtual network resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: The name of the resource that is unique within a resource group. This name can be + used to access the resource. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param type: Resource type. + :type type: str + :param address_prefix: The address prefix for the subnet. + :type address_prefix: str + :param address_prefixes: List of address prefixes for the subnet. + :type address_prefixes: list[str] + :param network_security_group: The reference to the NetworkSecurityGroup resource. + :type network_security_group: ~azure.mgmt.network.v2021_02_01.models.NetworkSecurityGroup + :param route_table: The reference to the RouteTable resource. + :type route_table: ~azure.mgmt.network.v2021_02_01.models.RouteTable + :param nat_gateway: Nat gateway associated with this subnet. + :type nat_gateway: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param service_endpoints: An array of service endpoints. + :type service_endpoints: + list[~azure.mgmt.network.v2021_02_01.models.ServiceEndpointPropertiesFormat] + :param service_endpoint_policies: An array of service endpoint policies. + :type service_endpoint_policies: + list[~azure.mgmt.network.v2021_02_01.models.ServiceEndpointPolicy] + :ivar private_endpoints: An array of references to private endpoints. + :vartype private_endpoints: list[~azure.mgmt.network.v2021_02_01.models.PrivateEndpoint] + :ivar ip_configurations: An array of references to the network interface IP configurations + using subnet. + :vartype ip_configurations: list[~azure.mgmt.network.v2021_02_01.models.IPConfiguration] + :ivar ip_configuration_profiles: Array of IP configuration profiles which reference this + subnet. + :vartype ip_configuration_profiles: + list[~azure.mgmt.network.v2021_02_01.models.IPConfigurationProfile] + :param ip_allocations: Array of IpAllocation which reference this subnet. + :type ip_allocations: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + :ivar resource_navigation_links: An array of references to the external resources using subnet. + :vartype resource_navigation_links: + list[~azure.mgmt.network.v2021_02_01.models.ResourceNavigationLink] + :ivar service_association_links: An array of references to services injecting into this subnet. + :vartype service_association_links: + list[~azure.mgmt.network.v2021_02_01.models.ServiceAssociationLink] + :param delegations: An array of references to the delegations on the subnet. + :type delegations: list[~azure.mgmt.network.v2021_02_01.models.Delegation] + :ivar purpose: A read-only string identifying the intention of use for this subnet based on + delegations and other user-defined properties. + :vartype purpose: str + :ivar provisioning_state: The provisioning state of the subnet resource. Possible values + include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :param private_endpoint_network_policies: Enable or Disable apply network policies on private + end point in the subnet. Possible values include: "Enabled", "Disabled". Default value: + "Enabled". + :type private_endpoint_network_policies: str or + ~azure.mgmt.network.v2021_02_01.models.VirtualNetworkPrivateEndpointNetworkPolicies + :param private_link_service_network_policies: Enable or Disable apply network policies on + private link service in the subnet. Possible values include: "Enabled", "Disabled". Default + value: "Enabled". + :type private_link_service_network_policies: str or + ~azure.mgmt.network.v2021_02_01.models.VirtualNetworkPrivateLinkServiceNetworkPolicies + :param application_gateway_ip_configurations: Application gateway IP configurations of virtual + network resource. + :type application_gateway_ip_configurations: + list[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayIPConfiguration] + """ + + _validation = { + 'etag': {'readonly': True}, + 'private_endpoints': {'readonly': True}, + 'ip_configurations': {'readonly': True}, + 'ip_configuration_profiles': {'readonly': True}, + 'resource_navigation_links': {'readonly': True}, + 'service_association_links': {'readonly': True}, + 'purpose': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'address_prefix': {'key': 'properties.addressPrefix', 'type': 'str'}, + 'address_prefixes': {'key': 'properties.addressPrefixes', 'type': '[str]'}, + 'network_security_group': {'key': 'properties.networkSecurityGroup', 'type': 'NetworkSecurityGroup'}, + 'route_table': {'key': 'properties.routeTable', 'type': 'RouteTable'}, + 'nat_gateway': {'key': 'properties.natGateway', 'type': 'SubResource'}, + 'service_endpoints': {'key': 'properties.serviceEndpoints', 'type': '[ServiceEndpointPropertiesFormat]'}, + 'service_endpoint_policies': {'key': 'properties.serviceEndpointPolicies', 'type': '[ServiceEndpointPolicy]'}, + 'private_endpoints': {'key': 'properties.privateEndpoints', 'type': '[PrivateEndpoint]'}, + 'ip_configurations': {'key': 'properties.ipConfigurations', 'type': '[IPConfiguration]'}, + 'ip_configuration_profiles': {'key': 'properties.ipConfigurationProfiles', 'type': '[IPConfigurationProfile]'}, + 'ip_allocations': {'key': 'properties.ipAllocations', 'type': '[SubResource]'}, + 'resource_navigation_links': {'key': 'properties.resourceNavigationLinks', 'type': '[ResourceNavigationLink]'}, + 'service_association_links': {'key': 'properties.serviceAssociationLinks', 'type': '[ServiceAssociationLink]'}, + 'delegations': {'key': 'properties.delegations', 'type': '[Delegation]'}, + 'purpose': {'key': 'properties.purpose', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'private_endpoint_network_policies': {'key': 'properties.privateEndpointNetworkPolicies', 'type': 'str'}, + 'private_link_service_network_policies': {'key': 'properties.privateLinkServiceNetworkPolicies', 'type': 'str'}, + 'application_gateway_ip_configurations': {'key': 'properties.applicationGatewayIpConfigurations', 'type': '[ApplicationGatewayIPConfiguration]'}, + } + + def __init__( + self, + **kwargs + ): + super(Subnet, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.etag = None + self.type = kwargs.get('type', None) + self.address_prefix = kwargs.get('address_prefix', None) + self.address_prefixes = kwargs.get('address_prefixes', None) + self.network_security_group = kwargs.get('network_security_group', None) + self.route_table = kwargs.get('route_table', None) + self.nat_gateway = kwargs.get('nat_gateway', None) + self.service_endpoints = kwargs.get('service_endpoints', None) + self.service_endpoint_policies = kwargs.get('service_endpoint_policies', None) + self.private_endpoints = None + self.ip_configurations = None + self.ip_configuration_profiles = None + self.ip_allocations = kwargs.get('ip_allocations', None) + self.resource_navigation_links = None + self.service_association_links = None + self.delegations = kwargs.get('delegations', None) + self.purpose = None + self.provisioning_state = None + self.private_endpoint_network_policies = kwargs.get('private_endpoint_network_policies', "Enabled") + self.private_link_service_network_policies = kwargs.get('private_link_service_network_policies', "Enabled") + self.application_gateway_ip_configurations = kwargs.get('application_gateway_ip_configurations', None) + + +class SubnetAssociation(msrest.serialization.Model): + """Subnet and it's custom security rules. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Subnet ID. + :vartype id: str + :param security_rules: Collection of custom security rules. + :type security_rules: list[~azure.mgmt.network.v2021_02_01.models.SecurityRule] + """ + + _validation = { + 'id': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'security_rules': {'key': 'securityRules', 'type': '[SecurityRule]'}, + } + + def __init__( + self, + **kwargs + ): + super(SubnetAssociation, self).__init__(**kwargs) + self.id = None + self.security_rules = kwargs.get('security_rules', None) + + +class SubnetListResult(msrest.serialization.Model): + """Response for ListSubnets API service callRetrieves all subnet that belongs to a virtual network. + + :param value: The subnets in a virtual network. + :type value: list[~azure.mgmt.network.v2021_02_01.models.Subnet] + :param next_link: The URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Subnet]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(SubnetListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = kwargs.get('next_link', None) + + +class TagsObject(msrest.serialization.Model): + """Tags object for patch operations. + + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + """ + + _attribute_map = { + 'tags': {'key': 'tags', 'type': '{str}'}, + } + + def __init__( + self, + **kwargs + ): + super(TagsObject, self).__init__(**kwargs) + self.tags = kwargs.get('tags', None) + + +class Topology(msrest.serialization.Model): + """Topology of the specified resource group. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: GUID representing the operation id. + :vartype id: str + :ivar created_date_time: The datetime when the topology was initially created for the resource + group. + :vartype created_date_time: ~datetime.datetime + :ivar last_modified: The datetime when the topology was last modified. + :vartype last_modified: ~datetime.datetime + :param resources: A list of topology resources. + :type resources: list[~azure.mgmt.network.v2021_02_01.models.TopologyResource] + """ + + _validation = { + 'id': {'readonly': True}, + 'created_date_time': {'readonly': True}, + 'last_modified': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'created_date_time': {'key': 'createdDateTime', 'type': 'iso-8601'}, + 'last_modified': {'key': 'lastModified', 'type': 'iso-8601'}, + 'resources': {'key': 'resources', 'type': '[TopologyResource]'}, + } + + def __init__( + self, + **kwargs + ): + super(Topology, self).__init__(**kwargs) + self.id = None + self.created_date_time = None + self.last_modified = None + self.resources = kwargs.get('resources', None) + + +class TopologyAssociation(msrest.serialization.Model): + """Resources that have an association with the parent resource. + + :param name: The name of the resource that is associated with the parent resource. + :type name: str + :param resource_id: The ID of the resource that is associated with the parent resource. + :type resource_id: str + :param association_type: The association type of the child resource to the parent resource. + Possible values include: "Associated", "Contains". + :type association_type: str or ~azure.mgmt.network.v2021_02_01.models.AssociationType + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'resource_id': {'key': 'resourceId', 'type': 'str'}, + 'association_type': {'key': 'associationType', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(TopologyAssociation, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.resource_id = kwargs.get('resource_id', None) + self.association_type = kwargs.get('association_type', None) + + +class TopologyParameters(msrest.serialization.Model): + """Parameters that define the representation of topology. + + :param target_resource_group_name: The name of the target resource group to perform topology + on. + :type target_resource_group_name: str + :param target_virtual_network: The reference to the Virtual Network resource. + :type target_virtual_network: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param target_subnet: The reference to the Subnet resource. + :type target_subnet: ~azure.mgmt.network.v2021_02_01.models.SubResource + """ + + _attribute_map = { + 'target_resource_group_name': {'key': 'targetResourceGroupName', 'type': 'str'}, + 'target_virtual_network': {'key': 'targetVirtualNetwork', 'type': 'SubResource'}, + 'target_subnet': {'key': 'targetSubnet', 'type': 'SubResource'}, + } + + def __init__( + self, + **kwargs + ): + super(TopologyParameters, self).__init__(**kwargs) + self.target_resource_group_name = kwargs.get('target_resource_group_name', None) + self.target_virtual_network = kwargs.get('target_virtual_network', None) + self.target_subnet = kwargs.get('target_subnet', None) + + +class TopologyResource(msrest.serialization.Model): + """The network resource topology information for the given resource group. + + :param name: Name of the resource. + :type name: str + :param id: ID of the resource. + :type id: str + :param location: Resource location. + :type location: str + :param associations: Holds the associations the resource has with other resources in the + resource group. + :type associations: list[~azure.mgmt.network.v2021_02_01.models.TopologyAssociation] + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'id': {'key': 'id', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'associations': {'key': 'associations', 'type': '[TopologyAssociation]'}, + } + + def __init__( + self, + **kwargs + ): + super(TopologyResource, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.id = kwargs.get('id', None) + self.location = kwargs.get('location', None) + self.associations = kwargs.get('associations', None) + + +class TrafficAnalyticsConfigurationProperties(msrest.serialization.Model): + """Parameters that define the configuration of traffic analytics. + + :param enabled: Flag to enable/disable traffic analytics. + :type enabled: bool + :param workspace_id: The resource guid of the attached workspace. + :type workspace_id: str + :param workspace_region: The location of the attached workspace. + :type workspace_region: str + :param workspace_resource_id: Resource Id of the attached workspace. + :type workspace_resource_id: str + :param traffic_analytics_interval: The interval in minutes which would decide how frequently TA + service should do flow analytics. + :type traffic_analytics_interval: int + """ + + _attribute_map = { + 'enabled': {'key': 'enabled', 'type': 'bool'}, + 'workspace_id': {'key': 'workspaceId', 'type': 'str'}, + 'workspace_region': {'key': 'workspaceRegion', 'type': 'str'}, + 'workspace_resource_id': {'key': 'workspaceResourceId', 'type': 'str'}, + 'traffic_analytics_interval': {'key': 'trafficAnalyticsInterval', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(TrafficAnalyticsConfigurationProperties, self).__init__(**kwargs) + self.enabled = kwargs.get('enabled', None) + self.workspace_id = kwargs.get('workspace_id', None) + self.workspace_region = kwargs.get('workspace_region', None) + self.workspace_resource_id = kwargs.get('workspace_resource_id', None) + self.traffic_analytics_interval = kwargs.get('traffic_analytics_interval', None) + + +class TrafficAnalyticsProperties(msrest.serialization.Model): + """Parameters that define the configuration of traffic analytics. + + :param network_watcher_flow_analytics_configuration: Parameters that define the configuration + of traffic analytics. + :type network_watcher_flow_analytics_configuration: + ~azure.mgmt.network.v2021_02_01.models.TrafficAnalyticsConfigurationProperties + """ + + _attribute_map = { + 'network_watcher_flow_analytics_configuration': {'key': 'networkWatcherFlowAnalyticsConfiguration', 'type': 'TrafficAnalyticsConfigurationProperties'}, + } + + def __init__( + self, + **kwargs + ): + super(TrafficAnalyticsProperties, self).__init__(**kwargs) + self.network_watcher_flow_analytics_configuration = kwargs.get('network_watcher_flow_analytics_configuration', None) + + +class TrafficSelectorPolicy(msrest.serialization.Model): + """An traffic selector policy for a virtual network gateway connection. + + All required parameters must be populated in order to send to Azure. + + :param local_address_ranges: Required. A collection of local address spaces in CIDR format. + :type local_address_ranges: list[str] + :param remote_address_ranges: Required. A collection of remote address spaces in CIDR format. + :type remote_address_ranges: list[str] + """ + + _validation = { + 'local_address_ranges': {'required': True}, + 'remote_address_ranges': {'required': True}, + } + + _attribute_map = { + 'local_address_ranges': {'key': 'localAddressRanges', 'type': '[str]'}, + 'remote_address_ranges': {'key': 'remoteAddressRanges', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(TrafficSelectorPolicy, self).__init__(**kwargs) + self.local_address_ranges = kwargs['local_address_ranges'] + self.remote_address_ranges = kwargs['remote_address_ranges'] + + +class TroubleshootingDetails(msrest.serialization.Model): + """Information gained from troubleshooting of specified resource. + + :param id: The id of the get troubleshoot operation. + :type id: str + :param reason_type: Reason type of failure. + :type reason_type: str + :param summary: A summary of troubleshooting. + :type summary: str + :param detail: Details on troubleshooting results. + :type detail: str + :param recommended_actions: List of recommended actions. + :type recommended_actions: + list[~azure.mgmt.network.v2021_02_01.models.TroubleshootingRecommendedActions] + """ + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'reason_type': {'key': 'reasonType', 'type': 'str'}, + 'summary': {'key': 'summary', 'type': 'str'}, + 'detail': {'key': 'detail', 'type': 'str'}, + 'recommended_actions': {'key': 'recommendedActions', 'type': '[TroubleshootingRecommendedActions]'}, + } + + def __init__( + self, + **kwargs + ): + super(TroubleshootingDetails, self).__init__(**kwargs) + self.id = kwargs.get('id', None) + self.reason_type = kwargs.get('reason_type', None) + self.summary = kwargs.get('summary', None) + self.detail = kwargs.get('detail', None) + self.recommended_actions = kwargs.get('recommended_actions', None) + + +class TroubleshootingParameters(msrest.serialization.Model): + """Parameters that define the resource to troubleshoot. + + All required parameters must be populated in order to send to Azure. + + :param target_resource_id: Required. The target resource to troubleshoot. + :type target_resource_id: str + :param storage_id: Required. The ID for the storage account to save the troubleshoot result. + :type storage_id: str + :param storage_path: Required. The path to the blob to save the troubleshoot result in. + :type storage_path: str + """ + + _validation = { + 'target_resource_id': {'required': True}, + 'storage_id': {'required': True}, + 'storage_path': {'required': True}, + } + + _attribute_map = { + 'target_resource_id': {'key': 'targetResourceId', 'type': 'str'}, + 'storage_id': {'key': 'properties.storageId', 'type': 'str'}, + 'storage_path': {'key': 'properties.storagePath', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(TroubleshootingParameters, self).__init__(**kwargs) + self.target_resource_id = kwargs['target_resource_id'] + self.storage_id = kwargs['storage_id'] + self.storage_path = kwargs['storage_path'] + + +class TroubleshootingRecommendedActions(msrest.serialization.Model): + """Recommended actions based on discovered issues. + + :param action_id: ID of the recommended action. + :type action_id: str + :param action_text: Description of recommended actions. + :type action_text: str + :param action_uri: The uri linking to a documentation for the recommended troubleshooting + actions. + :type action_uri: str + :param action_uri_text: The information from the URI for the recommended troubleshooting + actions. + :type action_uri_text: str + """ + + _attribute_map = { + 'action_id': {'key': 'actionId', 'type': 'str'}, + 'action_text': {'key': 'actionText', 'type': 'str'}, + 'action_uri': {'key': 'actionUri', 'type': 'str'}, + 'action_uri_text': {'key': 'actionUriText', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(TroubleshootingRecommendedActions, self).__init__(**kwargs) + self.action_id = kwargs.get('action_id', None) + self.action_text = kwargs.get('action_text', None) + self.action_uri = kwargs.get('action_uri', None) + self.action_uri_text = kwargs.get('action_uri_text', None) + + +class TroubleshootingResult(msrest.serialization.Model): + """Troubleshooting information gained from specified resource. + + :param start_time: The start time of the troubleshooting. + :type start_time: ~datetime.datetime + :param end_time: The end time of the troubleshooting. + :type end_time: ~datetime.datetime + :param code: The result code of the troubleshooting. + :type code: str + :param results: Information from troubleshooting. + :type results: list[~azure.mgmt.network.v2021_02_01.models.TroubleshootingDetails] + """ + + _attribute_map = { + 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, + 'end_time': {'key': 'endTime', 'type': 'iso-8601'}, + 'code': {'key': 'code', 'type': 'str'}, + 'results': {'key': 'results', 'type': '[TroubleshootingDetails]'}, + } + + def __init__( + self, + **kwargs + ): + super(TroubleshootingResult, self).__init__(**kwargs) + self.start_time = kwargs.get('start_time', None) + self.end_time = kwargs.get('end_time', None) + self.code = kwargs.get('code', None) + self.results = kwargs.get('results', None) + + +class TunnelConnectionHealth(msrest.serialization.Model): + """VirtualNetworkGatewayConnection properties. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar tunnel: Tunnel name. + :vartype tunnel: str + :ivar connection_status: Virtual Network Gateway connection status. Possible values include: + "Unknown", "Connecting", "Connected", "NotConnected". + :vartype connection_status: str or + ~azure.mgmt.network.v2021_02_01.models.VirtualNetworkGatewayConnectionStatus + :ivar ingress_bytes_transferred: The Ingress Bytes Transferred in this connection. + :vartype ingress_bytes_transferred: long + :ivar egress_bytes_transferred: The Egress Bytes Transferred in this connection. + :vartype egress_bytes_transferred: long + :ivar last_connection_established_utc_time: The time at which connection was established in Utc + format. + :vartype last_connection_established_utc_time: str + """ + + _validation = { + 'tunnel': {'readonly': True}, + 'connection_status': {'readonly': True}, + 'ingress_bytes_transferred': {'readonly': True}, + 'egress_bytes_transferred': {'readonly': True}, + 'last_connection_established_utc_time': {'readonly': True}, + } + + _attribute_map = { + 'tunnel': {'key': 'tunnel', 'type': 'str'}, + 'connection_status': {'key': 'connectionStatus', 'type': 'str'}, + 'ingress_bytes_transferred': {'key': 'ingressBytesTransferred', 'type': 'long'}, + 'egress_bytes_transferred': {'key': 'egressBytesTransferred', 'type': 'long'}, + 'last_connection_established_utc_time': {'key': 'lastConnectionEstablishedUtcTime', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(TunnelConnectionHealth, self).__init__(**kwargs) + self.tunnel = None + self.connection_status = None + self.ingress_bytes_transferred = None + self.egress_bytes_transferred = None + self.last_connection_established_utc_time = None + + +class UnprepareNetworkPoliciesRequest(msrest.serialization.Model): + """Details of UnprepareNetworkPolicies for Subnet. + + :param service_name: The name of the service for which subnet is being unprepared for. + :type service_name: str + """ + + _attribute_map = { + 'service_name': {'key': 'serviceName', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(UnprepareNetworkPoliciesRequest, self).__init__(**kwargs) + self.service_name = kwargs.get('service_name', None) + + +class Usage(msrest.serialization.Model): + """The network resource usage. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Resource identifier. + :vartype id: str + :param unit: Required. An enum describing the unit of measurement. Possible values include: + "Count". + :type unit: str or ~azure.mgmt.network.v2021_02_01.models.UsageUnit + :param current_value: Required. The current value of the usage. + :type current_value: long + :param limit: Required. The limit of usage. + :type limit: long + :param name: Required. The name of the type of usage. + :type name: ~azure.mgmt.network.v2021_02_01.models.UsageName + """ + + _validation = { + 'id': {'readonly': True}, + 'unit': {'required': True}, + 'current_value': {'required': True}, + 'limit': {'required': True}, + 'name': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'unit': {'key': 'unit', 'type': 'str'}, + 'current_value': {'key': 'currentValue', 'type': 'long'}, + 'limit': {'key': 'limit', 'type': 'long'}, + 'name': {'key': 'name', 'type': 'UsageName'}, + } + + def __init__( + self, + **kwargs + ): + super(Usage, self).__init__(**kwargs) + self.id = None + self.unit = kwargs['unit'] + self.current_value = kwargs['current_value'] + self.limit = kwargs['limit'] + self.name = kwargs['name'] + + +class UsageName(msrest.serialization.Model): + """The usage names. + + :param value: A string describing the resource name. + :type value: str + :param localized_value: A localized string describing the resource name. + :type localized_value: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': 'str'}, + 'localized_value': {'key': 'localizedValue', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(UsageName, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.localized_value = kwargs.get('localized_value', None) + + +class UsagesListResult(msrest.serialization.Model): + """The list usages operation response. + + :param value: The list network resource usages. + :type value: list[~azure.mgmt.network.v2021_02_01.models.Usage] + :param next_link: URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Usage]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(UsagesListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = kwargs.get('next_link', None) + + +class VerificationIPFlowParameters(msrest.serialization.Model): + """Parameters that define the IP flow to be verified. + + All required parameters must be populated in order to send to Azure. + + :param target_resource_id: Required. The ID of the target resource to perform next-hop on. + :type target_resource_id: str + :param direction: Required. The direction of the packet represented as a 5-tuple. Possible + values include: "Inbound", "Outbound". + :type direction: str or ~azure.mgmt.network.v2021_02_01.models.Direction + :param protocol: Required. Protocol to be verified on. Possible values include: "TCP", "UDP". + :type protocol: str or ~azure.mgmt.network.v2021_02_01.models.IpFlowProtocol + :param local_port: Required. The local port. Acceptable values are a single integer in the + range (0-65535). Support for * for the source port, which depends on the direction. + :type local_port: str + :param remote_port: Required. The remote port. Acceptable values are a single integer in the + range (0-65535). Support for * for the source port, which depends on the direction. + :type remote_port: str + :param local_ip_address: Required. The local IP address. Acceptable values are valid IPv4 + addresses. + :type local_ip_address: str + :param remote_ip_address: Required. The remote IP address. Acceptable values are valid IPv4 + addresses. + :type remote_ip_address: str + :param target_nic_resource_id: The NIC ID. (If VM has multiple NICs and IP forwarding is + enabled on any of them, then this parameter must be specified. Otherwise optional). + :type target_nic_resource_id: str + """ + + _validation = { + 'target_resource_id': {'required': True}, + 'direction': {'required': True}, + 'protocol': {'required': True}, + 'local_port': {'required': True}, + 'remote_port': {'required': True}, + 'local_ip_address': {'required': True}, + 'remote_ip_address': {'required': True}, + } + + _attribute_map = { + 'target_resource_id': {'key': 'targetResourceId', 'type': 'str'}, + 'direction': {'key': 'direction', 'type': 'str'}, + 'protocol': {'key': 'protocol', 'type': 'str'}, + 'local_port': {'key': 'localPort', 'type': 'str'}, + 'remote_port': {'key': 'remotePort', 'type': 'str'}, + 'local_ip_address': {'key': 'localIPAddress', 'type': 'str'}, + 'remote_ip_address': {'key': 'remoteIPAddress', 'type': 'str'}, + 'target_nic_resource_id': {'key': 'targetNicResourceId', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(VerificationIPFlowParameters, self).__init__(**kwargs) + self.target_resource_id = kwargs['target_resource_id'] + self.direction = kwargs['direction'] + self.protocol = kwargs['protocol'] + self.local_port = kwargs['local_port'] + self.remote_port = kwargs['remote_port'] + self.local_ip_address = kwargs['local_ip_address'] + self.remote_ip_address = kwargs['remote_ip_address'] + self.target_nic_resource_id = kwargs.get('target_nic_resource_id', None) + + +class VerificationIPFlowResult(msrest.serialization.Model): + """Results of IP flow verification on the target resource. + + :param access: Indicates whether the traffic is allowed or denied. Possible values include: + "Allow", "Deny". + :type access: str or ~azure.mgmt.network.v2021_02_01.models.Access + :param rule_name: Name of the rule. If input is not matched against any security rule, it is + not displayed. + :type rule_name: str + """ + + _attribute_map = { + 'access': {'key': 'access', 'type': 'str'}, + 'rule_name': {'key': 'ruleName', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(VerificationIPFlowResult, self).__init__(**kwargs) + self.access = kwargs.get('access', None) + self.rule_name = kwargs.get('rule_name', None) + + +class VirtualApplianceNicProperties(msrest.serialization.Model): + """Network Virtual Appliance NIC properties. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar name: NIC name. + :vartype name: str + :ivar public_ip_address: Public IP address. + :vartype public_ip_address: str + :ivar private_ip_address: Private IP address. + :vartype private_ip_address: str + """ + + _validation = { + 'name': {'readonly': True}, + 'public_ip_address': {'readonly': True}, + 'private_ip_address': {'readonly': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'public_ip_address': {'key': 'publicIpAddress', 'type': 'str'}, + 'private_ip_address': {'key': 'privateIpAddress', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(VirtualApplianceNicProperties, self).__init__(**kwargs) + self.name = None + self.public_ip_address = None + self.private_ip_address = None + + +class VirtualApplianceSite(SubResource): + """Virtual Appliance Site resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: Name of the virtual appliance site. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Site type. + :vartype type: str + :param address_prefix: Address Prefix. + :type address_prefix: str + :param o365_policy: Office 365 Policy. + :type o365_policy: ~azure.mgmt.network.v2021_02_01.models.Office365PolicyProperties + :ivar provisioning_state: The provisioning state of the resource. Possible values include: + "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'address_prefix': {'key': 'properties.addressPrefix', 'type': 'str'}, + 'o365_policy': {'key': 'properties.o365Policy', 'type': 'Office365PolicyProperties'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(VirtualApplianceSite, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.etag = None + self.type = None + self.address_prefix = kwargs.get('address_prefix', None) + self.o365_policy = kwargs.get('o365_policy', None) + self.provisioning_state = None + + +class VirtualApplianceSkuProperties(msrest.serialization.Model): + """Network Virtual Appliance Sku Properties. + + :param vendor: Virtual Appliance Vendor. + :type vendor: str + :param bundled_scale_unit: Virtual Appliance Scale Unit. + :type bundled_scale_unit: str + :param market_place_version: Virtual Appliance Version. + :type market_place_version: str + """ + + _attribute_map = { + 'vendor': {'key': 'vendor', 'type': 'str'}, + 'bundled_scale_unit': {'key': 'bundledScaleUnit', 'type': 'str'}, + 'market_place_version': {'key': 'marketPlaceVersion', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(VirtualApplianceSkuProperties, self).__init__(**kwargs) + self.vendor = kwargs.get('vendor', None) + self.bundled_scale_unit = kwargs.get('bundled_scale_unit', None) + self.market_place_version = kwargs.get('market_place_version', None) + + +class VirtualHub(Resource): + """VirtualHub Resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param virtual_wan: The VirtualWAN to which the VirtualHub belongs. + :type virtual_wan: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param vpn_gateway: The VpnGateway associated with this VirtualHub. + :type vpn_gateway: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param p2_s_vpn_gateway: The P2SVpnGateway associated with this VirtualHub. + :type p2_s_vpn_gateway: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param express_route_gateway: The expressRouteGateway associated with this VirtualHub. + :type express_route_gateway: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param azure_firewall: The azureFirewall associated with this VirtualHub. + :type azure_firewall: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param security_partner_provider: The securityPartnerProvider associated with this VirtualHub. + :type security_partner_provider: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param address_prefix: Address-prefix for this VirtualHub. + :type address_prefix: str + :param route_table: The routeTable associated with this virtual hub. + :type route_table: ~azure.mgmt.network.v2021_02_01.models.VirtualHubRouteTable + :ivar provisioning_state: The provisioning state of the virtual hub resource. Possible values + include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :param security_provider_name: The Security Provider name. + :type security_provider_name: str + :param virtual_hub_route_table_v2_s: List of all virtual hub route table v2s associated with + this VirtualHub. + :type virtual_hub_route_table_v2_s: + list[~azure.mgmt.network.v2021_02_01.models.VirtualHubRouteTableV2] + :param sku: The sku of this VirtualHub. + :type sku: str + :ivar routing_state: The routing state. Possible values include: "None", "Provisioned", + "Provisioning", "Failed". + :vartype routing_state: str or ~azure.mgmt.network.v2021_02_01.models.RoutingState + :ivar bgp_connections: List of references to Bgp Connections. + :vartype bgp_connections: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + :ivar ip_configurations: List of references to IpConfigurations. + :vartype ip_configurations: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + :param virtual_router_asn: VirtualRouter ASN. + :type virtual_router_asn: long + :param virtual_router_ips: VirtualRouter IPs. + :type virtual_router_ips: list[str] + :param allow_branch_to_branch_traffic: Flag to control transit for VirtualRouter hub. + :type allow_branch_to_branch_traffic: bool + :param preferred_routing_gateway: The preferred gateway to route on-prem traffic. Possible + values include: "ExpressRoute", "VpnGateway", "None". + :type preferred_routing_gateway: str or + ~azure.mgmt.network.v2021_02_01.models.PreferredRoutingGateway + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'routing_state': {'readonly': True}, + 'bgp_connections': {'readonly': True}, + 'ip_configurations': {'readonly': True}, + 'virtual_router_asn': {'maximum': 4294967295, 'minimum': 0}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'virtual_wan': {'key': 'properties.virtualWan', 'type': 'SubResource'}, + 'vpn_gateway': {'key': 'properties.vpnGateway', 'type': 'SubResource'}, + 'p2_s_vpn_gateway': {'key': 'properties.p2SVpnGateway', 'type': 'SubResource'}, + 'express_route_gateway': {'key': 'properties.expressRouteGateway', 'type': 'SubResource'}, + 'azure_firewall': {'key': 'properties.azureFirewall', 'type': 'SubResource'}, + 'security_partner_provider': {'key': 'properties.securityPartnerProvider', 'type': 'SubResource'}, + 'address_prefix': {'key': 'properties.addressPrefix', 'type': 'str'}, + 'route_table': {'key': 'properties.routeTable', 'type': 'VirtualHubRouteTable'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'security_provider_name': {'key': 'properties.securityProviderName', 'type': 'str'}, + 'virtual_hub_route_table_v2_s': {'key': 'properties.virtualHubRouteTableV2s', 'type': '[VirtualHubRouteTableV2]'}, + 'sku': {'key': 'properties.sku', 'type': 'str'}, + 'routing_state': {'key': 'properties.routingState', 'type': 'str'}, + 'bgp_connections': {'key': 'properties.bgpConnections', 'type': '[SubResource]'}, + 'ip_configurations': {'key': 'properties.ipConfigurations', 'type': '[SubResource]'}, + 'virtual_router_asn': {'key': 'properties.virtualRouterAsn', 'type': 'long'}, + 'virtual_router_ips': {'key': 'properties.virtualRouterIps', 'type': '[str]'}, + 'allow_branch_to_branch_traffic': {'key': 'properties.allowBranchToBranchTraffic', 'type': 'bool'}, + 'preferred_routing_gateway': {'key': 'properties.preferredRoutingGateway', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(VirtualHub, self).__init__(**kwargs) + self.etag = None + self.virtual_wan = kwargs.get('virtual_wan', None) + self.vpn_gateway = kwargs.get('vpn_gateway', None) + self.p2_s_vpn_gateway = kwargs.get('p2_s_vpn_gateway', None) + self.express_route_gateway = kwargs.get('express_route_gateway', None) + self.azure_firewall = kwargs.get('azure_firewall', None) + self.security_partner_provider = kwargs.get('security_partner_provider', None) + self.address_prefix = kwargs.get('address_prefix', None) + self.route_table = kwargs.get('route_table', None) + self.provisioning_state = None + self.security_provider_name = kwargs.get('security_provider_name', None) + self.virtual_hub_route_table_v2_s = kwargs.get('virtual_hub_route_table_v2_s', None) + self.sku = kwargs.get('sku', None) + self.routing_state = None + self.bgp_connections = None + self.ip_configurations = None + self.virtual_router_asn = kwargs.get('virtual_router_asn', None) + self.virtual_router_ips = kwargs.get('virtual_router_ips', None) + self.allow_branch_to_branch_traffic = kwargs.get('allow_branch_to_branch_traffic', None) + self.preferred_routing_gateway = kwargs.get('preferred_routing_gateway', None) + + +class VirtualHubEffectiveRoute(msrest.serialization.Model): + """The effective route configured on the virtual hub or specified resource. + + :param address_prefixes: The list of address prefixes. + :type address_prefixes: list[str] + :param next_hops: The list of next hops. + :type next_hops: list[str] + :param next_hop_type: The type of the next hop. + :type next_hop_type: str + :param as_path: The ASPath of this route. + :type as_path: str + :param route_origin: The origin of this route. + :type route_origin: str + """ + + _attribute_map = { + 'address_prefixes': {'key': 'addressPrefixes', 'type': '[str]'}, + 'next_hops': {'key': 'nextHops', 'type': '[str]'}, + 'next_hop_type': {'key': 'nextHopType', 'type': 'str'}, + 'as_path': {'key': 'asPath', 'type': 'str'}, + 'route_origin': {'key': 'routeOrigin', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(VirtualHubEffectiveRoute, self).__init__(**kwargs) + self.address_prefixes = kwargs.get('address_prefixes', None) + self.next_hops = kwargs.get('next_hops', None) + self.next_hop_type = kwargs.get('next_hop_type', None) + self.as_path = kwargs.get('as_path', None) + self.route_origin = kwargs.get('route_origin', None) + + +class VirtualHubEffectiveRouteList(msrest.serialization.Model): + """EffectiveRoutes List. + + :param value: The list of effective routes configured on the virtual hub or the specified + resource. + :type value: list[~azure.mgmt.network.v2021_02_01.models.VirtualHubEffectiveRoute] + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[VirtualHubEffectiveRoute]'}, + } + + def __init__( + self, + **kwargs + ): + super(VirtualHubEffectiveRouteList, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + + +class VirtualHubId(msrest.serialization.Model): + """Virtual Hub identifier. + + :param id: The resource URI for the Virtual Hub where the ExpressRoute gateway is or will be + deployed. The Virtual Hub resource and the ExpressRoute gateway resource reside in the same + subscription. + :type id: str + """ + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(VirtualHubId, self).__init__(**kwargs) + self.id = kwargs.get('id', None) + + +class VirtualHubRoute(msrest.serialization.Model): + """VirtualHub route. + + :param address_prefixes: List of all addressPrefixes. + :type address_prefixes: list[str] + :param next_hop_ip_address: NextHop ip address. + :type next_hop_ip_address: str + """ + + _attribute_map = { + 'address_prefixes': {'key': 'addressPrefixes', 'type': '[str]'}, + 'next_hop_ip_address': {'key': 'nextHopIpAddress', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(VirtualHubRoute, self).__init__(**kwargs) + self.address_prefixes = kwargs.get('address_prefixes', None) + self.next_hop_ip_address = kwargs.get('next_hop_ip_address', None) + + +class VirtualHubRouteTable(msrest.serialization.Model): + """VirtualHub route table. + + :param routes: List of all routes. + :type routes: list[~azure.mgmt.network.v2021_02_01.models.VirtualHubRoute] + """ + + _attribute_map = { + 'routes': {'key': 'routes', 'type': '[VirtualHubRoute]'}, + } + + def __init__( + self, + **kwargs + ): + super(VirtualHubRouteTable, self).__init__(**kwargs) + self.routes = kwargs.get('routes', None) + + +class VirtualHubRouteTableV2(SubResource): + """VirtualHubRouteTableV2 Resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: The name of the resource that is unique within a resource group. This name can be + used to access the resource. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param routes: List of all routes. + :type routes: list[~azure.mgmt.network.v2021_02_01.models.VirtualHubRouteV2] + :param attached_connections: List of all connections attached to this route table v2. + :type attached_connections: list[str] + :ivar provisioning_state: The provisioning state of the virtual hub route table v2 resource. + Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'routes': {'key': 'properties.routes', 'type': '[VirtualHubRouteV2]'}, + 'attached_connections': {'key': 'properties.attachedConnections', 'type': '[str]'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(VirtualHubRouteTableV2, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.etag = None + self.routes = kwargs.get('routes', None) + self.attached_connections = kwargs.get('attached_connections', None) + self.provisioning_state = None + + +class VirtualHubRouteV2(msrest.serialization.Model): + """VirtualHubRouteTableV2 route. + + :param destination_type: The type of destinations. + :type destination_type: str + :param destinations: List of all destinations. + :type destinations: list[str] + :param next_hop_type: The type of next hops. + :type next_hop_type: str + :param next_hops: NextHops ip address. + :type next_hops: list[str] + """ + + _attribute_map = { + 'destination_type': {'key': 'destinationType', 'type': 'str'}, + 'destinations': {'key': 'destinations', 'type': '[str]'}, + 'next_hop_type': {'key': 'nextHopType', 'type': 'str'}, + 'next_hops': {'key': 'nextHops', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(VirtualHubRouteV2, self).__init__(**kwargs) + self.destination_type = kwargs.get('destination_type', None) + self.destinations = kwargs.get('destinations', None) + self.next_hop_type = kwargs.get('next_hop_type', None) + self.next_hops = kwargs.get('next_hops', None) + + +class VirtualNetwork(Resource): + """Virtual Network resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :param extended_location: The extended location of the virtual network. + :type extended_location: ~azure.mgmt.network.v2021_02_01.models.ExtendedLocation + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param address_space: The AddressSpace that contains an array of IP address ranges that can be + used by subnets. + :type address_space: ~azure.mgmt.network.v2021_02_01.models.AddressSpace + :param dhcp_options: The dhcpOptions that contains an array of DNS servers available to VMs + deployed in the virtual network. + :type dhcp_options: ~azure.mgmt.network.v2021_02_01.models.DhcpOptions + :param flow_timeout_in_minutes: The FlowTimeout value (in minutes) for the Virtual Network. + :type flow_timeout_in_minutes: int + :param subnets: A list of subnets in a Virtual Network. + :type subnets: list[~azure.mgmt.network.v2021_02_01.models.Subnet] + :param virtual_network_peerings: A list of peerings in a Virtual Network. + :type virtual_network_peerings: + list[~azure.mgmt.network.v2021_02_01.models.VirtualNetworkPeering] + :ivar resource_guid: The resourceGuid property of the Virtual Network resource. + :vartype resource_guid: str + :ivar provisioning_state: The provisioning state of the virtual network resource. Possible + values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :param enable_ddos_protection: Indicates if DDoS protection is enabled for all the protected + resources in the virtual network. It requires a DDoS protection plan associated with the + resource. + :type enable_ddos_protection: bool + :param enable_vm_protection: Indicates if VM protection is enabled for all the subnets in the + virtual network. + :type enable_vm_protection: bool + :param ddos_protection_plan: The DDoS protection plan associated with the virtual network. + :type ddos_protection_plan: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param bgp_communities: Bgp Communities sent over ExpressRoute with each route corresponding to + a prefix in this VNET. + :type bgp_communities: ~azure.mgmt.network.v2021_02_01.models.VirtualNetworkBgpCommunities + :param ip_allocations: Array of IpAllocation which reference this VNET. + :type ip_allocations: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'resource_guid': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'extended_location': {'key': 'extendedLocation', 'type': 'ExtendedLocation'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'address_space': {'key': 'properties.addressSpace', 'type': 'AddressSpace'}, + 'dhcp_options': {'key': 'properties.dhcpOptions', 'type': 'DhcpOptions'}, + 'flow_timeout_in_minutes': {'key': 'properties.flowTimeoutInMinutes', 'type': 'int'}, + 'subnets': {'key': 'properties.subnets', 'type': '[Subnet]'}, + 'virtual_network_peerings': {'key': 'properties.virtualNetworkPeerings', 'type': '[VirtualNetworkPeering]'}, + 'resource_guid': {'key': 'properties.resourceGuid', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'enable_ddos_protection': {'key': 'properties.enableDdosProtection', 'type': 'bool'}, + 'enable_vm_protection': {'key': 'properties.enableVmProtection', 'type': 'bool'}, + 'ddos_protection_plan': {'key': 'properties.ddosProtectionPlan', 'type': 'SubResource'}, + 'bgp_communities': {'key': 'properties.bgpCommunities', 'type': 'VirtualNetworkBgpCommunities'}, + 'ip_allocations': {'key': 'properties.ipAllocations', 'type': '[SubResource]'}, + } + + def __init__( + self, + **kwargs + ): + super(VirtualNetwork, self).__init__(**kwargs) + self.extended_location = kwargs.get('extended_location', None) + self.etag = None + self.address_space = kwargs.get('address_space', None) + self.dhcp_options = kwargs.get('dhcp_options', None) + self.flow_timeout_in_minutes = kwargs.get('flow_timeout_in_minutes', None) + self.subnets = kwargs.get('subnets', None) + self.virtual_network_peerings = kwargs.get('virtual_network_peerings', None) + self.resource_guid = None + self.provisioning_state = None + self.enable_ddos_protection = kwargs.get('enable_ddos_protection', False) + self.enable_vm_protection = kwargs.get('enable_vm_protection', False) + self.ddos_protection_plan = kwargs.get('ddos_protection_plan', None) + self.bgp_communities = kwargs.get('bgp_communities', None) + self.ip_allocations = kwargs.get('ip_allocations', None) + + +class VirtualNetworkBgpCommunities(msrest.serialization.Model): + """Bgp Communities sent over ExpressRoute with each route corresponding to a prefix in this VNET. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param virtual_network_community: Required. The BGP community associated with the virtual + network. + :type virtual_network_community: str + :ivar regional_community: The BGP community associated with the region of the virtual network. + :vartype regional_community: str + """ + + _validation = { + 'virtual_network_community': {'required': True}, + 'regional_community': {'readonly': True}, + } + + _attribute_map = { + 'virtual_network_community': {'key': 'virtualNetworkCommunity', 'type': 'str'}, + 'regional_community': {'key': 'regionalCommunity', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(VirtualNetworkBgpCommunities, self).__init__(**kwargs) + self.virtual_network_community = kwargs['virtual_network_community'] + self.regional_community = None + + +class VirtualNetworkConnectionGatewayReference(msrest.serialization.Model): + """A reference to VirtualNetworkGateway or LocalNetworkGateway resource. + + All required parameters must be populated in order to send to Azure. + + :param id: Required. The ID of VirtualNetworkGateway or LocalNetworkGateway resource. + :type id: str + """ + + _validation = { + 'id': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(VirtualNetworkConnectionGatewayReference, self).__init__(**kwargs) + self.id = kwargs['id'] + + +class VirtualNetworkGateway(Resource): + """A common class for general resource information. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :param extended_location: The extended location of type local virtual network gateway. + :type extended_location: ~azure.mgmt.network.v2021_02_01.models.ExtendedLocation + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param ip_configurations: IP configurations for virtual network gateway. + :type ip_configurations: + list[~azure.mgmt.network.v2021_02_01.models.VirtualNetworkGatewayIPConfiguration] + :param gateway_type: The type of this virtual network gateway. Possible values include: "Vpn", + "ExpressRoute", "LocalGateway". + :type gateway_type: str or ~azure.mgmt.network.v2021_02_01.models.VirtualNetworkGatewayType + :param vpn_type: The type of this virtual network gateway. Possible values include: + "PolicyBased", "RouteBased". + :type vpn_type: str or ~azure.mgmt.network.v2021_02_01.models.VpnType + :param vpn_gateway_generation: The generation for this VirtualNetworkGateway. Must be None if + gatewayType is not VPN. Possible values include: "None", "Generation1", "Generation2". + :type vpn_gateway_generation: str or + ~azure.mgmt.network.v2021_02_01.models.VpnGatewayGeneration + :param enable_bgp: Whether BGP is enabled for this virtual network gateway or not. + :type enable_bgp: bool + :param enable_private_ip_address: Whether private IP needs to be enabled on this gateway for + connections or not. + :type enable_private_ip_address: bool + :param active: ActiveActive flag. + :type active: bool + :param gateway_default_site: The reference to the LocalNetworkGateway resource which represents + local network site having default routes. Assign Null value in case of removing existing + default site setting. + :type gateway_default_site: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param sku: The reference to the VirtualNetworkGatewaySku resource which represents the SKU + selected for Virtual network gateway. + :type sku: ~azure.mgmt.network.v2021_02_01.models.VirtualNetworkGatewaySku + :param vpn_client_configuration: The reference to the VpnClientConfiguration resource which + represents the P2S VpnClient configurations. + :type vpn_client_configuration: ~azure.mgmt.network.v2021_02_01.models.VpnClientConfiguration + :param bgp_settings: Virtual network gateway's BGP speaker settings. + :type bgp_settings: ~azure.mgmt.network.v2021_02_01.models.BgpSettings + :param custom_routes: The reference to the address space resource which represents the custom + routes address space specified by the customer for virtual network gateway and VpnClient. + :type custom_routes: ~azure.mgmt.network.v2021_02_01.models.AddressSpace + :ivar resource_guid: The resource GUID property of the virtual network gateway resource. + :vartype resource_guid: str + :ivar provisioning_state: The provisioning state of the virtual network gateway resource. + Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :param enable_dns_forwarding: Whether dns forwarding is enabled or not. + :type enable_dns_forwarding: bool + :ivar inbound_dns_forwarding_endpoint: The IP address allocated by the gateway to which dns + requests can be sent. + :vartype inbound_dns_forwarding_endpoint: str + :param v_net_extended_location_resource_id: Customer vnet resource id. VirtualNetworkGateway of + type local gateway is associated with the customer vnet. + :type v_net_extended_location_resource_id: str + :param nat_rules: NatRules for virtual network gateway. + :type nat_rules: list[~azure.mgmt.network.v2021_02_01.models.VirtualNetworkGatewayNatRule] + :param enable_bgp_route_translation_for_nat: EnableBgpRouteTranslationForNat flag. + :type enable_bgp_route_translation_for_nat: bool + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'resource_guid': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'inbound_dns_forwarding_endpoint': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'extended_location': {'key': 'extendedLocation', 'type': 'ExtendedLocation'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'ip_configurations': {'key': 'properties.ipConfigurations', 'type': '[VirtualNetworkGatewayIPConfiguration]'}, + 'gateway_type': {'key': 'properties.gatewayType', 'type': 'str'}, + 'vpn_type': {'key': 'properties.vpnType', 'type': 'str'}, + 'vpn_gateway_generation': {'key': 'properties.vpnGatewayGeneration', 'type': 'str'}, + 'enable_bgp': {'key': 'properties.enableBgp', 'type': 'bool'}, + 'enable_private_ip_address': {'key': 'properties.enablePrivateIpAddress', 'type': 'bool'}, + 'active': {'key': 'properties.activeActive', 'type': 'bool'}, + 'gateway_default_site': {'key': 'properties.gatewayDefaultSite', 'type': 'SubResource'}, + 'sku': {'key': 'properties.sku', 'type': 'VirtualNetworkGatewaySku'}, + 'vpn_client_configuration': {'key': 'properties.vpnClientConfiguration', 'type': 'VpnClientConfiguration'}, + 'bgp_settings': {'key': 'properties.bgpSettings', 'type': 'BgpSettings'}, + 'custom_routes': {'key': 'properties.customRoutes', 'type': 'AddressSpace'}, + 'resource_guid': {'key': 'properties.resourceGuid', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'enable_dns_forwarding': {'key': 'properties.enableDnsForwarding', 'type': 'bool'}, + 'inbound_dns_forwarding_endpoint': {'key': 'properties.inboundDnsForwardingEndpoint', 'type': 'str'}, + 'v_net_extended_location_resource_id': {'key': 'properties.vNetExtendedLocationResourceId', 'type': 'str'}, + 'nat_rules': {'key': 'properties.natRules', 'type': '[VirtualNetworkGatewayNatRule]'}, + 'enable_bgp_route_translation_for_nat': {'key': 'properties.enableBgpRouteTranslationForNat', 'type': 'bool'}, + } + + def __init__( + self, + **kwargs + ): + super(VirtualNetworkGateway, self).__init__(**kwargs) + self.extended_location = kwargs.get('extended_location', None) + self.etag = None + self.ip_configurations = kwargs.get('ip_configurations', None) + self.gateway_type = kwargs.get('gateway_type', None) + self.vpn_type = kwargs.get('vpn_type', None) + self.vpn_gateway_generation = kwargs.get('vpn_gateway_generation', None) + self.enable_bgp = kwargs.get('enable_bgp', None) + self.enable_private_ip_address = kwargs.get('enable_private_ip_address', None) + self.active = kwargs.get('active', None) + self.gateway_default_site = kwargs.get('gateway_default_site', None) + self.sku = kwargs.get('sku', None) + self.vpn_client_configuration = kwargs.get('vpn_client_configuration', None) + self.bgp_settings = kwargs.get('bgp_settings', None) + self.custom_routes = kwargs.get('custom_routes', None) + self.resource_guid = None + self.provisioning_state = None + self.enable_dns_forwarding = kwargs.get('enable_dns_forwarding', None) + self.inbound_dns_forwarding_endpoint = None + self.v_net_extended_location_resource_id = kwargs.get('v_net_extended_location_resource_id', None) + self.nat_rules = kwargs.get('nat_rules', None) + self.enable_bgp_route_translation_for_nat = kwargs.get('enable_bgp_route_translation_for_nat', None) + + +class VirtualNetworkGatewayConnection(Resource): + """A common class for general resource information. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param authorization_key: The authorizationKey. + :type authorization_key: str + :param virtual_network_gateway1: Required. The reference to virtual network gateway resource. + :type virtual_network_gateway1: ~azure.mgmt.network.v2021_02_01.models.VirtualNetworkGateway + :param virtual_network_gateway2: The reference to virtual network gateway resource. + :type virtual_network_gateway2: ~azure.mgmt.network.v2021_02_01.models.VirtualNetworkGateway + :param local_network_gateway2: The reference to local network gateway resource. + :type local_network_gateway2: ~azure.mgmt.network.v2021_02_01.models.LocalNetworkGateway + :param ingress_nat_rules: List of ingress NatRules. + :type ingress_nat_rules: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + :param egress_nat_rules: List of egress NatRules. + :type egress_nat_rules: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + :param connection_type: Required. Gateway connection type. Possible values include: "IPsec", + "Vnet2Vnet", "ExpressRoute", "VPNClient". + :type connection_type: str or + ~azure.mgmt.network.v2021_02_01.models.VirtualNetworkGatewayConnectionType + :param connection_protocol: Connection protocol used for this connection. Possible values + include: "IKEv2", "IKEv1". + :type connection_protocol: str or + ~azure.mgmt.network.v2021_02_01.models.VirtualNetworkGatewayConnectionProtocol + :param routing_weight: The routing weight. + :type routing_weight: int + :param dpd_timeout_seconds: The dead peer detection timeout of this connection in seconds. + :type dpd_timeout_seconds: int + :param connection_mode: The connection mode for this connection. Possible values include: + "Default", "ResponderOnly", "InitiatorOnly". + :type connection_mode: str or + ~azure.mgmt.network.v2021_02_01.models.VirtualNetworkGatewayConnectionMode + :param shared_key: The IPSec shared key. + :type shared_key: str + :ivar connection_status: Virtual Network Gateway connection status. Possible values include: + "Unknown", "Connecting", "Connected", "NotConnected". + :vartype connection_status: str or + ~azure.mgmt.network.v2021_02_01.models.VirtualNetworkGatewayConnectionStatus + :ivar tunnel_connection_status: Collection of all tunnels' connection health status. + :vartype tunnel_connection_status: + list[~azure.mgmt.network.v2021_02_01.models.TunnelConnectionHealth] + :ivar egress_bytes_transferred: The egress bytes transferred in this connection. + :vartype egress_bytes_transferred: long + :ivar ingress_bytes_transferred: The ingress bytes transferred in this connection. + :vartype ingress_bytes_transferred: long + :param peer: The reference to peerings resource. + :type peer: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param enable_bgp: EnableBgp flag. + :type enable_bgp: bool + :param use_local_azure_ip_address: Use private local Azure IP for the connection. + :type use_local_azure_ip_address: bool + :param use_policy_based_traffic_selectors: Enable policy-based traffic selectors. + :type use_policy_based_traffic_selectors: bool + :param ipsec_policies: The IPSec Policies to be considered by this connection. + :type ipsec_policies: list[~azure.mgmt.network.v2021_02_01.models.IpsecPolicy] + :param traffic_selector_policies: The Traffic Selector Policies to be considered by this + connection. + :type traffic_selector_policies: + list[~azure.mgmt.network.v2021_02_01.models.TrafficSelectorPolicy] + :ivar resource_guid: The resource GUID property of the virtual network gateway connection + resource. + :vartype resource_guid: str + :ivar provisioning_state: The provisioning state of the virtual network gateway connection + resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :param express_route_gateway_bypass: Bypass ExpressRoute Gateway for data forwarding. + :type express_route_gateway_bypass: bool + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'virtual_network_gateway1': {'required': True}, + 'connection_type': {'required': True}, + 'connection_status': {'readonly': True}, + 'tunnel_connection_status': {'readonly': True}, + 'egress_bytes_transferred': {'readonly': True}, + 'ingress_bytes_transferred': {'readonly': True}, + 'resource_guid': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'authorization_key': {'key': 'properties.authorizationKey', 'type': 'str'}, + 'virtual_network_gateway1': {'key': 'properties.virtualNetworkGateway1', 'type': 'VirtualNetworkGateway'}, + 'virtual_network_gateway2': {'key': 'properties.virtualNetworkGateway2', 'type': 'VirtualNetworkGateway'}, + 'local_network_gateway2': {'key': 'properties.localNetworkGateway2', 'type': 'LocalNetworkGateway'}, + 'ingress_nat_rules': {'key': 'properties.ingressNatRules', 'type': '[SubResource]'}, + 'egress_nat_rules': {'key': 'properties.egressNatRules', 'type': '[SubResource]'}, + 'connection_type': {'key': 'properties.connectionType', 'type': 'str'}, + 'connection_protocol': {'key': 'properties.connectionProtocol', 'type': 'str'}, + 'routing_weight': {'key': 'properties.routingWeight', 'type': 'int'}, + 'dpd_timeout_seconds': {'key': 'properties.dpdTimeoutSeconds', 'type': 'int'}, + 'connection_mode': {'key': 'properties.connectionMode', 'type': 'str'}, + 'shared_key': {'key': 'properties.sharedKey', 'type': 'str'}, + 'connection_status': {'key': 'properties.connectionStatus', 'type': 'str'}, + 'tunnel_connection_status': {'key': 'properties.tunnelConnectionStatus', 'type': '[TunnelConnectionHealth]'}, + 'egress_bytes_transferred': {'key': 'properties.egressBytesTransferred', 'type': 'long'}, + 'ingress_bytes_transferred': {'key': 'properties.ingressBytesTransferred', 'type': 'long'}, + 'peer': {'key': 'properties.peer', 'type': 'SubResource'}, + 'enable_bgp': {'key': 'properties.enableBgp', 'type': 'bool'}, + 'use_local_azure_ip_address': {'key': 'properties.useLocalAzureIpAddress', 'type': 'bool'}, + 'use_policy_based_traffic_selectors': {'key': 'properties.usePolicyBasedTrafficSelectors', 'type': 'bool'}, + 'ipsec_policies': {'key': 'properties.ipsecPolicies', 'type': '[IpsecPolicy]'}, + 'traffic_selector_policies': {'key': 'properties.trafficSelectorPolicies', 'type': '[TrafficSelectorPolicy]'}, + 'resource_guid': {'key': 'properties.resourceGuid', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'express_route_gateway_bypass': {'key': 'properties.expressRouteGatewayBypass', 'type': 'bool'}, + } + + def __init__( + self, + **kwargs + ): + super(VirtualNetworkGatewayConnection, self).__init__(**kwargs) + self.etag = None + self.authorization_key = kwargs.get('authorization_key', None) + self.virtual_network_gateway1 = kwargs['virtual_network_gateway1'] + self.virtual_network_gateway2 = kwargs.get('virtual_network_gateway2', None) + self.local_network_gateway2 = kwargs.get('local_network_gateway2', None) + self.ingress_nat_rules = kwargs.get('ingress_nat_rules', None) + self.egress_nat_rules = kwargs.get('egress_nat_rules', None) + self.connection_type = kwargs['connection_type'] + self.connection_protocol = kwargs.get('connection_protocol', None) + self.routing_weight = kwargs.get('routing_weight', None) + self.dpd_timeout_seconds = kwargs.get('dpd_timeout_seconds', None) + self.connection_mode = kwargs.get('connection_mode', None) + self.shared_key = kwargs.get('shared_key', None) + self.connection_status = None + self.tunnel_connection_status = None + self.egress_bytes_transferred = None + self.ingress_bytes_transferred = None + self.peer = kwargs.get('peer', None) + self.enable_bgp = kwargs.get('enable_bgp', None) + self.use_local_azure_ip_address = kwargs.get('use_local_azure_ip_address', None) + self.use_policy_based_traffic_selectors = kwargs.get('use_policy_based_traffic_selectors', None) + self.ipsec_policies = kwargs.get('ipsec_policies', None) + self.traffic_selector_policies = kwargs.get('traffic_selector_policies', None) + self.resource_guid = None + self.provisioning_state = None + self.express_route_gateway_bypass = kwargs.get('express_route_gateway_bypass', None) + + +class VirtualNetworkGatewayConnectionListEntity(Resource): + """A common class for general resource information. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param authorization_key: The authorizationKey. + :type authorization_key: str + :param virtual_network_gateway1: Required. The reference to virtual network gateway resource. + :type virtual_network_gateway1: + ~azure.mgmt.network.v2021_02_01.models.VirtualNetworkConnectionGatewayReference + :param virtual_network_gateway2: The reference to virtual network gateway resource. + :type virtual_network_gateway2: + ~azure.mgmt.network.v2021_02_01.models.VirtualNetworkConnectionGatewayReference + :param local_network_gateway2: The reference to local network gateway resource. + :type local_network_gateway2: + ~azure.mgmt.network.v2021_02_01.models.VirtualNetworkConnectionGatewayReference + :param connection_type: Required. Gateway connection type. Possible values include: "IPsec", + "Vnet2Vnet", "ExpressRoute", "VPNClient". + :type connection_type: str or + ~azure.mgmt.network.v2021_02_01.models.VirtualNetworkGatewayConnectionType + :param connection_protocol: Connection protocol used for this connection. Possible values + include: "IKEv2", "IKEv1". + :type connection_protocol: str or + ~azure.mgmt.network.v2021_02_01.models.VirtualNetworkGatewayConnectionProtocol + :param routing_weight: The routing weight. + :type routing_weight: int + :param connection_mode: The connection mode for this connection. Possible values include: + "Default", "ResponderOnly", "InitiatorOnly". + :type connection_mode: str or + ~azure.mgmt.network.v2021_02_01.models.VirtualNetworkGatewayConnectionMode + :param shared_key: The IPSec shared key. + :type shared_key: str + :ivar connection_status: Virtual Network Gateway connection status. Possible values include: + "Unknown", "Connecting", "Connected", "NotConnected". + :vartype connection_status: str or + ~azure.mgmt.network.v2021_02_01.models.VirtualNetworkGatewayConnectionStatus + :ivar tunnel_connection_status: Collection of all tunnels' connection health status. + :vartype tunnel_connection_status: + list[~azure.mgmt.network.v2021_02_01.models.TunnelConnectionHealth] + :ivar egress_bytes_transferred: The egress bytes transferred in this connection. + :vartype egress_bytes_transferred: long + :ivar ingress_bytes_transferred: The ingress bytes transferred in this connection. + :vartype ingress_bytes_transferred: long + :param peer: The reference to peerings resource. + :type peer: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param enable_bgp: EnableBgp flag. + :type enable_bgp: bool + :param use_policy_based_traffic_selectors: Enable policy-based traffic selectors. + :type use_policy_based_traffic_selectors: bool + :param ipsec_policies: The IPSec Policies to be considered by this connection. + :type ipsec_policies: list[~azure.mgmt.network.v2021_02_01.models.IpsecPolicy] + :param traffic_selector_policies: The Traffic Selector Policies to be considered by this + connection. + :type traffic_selector_policies: + list[~azure.mgmt.network.v2021_02_01.models.TrafficSelectorPolicy] + :ivar resource_guid: The resource GUID property of the virtual network gateway connection + resource. + :vartype resource_guid: str + :ivar provisioning_state: The provisioning state of the virtual network gateway connection + resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :param express_route_gateway_bypass: Bypass ExpressRoute Gateway for data forwarding. + :type express_route_gateway_bypass: bool + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'virtual_network_gateway1': {'required': True}, + 'connection_type': {'required': True}, + 'connection_status': {'readonly': True}, + 'tunnel_connection_status': {'readonly': True}, + 'egress_bytes_transferred': {'readonly': True}, + 'ingress_bytes_transferred': {'readonly': True}, + 'resource_guid': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'authorization_key': {'key': 'properties.authorizationKey', 'type': 'str'}, + 'virtual_network_gateway1': {'key': 'properties.virtualNetworkGateway1', 'type': 'VirtualNetworkConnectionGatewayReference'}, + 'virtual_network_gateway2': {'key': 'properties.virtualNetworkGateway2', 'type': 'VirtualNetworkConnectionGatewayReference'}, + 'local_network_gateway2': {'key': 'properties.localNetworkGateway2', 'type': 'VirtualNetworkConnectionGatewayReference'}, + 'connection_type': {'key': 'properties.connectionType', 'type': 'str'}, + 'connection_protocol': {'key': 'properties.connectionProtocol', 'type': 'str'}, + 'routing_weight': {'key': 'properties.routingWeight', 'type': 'int'}, + 'connection_mode': {'key': 'properties.connectionMode', 'type': 'str'}, + 'shared_key': {'key': 'properties.sharedKey', 'type': 'str'}, + 'connection_status': {'key': 'properties.connectionStatus', 'type': 'str'}, + 'tunnel_connection_status': {'key': 'properties.tunnelConnectionStatus', 'type': '[TunnelConnectionHealth]'}, + 'egress_bytes_transferred': {'key': 'properties.egressBytesTransferred', 'type': 'long'}, + 'ingress_bytes_transferred': {'key': 'properties.ingressBytesTransferred', 'type': 'long'}, + 'peer': {'key': 'properties.peer', 'type': 'SubResource'}, + 'enable_bgp': {'key': 'properties.enableBgp', 'type': 'bool'}, + 'use_policy_based_traffic_selectors': {'key': 'properties.usePolicyBasedTrafficSelectors', 'type': 'bool'}, + 'ipsec_policies': {'key': 'properties.ipsecPolicies', 'type': '[IpsecPolicy]'}, + 'traffic_selector_policies': {'key': 'properties.trafficSelectorPolicies', 'type': '[TrafficSelectorPolicy]'}, + 'resource_guid': {'key': 'properties.resourceGuid', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'express_route_gateway_bypass': {'key': 'properties.expressRouteGatewayBypass', 'type': 'bool'}, + } + + def __init__( + self, + **kwargs + ): + super(VirtualNetworkGatewayConnectionListEntity, self).__init__(**kwargs) + self.etag = None + self.authorization_key = kwargs.get('authorization_key', None) + self.virtual_network_gateway1 = kwargs['virtual_network_gateway1'] + self.virtual_network_gateway2 = kwargs.get('virtual_network_gateway2', None) + self.local_network_gateway2 = kwargs.get('local_network_gateway2', None) + self.connection_type = kwargs['connection_type'] + self.connection_protocol = kwargs.get('connection_protocol', None) + self.routing_weight = kwargs.get('routing_weight', None) + self.connection_mode = kwargs.get('connection_mode', None) + self.shared_key = kwargs.get('shared_key', None) + self.connection_status = None + self.tunnel_connection_status = None + self.egress_bytes_transferred = None + self.ingress_bytes_transferred = None + self.peer = kwargs.get('peer', None) + self.enable_bgp = kwargs.get('enable_bgp', None) + self.use_policy_based_traffic_selectors = kwargs.get('use_policy_based_traffic_selectors', None) + self.ipsec_policies = kwargs.get('ipsec_policies', None) + self.traffic_selector_policies = kwargs.get('traffic_selector_policies', None) + self.resource_guid = None + self.provisioning_state = None + self.express_route_gateway_bypass = kwargs.get('express_route_gateway_bypass', None) + + +class VirtualNetworkGatewayConnectionListResult(msrest.serialization.Model): + """Response for the ListVirtualNetworkGatewayConnections API service call. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: A list of VirtualNetworkGatewayConnection resources that exists in a resource + group. + :type value: list[~azure.mgmt.network.v2021_02_01.models.VirtualNetworkGatewayConnection] + :ivar next_link: The URL to get the next set of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[VirtualNetworkGatewayConnection]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(VirtualNetworkGatewayConnectionListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = None + + +class VirtualNetworkGatewayIPConfiguration(SubResource): + """IP configuration for virtual network gateway. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: The name of the resource that is unique within a resource group. This name can be + used to access the resource. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param private_ip_allocation_method: The private IP address allocation method. Possible values + include: "Static", "Dynamic". + :type private_ip_allocation_method: str or + ~azure.mgmt.network.v2021_02_01.models.IPAllocationMethod + :param subnet: The reference to the subnet resource. + :type subnet: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param public_ip_address: The reference to the public IP resource. + :type public_ip_address: ~azure.mgmt.network.v2021_02_01.models.SubResource + :ivar private_ip_address: Private IP Address for this gateway. + :vartype private_ip_address: str + :ivar provisioning_state: The provisioning state of the virtual network gateway IP + configuration resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'private_ip_address': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'private_ip_allocation_method': {'key': 'properties.privateIPAllocationMethod', 'type': 'str'}, + 'subnet': {'key': 'properties.subnet', 'type': 'SubResource'}, + 'public_ip_address': {'key': 'properties.publicIPAddress', 'type': 'SubResource'}, + 'private_ip_address': {'key': 'properties.privateIPAddress', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(VirtualNetworkGatewayIPConfiguration, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.etag = None + self.private_ip_allocation_method = kwargs.get('private_ip_allocation_method', None) + self.subnet = kwargs.get('subnet', None) + self.public_ip_address = kwargs.get('public_ip_address', None) + self.private_ip_address = None + self.provisioning_state = None + + +class VirtualNetworkGatewayListConnectionsResult(msrest.serialization.Model): + """Response for the VirtualNetworkGatewayListConnections API service call. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: A list of VirtualNetworkGatewayConnection resources that exists in a resource + group. + :type value: + list[~azure.mgmt.network.v2021_02_01.models.VirtualNetworkGatewayConnectionListEntity] + :ivar next_link: The URL to get the next set of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[VirtualNetworkGatewayConnectionListEntity]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(VirtualNetworkGatewayListConnectionsResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = None + + +class VirtualNetworkGatewayListResult(msrest.serialization.Model): + """Response for the ListVirtualNetworkGateways API service call. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: A list of VirtualNetworkGateway resources that exists in a resource group. + :type value: list[~azure.mgmt.network.v2021_02_01.models.VirtualNetworkGateway] + :ivar next_link: The URL to get the next set of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[VirtualNetworkGateway]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(VirtualNetworkGatewayListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = None + + +class VirtualNetworkGatewayNatRule(SubResource): + """VirtualNetworkGatewayNatRule Resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: The name of the resource that is unique within a resource group. This name can be + used to access the resource. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Resource type. + :vartype type: str + :ivar provisioning_state: The provisioning state of the NAT Rule resource. Possible values + include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :param type_properties_type: The type of NAT rule for VPN NAT. Possible values include: + "Static", "Dynamic". + :type type_properties_type: str or ~azure.mgmt.network.v2021_02_01.models.VpnNatRuleType + :param mode: The Source NAT direction of a VPN NAT. Possible values include: "EgressSnat", + "IngressSnat". + :type mode: str or ~azure.mgmt.network.v2021_02_01.models.VpnNatRuleMode + :param internal_mappings: The private IP address internal mapping for NAT. + :type internal_mappings: list[~azure.mgmt.network.v2021_02_01.models.VpnNatRuleMapping] + :param external_mappings: The private IP address external mapping for NAT. + :type external_mappings: list[~azure.mgmt.network.v2021_02_01.models.VpnNatRuleMapping] + :param ip_configuration_id: The IP Configuration ID this NAT rule applies to. + :type ip_configuration_id: str + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'type_properties_type': {'key': 'properties.type', 'type': 'str'}, + 'mode': {'key': 'properties.mode', 'type': 'str'}, + 'internal_mappings': {'key': 'properties.internalMappings', 'type': '[VpnNatRuleMapping]'}, + 'external_mappings': {'key': 'properties.externalMappings', 'type': '[VpnNatRuleMapping]'}, + 'ip_configuration_id': {'key': 'properties.ipConfigurationId', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(VirtualNetworkGatewayNatRule, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.etag = None + self.type = None + self.provisioning_state = None + self.type_properties_type = kwargs.get('type_properties_type', None) + self.mode = kwargs.get('mode', None) + self.internal_mappings = kwargs.get('internal_mappings', None) + self.external_mappings = kwargs.get('external_mappings', None) + self.ip_configuration_id = kwargs.get('ip_configuration_id', None) + + +class VirtualNetworkGatewaySku(msrest.serialization.Model): + """VirtualNetworkGatewaySku details. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param name: Gateway SKU name. Possible values include: "Basic", "HighPerformance", "Standard", + "UltraPerformance", "VpnGw1", "VpnGw2", "VpnGw3", "VpnGw4", "VpnGw5", "VpnGw1AZ", "VpnGw2AZ", + "VpnGw3AZ", "VpnGw4AZ", "VpnGw5AZ", "ErGw1AZ", "ErGw2AZ", "ErGw3AZ". + :type name: str or ~azure.mgmt.network.v2021_02_01.models.VirtualNetworkGatewaySkuName + :param tier: Gateway SKU tier. Possible values include: "Basic", "HighPerformance", "Standard", + "UltraPerformance", "VpnGw1", "VpnGw2", "VpnGw3", "VpnGw4", "VpnGw5", "VpnGw1AZ", "VpnGw2AZ", + "VpnGw3AZ", "VpnGw4AZ", "VpnGw5AZ", "ErGw1AZ", "ErGw2AZ", "ErGw3AZ". + :type tier: str or ~azure.mgmt.network.v2021_02_01.models.VirtualNetworkGatewaySkuTier + :ivar capacity: The capacity. + :vartype capacity: int + """ + + _validation = { + 'capacity': {'readonly': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'tier': {'key': 'tier', 'type': 'str'}, + 'capacity': {'key': 'capacity', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(VirtualNetworkGatewaySku, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.tier = kwargs.get('tier', None) + self.capacity = None + + +class VirtualNetworkListResult(msrest.serialization.Model): + """Response for the ListVirtualNetworks API service call. + + :param value: A list of VirtualNetwork resources in a resource group. + :type value: list[~azure.mgmt.network.v2021_02_01.models.VirtualNetwork] + :param next_link: The URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[VirtualNetwork]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(VirtualNetworkListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = kwargs.get('next_link', None) + + +class VirtualNetworkListUsageResult(msrest.serialization.Model): + """Response for the virtual networks GetUsage API service call. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: VirtualNetwork usage stats. + :vartype value: list[~azure.mgmt.network.v2021_02_01.models.VirtualNetworkUsage] + :param next_link: The URL to get the next set of results. + :type next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[VirtualNetworkUsage]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(VirtualNetworkListUsageResult, self).__init__(**kwargs) + self.value = None + self.next_link = kwargs.get('next_link', None) + + +class VirtualNetworkPeering(SubResource): + """Peerings in a virtual network resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: The name of the resource that is unique within a resource group. This name can be + used to access the resource. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param type: Resource type. + :type type: str + :param allow_virtual_network_access: Whether the VMs in the local virtual network space would + be able to access the VMs in remote virtual network space. + :type allow_virtual_network_access: bool + :param allow_forwarded_traffic: Whether the forwarded traffic from the VMs in the local virtual + network will be allowed/disallowed in remote virtual network. + :type allow_forwarded_traffic: bool + :param allow_gateway_transit: If gateway links can be used in remote virtual networking to link + to this virtual network. + :type allow_gateway_transit: bool + :param use_remote_gateways: If remote gateways can be used on this virtual network. If the flag + is set to true, and allowGatewayTransit on remote peering is also true, virtual network will + use gateways of remote virtual network for transit. Only one peering can have this flag set to + true. This flag cannot be set if virtual network already has a gateway. + :type use_remote_gateways: bool + :param remote_virtual_network: The reference to the remote virtual network. The remote virtual + network can be in the same or different region (preview). See here to register for the preview + and learn more + (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering). + :type remote_virtual_network: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param remote_address_space: The reference to the address space peered with the remote virtual + network. + :type remote_address_space: ~azure.mgmt.network.v2021_02_01.models.AddressSpace + :param remote_virtual_network_address_space: The reference to the current address space of the + remote virtual network. + :type remote_virtual_network_address_space: ~azure.mgmt.network.v2021_02_01.models.AddressSpace + :param remote_bgp_communities: The reference to the remote virtual network's Bgp Communities. + :type remote_bgp_communities: + ~azure.mgmt.network.v2021_02_01.models.VirtualNetworkBgpCommunities + :param peering_state: The status of the virtual network peering. Possible values include: + "Initiated", "Connected", "Disconnected". + :type peering_state: str or ~azure.mgmt.network.v2021_02_01.models.VirtualNetworkPeeringState + :param peering_sync_level: The peering sync status of the virtual network peering. Possible + values include: "FullyInSync", "RemoteNotInSync", "LocalNotInSync", "LocalAndRemoteNotInSync". + :type peering_sync_level: str or + ~azure.mgmt.network.v2021_02_01.models.VirtualNetworkPeeringLevel + :ivar provisioning_state: The provisioning state of the virtual network peering resource. + Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :param do_not_verify_remote_gateways: If we need to verify the provisioning state of the remote + gateway. + :type do_not_verify_remote_gateways: bool + :ivar resource_guid: The resourceGuid property of the Virtual Network peering resource. + :vartype resource_guid: str + """ + + _validation = { + 'etag': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'resource_guid': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'allow_virtual_network_access': {'key': 'properties.allowVirtualNetworkAccess', 'type': 'bool'}, + 'allow_forwarded_traffic': {'key': 'properties.allowForwardedTraffic', 'type': 'bool'}, + 'allow_gateway_transit': {'key': 'properties.allowGatewayTransit', 'type': 'bool'}, + 'use_remote_gateways': {'key': 'properties.useRemoteGateways', 'type': 'bool'}, + 'remote_virtual_network': {'key': 'properties.remoteVirtualNetwork', 'type': 'SubResource'}, + 'remote_address_space': {'key': 'properties.remoteAddressSpace', 'type': 'AddressSpace'}, + 'remote_virtual_network_address_space': {'key': 'properties.remoteVirtualNetworkAddressSpace', 'type': 'AddressSpace'}, + 'remote_bgp_communities': {'key': 'properties.remoteBgpCommunities', 'type': 'VirtualNetworkBgpCommunities'}, + 'peering_state': {'key': 'properties.peeringState', 'type': 'str'}, + 'peering_sync_level': {'key': 'properties.peeringSyncLevel', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'do_not_verify_remote_gateways': {'key': 'properties.doNotVerifyRemoteGateways', 'type': 'bool'}, + 'resource_guid': {'key': 'properties.resourceGuid', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(VirtualNetworkPeering, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.etag = None + self.type = kwargs.get('type', None) + self.allow_virtual_network_access = kwargs.get('allow_virtual_network_access', None) + self.allow_forwarded_traffic = kwargs.get('allow_forwarded_traffic', None) + self.allow_gateway_transit = kwargs.get('allow_gateway_transit', None) + self.use_remote_gateways = kwargs.get('use_remote_gateways', None) + self.remote_virtual_network = kwargs.get('remote_virtual_network', None) + self.remote_address_space = kwargs.get('remote_address_space', None) + self.remote_virtual_network_address_space = kwargs.get('remote_virtual_network_address_space', None) + self.remote_bgp_communities = kwargs.get('remote_bgp_communities', None) + self.peering_state = kwargs.get('peering_state', None) + self.peering_sync_level = kwargs.get('peering_sync_level', None) + self.provisioning_state = None + self.do_not_verify_remote_gateways = kwargs.get('do_not_verify_remote_gateways', None) + self.resource_guid = None + + +class VirtualNetworkPeeringListResult(msrest.serialization.Model): + """Response for ListSubnets API service call. Retrieves all subnets that belong to a virtual network. + + :param value: The peerings in a virtual network. + :type value: list[~azure.mgmt.network.v2021_02_01.models.VirtualNetworkPeering] + :param next_link: The URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[VirtualNetworkPeering]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(VirtualNetworkPeeringListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = kwargs.get('next_link', None) + + +class VirtualNetworkTap(Resource): + """Virtual Network Tap resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar network_interface_tap_configurations: Specifies the list of resource IDs for the network + interface IP configuration that needs to be tapped. + :vartype network_interface_tap_configurations: + list[~azure.mgmt.network.v2021_02_01.models.NetworkInterfaceTapConfiguration] + :ivar resource_guid: The resource GUID property of the virtual network tap resource. + :vartype resource_guid: str + :ivar provisioning_state: The provisioning state of the virtual network tap resource. Possible + values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :param destination_network_interface_ip_configuration: The reference to the private IP Address + of the collector nic that will receive the tap. + :type destination_network_interface_ip_configuration: + ~azure.mgmt.network.v2021_02_01.models.NetworkInterfaceIPConfiguration + :param destination_load_balancer_front_end_ip_configuration: The reference to the private IP + address on the internal Load Balancer that will receive the tap. + :type destination_load_balancer_front_end_ip_configuration: + ~azure.mgmt.network.v2021_02_01.models.FrontendIPConfiguration + :param destination_port: The VXLAN destination port that will receive the tapped traffic. + :type destination_port: int + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'network_interface_tap_configurations': {'readonly': True}, + 'resource_guid': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'network_interface_tap_configurations': {'key': 'properties.networkInterfaceTapConfigurations', 'type': '[NetworkInterfaceTapConfiguration]'}, + 'resource_guid': {'key': 'properties.resourceGuid', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'destination_network_interface_ip_configuration': {'key': 'properties.destinationNetworkInterfaceIPConfiguration', 'type': 'NetworkInterfaceIPConfiguration'}, + 'destination_load_balancer_front_end_ip_configuration': {'key': 'properties.destinationLoadBalancerFrontEndIPConfiguration', 'type': 'FrontendIPConfiguration'}, + 'destination_port': {'key': 'properties.destinationPort', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(VirtualNetworkTap, self).__init__(**kwargs) + self.etag = None + self.network_interface_tap_configurations = None + self.resource_guid = None + self.provisioning_state = None + self.destination_network_interface_ip_configuration = kwargs.get('destination_network_interface_ip_configuration', None) + self.destination_load_balancer_front_end_ip_configuration = kwargs.get('destination_load_balancer_front_end_ip_configuration', None) + self.destination_port = kwargs.get('destination_port', None) + + +class VirtualNetworkTapListResult(msrest.serialization.Model): + """Response for ListVirtualNetworkTap API service call. + + :param value: A list of VirtualNetworkTaps in a resource group. + :type value: list[~azure.mgmt.network.v2021_02_01.models.VirtualNetworkTap] + :param next_link: The URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[VirtualNetworkTap]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(VirtualNetworkTapListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = kwargs.get('next_link', None) + + +class VirtualNetworkUsage(msrest.serialization.Model): + """Usage details for subnet. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar current_value: Indicates number of IPs used from the Subnet. + :vartype current_value: float + :ivar id: Subnet identifier. + :vartype id: str + :ivar limit: Indicates the size of the subnet. + :vartype limit: float + :ivar name: The name containing common and localized value for usage. + :vartype name: ~azure.mgmt.network.v2021_02_01.models.VirtualNetworkUsageName + :ivar unit: Usage units. Returns 'Count'. + :vartype unit: str + """ + + _validation = { + 'current_value': {'readonly': True}, + 'id': {'readonly': True}, + 'limit': {'readonly': True}, + 'name': {'readonly': True}, + 'unit': {'readonly': True}, + } + + _attribute_map = { + 'current_value': {'key': 'currentValue', 'type': 'float'}, + 'id': {'key': 'id', 'type': 'str'}, + 'limit': {'key': 'limit', 'type': 'float'}, + 'name': {'key': 'name', 'type': 'VirtualNetworkUsageName'}, + 'unit': {'key': 'unit', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(VirtualNetworkUsage, self).__init__(**kwargs) + self.current_value = None + self.id = None + self.limit = None + self.name = None + self.unit = None + + +class VirtualNetworkUsageName(msrest.serialization.Model): + """Usage strings container. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar localized_value: Localized subnet size and usage string. + :vartype localized_value: str + :ivar value: Subnet size and usage string. + :vartype value: str + """ + + _validation = { + 'localized_value': {'readonly': True}, + 'value': {'readonly': True}, + } + + _attribute_map = { + 'localized_value': {'key': 'localizedValue', 'type': 'str'}, + 'value': {'key': 'value', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(VirtualNetworkUsageName, self).__init__(**kwargs) + self.localized_value = None + self.value = None + + +class VirtualRouter(Resource): + """VirtualRouter Resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param virtual_router_asn: VirtualRouter ASN. + :type virtual_router_asn: long + :param virtual_router_ips: VirtualRouter IPs. + :type virtual_router_ips: list[str] + :param hosted_subnet: The Subnet on which VirtualRouter is hosted. + :type hosted_subnet: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param hosted_gateway: The Gateway on which VirtualRouter is hosted. + :type hosted_gateway: ~azure.mgmt.network.v2021_02_01.models.SubResource + :ivar peerings: List of references to VirtualRouterPeerings. + :vartype peerings: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + :ivar provisioning_state: The provisioning state of the resource. Possible values include: + "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'virtual_router_asn': {'maximum': 4294967295, 'minimum': 0}, + 'peerings': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'virtual_router_asn': {'key': 'properties.virtualRouterAsn', 'type': 'long'}, + 'virtual_router_ips': {'key': 'properties.virtualRouterIps', 'type': '[str]'}, + 'hosted_subnet': {'key': 'properties.hostedSubnet', 'type': 'SubResource'}, + 'hosted_gateway': {'key': 'properties.hostedGateway', 'type': 'SubResource'}, + 'peerings': {'key': 'properties.peerings', 'type': '[SubResource]'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(VirtualRouter, self).__init__(**kwargs) + self.etag = None + self.virtual_router_asn = kwargs.get('virtual_router_asn', None) + self.virtual_router_ips = kwargs.get('virtual_router_ips', None) + self.hosted_subnet = kwargs.get('hosted_subnet', None) + self.hosted_gateway = kwargs.get('hosted_gateway', None) + self.peerings = None + self.provisioning_state = None + + +class VirtualRouterListResult(msrest.serialization.Model): + """Response for ListVirtualRouters API service call. + + :param value: List of Virtual Routers. + :type value: list[~azure.mgmt.network.v2021_02_01.models.VirtualRouter] + :param next_link: URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[VirtualRouter]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(VirtualRouterListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = kwargs.get('next_link', None) + + +class VirtualRouterPeering(SubResource): + """Virtual Router Peering resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: Name of the virtual router peering that is unique within a virtual router. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Peering type. + :vartype type: str + :param peer_asn: Peer ASN. + :type peer_asn: long + :param peer_ip: Peer IP. + :type peer_ip: str + :ivar provisioning_state: The provisioning state of the resource. Possible values include: + "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'peer_asn': {'maximum': 4294967295, 'minimum': 0}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'peer_asn': {'key': 'properties.peerAsn', 'type': 'long'}, + 'peer_ip': {'key': 'properties.peerIp', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(VirtualRouterPeering, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.etag = None + self.type = None + self.peer_asn = kwargs.get('peer_asn', None) + self.peer_ip = kwargs.get('peer_ip', None) + self.provisioning_state = None + + +class VirtualRouterPeeringListResult(msrest.serialization.Model): + """Response for ListVirtualRouterPeerings API service call. + + :param value: List of VirtualRouterPeerings in a VirtualRouter. + :type value: list[~azure.mgmt.network.v2021_02_01.models.VirtualRouterPeering] + :param next_link: URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[VirtualRouterPeering]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(VirtualRouterPeeringListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = kwargs.get('next_link', None) + + +class VirtualWAN(Resource): + """VirtualWAN Resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param disable_vpn_encryption: Vpn encryption to be disabled or not. + :type disable_vpn_encryption: bool + :ivar virtual_hubs: List of VirtualHubs in the VirtualWAN. + :vartype virtual_hubs: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + :ivar vpn_sites: List of VpnSites in the VirtualWAN. + :vartype vpn_sites: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + :param allow_branch_to_branch_traffic: True if branch to branch traffic is allowed. + :type allow_branch_to_branch_traffic: bool + :param allow_vnet_to_vnet_traffic: True if Vnet to Vnet traffic is allowed. + :type allow_vnet_to_vnet_traffic: bool + :ivar office365_local_breakout_category: The office local breakout category. Possible values + include: "Optimize", "OptimizeAndAllow", "All", "None". + :vartype office365_local_breakout_category: str or + ~azure.mgmt.network.v2021_02_01.models.OfficeTrafficCategory + :ivar provisioning_state: The provisioning state of the virtual WAN resource. Possible values + include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :param type_properties_type: The type of the VirtualWAN. + :type type_properties_type: str + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'virtual_hubs': {'readonly': True}, + 'vpn_sites': {'readonly': True}, + 'office365_local_breakout_category': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'disable_vpn_encryption': {'key': 'properties.disableVpnEncryption', 'type': 'bool'}, + 'virtual_hubs': {'key': 'properties.virtualHubs', 'type': '[SubResource]'}, + 'vpn_sites': {'key': 'properties.vpnSites', 'type': '[SubResource]'}, + 'allow_branch_to_branch_traffic': {'key': 'properties.allowBranchToBranchTraffic', 'type': 'bool'}, + 'allow_vnet_to_vnet_traffic': {'key': 'properties.allowVnetToVnetTraffic', 'type': 'bool'}, + 'office365_local_breakout_category': {'key': 'properties.office365LocalBreakoutCategory', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'type_properties_type': {'key': 'properties.type', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(VirtualWAN, self).__init__(**kwargs) + self.etag = None + self.disable_vpn_encryption = kwargs.get('disable_vpn_encryption', None) + self.virtual_hubs = None + self.vpn_sites = None + self.allow_branch_to_branch_traffic = kwargs.get('allow_branch_to_branch_traffic', None) + self.allow_vnet_to_vnet_traffic = kwargs.get('allow_vnet_to_vnet_traffic', None) + self.office365_local_breakout_category = None + self.provisioning_state = None + self.type_properties_type = kwargs.get('type_properties_type', None) + + +class VirtualWanSecurityProvider(msrest.serialization.Model): + """Collection of SecurityProviders. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param name: Name of the security provider. + :type name: str + :param url: Url of the security provider. + :type url: str + :ivar type: Name of the security provider. Possible values include: "External", "Native". + :vartype type: str or ~azure.mgmt.network.v2021_02_01.models.VirtualWanSecurityProviderType + """ + + _validation = { + 'type': {'readonly': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'url': {'key': 'url', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(VirtualWanSecurityProvider, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.url = kwargs.get('url', None) + self.type = None + + +class VirtualWanSecurityProviders(msrest.serialization.Model): + """Collection of SecurityProviders. + + :param supported_providers: List of VirtualWAN security providers. + :type supported_providers: + list[~azure.mgmt.network.v2021_02_01.models.VirtualWanSecurityProvider] + """ + + _attribute_map = { + 'supported_providers': {'key': 'supportedProviders', 'type': '[VirtualWanSecurityProvider]'}, + } + + def __init__( + self, + **kwargs + ): + super(VirtualWanSecurityProviders, self).__init__(**kwargs) + self.supported_providers = kwargs.get('supported_providers', None) + + +class VirtualWanVpnProfileParameters(msrest.serialization.Model): + """Virtual Wan Vpn profile parameters Vpn profile generation. + + :param vpn_server_configuration_resource_id: VpnServerConfiguration partial resource uri with + which VirtualWan is associated to. + :type vpn_server_configuration_resource_id: str + :param authentication_method: VPN client authentication method. Possible values include: + "EAPTLS", "EAPMSCHAPv2". + :type authentication_method: str or ~azure.mgmt.network.v2021_02_01.models.AuthenticationMethod + """ + + _attribute_map = { + 'vpn_server_configuration_resource_id': {'key': 'vpnServerConfigurationResourceId', 'type': 'str'}, + 'authentication_method': {'key': 'authenticationMethod', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(VirtualWanVpnProfileParameters, self).__init__(**kwargs) + self.vpn_server_configuration_resource_id = kwargs.get('vpn_server_configuration_resource_id', None) + self.authentication_method = kwargs.get('authentication_method', None) + + +class VM(Resource): + """Describes a Virtual Machine. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + } + + def __init__( + self, + **kwargs + ): + super(VM, self).__init__(**kwargs) + + +class VnetRoute(msrest.serialization.Model): + """List of routes that control routing from VirtualHub into a virtual network connection. + + :param static_routes: List of all Static Routes. + :type static_routes: list[~azure.mgmt.network.v2021_02_01.models.StaticRoute] + """ + + _attribute_map = { + 'static_routes': {'key': 'staticRoutes', 'type': '[StaticRoute]'}, + } + + def __init__( + self, + **kwargs + ): + super(VnetRoute, self).__init__(**kwargs) + self.static_routes = kwargs.get('static_routes', None) + + +class VpnClientConfiguration(msrest.serialization.Model): + """VpnClientConfiguration for P2S client. + + :param vpn_client_address_pool: The reference to the address space resource which represents + Address space for P2S VpnClient. + :type vpn_client_address_pool: ~azure.mgmt.network.v2021_02_01.models.AddressSpace + :param vpn_client_root_certificates: VpnClientRootCertificate for virtual network gateway. + :type vpn_client_root_certificates: + list[~azure.mgmt.network.v2021_02_01.models.VpnClientRootCertificate] + :param vpn_client_revoked_certificates: VpnClientRevokedCertificate for Virtual network + gateway. + :type vpn_client_revoked_certificates: + list[~azure.mgmt.network.v2021_02_01.models.VpnClientRevokedCertificate] + :param vpn_client_protocols: VpnClientProtocols for Virtual network gateway. + :type vpn_client_protocols: list[str or + ~azure.mgmt.network.v2021_02_01.models.VpnClientProtocol] + :param vpn_authentication_types: VPN authentication types for the virtual network gateway.. + :type vpn_authentication_types: list[str or + ~azure.mgmt.network.v2021_02_01.models.VpnAuthenticationType] + :param vpn_client_ipsec_policies: VpnClientIpsecPolicies for virtual network gateway P2S + client. + :type vpn_client_ipsec_policies: list[~azure.mgmt.network.v2021_02_01.models.IpsecPolicy] + :param radius_server_address: The radius server address property of the VirtualNetworkGateway + resource for vpn client connection. + :type radius_server_address: str + :param radius_server_secret: The radius secret property of the VirtualNetworkGateway resource + for vpn client connection. + :type radius_server_secret: str + :param radius_servers: The radiusServers property for multiple radius server configuration. + :type radius_servers: list[~azure.mgmt.network.v2021_02_01.models.RadiusServer] + :param aad_tenant: The AADTenant property of the VirtualNetworkGateway resource for vpn client + connection used for AAD authentication. + :type aad_tenant: str + :param aad_audience: The AADAudience property of the VirtualNetworkGateway resource for vpn + client connection used for AAD authentication. + :type aad_audience: str + :param aad_issuer: The AADIssuer property of the VirtualNetworkGateway resource for vpn client + connection used for AAD authentication. + :type aad_issuer: str + """ + + _attribute_map = { + 'vpn_client_address_pool': {'key': 'vpnClientAddressPool', 'type': 'AddressSpace'}, + 'vpn_client_root_certificates': {'key': 'vpnClientRootCertificates', 'type': '[VpnClientRootCertificate]'}, + 'vpn_client_revoked_certificates': {'key': 'vpnClientRevokedCertificates', 'type': '[VpnClientRevokedCertificate]'}, + 'vpn_client_protocols': {'key': 'vpnClientProtocols', 'type': '[str]'}, + 'vpn_authentication_types': {'key': 'vpnAuthenticationTypes', 'type': '[str]'}, + 'vpn_client_ipsec_policies': {'key': 'vpnClientIpsecPolicies', 'type': '[IpsecPolicy]'}, + 'radius_server_address': {'key': 'radiusServerAddress', 'type': 'str'}, + 'radius_server_secret': {'key': 'radiusServerSecret', 'type': 'str'}, + 'radius_servers': {'key': 'radiusServers', 'type': '[RadiusServer]'}, + 'aad_tenant': {'key': 'aadTenant', 'type': 'str'}, + 'aad_audience': {'key': 'aadAudience', 'type': 'str'}, + 'aad_issuer': {'key': 'aadIssuer', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(VpnClientConfiguration, self).__init__(**kwargs) + self.vpn_client_address_pool = kwargs.get('vpn_client_address_pool', None) + self.vpn_client_root_certificates = kwargs.get('vpn_client_root_certificates', None) + self.vpn_client_revoked_certificates = kwargs.get('vpn_client_revoked_certificates', None) + self.vpn_client_protocols = kwargs.get('vpn_client_protocols', None) + self.vpn_authentication_types = kwargs.get('vpn_authentication_types', None) + self.vpn_client_ipsec_policies = kwargs.get('vpn_client_ipsec_policies', None) + self.radius_server_address = kwargs.get('radius_server_address', None) + self.radius_server_secret = kwargs.get('radius_server_secret', None) + self.radius_servers = kwargs.get('radius_servers', None) + self.aad_tenant = kwargs.get('aad_tenant', None) + self.aad_audience = kwargs.get('aad_audience', None) + self.aad_issuer = kwargs.get('aad_issuer', None) + + +class VpnClientConnectionHealth(msrest.serialization.Model): + """VpnClientConnectionHealth properties. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar total_ingress_bytes_transferred: Total of the Ingress Bytes Transferred in this P2S Vpn + connection. + :vartype total_ingress_bytes_transferred: long + :ivar total_egress_bytes_transferred: Total of the Egress Bytes Transferred in this connection. + :vartype total_egress_bytes_transferred: long + :param vpn_client_connections_count: The total of p2s vpn clients connected at this time to + this P2SVpnGateway. + :type vpn_client_connections_count: int + :param allocated_ip_addresses: List of allocated ip addresses to the connected p2s vpn clients. + :type allocated_ip_addresses: list[str] + """ + + _validation = { + 'total_ingress_bytes_transferred': {'readonly': True}, + 'total_egress_bytes_transferred': {'readonly': True}, + } + + _attribute_map = { + 'total_ingress_bytes_transferred': {'key': 'totalIngressBytesTransferred', 'type': 'long'}, + 'total_egress_bytes_transferred': {'key': 'totalEgressBytesTransferred', 'type': 'long'}, + 'vpn_client_connections_count': {'key': 'vpnClientConnectionsCount', 'type': 'int'}, + 'allocated_ip_addresses': {'key': 'allocatedIpAddresses', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(VpnClientConnectionHealth, self).__init__(**kwargs) + self.total_ingress_bytes_transferred = None + self.total_egress_bytes_transferred = None + self.vpn_client_connections_count = kwargs.get('vpn_client_connections_count', None) + self.allocated_ip_addresses = kwargs.get('allocated_ip_addresses', None) + + +class VpnClientConnectionHealthDetail(msrest.serialization.Model): + """VPN client connection health detail. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar vpn_connection_id: The vpn client Id. + :vartype vpn_connection_id: str + :ivar vpn_connection_duration: The duration time of a connected vpn client. + :vartype vpn_connection_duration: long + :ivar vpn_connection_time: The start time of a connected vpn client. + :vartype vpn_connection_time: str + :ivar public_ip_address: The public Ip of a connected vpn client. + :vartype public_ip_address: str + :ivar private_ip_address: The assigned private Ip of a connected vpn client. + :vartype private_ip_address: str + :ivar vpn_user_name: The user name of a connected vpn client. + :vartype vpn_user_name: str + :ivar max_bandwidth: The max band width. + :vartype max_bandwidth: long + :ivar egress_packets_transferred: The egress packets per second. + :vartype egress_packets_transferred: long + :ivar egress_bytes_transferred: The egress bytes per second. + :vartype egress_bytes_transferred: long + :ivar ingress_packets_transferred: The ingress packets per second. + :vartype ingress_packets_transferred: long + :ivar ingress_bytes_transferred: The ingress bytes per second. + :vartype ingress_bytes_transferred: long + :ivar max_packets_per_second: The max packets transferred per second. + :vartype max_packets_per_second: long + """ + + _validation = { + 'vpn_connection_id': {'readonly': True}, + 'vpn_connection_duration': {'readonly': True}, + 'vpn_connection_time': {'readonly': True}, + 'public_ip_address': {'readonly': True}, + 'private_ip_address': {'readonly': True}, + 'vpn_user_name': {'readonly': True}, + 'max_bandwidth': {'readonly': True}, + 'egress_packets_transferred': {'readonly': True}, + 'egress_bytes_transferred': {'readonly': True}, + 'ingress_packets_transferred': {'readonly': True}, + 'ingress_bytes_transferred': {'readonly': True}, + 'max_packets_per_second': {'readonly': True}, + } + + _attribute_map = { + 'vpn_connection_id': {'key': 'vpnConnectionId', 'type': 'str'}, + 'vpn_connection_duration': {'key': 'vpnConnectionDuration', 'type': 'long'}, + 'vpn_connection_time': {'key': 'vpnConnectionTime', 'type': 'str'}, + 'public_ip_address': {'key': 'publicIpAddress', 'type': 'str'}, + 'private_ip_address': {'key': 'privateIpAddress', 'type': 'str'}, + 'vpn_user_name': {'key': 'vpnUserName', 'type': 'str'}, + 'max_bandwidth': {'key': 'maxBandwidth', 'type': 'long'}, + 'egress_packets_transferred': {'key': 'egressPacketsTransferred', 'type': 'long'}, + 'egress_bytes_transferred': {'key': 'egressBytesTransferred', 'type': 'long'}, + 'ingress_packets_transferred': {'key': 'ingressPacketsTransferred', 'type': 'long'}, + 'ingress_bytes_transferred': {'key': 'ingressBytesTransferred', 'type': 'long'}, + 'max_packets_per_second': {'key': 'maxPacketsPerSecond', 'type': 'long'}, + } + + def __init__( + self, + **kwargs + ): + super(VpnClientConnectionHealthDetail, self).__init__(**kwargs) + self.vpn_connection_id = None + self.vpn_connection_duration = None + self.vpn_connection_time = None + self.public_ip_address = None + self.private_ip_address = None + self.vpn_user_name = None + self.max_bandwidth = None + self.egress_packets_transferred = None + self.egress_bytes_transferred = None + self.ingress_packets_transferred = None + self.ingress_bytes_transferred = None + self.max_packets_per_second = None + + +class VpnClientConnectionHealthDetailListResult(msrest.serialization.Model): + """List of virtual network gateway vpn client connection health. + + :param value: List of vpn client connection health. + :type value: list[~azure.mgmt.network.v2021_02_01.models.VpnClientConnectionHealthDetail] + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[VpnClientConnectionHealthDetail]'}, + } + + def __init__( + self, + **kwargs + ): + super(VpnClientConnectionHealthDetailListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + + +class VpnClientIPsecParameters(msrest.serialization.Model): + """An IPSec parameters for a virtual network gateway P2S connection. + + All required parameters must be populated in order to send to Azure. + + :param sa_life_time_seconds: Required. The IPSec Security Association (also called Quick Mode + or Phase 2 SA) lifetime in seconds for P2S client. + :type sa_life_time_seconds: int + :param sa_data_size_kilobytes: Required. The IPSec Security Association (also called Quick Mode + or Phase 2 SA) payload size in KB for P2S client.. + :type sa_data_size_kilobytes: int + :param ipsec_encryption: Required. The IPSec encryption algorithm (IKE phase 1). Possible + values include: "None", "DES", "DES3", "AES128", "AES192", "AES256", "GCMAES128", "GCMAES192", + "GCMAES256". + :type ipsec_encryption: str or ~azure.mgmt.network.v2021_02_01.models.IpsecEncryption + :param ipsec_integrity: Required. The IPSec integrity algorithm (IKE phase 1). Possible values + include: "MD5", "SHA1", "SHA256", "GCMAES128", "GCMAES192", "GCMAES256". + :type ipsec_integrity: str or ~azure.mgmt.network.v2021_02_01.models.IpsecIntegrity + :param ike_encryption: Required. The IKE encryption algorithm (IKE phase 2). Possible values + include: "DES", "DES3", "AES128", "AES192", "AES256", "GCMAES256", "GCMAES128". + :type ike_encryption: str or ~azure.mgmt.network.v2021_02_01.models.IkeEncryption + :param ike_integrity: Required. The IKE integrity algorithm (IKE phase 2). Possible values + include: "MD5", "SHA1", "SHA256", "SHA384", "GCMAES256", "GCMAES128". + :type ike_integrity: str or ~azure.mgmt.network.v2021_02_01.models.IkeIntegrity + :param dh_group: Required. The DH Group used in IKE Phase 1 for initial SA. Possible values + include: "None", "DHGroup1", "DHGroup2", "DHGroup14", "DHGroup2048", "ECP256", "ECP384", + "DHGroup24". + :type dh_group: str or ~azure.mgmt.network.v2021_02_01.models.DhGroup + :param pfs_group: Required. The Pfs Group used in IKE Phase 2 for new child SA. Possible values + include: "None", "PFS1", "PFS2", "PFS2048", "ECP256", "ECP384", "PFS24", "PFS14", "PFSMM". + :type pfs_group: str or ~azure.mgmt.network.v2021_02_01.models.PfsGroup + """ + + _validation = { + 'sa_life_time_seconds': {'required': True}, + 'sa_data_size_kilobytes': {'required': True}, + 'ipsec_encryption': {'required': True}, + 'ipsec_integrity': {'required': True}, + 'ike_encryption': {'required': True}, + 'ike_integrity': {'required': True}, + 'dh_group': {'required': True}, + 'pfs_group': {'required': True}, + } + + _attribute_map = { + 'sa_life_time_seconds': {'key': 'saLifeTimeSeconds', 'type': 'int'}, + 'sa_data_size_kilobytes': {'key': 'saDataSizeKilobytes', 'type': 'int'}, + 'ipsec_encryption': {'key': 'ipsecEncryption', 'type': 'str'}, + 'ipsec_integrity': {'key': 'ipsecIntegrity', 'type': 'str'}, + 'ike_encryption': {'key': 'ikeEncryption', 'type': 'str'}, + 'ike_integrity': {'key': 'ikeIntegrity', 'type': 'str'}, + 'dh_group': {'key': 'dhGroup', 'type': 'str'}, + 'pfs_group': {'key': 'pfsGroup', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(VpnClientIPsecParameters, self).__init__(**kwargs) + self.sa_life_time_seconds = kwargs['sa_life_time_seconds'] + self.sa_data_size_kilobytes = kwargs['sa_data_size_kilobytes'] + self.ipsec_encryption = kwargs['ipsec_encryption'] + self.ipsec_integrity = kwargs['ipsec_integrity'] + self.ike_encryption = kwargs['ike_encryption'] + self.ike_integrity = kwargs['ike_integrity'] + self.dh_group = kwargs['dh_group'] + self.pfs_group = kwargs['pfs_group'] + + +class VpnClientParameters(msrest.serialization.Model): + """Vpn Client Parameters for package generation. + + :param processor_architecture: VPN client Processor Architecture. Possible values include: + "Amd64", "X86". + :type processor_architecture: str or + ~azure.mgmt.network.v2021_02_01.models.ProcessorArchitecture + :param authentication_method: VPN client authentication method. Possible values include: + "EAPTLS", "EAPMSCHAPv2". + :type authentication_method: str or ~azure.mgmt.network.v2021_02_01.models.AuthenticationMethod + :param radius_server_auth_certificate: The public certificate data for the radius server + authentication certificate as a Base-64 encoded string. Required only if external radius + authentication has been configured with EAPTLS authentication. + :type radius_server_auth_certificate: str + :param client_root_certificates: A list of client root certificates public certificate data + encoded as Base-64 strings. Optional parameter for external radius based authentication with + EAPTLS. + :type client_root_certificates: list[str] + """ + + _attribute_map = { + 'processor_architecture': {'key': 'processorArchitecture', 'type': 'str'}, + 'authentication_method': {'key': 'authenticationMethod', 'type': 'str'}, + 'radius_server_auth_certificate': {'key': 'radiusServerAuthCertificate', 'type': 'str'}, + 'client_root_certificates': {'key': 'clientRootCertificates', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(VpnClientParameters, self).__init__(**kwargs) + self.processor_architecture = kwargs.get('processor_architecture', None) + self.authentication_method = kwargs.get('authentication_method', None) + self.radius_server_auth_certificate = kwargs.get('radius_server_auth_certificate', None) + self.client_root_certificates = kwargs.get('client_root_certificates', None) + + +class VpnClientRevokedCertificate(SubResource): + """VPN client revoked certificate of virtual network gateway. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: The name of the resource that is unique within a resource group. This name can be + used to access the resource. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param thumbprint: The revoked VPN client certificate thumbprint. + :type thumbprint: str + :ivar provisioning_state: The provisioning state of the VPN client revoked certificate + resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'thumbprint': {'key': 'properties.thumbprint', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(VpnClientRevokedCertificate, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.etag = None + self.thumbprint = kwargs.get('thumbprint', None) + self.provisioning_state = None + + +class VpnClientRootCertificate(SubResource): + """VPN client root certificate of virtual network gateway. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param id: Resource ID. + :type id: str + :param name: The name of the resource that is unique within a resource group. This name can be + used to access the resource. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param public_cert_data: Required. The certificate public data. + :type public_cert_data: str + :ivar provisioning_state: The provisioning state of the VPN client root certificate resource. + Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'public_cert_data': {'required': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'public_cert_data': {'key': 'properties.publicCertData', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(VpnClientRootCertificate, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.etag = None + self.public_cert_data = kwargs['public_cert_data'] + self.provisioning_state = None + + +class VpnConnection(SubResource): + """VpnConnection Resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: The name of the resource that is unique within a resource group. This name can be + used to access the resource. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param remote_vpn_site: Id of the connected vpn site. + :type remote_vpn_site: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param routing_weight: Routing weight for vpn connection. + :type routing_weight: int + :param dpd_timeout_seconds: DPD timeout in seconds for vpn connection. + :type dpd_timeout_seconds: int + :ivar connection_status: The connection status. Possible values include: "Unknown", + "Connecting", "Connected", "NotConnected". + :vartype connection_status: str or ~azure.mgmt.network.v2021_02_01.models.VpnConnectionStatus + :param vpn_connection_protocol_type: Connection protocol used for this connection. Possible + values include: "IKEv2", "IKEv1". + :type vpn_connection_protocol_type: str or + ~azure.mgmt.network.v2021_02_01.models.VirtualNetworkGatewayConnectionProtocol + :ivar ingress_bytes_transferred: Ingress bytes transferred. + :vartype ingress_bytes_transferred: long + :ivar egress_bytes_transferred: Egress bytes transferred. + :vartype egress_bytes_transferred: long + :param connection_bandwidth: Expected bandwidth in MBPS. + :type connection_bandwidth: int + :param shared_key: SharedKey for the vpn connection. + :type shared_key: str + :param enable_bgp: EnableBgp flag. + :type enable_bgp: bool + :param use_policy_based_traffic_selectors: Enable policy-based traffic selectors. + :type use_policy_based_traffic_selectors: bool + :param ipsec_policies: The IPSec Policies to be considered by this connection. + :type ipsec_policies: list[~azure.mgmt.network.v2021_02_01.models.IpsecPolicy] + :param traffic_selector_policies: The Traffic Selector Policies to be considered by this + connection. + :type traffic_selector_policies: + list[~azure.mgmt.network.v2021_02_01.models.TrafficSelectorPolicy] + :param enable_rate_limiting: EnableBgp flag. + :type enable_rate_limiting: bool + :param enable_internet_security: Enable internet security. + :type enable_internet_security: bool + :param use_local_azure_ip_address: Use local azure ip to initiate connection. + :type use_local_azure_ip_address: bool + :ivar provisioning_state: The provisioning state of the VPN connection resource. Possible + values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :param vpn_link_connections: List of all vpn site link connections to the gateway. + :type vpn_link_connections: list[~azure.mgmt.network.v2021_02_01.models.VpnSiteLinkConnection] + :param routing_configuration: The Routing Configuration indicating the associated and + propagated route tables on this connection. + :type routing_configuration: ~azure.mgmt.network.v2021_02_01.models.RoutingConfiguration + """ + + _validation = { + 'etag': {'readonly': True}, + 'connection_status': {'readonly': True}, + 'ingress_bytes_transferred': {'readonly': True}, + 'egress_bytes_transferred': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'remote_vpn_site': {'key': 'properties.remoteVpnSite', 'type': 'SubResource'}, + 'routing_weight': {'key': 'properties.routingWeight', 'type': 'int'}, + 'dpd_timeout_seconds': {'key': 'properties.dpdTimeoutSeconds', 'type': 'int'}, + 'connection_status': {'key': 'properties.connectionStatus', 'type': 'str'}, + 'vpn_connection_protocol_type': {'key': 'properties.vpnConnectionProtocolType', 'type': 'str'}, + 'ingress_bytes_transferred': {'key': 'properties.ingressBytesTransferred', 'type': 'long'}, + 'egress_bytes_transferred': {'key': 'properties.egressBytesTransferred', 'type': 'long'}, + 'connection_bandwidth': {'key': 'properties.connectionBandwidth', 'type': 'int'}, + 'shared_key': {'key': 'properties.sharedKey', 'type': 'str'}, + 'enable_bgp': {'key': 'properties.enableBgp', 'type': 'bool'}, + 'use_policy_based_traffic_selectors': {'key': 'properties.usePolicyBasedTrafficSelectors', 'type': 'bool'}, + 'ipsec_policies': {'key': 'properties.ipsecPolicies', 'type': '[IpsecPolicy]'}, + 'traffic_selector_policies': {'key': 'properties.trafficSelectorPolicies', 'type': '[TrafficSelectorPolicy]'}, + 'enable_rate_limiting': {'key': 'properties.enableRateLimiting', 'type': 'bool'}, + 'enable_internet_security': {'key': 'properties.enableInternetSecurity', 'type': 'bool'}, + 'use_local_azure_ip_address': {'key': 'properties.useLocalAzureIpAddress', 'type': 'bool'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'vpn_link_connections': {'key': 'properties.vpnLinkConnections', 'type': '[VpnSiteLinkConnection]'}, + 'routing_configuration': {'key': 'properties.routingConfiguration', 'type': 'RoutingConfiguration'}, + } + + def __init__( + self, + **kwargs + ): + super(VpnConnection, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.etag = None + self.remote_vpn_site = kwargs.get('remote_vpn_site', None) + self.routing_weight = kwargs.get('routing_weight', None) + self.dpd_timeout_seconds = kwargs.get('dpd_timeout_seconds', None) + self.connection_status = None + self.vpn_connection_protocol_type = kwargs.get('vpn_connection_protocol_type', None) + self.ingress_bytes_transferred = None + self.egress_bytes_transferred = None + self.connection_bandwidth = kwargs.get('connection_bandwidth', None) + self.shared_key = kwargs.get('shared_key', None) + self.enable_bgp = kwargs.get('enable_bgp', None) + self.use_policy_based_traffic_selectors = kwargs.get('use_policy_based_traffic_selectors', None) + self.ipsec_policies = kwargs.get('ipsec_policies', None) + self.traffic_selector_policies = kwargs.get('traffic_selector_policies', None) + self.enable_rate_limiting = kwargs.get('enable_rate_limiting', None) + self.enable_internet_security = kwargs.get('enable_internet_security', None) + self.use_local_azure_ip_address = kwargs.get('use_local_azure_ip_address', None) + self.provisioning_state = None + self.vpn_link_connections = kwargs.get('vpn_link_connections', None) + self.routing_configuration = kwargs.get('routing_configuration', None) + + +class VpnConnectionPacketCaptureStartParameters(msrest.serialization.Model): + """Vpn Connection packet capture parameters supplied to start packet capture on gateway connection. + + :param filter_data: Start Packet capture parameters on vpn connection. + :type filter_data: str + :param link_connection_names: List of site link connection names. + :type link_connection_names: list[str] + """ + + _attribute_map = { + 'filter_data': {'key': 'filterData', 'type': 'str'}, + 'link_connection_names': {'key': 'linkConnectionNames', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(VpnConnectionPacketCaptureStartParameters, self).__init__(**kwargs) + self.filter_data = kwargs.get('filter_data', None) + self.link_connection_names = kwargs.get('link_connection_names', None) + + +class VpnConnectionPacketCaptureStopParameters(msrest.serialization.Model): + """Vpn Connection packet capture parameters supplied to stop packet capture on gateway connection. + + :param sas_url: SAS url for packet capture on vpn connection. + :type sas_url: str + :param link_connection_names: List of site link connection names. + :type link_connection_names: list[str] + """ + + _attribute_map = { + 'sas_url': {'key': 'sasUrl', 'type': 'str'}, + 'link_connection_names': {'key': 'linkConnectionNames', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(VpnConnectionPacketCaptureStopParameters, self).__init__(**kwargs) + self.sas_url = kwargs.get('sas_url', None) + self.link_connection_names = kwargs.get('link_connection_names', None) + + +class VpnDeviceScriptParameters(msrest.serialization.Model): + """Vpn device configuration script generation parameters. + + :param vendor: The vendor for the vpn device. + :type vendor: str + :param device_family: The device family for the vpn device. + :type device_family: str + :param firmware_version: The firmware version for the vpn device. + :type firmware_version: str + """ + + _attribute_map = { + 'vendor': {'key': 'vendor', 'type': 'str'}, + 'device_family': {'key': 'deviceFamily', 'type': 'str'}, + 'firmware_version': {'key': 'firmwareVersion', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(VpnDeviceScriptParameters, self).__init__(**kwargs) + self.vendor = kwargs.get('vendor', None) + self.device_family = kwargs.get('device_family', None) + self.firmware_version = kwargs.get('firmware_version', None) + + +class VpnGateway(Resource): + """VpnGateway Resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param virtual_hub: The VirtualHub to which the gateway belongs. + :type virtual_hub: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param connections: List of all vpn connections to the gateway. + :type connections: list[~azure.mgmt.network.v2021_02_01.models.VpnConnection] + :param bgp_settings: Local network gateway's BGP speaker settings. + :type bgp_settings: ~azure.mgmt.network.v2021_02_01.models.BgpSettings + :ivar provisioning_state: The provisioning state of the VPN gateway resource. Possible values + include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :param vpn_gateway_scale_unit: The scale unit for this vpn gateway. + :type vpn_gateway_scale_unit: int + :ivar ip_configurations: List of all IPs configured on the gateway. + :vartype ip_configurations: + list[~azure.mgmt.network.v2021_02_01.models.VpnGatewayIpConfiguration] + :param is_routing_preference_internet: Enable Routing Preference property for the Public IP + Interface of the VpnGateway. + :type is_routing_preference_internet: bool + :param nat_rules: List of all the nat Rules associated with the gateway. + :type nat_rules: list[~azure.mgmt.network.v2021_02_01.models.VpnGatewayNatRule] + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'ip_configurations': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'virtual_hub': {'key': 'properties.virtualHub', 'type': 'SubResource'}, + 'connections': {'key': 'properties.connections', 'type': '[VpnConnection]'}, + 'bgp_settings': {'key': 'properties.bgpSettings', 'type': 'BgpSettings'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'vpn_gateway_scale_unit': {'key': 'properties.vpnGatewayScaleUnit', 'type': 'int'}, + 'ip_configurations': {'key': 'properties.ipConfigurations', 'type': '[VpnGatewayIpConfiguration]'}, + 'is_routing_preference_internet': {'key': 'properties.isRoutingPreferenceInternet', 'type': 'bool'}, + 'nat_rules': {'key': 'properties.natRules', 'type': '[VpnGatewayNatRule]'}, + } + + def __init__( + self, + **kwargs + ): + super(VpnGateway, self).__init__(**kwargs) + self.etag = None + self.virtual_hub = kwargs.get('virtual_hub', None) + self.connections = kwargs.get('connections', None) + self.bgp_settings = kwargs.get('bgp_settings', None) + self.provisioning_state = None + self.vpn_gateway_scale_unit = kwargs.get('vpn_gateway_scale_unit', None) + self.ip_configurations = None + self.is_routing_preference_internet = kwargs.get('is_routing_preference_internet', None) + self.nat_rules = kwargs.get('nat_rules', None) + + +class VpnGatewayIpConfiguration(msrest.serialization.Model): + """IP Configuration of a VPN Gateway Resource. + + :param id: The identifier of the IP configuration for a VPN Gateway. + :type id: str + :param public_ip_address: The public IP address of this IP configuration. + :type public_ip_address: str + :param private_ip_address: The private IP address of this IP configuration. + :type private_ip_address: str + """ + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'public_ip_address': {'key': 'publicIpAddress', 'type': 'str'}, + 'private_ip_address': {'key': 'privateIpAddress', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(VpnGatewayIpConfiguration, self).__init__(**kwargs) + self.id = kwargs.get('id', None) + self.public_ip_address = kwargs.get('public_ip_address', None) + self.private_ip_address = kwargs.get('private_ip_address', None) + + +class VpnGatewayNatRule(SubResource): + """VpnGatewayNatRule Resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: The name of the resource that is unique within a resource group. This name can be + used to access the resource. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Resource type. + :vartype type: str + :ivar provisioning_state: The provisioning state of the NAT Rule resource. Possible values + include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :param type_properties_type: The type of NAT rule for VPN NAT. Possible values include: + "Static", "Dynamic". + :type type_properties_type: str or ~azure.mgmt.network.v2021_02_01.models.VpnNatRuleType + :param mode: The Source NAT direction of a VPN NAT. Possible values include: "EgressSnat", + "IngressSnat". + :type mode: str or ~azure.mgmt.network.v2021_02_01.models.VpnNatRuleMode + :param internal_mappings: The private IP address internal mapping for NAT. + :type internal_mappings: list[~azure.mgmt.network.v2021_02_01.models.VpnNatRuleMapping] + :param external_mappings: The private IP address external mapping for NAT. + :type external_mappings: list[~azure.mgmt.network.v2021_02_01.models.VpnNatRuleMapping] + :param ip_configuration_id: The IP Configuration ID this NAT rule applies to. + :type ip_configuration_id: str + :ivar egress_vpn_site_link_connections: List of egress VpnSiteLinkConnections. + :vartype egress_vpn_site_link_connections: + list[~azure.mgmt.network.v2021_02_01.models.SubResource] + :ivar ingress_vpn_site_link_connections: List of ingress VpnSiteLinkConnections. + :vartype ingress_vpn_site_link_connections: + list[~azure.mgmt.network.v2021_02_01.models.SubResource] + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'egress_vpn_site_link_connections': {'readonly': True}, + 'ingress_vpn_site_link_connections': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'type_properties_type': {'key': 'properties.type', 'type': 'str'}, + 'mode': {'key': 'properties.mode', 'type': 'str'}, + 'internal_mappings': {'key': 'properties.internalMappings', 'type': '[VpnNatRuleMapping]'}, + 'external_mappings': {'key': 'properties.externalMappings', 'type': '[VpnNatRuleMapping]'}, + 'ip_configuration_id': {'key': 'properties.ipConfigurationId', 'type': 'str'}, + 'egress_vpn_site_link_connections': {'key': 'properties.egressVpnSiteLinkConnections', 'type': '[SubResource]'}, + 'ingress_vpn_site_link_connections': {'key': 'properties.ingressVpnSiteLinkConnections', 'type': '[SubResource]'}, + } + + def __init__( + self, + **kwargs + ): + super(VpnGatewayNatRule, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.etag = None + self.type = None + self.provisioning_state = None + self.type_properties_type = kwargs.get('type_properties_type', None) + self.mode = kwargs.get('mode', None) + self.internal_mappings = kwargs.get('internal_mappings', None) + self.external_mappings = kwargs.get('external_mappings', None) + self.ip_configuration_id = kwargs.get('ip_configuration_id', None) + self.egress_vpn_site_link_connections = None + self.ingress_vpn_site_link_connections = None + + +class VpnGatewayPacketCaptureStartParameters(msrest.serialization.Model): + """Start packet capture parameters. + + :param filter_data: Start Packet capture parameters on vpn gateway. + :type filter_data: str + """ + + _attribute_map = { + 'filter_data': {'key': 'filterData', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(VpnGatewayPacketCaptureStartParameters, self).__init__(**kwargs) + self.filter_data = kwargs.get('filter_data', None) + + +class VpnGatewayPacketCaptureStopParameters(msrest.serialization.Model): + """Stop packet capture parameters. + + :param sas_url: SAS url for packet capture on vpn gateway. + :type sas_url: str + """ + + _attribute_map = { + 'sas_url': {'key': 'sasUrl', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(VpnGatewayPacketCaptureStopParameters, self).__init__(**kwargs) + self.sas_url = kwargs.get('sas_url', None) + + +class VpnLinkBgpSettings(msrest.serialization.Model): + """BGP settings details for a link. + + :param asn: The BGP speaker's ASN. + :type asn: long + :param bgp_peering_address: The BGP peering address and BGP identifier of this BGP speaker. + :type bgp_peering_address: str + """ + + _attribute_map = { + 'asn': {'key': 'asn', 'type': 'long'}, + 'bgp_peering_address': {'key': 'bgpPeeringAddress', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(VpnLinkBgpSettings, self).__init__(**kwargs) + self.asn = kwargs.get('asn', None) + self.bgp_peering_address = kwargs.get('bgp_peering_address', None) + + +class VpnLinkProviderProperties(msrest.serialization.Model): + """List of properties of a link provider. + + :param link_provider_name: Name of the link provider. + :type link_provider_name: str + :param link_speed_in_mbps: Link speed. + :type link_speed_in_mbps: int + """ + + _attribute_map = { + 'link_provider_name': {'key': 'linkProviderName', 'type': 'str'}, + 'link_speed_in_mbps': {'key': 'linkSpeedInMbps', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(VpnLinkProviderProperties, self).__init__(**kwargs) + self.link_provider_name = kwargs.get('link_provider_name', None) + self.link_speed_in_mbps = kwargs.get('link_speed_in_mbps', None) + + +class VpnNatRuleMapping(msrest.serialization.Model): + """Vpn NatRule mapping. + + :param address_space: Address space for Vpn NatRule mapping. + :type address_space: str + """ + + _attribute_map = { + 'address_space': {'key': 'addressSpace', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(VpnNatRuleMapping, self).__init__(**kwargs) + self.address_space = kwargs.get('address_space', None) + + +class VpnPacketCaptureStartParameters(msrest.serialization.Model): + """Start packet capture parameters on virtual network gateway. + + :param filter_data: Start Packet capture parameters. + :type filter_data: str + """ + + _attribute_map = { + 'filter_data': {'key': 'filterData', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(VpnPacketCaptureStartParameters, self).__init__(**kwargs) + self.filter_data = kwargs.get('filter_data', None) + + +class VpnPacketCaptureStopParameters(msrest.serialization.Model): + """Stop packet capture parameters. + + :param sas_url: SAS url for packet capture on virtual network gateway. + :type sas_url: str + """ + + _attribute_map = { + 'sas_url': {'key': 'sasUrl', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(VpnPacketCaptureStopParameters, self).__init__(**kwargs) + self.sas_url = kwargs.get('sas_url', None) + + +class VpnProfileResponse(msrest.serialization.Model): + """Vpn Profile Response for package generation. + + :param profile_url: URL to the VPN profile. + :type profile_url: str + """ + + _attribute_map = { + 'profile_url': {'key': 'profileUrl', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(VpnProfileResponse, self).__init__(**kwargs) + self.profile_url = kwargs.get('profile_url', None) + + +class VpnServerConfigRadiusClientRootCertificate(msrest.serialization.Model): + """Properties of the Radius client root certificate of VpnServerConfiguration. + + :param name: The certificate name. + :type name: str + :param thumbprint: The Radius client root certificate thumbprint. + :type thumbprint: str + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'thumbprint': {'key': 'thumbprint', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(VpnServerConfigRadiusClientRootCertificate, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.thumbprint = kwargs.get('thumbprint', None) + + +class VpnServerConfigRadiusServerRootCertificate(msrest.serialization.Model): + """Properties of Radius Server root certificate of VpnServerConfiguration. + + :param name: The certificate name. + :type name: str + :param public_cert_data: The certificate public data. + :type public_cert_data: str + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'public_cert_data': {'key': 'publicCertData', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(VpnServerConfigRadiusServerRootCertificate, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.public_cert_data = kwargs.get('public_cert_data', None) + + +class VpnServerConfiguration(Resource): + """VpnServerConfiguration Resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param name_properties_name: The name of the VpnServerConfiguration that is unique within a + resource group. + :type name_properties_name: str + :param vpn_protocols: VPN protocols for the VpnServerConfiguration. + :type vpn_protocols: list[str or + ~azure.mgmt.network.v2021_02_01.models.VpnGatewayTunnelingProtocol] + :param vpn_authentication_types: VPN authentication types for the VpnServerConfiguration. + :type vpn_authentication_types: list[str or + ~azure.mgmt.network.v2021_02_01.models.VpnAuthenticationType] + :param vpn_client_root_certificates: VPN client root certificate of VpnServerConfiguration. + :type vpn_client_root_certificates: + list[~azure.mgmt.network.v2021_02_01.models.VpnServerConfigVpnClientRootCertificate] + :param vpn_client_revoked_certificates: VPN client revoked certificate of + VpnServerConfiguration. + :type vpn_client_revoked_certificates: + list[~azure.mgmt.network.v2021_02_01.models.VpnServerConfigVpnClientRevokedCertificate] + :param radius_server_root_certificates: Radius Server root certificate of + VpnServerConfiguration. + :type radius_server_root_certificates: + list[~azure.mgmt.network.v2021_02_01.models.VpnServerConfigRadiusServerRootCertificate] + :param radius_client_root_certificates: Radius client root certificate of + VpnServerConfiguration. + :type radius_client_root_certificates: + list[~azure.mgmt.network.v2021_02_01.models.VpnServerConfigRadiusClientRootCertificate] + :param vpn_client_ipsec_policies: VpnClientIpsecPolicies for VpnServerConfiguration. + :type vpn_client_ipsec_policies: list[~azure.mgmt.network.v2021_02_01.models.IpsecPolicy] + :param radius_server_address: The radius server address property of the VpnServerConfiguration + resource for point to site client connection. + :type radius_server_address: str + :param radius_server_secret: The radius secret property of the VpnServerConfiguration resource + for point to site client connection. + :type radius_server_secret: str + :param radius_servers: Multiple Radius Server configuration for VpnServerConfiguration. + :type radius_servers: list[~azure.mgmt.network.v2021_02_01.models.RadiusServer] + :param aad_authentication_parameters: The set of aad vpn authentication parameters. + :type aad_authentication_parameters: + ~azure.mgmt.network.v2021_02_01.models.AadAuthenticationParameters + :ivar provisioning_state: The provisioning state of the VpnServerConfiguration resource. + Possible values are: 'Updating', 'Deleting', and 'Failed'. + :vartype provisioning_state: str + :ivar p2_s_vpn_gateways: List of references to P2SVpnGateways. + :vartype p2_s_vpn_gateways: list[~azure.mgmt.network.v2021_02_01.models.P2SVpnGateway] + :ivar etag_properties_etag: A unique read-only string that changes whenever the resource is + updated. + :vartype etag_properties_etag: str + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'p2_s_vpn_gateways': {'readonly': True}, + 'etag_properties_etag': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'name_properties_name': {'key': 'properties.name', 'type': 'str'}, + 'vpn_protocols': {'key': 'properties.vpnProtocols', 'type': '[str]'}, + 'vpn_authentication_types': {'key': 'properties.vpnAuthenticationTypes', 'type': '[str]'}, + 'vpn_client_root_certificates': {'key': 'properties.vpnClientRootCertificates', 'type': '[VpnServerConfigVpnClientRootCertificate]'}, + 'vpn_client_revoked_certificates': {'key': 'properties.vpnClientRevokedCertificates', 'type': '[VpnServerConfigVpnClientRevokedCertificate]'}, + 'radius_server_root_certificates': {'key': 'properties.radiusServerRootCertificates', 'type': '[VpnServerConfigRadiusServerRootCertificate]'}, + 'radius_client_root_certificates': {'key': 'properties.radiusClientRootCertificates', 'type': '[VpnServerConfigRadiusClientRootCertificate]'}, + 'vpn_client_ipsec_policies': {'key': 'properties.vpnClientIpsecPolicies', 'type': '[IpsecPolicy]'}, + 'radius_server_address': {'key': 'properties.radiusServerAddress', 'type': 'str'}, + 'radius_server_secret': {'key': 'properties.radiusServerSecret', 'type': 'str'}, + 'radius_servers': {'key': 'properties.radiusServers', 'type': '[RadiusServer]'}, + 'aad_authentication_parameters': {'key': 'properties.aadAuthenticationParameters', 'type': 'AadAuthenticationParameters'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'p2_s_vpn_gateways': {'key': 'properties.p2SVpnGateways', 'type': '[P2SVpnGateway]'}, + 'etag_properties_etag': {'key': 'properties.etag', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(VpnServerConfiguration, self).__init__(**kwargs) + self.etag = None + self.name_properties_name = kwargs.get('name_properties_name', None) + self.vpn_protocols = kwargs.get('vpn_protocols', None) + self.vpn_authentication_types = kwargs.get('vpn_authentication_types', None) + self.vpn_client_root_certificates = kwargs.get('vpn_client_root_certificates', None) + self.vpn_client_revoked_certificates = kwargs.get('vpn_client_revoked_certificates', None) + self.radius_server_root_certificates = kwargs.get('radius_server_root_certificates', None) + self.radius_client_root_certificates = kwargs.get('radius_client_root_certificates', None) + self.vpn_client_ipsec_policies = kwargs.get('vpn_client_ipsec_policies', None) + self.radius_server_address = kwargs.get('radius_server_address', None) + self.radius_server_secret = kwargs.get('radius_server_secret', None) + self.radius_servers = kwargs.get('radius_servers', None) + self.aad_authentication_parameters = kwargs.get('aad_authentication_parameters', None) + self.provisioning_state = None + self.p2_s_vpn_gateways = None + self.etag_properties_etag = None + + +class VpnServerConfigurationsResponse(msrest.serialization.Model): + """VpnServerConfigurations list associated with VirtualWan Response. + + :param vpn_server_configuration_resource_ids: List of VpnServerConfigurations associated with + VirtualWan. + :type vpn_server_configuration_resource_ids: list[str] + """ + + _attribute_map = { + 'vpn_server_configuration_resource_ids': {'key': 'vpnServerConfigurationResourceIds', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(VpnServerConfigurationsResponse, self).__init__(**kwargs) + self.vpn_server_configuration_resource_ids = kwargs.get('vpn_server_configuration_resource_ids', None) + + +class VpnServerConfigVpnClientRevokedCertificate(msrest.serialization.Model): + """Properties of the revoked VPN client certificate of VpnServerConfiguration. + + :param name: The certificate name. + :type name: str + :param thumbprint: The revoked VPN client certificate thumbprint. + :type thumbprint: str + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'thumbprint': {'key': 'thumbprint', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(VpnServerConfigVpnClientRevokedCertificate, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.thumbprint = kwargs.get('thumbprint', None) + + +class VpnServerConfigVpnClientRootCertificate(msrest.serialization.Model): + """Properties of VPN client root certificate of VpnServerConfiguration. + + :param name: The certificate name. + :type name: str + :param public_cert_data: The certificate public data. + :type public_cert_data: str + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'public_cert_data': {'key': 'publicCertData', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(VpnServerConfigVpnClientRootCertificate, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.public_cert_data = kwargs.get('public_cert_data', None) + + +class VpnSite(Resource): + """VpnSite Resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param virtual_wan: The VirtualWAN to which the vpnSite belongs. + :type virtual_wan: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param device_properties: The device properties. + :type device_properties: ~azure.mgmt.network.v2021_02_01.models.DeviceProperties + :param ip_address: The ip-address for the vpn-site. + :type ip_address: str + :param site_key: The key for vpn-site that can be used for connections. + :type site_key: str + :param address_space: The AddressSpace that contains an array of IP address ranges. + :type address_space: ~azure.mgmt.network.v2021_02_01.models.AddressSpace + :param bgp_properties: The set of bgp properties. + :type bgp_properties: ~azure.mgmt.network.v2021_02_01.models.BgpSettings + :ivar provisioning_state: The provisioning state of the VPN site resource. Possible values + include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :param is_security_site: IsSecuritySite flag. + :type is_security_site: bool + :param vpn_site_links: List of all vpn site links. + :type vpn_site_links: list[~azure.mgmt.network.v2021_02_01.models.VpnSiteLink] + :param o365_policy: Office365 Policy. + :type o365_policy: ~azure.mgmt.network.v2021_02_01.models.O365PolicyProperties + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'virtual_wan': {'key': 'properties.virtualWan', 'type': 'SubResource'}, + 'device_properties': {'key': 'properties.deviceProperties', 'type': 'DeviceProperties'}, + 'ip_address': {'key': 'properties.ipAddress', 'type': 'str'}, + 'site_key': {'key': 'properties.siteKey', 'type': 'str'}, + 'address_space': {'key': 'properties.addressSpace', 'type': 'AddressSpace'}, + 'bgp_properties': {'key': 'properties.bgpProperties', 'type': 'BgpSettings'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'is_security_site': {'key': 'properties.isSecuritySite', 'type': 'bool'}, + 'vpn_site_links': {'key': 'properties.vpnSiteLinks', 'type': '[VpnSiteLink]'}, + 'o365_policy': {'key': 'properties.o365Policy', 'type': 'O365PolicyProperties'}, + } + + def __init__( + self, + **kwargs + ): + super(VpnSite, self).__init__(**kwargs) + self.etag = None + self.virtual_wan = kwargs.get('virtual_wan', None) + self.device_properties = kwargs.get('device_properties', None) + self.ip_address = kwargs.get('ip_address', None) + self.site_key = kwargs.get('site_key', None) + self.address_space = kwargs.get('address_space', None) + self.bgp_properties = kwargs.get('bgp_properties', None) + self.provisioning_state = None + self.is_security_site = kwargs.get('is_security_site', None) + self.vpn_site_links = kwargs.get('vpn_site_links', None) + self.o365_policy = kwargs.get('o365_policy', None) + + +class VpnSiteId(msrest.serialization.Model): + """VpnSite Resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar vpn_site: The resource-uri of the vpn-site for which config is to be fetched. + :vartype vpn_site: str + """ + + _validation = { + 'vpn_site': {'readonly': True}, + } + + _attribute_map = { + 'vpn_site': {'key': 'vpnSite', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(VpnSiteId, self).__init__(**kwargs) + self.vpn_site = None + + +class VpnSiteLink(SubResource): + """VpnSiteLink Resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param name: The name of the resource that is unique within a resource group. This name can be + used to access the resource. + :type name: str + :ivar type: Resource type. + :vartype type: str + :param link_properties: The link provider properties. + :type link_properties: ~azure.mgmt.network.v2021_02_01.models.VpnLinkProviderProperties + :param ip_address: The ip-address for the vpn-site-link. + :type ip_address: str + :param fqdn: FQDN of vpn-site-link. + :type fqdn: str + :param bgp_properties: The set of bgp properties. + :type bgp_properties: ~azure.mgmt.network.v2021_02_01.models.VpnLinkBgpSettings + :ivar provisioning_state: The provisioning state of the VPN site link resource. Possible values + include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'link_properties': {'key': 'properties.linkProperties', 'type': 'VpnLinkProviderProperties'}, + 'ip_address': {'key': 'properties.ipAddress', 'type': 'str'}, + 'fqdn': {'key': 'properties.fqdn', 'type': 'str'}, + 'bgp_properties': {'key': 'properties.bgpProperties', 'type': 'VpnLinkBgpSettings'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(VpnSiteLink, self).__init__(**kwargs) + self.etag = None + self.name = kwargs.get('name', None) + self.type = None + self.link_properties = kwargs.get('link_properties', None) + self.ip_address = kwargs.get('ip_address', None) + self.fqdn = kwargs.get('fqdn', None) + self.bgp_properties = kwargs.get('bgp_properties', None) + self.provisioning_state = None + + +class VpnSiteLinkConnection(SubResource): + """VpnSiteLinkConnection Resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: The name of the resource that is unique within a resource group. This name can be + used to access the resource. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Resource type. + :vartype type: str + :param vpn_site_link: Id of the connected vpn site link. + :type vpn_site_link: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param routing_weight: Routing weight for vpn connection. + :type routing_weight: int + :param vpn_link_connection_mode: Vpn link connection mode. Possible values include: "Default", + "ResponderOnly", "InitiatorOnly". + :type vpn_link_connection_mode: str or + ~azure.mgmt.network.v2021_02_01.models.VpnLinkConnectionMode + :ivar connection_status: The connection status. Possible values include: "Unknown", + "Connecting", "Connected", "NotConnected". + :vartype connection_status: str or ~azure.mgmt.network.v2021_02_01.models.VpnConnectionStatus + :param vpn_connection_protocol_type: Connection protocol used for this connection. Possible + values include: "IKEv2", "IKEv1". + :type vpn_connection_protocol_type: str or + ~azure.mgmt.network.v2021_02_01.models.VirtualNetworkGatewayConnectionProtocol + :ivar ingress_bytes_transferred: Ingress bytes transferred. + :vartype ingress_bytes_transferred: long + :ivar egress_bytes_transferred: Egress bytes transferred. + :vartype egress_bytes_transferred: long + :param connection_bandwidth: Expected bandwidth in MBPS. + :type connection_bandwidth: int + :param shared_key: SharedKey for the vpn connection. + :type shared_key: str + :param enable_bgp: EnableBgp flag. + :type enable_bgp: bool + :param use_policy_based_traffic_selectors: Enable policy-based traffic selectors. + :type use_policy_based_traffic_selectors: bool + :param ipsec_policies: The IPSec Policies to be considered by this connection. + :type ipsec_policies: list[~azure.mgmt.network.v2021_02_01.models.IpsecPolicy] + :param enable_rate_limiting: EnableBgp flag. + :type enable_rate_limiting: bool + :param use_local_azure_ip_address: Use local azure ip to initiate connection. + :type use_local_azure_ip_address: bool + :ivar provisioning_state: The provisioning state of the VPN site link connection resource. + Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :param ingress_nat_rules: List of ingress NatRules. + :type ingress_nat_rules: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + :param egress_nat_rules: List of egress NatRules. + :type egress_nat_rules: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'connection_status': {'readonly': True}, + 'ingress_bytes_transferred': {'readonly': True}, + 'egress_bytes_transferred': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'vpn_site_link': {'key': 'properties.vpnSiteLink', 'type': 'SubResource'}, + 'routing_weight': {'key': 'properties.routingWeight', 'type': 'int'}, + 'vpn_link_connection_mode': {'key': 'properties.vpnLinkConnectionMode', 'type': 'str'}, + 'connection_status': {'key': 'properties.connectionStatus', 'type': 'str'}, + 'vpn_connection_protocol_type': {'key': 'properties.vpnConnectionProtocolType', 'type': 'str'}, + 'ingress_bytes_transferred': {'key': 'properties.ingressBytesTransferred', 'type': 'long'}, + 'egress_bytes_transferred': {'key': 'properties.egressBytesTransferred', 'type': 'long'}, + 'connection_bandwidth': {'key': 'properties.connectionBandwidth', 'type': 'int'}, + 'shared_key': {'key': 'properties.sharedKey', 'type': 'str'}, + 'enable_bgp': {'key': 'properties.enableBgp', 'type': 'bool'}, + 'use_policy_based_traffic_selectors': {'key': 'properties.usePolicyBasedTrafficSelectors', 'type': 'bool'}, + 'ipsec_policies': {'key': 'properties.ipsecPolicies', 'type': '[IpsecPolicy]'}, + 'enable_rate_limiting': {'key': 'properties.enableRateLimiting', 'type': 'bool'}, + 'use_local_azure_ip_address': {'key': 'properties.useLocalAzureIpAddress', 'type': 'bool'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'ingress_nat_rules': {'key': 'properties.ingressNatRules', 'type': '[SubResource]'}, + 'egress_nat_rules': {'key': 'properties.egressNatRules', 'type': '[SubResource]'}, + } + + def __init__( + self, + **kwargs + ): + super(VpnSiteLinkConnection, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.etag = None + self.type = None + self.vpn_site_link = kwargs.get('vpn_site_link', None) + self.routing_weight = kwargs.get('routing_weight', None) + self.vpn_link_connection_mode = kwargs.get('vpn_link_connection_mode', None) + self.connection_status = None + self.vpn_connection_protocol_type = kwargs.get('vpn_connection_protocol_type', None) + self.ingress_bytes_transferred = None + self.egress_bytes_transferred = None + self.connection_bandwidth = kwargs.get('connection_bandwidth', None) + self.shared_key = kwargs.get('shared_key', None) + self.enable_bgp = kwargs.get('enable_bgp', None) + self.use_policy_based_traffic_selectors = kwargs.get('use_policy_based_traffic_selectors', None) + self.ipsec_policies = kwargs.get('ipsec_policies', None) + self.enable_rate_limiting = kwargs.get('enable_rate_limiting', None) + self.use_local_azure_ip_address = kwargs.get('use_local_azure_ip_address', None) + self.provisioning_state = None + self.ingress_nat_rules = kwargs.get('ingress_nat_rules', None) + self.egress_nat_rules = kwargs.get('egress_nat_rules', None) + + +class WebApplicationFirewallCustomRule(msrest.serialization.Model): + """Defines contents of a web application rule. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param name: The name of the resource that is unique within a policy. This name can be used to + access the resource. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param priority: Required. Priority of the rule. Rules with a lower value will be evaluated + before rules with a higher value. + :type priority: int + :param rule_type: Required. The rule type. Possible values include: "MatchRule", "Invalid". + :type rule_type: str or ~azure.mgmt.network.v2021_02_01.models.WebApplicationFirewallRuleType + :param match_conditions: Required. List of match conditions. + :type match_conditions: list[~azure.mgmt.network.v2021_02_01.models.MatchCondition] + :param action: Required. Type of Actions. Possible values include: "Allow", "Block", "Log". + :type action: str or ~azure.mgmt.network.v2021_02_01.models.WebApplicationFirewallAction + """ + + _validation = { + 'name': {'max_length': 128, 'min_length': 0}, + 'etag': {'readonly': True}, + 'priority': {'required': True}, + 'rule_type': {'required': True}, + 'match_conditions': {'required': True}, + 'action': {'required': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'priority': {'key': 'priority', 'type': 'int'}, + 'rule_type': {'key': 'ruleType', 'type': 'str'}, + 'match_conditions': {'key': 'matchConditions', 'type': '[MatchCondition]'}, + 'action': {'key': 'action', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(WebApplicationFirewallCustomRule, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.etag = None + self.priority = kwargs['priority'] + self.rule_type = kwargs['rule_type'] + self.match_conditions = kwargs['match_conditions'] + self.action = kwargs['action'] + + +class WebApplicationFirewallPolicy(Resource): + """Defines web application firewall policy. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param policy_settings: The PolicySettings for policy. + :type policy_settings: ~azure.mgmt.network.v2021_02_01.models.PolicySettings + :param custom_rules: The custom rules inside the policy. + :type custom_rules: + list[~azure.mgmt.network.v2021_02_01.models.WebApplicationFirewallCustomRule] + :ivar application_gateways: A collection of references to application gateways. + :vartype application_gateways: list[~azure.mgmt.network.v2021_02_01.models.ApplicationGateway] + :ivar provisioning_state: The provisioning state of the web application firewall policy + resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :ivar resource_state: Resource status of the policy. Possible values include: "Creating", + "Enabling", "Enabled", "Disabling", "Disabled", "Deleting". + :vartype resource_state: str or + ~azure.mgmt.network.v2021_02_01.models.WebApplicationFirewallPolicyResourceState + :param managed_rules: Describes the managedRules structure. + :type managed_rules: ~azure.mgmt.network.v2021_02_01.models.ManagedRulesDefinition + :ivar http_listeners: A collection of references to application gateway http listeners. + :vartype http_listeners: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + :ivar path_based_rules: A collection of references to application gateway path rules. + :vartype path_based_rules: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'application_gateways': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'resource_state': {'readonly': True}, + 'http_listeners': {'readonly': True}, + 'path_based_rules': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'policy_settings': {'key': 'properties.policySettings', 'type': 'PolicySettings'}, + 'custom_rules': {'key': 'properties.customRules', 'type': '[WebApplicationFirewallCustomRule]'}, + 'application_gateways': {'key': 'properties.applicationGateways', 'type': '[ApplicationGateway]'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'resource_state': {'key': 'properties.resourceState', 'type': 'str'}, + 'managed_rules': {'key': 'properties.managedRules', 'type': 'ManagedRulesDefinition'}, + 'http_listeners': {'key': 'properties.httpListeners', 'type': '[SubResource]'}, + 'path_based_rules': {'key': 'properties.pathBasedRules', 'type': '[SubResource]'}, + } + + def __init__( + self, + **kwargs + ): + super(WebApplicationFirewallPolicy, self).__init__(**kwargs) + self.etag = None + self.policy_settings = kwargs.get('policy_settings', None) + self.custom_rules = kwargs.get('custom_rules', None) + self.application_gateways = None + self.provisioning_state = None + self.resource_state = None + self.managed_rules = kwargs.get('managed_rules', None) + self.http_listeners = None + self.path_based_rules = None + + +class WebApplicationFirewallPolicyListResult(msrest.serialization.Model): + """Result of the request to list WebApplicationFirewallPolicies. It contains a list of WebApplicationFirewallPolicy objects and a URL link to get the next set of results. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: List of WebApplicationFirewallPolicies within a resource group. + :vartype value: list[~azure.mgmt.network.v2021_02_01.models.WebApplicationFirewallPolicy] + :ivar next_link: URL to get the next set of WebApplicationFirewallPolicy objects if there are + any. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[WebApplicationFirewallPolicy]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(WebApplicationFirewallPolicyListResult, self).__init__(**kwargs) + self.value = None + self.next_link = None diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/models/_models_py3.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/models/_models_py3.py new file mode 100644 index 000000000000..fef6fc15e98d --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/models/_models_py3.py @@ -0,0 +1,25735 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +import datetime +from typing import Dict, List, Optional, Union + +from azure.core.exceptions import HttpResponseError +import msrest.serialization + +from ._network_management_client_enums import * + + +class AadAuthenticationParameters(msrest.serialization.Model): + """AAD Vpn authentication type related parameters. + + :param aad_tenant: AAD Vpn authentication parameter AAD tenant. + :type aad_tenant: str + :param aad_audience: AAD Vpn authentication parameter AAD audience. + :type aad_audience: str + :param aad_issuer: AAD Vpn authentication parameter AAD issuer. + :type aad_issuer: str + """ + + _attribute_map = { + 'aad_tenant': {'key': 'aadTenant', 'type': 'str'}, + 'aad_audience': {'key': 'aadAudience', 'type': 'str'}, + 'aad_issuer': {'key': 'aadIssuer', 'type': 'str'}, + } + + def __init__( + self, + *, + aad_tenant: Optional[str] = None, + aad_audience: Optional[str] = None, + aad_issuer: Optional[str] = None, + **kwargs + ): + super(AadAuthenticationParameters, self).__init__(**kwargs) + self.aad_tenant = aad_tenant + self.aad_audience = aad_audience + self.aad_issuer = aad_issuer + + +class AddressSpace(msrest.serialization.Model): + """AddressSpace contains an array of IP address ranges that can be used by subnets of the virtual network. + + :param address_prefixes: A list of address blocks reserved for this virtual network in CIDR + notation. + :type address_prefixes: list[str] + """ + + _attribute_map = { + 'address_prefixes': {'key': 'addressPrefixes', 'type': '[str]'}, + } + + def __init__( + self, + *, + address_prefixes: Optional[List[str]] = None, + **kwargs + ): + super(AddressSpace, self).__init__(**kwargs) + self.address_prefixes = address_prefixes + + +class Resource(msrest.serialization.Model): + """Common resource representation. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + location: Optional[str] = None, + tags: Optional[Dict[str, str]] = None, + **kwargs + ): + super(Resource, self).__init__(**kwargs) + self.id = id + self.name = None + self.type = None + self.location = location + self.tags = tags + + +class ApplicationGateway(Resource): + """Application gateway resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param zones: A list of availability zones denoting where the resource needs to come from. + :type zones: list[str] + :param identity: The identity of the application gateway, if configured. + :type identity: ~azure.mgmt.network.v2021_02_01.models.ManagedServiceIdentity + :param sku: SKU of the application gateway resource. + :type sku: ~azure.mgmt.network.v2021_02_01.models.ApplicationGatewaySku + :param ssl_policy: SSL policy of the application gateway resource. + :type ssl_policy: ~azure.mgmt.network.v2021_02_01.models.ApplicationGatewaySslPolicy + :ivar operational_state: Operational state of the application gateway resource. Possible values + include: "Stopped", "Starting", "Running", "Stopping". + :vartype operational_state: str or + ~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayOperationalState + :param gateway_ip_configurations: Subnets of the application gateway resource. For default + limits, see `Application Gateway limits + `_. + :type gateway_ip_configurations: + list[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayIPConfiguration] + :param authentication_certificates: Authentication certificates of the application gateway + resource. For default limits, see `Application Gateway limits + `_. + :type authentication_certificates: + list[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayAuthenticationCertificate] + :param trusted_root_certificates: Trusted Root certificates of the application gateway + resource. For default limits, see `Application Gateway limits + `_. + :type trusted_root_certificates: + list[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayTrustedRootCertificate] + :param trusted_client_certificates: Trusted client certificates of the application gateway + resource. For default limits, see `Application Gateway limits + `_. + :type trusted_client_certificates: + list[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayTrustedClientCertificate] + :param ssl_certificates: SSL certificates of the application gateway resource. For default + limits, see `Application Gateway limits + `_. + :type ssl_certificates: + list[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewaySslCertificate] + :param frontend_ip_configurations: Frontend IP addresses of the application gateway resource. + For default limits, see `Application Gateway limits + `_. + :type frontend_ip_configurations: + list[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayFrontendIPConfiguration] + :param frontend_ports: Frontend ports of the application gateway resource. For default limits, + see `Application Gateway limits + `_. + :type frontend_ports: + list[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayFrontendPort] + :param probes: Probes of the application gateway resource. + :type probes: list[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayProbe] + :param backend_address_pools: Backend address pool of the application gateway resource. For + default limits, see `Application Gateway limits + `_. + :type backend_address_pools: + list[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayBackendAddressPool] + :param backend_http_settings_collection: Backend http settings of the application gateway + resource. For default limits, see `Application Gateway limits + `_. + :type backend_http_settings_collection: + list[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayBackendHttpSettings] + :param http_listeners: Http listeners of the application gateway resource. For default limits, + see `Application Gateway limits + `_. + :type http_listeners: + list[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayHttpListener] + :param ssl_profiles: SSL profiles of the application gateway resource. For default limits, see + `Application Gateway limits + `_. + :type ssl_profiles: list[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewaySslProfile] + :param url_path_maps: URL path map of the application gateway resource. For default limits, see + `Application Gateway limits + `_. + :type url_path_maps: list[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayUrlPathMap] + :param request_routing_rules: Request routing rules of the application gateway resource. + :type request_routing_rules: + list[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayRequestRoutingRule] + :param rewrite_rule_sets: Rewrite rules for the application gateway resource. + :type rewrite_rule_sets: + list[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayRewriteRuleSet] + :param redirect_configurations: Redirect configurations of the application gateway resource. + For default limits, see `Application Gateway limits + `_. + :type redirect_configurations: + list[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayRedirectConfiguration] + :param web_application_firewall_configuration: Web application firewall configuration. + :type web_application_firewall_configuration: + ~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayWebApplicationFirewallConfiguration + :param firewall_policy: Reference to the FirewallPolicy resource. + :type firewall_policy: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param enable_http2: Whether HTTP2 is enabled on the application gateway resource. + :type enable_http2: bool + :param enable_fips: Whether FIPS is enabled on the application gateway resource. + :type enable_fips: bool + :param autoscale_configuration: Autoscale Configuration. + :type autoscale_configuration: + ~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayAutoscaleConfiguration + :param private_link_configurations: PrivateLink configurations on application gateway. + :type private_link_configurations: + list[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayPrivateLinkConfiguration] + :ivar private_endpoint_connections: Private Endpoint connections on application gateway. + :vartype private_endpoint_connections: + list[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayPrivateEndpointConnection] + :ivar resource_guid: The resource GUID property of the application gateway resource. + :vartype resource_guid: str + :ivar provisioning_state: The provisioning state of the application gateway resource. Possible + values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :param custom_error_configurations: Custom error configurations of the application gateway + resource. + :type custom_error_configurations: + list[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayCustomError] + :param force_firewall_policy_association: If true, associates a firewall policy with an + application gateway regardless whether the policy differs from the WAF Config. + :type force_firewall_policy_association: bool + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'operational_state': {'readonly': True}, + 'private_endpoint_connections': {'readonly': True}, + 'resource_guid': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'zones': {'key': 'zones', 'type': '[str]'}, + 'identity': {'key': 'identity', 'type': 'ManagedServiceIdentity'}, + 'sku': {'key': 'properties.sku', 'type': 'ApplicationGatewaySku'}, + 'ssl_policy': {'key': 'properties.sslPolicy', 'type': 'ApplicationGatewaySslPolicy'}, + 'operational_state': {'key': 'properties.operationalState', 'type': 'str'}, + 'gateway_ip_configurations': {'key': 'properties.gatewayIPConfigurations', 'type': '[ApplicationGatewayIPConfiguration]'}, + 'authentication_certificates': {'key': 'properties.authenticationCertificates', 'type': '[ApplicationGatewayAuthenticationCertificate]'}, + 'trusted_root_certificates': {'key': 'properties.trustedRootCertificates', 'type': '[ApplicationGatewayTrustedRootCertificate]'}, + 'trusted_client_certificates': {'key': 'properties.trustedClientCertificates', 'type': '[ApplicationGatewayTrustedClientCertificate]'}, + 'ssl_certificates': {'key': 'properties.sslCertificates', 'type': '[ApplicationGatewaySslCertificate]'}, + 'frontend_ip_configurations': {'key': 'properties.frontendIPConfigurations', 'type': '[ApplicationGatewayFrontendIPConfiguration]'}, + 'frontend_ports': {'key': 'properties.frontendPorts', 'type': '[ApplicationGatewayFrontendPort]'}, + 'probes': {'key': 'properties.probes', 'type': '[ApplicationGatewayProbe]'}, + 'backend_address_pools': {'key': 'properties.backendAddressPools', 'type': '[ApplicationGatewayBackendAddressPool]'}, + 'backend_http_settings_collection': {'key': 'properties.backendHttpSettingsCollection', 'type': '[ApplicationGatewayBackendHttpSettings]'}, + 'http_listeners': {'key': 'properties.httpListeners', 'type': '[ApplicationGatewayHttpListener]'}, + 'ssl_profiles': {'key': 'properties.sslProfiles', 'type': '[ApplicationGatewaySslProfile]'}, + 'url_path_maps': {'key': 'properties.urlPathMaps', 'type': '[ApplicationGatewayUrlPathMap]'}, + 'request_routing_rules': {'key': 'properties.requestRoutingRules', 'type': '[ApplicationGatewayRequestRoutingRule]'}, + 'rewrite_rule_sets': {'key': 'properties.rewriteRuleSets', 'type': '[ApplicationGatewayRewriteRuleSet]'}, + 'redirect_configurations': {'key': 'properties.redirectConfigurations', 'type': '[ApplicationGatewayRedirectConfiguration]'}, + 'web_application_firewall_configuration': {'key': 'properties.webApplicationFirewallConfiguration', 'type': 'ApplicationGatewayWebApplicationFirewallConfiguration'}, + 'firewall_policy': {'key': 'properties.firewallPolicy', 'type': 'SubResource'}, + 'enable_http2': {'key': 'properties.enableHttp2', 'type': 'bool'}, + 'enable_fips': {'key': 'properties.enableFips', 'type': 'bool'}, + 'autoscale_configuration': {'key': 'properties.autoscaleConfiguration', 'type': 'ApplicationGatewayAutoscaleConfiguration'}, + 'private_link_configurations': {'key': 'properties.privateLinkConfigurations', 'type': '[ApplicationGatewayPrivateLinkConfiguration]'}, + 'private_endpoint_connections': {'key': 'properties.privateEndpointConnections', 'type': '[ApplicationGatewayPrivateEndpointConnection]'}, + 'resource_guid': {'key': 'properties.resourceGuid', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'custom_error_configurations': {'key': 'properties.customErrorConfigurations', 'type': '[ApplicationGatewayCustomError]'}, + 'force_firewall_policy_association': {'key': 'properties.forceFirewallPolicyAssociation', 'type': 'bool'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + location: Optional[str] = None, + tags: Optional[Dict[str, str]] = None, + zones: Optional[List[str]] = None, + identity: Optional["ManagedServiceIdentity"] = None, + sku: Optional["ApplicationGatewaySku"] = None, + ssl_policy: Optional["ApplicationGatewaySslPolicy"] = None, + gateway_ip_configurations: Optional[List["ApplicationGatewayIPConfiguration"]] = None, + authentication_certificates: Optional[List["ApplicationGatewayAuthenticationCertificate"]] = None, + trusted_root_certificates: Optional[List["ApplicationGatewayTrustedRootCertificate"]] = None, + trusted_client_certificates: Optional[List["ApplicationGatewayTrustedClientCertificate"]] = None, + ssl_certificates: Optional[List["ApplicationGatewaySslCertificate"]] = None, + frontend_ip_configurations: Optional[List["ApplicationGatewayFrontendIPConfiguration"]] = None, + frontend_ports: Optional[List["ApplicationGatewayFrontendPort"]] = None, + probes: Optional[List["ApplicationGatewayProbe"]] = None, + backend_address_pools: Optional[List["ApplicationGatewayBackendAddressPool"]] = None, + backend_http_settings_collection: Optional[List["ApplicationGatewayBackendHttpSettings"]] = None, + http_listeners: Optional[List["ApplicationGatewayHttpListener"]] = None, + ssl_profiles: Optional[List["ApplicationGatewaySslProfile"]] = None, + url_path_maps: Optional[List["ApplicationGatewayUrlPathMap"]] = None, + request_routing_rules: Optional[List["ApplicationGatewayRequestRoutingRule"]] = None, + rewrite_rule_sets: Optional[List["ApplicationGatewayRewriteRuleSet"]] = None, + redirect_configurations: Optional[List["ApplicationGatewayRedirectConfiguration"]] = None, + web_application_firewall_configuration: Optional["ApplicationGatewayWebApplicationFirewallConfiguration"] = None, + firewall_policy: Optional["SubResource"] = None, + enable_http2: Optional[bool] = None, + enable_fips: Optional[bool] = None, + autoscale_configuration: Optional["ApplicationGatewayAutoscaleConfiguration"] = None, + private_link_configurations: Optional[List["ApplicationGatewayPrivateLinkConfiguration"]] = None, + custom_error_configurations: Optional[List["ApplicationGatewayCustomError"]] = None, + force_firewall_policy_association: Optional[bool] = None, + **kwargs + ): + super(ApplicationGateway, self).__init__(id=id, location=location, tags=tags, **kwargs) + self.etag = None + self.zones = zones + self.identity = identity + self.sku = sku + self.ssl_policy = ssl_policy + self.operational_state = None + self.gateway_ip_configurations = gateway_ip_configurations + self.authentication_certificates = authentication_certificates + self.trusted_root_certificates = trusted_root_certificates + self.trusted_client_certificates = trusted_client_certificates + self.ssl_certificates = ssl_certificates + self.frontend_ip_configurations = frontend_ip_configurations + self.frontend_ports = frontend_ports + self.probes = probes + self.backend_address_pools = backend_address_pools + self.backend_http_settings_collection = backend_http_settings_collection + self.http_listeners = http_listeners + self.ssl_profiles = ssl_profiles + self.url_path_maps = url_path_maps + self.request_routing_rules = request_routing_rules + self.rewrite_rule_sets = rewrite_rule_sets + self.redirect_configurations = redirect_configurations + self.web_application_firewall_configuration = web_application_firewall_configuration + self.firewall_policy = firewall_policy + self.enable_http2 = enable_http2 + self.enable_fips = enable_fips + self.autoscale_configuration = autoscale_configuration + self.private_link_configurations = private_link_configurations + self.private_endpoint_connections = None + self.resource_guid = None + self.provisioning_state = None + self.custom_error_configurations = custom_error_configurations + self.force_firewall_policy_association = force_firewall_policy_association + + +class SubResource(msrest.serialization.Model): + """Reference to another subresource. + + :param id: Resource ID. + :type id: str + """ + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + **kwargs + ): + super(SubResource, self).__init__(**kwargs) + self.id = id + + +class ApplicationGatewayAuthenticationCertificate(SubResource): + """Authentication certificates of an application gateway. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: Name of the authentication certificate that is unique within an Application + Gateway. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str + :param data: Certificate public data. + :type data: str + :ivar provisioning_state: The provisioning state of the authentication certificate resource. + Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'data': {'key': 'properties.data', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + name: Optional[str] = None, + data: Optional[str] = None, + **kwargs + ): + super(ApplicationGatewayAuthenticationCertificate, self).__init__(id=id, **kwargs) + self.name = name + self.etag = None + self.type = None + self.data = data + self.provisioning_state = None + + +class ApplicationGatewayAutoscaleConfiguration(msrest.serialization.Model): + """Application Gateway autoscale configuration. + + All required parameters must be populated in order to send to Azure. + + :param min_capacity: Required. Lower bound on number of Application Gateway capacity. + :type min_capacity: int + :param max_capacity: Upper bound on number of Application Gateway capacity. + :type max_capacity: int + """ + + _validation = { + 'min_capacity': {'required': True, 'minimum': 0}, + 'max_capacity': {'minimum': 2}, + } + + _attribute_map = { + 'min_capacity': {'key': 'minCapacity', 'type': 'int'}, + 'max_capacity': {'key': 'maxCapacity', 'type': 'int'}, + } + + def __init__( + self, + *, + min_capacity: int, + max_capacity: Optional[int] = None, + **kwargs + ): + super(ApplicationGatewayAutoscaleConfiguration, self).__init__(**kwargs) + self.min_capacity = min_capacity + self.max_capacity = max_capacity + + +class ApplicationGatewayAvailableSslOptions(Resource): + """Response for ApplicationGatewayAvailableSslOptions API service call. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :param predefined_policies: List of available Ssl predefined policy. + :type predefined_policies: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + :param default_policy: Name of the Ssl predefined policy applied by default to application + gateway. Possible values include: "AppGwSslPolicy20150501", "AppGwSslPolicy20170401", + "AppGwSslPolicy20170401S". + :type default_policy: str or + ~azure.mgmt.network.v2021_02_01.models.ApplicationGatewaySslPolicyName + :param available_cipher_suites: List of available Ssl cipher suites. + :type available_cipher_suites: list[str or + ~azure.mgmt.network.v2021_02_01.models.ApplicationGatewaySslCipherSuite] + :param available_protocols: List of available Ssl protocols. + :type available_protocols: list[str or + ~azure.mgmt.network.v2021_02_01.models.ApplicationGatewaySslProtocol] + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'predefined_policies': {'key': 'properties.predefinedPolicies', 'type': '[SubResource]'}, + 'default_policy': {'key': 'properties.defaultPolicy', 'type': 'str'}, + 'available_cipher_suites': {'key': 'properties.availableCipherSuites', 'type': '[str]'}, + 'available_protocols': {'key': 'properties.availableProtocols', 'type': '[str]'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + location: Optional[str] = None, + tags: Optional[Dict[str, str]] = None, + predefined_policies: Optional[List["SubResource"]] = None, + default_policy: Optional[Union[str, "ApplicationGatewaySslPolicyName"]] = None, + available_cipher_suites: Optional[List[Union[str, "ApplicationGatewaySslCipherSuite"]]] = None, + available_protocols: Optional[List[Union[str, "ApplicationGatewaySslProtocol"]]] = None, + **kwargs + ): + super(ApplicationGatewayAvailableSslOptions, self).__init__(id=id, location=location, tags=tags, **kwargs) + self.predefined_policies = predefined_policies + self.default_policy = default_policy + self.available_cipher_suites = available_cipher_suites + self.available_protocols = available_protocols + + +class ApplicationGatewayAvailableSslPredefinedPolicies(msrest.serialization.Model): + """Response for ApplicationGatewayAvailableSslOptions API service call. + + :param value: List of available Ssl predefined policy. + :type value: list[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewaySslPredefinedPolicy] + :param next_link: URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[ApplicationGatewaySslPredefinedPolicy]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["ApplicationGatewaySslPredefinedPolicy"]] = None, + next_link: Optional[str] = None, + **kwargs + ): + super(ApplicationGatewayAvailableSslPredefinedPolicies, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class ApplicationGatewayAvailableWafRuleSetsResult(msrest.serialization.Model): + """Response for ApplicationGatewayAvailableWafRuleSets API service call. + + :param value: The list of application gateway rule sets. + :type value: list[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayFirewallRuleSet] + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[ApplicationGatewayFirewallRuleSet]'}, + } + + def __init__( + self, + *, + value: Optional[List["ApplicationGatewayFirewallRuleSet"]] = None, + **kwargs + ): + super(ApplicationGatewayAvailableWafRuleSetsResult, self).__init__(**kwargs) + self.value = value + + +class ApplicationGatewayBackendAddress(msrest.serialization.Model): + """Backend address of an application gateway. + + :param fqdn: Fully qualified domain name (FQDN). + :type fqdn: str + :param ip_address: IP address. + :type ip_address: str + """ + + _attribute_map = { + 'fqdn': {'key': 'fqdn', 'type': 'str'}, + 'ip_address': {'key': 'ipAddress', 'type': 'str'}, + } + + def __init__( + self, + *, + fqdn: Optional[str] = None, + ip_address: Optional[str] = None, + **kwargs + ): + super(ApplicationGatewayBackendAddress, self).__init__(**kwargs) + self.fqdn = fqdn + self.ip_address = ip_address + + +class ApplicationGatewayBackendAddressPool(SubResource): + """Backend Address Pool of an application gateway. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: Name of the backend address pool that is unique within an Application Gateway. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str + :ivar backend_ip_configurations: Collection of references to IPs defined in network interfaces. + :vartype backend_ip_configurations: + list[~azure.mgmt.network.v2021_02_01.models.NetworkInterfaceIPConfiguration] + :param backend_addresses: Backend addresses. + :type backend_addresses: + list[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayBackendAddress] + :ivar provisioning_state: The provisioning state of the backend address pool resource. Possible + values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'backend_ip_configurations': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'backend_ip_configurations': {'key': 'properties.backendIPConfigurations', 'type': '[NetworkInterfaceIPConfiguration]'}, + 'backend_addresses': {'key': 'properties.backendAddresses', 'type': '[ApplicationGatewayBackendAddress]'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + name: Optional[str] = None, + backend_addresses: Optional[List["ApplicationGatewayBackendAddress"]] = None, + **kwargs + ): + super(ApplicationGatewayBackendAddressPool, self).__init__(id=id, **kwargs) + self.name = name + self.etag = None + self.type = None + self.backend_ip_configurations = None + self.backend_addresses = backend_addresses + self.provisioning_state = None + + +class ApplicationGatewayBackendHealth(msrest.serialization.Model): + """Response for ApplicationGatewayBackendHealth API service call. + + :param backend_address_pools: A list of ApplicationGatewayBackendHealthPool resources. + :type backend_address_pools: + list[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayBackendHealthPool] + """ + + _attribute_map = { + 'backend_address_pools': {'key': 'backendAddressPools', 'type': '[ApplicationGatewayBackendHealthPool]'}, + } + + def __init__( + self, + *, + backend_address_pools: Optional[List["ApplicationGatewayBackendHealthPool"]] = None, + **kwargs + ): + super(ApplicationGatewayBackendHealth, self).__init__(**kwargs) + self.backend_address_pools = backend_address_pools + + +class ApplicationGatewayBackendHealthHttpSettings(msrest.serialization.Model): + """Application gateway BackendHealthHttp settings. + + :param backend_http_settings: Reference to an ApplicationGatewayBackendHttpSettings resource. + :type backend_http_settings: + ~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayBackendHttpSettings + :param servers: List of ApplicationGatewayBackendHealthServer resources. + :type servers: + list[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayBackendHealthServer] + """ + + _attribute_map = { + 'backend_http_settings': {'key': 'backendHttpSettings', 'type': 'ApplicationGatewayBackendHttpSettings'}, + 'servers': {'key': 'servers', 'type': '[ApplicationGatewayBackendHealthServer]'}, + } + + def __init__( + self, + *, + backend_http_settings: Optional["ApplicationGatewayBackendHttpSettings"] = None, + servers: Optional[List["ApplicationGatewayBackendHealthServer"]] = None, + **kwargs + ): + super(ApplicationGatewayBackendHealthHttpSettings, self).__init__(**kwargs) + self.backend_http_settings = backend_http_settings + self.servers = servers + + +class ApplicationGatewayBackendHealthOnDemand(msrest.serialization.Model): + """Result of on demand test probe. + + :param backend_address_pool: Reference to an ApplicationGatewayBackendAddressPool resource. + :type backend_address_pool: + ~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayBackendAddressPool + :param backend_health_http_settings: Application gateway BackendHealthHttp settings. + :type backend_health_http_settings: + ~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayBackendHealthHttpSettings + """ + + _attribute_map = { + 'backend_address_pool': {'key': 'backendAddressPool', 'type': 'ApplicationGatewayBackendAddressPool'}, + 'backend_health_http_settings': {'key': 'backendHealthHttpSettings', 'type': 'ApplicationGatewayBackendHealthHttpSettings'}, + } + + def __init__( + self, + *, + backend_address_pool: Optional["ApplicationGatewayBackendAddressPool"] = None, + backend_health_http_settings: Optional["ApplicationGatewayBackendHealthHttpSettings"] = None, + **kwargs + ): + super(ApplicationGatewayBackendHealthOnDemand, self).__init__(**kwargs) + self.backend_address_pool = backend_address_pool + self.backend_health_http_settings = backend_health_http_settings + + +class ApplicationGatewayBackendHealthPool(msrest.serialization.Model): + """Application gateway BackendHealth pool. + + :param backend_address_pool: Reference to an ApplicationGatewayBackendAddressPool resource. + :type backend_address_pool: + ~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayBackendAddressPool + :param backend_http_settings_collection: List of ApplicationGatewayBackendHealthHttpSettings + resources. + :type backend_http_settings_collection: + list[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayBackendHealthHttpSettings] + """ + + _attribute_map = { + 'backend_address_pool': {'key': 'backendAddressPool', 'type': 'ApplicationGatewayBackendAddressPool'}, + 'backend_http_settings_collection': {'key': 'backendHttpSettingsCollection', 'type': '[ApplicationGatewayBackendHealthHttpSettings]'}, + } + + def __init__( + self, + *, + backend_address_pool: Optional["ApplicationGatewayBackendAddressPool"] = None, + backend_http_settings_collection: Optional[List["ApplicationGatewayBackendHealthHttpSettings"]] = None, + **kwargs + ): + super(ApplicationGatewayBackendHealthPool, self).__init__(**kwargs) + self.backend_address_pool = backend_address_pool + self.backend_http_settings_collection = backend_http_settings_collection + + +class ApplicationGatewayBackendHealthServer(msrest.serialization.Model): + """Application gateway backendhealth http settings. + + :param address: IP address or FQDN of backend server. + :type address: str + :param ip_configuration: Reference to IP configuration of backend server. + :type ip_configuration: ~azure.mgmt.network.v2021_02_01.models.NetworkInterfaceIPConfiguration + :param health: Health of backend server. Possible values include: "Unknown", "Up", "Down", + "Partial", "Draining". + :type health: str or + ~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayBackendHealthServerHealth + :param health_probe_log: Health Probe Log. + :type health_probe_log: str + """ + + _attribute_map = { + 'address': {'key': 'address', 'type': 'str'}, + 'ip_configuration': {'key': 'ipConfiguration', 'type': 'NetworkInterfaceIPConfiguration'}, + 'health': {'key': 'health', 'type': 'str'}, + 'health_probe_log': {'key': 'healthProbeLog', 'type': 'str'}, + } + + def __init__( + self, + *, + address: Optional[str] = None, + ip_configuration: Optional["NetworkInterfaceIPConfiguration"] = None, + health: Optional[Union[str, "ApplicationGatewayBackendHealthServerHealth"]] = None, + health_probe_log: Optional[str] = None, + **kwargs + ): + super(ApplicationGatewayBackendHealthServer, self).__init__(**kwargs) + self.address = address + self.ip_configuration = ip_configuration + self.health = health + self.health_probe_log = health_probe_log + + +class ApplicationGatewayBackendHttpSettings(SubResource): + """Backend address pool settings of an application gateway. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: Name of the backend http settings that is unique within an Application Gateway. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str + :param port: The destination port on the backend. + :type port: int + :param protocol: The protocol used to communicate with the backend. Possible values include: + "Http", "Https". + :type protocol: str or ~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayProtocol + :param cookie_based_affinity: Cookie based affinity. Possible values include: "Enabled", + "Disabled". + :type cookie_based_affinity: str or + ~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayCookieBasedAffinity + :param request_timeout: Request timeout in seconds. Application Gateway will fail the request + if response is not received within RequestTimeout. Acceptable values are from 1 second to 86400 + seconds. + :type request_timeout: int + :param probe: Probe resource of an application gateway. + :type probe: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param authentication_certificates: Array of references to application gateway authentication + certificates. + :type authentication_certificates: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + :param trusted_root_certificates: Array of references to application gateway trusted root + certificates. + :type trusted_root_certificates: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + :param connection_draining: Connection draining of the backend http settings resource. + :type connection_draining: + ~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayConnectionDraining + :param host_name: Host header to be sent to the backend servers. + :type host_name: str + :param pick_host_name_from_backend_address: Whether to pick host header should be picked from + the host name of the backend server. Default value is false. + :type pick_host_name_from_backend_address: bool + :param affinity_cookie_name: Cookie name to use for the affinity cookie. + :type affinity_cookie_name: str + :param probe_enabled: Whether the probe is enabled. Default value is false. + :type probe_enabled: bool + :param path: Path which should be used as a prefix for all HTTP requests. Null means no path + will be prefixed. Default value is null. + :type path: str + :ivar provisioning_state: The provisioning state of the backend HTTP settings resource. + Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'port': {'key': 'properties.port', 'type': 'int'}, + 'protocol': {'key': 'properties.protocol', 'type': 'str'}, + 'cookie_based_affinity': {'key': 'properties.cookieBasedAffinity', 'type': 'str'}, + 'request_timeout': {'key': 'properties.requestTimeout', 'type': 'int'}, + 'probe': {'key': 'properties.probe', 'type': 'SubResource'}, + 'authentication_certificates': {'key': 'properties.authenticationCertificates', 'type': '[SubResource]'}, + 'trusted_root_certificates': {'key': 'properties.trustedRootCertificates', 'type': '[SubResource]'}, + 'connection_draining': {'key': 'properties.connectionDraining', 'type': 'ApplicationGatewayConnectionDraining'}, + 'host_name': {'key': 'properties.hostName', 'type': 'str'}, + 'pick_host_name_from_backend_address': {'key': 'properties.pickHostNameFromBackendAddress', 'type': 'bool'}, + 'affinity_cookie_name': {'key': 'properties.affinityCookieName', 'type': 'str'}, + 'probe_enabled': {'key': 'properties.probeEnabled', 'type': 'bool'}, + 'path': {'key': 'properties.path', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + name: Optional[str] = None, + port: Optional[int] = None, + protocol: Optional[Union[str, "ApplicationGatewayProtocol"]] = None, + cookie_based_affinity: Optional[Union[str, "ApplicationGatewayCookieBasedAffinity"]] = None, + request_timeout: Optional[int] = None, + probe: Optional["SubResource"] = None, + authentication_certificates: Optional[List["SubResource"]] = None, + trusted_root_certificates: Optional[List["SubResource"]] = None, + connection_draining: Optional["ApplicationGatewayConnectionDraining"] = None, + host_name: Optional[str] = None, + pick_host_name_from_backend_address: Optional[bool] = None, + affinity_cookie_name: Optional[str] = None, + probe_enabled: Optional[bool] = None, + path: Optional[str] = None, + **kwargs + ): + super(ApplicationGatewayBackendHttpSettings, self).__init__(id=id, **kwargs) + self.name = name + self.etag = None + self.type = None + self.port = port + self.protocol = protocol + self.cookie_based_affinity = cookie_based_affinity + self.request_timeout = request_timeout + self.probe = probe + self.authentication_certificates = authentication_certificates + self.trusted_root_certificates = trusted_root_certificates + self.connection_draining = connection_draining + self.host_name = host_name + self.pick_host_name_from_backend_address = pick_host_name_from_backend_address + self.affinity_cookie_name = affinity_cookie_name + self.probe_enabled = probe_enabled + self.path = path + self.provisioning_state = None + + +class ApplicationGatewayClientAuthConfiguration(msrest.serialization.Model): + """Application gateway client authentication configuration. + + :param verify_client_cert_issuer_dn: Verify client certificate issuer name on the application + gateway. + :type verify_client_cert_issuer_dn: bool + """ + + _attribute_map = { + 'verify_client_cert_issuer_dn': {'key': 'verifyClientCertIssuerDN', 'type': 'bool'}, + } + + def __init__( + self, + *, + verify_client_cert_issuer_dn: Optional[bool] = None, + **kwargs + ): + super(ApplicationGatewayClientAuthConfiguration, self).__init__(**kwargs) + self.verify_client_cert_issuer_dn = verify_client_cert_issuer_dn + + +class ApplicationGatewayConnectionDraining(msrest.serialization.Model): + """Connection draining allows open connections to a backend server to be active for a specified time after the backend server got removed from the configuration. + + All required parameters must be populated in order to send to Azure. + + :param enabled: Required. Whether connection draining is enabled or not. + :type enabled: bool + :param drain_timeout_in_sec: Required. The number of seconds connection draining is active. + Acceptable values are from 1 second to 3600 seconds. + :type drain_timeout_in_sec: int + """ + + _validation = { + 'enabled': {'required': True}, + 'drain_timeout_in_sec': {'required': True, 'maximum': 3600, 'minimum': 1}, + } + + _attribute_map = { + 'enabled': {'key': 'enabled', 'type': 'bool'}, + 'drain_timeout_in_sec': {'key': 'drainTimeoutInSec', 'type': 'int'}, + } + + def __init__( + self, + *, + enabled: bool, + drain_timeout_in_sec: int, + **kwargs + ): + super(ApplicationGatewayConnectionDraining, self).__init__(**kwargs) + self.enabled = enabled + self.drain_timeout_in_sec = drain_timeout_in_sec + + +class ApplicationGatewayCustomError(msrest.serialization.Model): + """Customer error of an application gateway. + + :param status_code: Status code of the application gateway customer error. Possible values + include: "HttpStatus403", "HttpStatus502". + :type status_code: str or + ~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayCustomErrorStatusCode + :param custom_error_page_url: Error page URL of the application gateway customer error. + :type custom_error_page_url: str + """ + + _attribute_map = { + 'status_code': {'key': 'statusCode', 'type': 'str'}, + 'custom_error_page_url': {'key': 'customErrorPageUrl', 'type': 'str'}, + } + + def __init__( + self, + *, + status_code: Optional[Union[str, "ApplicationGatewayCustomErrorStatusCode"]] = None, + custom_error_page_url: Optional[str] = None, + **kwargs + ): + super(ApplicationGatewayCustomError, self).__init__(**kwargs) + self.status_code = status_code + self.custom_error_page_url = custom_error_page_url + + +class ApplicationGatewayFirewallDisabledRuleGroup(msrest.serialization.Model): + """Allows to disable rules within a rule group or an entire rule group. + + All required parameters must be populated in order to send to Azure. + + :param rule_group_name: Required. The name of the rule group that will be disabled. + :type rule_group_name: str + :param rules: The list of rules that will be disabled. If null, all rules of the rule group + will be disabled. + :type rules: list[int] + """ + + _validation = { + 'rule_group_name': {'required': True}, + } + + _attribute_map = { + 'rule_group_name': {'key': 'ruleGroupName', 'type': 'str'}, + 'rules': {'key': 'rules', 'type': '[int]'}, + } + + def __init__( + self, + *, + rule_group_name: str, + rules: Optional[List[int]] = None, + **kwargs + ): + super(ApplicationGatewayFirewallDisabledRuleGroup, self).__init__(**kwargs) + self.rule_group_name = rule_group_name + self.rules = rules + + +class ApplicationGatewayFirewallExclusion(msrest.serialization.Model): + """Allow to exclude some variable satisfy the condition for the WAF check. + + All required parameters must be populated in order to send to Azure. + + :param match_variable: Required. The variable to be excluded. + :type match_variable: str + :param selector_match_operator: Required. When matchVariable is a collection, operate on the + selector to specify which elements in the collection this exclusion applies to. + :type selector_match_operator: str + :param selector: Required. When matchVariable is a collection, operator used to specify which + elements in the collection this exclusion applies to. + :type selector: str + """ + + _validation = { + 'match_variable': {'required': True}, + 'selector_match_operator': {'required': True}, + 'selector': {'required': True}, + } + + _attribute_map = { + 'match_variable': {'key': 'matchVariable', 'type': 'str'}, + 'selector_match_operator': {'key': 'selectorMatchOperator', 'type': 'str'}, + 'selector': {'key': 'selector', 'type': 'str'}, + } + + def __init__( + self, + *, + match_variable: str, + selector_match_operator: str, + selector: str, + **kwargs + ): + super(ApplicationGatewayFirewallExclusion, self).__init__(**kwargs) + self.match_variable = match_variable + self.selector_match_operator = selector_match_operator + self.selector = selector + + +class ApplicationGatewayFirewallRule(msrest.serialization.Model): + """A web application firewall rule. + + All required parameters must be populated in order to send to Azure. + + :param rule_id: Required. The identifier of the web application firewall rule. + :type rule_id: int + :param description: The description of the web application firewall rule. + :type description: str + """ + + _validation = { + 'rule_id': {'required': True}, + } + + _attribute_map = { + 'rule_id': {'key': 'ruleId', 'type': 'int'}, + 'description': {'key': 'description', 'type': 'str'}, + } + + def __init__( + self, + *, + rule_id: int, + description: Optional[str] = None, + **kwargs + ): + super(ApplicationGatewayFirewallRule, self).__init__(**kwargs) + self.rule_id = rule_id + self.description = description + + +class ApplicationGatewayFirewallRuleGroup(msrest.serialization.Model): + """A web application firewall rule group. + + All required parameters must be populated in order to send to Azure. + + :param rule_group_name: Required. The name of the web application firewall rule group. + :type rule_group_name: str + :param description: The description of the web application firewall rule group. + :type description: str + :param rules: Required. The rules of the web application firewall rule group. + :type rules: list[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayFirewallRule] + """ + + _validation = { + 'rule_group_name': {'required': True}, + 'rules': {'required': True}, + } + + _attribute_map = { + 'rule_group_name': {'key': 'ruleGroupName', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + 'rules': {'key': 'rules', 'type': '[ApplicationGatewayFirewallRule]'}, + } + + def __init__( + self, + *, + rule_group_name: str, + rules: List["ApplicationGatewayFirewallRule"], + description: Optional[str] = None, + **kwargs + ): + super(ApplicationGatewayFirewallRuleGroup, self).__init__(**kwargs) + self.rule_group_name = rule_group_name + self.description = description + self.rules = rules + + +class ApplicationGatewayFirewallRuleSet(Resource): + """A web application firewall rule set. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :ivar provisioning_state: The provisioning state of the web application firewall rule set. + Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :param rule_set_type: The type of the web application firewall rule set. + :type rule_set_type: str + :param rule_set_version: The version of the web application firewall rule set type. + :type rule_set_version: str + :param rule_groups: The rule groups of the web application firewall rule set. + :type rule_groups: + list[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayFirewallRuleGroup] + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'rule_set_type': {'key': 'properties.ruleSetType', 'type': 'str'}, + 'rule_set_version': {'key': 'properties.ruleSetVersion', 'type': 'str'}, + 'rule_groups': {'key': 'properties.ruleGroups', 'type': '[ApplicationGatewayFirewallRuleGroup]'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + location: Optional[str] = None, + tags: Optional[Dict[str, str]] = None, + rule_set_type: Optional[str] = None, + rule_set_version: Optional[str] = None, + rule_groups: Optional[List["ApplicationGatewayFirewallRuleGroup"]] = None, + **kwargs + ): + super(ApplicationGatewayFirewallRuleSet, self).__init__(id=id, location=location, tags=tags, **kwargs) + self.provisioning_state = None + self.rule_set_type = rule_set_type + self.rule_set_version = rule_set_version + self.rule_groups = rule_groups + + +class ApplicationGatewayFrontendIPConfiguration(SubResource): + """Frontend IP configuration of an application gateway. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: Name of the frontend IP configuration that is unique within an Application + Gateway. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str + :param private_ip_address: PrivateIPAddress of the network interface IP Configuration. + :type private_ip_address: str + :param private_ip_allocation_method: The private IP address allocation method. Possible values + include: "Static", "Dynamic". + :type private_ip_allocation_method: str or + ~azure.mgmt.network.v2021_02_01.models.IPAllocationMethod + :param subnet: Reference to the subnet resource. + :type subnet: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param public_ip_address: Reference to the PublicIP resource. + :type public_ip_address: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param private_link_configuration: Reference to the application gateway private link + configuration. + :type private_link_configuration: ~azure.mgmt.network.v2021_02_01.models.SubResource + :ivar provisioning_state: The provisioning state of the frontend IP configuration resource. + Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'private_ip_address': {'key': 'properties.privateIPAddress', 'type': 'str'}, + 'private_ip_allocation_method': {'key': 'properties.privateIPAllocationMethod', 'type': 'str'}, + 'subnet': {'key': 'properties.subnet', 'type': 'SubResource'}, + 'public_ip_address': {'key': 'properties.publicIPAddress', 'type': 'SubResource'}, + 'private_link_configuration': {'key': 'properties.privateLinkConfiguration', 'type': 'SubResource'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + name: Optional[str] = None, + private_ip_address: Optional[str] = None, + private_ip_allocation_method: Optional[Union[str, "IPAllocationMethod"]] = None, + subnet: Optional["SubResource"] = None, + public_ip_address: Optional["SubResource"] = None, + private_link_configuration: Optional["SubResource"] = None, + **kwargs + ): + super(ApplicationGatewayFrontendIPConfiguration, self).__init__(id=id, **kwargs) + self.name = name + self.etag = None + self.type = None + self.private_ip_address = private_ip_address + self.private_ip_allocation_method = private_ip_allocation_method + self.subnet = subnet + self.public_ip_address = public_ip_address + self.private_link_configuration = private_link_configuration + self.provisioning_state = None + + +class ApplicationGatewayFrontendPort(SubResource): + """Frontend port of an application gateway. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: Name of the frontend port that is unique within an Application Gateway. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str + :param port: Frontend port. + :type port: int + :ivar provisioning_state: The provisioning state of the frontend port resource. Possible values + include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'port': {'key': 'properties.port', 'type': 'int'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + name: Optional[str] = None, + port: Optional[int] = None, + **kwargs + ): + super(ApplicationGatewayFrontendPort, self).__init__(id=id, **kwargs) + self.name = name + self.etag = None + self.type = None + self.port = port + self.provisioning_state = None + + +class ApplicationGatewayHeaderConfiguration(msrest.serialization.Model): + """Header configuration of the Actions set in Application Gateway. + + :param header_name: Header name of the header configuration. + :type header_name: str + :param header_value: Header value of the header configuration. + :type header_value: str + """ + + _attribute_map = { + 'header_name': {'key': 'headerName', 'type': 'str'}, + 'header_value': {'key': 'headerValue', 'type': 'str'}, + } + + def __init__( + self, + *, + header_name: Optional[str] = None, + header_value: Optional[str] = None, + **kwargs + ): + super(ApplicationGatewayHeaderConfiguration, self).__init__(**kwargs) + self.header_name = header_name + self.header_value = header_value + + +class ApplicationGatewayHttpListener(SubResource): + """Http listener of an application gateway. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: Name of the HTTP listener that is unique within an Application Gateway. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str + :param frontend_ip_configuration: Frontend IP configuration resource of an application gateway. + :type frontend_ip_configuration: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param frontend_port: Frontend port resource of an application gateway. + :type frontend_port: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param protocol: Protocol of the HTTP listener. Possible values include: "Http", "Https". + :type protocol: str or ~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayProtocol + :param host_name: Host name of HTTP listener. + :type host_name: str + :param ssl_certificate: SSL certificate resource of an application gateway. + :type ssl_certificate: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param ssl_profile: SSL profile resource of the application gateway. + :type ssl_profile: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param require_server_name_indication: Applicable only if protocol is https. Enables SNI for + multi-hosting. + :type require_server_name_indication: bool + :ivar provisioning_state: The provisioning state of the HTTP listener resource. Possible values + include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :param custom_error_configurations: Custom error configurations of the HTTP listener. + :type custom_error_configurations: + list[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayCustomError] + :param firewall_policy: Reference to the FirewallPolicy resource. + :type firewall_policy: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param host_names: List of Host names for HTTP Listener that allows special wildcard characters + as well. + :type host_names: list[str] + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'frontend_ip_configuration': {'key': 'properties.frontendIPConfiguration', 'type': 'SubResource'}, + 'frontend_port': {'key': 'properties.frontendPort', 'type': 'SubResource'}, + 'protocol': {'key': 'properties.protocol', 'type': 'str'}, + 'host_name': {'key': 'properties.hostName', 'type': 'str'}, + 'ssl_certificate': {'key': 'properties.sslCertificate', 'type': 'SubResource'}, + 'ssl_profile': {'key': 'properties.sslProfile', 'type': 'SubResource'}, + 'require_server_name_indication': {'key': 'properties.requireServerNameIndication', 'type': 'bool'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'custom_error_configurations': {'key': 'properties.customErrorConfigurations', 'type': '[ApplicationGatewayCustomError]'}, + 'firewall_policy': {'key': 'properties.firewallPolicy', 'type': 'SubResource'}, + 'host_names': {'key': 'properties.hostNames', 'type': '[str]'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + name: Optional[str] = None, + frontend_ip_configuration: Optional["SubResource"] = None, + frontend_port: Optional["SubResource"] = None, + protocol: Optional[Union[str, "ApplicationGatewayProtocol"]] = None, + host_name: Optional[str] = None, + ssl_certificate: Optional["SubResource"] = None, + ssl_profile: Optional["SubResource"] = None, + require_server_name_indication: Optional[bool] = None, + custom_error_configurations: Optional[List["ApplicationGatewayCustomError"]] = None, + firewall_policy: Optional["SubResource"] = None, + host_names: Optional[List[str]] = None, + **kwargs + ): + super(ApplicationGatewayHttpListener, self).__init__(id=id, **kwargs) + self.name = name + self.etag = None + self.type = None + self.frontend_ip_configuration = frontend_ip_configuration + self.frontend_port = frontend_port + self.protocol = protocol + self.host_name = host_name + self.ssl_certificate = ssl_certificate + self.ssl_profile = ssl_profile + self.require_server_name_indication = require_server_name_indication + self.provisioning_state = None + self.custom_error_configurations = custom_error_configurations + self.firewall_policy = firewall_policy + self.host_names = host_names + + +class ApplicationGatewayIPConfiguration(SubResource): + """IP configuration of an application gateway. Currently 1 public and 1 private IP configuration is allowed. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: Name of the IP configuration that is unique within an Application Gateway. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str + :param subnet: Reference to the subnet resource. A subnet from where application gateway gets + its private address. + :type subnet: ~azure.mgmt.network.v2021_02_01.models.SubResource + :ivar provisioning_state: The provisioning state of the application gateway IP configuration + resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'subnet': {'key': 'properties.subnet', 'type': 'SubResource'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + name: Optional[str] = None, + subnet: Optional["SubResource"] = None, + **kwargs + ): + super(ApplicationGatewayIPConfiguration, self).__init__(id=id, **kwargs) + self.name = name + self.etag = None + self.type = None + self.subnet = subnet + self.provisioning_state = None + + +class ApplicationGatewayListResult(msrest.serialization.Model): + """Response for ListApplicationGateways API service call. + + :param value: List of an application gateways in a resource group. + :type value: list[~azure.mgmt.network.v2021_02_01.models.ApplicationGateway] + :param next_link: URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[ApplicationGateway]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["ApplicationGateway"]] = None, + next_link: Optional[str] = None, + **kwargs + ): + super(ApplicationGatewayListResult, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class ApplicationGatewayOnDemandProbe(msrest.serialization.Model): + """Details of on demand test probe request. + + :param protocol: The protocol used for the probe. Possible values include: "Http", "Https". + :type protocol: str or ~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayProtocol + :param host: Host name to send the probe to. + :type host: str + :param path: Relative path of probe. Valid path starts from '/'. Probe is sent to + :code:``://:code:``::code:``:code:``. + :type path: str + :param timeout: The probe timeout in seconds. Probe marked as failed if valid response is not + received with this timeout period. Acceptable values are from 1 second to 86400 seconds. + :type timeout: int + :param pick_host_name_from_backend_http_settings: Whether the host header should be picked from + the backend http settings. Default value is false. + :type pick_host_name_from_backend_http_settings: bool + :param match: Criterion for classifying a healthy probe response. + :type match: ~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayProbeHealthResponseMatch + :param backend_address_pool: Reference to backend pool of application gateway to which probe + request will be sent. + :type backend_address_pool: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param backend_http_settings: Reference to backend http setting of application gateway to be + used for test probe. + :type backend_http_settings: ~azure.mgmt.network.v2021_02_01.models.SubResource + """ + + _attribute_map = { + 'protocol': {'key': 'protocol', 'type': 'str'}, + 'host': {'key': 'host', 'type': 'str'}, + 'path': {'key': 'path', 'type': 'str'}, + 'timeout': {'key': 'timeout', 'type': 'int'}, + 'pick_host_name_from_backend_http_settings': {'key': 'pickHostNameFromBackendHttpSettings', 'type': 'bool'}, + 'match': {'key': 'match', 'type': 'ApplicationGatewayProbeHealthResponseMatch'}, + 'backend_address_pool': {'key': 'backendAddressPool', 'type': 'SubResource'}, + 'backend_http_settings': {'key': 'backendHttpSettings', 'type': 'SubResource'}, + } + + def __init__( + self, + *, + protocol: Optional[Union[str, "ApplicationGatewayProtocol"]] = None, + host: Optional[str] = None, + path: Optional[str] = None, + timeout: Optional[int] = None, + pick_host_name_from_backend_http_settings: Optional[bool] = None, + match: Optional["ApplicationGatewayProbeHealthResponseMatch"] = None, + backend_address_pool: Optional["SubResource"] = None, + backend_http_settings: Optional["SubResource"] = None, + **kwargs + ): + super(ApplicationGatewayOnDemandProbe, self).__init__(**kwargs) + self.protocol = protocol + self.host = host + self.path = path + self.timeout = timeout + self.pick_host_name_from_backend_http_settings = pick_host_name_from_backend_http_settings + self.match = match + self.backend_address_pool = backend_address_pool + self.backend_http_settings = backend_http_settings + + +class ApplicationGatewayPathRule(SubResource): + """Path rule of URL path map of an application gateway. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: Name of the path rule that is unique within an Application Gateway. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str + :param paths: Path rules of URL path map. + :type paths: list[str] + :param backend_address_pool: Backend address pool resource of URL path map path rule. + :type backend_address_pool: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param backend_http_settings: Backend http settings resource of URL path map path rule. + :type backend_http_settings: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param redirect_configuration: Redirect configuration resource of URL path map path rule. + :type redirect_configuration: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param rewrite_rule_set: Rewrite rule set resource of URL path map path rule. + :type rewrite_rule_set: ~azure.mgmt.network.v2021_02_01.models.SubResource + :ivar provisioning_state: The provisioning state of the path rule resource. Possible values + include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :param firewall_policy: Reference to the FirewallPolicy resource. + :type firewall_policy: ~azure.mgmt.network.v2021_02_01.models.SubResource + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'paths': {'key': 'properties.paths', 'type': '[str]'}, + 'backend_address_pool': {'key': 'properties.backendAddressPool', 'type': 'SubResource'}, + 'backend_http_settings': {'key': 'properties.backendHttpSettings', 'type': 'SubResource'}, + 'redirect_configuration': {'key': 'properties.redirectConfiguration', 'type': 'SubResource'}, + 'rewrite_rule_set': {'key': 'properties.rewriteRuleSet', 'type': 'SubResource'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'firewall_policy': {'key': 'properties.firewallPolicy', 'type': 'SubResource'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + name: Optional[str] = None, + paths: Optional[List[str]] = None, + backend_address_pool: Optional["SubResource"] = None, + backend_http_settings: Optional["SubResource"] = None, + redirect_configuration: Optional["SubResource"] = None, + rewrite_rule_set: Optional["SubResource"] = None, + firewall_policy: Optional["SubResource"] = None, + **kwargs + ): + super(ApplicationGatewayPathRule, self).__init__(id=id, **kwargs) + self.name = name + self.etag = None + self.type = None + self.paths = paths + self.backend_address_pool = backend_address_pool + self.backend_http_settings = backend_http_settings + self.redirect_configuration = redirect_configuration + self.rewrite_rule_set = rewrite_rule_set + self.provisioning_state = None + self.firewall_policy = firewall_policy + + +class ApplicationGatewayPrivateEndpointConnection(SubResource): + """Private Endpoint connection on an application gateway. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: Name of the private endpoint connection on an application gateway. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str + :ivar private_endpoint: The resource of private end point. + :vartype private_endpoint: ~azure.mgmt.network.v2021_02_01.models.PrivateEndpoint + :param private_link_service_connection_state: A collection of information about the state of + the connection between service consumer and provider. + :type private_link_service_connection_state: + ~azure.mgmt.network.v2021_02_01.models.PrivateLinkServiceConnectionState + :ivar provisioning_state: The provisioning state of the application gateway private endpoint + connection resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :ivar link_identifier: The consumer link id. + :vartype link_identifier: str + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'private_endpoint': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'link_identifier': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'private_endpoint': {'key': 'properties.privateEndpoint', 'type': 'PrivateEndpoint'}, + 'private_link_service_connection_state': {'key': 'properties.privateLinkServiceConnectionState', 'type': 'PrivateLinkServiceConnectionState'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'link_identifier': {'key': 'properties.linkIdentifier', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + name: Optional[str] = None, + private_link_service_connection_state: Optional["PrivateLinkServiceConnectionState"] = None, + **kwargs + ): + super(ApplicationGatewayPrivateEndpointConnection, self).__init__(id=id, **kwargs) + self.name = name + self.etag = None + self.type = None + self.private_endpoint = None + self.private_link_service_connection_state = private_link_service_connection_state + self.provisioning_state = None + self.link_identifier = None + + +class ApplicationGatewayPrivateEndpointConnectionListResult(msrest.serialization.Model): + """Response for ListApplicationGatewayPrivateEndpointConnection API service call. Gets all private endpoint connections for an application gateway. + + :param value: List of private endpoint connections on an application gateway. + :type value: + list[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayPrivateEndpointConnection] + :param next_link: URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[ApplicationGatewayPrivateEndpointConnection]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["ApplicationGatewayPrivateEndpointConnection"]] = None, + next_link: Optional[str] = None, + **kwargs + ): + super(ApplicationGatewayPrivateEndpointConnectionListResult, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class ApplicationGatewayPrivateLinkConfiguration(SubResource): + """Private Link Configuration on an application gateway. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: Name of the private link configuration that is unique within an Application + Gateway. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str + :param ip_configurations: An array of application gateway private link ip configurations. + :type ip_configurations: + list[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayPrivateLinkIpConfiguration] + :ivar provisioning_state: The provisioning state of the application gateway private link + configuration. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'ip_configurations': {'key': 'properties.ipConfigurations', 'type': '[ApplicationGatewayPrivateLinkIpConfiguration]'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + name: Optional[str] = None, + ip_configurations: Optional[List["ApplicationGatewayPrivateLinkIpConfiguration"]] = None, + **kwargs + ): + super(ApplicationGatewayPrivateLinkConfiguration, self).__init__(id=id, **kwargs) + self.name = name + self.etag = None + self.type = None + self.ip_configurations = ip_configurations + self.provisioning_state = None + + +class ApplicationGatewayPrivateLinkIpConfiguration(SubResource): + """The application gateway private link ip configuration. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: The name of application gateway private link ip configuration. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: The resource type. + :vartype type: str + :param private_ip_address: The private IP address of the IP configuration. + :type private_ip_address: str + :param private_ip_allocation_method: The private IP address allocation method. Possible values + include: "Static", "Dynamic". + :type private_ip_allocation_method: str or + ~azure.mgmt.network.v2021_02_01.models.IPAllocationMethod + :param subnet: Reference to the subnet resource. + :type subnet: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param primary: Whether the ip configuration is primary or not. + :type primary: bool + :ivar provisioning_state: The provisioning state of the application gateway private link IP + configuration. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'private_ip_address': {'key': 'properties.privateIPAddress', 'type': 'str'}, + 'private_ip_allocation_method': {'key': 'properties.privateIPAllocationMethod', 'type': 'str'}, + 'subnet': {'key': 'properties.subnet', 'type': 'SubResource'}, + 'primary': {'key': 'properties.primary', 'type': 'bool'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + name: Optional[str] = None, + private_ip_address: Optional[str] = None, + private_ip_allocation_method: Optional[Union[str, "IPAllocationMethod"]] = None, + subnet: Optional["SubResource"] = None, + primary: Optional[bool] = None, + **kwargs + ): + super(ApplicationGatewayPrivateLinkIpConfiguration, self).__init__(id=id, **kwargs) + self.name = name + self.etag = None + self.type = None + self.private_ip_address = private_ip_address + self.private_ip_allocation_method = private_ip_allocation_method + self.subnet = subnet + self.primary = primary + self.provisioning_state = None + + +class ApplicationGatewayPrivateLinkResource(SubResource): + """PrivateLink Resource of an application gateway. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: Name of the private link resource that is unique within an Application Gateway. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str + :ivar group_id: Group identifier of private link resource. + :vartype group_id: str + :ivar required_members: Required member names of private link resource. + :vartype required_members: list[str] + :param required_zone_names: Required DNS zone names of the the private link resource. + :type required_zone_names: list[str] + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'group_id': {'readonly': True}, + 'required_members': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'group_id': {'key': 'properties.groupId', 'type': 'str'}, + 'required_members': {'key': 'properties.requiredMembers', 'type': '[str]'}, + 'required_zone_names': {'key': 'properties.requiredZoneNames', 'type': '[str]'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + name: Optional[str] = None, + required_zone_names: Optional[List[str]] = None, + **kwargs + ): + super(ApplicationGatewayPrivateLinkResource, self).__init__(id=id, **kwargs) + self.name = name + self.etag = None + self.type = None + self.group_id = None + self.required_members = None + self.required_zone_names = required_zone_names + + +class ApplicationGatewayPrivateLinkResourceListResult(msrest.serialization.Model): + """Response for ListApplicationGatewayPrivateLinkResources API service call. Gets all private link resources for an application gateway. + + :param value: List of private link resources of an application gateway. + :type value: list[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayPrivateLinkResource] + :param next_link: URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[ApplicationGatewayPrivateLinkResource]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["ApplicationGatewayPrivateLinkResource"]] = None, + next_link: Optional[str] = None, + **kwargs + ): + super(ApplicationGatewayPrivateLinkResourceListResult, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class ApplicationGatewayProbe(SubResource): + """Probe of the application gateway. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: Name of the probe that is unique within an Application Gateway. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str + :param protocol: The protocol used for the probe. Possible values include: "Http", "Https". + :type protocol: str or ~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayProtocol + :param host: Host name to send the probe to. + :type host: str + :param path: Relative path of probe. Valid path starts from '/'. Probe is sent to + :code:``://:code:``::code:``:code:``. + :type path: str + :param interval: The probing interval in seconds. This is the time interval between two + consecutive probes. Acceptable values are from 1 second to 86400 seconds. + :type interval: int + :param timeout: The probe timeout in seconds. Probe marked as failed if valid response is not + received with this timeout period. Acceptable values are from 1 second to 86400 seconds. + :type timeout: int + :param unhealthy_threshold: The probe retry count. Backend server is marked down after + consecutive probe failure count reaches UnhealthyThreshold. Acceptable values are from 1 second + to 20. + :type unhealthy_threshold: int + :param pick_host_name_from_backend_http_settings: Whether the host header should be picked from + the backend http settings. Default value is false. + :type pick_host_name_from_backend_http_settings: bool + :param min_servers: Minimum number of servers that are always marked healthy. Default value is + 0. + :type min_servers: int + :param match: Criterion for classifying a healthy probe response. + :type match: ~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayProbeHealthResponseMatch + :ivar provisioning_state: The provisioning state of the probe resource. Possible values + include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :param port: Custom port which will be used for probing the backend servers. The valid value + ranges from 1 to 65535. In case not set, port from http settings will be used. This property is + valid for Standard_v2 and WAF_v2 only. + :type port: int + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'port': {'maximum': 65535, 'minimum': 1}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'protocol': {'key': 'properties.protocol', 'type': 'str'}, + 'host': {'key': 'properties.host', 'type': 'str'}, + 'path': {'key': 'properties.path', 'type': 'str'}, + 'interval': {'key': 'properties.interval', 'type': 'int'}, + 'timeout': {'key': 'properties.timeout', 'type': 'int'}, + 'unhealthy_threshold': {'key': 'properties.unhealthyThreshold', 'type': 'int'}, + 'pick_host_name_from_backend_http_settings': {'key': 'properties.pickHostNameFromBackendHttpSettings', 'type': 'bool'}, + 'min_servers': {'key': 'properties.minServers', 'type': 'int'}, + 'match': {'key': 'properties.match', 'type': 'ApplicationGatewayProbeHealthResponseMatch'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'port': {'key': 'properties.port', 'type': 'int'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + name: Optional[str] = None, + protocol: Optional[Union[str, "ApplicationGatewayProtocol"]] = None, + host: Optional[str] = None, + path: Optional[str] = None, + interval: Optional[int] = None, + timeout: Optional[int] = None, + unhealthy_threshold: Optional[int] = None, + pick_host_name_from_backend_http_settings: Optional[bool] = None, + min_servers: Optional[int] = None, + match: Optional["ApplicationGatewayProbeHealthResponseMatch"] = None, + port: Optional[int] = None, + **kwargs + ): + super(ApplicationGatewayProbe, self).__init__(id=id, **kwargs) + self.name = name + self.etag = None + self.type = None + self.protocol = protocol + self.host = host + self.path = path + self.interval = interval + self.timeout = timeout + self.unhealthy_threshold = unhealthy_threshold + self.pick_host_name_from_backend_http_settings = pick_host_name_from_backend_http_settings + self.min_servers = min_servers + self.match = match + self.provisioning_state = None + self.port = port + + +class ApplicationGatewayProbeHealthResponseMatch(msrest.serialization.Model): + """Application gateway probe health response match. + + :param body: Body that must be contained in the health response. Default value is empty. + :type body: str + :param status_codes: Allowed ranges of healthy status codes. Default range of healthy status + codes is 200-399. + :type status_codes: list[str] + """ + + _attribute_map = { + 'body': {'key': 'body', 'type': 'str'}, + 'status_codes': {'key': 'statusCodes', 'type': '[str]'}, + } + + def __init__( + self, + *, + body: Optional[str] = None, + status_codes: Optional[List[str]] = None, + **kwargs + ): + super(ApplicationGatewayProbeHealthResponseMatch, self).__init__(**kwargs) + self.body = body + self.status_codes = status_codes + + +class ApplicationGatewayRedirectConfiguration(SubResource): + """Redirect configuration of an application gateway. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: Name of the redirect configuration that is unique within an Application Gateway. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str + :param redirect_type: HTTP redirection type. Possible values include: "Permanent", "Found", + "SeeOther", "Temporary". + :type redirect_type: str or + ~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayRedirectType + :param target_listener: Reference to a listener to redirect the request to. + :type target_listener: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param target_url: Url to redirect the request to. + :type target_url: str + :param include_path: Include path in the redirected url. + :type include_path: bool + :param include_query_string: Include query string in the redirected url. + :type include_query_string: bool + :param request_routing_rules: Request routing specifying redirect configuration. + :type request_routing_rules: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + :param url_path_maps: Url path maps specifying default redirect configuration. + :type url_path_maps: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + :param path_rules: Path rules specifying redirect configuration. + :type path_rules: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'redirect_type': {'key': 'properties.redirectType', 'type': 'str'}, + 'target_listener': {'key': 'properties.targetListener', 'type': 'SubResource'}, + 'target_url': {'key': 'properties.targetUrl', 'type': 'str'}, + 'include_path': {'key': 'properties.includePath', 'type': 'bool'}, + 'include_query_string': {'key': 'properties.includeQueryString', 'type': 'bool'}, + 'request_routing_rules': {'key': 'properties.requestRoutingRules', 'type': '[SubResource]'}, + 'url_path_maps': {'key': 'properties.urlPathMaps', 'type': '[SubResource]'}, + 'path_rules': {'key': 'properties.pathRules', 'type': '[SubResource]'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + name: Optional[str] = None, + redirect_type: Optional[Union[str, "ApplicationGatewayRedirectType"]] = None, + target_listener: Optional["SubResource"] = None, + target_url: Optional[str] = None, + include_path: Optional[bool] = None, + include_query_string: Optional[bool] = None, + request_routing_rules: Optional[List["SubResource"]] = None, + url_path_maps: Optional[List["SubResource"]] = None, + path_rules: Optional[List["SubResource"]] = None, + **kwargs + ): + super(ApplicationGatewayRedirectConfiguration, self).__init__(id=id, **kwargs) + self.name = name + self.etag = None + self.type = None + self.redirect_type = redirect_type + self.target_listener = target_listener + self.target_url = target_url + self.include_path = include_path + self.include_query_string = include_query_string + self.request_routing_rules = request_routing_rules + self.url_path_maps = url_path_maps + self.path_rules = path_rules + + +class ApplicationGatewayRequestRoutingRule(SubResource): + """Request routing rule of an application gateway. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: Name of the request routing rule that is unique within an Application Gateway. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str + :param rule_type: Rule type. Possible values include: "Basic", "PathBasedRouting". + :type rule_type: str or + ~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayRequestRoutingRuleType + :param priority: Priority of the request routing rule. + :type priority: int + :param backend_address_pool: Backend address pool resource of the application gateway. + :type backend_address_pool: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param backend_http_settings: Backend http settings resource of the application gateway. + :type backend_http_settings: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param http_listener: Http listener resource of the application gateway. + :type http_listener: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param url_path_map: URL path map resource of the application gateway. + :type url_path_map: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param rewrite_rule_set: Rewrite Rule Set resource in Basic rule of the application gateway. + :type rewrite_rule_set: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param redirect_configuration: Redirect configuration resource of the application gateway. + :type redirect_configuration: ~azure.mgmt.network.v2021_02_01.models.SubResource + :ivar provisioning_state: The provisioning state of the request routing rule resource. Possible + values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'priority': {'maximum': 20000, 'minimum': 1}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'rule_type': {'key': 'properties.ruleType', 'type': 'str'}, + 'priority': {'key': 'properties.priority', 'type': 'int'}, + 'backend_address_pool': {'key': 'properties.backendAddressPool', 'type': 'SubResource'}, + 'backend_http_settings': {'key': 'properties.backendHttpSettings', 'type': 'SubResource'}, + 'http_listener': {'key': 'properties.httpListener', 'type': 'SubResource'}, + 'url_path_map': {'key': 'properties.urlPathMap', 'type': 'SubResource'}, + 'rewrite_rule_set': {'key': 'properties.rewriteRuleSet', 'type': 'SubResource'}, + 'redirect_configuration': {'key': 'properties.redirectConfiguration', 'type': 'SubResource'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + name: Optional[str] = None, + rule_type: Optional[Union[str, "ApplicationGatewayRequestRoutingRuleType"]] = None, + priority: Optional[int] = None, + backend_address_pool: Optional["SubResource"] = None, + backend_http_settings: Optional["SubResource"] = None, + http_listener: Optional["SubResource"] = None, + url_path_map: Optional["SubResource"] = None, + rewrite_rule_set: Optional["SubResource"] = None, + redirect_configuration: Optional["SubResource"] = None, + **kwargs + ): + super(ApplicationGatewayRequestRoutingRule, self).__init__(id=id, **kwargs) + self.name = name + self.etag = None + self.type = None + self.rule_type = rule_type + self.priority = priority + self.backend_address_pool = backend_address_pool + self.backend_http_settings = backend_http_settings + self.http_listener = http_listener + self.url_path_map = url_path_map + self.rewrite_rule_set = rewrite_rule_set + self.redirect_configuration = redirect_configuration + self.provisioning_state = None + + +class ApplicationGatewayRewriteRule(msrest.serialization.Model): + """Rewrite rule of an application gateway. + + :param name: Name of the rewrite rule that is unique within an Application Gateway. + :type name: str + :param rule_sequence: Rule Sequence of the rewrite rule that determines the order of execution + of a particular rule in a RewriteRuleSet. + :type rule_sequence: int + :param conditions: Conditions based on which the action set execution will be evaluated. + :type conditions: + list[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayRewriteRuleCondition] + :param action_set: Set of actions to be done as part of the rewrite Rule. + :type action_set: ~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayRewriteRuleActionSet + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'rule_sequence': {'key': 'ruleSequence', 'type': 'int'}, + 'conditions': {'key': 'conditions', 'type': '[ApplicationGatewayRewriteRuleCondition]'}, + 'action_set': {'key': 'actionSet', 'type': 'ApplicationGatewayRewriteRuleActionSet'}, + } + + def __init__( + self, + *, + name: Optional[str] = None, + rule_sequence: Optional[int] = None, + conditions: Optional[List["ApplicationGatewayRewriteRuleCondition"]] = None, + action_set: Optional["ApplicationGatewayRewriteRuleActionSet"] = None, + **kwargs + ): + super(ApplicationGatewayRewriteRule, self).__init__(**kwargs) + self.name = name + self.rule_sequence = rule_sequence + self.conditions = conditions + self.action_set = action_set + + +class ApplicationGatewayRewriteRuleActionSet(msrest.serialization.Model): + """Set of actions in the Rewrite Rule in Application Gateway. + + :param request_header_configurations: Request Header Actions in the Action Set. + :type request_header_configurations: + list[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayHeaderConfiguration] + :param response_header_configurations: Response Header Actions in the Action Set. + :type response_header_configurations: + list[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayHeaderConfiguration] + :param url_configuration: Url Configuration Action in the Action Set. + :type url_configuration: + ~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayUrlConfiguration + """ + + _attribute_map = { + 'request_header_configurations': {'key': 'requestHeaderConfigurations', 'type': '[ApplicationGatewayHeaderConfiguration]'}, + 'response_header_configurations': {'key': 'responseHeaderConfigurations', 'type': '[ApplicationGatewayHeaderConfiguration]'}, + 'url_configuration': {'key': 'urlConfiguration', 'type': 'ApplicationGatewayUrlConfiguration'}, + } + + def __init__( + self, + *, + request_header_configurations: Optional[List["ApplicationGatewayHeaderConfiguration"]] = None, + response_header_configurations: Optional[List["ApplicationGatewayHeaderConfiguration"]] = None, + url_configuration: Optional["ApplicationGatewayUrlConfiguration"] = None, + **kwargs + ): + super(ApplicationGatewayRewriteRuleActionSet, self).__init__(**kwargs) + self.request_header_configurations = request_header_configurations + self.response_header_configurations = response_header_configurations + self.url_configuration = url_configuration + + +class ApplicationGatewayRewriteRuleCondition(msrest.serialization.Model): + """Set of conditions in the Rewrite Rule in Application Gateway. + + :param variable: The condition parameter of the RewriteRuleCondition. + :type variable: str + :param pattern: The pattern, either fixed string or regular expression, that evaluates the + truthfulness of the condition. + :type pattern: str + :param ignore_case: Setting this parameter to truth value with force the pattern to do a case + in-sensitive comparison. + :type ignore_case: bool + :param negate: Setting this value as truth will force to check the negation of the condition + given by the user. + :type negate: bool + """ + + _attribute_map = { + 'variable': {'key': 'variable', 'type': 'str'}, + 'pattern': {'key': 'pattern', 'type': 'str'}, + 'ignore_case': {'key': 'ignoreCase', 'type': 'bool'}, + 'negate': {'key': 'negate', 'type': 'bool'}, + } + + def __init__( + self, + *, + variable: Optional[str] = None, + pattern: Optional[str] = None, + ignore_case: Optional[bool] = None, + negate: Optional[bool] = None, + **kwargs + ): + super(ApplicationGatewayRewriteRuleCondition, self).__init__(**kwargs) + self.variable = variable + self.pattern = pattern + self.ignore_case = ignore_case + self.negate = negate + + +class ApplicationGatewayRewriteRuleSet(SubResource): + """Rewrite rule set of an application gateway. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: Name of the rewrite rule set that is unique within an Application Gateway. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param rewrite_rules: Rewrite rules in the rewrite rule set. + :type rewrite_rules: list[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayRewriteRule] + :ivar provisioning_state: The provisioning state of the rewrite rule set resource. Possible + values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'rewrite_rules': {'key': 'properties.rewriteRules', 'type': '[ApplicationGatewayRewriteRule]'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + name: Optional[str] = None, + rewrite_rules: Optional[List["ApplicationGatewayRewriteRule"]] = None, + **kwargs + ): + super(ApplicationGatewayRewriteRuleSet, self).__init__(id=id, **kwargs) + self.name = name + self.etag = None + self.rewrite_rules = rewrite_rules + self.provisioning_state = None + + +class ApplicationGatewaySku(msrest.serialization.Model): + """SKU of an application gateway. + + :param name: Name of an application gateway SKU. Possible values include: "Standard_Small", + "Standard_Medium", "Standard_Large", "WAF_Medium", "WAF_Large", "Standard_v2", "WAF_v2". + :type name: str or ~azure.mgmt.network.v2021_02_01.models.ApplicationGatewaySkuName + :param tier: Tier of an application gateway. Possible values include: "Standard", "WAF", + "Standard_v2", "WAF_v2". + :type tier: str or ~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayTier + :param capacity: Capacity (instance count) of an application gateway. + :type capacity: int + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'tier': {'key': 'tier', 'type': 'str'}, + 'capacity': {'key': 'capacity', 'type': 'int'}, + } + + def __init__( + self, + *, + name: Optional[Union[str, "ApplicationGatewaySkuName"]] = None, + tier: Optional[Union[str, "ApplicationGatewayTier"]] = None, + capacity: Optional[int] = None, + **kwargs + ): + super(ApplicationGatewaySku, self).__init__(**kwargs) + self.name = name + self.tier = tier + self.capacity = capacity + + +class ApplicationGatewaySslCertificate(SubResource): + """SSL certificates of an application gateway. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: Name of the SSL certificate that is unique within an Application Gateway. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str + :param data: Base-64 encoded pfx certificate. Only applicable in PUT Request. + :type data: str + :param password: Password for the pfx file specified in data. Only applicable in PUT request. + :type password: str + :ivar public_cert_data: Base-64 encoded Public cert data corresponding to pfx specified in + data. Only applicable in GET request. + :vartype public_cert_data: str + :param key_vault_secret_id: Secret Id of (base-64 encoded unencrypted pfx) 'Secret' or + 'Certificate' object stored in KeyVault. + :type key_vault_secret_id: str + :ivar provisioning_state: The provisioning state of the SSL certificate resource. Possible + values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'public_cert_data': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'data': {'key': 'properties.data', 'type': 'str'}, + 'password': {'key': 'properties.password', 'type': 'str'}, + 'public_cert_data': {'key': 'properties.publicCertData', 'type': 'str'}, + 'key_vault_secret_id': {'key': 'properties.keyVaultSecretId', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + name: Optional[str] = None, + data: Optional[str] = None, + password: Optional[str] = None, + key_vault_secret_id: Optional[str] = None, + **kwargs + ): + super(ApplicationGatewaySslCertificate, self).__init__(id=id, **kwargs) + self.name = name + self.etag = None + self.type = None + self.data = data + self.password = password + self.public_cert_data = None + self.key_vault_secret_id = key_vault_secret_id + self.provisioning_state = None + + +class ApplicationGatewaySslPolicy(msrest.serialization.Model): + """Application Gateway Ssl policy. + + :param disabled_ssl_protocols: Ssl protocols to be disabled on application gateway. + :type disabled_ssl_protocols: list[str or + ~azure.mgmt.network.v2021_02_01.models.ApplicationGatewaySslProtocol] + :param policy_type: Type of Ssl Policy. Possible values include: "Predefined", "Custom". + :type policy_type: str or + ~azure.mgmt.network.v2021_02_01.models.ApplicationGatewaySslPolicyType + :param policy_name: Name of Ssl predefined policy. Possible values include: + "AppGwSslPolicy20150501", "AppGwSslPolicy20170401", "AppGwSslPolicy20170401S". + :type policy_name: str or + ~azure.mgmt.network.v2021_02_01.models.ApplicationGatewaySslPolicyName + :param cipher_suites: Ssl cipher suites to be enabled in the specified order to application + gateway. + :type cipher_suites: list[str or + ~azure.mgmt.network.v2021_02_01.models.ApplicationGatewaySslCipherSuite] + :param min_protocol_version: Minimum version of Ssl protocol to be supported on application + gateway. Possible values include: "TLSv1_0", "TLSv1_1", "TLSv1_2". + :type min_protocol_version: str or + ~azure.mgmt.network.v2021_02_01.models.ApplicationGatewaySslProtocol + """ + + _attribute_map = { + 'disabled_ssl_protocols': {'key': 'disabledSslProtocols', 'type': '[str]'}, + 'policy_type': {'key': 'policyType', 'type': 'str'}, + 'policy_name': {'key': 'policyName', 'type': 'str'}, + 'cipher_suites': {'key': 'cipherSuites', 'type': '[str]'}, + 'min_protocol_version': {'key': 'minProtocolVersion', 'type': 'str'}, + } + + def __init__( + self, + *, + disabled_ssl_protocols: Optional[List[Union[str, "ApplicationGatewaySslProtocol"]]] = None, + policy_type: Optional[Union[str, "ApplicationGatewaySslPolicyType"]] = None, + policy_name: Optional[Union[str, "ApplicationGatewaySslPolicyName"]] = None, + cipher_suites: Optional[List[Union[str, "ApplicationGatewaySslCipherSuite"]]] = None, + min_protocol_version: Optional[Union[str, "ApplicationGatewaySslProtocol"]] = None, + **kwargs + ): + super(ApplicationGatewaySslPolicy, self).__init__(**kwargs) + self.disabled_ssl_protocols = disabled_ssl_protocols + self.policy_type = policy_type + self.policy_name = policy_name + self.cipher_suites = cipher_suites + self.min_protocol_version = min_protocol_version + + +class ApplicationGatewaySslPredefinedPolicy(SubResource): + """An Ssl predefined policy. + + :param id: Resource ID. + :type id: str + :param name: Name of the Ssl predefined policy. + :type name: str + :param cipher_suites: Ssl cipher suites to be enabled in the specified order for application + gateway. + :type cipher_suites: list[str or + ~azure.mgmt.network.v2021_02_01.models.ApplicationGatewaySslCipherSuite] + :param min_protocol_version: Minimum version of Ssl protocol to be supported on application + gateway. Possible values include: "TLSv1_0", "TLSv1_1", "TLSv1_2". + :type min_protocol_version: str or + ~azure.mgmt.network.v2021_02_01.models.ApplicationGatewaySslProtocol + """ + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'cipher_suites': {'key': 'properties.cipherSuites', 'type': '[str]'}, + 'min_protocol_version': {'key': 'properties.minProtocolVersion', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + name: Optional[str] = None, + cipher_suites: Optional[List[Union[str, "ApplicationGatewaySslCipherSuite"]]] = None, + min_protocol_version: Optional[Union[str, "ApplicationGatewaySslProtocol"]] = None, + **kwargs + ): + super(ApplicationGatewaySslPredefinedPolicy, self).__init__(id=id, **kwargs) + self.name = name + self.cipher_suites = cipher_suites + self.min_protocol_version = min_protocol_version + + +class ApplicationGatewaySslProfile(SubResource): + """SSL profile of an application gateway. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: Name of the SSL profile that is unique within an Application Gateway. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str + :param trusted_client_certificates: Array of references to application gateway trusted client + certificates. + :type trusted_client_certificates: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + :param ssl_policy: SSL policy of the application gateway resource. + :type ssl_policy: ~azure.mgmt.network.v2021_02_01.models.ApplicationGatewaySslPolicy + :param client_auth_configuration: Client authentication configuration of the application + gateway resource. + :type client_auth_configuration: + ~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayClientAuthConfiguration + :ivar provisioning_state: The provisioning state of the HTTP listener resource. Possible values + include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'trusted_client_certificates': {'key': 'properties.trustedClientCertificates', 'type': '[SubResource]'}, + 'ssl_policy': {'key': 'properties.sslPolicy', 'type': 'ApplicationGatewaySslPolicy'}, + 'client_auth_configuration': {'key': 'properties.clientAuthConfiguration', 'type': 'ApplicationGatewayClientAuthConfiguration'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + name: Optional[str] = None, + trusted_client_certificates: Optional[List["SubResource"]] = None, + ssl_policy: Optional["ApplicationGatewaySslPolicy"] = None, + client_auth_configuration: Optional["ApplicationGatewayClientAuthConfiguration"] = None, + **kwargs + ): + super(ApplicationGatewaySslProfile, self).__init__(id=id, **kwargs) + self.name = name + self.etag = None + self.type = None + self.trusted_client_certificates = trusted_client_certificates + self.ssl_policy = ssl_policy + self.client_auth_configuration = client_auth_configuration + self.provisioning_state = None + + +class ApplicationGatewayTrustedClientCertificate(SubResource): + """Trusted client certificates of an application gateway. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: Name of the trusted client certificate that is unique within an Application + Gateway. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str + :param data: Certificate public data. + :type data: str + :ivar validated_cert_data: Validated certificate data. + :vartype validated_cert_data: str + :ivar client_cert_issuer_dn: Distinguished name of client certificate issuer. + :vartype client_cert_issuer_dn: str + :ivar provisioning_state: The provisioning state of the trusted client certificate resource. + Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'validated_cert_data': {'readonly': True}, + 'client_cert_issuer_dn': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'data': {'key': 'properties.data', 'type': 'str'}, + 'validated_cert_data': {'key': 'properties.validatedCertData', 'type': 'str'}, + 'client_cert_issuer_dn': {'key': 'properties.clientCertIssuerDN', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + name: Optional[str] = None, + data: Optional[str] = None, + **kwargs + ): + super(ApplicationGatewayTrustedClientCertificate, self).__init__(id=id, **kwargs) + self.name = name + self.etag = None + self.type = None + self.data = data + self.validated_cert_data = None + self.client_cert_issuer_dn = None + self.provisioning_state = None + + +class ApplicationGatewayTrustedRootCertificate(SubResource): + """Trusted Root certificates of an application gateway. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: Name of the trusted root certificate that is unique within an Application Gateway. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str + :param data: Certificate public data. + :type data: str + :param key_vault_secret_id: Secret Id of (base-64 encoded unencrypted pfx) 'Secret' or + 'Certificate' object stored in KeyVault. + :type key_vault_secret_id: str + :ivar provisioning_state: The provisioning state of the trusted root certificate resource. + Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'data': {'key': 'properties.data', 'type': 'str'}, + 'key_vault_secret_id': {'key': 'properties.keyVaultSecretId', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + name: Optional[str] = None, + data: Optional[str] = None, + key_vault_secret_id: Optional[str] = None, + **kwargs + ): + super(ApplicationGatewayTrustedRootCertificate, self).__init__(id=id, **kwargs) + self.name = name + self.etag = None + self.type = None + self.data = data + self.key_vault_secret_id = key_vault_secret_id + self.provisioning_state = None + + +class ApplicationGatewayUrlConfiguration(msrest.serialization.Model): + """Url configuration of the Actions set in Application Gateway. + + :param modified_path: Url path which user has provided for url rewrite. Null means no path will + be updated. Default value is null. + :type modified_path: str + :param modified_query_string: Query string which user has provided for url rewrite. Null means + no query string will be updated. Default value is null. + :type modified_query_string: str + :param reroute: If set as true, it will re-evaluate the url path map provided in path based + request routing rules using modified path. Default value is false. + :type reroute: bool + """ + + _attribute_map = { + 'modified_path': {'key': 'modifiedPath', 'type': 'str'}, + 'modified_query_string': {'key': 'modifiedQueryString', 'type': 'str'}, + 'reroute': {'key': 'reroute', 'type': 'bool'}, + } + + def __init__( + self, + *, + modified_path: Optional[str] = None, + modified_query_string: Optional[str] = None, + reroute: Optional[bool] = None, + **kwargs + ): + super(ApplicationGatewayUrlConfiguration, self).__init__(**kwargs) + self.modified_path = modified_path + self.modified_query_string = modified_query_string + self.reroute = reroute + + +class ApplicationGatewayUrlPathMap(SubResource): + """UrlPathMaps give a url path to the backend mapping information for PathBasedRouting. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: Name of the URL path map that is unique within an Application Gateway. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str + :param default_backend_address_pool: Default backend address pool resource of URL path map. + :type default_backend_address_pool: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param default_backend_http_settings: Default backend http settings resource of URL path map. + :type default_backend_http_settings: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param default_rewrite_rule_set: Default Rewrite rule set resource of URL path map. + :type default_rewrite_rule_set: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param default_redirect_configuration: Default redirect configuration resource of URL path map. + :type default_redirect_configuration: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param path_rules: Path rule of URL path map resource. + :type path_rules: list[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayPathRule] + :ivar provisioning_state: The provisioning state of the URL path map resource. Possible values + include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'default_backend_address_pool': {'key': 'properties.defaultBackendAddressPool', 'type': 'SubResource'}, + 'default_backend_http_settings': {'key': 'properties.defaultBackendHttpSettings', 'type': 'SubResource'}, + 'default_rewrite_rule_set': {'key': 'properties.defaultRewriteRuleSet', 'type': 'SubResource'}, + 'default_redirect_configuration': {'key': 'properties.defaultRedirectConfiguration', 'type': 'SubResource'}, + 'path_rules': {'key': 'properties.pathRules', 'type': '[ApplicationGatewayPathRule]'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + name: Optional[str] = None, + default_backend_address_pool: Optional["SubResource"] = None, + default_backend_http_settings: Optional["SubResource"] = None, + default_rewrite_rule_set: Optional["SubResource"] = None, + default_redirect_configuration: Optional["SubResource"] = None, + path_rules: Optional[List["ApplicationGatewayPathRule"]] = None, + **kwargs + ): + super(ApplicationGatewayUrlPathMap, self).__init__(id=id, **kwargs) + self.name = name + self.etag = None + self.type = None + self.default_backend_address_pool = default_backend_address_pool + self.default_backend_http_settings = default_backend_http_settings + self.default_rewrite_rule_set = default_rewrite_rule_set + self.default_redirect_configuration = default_redirect_configuration + self.path_rules = path_rules + self.provisioning_state = None + + +class ApplicationGatewayWebApplicationFirewallConfiguration(msrest.serialization.Model): + """Application gateway web application firewall configuration. + + All required parameters must be populated in order to send to Azure. + + :param enabled: Required. Whether the web application firewall is enabled or not. + :type enabled: bool + :param firewall_mode: Required. Web application firewall mode. Possible values include: + "Detection", "Prevention". + :type firewall_mode: str or + ~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayFirewallMode + :param rule_set_type: Required. The type of the web application firewall rule set. Possible + values are: 'OWASP'. + :type rule_set_type: str + :param rule_set_version: Required. The version of the rule set type. + :type rule_set_version: str + :param disabled_rule_groups: The disabled rule groups. + :type disabled_rule_groups: + list[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayFirewallDisabledRuleGroup] + :param request_body_check: Whether allow WAF to check request Body. + :type request_body_check: bool + :param max_request_body_size: Maximum request body size for WAF. + :type max_request_body_size: int + :param max_request_body_size_in_kb: Maximum request body size in Kb for WAF. + :type max_request_body_size_in_kb: int + :param file_upload_limit_in_mb: Maximum file upload size in Mb for WAF. + :type file_upload_limit_in_mb: int + :param exclusions: The exclusion list. + :type exclusions: + list[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayFirewallExclusion] + """ + + _validation = { + 'enabled': {'required': True}, + 'firewall_mode': {'required': True}, + 'rule_set_type': {'required': True}, + 'rule_set_version': {'required': True}, + 'max_request_body_size': {'maximum': 128, 'minimum': 8}, + 'max_request_body_size_in_kb': {'maximum': 128, 'minimum': 8}, + 'file_upload_limit_in_mb': {'minimum': 0}, + } + + _attribute_map = { + 'enabled': {'key': 'enabled', 'type': 'bool'}, + 'firewall_mode': {'key': 'firewallMode', 'type': 'str'}, + 'rule_set_type': {'key': 'ruleSetType', 'type': 'str'}, + 'rule_set_version': {'key': 'ruleSetVersion', 'type': 'str'}, + 'disabled_rule_groups': {'key': 'disabledRuleGroups', 'type': '[ApplicationGatewayFirewallDisabledRuleGroup]'}, + 'request_body_check': {'key': 'requestBodyCheck', 'type': 'bool'}, + 'max_request_body_size': {'key': 'maxRequestBodySize', 'type': 'int'}, + 'max_request_body_size_in_kb': {'key': 'maxRequestBodySizeInKb', 'type': 'int'}, + 'file_upload_limit_in_mb': {'key': 'fileUploadLimitInMb', 'type': 'int'}, + 'exclusions': {'key': 'exclusions', 'type': '[ApplicationGatewayFirewallExclusion]'}, + } + + def __init__( + self, + *, + enabled: bool, + firewall_mode: Union[str, "ApplicationGatewayFirewallMode"], + rule_set_type: str, + rule_set_version: str, + disabled_rule_groups: Optional[List["ApplicationGatewayFirewallDisabledRuleGroup"]] = None, + request_body_check: Optional[bool] = None, + max_request_body_size: Optional[int] = None, + max_request_body_size_in_kb: Optional[int] = None, + file_upload_limit_in_mb: Optional[int] = None, + exclusions: Optional[List["ApplicationGatewayFirewallExclusion"]] = None, + **kwargs + ): + super(ApplicationGatewayWebApplicationFirewallConfiguration, self).__init__(**kwargs) + self.enabled = enabled + self.firewall_mode = firewall_mode + self.rule_set_type = rule_set_type + self.rule_set_version = rule_set_version + self.disabled_rule_groups = disabled_rule_groups + self.request_body_check = request_body_check + self.max_request_body_size = max_request_body_size + self.max_request_body_size_in_kb = max_request_body_size_in_kb + self.file_upload_limit_in_mb = file_upload_limit_in_mb + self.exclusions = exclusions + + +class FirewallPolicyRule(msrest.serialization.Model): + """Properties of a rule. + + You probably want to use the sub-classes and not this class directly. Known + sub-classes are: ApplicationRule, NatRule, NetworkRule. + + All required parameters must be populated in order to send to Azure. + + :param name: Name of the rule. + :type name: str + :param description: Description of the rule. + :type description: str + :param rule_type: Required. Rule Type.Constant filled by server. Possible values include: + "ApplicationRule", "NetworkRule", "NatRule". + :type rule_type: str or ~azure.mgmt.network.v2021_02_01.models.FirewallPolicyRuleType + """ + + _validation = { + 'rule_type': {'required': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + 'rule_type': {'key': 'ruleType', 'type': 'str'}, + } + + _subtype_map = { + 'rule_type': {'ApplicationRule': 'ApplicationRule', 'NatRule': 'NatRule', 'NetworkRule': 'NetworkRule'} + } + + def __init__( + self, + *, + name: Optional[str] = None, + description: Optional[str] = None, + **kwargs + ): + super(FirewallPolicyRule, self).__init__(**kwargs) + self.name = name + self.description = description + self.rule_type = None # type: Optional[str] + + +class ApplicationRule(FirewallPolicyRule): + """Rule of type application. + + All required parameters must be populated in order to send to Azure. + + :param name: Name of the rule. + :type name: str + :param description: Description of the rule. + :type description: str + :param rule_type: Required. Rule Type.Constant filled by server. Possible values include: + "ApplicationRule", "NetworkRule", "NatRule". + :type rule_type: str or ~azure.mgmt.network.v2021_02_01.models.FirewallPolicyRuleType + :param source_addresses: List of source IP addresses for this rule. + :type source_addresses: list[str] + :param destination_addresses: List of destination IP addresses or Service Tags. + :type destination_addresses: list[str] + :param protocols: Array of Application Protocols. + :type protocols: + list[~azure.mgmt.network.v2021_02_01.models.FirewallPolicyRuleApplicationProtocol] + :param target_fqdns: List of FQDNs for this rule. + :type target_fqdns: list[str] + :param target_urls: List of Urls for this rule condition. + :type target_urls: list[str] + :param fqdn_tags: List of FQDN Tags for this rule. + :type fqdn_tags: list[str] + :param source_ip_groups: List of source IpGroups for this rule. + :type source_ip_groups: list[str] + :param terminate_tls: Terminate TLS connections for this rule. + :type terminate_tls: bool + :param web_categories: List of destination azure web categories. + :type web_categories: list[str] + """ + + _validation = { + 'rule_type': {'required': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + 'rule_type': {'key': 'ruleType', 'type': 'str'}, + 'source_addresses': {'key': 'sourceAddresses', 'type': '[str]'}, + 'destination_addresses': {'key': 'destinationAddresses', 'type': '[str]'}, + 'protocols': {'key': 'protocols', 'type': '[FirewallPolicyRuleApplicationProtocol]'}, + 'target_fqdns': {'key': 'targetFqdns', 'type': '[str]'}, + 'target_urls': {'key': 'targetUrls', 'type': '[str]'}, + 'fqdn_tags': {'key': 'fqdnTags', 'type': '[str]'}, + 'source_ip_groups': {'key': 'sourceIpGroups', 'type': '[str]'}, + 'terminate_tls': {'key': 'terminateTLS', 'type': 'bool'}, + 'web_categories': {'key': 'webCategories', 'type': '[str]'}, + } + + def __init__( + self, + *, + name: Optional[str] = None, + description: Optional[str] = None, + source_addresses: Optional[List[str]] = None, + destination_addresses: Optional[List[str]] = None, + protocols: Optional[List["FirewallPolicyRuleApplicationProtocol"]] = None, + target_fqdns: Optional[List[str]] = None, + target_urls: Optional[List[str]] = None, + fqdn_tags: Optional[List[str]] = None, + source_ip_groups: Optional[List[str]] = None, + terminate_tls: Optional[bool] = None, + web_categories: Optional[List[str]] = None, + **kwargs + ): + super(ApplicationRule, self).__init__(name=name, description=description, **kwargs) + self.rule_type = 'ApplicationRule' # type: str + self.source_addresses = source_addresses + self.destination_addresses = destination_addresses + self.protocols = protocols + self.target_fqdns = target_fqdns + self.target_urls = target_urls + self.fqdn_tags = fqdn_tags + self.source_ip_groups = source_ip_groups + self.terminate_tls = terminate_tls + self.web_categories = web_categories + + +class ApplicationSecurityGroup(Resource): + """An application security group in a resource group. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar resource_guid: The resource GUID property of the application security group resource. It + uniquely identifies a resource, even if the user changes its name or migrate the resource + across subscriptions or resource groups. + :vartype resource_guid: str + :ivar provisioning_state: The provisioning state of the application security group resource. + Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'resource_guid': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'resource_guid': {'key': 'properties.resourceGuid', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + location: Optional[str] = None, + tags: Optional[Dict[str, str]] = None, + **kwargs + ): + super(ApplicationSecurityGroup, self).__init__(id=id, location=location, tags=tags, **kwargs) + self.etag = None + self.resource_guid = None + self.provisioning_state = None + + +class ApplicationSecurityGroupListResult(msrest.serialization.Model): + """A list of application security groups. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: A list of application security groups. + :type value: list[~azure.mgmt.network.v2021_02_01.models.ApplicationSecurityGroup] + :ivar next_link: The URL to get the next set of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[ApplicationSecurityGroup]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["ApplicationSecurityGroup"]] = None, + **kwargs + ): + super(ApplicationSecurityGroupListResult, self).__init__(**kwargs) + self.value = value + self.next_link = None + + +class AuthorizationListResult(msrest.serialization.Model): + """Response for ListAuthorizations API service call retrieves all authorizations that belongs to an ExpressRouteCircuit. + + :param value: The authorizations in an ExpressRoute Circuit. + :type value: list[~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitAuthorization] + :param next_link: The URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[ExpressRouteCircuitAuthorization]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["ExpressRouteCircuitAuthorization"]] = None, + next_link: Optional[str] = None, + **kwargs + ): + super(AuthorizationListResult, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class AutoApprovedPrivateLinkService(msrest.serialization.Model): + """The information of an AutoApprovedPrivateLinkService. + + :param private_link_service: The id of the private link service resource. + :type private_link_service: str + """ + + _attribute_map = { + 'private_link_service': {'key': 'privateLinkService', 'type': 'str'}, + } + + def __init__( + self, + *, + private_link_service: Optional[str] = None, + **kwargs + ): + super(AutoApprovedPrivateLinkService, self).__init__(**kwargs) + self.private_link_service = private_link_service + + +class AutoApprovedPrivateLinkServicesResult(msrest.serialization.Model): + """An array of private link service id that can be linked to a private end point with auto approved. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: An array of auto approved private link service. + :type value: list[~azure.mgmt.network.v2021_02_01.models.AutoApprovedPrivateLinkService] + :ivar next_link: The URL to get the next set of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[AutoApprovedPrivateLinkService]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["AutoApprovedPrivateLinkService"]] = None, + **kwargs + ): + super(AutoApprovedPrivateLinkServicesResult, self).__init__(**kwargs) + self.value = value + self.next_link = None + + +class Availability(msrest.serialization.Model): + """Availability of the metric. + + :param time_grain: The time grain of the availability. + :type time_grain: str + :param retention: The retention of the availability. + :type retention: str + :param blob_duration: Duration of the availability blob. + :type blob_duration: str + """ + + _attribute_map = { + 'time_grain': {'key': 'timeGrain', 'type': 'str'}, + 'retention': {'key': 'retention', 'type': 'str'}, + 'blob_duration': {'key': 'blobDuration', 'type': 'str'}, + } + + def __init__( + self, + *, + time_grain: Optional[str] = None, + retention: Optional[str] = None, + blob_duration: Optional[str] = None, + **kwargs + ): + super(Availability, self).__init__(**kwargs) + self.time_grain = time_grain + self.retention = retention + self.blob_duration = blob_duration + + +class AvailableDelegation(msrest.serialization.Model): + """The serviceName of an AvailableDelegation indicates a possible delegation for a subnet. + + :param name: The name of the AvailableDelegation resource. + :type name: str + :param id: A unique identifier of the AvailableDelegation resource. + :type id: str + :param type: Resource type. + :type type: str + :param service_name: The name of the service and resource. + :type service_name: str + :param actions: The actions permitted to the service upon delegation. + :type actions: list[str] + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'id': {'key': 'id', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'service_name': {'key': 'serviceName', 'type': 'str'}, + 'actions': {'key': 'actions', 'type': '[str]'}, + } + + def __init__( + self, + *, + name: Optional[str] = None, + id: Optional[str] = None, + type: Optional[str] = None, + service_name: Optional[str] = None, + actions: Optional[List[str]] = None, + **kwargs + ): + super(AvailableDelegation, self).__init__(**kwargs) + self.name = name + self.id = id + self.type = type + self.service_name = service_name + self.actions = actions + + +class AvailableDelegationsResult(msrest.serialization.Model): + """An array of available delegations. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: An array of available delegations. + :type value: list[~azure.mgmt.network.v2021_02_01.models.AvailableDelegation] + :ivar next_link: The URL to get the next set of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[AvailableDelegation]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["AvailableDelegation"]] = None, + **kwargs + ): + super(AvailableDelegationsResult, self).__init__(**kwargs) + self.value = value + self.next_link = None + + +class AvailablePrivateEndpointType(msrest.serialization.Model): + """The information of an AvailablePrivateEndpointType. + + :param name: The name of the service and resource. + :type name: str + :param id: A unique identifier of the AvailablePrivateEndpoint Type resource. + :type id: str + :param type: Resource type. + :type type: str + :param resource_name: The name of the service and resource. + :type resource_name: str + :param display_name: Display name of the resource. + :type display_name: str + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'id': {'key': 'id', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'resource_name': {'key': 'resourceName', 'type': 'str'}, + 'display_name': {'key': 'displayName', 'type': 'str'}, + } + + def __init__( + self, + *, + name: Optional[str] = None, + id: Optional[str] = None, + type: Optional[str] = None, + resource_name: Optional[str] = None, + display_name: Optional[str] = None, + **kwargs + ): + super(AvailablePrivateEndpointType, self).__init__(**kwargs) + self.name = name + self.id = id + self.type = type + self.resource_name = resource_name + self.display_name = display_name + + +class AvailablePrivateEndpointTypesResult(msrest.serialization.Model): + """An array of available PrivateEndpoint types. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: An array of available privateEndpoint type. + :type value: list[~azure.mgmt.network.v2021_02_01.models.AvailablePrivateEndpointType] + :ivar next_link: The URL to get the next set of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[AvailablePrivateEndpointType]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["AvailablePrivateEndpointType"]] = None, + **kwargs + ): + super(AvailablePrivateEndpointTypesResult, self).__init__(**kwargs) + self.value = value + self.next_link = None + + +class AvailableProvidersList(msrest.serialization.Model): + """List of available countries with details. + + All required parameters must be populated in order to send to Azure. + + :param countries: Required. List of available countries. + :type countries: list[~azure.mgmt.network.v2021_02_01.models.AvailableProvidersListCountry] + """ + + _validation = { + 'countries': {'required': True}, + } + + _attribute_map = { + 'countries': {'key': 'countries', 'type': '[AvailableProvidersListCountry]'}, + } + + def __init__( + self, + *, + countries: List["AvailableProvidersListCountry"], + **kwargs + ): + super(AvailableProvidersList, self).__init__(**kwargs) + self.countries = countries + + +class AvailableProvidersListCity(msrest.serialization.Model): + """City or town details. + + :param city_name: The city or town name. + :type city_name: str + :param providers: A list of Internet service providers. + :type providers: list[str] + """ + + _attribute_map = { + 'city_name': {'key': 'cityName', 'type': 'str'}, + 'providers': {'key': 'providers', 'type': '[str]'}, + } + + def __init__( + self, + *, + city_name: Optional[str] = None, + providers: Optional[List[str]] = None, + **kwargs + ): + super(AvailableProvidersListCity, self).__init__(**kwargs) + self.city_name = city_name + self.providers = providers + + +class AvailableProvidersListCountry(msrest.serialization.Model): + """Country details. + + :param country_name: The country name. + :type country_name: str + :param providers: A list of Internet service providers. + :type providers: list[str] + :param states: List of available states in the country. + :type states: list[~azure.mgmt.network.v2021_02_01.models.AvailableProvidersListState] + """ + + _attribute_map = { + 'country_name': {'key': 'countryName', 'type': 'str'}, + 'providers': {'key': 'providers', 'type': '[str]'}, + 'states': {'key': 'states', 'type': '[AvailableProvidersListState]'}, + } + + def __init__( + self, + *, + country_name: Optional[str] = None, + providers: Optional[List[str]] = None, + states: Optional[List["AvailableProvidersListState"]] = None, + **kwargs + ): + super(AvailableProvidersListCountry, self).__init__(**kwargs) + self.country_name = country_name + self.providers = providers + self.states = states + + +class AvailableProvidersListParameters(msrest.serialization.Model): + """Constraints that determine the list of available Internet service providers. + + :param azure_locations: A list of Azure regions. + :type azure_locations: list[str] + :param country: The country for available providers list. + :type country: str + :param state: The state for available providers list. + :type state: str + :param city: The city or town for available providers list. + :type city: str + """ + + _attribute_map = { + 'azure_locations': {'key': 'azureLocations', 'type': '[str]'}, + 'country': {'key': 'country', 'type': 'str'}, + 'state': {'key': 'state', 'type': 'str'}, + 'city': {'key': 'city', 'type': 'str'}, + } + + def __init__( + self, + *, + azure_locations: Optional[List[str]] = None, + country: Optional[str] = None, + state: Optional[str] = None, + city: Optional[str] = None, + **kwargs + ): + super(AvailableProvidersListParameters, self).__init__(**kwargs) + self.azure_locations = azure_locations + self.country = country + self.state = state + self.city = city + + +class AvailableProvidersListState(msrest.serialization.Model): + """State details. + + :param state_name: The state name. + :type state_name: str + :param providers: A list of Internet service providers. + :type providers: list[str] + :param cities: List of available cities or towns in the state. + :type cities: list[~azure.mgmt.network.v2021_02_01.models.AvailableProvidersListCity] + """ + + _attribute_map = { + 'state_name': {'key': 'stateName', 'type': 'str'}, + 'providers': {'key': 'providers', 'type': '[str]'}, + 'cities': {'key': 'cities', 'type': '[AvailableProvidersListCity]'}, + } + + def __init__( + self, + *, + state_name: Optional[str] = None, + providers: Optional[List[str]] = None, + cities: Optional[List["AvailableProvidersListCity"]] = None, + **kwargs + ): + super(AvailableProvidersListState, self).__init__(**kwargs) + self.state_name = state_name + self.providers = providers + self.cities = cities + + +class AvailableServiceAlias(msrest.serialization.Model): + """The available service alias. + + :param name: The name of the service alias. + :type name: str + :param id: The ID of the service alias. + :type id: str + :param type: The type of the resource. + :type type: str + :param resource_name: The resource name of the service alias. + :type resource_name: str + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'id': {'key': 'id', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'resource_name': {'key': 'resourceName', 'type': 'str'}, + } + + def __init__( + self, + *, + name: Optional[str] = None, + id: Optional[str] = None, + type: Optional[str] = None, + resource_name: Optional[str] = None, + **kwargs + ): + super(AvailableServiceAlias, self).__init__(**kwargs) + self.name = name + self.id = id + self.type = type + self.resource_name = resource_name + + +class AvailableServiceAliasesResult(msrest.serialization.Model): + """An array of available service aliases. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: An array of available service aliases. + :type value: list[~azure.mgmt.network.v2021_02_01.models.AvailableServiceAlias] + :ivar next_link: The URL to get the next set of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[AvailableServiceAlias]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["AvailableServiceAlias"]] = None, + **kwargs + ): + super(AvailableServiceAliasesResult, self).__init__(**kwargs) + self.value = value + self.next_link = None + + +class AzureAsyncOperationResult(msrest.serialization.Model): + """The response body contains the status of the specified asynchronous operation, indicating whether it has succeeded, is in progress, or has failed. Note that this status is distinct from the HTTP status code returned for the Get Operation Status operation itself. If the asynchronous operation succeeded, the response body includes the HTTP status code for the successful request. If the asynchronous operation failed, the response body includes the HTTP status code for the failed request and error information regarding the failure. + + :param status: Status of the Azure async operation. Possible values include: "InProgress", + "Succeeded", "Failed". + :type status: str or ~azure.mgmt.network.v2021_02_01.models.NetworkOperationStatus + :param error: Details of the error occurred during specified asynchronous operation. + :type error: ~azure.mgmt.network.v2021_02_01.models.Error + """ + + _attribute_map = { + 'status': {'key': 'status', 'type': 'str'}, + 'error': {'key': 'error', 'type': 'Error'}, + } + + def __init__( + self, + *, + status: Optional[Union[str, "NetworkOperationStatus"]] = None, + error: Optional["Error"] = None, + **kwargs + ): + super(AzureAsyncOperationResult, self).__init__(**kwargs) + self.status = status + self.error = error + + +class AzureFirewall(Resource): + """Azure Firewall resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :param zones: A list of availability zones denoting where the resource needs to come from. + :type zones: list[str] + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param application_rule_collections: Collection of application rule collections used by Azure + Firewall. + :type application_rule_collections: + list[~azure.mgmt.network.v2021_02_01.models.AzureFirewallApplicationRuleCollection] + :param nat_rule_collections: Collection of NAT rule collections used by Azure Firewall. + :type nat_rule_collections: + list[~azure.mgmt.network.v2021_02_01.models.AzureFirewallNatRuleCollection] + :param network_rule_collections: Collection of network rule collections used by Azure Firewall. + :type network_rule_collections: + list[~azure.mgmt.network.v2021_02_01.models.AzureFirewallNetworkRuleCollection] + :param ip_configurations: IP configuration of the Azure Firewall resource. + :type ip_configurations: + list[~azure.mgmt.network.v2021_02_01.models.AzureFirewallIPConfiguration] + :param management_ip_configuration: IP configuration of the Azure Firewall used for management + traffic. + :type management_ip_configuration: + ~azure.mgmt.network.v2021_02_01.models.AzureFirewallIPConfiguration + :ivar provisioning_state: The provisioning state of the Azure firewall resource. Possible + values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :param threat_intel_mode: The operation mode for Threat Intelligence. Possible values include: + "Alert", "Deny", "Off". + :type threat_intel_mode: str or + ~azure.mgmt.network.v2021_02_01.models.AzureFirewallThreatIntelMode + :param virtual_hub: The virtualHub to which the firewall belongs. + :type virtual_hub: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param firewall_policy: The firewallPolicy associated with this azure firewall. + :type firewall_policy: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param hub_ip_addresses: IP addresses associated with AzureFirewall. + :type hub_ip_addresses: ~azure.mgmt.network.v2021_02_01.models.HubIPAddresses + :ivar ip_groups: IpGroups associated with AzureFirewall. + :vartype ip_groups: list[~azure.mgmt.network.v2021_02_01.models.AzureFirewallIpGroups] + :param sku: The Azure Firewall Resource SKU. + :type sku: ~azure.mgmt.network.v2021_02_01.models.AzureFirewallSku + :param additional_properties: The additional properties used to further config this azure + firewall. + :type additional_properties: dict[str, str] + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'ip_groups': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'zones': {'key': 'zones', 'type': '[str]'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'application_rule_collections': {'key': 'properties.applicationRuleCollections', 'type': '[AzureFirewallApplicationRuleCollection]'}, + 'nat_rule_collections': {'key': 'properties.natRuleCollections', 'type': '[AzureFirewallNatRuleCollection]'}, + 'network_rule_collections': {'key': 'properties.networkRuleCollections', 'type': '[AzureFirewallNetworkRuleCollection]'}, + 'ip_configurations': {'key': 'properties.ipConfigurations', 'type': '[AzureFirewallIPConfiguration]'}, + 'management_ip_configuration': {'key': 'properties.managementIpConfiguration', 'type': 'AzureFirewallIPConfiguration'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'threat_intel_mode': {'key': 'properties.threatIntelMode', 'type': 'str'}, + 'virtual_hub': {'key': 'properties.virtualHub', 'type': 'SubResource'}, + 'firewall_policy': {'key': 'properties.firewallPolicy', 'type': 'SubResource'}, + 'hub_ip_addresses': {'key': 'properties.hubIPAddresses', 'type': 'HubIPAddresses'}, + 'ip_groups': {'key': 'properties.ipGroups', 'type': '[AzureFirewallIpGroups]'}, + 'sku': {'key': 'properties.sku', 'type': 'AzureFirewallSku'}, + 'additional_properties': {'key': 'properties.additionalProperties', 'type': '{str}'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + location: Optional[str] = None, + tags: Optional[Dict[str, str]] = None, + zones: Optional[List[str]] = None, + application_rule_collections: Optional[List["AzureFirewallApplicationRuleCollection"]] = None, + nat_rule_collections: Optional[List["AzureFirewallNatRuleCollection"]] = None, + network_rule_collections: Optional[List["AzureFirewallNetworkRuleCollection"]] = None, + ip_configurations: Optional[List["AzureFirewallIPConfiguration"]] = None, + management_ip_configuration: Optional["AzureFirewallIPConfiguration"] = None, + threat_intel_mode: Optional[Union[str, "AzureFirewallThreatIntelMode"]] = None, + virtual_hub: Optional["SubResource"] = None, + firewall_policy: Optional["SubResource"] = None, + hub_ip_addresses: Optional["HubIPAddresses"] = None, + sku: Optional["AzureFirewallSku"] = None, + additional_properties: Optional[Dict[str, str]] = None, + **kwargs + ): + super(AzureFirewall, self).__init__(id=id, location=location, tags=tags, **kwargs) + self.zones = zones + self.etag = None + self.application_rule_collections = application_rule_collections + self.nat_rule_collections = nat_rule_collections + self.network_rule_collections = network_rule_collections + self.ip_configurations = ip_configurations + self.management_ip_configuration = management_ip_configuration + self.provisioning_state = None + self.threat_intel_mode = threat_intel_mode + self.virtual_hub = virtual_hub + self.firewall_policy = firewall_policy + self.hub_ip_addresses = hub_ip_addresses + self.ip_groups = None + self.sku = sku + self.additional_properties = additional_properties + + +class AzureFirewallApplicationRule(msrest.serialization.Model): + """Properties of an application rule. + + :param name: Name of the application rule. + :type name: str + :param description: Description of the rule. + :type description: str + :param source_addresses: List of source IP addresses for this rule. + :type source_addresses: list[str] + :param protocols: Array of ApplicationRuleProtocols. + :type protocols: + list[~azure.mgmt.network.v2021_02_01.models.AzureFirewallApplicationRuleProtocol] + :param target_fqdns: List of FQDNs for this rule. + :type target_fqdns: list[str] + :param fqdn_tags: List of FQDN Tags for this rule. + :type fqdn_tags: list[str] + :param source_ip_groups: List of source IpGroups for this rule. + :type source_ip_groups: list[str] + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + 'source_addresses': {'key': 'sourceAddresses', 'type': '[str]'}, + 'protocols': {'key': 'protocols', 'type': '[AzureFirewallApplicationRuleProtocol]'}, + 'target_fqdns': {'key': 'targetFqdns', 'type': '[str]'}, + 'fqdn_tags': {'key': 'fqdnTags', 'type': '[str]'}, + 'source_ip_groups': {'key': 'sourceIpGroups', 'type': '[str]'}, + } + + def __init__( + self, + *, + name: Optional[str] = None, + description: Optional[str] = None, + source_addresses: Optional[List[str]] = None, + protocols: Optional[List["AzureFirewallApplicationRuleProtocol"]] = None, + target_fqdns: Optional[List[str]] = None, + fqdn_tags: Optional[List[str]] = None, + source_ip_groups: Optional[List[str]] = None, + **kwargs + ): + super(AzureFirewallApplicationRule, self).__init__(**kwargs) + self.name = name + self.description = description + self.source_addresses = source_addresses + self.protocols = protocols + self.target_fqdns = target_fqdns + self.fqdn_tags = fqdn_tags + self.source_ip_groups = source_ip_groups + + +class AzureFirewallApplicationRuleCollection(SubResource): + """Application rule collection resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: The name of the resource that is unique within the Azure firewall. This name can + be used to access the resource. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param priority: Priority of the application rule collection resource. + :type priority: int + :param action: The action type of a rule collection. + :type action: ~azure.mgmt.network.v2021_02_01.models.AzureFirewallRCAction + :param rules: Collection of rules used by a application rule collection. + :type rules: list[~azure.mgmt.network.v2021_02_01.models.AzureFirewallApplicationRule] + :ivar provisioning_state: The provisioning state of the application rule collection resource. + Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'priority': {'maximum': 65000, 'minimum': 100}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'priority': {'key': 'properties.priority', 'type': 'int'}, + 'action': {'key': 'properties.action', 'type': 'AzureFirewallRCAction'}, + 'rules': {'key': 'properties.rules', 'type': '[AzureFirewallApplicationRule]'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + name: Optional[str] = None, + priority: Optional[int] = None, + action: Optional["AzureFirewallRCAction"] = None, + rules: Optional[List["AzureFirewallApplicationRule"]] = None, + **kwargs + ): + super(AzureFirewallApplicationRuleCollection, self).__init__(id=id, **kwargs) + self.name = name + self.etag = None + self.priority = priority + self.action = action + self.rules = rules + self.provisioning_state = None + + +class AzureFirewallApplicationRuleProtocol(msrest.serialization.Model): + """Properties of the application rule protocol. + + :param protocol_type: Protocol type. Possible values include: "Http", "Https", "Mssql". + :type protocol_type: str or + ~azure.mgmt.network.v2021_02_01.models.AzureFirewallApplicationRuleProtocolType + :param port: Port number for the protocol, cannot be greater than 64000. This field is + optional. + :type port: int + """ + + _validation = { + 'port': {'maximum': 64000, 'minimum': 0}, + } + + _attribute_map = { + 'protocol_type': {'key': 'protocolType', 'type': 'str'}, + 'port': {'key': 'port', 'type': 'int'}, + } + + def __init__( + self, + *, + protocol_type: Optional[Union[str, "AzureFirewallApplicationRuleProtocolType"]] = None, + port: Optional[int] = None, + **kwargs + ): + super(AzureFirewallApplicationRuleProtocol, self).__init__(**kwargs) + self.protocol_type = protocol_type + self.port = port + + +class AzureFirewallFqdnTag(Resource): + """Azure Firewall FQDN Tag Resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar provisioning_state: The provisioning state of the Azure firewall FQDN tag resource. + Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :ivar fqdn_tag_name: The name of this FQDN Tag. + :vartype fqdn_tag_name: str + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'fqdn_tag_name': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'fqdn_tag_name': {'key': 'properties.fqdnTagName', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + location: Optional[str] = None, + tags: Optional[Dict[str, str]] = None, + **kwargs + ): + super(AzureFirewallFqdnTag, self).__init__(id=id, location=location, tags=tags, **kwargs) + self.etag = None + self.provisioning_state = None + self.fqdn_tag_name = None + + +class AzureFirewallFqdnTagListResult(msrest.serialization.Model): + """Response for ListAzureFirewallFqdnTags API service call. + + :param value: List of Azure Firewall FQDN Tags in a resource group. + :type value: list[~azure.mgmt.network.v2021_02_01.models.AzureFirewallFqdnTag] + :param next_link: URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[AzureFirewallFqdnTag]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["AzureFirewallFqdnTag"]] = None, + next_link: Optional[str] = None, + **kwargs + ): + super(AzureFirewallFqdnTagListResult, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class AzureFirewallIPConfiguration(SubResource): + """IP configuration of an Azure Firewall. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: Name of the resource that is unique within a resource group. This name can be used + to access the resource. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str + :ivar private_ip_address: The Firewall Internal Load Balancer IP to be used as the next hop in + User Defined Routes. + :vartype private_ip_address: str + :param subnet: Reference to the subnet resource. This resource must be named + 'AzureFirewallSubnet' or 'AzureFirewallManagementSubnet'. + :type subnet: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param public_ip_address: Reference to the PublicIP resource. This field is a mandatory input + if subnet is not null. + :type public_ip_address: ~azure.mgmt.network.v2021_02_01.models.SubResource + :ivar provisioning_state: The provisioning state of the Azure firewall IP configuration + resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'private_ip_address': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'private_ip_address': {'key': 'properties.privateIPAddress', 'type': 'str'}, + 'subnet': {'key': 'properties.subnet', 'type': 'SubResource'}, + 'public_ip_address': {'key': 'properties.publicIPAddress', 'type': 'SubResource'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + name: Optional[str] = None, + subnet: Optional["SubResource"] = None, + public_ip_address: Optional["SubResource"] = None, + **kwargs + ): + super(AzureFirewallIPConfiguration, self).__init__(id=id, **kwargs) + self.name = name + self.etag = None + self.type = None + self.private_ip_address = None + self.subnet = subnet + self.public_ip_address = public_ip_address + self.provisioning_state = None + + +class AzureFirewallIpGroups(msrest.serialization.Model): + """IpGroups associated with azure firewall. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Resource ID. + :vartype id: str + :ivar change_number: The iteration number. + :vartype change_number: str + """ + + _validation = { + 'id': {'readonly': True}, + 'change_number': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'change_number': {'key': 'changeNumber', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(AzureFirewallIpGroups, self).__init__(**kwargs) + self.id = None + self.change_number = None + + +class AzureFirewallListResult(msrest.serialization.Model): + """Response for ListAzureFirewalls API service call. + + :param value: List of Azure Firewalls in a resource group. + :type value: list[~azure.mgmt.network.v2021_02_01.models.AzureFirewall] + :param next_link: URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[AzureFirewall]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["AzureFirewall"]] = None, + next_link: Optional[str] = None, + **kwargs + ): + super(AzureFirewallListResult, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class AzureFirewallNatRCAction(msrest.serialization.Model): + """AzureFirewall NAT Rule Collection Action. + + :param type: The type of action. Possible values include: "Snat", "Dnat". + :type type: str or ~azure.mgmt.network.v2021_02_01.models.AzureFirewallNatRCActionType + """ + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__( + self, + *, + type: Optional[Union[str, "AzureFirewallNatRCActionType"]] = None, + **kwargs + ): + super(AzureFirewallNatRCAction, self).__init__(**kwargs) + self.type = type + + +class AzureFirewallNatRule(msrest.serialization.Model): + """Properties of a NAT rule. + + :param name: Name of the NAT rule. + :type name: str + :param description: Description of the rule. + :type description: str + :param source_addresses: List of source IP addresses for this rule. + :type source_addresses: list[str] + :param destination_addresses: List of destination IP addresses for this rule. Supports IP + ranges, prefixes, and service tags. + :type destination_addresses: list[str] + :param destination_ports: List of destination ports. + :type destination_ports: list[str] + :param protocols: Array of AzureFirewallNetworkRuleProtocols applicable to this NAT rule. + :type protocols: list[str or + ~azure.mgmt.network.v2021_02_01.models.AzureFirewallNetworkRuleProtocol] + :param translated_address: The translated address for this NAT rule. + :type translated_address: str + :param translated_port: The translated port for this NAT rule. + :type translated_port: str + :param translated_fqdn: The translated FQDN for this NAT rule. + :type translated_fqdn: str + :param source_ip_groups: List of source IpGroups for this rule. + :type source_ip_groups: list[str] + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + 'source_addresses': {'key': 'sourceAddresses', 'type': '[str]'}, + 'destination_addresses': {'key': 'destinationAddresses', 'type': '[str]'}, + 'destination_ports': {'key': 'destinationPorts', 'type': '[str]'}, + 'protocols': {'key': 'protocols', 'type': '[str]'}, + 'translated_address': {'key': 'translatedAddress', 'type': 'str'}, + 'translated_port': {'key': 'translatedPort', 'type': 'str'}, + 'translated_fqdn': {'key': 'translatedFqdn', 'type': 'str'}, + 'source_ip_groups': {'key': 'sourceIpGroups', 'type': '[str]'}, + } + + def __init__( + self, + *, + name: Optional[str] = None, + description: Optional[str] = None, + source_addresses: Optional[List[str]] = None, + destination_addresses: Optional[List[str]] = None, + destination_ports: Optional[List[str]] = None, + protocols: Optional[List[Union[str, "AzureFirewallNetworkRuleProtocol"]]] = None, + translated_address: Optional[str] = None, + translated_port: Optional[str] = None, + translated_fqdn: Optional[str] = None, + source_ip_groups: Optional[List[str]] = None, + **kwargs + ): + super(AzureFirewallNatRule, self).__init__(**kwargs) + self.name = name + self.description = description + self.source_addresses = source_addresses + self.destination_addresses = destination_addresses + self.destination_ports = destination_ports + self.protocols = protocols + self.translated_address = translated_address + self.translated_port = translated_port + self.translated_fqdn = translated_fqdn + self.source_ip_groups = source_ip_groups + + +class AzureFirewallNatRuleCollection(SubResource): + """NAT rule collection resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: The name of the resource that is unique within the Azure firewall. This name can + be used to access the resource. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param priority: Priority of the NAT rule collection resource. + :type priority: int + :param action: The action type of a NAT rule collection. + :type action: ~azure.mgmt.network.v2021_02_01.models.AzureFirewallNatRCAction + :param rules: Collection of rules used by a NAT rule collection. + :type rules: list[~azure.mgmt.network.v2021_02_01.models.AzureFirewallNatRule] + :ivar provisioning_state: The provisioning state of the NAT rule collection resource. Possible + values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'priority': {'maximum': 65000, 'minimum': 100}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'priority': {'key': 'properties.priority', 'type': 'int'}, + 'action': {'key': 'properties.action', 'type': 'AzureFirewallNatRCAction'}, + 'rules': {'key': 'properties.rules', 'type': '[AzureFirewallNatRule]'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + name: Optional[str] = None, + priority: Optional[int] = None, + action: Optional["AzureFirewallNatRCAction"] = None, + rules: Optional[List["AzureFirewallNatRule"]] = None, + **kwargs + ): + super(AzureFirewallNatRuleCollection, self).__init__(id=id, **kwargs) + self.name = name + self.etag = None + self.priority = priority + self.action = action + self.rules = rules + self.provisioning_state = None + + +class AzureFirewallNetworkRule(msrest.serialization.Model): + """Properties of the network rule. + + :param name: Name of the network rule. + :type name: str + :param description: Description of the rule. + :type description: str + :param protocols: Array of AzureFirewallNetworkRuleProtocols. + :type protocols: list[str or + ~azure.mgmt.network.v2021_02_01.models.AzureFirewallNetworkRuleProtocol] + :param source_addresses: List of source IP addresses for this rule. + :type source_addresses: list[str] + :param destination_addresses: List of destination IP addresses. + :type destination_addresses: list[str] + :param destination_ports: List of destination ports. + :type destination_ports: list[str] + :param destination_fqdns: List of destination FQDNs. + :type destination_fqdns: list[str] + :param source_ip_groups: List of source IpGroups for this rule. + :type source_ip_groups: list[str] + :param destination_ip_groups: List of destination IpGroups for this rule. + :type destination_ip_groups: list[str] + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + 'protocols': {'key': 'protocols', 'type': '[str]'}, + 'source_addresses': {'key': 'sourceAddresses', 'type': '[str]'}, + 'destination_addresses': {'key': 'destinationAddresses', 'type': '[str]'}, + 'destination_ports': {'key': 'destinationPorts', 'type': '[str]'}, + 'destination_fqdns': {'key': 'destinationFqdns', 'type': '[str]'}, + 'source_ip_groups': {'key': 'sourceIpGroups', 'type': '[str]'}, + 'destination_ip_groups': {'key': 'destinationIpGroups', 'type': '[str]'}, + } + + def __init__( + self, + *, + name: Optional[str] = None, + description: Optional[str] = None, + protocols: Optional[List[Union[str, "AzureFirewallNetworkRuleProtocol"]]] = None, + source_addresses: Optional[List[str]] = None, + destination_addresses: Optional[List[str]] = None, + destination_ports: Optional[List[str]] = None, + destination_fqdns: Optional[List[str]] = None, + source_ip_groups: Optional[List[str]] = None, + destination_ip_groups: Optional[List[str]] = None, + **kwargs + ): + super(AzureFirewallNetworkRule, self).__init__(**kwargs) + self.name = name + self.description = description + self.protocols = protocols + self.source_addresses = source_addresses + self.destination_addresses = destination_addresses + self.destination_ports = destination_ports + self.destination_fqdns = destination_fqdns + self.source_ip_groups = source_ip_groups + self.destination_ip_groups = destination_ip_groups + + +class AzureFirewallNetworkRuleCollection(SubResource): + """Network rule collection resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: The name of the resource that is unique within the Azure firewall. This name can + be used to access the resource. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param priority: Priority of the network rule collection resource. + :type priority: int + :param action: The action type of a rule collection. + :type action: ~azure.mgmt.network.v2021_02_01.models.AzureFirewallRCAction + :param rules: Collection of rules used by a network rule collection. + :type rules: list[~azure.mgmt.network.v2021_02_01.models.AzureFirewallNetworkRule] + :ivar provisioning_state: The provisioning state of the network rule collection resource. + Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'priority': {'maximum': 65000, 'minimum': 100}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'priority': {'key': 'properties.priority', 'type': 'int'}, + 'action': {'key': 'properties.action', 'type': 'AzureFirewallRCAction'}, + 'rules': {'key': 'properties.rules', 'type': '[AzureFirewallNetworkRule]'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + name: Optional[str] = None, + priority: Optional[int] = None, + action: Optional["AzureFirewallRCAction"] = None, + rules: Optional[List["AzureFirewallNetworkRule"]] = None, + **kwargs + ): + super(AzureFirewallNetworkRuleCollection, self).__init__(id=id, **kwargs) + self.name = name + self.etag = None + self.priority = priority + self.action = action + self.rules = rules + self.provisioning_state = None + + +class AzureFirewallPublicIPAddress(msrest.serialization.Model): + """Public IP Address associated with azure firewall. + + :param address: Public IP Address value. + :type address: str + """ + + _attribute_map = { + 'address': {'key': 'address', 'type': 'str'}, + } + + def __init__( + self, + *, + address: Optional[str] = None, + **kwargs + ): + super(AzureFirewallPublicIPAddress, self).__init__(**kwargs) + self.address = address + + +class AzureFirewallRCAction(msrest.serialization.Model): + """Properties of the AzureFirewallRCAction. + + :param type: The type of action. Possible values include: "Allow", "Deny". + :type type: str or ~azure.mgmt.network.v2021_02_01.models.AzureFirewallRCActionType + """ + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__( + self, + *, + type: Optional[Union[str, "AzureFirewallRCActionType"]] = None, + **kwargs + ): + super(AzureFirewallRCAction, self).__init__(**kwargs) + self.type = type + + +class AzureFirewallSku(msrest.serialization.Model): + """SKU of an Azure Firewall. + + :param name: Name of an Azure Firewall SKU. Possible values include: "AZFW_VNet", "AZFW_Hub". + :type name: str or ~azure.mgmt.network.v2021_02_01.models.AzureFirewallSkuName + :param tier: Tier of an Azure Firewall. Possible values include: "Standard", "Premium". + :type tier: str or ~azure.mgmt.network.v2021_02_01.models.AzureFirewallSkuTier + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'tier': {'key': 'tier', 'type': 'str'}, + } + + def __init__( + self, + *, + name: Optional[Union[str, "AzureFirewallSkuName"]] = None, + tier: Optional[Union[str, "AzureFirewallSkuTier"]] = None, + **kwargs + ): + super(AzureFirewallSku, self).__init__(**kwargs) + self.name = name + self.tier = tier + + +class AzureReachabilityReport(msrest.serialization.Model): + """Azure reachability report details. + + All required parameters must be populated in order to send to Azure. + + :param aggregation_level: Required. The aggregation level of Azure reachability report. Can be + Country, State or City. + :type aggregation_level: str + :param provider_location: Required. Parameters that define a geographic location. + :type provider_location: ~azure.mgmt.network.v2021_02_01.models.AzureReachabilityReportLocation + :param reachability_report: Required. List of Azure reachability report items. + :type reachability_report: + list[~azure.mgmt.network.v2021_02_01.models.AzureReachabilityReportItem] + """ + + _validation = { + 'aggregation_level': {'required': True}, + 'provider_location': {'required': True}, + 'reachability_report': {'required': True}, + } + + _attribute_map = { + 'aggregation_level': {'key': 'aggregationLevel', 'type': 'str'}, + 'provider_location': {'key': 'providerLocation', 'type': 'AzureReachabilityReportLocation'}, + 'reachability_report': {'key': 'reachabilityReport', 'type': '[AzureReachabilityReportItem]'}, + } + + def __init__( + self, + *, + aggregation_level: str, + provider_location: "AzureReachabilityReportLocation", + reachability_report: List["AzureReachabilityReportItem"], + **kwargs + ): + super(AzureReachabilityReport, self).__init__(**kwargs) + self.aggregation_level = aggregation_level + self.provider_location = provider_location + self.reachability_report = reachability_report + + +class AzureReachabilityReportItem(msrest.serialization.Model): + """Azure reachability report details for a given provider location. + + :param provider: The Internet service provider. + :type provider: str + :param azure_location: The Azure region. + :type azure_location: str + :param latencies: List of latency details for each of the time series. + :type latencies: + list[~azure.mgmt.network.v2021_02_01.models.AzureReachabilityReportLatencyInfo] + """ + + _attribute_map = { + 'provider': {'key': 'provider', 'type': 'str'}, + 'azure_location': {'key': 'azureLocation', 'type': 'str'}, + 'latencies': {'key': 'latencies', 'type': '[AzureReachabilityReportLatencyInfo]'}, + } + + def __init__( + self, + *, + provider: Optional[str] = None, + azure_location: Optional[str] = None, + latencies: Optional[List["AzureReachabilityReportLatencyInfo"]] = None, + **kwargs + ): + super(AzureReachabilityReportItem, self).__init__(**kwargs) + self.provider = provider + self.azure_location = azure_location + self.latencies = latencies + + +class AzureReachabilityReportLatencyInfo(msrest.serialization.Model): + """Details on latency for a time series. + + :param time_stamp: The time stamp. + :type time_stamp: ~datetime.datetime + :param score: The relative latency score between 1 and 100, higher values indicating a faster + connection. + :type score: int + """ + + _validation = { + 'score': {'maximum': 100, 'minimum': 1}, + } + + _attribute_map = { + 'time_stamp': {'key': 'timeStamp', 'type': 'iso-8601'}, + 'score': {'key': 'score', 'type': 'int'}, + } + + def __init__( + self, + *, + time_stamp: Optional[datetime.datetime] = None, + score: Optional[int] = None, + **kwargs + ): + super(AzureReachabilityReportLatencyInfo, self).__init__(**kwargs) + self.time_stamp = time_stamp + self.score = score + + +class AzureReachabilityReportLocation(msrest.serialization.Model): + """Parameters that define a geographic location. + + All required parameters must be populated in order to send to Azure. + + :param country: Required. The name of the country. + :type country: str + :param state: The name of the state. + :type state: str + :param city: The name of the city or town. + :type city: str + """ + + _validation = { + 'country': {'required': True}, + } + + _attribute_map = { + 'country': {'key': 'country', 'type': 'str'}, + 'state': {'key': 'state', 'type': 'str'}, + 'city': {'key': 'city', 'type': 'str'}, + } + + def __init__( + self, + *, + country: str, + state: Optional[str] = None, + city: Optional[str] = None, + **kwargs + ): + super(AzureReachabilityReportLocation, self).__init__(**kwargs) + self.country = country + self.state = state + self.city = city + + +class AzureReachabilityReportParameters(msrest.serialization.Model): + """Geographic and time constraints for Azure reachability report. + + All required parameters must be populated in order to send to Azure. + + :param provider_location: Required. Parameters that define a geographic location. + :type provider_location: ~azure.mgmt.network.v2021_02_01.models.AzureReachabilityReportLocation + :param providers: List of Internet service providers. + :type providers: list[str] + :param azure_locations: Optional Azure regions to scope the query to. + :type azure_locations: list[str] + :param start_time: Required. The start time for the Azure reachability report. + :type start_time: ~datetime.datetime + :param end_time: Required. The end time for the Azure reachability report. + :type end_time: ~datetime.datetime + """ + + _validation = { + 'provider_location': {'required': True}, + 'start_time': {'required': True}, + 'end_time': {'required': True}, + } + + _attribute_map = { + 'provider_location': {'key': 'providerLocation', 'type': 'AzureReachabilityReportLocation'}, + 'providers': {'key': 'providers', 'type': '[str]'}, + 'azure_locations': {'key': 'azureLocations', 'type': '[str]'}, + 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, + 'end_time': {'key': 'endTime', 'type': 'iso-8601'}, + } + + def __init__( + self, + *, + provider_location: "AzureReachabilityReportLocation", + start_time: datetime.datetime, + end_time: datetime.datetime, + providers: Optional[List[str]] = None, + azure_locations: Optional[List[str]] = None, + **kwargs + ): + super(AzureReachabilityReportParameters, self).__init__(**kwargs) + self.provider_location = provider_location + self.providers = providers + self.azure_locations = azure_locations + self.start_time = start_time + self.end_time = end_time + + +class AzureWebCategory(msrest.serialization.Model): + """Azure Web Category Resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar group: The name of the group that the category belongs to. + :vartype group: str + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'group': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'group': {'key': 'properties.group', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + **kwargs + ): + super(AzureWebCategory, self).__init__(**kwargs) + self.id = id + self.name = None + self.type = None + self.etag = None + self.group = None + + +class AzureWebCategoryListResult(msrest.serialization.Model): + """Response for ListAzureWebCategories API service call. + + :param value: List of Azure Web Categories for a given Subscription. + :type value: list[~azure.mgmt.network.v2021_02_01.models.AzureWebCategory] + :param next_link: URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[AzureWebCategory]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["AzureWebCategory"]] = None, + next_link: Optional[str] = None, + **kwargs + ): + super(AzureWebCategoryListResult, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class BackendAddressPool(SubResource): + """Pool of backend IP addresses. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: The name of the resource that is unique within the set of backend address pools + used by the load balancer. This name can be used to access the resource. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str + :param location: The location of the backend address pool. + :type location: str + :param tunnel_interfaces: An array of gateway load balancer tunnel interfaces. + :type tunnel_interfaces: + list[~azure.mgmt.network.v2021_02_01.models.GatewayLoadBalancerTunnelInterface] + :param load_balancer_backend_addresses: An array of backend addresses. + :type load_balancer_backend_addresses: + list[~azure.mgmt.network.v2021_02_01.models.LoadBalancerBackendAddress] + :ivar backend_ip_configurations: An array of references to IP addresses defined in network + interfaces. + :vartype backend_ip_configurations: + list[~azure.mgmt.network.v2021_02_01.models.NetworkInterfaceIPConfiguration] + :ivar load_balancing_rules: An array of references to load balancing rules that use this + backend address pool. + :vartype load_balancing_rules: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + :ivar outbound_rule: A reference to an outbound rule that uses this backend address pool. + :vartype outbound_rule: ~azure.mgmt.network.v2021_02_01.models.SubResource + :ivar outbound_rules: An array of references to outbound rules that use this backend address + pool. + :vartype outbound_rules: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + :ivar provisioning_state: The provisioning state of the backend address pool resource. Possible + values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'backend_ip_configurations': {'readonly': True}, + 'load_balancing_rules': {'readonly': True}, + 'outbound_rule': {'readonly': True}, + 'outbound_rules': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'properties.location', 'type': 'str'}, + 'tunnel_interfaces': {'key': 'properties.tunnelInterfaces', 'type': '[GatewayLoadBalancerTunnelInterface]'}, + 'load_balancer_backend_addresses': {'key': 'properties.loadBalancerBackendAddresses', 'type': '[LoadBalancerBackendAddress]'}, + 'backend_ip_configurations': {'key': 'properties.backendIPConfigurations', 'type': '[NetworkInterfaceIPConfiguration]'}, + 'load_balancing_rules': {'key': 'properties.loadBalancingRules', 'type': '[SubResource]'}, + 'outbound_rule': {'key': 'properties.outboundRule', 'type': 'SubResource'}, + 'outbound_rules': {'key': 'properties.outboundRules', 'type': '[SubResource]'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + name: Optional[str] = None, + location: Optional[str] = None, + tunnel_interfaces: Optional[List["GatewayLoadBalancerTunnelInterface"]] = None, + load_balancer_backend_addresses: Optional[List["LoadBalancerBackendAddress"]] = None, + **kwargs + ): + super(BackendAddressPool, self).__init__(id=id, **kwargs) + self.name = name + self.etag = None + self.type = None + self.location = location + self.tunnel_interfaces = tunnel_interfaces + self.load_balancer_backend_addresses = load_balancer_backend_addresses + self.backend_ip_configurations = None + self.load_balancing_rules = None + self.outbound_rule = None + self.outbound_rules = None + self.provisioning_state = None + + +class BastionActiveSession(msrest.serialization.Model): + """The session detail for a target. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar session_id: A unique id for the session. + :vartype session_id: str + :ivar start_time: The time when the session started. + :vartype start_time: str + :ivar target_subscription_id: The subscription id for the target virtual machine. + :vartype target_subscription_id: str + :ivar resource_type: The type of the resource. + :vartype resource_type: str + :ivar target_host_name: The host name of the target. + :vartype target_host_name: str + :ivar target_resource_group: The resource group of the target. + :vartype target_resource_group: str + :ivar user_name: The user name who is active on this session. + :vartype user_name: str + :ivar target_ip_address: The IP Address of the target. + :vartype target_ip_address: str + :ivar protocol: The protocol used to connect to the target. Possible values include: "SSH", + "RDP". + :vartype protocol: str or ~azure.mgmt.network.v2021_02_01.models.BastionConnectProtocol + :ivar target_resource_id: The resource id of the target. + :vartype target_resource_id: str + :ivar session_duration_in_mins: Duration in mins the session has been active. + :vartype session_duration_in_mins: float + """ + + _validation = { + 'session_id': {'readonly': True}, + 'start_time': {'readonly': True}, + 'target_subscription_id': {'readonly': True}, + 'resource_type': {'readonly': True}, + 'target_host_name': {'readonly': True}, + 'target_resource_group': {'readonly': True}, + 'user_name': {'readonly': True}, + 'target_ip_address': {'readonly': True}, + 'protocol': {'readonly': True}, + 'target_resource_id': {'readonly': True}, + 'session_duration_in_mins': {'readonly': True}, + } + + _attribute_map = { + 'session_id': {'key': 'sessionId', 'type': 'str'}, + 'start_time': {'key': 'startTime', 'type': 'str'}, + 'target_subscription_id': {'key': 'targetSubscriptionId', 'type': 'str'}, + 'resource_type': {'key': 'resourceType', 'type': 'str'}, + 'target_host_name': {'key': 'targetHostName', 'type': 'str'}, + 'target_resource_group': {'key': 'targetResourceGroup', 'type': 'str'}, + 'user_name': {'key': 'userName', 'type': 'str'}, + 'target_ip_address': {'key': 'targetIpAddress', 'type': 'str'}, + 'protocol': {'key': 'protocol', 'type': 'str'}, + 'target_resource_id': {'key': 'targetResourceId', 'type': 'str'}, + 'session_duration_in_mins': {'key': 'sessionDurationInMins', 'type': 'float'}, + } + + def __init__( + self, + **kwargs + ): + super(BastionActiveSession, self).__init__(**kwargs) + self.session_id = None + self.start_time = None + self.target_subscription_id = None + self.resource_type = None + self.target_host_name = None + self.target_resource_group = None + self.user_name = None + self.target_ip_address = None + self.protocol = None + self.target_resource_id = None + self.session_duration_in_mins = None + + +class BastionActiveSessionListResult(msrest.serialization.Model): + """Response for GetActiveSessions. + + :param value: List of active sessions on the bastion. + :type value: list[~azure.mgmt.network.v2021_02_01.models.BastionActiveSession] + :param next_link: The URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[BastionActiveSession]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["BastionActiveSession"]] = None, + next_link: Optional[str] = None, + **kwargs + ): + super(BastionActiveSessionListResult, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class BastionHost(Resource): + """Bastion Host resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param sku: The sku of this Bastion Host. + :type sku: ~azure.mgmt.network.v2021_02_01.models.Sku + :param ip_configurations: IP configuration of the Bastion Host resource. + :type ip_configurations: + list[~azure.mgmt.network.v2021_02_01.models.BastionHostIPConfiguration] + :param dns_name: FQDN for the endpoint on which bastion host is accessible. + :type dns_name: str + :ivar provisioning_state: The provisioning state of the bastion host resource. Possible values + include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'sku': {'key': 'sku', 'type': 'Sku'}, + 'ip_configurations': {'key': 'properties.ipConfigurations', 'type': '[BastionHostIPConfiguration]'}, + 'dns_name': {'key': 'properties.dnsName', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + location: Optional[str] = None, + tags: Optional[Dict[str, str]] = None, + sku: Optional["Sku"] = None, + ip_configurations: Optional[List["BastionHostIPConfiguration"]] = None, + dns_name: Optional[str] = None, + **kwargs + ): + super(BastionHost, self).__init__(id=id, location=location, tags=tags, **kwargs) + self.etag = None + self.sku = sku + self.ip_configurations = ip_configurations + self.dns_name = dns_name + self.provisioning_state = None + + +class BastionHostIPConfiguration(SubResource): + """IP configuration of an Bastion Host. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: Name of the resource that is unique within a resource group. This name can be used + to access the resource. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Ip configuration type. + :vartype type: str + :param subnet: Reference of the subnet resource. + :type subnet: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param public_ip_address: Reference of the PublicIP resource. + :type public_ip_address: ~azure.mgmt.network.v2021_02_01.models.SubResource + :ivar provisioning_state: The provisioning state of the bastion host IP configuration resource. + Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :param private_ip_allocation_method: Private IP allocation method. Possible values include: + "Static", "Dynamic". + :type private_ip_allocation_method: str or + ~azure.mgmt.network.v2021_02_01.models.IPAllocationMethod + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'subnet': {'key': 'properties.subnet', 'type': 'SubResource'}, + 'public_ip_address': {'key': 'properties.publicIPAddress', 'type': 'SubResource'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'private_ip_allocation_method': {'key': 'properties.privateIPAllocationMethod', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + name: Optional[str] = None, + subnet: Optional["SubResource"] = None, + public_ip_address: Optional["SubResource"] = None, + private_ip_allocation_method: Optional[Union[str, "IPAllocationMethod"]] = None, + **kwargs + ): + super(BastionHostIPConfiguration, self).__init__(id=id, **kwargs) + self.name = name + self.etag = None + self.type = None + self.subnet = subnet + self.public_ip_address = public_ip_address + self.provisioning_state = None + self.private_ip_allocation_method = private_ip_allocation_method + + +class BastionHostListResult(msrest.serialization.Model): + """Response for ListBastionHosts API service call. + + :param value: List of Bastion Hosts in a resource group. + :type value: list[~azure.mgmt.network.v2021_02_01.models.BastionHost] + :param next_link: URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[BastionHost]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["BastionHost"]] = None, + next_link: Optional[str] = None, + **kwargs + ): + super(BastionHostListResult, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class BastionSessionDeleteResult(msrest.serialization.Model): + """Response for DisconnectActiveSessions. + + :param value: List of sessions with their corresponding state. + :type value: list[~azure.mgmt.network.v2021_02_01.models.BastionSessionState] + :param next_link: The URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[BastionSessionState]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["BastionSessionState"]] = None, + next_link: Optional[str] = None, + **kwargs + ): + super(BastionSessionDeleteResult, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class BastionSessionState(msrest.serialization.Model): + """The session state detail for a target. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar session_id: A unique id for the session. + :vartype session_id: str + :ivar message: Used for extra information. + :vartype message: str + :ivar state: The state of the session. Disconnected/Failed/NotFound. + :vartype state: str + """ + + _validation = { + 'session_id': {'readonly': True}, + 'message': {'readonly': True}, + 'state': {'readonly': True}, + } + + _attribute_map = { + 'session_id': {'key': 'sessionId', 'type': 'str'}, + 'message': {'key': 'message', 'type': 'str'}, + 'state': {'key': 'state', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(BastionSessionState, self).__init__(**kwargs) + self.session_id = None + self.message = None + self.state = None + + +class BastionShareableLink(msrest.serialization.Model): + """Bastion Shareable Link. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param vm: Required. Reference of the virtual machine resource. + :type vm: ~azure.mgmt.network.v2021_02_01.models.VM + :ivar bsl: The unique Bastion Shareable Link to the virtual machine. + :vartype bsl: str + :ivar created_at: The time when the link was created. + :vartype created_at: str + :ivar message: Optional field indicating the warning or error message related to the vm in case + of partial failure. + :vartype message: str + """ + + _validation = { + 'vm': {'required': True}, + 'bsl': {'readonly': True}, + 'created_at': {'readonly': True}, + 'message': {'readonly': True}, + } + + _attribute_map = { + 'vm': {'key': 'vm', 'type': 'VM'}, + 'bsl': {'key': 'bsl', 'type': 'str'}, + 'created_at': {'key': 'createdAt', 'type': 'str'}, + 'message': {'key': 'message', 'type': 'str'}, + } + + def __init__( + self, + *, + vm: "VM", + **kwargs + ): + super(BastionShareableLink, self).__init__(**kwargs) + self.vm = vm + self.bsl = None + self.created_at = None + self.message = None + + +class BastionShareableLinkListRequest(msrest.serialization.Model): + """Post request for all the Bastion Shareable Link endpoints. + + :param vms: List of VM references. + :type vms: list[~azure.mgmt.network.v2021_02_01.models.BastionShareableLink] + """ + + _attribute_map = { + 'vms': {'key': 'vms', 'type': '[BastionShareableLink]'}, + } + + def __init__( + self, + *, + vms: Optional[List["BastionShareableLink"]] = None, + **kwargs + ): + super(BastionShareableLinkListRequest, self).__init__(**kwargs) + self.vms = vms + + +class BastionShareableLinkListResult(msrest.serialization.Model): + """Response for all the Bastion Shareable Link endpoints. + + :param value: List of Bastion Shareable Links for the request. + :type value: list[~azure.mgmt.network.v2021_02_01.models.BastionShareableLink] + :param next_link: The URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[BastionShareableLink]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["BastionShareableLink"]] = None, + next_link: Optional[str] = None, + **kwargs + ): + super(BastionShareableLinkListResult, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class BGPCommunity(msrest.serialization.Model): + """Contains bgp community information offered in Service Community resources. + + :param service_supported_region: The region which the service support. e.g. For O365, region is + Global. + :type service_supported_region: str + :param community_name: The name of the bgp community. e.g. Skype. + :type community_name: str + :param community_value: The value of the bgp community. For more information: + https://docs.microsoft.com/en-us/azure/expressroute/expressroute-routing. + :type community_value: str + :param community_prefixes: The prefixes that the bgp community contains. + :type community_prefixes: list[str] + :param is_authorized_to_use: Customer is authorized to use bgp community or not. + :type is_authorized_to_use: bool + :param service_group: The service group of the bgp community contains. + :type service_group: str + """ + + _attribute_map = { + 'service_supported_region': {'key': 'serviceSupportedRegion', 'type': 'str'}, + 'community_name': {'key': 'communityName', 'type': 'str'}, + 'community_value': {'key': 'communityValue', 'type': 'str'}, + 'community_prefixes': {'key': 'communityPrefixes', 'type': '[str]'}, + 'is_authorized_to_use': {'key': 'isAuthorizedToUse', 'type': 'bool'}, + 'service_group': {'key': 'serviceGroup', 'type': 'str'}, + } + + def __init__( + self, + *, + service_supported_region: Optional[str] = None, + community_name: Optional[str] = None, + community_value: Optional[str] = None, + community_prefixes: Optional[List[str]] = None, + is_authorized_to_use: Optional[bool] = None, + service_group: Optional[str] = None, + **kwargs + ): + super(BGPCommunity, self).__init__(**kwargs) + self.service_supported_region = service_supported_region + self.community_name = community_name + self.community_value = community_value + self.community_prefixes = community_prefixes + self.is_authorized_to_use = is_authorized_to_use + self.service_group = service_group + + +class BgpConnection(SubResource): + """Virtual Appliance Site resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: Name of the connection. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Connection type. + :vartype type: str + :param peer_asn: Peer ASN. + :type peer_asn: long + :param peer_ip: Peer IP. + :type peer_ip: str + :ivar provisioning_state: The provisioning state of the resource. Possible values include: + "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :ivar connection_state: The current state of the VirtualHub to Peer. Possible values include: + "Unknown", "Connecting", "Connected", "NotConnected". + :vartype connection_state: str or ~azure.mgmt.network.v2021_02_01.models.HubBgpConnectionStatus + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'peer_asn': {'maximum': 4294967295, 'minimum': 0}, + 'provisioning_state': {'readonly': True}, + 'connection_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'peer_asn': {'key': 'properties.peerAsn', 'type': 'long'}, + 'peer_ip': {'key': 'properties.peerIp', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'connection_state': {'key': 'properties.connectionState', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + name: Optional[str] = None, + peer_asn: Optional[int] = None, + peer_ip: Optional[str] = None, + **kwargs + ): + super(BgpConnection, self).__init__(id=id, **kwargs) + self.name = name + self.etag = None + self.type = None + self.peer_asn = peer_asn + self.peer_ip = peer_ip + self.provisioning_state = None + self.connection_state = None + + +class BgpPeerStatus(msrest.serialization.Model): + """BGP peer status details. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar local_address: The virtual network gateway's local address. + :vartype local_address: str + :ivar neighbor: The remote BGP peer. + :vartype neighbor: str + :ivar asn: The autonomous system number of the remote BGP peer. + :vartype asn: long + :ivar state: The BGP peer state. Possible values include: "Unknown", "Stopped", "Idle", + "Connecting", "Connected". + :vartype state: str or ~azure.mgmt.network.v2021_02_01.models.BgpPeerState + :ivar connected_duration: For how long the peering has been up. + :vartype connected_duration: str + :ivar routes_received: The number of routes learned from this peer. + :vartype routes_received: long + :ivar messages_sent: The number of BGP messages sent. + :vartype messages_sent: long + :ivar messages_received: The number of BGP messages received. + :vartype messages_received: long + """ + + _validation = { + 'local_address': {'readonly': True}, + 'neighbor': {'readonly': True}, + 'asn': {'readonly': True, 'maximum': 4294967295, 'minimum': 0}, + 'state': {'readonly': True}, + 'connected_duration': {'readonly': True}, + 'routes_received': {'readonly': True}, + 'messages_sent': {'readonly': True}, + 'messages_received': {'readonly': True}, + } + + _attribute_map = { + 'local_address': {'key': 'localAddress', 'type': 'str'}, + 'neighbor': {'key': 'neighbor', 'type': 'str'}, + 'asn': {'key': 'asn', 'type': 'long'}, + 'state': {'key': 'state', 'type': 'str'}, + 'connected_duration': {'key': 'connectedDuration', 'type': 'str'}, + 'routes_received': {'key': 'routesReceived', 'type': 'long'}, + 'messages_sent': {'key': 'messagesSent', 'type': 'long'}, + 'messages_received': {'key': 'messagesReceived', 'type': 'long'}, + } + + def __init__( + self, + **kwargs + ): + super(BgpPeerStatus, self).__init__(**kwargs) + self.local_address = None + self.neighbor = None + self.asn = None + self.state = None + self.connected_duration = None + self.routes_received = None + self.messages_sent = None + self.messages_received = None + + +class BgpPeerStatusListResult(msrest.serialization.Model): + """Response for list BGP peer status API service call. + + :param value: List of BGP peers. + :type value: list[~azure.mgmt.network.v2021_02_01.models.BgpPeerStatus] + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[BgpPeerStatus]'}, + } + + def __init__( + self, + *, + value: Optional[List["BgpPeerStatus"]] = None, + **kwargs + ): + super(BgpPeerStatusListResult, self).__init__(**kwargs) + self.value = value + + +class BgpServiceCommunity(Resource): + """Service Community Properties. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :param service_name: The name of the bgp community. e.g. Skype. + :type service_name: str + :param bgp_communities: A list of bgp communities. + :type bgp_communities: list[~azure.mgmt.network.v2021_02_01.models.BGPCommunity] + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'service_name': {'key': 'properties.serviceName', 'type': 'str'}, + 'bgp_communities': {'key': 'properties.bgpCommunities', 'type': '[BGPCommunity]'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + location: Optional[str] = None, + tags: Optional[Dict[str, str]] = None, + service_name: Optional[str] = None, + bgp_communities: Optional[List["BGPCommunity"]] = None, + **kwargs + ): + super(BgpServiceCommunity, self).__init__(id=id, location=location, tags=tags, **kwargs) + self.service_name = service_name + self.bgp_communities = bgp_communities + + +class BgpServiceCommunityListResult(msrest.serialization.Model): + """Response for the ListServiceCommunity API service call. + + :param value: A list of service community resources. + :type value: list[~azure.mgmt.network.v2021_02_01.models.BgpServiceCommunity] + :param next_link: The URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[BgpServiceCommunity]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["BgpServiceCommunity"]] = None, + next_link: Optional[str] = None, + **kwargs + ): + super(BgpServiceCommunityListResult, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class BgpSettings(msrest.serialization.Model): + """BGP settings details. + + :param asn: The BGP speaker's ASN. + :type asn: long + :param bgp_peering_address: The BGP peering address and BGP identifier of this BGP speaker. + :type bgp_peering_address: str + :param peer_weight: The weight added to routes learned from this BGP speaker. + :type peer_weight: int + :param bgp_peering_addresses: BGP peering address with IP configuration ID for virtual network + gateway. + :type bgp_peering_addresses: + list[~azure.mgmt.network.v2021_02_01.models.IPConfigurationBgpPeeringAddress] + """ + + _validation = { + 'asn': {'maximum': 4294967295, 'minimum': 0}, + } + + _attribute_map = { + 'asn': {'key': 'asn', 'type': 'long'}, + 'bgp_peering_address': {'key': 'bgpPeeringAddress', 'type': 'str'}, + 'peer_weight': {'key': 'peerWeight', 'type': 'int'}, + 'bgp_peering_addresses': {'key': 'bgpPeeringAddresses', 'type': '[IPConfigurationBgpPeeringAddress]'}, + } + + def __init__( + self, + *, + asn: Optional[int] = None, + bgp_peering_address: Optional[str] = None, + peer_weight: Optional[int] = None, + bgp_peering_addresses: Optional[List["IPConfigurationBgpPeeringAddress"]] = None, + **kwargs + ): + super(BgpSettings, self).__init__(**kwargs) + self.asn = asn + self.bgp_peering_address = bgp_peering_address + self.peer_weight = peer_weight + self.bgp_peering_addresses = bgp_peering_addresses + + +class BreakOutCategoryPolicies(msrest.serialization.Model): + """Network Virtual Appliance Sku Properties. + + :param allow: Flag to control breakout of o365 allow category. + :type allow: bool + :param optimize: Flag to control breakout of o365 optimize category. + :type optimize: bool + :param default: Flag to control breakout of o365 default category. + :type default: bool + """ + + _attribute_map = { + 'allow': {'key': 'allow', 'type': 'bool'}, + 'optimize': {'key': 'optimize', 'type': 'bool'}, + 'default': {'key': 'default', 'type': 'bool'}, + } + + def __init__( + self, + *, + allow: Optional[bool] = None, + optimize: Optional[bool] = None, + default: Optional[bool] = None, + **kwargs + ): + super(BreakOutCategoryPolicies, self).__init__(**kwargs) + self.allow = allow + self.optimize = optimize + self.default = default + + +class CheckPrivateLinkServiceVisibilityRequest(msrest.serialization.Model): + """Request body of the CheckPrivateLinkServiceVisibility API service call. + + :param private_link_service_alias: The alias of the private link service. + :type private_link_service_alias: str + """ + + _attribute_map = { + 'private_link_service_alias': {'key': 'privateLinkServiceAlias', 'type': 'str'}, + } + + def __init__( + self, + *, + private_link_service_alias: Optional[str] = None, + **kwargs + ): + super(CheckPrivateLinkServiceVisibilityRequest, self).__init__(**kwargs) + self.private_link_service_alias = private_link_service_alias + + +class CloudErrorBody(msrest.serialization.Model): + """An error response from the service. + + :param code: An identifier for the error. Codes are invariant and are intended to be consumed + programmatically. + :type code: str + :param message: A message describing the error, intended to be suitable for display in a user + interface. + :type message: str + :param target: The target of the particular error. For example, the name of the property in + error. + :type target: str + :param details: A list of additional details about the error. + :type details: list[~azure.mgmt.network.v2021_02_01.models.CloudErrorBody] + """ + + _attribute_map = { + 'code': {'key': 'code', 'type': 'str'}, + 'message': {'key': 'message', 'type': 'str'}, + 'target': {'key': 'target', 'type': 'str'}, + 'details': {'key': 'details', 'type': '[CloudErrorBody]'}, + } + + def __init__( + self, + *, + code: Optional[str] = None, + message: Optional[str] = None, + target: Optional[str] = None, + details: Optional[List["CloudErrorBody"]] = None, + **kwargs + ): + super(CloudErrorBody, self).__init__(**kwargs) + self.code = code + self.message = message + self.target = target + self.details = details + + +class Components1Jq1T4ISchemasManagedserviceidentityPropertiesUserassignedidentitiesAdditionalproperties(msrest.serialization.Model): + """Components1Jq1T4ISchemasManagedserviceidentityPropertiesUserassignedidentitiesAdditionalproperties. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar principal_id: The principal id of user assigned identity. + :vartype principal_id: str + :ivar client_id: The client id of user assigned identity. + :vartype client_id: str + """ + + _validation = { + 'principal_id': {'readonly': True}, + 'client_id': {'readonly': True}, + } + + _attribute_map = { + 'principal_id': {'key': 'principalId', 'type': 'str'}, + 'client_id': {'key': 'clientId', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(Components1Jq1T4ISchemasManagedserviceidentityPropertiesUserassignedidentitiesAdditionalproperties, self).__init__(**kwargs) + self.principal_id = None + self.client_id = None + + +class ConnectionMonitor(msrest.serialization.Model): + """Parameters that define the operation to create a connection monitor. + + :param location: Connection monitor location. + :type location: str + :param tags: A set of tags. Connection monitor tags. + :type tags: dict[str, str] + :param source: Describes the source of connection monitor. + :type source: ~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorSource + :param destination: Describes the destination of connection monitor. + :type destination: ~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorDestination + :param auto_start: Determines if the connection monitor will start automatically once created. + :type auto_start: bool + :param monitoring_interval_in_seconds: Monitoring interval in seconds. + :type monitoring_interval_in_seconds: int + :param endpoints: List of connection monitor endpoints. + :type endpoints: list[~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorEndpoint] + :param test_configurations: List of connection monitor test configurations. + :type test_configurations: + list[~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorTestConfiguration] + :param test_groups: List of connection monitor test groups. + :type test_groups: list[~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorTestGroup] + :param outputs: List of connection monitor outputs. + :type outputs: list[~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorOutput] + :param notes: Optional notes to be associated with the connection monitor. + :type notes: str + """ + + _validation = { + 'monitoring_interval_in_seconds': {'maximum': 1800, 'minimum': 30}, + } + + _attribute_map = { + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'source': {'key': 'properties.source', 'type': 'ConnectionMonitorSource'}, + 'destination': {'key': 'properties.destination', 'type': 'ConnectionMonitorDestination'}, + 'auto_start': {'key': 'properties.autoStart', 'type': 'bool'}, + 'monitoring_interval_in_seconds': {'key': 'properties.monitoringIntervalInSeconds', 'type': 'int'}, + 'endpoints': {'key': 'properties.endpoints', 'type': '[ConnectionMonitorEndpoint]'}, + 'test_configurations': {'key': 'properties.testConfigurations', 'type': '[ConnectionMonitorTestConfiguration]'}, + 'test_groups': {'key': 'properties.testGroups', 'type': '[ConnectionMonitorTestGroup]'}, + 'outputs': {'key': 'properties.outputs', 'type': '[ConnectionMonitorOutput]'}, + 'notes': {'key': 'properties.notes', 'type': 'str'}, + } + + def __init__( + self, + *, + location: Optional[str] = None, + tags: Optional[Dict[str, str]] = None, + source: Optional["ConnectionMonitorSource"] = None, + destination: Optional["ConnectionMonitorDestination"] = None, + auto_start: Optional[bool] = True, + monitoring_interval_in_seconds: Optional[int] = 60, + endpoints: Optional[List["ConnectionMonitorEndpoint"]] = None, + test_configurations: Optional[List["ConnectionMonitorTestConfiguration"]] = None, + test_groups: Optional[List["ConnectionMonitorTestGroup"]] = None, + outputs: Optional[List["ConnectionMonitorOutput"]] = None, + notes: Optional[str] = None, + **kwargs + ): + super(ConnectionMonitor, self).__init__(**kwargs) + self.location = location + self.tags = tags + self.source = source + self.destination = destination + self.auto_start = auto_start + self.monitoring_interval_in_seconds = monitoring_interval_in_seconds + self.endpoints = endpoints + self.test_configurations = test_configurations + self.test_groups = test_groups + self.outputs = outputs + self.notes = notes + + +class ConnectionMonitorDestination(msrest.serialization.Model): + """Describes the destination of connection monitor. + + :param resource_id: The ID of the resource used as the destination by connection monitor. + :type resource_id: str + :param address: Address of the connection monitor destination (IP or domain name). + :type address: str + :param port: The destination port used by connection monitor. + :type port: int + """ + + _validation = { + 'port': {'maximum': 65535, 'minimum': 0}, + } + + _attribute_map = { + 'resource_id': {'key': 'resourceId', 'type': 'str'}, + 'address': {'key': 'address', 'type': 'str'}, + 'port': {'key': 'port', 'type': 'int'}, + } + + def __init__( + self, + *, + resource_id: Optional[str] = None, + address: Optional[str] = None, + port: Optional[int] = None, + **kwargs + ): + super(ConnectionMonitorDestination, self).__init__(**kwargs) + self.resource_id = resource_id + self.address = address + self.port = port + + +class ConnectionMonitorEndpoint(msrest.serialization.Model): + """Describes the connection monitor endpoint. + + All required parameters must be populated in order to send to Azure. + + :param name: Required. The name of the connection monitor endpoint. + :type name: str + :param type: The endpoint type. Possible values include: "AzureVM", "AzureVNet", "AzureSubnet", + "ExternalAddress", "MMAWorkspaceMachine", "MMAWorkspaceNetwork". + :type type: str or ~azure.mgmt.network.v2021_02_01.models.EndpointType + :param resource_id: Resource ID of the connection monitor endpoint. + :type resource_id: str + :param address: Address of the connection monitor endpoint (IP or domain name). + :type address: str + :param filter: Filter for sub-items within the endpoint. + :type filter: ~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorEndpointFilter + :param scope: Endpoint scope. + :type scope: ~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorEndpointScope + :param coverage_level: Test coverage for the endpoint. Possible values include: "Default", + "Low", "BelowAverage", "Average", "AboveAverage", "Full". + :type coverage_level: str or ~azure.mgmt.network.v2021_02_01.models.CoverageLevel + """ + + _validation = { + 'name': {'required': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'resource_id': {'key': 'resourceId', 'type': 'str'}, + 'address': {'key': 'address', 'type': 'str'}, + 'filter': {'key': 'filter', 'type': 'ConnectionMonitorEndpointFilter'}, + 'scope': {'key': 'scope', 'type': 'ConnectionMonitorEndpointScope'}, + 'coverage_level': {'key': 'coverageLevel', 'type': 'str'}, + } + + def __init__( + self, + *, + name: str, + type: Optional[Union[str, "EndpointType"]] = None, + resource_id: Optional[str] = None, + address: Optional[str] = None, + filter: Optional["ConnectionMonitorEndpointFilter"] = None, + scope: Optional["ConnectionMonitorEndpointScope"] = None, + coverage_level: Optional[Union[str, "CoverageLevel"]] = None, + **kwargs + ): + super(ConnectionMonitorEndpoint, self).__init__(**kwargs) + self.name = name + self.type = type + self.resource_id = resource_id + self.address = address + self.filter = filter + self.scope = scope + self.coverage_level = coverage_level + + +class ConnectionMonitorEndpointFilter(msrest.serialization.Model): + """Describes the connection monitor endpoint filter. + + :param type: The behavior of the endpoint filter. Currently only 'Include' is supported. + Possible values include: "Include". + :type type: str or ~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorEndpointFilterType + :param items: List of items in the filter. + :type items: list[~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorEndpointFilterItem] + """ + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, + 'items': {'key': 'items', 'type': '[ConnectionMonitorEndpointFilterItem]'}, + } + + def __init__( + self, + *, + type: Optional[Union[str, "ConnectionMonitorEndpointFilterType"]] = None, + items: Optional[List["ConnectionMonitorEndpointFilterItem"]] = None, + **kwargs + ): + super(ConnectionMonitorEndpointFilter, self).__init__(**kwargs) + self.type = type + self.items = items + + +class ConnectionMonitorEndpointFilterItem(msrest.serialization.Model): + """Describes the connection monitor endpoint filter item. + + :param type: The type of item included in the filter. Currently only 'AgentAddress' is + supported. Possible values include: "AgentAddress". + :type type: str or + ~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorEndpointFilterItemType + :param address: The address of the filter item. + :type address: str + """ + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, + 'address': {'key': 'address', 'type': 'str'}, + } + + def __init__( + self, + *, + type: Optional[Union[str, "ConnectionMonitorEndpointFilterItemType"]] = None, + address: Optional[str] = None, + **kwargs + ): + super(ConnectionMonitorEndpointFilterItem, self).__init__(**kwargs) + self.type = type + self.address = address + + +class ConnectionMonitorEndpointScope(msrest.serialization.Model): + """Describes the connection monitor endpoint scope. + + :param include: List of items which needs to be included to the endpoint scope. + :type include: list[~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorEndpointScopeItem] + :param exclude: List of items which needs to be excluded from the endpoint scope. + :type exclude: list[~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorEndpointScopeItem] + """ + + _attribute_map = { + 'include': {'key': 'include', 'type': '[ConnectionMonitorEndpointScopeItem]'}, + 'exclude': {'key': 'exclude', 'type': '[ConnectionMonitorEndpointScopeItem]'}, + } + + def __init__( + self, + *, + include: Optional[List["ConnectionMonitorEndpointScopeItem"]] = None, + exclude: Optional[List["ConnectionMonitorEndpointScopeItem"]] = None, + **kwargs + ): + super(ConnectionMonitorEndpointScope, self).__init__(**kwargs) + self.include = include + self.exclude = exclude + + +class ConnectionMonitorEndpointScopeItem(msrest.serialization.Model): + """Describes the connection monitor endpoint scope item. + + :param address: The address of the endpoint item. Supported types are IPv4/IPv6 subnet mask or + IPv4/IPv6 IP address. + :type address: str + """ + + _attribute_map = { + 'address': {'key': 'address', 'type': 'str'}, + } + + def __init__( + self, + *, + address: Optional[str] = None, + **kwargs + ): + super(ConnectionMonitorEndpointScopeItem, self).__init__(**kwargs) + self.address = address + + +class ConnectionMonitorHttpConfiguration(msrest.serialization.Model): + """Describes the HTTP configuration. + + :param port: The port to connect to. + :type port: int + :param method: The HTTP method to use. Possible values include: "Get", "Post". + :type method: str or ~azure.mgmt.network.v2021_02_01.models.HTTPConfigurationMethod + :param path: The path component of the URI. For instance, "/dir1/dir2". + :type path: str + :param request_headers: The HTTP headers to transmit with the request. + :type request_headers: list[~azure.mgmt.network.v2021_02_01.models.HTTPHeader] + :param valid_status_code_ranges: HTTP status codes to consider successful. For instance, + "2xx,301-304,418". + :type valid_status_code_ranges: list[str] + :param prefer_https: Value indicating whether HTTPS is preferred over HTTP in cases where the + choice is not explicit. + :type prefer_https: bool + """ + + _validation = { + 'port': {'maximum': 65535, 'minimum': 0}, + } + + _attribute_map = { + 'port': {'key': 'port', 'type': 'int'}, + 'method': {'key': 'method', 'type': 'str'}, + 'path': {'key': 'path', 'type': 'str'}, + 'request_headers': {'key': 'requestHeaders', 'type': '[HTTPHeader]'}, + 'valid_status_code_ranges': {'key': 'validStatusCodeRanges', 'type': '[str]'}, + 'prefer_https': {'key': 'preferHTTPS', 'type': 'bool'}, + } + + def __init__( + self, + *, + port: Optional[int] = None, + method: Optional[Union[str, "HTTPConfigurationMethod"]] = None, + path: Optional[str] = None, + request_headers: Optional[List["HTTPHeader"]] = None, + valid_status_code_ranges: Optional[List[str]] = None, + prefer_https: Optional[bool] = None, + **kwargs + ): + super(ConnectionMonitorHttpConfiguration, self).__init__(**kwargs) + self.port = port + self.method = method + self.path = path + self.request_headers = request_headers + self.valid_status_code_ranges = valid_status_code_ranges + self.prefer_https = prefer_https + + +class ConnectionMonitorIcmpConfiguration(msrest.serialization.Model): + """Describes the ICMP configuration. + + :param disable_trace_route: Value indicating whether path evaluation with trace route should be + disabled. + :type disable_trace_route: bool + """ + + _attribute_map = { + 'disable_trace_route': {'key': 'disableTraceRoute', 'type': 'bool'}, + } + + def __init__( + self, + *, + disable_trace_route: Optional[bool] = None, + **kwargs + ): + super(ConnectionMonitorIcmpConfiguration, self).__init__(**kwargs) + self.disable_trace_route = disable_trace_route + + +class ConnectionMonitorListResult(msrest.serialization.Model): + """List of connection monitors. + + :param value: Information about connection monitors. + :type value: list[~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorResult] + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[ConnectionMonitorResult]'}, + } + + def __init__( + self, + *, + value: Optional[List["ConnectionMonitorResult"]] = None, + **kwargs + ): + super(ConnectionMonitorListResult, self).__init__(**kwargs) + self.value = value + + +class ConnectionMonitorOutput(msrest.serialization.Model): + """Describes a connection monitor output destination. + + :param type: Connection monitor output destination type. Currently, only "Workspace" is + supported. Possible values include: "Workspace". + :type type: str or ~azure.mgmt.network.v2021_02_01.models.OutputType + :param workspace_settings: Describes the settings for producing output into a log analytics + workspace. + :type workspace_settings: + ~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorWorkspaceSettings + """ + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, + 'workspace_settings': {'key': 'workspaceSettings', 'type': 'ConnectionMonitorWorkspaceSettings'}, + } + + def __init__( + self, + *, + type: Optional[Union[str, "OutputType"]] = None, + workspace_settings: Optional["ConnectionMonitorWorkspaceSettings"] = None, + **kwargs + ): + super(ConnectionMonitorOutput, self).__init__(**kwargs) + self.type = type + self.workspace_settings = workspace_settings + + +class ConnectionMonitorParameters(msrest.serialization.Model): + """Parameters that define the operation to create a connection monitor. + + :param source: Describes the source of connection monitor. + :type source: ~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorSource + :param destination: Describes the destination of connection monitor. + :type destination: ~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorDestination + :param auto_start: Determines if the connection monitor will start automatically once created. + :type auto_start: bool + :param monitoring_interval_in_seconds: Monitoring interval in seconds. + :type monitoring_interval_in_seconds: int + :param endpoints: List of connection monitor endpoints. + :type endpoints: list[~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorEndpoint] + :param test_configurations: List of connection monitor test configurations. + :type test_configurations: + list[~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorTestConfiguration] + :param test_groups: List of connection monitor test groups. + :type test_groups: list[~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorTestGroup] + :param outputs: List of connection monitor outputs. + :type outputs: list[~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorOutput] + :param notes: Optional notes to be associated with the connection monitor. + :type notes: str + """ + + _validation = { + 'monitoring_interval_in_seconds': {'maximum': 1800, 'minimum': 30}, + } + + _attribute_map = { + 'source': {'key': 'source', 'type': 'ConnectionMonitorSource'}, + 'destination': {'key': 'destination', 'type': 'ConnectionMonitorDestination'}, + 'auto_start': {'key': 'autoStart', 'type': 'bool'}, + 'monitoring_interval_in_seconds': {'key': 'monitoringIntervalInSeconds', 'type': 'int'}, + 'endpoints': {'key': 'endpoints', 'type': '[ConnectionMonitorEndpoint]'}, + 'test_configurations': {'key': 'testConfigurations', 'type': '[ConnectionMonitorTestConfiguration]'}, + 'test_groups': {'key': 'testGroups', 'type': '[ConnectionMonitorTestGroup]'}, + 'outputs': {'key': 'outputs', 'type': '[ConnectionMonitorOutput]'}, + 'notes': {'key': 'notes', 'type': 'str'}, + } + + def __init__( + self, + *, + source: Optional["ConnectionMonitorSource"] = None, + destination: Optional["ConnectionMonitorDestination"] = None, + auto_start: Optional[bool] = True, + monitoring_interval_in_seconds: Optional[int] = 60, + endpoints: Optional[List["ConnectionMonitorEndpoint"]] = None, + test_configurations: Optional[List["ConnectionMonitorTestConfiguration"]] = None, + test_groups: Optional[List["ConnectionMonitorTestGroup"]] = None, + outputs: Optional[List["ConnectionMonitorOutput"]] = None, + notes: Optional[str] = None, + **kwargs + ): + super(ConnectionMonitorParameters, self).__init__(**kwargs) + self.source = source + self.destination = destination + self.auto_start = auto_start + self.monitoring_interval_in_seconds = monitoring_interval_in_seconds + self.endpoints = endpoints + self.test_configurations = test_configurations + self.test_groups = test_groups + self.outputs = outputs + self.notes = notes + + +class ConnectionMonitorQueryResult(msrest.serialization.Model): + """List of connection states snapshots. + + :param source_status: Status of connection monitor source. Possible values include: "Unknown", + "Active", "Inactive". + :type source_status: str or + ~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorSourceStatus + :param states: Information about connection states. + :type states: list[~azure.mgmt.network.v2021_02_01.models.ConnectionStateSnapshot] + """ + + _attribute_map = { + 'source_status': {'key': 'sourceStatus', 'type': 'str'}, + 'states': {'key': 'states', 'type': '[ConnectionStateSnapshot]'}, + } + + def __init__( + self, + *, + source_status: Optional[Union[str, "ConnectionMonitorSourceStatus"]] = None, + states: Optional[List["ConnectionStateSnapshot"]] = None, + **kwargs + ): + super(ConnectionMonitorQueryResult, self).__init__(**kwargs) + self.source_status = source_status + self.states = states + + +class ConnectionMonitorResult(msrest.serialization.Model): + """Information about the connection monitor. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar name: Name of the connection monitor. + :vartype name: str + :ivar id: ID of the connection monitor. + :vartype id: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Connection monitor type. + :vartype type: str + :param location: Connection monitor location. + :type location: str + :param tags: A set of tags. Connection monitor tags. + :type tags: dict[str, str] + :param source: Describes the source of connection monitor. + :type source: ~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorSource + :param destination: Describes the destination of connection monitor. + :type destination: ~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorDestination + :param auto_start: Determines if the connection monitor will start automatically once created. + :type auto_start: bool + :param monitoring_interval_in_seconds: Monitoring interval in seconds. + :type monitoring_interval_in_seconds: int + :param endpoints: List of connection monitor endpoints. + :type endpoints: list[~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorEndpoint] + :param test_configurations: List of connection monitor test configurations. + :type test_configurations: + list[~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorTestConfiguration] + :param test_groups: List of connection monitor test groups. + :type test_groups: list[~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorTestGroup] + :param outputs: List of connection monitor outputs. + :type outputs: list[~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorOutput] + :param notes: Optional notes to be associated with the connection monitor. + :type notes: str + :ivar provisioning_state: The provisioning state of the connection monitor. Possible values + include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :ivar start_time: The date and time when the connection monitor was started. + :vartype start_time: ~datetime.datetime + :ivar monitoring_status: The monitoring status of the connection monitor. + :vartype monitoring_status: str + :ivar connection_monitor_type: Type of connection monitor. Possible values include: + "MultiEndpoint", "SingleSourceDestination". + :vartype connection_monitor_type: str or + ~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorType + """ + + _validation = { + 'name': {'readonly': True}, + 'id': {'readonly': True}, + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'monitoring_interval_in_seconds': {'maximum': 1800, 'minimum': 30}, + 'provisioning_state': {'readonly': True}, + 'start_time': {'readonly': True}, + 'monitoring_status': {'readonly': True}, + 'connection_monitor_type': {'readonly': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'id': {'key': 'id', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'source': {'key': 'properties.source', 'type': 'ConnectionMonitorSource'}, + 'destination': {'key': 'properties.destination', 'type': 'ConnectionMonitorDestination'}, + 'auto_start': {'key': 'properties.autoStart', 'type': 'bool'}, + 'monitoring_interval_in_seconds': {'key': 'properties.monitoringIntervalInSeconds', 'type': 'int'}, + 'endpoints': {'key': 'properties.endpoints', 'type': '[ConnectionMonitorEndpoint]'}, + 'test_configurations': {'key': 'properties.testConfigurations', 'type': '[ConnectionMonitorTestConfiguration]'}, + 'test_groups': {'key': 'properties.testGroups', 'type': '[ConnectionMonitorTestGroup]'}, + 'outputs': {'key': 'properties.outputs', 'type': '[ConnectionMonitorOutput]'}, + 'notes': {'key': 'properties.notes', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'start_time': {'key': 'properties.startTime', 'type': 'iso-8601'}, + 'monitoring_status': {'key': 'properties.monitoringStatus', 'type': 'str'}, + 'connection_monitor_type': {'key': 'properties.connectionMonitorType', 'type': 'str'}, + } + + def __init__( + self, + *, + location: Optional[str] = None, + tags: Optional[Dict[str, str]] = None, + source: Optional["ConnectionMonitorSource"] = None, + destination: Optional["ConnectionMonitorDestination"] = None, + auto_start: Optional[bool] = True, + monitoring_interval_in_seconds: Optional[int] = 60, + endpoints: Optional[List["ConnectionMonitorEndpoint"]] = None, + test_configurations: Optional[List["ConnectionMonitorTestConfiguration"]] = None, + test_groups: Optional[List["ConnectionMonitorTestGroup"]] = None, + outputs: Optional[List["ConnectionMonitorOutput"]] = None, + notes: Optional[str] = None, + **kwargs + ): + super(ConnectionMonitorResult, self).__init__(**kwargs) + self.name = None + self.id = None + self.etag = None + self.type = None + self.location = location + self.tags = tags + self.source = source + self.destination = destination + self.auto_start = auto_start + self.monitoring_interval_in_seconds = monitoring_interval_in_seconds + self.endpoints = endpoints + self.test_configurations = test_configurations + self.test_groups = test_groups + self.outputs = outputs + self.notes = notes + self.provisioning_state = None + self.start_time = None + self.monitoring_status = None + self.connection_monitor_type = None + + +class ConnectionMonitorResultProperties(ConnectionMonitorParameters): + """Describes the properties of a connection monitor. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param source: Describes the source of connection monitor. + :type source: ~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorSource + :param destination: Describes the destination of connection monitor. + :type destination: ~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorDestination + :param auto_start: Determines if the connection monitor will start automatically once created. + :type auto_start: bool + :param monitoring_interval_in_seconds: Monitoring interval in seconds. + :type monitoring_interval_in_seconds: int + :param endpoints: List of connection monitor endpoints. + :type endpoints: list[~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorEndpoint] + :param test_configurations: List of connection monitor test configurations. + :type test_configurations: + list[~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorTestConfiguration] + :param test_groups: List of connection monitor test groups. + :type test_groups: list[~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorTestGroup] + :param outputs: List of connection monitor outputs. + :type outputs: list[~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorOutput] + :param notes: Optional notes to be associated with the connection monitor. + :type notes: str + :ivar provisioning_state: The provisioning state of the connection monitor. Possible values + include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :ivar start_time: The date and time when the connection monitor was started. + :vartype start_time: ~datetime.datetime + :ivar monitoring_status: The monitoring status of the connection monitor. + :vartype monitoring_status: str + :ivar connection_monitor_type: Type of connection monitor. Possible values include: + "MultiEndpoint", "SingleSourceDestination". + :vartype connection_monitor_type: str or + ~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorType + """ + + _validation = { + 'monitoring_interval_in_seconds': {'maximum': 1800, 'minimum': 30}, + 'provisioning_state': {'readonly': True}, + 'start_time': {'readonly': True}, + 'monitoring_status': {'readonly': True}, + 'connection_monitor_type': {'readonly': True}, + } + + _attribute_map = { + 'source': {'key': 'source', 'type': 'ConnectionMonitorSource'}, + 'destination': {'key': 'destination', 'type': 'ConnectionMonitorDestination'}, + 'auto_start': {'key': 'autoStart', 'type': 'bool'}, + 'monitoring_interval_in_seconds': {'key': 'monitoringIntervalInSeconds', 'type': 'int'}, + 'endpoints': {'key': 'endpoints', 'type': '[ConnectionMonitorEndpoint]'}, + 'test_configurations': {'key': 'testConfigurations', 'type': '[ConnectionMonitorTestConfiguration]'}, + 'test_groups': {'key': 'testGroups', 'type': '[ConnectionMonitorTestGroup]'}, + 'outputs': {'key': 'outputs', 'type': '[ConnectionMonitorOutput]'}, + 'notes': {'key': 'notes', 'type': 'str'}, + 'provisioning_state': {'key': 'provisioningState', 'type': 'str'}, + 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, + 'monitoring_status': {'key': 'monitoringStatus', 'type': 'str'}, + 'connection_monitor_type': {'key': 'connectionMonitorType', 'type': 'str'}, + } + + def __init__( + self, + *, + source: Optional["ConnectionMonitorSource"] = None, + destination: Optional["ConnectionMonitorDestination"] = None, + auto_start: Optional[bool] = True, + monitoring_interval_in_seconds: Optional[int] = 60, + endpoints: Optional[List["ConnectionMonitorEndpoint"]] = None, + test_configurations: Optional[List["ConnectionMonitorTestConfiguration"]] = None, + test_groups: Optional[List["ConnectionMonitorTestGroup"]] = None, + outputs: Optional[List["ConnectionMonitorOutput"]] = None, + notes: Optional[str] = None, + **kwargs + ): + super(ConnectionMonitorResultProperties, self).__init__(source=source, destination=destination, auto_start=auto_start, monitoring_interval_in_seconds=monitoring_interval_in_seconds, endpoints=endpoints, test_configurations=test_configurations, test_groups=test_groups, outputs=outputs, notes=notes, **kwargs) + self.provisioning_state = None + self.start_time = None + self.monitoring_status = None + self.connection_monitor_type = None + + +class ConnectionMonitorSource(msrest.serialization.Model): + """Describes the source of connection monitor. + + All required parameters must be populated in order to send to Azure. + + :param resource_id: Required. The ID of the resource used as the source by connection monitor. + :type resource_id: str + :param port: The source port used by connection monitor. + :type port: int + """ + + _validation = { + 'resource_id': {'required': True}, + 'port': {'maximum': 65535, 'minimum': 0}, + } + + _attribute_map = { + 'resource_id': {'key': 'resourceId', 'type': 'str'}, + 'port': {'key': 'port', 'type': 'int'}, + } + + def __init__( + self, + *, + resource_id: str, + port: Optional[int] = None, + **kwargs + ): + super(ConnectionMonitorSource, self).__init__(**kwargs) + self.resource_id = resource_id + self.port = port + + +class ConnectionMonitorSuccessThreshold(msrest.serialization.Model): + """Describes the threshold for declaring a test successful. + + :param checks_failed_percent: The maximum percentage of failed checks permitted for a test to + evaluate as successful. + :type checks_failed_percent: int + :param round_trip_time_ms: The maximum round-trip time in milliseconds permitted for a test to + evaluate as successful. + :type round_trip_time_ms: float + """ + + _attribute_map = { + 'checks_failed_percent': {'key': 'checksFailedPercent', 'type': 'int'}, + 'round_trip_time_ms': {'key': 'roundTripTimeMs', 'type': 'float'}, + } + + def __init__( + self, + *, + checks_failed_percent: Optional[int] = None, + round_trip_time_ms: Optional[float] = None, + **kwargs + ): + super(ConnectionMonitorSuccessThreshold, self).__init__(**kwargs) + self.checks_failed_percent = checks_failed_percent + self.round_trip_time_ms = round_trip_time_ms + + +class ConnectionMonitorTcpConfiguration(msrest.serialization.Model): + """Describes the TCP configuration. + + :param port: The port to connect to. + :type port: int + :param disable_trace_route: Value indicating whether path evaluation with trace route should be + disabled. + :type disable_trace_route: bool + :param destination_port_behavior: Destination port behavior. Possible values include: "None", + "ListenIfAvailable". + :type destination_port_behavior: str or + ~azure.mgmt.network.v2021_02_01.models.DestinationPortBehavior + """ + + _validation = { + 'port': {'maximum': 65535, 'minimum': 0}, + } + + _attribute_map = { + 'port': {'key': 'port', 'type': 'int'}, + 'disable_trace_route': {'key': 'disableTraceRoute', 'type': 'bool'}, + 'destination_port_behavior': {'key': 'destinationPortBehavior', 'type': 'str'}, + } + + def __init__( + self, + *, + port: Optional[int] = None, + disable_trace_route: Optional[bool] = None, + destination_port_behavior: Optional[Union[str, "DestinationPortBehavior"]] = None, + **kwargs + ): + super(ConnectionMonitorTcpConfiguration, self).__init__(**kwargs) + self.port = port + self.disable_trace_route = disable_trace_route + self.destination_port_behavior = destination_port_behavior + + +class ConnectionMonitorTestConfiguration(msrest.serialization.Model): + """Describes a connection monitor test configuration. + + All required parameters must be populated in order to send to Azure. + + :param name: Required. The name of the connection monitor test configuration. + :type name: str + :param test_frequency_sec: The frequency of test evaluation, in seconds. + :type test_frequency_sec: int + :param protocol: Required. The protocol to use in test evaluation. Possible values include: + "Tcp", "Http", "Icmp". + :type protocol: str or + ~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorTestConfigurationProtocol + :param preferred_ip_version: The preferred IP version to use in test evaluation. The connection + monitor may choose to use a different version depending on other parameters. Possible values + include: "IPv4", "IPv6". + :type preferred_ip_version: str or ~azure.mgmt.network.v2021_02_01.models.PreferredIPVersion + :param http_configuration: The parameters used to perform test evaluation over HTTP. + :type http_configuration: + ~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorHttpConfiguration + :param tcp_configuration: The parameters used to perform test evaluation over TCP. + :type tcp_configuration: + ~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorTcpConfiguration + :param icmp_configuration: The parameters used to perform test evaluation over ICMP. + :type icmp_configuration: + ~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorIcmpConfiguration + :param success_threshold: The threshold for declaring a test successful. + :type success_threshold: + ~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorSuccessThreshold + """ + + _validation = { + 'name': {'required': True}, + 'protocol': {'required': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'test_frequency_sec': {'key': 'testFrequencySec', 'type': 'int'}, + 'protocol': {'key': 'protocol', 'type': 'str'}, + 'preferred_ip_version': {'key': 'preferredIPVersion', 'type': 'str'}, + 'http_configuration': {'key': 'httpConfiguration', 'type': 'ConnectionMonitorHttpConfiguration'}, + 'tcp_configuration': {'key': 'tcpConfiguration', 'type': 'ConnectionMonitorTcpConfiguration'}, + 'icmp_configuration': {'key': 'icmpConfiguration', 'type': 'ConnectionMonitorIcmpConfiguration'}, + 'success_threshold': {'key': 'successThreshold', 'type': 'ConnectionMonitorSuccessThreshold'}, + } + + def __init__( + self, + *, + name: str, + protocol: Union[str, "ConnectionMonitorTestConfigurationProtocol"], + test_frequency_sec: Optional[int] = None, + preferred_ip_version: Optional[Union[str, "PreferredIPVersion"]] = None, + http_configuration: Optional["ConnectionMonitorHttpConfiguration"] = None, + tcp_configuration: Optional["ConnectionMonitorTcpConfiguration"] = None, + icmp_configuration: Optional["ConnectionMonitorIcmpConfiguration"] = None, + success_threshold: Optional["ConnectionMonitorSuccessThreshold"] = None, + **kwargs + ): + super(ConnectionMonitorTestConfiguration, self).__init__(**kwargs) + self.name = name + self.test_frequency_sec = test_frequency_sec + self.protocol = protocol + self.preferred_ip_version = preferred_ip_version + self.http_configuration = http_configuration + self.tcp_configuration = tcp_configuration + self.icmp_configuration = icmp_configuration + self.success_threshold = success_threshold + + +class ConnectionMonitorTestGroup(msrest.serialization.Model): + """Describes the connection monitor test group. + + All required parameters must be populated in order to send to Azure. + + :param name: Required. The name of the connection monitor test group. + :type name: str + :param disable: Value indicating whether test group is disabled. + :type disable: bool + :param test_configurations: Required. List of test configuration names. + :type test_configurations: list[str] + :param sources: Required. List of source endpoint names. + :type sources: list[str] + :param destinations: Required. List of destination endpoint names. + :type destinations: list[str] + """ + + _validation = { + 'name': {'required': True}, + 'test_configurations': {'required': True}, + 'sources': {'required': True}, + 'destinations': {'required': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'disable': {'key': 'disable', 'type': 'bool'}, + 'test_configurations': {'key': 'testConfigurations', 'type': '[str]'}, + 'sources': {'key': 'sources', 'type': '[str]'}, + 'destinations': {'key': 'destinations', 'type': '[str]'}, + } + + def __init__( + self, + *, + name: str, + test_configurations: List[str], + sources: List[str], + destinations: List[str], + disable: Optional[bool] = None, + **kwargs + ): + super(ConnectionMonitorTestGroup, self).__init__(**kwargs) + self.name = name + self.disable = disable + self.test_configurations = test_configurations + self.sources = sources + self.destinations = destinations + + +class ConnectionMonitorWorkspaceSettings(msrest.serialization.Model): + """Describes the settings for producing output into a log analytics workspace. + + :param workspace_resource_id: Log analytics workspace resource ID. + :type workspace_resource_id: str + """ + + _attribute_map = { + 'workspace_resource_id': {'key': 'workspaceResourceId', 'type': 'str'}, + } + + def __init__( + self, + *, + workspace_resource_id: Optional[str] = None, + **kwargs + ): + super(ConnectionMonitorWorkspaceSettings, self).__init__(**kwargs) + self.workspace_resource_id = workspace_resource_id + + +class ConnectionResetSharedKey(msrest.serialization.Model): + """The virtual network connection reset shared key. + + All required parameters must be populated in order to send to Azure. + + :param key_length: Required. The virtual network connection reset shared key length, should + between 1 and 128. + :type key_length: int + """ + + _validation = { + 'key_length': {'required': True, 'maximum': 128, 'minimum': 1}, + } + + _attribute_map = { + 'key_length': {'key': 'keyLength', 'type': 'int'}, + } + + def __init__( + self, + *, + key_length: int, + **kwargs + ): + super(ConnectionResetSharedKey, self).__init__(**kwargs) + self.key_length = key_length + + +class ConnectionSharedKey(SubResource): + """Response for GetConnectionSharedKey API service call. + + All required parameters must be populated in order to send to Azure. + + :param id: Resource ID. + :type id: str + :param value: Required. The virtual network connection shared key value. + :type value: str + """ + + _validation = { + 'value': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'value': {'key': 'value', 'type': 'str'}, + } + + def __init__( + self, + *, + value: str, + id: Optional[str] = None, + **kwargs + ): + super(ConnectionSharedKey, self).__init__(id=id, **kwargs) + self.value = value + + +class ConnectionStateSnapshot(msrest.serialization.Model): + """Connection state snapshot. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param connection_state: The connection state. Possible values include: "Reachable", + "Unreachable", "Unknown". + :type connection_state: str or ~azure.mgmt.network.v2021_02_01.models.ConnectionState + :param start_time: The start time of the connection snapshot. + :type start_time: ~datetime.datetime + :param end_time: The end time of the connection snapshot. + :type end_time: ~datetime.datetime + :param evaluation_state: Connectivity analysis evaluation state. Possible values include: + "NotStarted", "InProgress", "Completed". + :type evaluation_state: str or ~azure.mgmt.network.v2021_02_01.models.EvaluationState + :param avg_latency_in_ms: Average latency in ms. + :type avg_latency_in_ms: long + :param min_latency_in_ms: Minimum latency in ms. + :type min_latency_in_ms: long + :param max_latency_in_ms: Maximum latency in ms. + :type max_latency_in_ms: long + :param probes_sent: The number of sent probes. + :type probes_sent: long + :param probes_failed: The number of failed probes. + :type probes_failed: long + :ivar hops: List of hops between the source and the destination. + :vartype hops: list[~azure.mgmt.network.v2021_02_01.models.ConnectivityHop] + """ + + _validation = { + 'avg_latency_in_ms': {'maximum': 4294967295, 'minimum': 0}, + 'min_latency_in_ms': {'maximum': 4294967295, 'minimum': 0}, + 'max_latency_in_ms': {'maximum': 4294967295, 'minimum': 0}, + 'probes_sent': {'maximum': 4294967295, 'minimum': 0}, + 'probes_failed': {'maximum': 4294967295, 'minimum': 0}, + 'hops': {'readonly': True}, + } + + _attribute_map = { + 'connection_state': {'key': 'connectionState', 'type': 'str'}, + 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, + 'end_time': {'key': 'endTime', 'type': 'iso-8601'}, + 'evaluation_state': {'key': 'evaluationState', 'type': 'str'}, + 'avg_latency_in_ms': {'key': 'avgLatencyInMs', 'type': 'long'}, + 'min_latency_in_ms': {'key': 'minLatencyInMs', 'type': 'long'}, + 'max_latency_in_ms': {'key': 'maxLatencyInMs', 'type': 'long'}, + 'probes_sent': {'key': 'probesSent', 'type': 'long'}, + 'probes_failed': {'key': 'probesFailed', 'type': 'long'}, + 'hops': {'key': 'hops', 'type': '[ConnectivityHop]'}, + } + + def __init__( + self, + *, + connection_state: Optional[Union[str, "ConnectionState"]] = None, + start_time: Optional[datetime.datetime] = None, + end_time: Optional[datetime.datetime] = None, + evaluation_state: Optional[Union[str, "EvaluationState"]] = None, + avg_latency_in_ms: Optional[int] = None, + min_latency_in_ms: Optional[int] = None, + max_latency_in_ms: Optional[int] = None, + probes_sent: Optional[int] = None, + probes_failed: Optional[int] = None, + **kwargs + ): + super(ConnectionStateSnapshot, self).__init__(**kwargs) + self.connection_state = connection_state + self.start_time = start_time + self.end_time = end_time + self.evaluation_state = evaluation_state + self.avg_latency_in_ms = avg_latency_in_ms + self.min_latency_in_ms = min_latency_in_ms + self.max_latency_in_ms = max_latency_in_ms + self.probes_sent = probes_sent + self.probes_failed = probes_failed + self.hops = None + + +class ConnectivityDestination(msrest.serialization.Model): + """Parameters that define destination of connection. + + :param resource_id: The ID of the resource to which a connection attempt will be made. + :type resource_id: str + :param address: The IP address or URI the resource to which a connection attempt will be made. + :type address: str + :param port: Port on which check connectivity will be performed. + :type port: int + """ + + _validation = { + 'port': {'maximum': 65535, 'minimum': 0}, + } + + _attribute_map = { + 'resource_id': {'key': 'resourceId', 'type': 'str'}, + 'address': {'key': 'address', 'type': 'str'}, + 'port': {'key': 'port', 'type': 'int'}, + } + + def __init__( + self, + *, + resource_id: Optional[str] = None, + address: Optional[str] = None, + port: Optional[int] = None, + **kwargs + ): + super(ConnectivityDestination, self).__init__(**kwargs) + self.resource_id = resource_id + self.address = address + self.port = port + + +class ConnectivityHop(msrest.serialization.Model): + """Information about a hop between the source and the destination. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar type: The type of the hop. + :vartype type: str + :ivar id: The ID of the hop. + :vartype id: str + :ivar address: The IP address of the hop. + :vartype address: str + :ivar resource_id: The ID of the resource corresponding to this hop. + :vartype resource_id: str + :ivar next_hop_ids: List of next hop identifiers. + :vartype next_hop_ids: list[str] + :ivar previous_hop_ids: List of previous hop identifiers. + :vartype previous_hop_ids: list[str] + :ivar links: List of hop links. + :vartype links: list[~azure.mgmt.network.v2021_02_01.models.HopLink] + :ivar previous_links: List of previous hop links. + :vartype previous_links: list[~azure.mgmt.network.v2021_02_01.models.HopLink] + :ivar issues: List of issues. + :vartype issues: list[~azure.mgmt.network.v2021_02_01.models.ConnectivityIssue] + """ + + _validation = { + 'type': {'readonly': True}, + 'id': {'readonly': True}, + 'address': {'readonly': True}, + 'resource_id': {'readonly': True}, + 'next_hop_ids': {'readonly': True}, + 'previous_hop_ids': {'readonly': True}, + 'links': {'readonly': True}, + 'previous_links': {'readonly': True}, + 'issues': {'readonly': True}, + } + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, + 'id': {'key': 'id', 'type': 'str'}, + 'address': {'key': 'address', 'type': 'str'}, + 'resource_id': {'key': 'resourceId', 'type': 'str'}, + 'next_hop_ids': {'key': 'nextHopIds', 'type': '[str]'}, + 'previous_hop_ids': {'key': 'previousHopIds', 'type': '[str]'}, + 'links': {'key': 'links', 'type': '[HopLink]'}, + 'previous_links': {'key': 'previousLinks', 'type': '[HopLink]'}, + 'issues': {'key': 'issues', 'type': '[ConnectivityIssue]'}, + } + + def __init__( + self, + **kwargs + ): + super(ConnectivityHop, self).__init__(**kwargs) + self.type = None + self.id = None + self.address = None + self.resource_id = None + self.next_hop_ids = None + self.previous_hop_ids = None + self.links = None + self.previous_links = None + self.issues = None + + +class ConnectivityInformation(msrest.serialization.Model): + """Information on the connectivity status. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar hops: List of hops between the source and the destination. + :vartype hops: list[~azure.mgmt.network.v2021_02_01.models.ConnectivityHop] + :ivar connection_status: The connection status. Possible values include: "Unknown", + "Connected", "Disconnected", "Degraded". + :vartype connection_status: str or ~azure.mgmt.network.v2021_02_01.models.ConnectionStatus + :ivar avg_latency_in_ms: Average latency in milliseconds. + :vartype avg_latency_in_ms: int + :ivar min_latency_in_ms: Minimum latency in milliseconds. + :vartype min_latency_in_ms: int + :ivar max_latency_in_ms: Maximum latency in milliseconds. + :vartype max_latency_in_ms: int + :ivar probes_sent: Total number of probes sent. + :vartype probes_sent: int + :ivar probes_failed: Number of failed probes. + :vartype probes_failed: int + """ + + _validation = { + 'hops': {'readonly': True}, + 'connection_status': {'readonly': True}, + 'avg_latency_in_ms': {'readonly': True}, + 'min_latency_in_ms': {'readonly': True}, + 'max_latency_in_ms': {'readonly': True}, + 'probes_sent': {'readonly': True}, + 'probes_failed': {'readonly': True}, + } + + _attribute_map = { + 'hops': {'key': 'hops', 'type': '[ConnectivityHop]'}, + 'connection_status': {'key': 'connectionStatus', 'type': 'str'}, + 'avg_latency_in_ms': {'key': 'avgLatencyInMs', 'type': 'int'}, + 'min_latency_in_ms': {'key': 'minLatencyInMs', 'type': 'int'}, + 'max_latency_in_ms': {'key': 'maxLatencyInMs', 'type': 'int'}, + 'probes_sent': {'key': 'probesSent', 'type': 'int'}, + 'probes_failed': {'key': 'probesFailed', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(ConnectivityInformation, self).__init__(**kwargs) + self.hops = None + self.connection_status = None + self.avg_latency_in_ms = None + self.min_latency_in_ms = None + self.max_latency_in_ms = None + self.probes_sent = None + self.probes_failed = None + + +class ConnectivityIssue(msrest.serialization.Model): + """Information about an issue encountered in the process of checking for connectivity. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar origin: The origin of the issue. Possible values include: "Local", "Inbound", "Outbound". + :vartype origin: str or ~azure.mgmt.network.v2021_02_01.models.Origin + :ivar severity: The severity of the issue. Possible values include: "Error", "Warning". + :vartype severity: str or ~azure.mgmt.network.v2021_02_01.models.Severity + :ivar type: The type of issue. Possible values include: "Unknown", "AgentStopped", + "GuestFirewall", "DnsResolution", "SocketBind", "NetworkSecurityRule", "UserDefinedRoute", + "PortThrottled", "Platform". + :vartype type: str or ~azure.mgmt.network.v2021_02_01.models.IssueType + :ivar context: Provides additional context on the issue. + :vartype context: list[dict[str, str]] + """ + + _validation = { + 'origin': {'readonly': True}, + 'severity': {'readonly': True}, + 'type': {'readonly': True}, + 'context': {'readonly': True}, + } + + _attribute_map = { + 'origin': {'key': 'origin', 'type': 'str'}, + 'severity': {'key': 'severity', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'context': {'key': 'context', 'type': '[{str}]'}, + } + + def __init__( + self, + **kwargs + ): + super(ConnectivityIssue, self).__init__(**kwargs) + self.origin = None + self.severity = None + self.type = None + self.context = None + + +class ConnectivityParameters(msrest.serialization.Model): + """Parameters that determine how the connectivity check will be performed. + + All required parameters must be populated in order to send to Azure. + + :param source: Required. The source of the connection. + :type source: ~azure.mgmt.network.v2021_02_01.models.ConnectivitySource + :param destination: Required. The destination of connection. + :type destination: ~azure.mgmt.network.v2021_02_01.models.ConnectivityDestination + :param protocol: Network protocol. Possible values include: "Tcp", "Http", "Https", "Icmp". + :type protocol: str or ~azure.mgmt.network.v2021_02_01.models.Protocol + :param protocol_configuration: Configuration of the protocol. + :type protocol_configuration: ~azure.mgmt.network.v2021_02_01.models.ProtocolConfiguration + :param preferred_ip_version: Preferred IP version of the connection. Possible values include: + "IPv4", "IPv6". + :type preferred_ip_version: str or ~azure.mgmt.network.v2021_02_01.models.IPVersion + """ + + _validation = { + 'source': {'required': True}, + 'destination': {'required': True}, + } + + _attribute_map = { + 'source': {'key': 'source', 'type': 'ConnectivitySource'}, + 'destination': {'key': 'destination', 'type': 'ConnectivityDestination'}, + 'protocol': {'key': 'protocol', 'type': 'str'}, + 'protocol_configuration': {'key': 'protocolConfiguration', 'type': 'ProtocolConfiguration'}, + 'preferred_ip_version': {'key': 'preferredIPVersion', 'type': 'str'}, + } + + def __init__( + self, + *, + source: "ConnectivitySource", + destination: "ConnectivityDestination", + protocol: Optional[Union[str, "Protocol"]] = None, + protocol_configuration: Optional["ProtocolConfiguration"] = None, + preferred_ip_version: Optional[Union[str, "IPVersion"]] = None, + **kwargs + ): + super(ConnectivityParameters, self).__init__(**kwargs) + self.source = source + self.destination = destination + self.protocol = protocol + self.protocol_configuration = protocol_configuration + self.preferred_ip_version = preferred_ip_version + + +class ConnectivitySource(msrest.serialization.Model): + """Parameters that define the source of the connection. + + All required parameters must be populated in order to send to Azure. + + :param resource_id: Required. The ID of the resource from which a connectivity check will be + initiated. + :type resource_id: str + :param port: The source port from which a connectivity check will be performed. + :type port: int + """ + + _validation = { + 'resource_id': {'required': True}, + 'port': {'maximum': 65535, 'minimum': 0}, + } + + _attribute_map = { + 'resource_id': {'key': 'resourceId', 'type': 'str'}, + 'port': {'key': 'port', 'type': 'int'}, + } + + def __init__( + self, + *, + resource_id: str, + port: Optional[int] = None, + **kwargs + ): + super(ConnectivitySource, self).__init__(**kwargs) + self.resource_id = resource_id + self.port = port + + +class Container(SubResource): + """Reference to container resource in remote resource provider. + + :param id: Resource ID. + :type id: str + """ + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + **kwargs + ): + super(Container, self).__init__(id=id, **kwargs) + + +class ContainerNetworkInterface(SubResource): + """Container network interface child resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: The name of the resource. This name can be used to access the resource. + :type name: str + :ivar type: Sub Resource type. + :vartype type: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar container_network_interface_configuration: Container network interface configuration from + which this container network interface is created. + :vartype container_network_interface_configuration: + ~azure.mgmt.network.v2021_02_01.models.ContainerNetworkInterfaceConfiguration + :param container: Reference to the container to which this container network interface is + attached. + :type container: ~azure.mgmt.network.v2021_02_01.models.Container + :ivar ip_configurations: Reference to the ip configuration on this container nic. + :vartype ip_configurations: + list[~azure.mgmt.network.v2021_02_01.models.ContainerNetworkInterfaceIpConfiguration] + :ivar provisioning_state: The provisioning state of the container network interface resource. + Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'container_network_interface_configuration': {'readonly': True}, + 'ip_configurations': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'container_network_interface_configuration': {'key': 'properties.containerNetworkInterfaceConfiguration', 'type': 'ContainerNetworkInterfaceConfiguration'}, + 'container': {'key': 'properties.container', 'type': 'Container'}, + 'ip_configurations': {'key': 'properties.ipConfigurations', 'type': '[ContainerNetworkInterfaceIpConfiguration]'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + name: Optional[str] = None, + container: Optional["Container"] = None, + **kwargs + ): + super(ContainerNetworkInterface, self).__init__(id=id, **kwargs) + self.name = name + self.type = None + self.etag = None + self.container_network_interface_configuration = None + self.container = container + self.ip_configurations = None + self.provisioning_state = None + + +class ContainerNetworkInterfaceConfiguration(SubResource): + """Container network interface configuration child resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: The name of the resource. This name can be used to access the resource. + :type name: str + :ivar type: Sub Resource type. + :vartype type: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param ip_configurations: A list of ip configurations of the container network interface + configuration. + :type ip_configurations: list[~azure.mgmt.network.v2021_02_01.models.IPConfigurationProfile] + :param container_network_interfaces: A list of container network interfaces created from this + container network interface configuration. + :type container_network_interfaces: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + :ivar provisioning_state: The provisioning state of the container network interface + configuration resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'ip_configurations': {'key': 'properties.ipConfigurations', 'type': '[IPConfigurationProfile]'}, + 'container_network_interfaces': {'key': 'properties.containerNetworkInterfaces', 'type': '[SubResource]'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + name: Optional[str] = None, + ip_configurations: Optional[List["IPConfigurationProfile"]] = None, + container_network_interfaces: Optional[List["SubResource"]] = None, + **kwargs + ): + super(ContainerNetworkInterfaceConfiguration, self).__init__(id=id, **kwargs) + self.name = name + self.type = None + self.etag = None + self.ip_configurations = ip_configurations + self.container_network_interfaces = container_network_interfaces + self.provisioning_state = None + + +class ContainerNetworkInterfaceIpConfiguration(msrest.serialization.Model): + """The ip configuration for a container network interface. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param name: The name of the resource. This name can be used to access the resource. + :type name: str + :ivar type: Sub Resource type. + :vartype type: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar provisioning_state: The provisioning state of the container network interface IP + configuration resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + *, + name: Optional[str] = None, + **kwargs + ): + super(ContainerNetworkInterfaceIpConfiguration, self).__init__(**kwargs) + self.name = name + self.type = None + self.etag = None + self.provisioning_state = None + + +class CustomDnsConfigPropertiesFormat(msrest.serialization.Model): + """Contains custom Dns resolution configuration from customer. + + :param fqdn: Fqdn that resolves to private endpoint ip address. + :type fqdn: str + :param ip_addresses: A list of private ip addresses of the private endpoint. + :type ip_addresses: list[str] + """ + + _attribute_map = { + 'fqdn': {'key': 'fqdn', 'type': 'str'}, + 'ip_addresses': {'key': 'ipAddresses', 'type': '[str]'}, + } + + def __init__( + self, + *, + fqdn: Optional[str] = None, + ip_addresses: Optional[List[str]] = None, + **kwargs + ): + super(CustomDnsConfigPropertiesFormat, self).__init__(**kwargs) + self.fqdn = fqdn + self.ip_addresses = ip_addresses + + +class CustomIpPrefix(Resource): + """Custom IP prefix resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :param extended_location: The extended location of the custom IP prefix. + :type extended_location: ~azure.mgmt.network.v2021_02_01.models.ExtendedLocation + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param zones: A list of availability zones denoting the IP allocated for the resource needs to + come from. + :type zones: list[str] + :param cidr: The prefix range in CIDR notation. Should include the start address and the prefix + length. + :type cidr: str + :param signed_message: Signed message for WAN validation. + :type signed_message: str + :param authorization_message: Authorization message for WAN validation. + :type authorization_message: str + :param custom_ip_prefix_parent: The Parent CustomIpPrefix for IPv6 /64 CustomIpPrefix. + :type custom_ip_prefix_parent: ~azure.mgmt.network.v2021_02_01.models.CustomIpPrefix + :ivar child_custom_ip_prefixes: The list of all Children for IPv6 /48 CustomIpPrefix. + :vartype child_custom_ip_prefixes: list[~azure.mgmt.network.v2021_02_01.models.CustomIpPrefix] + :param commissioned_state: The commissioned state of the Custom IP Prefix. Possible values + include: "Provisioning", "Provisioned", "Commissioning", "Commissioned", "Decommissioning", + "Deprovisioning". + :type commissioned_state: str or ~azure.mgmt.network.v2021_02_01.models.CommissionedState + :ivar public_ip_prefixes: The list of all referenced PublicIpPrefixes. + :vartype public_ip_prefixes: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + :ivar resource_guid: The resource GUID property of the custom IP prefix resource. + :vartype resource_guid: str + :ivar failed_reason: The reason why resource is in failed state. + :vartype failed_reason: str + :ivar provisioning_state: The provisioning state of the custom IP prefix resource. Possible + values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'child_custom_ip_prefixes': {'readonly': True}, + 'public_ip_prefixes': {'readonly': True}, + 'resource_guid': {'readonly': True}, + 'failed_reason': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'extended_location': {'key': 'extendedLocation', 'type': 'ExtendedLocation'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'zones': {'key': 'zones', 'type': '[str]'}, + 'cidr': {'key': 'properties.cidr', 'type': 'str'}, + 'signed_message': {'key': 'properties.signedMessage', 'type': 'str'}, + 'authorization_message': {'key': 'properties.authorizationMessage', 'type': 'str'}, + 'custom_ip_prefix_parent': {'key': 'properties.customIpPrefixParent', 'type': 'CustomIpPrefix'}, + 'child_custom_ip_prefixes': {'key': 'properties.childCustomIpPrefixes', 'type': '[CustomIpPrefix]'}, + 'commissioned_state': {'key': 'properties.commissionedState', 'type': 'str'}, + 'public_ip_prefixes': {'key': 'properties.publicIpPrefixes', 'type': '[SubResource]'}, + 'resource_guid': {'key': 'properties.resourceGuid', 'type': 'str'}, + 'failed_reason': {'key': 'properties.failedReason', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + location: Optional[str] = None, + tags: Optional[Dict[str, str]] = None, + extended_location: Optional["ExtendedLocation"] = None, + zones: Optional[List[str]] = None, + cidr: Optional[str] = None, + signed_message: Optional[str] = None, + authorization_message: Optional[str] = None, + custom_ip_prefix_parent: Optional["CustomIpPrefix"] = None, + commissioned_state: Optional[Union[str, "CommissionedState"]] = None, + **kwargs + ): + super(CustomIpPrefix, self).__init__(id=id, location=location, tags=tags, **kwargs) + self.extended_location = extended_location + self.etag = None + self.zones = zones + self.cidr = cidr + self.signed_message = signed_message + self.authorization_message = authorization_message + self.custom_ip_prefix_parent = custom_ip_prefix_parent + self.child_custom_ip_prefixes = None + self.commissioned_state = commissioned_state + self.public_ip_prefixes = None + self.resource_guid = None + self.failed_reason = None + self.provisioning_state = None + + +class CustomIpPrefixListResult(msrest.serialization.Model): + """Response for ListCustomIpPrefixes API service call. + + :param value: A list of Custom IP prefixes that exists in a resource group. + :type value: list[~azure.mgmt.network.v2021_02_01.models.CustomIpPrefix] + :param next_link: The URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[CustomIpPrefix]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["CustomIpPrefix"]] = None, + next_link: Optional[str] = None, + **kwargs + ): + super(CustomIpPrefixListResult, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class DdosCustomPolicy(Resource): + """A DDoS custom policy in a resource group. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar resource_guid: The resource GUID property of the DDoS custom policy resource. It uniquely + identifies the resource, even if the user changes its name or migrate the resource across + subscriptions or resource groups. + :vartype resource_guid: str + :ivar provisioning_state: The provisioning state of the DDoS custom policy resource. Possible + values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :ivar public_ip_addresses: The list of public IPs associated with the DDoS custom policy + resource. This list is read-only. + :vartype public_ip_addresses: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + :param protocol_custom_settings: The protocol-specific DDoS policy customization parameters. + :type protocol_custom_settings: + list[~azure.mgmt.network.v2021_02_01.models.ProtocolCustomSettingsFormat] + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'resource_guid': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'public_ip_addresses': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'resource_guid': {'key': 'properties.resourceGuid', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'public_ip_addresses': {'key': 'properties.publicIPAddresses', 'type': '[SubResource]'}, + 'protocol_custom_settings': {'key': 'properties.protocolCustomSettings', 'type': '[ProtocolCustomSettingsFormat]'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + location: Optional[str] = None, + tags: Optional[Dict[str, str]] = None, + protocol_custom_settings: Optional[List["ProtocolCustomSettingsFormat"]] = None, + **kwargs + ): + super(DdosCustomPolicy, self).__init__(id=id, location=location, tags=tags, **kwargs) + self.etag = None + self.resource_guid = None + self.provisioning_state = None + self.public_ip_addresses = None + self.protocol_custom_settings = protocol_custom_settings + + +class DdosProtectionPlan(msrest.serialization.Model): + """A DDoS protection plan in a resource group. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Resource ID. + :vartype id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar resource_guid: The resource GUID property of the DDoS protection plan resource. It + uniquely identifies the resource, even if the user changes its name or migrate the resource + across subscriptions or resource groups. + :vartype resource_guid: str + :ivar provisioning_state: The provisioning state of the DDoS protection plan resource. Possible + values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :ivar virtual_networks: The list of virtual networks associated with the DDoS protection plan + resource. This list is read-only. + :vartype virtual_networks: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'resource_guid': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'virtual_networks': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'resource_guid': {'key': 'properties.resourceGuid', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'virtual_networks': {'key': 'properties.virtualNetworks', 'type': '[SubResource]'}, + } + + def __init__( + self, + *, + location: Optional[str] = None, + tags: Optional[Dict[str, str]] = None, + **kwargs + ): + super(DdosProtectionPlan, self).__init__(**kwargs) + self.id = None + self.name = None + self.type = None + self.location = location + self.tags = tags + self.etag = None + self.resource_guid = None + self.provisioning_state = None + self.virtual_networks = None + + +class DdosProtectionPlanListResult(msrest.serialization.Model): + """A list of DDoS protection plans. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: A list of DDoS protection plans. + :type value: list[~azure.mgmt.network.v2021_02_01.models.DdosProtectionPlan] + :ivar next_link: The URL to get the next set of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[DdosProtectionPlan]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["DdosProtectionPlan"]] = None, + **kwargs + ): + super(DdosProtectionPlanListResult, self).__init__(**kwargs) + self.value = value + self.next_link = None + + +class DdosSettings(msrest.serialization.Model): + """Contains the DDoS protection settings of the public IP. + + :param ddos_custom_policy: The DDoS custom policy associated with the public IP. + :type ddos_custom_policy: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param protection_coverage: The DDoS protection policy customizability of the public IP. Only + standard coverage will have the ability to be customized. Possible values include: "Basic", + "Standard". + :type protection_coverage: str or + ~azure.mgmt.network.v2021_02_01.models.DdosSettingsProtectionCoverage + :param protected_ip: Enables DDoS protection on the public IP. + :type protected_ip: bool + """ + + _attribute_map = { + 'ddos_custom_policy': {'key': 'ddosCustomPolicy', 'type': 'SubResource'}, + 'protection_coverage': {'key': 'protectionCoverage', 'type': 'str'}, + 'protected_ip': {'key': 'protectedIP', 'type': 'bool'}, + } + + def __init__( + self, + *, + ddos_custom_policy: Optional["SubResource"] = None, + protection_coverage: Optional[Union[str, "DdosSettingsProtectionCoverage"]] = None, + protected_ip: Optional[bool] = None, + **kwargs + ): + super(DdosSettings, self).__init__(**kwargs) + self.ddos_custom_policy = ddos_custom_policy + self.protection_coverage = protection_coverage + self.protected_ip = protected_ip + + +class Delegation(SubResource): + """Details the service to which the subnet is delegated. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: The name of the resource that is unique within a subnet. This name can be used to + access the resource. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param type: Resource type. + :type type: str + :param service_name: The name of the service to whom the subnet should be delegated (e.g. + Microsoft.Sql/servers). + :type service_name: str + :ivar actions: The actions permitted to the service upon delegation. + :vartype actions: list[str] + :ivar provisioning_state: The provisioning state of the service delegation resource. Possible + values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'actions': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'service_name': {'key': 'properties.serviceName', 'type': 'str'}, + 'actions': {'key': 'properties.actions', 'type': '[str]'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + name: Optional[str] = None, + type: Optional[str] = None, + service_name: Optional[str] = None, + **kwargs + ): + super(Delegation, self).__init__(id=id, **kwargs) + self.name = name + self.etag = None + self.type = type + self.service_name = service_name + self.actions = None + self.provisioning_state = None + + +class DeviceProperties(msrest.serialization.Model): + """List of properties of the device. + + :param device_vendor: Name of the device Vendor. + :type device_vendor: str + :param device_model: Model of the device. + :type device_model: str + :param link_speed_in_mbps: Link speed. + :type link_speed_in_mbps: int + """ + + _attribute_map = { + 'device_vendor': {'key': 'deviceVendor', 'type': 'str'}, + 'device_model': {'key': 'deviceModel', 'type': 'str'}, + 'link_speed_in_mbps': {'key': 'linkSpeedInMbps', 'type': 'int'}, + } + + def __init__( + self, + *, + device_vendor: Optional[str] = None, + device_model: Optional[str] = None, + link_speed_in_mbps: Optional[int] = None, + **kwargs + ): + super(DeviceProperties, self).__init__(**kwargs) + self.device_vendor = device_vendor + self.device_model = device_model + self.link_speed_in_mbps = link_speed_in_mbps + + +class DhcpOptions(msrest.serialization.Model): + """DhcpOptions contains an array of DNS servers available to VMs deployed in the virtual network. Standard DHCP option for a subnet overrides VNET DHCP options. + + :param dns_servers: The list of DNS servers IP addresses. + :type dns_servers: list[str] + """ + + _attribute_map = { + 'dns_servers': {'key': 'dnsServers', 'type': '[str]'}, + } + + def __init__( + self, + *, + dns_servers: Optional[List[str]] = None, + **kwargs + ): + super(DhcpOptions, self).__init__(**kwargs) + self.dns_servers = dns_servers + + +class Dimension(msrest.serialization.Model): + """Dimension of the metric. + + :param name: The name of the dimension. + :type name: str + :param display_name: The display name of the dimension. + :type display_name: str + :param internal_name: The internal name of the dimension. + :type internal_name: str + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'display_name': {'key': 'displayName', 'type': 'str'}, + 'internal_name': {'key': 'internalName', 'type': 'str'}, + } + + def __init__( + self, + *, + name: Optional[str] = None, + display_name: Optional[str] = None, + internal_name: Optional[str] = None, + **kwargs + ): + super(Dimension, self).__init__(**kwargs) + self.name = name + self.display_name = display_name + self.internal_name = internal_name + + +class DnsNameAvailabilityResult(msrest.serialization.Model): + """Response for the CheckDnsNameAvailability API service call. + + :param available: Domain availability (True/False). + :type available: bool + """ + + _attribute_map = { + 'available': {'key': 'available', 'type': 'bool'}, + } + + def __init__( + self, + *, + available: Optional[bool] = None, + **kwargs + ): + super(DnsNameAvailabilityResult, self).__init__(**kwargs) + self.available = available + + +class DnsSettings(msrest.serialization.Model): + """DNS Proxy Settings in Firewall Policy. + + :param servers: List of Custom DNS Servers. + :type servers: list[str] + :param enable_proxy: Enable DNS Proxy on Firewalls attached to the Firewall Policy. + :type enable_proxy: bool + :param require_proxy_for_network_rules: FQDNs in Network Rules are supported when set to true. + :type require_proxy_for_network_rules: bool + """ + + _attribute_map = { + 'servers': {'key': 'servers', 'type': '[str]'}, + 'enable_proxy': {'key': 'enableProxy', 'type': 'bool'}, + 'require_proxy_for_network_rules': {'key': 'requireProxyForNetworkRules', 'type': 'bool'}, + } + + def __init__( + self, + *, + servers: Optional[List[str]] = None, + enable_proxy: Optional[bool] = None, + require_proxy_for_network_rules: Optional[bool] = None, + **kwargs + ): + super(DnsSettings, self).__init__(**kwargs) + self.servers = servers + self.enable_proxy = enable_proxy + self.require_proxy_for_network_rules = require_proxy_for_network_rules + + +class DscpConfiguration(Resource): + """DSCP Configuration in a resource group. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param markings: List of markings to be used in the configuration. + :type markings: list[int] + :param source_ip_ranges: Source IP ranges. + :type source_ip_ranges: list[~azure.mgmt.network.v2021_02_01.models.QosIpRange] + :param destination_ip_ranges: Destination IP ranges. + :type destination_ip_ranges: list[~azure.mgmt.network.v2021_02_01.models.QosIpRange] + :param source_port_ranges: Sources port ranges. + :type source_port_ranges: list[~azure.mgmt.network.v2021_02_01.models.QosPortRange] + :param destination_port_ranges: Destination port ranges. + :type destination_port_ranges: list[~azure.mgmt.network.v2021_02_01.models.QosPortRange] + :param protocol: RNM supported protocol types. Possible values include: "DoNotUse", "Icmp", + "Tcp", "Udp", "Gre", "Esp", "Ah", "Vxlan", "All". + :type protocol: str or ~azure.mgmt.network.v2021_02_01.models.ProtocolType + :ivar qos_collection_id: Qos Collection ID generated by RNM. + :vartype qos_collection_id: str + :ivar associated_network_interfaces: Associated Network Interfaces to the DSCP Configuration. + :vartype associated_network_interfaces: + list[~azure.mgmt.network.v2021_02_01.models.NetworkInterface] + :ivar resource_guid: The resource GUID property of the DSCP Configuration resource. + :vartype resource_guid: str + :ivar provisioning_state: The provisioning state of the DSCP Configuration resource. Possible + values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'qos_collection_id': {'readonly': True}, + 'associated_network_interfaces': {'readonly': True}, + 'resource_guid': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'markings': {'key': 'properties.markings', 'type': '[int]'}, + 'source_ip_ranges': {'key': 'properties.sourceIpRanges', 'type': '[QosIpRange]'}, + 'destination_ip_ranges': {'key': 'properties.destinationIpRanges', 'type': '[QosIpRange]'}, + 'source_port_ranges': {'key': 'properties.sourcePortRanges', 'type': '[QosPortRange]'}, + 'destination_port_ranges': {'key': 'properties.destinationPortRanges', 'type': '[QosPortRange]'}, + 'protocol': {'key': 'properties.protocol', 'type': 'str'}, + 'qos_collection_id': {'key': 'properties.qosCollectionId', 'type': 'str'}, + 'associated_network_interfaces': {'key': 'properties.associatedNetworkInterfaces', 'type': '[NetworkInterface]'}, + 'resource_guid': {'key': 'properties.resourceGuid', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + location: Optional[str] = None, + tags: Optional[Dict[str, str]] = None, + markings: Optional[List[int]] = None, + source_ip_ranges: Optional[List["QosIpRange"]] = None, + destination_ip_ranges: Optional[List["QosIpRange"]] = None, + source_port_ranges: Optional[List["QosPortRange"]] = None, + destination_port_ranges: Optional[List["QosPortRange"]] = None, + protocol: Optional[Union[str, "ProtocolType"]] = None, + **kwargs + ): + super(DscpConfiguration, self).__init__(id=id, location=location, tags=tags, **kwargs) + self.etag = None + self.markings = markings + self.source_ip_ranges = source_ip_ranges + self.destination_ip_ranges = destination_ip_ranges + self.source_port_ranges = source_port_ranges + self.destination_port_ranges = destination_port_ranges + self.protocol = protocol + self.qos_collection_id = None + self.associated_network_interfaces = None + self.resource_guid = None + self.provisioning_state = None + + +class DscpConfigurationListResult(msrest.serialization.Model): + """Response for the DscpConfigurationList API service call. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: A list of dscp configurations in a resource group. + :type value: list[~azure.mgmt.network.v2021_02_01.models.DscpConfiguration] + :ivar next_link: The URL to get the next set of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[DscpConfiguration]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["DscpConfiguration"]] = None, + **kwargs + ): + super(DscpConfigurationListResult, self).__init__(**kwargs) + self.value = value + self.next_link = None + + +class EffectiveNetworkSecurityGroup(msrest.serialization.Model): + """Effective network security group. + + :param network_security_group: The ID of network security group that is applied. + :type network_security_group: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param association: Associated resources. + :type association: + ~azure.mgmt.network.v2021_02_01.models.EffectiveNetworkSecurityGroupAssociation + :param effective_security_rules: A collection of effective security rules. + :type effective_security_rules: + list[~azure.mgmt.network.v2021_02_01.models.EffectiveNetworkSecurityRule] + :param tag_map: Mapping of tags to list of IP Addresses included within the tag. + :type tag_map: str + """ + + _attribute_map = { + 'network_security_group': {'key': 'networkSecurityGroup', 'type': 'SubResource'}, + 'association': {'key': 'association', 'type': 'EffectiveNetworkSecurityGroupAssociation'}, + 'effective_security_rules': {'key': 'effectiveSecurityRules', 'type': '[EffectiveNetworkSecurityRule]'}, + 'tag_map': {'key': 'tagMap', 'type': 'str'}, + } + + def __init__( + self, + *, + network_security_group: Optional["SubResource"] = None, + association: Optional["EffectiveNetworkSecurityGroupAssociation"] = None, + effective_security_rules: Optional[List["EffectiveNetworkSecurityRule"]] = None, + tag_map: Optional[str] = None, + **kwargs + ): + super(EffectiveNetworkSecurityGroup, self).__init__(**kwargs) + self.network_security_group = network_security_group + self.association = association + self.effective_security_rules = effective_security_rules + self.tag_map = tag_map + + +class EffectiveNetworkSecurityGroupAssociation(msrest.serialization.Model): + """The effective network security group association. + + :param network_manager: The ID of the Azure network manager if assigned. + :type network_manager: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param subnet: The ID of the subnet if assigned. + :type subnet: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param network_interface: The ID of the network interface if assigned. + :type network_interface: ~azure.mgmt.network.v2021_02_01.models.SubResource + """ + + _attribute_map = { + 'network_manager': {'key': 'networkManager', 'type': 'SubResource'}, + 'subnet': {'key': 'subnet', 'type': 'SubResource'}, + 'network_interface': {'key': 'networkInterface', 'type': 'SubResource'}, + } + + def __init__( + self, + *, + network_manager: Optional["SubResource"] = None, + subnet: Optional["SubResource"] = None, + network_interface: Optional["SubResource"] = None, + **kwargs + ): + super(EffectiveNetworkSecurityGroupAssociation, self).__init__(**kwargs) + self.network_manager = network_manager + self.subnet = subnet + self.network_interface = network_interface + + +class EffectiveNetworkSecurityGroupListResult(msrest.serialization.Model): + """Response for list effective network security groups API service call. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: A list of effective network security groups. + :type value: list[~azure.mgmt.network.v2021_02_01.models.EffectiveNetworkSecurityGroup] + :ivar next_link: The URL to get the next set of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[EffectiveNetworkSecurityGroup]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["EffectiveNetworkSecurityGroup"]] = None, + **kwargs + ): + super(EffectiveNetworkSecurityGroupListResult, self).__init__(**kwargs) + self.value = value + self.next_link = None + + +class EffectiveNetworkSecurityRule(msrest.serialization.Model): + """Effective network security rules. + + :param name: The name of the security rule specified by the user (if created by the user). + :type name: str + :param protocol: The network protocol this rule applies to. Possible values include: "Tcp", + "Udp", "All". + :type protocol: str or ~azure.mgmt.network.v2021_02_01.models.EffectiveSecurityRuleProtocol + :param source_port_range: The source port or range. + :type source_port_range: str + :param destination_port_range: The destination port or range. + :type destination_port_range: str + :param source_port_ranges: The source port ranges. Expected values include a single integer + between 0 and 65535, a range using '-' as separator (e.g. 100-400), or an asterisk (*). + :type source_port_ranges: list[str] + :param destination_port_ranges: The destination port ranges. Expected values include a single + integer between 0 and 65535, a range using '-' as separator (e.g. 100-400), or an asterisk (*). + :type destination_port_ranges: list[str] + :param source_address_prefix: The source address prefix. + :type source_address_prefix: str + :param destination_address_prefix: The destination address prefix. + :type destination_address_prefix: str + :param source_address_prefixes: The source address prefixes. Expected values include CIDR IP + ranges, Default Tags (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the + asterisk (*). + :type source_address_prefixes: list[str] + :param destination_address_prefixes: The destination address prefixes. Expected values include + CIDR IP ranges, Default Tags (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and + the asterisk (*). + :type destination_address_prefixes: list[str] + :param expanded_source_address_prefix: The expanded source address prefix. + :type expanded_source_address_prefix: list[str] + :param expanded_destination_address_prefix: Expanded destination address prefix. + :type expanded_destination_address_prefix: list[str] + :param access: Whether network traffic is allowed or denied. Possible values include: "Allow", + "Deny". + :type access: str or ~azure.mgmt.network.v2021_02_01.models.SecurityRuleAccess + :param priority: The priority of the rule. + :type priority: int + :param direction: The direction of the rule. Possible values include: "Inbound", "Outbound". + :type direction: str or ~azure.mgmt.network.v2021_02_01.models.SecurityRuleDirection + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'protocol': {'key': 'protocol', 'type': 'str'}, + 'source_port_range': {'key': 'sourcePortRange', 'type': 'str'}, + 'destination_port_range': {'key': 'destinationPortRange', 'type': 'str'}, + 'source_port_ranges': {'key': 'sourcePortRanges', 'type': '[str]'}, + 'destination_port_ranges': {'key': 'destinationPortRanges', 'type': '[str]'}, + 'source_address_prefix': {'key': 'sourceAddressPrefix', 'type': 'str'}, + 'destination_address_prefix': {'key': 'destinationAddressPrefix', 'type': 'str'}, + 'source_address_prefixes': {'key': 'sourceAddressPrefixes', 'type': '[str]'}, + 'destination_address_prefixes': {'key': 'destinationAddressPrefixes', 'type': '[str]'}, + 'expanded_source_address_prefix': {'key': 'expandedSourceAddressPrefix', 'type': '[str]'}, + 'expanded_destination_address_prefix': {'key': 'expandedDestinationAddressPrefix', 'type': '[str]'}, + 'access': {'key': 'access', 'type': 'str'}, + 'priority': {'key': 'priority', 'type': 'int'}, + 'direction': {'key': 'direction', 'type': 'str'}, + } + + def __init__( + self, + *, + name: Optional[str] = None, + protocol: Optional[Union[str, "EffectiveSecurityRuleProtocol"]] = None, + source_port_range: Optional[str] = None, + destination_port_range: Optional[str] = None, + source_port_ranges: Optional[List[str]] = None, + destination_port_ranges: Optional[List[str]] = None, + source_address_prefix: Optional[str] = None, + destination_address_prefix: Optional[str] = None, + source_address_prefixes: Optional[List[str]] = None, + destination_address_prefixes: Optional[List[str]] = None, + expanded_source_address_prefix: Optional[List[str]] = None, + expanded_destination_address_prefix: Optional[List[str]] = None, + access: Optional[Union[str, "SecurityRuleAccess"]] = None, + priority: Optional[int] = None, + direction: Optional[Union[str, "SecurityRuleDirection"]] = None, + **kwargs + ): + super(EffectiveNetworkSecurityRule, self).__init__(**kwargs) + self.name = name + self.protocol = protocol + self.source_port_range = source_port_range + self.destination_port_range = destination_port_range + self.source_port_ranges = source_port_ranges + self.destination_port_ranges = destination_port_ranges + self.source_address_prefix = source_address_prefix + self.destination_address_prefix = destination_address_prefix + self.source_address_prefixes = source_address_prefixes + self.destination_address_prefixes = destination_address_prefixes + self.expanded_source_address_prefix = expanded_source_address_prefix + self.expanded_destination_address_prefix = expanded_destination_address_prefix + self.access = access + self.priority = priority + self.direction = direction + + +class EffectiveRoute(msrest.serialization.Model): + """Effective Route. + + :param name: The name of the user defined route. This is optional. + :type name: str + :param disable_bgp_route_propagation: If true, on-premises routes are not propagated to the + network interfaces in the subnet. + :type disable_bgp_route_propagation: bool + :param source: Who created the route. Possible values include: "Unknown", "User", + "VirtualNetworkGateway", "Default". + :type source: str or ~azure.mgmt.network.v2021_02_01.models.EffectiveRouteSource + :param state: The value of effective route. Possible values include: "Active", "Invalid". + :type state: str or ~azure.mgmt.network.v2021_02_01.models.EffectiveRouteState + :param address_prefix: The address prefixes of the effective routes in CIDR notation. + :type address_prefix: list[str] + :param next_hop_ip_address: The IP address of the next hop of the effective route. + :type next_hop_ip_address: list[str] + :param next_hop_type: The type of Azure hop the packet should be sent to. Possible values + include: "VirtualNetworkGateway", "VnetLocal", "Internet", "VirtualAppliance", "None". + :type next_hop_type: str or ~azure.mgmt.network.v2021_02_01.models.RouteNextHopType + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'disable_bgp_route_propagation': {'key': 'disableBgpRoutePropagation', 'type': 'bool'}, + 'source': {'key': 'source', 'type': 'str'}, + 'state': {'key': 'state', 'type': 'str'}, + 'address_prefix': {'key': 'addressPrefix', 'type': '[str]'}, + 'next_hop_ip_address': {'key': 'nextHopIpAddress', 'type': '[str]'}, + 'next_hop_type': {'key': 'nextHopType', 'type': 'str'}, + } + + def __init__( + self, + *, + name: Optional[str] = None, + disable_bgp_route_propagation: Optional[bool] = None, + source: Optional[Union[str, "EffectiveRouteSource"]] = None, + state: Optional[Union[str, "EffectiveRouteState"]] = None, + address_prefix: Optional[List[str]] = None, + next_hop_ip_address: Optional[List[str]] = None, + next_hop_type: Optional[Union[str, "RouteNextHopType"]] = None, + **kwargs + ): + super(EffectiveRoute, self).__init__(**kwargs) + self.name = name + self.disable_bgp_route_propagation = disable_bgp_route_propagation + self.source = source + self.state = state + self.address_prefix = address_prefix + self.next_hop_ip_address = next_hop_ip_address + self.next_hop_type = next_hop_type + + +class EffectiveRouteListResult(msrest.serialization.Model): + """Response for list effective route API service call. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: A list of effective routes. + :type value: list[~azure.mgmt.network.v2021_02_01.models.EffectiveRoute] + :ivar next_link: The URL to get the next set of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[EffectiveRoute]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["EffectiveRoute"]] = None, + **kwargs + ): + super(EffectiveRouteListResult, self).__init__(**kwargs) + self.value = value + self.next_link = None + + +class EffectiveRoutesParameters(msrest.serialization.Model): + """The parameters specifying the resource whose effective routes are being requested. + + :param resource_id: The resource whose effective routes are being requested. + :type resource_id: str + :param virtual_wan_resource_type: The type of the specified resource like RouteTable, + ExpressRouteConnection, HubVirtualNetworkConnection, VpnConnection and P2SConnection. + :type virtual_wan_resource_type: str + """ + + _attribute_map = { + 'resource_id': {'key': 'resourceId', 'type': 'str'}, + 'virtual_wan_resource_type': {'key': 'virtualWanResourceType', 'type': 'str'}, + } + + def __init__( + self, + *, + resource_id: Optional[str] = None, + virtual_wan_resource_type: Optional[str] = None, + **kwargs + ): + super(EffectiveRoutesParameters, self).__init__(**kwargs) + self.resource_id = resource_id + self.virtual_wan_resource_type = virtual_wan_resource_type + + +class EndpointServiceResult(SubResource): + """Endpoint service. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Name of the endpoint service. + :vartype name: str + :ivar type: Type of the endpoint service. + :vartype type: str + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + **kwargs + ): + super(EndpointServiceResult, self).__init__(id=id, **kwargs) + self.name = None + self.type = None + + +class EndpointServicesListResult(msrest.serialization.Model): + """Response for the ListAvailableEndpointServices API service call. + + :param value: List of available endpoint services in a region. + :type value: list[~azure.mgmt.network.v2021_02_01.models.EndpointServiceResult] + :param next_link: The URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[EndpointServiceResult]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["EndpointServiceResult"]] = None, + next_link: Optional[str] = None, + **kwargs + ): + super(EndpointServicesListResult, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class Error(msrest.serialization.Model): + """Common error representation. + + :param code: Error code. + :type code: str + :param message: Error message. + :type message: str + :param target: Error target. + :type target: str + :param details: Error details. + :type details: list[~azure.mgmt.network.v2021_02_01.models.ErrorDetails] + :param inner_error: Inner error message. + :type inner_error: str + """ + + _attribute_map = { + 'code': {'key': 'code', 'type': 'str'}, + 'message': {'key': 'message', 'type': 'str'}, + 'target': {'key': 'target', 'type': 'str'}, + 'details': {'key': 'details', 'type': '[ErrorDetails]'}, + 'inner_error': {'key': 'innerError', 'type': 'str'}, + } + + def __init__( + self, + *, + code: Optional[str] = None, + message: Optional[str] = None, + target: Optional[str] = None, + details: Optional[List["ErrorDetails"]] = None, + inner_error: Optional[str] = None, + **kwargs + ): + super(Error, self).__init__(**kwargs) + self.code = code + self.message = message + self.target = target + self.details = details + self.inner_error = inner_error + + +class ErrorDetails(msrest.serialization.Model): + """Common error details representation. + + :param code: Error code. + :type code: str + :param target: Error target. + :type target: str + :param message: Error message. + :type message: str + """ + + _attribute_map = { + 'code': {'key': 'code', 'type': 'str'}, + 'target': {'key': 'target', 'type': 'str'}, + 'message': {'key': 'message', 'type': 'str'}, + } + + def __init__( + self, + *, + code: Optional[str] = None, + target: Optional[str] = None, + message: Optional[str] = None, + **kwargs + ): + super(ErrorDetails, self).__init__(**kwargs) + self.code = code + self.target = target + self.message = message + + +class ErrorResponse(msrest.serialization.Model): + """The error object. + + :param error: The error details object. + :type error: ~azure.mgmt.network.v2021_02_01.models.ErrorDetails + """ + + _attribute_map = { + 'error': {'key': 'error', 'type': 'ErrorDetails'}, + } + + def __init__( + self, + *, + error: Optional["ErrorDetails"] = None, + **kwargs + ): + super(ErrorResponse, self).__init__(**kwargs) + self.error = error + + +class EvaluatedNetworkSecurityGroup(msrest.serialization.Model): + """Results of network security group evaluation. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param network_security_group_id: Network security group ID. + :type network_security_group_id: str + :param applied_to: Resource ID of nic or subnet to which network security group is applied. + :type applied_to: str + :param matched_rule: Matched network security rule. + :type matched_rule: ~azure.mgmt.network.v2021_02_01.models.MatchedRule + :ivar rules_evaluation_result: List of network security rules evaluation results. + :vartype rules_evaluation_result: + list[~azure.mgmt.network.v2021_02_01.models.NetworkSecurityRulesEvaluationResult] + """ + + _validation = { + 'rules_evaluation_result': {'readonly': True}, + } + + _attribute_map = { + 'network_security_group_id': {'key': 'networkSecurityGroupId', 'type': 'str'}, + 'applied_to': {'key': 'appliedTo', 'type': 'str'}, + 'matched_rule': {'key': 'matchedRule', 'type': 'MatchedRule'}, + 'rules_evaluation_result': {'key': 'rulesEvaluationResult', 'type': '[NetworkSecurityRulesEvaluationResult]'}, + } + + def __init__( + self, + *, + network_security_group_id: Optional[str] = None, + applied_to: Optional[str] = None, + matched_rule: Optional["MatchedRule"] = None, + **kwargs + ): + super(EvaluatedNetworkSecurityGroup, self).__init__(**kwargs) + self.network_security_group_id = network_security_group_id + self.applied_to = applied_to + self.matched_rule = matched_rule + self.rules_evaluation_result = None + + +class ExpressRouteCircuit(Resource): + """ExpressRouteCircuit resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :param sku: The SKU. + :type sku: ~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitSku + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param allow_classic_operations: Allow classic operations. + :type allow_classic_operations: bool + :param circuit_provisioning_state: The CircuitProvisioningState state of the resource. + :type circuit_provisioning_state: str + :param service_provider_provisioning_state: The ServiceProviderProvisioningState state of the + resource. Possible values include: "NotProvisioned", "Provisioning", "Provisioned", + "Deprovisioning". + :type service_provider_provisioning_state: str or + ~azure.mgmt.network.v2021_02_01.models.ServiceProviderProvisioningState + :param authorizations: The list of authorizations. + :type authorizations: + list[~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitAuthorization] + :param peerings: The list of peerings. + :type peerings: list[~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitPeering] + :param service_key: The ServiceKey. + :type service_key: str + :param service_provider_notes: The ServiceProviderNotes. + :type service_provider_notes: str + :param service_provider_properties: The ServiceProviderProperties. + :type service_provider_properties: + ~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitServiceProviderProperties + :param express_route_port: The reference to the ExpressRoutePort resource when the circuit is + provisioned on an ExpressRoutePort resource. + :type express_route_port: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param bandwidth_in_gbps: The bandwidth of the circuit when the circuit is provisioned on an + ExpressRoutePort resource. + :type bandwidth_in_gbps: float + :ivar stag: The identifier of the circuit traffic. Outer tag for QinQ encapsulation. + :vartype stag: int + :ivar provisioning_state: The provisioning state of the express route circuit resource. + Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :param gateway_manager_etag: The GatewayManager Etag. + :type gateway_manager_etag: str + :param global_reach_enabled: Flag denoting global reach status. + :type global_reach_enabled: bool + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'stag': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'sku': {'key': 'sku', 'type': 'ExpressRouteCircuitSku'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'allow_classic_operations': {'key': 'properties.allowClassicOperations', 'type': 'bool'}, + 'circuit_provisioning_state': {'key': 'properties.circuitProvisioningState', 'type': 'str'}, + 'service_provider_provisioning_state': {'key': 'properties.serviceProviderProvisioningState', 'type': 'str'}, + 'authorizations': {'key': 'properties.authorizations', 'type': '[ExpressRouteCircuitAuthorization]'}, + 'peerings': {'key': 'properties.peerings', 'type': '[ExpressRouteCircuitPeering]'}, + 'service_key': {'key': 'properties.serviceKey', 'type': 'str'}, + 'service_provider_notes': {'key': 'properties.serviceProviderNotes', 'type': 'str'}, + 'service_provider_properties': {'key': 'properties.serviceProviderProperties', 'type': 'ExpressRouteCircuitServiceProviderProperties'}, + 'express_route_port': {'key': 'properties.expressRoutePort', 'type': 'SubResource'}, + 'bandwidth_in_gbps': {'key': 'properties.bandwidthInGbps', 'type': 'float'}, + 'stag': {'key': 'properties.stag', 'type': 'int'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'gateway_manager_etag': {'key': 'properties.gatewayManagerEtag', 'type': 'str'}, + 'global_reach_enabled': {'key': 'properties.globalReachEnabled', 'type': 'bool'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + location: Optional[str] = None, + tags: Optional[Dict[str, str]] = None, + sku: Optional["ExpressRouteCircuitSku"] = None, + allow_classic_operations: Optional[bool] = None, + circuit_provisioning_state: Optional[str] = None, + service_provider_provisioning_state: Optional[Union[str, "ServiceProviderProvisioningState"]] = None, + authorizations: Optional[List["ExpressRouteCircuitAuthorization"]] = None, + peerings: Optional[List["ExpressRouteCircuitPeering"]] = None, + service_key: Optional[str] = None, + service_provider_notes: Optional[str] = None, + service_provider_properties: Optional["ExpressRouteCircuitServiceProviderProperties"] = None, + express_route_port: Optional["SubResource"] = None, + bandwidth_in_gbps: Optional[float] = None, + gateway_manager_etag: Optional[str] = None, + global_reach_enabled: Optional[bool] = None, + **kwargs + ): + super(ExpressRouteCircuit, self).__init__(id=id, location=location, tags=tags, **kwargs) + self.sku = sku + self.etag = None + self.allow_classic_operations = allow_classic_operations + self.circuit_provisioning_state = circuit_provisioning_state + self.service_provider_provisioning_state = service_provider_provisioning_state + self.authorizations = authorizations + self.peerings = peerings + self.service_key = service_key + self.service_provider_notes = service_provider_notes + self.service_provider_properties = service_provider_properties + self.express_route_port = express_route_port + self.bandwidth_in_gbps = bandwidth_in_gbps + self.stag = None + self.provisioning_state = None + self.gateway_manager_etag = gateway_manager_etag + self.global_reach_enabled = global_reach_enabled + + +class ExpressRouteCircuitArpTable(msrest.serialization.Model): + """The ARP table associated with the ExpressRouteCircuit. + + :param age: Entry age in minutes. + :type age: int + :param interface: Interface address. + :type interface: str + :param ip_address: The IP address. + :type ip_address: str + :param mac_address: The MAC address. + :type mac_address: str + """ + + _attribute_map = { + 'age': {'key': 'age', 'type': 'int'}, + 'interface': {'key': 'interface', 'type': 'str'}, + 'ip_address': {'key': 'ipAddress', 'type': 'str'}, + 'mac_address': {'key': 'macAddress', 'type': 'str'}, + } + + def __init__( + self, + *, + age: Optional[int] = None, + interface: Optional[str] = None, + ip_address: Optional[str] = None, + mac_address: Optional[str] = None, + **kwargs + ): + super(ExpressRouteCircuitArpTable, self).__init__(**kwargs) + self.age = age + self.interface = interface + self.ip_address = ip_address + self.mac_address = mac_address + + +class ExpressRouteCircuitAuthorization(SubResource): + """Authorization in an ExpressRouteCircuit resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: The name of the resource that is unique within a resource group. This name can be + used to access the resource. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str + :param authorization_key: The authorization key. + :type authorization_key: str + :param authorization_use_status: The authorization use status. Possible values include: + "Available", "InUse". + :type authorization_use_status: str or + ~azure.mgmt.network.v2021_02_01.models.AuthorizationUseStatus + :ivar provisioning_state: The provisioning state of the authorization resource. Possible values + include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'authorization_key': {'key': 'properties.authorizationKey', 'type': 'str'}, + 'authorization_use_status': {'key': 'properties.authorizationUseStatus', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + name: Optional[str] = None, + authorization_key: Optional[str] = None, + authorization_use_status: Optional[Union[str, "AuthorizationUseStatus"]] = None, + **kwargs + ): + super(ExpressRouteCircuitAuthorization, self).__init__(id=id, **kwargs) + self.name = name + self.etag = None + self.type = None + self.authorization_key = authorization_key + self.authorization_use_status = authorization_use_status + self.provisioning_state = None + + +class ExpressRouteCircuitConnection(SubResource): + """Express Route Circuit Connection in an ExpressRouteCircuitPeering resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: The name of the resource that is unique within a resource group. This name can be + used to access the resource. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str + :param express_route_circuit_peering: Reference to Express Route Circuit Private Peering + Resource of the circuit initiating connection. + :type express_route_circuit_peering: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param peer_express_route_circuit_peering: Reference to Express Route Circuit Private Peering + Resource of the peered circuit. + :type peer_express_route_circuit_peering: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param address_prefix: /29 IP address space to carve out Customer addresses for tunnels. + :type address_prefix: str + :param authorization_key: The authorization key. + :type authorization_key: str + :param ipv6_circuit_connection_config: IPv6 Address PrefixProperties of the express route + circuit connection. + :type ipv6_circuit_connection_config: + ~azure.mgmt.network.v2021_02_01.models.Ipv6CircuitConnectionConfig + :ivar circuit_connection_status: Express Route Circuit connection state. Possible values + include: "Connected", "Connecting", "Disconnected". + :vartype circuit_connection_status: str or + ~azure.mgmt.network.v2021_02_01.models.CircuitConnectionStatus + :ivar provisioning_state: The provisioning state of the express route circuit connection + resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'circuit_connection_status': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'express_route_circuit_peering': {'key': 'properties.expressRouteCircuitPeering', 'type': 'SubResource'}, + 'peer_express_route_circuit_peering': {'key': 'properties.peerExpressRouteCircuitPeering', 'type': 'SubResource'}, + 'address_prefix': {'key': 'properties.addressPrefix', 'type': 'str'}, + 'authorization_key': {'key': 'properties.authorizationKey', 'type': 'str'}, + 'ipv6_circuit_connection_config': {'key': 'properties.ipv6CircuitConnectionConfig', 'type': 'Ipv6CircuitConnectionConfig'}, + 'circuit_connection_status': {'key': 'properties.circuitConnectionStatus', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + name: Optional[str] = None, + express_route_circuit_peering: Optional["SubResource"] = None, + peer_express_route_circuit_peering: Optional["SubResource"] = None, + address_prefix: Optional[str] = None, + authorization_key: Optional[str] = None, + ipv6_circuit_connection_config: Optional["Ipv6CircuitConnectionConfig"] = None, + **kwargs + ): + super(ExpressRouteCircuitConnection, self).__init__(id=id, **kwargs) + self.name = name + self.etag = None + self.type = None + self.express_route_circuit_peering = express_route_circuit_peering + self.peer_express_route_circuit_peering = peer_express_route_circuit_peering + self.address_prefix = address_prefix + self.authorization_key = authorization_key + self.ipv6_circuit_connection_config = ipv6_circuit_connection_config + self.circuit_connection_status = None + self.provisioning_state = None + + +class ExpressRouteCircuitConnectionListResult(msrest.serialization.Model): + """Response for ListConnections API service call retrieves all global reach connections that belongs to a Private Peering for an ExpressRouteCircuit. + + :param value: The global reach connection associated with Private Peering in an ExpressRoute + Circuit. + :type value: list[~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitConnection] + :param next_link: The URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[ExpressRouteCircuitConnection]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["ExpressRouteCircuitConnection"]] = None, + next_link: Optional[str] = None, + **kwargs + ): + super(ExpressRouteCircuitConnectionListResult, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class ExpressRouteCircuitListResult(msrest.serialization.Model): + """Response for ListExpressRouteCircuit API service call. + + :param value: A list of ExpressRouteCircuits in a resource group. + :type value: list[~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuit] + :param next_link: The URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[ExpressRouteCircuit]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["ExpressRouteCircuit"]] = None, + next_link: Optional[str] = None, + **kwargs + ): + super(ExpressRouteCircuitListResult, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class ExpressRouteCircuitPeering(SubResource): + """Peering in an ExpressRouteCircuit resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: The name of the resource that is unique within a resource group. This name can be + used to access the resource. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str + :param peering_type: The peering type. Possible values include: "AzurePublicPeering", + "AzurePrivatePeering", "MicrosoftPeering". + :type peering_type: str or ~azure.mgmt.network.v2021_02_01.models.ExpressRoutePeeringType + :param state: The peering state. Possible values include: "Disabled", "Enabled". + :type state: str or ~azure.mgmt.network.v2021_02_01.models.ExpressRoutePeeringState + :param azure_asn: The Azure ASN. + :type azure_asn: int + :param peer_asn: The peer ASN. + :type peer_asn: long + :param primary_peer_address_prefix: The primary address prefix. + :type primary_peer_address_prefix: str + :param secondary_peer_address_prefix: The secondary address prefix. + :type secondary_peer_address_prefix: str + :param primary_azure_port: The primary port. + :type primary_azure_port: str + :param secondary_azure_port: The secondary port. + :type secondary_azure_port: str + :param shared_key: The shared key. + :type shared_key: str + :param vlan_id: The VLAN ID. + :type vlan_id: int + :param microsoft_peering_config: The Microsoft peering configuration. + :type microsoft_peering_config: + ~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitPeeringConfig + :param stats: The peering stats of express route circuit. + :type stats: ~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitStats + :ivar provisioning_state: The provisioning state of the express route circuit peering resource. + Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :param gateway_manager_etag: The GatewayManager Etag. + :type gateway_manager_etag: str + :ivar last_modified_by: Who was the last to modify the peering. + :vartype last_modified_by: str + :param route_filter: The reference to the RouteFilter resource. + :type route_filter: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param ipv6_peering_config: The IPv6 peering configuration. + :type ipv6_peering_config: + ~azure.mgmt.network.v2021_02_01.models.Ipv6ExpressRouteCircuitPeeringConfig + :param express_route_connection: The ExpressRoute connection. + :type express_route_connection: ~azure.mgmt.network.v2021_02_01.models.ExpressRouteConnectionId + :param connections: The list of circuit connections associated with Azure Private Peering for + this circuit. + :type connections: list[~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitConnection] + :ivar peered_connections: The list of peered circuit connections associated with Azure Private + Peering for this circuit. + :vartype peered_connections: + list[~azure.mgmt.network.v2021_02_01.models.PeerExpressRouteCircuitConnection] + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'peer_asn': {'maximum': 4294967295, 'minimum': 1}, + 'provisioning_state': {'readonly': True}, + 'last_modified_by': {'readonly': True}, + 'peered_connections': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'peering_type': {'key': 'properties.peeringType', 'type': 'str'}, + 'state': {'key': 'properties.state', 'type': 'str'}, + 'azure_asn': {'key': 'properties.azureASN', 'type': 'int'}, + 'peer_asn': {'key': 'properties.peerASN', 'type': 'long'}, + 'primary_peer_address_prefix': {'key': 'properties.primaryPeerAddressPrefix', 'type': 'str'}, + 'secondary_peer_address_prefix': {'key': 'properties.secondaryPeerAddressPrefix', 'type': 'str'}, + 'primary_azure_port': {'key': 'properties.primaryAzurePort', 'type': 'str'}, + 'secondary_azure_port': {'key': 'properties.secondaryAzurePort', 'type': 'str'}, + 'shared_key': {'key': 'properties.sharedKey', 'type': 'str'}, + 'vlan_id': {'key': 'properties.vlanId', 'type': 'int'}, + 'microsoft_peering_config': {'key': 'properties.microsoftPeeringConfig', 'type': 'ExpressRouteCircuitPeeringConfig'}, + 'stats': {'key': 'properties.stats', 'type': 'ExpressRouteCircuitStats'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'gateway_manager_etag': {'key': 'properties.gatewayManagerEtag', 'type': 'str'}, + 'last_modified_by': {'key': 'properties.lastModifiedBy', 'type': 'str'}, + 'route_filter': {'key': 'properties.routeFilter', 'type': 'SubResource'}, + 'ipv6_peering_config': {'key': 'properties.ipv6PeeringConfig', 'type': 'Ipv6ExpressRouteCircuitPeeringConfig'}, + 'express_route_connection': {'key': 'properties.expressRouteConnection', 'type': 'ExpressRouteConnectionId'}, + 'connections': {'key': 'properties.connections', 'type': '[ExpressRouteCircuitConnection]'}, + 'peered_connections': {'key': 'properties.peeredConnections', 'type': '[PeerExpressRouteCircuitConnection]'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + name: Optional[str] = None, + peering_type: Optional[Union[str, "ExpressRoutePeeringType"]] = None, + state: Optional[Union[str, "ExpressRoutePeeringState"]] = None, + azure_asn: Optional[int] = None, + peer_asn: Optional[int] = None, + primary_peer_address_prefix: Optional[str] = None, + secondary_peer_address_prefix: Optional[str] = None, + primary_azure_port: Optional[str] = None, + secondary_azure_port: Optional[str] = None, + shared_key: Optional[str] = None, + vlan_id: Optional[int] = None, + microsoft_peering_config: Optional["ExpressRouteCircuitPeeringConfig"] = None, + stats: Optional["ExpressRouteCircuitStats"] = None, + gateway_manager_etag: Optional[str] = None, + route_filter: Optional["SubResource"] = None, + ipv6_peering_config: Optional["Ipv6ExpressRouteCircuitPeeringConfig"] = None, + express_route_connection: Optional["ExpressRouteConnectionId"] = None, + connections: Optional[List["ExpressRouteCircuitConnection"]] = None, + **kwargs + ): + super(ExpressRouteCircuitPeering, self).__init__(id=id, **kwargs) + self.name = name + self.etag = None + self.type = None + self.peering_type = peering_type + self.state = state + self.azure_asn = azure_asn + self.peer_asn = peer_asn + self.primary_peer_address_prefix = primary_peer_address_prefix + self.secondary_peer_address_prefix = secondary_peer_address_prefix + self.primary_azure_port = primary_azure_port + self.secondary_azure_port = secondary_azure_port + self.shared_key = shared_key + self.vlan_id = vlan_id + self.microsoft_peering_config = microsoft_peering_config + self.stats = stats + self.provisioning_state = None + self.gateway_manager_etag = gateway_manager_etag + self.last_modified_by = None + self.route_filter = route_filter + self.ipv6_peering_config = ipv6_peering_config + self.express_route_connection = express_route_connection + self.connections = connections + self.peered_connections = None + + +class ExpressRouteCircuitPeeringConfig(msrest.serialization.Model): + """Specifies the peering configuration. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param advertised_public_prefixes: The reference to AdvertisedPublicPrefixes. + :type advertised_public_prefixes: list[str] + :param advertised_communities: The communities of bgp peering. Specified for microsoft peering. + :type advertised_communities: list[str] + :ivar advertised_public_prefixes_state: The advertised public prefix state of the Peering + resource. Possible values include: "NotConfigured", "Configuring", "Configured", + "ValidationNeeded". + :vartype advertised_public_prefixes_state: str or + ~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + :param legacy_mode: The legacy mode of the peering. + :type legacy_mode: int + :param customer_asn: The CustomerASN of the peering. + :type customer_asn: int + :param routing_registry_name: The RoutingRegistryName of the configuration. + :type routing_registry_name: str + """ + + _validation = { + 'advertised_public_prefixes_state': {'readonly': True}, + } + + _attribute_map = { + 'advertised_public_prefixes': {'key': 'advertisedPublicPrefixes', 'type': '[str]'}, + 'advertised_communities': {'key': 'advertisedCommunities', 'type': '[str]'}, + 'advertised_public_prefixes_state': {'key': 'advertisedPublicPrefixesState', 'type': 'str'}, + 'legacy_mode': {'key': 'legacyMode', 'type': 'int'}, + 'customer_asn': {'key': 'customerASN', 'type': 'int'}, + 'routing_registry_name': {'key': 'routingRegistryName', 'type': 'str'}, + } + + def __init__( + self, + *, + advertised_public_prefixes: Optional[List[str]] = None, + advertised_communities: Optional[List[str]] = None, + legacy_mode: Optional[int] = None, + customer_asn: Optional[int] = None, + routing_registry_name: Optional[str] = None, + **kwargs + ): + super(ExpressRouteCircuitPeeringConfig, self).__init__(**kwargs) + self.advertised_public_prefixes = advertised_public_prefixes + self.advertised_communities = advertised_communities + self.advertised_public_prefixes_state = None + self.legacy_mode = legacy_mode + self.customer_asn = customer_asn + self.routing_registry_name = routing_registry_name + + +class ExpressRouteCircuitPeeringId(msrest.serialization.Model): + """ExpressRoute circuit peering identifier. + + :param id: The ID of the ExpressRoute circuit peering. + :type id: str + """ + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + **kwargs + ): + super(ExpressRouteCircuitPeeringId, self).__init__(**kwargs) + self.id = id + + +class ExpressRouteCircuitPeeringListResult(msrest.serialization.Model): + """Response for ListPeering API service call retrieves all peerings that belong to an ExpressRouteCircuit. + + :param value: The peerings in an express route circuit. + :type value: list[~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitPeering] + :param next_link: The URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[ExpressRouteCircuitPeering]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["ExpressRouteCircuitPeering"]] = None, + next_link: Optional[str] = None, + **kwargs + ): + super(ExpressRouteCircuitPeeringListResult, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class ExpressRouteCircuitReference(msrest.serialization.Model): + """Reference to an express route circuit. + + :param id: Corresponding Express Route Circuit Id. + :type id: str + """ + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + **kwargs + ): + super(ExpressRouteCircuitReference, self).__init__(**kwargs) + self.id = id + + +class ExpressRouteCircuitRoutesTable(msrest.serialization.Model): + """The routes table associated with the ExpressRouteCircuit. + + :param network: IP address of a network entity. + :type network: str + :param next_hop: NextHop address. + :type next_hop: str + :param loc_prf: Local preference value as set with the set local-preference route-map + configuration command. + :type loc_prf: str + :param weight: Route Weight. + :type weight: int + :param path: Autonomous system paths to the destination network. + :type path: str + """ + + _attribute_map = { + 'network': {'key': 'network', 'type': 'str'}, + 'next_hop': {'key': 'nextHop', 'type': 'str'}, + 'loc_prf': {'key': 'locPrf', 'type': 'str'}, + 'weight': {'key': 'weight', 'type': 'int'}, + 'path': {'key': 'path', 'type': 'str'}, + } + + def __init__( + self, + *, + network: Optional[str] = None, + next_hop: Optional[str] = None, + loc_prf: Optional[str] = None, + weight: Optional[int] = None, + path: Optional[str] = None, + **kwargs + ): + super(ExpressRouteCircuitRoutesTable, self).__init__(**kwargs) + self.network = network + self.next_hop = next_hop + self.loc_prf = loc_prf + self.weight = weight + self.path = path + + +class ExpressRouteCircuitRoutesTableSummary(msrest.serialization.Model): + """The routes table associated with the ExpressRouteCircuit. + + :param neighbor: IP address of the neighbor. + :type neighbor: str + :param v: BGP version number spoken to the neighbor. + :type v: int + :param as_property: Autonomous system number. + :type as_property: int + :param up_down: The length of time that the BGP session has been in the Established state, or + the current status if not in the Established state. + :type up_down: str + :param state_pfx_rcd: Current state of the BGP session, and the number of prefixes that have + been received from a neighbor or peer group. + :type state_pfx_rcd: str + """ + + _attribute_map = { + 'neighbor': {'key': 'neighbor', 'type': 'str'}, + 'v': {'key': 'v', 'type': 'int'}, + 'as_property': {'key': 'as', 'type': 'int'}, + 'up_down': {'key': 'upDown', 'type': 'str'}, + 'state_pfx_rcd': {'key': 'statePfxRcd', 'type': 'str'}, + } + + def __init__( + self, + *, + neighbor: Optional[str] = None, + v: Optional[int] = None, + as_property: Optional[int] = None, + up_down: Optional[str] = None, + state_pfx_rcd: Optional[str] = None, + **kwargs + ): + super(ExpressRouteCircuitRoutesTableSummary, self).__init__(**kwargs) + self.neighbor = neighbor + self.v = v + self.as_property = as_property + self.up_down = up_down + self.state_pfx_rcd = state_pfx_rcd + + +class ExpressRouteCircuitsArpTableListResult(msrest.serialization.Model): + """Response for ListArpTable associated with the Express Route Circuits API. + + :param value: A list of the ARP tables. + :type value: list[~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitArpTable] + :param next_link: The URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[ExpressRouteCircuitArpTable]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["ExpressRouteCircuitArpTable"]] = None, + next_link: Optional[str] = None, + **kwargs + ): + super(ExpressRouteCircuitsArpTableListResult, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class ExpressRouteCircuitServiceProviderProperties(msrest.serialization.Model): + """Contains ServiceProviderProperties in an ExpressRouteCircuit. + + :param service_provider_name: The serviceProviderName. + :type service_provider_name: str + :param peering_location: The peering location. + :type peering_location: str + :param bandwidth_in_mbps: The BandwidthInMbps. + :type bandwidth_in_mbps: int + """ + + _attribute_map = { + 'service_provider_name': {'key': 'serviceProviderName', 'type': 'str'}, + 'peering_location': {'key': 'peeringLocation', 'type': 'str'}, + 'bandwidth_in_mbps': {'key': 'bandwidthInMbps', 'type': 'int'}, + } + + def __init__( + self, + *, + service_provider_name: Optional[str] = None, + peering_location: Optional[str] = None, + bandwidth_in_mbps: Optional[int] = None, + **kwargs + ): + super(ExpressRouteCircuitServiceProviderProperties, self).__init__(**kwargs) + self.service_provider_name = service_provider_name + self.peering_location = peering_location + self.bandwidth_in_mbps = bandwidth_in_mbps + + +class ExpressRouteCircuitSku(msrest.serialization.Model): + """Contains SKU in an ExpressRouteCircuit. + + :param name: The name of the SKU. + :type name: str + :param tier: The tier of the SKU. Possible values include: "Standard", "Premium", "Basic", + "Local". + :type tier: str or ~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitSkuTier + :param family: The family of the SKU. Possible values include: "UnlimitedData", "MeteredData". + :type family: str or ~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitSkuFamily + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'tier': {'key': 'tier', 'type': 'str'}, + 'family': {'key': 'family', 'type': 'str'}, + } + + def __init__( + self, + *, + name: Optional[str] = None, + tier: Optional[Union[str, "ExpressRouteCircuitSkuTier"]] = None, + family: Optional[Union[str, "ExpressRouteCircuitSkuFamily"]] = None, + **kwargs + ): + super(ExpressRouteCircuitSku, self).__init__(**kwargs) + self.name = name + self.tier = tier + self.family = family + + +class ExpressRouteCircuitsRoutesTableListResult(msrest.serialization.Model): + """Response for ListRoutesTable associated with the Express Route Circuits API. + + :param value: The list of routes table. + :type value: list[~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitRoutesTable] + :param next_link: The URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[ExpressRouteCircuitRoutesTable]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["ExpressRouteCircuitRoutesTable"]] = None, + next_link: Optional[str] = None, + **kwargs + ): + super(ExpressRouteCircuitsRoutesTableListResult, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class ExpressRouteCircuitsRoutesTableSummaryListResult(msrest.serialization.Model): + """Response for ListRoutesTable associated with the Express Route Circuits API. + + :param value: A list of the routes table. + :type value: list[~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitRoutesTableSummary] + :param next_link: The URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[ExpressRouteCircuitRoutesTableSummary]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["ExpressRouteCircuitRoutesTableSummary"]] = None, + next_link: Optional[str] = None, + **kwargs + ): + super(ExpressRouteCircuitsRoutesTableSummaryListResult, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class ExpressRouteCircuitStats(msrest.serialization.Model): + """Contains stats associated with the peering. + + :param primarybytes_in: The Primary BytesIn of the peering. + :type primarybytes_in: long + :param primarybytes_out: The primary BytesOut of the peering. + :type primarybytes_out: long + :param secondarybytes_in: The secondary BytesIn of the peering. + :type secondarybytes_in: long + :param secondarybytes_out: The secondary BytesOut of the peering. + :type secondarybytes_out: long + """ + + _attribute_map = { + 'primarybytes_in': {'key': 'primarybytesIn', 'type': 'long'}, + 'primarybytes_out': {'key': 'primarybytesOut', 'type': 'long'}, + 'secondarybytes_in': {'key': 'secondarybytesIn', 'type': 'long'}, + 'secondarybytes_out': {'key': 'secondarybytesOut', 'type': 'long'}, + } + + def __init__( + self, + *, + primarybytes_in: Optional[int] = None, + primarybytes_out: Optional[int] = None, + secondarybytes_in: Optional[int] = None, + secondarybytes_out: Optional[int] = None, + **kwargs + ): + super(ExpressRouteCircuitStats, self).__init__(**kwargs) + self.primarybytes_in = primarybytes_in + self.primarybytes_out = primarybytes_out + self.secondarybytes_in = secondarybytes_in + self.secondarybytes_out = secondarybytes_out + + +class ExpressRouteConnection(SubResource): + """ExpressRouteConnection resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param id: Resource ID. + :type id: str + :param name: Required. The name of the resource. + :type name: str + :ivar provisioning_state: The provisioning state of the express route connection resource. + Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :param express_route_circuit_peering: The ExpressRoute circuit peering. + :type express_route_circuit_peering: + ~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitPeeringId + :param authorization_key: Authorization key to establish the connection. + :type authorization_key: str + :param routing_weight: The routing weight associated to the connection. + :type routing_weight: int + :param enable_internet_security: Enable internet security. + :type enable_internet_security: bool + :param express_route_gateway_bypass: Enable FastPath to vWan Firewall hub. + :type express_route_gateway_bypass: bool + :param routing_configuration: The Routing Configuration indicating the associated and + propagated route tables on this connection. + :type routing_configuration: ~azure.mgmt.network.v2021_02_01.models.RoutingConfiguration + """ + + _validation = { + 'name': {'required': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'express_route_circuit_peering': {'key': 'properties.expressRouteCircuitPeering', 'type': 'ExpressRouteCircuitPeeringId'}, + 'authorization_key': {'key': 'properties.authorizationKey', 'type': 'str'}, + 'routing_weight': {'key': 'properties.routingWeight', 'type': 'int'}, + 'enable_internet_security': {'key': 'properties.enableInternetSecurity', 'type': 'bool'}, + 'express_route_gateway_bypass': {'key': 'properties.expressRouteGatewayBypass', 'type': 'bool'}, + 'routing_configuration': {'key': 'properties.routingConfiguration', 'type': 'RoutingConfiguration'}, + } + + def __init__( + self, + *, + name: str, + id: Optional[str] = None, + express_route_circuit_peering: Optional["ExpressRouteCircuitPeeringId"] = None, + authorization_key: Optional[str] = None, + routing_weight: Optional[int] = None, + enable_internet_security: Optional[bool] = None, + express_route_gateway_bypass: Optional[bool] = None, + routing_configuration: Optional["RoutingConfiguration"] = None, + **kwargs + ): + super(ExpressRouteConnection, self).__init__(id=id, **kwargs) + self.name = name + self.provisioning_state = None + self.express_route_circuit_peering = express_route_circuit_peering + self.authorization_key = authorization_key + self.routing_weight = routing_weight + self.enable_internet_security = enable_internet_security + self.express_route_gateway_bypass = express_route_gateway_bypass + self.routing_configuration = routing_configuration + + +class ExpressRouteConnectionId(msrest.serialization.Model): + """The ID of the ExpressRouteConnection. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: The ID of the ExpressRouteConnection. + :vartype id: str + """ + + _validation = { + 'id': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ExpressRouteConnectionId, self).__init__(**kwargs) + self.id = None + + +class ExpressRouteConnectionList(msrest.serialization.Model): + """ExpressRouteConnection list. + + :param value: The list of ExpressRoute connections. + :type value: list[~azure.mgmt.network.v2021_02_01.models.ExpressRouteConnection] + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[ExpressRouteConnection]'}, + } + + def __init__( + self, + *, + value: Optional[List["ExpressRouteConnection"]] = None, + **kwargs + ): + super(ExpressRouteConnectionList, self).__init__(**kwargs) + self.value = value + + +class ExpressRouteCrossConnection(Resource): + """ExpressRouteCrossConnection resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar primary_azure_port: The name of the primary port. + :vartype primary_azure_port: str + :ivar secondary_azure_port: The name of the secondary port. + :vartype secondary_azure_port: str + :ivar s_tag: The identifier of the circuit traffic. + :vartype s_tag: int + :ivar peering_location: The peering location of the ExpressRoute circuit. + :vartype peering_location: str + :ivar bandwidth_in_mbps: The circuit bandwidth In Mbps. + :vartype bandwidth_in_mbps: int + :param express_route_circuit: The ExpressRouteCircuit. + :type express_route_circuit: + ~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitReference + :param service_provider_provisioning_state: The provisioning state of the circuit in the + connectivity provider system. Possible values include: "NotProvisioned", "Provisioning", + "Provisioned", "Deprovisioning". + :type service_provider_provisioning_state: str or + ~azure.mgmt.network.v2021_02_01.models.ServiceProviderProvisioningState + :param service_provider_notes: Additional read only notes set by the connectivity provider. + :type service_provider_notes: str + :ivar provisioning_state: The provisioning state of the express route cross connection + resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :param peerings: The list of peerings. + :type peerings: list[~azure.mgmt.network.v2021_02_01.models.ExpressRouteCrossConnectionPeering] + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'primary_azure_port': {'readonly': True}, + 'secondary_azure_port': {'readonly': True}, + 's_tag': {'readonly': True}, + 'peering_location': {'readonly': True}, + 'bandwidth_in_mbps': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'primary_azure_port': {'key': 'properties.primaryAzurePort', 'type': 'str'}, + 'secondary_azure_port': {'key': 'properties.secondaryAzurePort', 'type': 'str'}, + 's_tag': {'key': 'properties.sTag', 'type': 'int'}, + 'peering_location': {'key': 'properties.peeringLocation', 'type': 'str'}, + 'bandwidth_in_mbps': {'key': 'properties.bandwidthInMbps', 'type': 'int'}, + 'express_route_circuit': {'key': 'properties.expressRouteCircuit', 'type': 'ExpressRouteCircuitReference'}, + 'service_provider_provisioning_state': {'key': 'properties.serviceProviderProvisioningState', 'type': 'str'}, + 'service_provider_notes': {'key': 'properties.serviceProviderNotes', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'peerings': {'key': 'properties.peerings', 'type': '[ExpressRouteCrossConnectionPeering]'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + location: Optional[str] = None, + tags: Optional[Dict[str, str]] = None, + express_route_circuit: Optional["ExpressRouteCircuitReference"] = None, + service_provider_provisioning_state: Optional[Union[str, "ServiceProviderProvisioningState"]] = None, + service_provider_notes: Optional[str] = None, + peerings: Optional[List["ExpressRouteCrossConnectionPeering"]] = None, + **kwargs + ): + super(ExpressRouteCrossConnection, self).__init__(id=id, location=location, tags=tags, **kwargs) + self.etag = None + self.primary_azure_port = None + self.secondary_azure_port = None + self.s_tag = None + self.peering_location = None + self.bandwidth_in_mbps = None + self.express_route_circuit = express_route_circuit + self.service_provider_provisioning_state = service_provider_provisioning_state + self.service_provider_notes = service_provider_notes + self.provisioning_state = None + self.peerings = peerings + + +class ExpressRouteCrossConnectionListResult(msrest.serialization.Model): + """Response for ListExpressRouteCrossConnection API service call. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: A list of ExpressRouteCrossConnection resources. + :type value: list[~azure.mgmt.network.v2021_02_01.models.ExpressRouteCrossConnection] + :ivar next_link: The URL to get the next set of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[ExpressRouteCrossConnection]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["ExpressRouteCrossConnection"]] = None, + **kwargs + ): + super(ExpressRouteCrossConnectionListResult, self).__init__(**kwargs) + self.value = value + self.next_link = None + + +class ExpressRouteCrossConnectionPeering(SubResource): + """Peering in an ExpressRoute Cross Connection resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: The name of the resource that is unique within a resource group. This name can be + used to access the resource. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param peering_type: The peering type. Possible values include: "AzurePublicPeering", + "AzurePrivatePeering", "MicrosoftPeering". + :type peering_type: str or ~azure.mgmt.network.v2021_02_01.models.ExpressRoutePeeringType + :param state: The peering state. Possible values include: "Disabled", "Enabled". + :type state: str or ~azure.mgmt.network.v2021_02_01.models.ExpressRoutePeeringState + :ivar azure_asn: The Azure ASN. + :vartype azure_asn: int + :param peer_asn: The peer ASN. + :type peer_asn: long + :param primary_peer_address_prefix: The primary address prefix. + :type primary_peer_address_prefix: str + :param secondary_peer_address_prefix: The secondary address prefix. + :type secondary_peer_address_prefix: str + :ivar primary_azure_port: The primary port. + :vartype primary_azure_port: str + :ivar secondary_azure_port: The secondary port. + :vartype secondary_azure_port: str + :param shared_key: The shared key. + :type shared_key: str + :param vlan_id: The VLAN ID. + :type vlan_id: int + :param microsoft_peering_config: The Microsoft peering configuration. + :type microsoft_peering_config: + ~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitPeeringConfig + :ivar provisioning_state: The provisioning state of the express route cross connection peering + resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :param gateway_manager_etag: The GatewayManager Etag. + :type gateway_manager_etag: str + :ivar last_modified_by: Who was the last to modify the peering. + :vartype last_modified_by: str + :param ipv6_peering_config: The IPv6 peering configuration. + :type ipv6_peering_config: + ~azure.mgmt.network.v2021_02_01.models.Ipv6ExpressRouteCircuitPeeringConfig + """ + + _validation = { + 'etag': {'readonly': True}, + 'azure_asn': {'readonly': True}, + 'peer_asn': {'maximum': 4294967295, 'minimum': 1}, + 'primary_azure_port': {'readonly': True}, + 'secondary_azure_port': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'last_modified_by': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'peering_type': {'key': 'properties.peeringType', 'type': 'str'}, + 'state': {'key': 'properties.state', 'type': 'str'}, + 'azure_asn': {'key': 'properties.azureASN', 'type': 'int'}, + 'peer_asn': {'key': 'properties.peerASN', 'type': 'long'}, + 'primary_peer_address_prefix': {'key': 'properties.primaryPeerAddressPrefix', 'type': 'str'}, + 'secondary_peer_address_prefix': {'key': 'properties.secondaryPeerAddressPrefix', 'type': 'str'}, + 'primary_azure_port': {'key': 'properties.primaryAzurePort', 'type': 'str'}, + 'secondary_azure_port': {'key': 'properties.secondaryAzurePort', 'type': 'str'}, + 'shared_key': {'key': 'properties.sharedKey', 'type': 'str'}, + 'vlan_id': {'key': 'properties.vlanId', 'type': 'int'}, + 'microsoft_peering_config': {'key': 'properties.microsoftPeeringConfig', 'type': 'ExpressRouteCircuitPeeringConfig'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'gateway_manager_etag': {'key': 'properties.gatewayManagerEtag', 'type': 'str'}, + 'last_modified_by': {'key': 'properties.lastModifiedBy', 'type': 'str'}, + 'ipv6_peering_config': {'key': 'properties.ipv6PeeringConfig', 'type': 'Ipv6ExpressRouteCircuitPeeringConfig'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + name: Optional[str] = None, + peering_type: Optional[Union[str, "ExpressRoutePeeringType"]] = None, + state: Optional[Union[str, "ExpressRoutePeeringState"]] = None, + peer_asn: Optional[int] = None, + primary_peer_address_prefix: Optional[str] = None, + secondary_peer_address_prefix: Optional[str] = None, + shared_key: Optional[str] = None, + vlan_id: Optional[int] = None, + microsoft_peering_config: Optional["ExpressRouteCircuitPeeringConfig"] = None, + gateway_manager_etag: Optional[str] = None, + ipv6_peering_config: Optional["Ipv6ExpressRouteCircuitPeeringConfig"] = None, + **kwargs + ): + super(ExpressRouteCrossConnectionPeering, self).__init__(id=id, **kwargs) + self.name = name + self.etag = None + self.peering_type = peering_type + self.state = state + self.azure_asn = None + self.peer_asn = peer_asn + self.primary_peer_address_prefix = primary_peer_address_prefix + self.secondary_peer_address_prefix = secondary_peer_address_prefix + self.primary_azure_port = None + self.secondary_azure_port = None + self.shared_key = shared_key + self.vlan_id = vlan_id + self.microsoft_peering_config = microsoft_peering_config + self.provisioning_state = None + self.gateway_manager_etag = gateway_manager_etag + self.last_modified_by = None + self.ipv6_peering_config = ipv6_peering_config + + +class ExpressRouteCrossConnectionPeeringList(msrest.serialization.Model): + """Response for ListPeering API service call retrieves all peerings that belong to an ExpressRouteCrossConnection. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: The peerings in an express route cross connection. + :type value: list[~azure.mgmt.network.v2021_02_01.models.ExpressRouteCrossConnectionPeering] + :ivar next_link: The URL to get the next set of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[ExpressRouteCrossConnectionPeering]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["ExpressRouteCrossConnectionPeering"]] = None, + **kwargs + ): + super(ExpressRouteCrossConnectionPeeringList, self).__init__(**kwargs) + self.value = value + self.next_link = None + + +class ExpressRouteCrossConnectionRoutesTableSummary(msrest.serialization.Model): + """The routes table associated with the ExpressRouteCircuit. + + :param neighbor: IP address of Neighbor router. + :type neighbor: str + :param asn: Autonomous system number. + :type asn: int + :param up_down: The length of time that the BGP session has been in the Established state, or + the current status if not in the Established state. + :type up_down: str + :param state_or_prefixes_received: Current state of the BGP session, and the number of prefixes + that have been received from a neighbor or peer group. + :type state_or_prefixes_received: str + """ + + _attribute_map = { + 'neighbor': {'key': 'neighbor', 'type': 'str'}, + 'asn': {'key': 'asn', 'type': 'int'}, + 'up_down': {'key': 'upDown', 'type': 'str'}, + 'state_or_prefixes_received': {'key': 'stateOrPrefixesReceived', 'type': 'str'}, + } + + def __init__( + self, + *, + neighbor: Optional[str] = None, + asn: Optional[int] = None, + up_down: Optional[str] = None, + state_or_prefixes_received: Optional[str] = None, + **kwargs + ): + super(ExpressRouteCrossConnectionRoutesTableSummary, self).__init__(**kwargs) + self.neighbor = neighbor + self.asn = asn + self.up_down = up_down + self.state_or_prefixes_received = state_or_prefixes_received + + +class ExpressRouteCrossConnectionsRoutesTableSummaryListResult(msrest.serialization.Model): + """Response for ListRoutesTable associated with the Express Route Cross Connections. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: A list of the routes table. + :type value: + list[~azure.mgmt.network.v2021_02_01.models.ExpressRouteCrossConnectionRoutesTableSummary] + :ivar next_link: The URL to get the next set of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[ExpressRouteCrossConnectionRoutesTableSummary]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["ExpressRouteCrossConnectionRoutesTableSummary"]] = None, + **kwargs + ): + super(ExpressRouteCrossConnectionsRoutesTableSummaryListResult, self).__init__(**kwargs) + self.value = value + self.next_link = None + + +class ExpressRouteGateway(Resource): + """ExpressRoute gateway resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param auto_scale_configuration: Configuration for auto scaling. + :type auto_scale_configuration: + ~azure.mgmt.network.v2021_02_01.models.ExpressRouteGatewayPropertiesAutoScaleConfiguration + :ivar express_route_connections: List of ExpressRoute connections to the ExpressRoute gateway. + :vartype express_route_connections: + list[~azure.mgmt.network.v2021_02_01.models.ExpressRouteConnection] + :ivar provisioning_state: The provisioning state of the express route gateway resource. + Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :param virtual_hub: The Virtual Hub where the ExpressRoute gateway is or will be deployed. + :type virtual_hub: ~azure.mgmt.network.v2021_02_01.models.VirtualHubId + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'express_route_connections': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'auto_scale_configuration': {'key': 'properties.autoScaleConfiguration', 'type': 'ExpressRouteGatewayPropertiesAutoScaleConfiguration'}, + 'express_route_connections': {'key': 'properties.expressRouteConnections', 'type': '[ExpressRouteConnection]'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'virtual_hub': {'key': 'properties.virtualHub', 'type': 'VirtualHubId'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + location: Optional[str] = None, + tags: Optional[Dict[str, str]] = None, + auto_scale_configuration: Optional["ExpressRouteGatewayPropertiesAutoScaleConfiguration"] = None, + virtual_hub: Optional["VirtualHubId"] = None, + **kwargs + ): + super(ExpressRouteGateway, self).__init__(id=id, location=location, tags=tags, **kwargs) + self.etag = None + self.auto_scale_configuration = auto_scale_configuration + self.express_route_connections = None + self.provisioning_state = None + self.virtual_hub = virtual_hub + + +class ExpressRouteGatewayList(msrest.serialization.Model): + """List of ExpressRoute gateways. + + :param value: List of ExpressRoute gateways. + :type value: list[~azure.mgmt.network.v2021_02_01.models.ExpressRouteGateway] + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[ExpressRouteGateway]'}, + } + + def __init__( + self, + *, + value: Optional[List["ExpressRouteGateway"]] = None, + **kwargs + ): + super(ExpressRouteGatewayList, self).__init__(**kwargs) + self.value = value + + +class ExpressRouteGatewayPropertiesAutoScaleConfiguration(msrest.serialization.Model): + """Configuration for auto scaling. + + :param bounds: Minimum and maximum number of scale units to deploy. + :type bounds: + ~azure.mgmt.network.v2021_02_01.models.ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds + """ + + _attribute_map = { + 'bounds': {'key': 'bounds', 'type': 'ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds'}, + } + + def __init__( + self, + *, + bounds: Optional["ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds"] = None, + **kwargs + ): + super(ExpressRouteGatewayPropertiesAutoScaleConfiguration, self).__init__(**kwargs) + self.bounds = bounds + + +class ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds(msrest.serialization.Model): + """Minimum and maximum number of scale units to deploy. + + :param min: Minimum number of scale units deployed for ExpressRoute gateway. + :type min: int + :param max: Maximum number of scale units deployed for ExpressRoute gateway. + :type max: int + """ + + _attribute_map = { + 'min': {'key': 'min', 'type': 'int'}, + 'max': {'key': 'max', 'type': 'int'}, + } + + def __init__( + self, + *, + min: Optional[int] = None, + max: Optional[int] = None, + **kwargs + ): + super(ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds, self).__init__(**kwargs) + self.min = min + self.max = max + + +class ExpressRouteLink(SubResource): + """ExpressRouteLink child resource definition. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: Name of child port resource that is unique among child port resources of the + parent. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar router_name: Name of Azure router associated with physical port. + :vartype router_name: str + :ivar interface_name: Name of Azure router interface. + :vartype interface_name: str + :ivar patch_panel_id: Mapping between physical port to patch panel port. + :vartype patch_panel_id: str + :ivar rack_id: Mapping of physical patch panel to rack. + :vartype rack_id: str + :ivar connector_type: Physical fiber port type. Possible values include: "LC", "SC". + :vartype connector_type: str or + ~azure.mgmt.network.v2021_02_01.models.ExpressRouteLinkConnectorType + :param admin_state: Administrative state of the physical port. Possible values include: + "Enabled", "Disabled". + :type admin_state: str or ~azure.mgmt.network.v2021_02_01.models.ExpressRouteLinkAdminState + :ivar provisioning_state: The provisioning state of the express route link resource. Possible + values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :param mac_sec_config: MacSec configuration. + :type mac_sec_config: ~azure.mgmt.network.v2021_02_01.models.ExpressRouteLinkMacSecConfig + """ + + _validation = { + 'etag': {'readonly': True}, + 'router_name': {'readonly': True}, + 'interface_name': {'readonly': True}, + 'patch_panel_id': {'readonly': True}, + 'rack_id': {'readonly': True}, + 'connector_type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'router_name': {'key': 'properties.routerName', 'type': 'str'}, + 'interface_name': {'key': 'properties.interfaceName', 'type': 'str'}, + 'patch_panel_id': {'key': 'properties.patchPanelId', 'type': 'str'}, + 'rack_id': {'key': 'properties.rackId', 'type': 'str'}, + 'connector_type': {'key': 'properties.connectorType', 'type': 'str'}, + 'admin_state': {'key': 'properties.adminState', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'mac_sec_config': {'key': 'properties.macSecConfig', 'type': 'ExpressRouteLinkMacSecConfig'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + name: Optional[str] = None, + admin_state: Optional[Union[str, "ExpressRouteLinkAdminState"]] = None, + mac_sec_config: Optional["ExpressRouteLinkMacSecConfig"] = None, + **kwargs + ): + super(ExpressRouteLink, self).__init__(id=id, **kwargs) + self.name = name + self.etag = None + self.router_name = None + self.interface_name = None + self.patch_panel_id = None + self.rack_id = None + self.connector_type = None + self.admin_state = admin_state + self.provisioning_state = None + self.mac_sec_config = mac_sec_config + + +class ExpressRouteLinkListResult(msrest.serialization.Model): + """Response for ListExpressRouteLinks API service call. + + :param value: The list of ExpressRouteLink sub-resources. + :type value: list[~azure.mgmt.network.v2021_02_01.models.ExpressRouteLink] + :param next_link: The URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[ExpressRouteLink]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["ExpressRouteLink"]] = None, + next_link: Optional[str] = None, + **kwargs + ): + super(ExpressRouteLinkListResult, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class ExpressRouteLinkMacSecConfig(msrest.serialization.Model): + """ExpressRouteLink Mac Security Configuration. + + :param ckn_secret_identifier: Keyvault Secret Identifier URL containing Mac security CKN key. + :type ckn_secret_identifier: str + :param cak_secret_identifier: Keyvault Secret Identifier URL containing Mac security CAK key. + :type cak_secret_identifier: str + :param cipher: Mac security cipher. Possible values include: "GcmAes256", "GcmAes128", + "GcmAesXpn128", "GcmAesXpn256". + :type cipher: str or ~azure.mgmt.network.v2021_02_01.models.ExpressRouteLinkMacSecCipher + :param sci_state: Sci mode enabled/disabled. Possible values include: "Disabled", "Enabled". + :type sci_state: str or ~azure.mgmt.network.v2021_02_01.models.ExpressRouteLinkMacSecSciState + """ + + _attribute_map = { + 'ckn_secret_identifier': {'key': 'cknSecretIdentifier', 'type': 'str'}, + 'cak_secret_identifier': {'key': 'cakSecretIdentifier', 'type': 'str'}, + 'cipher': {'key': 'cipher', 'type': 'str'}, + 'sci_state': {'key': 'sciState', 'type': 'str'}, + } + + def __init__( + self, + *, + ckn_secret_identifier: Optional[str] = None, + cak_secret_identifier: Optional[str] = None, + cipher: Optional[Union[str, "ExpressRouteLinkMacSecCipher"]] = None, + sci_state: Optional[Union[str, "ExpressRouteLinkMacSecSciState"]] = None, + **kwargs + ): + super(ExpressRouteLinkMacSecConfig, self).__init__(**kwargs) + self.ckn_secret_identifier = ckn_secret_identifier + self.cak_secret_identifier = cak_secret_identifier + self.cipher = cipher + self.sci_state = sci_state + + +class ExpressRoutePort(Resource): + """ExpressRoutePort resource definition. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param identity: The identity of ExpressRoutePort, if configured. + :type identity: ~azure.mgmt.network.v2021_02_01.models.ManagedServiceIdentity + :param peering_location: The name of the peering location that the ExpressRoutePort is mapped + to physically. + :type peering_location: str + :param bandwidth_in_gbps: Bandwidth of procured ports in Gbps. + :type bandwidth_in_gbps: int + :ivar provisioned_bandwidth_in_gbps: Aggregate Gbps of associated circuit bandwidths. + :vartype provisioned_bandwidth_in_gbps: float + :ivar mtu: Maximum transmission unit of the physical port pair(s). + :vartype mtu: str + :param encapsulation: Encapsulation method on physical ports. Possible values include: "Dot1Q", + "QinQ". + :type encapsulation: str or + ~azure.mgmt.network.v2021_02_01.models.ExpressRoutePortsEncapsulation + :ivar ether_type: Ether type of the physical port. + :vartype ether_type: str + :ivar allocation_date: Date of the physical port allocation to be used in Letter of + Authorization. + :vartype allocation_date: str + :param links: The set of physical links of the ExpressRoutePort resource. + :type links: list[~azure.mgmt.network.v2021_02_01.models.ExpressRouteLink] + :ivar circuits: Reference the ExpressRoute circuit(s) that are provisioned on this + ExpressRoutePort resource. + :vartype circuits: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + :ivar provisioning_state: The provisioning state of the express route port resource. Possible + values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :ivar resource_guid: The resource GUID property of the express route port resource. + :vartype resource_guid: str + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'provisioned_bandwidth_in_gbps': {'readonly': True}, + 'mtu': {'readonly': True}, + 'ether_type': {'readonly': True}, + 'allocation_date': {'readonly': True}, + 'circuits': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'resource_guid': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'identity': {'key': 'identity', 'type': 'ManagedServiceIdentity'}, + 'peering_location': {'key': 'properties.peeringLocation', 'type': 'str'}, + 'bandwidth_in_gbps': {'key': 'properties.bandwidthInGbps', 'type': 'int'}, + 'provisioned_bandwidth_in_gbps': {'key': 'properties.provisionedBandwidthInGbps', 'type': 'float'}, + 'mtu': {'key': 'properties.mtu', 'type': 'str'}, + 'encapsulation': {'key': 'properties.encapsulation', 'type': 'str'}, + 'ether_type': {'key': 'properties.etherType', 'type': 'str'}, + 'allocation_date': {'key': 'properties.allocationDate', 'type': 'str'}, + 'links': {'key': 'properties.links', 'type': '[ExpressRouteLink]'}, + 'circuits': {'key': 'properties.circuits', 'type': '[SubResource]'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'resource_guid': {'key': 'properties.resourceGuid', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + location: Optional[str] = None, + tags: Optional[Dict[str, str]] = None, + identity: Optional["ManagedServiceIdentity"] = None, + peering_location: Optional[str] = None, + bandwidth_in_gbps: Optional[int] = None, + encapsulation: Optional[Union[str, "ExpressRoutePortsEncapsulation"]] = None, + links: Optional[List["ExpressRouteLink"]] = None, + **kwargs + ): + super(ExpressRoutePort, self).__init__(id=id, location=location, tags=tags, **kwargs) + self.etag = None + self.identity = identity + self.peering_location = peering_location + self.bandwidth_in_gbps = bandwidth_in_gbps + self.provisioned_bandwidth_in_gbps = None + self.mtu = None + self.encapsulation = encapsulation + self.ether_type = None + self.allocation_date = None + self.links = links + self.circuits = None + self.provisioning_state = None + self.resource_guid = None + + +class ExpressRoutePortListResult(msrest.serialization.Model): + """Response for ListExpressRoutePorts API service call. + + :param value: A list of ExpressRoutePort resources. + :type value: list[~azure.mgmt.network.v2021_02_01.models.ExpressRoutePort] + :param next_link: The URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[ExpressRoutePort]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["ExpressRoutePort"]] = None, + next_link: Optional[str] = None, + **kwargs + ): + super(ExpressRoutePortListResult, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class ExpressRoutePortsLocation(Resource): + """Definition of the ExpressRoutePorts peering location resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :ivar address: Address of peering location. + :vartype address: str + :ivar contact: Contact details of peering locations. + :vartype contact: str + :param available_bandwidths: The inventory of available ExpressRoutePort bandwidths. + :type available_bandwidths: + list[~azure.mgmt.network.v2021_02_01.models.ExpressRoutePortsLocationBandwidths] + :ivar provisioning_state: The provisioning state of the express route port location resource. + Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'address': {'readonly': True}, + 'contact': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'address': {'key': 'properties.address', 'type': 'str'}, + 'contact': {'key': 'properties.contact', 'type': 'str'}, + 'available_bandwidths': {'key': 'properties.availableBandwidths', 'type': '[ExpressRoutePortsLocationBandwidths]'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + location: Optional[str] = None, + tags: Optional[Dict[str, str]] = None, + available_bandwidths: Optional[List["ExpressRoutePortsLocationBandwidths"]] = None, + **kwargs + ): + super(ExpressRoutePortsLocation, self).__init__(id=id, location=location, tags=tags, **kwargs) + self.address = None + self.contact = None + self.available_bandwidths = available_bandwidths + self.provisioning_state = None + + +class ExpressRoutePortsLocationBandwidths(msrest.serialization.Model): + """Real-time inventory of available ExpressRoute port bandwidths. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar offer_name: Bandwidth descriptive name. + :vartype offer_name: str + :ivar value_in_gbps: Bandwidth value in Gbps. + :vartype value_in_gbps: int + """ + + _validation = { + 'offer_name': {'readonly': True}, + 'value_in_gbps': {'readonly': True}, + } + + _attribute_map = { + 'offer_name': {'key': 'offerName', 'type': 'str'}, + 'value_in_gbps': {'key': 'valueInGbps', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(ExpressRoutePortsLocationBandwidths, self).__init__(**kwargs) + self.offer_name = None + self.value_in_gbps = None + + +class ExpressRoutePortsLocationListResult(msrest.serialization.Model): + """Response for ListExpressRoutePortsLocations API service call. + + :param value: The list of all ExpressRoutePort peering locations. + :type value: list[~azure.mgmt.network.v2021_02_01.models.ExpressRoutePortsLocation] + :param next_link: The URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[ExpressRoutePortsLocation]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["ExpressRoutePortsLocation"]] = None, + next_link: Optional[str] = None, + **kwargs + ): + super(ExpressRoutePortsLocationListResult, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class ExpressRouteServiceProvider(Resource): + """A ExpressRouteResourceProvider object. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :param peering_locations: A list of peering locations. + :type peering_locations: list[str] + :param bandwidths_offered: A list of bandwidths offered. + :type bandwidths_offered: + list[~azure.mgmt.network.v2021_02_01.models.ExpressRouteServiceProviderBandwidthsOffered] + :ivar provisioning_state: The provisioning state of the express route service provider + resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'peering_locations': {'key': 'properties.peeringLocations', 'type': '[str]'}, + 'bandwidths_offered': {'key': 'properties.bandwidthsOffered', 'type': '[ExpressRouteServiceProviderBandwidthsOffered]'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + location: Optional[str] = None, + tags: Optional[Dict[str, str]] = None, + peering_locations: Optional[List[str]] = None, + bandwidths_offered: Optional[List["ExpressRouteServiceProviderBandwidthsOffered"]] = None, + **kwargs + ): + super(ExpressRouteServiceProvider, self).__init__(id=id, location=location, tags=tags, **kwargs) + self.peering_locations = peering_locations + self.bandwidths_offered = bandwidths_offered + self.provisioning_state = None + + +class ExpressRouteServiceProviderBandwidthsOffered(msrest.serialization.Model): + """Contains bandwidths offered in ExpressRouteServiceProvider resources. + + :param offer_name: The OfferName. + :type offer_name: str + :param value_in_mbps: The ValueInMbps. + :type value_in_mbps: int + """ + + _attribute_map = { + 'offer_name': {'key': 'offerName', 'type': 'str'}, + 'value_in_mbps': {'key': 'valueInMbps', 'type': 'int'}, + } + + def __init__( + self, + *, + offer_name: Optional[str] = None, + value_in_mbps: Optional[int] = None, + **kwargs + ): + super(ExpressRouteServiceProviderBandwidthsOffered, self).__init__(**kwargs) + self.offer_name = offer_name + self.value_in_mbps = value_in_mbps + + +class ExpressRouteServiceProviderListResult(msrest.serialization.Model): + """Response for the ListExpressRouteServiceProvider API service call. + + :param value: A list of ExpressRouteResourceProvider resources. + :type value: list[~azure.mgmt.network.v2021_02_01.models.ExpressRouteServiceProvider] + :param next_link: The URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[ExpressRouteServiceProvider]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["ExpressRouteServiceProvider"]] = None, + next_link: Optional[str] = None, + **kwargs + ): + super(ExpressRouteServiceProviderListResult, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class ExtendedLocation(msrest.serialization.Model): + """ExtendedLocation complex type. + + :param name: The name of the extended location. + :type name: str + :param type: The type of the extended location. Possible values include: "EdgeZone". + :type type: str or ~azure.mgmt.network.v2021_02_01.models.ExtendedLocationTypes + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__( + self, + *, + name: Optional[str] = None, + type: Optional[Union[str, "ExtendedLocationTypes"]] = None, + **kwargs + ): + super(ExtendedLocation, self).__init__(**kwargs) + self.name = name + self.type = type + + +class FirewallPolicy(Resource): + """FirewallPolicy Resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param identity: The identity of the firewall policy. + :type identity: ~azure.mgmt.network.v2021_02_01.models.ManagedServiceIdentity + :ivar rule_collection_groups: List of references to FirewallPolicyRuleCollectionGroups. + :vartype rule_collection_groups: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + :ivar provisioning_state: The provisioning state of the firewall policy resource. Possible + values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :param base_policy: The parent firewall policy from which rules are inherited. + :type base_policy: ~azure.mgmt.network.v2021_02_01.models.SubResource + :ivar firewalls: List of references to Azure Firewalls that this Firewall Policy is associated + with. + :vartype firewalls: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + :ivar child_policies: List of references to Child Firewall Policies. + :vartype child_policies: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + :param threat_intel_mode: The operation mode for Threat Intelligence. Possible values include: + "Alert", "Deny", "Off". + :type threat_intel_mode: str or + ~azure.mgmt.network.v2021_02_01.models.AzureFirewallThreatIntelMode + :param threat_intel_whitelist: ThreatIntel Whitelist for Firewall Policy. + :type threat_intel_whitelist: + ~azure.mgmt.network.v2021_02_01.models.FirewallPolicyThreatIntelWhitelist + :param insights: Insights on Firewall Policy. + :type insights: ~azure.mgmt.network.v2021_02_01.models.FirewallPolicyInsights + :param snat: The private IP addresses/IP ranges to which traffic will not be SNAT. + :type snat: ~azure.mgmt.network.v2021_02_01.models.FirewallPolicySNAT + :param dns_settings: DNS Proxy Settings definition. + :type dns_settings: ~azure.mgmt.network.v2021_02_01.models.DnsSettings + :param intrusion_detection: The configuration for Intrusion detection. + :type intrusion_detection: + ~azure.mgmt.network.v2021_02_01.models.FirewallPolicyIntrusionDetection + :param transport_security: TLS Configuration definition. + :type transport_security: + ~azure.mgmt.network.v2021_02_01.models.FirewallPolicyTransportSecurity + :param sku: The Firewall Policy SKU. + :type sku: ~azure.mgmt.network.v2021_02_01.models.FirewallPolicySku + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'rule_collection_groups': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'firewalls': {'readonly': True}, + 'child_policies': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'identity': {'key': 'identity', 'type': 'ManagedServiceIdentity'}, + 'rule_collection_groups': {'key': 'properties.ruleCollectionGroups', 'type': '[SubResource]'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'base_policy': {'key': 'properties.basePolicy', 'type': 'SubResource'}, + 'firewalls': {'key': 'properties.firewalls', 'type': '[SubResource]'}, + 'child_policies': {'key': 'properties.childPolicies', 'type': '[SubResource]'}, + 'threat_intel_mode': {'key': 'properties.threatIntelMode', 'type': 'str'}, + 'threat_intel_whitelist': {'key': 'properties.threatIntelWhitelist', 'type': 'FirewallPolicyThreatIntelWhitelist'}, + 'insights': {'key': 'properties.insights', 'type': 'FirewallPolicyInsights'}, + 'snat': {'key': 'properties.snat', 'type': 'FirewallPolicySNAT'}, + 'dns_settings': {'key': 'properties.dnsSettings', 'type': 'DnsSettings'}, + 'intrusion_detection': {'key': 'properties.intrusionDetection', 'type': 'FirewallPolicyIntrusionDetection'}, + 'transport_security': {'key': 'properties.transportSecurity', 'type': 'FirewallPolicyTransportSecurity'}, + 'sku': {'key': 'properties.sku', 'type': 'FirewallPolicySku'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + location: Optional[str] = None, + tags: Optional[Dict[str, str]] = None, + identity: Optional["ManagedServiceIdentity"] = None, + base_policy: Optional["SubResource"] = None, + threat_intel_mode: Optional[Union[str, "AzureFirewallThreatIntelMode"]] = None, + threat_intel_whitelist: Optional["FirewallPolicyThreatIntelWhitelist"] = None, + insights: Optional["FirewallPolicyInsights"] = None, + snat: Optional["FirewallPolicySNAT"] = None, + dns_settings: Optional["DnsSettings"] = None, + intrusion_detection: Optional["FirewallPolicyIntrusionDetection"] = None, + transport_security: Optional["FirewallPolicyTransportSecurity"] = None, + sku: Optional["FirewallPolicySku"] = None, + **kwargs + ): + super(FirewallPolicy, self).__init__(id=id, location=location, tags=tags, **kwargs) + self.etag = None + self.identity = identity + self.rule_collection_groups = None + self.provisioning_state = None + self.base_policy = base_policy + self.firewalls = None + self.child_policies = None + self.threat_intel_mode = threat_intel_mode + self.threat_intel_whitelist = threat_intel_whitelist + self.insights = insights + self.snat = snat + self.dns_settings = dns_settings + self.intrusion_detection = intrusion_detection + self.transport_security = transport_security + self.sku = sku + + +class FirewallPolicyCertificateAuthority(msrest.serialization.Model): + """Trusted Root certificates properties for tls. + + :param key_vault_secret_id: Secret Id of (base-64 encoded unencrypted pfx) 'Secret' or + 'Certificate' object stored in KeyVault. + :type key_vault_secret_id: str + :param name: Name of the CA certificate. + :type name: str + """ + + _attribute_map = { + 'key_vault_secret_id': {'key': 'keyVaultSecretId', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + } + + def __init__( + self, + *, + key_vault_secret_id: Optional[str] = None, + name: Optional[str] = None, + **kwargs + ): + super(FirewallPolicyCertificateAuthority, self).__init__(**kwargs) + self.key_vault_secret_id = key_vault_secret_id + self.name = name + + +class FirewallPolicyRuleCollection(msrest.serialization.Model): + """Properties of the rule collection. + + You probably want to use the sub-classes and not this class directly. Known + sub-classes are: FirewallPolicyFilterRuleCollection, FirewallPolicyNatRuleCollection. + + All required parameters must be populated in order to send to Azure. + + :param rule_collection_type: Required. The type of the rule collection.Constant filled by + server. Possible values include: "FirewallPolicyNatRuleCollection", + "FirewallPolicyFilterRuleCollection". + :type rule_collection_type: str or + ~azure.mgmt.network.v2021_02_01.models.FirewallPolicyRuleCollectionType + :param name: The name of the rule collection. + :type name: str + :param priority: Priority of the Firewall Policy Rule Collection resource. + :type priority: int + """ + + _validation = { + 'rule_collection_type': {'required': True}, + 'priority': {'maximum': 65000, 'minimum': 100}, + } + + _attribute_map = { + 'rule_collection_type': {'key': 'ruleCollectionType', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'priority': {'key': 'priority', 'type': 'int'}, + } + + _subtype_map = { + 'rule_collection_type': {'FirewallPolicyFilterRuleCollection': 'FirewallPolicyFilterRuleCollection', 'FirewallPolicyNatRuleCollection': 'FirewallPolicyNatRuleCollection'} + } + + def __init__( + self, + *, + name: Optional[str] = None, + priority: Optional[int] = None, + **kwargs + ): + super(FirewallPolicyRuleCollection, self).__init__(**kwargs) + self.rule_collection_type = None # type: Optional[str] + self.name = name + self.priority = priority + + +class FirewallPolicyFilterRuleCollection(FirewallPolicyRuleCollection): + """Firewall Policy Filter Rule Collection. + + All required parameters must be populated in order to send to Azure. + + :param rule_collection_type: Required. The type of the rule collection.Constant filled by + server. Possible values include: "FirewallPolicyNatRuleCollection", + "FirewallPolicyFilterRuleCollection". + :type rule_collection_type: str or + ~azure.mgmt.network.v2021_02_01.models.FirewallPolicyRuleCollectionType + :param name: The name of the rule collection. + :type name: str + :param priority: Priority of the Firewall Policy Rule Collection resource. + :type priority: int + :param action: The action type of a Filter rule collection. + :type action: ~azure.mgmt.network.v2021_02_01.models.FirewallPolicyFilterRuleCollectionAction + :param rules: List of rules included in a rule collection. + :type rules: list[~azure.mgmt.network.v2021_02_01.models.FirewallPolicyRule] + """ + + _validation = { + 'rule_collection_type': {'required': True}, + 'priority': {'maximum': 65000, 'minimum': 100}, + } + + _attribute_map = { + 'rule_collection_type': {'key': 'ruleCollectionType', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'priority': {'key': 'priority', 'type': 'int'}, + 'action': {'key': 'action', 'type': 'FirewallPolicyFilterRuleCollectionAction'}, + 'rules': {'key': 'rules', 'type': '[FirewallPolicyRule]'}, + } + + def __init__( + self, + *, + name: Optional[str] = None, + priority: Optional[int] = None, + action: Optional["FirewallPolicyFilterRuleCollectionAction"] = None, + rules: Optional[List["FirewallPolicyRule"]] = None, + **kwargs + ): + super(FirewallPolicyFilterRuleCollection, self).__init__(name=name, priority=priority, **kwargs) + self.rule_collection_type = 'FirewallPolicyFilterRuleCollection' # type: str + self.action = action + self.rules = rules + + +class FirewallPolicyFilterRuleCollectionAction(msrest.serialization.Model): + """Properties of the FirewallPolicyFilterRuleCollectionAction. + + :param type: The type of action. Possible values include: "Allow", "Deny". + :type type: str or + ~azure.mgmt.network.v2021_02_01.models.FirewallPolicyFilterRuleCollectionActionType + """ + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__( + self, + *, + type: Optional[Union[str, "FirewallPolicyFilterRuleCollectionActionType"]] = None, + **kwargs + ): + super(FirewallPolicyFilterRuleCollectionAction, self).__init__(**kwargs) + self.type = type + + +class FirewallPolicyInsights(msrest.serialization.Model): + """Firewall Policy Insights. + + :param is_enabled: A flag to indicate if the insights are enabled on the policy. + :type is_enabled: bool + :param retention_days: Number of days the insights should be enabled on the policy. + :type retention_days: int + :param log_analytics_resources: Workspaces needed to configure the Firewall Policy Insights. + :type log_analytics_resources: + ~azure.mgmt.network.v2021_02_01.models.FirewallPolicyLogAnalyticsResources + """ + + _attribute_map = { + 'is_enabled': {'key': 'isEnabled', 'type': 'bool'}, + 'retention_days': {'key': 'retentionDays', 'type': 'int'}, + 'log_analytics_resources': {'key': 'logAnalyticsResources', 'type': 'FirewallPolicyLogAnalyticsResources'}, + } + + def __init__( + self, + *, + is_enabled: Optional[bool] = None, + retention_days: Optional[int] = None, + log_analytics_resources: Optional["FirewallPolicyLogAnalyticsResources"] = None, + **kwargs + ): + super(FirewallPolicyInsights, self).__init__(**kwargs) + self.is_enabled = is_enabled + self.retention_days = retention_days + self.log_analytics_resources = log_analytics_resources + + +class FirewallPolicyIntrusionDetection(msrest.serialization.Model): + """Configuration for intrusion detection mode and rules. + + :param mode: Intrusion detection general state. Possible values include: "Off", "Alert", + "Deny". + :type mode: str or + ~azure.mgmt.network.v2021_02_01.models.FirewallPolicyIntrusionDetectionStateType + :param configuration: Intrusion detection configuration properties. + :type configuration: + ~azure.mgmt.network.v2021_02_01.models.FirewallPolicyIntrusionDetectionConfiguration + """ + + _attribute_map = { + 'mode': {'key': 'mode', 'type': 'str'}, + 'configuration': {'key': 'configuration', 'type': 'FirewallPolicyIntrusionDetectionConfiguration'}, + } + + def __init__( + self, + *, + mode: Optional[Union[str, "FirewallPolicyIntrusionDetectionStateType"]] = None, + configuration: Optional["FirewallPolicyIntrusionDetectionConfiguration"] = None, + **kwargs + ): + super(FirewallPolicyIntrusionDetection, self).__init__(**kwargs) + self.mode = mode + self.configuration = configuration + + +class FirewallPolicyIntrusionDetectionBypassTrafficSpecifications(msrest.serialization.Model): + """Intrusion detection bypass traffic specification. + + :param name: Name of the bypass traffic rule. + :type name: str + :param description: Description of the bypass traffic rule. + :type description: str + :param protocol: The rule bypass protocol. Possible values include: "TCP", "UDP", "ICMP", + "ANY". + :type protocol: str or + ~azure.mgmt.network.v2021_02_01.models.FirewallPolicyIntrusionDetectionProtocol + :param source_addresses: List of source IP addresses or ranges for this rule. + :type source_addresses: list[str] + :param destination_addresses: List of destination IP addresses or ranges for this rule. + :type destination_addresses: list[str] + :param destination_ports: List of destination ports or ranges. + :type destination_ports: list[str] + :param source_ip_groups: List of source IpGroups for this rule. + :type source_ip_groups: list[str] + :param destination_ip_groups: List of destination IpGroups for this rule. + :type destination_ip_groups: list[str] + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + 'protocol': {'key': 'protocol', 'type': 'str'}, + 'source_addresses': {'key': 'sourceAddresses', 'type': '[str]'}, + 'destination_addresses': {'key': 'destinationAddresses', 'type': '[str]'}, + 'destination_ports': {'key': 'destinationPorts', 'type': '[str]'}, + 'source_ip_groups': {'key': 'sourceIpGroups', 'type': '[str]'}, + 'destination_ip_groups': {'key': 'destinationIpGroups', 'type': '[str]'}, + } + + def __init__( + self, + *, + name: Optional[str] = None, + description: Optional[str] = None, + protocol: Optional[Union[str, "FirewallPolicyIntrusionDetectionProtocol"]] = None, + source_addresses: Optional[List[str]] = None, + destination_addresses: Optional[List[str]] = None, + destination_ports: Optional[List[str]] = None, + source_ip_groups: Optional[List[str]] = None, + destination_ip_groups: Optional[List[str]] = None, + **kwargs + ): + super(FirewallPolicyIntrusionDetectionBypassTrafficSpecifications, self).__init__(**kwargs) + self.name = name + self.description = description + self.protocol = protocol + self.source_addresses = source_addresses + self.destination_addresses = destination_addresses + self.destination_ports = destination_ports + self.source_ip_groups = source_ip_groups + self.destination_ip_groups = destination_ip_groups + + +class FirewallPolicyIntrusionDetectionConfiguration(msrest.serialization.Model): + """The operation for configuring intrusion detection. + + :param signature_overrides: List of specific signatures states. + :type signature_overrides: + list[~azure.mgmt.network.v2021_02_01.models.FirewallPolicyIntrusionDetectionSignatureSpecification] + :param bypass_traffic_settings: List of rules for traffic to bypass. + :type bypass_traffic_settings: + list[~azure.mgmt.network.v2021_02_01.models.FirewallPolicyIntrusionDetectionBypassTrafficSpecifications] + """ + + _attribute_map = { + 'signature_overrides': {'key': 'signatureOverrides', 'type': '[FirewallPolicyIntrusionDetectionSignatureSpecification]'}, + 'bypass_traffic_settings': {'key': 'bypassTrafficSettings', 'type': '[FirewallPolicyIntrusionDetectionBypassTrafficSpecifications]'}, + } + + def __init__( + self, + *, + signature_overrides: Optional[List["FirewallPolicyIntrusionDetectionSignatureSpecification"]] = None, + bypass_traffic_settings: Optional[List["FirewallPolicyIntrusionDetectionBypassTrafficSpecifications"]] = None, + **kwargs + ): + super(FirewallPolicyIntrusionDetectionConfiguration, self).__init__(**kwargs) + self.signature_overrides = signature_overrides + self.bypass_traffic_settings = bypass_traffic_settings + + +class FirewallPolicyIntrusionDetectionSignatureSpecification(msrest.serialization.Model): + """Intrusion detection signatures specification states. + + :param id: Signature id. + :type id: str + :param mode: The signature state. Possible values include: "Off", "Alert", "Deny". + :type mode: str or + ~azure.mgmt.network.v2021_02_01.models.FirewallPolicyIntrusionDetectionStateType + """ + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'mode': {'key': 'mode', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + mode: Optional[Union[str, "FirewallPolicyIntrusionDetectionStateType"]] = None, + **kwargs + ): + super(FirewallPolicyIntrusionDetectionSignatureSpecification, self).__init__(**kwargs) + self.id = id + self.mode = mode + + +class FirewallPolicyListResult(msrest.serialization.Model): + """Response for ListFirewallPolicies API service call. + + :param value: List of Firewall Policies in a resource group. + :type value: list[~azure.mgmt.network.v2021_02_01.models.FirewallPolicy] + :param next_link: URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[FirewallPolicy]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["FirewallPolicy"]] = None, + next_link: Optional[str] = None, + **kwargs + ): + super(FirewallPolicyListResult, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class FirewallPolicyLogAnalyticsResources(msrest.serialization.Model): + """Log Analytics Resources for Firewall Policy Insights. + + :param workspaces: List of workspaces for Firewall Policy Insights. + :type workspaces: + list[~azure.mgmt.network.v2021_02_01.models.FirewallPolicyLogAnalyticsWorkspace] + :param default_workspace_id: The default workspace Id for Firewall Policy Insights. + :type default_workspace_id: ~azure.mgmt.network.v2021_02_01.models.SubResource + """ + + _attribute_map = { + 'workspaces': {'key': 'workspaces', 'type': '[FirewallPolicyLogAnalyticsWorkspace]'}, + 'default_workspace_id': {'key': 'defaultWorkspaceId', 'type': 'SubResource'}, + } + + def __init__( + self, + *, + workspaces: Optional[List["FirewallPolicyLogAnalyticsWorkspace"]] = None, + default_workspace_id: Optional["SubResource"] = None, + **kwargs + ): + super(FirewallPolicyLogAnalyticsResources, self).__init__(**kwargs) + self.workspaces = workspaces + self.default_workspace_id = default_workspace_id + + +class FirewallPolicyLogAnalyticsWorkspace(msrest.serialization.Model): + """Log Analytics Workspace for Firewall Policy Insights. + + :param region: Region to configure the Workspace. + :type region: str + :param workspace_id: The workspace Id for Firewall Policy Insights. + :type workspace_id: ~azure.mgmt.network.v2021_02_01.models.SubResource + """ + + _attribute_map = { + 'region': {'key': 'region', 'type': 'str'}, + 'workspace_id': {'key': 'workspaceId', 'type': 'SubResource'}, + } + + def __init__( + self, + *, + region: Optional[str] = None, + workspace_id: Optional["SubResource"] = None, + **kwargs + ): + super(FirewallPolicyLogAnalyticsWorkspace, self).__init__(**kwargs) + self.region = region + self.workspace_id = workspace_id + + +class FirewallPolicyNatRuleCollection(FirewallPolicyRuleCollection): + """Firewall Policy NAT Rule Collection. + + All required parameters must be populated in order to send to Azure. + + :param rule_collection_type: Required. The type of the rule collection.Constant filled by + server. Possible values include: "FirewallPolicyNatRuleCollection", + "FirewallPolicyFilterRuleCollection". + :type rule_collection_type: str or + ~azure.mgmt.network.v2021_02_01.models.FirewallPolicyRuleCollectionType + :param name: The name of the rule collection. + :type name: str + :param priority: Priority of the Firewall Policy Rule Collection resource. + :type priority: int + :param action: The action type of a Nat rule collection. + :type action: ~azure.mgmt.network.v2021_02_01.models.FirewallPolicyNatRuleCollectionAction + :param rules: List of rules included in a rule collection. + :type rules: list[~azure.mgmt.network.v2021_02_01.models.FirewallPolicyRule] + """ + + _validation = { + 'rule_collection_type': {'required': True}, + 'priority': {'maximum': 65000, 'minimum': 100}, + } + + _attribute_map = { + 'rule_collection_type': {'key': 'ruleCollectionType', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'priority': {'key': 'priority', 'type': 'int'}, + 'action': {'key': 'action', 'type': 'FirewallPolicyNatRuleCollectionAction'}, + 'rules': {'key': 'rules', 'type': '[FirewallPolicyRule]'}, + } + + def __init__( + self, + *, + name: Optional[str] = None, + priority: Optional[int] = None, + action: Optional["FirewallPolicyNatRuleCollectionAction"] = None, + rules: Optional[List["FirewallPolicyRule"]] = None, + **kwargs + ): + super(FirewallPolicyNatRuleCollection, self).__init__(name=name, priority=priority, **kwargs) + self.rule_collection_type = 'FirewallPolicyNatRuleCollection' # type: str + self.action = action + self.rules = rules + + +class FirewallPolicyNatRuleCollectionAction(msrest.serialization.Model): + """Properties of the FirewallPolicyNatRuleCollectionAction. + + :param type: The type of action. Possible values include: "DNAT". + :type type: str or + ~azure.mgmt.network.v2021_02_01.models.FirewallPolicyNatRuleCollectionActionType + """ + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__( + self, + *, + type: Optional[Union[str, "FirewallPolicyNatRuleCollectionActionType"]] = None, + **kwargs + ): + super(FirewallPolicyNatRuleCollectionAction, self).__init__(**kwargs) + self.type = type + + +class FirewallPolicyRuleApplicationProtocol(msrest.serialization.Model): + """Properties of the application rule protocol. + + :param protocol_type: Protocol type. Possible values include: "Http", "Https". + :type protocol_type: str or + ~azure.mgmt.network.v2021_02_01.models.FirewallPolicyRuleApplicationProtocolType + :param port: Port number for the protocol, cannot be greater than 64000. + :type port: int + """ + + _validation = { + 'port': {'maximum': 64000, 'minimum': 0}, + } + + _attribute_map = { + 'protocol_type': {'key': 'protocolType', 'type': 'str'}, + 'port': {'key': 'port', 'type': 'int'}, + } + + def __init__( + self, + *, + protocol_type: Optional[Union[str, "FirewallPolicyRuleApplicationProtocolType"]] = None, + port: Optional[int] = None, + **kwargs + ): + super(FirewallPolicyRuleApplicationProtocol, self).__init__(**kwargs) + self.protocol_type = protocol_type + self.port = port + + +class FirewallPolicyRuleCollectionGroup(SubResource): + """Rule Collection Group resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: The name of the resource that is unique within a resource group. This name can be + used to access the resource. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Rule Group type. + :vartype type: str + :param priority: Priority of the Firewall Policy Rule Collection Group resource. + :type priority: int + :param rule_collections: Group of Firewall Policy rule collections. + :type rule_collections: + list[~azure.mgmt.network.v2021_02_01.models.FirewallPolicyRuleCollection] + :ivar provisioning_state: The provisioning state of the firewall policy rule collection group + resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'priority': {'maximum': 65000, 'minimum': 100}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'priority': {'key': 'properties.priority', 'type': 'int'}, + 'rule_collections': {'key': 'properties.ruleCollections', 'type': '[FirewallPolicyRuleCollection]'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + name: Optional[str] = None, + priority: Optional[int] = None, + rule_collections: Optional[List["FirewallPolicyRuleCollection"]] = None, + **kwargs + ): + super(FirewallPolicyRuleCollectionGroup, self).__init__(id=id, **kwargs) + self.name = name + self.etag = None + self.type = None + self.priority = priority + self.rule_collections = rule_collections + self.provisioning_state = None + + +class FirewallPolicyRuleCollectionGroupListResult(msrest.serialization.Model): + """Response for ListFirewallPolicyRuleCollectionGroups API service call. + + :param value: List of FirewallPolicyRuleCollectionGroups in a FirewallPolicy. + :type value: list[~azure.mgmt.network.v2021_02_01.models.FirewallPolicyRuleCollectionGroup] + :param next_link: URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[FirewallPolicyRuleCollectionGroup]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["FirewallPolicyRuleCollectionGroup"]] = None, + next_link: Optional[str] = None, + **kwargs + ): + super(FirewallPolicyRuleCollectionGroupListResult, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class FirewallPolicySku(msrest.serialization.Model): + """SKU of Firewall policy. + + :param tier: Tier of Firewall Policy. Possible values include: "Standard", "Premium". + :type tier: str or ~azure.mgmt.network.v2021_02_01.models.FirewallPolicySkuTier + """ + + _attribute_map = { + 'tier': {'key': 'tier', 'type': 'str'}, + } + + def __init__( + self, + *, + tier: Optional[Union[str, "FirewallPolicySkuTier"]] = None, + **kwargs + ): + super(FirewallPolicySku, self).__init__(**kwargs) + self.tier = tier + + +class FirewallPolicySNAT(msrest.serialization.Model): + """The private IP addresses/IP ranges to which traffic will not be SNAT. + + :param private_ranges: List of private IP addresses/IP address ranges to not be SNAT. + :type private_ranges: list[str] + """ + + _attribute_map = { + 'private_ranges': {'key': 'privateRanges', 'type': '[str]'}, + } + + def __init__( + self, + *, + private_ranges: Optional[List[str]] = None, + **kwargs + ): + super(FirewallPolicySNAT, self).__init__(**kwargs) + self.private_ranges = private_ranges + + +class FirewallPolicyThreatIntelWhitelist(msrest.serialization.Model): + """ThreatIntel Whitelist for Firewall Policy. + + :param ip_addresses: List of IP addresses for the ThreatIntel Whitelist. + :type ip_addresses: list[str] + :param fqdns: List of FQDNs for the ThreatIntel Whitelist. + :type fqdns: list[str] + """ + + _attribute_map = { + 'ip_addresses': {'key': 'ipAddresses', 'type': '[str]'}, + 'fqdns': {'key': 'fqdns', 'type': '[str]'}, + } + + def __init__( + self, + *, + ip_addresses: Optional[List[str]] = None, + fqdns: Optional[List[str]] = None, + **kwargs + ): + super(FirewallPolicyThreatIntelWhitelist, self).__init__(**kwargs) + self.ip_addresses = ip_addresses + self.fqdns = fqdns + + +class FirewallPolicyTransportSecurity(msrest.serialization.Model): + """Configuration needed to perform TLS termination & initiation. + + :param certificate_authority: The CA used for intermediate CA generation. + :type certificate_authority: + ~azure.mgmt.network.v2021_02_01.models.FirewallPolicyCertificateAuthority + """ + + _attribute_map = { + 'certificate_authority': {'key': 'certificateAuthority', 'type': 'FirewallPolicyCertificateAuthority'}, + } + + def __init__( + self, + *, + certificate_authority: Optional["FirewallPolicyCertificateAuthority"] = None, + **kwargs + ): + super(FirewallPolicyTransportSecurity, self).__init__(**kwargs) + self.certificate_authority = certificate_authority + + +class FlowLog(Resource): + """A flow log resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param target_resource_id: ID of network security group to which flow log will be applied. + :type target_resource_id: str + :ivar target_resource_guid: Guid of network security group to which flow log will be applied. + :vartype target_resource_guid: str + :param storage_id: ID of the storage account which is used to store the flow log. + :type storage_id: str + :param enabled: Flag to enable/disable flow logging. + :type enabled: bool + :param retention_policy: Parameters that define the retention policy for flow log. + :type retention_policy: ~azure.mgmt.network.v2021_02_01.models.RetentionPolicyParameters + :param format: Parameters that define the flow log format. + :type format: ~azure.mgmt.network.v2021_02_01.models.FlowLogFormatParameters + :param flow_analytics_configuration: Parameters that define the configuration of traffic + analytics. + :type flow_analytics_configuration: + ~azure.mgmt.network.v2021_02_01.models.TrafficAnalyticsProperties + :ivar provisioning_state: The provisioning state of the flow log. Possible values include: + "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'target_resource_guid': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'target_resource_id': {'key': 'properties.targetResourceId', 'type': 'str'}, + 'target_resource_guid': {'key': 'properties.targetResourceGuid', 'type': 'str'}, + 'storage_id': {'key': 'properties.storageId', 'type': 'str'}, + 'enabled': {'key': 'properties.enabled', 'type': 'bool'}, + 'retention_policy': {'key': 'properties.retentionPolicy', 'type': 'RetentionPolicyParameters'}, + 'format': {'key': 'properties.format', 'type': 'FlowLogFormatParameters'}, + 'flow_analytics_configuration': {'key': 'properties.flowAnalyticsConfiguration', 'type': 'TrafficAnalyticsProperties'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + location: Optional[str] = None, + tags: Optional[Dict[str, str]] = None, + target_resource_id: Optional[str] = None, + storage_id: Optional[str] = None, + enabled: Optional[bool] = None, + retention_policy: Optional["RetentionPolicyParameters"] = None, + format: Optional["FlowLogFormatParameters"] = None, + flow_analytics_configuration: Optional["TrafficAnalyticsProperties"] = None, + **kwargs + ): + super(FlowLog, self).__init__(id=id, location=location, tags=tags, **kwargs) + self.etag = None + self.target_resource_id = target_resource_id + self.target_resource_guid = None + self.storage_id = storage_id + self.enabled = enabled + self.retention_policy = retention_policy + self.format = format + self.flow_analytics_configuration = flow_analytics_configuration + self.provisioning_state = None + + +class FlowLogFormatParameters(msrest.serialization.Model): + """Parameters that define the flow log format. + + :param type: The file type of flow log. Possible values include: "JSON". + :type type: str or ~azure.mgmt.network.v2021_02_01.models.FlowLogFormatType + :param version: The version (revision) of the flow log. + :type version: int + """ + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, + 'version': {'key': 'version', 'type': 'int'}, + } + + def __init__( + self, + *, + type: Optional[Union[str, "FlowLogFormatType"]] = None, + version: Optional[int] = 0, + **kwargs + ): + super(FlowLogFormatParameters, self).__init__(**kwargs) + self.type = type + self.version = version + + +class FlowLogInformation(msrest.serialization.Model): + """Information on the configuration of flow log and traffic analytics (optional) . + + All required parameters must be populated in order to send to Azure. + + :param target_resource_id: Required. The ID of the resource to configure for flow log and + traffic analytics (optional) . + :type target_resource_id: str + :param flow_analytics_configuration: Parameters that define the configuration of traffic + analytics. + :type flow_analytics_configuration: + ~azure.mgmt.network.v2021_02_01.models.TrafficAnalyticsProperties + :param storage_id: Required. ID of the storage account which is used to store the flow log. + :type storage_id: str + :param enabled: Required. Flag to enable/disable flow logging. + :type enabled: bool + :param retention_policy: Parameters that define the retention policy for flow log. + :type retention_policy: ~azure.mgmt.network.v2021_02_01.models.RetentionPolicyParameters + :param format: Parameters that define the flow log format. + :type format: ~azure.mgmt.network.v2021_02_01.models.FlowLogFormatParameters + """ + + _validation = { + 'target_resource_id': {'required': True}, + 'storage_id': {'required': True}, + 'enabled': {'required': True}, + } + + _attribute_map = { + 'target_resource_id': {'key': 'targetResourceId', 'type': 'str'}, + 'flow_analytics_configuration': {'key': 'flowAnalyticsConfiguration', 'type': 'TrafficAnalyticsProperties'}, + 'storage_id': {'key': 'properties.storageId', 'type': 'str'}, + 'enabled': {'key': 'properties.enabled', 'type': 'bool'}, + 'retention_policy': {'key': 'properties.retentionPolicy', 'type': 'RetentionPolicyParameters'}, + 'format': {'key': 'properties.format', 'type': 'FlowLogFormatParameters'}, + } + + def __init__( + self, + *, + target_resource_id: str, + storage_id: str, + enabled: bool, + flow_analytics_configuration: Optional["TrafficAnalyticsProperties"] = None, + retention_policy: Optional["RetentionPolicyParameters"] = None, + format: Optional["FlowLogFormatParameters"] = None, + **kwargs + ): + super(FlowLogInformation, self).__init__(**kwargs) + self.target_resource_id = target_resource_id + self.flow_analytics_configuration = flow_analytics_configuration + self.storage_id = storage_id + self.enabled = enabled + self.retention_policy = retention_policy + self.format = format + + +class FlowLogListResult(msrest.serialization.Model): + """List of flow logs. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: Information about flow log resource. + :type value: list[~azure.mgmt.network.v2021_02_01.models.FlowLog] + :ivar next_link: The URL to get the next set of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[FlowLog]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["FlowLog"]] = None, + **kwargs + ): + super(FlowLogListResult, self).__init__(**kwargs) + self.value = value + self.next_link = None + + +class FlowLogStatusParameters(msrest.serialization.Model): + """Parameters that define a resource to query flow log and traffic analytics (optional) status. + + All required parameters must be populated in order to send to Azure. + + :param target_resource_id: Required. The target resource where getting the flow log and traffic + analytics (optional) status. + :type target_resource_id: str + """ + + _validation = { + 'target_resource_id': {'required': True}, + } + + _attribute_map = { + 'target_resource_id': {'key': 'targetResourceId', 'type': 'str'}, + } + + def __init__( + self, + *, + target_resource_id: str, + **kwargs + ): + super(FlowLogStatusParameters, self).__init__(**kwargs) + self.target_resource_id = target_resource_id + + +class FrontendIPConfiguration(SubResource): + """Frontend IP address of the load balancer. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: The name of the resource that is unique within the set of frontend IP + configurations used by the load balancer. This name can be used to access the resource. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str + :param zones: A list of availability zones denoting the IP allocated for the resource needs to + come from. + :type zones: list[str] + :ivar inbound_nat_rules: An array of references to inbound rules that use this frontend IP. + :vartype inbound_nat_rules: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + :ivar inbound_nat_pools: An array of references to inbound pools that use this frontend IP. + :vartype inbound_nat_pools: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + :ivar outbound_rules: An array of references to outbound rules that use this frontend IP. + :vartype outbound_rules: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + :ivar load_balancing_rules: An array of references to load balancing rules that use this + frontend IP. + :vartype load_balancing_rules: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + :param private_ip_address: The private IP address of the IP configuration. + :type private_ip_address: str + :param private_ip_allocation_method: The Private IP allocation method. Possible values include: + "Static", "Dynamic". + :type private_ip_allocation_method: str or + ~azure.mgmt.network.v2021_02_01.models.IPAllocationMethod + :param private_ip_address_version: Whether the specific ipconfiguration is IPv4 or IPv6. + Default is taken as IPv4. Possible values include: "IPv4", "IPv6". + :type private_ip_address_version: str or ~azure.mgmt.network.v2021_02_01.models.IPVersion + :param subnet: The reference to the subnet resource. + :type subnet: ~azure.mgmt.network.v2021_02_01.models.Subnet + :param public_ip_address: The reference to the Public IP resource. + :type public_ip_address: ~azure.mgmt.network.v2021_02_01.models.PublicIPAddress + :param public_ip_prefix: The reference to the Public IP Prefix resource. + :type public_ip_prefix: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param gateway_load_balancer: The reference to gateway load balancer frontend IP. + :type gateway_load_balancer: ~azure.mgmt.network.v2021_02_01.models.SubResource + :ivar provisioning_state: The provisioning state of the frontend IP configuration resource. + Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'inbound_nat_rules': {'readonly': True}, + 'inbound_nat_pools': {'readonly': True}, + 'outbound_rules': {'readonly': True}, + 'load_balancing_rules': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'zones': {'key': 'zones', 'type': '[str]'}, + 'inbound_nat_rules': {'key': 'properties.inboundNatRules', 'type': '[SubResource]'}, + 'inbound_nat_pools': {'key': 'properties.inboundNatPools', 'type': '[SubResource]'}, + 'outbound_rules': {'key': 'properties.outboundRules', 'type': '[SubResource]'}, + 'load_balancing_rules': {'key': 'properties.loadBalancingRules', 'type': '[SubResource]'}, + 'private_ip_address': {'key': 'properties.privateIPAddress', 'type': 'str'}, + 'private_ip_allocation_method': {'key': 'properties.privateIPAllocationMethod', 'type': 'str'}, + 'private_ip_address_version': {'key': 'properties.privateIPAddressVersion', 'type': 'str'}, + 'subnet': {'key': 'properties.subnet', 'type': 'Subnet'}, + 'public_ip_address': {'key': 'properties.publicIPAddress', 'type': 'PublicIPAddress'}, + 'public_ip_prefix': {'key': 'properties.publicIPPrefix', 'type': 'SubResource'}, + 'gateway_load_balancer': {'key': 'properties.gatewayLoadBalancer', 'type': 'SubResource'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + name: Optional[str] = None, + zones: Optional[List[str]] = None, + private_ip_address: Optional[str] = None, + private_ip_allocation_method: Optional[Union[str, "IPAllocationMethod"]] = None, + private_ip_address_version: Optional[Union[str, "IPVersion"]] = None, + subnet: Optional["Subnet"] = None, + public_ip_address: Optional["PublicIPAddress"] = None, + public_ip_prefix: Optional["SubResource"] = None, + gateway_load_balancer: Optional["SubResource"] = None, + **kwargs + ): + super(FrontendIPConfiguration, self).__init__(id=id, **kwargs) + self.name = name + self.etag = None + self.type = None + self.zones = zones + self.inbound_nat_rules = None + self.inbound_nat_pools = None + self.outbound_rules = None + self.load_balancing_rules = None + self.private_ip_address = private_ip_address + self.private_ip_allocation_method = private_ip_allocation_method + self.private_ip_address_version = private_ip_address_version + self.subnet = subnet + self.public_ip_address = public_ip_address + self.public_ip_prefix = public_ip_prefix + self.gateway_load_balancer = gateway_load_balancer + self.provisioning_state = None + + +class GatewayLoadBalancerTunnelInterface(msrest.serialization.Model): + """Gateway load balancer tunnel interface of a load balancer backend address pool. + + :param port: Port of gateway load balancer tunnel interface. + :type port: int + :param identifier: Identifier of gateway load balancer tunnel interface. + :type identifier: int + :param protocol: Protocol of gateway load balancer tunnel interface. Possible values include: + "None", "Native", "VXLAN". + :type protocol: str or ~azure.mgmt.network.v2021_02_01.models.GatewayLoadBalancerTunnelProtocol + :param type: Traffic type of gateway load balancer tunnel interface. Possible values include: + "None", "Internal", "External". + :type type: str or + ~azure.mgmt.network.v2021_02_01.models.GatewayLoadBalancerTunnelInterfaceType + """ + + _attribute_map = { + 'port': {'key': 'port', 'type': 'int'}, + 'identifier': {'key': 'identifier', 'type': 'int'}, + 'protocol': {'key': 'protocol', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__( + self, + *, + port: Optional[int] = None, + identifier: Optional[int] = None, + protocol: Optional[Union[str, "GatewayLoadBalancerTunnelProtocol"]] = None, + type: Optional[Union[str, "GatewayLoadBalancerTunnelInterfaceType"]] = None, + **kwargs + ): + super(GatewayLoadBalancerTunnelInterface, self).__init__(**kwargs) + self.port = port + self.identifier = identifier + self.protocol = protocol + self.type = type + + +class GatewayRoute(msrest.serialization.Model): + """Gateway routing details. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar local_address: The gateway's local address. + :vartype local_address: str + :ivar network: The route's network prefix. + :vartype network: str + :ivar next_hop: The route's next hop. + :vartype next_hop: str + :ivar source_peer: The peer this route was learned from. + :vartype source_peer: str + :ivar origin: The source this route was learned from. + :vartype origin: str + :ivar as_path: The route's AS path sequence. + :vartype as_path: str + :ivar weight: The route's weight. + :vartype weight: int + """ + + _validation = { + 'local_address': {'readonly': True}, + 'network': {'readonly': True}, + 'next_hop': {'readonly': True}, + 'source_peer': {'readonly': True}, + 'origin': {'readonly': True}, + 'as_path': {'readonly': True}, + 'weight': {'readonly': True}, + } + + _attribute_map = { + 'local_address': {'key': 'localAddress', 'type': 'str'}, + 'network': {'key': 'network', 'type': 'str'}, + 'next_hop': {'key': 'nextHop', 'type': 'str'}, + 'source_peer': {'key': 'sourcePeer', 'type': 'str'}, + 'origin': {'key': 'origin', 'type': 'str'}, + 'as_path': {'key': 'asPath', 'type': 'str'}, + 'weight': {'key': 'weight', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(GatewayRoute, self).__init__(**kwargs) + self.local_address = None + self.network = None + self.next_hop = None + self.source_peer = None + self.origin = None + self.as_path = None + self.weight = None + + +class GatewayRouteListResult(msrest.serialization.Model): + """List of virtual network gateway routes. + + :param value: List of gateway routes. + :type value: list[~azure.mgmt.network.v2021_02_01.models.GatewayRoute] + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[GatewayRoute]'}, + } + + def __init__( + self, + *, + value: Optional[List["GatewayRoute"]] = None, + **kwargs + ): + super(GatewayRouteListResult, self).__init__(**kwargs) + self.value = value + + +class GenerateExpressRoutePortsLOARequest(msrest.serialization.Model): + """The customer name to be printed on a letter of authorization. + + All required parameters must be populated in order to send to Azure. + + :param customer_name: Required. The customer name. + :type customer_name: str + """ + + _validation = { + 'customer_name': {'required': True}, + } + + _attribute_map = { + 'customer_name': {'key': 'customerName', 'type': 'str'}, + } + + def __init__( + self, + *, + customer_name: str, + **kwargs + ): + super(GenerateExpressRoutePortsLOARequest, self).__init__(**kwargs) + self.customer_name = customer_name + + +class GenerateExpressRoutePortsLOAResult(msrest.serialization.Model): + """Response for GenerateExpressRoutePortsLOA API service call. + + :param encoded_content: The content as a base64 encoded string. + :type encoded_content: str + """ + + _attribute_map = { + 'encoded_content': {'key': 'encodedContent', 'type': 'str'}, + } + + def __init__( + self, + *, + encoded_content: Optional[str] = None, + **kwargs + ): + super(GenerateExpressRoutePortsLOAResult, self).__init__(**kwargs) + self.encoded_content = encoded_content + + +class GetVpnSitesConfigurationRequest(msrest.serialization.Model): + """List of Vpn-Sites. + + All required parameters must be populated in order to send to Azure. + + :param vpn_sites: List of resource-ids of the vpn-sites for which config is to be downloaded. + :type vpn_sites: list[str] + :param output_blob_sas_url: Required. The sas-url to download the configurations for vpn-sites. + :type output_blob_sas_url: str + """ + + _validation = { + 'output_blob_sas_url': {'required': True}, + } + + _attribute_map = { + 'vpn_sites': {'key': 'vpnSites', 'type': '[str]'}, + 'output_blob_sas_url': {'key': 'outputBlobSasUrl', 'type': 'str'}, + } + + def __init__( + self, + *, + output_blob_sas_url: str, + vpn_sites: Optional[List[str]] = None, + **kwargs + ): + super(GetVpnSitesConfigurationRequest, self).__init__(**kwargs) + self.vpn_sites = vpn_sites + self.output_blob_sas_url = output_blob_sas_url + + +class HopLink(msrest.serialization.Model): + """Hop link. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar next_hop_id: The ID of the next hop. + :vartype next_hop_id: str + :ivar link_type: Link type. + :vartype link_type: str + :ivar issues: List of issues. + :vartype issues: list[~azure.mgmt.network.v2021_02_01.models.ConnectivityIssue] + :ivar context: Provides additional context on links. + :vartype context: dict[str, str] + :ivar resource_id: Resource ID. + :vartype resource_id: str + :ivar round_trip_time_min: Minimum roundtrip time in milliseconds. + :vartype round_trip_time_min: long + :ivar round_trip_time_avg: Average roundtrip time in milliseconds. + :vartype round_trip_time_avg: long + :ivar round_trip_time_max: Maximum roundtrip time in milliseconds. + :vartype round_trip_time_max: long + """ + + _validation = { + 'next_hop_id': {'readonly': True}, + 'link_type': {'readonly': True}, + 'issues': {'readonly': True}, + 'context': {'readonly': True}, + 'resource_id': {'readonly': True}, + 'round_trip_time_min': {'readonly': True, 'maximum': 4294967295, 'minimum': 0}, + 'round_trip_time_avg': {'readonly': True, 'maximum': 4294967295, 'minimum': 0}, + 'round_trip_time_max': {'readonly': True, 'maximum': 4294967295, 'minimum': 0}, + } + + _attribute_map = { + 'next_hop_id': {'key': 'nextHopId', 'type': 'str'}, + 'link_type': {'key': 'linkType', 'type': 'str'}, + 'issues': {'key': 'issues', 'type': '[ConnectivityIssue]'}, + 'context': {'key': 'context', 'type': '{str}'}, + 'resource_id': {'key': 'resourceId', 'type': 'str'}, + 'round_trip_time_min': {'key': 'properties.roundTripTimeMin', 'type': 'long'}, + 'round_trip_time_avg': {'key': 'properties.roundTripTimeAvg', 'type': 'long'}, + 'round_trip_time_max': {'key': 'properties.roundTripTimeMax', 'type': 'long'}, + } + + def __init__( + self, + **kwargs + ): + super(HopLink, self).__init__(**kwargs) + self.next_hop_id = None + self.link_type = None + self.issues = None + self.context = None + self.resource_id = None + self.round_trip_time_min = None + self.round_trip_time_avg = None + self.round_trip_time_max = None + + +class HTTPConfiguration(msrest.serialization.Model): + """HTTP configuration of the connectivity check. + + :param method: HTTP method. Possible values include: "Get". + :type method: str or ~azure.mgmt.network.v2021_02_01.models.HTTPMethod + :param headers: List of HTTP headers. + :type headers: list[~azure.mgmt.network.v2021_02_01.models.HTTPHeader] + :param valid_status_codes: Valid status codes. + :type valid_status_codes: list[int] + """ + + _attribute_map = { + 'method': {'key': 'method', 'type': 'str'}, + 'headers': {'key': 'headers', 'type': '[HTTPHeader]'}, + 'valid_status_codes': {'key': 'validStatusCodes', 'type': '[int]'}, + } + + def __init__( + self, + *, + method: Optional[Union[str, "HTTPMethod"]] = None, + headers: Optional[List["HTTPHeader"]] = None, + valid_status_codes: Optional[List[int]] = None, + **kwargs + ): + super(HTTPConfiguration, self).__init__(**kwargs) + self.method = method + self.headers = headers + self.valid_status_codes = valid_status_codes + + +class HTTPHeader(msrest.serialization.Model): + """The HTTP header. + + :param name: The name in HTTP header. + :type name: str + :param value: The value in HTTP header. + :type value: str + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'value': {'key': 'value', 'type': 'str'}, + } + + def __init__( + self, + *, + name: Optional[str] = None, + value: Optional[str] = None, + **kwargs + ): + super(HTTPHeader, self).__init__(**kwargs) + self.name = name + self.value = value + + +class HubIPAddresses(msrest.serialization.Model): + """IP addresses associated with azure firewall. + + :param public_i_ps: Public IP addresses associated with azure firewall. + :type public_i_ps: ~azure.mgmt.network.v2021_02_01.models.HubPublicIPAddresses + :param private_ip_address: Private IP Address associated with azure firewall. + :type private_ip_address: str + """ + + _attribute_map = { + 'public_i_ps': {'key': 'publicIPs', 'type': 'HubPublicIPAddresses'}, + 'private_ip_address': {'key': 'privateIPAddress', 'type': 'str'}, + } + + def __init__( + self, + *, + public_i_ps: Optional["HubPublicIPAddresses"] = None, + private_ip_address: Optional[str] = None, + **kwargs + ): + super(HubIPAddresses, self).__init__(**kwargs) + self.public_i_ps = public_i_ps + self.private_ip_address = private_ip_address + + +class HubIpConfiguration(SubResource): + """IpConfigurations. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: Name of the Ip Configuration. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Ipconfiguration type. + :vartype type: str + :param private_ip_address: The private IP address of the IP configuration. + :type private_ip_address: str + :param private_ip_allocation_method: The private IP address allocation method. Possible values + include: "Static", "Dynamic". + :type private_ip_allocation_method: str or + ~azure.mgmt.network.v2021_02_01.models.IPAllocationMethod + :param subnet: The reference to the subnet resource. + :type subnet: ~azure.mgmt.network.v2021_02_01.models.Subnet + :param public_ip_address: The reference to the public IP resource. + :type public_ip_address: ~azure.mgmt.network.v2021_02_01.models.PublicIPAddress + :ivar provisioning_state: The provisioning state of the IP configuration resource. Possible + values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'private_ip_address': {'key': 'properties.privateIPAddress', 'type': 'str'}, + 'private_ip_allocation_method': {'key': 'properties.privateIPAllocationMethod', 'type': 'str'}, + 'subnet': {'key': 'properties.subnet', 'type': 'Subnet'}, + 'public_ip_address': {'key': 'properties.publicIPAddress', 'type': 'PublicIPAddress'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + name: Optional[str] = None, + private_ip_address: Optional[str] = None, + private_ip_allocation_method: Optional[Union[str, "IPAllocationMethod"]] = None, + subnet: Optional["Subnet"] = None, + public_ip_address: Optional["PublicIPAddress"] = None, + **kwargs + ): + super(HubIpConfiguration, self).__init__(id=id, **kwargs) + self.name = name + self.etag = None + self.type = None + self.private_ip_address = private_ip_address + self.private_ip_allocation_method = private_ip_allocation_method + self.subnet = subnet + self.public_ip_address = public_ip_address + self.provisioning_state = None + + +class HubPublicIPAddresses(msrest.serialization.Model): + """Public IP addresses associated with azure firewall. + + :param addresses: The list of Public IP addresses associated with azure firewall or IP + addresses to be retained. + :type addresses: list[~azure.mgmt.network.v2021_02_01.models.AzureFirewallPublicIPAddress] + :param count: The number of Public IP addresses associated with azure firewall. + :type count: int + """ + + _attribute_map = { + 'addresses': {'key': 'addresses', 'type': '[AzureFirewallPublicIPAddress]'}, + 'count': {'key': 'count', 'type': 'int'}, + } + + def __init__( + self, + *, + addresses: Optional[List["AzureFirewallPublicIPAddress"]] = None, + count: Optional[int] = None, + **kwargs + ): + super(HubPublicIPAddresses, self).__init__(**kwargs) + self.addresses = addresses + self.count = count + + +class HubRoute(msrest.serialization.Model): + """RouteTable route. + + All required parameters must be populated in order to send to Azure. + + :param name: Required. The name of the Route that is unique within a RouteTable. This name can + be used to access this route. + :type name: str + :param destination_type: Required. The type of destinations (eg: CIDR, ResourceId, Service). + :type destination_type: str + :param destinations: Required. List of all destinations. + :type destinations: list[str] + :param next_hop_type: Required. The type of next hop (eg: ResourceId). + :type next_hop_type: str + :param next_hop: Required. NextHop resource ID. + :type next_hop: str + """ + + _validation = { + 'name': {'required': True}, + 'destination_type': {'required': True}, + 'destinations': {'required': True}, + 'next_hop_type': {'required': True}, + 'next_hop': {'required': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'destination_type': {'key': 'destinationType', 'type': 'str'}, + 'destinations': {'key': 'destinations', 'type': '[str]'}, + 'next_hop_type': {'key': 'nextHopType', 'type': 'str'}, + 'next_hop': {'key': 'nextHop', 'type': 'str'}, + } + + def __init__( + self, + *, + name: str, + destination_type: str, + destinations: List[str], + next_hop_type: str, + next_hop: str, + **kwargs + ): + super(HubRoute, self).__init__(**kwargs) + self.name = name + self.destination_type = destination_type + self.destinations = destinations + self.next_hop_type = next_hop_type + self.next_hop = next_hop + + +class HubRouteTable(SubResource): + """RouteTable resource in a virtual hub. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: The name of the resource that is unique within a resource group. This name can be + used to access the resource. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Resource type. + :vartype type: str + :param routes: List of all routes. + :type routes: list[~azure.mgmt.network.v2021_02_01.models.HubRoute] + :param labels: List of labels associated with this route table. + :type labels: list[str] + :ivar associated_connections: List of all connections associated with this route table. + :vartype associated_connections: list[str] + :ivar propagating_connections: List of all connections that advertise to this route table. + :vartype propagating_connections: list[str] + :ivar provisioning_state: The provisioning state of the RouteTable resource. Possible values + include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'associated_connections': {'readonly': True}, + 'propagating_connections': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'routes': {'key': 'properties.routes', 'type': '[HubRoute]'}, + 'labels': {'key': 'properties.labels', 'type': '[str]'}, + 'associated_connections': {'key': 'properties.associatedConnections', 'type': '[str]'}, + 'propagating_connections': {'key': 'properties.propagatingConnections', 'type': '[str]'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + name: Optional[str] = None, + routes: Optional[List["HubRoute"]] = None, + labels: Optional[List[str]] = None, + **kwargs + ): + super(HubRouteTable, self).__init__(id=id, **kwargs) + self.name = name + self.etag = None + self.type = None + self.routes = routes + self.labels = labels + self.associated_connections = None + self.propagating_connections = None + self.provisioning_state = None + + +class HubVirtualNetworkConnection(SubResource): + """HubVirtualNetworkConnection Resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: The name of the resource that is unique within a resource group. This name can be + used to access the resource. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param remote_virtual_network: Reference to the remote virtual network. + :type remote_virtual_network: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param allow_hub_to_remote_vnet_transit: Deprecated: VirtualHub to RemoteVnet transit to + enabled or not. + :type allow_hub_to_remote_vnet_transit: bool + :param allow_remote_vnet_to_use_hub_vnet_gateways: Deprecated: Allow RemoteVnet to use Virtual + Hub's gateways. + :type allow_remote_vnet_to_use_hub_vnet_gateways: bool + :param enable_internet_security: Enable internet security. + :type enable_internet_security: bool + :param routing_configuration: The Routing Configuration indicating the associated and + propagated route tables on this connection. + :type routing_configuration: ~azure.mgmt.network.v2021_02_01.models.RoutingConfiguration + :ivar provisioning_state: The provisioning state of the hub virtual network connection + resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'remote_virtual_network': {'key': 'properties.remoteVirtualNetwork', 'type': 'SubResource'}, + 'allow_hub_to_remote_vnet_transit': {'key': 'properties.allowHubToRemoteVnetTransit', 'type': 'bool'}, + 'allow_remote_vnet_to_use_hub_vnet_gateways': {'key': 'properties.allowRemoteVnetToUseHubVnetGateways', 'type': 'bool'}, + 'enable_internet_security': {'key': 'properties.enableInternetSecurity', 'type': 'bool'}, + 'routing_configuration': {'key': 'properties.routingConfiguration', 'type': 'RoutingConfiguration'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + name: Optional[str] = None, + remote_virtual_network: Optional["SubResource"] = None, + allow_hub_to_remote_vnet_transit: Optional[bool] = None, + allow_remote_vnet_to_use_hub_vnet_gateways: Optional[bool] = None, + enable_internet_security: Optional[bool] = None, + routing_configuration: Optional["RoutingConfiguration"] = None, + **kwargs + ): + super(HubVirtualNetworkConnection, self).__init__(id=id, **kwargs) + self.name = name + self.etag = None + self.remote_virtual_network = remote_virtual_network + self.allow_hub_to_remote_vnet_transit = allow_hub_to_remote_vnet_transit + self.allow_remote_vnet_to_use_hub_vnet_gateways = allow_remote_vnet_to_use_hub_vnet_gateways + self.enable_internet_security = enable_internet_security + self.routing_configuration = routing_configuration + self.provisioning_state = None + + +class InboundNatPool(SubResource): + """Inbound NAT pool of the load balancer. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: The name of the resource that is unique within the set of inbound NAT pools used + by the load balancer. This name can be used to access the resource. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str + :param frontend_ip_configuration: A reference to frontend IP addresses. + :type frontend_ip_configuration: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param protocol: The reference to the transport protocol used by the inbound NAT pool. Possible + values include: "Udp", "Tcp", "All". + :type protocol: str or ~azure.mgmt.network.v2021_02_01.models.TransportProtocol + :param frontend_port_range_start: The first port number in the range of external ports that + will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values + range between 1 and 65534. + :type frontend_port_range_start: int + :param frontend_port_range_end: The last port number in the range of external ports that will + be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range + between 1 and 65535. + :type frontend_port_range_end: int + :param backend_port: The port used for internal connections on the endpoint. Acceptable values + are between 1 and 65535. + :type backend_port: int + :param idle_timeout_in_minutes: The timeout for the TCP idle connection. The value can be set + between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the + protocol is set to TCP. + :type idle_timeout_in_minutes: int + :param enable_floating_ip: Configures a virtual machine's endpoint for the floating IP + capability required to configure a SQL AlwaysOn Availability Group. This setting is required + when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed + after you create the endpoint. + :type enable_floating_ip: bool + :param enable_tcp_reset: Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected + connection termination. This element is only used when the protocol is set to TCP. + :type enable_tcp_reset: bool + :ivar provisioning_state: The provisioning state of the inbound NAT pool resource. Possible + values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'frontend_ip_configuration': {'key': 'properties.frontendIPConfiguration', 'type': 'SubResource'}, + 'protocol': {'key': 'properties.protocol', 'type': 'str'}, + 'frontend_port_range_start': {'key': 'properties.frontendPortRangeStart', 'type': 'int'}, + 'frontend_port_range_end': {'key': 'properties.frontendPortRangeEnd', 'type': 'int'}, + 'backend_port': {'key': 'properties.backendPort', 'type': 'int'}, + 'idle_timeout_in_minutes': {'key': 'properties.idleTimeoutInMinutes', 'type': 'int'}, + 'enable_floating_ip': {'key': 'properties.enableFloatingIP', 'type': 'bool'}, + 'enable_tcp_reset': {'key': 'properties.enableTcpReset', 'type': 'bool'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + name: Optional[str] = None, + frontend_ip_configuration: Optional["SubResource"] = None, + protocol: Optional[Union[str, "TransportProtocol"]] = None, + frontend_port_range_start: Optional[int] = None, + frontend_port_range_end: Optional[int] = None, + backend_port: Optional[int] = None, + idle_timeout_in_minutes: Optional[int] = None, + enable_floating_ip: Optional[bool] = None, + enable_tcp_reset: Optional[bool] = None, + **kwargs + ): + super(InboundNatPool, self).__init__(id=id, **kwargs) + self.name = name + self.etag = None + self.type = None + self.frontend_ip_configuration = frontend_ip_configuration + self.protocol = protocol + self.frontend_port_range_start = frontend_port_range_start + self.frontend_port_range_end = frontend_port_range_end + self.backend_port = backend_port + self.idle_timeout_in_minutes = idle_timeout_in_minutes + self.enable_floating_ip = enable_floating_ip + self.enable_tcp_reset = enable_tcp_reset + self.provisioning_state = None + + +class InboundNatRule(SubResource): + """Inbound NAT rule of the load balancer. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: The name of the resource that is unique within the set of inbound NAT rules used + by the load balancer. This name can be used to access the resource. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str + :param frontend_ip_configuration: A reference to frontend IP addresses. + :type frontend_ip_configuration: ~azure.mgmt.network.v2021_02_01.models.SubResource + :ivar backend_ip_configuration: A reference to a private IP address defined on a network + interface of a VM. Traffic sent to the frontend port of each of the frontend IP configurations + is forwarded to the backend IP. + :vartype backend_ip_configuration: + ~azure.mgmt.network.v2021_02_01.models.NetworkInterfaceIPConfiguration + :param protocol: The reference to the transport protocol used by the load balancing rule. + Possible values include: "Udp", "Tcp", "All". + :type protocol: str or ~azure.mgmt.network.v2021_02_01.models.TransportProtocol + :param frontend_port: The port for the external endpoint. Port numbers for each rule must be + unique within the Load Balancer. Acceptable values range from 1 to 65534. + :type frontend_port: int + :param backend_port: The port used for the internal endpoint. Acceptable values range from 1 to + 65535. + :type backend_port: int + :param idle_timeout_in_minutes: The timeout for the TCP idle connection. The value can be set + between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the + protocol is set to TCP. + :type idle_timeout_in_minutes: int + :param enable_floating_ip: Configures a virtual machine's endpoint for the floating IP + capability required to configure a SQL AlwaysOn Availability Group. This setting is required + when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed + after you create the endpoint. + :type enable_floating_ip: bool + :param enable_tcp_reset: Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected + connection termination. This element is only used when the protocol is set to TCP. + :type enable_tcp_reset: bool + :ivar provisioning_state: The provisioning state of the inbound NAT rule resource. Possible + values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'backend_ip_configuration': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'frontend_ip_configuration': {'key': 'properties.frontendIPConfiguration', 'type': 'SubResource'}, + 'backend_ip_configuration': {'key': 'properties.backendIPConfiguration', 'type': 'NetworkInterfaceIPConfiguration'}, + 'protocol': {'key': 'properties.protocol', 'type': 'str'}, + 'frontend_port': {'key': 'properties.frontendPort', 'type': 'int'}, + 'backend_port': {'key': 'properties.backendPort', 'type': 'int'}, + 'idle_timeout_in_minutes': {'key': 'properties.idleTimeoutInMinutes', 'type': 'int'}, + 'enable_floating_ip': {'key': 'properties.enableFloatingIP', 'type': 'bool'}, + 'enable_tcp_reset': {'key': 'properties.enableTcpReset', 'type': 'bool'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + name: Optional[str] = None, + frontend_ip_configuration: Optional["SubResource"] = None, + protocol: Optional[Union[str, "TransportProtocol"]] = None, + frontend_port: Optional[int] = None, + backend_port: Optional[int] = None, + idle_timeout_in_minutes: Optional[int] = None, + enable_floating_ip: Optional[bool] = None, + enable_tcp_reset: Optional[bool] = None, + **kwargs + ): + super(InboundNatRule, self).__init__(id=id, **kwargs) + self.name = name + self.etag = None + self.type = None + self.frontend_ip_configuration = frontend_ip_configuration + self.backend_ip_configuration = None + self.protocol = protocol + self.frontend_port = frontend_port + self.backend_port = backend_port + self.idle_timeout_in_minutes = idle_timeout_in_minutes + self.enable_floating_ip = enable_floating_ip + self.enable_tcp_reset = enable_tcp_reset + self.provisioning_state = None + + +class InboundNatRuleListResult(msrest.serialization.Model): + """Response for ListInboundNatRule API service call. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: A list of inbound nat rules in a load balancer. + :type value: list[~azure.mgmt.network.v2021_02_01.models.InboundNatRule] + :ivar next_link: The URL to get the next set of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[InboundNatRule]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["InboundNatRule"]] = None, + **kwargs + ): + super(InboundNatRuleListResult, self).__init__(**kwargs) + self.value = value + self.next_link = None + + +class InboundSecurityRule(SubResource): + """NVA Inbound Security Rule resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: Name of security rule collection. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: NVA inbound security rule type. + :vartype type: str + :param rules: List of allowed rules. + :type rules: list[~azure.mgmt.network.v2021_02_01.models.InboundSecurityRules] + :ivar provisioning_state: The provisioning state of the resource. Possible values include: + "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'rules': {'key': 'properties.rules', 'type': '[InboundSecurityRules]'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + name: Optional[str] = None, + rules: Optional[List["InboundSecurityRules"]] = None, + **kwargs + ): + super(InboundSecurityRule, self).__init__(id=id, **kwargs) + self.name = name + self.etag = None + self.type = None + self.rules = rules + self.provisioning_state = None + + +class InboundSecurityRules(msrest.serialization.Model): + """Properties of the Inbound Security Rules resource. + + :param protocol: Protocol. This should be either TCP or UDP. Possible values include: "TCP", + "UDP". + :type protocol: str or ~azure.mgmt.network.v2021_02_01.models.InboundSecurityRulesProtocol + :param source_address_prefix: The CIDR or source IP range. Only /30, /31 and /32 Ip ranges are + allowed. + :type source_address_prefix: str + :param destination_port_range: NVA port ranges to be opened up. One needs to provide specific + ports. + :type destination_port_range: int + """ + + _validation = { + 'destination_port_range': {'maximum': 65535, 'minimum': 0}, + } + + _attribute_map = { + 'protocol': {'key': 'protocol', 'type': 'str'}, + 'source_address_prefix': {'key': 'sourceAddressPrefix', 'type': 'str'}, + 'destination_port_range': {'key': 'destinationPortRange', 'type': 'int'}, + } + + def __init__( + self, + *, + protocol: Optional[Union[str, "InboundSecurityRulesProtocol"]] = None, + source_address_prefix: Optional[str] = None, + destination_port_range: Optional[int] = None, + **kwargs + ): + super(InboundSecurityRules, self).__init__(**kwargs) + self.protocol = protocol + self.source_address_prefix = source_address_prefix + self.destination_port_range = destination_port_range + + +class IPAddressAvailabilityResult(msrest.serialization.Model): + """Response for CheckIPAddressAvailability API service call. + + :param available: Private IP address availability. + :type available: bool + :param available_ip_addresses: Contains other available private IP addresses if the asked for + address is taken. + :type available_ip_addresses: list[str] + :param is_platform_reserved: Private IP address platform reserved. + :type is_platform_reserved: bool + """ + + _attribute_map = { + 'available': {'key': 'available', 'type': 'bool'}, + 'available_ip_addresses': {'key': 'availableIPAddresses', 'type': '[str]'}, + 'is_platform_reserved': {'key': 'isPlatformReserved', 'type': 'bool'}, + } + + def __init__( + self, + *, + available: Optional[bool] = None, + available_ip_addresses: Optional[List[str]] = None, + is_platform_reserved: Optional[bool] = None, + **kwargs + ): + super(IPAddressAvailabilityResult, self).__init__(**kwargs) + self.available = available + self.available_ip_addresses = available_ip_addresses + self.is_platform_reserved = is_platform_reserved + + +class IpAllocation(Resource): + """IpAllocation resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar subnet: The Subnet that using the prefix of this IpAllocation resource. + :vartype subnet: ~azure.mgmt.network.v2021_02_01.models.SubResource + :ivar virtual_network: The VirtualNetwork that using the prefix of this IpAllocation resource. + :vartype virtual_network: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param type_properties_type: The type for the IpAllocation. Possible values include: + "Undefined", "Hypernet". + :type type_properties_type: str or ~azure.mgmt.network.v2021_02_01.models.IpAllocationType + :param prefix: The address prefix for the IpAllocation. + :type prefix: str + :param prefix_length: The address prefix length for the IpAllocation. + :type prefix_length: int + :param prefix_type: The address prefix Type for the IpAllocation. Possible values include: + "IPv4", "IPv6". + :type prefix_type: str or ~azure.mgmt.network.v2021_02_01.models.IPVersion + :param ipam_allocation_id: The IPAM allocation ID. + :type ipam_allocation_id: str + :param allocation_tags: IpAllocation tags. + :type allocation_tags: dict[str, str] + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'subnet': {'readonly': True}, + 'virtual_network': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'subnet': {'key': 'properties.subnet', 'type': 'SubResource'}, + 'virtual_network': {'key': 'properties.virtualNetwork', 'type': 'SubResource'}, + 'type_properties_type': {'key': 'properties.type', 'type': 'str'}, + 'prefix': {'key': 'properties.prefix', 'type': 'str'}, + 'prefix_length': {'key': 'properties.prefixLength', 'type': 'int'}, + 'prefix_type': {'key': 'properties.prefixType', 'type': 'str'}, + 'ipam_allocation_id': {'key': 'properties.ipamAllocationId', 'type': 'str'}, + 'allocation_tags': {'key': 'properties.allocationTags', 'type': '{str}'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + location: Optional[str] = None, + tags: Optional[Dict[str, str]] = None, + type_properties_type: Optional[Union[str, "IpAllocationType"]] = None, + prefix: Optional[str] = None, + prefix_length: Optional[int] = 0, + prefix_type: Optional[Union[str, "IPVersion"]] = None, + ipam_allocation_id: Optional[str] = None, + allocation_tags: Optional[Dict[str, str]] = None, + **kwargs + ): + super(IpAllocation, self).__init__(id=id, location=location, tags=tags, **kwargs) + self.etag = None + self.subnet = None + self.virtual_network = None + self.type_properties_type = type_properties_type + self.prefix = prefix + self.prefix_length = prefix_length + self.prefix_type = prefix_type + self.ipam_allocation_id = ipam_allocation_id + self.allocation_tags = allocation_tags + + +class IpAllocationListResult(msrest.serialization.Model): + """Response for the ListIpAllocations API service call. + + :param value: A list of IpAllocation resources. + :type value: list[~azure.mgmt.network.v2021_02_01.models.IpAllocation] + :param next_link: The URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[IpAllocation]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["IpAllocation"]] = None, + next_link: Optional[str] = None, + **kwargs + ): + super(IpAllocationListResult, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class IPConfiguration(SubResource): + """IP configuration. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: The name of the resource that is unique within a resource group. This name can be + used to access the resource. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param private_ip_address: The private IP address of the IP configuration. + :type private_ip_address: str + :param private_ip_allocation_method: The private IP address allocation method. Possible values + include: "Static", "Dynamic". + :type private_ip_allocation_method: str or + ~azure.mgmt.network.v2021_02_01.models.IPAllocationMethod + :param subnet: The reference to the subnet resource. + :type subnet: ~azure.mgmt.network.v2021_02_01.models.Subnet + :param public_ip_address: The reference to the public IP resource. + :type public_ip_address: ~azure.mgmt.network.v2021_02_01.models.PublicIPAddress + :ivar provisioning_state: The provisioning state of the IP configuration resource. Possible + values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'private_ip_address': {'key': 'properties.privateIPAddress', 'type': 'str'}, + 'private_ip_allocation_method': {'key': 'properties.privateIPAllocationMethod', 'type': 'str'}, + 'subnet': {'key': 'properties.subnet', 'type': 'Subnet'}, + 'public_ip_address': {'key': 'properties.publicIPAddress', 'type': 'PublicIPAddress'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + name: Optional[str] = None, + private_ip_address: Optional[str] = None, + private_ip_allocation_method: Optional[Union[str, "IPAllocationMethod"]] = None, + subnet: Optional["Subnet"] = None, + public_ip_address: Optional["PublicIPAddress"] = None, + **kwargs + ): + super(IPConfiguration, self).__init__(id=id, **kwargs) + self.name = name + self.etag = None + self.private_ip_address = private_ip_address + self.private_ip_allocation_method = private_ip_allocation_method + self.subnet = subnet + self.public_ip_address = public_ip_address + self.provisioning_state = None + + +class IPConfigurationBgpPeeringAddress(msrest.serialization.Model): + """Properties of IPConfigurationBgpPeeringAddress. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param ipconfiguration_id: The ID of IP configuration which belongs to gateway. + :type ipconfiguration_id: str + :ivar default_bgp_ip_addresses: The list of default BGP peering addresses which belong to IP + configuration. + :vartype default_bgp_ip_addresses: list[str] + :param custom_bgp_ip_addresses: The list of custom BGP peering addresses which belong to IP + configuration. + :type custom_bgp_ip_addresses: list[str] + :ivar tunnel_ip_addresses: The list of tunnel public IP addresses which belong to IP + configuration. + :vartype tunnel_ip_addresses: list[str] + """ + + _validation = { + 'default_bgp_ip_addresses': {'readonly': True}, + 'tunnel_ip_addresses': {'readonly': True}, + } + + _attribute_map = { + 'ipconfiguration_id': {'key': 'ipconfigurationId', 'type': 'str'}, + 'default_bgp_ip_addresses': {'key': 'defaultBgpIpAddresses', 'type': '[str]'}, + 'custom_bgp_ip_addresses': {'key': 'customBgpIpAddresses', 'type': '[str]'}, + 'tunnel_ip_addresses': {'key': 'tunnelIpAddresses', 'type': '[str]'}, + } + + def __init__( + self, + *, + ipconfiguration_id: Optional[str] = None, + custom_bgp_ip_addresses: Optional[List[str]] = None, + **kwargs + ): + super(IPConfigurationBgpPeeringAddress, self).__init__(**kwargs) + self.ipconfiguration_id = ipconfiguration_id + self.default_bgp_ip_addresses = None + self.custom_bgp_ip_addresses = custom_bgp_ip_addresses + self.tunnel_ip_addresses = None + + +class IPConfigurationProfile(SubResource): + """IP configuration profile child resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: The name of the resource. This name can be used to access the resource. + :type name: str + :ivar type: Sub Resource type. + :vartype type: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param subnet: The reference to the subnet resource to create a container network interface ip + configuration. + :type subnet: ~azure.mgmt.network.v2021_02_01.models.Subnet + :ivar provisioning_state: The provisioning state of the IP configuration profile resource. + Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'subnet': {'key': 'properties.subnet', 'type': 'Subnet'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + name: Optional[str] = None, + subnet: Optional["Subnet"] = None, + **kwargs + ): + super(IPConfigurationProfile, self).__init__(id=id, **kwargs) + self.name = name + self.type = None + self.etag = None + self.subnet = subnet + self.provisioning_state = None + + +class IpGroup(Resource): + """The IpGroups resource information. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar provisioning_state: The provisioning state of the IpGroups resource. Possible values + include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :param ip_addresses: IpAddresses/IpAddressPrefixes in the IpGroups resource. + :type ip_addresses: list[str] + :ivar firewalls: List of references to Firewall resources that this IpGroups is associated + with. + :vartype firewalls: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + :ivar firewall_policies: List of references to Firewall Policies resources that this IpGroups + is associated with. + :vartype firewall_policies: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'firewalls': {'readonly': True}, + 'firewall_policies': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'ip_addresses': {'key': 'properties.ipAddresses', 'type': '[str]'}, + 'firewalls': {'key': 'properties.firewalls', 'type': '[SubResource]'}, + 'firewall_policies': {'key': 'properties.firewallPolicies', 'type': '[SubResource]'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + location: Optional[str] = None, + tags: Optional[Dict[str, str]] = None, + ip_addresses: Optional[List[str]] = None, + **kwargs + ): + super(IpGroup, self).__init__(id=id, location=location, tags=tags, **kwargs) + self.etag = None + self.provisioning_state = None + self.ip_addresses = ip_addresses + self.firewalls = None + self.firewall_policies = None + + +class IpGroupListResult(msrest.serialization.Model): + """Response for the ListIpGroups API service call. + + :param value: The list of IpGroups information resources. + :type value: list[~azure.mgmt.network.v2021_02_01.models.IpGroup] + :param next_link: URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[IpGroup]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["IpGroup"]] = None, + next_link: Optional[str] = None, + **kwargs + ): + super(IpGroupListResult, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class IpsecPolicy(msrest.serialization.Model): + """An IPSec Policy configuration for a virtual network gateway connection. + + All required parameters must be populated in order to send to Azure. + + :param sa_life_time_seconds: Required. The IPSec Security Association (also called Quick Mode + or Phase 2 SA) lifetime in seconds for a site to site VPN tunnel. + :type sa_life_time_seconds: int + :param sa_data_size_kilobytes: Required. The IPSec Security Association (also called Quick Mode + or Phase 2 SA) payload size in KB for a site to site VPN tunnel. + :type sa_data_size_kilobytes: int + :param ipsec_encryption: Required. The IPSec encryption algorithm (IKE phase 1). Possible + values include: "None", "DES", "DES3", "AES128", "AES192", "AES256", "GCMAES128", "GCMAES192", + "GCMAES256". + :type ipsec_encryption: str or ~azure.mgmt.network.v2021_02_01.models.IpsecEncryption + :param ipsec_integrity: Required. The IPSec integrity algorithm (IKE phase 1). Possible values + include: "MD5", "SHA1", "SHA256", "GCMAES128", "GCMAES192", "GCMAES256". + :type ipsec_integrity: str or ~azure.mgmt.network.v2021_02_01.models.IpsecIntegrity + :param ike_encryption: Required. The IKE encryption algorithm (IKE phase 2). Possible values + include: "DES", "DES3", "AES128", "AES192", "AES256", "GCMAES256", "GCMAES128". + :type ike_encryption: str or ~azure.mgmt.network.v2021_02_01.models.IkeEncryption + :param ike_integrity: Required. The IKE integrity algorithm (IKE phase 2). Possible values + include: "MD5", "SHA1", "SHA256", "SHA384", "GCMAES256", "GCMAES128". + :type ike_integrity: str or ~azure.mgmt.network.v2021_02_01.models.IkeIntegrity + :param dh_group: Required. The DH Group used in IKE Phase 1 for initial SA. Possible values + include: "None", "DHGroup1", "DHGroup2", "DHGroup14", "DHGroup2048", "ECP256", "ECP384", + "DHGroup24". + :type dh_group: str or ~azure.mgmt.network.v2021_02_01.models.DhGroup + :param pfs_group: Required. The Pfs Group used in IKE Phase 2 for new child SA. Possible values + include: "None", "PFS1", "PFS2", "PFS2048", "ECP256", "ECP384", "PFS24", "PFS14", "PFSMM". + :type pfs_group: str or ~azure.mgmt.network.v2021_02_01.models.PfsGroup + """ + + _validation = { + 'sa_life_time_seconds': {'required': True}, + 'sa_data_size_kilobytes': {'required': True}, + 'ipsec_encryption': {'required': True}, + 'ipsec_integrity': {'required': True}, + 'ike_encryption': {'required': True}, + 'ike_integrity': {'required': True}, + 'dh_group': {'required': True}, + 'pfs_group': {'required': True}, + } + + _attribute_map = { + 'sa_life_time_seconds': {'key': 'saLifeTimeSeconds', 'type': 'int'}, + 'sa_data_size_kilobytes': {'key': 'saDataSizeKilobytes', 'type': 'int'}, + 'ipsec_encryption': {'key': 'ipsecEncryption', 'type': 'str'}, + 'ipsec_integrity': {'key': 'ipsecIntegrity', 'type': 'str'}, + 'ike_encryption': {'key': 'ikeEncryption', 'type': 'str'}, + 'ike_integrity': {'key': 'ikeIntegrity', 'type': 'str'}, + 'dh_group': {'key': 'dhGroup', 'type': 'str'}, + 'pfs_group': {'key': 'pfsGroup', 'type': 'str'}, + } + + def __init__( + self, + *, + sa_life_time_seconds: int, + sa_data_size_kilobytes: int, + ipsec_encryption: Union[str, "IpsecEncryption"], + ipsec_integrity: Union[str, "IpsecIntegrity"], + ike_encryption: Union[str, "IkeEncryption"], + ike_integrity: Union[str, "IkeIntegrity"], + dh_group: Union[str, "DhGroup"], + pfs_group: Union[str, "PfsGroup"], + **kwargs + ): + super(IpsecPolicy, self).__init__(**kwargs) + self.sa_life_time_seconds = sa_life_time_seconds + self.sa_data_size_kilobytes = sa_data_size_kilobytes + self.ipsec_encryption = ipsec_encryption + self.ipsec_integrity = ipsec_integrity + self.ike_encryption = ike_encryption + self.ike_integrity = ike_integrity + self.dh_group = dh_group + self.pfs_group = pfs_group + + +class IpTag(msrest.serialization.Model): + """Contains the IpTag associated with the object. + + :param ip_tag_type: The IP tag type. Example: FirstPartyUsage. + :type ip_tag_type: str + :param tag: The value of the IP tag associated with the public IP. Example: SQL. + :type tag: str + """ + + _attribute_map = { + 'ip_tag_type': {'key': 'ipTagType', 'type': 'str'}, + 'tag': {'key': 'tag', 'type': 'str'}, + } + + def __init__( + self, + *, + ip_tag_type: Optional[str] = None, + tag: Optional[str] = None, + **kwargs + ): + super(IpTag, self).__init__(**kwargs) + self.ip_tag_type = ip_tag_type + self.tag = tag + + +class Ipv6CircuitConnectionConfig(msrest.serialization.Model): + """IPv6 Circuit Connection properties for global reach. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param address_prefix: /125 IP address space to carve out customer addresses for global reach. + :type address_prefix: str + :ivar circuit_connection_status: Express Route Circuit connection state. Possible values + include: "Connected", "Connecting", "Disconnected". + :vartype circuit_connection_status: str or + ~azure.mgmt.network.v2021_02_01.models.CircuitConnectionStatus + """ + + _validation = { + 'circuit_connection_status': {'readonly': True}, + } + + _attribute_map = { + 'address_prefix': {'key': 'addressPrefix', 'type': 'str'}, + 'circuit_connection_status': {'key': 'circuitConnectionStatus', 'type': 'str'}, + } + + def __init__( + self, + *, + address_prefix: Optional[str] = None, + **kwargs + ): + super(Ipv6CircuitConnectionConfig, self).__init__(**kwargs) + self.address_prefix = address_prefix + self.circuit_connection_status = None + + +class Ipv6ExpressRouteCircuitPeeringConfig(msrest.serialization.Model): + """Contains IPv6 peering config. + + :param primary_peer_address_prefix: The primary address prefix. + :type primary_peer_address_prefix: str + :param secondary_peer_address_prefix: The secondary address prefix. + :type secondary_peer_address_prefix: str + :param microsoft_peering_config: The Microsoft peering configuration. + :type microsoft_peering_config: + ~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitPeeringConfig + :param route_filter: The reference to the RouteFilter resource. + :type route_filter: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param state: The state of peering. Possible values include: "Disabled", "Enabled". + :type state: str or ~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitPeeringState + """ + + _attribute_map = { + 'primary_peer_address_prefix': {'key': 'primaryPeerAddressPrefix', 'type': 'str'}, + 'secondary_peer_address_prefix': {'key': 'secondaryPeerAddressPrefix', 'type': 'str'}, + 'microsoft_peering_config': {'key': 'microsoftPeeringConfig', 'type': 'ExpressRouteCircuitPeeringConfig'}, + 'route_filter': {'key': 'routeFilter', 'type': 'SubResource'}, + 'state': {'key': 'state', 'type': 'str'}, + } + + def __init__( + self, + *, + primary_peer_address_prefix: Optional[str] = None, + secondary_peer_address_prefix: Optional[str] = None, + microsoft_peering_config: Optional["ExpressRouteCircuitPeeringConfig"] = None, + route_filter: Optional["SubResource"] = None, + state: Optional[Union[str, "ExpressRouteCircuitPeeringState"]] = None, + **kwargs + ): + super(Ipv6ExpressRouteCircuitPeeringConfig, self).__init__(**kwargs) + self.primary_peer_address_prefix = primary_peer_address_prefix + self.secondary_peer_address_prefix = secondary_peer_address_prefix + self.microsoft_peering_config = microsoft_peering_config + self.route_filter = route_filter + self.state = state + + +class ListHubRouteTablesResult(msrest.serialization.Model): + """List of RouteTables and a URL nextLink to get the next set of results. + + :param value: List of RouteTables. + :type value: list[~azure.mgmt.network.v2021_02_01.models.HubRouteTable] + :param next_link: URL to get the next set of operation list results if there are any. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[HubRouteTable]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["HubRouteTable"]] = None, + next_link: Optional[str] = None, + **kwargs + ): + super(ListHubRouteTablesResult, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class ListHubVirtualNetworkConnectionsResult(msrest.serialization.Model): + """List of HubVirtualNetworkConnections and a URL nextLink to get the next set of results. + + :param value: List of HubVirtualNetworkConnections. + :type value: list[~azure.mgmt.network.v2021_02_01.models.HubVirtualNetworkConnection] + :param next_link: URL to get the next set of operation list results if there are any. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[HubVirtualNetworkConnection]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["HubVirtualNetworkConnection"]] = None, + next_link: Optional[str] = None, + **kwargs + ): + super(ListHubVirtualNetworkConnectionsResult, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class ListP2SVpnGatewaysResult(msrest.serialization.Model): + """Result of the request to list P2SVpnGateways. It contains a list of P2SVpnGateways and a URL nextLink to get the next set of results. + + :param value: List of P2SVpnGateways. + :type value: list[~azure.mgmt.network.v2021_02_01.models.P2SVpnGateway] + :param next_link: URL to get the next set of operation list results if there are any. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[P2SVpnGateway]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["P2SVpnGateway"]] = None, + next_link: Optional[str] = None, + **kwargs + ): + super(ListP2SVpnGatewaysResult, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class ListVirtualHubBgpConnectionResults(msrest.serialization.Model): + """VirtualHubBgpConnections list. + + :param value: The list of VirtualHubBgpConnections. + :type value: list[~azure.mgmt.network.v2021_02_01.models.BgpConnection] + :param next_link: URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[BgpConnection]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["BgpConnection"]] = None, + next_link: Optional[str] = None, + **kwargs + ): + super(ListVirtualHubBgpConnectionResults, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class ListVirtualHubIpConfigurationResults(msrest.serialization.Model): + """VirtualHubIpConfigurations list. + + :param value: The list of VirtualHubIpConfigurations. + :type value: list[~azure.mgmt.network.v2021_02_01.models.HubIpConfiguration] + :param next_link: URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[HubIpConfiguration]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["HubIpConfiguration"]] = None, + next_link: Optional[str] = None, + **kwargs + ): + super(ListVirtualHubIpConfigurationResults, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class ListVirtualHubRouteTableV2SResult(msrest.serialization.Model): + """List of VirtualHubRouteTableV2s and a URL nextLink to get the next set of results. + + :param value: List of VirtualHubRouteTableV2s. + :type value: list[~azure.mgmt.network.v2021_02_01.models.VirtualHubRouteTableV2] + :param next_link: URL to get the next set of operation list results if there are any. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[VirtualHubRouteTableV2]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["VirtualHubRouteTableV2"]] = None, + next_link: Optional[str] = None, + **kwargs + ): + super(ListVirtualHubRouteTableV2SResult, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class ListVirtualHubsResult(msrest.serialization.Model): + """Result of the request to list VirtualHubs. It contains a list of VirtualHubs and a URL nextLink to get the next set of results. + + :param value: List of VirtualHubs. + :type value: list[~azure.mgmt.network.v2021_02_01.models.VirtualHub] + :param next_link: URL to get the next set of operation list results if there are any. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[VirtualHub]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["VirtualHub"]] = None, + next_link: Optional[str] = None, + **kwargs + ): + super(ListVirtualHubsResult, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class ListVirtualNetworkGatewayNatRulesResult(msrest.serialization.Model): + """Result of the request to list all nat rules to a virtual network gateway. It contains a list of Nat rules and a URL nextLink to get the next set of results. + + :param value: List of Nat Rules. + :type value: list[~azure.mgmt.network.v2021_02_01.models.VirtualNetworkGatewayNatRule] + :param next_link: URL to get the next set of operation list results if there are any. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[VirtualNetworkGatewayNatRule]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["VirtualNetworkGatewayNatRule"]] = None, + next_link: Optional[str] = None, + **kwargs + ): + super(ListVirtualNetworkGatewayNatRulesResult, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class ListVirtualWANsResult(msrest.serialization.Model): + """Result of the request to list VirtualWANs. It contains a list of VirtualWANs and a URL nextLink to get the next set of results. + + :param value: List of VirtualWANs. + :type value: list[~azure.mgmt.network.v2021_02_01.models.VirtualWAN] + :param next_link: URL to get the next set of operation list results if there are any. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[VirtualWAN]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["VirtualWAN"]] = None, + next_link: Optional[str] = None, + **kwargs + ): + super(ListVirtualWANsResult, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class ListVpnConnectionsResult(msrest.serialization.Model): + """Result of the request to list all vpn connections to a virtual wan vpn gateway. It contains a list of Vpn Connections and a URL nextLink to get the next set of results. + + :param value: List of Vpn Connections. + :type value: list[~azure.mgmt.network.v2021_02_01.models.VpnConnection] + :param next_link: URL to get the next set of operation list results if there are any. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[VpnConnection]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["VpnConnection"]] = None, + next_link: Optional[str] = None, + **kwargs + ): + super(ListVpnConnectionsResult, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class ListVpnGatewayNatRulesResult(msrest.serialization.Model): + """Result of the request to list all nat rules to a virtual wan vpn gateway. It contains a list of Nat rules and a URL nextLink to get the next set of results. + + :param value: List of Nat Rules. + :type value: list[~azure.mgmt.network.v2021_02_01.models.VpnGatewayNatRule] + :param next_link: URL to get the next set of operation list results if there are any. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[VpnGatewayNatRule]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["VpnGatewayNatRule"]] = None, + next_link: Optional[str] = None, + **kwargs + ): + super(ListVpnGatewayNatRulesResult, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class ListVpnGatewaysResult(msrest.serialization.Model): + """Result of the request to list VpnGateways. It contains a list of VpnGateways and a URL nextLink to get the next set of results. + + :param value: List of VpnGateways. + :type value: list[~azure.mgmt.network.v2021_02_01.models.VpnGateway] + :param next_link: URL to get the next set of operation list results if there are any. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[VpnGateway]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["VpnGateway"]] = None, + next_link: Optional[str] = None, + **kwargs + ): + super(ListVpnGatewaysResult, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class ListVpnServerConfigurationsResult(msrest.serialization.Model): + """Result of the request to list all VpnServerConfigurations. It contains a list of VpnServerConfigurations and a URL nextLink to get the next set of results. + + :param value: List of VpnServerConfigurations. + :type value: list[~azure.mgmt.network.v2021_02_01.models.VpnServerConfiguration] + :param next_link: URL to get the next set of operation list results if there are any. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[VpnServerConfiguration]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["VpnServerConfiguration"]] = None, + next_link: Optional[str] = None, + **kwargs + ): + super(ListVpnServerConfigurationsResult, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class ListVpnSiteLinkConnectionsResult(msrest.serialization.Model): + """Result of the request to list all vpn connections to a virtual wan vpn gateway. It contains a list of Vpn Connections and a URL nextLink to get the next set of results. + + :param value: List of VpnSiteLinkConnections. + :type value: list[~azure.mgmt.network.v2021_02_01.models.VpnSiteLinkConnection] + :param next_link: URL to get the next set of operation list results if there are any. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[VpnSiteLinkConnection]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["VpnSiteLinkConnection"]] = None, + next_link: Optional[str] = None, + **kwargs + ): + super(ListVpnSiteLinkConnectionsResult, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class ListVpnSiteLinksResult(msrest.serialization.Model): + """Result of the request to list VpnSiteLinks. It contains a list of VpnSiteLinks and a URL nextLink to get the next set of results. + + :param value: List of VpnSitesLinks. + :type value: list[~azure.mgmt.network.v2021_02_01.models.VpnSiteLink] + :param next_link: URL to get the next set of operation list results if there are any. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[VpnSiteLink]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["VpnSiteLink"]] = None, + next_link: Optional[str] = None, + **kwargs + ): + super(ListVpnSiteLinksResult, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class ListVpnSitesResult(msrest.serialization.Model): + """Result of the request to list VpnSites. It contains a list of VpnSites and a URL nextLink to get the next set of results. + + :param value: List of VpnSites. + :type value: list[~azure.mgmt.network.v2021_02_01.models.VpnSite] + :param next_link: URL to get the next set of operation list results if there are any. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[VpnSite]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["VpnSite"]] = None, + next_link: Optional[str] = None, + **kwargs + ): + super(ListVpnSitesResult, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class LoadBalancer(Resource): + """LoadBalancer resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :param extended_location: The extended location of the load balancer. + :type extended_location: ~azure.mgmt.network.v2021_02_01.models.ExtendedLocation + :param sku: The load balancer SKU. + :type sku: ~azure.mgmt.network.v2021_02_01.models.LoadBalancerSku + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param frontend_ip_configurations: Object representing the frontend IPs to be used for the load + balancer. + :type frontend_ip_configurations: + list[~azure.mgmt.network.v2021_02_01.models.FrontendIPConfiguration] + :param backend_address_pools: Collection of backend address pools used by a load balancer. + :type backend_address_pools: list[~azure.mgmt.network.v2021_02_01.models.BackendAddressPool] + :param load_balancing_rules: Object collection representing the load balancing rules Gets the + provisioning. + :type load_balancing_rules: list[~azure.mgmt.network.v2021_02_01.models.LoadBalancingRule] + :param probes: Collection of probe objects used in the load balancer. + :type probes: list[~azure.mgmt.network.v2021_02_01.models.Probe] + :param inbound_nat_rules: Collection of inbound NAT Rules used by a load balancer. Defining + inbound NAT rules on your load balancer is mutually exclusive with defining an inbound NAT + pool. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are + associated with individual virtual machines cannot reference an Inbound NAT pool. They have to + reference individual inbound NAT rules. + :type inbound_nat_rules: list[~azure.mgmt.network.v2021_02_01.models.InboundNatRule] + :param inbound_nat_pools: Defines an external port range for inbound NAT to a single backend + port on NICs associated with a load balancer. Inbound NAT rules are created automatically for + each NIC associated with the Load Balancer using an external port from this range. Defining an + Inbound NAT pool on your Load Balancer is mutually exclusive with defining inbound Nat rules. + Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with + individual virtual machines cannot reference an inbound NAT pool. They have to reference + individual inbound NAT rules. + :type inbound_nat_pools: list[~azure.mgmt.network.v2021_02_01.models.InboundNatPool] + :param outbound_rules: The outbound rules. + :type outbound_rules: list[~azure.mgmt.network.v2021_02_01.models.OutboundRule] + :ivar resource_guid: The resource GUID property of the load balancer resource. + :vartype resource_guid: str + :ivar provisioning_state: The provisioning state of the load balancer resource. Possible values + include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'resource_guid': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'extended_location': {'key': 'extendedLocation', 'type': 'ExtendedLocation'}, + 'sku': {'key': 'sku', 'type': 'LoadBalancerSku'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'frontend_ip_configurations': {'key': 'properties.frontendIPConfigurations', 'type': '[FrontendIPConfiguration]'}, + 'backend_address_pools': {'key': 'properties.backendAddressPools', 'type': '[BackendAddressPool]'}, + 'load_balancing_rules': {'key': 'properties.loadBalancingRules', 'type': '[LoadBalancingRule]'}, + 'probes': {'key': 'properties.probes', 'type': '[Probe]'}, + 'inbound_nat_rules': {'key': 'properties.inboundNatRules', 'type': '[InboundNatRule]'}, + 'inbound_nat_pools': {'key': 'properties.inboundNatPools', 'type': '[InboundNatPool]'}, + 'outbound_rules': {'key': 'properties.outboundRules', 'type': '[OutboundRule]'}, + 'resource_guid': {'key': 'properties.resourceGuid', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + location: Optional[str] = None, + tags: Optional[Dict[str, str]] = None, + extended_location: Optional["ExtendedLocation"] = None, + sku: Optional["LoadBalancerSku"] = None, + frontend_ip_configurations: Optional[List["FrontendIPConfiguration"]] = None, + backend_address_pools: Optional[List["BackendAddressPool"]] = None, + load_balancing_rules: Optional[List["LoadBalancingRule"]] = None, + probes: Optional[List["Probe"]] = None, + inbound_nat_rules: Optional[List["InboundNatRule"]] = None, + inbound_nat_pools: Optional[List["InboundNatPool"]] = None, + outbound_rules: Optional[List["OutboundRule"]] = None, + **kwargs + ): + super(LoadBalancer, self).__init__(id=id, location=location, tags=tags, **kwargs) + self.extended_location = extended_location + self.sku = sku + self.etag = None + self.frontend_ip_configurations = frontend_ip_configurations + self.backend_address_pools = backend_address_pools + self.load_balancing_rules = load_balancing_rules + self.probes = probes + self.inbound_nat_rules = inbound_nat_rules + self.inbound_nat_pools = inbound_nat_pools + self.outbound_rules = outbound_rules + self.resource_guid = None + self.provisioning_state = None + + +class LoadBalancerBackendAddress(msrest.serialization.Model): + """Load balancer backend addresses. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param name: Name of the backend address. + :type name: str + :param virtual_network: Reference to an existing virtual network. + :type virtual_network: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param subnet: Reference to an existing subnet. + :type subnet: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param ip_address: IP Address belonging to the referenced virtual network. + :type ip_address: str + :ivar network_interface_ip_configuration: Reference to IP address defined in network + interfaces. + :vartype network_interface_ip_configuration: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param load_balancer_frontend_ip_configuration: Reference to the frontend ip address + configuration defined in regional loadbalancer. + :type load_balancer_frontend_ip_configuration: + ~azure.mgmt.network.v2021_02_01.models.SubResource + """ + + _validation = { + 'network_interface_ip_configuration': {'readonly': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'virtual_network': {'key': 'properties.virtualNetwork', 'type': 'SubResource'}, + 'subnet': {'key': 'properties.subnet', 'type': 'SubResource'}, + 'ip_address': {'key': 'properties.ipAddress', 'type': 'str'}, + 'network_interface_ip_configuration': {'key': 'properties.networkInterfaceIPConfiguration', 'type': 'SubResource'}, + 'load_balancer_frontend_ip_configuration': {'key': 'properties.loadBalancerFrontendIPConfiguration', 'type': 'SubResource'}, + } + + def __init__( + self, + *, + name: Optional[str] = None, + virtual_network: Optional["SubResource"] = None, + subnet: Optional["SubResource"] = None, + ip_address: Optional[str] = None, + load_balancer_frontend_ip_configuration: Optional["SubResource"] = None, + **kwargs + ): + super(LoadBalancerBackendAddress, self).__init__(**kwargs) + self.name = name + self.virtual_network = virtual_network + self.subnet = subnet + self.ip_address = ip_address + self.network_interface_ip_configuration = None + self.load_balancer_frontend_ip_configuration = load_balancer_frontend_ip_configuration + + +class LoadBalancerBackendAddressPoolListResult(msrest.serialization.Model): + """Response for ListBackendAddressPool API service call. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: A list of backend address pools in a load balancer. + :type value: list[~azure.mgmt.network.v2021_02_01.models.BackendAddressPool] + :ivar next_link: The URL to get the next set of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[BackendAddressPool]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["BackendAddressPool"]] = None, + **kwargs + ): + super(LoadBalancerBackendAddressPoolListResult, self).__init__(**kwargs) + self.value = value + self.next_link = None + + +class LoadBalancerFrontendIPConfigurationListResult(msrest.serialization.Model): + """Response for ListFrontendIPConfiguration API service call. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: A list of frontend IP configurations in a load balancer. + :type value: list[~azure.mgmt.network.v2021_02_01.models.FrontendIPConfiguration] + :ivar next_link: The URL to get the next set of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[FrontendIPConfiguration]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["FrontendIPConfiguration"]] = None, + **kwargs + ): + super(LoadBalancerFrontendIPConfigurationListResult, self).__init__(**kwargs) + self.value = value + self.next_link = None + + +class LoadBalancerListResult(msrest.serialization.Model): + """Response for ListLoadBalancers API service call. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: A list of load balancers in a resource group. + :type value: list[~azure.mgmt.network.v2021_02_01.models.LoadBalancer] + :ivar next_link: The URL to get the next set of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[LoadBalancer]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["LoadBalancer"]] = None, + **kwargs + ): + super(LoadBalancerListResult, self).__init__(**kwargs) + self.value = value + self.next_link = None + + +class LoadBalancerLoadBalancingRuleListResult(msrest.serialization.Model): + """Response for ListLoadBalancingRule API service call. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: A list of load balancing rules in a load balancer. + :type value: list[~azure.mgmt.network.v2021_02_01.models.LoadBalancingRule] + :ivar next_link: The URL to get the next set of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[LoadBalancingRule]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["LoadBalancingRule"]] = None, + **kwargs + ): + super(LoadBalancerLoadBalancingRuleListResult, self).__init__(**kwargs) + self.value = value + self.next_link = None + + +class LoadBalancerOutboundRuleListResult(msrest.serialization.Model): + """Response for ListOutboundRule API service call. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: A list of outbound rules in a load balancer. + :type value: list[~azure.mgmt.network.v2021_02_01.models.OutboundRule] + :ivar next_link: The URL to get the next set of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[OutboundRule]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["OutboundRule"]] = None, + **kwargs + ): + super(LoadBalancerOutboundRuleListResult, self).__init__(**kwargs) + self.value = value + self.next_link = None + + +class LoadBalancerProbeListResult(msrest.serialization.Model): + """Response for ListProbe API service call. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: A list of probes in a load balancer. + :type value: list[~azure.mgmt.network.v2021_02_01.models.Probe] + :ivar next_link: The URL to get the next set of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Probe]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["Probe"]] = None, + **kwargs + ): + super(LoadBalancerProbeListResult, self).__init__(**kwargs) + self.value = value + self.next_link = None + + +class LoadBalancerSku(msrest.serialization.Model): + """SKU of a load balancer. + + :param name: Name of a load balancer SKU. Possible values include: "Basic", "Standard", + "Gateway". + :type name: str or ~azure.mgmt.network.v2021_02_01.models.LoadBalancerSkuName + :param tier: Tier of a load balancer SKU. Possible values include: "Regional", "Global". + :type tier: str or ~azure.mgmt.network.v2021_02_01.models.LoadBalancerSkuTier + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'tier': {'key': 'tier', 'type': 'str'}, + } + + def __init__( + self, + *, + name: Optional[Union[str, "LoadBalancerSkuName"]] = None, + tier: Optional[Union[str, "LoadBalancerSkuTier"]] = None, + **kwargs + ): + super(LoadBalancerSku, self).__init__(**kwargs) + self.name = name + self.tier = tier + + +class LoadBalancerVipSwapRequest(msrest.serialization.Model): + """The request for a VIP swap. + + :param frontend_ip_configurations: A list of frontend IP configuration resources that should + swap VIPs. + :type frontend_ip_configurations: + list[~azure.mgmt.network.v2021_02_01.models.LoadBalancerVipSwapRequestFrontendIPConfiguration] + """ + + _attribute_map = { + 'frontend_ip_configurations': {'key': 'frontendIPConfigurations', 'type': '[LoadBalancerVipSwapRequestFrontendIPConfiguration]'}, + } + + def __init__( + self, + *, + frontend_ip_configurations: Optional[List["LoadBalancerVipSwapRequestFrontendIPConfiguration"]] = None, + **kwargs + ): + super(LoadBalancerVipSwapRequest, self).__init__(**kwargs) + self.frontend_ip_configurations = frontend_ip_configurations + + +class LoadBalancerVipSwapRequestFrontendIPConfiguration(msrest.serialization.Model): + """VIP swap request's frontend IP configuration object. + + :param id: The ID of frontend IP configuration resource. + :type id: str + :param public_ip_address: A reference to public IP address resource. + :type public_ip_address: ~azure.mgmt.network.v2021_02_01.models.SubResource + """ + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'public_ip_address': {'key': 'properties.publicIPAddress', 'type': 'SubResource'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + public_ip_address: Optional["SubResource"] = None, + **kwargs + ): + super(LoadBalancerVipSwapRequestFrontendIPConfiguration, self).__init__(**kwargs) + self.id = id + self.public_ip_address = public_ip_address + + +class LoadBalancingRule(SubResource): + """A load balancing rule for a load balancer. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: The name of the resource that is unique within the set of load balancing rules + used by the load balancer. This name can be used to access the resource. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str + :param frontend_ip_configuration: A reference to frontend IP addresses. + :type frontend_ip_configuration: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param backend_address_pool: A reference to a pool of DIPs. Inbound traffic is randomly load + balanced across IPs in the backend IPs. + :type backend_address_pool: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param backend_address_pools: An array of references to pool of DIPs. + :type backend_address_pools: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + :param probe: The reference to the load balancer probe used by the load balancing rule. + :type probe: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param protocol: The reference to the transport protocol used by the load balancing rule. + Possible values include: "Udp", "Tcp", "All". + :type protocol: str or ~azure.mgmt.network.v2021_02_01.models.TransportProtocol + :param load_distribution: The load distribution policy for this rule. Possible values include: + "Default", "SourceIP", "SourceIPProtocol". + :type load_distribution: str or ~azure.mgmt.network.v2021_02_01.models.LoadDistribution + :param frontend_port: The port for the external endpoint. Port numbers for each rule must be + unique within the Load Balancer. Acceptable values are between 0 and 65534. Note that value 0 + enables "Any Port". + :type frontend_port: int + :param backend_port: The port used for internal connections on the endpoint. Acceptable values + are between 0 and 65535. Note that value 0 enables "Any Port". + :type backend_port: int + :param idle_timeout_in_minutes: The timeout for the TCP idle connection. The value can be set + between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the + protocol is set to TCP. + :type idle_timeout_in_minutes: int + :param enable_floating_ip: Configures a virtual machine's endpoint for the floating IP + capability required to configure a SQL AlwaysOn Availability Group. This setting is required + when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed + after you create the endpoint. + :type enable_floating_ip: bool + :param enable_tcp_reset: Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected + connection termination. This element is only used when the protocol is set to TCP. + :type enable_tcp_reset: bool + :param disable_outbound_snat: Configures SNAT for the VMs in the backend pool to use the + publicIP address specified in the frontend of the load balancing rule. + :type disable_outbound_snat: bool + :ivar provisioning_state: The provisioning state of the load balancing rule resource. Possible + values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'frontend_ip_configuration': {'key': 'properties.frontendIPConfiguration', 'type': 'SubResource'}, + 'backend_address_pool': {'key': 'properties.backendAddressPool', 'type': 'SubResource'}, + 'backend_address_pools': {'key': 'properties.backendAddressPools', 'type': '[SubResource]'}, + 'probe': {'key': 'properties.probe', 'type': 'SubResource'}, + 'protocol': {'key': 'properties.protocol', 'type': 'str'}, + 'load_distribution': {'key': 'properties.loadDistribution', 'type': 'str'}, + 'frontend_port': {'key': 'properties.frontendPort', 'type': 'int'}, + 'backend_port': {'key': 'properties.backendPort', 'type': 'int'}, + 'idle_timeout_in_minutes': {'key': 'properties.idleTimeoutInMinutes', 'type': 'int'}, + 'enable_floating_ip': {'key': 'properties.enableFloatingIP', 'type': 'bool'}, + 'enable_tcp_reset': {'key': 'properties.enableTcpReset', 'type': 'bool'}, + 'disable_outbound_snat': {'key': 'properties.disableOutboundSnat', 'type': 'bool'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + name: Optional[str] = None, + frontend_ip_configuration: Optional["SubResource"] = None, + backend_address_pool: Optional["SubResource"] = None, + backend_address_pools: Optional[List["SubResource"]] = None, + probe: Optional["SubResource"] = None, + protocol: Optional[Union[str, "TransportProtocol"]] = None, + load_distribution: Optional[Union[str, "LoadDistribution"]] = None, + frontend_port: Optional[int] = None, + backend_port: Optional[int] = None, + idle_timeout_in_minutes: Optional[int] = None, + enable_floating_ip: Optional[bool] = None, + enable_tcp_reset: Optional[bool] = None, + disable_outbound_snat: Optional[bool] = None, + **kwargs + ): + super(LoadBalancingRule, self).__init__(id=id, **kwargs) + self.name = name + self.etag = None + self.type = None + self.frontend_ip_configuration = frontend_ip_configuration + self.backend_address_pool = backend_address_pool + self.backend_address_pools = backend_address_pools + self.probe = probe + self.protocol = protocol + self.load_distribution = load_distribution + self.frontend_port = frontend_port + self.backend_port = backend_port + self.idle_timeout_in_minutes = idle_timeout_in_minutes + self.enable_floating_ip = enable_floating_ip + self.enable_tcp_reset = enable_tcp_reset + self.disable_outbound_snat = disable_outbound_snat + self.provisioning_state = None + + +class LocalNetworkGateway(Resource): + """A common class for general resource information. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param local_network_address_space: Local network site address space. + :type local_network_address_space: ~azure.mgmt.network.v2021_02_01.models.AddressSpace + :param gateway_ip_address: IP address of local network gateway. + :type gateway_ip_address: str + :param fqdn: FQDN of local network gateway. + :type fqdn: str + :param bgp_settings: Local network gateway's BGP speaker settings. + :type bgp_settings: ~azure.mgmt.network.v2021_02_01.models.BgpSettings + :ivar resource_guid: The resource GUID property of the local network gateway resource. + :vartype resource_guid: str + :ivar provisioning_state: The provisioning state of the local network gateway resource. + Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'resource_guid': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'local_network_address_space': {'key': 'properties.localNetworkAddressSpace', 'type': 'AddressSpace'}, + 'gateway_ip_address': {'key': 'properties.gatewayIpAddress', 'type': 'str'}, + 'fqdn': {'key': 'properties.fqdn', 'type': 'str'}, + 'bgp_settings': {'key': 'properties.bgpSettings', 'type': 'BgpSettings'}, + 'resource_guid': {'key': 'properties.resourceGuid', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + location: Optional[str] = None, + tags: Optional[Dict[str, str]] = None, + local_network_address_space: Optional["AddressSpace"] = None, + gateway_ip_address: Optional[str] = None, + fqdn: Optional[str] = None, + bgp_settings: Optional["BgpSettings"] = None, + **kwargs + ): + super(LocalNetworkGateway, self).__init__(id=id, location=location, tags=tags, **kwargs) + self.etag = None + self.local_network_address_space = local_network_address_space + self.gateway_ip_address = gateway_ip_address + self.fqdn = fqdn + self.bgp_settings = bgp_settings + self.resource_guid = None + self.provisioning_state = None + + +class LocalNetworkGatewayListResult(msrest.serialization.Model): + """Response for ListLocalNetworkGateways API service call. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: A list of local network gateways that exists in a resource group. + :type value: list[~azure.mgmt.network.v2021_02_01.models.LocalNetworkGateway] + :ivar next_link: The URL to get the next set of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[LocalNetworkGateway]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["LocalNetworkGateway"]] = None, + **kwargs + ): + super(LocalNetworkGatewayListResult, self).__init__(**kwargs) + self.value = value + self.next_link = None + + +class LogSpecification(msrest.serialization.Model): + """Description of logging specification. + + :param name: The name of the specification. + :type name: str + :param display_name: The display name of the specification. + :type display_name: str + :param blob_duration: Duration of the blob. + :type blob_duration: str + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'display_name': {'key': 'displayName', 'type': 'str'}, + 'blob_duration': {'key': 'blobDuration', 'type': 'str'}, + } + + def __init__( + self, + *, + name: Optional[str] = None, + display_name: Optional[str] = None, + blob_duration: Optional[str] = None, + **kwargs + ): + super(LogSpecification, self).__init__(**kwargs) + self.name = name + self.display_name = display_name + self.blob_duration = blob_duration + + +class ManagedRuleGroupOverride(msrest.serialization.Model): + """Defines a managed rule group override setting. + + All required parameters must be populated in order to send to Azure. + + :param rule_group_name: Required. The managed rule group to override. + :type rule_group_name: str + :param rules: List of rules that will be disabled. If none specified, all rules in the group + will be disabled. + :type rules: list[~azure.mgmt.network.v2021_02_01.models.ManagedRuleOverride] + """ + + _validation = { + 'rule_group_name': {'required': True}, + } + + _attribute_map = { + 'rule_group_name': {'key': 'ruleGroupName', 'type': 'str'}, + 'rules': {'key': 'rules', 'type': '[ManagedRuleOverride]'}, + } + + def __init__( + self, + *, + rule_group_name: str, + rules: Optional[List["ManagedRuleOverride"]] = None, + **kwargs + ): + super(ManagedRuleGroupOverride, self).__init__(**kwargs) + self.rule_group_name = rule_group_name + self.rules = rules + + +class ManagedRuleOverride(msrest.serialization.Model): + """Defines a managed rule group override setting. + + All required parameters must be populated in order to send to Azure. + + :param rule_id: Required. Identifier for the managed rule. + :type rule_id: str + :param state: The state of the managed rule. Defaults to Disabled if not specified. Possible + values include: "Disabled". + :type state: str or ~azure.mgmt.network.v2021_02_01.models.ManagedRuleEnabledState + """ + + _validation = { + 'rule_id': {'required': True}, + } + + _attribute_map = { + 'rule_id': {'key': 'ruleId', 'type': 'str'}, + 'state': {'key': 'state', 'type': 'str'}, + } + + def __init__( + self, + *, + rule_id: str, + state: Optional[Union[str, "ManagedRuleEnabledState"]] = None, + **kwargs + ): + super(ManagedRuleOverride, self).__init__(**kwargs) + self.rule_id = rule_id + self.state = state + + +class ManagedRulesDefinition(msrest.serialization.Model): + """Allow to exclude some variable satisfy the condition for the WAF check. + + All required parameters must be populated in order to send to Azure. + + :param exclusions: The Exclusions that are applied on the policy. + :type exclusions: list[~azure.mgmt.network.v2021_02_01.models.OwaspCrsExclusionEntry] + :param managed_rule_sets: Required. The managed rule sets that are associated with the policy. + :type managed_rule_sets: list[~azure.mgmt.network.v2021_02_01.models.ManagedRuleSet] + """ + + _validation = { + 'managed_rule_sets': {'required': True}, + } + + _attribute_map = { + 'exclusions': {'key': 'exclusions', 'type': '[OwaspCrsExclusionEntry]'}, + 'managed_rule_sets': {'key': 'managedRuleSets', 'type': '[ManagedRuleSet]'}, + } + + def __init__( + self, + *, + managed_rule_sets: List["ManagedRuleSet"], + exclusions: Optional[List["OwaspCrsExclusionEntry"]] = None, + **kwargs + ): + super(ManagedRulesDefinition, self).__init__(**kwargs) + self.exclusions = exclusions + self.managed_rule_sets = managed_rule_sets + + +class ManagedRuleSet(msrest.serialization.Model): + """Defines a managed rule set. + + All required parameters must be populated in order to send to Azure. + + :param rule_set_type: Required. Defines the rule set type to use. + :type rule_set_type: str + :param rule_set_version: Required. Defines the version of the rule set to use. + :type rule_set_version: str + :param rule_group_overrides: Defines the rule group overrides to apply to the rule set. + :type rule_group_overrides: + list[~azure.mgmt.network.v2021_02_01.models.ManagedRuleGroupOverride] + """ + + _validation = { + 'rule_set_type': {'required': True}, + 'rule_set_version': {'required': True}, + } + + _attribute_map = { + 'rule_set_type': {'key': 'ruleSetType', 'type': 'str'}, + 'rule_set_version': {'key': 'ruleSetVersion', 'type': 'str'}, + 'rule_group_overrides': {'key': 'ruleGroupOverrides', 'type': '[ManagedRuleGroupOverride]'}, + } + + def __init__( + self, + *, + rule_set_type: str, + rule_set_version: str, + rule_group_overrides: Optional[List["ManagedRuleGroupOverride"]] = None, + **kwargs + ): + super(ManagedRuleSet, self).__init__(**kwargs) + self.rule_set_type = rule_set_type + self.rule_set_version = rule_set_version + self.rule_group_overrides = rule_group_overrides + + +class ManagedServiceIdentity(msrest.serialization.Model): + """Identity for the resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar principal_id: The principal id of the system assigned identity. This property will only + be provided for a system assigned identity. + :vartype principal_id: str + :ivar tenant_id: The tenant id of the system assigned identity. This property will only be + provided for a system assigned identity. + :vartype tenant_id: str + :param type: The type of identity used for the resource. The type 'SystemAssigned, + UserAssigned' includes both an implicitly created identity and a set of user assigned + identities. The type 'None' will remove any identities from the virtual machine. Possible + values include: "SystemAssigned", "UserAssigned", "SystemAssigned, UserAssigned", "None". + :type type: str or ~azure.mgmt.network.v2021_02_01.models.ResourceIdentityType + :param user_assigned_identities: The list of user identities associated with resource. The user + identity dictionary key references will be ARM resource ids in the form: + '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. + :type user_assigned_identities: dict[str, + ~azure.mgmt.network.v2021_02_01.models.Components1Jq1T4ISchemasManagedserviceidentityPropertiesUserassignedidentitiesAdditionalproperties] + """ + + _validation = { + 'principal_id': {'readonly': True}, + 'tenant_id': {'readonly': True}, + } + + _attribute_map = { + 'principal_id': {'key': 'principalId', 'type': 'str'}, + 'tenant_id': {'key': 'tenantId', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'user_assigned_identities': {'key': 'userAssignedIdentities', 'type': '{Components1Jq1T4ISchemasManagedserviceidentityPropertiesUserassignedidentitiesAdditionalproperties}'}, + } + + def __init__( + self, + *, + type: Optional[Union[str, "ResourceIdentityType"]] = None, + user_assigned_identities: Optional[Dict[str, "Components1Jq1T4ISchemasManagedserviceidentityPropertiesUserassignedidentitiesAdditionalproperties"]] = None, + **kwargs + ): + super(ManagedServiceIdentity, self).__init__(**kwargs) + self.principal_id = None + self.tenant_id = None + self.type = type + self.user_assigned_identities = user_assigned_identities + + +class MatchCondition(msrest.serialization.Model): + """Define match conditions. + + All required parameters must be populated in order to send to Azure. + + :param match_variables: Required. List of match variables. + :type match_variables: list[~azure.mgmt.network.v2021_02_01.models.MatchVariable] + :param operator: Required. The operator to be matched. Possible values include: "IPMatch", + "Equal", "Contains", "LessThan", "GreaterThan", "LessThanOrEqual", "GreaterThanOrEqual", + "BeginsWith", "EndsWith", "Regex", "GeoMatch". + :type operator: str or ~azure.mgmt.network.v2021_02_01.models.WebApplicationFirewallOperator + :param negation_conditon: Whether this is negate condition or not. + :type negation_conditon: bool + :param match_values: Required. Match value. + :type match_values: list[str] + :param transforms: List of transforms. + :type transforms: list[str or + ~azure.mgmt.network.v2021_02_01.models.WebApplicationFirewallTransform] + """ + + _validation = { + 'match_variables': {'required': True}, + 'operator': {'required': True}, + 'match_values': {'required': True}, + } + + _attribute_map = { + 'match_variables': {'key': 'matchVariables', 'type': '[MatchVariable]'}, + 'operator': {'key': 'operator', 'type': 'str'}, + 'negation_conditon': {'key': 'negationConditon', 'type': 'bool'}, + 'match_values': {'key': 'matchValues', 'type': '[str]'}, + 'transforms': {'key': 'transforms', 'type': '[str]'}, + } + + def __init__( + self, + *, + match_variables: List["MatchVariable"], + operator: Union[str, "WebApplicationFirewallOperator"], + match_values: List[str], + negation_conditon: Optional[bool] = None, + transforms: Optional[List[Union[str, "WebApplicationFirewallTransform"]]] = None, + **kwargs + ): + super(MatchCondition, self).__init__(**kwargs) + self.match_variables = match_variables + self.operator = operator + self.negation_conditon = negation_conditon + self.match_values = match_values + self.transforms = transforms + + +class MatchedRule(msrest.serialization.Model): + """Matched rule. + + :param rule_name: Name of the matched network security rule. + :type rule_name: str + :param action: The network traffic is allowed or denied. Possible values are 'Allow' and + 'Deny'. + :type action: str + """ + + _attribute_map = { + 'rule_name': {'key': 'ruleName', 'type': 'str'}, + 'action': {'key': 'action', 'type': 'str'}, + } + + def __init__( + self, + *, + rule_name: Optional[str] = None, + action: Optional[str] = None, + **kwargs + ): + super(MatchedRule, self).__init__(**kwargs) + self.rule_name = rule_name + self.action = action + + +class MatchVariable(msrest.serialization.Model): + """Define match variables. + + All required parameters must be populated in order to send to Azure. + + :param variable_name: Required. Match Variable. Possible values include: "RemoteAddr", + "RequestMethod", "QueryString", "PostArgs", "RequestUri", "RequestHeaders", "RequestBody", + "RequestCookies". + :type variable_name: str or + ~azure.mgmt.network.v2021_02_01.models.WebApplicationFirewallMatchVariable + :param selector: The selector of match variable. + :type selector: str + """ + + _validation = { + 'variable_name': {'required': True}, + } + + _attribute_map = { + 'variable_name': {'key': 'variableName', 'type': 'str'}, + 'selector': {'key': 'selector', 'type': 'str'}, + } + + def __init__( + self, + *, + variable_name: Union[str, "WebApplicationFirewallMatchVariable"], + selector: Optional[str] = None, + **kwargs + ): + super(MatchVariable, self).__init__(**kwargs) + self.variable_name = variable_name + self.selector = selector + + +class MetricSpecification(msrest.serialization.Model): + """Description of metrics specification. + + :param name: The name of the metric. + :type name: str + :param display_name: The display name of the metric. + :type display_name: str + :param display_description: The description of the metric. + :type display_description: str + :param unit: Units the metric to be displayed in. + :type unit: str + :param aggregation_type: The aggregation type. + :type aggregation_type: str + :param availabilities: List of availability. + :type availabilities: list[~azure.mgmt.network.v2021_02_01.models.Availability] + :param enable_regional_mdm_account: Whether regional MDM account enabled. + :type enable_regional_mdm_account: bool + :param fill_gap_with_zero: Whether gaps would be filled with zeros. + :type fill_gap_with_zero: bool + :param metric_filter_pattern: Pattern for the filter of the metric. + :type metric_filter_pattern: str + :param dimensions: List of dimensions. + :type dimensions: list[~azure.mgmt.network.v2021_02_01.models.Dimension] + :param is_internal: Whether the metric is internal. + :type is_internal: bool + :param source_mdm_account: The source MDM account. + :type source_mdm_account: str + :param source_mdm_namespace: The source MDM namespace. + :type source_mdm_namespace: str + :param resource_id_dimension_name_override: The resource Id dimension name override. + :type resource_id_dimension_name_override: str + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'display_name': {'key': 'displayName', 'type': 'str'}, + 'display_description': {'key': 'displayDescription', 'type': 'str'}, + 'unit': {'key': 'unit', 'type': 'str'}, + 'aggregation_type': {'key': 'aggregationType', 'type': 'str'}, + 'availabilities': {'key': 'availabilities', 'type': '[Availability]'}, + 'enable_regional_mdm_account': {'key': 'enableRegionalMdmAccount', 'type': 'bool'}, + 'fill_gap_with_zero': {'key': 'fillGapWithZero', 'type': 'bool'}, + 'metric_filter_pattern': {'key': 'metricFilterPattern', 'type': 'str'}, + 'dimensions': {'key': 'dimensions', 'type': '[Dimension]'}, + 'is_internal': {'key': 'isInternal', 'type': 'bool'}, + 'source_mdm_account': {'key': 'sourceMdmAccount', 'type': 'str'}, + 'source_mdm_namespace': {'key': 'sourceMdmNamespace', 'type': 'str'}, + 'resource_id_dimension_name_override': {'key': 'resourceIdDimensionNameOverride', 'type': 'str'}, + } + + def __init__( + self, + *, + name: Optional[str] = None, + display_name: Optional[str] = None, + display_description: Optional[str] = None, + unit: Optional[str] = None, + aggregation_type: Optional[str] = None, + availabilities: Optional[List["Availability"]] = None, + enable_regional_mdm_account: Optional[bool] = None, + fill_gap_with_zero: Optional[bool] = None, + metric_filter_pattern: Optional[str] = None, + dimensions: Optional[List["Dimension"]] = None, + is_internal: Optional[bool] = None, + source_mdm_account: Optional[str] = None, + source_mdm_namespace: Optional[str] = None, + resource_id_dimension_name_override: Optional[str] = None, + **kwargs + ): + super(MetricSpecification, self).__init__(**kwargs) + self.name = name + self.display_name = display_name + self.display_description = display_description + self.unit = unit + self.aggregation_type = aggregation_type + self.availabilities = availabilities + self.enable_regional_mdm_account = enable_regional_mdm_account + self.fill_gap_with_zero = fill_gap_with_zero + self.metric_filter_pattern = metric_filter_pattern + self.dimensions = dimensions + self.is_internal = is_internal + self.source_mdm_account = source_mdm_account + self.source_mdm_namespace = source_mdm_namespace + self.resource_id_dimension_name_override = resource_id_dimension_name_override + + +class NatGateway(Resource): + """Nat Gateway resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :param sku: The nat gateway SKU. + :type sku: ~azure.mgmt.network.v2021_02_01.models.NatGatewaySku + :param zones: A list of availability zones denoting the zone in which Nat Gateway should be + deployed. + :type zones: list[str] + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param idle_timeout_in_minutes: The idle timeout of the nat gateway. + :type idle_timeout_in_minutes: int + :param public_ip_addresses: An array of public ip addresses associated with the nat gateway + resource. + :type public_ip_addresses: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + :param public_ip_prefixes: An array of public ip prefixes associated with the nat gateway + resource. + :type public_ip_prefixes: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + :ivar subnets: An array of references to the subnets using this nat gateway resource. + :vartype subnets: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + :ivar resource_guid: The resource GUID property of the NAT gateway resource. + :vartype resource_guid: str + :ivar provisioning_state: The provisioning state of the NAT gateway resource. Possible values + include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'subnets': {'readonly': True}, + 'resource_guid': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'sku': {'key': 'sku', 'type': 'NatGatewaySku'}, + 'zones': {'key': 'zones', 'type': '[str]'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'idle_timeout_in_minutes': {'key': 'properties.idleTimeoutInMinutes', 'type': 'int'}, + 'public_ip_addresses': {'key': 'properties.publicIpAddresses', 'type': '[SubResource]'}, + 'public_ip_prefixes': {'key': 'properties.publicIpPrefixes', 'type': '[SubResource]'}, + 'subnets': {'key': 'properties.subnets', 'type': '[SubResource]'}, + 'resource_guid': {'key': 'properties.resourceGuid', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + location: Optional[str] = None, + tags: Optional[Dict[str, str]] = None, + sku: Optional["NatGatewaySku"] = None, + zones: Optional[List[str]] = None, + idle_timeout_in_minutes: Optional[int] = None, + public_ip_addresses: Optional[List["SubResource"]] = None, + public_ip_prefixes: Optional[List["SubResource"]] = None, + **kwargs + ): + super(NatGateway, self).__init__(id=id, location=location, tags=tags, **kwargs) + self.sku = sku + self.zones = zones + self.etag = None + self.idle_timeout_in_minutes = idle_timeout_in_minutes + self.public_ip_addresses = public_ip_addresses + self.public_ip_prefixes = public_ip_prefixes + self.subnets = None + self.resource_guid = None + self.provisioning_state = None + + +class NatGatewayListResult(msrest.serialization.Model): + """Response for ListNatGateways API service call. + + :param value: A list of Nat Gateways that exists in a resource group. + :type value: list[~azure.mgmt.network.v2021_02_01.models.NatGateway] + :param next_link: The URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[NatGateway]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["NatGateway"]] = None, + next_link: Optional[str] = None, + **kwargs + ): + super(NatGatewayListResult, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class NatGatewaySku(msrest.serialization.Model): + """SKU of nat gateway. + + :param name: Name of Nat Gateway SKU. Possible values include: "Standard". + :type name: str or ~azure.mgmt.network.v2021_02_01.models.NatGatewaySkuName + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + } + + def __init__( + self, + *, + name: Optional[Union[str, "NatGatewaySkuName"]] = None, + **kwargs + ): + super(NatGatewaySku, self).__init__(**kwargs) + self.name = name + + +class NatRule(FirewallPolicyRule): + """Rule of type nat. + + All required parameters must be populated in order to send to Azure. + + :param name: Name of the rule. + :type name: str + :param description: Description of the rule. + :type description: str + :param rule_type: Required. Rule Type.Constant filled by server. Possible values include: + "ApplicationRule", "NetworkRule", "NatRule". + :type rule_type: str or ~azure.mgmt.network.v2021_02_01.models.FirewallPolicyRuleType + :param ip_protocols: Array of FirewallPolicyRuleNetworkProtocols. + :type ip_protocols: list[str or + ~azure.mgmt.network.v2021_02_01.models.FirewallPolicyRuleNetworkProtocol] + :param source_addresses: List of source IP addresses for this rule. + :type source_addresses: list[str] + :param destination_addresses: List of destination IP addresses or Service Tags. + :type destination_addresses: list[str] + :param destination_ports: List of destination ports. + :type destination_ports: list[str] + :param translated_address: The translated address for this NAT rule. + :type translated_address: str + :param translated_port: The translated port for this NAT rule. + :type translated_port: str + :param source_ip_groups: List of source IpGroups for this rule. + :type source_ip_groups: list[str] + :param translated_fqdn: The translated FQDN for this NAT rule. + :type translated_fqdn: str + """ + + _validation = { + 'rule_type': {'required': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + 'rule_type': {'key': 'ruleType', 'type': 'str'}, + 'ip_protocols': {'key': 'ipProtocols', 'type': '[str]'}, + 'source_addresses': {'key': 'sourceAddresses', 'type': '[str]'}, + 'destination_addresses': {'key': 'destinationAddresses', 'type': '[str]'}, + 'destination_ports': {'key': 'destinationPorts', 'type': '[str]'}, + 'translated_address': {'key': 'translatedAddress', 'type': 'str'}, + 'translated_port': {'key': 'translatedPort', 'type': 'str'}, + 'source_ip_groups': {'key': 'sourceIpGroups', 'type': '[str]'}, + 'translated_fqdn': {'key': 'translatedFqdn', 'type': 'str'}, + } + + def __init__( + self, + *, + name: Optional[str] = None, + description: Optional[str] = None, + ip_protocols: Optional[List[Union[str, "FirewallPolicyRuleNetworkProtocol"]]] = None, + source_addresses: Optional[List[str]] = None, + destination_addresses: Optional[List[str]] = None, + destination_ports: Optional[List[str]] = None, + translated_address: Optional[str] = None, + translated_port: Optional[str] = None, + source_ip_groups: Optional[List[str]] = None, + translated_fqdn: Optional[str] = None, + **kwargs + ): + super(NatRule, self).__init__(name=name, description=description, **kwargs) + self.rule_type = 'NatRule' # type: str + self.ip_protocols = ip_protocols + self.source_addresses = source_addresses + self.destination_addresses = destination_addresses + self.destination_ports = destination_ports + self.translated_address = translated_address + self.translated_port = translated_port + self.source_ip_groups = source_ip_groups + self.translated_fqdn = translated_fqdn + + +class NetworkConfigurationDiagnosticParameters(msrest.serialization.Model): + """Parameters to get network configuration diagnostic. + + All required parameters must be populated in order to send to Azure. + + :param target_resource_id: Required. The ID of the target resource to perform network + configuration diagnostic. Valid options are VM, NetworkInterface, VMSS/NetworkInterface and + Application Gateway. + :type target_resource_id: str + :param verbosity_level: Verbosity level. Possible values include: "Normal", "Minimum", "Full". + :type verbosity_level: str or ~azure.mgmt.network.v2021_02_01.models.VerbosityLevel + :param profiles: Required. List of network configuration diagnostic profiles. + :type profiles: + list[~azure.mgmt.network.v2021_02_01.models.NetworkConfigurationDiagnosticProfile] + """ + + _validation = { + 'target_resource_id': {'required': True}, + 'profiles': {'required': True}, + } + + _attribute_map = { + 'target_resource_id': {'key': 'targetResourceId', 'type': 'str'}, + 'verbosity_level': {'key': 'verbosityLevel', 'type': 'str'}, + 'profiles': {'key': 'profiles', 'type': '[NetworkConfigurationDiagnosticProfile]'}, + } + + def __init__( + self, + *, + target_resource_id: str, + profiles: List["NetworkConfigurationDiagnosticProfile"], + verbosity_level: Optional[Union[str, "VerbosityLevel"]] = None, + **kwargs + ): + super(NetworkConfigurationDiagnosticParameters, self).__init__(**kwargs) + self.target_resource_id = target_resource_id + self.verbosity_level = verbosity_level + self.profiles = profiles + + +class NetworkConfigurationDiagnosticProfile(msrest.serialization.Model): + """Parameters to compare with network configuration. + + All required parameters must be populated in order to send to Azure. + + :param direction: Required. The direction of the traffic. Possible values include: "Inbound", + "Outbound". + :type direction: str or ~azure.mgmt.network.v2021_02_01.models.Direction + :param protocol: Required. Protocol to be verified on. Accepted values are '*', TCP, UDP. + :type protocol: str + :param source: Required. Traffic source. Accepted values are '*', IP Address/CIDR, Service Tag. + :type source: str + :param destination: Required. Traffic destination. Accepted values are: '*', IP Address/CIDR, + Service Tag. + :type destination: str + :param destination_port: Required. Traffic destination port. Accepted values are '*' and a + single port in the range (0 - 65535). + :type destination_port: str + """ + + _validation = { + 'direction': {'required': True}, + 'protocol': {'required': True}, + 'source': {'required': True}, + 'destination': {'required': True}, + 'destination_port': {'required': True}, + } + + _attribute_map = { + 'direction': {'key': 'direction', 'type': 'str'}, + 'protocol': {'key': 'protocol', 'type': 'str'}, + 'source': {'key': 'source', 'type': 'str'}, + 'destination': {'key': 'destination', 'type': 'str'}, + 'destination_port': {'key': 'destinationPort', 'type': 'str'}, + } + + def __init__( + self, + *, + direction: Union[str, "Direction"], + protocol: str, + source: str, + destination: str, + destination_port: str, + **kwargs + ): + super(NetworkConfigurationDiagnosticProfile, self).__init__(**kwargs) + self.direction = direction + self.protocol = protocol + self.source = source + self.destination = destination + self.destination_port = destination_port + + +class NetworkConfigurationDiagnosticResponse(msrest.serialization.Model): + """Results of network configuration diagnostic on the target resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar results: List of network configuration diagnostic results. + :vartype results: + list[~azure.mgmt.network.v2021_02_01.models.NetworkConfigurationDiagnosticResult] + """ + + _validation = { + 'results': {'readonly': True}, + } + + _attribute_map = { + 'results': {'key': 'results', 'type': '[NetworkConfigurationDiagnosticResult]'}, + } + + def __init__( + self, + **kwargs + ): + super(NetworkConfigurationDiagnosticResponse, self).__init__(**kwargs) + self.results = None + + +class NetworkConfigurationDiagnosticResult(msrest.serialization.Model): + """Network configuration diagnostic result corresponded to provided traffic query. + + :param profile: Network configuration diagnostic profile. + :type profile: ~azure.mgmt.network.v2021_02_01.models.NetworkConfigurationDiagnosticProfile + :param network_security_group_result: Network security group result. + :type network_security_group_result: + ~azure.mgmt.network.v2021_02_01.models.NetworkSecurityGroupResult + """ + + _attribute_map = { + 'profile': {'key': 'profile', 'type': 'NetworkConfigurationDiagnosticProfile'}, + 'network_security_group_result': {'key': 'networkSecurityGroupResult', 'type': 'NetworkSecurityGroupResult'}, + } + + def __init__( + self, + *, + profile: Optional["NetworkConfigurationDiagnosticProfile"] = None, + network_security_group_result: Optional["NetworkSecurityGroupResult"] = None, + **kwargs + ): + super(NetworkConfigurationDiagnosticResult, self).__init__(**kwargs) + self.profile = profile + self.network_security_group_result = network_security_group_result + + +class NetworkIntentPolicy(Resource): + """Network Intent Policy resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'etag': {'key': 'etag', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + location: Optional[str] = None, + tags: Optional[Dict[str, str]] = None, + **kwargs + ): + super(NetworkIntentPolicy, self).__init__(id=id, location=location, tags=tags, **kwargs) + self.etag = None + + +class NetworkIntentPolicyConfiguration(msrest.serialization.Model): + """Details of NetworkIntentPolicyConfiguration for PrepareNetworkPoliciesRequest. + + :param network_intent_policy_name: The name of the Network Intent Policy for storing in target + subscription. + :type network_intent_policy_name: str + :param source_network_intent_policy: Source network intent policy. + :type source_network_intent_policy: ~azure.mgmt.network.v2021_02_01.models.NetworkIntentPolicy + """ + + _attribute_map = { + 'network_intent_policy_name': {'key': 'networkIntentPolicyName', 'type': 'str'}, + 'source_network_intent_policy': {'key': 'sourceNetworkIntentPolicy', 'type': 'NetworkIntentPolicy'}, + } + + def __init__( + self, + *, + network_intent_policy_name: Optional[str] = None, + source_network_intent_policy: Optional["NetworkIntentPolicy"] = None, + **kwargs + ): + super(NetworkIntentPolicyConfiguration, self).__init__(**kwargs) + self.network_intent_policy_name = network_intent_policy_name + self.source_network_intent_policy = source_network_intent_policy + + +class NetworkInterface(Resource): + """A network interface in a resource group. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :param extended_location: The extended location of the network interface. + :type extended_location: ~azure.mgmt.network.v2021_02_01.models.ExtendedLocation + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar virtual_machine: The reference to a virtual machine. + :vartype virtual_machine: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param network_security_group: The reference to the NetworkSecurityGroup resource. + :type network_security_group: ~azure.mgmt.network.v2021_02_01.models.NetworkSecurityGroup + :ivar private_endpoint: A reference to the private endpoint to which the network interface is + linked. + :vartype private_endpoint: ~azure.mgmt.network.v2021_02_01.models.PrivateEndpoint + :param ip_configurations: A list of IPConfigurations of the network interface. + :type ip_configurations: + list[~azure.mgmt.network.v2021_02_01.models.NetworkInterfaceIPConfiguration] + :ivar tap_configurations: A list of TapConfigurations of the network interface. + :vartype tap_configurations: + list[~azure.mgmt.network.v2021_02_01.models.NetworkInterfaceTapConfiguration] + :param dns_settings: The DNS settings in network interface. + :type dns_settings: ~azure.mgmt.network.v2021_02_01.models.NetworkInterfaceDnsSettings + :ivar mac_address: The MAC address of the network interface. + :vartype mac_address: str + :ivar primary: Whether this is a primary network interface on a virtual machine. + :vartype primary: bool + :param enable_accelerated_networking: If the network interface is accelerated networking + enabled. + :type enable_accelerated_networking: bool + :param enable_ip_forwarding: Indicates whether IP forwarding is enabled on this network + interface. + :type enable_ip_forwarding: bool + :ivar hosted_workloads: A list of references to linked BareMetal resources. + :vartype hosted_workloads: list[str] + :ivar dscp_configuration: A reference to the dscp configuration to which the network interface + is linked. + :vartype dscp_configuration: ~azure.mgmt.network.v2021_02_01.models.SubResource + :ivar resource_guid: The resource GUID property of the network interface resource. + :vartype resource_guid: str + :ivar provisioning_state: The provisioning state of the network interface resource. Possible + values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :param workload_type: WorkloadType of the NetworkInterface for BareMetal resources. + :type workload_type: str + :param nic_type: Type of Network Interface resource. Possible values include: "Standard", + "Elastic". + :type nic_type: str or ~azure.mgmt.network.v2021_02_01.models.NetworkInterfaceNicType + :param private_link_service: Privatelinkservice of the network interface resource. + :type private_link_service: ~azure.mgmt.network.v2021_02_01.models.PrivateLinkService + :param migration_phase: Migration phase of Network Interface resource. Possible values include: + "None", "Prepare", "Commit", "Abort", "Committed". + :type migration_phase: str or + ~azure.mgmt.network.v2021_02_01.models.NetworkInterfaceMigrationPhase + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'virtual_machine': {'readonly': True}, + 'private_endpoint': {'readonly': True}, + 'tap_configurations': {'readonly': True}, + 'mac_address': {'readonly': True}, + 'primary': {'readonly': True}, + 'hosted_workloads': {'readonly': True}, + 'dscp_configuration': {'readonly': True}, + 'resource_guid': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'extended_location': {'key': 'extendedLocation', 'type': 'ExtendedLocation'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'virtual_machine': {'key': 'properties.virtualMachine', 'type': 'SubResource'}, + 'network_security_group': {'key': 'properties.networkSecurityGroup', 'type': 'NetworkSecurityGroup'}, + 'private_endpoint': {'key': 'properties.privateEndpoint', 'type': 'PrivateEndpoint'}, + 'ip_configurations': {'key': 'properties.ipConfigurations', 'type': '[NetworkInterfaceIPConfiguration]'}, + 'tap_configurations': {'key': 'properties.tapConfigurations', 'type': '[NetworkInterfaceTapConfiguration]'}, + 'dns_settings': {'key': 'properties.dnsSettings', 'type': 'NetworkInterfaceDnsSettings'}, + 'mac_address': {'key': 'properties.macAddress', 'type': 'str'}, + 'primary': {'key': 'properties.primary', 'type': 'bool'}, + 'enable_accelerated_networking': {'key': 'properties.enableAcceleratedNetworking', 'type': 'bool'}, + 'enable_ip_forwarding': {'key': 'properties.enableIPForwarding', 'type': 'bool'}, + 'hosted_workloads': {'key': 'properties.hostedWorkloads', 'type': '[str]'}, + 'dscp_configuration': {'key': 'properties.dscpConfiguration', 'type': 'SubResource'}, + 'resource_guid': {'key': 'properties.resourceGuid', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'workload_type': {'key': 'properties.workloadType', 'type': 'str'}, + 'nic_type': {'key': 'properties.nicType', 'type': 'str'}, + 'private_link_service': {'key': 'properties.privateLinkService', 'type': 'PrivateLinkService'}, + 'migration_phase': {'key': 'properties.migrationPhase', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + location: Optional[str] = None, + tags: Optional[Dict[str, str]] = None, + extended_location: Optional["ExtendedLocation"] = None, + network_security_group: Optional["NetworkSecurityGroup"] = None, + ip_configurations: Optional[List["NetworkInterfaceIPConfiguration"]] = None, + dns_settings: Optional["NetworkInterfaceDnsSettings"] = None, + enable_accelerated_networking: Optional[bool] = None, + enable_ip_forwarding: Optional[bool] = None, + workload_type: Optional[str] = None, + nic_type: Optional[Union[str, "NetworkInterfaceNicType"]] = None, + private_link_service: Optional["PrivateLinkService"] = None, + migration_phase: Optional[Union[str, "NetworkInterfaceMigrationPhase"]] = None, + **kwargs + ): + super(NetworkInterface, self).__init__(id=id, location=location, tags=tags, **kwargs) + self.extended_location = extended_location + self.etag = None + self.virtual_machine = None + self.network_security_group = network_security_group + self.private_endpoint = None + self.ip_configurations = ip_configurations + self.tap_configurations = None + self.dns_settings = dns_settings + self.mac_address = None + self.primary = None + self.enable_accelerated_networking = enable_accelerated_networking + self.enable_ip_forwarding = enable_ip_forwarding + self.hosted_workloads = None + self.dscp_configuration = None + self.resource_guid = None + self.provisioning_state = None + self.workload_type = workload_type + self.nic_type = nic_type + self.private_link_service = private_link_service + self.migration_phase = migration_phase + + +class NetworkInterfaceAssociation(msrest.serialization.Model): + """Network interface and its custom security rules. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Network interface ID. + :vartype id: str + :param security_rules: Collection of custom security rules. + :type security_rules: list[~azure.mgmt.network.v2021_02_01.models.SecurityRule] + """ + + _validation = { + 'id': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'security_rules': {'key': 'securityRules', 'type': '[SecurityRule]'}, + } + + def __init__( + self, + *, + security_rules: Optional[List["SecurityRule"]] = None, + **kwargs + ): + super(NetworkInterfaceAssociation, self).__init__(**kwargs) + self.id = None + self.security_rules = security_rules + + +class NetworkInterfaceDnsSettings(msrest.serialization.Model): + """DNS settings of a network interface. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param dns_servers: List of DNS servers IP addresses. Use 'AzureProvidedDNS' to switch to azure + provided DNS resolution. 'AzureProvidedDNS' value cannot be combined with other IPs, it must be + the only value in dnsServers collection. + :type dns_servers: list[str] + :ivar applied_dns_servers: If the VM that uses this NIC is part of an Availability Set, then + this list will have the union of all DNS servers from all NICs that are part of the + Availability Set. This property is what is configured on each of those VMs. + :vartype applied_dns_servers: list[str] + :param internal_dns_name_label: Relative DNS name for this NIC used for internal communications + between VMs in the same virtual network. + :type internal_dns_name_label: str + :ivar internal_fqdn: Fully qualified DNS name supporting internal communications between VMs in + the same virtual network. + :vartype internal_fqdn: str + :ivar internal_domain_name_suffix: Even if internalDnsNameLabel is not specified, a DNS entry + is created for the primary NIC of the VM. This DNS name can be constructed by concatenating the + VM name with the value of internalDomainNameSuffix. + :vartype internal_domain_name_suffix: str + """ + + _validation = { + 'applied_dns_servers': {'readonly': True}, + 'internal_fqdn': {'readonly': True}, + 'internal_domain_name_suffix': {'readonly': True}, + } + + _attribute_map = { + 'dns_servers': {'key': 'dnsServers', 'type': '[str]'}, + 'applied_dns_servers': {'key': 'appliedDnsServers', 'type': '[str]'}, + 'internal_dns_name_label': {'key': 'internalDnsNameLabel', 'type': 'str'}, + 'internal_fqdn': {'key': 'internalFqdn', 'type': 'str'}, + 'internal_domain_name_suffix': {'key': 'internalDomainNameSuffix', 'type': 'str'}, + } + + def __init__( + self, + *, + dns_servers: Optional[List[str]] = None, + internal_dns_name_label: Optional[str] = None, + **kwargs + ): + super(NetworkInterfaceDnsSettings, self).__init__(**kwargs) + self.dns_servers = dns_servers + self.applied_dns_servers = None + self.internal_dns_name_label = internal_dns_name_label + self.internal_fqdn = None + self.internal_domain_name_suffix = None + + +class NetworkInterfaceIPConfiguration(SubResource): + """IPConfiguration in a network interface. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: The name of the resource that is unique within a resource group. This name can be + used to access the resource. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param type: Resource type. + :type type: str + :param gateway_load_balancer: The reference to gateway load balancer frontend IP. + :type gateway_load_balancer: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param virtual_network_taps: The reference to Virtual Network Taps. + :type virtual_network_taps: list[~azure.mgmt.network.v2021_02_01.models.VirtualNetworkTap] + :param application_gateway_backend_address_pools: The reference to + ApplicationGatewayBackendAddressPool resource. + :type application_gateway_backend_address_pools: + list[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayBackendAddressPool] + :param load_balancer_backend_address_pools: The reference to LoadBalancerBackendAddressPool + resource. + :type load_balancer_backend_address_pools: + list[~azure.mgmt.network.v2021_02_01.models.BackendAddressPool] + :param load_balancer_inbound_nat_rules: A list of references of LoadBalancerInboundNatRules. + :type load_balancer_inbound_nat_rules: + list[~azure.mgmt.network.v2021_02_01.models.InboundNatRule] + :param private_ip_address: Private IP address of the IP configuration. + :type private_ip_address: str + :param private_ip_allocation_method: The private IP address allocation method. Possible values + include: "Static", "Dynamic". + :type private_ip_allocation_method: str or + ~azure.mgmt.network.v2021_02_01.models.IPAllocationMethod + :param private_ip_address_version: Whether the specific IP configuration is IPv4 or IPv6. + Default is IPv4. Possible values include: "IPv4", "IPv6". + :type private_ip_address_version: str or ~azure.mgmt.network.v2021_02_01.models.IPVersion + :param subnet: Subnet bound to the IP configuration. + :type subnet: ~azure.mgmt.network.v2021_02_01.models.Subnet + :param primary: Whether this is a primary customer address on the network interface. + :type primary: bool + :param public_ip_address: Public IP address bound to the IP configuration. + :type public_ip_address: ~azure.mgmt.network.v2021_02_01.models.PublicIPAddress + :param application_security_groups: Application security groups in which the IP configuration + is included. + :type application_security_groups: + list[~azure.mgmt.network.v2021_02_01.models.ApplicationSecurityGroup] + :ivar provisioning_state: The provisioning state of the network interface IP configuration. + Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :ivar private_link_connection_properties: PrivateLinkConnection properties for the network + interface. + :vartype private_link_connection_properties: + ~azure.mgmt.network.v2021_02_01.models.NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties + """ + + _validation = { + 'etag': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'private_link_connection_properties': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'gateway_load_balancer': {'key': 'properties.gatewayLoadBalancer', 'type': 'SubResource'}, + 'virtual_network_taps': {'key': 'properties.virtualNetworkTaps', 'type': '[VirtualNetworkTap]'}, + 'application_gateway_backend_address_pools': {'key': 'properties.applicationGatewayBackendAddressPools', 'type': '[ApplicationGatewayBackendAddressPool]'}, + 'load_balancer_backend_address_pools': {'key': 'properties.loadBalancerBackendAddressPools', 'type': '[BackendAddressPool]'}, + 'load_balancer_inbound_nat_rules': {'key': 'properties.loadBalancerInboundNatRules', 'type': '[InboundNatRule]'}, + 'private_ip_address': {'key': 'properties.privateIPAddress', 'type': 'str'}, + 'private_ip_allocation_method': {'key': 'properties.privateIPAllocationMethod', 'type': 'str'}, + 'private_ip_address_version': {'key': 'properties.privateIPAddressVersion', 'type': 'str'}, + 'subnet': {'key': 'properties.subnet', 'type': 'Subnet'}, + 'primary': {'key': 'properties.primary', 'type': 'bool'}, + 'public_ip_address': {'key': 'properties.publicIPAddress', 'type': 'PublicIPAddress'}, + 'application_security_groups': {'key': 'properties.applicationSecurityGroups', 'type': '[ApplicationSecurityGroup]'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'private_link_connection_properties': {'key': 'properties.privateLinkConnectionProperties', 'type': 'NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + name: Optional[str] = None, + type: Optional[str] = None, + gateway_load_balancer: Optional["SubResource"] = None, + virtual_network_taps: Optional[List["VirtualNetworkTap"]] = None, + application_gateway_backend_address_pools: Optional[List["ApplicationGatewayBackendAddressPool"]] = None, + load_balancer_backend_address_pools: Optional[List["BackendAddressPool"]] = None, + load_balancer_inbound_nat_rules: Optional[List["InboundNatRule"]] = None, + private_ip_address: Optional[str] = None, + private_ip_allocation_method: Optional[Union[str, "IPAllocationMethod"]] = None, + private_ip_address_version: Optional[Union[str, "IPVersion"]] = None, + subnet: Optional["Subnet"] = None, + primary: Optional[bool] = None, + public_ip_address: Optional["PublicIPAddress"] = None, + application_security_groups: Optional[List["ApplicationSecurityGroup"]] = None, + **kwargs + ): + super(NetworkInterfaceIPConfiguration, self).__init__(id=id, **kwargs) + self.name = name + self.etag = None + self.type = type + self.gateway_load_balancer = gateway_load_balancer + self.virtual_network_taps = virtual_network_taps + self.application_gateway_backend_address_pools = application_gateway_backend_address_pools + self.load_balancer_backend_address_pools = load_balancer_backend_address_pools + self.load_balancer_inbound_nat_rules = load_balancer_inbound_nat_rules + self.private_ip_address = private_ip_address + self.private_ip_allocation_method = private_ip_allocation_method + self.private_ip_address_version = private_ip_address_version + self.subnet = subnet + self.primary = primary + self.public_ip_address = public_ip_address + self.application_security_groups = application_security_groups + self.provisioning_state = None + self.private_link_connection_properties = None + + +class NetworkInterfaceIPConfigurationListResult(msrest.serialization.Model): + """Response for list ip configurations API service call. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: A list of ip configurations. + :type value: list[~azure.mgmt.network.v2021_02_01.models.NetworkInterfaceIPConfiguration] + :ivar next_link: The URL to get the next set of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[NetworkInterfaceIPConfiguration]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["NetworkInterfaceIPConfiguration"]] = None, + **kwargs + ): + super(NetworkInterfaceIPConfigurationListResult, self).__init__(**kwargs) + self.value = value + self.next_link = None + + +class NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties(msrest.serialization.Model): + """PrivateLinkConnection properties for the network interface. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar group_id: The group ID for current private link connection. + :vartype group_id: str + :ivar required_member_name: The required member name for current private link connection. + :vartype required_member_name: str + :ivar fqdns: List of FQDNs for current private link connection. + :vartype fqdns: list[str] + """ + + _validation = { + 'group_id': {'readonly': True}, + 'required_member_name': {'readonly': True}, + 'fqdns': {'readonly': True}, + } + + _attribute_map = { + 'group_id': {'key': 'groupId', 'type': 'str'}, + 'required_member_name': {'key': 'requiredMemberName', 'type': 'str'}, + 'fqdns': {'key': 'fqdns', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties, self).__init__(**kwargs) + self.group_id = None + self.required_member_name = None + self.fqdns = None + + +class NetworkInterfaceListResult(msrest.serialization.Model): + """Response for the ListNetworkInterface API service call. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: A list of network interfaces in a resource group. + :type value: list[~azure.mgmt.network.v2021_02_01.models.NetworkInterface] + :ivar next_link: The URL to get the next set of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[NetworkInterface]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["NetworkInterface"]] = None, + **kwargs + ): + super(NetworkInterfaceListResult, self).__init__(**kwargs) + self.value = value + self.next_link = None + + +class NetworkInterfaceLoadBalancerListResult(msrest.serialization.Model): + """Response for list ip configurations API service call. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: A list of load balancers. + :type value: list[~azure.mgmt.network.v2021_02_01.models.LoadBalancer] + :ivar next_link: The URL to get the next set of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[LoadBalancer]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["LoadBalancer"]] = None, + **kwargs + ): + super(NetworkInterfaceLoadBalancerListResult, self).__init__(**kwargs) + self.value = value + self.next_link = None + + +class NetworkInterfaceTapConfiguration(SubResource): + """Tap configuration in a Network Interface. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: The name of the resource that is unique within a resource group. This name can be + used to access the resource. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Sub Resource type. + :vartype type: str + :param virtual_network_tap: The reference to the Virtual Network Tap resource. + :type virtual_network_tap: ~azure.mgmt.network.v2021_02_01.models.VirtualNetworkTap + :ivar provisioning_state: The provisioning state of the network interface tap configuration + resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'virtual_network_tap': {'key': 'properties.virtualNetworkTap', 'type': 'VirtualNetworkTap'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + name: Optional[str] = None, + virtual_network_tap: Optional["VirtualNetworkTap"] = None, + **kwargs + ): + super(NetworkInterfaceTapConfiguration, self).__init__(id=id, **kwargs) + self.name = name + self.etag = None + self.type = None + self.virtual_network_tap = virtual_network_tap + self.provisioning_state = None + + +class NetworkInterfaceTapConfigurationListResult(msrest.serialization.Model): + """Response for list tap configurations API service call. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: A list of tap configurations. + :type value: list[~azure.mgmt.network.v2021_02_01.models.NetworkInterfaceTapConfiguration] + :ivar next_link: The URL to get the next set of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[NetworkInterfaceTapConfiguration]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["NetworkInterfaceTapConfiguration"]] = None, + **kwargs + ): + super(NetworkInterfaceTapConfigurationListResult, self).__init__(**kwargs) + self.value = value + self.next_link = None + + +class NetworkProfile(Resource): + """Network profile resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar container_network_interfaces: List of child container network interfaces. + :vartype container_network_interfaces: + list[~azure.mgmt.network.v2021_02_01.models.ContainerNetworkInterface] + :param container_network_interface_configurations: List of chid container network interface + configurations. + :type container_network_interface_configurations: + list[~azure.mgmt.network.v2021_02_01.models.ContainerNetworkInterfaceConfiguration] + :ivar resource_guid: The resource GUID property of the network profile resource. + :vartype resource_guid: str + :ivar provisioning_state: The provisioning state of the network profile resource. Possible + values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'container_network_interfaces': {'readonly': True}, + 'resource_guid': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'container_network_interfaces': {'key': 'properties.containerNetworkInterfaces', 'type': '[ContainerNetworkInterface]'}, + 'container_network_interface_configurations': {'key': 'properties.containerNetworkInterfaceConfigurations', 'type': '[ContainerNetworkInterfaceConfiguration]'}, + 'resource_guid': {'key': 'properties.resourceGuid', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + location: Optional[str] = None, + tags: Optional[Dict[str, str]] = None, + container_network_interface_configurations: Optional[List["ContainerNetworkInterfaceConfiguration"]] = None, + **kwargs + ): + super(NetworkProfile, self).__init__(id=id, location=location, tags=tags, **kwargs) + self.etag = None + self.container_network_interfaces = None + self.container_network_interface_configurations = container_network_interface_configurations + self.resource_guid = None + self.provisioning_state = None + + +class NetworkProfileListResult(msrest.serialization.Model): + """Response for ListNetworkProfiles API service call. + + :param value: A list of network profiles that exist in a resource group. + :type value: list[~azure.mgmt.network.v2021_02_01.models.NetworkProfile] + :param next_link: The URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[NetworkProfile]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["NetworkProfile"]] = None, + next_link: Optional[str] = None, + **kwargs + ): + super(NetworkProfileListResult, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class NetworkRule(FirewallPolicyRule): + """Rule of type network. + + All required parameters must be populated in order to send to Azure. + + :param name: Name of the rule. + :type name: str + :param description: Description of the rule. + :type description: str + :param rule_type: Required. Rule Type.Constant filled by server. Possible values include: + "ApplicationRule", "NetworkRule", "NatRule". + :type rule_type: str or ~azure.mgmt.network.v2021_02_01.models.FirewallPolicyRuleType + :param ip_protocols: Array of FirewallPolicyRuleNetworkProtocols. + :type ip_protocols: list[str or + ~azure.mgmt.network.v2021_02_01.models.FirewallPolicyRuleNetworkProtocol] + :param source_addresses: List of source IP addresses for this rule. + :type source_addresses: list[str] + :param destination_addresses: List of destination IP addresses or Service Tags. + :type destination_addresses: list[str] + :param destination_ports: List of destination ports. + :type destination_ports: list[str] + :param source_ip_groups: List of source IpGroups for this rule. + :type source_ip_groups: list[str] + :param destination_ip_groups: List of destination IpGroups for this rule. + :type destination_ip_groups: list[str] + :param destination_fqdns: List of destination FQDNs. + :type destination_fqdns: list[str] + """ + + _validation = { + 'rule_type': {'required': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + 'rule_type': {'key': 'ruleType', 'type': 'str'}, + 'ip_protocols': {'key': 'ipProtocols', 'type': '[str]'}, + 'source_addresses': {'key': 'sourceAddresses', 'type': '[str]'}, + 'destination_addresses': {'key': 'destinationAddresses', 'type': '[str]'}, + 'destination_ports': {'key': 'destinationPorts', 'type': '[str]'}, + 'source_ip_groups': {'key': 'sourceIpGroups', 'type': '[str]'}, + 'destination_ip_groups': {'key': 'destinationIpGroups', 'type': '[str]'}, + 'destination_fqdns': {'key': 'destinationFqdns', 'type': '[str]'}, + } + + def __init__( + self, + *, + name: Optional[str] = None, + description: Optional[str] = None, + ip_protocols: Optional[List[Union[str, "FirewallPolicyRuleNetworkProtocol"]]] = None, + source_addresses: Optional[List[str]] = None, + destination_addresses: Optional[List[str]] = None, + destination_ports: Optional[List[str]] = None, + source_ip_groups: Optional[List[str]] = None, + destination_ip_groups: Optional[List[str]] = None, + destination_fqdns: Optional[List[str]] = None, + **kwargs + ): + super(NetworkRule, self).__init__(name=name, description=description, **kwargs) + self.rule_type = 'NetworkRule' # type: str + self.ip_protocols = ip_protocols + self.source_addresses = source_addresses + self.destination_addresses = destination_addresses + self.destination_ports = destination_ports + self.source_ip_groups = source_ip_groups + self.destination_ip_groups = destination_ip_groups + self.destination_fqdns = destination_fqdns + + +class NetworkSecurityGroup(Resource): + """NetworkSecurityGroup resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param security_rules: A collection of security rules of the network security group. + :type security_rules: list[~azure.mgmt.network.v2021_02_01.models.SecurityRule] + :ivar default_security_rules: The default security rules of network security group. + :vartype default_security_rules: list[~azure.mgmt.network.v2021_02_01.models.SecurityRule] + :ivar network_interfaces: A collection of references to network interfaces. + :vartype network_interfaces: list[~azure.mgmt.network.v2021_02_01.models.NetworkInterface] + :ivar subnets: A collection of references to subnets. + :vartype subnets: list[~azure.mgmt.network.v2021_02_01.models.Subnet] + :ivar flow_logs: A collection of references to flow log resources. + :vartype flow_logs: list[~azure.mgmt.network.v2021_02_01.models.FlowLog] + :ivar resource_guid: The resource GUID property of the network security group resource. + :vartype resource_guid: str + :ivar provisioning_state: The provisioning state of the network security group resource. + Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'default_security_rules': {'readonly': True}, + 'network_interfaces': {'readonly': True}, + 'subnets': {'readonly': True}, + 'flow_logs': {'readonly': True}, + 'resource_guid': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'security_rules': {'key': 'properties.securityRules', 'type': '[SecurityRule]'}, + 'default_security_rules': {'key': 'properties.defaultSecurityRules', 'type': '[SecurityRule]'}, + 'network_interfaces': {'key': 'properties.networkInterfaces', 'type': '[NetworkInterface]'}, + 'subnets': {'key': 'properties.subnets', 'type': '[Subnet]'}, + 'flow_logs': {'key': 'properties.flowLogs', 'type': '[FlowLog]'}, + 'resource_guid': {'key': 'properties.resourceGuid', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + location: Optional[str] = None, + tags: Optional[Dict[str, str]] = None, + security_rules: Optional[List["SecurityRule"]] = None, + **kwargs + ): + super(NetworkSecurityGroup, self).__init__(id=id, location=location, tags=tags, **kwargs) + self.etag = None + self.security_rules = security_rules + self.default_security_rules = None + self.network_interfaces = None + self.subnets = None + self.flow_logs = None + self.resource_guid = None + self.provisioning_state = None + + +class NetworkSecurityGroupListResult(msrest.serialization.Model): + """Response for ListNetworkSecurityGroups API service call. + + :param value: A list of NetworkSecurityGroup resources. + :type value: list[~azure.mgmt.network.v2021_02_01.models.NetworkSecurityGroup] + :param next_link: The URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[NetworkSecurityGroup]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["NetworkSecurityGroup"]] = None, + next_link: Optional[str] = None, + **kwargs + ): + super(NetworkSecurityGroupListResult, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class NetworkSecurityGroupResult(msrest.serialization.Model): + """Network configuration diagnostic result corresponded provided traffic query. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param security_rule_access_result: The network traffic is allowed or denied. Possible values + include: "Allow", "Deny". + :type security_rule_access_result: str or + ~azure.mgmt.network.v2021_02_01.models.SecurityRuleAccess + :ivar evaluated_network_security_groups: List of results network security groups diagnostic. + :vartype evaluated_network_security_groups: + list[~azure.mgmt.network.v2021_02_01.models.EvaluatedNetworkSecurityGroup] + """ + + _validation = { + 'evaluated_network_security_groups': {'readonly': True}, + } + + _attribute_map = { + 'security_rule_access_result': {'key': 'securityRuleAccessResult', 'type': 'str'}, + 'evaluated_network_security_groups': {'key': 'evaluatedNetworkSecurityGroups', 'type': '[EvaluatedNetworkSecurityGroup]'}, + } + + def __init__( + self, + *, + security_rule_access_result: Optional[Union[str, "SecurityRuleAccess"]] = None, + **kwargs + ): + super(NetworkSecurityGroupResult, self).__init__(**kwargs) + self.security_rule_access_result = security_rule_access_result + self.evaluated_network_security_groups = None + + +class NetworkSecurityRulesEvaluationResult(msrest.serialization.Model): + """Network security rules evaluation result. + + :param name: Name of the network security rule. + :type name: str + :param protocol_matched: Value indicating whether protocol is matched. + :type protocol_matched: bool + :param source_matched: Value indicating whether source is matched. + :type source_matched: bool + :param source_port_matched: Value indicating whether source port is matched. + :type source_port_matched: bool + :param destination_matched: Value indicating whether destination is matched. + :type destination_matched: bool + :param destination_port_matched: Value indicating whether destination port is matched. + :type destination_port_matched: bool + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'protocol_matched': {'key': 'protocolMatched', 'type': 'bool'}, + 'source_matched': {'key': 'sourceMatched', 'type': 'bool'}, + 'source_port_matched': {'key': 'sourcePortMatched', 'type': 'bool'}, + 'destination_matched': {'key': 'destinationMatched', 'type': 'bool'}, + 'destination_port_matched': {'key': 'destinationPortMatched', 'type': 'bool'}, + } + + def __init__( + self, + *, + name: Optional[str] = None, + protocol_matched: Optional[bool] = None, + source_matched: Optional[bool] = None, + source_port_matched: Optional[bool] = None, + destination_matched: Optional[bool] = None, + destination_port_matched: Optional[bool] = None, + **kwargs + ): + super(NetworkSecurityRulesEvaluationResult, self).__init__(**kwargs) + self.name = name + self.protocol_matched = protocol_matched + self.source_matched = source_matched + self.source_port_matched = source_port_matched + self.destination_matched = destination_matched + self.destination_port_matched = destination_port_matched + + +class NetworkVirtualAppliance(Resource): + """NetworkVirtualAppliance Resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :param identity: The service principal that has read access to cloud-init and config blob. + :type identity: ~azure.mgmt.network.v2021_02_01.models.ManagedServiceIdentity + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param nva_sku: Network Virtual Appliance SKU. + :type nva_sku: ~azure.mgmt.network.v2021_02_01.models.VirtualApplianceSkuProperties + :ivar address_prefix: Address Prefix. + :vartype address_prefix: str + :param boot_strap_configuration_blobs: BootStrapConfigurationBlobs storage URLs. + :type boot_strap_configuration_blobs: list[str] + :param virtual_hub: The Virtual Hub where Network Virtual Appliance is being deployed. + :type virtual_hub: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param cloud_init_configuration_blobs: CloudInitConfigurationBlob storage URLs. + :type cloud_init_configuration_blobs: list[str] + :param cloud_init_configuration: CloudInitConfiguration string in plain text. + :type cloud_init_configuration: str + :param virtual_appliance_asn: VirtualAppliance ASN. + :type virtual_appliance_asn: long + :ivar virtual_appliance_nics: List of Virtual Appliance Network Interfaces. + :vartype virtual_appliance_nics: + list[~azure.mgmt.network.v2021_02_01.models.VirtualApplianceNicProperties] + :ivar virtual_appliance_sites: List of references to VirtualApplianceSite. + :vartype virtual_appliance_sites: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + :ivar inbound_security_rules: List of references to InboundSecurityRules. + :vartype inbound_security_rules: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + :ivar provisioning_state: The provisioning state of the resource. Possible values include: + "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'address_prefix': {'readonly': True}, + 'virtual_appliance_asn': {'maximum': 4294967295, 'minimum': 0}, + 'virtual_appliance_nics': {'readonly': True}, + 'virtual_appliance_sites': {'readonly': True}, + 'inbound_security_rules': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'identity': {'key': 'identity', 'type': 'ManagedServiceIdentity'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'nva_sku': {'key': 'properties.nvaSku', 'type': 'VirtualApplianceSkuProperties'}, + 'address_prefix': {'key': 'properties.addressPrefix', 'type': 'str'}, + 'boot_strap_configuration_blobs': {'key': 'properties.bootStrapConfigurationBlobs', 'type': '[str]'}, + 'virtual_hub': {'key': 'properties.virtualHub', 'type': 'SubResource'}, + 'cloud_init_configuration_blobs': {'key': 'properties.cloudInitConfigurationBlobs', 'type': '[str]'}, + 'cloud_init_configuration': {'key': 'properties.cloudInitConfiguration', 'type': 'str'}, + 'virtual_appliance_asn': {'key': 'properties.virtualApplianceAsn', 'type': 'long'}, + 'virtual_appliance_nics': {'key': 'properties.virtualApplianceNics', 'type': '[VirtualApplianceNicProperties]'}, + 'virtual_appliance_sites': {'key': 'properties.virtualApplianceSites', 'type': '[SubResource]'}, + 'inbound_security_rules': {'key': 'properties.inboundSecurityRules', 'type': '[SubResource]'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + location: Optional[str] = None, + tags: Optional[Dict[str, str]] = None, + identity: Optional["ManagedServiceIdentity"] = None, + nva_sku: Optional["VirtualApplianceSkuProperties"] = None, + boot_strap_configuration_blobs: Optional[List[str]] = None, + virtual_hub: Optional["SubResource"] = None, + cloud_init_configuration_blobs: Optional[List[str]] = None, + cloud_init_configuration: Optional[str] = None, + virtual_appliance_asn: Optional[int] = None, + **kwargs + ): + super(NetworkVirtualAppliance, self).__init__(id=id, location=location, tags=tags, **kwargs) + self.identity = identity + self.etag = None + self.nva_sku = nva_sku + self.address_prefix = None + self.boot_strap_configuration_blobs = boot_strap_configuration_blobs + self.virtual_hub = virtual_hub + self.cloud_init_configuration_blobs = cloud_init_configuration_blobs + self.cloud_init_configuration = cloud_init_configuration + self.virtual_appliance_asn = virtual_appliance_asn + self.virtual_appliance_nics = None + self.virtual_appliance_sites = None + self.inbound_security_rules = None + self.provisioning_state = None + + +class NetworkVirtualApplianceListResult(msrest.serialization.Model): + """Response for ListNetworkVirtualAppliances API service call. + + :param value: List of Network Virtual Appliances. + :type value: list[~azure.mgmt.network.v2021_02_01.models.NetworkVirtualAppliance] + :param next_link: URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[NetworkVirtualAppliance]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["NetworkVirtualAppliance"]] = None, + next_link: Optional[str] = None, + **kwargs + ): + super(NetworkVirtualApplianceListResult, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class NetworkVirtualApplianceSiteListResult(msrest.serialization.Model): + """Response for ListNetworkVirtualApplianceSites API service call. + + :param value: List of Network Virtual Appliance sites. + :type value: list[~azure.mgmt.network.v2021_02_01.models.VirtualApplianceSite] + :param next_link: URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[VirtualApplianceSite]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["VirtualApplianceSite"]] = None, + next_link: Optional[str] = None, + **kwargs + ): + super(NetworkVirtualApplianceSiteListResult, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class NetworkVirtualApplianceSku(Resource): + """Definition of the NetworkVirtualApplianceSkus resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar vendor: Network Virtual Appliance Sku vendor. + :vartype vendor: str + :ivar available_versions: Available Network Virtual Appliance versions. + :vartype available_versions: list[str] + :param available_scale_units: The list of scale units available. + :type available_scale_units: + list[~azure.mgmt.network.v2021_02_01.models.NetworkVirtualApplianceSkuInstances] + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'vendor': {'readonly': True}, + 'available_versions': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'vendor': {'key': 'properties.vendor', 'type': 'str'}, + 'available_versions': {'key': 'properties.availableVersions', 'type': '[str]'}, + 'available_scale_units': {'key': 'properties.availableScaleUnits', 'type': '[NetworkVirtualApplianceSkuInstances]'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + location: Optional[str] = None, + tags: Optional[Dict[str, str]] = None, + available_scale_units: Optional[List["NetworkVirtualApplianceSkuInstances"]] = None, + **kwargs + ): + super(NetworkVirtualApplianceSku, self).__init__(id=id, location=location, tags=tags, **kwargs) + self.etag = None + self.vendor = None + self.available_versions = None + self.available_scale_units = available_scale_units + + +class NetworkVirtualApplianceSkuInstances(msrest.serialization.Model): + """List of available Sku and instances. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar scale_unit: Scale Unit. + :vartype scale_unit: str + :ivar instance_count: Instance Count. + :vartype instance_count: int + """ + + _validation = { + 'scale_unit': {'readonly': True}, + 'instance_count': {'readonly': True}, + } + + _attribute_map = { + 'scale_unit': {'key': 'scaleUnit', 'type': 'str'}, + 'instance_count': {'key': 'instanceCount', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(NetworkVirtualApplianceSkuInstances, self).__init__(**kwargs) + self.scale_unit = None + self.instance_count = None + + +class NetworkVirtualApplianceSkuListResult(msrest.serialization.Model): + """Response for ListNetworkVirtualApplianceSkus API service call. + + :param value: List of Network Virtual Appliance Skus that are available. + :type value: list[~azure.mgmt.network.v2021_02_01.models.NetworkVirtualApplianceSku] + :param next_link: URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[NetworkVirtualApplianceSku]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["NetworkVirtualApplianceSku"]] = None, + next_link: Optional[str] = None, + **kwargs + ): + super(NetworkVirtualApplianceSkuListResult, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class NetworkWatcher(Resource): + """Network watcher in a resource group. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar provisioning_state: The provisioning state of the network watcher resource. Possible + values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + location: Optional[str] = None, + tags: Optional[Dict[str, str]] = None, + **kwargs + ): + super(NetworkWatcher, self).__init__(id=id, location=location, tags=tags, **kwargs) + self.etag = None + self.provisioning_state = None + + +class NetworkWatcherListResult(msrest.serialization.Model): + """Response for ListNetworkWatchers API service call. + + :param value: List of network watcher resources. + :type value: list[~azure.mgmt.network.v2021_02_01.models.NetworkWatcher] + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[NetworkWatcher]'}, + } + + def __init__( + self, + *, + value: Optional[List["NetworkWatcher"]] = None, + **kwargs + ): + super(NetworkWatcherListResult, self).__init__(**kwargs) + self.value = value + + +class NextHopParameters(msrest.serialization.Model): + """Parameters that define the source and destination endpoint. + + All required parameters must be populated in order to send to Azure. + + :param target_resource_id: Required. The resource identifier of the target resource against + which the action is to be performed. + :type target_resource_id: str + :param source_ip_address: Required. The source IP address. + :type source_ip_address: str + :param destination_ip_address: Required. The destination IP address. + :type destination_ip_address: str + :param target_nic_resource_id: The NIC ID. (If VM has multiple NICs and IP forwarding is + enabled on any of the nics, then this parameter must be specified. Otherwise optional). + :type target_nic_resource_id: str + """ + + _validation = { + 'target_resource_id': {'required': True}, + 'source_ip_address': {'required': True}, + 'destination_ip_address': {'required': True}, + } + + _attribute_map = { + 'target_resource_id': {'key': 'targetResourceId', 'type': 'str'}, + 'source_ip_address': {'key': 'sourceIPAddress', 'type': 'str'}, + 'destination_ip_address': {'key': 'destinationIPAddress', 'type': 'str'}, + 'target_nic_resource_id': {'key': 'targetNicResourceId', 'type': 'str'}, + } + + def __init__( + self, + *, + target_resource_id: str, + source_ip_address: str, + destination_ip_address: str, + target_nic_resource_id: Optional[str] = None, + **kwargs + ): + super(NextHopParameters, self).__init__(**kwargs) + self.target_resource_id = target_resource_id + self.source_ip_address = source_ip_address + self.destination_ip_address = destination_ip_address + self.target_nic_resource_id = target_nic_resource_id + + +class NextHopResult(msrest.serialization.Model): + """The information about next hop from the specified VM. + + :param next_hop_type: Next hop type. Possible values include: "Internet", "VirtualAppliance", + "VirtualNetworkGateway", "VnetLocal", "HyperNetGateway", "None". + :type next_hop_type: str or ~azure.mgmt.network.v2021_02_01.models.NextHopType + :param next_hop_ip_address: Next hop IP Address. + :type next_hop_ip_address: str + :param route_table_id: The resource identifier for the route table associated with the route + being returned. If the route being returned does not correspond to any user created routes then + this field will be the string 'System Route'. + :type route_table_id: str + """ + + _attribute_map = { + 'next_hop_type': {'key': 'nextHopType', 'type': 'str'}, + 'next_hop_ip_address': {'key': 'nextHopIpAddress', 'type': 'str'}, + 'route_table_id': {'key': 'routeTableId', 'type': 'str'}, + } + + def __init__( + self, + *, + next_hop_type: Optional[Union[str, "NextHopType"]] = None, + next_hop_ip_address: Optional[str] = None, + route_table_id: Optional[str] = None, + **kwargs + ): + super(NextHopResult, self).__init__(**kwargs) + self.next_hop_type = next_hop_type + self.next_hop_ip_address = next_hop_ip_address + self.route_table_id = route_table_id + + +class O365BreakOutCategoryPolicies(msrest.serialization.Model): + """Office365 breakout categories. + + :param allow: Flag to control allow category. + :type allow: bool + :param optimize: Flag to control optimize category. + :type optimize: bool + :param default: Flag to control default category. + :type default: bool + """ + + _attribute_map = { + 'allow': {'key': 'allow', 'type': 'bool'}, + 'optimize': {'key': 'optimize', 'type': 'bool'}, + 'default': {'key': 'default', 'type': 'bool'}, + } + + def __init__( + self, + *, + allow: Optional[bool] = None, + optimize: Optional[bool] = None, + default: Optional[bool] = None, + **kwargs + ): + super(O365BreakOutCategoryPolicies, self).__init__(**kwargs) + self.allow = allow + self.optimize = optimize + self.default = default + + +class O365PolicyProperties(msrest.serialization.Model): + """The Office365 breakout policy. + + :param break_out_categories: Office365 breakout categories. + :type break_out_categories: ~azure.mgmt.network.v2021_02_01.models.O365BreakOutCategoryPolicies + """ + + _attribute_map = { + 'break_out_categories': {'key': 'breakOutCategories', 'type': 'O365BreakOutCategoryPolicies'}, + } + + def __init__( + self, + *, + break_out_categories: Optional["O365BreakOutCategoryPolicies"] = None, + **kwargs + ): + super(O365PolicyProperties, self).__init__(**kwargs) + self.break_out_categories = break_out_categories + + +class Office365PolicyProperties(msrest.serialization.Model): + """Network Virtual Appliance Sku Properties. + + :param break_out_categories: Office 365 breakout categories. + :type break_out_categories: ~azure.mgmt.network.v2021_02_01.models.BreakOutCategoryPolicies + """ + + _attribute_map = { + 'break_out_categories': {'key': 'breakOutCategories', 'type': 'BreakOutCategoryPolicies'}, + } + + def __init__( + self, + *, + break_out_categories: Optional["BreakOutCategoryPolicies"] = None, + **kwargs + ): + super(Office365PolicyProperties, self).__init__(**kwargs) + self.break_out_categories = break_out_categories + + +class Operation(msrest.serialization.Model): + """Network REST API operation definition. + + :param name: Operation name: {provider}/{resource}/{operation}. + :type name: str + :param display: Display metadata associated with the operation. + :type display: ~azure.mgmt.network.v2021_02_01.models.OperationDisplay + :param origin: Origin of the operation. + :type origin: str + :param service_specification: Specification of the service. + :type service_specification: + ~azure.mgmt.network.v2021_02_01.models.OperationPropertiesFormatServiceSpecification + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'display': {'key': 'display', 'type': 'OperationDisplay'}, + 'origin': {'key': 'origin', 'type': 'str'}, + 'service_specification': {'key': 'properties.serviceSpecification', 'type': 'OperationPropertiesFormatServiceSpecification'}, + } + + def __init__( + self, + *, + name: Optional[str] = None, + display: Optional["OperationDisplay"] = None, + origin: Optional[str] = None, + service_specification: Optional["OperationPropertiesFormatServiceSpecification"] = None, + **kwargs + ): + super(Operation, self).__init__(**kwargs) + self.name = name + self.display = display + self.origin = origin + self.service_specification = service_specification + + +class OperationDisplay(msrest.serialization.Model): + """Display metadata associated with the operation. + + :param provider: Service provider: Microsoft Network. + :type provider: str + :param resource: Resource on which the operation is performed. + :type resource: str + :param operation: Type of the operation: get, read, delete, etc. + :type operation: str + :param description: Description of the operation. + :type description: str + """ + + _attribute_map = { + 'provider': {'key': 'provider', 'type': 'str'}, + 'resource': {'key': 'resource', 'type': 'str'}, + 'operation': {'key': 'operation', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + } + + def __init__( + self, + *, + provider: Optional[str] = None, + resource: Optional[str] = None, + operation: Optional[str] = None, + description: Optional[str] = None, + **kwargs + ): + super(OperationDisplay, self).__init__(**kwargs) + self.provider = provider + self.resource = resource + self.operation = operation + self.description = description + + +class OperationListResult(msrest.serialization.Model): + """Result of the request to list Network operations. It contains a list of operations and a URL link to get the next set of results. + + :param value: List of Network operations supported by the Network resource provider. + :type value: list[~azure.mgmt.network.v2021_02_01.models.Operation] + :param next_link: URL to get the next set of operation list results if there are any. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Operation]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["Operation"]] = None, + next_link: Optional[str] = None, + **kwargs + ): + super(OperationListResult, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class OperationPropertiesFormatServiceSpecification(msrest.serialization.Model): + """Specification of the service. + + :param metric_specifications: Operation service specification. + :type metric_specifications: list[~azure.mgmt.network.v2021_02_01.models.MetricSpecification] + :param log_specifications: Operation log specification. + :type log_specifications: list[~azure.mgmt.network.v2021_02_01.models.LogSpecification] + """ + + _attribute_map = { + 'metric_specifications': {'key': 'metricSpecifications', 'type': '[MetricSpecification]'}, + 'log_specifications': {'key': 'logSpecifications', 'type': '[LogSpecification]'}, + } + + def __init__( + self, + *, + metric_specifications: Optional[List["MetricSpecification"]] = None, + log_specifications: Optional[List["LogSpecification"]] = None, + **kwargs + ): + super(OperationPropertiesFormatServiceSpecification, self).__init__(**kwargs) + self.metric_specifications = metric_specifications + self.log_specifications = log_specifications + + +class OutboundRule(SubResource): + """Outbound rule of the load balancer. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: The name of the resource that is unique within the set of outbound rules used by + the load balancer. This name can be used to access the resource. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str + :param allocated_outbound_ports: The number of outbound ports to be used for NAT. + :type allocated_outbound_ports: int + :param frontend_ip_configurations: The Frontend IP addresses of the load balancer. + :type frontend_ip_configurations: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + :param backend_address_pool: A reference to a pool of DIPs. Outbound traffic is randomly load + balanced across IPs in the backend IPs. + :type backend_address_pool: ~azure.mgmt.network.v2021_02_01.models.SubResource + :ivar provisioning_state: The provisioning state of the outbound rule resource. Possible values + include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :param protocol: The protocol for the outbound rule in load balancer. Possible values include: + "Tcp", "Udp", "All". + :type protocol: str or ~azure.mgmt.network.v2021_02_01.models.LoadBalancerOutboundRuleProtocol + :param enable_tcp_reset: Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected + connection termination. This element is only used when the protocol is set to TCP. + :type enable_tcp_reset: bool + :param idle_timeout_in_minutes: The timeout for the TCP idle connection. + :type idle_timeout_in_minutes: int + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'allocated_outbound_ports': {'key': 'properties.allocatedOutboundPorts', 'type': 'int'}, + 'frontend_ip_configurations': {'key': 'properties.frontendIPConfigurations', 'type': '[SubResource]'}, + 'backend_address_pool': {'key': 'properties.backendAddressPool', 'type': 'SubResource'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'protocol': {'key': 'properties.protocol', 'type': 'str'}, + 'enable_tcp_reset': {'key': 'properties.enableTcpReset', 'type': 'bool'}, + 'idle_timeout_in_minutes': {'key': 'properties.idleTimeoutInMinutes', 'type': 'int'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + name: Optional[str] = None, + allocated_outbound_ports: Optional[int] = None, + frontend_ip_configurations: Optional[List["SubResource"]] = None, + backend_address_pool: Optional["SubResource"] = None, + protocol: Optional[Union[str, "LoadBalancerOutboundRuleProtocol"]] = None, + enable_tcp_reset: Optional[bool] = None, + idle_timeout_in_minutes: Optional[int] = None, + **kwargs + ): + super(OutboundRule, self).__init__(id=id, **kwargs) + self.name = name + self.etag = None + self.type = None + self.allocated_outbound_ports = allocated_outbound_ports + self.frontend_ip_configurations = frontend_ip_configurations + self.backend_address_pool = backend_address_pool + self.provisioning_state = None + self.protocol = protocol + self.enable_tcp_reset = enable_tcp_reset + self.idle_timeout_in_minutes = idle_timeout_in_minutes + + +class OwaspCrsExclusionEntry(msrest.serialization.Model): + """Allow to exclude some variable satisfy the condition for the WAF check. + + All required parameters must be populated in order to send to Azure. + + :param match_variable: Required. The variable to be excluded. Possible values include: + "RequestHeaderNames", "RequestCookieNames", "RequestArgNames". + :type match_variable: str or + ~azure.mgmt.network.v2021_02_01.models.OwaspCrsExclusionEntryMatchVariable + :param selector_match_operator: Required. When matchVariable is a collection, operate on the + selector to specify which elements in the collection this exclusion applies to. Possible values + include: "Equals", "Contains", "StartsWith", "EndsWith", "EqualsAny". + :type selector_match_operator: str or + ~azure.mgmt.network.v2021_02_01.models.OwaspCrsExclusionEntrySelectorMatchOperator + :param selector: Required. When matchVariable is a collection, operator used to specify which + elements in the collection this exclusion applies to. + :type selector: str + """ + + _validation = { + 'match_variable': {'required': True}, + 'selector_match_operator': {'required': True}, + 'selector': {'required': True}, + } + + _attribute_map = { + 'match_variable': {'key': 'matchVariable', 'type': 'str'}, + 'selector_match_operator': {'key': 'selectorMatchOperator', 'type': 'str'}, + 'selector': {'key': 'selector', 'type': 'str'}, + } + + def __init__( + self, + *, + match_variable: Union[str, "OwaspCrsExclusionEntryMatchVariable"], + selector_match_operator: Union[str, "OwaspCrsExclusionEntrySelectorMatchOperator"], + selector: str, + **kwargs + ): + super(OwaspCrsExclusionEntry, self).__init__(**kwargs) + self.match_variable = match_variable + self.selector_match_operator = selector_match_operator + self.selector = selector + + +class P2SConnectionConfiguration(SubResource): + """P2SConnectionConfiguration Resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: The name of the resource that is unique within a resource group. This name can be + used to access the resource. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param vpn_client_address_pool: The reference to the address space resource which represents + Address space for P2S VpnClient. + :type vpn_client_address_pool: ~azure.mgmt.network.v2021_02_01.models.AddressSpace + :param routing_configuration: The Routing Configuration indicating the associated and + propagated route tables on this connection. + :type routing_configuration: ~azure.mgmt.network.v2021_02_01.models.RoutingConfiguration + :param enable_internet_security: Flag indicating whether the enable internet security flag is + turned on for the P2S Connections or not. + :type enable_internet_security: bool + :ivar provisioning_state: The provisioning state of the P2SConnectionConfiguration resource. + Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'vpn_client_address_pool': {'key': 'properties.vpnClientAddressPool', 'type': 'AddressSpace'}, + 'routing_configuration': {'key': 'properties.routingConfiguration', 'type': 'RoutingConfiguration'}, + 'enable_internet_security': {'key': 'properties.enableInternetSecurity', 'type': 'bool'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + name: Optional[str] = None, + vpn_client_address_pool: Optional["AddressSpace"] = None, + routing_configuration: Optional["RoutingConfiguration"] = None, + enable_internet_security: Optional[bool] = None, + **kwargs + ): + super(P2SConnectionConfiguration, self).__init__(id=id, **kwargs) + self.name = name + self.etag = None + self.vpn_client_address_pool = vpn_client_address_pool + self.routing_configuration = routing_configuration + self.enable_internet_security = enable_internet_security + self.provisioning_state = None + + +class P2SVpnConnectionHealth(msrest.serialization.Model): + """P2S Vpn connection detailed health written to sas url. + + :param sas_url: Returned sas url of the blob to which the p2s vpn connection detailed health + will be written. + :type sas_url: str + """ + + _attribute_map = { + 'sas_url': {'key': 'sasUrl', 'type': 'str'}, + } + + def __init__( + self, + *, + sas_url: Optional[str] = None, + **kwargs + ): + super(P2SVpnConnectionHealth, self).__init__(**kwargs) + self.sas_url = sas_url + + +class P2SVpnConnectionHealthRequest(msrest.serialization.Model): + """List of P2S Vpn connection health request. + + :param vpn_user_names_filter: The list of p2s vpn user names whose p2s vpn connection detailed + health to retrieve for. + :type vpn_user_names_filter: list[str] + :param output_blob_sas_url: The sas-url to download the P2S Vpn connection health detail. + :type output_blob_sas_url: str + """ + + _attribute_map = { + 'vpn_user_names_filter': {'key': 'vpnUserNamesFilter', 'type': '[str]'}, + 'output_blob_sas_url': {'key': 'outputBlobSasUrl', 'type': 'str'}, + } + + def __init__( + self, + *, + vpn_user_names_filter: Optional[List[str]] = None, + output_blob_sas_url: Optional[str] = None, + **kwargs + ): + super(P2SVpnConnectionHealthRequest, self).__init__(**kwargs) + self.vpn_user_names_filter = vpn_user_names_filter + self.output_blob_sas_url = output_blob_sas_url + + +class P2SVpnConnectionRequest(msrest.serialization.Model): + """List of p2s vpn connections to be disconnected. + + :param vpn_connection_ids: List of p2s vpn connection Ids. + :type vpn_connection_ids: list[str] + """ + + _attribute_map = { + 'vpn_connection_ids': {'key': 'vpnConnectionIds', 'type': '[str]'}, + } + + def __init__( + self, + *, + vpn_connection_ids: Optional[List[str]] = None, + **kwargs + ): + super(P2SVpnConnectionRequest, self).__init__(**kwargs) + self.vpn_connection_ids = vpn_connection_ids + + +class P2SVpnGateway(Resource): + """P2SVpnGateway Resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param virtual_hub: The VirtualHub to which the gateway belongs. + :type virtual_hub: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param p2_s_connection_configurations: List of all p2s connection configurations of the + gateway. + :type p2_s_connection_configurations: + list[~azure.mgmt.network.v2021_02_01.models.P2SConnectionConfiguration] + :ivar provisioning_state: The provisioning state of the P2S VPN gateway resource. Possible + values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :param vpn_gateway_scale_unit: The scale unit for this p2s vpn gateway. + :type vpn_gateway_scale_unit: int + :param vpn_server_configuration: The VpnServerConfiguration to which the p2sVpnGateway is + attached to. + :type vpn_server_configuration: ~azure.mgmt.network.v2021_02_01.models.SubResource + :ivar vpn_client_connection_health: All P2S VPN clients' connection health status. + :vartype vpn_client_connection_health: + ~azure.mgmt.network.v2021_02_01.models.VpnClientConnectionHealth + :param custom_dns_servers: List of all customer specified DNS servers IP addresses. + :type custom_dns_servers: list[str] + :param is_routing_preference_internet: Enable Routing Preference property for the Public IP + Interface of the P2SVpnGateway. + :type is_routing_preference_internet: bool + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'vpn_client_connection_health': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'virtual_hub': {'key': 'properties.virtualHub', 'type': 'SubResource'}, + 'p2_s_connection_configurations': {'key': 'properties.p2SConnectionConfigurations', 'type': '[P2SConnectionConfiguration]'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'vpn_gateway_scale_unit': {'key': 'properties.vpnGatewayScaleUnit', 'type': 'int'}, + 'vpn_server_configuration': {'key': 'properties.vpnServerConfiguration', 'type': 'SubResource'}, + 'vpn_client_connection_health': {'key': 'properties.vpnClientConnectionHealth', 'type': 'VpnClientConnectionHealth'}, + 'custom_dns_servers': {'key': 'properties.customDnsServers', 'type': '[str]'}, + 'is_routing_preference_internet': {'key': 'properties.isRoutingPreferenceInternet', 'type': 'bool'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + location: Optional[str] = None, + tags: Optional[Dict[str, str]] = None, + virtual_hub: Optional["SubResource"] = None, + p2_s_connection_configurations: Optional[List["P2SConnectionConfiguration"]] = None, + vpn_gateway_scale_unit: Optional[int] = None, + vpn_server_configuration: Optional["SubResource"] = None, + custom_dns_servers: Optional[List[str]] = None, + is_routing_preference_internet: Optional[bool] = None, + **kwargs + ): + super(P2SVpnGateway, self).__init__(id=id, location=location, tags=tags, **kwargs) + self.etag = None + self.virtual_hub = virtual_hub + self.p2_s_connection_configurations = p2_s_connection_configurations + self.provisioning_state = None + self.vpn_gateway_scale_unit = vpn_gateway_scale_unit + self.vpn_server_configuration = vpn_server_configuration + self.vpn_client_connection_health = None + self.custom_dns_servers = custom_dns_servers + self.is_routing_preference_internet = is_routing_preference_internet + + +class P2SVpnProfileParameters(msrest.serialization.Model): + """Vpn Client Parameters for package generation. + + :param authentication_method: VPN client authentication method. Possible values include: + "EAPTLS", "EAPMSCHAPv2". + :type authentication_method: str or ~azure.mgmt.network.v2021_02_01.models.AuthenticationMethod + """ + + _attribute_map = { + 'authentication_method': {'key': 'authenticationMethod', 'type': 'str'}, + } + + def __init__( + self, + *, + authentication_method: Optional[Union[str, "AuthenticationMethod"]] = None, + **kwargs + ): + super(P2SVpnProfileParameters, self).__init__(**kwargs) + self.authentication_method = authentication_method + + +class PacketCapture(msrest.serialization.Model): + """Parameters that define the create packet capture operation. + + All required parameters must be populated in order to send to Azure. + + :param target: Required. The ID of the targeted resource, only VM is currently supported. + :type target: str + :param bytes_to_capture_per_packet: Number of bytes captured per packet, the remaining bytes + are truncated. + :type bytes_to_capture_per_packet: long + :param total_bytes_per_session: Maximum size of the capture output. + :type total_bytes_per_session: long + :param time_limit_in_seconds: Maximum duration of the capture session in seconds. + :type time_limit_in_seconds: int + :param storage_location: Required. The storage location for a packet capture session. + :type storage_location: ~azure.mgmt.network.v2021_02_01.models.PacketCaptureStorageLocation + :param filters: A list of packet capture filters. + :type filters: list[~azure.mgmt.network.v2021_02_01.models.PacketCaptureFilter] + """ + + _validation = { + 'target': {'required': True}, + 'bytes_to_capture_per_packet': {'maximum': 4294967295, 'minimum': 0}, + 'total_bytes_per_session': {'maximum': 4294967295, 'minimum': 0}, + 'time_limit_in_seconds': {'maximum': 18000, 'minimum': 0}, + 'storage_location': {'required': True}, + } + + _attribute_map = { + 'target': {'key': 'properties.target', 'type': 'str'}, + 'bytes_to_capture_per_packet': {'key': 'properties.bytesToCapturePerPacket', 'type': 'long'}, + 'total_bytes_per_session': {'key': 'properties.totalBytesPerSession', 'type': 'long'}, + 'time_limit_in_seconds': {'key': 'properties.timeLimitInSeconds', 'type': 'int'}, + 'storage_location': {'key': 'properties.storageLocation', 'type': 'PacketCaptureStorageLocation'}, + 'filters': {'key': 'properties.filters', 'type': '[PacketCaptureFilter]'}, + } + + def __init__( + self, + *, + target: str, + storage_location: "PacketCaptureStorageLocation", + bytes_to_capture_per_packet: Optional[int] = 0, + total_bytes_per_session: Optional[int] = 1073741824, + time_limit_in_seconds: Optional[int] = 18000, + filters: Optional[List["PacketCaptureFilter"]] = None, + **kwargs + ): + super(PacketCapture, self).__init__(**kwargs) + self.target = target + self.bytes_to_capture_per_packet = bytes_to_capture_per_packet + self.total_bytes_per_session = total_bytes_per_session + self.time_limit_in_seconds = time_limit_in_seconds + self.storage_location = storage_location + self.filters = filters + + +class PacketCaptureFilter(msrest.serialization.Model): + """Filter that is applied to packet capture request. Multiple filters can be applied. + + :param protocol: Protocol to be filtered on. Possible values include: "TCP", "UDP", "Any". + Default value: "Any". + :type protocol: str or ~azure.mgmt.network.v2021_02_01.models.PcProtocol + :param local_ip_address: Local IP Address to be filtered on. Notation: "127.0.0.1" for single + address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5"? for multiple entries. + Multiple ranges not currently supported. Mixing ranges with multiple entries not currently + supported. Default = null. + :type local_ip_address: str + :param remote_ip_address: Local IP Address to be filtered on. Notation: "127.0.0.1" for single + address entry. "127.0.0.1-127.0.0.255" for range. "127.0.0.1;127.0.0.5;" for multiple entries. + Multiple ranges not currently supported. Mixing ranges with multiple entries not currently + supported. Default = null. + :type remote_ip_address: str + :param local_port: Local port to be filtered on. Notation: "80" for single port entry."80-85" + for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing + ranges with multiple entries not currently supported. Default = null. + :type local_port: str + :param remote_port: Remote port to be filtered on. Notation: "80" for single port entry."80-85" + for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing + ranges with multiple entries not currently supported. Default = null. + :type remote_port: str + """ + + _attribute_map = { + 'protocol': {'key': 'protocol', 'type': 'str'}, + 'local_ip_address': {'key': 'localIPAddress', 'type': 'str'}, + 'remote_ip_address': {'key': 'remoteIPAddress', 'type': 'str'}, + 'local_port': {'key': 'localPort', 'type': 'str'}, + 'remote_port': {'key': 'remotePort', 'type': 'str'}, + } + + def __init__( + self, + *, + protocol: Optional[Union[str, "PcProtocol"]] = "Any", + local_ip_address: Optional[str] = None, + remote_ip_address: Optional[str] = None, + local_port: Optional[str] = None, + remote_port: Optional[str] = None, + **kwargs + ): + super(PacketCaptureFilter, self).__init__(**kwargs) + self.protocol = protocol + self.local_ip_address = local_ip_address + self.remote_ip_address = remote_ip_address + self.local_port = local_port + self.remote_port = remote_port + + +class PacketCaptureListResult(msrest.serialization.Model): + """List of packet capture sessions. + + :param value: Information about packet capture sessions. + :type value: list[~azure.mgmt.network.v2021_02_01.models.PacketCaptureResult] + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[PacketCaptureResult]'}, + } + + def __init__( + self, + *, + value: Optional[List["PacketCaptureResult"]] = None, + **kwargs + ): + super(PacketCaptureListResult, self).__init__(**kwargs) + self.value = value + + +class PacketCaptureParameters(msrest.serialization.Model): + """Parameters that define the create packet capture operation. + + All required parameters must be populated in order to send to Azure. + + :param target: Required. The ID of the targeted resource, only VM is currently supported. + :type target: str + :param bytes_to_capture_per_packet: Number of bytes captured per packet, the remaining bytes + are truncated. + :type bytes_to_capture_per_packet: long + :param total_bytes_per_session: Maximum size of the capture output. + :type total_bytes_per_session: long + :param time_limit_in_seconds: Maximum duration of the capture session in seconds. + :type time_limit_in_seconds: int + :param storage_location: Required. The storage location for a packet capture session. + :type storage_location: ~azure.mgmt.network.v2021_02_01.models.PacketCaptureStorageLocation + :param filters: A list of packet capture filters. + :type filters: list[~azure.mgmt.network.v2021_02_01.models.PacketCaptureFilter] + """ + + _validation = { + 'target': {'required': True}, + 'bytes_to_capture_per_packet': {'maximum': 4294967295, 'minimum': 0}, + 'total_bytes_per_session': {'maximum': 4294967295, 'minimum': 0}, + 'time_limit_in_seconds': {'maximum': 18000, 'minimum': 0}, + 'storage_location': {'required': True}, + } + + _attribute_map = { + 'target': {'key': 'target', 'type': 'str'}, + 'bytes_to_capture_per_packet': {'key': 'bytesToCapturePerPacket', 'type': 'long'}, + 'total_bytes_per_session': {'key': 'totalBytesPerSession', 'type': 'long'}, + 'time_limit_in_seconds': {'key': 'timeLimitInSeconds', 'type': 'int'}, + 'storage_location': {'key': 'storageLocation', 'type': 'PacketCaptureStorageLocation'}, + 'filters': {'key': 'filters', 'type': '[PacketCaptureFilter]'}, + } + + def __init__( + self, + *, + target: str, + storage_location: "PacketCaptureStorageLocation", + bytes_to_capture_per_packet: Optional[int] = 0, + total_bytes_per_session: Optional[int] = 1073741824, + time_limit_in_seconds: Optional[int] = 18000, + filters: Optional[List["PacketCaptureFilter"]] = None, + **kwargs + ): + super(PacketCaptureParameters, self).__init__(**kwargs) + self.target = target + self.bytes_to_capture_per_packet = bytes_to_capture_per_packet + self.total_bytes_per_session = total_bytes_per_session + self.time_limit_in_seconds = time_limit_in_seconds + self.storage_location = storage_location + self.filters = filters + + +class PacketCaptureQueryStatusResult(msrest.serialization.Model): + """Status of packet capture session. + + :param name: The name of the packet capture resource. + :type name: str + :param id: The ID of the packet capture resource. + :type id: str + :param capture_start_time: The start time of the packet capture session. + :type capture_start_time: ~datetime.datetime + :param packet_capture_status: The status of the packet capture session. Possible values + include: "NotStarted", "Running", "Stopped", "Error", "Unknown". + :type packet_capture_status: str or ~azure.mgmt.network.v2021_02_01.models.PcStatus + :param stop_reason: The reason the current packet capture session was stopped. + :type stop_reason: str + :param packet_capture_error: List of errors of packet capture session. + :type packet_capture_error: list[str or ~azure.mgmt.network.v2021_02_01.models.PcError] + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'id': {'key': 'id', 'type': 'str'}, + 'capture_start_time': {'key': 'captureStartTime', 'type': 'iso-8601'}, + 'packet_capture_status': {'key': 'packetCaptureStatus', 'type': 'str'}, + 'stop_reason': {'key': 'stopReason', 'type': 'str'}, + 'packet_capture_error': {'key': 'packetCaptureError', 'type': '[str]'}, + } + + def __init__( + self, + *, + name: Optional[str] = None, + id: Optional[str] = None, + capture_start_time: Optional[datetime.datetime] = None, + packet_capture_status: Optional[Union[str, "PcStatus"]] = None, + stop_reason: Optional[str] = None, + packet_capture_error: Optional[List[Union[str, "PcError"]]] = None, + **kwargs + ): + super(PacketCaptureQueryStatusResult, self).__init__(**kwargs) + self.name = name + self.id = id + self.capture_start_time = capture_start_time + self.packet_capture_status = packet_capture_status + self.stop_reason = stop_reason + self.packet_capture_error = packet_capture_error + + +class PacketCaptureResult(msrest.serialization.Model): + """Information about packet capture session. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar name: Name of the packet capture session. + :vartype name: str + :ivar id: ID of the packet capture operation. + :vartype id: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param target: The ID of the targeted resource, only VM is currently supported. + :type target: str + :param bytes_to_capture_per_packet: Number of bytes captured per packet, the remaining bytes + are truncated. + :type bytes_to_capture_per_packet: long + :param total_bytes_per_session: Maximum size of the capture output. + :type total_bytes_per_session: long + :param time_limit_in_seconds: Maximum duration of the capture session in seconds. + :type time_limit_in_seconds: int + :param storage_location: The storage location for a packet capture session. + :type storage_location: ~azure.mgmt.network.v2021_02_01.models.PacketCaptureStorageLocation + :param filters: A list of packet capture filters. + :type filters: list[~azure.mgmt.network.v2021_02_01.models.PacketCaptureFilter] + :ivar provisioning_state: The provisioning state of the packet capture session. Possible values + include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'name': {'readonly': True}, + 'id': {'readonly': True}, + 'etag': {'readonly': True}, + 'bytes_to_capture_per_packet': {'maximum': 4294967295, 'minimum': 0}, + 'total_bytes_per_session': {'maximum': 4294967295, 'minimum': 0}, + 'time_limit_in_seconds': {'maximum': 18000, 'minimum': 0}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'id': {'key': 'id', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'target': {'key': 'properties.target', 'type': 'str'}, + 'bytes_to_capture_per_packet': {'key': 'properties.bytesToCapturePerPacket', 'type': 'long'}, + 'total_bytes_per_session': {'key': 'properties.totalBytesPerSession', 'type': 'long'}, + 'time_limit_in_seconds': {'key': 'properties.timeLimitInSeconds', 'type': 'int'}, + 'storage_location': {'key': 'properties.storageLocation', 'type': 'PacketCaptureStorageLocation'}, + 'filters': {'key': 'properties.filters', 'type': '[PacketCaptureFilter]'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + *, + target: Optional[str] = None, + bytes_to_capture_per_packet: Optional[int] = 0, + total_bytes_per_session: Optional[int] = 1073741824, + time_limit_in_seconds: Optional[int] = 18000, + storage_location: Optional["PacketCaptureStorageLocation"] = None, + filters: Optional[List["PacketCaptureFilter"]] = None, + **kwargs + ): + super(PacketCaptureResult, self).__init__(**kwargs) + self.name = None + self.id = None + self.etag = None + self.target = target + self.bytes_to_capture_per_packet = bytes_to_capture_per_packet + self.total_bytes_per_session = total_bytes_per_session + self.time_limit_in_seconds = time_limit_in_seconds + self.storage_location = storage_location + self.filters = filters + self.provisioning_state = None + + +class PacketCaptureResultProperties(PacketCaptureParameters): + """The properties of a packet capture session. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param target: Required. The ID of the targeted resource, only VM is currently supported. + :type target: str + :param bytes_to_capture_per_packet: Number of bytes captured per packet, the remaining bytes + are truncated. + :type bytes_to_capture_per_packet: long + :param total_bytes_per_session: Maximum size of the capture output. + :type total_bytes_per_session: long + :param time_limit_in_seconds: Maximum duration of the capture session in seconds. + :type time_limit_in_seconds: int + :param storage_location: Required. The storage location for a packet capture session. + :type storage_location: ~azure.mgmt.network.v2021_02_01.models.PacketCaptureStorageLocation + :param filters: A list of packet capture filters. + :type filters: list[~azure.mgmt.network.v2021_02_01.models.PacketCaptureFilter] + :ivar provisioning_state: The provisioning state of the packet capture session. Possible values + include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'target': {'required': True}, + 'bytes_to_capture_per_packet': {'maximum': 4294967295, 'minimum': 0}, + 'total_bytes_per_session': {'maximum': 4294967295, 'minimum': 0}, + 'time_limit_in_seconds': {'maximum': 18000, 'minimum': 0}, + 'storage_location': {'required': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'target': {'key': 'target', 'type': 'str'}, + 'bytes_to_capture_per_packet': {'key': 'bytesToCapturePerPacket', 'type': 'long'}, + 'total_bytes_per_session': {'key': 'totalBytesPerSession', 'type': 'long'}, + 'time_limit_in_seconds': {'key': 'timeLimitInSeconds', 'type': 'int'}, + 'storage_location': {'key': 'storageLocation', 'type': 'PacketCaptureStorageLocation'}, + 'filters': {'key': 'filters', 'type': '[PacketCaptureFilter]'}, + 'provisioning_state': {'key': 'provisioningState', 'type': 'str'}, + } + + def __init__( + self, + *, + target: str, + storage_location: "PacketCaptureStorageLocation", + bytes_to_capture_per_packet: Optional[int] = 0, + total_bytes_per_session: Optional[int] = 1073741824, + time_limit_in_seconds: Optional[int] = 18000, + filters: Optional[List["PacketCaptureFilter"]] = None, + **kwargs + ): + super(PacketCaptureResultProperties, self).__init__(target=target, bytes_to_capture_per_packet=bytes_to_capture_per_packet, total_bytes_per_session=total_bytes_per_session, time_limit_in_seconds=time_limit_in_seconds, storage_location=storage_location, filters=filters, **kwargs) + self.provisioning_state = None + + +class PacketCaptureStorageLocation(msrest.serialization.Model): + """The storage location for a packet capture session. + + :param storage_id: The ID of the storage account to save the packet capture session. Required + if no local file path is provided. + :type storage_id: str + :param storage_path: The URI of the storage path to save the packet capture. Must be a + well-formed URI describing the location to save the packet capture. + :type storage_path: str + :param file_path: A valid local path on the targeting VM. Must include the name of the capture + file (*.cap). For linux virtual machine it must start with /var/captures. Required if no + storage ID is provided, otherwise optional. + :type file_path: str + """ + + _attribute_map = { + 'storage_id': {'key': 'storageId', 'type': 'str'}, + 'storage_path': {'key': 'storagePath', 'type': 'str'}, + 'file_path': {'key': 'filePath', 'type': 'str'}, + } + + def __init__( + self, + *, + storage_id: Optional[str] = None, + storage_path: Optional[str] = None, + file_path: Optional[str] = None, + **kwargs + ): + super(PacketCaptureStorageLocation, self).__init__(**kwargs) + self.storage_id = storage_id + self.storage_path = storage_path + self.file_path = file_path + + +class PatchRouteFilter(SubResource): + """Route Filter Resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: The name of the resource that is unique within a resource group. This name can be + used to access the resource. + :vartype name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Resource type. + :vartype type: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :param rules: Collection of RouteFilterRules contained within a route filter. + :type rules: list[~azure.mgmt.network.v2021_02_01.models.RouteFilterRule] + :ivar peerings: A collection of references to express route circuit peerings. + :vartype peerings: list[~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitPeering] + :ivar ipv6_peerings: A collection of references to express route circuit ipv6 peerings. + :vartype ipv6_peerings: list[~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitPeering] + :ivar provisioning_state: The provisioning state of the route filter resource. Possible values + include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'name': {'readonly': True}, + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'peerings': {'readonly': True}, + 'ipv6_peerings': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'rules': {'key': 'properties.rules', 'type': '[RouteFilterRule]'}, + 'peerings': {'key': 'properties.peerings', 'type': '[ExpressRouteCircuitPeering]'}, + 'ipv6_peerings': {'key': 'properties.ipv6Peerings', 'type': '[ExpressRouteCircuitPeering]'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + tags: Optional[Dict[str, str]] = None, + rules: Optional[List["RouteFilterRule"]] = None, + **kwargs + ): + super(PatchRouteFilter, self).__init__(id=id, **kwargs) + self.name = None + self.etag = None + self.type = None + self.tags = tags + self.rules = rules + self.peerings = None + self.ipv6_peerings = None + self.provisioning_state = None + + +class PatchRouteFilterRule(SubResource): + """Route Filter Rule Resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: The name of the resource that is unique within a resource group. This name can be + used to access the resource. + :vartype name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param access: The access type of the rule. Possible values include: "Allow", "Deny". + :type access: str or ~azure.mgmt.network.v2021_02_01.models.Access + :param route_filter_rule_type: The rule type of the rule. Possible values include: "Community". + :type route_filter_rule_type: str or ~azure.mgmt.network.v2021_02_01.models.RouteFilterRuleType + :param communities: The collection for bgp community values to filter on. e.g. + ['12076:5010','12076:5020']. + :type communities: list[str] + :ivar provisioning_state: The provisioning state of the route filter rule resource. Possible + values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'name': {'readonly': True}, + 'etag': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'access': {'key': 'properties.access', 'type': 'str'}, + 'route_filter_rule_type': {'key': 'properties.routeFilterRuleType', 'type': 'str'}, + 'communities': {'key': 'properties.communities', 'type': '[str]'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + access: Optional[Union[str, "Access"]] = None, + route_filter_rule_type: Optional[Union[str, "RouteFilterRuleType"]] = None, + communities: Optional[List[str]] = None, + **kwargs + ): + super(PatchRouteFilterRule, self).__init__(id=id, **kwargs) + self.name = None + self.etag = None + self.access = access + self.route_filter_rule_type = route_filter_rule_type + self.communities = communities + self.provisioning_state = None + + +class PeerExpressRouteCircuitConnection(SubResource): + """Peer Express Route Circuit Connection in an ExpressRouteCircuitPeering resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: The name of the resource that is unique within a resource group. This name can be + used to access the resource. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str + :param express_route_circuit_peering: Reference to Express Route Circuit Private Peering + Resource of the circuit. + :type express_route_circuit_peering: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param peer_express_route_circuit_peering: Reference to Express Route Circuit Private Peering + Resource of the peered circuit. + :type peer_express_route_circuit_peering: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param address_prefix: /29 IP address space to carve out Customer addresses for tunnels. + :type address_prefix: str + :ivar circuit_connection_status: Express Route Circuit connection state. Possible values + include: "Connected", "Connecting", "Disconnected". + :vartype circuit_connection_status: str or + ~azure.mgmt.network.v2021_02_01.models.CircuitConnectionStatus + :param connection_name: The name of the express route circuit connection resource. + :type connection_name: str + :param auth_resource_guid: The resource guid of the authorization used for the express route + circuit connection. + :type auth_resource_guid: str + :ivar provisioning_state: The provisioning state of the peer express route circuit connection + resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'circuit_connection_status': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'express_route_circuit_peering': {'key': 'properties.expressRouteCircuitPeering', 'type': 'SubResource'}, + 'peer_express_route_circuit_peering': {'key': 'properties.peerExpressRouteCircuitPeering', 'type': 'SubResource'}, + 'address_prefix': {'key': 'properties.addressPrefix', 'type': 'str'}, + 'circuit_connection_status': {'key': 'properties.circuitConnectionStatus', 'type': 'str'}, + 'connection_name': {'key': 'properties.connectionName', 'type': 'str'}, + 'auth_resource_guid': {'key': 'properties.authResourceGuid', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + name: Optional[str] = None, + express_route_circuit_peering: Optional["SubResource"] = None, + peer_express_route_circuit_peering: Optional["SubResource"] = None, + address_prefix: Optional[str] = None, + connection_name: Optional[str] = None, + auth_resource_guid: Optional[str] = None, + **kwargs + ): + super(PeerExpressRouteCircuitConnection, self).__init__(id=id, **kwargs) + self.name = name + self.etag = None + self.type = None + self.express_route_circuit_peering = express_route_circuit_peering + self.peer_express_route_circuit_peering = peer_express_route_circuit_peering + self.address_prefix = address_prefix + self.circuit_connection_status = None + self.connection_name = connection_name + self.auth_resource_guid = auth_resource_guid + self.provisioning_state = None + + +class PeerExpressRouteCircuitConnectionListResult(msrest.serialization.Model): + """Response for ListPeeredConnections API service call retrieves all global reach peer circuit connections that belongs to a Private Peering for an ExpressRouteCircuit. + + :param value: The global reach peer circuit connection associated with Private Peering in an + ExpressRoute Circuit. + :type value: list[~azure.mgmt.network.v2021_02_01.models.PeerExpressRouteCircuitConnection] + :param next_link: The URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[PeerExpressRouteCircuitConnection]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["PeerExpressRouteCircuitConnection"]] = None, + next_link: Optional[str] = None, + **kwargs + ): + super(PeerExpressRouteCircuitConnectionListResult, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class PeerRoute(msrest.serialization.Model): + """Peer routing details. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar local_address: The peer's local address. + :vartype local_address: str + :ivar network: The route's network prefix. + :vartype network: str + :ivar next_hop: The route's next hop. + :vartype next_hop: str + :ivar source_peer: The peer this route was learned from. + :vartype source_peer: str + :ivar origin: The source this route was learned from. + :vartype origin: str + :ivar as_path: The route's AS path sequence. + :vartype as_path: str + :ivar weight: The route's weight. + :vartype weight: int + """ + + _validation = { + 'local_address': {'readonly': True}, + 'network': {'readonly': True}, + 'next_hop': {'readonly': True}, + 'source_peer': {'readonly': True}, + 'origin': {'readonly': True}, + 'as_path': {'readonly': True}, + 'weight': {'readonly': True}, + } + + _attribute_map = { + 'local_address': {'key': 'localAddress', 'type': 'str'}, + 'network': {'key': 'network', 'type': 'str'}, + 'next_hop': {'key': 'nextHop', 'type': 'str'}, + 'source_peer': {'key': 'sourcePeer', 'type': 'str'}, + 'origin': {'key': 'origin', 'type': 'str'}, + 'as_path': {'key': 'asPath', 'type': 'str'}, + 'weight': {'key': 'weight', 'type': 'int'}, + } + + def __init__( + self, + **kwargs + ): + super(PeerRoute, self).__init__(**kwargs) + self.local_address = None + self.network = None + self.next_hop = None + self.source_peer = None + self.origin = None + self.as_path = None + self.weight = None + + +class PeerRouteList(msrest.serialization.Model): + """List of virtual router peer routes. + + :param value: List of peer routes. + :type value: list[~azure.mgmt.network.v2021_02_01.models.PeerRoute] + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[PeerRoute]'}, + } + + def __init__( + self, + *, + value: Optional[List["PeerRoute"]] = None, + **kwargs + ): + super(PeerRouteList, self).__init__(**kwargs) + self.value = value + + +class PolicySettings(msrest.serialization.Model): + """Defines contents of a web application firewall global configuration. + + :param state: The state of the policy. Possible values include: "Disabled", "Enabled". + :type state: str or ~azure.mgmt.network.v2021_02_01.models.WebApplicationFirewallEnabledState + :param mode: The mode of the policy. Possible values include: "Prevention", "Detection". + :type mode: str or ~azure.mgmt.network.v2021_02_01.models.WebApplicationFirewallMode + :param request_body_check: Whether to allow WAF to check request Body. + :type request_body_check: bool + :param max_request_body_size_in_kb: Maximum request body size in Kb for WAF. + :type max_request_body_size_in_kb: int + :param file_upload_limit_in_mb: Maximum file upload size in Mb for WAF. + :type file_upload_limit_in_mb: int + """ + + _validation = { + 'max_request_body_size_in_kb': {'minimum': 8}, + 'file_upload_limit_in_mb': {'minimum': 0}, + } + + _attribute_map = { + 'state': {'key': 'state', 'type': 'str'}, + 'mode': {'key': 'mode', 'type': 'str'}, + 'request_body_check': {'key': 'requestBodyCheck', 'type': 'bool'}, + 'max_request_body_size_in_kb': {'key': 'maxRequestBodySizeInKb', 'type': 'int'}, + 'file_upload_limit_in_mb': {'key': 'fileUploadLimitInMb', 'type': 'int'}, + } + + def __init__( + self, + *, + state: Optional[Union[str, "WebApplicationFirewallEnabledState"]] = None, + mode: Optional[Union[str, "WebApplicationFirewallMode"]] = None, + request_body_check: Optional[bool] = None, + max_request_body_size_in_kb: Optional[int] = None, + file_upload_limit_in_mb: Optional[int] = None, + **kwargs + ): + super(PolicySettings, self).__init__(**kwargs) + self.state = state + self.mode = mode + self.request_body_check = request_body_check + self.max_request_body_size_in_kb = max_request_body_size_in_kb + self.file_upload_limit_in_mb = file_upload_limit_in_mb + + +class PrepareNetworkPoliciesRequest(msrest.serialization.Model): + """Details of PrepareNetworkPolicies for Subnet. + + :param service_name: The name of the service for which subnet is being prepared for. + :type service_name: str + :param network_intent_policy_configurations: A list of NetworkIntentPolicyConfiguration. + :type network_intent_policy_configurations: + list[~azure.mgmt.network.v2021_02_01.models.NetworkIntentPolicyConfiguration] + """ + + _attribute_map = { + 'service_name': {'key': 'serviceName', 'type': 'str'}, + 'network_intent_policy_configurations': {'key': 'networkIntentPolicyConfigurations', 'type': '[NetworkIntentPolicyConfiguration]'}, + } + + def __init__( + self, + *, + service_name: Optional[str] = None, + network_intent_policy_configurations: Optional[List["NetworkIntentPolicyConfiguration"]] = None, + **kwargs + ): + super(PrepareNetworkPoliciesRequest, self).__init__(**kwargs) + self.service_name = service_name + self.network_intent_policy_configurations = network_intent_policy_configurations + + +class PrivateDnsZoneConfig(msrest.serialization.Model): + """PrivateDnsZoneConfig resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param name: Name of the resource that is unique within a resource group. This name can be used + to access the resource. + :type name: str + :param private_dns_zone_id: The resource id of the private dns zone. + :type private_dns_zone_id: str + :ivar record_sets: A collection of information regarding a recordSet, holding information to + identify private resources. + :vartype record_sets: list[~azure.mgmt.network.v2021_02_01.models.RecordSet] + """ + + _validation = { + 'record_sets': {'readonly': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'private_dns_zone_id': {'key': 'properties.privateDnsZoneId', 'type': 'str'}, + 'record_sets': {'key': 'properties.recordSets', 'type': '[RecordSet]'}, + } + + def __init__( + self, + *, + name: Optional[str] = None, + private_dns_zone_id: Optional[str] = None, + **kwargs + ): + super(PrivateDnsZoneConfig, self).__init__(**kwargs) + self.name = name + self.private_dns_zone_id = private_dns_zone_id + self.record_sets = None + + +class PrivateDnsZoneGroup(SubResource): + """Private dns zone group resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: Name of the resource that is unique within a resource group. This name can be used + to access the resource. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar provisioning_state: The provisioning state of the private dns zone group resource. + Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :param private_dns_zone_configs: A collection of private dns zone configurations of the private + dns zone group. + :type private_dns_zone_configs: + list[~azure.mgmt.network.v2021_02_01.models.PrivateDnsZoneConfig] + """ + + _validation = { + 'etag': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'private_dns_zone_configs': {'key': 'properties.privateDnsZoneConfigs', 'type': '[PrivateDnsZoneConfig]'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + name: Optional[str] = None, + private_dns_zone_configs: Optional[List["PrivateDnsZoneConfig"]] = None, + **kwargs + ): + super(PrivateDnsZoneGroup, self).__init__(id=id, **kwargs) + self.name = name + self.etag = None + self.provisioning_state = None + self.private_dns_zone_configs = private_dns_zone_configs + + +class PrivateDnsZoneGroupListResult(msrest.serialization.Model): + """Response for the ListPrivateDnsZoneGroups API service call. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: A list of private dns zone group resources in a private endpoint. + :type value: list[~azure.mgmt.network.v2021_02_01.models.PrivateDnsZoneGroup] + :ivar next_link: The URL to get the next set of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[PrivateDnsZoneGroup]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["PrivateDnsZoneGroup"]] = None, + **kwargs + ): + super(PrivateDnsZoneGroupListResult, self).__init__(**kwargs) + self.value = value + self.next_link = None + + +class PrivateEndpoint(Resource): + """Private endpoint resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :param extended_location: The extended location of the load balancer. + :type extended_location: ~azure.mgmt.network.v2021_02_01.models.ExtendedLocation + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param subnet: The ID of the subnet from which the private IP will be allocated. + :type subnet: ~azure.mgmt.network.v2021_02_01.models.Subnet + :ivar network_interfaces: An array of references to the network interfaces created for this + private endpoint. + :vartype network_interfaces: list[~azure.mgmt.network.v2021_02_01.models.NetworkInterface] + :ivar provisioning_state: The provisioning state of the private endpoint resource. Possible + values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :param private_link_service_connections: A grouping of information about the connection to the + remote resource. + :type private_link_service_connections: + list[~azure.mgmt.network.v2021_02_01.models.PrivateLinkServiceConnection] + :param manual_private_link_service_connections: A grouping of information about the connection + to the remote resource. Used when the network admin does not have access to approve connections + to the remote resource. + :type manual_private_link_service_connections: + list[~azure.mgmt.network.v2021_02_01.models.PrivateLinkServiceConnection] + :param custom_dns_configs: An array of custom dns configurations. + :type custom_dns_configs: + list[~azure.mgmt.network.v2021_02_01.models.CustomDnsConfigPropertiesFormat] + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'network_interfaces': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'extended_location': {'key': 'extendedLocation', 'type': 'ExtendedLocation'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'subnet': {'key': 'properties.subnet', 'type': 'Subnet'}, + 'network_interfaces': {'key': 'properties.networkInterfaces', 'type': '[NetworkInterface]'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'private_link_service_connections': {'key': 'properties.privateLinkServiceConnections', 'type': '[PrivateLinkServiceConnection]'}, + 'manual_private_link_service_connections': {'key': 'properties.manualPrivateLinkServiceConnections', 'type': '[PrivateLinkServiceConnection]'}, + 'custom_dns_configs': {'key': 'properties.customDnsConfigs', 'type': '[CustomDnsConfigPropertiesFormat]'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + location: Optional[str] = None, + tags: Optional[Dict[str, str]] = None, + extended_location: Optional["ExtendedLocation"] = None, + subnet: Optional["Subnet"] = None, + private_link_service_connections: Optional[List["PrivateLinkServiceConnection"]] = None, + manual_private_link_service_connections: Optional[List["PrivateLinkServiceConnection"]] = None, + custom_dns_configs: Optional[List["CustomDnsConfigPropertiesFormat"]] = None, + **kwargs + ): + super(PrivateEndpoint, self).__init__(id=id, location=location, tags=tags, **kwargs) + self.extended_location = extended_location + self.etag = None + self.subnet = subnet + self.network_interfaces = None + self.provisioning_state = None + self.private_link_service_connections = private_link_service_connections + self.manual_private_link_service_connections = manual_private_link_service_connections + self.custom_dns_configs = custom_dns_configs + + +class PrivateEndpointConnection(SubResource): + """PrivateEndpointConnection resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: The name of the resource that is unique within a resource group. This name can be + used to access the resource. + :type name: str + :ivar type: The resource type. + :vartype type: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar private_endpoint: The resource of private end point. + :vartype private_endpoint: ~azure.mgmt.network.v2021_02_01.models.PrivateEndpoint + :param private_link_service_connection_state: A collection of information about the state of + the connection between service consumer and provider. + :type private_link_service_connection_state: + ~azure.mgmt.network.v2021_02_01.models.PrivateLinkServiceConnectionState + :ivar provisioning_state: The provisioning state of the private endpoint connection resource. + Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :ivar link_identifier: The consumer link id. + :vartype link_identifier: str + """ + + _validation = { + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'private_endpoint': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'link_identifier': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'private_endpoint': {'key': 'properties.privateEndpoint', 'type': 'PrivateEndpoint'}, + 'private_link_service_connection_state': {'key': 'properties.privateLinkServiceConnectionState', 'type': 'PrivateLinkServiceConnectionState'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'link_identifier': {'key': 'properties.linkIdentifier', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + name: Optional[str] = None, + private_link_service_connection_state: Optional["PrivateLinkServiceConnectionState"] = None, + **kwargs + ): + super(PrivateEndpointConnection, self).__init__(id=id, **kwargs) + self.name = name + self.type = None + self.etag = None + self.private_endpoint = None + self.private_link_service_connection_state = private_link_service_connection_state + self.provisioning_state = None + self.link_identifier = None + + +class PrivateEndpointConnectionListResult(msrest.serialization.Model): + """Response for the ListPrivateEndpointConnection API service call. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: A list of PrivateEndpointConnection resources for a specific private link + service. + :type value: list[~azure.mgmt.network.v2021_02_01.models.PrivateEndpointConnection] + :ivar next_link: The URL to get the next set of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[PrivateEndpointConnection]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["PrivateEndpointConnection"]] = None, + **kwargs + ): + super(PrivateEndpointConnectionListResult, self).__init__(**kwargs) + self.value = value + self.next_link = None + + +class PrivateEndpointListResult(msrest.serialization.Model): + """Response for the ListPrivateEndpoints API service call. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: A list of private endpoint resources in a resource group. + :type value: list[~azure.mgmt.network.v2021_02_01.models.PrivateEndpoint] + :ivar next_link: The URL to get the next set of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[PrivateEndpoint]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["PrivateEndpoint"]] = None, + **kwargs + ): + super(PrivateEndpointListResult, self).__init__(**kwargs) + self.value = value + self.next_link = None + + +class PrivateLinkService(Resource): + """Private link service resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :param extended_location: The extended location of the load balancer. + :type extended_location: ~azure.mgmt.network.v2021_02_01.models.ExtendedLocation + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param load_balancer_frontend_ip_configurations: An array of references to the load balancer IP + configurations. + :type load_balancer_frontend_ip_configurations: + list[~azure.mgmt.network.v2021_02_01.models.FrontendIPConfiguration] + :param ip_configurations: An array of private link service IP configurations. + :type ip_configurations: + list[~azure.mgmt.network.v2021_02_01.models.PrivateLinkServiceIpConfiguration] + :ivar network_interfaces: An array of references to the network interfaces created for this + private link service. + :vartype network_interfaces: list[~azure.mgmt.network.v2021_02_01.models.NetworkInterface] + :ivar provisioning_state: The provisioning state of the private link service resource. Possible + values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :ivar private_endpoint_connections: An array of list about connections to the private endpoint. + :vartype private_endpoint_connections: + list[~azure.mgmt.network.v2021_02_01.models.PrivateEndpointConnection] + :param visibility: The visibility list of the private link service. + :type visibility: ~azure.mgmt.network.v2021_02_01.models.PrivateLinkServicePropertiesVisibility + :param auto_approval: The auto-approval list of the private link service. + :type auto_approval: + ~azure.mgmt.network.v2021_02_01.models.PrivateLinkServicePropertiesAutoApproval + :param fqdns: The list of Fqdn. + :type fqdns: list[str] + :ivar alias: The alias of the private link service. + :vartype alias: str + :param enable_proxy_protocol: Whether the private link service is enabled for proxy protocol or + not. + :type enable_proxy_protocol: bool + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'network_interfaces': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'private_endpoint_connections': {'readonly': True}, + 'alias': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'extended_location': {'key': 'extendedLocation', 'type': 'ExtendedLocation'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'load_balancer_frontend_ip_configurations': {'key': 'properties.loadBalancerFrontendIpConfigurations', 'type': '[FrontendIPConfiguration]'}, + 'ip_configurations': {'key': 'properties.ipConfigurations', 'type': '[PrivateLinkServiceIpConfiguration]'}, + 'network_interfaces': {'key': 'properties.networkInterfaces', 'type': '[NetworkInterface]'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'private_endpoint_connections': {'key': 'properties.privateEndpointConnections', 'type': '[PrivateEndpointConnection]'}, + 'visibility': {'key': 'properties.visibility', 'type': 'PrivateLinkServicePropertiesVisibility'}, + 'auto_approval': {'key': 'properties.autoApproval', 'type': 'PrivateLinkServicePropertiesAutoApproval'}, + 'fqdns': {'key': 'properties.fqdns', 'type': '[str]'}, + 'alias': {'key': 'properties.alias', 'type': 'str'}, + 'enable_proxy_protocol': {'key': 'properties.enableProxyProtocol', 'type': 'bool'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + location: Optional[str] = None, + tags: Optional[Dict[str, str]] = None, + extended_location: Optional["ExtendedLocation"] = None, + load_balancer_frontend_ip_configurations: Optional[List["FrontendIPConfiguration"]] = None, + ip_configurations: Optional[List["PrivateLinkServiceIpConfiguration"]] = None, + visibility: Optional["PrivateLinkServicePropertiesVisibility"] = None, + auto_approval: Optional["PrivateLinkServicePropertiesAutoApproval"] = None, + fqdns: Optional[List[str]] = None, + enable_proxy_protocol: Optional[bool] = None, + **kwargs + ): + super(PrivateLinkService, self).__init__(id=id, location=location, tags=tags, **kwargs) + self.extended_location = extended_location + self.etag = None + self.load_balancer_frontend_ip_configurations = load_balancer_frontend_ip_configurations + self.ip_configurations = ip_configurations + self.network_interfaces = None + self.provisioning_state = None + self.private_endpoint_connections = None + self.visibility = visibility + self.auto_approval = auto_approval + self.fqdns = fqdns + self.alias = None + self.enable_proxy_protocol = enable_proxy_protocol + + +class PrivateLinkServiceConnection(SubResource): + """PrivateLinkServiceConnection resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: The name of the resource that is unique within a resource group. This name can be + used to access the resource. + :type name: str + :ivar type: The resource type. + :vartype type: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar provisioning_state: The provisioning state of the private link service connection + resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :param private_link_service_id: The resource id of private link service. + :type private_link_service_id: str + :param group_ids: The ID(s) of the group(s) obtained from the remote resource that this private + endpoint should connect to. + :type group_ids: list[str] + :param request_message: A message passed to the owner of the remote resource with this + connection request. Restricted to 140 chars. + :type request_message: str + :param private_link_service_connection_state: A collection of read-only information about the + state of the connection to the remote resource. + :type private_link_service_connection_state: + ~azure.mgmt.network.v2021_02_01.models.PrivateLinkServiceConnectionState + """ + + _validation = { + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'private_link_service_id': {'key': 'properties.privateLinkServiceId', 'type': 'str'}, + 'group_ids': {'key': 'properties.groupIds', 'type': '[str]'}, + 'request_message': {'key': 'properties.requestMessage', 'type': 'str'}, + 'private_link_service_connection_state': {'key': 'properties.privateLinkServiceConnectionState', 'type': 'PrivateLinkServiceConnectionState'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + name: Optional[str] = None, + private_link_service_id: Optional[str] = None, + group_ids: Optional[List[str]] = None, + request_message: Optional[str] = None, + private_link_service_connection_state: Optional["PrivateLinkServiceConnectionState"] = None, + **kwargs + ): + super(PrivateLinkServiceConnection, self).__init__(id=id, **kwargs) + self.name = name + self.type = None + self.etag = None + self.provisioning_state = None + self.private_link_service_id = private_link_service_id + self.group_ids = group_ids + self.request_message = request_message + self.private_link_service_connection_state = private_link_service_connection_state + + +class PrivateLinkServiceConnectionState(msrest.serialization.Model): + """A collection of information about the state of the connection between service consumer and provider. + + :param status: Indicates whether the connection has been Approved/Rejected/Removed by the owner + of the service. + :type status: str + :param description: The reason for approval/rejection of the connection. + :type description: str + :param actions_required: A message indicating if changes on the service provider require any + updates on the consumer. + :type actions_required: str + """ + + _attribute_map = { + 'status': {'key': 'status', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + 'actions_required': {'key': 'actionsRequired', 'type': 'str'}, + } + + def __init__( + self, + *, + status: Optional[str] = None, + description: Optional[str] = None, + actions_required: Optional[str] = None, + **kwargs + ): + super(PrivateLinkServiceConnectionState, self).__init__(**kwargs) + self.status = status + self.description = description + self.actions_required = actions_required + + +class PrivateLinkServiceIpConfiguration(SubResource): + """The private link service ip configuration. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: The name of private link service ip configuration. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: The resource type. + :vartype type: str + :param private_ip_address: The private IP address of the IP configuration. + :type private_ip_address: str + :param private_ip_allocation_method: The private IP address allocation method. Possible values + include: "Static", "Dynamic". + :type private_ip_allocation_method: str or + ~azure.mgmt.network.v2021_02_01.models.IPAllocationMethod + :param subnet: The reference to the subnet resource. + :type subnet: ~azure.mgmt.network.v2021_02_01.models.Subnet + :param primary: Whether the ip configuration is primary or not. + :type primary: bool + :ivar provisioning_state: The provisioning state of the private link service IP configuration + resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :param private_ip_address_version: Whether the specific IP configuration is IPv4 or IPv6. + Default is IPv4. Possible values include: "IPv4", "IPv6". + :type private_ip_address_version: str or ~azure.mgmt.network.v2021_02_01.models.IPVersion + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'private_ip_address': {'key': 'properties.privateIPAddress', 'type': 'str'}, + 'private_ip_allocation_method': {'key': 'properties.privateIPAllocationMethod', 'type': 'str'}, + 'subnet': {'key': 'properties.subnet', 'type': 'Subnet'}, + 'primary': {'key': 'properties.primary', 'type': 'bool'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'private_ip_address_version': {'key': 'properties.privateIPAddressVersion', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + name: Optional[str] = None, + private_ip_address: Optional[str] = None, + private_ip_allocation_method: Optional[Union[str, "IPAllocationMethod"]] = None, + subnet: Optional["Subnet"] = None, + primary: Optional[bool] = None, + private_ip_address_version: Optional[Union[str, "IPVersion"]] = None, + **kwargs + ): + super(PrivateLinkServiceIpConfiguration, self).__init__(id=id, **kwargs) + self.name = name + self.etag = None + self.type = None + self.private_ip_address = private_ip_address + self.private_ip_allocation_method = private_ip_allocation_method + self.subnet = subnet + self.primary = primary + self.provisioning_state = None + self.private_ip_address_version = private_ip_address_version + + +class PrivateLinkServiceListResult(msrest.serialization.Model): + """Response for the ListPrivateLinkService API service call. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: A list of PrivateLinkService resources in a resource group. + :type value: list[~azure.mgmt.network.v2021_02_01.models.PrivateLinkService] + :ivar next_link: The URL to get the next set of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[PrivateLinkService]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["PrivateLinkService"]] = None, + **kwargs + ): + super(PrivateLinkServiceListResult, self).__init__(**kwargs) + self.value = value + self.next_link = None + + +class ResourceSet(msrest.serialization.Model): + """The base resource set for visibility and auto-approval. + + :param subscriptions: The list of subscriptions. + :type subscriptions: list[str] + """ + + _attribute_map = { + 'subscriptions': {'key': 'subscriptions', 'type': '[str]'}, + } + + def __init__( + self, + *, + subscriptions: Optional[List[str]] = None, + **kwargs + ): + super(ResourceSet, self).__init__(**kwargs) + self.subscriptions = subscriptions + + +class PrivateLinkServicePropertiesAutoApproval(ResourceSet): + """The auto-approval list of the private link service. + + :param subscriptions: The list of subscriptions. + :type subscriptions: list[str] + """ + + _attribute_map = { + 'subscriptions': {'key': 'subscriptions', 'type': '[str]'}, + } + + def __init__( + self, + *, + subscriptions: Optional[List[str]] = None, + **kwargs + ): + super(PrivateLinkServicePropertiesAutoApproval, self).__init__(subscriptions=subscriptions, **kwargs) + + +class PrivateLinkServicePropertiesVisibility(ResourceSet): + """The visibility list of the private link service. + + :param subscriptions: The list of subscriptions. + :type subscriptions: list[str] + """ + + _attribute_map = { + 'subscriptions': {'key': 'subscriptions', 'type': '[str]'}, + } + + def __init__( + self, + *, + subscriptions: Optional[List[str]] = None, + **kwargs + ): + super(PrivateLinkServicePropertiesVisibility, self).__init__(subscriptions=subscriptions, **kwargs) + + +class PrivateLinkServiceVisibility(msrest.serialization.Model): + """Response for the CheckPrivateLinkServiceVisibility API service call. + + :param visible: Private Link Service Visibility (True/False). + :type visible: bool + """ + + _attribute_map = { + 'visible': {'key': 'visible', 'type': 'bool'}, + } + + def __init__( + self, + *, + visible: Optional[bool] = None, + **kwargs + ): + super(PrivateLinkServiceVisibility, self).__init__(**kwargs) + self.visible = visible + + +class Probe(SubResource): + """A load balancer probe. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: The name of the resource that is unique within the set of probes used by the load + balancer. This name can be used to access the resource. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str + :ivar load_balancing_rules: The load balancer rules that use this probe. + :vartype load_balancing_rules: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + :param protocol: The protocol of the end point. If 'Tcp' is specified, a received ACK is + required for the probe to be successful. If 'Http' or 'Https' is specified, a 200 OK response + from the specifies URI is required for the probe to be successful. Possible values include: + "Http", "Tcp", "Https". + :type protocol: str or ~azure.mgmt.network.v2021_02_01.models.ProbeProtocol + :param port: The port for communicating the probe. Possible values range from 1 to 65535, + inclusive. + :type port: int + :param interval_in_seconds: The interval, in seconds, for how frequently to probe the endpoint + for health status. Typically, the interval is slightly less than half the allocated timeout + period (in seconds) which allows two full probes before taking the instance out of rotation. + The default value is 15, the minimum value is 5. + :type interval_in_seconds: int + :param number_of_probes: The number of probes where if no response, will result in stopping + further traffic from being delivered to the endpoint. This values allows endpoints to be taken + out of rotation faster or slower than the typical times used in Azure. + :type number_of_probes: int + :param request_path: The URI used for requesting health status from the VM. Path is required if + a protocol is set to http. Otherwise, it is not allowed. There is no default value. + :type request_path: str + :ivar provisioning_state: The provisioning state of the probe resource. Possible values + include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'load_balancing_rules': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'load_balancing_rules': {'key': 'properties.loadBalancingRules', 'type': '[SubResource]'}, + 'protocol': {'key': 'properties.protocol', 'type': 'str'}, + 'port': {'key': 'properties.port', 'type': 'int'}, + 'interval_in_seconds': {'key': 'properties.intervalInSeconds', 'type': 'int'}, + 'number_of_probes': {'key': 'properties.numberOfProbes', 'type': 'int'}, + 'request_path': {'key': 'properties.requestPath', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + name: Optional[str] = None, + protocol: Optional[Union[str, "ProbeProtocol"]] = None, + port: Optional[int] = None, + interval_in_seconds: Optional[int] = None, + number_of_probes: Optional[int] = None, + request_path: Optional[str] = None, + **kwargs + ): + super(Probe, self).__init__(id=id, **kwargs) + self.name = name + self.etag = None + self.type = None + self.load_balancing_rules = None + self.protocol = protocol + self.port = port + self.interval_in_seconds = interval_in_seconds + self.number_of_probes = number_of_probes + self.request_path = request_path + self.provisioning_state = None + + +class PropagatedRouteTable(msrest.serialization.Model): + """The list of RouteTables to advertise the routes to. + + :param labels: The list of labels. + :type labels: list[str] + :param ids: The list of resource ids of all the RouteTables. + :type ids: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + """ + + _attribute_map = { + 'labels': {'key': 'labels', 'type': '[str]'}, + 'ids': {'key': 'ids', 'type': '[SubResource]'}, + } + + def __init__( + self, + *, + labels: Optional[List[str]] = None, + ids: Optional[List["SubResource"]] = None, + **kwargs + ): + super(PropagatedRouteTable, self).__init__(**kwargs) + self.labels = labels + self.ids = ids + + +class ProtocolConfiguration(msrest.serialization.Model): + """Configuration of the protocol. + + :param http_configuration: HTTP configuration of the connectivity check. + :type http_configuration: ~azure.mgmt.network.v2021_02_01.models.HTTPConfiguration + """ + + _attribute_map = { + 'http_configuration': {'key': 'HTTPConfiguration', 'type': 'HTTPConfiguration'}, + } + + def __init__( + self, + *, + http_configuration: Optional["HTTPConfiguration"] = None, + **kwargs + ): + super(ProtocolConfiguration, self).__init__(**kwargs) + self.http_configuration = http_configuration + + +class ProtocolCustomSettingsFormat(msrest.serialization.Model): + """DDoS custom policy properties. + + :param protocol: The protocol for which the DDoS protection policy is being customized. + Possible values include: "Tcp", "Udp", "Syn". + :type protocol: str or ~azure.mgmt.network.v2021_02_01.models.DdosCustomPolicyProtocol + :param trigger_rate_override: The customized DDoS protection trigger rate. + :type trigger_rate_override: str + :param source_rate_override: The customized DDoS protection source rate. + :type source_rate_override: str + :param trigger_sensitivity_override: The customized DDoS protection trigger rate sensitivity + degrees. High: Trigger rate set with most sensitivity w.r.t. normal traffic. Default: Trigger + rate set with moderate sensitivity w.r.t. normal traffic. Low: Trigger rate set with less + sensitivity w.r.t. normal traffic. Relaxed: Trigger rate set with least sensitivity w.r.t. + normal traffic. Possible values include: "Relaxed", "Low", "Default", "High". + :type trigger_sensitivity_override: str or + ~azure.mgmt.network.v2021_02_01.models.DdosCustomPolicyTriggerSensitivityOverride + """ + + _attribute_map = { + 'protocol': {'key': 'protocol', 'type': 'str'}, + 'trigger_rate_override': {'key': 'triggerRateOverride', 'type': 'str'}, + 'source_rate_override': {'key': 'sourceRateOverride', 'type': 'str'}, + 'trigger_sensitivity_override': {'key': 'triggerSensitivityOverride', 'type': 'str'}, + } + + def __init__( + self, + *, + protocol: Optional[Union[str, "DdosCustomPolicyProtocol"]] = None, + trigger_rate_override: Optional[str] = None, + source_rate_override: Optional[str] = None, + trigger_sensitivity_override: Optional[Union[str, "DdosCustomPolicyTriggerSensitivityOverride"]] = None, + **kwargs + ): + super(ProtocolCustomSettingsFormat, self).__init__(**kwargs) + self.protocol = protocol + self.trigger_rate_override = trigger_rate_override + self.source_rate_override = source_rate_override + self.trigger_sensitivity_override = trigger_sensitivity_override + + +class PublicIPAddress(Resource): + """Public IP address resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :param extended_location: The extended location of the public ip address. + :type extended_location: ~azure.mgmt.network.v2021_02_01.models.ExtendedLocation + :param sku: The public IP address SKU. + :type sku: ~azure.mgmt.network.v2021_02_01.models.PublicIPAddressSku + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param zones: A list of availability zones denoting the IP allocated for the resource needs to + come from. + :type zones: list[str] + :param public_ip_allocation_method: The public IP address allocation method. Possible values + include: "Static", "Dynamic". + :type public_ip_allocation_method: str or + ~azure.mgmt.network.v2021_02_01.models.IPAllocationMethod + :param public_ip_address_version: The public IP address version. Possible values include: + "IPv4", "IPv6". + :type public_ip_address_version: str or ~azure.mgmt.network.v2021_02_01.models.IPVersion + :ivar ip_configuration: The IP configuration associated with the public IP address. + :vartype ip_configuration: ~azure.mgmt.network.v2021_02_01.models.IPConfiguration + :param dns_settings: The FQDN of the DNS record associated with the public IP address. + :type dns_settings: ~azure.mgmt.network.v2021_02_01.models.PublicIPAddressDnsSettings + :param ddos_settings: The DDoS protection custom policy associated with the public IP address. + :type ddos_settings: ~azure.mgmt.network.v2021_02_01.models.DdosSettings + :param ip_tags: The list of tags associated with the public IP address. + :type ip_tags: list[~azure.mgmt.network.v2021_02_01.models.IpTag] + :param ip_address: The IP address associated with the public IP address resource. + :type ip_address: str + :param public_ip_prefix: The Public IP Prefix this Public IP Address should be allocated from. + :type public_ip_prefix: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param idle_timeout_in_minutes: The idle timeout of the public IP address. + :type idle_timeout_in_minutes: int + :ivar resource_guid: The resource GUID property of the public IP address resource. + :vartype resource_guid: str + :ivar provisioning_state: The provisioning state of the public IP address resource. Possible + values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :param service_public_ip_address: The service public IP address of the public IP address + resource. + :type service_public_ip_address: ~azure.mgmt.network.v2021_02_01.models.PublicIPAddress + :param nat_gateway: The NatGateway for the Public IP address. + :type nat_gateway: ~azure.mgmt.network.v2021_02_01.models.NatGateway + :param migration_phase: Migration phase of Public IP Address. Possible values include: "None", + "Prepare", "Commit", "Abort", "Committed". + :type migration_phase: str or + ~azure.mgmt.network.v2021_02_01.models.PublicIPAddressMigrationPhase + :param linked_public_ip_address: The linked public IP address of the public IP address + resource. + :type linked_public_ip_address: ~azure.mgmt.network.v2021_02_01.models.PublicIPAddress + :param delete_option: Specify what happens to the public IP address when the VM using it is + deleted. Possible values include: "Delete", "Detach". + :type delete_option: str or ~azure.mgmt.network.v2021_02_01.models.DeleteOptions + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'ip_configuration': {'readonly': True}, + 'resource_guid': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'extended_location': {'key': 'extendedLocation', 'type': 'ExtendedLocation'}, + 'sku': {'key': 'sku', 'type': 'PublicIPAddressSku'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'zones': {'key': 'zones', 'type': '[str]'}, + 'public_ip_allocation_method': {'key': 'properties.publicIPAllocationMethod', 'type': 'str'}, + 'public_ip_address_version': {'key': 'properties.publicIPAddressVersion', 'type': 'str'}, + 'ip_configuration': {'key': 'properties.ipConfiguration', 'type': 'IPConfiguration'}, + 'dns_settings': {'key': 'properties.dnsSettings', 'type': 'PublicIPAddressDnsSettings'}, + 'ddos_settings': {'key': 'properties.ddosSettings', 'type': 'DdosSettings'}, + 'ip_tags': {'key': 'properties.ipTags', 'type': '[IpTag]'}, + 'ip_address': {'key': 'properties.ipAddress', 'type': 'str'}, + 'public_ip_prefix': {'key': 'properties.publicIPPrefix', 'type': 'SubResource'}, + 'idle_timeout_in_minutes': {'key': 'properties.idleTimeoutInMinutes', 'type': 'int'}, + 'resource_guid': {'key': 'properties.resourceGuid', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'service_public_ip_address': {'key': 'properties.servicePublicIPAddress', 'type': 'PublicIPAddress'}, + 'nat_gateway': {'key': 'properties.natGateway', 'type': 'NatGateway'}, + 'migration_phase': {'key': 'properties.migrationPhase', 'type': 'str'}, + 'linked_public_ip_address': {'key': 'properties.linkedPublicIPAddress', 'type': 'PublicIPAddress'}, + 'delete_option': {'key': 'properties.deleteOption', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + location: Optional[str] = None, + tags: Optional[Dict[str, str]] = None, + extended_location: Optional["ExtendedLocation"] = None, + sku: Optional["PublicIPAddressSku"] = None, + zones: Optional[List[str]] = None, + public_ip_allocation_method: Optional[Union[str, "IPAllocationMethod"]] = None, + public_ip_address_version: Optional[Union[str, "IPVersion"]] = None, + dns_settings: Optional["PublicIPAddressDnsSettings"] = None, + ddos_settings: Optional["DdosSettings"] = None, + ip_tags: Optional[List["IpTag"]] = None, + ip_address: Optional[str] = None, + public_ip_prefix: Optional["SubResource"] = None, + idle_timeout_in_minutes: Optional[int] = None, + service_public_ip_address: Optional["PublicIPAddress"] = None, + nat_gateway: Optional["NatGateway"] = None, + migration_phase: Optional[Union[str, "PublicIPAddressMigrationPhase"]] = None, + linked_public_ip_address: Optional["PublicIPAddress"] = None, + delete_option: Optional[Union[str, "DeleteOptions"]] = None, + **kwargs + ): + super(PublicIPAddress, self).__init__(id=id, location=location, tags=tags, **kwargs) + self.extended_location = extended_location + self.sku = sku + self.etag = None + self.zones = zones + self.public_ip_allocation_method = public_ip_allocation_method + self.public_ip_address_version = public_ip_address_version + self.ip_configuration = None + self.dns_settings = dns_settings + self.ddos_settings = ddos_settings + self.ip_tags = ip_tags + self.ip_address = ip_address + self.public_ip_prefix = public_ip_prefix + self.idle_timeout_in_minutes = idle_timeout_in_minutes + self.resource_guid = None + self.provisioning_state = None + self.service_public_ip_address = service_public_ip_address + self.nat_gateway = nat_gateway + self.migration_phase = migration_phase + self.linked_public_ip_address = linked_public_ip_address + self.delete_option = delete_option + + +class PublicIPAddressDnsSettings(msrest.serialization.Model): + """Contains FQDN of the DNS record associated with the public IP address. + + :param domain_name_label: The domain name label. The concatenation of the domain name label and + the regionalized DNS zone make up the fully qualified domain name associated with the public IP + address. If a domain name label is specified, an A DNS record is created for the public IP in + the Microsoft Azure DNS system. + :type domain_name_label: str + :param fqdn: The Fully Qualified Domain Name of the A DNS record associated with the public IP. + This is the concatenation of the domainNameLabel and the regionalized DNS zone. + :type fqdn: str + :param reverse_fqdn: The reverse FQDN. A user-visible, fully qualified domain name that + resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is + created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN. + :type reverse_fqdn: str + """ + + _attribute_map = { + 'domain_name_label': {'key': 'domainNameLabel', 'type': 'str'}, + 'fqdn': {'key': 'fqdn', 'type': 'str'}, + 'reverse_fqdn': {'key': 'reverseFqdn', 'type': 'str'}, + } + + def __init__( + self, + *, + domain_name_label: Optional[str] = None, + fqdn: Optional[str] = None, + reverse_fqdn: Optional[str] = None, + **kwargs + ): + super(PublicIPAddressDnsSettings, self).__init__(**kwargs) + self.domain_name_label = domain_name_label + self.fqdn = fqdn + self.reverse_fqdn = reverse_fqdn + + +class PublicIPAddressListResult(msrest.serialization.Model): + """Response for ListPublicIpAddresses API service call. + + :param value: A list of public IP addresses that exists in a resource group. + :type value: list[~azure.mgmt.network.v2021_02_01.models.PublicIPAddress] + :param next_link: The URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[PublicIPAddress]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["PublicIPAddress"]] = None, + next_link: Optional[str] = None, + **kwargs + ): + super(PublicIPAddressListResult, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class PublicIPAddressSku(msrest.serialization.Model): + """SKU of a public IP address. + + :param name: Name of a public IP address SKU. Possible values include: "Basic", "Standard". + :type name: str or ~azure.mgmt.network.v2021_02_01.models.PublicIPAddressSkuName + :param tier: Tier of a public IP address SKU. Possible values include: "Regional", "Global". + :type tier: str or ~azure.mgmt.network.v2021_02_01.models.PublicIPAddressSkuTier + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'tier': {'key': 'tier', 'type': 'str'}, + } + + def __init__( + self, + *, + name: Optional[Union[str, "PublicIPAddressSkuName"]] = None, + tier: Optional[Union[str, "PublicIPAddressSkuTier"]] = None, + **kwargs + ): + super(PublicIPAddressSku, self).__init__(**kwargs) + self.name = name + self.tier = tier + + +class PublicIPPrefix(Resource): + """Public IP prefix resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :param extended_location: The extended location of the public ip address. + :type extended_location: ~azure.mgmt.network.v2021_02_01.models.ExtendedLocation + :param sku: The public IP prefix SKU. + :type sku: ~azure.mgmt.network.v2021_02_01.models.PublicIPPrefixSku + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param zones: A list of availability zones denoting the IP allocated for the resource needs to + come from. + :type zones: list[str] + :param public_ip_address_version: The public IP address version. Possible values include: + "IPv4", "IPv6". + :type public_ip_address_version: str or ~azure.mgmt.network.v2021_02_01.models.IPVersion + :param ip_tags: The list of tags associated with the public IP prefix. + :type ip_tags: list[~azure.mgmt.network.v2021_02_01.models.IpTag] + :param prefix_length: The Length of the Public IP Prefix. + :type prefix_length: int + :ivar ip_prefix: The allocated Prefix. + :vartype ip_prefix: str + :ivar public_ip_addresses: The list of all referenced PublicIPAddresses. + :vartype public_ip_addresses: + list[~azure.mgmt.network.v2021_02_01.models.ReferencedPublicIpAddress] + :ivar load_balancer_frontend_ip_configuration: The reference to load balancer frontend IP + configuration associated with the public IP prefix. + :vartype load_balancer_frontend_ip_configuration: + ~azure.mgmt.network.v2021_02_01.models.SubResource + :param custom_ip_prefix: The customIpPrefix that this prefix is associated with. + :type custom_ip_prefix: ~azure.mgmt.network.v2021_02_01.models.SubResource + :ivar resource_guid: The resource GUID property of the public IP prefix resource. + :vartype resource_guid: str + :ivar provisioning_state: The provisioning state of the public IP prefix resource. Possible + values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :param nat_gateway: NatGateway of Public IP Prefix. + :type nat_gateway: ~azure.mgmt.network.v2021_02_01.models.NatGateway + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'ip_prefix': {'readonly': True}, + 'public_ip_addresses': {'readonly': True}, + 'load_balancer_frontend_ip_configuration': {'readonly': True}, + 'resource_guid': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'extended_location': {'key': 'extendedLocation', 'type': 'ExtendedLocation'}, + 'sku': {'key': 'sku', 'type': 'PublicIPPrefixSku'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'zones': {'key': 'zones', 'type': '[str]'}, + 'public_ip_address_version': {'key': 'properties.publicIPAddressVersion', 'type': 'str'}, + 'ip_tags': {'key': 'properties.ipTags', 'type': '[IpTag]'}, + 'prefix_length': {'key': 'properties.prefixLength', 'type': 'int'}, + 'ip_prefix': {'key': 'properties.ipPrefix', 'type': 'str'}, + 'public_ip_addresses': {'key': 'properties.publicIPAddresses', 'type': '[ReferencedPublicIpAddress]'}, + 'load_balancer_frontend_ip_configuration': {'key': 'properties.loadBalancerFrontendIpConfiguration', 'type': 'SubResource'}, + 'custom_ip_prefix': {'key': 'properties.customIPPrefix', 'type': 'SubResource'}, + 'resource_guid': {'key': 'properties.resourceGuid', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'nat_gateway': {'key': 'properties.natGateway', 'type': 'NatGateway'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + location: Optional[str] = None, + tags: Optional[Dict[str, str]] = None, + extended_location: Optional["ExtendedLocation"] = None, + sku: Optional["PublicIPPrefixSku"] = None, + zones: Optional[List[str]] = None, + public_ip_address_version: Optional[Union[str, "IPVersion"]] = None, + ip_tags: Optional[List["IpTag"]] = None, + prefix_length: Optional[int] = None, + custom_ip_prefix: Optional["SubResource"] = None, + nat_gateway: Optional["NatGateway"] = None, + **kwargs + ): + super(PublicIPPrefix, self).__init__(id=id, location=location, tags=tags, **kwargs) + self.extended_location = extended_location + self.sku = sku + self.etag = None + self.zones = zones + self.public_ip_address_version = public_ip_address_version + self.ip_tags = ip_tags + self.prefix_length = prefix_length + self.ip_prefix = None + self.public_ip_addresses = None + self.load_balancer_frontend_ip_configuration = None + self.custom_ip_prefix = custom_ip_prefix + self.resource_guid = None + self.provisioning_state = None + self.nat_gateway = nat_gateway + + +class PublicIPPrefixListResult(msrest.serialization.Model): + """Response for ListPublicIpPrefixes API service call. + + :param value: A list of public IP prefixes that exists in a resource group. + :type value: list[~azure.mgmt.network.v2021_02_01.models.PublicIPPrefix] + :param next_link: The URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[PublicIPPrefix]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["PublicIPPrefix"]] = None, + next_link: Optional[str] = None, + **kwargs + ): + super(PublicIPPrefixListResult, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class PublicIPPrefixSku(msrest.serialization.Model): + """SKU of a public IP prefix. + + :param name: Name of a public IP prefix SKU. Possible values include: "Standard". + :type name: str or ~azure.mgmt.network.v2021_02_01.models.PublicIPPrefixSkuName + :param tier: Tier of a public IP prefix SKU. Possible values include: "Regional", "Global". + :type tier: str or ~azure.mgmt.network.v2021_02_01.models.PublicIPPrefixSkuTier + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'tier': {'key': 'tier', 'type': 'str'}, + } + + def __init__( + self, + *, + name: Optional[Union[str, "PublicIPPrefixSkuName"]] = None, + tier: Optional[Union[str, "PublicIPPrefixSkuTier"]] = None, + **kwargs + ): + super(PublicIPPrefixSku, self).__init__(**kwargs) + self.name = name + self.tier = tier + + +class QosIpRange(msrest.serialization.Model): + """Qos Traffic Profiler IP Range properties. + + :param start_ip: Start IP Address. + :type start_ip: str + :param end_ip: End IP Address. + :type end_ip: str + """ + + _attribute_map = { + 'start_ip': {'key': 'startIP', 'type': 'str'}, + 'end_ip': {'key': 'endIP', 'type': 'str'}, + } + + def __init__( + self, + *, + start_ip: Optional[str] = None, + end_ip: Optional[str] = None, + **kwargs + ): + super(QosIpRange, self).__init__(**kwargs) + self.start_ip = start_ip + self.end_ip = end_ip + + +class QosPortRange(msrest.serialization.Model): + """Qos Traffic Profiler Port range properties. + + :param start: Qos Port Range start. + :type start: int + :param end: Qos Port Range end. + :type end: int + """ + + _attribute_map = { + 'start': {'key': 'start', 'type': 'int'}, + 'end': {'key': 'end', 'type': 'int'}, + } + + def __init__( + self, + *, + start: Optional[int] = None, + end: Optional[int] = None, + **kwargs + ): + super(QosPortRange, self).__init__(**kwargs) + self.start = start + self.end = end + + +class QueryTroubleshootingParameters(msrest.serialization.Model): + """Parameters that define the resource to query the troubleshooting result. + + All required parameters must be populated in order to send to Azure. + + :param target_resource_id: Required. The target resource ID to query the troubleshooting + result. + :type target_resource_id: str + """ + + _validation = { + 'target_resource_id': {'required': True}, + } + + _attribute_map = { + 'target_resource_id': {'key': 'targetResourceId', 'type': 'str'}, + } + + def __init__( + self, + *, + target_resource_id: str, + **kwargs + ): + super(QueryTroubleshootingParameters, self).__init__(**kwargs) + self.target_resource_id = target_resource_id + + +class RadiusServer(msrest.serialization.Model): + """Radius Server Settings. + + All required parameters must be populated in order to send to Azure. + + :param radius_server_address: Required. The address of this radius server. + :type radius_server_address: str + :param radius_server_score: The initial score assigned to this radius server. + :type radius_server_score: long + :param radius_server_secret: The secret used for this radius server. + :type radius_server_secret: str + """ + + _validation = { + 'radius_server_address': {'required': True}, + } + + _attribute_map = { + 'radius_server_address': {'key': 'radiusServerAddress', 'type': 'str'}, + 'radius_server_score': {'key': 'radiusServerScore', 'type': 'long'}, + 'radius_server_secret': {'key': 'radiusServerSecret', 'type': 'str'}, + } + + def __init__( + self, + *, + radius_server_address: str, + radius_server_score: Optional[int] = None, + radius_server_secret: Optional[str] = None, + **kwargs + ): + super(RadiusServer, self).__init__(**kwargs) + self.radius_server_address = radius_server_address + self.radius_server_score = radius_server_score + self.radius_server_secret = radius_server_secret + + +class RecordSet(msrest.serialization.Model): + """A collective group of information about the record set information. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param record_type: Resource record type. + :type record_type: str + :param record_set_name: Recordset name. + :type record_set_name: str + :param fqdn: Fqdn that resolves to private endpoint ip address. + :type fqdn: str + :ivar provisioning_state: The provisioning state of the recordset. Possible values include: + "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :param ttl: Recordset time to live. + :type ttl: int + :param ip_addresses: The private ip address of the private endpoint. + :type ip_addresses: list[str] + """ + + _validation = { + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'record_type': {'key': 'recordType', 'type': 'str'}, + 'record_set_name': {'key': 'recordSetName', 'type': 'str'}, + 'fqdn': {'key': 'fqdn', 'type': 'str'}, + 'provisioning_state': {'key': 'provisioningState', 'type': 'str'}, + 'ttl': {'key': 'ttl', 'type': 'int'}, + 'ip_addresses': {'key': 'ipAddresses', 'type': '[str]'}, + } + + def __init__( + self, + *, + record_type: Optional[str] = None, + record_set_name: Optional[str] = None, + fqdn: Optional[str] = None, + ttl: Optional[int] = None, + ip_addresses: Optional[List[str]] = None, + **kwargs + ): + super(RecordSet, self).__init__(**kwargs) + self.record_type = record_type + self.record_set_name = record_set_name + self.fqdn = fqdn + self.provisioning_state = None + self.ttl = ttl + self.ip_addresses = ip_addresses + + +class ReferencedPublicIpAddress(msrest.serialization.Model): + """Reference to a public IP address. + + :param id: The PublicIPAddress Reference. + :type id: str + """ + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + **kwargs + ): + super(ReferencedPublicIpAddress, self).__init__(**kwargs) + self.id = id + + +class ResourceNavigationLink(SubResource): + """ResourceNavigationLink resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: Name of the resource that is unique within a resource group. This name can be used + to access the resource. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Resource type. + :vartype type: str + :param linked_resource_type: Resource type of the linked resource. + :type linked_resource_type: str + :param link: Link to the external resource. + :type link: str + :ivar provisioning_state: The provisioning state of the resource navigation link resource. + Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'linked_resource_type': {'key': 'properties.linkedResourceType', 'type': 'str'}, + 'link': {'key': 'properties.link', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + name: Optional[str] = None, + linked_resource_type: Optional[str] = None, + link: Optional[str] = None, + **kwargs + ): + super(ResourceNavigationLink, self).__init__(id=id, **kwargs) + self.name = name + self.etag = None + self.type = None + self.linked_resource_type = linked_resource_type + self.link = link + self.provisioning_state = None + + +class ResourceNavigationLinksListResult(msrest.serialization.Model): + """Response for ResourceNavigationLinks_List operation. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: The resource navigation links in a subnet. + :type value: list[~azure.mgmt.network.v2021_02_01.models.ResourceNavigationLink] + :ivar next_link: The URL to get the next set of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[ResourceNavigationLink]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["ResourceNavigationLink"]] = None, + **kwargs + ): + super(ResourceNavigationLinksListResult, self).__init__(**kwargs) + self.value = value + self.next_link = None + + +class RetentionPolicyParameters(msrest.serialization.Model): + """Parameters that define the retention policy for flow log. + + :param days: Number of days to retain flow log records. + :type days: int + :param enabled: Flag to enable/disable retention. + :type enabled: bool + """ + + _attribute_map = { + 'days': {'key': 'days', 'type': 'int'}, + 'enabled': {'key': 'enabled', 'type': 'bool'}, + } + + def __init__( + self, + *, + days: Optional[int] = 0, + enabled: Optional[bool] = False, + **kwargs + ): + super(RetentionPolicyParameters, self).__init__(**kwargs) + self.days = days + self.enabled = enabled + + +class Route(SubResource): + """Route resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: The name of the resource that is unique within a resource group. This name can be + used to access the resource. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param type: The type of the resource. + :type type: str + :param address_prefix: The destination CIDR to which the route applies. + :type address_prefix: str + :param next_hop_type: The type of Azure hop the packet should be sent to. Possible values + include: "VirtualNetworkGateway", "VnetLocal", "Internet", "VirtualAppliance", "None". + :type next_hop_type: str or ~azure.mgmt.network.v2021_02_01.models.RouteNextHopType + :param next_hop_ip_address: The IP address packets should be forwarded to. Next hop values are + only allowed in routes where the next hop type is VirtualAppliance. + :type next_hop_ip_address: str + :ivar provisioning_state: The provisioning state of the route resource. Possible values + include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :param has_bgp_override: A value indicating whether this route overrides overlapping BGP routes + regardless of LPM. + :type has_bgp_override: bool + """ + + _validation = { + 'etag': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'address_prefix': {'key': 'properties.addressPrefix', 'type': 'str'}, + 'next_hop_type': {'key': 'properties.nextHopType', 'type': 'str'}, + 'next_hop_ip_address': {'key': 'properties.nextHopIpAddress', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'has_bgp_override': {'key': 'properties.hasBgpOverride', 'type': 'bool'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + name: Optional[str] = None, + type: Optional[str] = None, + address_prefix: Optional[str] = None, + next_hop_type: Optional[Union[str, "RouteNextHopType"]] = None, + next_hop_ip_address: Optional[str] = None, + has_bgp_override: Optional[bool] = None, + **kwargs + ): + super(Route, self).__init__(id=id, **kwargs) + self.name = name + self.etag = None + self.type = type + self.address_prefix = address_prefix + self.next_hop_type = next_hop_type + self.next_hop_ip_address = next_hop_ip_address + self.provisioning_state = None + self.has_bgp_override = has_bgp_override + + +class RouteFilter(Resource): + """Route Filter Resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param rules: Collection of RouteFilterRules contained within a route filter. + :type rules: list[~azure.mgmt.network.v2021_02_01.models.RouteFilterRule] + :ivar peerings: A collection of references to express route circuit peerings. + :vartype peerings: list[~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitPeering] + :ivar ipv6_peerings: A collection of references to express route circuit ipv6 peerings. + :vartype ipv6_peerings: list[~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitPeering] + :ivar provisioning_state: The provisioning state of the route filter resource. Possible values + include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'peerings': {'readonly': True}, + 'ipv6_peerings': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'rules': {'key': 'properties.rules', 'type': '[RouteFilterRule]'}, + 'peerings': {'key': 'properties.peerings', 'type': '[ExpressRouteCircuitPeering]'}, + 'ipv6_peerings': {'key': 'properties.ipv6Peerings', 'type': '[ExpressRouteCircuitPeering]'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + location: Optional[str] = None, + tags: Optional[Dict[str, str]] = None, + rules: Optional[List["RouteFilterRule"]] = None, + **kwargs + ): + super(RouteFilter, self).__init__(id=id, location=location, tags=tags, **kwargs) + self.etag = None + self.rules = rules + self.peerings = None + self.ipv6_peerings = None + self.provisioning_state = None + + +class RouteFilterListResult(msrest.serialization.Model): + """Response for the ListRouteFilters API service call. + + :param value: A list of route filters in a resource group. + :type value: list[~azure.mgmt.network.v2021_02_01.models.RouteFilter] + :param next_link: The URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[RouteFilter]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["RouteFilter"]] = None, + next_link: Optional[str] = None, + **kwargs + ): + super(RouteFilterListResult, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class RouteFilterRule(SubResource): + """Route Filter Rule Resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: The name of the resource that is unique within a resource group. This name can be + used to access the resource. + :type name: str + :param location: Resource location. + :type location: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param access: The access type of the rule. Possible values include: "Allow", "Deny". + :type access: str or ~azure.mgmt.network.v2021_02_01.models.Access + :param route_filter_rule_type: The rule type of the rule. Possible values include: "Community". + :type route_filter_rule_type: str or ~azure.mgmt.network.v2021_02_01.models.RouteFilterRuleType + :param communities: The collection for bgp community values to filter on. e.g. + ['12076:5010','12076:5020']. + :type communities: list[str] + :ivar provisioning_state: The provisioning state of the route filter rule resource. Possible + values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'access': {'key': 'properties.access', 'type': 'str'}, + 'route_filter_rule_type': {'key': 'properties.routeFilterRuleType', 'type': 'str'}, + 'communities': {'key': 'properties.communities', 'type': '[str]'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + name: Optional[str] = None, + location: Optional[str] = None, + access: Optional[Union[str, "Access"]] = None, + route_filter_rule_type: Optional[Union[str, "RouteFilterRuleType"]] = None, + communities: Optional[List[str]] = None, + **kwargs + ): + super(RouteFilterRule, self).__init__(id=id, **kwargs) + self.name = name + self.location = location + self.etag = None + self.access = access + self.route_filter_rule_type = route_filter_rule_type + self.communities = communities + self.provisioning_state = None + + +class RouteFilterRuleListResult(msrest.serialization.Model): + """Response for the ListRouteFilterRules API service call. + + :param value: A list of RouteFilterRules in a resource group. + :type value: list[~azure.mgmt.network.v2021_02_01.models.RouteFilterRule] + :param next_link: The URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[RouteFilterRule]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["RouteFilterRule"]] = None, + next_link: Optional[str] = None, + **kwargs + ): + super(RouteFilterRuleListResult, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class RouteListResult(msrest.serialization.Model): + """Response for the ListRoute API service call. + + :param value: A list of routes in a resource group. + :type value: list[~azure.mgmt.network.v2021_02_01.models.Route] + :param next_link: The URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Route]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["Route"]] = None, + next_link: Optional[str] = None, + **kwargs + ): + super(RouteListResult, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class RouteTable(Resource): + """Route table resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param routes: Collection of routes contained within a route table. + :type routes: list[~azure.mgmt.network.v2021_02_01.models.Route] + :ivar subnets: A collection of references to subnets. + :vartype subnets: list[~azure.mgmt.network.v2021_02_01.models.Subnet] + :param disable_bgp_route_propagation: Whether to disable the routes learned by BGP on that + route table. True means disable. + :type disable_bgp_route_propagation: bool + :ivar provisioning_state: The provisioning state of the route table resource. Possible values + include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :ivar resource_guid: The resource GUID property of the route table. + :vartype resource_guid: str + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'subnets': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'resource_guid': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'routes': {'key': 'properties.routes', 'type': '[Route]'}, + 'subnets': {'key': 'properties.subnets', 'type': '[Subnet]'}, + 'disable_bgp_route_propagation': {'key': 'properties.disableBgpRoutePropagation', 'type': 'bool'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'resource_guid': {'key': 'properties.resourceGuid', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + location: Optional[str] = None, + tags: Optional[Dict[str, str]] = None, + routes: Optional[List["Route"]] = None, + disable_bgp_route_propagation: Optional[bool] = None, + **kwargs + ): + super(RouteTable, self).__init__(id=id, location=location, tags=tags, **kwargs) + self.etag = None + self.routes = routes + self.subnets = None + self.disable_bgp_route_propagation = disable_bgp_route_propagation + self.provisioning_state = None + self.resource_guid = None + + +class RouteTableListResult(msrest.serialization.Model): + """Response for the ListRouteTable API service call. + + :param value: A list of route tables in a resource group. + :type value: list[~azure.mgmt.network.v2021_02_01.models.RouteTable] + :param next_link: The URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[RouteTable]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["RouteTable"]] = None, + next_link: Optional[str] = None, + **kwargs + ): + super(RouteTableListResult, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class RoutingConfiguration(msrest.serialization.Model): + """Routing Configuration indicating the associated and propagated route tables for this connection. + + :param associated_route_table: The resource id RouteTable associated with this + RoutingConfiguration. + :type associated_route_table: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param propagated_route_tables: The list of RouteTables to advertise the routes to. + :type propagated_route_tables: ~azure.mgmt.network.v2021_02_01.models.PropagatedRouteTable + :param vnet_routes: List of routes that control routing from VirtualHub into a virtual network + connection. + :type vnet_routes: ~azure.mgmt.network.v2021_02_01.models.VnetRoute + """ + + _attribute_map = { + 'associated_route_table': {'key': 'associatedRouteTable', 'type': 'SubResource'}, + 'propagated_route_tables': {'key': 'propagatedRouteTables', 'type': 'PropagatedRouteTable'}, + 'vnet_routes': {'key': 'vnetRoutes', 'type': 'VnetRoute'}, + } + + def __init__( + self, + *, + associated_route_table: Optional["SubResource"] = None, + propagated_route_tables: Optional["PropagatedRouteTable"] = None, + vnet_routes: Optional["VnetRoute"] = None, + **kwargs + ): + super(RoutingConfiguration, self).__init__(**kwargs) + self.associated_route_table = associated_route_table + self.propagated_route_tables = propagated_route_tables + self.vnet_routes = vnet_routes + + +class SecurityGroupNetworkInterface(msrest.serialization.Model): + """Network interface and all its associated security rules. + + :param id: ID of the network interface. + :type id: str + :param security_rule_associations: All security rules associated with the network interface. + :type security_rule_associations: + ~azure.mgmt.network.v2021_02_01.models.SecurityRuleAssociations + """ + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'security_rule_associations': {'key': 'securityRuleAssociations', 'type': 'SecurityRuleAssociations'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + security_rule_associations: Optional["SecurityRuleAssociations"] = None, + **kwargs + ): + super(SecurityGroupNetworkInterface, self).__init__(**kwargs) + self.id = id + self.security_rule_associations = security_rule_associations + + +class SecurityGroupViewParameters(msrest.serialization.Model): + """Parameters that define the VM to check security groups for. + + All required parameters must be populated in order to send to Azure. + + :param target_resource_id: Required. ID of the target VM. + :type target_resource_id: str + """ + + _validation = { + 'target_resource_id': {'required': True}, + } + + _attribute_map = { + 'target_resource_id': {'key': 'targetResourceId', 'type': 'str'}, + } + + def __init__( + self, + *, + target_resource_id: str, + **kwargs + ): + super(SecurityGroupViewParameters, self).__init__(**kwargs) + self.target_resource_id = target_resource_id + + +class SecurityGroupViewResult(msrest.serialization.Model): + """The information about security rules applied to the specified VM. + + :param network_interfaces: List of network interfaces on the specified VM. + :type network_interfaces: + list[~azure.mgmt.network.v2021_02_01.models.SecurityGroupNetworkInterface] + """ + + _attribute_map = { + 'network_interfaces': {'key': 'networkInterfaces', 'type': '[SecurityGroupNetworkInterface]'}, + } + + def __init__( + self, + *, + network_interfaces: Optional[List["SecurityGroupNetworkInterface"]] = None, + **kwargs + ): + super(SecurityGroupViewResult, self).__init__(**kwargs) + self.network_interfaces = network_interfaces + + +class SecurityPartnerProvider(Resource): + """Security Partner Provider resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar provisioning_state: The provisioning state of the Security Partner Provider resource. + Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :param security_provider_name: The security provider name. Possible values include: "ZScaler", + "IBoss", "Checkpoint". + :type security_provider_name: str or + ~azure.mgmt.network.v2021_02_01.models.SecurityProviderName + :ivar connection_status: The connection status with the Security Partner Provider. Possible + values include: "Unknown", "PartiallyConnected", "Connected", "NotConnected". + :vartype connection_status: str or + ~azure.mgmt.network.v2021_02_01.models.SecurityPartnerProviderConnectionStatus + :param virtual_hub: The virtualHub to which the Security Partner Provider belongs. + :type virtual_hub: ~azure.mgmt.network.v2021_02_01.models.SubResource + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'connection_status': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'security_provider_name': {'key': 'properties.securityProviderName', 'type': 'str'}, + 'connection_status': {'key': 'properties.connectionStatus', 'type': 'str'}, + 'virtual_hub': {'key': 'properties.virtualHub', 'type': 'SubResource'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + location: Optional[str] = None, + tags: Optional[Dict[str, str]] = None, + security_provider_name: Optional[Union[str, "SecurityProviderName"]] = None, + virtual_hub: Optional["SubResource"] = None, + **kwargs + ): + super(SecurityPartnerProvider, self).__init__(id=id, location=location, tags=tags, **kwargs) + self.etag = None + self.provisioning_state = None + self.security_provider_name = security_provider_name + self.connection_status = None + self.virtual_hub = virtual_hub + + +class SecurityPartnerProviderListResult(msrest.serialization.Model): + """Response for ListSecurityPartnerProviders API service call. + + :param value: List of Security Partner Providers in a resource group. + :type value: list[~azure.mgmt.network.v2021_02_01.models.SecurityPartnerProvider] + :param next_link: URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[SecurityPartnerProvider]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["SecurityPartnerProvider"]] = None, + next_link: Optional[str] = None, + **kwargs + ): + super(SecurityPartnerProviderListResult, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class SecurityRule(SubResource): + """Network security rule. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: The name of the resource that is unique within a resource group. This name can be + used to access the resource. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param type: The type of the resource. + :type type: str + :param description: A description for this rule. Restricted to 140 chars. + :type description: str + :param protocol: Network protocol this rule applies to. Possible values include: "Tcp", "Udp", + "Icmp", "Esp", "*", "Ah". + :type protocol: str or ~azure.mgmt.network.v2021_02_01.models.SecurityRuleProtocol + :param source_port_range: The source port or range. Integer or range between 0 and 65535. + Asterisk '*' can also be used to match all ports. + :type source_port_range: str + :param destination_port_range: The destination port or range. Integer or range between 0 and + 65535. Asterisk '*' can also be used to match all ports. + :type destination_port_range: str + :param source_address_prefix: The CIDR or source IP range. Asterisk '*' can also be used to + match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' + can also be used. If this is an ingress rule, specifies where network traffic originates from. + :type source_address_prefix: str + :param source_address_prefixes: The CIDR or source IP ranges. + :type source_address_prefixes: list[str] + :param source_application_security_groups: The application security group specified as source. + :type source_application_security_groups: + list[~azure.mgmt.network.v2021_02_01.models.ApplicationSecurityGroup] + :param destination_address_prefix: The destination address prefix. CIDR or destination IP + range. Asterisk '*' can also be used to match all source IPs. Default tags such as + 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used. + :type destination_address_prefix: str + :param destination_address_prefixes: The destination address prefixes. CIDR or destination IP + ranges. + :type destination_address_prefixes: list[str] + :param destination_application_security_groups: The application security group specified as + destination. + :type destination_application_security_groups: + list[~azure.mgmt.network.v2021_02_01.models.ApplicationSecurityGroup] + :param source_port_ranges: The source port ranges. + :type source_port_ranges: list[str] + :param destination_port_ranges: The destination port ranges. + :type destination_port_ranges: list[str] + :param access: The network traffic is allowed or denied. Possible values include: "Allow", + "Deny". + :type access: str or ~azure.mgmt.network.v2021_02_01.models.SecurityRuleAccess + :param priority: The priority of the rule. The value can be between 100 and 4096. The priority + number must be unique for each rule in the collection. The lower the priority number, the + higher the priority of the rule. + :type priority: int + :param direction: The direction of the rule. The direction specifies if rule will be evaluated + on incoming or outgoing traffic. Possible values include: "Inbound", "Outbound". + :type direction: str or ~azure.mgmt.network.v2021_02_01.models.SecurityRuleDirection + :ivar provisioning_state: The provisioning state of the security rule resource. Possible values + include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'description': {'key': 'properties.description', 'type': 'str'}, + 'protocol': {'key': 'properties.protocol', 'type': 'str'}, + 'source_port_range': {'key': 'properties.sourcePortRange', 'type': 'str'}, + 'destination_port_range': {'key': 'properties.destinationPortRange', 'type': 'str'}, + 'source_address_prefix': {'key': 'properties.sourceAddressPrefix', 'type': 'str'}, + 'source_address_prefixes': {'key': 'properties.sourceAddressPrefixes', 'type': '[str]'}, + 'source_application_security_groups': {'key': 'properties.sourceApplicationSecurityGroups', 'type': '[ApplicationSecurityGroup]'}, + 'destination_address_prefix': {'key': 'properties.destinationAddressPrefix', 'type': 'str'}, + 'destination_address_prefixes': {'key': 'properties.destinationAddressPrefixes', 'type': '[str]'}, + 'destination_application_security_groups': {'key': 'properties.destinationApplicationSecurityGroups', 'type': '[ApplicationSecurityGroup]'}, + 'source_port_ranges': {'key': 'properties.sourcePortRanges', 'type': '[str]'}, + 'destination_port_ranges': {'key': 'properties.destinationPortRanges', 'type': '[str]'}, + 'access': {'key': 'properties.access', 'type': 'str'}, + 'priority': {'key': 'properties.priority', 'type': 'int'}, + 'direction': {'key': 'properties.direction', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + name: Optional[str] = None, + type: Optional[str] = None, + description: Optional[str] = None, + protocol: Optional[Union[str, "SecurityRuleProtocol"]] = None, + source_port_range: Optional[str] = None, + destination_port_range: Optional[str] = None, + source_address_prefix: Optional[str] = None, + source_address_prefixes: Optional[List[str]] = None, + source_application_security_groups: Optional[List["ApplicationSecurityGroup"]] = None, + destination_address_prefix: Optional[str] = None, + destination_address_prefixes: Optional[List[str]] = None, + destination_application_security_groups: Optional[List["ApplicationSecurityGroup"]] = None, + source_port_ranges: Optional[List[str]] = None, + destination_port_ranges: Optional[List[str]] = None, + access: Optional[Union[str, "SecurityRuleAccess"]] = None, + priority: Optional[int] = None, + direction: Optional[Union[str, "SecurityRuleDirection"]] = None, + **kwargs + ): + super(SecurityRule, self).__init__(id=id, **kwargs) + self.name = name + self.etag = None + self.type = type + self.description = description + self.protocol = protocol + self.source_port_range = source_port_range + self.destination_port_range = destination_port_range + self.source_address_prefix = source_address_prefix + self.source_address_prefixes = source_address_prefixes + self.source_application_security_groups = source_application_security_groups + self.destination_address_prefix = destination_address_prefix + self.destination_address_prefixes = destination_address_prefixes + self.destination_application_security_groups = destination_application_security_groups + self.source_port_ranges = source_port_ranges + self.destination_port_ranges = destination_port_ranges + self.access = access + self.priority = priority + self.direction = direction + self.provisioning_state = None + + +class SecurityRuleAssociations(msrest.serialization.Model): + """All security rules associated with the network interface. + + :param network_interface_association: Network interface and it's custom security rules. + :type network_interface_association: + ~azure.mgmt.network.v2021_02_01.models.NetworkInterfaceAssociation + :param subnet_association: Subnet and it's custom security rules. + :type subnet_association: ~azure.mgmt.network.v2021_02_01.models.SubnetAssociation + :param default_security_rules: Collection of default security rules of the network security + group. + :type default_security_rules: list[~azure.mgmt.network.v2021_02_01.models.SecurityRule] + :param effective_security_rules: Collection of effective security rules. + :type effective_security_rules: + list[~azure.mgmt.network.v2021_02_01.models.EffectiveNetworkSecurityRule] + """ + + _attribute_map = { + 'network_interface_association': {'key': 'networkInterfaceAssociation', 'type': 'NetworkInterfaceAssociation'}, + 'subnet_association': {'key': 'subnetAssociation', 'type': 'SubnetAssociation'}, + 'default_security_rules': {'key': 'defaultSecurityRules', 'type': '[SecurityRule]'}, + 'effective_security_rules': {'key': 'effectiveSecurityRules', 'type': '[EffectiveNetworkSecurityRule]'}, + } + + def __init__( + self, + *, + network_interface_association: Optional["NetworkInterfaceAssociation"] = None, + subnet_association: Optional["SubnetAssociation"] = None, + default_security_rules: Optional[List["SecurityRule"]] = None, + effective_security_rules: Optional[List["EffectiveNetworkSecurityRule"]] = None, + **kwargs + ): + super(SecurityRuleAssociations, self).__init__(**kwargs) + self.network_interface_association = network_interface_association + self.subnet_association = subnet_association + self.default_security_rules = default_security_rules + self.effective_security_rules = effective_security_rules + + +class SecurityRuleListResult(msrest.serialization.Model): + """Response for ListSecurityRule API service call. Retrieves all security rules that belongs to a network security group. + + :param value: The security rules in a network security group. + :type value: list[~azure.mgmt.network.v2021_02_01.models.SecurityRule] + :param next_link: The URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[SecurityRule]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["SecurityRule"]] = None, + next_link: Optional[str] = None, + **kwargs + ): + super(SecurityRuleListResult, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class ServiceAssociationLink(SubResource): + """ServiceAssociationLink resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: Name of the resource that is unique within a resource group. This name can be used + to access the resource. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Resource type. + :vartype type: str + :param linked_resource_type: Resource type of the linked resource. + :type linked_resource_type: str + :param link: Link to the external resource. + :type link: str + :ivar provisioning_state: The provisioning state of the service association link resource. + Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :param allow_delete: If true, the resource can be deleted. + :type allow_delete: bool + :param locations: A list of locations. + :type locations: list[str] + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'linked_resource_type': {'key': 'properties.linkedResourceType', 'type': 'str'}, + 'link': {'key': 'properties.link', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'allow_delete': {'key': 'properties.allowDelete', 'type': 'bool'}, + 'locations': {'key': 'properties.locations', 'type': '[str]'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + name: Optional[str] = None, + linked_resource_type: Optional[str] = None, + link: Optional[str] = None, + allow_delete: Optional[bool] = None, + locations: Optional[List[str]] = None, + **kwargs + ): + super(ServiceAssociationLink, self).__init__(id=id, **kwargs) + self.name = name + self.etag = None + self.type = None + self.linked_resource_type = linked_resource_type + self.link = link + self.provisioning_state = None + self.allow_delete = allow_delete + self.locations = locations + + +class ServiceAssociationLinksListResult(msrest.serialization.Model): + """Response for ServiceAssociationLinks_List operation. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: The service association links in a subnet. + :type value: list[~azure.mgmt.network.v2021_02_01.models.ServiceAssociationLink] + :ivar next_link: The URL to get the next set of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[ServiceAssociationLink]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["ServiceAssociationLink"]] = None, + **kwargs + ): + super(ServiceAssociationLinksListResult, self).__init__(**kwargs) + self.value = value + self.next_link = None + + +class ServiceEndpointPolicy(Resource): + """Service End point policy resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar kind: Kind of service endpoint policy. This is metadata used for the Azure portal + experience. + :vartype kind: str + :param service_endpoint_policy_definitions: A collection of service endpoint policy definitions + of the service endpoint policy. + :type service_endpoint_policy_definitions: + list[~azure.mgmt.network.v2021_02_01.models.ServiceEndpointPolicyDefinition] + :ivar subnets: A collection of references to subnets. + :vartype subnets: list[~azure.mgmt.network.v2021_02_01.models.Subnet] + :ivar resource_guid: The resource GUID property of the service endpoint policy resource. + :vartype resource_guid: str + :ivar provisioning_state: The provisioning state of the service endpoint policy resource. + Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'kind': {'readonly': True}, + 'subnets': {'readonly': True}, + 'resource_guid': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'kind': {'key': 'kind', 'type': 'str'}, + 'service_endpoint_policy_definitions': {'key': 'properties.serviceEndpointPolicyDefinitions', 'type': '[ServiceEndpointPolicyDefinition]'}, + 'subnets': {'key': 'properties.subnets', 'type': '[Subnet]'}, + 'resource_guid': {'key': 'properties.resourceGuid', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + location: Optional[str] = None, + tags: Optional[Dict[str, str]] = None, + service_endpoint_policy_definitions: Optional[List["ServiceEndpointPolicyDefinition"]] = None, + **kwargs + ): + super(ServiceEndpointPolicy, self).__init__(id=id, location=location, tags=tags, **kwargs) + self.etag = None + self.kind = None + self.service_endpoint_policy_definitions = service_endpoint_policy_definitions + self.subnets = None + self.resource_guid = None + self.provisioning_state = None + + +class ServiceEndpointPolicyDefinition(SubResource): + """Service Endpoint policy definitions. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: The name of the resource that is unique within a resource group. This name can be + used to access the resource. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param description: A description for this rule. Restricted to 140 chars. + :type description: str + :param service: Service endpoint name. + :type service: str + :param service_resources: A list of service resources. + :type service_resources: list[str] + :ivar provisioning_state: The provisioning state of the service endpoint policy definition + resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'description': {'key': 'properties.description', 'type': 'str'}, + 'service': {'key': 'properties.service', 'type': 'str'}, + 'service_resources': {'key': 'properties.serviceResources', 'type': '[str]'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + name: Optional[str] = None, + description: Optional[str] = None, + service: Optional[str] = None, + service_resources: Optional[List[str]] = None, + **kwargs + ): + super(ServiceEndpointPolicyDefinition, self).__init__(id=id, **kwargs) + self.name = name + self.etag = None + self.description = description + self.service = service + self.service_resources = service_resources + self.provisioning_state = None + + +class ServiceEndpointPolicyDefinitionListResult(msrest.serialization.Model): + """Response for ListServiceEndpointPolicyDefinition API service call. Retrieves all service endpoint policy definition that belongs to a service endpoint policy. + + :param value: The service endpoint policy definition in a service endpoint policy. + :type value: list[~azure.mgmt.network.v2021_02_01.models.ServiceEndpointPolicyDefinition] + :param next_link: The URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[ServiceEndpointPolicyDefinition]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["ServiceEndpointPolicyDefinition"]] = None, + next_link: Optional[str] = None, + **kwargs + ): + super(ServiceEndpointPolicyDefinitionListResult, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class ServiceEndpointPolicyListResult(msrest.serialization.Model): + """Response for ListServiceEndpointPolicies API service call. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: A list of ServiceEndpointPolicy resources. + :type value: list[~azure.mgmt.network.v2021_02_01.models.ServiceEndpointPolicy] + :ivar next_link: The URL to get the next set of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[ServiceEndpointPolicy]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["ServiceEndpointPolicy"]] = None, + **kwargs + ): + super(ServiceEndpointPolicyListResult, self).__init__(**kwargs) + self.value = value + self.next_link = None + + +class ServiceEndpointPropertiesFormat(msrest.serialization.Model): + """The service endpoint properties. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param service: The type of the endpoint service. + :type service: str + :param locations: A list of locations. + :type locations: list[str] + :ivar provisioning_state: The provisioning state of the service endpoint resource. Possible + values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'service': {'key': 'service', 'type': 'str'}, + 'locations': {'key': 'locations', 'type': '[str]'}, + 'provisioning_state': {'key': 'provisioningState', 'type': 'str'}, + } + + def __init__( + self, + *, + service: Optional[str] = None, + locations: Optional[List[str]] = None, + **kwargs + ): + super(ServiceEndpointPropertiesFormat, self).__init__(**kwargs) + self.service = service + self.locations = locations + self.provisioning_state = None + + +class ServiceTagInformation(msrest.serialization.Model): + """The service tag information. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar properties: Properties of the service tag information. + :vartype properties: + ~azure.mgmt.network.v2021_02_01.models.ServiceTagInformationPropertiesFormat + :ivar name: The name of service tag. + :vartype name: str + :ivar id: The ID of service tag. + :vartype id: str + """ + + _validation = { + 'properties': {'readonly': True}, + 'name': {'readonly': True}, + 'id': {'readonly': True}, + } + + _attribute_map = { + 'properties': {'key': 'properties', 'type': 'ServiceTagInformationPropertiesFormat'}, + 'name': {'key': 'name', 'type': 'str'}, + 'id': {'key': 'id', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ServiceTagInformation, self).__init__(**kwargs) + self.properties = None + self.name = None + self.id = None + + +class ServiceTagInformationPropertiesFormat(msrest.serialization.Model): + """Properties of the service tag information. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar change_number: The iteration number of service tag. + :vartype change_number: str + :ivar region: The region of service tag. + :vartype region: str + :ivar system_service: The name of system service. + :vartype system_service: str + :ivar address_prefixes: The list of IP address prefixes. + :vartype address_prefixes: list[str] + :ivar state: The state of the service tag. + :vartype state: str + """ + + _validation = { + 'change_number': {'readonly': True}, + 'region': {'readonly': True}, + 'system_service': {'readonly': True}, + 'address_prefixes': {'readonly': True}, + 'state': {'readonly': True}, + } + + _attribute_map = { + 'change_number': {'key': 'changeNumber', 'type': 'str'}, + 'region': {'key': 'region', 'type': 'str'}, + 'system_service': {'key': 'systemService', 'type': 'str'}, + 'address_prefixes': {'key': 'addressPrefixes', 'type': '[str]'}, + 'state': {'key': 'state', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ServiceTagInformationPropertiesFormat, self).__init__(**kwargs) + self.change_number = None + self.region = None + self.system_service = None + self.address_prefixes = None + self.state = None + + +class ServiceTagsListResult(msrest.serialization.Model): + """Response for the ListServiceTags API service call. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar name: The name of the cloud. + :vartype name: str + :ivar id: The ID of the cloud. + :vartype id: str + :ivar type: The azure resource type. + :vartype type: str + :ivar change_number: The iteration number. + :vartype change_number: str + :ivar cloud: The name of the cloud. + :vartype cloud: str + :ivar values: The list of service tag information resources. + :vartype values: list[~azure.mgmt.network.v2021_02_01.models.ServiceTagInformation] + :ivar next_link: The URL to get next page of service tag information resources. + :vartype next_link: str + """ + + _validation = { + 'name': {'readonly': True}, + 'id': {'readonly': True}, + 'type': {'readonly': True}, + 'change_number': {'readonly': True}, + 'cloud': {'readonly': True}, + 'values': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'id': {'key': 'id', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'change_number': {'key': 'changeNumber', 'type': 'str'}, + 'cloud': {'key': 'cloud', 'type': 'str'}, + 'values': {'key': 'values', 'type': '[ServiceTagInformation]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ServiceTagsListResult, self).__init__(**kwargs) + self.name = None + self.id = None + self.type = None + self.change_number = None + self.cloud = None + self.values = None + self.next_link = None + + +class SessionIds(msrest.serialization.Model): + """List of session IDs. + + :param session_ids: List of session IDs. + :type session_ids: list[str] + """ + + _attribute_map = { + 'session_ids': {'key': 'sessionIds', 'type': '[str]'}, + } + + def __init__( + self, + *, + session_ids: Optional[List[str]] = None, + **kwargs + ): + super(SessionIds, self).__init__(**kwargs) + self.session_ids = session_ids + + +class Sku(msrest.serialization.Model): + """The sku of this Bastion Host. + + :param name: The name of this Bastion Host. Possible values include: "Basic", "Standard". + Default value: "Standard". + :type name: str or ~azure.mgmt.network.v2021_02_01.models.BastionHostSkuName + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + } + + def __init__( + self, + *, + name: Optional[Union[str, "BastionHostSkuName"]] = "Standard", + **kwargs + ): + super(Sku, self).__init__(**kwargs) + self.name = name + + +class StaticRoute(msrest.serialization.Model): + """List of all Static Routes. + + :param name: The name of the StaticRoute that is unique within a VnetRoute. + :type name: str + :param address_prefixes: List of all address prefixes. + :type address_prefixes: list[str] + :param next_hop_ip_address: The ip address of the next hop. + :type next_hop_ip_address: str + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'address_prefixes': {'key': 'addressPrefixes', 'type': '[str]'}, + 'next_hop_ip_address': {'key': 'nextHopIpAddress', 'type': 'str'}, + } + + def __init__( + self, + *, + name: Optional[str] = None, + address_prefixes: Optional[List[str]] = None, + next_hop_ip_address: Optional[str] = None, + **kwargs + ): + super(StaticRoute, self).__init__(**kwargs) + self.name = name + self.address_prefixes = address_prefixes + self.next_hop_ip_address = next_hop_ip_address + + +class Subnet(SubResource): + """Subnet in a virtual network resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: The name of the resource that is unique within a resource group. This name can be + used to access the resource. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param type: Resource type. + :type type: str + :param address_prefix: The address prefix for the subnet. + :type address_prefix: str + :param address_prefixes: List of address prefixes for the subnet. + :type address_prefixes: list[str] + :param network_security_group: The reference to the NetworkSecurityGroup resource. + :type network_security_group: ~azure.mgmt.network.v2021_02_01.models.NetworkSecurityGroup + :param route_table: The reference to the RouteTable resource. + :type route_table: ~azure.mgmt.network.v2021_02_01.models.RouteTable + :param nat_gateway: Nat gateway associated with this subnet. + :type nat_gateway: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param service_endpoints: An array of service endpoints. + :type service_endpoints: + list[~azure.mgmt.network.v2021_02_01.models.ServiceEndpointPropertiesFormat] + :param service_endpoint_policies: An array of service endpoint policies. + :type service_endpoint_policies: + list[~azure.mgmt.network.v2021_02_01.models.ServiceEndpointPolicy] + :ivar private_endpoints: An array of references to private endpoints. + :vartype private_endpoints: list[~azure.mgmt.network.v2021_02_01.models.PrivateEndpoint] + :ivar ip_configurations: An array of references to the network interface IP configurations + using subnet. + :vartype ip_configurations: list[~azure.mgmt.network.v2021_02_01.models.IPConfiguration] + :ivar ip_configuration_profiles: Array of IP configuration profiles which reference this + subnet. + :vartype ip_configuration_profiles: + list[~azure.mgmt.network.v2021_02_01.models.IPConfigurationProfile] + :param ip_allocations: Array of IpAllocation which reference this subnet. + :type ip_allocations: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + :ivar resource_navigation_links: An array of references to the external resources using subnet. + :vartype resource_navigation_links: + list[~azure.mgmt.network.v2021_02_01.models.ResourceNavigationLink] + :ivar service_association_links: An array of references to services injecting into this subnet. + :vartype service_association_links: + list[~azure.mgmt.network.v2021_02_01.models.ServiceAssociationLink] + :param delegations: An array of references to the delegations on the subnet. + :type delegations: list[~azure.mgmt.network.v2021_02_01.models.Delegation] + :ivar purpose: A read-only string identifying the intention of use for this subnet based on + delegations and other user-defined properties. + :vartype purpose: str + :ivar provisioning_state: The provisioning state of the subnet resource. Possible values + include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :param private_endpoint_network_policies: Enable or Disable apply network policies on private + end point in the subnet. Possible values include: "Enabled", "Disabled". Default value: + "Enabled". + :type private_endpoint_network_policies: str or + ~azure.mgmt.network.v2021_02_01.models.VirtualNetworkPrivateEndpointNetworkPolicies + :param private_link_service_network_policies: Enable or Disable apply network policies on + private link service in the subnet. Possible values include: "Enabled", "Disabled". Default + value: "Enabled". + :type private_link_service_network_policies: str or + ~azure.mgmt.network.v2021_02_01.models.VirtualNetworkPrivateLinkServiceNetworkPolicies + :param application_gateway_ip_configurations: Application gateway IP configurations of virtual + network resource. + :type application_gateway_ip_configurations: + list[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayIPConfiguration] + """ + + _validation = { + 'etag': {'readonly': True}, + 'private_endpoints': {'readonly': True}, + 'ip_configurations': {'readonly': True}, + 'ip_configuration_profiles': {'readonly': True}, + 'resource_navigation_links': {'readonly': True}, + 'service_association_links': {'readonly': True}, + 'purpose': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'address_prefix': {'key': 'properties.addressPrefix', 'type': 'str'}, + 'address_prefixes': {'key': 'properties.addressPrefixes', 'type': '[str]'}, + 'network_security_group': {'key': 'properties.networkSecurityGroup', 'type': 'NetworkSecurityGroup'}, + 'route_table': {'key': 'properties.routeTable', 'type': 'RouteTable'}, + 'nat_gateway': {'key': 'properties.natGateway', 'type': 'SubResource'}, + 'service_endpoints': {'key': 'properties.serviceEndpoints', 'type': '[ServiceEndpointPropertiesFormat]'}, + 'service_endpoint_policies': {'key': 'properties.serviceEndpointPolicies', 'type': '[ServiceEndpointPolicy]'}, + 'private_endpoints': {'key': 'properties.privateEndpoints', 'type': '[PrivateEndpoint]'}, + 'ip_configurations': {'key': 'properties.ipConfigurations', 'type': '[IPConfiguration]'}, + 'ip_configuration_profiles': {'key': 'properties.ipConfigurationProfiles', 'type': '[IPConfigurationProfile]'}, + 'ip_allocations': {'key': 'properties.ipAllocations', 'type': '[SubResource]'}, + 'resource_navigation_links': {'key': 'properties.resourceNavigationLinks', 'type': '[ResourceNavigationLink]'}, + 'service_association_links': {'key': 'properties.serviceAssociationLinks', 'type': '[ServiceAssociationLink]'}, + 'delegations': {'key': 'properties.delegations', 'type': '[Delegation]'}, + 'purpose': {'key': 'properties.purpose', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'private_endpoint_network_policies': {'key': 'properties.privateEndpointNetworkPolicies', 'type': 'str'}, + 'private_link_service_network_policies': {'key': 'properties.privateLinkServiceNetworkPolicies', 'type': 'str'}, + 'application_gateway_ip_configurations': {'key': 'properties.applicationGatewayIpConfigurations', 'type': '[ApplicationGatewayIPConfiguration]'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + name: Optional[str] = None, + type: Optional[str] = None, + address_prefix: Optional[str] = None, + address_prefixes: Optional[List[str]] = None, + network_security_group: Optional["NetworkSecurityGroup"] = None, + route_table: Optional["RouteTable"] = None, + nat_gateway: Optional["SubResource"] = None, + service_endpoints: Optional[List["ServiceEndpointPropertiesFormat"]] = None, + service_endpoint_policies: Optional[List["ServiceEndpointPolicy"]] = None, + ip_allocations: Optional[List["SubResource"]] = None, + delegations: Optional[List["Delegation"]] = None, + private_endpoint_network_policies: Optional[Union[str, "VirtualNetworkPrivateEndpointNetworkPolicies"]] = "Enabled", + private_link_service_network_policies: Optional[Union[str, "VirtualNetworkPrivateLinkServiceNetworkPolicies"]] = "Enabled", + application_gateway_ip_configurations: Optional[List["ApplicationGatewayIPConfiguration"]] = None, + **kwargs + ): + super(Subnet, self).__init__(id=id, **kwargs) + self.name = name + self.etag = None + self.type = type + self.address_prefix = address_prefix + self.address_prefixes = address_prefixes + self.network_security_group = network_security_group + self.route_table = route_table + self.nat_gateway = nat_gateway + self.service_endpoints = service_endpoints + self.service_endpoint_policies = service_endpoint_policies + self.private_endpoints = None + self.ip_configurations = None + self.ip_configuration_profiles = None + self.ip_allocations = ip_allocations + self.resource_navigation_links = None + self.service_association_links = None + self.delegations = delegations + self.purpose = None + self.provisioning_state = None + self.private_endpoint_network_policies = private_endpoint_network_policies + self.private_link_service_network_policies = private_link_service_network_policies + self.application_gateway_ip_configurations = application_gateway_ip_configurations + + +class SubnetAssociation(msrest.serialization.Model): + """Subnet and it's custom security rules. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: Subnet ID. + :vartype id: str + :param security_rules: Collection of custom security rules. + :type security_rules: list[~azure.mgmt.network.v2021_02_01.models.SecurityRule] + """ + + _validation = { + 'id': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'security_rules': {'key': 'securityRules', 'type': '[SecurityRule]'}, + } + + def __init__( + self, + *, + security_rules: Optional[List["SecurityRule"]] = None, + **kwargs + ): + super(SubnetAssociation, self).__init__(**kwargs) + self.id = None + self.security_rules = security_rules + + +class SubnetListResult(msrest.serialization.Model): + """Response for ListSubnets API service callRetrieves all subnet that belongs to a virtual network. + + :param value: The subnets in a virtual network. + :type value: list[~azure.mgmt.network.v2021_02_01.models.Subnet] + :param next_link: The URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Subnet]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["Subnet"]] = None, + next_link: Optional[str] = None, + **kwargs + ): + super(SubnetListResult, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class TagsObject(msrest.serialization.Model): + """Tags object for patch operations. + + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + """ + + _attribute_map = { + 'tags': {'key': 'tags', 'type': '{str}'}, + } + + def __init__( + self, + *, + tags: Optional[Dict[str, str]] = None, + **kwargs + ): + super(TagsObject, self).__init__(**kwargs) + self.tags = tags + + +class Topology(msrest.serialization.Model): + """Topology of the specified resource group. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar id: GUID representing the operation id. + :vartype id: str + :ivar created_date_time: The datetime when the topology was initially created for the resource + group. + :vartype created_date_time: ~datetime.datetime + :ivar last_modified: The datetime when the topology was last modified. + :vartype last_modified: ~datetime.datetime + :param resources: A list of topology resources. + :type resources: list[~azure.mgmt.network.v2021_02_01.models.TopologyResource] + """ + + _validation = { + 'id': {'readonly': True}, + 'created_date_time': {'readonly': True}, + 'last_modified': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'created_date_time': {'key': 'createdDateTime', 'type': 'iso-8601'}, + 'last_modified': {'key': 'lastModified', 'type': 'iso-8601'}, + 'resources': {'key': 'resources', 'type': '[TopologyResource]'}, + } + + def __init__( + self, + *, + resources: Optional[List["TopologyResource"]] = None, + **kwargs + ): + super(Topology, self).__init__(**kwargs) + self.id = None + self.created_date_time = None + self.last_modified = None + self.resources = resources + + +class TopologyAssociation(msrest.serialization.Model): + """Resources that have an association with the parent resource. + + :param name: The name of the resource that is associated with the parent resource. + :type name: str + :param resource_id: The ID of the resource that is associated with the parent resource. + :type resource_id: str + :param association_type: The association type of the child resource to the parent resource. + Possible values include: "Associated", "Contains". + :type association_type: str or ~azure.mgmt.network.v2021_02_01.models.AssociationType + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'resource_id': {'key': 'resourceId', 'type': 'str'}, + 'association_type': {'key': 'associationType', 'type': 'str'}, + } + + def __init__( + self, + *, + name: Optional[str] = None, + resource_id: Optional[str] = None, + association_type: Optional[Union[str, "AssociationType"]] = None, + **kwargs + ): + super(TopologyAssociation, self).__init__(**kwargs) + self.name = name + self.resource_id = resource_id + self.association_type = association_type + + +class TopologyParameters(msrest.serialization.Model): + """Parameters that define the representation of topology. + + :param target_resource_group_name: The name of the target resource group to perform topology + on. + :type target_resource_group_name: str + :param target_virtual_network: The reference to the Virtual Network resource. + :type target_virtual_network: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param target_subnet: The reference to the Subnet resource. + :type target_subnet: ~azure.mgmt.network.v2021_02_01.models.SubResource + """ + + _attribute_map = { + 'target_resource_group_name': {'key': 'targetResourceGroupName', 'type': 'str'}, + 'target_virtual_network': {'key': 'targetVirtualNetwork', 'type': 'SubResource'}, + 'target_subnet': {'key': 'targetSubnet', 'type': 'SubResource'}, + } + + def __init__( + self, + *, + target_resource_group_name: Optional[str] = None, + target_virtual_network: Optional["SubResource"] = None, + target_subnet: Optional["SubResource"] = None, + **kwargs + ): + super(TopologyParameters, self).__init__(**kwargs) + self.target_resource_group_name = target_resource_group_name + self.target_virtual_network = target_virtual_network + self.target_subnet = target_subnet + + +class TopologyResource(msrest.serialization.Model): + """The network resource topology information for the given resource group. + + :param name: Name of the resource. + :type name: str + :param id: ID of the resource. + :type id: str + :param location: Resource location. + :type location: str + :param associations: Holds the associations the resource has with other resources in the + resource group. + :type associations: list[~azure.mgmt.network.v2021_02_01.models.TopologyAssociation] + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'id': {'key': 'id', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'associations': {'key': 'associations', 'type': '[TopologyAssociation]'}, + } + + def __init__( + self, + *, + name: Optional[str] = None, + id: Optional[str] = None, + location: Optional[str] = None, + associations: Optional[List["TopologyAssociation"]] = None, + **kwargs + ): + super(TopologyResource, self).__init__(**kwargs) + self.name = name + self.id = id + self.location = location + self.associations = associations + + +class TrafficAnalyticsConfigurationProperties(msrest.serialization.Model): + """Parameters that define the configuration of traffic analytics. + + :param enabled: Flag to enable/disable traffic analytics. + :type enabled: bool + :param workspace_id: The resource guid of the attached workspace. + :type workspace_id: str + :param workspace_region: The location of the attached workspace. + :type workspace_region: str + :param workspace_resource_id: Resource Id of the attached workspace. + :type workspace_resource_id: str + :param traffic_analytics_interval: The interval in minutes which would decide how frequently TA + service should do flow analytics. + :type traffic_analytics_interval: int + """ + + _attribute_map = { + 'enabled': {'key': 'enabled', 'type': 'bool'}, + 'workspace_id': {'key': 'workspaceId', 'type': 'str'}, + 'workspace_region': {'key': 'workspaceRegion', 'type': 'str'}, + 'workspace_resource_id': {'key': 'workspaceResourceId', 'type': 'str'}, + 'traffic_analytics_interval': {'key': 'trafficAnalyticsInterval', 'type': 'int'}, + } + + def __init__( + self, + *, + enabled: Optional[bool] = None, + workspace_id: Optional[str] = None, + workspace_region: Optional[str] = None, + workspace_resource_id: Optional[str] = None, + traffic_analytics_interval: Optional[int] = None, + **kwargs + ): + super(TrafficAnalyticsConfigurationProperties, self).__init__(**kwargs) + self.enabled = enabled + self.workspace_id = workspace_id + self.workspace_region = workspace_region + self.workspace_resource_id = workspace_resource_id + self.traffic_analytics_interval = traffic_analytics_interval + + +class TrafficAnalyticsProperties(msrest.serialization.Model): + """Parameters that define the configuration of traffic analytics. + + :param network_watcher_flow_analytics_configuration: Parameters that define the configuration + of traffic analytics. + :type network_watcher_flow_analytics_configuration: + ~azure.mgmt.network.v2021_02_01.models.TrafficAnalyticsConfigurationProperties + """ + + _attribute_map = { + 'network_watcher_flow_analytics_configuration': {'key': 'networkWatcherFlowAnalyticsConfiguration', 'type': 'TrafficAnalyticsConfigurationProperties'}, + } + + def __init__( + self, + *, + network_watcher_flow_analytics_configuration: Optional["TrafficAnalyticsConfigurationProperties"] = None, + **kwargs + ): + super(TrafficAnalyticsProperties, self).__init__(**kwargs) + self.network_watcher_flow_analytics_configuration = network_watcher_flow_analytics_configuration + + +class TrafficSelectorPolicy(msrest.serialization.Model): + """An traffic selector policy for a virtual network gateway connection. + + All required parameters must be populated in order to send to Azure. + + :param local_address_ranges: Required. A collection of local address spaces in CIDR format. + :type local_address_ranges: list[str] + :param remote_address_ranges: Required. A collection of remote address spaces in CIDR format. + :type remote_address_ranges: list[str] + """ + + _validation = { + 'local_address_ranges': {'required': True}, + 'remote_address_ranges': {'required': True}, + } + + _attribute_map = { + 'local_address_ranges': {'key': 'localAddressRanges', 'type': '[str]'}, + 'remote_address_ranges': {'key': 'remoteAddressRanges', 'type': '[str]'}, + } + + def __init__( + self, + *, + local_address_ranges: List[str], + remote_address_ranges: List[str], + **kwargs + ): + super(TrafficSelectorPolicy, self).__init__(**kwargs) + self.local_address_ranges = local_address_ranges + self.remote_address_ranges = remote_address_ranges + + +class TroubleshootingDetails(msrest.serialization.Model): + """Information gained from troubleshooting of specified resource. + + :param id: The id of the get troubleshoot operation. + :type id: str + :param reason_type: Reason type of failure. + :type reason_type: str + :param summary: A summary of troubleshooting. + :type summary: str + :param detail: Details on troubleshooting results. + :type detail: str + :param recommended_actions: List of recommended actions. + :type recommended_actions: + list[~azure.mgmt.network.v2021_02_01.models.TroubleshootingRecommendedActions] + """ + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'reason_type': {'key': 'reasonType', 'type': 'str'}, + 'summary': {'key': 'summary', 'type': 'str'}, + 'detail': {'key': 'detail', 'type': 'str'}, + 'recommended_actions': {'key': 'recommendedActions', 'type': '[TroubleshootingRecommendedActions]'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + reason_type: Optional[str] = None, + summary: Optional[str] = None, + detail: Optional[str] = None, + recommended_actions: Optional[List["TroubleshootingRecommendedActions"]] = None, + **kwargs + ): + super(TroubleshootingDetails, self).__init__(**kwargs) + self.id = id + self.reason_type = reason_type + self.summary = summary + self.detail = detail + self.recommended_actions = recommended_actions + + +class TroubleshootingParameters(msrest.serialization.Model): + """Parameters that define the resource to troubleshoot. + + All required parameters must be populated in order to send to Azure. + + :param target_resource_id: Required. The target resource to troubleshoot. + :type target_resource_id: str + :param storage_id: Required. The ID for the storage account to save the troubleshoot result. + :type storage_id: str + :param storage_path: Required. The path to the blob to save the troubleshoot result in. + :type storage_path: str + """ + + _validation = { + 'target_resource_id': {'required': True}, + 'storage_id': {'required': True}, + 'storage_path': {'required': True}, + } + + _attribute_map = { + 'target_resource_id': {'key': 'targetResourceId', 'type': 'str'}, + 'storage_id': {'key': 'properties.storageId', 'type': 'str'}, + 'storage_path': {'key': 'properties.storagePath', 'type': 'str'}, + } + + def __init__( + self, + *, + target_resource_id: str, + storage_id: str, + storage_path: str, + **kwargs + ): + super(TroubleshootingParameters, self).__init__(**kwargs) + self.target_resource_id = target_resource_id + self.storage_id = storage_id + self.storage_path = storage_path + + +class TroubleshootingRecommendedActions(msrest.serialization.Model): + """Recommended actions based on discovered issues. + + :param action_id: ID of the recommended action. + :type action_id: str + :param action_text: Description of recommended actions. + :type action_text: str + :param action_uri: The uri linking to a documentation for the recommended troubleshooting + actions. + :type action_uri: str + :param action_uri_text: The information from the URI for the recommended troubleshooting + actions. + :type action_uri_text: str + """ + + _attribute_map = { + 'action_id': {'key': 'actionId', 'type': 'str'}, + 'action_text': {'key': 'actionText', 'type': 'str'}, + 'action_uri': {'key': 'actionUri', 'type': 'str'}, + 'action_uri_text': {'key': 'actionUriText', 'type': 'str'}, + } + + def __init__( + self, + *, + action_id: Optional[str] = None, + action_text: Optional[str] = None, + action_uri: Optional[str] = None, + action_uri_text: Optional[str] = None, + **kwargs + ): + super(TroubleshootingRecommendedActions, self).__init__(**kwargs) + self.action_id = action_id + self.action_text = action_text + self.action_uri = action_uri + self.action_uri_text = action_uri_text + + +class TroubleshootingResult(msrest.serialization.Model): + """Troubleshooting information gained from specified resource. + + :param start_time: The start time of the troubleshooting. + :type start_time: ~datetime.datetime + :param end_time: The end time of the troubleshooting. + :type end_time: ~datetime.datetime + :param code: The result code of the troubleshooting. + :type code: str + :param results: Information from troubleshooting. + :type results: list[~azure.mgmt.network.v2021_02_01.models.TroubleshootingDetails] + """ + + _attribute_map = { + 'start_time': {'key': 'startTime', 'type': 'iso-8601'}, + 'end_time': {'key': 'endTime', 'type': 'iso-8601'}, + 'code': {'key': 'code', 'type': 'str'}, + 'results': {'key': 'results', 'type': '[TroubleshootingDetails]'}, + } + + def __init__( + self, + *, + start_time: Optional[datetime.datetime] = None, + end_time: Optional[datetime.datetime] = None, + code: Optional[str] = None, + results: Optional[List["TroubleshootingDetails"]] = None, + **kwargs + ): + super(TroubleshootingResult, self).__init__(**kwargs) + self.start_time = start_time + self.end_time = end_time + self.code = code + self.results = results + + +class TunnelConnectionHealth(msrest.serialization.Model): + """VirtualNetworkGatewayConnection properties. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar tunnel: Tunnel name. + :vartype tunnel: str + :ivar connection_status: Virtual Network Gateway connection status. Possible values include: + "Unknown", "Connecting", "Connected", "NotConnected". + :vartype connection_status: str or + ~azure.mgmt.network.v2021_02_01.models.VirtualNetworkGatewayConnectionStatus + :ivar ingress_bytes_transferred: The Ingress Bytes Transferred in this connection. + :vartype ingress_bytes_transferred: long + :ivar egress_bytes_transferred: The Egress Bytes Transferred in this connection. + :vartype egress_bytes_transferred: long + :ivar last_connection_established_utc_time: The time at which connection was established in Utc + format. + :vartype last_connection_established_utc_time: str + """ + + _validation = { + 'tunnel': {'readonly': True}, + 'connection_status': {'readonly': True}, + 'ingress_bytes_transferred': {'readonly': True}, + 'egress_bytes_transferred': {'readonly': True}, + 'last_connection_established_utc_time': {'readonly': True}, + } + + _attribute_map = { + 'tunnel': {'key': 'tunnel', 'type': 'str'}, + 'connection_status': {'key': 'connectionStatus', 'type': 'str'}, + 'ingress_bytes_transferred': {'key': 'ingressBytesTransferred', 'type': 'long'}, + 'egress_bytes_transferred': {'key': 'egressBytesTransferred', 'type': 'long'}, + 'last_connection_established_utc_time': {'key': 'lastConnectionEstablishedUtcTime', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(TunnelConnectionHealth, self).__init__(**kwargs) + self.tunnel = None + self.connection_status = None + self.ingress_bytes_transferred = None + self.egress_bytes_transferred = None + self.last_connection_established_utc_time = None + + +class UnprepareNetworkPoliciesRequest(msrest.serialization.Model): + """Details of UnprepareNetworkPolicies for Subnet. + + :param service_name: The name of the service for which subnet is being unprepared for. + :type service_name: str + """ + + _attribute_map = { + 'service_name': {'key': 'serviceName', 'type': 'str'}, + } + + def __init__( + self, + *, + service_name: Optional[str] = None, + **kwargs + ): + super(UnprepareNetworkPoliciesRequest, self).__init__(**kwargs) + self.service_name = service_name + + +class Usage(msrest.serialization.Model): + """The network resource usage. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Resource identifier. + :vartype id: str + :param unit: Required. An enum describing the unit of measurement. Possible values include: + "Count". + :type unit: str or ~azure.mgmt.network.v2021_02_01.models.UsageUnit + :param current_value: Required. The current value of the usage. + :type current_value: long + :param limit: Required. The limit of usage. + :type limit: long + :param name: Required. The name of the type of usage. + :type name: ~azure.mgmt.network.v2021_02_01.models.UsageName + """ + + _validation = { + 'id': {'readonly': True}, + 'unit': {'required': True}, + 'current_value': {'required': True}, + 'limit': {'required': True}, + 'name': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'unit': {'key': 'unit', 'type': 'str'}, + 'current_value': {'key': 'currentValue', 'type': 'long'}, + 'limit': {'key': 'limit', 'type': 'long'}, + 'name': {'key': 'name', 'type': 'UsageName'}, + } + + def __init__( + self, + *, + unit: Union[str, "UsageUnit"], + current_value: int, + limit: int, + name: "UsageName", + **kwargs + ): + super(Usage, self).__init__(**kwargs) + self.id = None + self.unit = unit + self.current_value = current_value + self.limit = limit + self.name = name + + +class UsageName(msrest.serialization.Model): + """The usage names. + + :param value: A string describing the resource name. + :type value: str + :param localized_value: A localized string describing the resource name. + :type localized_value: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': 'str'}, + 'localized_value': {'key': 'localizedValue', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[str] = None, + localized_value: Optional[str] = None, + **kwargs + ): + super(UsageName, self).__init__(**kwargs) + self.value = value + self.localized_value = localized_value + + +class UsagesListResult(msrest.serialization.Model): + """The list usages operation response. + + :param value: The list network resource usages. + :type value: list[~azure.mgmt.network.v2021_02_01.models.Usage] + :param next_link: URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[Usage]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["Usage"]] = None, + next_link: Optional[str] = None, + **kwargs + ): + super(UsagesListResult, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class VerificationIPFlowParameters(msrest.serialization.Model): + """Parameters that define the IP flow to be verified. + + All required parameters must be populated in order to send to Azure. + + :param target_resource_id: Required. The ID of the target resource to perform next-hop on. + :type target_resource_id: str + :param direction: Required. The direction of the packet represented as a 5-tuple. Possible + values include: "Inbound", "Outbound". + :type direction: str or ~azure.mgmt.network.v2021_02_01.models.Direction + :param protocol: Required. Protocol to be verified on. Possible values include: "TCP", "UDP". + :type protocol: str or ~azure.mgmt.network.v2021_02_01.models.IpFlowProtocol + :param local_port: Required. The local port. Acceptable values are a single integer in the + range (0-65535). Support for * for the source port, which depends on the direction. + :type local_port: str + :param remote_port: Required. The remote port. Acceptable values are a single integer in the + range (0-65535). Support for * for the source port, which depends on the direction. + :type remote_port: str + :param local_ip_address: Required. The local IP address. Acceptable values are valid IPv4 + addresses. + :type local_ip_address: str + :param remote_ip_address: Required. The remote IP address. Acceptable values are valid IPv4 + addresses. + :type remote_ip_address: str + :param target_nic_resource_id: The NIC ID. (If VM has multiple NICs and IP forwarding is + enabled on any of them, then this parameter must be specified. Otherwise optional). + :type target_nic_resource_id: str + """ + + _validation = { + 'target_resource_id': {'required': True}, + 'direction': {'required': True}, + 'protocol': {'required': True}, + 'local_port': {'required': True}, + 'remote_port': {'required': True}, + 'local_ip_address': {'required': True}, + 'remote_ip_address': {'required': True}, + } + + _attribute_map = { + 'target_resource_id': {'key': 'targetResourceId', 'type': 'str'}, + 'direction': {'key': 'direction', 'type': 'str'}, + 'protocol': {'key': 'protocol', 'type': 'str'}, + 'local_port': {'key': 'localPort', 'type': 'str'}, + 'remote_port': {'key': 'remotePort', 'type': 'str'}, + 'local_ip_address': {'key': 'localIPAddress', 'type': 'str'}, + 'remote_ip_address': {'key': 'remoteIPAddress', 'type': 'str'}, + 'target_nic_resource_id': {'key': 'targetNicResourceId', 'type': 'str'}, + } + + def __init__( + self, + *, + target_resource_id: str, + direction: Union[str, "Direction"], + protocol: Union[str, "IpFlowProtocol"], + local_port: str, + remote_port: str, + local_ip_address: str, + remote_ip_address: str, + target_nic_resource_id: Optional[str] = None, + **kwargs + ): + super(VerificationIPFlowParameters, self).__init__(**kwargs) + self.target_resource_id = target_resource_id + self.direction = direction + self.protocol = protocol + self.local_port = local_port + self.remote_port = remote_port + self.local_ip_address = local_ip_address + self.remote_ip_address = remote_ip_address + self.target_nic_resource_id = target_nic_resource_id + + +class VerificationIPFlowResult(msrest.serialization.Model): + """Results of IP flow verification on the target resource. + + :param access: Indicates whether the traffic is allowed or denied. Possible values include: + "Allow", "Deny". + :type access: str or ~azure.mgmt.network.v2021_02_01.models.Access + :param rule_name: Name of the rule. If input is not matched against any security rule, it is + not displayed. + :type rule_name: str + """ + + _attribute_map = { + 'access': {'key': 'access', 'type': 'str'}, + 'rule_name': {'key': 'ruleName', 'type': 'str'}, + } + + def __init__( + self, + *, + access: Optional[Union[str, "Access"]] = None, + rule_name: Optional[str] = None, + **kwargs + ): + super(VerificationIPFlowResult, self).__init__(**kwargs) + self.access = access + self.rule_name = rule_name + + +class VirtualApplianceNicProperties(msrest.serialization.Model): + """Network Virtual Appliance NIC properties. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar name: NIC name. + :vartype name: str + :ivar public_ip_address: Public IP address. + :vartype public_ip_address: str + :ivar private_ip_address: Private IP address. + :vartype private_ip_address: str + """ + + _validation = { + 'name': {'readonly': True}, + 'public_ip_address': {'readonly': True}, + 'private_ip_address': {'readonly': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'public_ip_address': {'key': 'publicIpAddress', 'type': 'str'}, + 'private_ip_address': {'key': 'privateIpAddress', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(VirtualApplianceNicProperties, self).__init__(**kwargs) + self.name = None + self.public_ip_address = None + self.private_ip_address = None + + +class VirtualApplianceSite(SubResource): + """Virtual Appliance Site resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: Name of the virtual appliance site. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Site type. + :vartype type: str + :param address_prefix: Address Prefix. + :type address_prefix: str + :param o365_policy: Office 365 Policy. + :type o365_policy: ~azure.mgmt.network.v2021_02_01.models.Office365PolicyProperties + :ivar provisioning_state: The provisioning state of the resource. Possible values include: + "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'address_prefix': {'key': 'properties.addressPrefix', 'type': 'str'}, + 'o365_policy': {'key': 'properties.o365Policy', 'type': 'Office365PolicyProperties'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + name: Optional[str] = None, + address_prefix: Optional[str] = None, + o365_policy: Optional["Office365PolicyProperties"] = None, + **kwargs + ): + super(VirtualApplianceSite, self).__init__(id=id, **kwargs) + self.name = name + self.etag = None + self.type = None + self.address_prefix = address_prefix + self.o365_policy = o365_policy + self.provisioning_state = None + + +class VirtualApplianceSkuProperties(msrest.serialization.Model): + """Network Virtual Appliance Sku Properties. + + :param vendor: Virtual Appliance Vendor. + :type vendor: str + :param bundled_scale_unit: Virtual Appliance Scale Unit. + :type bundled_scale_unit: str + :param market_place_version: Virtual Appliance Version. + :type market_place_version: str + """ + + _attribute_map = { + 'vendor': {'key': 'vendor', 'type': 'str'}, + 'bundled_scale_unit': {'key': 'bundledScaleUnit', 'type': 'str'}, + 'market_place_version': {'key': 'marketPlaceVersion', 'type': 'str'}, + } + + def __init__( + self, + *, + vendor: Optional[str] = None, + bundled_scale_unit: Optional[str] = None, + market_place_version: Optional[str] = None, + **kwargs + ): + super(VirtualApplianceSkuProperties, self).__init__(**kwargs) + self.vendor = vendor + self.bundled_scale_unit = bundled_scale_unit + self.market_place_version = market_place_version + + +class VirtualHub(Resource): + """VirtualHub Resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param virtual_wan: The VirtualWAN to which the VirtualHub belongs. + :type virtual_wan: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param vpn_gateway: The VpnGateway associated with this VirtualHub. + :type vpn_gateway: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param p2_s_vpn_gateway: The P2SVpnGateway associated with this VirtualHub. + :type p2_s_vpn_gateway: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param express_route_gateway: The expressRouteGateway associated with this VirtualHub. + :type express_route_gateway: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param azure_firewall: The azureFirewall associated with this VirtualHub. + :type azure_firewall: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param security_partner_provider: The securityPartnerProvider associated with this VirtualHub. + :type security_partner_provider: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param address_prefix: Address-prefix for this VirtualHub. + :type address_prefix: str + :param route_table: The routeTable associated with this virtual hub. + :type route_table: ~azure.mgmt.network.v2021_02_01.models.VirtualHubRouteTable + :ivar provisioning_state: The provisioning state of the virtual hub resource. Possible values + include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :param security_provider_name: The Security Provider name. + :type security_provider_name: str + :param virtual_hub_route_table_v2_s: List of all virtual hub route table v2s associated with + this VirtualHub. + :type virtual_hub_route_table_v2_s: + list[~azure.mgmt.network.v2021_02_01.models.VirtualHubRouteTableV2] + :param sku: The sku of this VirtualHub. + :type sku: str + :ivar routing_state: The routing state. Possible values include: "None", "Provisioned", + "Provisioning", "Failed". + :vartype routing_state: str or ~azure.mgmt.network.v2021_02_01.models.RoutingState + :ivar bgp_connections: List of references to Bgp Connections. + :vartype bgp_connections: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + :ivar ip_configurations: List of references to IpConfigurations. + :vartype ip_configurations: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + :param virtual_router_asn: VirtualRouter ASN. + :type virtual_router_asn: long + :param virtual_router_ips: VirtualRouter IPs. + :type virtual_router_ips: list[str] + :param allow_branch_to_branch_traffic: Flag to control transit for VirtualRouter hub. + :type allow_branch_to_branch_traffic: bool + :param preferred_routing_gateway: The preferred gateway to route on-prem traffic. Possible + values include: "ExpressRoute", "VpnGateway", "None". + :type preferred_routing_gateway: str or + ~azure.mgmt.network.v2021_02_01.models.PreferredRoutingGateway + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'routing_state': {'readonly': True}, + 'bgp_connections': {'readonly': True}, + 'ip_configurations': {'readonly': True}, + 'virtual_router_asn': {'maximum': 4294967295, 'minimum': 0}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'virtual_wan': {'key': 'properties.virtualWan', 'type': 'SubResource'}, + 'vpn_gateway': {'key': 'properties.vpnGateway', 'type': 'SubResource'}, + 'p2_s_vpn_gateway': {'key': 'properties.p2SVpnGateway', 'type': 'SubResource'}, + 'express_route_gateway': {'key': 'properties.expressRouteGateway', 'type': 'SubResource'}, + 'azure_firewall': {'key': 'properties.azureFirewall', 'type': 'SubResource'}, + 'security_partner_provider': {'key': 'properties.securityPartnerProvider', 'type': 'SubResource'}, + 'address_prefix': {'key': 'properties.addressPrefix', 'type': 'str'}, + 'route_table': {'key': 'properties.routeTable', 'type': 'VirtualHubRouteTable'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'security_provider_name': {'key': 'properties.securityProviderName', 'type': 'str'}, + 'virtual_hub_route_table_v2_s': {'key': 'properties.virtualHubRouteTableV2s', 'type': '[VirtualHubRouteTableV2]'}, + 'sku': {'key': 'properties.sku', 'type': 'str'}, + 'routing_state': {'key': 'properties.routingState', 'type': 'str'}, + 'bgp_connections': {'key': 'properties.bgpConnections', 'type': '[SubResource]'}, + 'ip_configurations': {'key': 'properties.ipConfigurations', 'type': '[SubResource]'}, + 'virtual_router_asn': {'key': 'properties.virtualRouterAsn', 'type': 'long'}, + 'virtual_router_ips': {'key': 'properties.virtualRouterIps', 'type': '[str]'}, + 'allow_branch_to_branch_traffic': {'key': 'properties.allowBranchToBranchTraffic', 'type': 'bool'}, + 'preferred_routing_gateway': {'key': 'properties.preferredRoutingGateway', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + location: Optional[str] = None, + tags: Optional[Dict[str, str]] = None, + virtual_wan: Optional["SubResource"] = None, + vpn_gateway: Optional["SubResource"] = None, + p2_s_vpn_gateway: Optional["SubResource"] = None, + express_route_gateway: Optional["SubResource"] = None, + azure_firewall: Optional["SubResource"] = None, + security_partner_provider: Optional["SubResource"] = None, + address_prefix: Optional[str] = None, + route_table: Optional["VirtualHubRouteTable"] = None, + security_provider_name: Optional[str] = None, + virtual_hub_route_table_v2_s: Optional[List["VirtualHubRouteTableV2"]] = None, + sku: Optional[str] = None, + virtual_router_asn: Optional[int] = None, + virtual_router_ips: Optional[List[str]] = None, + allow_branch_to_branch_traffic: Optional[bool] = None, + preferred_routing_gateway: Optional[Union[str, "PreferredRoutingGateway"]] = None, + **kwargs + ): + super(VirtualHub, self).__init__(id=id, location=location, tags=tags, **kwargs) + self.etag = None + self.virtual_wan = virtual_wan + self.vpn_gateway = vpn_gateway + self.p2_s_vpn_gateway = p2_s_vpn_gateway + self.express_route_gateway = express_route_gateway + self.azure_firewall = azure_firewall + self.security_partner_provider = security_partner_provider + self.address_prefix = address_prefix + self.route_table = route_table + self.provisioning_state = None + self.security_provider_name = security_provider_name + self.virtual_hub_route_table_v2_s = virtual_hub_route_table_v2_s + self.sku = sku + self.routing_state = None + self.bgp_connections = None + self.ip_configurations = None + self.virtual_router_asn = virtual_router_asn + self.virtual_router_ips = virtual_router_ips + self.allow_branch_to_branch_traffic = allow_branch_to_branch_traffic + self.preferred_routing_gateway = preferred_routing_gateway + + +class VirtualHubEffectiveRoute(msrest.serialization.Model): + """The effective route configured on the virtual hub or specified resource. + + :param address_prefixes: The list of address prefixes. + :type address_prefixes: list[str] + :param next_hops: The list of next hops. + :type next_hops: list[str] + :param next_hop_type: The type of the next hop. + :type next_hop_type: str + :param as_path: The ASPath of this route. + :type as_path: str + :param route_origin: The origin of this route. + :type route_origin: str + """ + + _attribute_map = { + 'address_prefixes': {'key': 'addressPrefixes', 'type': '[str]'}, + 'next_hops': {'key': 'nextHops', 'type': '[str]'}, + 'next_hop_type': {'key': 'nextHopType', 'type': 'str'}, + 'as_path': {'key': 'asPath', 'type': 'str'}, + 'route_origin': {'key': 'routeOrigin', 'type': 'str'}, + } + + def __init__( + self, + *, + address_prefixes: Optional[List[str]] = None, + next_hops: Optional[List[str]] = None, + next_hop_type: Optional[str] = None, + as_path: Optional[str] = None, + route_origin: Optional[str] = None, + **kwargs + ): + super(VirtualHubEffectiveRoute, self).__init__(**kwargs) + self.address_prefixes = address_prefixes + self.next_hops = next_hops + self.next_hop_type = next_hop_type + self.as_path = as_path + self.route_origin = route_origin + + +class VirtualHubEffectiveRouteList(msrest.serialization.Model): + """EffectiveRoutes List. + + :param value: The list of effective routes configured on the virtual hub or the specified + resource. + :type value: list[~azure.mgmt.network.v2021_02_01.models.VirtualHubEffectiveRoute] + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[VirtualHubEffectiveRoute]'}, + } + + def __init__( + self, + *, + value: Optional[List["VirtualHubEffectiveRoute"]] = None, + **kwargs + ): + super(VirtualHubEffectiveRouteList, self).__init__(**kwargs) + self.value = value + + +class VirtualHubId(msrest.serialization.Model): + """Virtual Hub identifier. + + :param id: The resource URI for the Virtual Hub where the ExpressRoute gateway is or will be + deployed. The Virtual Hub resource and the ExpressRoute gateway resource reside in the same + subscription. + :type id: str + """ + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + **kwargs + ): + super(VirtualHubId, self).__init__(**kwargs) + self.id = id + + +class VirtualHubRoute(msrest.serialization.Model): + """VirtualHub route. + + :param address_prefixes: List of all addressPrefixes. + :type address_prefixes: list[str] + :param next_hop_ip_address: NextHop ip address. + :type next_hop_ip_address: str + """ + + _attribute_map = { + 'address_prefixes': {'key': 'addressPrefixes', 'type': '[str]'}, + 'next_hop_ip_address': {'key': 'nextHopIpAddress', 'type': 'str'}, + } + + def __init__( + self, + *, + address_prefixes: Optional[List[str]] = None, + next_hop_ip_address: Optional[str] = None, + **kwargs + ): + super(VirtualHubRoute, self).__init__(**kwargs) + self.address_prefixes = address_prefixes + self.next_hop_ip_address = next_hop_ip_address + + +class VirtualHubRouteTable(msrest.serialization.Model): + """VirtualHub route table. + + :param routes: List of all routes. + :type routes: list[~azure.mgmt.network.v2021_02_01.models.VirtualHubRoute] + """ + + _attribute_map = { + 'routes': {'key': 'routes', 'type': '[VirtualHubRoute]'}, + } + + def __init__( + self, + *, + routes: Optional[List["VirtualHubRoute"]] = None, + **kwargs + ): + super(VirtualHubRouteTable, self).__init__(**kwargs) + self.routes = routes + + +class VirtualHubRouteTableV2(SubResource): + """VirtualHubRouteTableV2 Resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: The name of the resource that is unique within a resource group. This name can be + used to access the resource. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param routes: List of all routes. + :type routes: list[~azure.mgmt.network.v2021_02_01.models.VirtualHubRouteV2] + :param attached_connections: List of all connections attached to this route table v2. + :type attached_connections: list[str] + :ivar provisioning_state: The provisioning state of the virtual hub route table v2 resource. + Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'routes': {'key': 'properties.routes', 'type': '[VirtualHubRouteV2]'}, + 'attached_connections': {'key': 'properties.attachedConnections', 'type': '[str]'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + name: Optional[str] = None, + routes: Optional[List["VirtualHubRouteV2"]] = None, + attached_connections: Optional[List[str]] = None, + **kwargs + ): + super(VirtualHubRouteTableV2, self).__init__(id=id, **kwargs) + self.name = name + self.etag = None + self.routes = routes + self.attached_connections = attached_connections + self.provisioning_state = None + + +class VirtualHubRouteV2(msrest.serialization.Model): + """VirtualHubRouteTableV2 route. + + :param destination_type: The type of destinations. + :type destination_type: str + :param destinations: List of all destinations. + :type destinations: list[str] + :param next_hop_type: The type of next hops. + :type next_hop_type: str + :param next_hops: NextHops ip address. + :type next_hops: list[str] + """ + + _attribute_map = { + 'destination_type': {'key': 'destinationType', 'type': 'str'}, + 'destinations': {'key': 'destinations', 'type': '[str]'}, + 'next_hop_type': {'key': 'nextHopType', 'type': 'str'}, + 'next_hops': {'key': 'nextHops', 'type': '[str]'}, + } + + def __init__( + self, + *, + destination_type: Optional[str] = None, + destinations: Optional[List[str]] = None, + next_hop_type: Optional[str] = None, + next_hops: Optional[List[str]] = None, + **kwargs + ): + super(VirtualHubRouteV2, self).__init__(**kwargs) + self.destination_type = destination_type + self.destinations = destinations + self.next_hop_type = next_hop_type + self.next_hops = next_hops + + +class VirtualNetwork(Resource): + """Virtual Network resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :param extended_location: The extended location of the virtual network. + :type extended_location: ~azure.mgmt.network.v2021_02_01.models.ExtendedLocation + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param address_space: The AddressSpace that contains an array of IP address ranges that can be + used by subnets. + :type address_space: ~azure.mgmt.network.v2021_02_01.models.AddressSpace + :param dhcp_options: The dhcpOptions that contains an array of DNS servers available to VMs + deployed in the virtual network. + :type dhcp_options: ~azure.mgmt.network.v2021_02_01.models.DhcpOptions + :param flow_timeout_in_minutes: The FlowTimeout value (in minutes) for the Virtual Network. + :type flow_timeout_in_minutes: int + :param subnets: A list of subnets in a Virtual Network. + :type subnets: list[~azure.mgmt.network.v2021_02_01.models.Subnet] + :param virtual_network_peerings: A list of peerings in a Virtual Network. + :type virtual_network_peerings: + list[~azure.mgmt.network.v2021_02_01.models.VirtualNetworkPeering] + :ivar resource_guid: The resourceGuid property of the Virtual Network resource. + :vartype resource_guid: str + :ivar provisioning_state: The provisioning state of the virtual network resource. Possible + values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :param enable_ddos_protection: Indicates if DDoS protection is enabled for all the protected + resources in the virtual network. It requires a DDoS protection plan associated with the + resource. + :type enable_ddos_protection: bool + :param enable_vm_protection: Indicates if VM protection is enabled for all the subnets in the + virtual network. + :type enable_vm_protection: bool + :param ddos_protection_plan: The DDoS protection plan associated with the virtual network. + :type ddos_protection_plan: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param bgp_communities: Bgp Communities sent over ExpressRoute with each route corresponding to + a prefix in this VNET. + :type bgp_communities: ~azure.mgmt.network.v2021_02_01.models.VirtualNetworkBgpCommunities + :param ip_allocations: Array of IpAllocation which reference this VNET. + :type ip_allocations: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'resource_guid': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'extended_location': {'key': 'extendedLocation', 'type': 'ExtendedLocation'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'address_space': {'key': 'properties.addressSpace', 'type': 'AddressSpace'}, + 'dhcp_options': {'key': 'properties.dhcpOptions', 'type': 'DhcpOptions'}, + 'flow_timeout_in_minutes': {'key': 'properties.flowTimeoutInMinutes', 'type': 'int'}, + 'subnets': {'key': 'properties.subnets', 'type': '[Subnet]'}, + 'virtual_network_peerings': {'key': 'properties.virtualNetworkPeerings', 'type': '[VirtualNetworkPeering]'}, + 'resource_guid': {'key': 'properties.resourceGuid', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'enable_ddos_protection': {'key': 'properties.enableDdosProtection', 'type': 'bool'}, + 'enable_vm_protection': {'key': 'properties.enableVmProtection', 'type': 'bool'}, + 'ddos_protection_plan': {'key': 'properties.ddosProtectionPlan', 'type': 'SubResource'}, + 'bgp_communities': {'key': 'properties.bgpCommunities', 'type': 'VirtualNetworkBgpCommunities'}, + 'ip_allocations': {'key': 'properties.ipAllocations', 'type': '[SubResource]'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + location: Optional[str] = None, + tags: Optional[Dict[str, str]] = None, + extended_location: Optional["ExtendedLocation"] = None, + address_space: Optional["AddressSpace"] = None, + dhcp_options: Optional["DhcpOptions"] = None, + flow_timeout_in_minutes: Optional[int] = None, + subnets: Optional[List["Subnet"]] = None, + virtual_network_peerings: Optional[List["VirtualNetworkPeering"]] = None, + enable_ddos_protection: Optional[bool] = False, + enable_vm_protection: Optional[bool] = False, + ddos_protection_plan: Optional["SubResource"] = None, + bgp_communities: Optional["VirtualNetworkBgpCommunities"] = None, + ip_allocations: Optional[List["SubResource"]] = None, + **kwargs + ): + super(VirtualNetwork, self).__init__(id=id, location=location, tags=tags, **kwargs) + self.extended_location = extended_location + self.etag = None + self.address_space = address_space + self.dhcp_options = dhcp_options + self.flow_timeout_in_minutes = flow_timeout_in_minutes + self.subnets = subnets + self.virtual_network_peerings = virtual_network_peerings + self.resource_guid = None + self.provisioning_state = None + self.enable_ddos_protection = enable_ddos_protection + self.enable_vm_protection = enable_vm_protection + self.ddos_protection_plan = ddos_protection_plan + self.bgp_communities = bgp_communities + self.ip_allocations = ip_allocations + + +class VirtualNetworkBgpCommunities(msrest.serialization.Model): + """Bgp Communities sent over ExpressRoute with each route corresponding to a prefix in this VNET. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param virtual_network_community: Required. The BGP community associated with the virtual + network. + :type virtual_network_community: str + :ivar regional_community: The BGP community associated with the region of the virtual network. + :vartype regional_community: str + """ + + _validation = { + 'virtual_network_community': {'required': True}, + 'regional_community': {'readonly': True}, + } + + _attribute_map = { + 'virtual_network_community': {'key': 'virtualNetworkCommunity', 'type': 'str'}, + 'regional_community': {'key': 'regionalCommunity', 'type': 'str'}, + } + + def __init__( + self, + *, + virtual_network_community: str, + **kwargs + ): + super(VirtualNetworkBgpCommunities, self).__init__(**kwargs) + self.virtual_network_community = virtual_network_community + self.regional_community = None + + +class VirtualNetworkConnectionGatewayReference(msrest.serialization.Model): + """A reference to VirtualNetworkGateway or LocalNetworkGateway resource. + + All required parameters must be populated in order to send to Azure. + + :param id: Required. The ID of VirtualNetworkGateway or LocalNetworkGateway resource. + :type id: str + """ + + _validation = { + 'id': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + } + + def __init__( + self, + *, + id: str, + **kwargs + ): + super(VirtualNetworkConnectionGatewayReference, self).__init__(**kwargs) + self.id = id + + +class VirtualNetworkGateway(Resource): + """A common class for general resource information. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :param extended_location: The extended location of type local virtual network gateway. + :type extended_location: ~azure.mgmt.network.v2021_02_01.models.ExtendedLocation + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param ip_configurations: IP configurations for virtual network gateway. + :type ip_configurations: + list[~azure.mgmt.network.v2021_02_01.models.VirtualNetworkGatewayIPConfiguration] + :param gateway_type: The type of this virtual network gateway. Possible values include: "Vpn", + "ExpressRoute", "LocalGateway". + :type gateway_type: str or ~azure.mgmt.network.v2021_02_01.models.VirtualNetworkGatewayType + :param vpn_type: The type of this virtual network gateway. Possible values include: + "PolicyBased", "RouteBased". + :type vpn_type: str or ~azure.mgmt.network.v2021_02_01.models.VpnType + :param vpn_gateway_generation: The generation for this VirtualNetworkGateway. Must be None if + gatewayType is not VPN. Possible values include: "None", "Generation1", "Generation2". + :type vpn_gateway_generation: str or + ~azure.mgmt.network.v2021_02_01.models.VpnGatewayGeneration + :param enable_bgp: Whether BGP is enabled for this virtual network gateway or not. + :type enable_bgp: bool + :param enable_private_ip_address: Whether private IP needs to be enabled on this gateway for + connections or not. + :type enable_private_ip_address: bool + :param active: ActiveActive flag. + :type active: bool + :param gateway_default_site: The reference to the LocalNetworkGateway resource which represents + local network site having default routes. Assign Null value in case of removing existing + default site setting. + :type gateway_default_site: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param sku: The reference to the VirtualNetworkGatewaySku resource which represents the SKU + selected for Virtual network gateway. + :type sku: ~azure.mgmt.network.v2021_02_01.models.VirtualNetworkGatewaySku + :param vpn_client_configuration: The reference to the VpnClientConfiguration resource which + represents the P2S VpnClient configurations. + :type vpn_client_configuration: ~azure.mgmt.network.v2021_02_01.models.VpnClientConfiguration + :param bgp_settings: Virtual network gateway's BGP speaker settings. + :type bgp_settings: ~azure.mgmt.network.v2021_02_01.models.BgpSettings + :param custom_routes: The reference to the address space resource which represents the custom + routes address space specified by the customer for virtual network gateway and VpnClient. + :type custom_routes: ~azure.mgmt.network.v2021_02_01.models.AddressSpace + :ivar resource_guid: The resource GUID property of the virtual network gateway resource. + :vartype resource_guid: str + :ivar provisioning_state: The provisioning state of the virtual network gateway resource. + Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :param enable_dns_forwarding: Whether dns forwarding is enabled or not. + :type enable_dns_forwarding: bool + :ivar inbound_dns_forwarding_endpoint: The IP address allocated by the gateway to which dns + requests can be sent. + :vartype inbound_dns_forwarding_endpoint: str + :param v_net_extended_location_resource_id: Customer vnet resource id. VirtualNetworkGateway of + type local gateway is associated with the customer vnet. + :type v_net_extended_location_resource_id: str + :param nat_rules: NatRules for virtual network gateway. + :type nat_rules: list[~azure.mgmt.network.v2021_02_01.models.VirtualNetworkGatewayNatRule] + :param enable_bgp_route_translation_for_nat: EnableBgpRouteTranslationForNat flag. + :type enable_bgp_route_translation_for_nat: bool + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'resource_guid': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'inbound_dns_forwarding_endpoint': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'extended_location': {'key': 'extendedLocation', 'type': 'ExtendedLocation'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'ip_configurations': {'key': 'properties.ipConfigurations', 'type': '[VirtualNetworkGatewayIPConfiguration]'}, + 'gateway_type': {'key': 'properties.gatewayType', 'type': 'str'}, + 'vpn_type': {'key': 'properties.vpnType', 'type': 'str'}, + 'vpn_gateway_generation': {'key': 'properties.vpnGatewayGeneration', 'type': 'str'}, + 'enable_bgp': {'key': 'properties.enableBgp', 'type': 'bool'}, + 'enable_private_ip_address': {'key': 'properties.enablePrivateIpAddress', 'type': 'bool'}, + 'active': {'key': 'properties.activeActive', 'type': 'bool'}, + 'gateway_default_site': {'key': 'properties.gatewayDefaultSite', 'type': 'SubResource'}, + 'sku': {'key': 'properties.sku', 'type': 'VirtualNetworkGatewaySku'}, + 'vpn_client_configuration': {'key': 'properties.vpnClientConfiguration', 'type': 'VpnClientConfiguration'}, + 'bgp_settings': {'key': 'properties.bgpSettings', 'type': 'BgpSettings'}, + 'custom_routes': {'key': 'properties.customRoutes', 'type': 'AddressSpace'}, + 'resource_guid': {'key': 'properties.resourceGuid', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'enable_dns_forwarding': {'key': 'properties.enableDnsForwarding', 'type': 'bool'}, + 'inbound_dns_forwarding_endpoint': {'key': 'properties.inboundDnsForwardingEndpoint', 'type': 'str'}, + 'v_net_extended_location_resource_id': {'key': 'properties.vNetExtendedLocationResourceId', 'type': 'str'}, + 'nat_rules': {'key': 'properties.natRules', 'type': '[VirtualNetworkGatewayNatRule]'}, + 'enable_bgp_route_translation_for_nat': {'key': 'properties.enableBgpRouteTranslationForNat', 'type': 'bool'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + location: Optional[str] = None, + tags: Optional[Dict[str, str]] = None, + extended_location: Optional["ExtendedLocation"] = None, + ip_configurations: Optional[List["VirtualNetworkGatewayIPConfiguration"]] = None, + gateway_type: Optional[Union[str, "VirtualNetworkGatewayType"]] = None, + vpn_type: Optional[Union[str, "VpnType"]] = None, + vpn_gateway_generation: Optional[Union[str, "VpnGatewayGeneration"]] = None, + enable_bgp: Optional[bool] = None, + enable_private_ip_address: Optional[bool] = None, + active: Optional[bool] = None, + gateway_default_site: Optional["SubResource"] = None, + sku: Optional["VirtualNetworkGatewaySku"] = None, + vpn_client_configuration: Optional["VpnClientConfiguration"] = None, + bgp_settings: Optional["BgpSettings"] = None, + custom_routes: Optional["AddressSpace"] = None, + enable_dns_forwarding: Optional[bool] = None, + v_net_extended_location_resource_id: Optional[str] = None, + nat_rules: Optional[List["VirtualNetworkGatewayNatRule"]] = None, + enable_bgp_route_translation_for_nat: Optional[bool] = None, + **kwargs + ): + super(VirtualNetworkGateway, self).__init__(id=id, location=location, tags=tags, **kwargs) + self.extended_location = extended_location + self.etag = None + self.ip_configurations = ip_configurations + self.gateway_type = gateway_type + self.vpn_type = vpn_type + self.vpn_gateway_generation = vpn_gateway_generation + self.enable_bgp = enable_bgp + self.enable_private_ip_address = enable_private_ip_address + self.active = active + self.gateway_default_site = gateway_default_site + self.sku = sku + self.vpn_client_configuration = vpn_client_configuration + self.bgp_settings = bgp_settings + self.custom_routes = custom_routes + self.resource_guid = None + self.provisioning_state = None + self.enable_dns_forwarding = enable_dns_forwarding + self.inbound_dns_forwarding_endpoint = None + self.v_net_extended_location_resource_id = v_net_extended_location_resource_id + self.nat_rules = nat_rules + self.enable_bgp_route_translation_for_nat = enable_bgp_route_translation_for_nat + + +class VirtualNetworkGatewayConnection(Resource): + """A common class for general resource information. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param authorization_key: The authorizationKey. + :type authorization_key: str + :param virtual_network_gateway1: Required. The reference to virtual network gateway resource. + :type virtual_network_gateway1: ~azure.mgmt.network.v2021_02_01.models.VirtualNetworkGateway + :param virtual_network_gateway2: The reference to virtual network gateway resource. + :type virtual_network_gateway2: ~azure.mgmt.network.v2021_02_01.models.VirtualNetworkGateway + :param local_network_gateway2: The reference to local network gateway resource. + :type local_network_gateway2: ~azure.mgmt.network.v2021_02_01.models.LocalNetworkGateway + :param ingress_nat_rules: List of ingress NatRules. + :type ingress_nat_rules: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + :param egress_nat_rules: List of egress NatRules. + :type egress_nat_rules: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + :param connection_type: Required. Gateway connection type. Possible values include: "IPsec", + "Vnet2Vnet", "ExpressRoute", "VPNClient". + :type connection_type: str or + ~azure.mgmt.network.v2021_02_01.models.VirtualNetworkGatewayConnectionType + :param connection_protocol: Connection protocol used for this connection. Possible values + include: "IKEv2", "IKEv1". + :type connection_protocol: str or + ~azure.mgmt.network.v2021_02_01.models.VirtualNetworkGatewayConnectionProtocol + :param routing_weight: The routing weight. + :type routing_weight: int + :param dpd_timeout_seconds: The dead peer detection timeout of this connection in seconds. + :type dpd_timeout_seconds: int + :param connection_mode: The connection mode for this connection. Possible values include: + "Default", "ResponderOnly", "InitiatorOnly". + :type connection_mode: str or + ~azure.mgmt.network.v2021_02_01.models.VirtualNetworkGatewayConnectionMode + :param shared_key: The IPSec shared key. + :type shared_key: str + :ivar connection_status: Virtual Network Gateway connection status. Possible values include: + "Unknown", "Connecting", "Connected", "NotConnected". + :vartype connection_status: str or + ~azure.mgmt.network.v2021_02_01.models.VirtualNetworkGatewayConnectionStatus + :ivar tunnel_connection_status: Collection of all tunnels' connection health status. + :vartype tunnel_connection_status: + list[~azure.mgmt.network.v2021_02_01.models.TunnelConnectionHealth] + :ivar egress_bytes_transferred: The egress bytes transferred in this connection. + :vartype egress_bytes_transferred: long + :ivar ingress_bytes_transferred: The ingress bytes transferred in this connection. + :vartype ingress_bytes_transferred: long + :param peer: The reference to peerings resource. + :type peer: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param enable_bgp: EnableBgp flag. + :type enable_bgp: bool + :param use_local_azure_ip_address: Use private local Azure IP for the connection. + :type use_local_azure_ip_address: bool + :param use_policy_based_traffic_selectors: Enable policy-based traffic selectors. + :type use_policy_based_traffic_selectors: bool + :param ipsec_policies: The IPSec Policies to be considered by this connection. + :type ipsec_policies: list[~azure.mgmt.network.v2021_02_01.models.IpsecPolicy] + :param traffic_selector_policies: The Traffic Selector Policies to be considered by this + connection. + :type traffic_selector_policies: + list[~azure.mgmt.network.v2021_02_01.models.TrafficSelectorPolicy] + :ivar resource_guid: The resource GUID property of the virtual network gateway connection + resource. + :vartype resource_guid: str + :ivar provisioning_state: The provisioning state of the virtual network gateway connection + resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :param express_route_gateway_bypass: Bypass ExpressRoute Gateway for data forwarding. + :type express_route_gateway_bypass: bool + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'virtual_network_gateway1': {'required': True}, + 'connection_type': {'required': True}, + 'connection_status': {'readonly': True}, + 'tunnel_connection_status': {'readonly': True}, + 'egress_bytes_transferred': {'readonly': True}, + 'ingress_bytes_transferred': {'readonly': True}, + 'resource_guid': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'authorization_key': {'key': 'properties.authorizationKey', 'type': 'str'}, + 'virtual_network_gateway1': {'key': 'properties.virtualNetworkGateway1', 'type': 'VirtualNetworkGateway'}, + 'virtual_network_gateway2': {'key': 'properties.virtualNetworkGateway2', 'type': 'VirtualNetworkGateway'}, + 'local_network_gateway2': {'key': 'properties.localNetworkGateway2', 'type': 'LocalNetworkGateway'}, + 'ingress_nat_rules': {'key': 'properties.ingressNatRules', 'type': '[SubResource]'}, + 'egress_nat_rules': {'key': 'properties.egressNatRules', 'type': '[SubResource]'}, + 'connection_type': {'key': 'properties.connectionType', 'type': 'str'}, + 'connection_protocol': {'key': 'properties.connectionProtocol', 'type': 'str'}, + 'routing_weight': {'key': 'properties.routingWeight', 'type': 'int'}, + 'dpd_timeout_seconds': {'key': 'properties.dpdTimeoutSeconds', 'type': 'int'}, + 'connection_mode': {'key': 'properties.connectionMode', 'type': 'str'}, + 'shared_key': {'key': 'properties.sharedKey', 'type': 'str'}, + 'connection_status': {'key': 'properties.connectionStatus', 'type': 'str'}, + 'tunnel_connection_status': {'key': 'properties.tunnelConnectionStatus', 'type': '[TunnelConnectionHealth]'}, + 'egress_bytes_transferred': {'key': 'properties.egressBytesTransferred', 'type': 'long'}, + 'ingress_bytes_transferred': {'key': 'properties.ingressBytesTransferred', 'type': 'long'}, + 'peer': {'key': 'properties.peer', 'type': 'SubResource'}, + 'enable_bgp': {'key': 'properties.enableBgp', 'type': 'bool'}, + 'use_local_azure_ip_address': {'key': 'properties.useLocalAzureIpAddress', 'type': 'bool'}, + 'use_policy_based_traffic_selectors': {'key': 'properties.usePolicyBasedTrafficSelectors', 'type': 'bool'}, + 'ipsec_policies': {'key': 'properties.ipsecPolicies', 'type': '[IpsecPolicy]'}, + 'traffic_selector_policies': {'key': 'properties.trafficSelectorPolicies', 'type': '[TrafficSelectorPolicy]'}, + 'resource_guid': {'key': 'properties.resourceGuid', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'express_route_gateway_bypass': {'key': 'properties.expressRouteGatewayBypass', 'type': 'bool'}, + } + + def __init__( + self, + *, + virtual_network_gateway1: "VirtualNetworkGateway", + connection_type: Union[str, "VirtualNetworkGatewayConnectionType"], + id: Optional[str] = None, + location: Optional[str] = None, + tags: Optional[Dict[str, str]] = None, + authorization_key: Optional[str] = None, + virtual_network_gateway2: Optional["VirtualNetworkGateway"] = None, + local_network_gateway2: Optional["LocalNetworkGateway"] = None, + ingress_nat_rules: Optional[List["SubResource"]] = None, + egress_nat_rules: Optional[List["SubResource"]] = None, + connection_protocol: Optional[Union[str, "VirtualNetworkGatewayConnectionProtocol"]] = None, + routing_weight: Optional[int] = None, + dpd_timeout_seconds: Optional[int] = None, + connection_mode: Optional[Union[str, "VirtualNetworkGatewayConnectionMode"]] = None, + shared_key: Optional[str] = None, + peer: Optional["SubResource"] = None, + enable_bgp: Optional[bool] = None, + use_local_azure_ip_address: Optional[bool] = None, + use_policy_based_traffic_selectors: Optional[bool] = None, + ipsec_policies: Optional[List["IpsecPolicy"]] = None, + traffic_selector_policies: Optional[List["TrafficSelectorPolicy"]] = None, + express_route_gateway_bypass: Optional[bool] = None, + **kwargs + ): + super(VirtualNetworkGatewayConnection, self).__init__(id=id, location=location, tags=tags, **kwargs) + self.etag = None + self.authorization_key = authorization_key + self.virtual_network_gateway1 = virtual_network_gateway1 + self.virtual_network_gateway2 = virtual_network_gateway2 + self.local_network_gateway2 = local_network_gateway2 + self.ingress_nat_rules = ingress_nat_rules + self.egress_nat_rules = egress_nat_rules + self.connection_type = connection_type + self.connection_protocol = connection_protocol + self.routing_weight = routing_weight + self.dpd_timeout_seconds = dpd_timeout_seconds + self.connection_mode = connection_mode + self.shared_key = shared_key + self.connection_status = None + self.tunnel_connection_status = None + self.egress_bytes_transferred = None + self.ingress_bytes_transferred = None + self.peer = peer + self.enable_bgp = enable_bgp + self.use_local_azure_ip_address = use_local_azure_ip_address + self.use_policy_based_traffic_selectors = use_policy_based_traffic_selectors + self.ipsec_policies = ipsec_policies + self.traffic_selector_policies = traffic_selector_policies + self.resource_guid = None + self.provisioning_state = None + self.express_route_gateway_bypass = express_route_gateway_bypass + + +class VirtualNetworkGatewayConnectionListEntity(Resource): + """A common class for general resource information. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param authorization_key: The authorizationKey. + :type authorization_key: str + :param virtual_network_gateway1: Required. The reference to virtual network gateway resource. + :type virtual_network_gateway1: + ~azure.mgmt.network.v2021_02_01.models.VirtualNetworkConnectionGatewayReference + :param virtual_network_gateway2: The reference to virtual network gateway resource. + :type virtual_network_gateway2: + ~azure.mgmt.network.v2021_02_01.models.VirtualNetworkConnectionGatewayReference + :param local_network_gateway2: The reference to local network gateway resource. + :type local_network_gateway2: + ~azure.mgmt.network.v2021_02_01.models.VirtualNetworkConnectionGatewayReference + :param connection_type: Required. Gateway connection type. Possible values include: "IPsec", + "Vnet2Vnet", "ExpressRoute", "VPNClient". + :type connection_type: str or + ~azure.mgmt.network.v2021_02_01.models.VirtualNetworkGatewayConnectionType + :param connection_protocol: Connection protocol used for this connection. Possible values + include: "IKEv2", "IKEv1". + :type connection_protocol: str or + ~azure.mgmt.network.v2021_02_01.models.VirtualNetworkGatewayConnectionProtocol + :param routing_weight: The routing weight. + :type routing_weight: int + :param connection_mode: The connection mode for this connection. Possible values include: + "Default", "ResponderOnly", "InitiatorOnly". + :type connection_mode: str or + ~azure.mgmt.network.v2021_02_01.models.VirtualNetworkGatewayConnectionMode + :param shared_key: The IPSec shared key. + :type shared_key: str + :ivar connection_status: Virtual Network Gateway connection status. Possible values include: + "Unknown", "Connecting", "Connected", "NotConnected". + :vartype connection_status: str or + ~azure.mgmt.network.v2021_02_01.models.VirtualNetworkGatewayConnectionStatus + :ivar tunnel_connection_status: Collection of all tunnels' connection health status. + :vartype tunnel_connection_status: + list[~azure.mgmt.network.v2021_02_01.models.TunnelConnectionHealth] + :ivar egress_bytes_transferred: The egress bytes transferred in this connection. + :vartype egress_bytes_transferred: long + :ivar ingress_bytes_transferred: The ingress bytes transferred in this connection. + :vartype ingress_bytes_transferred: long + :param peer: The reference to peerings resource. + :type peer: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param enable_bgp: EnableBgp flag. + :type enable_bgp: bool + :param use_policy_based_traffic_selectors: Enable policy-based traffic selectors. + :type use_policy_based_traffic_selectors: bool + :param ipsec_policies: The IPSec Policies to be considered by this connection. + :type ipsec_policies: list[~azure.mgmt.network.v2021_02_01.models.IpsecPolicy] + :param traffic_selector_policies: The Traffic Selector Policies to be considered by this + connection. + :type traffic_selector_policies: + list[~azure.mgmt.network.v2021_02_01.models.TrafficSelectorPolicy] + :ivar resource_guid: The resource GUID property of the virtual network gateway connection + resource. + :vartype resource_guid: str + :ivar provisioning_state: The provisioning state of the virtual network gateway connection + resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :param express_route_gateway_bypass: Bypass ExpressRoute Gateway for data forwarding. + :type express_route_gateway_bypass: bool + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'virtual_network_gateway1': {'required': True}, + 'connection_type': {'required': True}, + 'connection_status': {'readonly': True}, + 'tunnel_connection_status': {'readonly': True}, + 'egress_bytes_transferred': {'readonly': True}, + 'ingress_bytes_transferred': {'readonly': True}, + 'resource_guid': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'authorization_key': {'key': 'properties.authorizationKey', 'type': 'str'}, + 'virtual_network_gateway1': {'key': 'properties.virtualNetworkGateway1', 'type': 'VirtualNetworkConnectionGatewayReference'}, + 'virtual_network_gateway2': {'key': 'properties.virtualNetworkGateway2', 'type': 'VirtualNetworkConnectionGatewayReference'}, + 'local_network_gateway2': {'key': 'properties.localNetworkGateway2', 'type': 'VirtualNetworkConnectionGatewayReference'}, + 'connection_type': {'key': 'properties.connectionType', 'type': 'str'}, + 'connection_protocol': {'key': 'properties.connectionProtocol', 'type': 'str'}, + 'routing_weight': {'key': 'properties.routingWeight', 'type': 'int'}, + 'connection_mode': {'key': 'properties.connectionMode', 'type': 'str'}, + 'shared_key': {'key': 'properties.sharedKey', 'type': 'str'}, + 'connection_status': {'key': 'properties.connectionStatus', 'type': 'str'}, + 'tunnel_connection_status': {'key': 'properties.tunnelConnectionStatus', 'type': '[TunnelConnectionHealth]'}, + 'egress_bytes_transferred': {'key': 'properties.egressBytesTransferred', 'type': 'long'}, + 'ingress_bytes_transferred': {'key': 'properties.ingressBytesTransferred', 'type': 'long'}, + 'peer': {'key': 'properties.peer', 'type': 'SubResource'}, + 'enable_bgp': {'key': 'properties.enableBgp', 'type': 'bool'}, + 'use_policy_based_traffic_selectors': {'key': 'properties.usePolicyBasedTrafficSelectors', 'type': 'bool'}, + 'ipsec_policies': {'key': 'properties.ipsecPolicies', 'type': '[IpsecPolicy]'}, + 'traffic_selector_policies': {'key': 'properties.trafficSelectorPolicies', 'type': '[TrafficSelectorPolicy]'}, + 'resource_guid': {'key': 'properties.resourceGuid', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'express_route_gateway_bypass': {'key': 'properties.expressRouteGatewayBypass', 'type': 'bool'}, + } + + def __init__( + self, + *, + virtual_network_gateway1: "VirtualNetworkConnectionGatewayReference", + connection_type: Union[str, "VirtualNetworkGatewayConnectionType"], + id: Optional[str] = None, + location: Optional[str] = None, + tags: Optional[Dict[str, str]] = None, + authorization_key: Optional[str] = None, + virtual_network_gateway2: Optional["VirtualNetworkConnectionGatewayReference"] = None, + local_network_gateway2: Optional["VirtualNetworkConnectionGatewayReference"] = None, + connection_protocol: Optional[Union[str, "VirtualNetworkGatewayConnectionProtocol"]] = None, + routing_weight: Optional[int] = None, + connection_mode: Optional[Union[str, "VirtualNetworkGatewayConnectionMode"]] = None, + shared_key: Optional[str] = None, + peer: Optional["SubResource"] = None, + enable_bgp: Optional[bool] = None, + use_policy_based_traffic_selectors: Optional[bool] = None, + ipsec_policies: Optional[List["IpsecPolicy"]] = None, + traffic_selector_policies: Optional[List["TrafficSelectorPolicy"]] = None, + express_route_gateway_bypass: Optional[bool] = None, + **kwargs + ): + super(VirtualNetworkGatewayConnectionListEntity, self).__init__(id=id, location=location, tags=tags, **kwargs) + self.etag = None + self.authorization_key = authorization_key + self.virtual_network_gateway1 = virtual_network_gateway1 + self.virtual_network_gateway2 = virtual_network_gateway2 + self.local_network_gateway2 = local_network_gateway2 + self.connection_type = connection_type + self.connection_protocol = connection_protocol + self.routing_weight = routing_weight + self.connection_mode = connection_mode + self.shared_key = shared_key + self.connection_status = None + self.tunnel_connection_status = None + self.egress_bytes_transferred = None + self.ingress_bytes_transferred = None + self.peer = peer + self.enable_bgp = enable_bgp + self.use_policy_based_traffic_selectors = use_policy_based_traffic_selectors + self.ipsec_policies = ipsec_policies + self.traffic_selector_policies = traffic_selector_policies + self.resource_guid = None + self.provisioning_state = None + self.express_route_gateway_bypass = express_route_gateway_bypass + + +class VirtualNetworkGatewayConnectionListResult(msrest.serialization.Model): + """Response for the ListVirtualNetworkGatewayConnections API service call. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: A list of VirtualNetworkGatewayConnection resources that exists in a resource + group. + :type value: list[~azure.mgmt.network.v2021_02_01.models.VirtualNetworkGatewayConnection] + :ivar next_link: The URL to get the next set of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[VirtualNetworkGatewayConnection]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["VirtualNetworkGatewayConnection"]] = None, + **kwargs + ): + super(VirtualNetworkGatewayConnectionListResult, self).__init__(**kwargs) + self.value = value + self.next_link = None + + +class VirtualNetworkGatewayIPConfiguration(SubResource): + """IP configuration for virtual network gateway. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: The name of the resource that is unique within a resource group. This name can be + used to access the resource. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param private_ip_allocation_method: The private IP address allocation method. Possible values + include: "Static", "Dynamic". + :type private_ip_allocation_method: str or + ~azure.mgmt.network.v2021_02_01.models.IPAllocationMethod + :param subnet: The reference to the subnet resource. + :type subnet: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param public_ip_address: The reference to the public IP resource. + :type public_ip_address: ~azure.mgmt.network.v2021_02_01.models.SubResource + :ivar private_ip_address: Private IP Address for this gateway. + :vartype private_ip_address: str + :ivar provisioning_state: The provisioning state of the virtual network gateway IP + configuration resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'private_ip_address': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'private_ip_allocation_method': {'key': 'properties.privateIPAllocationMethod', 'type': 'str'}, + 'subnet': {'key': 'properties.subnet', 'type': 'SubResource'}, + 'public_ip_address': {'key': 'properties.publicIPAddress', 'type': 'SubResource'}, + 'private_ip_address': {'key': 'properties.privateIPAddress', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + name: Optional[str] = None, + private_ip_allocation_method: Optional[Union[str, "IPAllocationMethod"]] = None, + subnet: Optional["SubResource"] = None, + public_ip_address: Optional["SubResource"] = None, + **kwargs + ): + super(VirtualNetworkGatewayIPConfiguration, self).__init__(id=id, **kwargs) + self.name = name + self.etag = None + self.private_ip_allocation_method = private_ip_allocation_method + self.subnet = subnet + self.public_ip_address = public_ip_address + self.private_ip_address = None + self.provisioning_state = None + + +class VirtualNetworkGatewayListConnectionsResult(msrest.serialization.Model): + """Response for the VirtualNetworkGatewayListConnections API service call. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: A list of VirtualNetworkGatewayConnection resources that exists in a resource + group. + :type value: + list[~azure.mgmt.network.v2021_02_01.models.VirtualNetworkGatewayConnectionListEntity] + :ivar next_link: The URL to get the next set of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[VirtualNetworkGatewayConnectionListEntity]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["VirtualNetworkGatewayConnectionListEntity"]] = None, + **kwargs + ): + super(VirtualNetworkGatewayListConnectionsResult, self).__init__(**kwargs) + self.value = value + self.next_link = None + + +class VirtualNetworkGatewayListResult(msrest.serialization.Model): + """Response for the ListVirtualNetworkGateways API service call. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param value: A list of VirtualNetworkGateway resources that exists in a resource group. + :type value: list[~azure.mgmt.network.v2021_02_01.models.VirtualNetworkGateway] + :ivar next_link: The URL to get the next set of results. + :vartype next_link: str + """ + + _validation = { + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[VirtualNetworkGateway]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["VirtualNetworkGateway"]] = None, + **kwargs + ): + super(VirtualNetworkGatewayListResult, self).__init__(**kwargs) + self.value = value + self.next_link = None + + +class VirtualNetworkGatewayNatRule(SubResource): + """VirtualNetworkGatewayNatRule Resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: The name of the resource that is unique within a resource group. This name can be + used to access the resource. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Resource type. + :vartype type: str + :ivar provisioning_state: The provisioning state of the NAT Rule resource. Possible values + include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :param type_properties_type: The type of NAT rule for VPN NAT. Possible values include: + "Static", "Dynamic". + :type type_properties_type: str or ~azure.mgmt.network.v2021_02_01.models.VpnNatRuleType + :param mode: The Source NAT direction of a VPN NAT. Possible values include: "EgressSnat", + "IngressSnat". + :type mode: str or ~azure.mgmt.network.v2021_02_01.models.VpnNatRuleMode + :param internal_mappings: The private IP address internal mapping for NAT. + :type internal_mappings: list[~azure.mgmt.network.v2021_02_01.models.VpnNatRuleMapping] + :param external_mappings: The private IP address external mapping for NAT. + :type external_mappings: list[~azure.mgmt.network.v2021_02_01.models.VpnNatRuleMapping] + :param ip_configuration_id: The IP Configuration ID this NAT rule applies to. + :type ip_configuration_id: str + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'type_properties_type': {'key': 'properties.type', 'type': 'str'}, + 'mode': {'key': 'properties.mode', 'type': 'str'}, + 'internal_mappings': {'key': 'properties.internalMappings', 'type': '[VpnNatRuleMapping]'}, + 'external_mappings': {'key': 'properties.externalMappings', 'type': '[VpnNatRuleMapping]'}, + 'ip_configuration_id': {'key': 'properties.ipConfigurationId', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + name: Optional[str] = None, + type_properties_type: Optional[Union[str, "VpnNatRuleType"]] = None, + mode: Optional[Union[str, "VpnNatRuleMode"]] = None, + internal_mappings: Optional[List["VpnNatRuleMapping"]] = None, + external_mappings: Optional[List["VpnNatRuleMapping"]] = None, + ip_configuration_id: Optional[str] = None, + **kwargs + ): + super(VirtualNetworkGatewayNatRule, self).__init__(id=id, **kwargs) + self.name = name + self.etag = None + self.type = None + self.provisioning_state = None + self.type_properties_type = type_properties_type + self.mode = mode + self.internal_mappings = internal_mappings + self.external_mappings = external_mappings + self.ip_configuration_id = ip_configuration_id + + +class VirtualNetworkGatewaySku(msrest.serialization.Model): + """VirtualNetworkGatewaySku details. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param name: Gateway SKU name. Possible values include: "Basic", "HighPerformance", "Standard", + "UltraPerformance", "VpnGw1", "VpnGw2", "VpnGw3", "VpnGw4", "VpnGw5", "VpnGw1AZ", "VpnGw2AZ", + "VpnGw3AZ", "VpnGw4AZ", "VpnGw5AZ", "ErGw1AZ", "ErGw2AZ", "ErGw3AZ". + :type name: str or ~azure.mgmt.network.v2021_02_01.models.VirtualNetworkGatewaySkuName + :param tier: Gateway SKU tier. Possible values include: "Basic", "HighPerformance", "Standard", + "UltraPerformance", "VpnGw1", "VpnGw2", "VpnGw3", "VpnGw4", "VpnGw5", "VpnGw1AZ", "VpnGw2AZ", + "VpnGw3AZ", "VpnGw4AZ", "VpnGw5AZ", "ErGw1AZ", "ErGw2AZ", "ErGw3AZ". + :type tier: str or ~azure.mgmt.network.v2021_02_01.models.VirtualNetworkGatewaySkuTier + :ivar capacity: The capacity. + :vartype capacity: int + """ + + _validation = { + 'capacity': {'readonly': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'tier': {'key': 'tier', 'type': 'str'}, + 'capacity': {'key': 'capacity', 'type': 'int'}, + } + + def __init__( + self, + *, + name: Optional[Union[str, "VirtualNetworkGatewaySkuName"]] = None, + tier: Optional[Union[str, "VirtualNetworkGatewaySkuTier"]] = None, + **kwargs + ): + super(VirtualNetworkGatewaySku, self).__init__(**kwargs) + self.name = name + self.tier = tier + self.capacity = None + + +class VirtualNetworkListResult(msrest.serialization.Model): + """Response for the ListVirtualNetworks API service call. + + :param value: A list of VirtualNetwork resources in a resource group. + :type value: list[~azure.mgmt.network.v2021_02_01.models.VirtualNetwork] + :param next_link: The URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[VirtualNetwork]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["VirtualNetwork"]] = None, + next_link: Optional[str] = None, + **kwargs + ): + super(VirtualNetworkListResult, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class VirtualNetworkListUsageResult(msrest.serialization.Model): + """Response for the virtual networks GetUsage API service call. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: VirtualNetwork usage stats. + :vartype value: list[~azure.mgmt.network.v2021_02_01.models.VirtualNetworkUsage] + :param next_link: The URL to get the next set of results. + :type next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[VirtualNetworkUsage]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + next_link: Optional[str] = None, + **kwargs + ): + super(VirtualNetworkListUsageResult, self).__init__(**kwargs) + self.value = None + self.next_link = next_link + + +class VirtualNetworkPeering(SubResource): + """Peerings in a virtual network resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: The name of the resource that is unique within a resource group. This name can be + used to access the resource. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param type: Resource type. + :type type: str + :param allow_virtual_network_access: Whether the VMs in the local virtual network space would + be able to access the VMs in remote virtual network space. + :type allow_virtual_network_access: bool + :param allow_forwarded_traffic: Whether the forwarded traffic from the VMs in the local virtual + network will be allowed/disallowed in remote virtual network. + :type allow_forwarded_traffic: bool + :param allow_gateway_transit: If gateway links can be used in remote virtual networking to link + to this virtual network. + :type allow_gateway_transit: bool + :param use_remote_gateways: If remote gateways can be used on this virtual network. If the flag + is set to true, and allowGatewayTransit on remote peering is also true, virtual network will + use gateways of remote virtual network for transit. Only one peering can have this flag set to + true. This flag cannot be set if virtual network already has a gateway. + :type use_remote_gateways: bool + :param remote_virtual_network: The reference to the remote virtual network. The remote virtual + network can be in the same or different region (preview). See here to register for the preview + and learn more + (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering). + :type remote_virtual_network: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param remote_address_space: The reference to the address space peered with the remote virtual + network. + :type remote_address_space: ~azure.mgmt.network.v2021_02_01.models.AddressSpace + :param remote_virtual_network_address_space: The reference to the current address space of the + remote virtual network. + :type remote_virtual_network_address_space: ~azure.mgmt.network.v2021_02_01.models.AddressSpace + :param remote_bgp_communities: The reference to the remote virtual network's Bgp Communities. + :type remote_bgp_communities: + ~azure.mgmt.network.v2021_02_01.models.VirtualNetworkBgpCommunities + :param peering_state: The status of the virtual network peering. Possible values include: + "Initiated", "Connected", "Disconnected". + :type peering_state: str or ~azure.mgmt.network.v2021_02_01.models.VirtualNetworkPeeringState + :param peering_sync_level: The peering sync status of the virtual network peering. Possible + values include: "FullyInSync", "RemoteNotInSync", "LocalNotInSync", "LocalAndRemoteNotInSync". + :type peering_sync_level: str or + ~azure.mgmt.network.v2021_02_01.models.VirtualNetworkPeeringLevel + :ivar provisioning_state: The provisioning state of the virtual network peering resource. + Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :param do_not_verify_remote_gateways: If we need to verify the provisioning state of the remote + gateway. + :type do_not_verify_remote_gateways: bool + :ivar resource_guid: The resourceGuid property of the Virtual Network peering resource. + :vartype resource_guid: str + """ + + _validation = { + 'etag': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'resource_guid': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'allow_virtual_network_access': {'key': 'properties.allowVirtualNetworkAccess', 'type': 'bool'}, + 'allow_forwarded_traffic': {'key': 'properties.allowForwardedTraffic', 'type': 'bool'}, + 'allow_gateway_transit': {'key': 'properties.allowGatewayTransit', 'type': 'bool'}, + 'use_remote_gateways': {'key': 'properties.useRemoteGateways', 'type': 'bool'}, + 'remote_virtual_network': {'key': 'properties.remoteVirtualNetwork', 'type': 'SubResource'}, + 'remote_address_space': {'key': 'properties.remoteAddressSpace', 'type': 'AddressSpace'}, + 'remote_virtual_network_address_space': {'key': 'properties.remoteVirtualNetworkAddressSpace', 'type': 'AddressSpace'}, + 'remote_bgp_communities': {'key': 'properties.remoteBgpCommunities', 'type': 'VirtualNetworkBgpCommunities'}, + 'peering_state': {'key': 'properties.peeringState', 'type': 'str'}, + 'peering_sync_level': {'key': 'properties.peeringSyncLevel', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'do_not_verify_remote_gateways': {'key': 'properties.doNotVerifyRemoteGateways', 'type': 'bool'}, + 'resource_guid': {'key': 'properties.resourceGuid', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + name: Optional[str] = None, + type: Optional[str] = None, + allow_virtual_network_access: Optional[bool] = None, + allow_forwarded_traffic: Optional[bool] = None, + allow_gateway_transit: Optional[bool] = None, + use_remote_gateways: Optional[bool] = None, + remote_virtual_network: Optional["SubResource"] = None, + remote_address_space: Optional["AddressSpace"] = None, + remote_virtual_network_address_space: Optional["AddressSpace"] = None, + remote_bgp_communities: Optional["VirtualNetworkBgpCommunities"] = None, + peering_state: Optional[Union[str, "VirtualNetworkPeeringState"]] = None, + peering_sync_level: Optional[Union[str, "VirtualNetworkPeeringLevel"]] = None, + do_not_verify_remote_gateways: Optional[bool] = None, + **kwargs + ): + super(VirtualNetworkPeering, self).__init__(id=id, **kwargs) + self.name = name + self.etag = None + self.type = type + self.allow_virtual_network_access = allow_virtual_network_access + self.allow_forwarded_traffic = allow_forwarded_traffic + self.allow_gateway_transit = allow_gateway_transit + self.use_remote_gateways = use_remote_gateways + self.remote_virtual_network = remote_virtual_network + self.remote_address_space = remote_address_space + self.remote_virtual_network_address_space = remote_virtual_network_address_space + self.remote_bgp_communities = remote_bgp_communities + self.peering_state = peering_state + self.peering_sync_level = peering_sync_level + self.provisioning_state = None + self.do_not_verify_remote_gateways = do_not_verify_remote_gateways + self.resource_guid = None + + +class VirtualNetworkPeeringListResult(msrest.serialization.Model): + """Response for ListSubnets API service call. Retrieves all subnets that belong to a virtual network. + + :param value: The peerings in a virtual network. + :type value: list[~azure.mgmt.network.v2021_02_01.models.VirtualNetworkPeering] + :param next_link: The URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[VirtualNetworkPeering]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["VirtualNetworkPeering"]] = None, + next_link: Optional[str] = None, + **kwargs + ): + super(VirtualNetworkPeeringListResult, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class VirtualNetworkTap(Resource): + """Virtual Network Tap resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar network_interface_tap_configurations: Specifies the list of resource IDs for the network + interface IP configuration that needs to be tapped. + :vartype network_interface_tap_configurations: + list[~azure.mgmt.network.v2021_02_01.models.NetworkInterfaceTapConfiguration] + :ivar resource_guid: The resource GUID property of the virtual network tap resource. + :vartype resource_guid: str + :ivar provisioning_state: The provisioning state of the virtual network tap resource. Possible + values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :param destination_network_interface_ip_configuration: The reference to the private IP Address + of the collector nic that will receive the tap. + :type destination_network_interface_ip_configuration: + ~azure.mgmt.network.v2021_02_01.models.NetworkInterfaceIPConfiguration + :param destination_load_balancer_front_end_ip_configuration: The reference to the private IP + address on the internal Load Balancer that will receive the tap. + :type destination_load_balancer_front_end_ip_configuration: + ~azure.mgmt.network.v2021_02_01.models.FrontendIPConfiguration + :param destination_port: The VXLAN destination port that will receive the tapped traffic. + :type destination_port: int + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'network_interface_tap_configurations': {'readonly': True}, + 'resource_guid': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'network_interface_tap_configurations': {'key': 'properties.networkInterfaceTapConfigurations', 'type': '[NetworkInterfaceTapConfiguration]'}, + 'resource_guid': {'key': 'properties.resourceGuid', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'destination_network_interface_ip_configuration': {'key': 'properties.destinationNetworkInterfaceIPConfiguration', 'type': 'NetworkInterfaceIPConfiguration'}, + 'destination_load_balancer_front_end_ip_configuration': {'key': 'properties.destinationLoadBalancerFrontEndIPConfiguration', 'type': 'FrontendIPConfiguration'}, + 'destination_port': {'key': 'properties.destinationPort', 'type': 'int'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + location: Optional[str] = None, + tags: Optional[Dict[str, str]] = None, + destination_network_interface_ip_configuration: Optional["NetworkInterfaceIPConfiguration"] = None, + destination_load_balancer_front_end_ip_configuration: Optional["FrontendIPConfiguration"] = None, + destination_port: Optional[int] = None, + **kwargs + ): + super(VirtualNetworkTap, self).__init__(id=id, location=location, tags=tags, **kwargs) + self.etag = None + self.network_interface_tap_configurations = None + self.resource_guid = None + self.provisioning_state = None + self.destination_network_interface_ip_configuration = destination_network_interface_ip_configuration + self.destination_load_balancer_front_end_ip_configuration = destination_load_balancer_front_end_ip_configuration + self.destination_port = destination_port + + +class VirtualNetworkTapListResult(msrest.serialization.Model): + """Response for ListVirtualNetworkTap API service call. + + :param value: A list of VirtualNetworkTaps in a resource group. + :type value: list[~azure.mgmt.network.v2021_02_01.models.VirtualNetworkTap] + :param next_link: The URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[VirtualNetworkTap]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["VirtualNetworkTap"]] = None, + next_link: Optional[str] = None, + **kwargs + ): + super(VirtualNetworkTapListResult, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class VirtualNetworkUsage(msrest.serialization.Model): + """Usage details for subnet. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar current_value: Indicates number of IPs used from the Subnet. + :vartype current_value: float + :ivar id: Subnet identifier. + :vartype id: str + :ivar limit: Indicates the size of the subnet. + :vartype limit: float + :ivar name: The name containing common and localized value for usage. + :vartype name: ~azure.mgmt.network.v2021_02_01.models.VirtualNetworkUsageName + :ivar unit: Usage units. Returns 'Count'. + :vartype unit: str + """ + + _validation = { + 'current_value': {'readonly': True}, + 'id': {'readonly': True}, + 'limit': {'readonly': True}, + 'name': {'readonly': True}, + 'unit': {'readonly': True}, + } + + _attribute_map = { + 'current_value': {'key': 'currentValue', 'type': 'float'}, + 'id': {'key': 'id', 'type': 'str'}, + 'limit': {'key': 'limit', 'type': 'float'}, + 'name': {'key': 'name', 'type': 'VirtualNetworkUsageName'}, + 'unit': {'key': 'unit', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(VirtualNetworkUsage, self).__init__(**kwargs) + self.current_value = None + self.id = None + self.limit = None + self.name = None + self.unit = None + + +class VirtualNetworkUsageName(msrest.serialization.Model): + """Usage strings container. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar localized_value: Localized subnet size and usage string. + :vartype localized_value: str + :ivar value: Subnet size and usage string. + :vartype value: str + """ + + _validation = { + 'localized_value': {'readonly': True}, + 'value': {'readonly': True}, + } + + _attribute_map = { + 'localized_value': {'key': 'localizedValue', 'type': 'str'}, + 'value': {'key': 'value', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(VirtualNetworkUsageName, self).__init__(**kwargs) + self.localized_value = None + self.value = None + + +class VirtualRouter(Resource): + """VirtualRouter Resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param virtual_router_asn: VirtualRouter ASN. + :type virtual_router_asn: long + :param virtual_router_ips: VirtualRouter IPs. + :type virtual_router_ips: list[str] + :param hosted_subnet: The Subnet on which VirtualRouter is hosted. + :type hosted_subnet: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param hosted_gateway: The Gateway on which VirtualRouter is hosted. + :type hosted_gateway: ~azure.mgmt.network.v2021_02_01.models.SubResource + :ivar peerings: List of references to VirtualRouterPeerings. + :vartype peerings: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + :ivar provisioning_state: The provisioning state of the resource. Possible values include: + "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'virtual_router_asn': {'maximum': 4294967295, 'minimum': 0}, + 'peerings': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'virtual_router_asn': {'key': 'properties.virtualRouterAsn', 'type': 'long'}, + 'virtual_router_ips': {'key': 'properties.virtualRouterIps', 'type': '[str]'}, + 'hosted_subnet': {'key': 'properties.hostedSubnet', 'type': 'SubResource'}, + 'hosted_gateway': {'key': 'properties.hostedGateway', 'type': 'SubResource'}, + 'peerings': {'key': 'properties.peerings', 'type': '[SubResource]'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + location: Optional[str] = None, + tags: Optional[Dict[str, str]] = None, + virtual_router_asn: Optional[int] = None, + virtual_router_ips: Optional[List[str]] = None, + hosted_subnet: Optional["SubResource"] = None, + hosted_gateway: Optional["SubResource"] = None, + **kwargs + ): + super(VirtualRouter, self).__init__(id=id, location=location, tags=tags, **kwargs) + self.etag = None + self.virtual_router_asn = virtual_router_asn + self.virtual_router_ips = virtual_router_ips + self.hosted_subnet = hosted_subnet + self.hosted_gateway = hosted_gateway + self.peerings = None + self.provisioning_state = None + + +class VirtualRouterListResult(msrest.serialization.Model): + """Response for ListVirtualRouters API service call. + + :param value: List of Virtual Routers. + :type value: list[~azure.mgmt.network.v2021_02_01.models.VirtualRouter] + :param next_link: URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[VirtualRouter]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["VirtualRouter"]] = None, + next_link: Optional[str] = None, + **kwargs + ): + super(VirtualRouterListResult, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class VirtualRouterPeering(SubResource): + """Virtual Router Peering resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: Name of the virtual router peering that is unique within a virtual router. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Peering type. + :vartype type: str + :param peer_asn: Peer ASN. + :type peer_asn: long + :param peer_ip: Peer IP. + :type peer_ip: str + :ivar provisioning_state: The provisioning state of the resource. Possible values include: + "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'peer_asn': {'maximum': 4294967295, 'minimum': 0}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'peer_asn': {'key': 'properties.peerAsn', 'type': 'long'}, + 'peer_ip': {'key': 'properties.peerIp', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + name: Optional[str] = None, + peer_asn: Optional[int] = None, + peer_ip: Optional[str] = None, + **kwargs + ): + super(VirtualRouterPeering, self).__init__(id=id, **kwargs) + self.name = name + self.etag = None + self.type = None + self.peer_asn = peer_asn + self.peer_ip = peer_ip + self.provisioning_state = None + + +class VirtualRouterPeeringListResult(msrest.serialization.Model): + """Response for ListVirtualRouterPeerings API service call. + + :param value: List of VirtualRouterPeerings in a VirtualRouter. + :type value: list[~azure.mgmt.network.v2021_02_01.models.VirtualRouterPeering] + :param next_link: URL to get the next set of results. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[VirtualRouterPeering]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["VirtualRouterPeering"]] = None, + next_link: Optional[str] = None, + **kwargs + ): + super(VirtualRouterPeeringListResult, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class VirtualWAN(Resource): + """VirtualWAN Resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param disable_vpn_encryption: Vpn encryption to be disabled or not. + :type disable_vpn_encryption: bool + :ivar virtual_hubs: List of VirtualHubs in the VirtualWAN. + :vartype virtual_hubs: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + :ivar vpn_sites: List of VpnSites in the VirtualWAN. + :vartype vpn_sites: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + :param allow_branch_to_branch_traffic: True if branch to branch traffic is allowed. + :type allow_branch_to_branch_traffic: bool + :param allow_vnet_to_vnet_traffic: True if Vnet to Vnet traffic is allowed. + :type allow_vnet_to_vnet_traffic: bool + :ivar office365_local_breakout_category: The office local breakout category. Possible values + include: "Optimize", "OptimizeAndAllow", "All", "None". + :vartype office365_local_breakout_category: str or + ~azure.mgmt.network.v2021_02_01.models.OfficeTrafficCategory + :ivar provisioning_state: The provisioning state of the virtual WAN resource. Possible values + include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :param type_properties_type: The type of the VirtualWAN. + :type type_properties_type: str + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'virtual_hubs': {'readonly': True}, + 'vpn_sites': {'readonly': True}, + 'office365_local_breakout_category': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'disable_vpn_encryption': {'key': 'properties.disableVpnEncryption', 'type': 'bool'}, + 'virtual_hubs': {'key': 'properties.virtualHubs', 'type': '[SubResource]'}, + 'vpn_sites': {'key': 'properties.vpnSites', 'type': '[SubResource]'}, + 'allow_branch_to_branch_traffic': {'key': 'properties.allowBranchToBranchTraffic', 'type': 'bool'}, + 'allow_vnet_to_vnet_traffic': {'key': 'properties.allowVnetToVnetTraffic', 'type': 'bool'}, + 'office365_local_breakout_category': {'key': 'properties.office365LocalBreakoutCategory', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'type_properties_type': {'key': 'properties.type', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + location: Optional[str] = None, + tags: Optional[Dict[str, str]] = None, + disable_vpn_encryption: Optional[bool] = None, + allow_branch_to_branch_traffic: Optional[bool] = None, + allow_vnet_to_vnet_traffic: Optional[bool] = None, + type_properties_type: Optional[str] = None, + **kwargs + ): + super(VirtualWAN, self).__init__(id=id, location=location, tags=tags, **kwargs) + self.etag = None + self.disable_vpn_encryption = disable_vpn_encryption + self.virtual_hubs = None + self.vpn_sites = None + self.allow_branch_to_branch_traffic = allow_branch_to_branch_traffic + self.allow_vnet_to_vnet_traffic = allow_vnet_to_vnet_traffic + self.office365_local_breakout_category = None + self.provisioning_state = None + self.type_properties_type = type_properties_type + + +class VirtualWanSecurityProvider(msrest.serialization.Model): + """Collection of SecurityProviders. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param name: Name of the security provider. + :type name: str + :param url: Url of the security provider. + :type url: str + :ivar type: Name of the security provider. Possible values include: "External", "Native". + :vartype type: str or ~azure.mgmt.network.v2021_02_01.models.VirtualWanSecurityProviderType + """ + + _validation = { + 'type': {'readonly': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'url': {'key': 'url', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__( + self, + *, + name: Optional[str] = None, + url: Optional[str] = None, + **kwargs + ): + super(VirtualWanSecurityProvider, self).__init__(**kwargs) + self.name = name + self.url = url + self.type = None + + +class VirtualWanSecurityProviders(msrest.serialization.Model): + """Collection of SecurityProviders. + + :param supported_providers: List of VirtualWAN security providers. + :type supported_providers: + list[~azure.mgmt.network.v2021_02_01.models.VirtualWanSecurityProvider] + """ + + _attribute_map = { + 'supported_providers': {'key': 'supportedProviders', 'type': '[VirtualWanSecurityProvider]'}, + } + + def __init__( + self, + *, + supported_providers: Optional[List["VirtualWanSecurityProvider"]] = None, + **kwargs + ): + super(VirtualWanSecurityProviders, self).__init__(**kwargs) + self.supported_providers = supported_providers + + +class VirtualWanVpnProfileParameters(msrest.serialization.Model): + """Virtual Wan Vpn profile parameters Vpn profile generation. + + :param vpn_server_configuration_resource_id: VpnServerConfiguration partial resource uri with + which VirtualWan is associated to. + :type vpn_server_configuration_resource_id: str + :param authentication_method: VPN client authentication method. Possible values include: + "EAPTLS", "EAPMSCHAPv2". + :type authentication_method: str or ~azure.mgmt.network.v2021_02_01.models.AuthenticationMethod + """ + + _attribute_map = { + 'vpn_server_configuration_resource_id': {'key': 'vpnServerConfigurationResourceId', 'type': 'str'}, + 'authentication_method': {'key': 'authenticationMethod', 'type': 'str'}, + } + + def __init__( + self, + *, + vpn_server_configuration_resource_id: Optional[str] = None, + authentication_method: Optional[Union[str, "AuthenticationMethod"]] = None, + **kwargs + ): + super(VirtualWanVpnProfileParameters, self).__init__(**kwargs) + self.vpn_server_configuration_resource_id = vpn_server_configuration_resource_id + self.authentication_method = authentication_method + + +class VM(Resource): + """Describes a Virtual Machine. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + location: Optional[str] = None, + tags: Optional[Dict[str, str]] = None, + **kwargs + ): + super(VM, self).__init__(id=id, location=location, tags=tags, **kwargs) + + +class VnetRoute(msrest.serialization.Model): + """List of routes that control routing from VirtualHub into a virtual network connection. + + :param static_routes: List of all Static Routes. + :type static_routes: list[~azure.mgmt.network.v2021_02_01.models.StaticRoute] + """ + + _attribute_map = { + 'static_routes': {'key': 'staticRoutes', 'type': '[StaticRoute]'}, + } + + def __init__( + self, + *, + static_routes: Optional[List["StaticRoute"]] = None, + **kwargs + ): + super(VnetRoute, self).__init__(**kwargs) + self.static_routes = static_routes + + +class VpnClientConfiguration(msrest.serialization.Model): + """VpnClientConfiguration for P2S client. + + :param vpn_client_address_pool: The reference to the address space resource which represents + Address space for P2S VpnClient. + :type vpn_client_address_pool: ~azure.mgmt.network.v2021_02_01.models.AddressSpace + :param vpn_client_root_certificates: VpnClientRootCertificate for virtual network gateway. + :type vpn_client_root_certificates: + list[~azure.mgmt.network.v2021_02_01.models.VpnClientRootCertificate] + :param vpn_client_revoked_certificates: VpnClientRevokedCertificate for Virtual network + gateway. + :type vpn_client_revoked_certificates: + list[~azure.mgmt.network.v2021_02_01.models.VpnClientRevokedCertificate] + :param vpn_client_protocols: VpnClientProtocols for Virtual network gateway. + :type vpn_client_protocols: list[str or + ~azure.mgmt.network.v2021_02_01.models.VpnClientProtocol] + :param vpn_authentication_types: VPN authentication types for the virtual network gateway.. + :type vpn_authentication_types: list[str or + ~azure.mgmt.network.v2021_02_01.models.VpnAuthenticationType] + :param vpn_client_ipsec_policies: VpnClientIpsecPolicies for virtual network gateway P2S + client. + :type vpn_client_ipsec_policies: list[~azure.mgmt.network.v2021_02_01.models.IpsecPolicy] + :param radius_server_address: The radius server address property of the VirtualNetworkGateway + resource for vpn client connection. + :type radius_server_address: str + :param radius_server_secret: The radius secret property of the VirtualNetworkGateway resource + for vpn client connection. + :type radius_server_secret: str + :param radius_servers: The radiusServers property for multiple radius server configuration. + :type radius_servers: list[~azure.mgmt.network.v2021_02_01.models.RadiusServer] + :param aad_tenant: The AADTenant property of the VirtualNetworkGateway resource for vpn client + connection used for AAD authentication. + :type aad_tenant: str + :param aad_audience: The AADAudience property of the VirtualNetworkGateway resource for vpn + client connection used for AAD authentication. + :type aad_audience: str + :param aad_issuer: The AADIssuer property of the VirtualNetworkGateway resource for vpn client + connection used for AAD authentication. + :type aad_issuer: str + """ + + _attribute_map = { + 'vpn_client_address_pool': {'key': 'vpnClientAddressPool', 'type': 'AddressSpace'}, + 'vpn_client_root_certificates': {'key': 'vpnClientRootCertificates', 'type': '[VpnClientRootCertificate]'}, + 'vpn_client_revoked_certificates': {'key': 'vpnClientRevokedCertificates', 'type': '[VpnClientRevokedCertificate]'}, + 'vpn_client_protocols': {'key': 'vpnClientProtocols', 'type': '[str]'}, + 'vpn_authentication_types': {'key': 'vpnAuthenticationTypes', 'type': '[str]'}, + 'vpn_client_ipsec_policies': {'key': 'vpnClientIpsecPolicies', 'type': '[IpsecPolicy]'}, + 'radius_server_address': {'key': 'radiusServerAddress', 'type': 'str'}, + 'radius_server_secret': {'key': 'radiusServerSecret', 'type': 'str'}, + 'radius_servers': {'key': 'radiusServers', 'type': '[RadiusServer]'}, + 'aad_tenant': {'key': 'aadTenant', 'type': 'str'}, + 'aad_audience': {'key': 'aadAudience', 'type': 'str'}, + 'aad_issuer': {'key': 'aadIssuer', 'type': 'str'}, + } + + def __init__( + self, + *, + vpn_client_address_pool: Optional["AddressSpace"] = None, + vpn_client_root_certificates: Optional[List["VpnClientRootCertificate"]] = None, + vpn_client_revoked_certificates: Optional[List["VpnClientRevokedCertificate"]] = None, + vpn_client_protocols: Optional[List[Union[str, "VpnClientProtocol"]]] = None, + vpn_authentication_types: Optional[List[Union[str, "VpnAuthenticationType"]]] = None, + vpn_client_ipsec_policies: Optional[List["IpsecPolicy"]] = None, + radius_server_address: Optional[str] = None, + radius_server_secret: Optional[str] = None, + radius_servers: Optional[List["RadiusServer"]] = None, + aad_tenant: Optional[str] = None, + aad_audience: Optional[str] = None, + aad_issuer: Optional[str] = None, + **kwargs + ): + super(VpnClientConfiguration, self).__init__(**kwargs) + self.vpn_client_address_pool = vpn_client_address_pool + self.vpn_client_root_certificates = vpn_client_root_certificates + self.vpn_client_revoked_certificates = vpn_client_revoked_certificates + self.vpn_client_protocols = vpn_client_protocols + self.vpn_authentication_types = vpn_authentication_types + self.vpn_client_ipsec_policies = vpn_client_ipsec_policies + self.radius_server_address = radius_server_address + self.radius_server_secret = radius_server_secret + self.radius_servers = radius_servers + self.aad_tenant = aad_tenant + self.aad_audience = aad_audience + self.aad_issuer = aad_issuer + + +class VpnClientConnectionHealth(msrest.serialization.Model): + """VpnClientConnectionHealth properties. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar total_ingress_bytes_transferred: Total of the Ingress Bytes Transferred in this P2S Vpn + connection. + :vartype total_ingress_bytes_transferred: long + :ivar total_egress_bytes_transferred: Total of the Egress Bytes Transferred in this connection. + :vartype total_egress_bytes_transferred: long + :param vpn_client_connections_count: The total of p2s vpn clients connected at this time to + this P2SVpnGateway. + :type vpn_client_connections_count: int + :param allocated_ip_addresses: List of allocated ip addresses to the connected p2s vpn clients. + :type allocated_ip_addresses: list[str] + """ + + _validation = { + 'total_ingress_bytes_transferred': {'readonly': True}, + 'total_egress_bytes_transferred': {'readonly': True}, + } + + _attribute_map = { + 'total_ingress_bytes_transferred': {'key': 'totalIngressBytesTransferred', 'type': 'long'}, + 'total_egress_bytes_transferred': {'key': 'totalEgressBytesTransferred', 'type': 'long'}, + 'vpn_client_connections_count': {'key': 'vpnClientConnectionsCount', 'type': 'int'}, + 'allocated_ip_addresses': {'key': 'allocatedIpAddresses', 'type': '[str]'}, + } + + def __init__( + self, + *, + vpn_client_connections_count: Optional[int] = None, + allocated_ip_addresses: Optional[List[str]] = None, + **kwargs + ): + super(VpnClientConnectionHealth, self).__init__(**kwargs) + self.total_ingress_bytes_transferred = None + self.total_egress_bytes_transferred = None + self.vpn_client_connections_count = vpn_client_connections_count + self.allocated_ip_addresses = allocated_ip_addresses + + +class VpnClientConnectionHealthDetail(msrest.serialization.Model): + """VPN client connection health detail. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar vpn_connection_id: The vpn client Id. + :vartype vpn_connection_id: str + :ivar vpn_connection_duration: The duration time of a connected vpn client. + :vartype vpn_connection_duration: long + :ivar vpn_connection_time: The start time of a connected vpn client. + :vartype vpn_connection_time: str + :ivar public_ip_address: The public Ip of a connected vpn client. + :vartype public_ip_address: str + :ivar private_ip_address: The assigned private Ip of a connected vpn client. + :vartype private_ip_address: str + :ivar vpn_user_name: The user name of a connected vpn client. + :vartype vpn_user_name: str + :ivar max_bandwidth: The max band width. + :vartype max_bandwidth: long + :ivar egress_packets_transferred: The egress packets per second. + :vartype egress_packets_transferred: long + :ivar egress_bytes_transferred: The egress bytes per second. + :vartype egress_bytes_transferred: long + :ivar ingress_packets_transferred: The ingress packets per second. + :vartype ingress_packets_transferred: long + :ivar ingress_bytes_transferred: The ingress bytes per second. + :vartype ingress_bytes_transferred: long + :ivar max_packets_per_second: The max packets transferred per second. + :vartype max_packets_per_second: long + """ + + _validation = { + 'vpn_connection_id': {'readonly': True}, + 'vpn_connection_duration': {'readonly': True}, + 'vpn_connection_time': {'readonly': True}, + 'public_ip_address': {'readonly': True}, + 'private_ip_address': {'readonly': True}, + 'vpn_user_name': {'readonly': True}, + 'max_bandwidth': {'readonly': True}, + 'egress_packets_transferred': {'readonly': True}, + 'egress_bytes_transferred': {'readonly': True}, + 'ingress_packets_transferred': {'readonly': True}, + 'ingress_bytes_transferred': {'readonly': True}, + 'max_packets_per_second': {'readonly': True}, + } + + _attribute_map = { + 'vpn_connection_id': {'key': 'vpnConnectionId', 'type': 'str'}, + 'vpn_connection_duration': {'key': 'vpnConnectionDuration', 'type': 'long'}, + 'vpn_connection_time': {'key': 'vpnConnectionTime', 'type': 'str'}, + 'public_ip_address': {'key': 'publicIpAddress', 'type': 'str'}, + 'private_ip_address': {'key': 'privateIpAddress', 'type': 'str'}, + 'vpn_user_name': {'key': 'vpnUserName', 'type': 'str'}, + 'max_bandwidth': {'key': 'maxBandwidth', 'type': 'long'}, + 'egress_packets_transferred': {'key': 'egressPacketsTransferred', 'type': 'long'}, + 'egress_bytes_transferred': {'key': 'egressBytesTransferred', 'type': 'long'}, + 'ingress_packets_transferred': {'key': 'ingressPacketsTransferred', 'type': 'long'}, + 'ingress_bytes_transferred': {'key': 'ingressBytesTransferred', 'type': 'long'}, + 'max_packets_per_second': {'key': 'maxPacketsPerSecond', 'type': 'long'}, + } + + def __init__( + self, + **kwargs + ): + super(VpnClientConnectionHealthDetail, self).__init__(**kwargs) + self.vpn_connection_id = None + self.vpn_connection_duration = None + self.vpn_connection_time = None + self.public_ip_address = None + self.private_ip_address = None + self.vpn_user_name = None + self.max_bandwidth = None + self.egress_packets_transferred = None + self.egress_bytes_transferred = None + self.ingress_packets_transferred = None + self.ingress_bytes_transferred = None + self.max_packets_per_second = None + + +class VpnClientConnectionHealthDetailListResult(msrest.serialization.Model): + """List of virtual network gateway vpn client connection health. + + :param value: List of vpn client connection health. + :type value: list[~azure.mgmt.network.v2021_02_01.models.VpnClientConnectionHealthDetail] + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[VpnClientConnectionHealthDetail]'}, + } + + def __init__( + self, + *, + value: Optional[List["VpnClientConnectionHealthDetail"]] = None, + **kwargs + ): + super(VpnClientConnectionHealthDetailListResult, self).__init__(**kwargs) + self.value = value + + +class VpnClientIPsecParameters(msrest.serialization.Model): + """An IPSec parameters for a virtual network gateway P2S connection. + + All required parameters must be populated in order to send to Azure. + + :param sa_life_time_seconds: Required. The IPSec Security Association (also called Quick Mode + or Phase 2 SA) lifetime in seconds for P2S client. + :type sa_life_time_seconds: int + :param sa_data_size_kilobytes: Required. The IPSec Security Association (also called Quick Mode + or Phase 2 SA) payload size in KB for P2S client.. + :type sa_data_size_kilobytes: int + :param ipsec_encryption: Required. The IPSec encryption algorithm (IKE phase 1). Possible + values include: "None", "DES", "DES3", "AES128", "AES192", "AES256", "GCMAES128", "GCMAES192", + "GCMAES256". + :type ipsec_encryption: str or ~azure.mgmt.network.v2021_02_01.models.IpsecEncryption + :param ipsec_integrity: Required. The IPSec integrity algorithm (IKE phase 1). Possible values + include: "MD5", "SHA1", "SHA256", "GCMAES128", "GCMAES192", "GCMAES256". + :type ipsec_integrity: str or ~azure.mgmt.network.v2021_02_01.models.IpsecIntegrity + :param ike_encryption: Required. The IKE encryption algorithm (IKE phase 2). Possible values + include: "DES", "DES3", "AES128", "AES192", "AES256", "GCMAES256", "GCMAES128". + :type ike_encryption: str or ~azure.mgmt.network.v2021_02_01.models.IkeEncryption + :param ike_integrity: Required. The IKE integrity algorithm (IKE phase 2). Possible values + include: "MD5", "SHA1", "SHA256", "SHA384", "GCMAES256", "GCMAES128". + :type ike_integrity: str or ~azure.mgmt.network.v2021_02_01.models.IkeIntegrity + :param dh_group: Required. The DH Group used in IKE Phase 1 for initial SA. Possible values + include: "None", "DHGroup1", "DHGroup2", "DHGroup14", "DHGroup2048", "ECP256", "ECP384", + "DHGroup24". + :type dh_group: str or ~azure.mgmt.network.v2021_02_01.models.DhGroup + :param pfs_group: Required. The Pfs Group used in IKE Phase 2 for new child SA. Possible values + include: "None", "PFS1", "PFS2", "PFS2048", "ECP256", "ECP384", "PFS24", "PFS14", "PFSMM". + :type pfs_group: str or ~azure.mgmt.network.v2021_02_01.models.PfsGroup + """ + + _validation = { + 'sa_life_time_seconds': {'required': True}, + 'sa_data_size_kilobytes': {'required': True}, + 'ipsec_encryption': {'required': True}, + 'ipsec_integrity': {'required': True}, + 'ike_encryption': {'required': True}, + 'ike_integrity': {'required': True}, + 'dh_group': {'required': True}, + 'pfs_group': {'required': True}, + } + + _attribute_map = { + 'sa_life_time_seconds': {'key': 'saLifeTimeSeconds', 'type': 'int'}, + 'sa_data_size_kilobytes': {'key': 'saDataSizeKilobytes', 'type': 'int'}, + 'ipsec_encryption': {'key': 'ipsecEncryption', 'type': 'str'}, + 'ipsec_integrity': {'key': 'ipsecIntegrity', 'type': 'str'}, + 'ike_encryption': {'key': 'ikeEncryption', 'type': 'str'}, + 'ike_integrity': {'key': 'ikeIntegrity', 'type': 'str'}, + 'dh_group': {'key': 'dhGroup', 'type': 'str'}, + 'pfs_group': {'key': 'pfsGroup', 'type': 'str'}, + } + + def __init__( + self, + *, + sa_life_time_seconds: int, + sa_data_size_kilobytes: int, + ipsec_encryption: Union[str, "IpsecEncryption"], + ipsec_integrity: Union[str, "IpsecIntegrity"], + ike_encryption: Union[str, "IkeEncryption"], + ike_integrity: Union[str, "IkeIntegrity"], + dh_group: Union[str, "DhGroup"], + pfs_group: Union[str, "PfsGroup"], + **kwargs + ): + super(VpnClientIPsecParameters, self).__init__(**kwargs) + self.sa_life_time_seconds = sa_life_time_seconds + self.sa_data_size_kilobytes = sa_data_size_kilobytes + self.ipsec_encryption = ipsec_encryption + self.ipsec_integrity = ipsec_integrity + self.ike_encryption = ike_encryption + self.ike_integrity = ike_integrity + self.dh_group = dh_group + self.pfs_group = pfs_group + + +class VpnClientParameters(msrest.serialization.Model): + """Vpn Client Parameters for package generation. + + :param processor_architecture: VPN client Processor Architecture. Possible values include: + "Amd64", "X86". + :type processor_architecture: str or + ~azure.mgmt.network.v2021_02_01.models.ProcessorArchitecture + :param authentication_method: VPN client authentication method. Possible values include: + "EAPTLS", "EAPMSCHAPv2". + :type authentication_method: str or ~azure.mgmt.network.v2021_02_01.models.AuthenticationMethod + :param radius_server_auth_certificate: The public certificate data for the radius server + authentication certificate as a Base-64 encoded string. Required only if external radius + authentication has been configured with EAPTLS authentication. + :type radius_server_auth_certificate: str + :param client_root_certificates: A list of client root certificates public certificate data + encoded as Base-64 strings. Optional parameter for external radius based authentication with + EAPTLS. + :type client_root_certificates: list[str] + """ + + _attribute_map = { + 'processor_architecture': {'key': 'processorArchitecture', 'type': 'str'}, + 'authentication_method': {'key': 'authenticationMethod', 'type': 'str'}, + 'radius_server_auth_certificate': {'key': 'radiusServerAuthCertificate', 'type': 'str'}, + 'client_root_certificates': {'key': 'clientRootCertificates', 'type': '[str]'}, + } + + def __init__( + self, + *, + processor_architecture: Optional[Union[str, "ProcessorArchitecture"]] = None, + authentication_method: Optional[Union[str, "AuthenticationMethod"]] = None, + radius_server_auth_certificate: Optional[str] = None, + client_root_certificates: Optional[List[str]] = None, + **kwargs + ): + super(VpnClientParameters, self).__init__(**kwargs) + self.processor_architecture = processor_architecture + self.authentication_method = authentication_method + self.radius_server_auth_certificate = radius_server_auth_certificate + self.client_root_certificates = client_root_certificates + + +class VpnClientRevokedCertificate(SubResource): + """VPN client revoked certificate of virtual network gateway. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: The name of the resource that is unique within a resource group. This name can be + used to access the resource. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param thumbprint: The revoked VPN client certificate thumbprint. + :type thumbprint: str + :ivar provisioning_state: The provisioning state of the VPN client revoked certificate + resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'thumbprint': {'key': 'properties.thumbprint', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + name: Optional[str] = None, + thumbprint: Optional[str] = None, + **kwargs + ): + super(VpnClientRevokedCertificate, self).__init__(id=id, **kwargs) + self.name = name + self.etag = None + self.thumbprint = thumbprint + self.provisioning_state = None + + +class VpnClientRootCertificate(SubResource): + """VPN client root certificate of virtual network gateway. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param id: Resource ID. + :type id: str + :param name: The name of the resource that is unique within a resource group. This name can be + used to access the resource. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param public_cert_data: Required. The certificate public data. + :type public_cert_data: str + :ivar provisioning_state: The provisioning state of the VPN client root certificate resource. + Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'public_cert_data': {'required': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'public_cert_data': {'key': 'properties.publicCertData', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + *, + public_cert_data: str, + id: Optional[str] = None, + name: Optional[str] = None, + **kwargs + ): + super(VpnClientRootCertificate, self).__init__(id=id, **kwargs) + self.name = name + self.etag = None + self.public_cert_data = public_cert_data + self.provisioning_state = None + + +class VpnConnection(SubResource): + """VpnConnection Resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: The name of the resource that is unique within a resource group. This name can be + used to access the resource. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param remote_vpn_site: Id of the connected vpn site. + :type remote_vpn_site: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param routing_weight: Routing weight for vpn connection. + :type routing_weight: int + :param dpd_timeout_seconds: DPD timeout in seconds for vpn connection. + :type dpd_timeout_seconds: int + :ivar connection_status: The connection status. Possible values include: "Unknown", + "Connecting", "Connected", "NotConnected". + :vartype connection_status: str or ~azure.mgmt.network.v2021_02_01.models.VpnConnectionStatus + :param vpn_connection_protocol_type: Connection protocol used for this connection. Possible + values include: "IKEv2", "IKEv1". + :type vpn_connection_protocol_type: str or + ~azure.mgmt.network.v2021_02_01.models.VirtualNetworkGatewayConnectionProtocol + :ivar ingress_bytes_transferred: Ingress bytes transferred. + :vartype ingress_bytes_transferred: long + :ivar egress_bytes_transferred: Egress bytes transferred. + :vartype egress_bytes_transferred: long + :param connection_bandwidth: Expected bandwidth in MBPS. + :type connection_bandwidth: int + :param shared_key: SharedKey for the vpn connection. + :type shared_key: str + :param enable_bgp: EnableBgp flag. + :type enable_bgp: bool + :param use_policy_based_traffic_selectors: Enable policy-based traffic selectors. + :type use_policy_based_traffic_selectors: bool + :param ipsec_policies: The IPSec Policies to be considered by this connection. + :type ipsec_policies: list[~azure.mgmt.network.v2021_02_01.models.IpsecPolicy] + :param traffic_selector_policies: The Traffic Selector Policies to be considered by this + connection. + :type traffic_selector_policies: + list[~azure.mgmt.network.v2021_02_01.models.TrafficSelectorPolicy] + :param enable_rate_limiting: EnableBgp flag. + :type enable_rate_limiting: bool + :param enable_internet_security: Enable internet security. + :type enable_internet_security: bool + :param use_local_azure_ip_address: Use local azure ip to initiate connection. + :type use_local_azure_ip_address: bool + :ivar provisioning_state: The provisioning state of the VPN connection resource. Possible + values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :param vpn_link_connections: List of all vpn site link connections to the gateway. + :type vpn_link_connections: list[~azure.mgmt.network.v2021_02_01.models.VpnSiteLinkConnection] + :param routing_configuration: The Routing Configuration indicating the associated and + propagated route tables on this connection. + :type routing_configuration: ~azure.mgmt.network.v2021_02_01.models.RoutingConfiguration + """ + + _validation = { + 'etag': {'readonly': True}, + 'connection_status': {'readonly': True}, + 'ingress_bytes_transferred': {'readonly': True}, + 'egress_bytes_transferred': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'remote_vpn_site': {'key': 'properties.remoteVpnSite', 'type': 'SubResource'}, + 'routing_weight': {'key': 'properties.routingWeight', 'type': 'int'}, + 'dpd_timeout_seconds': {'key': 'properties.dpdTimeoutSeconds', 'type': 'int'}, + 'connection_status': {'key': 'properties.connectionStatus', 'type': 'str'}, + 'vpn_connection_protocol_type': {'key': 'properties.vpnConnectionProtocolType', 'type': 'str'}, + 'ingress_bytes_transferred': {'key': 'properties.ingressBytesTransferred', 'type': 'long'}, + 'egress_bytes_transferred': {'key': 'properties.egressBytesTransferred', 'type': 'long'}, + 'connection_bandwidth': {'key': 'properties.connectionBandwidth', 'type': 'int'}, + 'shared_key': {'key': 'properties.sharedKey', 'type': 'str'}, + 'enable_bgp': {'key': 'properties.enableBgp', 'type': 'bool'}, + 'use_policy_based_traffic_selectors': {'key': 'properties.usePolicyBasedTrafficSelectors', 'type': 'bool'}, + 'ipsec_policies': {'key': 'properties.ipsecPolicies', 'type': '[IpsecPolicy]'}, + 'traffic_selector_policies': {'key': 'properties.trafficSelectorPolicies', 'type': '[TrafficSelectorPolicy]'}, + 'enable_rate_limiting': {'key': 'properties.enableRateLimiting', 'type': 'bool'}, + 'enable_internet_security': {'key': 'properties.enableInternetSecurity', 'type': 'bool'}, + 'use_local_azure_ip_address': {'key': 'properties.useLocalAzureIpAddress', 'type': 'bool'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'vpn_link_connections': {'key': 'properties.vpnLinkConnections', 'type': '[VpnSiteLinkConnection]'}, + 'routing_configuration': {'key': 'properties.routingConfiguration', 'type': 'RoutingConfiguration'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + name: Optional[str] = None, + remote_vpn_site: Optional["SubResource"] = None, + routing_weight: Optional[int] = None, + dpd_timeout_seconds: Optional[int] = None, + vpn_connection_protocol_type: Optional[Union[str, "VirtualNetworkGatewayConnectionProtocol"]] = None, + connection_bandwidth: Optional[int] = None, + shared_key: Optional[str] = None, + enable_bgp: Optional[bool] = None, + use_policy_based_traffic_selectors: Optional[bool] = None, + ipsec_policies: Optional[List["IpsecPolicy"]] = None, + traffic_selector_policies: Optional[List["TrafficSelectorPolicy"]] = None, + enable_rate_limiting: Optional[bool] = None, + enable_internet_security: Optional[bool] = None, + use_local_azure_ip_address: Optional[bool] = None, + vpn_link_connections: Optional[List["VpnSiteLinkConnection"]] = None, + routing_configuration: Optional["RoutingConfiguration"] = None, + **kwargs + ): + super(VpnConnection, self).__init__(id=id, **kwargs) + self.name = name + self.etag = None + self.remote_vpn_site = remote_vpn_site + self.routing_weight = routing_weight + self.dpd_timeout_seconds = dpd_timeout_seconds + self.connection_status = None + self.vpn_connection_protocol_type = vpn_connection_protocol_type + self.ingress_bytes_transferred = None + self.egress_bytes_transferred = None + self.connection_bandwidth = connection_bandwidth + self.shared_key = shared_key + self.enable_bgp = enable_bgp + self.use_policy_based_traffic_selectors = use_policy_based_traffic_selectors + self.ipsec_policies = ipsec_policies + self.traffic_selector_policies = traffic_selector_policies + self.enable_rate_limiting = enable_rate_limiting + self.enable_internet_security = enable_internet_security + self.use_local_azure_ip_address = use_local_azure_ip_address + self.provisioning_state = None + self.vpn_link_connections = vpn_link_connections + self.routing_configuration = routing_configuration + + +class VpnConnectionPacketCaptureStartParameters(msrest.serialization.Model): + """Vpn Connection packet capture parameters supplied to start packet capture on gateway connection. + + :param filter_data: Start Packet capture parameters on vpn connection. + :type filter_data: str + :param link_connection_names: List of site link connection names. + :type link_connection_names: list[str] + """ + + _attribute_map = { + 'filter_data': {'key': 'filterData', 'type': 'str'}, + 'link_connection_names': {'key': 'linkConnectionNames', 'type': '[str]'}, + } + + def __init__( + self, + *, + filter_data: Optional[str] = None, + link_connection_names: Optional[List[str]] = None, + **kwargs + ): + super(VpnConnectionPacketCaptureStartParameters, self).__init__(**kwargs) + self.filter_data = filter_data + self.link_connection_names = link_connection_names + + +class VpnConnectionPacketCaptureStopParameters(msrest.serialization.Model): + """Vpn Connection packet capture parameters supplied to stop packet capture on gateway connection. + + :param sas_url: SAS url for packet capture on vpn connection. + :type sas_url: str + :param link_connection_names: List of site link connection names. + :type link_connection_names: list[str] + """ + + _attribute_map = { + 'sas_url': {'key': 'sasUrl', 'type': 'str'}, + 'link_connection_names': {'key': 'linkConnectionNames', 'type': '[str]'}, + } + + def __init__( + self, + *, + sas_url: Optional[str] = None, + link_connection_names: Optional[List[str]] = None, + **kwargs + ): + super(VpnConnectionPacketCaptureStopParameters, self).__init__(**kwargs) + self.sas_url = sas_url + self.link_connection_names = link_connection_names + + +class VpnDeviceScriptParameters(msrest.serialization.Model): + """Vpn device configuration script generation parameters. + + :param vendor: The vendor for the vpn device. + :type vendor: str + :param device_family: The device family for the vpn device. + :type device_family: str + :param firmware_version: The firmware version for the vpn device. + :type firmware_version: str + """ + + _attribute_map = { + 'vendor': {'key': 'vendor', 'type': 'str'}, + 'device_family': {'key': 'deviceFamily', 'type': 'str'}, + 'firmware_version': {'key': 'firmwareVersion', 'type': 'str'}, + } + + def __init__( + self, + *, + vendor: Optional[str] = None, + device_family: Optional[str] = None, + firmware_version: Optional[str] = None, + **kwargs + ): + super(VpnDeviceScriptParameters, self).__init__(**kwargs) + self.vendor = vendor + self.device_family = device_family + self.firmware_version = firmware_version + + +class VpnGateway(Resource): + """VpnGateway Resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param virtual_hub: The VirtualHub to which the gateway belongs. + :type virtual_hub: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param connections: List of all vpn connections to the gateway. + :type connections: list[~azure.mgmt.network.v2021_02_01.models.VpnConnection] + :param bgp_settings: Local network gateway's BGP speaker settings. + :type bgp_settings: ~azure.mgmt.network.v2021_02_01.models.BgpSettings + :ivar provisioning_state: The provisioning state of the VPN gateway resource. Possible values + include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :param vpn_gateway_scale_unit: The scale unit for this vpn gateway. + :type vpn_gateway_scale_unit: int + :ivar ip_configurations: List of all IPs configured on the gateway. + :vartype ip_configurations: + list[~azure.mgmt.network.v2021_02_01.models.VpnGatewayIpConfiguration] + :param is_routing_preference_internet: Enable Routing Preference property for the Public IP + Interface of the VpnGateway. + :type is_routing_preference_internet: bool + :param nat_rules: List of all the nat Rules associated with the gateway. + :type nat_rules: list[~azure.mgmt.network.v2021_02_01.models.VpnGatewayNatRule] + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'ip_configurations': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'virtual_hub': {'key': 'properties.virtualHub', 'type': 'SubResource'}, + 'connections': {'key': 'properties.connections', 'type': '[VpnConnection]'}, + 'bgp_settings': {'key': 'properties.bgpSettings', 'type': 'BgpSettings'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'vpn_gateway_scale_unit': {'key': 'properties.vpnGatewayScaleUnit', 'type': 'int'}, + 'ip_configurations': {'key': 'properties.ipConfigurations', 'type': '[VpnGatewayIpConfiguration]'}, + 'is_routing_preference_internet': {'key': 'properties.isRoutingPreferenceInternet', 'type': 'bool'}, + 'nat_rules': {'key': 'properties.natRules', 'type': '[VpnGatewayNatRule]'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + location: Optional[str] = None, + tags: Optional[Dict[str, str]] = None, + virtual_hub: Optional["SubResource"] = None, + connections: Optional[List["VpnConnection"]] = None, + bgp_settings: Optional["BgpSettings"] = None, + vpn_gateway_scale_unit: Optional[int] = None, + is_routing_preference_internet: Optional[bool] = None, + nat_rules: Optional[List["VpnGatewayNatRule"]] = None, + **kwargs + ): + super(VpnGateway, self).__init__(id=id, location=location, tags=tags, **kwargs) + self.etag = None + self.virtual_hub = virtual_hub + self.connections = connections + self.bgp_settings = bgp_settings + self.provisioning_state = None + self.vpn_gateway_scale_unit = vpn_gateway_scale_unit + self.ip_configurations = None + self.is_routing_preference_internet = is_routing_preference_internet + self.nat_rules = nat_rules + + +class VpnGatewayIpConfiguration(msrest.serialization.Model): + """IP Configuration of a VPN Gateway Resource. + + :param id: The identifier of the IP configuration for a VPN Gateway. + :type id: str + :param public_ip_address: The public IP address of this IP configuration. + :type public_ip_address: str + :param private_ip_address: The private IP address of this IP configuration. + :type private_ip_address: str + """ + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'public_ip_address': {'key': 'publicIpAddress', 'type': 'str'}, + 'private_ip_address': {'key': 'privateIpAddress', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + public_ip_address: Optional[str] = None, + private_ip_address: Optional[str] = None, + **kwargs + ): + super(VpnGatewayIpConfiguration, self).__init__(**kwargs) + self.id = id + self.public_ip_address = public_ip_address + self.private_ip_address = private_ip_address + + +class VpnGatewayNatRule(SubResource): + """VpnGatewayNatRule Resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: The name of the resource that is unique within a resource group. This name can be + used to access the resource. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Resource type. + :vartype type: str + :ivar provisioning_state: The provisioning state of the NAT Rule resource. Possible values + include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :param type_properties_type: The type of NAT rule for VPN NAT. Possible values include: + "Static", "Dynamic". + :type type_properties_type: str or ~azure.mgmt.network.v2021_02_01.models.VpnNatRuleType + :param mode: The Source NAT direction of a VPN NAT. Possible values include: "EgressSnat", + "IngressSnat". + :type mode: str or ~azure.mgmt.network.v2021_02_01.models.VpnNatRuleMode + :param internal_mappings: The private IP address internal mapping for NAT. + :type internal_mappings: list[~azure.mgmt.network.v2021_02_01.models.VpnNatRuleMapping] + :param external_mappings: The private IP address external mapping for NAT. + :type external_mappings: list[~azure.mgmt.network.v2021_02_01.models.VpnNatRuleMapping] + :param ip_configuration_id: The IP Configuration ID this NAT rule applies to. + :type ip_configuration_id: str + :ivar egress_vpn_site_link_connections: List of egress VpnSiteLinkConnections. + :vartype egress_vpn_site_link_connections: + list[~azure.mgmt.network.v2021_02_01.models.SubResource] + :ivar ingress_vpn_site_link_connections: List of ingress VpnSiteLinkConnections. + :vartype ingress_vpn_site_link_connections: + list[~azure.mgmt.network.v2021_02_01.models.SubResource] + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'egress_vpn_site_link_connections': {'readonly': True}, + 'ingress_vpn_site_link_connections': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'type_properties_type': {'key': 'properties.type', 'type': 'str'}, + 'mode': {'key': 'properties.mode', 'type': 'str'}, + 'internal_mappings': {'key': 'properties.internalMappings', 'type': '[VpnNatRuleMapping]'}, + 'external_mappings': {'key': 'properties.externalMappings', 'type': '[VpnNatRuleMapping]'}, + 'ip_configuration_id': {'key': 'properties.ipConfigurationId', 'type': 'str'}, + 'egress_vpn_site_link_connections': {'key': 'properties.egressVpnSiteLinkConnections', 'type': '[SubResource]'}, + 'ingress_vpn_site_link_connections': {'key': 'properties.ingressVpnSiteLinkConnections', 'type': '[SubResource]'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + name: Optional[str] = None, + type_properties_type: Optional[Union[str, "VpnNatRuleType"]] = None, + mode: Optional[Union[str, "VpnNatRuleMode"]] = None, + internal_mappings: Optional[List["VpnNatRuleMapping"]] = None, + external_mappings: Optional[List["VpnNatRuleMapping"]] = None, + ip_configuration_id: Optional[str] = None, + **kwargs + ): + super(VpnGatewayNatRule, self).__init__(id=id, **kwargs) + self.name = name + self.etag = None + self.type = None + self.provisioning_state = None + self.type_properties_type = type_properties_type + self.mode = mode + self.internal_mappings = internal_mappings + self.external_mappings = external_mappings + self.ip_configuration_id = ip_configuration_id + self.egress_vpn_site_link_connections = None + self.ingress_vpn_site_link_connections = None + + +class VpnGatewayPacketCaptureStartParameters(msrest.serialization.Model): + """Start packet capture parameters. + + :param filter_data: Start Packet capture parameters on vpn gateway. + :type filter_data: str + """ + + _attribute_map = { + 'filter_data': {'key': 'filterData', 'type': 'str'}, + } + + def __init__( + self, + *, + filter_data: Optional[str] = None, + **kwargs + ): + super(VpnGatewayPacketCaptureStartParameters, self).__init__(**kwargs) + self.filter_data = filter_data + + +class VpnGatewayPacketCaptureStopParameters(msrest.serialization.Model): + """Stop packet capture parameters. + + :param sas_url: SAS url for packet capture on vpn gateway. + :type sas_url: str + """ + + _attribute_map = { + 'sas_url': {'key': 'sasUrl', 'type': 'str'}, + } + + def __init__( + self, + *, + sas_url: Optional[str] = None, + **kwargs + ): + super(VpnGatewayPacketCaptureStopParameters, self).__init__(**kwargs) + self.sas_url = sas_url + + +class VpnLinkBgpSettings(msrest.serialization.Model): + """BGP settings details for a link. + + :param asn: The BGP speaker's ASN. + :type asn: long + :param bgp_peering_address: The BGP peering address and BGP identifier of this BGP speaker. + :type bgp_peering_address: str + """ + + _attribute_map = { + 'asn': {'key': 'asn', 'type': 'long'}, + 'bgp_peering_address': {'key': 'bgpPeeringAddress', 'type': 'str'}, + } + + def __init__( + self, + *, + asn: Optional[int] = None, + bgp_peering_address: Optional[str] = None, + **kwargs + ): + super(VpnLinkBgpSettings, self).__init__(**kwargs) + self.asn = asn + self.bgp_peering_address = bgp_peering_address + + +class VpnLinkProviderProperties(msrest.serialization.Model): + """List of properties of a link provider. + + :param link_provider_name: Name of the link provider. + :type link_provider_name: str + :param link_speed_in_mbps: Link speed. + :type link_speed_in_mbps: int + """ + + _attribute_map = { + 'link_provider_name': {'key': 'linkProviderName', 'type': 'str'}, + 'link_speed_in_mbps': {'key': 'linkSpeedInMbps', 'type': 'int'}, + } + + def __init__( + self, + *, + link_provider_name: Optional[str] = None, + link_speed_in_mbps: Optional[int] = None, + **kwargs + ): + super(VpnLinkProviderProperties, self).__init__(**kwargs) + self.link_provider_name = link_provider_name + self.link_speed_in_mbps = link_speed_in_mbps + + +class VpnNatRuleMapping(msrest.serialization.Model): + """Vpn NatRule mapping. + + :param address_space: Address space for Vpn NatRule mapping. + :type address_space: str + """ + + _attribute_map = { + 'address_space': {'key': 'addressSpace', 'type': 'str'}, + } + + def __init__( + self, + *, + address_space: Optional[str] = None, + **kwargs + ): + super(VpnNatRuleMapping, self).__init__(**kwargs) + self.address_space = address_space + + +class VpnPacketCaptureStartParameters(msrest.serialization.Model): + """Start packet capture parameters on virtual network gateway. + + :param filter_data: Start Packet capture parameters. + :type filter_data: str + """ + + _attribute_map = { + 'filter_data': {'key': 'filterData', 'type': 'str'}, + } + + def __init__( + self, + *, + filter_data: Optional[str] = None, + **kwargs + ): + super(VpnPacketCaptureStartParameters, self).__init__(**kwargs) + self.filter_data = filter_data + + +class VpnPacketCaptureStopParameters(msrest.serialization.Model): + """Stop packet capture parameters. + + :param sas_url: SAS url for packet capture on virtual network gateway. + :type sas_url: str + """ + + _attribute_map = { + 'sas_url': {'key': 'sasUrl', 'type': 'str'}, + } + + def __init__( + self, + *, + sas_url: Optional[str] = None, + **kwargs + ): + super(VpnPacketCaptureStopParameters, self).__init__(**kwargs) + self.sas_url = sas_url + + +class VpnProfileResponse(msrest.serialization.Model): + """Vpn Profile Response for package generation. + + :param profile_url: URL to the VPN profile. + :type profile_url: str + """ + + _attribute_map = { + 'profile_url': {'key': 'profileUrl', 'type': 'str'}, + } + + def __init__( + self, + *, + profile_url: Optional[str] = None, + **kwargs + ): + super(VpnProfileResponse, self).__init__(**kwargs) + self.profile_url = profile_url + + +class VpnServerConfigRadiusClientRootCertificate(msrest.serialization.Model): + """Properties of the Radius client root certificate of VpnServerConfiguration. + + :param name: The certificate name. + :type name: str + :param thumbprint: The Radius client root certificate thumbprint. + :type thumbprint: str + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'thumbprint': {'key': 'thumbprint', 'type': 'str'}, + } + + def __init__( + self, + *, + name: Optional[str] = None, + thumbprint: Optional[str] = None, + **kwargs + ): + super(VpnServerConfigRadiusClientRootCertificate, self).__init__(**kwargs) + self.name = name + self.thumbprint = thumbprint + + +class VpnServerConfigRadiusServerRootCertificate(msrest.serialization.Model): + """Properties of Radius Server root certificate of VpnServerConfiguration. + + :param name: The certificate name. + :type name: str + :param public_cert_data: The certificate public data. + :type public_cert_data: str + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'public_cert_data': {'key': 'publicCertData', 'type': 'str'}, + } + + def __init__( + self, + *, + name: Optional[str] = None, + public_cert_data: Optional[str] = None, + **kwargs + ): + super(VpnServerConfigRadiusServerRootCertificate, self).__init__(**kwargs) + self.name = name + self.public_cert_data = public_cert_data + + +class VpnServerConfiguration(Resource): + """VpnServerConfiguration Resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param name_properties_name: The name of the VpnServerConfiguration that is unique within a + resource group. + :type name_properties_name: str + :param vpn_protocols: VPN protocols for the VpnServerConfiguration. + :type vpn_protocols: list[str or + ~azure.mgmt.network.v2021_02_01.models.VpnGatewayTunnelingProtocol] + :param vpn_authentication_types: VPN authentication types for the VpnServerConfiguration. + :type vpn_authentication_types: list[str or + ~azure.mgmt.network.v2021_02_01.models.VpnAuthenticationType] + :param vpn_client_root_certificates: VPN client root certificate of VpnServerConfiguration. + :type vpn_client_root_certificates: + list[~azure.mgmt.network.v2021_02_01.models.VpnServerConfigVpnClientRootCertificate] + :param vpn_client_revoked_certificates: VPN client revoked certificate of + VpnServerConfiguration. + :type vpn_client_revoked_certificates: + list[~azure.mgmt.network.v2021_02_01.models.VpnServerConfigVpnClientRevokedCertificate] + :param radius_server_root_certificates: Radius Server root certificate of + VpnServerConfiguration. + :type radius_server_root_certificates: + list[~azure.mgmt.network.v2021_02_01.models.VpnServerConfigRadiusServerRootCertificate] + :param radius_client_root_certificates: Radius client root certificate of + VpnServerConfiguration. + :type radius_client_root_certificates: + list[~azure.mgmt.network.v2021_02_01.models.VpnServerConfigRadiusClientRootCertificate] + :param vpn_client_ipsec_policies: VpnClientIpsecPolicies for VpnServerConfiguration. + :type vpn_client_ipsec_policies: list[~azure.mgmt.network.v2021_02_01.models.IpsecPolicy] + :param radius_server_address: The radius server address property of the VpnServerConfiguration + resource for point to site client connection. + :type radius_server_address: str + :param radius_server_secret: The radius secret property of the VpnServerConfiguration resource + for point to site client connection. + :type radius_server_secret: str + :param radius_servers: Multiple Radius Server configuration for VpnServerConfiguration. + :type radius_servers: list[~azure.mgmt.network.v2021_02_01.models.RadiusServer] + :param aad_authentication_parameters: The set of aad vpn authentication parameters. + :type aad_authentication_parameters: + ~azure.mgmt.network.v2021_02_01.models.AadAuthenticationParameters + :ivar provisioning_state: The provisioning state of the VpnServerConfiguration resource. + Possible values are: 'Updating', 'Deleting', and 'Failed'. + :vartype provisioning_state: str + :ivar p2_s_vpn_gateways: List of references to P2SVpnGateways. + :vartype p2_s_vpn_gateways: list[~azure.mgmt.network.v2021_02_01.models.P2SVpnGateway] + :ivar etag_properties_etag: A unique read-only string that changes whenever the resource is + updated. + :vartype etag_properties_etag: str + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'p2_s_vpn_gateways': {'readonly': True}, + 'etag_properties_etag': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'name_properties_name': {'key': 'properties.name', 'type': 'str'}, + 'vpn_protocols': {'key': 'properties.vpnProtocols', 'type': '[str]'}, + 'vpn_authentication_types': {'key': 'properties.vpnAuthenticationTypes', 'type': '[str]'}, + 'vpn_client_root_certificates': {'key': 'properties.vpnClientRootCertificates', 'type': '[VpnServerConfigVpnClientRootCertificate]'}, + 'vpn_client_revoked_certificates': {'key': 'properties.vpnClientRevokedCertificates', 'type': '[VpnServerConfigVpnClientRevokedCertificate]'}, + 'radius_server_root_certificates': {'key': 'properties.radiusServerRootCertificates', 'type': '[VpnServerConfigRadiusServerRootCertificate]'}, + 'radius_client_root_certificates': {'key': 'properties.radiusClientRootCertificates', 'type': '[VpnServerConfigRadiusClientRootCertificate]'}, + 'vpn_client_ipsec_policies': {'key': 'properties.vpnClientIpsecPolicies', 'type': '[IpsecPolicy]'}, + 'radius_server_address': {'key': 'properties.radiusServerAddress', 'type': 'str'}, + 'radius_server_secret': {'key': 'properties.radiusServerSecret', 'type': 'str'}, + 'radius_servers': {'key': 'properties.radiusServers', 'type': '[RadiusServer]'}, + 'aad_authentication_parameters': {'key': 'properties.aadAuthenticationParameters', 'type': 'AadAuthenticationParameters'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'p2_s_vpn_gateways': {'key': 'properties.p2SVpnGateways', 'type': '[P2SVpnGateway]'}, + 'etag_properties_etag': {'key': 'properties.etag', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + location: Optional[str] = None, + tags: Optional[Dict[str, str]] = None, + name_properties_name: Optional[str] = None, + vpn_protocols: Optional[List[Union[str, "VpnGatewayTunnelingProtocol"]]] = None, + vpn_authentication_types: Optional[List[Union[str, "VpnAuthenticationType"]]] = None, + vpn_client_root_certificates: Optional[List["VpnServerConfigVpnClientRootCertificate"]] = None, + vpn_client_revoked_certificates: Optional[List["VpnServerConfigVpnClientRevokedCertificate"]] = None, + radius_server_root_certificates: Optional[List["VpnServerConfigRadiusServerRootCertificate"]] = None, + radius_client_root_certificates: Optional[List["VpnServerConfigRadiusClientRootCertificate"]] = None, + vpn_client_ipsec_policies: Optional[List["IpsecPolicy"]] = None, + radius_server_address: Optional[str] = None, + radius_server_secret: Optional[str] = None, + radius_servers: Optional[List["RadiusServer"]] = None, + aad_authentication_parameters: Optional["AadAuthenticationParameters"] = None, + **kwargs + ): + super(VpnServerConfiguration, self).__init__(id=id, location=location, tags=tags, **kwargs) + self.etag = None + self.name_properties_name = name_properties_name + self.vpn_protocols = vpn_protocols + self.vpn_authentication_types = vpn_authentication_types + self.vpn_client_root_certificates = vpn_client_root_certificates + self.vpn_client_revoked_certificates = vpn_client_revoked_certificates + self.radius_server_root_certificates = radius_server_root_certificates + self.radius_client_root_certificates = radius_client_root_certificates + self.vpn_client_ipsec_policies = vpn_client_ipsec_policies + self.radius_server_address = radius_server_address + self.radius_server_secret = radius_server_secret + self.radius_servers = radius_servers + self.aad_authentication_parameters = aad_authentication_parameters + self.provisioning_state = None + self.p2_s_vpn_gateways = None + self.etag_properties_etag = None + + +class VpnServerConfigurationsResponse(msrest.serialization.Model): + """VpnServerConfigurations list associated with VirtualWan Response. + + :param vpn_server_configuration_resource_ids: List of VpnServerConfigurations associated with + VirtualWan. + :type vpn_server_configuration_resource_ids: list[str] + """ + + _attribute_map = { + 'vpn_server_configuration_resource_ids': {'key': 'vpnServerConfigurationResourceIds', 'type': '[str]'}, + } + + def __init__( + self, + *, + vpn_server_configuration_resource_ids: Optional[List[str]] = None, + **kwargs + ): + super(VpnServerConfigurationsResponse, self).__init__(**kwargs) + self.vpn_server_configuration_resource_ids = vpn_server_configuration_resource_ids + + +class VpnServerConfigVpnClientRevokedCertificate(msrest.serialization.Model): + """Properties of the revoked VPN client certificate of VpnServerConfiguration. + + :param name: The certificate name. + :type name: str + :param thumbprint: The revoked VPN client certificate thumbprint. + :type thumbprint: str + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'thumbprint': {'key': 'thumbprint', 'type': 'str'}, + } + + def __init__( + self, + *, + name: Optional[str] = None, + thumbprint: Optional[str] = None, + **kwargs + ): + super(VpnServerConfigVpnClientRevokedCertificate, self).__init__(**kwargs) + self.name = name + self.thumbprint = thumbprint + + +class VpnServerConfigVpnClientRootCertificate(msrest.serialization.Model): + """Properties of VPN client root certificate of VpnServerConfiguration. + + :param name: The certificate name. + :type name: str + :param public_cert_data: The certificate public data. + :type public_cert_data: str + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'public_cert_data': {'key': 'publicCertData', 'type': 'str'}, + } + + def __init__( + self, + *, + name: Optional[str] = None, + public_cert_data: Optional[str] = None, + **kwargs + ): + super(VpnServerConfigVpnClientRootCertificate, self).__init__(**kwargs) + self.name = name + self.public_cert_data = public_cert_data + + +class VpnSite(Resource): + """VpnSite Resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param virtual_wan: The VirtualWAN to which the vpnSite belongs. + :type virtual_wan: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param device_properties: The device properties. + :type device_properties: ~azure.mgmt.network.v2021_02_01.models.DeviceProperties + :param ip_address: The ip-address for the vpn-site. + :type ip_address: str + :param site_key: The key for vpn-site that can be used for connections. + :type site_key: str + :param address_space: The AddressSpace that contains an array of IP address ranges. + :type address_space: ~azure.mgmt.network.v2021_02_01.models.AddressSpace + :param bgp_properties: The set of bgp properties. + :type bgp_properties: ~azure.mgmt.network.v2021_02_01.models.BgpSettings + :ivar provisioning_state: The provisioning state of the VPN site resource. Possible values + include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :param is_security_site: IsSecuritySite flag. + :type is_security_site: bool + :param vpn_site_links: List of all vpn site links. + :type vpn_site_links: list[~azure.mgmt.network.v2021_02_01.models.VpnSiteLink] + :param o365_policy: Office365 Policy. + :type o365_policy: ~azure.mgmt.network.v2021_02_01.models.O365PolicyProperties + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'virtual_wan': {'key': 'properties.virtualWan', 'type': 'SubResource'}, + 'device_properties': {'key': 'properties.deviceProperties', 'type': 'DeviceProperties'}, + 'ip_address': {'key': 'properties.ipAddress', 'type': 'str'}, + 'site_key': {'key': 'properties.siteKey', 'type': 'str'}, + 'address_space': {'key': 'properties.addressSpace', 'type': 'AddressSpace'}, + 'bgp_properties': {'key': 'properties.bgpProperties', 'type': 'BgpSettings'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'is_security_site': {'key': 'properties.isSecuritySite', 'type': 'bool'}, + 'vpn_site_links': {'key': 'properties.vpnSiteLinks', 'type': '[VpnSiteLink]'}, + 'o365_policy': {'key': 'properties.o365Policy', 'type': 'O365PolicyProperties'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + location: Optional[str] = None, + tags: Optional[Dict[str, str]] = None, + virtual_wan: Optional["SubResource"] = None, + device_properties: Optional["DeviceProperties"] = None, + ip_address: Optional[str] = None, + site_key: Optional[str] = None, + address_space: Optional["AddressSpace"] = None, + bgp_properties: Optional["BgpSettings"] = None, + is_security_site: Optional[bool] = None, + vpn_site_links: Optional[List["VpnSiteLink"]] = None, + o365_policy: Optional["O365PolicyProperties"] = None, + **kwargs + ): + super(VpnSite, self).__init__(id=id, location=location, tags=tags, **kwargs) + self.etag = None + self.virtual_wan = virtual_wan + self.device_properties = device_properties + self.ip_address = ip_address + self.site_key = site_key + self.address_space = address_space + self.bgp_properties = bgp_properties + self.provisioning_state = None + self.is_security_site = is_security_site + self.vpn_site_links = vpn_site_links + self.o365_policy = o365_policy + + +class VpnSiteId(msrest.serialization.Model): + """VpnSite Resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar vpn_site: The resource-uri of the vpn-site for which config is to be fetched. + :vartype vpn_site: str + """ + + _validation = { + 'vpn_site': {'readonly': True}, + } + + _attribute_map = { + 'vpn_site': {'key': 'vpnSite', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(VpnSiteId, self).__init__(**kwargs) + self.vpn_site = None + + +class VpnSiteLink(SubResource): + """VpnSiteLink Resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param name: The name of the resource that is unique within a resource group. This name can be + used to access the resource. + :type name: str + :ivar type: Resource type. + :vartype type: str + :param link_properties: The link provider properties. + :type link_properties: ~azure.mgmt.network.v2021_02_01.models.VpnLinkProviderProperties + :param ip_address: The ip-address for the vpn-site-link. + :type ip_address: str + :param fqdn: FQDN of vpn-site-link. + :type fqdn: str + :param bgp_properties: The set of bgp properties. + :type bgp_properties: ~azure.mgmt.network.v2021_02_01.models.VpnLinkBgpSettings + :ivar provisioning_state: The provisioning state of the VPN site link resource. Possible values + include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'link_properties': {'key': 'properties.linkProperties', 'type': 'VpnLinkProviderProperties'}, + 'ip_address': {'key': 'properties.ipAddress', 'type': 'str'}, + 'fqdn': {'key': 'properties.fqdn', 'type': 'str'}, + 'bgp_properties': {'key': 'properties.bgpProperties', 'type': 'VpnLinkBgpSettings'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + name: Optional[str] = None, + link_properties: Optional["VpnLinkProviderProperties"] = None, + ip_address: Optional[str] = None, + fqdn: Optional[str] = None, + bgp_properties: Optional["VpnLinkBgpSettings"] = None, + **kwargs + ): + super(VpnSiteLink, self).__init__(id=id, **kwargs) + self.etag = None + self.name = name + self.type = None + self.link_properties = link_properties + self.ip_address = ip_address + self.fqdn = fqdn + self.bgp_properties = bgp_properties + self.provisioning_state = None + + +class VpnSiteLinkConnection(SubResource): + """VpnSiteLinkConnection Resource. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :param name: The name of the resource that is unique within a resource group. This name can be + used to access the resource. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :ivar type: Resource type. + :vartype type: str + :param vpn_site_link: Id of the connected vpn site link. + :type vpn_site_link: ~azure.mgmt.network.v2021_02_01.models.SubResource + :param routing_weight: Routing weight for vpn connection. + :type routing_weight: int + :param vpn_link_connection_mode: Vpn link connection mode. Possible values include: "Default", + "ResponderOnly", "InitiatorOnly". + :type vpn_link_connection_mode: str or + ~azure.mgmt.network.v2021_02_01.models.VpnLinkConnectionMode + :ivar connection_status: The connection status. Possible values include: "Unknown", + "Connecting", "Connected", "NotConnected". + :vartype connection_status: str or ~azure.mgmt.network.v2021_02_01.models.VpnConnectionStatus + :param vpn_connection_protocol_type: Connection protocol used for this connection. Possible + values include: "IKEv2", "IKEv1". + :type vpn_connection_protocol_type: str or + ~azure.mgmt.network.v2021_02_01.models.VirtualNetworkGatewayConnectionProtocol + :ivar ingress_bytes_transferred: Ingress bytes transferred. + :vartype ingress_bytes_transferred: long + :ivar egress_bytes_transferred: Egress bytes transferred. + :vartype egress_bytes_transferred: long + :param connection_bandwidth: Expected bandwidth in MBPS. + :type connection_bandwidth: int + :param shared_key: SharedKey for the vpn connection. + :type shared_key: str + :param enable_bgp: EnableBgp flag. + :type enable_bgp: bool + :param use_policy_based_traffic_selectors: Enable policy-based traffic selectors. + :type use_policy_based_traffic_selectors: bool + :param ipsec_policies: The IPSec Policies to be considered by this connection. + :type ipsec_policies: list[~azure.mgmt.network.v2021_02_01.models.IpsecPolicy] + :param enable_rate_limiting: EnableBgp flag. + :type enable_rate_limiting: bool + :param use_local_azure_ip_address: Use local azure ip to initiate connection. + :type use_local_azure_ip_address: bool + :ivar provisioning_state: The provisioning state of the VPN site link connection resource. + Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :param ingress_nat_rules: List of ingress NatRules. + :type ingress_nat_rules: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + :param egress_nat_rules: List of egress NatRules. + :type egress_nat_rules: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + """ + + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + 'connection_status': {'readonly': True}, + 'ingress_bytes_transferred': {'readonly': True}, + 'egress_bytes_transferred': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'vpn_site_link': {'key': 'properties.vpnSiteLink', 'type': 'SubResource'}, + 'routing_weight': {'key': 'properties.routingWeight', 'type': 'int'}, + 'vpn_link_connection_mode': {'key': 'properties.vpnLinkConnectionMode', 'type': 'str'}, + 'connection_status': {'key': 'properties.connectionStatus', 'type': 'str'}, + 'vpn_connection_protocol_type': {'key': 'properties.vpnConnectionProtocolType', 'type': 'str'}, + 'ingress_bytes_transferred': {'key': 'properties.ingressBytesTransferred', 'type': 'long'}, + 'egress_bytes_transferred': {'key': 'properties.egressBytesTransferred', 'type': 'long'}, + 'connection_bandwidth': {'key': 'properties.connectionBandwidth', 'type': 'int'}, + 'shared_key': {'key': 'properties.sharedKey', 'type': 'str'}, + 'enable_bgp': {'key': 'properties.enableBgp', 'type': 'bool'}, + 'use_policy_based_traffic_selectors': {'key': 'properties.usePolicyBasedTrafficSelectors', 'type': 'bool'}, + 'ipsec_policies': {'key': 'properties.ipsecPolicies', 'type': '[IpsecPolicy]'}, + 'enable_rate_limiting': {'key': 'properties.enableRateLimiting', 'type': 'bool'}, + 'use_local_azure_ip_address': {'key': 'properties.useLocalAzureIpAddress', 'type': 'bool'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'ingress_nat_rules': {'key': 'properties.ingressNatRules', 'type': '[SubResource]'}, + 'egress_nat_rules': {'key': 'properties.egressNatRules', 'type': '[SubResource]'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + name: Optional[str] = None, + vpn_site_link: Optional["SubResource"] = None, + routing_weight: Optional[int] = None, + vpn_link_connection_mode: Optional[Union[str, "VpnLinkConnectionMode"]] = None, + vpn_connection_protocol_type: Optional[Union[str, "VirtualNetworkGatewayConnectionProtocol"]] = None, + connection_bandwidth: Optional[int] = None, + shared_key: Optional[str] = None, + enable_bgp: Optional[bool] = None, + use_policy_based_traffic_selectors: Optional[bool] = None, + ipsec_policies: Optional[List["IpsecPolicy"]] = None, + enable_rate_limiting: Optional[bool] = None, + use_local_azure_ip_address: Optional[bool] = None, + ingress_nat_rules: Optional[List["SubResource"]] = None, + egress_nat_rules: Optional[List["SubResource"]] = None, + **kwargs + ): + super(VpnSiteLinkConnection, self).__init__(id=id, **kwargs) + self.name = name + self.etag = None + self.type = None + self.vpn_site_link = vpn_site_link + self.routing_weight = routing_weight + self.vpn_link_connection_mode = vpn_link_connection_mode + self.connection_status = None + self.vpn_connection_protocol_type = vpn_connection_protocol_type + self.ingress_bytes_transferred = None + self.egress_bytes_transferred = None + self.connection_bandwidth = connection_bandwidth + self.shared_key = shared_key + self.enable_bgp = enable_bgp + self.use_policy_based_traffic_selectors = use_policy_based_traffic_selectors + self.ipsec_policies = ipsec_policies + self.enable_rate_limiting = enable_rate_limiting + self.use_local_azure_ip_address = use_local_azure_ip_address + self.provisioning_state = None + self.ingress_nat_rules = ingress_nat_rules + self.egress_nat_rules = egress_nat_rules + + +class WebApplicationFirewallCustomRule(msrest.serialization.Model): + """Defines contents of a web application rule. + + Variables are only populated by the server, and will be ignored when sending a request. + + All required parameters must be populated in order to send to Azure. + + :param name: The name of the resource that is unique within a policy. This name can be used to + access the resource. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param priority: Required. Priority of the rule. Rules with a lower value will be evaluated + before rules with a higher value. + :type priority: int + :param rule_type: Required. The rule type. Possible values include: "MatchRule", "Invalid". + :type rule_type: str or ~azure.mgmt.network.v2021_02_01.models.WebApplicationFirewallRuleType + :param match_conditions: Required. List of match conditions. + :type match_conditions: list[~azure.mgmt.network.v2021_02_01.models.MatchCondition] + :param action: Required. Type of Actions. Possible values include: "Allow", "Block", "Log". + :type action: str or ~azure.mgmt.network.v2021_02_01.models.WebApplicationFirewallAction + """ + + _validation = { + 'name': {'max_length': 128, 'min_length': 0}, + 'etag': {'readonly': True}, + 'priority': {'required': True}, + 'rule_type': {'required': True}, + 'match_conditions': {'required': True}, + 'action': {'required': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'priority': {'key': 'priority', 'type': 'int'}, + 'rule_type': {'key': 'ruleType', 'type': 'str'}, + 'match_conditions': {'key': 'matchConditions', 'type': '[MatchCondition]'}, + 'action': {'key': 'action', 'type': 'str'}, + } + + def __init__( + self, + *, + priority: int, + rule_type: Union[str, "WebApplicationFirewallRuleType"], + match_conditions: List["MatchCondition"], + action: Union[str, "WebApplicationFirewallAction"], + name: Optional[str] = None, + **kwargs + ): + super(WebApplicationFirewallCustomRule, self).__init__(**kwargs) + self.name = name + self.etag = None + self.priority = priority + self.rule_type = rule_type + self.match_conditions = match_conditions + self.action = action + + +class WebApplicationFirewallPolicy(Resource): + """Defines web application firewall policy. + + Variables are only populated by the server, and will be ignored when sending a request. + + :param id: Resource ID. + :type id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: A set of tags. Resource tags. + :type tags: dict[str, str] + :ivar etag: A unique read-only string that changes whenever the resource is updated. + :vartype etag: str + :param policy_settings: The PolicySettings for policy. + :type policy_settings: ~azure.mgmt.network.v2021_02_01.models.PolicySettings + :param custom_rules: The custom rules inside the policy. + :type custom_rules: + list[~azure.mgmt.network.v2021_02_01.models.WebApplicationFirewallCustomRule] + :ivar application_gateways: A collection of references to application gateways. + :vartype application_gateways: list[~azure.mgmt.network.v2021_02_01.models.ApplicationGateway] + :ivar provisioning_state: The provisioning state of the web application firewall policy + resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". + :vartype provisioning_state: str or ~azure.mgmt.network.v2021_02_01.models.ProvisioningState + :ivar resource_state: Resource status of the policy. Possible values include: "Creating", + "Enabling", "Enabled", "Disabling", "Disabled", "Deleting". + :vartype resource_state: str or + ~azure.mgmt.network.v2021_02_01.models.WebApplicationFirewallPolicyResourceState + :param managed_rules: Describes the managedRules structure. + :type managed_rules: ~azure.mgmt.network.v2021_02_01.models.ManagedRulesDefinition + :ivar http_listeners: A collection of references to application gateway http listeners. + :vartype http_listeners: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + :ivar path_based_rules: A collection of references to application gateway path rules. + :vartype path_based_rules: list[~azure.mgmt.network.v2021_02_01.models.SubResource] + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'application_gateways': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'resource_state': {'readonly': True}, + 'http_listeners': {'readonly': True}, + 'path_based_rules': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'policy_settings': {'key': 'properties.policySettings', 'type': 'PolicySettings'}, + 'custom_rules': {'key': 'properties.customRules', 'type': '[WebApplicationFirewallCustomRule]'}, + 'application_gateways': {'key': 'properties.applicationGateways', 'type': '[ApplicationGateway]'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'resource_state': {'key': 'properties.resourceState', 'type': 'str'}, + 'managed_rules': {'key': 'properties.managedRules', 'type': 'ManagedRulesDefinition'}, + 'http_listeners': {'key': 'properties.httpListeners', 'type': '[SubResource]'}, + 'path_based_rules': {'key': 'properties.pathBasedRules', 'type': '[SubResource]'}, + } + + def __init__( + self, + *, + id: Optional[str] = None, + location: Optional[str] = None, + tags: Optional[Dict[str, str]] = None, + policy_settings: Optional["PolicySettings"] = None, + custom_rules: Optional[List["WebApplicationFirewallCustomRule"]] = None, + managed_rules: Optional["ManagedRulesDefinition"] = None, + **kwargs + ): + super(WebApplicationFirewallPolicy, self).__init__(id=id, location=location, tags=tags, **kwargs) + self.etag = None + self.policy_settings = policy_settings + self.custom_rules = custom_rules + self.application_gateways = None + self.provisioning_state = None + self.resource_state = None + self.managed_rules = managed_rules + self.http_listeners = None + self.path_based_rules = None + + +class WebApplicationFirewallPolicyListResult(msrest.serialization.Model): + """Result of the request to list WebApplicationFirewallPolicies. It contains a list of WebApplicationFirewallPolicy objects and a URL link to get the next set of results. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: List of WebApplicationFirewallPolicies within a resource group. + :vartype value: list[~azure.mgmt.network.v2021_02_01.models.WebApplicationFirewallPolicy] + :ivar next_link: URL to get the next set of WebApplicationFirewallPolicy objects if there are + any. + :vartype next_link: str + """ + + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': '[WebApplicationFirewallPolicy]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(WebApplicationFirewallPolicyListResult, self).__init__(**kwargs) + self.value = None + self.next_link = None diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/models/_network_management_client_enums.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/models/_network_management_client_enums.py new file mode 100644 index 000000000000..f305a4979cac --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/models/_network_management_client_enums.py @@ -0,0 +1,1433 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from enum import Enum, EnumMeta +from six import with_metaclass + +class _CaseInsensitiveEnumMeta(EnumMeta): + def __getitem__(self, name): + return super().__getitem__(name.upper()) + + def __getattr__(cls, name): + """Return the enum member matching `name` + We use __getattr__ instead of descriptors or inserting into the enum + class' __dict__ in order to support `name` and `value` being both + properties for enum members (which live in the class' __dict__) and + enum members themselves. + """ + try: + return cls._member_map_[name.upper()] + except KeyError: + raise AttributeError(name) + + +class Access(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Access to be allowed or denied. + """ + + ALLOW = "Allow" + DENY = "Deny" + +class ApplicationGatewayBackendHealthServerHealth(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Health of backend server. + """ + + UNKNOWN = "Unknown" + UP = "Up" + DOWN = "Down" + PARTIAL = "Partial" + DRAINING = "Draining" + +class ApplicationGatewayCookieBasedAffinity(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Cookie based affinity. + """ + + ENABLED = "Enabled" + DISABLED = "Disabled" + +class ApplicationGatewayCustomErrorStatusCode(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Status code of the application gateway customer error. + """ + + HTTP_STATUS403 = "HttpStatus403" + HTTP_STATUS502 = "HttpStatus502" + +class ApplicationGatewayFirewallMode(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Web application firewall mode. + """ + + DETECTION = "Detection" + PREVENTION = "Prevention" + +class ApplicationGatewayOperationalState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Operational state of the application gateway resource. + """ + + STOPPED = "Stopped" + STARTING = "Starting" + RUNNING = "Running" + STOPPING = "Stopping" + +class ApplicationGatewayProtocol(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Application Gateway protocol. + """ + + HTTP = "Http" + HTTPS = "Https" + +class ApplicationGatewayRedirectType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Redirect type enum. + """ + + PERMANENT = "Permanent" + FOUND = "Found" + SEE_OTHER = "SeeOther" + TEMPORARY = "Temporary" + +class ApplicationGatewayRequestRoutingRuleType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Rule type. + """ + + BASIC = "Basic" + PATH_BASED_ROUTING = "PathBasedRouting" + +class ApplicationGatewaySkuName(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Name of an application gateway SKU. + """ + + STANDARD_SMALL = "Standard_Small" + STANDARD_MEDIUM = "Standard_Medium" + STANDARD_LARGE = "Standard_Large" + WAF_MEDIUM = "WAF_Medium" + WAF_LARGE = "WAF_Large" + STANDARD_V2 = "Standard_v2" + WAF_V2 = "WAF_v2" + +class ApplicationGatewaySslCipherSuite(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Ssl cipher suites enums. + """ + + TLS_ECDHE_RSA_WITH_AES256_CBC_SHA384 = "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384" + TLS_ECDHE_RSA_WITH_AES128_CBC_SHA256 = "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256" + TLS_ECDHE_RSA_WITH_AES256_CBC_SHA = "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA" + TLS_ECDHE_RSA_WITH_AES128_CBC_SHA = "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA" + TLS_DHE_RSA_WITH_AES256_GCM_SHA384 = "TLS_DHE_RSA_WITH_AES_256_GCM_SHA384" + TLS_DHE_RSA_WITH_AES128_GCM_SHA256 = "TLS_DHE_RSA_WITH_AES_128_GCM_SHA256" + TLS_DHE_RSA_WITH_AES256_CBC_SHA = "TLS_DHE_RSA_WITH_AES_256_CBC_SHA" + TLS_DHE_RSA_WITH_AES128_CBC_SHA = "TLS_DHE_RSA_WITH_AES_128_CBC_SHA" + TLS_RSA_WITH_AES256_GCM_SHA384 = "TLS_RSA_WITH_AES_256_GCM_SHA384" + TLS_RSA_WITH_AES128_GCM_SHA256 = "TLS_RSA_WITH_AES_128_GCM_SHA256" + TLS_RSA_WITH_AES256_CBC_SHA256 = "TLS_RSA_WITH_AES_256_CBC_SHA256" + TLS_RSA_WITH_AES128_CBC_SHA256 = "TLS_RSA_WITH_AES_128_CBC_SHA256" + TLS_RSA_WITH_AES256_CBC_SHA = "TLS_RSA_WITH_AES_256_CBC_SHA" + TLS_RSA_WITH_AES128_CBC_SHA = "TLS_RSA_WITH_AES_128_CBC_SHA" + TLS_ECDHE_ECDSA_WITH_AES256_GCM_SHA384 = "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384" + TLS_ECDHE_ECDSA_WITH_AES128_GCM_SHA256 = "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256" + TLS_ECDHE_ECDSA_WITH_AES256_CBC_SHA384 = "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384" + TLS_ECDHE_ECDSA_WITH_AES128_CBC_SHA256 = "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256" + TLS_ECDHE_ECDSA_WITH_AES256_CBC_SHA = "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA" + TLS_ECDHE_ECDSA_WITH_AES128_CBC_SHA = "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA" + TLS_DHE_DSS_WITH_AES256_CBC_SHA256 = "TLS_DHE_DSS_WITH_AES_256_CBC_SHA256" + TLS_DHE_DSS_WITH_AES128_CBC_SHA256 = "TLS_DHE_DSS_WITH_AES_128_CBC_SHA256" + TLS_DHE_DSS_WITH_AES256_CBC_SHA = "TLS_DHE_DSS_WITH_AES_256_CBC_SHA" + TLS_DHE_DSS_WITH_AES128_CBC_SHA = "TLS_DHE_DSS_WITH_AES_128_CBC_SHA" + TLS_RSA_WITH3_DES_EDE_CBC_SHA = "TLS_RSA_WITH_3DES_EDE_CBC_SHA" + TLS_DHE_DSS_WITH3_DES_EDE_CBC_SHA = "TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA" + TLS_ECDHE_RSA_WITH_AES128_GCM_SHA256 = "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256" + TLS_ECDHE_RSA_WITH_AES256_GCM_SHA384 = "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384" + +class ApplicationGatewaySslPolicyName(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Ssl predefined policy name enums. + """ + + APP_GW_SSL_POLICY20150501 = "AppGwSslPolicy20150501" + APP_GW_SSL_POLICY20170401 = "AppGwSslPolicy20170401" + APP_GW_SSL_POLICY20170401_S = "AppGwSslPolicy20170401S" + +class ApplicationGatewaySslPolicyType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Type of Ssl Policy. + """ + + PREDEFINED = "Predefined" + CUSTOM = "Custom" + +class ApplicationGatewaySslProtocol(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Ssl protocol enums. + """ + + TL_SV1_0 = "TLSv1_0" + TL_SV1_1 = "TLSv1_1" + TL_SV1_2 = "TLSv1_2" + +class ApplicationGatewayTier(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Tier of an application gateway. + """ + + STANDARD = "Standard" + WAF = "WAF" + STANDARD_V2 = "Standard_v2" + WAF_V2 = "WAF_v2" + +class AssociationType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The association type of the child resource to the parent resource. + """ + + ASSOCIATED = "Associated" + CONTAINS = "Contains" + +class AuthenticationMethod(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """VPN client authentication method. + """ + + EAPTLS = "EAPTLS" + EAPMSCHA_PV2 = "EAPMSCHAPv2" + +class AuthorizationUseStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The authorization use status. + """ + + AVAILABLE = "Available" + IN_USE = "InUse" + +class AzureFirewallApplicationRuleProtocolType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The protocol type of a Application Rule resource. + """ + + HTTP = "Http" + HTTPS = "Https" + MSSQL = "Mssql" + +class AzureFirewallNatRCActionType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The action type of a NAT rule collection. + """ + + SNAT = "Snat" + DNAT = "Dnat" + +class AzureFirewallNetworkRuleProtocol(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The protocol of a Network Rule resource. + """ + + TCP = "TCP" + UDP = "UDP" + ANY = "Any" + ICMP = "ICMP" + +class AzureFirewallRCActionType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The action type of a rule collection. + """ + + ALLOW = "Allow" + DENY = "Deny" + +class AzureFirewallSkuName(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Name of an Azure Firewall SKU. + """ + + AZFW_VNET = "AZFW_VNet" + AZFW_HUB = "AZFW_Hub" + +class AzureFirewallSkuTier(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Tier of an Azure Firewall. + """ + + STANDARD = "Standard" + PREMIUM = "Premium" + +class AzureFirewallThreatIntelMode(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The operation mode for Threat Intel. + """ + + ALERT = "Alert" + DENY = "Deny" + OFF = "Off" + +class BastionConnectProtocol(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The protocol used to connect to the target. + """ + + SSH = "SSH" + RDP = "RDP" + +class BastionHostSkuName(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The name of this Bastion Host. + """ + + BASIC = "Basic" + STANDARD = "Standard" + +class BgpPeerState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The BGP peer state. + """ + + UNKNOWN = "Unknown" + STOPPED = "Stopped" + IDLE = "Idle" + CONNECTING = "Connecting" + CONNECTED = "Connected" + +class CircuitConnectionStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Express Route Circuit connection state. + """ + + CONNECTED = "Connected" + CONNECTING = "Connecting" + DISCONNECTED = "Disconnected" + +class CommissionedState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The commissioned state of the Custom IP Prefix. + """ + + PROVISIONING = "Provisioning" + PROVISIONED = "Provisioned" + COMMISSIONING = "Commissioning" + COMMISSIONED = "Commissioned" + DECOMMISSIONING = "Decommissioning" + DEPROVISIONING = "Deprovisioning" + +class ConnectionMonitorEndpointFilterItemType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The type of item included in the filter. Currently only 'AgentAddress' is supported. + """ + + AGENT_ADDRESS = "AgentAddress" + +class ConnectionMonitorEndpointFilterType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The behavior of the endpoint filter. Currently only 'Include' is supported. + """ + + INCLUDE = "Include" + +class ConnectionMonitorSourceStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Status of connection monitor source. + """ + + UNKNOWN = "Unknown" + ACTIVE = "Active" + INACTIVE = "Inactive" + +class ConnectionMonitorTestConfigurationProtocol(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The protocol to use in test evaluation. + """ + + TCP = "Tcp" + HTTP = "Http" + ICMP = "Icmp" + +class ConnectionMonitorType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Type of connection monitor. + """ + + MULTI_ENDPOINT = "MultiEndpoint" + SINGLE_SOURCE_DESTINATION = "SingleSourceDestination" + +class ConnectionState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The connection state. + """ + + REACHABLE = "Reachable" + UNREACHABLE = "Unreachable" + UNKNOWN = "Unknown" + +class ConnectionStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The connection status. + """ + + UNKNOWN = "Unknown" + CONNECTED = "Connected" + DISCONNECTED = "Disconnected" + DEGRADED = "Degraded" + +class CoverageLevel(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Test coverage for the endpoint. + """ + + DEFAULT = "Default" + LOW = "Low" + BELOW_AVERAGE = "BelowAverage" + AVERAGE = "Average" + ABOVE_AVERAGE = "AboveAverage" + FULL = "Full" + +class DdosCustomPolicyProtocol(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The protocol for which the DDoS protection policy is being customized. + """ + + TCP = "Tcp" + UDP = "Udp" + SYN = "Syn" + +class DdosCustomPolicyTriggerSensitivityOverride(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The customized DDoS protection trigger rate sensitivity degrees. High: Trigger rate set with + most sensitivity w.r.t. normal traffic. Default: Trigger rate set with moderate sensitivity + w.r.t. normal traffic. Low: Trigger rate set with less sensitivity w.r.t. normal traffic. + Relaxed: Trigger rate set with least sensitivity w.r.t. normal traffic. + """ + + RELAXED = "Relaxed" + LOW = "Low" + DEFAULT = "Default" + HIGH = "High" + +class DdosSettingsProtectionCoverage(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The DDoS protection policy customizability of the public IP. Only standard coverage will have + the ability to be customized. + """ + + BASIC = "Basic" + STANDARD = "Standard" + +class DeleteOptions(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Specify what happens to the public IP address when the VM using it is deleted + """ + + DELETE = "Delete" + DETACH = "Detach" + +class DestinationPortBehavior(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Destination port behavior. + """ + + NONE = "None" + LISTEN_IF_AVAILABLE = "ListenIfAvailable" + +class DhGroup(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The DH Groups used in IKE Phase 1 for initial SA. + """ + + NONE = "None" + DH_GROUP1 = "DHGroup1" + DH_GROUP2 = "DHGroup2" + DH_GROUP14 = "DHGroup14" + DH_GROUP2048 = "DHGroup2048" + ECP256 = "ECP256" + ECP384 = "ECP384" + DH_GROUP24 = "DHGroup24" + +class Direction(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The direction of the traffic. + """ + + INBOUND = "Inbound" + OUTBOUND = "Outbound" + +class EffectiveRouteSource(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Who created the route. + """ + + UNKNOWN = "Unknown" + USER = "User" + VIRTUAL_NETWORK_GATEWAY = "VirtualNetworkGateway" + DEFAULT = "Default" + +class EffectiveRouteState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The value of effective route. + """ + + ACTIVE = "Active" + INVALID = "Invalid" + +class EffectiveSecurityRuleProtocol(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The network protocol this rule applies to. + """ + + TCP = "Tcp" + UDP = "Udp" + ALL = "All" + +class EndpointType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The endpoint type. + """ + + AZURE_VM = "AzureVM" + AZURE_V_NET = "AzureVNet" + AZURE_SUBNET = "AzureSubnet" + EXTERNAL_ADDRESS = "ExternalAddress" + MMA_WORKSPACE_MACHINE = "MMAWorkspaceMachine" + MMA_WORKSPACE_NETWORK = "MMAWorkspaceNetwork" + +class EvaluationState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Connectivity analysis evaluation state. + """ + + NOT_STARTED = "NotStarted" + IN_PROGRESS = "InProgress" + COMPLETED = "Completed" + +class ExpressRouteCircuitPeeringAdvertisedPublicPrefixState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The advertised public prefix state of the Peering resource. + """ + + NOT_CONFIGURED = "NotConfigured" + CONFIGURING = "Configuring" + CONFIGURED = "Configured" + VALIDATION_NEEDED = "ValidationNeeded" + +class ExpressRouteCircuitPeeringState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The state of peering. + """ + + DISABLED = "Disabled" + ENABLED = "Enabled" + +class ExpressRouteCircuitSkuFamily(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The family of the SKU. + """ + + UNLIMITED_DATA = "UnlimitedData" + METERED_DATA = "MeteredData" + +class ExpressRouteCircuitSkuTier(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The tier of the SKU. + """ + + STANDARD = "Standard" + PREMIUM = "Premium" + BASIC = "Basic" + LOCAL = "Local" + +class ExpressRouteLinkAdminState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Administrative state of the physical port. + """ + + ENABLED = "Enabled" + DISABLED = "Disabled" + +class ExpressRouteLinkConnectorType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Physical fiber port type. + """ + + LC = "LC" + SC = "SC" + +class ExpressRouteLinkMacSecCipher(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Mac security cipher. + """ + + GCM_AES256 = "GcmAes256" + GCM_AES128 = "GcmAes128" + GCM_AES_XPN128 = "GcmAesXpn128" + GCM_AES_XPN256 = "GcmAesXpn256" + +class ExpressRouteLinkMacSecSciState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Sci mode enabled/disabled. + """ + + DISABLED = "Disabled" + ENABLED = "Enabled" + +class ExpressRoutePeeringState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The state of peering. + """ + + DISABLED = "Disabled" + ENABLED = "Enabled" + +class ExpressRoutePeeringType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The peering type. + """ + + AZURE_PUBLIC_PEERING = "AzurePublicPeering" + AZURE_PRIVATE_PEERING = "AzurePrivatePeering" + MICROSOFT_PEERING = "MicrosoftPeering" + +class ExpressRoutePortsEncapsulation(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Encapsulation method on physical ports. + """ + + DOT1_Q = "Dot1Q" + QIN_Q = "QinQ" + +class ExtendedLocationTypes(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The supported ExtendedLocation types. Currently only EdgeZone is supported in Microsoft.Network + resources. + """ + + EDGE_ZONE = "EdgeZone" + +class FirewallPolicyFilterRuleCollectionActionType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The action type of a rule. + """ + + ALLOW = "Allow" + DENY = "Deny" + +class FirewallPolicyIntrusionDetectionProtocol(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Possible intrusion detection bypass traffic protocols. + """ + + TCP = "TCP" + UDP = "UDP" + ICMP = "ICMP" + ANY = "ANY" + +class FirewallPolicyIntrusionDetectionStateType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Possible state values. + """ + + OFF = "Off" + ALERT = "Alert" + DENY = "Deny" + +class FirewallPolicyNatRuleCollectionActionType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The action type of a rule. + """ + + DNAT = "DNAT" + +class FirewallPolicyRuleApplicationProtocolType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The application protocol type of a Rule. + """ + + HTTP = "Http" + HTTPS = "Https" + +class FirewallPolicyRuleCollectionType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The type of the rule collection. + """ + + FIREWALL_POLICY_NAT_RULE_COLLECTION = "FirewallPolicyNatRuleCollection" + FIREWALL_POLICY_FILTER_RULE_COLLECTION = "FirewallPolicyFilterRuleCollection" + +class FirewallPolicyRuleNetworkProtocol(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The Network protocol of a Rule. + """ + + TCP = "TCP" + UDP = "UDP" + ANY = "Any" + ICMP = "ICMP" + +class FirewallPolicyRuleType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Rule Type. + """ + + APPLICATION_RULE = "ApplicationRule" + NETWORK_RULE = "NetworkRule" + NAT_RULE = "NatRule" + +class FirewallPolicySkuTier(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Tier of Firewall Policy. + """ + + STANDARD = "Standard" + PREMIUM = "Premium" + +class FlowLogFormatType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The file type of flow log. + """ + + JSON = "JSON" + +class GatewayLoadBalancerTunnelInterfaceType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Traffic type of gateway load balancer tunnel interface. + """ + + NONE = "None" + INTERNAL = "Internal" + EXTERNAL = "External" + +class GatewayLoadBalancerTunnelProtocol(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Protocol of gateway load balancer tunnel interface. + """ + + NONE = "None" + NATIVE = "Native" + VXLAN = "VXLAN" + +class HTTPConfigurationMethod(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The HTTP method to use. + """ + + GET = "Get" + POST = "Post" + +class HTTPMethod(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """HTTP method. + """ + + GET = "Get" + +class HubBgpConnectionStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The current state of the VirtualHub to Peer. + """ + + UNKNOWN = "Unknown" + CONNECTING = "Connecting" + CONNECTED = "Connected" + NOT_CONNECTED = "NotConnected" + +class HubVirtualNetworkConnectionStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The current state of the VirtualHub to vnet connection. + """ + + UNKNOWN = "Unknown" + CONNECTING = "Connecting" + CONNECTED = "Connected" + NOT_CONNECTED = "NotConnected" + +class IkeEncryption(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The IKE encryption algorithm (IKE phase 2). + """ + + DES = "DES" + DES3 = "DES3" + AES128 = "AES128" + AES192 = "AES192" + AES256 = "AES256" + GCMAES256 = "GCMAES256" + GCMAES128 = "GCMAES128" + +class IkeIntegrity(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The IKE integrity algorithm (IKE phase 2). + """ + + MD5 = "MD5" + SHA1 = "SHA1" + SHA256 = "SHA256" + SHA384 = "SHA384" + GCMAES256 = "GCMAES256" + GCMAES128 = "GCMAES128" + +class InboundSecurityRulesProtocol(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Protocol. This should be either TCP or UDP. + """ + + TCP = "TCP" + UDP = "UDP" + +class IPAllocationMethod(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """IP address allocation method. + """ + + STATIC = "Static" + DYNAMIC = "Dynamic" + +class IpAllocationType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """IpAllocation type. + """ + + UNDEFINED = "Undefined" + HYPERNET = "Hypernet" + +class IpFlowProtocol(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Protocol to be verified on. + """ + + TCP = "TCP" + UDP = "UDP" + +class IpsecEncryption(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The IPSec encryption algorithm (IKE phase 1). + """ + + NONE = "None" + DES = "DES" + DES3 = "DES3" + AES128 = "AES128" + AES192 = "AES192" + AES256 = "AES256" + GCMAES128 = "GCMAES128" + GCMAES192 = "GCMAES192" + GCMAES256 = "GCMAES256" + +class IpsecIntegrity(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The IPSec integrity algorithm (IKE phase 1). + """ + + MD5 = "MD5" + SHA1 = "SHA1" + SHA256 = "SHA256" + GCMAES128 = "GCMAES128" + GCMAES192 = "GCMAES192" + GCMAES256 = "GCMAES256" + +class IPVersion(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """IP address version. + """ + + I_PV4 = "IPv4" + I_PV6 = "IPv6" + +class IssueType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The type of issue. + """ + + UNKNOWN = "Unknown" + AGENT_STOPPED = "AgentStopped" + GUEST_FIREWALL = "GuestFirewall" + DNS_RESOLUTION = "DnsResolution" + SOCKET_BIND = "SocketBind" + NETWORK_SECURITY_RULE = "NetworkSecurityRule" + USER_DEFINED_ROUTE = "UserDefinedRoute" + PORT_THROTTLED = "PortThrottled" + PLATFORM = "Platform" + +class LoadBalancerOutboundRuleProtocol(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The protocol for the outbound rule in load balancer. + """ + + TCP = "Tcp" + UDP = "Udp" + ALL = "All" + +class LoadBalancerSkuName(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Name of a load balancer SKU. + """ + + BASIC = "Basic" + STANDARD = "Standard" + GATEWAY = "Gateway" + +class LoadBalancerSkuTier(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Tier of a load balancer SKU. + """ + + REGIONAL = "Regional" + GLOBAL_ENUM = "Global" + +class LoadDistribution(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The load distribution policy for this rule. + """ + + DEFAULT = "Default" + SOURCE_IP = "SourceIP" + SOURCE_IP_PROTOCOL = "SourceIPProtocol" + +class ManagedRuleEnabledState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The state of the managed rule. Defaults to Disabled if not specified. + """ + + DISABLED = "Disabled" + +class NatGatewaySkuName(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Name of Nat Gateway SKU. + """ + + STANDARD = "Standard" + +class NetworkInterfaceMigrationPhase(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Migration phase of Network Interface resource. + """ + + NONE = "None" + PREPARE = "Prepare" + COMMIT = "Commit" + ABORT = "Abort" + COMMITTED = "Committed" + +class NetworkInterfaceNicType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Type of Network Interface resource. + """ + + STANDARD = "Standard" + ELASTIC = "Elastic" + +class NetworkOperationStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Status of the Azure async operation. + """ + + IN_PROGRESS = "InProgress" + SUCCEEDED = "Succeeded" + FAILED = "Failed" + +class NextHopType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Next hop type. + """ + + INTERNET = "Internet" + VIRTUAL_APPLIANCE = "VirtualAppliance" + VIRTUAL_NETWORK_GATEWAY = "VirtualNetworkGateway" + VNET_LOCAL = "VnetLocal" + HYPER_NET_GATEWAY = "HyperNetGateway" + NONE = "None" + +class OfficeTrafficCategory(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The office traffic category. + """ + + OPTIMIZE = "Optimize" + OPTIMIZE_AND_ALLOW = "OptimizeAndAllow" + ALL = "All" + NONE = "None" + +class Origin(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The origin of the issue. + """ + + LOCAL = "Local" + INBOUND = "Inbound" + OUTBOUND = "Outbound" + +class OutputType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Connection monitor output destination type. Currently, only "Workspace" is supported. + """ + + WORKSPACE = "Workspace" + +class OwaspCrsExclusionEntryMatchVariable(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The variable to be excluded. + """ + + REQUEST_HEADER_NAMES = "RequestHeaderNames" + REQUEST_COOKIE_NAMES = "RequestCookieNames" + REQUEST_ARG_NAMES = "RequestArgNames" + +class OwaspCrsExclusionEntrySelectorMatchOperator(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """When matchVariable is a collection, operate on the selector to specify which elements in the + collection this exclusion applies to. + """ + + EQUALS = "Equals" + CONTAINS = "Contains" + STARTS_WITH = "StartsWith" + ENDS_WITH = "EndsWith" + EQUALS_ANY = "EqualsAny" + +class PcError(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + + INTERNAL_ERROR = "InternalError" + AGENT_STOPPED = "AgentStopped" + CAPTURE_FAILED = "CaptureFailed" + LOCAL_FILE_FAILED = "LocalFileFailed" + STORAGE_FAILED = "StorageFailed" + +class PcProtocol(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Protocol to be filtered on. + """ + + TCP = "TCP" + UDP = "UDP" + ANY = "Any" + +class PcStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The status of the packet capture session. + """ + + NOT_STARTED = "NotStarted" + RUNNING = "Running" + STOPPED = "Stopped" + ERROR = "Error" + UNKNOWN = "Unknown" + +class PfsGroup(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The Pfs Groups used in IKE Phase 2 for new child SA. + """ + + NONE = "None" + PFS1 = "PFS1" + PFS2 = "PFS2" + PFS2048 = "PFS2048" + ECP256 = "ECP256" + ECP384 = "ECP384" + PFS24 = "PFS24" + PFS14 = "PFS14" + PFSMM = "PFSMM" + +class PreferredIPVersion(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The preferred IP version to use in test evaluation. The connection monitor may choose to use a + different version depending on other parameters. + """ + + I_PV4 = "IPv4" + I_PV6 = "IPv6" + +class PreferredRoutingGateway(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The preferred routing gateway types + """ + + EXPRESS_ROUTE = "ExpressRoute" + VPN_GATEWAY = "VpnGateway" + NONE = "None" + +class ProbeProtocol(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The protocol of the end point. If 'Tcp' is specified, a received ACK is required for the probe + to be successful. If 'Http' or 'Https' is specified, a 200 OK response from the specifies URI + is required for the probe to be successful. + """ + + HTTP = "Http" + TCP = "Tcp" + HTTPS = "Https" + +class ProcessorArchitecture(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """VPN client Processor Architecture. + """ + + AMD64 = "Amd64" + X86 = "X86" + +class Protocol(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Network protocol. + """ + + TCP = "Tcp" + HTTP = "Http" + HTTPS = "Https" + ICMP = "Icmp" + +class ProtocolType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """RNM supported protocol types. + """ + + DO_NOT_USE = "DoNotUse" + ICMP = "Icmp" + TCP = "Tcp" + UDP = "Udp" + GRE = "Gre" + ESP = "Esp" + AH = "Ah" + VXLAN = "Vxlan" + ALL = "All" + +class ProvisioningState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The current provisioning state. + """ + + SUCCEEDED = "Succeeded" + UPDATING = "Updating" + DELETING = "Deleting" + FAILED = "Failed" + +class PublicIPAddressMigrationPhase(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Migration phase of Public IP Address. + """ + + NONE = "None" + PREPARE = "Prepare" + COMMIT = "Commit" + ABORT = "Abort" + COMMITTED = "Committed" + +class PublicIPAddressSkuName(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Name of a public IP address SKU. + """ + + BASIC = "Basic" + STANDARD = "Standard" + +class PublicIPAddressSkuTier(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Tier of a public IP address SKU. + """ + + REGIONAL = "Regional" + GLOBAL_ENUM = "Global" + +class PublicIPPrefixSkuName(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Name of a public IP prefix SKU. + """ + + STANDARD = "Standard" + +class PublicIPPrefixSkuTier(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Tier of a public IP prefix SKU. + """ + + REGIONAL = "Regional" + GLOBAL_ENUM = "Global" + +class ResourceIdentityType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes + both an implicitly created identity and a set of user assigned identities. The type 'None' will + remove any identities from the virtual machine. + """ + + SYSTEM_ASSIGNED = "SystemAssigned" + USER_ASSIGNED = "UserAssigned" + SYSTEM_ASSIGNED_USER_ASSIGNED = "SystemAssigned, UserAssigned" + NONE = "None" + +class RouteFilterRuleType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The rule type of the rule. + """ + + COMMUNITY = "Community" + +class RouteNextHopType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The type of Azure hop the packet should be sent to. + """ + + VIRTUAL_NETWORK_GATEWAY = "VirtualNetworkGateway" + VNET_LOCAL = "VnetLocal" + INTERNET = "Internet" + VIRTUAL_APPLIANCE = "VirtualAppliance" + NONE = "None" + +class RoutingState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The current routing state of the VirtualHub. + """ + + NONE = "None" + PROVISIONED = "Provisioned" + PROVISIONING = "Provisioning" + FAILED = "Failed" + +class SecurityPartnerProviderConnectionStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The current state of the connection with Security Partner Provider. + """ + + UNKNOWN = "Unknown" + PARTIALLY_CONNECTED = "PartiallyConnected" + CONNECTED = "Connected" + NOT_CONNECTED = "NotConnected" + +class SecurityProviderName(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The Security Providers. + """ + + Z_SCALER = "ZScaler" + I_BOSS = "IBoss" + CHECKPOINT = "Checkpoint" + +class SecurityRuleAccess(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Whether network traffic is allowed or denied. + """ + + ALLOW = "Allow" + DENY = "Deny" + +class SecurityRuleDirection(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The direction of the rule. The direction specifies if rule will be evaluated on incoming or + outgoing traffic. + """ + + INBOUND = "Inbound" + OUTBOUND = "Outbound" + +class SecurityRuleProtocol(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Network protocol this rule applies to. + """ + + TCP = "Tcp" + UDP = "Udp" + ICMP = "Icmp" + ESP = "Esp" + ASTERISK = "*" + AH = "Ah" + +class ServiceProviderProvisioningState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The ServiceProviderProvisioningState state of the resource. + """ + + NOT_PROVISIONED = "NotProvisioned" + PROVISIONING = "Provisioning" + PROVISIONED = "Provisioned" + DEPROVISIONING = "Deprovisioning" + +class Severity(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The severity of the issue. + """ + + ERROR = "Error" + WARNING = "Warning" + +class SyncRemoteAddressSpace(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + + TRUE = "true" + +class TransportProtocol(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The transport protocol for the endpoint. + """ + + UDP = "Udp" + TCP = "Tcp" + ALL = "All" + +class TunnelConnectionStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The current state of the tunnel. + """ + + UNKNOWN = "Unknown" + CONNECTING = "Connecting" + CONNECTED = "Connected" + NOT_CONNECTED = "NotConnected" + +class UsageUnit(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """An enum describing the unit of measurement. + """ + + COUNT = "Count" + +class VerbosityLevel(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Verbosity level. + """ + + NORMAL = "Normal" + MINIMUM = "Minimum" + FULL = "Full" + +class VirtualNetworkGatewayConnectionMode(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Gateway connection type. + """ + + DEFAULT = "Default" + RESPONDER_ONLY = "ResponderOnly" + INITIATOR_ONLY = "InitiatorOnly" + +class VirtualNetworkGatewayConnectionProtocol(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Gateway connection protocol. + """ + + IK_EV2 = "IKEv2" + IK_EV1 = "IKEv1" + +class VirtualNetworkGatewayConnectionStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Virtual Network Gateway connection status. + """ + + UNKNOWN = "Unknown" + CONNECTING = "Connecting" + CONNECTED = "Connected" + NOT_CONNECTED = "NotConnected" + +class VirtualNetworkGatewayConnectionType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Gateway connection type. + """ + + I_PSEC = "IPsec" + VNET2_VNET = "Vnet2Vnet" + EXPRESS_ROUTE = "ExpressRoute" + VPN_CLIENT = "VPNClient" + +class VirtualNetworkGatewaySkuName(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Gateway SKU name. + """ + + BASIC = "Basic" + HIGH_PERFORMANCE = "HighPerformance" + STANDARD = "Standard" + ULTRA_PERFORMANCE = "UltraPerformance" + VPN_GW1 = "VpnGw1" + VPN_GW2 = "VpnGw2" + VPN_GW3 = "VpnGw3" + VPN_GW4 = "VpnGw4" + VPN_GW5 = "VpnGw5" + VPN_GW1_AZ = "VpnGw1AZ" + VPN_GW2_AZ = "VpnGw2AZ" + VPN_GW3_AZ = "VpnGw3AZ" + VPN_GW4_AZ = "VpnGw4AZ" + VPN_GW5_AZ = "VpnGw5AZ" + ER_GW1_AZ = "ErGw1AZ" + ER_GW2_AZ = "ErGw2AZ" + ER_GW3_AZ = "ErGw3AZ" + +class VirtualNetworkGatewaySkuTier(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Gateway SKU tier. + """ + + BASIC = "Basic" + HIGH_PERFORMANCE = "HighPerformance" + STANDARD = "Standard" + ULTRA_PERFORMANCE = "UltraPerformance" + VPN_GW1 = "VpnGw1" + VPN_GW2 = "VpnGw2" + VPN_GW3 = "VpnGw3" + VPN_GW4 = "VpnGw4" + VPN_GW5 = "VpnGw5" + VPN_GW1_AZ = "VpnGw1AZ" + VPN_GW2_AZ = "VpnGw2AZ" + VPN_GW3_AZ = "VpnGw3AZ" + VPN_GW4_AZ = "VpnGw4AZ" + VPN_GW5_AZ = "VpnGw5AZ" + ER_GW1_AZ = "ErGw1AZ" + ER_GW2_AZ = "ErGw2AZ" + ER_GW3_AZ = "ErGw3AZ" + +class VirtualNetworkGatewayType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The type of this virtual network gateway. + """ + + VPN = "Vpn" + EXPRESS_ROUTE = "ExpressRoute" + LOCAL_GATEWAY = "LocalGateway" + +class VirtualNetworkPeeringLevel(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The peering sync status of the virtual network peering. + """ + + FULLY_IN_SYNC = "FullyInSync" + REMOTE_NOT_IN_SYNC = "RemoteNotInSync" + LOCAL_NOT_IN_SYNC = "LocalNotInSync" + LOCAL_AND_REMOTE_NOT_IN_SYNC = "LocalAndRemoteNotInSync" + +class VirtualNetworkPeeringState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The status of the virtual network peering. + """ + + INITIATED = "Initiated" + CONNECTED = "Connected" + DISCONNECTED = "Disconnected" + +class VirtualNetworkPrivateEndpointNetworkPolicies(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Enable or Disable apply network policies on private end point in the subnet. + """ + + ENABLED = "Enabled" + DISABLED = "Disabled" + +class VirtualNetworkPrivateLinkServiceNetworkPolicies(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Enable or Disable apply network policies on private link service in the subnet. + """ + + ENABLED = "Enabled" + DISABLED = "Disabled" + +class VirtualWanSecurityProviderType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The virtual wan security provider type. + """ + + EXTERNAL = "External" + NATIVE = "Native" + +class VpnAuthenticationType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """VPN authentication types enabled for the virtual network gateway. + """ + + CERTIFICATE = "Certificate" + RADIUS = "Radius" + AAD = "AAD" + +class VpnClientProtocol(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """VPN client protocol enabled for the virtual network gateway. + """ + + IKE_V2 = "IkeV2" + SSTP = "SSTP" + OPEN_VPN = "OpenVPN" + +class VpnConnectionStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The current state of the vpn connection. + """ + + UNKNOWN = "Unknown" + CONNECTING = "Connecting" + CONNECTED = "Connected" + NOT_CONNECTED = "NotConnected" + +class VpnGatewayGeneration(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The generation for this VirtualNetworkGateway. Must be None if gatewayType is not VPN. + """ + + NONE = "None" + GENERATION1 = "Generation1" + GENERATION2 = "Generation2" + +class VpnGatewayTunnelingProtocol(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """VPN protocol enabled for the VpnServerConfiguration. + """ + + IKE_V2 = "IkeV2" + OPEN_VPN = "OpenVPN" + +class VpnLinkConnectionMode(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Vpn link connection mode. + """ + + DEFAULT = "Default" + RESPONDER_ONLY = "ResponderOnly" + INITIATOR_ONLY = "InitiatorOnly" + +class VpnNatRuleMode(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The Source NAT direction of a VPN NAT. + """ + + EGRESS_SNAT = "EgressSnat" + INGRESS_SNAT = "IngressSnat" + +class VpnNatRuleType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The type of NAT rule for VPN NAT. + """ + + STATIC = "Static" + DYNAMIC = "Dynamic" + +class VpnType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The type of this virtual network gateway. + """ + + POLICY_BASED = "PolicyBased" + ROUTE_BASED = "RouteBased" + +class WebApplicationFirewallAction(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Type of Actions. + """ + + ALLOW = "Allow" + BLOCK = "Block" + LOG = "Log" + +class WebApplicationFirewallEnabledState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The state of the policy. + """ + + DISABLED = "Disabled" + ENABLED = "Enabled" + +class WebApplicationFirewallMatchVariable(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Match Variable. + """ + + REMOTE_ADDR = "RemoteAddr" + REQUEST_METHOD = "RequestMethod" + QUERY_STRING = "QueryString" + POST_ARGS = "PostArgs" + REQUEST_URI = "RequestUri" + REQUEST_HEADERS = "RequestHeaders" + REQUEST_BODY = "RequestBody" + REQUEST_COOKIES = "RequestCookies" + +class WebApplicationFirewallMode(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The mode of the policy. + """ + + PREVENTION = "Prevention" + DETECTION = "Detection" + +class WebApplicationFirewallOperator(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The operator to be matched. + """ + + IP_MATCH = "IPMatch" + EQUAL = "Equal" + CONTAINS = "Contains" + LESS_THAN = "LessThan" + GREATER_THAN = "GreaterThan" + LESS_THAN_OR_EQUAL = "LessThanOrEqual" + GREATER_THAN_OR_EQUAL = "GreaterThanOrEqual" + BEGINS_WITH = "BeginsWith" + ENDS_WITH = "EndsWith" + REGEX = "Regex" + GEO_MATCH = "GeoMatch" + +class WebApplicationFirewallPolicyResourceState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Resource status of the policy. + """ + + CREATING = "Creating" + ENABLING = "Enabling" + ENABLED = "Enabled" + DISABLING = "Disabling" + DISABLED = "Disabled" + DELETING = "Deleting" + +class WebApplicationFirewallRuleType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The rule type. + """ + + MATCH_RULE = "MatchRule" + INVALID = "Invalid" + +class WebApplicationFirewallTransform(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Transforms applied before matching. + """ + + LOWERCASE = "Lowercase" + TRIM = "Trim" + URL_DECODE = "UrlDecode" + URL_ENCODE = "UrlEncode" + REMOVE_NULLS = "RemoveNulls" + HTML_ENTITY_DECODE = "HtmlEntityDecode" diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/__init__.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/__init__.py new file mode 100644 index 000000000000..d1f7a6e542a4 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/__init__.py @@ -0,0 +1,227 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +from ._application_gateways_operations import ApplicationGatewaysOperations +from ._application_gateway_private_link_resources_operations import ApplicationGatewayPrivateLinkResourcesOperations +from ._application_gateway_private_endpoint_connections_operations import ApplicationGatewayPrivateEndpointConnectionsOperations +from ._application_security_groups_operations import ApplicationSecurityGroupsOperations +from ._available_delegations_operations import AvailableDelegationsOperations +from ._available_resource_group_delegations_operations import AvailableResourceGroupDelegationsOperations +from ._available_service_aliases_operations import AvailableServiceAliasesOperations +from ._azure_firewalls_operations import AzureFirewallsOperations +from ._azure_firewall_fqdn_tags_operations import AzureFirewallFqdnTagsOperations +from ._web_categories_operations import WebCategoriesOperations +from ._bastion_hosts_operations import BastionHostsOperations +from ._network_management_client_operations import NetworkManagementClientOperationsMixin +from ._network_interfaces_operations import NetworkInterfacesOperations +from ._public_ip_addresses_operations import PublicIPAddressesOperations +from ._custom_ip_prefixes_operations import CustomIPPrefixesOperations +from ._ddos_custom_policies_operations import DdosCustomPoliciesOperations +from ._ddos_protection_plans_operations import DdosProtectionPlansOperations +from ._dscp_configuration_operations import DscpConfigurationOperations +from ._available_endpoint_services_operations import AvailableEndpointServicesOperations +from ._express_route_circuit_authorizations_operations import ExpressRouteCircuitAuthorizationsOperations +from ._express_route_circuit_peerings_operations import ExpressRouteCircuitPeeringsOperations +from ._express_route_circuit_connections_operations import ExpressRouteCircuitConnectionsOperations +from ._peer_express_route_circuit_connections_operations import PeerExpressRouteCircuitConnectionsOperations +from ._express_route_circuits_operations import ExpressRouteCircuitsOperations +from ._express_route_service_providers_operations import ExpressRouteServiceProvidersOperations +from ._express_route_cross_connections_operations import ExpressRouteCrossConnectionsOperations +from ._express_route_cross_connection_peerings_operations import ExpressRouteCrossConnectionPeeringsOperations +from ._express_route_ports_locations_operations import ExpressRoutePortsLocationsOperations +from ._express_route_ports_operations import ExpressRoutePortsOperations +from ._express_route_links_operations import ExpressRouteLinksOperations +from ._firewall_policies_operations import FirewallPoliciesOperations +from ._firewall_policy_rule_collection_groups_operations import FirewallPolicyRuleCollectionGroupsOperations +from ._ip_allocations_operations import IpAllocationsOperations +from ._ip_groups_operations import IpGroupsOperations +from ._load_balancers_operations import LoadBalancersOperations +from ._load_balancer_backend_address_pools_operations import LoadBalancerBackendAddressPoolsOperations +from ._load_balancer_frontend_ip_configurations_operations import LoadBalancerFrontendIPConfigurationsOperations +from ._inbound_nat_rules_operations import InboundNatRulesOperations +from ._load_balancer_load_balancing_rules_operations import LoadBalancerLoadBalancingRulesOperations +from ._load_balancer_outbound_rules_operations import LoadBalancerOutboundRulesOperations +from ._load_balancer_network_interfaces_operations import LoadBalancerNetworkInterfacesOperations +from ._load_balancer_probes_operations import LoadBalancerProbesOperations +from ._nat_gateways_operations import NatGatewaysOperations +from ._network_interface_ip_configurations_operations import NetworkInterfaceIPConfigurationsOperations +from ._network_interface_load_balancers_operations import NetworkInterfaceLoadBalancersOperations +from ._network_interface_tap_configurations_operations import NetworkInterfaceTapConfigurationsOperations +from ._network_profiles_operations import NetworkProfilesOperations +from ._network_security_groups_operations import NetworkSecurityGroupsOperations +from ._security_rules_operations import SecurityRulesOperations +from ._default_security_rules_operations import DefaultSecurityRulesOperations +from ._network_virtual_appliances_operations import NetworkVirtualAppliancesOperations +from ._virtual_appliance_sites_operations import VirtualApplianceSitesOperations +from ._virtual_appliance_skus_operations import VirtualApplianceSkusOperations +from ._inbound_security_rule_operations import InboundSecurityRuleOperations +from ._network_watchers_operations import NetworkWatchersOperations +from ._packet_captures_operations import PacketCapturesOperations +from ._connection_monitors_operations import ConnectionMonitorsOperations +from ._flow_logs_operations import FlowLogsOperations +from ._operations import Operations +from ._private_endpoints_operations import PrivateEndpointsOperations +from ._available_private_endpoint_types_operations import AvailablePrivateEndpointTypesOperations +from ._private_dns_zone_groups_operations import PrivateDnsZoneGroupsOperations +from ._private_link_services_operations import PrivateLinkServicesOperations +from ._public_ip_prefixes_operations import PublicIPPrefixesOperations +from ._route_filters_operations import RouteFiltersOperations +from ._route_filter_rules_operations import RouteFilterRulesOperations +from ._route_tables_operations import RouteTablesOperations +from ._routes_operations import RoutesOperations +from ._security_partner_providers_operations import SecurityPartnerProvidersOperations +from ._bgp_service_communities_operations import BgpServiceCommunitiesOperations +from ._service_endpoint_policies_operations import ServiceEndpointPoliciesOperations +from ._service_endpoint_policy_definitions_operations import ServiceEndpointPolicyDefinitionsOperations +from ._service_tags_operations import ServiceTagsOperations +from ._usages_operations import UsagesOperations +from ._virtual_networks_operations import VirtualNetworksOperations +from ._subnets_operations import SubnetsOperations +from ._resource_navigation_links_operations import ResourceNavigationLinksOperations +from ._service_association_links_operations import ServiceAssociationLinksOperations +from ._virtual_network_peerings_operations import VirtualNetworkPeeringsOperations +from ._virtual_network_gateways_operations import VirtualNetworkGatewaysOperations +from ._virtual_network_gateway_connections_operations import VirtualNetworkGatewayConnectionsOperations +from ._local_network_gateways_operations import LocalNetworkGatewaysOperations +from ._virtual_network_gateway_nat_rules_operations import VirtualNetworkGatewayNatRulesOperations +from ._virtual_network_taps_operations import VirtualNetworkTapsOperations +from ._virtual_routers_operations import VirtualRoutersOperations +from ._virtual_router_peerings_operations import VirtualRouterPeeringsOperations +from ._virtual_wans_operations import VirtualWansOperations +from ._vpn_sites_operations import VpnSitesOperations +from ._vpn_site_links_operations import VpnSiteLinksOperations +from ._vpn_sites_configuration_operations import VpnSitesConfigurationOperations +from ._vpn_server_configurations_operations import VpnServerConfigurationsOperations +from ._virtual_hubs_operations import VirtualHubsOperations +from ._hub_virtual_network_connections_operations import HubVirtualNetworkConnectionsOperations +from ._vpn_gateways_operations import VpnGatewaysOperations +from ._vpn_link_connections_operations import VpnLinkConnectionsOperations +from ._vpn_connections_operations import VpnConnectionsOperations +from ._vpn_site_link_connections_operations import VpnSiteLinkConnectionsOperations +from ._nat_rules_operations import NatRulesOperations +from ._p2_svpn_gateways_operations import P2SVpnGatewaysOperations +from ._vpn_server_configurations_associated_with_virtual_wan_operations import VpnServerConfigurationsAssociatedWithVirtualWanOperations +from ._virtual_hub_route_table_v2_s_operations import VirtualHubRouteTableV2SOperations +from ._express_route_gateways_operations import ExpressRouteGatewaysOperations +from ._express_route_connections_operations import ExpressRouteConnectionsOperations +from ._virtual_hub_bgp_connection_operations import VirtualHubBgpConnectionOperations +from ._virtual_hub_bgp_connections_operations import VirtualHubBgpConnectionsOperations +from ._virtual_hub_ip_configuration_operations import VirtualHubIpConfigurationOperations +from ._hub_route_tables_operations import HubRouteTablesOperations +from ._web_application_firewall_policies_operations import WebApplicationFirewallPoliciesOperations + +__all__ = [ + 'ApplicationGatewaysOperations', + 'ApplicationGatewayPrivateLinkResourcesOperations', + 'ApplicationGatewayPrivateEndpointConnectionsOperations', + 'ApplicationSecurityGroupsOperations', + 'AvailableDelegationsOperations', + 'AvailableResourceGroupDelegationsOperations', + 'AvailableServiceAliasesOperations', + 'AzureFirewallsOperations', + 'AzureFirewallFqdnTagsOperations', + 'WebCategoriesOperations', + 'BastionHostsOperations', + 'NetworkManagementClientOperationsMixin', + 'NetworkInterfacesOperations', + 'PublicIPAddressesOperations', + 'CustomIPPrefixesOperations', + 'DdosCustomPoliciesOperations', + 'DdosProtectionPlansOperations', + 'DscpConfigurationOperations', + 'AvailableEndpointServicesOperations', + 'ExpressRouteCircuitAuthorizationsOperations', + 'ExpressRouteCircuitPeeringsOperations', + 'ExpressRouteCircuitConnectionsOperations', + 'PeerExpressRouteCircuitConnectionsOperations', + 'ExpressRouteCircuitsOperations', + 'ExpressRouteServiceProvidersOperations', + 'ExpressRouteCrossConnectionsOperations', + 'ExpressRouteCrossConnectionPeeringsOperations', + 'ExpressRoutePortsLocationsOperations', + 'ExpressRoutePortsOperations', + 'ExpressRouteLinksOperations', + 'FirewallPoliciesOperations', + 'FirewallPolicyRuleCollectionGroupsOperations', + 'IpAllocationsOperations', + 'IpGroupsOperations', + 'LoadBalancersOperations', + 'LoadBalancerBackendAddressPoolsOperations', + 'LoadBalancerFrontendIPConfigurationsOperations', + 'InboundNatRulesOperations', + 'LoadBalancerLoadBalancingRulesOperations', + 'LoadBalancerOutboundRulesOperations', + 'LoadBalancerNetworkInterfacesOperations', + 'LoadBalancerProbesOperations', + 'NatGatewaysOperations', + 'NetworkInterfaceIPConfigurationsOperations', + 'NetworkInterfaceLoadBalancersOperations', + 'NetworkInterfaceTapConfigurationsOperations', + 'NetworkProfilesOperations', + 'NetworkSecurityGroupsOperations', + 'SecurityRulesOperations', + 'DefaultSecurityRulesOperations', + 'NetworkVirtualAppliancesOperations', + 'VirtualApplianceSitesOperations', + 'VirtualApplianceSkusOperations', + 'InboundSecurityRuleOperations', + 'NetworkWatchersOperations', + 'PacketCapturesOperations', + 'ConnectionMonitorsOperations', + 'FlowLogsOperations', + 'Operations', + 'PrivateEndpointsOperations', + 'AvailablePrivateEndpointTypesOperations', + 'PrivateDnsZoneGroupsOperations', + 'PrivateLinkServicesOperations', + 'PublicIPPrefixesOperations', + 'RouteFiltersOperations', + 'RouteFilterRulesOperations', + 'RouteTablesOperations', + 'RoutesOperations', + 'SecurityPartnerProvidersOperations', + 'BgpServiceCommunitiesOperations', + 'ServiceEndpointPoliciesOperations', + 'ServiceEndpointPolicyDefinitionsOperations', + 'ServiceTagsOperations', + 'UsagesOperations', + 'VirtualNetworksOperations', + 'SubnetsOperations', + 'ResourceNavigationLinksOperations', + 'ServiceAssociationLinksOperations', + 'VirtualNetworkPeeringsOperations', + 'VirtualNetworkGatewaysOperations', + 'VirtualNetworkGatewayConnectionsOperations', + 'LocalNetworkGatewaysOperations', + 'VirtualNetworkGatewayNatRulesOperations', + 'VirtualNetworkTapsOperations', + 'VirtualRoutersOperations', + 'VirtualRouterPeeringsOperations', + 'VirtualWansOperations', + 'VpnSitesOperations', + 'VpnSiteLinksOperations', + 'VpnSitesConfigurationOperations', + 'VpnServerConfigurationsOperations', + 'VirtualHubsOperations', + 'HubVirtualNetworkConnectionsOperations', + 'VpnGatewaysOperations', + 'VpnLinkConnectionsOperations', + 'VpnConnectionsOperations', + 'VpnSiteLinkConnectionsOperations', + 'NatRulesOperations', + 'P2SVpnGatewaysOperations', + 'VpnServerConfigurationsAssociatedWithVirtualWanOperations', + 'VirtualHubRouteTableV2SOperations', + 'ExpressRouteGatewaysOperations', + 'ExpressRouteConnectionsOperations', + 'VirtualHubBgpConnectionOperations', + 'VirtualHubBgpConnectionsOperations', + 'VirtualHubIpConfigurationOperations', + 'HubRouteTablesOperations', + 'WebApplicationFirewallPoliciesOperations', +] diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_application_gateway_private_endpoint_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_application_gateway_private_endpoint_connections_operations.py new file mode 100644 index 000000000000..7aa26405c789 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_application_gateway_private_endpoint_connections_operations.py @@ -0,0 +1,439 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class ApplicationGatewayPrivateEndpointConnectionsOperations(object): + """ApplicationGatewayPrivateEndpointConnectionsOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def _delete_initial( + self, + resource_group_name, # type: str + application_gateway_name, # type: str + connection_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'applicationGatewayName': self._serialize.url("application_gateway_name", application_gateway_name, 'str'), + 'connectionName': self._serialize.url("connection_name", connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/privateEndpointConnections/{connectionName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + application_gateway_name, # type: str + connection_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the specified private endpoint connection on application gateway. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param application_gateway_name: The name of the application gateway. + :type application_gateway_name: str + :param connection_name: The name of the application gateway private endpoint connection. + :type connection_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + application_gateway_name=application_gateway_name, + connection_name=connection_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'applicationGatewayName': self._serialize.url("application_gateway_name", application_gateway_name, 'str'), + 'connectionName': self._serialize.url("connection_name", connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/privateEndpointConnections/{connectionName}'} # type: ignore + + def _update_initial( + self, + resource_group_name, # type: str + application_gateway_name, # type: str + connection_name, # type: str + parameters, # type: "_models.ApplicationGatewayPrivateEndpointConnection" + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.ApplicationGatewayPrivateEndpointConnection"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.ApplicationGatewayPrivateEndpointConnection"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'applicationGatewayName': self._serialize.url("application_gateway_name", application_gateway_name, 'str'), + 'connectionName': self._serialize.url("connection_name", connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'ApplicationGatewayPrivateEndpointConnection') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('ApplicationGatewayPrivateEndpointConnection', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/privateEndpointConnections/{connectionName}'} # type: ignore + + def begin_update( + self, + resource_group_name, # type: str + application_gateway_name, # type: str + connection_name, # type: str + parameters, # type: "_models.ApplicationGatewayPrivateEndpointConnection" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.ApplicationGatewayPrivateEndpointConnection"] + """Updates the specified private endpoint connection on application gateway. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param application_gateway_name: The name of the application gateway. + :type application_gateway_name: str + :param connection_name: The name of the application gateway private endpoint connection. + :type connection_name: str + :param parameters: Parameters supplied to update application gateway private endpoint + connection operation. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayPrivateEndpointConnection + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either ApplicationGatewayPrivateEndpointConnection or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayPrivateEndpointConnection] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.ApplicationGatewayPrivateEndpointConnection"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._update_initial( + resource_group_name=resource_group_name, + application_gateway_name=application_gateway_name, + connection_name=connection_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('ApplicationGatewayPrivateEndpointConnection', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'applicationGatewayName': self._serialize.url("application_gateway_name", application_gateway_name, 'str'), + 'connectionName': self._serialize.url("connection_name", connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/privateEndpointConnections/{connectionName}'} # type: ignore + + def get( + self, + resource_group_name, # type: str + application_gateway_name, # type: str + connection_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.ApplicationGatewayPrivateEndpointConnection" + """Gets the specified private endpoint connection on application gateway. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param application_gateway_name: The name of the application gateway. + :type application_gateway_name: str + :param connection_name: The name of the application gateway private endpoint connection. + :type connection_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ApplicationGatewayPrivateEndpointConnection, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayPrivateEndpointConnection + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ApplicationGatewayPrivateEndpointConnection"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'applicationGatewayName': self._serialize.url("application_gateway_name", application_gateway_name, 'str'), + 'connectionName': self._serialize.url("connection_name", connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ApplicationGatewayPrivateEndpointConnection', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/privateEndpointConnections/{connectionName}'} # type: ignore + + def list( + self, + resource_group_name, # type: str + application_gateway_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.ApplicationGatewayPrivateEndpointConnectionListResult"] + """Lists all private endpoint connections on an application gateway. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param application_gateway_name: The name of the application gateway. + :type application_gateway_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ApplicationGatewayPrivateEndpointConnectionListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayPrivateEndpointConnectionListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ApplicationGatewayPrivateEndpointConnectionListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'applicationGatewayName': self._serialize.url("application_gateway_name", application_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('ApplicationGatewayPrivateEndpointConnectionListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/privateEndpointConnections'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_application_gateway_private_link_resources_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_application_gateway_private_link_resources_operations.py new file mode 100644 index 000000000000..63c0ab57b923 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_application_gateway_private_link_resources_operations.py @@ -0,0 +1,121 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.mgmt.core.exceptions import ARMErrorFormat + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class ApplicationGatewayPrivateLinkResourcesOperations(object): + """ApplicationGatewayPrivateLinkResourcesOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + resource_group_name, # type: str + application_gateway_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.ApplicationGatewayPrivateLinkResourceListResult"] + """Lists all private link resources on an application gateway. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param application_gateway_name: The name of the application gateway. + :type application_gateway_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ApplicationGatewayPrivateLinkResourceListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayPrivateLinkResourceListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ApplicationGatewayPrivateLinkResourceListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'applicationGatewayName': self._serialize.url("application_gateway_name", application_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('ApplicationGatewayPrivateLinkResourceListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/privateLinkResources'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_application_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_application_gateways_operations.py new file mode 100644 index 000000000000..f2680624220e --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_application_gateways_operations.py @@ -0,0 +1,1413 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, List, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class ApplicationGatewaysOperations(object): + """ApplicationGatewaysOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def _delete_initial( + self, + resource_group_name, # type: str + application_gateway_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'applicationGatewayName': self._serialize.url("application_gateway_name", application_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + application_gateway_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the specified application gateway. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param application_gateway_name: The name of the application gateway. + :type application_gateway_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + application_gateway_name=application_gateway_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'applicationGatewayName': self._serialize.url("application_gateway_name", application_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}'} # type: ignore + + def get( + self, + resource_group_name, # type: str + application_gateway_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.ApplicationGateway" + """Gets the specified application gateway. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param application_gateway_name: The name of the application gateway. + :type application_gateway_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ApplicationGateway, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.ApplicationGateway + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ApplicationGateway"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'applicationGatewayName': self._serialize.url("application_gateway_name", application_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ApplicationGateway', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}'} # type: ignore + + def _create_or_update_initial( + self, + resource_group_name, # type: str + application_gateway_name, # type: str + parameters, # type: "_models.ApplicationGateway" + **kwargs # type: Any + ): + # type: (...) -> "_models.ApplicationGateway" + cls = kwargs.pop('cls', None) # type: ClsType["_models.ApplicationGateway"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'applicationGatewayName': self._serialize.url("application_gateway_name", application_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'ApplicationGateway') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('ApplicationGateway', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('ApplicationGateway', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}'} # type: ignore + + def begin_create_or_update( + self, + resource_group_name, # type: str + application_gateway_name, # type: str + parameters, # type: "_models.ApplicationGateway" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.ApplicationGateway"] + """Creates or updates the specified application gateway. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param application_gateway_name: The name of the application gateway. + :type application_gateway_name: str + :param parameters: Parameters supplied to the create or update application gateway operation. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.ApplicationGateway + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either ApplicationGateway or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.ApplicationGateway] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.ApplicationGateway"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + resource_group_name=resource_group_name, + application_gateway_name=application_gateway_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('ApplicationGateway', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'applicationGatewayName': self._serialize.url("application_gateway_name", application_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}'} # type: ignore + + def update_tags( + self, + resource_group_name, # type: str + application_gateway_name, # type: str + parameters, # type: "_models.TagsObject" + **kwargs # type: Any + ): + # type: (...) -> "_models.ApplicationGateway" + """Updates the specified application gateway tags. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param application_gateway_name: The name of the application gateway. + :type application_gateway_name: str + :param parameters: Parameters supplied to update application gateway tags. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.TagsObject + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ApplicationGateway, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.ApplicationGateway + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ApplicationGateway"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update_tags.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'applicationGatewayName': self._serialize.url("application_gateway_name", application_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'TagsObject') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ApplicationGateway', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}'} # type: ignore + + def list( + self, + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.ApplicationGatewayListResult"] + """Lists all application gateways in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ApplicationGatewayListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ApplicationGatewayListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('ApplicationGatewayListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways'} # type: ignore + + def list_all( + self, + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.ApplicationGatewayListResult"] + """Gets all the application gateways in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ApplicationGatewayListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ApplicationGatewayListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_all.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('ApplicationGatewayListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_all.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGateways'} # type: ignore + + def _start_initial( + self, + resource_group_name, # type: str + application_gateway_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._start_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'applicationGatewayName': self._serialize.url("application_gateway_name", application_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _start_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/start'} # type: ignore + + def begin_start( + self, + resource_group_name, # type: str + application_gateway_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Starts the specified application gateway. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param application_gateway_name: The name of the application gateway. + :type application_gateway_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._start_initial( + resource_group_name=resource_group_name, + application_gateway_name=application_gateway_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'applicationGatewayName': self._serialize.url("application_gateway_name", application_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_start.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/start'} # type: ignore + + def _stop_initial( + self, + resource_group_name, # type: str + application_gateway_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._stop_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'applicationGatewayName': self._serialize.url("application_gateway_name", application_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _stop_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/stop'} # type: ignore + + def begin_stop( + self, + resource_group_name, # type: str + application_gateway_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Stops the specified application gateway in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param application_gateway_name: The name of the application gateway. + :type application_gateway_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._stop_initial( + resource_group_name=resource_group_name, + application_gateway_name=application_gateway_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'applicationGatewayName': self._serialize.url("application_gateway_name", application_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_stop.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/stop'} # type: ignore + + def _backend_health_initial( + self, + resource_group_name, # type: str + application_gateway_name, # type: str + expand=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.ApplicationGatewayBackendHealth"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.ApplicationGatewayBackendHealth"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._backend_health_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'applicationGatewayName': self._serialize.url("application_gateway_name", application_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('ApplicationGatewayBackendHealth', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _backend_health_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/backendhealth'} # type: ignore + + def begin_backend_health( + self, + resource_group_name, # type: str + application_gateway_name, # type: str + expand=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.ApplicationGatewayBackendHealth"] + """Gets the backend health of the specified application gateway in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param application_gateway_name: The name of the application gateway. + :type application_gateway_name: str + :param expand: Expands BackendAddressPool and BackendHttpSettings referenced in backend health. + :type expand: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either ApplicationGatewayBackendHealth or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayBackendHealth] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.ApplicationGatewayBackendHealth"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._backend_health_initial( + resource_group_name=resource_group_name, + application_gateway_name=application_gateway_name, + expand=expand, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('ApplicationGatewayBackendHealth', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'applicationGatewayName': self._serialize.url("application_gateway_name", application_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_backend_health.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/backendhealth'} # type: ignore + + def _backend_health_on_demand_initial( + self, + resource_group_name, # type: str + application_gateway_name, # type: str + probe_request, # type: "_models.ApplicationGatewayOnDemandProbe" + expand=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.ApplicationGatewayBackendHealthOnDemand"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.ApplicationGatewayBackendHealthOnDemand"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._backend_health_on_demand_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'applicationGatewayName': self._serialize.url("application_gateway_name", application_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(probe_request, 'ApplicationGatewayOnDemandProbe') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('ApplicationGatewayBackendHealthOnDemand', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _backend_health_on_demand_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/getBackendHealthOnDemand'} # type: ignore + + def begin_backend_health_on_demand( + self, + resource_group_name, # type: str + application_gateway_name, # type: str + probe_request, # type: "_models.ApplicationGatewayOnDemandProbe" + expand=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.ApplicationGatewayBackendHealthOnDemand"] + """Gets the backend health for given combination of backend pool and http setting of the specified + application gateway in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param application_gateway_name: The name of the application gateway. + :type application_gateway_name: str + :param probe_request: Request body for on-demand test probe operation. + :type probe_request: ~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayOnDemandProbe + :param expand: Expands BackendAddressPool and BackendHttpSettings referenced in backend health. + :type expand: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either ApplicationGatewayBackendHealthOnDemand or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayBackendHealthOnDemand] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.ApplicationGatewayBackendHealthOnDemand"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._backend_health_on_demand_initial( + resource_group_name=resource_group_name, + application_gateway_name=application_gateway_name, + probe_request=probe_request, + expand=expand, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('ApplicationGatewayBackendHealthOnDemand', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'applicationGatewayName': self._serialize.url("application_gateway_name", application_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_backend_health_on_demand.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/getBackendHealthOnDemand'} # type: ignore + + def list_available_server_variables( + self, + **kwargs # type: Any + ): + # type: (...) -> List[str] + """Lists all available server variables. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: list of str, or the result of cls(response) + :rtype: list[str] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType[List[str]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.list_available_server_variables.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.Error, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('[str]', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + list_available_server_variables.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableServerVariables'} # type: ignore + + def list_available_request_headers( + self, + **kwargs # type: Any + ): + # type: (...) -> List[str] + """Lists all available request headers. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: list of str, or the result of cls(response) + :rtype: list[str] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType[List[str]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.list_available_request_headers.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.Error, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('[str]', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + list_available_request_headers.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableRequestHeaders'} # type: ignore + + def list_available_response_headers( + self, + **kwargs # type: Any + ): + # type: (...) -> List[str] + """Lists all available response headers. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: list of str, or the result of cls(response) + :rtype: list[str] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType[List[str]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.list_available_response_headers.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.Error, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('[str]', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + list_available_response_headers.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableResponseHeaders'} # type: ignore + + def list_available_waf_rule_sets( + self, + **kwargs # type: Any + ): + # type: (...) -> "_models.ApplicationGatewayAvailableWafRuleSetsResult" + """Lists all available web application firewall rule sets. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ApplicationGatewayAvailableWafRuleSetsResult, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayAvailableWafRuleSetsResult + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ApplicationGatewayAvailableWafRuleSetsResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.list_available_waf_rule_sets.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ApplicationGatewayAvailableWafRuleSetsResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + list_available_waf_rule_sets.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableWafRuleSets'} # type: ignore + + def list_available_ssl_options( + self, + **kwargs # type: Any + ): + # type: (...) -> "_models.ApplicationGatewayAvailableSslOptions" + """Lists available Ssl options for configuring Ssl policy. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ApplicationGatewayAvailableSslOptions, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayAvailableSslOptions + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ApplicationGatewayAvailableSslOptions"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.list_available_ssl_options.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ApplicationGatewayAvailableSslOptions', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + list_available_ssl_options.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default'} # type: ignore + + def list_available_ssl_predefined_policies( + self, + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.ApplicationGatewayAvailableSslPredefinedPolicies"] + """Lists all SSL predefined policies for configuring Ssl policy. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ApplicationGatewayAvailableSslPredefinedPolicies or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.ApplicationGatewayAvailableSslPredefinedPolicies] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ApplicationGatewayAvailableSslPredefinedPolicies"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_available_ssl_predefined_policies.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('ApplicationGatewayAvailableSslPredefinedPolicies', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_available_ssl_predefined_policies.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default/predefinedPolicies'} # type: ignore + + def get_ssl_predefined_policy( + self, + predefined_policy_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.ApplicationGatewaySslPredefinedPolicy" + """Gets Ssl predefined policy with the specified policy name. + + :param predefined_policy_name: Name of Ssl predefined policy. + :type predefined_policy_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ApplicationGatewaySslPredefinedPolicy, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.ApplicationGatewaySslPredefinedPolicy + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ApplicationGatewaySslPredefinedPolicy"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get_ssl_predefined_policy.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'predefinedPolicyName': self._serialize.url("predefined_policy_name", predefined_policy_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ApplicationGatewaySslPredefinedPolicy', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_ssl_predefined_policy.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default/predefinedPolicies/{predefinedPolicyName}'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_application_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_application_security_groups_operations.py new file mode 100644 index 000000000000..1c2aab9cbb40 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_application_security_groups_operations.py @@ -0,0 +1,553 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class ApplicationSecurityGroupsOperations(object): + """ApplicationSecurityGroupsOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def _delete_initial( + self, + resource_group_name, # type: str + application_security_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'applicationSecurityGroupName': self._serialize.url("application_security_group_name", application_security_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + application_security_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the specified application security group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param application_security_group_name: The name of the application security group. + :type application_security_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + application_security_group_name=application_security_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'applicationSecurityGroupName': self._serialize.url("application_security_group_name", application_security_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}'} # type: ignore + + def get( + self, + resource_group_name, # type: str + application_security_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.ApplicationSecurityGroup" + """Gets information about the specified application security group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param application_security_group_name: The name of the application security group. + :type application_security_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ApplicationSecurityGroup, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.ApplicationSecurityGroup + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ApplicationSecurityGroup"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'applicationSecurityGroupName': self._serialize.url("application_security_group_name", application_security_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ApplicationSecurityGroup', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}'} # type: ignore + + def _create_or_update_initial( + self, + resource_group_name, # type: str + application_security_group_name, # type: str + parameters, # type: "_models.ApplicationSecurityGroup" + **kwargs # type: Any + ): + # type: (...) -> "_models.ApplicationSecurityGroup" + cls = kwargs.pop('cls', None) # type: ClsType["_models.ApplicationSecurityGroup"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'applicationSecurityGroupName': self._serialize.url("application_security_group_name", application_security_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'ApplicationSecurityGroup') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('ApplicationSecurityGroup', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('ApplicationSecurityGroup', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}'} # type: ignore + + def begin_create_or_update( + self, + resource_group_name, # type: str + application_security_group_name, # type: str + parameters, # type: "_models.ApplicationSecurityGroup" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.ApplicationSecurityGroup"] + """Creates or updates an application security group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param application_security_group_name: The name of the application security group. + :type application_security_group_name: str + :param parameters: Parameters supplied to the create or update ApplicationSecurityGroup + operation. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.ApplicationSecurityGroup + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either ApplicationSecurityGroup or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.ApplicationSecurityGroup] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.ApplicationSecurityGroup"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + resource_group_name=resource_group_name, + application_security_group_name=application_security_group_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('ApplicationSecurityGroup', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'applicationSecurityGroupName': self._serialize.url("application_security_group_name", application_security_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}'} # type: ignore + + def update_tags( + self, + resource_group_name, # type: str + application_security_group_name, # type: str + parameters, # type: "_models.TagsObject" + **kwargs # type: Any + ): + # type: (...) -> "_models.ApplicationSecurityGroup" + """Updates an application security group's tags. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param application_security_group_name: The name of the application security group. + :type application_security_group_name: str + :param parameters: Parameters supplied to update application security group tags. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.TagsObject + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ApplicationSecurityGroup, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.ApplicationSecurityGroup + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ApplicationSecurityGroup"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update_tags.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'applicationSecurityGroupName': self._serialize.url("application_security_group_name", application_security_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'TagsObject') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ApplicationSecurityGroup', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}'} # type: ignore + + def list_all( + self, + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.ApplicationSecurityGroupListResult"] + """Gets all application security groups in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ApplicationSecurityGroupListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.ApplicationSecurityGroupListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ApplicationSecurityGroupListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_all.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('ApplicationSecurityGroupListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_all.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationSecurityGroups'} # type: ignore + + def list( + self, + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.ApplicationSecurityGroupListResult"] + """Gets all the application security groups in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ApplicationSecurityGroupListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.ApplicationSecurityGroupListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ApplicationSecurityGroupListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('ApplicationSecurityGroupListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_available_delegations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_available_delegations_operations.py new file mode 100644 index 000000000000..fcc16b6e11fa --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_available_delegations_operations.py @@ -0,0 +1,117 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.mgmt.core.exceptions import ARMErrorFormat + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class AvailableDelegationsOperations(object): + """AvailableDelegationsOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + location, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.AvailableDelegationsResult"] + """Gets all of the available subnet delegations for this subscription in this region. + + :param location: The location of the subnet. + :type location: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either AvailableDelegationsResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.AvailableDelegationsResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.AvailableDelegationsResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'location': self._serialize.url("location", location, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('AvailableDelegationsResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/availableDelegations'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_available_endpoint_services_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_available_endpoint_services_operations.py new file mode 100644 index 000000000000..a2ebfda48d1d --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_available_endpoint_services_operations.py @@ -0,0 +1,117 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.mgmt.core.exceptions import ARMErrorFormat + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class AvailableEndpointServicesOperations(object): + """AvailableEndpointServicesOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + location, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.EndpointServicesListResult"] + """List what values of endpoint services are available for use. + + :param location: The location to check available endpoint services. + :type location: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either EndpointServicesListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.EndpointServicesListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.EndpointServicesListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'location': self._serialize.url("location", location, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('EndpointServicesListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/virtualNetworkAvailableEndpointServices'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_available_private_endpoint_types_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_available_private_endpoint_types_operations.py new file mode 100644 index 000000000000..6ea1f186577d --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_available_private_endpoint_types_operations.py @@ -0,0 +1,194 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.mgmt.core.exceptions import ARMErrorFormat + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class AvailablePrivateEndpointTypesOperations(object): + """AvailablePrivateEndpointTypesOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + location, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.AvailablePrivateEndpointTypesResult"] + """Returns all of the resource types that can be linked to a Private Endpoint in this subscription + in this region. + + :param location: The location of the domain name. + :type location: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either AvailablePrivateEndpointTypesResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.AvailablePrivateEndpointTypesResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.AvailablePrivateEndpointTypesResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'location': self._serialize.url("location", location, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('AvailablePrivateEndpointTypesResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/availablePrivateEndpointTypes'} # type: ignore + + def list_by_resource_group( + self, + location, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.AvailablePrivateEndpointTypesResult"] + """Returns all of the resource types that can be linked to a Private Endpoint in this subscription + in this region. + + :param location: The location of the domain name. + :type location: str + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either AvailablePrivateEndpointTypesResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.AvailablePrivateEndpointTypesResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.AvailablePrivateEndpointTypesResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_resource_group.metadata['url'] # type: ignore + path_format_arguments = { + 'location': self._serialize.url("location", location, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('AvailablePrivateEndpointTypesResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/availablePrivateEndpointTypes'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_available_resource_group_delegations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_available_resource_group_delegations_operations.py new file mode 100644 index 000000000000..9ff418288680 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_available_resource_group_delegations_operations.py @@ -0,0 +1,121 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.mgmt.core.exceptions import ARMErrorFormat + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class AvailableResourceGroupDelegationsOperations(object): + """AvailableResourceGroupDelegationsOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + location, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.AvailableDelegationsResult"] + """Gets all of the available subnet delegations for this resource group in this region. + + :param location: The location of the domain name. + :type location: str + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either AvailableDelegationsResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.AvailableDelegationsResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.AvailableDelegationsResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'location': self._serialize.url("location", location, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('AvailableDelegationsResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/availableDelegations'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_available_service_aliases_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_available_service_aliases_operations.py new file mode 100644 index 000000000000..4e727c829c4c --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_available_service_aliases_operations.py @@ -0,0 +1,192 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.mgmt.core.exceptions import ARMErrorFormat + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class AvailableServiceAliasesOperations(object): + """AvailableServiceAliasesOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + location, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.AvailableServiceAliasesResult"] + """Gets all available service aliases for this subscription in this region. + + :param location: The location. + :type location: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either AvailableServiceAliasesResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.AvailableServiceAliasesResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.AvailableServiceAliasesResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'location': self._serialize.url("location", location, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('AvailableServiceAliasesResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/availableServiceAliases'} # type: ignore + + def list_by_resource_group( + self, + resource_group_name, # type: str + location, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.AvailableServiceAliasesResult"] + """Gets all available service aliases for this resource group in this region. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param location: The location. + :type location: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either AvailableServiceAliasesResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.AvailableServiceAliasesResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.AvailableServiceAliasesResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_resource_group.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'location': self._serialize.url("location", location, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('AvailableServiceAliasesResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/availableServiceAliases'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_azure_firewall_fqdn_tags_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_azure_firewall_fqdn_tags_operations.py new file mode 100644 index 000000000000..d1f66143407d --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_azure_firewall_fqdn_tags_operations.py @@ -0,0 +1,113 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.mgmt.core.exceptions import ARMErrorFormat + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class AzureFirewallFqdnTagsOperations(object): + """AzureFirewallFqdnTagsOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_all( + self, + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.AzureFirewallFqdnTagListResult"] + """Gets all the Azure Firewall FQDN Tags in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either AzureFirewallFqdnTagListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.AzureFirewallFqdnTagListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.AzureFirewallFqdnTagListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_all.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('AzureFirewallFqdnTagListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_all.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/azureFirewallFqdnTags'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_azure_firewalls_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_azure_firewalls_operations.py new file mode 100644 index 000000000000..cdfa436b8e82 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_azure_firewalls_operations.py @@ -0,0 +1,613 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class AzureFirewallsOperations(object): + """AzureFirewallsOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def _delete_initial( + self, + resource_group_name, # type: str + azure_firewall_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'azureFirewallName': self._serialize.url("azure_firewall_name", azure_firewall_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + azure_firewall_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the specified Azure Firewall. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param azure_firewall_name: The name of the Azure Firewall. + :type azure_firewall_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + azure_firewall_name=azure_firewall_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'azureFirewallName': self._serialize.url("azure_firewall_name", azure_firewall_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}'} # type: ignore + + def get( + self, + resource_group_name, # type: str + azure_firewall_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.AzureFirewall" + """Gets the specified Azure Firewall. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param azure_firewall_name: The name of the Azure Firewall. + :type azure_firewall_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: AzureFirewall, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.AzureFirewall + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.AzureFirewall"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'azureFirewallName': self._serialize.url("azure_firewall_name", azure_firewall_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('AzureFirewall', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}'} # type: ignore + + def _create_or_update_initial( + self, + resource_group_name, # type: str + azure_firewall_name, # type: str + parameters, # type: "_models.AzureFirewall" + **kwargs # type: Any + ): + # type: (...) -> "_models.AzureFirewall" + cls = kwargs.pop('cls', None) # type: ClsType["_models.AzureFirewall"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'azureFirewallName': self._serialize.url("azure_firewall_name", azure_firewall_name, 'str', max_length=56, min_length=1), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'AzureFirewall') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('AzureFirewall', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('AzureFirewall', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}'} # type: ignore + + def begin_create_or_update( + self, + resource_group_name, # type: str + azure_firewall_name, # type: str + parameters, # type: "_models.AzureFirewall" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.AzureFirewall"] + """Creates or updates the specified Azure Firewall. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param azure_firewall_name: The name of the Azure Firewall. + :type azure_firewall_name: str + :param parameters: Parameters supplied to the create or update Azure Firewall operation. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.AzureFirewall + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either AzureFirewall or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.AzureFirewall] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.AzureFirewall"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + resource_group_name=resource_group_name, + azure_firewall_name=azure_firewall_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('AzureFirewall', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'azureFirewallName': self._serialize.url("azure_firewall_name", azure_firewall_name, 'str', max_length=56, min_length=1), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}'} # type: ignore + + def _update_tags_initial( + self, + resource_group_name, # type: str + azure_firewall_name, # type: str + parameters, # type: "_models.TagsObject" + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.AzureFirewall"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.AzureFirewall"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._update_tags_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'azureFirewallName': self._serialize.url("azure_firewall_name", azure_firewall_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'TagsObject') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('AzureFirewall', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _update_tags_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}'} # type: ignore + + def begin_update_tags( + self, + resource_group_name, # type: str + azure_firewall_name, # type: str + parameters, # type: "_models.TagsObject" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.AzureFirewall"] + """Updates tags of an Azure Firewall resource. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param azure_firewall_name: The name of the Azure Firewall. + :type azure_firewall_name: str + :param parameters: Parameters supplied to update azure firewall tags. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.TagsObject + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either AzureFirewall or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.AzureFirewall] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.AzureFirewall"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._update_tags_initial( + resource_group_name=resource_group_name, + azure_firewall_name=azure_firewall_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('AzureFirewall', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'azureFirewallName': self._serialize.url("azure_firewall_name", azure_firewall_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}'} # type: ignore + + def list( + self, + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.AzureFirewallListResult"] + """Lists all Azure Firewalls in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either AzureFirewallListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.AzureFirewallListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.AzureFirewallListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('AzureFirewallListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls'} # type: ignore + + def list_all( + self, + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.AzureFirewallListResult"] + """Gets all the Azure Firewalls in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either AzureFirewallListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.AzureFirewallListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.AzureFirewallListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_all.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('AzureFirewallListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_all.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/azureFirewalls'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_bastion_hosts_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_bastion_hosts_operations.py new file mode 100644 index 000000000000..30396591d18c --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_bastion_hosts_operations.py @@ -0,0 +1,485 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class BastionHostsOperations(object): + """BastionHostsOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def _delete_initial( + self, + resource_group_name, # type: str + bastion_host_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'bastionHostName': self._serialize.url("bastion_host_name", bastion_host_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + bastion_host_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the specified Bastion Host. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param bastion_host_name: The name of the Bastion Host. + :type bastion_host_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + bastion_host_name=bastion_host_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'bastionHostName': self._serialize.url("bastion_host_name", bastion_host_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}'} # type: ignore + + def get( + self, + resource_group_name, # type: str + bastion_host_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.BastionHost" + """Gets the specified Bastion Host. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param bastion_host_name: The name of the Bastion Host. + :type bastion_host_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: BastionHost, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.BastionHost + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.BastionHost"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'bastionHostName': self._serialize.url("bastion_host_name", bastion_host_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('BastionHost', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}'} # type: ignore + + def _create_or_update_initial( + self, + resource_group_name, # type: str + bastion_host_name, # type: str + parameters, # type: "_models.BastionHost" + **kwargs # type: Any + ): + # type: (...) -> "_models.BastionHost" + cls = kwargs.pop('cls', None) # type: ClsType["_models.BastionHost"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'bastionHostName': self._serialize.url("bastion_host_name", bastion_host_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'BastionHost') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('BastionHost', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('BastionHost', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}'} # type: ignore + + def begin_create_or_update( + self, + resource_group_name, # type: str + bastion_host_name, # type: str + parameters, # type: "_models.BastionHost" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.BastionHost"] + """Creates or updates the specified Bastion Host. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param bastion_host_name: The name of the Bastion Host. + :type bastion_host_name: str + :param parameters: Parameters supplied to the create or update Bastion Host operation. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.BastionHost + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either BastionHost or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.BastionHost] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.BastionHost"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + resource_group_name=resource_group_name, + bastion_host_name=bastion_host_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('BastionHost', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'bastionHostName': self._serialize.url("bastion_host_name", bastion_host_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}'} # type: ignore + + def list( + self, + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.BastionHostListResult"] + """Lists all Bastion Hosts in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either BastionHostListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.BastionHostListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.BastionHostListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('BastionHostListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/bastionHosts'} # type: ignore + + def list_by_resource_group( + self, + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.BastionHostListResult"] + """Lists all Bastion Hosts in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either BastionHostListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.BastionHostListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.BastionHostListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_resource_group.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('BastionHostListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_bgp_service_communities_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_bgp_service_communities_operations.py new file mode 100644 index 000000000000..99540ca4258e --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_bgp_service_communities_operations.py @@ -0,0 +1,113 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.mgmt.core.exceptions import ARMErrorFormat + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class BgpServiceCommunitiesOperations(object): + """BgpServiceCommunitiesOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.BgpServiceCommunityListResult"] + """Gets all the available bgp service communities. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either BgpServiceCommunityListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.BgpServiceCommunityListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.BgpServiceCommunityListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('BgpServiceCommunityListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/bgpServiceCommunities'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_connection_monitors_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_connection_monitors_operations.py new file mode 100644 index 000000000000..2c88a0d80755 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_connection_monitors_operations.py @@ -0,0 +1,887 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class ConnectionMonitorsOperations(object): + """ConnectionMonitorsOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def _create_or_update_initial( + self, + resource_group_name, # type: str + network_watcher_name, # type: str + connection_monitor_name, # type: str + parameters, # type: "_models.ConnectionMonitor" + migrate=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> "_models.ConnectionMonitorResult" + cls = kwargs.pop('cls', None) # type: ClsType["_models.ConnectionMonitorResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'connectionMonitorName': self._serialize.url("connection_monitor_name", connection_monitor_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if migrate is not None: + query_parameters['migrate'] = self._serialize.query("migrate", migrate, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'ConnectionMonitor') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('ConnectionMonitorResult', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('ConnectionMonitorResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}'} # type: ignore + + def begin_create_or_update( + self, + resource_group_name, # type: str + network_watcher_name, # type: str + connection_monitor_name, # type: str + parameters, # type: "_models.ConnectionMonitor" + migrate=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.ConnectionMonitorResult"] + """Create or update a connection monitor. + + :param resource_group_name: The name of the resource group containing Network Watcher. + :type resource_group_name: str + :param network_watcher_name: The name of the Network Watcher resource. + :type network_watcher_name: str + :param connection_monitor_name: The name of the connection monitor. + :type connection_monitor_name: str + :param parameters: Parameters that define the operation to create a connection monitor. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.ConnectionMonitor + :param migrate: Value indicating whether connection monitor V1 should be migrated to V2 format. + :type migrate: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either ConnectionMonitorResult or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorResult] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.ConnectionMonitorResult"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + resource_group_name=resource_group_name, + network_watcher_name=network_watcher_name, + connection_monitor_name=connection_monitor_name, + parameters=parameters, + migrate=migrate, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('ConnectionMonitorResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'connectionMonitorName': self._serialize.url("connection_monitor_name", connection_monitor_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}'} # type: ignore + + def get( + self, + resource_group_name, # type: str + network_watcher_name, # type: str + connection_monitor_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.ConnectionMonitorResult" + """Gets a connection monitor by name. + + :param resource_group_name: The name of the resource group containing Network Watcher. + :type resource_group_name: str + :param network_watcher_name: The name of the Network Watcher resource. + :type network_watcher_name: str + :param connection_monitor_name: The name of the connection monitor. + :type connection_monitor_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ConnectionMonitorResult, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorResult + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ConnectionMonitorResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'connectionMonitorName': self._serialize.url("connection_monitor_name", connection_monitor_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ConnectionMonitorResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}'} # type: ignore + + def _delete_initial( + self, + resource_group_name, # type: str + network_watcher_name, # type: str + connection_monitor_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'connectionMonitorName': self._serialize.url("connection_monitor_name", connection_monitor_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + network_watcher_name, # type: str + connection_monitor_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the specified connection monitor. + + :param resource_group_name: The name of the resource group containing Network Watcher. + :type resource_group_name: str + :param network_watcher_name: The name of the Network Watcher resource. + :type network_watcher_name: str + :param connection_monitor_name: The name of the connection monitor. + :type connection_monitor_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + network_watcher_name=network_watcher_name, + connection_monitor_name=connection_monitor_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'connectionMonitorName': self._serialize.url("connection_monitor_name", connection_monitor_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}'} # type: ignore + + def update_tags( + self, + resource_group_name, # type: str + network_watcher_name, # type: str + connection_monitor_name, # type: str + parameters, # type: "_models.TagsObject" + **kwargs # type: Any + ): + # type: (...) -> "_models.ConnectionMonitorResult" + """Update tags of the specified connection monitor. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_watcher_name: The name of the network watcher. + :type network_watcher_name: str + :param connection_monitor_name: The name of the connection monitor. + :type connection_monitor_name: str + :param parameters: Parameters supplied to update connection monitor tags. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.TagsObject + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ConnectionMonitorResult, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorResult + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ConnectionMonitorResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update_tags.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'connectionMonitorName': self._serialize.url("connection_monitor_name", connection_monitor_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'TagsObject') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ConnectionMonitorResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}'} # type: ignore + + def _stop_initial( + self, + resource_group_name, # type: str + network_watcher_name, # type: str + connection_monitor_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._stop_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'connectionMonitorName': self._serialize.url("connection_monitor_name", connection_monitor_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _stop_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}/stop'} # type: ignore + + def begin_stop( + self, + resource_group_name, # type: str + network_watcher_name, # type: str + connection_monitor_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Stops the specified connection monitor. + + :param resource_group_name: The name of the resource group containing Network Watcher. + :type resource_group_name: str + :param network_watcher_name: The name of the Network Watcher resource. + :type network_watcher_name: str + :param connection_monitor_name: The name of the connection monitor. + :type connection_monitor_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._stop_initial( + resource_group_name=resource_group_name, + network_watcher_name=network_watcher_name, + connection_monitor_name=connection_monitor_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'connectionMonitorName': self._serialize.url("connection_monitor_name", connection_monitor_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_stop.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}/stop'} # type: ignore + + def _start_initial( + self, + resource_group_name, # type: str + network_watcher_name, # type: str + connection_monitor_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._start_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'connectionMonitorName': self._serialize.url("connection_monitor_name", connection_monitor_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _start_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}/start'} # type: ignore + + def begin_start( + self, + resource_group_name, # type: str + network_watcher_name, # type: str + connection_monitor_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Starts the specified connection monitor. + + :param resource_group_name: The name of the resource group containing Network Watcher. + :type resource_group_name: str + :param network_watcher_name: The name of the Network Watcher resource. + :type network_watcher_name: str + :param connection_monitor_name: The name of the connection monitor. + :type connection_monitor_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._start_initial( + resource_group_name=resource_group_name, + network_watcher_name=network_watcher_name, + connection_monitor_name=connection_monitor_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'connectionMonitorName': self._serialize.url("connection_monitor_name", connection_monitor_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_start.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}/start'} # type: ignore + + def _query_initial( + self, + resource_group_name, # type: str + network_watcher_name, # type: str + connection_monitor_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.ConnectionMonitorQueryResult" + cls = kwargs.pop('cls', None) # type: ClsType["_models.ConnectionMonitorQueryResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._query_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'connectionMonitorName': self._serialize.url("connection_monitor_name", connection_monitor_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('ConnectionMonitorQueryResult', pipeline_response) + + if response.status_code == 202: + deserialized = self._deserialize('ConnectionMonitorQueryResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _query_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}/query'} # type: ignore + + def begin_query( + self, + resource_group_name, # type: str + network_watcher_name, # type: str + connection_monitor_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.ConnectionMonitorQueryResult"] + """Query a snapshot of the most recent connection states. + + :param resource_group_name: The name of the resource group containing Network Watcher. + :type resource_group_name: str + :param network_watcher_name: The name of the Network Watcher resource. + :type network_watcher_name: str + :param connection_monitor_name: The name given to the connection monitor. + :type connection_monitor_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either ConnectionMonitorQueryResult or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorQueryResult] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.ConnectionMonitorQueryResult"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._query_initial( + resource_group_name=resource_group_name, + network_watcher_name=network_watcher_name, + connection_monitor_name=connection_monitor_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('ConnectionMonitorQueryResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'connectionMonitorName': self._serialize.url("connection_monitor_name", connection_monitor_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_query.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}/query'} # type: ignore + + def list( + self, + resource_group_name, # type: str + network_watcher_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.ConnectionMonitorListResult"] + """Lists all connection monitors for the specified Network Watcher. + + :param resource_group_name: The name of the resource group containing Network Watcher. + :type resource_group_name: str + :param network_watcher_name: The name of the Network Watcher resource. + :type network_watcher_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ConnectionMonitorListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.ConnectionMonitorListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ConnectionMonitorListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('ConnectionMonitorListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_custom_ip_prefixes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_custom_ip_prefixes_operations.py new file mode 100644 index 000000000000..3a01cc5fe31d --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_custom_ip_prefixes_operations.py @@ -0,0 +1,557 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class CustomIPPrefixesOperations(object): + """CustomIPPrefixesOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def _delete_initial( + self, + resource_group_name, # type: str + custom_ip_prefix_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'customIpPrefixName': self._serialize.url("custom_ip_prefix_name", custom_ip_prefix_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/customIpPrefixes/{customIpPrefixName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + custom_ip_prefix_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the specified custom IP prefix. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param custom_ip_prefix_name: The name of the CustomIpPrefix. + :type custom_ip_prefix_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + custom_ip_prefix_name=custom_ip_prefix_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'customIpPrefixName': self._serialize.url("custom_ip_prefix_name", custom_ip_prefix_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/customIpPrefixes/{customIpPrefixName}'} # type: ignore + + def get( + self, + resource_group_name, # type: str + custom_ip_prefix_name, # type: str + expand=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> "_models.CustomIpPrefix" + """Gets the specified custom IP prefix in a specified resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param custom_ip_prefix_name: The name of the custom IP prefix. + :type custom_ip_prefix_name: str + :param expand: Expands referenced resources. + :type expand: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: CustomIpPrefix, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.CustomIpPrefix + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.CustomIpPrefix"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'customIpPrefixName': self._serialize.url("custom_ip_prefix_name", custom_ip_prefix_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('CustomIpPrefix', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/customIpPrefixes/{customIpPrefixName}'} # type: ignore + + def _create_or_update_initial( + self, + resource_group_name, # type: str + custom_ip_prefix_name, # type: str + parameters, # type: "_models.CustomIpPrefix" + **kwargs # type: Any + ): + # type: (...) -> "_models.CustomIpPrefix" + cls = kwargs.pop('cls', None) # type: ClsType["_models.CustomIpPrefix"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'customIpPrefixName': self._serialize.url("custom_ip_prefix_name", custom_ip_prefix_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'CustomIpPrefix') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('CustomIpPrefix', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('CustomIpPrefix', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/customIpPrefixes/{customIpPrefixName}'} # type: ignore + + def begin_create_or_update( + self, + resource_group_name, # type: str + custom_ip_prefix_name, # type: str + parameters, # type: "_models.CustomIpPrefix" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.CustomIpPrefix"] + """Creates or updates a custom IP prefix. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param custom_ip_prefix_name: The name of the custom IP prefix. + :type custom_ip_prefix_name: str + :param parameters: Parameters supplied to the create or update custom IP prefix operation. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.CustomIpPrefix + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either CustomIpPrefix or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.CustomIpPrefix] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.CustomIpPrefix"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + resource_group_name=resource_group_name, + custom_ip_prefix_name=custom_ip_prefix_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('CustomIpPrefix', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'customIpPrefixName': self._serialize.url("custom_ip_prefix_name", custom_ip_prefix_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/customIpPrefixes/{customIpPrefixName}'} # type: ignore + + def update_tags( + self, + resource_group_name, # type: str + custom_ip_prefix_name, # type: str + parameters, # type: "_models.TagsObject" + **kwargs # type: Any + ): + # type: (...) -> "_models.CustomIpPrefix" + """Updates custom IP prefix tags. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param custom_ip_prefix_name: The name of the custom IP prefix. + :type custom_ip_prefix_name: str + :param parameters: Parameters supplied to update custom IP prefix tags. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.TagsObject + :keyword callable cls: A custom type or function that will be passed the direct response + :return: CustomIpPrefix, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.CustomIpPrefix + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.CustomIpPrefix"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update_tags.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'customIpPrefixName': self._serialize.url("custom_ip_prefix_name", custom_ip_prefix_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'TagsObject') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('CustomIpPrefix', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/customIpPrefixes/{customIpPrefixName}'} # type: ignore + + def list_all( + self, + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.CustomIpPrefixListResult"] + """Gets all the custom IP prefixes in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either CustomIpPrefixListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.CustomIpPrefixListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.CustomIpPrefixListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_all.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('CustomIpPrefixListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_all.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/customIpPrefixes'} # type: ignore + + def list( + self, + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.CustomIpPrefixListResult"] + """Gets all custom IP prefixes in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either CustomIpPrefixListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.CustomIpPrefixListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.CustomIpPrefixListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('CustomIpPrefixListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/customIpPrefixes'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_ddos_custom_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_ddos_custom_policies_operations.py new file mode 100644 index 000000000000..61ac544b645e --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_ddos_custom_policies_operations.py @@ -0,0 +1,413 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class DdosCustomPoliciesOperations(object): + """DdosCustomPoliciesOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def _delete_initial( + self, + resource_group_name, # type: str + ddos_custom_policy_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'ddosCustomPolicyName': self._serialize.url("ddos_custom_policy_name", ddos_custom_policy_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosCustomPolicies/{ddosCustomPolicyName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + ddos_custom_policy_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the specified DDoS custom policy. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param ddos_custom_policy_name: The name of the DDoS custom policy. + :type ddos_custom_policy_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + ddos_custom_policy_name=ddos_custom_policy_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'ddosCustomPolicyName': self._serialize.url("ddos_custom_policy_name", ddos_custom_policy_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosCustomPolicies/{ddosCustomPolicyName}'} # type: ignore + + def get( + self, + resource_group_name, # type: str + ddos_custom_policy_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.DdosCustomPolicy" + """Gets information about the specified DDoS custom policy. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param ddos_custom_policy_name: The name of the DDoS custom policy. + :type ddos_custom_policy_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: DdosCustomPolicy, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.DdosCustomPolicy + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DdosCustomPolicy"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'ddosCustomPolicyName': self._serialize.url("ddos_custom_policy_name", ddos_custom_policy_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('DdosCustomPolicy', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosCustomPolicies/{ddosCustomPolicyName}'} # type: ignore + + def _create_or_update_initial( + self, + resource_group_name, # type: str + ddos_custom_policy_name, # type: str + parameters, # type: "_models.DdosCustomPolicy" + **kwargs # type: Any + ): + # type: (...) -> "_models.DdosCustomPolicy" + cls = kwargs.pop('cls', None) # type: ClsType["_models.DdosCustomPolicy"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'ddosCustomPolicyName': self._serialize.url("ddos_custom_policy_name", ddos_custom_policy_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'DdosCustomPolicy') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('DdosCustomPolicy', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('DdosCustomPolicy', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosCustomPolicies/{ddosCustomPolicyName}'} # type: ignore + + def begin_create_or_update( + self, + resource_group_name, # type: str + ddos_custom_policy_name, # type: str + parameters, # type: "_models.DdosCustomPolicy" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.DdosCustomPolicy"] + """Creates or updates a DDoS custom policy. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param ddos_custom_policy_name: The name of the DDoS custom policy. + :type ddos_custom_policy_name: str + :param parameters: Parameters supplied to the create or update operation. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.DdosCustomPolicy + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either DdosCustomPolicy or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.DdosCustomPolicy] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.DdosCustomPolicy"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + resource_group_name=resource_group_name, + ddos_custom_policy_name=ddos_custom_policy_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('DdosCustomPolicy', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'ddosCustomPolicyName': self._serialize.url("ddos_custom_policy_name", ddos_custom_policy_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosCustomPolicies/{ddosCustomPolicyName}'} # type: ignore + + def update_tags( + self, + resource_group_name, # type: str + ddos_custom_policy_name, # type: str + parameters, # type: "_models.TagsObject" + **kwargs # type: Any + ): + # type: (...) -> "_models.DdosCustomPolicy" + """Update a DDoS custom policy tags. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param ddos_custom_policy_name: The name of the DDoS custom policy. + :type ddos_custom_policy_name: str + :param parameters: Parameters supplied to update DDoS custom policy resource tags. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.TagsObject + :keyword callable cls: A custom type or function that will be passed the direct response + :return: DdosCustomPolicy, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.DdosCustomPolicy + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DdosCustomPolicy"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update_tags.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'ddosCustomPolicyName': self._serialize.url("ddos_custom_policy_name", ddos_custom_policy_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'TagsObject') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('DdosCustomPolicy', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosCustomPolicies/{ddosCustomPolicyName}'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_ddos_protection_plans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_ddos_protection_plans_operations.py new file mode 100644 index 000000000000..2250fce4e6cd --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_ddos_protection_plans_operations.py @@ -0,0 +1,552 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class DdosProtectionPlansOperations(object): + """DdosProtectionPlansOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def _delete_initial( + self, + resource_group_name, # type: str + ddos_protection_plan_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'ddosProtectionPlanName': self._serialize.url("ddos_protection_plan_name", ddos_protection_plan_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans/{ddosProtectionPlanName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + ddos_protection_plan_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the specified DDoS protection plan. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param ddos_protection_plan_name: The name of the DDoS protection plan. + :type ddos_protection_plan_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + ddos_protection_plan_name=ddos_protection_plan_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'ddosProtectionPlanName': self._serialize.url("ddos_protection_plan_name", ddos_protection_plan_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans/{ddosProtectionPlanName}'} # type: ignore + + def get( + self, + resource_group_name, # type: str + ddos_protection_plan_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.DdosProtectionPlan" + """Gets information about the specified DDoS protection plan. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param ddos_protection_plan_name: The name of the DDoS protection plan. + :type ddos_protection_plan_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: DdosProtectionPlan, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.DdosProtectionPlan + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DdosProtectionPlan"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'ddosProtectionPlanName': self._serialize.url("ddos_protection_plan_name", ddos_protection_plan_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('DdosProtectionPlan', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans/{ddosProtectionPlanName}'} # type: ignore + + def _create_or_update_initial( + self, + resource_group_name, # type: str + ddos_protection_plan_name, # type: str + parameters, # type: "_models.DdosProtectionPlan" + **kwargs # type: Any + ): + # type: (...) -> "_models.DdosProtectionPlan" + cls = kwargs.pop('cls', None) # type: ClsType["_models.DdosProtectionPlan"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'ddosProtectionPlanName': self._serialize.url("ddos_protection_plan_name", ddos_protection_plan_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'DdosProtectionPlan') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('DdosProtectionPlan', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('DdosProtectionPlan', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans/{ddosProtectionPlanName}'} # type: ignore + + def begin_create_or_update( + self, + resource_group_name, # type: str + ddos_protection_plan_name, # type: str + parameters, # type: "_models.DdosProtectionPlan" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.DdosProtectionPlan"] + """Creates or updates a DDoS protection plan. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param ddos_protection_plan_name: The name of the DDoS protection plan. + :type ddos_protection_plan_name: str + :param parameters: Parameters supplied to the create or update operation. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.DdosProtectionPlan + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either DdosProtectionPlan or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.DdosProtectionPlan] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.DdosProtectionPlan"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + resource_group_name=resource_group_name, + ddos_protection_plan_name=ddos_protection_plan_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('DdosProtectionPlan', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'ddosProtectionPlanName': self._serialize.url("ddos_protection_plan_name", ddos_protection_plan_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans/{ddosProtectionPlanName}'} # type: ignore + + def update_tags( + self, + resource_group_name, # type: str + ddos_protection_plan_name, # type: str + parameters, # type: "_models.TagsObject" + **kwargs # type: Any + ): + # type: (...) -> "_models.DdosProtectionPlan" + """Update a DDoS protection plan tags. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param ddos_protection_plan_name: The name of the DDoS protection plan. + :type ddos_protection_plan_name: str + :param parameters: Parameters supplied to the update DDoS protection plan resource tags. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.TagsObject + :keyword callable cls: A custom type or function that will be passed the direct response + :return: DdosProtectionPlan, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.DdosProtectionPlan + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DdosProtectionPlan"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update_tags.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'ddosProtectionPlanName': self._serialize.url("ddos_protection_plan_name", ddos_protection_plan_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'TagsObject') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('DdosProtectionPlan', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans/{ddosProtectionPlanName}'} # type: ignore + + def list( + self, + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.DdosProtectionPlanListResult"] + """Gets all DDoS protection plans in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either DdosProtectionPlanListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.DdosProtectionPlanListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DdosProtectionPlanListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('DdosProtectionPlanListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/ddosProtectionPlans'} # type: ignore + + def list_by_resource_group( + self, + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.DdosProtectionPlanListResult"] + """Gets all the DDoS protection plans in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either DdosProtectionPlanListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.DdosProtectionPlanListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DdosProtectionPlanListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_resource_group.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('DdosProtectionPlanListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_default_security_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_default_security_rules_operations.py new file mode 100644 index 000000000000..6e68455814a2 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_default_security_rules_operations.py @@ -0,0 +1,184 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.mgmt.core.exceptions import ARMErrorFormat + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class DefaultSecurityRulesOperations(object): + """DefaultSecurityRulesOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + resource_group_name, # type: str + network_security_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.SecurityRuleListResult"] + """Gets all default security rules in a network security group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_security_group_name: The name of the network security group. + :type network_security_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either SecurityRuleListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.SecurityRuleListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.SecurityRuleListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkSecurityGroupName': self._serialize.url("network_security_group_name", network_security_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('SecurityRuleListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/defaultSecurityRules'} # type: ignore + + def get( + self, + resource_group_name, # type: str + network_security_group_name, # type: str + default_security_rule_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.SecurityRule" + """Get the specified default network security rule. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_security_group_name: The name of the network security group. + :type network_security_group_name: str + :param default_security_rule_name: The name of the default security rule. + :type default_security_rule_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: SecurityRule, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.SecurityRule + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.SecurityRule"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkSecurityGroupName': self._serialize.url("network_security_group_name", network_security_group_name, 'str'), + 'defaultSecurityRuleName': self._serialize.url("default_security_rule_name", default_security_rule_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('SecurityRule', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/defaultSecurityRules/{defaultSecurityRuleName}'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_dscp_configuration_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_dscp_configuration_operations.py new file mode 100644 index 000000000000..405b0995aeea --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_dscp_configuration_operations.py @@ -0,0 +1,485 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class DscpConfigurationOperations(object): + """DscpConfigurationOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def _create_or_update_initial( + self, + resource_group_name, # type: str + dscp_configuration_name, # type: str + parameters, # type: "_models.DscpConfiguration" + **kwargs # type: Any + ): + # type: (...) -> "_models.DscpConfiguration" + cls = kwargs.pop('cls', None) # type: ClsType["_models.DscpConfiguration"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'dscpConfigurationName': self._serialize.url("dscp_configuration_name", dscp_configuration_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'DscpConfiguration') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('DscpConfiguration', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('DscpConfiguration', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dscpConfigurations/{dscpConfigurationName}'} # type: ignore + + def begin_create_or_update( + self, + resource_group_name, # type: str + dscp_configuration_name, # type: str + parameters, # type: "_models.DscpConfiguration" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.DscpConfiguration"] + """Creates or updates a DSCP Configuration. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param dscp_configuration_name: The name of the resource. + :type dscp_configuration_name: str + :param parameters: Parameters supplied to the create or update dscp configuration operation. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.DscpConfiguration + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either DscpConfiguration or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.DscpConfiguration] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.DscpConfiguration"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + resource_group_name=resource_group_name, + dscp_configuration_name=dscp_configuration_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('DscpConfiguration', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'dscpConfigurationName': self._serialize.url("dscp_configuration_name", dscp_configuration_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dscpConfigurations/{dscpConfigurationName}'} # type: ignore + + def _delete_initial( + self, + resource_group_name, # type: str + dscp_configuration_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'dscpConfigurationName': self._serialize.url("dscp_configuration_name", dscp_configuration_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dscpConfigurations/{dscpConfigurationName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + dscp_configuration_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes a DSCP Configuration. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param dscp_configuration_name: The name of the resource. + :type dscp_configuration_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + dscp_configuration_name=dscp_configuration_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'dscpConfigurationName': self._serialize.url("dscp_configuration_name", dscp_configuration_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dscpConfigurations/{dscpConfigurationName}'} # type: ignore + + def get( + self, + resource_group_name, # type: str + dscp_configuration_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.DscpConfiguration" + """Gets a DSCP Configuration. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param dscp_configuration_name: The name of the resource. + :type dscp_configuration_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: DscpConfiguration, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.DscpConfiguration + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DscpConfiguration"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'dscpConfigurationName': self._serialize.url("dscp_configuration_name", dscp_configuration_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('DscpConfiguration', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dscpConfigurations/{dscpConfigurationName}'} # type: ignore + + def list( + self, + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.DscpConfigurationListResult"] + """Gets a DSCP Configuration. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either DscpConfigurationListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.DscpConfigurationListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DscpConfigurationListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('DscpConfigurationListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dscpConfigurations'} # type: ignore + + def list_all( + self, + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.DscpConfigurationListResult"] + """Gets all dscp configurations in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either DscpConfigurationListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.DscpConfigurationListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DscpConfigurationListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_all.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('DscpConfigurationListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_all.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/dscpConfigurations'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_express_route_circuit_authorizations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_express_route_circuit_authorizations_operations.py new file mode 100644 index 000000000000..56a056b5d2c1 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_express_route_circuit_authorizations_operations.py @@ -0,0 +1,441 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class ExpressRouteCircuitAuthorizationsOperations(object): + """ExpressRouteCircuitAuthorizationsOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def _delete_initial( + self, + resource_group_name, # type: str + circuit_name, # type: str + authorization_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'circuitName': self._serialize.url("circuit_name", circuit_name, 'str'), + 'authorizationName': self._serialize.url("authorization_name", authorization_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations/{authorizationName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + circuit_name, # type: str + authorization_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the specified authorization from the specified express route circuit. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param circuit_name: The name of the express route circuit. + :type circuit_name: str + :param authorization_name: The name of the authorization. + :type authorization_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + circuit_name=circuit_name, + authorization_name=authorization_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'circuitName': self._serialize.url("circuit_name", circuit_name, 'str'), + 'authorizationName': self._serialize.url("authorization_name", authorization_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations/{authorizationName}'} # type: ignore + + def get( + self, + resource_group_name, # type: str + circuit_name, # type: str + authorization_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.ExpressRouteCircuitAuthorization" + """Gets the specified authorization from the specified express route circuit. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param circuit_name: The name of the express route circuit. + :type circuit_name: str + :param authorization_name: The name of the authorization. + :type authorization_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ExpressRouteCircuitAuthorization, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitAuthorization + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteCircuitAuthorization"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'circuitName': self._serialize.url("circuit_name", circuit_name, 'str'), + 'authorizationName': self._serialize.url("authorization_name", authorization_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ExpressRouteCircuitAuthorization', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations/{authorizationName}'} # type: ignore + + def _create_or_update_initial( + self, + resource_group_name, # type: str + circuit_name, # type: str + authorization_name, # type: str + authorization_parameters, # type: "_models.ExpressRouteCircuitAuthorization" + **kwargs # type: Any + ): + # type: (...) -> "_models.ExpressRouteCircuitAuthorization" + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteCircuitAuthorization"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'circuitName': self._serialize.url("circuit_name", circuit_name, 'str'), + 'authorizationName': self._serialize.url("authorization_name", authorization_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(authorization_parameters, 'ExpressRouteCircuitAuthorization') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('ExpressRouteCircuitAuthorization', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('ExpressRouteCircuitAuthorization', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations/{authorizationName}'} # type: ignore + + def begin_create_or_update( + self, + resource_group_name, # type: str + circuit_name, # type: str + authorization_name, # type: str + authorization_parameters, # type: "_models.ExpressRouteCircuitAuthorization" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.ExpressRouteCircuitAuthorization"] + """Creates or updates an authorization in the specified express route circuit. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param circuit_name: The name of the express route circuit. + :type circuit_name: str + :param authorization_name: The name of the authorization. + :type authorization_name: str + :param authorization_parameters: Parameters supplied to the create or update express route + circuit authorization operation. + :type authorization_parameters: ~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitAuthorization + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either ExpressRouteCircuitAuthorization or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitAuthorization] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteCircuitAuthorization"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + resource_group_name=resource_group_name, + circuit_name=circuit_name, + authorization_name=authorization_name, + authorization_parameters=authorization_parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('ExpressRouteCircuitAuthorization', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'circuitName': self._serialize.url("circuit_name", circuit_name, 'str'), + 'authorizationName': self._serialize.url("authorization_name", authorization_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations/{authorizationName}'} # type: ignore + + def list( + self, + resource_group_name, # type: str + circuit_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.AuthorizationListResult"] + """Gets all authorizations in an express route circuit. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param circuit_name: The name of the circuit. + :type circuit_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either AuthorizationListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.AuthorizationListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.AuthorizationListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'circuitName': self._serialize.url("circuit_name", circuit_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('AuthorizationListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_express_route_circuit_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_express_route_circuit_connections_operations.py new file mode 100644 index 000000000000..9658d5dd84ac --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_express_route_circuit_connections_operations.py @@ -0,0 +1,465 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class ExpressRouteCircuitConnectionsOperations(object): + """ExpressRouteCircuitConnectionsOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def _delete_initial( + self, + resource_group_name, # type: str + circuit_name, # type: str + peering_name, # type: str + connection_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'circuitName': self._serialize.url("circuit_name", circuit_name, 'str'), + 'peeringName': self._serialize.url("peering_name", peering_name, 'str'), + 'connectionName': self._serialize.url("connection_name", connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/connections/{connectionName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + circuit_name, # type: str + peering_name, # type: str + connection_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the specified Express Route Circuit Connection from the specified express route + circuit. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param circuit_name: The name of the express route circuit. + :type circuit_name: str + :param peering_name: The name of the peering. + :type peering_name: str + :param connection_name: The name of the express route circuit connection. + :type connection_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + circuit_name=circuit_name, + peering_name=peering_name, + connection_name=connection_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'circuitName': self._serialize.url("circuit_name", circuit_name, 'str'), + 'peeringName': self._serialize.url("peering_name", peering_name, 'str'), + 'connectionName': self._serialize.url("connection_name", connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/connections/{connectionName}'} # type: ignore + + def get( + self, + resource_group_name, # type: str + circuit_name, # type: str + peering_name, # type: str + connection_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.ExpressRouteCircuitConnection" + """Gets the specified Express Route Circuit Connection from the specified express route circuit. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param circuit_name: The name of the express route circuit. + :type circuit_name: str + :param peering_name: The name of the peering. + :type peering_name: str + :param connection_name: The name of the express route circuit connection. + :type connection_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ExpressRouteCircuitConnection, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitConnection + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteCircuitConnection"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'circuitName': self._serialize.url("circuit_name", circuit_name, 'str'), + 'peeringName': self._serialize.url("peering_name", peering_name, 'str'), + 'connectionName': self._serialize.url("connection_name", connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ExpressRouteCircuitConnection', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/connections/{connectionName}'} # type: ignore + + def _create_or_update_initial( + self, + resource_group_name, # type: str + circuit_name, # type: str + peering_name, # type: str + connection_name, # type: str + express_route_circuit_connection_parameters, # type: "_models.ExpressRouteCircuitConnection" + **kwargs # type: Any + ): + # type: (...) -> "_models.ExpressRouteCircuitConnection" + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteCircuitConnection"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'circuitName': self._serialize.url("circuit_name", circuit_name, 'str'), + 'peeringName': self._serialize.url("peering_name", peering_name, 'str'), + 'connectionName': self._serialize.url("connection_name", connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(express_route_circuit_connection_parameters, 'ExpressRouteCircuitConnection') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('ExpressRouteCircuitConnection', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('ExpressRouteCircuitConnection', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/connections/{connectionName}'} # type: ignore + + def begin_create_or_update( + self, + resource_group_name, # type: str + circuit_name, # type: str + peering_name, # type: str + connection_name, # type: str + express_route_circuit_connection_parameters, # type: "_models.ExpressRouteCircuitConnection" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.ExpressRouteCircuitConnection"] + """Creates or updates a Express Route Circuit Connection in the specified express route circuits. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param circuit_name: The name of the express route circuit. + :type circuit_name: str + :param peering_name: The name of the peering. + :type peering_name: str + :param connection_name: The name of the express route circuit connection. + :type connection_name: str + :param express_route_circuit_connection_parameters: Parameters supplied to the create or update + express route circuit connection operation. + :type express_route_circuit_connection_parameters: ~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitConnection + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either ExpressRouteCircuitConnection or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitConnection] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteCircuitConnection"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + resource_group_name=resource_group_name, + circuit_name=circuit_name, + peering_name=peering_name, + connection_name=connection_name, + express_route_circuit_connection_parameters=express_route_circuit_connection_parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('ExpressRouteCircuitConnection', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'circuitName': self._serialize.url("circuit_name", circuit_name, 'str'), + 'peeringName': self._serialize.url("peering_name", peering_name, 'str'), + 'connectionName': self._serialize.url("connection_name", connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/connections/{connectionName}'} # type: ignore + + def list( + self, + resource_group_name, # type: str + circuit_name, # type: str + peering_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.ExpressRouteCircuitConnectionListResult"] + """Gets all global reach connections associated with a private peering in an express route + circuit. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param circuit_name: The name of the circuit. + :type circuit_name: str + :param peering_name: The name of the peering. + :type peering_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ExpressRouteCircuitConnectionListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitConnectionListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteCircuitConnectionListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'circuitName': self._serialize.url("circuit_name", circuit_name, 'str'), + 'peeringName': self._serialize.url("peering_name", peering_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('ExpressRouteCircuitConnectionListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/connections'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_express_route_circuit_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_express_route_circuit_peerings_operations.py new file mode 100644 index 000000000000..3867d7a557c7 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_express_route_circuit_peerings_operations.py @@ -0,0 +1,441 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class ExpressRouteCircuitPeeringsOperations(object): + """ExpressRouteCircuitPeeringsOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def _delete_initial( + self, + resource_group_name, # type: str + circuit_name, # type: str + peering_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'circuitName': self._serialize.url("circuit_name", circuit_name, 'str'), + 'peeringName': self._serialize.url("peering_name", peering_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + circuit_name, # type: str + peering_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the specified peering from the specified express route circuit. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param circuit_name: The name of the express route circuit. + :type circuit_name: str + :param peering_name: The name of the peering. + :type peering_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + circuit_name=circuit_name, + peering_name=peering_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'circuitName': self._serialize.url("circuit_name", circuit_name, 'str'), + 'peeringName': self._serialize.url("peering_name", peering_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}'} # type: ignore + + def get( + self, + resource_group_name, # type: str + circuit_name, # type: str + peering_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.ExpressRouteCircuitPeering" + """Gets the specified peering for the express route circuit. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param circuit_name: The name of the express route circuit. + :type circuit_name: str + :param peering_name: The name of the peering. + :type peering_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ExpressRouteCircuitPeering, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitPeering + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteCircuitPeering"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'circuitName': self._serialize.url("circuit_name", circuit_name, 'str'), + 'peeringName': self._serialize.url("peering_name", peering_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ExpressRouteCircuitPeering', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}'} # type: ignore + + def _create_or_update_initial( + self, + resource_group_name, # type: str + circuit_name, # type: str + peering_name, # type: str + peering_parameters, # type: "_models.ExpressRouteCircuitPeering" + **kwargs # type: Any + ): + # type: (...) -> "_models.ExpressRouteCircuitPeering" + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteCircuitPeering"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'circuitName': self._serialize.url("circuit_name", circuit_name, 'str'), + 'peeringName': self._serialize.url("peering_name", peering_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(peering_parameters, 'ExpressRouteCircuitPeering') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('ExpressRouteCircuitPeering', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('ExpressRouteCircuitPeering', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}'} # type: ignore + + def begin_create_or_update( + self, + resource_group_name, # type: str + circuit_name, # type: str + peering_name, # type: str + peering_parameters, # type: "_models.ExpressRouteCircuitPeering" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.ExpressRouteCircuitPeering"] + """Creates or updates a peering in the specified express route circuits. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param circuit_name: The name of the express route circuit. + :type circuit_name: str + :param peering_name: The name of the peering. + :type peering_name: str + :param peering_parameters: Parameters supplied to the create or update express route circuit + peering operation. + :type peering_parameters: ~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitPeering + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either ExpressRouteCircuitPeering or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitPeering] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteCircuitPeering"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + resource_group_name=resource_group_name, + circuit_name=circuit_name, + peering_name=peering_name, + peering_parameters=peering_parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('ExpressRouteCircuitPeering', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'circuitName': self._serialize.url("circuit_name", circuit_name, 'str'), + 'peeringName': self._serialize.url("peering_name", peering_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}'} # type: ignore + + def list( + self, + resource_group_name, # type: str + circuit_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.ExpressRouteCircuitPeeringListResult"] + """Gets all peerings in a specified express route circuit. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param circuit_name: The name of the express route circuit. + :type circuit_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ExpressRouteCircuitPeeringListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitPeeringListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteCircuitPeeringListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'circuitName': self._serialize.url("circuit_name", circuit_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('ExpressRouteCircuitPeeringListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_express_route_circuits_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_express_route_circuits_operations.py new file mode 100644 index 000000000000..954fdc941791 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_express_route_circuits_operations.py @@ -0,0 +1,1073 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class ExpressRouteCircuitsOperations(object): + """ExpressRouteCircuitsOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def _delete_initial( + self, + resource_group_name, # type: str + circuit_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'circuitName': self._serialize.url("circuit_name", circuit_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + circuit_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the specified express route circuit. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param circuit_name: The name of the express route circuit. + :type circuit_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + circuit_name=circuit_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'circuitName': self._serialize.url("circuit_name", circuit_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}'} # type: ignore + + def get( + self, + resource_group_name, # type: str + circuit_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.ExpressRouteCircuit" + """Gets information about the specified express route circuit. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param circuit_name: The name of express route circuit. + :type circuit_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ExpressRouteCircuit, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuit + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteCircuit"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'circuitName': self._serialize.url("circuit_name", circuit_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ExpressRouteCircuit', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}'} # type: ignore + + def _create_or_update_initial( + self, + resource_group_name, # type: str + circuit_name, # type: str + parameters, # type: "_models.ExpressRouteCircuit" + **kwargs # type: Any + ): + # type: (...) -> "_models.ExpressRouteCircuit" + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteCircuit"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'circuitName': self._serialize.url("circuit_name", circuit_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'ExpressRouteCircuit') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('ExpressRouteCircuit', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('ExpressRouteCircuit', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}'} # type: ignore + + def begin_create_or_update( + self, + resource_group_name, # type: str + circuit_name, # type: str + parameters, # type: "_models.ExpressRouteCircuit" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.ExpressRouteCircuit"] + """Creates or updates an express route circuit. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param circuit_name: The name of the circuit. + :type circuit_name: str + :param parameters: Parameters supplied to the create or update express route circuit operation. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuit + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either ExpressRouteCircuit or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuit] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteCircuit"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + resource_group_name=resource_group_name, + circuit_name=circuit_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('ExpressRouteCircuit', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'circuitName': self._serialize.url("circuit_name", circuit_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}'} # type: ignore + + def update_tags( + self, + resource_group_name, # type: str + circuit_name, # type: str + parameters, # type: "_models.TagsObject" + **kwargs # type: Any + ): + # type: (...) -> "_models.ExpressRouteCircuit" + """Updates an express route circuit tags. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param circuit_name: The name of the circuit. + :type circuit_name: str + :param parameters: Parameters supplied to update express route circuit tags. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.TagsObject + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ExpressRouteCircuit, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuit + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteCircuit"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update_tags.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'circuitName': self._serialize.url("circuit_name", circuit_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'TagsObject') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ExpressRouteCircuit', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}'} # type: ignore + + def _list_arp_table_initial( + self, + resource_group_name, # type: str + circuit_name, # type: str + peering_name, # type: str + device_path, # type: str + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.ExpressRouteCircuitsArpTableListResult"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.ExpressRouteCircuitsArpTableListResult"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._list_arp_table_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'circuitName': self._serialize.url("circuit_name", circuit_name, 'str'), + 'peeringName': self._serialize.url("peering_name", peering_name, 'str'), + 'devicePath': self._serialize.url("device_path", device_path, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('ExpressRouteCircuitsArpTableListResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _list_arp_table_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/arpTables/{devicePath}'} # type: ignore + + def begin_list_arp_table( + self, + resource_group_name, # type: str + circuit_name, # type: str + peering_name, # type: str + device_path, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.ExpressRouteCircuitsArpTableListResult"] + """Gets the currently advertised ARP table associated with the express route circuit in a resource + group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param circuit_name: The name of the express route circuit. + :type circuit_name: str + :param peering_name: The name of the peering. + :type peering_name: str + :param device_path: The path of the device. + :type device_path: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitsArpTableListResult] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteCircuitsArpTableListResult"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._list_arp_table_initial( + resource_group_name=resource_group_name, + circuit_name=circuit_name, + peering_name=peering_name, + device_path=device_path, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('ExpressRouteCircuitsArpTableListResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'circuitName': self._serialize.url("circuit_name", circuit_name, 'str'), + 'peeringName': self._serialize.url("peering_name", peering_name, 'str'), + 'devicePath': self._serialize.url("device_path", device_path, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_list_arp_table.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/arpTables/{devicePath}'} # type: ignore + + def _list_routes_table_initial( + self, + resource_group_name, # type: str + circuit_name, # type: str + peering_name, # type: str + device_path, # type: str + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.ExpressRouteCircuitsRoutesTableListResult"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.ExpressRouteCircuitsRoutesTableListResult"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._list_routes_table_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'circuitName': self._serialize.url("circuit_name", circuit_name, 'str'), + 'peeringName': self._serialize.url("peering_name", peering_name, 'str'), + 'devicePath': self._serialize.url("device_path", device_path, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('ExpressRouteCircuitsRoutesTableListResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _list_routes_table_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/routeTables/{devicePath}'} # type: ignore + + def begin_list_routes_table( + self, + resource_group_name, # type: str + circuit_name, # type: str + peering_name, # type: str + device_path, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.ExpressRouteCircuitsRoutesTableListResult"] + """Gets the currently advertised routes table associated with the express route circuit in a + resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param circuit_name: The name of the express route circuit. + :type circuit_name: str + :param peering_name: The name of the peering. + :type peering_name: str + :param device_path: The path of the device. + :type device_path: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitsRoutesTableListResult] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteCircuitsRoutesTableListResult"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._list_routes_table_initial( + resource_group_name=resource_group_name, + circuit_name=circuit_name, + peering_name=peering_name, + device_path=device_path, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('ExpressRouteCircuitsRoutesTableListResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'circuitName': self._serialize.url("circuit_name", circuit_name, 'str'), + 'peeringName': self._serialize.url("peering_name", peering_name, 'str'), + 'devicePath': self._serialize.url("device_path", device_path, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_list_routes_table.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/routeTables/{devicePath}'} # type: ignore + + def _list_routes_table_summary_initial( + self, + resource_group_name, # type: str + circuit_name, # type: str + peering_name, # type: str + device_path, # type: str + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.ExpressRouteCircuitsRoutesTableSummaryListResult"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.ExpressRouteCircuitsRoutesTableSummaryListResult"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._list_routes_table_summary_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'circuitName': self._serialize.url("circuit_name", circuit_name, 'str'), + 'peeringName': self._serialize.url("peering_name", peering_name, 'str'), + 'devicePath': self._serialize.url("device_path", device_path, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('ExpressRouteCircuitsRoutesTableSummaryListResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _list_routes_table_summary_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/routeTablesSummary/{devicePath}'} # type: ignore + + def begin_list_routes_table_summary( + self, + resource_group_name, # type: str + circuit_name, # type: str + peering_name, # type: str + device_path, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.ExpressRouteCircuitsRoutesTableSummaryListResult"] + """Gets the currently advertised routes table summary associated with the express route circuit in + a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param circuit_name: The name of the express route circuit. + :type circuit_name: str + :param peering_name: The name of the peering. + :type peering_name: str + :param device_path: The path of the device. + :type device_path: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableSummaryListResult or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitsRoutesTableSummaryListResult] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteCircuitsRoutesTableSummaryListResult"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._list_routes_table_summary_initial( + resource_group_name=resource_group_name, + circuit_name=circuit_name, + peering_name=peering_name, + device_path=device_path, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('ExpressRouteCircuitsRoutesTableSummaryListResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'circuitName': self._serialize.url("circuit_name", circuit_name, 'str'), + 'peeringName': self._serialize.url("peering_name", peering_name, 'str'), + 'devicePath': self._serialize.url("device_path", device_path, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_list_routes_table_summary.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/routeTablesSummary/{devicePath}'} # type: ignore + + def get_stats( + self, + resource_group_name, # type: str + circuit_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.ExpressRouteCircuitStats" + """Gets all the stats from an express route circuit in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param circuit_name: The name of the express route circuit. + :type circuit_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ExpressRouteCircuitStats, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitStats + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteCircuitStats"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get_stats.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'circuitName': self._serialize.url("circuit_name", circuit_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ExpressRouteCircuitStats', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_stats.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/stats'} # type: ignore + + def get_peering_stats( + self, + resource_group_name, # type: str + circuit_name, # type: str + peering_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.ExpressRouteCircuitStats" + """Gets all stats from an express route circuit in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param circuit_name: The name of the express route circuit. + :type circuit_name: str + :param peering_name: The name of the peering. + :type peering_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ExpressRouteCircuitStats, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitStats + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteCircuitStats"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get_peering_stats.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'circuitName': self._serialize.url("circuit_name", circuit_name, 'str'), + 'peeringName': self._serialize.url("peering_name", peering_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ExpressRouteCircuitStats', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_peering_stats.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/stats'} # type: ignore + + def list( + self, + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.ExpressRouteCircuitListResult"] + """Gets all the express route circuits in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ExpressRouteCircuitListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteCircuitListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('ExpressRouteCircuitListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits'} # type: ignore + + def list_all( + self, + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.ExpressRouteCircuitListResult"] + """Gets all the express route circuits in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ExpressRouteCircuitListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteCircuitListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_all.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('ExpressRouteCircuitListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_all.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteCircuits'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_express_route_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_express_route_connections_operations.py new file mode 100644 index 000000000000..0bc43b479e2f --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_express_route_connections_operations.py @@ -0,0 +1,424 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class ExpressRouteConnectionsOperations(object): + """ExpressRouteConnectionsOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def _create_or_update_initial( + self, + resource_group_name, # type: str + express_route_gateway_name, # type: str + connection_name, # type: str + put_express_route_connection_parameters, # type: "_models.ExpressRouteConnection" + **kwargs # type: Any + ): + # type: (...) -> "_models.ExpressRouteConnection" + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteConnection"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'expressRouteGatewayName': self._serialize.url("express_route_gateway_name", express_route_gateway_name, 'str'), + 'connectionName': self._serialize.url("connection_name", connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(put_express_route_connection_parameters, 'ExpressRouteConnection') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('ExpressRouteConnection', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('ExpressRouteConnection', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/expressRouteConnections/{connectionName}'} # type: ignore + + def begin_create_or_update( + self, + resource_group_name, # type: str + express_route_gateway_name, # type: str + connection_name, # type: str + put_express_route_connection_parameters, # type: "_models.ExpressRouteConnection" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.ExpressRouteConnection"] + """Creates a connection between an ExpressRoute gateway and an ExpressRoute circuit. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param express_route_gateway_name: The name of the ExpressRoute gateway. + :type express_route_gateway_name: str + :param connection_name: The name of the connection subresource. + :type connection_name: str + :param put_express_route_connection_parameters: Parameters required in an + ExpressRouteConnection PUT operation. + :type put_express_route_connection_parameters: ~azure.mgmt.network.v2021_02_01.models.ExpressRouteConnection + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either ExpressRouteConnection or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.ExpressRouteConnection] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteConnection"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + resource_group_name=resource_group_name, + express_route_gateway_name=express_route_gateway_name, + connection_name=connection_name, + put_express_route_connection_parameters=put_express_route_connection_parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('ExpressRouteConnection', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'expressRouteGatewayName': self._serialize.url("express_route_gateway_name", express_route_gateway_name, 'str'), + 'connectionName': self._serialize.url("connection_name", connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/expressRouteConnections/{connectionName}'} # type: ignore + + def get( + self, + resource_group_name, # type: str + express_route_gateway_name, # type: str + connection_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.ExpressRouteConnection" + """Gets the specified ExpressRouteConnection. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param express_route_gateway_name: The name of the ExpressRoute gateway. + :type express_route_gateway_name: str + :param connection_name: The name of the ExpressRoute connection. + :type connection_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ExpressRouteConnection, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.ExpressRouteConnection + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteConnection"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'expressRouteGatewayName': self._serialize.url("express_route_gateway_name", express_route_gateway_name, 'str'), + 'connectionName': self._serialize.url("connection_name", connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ExpressRouteConnection', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/expressRouteConnections/{connectionName}'} # type: ignore + + def _delete_initial( + self, + resource_group_name, # type: str + express_route_gateway_name, # type: str + connection_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'expressRouteGatewayName': self._serialize.url("express_route_gateway_name", express_route_gateway_name, 'str'), + 'connectionName': self._serialize.url("connection_name", connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/expressRouteConnections/{connectionName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + express_route_gateway_name, # type: str + connection_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes a connection to a ExpressRoute circuit. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param express_route_gateway_name: The name of the ExpressRoute gateway. + :type express_route_gateway_name: str + :param connection_name: The name of the connection subresource. + :type connection_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + express_route_gateway_name=express_route_gateway_name, + connection_name=connection_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'expressRouteGatewayName': self._serialize.url("express_route_gateway_name", express_route_gateway_name, 'str'), + 'connectionName': self._serialize.url("connection_name", connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/expressRouteConnections/{connectionName}'} # type: ignore + + def list( + self, + resource_group_name, # type: str + express_route_gateway_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.ExpressRouteConnectionList" + """Lists ExpressRouteConnections. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param express_route_gateway_name: The name of the ExpressRoute gateway. + :type express_route_gateway_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ExpressRouteConnectionList, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.ExpressRouteConnectionList + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteConnectionList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'expressRouteGatewayName': self._serialize.url("express_route_gateway_name", express_route_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ExpressRouteConnectionList', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/expressRouteConnections'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_express_route_cross_connection_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_express_route_cross_connection_peerings_operations.py new file mode 100644 index 000000000000..bf44e1d7d16b --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_express_route_cross_connection_peerings_operations.py @@ -0,0 +1,441 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class ExpressRouteCrossConnectionPeeringsOperations(object): + """ExpressRouteCrossConnectionPeeringsOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + resource_group_name, # type: str + cross_connection_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.ExpressRouteCrossConnectionPeeringList"] + """Gets all peerings in a specified ExpressRouteCrossConnection. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param cross_connection_name: The name of the ExpressRouteCrossConnection. + :type cross_connection_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ExpressRouteCrossConnectionPeeringList or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.ExpressRouteCrossConnectionPeeringList] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteCrossConnectionPeeringList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'crossConnectionName': self._serialize.url("cross_connection_name", cross_connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('ExpressRouteCrossConnectionPeeringList', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings'} # type: ignore + + def _delete_initial( + self, + resource_group_name, # type: str + cross_connection_name, # type: str + peering_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'crossConnectionName': self._serialize.url("cross_connection_name", cross_connection_name, 'str'), + 'peeringName': self._serialize.url("peering_name", peering_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + cross_connection_name, # type: str + peering_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the specified peering from the ExpressRouteCrossConnection. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param cross_connection_name: The name of the ExpressRouteCrossConnection. + :type cross_connection_name: str + :param peering_name: The name of the peering. + :type peering_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + cross_connection_name=cross_connection_name, + peering_name=peering_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'crossConnectionName': self._serialize.url("cross_connection_name", cross_connection_name, 'str'), + 'peeringName': self._serialize.url("peering_name", peering_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}'} # type: ignore + + def get( + self, + resource_group_name, # type: str + cross_connection_name, # type: str + peering_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.ExpressRouteCrossConnectionPeering" + """Gets the specified peering for the ExpressRouteCrossConnection. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param cross_connection_name: The name of the ExpressRouteCrossConnection. + :type cross_connection_name: str + :param peering_name: The name of the peering. + :type peering_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ExpressRouteCrossConnectionPeering, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.ExpressRouteCrossConnectionPeering + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteCrossConnectionPeering"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'crossConnectionName': self._serialize.url("cross_connection_name", cross_connection_name, 'str'), + 'peeringName': self._serialize.url("peering_name", peering_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ExpressRouteCrossConnectionPeering', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}'} # type: ignore + + def _create_or_update_initial( + self, + resource_group_name, # type: str + cross_connection_name, # type: str + peering_name, # type: str + peering_parameters, # type: "_models.ExpressRouteCrossConnectionPeering" + **kwargs # type: Any + ): + # type: (...) -> "_models.ExpressRouteCrossConnectionPeering" + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteCrossConnectionPeering"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'crossConnectionName': self._serialize.url("cross_connection_name", cross_connection_name, 'str'), + 'peeringName': self._serialize.url("peering_name", peering_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(peering_parameters, 'ExpressRouteCrossConnectionPeering') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('ExpressRouteCrossConnectionPeering', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('ExpressRouteCrossConnectionPeering', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}'} # type: ignore + + def begin_create_or_update( + self, + resource_group_name, # type: str + cross_connection_name, # type: str + peering_name, # type: str + peering_parameters, # type: "_models.ExpressRouteCrossConnectionPeering" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.ExpressRouteCrossConnectionPeering"] + """Creates or updates a peering in the specified ExpressRouteCrossConnection. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param cross_connection_name: The name of the ExpressRouteCrossConnection. + :type cross_connection_name: str + :param peering_name: The name of the peering. + :type peering_name: str + :param peering_parameters: Parameters supplied to the create or update + ExpressRouteCrossConnection peering operation. + :type peering_parameters: ~azure.mgmt.network.v2021_02_01.models.ExpressRouteCrossConnectionPeering + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either ExpressRouteCrossConnectionPeering or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.ExpressRouteCrossConnectionPeering] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteCrossConnectionPeering"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + resource_group_name=resource_group_name, + cross_connection_name=cross_connection_name, + peering_name=peering_name, + peering_parameters=peering_parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('ExpressRouteCrossConnectionPeering', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'crossConnectionName': self._serialize.url("cross_connection_name", cross_connection_name, 'str'), + 'peeringName': self._serialize.url("peering_name", peering_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_express_route_cross_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_express_route_cross_connections_operations.py new file mode 100644 index 000000000000..17a97c6a7739 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_express_route_cross_connections_operations.py @@ -0,0 +1,839 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class ExpressRouteCrossConnectionsOperations(object): + """ExpressRouteCrossConnectionsOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.ExpressRouteCrossConnectionListResult"] + """Retrieves all the ExpressRouteCrossConnections in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ExpressRouteCrossConnectionListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.ExpressRouteCrossConnectionListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteCrossConnectionListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('ExpressRouteCrossConnectionListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteCrossConnections'} # type: ignore + + def list_by_resource_group( + self, + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.ExpressRouteCrossConnectionListResult"] + """Retrieves all the ExpressRouteCrossConnections in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ExpressRouteCrossConnectionListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.ExpressRouteCrossConnectionListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteCrossConnectionListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_resource_group.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('ExpressRouteCrossConnectionListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections'} # type: ignore + + def get( + self, + resource_group_name, # type: str + cross_connection_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.ExpressRouteCrossConnection" + """Gets details about the specified ExpressRouteCrossConnection. + + :param resource_group_name: The name of the resource group (peering location of the circuit). + :type resource_group_name: str + :param cross_connection_name: The name of the ExpressRouteCrossConnection (service key of the + circuit). + :type cross_connection_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ExpressRouteCrossConnection, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.ExpressRouteCrossConnection + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteCrossConnection"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'crossConnectionName': self._serialize.url("cross_connection_name", cross_connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ExpressRouteCrossConnection', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}'} # type: ignore + + def _create_or_update_initial( + self, + resource_group_name, # type: str + cross_connection_name, # type: str + parameters, # type: "_models.ExpressRouteCrossConnection" + **kwargs # type: Any + ): + # type: (...) -> "_models.ExpressRouteCrossConnection" + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteCrossConnection"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'crossConnectionName': self._serialize.url("cross_connection_name", cross_connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'ExpressRouteCrossConnection') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ExpressRouteCrossConnection', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}'} # type: ignore + + def begin_create_or_update( + self, + resource_group_name, # type: str + cross_connection_name, # type: str + parameters, # type: "_models.ExpressRouteCrossConnection" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.ExpressRouteCrossConnection"] + """Update the specified ExpressRouteCrossConnection. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param cross_connection_name: The name of the ExpressRouteCrossConnection. + :type cross_connection_name: str + :param parameters: Parameters supplied to the update express route crossConnection operation. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.ExpressRouteCrossConnection + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either ExpressRouteCrossConnection or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.ExpressRouteCrossConnection] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteCrossConnection"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + resource_group_name=resource_group_name, + cross_connection_name=cross_connection_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('ExpressRouteCrossConnection', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'crossConnectionName': self._serialize.url("cross_connection_name", cross_connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}'} # type: ignore + + def update_tags( + self, + resource_group_name, # type: str + cross_connection_name, # type: str + cross_connection_parameters, # type: "_models.TagsObject" + **kwargs # type: Any + ): + # type: (...) -> "_models.ExpressRouteCrossConnection" + """Updates an express route cross connection tags. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param cross_connection_name: The name of the cross connection. + :type cross_connection_name: str + :param cross_connection_parameters: Parameters supplied to update express route cross + connection tags. + :type cross_connection_parameters: ~azure.mgmt.network.v2021_02_01.models.TagsObject + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ExpressRouteCrossConnection, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.ExpressRouteCrossConnection + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteCrossConnection"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update_tags.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'crossConnectionName': self._serialize.url("cross_connection_name", cross_connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(cross_connection_parameters, 'TagsObject') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ExpressRouteCrossConnection', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}'} # type: ignore + + def _list_arp_table_initial( + self, + resource_group_name, # type: str + cross_connection_name, # type: str + peering_name, # type: str + device_path, # type: str + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.ExpressRouteCircuitsArpTableListResult"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.ExpressRouteCircuitsArpTableListResult"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._list_arp_table_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'crossConnectionName': self._serialize.url("cross_connection_name", cross_connection_name, 'str'), + 'peeringName': self._serialize.url("peering_name", peering_name, 'str'), + 'devicePath': self._serialize.url("device_path", device_path, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('ExpressRouteCircuitsArpTableListResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _list_arp_table_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}/arpTables/{devicePath}'} # type: ignore + + def begin_list_arp_table( + self, + resource_group_name, # type: str + cross_connection_name, # type: str + peering_name, # type: str + device_path, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.ExpressRouteCircuitsArpTableListResult"] + """Gets the currently advertised ARP table associated with the express route cross connection in a + resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param cross_connection_name: The name of the ExpressRouteCrossConnection. + :type cross_connection_name: str + :param peering_name: The name of the peering. + :type peering_name: str + :param device_path: The path of the device. + :type device_path: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitsArpTableListResult] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteCircuitsArpTableListResult"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._list_arp_table_initial( + resource_group_name=resource_group_name, + cross_connection_name=cross_connection_name, + peering_name=peering_name, + device_path=device_path, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('ExpressRouteCircuitsArpTableListResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'crossConnectionName': self._serialize.url("cross_connection_name", cross_connection_name, 'str'), + 'peeringName': self._serialize.url("peering_name", peering_name, 'str'), + 'devicePath': self._serialize.url("device_path", device_path, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_list_arp_table.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}/arpTables/{devicePath}'} # type: ignore + + def _list_routes_table_summary_initial( + self, + resource_group_name, # type: str + cross_connection_name, # type: str + peering_name, # type: str + device_path, # type: str + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.ExpressRouteCrossConnectionsRoutesTableSummaryListResult"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.ExpressRouteCrossConnectionsRoutesTableSummaryListResult"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._list_routes_table_summary_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'crossConnectionName': self._serialize.url("cross_connection_name", cross_connection_name, 'str'), + 'peeringName': self._serialize.url("peering_name", peering_name, 'str'), + 'devicePath': self._serialize.url("device_path", device_path, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('ExpressRouteCrossConnectionsRoutesTableSummaryListResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _list_routes_table_summary_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}/routeTablesSummary/{devicePath}'} # type: ignore + + def begin_list_routes_table_summary( + self, + resource_group_name, # type: str + cross_connection_name, # type: str + peering_name, # type: str + device_path, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.ExpressRouteCrossConnectionsRoutesTableSummaryListResult"] + """Gets the route table summary associated with the express route cross connection in a resource + group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param cross_connection_name: The name of the ExpressRouteCrossConnection. + :type cross_connection_name: str + :param peering_name: The name of the peering. + :type peering_name: str + :param device_path: The path of the device. + :type device_path: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either ExpressRouteCrossConnectionsRoutesTableSummaryListResult or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.ExpressRouteCrossConnectionsRoutesTableSummaryListResult] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteCrossConnectionsRoutesTableSummaryListResult"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._list_routes_table_summary_initial( + resource_group_name=resource_group_name, + cross_connection_name=cross_connection_name, + peering_name=peering_name, + device_path=device_path, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('ExpressRouteCrossConnectionsRoutesTableSummaryListResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'crossConnectionName': self._serialize.url("cross_connection_name", cross_connection_name, 'str'), + 'peeringName': self._serialize.url("peering_name", peering_name, 'str'), + 'devicePath': self._serialize.url("device_path", device_path, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_list_routes_table_summary.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}/routeTablesSummary/{devicePath}'} # type: ignore + + def _list_routes_table_initial( + self, + resource_group_name, # type: str + cross_connection_name, # type: str + peering_name, # type: str + device_path, # type: str + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.ExpressRouteCircuitsRoutesTableListResult"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.ExpressRouteCircuitsRoutesTableListResult"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._list_routes_table_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'crossConnectionName': self._serialize.url("cross_connection_name", cross_connection_name, 'str'), + 'peeringName': self._serialize.url("peering_name", peering_name, 'str'), + 'devicePath': self._serialize.url("device_path", device_path, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('ExpressRouteCircuitsRoutesTableListResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _list_routes_table_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}/routeTables/{devicePath}'} # type: ignore + + def begin_list_routes_table( + self, + resource_group_name, # type: str + cross_connection_name, # type: str + peering_name, # type: str + device_path, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.ExpressRouteCircuitsRoutesTableListResult"] + """Gets the currently advertised routes table associated with the express route cross connection + in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param cross_connection_name: The name of the ExpressRouteCrossConnection. + :type cross_connection_name: str + :param peering_name: The name of the peering. + :type peering_name: str + :param device_path: The path of the device. + :type device_path: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.ExpressRouteCircuitsRoutesTableListResult] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteCircuitsRoutesTableListResult"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._list_routes_table_initial( + resource_group_name=resource_group_name, + cross_connection_name=cross_connection_name, + peering_name=peering_name, + device_path=device_path, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('ExpressRouteCircuitsRoutesTableListResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'crossConnectionName': self._serialize.url("cross_connection_name", cross_connection_name, 'str'), + 'peeringName': self._serialize.url("peering_name", peering_name, 'str'), + 'devicePath': self._serialize.url("device_path", device_path, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_list_routes_table.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}/routeTables/{devicePath}'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_express_route_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_express_route_gateways_operations.py new file mode 100644 index 000000000000..7d973be1b515 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_express_route_gateways_operations.py @@ -0,0 +1,583 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class ExpressRouteGatewaysOperations(object): + """ExpressRouteGatewaysOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_by_subscription( + self, + **kwargs # type: Any + ): + # type: (...) -> "_models.ExpressRouteGatewayList" + """Lists ExpressRoute gateways under a given subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ExpressRouteGatewayList, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.ExpressRouteGatewayList + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteGatewayList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.list_by_subscription.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ExpressRouteGatewayList', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + list_by_subscription.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteGateways'} # type: ignore + + def list_by_resource_group( + self, + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.ExpressRouteGatewayList" + """Lists ExpressRoute gateways in a given resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ExpressRouteGatewayList, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.ExpressRouteGatewayList + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteGatewayList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.list_by_resource_group.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ExpressRouteGatewayList', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways'} # type: ignore + + def _create_or_update_initial( + self, + resource_group_name, # type: str + express_route_gateway_name, # type: str + put_express_route_gateway_parameters, # type: "_models.ExpressRouteGateway" + **kwargs # type: Any + ): + # type: (...) -> "_models.ExpressRouteGateway" + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteGateway"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'expressRouteGatewayName': self._serialize.url("express_route_gateway_name", express_route_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(put_express_route_gateway_parameters, 'ExpressRouteGateway') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('ExpressRouteGateway', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('ExpressRouteGateway', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}'} # type: ignore + + def begin_create_or_update( + self, + resource_group_name, # type: str + express_route_gateway_name, # type: str + put_express_route_gateway_parameters, # type: "_models.ExpressRouteGateway" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.ExpressRouteGateway"] + """Creates or updates a ExpressRoute gateway in a specified resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param express_route_gateway_name: The name of the ExpressRoute gateway. + :type express_route_gateway_name: str + :param put_express_route_gateway_parameters: Parameters required in an ExpressRoute gateway PUT + operation. + :type put_express_route_gateway_parameters: ~azure.mgmt.network.v2021_02_01.models.ExpressRouteGateway + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either ExpressRouteGateway or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.ExpressRouteGateway] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteGateway"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + resource_group_name=resource_group_name, + express_route_gateway_name=express_route_gateway_name, + put_express_route_gateway_parameters=put_express_route_gateway_parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('ExpressRouteGateway', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'expressRouteGatewayName': self._serialize.url("express_route_gateway_name", express_route_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}'} # type: ignore + + def _update_tags_initial( + self, + resource_group_name, # type: str + express_route_gateway_name, # type: str + express_route_gateway_parameters, # type: "_models.TagsObject" + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.ExpressRouteGateway"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.ExpressRouteGateway"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._update_tags_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'expressRouteGatewayName': self._serialize.url("express_route_gateway_name", express_route_gateway_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(express_route_gateway_parameters, 'TagsObject') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('ExpressRouteGateway', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _update_tags_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}'} # type: ignore + + def begin_update_tags( + self, + resource_group_name, # type: str + express_route_gateway_name, # type: str + express_route_gateway_parameters, # type: "_models.TagsObject" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.ExpressRouteGateway"] + """Updates express route gateway tags. + + :param resource_group_name: The resource group name of the ExpressRouteGateway. + :type resource_group_name: str + :param express_route_gateway_name: The name of the gateway. + :type express_route_gateway_name: str + :param express_route_gateway_parameters: Parameters supplied to update a virtual wan express + route gateway tags. + :type express_route_gateway_parameters: ~azure.mgmt.network.v2021_02_01.models.TagsObject + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either ExpressRouteGateway or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.ExpressRouteGateway] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteGateway"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._update_tags_initial( + resource_group_name=resource_group_name, + express_route_gateway_name=express_route_gateway_name, + express_route_gateway_parameters=express_route_gateway_parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('ExpressRouteGateway', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'expressRouteGatewayName': self._serialize.url("express_route_gateway_name", express_route_gateway_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}'} # type: ignore + + def get( + self, + resource_group_name, # type: str + express_route_gateway_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.ExpressRouteGateway" + """Fetches the details of a ExpressRoute gateway in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param express_route_gateway_name: The name of the ExpressRoute gateway. + :type express_route_gateway_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ExpressRouteGateway, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.ExpressRouteGateway + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteGateway"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'expressRouteGatewayName': self._serialize.url("express_route_gateway_name", express_route_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ExpressRouteGateway', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}'} # type: ignore + + def _delete_initial( + self, + resource_group_name, # type: str + express_route_gateway_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'expressRouteGatewayName': self._serialize.url("express_route_gateway_name", express_route_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + express_route_gateway_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the specified ExpressRoute gateway in a resource group. An ExpressRoute gateway + resource can only be deleted when there are no connection subresources. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param express_route_gateway_name: The name of the ExpressRoute gateway. + :type express_route_gateway_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + express_route_gateway_name=express_route_gateway_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'expressRouteGatewayName': self._serialize.url("express_route_gateway_name", express_route_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_express_route_links_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_express_route_links_operations.py new file mode 100644 index 000000000000..9e2b3c1a7f41 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_express_route_links_operations.py @@ -0,0 +1,184 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.mgmt.core.exceptions import ARMErrorFormat + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class ExpressRouteLinksOperations(object): + """ExpressRouteLinksOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def get( + self, + resource_group_name, # type: str + express_route_port_name, # type: str + link_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.ExpressRouteLink" + """Retrieves the specified ExpressRouteLink resource. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param express_route_port_name: The name of the ExpressRoutePort resource. + :type express_route_port_name: str + :param link_name: The name of the ExpressRouteLink resource. + :type link_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ExpressRouteLink, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.ExpressRouteLink + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteLink"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'expressRoutePortName': self._serialize.url("express_route_port_name", express_route_port_name, 'str'), + 'linkName': self._serialize.url("link_name", link_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ExpressRouteLink', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}/links/{linkName}'} # type: ignore + + def list( + self, + resource_group_name, # type: str + express_route_port_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.ExpressRouteLinkListResult"] + """Retrieve the ExpressRouteLink sub-resources of the specified ExpressRoutePort resource. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param express_route_port_name: The name of the ExpressRoutePort resource. + :type express_route_port_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ExpressRouteLinkListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.ExpressRouteLinkListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteLinkListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'expressRoutePortName': self._serialize.url("express_route_port_name", express_route_port_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('ExpressRouteLinkListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}/links'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_express_route_ports_locations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_express_route_ports_locations_operations.py new file mode 100644 index 000000000000..0e8a591eefdd --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_express_route_ports_locations_operations.py @@ -0,0 +1,171 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.mgmt.core.exceptions import ARMErrorFormat + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class ExpressRoutePortsLocationsOperations(object): + """ExpressRoutePortsLocationsOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.ExpressRoutePortsLocationListResult"] + """Retrieves all ExpressRoutePort peering locations. Does not return available bandwidths for each + location. Available bandwidths can only be obtained when retrieving a specific peering + location. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ExpressRoutePortsLocationListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.ExpressRoutePortsLocationListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRoutePortsLocationListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('ExpressRoutePortsLocationListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePortsLocations'} # type: ignore + + def get( + self, + location_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.ExpressRoutePortsLocation" + """Retrieves a single ExpressRoutePort peering location, including the list of available + bandwidths available at said peering location. + + :param location_name: Name of the requested ExpressRoutePort peering location. + :type location_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ExpressRoutePortsLocation, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.ExpressRoutePortsLocation + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRoutePortsLocation"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'locationName': self._serialize.url("location_name", location_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ExpressRoutePortsLocation', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePortsLocations/{locationName}'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_express_route_ports_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_express_route_ports_operations.py new file mode 100644 index 000000000000..95e69f8fce8c --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_express_route_ports_operations.py @@ -0,0 +1,619 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class ExpressRoutePortsOperations(object): + """ExpressRoutePortsOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def _delete_initial( + self, + resource_group_name, # type: str + express_route_port_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'expressRoutePortName': self._serialize.url("express_route_port_name", express_route_port_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + express_route_port_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the specified ExpressRoutePort resource. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param express_route_port_name: The name of the ExpressRoutePort resource. + :type express_route_port_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + express_route_port_name=express_route_port_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'expressRoutePortName': self._serialize.url("express_route_port_name", express_route_port_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}'} # type: ignore + + def get( + self, + resource_group_name, # type: str + express_route_port_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.ExpressRoutePort" + """Retrieves the requested ExpressRoutePort resource. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param express_route_port_name: The name of ExpressRoutePort. + :type express_route_port_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ExpressRoutePort, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.ExpressRoutePort + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRoutePort"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'expressRoutePortName': self._serialize.url("express_route_port_name", express_route_port_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ExpressRoutePort', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}'} # type: ignore + + def _create_or_update_initial( + self, + resource_group_name, # type: str + express_route_port_name, # type: str + parameters, # type: "_models.ExpressRoutePort" + **kwargs # type: Any + ): + # type: (...) -> "_models.ExpressRoutePort" + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRoutePort"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'expressRoutePortName': self._serialize.url("express_route_port_name", express_route_port_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'ExpressRoutePort') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('ExpressRoutePort', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('ExpressRoutePort', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}'} # type: ignore + + def begin_create_or_update( + self, + resource_group_name, # type: str + express_route_port_name, # type: str + parameters, # type: "_models.ExpressRoutePort" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.ExpressRoutePort"] + """Creates or updates the specified ExpressRoutePort resource. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param express_route_port_name: The name of the ExpressRoutePort resource. + :type express_route_port_name: str + :param parameters: Parameters supplied to the create ExpressRoutePort operation. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.ExpressRoutePort + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either ExpressRoutePort or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.ExpressRoutePort] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRoutePort"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + resource_group_name=resource_group_name, + express_route_port_name=express_route_port_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('ExpressRoutePort', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'expressRoutePortName': self._serialize.url("express_route_port_name", express_route_port_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}'} # type: ignore + + def update_tags( + self, + resource_group_name, # type: str + express_route_port_name, # type: str + parameters, # type: "_models.TagsObject" + **kwargs # type: Any + ): + # type: (...) -> "_models.ExpressRoutePort" + """Update ExpressRoutePort tags. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param express_route_port_name: The name of the ExpressRoutePort resource. + :type express_route_port_name: str + :param parameters: Parameters supplied to update ExpressRoutePort resource tags. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.TagsObject + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ExpressRoutePort, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.ExpressRoutePort + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRoutePort"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update_tags.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'expressRoutePortName': self._serialize.url("express_route_port_name", express_route_port_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'TagsObject') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ExpressRoutePort', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}'} # type: ignore + + def list_by_resource_group( + self, + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.ExpressRoutePortListResult"] + """List all the ExpressRoutePort resources in the specified resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ExpressRoutePortListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.ExpressRoutePortListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRoutePortListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_resource_group.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('ExpressRoutePortListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts'} # type: ignore + + def list( + self, + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.ExpressRoutePortListResult"] + """List all the ExpressRoutePort resources in the specified subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ExpressRoutePortListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.ExpressRoutePortListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRoutePortListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('ExpressRoutePortListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePorts'} # type: ignore + + def generate_loa( + self, + resource_group_name, # type: str + express_route_port_name, # type: str + request, # type: "_models.GenerateExpressRoutePortsLOARequest" + **kwargs # type: Any + ): + # type: (...) -> "_models.GenerateExpressRoutePortsLOAResult" + """Generate a letter of authorization for the requested ExpressRoutePort resource. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param express_route_port_name: The name of ExpressRoutePort. + :type express_route_port_name: str + :param request: Request parameters supplied to generate a letter of authorization. + :type request: ~azure.mgmt.network.v2021_02_01.models.GenerateExpressRoutePortsLOARequest + :keyword callable cls: A custom type or function that will be passed the direct response + :return: GenerateExpressRoutePortsLOAResult, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.GenerateExpressRoutePortsLOAResult + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.GenerateExpressRoutePortsLOAResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.generate_loa.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'expressRoutePortName': self._serialize.url("express_route_port_name", express_route_port_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(request, 'GenerateExpressRoutePortsLOARequest') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('GenerateExpressRoutePortsLOAResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + generate_loa.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRoutePorts/{expressRoutePortName}/generateLoa'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_express_route_service_providers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_express_route_service_providers_operations.py new file mode 100644 index 000000000000..e4b90ceeea96 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_express_route_service_providers_operations.py @@ -0,0 +1,113 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.mgmt.core.exceptions import ARMErrorFormat + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class ExpressRouteServiceProvidersOperations(object): + """ExpressRouteServiceProvidersOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.ExpressRouteServiceProviderListResult"] + """Gets all the available express route service providers. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ExpressRouteServiceProviderListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.ExpressRouteServiceProviderListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ExpressRouteServiceProviderListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('ExpressRouteServiceProviderListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteServiceProviders'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_firewall_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_firewall_policies_operations.py new file mode 100644 index 000000000000..ae490918bf62 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_firewall_policies_operations.py @@ -0,0 +1,490 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class FirewallPoliciesOperations(object): + """FirewallPoliciesOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def _delete_initial( + self, + resource_group_name, # type: str + firewall_policy_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'firewallPolicyName': self._serialize.url("firewall_policy_name", firewall_policy_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + firewall_policy_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the specified Firewall Policy. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param firewall_policy_name: The name of the Firewall Policy. + :type firewall_policy_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + firewall_policy_name=firewall_policy_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'firewallPolicyName': self._serialize.url("firewall_policy_name", firewall_policy_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}'} # type: ignore + + def get( + self, + resource_group_name, # type: str + firewall_policy_name, # type: str + expand=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> "_models.FirewallPolicy" + """Gets the specified Firewall Policy. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param firewall_policy_name: The name of the Firewall Policy. + :type firewall_policy_name: str + :param expand: Expands referenced resources. + :type expand: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: FirewallPolicy, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.FirewallPolicy + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.FirewallPolicy"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'firewallPolicyName': self._serialize.url("firewall_policy_name", firewall_policy_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('FirewallPolicy', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}'} # type: ignore + + def _create_or_update_initial( + self, + resource_group_name, # type: str + firewall_policy_name, # type: str + parameters, # type: "_models.FirewallPolicy" + **kwargs # type: Any + ): + # type: (...) -> "_models.FirewallPolicy" + cls = kwargs.pop('cls', None) # type: ClsType["_models.FirewallPolicy"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'firewallPolicyName': self._serialize.url("firewall_policy_name", firewall_policy_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'FirewallPolicy') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('FirewallPolicy', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('FirewallPolicy', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}'} # type: ignore + + def begin_create_or_update( + self, + resource_group_name, # type: str + firewall_policy_name, # type: str + parameters, # type: "_models.FirewallPolicy" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.FirewallPolicy"] + """Creates or updates the specified Firewall Policy. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param firewall_policy_name: The name of the Firewall Policy. + :type firewall_policy_name: str + :param parameters: Parameters supplied to the create or update Firewall Policy operation. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.FirewallPolicy + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either FirewallPolicy or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.FirewallPolicy] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.FirewallPolicy"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + resource_group_name=resource_group_name, + firewall_policy_name=firewall_policy_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('FirewallPolicy', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'firewallPolicyName': self._serialize.url("firewall_policy_name", firewall_policy_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}'} # type: ignore + + def list( + self, + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.FirewallPolicyListResult"] + """Lists all Firewall Policies in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either FirewallPolicyListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.FirewallPolicyListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.FirewallPolicyListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('FirewallPolicyListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies'} # type: ignore + + def list_all( + self, + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.FirewallPolicyListResult"] + """Gets all the Firewall Policies in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either FirewallPolicyListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.FirewallPolicyListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.FirewallPolicyListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_all.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('FirewallPolicyListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_all.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/firewallPolicies'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_firewall_policy_rule_collection_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_firewall_policy_rule_collection_groups_operations.py new file mode 100644 index 000000000000..473ec850d359 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_firewall_policy_rule_collection_groups_operations.py @@ -0,0 +1,441 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class FirewallPolicyRuleCollectionGroupsOperations(object): + """FirewallPolicyRuleCollectionGroupsOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def _delete_initial( + self, + resource_group_name, # type: str + firewall_policy_name, # type: str + rule_collection_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'firewallPolicyName': self._serialize.url("firewall_policy_name", firewall_policy_name, 'str'), + 'ruleCollectionGroupName': self._serialize.url("rule_collection_group_name", rule_collection_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleCollectionGroups/{ruleCollectionGroupName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + firewall_policy_name, # type: str + rule_collection_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the specified FirewallPolicyRuleCollectionGroup. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param firewall_policy_name: The name of the Firewall Policy. + :type firewall_policy_name: str + :param rule_collection_group_name: The name of the FirewallPolicyRuleCollectionGroup. + :type rule_collection_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + firewall_policy_name=firewall_policy_name, + rule_collection_group_name=rule_collection_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'firewallPolicyName': self._serialize.url("firewall_policy_name", firewall_policy_name, 'str'), + 'ruleCollectionGroupName': self._serialize.url("rule_collection_group_name", rule_collection_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleCollectionGroups/{ruleCollectionGroupName}'} # type: ignore + + def get( + self, + resource_group_name, # type: str + firewall_policy_name, # type: str + rule_collection_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.FirewallPolicyRuleCollectionGroup" + """Gets the specified FirewallPolicyRuleCollectionGroup. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param firewall_policy_name: The name of the Firewall Policy. + :type firewall_policy_name: str + :param rule_collection_group_name: The name of the FirewallPolicyRuleCollectionGroup. + :type rule_collection_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: FirewallPolicyRuleCollectionGroup, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.FirewallPolicyRuleCollectionGroup + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.FirewallPolicyRuleCollectionGroup"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'firewallPolicyName': self._serialize.url("firewall_policy_name", firewall_policy_name, 'str'), + 'ruleCollectionGroupName': self._serialize.url("rule_collection_group_name", rule_collection_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('FirewallPolicyRuleCollectionGroup', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleCollectionGroups/{ruleCollectionGroupName}'} # type: ignore + + def _create_or_update_initial( + self, + resource_group_name, # type: str + firewall_policy_name, # type: str + rule_collection_group_name, # type: str + parameters, # type: "_models.FirewallPolicyRuleCollectionGroup" + **kwargs # type: Any + ): + # type: (...) -> "_models.FirewallPolicyRuleCollectionGroup" + cls = kwargs.pop('cls', None) # type: ClsType["_models.FirewallPolicyRuleCollectionGroup"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'firewallPolicyName': self._serialize.url("firewall_policy_name", firewall_policy_name, 'str'), + 'ruleCollectionGroupName': self._serialize.url("rule_collection_group_name", rule_collection_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'FirewallPolicyRuleCollectionGroup') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('FirewallPolicyRuleCollectionGroup', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('FirewallPolicyRuleCollectionGroup', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleCollectionGroups/{ruleCollectionGroupName}'} # type: ignore + + def begin_create_or_update( + self, + resource_group_name, # type: str + firewall_policy_name, # type: str + rule_collection_group_name, # type: str + parameters, # type: "_models.FirewallPolicyRuleCollectionGroup" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.FirewallPolicyRuleCollectionGroup"] + """Creates or updates the specified FirewallPolicyRuleCollectionGroup. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param firewall_policy_name: The name of the Firewall Policy. + :type firewall_policy_name: str + :param rule_collection_group_name: The name of the FirewallPolicyRuleCollectionGroup. + :type rule_collection_group_name: str + :param parameters: Parameters supplied to the create or update + FirewallPolicyRuleCollectionGroup operation. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.FirewallPolicyRuleCollectionGroup + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either FirewallPolicyRuleCollectionGroup or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.FirewallPolicyRuleCollectionGroup] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.FirewallPolicyRuleCollectionGroup"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + resource_group_name=resource_group_name, + firewall_policy_name=firewall_policy_name, + rule_collection_group_name=rule_collection_group_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('FirewallPolicyRuleCollectionGroup', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'firewallPolicyName': self._serialize.url("firewall_policy_name", firewall_policy_name, 'str'), + 'ruleCollectionGroupName': self._serialize.url("rule_collection_group_name", rule_collection_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleCollectionGroups/{ruleCollectionGroupName}'} # type: ignore + + def list( + self, + resource_group_name, # type: str + firewall_policy_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.FirewallPolicyRuleCollectionGroupListResult"] + """Lists all FirewallPolicyRuleCollectionGroups in a FirewallPolicy resource. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param firewall_policy_name: The name of the Firewall Policy. + :type firewall_policy_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either FirewallPolicyRuleCollectionGroupListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.FirewallPolicyRuleCollectionGroupListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.FirewallPolicyRuleCollectionGroupListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'firewallPolicyName': self._serialize.url("firewall_policy_name", firewall_policy_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('FirewallPolicyRuleCollectionGroupListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleCollectionGroups'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_flow_logs_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_flow_logs_operations.py new file mode 100644 index 000000000000..178e7d9ac139 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_flow_logs_operations.py @@ -0,0 +1,516 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class FlowLogsOperations(object): + """FlowLogsOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def _create_or_update_initial( + self, + resource_group_name, # type: str + network_watcher_name, # type: str + flow_log_name, # type: str + parameters, # type: "_models.FlowLog" + **kwargs # type: Any + ): + # type: (...) -> "_models.FlowLog" + cls = kwargs.pop('cls', None) # type: ClsType["_models.FlowLog"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'flowLogName': self._serialize.url("flow_log_name", flow_log_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'FlowLog') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('FlowLog', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('FlowLog', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/flowLogs/{flowLogName}'} # type: ignore + + def begin_create_or_update( + self, + resource_group_name, # type: str + network_watcher_name, # type: str + flow_log_name, # type: str + parameters, # type: "_models.FlowLog" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.FlowLog"] + """Create or update a flow log for the specified network security group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_watcher_name: The name of the network watcher. + :type network_watcher_name: str + :param flow_log_name: The name of the flow log. + :type flow_log_name: str + :param parameters: Parameters that define the create or update flow log resource. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.FlowLog + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either FlowLog or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.FlowLog] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.FlowLog"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + resource_group_name=resource_group_name, + network_watcher_name=network_watcher_name, + flow_log_name=flow_log_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('FlowLog', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'flowLogName': self._serialize.url("flow_log_name", flow_log_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/flowLogs/{flowLogName}'} # type: ignore + + def update_tags( + self, + resource_group_name, # type: str + network_watcher_name, # type: str + flow_log_name, # type: str + parameters, # type: "_models.TagsObject" + **kwargs # type: Any + ): + # type: (...) -> "_models.FlowLog" + """Update tags of the specified flow log. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_watcher_name: The name of the network watcher. + :type network_watcher_name: str + :param flow_log_name: The name of the flow log. + :type flow_log_name: str + :param parameters: Parameters supplied to update flow log tags. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.TagsObject + :keyword callable cls: A custom type or function that will be passed the direct response + :return: FlowLog, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.FlowLog + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.FlowLog"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update_tags.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'flowLogName': self._serialize.url("flow_log_name", flow_log_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'TagsObject') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('FlowLog', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/flowLogs/{flowLogName}'} # type: ignore + + def get( + self, + resource_group_name, # type: str + network_watcher_name, # type: str + flow_log_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.FlowLog" + """Gets a flow log resource by name. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_watcher_name: The name of the network watcher. + :type network_watcher_name: str + :param flow_log_name: The name of the flow log resource. + :type flow_log_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: FlowLog, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.FlowLog + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.FlowLog"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'flowLogName': self._serialize.url("flow_log_name", flow_log_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('FlowLog', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/flowLogs/{flowLogName}'} # type: ignore + + def _delete_initial( + self, + resource_group_name, # type: str + network_watcher_name, # type: str + flow_log_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'flowLogName': self._serialize.url("flow_log_name", flow_log_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/flowLogs/{flowLogName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + network_watcher_name, # type: str + flow_log_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the specified flow log resource. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_watcher_name: The name of the network watcher. + :type network_watcher_name: str + :param flow_log_name: The name of the flow log resource. + :type flow_log_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + network_watcher_name=network_watcher_name, + flow_log_name=flow_log_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'flowLogName': self._serialize.url("flow_log_name", flow_log_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/flowLogs/{flowLogName}'} # type: ignore + + def list( + self, + resource_group_name, # type: str + network_watcher_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.FlowLogListResult"] + """Lists all flow log resources for the specified Network Watcher. + + :param resource_group_name: The name of the resource group containing Network Watcher. + :type resource_group_name: str + :param network_watcher_name: The name of the Network Watcher resource. + :type network_watcher_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either FlowLogListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.FlowLogListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.FlowLogListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('FlowLogListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/flowLogs'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_hub_route_tables_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_hub_route_tables_operations.py new file mode 100644 index 000000000000..696011b5b08e --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_hub_route_tables_operations.py @@ -0,0 +1,440 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class HubRouteTablesOperations(object): + """HubRouteTablesOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def _create_or_update_initial( + self, + resource_group_name, # type: str + virtual_hub_name, # type: str + route_table_name, # type: str + route_table_parameters, # type: "_models.HubRouteTable" + **kwargs # type: Any + ): + # type: (...) -> "_models.HubRouteTable" + cls = kwargs.pop('cls', None) # type: ClsType["_models.HubRouteTable"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualHubName': self._serialize.url("virtual_hub_name", virtual_hub_name, 'str'), + 'routeTableName': self._serialize.url("route_table_name", route_table_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(route_table_parameters, 'HubRouteTable') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('HubRouteTable', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('HubRouteTable', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubRouteTables/{routeTableName}'} # type: ignore + + def begin_create_or_update( + self, + resource_group_name, # type: str + virtual_hub_name, # type: str + route_table_name, # type: str + route_table_parameters, # type: "_models.HubRouteTable" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.HubRouteTable"] + """Creates a RouteTable resource if it doesn't exist else updates the existing RouteTable. + + :param resource_group_name: The resource group name of the VirtualHub. + :type resource_group_name: str + :param virtual_hub_name: The name of the VirtualHub. + :type virtual_hub_name: str + :param route_table_name: The name of the RouteTable. + :type route_table_name: str + :param route_table_parameters: Parameters supplied to create or update RouteTable. + :type route_table_parameters: ~azure.mgmt.network.v2021_02_01.models.HubRouteTable + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either HubRouteTable or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.HubRouteTable] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.HubRouteTable"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + resource_group_name=resource_group_name, + virtual_hub_name=virtual_hub_name, + route_table_name=route_table_name, + route_table_parameters=route_table_parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('HubRouteTable', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualHubName': self._serialize.url("virtual_hub_name", virtual_hub_name, 'str'), + 'routeTableName': self._serialize.url("route_table_name", route_table_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubRouteTables/{routeTableName}'} # type: ignore + + def get( + self, + resource_group_name, # type: str + virtual_hub_name, # type: str + route_table_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.HubRouteTable" + """Retrieves the details of a RouteTable. + + :param resource_group_name: The resource group name of the VirtualHub. + :type resource_group_name: str + :param virtual_hub_name: The name of the VirtualHub. + :type virtual_hub_name: str + :param route_table_name: The name of the RouteTable. + :type route_table_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: HubRouteTable, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.HubRouteTable + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.HubRouteTable"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualHubName': self._serialize.url("virtual_hub_name", virtual_hub_name, 'str'), + 'routeTableName': self._serialize.url("route_table_name", route_table_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('HubRouteTable', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubRouteTables/{routeTableName}'} # type: ignore + + def _delete_initial( + self, + resource_group_name, # type: str + virtual_hub_name, # type: str + route_table_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualHubName': self._serialize.url("virtual_hub_name", virtual_hub_name, 'str'), + 'routeTableName': self._serialize.url("route_table_name", route_table_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubRouteTables/{routeTableName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + virtual_hub_name, # type: str + route_table_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes a RouteTable. + + :param resource_group_name: The resource group name of the RouteTable. + :type resource_group_name: str + :param virtual_hub_name: The name of the VirtualHub. + :type virtual_hub_name: str + :param route_table_name: The name of the RouteTable. + :type route_table_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + virtual_hub_name=virtual_hub_name, + route_table_name=route_table_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualHubName': self._serialize.url("virtual_hub_name", virtual_hub_name, 'str'), + 'routeTableName': self._serialize.url("route_table_name", route_table_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubRouteTables/{routeTableName}'} # type: ignore + + def list( + self, + resource_group_name, # type: str + virtual_hub_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.ListHubRouteTablesResult"] + """Retrieves the details of all RouteTables. + + :param resource_group_name: The resource group name of the VirtualHub. + :type resource_group_name: str + :param virtual_hub_name: The name of the VirtualHub. + :type virtual_hub_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ListHubRouteTablesResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.ListHubRouteTablesResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ListHubRouteTablesResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualHubName': self._serialize.url("virtual_hub_name", virtual_hub_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('ListHubRouteTablesResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubRouteTables'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_hub_virtual_network_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_hub_virtual_network_connections_operations.py new file mode 100644 index 000000000000..01a65217a2fc --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_hub_virtual_network_connections_operations.py @@ -0,0 +1,441 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class HubVirtualNetworkConnectionsOperations(object): + """HubVirtualNetworkConnectionsOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def _create_or_update_initial( + self, + resource_group_name, # type: str + virtual_hub_name, # type: str + connection_name, # type: str + hub_virtual_network_connection_parameters, # type: "_models.HubVirtualNetworkConnection" + **kwargs # type: Any + ): + # type: (...) -> "_models.HubVirtualNetworkConnection" + cls = kwargs.pop('cls', None) # type: ClsType["_models.HubVirtualNetworkConnection"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualHubName': self._serialize.url("virtual_hub_name", virtual_hub_name, 'str'), + 'connectionName': self._serialize.url("connection_name", connection_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(hub_virtual_network_connection_parameters, 'HubVirtualNetworkConnection') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('HubVirtualNetworkConnection', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('HubVirtualNetworkConnection', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubVirtualNetworkConnections/{connectionName}'} # type: ignore + + def begin_create_or_update( + self, + resource_group_name, # type: str + virtual_hub_name, # type: str + connection_name, # type: str + hub_virtual_network_connection_parameters, # type: "_models.HubVirtualNetworkConnection" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.HubVirtualNetworkConnection"] + """Creates a hub virtual network connection if it doesn't exist else updates the existing one. + + :param resource_group_name: The resource group name of the HubVirtualNetworkConnection. + :type resource_group_name: str + :param virtual_hub_name: The name of the VirtualHub. + :type virtual_hub_name: str + :param connection_name: The name of the HubVirtualNetworkConnection. + :type connection_name: str + :param hub_virtual_network_connection_parameters: Parameters supplied to create or update a hub + virtual network connection. + :type hub_virtual_network_connection_parameters: ~azure.mgmt.network.v2021_02_01.models.HubVirtualNetworkConnection + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either HubVirtualNetworkConnection or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.HubVirtualNetworkConnection] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.HubVirtualNetworkConnection"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + resource_group_name=resource_group_name, + virtual_hub_name=virtual_hub_name, + connection_name=connection_name, + hub_virtual_network_connection_parameters=hub_virtual_network_connection_parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('HubVirtualNetworkConnection', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualHubName': self._serialize.url("virtual_hub_name", virtual_hub_name, 'str'), + 'connectionName': self._serialize.url("connection_name", connection_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubVirtualNetworkConnections/{connectionName}'} # type: ignore + + def _delete_initial( + self, + resource_group_name, # type: str + virtual_hub_name, # type: str + connection_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualHubName': self._serialize.url("virtual_hub_name", virtual_hub_name, 'str'), + 'connectionName': self._serialize.url("connection_name", connection_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubVirtualNetworkConnections/{connectionName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + virtual_hub_name, # type: str + connection_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes a HubVirtualNetworkConnection. + + :param resource_group_name: The resource group name of the VirtualHub. + :type resource_group_name: str + :param virtual_hub_name: The name of the VirtualHub. + :type virtual_hub_name: str + :param connection_name: The name of the HubVirtualNetworkConnection. + :type connection_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + virtual_hub_name=virtual_hub_name, + connection_name=connection_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualHubName': self._serialize.url("virtual_hub_name", virtual_hub_name, 'str'), + 'connectionName': self._serialize.url("connection_name", connection_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubVirtualNetworkConnections/{connectionName}'} # type: ignore + + def get( + self, + resource_group_name, # type: str + virtual_hub_name, # type: str + connection_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.HubVirtualNetworkConnection" + """Retrieves the details of a HubVirtualNetworkConnection. + + :param resource_group_name: The resource group name of the VirtualHub. + :type resource_group_name: str + :param virtual_hub_name: The name of the VirtualHub. + :type virtual_hub_name: str + :param connection_name: The name of the vpn connection. + :type connection_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: HubVirtualNetworkConnection, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.HubVirtualNetworkConnection + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.HubVirtualNetworkConnection"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualHubName': self._serialize.url("virtual_hub_name", virtual_hub_name, 'str'), + 'connectionName': self._serialize.url("connection_name", connection_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('HubVirtualNetworkConnection', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubVirtualNetworkConnections/{connectionName}'} # type: ignore + + def list( + self, + resource_group_name, # type: str + virtual_hub_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.ListHubVirtualNetworkConnectionsResult"] + """Retrieves the details of all HubVirtualNetworkConnections. + + :param resource_group_name: The resource group name of the VirtualHub. + :type resource_group_name: str + :param virtual_hub_name: The name of the VirtualHub. + :type virtual_hub_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ListHubVirtualNetworkConnectionsResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.ListHubVirtualNetworkConnectionsResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ListHubVirtualNetworkConnectionsResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualHubName': self._serialize.url("virtual_hub_name", virtual_hub_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('ListHubVirtualNetworkConnectionsResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubVirtualNetworkConnections'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_inbound_nat_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_inbound_nat_rules_operations.py new file mode 100644 index 000000000000..78b8f00736ba --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_inbound_nat_rules_operations.py @@ -0,0 +1,446 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class InboundNatRulesOperations(object): + """InboundNatRulesOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + resource_group_name, # type: str + load_balancer_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.InboundNatRuleListResult"] + """Gets all the inbound nat rules in a load balancer. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param load_balancer_name: The name of the load balancer. + :type load_balancer_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either InboundNatRuleListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.InboundNatRuleListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.InboundNatRuleListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'loadBalancerName': self._serialize.url("load_balancer_name", load_balancer_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('InboundNatRuleListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules'} # type: ignore + + def _delete_initial( + self, + resource_group_name, # type: str + load_balancer_name, # type: str + inbound_nat_rule_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'loadBalancerName': self._serialize.url("load_balancer_name", load_balancer_name, 'str'), + 'inboundNatRuleName': self._serialize.url("inbound_nat_rule_name", inbound_nat_rule_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules/{inboundNatRuleName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + load_balancer_name, # type: str + inbound_nat_rule_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the specified load balancer inbound nat rule. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param load_balancer_name: The name of the load balancer. + :type load_balancer_name: str + :param inbound_nat_rule_name: The name of the inbound nat rule. + :type inbound_nat_rule_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + load_balancer_name=load_balancer_name, + inbound_nat_rule_name=inbound_nat_rule_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'loadBalancerName': self._serialize.url("load_balancer_name", load_balancer_name, 'str'), + 'inboundNatRuleName': self._serialize.url("inbound_nat_rule_name", inbound_nat_rule_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules/{inboundNatRuleName}'} # type: ignore + + def get( + self, + resource_group_name, # type: str + load_balancer_name, # type: str + inbound_nat_rule_name, # type: str + expand=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> "_models.InboundNatRule" + """Gets the specified load balancer inbound nat rule. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param load_balancer_name: The name of the load balancer. + :type load_balancer_name: str + :param inbound_nat_rule_name: The name of the inbound nat rule. + :type inbound_nat_rule_name: str + :param expand: Expands referenced resources. + :type expand: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: InboundNatRule, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.InboundNatRule + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.InboundNatRule"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'loadBalancerName': self._serialize.url("load_balancer_name", load_balancer_name, 'str'), + 'inboundNatRuleName': self._serialize.url("inbound_nat_rule_name", inbound_nat_rule_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('InboundNatRule', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules/{inboundNatRuleName}'} # type: ignore + + def _create_or_update_initial( + self, + resource_group_name, # type: str + load_balancer_name, # type: str + inbound_nat_rule_name, # type: str + inbound_nat_rule_parameters, # type: "_models.InboundNatRule" + **kwargs # type: Any + ): + # type: (...) -> "_models.InboundNatRule" + cls = kwargs.pop('cls', None) # type: ClsType["_models.InboundNatRule"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'loadBalancerName': self._serialize.url("load_balancer_name", load_balancer_name, 'str'), + 'inboundNatRuleName': self._serialize.url("inbound_nat_rule_name", inbound_nat_rule_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(inbound_nat_rule_parameters, 'InboundNatRule') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('InboundNatRule', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('InboundNatRule', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules/{inboundNatRuleName}'} # type: ignore + + def begin_create_or_update( + self, + resource_group_name, # type: str + load_balancer_name, # type: str + inbound_nat_rule_name, # type: str + inbound_nat_rule_parameters, # type: "_models.InboundNatRule" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.InboundNatRule"] + """Creates or updates a load balancer inbound nat rule. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param load_balancer_name: The name of the load balancer. + :type load_balancer_name: str + :param inbound_nat_rule_name: The name of the inbound nat rule. + :type inbound_nat_rule_name: str + :param inbound_nat_rule_parameters: Parameters supplied to the create or update inbound nat + rule operation. + :type inbound_nat_rule_parameters: ~azure.mgmt.network.v2021_02_01.models.InboundNatRule + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either InboundNatRule or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.InboundNatRule] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.InboundNatRule"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + resource_group_name=resource_group_name, + load_balancer_name=load_balancer_name, + inbound_nat_rule_name=inbound_nat_rule_name, + inbound_nat_rule_parameters=inbound_nat_rule_parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('InboundNatRule', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'loadBalancerName': self._serialize.url("load_balancer_name", load_balancer_name, 'str'), + 'inboundNatRuleName': self._serialize.url("inbound_nat_rule_name", inbound_nat_rule_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules/{inboundNatRuleName}'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_inbound_security_rule_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_inbound_security_rule_operations.py new file mode 100644 index 000000000000..cbba9feaa9d7 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_inbound_security_rule_operations.py @@ -0,0 +1,185 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class InboundSecurityRuleOperations(object): + """InboundSecurityRuleOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def _create_or_update_initial( + self, + resource_group_name, # type: str + network_virtual_appliance_name, # type: str + rule_collection_name, # type: str + parameters, # type: "_models.InboundSecurityRule" + **kwargs # type: Any + ): + # type: (...) -> "_models.InboundSecurityRule" + cls = kwargs.pop('cls', None) # type: ClsType["_models.InboundSecurityRule"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkVirtualApplianceName': self._serialize.url("network_virtual_appliance_name", network_virtual_appliance_name, 'str'), + 'ruleCollectionName': self._serialize.url("rule_collection_name", rule_collection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'InboundSecurityRule') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('InboundSecurityRule', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('InboundSecurityRule', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}/inboundSecurityRules/{ruleCollectionName}'} # type: ignore + + def begin_create_or_update( + self, + resource_group_name, # type: str + network_virtual_appliance_name, # type: str + rule_collection_name, # type: str + parameters, # type: "_models.InboundSecurityRule" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.InboundSecurityRule"] + """Creates or updates the specified Network Virtual Appliance Inbound Security Rules. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_virtual_appliance_name: The name of the Network Virtual Appliance. + :type network_virtual_appliance_name: str + :param rule_collection_name: The name of security rule collection. + :type rule_collection_name: str + :param parameters: Parameters supplied to the create or update Network Virtual Appliance + Inbound Security Rules operation. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.InboundSecurityRule + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either InboundSecurityRule or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.InboundSecurityRule] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.InboundSecurityRule"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + resource_group_name=resource_group_name, + network_virtual_appliance_name=network_virtual_appliance_name, + rule_collection_name=rule_collection_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('InboundSecurityRule', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkVirtualApplianceName': self._serialize.url("network_virtual_appliance_name", network_virtual_appliance_name, 'str'), + 'ruleCollectionName': self._serialize.url("rule_collection_name", rule_collection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}/inboundSecurityRules/{ruleCollectionName}'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_ip_allocations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_ip_allocations_operations.py new file mode 100644 index 000000000000..4f4eb9fb82f3 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_ip_allocations_operations.py @@ -0,0 +1,557 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class IpAllocationsOperations(object): + """IpAllocationsOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def _delete_initial( + self, + resource_group_name, # type: str + ip_allocation_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'ipAllocationName': self._serialize.url("ip_allocation_name", ip_allocation_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/IpAllocations/{ipAllocationName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + ip_allocation_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the specified IpAllocation. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param ip_allocation_name: The name of the IpAllocation. + :type ip_allocation_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + ip_allocation_name=ip_allocation_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'ipAllocationName': self._serialize.url("ip_allocation_name", ip_allocation_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/IpAllocations/{ipAllocationName}'} # type: ignore + + def get( + self, + resource_group_name, # type: str + ip_allocation_name, # type: str + expand=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> "_models.IpAllocation" + """Gets the specified IpAllocation by resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param ip_allocation_name: The name of the IpAllocation. + :type ip_allocation_name: str + :param expand: Expands referenced resources. + :type expand: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: IpAllocation, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.IpAllocation + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.IpAllocation"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'ipAllocationName': self._serialize.url("ip_allocation_name", ip_allocation_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('IpAllocation', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/IpAllocations/{ipAllocationName}'} # type: ignore + + def _create_or_update_initial( + self, + resource_group_name, # type: str + ip_allocation_name, # type: str + parameters, # type: "_models.IpAllocation" + **kwargs # type: Any + ): + # type: (...) -> "_models.IpAllocation" + cls = kwargs.pop('cls', None) # type: ClsType["_models.IpAllocation"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'ipAllocationName': self._serialize.url("ip_allocation_name", ip_allocation_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'IpAllocation') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('IpAllocation', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('IpAllocation', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/IpAllocations/{ipAllocationName}'} # type: ignore + + def begin_create_or_update( + self, + resource_group_name, # type: str + ip_allocation_name, # type: str + parameters, # type: "_models.IpAllocation" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.IpAllocation"] + """Creates or updates an IpAllocation in the specified resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param ip_allocation_name: The name of the IpAllocation. + :type ip_allocation_name: str + :param parameters: Parameters supplied to the create or update virtual network operation. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.IpAllocation + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either IpAllocation or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.IpAllocation] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.IpAllocation"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + resource_group_name=resource_group_name, + ip_allocation_name=ip_allocation_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('IpAllocation', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'ipAllocationName': self._serialize.url("ip_allocation_name", ip_allocation_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/IpAllocations/{ipAllocationName}'} # type: ignore + + def update_tags( + self, + resource_group_name, # type: str + ip_allocation_name, # type: str + parameters, # type: "_models.TagsObject" + **kwargs # type: Any + ): + # type: (...) -> "_models.IpAllocation" + """Updates a IpAllocation tags. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param ip_allocation_name: The name of the IpAllocation. + :type ip_allocation_name: str + :param parameters: Parameters supplied to update IpAllocation tags. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.TagsObject + :keyword callable cls: A custom type or function that will be passed the direct response + :return: IpAllocation, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.IpAllocation + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.IpAllocation"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update_tags.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'ipAllocationName': self._serialize.url("ip_allocation_name", ip_allocation_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'TagsObject') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('IpAllocation', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/IpAllocations/{ipAllocationName}'} # type: ignore + + def list( + self, + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.IpAllocationListResult"] + """Gets all IpAllocations in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either IpAllocationListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.IpAllocationListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.IpAllocationListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('IpAllocationListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/IpAllocations'} # type: ignore + + def list_by_resource_group( + self, + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.IpAllocationListResult"] + """Gets all IpAllocations in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either IpAllocationListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.IpAllocationListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.IpAllocationListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_resource_group.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('IpAllocationListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/IpAllocations'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_ip_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_ip_groups_operations.py new file mode 100644 index 000000000000..a609300b6c67 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_ip_groups_operations.py @@ -0,0 +1,564 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class IpGroupsOperations(object): + """IpGroupsOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def get( + self, + resource_group_name, # type: str + ip_groups_name, # type: str + expand=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> "_models.IpGroup" + """Gets the specified ipGroups. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param ip_groups_name: The name of the ipGroups. + :type ip_groups_name: str + :param expand: Expands resourceIds (of Firewalls/Network Security Groups etc.) back referenced + by the IpGroups resource. + :type expand: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: IpGroup, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.IpGroup + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.IpGroup"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'ipGroupsName': self._serialize.url("ip_groups_name", ip_groups_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.Error, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('IpGroup', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ipGroups/{ipGroupsName}'} # type: ignore + + def _create_or_update_initial( + self, + resource_group_name, # type: str + ip_groups_name, # type: str + parameters, # type: "_models.IpGroup" + **kwargs # type: Any + ): + # type: (...) -> "_models.IpGroup" + cls = kwargs.pop('cls', None) # type: ClsType["_models.IpGroup"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'ipGroupsName': self._serialize.url("ip_groups_name", ip_groups_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'IpGroup') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.Error, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('IpGroup', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('IpGroup', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ipGroups/{ipGroupsName}'} # type: ignore + + def begin_create_or_update( + self, + resource_group_name, # type: str + ip_groups_name, # type: str + parameters, # type: "_models.IpGroup" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.IpGroup"] + """Creates or updates an ipGroups in a specified resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param ip_groups_name: The name of the ipGroups. + :type ip_groups_name: str + :param parameters: Parameters supplied to the create or update IpGroups operation. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.IpGroup + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either IpGroup or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.IpGroup] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.IpGroup"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + resource_group_name=resource_group_name, + ip_groups_name=ip_groups_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('IpGroup', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'ipGroupsName': self._serialize.url("ip_groups_name", ip_groups_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ipGroups/{ipGroupsName}'} # type: ignore + + def update_groups( + self, + resource_group_name, # type: str + ip_groups_name, # type: str + parameters, # type: "_models.TagsObject" + **kwargs # type: Any + ): + # type: (...) -> "_models.IpGroup" + """Updates tags of an IpGroups resource. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param ip_groups_name: The name of the ipGroups. + :type ip_groups_name: str + :param parameters: Parameters supplied to the update ipGroups operation. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.TagsObject + :keyword callable cls: A custom type or function that will be passed the direct response + :return: IpGroup, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.IpGroup + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.IpGroup"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update_groups.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'ipGroupsName': self._serialize.url("ip_groups_name", ip_groups_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'TagsObject') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.Error, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('IpGroup', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update_groups.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ipGroups/{ipGroupsName}'} # type: ignore + + def _delete_initial( + self, + resource_group_name, # type: str + ip_groups_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'ipGroupsName': self._serialize.url("ip_groups_name", ip_groups_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.Error, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ipGroups/{ipGroupsName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + ip_groups_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the specified ipGroups. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param ip_groups_name: The name of the ipGroups. + :type ip_groups_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + ip_groups_name=ip_groups_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'ipGroupsName': self._serialize.url("ip_groups_name", ip_groups_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ipGroups/{ipGroupsName}'} # type: ignore + + def list_by_resource_group( + self, + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.IpGroupListResult"] + """Gets all IpGroups in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either IpGroupListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.IpGroupListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.IpGroupListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_resource_group.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('IpGroupListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize(_models.Error, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ipGroups'} # type: ignore + + def list( + self, + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.IpGroupListResult"] + """Gets all IpGroups in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either IpGroupListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.IpGroupListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.IpGroupListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('IpGroupListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize(_models.Error, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/ipGroups'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_load_balancer_backend_address_pools_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_load_balancer_backend_address_pools_operations.py new file mode 100644 index 000000000000..1e636a7c3f2d --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_load_balancer_backend_address_pools_operations.py @@ -0,0 +1,441 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class LoadBalancerBackendAddressPoolsOperations(object): + """LoadBalancerBackendAddressPoolsOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + resource_group_name, # type: str + load_balancer_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.LoadBalancerBackendAddressPoolListResult"] + """Gets all the load balancer backed address pools. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param load_balancer_name: The name of the load balancer. + :type load_balancer_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either LoadBalancerBackendAddressPoolListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.LoadBalancerBackendAddressPoolListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.LoadBalancerBackendAddressPoolListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'loadBalancerName': self._serialize.url("load_balancer_name", load_balancer_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('LoadBalancerBackendAddressPoolListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools'} # type: ignore + + def get( + self, + resource_group_name, # type: str + load_balancer_name, # type: str + backend_address_pool_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.BackendAddressPool" + """Gets load balancer backend address pool. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param load_balancer_name: The name of the load balancer. + :type load_balancer_name: str + :param backend_address_pool_name: The name of the backend address pool. + :type backend_address_pool_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: BackendAddressPool, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.BackendAddressPool + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.BackendAddressPool"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'loadBalancerName': self._serialize.url("load_balancer_name", load_balancer_name, 'str'), + 'backendAddressPoolName': self._serialize.url("backend_address_pool_name", backend_address_pool_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('BackendAddressPool', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}'} # type: ignore + + def _create_or_update_initial( + self, + resource_group_name, # type: str + load_balancer_name, # type: str + backend_address_pool_name, # type: str + parameters, # type: "_models.BackendAddressPool" + **kwargs # type: Any + ): + # type: (...) -> "_models.BackendAddressPool" + cls = kwargs.pop('cls', None) # type: ClsType["_models.BackendAddressPool"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'loadBalancerName': self._serialize.url("load_balancer_name", load_balancer_name, 'str'), + 'backendAddressPoolName': self._serialize.url("backend_address_pool_name", backend_address_pool_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'BackendAddressPool') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('BackendAddressPool', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('BackendAddressPool', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}'} # type: ignore + + def begin_create_or_update( + self, + resource_group_name, # type: str + load_balancer_name, # type: str + backend_address_pool_name, # type: str + parameters, # type: "_models.BackendAddressPool" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.BackendAddressPool"] + """Creates or updates a load balancer backend address pool. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param load_balancer_name: The name of the load balancer. + :type load_balancer_name: str + :param backend_address_pool_name: The name of the backend address pool. + :type backend_address_pool_name: str + :param parameters: Parameters supplied to the create or update load balancer backend address + pool operation. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.BackendAddressPool + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either BackendAddressPool or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.BackendAddressPool] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.BackendAddressPool"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + resource_group_name=resource_group_name, + load_balancer_name=load_balancer_name, + backend_address_pool_name=backend_address_pool_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('BackendAddressPool', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'loadBalancerName': self._serialize.url("load_balancer_name", load_balancer_name, 'str'), + 'backendAddressPoolName': self._serialize.url("backend_address_pool_name", backend_address_pool_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}'} # type: ignore + + def _delete_initial( + self, + resource_group_name, # type: str + load_balancer_name, # type: str + backend_address_pool_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'loadBalancerName': self._serialize.url("load_balancer_name", load_balancer_name, 'str'), + 'backendAddressPoolName': self._serialize.url("backend_address_pool_name", backend_address_pool_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + load_balancer_name, # type: str + backend_address_pool_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the specified load balancer backend address pool. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param load_balancer_name: The name of the load balancer. + :type load_balancer_name: str + :param backend_address_pool_name: The name of the backend address pool. + :type backend_address_pool_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + load_balancer_name=load_balancer_name, + backend_address_pool_name=backend_address_pool_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'loadBalancerName': self._serialize.url("load_balancer_name", load_balancer_name, 'str'), + 'backendAddressPoolName': self._serialize.url("backend_address_pool_name", backend_address_pool_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_load_balancer_frontend_ip_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_load_balancer_frontend_ip_configurations_operations.py new file mode 100644 index 000000000000..4381816ac46a --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_load_balancer_frontend_ip_configurations_operations.py @@ -0,0 +1,184 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.mgmt.core.exceptions import ARMErrorFormat + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class LoadBalancerFrontendIPConfigurationsOperations(object): + """LoadBalancerFrontendIPConfigurationsOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + resource_group_name, # type: str + load_balancer_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.LoadBalancerFrontendIPConfigurationListResult"] + """Gets all the load balancer frontend IP configurations. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param load_balancer_name: The name of the load balancer. + :type load_balancer_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either LoadBalancerFrontendIPConfigurationListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.LoadBalancerFrontendIPConfigurationListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.LoadBalancerFrontendIPConfigurationListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'loadBalancerName': self._serialize.url("load_balancer_name", load_balancer_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('LoadBalancerFrontendIPConfigurationListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/frontendIPConfigurations'} # type: ignore + + def get( + self, + resource_group_name, # type: str + load_balancer_name, # type: str + frontend_ip_configuration_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.FrontendIPConfiguration" + """Gets load balancer frontend IP configuration. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param load_balancer_name: The name of the load balancer. + :type load_balancer_name: str + :param frontend_ip_configuration_name: The name of the frontend IP configuration. + :type frontend_ip_configuration_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: FrontendIPConfiguration, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.FrontendIPConfiguration + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.FrontendIPConfiguration"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'loadBalancerName': self._serialize.url("load_balancer_name", load_balancer_name, 'str'), + 'frontendIPConfigurationName': self._serialize.url("frontend_ip_configuration_name", frontend_ip_configuration_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('FrontendIPConfiguration', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/frontendIPConfigurations/{frontendIPConfigurationName}'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_load_balancer_load_balancing_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_load_balancer_load_balancing_rules_operations.py new file mode 100644 index 000000000000..c513ce3ed321 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_load_balancer_load_balancing_rules_operations.py @@ -0,0 +1,184 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.mgmt.core.exceptions import ARMErrorFormat + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class LoadBalancerLoadBalancingRulesOperations(object): + """LoadBalancerLoadBalancingRulesOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + resource_group_name, # type: str + load_balancer_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.LoadBalancerLoadBalancingRuleListResult"] + """Gets all the load balancing rules in a load balancer. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param load_balancer_name: The name of the load balancer. + :type load_balancer_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either LoadBalancerLoadBalancingRuleListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.LoadBalancerLoadBalancingRuleListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.LoadBalancerLoadBalancingRuleListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'loadBalancerName': self._serialize.url("load_balancer_name", load_balancer_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('LoadBalancerLoadBalancingRuleListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/loadBalancingRules'} # type: ignore + + def get( + self, + resource_group_name, # type: str + load_balancer_name, # type: str + load_balancing_rule_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.LoadBalancingRule" + """Gets the specified load balancer load balancing rule. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param load_balancer_name: The name of the load balancer. + :type load_balancer_name: str + :param load_balancing_rule_name: The name of the load balancing rule. + :type load_balancing_rule_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: LoadBalancingRule, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.LoadBalancingRule + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.LoadBalancingRule"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'loadBalancerName': self._serialize.url("load_balancer_name", load_balancer_name, 'str'), + 'loadBalancingRuleName': self._serialize.url("load_balancing_rule_name", load_balancing_rule_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('LoadBalancingRule', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/loadBalancingRules/{loadBalancingRuleName}'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_load_balancer_network_interfaces_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_load_balancer_network_interfaces_operations.py new file mode 100644 index 000000000000..9e52b3c2ecab --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_load_balancer_network_interfaces_operations.py @@ -0,0 +1,121 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.mgmt.core.exceptions import ARMErrorFormat + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class LoadBalancerNetworkInterfacesOperations(object): + """LoadBalancerNetworkInterfacesOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + resource_group_name, # type: str + load_balancer_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.NetworkInterfaceListResult"] + """Gets associated load balancer network interfaces. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param load_balancer_name: The name of the load balancer. + :type load_balancer_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either NetworkInterfaceListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.NetworkInterfaceListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkInterfaceListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'loadBalancerName': self._serialize.url("load_balancer_name", load_balancer_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('NetworkInterfaceListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/networkInterfaces'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_load_balancer_outbound_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_load_balancer_outbound_rules_operations.py new file mode 100644 index 000000000000..9ff4e0740e06 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_load_balancer_outbound_rules_operations.py @@ -0,0 +1,184 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.mgmt.core.exceptions import ARMErrorFormat + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class LoadBalancerOutboundRulesOperations(object): + """LoadBalancerOutboundRulesOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + resource_group_name, # type: str + load_balancer_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.LoadBalancerOutboundRuleListResult"] + """Gets all the outbound rules in a load balancer. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param load_balancer_name: The name of the load balancer. + :type load_balancer_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either LoadBalancerOutboundRuleListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.LoadBalancerOutboundRuleListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.LoadBalancerOutboundRuleListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'loadBalancerName': self._serialize.url("load_balancer_name", load_balancer_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('LoadBalancerOutboundRuleListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/outboundRules'} # type: ignore + + def get( + self, + resource_group_name, # type: str + load_balancer_name, # type: str + outbound_rule_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.OutboundRule" + """Gets the specified load balancer outbound rule. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param load_balancer_name: The name of the load balancer. + :type load_balancer_name: str + :param outbound_rule_name: The name of the outbound rule. + :type outbound_rule_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: OutboundRule, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.OutboundRule + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.OutboundRule"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'loadBalancerName': self._serialize.url("load_balancer_name", load_balancer_name, 'str'), + 'outboundRuleName': self._serialize.url("outbound_rule_name", outbound_rule_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('OutboundRule', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/outboundRules/{outboundRuleName}'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_load_balancer_probes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_load_balancer_probes_operations.py new file mode 100644 index 000000000000..c69611817b79 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_load_balancer_probes_operations.py @@ -0,0 +1,184 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.mgmt.core.exceptions import ARMErrorFormat + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class LoadBalancerProbesOperations(object): + """LoadBalancerProbesOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + resource_group_name, # type: str + load_balancer_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.LoadBalancerProbeListResult"] + """Gets all the load balancer probes. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param load_balancer_name: The name of the load balancer. + :type load_balancer_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either LoadBalancerProbeListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.LoadBalancerProbeListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.LoadBalancerProbeListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'loadBalancerName': self._serialize.url("load_balancer_name", load_balancer_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('LoadBalancerProbeListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes'} # type: ignore + + def get( + self, + resource_group_name, # type: str + load_balancer_name, # type: str + probe_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.Probe" + """Gets load balancer probe. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param load_balancer_name: The name of the load balancer. + :type load_balancer_name: str + :param probe_name: The name of the probe. + :type probe_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Probe, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.Probe + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Probe"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'loadBalancerName': self._serialize.url("load_balancer_name", load_balancer_name, 'str'), + 'probeName': self._serialize.url("probe_name", probe_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Probe', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_load_balancers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_load_balancers_operations.py new file mode 100644 index 000000000000..2f96aff094a8 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_load_balancers_operations.py @@ -0,0 +1,670 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class LoadBalancersOperations(object): + """LoadBalancersOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def _delete_initial( + self, + resource_group_name, # type: str + load_balancer_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'loadBalancerName': self._serialize.url("load_balancer_name", load_balancer_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + load_balancer_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the specified load balancer. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param load_balancer_name: The name of the load balancer. + :type load_balancer_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + load_balancer_name=load_balancer_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'loadBalancerName': self._serialize.url("load_balancer_name", load_balancer_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}'} # type: ignore + + def get( + self, + resource_group_name, # type: str + load_balancer_name, # type: str + expand=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> "_models.LoadBalancer" + """Gets the specified load balancer. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param load_balancer_name: The name of the load balancer. + :type load_balancer_name: str + :param expand: Expands referenced resources. + :type expand: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: LoadBalancer, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.LoadBalancer + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.LoadBalancer"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'loadBalancerName': self._serialize.url("load_balancer_name", load_balancer_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('LoadBalancer', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}'} # type: ignore + + def _create_or_update_initial( + self, + resource_group_name, # type: str + load_balancer_name, # type: str + parameters, # type: "_models.LoadBalancer" + **kwargs # type: Any + ): + # type: (...) -> "_models.LoadBalancer" + cls = kwargs.pop('cls', None) # type: ClsType["_models.LoadBalancer"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'loadBalancerName': self._serialize.url("load_balancer_name", load_balancer_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'LoadBalancer') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('LoadBalancer', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('LoadBalancer', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}'} # type: ignore + + def begin_create_or_update( + self, + resource_group_name, # type: str + load_balancer_name, # type: str + parameters, # type: "_models.LoadBalancer" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.LoadBalancer"] + """Creates or updates a load balancer. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param load_balancer_name: The name of the load balancer. + :type load_balancer_name: str + :param parameters: Parameters supplied to the create or update load balancer operation. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.LoadBalancer + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either LoadBalancer or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.LoadBalancer] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.LoadBalancer"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + resource_group_name=resource_group_name, + load_balancer_name=load_balancer_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('LoadBalancer', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'loadBalancerName': self._serialize.url("load_balancer_name", load_balancer_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}'} # type: ignore + + def update_tags( + self, + resource_group_name, # type: str + load_balancer_name, # type: str + parameters, # type: "_models.TagsObject" + **kwargs # type: Any + ): + # type: (...) -> "_models.LoadBalancer" + """Updates a load balancer tags. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param load_balancer_name: The name of the load balancer. + :type load_balancer_name: str + :param parameters: Parameters supplied to update load balancer tags. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.TagsObject + :keyword callable cls: A custom type or function that will be passed the direct response + :return: LoadBalancer, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.LoadBalancer + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.LoadBalancer"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update_tags.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'loadBalancerName': self._serialize.url("load_balancer_name", load_balancer_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'TagsObject') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('LoadBalancer', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}'} # type: ignore + + def list_all( + self, + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.LoadBalancerListResult"] + """Gets all the load balancers in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either LoadBalancerListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.LoadBalancerListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.LoadBalancerListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_all.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('LoadBalancerListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_all.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/loadBalancers'} # type: ignore + + def list( + self, + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.LoadBalancerListResult"] + """Gets all the load balancers in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either LoadBalancerListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.LoadBalancerListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.LoadBalancerListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('LoadBalancerListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers'} # type: ignore + + def _swap_public_ip_addresses_initial( + self, + location, # type: str + parameters, # type: "_models.LoadBalancerVipSwapRequest" + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._swap_public_ip_addresses_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'location': self._serialize.url("location", location, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'LoadBalancerVipSwapRequest') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _swap_public_ip_addresses_initial.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/setLoadBalancerFrontendPublicIpAddresses'} # type: ignore + + def begin_swap_public_ip_addresses( + self, + location, # type: str + parameters, # type: "_models.LoadBalancerVipSwapRequest" + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Swaps VIPs between two load balancers. + + :param location: The region where load balancers are located at. + :type location: str + :param parameters: Parameters that define which VIPs should be swapped. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.LoadBalancerVipSwapRequest + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._swap_public_ip_addresses_initial( + location=location, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'location': self._serialize.url("location", location, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_swap_public_ip_addresses.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/setLoadBalancerFrontendPublicIpAddresses'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_local_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_local_network_gateways_operations.py new file mode 100644 index 000000000000..e8336678d08f --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_local_network_gateways_operations.py @@ -0,0 +1,485 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class LocalNetworkGatewaysOperations(object): + """LocalNetworkGatewaysOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def _create_or_update_initial( + self, + resource_group_name, # type: str + local_network_gateway_name, # type: str + parameters, # type: "_models.LocalNetworkGateway" + **kwargs # type: Any + ): + # type: (...) -> "_models.LocalNetworkGateway" + cls = kwargs.pop('cls', None) # type: ClsType["_models.LocalNetworkGateway"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'localNetworkGatewayName': self._serialize.url("local_network_gateway_name", local_network_gateway_name, 'str', min_length=1), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'LocalNetworkGateway') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('LocalNetworkGateway', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('LocalNetworkGateway', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways/{localNetworkGatewayName}'} # type: ignore + + def begin_create_or_update( + self, + resource_group_name, # type: str + local_network_gateway_name, # type: str + parameters, # type: "_models.LocalNetworkGateway" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.LocalNetworkGateway"] + """Creates or updates a local network gateway in the specified resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param local_network_gateway_name: The name of the local network gateway. + :type local_network_gateway_name: str + :param parameters: Parameters supplied to the create or update local network gateway operation. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.LocalNetworkGateway + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either LocalNetworkGateway or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.LocalNetworkGateway] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.LocalNetworkGateway"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + resource_group_name=resource_group_name, + local_network_gateway_name=local_network_gateway_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('LocalNetworkGateway', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'localNetworkGatewayName': self._serialize.url("local_network_gateway_name", local_network_gateway_name, 'str', min_length=1), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways/{localNetworkGatewayName}'} # type: ignore + + def get( + self, + resource_group_name, # type: str + local_network_gateway_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.LocalNetworkGateway" + """Gets the specified local network gateway in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param local_network_gateway_name: The name of the local network gateway. + :type local_network_gateway_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: LocalNetworkGateway, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.LocalNetworkGateway + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.LocalNetworkGateway"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'localNetworkGatewayName': self._serialize.url("local_network_gateway_name", local_network_gateway_name, 'str', min_length=1), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('LocalNetworkGateway', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways/{localNetworkGatewayName}'} # type: ignore + + def _delete_initial( + self, + resource_group_name, # type: str + local_network_gateway_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'localNetworkGatewayName': self._serialize.url("local_network_gateway_name", local_network_gateway_name, 'str', min_length=1), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways/{localNetworkGatewayName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + local_network_gateway_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the specified local network gateway. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param local_network_gateway_name: The name of the local network gateway. + :type local_network_gateway_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + local_network_gateway_name=local_network_gateway_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'localNetworkGatewayName': self._serialize.url("local_network_gateway_name", local_network_gateway_name, 'str', min_length=1), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways/{localNetworkGatewayName}'} # type: ignore + + def update_tags( + self, + resource_group_name, # type: str + local_network_gateway_name, # type: str + parameters, # type: "_models.TagsObject" + **kwargs # type: Any + ): + # type: (...) -> "_models.LocalNetworkGateway" + """Updates a local network gateway tags. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param local_network_gateway_name: The name of the local network gateway. + :type local_network_gateway_name: str + :param parameters: Parameters supplied to update local network gateway tags. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.TagsObject + :keyword callable cls: A custom type or function that will be passed the direct response + :return: LocalNetworkGateway, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.LocalNetworkGateway + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.LocalNetworkGateway"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update_tags.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'localNetworkGatewayName': self._serialize.url("local_network_gateway_name", local_network_gateway_name, 'str', min_length=1), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'TagsObject') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('LocalNetworkGateway', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways/{localNetworkGatewayName}'} # type: ignore + + def list( + self, + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.LocalNetworkGatewayListResult"] + """Gets all the local network gateways in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either LocalNetworkGatewayListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.LocalNetworkGatewayListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.LocalNetworkGatewayListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('LocalNetworkGatewayListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_nat_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_nat_gateways_operations.py new file mode 100644 index 000000000000..9b6e68dcd7fc --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_nat_gateways_operations.py @@ -0,0 +1,558 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class NatGatewaysOperations(object): + """NatGatewaysOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def _delete_initial( + self, + resource_group_name, # type: str + nat_gateway_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'natGatewayName': self._serialize.url("nat_gateway_name", nat_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/natGateways/{natGatewayName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + nat_gateway_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the specified nat gateway. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param nat_gateway_name: The name of the nat gateway. + :type nat_gateway_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + nat_gateway_name=nat_gateway_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'natGatewayName': self._serialize.url("nat_gateway_name", nat_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/natGateways/{natGatewayName}'} # type: ignore + + def get( + self, + resource_group_name, # type: str + nat_gateway_name, # type: str + expand=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> "_models.NatGateway" + """Gets the specified nat gateway in a specified resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param nat_gateway_name: The name of the nat gateway. + :type nat_gateway_name: str + :param expand: Expands referenced resources. + :type expand: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: NatGateway, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.NatGateway + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NatGateway"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'natGatewayName': self._serialize.url("nat_gateway_name", nat_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('NatGateway', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/natGateways/{natGatewayName}'} # type: ignore + + def _create_or_update_initial( + self, + resource_group_name, # type: str + nat_gateway_name, # type: str + parameters, # type: "_models.NatGateway" + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.NatGateway"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.NatGateway"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'natGatewayName': self._serialize.url("nat_gateway_name", nat_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'NatGateway') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('NatGateway', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('NatGateway', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/natGateways/{natGatewayName}'} # type: ignore + + def begin_create_or_update( + self, + resource_group_name, # type: str + nat_gateway_name, # type: str + parameters, # type: "_models.NatGateway" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.NatGateway"] + """Creates or updates a nat gateway. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param nat_gateway_name: The name of the nat gateway. + :type nat_gateway_name: str + :param parameters: Parameters supplied to the create or update nat gateway operation. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.NatGateway + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either NatGateway or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.NatGateway] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.NatGateway"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + resource_group_name=resource_group_name, + nat_gateway_name=nat_gateway_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('NatGateway', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'natGatewayName': self._serialize.url("nat_gateway_name", nat_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/natGateways/{natGatewayName}'} # type: ignore + + def update_tags( + self, + resource_group_name, # type: str + nat_gateway_name, # type: str + parameters, # type: "_models.TagsObject" + **kwargs # type: Any + ): + # type: (...) -> "_models.NatGateway" + """Updates nat gateway tags. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param nat_gateway_name: The name of the nat gateway. + :type nat_gateway_name: str + :param parameters: Parameters supplied to update nat gateway tags. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.TagsObject + :keyword callable cls: A custom type or function that will be passed the direct response + :return: NatGateway, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.NatGateway + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NatGateway"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update_tags.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'natGatewayName': self._serialize.url("nat_gateway_name", nat_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'TagsObject') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('NatGateway', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/natGateways/{natGatewayName}'} # type: ignore + + def list_all( + self, + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.NatGatewayListResult"] + """Gets all the Nat Gateways in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either NatGatewayListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.NatGatewayListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NatGatewayListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_all.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('NatGatewayListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_all.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/natGateways'} # type: ignore + + def list( + self, + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.NatGatewayListResult"] + """Gets all nat gateways in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either NatGatewayListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.NatGatewayListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NatGatewayListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('NatGatewayListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/natGateways'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_nat_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_nat_rules_operations.py new file mode 100644 index 000000000000..bfcfd7fa9b87 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_nat_rules_operations.py @@ -0,0 +1,441 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class NatRulesOperations(object): + """NatRulesOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def get( + self, + resource_group_name, # type: str + gateway_name, # type: str + nat_rule_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.VpnGatewayNatRule" + """Retrieves the details of a nat ruleGet. + + :param resource_group_name: The resource group name of the VpnGateway. + :type resource_group_name: str + :param gateway_name: The name of the gateway. + :type gateway_name: str + :param nat_rule_name: The name of the nat rule. + :type nat_rule_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: VpnGatewayNatRule, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.VpnGatewayNatRule + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.VpnGatewayNatRule"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + 'natRuleName': self._serialize.url("nat_rule_name", nat_rule_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('VpnGatewayNatRule', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/natRules/{natRuleName}'} # type: ignore + + def _create_or_update_initial( + self, + resource_group_name, # type: str + gateway_name, # type: str + nat_rule_name, # type: str + nat_rule_parameters, # type: "_models.VpnGatewayNatRule" + **kwargs # type: Any + ): + # type: (...) -> "_models.VpnGatewayNatRule" + cls = kwargs.pop('cls', None) # type: ClsType["_models.VpnGatewayNatRule"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + 'natRuleName': self._serialize.url("nat_rule_name", nat_rule_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(nat_rule_parameters, 'VpnGatewayNatRule') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('VpnGatewayNatRule', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('VpnGatewayNatRule', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/natRules/{natRuleName}'} # type: ignore + + def begin_create_or_update( + self, + resource_group_name, # type: str + gateway_name, # type: str + nat_rule_name, # type: str + nat_rule_parameters, # type: "_models.VpnGatewayNatRule" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.VpnGatewayNatRule"] + """Creates a nat rule to a scalable vpn gateway if it doesn't exist else updates the existing nat + rules. + + :param resource_group_name: The resource group name of the VpnGateway. + :type resource_group_name: str + :param gateway_name: The name of the gateway. + :type gateway_name: str + :param nat_rule_name: The name of the nat rule. + :type nat_rule_name: str + :param nat_rule_parameters: Parameters supplied to create or Update a Nat Rule. + :type nat_rule_parameters: ~azure.mgmt.network.v2021_02_01.models.VpnGatewayNatRule + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either VpnGatewayNatRule or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.VpnGatewayNatRule] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.VpnGatewayNatRule"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + resource_group_name=resource_group_name, + gateway_name=gateway_name, + nat_rule_name=nat_rule_name, + nat_rule_parameters=nat_rule_parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('VpnGatewayNatRule', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + 'natRuleName': self._serialize.url("nat_rule_name", nat_rule_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/natRules/{natRuleName}'} # type: ignore + + def _delete_initial( + self, + resource_group_name, # type: str + gateway_name, # type: str + nat_rule_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + 'natRuleName': self._serialize.url("nat_rule_name", nat_rule_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/natRules/{natRuleName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + gateway_name, # type: str + nat_rule_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes a nat rule. + + :param resource_group_name: The resource group name of the VpnGateway. + :type resource_group_name: str + :param gateway_name: The name of the gateway. + :type gateway_name: str + :param nat_rule_name: The name of the nat rule. + :type nat_rule_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + gateway_name=gateway_name, + nat_rule_name=nat_rule_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + 'natRuleName': self._serialize.url("nat_rule_name", nat_rule_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/natRules/{natRuleName}'} # type: ignore + + def list_by_vpn_gateway( + self, + resource_group_name, # type: str + gateway_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.ListVpnGatewayNatRulesResult"] + """Retrieves all nat rules for a particular virtual wan vpn gateway. + + :param resource_group_name: The resource group name of the VpnGateway. + :type resource_group_name: str + :param gateway_name: The name of the gateway. + :type gateway_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ListVpnGatewayNatRulesResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.ListVpnGatewayNatRulesResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ListVpnGatewayNatRulesResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_vpn_gateway.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('ListVpnGatewayNatRulesResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_vpn_gateway.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/natRules'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_network_interface_ip_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_network_interface_ip_configurations_operations.py new file mode 100644 index 000000000000..ffd3285f7c2b --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_network_interface_ip_configurations_operations.py @@ -0,0 +1,184 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.mgmt.core.exceptions import ARMErrorFormat + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class NetworkInterfaceIPConfigurationsOperations(object): + """NetworkInterfaceIPConfigurationsOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + resource_group_name, # type: str + network_interface_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.NetworkInterfaceIPConfigurationListResult"] + """Get all ip configurations in a network interface. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_interface_name: The name of the network interface. + :type network_interface_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either NetworkInterfaceIPConfigurationListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.NetworkInterfaceIPConfigurationListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkInterfaceIPConfigurationListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkInterfaceName': self._serialize.url("network_interface_name", network_interface_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('NetworkInterfaceIPConfigurationListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/ipConfigurations'} # type: ignore + + def get( + self, + resource_group_name, # type: str + network_interface_name, # type: str + ip_configuration_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.NetworkInterfaceIPConfiguration" + """Gets the specified network interface ip configuration. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_interface_name: The name of the network interface. + :type network_interface_name: str + :param ip_configuration_name: The name of the ip configuration name. + :type ip_configuration_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: NetworkInterfaceIPConfiguration, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.NetworkInterfaceIPConfiguration + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkInterfaceIPConfiguration"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkInterfaceName': self._serialize.url("network_interface_name", network_interface_name, 'str'), + 'ipConfigurationName': self._serialize.url("ip_configuration_name", ip_configuration_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('NetworkInterfaceIPConfiguration', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/ipConfigurations/{ipConfigurationName}'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_network_interface_load_balancers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_network_interface_load_balancers_operations.py new file mode 100644 index 000000000000..06d5d38cf364 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_network_interface_load_balancers_operations.py @@ -0,0 +1,121 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.mgmt.core.exceptions import ARMErrorFormat + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class NetworkInterfaceLoadBalancersOperations(object): + """NetworkInterfaceLoadBalancersOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + resource_group_name, # type: str + network_interface_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.NetworkInterfaceLoadBalancerListResult"] + """List all load balancers in a network interface. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_interface_name: The name of the network interface. + :type network_interface_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either NetworkInterfaceLoadBalancerListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.NetworkInterfaceLoadBalancerListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkInterfaceLoadBalancerListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkInterfaceName': self._serialize.url("network_interface_name", network_interface_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('NetworkInterfaceLoadBalancerListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/loadBalancers'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_network_interface_tap_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_network_interface_tap_configurations_operations.py new file mode 100644 index 000000000000..79f5854255c0 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_network_interface_tap_configurations_operations.py @@ -0,0 +1,441 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class NetworkInterfaceTapConfigurationsOperations(object): + """NetworkInterfaceTapConfigurationsOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def _delete_initial( + self, + resource_group_name, # type: str + network_interface_name, # type: str + tap_configuration_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkInterfaceName': self._serialize.url("network_interface_name", network_interface_name, 'str'), + 'tapConfigurationName': self._serialize.url("tap_configuration_name", tap_configuration_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/tapConfigurations/{tapConfigurationName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + network_interface_name, # type: str + tap_configuration_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the specified tap configuration from the NetworkInterface. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_interface_name: The name of the network interface. + :type network_interface_name: str + :param tap_configuration_name: The name of the tap configuration. + :type tap_configuration_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + network_interface_name=network_interface_name, + tap_configuration_name=tap_configuration_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkInterfaceName': self._serialize.url("network_interface_name", network_interface_name, 'str'), + 'tapConfigurationName': self._serialize.url("tap_configuration_name", tap_configuration_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/tapConfigurations/{tapConfigurationName}'} # type: ignore + + def get( + self, + resource_group_name, # type: str + network_interface_name, # type: str + tap_configuration_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.NetworkInterfaceTapConfiguration" + """Get the specified tap configuration on a network interface. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_interface_name: The name of the network interface. + :type network_interface_name: str + :param tap_configuration_name: The name of the tap configuration. + :type tap_configuration_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: NetworkInterfaceTapConfiguration, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.NetworkInterfaceTapConfiguration + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkInterfaceTapConfiguration"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkInterfaceName': self._serialize.url("network_interface_name", network_interface_name, 'str'), + 'tapConfigurationName': self._serialize.url("tap_configuration_name", tap_configuration_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('NetworkInterfaceTapConfiguration', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/tapConfigurations/{tapConfigurationName}'} # type: ignore + + def _create_or_update_initial( + self, + resource_group_name, # type: str + network_interface_name, # type: str + tap_configuration_name, # type: str + tap_configuration_parameters, # type: "_models.NetworkInterfaceTapConfiguration" + **kwargs # type: Any + ): + # type: (...) -> "_models.NetworkInterfaceTapConfiguration" + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkInterfaceTapConfiguration"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkInterfaceName': self._serialize.url("network_interface_name", network_interface_name, 'str'), + 'tapConfigurationName': self._serialize.url("tap_configuration_name", tap_configuration_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(tap_configuration_parameters, 'NetworkInterfaceTapConfiguration') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('NetworkInterfaceTapConfiguration', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('NetworkInterfaceTapConfiguration', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/tapConfigurations/{tapConfigurationName}'} # type: ignore + + def begin_create_or_update( + self, + resource_group_name, # type: str + network_interface_name, # type: str + tap_configuration_name, # type: str + tap_configuration_parameters, # type: "_models.NetworkInterfaceTapConfiguration" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.NetworkInterfaceTapConfiguration"] + """Creates or updates a Tap configuration in the specified NetworkInterface. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_interface_name: The name of the network interface. + :type network_interface_name: str + :param tap_configuration_name: The name of the tap configuration. + :type tap_configuration_name: str + :param tap_configuration_parameters: Parameters supplied to the create or update tap + configuration operation. + :type tap_configuration_parameters: ~azure.mgmt.network.v2021_02_01.models.NetworkInterfaceTapConfiguration + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either NetworkInterfaceTapConfiguration or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.NetworkInterfaceTapConfiguration] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkInterfaceTapConfiguration"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + resource_group_name=resource_group_name, + network_interface_name=network_interface_name, + tap_configuration_name=tap_configuration_name, + tap_configuration_parameters=tap_configuration_parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('NetworkInterfaceTapConfiguration', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkInterfaceName': self._serialize.url("network_interface_name", network_interface_name, 'str'), + 'tapConfigurationName': self._serialize.url("tap_configuration_name", tap_configuration_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/tapConfigurations/{tapConfigurationName}'} # type: ignore + + def list( + self, + resource_group_name, # type: str + network_interface_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.NetworkInterfaceTapConfigurationListResult"] + """Get all Tap configurations in a network interface. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_interface_name: The name of the network interface. + :type network_interface_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either NetworkInterfaceTapConfigurationListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.NetworkInterfaceTapConfigurationListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkInterfaceTapConfigurationListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkInterfaceName': self._serialize.url("network_interface_name", network_interface_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('NetworkInterfaceTapConfigurationListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/tapConfigurations'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_network_interfaces_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_network_interfaces_operations.py new file mode 100644 index 000000000000..55dd2a0c5bd1 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_network_interfaces_operations.py @@ -0,0 +1,1410 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class NetworkInterfacesOperations(object): + """NetworkInterfacesOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_cloud_service_role_instance_network_interfaces( + self, + resource_group_name, # type: str + cloud_service_name, # type: str + role_instance_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.NetworkInterfaceListResult"] + """Gets information about all network interfaces in a role instance in a cloud service. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param cloud_service_name: The name of the cloud service. + :type cloud_service_name: str + :param role_instance_name: The name of role instance. + :type role_instance_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either NetworkInterfaceListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.NetworkInterfaceListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkInterfaceListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_cloud_service_role_instance_network_interfaces.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'cloudServiceName': self._serialize.url("cloud_service_name", cloud_service_name, 'str'), + 'roleInstanceName': self._serialize.url("role_instance_name", role_instance_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('NetworkInterfaceListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_cloud_service_role_instance_network_interfaces.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}/networkInterfaces'} # type: ignore + + def list_cloud_service_network_interfaces( + self, + resource_group_name, # type: str + cloud_service_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.NetworkInterfaceListResult"] + """Gets all network interfaces in a cloud service. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param cloud_service_name: The name of the cloud service. + :type cloud_service_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either NetworkInterfaceListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.NetworkInterfaceListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkInterfaceListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_cloud_service_network_interfaces.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'cloudServiceName': self._serialize.url("cloud_service_name", cloud_service_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('NetworkInterfaceListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_cloud_service_network_interfaces.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/networkInterfaces'} # type: ignore + + def get_cloud_service_network_interface( + self, + resource_group_name, # type: str + cloud_service_name, # type: str + role_instance_name, # type: str + network_interface_name, # type: str + expand=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> "_models.NetworkInterface" + """Get the specified network interface in a cloud service. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param cloud_service_name: The name of the cloud service. + :type cloud_service_name: str + :param role_instance_name: The name of role instance. + :type role_instance_name: str + :param network_interface_name: The name of the network interface. + :type network_interface_name: str + :param expand: Expands referenced resources. + :type expand: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: NetworkInterface, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.NetworkInterface + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkInterface"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get_cloud_service_network_interface.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'cloudServiceName': self._serialize.url("cloud_service_name", cloud_service_name, 'str'), + 'roleInstanceName': self._serialize.url("role_instance_name", role_instance_name, 'str'), + 'networkInterfaceName': self._serialize.url("network_interface_name", network_interface_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('NetworkInterface', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_cloud_service_network_interface.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}/networkInterfaces/{networkInterfaceName}'} # type: ignore + + def _delete_initial( + self, + resource_group_name, # type: str + network_interface_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkInterfaceName': self._serialize.url("network_interface_name", network_interface_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + network_interface_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the specified network interface. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_interface_name: The name of the network interface. + :type network_interface_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + network_interface_name=network_interface_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkInterfaceName': self._serialize.url("network_interface_name", network_interface_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}'} # type: ignore + + def get( + self, + resource_group_name, # type: str + network_interface_name, # type: str + expand=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> "_models.NetworkInterface" + """Gets information about the specified network interface. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_interface_name: The name of the network interface. + :type network_interface_name: str + :param expand: Expands referenced resources. + :type expand: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: NetworkInterface, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.NetworkInterface + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkInterface"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkInterfaceName': self._serialize.url("network_interface_name", network_interface_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('NetworkInterface', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}'} # type: ignore + + def _create_or_update_initial( + self, + resource_group_name, # type: str + network_interface_name, # type: str + parameters, # type: "_models.NetworkInterface" + **kwargs # type: Any + ): + # type: (...) -> "_models.NetworkInterface" + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkInterface"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkInterfaceName': self._serialize.url("network_interface_name", network_interface_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'NetworkInterface') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('NetworkInterface', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('NetworkInterface', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}'} # type: ignore + + def begin_create_or_update( + self, + resource_group_name, # type: str + network_interface_name, # type: str + parameters, # type: "_models.NetworkInterface" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.NetworkInterface"] + """Creates or updates a network interface. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_interface_name: The name of the network interface. + :type network_interface_name: str + :param parameters: Parameters supplied to the create or update network interface operation. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.NetworkInterface + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either NetworkInterface or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.NetworkInterface] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkInterface"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + resource_group_name=resource_group_name, + network_interface_name=network_interface_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('NetworkInterface', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkInterfaceName': self._serialize.url("network_interface_name", network_interface_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}'} # type: ignore + + def update_tags( + self, + resource_group_name, # type: str + network_interface_name, # type: str + parameters, # type: "_models.TagsObject" + **kwargs # type: Any + ): + # type: (...) -> "_models.NetworkInterface" + """Updates a network interface tags. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_interface_name: The name of the network interface. + :type network_interface_name: str + :param parameters: Parameters supplied to update network interface tags. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.TagsObject + :keyword callable cls: A custom type or function that will be passed the direct response + :return: NetworkInterface, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.NetworkInterface + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkInterface"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update_tags.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkInterfaceName': self._serialize.url("network_interface_name", network_interface_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'TagsObject') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('NetworkInterface', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}'} # type: ignore + + def list_all( + self, + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.NetworkInterfaceListResult"] + """Gets all network interfaces in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either NetworkInterfaceListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.NetworkInterfaceListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkInterfaceListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_all.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('NetworkInterfaceListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_all.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkInterfaces'} # type: ignore + + def list( + self, + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.NetworkInterfaceListResult"] + """Gets all network interfaces in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either NetworkInterfaceListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.NetworkInterfaceListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkInterfaceListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('NetworkInterfaceListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces'} # type: ignore + + def _get_effective_route_table_initial( + self, + resource_group_name, # type: str + network_interface_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.EffectiveRouteListResult"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.EffectiveRouteListResult"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._get_effective_route_table_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkInterfaceName': self._serialize.url("network_interface_name", network_interface_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('EffectiveRouteListResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _get_effective_route_table_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/effectiveRouteTable'} # type: ignore + + def begin_get_effective_route_table( + self, + resource_group_name, # type: str + network_interface_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.EffectiveRouteListResult"] + """Gets all route tables applied to a network interface. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_interface_name: The name of the network interface. + :type network_interface_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either EffectiveRouteListResult or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.EffectiveRouteListResult] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.EffectiveRouteListResult"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._get_effective_route_table_initial( + resource_group_name=resource_group_name, + network_interface_name=network_interface_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('EffectiveRouteListResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkInterfaceName': self._serialize.url("network_interface_name", network_interface_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_get_effective_route_table.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/effectiveRouteTable'} # type: ignore + + def _list_effective_network_security_groups_initial( + self, + resource_group_name, # type: str + network_interface_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.EffectiveNetworkSecurityGroupListResult"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.EffectiveNetworkSecurityGroupListResult"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._list_effective_network_security_groups_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkInterfaceName': self._serialize.url("network_interface_name", network_interface_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('EffectiveNetworkSecurityGroupListResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _list_effective_network_security_groups_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/effectiveNetworkSecurityGroups'} # type: ignore + + def begin_list_effective_network_security_groups( + self, + resource_group_name, # type: str + network_interface_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.EffectiveNetworkSecurityGroupListResult"] + """Gets all network security groups applied to a network interface. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_interface_name: The name of the network interface. + :type network_interface_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either EffectiveNetworkSecurityGroupListResult or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.EffectiveNetworkSecurityGroupListResult] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.EffectiveNetworkSecurityGroupListResult"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._list_effective_network_security_groups_initial( + resource_group_name=resource_group_name, + network_interface_name=network_interface_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('EffectiveNetworkSecurityGroupListResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkInterfaceName': self._serialize.url("network_interface_name", network_interface_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_list_effective_network_security_groups.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/effectiveNetworkSecurityGroups'} # type: ignore + + def list_virtual_machine_scale_set_vm_network_interfaces( + self, + resource_group_name, # type: str + virtual_machine_scale_set_name, # type: str + virtualmachine_index, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.NetworkInterfaceListResult"] + """Gets information about all network interfaces in a virtual machine in a virtual machine scale + set. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_machine_scale_set_name: The name of the virtual machine scale set. + :type virtual_machine_scale_set_name: str + :param virtualmachine_index: The virtual machine index. + :type virtualmachine_index: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either NetworkInterfaceListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.NetworkInterfaceListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkInterfaceListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-10-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_virtual_machine_scale_set_vm_network_interfaces.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualMachineScaleSetName': self._serialize.url("virtual_machine_scale_set_name", virtual_machine_scale_set_name, 'str'), + 'virtualmachineIndex': self._serialize.url("virtualmachine_index", virtualmachine_index, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('NetworkInterfaceListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_virtual_machine_scale_set_vm_network_interfaces.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines/{virtualmachineIndex}/networkInterfaces'} # type: ignore + + def list_virtual_machine_scale_set_network_interfaces( + self, + resource_group_name, # type: str + virtual_machine_scale_set_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.NetworkInterfaceListResult"] + """Gets all network interfaces in a virtual machine scale set. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_machine_scale_set_name: The name of the virtual machine scale set. + :type virtual_machine_scale_set_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either NetworkInterfaceListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.NetworkInterfaceListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkInterfaceListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-10-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_virtual_machine_scale_set_network_interfaces.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualMachineScaleSetName': self._serialize.url("virtual_machine_scale_set_name", virtual_machine_scale_set_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('NetworkInterfaceListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_virtual_machine_scale_set_network_interfaces.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/networkInterfaces'} # type: ignore + + def get_virtual_machine_scale_set_network_interface( + self, + resource_group_name, # type: str + virtual_machine_scale_set_name, # type: str + virtualmachine_index, # type: str + network_interface_name, # type: str + expand=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> "_models.NetworkInterface" + """Get the specified network interface in a virtual machine scale set. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_machine_scale_set_name: The name of the virtual machine scale set. + :type virtual_machine_scale_set_name: str + :param virtualmachine_index: The virtual machine index. + :type virtualmachine_index: str + :param network_interface_name: The name of the network interface. + :type network_interface_name: str + :param expand: Expands referenced resources. + :type expand: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: NetworkInterface, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.NetworkInterface + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkInterface"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-10-01" + accept = "application/json" + + # Construct URL + url = self.get_virtual_machine_scale_set_network_interface.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualMachineScaleSetName': self._serialize.url("virtual_machine_scale_set_name", virtual_machine_scale_set_name, 'str'), + 'virtualmachineIndex': self._serialize.url("virtualmachine_index", virtualmachine_index, 'str'), + 'networkInterfaceName': self._serialize.url("network_interface_name", network_interface_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('NetworkInterface', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_virtual_machine_scale_set_network_interface.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines/{virtualmachineIndex}/networkInterfaces/{networkInterfaceName}'} # type: ignore + + def list_virtual_machine_scale_set_ip_configurations( + self, + resource_group_name, # type: str + virtual_machine_scale_set_name, # type: str + virtualmachine_index, # type: str + network_interface_name, # type: str + expand=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.NetworkInterfaceIPConfigurationListResult"] + """Get the specified network interface ip configuration in a virtual machine scale set. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_machine_scale_set_name: The name of the virtual machine scale set. + :type virtual_machine_scale_set_name: str + :param virtualmachine_index: The virtual machine index. + :type virtualmachine_index: str + :param network_interface_name: The name of the network interface. + :type network_interface_name: str + :param expand: Expands referenced resources. + :type expand: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either NetworkInterfaceIPConfigurationListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.NetworkInterfaceIPConfigurationListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkInterfaceIPConfigurationListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-10-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_virtual_machine_scale_set_ip_configurations.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualMachineScaleSetName': self._serialize.url("virtual_machine_scale_set_name", virtual_machine_scale_set_name, 'str'), + 'virtualmachineIndex': self._serialize.url("virtualmachine_index", virtualmachine_index, 'str'), + 'networkInterfaceName': self._serialize.url("network_interface_name", network_interface_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('NetworkInterfaceIPConfigurationListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_virtual_machine_scale_set_ip_configurations.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines/{virtualmachineIndex}/networkInterfaces/{networkInterfaceName}/ipConfigurations'} # type: ignore + + def get_virtual_machine_scale_set_ip_configuration( + self, + resource_group_name, # type: str + virtual_machine_scale_set_name, # type: str + virtualmachine_index, # type: str + network_interface_name, # type: str + ip_configuration_name, # type: str + expand=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> "_models.NetworkInterfaceIPConfiguration" + """Get the specified network interface ip configuration in a virtual machine scale set. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_machine_scale_set_name: The name of the virtual machine scale set. + :type virtual_machine_scale_set_name: str + :param virtualmachine_index: The virtual machine index. + :type virtualmachine_index: str + :param network_interface_name: The name of the network interface. + :type network_interface_name: str + :param ip_configuration_name: The name of the ip configuration. + :type ip_configuration_name: str + :param expand: Expands referenced resources. + :type expand: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: NetworkInterfaceIPConfiguration, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.NetworkInterfaceIPConfiguration + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkInterfaceIPConfiguration"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-10-01" + accept = "application/json" + + # Construct URL + url = self.get_virtual_machine_scale_set_ip_configuration.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualMachineScaleSetName': self._serialize.url("virtual_machine_scale_set_name", virtual_machine_scale_set_name, 'str'), + 'virtualmachineIndex': self._serialize.url("virtualmachine_index", virtualmachine_index, 'str'), + 'networkInterfaceName': self._serialize.url("network_interface_name", network_interface_name, 'str'), + 'ipConfigurationName': self._serialize.url("ip_configuration_name", ip_configuration_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('NetworkInterfaceIPConfiguration', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_virtual_machine_scale_set_ip_configuration.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines/{virtualmachineIndex}/networkInterfaces/{networkInterfaceName}/ipConfigurations/{ipConfigurationName}'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_network_management_client_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_network_management_client_operations.py new file mode 100644 index 000000000000..4ee4a14e42d5 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_network_management_client_operations.py @@ -0,0 +1,933 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class NetworkManagementClientOperationsMixin(object): + + def _put_bastion_shareable_link_initial( + self, + resource_group_name, # type: str + bastion_host_name, # type: str + bsl_request, # type: "_models.BastionShareableLinkListRequest" + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.BastionShareableLinkListResult"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.BastionShareableLinkListResult"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._put_bastion_shareable_link_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'bastionHostName': self._serialize.url("bastion_host_name", bastion_host_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(bsl_request, 'BastionShareableLinkListRequest') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('BastionShareableLinkListResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _put_bastion_shareable_link_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/createShareableLinks'} # type: ignore + + def begin_put_bastion_shareable_link( + self, + resource_group_name, # type: str + bastion_host_name, # type: str + bsl_request, # type: "_models.BastionShareableLinkListRequest" + **kwargs # type: Any + ): + # type: (...) -> LROPoller[ItemPaged["_models.BastionShareableLinkListResult"]] + """Creates a Bastion Shareable Links for all the VMs specified in the request. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param bastion_host_name: The name of the Bastion Host. + :type bastion_host_name: str + :param bsl_request: Post request for all the Bastion Shareable Link endpoints. + :type bsl_request: ~azure.mgmt.network.v2021_02_01.models.BastionShareableLinkListRequest + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns an iterator like instance of either BastionShareableLinkListResult or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.BastionShareableLinkListResult]] + :raises ~azure.core.exceptions.HttpResponseError: + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.BastionShareableLinkListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = "application/json" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.put_bastion_shareable_link.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'bastionHostName': self._serialize.url("bastion_host_name", bastion_host_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(bsl_request, 'BastionShareableLinkListRequest') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(bsl_request, 'BastionShareableLinkListRequest') + body_content_kwargs['content'] = body_content + request = self._client.get(url, query_parameters, header_parameters, **body_content_kwargs) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('BastionShareableLinkListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.BastionShareableLinkListResult"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._put_bastion_shareable_link_initial( + resource_group_name=resource_group_name, + bastion_host_name=bastion_host_name, + bsl_request=bsl_request, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + def get_long_running_output(pipeline_response): + def internal_get_next(next_link=None): + if next_link is None: + return pipeline_response + else: + return get_next(next_link) + + return ItemPaged( + internal_get_next, extract_data + ) + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'bastionHostName': self._serialize.url("bastion_host_name", bastion_host_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_put_bastion_shareable_link.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/createShareableLinks'} # type: ignore + + def _delete_bastion_shareable_link_initial( + self, + resource_group_name, # type: str + bastion_host_name, # type: str + bsl_request, # type: "_models.BastionShareableLinkListRequest" + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._delete_bastion_shareable_link_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'bastionHostName': self._serialize.url("bastion_host_name", bastion_host_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(bsl_request, 'BastionShareableLinkListRequest') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_bastion_shareable_link_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/deleteShareableLinks'} # type: ignore + + def begin_delete_bastion_shareable_link( + self, + resource_group_name, # type: str + bastion_host_name, # type: str + bsl_request, # type: "_models.BastionShareableLinkListRequest" + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the Bastion Shareable Links for all the VMs specified in the request. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param bastion_host_name: The name of the Bastion Host. + :type bastion_host_name: str + :param bsl_request: Post request for all the Bastion Shareable Link endpoints. + :type bsl_request: ~azure.mgmt.network.v2021_02_01.models.BastionShareableLinkListRequest + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_bastion_shareable_link_initial( + resource_group_name=resource_group_name, + bastion_host_name=bastion_host_name, + bsl_request=bsl_request, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'bastionHostName': self._serialize.url("bastion_host_name", bastion_host_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete_bastion_shareable_link.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/deleteShareableLinks'} # type: ignore + + def get_bastion_shareable_link( + self, + resource_group_name, # type: str + bastion_host_name, # type: str + bsl_request, # type: "_models.BastionShareableLinkListRequest" + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.BastionShareableLinkListResult"] + """Return the Bastion Shareable Links for all the VMs specified in the request. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param bastion_host_name: The name of the Bastion Host. + :type bastion_host_name: str + :param bsl_request: Post request for all the Bastion Shareable Link endpoints. + :type bsl_request: ~azure.mgmt.network.v2021_02_01.models.BastionShareableLinkListRequest + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either BastionShareableLinkListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.BastionShareableLinkListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.BastionShareableLinkListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = "application/json" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.get_bastion_shareable_link.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'bastionHostName': self._serialize.url("bastion_host_name", bastion_host_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(bsl_request, 'BastionShareableLinkListRequest') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(bsl_request, 'BastionShareableLinkListRequest') + body_content_kwargs['content'] = body_content + request = self._client.get(url, query_parameters, header_parameters, **body_content_kwargs) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('BastionShareableLinkListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + get_bastion_shareable_link.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/getShareableLinks'} # type: ignore + + def _get_active_sessions_initial( + self, + resource_group_name, # type: str + bastion_host_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.BastionActiveSessionListResult"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.BastionActiveSessionListResult"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._get_active_sessions_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'bastionHostName': self._serialize.url("bastion_host_name", bastion_host_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('BastionActiveSessionListResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _get_active_sessions_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/getActiveSessions'} # type: ignore + + def begin_get_active_sessions( + self, + resource_group_name, # type: str + bastion_host_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[ItemPaged["_models.BastionActiveSessionListResult"]] + """Returns the list of currently active sessions on the Bastion. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param bastion_host_name: The name of the Bastion Host. + :type bastion_host_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns an iterator like instance of either BastionActiveSessionListResult or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.BastionActiveSessionListResult]] + :raises ~azure.core.exceptions.HttpResponseError: + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.BastionActiveSessionListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.get_active_sessions.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'bastionHostName': self._serialize.url("bastion_host_name", bastion_host_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('BastionActiveSessionListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.BastionActiveSessionListResult"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._get_active_sessions_initial( + resource_group_name=resource_group_name, + bastion_host_name=bastion_host_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + def get_long_running_output(pipeline_response): + def internal_get_next(next_link=None): + if next_link is None: + return pipeline_response + else: + return get_next(next_link) + + return ItemPaged( + internal_get_next, extract_data + ) + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'bastionHostName': self._serialize.url("bastion_host_name", bastion_host_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_get_active_sessions.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/getActiveSessions'} # type: ignore + + def disconnect_active_sessions( + self, + resource_group_name, # type: str + bastion_host_name, # type: str + session_ids, # type: "_models.SessionIds" + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.BastionSessionDeleteResult"] + """Returns the list of currently active sessions on the Bastion. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param bastion_host_name: The name of the Bastion Host. + :type bastion_host_name: str + :param session_ids: The list of sessionids to disconnect. + :type session_ids: ~azure.mgmt.network.v2021_02_01.models.SessionIds + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either BastionSessionDeleteResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.BastionSessionDeleteResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.BastionSessionDeleteResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = "application/json" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.disconnect_active_sessions.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'bastionHostName': self._serialize.url("bastion_host_name", bastion_host_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(session_ids, 'SessionIds') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(session_ids, 'SessionIds') + body_content_kwargs['content'] = body_content + request = self._client.get(url, query_parameters, header_parameters, **body_content_kwargs) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('BastionSessionDeleteResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + disconnect_active_sessions.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/disconnectActiveSessions'} # type: ignore + + def check_dns_name_availability( + self, + location, # type: str + domain_name_label, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.DnsNameAvailabilityResult" + """Checks whether a domain name in the cloudapp.azure.com zone is available for use. + + :param location: The location of the domain name. + :type location: str + :param domain_name_label: The domain name to be verified. It must conform to the following + regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$. + :type domain_name_label: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: DnsNameAvailabilityResult, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.DnsNameAvailabilityResult + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.DnsNameAvailabilityResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.check_dns_name_availability.metadata['url'] # type: ignore + path_format_arguments = { + 'location': self._serialize.url("location", location, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['domainNameLabel'] = self._serialize.query("domain_name_label", domain_name_label, 'str') + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('DnsNameAvailabilityResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + check_dns_name_availability.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/CheckDnsNameAvailability'} # type: ignore + + def supported_security_providers( + self, + resource_group_name, # type: str + virtual_wan_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.VirtualWanSecurityProviders" + """Gives the supported security providers for the virtual wan. + + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param virtual_wan_name: The name of the VirtualWAN for which supported security providers are + needed. + :type virtual_wan_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: VirtualWanSecurityProviders, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.VirtualWanSecurityProviders + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualWanSecurityProviders"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.supported_security_providers.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualWANName': self._serialize.url("virtual_wan_name", virtual_wan_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('VirtualWanSecurityProviders', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + supported_security_providers.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{virtualWANName}/supportedSecurityProviders'} # type: ignore + + def _generatevirtualwanvpnserverconfigurationvpnprofile_initial( + self, + resource_group_name, # type: str + virtual_wan_name, # type: str + vpn_client_params, # type: "_models.VirtualWanVpnProfileParameters" + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.VpnProfileResponse"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.VpnProfileResponse"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._generatevirtualwanvpnserverconfigurationvpnprofile_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualWANName': self._serialize.url("virtual_wan_name", virtual_wan_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(vpn_client_params, 'VirtualWanVpnProfileParameters') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('VpnProfileResponse', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _generatevirtualwanvpnserverconfigurationvpnprofile_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{virtualWANName}/GenerateVpnProfile'} # type: ignore + + def begin_generatevirtualwanvpnserverconfigurationvpnprofile( + self, + resource_group_name, # type: str + virtual_wan_name, # type: str + vpn_client_params, # type: "_models.VirtualWanVpnProfileParameters" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.VpnProfileResponse"] + """Generates a unique VPN profile for P2S clients for VirtualWan and associated + VpnServerConfiguration combination in the specified resource group. + + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is + needed. + :type virtual_wan_name: str + :param vpn_client_params: Parameters supplied to the generate VirtualWan VPN profile generation + operation. + :type vpn_client_params: ~azure.mgmt.network.v2021_02_01.models.VirtualWanVpnProfileParameters + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either VpnProfileResponse or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.VpnProfileResponse] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.VpnProfileResponse"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._generatevirtualwanvpnserverconfigurationvpnprofile_initial( + resource_group_name=resource_group_name, + virtual_wan_name=virtual_wan_name, + vpn_client_params=vpn_client_params, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('VpnProfileResponse', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualWANName': self._serialize.url("virtual_wan_name", virtual_wan_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_generatevirtualwanvpnserverconfigurationvpnprofile.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{virtualWANName}/GenerateVpnProfile'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_network_profiles_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_network_profiles_operations.py new file mode 100644 index 000000000000..033447f88282 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_network_profiles_operations.py @@ -0,0 +1,498 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class NetworkProfilesOperations(object): + """NetworkProfilesOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def _delete_initial( + self, + resource_group_name, # type: str + network_profile_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkProfileName': self._serialize.url("network_profile_name", network_profile_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkProfiles/{networkProfileName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + network_profile_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the specified network profile. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_profile_name: The name of the NetworkProfile. + :type network_profile_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + network_profile_name=network_profile_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkProfileName': self._serialize.url("network_profile_name", network_profile_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkProfiles/{networkProfileName}'} # type: ignore + + def get( + self, + resource_group_name, # type: str + network_profile_name, # type: str + expand=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> "_models.NetworkProfile" + """Gets the specified network profile in a specified resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_profile_name: The name of the public IP prefix. + :type network_profile_name: str + :param expand: Expands referenced resources. + :type expand: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: NetworkProfile, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.NetworkProfile + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkProfile"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkProfileName': self._serialize.url("network_profile_name", network_profile_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('NetworkProfile', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkProfiles/{networkProfileName}'} # type: ignore + + def create_or_update( + self, + resource_group_name, # type: str + network_profile_name, # type: str + parameters, # type: "_models.NetworkProfile" + **kwargs # type: Any + ): + # type: (...) -> "_models.NetworkProfile" + """Creates or updates a network profile. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_profile_name: The name of the network profile. + :type network_profile_name: str + :param parameters: Parameters supplied to the create or update network profile operation. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.NetworkProfile + :keyword callable cls: A custom type or function that will be passed the direct response + :return: NetworkProfile, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.NetworkProfile + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkProfile"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.create_or_update.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkProfileName': self._serialize.url("network_profile_name", network_profile_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'NetworkProfile') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('NetworkProfile', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('NetworkProfile', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkProfiles/{networkProfileName}'} # type: ignore + + def update_tags( + self, + resource_group_name, # type: str + network_profile_name, # type: str + parameters, # type: "_models.TagsObject" + **kwargs # type: Any + ): + # type: (...) -> "_models.NetworkProfile" + """Updates network profile tags. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_profile_name: The name of the network profile. + :type network_profile_name: str + :param parameters: Parameters supplied to update network profile tags. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.TagsObject + :keyword callable cls: A custom type or function that will be passed the direct response + :return: NetworkProfile, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.NetworkProfile + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkProfile"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update_tags.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkProfileName': self._serialize.url("network_profile_name", network_profile_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'TagsObject') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('NetworkProfile', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkProfiles/{networkProfileName}'} # type: ignore + + def list_all( + self, + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.NetworkProfileListResult"] + """Gets all the network profiles in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either NetworkProfileListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.NetworkProfileListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkProfileListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_all.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('NetworkProfileListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_all.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkProfiles'} # type: ignore + + def list( + self, + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.NetworkProfileListResult"] + """Gets all network profiles in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either NetworkProfileListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.NetworkProfileListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkProfileListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('NetworkProfileListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkProfiles'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_network_security_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_network_security_groups_operations.py new file mode 100644 index 000000000000..a2e5ca1dd1f1 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_network_security_groups_operations.py @@ -0,0 +1,558 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class NetworkSecurityGroupsOperations(object): + """NetworkSecurityGroupsOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def _delete_initial( + self, + resource_group_name, # type: str + network_security_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkSecurityGroupName': self._serialize.url("network_security_group_name", network_security_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + network_security_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the specified network security group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_security_group_name: The name of the network security group. + :type network_security_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + network_security_group_name=network_security_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkSecurityGroupName': self._serialize.url("network_security_group_name", network_security_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}'} # type: ignore + + def get( + self, + resource_group_name, # type: str + network_security_group_name, # type: str + expand=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> "_models.NetworkSecurityGroup" + """Gets the specified network security group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_security_group_name: The name of the network security group. + :type network_security_group_name: str + :param expand: Expands referenced resources. + :type expand: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: NetworkSecurityGroup, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.NetworkSecurityGroup + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkSecurityGroup"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkSecurityGroupName': self._serialize.url("network_security_group_name", network_security_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('NetworkSecurityGroup', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}'} # type: ignore + + def _create_or_update_initial( + self, + resource_group_name, # type: str + network_security_group_name, # type: str + parameters, # type: "_models.NetworkSecurityGroup" + **kwargs # type: Any + ): + # type: (...) -> "_models.NetworkSecurityGroup" + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkSecurityGroup"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkSecurityGroupName': self._serialize.url("network_security_group_name", network_security_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'NetworkSecurityGroup') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('NetworkSecurityGroup', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('NetworkSecurityGroup', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}'} # type: ignore + + def begin_create_or_update( + self, + resource_group_name, # type: str + network_security_group_name, # type: str + parameters, # type: "_models.NetworkSecurityGroup" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.NetworkSecurityGroup"] + """Creates or updates a network security group in the specified resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_security_group_name: The name of the network security group. + :type network_security_group_name: str + :param parameters: Parameters supplied to the create or update network security group + operation. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.NetworkSecurityGroup + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either NetworkSecurityGroup or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.NetworkSecurityGroup] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkSecurityGroup"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + resource_group_name=resource_group_name, + network_security_group_name=network_security_group_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('NetworkSecurityGroup', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkSecurityGroupName': self._serialize.url("network_security_group_name", network_security_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}'} # type: ignore + + def update_tags( + self, + resource_group_name, # type: str + network_security_group_name, # type: str + parameters, # type: "_models.TagsObject" + **kwargs # type: Any + ): + # type: (...) -> "_models.NetworkSecurityGroup" + """Updates a network security group tags. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_security_group_name: The name of the network security group. + :type network_security_group_name: str + :param parameters: Parameters supplied to update network security group tags. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.TagsObject + :keyword callable cls: A custom type or function that will be passed the direct response + :return: NetworkSecurityGroup, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.NetworkSecurityGroup + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkSecurityGroup"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update_tags.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkSecurityGroupName': self._serialize.url("network_security_group_name", network_security_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'TagsObject') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('NetworkSecurityGroup', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}'} # type: ignore + + def list_all( + self, + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.NetworkSecurityGroupListResult"] + """Gets all network security groups in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either NetworkSecurityGroupListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.NetworkSecurityGroupListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkSecurityGroupListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_all.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('NetworkSecurityGroupListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_all.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkSecurityGroups'} # type: ignore + + def list( + self, + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.NetworkSecurityGroupListResult"] + """Gets all network security groups in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either NetworkSecurityGroupListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.NetworkSecurityGroupListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkSecurityGroupListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('NetworkSecurityGroupListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_network_virtual_appliances_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_network_virtual_appliances_operations.py new file mode 100644 index 000000000000..cf15880eadfa --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_network_virtual_appliances_operations.py @@ -0,0 +1,557 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class NetworkVirtualAppliancesOperations(object): + """NetworkVirtualAppliancesOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def _delete_initial( + self, + resource_group_name, # type: str + network_virtual_appliance_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkVirtualApplianceName': self._serialize.url("network_virtual_appliance_name", network_virtual_appliance_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + network_virtual_appliance_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the specified Network Virtual Appliance. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_virtual_appliance_name: The name of Network Virtual Appliance. + :type network_virtual_appliance_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + network_virtual_appliance_name=network_virtual_appliance_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkVirtualApplianceName': self._serialize.url("network_virtual_appliance_name", network_virtual_appliance_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}'} # type: ignore + + def get( + self, + resource_group_name, # type: str + network_virtual_appliance_name, # type: str + expand=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> "_models.NetworkVirtualAppliance" + """Gets the specified Network Virtual Appliance. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_virtual_appliance_name: The name of Network Virtual Appliance. + :type network_virtual_appliance_name: str + :param expand: Expands referenced resources. + :type expand: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: NetworkVirtualAppliance, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.NetworkVirtualAppliance + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkVirtualAppliance"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkVirtualApplianceName': self._serialize.url("network_virtual_appliance_name", network_virtual_appliance_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('NetworkVirtualAppliance', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}'} # type: ignore + + def update_tags( + self, + resource_group_name, # type: str + network_virtual_appliance_name, # type: str + parameters, # type: "_models.TagsObject" + **kwargs # type: Any + ): + # type: (...) -> "_models.NetworkVirtualAppliance" + """Updates a Network Virtual Appliance. + + :param resource_group_name: The resource group name of Network Virtual Appliance. + :type resource_group_name: str + :param network_virtual_appliance_name: The name of Network Virtual Appliance being updated. + :type network_virtual_appliance_name: str + :param parameters: Parameters supplied to Update Network Virtual Appliance Tags. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.TagsObject + :keyword callable cls: A custom type or function that will be passed the direct response + :return: NetworkVirtualAppliance, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.NetworkVirtualAppliance + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkVirtualAppliance"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update_tags.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkVirtualApplianceName': self._serialize.url("network_virtual_appliance_name", network_virtual_appliance_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'TagsObject') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('NetworkVirtualAppliance', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}'} # type: ignore + + def _create_or_update_initial( + self, + resource_group_name, # type: str + network_virtual_appliance_name, # type: str + parameters, # type: "_models.NetworkVirtualAppliance" + **kwargs # type: Any + ): + # type: (...) -> "_models.NetworkVirtualAppliance" + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkVirtualAppliance"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkVirtualApplianceName': self._serialize.url("network_virtual_appliance_name", network_virtual_appliance_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'NetworkVirtualAppliance') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('NetworkVirtualAppliance', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('NetworkVirtualAppliance', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}'} # type: ignore + + def begin_create_or_update( + self, + resource_group_name, # type: str + network_virtual_appliance_name, # type: str + parameters, # type: "_models.NetworkVirtualAppliance" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.NetworkVirtualAppliance"] + """Creates or updates the specified Network Virtual Appliance. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_virtual_appliance_name: The name of Network Virtual Appliance. + :type network_virtual_appliance_name: str + :param parameters: Parameters supplied to the create or update Network Virtual Appliance. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.NetworkVirtualAppliance + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either NetworkVirtualAppliance or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.NetworkVirtualAppliance] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkVirtualAppliance"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + resource_group_name=resource_group_name, + network_virtual_appliance_name=network_virtual_appliance_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('NetworkVirtualAppliance', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkVirtualApplianceName': self._serialize.url("network_virtual_appliance_name", network_virtual_appliance_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}'} # type: ignore + + def list_by_resource_group( + self, + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.NetworkVirtualApplianceListResult"] + """Lists all Network Virtual Appliances in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either NetworkVirtualApplianceListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.NetworkVirtualApplianceListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkVirtualApplianceListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_resource_group.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('NetworkVirtualApplianceListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances'} # type: ignore + + def list( + self, + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.NetworkVirtualApplianceListResult"] + """Gets all Network Virtual Appliances in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either NetworkVirtualApplianceListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.NetworkVirtualApplianceListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkVirtualApplianceListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('NetworkVirtualApplianceListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkVirtualAppliances'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_network_watchers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_network_watchers_operations.py new file mode 100644 index 000000000000..9999cb37fb83 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_network_watchers_operations.py @@ -0,0 +1,2017 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class NetworkWatchersOperations(object): + """NetworkWatchersOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def create_or_update( + self, + resource_group_name, # type: str + network_watcher_name, # type: str + parameters, # type: "_models.NetworkWatcher" + **kwargs # type: Any + ): + # type: (...) -> "_models.NetworkWatcher" + """Creates or updates a network watcher in the specified resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_watcher_name: The name of the network watcher. + :type network_watcher_name: str + :param parameters: Parameters that define the network watcher resource. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.NetworkWatcher + :keyword callable cls: A custom type or function that will be passed the direct response + :return: NetworkWatcher, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.NetworkWatcher + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkWatcher"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.create_or_update.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'NetworkWatcher') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('NetworkWatcher', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('NetworkWatcher', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}'} # type: ignore + + def get( + self, + resource_group_name, # type: str + network_watcher_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.NetworkWatcher" + """Gets the specified network watcher by resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_watcher_name: The name of the network watcher. + :type network_watcher_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: NetworkWatcher, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.NetworkWatcher + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkWatcher"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('NetworkWatcher', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}'} # type: ignore + + def _delete_initial( + self, + resource_group_name, # type: str + network_watcher_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + network_watcher_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the specified network watcher resource. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_watcher_name: The name of the network watcher. + :type network_watcher_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + network_watcher_name=network_watcher_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}'} # type: ignore + + def update_tags( + self, + resource_group_name, # type: str + network_watcher_name, # type: str + parameters, # type: "_models.TagsObject" + **kwargs # type: Any + ): + # type: (...) -> "_models.NetworkWatcher" + """Updates a network watcher tags. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_watcher_name: The name of the network watcher. + :type network_watcher_name: str + :param parameters: Parameters supplied to update network watcher tags. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.TagsObject + :keyword callable cls: A custom type or function that will be passed the direct response + :return: NetworkWatcher, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.NetworkWatcher + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkWatcher"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update_tags.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'TagsObject') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('NetworkWatcher', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}'} # type: ignore + + def list( + self, + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.NetworkWatcherListResult"] + """Gets all network watchers by resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either NetworkWatcherListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.NetworkWatcherListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkWatcherListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('NetworkWatcherListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers'} # type: ignore + + def list_all( + self, + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.NetworkWatcherListResult"] + """Gets all network watchers by subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either NetworkWatcherListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.NetworkWatcherListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkWatcherListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_all.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('NetworkWatcherListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_all.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkWatchers'} # type: ignore + + def get_topology( + self, + resource_group_name, # type: str + network_watcher_name, # type: str + parameters, # type: "_models.TopologyParameters" + **kwargs # type: Any + ): + # type: (...) -> "_models.Topology" + """Gets the current network topology by resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_watcher_name: The name of the network watcher. + :type network_watcher_name: str + :param parameters: Parameters that define the representation of topology. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.TopologyParameters + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Topology, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.Topology + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Topology"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.get_topology.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'TopologyParameters') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Topology', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_topology.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/topology'} # type: ignore + + def _verify_ip_flow_initial( + self, + resource_group_name, # type: str + network_watcher_name, # type: str + parameters, # type: "_models.VerificationIPFlowParameters" + **kwargs # type: Any + ): + # type: (...) -> "_models.VerificationIPFlowResult" + cls = kwargs.pop('cls', None) # type: ClsType["_models.VerificationIPFlowResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._verify_ip_flow_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'VerificationIPFlowParameters') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('VerificationIPFlowResult', pipeline_response) + + if response.status_code == 202: + deserialized = self._deserialize('VerificationIPFlowResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _verify_ip_flow_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/ipFlowVerify'} # type: ignore + + def begin_verify_ip_flow( + self, + resource_group_name, # type: str + network_watcher_name, # type: str + parameters, # type: "_models.VerificationIPFlowParameters" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.VerificationIPFlowResult"] + """Verify IP flow from the specified VM to a location given the currently configured NSG rules. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_watcher_name: The name of the network watcher. + :type network_watcher_name: str + :param parameters: Parameters that define the IP flow to be verified. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.VerificationIPFlowParameters + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either VerificationIPFlowResult or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.VerificationIPFlowResult] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.VerificationIPFlowResult"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._verify_ip_flow_initial( + resource_group_name=resource_group_name, + network_watcher_name=network_watcher_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('VerificationIPFlowResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_verify_ip_flow.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/ipFlowVerify'} # type: ignore + + def _get_next_hop_initial( + self, + resource_group_name, # type: str + network_watcher_name, # type: str + parameters, # type: "_models.NextHopParameters" + **kwargs # type: Any + ): + # type: (...) -> "_models.NextHopResult" + cls = kwargs.pop('cls', None) # type: ClsType["_models.NextHopResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._get_next_hop_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'NextHopParameters') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('NextHopResult', pipeline_response) + + if response.status_code == 202: + deserialized = self._deserialize('NextHopResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _get_next_hop_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/nextHop'} # type: ignore + + def begin_get_next_hop( + self, + resource_group_name, # type: str + network_watcher_name, # type: str + parameters, # type: "_models.NextHopParameters" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.NextHopResult"] + """Gets the next hop from the specified VM. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_watcher_name: The name of the network watcher. + :type network_watcher_name: str + :param parameters: Parameters that define the source and destination endpoint. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.NextHopParameters + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either NextHopResult or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.NextHopResult] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.NextHopResult"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._get_next_hop_initial( + resource_group_name=resource_group_name, + network_watcher_name=network_watcher_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('NextHopResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_get_next_hop.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/nextHop'} # type: ignore + + def _get_vm_security_rules_initial( + self, + resource_group_name, # type: str + network_watcher_name, # type: str + parameters, # type: "_models.SecurityGroupViewParameters" + **kwargs # type: Any + ): + # type: (...) -> "_models.SecurityGroupViewResult" + cls = kwargs.pop('cls', None) # type: ClsType["_models.SecurityGroupViewResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._get_vm_security_rules_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'SecurityGroupViewParameters') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('SecurityGroupViewResult', pipeline_response) + + if response.status_code == 202: + deserialized = self._deserialize('SecurityGroupViewResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _get_vm_security_rules_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/securityGroupView'} # type: ignore + + def begin_get_vm_security_rules( + self, + resource_group_name, # type: str + network_watcher_name, # type: str + parameters, # type: "_models.SecurityGroupViewParameters" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.SecurityGroupViewResult"] + """Gets the configured and effective security group rules on the specified VM. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_watcher_name: The name of the network watcher. + :type network_watcher_name: str + :param parameters: Parameters that define the VM to check security groups for. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.SecurityGroupViewParameters + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either SecurityGroupViewResult or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.SecurityGroupViewResult] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.SecurityGroupViewResult"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._get_vm_security_rules_initial( + resource_group_name=resource_group_name, + network_watcher_name=network_watcher_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('SecurityGroupViewResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_get_vm_security_rules.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/securityGroupView'} # type: ignore + + def _get_troubleshooting_initial( + self, + resource_group_name, # type: str + network_watcher_name, # type: str + parameters, # type: "_models.TroubleshootingParameters" + **kwargs # type: Any + ): + # type: (...) -> "_models.TroubleshootingResult" + cls = kwargs.pop('cls', None) # type: ClsType["_models.TroubleshootingResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._get_troubleshooting_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'TroubleshootingParameters') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('TroubleshootingResult', pipeline_response) + + if response.status_code == 202: + deserialized = self._deserialize('TroubleshootingResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _get_troubleshooting_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/troubleshoot'} # type: ignore + + def begin_get_troubleshooting( + self, + resource_group_name, # type: str + network_watcher_name, # type: str + parameters, # type: "_models.TroubleshootingParameters" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.TroubleshootingResult"] + """Initiate troubleshooting on a specified resource. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_watcher_name: The name of the network watcher resource. + :type network_watcher_name: str + :param parameters: Parameters that define the resource to troubleshoot. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.TroubleshootingParameters + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either TroubleshootingResult or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.TroubleshootingResult] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.TroubleshootingResult"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._get_troubleshooting_initial( + resource_group_name=resource_group_name, + network_watcher_name=network_watcher_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('TroubleshootingResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_get_troubleshooting.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/troubleshoot'} # type: ignore + + def _get_troubleshooting_result_initial( + self, + resource_group_name, # type: str + network_watcher_name, # type: str + parameters, # type: "_models.QueryTroubleshootingParameters" + **kwargs # type: Any + ): + # type: (...) -> "_models.TroubleshootingResult" + cls = kwargs.pop('cls', None) # type: ClsType["_models.TroubleshootingResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._get_troubleshooting_result_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'QueryTroubleshootingParameters') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('TroubleshootingResult', pipeline_response) + + if response.status_code == 202: + deserialized = self._deserialize('TroubleshootingResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _get_troubleshooting_result_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/queryTroubleshootResult'} # type: ignore + + def begin_get_troubleshooting_result( + self, + resource_group_name, # type: str + network_watcher_name, # type: str + parameters, # type: "_models.QueryTroubleshootingParameters" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.TroubleshootingResult"] + """Get the last completed troubleshooting result on a specified resource. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_watcher_name: The name of the network watcher resource. + :type network_watcher_name: str + :param parameters: Parameters that define the resource to query the troubleshooting result. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.QueryTroubleshootingParameters + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either TroubleshootingResult or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.TroubleshootingResult] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.TroubleshootingResult"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._get_troubleshooting_result_initial( + resource_group_name=resource_group_name, + network_watcher_name=network_watcher_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('TroubleshootingResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_get_troubleshooting_result.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/queryTroubleshootResult'} # type: ignore + + def _set_flow_log_configuration_initial( + self, + resource_group_name, # type: str + network_watcher_name, # type: str + parameters, # type: "_models.FlowLogInformation" + **kwargs # type: Any + ): + # type: (...) -> "_models.FlowLogInformation" + cls = kwargs.pop('cls', None) # type: ClsType["_models.FlowLogInformation"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._set_flow_log_configuration_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'FlowLogInformation') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('FlowLogInformation', pipeline_response) + + if response.status_code == 202: + deserialized = self._deserialize('FlowLogInformation', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _set_flow_log_configuration_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/configureFlowLog'} # type: ignore + + def begin_set_flow_log_configuration( + self, + resource_group_name, # type: str + network_watcher_name, # type: str + parameters, # type: "_models.FlowLogInformation" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.FlowLogInformation"] + """Configures flow log and traffic analytics (optional) on a specified resource. + + :param resource_group_name: The name of the network watcher resource group. + :type resource_group_name: str + :param network_watcher_name: The name of the network watcher resource. + :type network_watcher_name: str + :param parameters: Parameters that define the configuration of flow log. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.FlowLogInformation + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either FlowLogInformation or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.FlowLogInformation] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.FlowLogInformation"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._set_flow_log_configuration_initial( + resource_group_name=resource_group_name, + network_watcher_name=network_watcher_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('FlowLogInformation', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_set_flow_log_configuration.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/configureFlowLog'} # type: ignore + + def _get_flow_log_status_initial( + self, + resource_group_name, # type: str + network_watcher_name, # type: str + parameters, # type: "_models.FlowLogStatusParameters" + **kwargs # type: Any + ): + # type: (...) -> "_models.FlowLogInformation" + cls = kwargs.pop('cls', None) # type: ClsType["_models.FlowLogInformation"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._get_flow_log_status_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'FlowLogStatusParameters') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('FlowLogInformation', pipeline_response) + + if response.status_code == 202: + deserialized = self._deserialize('FlowLogInformation', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _get_flow_log_status_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/queryFlowLogStatus'} # type: ignore + + def begin_get_flow_log_status( + self, + resource_group_name, # type: str + network_watcher_name, # type: str + parameters, # type: "_models.FlowLogStatusParameters" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.FlowLogInformation"] + """Queries status of flow log and traffic analytics (optional) on a specified resource. + + :param resource_group_name: The name of the network watcher resource group. + :type resource_group_name: str + :param network_watcher_name: The name of the network watcher resource. + :type network_watcher_name: str + :param parameters: Parameters that define a resource to query flow log and traffic analytics + (optional) status. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.FlowLogStatusParameters + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either FlowLogInformation or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.FlowLogInformation] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.FlowLogInformation"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._get_flow_log_status_initial( + resource_group_name=resource_group_name, + network_watcher_name=network_watcher_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('FlowLogInformation', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_get_flow_log_status.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/queryFlowLogStatus'} # type: ignore + + def _check_connectivity_initial( + self, + resource_group_name, # type: str + network_watcher_name, # type: str + parameters, # type: "_models.ConnectivityParameters" + **kwargs # type: Any + ): + # type: (...) -> "_models.ConnectivityInformation" + cls = kwargs.pop('cls', None) # type: ClsType["_models.ConnectivityInformation"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._check_connectivity_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'ConnectivityParameters') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('ConnectivityInformation', pipeline_response) + + if response.status_code == 202: + deserialized = self._deserialize('ConnectivityInformation', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _check_connectivity_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectivityCheck'} # type: ignore + + def begin_check_connectivity( + self, + resource_group_name, # type: str + network_watcher_name, # type: str + parameters, # type: "_models.ConnectivityParameters" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.ConnectivityInformation"] + """Verifies the possibility of establishing a direct TCP connection from a virtual machine to a + given endpoint including another VM or an arbitrary remote server. + + :param resource_group_name: The name of the network watcher resource group. + :type resource_group_name: str + :param network_watcher_name: The name of the network watcher resource. + :type network_watcher_name: str + :param parameters: Parameters that determine how the connectivity check will be performed. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.ConnectivityParameters + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either ConnectivityInformation or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.ConnectivityInformation] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.ConnectivityInformation"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._check_connectivity_initial( + resource_group_name=resource_group_name, + network_watcher_name=network_watcher_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('ConnectivityInformation', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_check_connectivity.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectivityCheck'} # type: ignore + + def _get_azure_reachability_report_initial( + self, + resource_group_name, # type: str + network_watcher_name, # type: str + parameters, # type: "_models.AzureReachabilityReportParameters" + **kwargs # type: Any + ): + # type: (...) -> "_models.AzureReachabilityReport" + cls = kwargs.pop('cls', None) # type: ClsType["_models.AzureReachabilityReport"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._get_azure_reachability_report_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'AzureReachabilityReportParameters') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('AzureReachabilityReport', pipeline_response) + + if response.status_code == 202: + deserialized = self._deserialize('AzureReachabilityReport', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _get_azure_reachability_report_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/azureReachabilityReport'} # type: ignore + + def begin_get_azure_reachability_report( + self, + resource_group_name, # type: str + network_watcher_name, # type: str + parameters, # type: "_models.AzureReachabilityReportParameters" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.AzureReachabilityReport"] + """NOTE: This feature is currently in preview and still being tested for stability. Gets the + relative latency score for internet service providers from a specified location to Azure + regions. + + :param resource_group_name: The name of the network watcher resource group. + :type resource_group_name: str + :param network_watcher_name: The name of the network watcher resource. + :type network_watcher_name: str + :param parameters: Parameters that determine Azure reachability report configuration. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.AzureReachabilityReportParameters + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either AzureReachabilityReport or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.AzureReachabilityReport] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.AzureReachabilityReport"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._get_azure_reachability_report_initial( + resource_group_name=resource_group_name, + network_watcher_name=network_watcher_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('AzureReachabilityReport', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_get_azure_reachability_report.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/azureReachabilityReport'} # type: ignore + + def _list_available_providers_initial( + self, + resource_group_name, # type: str + network_watcher_name, # type: str + parameters, # type: "_models.AvailableProvidersListParameters" + **kwargs # type: Any + ): + # type: (...) -> "_models.AvailableProvidersList" + cls = kwargs.pop('cls', None) # type: ClsType["_models.AvailableProvidersList"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._list_available_providers_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'AvailableProvidersListParameters') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('AvailableProvidersList', pipeline_response) + + if response.status_code == 202: + deserialized = self._deserialize('AvailableProvidersList', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _list_available_providers_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/availableProvidersList'} # type: ignore + + def begin_list_available_providers( + self, + resource_group_name, # type: str + network_watcher_name, # type: str + parameters, # type: "_models.AvailableProvidersListParameters" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.AvailableProvidersList"] + """NOTE: This feature is currently in preview and still being tested for stability. Lists all + available internet service providers for a specified Azure region. + + :param resource_group_name: The name of the network watcher resource group. + :type resource_group_name: str + :param network_watcher_name: The name of the network watcher resource. + :type network_watcher_name: str + :param parameters: Parameters that scope the list of available providers. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.AvailableProvidersListParameters + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either AvailableProvidersList or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.AvailableProvidersList] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.AvailableProvidersList"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._list_available_providers_initial( + resource_group_name=resource_group_name, + network_watcher_name=network_watcher_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('AvailableProvidersList', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_list_available_providers.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/availableProvidersList'} # type: ignore + + def _get_network_configuration_diagnostic_initial( + self, + resource_group_name, # type: str + network_watcher_name, # type: str + parameters, # type: "_models.NetworkConfigurationDiagnosticParameters" + **kwargs # type: Any + ): + # type: (...) -> "_models.NetworkConfigurationDiagnosticResponse" + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkConfigurationDiagnosticResponse"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._get_network_configuration_diagnostic_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'NetworkConfigurationDiagnosticParameters') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('NetworkConfigurationDiagnosticResponse', pipeline_response) + + if response.status_code == 202: + deserialized = self._deserialize('NetworkConfigurationDiagnosticResponse', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _get_network_configuration_diagnostic_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/networkConfigurationDiagnostic'} # type: ignore + + def begin_get_network_configuration_diagnostic( + self, + resource_group_name, # type: str + network_watcher_name, # type: str + parameters, # type: "_models.NetworkConfigurationDiagnosticParameters" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.NetworkConfigurationDiagnosticResponse"] + """Gets Network Configuration Diagnostic data to help customers understand and debug network + behavior. It provides detailed information on what security rules were applied to a specified + traffic flow and the result of evaluating these rules. Customers must provide details of a flow + like source, destination, protocol, etc. The API returns whether traffic was allowed or denied, + the rules evaluated for the specified flow and the evaluation results. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_watcher_name: The name of the network watcher. + :type network_watcher_name: str + :param parameters: Parameters to get network configuration diagnostic. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.NetworkConfigurationDiagnosticParameters + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either NetworkConfigurationDiagnosticResponse or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.NetworkConfigurationDiagnosticResponse] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkConfigurationDiagnosticResponse"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._get_network_configuration_diagnostic_initial( + resource_group_name=resource_group_name, + network_watcher_name=network_watcher_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('NetworkConfigurationDiagnosticResponse', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_get_network_configuration_diagnostic.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/networkConfigurationDiagnostic'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_operations.py new file mode 100644 index 000000000000..e1712391a196 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_operations.py @@ -0,0 +1,109 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.mgmt.core.exceptions import ARMErrorFormat + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class Operations(object): + """Operations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.OperationListResult"] + """Lists all of the available Network Rest API operations. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either OperationListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.OperationListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.OperationListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('OperationListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/providers/Microsoft.Network/operations'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_p2_svpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_p2_svpn_gateways_operations.py new file mode 100644 index 000000000000..b46de8cf1ea7 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_p2_svpn_gateways_operations.py @@ -0,0 +1,1231 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class P2SVpnGatewaysOperations(object): + """P2SVpnGatewaysOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def get( + self, + resource_group_name, # type: str + gateway_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.P2SVpnGateway" + """Retrieves the details of a virtual wan p2s vpn gateway. + + :param resource_group_name: The resource group name of the P2SVpnGateway. + :type resource_group_name: str + :param gateway_name: The name of the gateway. + :type gateway_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: P2SVpnGateway, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.P2SVpnGateway + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.P2SVpnGateway"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('P2SVpnGateway', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}'} # type: ignore + + def _create_or_update_initial( + self, + resource_group_name, # type: str + gateway_name, # type: str + p2_s_vpn_gateway_parameters, # type: "_models.P2SVpnGateway" + **kwargs # type: Any + ): + # type: (...) -> "_models.P2SVpnGateway" + cls = kwargs.pop('cls', None) # type: ClsType["_models.P2SVpnGateway"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(p2_s_vpn_gateway_parameters, 'P2SVpnGateway') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('P2SVpnGateway', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('P2SVpnGateway', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}'} # type: ignore + + def begin_create_or_update( + self, + resource_group_name, # type: str + gateway_name, # type: str + p2_s_vpn_gateway_parameters, # type: "_models.P2SVpnGateway" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.P2SVpnGateway"] + """Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway. + + :param resource_group_name: The resource group name of the P2SVpnGateway. + :type resource_group_name: str + :param gateway_name: The name of the gateway. + :type gateway_name: str + :param p2_s_vpn_gateway_parameters: Parameters supplied to create or Update a virtual wan p2s + vpn gateway. + :type p2_s_vpn_gateway_parameters: ~azure.mgmt.network.v2021_02_01.models.P2SVpnGateway + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either P2SVpnGateway or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.P2SVpnGateway] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.P2SVpnGateway"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + resource_group_name=resource_group_name, + gateway_name=gateway_name, + p2_s_vpn_gateway_parameters=p2_s_vpn_gateway_parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('P2SVpnGateway', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}'} # type: ignore + + def _update_tags_initial( + self, + resource_group_name, # type: str + gateway_name, # type: str + p2_s_vpn_gateway_parameters, # type: "_models.TagsObject" + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.P2SVpnGateway"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.P2SVpnGateway"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._update_tags_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(p2_s_vpn_gateway_parameters, 'TagsObject') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('P2SVpnGateway', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _update_tags_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}'} # type: ignore + + def begin_update_tags( + self, + resource_group_name, # type: str + gateway_name, # type: str + p2_s_vpn_gateway_parameters, # type: "_models.TagsObject" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.P2SVpnGateway"] + """Updates virtual wan p2s vpn gateway tags. + + :param resource_group_name: The resource group name of the P2SVpnGateway. + :type resource_group_name: str + :param gateway_name: The name of the gateway. + :type gateway_name: str + :param p2_s_vpn_gateway_parameters: Parameters supplied to update a virtual wan p2s vpn gateway + tags. + :type p2_s_vpn_gateway_parameters: ~azure.mgmt.network.v2021_02_01.models.TagsObject + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either P2SVpnGateway or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.P2SVpnGateway] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.P2SVpnGateway"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._update_tags_initial( + resource_group_name=resource_group_name, + gateway_name=gateway_name, + p2_s_vpn_gateway_parameters=p2_s_vpn_gateway_parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('P2SVpnGateway', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}'} # type: ignore + + def _delete_initial( + self, + resource_group_name, # type: str + gateway_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + gateway_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes a virtual wan p2s vpn gateway. + + :param resource_group_name: The resource group name of the P2SVpnGateway. + :type resource_group_name: str + :param gateway_name: The name of the gateway. + :type gateway_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + gateway_name=gateway_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}'} # type: ignore + + def list_by_resource_group( + self, + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.ListP2SVpnGatewaysResult"] + """Lists all the P2SVpnGateways in a resource group. + + :param resource_group_name: The resource group name of the P2SVpnGateway. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ListP2SVpnGatewaysResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.ListP2SVpnGatewaysResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ListP2SVpnGatewaysResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_resource_group.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('ListP2SVpnGatewaysResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways'} # type: ignore + + def list( + self, + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.ListP2SVpnGatewaysResult"] + """Lists all the P2SVpnGateways in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ListP2SVpnGatewaysResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.ListP2SVpnGatewaysResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ListP2SVpnGatewaysResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('ListP2SVpnGatewaysResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/p2svpnGateways'} # type: ignore + + def _reset_initial( + self, + resource_group_name, # type: str + gateway_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.P2SVpnGateway"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.P2SVpnGateway"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._reset_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('P2SVpnGateway', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _reset_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}/reset'} # type: ignore + + def begin_reset( + self, + resource_group_name, # type: str + gateway_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.P2SVpnGateway"] + """Resets the primary of the p2s vpn gateway in the specified resource group. + + :param resource_group_name: The resource group name of the P2SVpnGateway. + :type resource_group_name: str + :param gateway_name: The name of the gateway. + :type gateway_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either P2SVpnGateway or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.P2SVpnGateway] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.P2SVpnGateway"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._reset_initial( + resource_group_name=resource_group_name, + gateway_name=gateway_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('P2SVpnGateway', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_reset.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}/reset'} # type: ignore + + def _generate_vpn_profile_initial( + self, + resource_group_name, # type: str + gateway_name, # type: str + parameters, # type: "_models.P2SVpnProfileParameters" + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.VpnProfileResponse"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.VpnProfileResponse"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._generate_vpn_profile_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'P2SVpnProfileParameters') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('VpnProfileResponse', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _generate_vpn_profile_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}/generatevpnprofile'} # type: ignore + + def begin_generate_vpn_profile( + self, + resource_group_name, # type: str + gateway_name, # type: str + parameters, # type: "_models.P2SVpnProfileParameters" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.VpnProfileResponse"] + """Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param gateway_name: The name of the P2SVpnGateway. + :type gateway_name: str + :param parameters: Parameters supplied to the generate P2SVpnGateway VPN client package + operation. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.P2SVpnProfileParameters + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either VpnProfileResponse or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.VpnProfileResponse] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.VpnProfileResponse"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._generate_vpn_profile_initial( + resource_group_name=resource_group_name, + gateway_name=gateway_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('VpnProfileResponse', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_generate_vpn_profile.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}/generatevpnprofile'} # type: ignore + + def _get_p2_s_vpn_connection_health_initial( + self, + resource_group_name, # type: str + gateway_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.P2SVpnGateway"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.P2SVpnGateway"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._get_p2_s_vpn_connection_health_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('P2SVpnGateway', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _get_p2_s_vpn_connection_health_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}/getP2sVpnConnectionHealth'} # type: ignore + + def begin_get_p2_s_vpn_connection_health( + self, + resource_group_name, # type: str + gateway_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.P2SVpnGateway"] + """Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified + resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param gateway_name: The name of the P2SVpnGateway. + :type gateway_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either P2SVpnGateway or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.P2SVpnGateway] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.P2SVpnGateway"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._get_p2_s_vpn_connection_health_initial( + resource_group_name=resource_group_name, + gateway_name=gateway_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('P2SVpnGateway', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_get_p2_s_vpn_connection_health.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}/getP2sVpnConnectionHealth'} # type: ignore + + def _get_p2_s_vpn_connection_health_detailed_initial( + self, + resource_group_name, # type: str + gateway_name, # type: str + request, # type: "_models.P2SVpnConnectionHealthRequest" + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.P2SVpnConnectionHealth"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.P2SVpnConnectionHealth"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._get_p2_s_vpn_connection_health_detailed_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(request, 'P2SVpnConnectionHealthRequest') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('P2SVpnConnectionHealth', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _get_p2_s_vpn_connection_health_detailed_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}/getP2sVpnConnectionHealthDetailed'} # type: ignore + + def begin_get_p2_s_vpn_connection_health_detailed( + self, + resource_group_name, # type: str + gateway_name, # type: str + request, # type: "_models.P2SVpnConnectionHealthRequest" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.P2SVpnConnectionHealth"] + """Gets the sas url to get the connection health detail of P2S clients of the virtual wan + P2SVpnGateway in the specified resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param gateway_name: The name of the P2SVpnGateway. + :type gateway_name: str + :param request: Request parameters supplied to get p2s vpn connections detailed health. + :type request: ~azure.mgmt.network.v2021_02_01.models.P2SVpnConnectionHealthRequest + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either P2SVpnConnectionHealth or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.P2SVpnConnectionHealth] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.P2SVpnConnectionHealth"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._get_p2_s_vpn_connection_health_detailed_initial( + resource_group_name=resource_group_name, + gateway_name=gateway_name, + request=request, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('P2SVpnConnectionHealth', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_get_p2_s_vpn_connection_health_detailed.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}/getP2sVpnConnectionHealthDetailed'} # type: ignore + + def _disconnect_p2_s_vpn_connections_initial( + self, + resource_group_name, # type: str + p2_s_vpn_gateway_name, # type: str + request, # type: "_models.P2SVpnConnectionRequest" + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._disconnect_p2_s_vpn_connections_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'p2sVpnGatewayName': self._serialize.url("p2_s_vpn_gateway_name", p2_s_vpn_gateway_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(request, 'P2SVpnConnectionRequest') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _disconnect_p2_s_vpn_connections_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{p2sVpnGatewayName}/disconnectP2sVpnConnections'} # type: ignore + + def begin_disconnect_p2_s_vpn_connections( + self, + resource_group_name, # type: str + p2_s_vpn_gateway_name, # type: str + request, # type: "_models.P2SVpnConnectionRequest" + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource + group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param p2_s_vpn_gateway_name: The name of the P2S Vpn Gateway. + :type p2_s_vpn_gateway_name: str + :param request: The parameters are supplied to disconnect p2s vpn connections. + :type request: ~azure.mgmt.network.v2021_02_01.models.P2SVpnConnectionRequest + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._disconnect_p2_s_vpn_connections_initial( + resource_group_name=resource_group_name, + p2_s_vpn_gateway_name=p2_s_vpn_gateway_name, + request=request, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'p2sVpnGatewayName': self._serialize.url("p2_s_vpn_gateway_name", p2_s_vpn_gateway_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_disconnect_p2_s_vpn_connections.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{p2sVpnGatewayName}/disconnectP2sVpnConnections'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_packet_captures_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_packet_captures_operations.py new file mode 100644 index 000000000000..b9a60a86b1ab --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_packet_captures_operations.py @@ -0,0 +1,686 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class PacketCapturesOperations(object): + """PacketCapturesOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def _create_initial( + self, + resource_group_name, # type: str + network_watcher_name, # type: str + packet_capture_name, # type: str + parameters, # type: "_models.PacketCapture" + **kwargs # type: Any + ): + # type: (...) -> "_models.PacketCaptureResult" + cls = kwargs.pop('cls', None) # type: ClsType["_models.PacketCaptureResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'packetCaptureName': self._serialize.url("packet_capture_name", packet_capture_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'PacketCapture') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('PacketCaptureResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}'} # type: ignore + + def begin_create( + self, + resource_group_name, # type: str + network_watcher_name, # type: str + packet_capture_name, # type: str + parameters, # type: "_models.PacketCapture" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.PacketCaptureResult"] + """Create and start a packet capture on the specified VM. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_watcher_name: The name of the network watcher. + :type network_watcher_name: str + :param packet_capture_name: The name of the packet capture session. + :type packet_capture_name: str + :param parameters: Parameters that define the create packet capture operation. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.PacketCapture + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either PacketCaptureResult or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.PacketCaptureResult] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.PacketCaptureResult"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_initial( + resource_group_name=resource_group_name, + network_watcher_name=network_watcher_name, + packet_capture_name=packet_capture_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('PacketCaptureResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'packetCaptureName': self._serialize.url("packet_capture_name", packet_capture_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}'} # type: ignore + + def get( + self, + resource_group_name, # type: str + network_watcher_name, # type: str + packet_capture_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.PacketCaptureResult" + """Gets a packet capture session by name. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_watcher_name: The name of the network watcher. + :type network_watcher_name: str + :param packet_capture_name: The name of the packet capture session. + :type packet_capture_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: PacketCaptureResult, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.PacketCaptureResult + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.PacketCaptureResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'packetCaptureName': self._serialize.url("packet_capture_name", packet_capture_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('PacketCaptureResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}'} # type: ignore + + def _delete_initial( + self, + resource_group_name, # type: str + network_watcher_name, # type: str + packet_capture_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'packetCaptureName': self._serialize.url("packet_capture_name", packet_capture_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + network_watcher_name, # type: str + packet_capture_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the specified packet capture session. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_watcher_name: The name of the network watcher. + :type network_watcher_name: str + :param packet_capture_name: The name of the packet capture session. + :type packet_capture_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + network_watcher_name=network_watcher_name, + packet_capture_name=packet_capture_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'packetCaptureName': self._serialize.url("packet_capture_name", packet_capture_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}'} # type: ignore + + def _stop_initial( + self, + resource_group_name, # type: str + network_watcher_name, # type: str + packet_capture_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._stop_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'packetCaptureName': self._serialize.url("packet_capture_name", packet_capture_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _stop_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}/stop'} # type: ignore + + def begin_stop( + self, + resource_group_name, # type: str + network_watcher_name, # type: str + packet_capture_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Stops a specified packet capture session. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_watcher_name: The name of the network watcher. + :type network_watcher_name: str + :param packet_capture_name: The name of the packet capture session. + :type packet_capture_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._stop_initial( + resource_group_name=resource_group_name, + network_watcher_name=network_watcher_name, + packet_capture_name=packet_capture_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'packetCaptureName': self._serialize.url("packet_capture_name", packet_capture_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_stop.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}/stop'} # type: ignore + + def _get_status_initial( + self, + resource_group_name, # type: str + network_watcher_name, # type: str + packet_capture_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.PacketCaptureQueryStatusResult" + cls = kwargs.pop('cls', None) # type: ClsType["_models.PacketCaptureQueryStatusResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._get_status_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'packetCaptureName': self._serialize.url("packet_capture_name", packet_capture_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('PacketCaptureQueryStatusResult', pipeline_response) + + if response.status_code == 202: + deserialized = self._deserialize('PacketCaptureQueryStatusResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _get_status_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}/queryStatus'} # type: ignore + + def begin_get_status( + self, + resource_group_name, # type: str + network_watcher_name, # type: str + packet_capture_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.PacketCaptureQueryStatusResult"] + """Query the status of a running packet capture session. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_watcher_name: The name of the Network Watcher resource. + :type network_watcher_name: str + :param packet_capture_name: The name given to the packet capture session. + :type packet_capture_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either PacketCaptureQueryStatusResult or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.PacketCaptureQueryStatusResult] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.PacketCaptureQueryStatusResult"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._get_status_initial( + resource_group_name=resource_group_name, + network_watcher_name=network_watcher_name, + packet_capture_name=packet_capture_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('PacketCaptureQueryStatusResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'packetCaptureName': self._serialize.url("packet_capture_name", packet_capture_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_get_status.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}/queryStatus'} # type: ignore + + def list( + self, + resource_group_name, # type: str + network_watcher_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.PacketCaptureListResult"] + """Lists all packet capture sessions within the specified resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_watcher_name: The name of the Network Watcher resource. + :type network_watcher_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either PacketCaptureListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.PacketCaptureListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.PacketCaptureListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkWatcherName': self._serialize.url("network_watcher_name", network_watcher_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('PacketCaptureListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_peer_express_route_circuit_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_peer_express_route_circuit_connections_operations.py new file mode 100644 index 000000000000..d698403bc3e2 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_peer_express_route_circuit_connections_operations.py @@ -0,0 +1,194 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.mgmt.core.exceptions import ARMErrorFormat + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class PeerExpressRouteCircuitConnectionsOperations(object): + """PeerExpressRouteCircuitConnectionsOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def get( + self, + resource_group_name, # type: str + circuit_name, # type: str + peering_name, # type: str + connection_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.PeerExpressRouteCircuitConnection" + """Gets the specified Peer Express Route Circuit Connection from the specified express route + circuit. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param circuit_name: The name of the express route circuit. + :type circuit_name: str + :param peering_name: The name of the peering. + :type peering_name: str + :param connection_name: The name of the peer express route circuit connection. + :type connection_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: PeerExpressRouteCircuitConnection, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.PeerExpressRouteCircuitConnection + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.PeerExpressRouteCircuitConnection"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'circuitName': self._serialize.url("circuit_name", circuit_name, 'str'), + 'peeringName': self._serialize.url("peering_name", peering_name, 'str'), + 'connectionName': self._serialize.url("connection_name", connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('PeerExpressRouteCircuitConnection', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/peerConnections/{connectionName}'} # type: ignore + + def list( + self, + resource_group_name, # type: str + circuit_name, # type: str + peering_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.PeerExpressRouteCircuitConnectionListResult"] + """Gets all global reach peer connections associated with a private peering in an express route + circuit. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param circuit_name: The name of the circuit. + :type circuit_name: str + :param peering_name: The name of the peering. + :type peering_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either PeerExpressRouteCircuitConnectionListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.PeerExpressRouteCircuitConnectionListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.PeerExpressRouteCircuitConnectionListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'circuitName': self._serialize.url("circuit_name", circuit_name, 'str'), + 'peeringName': self._serialize.url("peering_name", peering_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('PeerExpressRouteCircuitConnectionListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/peerConnections'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_private_dns_zone_groups_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_private_dns_zone_groups_operations.py new file mode 100644 index 000000000000..62a6d8082acd --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_private_dns_zone_groups_operations.py @@ -0,0 +1,442 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class PrivateDnsZoneGroupsOperations(object): + """PrivateDnsZoneGroupsOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def _delete_initial( + self, + resource_group_name, # type: str + private_endpoint_name, # type: str + private_dns_zone_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'privateEndpointName': self._serialize.url("private_endpoint_name", private_endpoint_name, 'str'), + 'privateDnsZoneGroupName': self._serialize.url("private_dns_zone_group_name", private_dns_zone_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}/privateDnsZoneGroups/{privateDnsZoneGroupName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + private_endpoint_name, # type: str + private_dns_zone_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the specified private dns zone group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param private_endpoint_name: The name of the private endpoint. + :type private_endpoint_name: str + :param private_dns_zone_group_name: The name of the private dns zone group. + :type private_dns_zone_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + private_endpoint_name=private_endpoint_name, + private_dns_zone_group_name=private_dns_zone_group_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'privateEndpointName': self._serialize.url("private_endpoint_name", private_endpoint_name, 'str'), + 'privateDnsZoneGroupName': self._serialize.url("private_dns_zone_group_name", private_dns_zone_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}/privateDnsZoneGroups/{privateDnsZoneGroupName}'} # type: ignore + + def get( + self, + resource_group_name, # type: str + private_endpoint_name, # type: str + private_dns_zone_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.PrivateDnsZoneGroup" + """Gets the private dns zone group resource by specified private dns zone group name. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param private_endpoint_name: The name of the private endpoint. + :type private_endpoint_name: str + :param private_dns_zone_group_name: The name of the private dns zone group. + :type private_dns_zone_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: PrivateDnsZoneGroup, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.PrivateDnsZoneGroup + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.PrivateDnsZoneGroup"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'privateEndpointName': self._serialize.url("private_endpoint_name", private_endpoint_name, 'str'), + 'privateDnsZoneGroupName': self._serialize.url("private_dns_zone_group_name", private_dns_zone_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('PrivateDnsZoneGroup', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}/privateDnsZoneGroups/{privateDnsZoneGroupName}'} # type: ignore + + def _create_or_update_initial( + self, + resource_group_name, # type: str + private_endpoint_name, # type: str + private_dns_zone_group_name, # type: str + parameters, # type: "_models.PrivateDnsZoneGroup" + **kwargs # type: Any + ): + # type: (...) -> "_models.PrivateDnsZoneGroup" + cls = kwargs.pop('cls', None) # type: ClsType["_models.PrivateDnsZoneGroup"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'privateEndpointName': self._serialize.url("private_endpoint_name", private_endpoint_name, 'str'), + 'privateDnsZoneGroupName': self._serialize.url("private_dns_zone_group_name", private_dns_zone_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'PrivateDnsZoneGroup') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('PrivateDnsZoneGroup', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('PrivateDnsZoneGroup', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}/privateDnsZoneGroups/{privateDnsZoneGroupName}'} # type: ignore + + def begin_create_or_update( + self, + resource_group_name, # type: str + private_endpoint_name, # type: str + private_dns_zone_group_name, # type: str + parameters, # type: "_models.PrivateDnsZoneGroup" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.PrivateDnsZoneGroup"] + """Creates or updates a private dns zone group in the specified private endpoint. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param private_endpoint_name: The name of the private endpoint. + :type private_endpoint_name: str + :param private_dns_zone_group_name: The name of the private dns zone group. + :type private_dns_zone_group_name: str + :param parameters: Parameters supplied to the create or update private dns zone group + operation. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.PrivateDnsZoneGroup + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either PrivateDnsZoneGroup or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.PrivateDnsZoneGroup] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.PrivateDnsZoneGroup"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + resource_group_name=resource_group_name, + private_endpoint_name=private_endpoint_name, + private_dns_zone_group_name=private_dns_zone_group_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('PrivateDnsZoneGroup', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'privateEndpointName': self._serialize.url("private_endpoint_name", private_endpoint_name, 'str'), + 'privateDnsZoneGroupName': self._serialize.url("private_dns_zone_group_name", private_dns_zone_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}/privateDnsZoneGroups/{privateDnsZoneGroupName}'} # type: ignore + + def list( + self, + private_endpoint_name, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.PrivateDnsZoneGroupListResult"] + """Gets all private dns zone groups in a private endpoint. + + :param private_endpoint_name: The name of the private endpoint. + :type private_endpoint_name: str + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either PrivateDnsZoneGroupListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.PrivateDnsZoneGroupListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.PrivateDnsZoneGroupListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'privateEndpointName': self._serialize.url("private_endpoint_name", private_endpoint_name, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('PrivateDnsZoneGroupListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize(_models.Error, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}/privateDnsZoneGroups'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_private_endpoints_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_private_endpoints_operations.py new file mode 100644 index 000000000000..c063c87ce392 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_private_endpoints_operations.py @@ -0,0 +1,495 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class PrivateEndpointsOperations(object): + """PrivateEndpointsOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def _delete_initial( + self, + resource_group_name, # type: str + private_endpoint_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'privateEndpointName': self._serialize.url("private_endpoint_name", private_endpoint_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.Error, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + private_endpoint_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the specified private endpoint. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param private_endpoint_name: The name of the private endpoint. + :type private_endpoint_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + private_endpoint_name=private_endpoint_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'privateEndpointName': self._serialize.url("private_endpoint_name", private_endpoint_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}'} # type: ignore + + def get( + self, + resource_group_name, # type: str + private_endpoint_name, # type: str + expand=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> "_models.PrivateEndpoint" + """Gets the specified private endpoint by resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param private_endpoint_name: The name of the private endpoint. + :type private_endpoint_name: str + :param expand: Expands referenced resources. + :type expand: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: PrivateEndpoint, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.PrivateEndpoint + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.PrivateEndpoint"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'privateEndpointName': self._serialize.url("private_endpoint_name", private_endpoint_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.Error, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('PrivateEndpoint', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}'} # type: ignore + + def _create_or_update_initial( + self, + resource_group_name, # type: str + private_endpoint_name, # type: str + parameters, # type: "_models.PrivateEndpoint" + **kwargs # type: Any + ): + # type: (...) -> "_models.PrivateEndpoint" + cls = kwargs.pop('cls', None) # type: ClsType["_models.PrivateEndpoint"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'privateEndpointName': self._serialize.url("private_endpoint_name", private_endpoint_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'PrivateEndpoint') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.Error, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('PrivateEndpoint', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('PrivateEndpoint', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}'} # type: ignore + + def begin_create_or_update( + self, + resource_group_name, # type: str + private_endpoint_name, # type: str + parameters, # type: "_models.PrivateEndpoint" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.PrivateEndpoint"] + """Creates or updates an private endpoint in the specified resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param private_endpoint_name: The name of the private endpoint. + :type private_endpoint_name: str + :param parameters: Parameters supplied to the create or update private endpoint operation. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.PrivateEndpoint + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either PrivateEndpoint or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.PrivateEndpoint] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.PrivateEndpoint"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + resource_group_name=resource_group_name, + private_endpoint_name=private_endpoint_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('PrivateEndpoint', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'privateEndpointName': self._serialize.url("private_endpoint_name", private_endpoint_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}'} # type: ignore + + def list( + self, + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.PrivateEndpointListResult"] + """Gets all private endpoints in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either PrivateEndpointListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.PrivateEndpointListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.PrivateEndpointListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('PrivateEndpointListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize(_models.Error, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints'} # type: ignore + + def list_by_subscription( + self, + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.PrivateEndpointListResult"] + """Gets all private endpoints in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either PrivateEndpointListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.PrivateEndpointListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.PrivateEndpointListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_subscription.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('PrivateEndpointListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize(_models.Error, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_subscription.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/privateEndpoints'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_private_link_services_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_private_link_services_operations.py new file mode 100644 index 000000000000..8a994841a3e8 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_private_link_services_operations.py @@ -0,0 +1,1229 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class PrivateLinkServicesOperations(object): + """PrivateLinkServicesOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def _delete_initial( + self, + resource_group_name, # type: str + service_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'serviceName': self._serialize.url("service_name", service_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.Error, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + service_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the specified private link service. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param service_name: The name of the private link service. + :type service_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + service_name=service_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'serviceName': self._serialize.url("service_name", service_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}'} # type: ignore + + def get( + self, + resource_group_name, # type: str + service_name, # type: str + expand=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> "_models.PrivateLinkService" + """Gets the specified private link service by resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param service_name: The name of the private link service. + :type service_name: str + :param expand: Expands referenced resources. + :type expand: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: PrivateLinkService, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.PrivateLinkService + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.PrivateLinkService"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'serviceName': self._serialize.url("service_name", service_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.Error, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('PrivateLinkService', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}'} # type: ignore + + def _create_or_update_initial( + self, + resource_group_name, # type: str + service_name, # type: str + parameters, # type: "_models.PrivateLinkService" + **kwargs # type: Any + ): + # type: (...) -> "_models.PrivateLinkService" + cls = kwargs.pop('cls', None) # type: ClsType["_models.PrivateLinkService"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'serviceName': self._serialize.url("service_name", service_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'PrivateLinkService') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.Error, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('PrivateLinkService', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('PrivateLinkService', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}'} # type: ignore + + def begin_create_or_update( + self, + resource_group_name, # type: str + service_name, # type: str + parameters, # type: "_models.PrivateLinkService" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.PrivateLinkService"] + """Creates or updates an private link service in the specified resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param service_name: The name of the private link service. + :type service_name: str + :param parameters: Parameters supplied to the create or update private link service operation. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.PrivateLinkService + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either PrivateLinkService or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.PrivateLinkService] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.PrivateLinkService"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + resource_group_name=resource_group_name, + service_name=service_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('PrivateLinkService', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'serviceName': self._serialize.url("service_name", service_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}'} # type: ignore + + def list( + self, + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.PrivateLinkServiceListResult"] + """Gets all private link services in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either PrivateLinkServiceListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.PrivateLinkServiceListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.PrivateLinkServiceListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('PrivateLinkServiceListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize(_models.Error, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices'} # type: ignore + + def list_by_subscription( + self, + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.PrivateLinkServiceListResult"] + """Gets all private link service in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either PrivateLinkServiceListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.PrivateLinkServiceListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.PrivateLinkServiceListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_subscription.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('PrivateLinkServiceListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize(_models.Error, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_subscription.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/privateLinkServices'} # type: ignore + + def get_private_endpoint_connection( + self, + resource_group_name, # type: str + service_name, # type: str + pe_connection_name, # type: str + expand=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> "_models.PrivateEndpointConnection" + """Get the specific private end point connection by specific private link service in the resource + group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param service_name: The name of the private link service. + :type service_name: str + :param pe_connection_name: The name of the private end point connection. + :type pe_connection_name: str + :param expand: Expands referenced resources. + :type expand: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: PrivateEndpointConnection, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.PrivateEndpointConnection + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.PrivateEndpointConnection"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get_private_endpoint_connection.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'serviceName': self._serialize.url("service_name", service_name, 'str'), + 'peConnectionName': self._serialize.url("pe_connection_name", pe_connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.Error, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('PrivateEndpointConnection', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_private_endpoint_connection.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}/privateEndpointConnections/{peConnectionName}'} # type: ignore + + def update_private_endpoint_connection( + self, + resource_group_name, # type: str + service_name, # type: str + pe_connection_name, # type: str + parameters, # type: "_models.PrivateEndpointConnection" + **kwargs # type: Any + ): + # type: (...) -> "_models.PrivateEndpointConnection" + """Approve or reject private end point connection for a private link service in a subscription. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param service_name: The name of the private link service. + :type service_name: str + :param pe_connection_name: The name of the private end point connection. + :type pe_connection_name: str + :param parameters: Parameters supplied to approve or reject the private end point connection. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.PrivateEndpointConnection + :keyword callable cls: A custom type or function that will be passed the direct response + :return: PrivateEndpointConnection, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.PrivateEndpointConnection + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.PrivateEndpointConnection"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update_private_endpoint_connection.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'serviceName': self._serialize.url("service_name", service_name, 'str'), + 'peConnectionName': self._serialize.url("pe_connection_name", pe_connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'PrivateEndpointConnection') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.Error, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('PrivateEndpointConnection', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update_private_endpoint_connection.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}/privateEndpointConnections/{peConnectionName}'} # type: ignore + + def _delete_private_endpoint_connection_initial( + self, + resource_group_name, # type: str + service_name, # type: str + pe_connection_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_private_endpoint_connection_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'serviceName': self._serialize.url("service_name", service_name, 'str'), + 'peConnectionName': self._serialize.url("pe_connection_name", pe_connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.Error, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_private_endpoint_connection_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}/privateEndpointConnections/{peConnectionName}'} # type: ignore + + def begin_delete_private_endpoint_connection( + self, + resource_group_name, # type: str + service_name, # type: str + pe_connection_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Delete private end point connection for a private link service in a subscription. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param service_name: The name of the private link service. + :type service_name: str + :param pe_connection_name: The name of the private end point connection. + :type pe_connection_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_private_endpoint_connection_initial( + resource_group_name=resource_group_name, + service_name=service_name, + pe_connection_name=pe_connection_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'serviceName': self._serialize.url("service_name", service_name, 'str'), + 'peConnectionName': self._serialize.url("pe_connection_name", pe_connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete_private_endpoint_connection.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}/privateEndpointConnections/{peConnectionName}'} # type: ignore + + def list_private_endpoint_connections( + self, + resource_group_name, # type: str + service_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.PrivateEndpointConnectionListResult"] + """Gets all private end point connections for a specific private link service. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param service_name: The name of the private link service. + :type service_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either PrivateEndpointConnectionListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.PrivateEndpointConnectionListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.PrivateEndpointConnectionListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_private_endpoint_connections.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'serviceName': self._serialize.url("service_name", service_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('PrivateEndpointConnectionListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize(_models.Error, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_private_endpoint_connections.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}/privateEndpointConnections'} # type: ignore + + def _check_private_link_service_visibility_initial( + self, + location, # type: str + parameters, # type: "_models.CheckPrivateLinkServiceVisibilityRequest" + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.PrivateLinkServiceVisibility"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.PrivateLinkServiceVisibility"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._check_private_link_service_visibility_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'location': self._serialize.url("location", location, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'CheckPrivateLinkServiceVisibilityRequest') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('PrivateLinkServiceVisibility', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _check_private_link_service_visibility_initial.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/checkPrivateLinkServiceVisibility'} # type: ignore + + def begin_check_private_link_service_visibility( + self, + location, # type: str + parameters, # type: "_models.CheckPrivateLinkServiceVisibilityRequest" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.PrivateLinkServiceVisibility"] + """Checks whether the subscription is visible to private link service. + + :param location: The location of the domain name. + :type location: str + :param parameters: The request body of CheckPrivateLinkService API call. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.CheckPrivateLinkServiceVisibilityRequest + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either PrivateLinkServiceVisibility or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.PrivateLinkServiceVisibility] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.PrivateLinkServiceVisibility"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._check_private_link_service_visibility_initial( + location=location, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('PrivateLinkServiceVisibility', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'location': self._serialize.url("location", location, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_check_private_link_service_visibility.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/checkPrivateLinkServiceVisibility'} # type: ignore + + def _check_private_link_service_visibility_by_resource_group_initial( + self, + location, # type: str + resource_group_name, # type: str + parameters, # type: "_models.CheckPrivateLinkServiceVisibilityRequest" + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.PrivateLinkServiceVisibility"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.PrivateLinkServiceVisibility"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._check_private_link_service_visibility_by_resource_group_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'location': self._serialize.url("location", location, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'CheckPrivateLinkServiceVisibilityRequest') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('PrivateLinkServiceVisibility', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _check_private_link_service_visibility_by_resource_group_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/checkPrivateLinkServiceVisibility'} # type: ignore + + def begin_check_private_link_service_visibility_by_resource_group( + self, + location, # type: str + resource_group_name, # type: str + parameters, # type: "_models.CheckPrivateLinkServiceVisibilityRequest" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.PrivateLinkServiceVisibility"] + """Checks whether the subscription is visible to private link service in the specified resource + group. + + :param location: The location of the domain name. + :type location: str + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param parameters: The request body of CheckPrivateLinkService API call. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.CheckPrivateLinkServiceVisibilityRequest + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either PrivateLinkServiceVisibility or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.PrivateLinkServiceVisibility] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.PrivateLinkServiceVisibility"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._check_private_link_service_visibility_by_resource_group_initial( + location=location, + resource_group_name=resource_group_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('PrivateLinkServiceVisibility', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'location': self._serialize.url("location", location, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_check_private_link_service_visibility_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/checkPrivateLinkServiceVisibility'} # type: ignore + + def list_auto_approved_private_link_services( + self, + location, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.AutoApprovedPrivateLinkServicesResult"] + """Returns all of the private link service ids that can be linked to a Private Endpoint with auto + approved in this subscription in this region. + + :param location: The location of the domain name. + :type location: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either AutoApprovedPrivateLinkServicesResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.AutoApprovedPrivateLinkServicesResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.AutoApprovedPrivateLinkServicesResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_auto_approved_private_link_services.metadata['url'] # type: ignore + path_format_arguments = { + 'location': self._serialize.url("location", location, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('AutoApprovedPrivateLinkServicesResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_auto_approved_private_link_services.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/autoApprovedPrivateLinkServices'} # type: ignore + + def list_auto_approved_private_link_services_by_resource_group( + self, + location, # type: str + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.AutoApprovedPrivateLinkServicesResult"] + """Returns all of the private link service ids that can be linked to a Private Endpoint with auto + approved in this subscription in this region. + + :param location: The location of the domain name. + :type location: str + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either AutoApprovedPrivateLinkServicesResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.AutoApprovedPrivateLinkServicesResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.AutoApprovedPrivateLinkServicesResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_auto_approved_private_link_services_by_resource_group.metadata['url'] # type: ignore + path_format_arguments = { + 'location': self._serialize.url("location", location, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('AutoApprovedPrivateLinkServicesResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_auto_approved_private_link_services_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/autoApprovedPrivateLinkServices'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_public_ip_addresses_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_public_ip_addresses_operations.py new file mode 100644 index 000000000000..9207750ee7d4 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_public_ip_addresses_operations.py @@ -0,0 +1,1043 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class PublicIPAddressesOperations(object): + """PublicIPAddressesOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list_cloud_service_public_ip_addresses( + self, + resource_group_name, # type: str + cloud_service_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.PublicIPAddressListResult"] + """Gets information about all public IP addresses on a cloud service level. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param cloud_service_name: The name of the cloud service. + :type cloud_service_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either PublicIPAddressListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.PublicIPAddressListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.PublicIPAddressListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_cloud_service_public_ip_addresses.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'cloudServiceName': self._serialize.url("cloud_service_name", cloud_service_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('PublicIPAddressListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_cloud_service_public_ip_addresses.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/publicipaddresses'} # type: ignore + + def list_cloud_service_role_instance_public_ip_addresses( + self, + resource_group_name, # type: str + cloud_service_name, # type: str + role_instance_name, # type: str + network_interface_name, # type: str + ip_configuration_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.PublicIPAddressListResult"] + """Gets information about all public IP addresses in a role instance IP configuration in a cloud + service. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param cloud_service_name: The name of the cloud service. + :type cloud_service_name: str + :param role_instance_name: The name of role instance. + :type role_instance_name: str + :param network_interface_name: The network interface name. + :type network_interface_name: str + :param ip_configuration_name: The IP configuration name. + :type ip_configuration_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either PublicIPAddressListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.PublicIPAddressListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.PublicIPAddressListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_cloud_service_role_instance_public_ip_addresses.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'cloudServiceName': self._serialize.url("cloud_service_name", cloud_service_name, 'str'), + 'roleInstanceName': self._serialize.url("role_instance_name", role_instance_name, 'str'), + 'networkInterfaceName': self._serialize.url("network_interface_name", network_interface_name, 'str'), + 'ipConfigurationName': self._serialize.url("ip_configuration_name", ip_configuration_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('PublicIPAddressListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_cloud_service_role_instance_public_ip_addresses.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}/networkInterfaces/{networkInterfaceName}/ipconfigurations/{ipConfigurationName}/publicipaddresses'} # type: ignore + + def get_cloud_service_public_ip_address( + self, + resource_group_name, # type: str + cloud_service_name, # type: str + role_instance_name, # type: str + network_interface_name, # type: str + ip_configuration_name, # type: str + public_ip_address_name, # type: str + expand=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> "_models.PublicIPAddress" + """Get the specified public IP address in a cloud service. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param cloud_service_name: The name of the cloud service. + :type cloud_service_name: str + :param role_instance_name: The role instance name. + :type role_instance_name: str + :param network_interface_name: The name of the network interface. + :type network_interface_name: str + :param ip_configuration_name: The name of the IP configuration. + :type ip_configuration_name: str + :param public_ip_address_name: The name of the public IP Address. + :type public_ip_address_name: str + :param expand: Expands referenced resources. + :type expand: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: PublicIPAddress, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.PublicIPAddress + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.PublicIPAddress"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get_cloud_service_public_ip_address.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'cloudServiceName': self._serialize.url("cloud_service_name", cloud_service_name, 'str'), + 'roleInstanceName': self._serialize.url("role_instance_name", role_instance_name, 'str'), + 'networkInterfaceName': self._serialize.url("network_interface_name", network_interface_name, 'str'), + 'ipConfigurationName': self._serialize.url("ip_configuration_name", ip_configuration_name, 'str'), + 'publicIpAddressName': self._serialize.url("public_ip_address_name", public_ip_address_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('PublicIPAddress', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_cloud_service_public_ip_address.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}/networkInterfaces/{networkInterfaceName}/ipconfigurations/{ipConfigurationName}/publicipaddresses/{publicIpAddressName}'} # type: ignore + + def _delete_initial( + self, + resource_group_name, # type: str + public_ip_address_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'publicIpAddressName': self._serialize.url("public_ip_address_name", public_ip_address_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + public_ip_address_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the specified public IP address. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param public_ip_address_name: The name of the public IP address. + :type public_ip_address_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + public_ip_address_name=public_ip_address_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'publicIpAddressName': self._serialize.url("public_ip_address_name", public_ip_address_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}'} # type: ignore + + def get( + self, + resource_group_name, # type: str + public_ip_address_name, # type: str + expand=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> "_models.PublicIPAddress" + """Gets the specified public IP address in a specified resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param public_ip_address_name: The name of the public IP address. + :type public_ip_address_name: str + :param expand: Expands referenced resources. + :type expand: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: PublicIPAddress, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.PublicIPAddress + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.PublicIPAddress"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'publicIpAddressName': self._serialize.url("public_ip_address_name", public_ip_address_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('PublicIPAddress', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}'} # type: ignore + + def _create_or_update_initial( + self, + resource_group_name, # type: str + public_ip_address_name, # type: str + parameters, # type: "_models.PublicIPAddress" + **kwargs # type: Any + ): + # type: (...) -> "_models.PublicIPAddress" + cls = kwargs.pop('cls', None) # type: ClsType["_models.PublicIPAddress"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'publicIpAddressName': self._serialize.url("public_ip_address_name", public_ip_address_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'PublicIPAddress') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('PublicIPAddress', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('PublicIPAddress', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}'} # type: ignore + + def begin_create_or_update( + self, + resource_group_name, # type: str + public_ip_address_name, # type: str + parameters, # type: "_models.PublicIPAddress" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.PublicIPAddress"] + """Creates or updates a static or dynamic public IP address. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param public_ip_address_name: The name of the public IP address. + :type public_ip_address_name: str + :param parameters: Parameters supplied to the create or update public IP address operation. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.PublicIPAddress + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either PublicIPAddress or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.PublicIPAddress] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.PublicIPAddress"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + resource_group_name=resource_group_name, + public_ip_address_name=public_ip_address_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('PublicIPAddress', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'publicIpAddressName': self._serialize.url("public_ip_address_name", public_ip_address_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}'} # type: ignore + + def update_tags( + self, + resource_group_name, # type: str + public_ip_address_name, # type: str + parameters, # type: "_models.TagsObject" + **kwargs # type: Any + ): + # type: (...) -> "_models.PublicIPAddress" + """Updates public IP address tags. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param public_ip_address_name: The name of the public IP address. + :type public_ip_address_name: str + :param parameters: Parameters supplied to update public IP address tags. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.TagsObject + :keyword callable cls: A custom type or function that will be passed the direct response + :return: PublicIPAddress, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.PublicIPAddress + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.PublicIPAddress"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update_tags.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'publicIpAddressName': self._serialize.url("public_ip_address_name", public_ip_address_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'TagsObject') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('PublicIPAddress', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}'} # type: ignore + + def list_all( + self, + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.PublicIPAddressListResult"] + """Gets all the public IP addresses in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either PublicIPAddressListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.PublicIPAddressListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.PublicIPAddressListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_all.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('PublicIPAddressListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_all.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/publicIPAddresses'} # type: ignore + + def list( + self, + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.PublicIPAddressListResult"] + """Gets all public IP addresses in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either PublicIPAddressListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.PublicIPAddressListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.PublicIPAddressListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('PublicIPAddressListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses'} # type: ignore + + def list_virtual_machine_scale_set_public_ip_addresses( + self, + resource_group_name, # type: str + virtual_machine_scale_set_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.PublicIPAddressListResult"] + """Gets information about all public IP addresses on a virtual machine scale set level. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_machine_scale_set_name: The name of the virtual machine scale set. + :type virtual_machine_scale_set_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either PublicIPAddressListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.PublicIPAddressListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.PublicIPAddressListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-10-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_virtual_machine_scale_set_public_ip_addresses.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualMachineScaleSetName': self._serialize.url("virtual_machine_scale_set_name", virtual_machine_scale_set_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('PublicIPAddressListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_virtual_machine_scale_set_public_ip_addresses.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/publicipaddresses'} # type: ignore + + def list_virtual_machine_scale_set_vm_public_ip_addresses( + self, + resource_group_name, # type: str + virtual_machine_scale_set_name, # type: str + virtualmachine_index, # type: str + network_interface_name, # type: str + ip_configuration_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.PublicIPAddressListResult"] + """Gets information about all public IP addresses in a virtual machine IP configuration in a + virtual machine scale set. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_machine_scale_set_name: The name of the virtual machine scale set. + :type virtual_machine_scale_set_name: str + :param virtualmachine_index: The virtual machine index. + :type virtualmachine_index: str + :param network_interface_name: The network interface name. + :type network_interface_name: str + :param ip_configuration_name: The IP configuration name. + :type ip_configuration_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either PublicIPAddressListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.PublicIPAddressListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.PublicIPAddressListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-10-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_virtual_machine_scale_set_vm_public_ip_addresses.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualMachineScaleSetName': self._serialize.url("virtual_machine_scale_set_name", virtual_machine_scale_set_name, 'str'), + 'virtualmachineIndex': self._serialize.url("virtualmachine_index", virtualmachine_index, 'str'), + 'networkInterfaceName': self._serialize.url("network_interface_name", network_interface_name, 'str'), + 'ipConfigurationName': self._serialize.url("ip_configuration_name", ip_configuration_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('PublicIPAddressListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_virtual_machine_scale_set_vm_public_ip_addresses.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines/{virtualmachineIndex}/networkInterfaces/{networkInterfaceName}/ipconfigurations/{ipConfigurationName}/publicipaddresses'} # type: ignore + + def get_virtual_machine_scale_set_public_ip_address( + self, + resource_group_name, # type: str + virtual_machine_scale_set_name, # type: str + virtualmachine_index, # type: str + network_interface_name, # type: str + ip_configuration_name, # type: str + public_ip_address_name, # type: str + expand=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> "_models.PublicIPAddress" + """Get the specified public IP address in a virtual machine scale set. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_machine_scale_set_name: The name of the virtual machine scale set. + :type virtual_machine_scale_set_name: str + :param virtualmachine_index: The virtual machine index. + :type virtualmachine_index: str + :param network_interface_name: The name of the network interface. + :type network_interface_name: str + :param ip_configuration_name: The name of the IP configuration. + :type ip_configuration_name: str + :param public_ip_address_name: The name of the public IP Address. + :type public_ip_address_name: str + :param expand: Expands referenced resources. + :type expand: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: PublicIPAddress, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.PublicIPAddress + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.PublicIPAddress"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2018-10-01" + accept = "application/json" + + # Construct URL + url = self.get_virtual_machine_scale_set_public_ip_address.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualMachineScaleSetName': self._serialize.url("virtual_machine_scale_set_name", virtual_machine_scale_set_name, 'str'), + 'virtualmachineIndex': self._serialize.url("virtualmachine_index", virtualmachine_index, 'str'), + 'networkInterfaceName': self._serialize.url("network_interface_name", network_interface_name, 'str'), + 'ipConfigurationName': self._serialize.url("ip_configuration_name", ip_configuration_name, 'str'), + 'publicIpAddressName': self._serialize.url("public_ip_address_name", public_ip_address_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('PublicIPAddress', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_virtual_machine_scale_set_public_ip_address.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines/{virtualmachineIndex}/networkInterfaces/{networkInterfaceName}/ipconfigurations/{ipConfigurationName}/publicipaddresses/{publicIpAddressName}'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_public_ip_prefixes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_public_ip_prefixes_operations.py new file mode 100644 index 000000000000..107ff02c090a --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_public_ip_prefixes_operations.py @@ -0,0 +1,557 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class PublicIPPrefixesOperations(object): + """PublicIPPrefixesOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def _delete_initial( + self, + resource_group_name, # type: str + public_ip_prefix_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'publicIpPrefixName': self._serialize.url("public_ip_prefix_name", public_ip_prefix_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIpPrefixName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + public_ip_prefix_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the specified public IP prefix. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param public_ip_prefix_name: The name of the PublicIpPrefix. + :type public_ip_prefix_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + public_ip_prefix_name=public_ip_prefix_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'publicIpPrefixName': self._serialize.url("public_ip_prefix_name", public_ip_prefix_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIpPrefixName}'} # type: ignore + + def get( + self, + resource_group_name, # type: str + public_ip_prefix_name, # type: str + expand=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> "_models.PublicIPPrefix" + """Gets the specified public IP prefix in a specified resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param public_ip_prefix_name: The name of the public IP prefix. + :type public_ip_prefix_name: str + :param expand: Expands referenced resources. + :type expand: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: PublicIPPrefix, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.PublicIPPrefix + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.PublicIPPrefix"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'publicIpPrefixName': self._serialize.url("public_ip_prefix_name", public_ip_prefix_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('PublicIPPrefix', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIpPrefixName}'} # type: ignore + + def _create_or_update_initial( + self, + resource_group_name, # type: str + public_ip_prefix_name, # type: str + parameters, # type: "_models.PublicIPPrefix" + **kwargs # type: Any + ): + # type: (...) -> "_models.PublicIPPrefix" + cls = kwargs.pop('cls', None) # type: ClsType["_models.PublicIPPrefix"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'publicIpPrefixName': self._serialize.url("public_ip_prefix_name", public_ip_prefix_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'PublicIPPrefix') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('PublicIPPrefix', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('PublicIPPrefix', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIpPrefixName}'} # type: ignore + + def begin_create_or_update( + self, + resource_group_name, # type: str + public_ip_prefix_name, # type: str + parameters, # type: "_models.PublicIPPrefix" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.PublicIPPrefix"] + """Creates or updates a static or dynamic public IP prefix. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param public_ip_prefix_name: The name of the public IP prefix. + :type public_ip_prefix_name: str + :param parameters: Parameters supplied to the create or update public IP prefix operation. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.PublicIPPrefix + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either PublicIPPrefix or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.PublicIPPrefix] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.PublicIPPrefix"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + resource_group_name=resource_group_name, + public_ip_prefix_name=public_ip_prefix_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('PublicIPPrefix', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'publicIpPrefixName': self._serialize.url("public_ip_prefix_name", public_ip_prefix_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIpPrefixName}'} # type: ignore + + def update_tags( + self, + resource_group_name, # type: str + public_ip_prefix_name, # type: str + parameters, # type: "_models.TagsObject" + **kwargs # type: Any + ): + # type: (...) -> "_models.PublicIPPrefix" + """Updates public IP prefix tags. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param public_ip_prefix_name: The name of the public IP prefix. + :type public_ip_prefix_name: str + :param parameters: Parameters supplied to update public IP prefix tags. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.TagsObject + :keyword callable cls: A custom type or function that will be passed the direct response + :return: PublicIPPrefix, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.PublicIPPrefix + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.PublicIPPrefix"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update_tags.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'publicIpPrefixName': self._serialize.url("public_ip_prefix_name", public_ip_prefix_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'TagsObject') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('PublicIPPrefix', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIpPrefixName}'} # type: ignore + + def list_all( + self, + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.PublicIPPrefixListResult"] + """Gets all the public IP prefixes in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either PublicIPPrefixListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.PublicIPPrefixListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.PublicIPPrefixListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_all.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('PublicIPPrefixListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_all.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/publicIPPrefixes'} # type: ignore + + def list( + self, + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.PublicIPPrefixListResult"] + """Gets all public IP prefixes in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either PublicIPPrefixListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.PublicIPPrefixListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.PublicIPPrefixListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('PublicIPPrefixListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_resource_navigation_links_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_resource_navigation_links_operations.py new file mode 100644 index 000000000000..b40ed8cf43fa --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_resource_navigation_links_operations.py @@ -0,0 +1,108 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.mgmt.core.exceptions import ARMErrorFormat + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Optional, TypeVar + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class ResourceNavigationLinksOperations(object): + """ResourceNavigationLinksOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + resource_group_name, # type: str + virtual_network_name, # type: str + subnet_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.ResourceNavigationLinksListResult" + """Gets a list of resource navigation links for a subnet. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_name: The name of the virtual network. + :type virtual_network_name: str + :param subnet_name: The name of the subnet. + :type subnet_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ResourceNavigationLinksListResult, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.ResourceNavigationLinksListResult + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ResourceNavigationLinksListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkName': self._serialize.url("virtual_network_name", virtual_network_name, 'str'), + 'subnetName': self._serialize.url("subnet_name", subnet_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ResourceNavigationLinksListResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}/ResourceNavigationLinks'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_route_filter_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_route_filter_rules_operations.py new file mode 100644 index 000000000000..27be3ae35379 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_route_filter_rules_operations.py @@ -0,0 +1,441 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class RouteFilterRulesOperations(object): + """RouteFilterRulesOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def _delete_initial( + self, + resource_group_name, # type: str + route_filter_name, # type: str + rule_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'routeFilterName': self._serialize.url("route_filter_name", route_filter_name, 'str'), + 'ruleName': self._serialize.url("rule_name", rule_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}/routeFilterRules/{ruleName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + route_filter_name, # type: str + rule_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the specified rule from a route filter. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param route_filter_name: The name of the route filter. + :type route_filter_name: str + :param rule_name: The name of the rule. + :type rule_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + route_filter_name=route_filter_name, + rule_name=rule_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'routeFilterName': self._serialize.url("route_filter_name", route_filter_name, 'str'), + 'ruleName': self._serialize.url("rule_name", rule_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}/routeFilterRules/{ruleName}'} # type: ignore + + def get( + self, + resource_group_name, # type: str + route_filter_name, # type: str + rule_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.RouteFilterRule" + """Gets the specified rule from a route filter. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param route_filter_name: The name of the route filter. + :type route_filter_name: str + :param rule_name: The name of the rule. + :type rule_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: RouteFilterRule, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.RouteFilterRule + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.RouteFilterRule"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'routeFilterName': self._serialize.url("route_filter_name", route_filter_name, 'str'), + 'ruleName': self._serialize.url("rule_name", rule_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('RouteFilterRule', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}/routeFilterRules/{ruleName}'} # type: ignore + + def _create_or_update_initial( + self, + resource_group_name, # type: str + route_filter_name, # type: str + rule_name, # type: str + route_filter_rule_parameters, # type: "_models.RouteFilterRule" + **kwargs # type: Any + ): + # type: (...) -> "_models.RouteFilterRule" + cls = kwargs.pop('cls', None) # type: ClsType["_models.RouteFilterRule"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'routeFilterName': self._serialize.url("route_filter_name", route_filter_name, 'str'), + 'ruleName': self._serialize.url("rule_name", rule_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(route_filter_rule_parameters, 'RouteFilterRule') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('RouteFilterRule', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('RouteFilterRule', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}/routeFilterRules/{ruleName}'} # type: ignore + + def begin_create_or_update( + self, + resource_group_name, # type: str + route_filter_name, # type: str + rule_name, # type: str + route_filter_rule_parameters, # type: "_models.RouteFilterRule" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.RouteFilterRule"] + """Creates or updates a route in the specified route filter. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param route_filter_name: The name of the route filter. + :type route_filter_name: str + :param rule_name: The name of the route filter rule. + :type rule_name: str + :param route_filter_rule_parameters: Parameters supplied to the create or update route filter + rule operation. + :type route_filter_rule_parameters: ~azure.mgmt.network.v2021_02_01.models.RouteFilterRule + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either RouteFilterRule or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.RouteFilterRule] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.RouteFilterRule"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + resource_group_name=resource_group_name, + route_filter_name=route_filter_name, + rule_name=rule_name, + route_filter_rule_parameters=route_filter_rule_parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('RouteFilterRule', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'routeFilterName': self._serialize.url("route_filter_name", route_filter_name, 'str'), + 'ruleName': self._serialize.url("rule_name", rule_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}/routeFilterRules/{ruleName}'} # type: ignore + + def list_by_route_filter( + self, + resource_group_name, # type: str + route_filter_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.RouteFilterRuleListResult"] + """Gets all RouteFilterRules in a route filter. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param route_filter_name: The name of the route filter. + :type route_filter_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either RouteFilterRuleListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.RouteFilterRuleListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.RouteFilterRuleListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_route_filter.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'routeFilterName': self._serialize.url("route_filter_name", route_filter_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('RouteFilterRuleListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_route_filter.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}/routeFilterRules'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_route_filters_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_route_filters_operations.py new file mode 100644 index 000000000000..6719899a892c --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_route_filters_operations.py @@ -0,0 +1,558 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class RouteFiltersOperations(object): + """RouteFiltersOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def _delete_initial( + self, + resource_group_name, # type: str + route_filter_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'routeFilterName': self._serialize.url("route_filter_name", route_filter_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + route_filter_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the specified route filter. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param route_filter_name: The name of the route filter. + :type route_filter_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + route_filter_name=route_filter_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'routeFilterName': self._serialize.url("route_filter_name", route_filter_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}'} # type: ignore + + def get( + self, + resource_group_name, # type: str + route_filter_name, # type: str + expand=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> "_models.RouteFilter" + """Gets the specified route filter. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param route_filter_name: The name of the route filter. + :type route_filter_name: str + :param expand: Expands referenced express route bgp peering resources. + :type expand: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: RouteFilter, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.RouteFilter + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.RouteFilter"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'routeFilterName': self._serialize.url("route_filter_name", route_filter_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('RouteFilter', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}'} # type: ignore + + def _create_or_update_initial( + self, + resource_group_name, # type: str + route_filter_name, # type: str + route_filter_parameters, # type: "_models.RouteFilter" + **kwargs # type: Any + ): + # type: (...) -> "_models.RouteFilter" + cls = kwargs.pop('cls', None) # type: ClsType["_models.RouteFilter"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'routeFilterName': self._serialize.url("route_filter_name", route_filter_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(route_filter_parameters, 'RouteFilter') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('RouteFilter', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('RouteFilter', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}'} # type: ignore + + def begin_create_or_update( + self, + resource_group_name, # type: str + route_filter_name, # type: str + route_filter_parameters, # type: "_models.RouteFilter" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.RouteFilter"] + """Creates or updates a route filter in a specified resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param route_filter_name: The name of the route filter. + :type route_filter_name: str + :param route_filter_parameters: Parameters supplied to the create or update route filter + operation. + :type route_filter_parameters: ~azure.mgmt.network.v2021_02_01.models.RouteFilter + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either RouteFilter or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.RouteFilter] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.RouteFilter"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + resource_group_name=resource_group_name, + route_filter_name=route_filter_name, + route_filter_parameters=route_filter_parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('RouteFilter', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'routeFilterName': self._serialize.url("route_filter_name", route_filter_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}'} # type: ignore + + def update_tags( + self, + resource_group_name, # type: str + route_filter_name, # type: str + parameters, # type: "_models.TagsObject" + **kwargs # type: Any + ): + # type: (...) -> "_models.RouteFilter" + """Updates tags of a route filter. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param route_filter_name: The name of the route filter. + :type route_filter_name: str + :param parameters: Parameters supplied to update route filter tags. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.TagsObject + :keyword callable cls: A custom type or function that will be passed the direct response + :return: RouteFilter, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.RouteFilter + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.RouteFilter"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update_tags.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'routeFilterName': self._serialize.url("route_filter_name", route_filter_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'TagsObject') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('RouteFilter', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}'} # type: ignore + + def list_by_resource_group( + self, + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.RouteFilterListResult"] + """Gets all route filters in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either RouteFilterListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.RouteFilterListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.RouteFilterListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_resource_group.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('RouteFilterListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters'} # type: ignore + + def list( + self, + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.RouteFilterListResult"] + """Gets all route filters in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either RouteFilterListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.RouteFilterListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.RouteFilterListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('RouteFilterListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/routeFilters'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_route_tables_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_route_tables_operations.py new file mode 100644 index 000000000000..e31d074c193d --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_route_tables_operations.py @@ -0,0 +1,557 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class RouteTablesOperations(object): + """RouteTablesOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def _delete_initial( + self, + resource_group_name, # type: str + route_table_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'routeTableName': self._serialize.url("route_table_name", route_table_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + route_table_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the specified route table. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param route_table_name: The name of the route table. + :type route_table_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + route_table_name=route_table_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'routeTableName': self._serialize.url("route_table_name", route_table_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}'} # type: ignore + + def get( + self, + resource_group_name, # type: str + route_table_name, # type: str + expand=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> "_models.RouteTable" + """Gets the specified route table. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param route_table_name: The name of the route table. + :type route_table_name: str + :param expand: Expands referenced resources. + :type expand: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: RouteTable, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.RouteTable + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.RouteTable"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'routeTableName': self._serialize.url("route_table_name", route_table_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('RouteTable', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}'} # type: ignore + + def _create_or_update_initial( + self, + resource_group_name, # type: str + route_table_name, # type: str + parameters, # type: "_models.RouteTable" + **kwargs # type: Any + ): + # type: (...) -> "_models.RouteTable" + cls = kwargs.pop('cls', None) # type: ClsType["_models.RouteTable"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'routeTableName': self._serialize.url("route_table_name", route_table_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'RouteTable') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('RouteTable', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('RouteTable', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}'} # type: ignore + + def begin_create_or_update( + self, + resource_group_name, # type: str + route_table_name, # type: str + parameters, # type: "_models.RouteTable" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.RouteTable"] + """Create or updates a route table in a specified resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param route_table_name: The name of the route table. + :type route_table_name: str + :param parameters: Parameters supplied to the create or update route table operation. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.RouteTable + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either RouteTable or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.RouteTable] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.RouteTable"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + resource_group_name=resource_group_name, + route_table_name=route_table_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('RouteTable', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'routeTableName': self._serialize.url("route_table_name", route_table_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}'} # type: ignore + + def update_tags( + self, + resource_group_name, # type: str + route_table_name, # type: str + parameters, # type: "_models.TagsObject" + **kwargs # type: Any + ): + # type: (...) -> "_models.RouteTable" + """Updates a route table tags. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param route_table_name: The name of the route table. + :type route_table_name: str + :param parameters: Parameters supplied to update route table tags. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.TagsObject + :keyword callable cls: A custom type or function that will be passed the direct response + :return: RouteTable, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.RouteTable + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.RouteTable"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update_tags.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'routeTableName': self._serialize.url("route_table_name", route_table_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'TagsObject') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('RouteTable', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}'} # type: ignore + + def list( + self, + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.RouteTableListResult"] + """Gets all route tables in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either RouteTableListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.RouteTableListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.RouteTableListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('RouteTableListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables'} # type: ignore + + def list_all( + self, + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.RouteTableListResult"] + """Gets all route tables in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either RouteTableListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.RouteTableListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.RouteTableListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_all.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('RouteTableListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_all.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/routeTables'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_routes_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_routes_operations.py new file mode 100644 index 000000000000..4d92ad2d1730 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_routes_operations.py @@ -0,0 +1,440 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class RoutesOperations(object): + """RoutesOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def _delete_initial( + self, + resource_group_name, # type: str + route_table_name, # type: str + route_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'routeTableName': self._serialize.url("route_table_name", route_table_name, 'str'), + 'routeName': self._serialize.url("route_name", route_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}/routes/{routeName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + route_table_name, # type: str + route_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the specified route from a route table. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param route_table_name: The name of the route table. + :type route_table_name: str + :param route_name: The name of the route. + :type route_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + route_table_name=route_table_name, + route_name=route_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'routeTableName': self._serialize.url("route_table_name", route_table_name, 'str'), + 'routeName': self._serialize.url("route_name", route_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}/routes/{routeName}'} # type: ignore + + def get( + self, + resource_group_name, # type: str + route_table_name, # type: str + route_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.Route" + """Gets the specified route from a route table. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param route_table_name: The name of the route table. + :type route_table_name: str + :param route_name: The name of the route. + :type route_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Route, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.Route + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Route"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'routeTableName': self._serialize.url("route_table_name", route_table_name, 'str'), + 'routeName': self._serialize.url("route_name", route_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Route', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}/routes/{routeName}'} # type: ignore + + def _create_or_update_initial( + self, + resource_group_name, # type: str + route_table_name, # type: str + route_name, # type: str + route_parameters, # type: "_models.Route" + **kwargs # type: Any + ): + # type: (...) -> "_models.Route" + cls = kwargs.pop('cls', None) # type: ClsType["_models.Route"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'routeTableName': self._serialize.url("route_table_name", route_table_name, 'str'), + 'routeName': self._serialize.url("route_name", route_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(route_parameters, 'Route') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('Route', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('Route', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}/routes/{routeName}'} # type: ignore + + def begin_create_or_update( + self, + resource_group_name, # type: str + route_table_name, # type: str + route_name, # type: str + route_parameters, # type: "_models.Route" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.Route"] + """Creates or updates a route in the specified route table. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param route_table_name: The name of the route table. + :type route_table_name: str + :param route_name: The name of the route. + :type route_name: str + :param route_parameters: Parameters supplied to the create or update route operation. + :type route_parameters: ~azure.mgmt.network.v2021_02_01.models.Route + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either Route or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.Route] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.Route"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + resource_group_name=resource_group_name, + route_table_name=route_table_name, + route_name=route_name, + route_parameters=route_parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('Route', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'routeTableName': self._serialize.url("route_table_name", route_table_name, 'str'), + 'routeName': self._serialize.url("route_name", route_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}/routes/{routeName}'} # type: ignore + + def list( + self, + resource_group_name, # type: str + route_table_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.RouteListResult"] + """Gets all routes in a route table. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param route_table_name: The name of the route table. + :type route_table_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either RouteListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.RouteListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.RouteListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'routeTableName': self._serialize.url("route_table_name", route_table_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('RouteListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}/routes'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_security_partner_providers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_security_partner_providers_operations.py new file mode 100644 index 000000000000..94870c23443c --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_security_partner_providers_operations.py @@ -0,0 +1,553 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class SecurityPartnerProvidersOperations(object): + """SecurityPartnerProvidersOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def _delete_initial( + self, + resource_group_name, # type: str + security_partner_provider_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'securityPartnerProviderName': self._serialize.url("security_partner_provider_name", security_partner_provider_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/securityPartnerProviders/{securityPartnerProviderName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + security_partner_provider_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the specified Security Partner Provider. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param security_partner_provider_name: The name of the Security Partner Provider. + :type security_partner_provider_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + security_partner_provider_name=security_partner_provider_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'securityPartnerProviderName': self._serialize.url("security_partner_provider_name", security_partner_provider_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/securityPartnerProviders/{securityPartnerProviderName}'} # type: ignore + + def get( + self, + resource_group_name, # type: str + security_partner_provider_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.SecurityPartnerProvider" + """Gets the specified Security Partner Provider. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param security_partner_provider_name: The name of the Security Partner Provider. + :type security_partner_provider_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: SecurityPartnerProvider, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.SecurityPartnerProvider + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.SecurityPartnerProvider"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'securityPartnerProviderName': self._serialize.url("security_partner_provider_name", security_partner_provider_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('SecurityPartnerProvider', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/securityPartnerProviders/{securityPartnerProviderName}'} # type: ignore + + def _create_or_update_initial( + self, + resource_group_name, # type: str + security_partner_provider_name, # type: str + parameters, # type: "_models.SecurityPartnerProvider" + **kwargs # type: Any + ): + # type: (...) -> "_models.SecurityPartnerProvider" + cls = kwargs.pop('cls', None) # type: ClsType["_models.SecurityPartnerProvider"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'securityPartnerProviderName': self._serialize.url("security_partner_provider_name", security_partner_provider_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'SecurityPartnerProvider') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('SecurityPartnerProvider', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('SecurityPartnerProvider', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/securityPartnerProviders/{securityPartnerProviderName}'} # type: ignore + + def begin_create_or_update( + self, + resource_group_name, # type: str + security_partner_provider_name, # type: str + parameters, # type: "_models.SecurityPartnerProvider" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.SecurityPartnerProvider"] + """Creates or updates the specified Security Partner Provider. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param security_partner_provider_name: The name of the Security Partner Provider. + :type security_partner_provider_name: str + :param parameters: Parameters supplied to the create or update Security Partner Provider + operation. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.SecurityPartnerProvider + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either SecurityPartnerProvider or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.SecurityPartnerProvider] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.SecurityPartnerProvider"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + resource_group_name=resource_group_name, + security_partner_provider_name=security_partner_provider_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('SecurityPartnerProvider', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'securityPartnerProviderName': self._serialize.url("security_partner_provider_name", security_partner_provider_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/securityPartnerProviders/{securityPartnerProviderName}'} # type: ignore + + def update_tags( + self, + resource_group_name, # type: str + security_partner_provider_name, # type: str + parameters, # type: "_models.TagsObject" + **kwargs # type: Any + ): + # type: (...) -> "_models.SecurityPartnerProvider" + """Updates tags of a Security Partner Provider resource. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param security_partner_provider_name: The name of the Security Partner Provider. + :type security_partner_provider_name: str + :param parameters: Parameters supplied to update Security Partner Provider tags. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.TagsObject + :keyword callable cls: A custom type or function that will be passed the direct response + :return: SecurityPartnerProvider, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.SecurityPartnerProvider + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.SecurityPartnerProvider"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update_tags.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'securityPartnerProviderName': self._serialize.url("security_partner_provider_name", security_partner_provider_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'TagsObject') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('SecurityPartnerProvider', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/securityPartnerProviders/{securityPartnerProviderName}'} # type: ignore + + def list_by_resource_group( + self, + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.SecurityPartnerProviderListResult"] + """Lists all Security Partner Providers in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either SecurityPartnerProviderListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.SecurityPartnerProviderListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.SecurityPartnerProviderListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_resource_group.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('SecurityPartnerProviderListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/securityPartnerProviders'} # type: ignore + + def list( + self, + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.SecurityPartnerProviderListResult"] + """Gets all the Security Partner Providers in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either SecurityPartnerProviderListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.SecurityPartnerProviderListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.SecurityPartnerProviderListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('SecurityPartnerProviderListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/securityPartnerProviders'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_security_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_security_rules_operations.py new file mode 100644 index 000000000000..5688b6712150 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_security_rules_operations.py @@ -0,0 +1,441 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class SecurityRulesOperations(object): + """SecurityRulesOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def _delete_initial( + self, + resource_group_name, # type: str + network_security_group_name, # type: str + security_rule_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkSecurityGroupName': self._serialize.url("network_security_group_name", network_security_group_name, 'str'), + 'securityRuleName': self._serialize.url("security_rule_name", security_rule_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules/{securityRuleName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + network_security_group_name, # type: str + security_rule_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the specified network security rule. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_security_group_name: The name of the network security group. + :type network_security_group_name: str + :param security_rule_name: The name of the security rule. + :type security_rule_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + network_security_group_name=network_security_group_name, + security_rule_name=security_rule_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkSecurityGroupName': self._serialize.url("network_security_group_name", network_security_group_name, 'str'), + 'securityRuleName': self._serialize.url("security_rule_name", security_rule_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules/{securityRuleName}'} # type: ignore + + def get( + self, + resource_group_name, # type: str + network_security_group_name, # type: str + security_rule_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.SecurityRule" + """Get the specified network security rule. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_security_group_name: The name of the network security group. + :type network_security_group_name: str + :param security_rule_name: The name of the security rule. + :type security_rule_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: SecurityRule, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.SecurityRule + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.SecurityRule"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkSecurityGroupName': self._serialize.url("network_security_group_name", network_security_group_name, 'str'), + 'securityRuleName': self._serialize.url("security_rule_name", security_rule_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('SecurityRule', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules/{securityRuleName}'} # type: ignore + + def _create_or_update_initial( + self, + resource_group_name, # type: str + network_security_group_name, # type: str + security_rule_name, # type: str + security_rule_parameters, # type: "_models.SecurityRule" + **kwargs # type: Any + ): + # type: (...) -> "_models.SecurityRule" + cls = kwargs.pop('cls', None) # type: ClsType["_models.SecurityRule"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkSecurityGroupName': self._serialize.url("network_security_group_name", network_security_group_name, 'str'), + 'securityRuleName': self._serialize.url("security_rule_name", security_rule_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(security_rule_parameters, 'SecurityRule') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('SecurityRule', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('SecurityRule', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules/{securityRuleName}'} # type: ignore + + def begin_create_or_update( + self, + resource_group_name, # type: str + network_security_group_name, # type: str + security_rule_name, # type: str + security_rule_parameters, # type: "_models.SecurityRule" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.SecurityRule"] + """Creates or updates a security rule in the specified network security group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_security_group_name: The name of the network security group. + :type network_security_group_name: str + :param security_rule_name: The name of the security rule. + :type security_rule_name: str + :param security_rule_parameters: Parameters supplied to the create or update network security + rule operation. + :type security_rule_parameters: ~azure.mgmt.network.v2021_02_01.models.SecurityRule + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either SecurityRule or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.SecurityRule] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.SecurityRule"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + resource_group_name=resource_group_name, + network_security_group_name=network_security_group_name, + security_rule_name=security_rule_name, + security_rule_parameters=security_rule_parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('SecurityRule', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkSecurityGroupName': self._serialize.url("network_security_group_name", network_security_group_name, 'str'), + 'securityRuleName': self._serialize.url("security_rule_name", security_rule_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules/{securityRuleName}'} # type: ignore + + def list( + self, + resource_group_name, # type: str + network_security_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.SecurityRuleListResult"] + """Gets all security rules in a network security group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_security_group_name: The name of the network security group. + :type network_security_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either SecurityRuleListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.SecurityRuleListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.SecurityRuleListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkSecurityGroupName': self._serialize.url("network_security_group_name", network_security_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('SecurityRuleListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_service_association_links_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_service_association_links_operations.py new file mode 100644 index 000000000000..6096f6846a97 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_service_association_links_operations.py @@ -0,0 +1,108 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.mgmt.core.exceptions import ARMErrorFormat + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Optional, TypeVar + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class ServiceAssociationLinksOperations(object): + """ServiceAssociationLinksOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + resource_group_name, # type: str + virtual_network_name, # type: str + subnet_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.ServiceAssociationLinksListResult" + """Gets a list of service association links for a subnet. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_name: The name of the virtual network. + :type virtual_network_name: str + :param subnet_name: The name of the subnet. + :type subnet_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ServiceAssociationLinksListResult, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.ServiceAssociationLinksListResult + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ServiceAssociationLinksListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkName': self._serialize.url("virtual_network_name", virtual_network_name, 'str'), + 'subnetName': self._serialize.url("subnet_name", subnet_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ServiceAssociationLinksListResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}/ServiceAssociationLinks'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_service_endpoint_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_service_endpoint_policies_operations.py new file mode 100644 index 000000000000..6f5e6bf03e2e --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_service_endpoint_policies_operations.py @@ -0,0 +1,558 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class ServiceEndpointPoliciesOperations(object): + """ServiceEndpointPoliciesOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def _delete_initial( + self, + resource_group_name, # type: str + service_endpoint_policy_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'serviceEndpointPolicyName': self._serialize.url("service_endpoint_policy_name", service_endpoint_policy_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + service_endpoint_policy_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the specified service endpoint policy. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param service_endpoint_policy_name: The name of the service endpoint policy. + :type service_endpoint_policy_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + service_endpoint_policy_name=service_endpoint_policy_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'serviceEndpointPolicyName': self._serialize.url("service_endpoint_policy_name", service_endpoint_policy_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}'} # type: ignore + + def get( + self, + resource_group_name, # type: str + service_endpoint_policy_name, # type: str + expand=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> "_models.ServiceEndpointPolicy" + """Gets the specified service Endpoint Policies in a specified resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param service_endpoint_policy_name: The name of the service endpoint policy. + :type service_endpoint_policy_name: str + :param expand: Expands referenced resources. + :type expand: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ServiceEndpointPolicy, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.ServiceEndpointPolicy + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ServiceEndpointPolicy"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'serviceEndpointPolicyName': self._serialize.url("service_endpoint_policy_name", service_endpoint_policy_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ServiceEndpointPolicy', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}'} # type: ignore + + def _create_or_update_initial( + self, + resource_group_name, # type: str + service_endpoint_policy_name, # type: str + parameters, # type: "_models.ServiceEndpointPolicy" + **kwargs # type: Any + ): + # type: (...) -> "_models.ServiceEndpointPolicy" + cls = kwargs.pop('cls', None) # type: ClsType["_models.ServiceEndpointPolicy"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'serviceEndpointPolicyName': self._serialize.url("service_endpoint_policy_name", service_endpoint_policy_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'ServiceEndpointPolicy') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('ServiceEndpointPolicy', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('ServiceEndpointPolicy', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}'} # type: ignore + + def begin_create_or_update( + self, + resource_group_name, # type: str + service_endpoint_policy_name, # type: str + parameters, # type: "_models.ServiceEndpointPolicy" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.ServiceEndpointPolicy"] + """Creates or updates a service Endpoint Policies. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param service_endpoint_policy_name: The name of the service endpoint policy. + :type service_endpoint_policy_name: str + :param parameters: Parameters supplied to the create or update service endpoint policy + operation. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.ServiceEndpointPolicy + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either ServiceEndpointPolicy or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.ServiceEndpointPolicy] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.ServiceEndpointPolicy"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + resource_group_name=resource_group_name, + service_endpoint_policy_name=service_endpoint_policy_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('ServiceEndpointPolicy', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'serviceEndpointPolicyName': self._serialize.url("service_endpoint_policy_name", service_endpoint_policy_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}'} # type: ignore + + def update_tags( + self, + resource_group_name, # type: str + service_endpoint_policy_name, # type: str + parameters, # type: "_models.TagsObject" + **kwargs # type: Any + ): + # type: (...) -> "_models.ServiceEndpointPolicy" + """Updates tags of a service endpoint policy. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param service_endpoint_policy_name: The name of the service endpoint policy. + :type service_endpoint_policy_name: str + :param parameters: Parameters supplied to update service endpoint policy tags. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.TagsObject + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ServiceEndpointPolicy, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.ServiceEndpointPolicy + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ServiceEndpointPolicy"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update_tags.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'serviceEndpointPolicyName': self._serialize.url("service_endpoint_policy_name", service_endpoint_policy_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'TagsObject') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ServiceEndpointPolicy', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}'} # type: ignore + + def list( + self, + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.ServiceEndpointPolicyListResult"] + """Gets all the service endpoint policies in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ServiceEndpointPolicyListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.ServiceEndpointPolicyListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ServiceEndpointPolicyListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('ServiceEndpointPolicyListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/ServiceEndpointPolicies'} # type: ignore + + def list_by_resource_group( + self, + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.ServiceEndpointPolicyListResult"] + """Gets all service endpoint Policies in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ServiceEndpointPolicyListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.ServiceEndpointPolicyListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ServiceEndpointPolicyListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_resource_group.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('ServiceEndpointPolicyListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_service_endpoint_policy_definitions_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_service_endpoint_policy_definitions_operations.py new file mode 100644 index 000000000000..885d9fc47954 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_service_endpoint_policy_definitions_operations.py @@ -0,0 +1,445 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class ServiceEndpointPolicyDefinitionsOperations(object): + """ServiceEndpointPolicyDefinitionsOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def _delete_initial( + self, + resource_group_name, # type: str + service_endpoint_policy_name, # type: str + service_endpoint_policy_definition_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'serviceEndpointPolicyName': self._serialize.url("service_endpoint_policy_name", service_endpoint_policy_name, 'str'), + 'serviceEndpointPolicyDefinitionName': self._serialize.url("service_endpoint_policy_definition_name", service_endpoint_policy_definition_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}/serviceEndpointPolicyDefinitions/{serviceEndpointPolicyDefinitionName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + service_endpoint_policy_name, # type: str + service_endpoint_policy_definition_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the specified ServiceEndpoint policy definitions. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param service_endpoint_policy_name: The name of the Service Endpoint Policy. + :type service_endpoint_policy_name: str + :param service_endpoint_policy_definition_name: The name of the service endpoint policy + definition. + :type service_endpoint_policy_definition_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + service_endpoint_policy_name=service_endpoint_policy_name, + service_endpoint_policy_definition_name=service_endpoint_policy_definition_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'serviceEndpointPolicyName': self._serialize.url("service_endpoint_policy_name", service_endpoint_policy_name, 'str'), + 'serviceEndpointPolicyDefinitionName': self._serialize.url("service_endpoint_policy_definition_name", service_endpoint_policy_definition_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}/serviceEndpointPolicyDefinitions/{serviceEndpointPolicyDefinitionName}'} # type: ignore + + def get( + self, + resource_group_name, # type: str + service_endpoint_policy_name, # type: str + service_endpoint_policy_definition_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.ServiceEndpointPolicyDefinition" + """Get the specified service endpoint policy definitions from service endpoint policy. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param service_endpoint_policy_name: The name of the service endpoint policy name. + :type service_endpoint_policy_name: str + :param service_endpoint_policy_definition_name: The name of the service endpoint policy + definition name. + :type service_endpoint_policy_definition_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ServiceEndpointPolicyDefinition, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.ServiceEndpointPolicyDefinition + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ServiceEndpointPolicyDefinition"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'serviceEndpointPolicyName': self._serialize.url("service_endpoint_policy_name", service_endpoint_policy_name, 'str'), + 'serviceEndpointPolicyDefinitionName': self._serialize.url("service_endpoint_policy_definition_name", service_endpoint_policy_definition_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ServiceEndpointPolicyDefinition', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}/serviceEndpointPolicyDefinitions/{serviceEndpointPolicyDefinitionName}'} # type: ignore + + def _create_or_update_initial( + self, + resource_group_name, # type: str + service_endpoint_policy_name, # type: str + service_endpoint_policy_definition_name, # type: str + service_endpoint_policy_definitions, # type: "_models.ServiceEndpointPolicyDefinition" + **kwargs # type: Any + ): + # type: (...) -> "_models.ServiceEndpointPolicyDefinition" + cls = kwargs.pop('cls', None) # type: ClsType["_models.ServiceEndpointPolicyDefinition"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'serviceEndpointPolicyName': self._serialize.url("service_endpoint_policy_name", service_endpoint_policy_name, 'str'), + 'serviceEndpointPolicyDefinitionName': self._serialize.url("service_endpoint_policy_definition_name", service_endpoint_policy_definition_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(service_endpoint_policy_definitions, 'ServiceEndpointPolicyDefinition') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('ServiceEndpointPolicyDefinition', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('ServiceEndpointPolicyDefinition', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}/serviceEndpointPolicyDefinitions/{serviceEndpointPolicyDefinitionName}'} # type: ignore + + def begin_create_or_update( + self, + resource_group_name, # type: str + service_endpoint_policy_name, # type: str + service_endpoint_policy_definition_name, # type: str + service_endpoint_policy_definitions, # type: "_models.ServiceEndpointPolicyDefinition" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.ServiceEndpointPolicyDefinition"] + """Creates or updates a service endpoint policy definition in the specified service endpoint + policy. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param service_endpoint_policy_name: The name of the service endpoint policy. + :type service_endpoint_policy_name: str + :param service_endpoint_policy_definition_name: The name of the service endpoint policy + definition name. + :type service_endpoint_policy_definition_name: str + :param service_endpoint_policy_definitions: Parameters supplied to the create or update service + endpoint policy operation. + :type service_endpoint_policy_definitions: ~azure.mgmt.network.v2021_02_01.models.ServiceEndpointPolicyDefinition + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either ServiceEndpointPolicyDefinition or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.ServiceEndpointPolicyDefinition] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.ServiceEndpointPolicyDefinition"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + resource_group_name=resource_group_name, + service_endpoint_policy_name=service_endpoint_policy_name, + service_endpoint_policy_definition_name=service_endpoint_policy_definition_name, + service_endpoint_policy_definitions=service_endpoint_policy_definitions, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('ServiceEndpointPolicyDefinition', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'serviceEndpointPolicyName': self._serialize.url("service_endpoint_policy_name", service_endpoint_policy_name, 'str'), + 'serviceEndpointPolicyDefinitionName': self._serialize.url("service_endpoint_policy_definition_name", service_endpoint_policy_definition_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}/serviceEndpointPolicyDefinitions/{serviceEndpointPolicyDefinitionName}'} # type: ignore + + def list_by_resource_group( + self, + resource_group_name, # type: str + service_endpoint_policy_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.ServiceEndpointPolicyDefinitionListResult"] + """Gets all service endpoint policy definitions in a service end point policy. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param service_endpoint_policy_name: The name of the service endpoint policy name. + :type service_endpoint_policy_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ServiceEndpointPolicyDefinitionListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.ServiceEndpointPolicyDefinitionListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ServiceEndpointPolicyDefinitionListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_resource_group.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'serviceEndpointPolicyName': self._serialize.url("service_endpoint_policy_name", service_endpoint_policy_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('ServiceEndpointPolicyDefinitionListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}/serviceEndpointPolicyDefinitions'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_service_tags_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_service_tags_operations.py new file mode 100644 index 000000000000..fd905b54955b --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_service_tags_operations.py @@ -0,0 +1,102 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.mgmt.core.exceptions import ARMErrorFormat + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Optional, TypeVar + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class ServiceTagsOperations(object): + """ServiceTagsOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + location, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.ServiceTagsListResult" + """Gets a list of service tag information resources. + + :param location: The location that will be used as a reference for version (not as a filter + based on location, you will get the list of service tags with prefix details across all regions + but limited to the cloud that your subscription belongs to). + :type location: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ServiceTagsListResult, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.ServiceTagsListResult + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ServiceTagsListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'location': self._serialize.url("location", location, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ServiceTagsListResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/serviceTags'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_subnets_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_subnets_operations.py new file mode 100644 index 000000000000..b44b50ccb6a9 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_subnets_operations.py @@ -0,0 +1,701 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class SubnetsOperations(object): + """SubnetsOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def _delete_initial( + self, + resource_group_name, # type: str + virtual_network_name, # type: str + subnet_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkName': self._serialize.url("virtual_network_name", virtual_network_name, 'str'), + 'subnetName': self._serialize.url("subnet_name", subnet_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + virtual_network_name, # type: str + subnet_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the specified subnet. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_name: The name of the virtual network. + :type virtual_network_name: str + :param subnet_name: The name of the subnet. + :type subnet_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + virtual_network_name=virtual_network_name, + subnet_name=subnet_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkName': self._serialize.url("virtual_network_name", virtual_network_name, 'str'), + 'subnetName': self._serialize.url("subnet_name", subnet_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}'} # type: ignore + + def get( + self, + resource_group_name, # type: str + virtual_network_name, # type: str + subnet_name, # type: str + expand=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> "_models.Subnet" + """Gets the specified subnet by virtual network and resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_name: The name of the virtual network. + :type virtual_network_name: str + :param subnet_name: The name of the subnet. + :type subnet_name: str + :param expand: Expands referenced resources. + :type expand: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: Subnet, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.Subnet + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.Subnet"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkName': self._serialize.url("virtual_network_name", virtual_network_name, 'str'), + 'subnetName': self._serialize.url("subnet_name", subnet_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('Subnet', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}'} # type: ignore + + def _create_or_update_initial( + self, + resource_group_name, # type: str + virtual_network_name, # type: str + subnet_name, # type: str + subnet_parameters, # type: "_models.Subnet" + **kwargs # type: Any + ): + # type: (...) -> "_models.Subnet" + cls = kwargs.pop('cls', None) # type: ClsType["_models.Subnet"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkName': self._serialize.url("virtual_network_name", virtual_network_name, 'str'), + 'subnetName': self._serialize.url("subnet_name", subnet_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(subnet_parameters, 'Subnet') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('Subnet', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('Subnet', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}'} # type: ignore + + def begin_create_or_update( + self, + resource_group_name, # type: str + virtual_network_name, # type: str + subnet_name, # type: str + subnet_parameters, # type: "_models.Subnet" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.Subnet"] + """Creates or updates a subnet in the specified virtual network. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_name: The name of the virtual network. + :type virtual_network_name: str + :param subnet_name: The name of the subnet. + :type subnet_name: str + :param subnet_parameters: Parameters supplied to the create or update subnet operation. + :type subnet_parameters: ~azure.mgmt.network.v2021_02_01.models.Subnet + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either Subnet or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.Subnet] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.Subnet"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + resource_group_name=resource_group_name, + virtual_network_name=virtual_network_name, + subnet_name=subnet_name, + subnet_parameters=subnet_parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('Subnet', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkName': self._serialize.url("virtual_network_name", virtual_network_name, 'str'), + 'subnetName': self._serialize.url("subnet_name", subnet_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}'} # type: ignore + + def _prepare_network_policies_initial( + self, + resource_group_name, # type: str + virtual_network_name, # type: str + subnet_name, # type: str + prepare_network_policies_request_parameters, # type: "_models.PrepareNetworkPoliciesRequest" + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._prepare_network_policies_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkName': self._serialize.url("virtual_network_name", virtual_network_name, 'str'), + 'subnetName': self._serialize.url("subnet_name", subnet_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(prepare_network_policies_request_parameters, 'PrepareNetworkPoliciesRequest') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _prepare_network_policies_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}/PrepareNetworkPolicies'} # type: ignore + + def begin_prepare_network_policies( + self, + resource_group_name, # type: str + virtual_network_name, # type: str + subnet_name, # type: str + prepare_network_policies_request_parameters, # type: "_models.PrepareNetworkPoliciesRequest" + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Prepares a subnet by applying network intent policies. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_name: The name of the virtual network. + :type virtual_network_name: str + :param subnet_name: The name of the subnet. + :type subnet_name: str + :param prepare_network_policies_request_parameters: Parameters supplied to prepare subnet by + applying network intent policies. + :type prepare_network_policies_request_parameters: ~azure.mgmt.network.v2021_02_01.models.PrepareNetworkPoliciesRequest + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._prepare_network_policies_initial( + resource_group_name=resource_group_name, + virtual_network_name=virtual_network_name, + subnet_name=subnet_name, + prepare_network_policies_request_parameters=prepare_network_policies_request_parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkName': self._serialize.url("virtual_network_name", virtual_network_name, 'str'), + 'subnetName': self._serialize.url("subnet_name", subnet_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_prepare_network_policies.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}/PrepareNetworkPolicies'} # type: ignore + + def _unprepare_network_policies_initial( + self, + resource_group_name, # type: str + virtual_network_name, # type: str + subnet_name, # type: str + unprepare_network_policies_request_parameters, # type: "_models.UnprepareNetworkPoliciesRequest" + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._unprepare_network_policies_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkName': self._serialize.url("virtual_network_name", virtual_network_name, 'str'), + 'subnetName': self._serialize.url("subnet_name", subnet_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(unprepare_network_policies_request_parameters, 'UnprepareNetworkPoliciesRequest') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _unprepare_network_policies_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}/UnprepareNetworkPolicies'} # type: ignore + + def begin_unprepare_network_policies( + self, + resource_group_name, # type: str + virtual_network_name, # type: str + subnet_name, # type: str + unprepare_network_policies_request_parameters, # type: "_models.UnprepareNetworkPoliciesRequest" + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Unprepares a subnet by removing network intent policies. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_name: The name of the virtual network. + :type virtual_network_name: str + :param subnet_name: The name of the subnet. + :type subnet_name: str + :param unprepare_network_policies_request_parameters: Parameters supplied to unprepare subnet + to remove network intent policies. + :type unprepare_network_policies_request_parameters: ~azure.mgmt.network.v2021_02_01.models.UnprepareNetworkPoliciesRequest + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._unprepare_network_policies_initial( + resource_group_name=resource_group_name, + virtual_network_name=virtual_network_name, + subnet_name=subnet_name, + unprepare_network_policies_request_parameters=unprepare_network_policies_request_parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkName': self._serialize.url("virtual_network_name", virtual_network_name, 'str'), + 'subnetName': self._serialize.url("subnet_name", subnet_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_unprepare_network_policies.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}/UnprepareNetworkPolicies'} # type: ignore + + def list( + self, + resource_group_name, # type: str + virtual_network_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.SubnetListResult"] + """Gets all subnets in a virtual network. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_name: The name of the virtual network. + :type virtual_network_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either SubnetListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.SubnetListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.SubnetListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkName': self._serialize.url("virtual_network_name", virtual_network_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('SubnetListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_usages_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_usages_operations.py new file mode 100644 index 000000000000..88d52461638f --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_usages_operations.py @@ -0,0 +1,117 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.mgmt.core.exceptions import ARMErrorFormat + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class UsagesOperations(object): + """UsagesOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + location, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.UsagesListResult"] + """List network usages for a subscription. + + :param location: The location where resource usage is queried. + :type location: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either UsagesListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.UsagesListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.UsagesListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'location': self._serialize.url("location", location, 'str', pattern=r'^[-\w\._ ]+$'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('UsagesListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/usages'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_virtual_appliance_sites_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_virtual_appliance_sites_operations.py new file mode 100644 index 000000000000..1ba8245ccfb3 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_virtual_appliance_sites_operations.py @@ -0,0 +1,441 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class VirtualApplianceSitesOperations(object): + """VirtualApplianceSitesOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def _delete_initial( + self, + resource_group_name, # type: str + network_virtual_appliance_name, # type: str + site_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkVirtualApplianceName': self._serialize.url("network_virtual_appliance_name", network_virtual_appliance_name, 'str'), + 'siteName': self._serialize.url("site_name", site_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}/virtualApplianceSites/{siteName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + network_virtual_appliance_name, # type: str + site_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the specified site from a Virtual Appliance. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_virtual_appliance_name: The name of the Network Virtual Appliance. + :type network_virtual_appliance_name: str + :param site_name: The name of the site. + :type site_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + network_virtual_appliance_name=network_virtual_appliance_name, + site_name=site_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkVirtualApplianceName': self._serialize.url("network_virtual_appliance_name", network_virtual_appliance_name, 'str'), + 'siteName': self._serialize.url("site_name", site_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}/virtualApplianceSites/{siteName}'} # type: ignore + + def get( + self, + resource_group_name, # type: str + network_virtual_appliance_name, # type: str + site_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.VirtualApplianceSite" + """Gets the specified Virtual Appliance Site. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_virtual_appliance_name: The name of the Network Virtual Appliance. + :type network_virtual_appliance_name: str + :param site_name: The name of the site. + :type site_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: VirtualApplianceSite, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.VirtualApplianceSite + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualApplianceSite"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkVirtualApplianceName': self._serialize.url("network_virtual_appliance_name", network_virtual_appliance_name, 'str'), + 'siteName': self._serialize.url("site_name", site_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('VirtualApplianceSite', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}/virtualApplianceSites/{siteName}'} # type: ignore + + def _create_or_update_initial( + self, + resource_group_name, # type: str + network_virtual_appliance_name, # type: str + site_name, # type: str + parameters, # type: "_models.VirtualApplianceSite" + **kwargs # type: Any + ): + # type: (...) -> "_models.VirtualApplianceSite" + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualApplianceSite"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkVirtualApplianceName': self._serialize.url("network_virtual_appliance_name", network_virtual_appliance_name, 'str'), + 'siteName': self._serialize.url("site_name", site_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'VirtualApplianceSite') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('VirtualApplianceSite', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('VirtualApplianceSite', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}/virtualApplianceSites/{siteName}'} # type: ignore + + def begin_create_or_update( + self, + resource_group_name, # type: str + network_virtual_appliance_name, # type: str + site_name, # type: str + parameters, # type: "_models.VirtualApplianceSite" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.VirtualApplianceSite"] + """Creates or updates the specified Network Virtual Appliance Site. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_virtual_appliance_name: The name of the Network Virtual Appliance. + :type network_virtual_appliance_name: str + :param site_name: The name of the site. + :type site_name: str + :param parameters: Parameters supplied to the create or update Network Virtual Appliance Site + operation. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.VirtualApplianceSite + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either VirtualApplianceSite or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.VirtualApplianceSite] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualApplianceSite"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + resource_group_name=resource_group_name, + network_virtual_appliance_name=network_virtual_appliance_name, + site_name=site_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('VirtualApplianceSite', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkVirtualApplianceName': self._serialize.url("network_virtual_appliance_name", network_virtual_appliance_name, 'str'), + 'siteName': self._serialize.url("site_name", site_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}/virtualApplianceSites/{siteName}'} # type: ignore + + def list( + self, + resource_group_name, # type: str + network_virtual_appliance_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.NetworkVirtualApplianceSiteListResult"] + """Lists all Network Virtual Appliance Sites in a Network Virtual Appliance resource. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param network_virtual_appliance_name: The name of the Network Virtual Appliance. + :type network_virtual_appliance_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either NetworkVirtualApplianceSiteListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.NetworkVirtualApplianceSiteListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkVirtualApplianceSiteListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'networkVirtualApplianceName': self._serialize.url("network_virtual_appliance_name", network_virtual_appliance_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('NetworkVirtualApplianceSiteListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}/virtualApplianceSites'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_virtual_appliance_skus_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_virtual_appliance_skus_operations.py new file mode 100644 index 000000000000..3a33ec8b3def --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_virtual_appliance_skus_operations.py @@ -0,0 +1,168 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.mgmt.core.exceptions import ARMErrorFormat + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class VirtualApplianceSkusOperations(object): + """VirtualApplianceSkusOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.NetworkVirtualApplianceSkuListResult"] + """List all SKUs available for a virtual appliance. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either NetworkVirtualApplianceSkuListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.NetworkVirtualApplianceSkuListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkVirtualApplianceSkuListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('NetworkVirtualApplianceSkuListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkVirtualApplianceSkus'} # type: ignore + + def get( + self, + sku_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.NetworkVirtualApplianceSku" + """Retrieves a single available sku for network virtual appliance. + + :param sku_name: Name of the Sku. + :type sku_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: NetworkVirtualApplianceSku, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.NetworkVirtualApplianceSku + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.NetworkVirtualApplianceSku"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'skuName': self._serialize.url("sku_name", sku_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('NetworkVirtualApplianceSku', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkVirtualApplianceSkus/{skuName}'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_virtual_hub_bgp_connection_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_virtual_hub_bgp_connection_operations.py new file mode 100644 index 000000000000..0c0b9757b127 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_virtual_hub_bgp_connection_operations.py @@ -0,0 +1,365 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class VirtualHubBgpConnectionOperations(object): + """VirtualHubBgpConnectionOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def get( + self, + resource_group_name, # type: str + virtual_hub_name, # type: str + connection_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.BgpConnection" + """Retrieves the details of a Virtual Hub Bgp Connection. + + :param resource_group_name: The resource group name of the VirtualHub. + :type resource_group_name: str + :param virtual_hub_name: The name of the VirtualHub. + :type virtual_hub_name: str + :param connection_name: The name of the connection. + :type connection_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: BgpConnection, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.BgpConnection + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.BgpConnection"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualHubName': self._serialize.url("virtual_hub_name", virtual_hub_name, 'str'), + 'connectionName': self._serialize.url("connection_name", connection_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('BgpConnection', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/bgpConnections/{connectionName}'} # type: ignore + + def _create_or_update_initial( + self, + resource_group_name, # type: str + virtual_hub_name, # type: str + connection_name, # type: str + parameters, # type: "_models.BgpConnection" + **kwargs # type: Any + ): + # type: (...) -> "_models.BgpConnection" + cls = kwargs.pop('cls', None) # type: ClsType["_models.BgpConnection"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualHubName': self._serialize.url("virtual_hub_name", virtual_hub_name, 'str'), + 'connectionName': self._serialize.url("connection_name", connection_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'BgpConnection') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('BgpConnection', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('BgpConnection', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/bgpConnections/{connectionName}'} # type: ignore + + def begin_create_or_update( + self, + resource_group_name, # type: str + virtual_hub_name, # type: str + connection_name, # type: str + parameters, # type: "_models.BgpConnection" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.BgpConnection"] + """Creates a VirtualHubBgpConnection resource if it doesn't exist else updates the existing + VirtualHubBgpConnection. + + :param resource_group_name: The resource group name of the VirtualHub. + :type resource_group_name: str + :param virtual_hub_name: The name of the VirtualHub. + :type virtual_hub_name: str + :param connection_name: The name of the connection. + :type connection_name: str + :param parameters: Parameters of Bgp connection. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.BgpConnection + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either BgpConnection or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.BgpConnection] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.BgpConnection"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + resource_group_name=resource_group_name, + virtual_hub_name=virtual_hub_name, + connection_name=connection_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('BgpConnection', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualHubName': self._serialize.url("virtual_hub_name", virtual_hub_name, 'str'), + 'connectionName': self._serialize.url("connection_name", connection_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/bgpConnections/{connectionName}'} # type: ignore + + def _delete_initial( + self, + resource_group_name, # type: str + virtual_hub_name, # type: str + connection_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualHubName': self._serialize.url("virtual_hub_name", virtual_hub_name, 'str'), + 'connectionName': self._serialize.url("connection_name", connection_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/bgpConnections/{connectionName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + virtual_hub_name, # type: str + connection_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes a VirtualHubBgpConnection. + + :param resource_group_name: The resource group name of the VirtualHubBgpConnection. + :type resource_group_name: str + :param virtual_hub_name: The name of the VirtualHub. + :type virtual_hub_name: str + :param connection_name: The name of the connection. + :type connection_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + virtual_hub_name=virtual_hub_name, + connection_name=connection_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualHubName': self._serialize.url("virtual_hub_name", virtual_hub_name, 'str'), + 'connectionName': self._serialize.url("connection_name", connection_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/bgpConnections/{connectionName}'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_virtual_hub_bgp_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_virtual_hub_bgp_connections_operations.py new file mode 100644 index 000000000000..73d8b119a667 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_virtual_hub_bgp_connections_operations.py @@ -0,0 +1,373 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class VirtualHubBgpConnectionsOperations(object): + """VirtualHubBgpConnectionsOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + resource_group_name, # type: str + virtual_hub_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.ListVirtualHubBgpConnectionResults"] + """Retrieves the details of all VirtualHubBgpConnections. + + :param resource_group_name: The resource group name of the VirtualHub. + :type resource_group_name: str + :param virtual_hub_name: The name of the VirtualHub. + :type virtual_hub_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ListVirtualHubBgpConnectionResults or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.ListVirtualHubBgpConnectionResults] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ListVirtualHubBgpConnectionResults"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualHubName': self._serialize.url("virtual_hub_name", virtual_hub_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('ListVirtualHubBgpConnectionResults', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/bgpConnections'} # type: ignore + + def _list_learned_routes_initial( + self, + resource_group_name, # type: str + hub_name, # type: str + connection_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.PeerRouteList"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.PeerRouteList"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._list_learned_routes_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'hubName': self._serialize.url("hub_name", hub_name, 'str'), + 'connectionName': self._serialize.url("connection_name", connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('PeerRouteList', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _list_learned_routes_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{hubName}/bgpConnections/{connectionName}/learnedRoutes'} # type: ignore + + def begin_list_learned_routes( + self, + resource_group_name, # type: str + hub_name, # type: str + connection_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.PeerRouteList"] + """Retrieves a list of routes the virtual hub bgp connection has learned. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param hub_name: The name of the virtual hub. + :type hub_name: str + :param connection_name: The name of the virtual hub bgp connection. + :type connection_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either PeerRouteList or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.PeerRouteList] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.PeerRouteList"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._list_learned_routes_initial( + resource_group_name=resource_group_name, + hub_name=hub_name, + connection_name=connection_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('PeerRouteList', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'hubName': self._serialize.url("hub_name", hub_name, 'str'), + 'connectionName': self._serialize.url("connection_name", connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_list_learned_routes.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{hubName}/bgpConnections/{connectionName}/learnedRoutes'} # type: ignore + + def _list_advertised_routes_initial( + self, + resource_group_name, # type: str + hub_name, # type: str + connection_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.PeerRouteList"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.PeerRouteList"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._list_advertised_routes_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'hubName': self._serialize.url("hub_name", hub_name, 'str'), + 'connectionName': self._serialize.url("connection_name", connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('PeerRouteList', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _list_advertised_routes_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{hubName}/bgpConnections/{connectionName}/advertisedRoutes'} # type: ignore + + def begin_list_advertised_routes( + self, + resource_group_name, # type: str + hub_name, # type: str + connection_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.PeerRouteList"] + """Retrieves a list of routes the virtual hub bgp connection is advertising to the specified peer. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param hub_name: The name of the virtual hub. + :type hub_name: str + :param connection_name: The name of the virtual hub bgp connection. + :type connection_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either PeerRouteList or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.PeerRouteList] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.PeerRouteList"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._list_advertised_routes_initial( + resource_group_name=resource_group_name, + hub_name=hub_name, + connection_name=connection_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('PeerRouteList', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'hubName': self._serialize.url("hub_name", hub_name, 'str'), + 'connectionName': self._serialize.url("connection_name", connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_list_advertised_routes.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{hubName}/bgpConnections/{connectionName}/advertisedRoutes'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_virtual_hub_ip_configuration_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_virtual_hub_ip_configuration_operations.py new file mode 100644 index 000000000000..be28f2105aa1 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_virtual_hub_ip_configuration_operations.py @@ -0,0 +1,441 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class VirtualHubIpConfigurationOperations(object): + """VirtualHubIpConfigurationOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def get( + self, + resource_group_name, # type: str + virtual_hub_name, # type: str + ip_config_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.HubIpConfiguration" + """Retrieves the details of a Virtual Hub Ip configuration. + + :param resource_group_name: The resource group name of the VirtualHub. + :type resource_group_name: str + :param virtual_hub_name: The name of the VirtualHub. + :type virtual_hub_name: str + :param ip_config_name: The name of the ipconfig. + :type ip_config_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: HubIpConfiguration, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.HubIpConfiguration + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.HubIpConfiguration"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualHubName': self._serialize.url("virtual_hub_name", virtual_hub_name, 'str'), + 'ipConfigName': self._serialize.url("ip_config_name", ip_config_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('HubIpConfiguration', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/ipConfigurations/{ipConfigName}'} # type: ignore + + def _create_or_update_initial( + self, + resource_group_name, # type: str + virtual_hub_name, # type: str + ip_config_name, # type: str + parameters, # type: "_models.HubIpConfiguration" + **kwargs # type: Any + ): + # type: (...) -> "_models.HubIpConfiguration" + cls = kwargs.pop('cls', None) # type: ClsType["_models.HubIpConfiguration"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualHubName': self._serialize.url("virtual_hub_name", virtual_hub_name, 'str'), + 'ipConfigName': self._serialize.url("ip_config_name", ip_config_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'HubIpConfiguration') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('HubIpConfiguration', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('HubIpConfiguration', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/ipConfigurations/{ipConfigName}'} # type: ignore + + def begin_create_or_update( + self, + resource_group_name, # type: str + virtual_hub_name, # type: str + ip_config_name, # type: str + parameters, # type: "_models.HubIpConfiguration" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.HubIpConfiguration"] + """Creates a VirtualHubIpConfiguration resource if it doesn't exist else updates the existing + VirtualHubIpConfiguration. + + :param resource_group_name: The resource group name of the VirtualHub. + :type resource_group_name: str + :param virtual_hub_name: The name of the VirtualHub. + :type virtual_hub_name: str + :param ip_config_name: The name of the ipconfig. + :type ip_config_name: str + :param parameters: Hub Ip Configuration parameters. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.HubIpConfiguration + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either HubIpConfiguration or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.HubIpConfiguration] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.HubIpConfiguration"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + resource_group_name=resource_group_name, + virtual_hub_name=virtual_hub_name, + ip_config_name=ip_config_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('HubIpConfiguration', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualHubName': self._serialize.url("virtual_hub_name", virtual_hub_name, 'str'), + 'ipConfigName': self._serialize.url("ip_config_name", ip_config_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/ipConfigurations/{ipConfigName}'} # type: ignore + + def _delete_initial( + self, + resource_group_name, # type: str + virtual_hub_name, # type: str + ip_config_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualHubName': self._serialize.url("virtual_hub_name", virtual_hub_name, 'str'), + 'ipConfigName': self._serialize.url("ip_config_name", ip_config_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/ipConfigurations/{ipConfigName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + virtual_hub_name, # type: str + ip_config_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes a VirtualHubIpConfiguration. + + :param resource_group_name: The resource group name of the VirtualHubBgpConnection. + :type resource_group_name: str + :param virtual_hub_name: The name of the VirtualHub. + :type virtual_hub_name: str + :param ip_config_name: The name of the ipconfig. + :type ip_config_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + virtual_hub_name=virtual_hub_name, + ip_config_name=ip_config_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualHubName': self._serialize.url("virtual_hub_name", virtual_hub_name, 'str'), + 'ipConfigName': self._serialize.url("ip_config_name", ip_config_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/ipConfigurations/{ipConfigName}'} # type: ignore + + def list( + self, + resource_group_name, # type: str + virtual_hub_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.ListVirtualHubIpConfigurationResults"] + """Retrieves the details of all VirtualHubIpConfigurations. + + :param resource_group_name: The resource group name of the VirtualHub. + :type resource_group_name: str + :param virtual_hub_name: The name of the VirtualHub. + :type virtual_hub_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ListVirtualHubIpConfigurationResults or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.ListVirtualHubIpConfigurationResults] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ListVirtualHubIpConfigurationResults"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualHubName': self._serialize.url("virtual_hub_name", virtual_hub_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('ListVirtualHubIpConfigurationResults', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/ipConfigurations'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_virtual_hub_route_table_v2_s_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_virtual_hub_route_table_v2_s_operations.py new file mode 100644 index 000000000000..b03e90c83b1f --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_virtual_hub_route_table_v2_s_operations.py @@ -0,0 +1,445 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class VirtualHubRouteTableV2SOperations(object): + """VirtualHubRouteTableV2SOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def get( + self, + resource_group_name, # type: str + virtual_hub_name, # type: str + route_table_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.VirtualHubRouteTableV2" + """Retrieves the details of a VirtualHubRouteTableV2. + + :param resource_group_name: The resource group name of the VirtualHubRouteTableV2. + :type resource_group_name: str + :param virtual_hub_name: The name of the VirtualHub. + :type virtual_hub_name: str + :param route_table_name: The name of the VirtualHubRouteTableV2. + :type route_table_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: VirtualHubRouteTableV2, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.VirtualHubRouteTableV2 + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualHubRouteTableV2"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualHubName': self._serialize.url("virtual_hub_name", virtual_hub_name, 'str'), + 'routeTableName': self._serialize.url("route_table_name", route_table_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.Error, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('VirtualHubRouteTableV2', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routeTables/{routeTableName}'} # type: ignore + + def _create_or_update_initial( + self, + resource_group_name, # type: str + virtual_hub_name, # type: str + route_table_name, # type: str + virtual_hub_route_table_v2_parameters, # type: "_models.VirtualHubRouteTableV2" + **kwargs # type: Any + ): + # type: (...) -> "_models.VirtualHubRouteTableV2" + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualHubRouteTableV2"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualHubName': self._serialize.url("virtual_hub_name", virtual_hub_name, 'str'), + 'routeTableName': self._serialize.url("route_table_name", route_table_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(virtual_hub_route_table_v2_parameters, 'VirtualHubRouteTableV2') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.Error, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('VirtualHubRouteTableV2', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('VirtualHubRouteTableV2', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routeTables/{routeTableName}'} # type: ignore + + def begin_create_or_update( + self, + resource_group_name, # type: str + virtual_hub_name, # type: str + route_table_name, # type: str + virtual_hub_route_table_v2_parameters, # type: "_models.VirtualHubRouteTableV2" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.VirtualHubRouteTableV2"] + """Creates a VirtualHubRouteTableV2 resource if it doesn't exist else updates the existing + VirtualHubRouteTableV2. + + :param resource_group_name: The resource group name of the VirtualHub. + :type resource_group_name: str + :param virtual_hub_name: The name of the VirtualHub. + :type virtual_hub_name: str + :param route_table_name: The name of the VirtualHubRouteTableV2. + :type route_table_name: str + :param virtual_hub_route_table_v2_parameters: Parameters supplied to create or update + VirtualHubRouteTableV2. + :type virtual_hub_route_table_v2_parameters: ~azure.mgmt.network.v2021_02_01.models.VirtualHubRouteTableV2 + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either VirtualHubRouteTableV2 or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.VirtualHubRouteTableV2] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualHubRouteTableV2"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + resource_group_name=resource_group_name, + virtual_hub_name=virtual_hub_name, + route_table_name=route_table_name, + virtual_hub_route_table_v2_parameters=virtual_hub_route_table_v2_parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('VirtualHubRouteTableV2', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualHubName': self._serialize.url("virtual_hub_name", virtual_hub_name, 'str'), + 'routeTableName': self._serialize.url("route_table_name", route_table_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routeTables/{routeTableName}'} # type: ignore + + def _delete_initial( + self, + resource_group_name, # type: str + virtual_hub_name, # type: str + route_table_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualHubName': self._serialize.url("virtual_hub_name", virtual_hub_name, 'str'), + 'routeTableName': self._serialize.url("route_table_name", route_table_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.Error, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routeTables/{routeTableName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + virtual_hub_name, # type: str + route_table_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes a VirtualHubRouteTableV2. + + :param resource_group_name: The resource group name of the VirtualHubRouteTableV2. + :type resource_group_name: str + :param virtual_hub_name: The name of the VirtualHub. + :type virtual_hub_name: str + :param route_table_name: The name of the VirtualHubRouteTableV2. + :type route_table_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + virtual_hub_name=virtual_hub_name, + route_table_name=route_table_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualHubName': self._serialize.url("virtual_hub_name", virtual_hub_name, 'str'), + 'routeTableName': self._serialize.url("route_table_name", route_table_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routeTables/{routeTableName}'} # type: ignore + + def list( + self, + resource_group_name, # type: str + virtual_hub_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.ListVirtualHubRouteTableV2SResult"] + """Retrieves the details of all VirtualHubRouteTableV2s. + + :param resource_group_name: The resource group name of the VirtualHub. + :type resource_group_name: str + :param virtual_hub_name: The name of the VirtualHub. + :type virtual_hub_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ListVirtualHubRouteTableV2SResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.ListVirtualHubRouteTableV2SResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ListVirtualHubRouteTableV2SResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualHubName': self._serialize.url("virtual_hub_name", virtual_hub_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('ListVirtualHubRouteTableV2SResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routeTables'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_virtual_hubs_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_virtual_hubs_operations.py new file mode 100644 index 000000000000..4334e52aed86 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_virtual_hubs_operations.py @@ -0,0 +1,676 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class VirtualHubsOperations(object): + """VirtualHubsOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def get( + self, + resource_group_name, # type: str + virtual_hub_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.VirtualHub" + """Retrieves the details of a VirtualHub. + + :param resource_group_name: The resource group name of the VirtualHub. + :type resource_group_name: str + :param virtual_hub_name: The name of the VirtualHub. + :type virtual_hub_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: VirtualHub, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.VirtualHub + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualHub"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualHubName': self._serialize.url("virtual_hub_name", virtual_hub_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('VirtualHub', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}'} # type: ignore + + def _create_or_update_initial( + self, + resource_group_name, # type: str + virtual_hub_name, # type: str + virtual_hub_parameters, # type: "_models.VirtualHub" + **kwargs # type: Any + ): + # type: (...) -> "_models.VirtualHub" + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualHub"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualHubName': self._serialize.url("virtual_hub_name", virtual_hub_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(virtual_hub_parameters, 'VirtualHub') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('VirtualHub', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('VirtualHub', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}'} # type: ignore + + def begin_create_or_update( + self, + resource_group_name, # type: str + virtual_hub_name, # type: str + virtual_hub_parameters, # type: "_models.VirtualHub" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.VirtualHub"] + """Creates a VirtualHub resource if it doesn't exist else updates the existing VirtualHub. + + :param resource_group_name: The resource group name of the VirtualHub. + :type resource_group_name: str + :param virtual_hub_name: The name of the VirtualHub. + :type virtual_hub_name: str + :param virtual_hub_parameters: Parameters supplied to create or update VirtualHub. + :type virtual_hub_parameters: ~azure.mgmt.network.v2021_02_01.models.VirtualHub + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either VirtualHub or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.VirtualHub] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualHub"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + resource_group_name=resource_group_name, + virtual_hub_name=virtual_hub_name, + virtual_hub_parameters=virtual_hub_parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('VirtualHub', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualHubName': self._serialize.url("virtual_hub_name", virtual_hub_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}'} # type: ignore + + def update_tags( + self, + resource_group_name, # type: str + virtual_hub_name, # type: str + virtual_hub_parameters, # type: "_models.TagsObject" + **kwargs # type: Any + ): + # type: (...) -> "_models.VirtualHub" + """Updates VirtualHub tags. + + :param resource_group_name: The resource group name of the VirtualHub. + :type resource_group_name: str + :param virtual_hub_name: The name of the VirtualHub. + :type virtual_hub_name: str + :param virtual_hub_parameters: Parameters supplied to update VirtualHub tags. + :type virtual_hub_parameters: ~azure.mgmt.network.v2021_02_01.models.TagsObject + :keyword callable cls: A custom type or function that will be passed the direct response + :return: VirtualHub, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.VirtualHub + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualHub"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update_tags.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualHubName': self._serialize.url("virtual_hub_name", virtual_hub_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(virtual_hub_parameters, 'TagsObject') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('VirtualHub', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}'} # type: ignore + + def _delete_initial( + self, + resource_group_name, # type: str + virtual_hub_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualHubName': self._serialize.url("virtual_hub_name", virtual_hub_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + virtual_hub_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes a VirtualHub. + + :param resource_group_name: The resource group name of the VirtualHub. + :type resource_group_name: str + :param virtual_hub_name: The name of the VirtualHub. + :type virtual_hub_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + virtual_hub_name=virtual_hub_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualHubName': self._serialize.url("virtual_hub_name", virtual_hub_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}'} # type: ignore + + def list_by_resource_group( + self, + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.ListVirtualHubsResult"] + """Lists all the VirtualHubs in a resource group. + + :param resource_group_name: The resource group name of the VirtualHub. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ListVirtualHubsResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.ListVirtualHubsResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ListVirtualHubsResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_resource_group.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('ListVirtualHubsResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs'} # type: ignore + + def list( + self, + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.ListVirtualHubsResult"] + """Lists all the VirtualHubs in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ListVirtualHubsResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.ListVirtualHubsResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ListVirtualHubsResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('ListVirtualHubsResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualHubs'} # type: ignore + + def _get_effective_virtual_hub_routes_initial( + self, + resource_group_name, # type: str + virtual_hub_name, # type: str + effective_routes_parameters=None, # type: Optional["_models.EffectiveRoutesParameters"] + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._get_effective_virtual_hub_routes_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualHubName': self._serialize.url("virtual_hub_name", virtual_hub_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + if effective_routes_parameters is not None: + body_content = self._serialize.body(effective_routes_parameters, 'EffectiveRoutesParameters') + else: + body_content = None + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _get_effective_virtual_hub_routes_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/effectiveRoutes'} # type: ignore + + def begin_get_effective_virtual_hub_routes( + self, + resource_group_name, # type: str + virtual_hub_name, # type: str + effective_routes_parameters=None, # type: Optional["_models.EffectiveRoutesParameters"] + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Gets the effective routes configured for the Virtual Hub resource or the specified resource . + + :param resource_group_name: The resource group name of the VirtualHub. + :type resource_group_name: str + :param virtual_hub_name: The name of the VirtualHub. + :type virtual_hub_name: str + :param effective_routes_parameters: Parameters supplied to get the effective routes for a + specific resource. + :type effective_routes_parameters: ~azure.mgmt.network.v2021_02_01.models.EffectiveRoutesParameters + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._get_effective_virtual_hub_routes_initial( + resource_group_name=resource_group_name, + virtual_hub_name=virtual_hub_name, + effective_routes_parameters=effective_routes_parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualHubName': self._serialize.url("virtual_hub_name", virtual_hub_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_get_effective_virtual_hub_routes.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/effectiveRoutes'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_virtual_network_gateway_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_virtual_network_gateway_connections_operations.py new file mode 100644 index 000000000000..78dce6fc5a6c --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_virtual_network_gateway_connections_operations.py @@ -0,0 +1,1376 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class VirtualNetworkGatewayConnectionsOperations(object): + """VirtualNetworkGatewayConnectionsOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def _create_or_update_initial( + self, + resource_group_name, # type: str + virtual_network_gateway_connection_name, # type: str + parameters, # type: "_models.VirtualNetworkGatewayConnection" + **kwargs # type: Any + ): + # type: (...) -> "_models.VirtualNetworkGatewayConnection" + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualNetworkGatewayConnection"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayConnectionName': self._serialize.url("virtual_network_gateway_connection_name", virtual_network_gateway_connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'VirtualNetworkGatewayConnection') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('VirtualNetworkGatewayConnection', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('VirtualNetworkGatewayConnection', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}'} # type: ignore + + def begin_create_or_update( + self, + resource_group_name, # type: str + virtual_network_gateway_connection_name, # type: str + parameters, # type: "_models.VirtualNetworkGatewayConnection" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.VirtualNetworkGatewayConnection"] + """Creates or updates a virtual network gateway connection in the specified resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_gateway_connection_name: The name of the virtual network gateway + connection. + :type virtual_network_gateway_connection_name: str + :param parameters: Parameters supplied to the create or update virtual network gateway + connection operation. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.VirtualNetworkGatewayConnection + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.VirtualNetworkGatewayConnection] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualNetworkGatewayConnection"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + resource_group_name=resource_group_name, + virtual_network_gateway_connection_name=virtual_network_gateway_connection_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('VirtualNetworkGatewayConnection', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayConnectionName': self._serialize.url("virtual_network_gateway_connection_name", virtual_network_gateway_connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}'} # type: ignore + + def get( + self, + resource_group_name, # type: str + virtual_network_gateway_connection_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.VirtualNetworkGatewayConnection" + """Gets the specified virtual network gateway connection by resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_gateway_connection_name: The name of the virtual network gateway + connection. + :type virtual_network_gateway_connection_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: VirtualNetworkGatewayConnection, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.VirtualNetworkGatewayConnection + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualNetworkGatewayConnection"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayConnectionName': self._serialize.url("virtual_network_gateway_connection_name", virtual_network_gateway_connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('VirtualNetworkGatewayConnection', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}'} # type: ignore + + def _delete_initial( + self, + resource_group_name, # type: str + virtual_network_gateway_connection_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayConnectionName': self._serialize.url("virtual_network_gateway_connection_name", virtual_network_gateway_connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + virtual_network_gateway_connection_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the specified virtual network Gateway connection. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_gateway_connection_name: The name of the virtual network gateway + connection. + :type virtual_network_gateway_connection_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + virtual_network_gateway_connection_name=virtual_network_gateway_connection_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayConnectionName': self._serialize.url("virtual_network_gateway_connection_name", virtual_network_gateway_connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}'} # type: ignore + + def _update_tags_initial( + self, + resource_group_name, # type: str + virtual_network_gateway_connection_name, # type: str + parameters, # type: "_models.TagsObject" + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.VirtualNetworkGatewayConnection"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.VirtualNetworkGatewayConnection"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._update_tags_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayConnectionName': self._serialize.url("virtual_network_gateway_connection_name", virtual_network_gateway_connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'TagsObject') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('VirtualNetworkGatewayConnection', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _update_tags_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}'} # type: ignore + + def begin_update_tags( + self, + resource_group_name, # type: str + virtual_network_gateway_connection_name, # type: str + parameters, # type: "_models.TagsObject" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.VirtualNetworkGatewayConnection"] + """Updates a virtual network gateway connection tags. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_gateway_connection_name: The name of the virtual network gateway + connection. + :type virtual_network_gateway_connection_name: str + :param parameters: Parameters supplied to update virtual network gateway connection tags. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.TagsObject + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.VirtualNetworkGatewayConnection] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualNetworkGatewayConnection"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._update_tags_initial( + resource_group_name=resource_group_name, + virtual_network_gateway_connection_name=virtual_network_gateway_connection_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('VirtualNetworkGatewayConnection', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayConnectionName': self._serialize.url("virtual_network_gateway_connection_name", virtual_network_gateway_connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}'} # type: ignore + + def _set_shared_key_initial( + self, + resource_group_name, # type: str + virtual_network_gateway_connection_name, # type: str + parameters, # type: "_models.ConnectionSharedKey" + **kwargs # type: Any + ): + # type: (...) -> "_models.ConnectionSharedKey" + cls = kwargs.pop('cls', None) # type: ClsType["_models.ConnectionSharedKey"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._set_shared_key_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayConnectionName': self._serialize.url("virtual_network_gateway_connection_name", virtual_network_gateway_connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'ConnectionSharedKey') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('ConnectionSharedKey', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('ConnectionSharedKey', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _set_shared_key_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/sharedkey'} # type: ignore + + def begin_set_shared_key( + self, + resource_group_name, # type: str + virtual_network_gateway_connection_name, # type: str + parameters, # type: "_models.ConnectionSharedKey" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.ConnectionSharedKey"] + """The Put VirtualNetworkGatewayConnectionSharedKey operation sets the virtual network gateway + connection shared key for passed virtual network gateway connection in the specified resource + group through Network resource provider. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_gateway_connection_name: The virtual network gateway connection name. + :type virtual_network_gateway_connection_name: str + :param parameters: Parameters supplied to the Begin Set Virtual Network Gateway connection + Shared key operation throughNetwork resource provider. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.ConnectionSharedKey + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either ConnectionSharedKey or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.ConnectionSharedKey] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.ConnectionSharedKey"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._set_shared_key_initial( + resource_group_name=resource_group_name, + virtual_network_gateway_connection_name=virtual_network_gateway_connection_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('ConnectionSharedKey', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayConnectionName': self._serialize.url("virtual_network_gateway_connection_name", virtual_network_gateway_connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_set_shared_key.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/sharedkey'} # type: ignore + + def get_shared_key( + self, + resource_group_name, # type: str + virtual_network_gateway_connection_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.ConnectionSharedKey" + """The Get VirtualNetworkGatewayConnectionSharedKey operation retrieves information about the + specified virtual network gateway connection shared key through Network resource provider. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_gateway_connection_name: The virtual network gateway connection shared + key name. + :type virtual_network_gateway_connection_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: ConnectionSharedKey, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.ConnectionSharedKey + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ConnectionSharedKey"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get_shared_key.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayConnectionName': self._serialize.url("virtual_network_gateway_connection_name", virtual_network_gateway_connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('ConnectionSharedKey', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get_shared_key.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/sharedkey'} # type: ignore + + def list( + self, + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.VirtualNetworkGatewayConnectionListResult"] + """The List VirtualNetworkGatewayConnections operation retrieves all the virtual network gateways + connections created. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either VirtualNetworkGatewayConnectionListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.VirtualNetworkGatewayConnectionListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualNetworkGatewayConnectionListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('VirtualNetworkGatewayConnectionListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections'} # type: ignore + + def _reset_shared_key_initial( + self, + resource_group_name, # type: str + virtual_network_gateway_connection_name, # type: str + parameters, # type: "_models.ConnectionResetSharedKey" + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.ConnectionResetSharedKey"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.ConnectionResetSharedKey"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._reset_shared_key_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayConnectionName': self._serialize.url("virtual_network_gateway_connection_name", virtual_network_gateway_connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'ConnectionResetSharedKey') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('ConnectionResetSharedKey', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _reset_shared_key_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/sharedkey/reset'} # type: ignore + + def begin_reset_shared_key( + self, + resource_group_name, # type: str + virtual_network_gateway_connection_name, # type: str + parameters, # type: "_models.ConnectionResetSharedKey" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.ConnectionResetSharedKey"] + """The VirtualNetworkGatewayConnectionResetSharedKey operation resets the virtual network gateway + connection shared key for passed virtual network gateway connection in the specified resource + group through Network resource provider. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_gateway_connection_name: The virtual network gateway connection reset + shared key Name. + :type virtual_network_gateway_connection_name: str + :param parameters: Parameters supplied to the begin reset virtual network gateway connection + shared key operation through network resource provider. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.ConnectionResetSharedKey + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either ConnectionResetSharedKey or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.ConnectionResetSharedKey] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.ConnectionResetSharedKey"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._reset_shared_key_initial( + resource_group_name=resource_group_name, + virtual_network_gateway_connection_name=virtual_network_gateway_connection_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('ConnectionResetSharedKey', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayConnectionName': self._serialize.url("virtual_network_gateway_connection_name", virtual_network_gateway_connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_reset_shared_key.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/sharedkey/reset'} # type: ignore + + def _start_packet_capture_initial( + self, + resource_group_name, # type: str + virtual_network_gateway_connection_name, # type: str + parameters=None, # type: Optional["_models.VpnPacketCaptureStartParameters"] + **kwargs # type: Any + ): + # type: (...) -> Optional[str] + cls = kwargs.pop('cls', None) # type: ClsType[Optional[str]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._start_packet_capture_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayConnectionName': self._serialize.url("virtual_network_gateway_connection_name", virtual_network_gateway_connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + if parameters is not None: + body_content = self._serialize.body(parameters, 'VpnPacketCaptureStartParameters') + else: + body_content = None + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.Error, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('str', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _start_packet_capture_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/startPacketCapture'} # type: ignore + + def begin_start_packet_capture( + self, + resource_group_name, # type: str + virtual_network_gateway_connection_name, # type: str + parameters=None, # type: Optional["_models.VpnPacketCaptureStartParameters"] + **kwargs # type: Any + ): + # type: (...) -> LROPoller[str] + """Starts packet capture on virtual network gateway connection in the specified resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_gateway_connection_name: The name of the virtual network gateway + connection. + :type virtual_network_gateway_connection_name: str + :param parameters: Virtual network gateway packet capture parameters supplied to start packet + capture on gateway connection. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.VpnPacketCaptureStartParameters + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either str or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[str] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[str] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._start_packet_capture_initial( + resource_group_name=resource_group_name, + virtual_network_gateway_connection_name=virtual_network_gateway_connection_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('str', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayConnectionName': self._serialize.url("virtual_network_gateway_connection_name", virtual_network_gateway_connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_start_packet_capture.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/startPacketCapture'} # type: ignore + + def _stop_packet_capture_initial( + self, + resource_group_name, # type: str + virtual_network_gateway_connection_name, # type: str + parameters, # type: "_models.VpnPacketCaptureStopParameters" + **kwargs # type: Any + ): + # type: (...) -> Optional[str] + cls = kwargs.pop('cls', None) # type: ClsType[Optional[str]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._stop_packet_capture_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayConnectionName': self._serialize.url("virtual_network_gateway_connection_name", virtual_network_gateway_connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'VpnPacketCaptureStopParameters') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.Error, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('str', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _stop_packet_capture_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/stopPacketCapture'} # type: ignore + + def begin_stop_packet_capture( + self, + resource_group_name, # type: str + virtual_network_gateway_connection_name, # type: str + parameters, # type: "_models.VpnPacketCaptureStopParameters" + **kwargs # type: Any + ): + # type: (...) -> LROPoller[str] + """Stops packet capture on virtual network gateway connection in the specified resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_gateway_connection_name: The name of the virtual network gateway + Connection. + :type virtual_network_gateway_connection_name: str + :param parameters: Virtual network gateway packet capture parameters supplied to stop packet + capture on gateway connection. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.VpnPacketCaptureStopParameters + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either str or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[str] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[str] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._stop_packet_capture_initial( + resource_group_name=resource_group_name, + virtual_network_gateway_connection_name=virtual_network_gateway_connection_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('str', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayConnectionName': self._serialize.url("virtual_network_gateway_connection_name", virtual_network_gateway_connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_stop_packet_capture.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/stopPacketCapture'} # type: ignore + + def _get_ike_sas_initial( + self, + resource_group_name, # type: str + virtual_network_gateway_connection_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Optional[str] + cls = kwargs.pop('cls', None) # type: ClsType[Optional[str]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._get_ike_sas_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayConnectionName': self._serialize.url("virtual_network_gateway_connection_name", virtual_network_gateway_connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('str', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _get_ike_sas_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/getikesas'} # type: ignore + + def begin_get_ike_sas( + self, + resource_group_name, # type: str + virtual_network_gateway_connection_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[str] + """Lists IKE Security Associations for the virtual network gateway connection in the specified + resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_gateway_connection_name: The name of the virtual network gateway + Connection. + :type virtual_network_gateway_connection_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either str or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[str] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[str] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._get_ike_sas_initial( + resource_group_name=resource_group_name, + virtual_network_gateway_connection_name=virtual_network_gateway_connection_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('str', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayConnectionName': self._serialize.url("virtual_network_gateway_connection_name", virtual_network_gateway_connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_get_ike_sas.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/getikesas'} # type: ignore + + def _reset_connection_initial( + self, + resource_group_name, # type: str + virtual_network_gateway_connection_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._reset_connection_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayConnectionName': self._serialize.url("virtual_network_gateway_connection_name", virtual_network_gateway_connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _reset_connection_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/resetconnection'} # type: ignore + + def begin_reset_connection( + self, + resource_group_name, # type: str + virtual_network_gateway_connection_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Resets the virtual network gateway connection specified. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_gateway_connection_name: The name of the virtual network gateway + Connection. + :type virtual_network_gateway_connection_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._reset_connection_initial( + resource_group_name=resource_group_name, + virtual_network_gateway_connection_name=virtual_network_gateway_connection_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayConnectionName': self._serialize.url("virtual_network_gateway_connection_name", virtual_network_gateway_connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_reset_connection.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/resetconnection'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_virtual_network_gateway_nat_rules_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_virtual_network_gateway_nat_rules_operations.py new file mode 100644 index 000000000000..acd3e3520f39 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_virtual_network_gateway_nat_rules_operations.py @@ -0,0 +1,441 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class VirtualNetworkGatewayNatRulesOperations(object): + """VirtualNetworkGatewayNatRulesOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def get( + self, + resource_group_name, # type: str + virtual_network_gateway_name, # type: str + nat_rule_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.VirtualNetworkGatewayNatRule" + """Retrieves the details of a nat rule. + + :param resource_group_name: The resource group name of the Virtual Network Gateway. + :type resource_group_name: str + :param virtual_network_gateway_name: The name of the gateway. + :type virtual_network_gateway_name: str + :param nat_rule_name: The name of the nat rule. + :type nat_rule_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: VirtualNetworkGatewayNatRule, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.VirtualNetworkGatewayNatRule + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualNetworkGatewayNatRule"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'natRuleName': self._serialize.url("nat_rule_name", nat_rule_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('VirtualNetworkGatewayNatRule', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/natRules/{natRuleName}'} # type: ignore + + def _create_or_update_initial( + self, + resource_group_name, # type: str + virtual_network_gateway_name, # type: str + nat_rule_name, # type: str + nat_rule_parameters, # type: "_models.VirtualNetworkGatewayNatRule" + **kwargs # type: Any + ): + # type: (...) -> "_models.VirtualNetworkGatewayNatRule" + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualNetworkGatewayNatRule"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'natRuleName': self._serialize.url("nat_rule_name", nat_rule_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(nat_rule_parameters, 'VirtualNetworkGatewayNatRule') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('VirtualNetworkGatewayNatRule', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('VirtualNetworkGatewayNatRule', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/natRules/{natRuleName}'} # type: ignore + + def begin_create_or_update( + self, + resource_group_name, # type: str + virtual_network_gateway_name, # type: str + nat_rule_name, # type: str + nat_rule_parameters, # type: "_models.VirtualNetworkGatewayNatRule" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.VirtualNetworkGatewayNatRule"] + """Creates a nat rule to a scalable virtual network gateway if it doesn't exist else updates the + existing nat rules. + + :param resource_group_name: The resource group name of the Virtual Network Gateway. + :type resource_group_name: str + :param virtual_network_gateway_name: The name of the gateway. + :type virtual_network_gateway_name: str + :param nat_rule_name: The name of the nat rule. + :type nat_rule_name: str + :param nat_rule_parameters: Parameters supplied to create or Update a Nat Rule. + :type nat_rule_parameters: ~azure.mgmt.network.v2021_02_01.models.VirtualNetworkGatewayNatRule + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either VirtualNetworkGatewayNatRule or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.VirtualNetworkGatewayNatRule] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualNetworkGatewayNatRule"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + resource_group_name=resource_group_name, + virtual_network_gateway_name=virtual_network_gateway_name, + nat_rule_name=nat_rule_name, + nat_rule_parameters=nat_rule_parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('VirtualNetworkGatewayNatRule', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'natRuleName': self._serialize.url("nat_rule_name", nat_rule_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/natRules/{natRuleName}'} # type: ignore + + def _delete_initial( + self, + resource_group_name, # type: str + virtual_network_gateway_name, # type: str + nat_rule_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'natRuleName': self._serialize.url("nat_rule_name", nat_rule_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/natRules/{natRuleName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + virtual_network_gateway_name, # type: str + nat_rule_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes a nat rule. + + :param resource_group_name: The resource group name of the Virtual Network Gateway. + :type resource_group_name: str + :param virtual_network_gateway_name: The name of the gateway. + :type virtual_network_gateway_name: str + :param nat_rule_name: The name of the nat rule. + :type nat_rule_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + virtual_network_gateway_name=virtual_network_gateway_name, + nat_rule_name=nat_rule_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'natRuleName': self._serialize.url("nat_rule_name", nat_rule_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/natRules/{natRuleName}'} # type: ignore + + def list_by_virtual_network_gateway( + self, + resource_group_name, # type: str + virtual_network_gateway_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.ListVirtualNetworkGatewayNatRulesResult"] + """Retrieves all nat rules for a particular virtual network gateway. + + :param resource_group_name: The resource group name of the virtual network gateway. + :type resource_group_name: str + :param virtual_network_gateway_name: The name of the gateway. + :type virtual_network_gateway_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ListVirtualNetworkGatewayNatRulesResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.ListVirtualNetworkGatewayNatRulesResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ListVirtualNetworkGatewayNatRulesResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_virtual_network_gateway.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('ListVirtualNetworkGatewayNatRulesResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_virtual_network_gateway.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/natRules'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_virtual_network_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_virtual_network_gateways_operations.py new file mode 100644 index 000000000000..50bf1db4cd7c --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_virtual_network_gateways_operations.py @@ -0,0 +1,2483 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class VirtualNetworkGatewaysOperations(object): + """VirtualNetworkGatewaysOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def _create_or_update_initial( + self, + resource_group_name, # type: str + virtual_network_gateway_name, # type: str + parameters, # type: "_models.VirtualNetworkGateway" + **kwargs # type: Any + ): + # type: (...) -> "_models.VirtualNetworkGateway" + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualNetworkGateway"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'VirtualNetworkGateway') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('VirtualNetworkGateway', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('VirtualNetworkGateway', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}'} # type: ignore + + def begin_create_or_update( + self, + resource_group_name, # type: str + virtual_network_gateway_name, # type: str + parameters, # type: "_models.VirtualNetworkGateway" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.VirtualNetworkGateway"] + """Creates or updates a virtual network gateway in the specified resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_gateway_name: The name of the virtual network gateway. + :type virtual_network_gateway_name: str + :param parameters: Parameters supplied to create or update virtual network gateway operation. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.VirtualNetworkGateway + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.VirtualNetworkGateway] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualNetworkGateway"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + resource_group_name=resource_group_name, + virtual_network_gateway_name=virtual_network_gateway_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('VirtualNetworkGateway', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}'} # type: ignore + + def get( + self, + resource_group_name, # type: str + virtual_network_gateway_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.VirtualNetworkGateway" + """Gets the specified virtual network gateway by resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_gateway_name: The name of the virtual network gateway. + :type virtual_network_gateway_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: VirtualNetworkGateway, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.VirtualNetworkGateway + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualNetworkGateway"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('VirtualNetworkGateway', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}'} # type: ignore + + def _delete_initial( + self, + resource_group_name, # type: str + virtual_network_gateway_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + virtual_network_gateway_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the specified virtual network gateway. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_gateway_name: The name of the virtual network gateway. + :type virtual_network_gateway_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + virtual_network_gateway_name=virtual_network_gateway_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}'} # type: ignore + + def _update_tags_initial( + self, + resource_group_name, # type: str + virtual_network_gateway_name, # type: str + parameters, # type: "_models.TagsObject" + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.VirtualNetworkGateway"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.VirtualNetworkGateway"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._update_tags_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'TagsObject') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('VirtualNetworkGateway', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _update_tags_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}'} # type: ignore + + def begin_update_tags( + self, + resource_group_name, # type: str + virtual_network_gateway_name, # type: str + parameters, # type: "_models.TagsObject" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.VirtualNetworkGateway"] + """Updates a virtual network gateway tags. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_gateway_name: The name of the virtual network gateway. + :type virtual_network_gateway_name: str + :param parameters: Parameters supplied to update virtual network gateway tags. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.TagsObject + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.VirtualNetworkGateway] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualNetworkGateway"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._update_tags_initial( + resource_group_name=resource_group_name, + virtual_network_gateway_name=virtual_network_gateway_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('VirtualNetworkGateway', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}'} # type: ignore + + def list( + self, + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.VirtualNetworkGatewayListResult"] + """Gets all virtual network gateways by resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either VirtualNetworkGatewayListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.VirtualNetworkGatewayListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualNetworkGatewayListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('VirtualNetworkGatewayListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways'} # type: ignore + + def list_connections( + self, + resource_group_name, # type: str + virtual_network_gateway_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.VirtualNetworkGatewayListConnectionsResult"] + """Gets all the connections in a virtual network gateway. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_gateway_name: The name of the virtual network gateway. + :type virtual_network_gateway_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either VirtualNetworkGatewayListConnectionsResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.VirtualNetworkGatewayListConnectionsResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualNetworkGatewayListConnectionsResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_connections.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('VirtualNetworkGatewayListConnectionsResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_connections.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/connections'} # type: ignore + + def _reset_initial( + self, + resource_group_name, # type: str + virtual_network_gateway_name, # type: str + gateway_vip=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.VirtualNetworkGateway"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.VirtualNetworkGateway"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._reset_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + if gateway_vip is not None: + query_parameters['gatewayVip'] = self._serialize.query("gateway_vip", gateway_vip, 'str') + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('VirtualNetworkGateway', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _reset_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/reset'} # type: ignore + + def begin_reset( + self, + resource_group_name, # type: str + virtual_network_gateway_name, # type: str + gateway_vip=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.VirtualNetworkGateway"] + """Resets the primary of the virtual network gateway in the specified resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_gateway_name: The name of the virtual network gateway. + :type virtual_network_gateway_name: str + :param gateway_vip: Virtual network gateway vip address supplied to the begin reset of the + active-active feature enabled gateway. + :type gateway_vip: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.VirtualNetworkGateway] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualNetworkGateway"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._reset_initial( + resource_group_name=resource_group_name, + virtual_network_gateway_name=virtual_network_gateway_name, + gateway_vip=gateway_vip, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('VirtualNetworkGateway', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_reset.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/reset'} # type: ignore + + def _reset_vpn_client_shared_key_initial( + self, + resource_group_name, # type: str + virtual_network_gateway_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._reset_vpn_client_shared_key_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _reset_vpn_client_shared_key_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/resetvpnclientsharedkey'} # type: ignore + + def begin_reset_vpn_client_shared_key( + self, + resource_group_name, # type: str + virtual_network_gateway_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Resets the VPN client shared key of the virtual network gateway in the specified resource + group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_gateway_name: The name of the virtual network gateway. + :type virtual_network_gateway_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._reset_vpn_client_shared_key_initial( + resource_group_name=resource_group_name, + virtual_network_gateway_name=virtual_network_gateway_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_reset_vpn_client_shared_key.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/resetvpnclientsharedkey'} # type: ignore + + def _generatevpnclientpackage_initial( + self, + resource_group_name, # type: str + virtual_network_gateway_name, # type: str + parameters, # type: "_models.VpnClientParameters" + **kwargs # type: Any + ): + # type: (...) -> Optional[str] + cls = kwargs.pop('cls', None) # type: ClsType[Optional[str]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._generatevpnclientpackage_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'VpnClientParameters') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('str', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _generatevpnclientpackage_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/generatevpnclientpackage'} # type: ignore + + def begin_generatevpnclientpackage( + self, + resource_group_name, # type: str + virtual_network_gateway_name, # type: str + parameters, # type: "_models.VpnClientParameters" + **kwargs # type: Any + ): + # type: (...) -> LROPoller[str] + """Generates VPN client package for P2S client of the virtual network gateway in the specified + resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_gateway_name: The name of the virtual network gateway. + :type virtual_network_gateway_name: str + :param parameters: Parameters supplied to the generate virtual network gateway VPN client + package operation. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.VpnClientParameters + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either str or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[str] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[str] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._generatevpnclientpackage_initial( + resource_group_name=resource_group_name, + virtual_network_gateway_name=virtual_network_gateway_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('str', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_generatevpnclientpackage.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/generatevpnclientpackage'} # type: ignore + + def _generate_vpn_profile_initial( + self, + resource_group_name, # type: str + virtual_network_gateway_name, # type: str + parameters, # type: "_models.VpnClientParameters" + **kwargs # type: Any + ): + # type: (...) -> Optional[str] + cls = kwargs.pop('cls', None) # type: ClsType[Optional[str]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._generate_vpn_profile_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'VpnClientParameters') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('str', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _generate_vpn_profile_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/generatevpnprofile'} # type: ignore + + def begin_generate_vpn_profile( + self, + resource_group_name, # type: str + virtual_network_gateway_name, # type: str + parameters, # type: "_models.VpnClientParameters" + **kwargs # type: Any + ): + # type: (...) -> LROPoller[str] + """Generates VPN profile for P2S client of the virtual network gateway in the specified resource + group. Used for IKEV2 and radius based authentication. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_gateway_name: The name of the virtual network gateway. + :type virtual_network_gateway_name: str + :param parameters: Parameters supplied to the generate virtual network gateway VPN client + package operation. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.VpnClientParameters + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either str or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[str] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[str] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._generate_vpn_profile_initial( + resource_group_name=resource_group_name, + virtual_network_gateway_name=virtual_network_gateway_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('str', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_generate_vpn_profile.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/generatevpnprofile'} # type: ignore + + def _get_vpn_profile_package_url_initial( + self, + resource_group_name, # type: str + virtual_network_gateway_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Optional[str] + cls = kwargs.pop('cls', None) # type: ClsType[Optional[str]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._get_vpn_profile_package_url_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('str', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _get_vpn_profile_package_url_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getvpnprofilepackageurl'} # type: ignore + + def begin_get_vpn_profile_package_url( + self, + resource_group_name, # type: str + virtual_network_gateway_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[str] + """Gets pre-generated VPN profile for P2S client of the virtual network gateway in the specified + resource group. The profile needs to be generated first using generateVpnProfile. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_gateway_name: The name of the virtual network gateway. + :type virtual_network_gateway_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either str or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[str] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[str] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._get_vpn_profile_package_url_initial( + resource_group_name=resource_group_name, + virtual_network_gateway_name=virtual_network_gateway_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('str', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_get_vpn_profile_package_url.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getvpnprofilepackageurl'} # type: ignore + + def _get_bgp_peer_status_initial( + self, + resource_group_name, # type: str + virtual_network_gateway_name, # type: str + peer=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.BgpPeerStatusListResult"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.BgpPeerStatusListResult"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._get_bgp_peer_status_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + if peer is not None: + query_parameters['peer'] = self._serialize.query("peer", peer, 'str') + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('BgpPeerStatusListResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _get_bgp_peer_status_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getBgpPeerStatus'} # type: ignore + + def begin_get_bgp_peer_status( + self, + resource_group_name, # type: str + virtual_network_gateway_name, # type: str + peer=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.BgpPeerStatusListResult"] + """The GetBgpPeerStatus operation retrieves the status of all BGP peers. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_gateway_name: The name of the virtual network gateway. + :type virtual_network_gateway_name: str + :param peer: The IP address of the peer to retrieve the status of. + :type peer: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either BgpPeerStatusListResult or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.BgpPeerStatusListResult] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.BgpPeerStatusListResult"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._get_bgp_peer_status_initial( + resource_group_name=resource_group_name, + virtual_network_gateway_name=virtual_network_gateway_name, + peer=peer, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('BgpPeerStatusListResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_get_bgp_peer_status.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getBgpPeerStatus'} # type: ignore + + def supported_vpn_devices( + self, + resource_group_name, # type: str + virtual_network_gateway_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> str + """Gets a xml format representation for supported vpn devices. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_gateway_name: The name of the virtual network gateway. + :type virtual_network_gateway_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: str, or the result of cls(response) + :rtype: str + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType[str] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.supported_vpn_devices.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('str', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + supported_vpn_devices.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/supportedvpndevices'} # type: ignore + + def _get_learned_routes_initial( + self, + resource_group_name, # type: str + virtual_network_gateway_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.GatewayRouteListResult"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.GatewayRouteListResult"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._get_learned_routes_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('GatewayRouteListResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _get_learned_routes_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getLearnedRoutes'} # type: ignore + + def begin_get_learned_routes( + self, + resource_group_name, # type: str + virtual_network_gateway_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.GatewayRouteListResult"] + """This operation retrieves a list of routes the virtual network gateway has learned, including + routes learned from BGP peers. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_gateway_name: The name of the virtual network gateway. + :type virtual_network_gateway_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either GatewayRouteListResult or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.GatewayRouteListResult] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.GatewayRouteListResult"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._get_learned_routes_initial( + resource_group_name=resource_group_name, + virtual_network_gateway_name=virtual_network_gateway_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('GatewayRouteListResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_get_learned_routes.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getLearnedRoutes'} # type: ignore + + def _get_advertised_routes_initial( + self, + resource_group_name, # type: str + virtual_network_gateway_name, # type: str + peer, # type: str + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.GatewayRouteListResult"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.GatewayRouteListResult"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._get_advertised_routes_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['peer'] = self._serialize.query("peer", peer, 'str') + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('GatewayRouteListResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _get_advertised_routes_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getAdvertisedRoutes'} # type: ignore + + def begin_get_advertised_routes( + self, + resource_group_name, # type: str + virtual_network_gateway_name, # type: str + peer, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.GatewayRouteListResult"] + """This operation retrieves a list of routes the virtual network gateway is advertising to the + specified peer. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_gateway_name: The name of the virtual network gateway. + :type virtual_network_gateway_name: str + :param peer: The IP address of the peer. + :type peer: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either GatewayRouteListResult or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.GatewayRouteListResult] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.GatewayRouteListResult"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._get_advertised_routes_initial( + resource_group_name=resource_group_name, + virtual_network_gateway_name=virtual_network_gateway_name, + peer=peer, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('GatewayRouteListResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_get_advertised_routes.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getAdvertisedRoutes'} # type: ignore + + def _set_vpnclient_ipsec_parameters_initial( + self, + resource_group_name, # type: str + virtual_network_gateway_name, # type: str + vpnclient_ipsec_params, # type: "_models.VpnClientIPsecParameters" + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.VpnClientIPsecParameters"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.VpnClientIPsecParameters"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._set_vpnclient_ipsec_parameters_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(vpnclient_ipsec_params, 'VpnClientIPsecParameters') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('VpnClientIPsecParameters', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _set_vpnclient_ipsec_parameters_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/setvpnclientipsecparameters'} # type: ignore + + def begin_set_vpnclient_ipsec_parameters( + self, + resource_group_name, # type: str + virtual_network_gateway_name, # type: str + vpnclient_ipsec_params, # type: "_models.VpnClientIPsecParameters" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.VpnClientIPsecParameters"] + """The Set VpnclientIpsecParameters operation sets the vpnclient ipsec policy for P2S client of + virtual network gateway in the specified resource group through Network resource provider. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_gateway_name: The name of the virtual network gateway. + :type virtual_network_gateway_name: str + :param vpnclient_ipsec_params: Parameters supplied to the Begin Set vpnclient ipsec parameters + of Virtual Network Gateway P2S client operation through Network resource provider. + :type vpnclient_ipsec_params: ~azure.mgmt.network.v2021_02_01.models.VpnClientIPsecParameters + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either VpnClientIPsecParameters or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.VpnClientIPsecParameters] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.VpnClientIPsecParameters"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._set_vpnclient_ipsec_parameters_initial( + resource_group_name=resource_group_name, + virtual_network_gateway_name=virtual_network_gateway_name, + vpnclient_ipsec_params=vpnclient_ipsec_params, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('VpnClientIPsecParameters', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_set_vpnclient_ipsec_parameters.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/setvpnclientipsecparameters'} # type: ignore + + def _get_vpnclient_ipsec_parameters_initial( + self, + resource_group_name, # type: str + virtual_network_gateway_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.VpnClientIPsecParameters" + cls = kwargs.pop('cls', None) # type: ClsType["_models.VpnClientIPsecParameters"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._get_vpnclient_ipsec_parameters_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('VpnClientIPsecParameters', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _get_vpnclient_ipsec_parameters_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getvpnclientipsecparameters'} # type: ignore + + def begin_get_vpnclient_ipsec_parameters( + self, + resource_group_name, # type: str + virtual_network_gateway_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.VpnClientIPsecParameters"] + """The Get VpnclientIpsecParameters operation retrieves information about the vpnclient ipsec + policy for P2S client of virtual network gateway in the specified resource group through + Network resource provider. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_gateway_name: The virtual network gateway name. + :type virtual_network_gateway_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either VpnClientIPsecParameters or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.VpnClientIPsecParameters] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.VpnClientIPsecParameters"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._get_vpnclient_ipsec_parameters_initial( + resource_group_name=resource_group_name, + virtual_network_gateway_name=virtual_network_gateway_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('VpnClientIPsecParameters', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_get_vpnclient_ipsec_parameters.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getvpnclientipsecparameters'} # type: ignore + + def vpn_device_configuration_script( + self, + resource_group_name, # type: str + virtual_network_gateway_connection_name, # type: str + parameters, # type: "_models.VpnDeviceScriptParameters" + **kwargs # type: Any + ): + # type: (...) -> str + """Gets a xml format representation for vpn device configuration script. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_gateway_connection_name: The name of the virtual network gateway + connection for which the configuration script is generated. + :type virtual_network_gateway_connection_name: str + :param parameters: Parameters supplied to the generate vpn device script operation. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.VpnDeviceScriptParameters + :keyword callable cls: A custom type or function that will be passed the direct response + :return: str, or the result of cls(response) + :rtype: str + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType[str] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.vpn_device_configuration_script.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayConnectionName': self._serialize.url("virtual_network_gateway_connection_name", virtual_network_gateway_connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'VpnDeviceScriptParameters') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('str', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + vpn_device_configuration_script.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/vpndeviceconfigurationscript'} # type: ignore + + def _start_packet_capture_initial( + self, + resource_group_name, # type: str + virtual_network_gateway_name, # type: str + parameters=None, # type: Optional["_models.VpnPacketCaptureStartParameters"] + **kwargs # type: Any + ): + # type: (...) -> Optional[str] + cls = kwargs.pop('cls', None) # type: ClsType[Optional[str]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._start_packet_capture_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + if parameters is not None: + body_content = self._serialize.body(parameters, 'VpnPacketCaptureStartParameters') + else: + body_content = None + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.Error, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('str', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _start_packet_capture_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/startPacketCapture'} # type: ignore + + def begin_start_packet_capture( + self, + resource_group_name, # type: str + virtual_network_gateway_name, # type: str + parameters=None, # type: Optional["_models.VpnPacketCaptureStartParameters"] + **kwargs # type: Any + ): + # type: (...) -> LROPoller[str] + """Starts packet capture on virtual network gateway in the specified resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_gateway_name: The name of the virtual network gateway. + :type virtual_network_gateway_name: str + :param parameters: Virtual network gateway packet capture parameters supplied to start packet + capture on gateway. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.VpnPacketCaptureStartParameters + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either str or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[str] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[str] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._start_packet_capture_initial( + resource_group_name=resource_group_name, + virtual_network_gateway_name=virtual_network_gateway_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('str', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_start_packet_capture.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/startPacketCapture'} # type: ignore + + def _stop_packet_capture_initial( + self, + resource_group_name, # type: str + virtual_network_gateway_name, # type: str + parameters, # type: "_models.VpnPacketCaptureStopParameters" + **kwargs # type: Any + ): + # type: (...) -> Optional[str] + cls = kwargs.pop('cls', None) # type: ClsType[Optional[str]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._stop_packet_capture_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'VpnPacketCaptureStopParameters') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.Error, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('str', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _stop_packet_capture_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/stopPacketCapture'} # type: ignore + + def begin_stop_packet_capture( + self, + resource_group_name, # type: str + virtual_network_gateway_name, # type: str + parameters, # type: "_models.VpnPacketCaptureStopParameters" + **kwargs # type: Any + ): + # type: (...) -> LROPoller[str] + """Stops packet capture on virtual network gateway in the specified resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_gateway_name: The name of the virtual network gateway. + :type virtual_network_gateway_name: str + :param parameters: Virtual network gateway packet capture parameters supplied to stop packet + capture on gateway. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.VpnPacketCaptureStopParameters + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either str or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[str] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[str] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._stop_packet_capture_initial( + resource_group_name=resource_group_name, + virtual_network_gateway_name=virtual_network_gateway_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('str', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_stop_packet_capture.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/stopPacketCapture'} # type: ignore + + def _get_vpnclient_connection_health_initial( + self, + resource_group_name, # type: str + virtual_network_gateway_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.VpnClientConnectionHealthDetailListResult"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.VpnClientConnectionHealthDetailListResult"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._get_vpnclient_connection_health_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('VpnClientConnectionHealthDetailListResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _get_vpnclient_connection_health_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getVpnClientConnectionHealth'} # type: ignore + + def begin_get_vpnclient_connection_health( + self, + resource_group_name, # type: str + virtual_network_gateway_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.VpnClientConnectionHealthDetailListResult"] + """Get VPN client connection health detail per P2S client connection of the virtual network + gateway in the specified resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_gateway_name: The name of the virtual network gateway. + :type virtual_network_gateway_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either VpnClientConnectionHealthDetailListResult or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.VpnClientConnectionHealthDetailListResult] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.VpnClientConnectionHealthDetailListResult"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._get_vpnclient_connection_health_initial( + resource_group_name=resource_group_name, + virtual_network_gateway_name=virtual_network_gateway_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('VpnClientConnectionHealthDetailListResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_get_vpnclient_connection_health.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getVpnClientConnectionHealth'} # type: ignore + + def _disconnect_virtual_network_gateway_vpn_connections_initial( + self, + resource_group_name, # type: str + virtual_network_gateway_name, # type: str + request, # type: "_models.P2SVpnConnectionRequest" + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._disconnect_virtual_network_gateway_vpn_connections_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(request, 'P2SVpnConnectionRequest') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _disconnect_virtual_network_gateway_vpn_connections_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/disconnectVirtualNetworkGatewayVpnConnections'} # type: ignore + + def begin_disconnect_virtual_network_gateway_vpn_connections( + self, + resource_group_name, # type: str + virtual_network_gateway_name, # type: str + request, # type: "_models.P2SVpnConnectionRequest" + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Disconnect vpn connections of virtual network gateway in the specified resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_gateway_name: The name of the virtual network gateway. + :type virtual_network_gateway_name: str + :param request: The parameters are supplied to disconnect vpn connections. + :type request: ~azure.mgmt.network.v2021_02_01.models.P2SVpnConnectionRequest + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._disconnect_virtual_network_gateway_vpn_connections_initial( + resource_group_name=resource_group_name, + virtual_network_gateway_name=virtual_network_gateway_name, + request=request, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkGatewayName': self._serialize.url("virtual_network_gateway_name", virtual_network_gateway_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_disconnect_virtual_network_gateway_vpn_connections.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/disconnectVirtualNetworkGatewayVpnConnections'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_virtual_network_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_virtual_network_peerings_operations.py new file mode 100644 index 000000000000..c90f7512bddb --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_virtual_network_peerings_operations.py @@ -0,0 +1,449 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class VirtualNetworkPeeringsOperations(object): + """VirtualNetworkPeeringsOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def _delete_initial( + self, + resource_group_name, # type: str + virtual_network_name, # type: str + virtual_network_peering_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkName': self._serialize.url("virtual_network_name", virtual_network_name, 'str'), + 'virtualNetworkPeeringName': self._serialize.url("virtual_network_peering_name", virtual_network_peering_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/virtualNetworkPeerings/{virtualNetworkPeeringName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + virtual_network_name, # type: str + virtual_network_peering_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the specified virtual network peering. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_name: The name of the virtual network. + :type virtual_network_name: str + :param virtual_network_peering_name: The name of the virtual network peering. + :type virtual_network_peering_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + virtual_network_name=virtual_network_name, + virtual_network_peering_name=virtual_network_peering_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkName': self._serialize.url("virtual_network_name", virtual_network_name, 'str'), + 'virtualNetworkPeeringName': self._serialize.url("virtual_network_peering_name", virtual_network_peering_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/virtualNetworkPeerings/{virtualNetworkPeeringName}'} # type: ignore + + def get( + self, + resource_group_name, # type: str + virtual_network_name, # type: str + virtual_network_peering_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.VirtualNetworkPeering" + """Gets the specified virtual network peering. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_name: The name of the virtual network. + :type virtual_network_name: str + :param virtual_network_peering_name: The name of the virtual network peering. + :type virtual_network_peering_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: VirtualNetworkPeering, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.VirtualNetworkPeering + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualNetworkPeering"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkName': self._serialize.url("virtual_network_name", virtual_network_name, 'str'), + 'virtualNetworkPeeringName': self._serialize.url("virtual_network_peering_name", virtual_network_peering_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('VirtualNetworkPeering', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/virtualNetworkPeerings/{virtualNetworkPeeringName}'} # type: ignore + + def _create_or_update_initial( + self, + resource_group_name, # type: str + virtual_network_name, # type: str + virtual_network_peering_name, # type: str + virtual_network_peering_parameters, # type: "_models.VirtualNetworkPeering" + sync_remote_address_space=None, # type: Optional[Union[str, "_models.SyncRemoteAddressSpace"]] + **kwargs # type: Any + ): + # type: (...) -> "_models.VirtualNetworkPeering" + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualNetworkPeering"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkName': self._serialize.url("virtual_network_name", virtual_network_name, 'str'), + 'virtualNetworkPeeringName': self._serialize.url("virtual_network_peering_name", virtual_network_peering_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + if sync_remote_address_space is not None: + query_parameters['syncRemoteAddressSpace'] = self._serialize.query("sync_remote_address_space", sync_remote_address_space, 'str') + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(virtual_network_peering_parameters, 'VirtualNetworkPeering') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('VirtualNetworkPeering', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('VirtualNetworkPeering', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/virtualNetworkPeerings/{virtualNetworkPeeringName}'} # type: ignore + + def begin_create_or_update( + self, + resource_group_name, # type: str + virtual_network_name, # type: str + virtual_network_peering_name, # type: str + virtual_network_peering_parameters, # type: "_models.VirtualNetworkPeering" + sync_remote_address_space=None, # type: Optional[Union[str, "_models.SyncRemoteAddressSpace"]] + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.VirtualNetworkPeering"] + """Creates or updates a peering in the specified virtual network. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_name: The name of the virtual network. + :type virtual_network_name: str + :param virtual_network_peering_name: The name of the peering. + :type virtual_network_peering_name: str + :param virtual_network_peering_parameters: Parameters supplied to the create or update virtual + network peering operation. + :type virtual_network_peering_parameters: ~azure.mgmt.network.v2021_02_01.models.VirtualNetworkPeering + :param sync_remote_address_space: Parameter indicates the intention to sync the peering with + the current address space on the remote vNet after it's updated. + :type sync_remote_address_space: str or ~azure.mgmt.network.v2021_02_01.models.SyncRemoteAddressSpace + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either VirtualNetworkPeering or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.VirtualNetworkPeering] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualNetworkPeering"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + resource_group_name=resource_group_name, + virtual_network_name=virtual_network_name, + virtual_network_peering_name=virtual_network_peering_name, + virtual_network_peering_parameters=virtual_network_peering_parameters, + sync_remote_address_space=sync_remote_address_space, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('VirtualNetworkPeering', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkName': self._serialize.url("virtual_network_name", virtual_network_name, 'str'), + 'virtualNetworkPeeringName': self._serialize.url("virtual_network_peering_name", virtual_network_peering_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/virtualNetworkPeerings/{virtualNetworkPeeringName}'} # type: ignore + + def list( + self, + resource_group_name, # type: str + virtual_network_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.VirtualNetworkPeeringListResult"] + """Gets all virtual network peerings in a virtual network. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_name: The name of the virtual network. + :type virtual_network_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either VirtualNetworkPeeringListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.VirtualNetworkPeeringListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualNetworkPeeringListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkName': self._serialize.url("virtual_network_name", virtual_network_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('VirtualNetworkPeeringListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/virtualNetworkPeerings'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_virtual_network_taps_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_virtual_network_taps_operations.py new file mode 100644 index 000000000000..3a7a51e240cb --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_virtual_network_taps_operations.py @@ -0,0 +1,552 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class VirtualNetworkTapsOperations(object): + """VirtualNetworkTapsOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def _delete_initial( + self, + resource_group_name, # type: str + tap_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'tapName': self._serialize.url("tap_name", tap_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkTaps/{tapName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + tap_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the specified virtual network tap. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param tap_name: The name of the virtual network tap. + :type tap_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + tap_name=tap_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'tapName': self._serialize.url("tap_name", tap_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkTaps/{tapName}'} # type: ignore + + def get( + self, + resource_group_name, # type: str + tap_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.VirtualNetworkTap" + """Gets information about the specified virtual network tap. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param tap_name: The name of virtual network tap. + :type tap_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: VirtualNetworkTap, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.VirtualNetworkTap + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualNetworkTap"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'tapName': self._serialize.url("tap_name", tap_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('VirtualNetworkTap', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkTaps/{tapName}'} # type: ignore + + def _create_or_update_initial( + self, + resource_group_name, # type: str + tap_name, # type: str + parameters, # type: "_models.VirtualNetworkTap" + **kwargs # type: Any + ): + # type: (...) -> "_models.VirtualNetworkTap" + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualNetworkTap"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'tapName': self._serialize.url("tap_name", tap_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'VirtualNetworkTap') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('VirtualNetworkTap', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('VirtualNetworkTap', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkTaps/{tapName}'} # type: ignore + + def begin_create_or_update( + self, + resource_group_name, # type: str + tap_name, # type: str + parameters, # type: "_models.VirtualNetworkTap" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.VirtualNetworkTap"] + """Creates or updates a Virtual Network Tap. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param tap_name: The name of the virtual network tap. + :type tap_name: str + :param parameters: Parameters supplied to the create or update virtual network tap operation. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.VirtualNetworkTap + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either VirtualNetworkTap or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.VirtualNetworkTap] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualNetworkTap"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + resource_group_name=resource_group_name, + tap_name=tap_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('VirtualNetworkTap', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'tapName': self._serialize.url("tap_name", tap_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkTaps/{tapName}'} # type: ignore + + def update_tags( + self, + resource_group_name, # type: str + tap_name, # type: str + tap_parameters, # type: "_models.TagsObject" + **kwargs # type: Any + ): + # type: (...) -> "_models.VirtualNetworkTap" + """Updates an VirtualNetworkTap tags. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param tap_name: The name of the tap. + :type tap_name: str + :param tap_parameters: Parameters supplied to update VirtualNetworkTap tags. + :type tap_parameters: ~azure.mgmt.network.v2021_02_01.models.TagsObject + :keyword callable cls: A custom type or function that will be passed the direct response + :return: VirtualNetworkTap, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.VirtualNetworkTap + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualNetworkTap"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update_tags.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'tapName': self._serialize.url("tap_name", tap_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(tap_parameters, 'TagsObject') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('VirtualNetworkTap', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkTaps/{tapName}'} # type: ignore + + def list_all( + self, + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.VirtualNetworkTapListResult"] + """Gets all the VirtualNetworkTaps in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either VirtualNetworkTapListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.VirtualNetworkTapListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualNetworkTapListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_all.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('VirtualNetworkTapListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_all.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualNetworkTaps'} # type: ignore + + def list_by_resource_group( + self, + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.VirtualNetworkTapListResult"] + """Gets all the VirtualNetworkTaps in a subscription. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either VirtualNetworkTapListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.VirtualNetworkTapListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualNetworkTapListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_resource_group.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('VirtualNetworkTapListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkTaps'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_virtual_networks_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_virtual_networks_operations.py new file mode 100644 index 000000000000..436c705a64eb --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_virtual_networks_operations.py @@ -0,0 +1,695 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class VirtualNetworksOperations(object): + """VirtualNetworksOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def _delete_initial( + self, + resource_group_name, # type: str + virtual_network_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkName': self._serialize.url("virtual_network_name", virtual_network_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + virtual_network_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the specified virtual network. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_name: The name of the virtual network. + :type virtual_network_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + virtual_network_name=virtual_network_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkName': self._serialize.url("virtual_network_name", virtual_network_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}'} # type: ignore + + def get( + self, + resource_group_name, # type: str + virtual_network_name, # type: str + expand=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> "_models.VirtualNetwork" + """Gets the specified virtual network by resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_name: The name of the virtual network. + :type virtual_network_name: str + :param expand: Expands referenced resources. + :type expand: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: VirtualNetwork, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.VirtualNetwork + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualNetwork"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkName': self._serialize.url("virtual_network_name", virtual_network_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('VirtualNetwork', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}'} # type: ignore + + def _create_or_update_initial( + self, + resource_group_name, # type: str + virtual_network_name, # type: str + parameters, # type: "_models.VirtualNetwork" + **kwargs # type: Any + ): + # type: (...) -> "_models.VirtualNetwork" + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualNetwork"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkName': self._serialize.url("virtual_network_name", virtual_network_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'VirtualNetwork') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('VirtualNetwork', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('VirtualNetwork', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}'} # type: ignore + + def begin_create_or_update( + self, + resource_group_name, # type: str + virtual_network_name, # type: str + parameters, # type: "_models.VirtualNetwork" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.VirtualNetwork"] + """Creates or updates a virtual network in the specified resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_name: The name of the virtual network. + :type virtual_network_name: str + :param parameters: Parameters supplied to the create or update virtual network operation. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.VirtualNetwork + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either VirtualNetwork or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.VirtualNetwork] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualNetwork"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + resource_group_name=resource_group_name, + virtual_network_name=virtual_network_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('VirtualNetwork', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkName': self._serialize.url("virtual_network_name", virtual_network_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}'} # type: ignore + + def update_tags( + self, + resource_group_name, # type: str + virtual_network_name, # type: str + parameters, # type: "_models.TagsObject" + **kwargs # type: Any + ): + # type: (...) -> "_models.VirtualNetwork" + """Updates a virtual network tags. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_name: The name of the virtual network. + :type virtual_network_name: str + :param parameters: Parameters supplied to update virtual network tags. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.TagsObject + :keyword callable cls: A custom type or function that will be passed the direct response + :return: VirtualNetwork, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.VirtualNetwork + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualNetwork"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update_tags.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkName': self._serialize.url("virtual_network_name", virtual_network_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'TagsObject') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('VirtualNetwork', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}'} # type: ignore + + def list_all( + self, + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.VirtualNetworkListResult"] + """Gets all virtual networks in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either VirtualNetworkListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.VirtualNetworkListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualNetworkListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_all.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('VirtualNetworkListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_all.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualNetworks'} # type: ignore + + def list( + self, + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.VirtualNetworkListResult"] + """Gets all virtual networks in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either VirtualNetworkListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.VirtualNetworkListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualNetworkListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('VirtualNetworkListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks'} # type: ignore + + def check_ip_address_availability( + self, + resource_group_name, # type: str + virtual_network_name, # type: str + ip_address, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.IPAddressAvailabilityResult" + """Checks whether a private IP address is available for use. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_name: The name of the virtual network. + :type virtual_network_name: str + :param ip_address: The private IP address to be verified. + :type ip_address: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: IPAddressAvailabilityResult, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.IPAddressAvailabilityResult + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.IPAddressAvailabilityResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.check_ip_address_availability.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkName': self._serialize.url("virtual_network_name", virtual_network_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['ipAddress'] = self._serialize.query("ip_address", ip_address, 'str') + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('IPAddressAvailabilityResult', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + check_ip_address_availability.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/CheckIPAddressAvailability'} # type: ignore + + def list_usage( + self, + resource_group_name, # type: str + virtual_network_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.VirtualNetworkListUsageResult"] + """Lists usage stats. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_network_name: The name of the virtual network. + :type virtual_network_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either VirtualNetworkListUsageResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.VirtualNetworkListUsageResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualNetworkListUsageResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_usage.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualNetworkName': self._serialize.url("virtual_network_name", virtual_network_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('VirtualNetworkListUsageResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_usage.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/usages'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_virtual_router_peerings_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_virtual_router_peerings_operations.py new file mode 100644 index 000000000000..b775709d4424 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_virtual_router_peerings_operations.py @@ -0,0 +1,445 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class VirtualRouterPeeringsOperations(object): + """VirtualRouterPeeringsOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def _delete_initial( + self, + resource_group_name, # type: str + virtual_router_name, # type: str + peering_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualRouterName': self._serialize.url("virtual_router_name", virtual_router_name, 'str'), + 'peeringName': self._serialize.url("peering_name", peering_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.Error, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}/peerings/{peeringName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + virtual_router_name, # type: str + peering_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the specified peering from a Virtual Router. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_router_name: The name of the Virtual Router. + :type virtual_router_name: str + :param peering_name: The name of the peering. + :type peering_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + virtual_router_name=virtual_router_name, + peering_name=peering_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualRouterName': self._serialize.url("virtual_router_name", virtual_router_name, 'str'), + 'peeringName': self._serialize.url("peering_name", peering_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}/peerings/{peeringName}'} # type: ignore + + def get( + self, + resource_group_name, # type: str + virtual_router_name, # type: str + peering_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.VirtualRouterPeering" + """Gets the specified Virtual Router Peering. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_router_name: The name of the Virtual Router. + :type virtual_router_name: str + :param peering_name: The name of the Virtual Router Peering. + :type peering_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: VirtualRouterPeering, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.VirtualRouterPeering + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualRouterPeering"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualRouterName': self._serialize.url("virtual_router_name", virtual_router_name, 'str'), + 'peeringName': self._serialize.url("peering_name", peering_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.Error, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('VirtualRouterPeering', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}/peerings/{peeringName}'} # type: ignore + + def _create_or_update_initial( + self, + resource_group_name, # type: str + virtual_router_name, # type: str + peering_name, # type: str + parameters, # type: "_models.VirtualRouterPeering" + **kwargs # type: Any + ): + # type: (...) -> "_models.VirtualRouterPeering" + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualRouterPeering"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualRouterName': self._serialize.url("virtual_router_name", virtual_router_name, 'str'), + 'peeringName': self._serialize.url("peering_name", peering_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'VirtualRouterPeering') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.Error, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('VirtualRouterPeering', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('VirtualRouterPeering', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}/peerings/{peeringName}'} # type: ignore + + def begin_create_or_update( + self, + resource_group_name, # type: str + virtual_router_name, # type: str + peering_name, # type: str + parameters, # type: "_models.VirtualRouterPeering" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.VirtualRouterPeering"] + """Creates or updates the specified Virtual Router Peering. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_router_name: The name of the Virtual Router. + :type virtual_router_name: str + :param peering_name: The name of the Virtual Router Peering. + :type peering_name: str + :param parameters: Parameters supplied to the create or update Virtual Router Peering + operation. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.VirtualRouterPeering + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either VirtualRouterPeering or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.VirtualRouterPeering] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualRouterPeering"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + resource_group_name=resource_group_name, + virtual_router_name=virtual_router_name, + peering_name=peering_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('VirtualRouterPeering', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualRouterName': self._serialize.url("virtual_router_name", virtual_router_name, 'str'), + 'peeringName': self._serialize.url("peering_name", peering_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}/peerings/{peeringName}'} # type: ignore + + def list( + self, + resource_group_name, # type: str + virtual_router_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.VirtualRouterPeeringListResult"] + """Lists all Virtual Router Peerings in a Virtual Router resource. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_router_name: The name of the Virtual Router. + :type virtual_router_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either VirtualRouterPeeringListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.VirtualRouterPeeringListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualRouterPeeringListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualRouterName': self._serialize.url("virtual_router_name", virtual_router_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('VirtualRouterPeeringListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize(_models.Error, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}/peerings'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_virtual_routers_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_virtual_routers_operations.py new file mode 100644 index 000000000000..1348c354a997 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_virtual_routers_operations.py @@ -0,0 +1,495 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class VirtualRoutersOperations(object): + """VirtualRoutersOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def _delete_initial( + self, + resource_group_name, # type: str + virtual_router_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualRouterName': self._serialize.url("virtual_router_name", virtual_router_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.Error, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + virtual_router_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes the specified Virtual Router. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_router_name: The name of the Virtual Router. + :type virtual_router_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + virtual_router_name=virtual_router_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualRouterName': self._serialize.url("virtual_router_name", virtual_router_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}'} # type: ignore + + def get( + self, + resource_group_name, # type: str + virtual_router_name, # type: str + expand=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> "_models.VirtualRouter" + """Gets the specified Virtual Router. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_router_name: The name of the Virtual Router. + :type virtual_router_name: str + :param expand: Expands referenced resources. + :type expand: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: VirtualRouter, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.VirtualRouter + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualRouter"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualRouterName': self._serialize.url("virtual_router_name", virtual_router_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.Error, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = self._deserialize('VirtualRouter', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}'} # type: ignore + + def _create_or_update_initial( + self, + resource_group_name, # type: str + virtual_router_name, # type: str + parameters, # type: "_models.VirtualRouter" + **kwargs # type: Any + ): + # type: (...) -> "_models.VirtualRouter" + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualRouter"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualRouterName': self._serialize.url("virtual_router_name", virtual_router_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'VirtualRouter') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.Error, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('VirtualRouter', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('VirtualRouter', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}'} # type: ignore + + def begin_create_or_update( + self, + resource_group_name, # type: str + virtual_router_name, # type: str + parameters, # type: "_models.VirtualRouter" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.VirtualRouter"] + """Creates or updates the specified Virtual Router. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param virtual_router_name: The name of the Virtual Router. + :type virtual_router_name: str + :param parameters: Parameters supplied to the create or update Virtual Router. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.VirtualRouter + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either VirtualRouter or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.VirtualRouter] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualRouter"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + resource_group_name=resource_group_name, + virtual_router_name=virtual_router_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('VirtualRouter', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualRouterName': self._serialize.url("virtual_router_name", virtual_router_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}'} # type: ignore + + def list_by_resource_group( + self, + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.VirtualRouterListResult"] + """Lists all Virtual Routers in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either VirtualRouterListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.VirtualRouterListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualRouterListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_resource_group.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('VirtualRouterListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize(_models.Error, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters'} # type: ignore + + def list( + self, + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.VirtualRouterListResult"] + """Gets all the Virtual Routers in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either VirtualRouterListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.VirtualRouterListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualRouterListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('VirtualRouterListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize.failsafe_deserialize(_models.Error, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualRouters'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_virtual_wans_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_virtual_wans_operations.py new file mode 100644 index 000000000000..05f1f464ecca --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_virtual_wans_operations.py @@ -0,0 +1,552 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class VirtualWansOperations(object): + """VirtualWansOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def get( + self, + resource_group_name, # type: str + virtual_wan_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.VirtualWAN" + """Retrieves the details of a VirtualWAN. + + :param resource_group_name: The resource group name of the VirtualWan. + :type resource_group_name: str + :param virtual_wan_name: The name of the VirtualWAN being retrieved. + :type virtual_wan_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: VirtualWAN, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.VirtualWAN + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualWAN"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'VirtualWANName': self._serialize.url("virtual_wan_name", virtual_wan_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('VirtualWAN', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{VirtualWANName}'} # type: ignore + + def _create_or_update_initial( + self, + resource_group_name, # type: str + virtual_wan_name, # type: str + wan_parameters, # type: "_models.VirtualWAN" + **kwargs # type: Any + ): + # type: (...) -> "_models.VirtualWAN" + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualWAN"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'VirtualWANName': self._serialize.url("virtual_wan_name", virtual_wan_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(wan_parameters, 'VirtualWAN') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('VirtualWAN', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('VirtualWAN', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{VirtualWANName}'} # type: ignore + + def begin_create_or_update( + self, + resource_group_name, # type: str + virtual_wan_name, # type: str + wan_parameters, # type: "_models.VirtualWAN" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.VirtualWAN"] + """Creates a VirtualWAN resource if it doesn't exist else updates the existing VirtualWAN. + + :param resource_group_name: The resource group name of the VirtualWan. + :type resource_group_name: str + :param virtual_wan_name: The name of the VirtualWAN being created or updated. + :type virtual_wan_name: str + :param wan_parameters: Parameters supplied to create or update VirtualWAN. + :type wan_parameters: ~azure.mgmt.network.v2021_02_01.models.VirtualWAN + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either VirtualWAN or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.VirtualWAN] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualWAN"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + resource_group_name=resource_group_name, + virtual_wan_name=virtual_wan_name, + wan_parameters=wan_parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('VirtualWAN', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'VirtualWANName': self._serialize.url("virtual_wan_name", virtual_wan_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{VirtualWANName}'} # type: ignore + + def update_tags( + self, + resource_group_name, # type: str + virtual_wan_name, # type: str + wan_parameters, # type: "_models.TagsObject" + **kwargs # type: Any + ): + # type: (...) -> "_models.VirtualWAN" + """Updates a VirtualWAN tags. + + :param resource_group_name: The resource group name of the VirtualWan. + :type resource_group_name: str + :param virtual_wan_name: The name of the VirtualWAN being updated. + :type virtual_wan_name: str + :param wan_parameters: Parameters supplied to Update VirtualWAN tags. + :type wan_parameters: ~azure.mgmt.network.v2021_02_01.models.TagsObject + :keyword callable cls: A custom type or function that will be passed the direct response + :return: VirtualWAN, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.VirtualWAN + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.VirtualWAN"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update_tags.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'VirtualWANName': self._serialize.url("virtual_wan_name", virtual_wan_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(wan_parameters, 'TagsObject') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('VirtualWAN', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{VirtualWANName}'} # type: ignore + + def _delete_initial( + self, + resource_group_name, # type: str + virtual_wan_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'VirtualWANName': self._serialize.url("virtual_wan_name", virtual_wan_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{VirtualWANName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + virtual_wan_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes a VirtualWAN. + + :param resource_group_name: The resource group name of the VirtualWan. + :type resource_group_name: str + :param virtual_wan_name: The name of the VirtualWAN being deleted. + :type virtual_wan_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + virtual_wan_name=virtual_wan_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'VirtualWANName': self._serialize.url("virtual_wan_name", virtual_wan_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{VirtualWANName}'} # type: ignore + + def list_by_resource_group( + self, + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.ListVirtualWANsResult"] + """Lists all the VirtualWANs in a resource group. + + :param resource_group_name: The resource group name of the VirtualWan. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ListVirtualWANsResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.ListVirtualWANsResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ListVirtualWANsResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_resource_group.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('ListVirtualWANsResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans'} # type: ignore + + def list( + self, + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.ListVirtualWANsResult"] + """Lists all the VirtualWANs in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ListVirtualWANsResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.ListVirtualWANsResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ListVirtualWANsResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('ListVirtualWANsResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualWans'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_vpn_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_vpn_connections_operations.py new file mode 100644 index 000000000000..abf280c69461 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_vpn_connections_operations.py @@ -0,0 +1,719 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class VpnConnectionsOperations(object): + """VpnConnectionsOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def get( + self, + resource_group_name, # type: str + gateway_name, # type: str + connection_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.VpnConnection" + """Retrieves the details of a vpn connection. + + :param resource_group_name: The resource group name of the VpnGateway. + :type resource_group_name: str + :param gateway_name: The name of the gateway. + :type gateway_name: str + :param connection_name: The name of the vpn connection. + :type connection_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: VpnConnection, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.VpnConnection + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.VpnConnection"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + 'connectionName': self._serialize.url("connection_name", connection_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('VpnConnection', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}'} # type: ignore + + def _create_or_update_initial( + self, + resource_group_name, # type: str + gateway_name, # type: str + connection_name, # type: str + vpn_connection_parameters, # type: "_models.VpnConnection" + **kwargs # type: Any + ): + # type: (...) -> "_models.VpnConnection" + cls = kwargs.pop('cls', None) # type: ClsType["_models.VpnConnection"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + 'connectionName': self._serialize.url("connection_name", connection_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(vpn_connection_parameters, 'VpnConnection') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('VpnConnection', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('VpnConnection', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}'} # type: ignore + + def begin_create_or_update( + self, + resource_group_name, # type: str + gateway_name, # type: str + connection_name, # type: str + vpn_connection_parameters, # type: "_models.VpnConnection" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.VpnConnection"] + """Creates a vpn connection to a scalable vpn gateway if it doesn't exist else updates the + existing connection. + + :param resource_group_name: The resource group name of the VpnGateway. + :type resource_group_name: str + :param gateway_name: The name of the gateway. + :type gateway_name: str + :param connection_name: The name of the connection. + :type connection_name: str + :param vpn_connection_parameters: Parameters supplied to create or Update a VPN Connection. + :type vpn_connection_parameters: ~azure.mgmt.network.v2021_02_01.models.VpnConnection + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either VpnConnection or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.VpnConnection] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.VpnConnection"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + resource_group_name=resource_group_name, + gateway_name=gateway_name, + connection_name=connection_name, + vpn_connection_parameters=vpn_connection_parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('VpnConnection', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + 'connectionName': self._serialize.url("connection_name", connection_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}'} # type: ignore + + def _delete_initial( + self, + resource_group_name, # type: str + gateway_name, # type: str + connection_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + 'connectionName': self._serialize.url("connection_name", connection_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + gateway_name, # type: str + connection_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes a vpn connection. + + :param resource_group_name: The resource group name of the VpnGateway. + :type resource_group_name: str + :param gateway_name: The name of the gateway. + :type gateway_name: str + :param connection_name: The name of the connection. + :type connection_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + gateway_name=gateway_name, + connection_name=connection_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + 'connectionName': self._serialize.url("connection_name", connection_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}'} # type: ignore + + def _start_packet_capture_initial( + self, + resource_group_name, # type: str + gateway_name, # type: str + vpn_connection_name, # type: str + parameters=None, # type: Optional["_models.VpnConnectionPacketCaptureStartParameters"] + **kwargs # type: Any + ): + # type: (...) -> Optional[str] + cls = kwargs.pop('cls', None) # type: ClsType[Optional[str]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._start_packet_capture_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + 'vpnConnectionName': self._serialize.url("vpn_connection_name", vpn_connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + if parameters is not None: + body_content = self._serialize.body(parameters, 'VpnConnectionPacketCaptureStartParameters') + else: + body_content = None + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('str', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _start_packet_capture_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{vpnConnectionName}/startpacketcapture'} # type: ignore + + def begin_start_packet_capture( + self, + resource_group_name, # type: str + gateway_name, # type: str + vpn_connection_name, # type: str + parameters=None, # type: Optional["_models.VpnConnectionPacketCaptureStartParameters"] + **kwargs # type: Any + ): + # type: (...) -> LROPoller[str] + """Starts packet capture on Vpn connection in the specified resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param gateway_name: The name of the gateway. + :type gateway_name: str + :param vpn_connection_name: The name of the vpn connection. + :type vpn_connection_name: str + :param parameters: Vpn Connection packet capture parameters supplied to start packet capture on + gateway connection. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.VpnConnectionPacketCaptureStartParameters + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either str or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[str] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[str] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._start_packet_capture_initial( + resource_group_name=resource_group_name, + gateway_name=gateway_name, + vpn_connection_name=vpn_connection_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('str', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + 'vpnConnectionName': self._serialize.url("vpn_connection_name", vpn_connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_start_packet_capture.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{vpnConnectionName}/startpacketcapture'} # type: ignore + + def _stop_packet_capture_initial( + self, + resource_group_name, # type: str + gateway_name, # type: str + vpn_connection_name, # type: str + parameters=None, # type: Optional["_models.VpnConnectionPacketCaptureStopParameters"] + **kwargs # type: Any + ): + # type: (...) -> Optional[str] + cls = kwargs.pop('cls', None) # type: ClsType[Optional[str]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._stop_packet_capture_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + 'vpnConnectionName': self._serialize.url("vpn_connection_name", vpn_connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + if parameters is not None: + body_content = self._serialize.body(parameters, 'VpnConnectionPacketCaptureStopParameters') + else: + body_content = None + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('str', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _stop_packet_capture_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{vpnConnectionName}/stoppacketcapture'} # type: ignore + + def begin_stop_packet_capture( + self, + resource_group_name, # type: str + gateway_name, # type: str + vpn_connection_name, # type: str + parameters=None, # type: Optional["_models.VpnConnectionPacketCaptureStopParameters"] + **kwargs # type: Any + ): + # type: (...) -> LROPoller[str] + """Stops packet capture on Vpn connection in the specified resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param gateway_name: The name of the gateway. + :type gateway_name: str + :param vpn_connection_name: The name of the vpn connection. + :type vpn_connection_name: str + :param parameters: Vpn Connection packet capture parameters supplied to stop packet capture on + gateway connection. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.VpnConnectionPacketCaptureStopParameters + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either str or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[str] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[str] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._stop_packet_capture_initial( + resource_group_name=resource_group_name, + gateway_name=gateway_name, + vpn_connection_name=vpn_connection_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('str', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + 'vpnConnectionName': self._serialize.url("vpn_connection_name", vpn_connection_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_stop_packet_capture.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{vpnConnectionName}/stoppacketcapture'} # type: ignore + + def list_by_vpn_gateway( + self, + resource_group_name, # type: str + gateway_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.ListVpnConnectionsResult"] + """Retrieves all vpn connections for a particular virtual wan vpn gateway. + + :param resource_group_name: The resource group name of the VpnGateway. + :type resource_group_name: str + :param gateway_name: The name of the gateway. + :type gateway_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ListVpnConnectionsResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.ListVpnConnectionsResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ListVpnConnectionsResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_vpn_gateway.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('ListVpnConnectionsResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_vpn_gateway.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_vpn_gateways_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_vpn_gateways_operations.py new file mode 100644 index 000000000000..88260ceb1cf7 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_vpn_gateways_operations.py @@ -0,0 +1,996 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class VpnGatewaysOperations(object): + """VpnGatewaysOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def get( + self, + resource_group_name, # type: str + gateway_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.VpnGateway" + """Retrieves the details of a virtual wan vpn gateway. + + :param resource_group_name: The resource group name of the VpnGateway. + :type resource_group_name: str + :param gateway_name: The name of the gateway. + :type gateway_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: VpnGateway, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.VpnGateway + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.VpnGateway"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('VpnGateway', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}'} # type: ignore + + def _create_or_update_initial( + self, + resource_group_name, # type: str + gateway_name, # type: str + vpn_gateway_parameters, # type: "_models.VpnGateway" + **kwargs # type: Any + ): + # type: (...) -> "_models.VpnGateway" + cls = kwargs.pop('cls', None) # type: ClsType["_models.VpnGateway"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(vpn_gateway_parameters, 'VpnGateway') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('VpnGateway', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('VpnGateway', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}'} # type: ignore + + def begin_create_or_update( + self, + resource_group_name, # type: str + gateway_name, # type: str + vpn_gateway_parameters, # type: "_models.VpnGateway" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.VpnGateway"] + """Creates a virtual wan vpn gateway if it doesn't exist else updates the existing gateway. + + :param resource_group_name: The resource group name of the VpnGateway. + :type resource_group_name: str + :param gateway_name: The name of the gateway. + :type gateway_name: str + :param vpn_gateway_parameters: Parameters supplied to create or Update a virtual wan vpn + gateway. + :type vpn_gateway_parameters: ~azure.mgmt.network.v2021_02_01.models.VpnGateway + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either VpnGateway or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.VpnGateway] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.VpnGateway"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + resource_group_name=resource_group_name, + gateway_name=gateway_name, + vpn_gateway_parameters=vpn_gateway_parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('VpnGateway', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}'} # type: ignore + + def _update_tags_initial( + self, + resource_group_name, # type: str + gateway_name, # type: str + vpn_gateway_parameters, # type: "_models.TagsObject" + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.VpnGateway"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.VpnGateway"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._update_tags_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(vpn_gateway_parameters, 'TagsObject') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('VpnGateway', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _update_tags_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}'} # type: ignore + + def begin_update_tags( + self, + resource_group_name, # type: str + gateway_name, # type: str + vpn_gateway_parameters, # type: "_models.TagsObject" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.VpnGateway"] + """Updates virtual wan vpn gateway tags. + + :param resource_group_name: The resource group name of the VpnGateway. + :type resource_group_name: str + :param gateway_name: The name of the gateway. + :type gateway_name: str + :param vpn_gateway_parameters: Parameters supplied to update a virtual wan vpn gateway tags. + :type vpn_gateway_parameters: ~azure.mgmt.network.v2021_02_01.models.TagsObject + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either VpnGateway or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.VpnGateway] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.VpnGateway"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._update_tags_initial( + resource_group_name=resource_group_name, + gateway_name=gateway_name, + vpn_gateway_parameters=vpn_gateway_parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('VpnGateway', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}'} # type: ignore + + def _delete_initial( + self, + resource_group_name, # type: str + gateway_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + gateway_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes a virtual wan vpn gateway. + + :param resource_group_name: The resource group name of the VpnGateway. + :type resource_group_name: str + :param gateway_name: The name of the gateway. + :type gateway_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + gateway_name=gateway_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}'} # type: ignore + + def _reset_initial( + self, + resource_group_name, # type: str + gateway_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.VpnGateway"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.VpnGateway"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._reset_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('VpnGateway', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _reset_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/reset'} # type: ignore + + def begin_reset( + self, + resource_group_name, # type: str + gateway_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.VpnGateway"] + """Resets the primary of the vpn gateway in the specified resource group. + + :param resource_group_name: The resource group name of the VpnGateway. + :type resource_group_name: str + :param gateway_name: The name of the gateway. + :type gateway_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either VpnGateway or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.VpnGateway] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.VpnGateway"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._reset_initial( + resource_group_name=resource_group_name, + gateway_name=gateway_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('VpnGateway', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_reset.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/reset'} # type: ignore + + def _start_packet_capture_initial( + self, + resource_group_name, # type: str + gateway_name, # type: str + parameters=None, # type: Optional["_models.VpnGatewayPacketCaptureStartParameters"] + **kwargs # type: Any + ): + # type: (...) -> Optional[str] + cls = kwargs.pop('cls', None) # type: ClsType[Optional[str]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._start_packet_capture_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + if parameters is not None: + body_content = self._serialize.body(parameters, 'VpnGatewayPacketCaptureStartParameters') + else: + body_content = None + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('str', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _start_packet_capture_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/startpacketcapture'} # type: ignore + + def begin_start_packet_capture( + self, + resource_group_name, # type: str + gateway_name, # type: str + parameters=None, # type: Optional["_models.VpnGatewayPacketCaptureStartParameters"] + **kwargs # type: Any + ): + # type: (...) -> LROPoller[str] + """Starts packet capture on vpn gateway in the specified resource group. + + :param resource_group_name: The resource group name of the VpnGateway. + :type resource_group_name: str + :param gateway_name: The name of the gateway. + :type gateway_name: str + :param parameters: Vpn gateway packet capture parameters supplied to start packet capture on + vpn gateway. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.VpnGatewayPacketCaptureStartParameters + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either str or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[str] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[str] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._start_packet_capture_initial( + resource_group_name=resource_group_name, + gateway_name=gateway_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('str', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_start_packet_capture.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/startpacketcapture'} # type: ignore + + def _stop_packet_capture_initial( + self, + resource_group_name, # type: str + gateway_name, # type: str + parameters=None, # type: Optional["_models.VpnGatewayPacketCaptureStopParameters"] + **kwargs # type: Any + ): + # type: (...) -> Optional[str] + cls = kwargs.pop('cls', None) # type: ClsType[Optional[str]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._stop_packet_capture_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + if parameters is not None: + body_content = self._serialize.body(parameters, 'VpnGatewayPacketCaptureStopParameters') + else: + body_content = None + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('str', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _stop_packet_capture_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/stoppacketcapture'} # type: ignore + + def begin_stop_packet_capture( + self, + resource_group_name, # type: str + gateway_name, # type: str + parameters=None, # type: Optional["_models.VpnGatewayPacketCaptureStopParameters"] + **kwargs # type: Any + ): + # type: (...) -> LROPoller[str] + """Stops packet capture on vpn gateway in the specified resource group. + + :param resource_group_name: The resource group name of the VpnGateway. + :type resource_group_name: str + :param gateway_name: The name of the gateway. + :type gateway_name: str + :param parameters: Vpn gateway packet capture parameters supplied to stop packet capture on vpn + gateway. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.VpnGatewayPacketCaptureStopParameters + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either str or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[str] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[str] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._stop_packet_capture_initial( + resource_group_name=resource_group_name, + gateway_name=gateway_name, + parameters=parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('str', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_stop_packet_capture.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/stoppacketcapture'} # type: ignore + + def list_by_resource_group( + self, + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.ListVpnGatewaysResult"] + """Lists all the VpnGateways in a resource group. + + :param resource_group_name: The resource group name of the VpnGateway. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ListVpnGatewaysResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.ListVpnGatewaysResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ListVpnGatewaysResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_resource_group.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('ListVpnGatewaysResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways'} # type: ignore + + def list( + self, + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.ListVpnGatewaysResult"] + """Lists all the VpnGateways in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ListVpnGatewaysResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.ListVpnGatewaysResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ListVpnGatewaysResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('ListVpnGatewaysResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/vpnGateways'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_vpn_link_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_vpn_link_connections_operations.py new file mode 100644 index 000000000000..f654bad71cb7 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_vpn_link_connections_operations.py @@ -0,0 +1,386 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class VpnLinkConnectionsOperations(object): + """VpnLinkConnectionsOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def _reset_connection_initial( + self, + resource_group_name, # type: str + gateway_name, # type: str + connection_name, # type: str + link_connection_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._reset_connection_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + 'connectionName': self._serialize.url("connection_name", connection_name, 'str'), + 'linkConnectionName': self._serialize.url("link_connection_name", link_connection_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _reset_connection_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}/vpnLinkConnections/{linkConnectionName}/resetconnection'} # type: ignore + + def begin_reset_connection( + self, + resource_group_name, # type: str + gateway_name, # type: str + connection_name, # type: str + link_connection_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Resets the VpnLink connection specified. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param gateway_name: The name of the gateway. + :type gateway_name: str + :param connection_name: The name of the vpn connection. + :type connection_name: str + :param link_connection_name: The name of the vpn link connection. + :type link_connection_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._reset_connection_initial( + resource_group_name=resource_group_name, + gateway_name=gateway_name, + connection_name=connection_name, + link_connection_name=link_connection_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + 'connectionName': self._serialize.url("connection_name", connection_name, 'str'), + 'linkConnectionName': self._serialize.url("link_connection_name", link_connection_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_reset_connection.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}/vpnLinkConnections/{linkConnectionName}/resetconnection'} # type: ignore + + def _get_ike_sas_initial( + self, + resource_group_name, # type: str + gateway_name, # type: str + connection_name, # type: str + link_connection_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Optional[str] + cls = kwargs.pop('cls', None) # type: ClsType[Optional[str]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._get_ike_sas_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + 'connectionName': self._serialize.url("connection_name", connection_name, 'str'), + 'linkConnectionName': self._serialize.url("link_connection_name", link_connection_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize.failsafe_deserialize(_models.ErrorResponse, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('str', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _get_ike_sas_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}/vpnLinkConnections/{linkConnectionName}/getikesas'} # type: ignore + + def begin_get_ike_sas( + self, + resource_group_name, # type: str + gateway_name, # type: str + connection_name, # type: str + link_connection_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[str] + """Lists IKE Security Associations for Vpn Site Link Connection in the specified resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param gateway_name: The name of the gateway. + :type gateway_name: str + :param connection_name: The name of the vpn connection. + :type connection_name: str + :param link_connection_name: The name of the vpn link connection. + :type link_connection_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either str or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[str] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[str] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._get_ike_sas_initial( + resource_group_name=resource_group_name, + gateway_name=gateway_name, + connection_name=connection_name, + link_connection_name=link_connection_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('str', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + 'connectionName': self._serialize.url("connection_name", connection_name, 'str'), + 'linkConnectionName': self._serialize.url("link_connection_name", link_connection_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_get_ike_sas.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}/vpnLinkConnections/{linkConnectionName}/getikesas'} # type: ignore + + def list_by_vpn_connection( + self, + resource_group_name, # type: str + gateway_name, # type: str + connection_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.ListVpnSiteLinkConnectionsResult"] + """Retrieves all vpn site link connections for a particular virtual wan vpn gateway vpn + connection. + + :param resource_group_name: The resource group name of the vpn gateway. + :type resource_group_name: str + :param gateway_name: The name of the gateway. + :type gateway_name: str + :param connection_name: The name of the vpn connection. + :type connection_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ListVpnSiteLinkConnectionsResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.ListVpnSiteLinkConnectionsResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ListVpnSiteLinkConnectionsResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_vpn_connection.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + 'connectionName': self._serialize.url("connection_name", connection_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('ListVpnSiteLinkConnectionsResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_vpn_connection.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}/vpnLinkConnections'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py new file mode 100644 index 000000000000..2a2af3f4201f --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py @@ -0,0 +1,166 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class VpnServerConfigurationsAssociatedWithVirtualWanOperations(object): + """VpnServerConfigurationsAssociatedWithVirtualWanOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def _list_initial( + self, + resource_group_name, # type: str + virtual_wan_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Optional["_models.VpnServerConfigurationsResponse"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["_models.VpnServerConfigurationsResponse"]] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._list_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualWANName': self._serialize.url("virtual_wan_name", virtual_wan_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('VpnServerConfigurationsResponse', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _list_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{virtualWANName}/vpnServerConfigurations'} # type: ignore + + def begin_list( + self, + resource_group_name, # type: str + virtual_wan_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.VpnServerConfigurationsResponse"] + """Gives the list of VpnServerConfigurations associated with Virtual Wan in a resource group. + + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param virtual_wan_name: The name of the VirtualWAN whose associated VpnServerConfigurations is + needed. + :type virtual_wan_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either VpnServerConfigurationsResponse or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.VpnServerConfigurationsResponse] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.VpnServerConfigurationsResponse"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._list_initial( + resource_group_name=resource_group_name, + virtual_wan_name=virtual_wan_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('VpnServerConfigurationsResponse', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualWANName': self._serialize.url("virtual_wan_name", virtual_wan_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{virtualWANName}/vpnServerConfigurations'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_vpn_server_configurations_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_vpn_server_configurations_operations.py new file mode 100644 index 000000000000..ab82943848f8 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_vpn_server_configurations_operations.py @@ -0,0 +1,556 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class VpnServerConfigurationsOperations(object): + """VpnServerConfigurationsOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def get( + self, + resource_group_name, # type: str + vpn_server_configuration_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.VpnServerConfiguration" + """Retrieves the details of a VpnServerConfiguration. + + :param resource_group_name: The resource group name of the VpnServerConfiguration. + :type resource_group_name: str + :param vpn_server_configuration_name: The name of the VpnServerConfiguration being retrieved. + :type vpn_server_configuration_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: VpnServerConfiguration, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.VpnServerConfiguration + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.VpnServerConfiguration"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'vpnServerConfigurationName': self._serialize.url("vpn_server_configuration_name", vpn_server_configuration_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('VpnServerConfiguration', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations/{vpnServerConfigurationName}'} # type: ignore + + def _create_or_update_initial( + self, + resource_group_name, # type: str + vpn_server_configuration_name, # type: str + vpn_server_configuration_parameters, # type: "_models.VpnServerConfiguration" + **kwargs # type: Any + ): + # type: (...) -> "_models.VpnServerConfiguration" + cls = kwargs.pop('cls', None) # type: ClsType["_models.VpnServerConfiguration"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'vpnServerConfigurationName': self._serialize.url("vpn_server_configuration_name", vpn_server_configuration_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(vpn_server_configuration_parameters, 'VpnServerConfiguration') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('VpnServerConfiguration', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('VpnServerConfiguration', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations/{vpnServerConfigurationName}'} # type: ignore + + def begin_create_or_update( + self, + resource_group_name, # type: str + vpn_server_configuration_name, # type: str + vpn_server_configuration_parameters, # type: "_models.VpnServerConfiguration" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.VpnServerConfiguration"] + """Creates a VpnServerConfiguration resource if it doesn't exist else updates the existing + VpnServerConfiguration. + + :param resource_group_name: The resource group name of the VpnServerConfiguration. + :type resource_group_name: str + :param vpn_server_configuration_name: The name of the VpnServerConfiguration being created or + updated. + :type vpn_server_configuration_name: str + :param vpn_server_configuration_parameters: Parameters supplied to create or update + VpnServerConfiguration. + :type vpn_server_configuration_parameters: ~azure.mgmt.network.v2021_02_01.models.VpnServerConfiguration + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either VpnServerConfiguration or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.VpnServerConfiguration] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.VpnServerConfiguration"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + resource_group_name=resource_group_name, + vpn_server_configuration_name=vpn_server_configuration_name, + vpn_server_configuration_parameters=vpn_server_configuration_parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('VpnServerConfiguration', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'vpnServerConfigurationName': self._serialize.url("vpn_server_configuration_name", vpn_server_configuration_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations/{vpnServerConfigurationName}'} # type: ignore + + def update_tags( + self, + resource_group_name, # type: str + vpn_server_configuration_name, # type: str + vpn_server_configuration_parameters, # type: "_models.TagsObject" + **kwargs # type: Any + ): + # type: (...) -> "_models.VpnServerConfiguration" + """Updates VpnServerConfiguration tags. + + :param resource_group_name: The resource group name of the VpnServerConfiguration. + :type resource_group_name: str + :param vpn_server_configuration_name: The name of the VpnServerConfiguration being updated. + :type vpn_server_configuration_name: str + :param vpn_server_configuration_parameters: Parameters supplied to update + VpnServerConfiguration tags. + :type vpn_server_configuration_parameters: ~azure.mgmt.network.v2021_02_01.models.TagsObject + :keyword callable cls: A custom type or function that will be passed the direct response + :return: VpnServerConfiguration, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.VpnServerConfiguration + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.VpnServerConfiguration"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update_tags.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'vpnServerConfigurationName': self._serialize.url("vpn_server_configuration_name", vpn_server_configuration_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(vpn_server_configuration_parameters, 'TagsObject') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('VpnServerConfiguration', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations/{vpnServerConfigurationName}'} # type: ignore + + def _delete_initial( + self, + resource_group_name, # type: str + vpn_server_configuration_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'vpnServerConfigurationName': self._serialize.url("vpn_server_configuration_name", vpn_server_configuration_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations/{vpnServerConfigurationName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + vpn_server_configuration_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes a VpnServerConfiguration. + + :param resource_group_name: The resource group name of the VpnServerConfiguration. + :type resource_group_name: str + :param vpn_server_configuration_name: The name of the VpnServerConfiguration being deleted. + :type vpn_server_configuration_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + vpn_server_configuration_name=vpn_server_configuration_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'vpnServerConfigurationName': self._serialize.url("vpn_server_configuration_name", vpn_server_configuration_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations/{vpnServerConfigurationName}'} # type: ignore + + def list_by_resource_group( + self, + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.ListVpnServerConfigurationsResult"] + """Lists all the vpnServerConfigurations in a resource group. + + :param resource_group_name: The resource group name of the VpnServerConfiguration. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ListVpnServerConfigurationsResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.ListVpnServerConfigurationsResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ListVpnServerConfigurationsResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_resource_group.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('ListVpnServerConfigurationsResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations'} # type: ignore + + def list( + self, + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.ListVpnServerConfigurationsResult"] + """Lists all the VpnServerConfigurations in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ListVpnServerConfigurationsResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.ListVpnServerConfigurationsResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ListVpnServerConfigurationsResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('ListVpnServerConfigurationsResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/vpnServerConfigurations'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_vpn_site_link_connections_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_vpn_site_link_connections_operations.py new file mode 100644 index 000000000000..71ea542cbabd --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_vpn_site_link_connections_operations.py @@ -0,0 +1,112 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.mgmt.core.exceptions import ARMErrorFormat + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Optional, TypeVar + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class VpnSiteLinkConnectionsOperations(object): + """VpnSiteLinkConnectionsOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def get( + self, + resource_group_name, # type: str + gateway_name, # type: str + connection_name, # type: str + link_connection_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.VpnSiteLinkConnection" + """Retrieves the details of a vpn site link connection. + + :param resource_group_name: The resource group name of the VpnGateway. + :type resource_group_name: str + :param gateway_name: The name of the gateway. + :type gateway_name: str + :param connection_name: The name of the vpn connection. + :type connection_name: str + :param link_connection_name: The name of the vpn connection. + :type link_connection_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: VpnSiteLinkConnection, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.VpnSiteLinkConnection + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.VpnSiteLinkConnection"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'gatewayName': self._serialize.url("gateway_name", gateway_name, 'str'), + 'connectionName': self._serialize.url("connection_name", connection_name, 'str'), + 'linkConnectionName': self._serialize.url("link_connection_name", link_connection_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('VpnSiteLinkConnection', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}/vpnLinkConnections/{linkConnectionName}'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_vpn_site_links_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_vpn_site_links_operations.py new file mode 100644 index 000000000000..2c91bd377725 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_vpn_site_links_operations.py @@ -0,0 +1,184 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.mgmt.core.exceptions import ARMErrorFormat + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class VpnSiteLinksOperations(object): + """VpnSiteLinksOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def get( + self, + resource_group_name, # type: str + vpn_site_name, # type: str + vpn_site_link_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.VpnSiteLink" + """Retrieves the details of a VPN site link. + + :param resource_group_name: The resource group name of the VpnSite. + :type resource_group_name: str + :param vpn_site_name: The name of the VpnSite. + :type vpn_site_name: str + :param vpn_site_link_name: The name of the VpnSiteLink being retrieved. + :type vpn_site_link_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: VpnSiteLink, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.VpnSiteLink + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.VpnSiteLink"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'vpnSiteName': self._serialize.url("vpn_site_name", vpn_site_name, 'str'), + 'vpnSiteLinkName': self._serialize.url("vpn_site_link_name", vpn_site_link_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('VpnSiteLink', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites/{vpnSiteName}/vpnSiteLinks/{vpnSiteLinkName}'} # type: ignore + + def list_by_vpn_site( + self, + resource_group_name, # type: str + vpn_site_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.ListVpnSiteLinksResult"] + """Lists all the vpnSiteLinks in a resource group for a vpn site. + + :param resource_group_name: The resource group name of the VpnSite. + :type resource_group_name: str + :param vpn_site_name: The name of the VpnSite. + :type vpn_site_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ListVpnSiteLinksResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.ListVpnSiteLinksResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ListVpnSiteLinksResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_vpn_site.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'vpnSiteName': self._serialize.url("vpn_site_name", vpn_site_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('ListVpnSiteLinksResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_vpn_site.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites/{vpnSiteName}/vpnSiteLinks'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_vpn_sites_configuration_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_vpn_sites_configuration_operations.py new file mode 100644 index 000000000000..a57b21fcf314 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_vpn_sites_configuration_operations.py @@ -0,0 +1,168 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class VpnSitesConfigurationOperations(object): + """VpnSitesConfigurationOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def _download_initial( + self, + resource_group_name, # type: str + virtual_wan_name, # type: str + request, # type: "_models.GetVpnSitesConfigurationRequest" + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._download_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualWANName': self._serialize.url("virtual_wan_name", virtual_wan_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(request, 'GetVpnSitesConfigurationRequest') + body_content_kwargs['content'] = body_content + request = self._client.post(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _download_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{virtualWANName}/vpnConfiguration'} # type: ignore + + def begin_download( + self, + resource_group_name, # type: str + virtual_wan_name, # type: str + request, # type: "_models.GetVpnSitesConfigurationRequest" + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Gives the sas-url to download the configurations for vpn-sites in a resource group. + + :param resource_group_name: The resource group name. + :type resource_group_name: str + :param virtual_wan_name: The name of the VirtualWAN for which configuration of all vpn-sites is + needed. + :type virtual_wan_name: str + :param request: Parameters supplied to download vpn-sites configuration. + :type request: ~azure.mgmt.network.v2021_02_01.models.GetVpnSitesConfigurationRequest + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._download_initial( + resource_group_name=resource_group_name, + virtual_wan_name=virtual_wan_name, + request=request, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'virtualWANName': self._serialize.url("virtual_wan_name", virtual_wan_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_download.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{virtualWANName}/vpnConfiguration'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_vpn_sites_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_vpn_sites_operations.py new file mode 100644 index 000000000000..31765601785e --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_vpn_sites_operations.py @@ -0,0 +1,552 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class VpnSitesOperations(object): + """VpnSitesOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def get( + self, + resource_group_name, # type: str + vpn_site_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.VpnSite" + """Retrieves the details of a VPN site. + + :param resource_group_name: The resource group name of the VpnSite. + :type resource_group_name: str + :param vpn_site_name: The name of the VpnSite being retrieved. + :type vpn_site_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: VpnSite, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.VpnSite + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.VpnSite"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'vpnSiteName': self._serialize.url("vpn_site_name", vpn_site_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('VpnSite', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites/{vpnSiteName}'} # type: ignore + + def _create_or_update_initial( + self, + resource_group_name, # type: str + vpn_site_name, # type: str + vpn_site_parameters, # type: "_models.VpnSite" + **kwargs # type: Any + ): + # type: (...) -> "_models.VpnSite" + cls = kwargs.pop('cls', None) # type: ClsType["_models.VpnSite"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self._create_or_update_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'vpnSiteName': self._serialize.url("vpn_site_name", vpn_site_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(vpn_site_parameters, 'VpnSite') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('VpnSite', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('VpnSite', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + _create_or_update_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites/{vpnSiteName}'} # type: ignore + + def begin_create_or_update( + self, + resource_group_name, # type: str + vpn_site_name, # type: str + vpn_site_parameters, # type: "_models.VpnSite" + **kwargs # type: Any + ): + # type: (...) -> LROPoller["_models.VpnSite"] + """Creates a VpnSite resource if it doesn't exist else updates the existing VpnSite. + + :param resource_group_name: The resource group name of the VpnSite. + :type resource_group_name: str + :param vpn_site_name: The name of the VpnSite being created or updated. + :type vpn_site_name: str + :param vpn_site_parameters: Parameters supplied to create or update VpnSite. + :type vpn_site_parameters: ~azure.mgmt.network.v2021_02_01.models.VpnSite + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either VpnSite or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[~azure.mgmt.network.v2021_02_01.models.VpnSite] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType["_models.VpnSite"] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._create_or_update_initial( + resource_group_name=resource_group_name, + vpn_site_name=vpn_site_name, + vpn_site_parameters=vpn_site_parameters, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + deserialized = self._deserialize('VpnSite', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + return deserialized + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'vpnSiteName': self._serialize.url("vpn_site_name", vpn_site_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites/{vpnSiteName}'} # type: ignore + + def update_tags( + self, + resource_group_name, # type: str + vpn_site_name, # type: str + vpn_site_parameters, # type: "_models.TagsObject" + **kwargs # type: Any + ): + # type: (...) -> "_models.VpnSite" + """Updates VpnSite tags. + + :param resource_group_name: The resource group name of the VpnSite. + :type resource_group_name: str + :param vpn_site_name: The name of the VpnSite being updated. + :type vpn_site_name: str + :param vpn_site_parameters: Parameters supplied to update VpnSite tags. + :type vpn_site_parameters: ~azure.mgmt.network.v2021_02_01.models.TagsObject + :keyword callable cls: A custom type or function that will be passed the direct response + :return: VpnSite, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.VpnSite + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.VpnSite"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.update_tags.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'vpnSiteName': self._serialize.url("vpn_site_name", vpn_site_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(vpn_site_parameters, 'TagsObject') + body_content_kwargs['content'] = body_content + request = self._client.patch(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('VpnSite', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites/{vpnSiteName}'} # type: ignore + + def _delete_initial( + self, + resource_group_name, # type: str + vpn_site_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'vpnSiteName': self._serialize.url("vpn_site_name", vpn_site_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites/{vpnSiteName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + vpn_site_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes a VpnSite. + + :param resource_group_name: The resource group name of the VpnSite. + :type resource_group_name: str + :param vpn_site_name: The name of the VpnSite being deleted. + :type vpn_site_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + vpn_site_name=vpn_site_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'vpnSiteName': self._serialize.url("vpn_site_name", vpn_site_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites/{vpnSiteName}'} # type: ignore + + def list_by_resource_group( + self, + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.ListVpnSitesResult"] + """Lists all the vpnSites in a resource group. + + :param resource_group_name: The resource group name of the VpnSite. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ListVpnSitesResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.ListVpnSitesResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ListVpnSitesResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_resource_group.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('ListVpnSitesResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites'} # type: ignore + + def list( + self, + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.ListVpnSitesResult"] + """Lists all the VpnSites in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ListVpnSitesResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.ListVpnSitesResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.ListVpnSitesResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('ListVpnSitesResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/vpnSites'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_web_application_firewall_policies_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_web_application_firewall_policies_operations.py new file mode 100644 index 000000000000..044ef56c119b --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_web_application_firewall_policies_operations.py @@ -0,0 +1,426 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.core.polling import LROPoller, NoPolling, PollingMethod +from azure.mgmt.core.exceptions import ARMErrorFormat +from azure.mgmt.core.polling.arm_polling import ARMPolling + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class WebApplicationFirewallPoliciesOperations(object): + """WebApplicationFirewallPoliciesOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + resource_group_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.WebApplicationFirewallPolicyListResult"] + """Lists all of the protection policies within a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either WebApplicationFirewallPolicyListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.WebApplicationFirewallPolicyListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.WebApplicationFirewallPolicyListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('WebApplicationFirewallPolicyListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies'} # type: ignore + + def list_all( + self, + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.WebApplicationFirewallPolicyListResult"] + """Gets all the WAF policies in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either WebApplicationFirewallPolicyListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.WebApplicationFirewallPolicyListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.WebApplicationFirewallPolicyListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_all.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('WebApplicationFirewallPolicyListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_all.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies'} # type: ignore + + def get( + self, + resource_group_name, # type: str + policy_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> "_models.WebApplicationFirewallPolicy" + """Retrieve protection policy with specified name within a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param policy_name: The name of the policy. + :type policy_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: WebApplicationFirewallPolicy, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.WebApplicationFirewallPolicy + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.WebApplicationFirewallPolicy"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'policyName': self._serialize.url("policy_name", policy_name, 'str', max_length=128, min_length=0), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('WebApplicationFirewallPolicy', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies/{policyName}'} # type: ignore + + def create_or_update( + self, + resource_group_name, # type: str + policy_name, # type: str + parameters, # type: "_models.WebApplicationFirewallPolicy" + **kwargs # type: Any + ): + # type: (...) -> "_models.WebApplicationFirewallPolicy" + """Creates or update policy with specified rule set name within a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param policy_name: The name of the policy. + :type policy_name: str + :param parameters: Policy to be created. + :type parameters: ~azure.mgmt.network.v2021_02_01.models.WebApplicationFirewallPolicy + :keyword callable cls: A custom type or function that will be passed the direct response + :return: WebApplicationFirewallPolicy, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.WebApplicationFirewallPolicy + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.WebApplicationFirewallPolicy"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + content_type = kwargs.pop("content_type", "application/json") + accept = "application/json" + + # Construct URL + url = self.create_or_update.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'policyName': self._serialize.url("policy_name", policy_name, 'str', max_length=128, min_length=0), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + body_content_kwargs = {} # type: Dict[str, Any] + body_content = self._serialize.body(parameters, 'WebApplicationFirewallPolicy') + body_content_kwargs['content'] = body_content + request = self._client.put(url, query_parameters, header_parameters, **body_content_kwargs) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 201]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if response.status_code == 200: + deserialized = self._deserialize('WebApplicationFirewallPolicy', pipeline_response) + + if response.status_code == 201: + deserialized = self._deserialize('WebApplicationFirewallPolicy', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies/{policyName}'} # type: ignore + + def _delete_initial( + self, + resource_group_name, # type: str + policy_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self._delete_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'policyName': self._serialize.url("policy_name", policy_name, 'str', max_length=128, min_length=0), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.delete(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202, 204]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _delete_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies/{policyName}'} # type: ignore + + def begin_delete( + self, + resource_group_name, # type: str + policy_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Deletes Policy. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param policy_name: The name of the policy. + :type policy_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: Pass in True if you'd like the ARMPolling polling method, + False for no polling, or your own initialized polling object for a personal polling strategy. + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + policy_name=policy_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'policyName': self._serialize.url("policy_name", policy_name, 'str', max_length=128, min_length=0), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies/{policyName}'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_web_categories_operations.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_web_categories_operations.py new file mode 100644 index 000000000000..109ca6e7445e --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/operations/_web_categories_operations.py @@ -0,0 +1,173 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.mgmt.core.exceptions import ARMErrorFormat + +from .. import models as _models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class WebCategoriesOperations(object): + """WebCategoriesOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~azure.mgmt.network.v2021_02_01.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = _models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def get( + self, + name, # type: str + expand=None, # type: Optional[str] + **kwargs # type: Any + ): + # type: (...) -> "_models.AzureWebCategory" + """Gets the specified Azure Web Category. + + :param name: The name of the azureWebCategory. + :type name: str + :param expand: Expands resourceIds back referenced by the azureWebCategory resource. + :type expand: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: AzureWebCategory, or the result of cls(response) + :rtype: ~azure.mgmt.network.v2021_02_01.models.AzureWebCategory + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.AzureWebCategory"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + # Construct URL + url = self.get.metadata['url'] # type: ignore + path_format_arguments = { + 'name': self._serialize.url("name", name, 'str'), + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + deserialized = self._deserialize('AzureWebCategory', pipeline_response) + + if cls: + return cls(pipeline_response, deserialized, {}) + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/azureWebCategories/{name}'} # type: ignore + + def list_by_subscription( + self, + **kwargs # type: Any + ): + # type: (...) -> Iterable["_models.AzureWebCategoryListResult"] + """Gets all the Azure Web Categories in a subscription. + + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either AzureWebCategoryListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~azure.mgmt.network.v2021_02_01.models.AzureWebCategoryListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["_models.AzureWebCategoryListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-02-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list_by_subscription.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('AzureWebCategoryListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list_by_subscription.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/azureWebCategories'} # type: ignore diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/py.typed b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/py.typed new file mode 100644 index 000000000000..e5aff4f83af8 --- /dev/null +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2021_02_01/py.typed @@ -0,0 +1 @@ +# Marker file for PEP 561. \ No newline at end of file diff --git a/sdk/network/azure-mgmt-network/setup.py b/sdk/network/azure-mgmt-network/setup.py index dab8e99fa6f7..53f247b3687e 100644 --- a/sdk/network/azure-mgmt-network/setup.py +++ b/sdk/network/azure-mgmt-network/setup.py @@ -80,7 +80,7 @@ 'azure.mgmt', ]), install_requires=[ - 'msrest>=0.5.0', + 'msrest>=0.6.21', 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], diff --git a/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_base.test_network.yaml b/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_base.test_network.yaml index e0c78ebf217b..75b7fc10087e 100644 --- a/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_base.test_network.yaml +++ b/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_base.test_network.yaml @@ -14,32 +14,33 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipname?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipname?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"publicipname\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipname\"\ - ,\r\n \"etag\": \"W/\\\"73d3dd25-a40f-4e51-9951-b3ef90ca7478\\\"\",\r\n \ - \ \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\"\ - : \"Updating\",\r\n \"resourceGuid\": \"d93ff5c6-bf4e-40fe-8b8f-dafcbebba1e4\"\ - ,\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n \"publicIPAllocationMethod\"\ - : \"Dynamic\",\r\n \"idleTimeoutInMinutes\": 4,\r\n \"ipTags\": []\r\ - \n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n \"sku\"\ - : {\r\n \"name\": \"Basic\",\r\n \"tier\": \"Regional\"\r\n }\r\n}" + string: "{\r\n \"name\": \"publicipname\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipname\",\r\n + \ \"etag\": \"W/\\\"8dd7a19a-f116-4230-9cbc-cb9bfd972f27\\\"\",\r\n \"location\": + \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"resourceGuid\": \"ee71dd56-4ee9-4f5b-a468-b93ba546c523\",\r\n \"publicIPAddressVersion\": + \"IPv4\",\r\n \"publicIPAllocationMethod\": \"Dynamic\",\r\n \"idleTimeoutInMinutes\": + 4,\r\n \"ipTags\": []\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n + \ \"sku\": {\r\n \"name\": \"Basic\",\r\n \"tier\": \"Regional\"\r\n + \ }\r\n}" headers: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/bedf74d8-c0be-479b-b3fe-354058eabdb9?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/98168e0d-ce19-4e2a-9ef3-e45282edfa2c?api-version=2021-02-01 cache-control: - no-cache content-length: - - '697' + - '702' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:11:03 GMT + - Fri, 14 May 2021 03:46:21 GMT expires: - '-1' pragma: @@ -52,7 +53,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 0899b4ae-8936-4bec-9d61-e3fc5e8db9b5 + - 337434a7-c3dd-41e7-b1f9-bf44c907cf96 x-ms-ratelimit-remaining-subscription-writes: - '1199' status: @@ -68,9 +69,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/bedf74d8-c0be-479b-b3fe-354058eabdb9?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/98168e0d-ce19-4e2a-9ef3-e45282edfa2c?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -82,7 +84,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:11:05 GMT + - Fri, 14 May 2021 03:46:22 GMT expires: - '-1' pragma: @@ -99,7 +101,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - bfc29102-d29b-4266-beea-a8fde6d91260 + - b0462a17-1bfd-4595-8e59-62f9ceea58bb status: code: 200 message: OK @@ -113,30 +115,31 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipname?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipname?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"publicipname\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipname\"\ - ,\r\n \"etag\": \"W/\\\"0482f7f8-06a7-42d6-a4a2-f30eb66aee11\\\"\",\r\n \ - \ \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\"\ - : \"Succeeded\",\r\n \"resourceGuid\": \"d93ff5c6-bf4e-40fe-8b8f-dafcbebba1e4\"\ - ,\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n \"publicIPAllocationMethod\"\ - : \"Dynamic\",\r\n \"idleTimeoutInMinutes\": 4,\r\n \"ipTags\": []\r\ - \n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n \"sku\"\ - : {\r\n \"name\": \"Basic\",\r\n \"tier\": \"Regional\"\r\n }\r\n}" + string: "{\r\n \"name\": \"publicipname\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipname\",\r\n + \ \"etag\": \"W/\\\"bfc28e22-ae53-4dc7-a36a-a632d4d8c231\\\"\",\r\n \"location\": + \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"ee71dd56-4ee9-4f5b-a468-b93ba546c523\",\r\n \"publicIPAddressVersion\": + \"IPv4\",\r\n \"publicIPAllocationMethod\": \"Dynamic\",\r\n \"idleTimeoutInMinutes\": + 4,\r\n \"ipTags\": []\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n + \ \"sku\": {\r\n \"name\": \"Basic\",\r\n \"tier\": \"Regional\"\r\n + \ }\r\n}" headers: cache-control: - no-cache content-length: - - '698' + - '703' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:11:05 GMT + - Fri, 14 May 2021 03:46:22 GMT etag: - - W/"0482f7f8-06a7-42d6-a4a2-f30eb66aee11" + - W/"bfc28e22-ae53-4dc7-a36a-a632d4d8c231" expires: - '-1' pragma: @@ -153,7 +156,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 1393cb28-edc1-4613-906a-543d62094aa0 + - 4906c1bc-40e6-44db-ba2e-e54099b329d0 status: code: 200 message: OK @@ -172,32 +175,33 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"virtualnetworkname\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname\"\ - ,\r\n \"etag\": \"W/\\\"e34510cd-5491-4e1d-be1e-51a577547944\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ - \ \"resourceGuid\": \"4b64b0e5-5512-4f88-a13e-1a3690e89f3b\",\r\n \"\ - addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\ - \r\n ]\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ - : [],\r\n \"enableDdosProtection\": false\r\n }\r\n}" + string: "{\r\n \"name\": \"virtualnetworkname\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname\",\r\n + \ \"etag\": \"W/\\\"4532a095-0981-404b-a9a6-6b2206c20694\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": + \"b175ac31-f034-418a-845c-a3627171de7b\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": + [\r\n \"10.0.0.0/16\"\r\n ]\r\n },\r\n \"subnets\": [],\r\n + \ \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": false\r\n + \ }\r\n}" headers: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/e213229f-9a0e-4e13-a396-634602817167?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3a3eabc4-a129-4f34-b6ce-51ba3e282eba?api-version=2021-02-01 cache-control: - no-cache content-length: - - '689' + - '694' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:11:10 GMT + - Fri, 14 May 2021 03:46:22 GMT expires: - '-1' pragma: @@ -210,7 +214,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 1a2910a7-9f2c-408c-bb83-2b0803071057 + - 5883a15f-f8ab-4c88-9d0b-79012e4c6775 x-ms-ratelimit-remaining-subscription-writes: - '1198' status: @@ -226,9 +230,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/e213229f-9a0e-4e13-a396-634602817167?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3a3eabc4-a129-4f34-b6ce-51ba3e282eba?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -240,7 +245,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:11:13 GMT + - Fri, 14 May 2021 03:46:25 GMT expires: - '-1' pragma: @@ -257,7 +262,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - ce756934-5330-4b02-9711-b6d54e97583c + - 2e924a0b-9dd4-47c3-85fb-abc5b71f90d9 status: code: 200 message: OK @@ -271,30 +276,31 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"virtualnetworkname\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname\"\ - ,\r\n \"etag\": \"W/\\\"33a33b00-239b-4144-ad24-042039a129f5\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n\ - \ \"resourceGuid\": \"4b64b0e5-5512-4f88-a13e-1a3690e89f3b\",\r\n \"\ - addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\ - \r\n ]\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ - : [],\r\n \"enableDdosProtection\": false\r\n }\r\n}" + string: "{\r\n \"name\": \"virtualnetworkname\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname\",\r\n + \ \"etag\": \"W/\\\"e0a497be-6e84-49a6-87c6-0c2fb7eb8d5a\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": + \"b175ac31-f034-418a-845c-a3627171de7b\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": + [\r\n \"10.0.0.0/16\"\r\n ]\r\n },\r\n \"subnets\": [],\r\n + \ \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": false\r\n + \ }\r\n}" headers: cache-control: - no-cache content-length: - - '690' + - '695' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:11:13 GMT + - Fri, 14 May 2021 03:46:25 GMT etag: - - W/"33a33b00-239b-4144-ad24-042039a129f5" + - W/"e0a497be-6e84-49a6-87c6-0c2fb7eb8d5a" expires: - '-1' pragma: @@ -311,7 +317,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 3e4081e8-5a38-4224-a98f-9e645533471a + - f21487c5-b8b5-45eb-a929-248249f432f9 status: code: 200 message: OK @@ -330,32 +336,33 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/rmvirtualnetworkname?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/rmvirtualnetworkname?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"rmvirtualnetworkname\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/rmvirtualnetworkname\"\ - ,\r\n \"etag\": \"W/\\\"f5e4adb1-531c-4a44-9477-239628d9210f\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ - \ \"resourceGuid\": \"88d37003-2c64-4794-9a9d-0de8100f42b5\",\r\n \"\ - addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.2.0.0/16\"\ - \r\n ]\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ - : [],\r\n \"enableDdosProtection\": false\r\n }\r\n}" + string: "{\r\n \"name\": \"rmvirtualnetworkname\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/rmvirtualnetworkname\",\r\n + \ \"etag\": \"W/\\\"0aeb839b-39f8-412d-8dd0-255681d3b611\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": + \"46411707-6975-4e23-9d65-000ed0c1e67a\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": + [\r\n \"10.2.0.0/16\"\r\n ]\r\n },\r\n \"subnets\": [],\r\n + \ \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": false\r\n + \ }\r\n}" headers: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/4ce485bf-770e-47b8-bbaf-a5747eae7f1c?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/6f7bcb4e-1990-492b-bb73-ce1af685d651?api-version=2021-02-01 cache-control: - no-cache content-length: - - '693' + - '698' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:11:18 GMT + - Fri, 14 May 2021 03:46:25 GMT expires: - '-1' pragma: @@ -368,7 +375,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 1bf2a20c-21e2-4e76-a36c-dd013a1d12e6 + - 387313f6-6848-4221-8039-59bac639fd8f x-ms-ratelimit-remaining-subscription-writes: - '1197' status: @@ -384,9 +391,56 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/4ce485bf-770e-47b8-bbaf-a5747eae7f1c?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/6f7bcb4e-1990-492b-bb73-ce1af685d651?api-version=2021-02-01 + response: + body: + string: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '30' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 14 May 2021 03:46:28 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 938a868b-79f7-4dec-96af-344db677f9f9 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/6f7bcb4e-1990-492b-bb73-ce1af685d651?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -398,7 +452,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:11:21 GMT + - Fri, 14 May 2021 03:46:38 GMT expires: - '-1' pragma: @@ -415,7 +469,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 21c2f4d2-d812-4e9d-974a-8021e861f325 + - 4e8aaf44-8533-4efc-9f9a-57a6e2f294e8 status: code: 200 message: OK @@ -429,30 +483,31 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/rmvirtualnetworkname?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/rmvirtualnetworkname?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"rmvirtualnetworkname\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/rmvirtualnetworkname\"\ - ,\r\n \"etag\": \"W/\\\"49192bda-d61e-42c3-a79e-f842a165a335\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n\ - \ \"resourceGuid\": \"88d37003-2c64-4794-9a9d-0de8100f42b5\",\r\n \"\ - addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.2.0.0/16\"\ - \r\n ]\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ - : [],\r\n \"enableDdosProtection\": false\r\n }\r\n}" + string: "{\r\n \"name\": \"rmvirtualnetworkname\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/rmvirtualnetworkname\",\r\n + \ \"etag\": \"W/\\\"5612b18e-f40f-4ba1-a768-b20ad3cd4355\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": + \"46411707-6975-4e23-9d65-000ed0c1e67a\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": + [\r\n \"10.2.0.0/16\"\r\n ]\r\n },\r\n \"subnets\": [],\r\n + \ \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": false\r\n + \ }\r\n}" headers: cache-control: - no-cache content-length: - - '694' + - '699' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:11:21 GMT + - Fri, 14 May 2021 03:46:38 GMT etag: - - W/"49192bda-d61e-42c3-a79e-f842a165a335" + - W/"5612b18e-f40f-4ba1-a768-b20ad3cd4355" expires: - '-1' pragma: @@ -469,7 +524,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 266b61bc-970d-446b-9544-5082b19b54f2 + - f8947823-0d50-4b42-b83a-0afaf1dceaea status: code: 200 message: OK @@ -487,28 +542,29 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/subnetname?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/subnetname?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"subnetname\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/subnetname\"\ - ,\r\n \"etag\": \"W/\\\"80c282ce-326e-4250-9be2-2a94d9351f9b\\\"\",\r\n \ - \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"\ - addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\"\ - : \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\ - \n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" + string: "{\r\n \"name\": \"subnetname\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/subnetname\",\r\n + \ \"etag\": \"W/\\\"24b47733-3d60-4d85-98ec-184bc0dbe265\\\"\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Updating\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n + \ \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n + \ \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \"type\": + \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/aea35a5d-1cf8-4c66-97b5-91de5c00b21f?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/7ee840e4-2f94-474c-af31-d00e7876a52b?api-version=2021-02-01 cache-control: - no-cache content-length: - - '604' + - '609' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:11:22 GMT + - Fri, 14 May 2021 03:46:38 GMT expires: - '-1' pragma: @@ -521,7 +577,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 74b6d629-2698-4754-89b8-5e511cf2d129 + - be387f57-4cb7-4229-909d-24d7112ac9ad x-ms-ratelimit-remaining-subscription-writes: - '1196' status: @@ -537,9 +593,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/aea35a5d-1cf8-4c66-97b5-91de5c00b21f?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/7ee840e4-2f94-474c-af31-d00e7876a52b?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -551,7 +608,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:11:26 GMT + - Fri, 14 May 2021 03:46:41 GMT expires: - '-1' pragma: @@ -568,7 +625,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 6adbdff6-905e-47eb-9eb9-088ec6b9d2eb + - 1e32f168-9e04-41f2-b629-4ec8d8eb6be5 status: code: 200 message: OK @@ -582,28 +639,29 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/subnetname?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/subnetname?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"subnetname\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/subnetname\"\ - ,\r\n \"etag\": \"W/\\\"bde68726-6852-4dc3-9c29-f61e6b45e68a\\\"\",\r\n \ - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\ - addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\"\ - : \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\ - \n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" + string: "{\r\n \"name\": \"subnetname\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/subnetname\",\r\n + \ \"etag\": \"W/\\\"debf9033-607a-447d-b859-f0702c2f0eee\\\"\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n + \ \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n + \ \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \"type\": + \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" headers: cache-control: - no-cache content-length: - - '605' + - '610' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:11:26 GMT + - Fri, 14 May 2021 03:46:41 GMT etag: - - W/"bde68726-6852-4dc3-9c29-f61e6b45e68a" + - W/"debf9033-607a-447d-b859-f0702c2f0eee" expires: - '-1' pragma: @@ -620,7 +678,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 1d4e58da-ae89-4254-99e5-41ae48efd495 + - 5ba86771-3c6d-48f3-9712-af75119d5dc1 status: code: 200 message: OK @@ -635,47 +693,46 @@ interactions: Connection: - keep-alive Content-Length: - - '344' + - '349' Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/networkinterfacename?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/networkinterfacename?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"networkinterfacename\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/networkinterfacename\"\ - ,\r\n \"etag\": \"W/\\\"04b77428-465b-4042-939f-9530049ff1fc\\\"\",\r\n \ - \ \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\"\ - : \"Succeeded\",\r\n \"resourceGuid\": \"2f3daf11-2fbf-4d4d-a47e-98e120b5be86\"\ - ,\r\n \"ipConfigurations\": [\r\n {\r\n \"name\": \"ipconfig\"\ - ,\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/networkinterfacename/ipConfigurations/ipconfig\"\ - ,\r\n \"etag\": \"W/\\\"04b77428-465b-4042-939f-9530049ff1fc\\\"\"\ - ,\r\n \"type\": \"Microsoft.Network/networkInterfaces/ipConfigurations\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"privateIPAddress\": \"10.0.0.4\",\r\n \"privateIPAllocationMethod\"\ - : \"Dynamic\",\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/subnetname\"\ - \r\n },\r\n \"primary\": true,\r\n \"privateIPAddressVersion\"\ - : \"IPv4\"\r\n }\r\n }\r\n ],\r\n \"dnsSettings\": {\r\n\ - \ \"dnsServers\": [],\r\n \"appliedDnsServers\": [],\r\n \"\ - internalDomainNameSuffix\": \"2wygisyskwee5ij4di1jb0e5hd.bx.internal.cloudapp.net\"\ - \r\n },\r\n \"enableAcceleratedNetworking\": false,\r\n \"enableIPForwarding\"\ - : false,\r\n \"hostedWorkloads\": [],\r\n \"tapConfigurations\": [],\r\ - \n \"nicType\": \"Standard\"\r\n },\r\n \"type\": \"Microsoft.Network/networkInterfaces\"\ - \r\n}" + string: "{\r\n \"name\": \"networkinterfacename\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/networkinterfacename\",\r\n + \ \"etag\": \"W/\\\"72bb1396-44da-4145-8310-dd1b73988b1c\\\"\",\r\n \"location\": + \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"3fa6a9c6-c778-4096-a50e-eb6835e4c5e5\",\r\n \"ipConfigurations\": + [\r\n {\r\n \"name\": \"ipconfig\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/networkinterfacename/ipConfigurations/ipconfig\",\r\n + \ \"etag\": \"W/\\\"72bb1396-44da-4145-8310-dd1b73988b1c\\\"\",\r\n + \ \"type\": \"Microsoft.Network/networkInterfaces/ipConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAddress\": \"10.0.0.4\",\r\n \"privateIPAllocationMethod\": + \"Dynamic\",\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/subnetname\"\r\n + \ },\r\n \"primary\": true,\r\n \"privateIPAddressVersion\": + \"IPv4\"\r\n }\r\n }\r\n ],\r\n \"dnsSettings\": {\r\n \"dnsServers\": + [],\r\n \"appliedDnsServers\": [],\r\n \"internalDomainNameSuffix\": + \"ggwhlmju4cfedbc2unrhc2o4pd.bx.internal.cloudapp.net\"\r\n },\r\n \"enableAcceleratedNetworking\": + false,\r\n \"enableIPForwarding\": false,\r\n \"hostedWorkloads\": [],\r\n + \ \"tapConfigurations\": [],\r\n \"nicType\": \"Standard\"\r\n },\r\n + \ \"type\": \"Microsoft.Network/networkInterfaces\"\r\n}" headers: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/6dd88efc-b5e5-4b76-a762-df86bf9031da?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/cded57e5-a1c4-40ef-8a52-ff2ecdac7f6a?api-version=2021-02-01 cache-control: - no-cache content-length: - - '1858' + - '1873' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:11:30 GMT + - Fri, 14 May 2021 03:46:42 GMT expires: - '-1' pragma: @@ -688,7 +745,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 65137e2d-ea3f-4f6f-af66-dd44e8be8767 + - 7dd40807-9837-4ad9-bb7d-d5369c5ced4e x-ms-ratelimit-remaining-subscription-writes: - '1195' status: @@ -704,9 +761,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/6dd88efc-b5e5-4b76-a762-df86bf9031da?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/cded57e5-a1c4-40ef-8a52-ff2ecdac7f6a?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -718,7 +776,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:12:00 GMT + - Fri, 14 May 2021 03:47:12 GMT expires: - '-1' pragma: @@ -735,7 +793,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 5b0e7060-276e-4033-9f3e-97ed97193fea + - ec84a772-0434-4d67-adbd-5f65ae39be15 status: code: 200 message: OK @@ -749,41 +807,40 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/networkinterfacename?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/networkinterfacename?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"networkinterfacename\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/networkinterfacename\"\ - ,\r\n \"etag\": \"W/\\\"04b77428-465b-4042-939f-9530049ff1fc\\\"\",\r\n \ - \ \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\"\ - : \"Succeeded\",\r\n \"resourceGuid\": \"2f3daf11-2fbf-4d4d-a47e-98e120b5be86\"\ - ,\r\n \"ipConfigurations\": [\r\n {\r\n \"name\": \"ipconfig\"\ - ,\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/networkinterfacename/ipConfigurations/ipconfig\"\ - ,\r\n \"etag\": \"W/\\\"04b77428-465b-4042-939f-9530049ff1fc\\\"\"\ - ,\r\n \"type\": \"Microsoft.Network/networkInterfaces/ipConfigurations\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"privateIPAddress\": \"10.0.0.4\",\r\n \"privateIPAllocationMethod\"\ - : \"Dynamic\",\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/subnetname\"\ - \r\n },\r\n \"primary\": true,\r\n \"privateIPAddressVersion\"\ - : \"IPv4\"\r\n }\r\n }\r\n ],\r\n \"dnsSettings\": {\r\n\ - \ \"dnsServers\": [],\r\n \"appliedDnsServers\": [],\r\n \"\ - internalDomainNameSuffix\": \"2wygisyskwee5ij4di1jb0e5hd.bx.internal.cloudapp.net\"\ - \r\n },\r\n \"enableAcceleratedNetworking\": false,\r\n \"enableIPForwarding\"\ - : false,\r\n \"hostedWorkloads\": [],\r\n \"tapConfigurations\": [],\r\ - \n \"nicType\": \"Standard\"\r\n },\r\n \"type\": \"Microsoft.Network/networkInterfaces\"\ - \r\n}" + string: "{\r\n \"name\": \"networkinterfacename\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/networkinterfacename\",\r\n + \ \"etag\": \"W/\\\"72bb1396-44da-4145-8310-dd1b73988b1c\\\"\",\r\n \"location\": + \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"3fa6a9c6-c778-4096-a50e-eb6835e4c5e5\",\r\n \"ipConfigurations\": + [\r\n {\r\n \"name\": \"ipconfig\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/networkinterfacename/ipConfigurations/ipconfig\",\r\n + \ \"etag\": \"W/\\\"72bb1396-44da-4145-8310-dd1b73988b1c\\\"\",\r\n + \ \"type\": \"Microsoft.Network/networkInterfaces/ipConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAddress\": \"10.0.0.4\",\r\n \"privateIPAllocationMethod\": + \"Dynamic\",\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/subnetname\"\r\n + \ },\r\n \"primary\": true,\r\n \"privateIPAddressVersion\": + \"IPv4\"\r\n }\r\n }\r\n ],\r\n \"dnsSettings\": {\r\n \"dnsServers\": + [],\r\n \"appliedDnsServers\": [],\r\n \"internalDomainNameSuffix\": + \"ggwhlmju4cfedbc2unrhc2o4pd.bx.internal.cloudapp.net\"\r\n },\r\n \"enableAcceleratedNetworking\": + false,\r\n \"enableIPForwarding\": false,\r\n \"hostedWorkloads\": [],\r\n + \ \"tapConfigurations\": [],\r\n \"nicType\": \"Standard\"\r\n },\r\n + \ \"type\": \"Microsoft.Network/networkInterfaces\"\r\n}" headers: cache-control: - no-cache content-length: - - '1858' + - '1873' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:12:00 GMT + - Fri, 14 May 2021 03:47:12 GMT etag: - - W/"04b77428-465b-4042-939f-9530049ff1fc" + - W/"72bb1396-44da-4145-8310-dd1b73988b1c" expires: - '-1' pragma: @@ -800,7 +857,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 45f54e80-f62b-446e-8a59-d267927ae6f2 + - 3470a19b-d3c9-4a6c-bab8-3058df5bb9ad status: code: 200 message: OK @@ -818,28 +875,29 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/GatewaySubnet?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/GatewaySubnet?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"GatewaySubnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/GatewaySubnet\"\ - ,\r\n \"etag\": \"W/\\\"fbfaade3-5193-4052-8a4c-e97b65027fcd\\\"\",\r\n \ - \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"\ - addressPrefix\": \"10.0.1.0/24\",\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\"\ - : \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\ - \n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" + string: "{\r\n \"name\": \"GatewaySubnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/GatewaySubnet\",\r\n + \ \"etag\": \"W/\\\"e62f5a6d-107f-4d99-a62c-d6b6ebedb146\\\"\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Updating\",\r\n \"addressPrefix\": \"10.0.1.0/24\",\r\n + \ \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n + \ \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \"type\": + \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/f2df2da7-34f8-4f7b-9ddf-2f910550ee48?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/985dd454-6947-4856-a1c8-5dfe159f02dd?api-version=2021-02-01 cache-control: - no-cache content-length: - - '610' + - '615' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:12:02 GMT + - Fri, 14 May 2021 03:47:13 GMT expires: - '-1' pragma: @@ -852,7 +910,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 5dda2a8d-e9c0-48f1-a24a-48f7df860fa6 + - 8f9ed0f6-f79f-48de-9664-3ad98262ff1a x-ms-ratelimit-remaining-subscription-writes: - '1194' status: @@ -868,9 +926,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/f2df2da7-34f8-4f7b-9ddf-2f910550ee48?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/985dd454-6947-4856-a1c8-5dfe159f02dd?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -882,7 +941,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:12:06 GMT + - Fri, 14 May 2021 03:47:16 GMT expires: - '-1' pragma: @@ -899,7 +958,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 11b60c34-8b40-4d80-b3cc-5e4827edc9de + - 25d6d8b5-5c3a-45e5-9383-d32cff13bc95 status: code: 200 message: OK @@ -913,28 +972,29 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/GatewaySubnet?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/GatewaySubnet?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"GatewaySubnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/GatewaySubnet\"\ - ,\r\n \"etag\": \"W/\\\"16c44863-d1a0-408a-b82d-11dc3f6b93af\\\"\",\r\n \ - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\ - addressPrefix\": \"10.0.1.0/24\",\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\"\ - : \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\ - \n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" + string: "{\r\n \"name\": \"GatewaySubnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/GatewaySubnet\",\r\n + \ \"etag\": \"W/\\\"0fa1275d-8eba-4148-a5d6-e2454426adaa\\\"\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressPrefix\": \"10.0.1.0/24\",\r\n + \ \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n + \ \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \"type\": + \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" headers: cache-control: - no-cache content-length: - - '611' + - '616' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:12:06 GMT + - Fri, 14 May 2021 03:47:16 GMT etag: - - W/"16c44863-d1a0-408a-b82d-11dc3f6b93af" + - W/"0fa1275d-8eba-4148-a5d6-e2454426adaa" expires: - '-1' pragma: @@ -951,7 +1011,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 052609b1-5238-4912-b8fc-fba1a05b7327 + - 885d70f4-1fdc-46e0-8f55-4141b41c2299 status: code: 200 message: OK @@ -970,32 +1030,32 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/localNetworkGateways/localnetworkgatewayname?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/localNetworkGateways/localnetworkgatewayname?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"localnetworkgatewayname\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/localNetworkGateways/localnetworkgatewayname\"\ - ,\r\n \"etag\": \"W/\\\"c161d4cc-6fac-4f1b-b0e1-c0ee1283baf8\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/localNetworkGateways\",\r\n \"location\"\ - : \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\"\ - ,\r\n \"resourceGuid\": \"00a71ea1-5447-47e3-9b27-24d6c08e1a11\",\r\n \ - \ \"localNetworkAddressSpace\": {\r\n \"addressPrefixes\": [\r\n \ - \ \"10.1.0.0/16\"\r\n ]\r\n },\r\n \"gatewayIpAddress\": \"\ - 11.12.13.14\"\r\n }\r\n}" + string: "{\r\n \"name\": \"localnetworkgatewayname\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/localNetworkGateways/localnetworkgatewayname\",\r\n + \ \"etag\": \"W/\\\"d999f438-4f11-41ef-8bce-1f9942c7fc8f\\\"\",\r\n \"type\": + \"Microsoft.Network/localNetworkGateways\",\r\n \"location\": \"eastus\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": + \"4599b479-96f2-46fb-b5b8-da0e1bb8af59\",\r\n \"localNetworkAddressSpace\": + {\r\n \"addressPrefixes\": [\r\n \"10.1.0.0/16\"\r\n ]\r\n + \ },\r\n \"gatewayIpAddress\": \"11.12.13.14\"\r\n }\r\n}" headers: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/1e439821-e841-4ba2-8777-7f2a57a53315?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/13743435-3393-4446-9349-a010aea6228a?api-version=2021-02-01 cache-control: - no-cache content-length: - - '670' + - '675' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:12:10 GMT + - Fri, 14 May 2021 03:47:16 GMT expires: - '-1' pragma: @@ -1008,7 +1068,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 996e208d-e557-4695-ad6b-6d36bbaf24a6 + - 356d4d58-375e-4f34-8683-2c6042d7063e x-ms-ratelimit-remaining-subscription-writes: - '1193' status: @@ -1024,9 +1084,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/1e439821-e841-4ba2-8777-7f2a57a53315?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/13743435-3393-4446-9349-a010aea6228a?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -1038,7 +1099,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:12:20 GMT + - Fri, 14 May 2021 03:47:26 GMT expires: - '-1' pragma: @@ -1055,7 +1116,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - b200ffea-0d61-49e3-bf4a-0b0f3b23d9d3 + - f164a6e2-038c-456b-bcb6-0d0f62549773 status: code: 200 message: OK @@ -1069,30 +1130,30 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/localNetworkGateways/localnetworkgatewayname?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/localNetworkGateways/localnetworkgatewayname?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"localnetworkgatewayname\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/localNetworkGateways/localnetworkgatewayname\"\ - ,\r\n \"etag\": \"W/\\\"33af1838-7605-4485-bbee-f85662f0468e\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/localNetworkGateways\",\r\n \"location\"\ - : \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"resourceGuid\": \"00a71ea1-5447-47e3-9b27-24d6c08e1a11\",\r\n \ - \ \"localNetworkAddressSpace\": {\r\n \"addressPrefixes\": [\r\n \ - \ \"10.1.0.0/16\"\r\n ]\r\n },\r\n \"gatewayIpAddress\": \"\ - 11.12.13.14\"\r\n }\r\n}" + string: "{\r\n \"name\": \"localnetworkgatewayname\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/localNetworkGateways/localnetworkgatewayname\",\r\n + \ \"etag\": \"W/\\\"a7e30583-e6d8-4848-9b8c-945d939cf918\\\"\",\r\n \"type\": + \"Microsoft.Network/localNetworkGateways\",\r\n \"location\": \"eastus\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": + \"4599b479-96f2-46fb-b5b8-da0e1bb8af59\",\r\n \"localNetworkAddressSpace\": + {\r\n \"addressPrefixes\": [\r\n \"10.1.0.0/16\"\r\n ]\r\n + \ },\r\n \"gatewayIpAddress\": \"11.12.13.14\"\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '671' + - '676' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:12:20 GMT + - Fri, 14 May 2021 03:47:26 GMT etag: - - W/"33af1838-7605-4485-bbee-f85662f0468e" + - W/"a7e30583-e6d8-4848-9b8c-945d939cf918" expires: - '-1' pragma: @@ -1109,7 +1170,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - d473a94b-cdb5-4582-a7bc-bc7351a85b55 + - 35481909-367a-4b0b-9256-79a1007b74db status: code: 200 message: OK @@ -1129,60 +1190,58 @@ interactions: Connection: - keep-alive Content-Length: - - '900' + - '910' Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"virtualnetworkgatewayname\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname\"\ - ,\r\n \"etag\": \"W/\\\"99de11eb-1633-450d-8356-c363abe664ff\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/virtualNetworkGateways\",\r\n \"location\"\ - : \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\"\ - ,\r\n \"resourceGuid\": \"2b8715e6-d419-403b-bcf0-53611c0f3d0e\",\r\n \ - \ \"packetCaptureDiagnosticState\": \"None\",\r\n \"enablePrivateIpAddress\"\ - : false,\r\n \"ipConfigurations\": [\r\n {\r\n \"name\": \"\ - ipconfig\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname/ipConfigurations/ipconfig\"\ - ,\r\n \"etag\": \"W/\\\"99de11eb-1633-450d-8356-c363abe664ff\\\"\"\ - ,\r\n \"type\": \"Microsoft.Network/virtualNetworkGateways/ipConfigurations\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\"\ - ,\r\n \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"\ - publicIPAddress\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipname\"\ - \r\n },\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/GatewaySubnet\"\ - \r\n }\r\n }\r\n }\r\n ],\r\n \"natRules\": [],\r\ - \n \"enableBgpRouteTranslationForNat\": false,\r\n \"sku\": {\r\n \ - \ \"name\": \"VpnGw1\",\r\n \"tier\": \"VpnGw1\",\r\n \"capacity\"\ - : 2\r\n },\r\n \"gatewayType\": \"Vpn\",\r\n \"vpnType\": \"RouteBased\"\ - ,\r\n \"enableBgp\": false,\r\n \"activeActive\": false,\r\n \"vpnClientConfiguration\"\ - : {\r\n \"vpnClientProtocols\": [\r\n \"OpenVPN\",\r\n \ - \ \"IkeV2\"\r\n ],\r\n \"vpnAuthenticationTypes\": [],\r\n \ - \ \"vpnClientRootCertificates\": [],\r\n \"vpnClientRevokedCertificates\"\ - : [],\r\n \"radiusServers\": [],\r\n \"vpnClientIpsecPolicies\"\ - : []\r\n },\r\n \"bgpSettings\": {\r\n \"asn\": 65515,\r\n \ - \ \"bgpPeeringAddress\": \"10.0.1.30\",\r\n \"peerWeight\": 0,\r\n \ - \ \"bgpPeeringAddresses\": [\r\n {\r\n \"ipconfigurationId\"\ - : \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname/ipConfigurations/ipconfig\"\ - ,\r\n \"defaultBgpIpAddresses\": [],\r\n \"customBgpIpAddresses\"\ - : []\r\n }\r\n ]\r\n },\r\n \"customRoutes\": {\r\n \ - \ \"addressPrefixes\": [\r\n \"101.168.0.6/32\"\r\n ]\r\n \ - \ },\r\n \"vpnGatewayGeneration\": \"Generation1\",\r\n \"enableDnsForwarding\"\ - : false\r\n }\r\n}" + string: "{\r\n \"name\": \"virtualnetworkgatewayname\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname\",\r\n + \ \"etag\": \"W/\\\"564c7a6a-7306-4a57-8a8c-7e90eae70466\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworkGateways\",\r\n \"location\": \"eastus\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": + \"cba91b62-95c4-4f2c-bf21-465c1c600a32\",\r\n \"packetCaptureDiagnosticState\": + \"None\",\r\n \"enablePrivateIpAddress\": false,\r\n \"ipConfigurations\": + [\r\n {\r\n \"name\": \"ipconfig\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname/ipConfigurations/ipconfig\",\r\n + \ \"etag\": \"W/\\\"564c7a6a-7306-4a57-8a8c-7e90eae70466\\\"\",\r\n + \ \"type\": \"Microsoft.Network/virtualNetworkGateways/ipConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipname\"\r\n + \ },\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/GatewaySubnet\"\r\n + \ }\r\n }\r\n }\r\n ],\r\n \"natRules\": [],\r\n + \ \"enableBgpRouteTranslationForNat\": false,\r\n \"sku\": {\r\n \"name\": + \"VpnGw1\",\r\n \"tier\": \"VpnGw1\",\r\n \"capacity\": 2\r\n },\r\n + \ \"gatewayType\": \"Vpn\",\r\n \"vpnType\": \"RouteBased\",\r\n \"enableBgp\": + false,\r\n \"activeActive\": false,\r\n \"vpnClientConfiguration\": + {\r\n \"vpnClientProtocols\": [\r\n \"OpenVPN\",\r\n \"IkeV2\"\r\n + \ ],\r\n \"vpnAuthenticationTypes\": [],\r\n \"vpnClientRootCertificates\": + [],\r\n \"vpnClientRevokedCertificates\": [],\r\n \"radiusServers\": + [],\r\n \"vpnClientIpsecPolicies\": []\r\n },\r\n \"bgpSettings\": + {\r\n \"asn\": 65515,\r\n \"bgpPeeringAddress\": \"10.0.1.30\",\r\n + \ \"peerWeight\": 0,\r\n \"bgpPeeringAddresses\": [\r\n {\r\n + \ \"ipconfigurationId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname/ipConfigurations/ipconfig\",\r\n + \ \"defaultBgpIpAddresses\": [],\r\n \"customBgpIpAddresses\": + []\r\n }\r\n ]\r\n },\r\n \"customRoutes\": {\r\n \"addressPrefixes\": + [\r\n \"101.168.0.6/32\"\r\n ]\r\n },\r\n \"vpnGatewayGeneration\": + \"Generation1\",\r\n \"enableDnsForwarding\": false\r\n }\r\n}" headers: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/08f2d3a2-def1-43b3-8324-c0d17aaa9df4?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/f7cad6ab-1f4a-480d-b009-7e6e760d05f1?api-version=2021-02-01 cache-control: - no-cache content-length: - - '3075' + - '3100' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:12:24 GMT + - Fri, 14 May 2021 03:47:26 GMT expires: - '-1' pragma: @@ -1195,7 +1254,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - a887e63b-4684-4d18-a456-d8c57773cfb3 + - af36bbe2-338b-4db0-9b65-6c703d6a2edc x-ms-ratelimit-remaining-subscription-writes: - '1192' status: @@ -1211,9 +1270,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/08f2d3a2-def1-43b3-8324-c0d17aaa9df4?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/f7cad6ab-1f4a-480d-b009-7e6e760d05f1?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1225,7 +1285,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:12:34 GMT + - Fri, 14 May 2021 03:47:36 GMT expires: - '-1' pragma: @@ -1242,7 +1302,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 84d87e51-7466-4df1-a012-1b71e5cb8dfd + - 816a1c1b-391c-421f-b67c-e5f18bc42906 status: code: 200 message: OK @@ -1256,9 +1316,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/08f2d3a2-def1-43b3-8324-c0d17aaa9df4?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/f7cad6ab-1f4a-480d-b009-7e6e760d05f1?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1270,7 +1331,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:12:45 GMT + - Fri, 14 May 2021 03:47:46 GMT expires: - '-1' pragma: @@ -1287,7 +1348,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 1cb67537-6919-44fa-84b6-27266c01e9b9 + - c594a372-b5f5-42f7-91df-042a502d765d status: code: 200 message: OK @@ -1301,9 +1362,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/08f2d3a2-def1-43b3-8324-c0d17aaa9df4?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/f7cad6ab-1f4a-480d-b009-7e6e760d05f1?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1315,7 +1377,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:13:05 GMT + - Fri, 14 May 2021 03:48:06 GMT expires: - '-1' pragma: @@ -1332,7 +1394,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 65dd3042-9967-4232-b1d6-2248181289fd + - cfd3b5c5-ac4e-4f9f-a95a-179efc6ddbb3 status: code: 200 message: OK @@ -1346,9 +1408,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/08f2d3a2-def1-43b3-8324-c0d17aaa9df4?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/f7cad6ab-1f4a-480d-b009-7e6e760d05f1?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1360,7 +1423,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:13:25 GMT + - Fri, 14 May 2021 03:48:27 GMT expires: - '-1' pragma: @@ -1377,7 +1440,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - a8b5db45-ac24-4d9f-970d-6cc1a57f6a01 + - 8edabc4d-9412-4cea-b653-407daa638ca5 status: code: 200 message: OK @@ -1391,9 +1454,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/08f2d3a2-def1-43b3-8324-c0d17aaa9df4?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/f7cad6ab-1f4a-480d-b009-7e6e760d05f1?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1405,7 +1469,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:14:05 GMT + - Fri, 14 May 2021 03:49:06 GMT expires: - '-1' pragma: @@ -1422,7 +1486,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - a00e94cb-3e12-4771-a2bf-5a0050714065 + - ee2c4261-5794-4de7-9f57-aca323e3a7f1 status: code: 200 message: OK @@ -1436,9 +1500,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/08f2d3a2-def1-43b3-8324-c0d17aaa9df4?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/f7cad6ab-1f4a-480d-b009-7e6e760d05f1?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1450,7 +1515,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:14:47 GMT + - Fri, 14 May 2021 03:49:47 GMT expires: - '-1' pragma: @@ -1467,7 +1532,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - c2fd2312-0c3e-43f3-a5b2-79362cb14ea1 + - cba2ba14-fe2c-4c38-96ac-655dd69a2f89 status: code: 200 message: OK @@ -1481,9 +1546,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/08f2d3a2-def1-43b3-8324-c0d17aaa9df4?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/f7cad6ab-1f4a-480d-b009-7e6e760d05f1?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1495,7 +1561,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:16:07 GMT + - Fri, 14 May 2021 03:51:07 GMT expires: - '-1' pragma: @@ -1512,7 +1578,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 9b18f254-04b7-4094-92e9-6dfa2fabf33e + - 3170408c-15ed-4087-94b0-0993e9e46fc6 status: code: 200 message: OK @@ -1526,9 +1592,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/08f2d3a2-def1-43b3-8324-c0d17aaa9df4?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/f7cad6ab-1f4a-480d-b009-7e6e760d05f1?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1540,7 +1607,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:18:48 GMT + - Fri, 14 May 2021 03:53:47 GMT expires: - '-1' pragma: @@ -1557,7 +1624,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 4c0399b1-b17c-4bf3-82aa-e090a5ee60b5 + - 1aa2cfc6-b418-4afb-897d-38bd4cd9fc85 status: code: 200 message: OK @@ -1571,9 +1638,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/08f2d3a2-def1-43b3-8324-c0d17aaa9df4?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/f7cad6ab-1f4a-480d-b009-7e6e760d05f1?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1585,7 +1653,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:20:29 GMT + - Fri, 14 May 2021 03:55:27 GMT expires: - '-1' pragma: @@ -1602,7 +1670,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 2f0afab4-68df-4bbb-b673-ce066b0d4ae6 + - 921d6404-a251-43fc-8b2c-e73005a5eac6 status: code: 200 message: OK @@ -1616,9 +1684,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/08f2d3a2-def1-43b3-8324-c0d17aaa9df4?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/f7cad6ab-1f4a-480d-b009-7e6e760d05f1?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1630,7 +1699,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:22:09 GMT + - Fri, 14 May 2021 03:57:07 GMT expires: - '-1' pragma: @@ -1647,7 +1716,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 688c3af3-7c68-47a5-b9e5-379343cd9617 + - 29cc1e6b-e09c-471a-b588-0ba224fc8b58 status: code: 200 message: OK @@ -1661,9 +1730,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/08f2d3a2-def1-43b3-8324-c0d17aaa9df4?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/f7cad6ab-1f4a-480d-b009-7e6e760d05f1?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1675,7 +1745,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:23:49 GMT + - Fri, 14 May 2021 03:58:47 GMT expires: - '-1' pragma: @@ -1692,7 +1762,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 45cf9f0a-00f1-4509-a377-85e036e125a5 + - f67581f6-5369-4ed9-a470-b8410e34b200 status: code: 200 message: OK @@ -1706,9 +1776,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/08f2d3a2-def1-43b3-8324-c0d17aaa9df4?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/f7cad6ab-1f4a-480d-b009-7e6e760d05f1?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1720,7 +1791,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:25:30 GMT + - Fri, 14 May 2021 04:00:28 GMT expires: - '-1' pragma: @@ -1737,7 +1808,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 832ba2e5-d6a0-434c-a81f-24f6871ac3b3 + - 8a96d9cb-c15e-4a7f-8414-04da81a9de17 status: code: 200 message: OK @@ -1751,9 +1822,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/08f2d3a2-def1-43b3-8324-c0d17aaa9df4?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/f7cad6ab-1f4a-480d-b009-7e6e760d05f1?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1765,7 +1837,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:27:10 GMT + - Fri, 14 May 2021 04:02:07 GMT expires: - '-1' pragma: @@ -1782,7 +1854,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 6ffa1171-e917-4ddc-85c7-6e62a80ad22d + - 6ace7136-d201-498f-97b2-a28401c79ff3 status: code: 200 message: OK @@ -1796,9 +1868,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/08f2d3a2-def1-43b3-8324-c0d17aaa9df4?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/f7cad6ab-1f4a-480d-b009-7e6e760d05f1?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1810,7 +1883,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:28:51 GMT + - Fri, 14 May 2021 04:03:48 GMT expires: - '-1' pragma: @@ -1827,7 +1900,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 498eeea6-23f4-4d48-9d81-955be09f2afb + - d505ce53-8e1b-4c66-a657-b0d5fd99263d status: code: 200 message: OK @@ -1841,9 +1914,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/08f2d3a2-def1-43b3-8324-c0d17aaa9df4?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/f7cad6ab-1f4a-480d-b009-7e6e760d05f1?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1855,7 +1929,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:30:31 GMT + - Fri, 14 May 2021 04:05:28 GMT expires: - '-1' pragma: @@ -1872,7 +1946,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - f25ded90-423d-4560-81bc-ebf31a3e7f57 + - 05ef6c6a-ac7b-48a8-a0f9-f10cfd3338e6 status: code: 200 message: OK @@ -1886,99 +1960,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/08f2d3a2-def1-43b3-8324-c0d17aaa9df4?api-version=2020-11-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 04:32:11 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 4925c571-ac11-4e2d-b552-82ea463118ba - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/08f2d3a2-def1-43b3-8324-c0d17aaa9df4?api-version=2020-11-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 04:33:51 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 1f903875-299b-403a-9f48-7d4f8b9e0dda - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/08f2d3a2-def1-43b3-8324-c0d17aaa9df4?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/f7cad6ab-1f4a-480d-b009-7e6e760d05f1?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -1990,7 +1975,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:35:32 GMT + - Fri, 14 May 2021 04:07:08 GMT expires: - '-1' pragma: @@ -2007,7 +1992,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - ea53bd63-9646-481a-9ebb-46d9f89a904c + - 140b7b3f-f317-45d5-8b09-3b796e1b5b4f status: code: 200 message: OK @@ -2021,48 +2006,48 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"virtualnetworkgatewayname\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname\"\ - ,\r\n \"etag\": \"W/\\\"ffc36ff0-52c6-4e80-ad09-730a35df346b\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/virtualNetworkGateways\",\r\n \"location\"\ - : \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"resourceGuid\": \"2b8715e6-d419-403b-bcf0-53611c0f3d0e\",\r\n \ - \ \"packetCaptureDiagnosticState\": \"None\",\r\n \"enablePrivateIpAddress\"\ - : false,\r\n \"ipConfigurations\": [\r\n {\r\n \"name\": \"\ - ipconfig\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname/ipConfigurations/ipconfig\"\ - ,\r\n \"etag\": \"W/\\\"ffc36ff0-52c6-4e80-ad09-730a35df346b\\\"\"\ - ,\r\n \"type\": \"Microsoft.Network/virtualNetworkGateways/ipConfigurations\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"\ - publicIPAddress\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipname\"\ - \r\n },\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/GatewaySubnet\"\ - \r\n }\r\n }\r\n }\r\n ],\r\n \"natRules\": [],\r\ - \n \"enableBgpRouteTranslationForNat\": false,\r\n \"sku\": {\r\n \ - \ \"name\": \"VpnGw1\",\r\n \"tier\": \"VpnGw1\",\r\n \"capacity\"\ - : 2\r\n },\r\n \"gatewayType\": \"Vpn\",\r\n \"vpnType\": \"RouteBased\"\ - ,\r\n \"enableBgp\": false,\r\n \"activeActive\": false,\r\n \"bgpSettings\"\ - : {\r\n \"asn\": 65515,\r\n \"bgpPeeringAddress\": \"10.0.1.30\"\ - ,\r\n \"peerWeight\": 0,\r\n \"bgpPeeringAddresses\": [\r\n \ - \ {\r\n \"ipconfigurationId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname/ipConfigurations/ipconfig\"\ - ,\r\n \"defaultBgpIpAddresses\": [\r\n \"10.0.1.30\"\r\ - \n ],\r\n \"customBgpIpAddresses\": [],\r\n \"\ - tunnelIpAddresses\": [\r\n \"40.121.59.90\"\r\n ]\r\n\ - \ }\r\n ]\r\n },\r\n \"customRoutes\": {\r\n \"addressPrefixes\"\ - : [\r\n \"101.168.0.6/32\"\r\n ]\r\n },\r\n \"vpnGatewayGeneration\"\ - : \"Generation1\",\r\n \"enableDnsForwarding\": false\r\n }\r\n}" + string: "{\r\n \"name\": \"virtualnetworkgatewayname\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname\",\r\n + \ \"etag\": \"W/\\\"92598dee-8f9d-4321-8560-c33b3082e26d\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworkGateways\",\r\n \"location\": \"eastus\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": + \"cba91b62-95c4-4f2c-bf21-465c1c600a32\",\r\n \"packetCaptureDiagnosticState\": + \"None\",\r\n \"enablePrivateIpAddress\": false,\r\n \"ipConfigurations\": + [\r\n {\r\n \"name\": \"ipconfig\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname/ipConfigurations/ipconfig\",\r\n + \ \"etag\": \"W/\\\"92598dee-8f9d-4321-8560-c33b3082e26d\\\"\",\r\n + \ \"type\": \"Microsoft.Network/virtualNetworkGateways/ipConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipname\"\r\n + \ },\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/GatewaySubnet\"\r\n + \ }\r\n }\r\n }\r\n ],\r\n \"natRules\": [],\r\n + \ \"enableBgpRouteTranslationForNat\": false,\r\n \"sku\": {\r\n \"name\": + \"VpnGw1\",\r\n \"tier\": \"VpnGw1\",\r\n \"capacity\": 2\r\n },\r\n + \ \"gatewayType\": \"Vpn\",\r\n \"vpnType\": \"RouteBased\",\r\n \"enableBgp\": + false,\r\n \"activeActive\": false,\r\n \"bgpSettings\": {\r\n \"asn\": + 65515,\r\n \"bgpPeeringAddress\": \"10.0.1.30\",\r\n \"peerWeight\": + 0,\r\n \"bgpPeeringAddresses\": [\r\n {\r\n \"ipconfigurationId\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname/ipConfigurations/ipconfig\",\r\n + \ \"defaultBgpIpAddresses\": [\r\n \"10.0.1.30\"\r\n ],\r\n + \ \"customBgpIpAddresses\": [],\r\n \"tunnelIpAddresses\": + [\r\n \"137.117.70.214\"\r\n ]\r\n }\r\n ]\r\n + \ },\r\n \"customRoutes\": {\r\n \"addressPrefixes\": [\r\n \"101.168.0.6/32\"\r\n + \ ]\r\n },\r\n \"vpnGatewayGeneration\": \"Generation1\",\r\n \"enableDnsForwarding\": + false\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '2887' + - '2914' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:35:33 GMT + - Fri, 14 May 2021 04:07:08 GMT expires: - '-1' pragma: @@ -2079,7 +2064,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - df3ad55e-7d2c-4b97-8093-634366c913dd + - c7fb689c-7f51-4974-9e79-d2a0633f0ddb status: code: 200 message: OK @@ -2095,37 +2080,39 @@ interactions: Connection: - keep-alive Content-Length: - - '383' + - '388' Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/virtualNetworkPeerings/virtualnetworkpeeringname?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/virtualNetworkPeerings/virtualnetworkpeeringname?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"virtualnetworkpeeringname\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/virtualNetworkPeerings/virtualnetworkpeeringname\"\ - ,\r\n \"etag\": \"W/\\\"a7e59282-71ea-4a9d-924e-abfda74c85b6\\\"\",\r\n \ - \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"\ - resourceGuid\": \"c3b7c0e6-7976-081c-3ba3-17de80e7dd8e\",\r\n \"peeringState\"\ - : \"Initiated\",\r\n \"remoteVirtualNetwork\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/rmvirtualnetworkname\"\ - \r\n },\r\n \"allowVirtualNetworkAccess\": true,\r\n \"allowForwardedTraffic\"\ - : true,\r\n \"allowGatewayTransit\": false,\r\n \"useRemoteGateways\"\ - : false,\r\n \"doNotVerifyRemoteGateways\": false,\r\n \"remoteAddressSpace\"\ - : {\r\n \"addressPrefixes\": [\r\n \"10.2.0.0/16\"\r\n ]\r\ - \n },\r\n \"routeServiceVips\": {}\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/virtualNetworkPeerings\"\ - \r\n}" + string: "{\r\n \"name\": \"virtualnetworkpeeringname\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/virtualNetworkPeerings/virtualnetworkpeeringname\",\r\n + \ \"etag\": \"W/\\\"a5a2139f-bd7f-4e9b-82c2-35c9b969fa5e\\\"\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": \"f734bb36-9941-0fa9-1939-a36ca1b03801\",\r\n + \ \"peeringState\": \"Initiated\",\r\n \"peeringSyncLevel\": \"RemoteNotInSync\",\r\n + \ \"remoteVirtualNetwork\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/rmvirtualnetworkname\"\r\n + \ },\r\n \"allowVirtualNetworkAccess\": true,\r\n \"allowForwardedTraffic\": + true,\r\n \"allowGatewayTransit\": false,\r\n \"useRemoteGateways\": + false,\r\n \"doNotVerifyRemoteGateways\": false,\r\n \"remoteAddressSpace\": + {\r\n \"addressPrefixes\": [\r\n \"10.2.0.0/16\"\r\n ]\r\n + \ },\r\n \"remoteVirtualNetworkAddressSpace\": {\r\n \"addressPrefixes\": + [\r\n \"10.2.0.0/16\"\r\n ]\r\n },\r\n \"routeServiceVips\": + {}\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/virtualNetworkPeerings\"\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/66361f30-8b24-4af1-8fde-3418f2fb2587?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/9ad6241d-2cb9-4a51-9aec-0c0f35dc16fa?api-version=2021-02-01 cache-control: - no-cache content-length: - - '1168' + - '1333' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:35:33 GMT + - Fri, 14 May 2021 04:07:09 GMT expires: - '-1' pragma: @@ -2138,9 +2125,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 9ba97cad-fdbf-45de-b2cb-c324e2680163 + - b821aa24-4384-4f29-8a87-e56507972f8d x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 201 message: Created @@ -2154,9 +2141,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/66361f30-8b24-4af1-8fde-3418f2fb2587?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/9ad6241d-2cb9-4a51-9aec-0c0f35dc16fa?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -2168,7 +2156,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:35:44 GMT + - Fri, 14 May 2021 04:07:18 GMT expires: - '-1' pragma: @@ -2185,7 +2173,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 4b16af05-2aed-46a8-a989-4478635ac931 + - 75900865-f12d-40f5-b3b1-17a13e97d12b status: code: 200 message: OK @@ -2199,33 +2187,35 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/virtualNetworkPeerings/virtualnetworkpeeringname?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/virtualNetworkPeerings/virtualnetworkpeeringname?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"virtualnetworkpeeringname\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/virtualNetworkPeerings/virtualnetworkpeeringname\"\ - ,\r\n \"etag\": \"W/\\\"d43c493e-0496-4211-a77c-5e85ae0e72f7\\\"\",\r\n \ - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\ - resourceGuid\": \"c3b7c0e6-7976-081c-3ba3-17de80e7dd8e\",\r\n \"peeringState\"\ - : \"Initiated\",\r\n \"remoteVirtualNetwork\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/rmvirtualnetworkname\"\ - \r\n },\r\n \"allowVirtualNetworkAccess\": true,\r\n \"allowForwardedTraffic\"\ - : true,\r\n \"allowGatewayTransit\": false,\r\n \"useRemoteGateways\"\ - : false,\r\n \"doNotVerifyRemoteGateways\": false,\r\n \"remoteAddressSpace\"\ - : {\r\n \"addressPrefixes\": [\r\n \"10.2.0.0/16\"\r\n ]\r\ - \n },\r\n \"routeServiceVips\": {}\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/virtualNetworkPeerings\"\ - \r\n}" + string: "{\r\n \"name\": \"virtualnetworkpeeringname\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/virtualNetworkPeerings/virtualnetworkpeeringname\",\r\n + \ \"etag\": \"W/\\\"a14ce1ba-a700-412e-852b-bda9283b6b2d\\\"\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"f734bb36-9941-0fa9-1939-a36ca1b03801\",\r\n + \ \"peeringState\": \"Initiated\",\r\n \"peeringSyncLevel\": \"RemoteNotInSync\",\r\n + \ \"remoteVirtualNetwork\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/rmvirtualnetworkname\"\r\n + \ },\r\n \"allowVirtualNetworkAccess\": true,\r\n \"allowForwardedTraffic\": + true,\r\n \"allowGatewayTransit\": false,\r\n \"useRemoteGateways\": + false,\r\n \"doNotVerifyRemoteGateways\": false,\r\n \"remoteAddressSpace\": + {\r\n \"addressPrefixes\": [\r\n \"10.2.0.0/16\"\r\n ]\r\n + \ },\r\n \"remoteVirtualNetworkAddressSpace\": {\r\n \"addressPrefixes\": + [\r\n \"10.2.0.0/16\"\r\n ]\r\n },\r\n \"routeServiceVips\": + {}\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/virtualNetworkPeerings\"\r\n}" headers: cache-control: - no-cache content-length: - - '1169' + - '1334' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:35:44 GMT + - Fri, 14 May 2021 04:07:19 GMT etag: - - W/"d43c493e-0496-4211-a77c-5e85ae0e72f7" + - W/"a14ce1ba-a700-412e-852b-bda9283b6b2d" expires: - '-1' pragma: @@ -2242,7 +2232,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 1c34420f-d6e9-4d50-905c-a7813b4f438d + - 96a407c5-c3bc-471a-a541-fe7a30b4e8c4 status: code: 200 message: OK @@ -2269,44 +2259,43 @@ interactions: Connection: - keep-alive Content-Length: - - '1964' + - '1989' Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/connections/connectionname?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/connections/connectionname?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"connectionname\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/connections/connectionname\"\ - ,\r\n \"etag\": \"W/\\\"16781bb1-7a55-4a93-b6eb-8a39b4f74e84\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/connections\",\r\n \"location\": \"eastus\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ - \ \"resourceGuid\": \"b3b62696-9d68-40b1-8ec0-908882cfcbd2\",\r\n \"\ - packetCaptureDiagnosticState\": \"None\",\r\n \"virtualNetworkGateway1\"\ - : {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname\"\ - \r\n },\r\n \"localNetworkGateway2\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/localNetworkGateways/localnetworkgatewayname\"\ - \r\n },\r\n \"connectionType\": \"IPsec\",\r\n \"connectionProtocol\"\ - : \"IKEv2\",\r\n \"routingWeight\": 0,\r\n \"sharedKey\": \"Abc123\"\ - ,\r\n \"enableBgp\": false,\r\n \"useLocalAzureIpAddress\": false,\r\ - \n \"usePolicyBasedTrafficSelectors\": false,\r\n \"ipsecPolicies\"\ - : [],\r\n \"trafficSelectorPolicies\": [],\r\n \"ingressBytesTransferred\"\ - : 0,\r\n \"egressBytesTransferred\": 0,\r\n \"expressRouteGatewayBypass\"\ - : false,\r\n \"dpdTimeoutSeconds\": 0,\r\n \"connectionMode\": \"Default\"\ - \r\n }\r\n}" + string: "{\r\n \"name\": \"connectionname\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/connections/connectionname\",\r\n + \ \"etag\": \"W/\\\"85ba0e9e-3a81-41d7-8874-33943d57dc1a\\\"\",\r\n \"type\": + \"Microsoft.Network/connections\",\r\n \"location\": \"eastus\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": \"bc22a794-fbaa-4c49-bee5-3eb8649f34d5\",\r\n + \ \"packetCaptureDiagnosticState\": \"None\",\r\n \"virtualNetworkGateway1\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname\"\r\n + \ },\r\n \"localNetworkGateway2\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/localNetworkGateways/localnetworkgatewayname\"\r\n + \ },\r\n \"connectionType\": \"IPsec\",\r\n \"connectionProtocol\": + \"IKEv2\",\r\n \"routingWeight\": 0,\r\n \"sharedKey\": \"Abc123\",\r\n + \ \"enableBgp\": false,\r\n \"useLocalAzureIpAddress\": false,\r\n \"usePolicyBasedTrafficSelectors\": + false,\r\n \"ipsecPolicies\": [],\r\n \"trafficSelectorPolicies\": [],\r\n + \ \"ingressBytesTransferred\": 0,\r\n \"egressBytesTransferred\": 0,\r\n + \ \"expressRouteGatewayBypass\": false,\r\n \"dpdTimeoutSeconds\": 0,\r\n + \ \"connectionMode\": \"Default\"\r\n }\r\n}" headers: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/e48b3144-d312-4359-ab65-c9b7b95caaf3?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/c9657f96-fe12-4acf-a77d-b1abe88733ac?api-version=2021-02-01 cache-control: - no-cache content-length: - - '1547' + - '1562' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:35:52 GMT + - Fri, 14 May 2021 04:07:19 GMT expires: - '-1' pragma: @@ -2319,9 +2308,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - d4331e92-cf43-4ddf-9289-f13eb0fae3d4 + - b5b8921c-0193-4ba7-9f38-d9823c8f6dc7 x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1197' status: code: 201 message: Created @@ -2335,9 +2324,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/e48b3144-d312-4359-ab65-c9b7b95caaf3?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/c9657f96-fe12-4acf-a77d-b1abe88733ac?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -2349,7 +2339,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:36:02 GMT + - Fri, 14 May 2021 04:07:29 GMT expires: - '-1' pragma: @@ -2366,7 +2356,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - c23a4b35-d0f2-4420-b696-4a4ad59c5c20 + - 084c3307-212f-4e55-a50d-807137cdb700 status: code: 200 message: OK @@ -2380,9 +2370,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/e48b3144-d312-4359-ab65-c9b7b95caaf3?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/c9657f96-fe12-4acf-a77d-b1abe88733ac?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -2394,7 +2385,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:36:12 GMT + - Fri, 14 May 2021 04:07:39 GMT expires: - '-1' pragma: @@ -2411,7 +2402,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - cf1f74fe-a025-4a28-b6f8-f64eb94db0b3 + - fc3064b0-e77c-4c13-b2e7-1db62a5b9d4f status: code: 200 message: OK @@ -2425,9 +2416,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/e48b3144-d312-4359-ab65-c9b7b95caaf3?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/c9657f96-fe12-4acf-a77d-b1abe88733ac?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -2439,7 +2431,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:36:33 GMT + - Fri, 14 May 2021 04:08:00 GMT expires: - '-1' pragma: @@ -2456,7 +2448,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - cb1993eb-d6cb-494a-bac0-beead31a75b2 + - 5a70de3e-c1b4-4292-8e9b-497099034ec3 status: code: 200 message: OK @@ -2470,36 +2462,36 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/connections/connectionname?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/connections/connectionname?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"connectionname\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/connections/connectionname\"\ - ,\r\n \"etag\": \"W/\\\"ee843cce-728d-4fba-8cea-0260c5af324a\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/connections\",\r\n \"location\": \"eastus\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n\ - \ \"resourceGuid\": \"b3b62696-9d68-40b1-8ec0-908882cfcbd2\",\r\n \"\ - packetCaptureDiagnosticState\": \"None\",\r\n \"virtualNetworkGateway1\"\ - : {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname\"\ - \r\n },\r\n \"localNetworkGateway2\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/localNetworkGateways/localnetworkgatewayname\"\ - \r\n },\r\n \"connectionType\": \"IPsec\",\r\n \"connectionProtocol\"\ - : \"IKEv2\",\r\n \"routingWeight\": 0,\r\n \"sharedKey\": \"Abc123\"\ - ,\r\n \"enableBgp\": false,\r\n \"useLocalAzureIpAddress\": false,\r\ - \n \"usePolicyBasedTrafficSelectors\": false,\r\n \"ipsecPolicies\"\ - : [],\r\n \"trafficSelectorPolicies\": [],\r\n \"connectionStatus\"\ - : \"Unknown\",\r\n \"ingressBytesTransferred\": 0,\r\n \"egressBytesTransferred\"\ - : 0,\r\n \"expressRouteGatewayBypass\": false,\r\n \"dpdTimeoutSeconds\"\ - : 0,\r\n \"connectionMode\": \"Default\"\r\n }\r\n}" + string: "{\r\n \"name\": \"connectionname\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/connections/connectionname\",\r\n + \ \"etag\": \"W/\\\"37f74b71-ec4b-4fa1-93cf-8994d7b02cc4\\\"\",\r\n \"type\": + \"Microsoft.Network/connections\",\r\n \"location\": \"eastus\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"bc22a794-fbaa-4c49-bee5-3eb8649f34d5\",\r\n + \ \"packetCaptureDiagnosticState\": \"None\",\r\n \"virtualNetworkGateway1\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname\"\r\n + \ },\r\n \"localNetworkGateway2\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/localNetworkGateways/localnetworkgatewayname\"\r\n + \ },\r\n \"connectionType\": \"IPsec\",\r\n \"connectionProtocol\": + \"IKEv2\",\r\n \"routingWeight\": 0,\r\n \"sharedKey\": \"Abc123\",\r\n + \ \"enableBgp\": false,\r\n \"useLocalAzureIpAddress\": false,\r\n \"usePolicyBasedTrafficSelectors\": + false,\r\n \"ipsecPolicies\": [],\r\n \"trafficSelectorPolicies\": [],\r\n + \ \"connectionStatus\": \"Unknown\",\r\n \"ingressBytesTransferred\": + 0,\r\n \"egressBytesTransferred\": 0,\r\n \"expressRouteGatewayBypass\": + false,\r\n \"dpdTimeoutSeconds\": 0,\r\n \"connectionMode\": \"Default\"\r\n + \ }\r\n}" headers: cache-control: - no-cache content-length: - - '1584' + - '1599' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:36:33 GMT + - Fri, 14 May 2021 04:08:00 GMT expires: - '-1' pragma: @@ -2516,7 +2508,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - e1c337b0-8f9e-41ca-ab7c-f4fcd02ca1f0 + - 171659b3-55b6-4ff7-bb6c-b3baca5cd25e status: code: 200 message: OK @@ -2534,21 +2526,22 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/connections/connectionname/sharedkey?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/connections/connectionname/sharedkey?api-version=2021-02-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/07bd48d9-9dd8-4c50-b07c-b4b2c764ef60?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/4e9472c0-43e6-458a-9243-a9e544085bfa?api-version=2021-02-01 cache-control: - no-cache content-length: - '0' date: - - Tue, 09 Mar 2021 04:36:34 GMT + - Fri, 14 May 2021 04:08:00 GMT expires: - '-1' pragma: @@ -2561,99 +2554,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 3e7fb0fa-b78e-4cff-a41e-6b97d65fb615 + - 8c8a6ac6-099b-470d-9fa8-eb55e2d0ee71 x-ms-ratelimit-remaining-subscription-writes: - - '1197' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/07bd48d9-9dd8-4c50-b07c-b4b2c764ef60?api-version=2020-11-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 04:36:44 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - a6d8579c-73b8-4a28-af06-00e604b7dd52 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/07bd48d9-9dd8-4c50-b07c-b4b2c764ef60?api-version=2020-11-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 04:36:55 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - a7f42d21-c208-4201-bbeb-32fac69d8f82 + - '1196' status: code: 200 message: OK @@ -2667,9 +2570,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/07bd48d9-9dd8-4c50-b07c-b4b2c764ef60?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/4e9472c0-43e6-458a-9243-a9e544085bfa?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -2681,7 +2585,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:37:16 GMT + - Fri, 14 May 2021 04:08:10 GMT expires: - '-1' pragma: @@ -2698,7 +2602,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - c8809c2d-d062-4ae2-8603-795b92d5e850 + - e9b8555f-1d6a-4f69-8c81-870c25ab5093 status: code: 200 message: OK @@ -2712,9 +2616,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/07bd48d9-9dd8-4c50-b07c-b4b2c764ef60?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/4e9472c0-43e6-458a-9243-a9e544085bfa?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -2726,7 +2631,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:37:36 GMT + - Fri, 14 May 2021 04:08:20 GMT expires: - '-1' pragma: @@ -2743,7 +2648,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - edf53bd2-497f-4ab1-a0f4-54ff50e8cc79 + - b00948c5-af5a-42f6-8b99-82597cc143eb status: code: 200 message: OK @@ -2757,9 +2662,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/07bd48d9-9dd8-4c50-b07c-b4b2c764ef60?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/4e9472c0-43e6-458a-9243-a9e544085bfa?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -2771,7 +2677,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:38:16 GMT + - Fri, 14 May 2021 04:08:40 GMT expires: - '-1' pragma: @@ -2788,7 +2694,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 332e494b-d79e-4c73-a978-476f3cdd1300 + - 56f74fe4-309b-49c4-96be-7148e71e7e3c status: code: 200 message: OK @@ -2802,9 +2708,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/connections/connectionname/sharedkey?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/connections/connectionname/sharedkey?api-version=2021-02-01 response: body: string: "{\r\n \"value\": \"AzureAbc123\"\r\n}" @@ -2816,7 +2723,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:38:16 GMT + - Fri, 14 May 2021 04:08:40 GMT expires: - '-1' pragma: @@ -2833,7 +2740,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 68ecc98d-7b7a-4789-a204-c0b17f4c4d31 + - ec0cf5ae-5c97-43a9-9a45-a95ac5396a8e status: code: 200 message: OK @@ -2847,33 +2754,35 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/virtualNetworkPeerings/virtualnetworkpeeringname?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/virtualNetworkPeerings/virtualnetworkpeeringname?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"virtualnetworkpeeringname\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/virtualNetworkPeerings/virtualnetworkpeeringname\"\ - ,\r\n \"etag\": \"W/\\\"d43c493e-0496-4211-a77c-5e85ae0e72f7\\\"\",\r\n \ - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\ - resourceGuid\": \"c3b7c0e6-7976-081c-3ba3-17de80e7dd8e\",\r\n \"peeringState\"\ - : \"Initiated\",\r\n \"remoteVirtualNetwork\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/rmvirtualnetworkname\"\ - \r\n },\r\n \"allowVirtualNetworkAccess\": true,\r\n \"allowForwardedTraffic\"\ - : true,\r\n \"allowGatewayTransit\": false,\r\n \"useRemoteGateways\"\ - : false,\r\n \"doNotVerifyRemoteGateways\": false,\r\n \"remoteAddressSpace\"\ - : {\r\n \"addressPrefixes\": [\r\n \"10.2.0.0/16\"\r\n ]\r\ - \n },\r\n \"routeServiceVips\": {}\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/virtualNetworkPeerings\"\ - \r\n}" + string: "{\r\n \"name\": \"virtualnetworkpeeringname\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/virtualNetworkPeerings/virtualnetworkpeeringname\",\r\n + \ \"etag\": \"W/\\\"a14ce1ba-a700-412e-852b-bda9283b6b2d\\\"\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"f734bb36-9941-0fa9-1939-a36ca1b03801\",\r\n + \ \"peeringState\": \"Initiated\",\r\n \"peeringSyncLevel\": \"RemoteNotInSync\",\r\n + \ \"remoteVirtualNetwork\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/rmvirtualnetworkname\"\r\n + \ },\r\n \"allowVirtualNetworkAccess\": true,\r\n \"allowForwardedTraffic\": + true,\r\n \"allowGatewayTransit\": false,\r\n \"useRemoteGateways\": + false,\r\n \"doNotVerifyRemoteGateways\": false,\r\n \"remoteAddressSpace\": + {\r\n \"addressPrefixes\": [\r\n \"10.2.0.0/16\"\r\n ]\r\n + \ },\r\n \"remoteVirtualNetworkAddressSpace\": {\r\n \"addressPrefixes\": + [\r\n \"10.2.0.0/16\"\r\n ]\r\n },\r\n \"routeServiceVips\": + {}\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/virtualNetworkPeerings\"\r\n}" headers: cache-control: - no-cache content-length: - - '1169' + - '1334' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:38:17 GMT + - Fri, 14 May 2021 04:08:40 GMT etag: - - W/"d43c493e-0496-4211-a77c-5e85ae0e72f7" + - W/"a14ce1ba-a700-412e-852b-bda9283b6b2d" expires: - '-1' pragma: @@ -2890,7 +2799,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 13bdaf13-8fda-4244-8876-bfaf3f8b7728 + - 8fdd8279-097e-4e2a-b65f-28f8b04616ad status: code: 200 message: OK @@ -2904,9 +2813,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/subnetname/ServiceAssociationLinks?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/subnetname/ServiceAssociationLinks?api-version=2021-02-01 response: body: string: "{\r\n \"value\": []\r\n}" @@ -2918,7 +2828,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:38:17 GMT + - Fri, 14 May 2021 04:08:40 GMT expires: - '-1' pragma: @@ -2935,7 +2845,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 12eaacc6-34b4-428c-8c81-463eb0876384 + - 376e161b-9ac7-4ed4-aa86-744c4a8ac8ce status: code: 200 message: OK @@ -2949,9 +2859,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/subnetname/ResourceNavigationLinks?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/subnetname/ResourceNavigationLinks?api-version=2021-02-01 response: body: string: "{\r\n \"value\": []\r\n}" @@ -2963,7 +2874,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:38:17 GMT + - Fri, 14 May 2021 04:08:40 GMT expires: - '-1' pragma: @@ -2980,7 +2891,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - e300437f-fc36-42e9-964d-6764dd73a70c + - afeda440-6b10-49c2-8db7-bbfe85c75afd status: code: 200 message: OK @@ -2994,9 +2905,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/CheckIPAddressAvailability?ipAddress=10.0.1.4&api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/CheckIPAddressAvailability?ipAddress=10.0.1.4&api-version=2021-02-01 response: body: string: "{\r\n \"available\": true,\r\n \"isPlatformReserved\": false\r\n}" @@ -3008,7 +2920,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:38:18 GMT + - Fri, 14 May 2021 04:08:40 GMT expires: - '-1' pragma: @@ -3025,7 +2937,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 7386cd1a-8472-419c-968e-1f6894681b66 + - a679f4f4-bdc4-4493-88dd-4b75c4d92f25 status: code: 200 message: OK @@ -3039,32 +2951,30 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/subnetname?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/subnetname?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"subnetname\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/subnetname\"\ - ,\r\n \"etag\": \"W/\\\"64798db6-3859-4882-95ba-21eb7eb4c67d\\\"\",\r\n \ - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\ - addressPrefix\": \"10.0.0.0/24\",\r\n \"networkSecurityGroup\": {\r\n \ - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkSecurityGroups/virtualnetworkname-subnetname-NRMS\"\ - \r\n },\r\n \"ipConfigurations\": [\r\n {\r\n \"id\": \"\ - /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/networkinterfacename/ipConfigurations/ipconfig\"\ - \r\n }\r\n ],\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\"\ - : \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\ - \n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" + string: "{\r\n \"name\": \"subnetname\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/subnetname\",\r\n + \ \"etag\": \"W/\\\"01bf0a83-50a1-40cf-b567-30cdf4ec5e22\\\"\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n + \ \"ipConfigurations\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/networkinterfacename/ipConfigurations/ipconfig\"\r\n + \ }\r\n ],\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": + \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n + \ },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" headers: cache-control: - no-cache content-length: - - '1193' + - '921' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:38:18 GMT + - Fri, 14 May 2021 04:08:40 GMT etag: - - W/"64798db6-3859-4882-95ba-21eb7eb4c67d" + - W/"01bf0a83-50a1-40cf-b567-30cdf4ec5e22" expires: - '-1' pragma: @@ -3081,7 +2991,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - cf7ab6eb-f05b-4190-890b-e07ed1cfdf78 + - da2e7bce-5a2b-4ef5-8037-8a45a20fdb89 status: code: 200 message: OK @@ -3095,48 +3005,48 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"virtualnetworkgatewayname\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname\"\ - ,\r\n \"etag\": \"W/\\\"70d9f9c3-b04e-4005-8edd-dc976a1418e5\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/virtualNetworkGateways\",\r\n \"location\"\ - : \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"resourceGuid\": \"2b8715e6-d419-403b-bcf0-53611c0f3d0e\",\r\n \ - \ \"packetCaptureDiagnosticState\": \"None\",\r\n \"enablePrivateIpAddress\"\ - : false,\r\n \"ipConfigurations\": [\r\n {\r\n \"name\": \"\ - ipconfig\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname/ipConfigurations/ipconfig\"\ - ,\r\n \"etag\": \"W/\\\"70d9f9c3-b04e-4005-8edd-dc976a1418e5\\\"\"\ - ,\r\n \"type\": \"Microsoft.Network/virtualNetworkGateways/ipConfigurations\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"\ - publicIPAddress\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipname\"\ - \r\n },\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/GatewaySubnet\"\ - \r\n }\r\n }\r\n }\r\n ],\r\n \"natRules\": [],\r\ - \n \"enableBgpRouteTranslationForNat\": false,\r\n \"sku\": {\r\n \ - \ \"name\": \"VpnGw1\",\r\n \"tier\": \"VpnGw1\",\r\n \"capacity\"\ - : 2\r\n },\r\n \"gatewayType\": \"Vpn\",\r\n \"vpnType\": \"RouteBased\"\ - ,\r\n \"enableBgp\": false,\r\n \"activeActive\": false,\r\n \"bgpSettings\"\ - : {\r\n \"asn\": 65515,\r\n \"bgpPeeringAddress\": \"10.0.1.30\"\ - ,\r\n \"peerWeight\": 0,\r\n \"bgpPeeringAddresses\": [\r\n \ - \ {\r\n \"ipconfigurationId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname/ipConfigurations/ipconfig\"\ - ,\r\n \"defaultBgpIpAddresses\": [\r\n \"10.0.1.30\"\r\ - \n ],\r\n \"customBgpIpAddresses\": [],\r\n \"\ - tunnelIpAddresses\": [\r\n \"40.121.59.90\"\r\n ]\r\n\ - \ }\r\n ]\r\n },\r\n \"customRoutes\": {\r\n \"addressPrefixes\"\ - : [\r\n \"101.168.0.6/32\"\r\n ]\r\n },\r\n \"vpnGatewayGeneration\"\ - : \"Generation1\",\r\n \"enableDnsForwarding\": false\r\n }\r\n}" + string: "{\r\n \"name\": \"virtualnetworkgatewayname\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname\",\r\n + \ \"etag\": \"W/\\\"90cb3326-bf44-4716-af08-06861591d22d\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworkGateways\",\r\n \"location\": \"eastus\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": + \"cba91b62-95c4-4f2c-bf21-465c1c600a32\",\r\n \"packetCaptureDiagnosticState\": + \"None\",\r\n \"enablePrivateIpAddress\": false,\r\n \"ipConfigurations\": + [\r\n {\r\n \"name\": \"ipconfig\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname/ipConfigurations/ipconfig\",\r\n + \ \"etag\": \"W/\\\"90cb3326-bf44-4716-af08-06861591d22d\\\"\",\r\n + \ \"type\": \"Microsoft.Network/virtualNetworkGateways/ipConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipname\"\r\n + \ },\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/GatewaySubnet\"\r\n + \ }\r\n }\r\n }\r\n ],\r\n \"natRules\": [],\r\n + \ \"enableBgpRouteTranslationForNat\": false,\r\n \"sku\": {\r\n \"name\": + \"VpnGw1\",\r\n \"tier\": \"VpnGw1\",\r\n \"capacity\": 2\r\n },\r\n + \ \"gatewayType\": \"Vpn\",\r\n \"vpnType\": \"RouteBased\",\r\n \"enableBgp\": + false,\r\n \"activeActive\": false,\r\n \"bgpSettings\": {\r\n \"asn\": + 65515,\r\n \"bgpPeeringAddress\": \"10.0.1.30\",\r\n \"peerWeight\": + 0,\r\n \"bgpPeeringAddresses\": [\r\n {\r\n \"ipconfigurationId\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname/ipConfigurations/ipconfig\",\r\n + \ \"defaultBgpIpAddresses\": [\r\n \"10.0.1.30\"\r\n ],\r\n + \ \"customBgpIpAddresses\": [],\r\n \"tunnelIpAddresses\": + [\r\n \"137.117.70.214\"\r\n ]\r\n }\r\n ]\r\n + \ },\r\n \"customRoutes\": {\r\n \"addressPrefixes\": [\r\n \"101.168.0.6/32\"\r\n + \ ]\r\n },\r\n \"vpnGatewayGeneration\": \"Generation1\",\r\n \"enableDnsForwarding\": + false\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '2887' + - '2914' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:38:19 GMT + - Fri, 14 May 2021 04:08:40 GMT expires: - '-1' pragma: @@ -3153,7 +3063,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - cc15fced-c1ea-4787-8c84-ec089b5eae77 + - 742215a8-f95f-4feb-9eaa-2e640a7da081 status: code: 200 message: OK @@ -3167,30 +3077,30 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/localNetworkGateways/localnetworkgatewayname?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/localNetworkGateways/localnetworkgatewayname?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"localnetworkgatewayname\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/localNetworkGateways/localnetworkgatewayname\"\ - ,\r\n \"etag\": \"W/\\\"33af1838-7605-4485-bbee-f85662f0468e\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/localNetworkGateways\",\r\n \"location\"\ - : \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"resourceGuid\": \"00a71ea1-5447-47e3-9b27-24d6c08e1a11\",\r\n \ - \ \"localNetworkAddressSpace\": {\r\n \"addressPrefixes\": [\r\n \ - \ \"10.1.0.0/16\"\r\n ]\r\n },\r\n \"gatewayIpAddress\": \"\ - 11.12.13.14\"\r\n }\r\n}" + string: "{\r\n \"name\": \"localnetworkgatewayname\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/localNetworkGateways/localnetworkgatewayname\",\r\n + \ \"etag\": \"W/\\\"a7e30583-e6d8-4848-9b8c-945d939cf918\\\"\",\r\n \"type\": + \"Microsoft.Network/localNetworkGateways\",\r\n \"location\": \"eastus\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": + \"4599b479-96f2-46fb-b5b8-da0e1bb8af59\",\r\n \"localNetworkAddressSpace\": + {\r\n \"addressPrefixes\": [\r\n \"10.1.0.0/16\"\r\n ]\r\n + \ },\r\n \"gatewayIpAddress\": \"11.12.13.14\"\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '671' + - '676' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:38:19 GMT + - Fri, 14 May 2021 04:08:40 GMT etag: - - W/"33af1838-7605-4485-bbee-f85662f0468e" + - W/"a7e30583-e6d8-4848-9b8c-945d939cf918" expires: - '-1' pragma: @@ -3207,7 +3117,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - dbcbe5e8-d8e1-49ef-bc8f-0144baa84959 + - b37c0457-3466-4d5a-b688-1a8fac528fa2 status: code: 200 message: OK @@ -3221,9 +3131,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/connections/connectionname/sharedkey?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/connections/connectionname/sharedkey?api-version=2021-02-01 response: body: string: "{\r\n \"value\": \"AzureAbc123\"\r\n}" @@ -3235,7 +3146,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:38:20 GMT + - Fri, 14 May 2021 04:08:41 GMT expires: - '-1' pragma: @@ -3252,7 +3163,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - d9f415dc-95e5-4712-92fc-c5a8729ee267 + - 5a5ec72a-48e0-4139-9edb-dc0113b686e2 status: code: 200 message: OK @@ -3266,64 +3177,63 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"virtualnetworkname\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname\"\ - ,\r\n \"etag\": \"W/\\\"64798db6-3859-4882-95ba-21eb7eb4c67d\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n\ - \ \"resourceGuid\": \"4b64b0e5-5512-4f88-a13e-1a3690e89f3b\",\r\n \"\ - addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\ - \r\n ]\r\n },\r\n \"subnets\": [\r\n {\r\n \"name\"\ - : \"GatewaySubnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/GatewaySubnet\"\ - ,\r\n \"etag\": \"W/\\\"64798db6-3859-4882-95ba-21eb7eb4c67d\\\"\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"addressPrefix\": \"10.0.1.0/24\",\r\n \"ipConfigurations\"\ - : [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname/ipConfigurations/ipconfig\"\ - \r\n }\r\n ],\r\n \"delegations\": [],\r\n \ - \ \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n \"\ - privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \ - \ \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n },\r\n\ - \ {\r\n \"name\": \"subnetname\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/subnetname\"\ - ,\r\n \"etag\": \"W/\\\"64798db6-3859-4882-95ba-21eb7eb4c67d\\\"\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n \"networkSecurityGroup\"\ - : {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkSecurityGroups/virtualnetworkname-subnetname-NRMS\"\ - \r\n },\r\n \"ipConfigurations\": [\r\n {\r\n\ - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/networkinterfacename/ipConfigurations/ipconfig\"\ - \r\n }\r\n ],\r\n \"delegations\": [],\r\n \ - \ \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n \"\ - privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \ - \ \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n }\r\n \ - \ ],\r\n \"virtualNetworkPeerings\": [\r\n {\r\n \"name\"\ - : \"virtualnetworkpeeringname\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/virtualNetworkPeerings/virtualnetworkpeeringname\"\ - ,\r\n \"etag\": \"W/\\\"64798db6-3859-4882-95ba-21eb7eb4c67d\\\"\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"resourceGuid\": \"c3b7c0e6-7976-081c-3ba3-17de80e7dd8e\"\ - ,\r\n \"peeringState\": \"Initiated\",\r\n \"remoteVirtualNetwork\"\ - : {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/rmvirtualnetworkname\"\ - \r\n },\r\n \"allowVirtualNetworkAccess\": true,\r\n \ - \ \"allowForwardedTraffic\": true,\r\n \"allowGatewayTransit\"\ - : false,\r\n \"useRemoteGateways\": false,\r\n \"doNotVerifyRemoteGateways\"\ - : false,\r\n \"remoteAddressSpace\": {\r\n \"addressPrefixes\"\ - : [\r\n \"10.2.0.0/16\"\r\n ]\r\n },\r\n\ - \ \"routeServiceVips\": {}\r\n },\r\n \"type\": \"\ - Microsoft.Network/virtualNetworks/virtualNetworkPeerings\"\r\n }\r\n\ - \ ],\r\n \"enableDdosProtection\": false\r\n }\r\n}" + string: "{\r\n \"name\": \"virtualnetworkname\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname\",\r\n + \ \"etag\": \"W/\\\"01bf0a83-50a1-40cf-b567-30cdf4ec5e22\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": + \"b175ac31-f034-418a-845c-a3627171de7b\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": + [\r\n \"10.0.0.0/16\"\r\n ]\r\n },\r\n \"subnets\": [\r\n + \ {\r\n \"name\": \"subnetname\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/subnetname\",\r\n + \ \"etag\": \"W/\\\"01bf0a83-50a1-40cf-b567-30cdf4ec5e22\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"addressPrefix\": \"10.0.0.0/24\",\r\n \"ipConfigurations\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/networkinterfacename/ipConfigurations/ipconfig\"\r\n + \ }\r\n ],\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": + \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n + \ },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n + \ },\r\n {\r\n \"name\": \"GatewaySubnet\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/GatewaySubnet\",\r\n + \ \"etag\": \"W/\\\"01bf0a83-50a1-40cf-b567-30cdf4ec5e22\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"addressPrefix\": \"10.0.1.0/24\",\r\n \"ipConfigurations\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname/ipConfigurations/ipconfig\"\r\n + \ }\r\n ],\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": + \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n + \ },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n + \ }\r\n ],\r\n \"virtualNetworkPeerings\": [\r\n {\r\n \"name\": + \"virtualnetworkpeeringname\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/virtualNetworkPeerings/virtualnetworkpeeringname\",\r\n + \ \"etag\": \"W/\\\"01bf0a83-50a1-40cf-b567-30cdf4ec5e22\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"f734bb36-9941-0fa9-1939-a36ca1b03801\",\r\n + \ \"peeringState\": \"Initiated\",\r\n \"peeringSyncLevel\": + \"RemoteNotInSync\",\r\n \"remoteVirtualNetwork\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/rmvirtualnetworkname\"\r\n + \ },\r\n \"allowVirtualNetworkAccess\": true,\r\n \"allowForwardedTraffic\": + true,\r\n \"allowGatewayTransit\": false,\r\n \"useRemoteGateways\": + false,\r\n \"doNotVerifyRemoteGateways\": false,\r\n \"remoteAddressSpace\": + {\r\n \"addressPrefixes\": [\r\n \"10.2.0.0/16\"\r\n + \ ]\r\n },\r\n \"remoteVirtualNetworkAddressSpace\": + {\r\n \"addressPrefixes\": [\r\n \"10.2.0.0/16\"\r\n + \ ]\r\n },\r\n \"routeServiceVips\": {}\r\n },\r\n + \ \"type\": \"Microsoft.Network/virtualNetworks/virtualNetworkPeerings\"\r\n + \ }\r\n ],\r\n \"enableDdosProtection\": false\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '4382' + - '4308' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:38:21 GMT + - Fri, 14 May 2021 04:08:41 GMT etag: - - W/"64798db6-3859-4882-95ba-21eb7eb4c67d" + - W/"01bf0a83-50a1-40cf-b567-30cdf4ec5e22" expires: - '-1' pragma: @@ -3340,7 +3250,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 7dd64889-ab5c-4ed7-9a18-cbc7913e789e + - 2a5e3b59-0350-4ad7-ac45-23fd75b9fb89 status: code: 200 message: OK @@ -3354,36 +3264,36 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/connections/connectionname?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/connections/connectionname?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"connectionname\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/connections/connectionname\"\ - ,\r\n \"etag\": \"W/\\\"44bf641e-c2ce-4952-8d58-1c13e1c1ed55\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/connections\",\r\n \"location\": \"eastus\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n\ - \ \"resourceGuid\": \"b3b62696-9d68-40b1-8ec0-908882cfcbd2\",\r\n \"\ - packetCaptureDiagnosticState\": \"None\",\r\n \"virtualNetworkGateway1\"\ - : {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname\"\ - \r\n },\r\n \"localNetworkGateway2\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/localNetworkGateways/localnetworkgatewayname\"\ - \r\n },\r\n \"connectionType\": \"IPsec\",\r\n \"connectionProtocol\"\ - : \"IKEv2\",\r\n \"routingWeight\": 0,\r\n \"sharedKey\": \"AzureAbc123\"\ - ,\r\n \"enableBgp\": false,\r\n \"useLocalAzureIpAddress\": false,\r\ - \n \"usePolicyBasedTrafficSelectors\": false,\r\n \"ipsecPolicies\"\ - : [],\r\n \"trafficSelectorPolicies\": [],\r\n \"connectionStatus\"\ - : \"Unknown\",\r\n \"ingressBytesTransferred\": 0,\r\n \"egressBytesTransferred\"\ - : 0,\r\n \"expressRouteGatewayBypass\": false,\r\n \"dpdTimeoutSeconds\"\ - : 0,\r\n \"connectionMode\": \"Default\"\r\n }\r\n}" + string: "{\r\n \"name\": \"connectionname\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/connections/connectionname\",\r\n + \ \"etag\": \"W/\\\"9a73bc1b-6d51-4133-a44f-c72893a4471f\\\"\",\r\n \"type\": + \"Microsoft.Network/connections\",\r\n \"location\": \"eastus\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"bc22a794-fbaa-4c49-bee5-3eb8649f34d5\",\r\n + \ \"packetCaptureDiagnosticState\": \"None\",\r\n \"virtualNetworkGateway1\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname\"\r\n + \ },\r\n \"localNetworkGateway2\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/localNetworkGateways/localnetworkgatewayname\"\r\n + \ },\r\n \"connectionType\": \"IPsec\",\r\n \"connectionProtocol\": + \"IKEv2\",\r\n \"routingWeight\": 0,\r\n \"sharedKey\": \"AzureAbc123\",\r\n + \ \"enableBgp\": false,\r\n \"useLocalAzureIpAddress\": false,\r\n \"usePolicyBasedTrafficSelectors\": + false,\r\n \"ipsecPolicies\": [],\r\n \"trafficSelectorPolicies\": [],\r\n + \ \"connectionStatus\": \"Unknown\",\r\n \"ingressBytesTransferred\": + 0,\r\n \"egressBytesTransferred\": 0,\r\n \"expressRouteGatewayBypass\": + false,\r\n \"dpdTimeoutSeconds\": 0,\r\n \"connectionMode\": \"Default\"\r\n + \ }\r\n}" headers: cache-control: - no-cache content-length: - - '1589' + - '1604' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:38:21 GMT + - Fri, 14 May 2021 04:08:41 GMT expires: - '-1' pragma: @@ -3400,7 +3310,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 07ab14f5-f0e1-4299-bf11-6e5ed8676979 + - cf2ec7f5-a30d-499d-a509-5867a2c395ce status: code: 200 message: OK @@ -3416,9 +3326,10 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname/getAdvertisedRoutes?peer=10.0.0.2&api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname/getAdvertisedRoutes?peer=10.0.0.2&api-version=2021-02-01 response: body: string: 'null' @@ -3430,11 +3341,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:38:22 GMT + - Fri, 14 May 2021 04:08:41 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/6127c1d1-16b9-498b-bc9a-cccf8508ad81?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/c9d3acea-4213-4a5b-a767-217072138718?api-version=2021-02-01 pragma: - no-cache server: @@ -3445,7 +3356,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 1535a8d3-fb49-4417-a426-d4533edd4054 + - 8e1097f8-f86e-436a-b2e1-3a9f78a1e50c x-ms-ratelimit-remaining-subscription-writes: - '1199' status: @@ -3461,15 +3372,15 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/6127c1d1-16b9-498b-bc9a-cccf8508ad81?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/c9d3acea-4213-4a5b-a767-217072138718?api-version=2021-02-01 response: body: - string: "{\r\n \"value\": [\r\n {\r\n \"localAddress\": \"\",\r\n \ - \ \"network\": \"10.0.0.0/16\",\r\n \"nextHop\": \"Virtual Network\"\ - ,\r\n \"origin\": \"Network\",\r\n \"weight\": 0\r\n }\r\n ]\r\ - \n}" + string: "{\r\n \"value\": [\r\n {\r\n \"localAddress\": \"\",\r\n \"network\": + \"10.0.0.0/16\",\r\n \"nextHop\": \"Virtual Network\",\r\n \"origin\": + \"Network\",\r\n \"weight\": 0\r\n }\r\n ]\r\n}" headers: cache-control: - no-cache @@ -3478,11 +3389,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:38:33 GMT + - Fri, 14 May 2021 04:08:51 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/6127c1d1-16b9-498b-bc9a-cccf8508ad81?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/c9d3acea-4213-4a5b-a767-217072138718?api-version=2021-02-01 pragma: - no-cache server: @@ -3497,7 +3408,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 1535a8d3-fb49-4417-a426-d4533edd4054 + - 8e1097f8-f86e-436a-b2e1-3a9f78a1e50c status: code: 200 message: OK @@ -3513,9 +3424,10 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname/getBgpPeerStatus?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname/getBgpPeerStatus?api-version=2021-02-01 response: body: string: 'null' @@ -3527,11 +3439,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:38:33 GMT + - Fri, 14 May 2021 04:08:51 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/73e4b7fd-1a8a-4795-b073-b95970608604?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/bbc34e57-0a17-42cb-ad00-b118062c3904?api-version=2021-02-01 pragma: - no-cache server: @@ -3542,7 +3454,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 392cfa11-bbde-48dd-90dd-6864a3057d45 + - 48ba5f7b-81d2-4bc8-844f-96b2f12c2200 x-ms-ratelimit-remaining-subscription-writes: - '1198' status: @@ -3558,9 +3470,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/73e4b7fd-1a8a-4795-b073-b95970608604?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/bbc34e57-0a17-42cb-ad00-b118062c3904?api-version=2021-02-01 response: body: string: "{\r\n \"value\": []\r\n}" @@ -3572,11 +3485,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:38:43 GMT + - Fri, 14 May 2021 04:09:02 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/73e4b7fd-1a8a-4795-b073-b95970608604?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/bbc34e57-0a17-42cb-ad00-b118062c3904?api-version=2021-02-01 pragma: - no-cache server: @@ -3591,7 +3504,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 392cfa11-bbde-48dd-90dd-6864a3057d45 + - 48ba5f7b-81d2-4bc8-844f-96b2f12c2200 status: code: 200 message: OK @@ -3607,9 +3520,10 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname/getLearnedRoutes?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname/getLearnedRoutes?api-version=2021-02-01 response: body: string: 'null' @@ -3621,11 +3535,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:38:44 GMT + - Fri, 14 May 2021 04:09:02 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/7e99f3d2-0192-46ea-ba4b-7953d9b8b934?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/0023f084-55d0-4e78-a255-7bbd79b88607?api-version=2021-02-01 pragma: - no-cache server: @@ -3636,7 +3550,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - f6a2b790-f273-447d-a9b2-fa43b682c030 + - 1912042d-90ad-427a-8f42-ad8063dcfbf8 x-ms-ratelimit-remaining-subscription-writes: - '1197' status: @@ -3652,9 +3566,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/7e99f3d2-0192-46ea-ba4b-7953d9b8b934?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/0023f084-55d0-4e78-a255-7bbd79b88607?api-version=2021-02-01 response: body: string: "{\r\n \"value\": []\r\n}" @@ -3666,11 +3581,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:38:54 GMT + - Fri, 14 May 2021 04:09:12 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/7e99f3d2-0192-46ea-ba4b-7953d9b8b934?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/0023f084-55d0-4e78-a255-7bbd79b88607?api-version=2021-02-01 pragma: - no-cache server: @@ -3685,7 +3600,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - f6a2b790-f273-447d-a9b2-fa43b682c030 + - 1912042d-90ad-427a-8f42-ad8063dcfbf8 status: code: 200 message: OK @@ -3703,25 +3618,26 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/connections/connectionname/sharedkey/reset?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/connections/connectionname/sharedkey/reset?api-version=2021-02-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/9184b79d-2a2b-4bc2-b455-30d33420e5c1?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/db82efdf-ba3f-47e9-a34a-e54f8d77e68c?api-version=2021-02-01 cache-control: - no-cache content-length: - '0' date: - - Tue, 09 Mar 2021 04:38:55 GMT + - Fri, 14 May 2021 04:09:12 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/9184b79d-2a2b-4bc2-b455-30d33420e5c1?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/db82efdf-ba3f-47e9-a34a-e54f8d77e68c?api-version=2021-02-01 pragma: - no-cache server: @@ -3732,7 +3648,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 150be9bd-f4ae-4c8a-b749-dedf34763205 + - 4c848dd6-2c68-42b2-a2e8-f2820b78bf90 x-ms-ratelimit-remaining-subscription-writes: - '1196' status: @@ -3748,9 +3664,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/9184b79d-2a2b-4bc2-b455-30d33420e5c1?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/db82efdf-ba3f-47e9-a34a-e54f8d77e68c?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -3762,7 +3679,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:39:06 GMT + - Fri, 14 May 2021 04:09:22 GMT expires: - '-1' pragma: @@ -3779,7 +3696,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 79b8cc70-a6b2-4978-9272-38dfed399785 + - 0f10e797-0c34-4afb-8f87-94b5984e2baf status: code: 200 message: OK @@ -3793,9 +3710,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/9184b79d-2a2b-4bc2-b455-30d33420e5c1?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/db82efdf-ba3f-47e9-a34a-e54f8d77e68c?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -3807,7 +3725,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:39:16 GMT + - Fri, 14 May 2021 04:09:32 GMT expires: - '-1' pragma: @@ -3824,7 +3742,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - d35aacff-99aa-4750-b43e-2da7e46e680b + - fe2d38f8-72dd-4f9a-a82e-19a1103d9bbe status: code: 200 message: OK @@ -3838,9 +3756,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/9184b79d-2a2b-4bc2-b455-30d33420e5c1?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/db82efdf-ba3f-47e9-a34a-e54f8d77e68c?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\",\r\n \"properties\": {}\r\n}" @@ -3852,7 +3771,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:39:37 GMT + - Fri, 14 May 2021 04:09:51 GMT expires: - '-1' pragma: @@ -3869,7 +3788,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 08193eff-4fe6-4bc0-8d3a-2221db85a6c4 + - 3cdb2c66-f219-47af-9c80-c533fc42c86a status: code: 200 message: OK @@ -3883,15 +3802,16 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/9184b79d-2a2b-4bc2-b455-30d33420e5c1?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/db82efdf-ba3f-47e9-a34a-e54f8d77e68c?api-version=2021-02-01 response: body: string: 'null' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/9184b79d-2a2b-4bc2-b455-30d33420e5c1?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/db82efdf-ba3f-47e9-a34a-e54f8d77e68c?api-version=2021-02-01 cache-control: - no-cache content-length: @@ -3899,11 +3819,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:39:37 GMT + - Fri, 14 May 2021 04:09:51 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/9184b79d-2a2b-4bc2-b455-30d33420e5c1?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/db82efdf-ba3f-47e9-a34a-e54f8d77e68c?api-version=2021-02-01 pragma: - no-cache server: @@ -3918,7 +3838,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 150be9bd-f4ae-4c8a-b749-dedf34763205 + - 4c848dd6-2c68-42b2-a2e8-f2820b78bf90 status: code: 200 message: OK @@ -3934,25 +3854,26 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname/reset?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname/reset?api-version=2021-02-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/1afdb72e-8fc9-495c-9f52-b406e92ebf60?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/b3d57b5b-9c77-46c0-8235-138c24dc6583?api-version=2021-02-01 cache-control: - no-cache content-length: - '0' date: - - Tue, 09 Mar 2021 04:39:37 GMT + - Fri, 14 May 2021 04:09:52 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/1afdb72e-8fc9-495c-9f52-b406e92ebf60?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/b3d57b5b-9c77-46c0-8235-138c24dc6583?api-version=2021-02-01 pragma: - no-cache server: @@ -3963,7 +3884,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - a74840e5-505c-40c8-9477-46fe839f22b2 + - 58a1f89b-82af-4ab1-a817-eaf95d3965bc x-ms-ratelimit-remaining-subscription-writes: - '1195' status: @@ -3979,9 +3900,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/1afdb72e-8fc9-495c-9f52-b406e92ebf60?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/b3d57b5b-9c77-46c0-8235-138c24dc6583?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -3993,7 +3915,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:39:48 GMT + - Fri, 14 May 2021 04:10:02 GMT expires: - '-1' pragma: @@ -4010,7 +3932,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 92de9a71-3834-4dfb-a7b3-34caebf03446 + - 31e67e4c-8411-4806-9dd3-30ff940f0e01 status: code: 200 message: OK @@ -4024,9 +3946,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/1afdb72e-8fc9-495c-9f52-b406e92ebf60?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/b3d57b5b-9c77-46c0-8235-138c24dc6583?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -4038,7 +3961,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:39:58 GMT + - Fri, 14 May 2021 04:10:12 GMT expires: - '-1' pragma: @@ -4055,7 +3978,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 6159469c-f757-46a0-8e9f-ae3197612f57 + - 95e8d31b-b53d-4ee3-bbfa-d2681e3b261b status: code: 200 message: OK @@ -4069,9 +3992,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/1afdb72e-8fc9-495c-9f52-b406e92ebf60?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/b3d57b5b-9c77-46c0-8235-138c24dc6583?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -4083,7 +4007,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:40:18 GMT + - Fri, 14 May 2021 04:10:32 GMT expires: - '-1' pragma: @@ -4100,7 +4024,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 98eee635-4ea7-4df5-a5d7-ef976212afd9 + - 6467ea34-75f9-477a-b3b2-2697ac12ab65 status: code: 200 message: OK @@ -4114,9 +4038,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/1afdb72e-8fc9-495c-9f52-b406e92ebf60?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/b3d57b5b-9c77-46c0-8235-138c24dc6583?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -4128,7 +4053,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:40:58 GMT + - Fri, 14 May 2021 04:11:13 GMT expires: - '-1' pragma: @@ -4145,7 +4070,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 8b30237c-7239-4f2a-986c-186dac91c8d0 + - 6414e323-72e8-42a0-9179-33b0576efb04 status: code: 200 message: OK @@ -4159,9 +4084,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/1afdb72e-8fc9-495c-9f52-b406e92ebf60?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/b3d57b5b-9c77-46c0-8235-138c24dc6583?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -4173,7 +4099,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:42:20 GMT + - Fri, 14 May 2021 04:12:32 GMT expires: - '-1' pragma: @@ -4190,7 +4116,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - a5512d05-d548-42e9-bbc4-3679780baf30 + - 848f7f82-dcd1-4185-a14a-5de0d872d44c status: code: 200 message: OK @@ -4204,9 +4130,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/1afdb72e-8fc9-495c-9f52-b406e92ebf60?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/b3d57b5b-9c77-46c0-8235-138c24dc6583?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -4218,7 +4145,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:45:01 GMT + - Fri, 14 May 2021 04:15:13 GMT expires: - '-1' pragma: @@ -4235,7 +4162,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 9ef55df5-6afb-4b3c-878d-5f1cd8a08314 + - b7221b93-bca5-4aa8-b83e-2969ce7740be status: code: 200 message: OK @@ -4249,9 +4176,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/1afdb72e-8fc9-495c-9f52-b406e92ebf60?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/b3d57b5b-9c77-46c0-8235-138c24dc6583?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -4263,7 +4191,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:46:42 GMT + - Fri, 14 May 2021 04:16:53 GMT expires: - '-1' pragma: @@ -4280,7 +4208,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 9ea0b841-f880-49ea-bc52-489bad5862c2 + - e455eb1b-9804-471a-a34e-aca242d2abb5 status: code: 200 message: OK @@ -4294,9 +4222,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/1afdb72e-8fc9-495c-9f52-b406e92ebf60?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/b3d57b5b-9c77-46c0-8235-138c24dc6583?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -4308,7 +4237,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:48:23 GMT + - Fri, 14 May 2021 04:18:33 GMT expires: - '-1' pragma: @@ -4325,7 +4254,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - a1db958c-cc88-4c01-a901-7847eb92d979 + - 39c4788a-c3b8-4843-b17e-f4c4fb3e5bc0 status: code: 200 message: OK @@ -4339,9 +4268,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/1afdb72e-8fc9-495c-9f52-b406e92ebf60?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/b3d57b5b-9c77-46c0-8235-138c24dc6583?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -4353,7 +4283,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:50:04 GMT + - Fri, 14 May 2021 04:20:13 GMT expires: - '-1' pragma: @@ -4370,7 +4300,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - afb8e442-dd95-45b7-8f96-213a4870a1bf + - bf9f175f-e700-4f76-a3cd-1a0475fbcabd status: code: 200 message: OK @@ -4384,9 +4314,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/1afdb72e-8fc9-495c-9f52-b406e92ebf60?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/b3d57b5b-9c77-46c0-8235-138c24dc6583?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -4398,7 +4329,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:51:44 GMT + - Fri, 14 May 2021 04:21:54 GMT expires: - '-1' pragma: @@ -4415,7 +4346,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 507986a7-7458-4e51-b150-c9c62d28812d + - 3a673c8c-1435-4261-8d2f-34864b44f57f status: code: 200 message: OK @@ -4429,9 +4360,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/1afdb72e-8fc9-495c-9f52-b406e92ebf60?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/b3d57b5b-9c77-46c0-8235-138c24dc6583?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\",\r\n \"properties\": {}\r\n}" @@ -4443,7 +4375,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:53:24 GMT + - Fri, 14 May 2021 04:23:34 GMT expires: - '-1' pragma: @@ -4460,7 +4392,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - a66b6956-033b-46fa-8c26-81a97f0666d5 + - 2a66bbe1-860c-46ad-82d6-47d99d1d5fdd status: code: 200 message: OK @@ -4474,15 +4406,16 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/1afdb72e-8fc9-495c-9f52-b406e92ebf60?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/b3d57b5b-9c77-46c0-8235-138c24dc6583?api-version=2021-02-01 response: body: string: 'null' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/1afdb72e-8fc9-495c-9f52-b406e92ebf60?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/b3d57b5b-9c77-46c0-8235-138c24dc6583?api-version=2021-02-01 cache-control: - no-cache content-length: @@ -4490,11 +4423,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:53:24 GMT + - Fri, 14 May 2021 04:23:34 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/1afdb72e-8fc9-495c-9f52-b406e92ebf60?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/b3d57b5b-9c77-46c0-8235-138c24dc6583?api-version=2021-02-01 pragma: - no-cache server: @@ -4509,7 +4442,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - a74840e5-505c-40c8-9477-46fe839f22b2 + - 58a1f89b-82af-4ab1-a817-eaf95d3965bc status: code: 200 message: OK @@ -4527,56 +4460,55 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"virtualnetworkgatewayname\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname\"\ - ,\r\n \"etag\": \"W/\\\"e9e5970a-3840-451b-83e0-4bde6143699a\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/virtualNetworkGateways\",\r\n \"location\"\ - : \"eastus\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\"\ - : \"value2\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Updating\",\r\n \"resourceGuid\": \"2b8715e6-d419-403b-bcf0-53611c0f3d0e\"\ - ,\r\n \"packetCaptureDiagnosticState\": \"None\",\r\n \"enablePrivateIpAddress\"\ - : false,\r\n \"ipConfigurations\": [\r\n {\r\n \"name\": \"\ - ipconfig\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname/ipConfigurations/ipconfig\"\ - ,\r\n \"etag\": \"W/\\\"e9e5970a-3840-451b-83e0-4bde6143699a\\\"\"\ - ,\r\n \"type\": \"Microsoft.Network/virtualNetworkGateways/ipConfigurations\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\"\ - ,\r\n \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"\ - publicIPAddress\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipname\"\ - \r\n },\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/GatewaySubnet\"\ - \r\n }\r\n }\r\n }\r\n ],\r\n \"natRules\": [],\r\ - \n \"enableBgpRouteTranslationForNat\": false,\r\n \"sku\": {\r\n \ - \ \"name\": \"VpnGw1\",\r\n \"tier\": \"VpnGw1\",\r\n \"capacity\"\ - : 2\r\n },\r\n \"gatewayType\": \"Vpn\",\r\n \"vpnType\": \"RouteBased\"\ - ,\r\n \"enableBgp\": false,\r\n \"activeActive\": false,\r\n \"vpnClientConfiguration\"\ - : {\r\n \"vpnClientProtocols\": [\r\n \"OpenVPN\",\r\n \ - \ \"IkeV2\"\r\n ],\r\n \"vpnAuthenticationTypes\": [],\r\n \ - \ \"vpnClientRootCertificates\": [],\r\n \"vpnClientRevokedCertificates\"\ - : [],\r\n \"radiusServers\": [],\r\n \"vpnClientIpsecPolicies\"\ - : []\r\n },\r\n \"bgpSettings\": {\r\n \"asn\": 65515,\r\n \ - \ \"bgpPeeringAddress\": \"10.0.1.30\",\r\n \"peerWeight\": 0,\r\n \ - \ \"bgpPeeringAddresses\": [\r\n {\r\n \"ipconfigurationId\"\ - : \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname/ipConfigurations/ipconfig\"\ - ,\r\n \"defaultBgpIpAddresses\": [\r\n \"10.0.1.30\"\r\ - \n ],\r\n \"customBgpIpAddresses\": [],\r\n \"\ - tunnelIpAddresses\": [\r\n \"40.121.59.90\"\r\n ]\r\n\ - \ }\r\n ]\r\n },\r\n \"customRoutes\": {\r\n \"addressPrefixes\"\ - : [\r\n \"101.168.0.6/32\"\r\n ]\r\n },\r\n \"vpnGatewayGeneration\"\ - : \"Generation1\",\r\n \"enableDnsForwarding\": false\r\n }\r\n}" + string: "{\r\n \"name\": \"virtualnetworkgatewayname\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname\",\r\n + \ \"etag\": \"W/\\\"cc3ae4b7-ad1d-4f92-b10e-7bcc4a683563\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworkGateways\",\r\n \"location\": \"eastus\",\r\n + \ \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"resourceGuid\": \"cba91b62-95c4-4f2c-bf21-465c1c600a32\",\r\n \"packetCaptureDiagnosticState\": + \"None\",\r\n \"enablePrivateIpAddress\": false,\r\n \"ipConfigurations\": + [\r\n {\r\n \"name\": \"ipconfig\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname/ipConfigurations/ipconfig\",\r\n + \ \"etag\": \"W/\\\"cc3ae4b7-ad1d-4f92-b10e-7bcc4a683563\\\"\",\r\n + \ \"type\": \"Microsoft.Network/virtualNetworkGateways/ipConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipname\"\r\n + \ },\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/GatewaySubnet\"\r\n + \ }\r\n }\r\n }\r\n ],\r\n \"natRules\": [],\r\n + \ \"enableBgpRouteTranslationForNat\": false,\r\n \"sku\": {\r\n \"name\": + \"VpnGw1\",\r\n \"tier\": \"VpnGw1\",\r\n \"capacity\": 2\r\n },\r\n + \ \"gatewayType\": \"Vpn\",\r\n \"vpnType\": \"RouteBased\",\r\n \"enableBgp\": + false,\r\n \"activeActive\": false,\r\n \"vpnClientConfiguration\": + {\r\n \"vpnClientProtocols\": [\r\n \"OpenVPN\",\r\n \"IkeV2\"\r\n + \ ],\r\n \"vpnAuthenticationTypes\": [],\r\n \"vpnClientRootCertificates\": + [],\r\n \"vpnClientRevokedCertificates\": [],\r\n \"radiusServers\": + [],\r\n \"vpnClientIpsecPolicies\": []\r\n },\r\n \"bgpSettings\": + {\r\n \"asn\": 65515,\r\n \"bgpPeeringAddress\": \"10.0.1.30\",\r\n + \ \"peerWeight\": 0,\r\n \"bgpPeeringAddresses\": [\r\n {\r\n + \ \"ipconfigurationId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname/ipConfigurations/ipconfig\",\r\n + \ \"defaultBgpIpAddresses\": [\r\n \"10.0.1.30\"\r\n ],\r\n + \ \"customBgpIpAddresses\": [],\r\n \"tunnelIpAddresses\": + [\r\n \"137.117.70.214\"\r\n ]\r\n }\r\n ]\r\n + \ },\r\n \"customRoutes\": {\r\n \"addressPrefixes\": [\r\n \"101.168.0.6/32\"\r\n + \ ]\r\n },\r\n \"vpnGatewayGeneration\": \"Generation1\",\r\n \"enableDnsForwarding\": + false\r\n }\r\n}" headers: azure-asyncnotification: - Enabled cache-control: - no-cache content-length: - - '3252' + - '3279' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:53:29 GMT + - Fri, 14 May 2021 04:23:34 GMT expires: - '-1' pragma: @@ -4593,9 +4525,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 9c8701ef-9a17-442f-a013-df1fe80fc0a8 + - a7712423-9de5-4976-84b0-ce65a3e29bf8 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1195' status: code: 200 message: OK @@ -4609,49 +4541,49 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"virtualnetworkgatewayname\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname\"\ - ,\r\n \"etag\": \"W/\\\"e9e5970a-3840-451b-83e0-4bde6143699a\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/virtualNetworkGateways\",\r\n \"location\"\ - : \"eastus\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\"\ - : \"value2\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Updating\",\r\n \"resourceGuid\": \"2b8715e6-d419-403b-bcf0-53611c0f3d0e\"\ - ,\r\n \"packetCaptureDiagnosticState\": \"None\",\r\n \"enablePrivateIpAddress\"\ - : false,\r\n \"ipConfigurations\": [\r\n {\r\n \"name\": \"\ - ipconfig\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname/ipConfigurations/ipconfig\"\ - ,\r\n \"etag\": \"W/\\\"e9e5970a-3840-451b-83e0-4bde6143699a\\\"\"\ - ,\r\n \"type\": \"Microsoft.Network/virtualNetworkGateways/ipConfigurations\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\"\ - ,\r\n \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"\ - publicIPAddress\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipname\"\ - \r\n },\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/GatewaySubnet\"\ - \r\n }\r\n }\r\n }\r\n ],\r\n \"natRules\": [],\r\ - \n \"enableBgpRouteTranslationForNat\": false,\r\n \"sku\": {\r\n \ - \ \"name\": \"VpnGw1\",\r\n \"tier\": \"VpnGw1\",\r\n \"capacity\"\ - : 2\r\n },\r\n \"gatewayType\": \"Vpn\",\r\n \"vpnType\": \"RouteBased\"\ - ,\r\n \"enableBgp\": false,\r\n \"activeActive\": false,\r\n \"bgpSettings\"\ - : {\r\n \"asn\": 65515,\r\n \"bgpPeeringAddress\": \"10.0.1.30\"\ - ,\r\n \"peerWeight\": 0,\r\n \"bgpPeeringAddresses\": [\r\n \ - \ {\r\n \"ipconfigurationId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname/ipConfigurations/ipconfig\"\ - ,\r\n \"defaultBgpIpAddresses\": [\r\n \"10.0.1.30\"\r\ - \n ],\r\n \"customBgpIpAddresses\": [],\r\n \"\ - tunnelIpAddresses\": [\r\n \"40.121.59.90\"\r\n ]\r\n\ - \ }\r\n ]\r\n },\r\n \"customRoutes\": {\r\n \"addressPrefixes\"\ - : [\r\n \"101.168.0.6/32\"\r\n ]\r\n },\r\n \"vpnGatewayGeneration\"\ - : \"Generation1\",\r\n \"enableDnsForwarding\": false\r\n }\r\n}" + string: "{\r\n \"name\": \"virtualnetworkgatewayname\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname\",\r\n + \ \"etag\": \"W/\\\"cc3ae4b7-ad1d-4f92-b10e-7bcc4a683563\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworkGateways\",\r\n \"location\": \"eastus\",\r\n + \ \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"resourceGuid\": \"cba91b62-95c4-4f2c-bf21-465c1c600a32\",\r\n \"packetCaptureDiagnosticState\": + \"None\",\r\n \"enablePrivateIpAddress\": false,\r\n \"ipConfigurations\": + [\r\n {\r\n \"name\": \"ipconfig\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname/ipConfigurations/ipconfig\",\r\n + \ \"etag\": \"W/\\\"cc3ae4b7-ad1d-4f92-b10e-7bcc4a683563\\\"\",\r\n + \ \"type\": \"Microsoft.Network/virtualNetworkGateways/ipConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipname\"\r\n + \ },\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/GatewaySubnet\"\r\n + \ }\r\n }\r\n }\r\n ],\r\n \"natRules\": [],\r\n + \ \"enableBgpRouteTranslationForNat\": false,\r\n \"sku\": {\r\n \"name\": + \"VpnGw1\",\r\n \"tier\": \"VpnGw1\",\r\n \"capacity\": 2\r\n },\r\n + \ \"gatewayType\": \"Vpn\",\r\n \"vpnType\": \"RouteBased\",\r\n \"enableBgp\": + false,\r\n \"activeActive\": false,\r\n \"bgpSettings\": {\r\n \"asn\": + 65515,\r\n \"bgpPeeringAddress\": \"10.0.1.30\",\r\n \"peerWeight\": + 0,\r\n \"bgpPeeringAddresses\": [\r\n {\r\n \"ipconfigurationId\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname/ipConfigurations/ipconfig\",\r\n + \ \"defaultBgpIpAddresses\": [\r\n \"10.0.1.30\"\r\n ],\r\n + \ \"customBgpIpAddresses\": [],\r\n \"tunnelIpAddresses\": + [\r\n \"137.117.70.214\"\r\n ]\r\n }\r\n ]\r\n + \ },\r\n \"customRoutes\": {\r\n \"addressPrefixes\": [\r\n \"101.168.0.6/32\"\r\n + \ ]\r\n },\r\n \"vpnGatewayGeneration\": \"Generation1\",\r\n \"enableDnsForwarding\": + false\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '2949' + - '2976' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:53:41 GMT + - Fri, 14 May 2021 04:23:44 GMT expires: - '-1' pragma: @@ -4668,7 +4600,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - c0fa3328-43f7-4eaa-88fd-bb88c8e345d9 + - 9ea74825-f4cc-4dfd-ada8-8829f926ff3f status: code: 200 message: OK @@ -4682,49 +4614,49 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"virtualnetworkgatewayname\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname\"\ - ,\r\n \"etag\": \"W/\\\"e9e5970a-3840-451b-83e0-4bde6143699a\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/virtualNetworkGateways\",\r\n \"location\"\ - : \"eastus\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\"\ - : \"value2\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Updating\",\r\n \"resourceGuid\": \"2b8715e6-d419-403b-bcf0-53611c0f3d0e\"\ - ,\r\n \"packetCaptureDiagnosticState\": \"None\",\r\n \"enablePrivateIpAddress\"\ - : false,\r\n \"ipConfigurations\": [\r\n {\r\n \"name\": \"\ - ipconfig\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname/ipConfigurations/ipconfig\"\ - ,\r\n \"etag\": \"W/\\\"e9e5970a-3840-451b-83e0-4bde6143699a\\\"\"\ - ,\r\n \"type\": \"Microsoft.Network/virtualNetworkGateways/ipConfigurations\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\"\ - ,\r\n \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"\ - publicIPAddress\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipname\"\ - \r\n },\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/GatewaySubnet\"\ - \r\n }\r\n }\r\n }\r\n ],\r\n \"natRules\": [],\r\ - \n \"enableBgpRouteTranslationForNat\": false,\r\n \"sku\": {\r\n \ - \ \"name\": \"VpnGw1\",\r\n \"tier\": \"VpnGw1\",\r\n \"capacity\"\ - : 2\r\n },\r\n \"gatewayType\": \"Vpn\",\r\n \"vpnType\": \"RouteBased\"\ - ,\r\n \"enableBgp\": false,\r\n \"activeActive\": false,\r\n \"bgpSettings\"\ - : {\r\n \"asn\": 65515,\r\n \"bgpPeeringAddress\": \"10.0.1.30\"\ - ,\r\n \"peerWeight\": 0,\r\n \"bgpPeeringAddresses\": [\r\n \ - \ {\r\n \"ipconfigurationId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname/ipConfigurations/ipconfig\"\ - ,\r\n \"defaultBgpIpAddresses\": [\r\n \"10.0.1.30\"\r\ - \n ],\r\n \"customBgpIpAddresses\": [],\r\n \"\ - tunnelIpAddresses\": [\r\n \"40.121.59.90\"\r\n ]\r\n\ - \ }\r\n ]\r\n },\r\n \"customRoutes\": {\r\n \"addressPrefixes\"\ - : [\r\n \"101.168.0.6/32\"\r\n ]\r\n },\r\n \"vpnGatewayGeneration\"\ - : \"Generation1\",\r\n \"enableDnsForwarding\": false\r\n }\r\n}" + string: "{\r\n \"name\": \"virtualnetworkgatewayname\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname\",\r\n + \ \"etag\": \"W/\\\"cc3ae4b7-ad1d-4f92-b10e-7bcc4a683563\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworkGateways\",\r\n \"location\": \"eastus\",\r\n + \ \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"resourceGuid\": \"cba91b62-95c4-4f2c-bf21-465c1c600a32\",\r\n \"packetCaptureDiagnosticState\": + \"None\",\r\n \"enablePrivateIpAddress\": false,\r\n \"ipConfigurations\": + [\r\n {\r\n \"name\": \"ipconfig\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname/ipConfigurations/ipconfig\",\r\n + \ \"etag\": \"W/\\\"cc3ae4b7-ad1d-4f92-b10e-7bcc4a683563\\\"\",\r\n + \ \"type\": \"Microsoft.Network/virtualNetworkGateways/ipConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipname\"\r\n + \ },\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/GatewaySubnet\"\r\n + \ }\r\n }\r\n }\r\n ],\r\n \"natRules\": [],\r\n + \ \"enableBgpRouteTranslationForNat\": false,\r\n \"sku\": {\r\n \"name\": + \"VpnGw1\",\r\n \"tier\": \"VpnGw1\",\r\n \"capacity\": 2\r\n },\r\n + \ \"gatewayType\": \"Vpn\",\r\n \"vpnType\": \"RouteBased\",\r\n \"enableBgp\": + false,\r\n \"activeActive\": false,\r\n \"bgpSettings\": {\r\n \"asn\": + 65515,\r\n \"bgpPeeringAddress\": \"10.0.1.30\",\r\n \"peerWeight\": + 0,\r\n \"bgpPeeringAddresses\": [\r\n {\r\n \"ipconfigurationId\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname/ipConfigurations/ipconfig\",\r\n + \ \"defaultBgpIpAddresses\": [\r\n \"10.0.1.30\"\r\n ],\r\n + \ \"customBgpIpAddresses\": [],\r\n \"tunnelIpAddresses\": + [\r\n \"137.117.70.214\"\r\n ]\r\n }\r\n ]\r\n + \ },\r\n \"customRoutes\": {\r\n \"addressPrefixes\": [\r\n \"101.168.0.6/32\"\r\n + \ ]\r\n },\r\n \"vpnGatewayGeneration\": \"Generation1\",\r\n \"enableDnsForwarding\": + false\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '2949' + - '2976' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:54:11 GMT + - Fri, 14 May 2021 04:24:14 GMT expires: - '-1' pragma: @@ -4741,7 +4673,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 0a788a23-a9f2-4c48-9005-546aefc08695 + - 39782426-77bb-42e6-b10b-814ba47583b3 status: code: 200 message: OK @@ -4755,49 +4687,49 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"virtualnetworkgatewayname\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname\"\ - ,\r\n \"etag\": \"W/\\\"e9e5970a-3840-451b-83e0-4bde6143699a\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/virtualNetworkGateways\",\r\n \"location\"\ - : \"eastus\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\"\ - : \"value2\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Updating\",\r\n \"resourceGuid\": \"2b8715e6-d419-403b-bcf0-53611c0f3d0e\"\ - ,\r\n \"packetCaptureDiagnosticState\": \"None\",\r\n \"enablePrivateIpAddress\"\ - : false,\r\n \"ipConfigurations\": [\r\n {\r\n \"name\": \"\ - ipconfig\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname/ipConfigurations/ipconfig\"\ - ,\r\n \"etag\": \"W/\\\"e9e5970a-3840-451b-83e0-4bde6143699a\\\"\"\ - ,\r\n \"type\": \"Microsoft.Network/virtualNetworkGateways/ipConfigurations\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\"\ - ,\r\n \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"\ - publicIPAddress\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipname\"\ - \r\n },\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/GatewaySubnet\"\ - \r\n }\r\n }\r\n }\r\n ],\r\n \"natRules\": [],\r\ - \n \"enableBgpRouteTranslationForNat\": false,\r\n \"sku\": {\r\n \ - \ \"name\": \"VpnGw1\",\r\n \"tier\": \"VpnGw1\",\r\n \"capacity\"\ - : 2\r\n },\r\n \"gatewayType\": \"Vpn\",\r\n \"vpnType\": \"RouteBased\"\ - ,\r\n \"enableBgp\": false,\r\n \"activeActive\": false,\r\n \"bgpSettings\"\ - : {\r\n \"asn\": 65515,\r\n \"bgpPeeringAddress\": \"10.0.1.30\"\ - ,\r\n \"peerWeight\": 0,\r\n \"bgpPeeringAddresses\": [\r\n \ - \ {\r\n \"ipconfigurationId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname/ipConfigurations/ipconfig\"\ - ,\r\n \"defaultBgpIpAddresses\": [\r\n \"10.0.1.30\"\r\ - \n ],\r\n \"customBgpIpAddresses\": [],\r\n \"\ - tunnelIpAddresses\": [\r\n \"40.121.59.90\"\r\n ]\r\n\ - \ }\r\n ]\r\n },\r\n \"customRoutes\": {\r\n \"addressPrefixes\"\ - : [\r\n \"101.168.0.6/32\"\r\n ]\r\n },\r\n \"vpnGatewayGeneration\"\ - : \"Generation1\",\r\n \"enableDnsForwarding\": false\r\n }\r\n}" + string: "{\r\n \"name\": \"virtualnetworkgatewayname\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname\",\r\n + \ \"etag\": \"W/\\\"cc3ae4b7-ad1d-4f92-b10e-7bcc4a683563\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworkGateways\",\r\n \"location\": \"eastus\",\r\n + \ \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"resourceGuid\": \"cba91b62-95c4-4f2c-bf21-465c1c600a32\",\r\n \"packetCaptureDiagnosticState\": + \"None\",\r\n \"enablePrivateIpAddress\": false,\r\n \"ipConfigurations\": + [\r\n {\r\n \"name\": \"ipconfig\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname/ipConfigurations/ipconfig\",\r\n + \ \"etag\": \"W/\\\"cc3ae4b7-ad1d-4f92-b10e-7bcc4a683563\\\"\",\r\n + \ \"type\": \"Microsoft.Network/virtualNetworkGateways/ipConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipname\"\r\n + \ },\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/GatewaySubnet\"\r\n + \ }\r\n }\r\n }\r\n ],\r\n \"natRules\": [],\r\n + \ \"enableBgpRouteTranslationForNat\": false,\r\n \"sku\": {\r\n \"name\": + \"VpnGw1\",\r\n \"tier\": \"VpnGw1\",\r\n \"capacity\": 2\r\n },\r\n + \ \"gatewayType\": \"Vpn\",\r\n \"vpnType\": \"RouteBased\",\r\n \"enableBgp\": + false,\r\n \"activeActive\": false,\r\n \"bgpSettings\": {\r\n \"asn\": + 65515,\r\n \"bgpPeeringAddress\": \"10.0.1.30\",\r\n \"peerWeight\": + 0,\r\n \"bgpPeeringAddresses\": [\r\n {\r\n \"ipconfigurationId\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname/ipConfigurations/ipconfig\",\r\n + \ \"defaultBgpIpAddresses\": [\r\n \"10.0.1.30\"\r\n ],\r\n + \ \"customBgpIpAddresses\": [],\r\n \"tunnelIpAddresses\": + [\r\n \"137.117.70.214\"\r\n ]\r\n }\r\n ]\r\n + \ },\r\n \"customRoutes\": {\r\n \"addressPrefixes\": [\r\n \"101.168.0.6/32\"\r\n + \ ]\r\n },\r\n \"vpnGatewayGeneration\": \"Generation1\",\r\n \"enableDnsForwarding\": + false\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '2949' + - '2976' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:54:41 GMT + - Fri, 14 May 2021 04:24:44 GMT expires: - '-1' pragma: @@ -4814,7 +4746,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - a93cd9ba-e3de-40a8-82f2-c1c1ccab5eb8 + - 59650670-e7bb-4473-9de8-fb5bab800e03 status: code: 200 message: OK @@ -4828,49 +4760,49 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"virtualnetworkgatewayname\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname\"\ - ,\r\n \"etag\": \"W/\\\"e9e5970a-3840-451b-83e0-4bde6143699a\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/virtualNetworkGateways\",\r\n \"location\"\ - : \"eastus\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\"\ - : \"value2\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Updating\",\r\n \"resourceGuid\": \"2b8715e6-d419-403b-bcf0-53611c0f3d0e\"\ - ,\r\n \"packetCaptureDiagnosticState\": \"None\",\r\n \"enablePrivateIpAddress\"\ - : false,\r\n \"ipConfigurations\": [\r\n {\r\n \"name\": \"\ - ipconfig\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname/ipConfigurations/ipconfig\"\ - ,\r\n \"etag\": \"W/\\\"e9e5970a-3840-451b-83e0-4bde6143699a\\\"\"\ - ,\r\n \"type\": \"Microsoft.Network/virtualNetworkGateways/ipConfigurations\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\"\ - ,\r\n \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"\ - publicIPAddress\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipname\"\ - \r\n },\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/GatewaySubnet\"\ - \r\n }\r\n }\r\n }\r\n ],\r\n \"natRules\": [],\r\ - \n \"enableBgpRouteTranslationForNat\": false,\r\n \"sku\": {\r\n \ - \ \"name\": \"VpnGw1\",\r\n \"tier\": \"VpnGw1\",\r\n \"capacity\"\ - : 2\r\n },\r\n \"gatewayType\": \"Vpn\",\r\n \"vpnType\": \"RouteBased\"\ - ,\r\n \"enableBgp\": false,\r\n \"activeActive\": false,\r\n \"bgpSettings\"\ - : {\r\n \"asn\": 65515,\r\n \"bgpPeeringAddress\": \"10.0.1.30\"\ - ,\r\n \"peerWeight\": 0,\r\n \"bgpPeeringAddresses\": [\r\n \ - \ {\r\n \"ipconfigurationId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname/ipConfigurations/ipconfig\"\ - ,\r\n \"defaultBgpIpAddresses\": [\r\n \"10.0.1.30\"\r\ - \n ],\r\n \"customBgpIpAddresses\": [],\r\n \"\ - tunnelIpAddresses\": [\r\n \"40.121.59.90\"\r\n ]\r\n\ - \ }\r\n ]\r\n },\r\n \"customRoutes\": {\r\n \"addressPrefixes\"\ - : [\r\n \"101.168.0.6/32\"\r\n ]\r\n },\r\n \"vpnGatewayGeneration\"\ - : \"Generation1\",\r\n \"enableDnsForwarding\": false\r\n }\r\n}" + string: "{\r\n \"name\": \"virtualnetworkgatewayname\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname\",\r\n + \ \"etag\": \"W/\\\"cc3ae4b7-ad1d-4f92-b10e-7bcc4a683563\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworkGateways\",\r\n \"location\": \"eastus\",\r\n + \ \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"resourceGuid\": \"cba91b62-95c4-4f2c-bf21-465c1c600a32\",\r\n \"packetCaptureDiagnosticState\": + \"None\",\r\n \"enablePrivateIpAddress\": false,\r\n \"ipConfigurations\": + [\r\n {\r\n \"name\": \"ipconfig\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname/ipConfigurations/ipconfig\",\r\n + \ \"etag\": \"W/\\\"cc3ae4b7-ad1d-4f92-b10e-7bcc4a683563\\\"\",\r\n + \ \"type\": \"Microsoft.Network/virtualNetworkGateways/ipConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipname\"\r\n + \ },\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/GatewaySubnet\"\r\n + \ }\r\n }\r\n }\r\n ],\r\n \"natRules\": [],\r\n + \ \"enableBgpRouteTranslationForNat\": false,\r\n \"sku\": {\r\n \"name\": + \"VpnGw1\",\r\n \"tier\": \"VpnGw1\",\r\n \"capacity\": 2\r\n },\r\n + \ \"gatewayType\": \"Vpn\",\r\n \"vpnType\": \"RouteBased\",\r\n \"enableBgp\": + false,\r\n \"activeActive\": false,\r\n \"bgpSettings\": {\r\n \"asn\": + 65515,\r\n \"bgpPeeringAddress\": \"10.0.1.30\",\r\n \"peerWeight\": + 0,\r\n \"bgpPeeringAddresses\": [\r\n {\r\n \"ipconfigurationId\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname/ipConfigurations/ipconfig\",\r\n + \ \"defaultBgpIpAddresses\": [\r\n \"10.0.1.30\"\r\n ],\r\n + \ \"customBgpIpAddresses\": [],\r\n \"tunnelIpAddresses\": + [\r\n \"137.117.70.214\"\r\n ]\r\n }\r\n ]\r\n + \ },\r\n \"customRoutes\": {\r\n \"addressPrefixes\": [\r\n \"101.168.0.6/32\"\r\n + \ ]\r\n },\r\n \"vpnGatewayGeneration\": \"Generation1\",\r\n \"enableDnsForwarding\": + false\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '2949' + - '2976' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:55:11 GMT + - Fri, 14 May 2021 04:25:15 GMT expires: - '-1' pragma: @@ -4887,7 +4819,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 21ac7b63-5c0d-41d3-9a5c-ad39639ee991 + - 89d7fe25-45af-4f8c-8f8f-7d415b07be66 status: code: 200 message: OK @@ -4901,49 +4833,49 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"virtualnetworkgatewayname\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname\"\ - ,\r\n \"etag\": \"W/\\\"f8957869-a84d-42e0-9e3f-da5e9a734265\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/virtualNetworkGateways\",\r\n \"location\"\ - : \"eastus\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\"\ - : \"value2\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Succeeded\",\r\n \"resourceGuid\": \"2b8715e6-d419-403b-bcf0-53611c0f3d0e\"\ - ,\r\n \"packetCaptureDiagnosticState\": \"None\",\r\n \"enablePrivateIpAddress\"\ - : false,\r\n \"ipConfigurations\": [\r\n {\r\n \"name\": \"\ - ipconfig\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname/ipConfigurations/ipconfig\"\ - ,\r\n \"etag\": \"W/\\\"f8957869-a84d-42e0-9e3f-da5e9a734265\\\"\"\ - ,\r\n \"type\": \"Microsoft.Network/virtualNetworkGateways/ipConfigurations\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"\ - publicIPAddress\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipname\"\ - \r\n },\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/GatewaySubnet\"\ - \r\n }\r\n }\r\n }\r\n ],\r\n \"natRules\": [],\r\ - \n \"enableBgpRouteTranslationForNat\": false,\r\n \"sku\": {\r\n \ - \ \"name\": \"VpnGw1\",\r\n \"tier\": \"VpnGw1\",\r\n \"capacity\"\ - : 2\r\n },\r\n \"gatewayType\": \"Vpn\",\r\n \"vpnType\": \"RouteBased\"\ - ,\r\n \"enableBgp\": false,\r\n \"activeActive\": false,\r\n \"bgpSettings\"\ - : {\r\n \"asn\": 65515,\r\n \"bgpPeeringAddress\": \"10.0.1.30\"\ - ,\r\n \"peerWeight\": 0,\r\n \"bgpPeeringAddresses\": [\r\n \ - \ {\r\n \"ipconfigurationId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname/ipConfigurations/ipconfig\"\ - ,\r\n \"defaultBgpIpAddresses\": [\r\n \"10.0.1.30\"\r\ - \n ],\r\n \"customBgpIpAddresses\": [],\r\n \"\ - tunnelIpAddresses\": [\r\n \"40.121.59.90\"\r\n ]\r\n\ - \ }\r\n ]\r\n },\r\n \"customRoutes\": {\r\n \"addressPrefixes\"\ - : [\r\n \"101.168.0.6/32\"\r\n ]\r\n },\r\n \"vpnGatewayGeneration\"\ - : \"Generation1\",\r\n \"enableDnsForwarding\": false\r\n }\r\n}" + string: "{\r\n \"name\": \"virtualnetworkgatewayname\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname\",\r\n + \ \"etag\": \"W/\\\"39519b1b-f780-43a3-a8dd-4727bf9437fc\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworkGateways\",\r\n \"location\": \"eastus\",\r\n + \ \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"cba91b62-95c4-4f2c-bf21-465c1c600a32\",\r\n \"packetCaptureDiagnosticState\": + \"None\",\r\n \"enablePrivateIpAddress\": false,\r\n \"ipConfigurations\": + [\r\n {\r\n \"name\": \"ipconfig\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname/ipConfigurations/ipconfig\",\r\n + \ \"etag\": \"W/\\\"39519b1b-f780-43a3-a8dd-4727bf9437fc\\\"\",\r\n + \ \"type\": \"Microsoft.Network/virtualNetworkGateways/ipConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipname\"\r\n + \ },\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/GatewaySubnet\"\r\n + \ }\r\n }\r\n }\r\n ],\r\n \"natRules\": [],\r\n + \ \"enableBgpRouteTranslationForNat\": false,\r\n \"sku\": {\r\n \"name\": + \"VpnGw1\",\r\n \"tier\": \"VpnGw1\",\r\n \"capacity\": 2\r\n },\r\n + \ \"gatewayType\": \"Vpn\",\r\n \"vpnType\": \"RouteBased\",\r\n \"enableBgp\": + false,\r\n \"activeActive\": false,\r\n \"bgpSettings\": {\r\n \"asn\": + 65515,\r\n \"bgpPeeringAddress\": \"10.0.1.30\",\r\n \"peerWeight\": + 0,\r\n \"bgpPeeringAddresses\": [\r\n {\r\n \"ipconfigurationId\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname/ipConfigurations/ipconfig\",\r\n + \ \"defaultBgpIpAddresses\": [\r\n \"10.0.1.30\"\r\n ],\r\n + \ \"customBgpIpAddresses\": [],\r\n \"tunnelIpAddresses\": + [\r\n \"137.117.70.214\"\r\n ]\r\n }\r\n ]\r\n + \ },\r\n \"customRoutes\": {\r\n \"addressPrefixes\": [\r\n \"101.168.0.6/32\"\r\n + \ ]\r\n },\r\n \"vpnGatewayGeneration\": \"Generation1\",\r\n \"enableDnsForwarding\": + false\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '2951' + - '2978' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:55:41 GMT + - Fri, 14 May 2021 04:25:44 GMT expires: - '-1' pragma: @@ -4960,7 +4892,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 588928a8-f889-42e4-adec-b12c11116379 + - a8ca3792-18b6-47d0-9680-3e3928aab0de status: code: 200 message: OK @@ -4978,31 +4910,31 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/localNetworkGateways/localnetworkgatewayname?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/localNetworkGateways/localnetworkgatewayname?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"localnetworkgatewayname\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/localNetworkGateways/localnetworkgatewayname\"\ - ,\r\n \"etag\": \"W/\\\"5e01c34a-b813-46a3-a419-7febf91aa5d5\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/localNetworkGateways\",\r\n \"location\"\ - : \"eastus\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\"\ - : \"value2\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Succeeded\",\r\n \"resourceGuid\": \"00a71ea1-5447-47e3-9b27-24d6c08e1a11\"\ - ,\r\n \"localNetworkAddressSpace\": {\r\n \"addressPrefixes\": [\r\ - \n \"10.1.0.0/16\"\r\n ]\r\n },\r\n \"gatewayIpAddress\"\ - : \"11.12.13.14\"\r\n }\r\n}" + string: "{\r\n \"name\": \"localnetworkgatewayname\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/localNetworkGateways/localnetworkgatewayname\",\r\n + \ \"etag\": \"W/\\\"62ee5b73-b592-4212-9463-d4f7dda97ccf\\\"\",\r\n \"type\": + \"Microsoft.Network/localNetworkGateways\",\r\n \"location\": \"eastus\",\r\n + \ \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"4599b479-96f2-46fb-b5b8-da0e1bb8af59\",\r\n \"localNetworkAddressSpace\": + {\r\n \"addressPrefixes\": [\r\n \"10.1.0.0/16\"\r\n ]\r\n + \ },\r\n \"gatewayIpAddress\": \"11.12.13.14\"\r\n }\r\n}" headers: azure-asyncnotification: - Enabled cache-control: - no-cache content-length: - - '735' + - '740' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:55:46 GMT + - Fri, 14 May 2021 04:25:45 GMT expires: - '-1' pragma: @@ -5019,9 +4951,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 783d0202-6fba-484c-b743-d66c50615a52 + - 78308295-4d4c-45bb-824d-0c6310efb90c x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1194' status: code: 200 message: OK @@ -5039,65 +4971,65 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"virtualnetworkname\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname\"\ - ,\r\n \"etag\": \"W/\\\"be9b0c11-38ea-408d-910f-2f541cdb04e6\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\"\ - ,\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\"\ - \r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"resourceGuid\": \"4b64b0e5-5512-4f88-a13e-1a3690e89f3b\",\r\n \ - \ \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\ - \r\n ]\r\n },\r\n \"subnets\": [\r\n {\r\n \"name\"\ - : \"GatewaySubnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/GatewaySubnet\"\ - ,\r\n \"etag\": \"W/\\\"be9b0c11-38ea-408d-910f-2f541cdb04e6\\\"\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"addressPrefix\": \"10.0.1.0/24\",\r\n \"ipConfigurations\"\ - : [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname/ipConfigurations/ipconfig\"\ - \r\n }\r\n ],\r\n \"delegations\": [],\r\n \ - \ \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n \"\ - privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \ - \ \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n },\r\n\ - \ {\r\n \"name\": \"subnetname\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/subnetname\"\ - ,\r\n \"etag\": \"W/\\\"be9b0c11-38ea-408d-910f-2f541cdb04e6\\\"\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n \"networkSecurityGroup\"\ - : {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkSecurityGroups/virtualnetworkname-subnetname-NRMS\"\ - \r\n },\r\n \"ipConfigurations\": [\r\n {\r\n\ - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/networkinterfacename/ipConfigurations/ipconfig\"\ - \r\n }\r\n ],\r\n \"delegations\": [],\r\n \ - \ \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n \"\ - privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \ - \ \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n }\r\n \ - \ ],\r\n \"virtualNetworkPeerings\": [\r\n {\r\n \"name\"\ - : \"virtualnetworkpeeringname\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/virtualNetworkPeerings/virtualnetworkpeeringname\"\ - ,\r\n \"etag\": \"W/\\\"be9b0c11-38ea-408d-910f-2f541cdb04e6\\\"\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"resourceGuid\": \"c3b7c0e6-7976-081c-3ba3-17de80e7dd8e\"\ - ,\r\n \"peeringState\": \"Initiated\",\r\n \"remoteVirtualNetwork\"\ - : {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/rmvirtualnetworkname\"\ - \r\n },\r\n \"allowVirtualNetworkAccess\": true,\r\n \ - \ \"allowForwardedTraffic\": true,\r\n \"allowGatewayTransit\"\ - : false,\r\n \"useRemoteGateways\": false,\r\n \"doNotVerifyRemoteGateways\"\ - : false,\r\n \"remoteAddressSpace\": {\r\n \"addressPrefixes\"\ - : [\r\n \"10.2.0.0/16\"\r\n ]\r\n },\r\n\ - \ \"routeServiceVips\": {}\r\n },\r\n \"type\": \"\ - Microsoft.Network/virtualNetworks/virtualNetworkPeerings\"\r\n }\r\n\ - \ ],\r\n \"enableDdosProtection\": false\r\n }\r\n}" + string: "{\r\n \"name\": \"virtualnetworkname\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname\",\r\n + \ \"etag\": \"W/\\\"fe204613-9a95-41de-97f9-9b49e7953731\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\",\r\n + \ \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"b175ac31-f034-418a-845c-a3627171de7b\",\r\n \"addressSpace\": + {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n ]\r\n + \ },\r\n \"subnets\": [\r\n {\r\n \"name\": \"subnetname\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/subnetname\",\r\n + \ \"etag\": \"W/\\\"fe204613-9a95-41de-97f9-9b49e7953731\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"addressPrefix\": \"10.0.0.0/24\",\r\n \"ipConfigurations\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/networkinterfacename/ipConfigurations/ipconfig\"\r\n + \ }\r\n ],\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": + \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n + \ },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n + \ },\r\n {\r\n \"name\": \"GatewaySubnet\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/GatewaySubnet\",\r\n + \ \"etag\": \"W/\\\"fe204613-9a95-41de-97f9-9b49e7953731\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"addressPrefix\": \"10.0.1.0/24\",\r\n \"ipConfigurations\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname/ipConfigurations/ipconfig\"\r\n + \ }\r\n ],\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": + \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n + \ },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n + \ }\r\n ],\r\n \"virtualNetworkPeerings\": [\r\n {\r\n \"name\": + \"virtualnetworkpeeringname\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/virtualNetworkPeerings/virtualnetworkpeeringname\",\r\n + \ \"etag\": \"W/\\\"fe204613-9a95-41de-97f9-9b49e7953731\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"f734bb36-9941-0fa9-1939-a36ca1b03801\",\r\n + \ \"peeringState\": \"Initiated\",\r\n \"peeringSyncLevel\": + \"RemoteNotInSync\",\r\n \"remoteVirtualNetwork\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/rmvirtualnetworkname\"\r\n + \ },\r\n \"allowVirtualNetworkAccess\": true,\r\n \"allowForwardedTraffic\": + true,\r\n \"allowGatewayTransit\": false,\r\n \"useRemoteGateways\": + false,\r\n \"doNotVerifyRemoteGateways\": false,\r\n \"remoteAddressSpace\": + {\r\n \"addressPrefixes\": [\r\n \"10.2.0.0/16\"\r\n + \ ]\r\n },\r\n \"remoteVirtualNetworkAddressSpace\": + {\r\n \"addressPrefixes\": [\r\n \"10.2.0.0/16\"\r\n + \ ]\r\n },\r\n \"routeServiceVips\": {}\r\n },\r\n + \ \"type\": \"Microsoft.Network/virtualNetworks/virtualNetworkPeerings\"\r\n + \ }\r\n ],\r\n \"enableDdosProtection\": false\r\n }\r\n}" headers: azure-asyncnotification: - Enabled cache-control: - no-cache content-length: - - '4446' + - '4372' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:55:49 GMT + - Fri, 14 May 2021 04:25:45 GMT expires: - '-1' pragma: @@ -5114,9 +5046,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 897bab29-b3e2-4aa4-bbcc-6cc72cb2893c + - 8e2422a4-36a0-4935-9fd7-c47de9db082a x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1193' status: code: 200 message: OK @@ -5134,36 +5066,35 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/connections/connectionname?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/connections/connectionname?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"connectionname\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/connections/connectionname\"\ - ,\r\n \"etag\": \"W/\\\"5986c9ad-c985-4bce-bd01-6fe3315d2b6c\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/connections\",\r\n \"location\": \"eastus\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n\ - \ \"resourceGuid\": \"b3b62696-9d68-40b1-8ec0-908882cfcbd2\",\r\n \"\ - packetCaptureDiagnosticState\": \"None\",\r\n \"virtualNetworkGateway1\"\ - : {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname\"\ - \r\n },\r\n \"localNetworkGateway2\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/localNetworkGateways/localnetworkgatewayname\"\ - \r\n },\r\n \"connectionType\": \"IPsec\",\r\n \"connectionProtocol\"\ - : \"IKEv2\",\r\n \"routingWeight\": 0,\r\n \"sharedKey\": \"r5vRqWaNQjZWP3S8w2iSfRdE4AhMWsUuJSr8oiQY4uAxoO3I2DPBUglKd6iLI1R3KZrWeGy8NhP0pAeXJrgcDoI4mWBDTaRn4lAmCs5ic3dY4Prq0LJeHNF6KRQFOLT4\"\ - ,\r\n \"enableBgp\": false,\r\n \"useLocalAzureIpAddress\": false,\r\ - \n \"usePolicyBasedTrafficSelectors\": false,\r\n \"ipsecPolicies\"\ - : [],\r\n \"trafficSelectorPolicies\": [],\r\n \"ingressBytesTransferred\"\ - : 0,\r\n \"egressBytesTransferred\": 0,\r\n \"expressRouteGatewayBypass\"\ - : false,\r\n \"dpdTimeoutSeconds\": 0,\r\n \"connectionMode\": \"Default\"\ - \r\n }\r\n}" + string: "{\r\n \"name\": \"connectionname\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/connections/connectionname\",\r\n + \ \"etag\": \"W/\\\"82b32e50-89d3-4f81-85b4-087475ab318c\\\"\",\r\n \"type\": + \"Microsoft.Network/connections\",\r\n \"location\": \"eastus\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"bc22a794-fbaa-4c49-bee5-3eb8649f34d5\",\r\n + \ \"packetCaptureDiagnosticState\": \"None\",\r\n \"virtualNetworkGateway1\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname\"\r\n + \ },\r\n \"localNetworkGateway2\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/localNetworkGateways/localnetworkgatewayname\"\r\n + \ },\r\n \"connectionType\": \"IPsec\",\r\n \"connectionProtocol\": + \"IKEv2\",\r\n \"routingWeight\": 0,\r\n \"sharedKey\": \"fUaS7a2dfIttPCKa9sZccj3gIKQkKagZCE0WT8CHOVSCc6q60VDt50cLX6V0cBpirFbNGQVBUaN6BPYBQiWGhdVwdcV8WSQNc0Bx58e1HrCy4m78K7hu3BMgxdKKEqNs\",\r\n + \ \"enableBgp\": false,\r\n \"useLocalAzureIpAddress\": false,\r\n \"usePolicyBasedTrafficSelectors\": + false,\r\n \"ipsecPolicies\": [],\r\n \"trafficSelectorPolicies\": [],\r\n + \ \"ingressBytesTransferred\": 0,\r\n \"egressBytesTransferred\": 0,\r\n + \ \"expressRouteGatewayBypass\": false,\r\n \"dpdTimeoutSeconds\": 0,\r\n + \ \"connectionMode\": \"Default\"\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '1670' + - '1685' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:55:53 GMT + - Fri, 14 May 2021 04:25:46 GMT expires: - '-1' pragma: @@ -5180,9 +5111,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 60afa15c-d197-45ea-830e-6f3f1e9463f4 + - 28c06aba-379d-428d-a39c-9555e92279e8 x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1192' status: code: 200 message: OK @@ -5198,9 +5129,10 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/connections/connectionname?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/connections/connectionname?api-version=2021-02-01 response: body: string: '' @@ -5208,17 +5140,17 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/36fa36a3-716a-4b3d-93f6-49682c567110?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/66f6aa2f-83de-4e23-b584-184e593ba485?api-version=2021-02-01 cache-control: - no-cache content-length: - '0' date: - - Tue, 09 Mar 2021 04:55:54 GMT + - Fri, 14 May 2021 04:25:46 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/36fa36a3-716a-4b3d-93f6-49682c567110?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/66f6aa2f-83de-4e23-b584-184e593ba485?api-version=2021-02-01 pragma: - no-cache server: @@ -5229,9 +5161,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 0963919c-0afa-42e6-ac68-c5f9f7e27906 + - c2cffd78-67b1-4d0b-aef8-f9961a6c7450 x-ms-ratelimit-remaining-subscription-deletes: - - '14999' + - '14998' status: code: 202 message: Accepted @@ -5245,9 +5177,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/36fa36a3-716a-4b3d-93f6-49682c567110?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/66f6aa2f-83de-4e23-b584-184e593ba485?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -5259,7 +5192,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:56:05 GMT + - Fri, 14 May 2021 04:25:56 GMT expires: - '-1' pragma: @@ -5276,7 +5209,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - d20bc04a-f07f-4276-83b9-61387b3ceec8 + - a5fa2a92-a28b-43da-804e-681c2a7a6c46 status: code: 200 message: OK @@ -5290,9 +5223,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/36fa36a3-716a-4b3d-93f6-49682c567110?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/66f6aa2f-83de-4e23-b584-184e593ba485?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -5304,7 +5238,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:56:15 GMT + - Fri, 14 May 2021 04:26:06 GMT expires: - '-1' pragma: @@ -5321,7 +5255,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 02542504-d093-4a71-afd6-21a9731ce146 + - 3042b6ce-147c-4637-b21b-450f7c9367f7 status: code: 200 message: OK @@ -5335,9 +5269,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/36fa36a3-716a-4b3d-93f6-49682c567110?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/66f6aa2f-83de-4e23-b584-184e593ba485?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -5349,7 +5284,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:56:35 GMT + - Fri, 14 May 2021 04:26:27 GMT expires: - '-1' pragma: @@ -5366,7 +5301,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 08d00437-c676-4cc5-96a0-1550df7c6ec8 + - 8ea5280b-34e5-40f1-8f80-e998006944d5 status: code: 200 message: OK @@ -5382,25 +5317,26 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/virtualNetworkPeerings/virtualnetworkpeeringname?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/virtualNetworkPeerings/virtualnetworkpeeringname?api-version=2021-02-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/bdbd55d2-0e71-4bd0-bd29-9710406a79f3?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/d5d75f8b-064d-4046-aca2-f04505129007?api-version=2021-02-01 cache-control: - no-cache content-length: - '0' date: - - Tue, 09 Mar 2021 04:56:36 GMT + - Fri, 14 May 2021 04:26:27 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/bdbd55d2-0e71-4bd0-bd29-9710406a79f3?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/d5d75f8b-064d-4046-aca2-f04505129007?api-version=2021-02-01 pragma: - no-cache server: @@ -5411,9 +5347,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - efe27bc2-44ca-4d7e-923f-79881d0f6a65 + - 60937dbd-5891-4780-a88b-de28c63ca09f x-ms-ratelimit-remaining-subscription-deletes: - - '14998' + - '14997' status: code: 202 message: Accepted @@ -5427,9 +5363,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/bdbd55d2-0e71-4bd0-bd29-9710406a79f3?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/d5d75f8b-064d-4046-aca2-f04505129007?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -5441,7 +5378,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:56:46 GMT + - Fri, 14 May 2021 04:26:37 GMT expires: - '-1' pragma: @@ -5458,7 +5395,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 493dab66-13e5-4e25-a712-caf7b68695a4 + - bf061aec-9dca-4acc-babd-d022ea708de2 status: code: 200 message: OK @@ -5474,9 +5411,10 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname?api-version=2021-02-01 response: body: string: '' @@ -5484,17 +5422,17 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/bbe5ca72-2a18-4675-8c59-c7a4d055f35f?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/2c5440e5-34a7-4e62-9f08-4159e8cb9ea4?api-version=2021-02-01 cache-control: - no-cache content-length: - '0' date: - - Tue, 09 Mar 2021 04:56:47 GMT + - Fri, 14 May 2021 04:26:37 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/bbe5ca72-2a18-4675-8c59-c7a4d055f35f?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/2c5440e5-34a7-4e62-9f08-4159e8cb9ea4?api-version=2021-02-01 pragma: - no-cache server: @@ -5505,9 +5443,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - d2ad3867-61ff-4846-8bda-1afd90e0c501 + - 1de37e7f-de3a-413b-8a75-86d6d597ed04 x-ms-ratelimit-remaining-subscription-deletes: - - '14997' + - '14996' status: code: 202 message: Accepted @@ -5521,54 +5459,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/bbe5ca72-2a18-4675-8c59-c7a4d055f35f?api-version=2020-11-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 04:56:57 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 0b1fa582-2c0f-4ae7-bdea-683666f26e9e - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/bbe5ca72-2a18-4675-8c59-c7a4d055f35f?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/2c5440e5-34a7-4e62-9f08-4159e8cb9ea4?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -5580,7 +5474,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:57:07 GMT + - Fri, 14 May 2021 04:26:47 GMT expires: - '-1' pragma: @@ -5597,7 +5491,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - ac118d21-ac59-4e62-b23d-f2ed86559dfb + - 1909472e-9252-4df4-ae1a-16323ac14058 status: code: 200 message: OK @@ -5611,9 +5505,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/bbe5ca72-2a18-4675-8c59-c7a4d055f35f?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/2c5440e5-34a7-4e62-9f08-4159e8cb9ea4?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -5625,7 +5520,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:57:28 GMT + - Fri, 14 May 2021 04:26:57 GMT expires: - '-1' pragma: @@ -5642,7 +5537,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 49da49dd-8c25-4328-b13b-85667436bc5f + - 12cbf417-b37d-4aab-acab-9915fa26a43a status: code: 200 message: OK @@ -5656,9 +5551,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/bbe5ca72-2a18-4675-8c59-c7a4d055f35f?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/2c5440e5-34a7-4e62-9f08-4159e8cb9ea4?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -5670,7 +5566,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:57:48 GMT + - Fri, 14 May 2021 04:27:17 GMT expires: - '-1' pragma: @@ -5687,7 +5583,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 1b11f534-30c4-4869-bb66-1fe7cc9f134e + - 1e42a696-4085-4d00-ba5f-f3e906acf31f status: code: 200 message: OK @@ -5701,9 +5597,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/bbe5ca72-2a18-4675-8c59-c7a4d055f35f?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/2c5440e5-34a7-4e62-9f08-4159e8cb9ea4?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -5715,7 +5612,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:58:29 GMT + - Fri, 14 May 2021 04:27:37 GMT expires: - '-1' pragma: @@ -5732,7 +5629,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 5ea97d88-7dac-43fc-97a0-ea2471ae627f + - c10874a8-02fa-4b67-ae59-5ae76400746a status: code: 200 message: OK @@ -5746,9 +5643,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/bbe5ca72-2a18-4675-8c59-c7a4d055f35f?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/2c5440e5-34a7-4e62-9f08-4159e8cb9ea4?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -5760,7 +5658,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 04:59:09 GMT + - Fri, 14 May 2021 04:28:17 GMT expires: - '-1' pragma: @@ -5777,7 +5675,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 384ec1fe-90de-414c-9c2d-9e215e1a8db7 + - 6f24c49b-c39a-4d4a-a8b4-cd03a75d9387 status: code: 200 message: OK @@ -5791,9 +5689,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/bbe5ca72-2a18-4675-8c59-c7a4d055f35f?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/2c5440e5-34a7-4e62-9f08-4159e8cb9ea4?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -5805,7 +5704,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:00:30 GMT + - Fri, 14 May 2021 04:28:57 GMT expires: - '-1' pragma: @@ -5822,7 +5721,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - deebb270-3178-4cc6-aebf-6e9f9168bdf3 + - 23bd1dad-8641-41ed-b9c8-5433ef565612 status: code: 200 message: OK @@ -5836,9 +5735,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/bbe5ca72-2a18-4675-8c59-c7a4d055f35f?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/2c5440e5-34a7-4e62-9f08-4159e8cb9ea4?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -5850,7 +5750,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:03:11 GMT + - Fri, 14 May 2021 04:30:17 GMT expires: - '-1' pragma: @@ -5867,7 +5767,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 0e09b6b9-f660-4f93-be23-aafd4a5b6305 + - dd8669c3-5f8d-4ecf-a722-58ea2d924b5b status: code: 200 message: OK @@ -5881,9 +5781,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/bbe5ca72-2a18-4675-8c59-c7a4d055f35f?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/2c5440e5-34a7-4e62-9f08-4159e8cb9ea4?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -5895,7 +5796,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:04:52 GMT + - Fri, 14 May 2021 04:32:58 GMT expires: - '-1' pragma: @@ -5912,7 +5813,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 160c4562-2e3c-4065-8a69-79055aa33911 + - f7faa0c7-e107-4409-aa50-548a9580b4cf status: code: 200 message: OK @@ -5928,9 +5829,10 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname?api-version=2021-02-01 response: body: string: '' @@ -5938,7 +5840,7 @@ interactions: cache-control: - no-cache date: - - Tue, 09 Mar 2021 05:04:52 GMT + - Fri, 14 May 2021 04:32:58 GMT expires: - '-1' pragma: @@ -5948,7 +5850,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14999' + - '14995' status: code: 204 message: No Content @@ -5964,9 +5866,10 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname?api-version=2021-02-01 response: body: string: '' @@ -5974,7 +5877,7 @@ interactions: cache-control: - no-cache date: - - Tue, 09 Mar 2021 05:04:53 GMT + - Fri, 14 May 2021 04:32:58 GMT expires: - '-1' pragma: @@ -5984,7 +5887,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14998' + - '14994' status: code: 204 message: No Content @@ -6000,9 +5903,10 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewayname?api-version=2021-02-01 response: body: string: '' @@ -6010,7 +5914,7 @@ interactions: cache-control: - no-cache date: - - Tue, 09 Mar 2021 05:04:53 GMT + - Fri, 14 May 2021 04:32:58 GMT expires: - '-1' pragma: @@ -6020,7 +5924,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14997' + - '14993' status: code: 204 message: No Content @@ -6036,9 +5940,10 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/localNetworkGateways/localnetworkgatewayname?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/localNetworkGateways/localnetworkgatewayname?api-version=2021-02-01 response: body: string: '' @@ -6046,17 +5951,17 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/1cd6be9e-abdb-4823-8616-1ed778fd7bdc?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/bb9d4bc9-fc0b-4065-9b86-9cf3d98df90d?api-version=2021-02-01 cache-control: - no-cache content-length: - '0' date: - - Tue, 09 Mar 2021 05:04:54 GMT + - Fri, 14 May 2021 04:32:58 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/1cd6be9e-abdb-4823-8616-1ed778fd7bdc?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/bb9d4bc9-fc0b-4065-9b86-9cf3d98df90d?api-version=2021-02-01 pragma: - no-cache server: @@ -6067,9 +5972,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - c6840023-a614-4af2-98e1-04fc0f187c78 + - 756ffab0-c3b2-44f7-be18-57e92f68395d x-ms-ratelimit-remaining-subscription-deletes: - - '14996' + - '14992' status: code: 202 message: Accepted @@ -6083,9 +5988,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/1cd6be9e-abdb-4823-8616-1ed778fd7bdc?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/bb9d4bc9-fc0b-4065-9b86-9cf3d98df90d?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -6097,7 +6003,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:05:04 GMT + - Fri, 14 May 2021 04:33:08 GMT expires: - '-1' pragma: @@ -6114,7 +6020,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 8bcc0c26-30af-4496-a0fe-0d5cefb53d28 + - d625e881-76d7-43f2-973e-33723348cc2d status: code: 200 message: OK @@ -6130,9 +6036,10 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/networkinterfacename?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/networkinterfacename?api-version=2021-02-01 response: body: string: '' @@ -6140,17 +6047,17 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/695d2059-ba72-460c-8c56-c13b05cffd1b?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/e233ccf3-3cb8-4019-8690-a2208c7b0603?api-version=2021-02-01 cache-control: - no-cache content-length: - '0' date: - - Tue, 09 Mar 2021 05:05:06 GMT + - Fri, 14 May 2021 04:33:08 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/695d2059-ba72-460c-8c56-c13b05cffd1b?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/e233ccf3-3cb8-4019-8690-a2208c7b0603?api-version=2021-02-01 pragma: - no-cache server: @@ -6161,9 +6068,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - a9ec1e1e-879b-4427-9e3c-efb5c16939b8 + - 728d5d38-5b50-467f-9756-3c3f65211d4f x-ms-ratelimit-remaining-subscription-deletes: - - '14995' + - '14991' status: code: 202 message: Accepted @@ -6177,9 +6084,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/695d2059-ba72-460c-8c56-c13b05cffd1b?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/e233ccf3-3cb8-4019-8690-a2208c7b0603?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -6191,7 +6099,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:05:16 GMT + - Fri, 14 May 2021 04:33:18 GMT expires: - '-1' pragma: @@ -6208,7 +6116,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 37ae611c-d784-415f-bd68-6045be242e6b + - 3d02895b-6efc-46fd-9239-137dbcc17b99 status: code: 200 message: OK @@ -6224,25 +6132,26 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/subnetname?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/subnetname?api-version=2021-02-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/aec53014-3b8e-4a8a-8553-2d84dfaec864?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/65763796-00f3-45f9-b9d8-a08b027b4aa2?api-version=2021-02-01 cache-control: - no-cache content-length: - '0' date: - - Tue, 09 Mar 2021 05:05:17 GMT + - Fri, 14 May 2021 04:33:18 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/aec53014-3b8e-4a8a-8553-2d84dfaec864?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/65763796-00f3-45f9-b9d8-a08b027b4aa2?api-version=2021-02-01 pragma: - no-cache server: @@ -6253,9 +6162,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 1df56e07-61bc-4660-99ec-577636bb1d12 + - a7bf7606-9f05-48fe-9ff6-1227e62955cb x-ms-ratelimit-remaining-subscription-deletes: - - '14994' + - '14990' status: code: 202 message: Accepted @@ -6269,9 +6178,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/aec53014-3b8e-4a8a-8553-2d84dfaec864?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/65763796-00f3-45f9-b9d8-a08b027b4aa2?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -6283,7 +6193,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:05:27 GMT + - Fri, 14 May 2021 04:33:29 GMT expires: - '-1' pragma: @@ -6300,7 +6210,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - a982feb7-9fe7-42e6-a0ca-61091e83f2ef + - b665bab7-836e-4caf-9d55-dd66d5cf77a0 status: code: 200 message: OK @@ -6316,9 +6226,10 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname?api-version=2021-02-01 response: body: string: '' @@ -6326,17 +6237,17 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/25ba4cee-f64f-4807-9f3c-ef32c84262a6?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/e831ea3e-9f37-4f90-ad0c-cd55060e37f7?api-version=2021-02-01 cache-control: - no-cache content-length: - '0' date: - - Tue, 09 Mar 2021 05:05:28 GMT + - Fri, 14 May 2021 04:33:29 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/25ba4cee-f64f-4807-9f3c-ef32c84262a6?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/e831ea3e-9f37-4f90-ad0c-cd55060e37f7?api-version=2021-02-01 pragma: - no-cache server: @@ -6347,9 +6258,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - dcafa32f-491c-4654-8223-4c15058d6451 + - 61474be4-a783-4aee-a0dd-78254aa3fa88 x-ms-ratelimit-remaining-subscription-deletes: - - '14993' + - '14989' status: code: 202 message: Accepted @@ -6363,9 +6274,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/25ba4cee-f64f-4807-9f3c-ef32c84262a6?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/e831ea3e-9f37-4f90-ad0c-cd55060e37f7?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -6377,7 +6289,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:05:38 GMT + - Fri, 14 May 2021 04:33:39 GMT expires: - '-1' pragma: @@ -6394,7 +6306,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 4bc6540d-0c1d-4361-ad5e-a9a6c04ae6ab + - 1b239ef8-1397-4260-8bd1-f069b263f050 status: code: 200 message: OK diff --git a/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_base_async.test_network.yaml b/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_base_async.test_network.yaml index 529a8ae18d6a..fd2d9c69208e 100644 --- a/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_base_async.test_network.yaml +++ b/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_base_async.test_network.yaml @@ -10,52 +10,57 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"virtualnetworkname\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname\"\ - ,\r\n \"etag\": \"W/\\\"b061c5f1-18b2-40a8-b304-22009226f13a\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ - \ \"resourceGuid\": \"29d3a208-ac75-4652-bcc5-c1256fa85a64\",\r\n \"\ - addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\ - \r\n ]\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ - : [],\r\n \"enableDdosProtection\": false\r\n }\r\n}" + string: "{\r\n \"name\": \"virtualnetworkname\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname\",\r\n + \ \"etag\": \"W/\\\"fe41ceb4-902e-48ef-a405-8b63b65e15b1\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": + \"98b75418-52f6-4487-9cc1-eda1284523c8\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": + [\r\n \"10.0.0.0/16\"\r\n ]\r\n },\r\n \"subnets\": [],\r\n + \ \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": false\r\n + \ }\r\n}" headers: azure-asyncnotification: Enabled - azure-asyncoperation: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/2f8006b7-3f3d-4efd-9695-d7a08fd61f71?api-version=2020-11-01 + azure-asyncoperation: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/f421882c-7d8b-4be5-a409-316a57205f22?api-version=2021-02-01 cache-control: no-cache - content-length: '689' + content-length: '694' content-type: application/json; charset=utf-8 - date: Tue, 09 Mar 2021 05:06:02 GMT + date: Fri, 14 May 2021 04:33:41 GMT expires: '-1' pragma: no-cache server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000; includeSubDomains x-content-type-options: nosniff - x-ms-arm-service-request-id: cdcc51be-742e-4901-8a72-e9c45ed65d73 + x-ms-arm-service-request-id: 2a2cf6e2-0a25-436e-8c35-acf71c3e3c24 x-ms-ratelimit-remaining-subscription-writes: '1199' status: code: 201 message: Created - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/uvqov4ixaqz5vbzg4ajmo2ipptyvzobjo5bd767j5cn5qnpcijw7znsqfhhygmmi6hhoqkcb7ua/providers/Microsoft.Network/virtualNetworks/virtualnetworkname?api-version=2020-11-01 + url: https://management.azure.com/subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590/resourceGroups/rgpy-g3viomoybuafmw34l5uxxlrnc6h2qwprplw6jejaajnkqhjoz4gjyjfzvvzouibwvb2hfgnfkgb/providers/Microsoft.Network/virtualNetworks/virtualnetworkname?api-version=2021-02-01 - request: body: null headers: User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/2f8006b7-3f3d-4efd-9695-d7a08fd61f71?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/f421882c-7d8b-4be5-a409-316a57205f22?api-version=2021-02-01 response: body: - string: "{\r\n \"status\": \"Succeeded\"\r\n}" + string: !!binary | + H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl + VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xb5yk + 6UdNm7Xr5qNH6Uev19Npns/y2Ue/cfJL/h9PlJBHHQAAAA== headers: cache-control: no-cache content-encoding: gzip content-type: application/json; charset=utf-8 - date: Tue, 09 Mar 2021 05:06:05 GMT + date: Fri, 14 May 2021 04:33:44 GMT expires: '-1' pragma: no-cache server: Microsoft-HTTPAPI/2.0 @@ -63,34 +68,38 @@ interactions: transfer-encoding: chunked vary: Accept-Encoding x-content-type-options: nosniff - x-ms-arm-service-request-id: c11a934a-af9b-4105-a871-20a9da15b7d7 + x-ms-arm-service-request-id: f50b0c1f-3d7c-4eae-a3c8-9d4a97d6a0a3 status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/providers/Microsoft.Network/locations/eastus/operations/2f8006b7-3f3d-4efd-9695-d7a08fd61f71?api-version=2020-11-01 + url: https://management.azure.com/subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590/providers/Microsoft.Network/locations/eastus/operations/f421882c-7d8b-4be5-a409-316a57205f22?api-version=2021-02-01 - request: body: null headers: User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"virtualnetworkname\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname\"\ - ,\r\n \"etag\": \"W/\\\"e667a31b-286c-4136-ab06-78a6fffd2995\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n\ - \ \"resourceGuid\": \"29d3a208-ac75-4652-bcc5-c1256fa85a64\",\r\n \"\ - addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\ - \r\n ]\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ - : [],\r\n \"enableDdosProtection\": false\r\n }\r\n}" + string: !!binary | + H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl + VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xb5yk + 6UfLbJF/9Cj96LKo23VWLvP2qqrf8qcjblDM8PXdZj1ppnWxaotq2dzdmeyef7r/YHd7d3K+s70/ + m2XbWT69tz2dPNx7sHe+8/D+w527dd5U63qaf15X61Vzt75YXW9f3LssqkV1PVln54ure/vl/fW7 + d2W9nH463/tFV6t6VV59+tP5T2fZTy/f/qL5T1c/2L/46eufPv/B5eUPqnUxubqc7M3PL5bnby8m + d1d1dVnM8rq5+0UxraumOm/HLwT/uzoc/bMxf/eHl7fZBQb43bu/70f57sN757v7B9v7u5Nse/8g + 39t+eE6jymf3zvd2H2a7uw93ft+P9MX2esWEu7FvbV9W0wzEwzt51rRr8wUNY5XXbZE39BVPinx4 + WTTUvFhevG6zlrt6vZ5O83yWz+RNamZJvJZpengweXB/f/dg+/7e+afb+/sHD7YfTqe7NIJsd+9g + //7evemBfTmbzej95vUqmwK8du2+eFnn58U7Rut75jv6dndnzP/d3f30I/Px9+WXX2JAE7cQqfnN + 75vPQrK8zPOaxhY2yZfZpMyfzirqu2rzqdLrPCubHE1+yW+c/JL/B5CEim63AgAA headers: cache-control: no-cache content-encoding: gzip content-type: application/json; charset=utf-8 - date: Tue, 09 Mar 2021 05:06:06 GMT - etag: W/"e667a31b-286c-4136-ab06-78a6fffd2995" + date: Fri, 14 May 2021 04:33:44 GMT + etag: W/"e193f148-41ba-48e2-9fc3-ed3f219a1190" expires: '-1' pragma: no-cache server: Microsoft-HTTPAPI/2.0 @@ -98,11 +107,11 @@ interactions: transfer-encoding: chunked vary: Accept-Encoding x-content-type-options: nosniff - x-ms-arm-service-request-id: c402c078-e169-4d81-902b-95e45e7a7c8c + x-ms-arm-service-request-id: 7b098375-df0f-4ba4-9bb9-3bc0faea612a status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/uvqov4ixaqz5vbzg4ajmo2ipptyvzobjo5bd767j5cn5qnpcijw7znsqfhhygmmi6hhoqkcb7ua/providers/Microsoft.Network/virtualNetworks/virtualnetworkname?api-version=2020-11-01 + url: https://management.azure.com/subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590/resourceGroups/rgpy-g3viomoybuafmw34l5uxxlrnc6h2qwprplw6jejaajnkqhjoz4gjyjfzvvzouibwvb2hfgnfkgb/providers/Microsoft.Network/virtualNetworks/virtualnetworkname?api-version=2021-02-01 - request: body: '{"properties": {"addressPrefix": "10.0.0.0/24"}}' headers: @@ -113,49 +122,54 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/subnetname?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/subnetname?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"subnetname\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/subnetname\"\ - ,\r\n \"etag\": \"W/\\\"9ae5a2aa-91e5-4912-b8c7-199b1f0abee2\\\"\",\r\n \ - \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"\ - addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\"\ - : \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\ - \n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" - headers: - azure-asyncoperation: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/bb104306-b108-4811-ac80-7544564fcc23?api-version=2020-11-01 + string: "{\r\n \"name\": \"subnetname\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/subnetname\",\r\n + \ \"etag\": \"W/\\\"3b868420-923a-4320-b2ff-dd1534502f19\\\"\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Updating\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n + \ \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n + \ \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \"type\": + \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" + headers: + azure-asyncoperation: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/250bd294-a75c-4638-afb9-b6f9b99cb2b5?api-version=2021-02-01 cache-control: no-cache - content-length: '604' + content-length: '609' content-type: application/json; charset=utf-8 - date: Tue, 09 Mar 2021 05:06:06 GMT + date: Fri, 14 May 2021 04:33:44 GMT expires: '-1' pragma: no-cache server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000; includeSubDomains x-content-type-options: nosniff - x-ms-arm-service-request-id: e1111cf7-79ed-45bf-a9b2-dfe32ec7ce3e + x-ms-arm-service-request-id: 2a616864-c457-490f-90fd-688054905f87 x-ms-ratelimit-remaining-subscription-writes: '1198' status: code: 201 message: Created - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/uvqov4ixaqz5vbzg4ajmo2ipptyvzobjo5bd767j5cn5qnpcijw7znsqfhhygmmi6hhoqkcb7ua/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/subnetname?api-version=2020-11-01 + url: https://management.azure.com/subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590/resourceGroups/rgpy-g3viomoybuafmw34l5uxxlrnc6h2qwprplw6jejaajnkqhjoz4gjyjfzvvzouibwvb2hfgnfkgb/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/subnetname?api-version=2021-02-01 - request: body: null headers: User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/bb104306-b108-4811-ac80-7544564fcc23?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/250bd294-a75c-4638-afb9-b6f9b99cb2b5?api-version=2021-02-01 response: body: - string: "{\r\n \"status\": \"Succeeded\"\r\n}" + string: !!binary | + H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl + VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xb5yk + 6UdNm7Xr5qNH6Uev19Npns/y2Ue/cfJL/h9PlJBHHQAAAA== headers: cache-control: no-cache content-encoding: gzip content-type: application/json; charset=utf-8 - date: Tue, 09 Mar 2021 05:06:09 GMT + date: Fri, 14 May 2021 04:33:47 GMT expires: '-1' pragma: no-cache server: Microsoft-HTTPAPI/2.0 @@ -163,32 +177,38 @@ interactions: transfer-encoding: chunked vary: Accept-Encoding x-content-type-options: nosniff - x-ms-arm-service-request-id: f7074eef-47dd-4f24-8b0c-ef54c12e4ab0 + x-ms-arm-service-request-id: 88624906-db6f-4c4b-8149-5ed6b8266f54 status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/providers/Microsoft.Network/locations/eastus/operations/bb104306-b108-4811-ac80-7544564fcc23?api-version=2020-11-01 + url: https://management.azure.com/subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590/providers/Microsoft.Network/locations/eastus/operations/250bd294-a75c-4638-afb9-b6f9b99cb2b5?api-version=2021-02-01 - request: body: null headers: User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/subnetname?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/subnetname?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"subnetname\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/subnetname\"\ - ,\r\n \"etag\": \"W/\\\"b90a53e7-f356-4777-a3f9-0268d2b05acb\\\"\",\r\n \ - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\ - addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\"\ - : \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\ - \n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" + string: !!binary | + H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl + VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xb5yk + 6UfLbJF/9Cj9qFlPlnnLf434i2KGj+/S5820LlZtUS2buzuT3fNP9x/sbu9Ozne292ezbDvLp/e2 + p5OHew/2znce3n+4c7fOm2pdT/PP62q9au7WF6vr7Yt7l0W1qK4n6+x8cXVvv7y/fveurJfTT+d7 + v+hqVa/Kq09/Ov/pLPvp5dtfNP/p6gf7Fz99/dPnP7i8/EG1LiZXl5O9+fnF8vztxeTuqq4ui1le + N3e/KKZ11VTn7fhF3l5V9du7l0XdrrNS/2zM3zQ0/I3h3aUR0Z+N/sRHOuK8zS4w5u/e/X0/2j1/ + 8OnkYG+2fX6fxri/P93ZfnjvfHf7fk4Dzx9MH9zb3/19P9IXCaFVXrdF3tDrTFb58LJoiGrF8uJ1 + m7VM5dfr6TTPZ/lM3qRm2WxG9Gpe1vl58Q5NdnfG/N/dvX3baJaX+UXGU0BNvvd98/mqLi4J8uly + tqqKZaujflmVxVSQ+eh0mU1Krzt943mxfPs6ry+Lab7hJbzzS/jNj9rrFQ/gZooLWRt6+Zf8P+oI + mBdiAgAA headers: cache-control: no-cache content-encoding: gzip content-type: application/json; charset=utf-8 - date: Tue, 09 Mar 2021 05:06:10 GMT - etag: W/"b90a53e7-f356-4777-a3f9-0268d2b05acb" + date: Fri, 14 May 2021 04:33:47 GMT + etag: W/"1f76b82d-f5da-44c0-93f1-5ebf0e7c7341" expires: '-1' pragma: no-cache server: Microsoft-HTTPAPI/2.0 @@ -196,28 +216,32 @@ interactions: transfer-encoding: chunked vary: Accept-Encoding x-content-type-options: nosniff - x-ms-arm-service-request-id: 4d1a3e57-8a4b-4325-8e1a-141b87abd955 + x-ms-arm-service-request-id: b4dfbe4d-b57f-47ee-bf5a-841c89742582 status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/uvqov4ixaqz5vbzg4ajmo2ipptyvzobjo5bd767j5cn5qnpcijw7znsqfhhygmmi6hhoqkcb7ua/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/subnetname?api-version=2020-11-01 + url: https://management.azure.com/subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590/resourceGroups/rgpy-g3viomoybuafmw34l5uxxlrnc6h2qwprplw6jejaajnkqhjoz4gjyjfzvvzouibwvb2hfgnfkgb/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/subnetname?api-version=2021-02-01 - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/CheckIPAddressAvailability?ipAddress=10.0.0.4&api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/CheckIPAddressAvailability?ipAddress=10.0.0.4&api-version=2021-02-01 response: body: - string: "{\r\n \"available\": true,\r\n \"isPlatformReserved\": false\r\n}" + string: !!binary | + H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl + VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xb5yk + 6UfZZVaU2aTMP3qUtvU6H/GnRfOyzNrzql68ypu8vsxn9PV5Vjb5b5z8kv8H8TquZTkAAAA= headers: cache-control: no-cache content-encoding: gzip content-type: application/json; charset=utf-8 - date: Tue, 09 Mar 2021 05:06:10 GMT + date: Fri, 14 May 2021 04:33:47 GMT expires: '-1' pragma: no-cache server: Microsoft-HTTPAPI/2.0 @@ -225,34 +249,40 @@ interactions: transfer-encoding: chunked vary: Accept-Encoding x-content-type-options: nosniff - x-ms-arm-service-request-id: da67d114-b38d-4eb7-8613-9dd8a9813943 + x-ms-arm-service-request-id: c1951bb4-6d31-41d6-ad5c-6422794ff8e7 status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/uvqov4ixaqz5vbzg4ajmo2ipptyvzobjo5bd767j5cn5qnpcijw7znsqfhhygmmi6hhoqkcb7ua/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/CheckIPAddressAvailability?ipAddress=10.0.0.4&api-version=2020-11-01 + url: https://management.azure.com/subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590/resourceGroups/rgpy-g3viomoybuafmw34l5uxxlrnc6h2qwprplw6jejaajnkqhjoz4gjyjfzvvzouibwvb2hfgnfkgb/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/CheckIPAddressAvailability?ipAddress=10.0.0.4&api-version=2021-02-01 - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/subnetname?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/subnetname?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"subnetname\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/subnetname\"\ - ,\r\n \"etag\": \"W/\\\"b90a53e7-f356-4777-a3f9-0268d2b05acb\\\"\",\r\n \ - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\ - addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\"\ - : \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\ - \n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" + string: !!binary | + H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl + VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xb5yk + 6UfLbJF/9Cj9qFlPlnnLf434i2KGj+/S5820LlZtUS2buzuT3fNP9x/sbu9Ozne292ezbDvLp/e2 + p5OHew/2znce3n+4c7fOm2pdT/PP62q9au7WF6vr7Yt7l0W1qK4n6+x8cXVvv7y/fveurJfTT+d7 + v+hqVa/Kq09/Ov/pLPvp5dtfNP/p6gf7Fz99/dPnP7i8/EG1LiZXl5O9+fnF8vztxeTuqq4ui1le + N3e/KKZ11VTn7fhF3l5V9du7l0XdrrNS/2zM3zQ0/I3h3aUR0Z+N/sRHOuK8zS4w5u/e/X0/2j1/ + 8OnkYG+2fX6fxri/P93ZfnjvfHf7fk4Dzx9MH9zb3/19P9IXCaFVXrdF3tDrTFb58LJoiGrF8uJ1 + m7VM5dfr6TTPZ/lM3qRm2WxG9Gpe1vl58Q5NdnfG/N/dvX3baJaX+UXGU0BNvvd98/mqLi4J8uly + tqqKZaujflmVxVSQ+eh0mU1Krzt943mxfPs6ry+Lab7hJbzzS/jNj9rrFQ/gZooLWRt6+Zf8P+oI + mBdiAgAA headers: cache-control: no-cache content-encoding: gzip content-type: application/json; charset=utf-8 - date: Tue, 09 Mar 2021 05:06:10 GMT - etag: W/"b90a53e7-f356-4777-a3f9-0268d2b05acb" + date: Fri, 14 May 2021 04:33:47 GMT + etag: W/"1f76b82d-f5da-44c0-93f1-5ebf0e7c7341" expires: '-1' pragma: no-cache server: Microsoft-HTTPAPI/2.0 @@ -260,36 +290,39 @@ interactions: transfer-encoding: chunked vary: Accept-Encoding x-content-type-options: nosniff - x-ms-arm-service-request-id: ed4f0191-e65d-40ac-a155-fe0f49358846 + x-ms-arm-service-request-id: 6a365521-b1bb-40ed-a830-9386f5fa5b9e status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/uvqov4ixaqz5vbzg4ajmo2ipptyvzobjo5bd767j5cn5qnpcijw7znsqfhhygmmi6hhoqkcb7ua/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/subnetname?api-version=2020-11-01 + url: https://management.azure.com/subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590/resourceGroups/rgpy-g3viomoybuafmw34l5uxxlrnc6h2qwprplw6jejaajnkqhjoz4gjyjfzvvzouibwvb2hfgnfkgb/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/subnetname?api-version=2021-02-01 - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets?api-version=2021-02-01 response: body: - string: "{\r\n \"value\": [\r\n {\r\n \"name\": \"subnetname\",\r\n\ - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/subnetname\"\ - ,\r\n \"etag\": \"W/\\\"b90a53e7-f356-4777-a3f9-0268d2b05acb\\\"\",\r\ - \n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\"\ - : [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n \ - \ \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \ - \ \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n }\r\n\ - \ ]\r\n}" + string: !!binary | + H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl + VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xb5yk + 6UeXWbnOP3qUfg9/pSl/iOejZbbA5x8168kyb/mvkf2ymOGru/RdM62LVVtUy+buzmT3/NP9B7vb + u5Pzne392SzbzvLpve3p5OHeg73znYf3H+7crfOmWtfT/PO6Wq+au/XF6nr74t5lUS2q68k6O19c + 3dsv76/fvSvr5fTT+d4vulrVq/Lq05/OfzrLfnr59hfNf7r6wf7FT1//9PkPLi9/UK2LydXlZG9+ + frE8f3sxubuqq8tiltfN3S+KaV011Xk7fpG3V1X99u5lUbfrrNQ/G/M3DQ9/Y4h3aUT0Z6M/8ZE3 + 6rzNLjDu7979fT/aPX/w6eRgb7Z9fp/Gub8/3dl+eO98d/t+ToPPH0wf3Nvf/X0/8l4mxFZ53RZ5 + QyAsmeWLy6IhChbLi9dt1jLVX6+n0zyf5TMHgZpmsxnRr3lZ5+fFOzTb3Rnzf3f39oOGs7zMLzKe + Fmr2ve/7363q4pJ6OV3OVlWxbJUaL6uymApyH50us0nZ6Vrfel4s377O68timm940bz3SyyEj9rr + FQ/s5lkR0jcK5Jfgx/d/4+SX/D95ALzJrwIAAA== headers: cache-control: no-cache content-encoding: gzip content-type: application/json; charset=utf-8 - date: Tue, 09 Mar 2021 05:06:11 GMT + date: Fri, 14 May 2021 04:33:47 GMT expires: '-1' pragma: no-cache server: Microsoft-HTTPAPI/2.0 @@ -297,32 +330,37 @@ interactions: transfer-encoding: chunked vary: Accept-Encoding x-content-type-options: nosniff - x-ms-arm-service-request-id: d5065e07-5a2c-4842-9c88-85f8f339b63b + x-ms-arm-service-request-id: 1eb499c4-f41b-40b8-b55b-ee5773ebcf8b status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/uvqov4ixaqz5vbzg4ajmo2ipptyvzobjo5bd767j5cn5qnpcijw7znsqfhhygmmi6hhoqkcb7ua/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets?api-version=2020-11-01 + url: https://management.azure.com/subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590/resourceGroups/rgpy-g3viomoybuafmw34l5uxxlrnc6h2qwprplw6jejaajnkqhjoz4gjyjfzvvzouibwvb2hfgnfkgb/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets?api-version=2021-02-01 - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/usages?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/usages?api-version=2021-02-01 response: body: - string: "{\r\n \"value\": [\r\n {\r\n \"currentValue\": 0,\r\n \ - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/subnetname\"\ - ,\r\n \"limit\": 251,\r\n \"name\": {\r\n \"localizedValue\"\ - : \"Subnet size and usage\",\r\n \"value\": \"SubnetSpace\"\r\n \ - \ },\r\n \"unit\": \"Count\"\r\n }\r\n ]\r\n}" + string: !!binary | + H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl + VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xb5yk + 6UeXWbnOP3qUfg9/pSl/iOej6bqu82X7k/r9zsh+U8zo74/uNutJM62LVVtUy+buzmT3/NP9B7vb + u5Pzne392SzbzvLpve3p5OHeg73znYf3H+7crfOmWtfT/PO6Wq+au/XF6nr74t5lUS2q68k6O19c + 3dsv76/fvSvr5fTT+d4vulrVq/Lq05/OfzrLfnr59hfNf7r6wf7FT1//9PkPLi9/UK2LydXlZG9+ + frE8f3sxubuqq8tiltfN3S+KaV011Xk7fpG3V1X99u5lUbfrrNQ/G/P3Uv5eZov8Lo2I/mz0Jz76 + yI26LBZFSwPfu7/rPuQ2jxzV6KOymmZl8YN8Zij30WsGlzb0YZotZ+m6yS48yPSOmQRt+nqVTfOP + zPe/xLb8aL1kFD46qdbLVhv8Evz4/m+c/JL/Bwxd49TQAQAA headers: cache-control: no-cache content-encoding: gzip content-type: application/json; charset=utf-8 - date: Tue, 09 Mar 2021 05:06:11 GMT + date: Fri, 14 May 2021 04:33:48 GMT expires: '-1' pragma: no-cache server: Microsoft-HTTPAPI/2.0 @@ -330,44 +368,43 @@ interactions: transfer-encoding: chunked vary: Accept-Encoding x-content-type-options: nosniff - x-ms-arm-service-request-id: ca44d4b6-5115-4cf0-ab07-bc0138652469 + x-ms-arm-service-request-id: 34ca32d7-dad3-4c2c-8e93-24c0cffbd6e1 status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/uvqov4ixaqz5vbzg4ajmo2ipptyvzobjo5bd767j5cn5qnpcijw7znsqfhhygmmi6hhoqkcb7ua/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/usages?api-version=2020-11-01 + url: https://management.azure.com/subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590/resourceGroups/rgpy-g3viomoybuafmw34l5uxxlrnc6h2qwprplw6jejaajnkqhjoz4gjyjfzvvzouibwvb2hfgnfkgb/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/usages?api-version=2021-02-01 - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"virtualnetworkname\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname\"\ - ,\r\n \"etag\": \"W/\\\"b90a53e7-f356-4777-a3f9-0268d2b05acb\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n\ - \ \"resourceGuid\": \"29d3a208-ac75-4652-bcc5-c1256fa85a64\",\r\n \"\ - addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\ - \r\n ]\r\n },\r\n \"subnets\": [\r\n {\r\n \"name\"\ - : \"subnetname\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/subnetname\"\ - ,\r\n \"etag\": \"W/\\\"b90a53e7-f356-4777-a3f9-0268d2b05acb\\\"\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\"\ - : [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n \ - \ \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\ - \n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n \ - \ }\r\n ],\r\n \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\"\ - : false\r\n }\r\n}" + string: !!binary | + H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl + VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xb5yk + 6UfLbJF/9Cj96LKo23VWLvP2qqrf8qcjblDM8PXdZj1ppnWxaotq2dzdmeyef7r/YHd7d3K+s70/ + m2XbWT69tz2dPNx7sHe+8/D+w527dd5U63qaf15X61Vzt75YXW9f3LssqkV1PVln54ure/vl/fW7 + d2W9nH463/tFV6t6VV59+tP5T2fZTy/f/qL5T1c/2L/46eufPv/B5eUPqnUxubqc7M3PL5bnby8m + d1d1dVnM8rq5+0UxraumOm/HLwT/uzoc/bMxf/eHl7fZBQb43bu/70e75w8+nRzszbbP79OA9ven + O9sP753vbt/PaZT5g+mDe/u7v+9H+mJ7vWLC3di3ti+raQbi4Z08a9q1+YKGscrrtsgb+oonRT68 + LBpqXiwvXrdZy129Xk+neT7LZ/ImNbMkXss0PTyYPLi/v3uwfX/v/FMawcGD7YfT6e52Pst29w72 + 7+/dmx7Yl7PZjN5vXq+yKcBr1+6Ll3V+XrxjtL5nvqNvd3fG/N/d3U8/Mh9/X375JQY0cQuROnjT + gqevmf6ErjTjv/RNPP+/Zbm7NCL6s9Gf+CgY99flRXnAMz1Gkgdf3YKd5AmnHw3tjO/td5rO8jK/ + YLZGn9/7fvjtqi4uqa/T5WxVFctWKfOyKoupIPnR6TKblD0E9L3nxfLt67y+LKb5hlfdm4b78Nxe + PHUyGgvol8gvZixGM2r7l3leExGBgh3uRznj8nRWEdGqNp+CINTgPCubHE0I5C/5fwANRcncbwUA + AA== headers: cache-control: no-cache content-encoding: gzip content-type: application/json; charset=utf-8 - date: Tue, 09 Mar 2021 05:06:11 GMT - etag: W/"b90a53e7-f356-4777-a3f9-0268d2b05acb" + date: Fri, 14 May 2021 04:33:48 GMT + etag: W/"1f76b82d-f5da-44c0-93f1-5ebf0e7c7341" expires: '-1' pragma: no-cache server: Microsoft-HTTPAPI/2.0 @@ -375,45 +412,42 @@ interactions: transfer-encoding: chunked vary: Accept-Encoding x-content-type-options: nosniff - x-ms-arm-service-request-id: b14113f0-2f9d-4674-8757-b86b63dd990e + x-ms-arm-service-request-id: 771041ad-8935-419c-94aa-471ae6eb75b3 status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/uvqov4ixaqz5vbzg4ajmo2ipptyvzobjo5bd767j5cn5qnpcijw7znsqfhhygmmi6hhoqkcb7ua/providers/Microsoft.Network/virtualNetworks/virtualnetworkname?api-version=2020-11-01 + url: https://management.azure.com/subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590/resourceGroups/rgpy-g3viomoybuafmw34l5uxxlrnc6h2qwprplw6jejaajnkqhjoz4gjyjfzvvzouibwvb2hfgnfkgb/providers/Microsoft.Network/virtualNetworks/virtualnetworkname?api-version=2021-02-01 - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks?api-version=2021-02-01 response: body: - string: "{\r\n \"value\": [\r\n {\r\n \"name\": \"virtualnetworkname\"\ - ,\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname\"\ - ,\r\n \"etag\": \"W/\\\"b90a53e7-f356-4777-a3f9-0268d2b05acb\\\"\",\r\ - \n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\"\ - : \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\"\ - : \"Succeeded\",\r\n \"resourceGuid\": \"29d3a208-ac75-4652-bcc5-c1256fa85a64\"\ - ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \ - \ \"10.0.0.0/16\"\r\n ]\r\n },\r\n \"subnets\"\ - : [\r\n {\r\n \"name\": \"subnetname\",\r\n \ - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/subnetname\"\ - ,\r\n \"etag\": \"W/\\\"b90a53e7-f356-4777-a3f9-0268d2b05acb\\\"\ - \",\r\n \"properties\": {\r\n \"provisioningState\"\ - : \"Succeeded\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n\ - \ \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\"\ - : \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"\ - Enabled\"\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\ - \r\n }\r\n ],\r\n \"virtualNetworkPeerings\": [],\r\ - \n \"enableDdosProtection\": false\r\n }\r\n }\r\n ]\r\n}" + string: !!binary | + H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl + VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xb5yk + 6UeXWbnOP3qUfg9/pSl/iOejZbbA5x9dFnW7zspl3l5V9Vv+dGQbFTM0udusJ820LlZtUS2buzuT + 3fNP9x/sbu9Ozne292ezbDvLp/e2p5OHew/2znce3n+4c7fOm2pdT/PP62q9au7WF6vr7Yt7l0W1 + qK4n6+x8cXVvv7y/fveurJfTT+d7v+hqVa/Kq09/Ov/pLPvp5dtfNP/p6gf7Fz99/dPnP7i8/EG1 + LiZXl5O9+fnF8vztxeTuqq4ui1leN3e/KKZ11VTn7fiFjOGuDkn/bMzf8SHmbXaBQX737u/70e75 + g08nB3uz7fP7NKj9/enO9sN757vb93Maaf5g+uDe/u7v+5H3cnu9YiLeiIP3TllNMxAS7+VZ0679 + L2lYq7xui7yhr+1kyReXRUOvFcuL123Wcrev19Npns/ymYNATS3p1zJ9Dw8mD+7v7x5s3987/5RG + dfBg++F0urudz7LdvYP9+3v3pgcBgGw2IxjN61U2RTceGu7Ll3V+XrxjNJW1zPPR7s6Y/7u7++lH + /lffd3/8Er874i6amh6koFtqxvNGw5Hm/JcHBc//b9n1Lo2I/mz0Jz7qjf1D+Fge8FiU+eTB17dk + QXlCVkFjyxl7+5Hms7zML1g00P/3vt9vsaqLS+r3dDlbVcWyVYq9rMpiKkh/dLrMJmUUGX33ebF8 + +zqvL4tpvuH18G2fW/HcXux1wpoA4C9xf/hjNJpY332Z5zURGmgFpPgoZxyfzioibNXmUxCMGp1n + ZZObZtoF/yCx+yX/D8oBHloMBgAA headers: cache-control: no-cache content-encoding: gzip content-type: application/json; charset=utf-8 - date: Tue, 09 Mar 2021 05:06:12 GMT + date: Fri, 14 May 2021 04:33:48 GMT expires: '-1' pragma: no-cache server: Microsoft-HTTPAPI/2.0 @@ -421,90 +455,325 @@ interactions: transfer-encoding: chunked vary: Accept-Encoding x-content-type-options: nosniff - x-ms-arm-service-request-id: d3790905-d97d-4feb-beb4-02f0bfc6ae60 + x-ms-arm-service-request-id: 5a3240ab-b01a-46ee-be5c-23c0dfa22681 status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/uvqov4ixaqz5vbzg4ajmo2ipptyvzobjo5bd767j5cn5qnpcijw7znsqfhhygmmi6hhoqkcb7ua/providers/Microsoft.Network/virtualNetworks?api-version=2020-11-01 + url: https://management.azure.com/subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590/resourceGroups/rgpy-g3viomoybuafmw34l5uxxlrnc6h2qwprplw6jejaajnkqhjoz4gjyjfzvvzouibwvb2hfgnfkgb/providers/Microsoft.Network/virtualNetworks?api-version=2021-02-01 - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/virtualNetworks?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/virtualNetworks?api-version=2021-02-01 response: body: - string: "{\r\n \"value\": [\r\n {\r\n \"name\": \"sdknettestqa2vnet464\"\ - ,\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa2/providers/Microsoft.Network/virtualNetworks/sdknettestqa2vnet464\"\ - ,\r\n \"etag\": \"W/\\\"b2bf7f8b-0e8a-4410-b275-1f550862ebeb\\\"\",\r\ - \n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\"\ - : \"eastus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \ - \ \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"a0cd9266-92c6-44e2-9039-28d28196e9bc\"\ - ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \ - \ \"10.1.0.0/16\"\r\n ]\r\n },\r\n \"subnets\"\ - : [\r\n {\r\n \"name\": \"default\",\r\n \"\ - id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa2/providers/Microsoft.Network/virtualNetworks/sdknettestqa2vnet464/subnets/default\"\ - ,\r\n \"etag\": \"W/\\\"b2bf7f8b-0e8a-4410-b275-1f550862ebeb\\\"\ - \",\r\n \"properties\": {\r\n \"provisioningState\"\ - : \"Succeeded\",\r\n \"addressPrefix\": \"10.1.0.0/24\",\r\n\ - \ \"ipConfigurations\": [\r\n {\r\n \ - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa2/providers/Microsoft.Network/networkInterfaces/anf-sdknettestqa2vnet464-nic-2JBDNX/ipConfigurations/ipconfig1\"\ - \r\n }\r\n ],\r\n \"serviceEndpoints\"\ - : [],\r\n \"delegations\": [\r\n {\r\n \ - \ \"name\": \"858246068f874a3f96e679fc8bf8c983\",\r\n \ - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sdk-net-test-qa2/providers/Microsoft.Network/virtualNetworks/sdknettestqa2vnet464/subnets/default/delegations/858246068f874a3f96e679fc8bf8c983\"\ - ,\r\n \"etag\": \"W/\\\"b2bf7f8b-0e8a-4410-b275-1f550862ebeb\\\ - \"\",\r\n \"properties\": {\r\n \"provisioningState\"\ - : \"Succeeded\",\r\n \"serviceName\": \"Microsoft.Netapp/volumes\"\ - ,\r\n \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ - ,\r\n \"Microsoft.Network/virtualNetworks/subnets/join/action\"\ - \r\n ]\r\n },\r\n \"\ - type\": \"Microsoft.Network/virtualNetworks/subnets/delegations\"\r\n \ - \ }\r\n ],\r\n \"purpose\": \"HostedWorkloads\"\ - ,\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n \ - \ \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n \ - \ },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\ - \r\n }\r\n ],\r\n \"virtualNetworkPeerings\": [],\r\ - \n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ - : false,\r\n \"vmProtectionFlagHasChanged\": false\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"virtualnetworkname\",\r\n \"id\"\ - : \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname\"\ - ,\r\n \"etag\": \"W/\\\"b90a53e7-f356-4777-a3f9-0268d2b05acb\\\"\",\r\ - \n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\"\ - : \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\"\ - : \"Succeeded\",\r\n \"resourceGuid\": \"29d3a208-ac75-4652-bcc5-c1256fa85a64\"\ - ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \ - \ \"10.0.0.0/16\"\r\n ]\r\n },\r\n \"subnets\"\ - : [\r\n {\r\n \"name\": \"subnetname\",\r\n \ - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/subnetname\"\ - ,\r\n \"etag\": \"W/\\\"b90a53e7-f356-4777-a3f9-0268d2b05acb\\\"\ - \",\r\n \"properties\": {\r\n \"provisioningState\"\ - : \"Succeeded\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n\ - \ \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\"\ - : \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"\ - Enabled\"\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\ - \r\n }\r\n ],\r\n \"virtualNetworkPeerings\": [],\r\ - \n \"enableDdosProtection\": false\r\n }\r\n }\r\n ]\r\n}" + string: !!binary | + H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl + VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xR5dZ + uc4/evS9X/zRMlvQLx9dLrZnWZvNiubtdps37U++OH3z0eijYkbf3W3Wk2ZaF6u2qJbN3Z3J7vmn + +w92t3cn5zvb+7NZtp3l03vb08nDvQd75zsP7z/cuVvnTbWup/nndbVeNXenZcFgt9HB+U//9KcX + zb291d55nS2aanFv2rTzX5TvFxdX16vivJ0sLvezq2YxffuD7MFPv2tW17OrbL1/MX+7d/n27qqu + LotZXjd3vyimddVU5+34Rd5eVfXbu5dF3a6zUv9s7g4MK2+zCxrYd+/+vh/tndPzYG9/+/5kN9ve + 37l/sD15uL+/TSPZO7g32Z1mew9+34/onfZ6BULd2Cc1LatpBlpR8yvqdI3PqMfmo0e/+JeMPiL8 + V3ndFjn+xl+XRUONi+XF6zZr0cfr9XSa57N8Ru9ZQq55LvYenn/66af3drcfHuxPtvcfzA62Hz7c + /3T74OH+wcN7+w+y/ek5vZXNZvRi83qVTQngLzZ/v6zz8+IdOv7eR7s7Y/7v7u6nH32f0KJJXuYt + vhpkitfchMAzKnfpjf8fscVdGg6Nrv+lHfXX4RrC6j0mO5gm+s7O0d4+fVusTqrleXGxrpm7CCJN + 1f/XpoJIiZ9nyzavz4k7+/T+yS9eFNO73cHSB1P+oNv8o1/y/dFHs7zML6QhUYU+WNXFJdH3dDlb + VcWy1d5fVmUx5bn46HSZTUomujZ9Xizfvs7ry2KaD7cmObmtHrhLc0KDbRi/8LuXeV4TBxBgoJoz + 7Keziua9avMpRvHRo/OsbPJf8ktGgTDSmLO2zaZzHjm4lvD/WeGAd6u2La/z/Z8+/8Gn52/fXu3X + i2xa/WDZ/vQvatpJO1m+3W9X1Q+uFvX5applP7hu9q9/+sHV8vrtfLKcbeSAkBYy/9Rjf2CevE3v + 3b+3fz57sL3z6cGn2/sP9z7dzmbZbHsyvb97f+/+TrZ/f8LydtvZoaY/m1r6wcOd2XlGRH9IlN9/ + mO1uH9y79+n2g3t7n96f7H96nt9/SG+puH8DWjqkn9VYjMxdeuf/V6xxlwZE44t9bUf+dXiHMHuP + KQ8mi76zM/VD1tU/i9NBpMTPjq6mPj2K30Jbhy+wPvx5oK+zi92fJHiE8Dc47b8/KPj7Zxe/v3Lf + 77+qqnL+4Oqn381ns71fdLH/YDp9tz+5Wn6aPVjnn87mbfnpau8X1fO9/KeXb6s2++m3619UZPXG + aQ8H39x1I/GkameWkUYj5+fe7uTe9n6+s7edHTy8v72TZ+fn9z89mO18Kh7QbelPTX8WNfJkupff + yz+9t53d3yW/+VNSxpOdXaL85NMH96ekqh/e26W3lKwfqJFn+Xm2LkEw7vsuNfn/9tTfpRHQj+au + G9nXYQXq+T1mUMcptKfvLOFZwf5Ig3woG63b+e8/pem42Luqf1DOri6vftEyr396MTt/V10192b3 + Zut5VS4+be/NftFPv1tm2fLyQdXMLwiN/cn+12EjGonHNrt7Ow9mDw6mJJIH5CQRo2xn9/L72/ey + hw93d4lp9s7vMdvclv7U9EM1yLOswKT31Mc0e5hne59OtmfnD/e29/cfnm8/3JvMtqcP9j/99Px8 + b/dgf4/eUpb9f7f6+OHP+116lX4MqI9b8wH1fNvpCwhPX1iq/0h30KA/mIcmWVNM2/JqOc/nVVtN + i3ezxaer9hft//T15O3+T09+UN1fZdXselHfn5X3LibNen5d3J9e3r+cflpUP/g6PEQj8XjmYLJz + Pju4d0C435tS/mWHfPp8NtnOdx6cP9idZfneuZic29Kfmv5s6Y57B/sHk2xntv3pZI/MI4g9Oadc + 0cGDe/l0uvvg04P7Gb2lLPv/at3xczDvd2kE9GNAd9yaD6jn205fQHj6wlL954vuuCRgcIZ/Njjo + vK4omlzOfv9i9fsrOZr5/beUPfzparas9q4nFz/YL35Q3lvN58tVU1/9ovNfRCbowepqfq/JLt6L + g8w4PH4hf3Tn4N6DyfYDytGSrcln2wfnO5RNf3g/fzDbn9DPHeaX29Kemv6s6Y37+/v7O9Pz7Qfn + nxKp9/NzspAz8j5m9x9MsjybErfTW8qu76M3ZvPp6kuZULwxWzZgRyIqNcb3NOVEOvxleUI+AjUZ + t7v09/+XueIu4U8/jehgXF+HS6jf205uMC30hZ2Tny9aRfU5IfyzzkHrCQ38YvGD+cX8cnmRT6ZX + Pzh/N5nf39ufXf/0frH30w/qIi/XP/3TF+8mq0m7t7h+Lw5yI/F45t6DjNbh9s+3dybnlGXMKNU4 + OZjSUHZn5w8eTAiJh7vMM7elPzX92dIs+7NP84cHGWkWil0oYJ8+oPT0+b3tB7PZbP9gl7KlBzm9 + pSz7PpqFJpUog6/svDu7zX3fpSb/3573uzQC+jHgkdyaD6jn205fQHj6wlL9a+oOow2AxI90h+Oh + VUWY7i9Xy7f1g2b6iz79wbqZLssfXK2a6WW9rJf7NSXC3366/ulPF+Vsmn/6bnWfAumvw0M0Eo9n + Dmb7Dz7NaIVidm+PXNnzbGf7IS3kb88+nc4ekoju7Z7vM8/clv7U9EN1h5+Js7QT9ZFRsm/3wb0H + 2w8nOxTQ3P/0wXY2/fT+9u7sXr57Pt09OM//vxLQ/BxM/V0aAf0YUB+3ZgXq+T1mMKA9fWcJ//NH + g9wD8Qnhnw02UiKQEVrv/+A8X+1dr6dXRLnVp5d7n+7Pi09n61+0LCe/6NO62J/mDz7d/8GDq/O9 + 8+vsp+9X6/XkPdnIjMRjm/t72c703sG97d2Hk11a1Nh5SGxzfp8MfDbJpvfv39s7nzLb3Jb+1PRn + UYNMKCPy6SS7t02ux4xWY/ZpNXaHFhAm9/b2d+59+vDezr1vzgGRj+Dic9936e//b0/9XRoB/TAy + gpF9HVagnt9jBgPa03eW8D9fNMjloml2f/LF6RtC+ZtnpOaivlr99GU9v/70Yvlufj8v5vdm09nb + t/ceXBaTfDpvq/mDT9e/6N2qrO7/oqtyv75c1vfeLbLi+hf94PzB3k+/FyP5Y/FYh5LtWTbZO9++ + N0FKjRY8KOT9FMaHPt2hEPh+/pBZ57ZzQE1/FrXI7sF0NtvNH25P7t8nip8/ONh+uHMw2c4m+59O + 7u9Md3YfTOkt5dwP1CJMstf8OcHk/u9Ss/+vM8BdGgMNST+x4/s6TEH9v8dcBrNA39kp+PmiT2jq + xyQcb8d1U0/nxdvZT+/V98v8B/S//Ssk9r5xHptmy2XVgrRkr0yj3x84TM7X2XlLCbXF/uLBg3V9 + fZXf/7Ru7l2f1/tNfe96sqgbAvPuvXiMXtg8QI/J9rLJp/d2aX1172BKUfP+wX1isnPKdR6QHN/P + JiTc95nJbjtb1JT6Zg6i5t+05jk/ONifTCjumWS8HLwz2X5Ik7GdT+4f7O8/oMnY36G3lMffR/Pc + PjVLnBaO+cO5sL2YN/n1+U/v/aK31w+yerKkMfB471K33xQX1nk2q5blNf0iDZgDy/X0ov3B+f3L + C4okz+9f/PTyXbu89/Z8P3uXX/9gNq2uyqz9RYvL/N0vuvf1uTA2QI8LHxzMsge7lOi9d7BLXEjT + v32wfy/b/jSfnU/vn9Ny3af/b+LC6Xm+e/9TQjd/+Clx4Wx3b3vyMDvYPng4vU9f3N/d3Z3QW8p1 + /2/mQs7JE6o8rLsE/Ztitqat6uwi//0bQp8Mwe9PoT7bj2ZvuazfFfOfPn/b3Ft++q7ca1c/eHDv + cl5myx8sLlaXlAfYW11WF7P3YjYzDo+npufZzoPs3mx77+F0sr3/YI/8k70Z0iYPKaDfIzUy2/t/ + EU8dnO/e35sRoe8/PH9I6O4ebGfTh9n2A9LAD/d28gf7B1DdykM/Ozxl2UI+AkEZt7v09/+XGeMu + 4U8/jSeBcX0dRqF+32N+g5mh7+y0sJ+lwzduFUEk6t8EUl+iT93AXws96VvDnIDl2DPP+Jfvw3mC + B/L/c+eOvWn414TyN867AP77T8mOkhtXCcB7D+6t7r99V93/9N4vqhbrpvo0b38wf5v9osl1vldf + 3M/my8Xiara6WD5oJ4sfvB/vUndmLB6/7uxRkDXdebCdzx7SIumnhP3B3v3Z9nQ22d3fpYCB8pbM + r7edA2pqeIeaW86hHon2H6zYZjuTh9MZSRahR2teD2ld/eE0u789vbc7+ZQCrZ3d+/fpLRWX91Fs + NLPMOhAdf/ptMMX936Vm/19ngLs0BhqSfmLH93WYgvp/j7kMZoG+s1PASqxYnVTL8+JiXTPzEESa + if+vEP2kWqzWbW6I/kVGodIyfz3Nyvy1JXXn2+bu3l0iPWbnjJYv6nNiVm15j/zVF8X0bpcm7tuz + l/INqcf/v1Pp3jdBJVL6PzJY3xxTXFHS/OLq4hd9OqUw7KcnV9V6fr6cZ5P7D/bbn363bObt9Q/2 + JpOsaD49v7imb2ZlOzmPMoWOt0cadGfG4ummg2wym5zfo3T4g4c0hOkk36YPaO3y4fTedPbpZHow + k8T4beeAmv5sGqy93Wy2T5h+unOfgtEs3wemlHK4/+n57GG2MzvYO6e3VDUGBov+FlWJjiMGS1kH + atKffqvQuf+7/z9ggLs0BhqSfmLH93WYgvp/j7nUWZFZoO9Cg/X/an3idEK2Wn1+ZYn2/z+mCMf3 + c8QUu4YpCBuaQOaKz+ndq+za2CBjnYhXfpYt9s/CNPSHBcJTMEwCgL+6g6QvaVbO1DCzeft/tbgQ + OuF3/y81v8tiSvaJFn8frGf14sHkp396tVosL97+oKlWy/Xy3fnl1acXk/mD1eynp7/op88fXNWL + srqe/qB5+4P9YuMMh8P3BI3G4gnVvf2D8+lsn1aPzh9QfmNG6aWH9w72tvO9h/nuvQe7e5TpZ6G6 + 7RxQ059F87t/MH2wf2/3IQWIBxTJ7Ez2tx/O7n26Tath+5N7kmGlt1Sm/z9gfn8OGOAujYGGpJ/Y + 8X0dpqD+32Mug1mg7+wUsKbtev08E/9fIfrXi4R2hiKhyXn2cDgSwrdGQZN6/P87lXZ/RCWiw01U + Gsw9gA4/ohJ/uyH3ADrclkrkQPw8cH6uiiXGDotBSP/ssMV6NSNK/P7rq8v9n743u/+LLn/RTy9+ + UC4+XT7ILy5XV6vq3WXx6frT6gc0liYvl/sPftGqWdUP9u6tH7zfgnM4Gs/W7TyY7k8e3n+wPc0y + LNee39ue7O5Ntw/u5+d7Wb6zt3fvHtu6284DNf1ZdIAe3Hv4YErP9iSnrPn+LAfNKSba3X1wMN17 + OHl4b/rNJcyVaNZFYAzuUsP/7zPBXRoFDcp+Zsf4dViDcHiPGQ3mgr6zE/HDdoO+ecLfpJSV2J3v + aSwRtcxtJ/d3dqJq2X7r1DKprv+/0ynmCnFbUOK2dCIT8PPAfF0uttfLRbbMLvLZ9qxo3kLqCf2f + BRb5/afrpq0Wv3+xoM7u/aLl2/3qp7P53k/Xq7er1bK8yhf3y8nq6t1+82Ban/+ie7P1Zb0+f3A5 + uSh/0F7+okmURXTsPTINjcvTWw/uZzu7GZmHvZ0Z2Yh7u9Pth/fPJ9vQZrN87+D++e6M9dZt54aa + /iyatHv7eTab5Lvb51PStfv3p/e3J9PzT7d3ptO9Bw+z2V7+IKO3VG1+oEnrkc8qfsblLr3y/yfG + uEvjoeFFvrXj/jqMQ3i9x3wHM0Xf2Wn6oRq8n9XJIFLip6eWewT/yS+iCrpYTfmDXntWhD8PFDWm + Z1ZkRADxzAjzn43ZB/jfH/0sq6alaPT3z9+1+RJce3Fv3cz3lufn+S+63p98Om3eFcvlL5rlD37w + IC8vL3/RO8LgYuPsh1Ro7qJPdIU+dUielO2Soz67l51vHxzszrb3d/O97exTUn855dzu7+3v5LsP + xK287YxQ059F9fzw3qc7D2aUB/w0n5yTen442z6YUNjx8MFkh/zgTz99sPPNrXj6lLMaitG4S63/ + f8IOd2koNLLwCzvar8MphM17THAwNfSdnZcfrj7GqL/pKbjJsUbf6BJ9dxrFvWt+YZLN8qjytt86 + 75oU29ck1v+3iBXLpPELIMf/D4ml0jw0aurscnGDiXcN2Xb+PLDtlwtecSKEv6lpPr8GFfc2TlGI + OLGuxcLTrQ+mB7Rmfn5/O5tSv/v5zsH2w529bHs2zQivnYPpzs6nrFtvSztq+rNohSf37h88fLhL + ZDogTPd3s30yBQ8ebH/6cDqbnO/dO38426W3VLV/oBUmgllzxL3fpUY/dxN3l3onZPhvi9fXmUrq + +z1mIKAdfWcJ97NvJm9DLCIDfnqKiMhzgwaiFizaP1I9X3tS4gk9xbQ3KIeFx6/nOzRd+f2H2zl1 + R53vP9ieHDyk1Mf5dPfT+/em+3m+x/x6W9pR059F1bN3cJ5P79/f3d7ZI8na37+3sz25d5Bv38se + fPpwb7q/f/Bgj95Scfl/rer5WhN3l3onZPhvi9fXmUrq+z1mIKAdfWcJ98NSPZuJRWTAzx+pHhpF + RPVIommb/EHiIEL7m5qaYnHx+7eLVfn7N8XF2+v758vlRXY/u3d++YP1p6tqf17NVp++nef776ZF + /W4+/0X5KvtBVZfzq4t8evWL9i+v71/8ovrq01lzUW2c3pAE5Fp3xuPx/84k26ElSTK9+w8pOZCT + R0ILkwfbkwfT+9l08mDv051d5v/bzgU1/VlUZbOdB/vZdH9ve7K/u7u9v/Nwsk3pjf3thw/JYfh0 + ejDLDiBgKn4fqMos2aziYBzuUtP/PzDCXRoHDcv71I7z6zAI4fEe8xrMCH1np+NnX0H+sIhPpMRP + T8laQt+gam07Vmg/DxTuTxdZQ/iURMrLSwJ8b/9TQv6bmnCBvk3gtwn+xjkLx2JepTfpRYeYLx7n + 2d50d/Jge7qbkdfwaUaScX+X/pzu5fmne5/uHczOWTxuS1pqGtOfhPR7SJclgGjN6YNP90Gg7Qe7 + e5SGzB6cbz/8dDbdvv/g0/vTnYc7E1qho7dUJjdqzQd7491PjaAO6M1Zfp6tS+gR7v0uNfl/1Qze + JYTot+auQ/TrzChh8R5TEhCTvgspSaTqKAMm6M8B/Ygw+OlpLX15PVkv2/Xu/V1SUyGq9IHorZ83 + DuLbrKjX21e8GEBYf1PTxGA3zk6Iu77hEPHY+B5FMNnD2c727NNsSjK/8ykt+OxPtyc7u5/u7u58 + mu/fk6Xg29KQmsYUE/VItPtgx26a7e89zGh95OGnDykFdO/TXTh2s+0839ndO8h28/3pbVUUiRT+ + 2+DYGapZf4dRuEstf04n8C4hQPi4Dy1+X2deCYv3mI6AkPSdpeLPvnLi0W4kGhEBPz2dxO8QhW5w + pEwzlvufB3opo2lstmHmCOdvan6ui2ZeIKewcY5C7Ju7ASoe/+bT7N6nn977lKKInT1ajZ6Reb2X + 3aP8y8PJvZ29fJeyMcy/t6UhNf1Z1EsHlCJ7cHB+QIroUxK33d1zinxm5ETR0u1Btnfv3r1pRm/R + YOnF99JLs/l09aVMC96YLRtwFhGXGuN7mjgiHv6y0+v8FcbtLjX5OZ7bu4QC/RhwpW4919T5e0wR + 9U7DUOLSd5ayrKsIHWD5Op+u66K95oEC6g+XZDEsDOGWDVZOaTbfVx89LRqoAdBA2/6/XSGBTuAT + wviHS/8Qd1njVUQ8Bn0wmexM7pHXsffg3s72Pvke2w/3M8qMT+/vTqbTe3uUHWYGvRX9qB9qukEZ + 0axVs/W0pa+yH6zrnPxx+nKarRvQKltT0C+vEnPQ5NJne5Sy394l/O692XnwaO/Bo/v3fwrzSYDe + Q2AsBUWnUfL/wacH+/n2/eneZHt/skde1wNamfz0/qeTnU+znXu7pMSsmP080Wl4AQxylxCgHwMa + 7dYMQ12/xwQFpKXvLF1Zo72/ojCSb5v+v11PXDegPeH7c8sEFg1vyif7n+483D/Ptu/t0Gzv7+yi + 9/Pp9sHOdOf83qfZ+WT3IU/5bWlHTTfoCJoEwvg9eMcOXIR75x6Z1YNzLPZN7m/v700nlCunRMaD + aZbdu3f/Af1vl95SjvtZFu7rRj6kDhm5u/Tnz+HE3qXu6Qf+lN8Ir68z09Tze0xQQFr6ztL154tw + /2BevaOXCOFvigkU4vZ784G+SKh48/7p7P7k03sP8u38fkae/d5ktn1wb4cc/Xv076f7Dx/e273H + 835bAlLTn0UJ36MVsOzh7sPtSbZLy/n36LeHRCwi3XSS7356QBHyDr2lbPezLOFK0G35irplFO/S + nz/HU3yXUCCM7N8Ow68z84TAe0xYQGr6ztKZJZ6wAKZBaACoP3TKxRAJX99+8fpzaA76ps3fQNh/ + ThCl5tp9+NL2K3yxzd8AzW4eiBn1h46tktXLVumrlJYK8aMPJE/18yZxfrnYJp+6zppmhownIf5N + TQ/FUjw1Fv67+f6n9+ZXl7P2B4tFvdgrqurefj2/rq5m68n1/nw9vWh+UT652P/p5fnkB4vsav+q + WV/84HpabpzdkAjN3f6IPP1CgdaU/p9t388e5uRR3NunZXTK2M529+7vHDz89PzTTzPWL7edD2rq + WZY8+2Yty+69/YeU0Nrfnu5ku4TuAdmYKWVu7n26T3HNHiWeZ1N6S9Xb+1gWml9mIwhknxVsnpux + uEuN///BDHdpJDSw4HM71q/DJoTLe8xuMC/0nZ0UNkNdZcRz8/+VCTipFitS/WYCvsim82KZv55m + Zf66Q/BOm+bubkRDXy6o+YOHD7LocoL99uylfEMq9P+XtNrrNNpArHx2bzpMLHz7849Y974JYpEx + /XngCPzE2fELwvabYotfVGTLq5xejs2p4tkbkuLgKeLJLD+4d37+6fb9exmSJzuIB6a0+DPd2aEw + gVKlE8kA3JZs1DRmrwnL99DjdqxipQ8OPp0+2L//YDt/eO+cFqIO9rYnuw+m29lsb3f/00/P9/by + e/SWav8brPQDNgjDVtplQbnvu9Tk52qq7lLfQC+emb311FG370H7gGr0nSXZz74NxZi/e/ri9UZC + EUHw01M41Hq2/XCSn396jzogh+4B/ZNTTHs+I+LcpxTX7N793f29fHtarht6bXtZTLd3+7qJNMki + q69JS/x/dEw7/z8c097/D8cUnaf3BUSGmVbKdrYf0I+9nf/vEiMqiO8LiIhBI1Ri7P1/lxhRbn9f + QESMPUsMyrT8f5UY3zhn7B58o8S4lWHvE0Nf216eN/f2P+2P0cuRfYPI/mzMXJTgPyszt3fv/7vE + +Ma1/e6D/+8S4xtXcLsPv1FiqHAyVu9BDH1t+6pYzqqrZm/voD/Onx251p6/LsL1bPVgPzIp/69E + tq1p/q93H24mLsXkjSQCTPpAwhTuc0Pkoy/Rpw6n121VZxc5fWuiWsByca0udX4fnb5/EuNp0SB3 + gM617f/bsxg6E7P8knD+oXJFiLx9STDxwuLz8938Yf5wsp1N8v3t/QeUzc8OZve2P/304GBnN9v5 + NN+bcVh8WxJSUzP31NzOPOH6HlG1HbFkNB7S4sKnB9P72w+ms73t/Wn2KRTgve1JTuru/JzC/f2H + 9JbG4jdkNPY5PP9/fUZDX6IJu0sYAMl4XuPWE0idv8cMBLSj7yzhOK+hsm9ElSAS/W4CqS/Rp270 + P7sKw2gA2/T/7fpCQRBIgOAPvzk2rC9W19sX9y6LalFdT9bZ+eLq3n55f/3uXVkvp5/O937R1ape + lVef/nT+01n208u3v2j+09UP9i9++vqnz39wefmDal1Mri4ne/Pzi+X524vJe7Gz/h2OzGPj3fMH + n04O9mbb5/dpLPv7051tyl7ubt/PaYD5g+mDe/u7zMa3nRpqaliKmluGIpzfQwosBVUPHUwe3N/f + Pdi+v0eJxP39gwfbD6fT3e18lu3uHezf36OEIr2lsnODHuL/Nugh+Yj/+P8tD9ylEdGfRo7wEQ32 + 67AF4fEe8xrMCH1np4O1288DRVMvFAgBBRD++Btms7ZeXX769u2DydvrB7PrvU+zBxfzqr1e5pf7 + +3vrn17sre7vFfMH1+0PfvoHy7q4V/yg+mlarrtcLif37336i/Y/Xf6ixfze2zYrVu/FZgNj87hq + bz9/8HCyf28725vQWsC9e9n2w/N8sn2+R6Z0b2//wf5U1gJuOz3U9BtXNvuf7u/uPth5sP3pwweE + ZL53b/vh7NP72zs7O/lsZ7qbf/ogo7eUlW9QNnvM3T1lQwwTjuRrMdMlQdslVBjtuwT9A7nn+nq6 + LTR8r3k3aHgTfX/n/v3z7N6n23vZTk69f5pRmLyzv51P7u3Qx7uTaX7/m5ho6pFI9ouJtoTw15/y + 2cPz84MH9w+29/I9si+T7N72wS5pu3v3p/fzg4PzezuzT+ktneIbppz/M1M+m09XX8qU4I3ZsoF2 + IrpSY3xPk0bUw192VuUjEJRxu0t//xzO613qnn4aRQi0vs48U7/vMT0BYek7S1U2E92gmon3Q6YV + kQI/veCfskYU3YeY0Qc23Cex/X83jrQcQarn54ENzoi9mm1w9/YO+PmbmpYfrOcb5yNEvbnbxcOT + q4d7n07y3U/Pt6f3Ka7cP/h0Zzvbn5CY7d/f3Z3u3Jt8un/AcnVbGlLTmP4kdN9DLO14RWs+3Js+ + mOxMyHzP9pAL/fTh9sP7D/a34ZFnn3766ex+tkNv0SjpxZu05h79x/I9oBWFWPKFkItxuEuf/FxO + 213qn34zn8pf9Dnh93Wmk/B4j/mgLmksSkn6zifj6CNCBAi/zqfrumivebSA+sOiW6x/Q6dlcwEN + 0NVFPOE/ZPw89Si47c92yHDRfN3b39ufTg6ye/nBw0/3dqbn9/L96d59rA+Q0gwxv3v2nW9/+uL4 + Jw4efv7pzosvH5ytpucY4s/9cD6dPbw323t4cG8vOyDHdnpwb3d6nj3IzqfZzr17WR4fzpPd3YOf + +skvv3z2k88+f3Z2X4dDOvbngX3QDOB8NZ0S0t/U/CnUzSY7xN6+pKh4GuXT6UGWZZ/Otu/N7k0J + g+l0++HevYfbB/nBdLJ/vr/34NMpa5TbEpGaegZiWdXtPF9DG9EX1C1R8IO97L2d3Yf3Ps0phzy9 + T142Kb7th7v5jPTh9F7+cHd279N7tw+sdnfZIVQ3m6aHOQD6Q2fRJW2587vU5Od4Bu8SCsAynk++ + 9YxS7+8xBwH16DtHOjYS/68Q5w7JlEzflDg37cVJWbyhhPZP8iffHENMy6IlsNV0tf92cXXe3Mve + TRbZ5NOfvje5vvdpmZcP7v30gx+s8v3z7Af7V/nbvNhf7V3UxYO3NCc/3WSr/Kcf5LPre+cX2Xvx + VNN2R+TxUZ7t5vdn55Sv2JtSSLZ/QCHZ7oN8e7Zzf7o7+3TyKYVszEdfTzNgYeCbVgw7D8k0kVna + plwV0f6csJ3s3aN184cH2f6DPNuhxRR6S1n5BsXA/xm98HXCb0vc1/wldcxI3qW2///gl7s0EhqY + /7kd6tdhJELlPeY+mDX6zk4Z6yPCAjgHTiOg/n9tCmLj8An+Qhxg+rjN30CN/X9xkNSbYu8P7ZX9 + FCNUQsAtXbbOzyN5+//aaKMjubsofn8157//bdTY77+7sy3/EbvDwJnBvMguC/Gr4R4LhSCsRKOf + FHE+KdekeuvJpw+n9yY7DxFwU9R9MNnfnhxQyu1g7/5scnAwuf/wHGL2/zXqfl2dddfg2yHg3a9F + ta+j/m5rR++aIQxgTKCIQO+hSUt6K5+9Umhvumi8/kWlQUGJgC7wEjW7S8j8v5wzIvh/jUn9PbJV + sQ2LT+P8jCIQmk/63+72qs4vi/zqo18CIQy9YCt4yF79vJEjjwZ3MfCvIwqE2Hvwb0OuGHIAhBZ9 + 44aCiV9ky+win50tmzZbUjKDmmfs4BPk73ltdZz9YfOgmrs/TTmJu/Imgbj9e8Qeq6zu5ie+DqT1 + cjMsuKHvrUK8yWIropmV/x8lYS4Xuz/54vQNIfxNSeD59eWC5pV48pai41DwZOHB+f3dnd39GVn1 + vfPt/fskC6RyHmxPZrScfe/hwezB7Jxl4baEo6ZeeIXMfNYUyINQn0SyDw6usoOdg8l0mm2f780O + iFS7B9vZwcPd7U8/Pb93/uDh+c79B3v0lrrl7xNc0ZTwjHsak0gm6oQgcu93qdHP0bzdpa4JE/7b + IvV1ZpL6fg/yB4Sj7yzVyOEjonQSrUy8HxqliAb4CRdWc8REm5/84kUsA2yWBakFy/TMUzksyKpI + /n+kc36SXt5uzuvVNlnr7b3792fLt/Wk/rTIl9WahvFNzdPrZye//6fnDz7NDnZn23s794j7HpBj + 8vDB/nT7fDqbPjjfO5/ef3h/41yG4yXXiH7bhLzH+fsH55Pz2STb3p/m5DztzMhl+vR8bzvfpzxs + tre7S+zPnH/biaCmP6s6bMLofvrp9u75fXJA4OhlefaAUqUP7mcUWe3uTB7QWyp6H6jDXj/bflHN + qPn/lyf8LiGNgVHXdjRfhwMIofeYtoDg9J2l9h5MDOEDzIOcCKD+v4rKMSQBevvF68+hm7p6kjnn + /xUjOKkWK8q8GD75IpvOi2X+epqV+WtwwmrZdr4jJM14PZNA7bZfnJ2QAQhHyl+cvSQi/H94wLs/ + 3wa89/NtwPd+vg14/+sMmJyinwcOnS6+NtuXBJXQ/qbm2MCNzqEi3Bubeckg45njPL93sJft3d8m + J4fWfu/fP99+mME6n2fnDx4czD79dF8SLLclJDX1HDLCnVbznVdGWL+HUbdjF18su/dwf0Lpte17 + 9w+Itw/u721nOw93tj8llyG/N508mE7wlroCN/hie+N78A72h3wxTa0TPO77LjX5OZ+6u4QE/UAS + xiD3daaS+n+PSQjIR9/5tCPidMScSfhDpRgRBD89FaSvba8n62W73n9wr6+MTIhJASbJ7M8evu+F + bz1b0aLNASH3/wFsp7QUVTX37z0k7P4/gO624HtAYkH4/X8BYeKGew/ufUrIDWNL9ujngS2F6sMK + BmH8Tc3Nebb8RcV6G1A3Tk+IPSWtHCqe5t3LHj48xwLF/f2Dve39nNIF2d7e7vZBtkNqd2fv4f3Z + Dmve21KQmnpGFKxbZ7TwRB8Tsu+hu+2oxYDufPpwf3d/MqVE48N75Bxmu+Qcfppv7+X3d+8/OMj2 + pu+RkN3l8Ho4meFsFPd9l5r8HE/aXUKBfh0wn7eeROr6PaYgIB59Zyn3s28+b0svogl+ejqomZ3L + /8bLYjreP7h3fm+2u7d9b5JRHv/BwcPth3uz2faElgUfTvcpaT2bkFYKR+Jg/P5GYf3+O6RFfvjD + 62s5D7nb4k3a6mdb0z4tGmlO8nRbRXGXyEjTR6qWCKuC9zl1dJVd24WHHza9uyj2xK+L4M+REFof + 9md7Yk3rD5xX0HCXuvx/3XziDyD2czSPpE5lHnVV30wbQcRkvv/sWkG0bX9Y0wvr+//K6QViP0fT + u/e+07uuV1UD0C9l8twL9GX4kQ7am8yfu7m/R13+v3LugdjP0dzv/zyZewzx/5VzD8R+jub+/vvO + vUyZaabjisyXbbpxdi0zfK3pJXzC775W4HueLy8IHmH8jTEHQeRF2/rivZgD7wkmHjdkkwfn03vT + 2fb96exTSjgiLtjP7m3v3N/NJ3vT8yy7/4C54bb0o6YDYS91SqT74NX83V1Kkk4/3dneyfeIf4Fs + 9nD30+3Z/fv37n26P9ndeZjTW8qPNwTA/J8JgGfz6epLmRi8MVs24CwiLjXG9zR1RD/8ZWfXRaGM + 211q8nM7u3cJA/oxEB/ferap5/eYoYC29J0lLMv+z7aUm9Y0Q7dlUkOlb1LIoWqhfwnr/zfwgoeO + xwCz+/mD8/sP97bPP31wf3t/7yEp/4cP7m3ffzi5f29vup9NHp4zA9yWktT0Z1fc7z/89GBnch/c + +pASF58S7gfn9CflMe4dzO7N9ma7YDJlwZ9X4m6m+C6hQT8GZP7WU07dv8c0BQSm7yx1/98v805u + 16sZ9URfULf/r5xRH8GfozndFJrfDFJfok8dBY5/sK7zY9Kll/nToialWtXX1NToEQD+6FskosQ2 + /6/mI0In/O5r2Y6fLrcvF9tNM+flYcL7m2JEC/i92NC+ZdDx2C7bJw9r995k++H5hLCY0trDZG9v + sv3p/XsHO9l0du/TvV1mu9vSkpqaWafmvvUglN+Dce3IxWacT2ZZ9vB8tv3w4f6EqDV9sP1wck54 + Ts4fTrLp9NPdgx16S9n9BptBuQuRgB+aTbBT8AETd5fQoB8DNuHWE0kIvMc0BASk73zqEXk6WXom + 4i1o9g3SjCiCn94qCb9378FOfw3BrBzssqD/PFBEP5hX7+glzjoQ1t/UzPhgN05OOITwRcLHY9+H + O5ODnft797b3JgdYA53k2w9ne/e392Y7s2z3YTa9v/uQ2fe2pKSmA3qIOiUqfrAXu/fw3nme7+Xb + 97L9fRK4/NPtg71str23N937NN85yB7cQ4pOBegGjbRLqx4kVOrG0gwxF0CadCadzHPnd6nJ/xsm + 8S7hAVTjOunWk0rdv8dEBCSk7xz9WCn9v1qu/78hm3cJD+AbfEhI/lzN7SaHlSb4/9UzTuiE330t + TQ5LSE51dpFvN28ljfyTL07f0AC+KcZBfAOw1M+saWZvy/IHq6z5Qd5MH7zdX3360w/evrvXvl38 + 4AfTJSXz671ium5/OivbH1xMi7a6ror9T5tsfnVZTRfvxXfDI/O47UG2O93Zn+5vT/Z3dinDfX5/ + Ozuf3d8+z853p/fv7+zkmXg3t50fauqZhzxr2nWD1TTqkibmg41D/jC793A62dv+9Dx7SHmOew+3 + D+7ff7Cdzc4n03v5bOfTB+hNuf0G48D/bbANEQraRXzG5i699P8v7rhLI6IBRr+3Y/86/EO4vces + B/NF39nJYmXV9T95zv6/NiFESvz0/OsIyX/yixfFlNzrcLz0wZQ/iLzBevHngd5urorzFr/v1/Pr + +V71i86zn16c5+c0gm+KE7iLq3ySrVbtTy/W92bLajl/u1xunNZwaAokjqcnRvc/3c/v7+cPtmm1 + hsTowc697YPZebZ9fn82OZ89PNjdOxAxui25qamnhn86W2XLK3AHQfiGFPG9vf1Pd873tkn+H2zv + U0i8Pdm59+n2w3v37h3s70ymhDG9pYL8Por4a+SamcjyeTG/fPfgXXavvPrBYk4IMLJ36bv/NzPD + XcKPcNcG8kd3IF+HWwi395jhYG7oOzsxrHRDnWJJ7z6mNv//IDbFXGZMiL/M7zS+n/05UD/8BaFN + 37hBfjef3MV3ef0sqxcQ74w1IwH9ntdMB9+nBY+yuSsvsZjdVpPYdx0lRImrofj/kU2B6UdCcLvM + z+vtHTiS3xRHE+jfnyATQ58XZd78/jDVv3+zzFbNvGp//0v68YOymjyYfnqvWF+Uyzy7qN799Lts + //7sFy0/zauLcn5+70FV3Z8umvcSAuq3OyTCwjDxLJvc2833z7fvT2akxB+e728/zIidH84+3Xtw + 8HBKI91nJr7tjFBTz+zA4nyj3v9sZ+/+Hnz+ycMZLXDufUp+5/mDbHt2Pn348GBnb7q7f5/eUkV2 + g9G5z7rt6xsdkFY+9ojLaN6lj/9/wi93aSj0p3whv5uvaLSE4HuzEmHzHgwQTB19Z+dtDzap6xjz + 9Px/bQqoD/z0AoFsec6rov5EbC+L6faXLz998vm3yf0Ph00fSDywy5rQV9QgiPIrlnH+v0abD2BP + 317dxdgJ3Z9lZoWBhm0TegejIUrdvazK9YIgEVezBSKYMdtNY8BPMqmGH75Fr/TbdWkjw6dlGrLG + 36yhX9cU6QLGt6umzWffpdZllc0wErXs/z9yAn66yBpiJjDULL9kbiPkvynBCaG/F++HrxrEiLUs + V+9nOw92dmilEn7p/r37k+0DSo5t784enn96TinlXF3S25KWmkatOWH9HlJhKSA2/CD7dPLpp/fu + bZ9PCLf9g3yXMkb3P92eHDy4/yCfzYhqt7fheyaDDUan2SGa4Cs7mW71hPu+S03+XzWBdwkh+gGZ + M4h+nQklLN5jQgJS0nc+HYlQHePC5Pw5oB6RBT89s/jT5VWxPNj/lMxdiCJ9MGz/6APVPP8/UlLZ + 24b5Z3t/jzLeDw4eEOrf1Bx9cfL70/zAouf78+t31eXyco1PqE98+GDx6S/af/D7qzboTOFmIhCE + HtYeu9//dO9eNrk/297PJvTPPjk9B1k22b63N9nd2Z89+DT/dMbsfluqU9NvXn/RMsN0L5/d257c + 36MViNnDyXb26cNPaUHiYLI/zR7u7j1838TXwZD6AsHkY4LIvd+lP/+/M793CVv6W76R32kgX2fK + CY33mLKA2PQdUXpvnyhNtKZ4b/QR4QGMX+fTdV2010wYwP1/H4ljmAo5s4t82a6qqtw21N5eNhdQ + Sl31yBz1/56hnVSL1brNDfd8kU3nxTJ/Pc3K/LXhlWU1yzE2yqyZwV0uGloiCd6hERgCeWZi0/td + 0tAH1nKQdv0RkfD+IJH2fkQk+/4gke79iEj2/UEi7f+ISPb9QSLd/xGR7PuDRPr0R0Sy7w8S6cGP + iGTfHyTSwY+IZN8fJNLDHxHJvj9IpN2dH1HJvj9MpR/53O79YSr9yOl27w9T6Udet3t/mEo/crvd + +8NU+pHf7d4fptKPHG/3/jCVfuR5u/eHqfQj19u9P0ylH/ne7v1BKu39yPd27w9T6Ue+t3t/mEo/ + 8r3d+8NU+pHv7d4fptI34nv/v51KH0ylH/ne7v1hKv3I93bvD1PpR763e3+YSj/yvd37w1T6ke/t + 3h+k0r0f+d7u/WEq/X/Q916uroplpwGhGyeJNB4c/8/z4f9/MKaQEYUNCN2vNfz/DwYLMqKwAaH7 + tYb//8EoQEYUNiB0v9bw/z/o3suIwgaE7tca/v8H/XYZUdiA0P1aw///oEMuIwobELpfa/j/H/S0 + ZURhA0L3aw3//4MutIwobEDofq3h7/5/0DmWIYUNCN2vN/6f537f7s9zx2/357nnt/vz3PXb/Xnu + ++3+PHf+dn+ee3+7P8/dv92f5/7f3s9z/2/v57n/t/fz3P/b+3nu/+39fPD/No3/57n/t/fz3P/7 + /+JyvAwpbEDofr3x/zz3//6/uIQuQwobELpfa/z/X1wclyGFDQjdrzd+8v++P/polpf5hXz10aPv + 0QerurjM2vx0OVtVxbJ9IaBfVmUxLXJq89HpMpuU+ewj2/R5sXz7Oq8vi2k+3PqXjD5qr1c5feJG + rK3NgPTP5i7NBo2oYfzC717meV0sLwgwUM0Z9tNZ1bysqzafYhQfPTrPyib/JZjbZbZAh0SL7UsC + uL17/9N79/Zo4KOfhWn/RdVVM5tdzfcW+IT6xIfzWdlMs43TriPrEYEg9LDO2+yC8P7u3d/3o2x2 + by97MJltP9y9P9vevzfd2c4+3dnZ3ssnk/OHk/MH+b3Z7/sRvXNbqlPTspoyJ1BzxZg+JJxXed3y + bP5i/HVZNNSGZuF1S5NPbV+vp9M8n9Ekjz6y5FkzhSfn0/292XSyfe/h5NPt/fv397Yf7u8/3D6/ + l9/fvze5tzt7cI/eymYzerF5vSLeRS/698s6Py/eoePvfbS7M+b/7h589H3iJZo5og2+CaZZPiaI + 3Ptd+vP/O/N7l7Clv+Ub+Z0G8nWmnNB4jykLiE3fEaX39onSRGvKkY0+IjyA8et8uq6L9poJA7j/ + 7yNxDFMhZ3aRL9tVVZWW2tvL5gJKqasfmaP+3zO0WxiF7WU1yzE2Qs0M7nLRNJ13aASGQKGdGHy/ + Sxr6QEwHWQ7Srj8iEt4fJNLPVnrh/1dE+tnKQfz/ikg/W4mK/18R6Wcrm/H/KyL9bKU8/n9FpJ+t + vMj/r4j0s5U8+f8VkX62Miz/vyLS7s9WHub/X1T6kc/t3h+m0o+cbvf+MJV+5HW794ep9CO3270/ + TKUf+d3u/WEq/cjxdu8PU+n/fZ73/xup9D6u989fXvqR7+3eH6TS3o98b/f+MJV+5Hu794ep9CPf + 270/TKUf+d7u/WEq/cj3du8PU+lHvrd7f5hKP/K93fvDVPqR7+3eH6bSj3xv9/4wlX7ke7v3B6l0 + 70e+t3t/mEr/H/S9l6urYtlp0NzdjZNEGg+O/+f58P8/GFPIiMIGX3f4/x8MFmREYYOvO/z/D0YB + MqKwwdcd/v8H3XsZUdjg6w7//4N+u4wobPB1h///QYdcRhQ2+LrD//+gpy0jCht83eH/f9CFlhGF + Db7u8Hf/P+gcy5DCBl97/D/P/b7dn+eO3+7Pc89v9+e567f789z32/157vztfkPe3/9nx//z3P3b + /Xnu/+39PPf/9n6e+397P8/9v72f5/7f3s9z/+//i0v7MqSwwdce/89z/+//i8vxMqSwwdce/89z + /+//i0voMqSwwdcd//8XF8dlSGGDrz1+8v++P/polpf5hXz10aPv0QerurjM2vx0OVtVxbJ9IaBf + VmUxLXJq89HpMpuU+ewj2/R5sXz7Oq8vi2k+3PqXjD5qr1c5feJGrK3NgPTP5i7NBo2oYfzC717m + eV0sLwgwUM0Z9tNZ1bysqzafYhQfPTrPyib/JZjbZbZAh83s7fYlASSMv6nZBsgrmsjt+mIb0xud + UMW5Pzx6WfHJ2+yCMPru3d/3o8negwfn+9Tvp3vnn27v7+6eb09283vbBzvTbHcvu59nD6e/70f0 + zm3JSE3LaspTS82V8+hDQnWV1y1Pzy/GX5dFQ22IrK9bmk1q+3o9neb5jGZt9JEd+Jpp9+DTew+y + h5/e236we/5wez/LZ9sPd+5Ptg+mO+f4a//+5CG9lc1m9GLzekXMiF7075d1fl68Q8ff+2h3Z/zp + eGe8c5cSMd8n7qBJIZrgKztxs/w8W5egE/d9l5r8v2He7hIe9KO56/D7OvNIXb/HPAQUpO8s+ciP + Jfp0pJyp+HNCNCIMfvqqaHm+DRAg3faymG7/5PMn91/9FCmiEGf6QDSTKKZGNIrRQxgSfRqqK8sp + 93f3p59OPr032Zud7z+4/2CS7e8fTGYH5/v7s92d7D5I9HNBjduyEP2047p7i8H87PObkv+F0DcY + WbZa3b2syvWCIBFjstolmN8LW2HAhhto/gw3fIte6bfr0UnJ89M09XelB1YSt9V9FoBHV+aq1bpe + VQ1gfLsiwzz7LrUuq2yGkag5MxynsCK2zDb9f7vlu1zs/uSL0zeE8DfF/efX783zDgliHcO12YPJ + NMtme9sPssne9v59YtjJXvaA+Pfg03vEgp/uTw+Ya29LOmrqWbtpvmzrrFw3+Tpb0VfUMVHuF9NU + EObvIQV29GL9dma72c698/Pt3b18d3v/PMu3M8J1e7Z/797efrbzIJ99Sm+prr7B+vF/G6wf0e01 + f0oQufe71OjnbPruUueEC/9t0fo6E0p9v8cEBKSj7yzdfvbN3i1oRVTAT8/YEXV+8osXxZSMWYga + fSDWjVqwePuaiWVadcr/j9TPTxKwCcVAoOP2Hv1S59OqnhGc7Rb2Ja8XFwvw0Tc1ZdQF+hrXF/Rb + tLOGNENWb5zUcODN3VuPwpOGyezeNDs4mG6f59l9cpPv7W4/JOO9/fD83n72YPZgunv/HkvDbaeG + mnrqLc/YmVflRoN5D4myJBOV9oB8jPN75MtPsof7JLcPZtsH+YP72yTA9+7N7p/v7D+ApKkcfqBK + E8VxK2IycncJxv93WeIuYU8Nm7vvMeyvw0OE+XvMfzBz9J2dNtaoQIbUiVFCBJFm7yaQ+hJ96kj3 + uq3q7CKnbw3fAlaHc4nynpn+PtROqBYt5zjAT5+cV/UX169/4vnd8zJ/V5Aigg6kiSOA/y/kmp91 + rvF9XI93N9LpG2QzwmYDT/Tih41oiaePiffeUPr1hNDQ6ZuPEcS6GhnQ9hHTapv+f8oQ088oH2EC + /r8jP/QzDpdG4XH3g+lssvfpwcH2wfnuhMxbtkepqtmn25/SZ7OHe3ufTmZ7rERvOzXU1Cg0ah6q + MxrMeyhiSzIxxPu7n97fn+6db8/uP7i3vZ8f7G8f3J8cbO/s7D68fy+/d3/yANk7Vd/frCGmn4PE + ZOTuEoz/77LEXcKeGvZUKv2Mv0DD/jo8RJi/x/wHM0ff2Wn7kSH+/ybX+IbEw2IjnX722QwIEk/8 + yBDb1l8DNUYn/O5rGWLiHfAQUsC7hPU3LyXlp29/8NOLvL4u8ut7v+gXfVrfa/fOVxeT1cX8F81/ + +t1PN/fvza9/UP50e3/e3r93sfx09oPZfLb+RT9o54v7F/enb99LkLRfMxyPmXcyWig6mN3bfjg7 + 4ExZtv3w/oRS09k025ne2z3Y27vPzHzbmaCmRn9R81B7EcrvIRCWdmJ3Jw92792b3DvYfvjpHgXA + 5w8PtrODnYfb9/bu55MHD3f3sz2MTbX1N2J36UPi0bzeo1R0e0FgCD7jcpde+f8BK9ylYdBPoznp + t95wvw6rEDrvMc3BBNF3dnZ883rcNNW0YK6C6iDAN87VNv6mV7cz9+52SS8T1J9Pk3gXfxMduiQc + ar+Jbl+HG26rOOw4tP8uvgSKSPQejAWc89krnbE3XTTYrr6UQceNq9iK2bOqPq4XT/NVWV0vyP+i + ztleEOuWZXX1lIwh+tbPjPKjVt/7/i+BOdLxGOuIL25GXl+iTx3GP7se4kZS/LwSGI9eHuibifR1 + pIMG8R4sDUyJK+I+4kbcxN2jTn7kKDJqjE743Yc6ivcI629eTi6bup4WexeXe/dWWfPpg3oyfff2 + F927Ku4typ++f1XNf9Hk02m2mvzgB+tPF8uy+OmL9vJtfT37RS0t+++/a+dfV04wHJ+jH+7uTe/t + n28/3H346fb+wYOd7YO96afb9/IHB/nu/em98/ufMkffdiaoqVFj1DxUYoTye0iFpZ04ioTJbO/e + 5MH2/d2cVjgfTB/SSgm5jLPpg8new0+nD2b7B/SW+h3fqKO4b3QIwWdc7tIr/z9ghbs0DPrZVZn+ + cL8OqxA67zHNwQTRd3Z2vp6jaJHf5PD8fJrEIcdrqP0mun0dbrit4rDj0P67+BIoItF7MBZw/pGj + SAj45hp9q9w4wDeT4ueVwHj08kDfTKSvIx00iPdgaWBKXPEjRzFs/TVQY3TC7z7UUXxAWH/zcnK9 + Kt9O3hX7n96bz67a5UX2g/XkF5XT9vqnV2+JtO/W91ftg0/zX/Tp3mpaXS2mn/70/U/z/Kevm3n2 + 9t51NTn/unKC4fgcvTfZe3Dw6YPtPWLt7f29/RmNYna+nR+cP5zu7p1P7k8l9LntTFBTo8aoeajE + qFuahl9M80rIv4d8WCqqy3jvPJtlew+2H2QHM3IZZ1OSwgf59qcHeb6/s/PpZHJwn95SD2Sjy/hg + Dz4JeSW74jPO5tPVlzLBeGW2bMClRGRqje+JBYiG+KvLKvINqMs43qW/P4RZ/l/CLBgG/bQfyp8Y + 5dfhIcLiPWY9mC/6btdOlu9CGqVDIGlOboKpL9Gnjg4/u/Z3aC3o5wGX+HbCg7iRLD/7bKUsEDe2 + Q2iJtST4P7KzjBqjE373Hnb2+7/k/wEMV6S73+QBAA== headers: cache-control: no-cache content-encoding: gzip + content-length: '16219' content-type: application/json; charset=utf-8 - date: Tue, 09 Mar 2021 05:06:12 GMT + date: Fri, 14 May 2021 04:33:48 GMT expires: '-1' pragma: no-cache - server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000; includeSubDomains - transfer-encoding: chunked vary: Accept-Encoding x-content-type-options: nosniff - x-ms-arm-service-request-id: 528e1602-c21e-431c-8686-a80a05353ab3 + x-ms-original-request-ids: 2154994d-99a4-4f57-9199-6bdd2ad1dd6e status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/providers/Microsoft.Network/virtualNetworks?api-version=2020-11-01 + url: https://management.azure.com/subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590/providers/Microsoft.Network/virtualNetworks?api-version=2021-02-01 - request: body: '{"tags": {"tag1": "value1", "tag2": "value2"}}' headers: @@ -515,34 +784,32 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"virtualnetworkname\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname\"\ - ,\r\n \"etag\": \"W/\\\"651f1c80-b9f0-44ee-b40f-6bc1d4f36777\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\"\ - ,\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\"\ - \r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"resourceGuid\": \"29d3a208-ac75-4652-bcc5-c1256fa85a64\",\r\n \ - \ \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\ - \r\n ]\r\n },\r\n \"subnets\": [\r\n {\r\n \"name\"\ - : \"subnetname\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/subnetname\"\ - ,\r\n \"etag\": \"W/\\\"651f1c80-b9f0-44ee-b40f-6bc1d4f36777\\\"\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\"\ - : [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n \ - \ \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\ - \n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n \ - \ }\r\n ],\r\n \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\"\ - : false\r\n }\r\n}" + string: !!binary | + H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl + VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xb5yk + 6UfLbJF/9Cj96LKo23VWLvP2qqrf8qcjblDM8PXdZj1ppnWxaotq2dzdmeyef7r/YHd7d3K+s70/ + m2XbWT69tz2dPNx7sHe+8/D+w527dd5U63qaf15X61Vzt75YXW9f3LssqkV1PVln54ure/vl/fW7 + d2W9nH463/tFV6t6VV59+tP5T2fZTy/f/qL5T1c/2L/46eufPv/B5eUPqnUxubqc7M3PL5bnby8m + d1d1dVnM8rq5+0UxraumOm/HLwT/uzoc/bMxf/eHl7fZBQb43bu/70fnn+7m2fm9+9vT/XxCo9rf + 2T7Ynxxs72Xns/3z84cP7u0d/L4f6Yvt9YoJd2Pf2r6sphmIh3fyrGnX5gtCoKEPeTrkz13686PL + rFznu9JGPt6zH+99hE9/CX/3EZFhlddtkftQ6MPLoqHuiuXF6zZrGdXX6+k0z2f5zEK1U7SWaX54 + MHlwf3/3YPv+3vmn2/v7Bw+2H06nu9v5LNvdO9i/v3dvemBfzmYzer95vcqmAK9duy9e1vl58Y7R + +p75jr7d3Rnzf3d3P+Vh4Pm+/CIjojbEbTRVwZsWPH3N80foSjP+S9/E8/9blr1LI6I/G/2Jj4Jx + f11elgc802MkefDVLdhJnnD60dDO+N5+p+ksL/MLFgv0+b3vh9+u6uKS+jpdzlZVsWyVMi+rspgK + kh+dLrNJ2UNA33teLN++zuvLYppveNW9abgPz+3FWyejsYB+ifxixmI0q7Z/mec1EREo2OF+lDMu + T2cVEa1q8ykIQg3Os7LJ0YRA/pL/B1UjCzCvBQAA headers: azure-asyncnotification: Enabled cache-control: no-cache content-encoding: gzip content-type: application/json; charset=utf-8 - date: Tue, 09 Mar 2021 05:06:15 GMT + date: Fri, 14 May 2021 04:33:48 GMT expires: '-1' pragma: no-cache server: Microsoft-HTTPAPI/2.0 @@ -550,56 +817,61 @@ interactions: transfer-encoding: chunked vary: Accept-Encoding x-content-type-options: nosniff - x-ms-arm-service-request-id: 3b857adb-db2b-4488-af41-c355893339a3 + x-ms-arm-service-request-id: 7913cc19-c453-457b-800e-3e60c9d6dd7d x-ms-ratelimit-remaining-subscription-writes: '1197' status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/uvqov4ixaqz5vbzg4ajmo2ipptyvzobjo5bd767j5cn5qnpcijw7znsqfhhygmmi6hhoqkcb7ua/providers/Microsoft.Network/virtualNetworks/virtualnetworkname?api-version=2020-11-01 + url: https://management.azure.com/subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590/resourceGroups/rgpy-g3viomoybuafmw34l5uxxlrnc6h2qwprplw6jejaajnkqhjoz4gjyjfzvvzouibwvb2hfgnfkgb/providers/Microsoft.Network/virtualNetworks/virtualnetworkname?api-version=2021-02-01 - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/subnetname?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/subnetname?api-version=2021-02-01 response: body: string: '' headers: - azure-asyncoperation: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/a0344dc0-9003-406a-bee8-96e1981e43b1?api-version=2020-11-01 + azure-asyncoperation: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/af787f07-d040-4e9b-aa41-702df5ddd58d?api-version=2021-02-01 cache-control: no-cache content-length: '0' - date: Tue, 09 Mar 2021 05:06:16 GMT + date: Fri, 14 May 2021 04:33:48 GMT expires: '-1' - location: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/a0344dc0-9003-406a-bee8-96e1981e43b1?api-version=2020-11-01 + location: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/af787f07-d040-4e9b-aa41-702df5ddd58d?api-version=2021-02-01 pragma: no-cache server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000; includeSubDomains x-content-type-options: nosniff - x-ms-arm-service-request-id: edf00315-d52d-4feb-87a4-66e6102079e9 + x-ms-arm-service-request-id: 53300f2e-38dc-4cc5-ba27-ad601bc6fe47 x-ms-ratelimit-remaining-subscription-deletes: '14999' status: code: 202 message: Accepted - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/uvqov4ixaqz5vbzg4ajmo2ipptyvzobjo5bd767j5cn5qnpcijw7znsqfhhygmmi6hhoqkcb7ua/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/subnetname?api-version=2020-11-01 + url: https://management.azure.com/subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590/resourceGroups/rgpy-g3viomoybuafmw34l5uxxlrnc6h2qwprplw6jejaajnkqhjoz4gjyjfzvvzouibwvb2hfgnfkgb/providers/Microsoft.Network/virtualNetworks/virtualnetworkname/subnets/subnetname?api-version=2021-02-01 - request: body: null headers: User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/a0344dc0-9003-406a-bee8-96e1981e43b1?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/af787f07-d040-4e9b-aa41-702df5ddd58d?api-version=2021-02-01 response: body: - string: "{\r\n \"status\": \"Succeeded\"\r\n}" + string: !!binary | + H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl + VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xb5yk + 6UdNm7Xr5qNH6Uev19Npns/y2Ue/cfJL/h9PlJBHHQAAAA== headers: cache-control: no-cache content-encoding: gzip content-type: application/json; charset=utf-8 - date: Tue, 09 Mar 2021 05:06:26 GMT + date: Fri, 14 May 2021 04:33:58 GMT expires: '-1' pragma: no-cache server: Microsoft-HTTPAPI/2.0 @@ -607,56 +879,61 @@ interactions: transfer-encoding: chunked vary: Accept-Encoding x-content-type-options: nosniff - x-ms-arm-service-request-id: 4690a85b-d913-4bc6-811b-5b25105b1d7e + x-ms-arm-service-request-id: eb39d524-ffb7-4f7b-8007-5cec07993bc9 status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/providers/Microsoft.Network/locations/eastus/operations/a0344dc0-9003-406a-bee8-96e1981e43b1?api-version=2020-11-01 + url: https://management.azure.com/subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590/providers/Microsoft.Network/locations/eastus/operations/af787f07-d040-4e9b-aa41-702df5ddd58d?api-version=2021-02-01 - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkname?api-version=2021-02-01 response: body: string: '' headers: azure-asyncnotification: Enabled - azure-asyncoperation: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/330ac913-b61c-4d1f-8e2e-290f70d7a870?api-version=2020-11-01 + azure-asyncoperation: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/8c0a8ea4-713e-4f9f-86a4-e55215a4b87f?api-version=2021-02-01 cache-control: no-cache content-length: '0' - date: Tue, 09 Mar 2021 05:06:27 GMT + date: Fri, 14 May 2021 04:33:58 GMT expires: '-1' - location: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/330ac913-b61c-4d1f-8e2e-290f70d7a870?api-version=2020-11-01 + location: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/8c0a8ea4-713e-4f9f-86a4-e55215a4b87f?api-version=2021-02-01 pragma: no-cache server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000; includeSubDomains x-content-type-options: nosniff - x-ms-arm-service-request-id: 764ce1ea-d7ca-41bf-b779-dcd0109eb8f3 + x-ms-arm-service-request-id: 682eebb7-6f06-4508-9507-728d216d759d x-ms-ratelimit-remaining-subscription-deletes: '14998' status: code: 202 message: Accepted - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/uvqov4ixaqz5vbzg4ajmo2ipptyvzobjo5bd767j5cn5qnpcijw7znsqfhhygmmi6hhoqkcb7ua/providers/Microsoft.Network/virtualNetworks/virtualnetworkname?api-version=2020-11-01 + url: https://management.azure.com/subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590/resourceGroups/rgpy-g3viomoybuafmw34l5uxxlrnc6h2qwprplw6jejaajnkqhjoz4gjyjfzvvzouibwvb2hfgnfkgb/providers/Microsoft.Network/virtualNetworks/virtualnetworkname?api-version=2021-02-01 - request: body: null headers: User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/330ac913-b61c-4d1f-8e2e-290f70d7a870?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/8c0a8ea4-713e-4f9f-86a4-e55215a4b87f?api-version=2021-02-01 response: body: - string: "{\r\n \"status\": \"Succeeded\"\r\n}" + string: !!binary | + H4sIAAAAAAAEAO29B2AcSZYlJi9tynt/SvVK1+B0oQiAYBMk2JBAEOzBiM3mkuwdaUcjKasqgcpl + VmVdZhZAzO2dvPfee++999577733ujudTif33/8/XGZkAWz2zkrayZ4hgKrIHz9+fB8/In7xb5yk + 6UdNm7Xr5qNH6Uev19Npns/y2Ue/cfJL/h9PlJBHHQAAAA== headers: cache-control: no-cache content-encoding: gzip content-type: application/json; charset=utf-8 - date: Tue, 09 Mar 2021 05:06:37 GMT + date: Fri, 14 May 2021 04:34:08 GMT expires: '-1' pragma: no-cache server: Microsoft-HTTPAPI/2.0 @@ -664,9 +941,9 @@ interactions: transfer-encoding: chunked vary: Accept-Encoding x-content-type-options: nosniff - x-ms-arm-service-request-id: 4715537e-841e-4dd2-9aa5-dc2a88a45790 + x-ms-arm-service-request-id: e7e133b4-b904-47a3-b0ec-fad1dfe3d784 status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/providers/Microsoft.Network/locations/eastus/operations/330ac913-b61c-4d1f-8e2e-290f70d7a870?api-version=2020-11-01 + url: https://management.azure.com/subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590/providers/Microsoft.Network/locations/eastus/operations/8c0a8ea4-713e-4f9f-86a4-e55215a4b87f?api-version=2021-02-01 version: 1 diff --git a/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_ddos.test_network.yaml b/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_ddos.test_network.yaml index 6dd769063bb5..b5b2709f4a5a 100644 --- a/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_ddos.test_network.yaml +++ b/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_ddos.test_network.yaml @@ -14,32 +14,33 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork43ae1035?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork43ae1035?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"virtualnetwork43ae1035\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork43ae1035\"\ - ,\r\n \"etag\": \"W/\\\"74c85b67-ad5a-4e02-b536-3409f79691ad\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ - \ \"resourceGuid\": \"494ddf14-5003-47e6-8c05-170ebd9b7a51\",\r\n \"\ - addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\ - \r\n ]\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ - : [],\r\n \"enableDdosProtection\": false\r\n }\r\n}" + string: "{\r\n \"name\": \"virtualnetwork43ae1035\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork43ae1035\",\r\n + \ \"etag\": \"W/\\\"c1733d2e-7124-49fe-8124-a5735272e3af\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": + \"433ee167-f8ef-4c81-944c-a773bb5892a2\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": + [\r\n \"10.0.0.0/16\"\r\n ]\r\n },\r\n \"subnets\": [],\r\n + \ \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": false\r\n + \ }\r\n}" headers: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/6a051f43-7938-40a3-8721-651a3efcbfe2?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/19e0f941-eaaa-4789-a034-7e77ea8efe08?api-version=2021-02-01 cache-control: - no-cache content-length: - - '697' + - '702' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 07:46:18 GMT + - Fri, 14 May 2021 04:34:10 GMT expires: - '-1' pragma: @@ -52,9 +53,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 81b817c9-8992-4722-987c-45ab94a0a731 + - 26076d5a-7084-4d6f-98ff-178fa4da34e4 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 201 message: Created @@ -68,9 +69,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/6a051f43-7938-40a3-8721-651a3efcbfe2?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/19e0f941-eaaa-4789-a034-7e77ea8efe08?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -82,7 +84,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 07:46:22 GMT + - Fri, 14 May 2021 04:34:14 GMT expires: - '-1' pragma: @@ -99,7 +101,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 35fb60da-c130-4b17-93b8-b4969c85d293 + - 64713c10-aba0-4ba8-a263-00e1a796137d status: code: 200 message: OK @@ -113,30 +115,31 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork43ae1035?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork43ae1035?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"virtualnetwork43ae1035\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork43ae1035\"\ - ,\r\n \"etag\": \"W/\\\"dc25a207-8196-4a54-b6aa-fc51b2534f1a\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n\ - \ \"resourceGuid\": \"494ddf14-5003-47e6-8c05-170ebd9b7a51\",\r\n \"\ - addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\ - \r\n ]\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ - : [],\r\n \"enableDdosProtection\": false\r\n }\r\n}" + string: "{\r\n \"name\": \"virtualnetwork43ae1035\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork43ae1035\",\r\n + \ \"etag\": \"W/\\\"85869f25-9a04-4744-a79c-359839e84f15\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": + \"433ee167-f8ef-4c81-944c-a773bb5892a2\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": + [\r\n \"10.0.0.0/16\"\r\n ]\r\n },\r\n \"subnets\": [],\r\n + \ \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": false\r\n + \ }\r\n}" headers: cache-control: - no-cache content-length: - - '698' + - '703' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 07:46:22 GMT + - Fri, 14 May 2021 04:34:14 GMT etag: - - W/"dc25a207-8196-4a54-b6aa-fc51b2534f1a" + - W/"85869f25-9a04-4744-a79c-359839e84f15" expires: - '-1' pragma: @@ -153,7 +156,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 85ea3e97-668d-4b62-861c-87f896a0643e + - 6ba586e6-02bc-4cc6-8493-d7696a6012f3 status: code: 200 message: OK @@ -171,28 +174,29 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork43ae1035/subnets/subnet43ae1035?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork43ae1035/subnets/subnet43ae1035?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"subnet43ae1035\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork43ae1035/subnets/subnet43ae1035\"\ - ,\r\n \"etag\": \"W/\\\"75e77a0b-7364-489f-8512-cdb58132aca9\\\"\",\r\n \ - \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"\ - addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\"\ - : \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\ - \n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" + string: "{\r\n \"name\": \"subnet43ae1035\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork43ae1035/subnets/subnet43ae1035\",\r\n + \ \"etag\": \"W/\\\"d58a9161-e2c6-401a-bf6e-d3ec8e433b3c\\\"\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Updating\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n + \ \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n + \ \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \"type\": + \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/c9faca8f-c8d9-4ee7-b778-e4cf16165e92?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/b2974a24-3546-49f9-9d6b-4dfb112d36a6?api-version=2021-02-01 cache-control: - no-cache content-length: - - '616' + - '621' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 07:46:23 GMT + - Fri, 14 May 2021 04:34:14 GMT expires: - '-1' pragma: @@ -205,9 +209,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 0dfce0e9-1d8e-4dfa-a9cc-39c5de4f04b1 + - 0f2987ec-7577-459c-a20b-1e8893eeaa30 x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1197' status: code: 201 message: Created @@ -221,9 +225,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/c9faca8f-c8d9-4ee7-b778-e4cf16165e92?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/b2974a24-3546-49f9-9d6b-4dfb112d36a6?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -235,7 +240,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 07:46:27 GMT + - Fri, 14 May 2021 04:34:17 GMT expires: - '-1' pragma: @@ -252,7 +257,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - f5e0f9a6-a35d-4efb-918c-61e25c698e1a + - 73c38e70-10f1-4541-913a-e6d3e5ab0267 status: code: 200 message: OK @@ -266,28 +271,29 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork43ae1035/subnets/subnet43ae1035?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork43ae1035/subnets/subnet43ae1035?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"subnet43ae1035\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork43ae1035/subnets/subnet43ae1035\"\ - ,\r\n \"etag\": \"W/\\\"cd6b1fb0-b093-4280-a3db-17515469072f\\\"\",\r\n \ - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\ - addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\"\ - : \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\ - \n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" + string: "{\r\n \"name\": \"subnet43ae1035\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork43ae1035/subnets/subnet43ae1035\",\r\n + \ \"etag\": \"W/\\\"aac5ac0e-449d-47d2-a628-342b1563baa3\\\"\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n + \ \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n + \ \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \"type\": + \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" headers: cache-control: - no-cache content-length: - - '617' + - '622' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 07:46:27 GMT + - Fri, 14 May 2021 04:34:17 GMT etag: - - W/"cd6b1fb0-b093-4280-a3db-17515469072f" + - W/"aac5ac0e-449d-47d2-a628-342b1563baa3" expires: - '-1' pragma: @@ -304,7 +310,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 11dc4f7d-8980-4396-b0ca-c489262112d0 + - bd50eb3a-9486-4f38-b2f0-95921c71d56b status: code: 200 message: OK @@ -319,47 +325,46 @@ interactions: Connection: - keep-alive Content-Length: - - '354' + - '359' Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/interface43ae1035?api-version=2020-11-01 - response: - body: - string: "{\r\n \"name\": \"interface43ae1035\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/interface43ae1035\"\ - ,\r\n \"etag\": \"W/\\\"0a32fdf0-2692-466c-ab0b-133d53dea0fe\\\"\",\r\n \ - \ \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\"\ - : \"Succeeded\",\r\n \"resourceGuid\": \"1b130f1c-1f9c-4563-b51f-a57ed1fa736e\"\ - ,\r\n \"ipConfigurations\": [\r\n {\r\n \"name\": \"MyIpConfig\"\ - ,\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/interface43ae1035/ipConfigurations/MyIpConfig\"\ - ,\r\n \"etag\": \"W/\\\"0a32fdf0-2692-466c-ab0b-133d53dea0fe\\\"\"\ - ,\r\n \"type\": \"Microsoft.Network/networkInterfaces/ipConfigurations\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"privateIPAddress\": \"10.0.0.4\",\r\n \"privateIPAllocationMethod\"\ - : \"Dynamic\",\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork43ae1035/subnets/subnet43ae1035\"\ - \r\n },\r\n \"primary\": true,\r\n \"privateIPAddressVersion\"\ - : \"IPv4\"\r\n }\r\n }\r\n ],\r\n \"dnsSettings\": {\r\n\ - \ \"dnsServers\": [],\r\n \"appliedDnsServers\": [],\r\n \"\ - internalDomainNameSuffix\": \"ctpu0sidkdtepdafc2hl1g10kb.bx.internal.cloudapp.net\"\ - \r\n },\r\n \"enableAcceleratedNetworking\": false,\r\n \"enableIPForwarding\"\ - : false,\r\n \"hostedWorkloads\": [],\r\n \"tapConfigurations\": [],\r\ - \n \"nicType\": \"Standard\"\r\n },\r\n \"type\": \"Microsoft.Network/networkInterfaces\"\ - \r\n}" + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/interface43ae1035?api-version=2021-02-01 + response: + body: + string: "{\r\n \"name\": \"interface43ae1035\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/interface43ae1035\",\r\n + \ \"etag\": \"W/\\\"942f92a4-d96a-4853-a18f-be128eaabbf6\\\"\",\r\n \"location\": + \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"c212521b-9eb7-4513-a5cd-c82c74201340\",\r\n \"ipConfigurations\": + [\r\n {\r\n \"name\": \"MyIpConfig\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/interface43ae1035/ipConfigurations/MyIpConfig\",\r\n + \ \"etag\": \"W/\\\"942f92a4-d96a-4853-a18f-be128eaabbf6\\\"\",\r\n + \ \"type\": \"Microsoft.Network/networkInterfaces/ipConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAddress\": \"10.0.0.4\",\r\n \"privateIPAllocationMethod\": + \"Dynamic\",\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork43ae1035/subnets/subnet43ae1035\"\r\n + \ },\r\n \"primary\": true,\r\n \"privateIPAddressVersion\": + \"IPv4\"\r\n }\r\n }\r\n ],\r\n \"dnsSettings\": {\r\n \"dnsServers\": + [],\r\n \"appliedDnsServers\": [],\r\n \"internalDomainNameSuffix\": + \"m5qt2q5p5cauzfcmu3z1wwesuc.bx.internal.cloudapp.net\"\r\n },\r\n \"enableAcceleratedNetworking\": + false,\r\n \"enableIPForwarding\": false,\r\n \"hostedWorkloads\": [],\r\n + \ \"tapConfigurations\": [],\r\n \"nicType\": \"Standard\"\r\n },\r\n + \ \"type\": \"Microsoft.Network/networkInterfaces\"\r\n}" headers: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/8e0288b4-3ce5-4066-9fe1-a3fb54e83215?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3032b374-56ca-465a-9eb1-b84bf80b1310?api-version=2021-02-01 cache-control: - no-cache content-length: - - '1861' + - '1876' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 07:46:31 GMT + - Fri, 14 May 2021 04:34:17 GMT expires: - '-1' pragma: @@ -372,9 +377,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - ed3658d9-1292-44fd-8618-4c19234ffdbe + - 30f5ef31-08bc-45d2-ad2e-b9200aa618af x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1196' status: code: 201 message: Created @@ -388,9 +393,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/8e0288b4-3ce5-4066-9fe1-a3fb54e83215?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3032b374-56ca-465a-9eb1-b84bf80b1310?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -402,7 +408,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 07:47:02 GMT + - Fri, 14 May 2021 04:34:48 GMT expires: - '-1' pragma: @@ -419,7 +425,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 7f62612c-3bf7-4f8d-93a1-f582d6a325e2 + - 991255fc-8161-4ae6-8f3b-4cb5130dce74 status: code: 200 message: OK @@ -433,2132 +439,40 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/interface43ae1035?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/interface43ae1035?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"interface43ae1035\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/interface43ae1035\"\ - ,\r\n \"etag\": \"W/\\\"0a32fdf0-2692-466c-ab0b-133d53dea0fe\\\"\",\r\n \ - \ \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\"\ - : \"Succeeded\",\r\n \"resourceGuid\": \"1b130f1c-1f9c-4563-b51f-a57ed1fa736e\"\ - ,\r\n \"ipConfigurations\": [\r\n {\r\n \"name\": \"MyIpConfig\"\ - ,\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/interface43ae1035/ipConfigurations/MyIpConfig\"\ - ,\r\n \"etag\": \"W/\\\"0a32fdf0-2692-466c-ab0b-133d53dea0fe\\\"\"\ - ,\r\n \"type\": \"Microsoft.Network/networkInterfaces/ipConfigurations\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"privateIPAddress\": \"10.0.0.4\",\r\n \"privateIPAllocationMethod\"\ - : \"Dynamic\",\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork43ae1035/subnets/subnet43ae1035\"\ - \r\n },\r\n \"primary\": true,\r\n \"privateIPAddressVersion\"\ - : \"IPv4\"\r\n }\r\n }\r\n ],\r\n \"dnsSettings\": {\r\n\ - \ \"dnsServers\": [],\r\n \"appliedDnsServers\": [],\r\n \"\ - internalDomainNameSuffix\": \"ctpu0sidkdtepdafc2hl1g10kb.bx.internal.cloudapp.net\"\ - \r\n },\r\n \"enableAcceleratedNetworking\": false,\r\n \"enableIPForwarding\"\ - : false,\r\n \"hostedWorkloads\": [],\r\n \"tapConfigurations\": [],\r\ - \n \"nicType\": \"Standard\"\r\n },\r\n \"type\": \"Microsoft.Network/networkInterfaces\"\ - \r\n}" + string: "{\r\n \"name\": \"interface43ae1035\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/interface43ae1035\",\r\n + \ \"etag\": \"W/\\\"942f92a4-d96a-4853-a18f-be128eaabbf6\\\"\",\r\n \"location\": + \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"c212521b-9eb7-4513-a5cd-c82c74201340\",\r\n \"ipConfigurations\": + [\r\n {\r\n \"name\": \"MyIpConfig\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/interface43ae1035/ipConfigurations/MyIpConfig\",\r\n + \ \"etag\": \"W/\\\"942f92a4-d96a-4853-a18f-be128eaabbf6\\\"\",\r\n + \ \"type\": \"Microsoft.Network/networkInterfaces/ipConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAddress\": \"10.0.0.4\",\r\n \"privateIPAllocationMethod\": + \"Dynamic\",\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork43ae1035/subnets/subnet43ae1035\"\r\n + \ },\r\n \"primary\": true,\r\n \"privateIPAddressVersion\": + \"IPv4\"\r\n }\r\n }\r\n ],\r\n \"dnsSettings\": {\r\n \"dnsServers\": + [],\r\n \"appliedDnsServers\": [],\r\n \"internalDomainNameSuffix\": + \"m5qt2q5p5cauzfcmu3z1wwesuc.bx.internal.cloudapp.net\"\r\n },\r\n \"enableAcceleratedNetworking\": + false,\r\n \"enableIPForwarding\": false,\r\n \"hostedWorkloads\": [],\r\n + \ \"tapConfigurations\": [],\r\n \"nicType\": \"Standard\"\r\n },\r\n + \ \"type\": \"Microsoft.Network/networkInterfaces\"\r\n}" headers: cache-control: - no-cache content-length: - - '1861' + - '1876' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 07:47:03 GMT + - Fri, 14 May 2021 04:34:48 GMT etag: - - W/"0a32fdf0-2692-466c-ab0b-133d53dea0fe" - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - ed402774-e512-42ed-92ea-f7720617ef29 - status: - code: 200 - message: OK -- request: - body: '{"location": "eastus", "properties": {"hardwareProfile": {"vmSize": "Standard_D2_v2"}, - "storageProfile": {"imageReference": {"publisher": "MicrosoftWindowsServer", - "offer": "WindowsServer", "sku": "2016-Datacenter", "version": "latest"}, "osDisk": - {"name": "myVMosdisk", "caching": "ReadWrite", "createOption": "FromImage", - "managedDisk": {"storageAccountType": "Standard_LRS"}}, "dataDisks": [{"lun": - 0, "createOption": "Empty", "diskSizeGB": 1023}, {"lun": 1, "createOption": - "Empty", "diskSizeGB": 1023}]}, "osProfile": {"computerName": "myVM", "adminUsername": - "testuser", "adminPassword": "Aa1!zyx_", "windowsConfiguration": {"enableAutomaticUpdates": - true}}, "networkProfile": {"networkInterfaces": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/interface43ae1035", - "properties": {"primary": true}}]}}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '959' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azure-mgmt-compute/19.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Compute/virtualMachines/virtualmachine43ae1035?api-version=2020-12-01 - response: - body: - string: "{\r\n \"name\": \"virtualmachine43ae1035\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Compute/virtualMachines/virtualmachine43ae1035\"\ - ,\r\n \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\"\ - : \"eastus\",\r\n \"tags\": {\r\n \"platformsettings.host_environment.service.platform_optedin_for_rootcerts\"\ - : \"true\"\r\n },\r\n \"properties\": {\r\n \"vmId\": \"da12cff3-e8c8-4295-b5a2-dc621dc74ed4\"\ - ,\r\n \"hardwareProfile\": {\r\n \"vmSize\": \"Standard_D2_v2\"\r\n\ - \ },\r\n \"storageProfile\": {\r\n \"imageReference\": {\r\n \ - \ \"publisher\": \"MicrosoftWindowsServer\",\r\n \"offer\": \"\ - WindowsServer\",\r\n \"sku\": \"2016-Datacenter\",\r\n \"version\"\ - : \"latest\",\r\n \"exactVersion\": \"14393.4225.2102030345\"\r\n \ - \ },\r\n \"osDisk\": {\r\n \"osType\": \"Windows\",\r\n \ - \ \"name\": \"myVMosdisk\",\r\n \"createOption\": \"FromImage\"\ - ,\r\n \"caching\": \"ReadWrite\",\r\n \"managedDisk\": {\r\n\ - \ \"storageAccountType\": \"Standard_LRS\"\r\n },\r\n \ - \ \"diskSizeGB\": 127\r\n },\r\n \"dataDisks\": [\r\n \ - \ {\r\n \"lun\": 0,\r\n \"createOption\": \"Empty\",\r\n\ - \ \"caching\": \"None\",\r\n \"managedDisk\": {\r\n \ - \ \"storageAccountType\": \"Standard_LRS\"\r\n },\r\n \ - \ \"diskSizeGB\": 1023,\r\n \"toBeDetached\": false\r\n \ - \ },\r\n {\r\n \"lun\": 1,\r\n \"createOption\"\ - : \"Empty\",\r\n \"caching\": \"None\",\r\n \"managedDisk\"\ - : {\r\n \"storageAccountType\": \"Standard_LRS\"\r\n },\r\ - \n \"diskSizeGB\": 1023,\r\n \"toBeDetached\": false\r\n\ - \ }\r\n ]\r\n },\r\n \"osProfile\": {\r\n \"computerName\"\ - : \"myVM\",\r\n \"adminUsername\": \"testuser\",\r\n \"windowsConfiguration\"\ - : {\r\n \"provisionVMAgent\": true,\r\n \"enableAutomaticUpdates\"\ - : true,\r\n \"patchSettings\": {\r\n \"patchMode\": \"AutomaticByOS\"\ - \r\n }\r\n },\r\n \"secrets\": [],\r\n \"allowExtensionOperations\"\ - : true,\r\n \"requireGuestProvisionSignal\": true\r\n },\r\n \"\ - networkProfile\": {\"networkInterfaces\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/interface43ae1035\"\ - ,\"properties\":{\"primary\":true}}]},\r\n \"provisioningState\": \"Creating\"\ - \r\n }\r\n}" - headers: - azure-asyncnotification: - - Enabled - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/operations/0e6e4aa7-7558-4ec1-94b9-38bcfbb06723?api-version=2020-12-01 - cache-control: - - no-cache - content-length: - - '2421' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 07:47:13 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/PutVM3Min;239,Microsoft.Compute/PutVM30Min;1199 - x-ms-ratelimit-remaining-subscription-writes: - - '1190' - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-compute/19.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/operations/0e6e4aa7-7558-4ec1-94b9-38bcfbb06723?api-version=2020-12-01 - response: - body: - string: "{\r\n \"startTime\": \"2021-03-09T07:47:11.3964104+00:00\",\r\n \"\ - status\": \"InProgress\",\r\n \"name\": \"0e6e4aa7-7558-4ec1-94b9-38bcfbb06723\"\ - \r\n}" - headers: - cache-control: - - no-cache - content-length: - - '134' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 07:47:23 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14999,Microsoft.Compute/GetOperation30Min;29999 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-compute/19.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/operations/0e6e4aa7-7558-4ec1-94b9-38bcfbb06723?api-version=2020-12-01 - response: - body: - string: "{\r\n \"startTime\": \"2021-03-09T07:47:11.3964104+00:00\",\r\n \"\ - endTime\": \"2021-03-09T07:48:10.3341023+00:00\",\r\n \"status\": \"Succeeded\"\ - ,\r\n \"name\": \"0e6e4aa7-7558-4ec1-94b9-38bcfbb06723\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '184' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 07:48:15 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14997,Microsoft.Compute/GetOperation30Min;29997 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-compute/19.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Compute/virtualMachines/virtualmachine43ae1035?api-version=2020-12-01 - response: - body: - string: "{\r\n \"name\": \"virtualmachine43ae1035\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Compute/virtualMachines/virtualmachine43ae1035\"\ - ,\r\n \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\"\ - : \"eastus\",\r\n \"tags\": {\r\n \"platformsettings.host_environment.service.platform_optedin_for_rootcerts\"\ - : \"true\"\r\n },\r\n \"properties\": {\r\n \"vmId\": \"da12cff3-e8c8-4295-b5a2-dc621dc74ed4\"\ - ,\r\n \"hardwareProfile\": {\r\n \"vmSize\": \"Standard_D2_v2\"\r\n\ - \ },\r\n \"storageProfile\": {\r\n \"imageReference\": {\r\n \ - \ \"publisher\": \"MicrosoftWindowsServer\",\r\n \"offer\": \"\ - WindowsServer\",\r\n \"sku\": \"2016-Datacenter\",\r\n \"version\"\ - : \"latest\",\r\n \"exactVersion\": \"14393.4225.2102030345\"\r\n \ - \ },\r\n \"osDisk\": {\r\n \"osType\": \"Windows\",\r\n \ - \ \"name\": \"myVMosdisk\",\r\n \"createOption\": \"FromImage\"\ - ,\r\n \"caching\": \"ReadWrite\",\r\n \"managedDisk\": {\r\n\ - \ \"storageAccountType\": \"Standard_LRS\",\r\n \"id\":\ - \ \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Compute/disks/myVMosdisk\"\ - \r\n },\r\n \"diskSizeGB\": 127\r\n },\r\n \"dataDisks\"\ - : [\r\n {\r\n \"lun\": 0,\r\n \"name\": \"virtualmachine43ae1035_disk2_7b1a6fb5d9fc4503ad121081c8bab655\"\ - ,\r\n \"createOption\": \"Empty\",\r\n \"caching\": \"None\"\ - ,\r\n \"managedDisk\": {\r\n \"storageAccountType\": \"\ - Standard_LRS\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Compute/disks/virtualmachine43ae1035_disk2_7b1a6fb5d9fc4503ad121081c8bab655\"\ - \r\n },\r\n \"diskSizeGB\": 1023,\r\n \"toBeDetached\"\ - : false\r\n },\r\n {\r\n \"lun\": 1,\r\n \"\ - name\": \"virtualmachine43ae1035_disk3_53637bc3c0234be79eee70b59371bb8f\"\ - ,\r\n \"createOption\": \"Empty\",\r\n \"caching\": \"None\"\ - ,\r\n \"managedDisk\": {\r\n \"storageAccountType\": \"\ - Standard_LRS\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Compute/disks/virtualmachine43ae1035_disk3_53637bc3c0234be79eee70b59371bb8f\"\ - \r\n },\r\n \"diskSizeGB\": 1023,\r\n \"toBeDetached\"\ - : false\r\n }\r\n ]\r\n },\r\n \"osProfile\": {\r\n \ - \ \"computerName\": \"myVM\",\r\n \"adminUsername\": \"testuser\",\r\ - \n \"windowsConfiguration\": {\r\n \"provisionVMAgent\": true,\r\ - \n \"enableAutomaticUpdates\": true,\r\n \"patchSettings\":\ - \ {\r\n \"patchMode\": \"AutomaticByOS\"\r\n }\r\n },\r\ - \n \"secrets\": [],\r\n \"allowExtensionOperations\": true,\r\n\ - \ \"requireGuestProvisionSignal\": true\r\n },\r\n \"networkProfile\"\ - : {\"networkInterfaces\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/interface43ae1035\"\ - ,\"properties\":{\"primary\":true}}]},\r\n \"provisioningState\": \"Succeeded\"\ - \r\n }\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '3320' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 07:48:15 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;3998,Microsoft.Compute/LowCostGet30Min;31998 - status: - code: 200 - message: OK -- request: - body: '{"location": "eastus", "sku": {"name": "Standard"}, "properties": {"publicIPAllocationMethod": - "Static", "idleTimeoutInMinutes": 4}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '132' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipaddress43ae1035?api-version=2020-11-01 - response: - body: - string: "{\r\n \"name\": \"publicipaddress43ae1035\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipaddress43ae1035\"\ - ,\r\n \"etag\": \"W/\\\"4e6dceb3-4030-4f4d-a2e7-d344f71bcd0a\\\"\",\r\n \ - \ \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\"\ - : \"Updating\",\r\n \"resourceGuid\": \"691749d4-4e5b-4ae2-9cdc-df3595e95224\"\ - ,\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n \"publicIPAllocationMethod\"\ - : \"Static\",\r\n \"idleTimeoutInMinutes\": 4,\r\n \"ipTags\": []\r\n\ - \ },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n \"sku\"\ - : {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Regional\"\r\n }\r\n\ - }" - headers: - azure-asyncnotification: - - Enabled - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/92ef573a-2f49-4652-8821-38ed95d3aaaf?api-version=2020-11-01 - cache-control: - - no-cache - content-length: - - '721' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 07:48:21 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - d0f85ba4-b30b-416b-b449-c239146313df - x-ms-ratelimit-remaining-subscription-writes: - - '1196' - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/92ef573a-2f49-4652-8821-38ed95d3aaaf?api-version=2020-11-01 - response: - body: - string: "{\r\n \"status\": \"Succeeded\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '29' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 07:48:22 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - baaddd26-7bfd-47d0-85b6-4e14066a9f4c - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipaddress43ae1035?api-version=2020-11-01 - response: - body: - string: "{\r\n \"name\": \"publicipaddress43ae1035\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipaddress43ae1035\"\ - ,\r\n \"etag\": \"W/\\\"d07482b3-2b87-42dc-b666-674a4a8ccb2b\\\"\",\r\n \ - \ \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\"\ - : \"Succeeded\",\r\n \"resourceGuid\": \"691749d4-4e5b-4ae2-9cdc-df3595e95224\"\ - ,\r\n \"ipAddress\": \"40.88.140.135\",\r\n \"publicIPAddressVersion\"\ - : \"IPv4\",\r\n \"publicIPAllocationMethod\": \"Static\",\r\n \"idleTimeoutInMinutes\"\ - : 4,\r\n \"ipTags\": []\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\"\ - ,\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Regional\"\ - \r\n }\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '757' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 07:48:22 GMT - etag: - - W/"d07482b3-2b87-42dc-b666-674a4a8ccb2b" - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 61fd9004-9392-43d1-8418-6f898ce79a56 - status: - code: 200 - message: OK -- request: - body: '{"location": "eastus", "properties": {"addressSpace": {"addressPrefixes": - ["10.0.0.0/16"]}}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '92' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/bastionvirutalnetwork43ae1035?api-version=2020-11-01 - response: - body: - string: "{\r\n \"name\": \"bastionvirutalnetwork43ae1035\",\r\n \"id\": \"\ - /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/bastionvirutalnetwork43ae1035\"\ - ,\r\n \"etag\": \"W/\\\"dc62f5b1-d3f2-4cb2-b4ae-d9a32fbca79d\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ - \ \"resourceGuid\": \"e458f278-6840-4c65-ad54-84afd42b13dd\",\r\n \"\ - addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\ - \r\n ]\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ - : [],\r\n \"enableDdosProtection\": false\r\n }\r\n}" - headers: - azure-asyncnotification: - - Enabled - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/894ef14c-a101-4422-b1c8-6f57fc938711?api-version=2020-11-01 - cache-control: - - no-cache - content-length: - - '711' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 07:48:28 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - f5bec894-9b3b-4e06-a3b1-88b8d105c346 - x-ms-ratelimit-remaining-subscription-writes: - - '1195' - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/894ef14c-a101-4422-b1c8-6f57fc938711?api-version=2020-11-01 - response: - body: - string: "{\r\n \"status\": \"Succeeded\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '29' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 07:48:31 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 53990221-1f66-4027-912b-7a7ca82c425b - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/bastionvirutalnetwork43ae1035?api-version=2020-11-01 - response: - body: - string: "{\r\n \"name\": \"bastionvirutalnetwork43ae1035\",\r\n \"id\": \"\ - /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/bastionvirutalnetwork43ae1035\"\ - ,\r\n \"etag\": \"W/\\\"a539e388-3c50-4850-8814-43e59d973ae0\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n\ - \ \"resourceGuid\": \"e458f278-6840-4c65-ad54-84afd42b13dd\",\r\n \"\ - addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\ - \r\n ]\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ - : [],\r\n \"enableDdosProtection\": false\r\n }\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '712' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 07:48:31 GMT - etag: - - W/"a539e388-3c50-4850-8814-43e59d973ae0" - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 860edf0a-b28a-4ca6-aa1a-fc46409bb333 - status: - code: 200 - message: OK -- request: - body: '{"properties": {"addressPrefix": "10.0.0.0/24"}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '48' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/bastionvirutalnetwork43ae1035/subnets/AzureBastionSubnet?api-version=2020-11-01 - response: - body: - string: "{\r\n \"name\": \"AzureBastionSubnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/bastionvirutalnetwork43ae1035/subnets/AzureBastionSubnet\"\ - ,\r\n \"etag\": \"W/\\\"932223f8-14d0-4200-9caf-a48e87594c66\\\"\",\r\n \ - \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"\ - addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\"\ - : \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\ - \n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/ed68aaa0-e61d-4b79-add6-a1f01497229b?api-version=2020-11-01 - cache-control: - - no-cache - content-length: - - '631' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 07:48:32 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 1a5eefc8-917d-4416-b62b-9df4b276331d - x-ms-ratelimit-remaining-subscription-writes: - - '1194' - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/ed68aaa0-e61d-4b79-add6-a1f01497229b?api-version=2020-11-01 - response: - body: - string: "{\r\n \"status\": \"Succeeded\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '29' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 07:48:36 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - f66dfcfe-6929-4646-a4f3-eef4da08a6fa - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/bastionvirutalnetwork43ae1035/subnets/AzureBastionSubnet?api-version=2020-11-01 - response: - body: - string: "{\r\n \"name\": \"AzureBastionSubnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/bastionvirutalnetwork43ae1035/subnets/AzureBastionSubnet\"\ - ,\r\n \"etag\": \"W/\\\"47275ed3-7a8c-497f-b5df-69e11fb41f64\\\"\",\r\n \ - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\ - addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\"\ - : \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\ - \n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '632' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 07:48:37 GMT - etag: - - W/"47275ed3-7a8c-497f-b5df-69e11fb41f64" - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 3746eab8-2b21-4e97-a36d-027084b2d1f8 - status: - code: 200 - message: OK -- request: - body: '{"location": "eastus", "properties": {"ipConfigurations": [{"name": "bastionHostIpConfiguration", - "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/bastionvirutalnetwork43ae1035/subnets/AzureBastionSubnet"}, - "publicIPAddress": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipaddress43ae1035"}}}]}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '624' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/bastionHosts/bastionhost43ae1035?api-version=2020-11-01 - response: - body: - string: "{\r\n \"name\": \"bastionhost43ae1035\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/bastionHosts/bastionhost43ae1035\"\ - ,\r\n \"etag\": \"W/\\\"5607278f-e478-424e-aec8-02af944891a8\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/bastionHosts\",\r\n \"location\": \"eastus\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ - \ \"scaleUnits\": 2,\r\n \"ipConfigurations\": [\r\n {\r\n \ - \ \"name\": \"bastionHostIpConfiguration\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/bastionHosts/bastionhost43ae1035/bastionHostIpConfigurations/bastionHostIpConfiguration\"\ - ,\r\n \"etag\": \"W/\\\"5607278f-e478-424e-aec8-02af944891a8\\\"\"\ - ,\r\n \"type\": \"Microsoft.Network/bastionHosts/bastionHostIpConfigurations\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\"\ - ,\r\n \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"\ - publicIPAddress\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipaddress43ae1035\"\ - \r\n },\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/bastionvirutalnetwork43ae1035/subnets/AzureBastionSubnet\"\ - \r\n }\r\n }\r\n }\r\n ],\r\n \"bastionShareableLinks\"\ - : {}\r\n }\r\n}" - headers: - azure-asyncnotification: - - Enabled - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/2669f4ef-3c82-4d70-8fce-7aea903039b2?api-version=2020-11-01 - cache-control: - - no-cache - content-length: - - '1729' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 07:48:40 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - d16aba64-6e77-4289-a61a-9aa4b2db59c2 - x-ms-ratelimit-remaining-subscription-writes: - - '1193' - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/2669f4ef-3c82-4d70-8fce-7aea903039b2?api-version=2020-11-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 07:48:50 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 9d9af8b9-7fda-49b6-8687-ffca526d1a59 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/2669f4ef-3c82-4d70-8fce-7aea903039b2?api-version=2020-11-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 07:49:01 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - a6b30a34-a11a-4b4d-848a-0cfe04317795 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/2669f4ef-3c82-4d70-8fce-7aea903039b2?api-version=2020-11-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 07:49:22 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 019f69a5-0a47-4e78-9447-56aae13d944c - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/2669f4ef-3c82-4d70-8fce-7aea903039b2?api-version=2020-11-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 07:49:42 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 41504548-61d5-4f0c-b325-54de3030946d - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/2669f4ef-3c82-4d70-8fce-7aea903039b2?api-version=2020-11-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 07:50:22 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - e4fa6438-82dd-4d99-b707-b7f97da406d4 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/2669f4ef-3c82-4d70-8fce-7aea903039b2?api-version=2020-11-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 07:51:02 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 454148c3-ae28-46b9-adca-037d2528bb94 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/2669f4ef-3c82-4d70-8fce-7aea903039b2?api-version=2020-11-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 07:52:23 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 850aba59-39b9-47de-acf8-dc91ef8e5f98 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/2669f4ef-3c82-4d70-8fce-7aea903039b2?api-version=2020-11-01 - response: - body: - string: "{\r\n \"status\": \"Succeeded\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '29' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 07:55:04 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 1d68b850-511e-431d-be68-f68e64eb670b - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/bastionHosts/bastionhost43ae1035?api-version=2020-11-01 - response: - body: - string: "{\r\n \"name\": \"bastionhost43ae1035\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/bastionHosts/bastionhost43ae1035\"\ - ,\r\n \"etag\": \"W/\\\"0d2bfa16-9f89-487f-af40-e9c2701782e5\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/bastionHosts\",\r\n \"location\": \"eastus\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n\ - \ \"dnsName\": \"bst-0908d7e8-dbc7-4978-a081-13fd42ad12bc.bastion.azure.com\"\ - ,\r\n \"scaleUnits\": 2,\r\n \"ipConfigurations\": [\r\n {\r\n\ - \ \"name\": \"bastionHostIpConfiguration\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/bastionHosts/bastionhost43ae1035/bastionHostIpConfigurations/bastionHostIpConfiguration\"\ - ,\r\n \"etag\": \"W/\\\"0d2bfa16-9f89-487f-af40-e9c2701782e5\\\"\"\ - ,\r\n \"type\": \"Microsoft.Network/bastionHosts/bastionHostIpConfigurations\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"\ - publicIPAddress\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipaddress43ae1035\"\ - \r\n },\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/bastionvirutalnetwork43ae1035/subnets/AzureBastionSubnet\"\ - \r\n }\r\n }\r\n }\r\n ],\r\n \"bastionShareableLinks\"\ - : {}\r\n }\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '1809' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 07:55:04 GMT - etag: - - W/"0d2bfa16-9f89-487f-af40-e9c2701782e5" - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 1f88ff86-4ffd-4577-a3f6-24b7dfdbc1f1 - status: - code: 200 - message: OK -- request: - body: '{"location": "westus"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '22' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/ddosProtectionPlans/ddosprotectionplan43ae1035?api-version=2020-11-01 - response: - body: - string: "{\r\n \"name\": \"ddosprotectionplan43ae1035\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/ddosProtectionPlans/ddosprotectionplan43ae1035\"\ - ,\r\n \"etag\": \"W/\\\"0159a283-87b7-4f6f-bfdb-c1f6532c90b1\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/ddosProtectionPlans\",\r\n \"location\":\ - \ \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - \r\n }\r\n}" - headers: - azure-asyncnotification: - - Enabled - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/bfbd0f2e-3408-46fc-acf5-c497ca52904e?api-version=2020-11-01 - cache-control: - - no-cache - content-length: - - '471' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 07:55:12 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - b6c366e5-d461-4cba-befe-b85affac3d18 - x-ms-ratelimit-remaining-subscription-writes: - - '1198' - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/bfbd0f2e-3408-46fc-acf5-c497ca52904e?api-version=2020-11-01 - response: - body: - string: "{\r\n \"status\": \"Succeeded\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '29' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 07:55:42 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 7845e7e5-21b0-4993-96a6-7cc80d1056de - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/ddosProtectionPlans/ddosprotectionplan43ae1035?api-version=2020-11-01 - response: - body: - string: "{\r\n \"name\": \"ddosprotectionplan43ae1035\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/ddosProtectionPlans/ddosprotectionplan43ae1035\"\ - ,\r\n \"etag\": \"W/\\\"0159a283-87b7-4f6f-bfdb-c1f6532c90b1\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/ddosProtectionPlans\",\r\n \"location\":\ - \ \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - \r\n }\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '471' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 07:55:42 GMT - etag: - - W/"0159a283-87b7-4f6f-bfdb-c1f6532c90b1" - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - f632a95b-e9d3-448f-8a1f-f0bafa7fe995 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/ddosProtectionPlans/ddosprotectionplan43ae1035?api-version=2020-11-01 - response: - body: - string: "{\r\n \"name\": \"ddosprotectionplan43ae1035\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/ddosProtectionPlans/ddosprotectionplan43ae1035\"\ - ,\r\n \"etag\": \"W/\\\"0159a283-87b7-4f6f-bfdb-c1f6532c90b1\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/ddosProtectionPlans\",\r\n \"location\":\ - \ \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - \r\n }\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '471' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 07:55:43 GMT - etag: - - W/"0159a283-87b7-4f6f-bfdb-c1f6532c90b1" - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 8392ce0e-e7b2-4b17-b1bd-2636c7e8500a - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/bastionHosts/bastionhost43ae1035?api-version=2020-11-01 - response: - body: - string: "{\r\n \"name\": \"bastionhost43ae1035\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/bastionHosts/bastionhost43ae1035\"\ - ,\r\n \"etag\": \"W/\\\"0d2bfa16-9f89-487f-af40-e9c2701782e5\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/bastionHosts\",\r\n \"location\": \"eastus\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n\ - \ \"dnsName\": \"bst-0908d7e8-dbc7-4978-a081-13fd42ad12bc.bastion.azure.com\"\ - ,\r\n \"scaleUnits\": 2,\r\n \"ipConfigurations\": [\r\n {\r\n\ - \ \"name\": \"bastionHostIpConfiguration\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/bastionHosts/bastionhost43ae1035/bastionHostIpConfigurations/bastionHostIpConfiguration\"\ - ,\r\n \"etag\": \"W/\\\"0d2bfa16-9f89-487f-af40-e9c2701782e5\\\"\"\ - ,\r\n \"type\": \"Microsoft.Network/bastionHosts/bastionHostIpConfigurations\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"\ - publicIPAddress\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipaddress43ae1035\"\ - \r\n },\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/bastionvirutalnetwork43ae1035/subnets/AzureBastionSubnet\"\ - \r\n }\r\n }\r\n }\r\n ],\r\n \"bastionShareableLinks\"\ - : {}\r\n }\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '1809' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 07:55:43 GMT - etag: - - W/"0d2bfa16-9f89-487f-af40-e9c2701782e5" - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - ba279b45-9004-42b7-b810-ba02f077a100 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/CheckDnsNameAvailability?domainNameLabel=testdns43ae1035&api-version=2020-11-01 - response: - body: - string: "{\r\n \"available\": true\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '25' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 07:55:45 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 1a010ceb-ee72-474d-bb24-d323dda8e3ba - status: - code: 200 - message: OK -- request: - body: '{"tags": {"tag1": "value1", "tag2": "value2"}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '46' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/ddosProtectionPlans/ddosprotectionplan43ae1035?api-version=2020-11-01 - response: - body: - string: "{\r\n \"name\": \"ddosprotectionplan43ae1035\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/ddosProtectionPlans/ddosprotectionplan43ae1035\"\ - ,\r\n \"etag\": \"W/\\\"d4d65e94-0b37-4faf-8cd3-8be34b79d327\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/ddosProtectionPlans\",\r\n \"location\":\ - \ \"westus\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\"\ - : \"value2\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Succeeded\"\r\n }\r\n}" - headers: - azure-asyncnotification: - - Enabled - cache-control: - - no-cache - content-length: - - '535' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 07:55:49 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 68f50b75-3d7c-4222-a298-5a484a45ff94 - x-ms-ratelimit-remaining-subscription-writes: - - '1197' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/ddosProtectionPlans/ddosprotectionplan43ae1035?api-version=2020-11-01 - response: - body: - string: '' - headers: - azure-asyncnotification: - - Enabled - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/8843a434-683a-4220-88ef-b9027f75ca71?api-version=2020-11-01 - cache-control: - - no-cache - content-length: - - '0' - date: - - Tue, 09 Mar 2021 07:55:50 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/8843a434-683a-4220-88ef-b9027f75ca71?api-version=2020-11-01 - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 1030ef15-4206-41e9-8ae8-024d1445897b - x-ms-ratelimit-remaining-subscription-deletes: - - '14998' - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/8843a434-683a-4220-88ef-b9027f75ca71?api-version=2020-11-01 - response: - body: - string: "{\r\n \"status\": \"Succeeded\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '29' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 07:56:00 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 101397cd-0336-4ea3-ade6-9242a9ac00ff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/bastionHosts/bastionhost43ae1035?api-version=2020-11-01 - response: - body: - string: '' - headers: - azure-asyncnotification: - - Enabled - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/8b526f74-d071-4efe-a29f-0c0dc1bfd144?api-version=2020-11-01 - cache-control: - - no-cache - content-length: - - '0' - date: - - Tue, 09 Mar 2021 07:56:01 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/8b526f74-d071-4efe-a29f-0c0dc1bfd144?api-version=2020-11-01 - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 0f7a64d0-3b28-4524-8712-6f71e70b3288 - x-ms-ratelimit-remaining-subscription-deletes: - - '14997' - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/8b526f74-d071-4efe-a29f-0c0dc1bfd144?api-version=2020-11-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 07:56:12 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 63fd4a25-37e5-400e-a797-5d1729fa19d9 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/8b526f74-d071-4efe-a29f-0c0dc1bfd144?api-version=2020-11-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 07:56:22 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 4f33a68b-679e-4987-be4c-dce1a66fc868 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/8b526f74-d071-4efe-a29f-0c0dc1bfd144?api-version=2020-11-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 07:56:42 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - e404c462-d742-4da6-b8c1-f75d7c9c8202 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/8b526f74-d071-4efe-a29f-0c0dc1bfd144?api-version=2020-11-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 07:57:02 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - c3c7d725-e691-445c-8bc5-c8de319481bb - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/8b526f74-d071-4efe-a29f-0c0dc1bfd144?api-version=2020-11-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 07:57:44 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 19330f32-6bfe-418d-bc1e-fdcb7cbe3f1c - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/8b526f74-d071-4efe-a29f-0c0dc1bfd144?api-version=2020-11-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 07:58:25 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 40de395d-6928-4407-b114-d43d15f0dd39 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/8b526f74-d071-4efe-a29f-0c0dc1bfd144?api-version=2020-11-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 07:59:45 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 6eaae4eb-4199-4fa5-934a-32e8f9ab1424 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/8b526f74-d071-4efe-a29f-0c0dc1bfd144?api-version=2020-11-01 - response: - body: - string: "{\r\n \"status\": \"Succeeded\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '29' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:02:26 GMT + - W/"942f92a4-d96a-4853-a18f-be128eaabbf6" expires: - '-1' pragma: @@ -2575,7 +489,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 5eabce7e-369d-440a-9dcd-556e3cddd403 + - 61f04c32-cf39-4728-9757-6b80d32704e7 status: code: 200 message: OK diff --git a/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_endpoint.test_network.yaml b/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_endpoint.test_network.yaml index fa25b24a2191..20be4e6efd16 100644 --- a/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_endpoint.test_network.yaml +++ b/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_endpoint.test_network.yaml @@ -14,32 +14,33 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"virtualnetwork\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork\"\ - ,\r\n \"etag\": \"W/\\\"82c74fc3-c3f1-46ea-aece-571069f858ab\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ - \ \"resourceGuid\": \"ddba99b4-db0e-4ae2-8704-67db957efcb5\",\r\n \"\ - addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\ - \r\n ]\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ - : [],\r\n \"enableDdosProtection\": false\r\n }\r\n}" + string: "{\r\n \"name\": \"virtualnetwork\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork\",\r\n + \ \"etag\": \"W/\\\"0d93b15d-0520-4f54-b793-60eea01f8e5c\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": + \"813ddf3c-7d0d-4813-b477-f247c86403f8\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": + [\r\n \"10.0.0.0/16\"\r\n ]\r\n },\r\n \"subnets\": [],\r\n + \ \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": false\r\n + \ }\r\n}" headers: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/e1ac03f2-f29e-4c9e-85cf-590192a843da?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/a03647ff-64c6-4836-afb7-f5c14dd4f9ab?api-version=2021-02-01 cache-control: - no-cache content-length: - - '681' + - '686' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:07:56 GMT + - Fri, 14 May 2021 04:34:50 GMT expires: - '-1' pragma: @@ -52,7 +53,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 797e7c1b-2567-4965-923b-366192136af5 + - 5b33e526-9506-4957-8cc4-f8ea566db8be x-ms-ratelimit-remaining-subscription-writes: - '1199' status: @@ -68,9 +69,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/e1ac03f2-f29e-4c9e-85cf-590192a843da?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/a03647ff-64c6-4836-afb7-f5c14dd4f9ab?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -82,7 +84,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:08:00 GMT + - Fri, 14 May 2021 04:34:53 GMT expires: - '-1' pragma: @@ -99,7 +101,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 5753ad9c-ea1e-414e-9f3f-3a85623033f9 + - 848ec4fb-a8de-43ab-9361-2268deb4501d status: code: 200 message: OK @@ -113,30 +115,31 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"virtualnetwork\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork\"\ - ,\r\n \"etag\": \"W/\\\"0561d73b-56a4-452a-b7eb-69a75b535d67\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n\ - \ \"resourceGuid\": \"ddba99b4-db0e-4ae2-8704-67db957efcb5\",\r\n \"\ - addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\ - \r\n ]\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ - : [],\r\n \"enableDdosProtection\": false\r\n }\r\n}" + string: "{\r\n \"name\": \"virtualnetwork\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork\",\r\n + \ \"etag\": \"W/\\\"491c42a3-79c9-4436-bd7d-9ab0abaa5086\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": + \"813ddf3c-7d0d-4813-b477-f247c86403f8\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": + [\r\n \"10.0.0.0/16\"\r\n ]\r\n },\r\n \"subnets\": [],\r\n + \ \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": false\r\n + \ }\r\n}" headers: cache-control: - no-cache content-length: - - '682' + - '687' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:08:00 GMT + - Fri, 14 May 2021 04:34:53 GMT etag: - - W/"0561d73b-56a4-452a-b7eb-69a75b535d67" + - W/"491c42a3-79c9-4436-bd7d-9ab0abaa5086" expires: - '-1' pragma: @@ -153,7 +156,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 73844792-3652-4d6d-b6d1-23fb2b3e347c + - 688e31c7-ef36-4206-acb8-23aa3423a972 status: code: 200 message: OK @@ -172,28 +175,29 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork/subnets/subnet1?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork/subnets/subnet1?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"subnet1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork/subnets/subnet1\"\ - ,\r\n \"etag\": \"W/\\\"c45f424f-401a-43b3-a667-bc10dc1c15c6\\\"\",\r\n \ - \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"\ - addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\"\ - : \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"Disabled\"\r\ - \n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" + string: "{\r\n \"name\": \"subnet1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork/subnets/subnet1\",\r\n + \ \"etag\": \"W/\\\"0f94cf06-f911-426d-9e1f-0577ca64d9d8\\\"\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Updating\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n + \ \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n + \ \"privateLinkServiceNetworkPolicies\": \"Disabled\"\r\n },\r\n \"type\": + \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3d3e42c1-b701-4328-a843-a01944eedfe8?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/a8f212ba-ff3f-41f8-8bac-d6c0d3f50d5b?api-version=2021-02-01 cache-control: - no-cache content-length: - - '595' + - '600' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:08:00 GMT + - Fri, 14 May 2021 04:34:53 GMT expires: - '-1' pragma: @@ -206,7 +210,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 64556d09-0e2c-4923-afe6-cdcaa81a927e + - f61333ee-cca9-4ae3-a12f-6eb592ee276c x-ms-ratelimit-remaining-subscription-writes: - '1198' status: @@ -222,9 +226,56 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3d3e42c1-b701-4328-a843-a01944eedfe8?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/a8f212ba-ff3f-41f8-8bac-d6c0d3f50d5b?api-version=2021-02-01 + response: + body: + string: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '30' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 14 May 2021 04:34:56 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 9f71b585-e8a3-4649-93e9-ebdf5a3debb8 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/a8f212ba-ff3f-41f8-8bac-d6c0d3f50d5b?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -236,7 +287,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:08:04 GMT + - Fri, 14 May 2021 04:35:06 GMT expires: - '-1' pragma: @@ -253,7 +304,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 19cff1f3-a019-4e91-9bd4-db48a32d2f27 + - 28a78094-1ef7-494e-9579-98f739008c11 status: code: 200 message: OK @@ -267,28 +318,29 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork/subnets/subnet1?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork/subnets/subnet1?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"subnet1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork/subnets/subnet1\"\ - ,\r\n \"etag\": \"W/\\\"18cf60ed-17a8-4434-a48e-0f13486fae6b\\\"\",\r\n \ - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\ - addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\"\ - : \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"Disabled\"\r\ - \n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" + string: "{\r\n \"name\": \"subnet1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork/subnets/subnet1\",\r\n + \ \"etag\": \"W/\\\"a60c1adf-cfa3-410b-b9cb-7700d991031f\\\"\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n + \ \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n + \ \"privateLinkServiceNetworkPolicies\": \"Disabled\"\r\n },\r\n \"type\": + \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" headers: cache-control: - no-cache content-length: - - '596' + - '601' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:08:04 GMT + - Fri, 14 May 2021 04:35:06 GMT etag: - - W/"18cf60ed-17a8-4434-a48e-0f13486fae6b" + - W/"a60c1adf-cfa3-410b-b9cb-7700d991031f" expires: - '-1' pragma: @@ -305,7 +357,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 8a8a5e58-52a9-4716-a61c-f1d62ac7487e + - b3c0a6eb-a956-43e7-a383-4773c4888c2d status: code: 200 message: OK @@ -324,28 +376,29 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork/subnets/subnet2?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork/subnets/subnet2?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"subnet2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork/subnets/subnet2\"\ - ,\r\n \"etag\": \"W/\\\"fada683a-0adb-4847-aed1-9d18d7348f7d\\\"\",\r\n \ - \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"\ - addressPrefix\": \"10.0.1.0/24\",\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\"\ - : \"Disabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\ - \n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" + string: "{\r\n \"name\": \"subnet2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork/subnets/subnet2\",\r\n + \ \"etag\": \"W/\\\"f4bde8be-8c06-44f0-86f5-dc988231bbdd\\\"\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Updating\",\r\n \"addressPrefix\": \"10.0.1.0/24\",\r\n + \ \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Disabled\",\r\n + \ \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \"type\": + \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/cf04f905-9329-4a39-a339-e44d4cd4a072?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/812e7328-fd4d-4bd2-9d08-a1523c5fb808?api-version=2021-02-01 cache-control: - no-cache content-length: - - '595' + - '600' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:08:05 GMT + - Fri, 14 May 2021 04:35:07 GMT expires: - '-1' pragma: @@ -358,7 +411,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - fb4ef4f1-b51f-47b0-bb06-f23fae13c286 + - 6c0575f3-c276-461f-8b9e-7fe6c279435b x-ms-ratelimit-remaining-subscription-writes: - '1197' status: @@ -374,9 +427,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/cf04f905-9329-4a39-a339-e44d4cd4a072?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/812e7328-fd4d-4bd2-9d08-a1523c5fb808?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -388,7 +442,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:08:08 GMT + - Fri, 14 May 2021 04:35:10 GMT expires: - '-1' pragma: @@ -405,7 +459,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - c91ea8b0-af13-403f-ad99-ccd817b98f9f + - fdeeff1a-b4ca-4d57-afee-73d025aefef6 status: code: 200 message: OK @@ -419,28 +473,29 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork/subnets/subnet2?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork/subnets/subnet2?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"subnet2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork/subnets/subnet2\"\ - ,\r\n \"etag\": \"W/\\\"f8a4a4b6-86d0-41c5-98b5-943424f6a2b7\\\"\",\r\n \ - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\ - addressPrefix\": \"10.0.1.0/24\",\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\"\ - : \"Disabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\ - \n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" + string: "{\r\n \"name\": \"subnet2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork/subnets/subnet2\",\r\n + \ \"etag\": \"W/\\\"57353b81-c493-4b4b-bdb0-5a2e7b37448e\\\"\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressPrefix\": \"10.0.1.0/24\",\r\n + \ \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Disabled\",\r\n + \ \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \"type\": + \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" headers: cache-control: - no-cache content-length: - - '596' + - '601' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:08:08 GMT + - Fri, 14 May 2021 04:35:10 GMT etag: - - W/"f8a4a4b6-86d0-41c5-98b5-943424f6a2b7" + - W/"57353b81-c493-4b4b-bdb0-5a2e7b37448e" expires: - '-1' pragma: @@ -457,7 +512,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - cd2feb05-9588-4f0f-8461-63b4ea33a130 + - d90517c4-3993-4033-ba9e-828f875b9cc6 status: code: 200 message: OK @@ -472,46 +527,45 @@ interactions: Connection: - keep-alive Content-Length: - - '383' + - '388' Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/loadbalancer?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/loadbalancer?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"loadbalancer\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/loadbalancer\"\ - ,\r\n \"etag\": \"W/\\\"8abfb945-e2a3-4f81-91fc-7835670ae51b\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/loadBalancers\",\r\n \"location\": \"eastus\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ - \ \"resourceGuid\": \"d12b8b2e-9fef-4197-a00b-8e345411737e\",\r\n \"\ - frontendIPConfigurations\": [\r\n {\r\n \"name\": \"myIPConfiguration\"\ - ,\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/loadbalancer/frontendIPConfigurations/myIPConfiguration\"\ - ,\r\n \"etag\": \"W/\\\"8abfb945-e2a3-4f81-91fc-7835670ae51b\\\"\"\ - ,\r\n \"type\": \"Microsoft.Network/loadBalancers/frontendIPConfigurations\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\"\ - ,\r\n \"privateIPAddress\": \"10.0.0.4\",\r\n \"privateIPAllocationMethod\"\ - : \"Dynamic\",\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork/subnets/subnet1\"\ - \r\n },\r\n \"privateIPAddressVersion\": \"IPv4\"\r\n \ - \ }\r\n }\r\n ],\r\n \"backendAddressPools\": [],\r\n \"\ - loadBalancingRules\": [],\r\n \"probes\": [],\r\n \"inboundNatRules\"\ - : [],\r\n \"outboundRules\": [],\r\n \"inboundNatPools\": []\r\n },\r\ - \n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Regional\"\ - \r\n }\r\n}" + string: "{\r\n \"name\": \"loadbalancer\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/loadbalancer\",\r\n + \ \"etag\": \"W/\\\"f2e3bd73-c346-4836-b371-49524b320aa0\\\"\",\r\n \"type\": + \"Microsoft.Network/loadBalancers\",\r\n \"location\": \"eastus\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": \"09e21d89-0d15-4c5c-b58e-07af48f135cb\",\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"myIPConfiguration\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/loadbalancer/frontendIPConfigurations/myIPConfiguration\",\r\n + \ \"etag\": \"W/\\\"f2e3bd73-c346-4836-b371-49524b320aa0\\\"\",\r\n + \ \"type\": \"Microsoft.Network/loadBalancers/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"privateIPAddress\": \"10.0.0.4\",\r\n \"privateIPAllocationMethod\": + \"Dynamic\",\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork/subnets/subnet1\"\r\n + \ },\r\n \"privateIPAddressVersion\": \"IPv4\"\r\n }\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [],\r\n \"loadBalancingRules\": + [],\r\n \"probes\": [],\r\n \"inboundNatRules\": [],\r\n \"outboundRules\": + [],\r\n \"inboundNatPools\": []\r\n },\r\n \"sku\": {\r\n \"name\": + \"Standard\",\r\n \"tier\": \"Regional\"\r\n }\r\n}" headers: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/a641b238-e176-4672-a8c1-43d905f9d1f5?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/794edeb8-a9a4-4ec5-aad0-a920144bc5c3?api-version=2021-02-01 cache-control: - no-cache content-length: - - '1715' + - '1730' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:08:13 GMT + - Fri, 14 May 2021 04:35:10 GMT expires: - '-1' pragma: @@ -524,7 +578,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 6b5972c4-8697-41c1-bd6e-5dd28991aa5f + - 9a8ac15c-11b8-48cc-bbd6-b4d48c4470ca x-ms-ratelimit-remaining-subscription-writes: - '1196' status: @@ -540,9 +594,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/a641b238-e176-4672-a8c1-43d905f9d1f5?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/794edeb8-a9a4-4ec5-aad0-a920144bc5c3?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -554,7 +609,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:08:24 GMT + - Fri, 14 May 2021 04:35:20 GMT expires: - '-1' pragma: @@ -571,7 +626,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 04cb4e6c-dcb1-4083-9e0e-c10cc096cd97 + - 2ec457d8-9184-436a-ba94-7502d5e4e820 status: code: 200 message: OK @@ -585,40 +640,39 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/loadbalancer?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/loadbalancer?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"loadbalancer\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/loadbalancer\"\ - ,\r\n \"etag\": \"W/\\\"acda3e56-3e4f-477d-811c-636ee8f1a07c\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/loadBalancers\",\r\n \"location\": \"eastus\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n\ - \ \"resourceGuid\": \"d12b8b2e-9fef-4197-a00b-8e345411737e\",\r\n \"\ - frontendIPConfigurations\": [\r\n {\r\n \"name\": \"myIPConfiguration\"\ - ,\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/loadbalancer/frontendIPConfigurations/myIPConfiguration\"\ - ,\r\n \"etag\": \"W/\\\"acda3e56-3e4f-477d-811c-636ee8f1a07c\\\"\"\ - ,\r\n \"type\": \"Microsoft.Network/loadBalancers/frontendIPConfigurations\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"privateIPAddress\": \"10.0.0.4\",\r\n \"privateIPAllocationMethod\"\ - : \"Dynamic\",\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork/subnets/subnet1\"\ - \r\n },\r\n \"privateIPAddressVersion\": \"IPv4\"\r\n \ - \ }\r\n }\r\n ],\r\n \"backendAddressPools\": [],\r\n \"\ - loadBalancingRules\": [],\r\n \"probes\": [],\r\n \"inboundNatRules\"\ - : [],\r\n \"outboundRules\": [],\r\n \"inboundNatPools\": []\r\n },\r\ - \n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Regional\"\ - \r\n }\r\n}" + string: "{\r\n \"name\": \"loadbalancer\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/loadbalancer\",\r\n + \ \"etag\": \"W/\\\"bc553ca5-f606-458c-86e3-049d68cf934a\\\"\",\r\n \"type\": + \"Microsoft.Network/loadBalancers\",\r\n \"location\": \"eastus\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"09e21d89-0d15-4c5c-b58e-07af48f135cb\",\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"myIPConfiguration\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/loadbalancer/frontendIPConfigurations/myIPConfiguration\",\r\n + \ \"etag\": \"W/\\\"bc553ca5-f606-458c-86e3-049d68cf934a\\\"\",\r\n + \ \"type\": \"Microsoft.Network/loadBalancers/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAddress\": \"10.0.0.4\",\r\n \"privateIPAllocationMethod\": + \"Dynamic\",\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork/subnets/subnet1\"\r\n + \ },\r\n \"privateIPAddressVersion\": \"IPv4\"\r\n }\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [],\r\n \"loadBalancingRules\": + [],\r\n \"probes\": [],\r\n \"inboundNatRules\": [],\r\n \"outboundRules\": + [],\r\n \"inboundNatPools\": []\r\n },\r\n \"sku\": {\r\n \"name\": + \"Standard\",\r\n \"tier\": \"Regional\"\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '1717' + - '1732' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:08:24 GMT + - Fri, 14 May 2021 04:35:20 GMT etag: - - W/"acda3e56-3e4f-477d-811c-636ee8f1a07c" + - W/"bc553ca5-f606-458c-86e3-049d68cf934a" expires: - '-1' pragma: @@ -635,7 +689,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 3737fb38-4935-4ab8-9c4f-e2968c8e103f + - 2f0f2265-c1e5-4aaa-aecb-3ec084ee40c9 status: code: 200 message: OK @@ -655,51 +709,51 @@ interactions: Connection: - keep-alive Content-Length: - - '897' + - '907' Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateLinkServices/myService?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateLinkServices/myService?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"myService\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateLinkServices/myService\"\ - ,\r\n \"etag\": \"W/\\\"4734a326-e985-4270-aeb4-283cd31437da\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/privateLinkServices\",\r\n \"location\":\ - \ \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\"\ - ,\r\n \"resourceGuid\": \"abd48bd8-52e0-45c6-b164-4833e0f9090b\",\r\n \ - \ \"fqdns\": [\r\n \"fqdn1\",\r\n \"fqdn2\",\r\n \"fqdn3\"\ - \r\n ],\r\n \"alias\": \"myservice.eacaa4ce-91fd-48fc-b259-97feaf39ba5e.eastus.azure.privatelinkservice\"\ - ,\r\n \"visibility\": {\r\n \"subscriptions\": [\r\n \"00000000-0000-0000-0000-000000000000\"\ - \r\n ]\r\n },\r\n \"autoApproval\": {\r\n \"subscriptions\"\ - : [\r\n \"00000000-0000-0000-0000-000000000000\"\r\n ]\r\n \ - \ },\r\n \"enableProxyProtocol\": false,\r\n \"loadBalancerFrontendIpConfigurations\"\ - : [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/loadbalancer/frontendIPConfigurations/myIPConfiguration\"\ - \r\n }\r\n ],\r\n \"ipConfigurations\": [\r\n {\r\n \ - \ \"name\": \"myIPConfiguration\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateLinkServices/myService/ipConfigurations/myIPConfiguration\"\ - ,\r\n \"etag\": \"W/\\\"4734a326-e985-4270-aeb4-283cd31437da\\\"\"\ - ,\r\n \"type\": \"Microsoft.Network/privateLinkServices/ipConfigurations\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"\ - subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork/subnets/subnet1\"\ - \r\n },\r\n \"primary\": true,\r\n \"privateIPAddressVersion\"\ - : \"IPv4\"\r\n }\r\n }\r\n ],\r\n \"privateEndpointConnections\"\ - : [],\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/myService.nic.3d804766-71ca-410e-a576-b696c0fffc82\"\ - \r\n }\r\n ]\r\n }\r\n}" + string: "{\r\n \"name\": \"myService\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateLinkServices/myService\",\r\n + \ \"etag\": \"W/\\\"4c9e701d-8507-4af1-a6fb-d52a2956d0b6\\\"\",\r\n \"type\": + \"Microsoft.Network/privateLinkServices\",\r\n \"location\": \"eastus\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": + \"f1284d81-bfae-4e19-8fa8-4d0a821c5a34\",\r\n \"fqdns\": [\r\n \"fqdn1\",\r\n + \ \"fqdn2\",\r\n \"fqdn3\"\r\n ],\r\n \"alias\": \"myservice.bb01df9b-c34f-4006-9571-e617aa367d70.eastus.azure.privatelinkservice\",\r\n + \ \"visibility\": {\r\n \"subscriptions\": [\r\n \"00000000-0000-0000-0000-000000000000\"\r\n + \ ]\r\n },\r\n \"autoApproval\": {\r\n \"subscriptions\": [\r\n + \ \"00000000-0000-0000-0000-000000000000\"\r\n ]\r\n },\r\n + \ \"enableProxyProtocol\": false,\r\n \"loadBalancerFrontendIpConfigurations\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/loadbalancer/frontendIPConfigurations/myIPConfiguration\"\r\n + \ }\r\n ],\r\n \"ipConfigurations\": [\r\n {\r\n \"name\": + \"myIPConfiguration\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateLinkServices/myService/ipConfigurations/myIPConfiguration\",\r\n + \ \"etag\": \"W/\\\"4c9e701d-8507-4af1-a6fb-d52a2956d0b6\\\"\",\r\n + \ \"type\": \"Microsoft.Network/privateLinkServices/ipConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"subnet\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork/subnets/subnet1\"\r\n + \ },\r\n \"primary\": true,\r\n \"privateIPAddressVersion\": + \"IPv4\"\r\n }\r\n }\r\n ],\r\n \"privateEndpointConnections\": + [],\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/myService.nic.d65ad3e8-d10e-4506-830a-9a8f8fd9b0c7\"\r\n + \ }\r\n ]\r\n }\r\n}" headers: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/8b434e6f-29b3-4e67-a4be-88b2e2a63df2?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/5a0a217f-f01d-40e8-99cf-79bfe1c49a7c?api-version=2021-02-01 cache-control: - no-cache content-length: - - '2570' + - '2595' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:08:29 GMT + - Fri, 14 May 2021 04:35:21 GMT expires: - '-1' pragma: @@ -712,7 +766,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 11753848-9a8a-4622-afb8-73ccd8d7517f + - e36314c5-8ad4-48fb-93d2-d2f1a3466f12 x-ms-ratelimit-remaining-subscription-writes: - '1195' status: @@ -728,9 +782,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/8b434e6f-29b3-4e67-a4be-88b2e2a63df2?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/5a0a217f-f01d-40e8-99cf-79bfe1c49a7c?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -742,7 +797,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:08:40 GMT + - Fri, 14 May 2021 04:35:31 GMT expires: - '-1' pragma: @@ -759,7 +814,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 2fc64ce9-448e-47ee-8fc6-718b71637810 + - 4742106a-9568-4045-b1ae-f03041ee1abd status: code: 200 message: OK @@ -773,45 +828,45 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateLinkServices/myService?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateLinkServices/myService?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"myService\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateLinkServices/myService\"\ - ,\r\n \"etag\": \"W/\\\"e4dcdda1-5f93-4d78-9608-9606d11fc44e\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/privateLinkServices\",\r\n \"location\":\ - \ \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"resourceGuid\": \"abd48bd8-52e0-45c6-b164-4833e0f9090b\",\r\n \ - \ \"fqdns\": [\r\n \"fqdn1\",\r\n \"fqdn2\",\r\n \"fqdn3\"\ - \r\n ],\r\n \"alias\": \"myservice.eacaa4ce-91fd-48fc-b259-97feaf39ba5e.eastus.azure.privatelinkservice\"\ - ,\r\n \"visibility\": {\r\n \"subscriptions\": [\r\n \"00000000-0000-0000-0000-000000000000\"\ - \r\n ]\r\n },\r\n \"autoApproval\": {\r\n \"subscriptions\"\ - : [\r\n \"00000000-0000-0000-0000-000000000000\"\r\n ]\r\n \ - \ },\r\n \"enableProxyProtocol\": false,\r\n \"loadBalancerFrontendIpConfigurations\"\ - : [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/loadbalancer/frontendIPConfigurations/myIPConfiguration\"\ - \r\n }\r\n ],\r\n \"ipConfigurations\": [\r\n {\r\n \ - \ \"name\": \"myIPConfiguration\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateLinkServices/myService/ipConfigurations/myIPConfiguration\"\ - ,\r\n \"etag\": \"W/\\\"e4dcdda1-5f93-4d78-9608-9606d11fc44e\\\"\"\ - ,\r\n \"type\": \"Microsoft.Network/privateLinkServices/ipConfigurations\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"\ - subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork/subnets/subnet1\"\ - \r\n },\r\n \"primary\": true,\r\n \"privateIPAddressVersion\"\ - : \"IPv4\"\r\n }\r\n }\r\n ],\r\n \"privateEndpointConnections\"\ - : [],\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/myService.nic.3d804766-71ca-410e-a576-b696c0fffc82\"\ - \r\n }\r\n ]\r\n }\r\n}" + string: "{\r\n \"name\": \"myService\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateLinkServices/myService\",\r\n + \ \"etag\": \"W/\\\"581b5c9b-72f8-490d-9bf8-9226a9b2ac59\\\"\",\r\n \"type\": + \"Microsoft.Network/privateLinkServices\",\r\n \"location\": \"eastus\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": + \"f1284d81-bfae-4e19-8fa8-4d0a821c5a34\",\r\n \"fqdns\": [\r\n \"fqdn1\",\r\n + \ \"fqdn2\",\r\n \"fqdn3\"\r\n ],\r\n \"alias\": \"myservice.bb01df9b-c34f-4006-9571-e617aa367d70.eastus.azure.privatelinkservice\",\r\n + \ \"visibility\": {\r\n \"subscriptions\": [\r\n \"00000000-0000-0000-0000-000000000000\"\r\n + \ ]\r\n },\r\n \"autoApproval\": {\r\n \"subscriptions\": [\r\n + \ \"00000000-0000-0000-0000-000000000000\"\r\n ]\r\n },\r\n + \ \"enableProxyProtocol\": false,\r\n \"loadBalancerFrontendIpConfigurations\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/loadbalancer/frontendIPConfigurations/myIPConfiguration\"\r\n + \ }\r\n ],\r\n \"ipConfigurations\": [\r\n {\r\n \"name\": + \"myIPConfiguration\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateLinkServices/myService/ipConfigurations/myIPConfiguration\",\r\n + \ \"etag\": \"W/\\\"581b5c9b-72f8-490d-9bf8-9226a9b2ac59\\\"\",\r\n + \ \"type\": \"Microsoft.Network/privateLinkServices/ipConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"subnet\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork/subnets/subnet1\"\r\n + \ },\r\n \"primary\": true,\r\n \"privateIPAddressVersion\": + \"IPv4\"\r\n }\r\n }\r\n ],\r\n \"privateEndpointConnections\": + [],\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/myService.nic.d65ad3e8-d10e-4506-830a-9a8f8fd9b0c7\"\r\n + \ }\r\n ]\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '2571' + - '2596' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:08:40 GMT + - Fri, 14 May 2021 04:35:31 GMT etag: - - W/"e4dcdda1-5f93-4d78-9608-9606d11fc44e" + - W/"581b5c9b-72f8-490d-9bf8-9226a9b2ac59" expires: - '-1' pragma: @@ -828,7 +883,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - d20ca1e3-8b80-4ec7-9ea8-fcd6cb1145d0 + - b53fb9ea-12f9-4e77-b05b-fc928246a98e status: code: 200 message: OK @@ -844,47 +899,45 @@ interactions: Connection: - keep-alive Content-Length: - - '579' + - '589' Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"myPrivateEndpoint\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint\"\ - ,\r\n \"etag\": \"W/\\\"6a7cc389-349c-4564-839f-8308f6d4ebc1\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"\ - eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\"\ - ,\r\n \"resourceGuid\": \"d00c6aaa-6489-4a9f-8481-c053e270e665\",\r\n \ - \ \"privateLinkServiceConnections\": [\r\n {\r\n \"name\": \"\ - myService\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint/privateLinkServiceConnections/myService\"\ - ,\r\n \"etag\": \"W/\\\"6a7cc389-349c-4564-839f-8308f6d4ebc1\\\"\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"privateLinkServiceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateLinkServices/myService\"\ - ,\r\n \"privateLinkServiceConnectionState\": {\r\n \"\ - status\": \"Approved\",\r\n \"description\": \"\",\r\n \ - \ \"actionsRequired\": \"None\"\r\n }\r\n },\r\n \ - \ \"type\": \"Microsoft.Network/privateEndpoints/privateLinkServiceConnections\"\ - \r\n }\r\n ],\r\n \"manualPrivateLinkServiceConnections\": [],\r\ - \n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork/subnets/subnet2\"\ - \r\n },\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"\ - /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/myPrivateEndpoint.nic.1345a8c7-671c-4562-a9a3-9e1abeab020f\"\ - \r\n }\r\n ],\r\n \"customDnsConfigs\": []\r\n }\r\n}" + string: "{\r\n \"name\": \"myPrivateEndpoint\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint\",\r\n + \ \"etag\": \"W/\\\"5e1793df-8ec1-4ec6-a622-8ba6c391a432\\\"\",\r\n \"type\": + \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"eastus\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": + \"49eaaa91-7450-48c2-a566-cbb9010c3b95\",\r\n \"privateLinkServiceConnections\": + [\r\n {\r\n \"name\": \"myService\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint/privateLinkServiceConnections/myService\",\r\n + \ \"etag\": \"W/\\\"5e1793df-8ec1-4ec6-a622-8ba6c391a432\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateLinkServiceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateLinkServices/myService\",\r\n + \ \"privateLinkServiceConnectionState\": {\r\n \"status\": + \"Approved\",\r\n \"description\": \"\",\r\n \"actionsRequired\": + \"None\"\r\n }\r\n },\r\n \"type\": \"Microsoft.Network/privateEndpoints/privateLinkServiceConnections\"\r\n + \ }\r\n ],\r\n \"manualPrivateLinkServiceConnections\": [],\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork/subnets/subnet2\"\r\n + \ },\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/myPrivateEndpoint.nic.095e2f4d-abbc-4592-a78a-db9bd50197ec\"\r\n + \ }\r\n ],\r\n \"customDnsConfigs\": []\r\n }\r\n}" headers: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/62ce2161-08b6-402a-8585-3d37767d37cb?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3e24a772-aba9-433e-9783-ac29ce1322fd?api-version=2021-02-01 cache-control: - no-cache content-length: - - '2158' + - '2183' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:08:45 GMT + - Fri, 14 May 2021 04:35:32 GMT expires: - '-1' pragma: @@ -897,7 +950,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - ca782dd0-88ee-4818-9999-747c4b3bd368 + - 76d2f508-076a-4523-8468-b6327b9c7ed8 x-ms-ratelimit-remaining-subscription-writes: - '1194' status: @@ -913,9 +966,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/62ce2161-08b6-402a-8585-3d37767d37cb?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3e24a772-aba9-433e-9783-ac29ce1322fd?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -927,7 +981,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:08:55 GMT + - Fri, 14 May 2021 04:35:43 GMT expires: - '-1' pragma: @@ -944,7 +998,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 81443350-58a5-4a3a-90dc-65f40a97a752 + - 8493425a-11db-4d13-a0c8-602ac76d5a0b status: code: 200 message: OK @@ -958,41 +1012,39 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"myPrivateEndpoint\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint\"\ - ,\r\n \"etag\": \"W/\\\"dd33cb1c-52f1-40e2-abc1-1bbefdd9b8a1\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"\ - eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"resourceGuid\": \"d00c6aaa-6489-4a9f-8481-c053e270e665\",\r\n \ - \ \"privateLinkServiceConnections\": [\r\n {\r\n \"name\": \"\ - myService\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint/privateLinkServiceConnections/myService\"\ - ,\r\n \"etag\": \"W/\\\"dd33cb1c-52f1-40e2-abc1-1bbefdd9b8a1\\\"\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"privateLinkServiceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateLinkServices/myService\"\ - ,\r\n \"privateLinkServiceConnectionState\": {\r\n \"\ - status\": \"Approved\",\r\n \"description\": \"Approved\",\r\n\ - \ \"actionsRequired\": \"None\"\r\n }\r\n },\r\n\ - \ \"type\": \"Microsoft.Network/privateEndpoints/privateLinkServiceConnections\"\ - \r\n }\r\n ],\r\n \"manualPrivateLinkServiceConnections\": [],\r\ - \n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork/subnets/subnet2\"\ - \r\n },\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"\ - /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/myPrivateEndpoint.nic.1345a8c7-671c-4562-a9a3-9e1abeab020f\"\ - \r\n }\r\n ],\r\n \"customDnsConfigs\": []\r\n }\r\n}" + string: "{\r\n \"name\": \"myPrivateEndpoint\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint\",\r\n + \ \"etag\": \"W/\\\"6b08ef21-7465-4d78-9eb1-3ea4bb462047\\\"\",\r\n \"type\": + \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"eastus\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": + \"49eaaa91-7450-48c2-a566-cbb9010c3b95\",\r\n \"privateLinkServiceConnections\": + [\r\n {\r\n \"name\": \"myService\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint/privateLinkServiceConnections/myService\",\r\n + \ \"etag\": \"W/\\\"6b08ef21-7465-4d78-9eb1-3ea4bb462047\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateLinkServiceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateLinkServices/myService\",\r\n + \ \"privateLinkServiceConnectionState\": {\r\n \"status\": + \"Approved\",\r\n \"description\": \"Approved\",\r\n \"actionsRequired\": + \"None\"\r\n }\r\n },\r\n \"type\": \"Microsoft.Network/privateEndpoints/privateLinkServiceConnections\"\r\n + \ }\r\n ],\r\n \"manualPrivateLinkServiceConnections\": [],\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork/subnets/subnet2\"\r\n + \ },\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/myPrivateEndpoint.nic.095e2f4d-abbc-4592-a78a-db9bd50197ec\"\r\n + \ }\r\n ],\r\n \"customDnsConfigs\": []\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '2167' + - '2192' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:08:56 GMT + - Fri, 14 May 2021 04:35:43 GMT etag: - - W/"dd33cb1c-52f1-40e2-abc1-1bbefdd9b8a1" + - W/"6b08ef21-7465-4d78-9eb1-3ea4bb462047" expires: - '-1' pragma: @@ -1009,7 +1061,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - d14037fd-e4c3-4edb-a5ad-38f2c4928fad + - a3bd44d5-6e61-4b0b-b46b-ed668fce3618 status: code: 200 message: OK @@ -1023,56 +1075,55 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateLinkServices/myService?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateLinkServices/myService?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"myService\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateLinkServices/myService\"\ - ,\r\n \"etag\": \"W/\\\"a30aff13-a063-4d45-a295-f40d98806e23\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/privateLinkServices\",\r\n \"location\":\ - \ \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"resourceGuid\": \"abd48bd8-52e0-45c6-b164-4833e0f9090b\",\r\n \ - \ \"fqdns\": [\r\n \"fqdn1\",\r\n \"fqdn2\",\r\n \"fqdn3\"\ - \r\n ],\r\n \"alias\": \"myservice.eacaa4ce-91fd-48fc-b259-97feaf39ba5e.eastus.azure.privatelinkservice\"\ - ,\r\n \"visibility\": {\r\n \"subscriptions\": [\r\n \"00000000-0000-0000-0000-000000000000\"\ - \r\n ]\r\n },\r\n \"autoApproval\": {\r\n \"subscriptions\"\ - : [\r\n \"00000000-0000-0000-0000-000000000000\"\r\n ]\r\n \ - \ },\r\n \"enableProxyProtocol\": false,\r\n \"loadBalancerFrontendIpConfigurations\"\ - : [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/loadbalancer/frontendIPConfigurations/myIPConfiguration\"\ - \r\n }\r\n ],\r\n \"ipConfigurations\": [\r\n {\r\n \ - \ \"name\": \"myIPConfiguration\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateLinkServices/myService/ipConfigurations/myIPConfiguration\"\ - ,\r\n \"etag\": \"W/\\\"a30aff13-a063-4d45-a295-f40d98806e23\\\"\"\ - ,\r\n \"type\": \"Microsoft.Network/privateLinkServices/ipConfigurations\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"\ - subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork/subnets/subnet1\"\ - \r\n },\r\n \"primary\": true,\r\n \"privateIPAddressVersion\"\ - : \"IPv4\"\r\n }\r\n }\r\n ],\r\n \"privateEndpointConnections\"\ - : [\r\n {\r\n \"name\": \"myPrivateEndpoint.d00c6aaa-6489-4a9f-8481-c053e270e665\"\ - ,\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateLinkServices/myService/privateEndpointConnections/myPrivateEndpoint.d00c6aaa-6489-4a9f-8481-c053e270e665\"\ - ,\r\n \"etag\": \"W/\\\"a30aff13-a063-4d45-a295-f40d98806e23\\\"\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"privateEndpoint\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint\"\ - \r\n },\r\n \"privateLinkServiceConnectionState\": {\r\n\ - \ \"status\": \"Approved\",\r\n \"description\": \"\ - Approved\",\r\n \"actionsRequired\": \"None\"\r\n },\r\ - \n \"linkIdentifier\": \"536876153\"\r\n },\r\n \"\ - type\": \"Microsoft.Network/privateLinkServices/privateEndpointConnections\"\ - \r\n }\r\n ],\r\n \"networkInterfaces\": [\r\n {\r\n \ - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/myService.nic.3d804766-71ca-410e-a576-b696c0fffc82\"\ - \r\n }\r\n ]\r\n }\r\n}" + string: "{\r\n \"name\": \"myService\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateLinkServices/myService\",\r\n + \ \"etag\": \"W/\\\"8178f1f4-46ea-4eb0-8a65-9b5a9866c819\\\"\",\r\n \"type\": + \"Microsoft.Network/privateLinkServices\",\r\n \"location\": \"eastus\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": + \"f1284d81-bfae-4e19-8fa8-4d0a821c5a34\",\r\n \"fqdns\": [\r\n \"fqdn1\",\r\n + \ \"fqdn2\",\r\n \"fqdn3\"\r\n ],\r\n \"alias\": \"myservice.bb01df9b-c34f-4006-9571-e617aa367d70.eastus.azure.privatelinkservice\",\r\n + \ \"visibility\": {\r\n \"subscriptions\": [\r\n \"00000000-0000-0000-0000-000000000000\"\r\n + \ ]\r\n },\r\n \"autoApproval\": {\r\n \"subscriptions\": [\r\n + \ \"00000000-0000-0000-0000-000000000000\"\r\n ]\r\n },\r\n + \ \"enableProxyProtocol\": false,\r\n \"loadBalancerFrontendIpConfigurations\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/loadbalancer/frontendIPConfigurations/myIPConfiguration\"\r\n + \ }\r\n ],\r\n \"ipConfigurations\": [\r\n {\r\n \"name\": + \"myIPConfiguration\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateLinkServices/myService/ipConfigurations/myIPConfiguration\",\r\n + \ \"etag\": \"W/\\\"8178f1f4-46ea-4eb0-8a65-9b5a9866c819\\\"\",\r\n + \ \"type\": \"Microsoft.Network/privateLinkServices/ipConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"subnet\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork/subnets/subnet1\"\r\n + \ },\r\n \"primary\": true,\r\n \"privateIPAddressVersion\": + \"IPv4\"\r\n }\r\n }\r\n ],\r\n \"privateEndpointConnections\": + [\r\n {\r\n \"name\": \"myPrivateEndpoint.49eaaa91-7450-48c2-a566-cbb9010c3b95\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateLinkServices/myService/privateEndpointConnections/myPrivateEndpoint.49eaaa91-7450-48c2-a566-cbb9010c3b95\",\r\n + \ \"etag\": \"W/\\\"8178f1f4-46ea-4eb0-8a65-9b5a9866c819\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateEndpoint\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint\"\r\n + \ },\r\n \"privateLinkServiceConnectionState\": {\r\n \"status\": + \"Approved\",\r\n \"description\": \"Approved\",\r\n \"actionsRequired\": + \"None\"\r\n },\r\n \"linkIdentifier\": \"536910126\"\r\n + \ },\r\n \"type\": \"Microsoft.Network/privateLinkServices/privateEndpointConnections\"\r\n + \ }\r\n ],\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/myService.nic.d65ad3e8-d10e-4506-830a-9a8f8fd9b0c7\"\r\n + \ }\r\n ]\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '3692' + - '3727' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:08:56 GMT + - Fri, 14 May 2021 04:35:43 GMT etag: - - W/"a30aff13-a063-4d45-a295-f40d98806e23" + - W/"8178f1f4-46ea-4eb0-8a65-9b5a9866c819" expires: - '-1' pragma: @@ -1089,12 +1140,12 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 3232d252-85f7-47c1-b73b-a5a26ec597d4 + - 7e91f54c-c3c6-40d6-9b99-5cba59dd8cea status: code: 200 message: OK - request: - body: '{"name": "myPrivateEndpoint.d00c6aaa-6489-4a9f-8481-c053e270e665", "properties": + body: '{"name": "myPrivateEndpoint.49eaaa91-7450-48c2-a566-cbb9010c3b95", "properties": {"privateLinkServiceConnectionState": {"status": "Approved", "description": "approved it for some reason."}}}' headers: @@ -1109,32 +1160,32 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateLinkServices/myService/privateEndpointConnections/myPrivateEndpoint.d00c6aaa-6489-4a9f-8481-c053e270e665?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateLinkServices/myService/privateEndpointConnections/myPrivateEndpoint.49eaaa91-7450-48c2-a566-cbb9010c3b95?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"myPrivateEndpoint.d00c6aaa-6489-4a9f-8481-c053e270e665\"\ - ,\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateLinkServices/myService/privateEndpointConnections/myPrivateEndpoint.d00c6aaa-6489-4a9f-8481-c053e270e665\"\ - ,\r\n \"etag\": \"W/\\\"398c91d9-42f9-4bd7-9d44-9aac9b326469\\\"\",\r\n \ - \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"\ - privateEndpoint\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint\"\ - \r\n },\r\n \"privateLinkServiceConnectionState\": {\r\n \"status\"\ - : \"Approved\",\r\n \"description\": \"approved it for some reason.\"\ - ,\r\n \"actionsRequired\": \"\"\r\n },\r\n \"linkIdentifier\":\ - \ \"536876153\"\r\n },\r\n \"type\": \"Microsoft.Network/privateLinkServices/privateEndpointConnections\"\ - \r\n}" + string: "{\r\n \"name\": \"myPrivateEndpoint.49eaaa91-7450-48c2-a566-cbb9010c3b95\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateLinkServices/myService/privateEndpointConnections/myPrivateEndpoint.49eaaa91-7450-48c2-a566-cbb9010c3b95\",\r\n + \ \"etag\": \"W/\\\"21ef376a-af5f-4164-be56-cfc498379a7f\\\"\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Updating\",\r\n \"privateEndpoint\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint\"\r\n + \ },\r\n \"privateLinkServiceConnectionState\": {\r\n \"status\": + \"Approved\",\r\n \"description\": \"approved it for some reason.\",\r\n + \ \"actionsRequired\": \"\"\r\n },\r\n \"linkIdentifier\": \"536910126\"\r\n + \ },\r\n \"type\": \"Microsoft.Network/privateLinkServices/privateEndpointConnections\"\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/a23e23e0-2da3-42bb-a3d5-50e070a7087d?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/822fe875-369f-43f4-9146-c471e766e5e9?api-version=2021-02-01 cache-control: - no-cache content-length: - - '1020' + - '1030' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:08:57 GMT + - Fri, 14 May 2021 04:35:43 GMT expires: - '-1' pragma: @@ -1151,7 +1202,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - ae9b3030-50e5-4793-adcb-ac7ebf84170b + - 13782c9f-a9cd-47ad-a9d9-47add1f80178 x-ms-ratelimit-remaining-subscription-writes: - '1193' status: @@ -1171,8 +1222,9 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 - msrest_azure/0.6.2 azure-mgmt-privatedns/0.1.0 Azure-SDK-For-Python + - python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) msrest/0.6.21 + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 msrest_azure/0.6.4 + azure-mgmt-privatedns/0.1.0 Azure-SDK-For-Python accept-language: - en-US method: PUT @@ -1182,7 +1234,7 @@ interactions: string: '{}' headers: azure-asyncoperation: - - https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateDnsOperationStatuses/RnJvbnRFbmRBc3luY09wZXJhdGlvbjtVcHNlcnRQcml2YXRlRG5zWm9uZTswMmU4MDllNS02MDVjLTQ1YmEtYTE0Zi1hYTNiMDU2YjA4ZDU=?api-version=2018-09-01 + - https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateDnsOperationStatuses/RnJvbnRFbmRBc3luY09wZXJhdGlvbjtVcHNlcnRQcml2YXRlRG5zWm9uZTs5ODMwYmM3MS02ODM3LTQ2MDQtOTlhMS1kNWRmMjY0NTFkNWI=?api-version=2018-09-01 cache-control: - private content-length: @@ -1190,9 +1242,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:09:06 GMT + - Fri, 14 May 2021 04:35:43 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateDnsOperationResults/RnJvbnRFbmRBc3luY09wZXJhdGlvbjtVcHNlcnRQcml2YXRlRG5zWm9uZTswMmU4MDllNS02MDVjLTQ1YmEtYTE0Zi1hYTNiMDU2YjA4ZDU=?api-version=2018-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateDnsOperationResults/RnJvbnRFbmRBc3luY09wZXJhdGlvbjtVcHNlcnRQcml2YXRlRG5zWm9uZTs5ODMwYmM3MS02ODM3LTQ2MDQtOTlhMS1kNWRmMjY0NTFkNWI=?api-version=2018-09-01 server: - Microsoft-IIS/10.0 strict-transport-security: @@ -1218,10 +1270,11 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 - msrest_azure/0.6.2 azure-mgmt-privatedns/0.1.0 Azure-SDK-For-Python + - python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) msrest/0.6.21 + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 msrest_azure/0.6.4 + azure-mgmt-privatedns/0.1.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateDnsOperationStatuses/RnJvbnRFbmRBc3luY09wZXJhdGlvbjtVcHNlcnRQcml2YXRlRG5zWm9uZTswMmU4MDllNS02MDVjLTQ1YmEtYTE0Zi1hYTNiMDU2YjA4ZDU=?api-version=2018-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateDnsOperationStatuses/RnJvbnRFbmRBc3luY09wZXJhdGlvbjtVcHNlcnRQcml2YXRlRG5zWm9uZTs5ODMwYmM3MS02ODM3LTQ2MDQtOTlhMS1kNWRmMjY0NTFkNWI=?api-version=2018-09-01 response: body: string: '{"status":"Succeeded"}' @@ -1233,7 +1286,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:09:36 GMT + - Fri, 14 May 2021 04:36:14 GMT server: - Microsoft-IIS/10.0 strict-transport-security: @@ -1263,24 +1316,25 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.21 - msrest_azure/0.6.2 azure-mgmt-privatedns/0.1.0 Azure-SDK-For-Python + - python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) msrest/0.6.21 + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 msrest_azure/0.6.4 + azure-mgmt-privatedns/0.1.0 Azure-SDK-For-Python method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateDnsZones/www.zone1.com?api-version=2018-09-01 response: body: - string: '{"id":"\/subscriptions\/00000000-0000-0000-0000-000000000000\/resourceGroups\/rgname\/providers\/Microsoft.Network\/privateDnsZones\/www.zone1.com","name":"www.zone1.com","type":"Microsoft.Network\/privateDnsZones","etag":"aff4f266-bc0f-4c02-9237-746ac012de0e","location":"global","properties":{"maxNumberOfRecordSets":25000,"maxNumberOfVirtualNetworkLinks":1000,"maxNumberOfVirtualNetworkLinksWithRegistration":100,"numberOfRecordSets":1,"numberOfVirtualNetworkLinks":0,"numberOfVirtualNetworkLinksWithRegistration":0,"provisioningState":"Succeeded"}}' + string: '{"id":"\/subscriptions\/00000000-0000-0000-0000-000000000000\/resourceGroups\/rgname\/providers\/Microsoft.Network\/privateDnsZones\/www.zone1.com","name":"www.zone1.com","type":"Microsoft.Network\/privateDnsZones","etag":"b0b64ea7-13f6-46cf-8cd3-6e765ae844f5","location":"global","properties":{"maxNumberOfRecordSets":25000,"maxNumberOfVirtualNetworkLinks":1000,"maxNumberOfVirtualNetworkLinksWithRegistration":100,"numberOfRecordSets":1,"numberOfVirtualNetworkLinks":0,"numberOfVirtualNetworkLinksWithRegistration":0,"provisioningState":"Succeeded"}}' headers: cache-control: - private content-length: - - '621' + - '626' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:09:37 GMT + - Fri, 14 May 2021 04:36:14 GMT etag: - - aff4f266-bc0f-4c02-9237-746ac012de0e + - b0b64ea7-13f6-46cf-8cd3-6e765ae844f5 server: - Microsoft-IIS/10.0 strict-transport-security: @@ -1311,38 +1365,37 @@ interactions: Connection: - keep-alive Content-Length: - - '335' + - '340' Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint/privateDnsZoneGroups/myPrivateDnsZoneGroup?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint/privateDnsZoneGroups/myPrivateDnsZoneGroup?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"myPrivateDnsZoneGroup\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint/privateDnsZoneGroups/myPrivateDnsZoneGroup\"\ - ,\r\n \"etag\": \"W/\\\"acca3be8-615f-4d47-a3a9-837ccb962911\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/privateEndpoints/privateDnsZoneGroups\",\r\ - \n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"\ - privateDnsZoneConfigs\": [\r\n {\r\n \"name\": \"zone1\",\r\n\ - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint/privateDnsZoneGroups/myPrivateDnsZoneGroup/privateDnsZoneConfigs/zone1\"\ - ,\r\n \"etag\": \"W/\\\"acca3be8-615f-4d47-a3a9-837ccb962911\\\"\"\ - ,\r\n \"type\": \"Microsoft.Network/privateEndpoints/privateDnsZoneGroups/privateDnsZoneConfigs\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\"\ - ,\r\n \"privateDnsZoneId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateDnsZones/www.zone1.com\"\ - ,\r\n \"recordSets\": []\r\n }\r\n }\r\n ]\r\n }\r\ - \n}" + string: "{\r\n \"name\": \"myPrivateDnsZoneGroup\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint/privateDnsZoneGroups/myPrivateDnsZoneGroup\",\r\n + \ \"etag\": \"W/\\\"ead4ad3b-6728-4d2f-b0c6-e6547bf69de7\\\"\",\r\n \"type\": + \"Microsoft.Network/privateEndpoints/privateDnsZoneGroups\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Updating\",\r\n \"privateDnsZoneConfigs\": + [\r\n {\r\n \"name\": \"zone1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint/privateDnsZoneGroups/myPrivateDnsZoneGroup/privateDnsZoneConfigs/zone1\",\r\n + \ \"etag\": \"W/\\\"ead4ad3b-6728-4d2f-b0c6-e6547bf69de7\\\"\",\r\n + \ \"type\": \"Microsoft.Network/privateEndpoints/privateDnsZoneGroups/privateDnsZoneConfigs\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"privateDnsZoneId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateDnsZones/www.zone1.com\",\r\n + \ \"recordSets\": []\r\n }\r\n }\r\n ]\r\n }\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/1714dd7a-b2c2-463e-a94f-342eb42b0ce8?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/bbcf12bb-50c7-4abe-b356-76acc4ad421d?api-version=2021-02-01 cache-control: - no-cache content-length: - - '1372' + - '1387' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:09:38 GMT + - Fri, 14 May 2021 04:36:14 GMT expires: - '-1' pragma: @@ -1355,7 +1408,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 836056bb-bfa5-48cd-ac09-b863ece8c4be + - cb3792eb-c144-4221-8707-da20b63b553b x-ms-ratelimit-remaining-subscription-writes: - '1192' status: @@ -1371,9 +1424,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/1714dd7a-b2c2-463e-a94f-342eb42b0ce8?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/bbcf12bb-50c7-4abe-b356-76acc4ad421d?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -1385,7 +1439,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:09:48 GMT + - Fri, 14 May 2021 04:36:25 GMT expires: - '-1' pragma: @@ -1402,7 +1456,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 36ce1b35-2393-4822-beb3-1655b11f3e42 + - 4d4b083d-389f-439e-87f7-4982666c04b0 status: code: 200 message: OK @@ -1416,34 +1470,33 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint/privateDnsZoneGroups/myPrivateDnsZoneGroup?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint/privateDnsZoneGroups/myPrivateDnsZoneGroup?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"myPrivateDnsZoneGroup\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint/privateDnsZoneGroups/myPrivateDnsZoneGroup\"\ - ,\r\n \"etag\": \"W/\\\"d1af8acf-1138-497a-a715-3b99187e7b16\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/privateEndpoints/privateDnsZoneGroups\",\r\ - \n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ - \ \"privateDnsZoneConfigs\": [\r\n {\r\n \"name\": \"zone1\",\r\ - \n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint/privateDnsZoneGroups/myPrivateDnsZoneGroup/privateDnsZoneConfigs/zone1\"\ - ,\r\n \"etag\": \"W/\\\"d1af8acf-1138-497a-a715-3b99187e7b16\\\"\"\ - ,\r\n \"type\": \"Microsoft.Network/privateEndpoints/privateDnsZoneGroups/privateDnsZoneConfigs\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"privateDnsZoneId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateDnsZones/www.zone1.com\"\ - ,\r\n \"recordSets\": []\r\n }\r\n }\r\n ]\r\n }\r\ - \n}" + string: "{\r\n \"name\": \"myPrivateDnsZoneGroup\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint/privateDnsZoneGroups/myPrivateDnsZoneGroup\",\r\n + \ \"etag\": \"W/\\\"4c020ef4-725d-4c2b-a5bd-186fceca55c8\\\"\",\r\n \"type\": + \"Microsoft.Network/privateEndpoints/privateDnsZoneGroups\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"privateDnsZoneConfigs\": + [\r\n {\r\n \"name\": \"zone1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint/privateDnsZoneGroups/myPrivateDnsZoneGroup/privateDnsZoneConfigs/zone1\",\r\n + \ \"etag\": \"W/\\\"4c020ef4-725d-4c2b-a5bd-186fceca55c8\\\"\",\r\n + \ \"type\": \"Microsoft.Network/privateEndpoints/privateDnsZoneGroups/privateDnsZoneConfigs\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateDnsZoneId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateDnsZones/www.zone1.com\",\r\n + \ \"recordSets\": []\r\n }\r\n }\r\n ]\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '1374' + - '1389' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:09:49 GMT + - Fri, 14 May 2021 04:36:25 GMT etag: - - W/"d1af8acf-1138-497a-a715-3b99187e7b16" + - W/"4c020ef4-725d-4c2b-a5bd-186fceca55c8" expires: - '-1' pragma: @@ -1460,7 +1513,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 20955cdc-7c39-4b69-ae70-23f78ff0ed49 + - f33759fa-58a0-471d-abb6-2a858bd7e158 status: code: 200 message: OK @@ -1474,34 +1527,33 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint/privateDnsZoneGroups/myPrivateDnsZoneGroup?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint/privateDnsZoneGroups/myPrivateDnsZoneGroup?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"myPrivateDnsZoneGroup\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint/privateDnsZoneGroups/myPrivateDnsZoneGroup\"\ - ,\r\n \"etag\": \"W/\\\"d1af8acf-1138-497a-a715-3b99187e7b16\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/privateEndpoints/privateDnsZoneGroups\",\r\ - \n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ - \ \"privateDnsZoneConfigs\": [\r\n {\r\n \"name\": \"zone1\",\r\ - \n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint/privateDnsZoneGroups/myPrivateDnsZoneGroup/privateDnsZoneConfigs/zone1\"\ - ,\r\n \"etag\": \"W/\\\"d1af8acf-1138-497a-a715-3b99187e7b16\\\"\"\ - ,\r\n \"type\": \"Microsoft.Network/privateEndpoints/privateDnsZoneGroups/privateDnsZoneConfigs\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"privateDnsZoneId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateDnsZones/www.zone1.com\"\ - ,\r\n \"recordSets\": []\r\n }\r\n }\r\n ]\r\n }\r\ - \n}" + string: "{\r\n \"name\": \"myPrivateDnsZoneGroup\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint/privateDnsZoneGroups/myPrivateDnsZoneGroup\",\r\n + \ \"etag\": \"W/\\\"4c020ef4-725d-4c2b-a5bd-186fceca55c8\\\"\",\r\n \"type\": + \"Microsoft.Network/privateEndpoints/privateDnsZoneGroups\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"privateDnsZoneConfigs\": + [\r\n {\r\n \"name\": \"zone1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint/privateDnsZoneGroups/myPrivateDnsZoneGroup/privateDnsZoneConfigs/zone1\",\r\n + \ \"etag\": \"W/\\\"4c020ef4-725d-4c2b-a5bd-186fceca55c8\\\"\",\r\n + \ \"type\": \"Microsoft.Network/privateEndpoints/privateDnsZoneGroups/privateDnsZoneConfigs\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateDnsZoneId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateDnsZones/www.zone1.com\",\r\n + \ \"recordSets\": []\r\n }\r\n }\r\n ]\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '1374' + - '1389' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:09:49 GMT + - Fri, 14 May 2021 04:36:25 GMT etag: - - W/"d1af8acf-1138-497a-a715-3b99187e7b16" + - W/"4c020ef4-725d-4c2b-a5bd-186fceca55c8" expires: - '-1' pragma: @@ -1518,7 +1570,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 0d6db9cc-eb31-44d8-a38d-4c7ad2fa3b6f + - 728431f4-a912-4927-97c4-e95f2b41f176 status: code: 200 message: OK @@ -1532,32 +1584,32 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateLinkServices/myService/privateEndpointConnections/myPrivateEndpoint.d00c6aaa-6489-4a9f-8481-c053e270e665?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateLinkServices/myService/privateEndpointConnections/myPrivateEndpoint.49eaaa91-7450-48c2-a566-cbb9010c3b95?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"myPrivateEndpoint.d00c6aaa-6489-4a9f-8481-c053e270e665\"\ - ,\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateLinkServices/myService/privateEndpointConnections/myPrivateEndpoint.d00c6aaa-6489-4a9f-8481-c053e270e665\"\ - ,\r\n \"etag\": \"W/\\\"11686f1d-88b1-4bf4-9efa-d8e2fe582e7e\\\"\",\r\n \ - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\ - privateEndpoint\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint\"\ - \r\n },\r\n \"privateLinkServiceConnectionState\": {\r\n \"status\"\ - : \"Approved\",\r\n \"description\": \"approved it for some reason.\"\ - ,\r\n \"actionsRequired\": \"\"\r\n },\r\n \"linkIdentifier\":\ - \ \"536876153\"\r\n },\r\n \"type\": \"Microsoft.Network/privateLinkServices/privateEndpointConnections\"\ - \r\n}" + string: "{\r\n \"name\": \"myPrivateEndpoint.49eaaa91-7450-48c2-a566-cbb9010c3b95\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateLinkServices/myService/privateEndpointConnections/myPrivateEndpoint.49eaaa91-7450-48c2-a566-cbb9010c3b95\",\r\n + \ \"etag\": \"W/\\\"eeef4d98-ed3d-466f-beca-f6e17c3f410b\\\"\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"privateEndpoint\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint\"\r\n + \ },\r\n \"privateLinkServiceConnectionState\": {\r\n \"status\": + \"Approved\",\r\n \"description\": \"approved it for some reason.\",\r\n + \ \"actionsRequired\": \"\"\r\n },\r\n \"linkIdentifier\": \"536910126\"\r\n + \ },\r\n \"type\": \"Microsoft.Network/privateLinkServices/privateEndpointConnections\"\r\n}" headers: cache-control: - no-cache content-length: - - '1021' + - '1031' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:09:49 GMT + - Fri, 14 May 2021 04:36:25 GMT etag: - - W/"11686f1d-88b1-4bf4-9efa-d8e2fe582e7e" + - W/"eeef4d98-ed3d-466f-beca-f6e17c3f410b" expires: - '-1' pragma: @@ -1574,7 +1626,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 271d5bef-158f-4149-852a-b4e75af03d92 + - 86880de8-65fb-4a54-9e70-bd0e3177277d status: code: 200 message: OK @@ -1588,41 +1640,40 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"myPrivateEndpoint\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint\"\ - ,\r\n \"etag\": \"W/\\\"d1af8acf-1138-497a-a715-3b99187e7b16\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"\ - eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"resourceGuid\": \"d00c6aaa-6489-4a9f-8481-c053e270e665\",\r\n \ - \ \"privateLinkServiceConnections\": [\r\n {\r\n \"name\": \"\ - myService\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint/privateLinkServiceConnections/myService\"\ - ,\r\n \"etag\": \"W/\\\"d1af8acf-1138-497a-a715-3b99187e7b16\\\"\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"privateLinkServiceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateLinkServices/myService\"\ - ,\r\n \"privateLinkServiceConnectionState\": {\r\n \"\ - status\": \"Approved\",\r\n \"description\": \"approved it for\ - \ some reason.\",\r\n \"actionsRequired\": \"\"\r\n }\r\ - \n },\r\n \"type\": \"Microsoft.Network/privateEndpoints/privateLinkServiceConnections\"\ - \r\n }\r\n ],\r\n \"manualPrivateLinkServiceConnections\": [],\r\ - \n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork/subnets/subnet2\"\ - \r\n },\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"\ - /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/myPrivateEndpoint.nic.1345a8c7-671c-4562-a9a3-9e1abeab020f\"\ - \r\n }\r\n ],\r\n \"customDnsConfigs\": []\r\n }\r\n}" + string: "{\r\n \"name\": \"myPrivateEndpoint\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint\",\r\n + \ \"etag\": \"W/\\\"4c020ef4-725d-4c2b-a5bd-186fceca55c8\\\"\",\r\n \"type\": + \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"eastus\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": + \"49eaaa91-7450-48c2-a566-cbb9010c3b95\",\r\n \"privateLinkServiceConnections\": + [\r\n {\r\n \"name\": \"myService\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint/privateLinkServiceConnections/myService\",\r\n + \ \"etag\": \"W/\\\"4c020ef4-725d-4c2b-a5bd-186fceca55c8\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateLinkServiceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateLinkServices/myService\",\r\n + \ \"privateLinkServiceConnectionState\": {\r\n \"status\": + \"Approved\",\r\n \"description\": \"approved it for some reason.\",\r\n + \ \"actionsRequired\": \"\"\r\n }\r\n },\r\n \"type\": + \"Microsoft.Network/privateEndpoints/privateLinkServiceConnections\"\r\n }\r\n + \ ],\r\n \"manualPrivateLinkServiceConnections\": [],\r\n \"subnet\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork/subnets/subnet2\"\r\n + \ },\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/myPrivateEndpoint.nic.095e2f4d-abbc-4592-a78a-db9bd50197ec\"\r\n + \ }\r\n ],\r\n \"customDnsConfigs\": []\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '2183' + - '2208' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:09:50 GMT + - Fri, 14 May 2021 04:36:25 GMT etag: - - W/"d1af8acf-1138-497a-a715-3b99187e7b16" + - W/"4c020ef4-725d-4c2b-a5bd-186fceca55c8" expires: - '-1' pragma: @@ -1639,7 +1690,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 7c057842-51b6-4a45-ae55-c24d10ec231c + - 01687130-fe15-43ce-b966-cb5deb4f2c63 status: code: 200 message: OK @@ -1653,56 +1704,55 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateLinkServices/myService?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateLinkServices/myService?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"myService\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateLinkServices/myService\"\ - ,\r\n \"etag\": \"W/\\\"11686f1d-88b1-4bf4-9efa-d8e2fe582e7e\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/privateLinkServices\",\r\n \"location\":\ - \ \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"resourceGuid\": \"abd48bd8-52e0-45c6-b164-4833e0f9090b\",\r\n \ - \ \"fqdns\": [\r\n \"fqdn1\",\r\n \"fqdn2\",\r\n \"fqdn3\"\ - \r\n ],\r\n \"alias\": \"myservice.eacaa4ce-91fd-48fc-b259-97feaf39ba5e.eastus.azure.privatelinkservice\"\ - ,\r\n \"visibility\": {\r\n \"subscriptions\": [\r\n \"00000000-0000-0000-0000-000000000000\"\ - \r\n ]\r\n },\r\n \"autoApproval\": {\r\n \"subscriptions\"\ - : [\r\n \"00000000-0000-0000-0000-000000000000\"\r\n ]\r\n \ - \ },\r\n \"enableProxyProtocol\": false,\r\n \"loadBalancerFrontendIpConfigurations\"\ - : [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/loadbalancer/frontendIPConfigurations/myIPConfiguration\"\ - \r\n }\r\n ],\r\n \"ipConfigurations\": [\r\n {\r\n \ - \ \"name\": \"myIPConfiguration\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateLinkServices/myService/ipConfigurations/myIPConfiguration\"\ - ,\r\n \"etag\": \"W/\\\"11686f1d-88b1-4bf4-9efa-d8e2fe582e7e\\\"\"\ - ,\r\n \"type\": \"Microsoft.Network/privateLinkServices/ipConfigurations\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"\ - subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork/subnets/subnet1\"\ - \r\n },\r\n \"primary\": true,\r\n \"privateIPAddressVersion\"\ - : \"IPv4\"\r\n }\r\n }\r\n ],\r\n \"privateEndpointConnections\"\ - : [\r\n {\r\n \"name\": \"myPrivateEndpoint.d00c6aaa-6489-4a9f-8481-c053e270e665\"\ - ,\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateLinkServices/myService/privateEndpointConnections/myPrivateEndpoint.d00c6aaa-6489-4a9f-8481-c053e270e665\"\ - ,\r\n \"etag\": \"W/\\\"11686f1d-88b1-4bf4-9efa-d8e2fe582e7e\\\"\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"privateEndpoint\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint\"\ - \r\n },\r\n \"privateLinkServiceConnectionState\": {\r\n\ - \ \"status\": \"Approved\",\r\n \"description\": \"\ - approved it for some reason.\",\r\n \"actionsRequired\": \"\"\r\ - \n },\r\n \"linkIdentifier\": \"536876153\"\r\n },\r\ - \n \"type\": \"Microsoft.Network/privateLinkServices/privateEndpointConnections\"\ - \r\n }\r\n ],\r\n \"networkInterfaces\": [\r\n {\r\n \ - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/myService.nic.3d804766-71ca-410e-a576-b696c0fffc82\"\ - \r\n }\r\n ]\r\n }\r\n}" + string: "{\r\n \"name\": \"myService\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateLinkServices/myService\",\r\n + \ \"etag\": \"W/\\\"eeef4d98-ed3d-466f-beca-f6e17c3f410b\\\"\",\r\n \"type\": + \"Microsoft.Network/privateLinkServices\",\r\n \"location\": \"eastus\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": + \"f1284d81-bfae-4e19-8fa8-4d0a821c5a34\",\r\n \"fqdns\": [\r\n \"fqdn1\",\r\n + \ \"fqdn2\",\r\n \"fqdn3\"\r\n ],\r\n \"alias\": \"myservice.bb01df9b-c34f-4006-9571-e617aa367d70.eastus.azure.privatelinkservice\",\r\n + \ \"visibility\": {\r\n \"subscriptions\": [\r\n \"00000000-0000-0000-0000-000000000000\"\r\n + \ ]\r\n },\r\n \"autoApproval\": {\r\n \"subscriptions\": [\r\n + \ \"00000000-0000-0000-0000-000000000000\"\r\n ]\r\n },\r\n + \ \"enableProxyProtocol\": false,\r\n \"loadBalancerFrontendIpConfigurations\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/loadbalancer/frontendIPConfigurations/myIPConfiguration\"\r\n + \ }\r\n ],\r\n \"ipConfigurations\": [\r\n {\r\n \"name\": + \"myIPConfiguration\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateLinkServices/myService/ipConfigurations/myIPConfiguration\",\r\n + \ \"etag\": \"W/\\\"eeef4d98-ed3d-466f-beca-f6e17c3f410b\\\"\",\r\n + \ \"type\": \"Microsoft.Network/privateLinkServices/ipConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"subnet\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork/subnets/subnet1\"\r\n + \ },\r\n \"primary\": true,\r\n \"privateIPAddressVersion\": + \"IPv4\"\r\n }\r\n }\r\n ],\r\n \"privateEndpointConnections\": + [\r\n {\r\n \"name\": \"myPrivateEndpoint.49eaaa91-7450-48c2-a566-cbb9010c3b95\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateLinkServices/myService/privateEndpointConnections/myPrivateEndpoint.49eaaa91-7450-48c2-a566-cbb9010c3b95\",\r\n + \ \"etag\": \"W/\\\"eeef4d98-ed3d-466f-beca-f6e17c3f410b\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateEndpoint\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint\"\r\n + \ },\r\n \"privateLinkServiceConnectionState\": {\r\n \"status\": + \"Approved\",\r\n \"description\": \"approved it for some reason.\",\r\n + \ \"actionsRequired\": \"\"\r\n },\r\n \"linkIdentifier\": + \"536910126\"\r\n },\r\n \"type\": \"Microsoft.Network/privateLinkServices/privateEndpointConnections\"\r\n + \ }\r\n ],\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/myService.nic.d65ad3e8-d10e-4506-830a-9a8f8fd9b0c7\"\r\n + \ }\r\n ]\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '3708' + - '3743' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:09:50 GMT + - Fri, 14 May 2021 04:36:25 GMT etag: - - W/"11686f1d-88b1-4bf4-9efa-d8e2fe582e7e" + - W/"eeef4d98-ed3d-466f-beca-f6e17c3f410b" expires: - '-1' pragma: @@ -1719,7 +1769,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - b92a4759-91ae-4272-8356-6819ce9f05e4 + - b6551427-ba74-426d-8880-b75692df84c2 status: code: 200 message: OK @@ -1735,25 +1785,26 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint/privateDnsZoneGroups/myPrivateDnsZoneGroup?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint/privateDnsZoneGroups/myPrivateDnsZoneGroup?api-version=2021-02-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/82706cea-d151-4059-bc2e-f10f7aa279a1?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/9a0603fb-d7f0-4355-9658-c1af4c6b2f22?api-version=2021-02-01 cache-control: - no-cache content-length: - '0' date: - - Tue, 09 Mar 2021 05:09:50 GMT + - Fri, 14 May 2021 04:36:25 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/82706cea-d151-4059-bc2e-f10f7aa279a1?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/9a0603fb-d7f0-4355-9658-c1af4c6b2f22?api-version=2021-02-01 pragma: - no-cache server: @@ -1764,7 +1815,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 0bfa5458-c840-4783-88e3-0d75a43624fe + - a67ba0fd-df1b-48ba-8a24-4bb35731ce58 x-ms-ratelimit-remaining-subscription-deletes: - '14999' status: @@ -1780,9 +1831,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/82706cea-d151-4059-bc2e-f10f7aa279a1?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/9a0603fb-d7f0-4355-9658-c1af4c6b2f22?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -1794,7 +1846,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:10:01 GMT + - Fri, 14 May 2021 04:36:35 GMT expires: - '-1' pragma: @@ -1811,7 +1863,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 501fa6e7-b6b3-4058-92e5-e40691281c8b + - bbc6bbed-178c-4bd6-8e29-11c146ff25c6 status: code: 200 message: OK @@ -1827,25 +1879,26 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateLinkServices/myService/privateEndpointConnections/myPrivateEndpoint.d00c6aaa-6489-4a9f-8481-c053e270e665?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateLinkServices/myService/privateEndpointConnections/myPrivateEndpoint.49eaaa91-7450-48c2-a566-cbb9010c3b95?api-version=2021-02-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/0cbaec97-a3f3-4107-a73e-308432fda54e?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/1b9bc4db-3312-496f-bb46-f241e56cc0a6?api-version=2021-02-01 cache-control: - no-cache content-length: - '0' date: - - Tue, 09 Mar 2021 05:10:01 GMT + - Fri, 14 May 2021 04:36:35 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/0cbaec97-a3f3-4107-a73e-308432fda54e?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/1b9bc4db-3312-496f-bb46-f241e56cc0a6?api-version=2021-02-01 pragma: - no-cache server: @@ -1856,7 +1909,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 626f734d-c91e-4c05-86bc-a6f01b74ce06 + - d0f9e306-e956-4671-b86d-880c17f4a160 x-ms-ratelimit-remaining-subscription-deletes: - '14998' status: @@ -1872,9 +1925,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/0cbaec97-a3f3-4107-a73e-308432fda54e?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/1b9bc4db-3312-496f-bb46-f241e56cc0a6?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -1886,7 +1940,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:10:11 GMT + - Fri, 14 May 2021 04:36:45 GMT expires: - '-1' pragma: @@ -1903,7 +1957,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - d3d7b42a-1aeb-4389-bf21-86a377df5533 + - b948c230-1fae-45ea-a227-443734bac70c status: code: 200 message: OK @@ -1919,9 +1973,10 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint?api-version=2021-02-01 response: body: string: '' @@ -1929,17 +1984,17 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/b0f0e33c-1f68-47d6-abe5-2fc7098a26c3?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/a6de031e-de8e-48d8-8c4a-cb4ea395a6ce?api-version=2021-02-01 cache-control: - no-cache content-length: - '0' date: - - Tue, 09 Mar 2021 05:10:12 GMT + - Fri, 14 May 2021 04:36:45 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/b0f0e33c-1f68-47d6-abe5-2fc7098a26c3?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/a6de031e-de8e-48d8-8c4a-cb4ea395a6ce?api-version=2021-02-01 pragma: - no-cache server: @@ -1950,7 +2005,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 5bf0809f-06a3-4ef3-a349-d035ec083023 + - a8eba07a-d256-40d1-b073-924caa210880 x-ms-ratelimit-remaining-subscription-deletes: - '14997' status: @@ -1966,9 +2021,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/b0f0e33c-1f68-47d6-abe5-2fc7098a26c3?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/a6de031e-de8e-48d8-8c4a-cb4ea395a6ce?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -1980,7 +2036,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:10:23 GMT + - Fri, 14 May 2021 04:36:55 GMT expires: - '-1' pragma: @@ -1997,7 +2053,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - e99186f6-40e7-4c8d-aa71-fdbbe870b2d3 + - 553dc02d-7383-4e17-9517-fb35ce8334b6 status: code: 200 message: OK @@ -2013,9 +2069,10 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateLinkServices/myService?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateLinkServices/myService?api-version=2021-02-01 response: body: string: '' @@ -2023,17 +2080,17 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/98f549c0-20aa-4b14-b3f5-14f467946116?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/628660dd-053d-48cd-8a6b-217a7c49de99?api-version=2021-02-01 cache-control: - no-cache content-length: - '0' date: - - Tue, 09 Mar 2021 05:10:24 GMT + - Fri, 14 May 2021 04:36:56 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/98f549c0-20aa-4b14-b3f5-14f467946116?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/628660dd-053d-48cd-8a6b-217a7c49de99?api-version=2021-02-01 pragma: - no-cache server: @@ -2044,7 +2101,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - bf6f2e1c-f5c9-4c81-8b07-55e4a5c3d509 + - aae5181e-98b4-4386-95aa-9d92f88b51e5 x-ms-ratelimit-remaining-subscription-deletes: - '14996' status: @@ -2060,9 +2117,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/98f549c0-20aa-4b14-b3f5-14f467946116?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/628660dd-053d-48cd-8a6b-217a7c49de99?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -2074,7 +2132,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:10:34 GMT + - Fri, 14 May 2021 04:37:06 GMT expires: - '-1' pragma: @@ -2091,7 +2149,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - ccfc10fc-dca5-4ec3-a100-556e40387e68 + - f0fc812e-b32e-4fda-a87f-c50d13e17cb9 status: code: 200 message: OK diff --git a/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_endpoint_policy.test_network.yaml b/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_endpoint_policy.test_network.yaml index 8719eda238ee..cd654fb4d4a4 100644 --- a/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_endpoint_policy.test_network.yaml +++ b/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_endpoint_policy.test_network.yaml @@ -13,30 +13,31 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/serviceEndpointPolicies/myServiceEndpointPolicy?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/serviceEndpointPolicies/myServiceEndpointPolicy?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"myServiceEndpointPolicy\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/serviceEndpointPolicies/myServiceEndpointPolicy\"\ - ,\r\n \"etag\": \"W/\\\"ee867414-a68f-4c38-870c-7d2b3a1f58d0\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/serviceEndpointPolicies\",\r\n \"location\"\ - : \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\"\ - ,\r\n \"resourceGuid\": \"31849c31-e8ee-4693-b53a-9bdbe5539060\",\r\n \ - \ \"serviceEndpointPolicyDefinitions\": []\r\n }\r\n}" + string: "{\r\n \"name\": \"myServiceEndpointPolicy\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/serviceEndpointPolicies/myServiceEndpointPolicy\",\r\n + \ \"etag\": \"W/\\\"4f27a6b2-ea02-408e-88e2-b9b65e6cd8b2\\\"\",\r\n \"type\": + \"Microsoft.Network/serviceEndpointPolicies\",\r\n \"location\": \"eastus\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": + \"4774e549-f823-429f-953d-761467aff6a3\",\r\n \"serviceEndpointPolicyDefinitions\": + []\r\n }\r\n}" headers: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/af4197ef-0e52-462c-80ec-b9efb37649a7?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/e22d1e10-fb74-4cc5-8780-00e08213be1a?api-version=2021-02-01 cache-control: - no-cache content-length: - - '578' + - '583' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:10:53 GMT + - Fri, 14 May 2021 04:37:07 GMT expires: - '-1' pragma: @@ -49,9 +50,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - dc6f9883-124a-4cb8-a994-8627b2802c38 + - 77a26bf2-ac8e-48f8-8fdd-a7de2adb4fd4 x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 201 message: Created @@ -65,9 +66,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/af4197ef-0e52-462c-80ec-b9efb37649a7?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/e22d1e10-fb74-4cc5-8780-00e08213be1a?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -79,7 +81,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:11:04 GMT + - Fri, 14 May 2021 04:37:17 GMT expires: - '-1' pragma: @@ -96,7 +98,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - dafb369d-8b74-4c6d-b794-8fa65e5482a3 + - dccad7cd-bc94-4df0-b650-dbd97a9108cb status: code: 200 message: OK @@ -110,28 +112,29 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/serviceEndpointPolicies/myServiceEndpointPolicy?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/serviceEndpointPolicies/myServiceEndpointPolicy?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"myServiceEndpointPolicy\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/serviceEndpointPolicies/myServiceEndpointPolicy\"\ - ,\r\n \"etag\": \"W/\\\"632834f0-7ca6-43bd-a394-4eab45a36fdc\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/serviceEndpointPolicies\",\r\n \"location\"\ - : \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"resourceGuid\": \"31849c31-e8ee-4693-b53a-9bdbe5539060\",\r\n \ - \ \"serviceEndpointPolicyDefinitions\": []\r\n }\r\n}" + string: "{\r\n \"name\": \"myServiceEndpointPolicy\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/serviceEndpointPolicies/myServiceEndpointPolicy\",\r\n + \ \"etag\": \"W/\\\"112d3b74-9145-41a1-a3c5-39c376557180\\\"\",\r\n \"type\": + \"Microsoft.Network/serviceEndpointPolicies\",\r\n \"location\": \"eastus\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": + \"4774e549-f823-429f-953d-761467aff6a3\",\r\n \"serviceEndpointPolicyDefinitions\": + []\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '579' + - '584' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:11:04 GMT + - Fri, 14 May 2021 04:37:17 GMT etag: - - W/"632834f0-7ca6-43bd-a394-4eab45a36fdc" + - W/"112d3b74-9145-41a1-a3c5-39c376557180" expires: - '-1' pragma: @@ -148,7 +151,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - d97ec93d-4eda-4203-a771-45a1c1829865 + - 1a523234-534b-4627-ae2c-0903652a6307 status: code: 200 message: OK @@ -163,35 +166,34 @@ interactions: Connection: - keep-alive Content-Length: - - '276' + - '281' Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/serviceEndpointPolicies/myServiceEndpointPolicy/serviceEndpointPolicyDefinitions/myServiceEndpointPolicyDefinition?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/serviceEndpointPolicies/myServiceEndpointPolicy/serviceEndpointPolicyDefinitions/myServiceEndpointPolicyDefinition?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"myServiceEndpointPolicyDefinition\",\r\n \"id\"\ - : \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/serviceEndpointPolicies/myServiceEndpointPolicy/serviceEndpointPolicyDefinitions/myServiceEndpointPolicyDefinition\"\ - ,\r\n \"etag\": \"W/\\\"eb8e9f08-2245-4bbb-b0dd-9abfc01beeff\\\"\",\r\n \ - \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"\ - service\": \"Microsoft.Storage\",\r\n \"description\": \"Storage Service\ - \ EndpointPolicy Definition\",\r\n \"serviceResources\": [\r\n \"\ - /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname\"\ - \r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/serviceEndpointPolicies/serviceEndpointPolicyDefinitions\"\ - \r\n}" + string: "{\r\n \"name\": \"myServiceEndpointPolicyDefinition\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/serviceEndpointPolicies/myServiceEndpointPolicy/serviceEndpointPolicyDefinitions/myServiceEndpointPolicyDefinition\",\r\n + \ \"etag\": \"W/\\\"be37eeb6-dca5-418e-a1ba-691900ca994e\\\"\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Updating\",\r\n \"service\": \"Microsoft.Storage\",\r\n + \ \"description\": \"Storage Service EndpointPolicy Definition\",\r\n \"serviceResources\": + [\r\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname\"\r\n + \ ]\r\n },\r\n \"type\": \"Microsoft.Network/serviceEndpointPolicies/serviceEndpointPolicyDefinitions\"\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/b2bcbed0-cfda-42f8-8a32-af7cee7125e3?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/d469bf19-f82d-462f-a705-bda6713a931f?api-version=2021-02-01 cache-control: - no-cache content-length: - - '846' + - '856' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:11:05 GMT + - Fri, 14 May 2021 04:37:17 GMT expires: - '-1' pragma: @@ -204,9 +206,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 320a7470-be9a-4801-a544-3684f50a5d19 + - f736cbe2-c293-4463-a0ef-640f4a75f926 x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1198' status: code: 201 message: Created @@ -220,9 +222,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/b2bcbed0-cfda-42f8-8a32-af7cee7125e3?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/d469bf19-f82d-462f-a705-bda6713a931f?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -234,7 +237,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:11:15 GMT + - Fri, 14 May 2021 04:37:28 GMT expires: - '-1' pragma: @@ -251,7 +254,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - fadda369-3d82-4511-8425-62a8452b0b7b + - 074cff92-423c-43bf-87ad-92990a88b89f status: code: 200 message: OK @@ -265,31 +268,30 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/serviceEndpointPolicies/myServiceEndpointPolicy/serviceEndpointPolicyDefinitions/myServiceEndpointPolicyDefinition?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/serviceEndpointPolicies/myServiceEndpointPolicy/serviceEndpointPolicyDefinitions/myServiceEndpointPolicyDefinition?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"myServiceEndpointPolicyDefinition\",\r\n \"id\"\ - : \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/serviceEndpointPolicies/myServiceEndpointPolicy/serviceEndpointPolicyDefinitions/myServiceEndpointPolicyDefinition\"\ - ,\r\n \"etag\": \"W/\\\"9397e8e0-e626-45c4-998e-82582d1a7daf\\\"\",\r\n \ - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\ - service\": \"Microsoft.Storage\",\r\n \"description\": \"Storage Service\ - \ EndpointPolicy Definition\",\r\n \"serviceResources\": [\r\n \"\ - /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname\"\ - \r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/serviceEndpointPolicies/serviceEndpointPolicyDefinitions\"\ - \r\n}" + string: "{\r\n \"name\": \"myServiceEndpointPolicyDefinition\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/serviceEndpointPolicies/myServiceEndpointPolicy/serviceEndpointPolicyDefinitions/myServiceEndpointPolicyDefinition\",\r\n + \ \"etag\": \"W/\\\"2da1b09f-755a-4c07-83c5-18a2054cebdd\\\"\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"service\": \"Microsoft.Storage\",\r\n + \ \"description\": \"Storage Service EndpointPolicy Definition\",\r\n \"serviceResources\": + [\r\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname\"\r\n + \ ]\r\n },\r\n \"type\": \"Microsoft.Network/serviceEndpointPolicies/serviceEndpointPolicyDefinitions\"\r\n}" headers: cache-control: - no-cache content-length: - - '847' + - '857' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:11:15 GMT + - Fri, 14 May 2021 04:37:28 GMT etag: - - W/"9397e8e0-e626-45c4-998e-82582d1a7daf" + - W/"2da1b09f-755a-4c07-83c5-18a2054cebdd" expires: - '-1' pragma: @@ -306,7 +308,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 6a7ea6c8-553f-4761-9388-bf4eba354161 + - 369746b7-ef15-4678-a02c-5be9bc0f8926 status: code: 200 message: OK @@ -320,31 +322,30 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/serviceEndpointPolicies/myServiceEndpointPolicy/serviceEndpointPolicyDefinitions/myServiceEndpointPolicyDefinition?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/serviceEndpointPolicies/myServiceEndpointPolicy/serviceEndpointPolicyDefinitions/myServiceEndpointPolicyDefinition?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"myServiceEndpointPolicyDefinition\",\r\n \"id\"\ - : \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/serviceEndpointPolicies/myServiceEndpointPolicy/serviceEndpointPolicyDefinitions/myServiceEndpointPolicyDefinition\"\ - ,\r\n \"etag\": \"W/\\\"9397e8e0-e626-45c4-998e-82582d1a7daf\\\"\",\r\n \ - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\ - service\": \"Microsoft.Storage\",\r\n \"description\": \"Storage Service\ - \ EndpointPolicy Definition\",\r\n \"serviceResources\": [\r\n \"\ - /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname\"\ - \r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/serviceEndpointPolicies/serviceEndpointPolicyDefinitions\"\ - \r\n}" + string: "{\r\n \"name\": \"myServiceEndpointPolicyDefinition\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/serviceEndpointPolicies/myServiceEndpointPolicy/serviceEndpointPolicyDefinitions/myServiceEndpointPolicyDefinition\",\r\n + \ \"etag\": \"W/\\\"2da1b09f-755a-4c07-83c5-18a2054cebdd\\\"\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"service\": \"Microsoft.Storage\",\r\n + \ \"description\": \"Storage Service EndpointPolicy Definition\",\r\n \"serviceResources\": + [\r\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname\"\r\n + \ ]\r\n },\r\n \"type\": \"Microsoft.Network/serviceEndpointPolicies/serviceEndpointPolicyDefinitions\"\r\n}" headers: cache-control: - no-cache content-length: - - '847' + - '857' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:11:16 GMT + - Fri, 14 May 2021 04:37:28 GMT etag: - - W/"9397e8e0-e626-45c4-998e-82582d1a7daf" + - W/"2da1b09f-755a-4c07-83c5-18a2054cebdd" expires: - '-1' pragma: @@ -361,7 +362,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - e0c8f3a8-55c9-4eda-92df-114c7f785dc9 + - adcd5810-8e43-4d58-94a4-6f5f89c625af status: code: 200 message: OK @@ -375,36 +376,37 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/serviceEndpointPolicies/myServiceEndpointPolicy?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/serviceEndpointPolicies/myServiceEndpointPolicy?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"myServiceEndpointPolicy\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/serviceEndpointPolicies/myServiceEndpointPolicy\"\ - ,\r\n \"etag\": \"W/\\\"9397e8e0-e626-45c4-998e-82582d1a7daf\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/serviceEndpointPolicies\",\r\n \"location\"\ - : \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"resourceGuid\": \"31849c31-e8ee-4693-b53a-9bdbe5539060\",\r\n \ - \ \"serviceEndpointPolicyDefinitions\": [\r\n {\r\n \"name\"\ - : \"myServiceEndpointPolicyDefinition\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/serviceEndpointPolicies/myServiceEndpointPolicy/serviceEndpointPolicyDefinitions/myServiceEndpointPolicyDefinition\"\ - ,\r\n \"etag\": \"W/\\\"9397e8e0-e626-45c4-998e-82582d1a7daf\\\"\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"service\": \"Microsoft.Storage\",\r\n \"description\"\ - : \"Storage Service EndpointPolicy Definition\",\r\n \"serviceResources\"\ - : [\r\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname\"\ - \r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/serviceEndpointPolicies/serviceEndpointPolicyDefinitions\"\ - \r\n }\r\n ]\r\n }\r\n}" + string: "{\r\n \"name\": \"myServiceEndpointPolicy\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/serviceEndpointPolicies/myServiceEndpointPolicy\",\r\n + \ \"etag\": \"W/\\\"2da1b09f-755a-4c07-83c5-18a2054cebdd\\\"\",\r\n \"type\": + \"Microsoft.Network/serviceEndpointPolicies\",\r\n \"location\": \"eastus\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": + \"4774e549-f823-429f-953d-761467aff6a3\",\r\n \"serviceEndpointPolicyDefinitions\": + [\r\n {\r\n \"name\": \"myServiceEndpointPolicyDefinition\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/serviceEndpointPolicies/myServiceEndpointPolicy/serviceEndpointPolicyDefinitions/myServiceEndpointPolicyDefinition\",\r\n + \ \"etag\": \"W/\\\"2da1b09f-755a-4c07-83c5-18a2054cebdd\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"service\": \"Microsoft.Storage\",\r\n \"description\": + \"Storage Service EndpointPolicy Definition\",\r\n \"serviceResources\": + [\r\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname\"\r\n + \ ]\r\n },\r\n \"type\": \"Microsoft.Network/serviceEndpointPolicies/serviceEndpointPolicyDefinitions\"\r\n + \ }\r\n ]\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '1518' + - '1533' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:11:16 GMT + - Fri, 14 May 2021 04:37:28 GMT etag: - - W/"9397e8e0-e626-45c4-998e-82582d1a7daf" + - W/"2da1b09f-755a-4c07-83c5-18a2054cebdd" expires: - '-1' pragma: @@ -421,7 +423,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 057b016c-4cce-4c64-a807-49ee2c99b90f + - d5c97862-937c-42cb-b4ee-7cf505d1994f status: code: 200 message: OK @@ -439,37 +441,38 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/serviceEndpointPolicies/myServiceEndpointPolicy?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/serviceEndpointPolicies/myServiceEndpointPolicy?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"myServiceEndpointPolicy\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/serviceEndpointPolicies/myServiceEndpointPolicy\"\ - ,\r\n \"etag\": \"W/\\\"0f1ac31b-00dd-4748-90b9-e961cc6b8e94\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/serviceEndpointPolicies\",\r\n \"location\"\ - : \"eastus\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\"\ - : \"value2\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Succeeded\",\r\n \"resourceGuid\": \"31849c31-e8ee-4693-b53a-9bdbe5539060\"\ - ,\r\n \"serviceEndpointPolicyDefinitions\": [\r\n {\r\n \"\ - name\": \"myServiceEndpointPolicyDefinition\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/serviceEndpointPolicies/myServiceEndpointPolicy/serviceEndpointPolicyDefinitions/myServiceEndpointPolicyDefinition\"\ - ,\r\n \"etag\": \"W/\\\"0f1ac31b-00dd-4748-90b9-e961cc6b8e94\\\"\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"service\": \"Microsoft.Storage\",\r\n \"description\"\ - : \"Storage Service EndpointPolicy Definition\",\r\n \"serviceResources\"\ - : [\r\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname\"\ - \r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/serviceEndpointPolicies/serviceEndpointPolicyDefinitions\"\ - \r\n }\r\n ]\r\n }\r\n}" + string: "{\r\n \"name\": \"myServiceEndpointPolicy\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/serviceEndpointPolicies/myServiceEndpointPolicy\",\r\n + \ \"etag\": \"W/\\\"10e35826-cbba-41ed-957b-e6c288e423d9\\\"\",\r\n \"type\": + \"Microsoft.Network/serviceEndpointPolicies\",\r\n \"location\": \"eastus\",\r\n + \ \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"4774e549-f823-429f-953d-761467aff6a3\",\r\n \"serviceEndpointPolicyDefinitions\": + [\r\n {\r\n \"name\": \"myServiceEndpointPolicyDefinition\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/serviceEndpointPolicies/myServiceEndpointPolicy/serviceEndpointPolicyDefinitions/myServiceEndpointPolicyDefinition\",\r\n + \ \"etag\": \"W/\\\"10e35826-cbba-41ed-957b-e6c288e423d9\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"service\": \"Microsoft.Storage\",\r\n \"description\": + \"Storage Service EndpointPolicy Definition\",\r\n \"serviceResources\": + [\r\n \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname\"\r\n + \ ]\r\n },\r\n \"type\": \"Microsoft.Network/serviceEndpointPolicies/serviceEndpointPolicyDefinitions\"\r\n + \ }\r\n ]\r\n }\r\n}" headers: azure-asyncnotification: - Enabled cache-control: - no-cache content-length: - - '1582' + - '1597' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:11:18 GMT + - Fri, 14 May 2021 04:37:29 GMT expires: - '-1' pragma: @@ -486,9 +489,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 0c25e1d5-47a7-4531-af06-4782b7116380 + - 397a9c18-a8c1-453b-842c-45566ee22f96 x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1197' status: code: 200 message: OK @@ -504,25 +507,26 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/serviceEndpointPolicies/myServiceEndpointPolicy/serviceEndpointPolicyDefinitions/myServiceEndpointPolicyDefinition?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/serviceEndpointPolicies/myServiceEndpointPolicy/serviceEndpointPolicyDefinitions/myServiceEndpointPolicyDefinition?api-version=2021-02-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/33384977-b0a8-438a-ae2c-f3f0d3feb6ad?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/4df0a9e5-7c60-4aa0-92be-be187464915c?api-version=2021-02-01 cache-control: - no-cache content-length: - '0' date: - - Tue, 09 Mar 2021 05:11:19 GMT + - Fri, 14 May 2021 04:37:29 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/33384977-b0a8-438a-ae2c-f3f0d3feb6ad?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/4df0a9e5-7c60-4aa0-92be-be187464915c?api-version=2021-02-01 pragma: - no-cache server: @@ -533,9 +537,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - b67c42f1-2174-4f29-947a-9d4b71932447 + - d4186511-6855-4b1c-8ec9-9c171efcb92d x-ms-ratelimit-remaining-subscription-deletes: - - '14998' + - '14999' status: code: 202 message: Accepted @@ -549,9 +553,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/33384977-b0a8-438a-ae2c-f3f0d3feb6ad?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/4df0a9e5-7c60-4aa0-92be-be187464915c?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -563,7 +568,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:11:29 GMT + - Fri, 14 May 2021 04:37:39 GMT expires: - '-1' pragma: @@ -580,7 +585,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - f45864c3-0389-4b26-bfcc-3cbb06d51530 + - c1b1e500-5bb2-471a-b6ed-a0ef92b4dfb4 status: code: 200 message: OK @@ -596,9 +601,10 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/serviceEndpointPolicies/myServiceEndpointPolicy?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/serviceEndpointPolicies/myServiceEndpointPolicy?api-version=2021-02-01 response: body: string: '' @@ -606,17 +612,17 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/34d2bfd8-438e-43de-b040-36721b68c44c?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/f9f4402c-6950-423e-9152-6260fbb83f80?api-version=2021-02-01 cache-control: - no-cache content-length: - '0' date: - - Tue, 09 Mar 2021 05:11:30 GMT + - Fri, 14 May 2021 04:37:39 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/34d2bfd8-438e-43de-b040-36721b68c44c?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/f9f4402c-6950-423e-9152-6260fbb83f80?api-version=2021-02-01 pragma: - no-cache server: @@ -627,9 +633,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 8f6890f5-0e64-498e-a3cd-1b89e05ba78c + - 2e0f4ed1-b1be-4d10-8a17-ce3b71f3fb7f x-ms-ratelimit-remaining-subscription-deletes: - - '14997' + - '14998' status: code: 202 message: Accepted @@ -643,9 +649,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/34d2bfd8-438e-43de-b040-36721b68c44c?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/f9f4402c-6950-423e-9152-6260fbb83f80?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -657,7 +664,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:11:40 GMT + - Fri, 14 May 2021 04:37:49 GMT expires: - '-1' pragma: @@ -674,7 +681,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 0309f6e0-40ba-4aaa-8326-db0b2d838aa3 + - aee88e01-b349-4ef5-bc99-6631cc04b7e2 status: code: 200 message: OK diff --git a/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_express_route.test_network.yaml b/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_express_route.test_network.yaml index 2c7f009c8be5..a5139cca0a6b 100644 --- a/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_express_route.test_network.yaml +++ b/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_express_route.test_network.yaml @@ -16,38 +16,38 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/expressRouteCircuits/myCircuit?api-version=2020-11-01 - response: - body: - string: "{\r\n \"name\": \"myCircuit\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/expressRouteCircuits/myCircuit\"\ - ,\r\n \"etag\": \"W/\\\"606fb8b4-4323-4e7c-9442-04bb61bf9f3c\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/expressRouteCircuits\",\r\n \"location\"\ - : \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\"\ - ,\r\n \"resourceGuid\": \"e952ed59-2864-4752-99f3-6a976f22e1a4\",\r\n \ - \ \"peerings\": [],\r\n \"authorizations\": [],\r\n \"serviceProviderProperties\"\ - : {\r\n \"serviceProviderName\": \"Equinix\",\r\n \"peeringLocation\"\ - : \"Silicon Valley\",\r\n \"bandwidthInMbps\": 200\r\n },\r\n \"\ - circuitProvisioningState\": \"Disabled\",\r\n \"allowClassicOperations\"\ - : false,\r\n \"serviceKey\": \"00000000-0000-0000-0000-000000000000\",\r\ - \n \"serviceProviderProvisioningState\": \"NotProvisioned\",\r\n \"\ - allowGlobalReach\": false,\r\n \"globalReachEnabled\": false\r\n },\r\n\ - \ \"sku\": {\r\n \"name\": \"Standard_MeteredData\",\r\n \"tier\":\ - \ \"Standard\",\r\n \"family\": \"MeteredData\"\r\n }\r\n}" + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/expressRouteCircuits/myCircuit?api-version=2021-02-01 + response: + body: + string: "{\r\n \"name\": \"myCircuit\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/expressRouteCircuits/myCircuit\",\r\n + \ \"etag\": \"W/\\\"b610ff30-96f6-4e92-92de-b7a19cc28369\\\"\",\r\n \"type\": + \"Microsoft.Network/expressRouteCircuits\",\r\n \"location\": \"eastus\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": + \"22cc0489-7b65-4e26-9bf2-56b9b095cc5e\",\r\n \"peerings\": [],\r\n \"authorizations\": + [],\r\n \"serviceProviderProperties\": {\r\n \"serviceProviderName\": + \"Equinix\",\r\n \"peeringLocation\": \"Silicon Valley\",\r\n \"bandwidthInMbps\": + 200\r\n },\r\n \"circuitProvisioningState\": \"Disabled\",\r\n \"allowClassicOperations\": + false,\r\n \"serviceKey\": \"00000000-0000-0000-0000-000000000000\",\r\n + \ \"serviceProviderProvisioningState\": \"NotProvisioned\",\r\n \"allowGlobalReach\": + false,\r\n \"globalReachEnabled\": false\r\n },\r\n \"sku\": {\r\n \"name\": + \"Standard_MeteredData\",\r\n \"tier\": \"Standard\",\r\n \"family\": + \"MeteredData\"\r\n }\r\n}" headers: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/52167950-0390-44e9-8c03-f6a732a5d5d3?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/80e947dd-50ae-48a3-8f2d-a455b2ac0104?api-version=2021-02-01 cache-control: - no-cache content-length: - - '1082' + - '1087' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:11:58 GMT + - Fri, 14 May 2021 04:37:50 GMT expires: - '-1' pragma: @@ -60,9 +60,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 7e929e11-835c-4faf-b9ad-ca49160f7b42 + - 6e9ae741-7ca3-45d1-af49-616e576934db x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1195' status: code: 201 message: Created @@ -76,2083 +76,24 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/52167950-0390-44e9-8c03-f6a732a5d5d3?api-version=2020-11-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 05:12:08 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - f7f42c6a-87cd-462b-97f7-d26134a84009 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/52167950-0390-44e9-8c03-f6a732a5d5d3?api-version=2020-11-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 05:12:18 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 40188158-5fd3-43a4-a3ff-3129da5d9066 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/52167950-0390-44e9-8c03-f6a732a5d5d3?api-version=2020-11-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 05:12:39 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 9b244b88-4bdf-48fc-8d6f-42270d8da570 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/52167950-0390-44e9-8c03-f6a732a5d5d3?api-version=2020-11-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 05:12:59 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 5adb2251-d1c3-47ac-9359-9fd22bce7569 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/52167950-0390-44e9-8c03-f6a732a5d5d3?api-version=2020-11-01 - response: - body: - string: "{\r\n \"status\": \"Succeeded\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '29' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 05:13:40 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 431ea9fd-44f5-4664-98ec-16c29dd43983 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/expressRouteCircuits/myCircuit?api-version=2020-11-01 - response: - body: - string: "{\r\n \"name\": \"myCircuit\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/expressRouteCircuits/myCircuit\"\ - ,\r\n \"etag\": \"W/\\\"a7618fe7-3c44-49a9-a1a0-1003384ae6e3\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/expressRouteCircuits\",\r\n \"location\"\ - : \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"resourceGuid\": \"e952ed59-2864-4752-99f3-6a976f22e1a4\",\r\n \ - \ \"peerings\": [],\r\n \"authorizations\": [],\r\n \"serviceProviderProperties\"\ - : {\r\n \"serviceProviderName\": \"Equinix\",\r\n \"peeringLocation\"\ - : \"Silicon Valley\",\r\n \"bandwidthInMbps\": 200\r\n },\r\n \"\ - circuitProvisioningState\": \"Enabled\",\r\n \"allowClassicOperations\"\ - : false,\r\n \"gatewayManagerEtag\": \"\",\r\n \"serviceKey\": \"83adb8ec-fb02-4cab-be7c-9e5fdd9e52ea\"\ - ,\r\n \"serviceProviderProvisioningState\": \"NotProvisioned\",\r\n \ - \ \"allowGlobalReach\": false,\r\n \"globalReachEnabled\": false,\r\n \ - \ \"stag\": 245\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard_MeteredData\"\ - ,\r\n \"tier\": \"Standard\",\r\n \"family\": \"MeteredData\"\r\n }\r\ - \n}" - headers: - cache-control: - - no-cache - content-length: - - '1131' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 05:13:41 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 671509f1-beaf-4beb-9d66-1b49fe67d044 - status: - code: 200 - message: OK -- request: - body: '{"location": "eastus", "sku": {"name": "Standard_MeteredData", "tier": - "Standard", "family": "MeteredData"}, "properties": {"serviceProviderProperties": - {"serviceProviderName": "Equinix", "peeringLocation": "Silicon Valley", "bandwidthInMbps": - 200}}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '250' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/expressRouteCircuits/myCircuit2?api-version=2020-11-01 - response: - body: - string: "{\r\n \"name\": \"myCircuit2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/expressRouteCircuits/myCircuit2\"\ - ,\r\n \"etag\": \"W/\\\"025b3200-7409-4d3c-b625-dc2967fc44ac\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/expressRouteCircuits\",\r\n \"location\"\ - : \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\"\ - ,\r\n \"resourceGuid\": \"a1279050-4592-4f80-9f14-cefb59d2b52b\",\r\n \ - \ \"peerings\": [],\r\n \"authorizations\": [],\r\n \"serviceProviderProperties\"\ - : {\r\n \"serviceProviderName\": \"Equinix\",\r\n \"peeringLocation\"\ - : \"Silicon Valley\",\r\n \"bandwidthInMbps\": 200\r\n },\r\n \"\ - circuitProvisioningState\": \"Disabled\",\r\n \"allowClassicOperations\"\ - : false,\r\n \"serviceKey\": \"00000000-0000-0000-0000-000000000000\",\r\ - \n \"serviceProviderProvisioningState\": \"NotProvisioned\",\r\n \"\ - allowGlobalReach\": false,\r\n \"globalReachEnabled\": false\r\n },\r\n\ - \ \"sku\": {\r\n \"name\": \"Standard_MeteredData\",\r\n \"tier\":\ - \ \"Standard\",\r\n \"family\": \"MeteredData\"\r\n }\r\n}" - headers: - azure-asyncnotification: - - Enabled - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/e29bb5c9-e62b-42a0-a6a1-868100e67253?api-version=2020-11-01 - cache-control: - - no-cache - content-length: - - '1084' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 05:13:47 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - bd59791c-c780-4c35-ac4d-bc682c4c59f0 - x-ms-ratelimit-remaining-subscription-writes: - - '1195' - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/e29bb5c9-e62b-42a0-a6a1-868100e67253?api-version=2020-11-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 05:13:57 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 5915a920-7497-47aa-ac67-04b116dc4be6 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/e29bb5c9-e62b-42a0-a6a1-868100e67253?api-version=2020-11-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 05:14:08 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - a7ff4742-f563-4249-a2f9-7bb4912f1a33 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/e29bb5c9-e62b-42a0-a6a1-868100e67253?api-version=2020-11-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 05:14:28 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - d41d973c-0f5d-419f-bf39-94c36bcebcc2 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/e29bb5c9-e62b-42a0-a6a1-868100e67253?api-version=2020-11-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 05:14:48 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - b89d7a84-e865-431b-8f4a-effed02279d6 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/e29bb5c9-e62b-42a0-a6a1-868100e67253?api-version=2020-11-01 - response: - body: - string: "{\r\n \"status\": \"Succeeded\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '29' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 05:15:29 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - f499df9f-39ef-4010-bf0e-4c6e60eba41e - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/expressRouteCircuits/myCircuit2?api-version=2020-11-01 - response: - body: - string: "{\r\n \"name\": \"myCircuit2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/expressRouteCircuits/myCircuit2\"\ - ,\r\n \"etag\": \"W/\\\"94d3e121-9d21-4230-aae5-f269b7f73337\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/expressRouteCircuits\",\r\n \"location\"\ - : \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"resourceGuid\": \"a1279050-4592-4f80-9f14-cefb59d2b52b\",\r\n \ - \ \"peerings\": [],\r\n \"authorizations\": [],\r\n \"serviceProviderProperties\"\ - : {\r\n \"serviceProviderName\": \"Equinix\",\r\n \"peeringLocation\"\ - : \"Silicon Valley\",\r\n \"bandwidthInMbps\": 200\r\n },\r\n \"\ - circuitProvisioningState\": \"Enabled\",\r\n \"allowClassicOperations\"\ - : false,\r\n \"gatewayManagerEtag\": \"\",\r\n \"serviceKey\": \"9cdf52a9-91fd-4b8c-b31b-6c9955d0d703\"\ - ,\r\n \"serviceProviderProvisioningState\": \"NotProvisioned\",\r\n \ - \ \"allowGlobalReach\": false,\r\n \"globalReachEnabled\": false,\r\n \ - \ \"stag\": 246\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard_MeteredData\"\ - ,\r\n \"tier\": \"Standard\",\r\n \"family\": \"MeteredData\"\r\n }\r\ - \n}" - headers: - cache-control: - - no-cache - content-length: - - '1133' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 05:15:30 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - c8a3a373-854d-4343-8b9d-f8f58cc47fdd - status: - code: 200 - message: OK -- request: - body: '{"properties": {"peerASN": 10001, "primaryPeerAddressPrefix": "102.0.0.0/30", - "secondaryPeerAddressPrefix": "103.0.0.0/30", "vlanId": 101}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '139' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/expressRouteCircuits/myCircuit/peerings/AzurePrivatePeering?api-version=2020-11-01 - response: - body: - string: "{\r\n \"name\": \"AzurePrivatePeering\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/expressRouteCircuits/myCircuit/peerings/AzurePrivatePeering\"\ - ,\r\n \"etag\": \"W/\\\"bac07117-2d2c-4744-8e69-46cddaca6ebc\\\"\",\r\n \ - \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"\ - peeringType\": \"AzurePrivatePeering\",\r\n \"azureASN\": 0,\r\n \"\ - peerASN\": 10001,\r\n \"primaryPeerAddressPrefix\": \"102.0.0.0/30\",\r\ - \n \"secondaryPeerAddressPrefix\": \"103.0.0.0/30\",\r\n \"state\":\ - \ \"Enabled\",\r\n \"vlanId\": 101,\r\n \"lastModifiedBy\": \"\",\r\n\ - \ \"connections\": [],\r\n \"peeredConnections\": []\r\n },\r\n \"\ - type\": \"Microsoft.Network/expressRouteCircuits/peerings\"\r\n}" - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/e8b733a0-6b28-4a1d-a6e6-92b8f62beccf?api-version=2020-11-01 - cache-control: - - no-cache - content-length: - - '773' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 05:15:32 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 26c5e9b0-0ad7-4c6f-ad86-effed45ee35b - x-ms-ratelimit-remaining-subscription-writes: - - '1194' - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/e8b733a0-6b28-4a1d-a6e6-92b8f62beccf?api-version=2020-11-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 05:15:42 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 10a02bb1-4a88-457a-a513-0ac232ccf8ad - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/e8b733a0-6b28-4a1d-a6e6-92b8f62beccf?api-version=2020-11-01 - response: - body: - string: "{\r\n \"status\": \"Succeeded\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '29' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 05:15:52 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - fa91c46d-e0cf-4c34-996d-24ea5bc0b9db - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/expressRouteCircuits/myCircuit/peerings/AzurePrivatePeering?api-version=2020-11-01 - response: - body: - string: "{\r\n \"name\": \"AzurePrivatePeering\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/expressRouteCircuits/myCircuit/peerings/AzurePrivatePeering\"\ - ,\r\n \"etag\": \"W/\\\"110cedd8-6007-4b7e-84f2-06a25b7de4d9\\\"\",\r\n \ - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\ - peeringType\": \"AzurePrivatePeering\",\r\n \"azureASN\": 12076,\r\n \ - \ \"peerASN\": 10001,\r\n \"primaryPeerAddressPrefix\": \"102.0.0.0/30\"\ - ,\r\n \"secondaryPeerAddressPrefix\": \"103.0.0.0/30\",\r\n \"primaryAzurePort\"\ - : \"EQIX-SJC-06GMR-CIS-1-PRI-A\",\r\n \"secondaryAzurePort\": \"EQIX-SJC-06GMR-CIS-2-SEC-A\"\ - ,\r\n \"state\": \"Enabled\",\r\n \"vlanId\": 101,\r\n \"gatewayManagerEtag\"\ - : \"\",\r\n \"lastModifiedBy\": \"Customer\",\r\n \"connections\": [],\r\ - \n \"peeredConnections\": []\r\n },\r\n \"type\": \"Microsoft.Network/expressRouteCircuits/peerings\"\ - \r\n}" - headers: - cache-control: - - no-cache - content-length: - - '929' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 05:15:53 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - a18090fd-8fba-492e-a896-9f6a6486780d - status: - code: 200 - message: OK -- request: - body: '{"properties": {"peerASN": 10002, "primaryPeerAddressPrefix": "104.0.0.0/30", - "secondaryPeerAddressPrefix": "105.0.0.0/30", "vlanId": 102}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '139' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/expressRouteCircuits/myCircuit2/peerings/AzurePrivatePeering?api-version=2020-11-01 - response: - body: - string: "{\r\n \"name\": \"AzurePrivatePeering\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/expressRouteCircuits/myCircuit2/peerings/AzurePrivatePeering\"\ - ,\r\n \"etag\": \"W/\\\"774c4c31-3af8-4916-9545-e862f8a13af9\\\"\",\r\n \ - \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"\ - peeringType\": \"AzurePrivatePeering\",\r\n \"azureASN\": 0,\r\n \"\ - peerASN\": 10002,\r\n \"primaryPeerAddressPrefix\": \"104.0.0.0/30\",\r\ - \n \"secondaryPeerAddressPrefix\": \"105.0.0.0/30\",\r\n \"state\":\ - \ \"Enabled\",\r\n \"vlanId\": 102,\r\n \"lastModifiedBy\": \"\",\r\n\ - \ \"connections\": [],\r\n \"peeredConnections\": []\r\n },\r\n \"\ - type\": \"Microsoft.Network/expressRouteCircuits/peerings\"\r\n}" - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/c76f0a86-2438-4a35-9bbd-5f8e4046ed73?api-version=2020-11-01 - cache-control: - - no-cache - content-length: - - '774' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 05:15:54 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 6854b662-03ef-4e0e-92a5-dec2be81d141 - x-ms-ratelimit-remaining-subscription-writes: - - '1193' - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/c76f0a86-2438-4a35-9bbd-5f8e4046ed73?api-version=2020-11-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 05:16:04 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - e4d88974-5a00-488d-aa0c-3cfb5ed91f03 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/c76f0a86-2438-4a35-9bbd-5f8e4046ed73?api-version=2020-11-01 - response: - body: - string: "{\r\n \"status\": \"Succeeded\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '29' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 05:16:14 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 9e78c31e-05f0-4467-ae1e-5272c92d876e - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/expressRouteCircuits/myCircuit2/peerings/AzurePrivatePeering?api-version=2020-11-01 - response: - body: - string: "{\r\n \"name\": \"AzurePrivatePeering\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/expressRouteCircuits/myCircuit2/peerings/AzurePrivatePeering\"\ - ,\r\n \"etag\": \"W/\\\"6bae7732-95fd-44f1-8cb4-c68c4067dcfe\\\"\",\r\n \ - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\ - peeringType\": \"AzurePrivatePeering\",\r\n \"azureASN\": 12076,\r\n \ - \ \"peerASN\": 10002,\r\n \"primaryPeerAddressPrefix\": \"104.0.0.0/30\"\ - ,\r\n \"secondaryPeerAddressPrefix\": \"105.0.0.0/30\",\r\n \"primaryAzurePort\"\ - : \"EQIX-SJC-06GMR-CIS-1-PRI-A\",\r\n \"secondaryAzurePort\": \"EQIX-SJC-06GMR-CIS-2-SEC-A\"\ - ,\r\n \"state\": \"Enabled\",\r\n \"vlanId\": 102,\r\n \"gatewayManagerEtag\"\ - : \"\",\r\n \"lastModifiedBy\": \"Customer\",\r\n \"connections\": [],\r\ - \n \"peeredConnections\": []\r\n },\r\n \"type\": \"Microsoft.Network/expressRouteCircuits/peerings\"\ - \r\n}" - headers: - cache-control: - - no-cache - content-length: - - '930' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 05:16:15 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 1b0d3dbc-2f83-4ffd-8a23-309179be4832 - status: - code: 200 - message: OK -- request: - body: '{}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '2' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/expressRouteCircuits/myCircuit/authorizations/myAuthorization?api-version=2020-11-01 - response: - body: - string: "{\r\n \"name\": \"myAuthorization\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/expressRouteCircuits/myCircuit/authorizations/myAuthorization\"\ - ,\r\n \"etag\": \"W/\\\"4cbd84d6-1774-4e65-8594-6f18e0af7895\\\"\",\r\n \ - \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"\ - authorizationKey\": \"ca204877-534e-4e05-b406-92e9a508ac13\",\r\n \"authorizationUseStatus\"\ - : \"Available\"\r\n },\r\n \"type\": \"Microsoft.Network/expressRouteCircuits/authorizations\"\ - \r\n}" - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/a56677a7-c7fe-46c2-b499-db34ef4efc15?api-version=2020-11-01 - cache-control: - - no-cache - content-length: - - '574' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 05:16:17 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 49921eeb-5f41-4a4c-9cdc-b22e709f80f3 - x-ms-ratelimit-remaining-subscription-writes: - - '1192' - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/a56677a7-c7fe-46c2-b499-db34ef4efc15?api-version=2020-11-01 - response: - body: - string: "{\r\n \"status\": \"Succeeded\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '29' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 05:16:27 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - f77a6699-b1fc-47b7-bbcc-8d6fa340c0dd - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/expressRouteCircuits/myCircuit/authorizations/myAuthorization?api-version=2020-11-01 - response: - body: - string: "{\r\n \"name\": \"myAuthorization\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/expressRouteCircuits/myCircuit/authorizations/myAuthorization\"\ - ,\r\n \"etag\": \"W/\\\"96d8228f-4a32-47ad-8bb8-30f29a87ca97\\\"\",\r\n \ - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\ - authorizationKey\": \"ca204877-534e-4e05-b406-92e9a508ac13\",\r\n \"authorizationUseStatus\"\ - : \"Available\"\r\n },\r\n \"type\": \"Microsoft.Network/expressRouteCircuits/authorizations\"\ - \r\n}" - headers: - cache-control: - - no-cache - content-length: - - '575' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 05:16:27 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - e931215d-93e8-41b1-b6cf-8a2d3bb65448 - status: - code: 200 - message: OK -- request: - body: '{"properties": {"expressRouteCircuitPeering": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/expressRouteCircuits/myCircuit/peerings/AzurePrivatePeering"}, - "peerExpressRouteCircuitPeering": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/expressRouteCircuits/myCircuit2/peerings/AzurePrivatePeering"}, - "addressPrefix": "104.0.0.0/29"}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '598' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/expressRouteCircuits/myCircuit/peerings/AzurePrivatePeering/connections/myConnection?api-version=2020-11-01 - response: - body: - string: "{\r\n \"name\": \"myConnection\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/expressRouteCircuits/myCircuit/peerings/AzurePrivatePeering/connections/myConnection\"\ - ,\r\n \"etag\": \"W/\\\"11d3387e-574b-4759-aecf-b184a46a8a6e\\\"\",\r\n \ - \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"\ - expressRouteCircuitPeering\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/expressRouteCircuits/myCircuit/peerings/AzurePrivatePeering\"\ - \r\n },\r\n \"peerExpressRouteCircuitPeering\": {\r\n \"id\": \"\ - /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/expressRouteCircuits/myCircuit2/peerings/AzurePrivatePeering\"\ - \r\n },\r\n \"addressPrefix\": \"104.0.0.0/29\",\r\n \"circuitConnectionStatus\"\ - : \"Disconnected\"\r\n },\r\n \"type\": \"Microsoft.Network/expressRouteCircuits/peerings/connections\"\ - \r\n}" - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/ddc9678b-70a3-4223-a017-5f26cc29a7fc?api-version=2020-11-01 - cache-control: - - no-cache - content-length: - - '1164' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 05:16:28 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - f1713824-d9ff-4981-a783-5a768a988130 - x-ms-ratelimit-remaining-subscription-writes: - - '1191' - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/ddc9678b-70a3-4223-a017-5f26cc29a7fc?api-version=2020-11-01 - response: - body: - string: "{\r\n \"status\": \"Failed\",\r\n \"error\": {\r\n \"code\": \"\ - InitiatingCircuitNotProvisioned\",\r\n \"message\": \"Put Global Reach\ - \ Connection Initiating Circuit Subscription = 00000000-0000-0000-0000-000000000000,\ - \ ServiceKey = 83adb8ec-fb02-4cab-be7c-9e5fdd9e52ea is Not Provisioned. Current\ - \ Status NotProvisioned\",\r\n \"details\": []\r\n }\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '332' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 05:16:39 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - bcf8a26a-f9a6-4034-a537-17f475a35ee7 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/expressRouteCircuits/myCircuit2/peerings/AzurePrivatePeering/peerConnections/myConnection?api-version=2020-11-01 - response: - body: - string: "{\r\n \"error\": {\r\n \"code\": \"NotFound\",\r\n \"message\"\ - : \"Resource /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/expressRouteCircuits/myCircuit2/peerings/AzurePrivatePeering/peerConnections/myConnection\ - \ not found.\",\r\n \"details\": []\r\n }\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '367' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 05:16:40 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 0ad8a6e3-4f81-483d-849d-9697040fa86f - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/expressRouteCircuits/myCircuit/peerings/AzurePrivatePeering/connections/myConnection?api-version=2020-11-01 - response: - body: - string: "{\r\n \"name\": \"myConnection\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/expressRouteCircuits/myCircuit/peerings/AzurePrivatePeering/connections/myConnection\"\ - ,\r\n \"etag\": \"W/\\\"e8db6063-f89a-43cc-8339-ca1766b164de\\\"\",\r\n \ - \ \"properties\": {\r\n \"provisioningState\": \"Failed\",\r\n \"expressRouteCircuitPeering\"\ - : {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/expressRouteCircuits/myCircuit/peerings/AzurePrivatePeering\"\ - \r\n },\r\n \"peerExpressRouteCircuitPeering\": {\r\n \"id\": \"\ - /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/expressRouteCircuits/myCircuit2/peerings/AzurePrivatePeering\"\ - \r\n },\r\n \"addressPrefix\": \"104.0.0.0/29\",\r\n \"circuitConnectionStatus\"\ - : \"Connected\"\r\n },\r\n \"type\": \"Microsoft.Network/expressRouteCircuits/peerings/connections\"\ - \r\n}" - headers: - cache-control: - - no-cache - content-length: - - '1159' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 05:16:40 GMT - etag: - - W/"e8db6063-f89a-43cc-8339-ca1766b164de" - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 5a8e22ee-6b86-46e5-9922-10e7f2b28d0c - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/expressRouteCircuits/myCircuit/authorizations/myAuthorization?api-version=2020-11-01 - response: - body: - string: "{\r\n \"name\": \"myAuthorization\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/expressRouteCircuits/myCircuit/authorizations/myAuthorization\"\ - ,\r\n \"etag\": \"W/\\\"e8db6063-f89a-43cc-8339-ca1766b164de\\\"\",\r\n \ - \ \"properties\": {\r\n \"provisioningState\": \"Failed\",\r\n \"authorizationKey\"\ - : \"ca204877-534e-4e05-b406-92e9a508ac13\",\r\n \"authorizationUseStatus\"\ - : \"Available\"\r\n },\r\n \"type\": \"Microsoft.Network/expressRouteCircuits/authorizations\"\ - \r\n}" - headers: - cache-control: - - no-cache - content-length: - - '572' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 05:16:41 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 2e823d18-0b27-45ef-8d38-dcc12b025cf2 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/expressRouteCircuits/myCircuit/peerings/AzurePrivatePeering/stats?api-version=2020-11-01 - response: - body: - string: "{\r\n \"primaryBytesIn\": 0,\r\n \"primaryBytesOut\": 0,\r\n \"\ - secondaryBytesIn\": 0,\r\n \"secondaryBytesOut\": 0\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '105' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 05:16:42 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - bfc9cd9e-07f2-4270-92a4-6b7746c5eb53 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/expressRouteCircuits/myCircuit/peerings/AzurePrivatePeering?api-version=2020-11-01 - response: - body: - string: "{\r\n \"name\": \"AzurePrivatePeering\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/expressRouteCircuits/myCircuit/peerings/AzurePrivatePeering\"\ - ,\r\n \"etag\": \"W/\\\"e8db6063-f89a-43cc-8339-ca1766b164de\\\"\",\r\n \ - \ \"properties\": {\r\n \"provisioningState\": \"Failed\",\r\n \"peeringType\"\ - : \"AzurePrivatePeering\",\r\n \"azureASN\": 12076,\r\n \"peerASN\"\ - : 10001,\r\n \"primaryPeerAddressPrefix\": \"102.0.0.0/30\",\r\n \"\ - secondaryPeerAddressPrefix\": \"103.0.0.0/30\",\r\n \"primaryAzurePort\"\ - : \"EQIX-SJC-06GMR-CIS-1-PRI-A\",\r\n \"secondaryAzurePort\": \"EQIX-SJC-06GMR-CIS-2-SEC-A\"\ - ,\r\n \"state\": \"Enabled\",\r\n \"vlanId\": 101,\r\n \"gatewayManagerEtag\"\ - : \"\",\r\n \"lastModifiedBy\": \"Customer\",\r\n \"connections\": [\r\ - \n {\r\n \"name\": \"myConnection\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/expressRouteCircuits/myCircuit/peerings/AzurePrivatePeering/connections/myConnection\"\ - ,\r\n \"etag\": \"W/\\\"e8db6063-f89a-43cc-8339-ca1766b164de\\\"\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Failed\"\ - ,\r\n \"expressRouteCircuitPeering\": {\r\n \"id\": \"\ - /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/expressRouteCircuits/myCircuit/peerings/AzurePrivatePeering\"\ - \r\n },\r\n \"peerExpressRouteCircuitPeering\": {\r\n \ - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/expressRouteCircuits/myCircuit2/peerings/AzurePrivatePeering\"\ - \r\n },\r\n \"addressPrefix\": \"104.0.0.0/29\",\r\n \ - \ \"circuitConnectionStatus\": \"Connected\"\r\n },\r\n \ - \ \"type\": \"Microsoft.Network/expressRouteCircuits/peerings/connections\"\ - \r\n }\r\n ],\r\n \"peeredConnections\": []\r\n },\r\n \"type\"\ - : \"Microsoft.Network/expressRouteCircuits/peerings\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '2195' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 05:16:42 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 38b20446-3a07-41c0-a7d8-d4d4952b6b68 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/expressRouteCircuits/myCircuit/stats?api-version=2020-11-01 - response: - body: - string: "{\r\n \"primaryBytesIn\": 0,\r\n \"primaryBytesOut\": 0,\r\n \"\ - secondaryBytesIn\": 0,\r\n \"secondaryBytesOut\": 0\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '105' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 05:16:43 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - b8d7dd25-91a4-470a-9a3d-f27dd5c5d0bc - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/expressRouteCircuits/myCircuit?api-version=2020-11-01 - response: - body: - string: "{\r\n \"name\": \"myCircuit\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/expressRouteCircuits/myCircuit\"\ - ,\r\n \"etag\": \"W/\\\"e8db6063-f89a-43cc-8339-ca1766b164de\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/expressRouteCircuits\",\r\n \"location\"\ - : \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Failed\"\ - ,\r\n \"resourceGuid\": \"e952ed59-2864-4752-99f3-6a976f22e1a4\",\r\n \ - \ \"peerings\": [\r\n {\r\n \"name\": \"AzurePrivatePeering\"\ - ,\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/expressRouteCircuits/myCircuit/peerings/AzurePrivatePeering\"\ - ,\r\n \"etag\": \"W/\\\"e8db6063-f89a-43cc-8339-ca1766b164de\\\"\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Failed\"\ - ,\r\n \"peeringType\": \"AzurePrivatePeering\",\r\n \"azureASN\"\ - : 12076,\r\n \"peerASN\": 10001,\r\n \"primaryPeerAddressPrefix\"\ - : \"102.0.0.0/30\",\r\n \"secondaryPeerAddressPrefix\": \"103.0.0.0/30\"\ - ,\r\n \"primaryAzurePort\": \"\",\r\n \"secondaryAzurePort\"\ - : \"\",\r\n \"state\": \"Enabled\",\r\n \"vlanId\": 101,\r\ - \n \"gatewayManagerEtag\": \"\",\r\n \"lastModifiedBy\"\ - : \"Customer\",\r\n \"connections\": [\r\n {\r\n \ - \ \"name\": \"myConnection\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/expressRouteCircuits/myCircuit/peerings/AzurePrivatePeering/connections/myConnection\"\ - ,\r\n \"etag\": \"W/\\\"e8db6063-f89a-43cc-8339-ca1766b164de\\\ - \"\",\r\n \"properties\": {\r\n \"provisioningState\"\ - : \"Failed\",\r\n \"expressRouteCircuitPeering\": {\r\n \ - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/expressRouteCircuits/myCircuit/peerings/AzurePrivatePeering\"\ - \r\n },\r\n \"peerExpressRouteCircuitPeering\"\ - : {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/expressRouteCircuits/myCircuit2/peerings/AzurePrivatePeering\"\ - \r\n },\r\n \"addressPrefix\": \"104.0.0.0/29\"\ - ,\r\n \"circuitConnectionStatus\": \"Connected\"\r\n \ - \ },\r\n \"type\": \"Microsoft.Network/expressRouteCircuits/peerings/connections\"\ - \r\n }\r\n ],\r\n \"peeredConnections\": []\r\ - \n },\r\n \"type\": \"Microsoft.Network/expressRouteCircuits/peerings\"\ - \r\n }\r\n ],\r\n \"authorizations\": [\r\n {\r\n \"\ - name\": \"myAuthorization\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/expressRouteCircuits/myCircuit/authorizations/myAuthorization\"\ - ,\r\n \"etag\": \"W/\\\"e8db6063-f89a-43cc-8339-ca1766b164de\\\"\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Failed\"\ - ,\r\n \"authorizationKey\": \"ca204877-534e-4e05-b406-92e9a508ac13\"\ - ,\r\n \"authorizationUseStatus\": \"Available\"\r\n },\r\n\ - \ \"type\": \"Microsoft.Network/expressRouteCircuits/authorizations\"\ - \r\n }\r\n ],\r\n \"serviceProviderProperties\": {\r\n \"\ - serviceProviderName\": \"Equinix\",\r\n \"peeringLocation\": \"Silicon\ - \ Valley\",\r\n \"bandwidthInMbps\": 200\r\n },\r\n \"circuitProvisioningState\"\ - : \"Enabled\",\r\n \"allowClassicOperations\": false,\r\n \"gatewayManagerEtag\"\ - : \"\",\r\n \"serviceKey\": \"83adb8ec-fb02-4cab-be7c-9e5fdd9e52ea\",\r\ - \n \"serviceProviderProvisioningState\": \"NotProvisioned\",\r\n \"\ - allowGlobalReach\": false,\r\n \"globalReachEnabled\": false,\r\n \"\ - stag\": 245\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard_MeteredData\"\ - ,\r\n \"tier\": \"Standard\",\r\n \"family\": \"MeteredData\"\r\n }\r\ - \n}" - headers: - cache-control: - - no-cache - content-length: - - '4165' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 05:16:43 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - bcc417e0-d216-4df3-8200-aba06f4f49a6 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/expressRouteCircuits/myCircuit/peerings/AzurePrivatePeering/connections/myConnection?api-version=2020-11-01 - response: - body: - string: '' - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/c9229714-4f88-4e8f-8ff0-e25f9e4d7e2d?api-version=2020-11-01 - cache-control: - - no-cache - content-length: - - '0' - date: - - Tue, 09 Mar 2021 05:16:44 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/c9229714-4f88-4e8f-8ff0-e25f9e4d7e2d?api-version=2020-11-01 - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 6cd8b63e-aac7-4d62-a548-6f6b4c48199e - x-ms-ratelimit-remaining-subscription-deletes: - - '14999' - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/c9229714-4f88-4e8f-8ff0-e25f9e4d7e2d?api-version=2020-11-01 - response: - body: - string: "{\r\n \"status\": \"Succeeded\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '29' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 05:16:54 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - b6f213f3-6042-4c16-a676-e57493351606 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/expressRouteCircuits/myCircuit/authorizations/myAuthorization?api-version=2020-11-01 - response: - body: - string: '' - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/79e83858-46c7-4d10-b27f-bdeeac676c6f?api-version=2020-11-01 - cache-control: - - no-cache - content-length: - - '0' - date: - - Tue, 09 Mar 2021 05:16:54 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/79e83858-46c7-4d10-b27f-bdeeac676c6f?api-version=2020-11-01 - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 03bd9f1e-0c3d-4873-918c-021d61dd763a - x-ms-ratelimit-remaining-subscription-deletes: - - '14998' - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/79e83858-46c7-4d10-b27f-bdeeac676c6f?api-version=2020-11-01 - response: - body: - string: "{\r\n \"status\": \"Succeeded\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '29' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 05:17:05 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 4fd184ff-613a-4c69-80a7-8927e811efca - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/expressRouteCircuits/myCircuit/peerings/AzurePrivatePeering?api-version=2020-11-01 - response: - body: - string: '' - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/74821bf9-25a9-4d22-aff4-001bf8081754?api-version=2020-11-01 - cache-control: - - no-cache - content-length: - - '0' - date: - - Tue, 09 Mar 2021 05:17:05 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/74821bf9-25a9-4d22-aff4-001bf8081754?api-version=2020-11-01 - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 16824f30-1b75-4345-9514-47df1d6de3c7 - x-ms-ratelimit-remaining-subscription-deletes: - - '14997' - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/74821bf9-25a9-4d22-aff4-001bf8081754?api-version=2020-11-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 05:17:15 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 49438aab-e0aa-453c-b2ba-ecbc3f05c7d2 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/74821bf9-25a9-4d22-aff4-001bf8081754?api-version=2020-11-01 - response: - body: - string: "{\r\n \"status\": \"Succeeded\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '29' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 05:17:26 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 0985604a-1465-414c-bee3-c6cfb8b85570 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/expressRouteCircuits/myCircuit?api-version=2020-11-01 - response: - body: - string: '' - headers: - azure-asyncnotification: - - Enabled - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/0c98c97e-d151-477f-8351-74ec53357fb8?api-version=2020-11-01 - cache-control: - - no-cache - content-length: - - '0' - date: - - Tue, 09 Mar 2021 05:17:28 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/0c98c97e-d151-477f-8351-74ec53357fb8?api-version=2020-11-01 - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 86c7c713-b9ba-4be6-8ba5-f00b94590bbf - x-ms-ratelimit-remaining-subscription-deletes: - - '14996' - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/0c98c97e-d151-477f-8351-74ec53357fb8?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/80e947dd-50ae-48a3-8f2d-a455b2ac0104?api-version=2021-02-01 response: body: - string: "{\r\n \"status\": \"Succeeded\"\r\n}" + string: "{\r\n \"status\": \"Failed\",\r\n \"error\": {\r\n \"code\": \"SubscriptionNotAuthorized\",\r\n + \ \"message\": \"This subscriptionId:00000000-0000-0000-0000-000000000000 + is not enabled for this feature\",\r\n \"details\": []\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '29' + - '215' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:17:39 GMT + - Fri, 14 May 2021 04:38:01 GMT expires: - '-1' pragma: @@ -2169,7 +110,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 09338aad-e421-479d-8395-143ee5b70614 + - f9b49bf3-4d43-4d3c-98a4-5161981eb77f status: code: 200 message: OK diff --git a/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_firewall.test_network.yaml b/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_firewall.test_network.yaml index 48ccee12bb2e..4946bc24e29c 100644 --- a/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_firewall.test_network.yaml +++ b/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_firewall.test_network.yaml @@ -14,31 +14,32 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_network_firewall_test_network892411e1/providers/Microsoft.Network/virtualWans/virtualwan?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_network_firewall_test_network892411e1/providers/Microsoft.Network/virtualWans/virtualwan?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"virtualwan\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_network_firewall_test_network892411e1/providers/Microsoft.Network/virtualWans/virtualwan\"\ - ,\r\n \"etag\": \"W/\\\"fc1124cf-690c-4475-b766-3e8f332af4fa\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/virtualWans\",\r\n \"location\": \"westus\"\ - ,\r\n \"tags\": {\r\n \"key1\": \"value1\"\r\n },\r\n \"properties\"\ - : {\r\n \"provisioningState\": \"Updating\",\r\n \"disableVpnEncryption\"\ - : false,\r\n \"allowBranchToBranchTraffic\": true,\r\n \"office365LocalBreakoutCategory\"\ - : \"None\",\r\n \"type\": \"Basic\"\r\n }\r\n}" + string: "{\r\n \"name\": \"virtualwan\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_network_firewall_test_network892411e1/providers/Microsoft.Network/virtualWans/virtualwan\",\r\n + \ \"etag\": \"W/\\\"24715622-15f8-4c97-bfe9-7a970eadfc08\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualWans\",\r\n \"location\": \"westus\",\r\n \"tags\": + {\r\n \"key1\": \"value1\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": + \"Updating\",\r\n \"disableVpnEncryption\": false,\r\n \"allowBranchToBranchTraffic\": + true,\r\n \"office365LocalBreakoutCategory\": \"None\",\r\n \"type\": + \"Basic\"\r\n }\r\n}" headers: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/201641f4-8cd8-46dd-a5b2-498bf9a0383d?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/1af2c663-dcc6-4649-995e-a456ccfd402b?api-version=2021-02-01 cache-control: - no-cache content-length: - - '585' + - '590' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:17:56 GMT + - Fri, 14 May 2021 04:38:02 GMT expires: - '-1' pragma: @@ -51,9 +52,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - d33748e6-a32d-49d8-9057-67696337b9a9 + - 07e3217a-533b-4370-907d-46aa2f8e72a6 x-ms-ratelimit-remaining-subscription-writes: - - '1191' + - '1198' status: code: 201 message: Created @@ -67,9 +68,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/201641f4-8cd8-46dd-a5b2-498bf9a0383d?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/1af2c663-dcc6-4649-995e-a456ccfd402b?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -81,7 +83,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:18:07 GMT + - Fri, 14 May 2021 04:38:12 GMT expires: - '-1' pragma: @@ -98,7 +100,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 1a995b09-7f06-430d-a684-d492154bcc4b + - 6fccd640-f7a6-485d-9af5-281156836ae0 status: code: 200 message: OK @@ -112,29 +114,30 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_network_firewall_test_network892411e1/providers/Microsoft.Network/virtualWans/virtualwan?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_network_firewall_test_network892411e1/providers/Microsoft.Network/virtualWans/virtualwan?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"virtualwan\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_network_firewall_test_network892411e1/providers/Microsoft.Network/virtualWans/virtualwan\"\ - ,\r\n \"etag\": \"W/\\\"8bd9f43a-df09-4e86-97c2-9f90db42dac1\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/virtualWans\",\r\n \"location\": \"westus\"\ - ,\r\n \"tags\": {\r\n \"key1\": \"value1\"\r\n },\r\n \"properties\"\ - : {\r\n \"provisioningState\": \"Succeeded\",\r\n \"disableVpnEncryption\"\ - : false,\r\n \"allowBranchToBranchTraffic\": true,\r\n \"office365LocalBreakoutCategory\"\ - : \"None\",\r\n \"type\": \"Basic\"\r\n }\r\n}" + string: "{\r\n \"name\": \"virtualwan\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_network_firewall_test_network892411e1/providers/Microsoft.Network/virtualWans/virtualwan\",\r\n + \ \"etag\": \"W/\\\"ce83e3c4-8858-47d9-856b-98815fe77dc5\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualWans\",\r\n \"location\": \"westus\",\r\n \"tags\": + {\r\n \"key1\": \"value1\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": + \"Succeeded\",\r\n \"disableVpnEncryption\": false,\r\n \"allowBranchToBranchTraffic\": + true,\r\n \"office365LocalBreakoutCategory\": \"None\",\r\n \"type\": + \"Basic\"\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '586' + - '591' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:18:07 GMT + - Fri, 14 May 2021 04:38:12 GMT etag: - - W/"8bd9f43a-df09-4e86-97c2-9f90db42dac1" + - W/"ce83e3c4-8858-47d9-856b-98815fe77dc5" expires: - '-1' pragma: @@ -151,7 +154,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - c2a55159-deac-4ccc-8724-4a3c4ba49b59 + - 65f9594c-7518-4f20-afe6-7a4d0a75bece status: code: 200 message: OK @@ -167,38 +170,39 @@ interactions: Connection: - keep-alive Content-Length: - - '312' + - '317' Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_network_firewall_test_network892411e1/providers/Microsoft.Network/virtualHubs/virtualhub?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_network_firewall_test_network892411e1/providers/Microsoft.Network/virtualHubs/virtualhub?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"virtualhub\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_network_firewall_test_network892411e1/providers/Microsoft.Network/virtualHubs/virtualhub\"\ - ,\r\n \"etag\": \"W/\\\"d95ace19-46ac-4881-9e46-fe3412a26aa8\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/virtualHubs\",\r\n \"location\": \"westus\"\ - ,\r\n \"tags\": {\r\n \"key1\": \"value1\"\r\n },\r\n \"properties\"\ - : {\r\n \"provisioningState\": \"Updating\",\r\n \"virtualHubRouteTableV2s\"\ - : [],\r\n \"addressPrefix\": \"10.168.0.0/24\",\r\n \"virtualRouterAsn\"\ - : 0,\r\n \"virtualRouterIps\": [],\r\n \"routeTable\": {\r\n \"\ - routes\": []\r\n },\r\n \"virtualWan\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_network_firewall_test_network892411e1/providers/Microsoft.Network/virtualWans/virtualwan\"\ - \r\n },\r\n \"sku\": \"Basic\",\r\n \"routingState\": \"None\",\r\ - \n \"allowBranchToBranchTraffic\": false\r\n }\r\n}" + string: "{\r\n \"name\": \"virtualhub\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_network_firewall_test_network892411e1/providers/Microsoft.Network/virtualHubs/virtualhub\",\r\n + \ \"etag\": \"W/\\\"1f7cb730-c0d2-4b0d-9a9d-defb27733b09\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualHubs\",\r\n \"location\": \"westus\",\r\n \"tags\": + {\r\n \"key1\": \"value1\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": + \"Updating\",\r\n \"virtualHubRouteTableV2s\": [],\r\n \"addressPrefix\": + \"10.168.0.0/24\",\r\n \"virtualRouterAsn\": 0,\r\n \"virtualRouterIps\": + [],\r\n \"routeTable\": {\r\n \"routes\": []\r\n },\r\n \"virtualWan\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_network_firewall_test_network892411e1/providers/Microsoft.Network/virtualWans/virtualwan\"\r\n + \ },\r\n \"sku\": \"Basic\",\r\n \"routingState\": \"None\",\r\n \"allowBranchToBranchTraffic\": + false,\r\n \"preferredRoutingGateway\": \"ExpressRoute\"\r\n }\r\n}" headers: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/88c4fd09-2a8f-4c2a-b192-3348208f461a?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/3b5bc464-3a3f-4fa9-9d29-598f788ca1ca?api-version=2021-02-01 cache-control: - no-cache content-length: - - '926' + - '984' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:18:13 GMT + - Fri, 14 May 2021 04:38:13 GMT expires: - '-1' pragma: @@ -211,9 +215,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 8efa8b40-3283-4dcd-bb8e-abbd3884f827 + - 0f880910-8a41-497b-92a6-ab2ef51a4197 x-ms-ratelimit-remaining-subscription-writes: - - '1190' + - '1197' status: code: 201 message: Created @@ -227,9 +231,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/88c4fd09-2a8f-4c2a-b192-3348208f461a?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/3b5bc464-3a3f-4fa9-9d29-598f788ca1ca?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -241,7 +246,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:18:24 GMT + - Fri, 14 May 2021 04:38:24 GMT expires: - '-1' pragma: @@ -258,7 +263,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - de09d2d3-3701-4201-a918-c7ab838d421a + - db62e373-cff3-4330-af0b-cfb461f7c1fb status: code: 200 message: OK @@ -272,9 +277,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/88c4fd09-2a8f-4c2a-b192-3348208f461a?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/3b5bc464-3a3f-4fa9-9d29-598f788ca1ca?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -286,7 +292,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:18:34 GMT + - Fri, 14 May 2021 04:38:34 GMT expires: - '-1' pragma: @@ -303,7 +309,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 5c1bf616-9fb7-4625-8490-c56ea9b9d94e + - 4a7c0b64-0ad3-4fe9-9938-f5f2aba39ab1 status: code: 200 message: OK @@ -317,9 +323,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/88c4fd09-2a8f-4c2a-b192-3348208f461a?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/3b5bc464-3a3f-4fa9-9d29-598f788ca1ca?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -331,7 +338,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:18:54 GMT + - Fri, 14 May 2021 04:38:54 GMT expires: - '-1' pragma: @@ -348,7 +355,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 6bda19c3-904c-4d67-88b0-a4618762f05e + - 7bdbe1fc-f292-4fa6-9935-3c380ff3bfef status: code: 200 message: OK @@ -362,9 +369,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/88c4fd09-2a8f-4c2a-b192-3348208f461a?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/3b5bc464-3a3f-4fa9-9d29-598f788ca1ca?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -376,7 +384,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:19:15 GMT + - Fri, 14 May 2021 04:39:14 GMT expires: - '-1' pragma: @@ -393,7 +401,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 1e994e83-d831-4463-a697-43050e011ba9 + - 7ec95d73-2ca7-40a8-b5c2-6424b9a320a0 status: code: 200 message: OK @@ -407,9 +415,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/88c4fd09-2a8f-4c2a-b192-3348208f461a?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/3b5bc464-3a3f-4fa9-9d29-598f788ca1ca?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -421,7 +430,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:19:55 GMT + - Fri, 14 May 2021 04:39:54 GMT expires: - '-1' pragma: @@ -438,7 +447,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - f9ca84ea-4462-4a48-b630-efff362e3488 + - 18934569-5533-469e-8a47-0d969e98b917 status: code: 200 message: OK @@ -452,9 +461,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/88c4fd09-2a8f-4c2a-b192-3348208f461a?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/3b5bc464-3a3f-4fa9-9d29-598f788ca1ca?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -466,7 +476,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:20:36 GMT + - Fri, 14 May 2021 04:40:35 GMT expires: - '-1' pragma: @@ -483,7 +493,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 4a48aaee-c22b-4547-abb6-61f25675287d + - a469f981-3041-4d4e-a2d2-f7284637bab8 status: code: 200 message: OK @@ -497,9 +507,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/88c4fd09-2a8f-4c2a-b192-3348208f461a?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/3b5bc464-3a3f-4fa9-9d29-598f788ca1ca?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -511,7 +522,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:21:56 GMT + - Fri, 14 May 2021 04:41:55 GMT expires: - '-1' pragma: @@ -528,7 +539,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 343ab9ae-f03c-4a23-a45f-0b94dd267e8c + - 0815d297-5e64-449f-adc2-7a8e942fce3e status: code: 200 message: OK @@ -542,30 +553,32 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_network_firewall_test_network892411e1/providers/Microsoft.Network/virtualHubs/virtualhub?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_network_firewall_test_network892411e1/providers/Microsoft.Network/virtualHubs/virtualhub?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"virtualhub\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_network_firewall_test_network892411e1/providers/Microsoft.Network/virtualHubs/virtualhub\"\ - ,\r\n \"etag\": \"W/\\\"8ce4fb84-4736-4ae9-9d1f-e117cf780aad\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/virtualHubs\",\r\n \"location\": \"westus\"\ - ,\r\n \"tags\": {\r\n \"key1\": \"value1\"\r\n },\r\n \"properties\"\ - : {\r\n \"provisioningState\": \"Succeeded\",\r\n \"virtualHubRouteTableV2s\"\ - : [],\r\n \"addressPrefix\": \"10.168.0.0/24\",\r\n \"virtualRouterAsn\"\ - : 0,\r\n \"virtualRouterIps\": [],\r\n \"routeTable\": {\r\n \"\ - routes\": []\r\n },\r\n \"virtualWan\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_network_firewall_test_network892411e1/providers/Microsoft.Network/virtualWans/virtualwan\"\ - \r\n },\r\n \"sku\": \"Basic\",\r\n \"routingState\": \"Provisioning\"\ - ,\r\n \"allowBranchToBranchTraffic\": false\r\n }\r\n}" + string: "{\r\n \"name\": \"virtualhub\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_network_firewall_test_network892411e1/providers/Microsoft.Network/virtualHubs/virtualhub\",\r\n + \ \"etag\": \"W/\\\"ed6fdbbb-a209-4363-a14c-8ae3700be06b\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualHubs\",\r\n \"location\": \"westus\",\r\n \"tags\": + {\r\n \"key1\": \"value1\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": + \"Succeeded\",\r\n \"virtualHubRouteTableV2s\": [],\r\n \"addressPrefix\": + \"10.168.0.0/24\",\r\n \"virtualRouterAsn\": 0,\r\n \"virtualRouterIps\": + [],\r\n \"routeTable\": {\r\n \"routes\": []\r\n },\r\n \"virtualWan\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_network_firewall_test_network892411e1/providers/Microsoft.Network/virtualWans/virtualwan\"\r\n + \ },\r\n \"sku\": \"Basic\",\r\n \"routingState\": \"Provisioning\",\r\n + \ \"allowBranchToBranchTraffic\": false,\r\n \"preferredRoutingGateway\": + \"ExpressRoute\"\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '935' + - '993' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:21:57 GMT + - Fri, 14 May 2021 04:41:55 GMT expires: - '-1' pragma: @@ -582,7 +595,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - d6299b5d-61cb-49f9-b160-c4d71b06172b + - be4d265a-a558-4ffd-8168-7d62c3d2f795 status: code: 200 message: OK @@ -601,29 +614,30 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_network_firewall_test_network892411e1/providers/Microsoft.Network/firewallPolicies/firewallpolicy?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_network_firewall_test_network892411e1/providers/Microsoft.Network/firewallPolicies/firewallpolicy?api-version=2021-02-01 response: body: - string: "{\r\n \"properties\": {\r\n \"sku\": {\r\n \"tier\": \"Standard\"\ - \r\n },\r\n \"threatIntelMode\": \"Alert\",\r\n \"childPolicies\"\ - : [],\r\n \"ruleCollectionGroups\": [],\r\n \"firewalls\": [],\r\n \ - \ \"provisioningState\": \"Updating\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_network_firewall_test_network892411e1/providers/Microsoft.Network/firewallPolicies/firewallpolicy\"\ - ,\r\n \"name\": \"firewallpolicy\",\r\n \"type\": \"Microsoft.Network/FirewallPolicies\"\ - ,\r\n \"etag\": \"5e9de698-b2b6-4ac2-a208-4b391d972e93\",\r\n \"location\"\ - : \"eastus\",\r\n \"tags\": {\r\n \"key1\": \"value1\"\r\n }\r\n}" + string: "{\r\n \"properties\": {\r\n \"sku\": {\r\n \"tier\": \"Standard\"\r\n + \ },\r\n \"threatIntelMode\": \"Alert\",\r\n \"childPolicies\": [],\r\n + \ \"ruleCollectionGroups\": [],\r\n \"firewalls\": [],\r\n \"provisioningState\": + \"Updating\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_network_firewall_test_network892411e1/providers/Microsoft.Network/firewallPolicies/firewallpolicy\",\r\n + \ \"name\": \"firewallpolicy\",\r\n \"type\": \"Microsoft.Network/FirewallPolicies\",\r\n + \ \"etag\": \"b754d44d-7ceb-4928-80fe-fa221547aa74\",\r\n \"location\": \"eastus\",\r\n + \ \"tags\": {\r\n \"key1\": \"value1\"\r\n }\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/nfvOperations/51d165c2-79f9-497f-b81b-2841d0ec11a2?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/nfvOperations/7b1de0a1-66d8-4cad-a777-e6f9335a1bb8?api-version=2021-02-01 cache-control: - no-cache content-length: - - '613' + - '618' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:22:06 GMT + - Fri, 14 May 2021 04:41:57 GMT expires: - '-1' pragma: @@ -635,7 +649,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1189' + - '1196' status: code: 201 message: Created @@ -649,9 +663,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/nfvOperations/51d165c2-79f9-497f-b81b-2841d0ec11a2?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/nfvOperations/7b1de0a1-66d8-4cad-a777-e6f9335a1bb8?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -663,7 +678,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:22:16 GMT + - Fri, 14 May 2021 04:42:06 GMT expires: - '-1' pragma: @@ -691,27 +706,30 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_network_firewall_test_network892411e1/providers/Microsoft.Network/firewallPolicies/firewallpolicy?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_network_firewall_test_network892411e1/providers/Microsoft.Network/firewallPolicies/firewallpolicy?api-version=2021-02-01 response: body: - string: "{\r\n \"properties\": {\r\n \"sku\": {\r\n \"tier\": \"Standard\"\ - \r\n },\r\n \"threatIntelMode\": \"Alert\",\r\n \"childPolicies\"\ - : [],\r\n \"ruleCollectionGroups\": [],\r\n \"firewalls\": [],\r\n \ - \ \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_network_firewall_test_network892411e1/providers/Microsoft.Network/firewallPolicies/firewallpolicy\"\ - ,\r\n \"name\": \"firewallpolicy\",\r\n \"type\": \"Microsoft.Network/FirewallPolicies\"\ - ,\r\n \"etag\": \"5e9de698-b2b6-4ac2-a208-4b391d972e93\",\r\n \"location\"\ - : \"eastus\",\r\n \"tags\": {\r\n \"key1\": \"value1\"\r\n }\r\n}" + string: "{\r\n \"properties\": {\r\n \"sku\": {\r\n \"tier\": \"Standard\"\r\n + \ },\r\n \"threatIntelMode\": \"Alert\",\r\n \"childPolicies\": [],\r\n + \ \"ruleCollectionGroups\": [],\r\n \"firewalls\": [],\r\n \"provisioningState\": + \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_network_firewall_test_network892411e1/providers/Microsoft.Network/firewallPolicies/firewallpolicy\",\r\n + \ \"name\": \"firewallpolicy\",\r\n \"type\": \"Microsoft.Network/FirewallPolicies\",\r\n + \ \"etag\": \"b754d44d-7ceb-4928-80fe-fa221547aa74\",\r\n \"location\": \"eastus\",\r\n + \ \"tags\": {\r\n \"key1\": \"value1\"\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '614' + - '619' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:22:17 GMT + - Fri, 14 May 2021 04:42:06 GMT + etag: + - '"b754d44d-7ceb-4928-80fe-fa221547aa74"' expires: - '-1' pragma: @@ -743,40 +761,40 @@ interactions: Connection: - keep-alive Content-Length: - - '596' + - '606' Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_network_firewall_test_network892411e1/providers/Microsoft.Network/azureFirewalls/azurefirewall?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_network_firewall_test_network892411e1/providers/Microsoft.Network/azureFirewalls/azurefirewall?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"azurefirewall\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_network_firewall_test_network892411e1/providers/Microsoft.Network/azureFirewalls/azurefirewall\"\ - ,\r\n \"etag\": \"W/\\\"2aefbce0-b59d-48b9-b234-326350a01e02\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/azureFirewalls\",\r\n \"location\": \"westus\"\ - ,\r\n \"tags\": {\r\n \"key1\": \"value1\"\r\n },\r\n \"properties\"\ - : {\r\n \"provisioningState\": \"Updating\",\r\n \"sku\": {\r\n \ - \ \"name\": \"AZFW_Hub\",\r\n \"tier\": \"Standard\"\r\n },\r\n \ - \ \"additionalProperties\": {},\r\n \"virtualHub\": {\r\n \"id\"\ - : \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_network_firewall_test_network892411e1/providers/Microsoft.Network/virtualHubs/virtualhub\"\ - \r\n },\r\n \"hubIPAddresses\": {\r\n \"publicIPs\": {\r\n \ - \ \"addresses\": [],\r\n \"count\": 1\r\n }\r\n },\r\n \ - \ \"firewallPolicy\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_network_firewall_test_network892411e1/providers/Microsoft.Network/firewallPolicies/firewallpolicy\"\ - \r\n }\r\n }\r\n}" + string: "{\r\n \"name\": \"azurefirewall\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_network_firewall_test_network892411e1/providers/Microsoft.Network/azureFirewalls/azurefirewall\",\r\n + \ \"etag\": \"W/\\\"0aadb3ea-5f59-4d86-a59b-6d2c59a6a317\\\"\",\r\n \"type\": + \"Microsoft.Network/azureFirewalls\",\r\n \"location\": \"westus\",\r\n \"tags\": + {\r\n \"key1\": \"value1\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": + \"Updating\",\r\n \"sku\": {\r\n \"name\": \"AZFW_Hub\",\r\n \"tier\": + \"Standard\"\r\n },\r\n \"additionalProperties\": {},\r\n \"virtualHub\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_network_firewall_test_network892411e1/providers/Microsoft.Network/virtualHubs/virtualhub\"\r\n + \ },\r\n \"hubIPAddresses\": {\r\n \"publicIPs\": {\r\n \"addresses\": + [],\r\n \"count\": 1\r\n }\r\n },\r\n \"firewallPolicy\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_network_firewall_test_network892411e1/providers/Microsoft.Network/firewallPolicies/firewallpolicy\"\r\n + \ }\r\n }\r\n}" headers: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/fe5db826-c7f6-4966-accf-03a903501778?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/3eb14eed-b160-45b0-81da-9f20a1613c42?api-version=2021-02-01 cache-control: - no-cache content-length: - - '1110' + - '1125' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:22:23 GMT + - Fri, 14 May 2021 04:42:10 GMT expires: - '-1' pragma: @@ -789,9 +807,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 7cbff76e-59cc-46ce-8c1b-cef07fffa8f3 + - f998e43a-c581-44db-ade2-ba00ad553c49 x-ms-ratelimit-remaining-subscription-writes: - - '1188' + - '1195' status: code: 201 message: Created @@ -805,9 +823,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/fe5db826-c7f6-4966-accf-03a903501778?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/3eb14eed-b160-45b0-81da-9f20a1613c42?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -819,7 +838,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:22:33 GMT + - Fri, 14 May 2021 04:42:21 GMT expires: - '-1' pragma: @@ -836,7 +855,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 90ee5086-c7f5-44d9-8bfc-4e80e6b612ce + - 66661e77-0c3b-4a45-b051-75e1ae8579e3 status: code: 200 message: OK @@ -850,9 +869,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/fe5db826-c7f6-4966-accf-03a903501778?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/3eb14eed-b160-45b0-81da-9f20a1613c42?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -864,7 +884,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:22:44 GMT + - Fri, 14 May 2021 04:42:31 GMT expires: - '-1' pragma: @@ -881,7 +901,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - f0bfa6ee-1f7c-48d4-9847-553d5c773fee + - bd37a311-b6f1-44d4-9fa0-117f8eb99e5a status: code: 200 message: OK @@ -895,9 +915,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/fe5db826-c7f6-4966-accf-03a903501778?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/3eb14eed-b160-45b0-81da-9f20a1613c42?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -909,7 +930,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:23:04 GMT + - Fri, 14 May 2021 04:42:50 GMT expires: - '-1' pragma: @@ -926,7 +947,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 666d2fe8-86ce-4065-9ab6-5c44ea9f8ffd + - 61c2bbc0-790d-4de8-bac8-90dcecdf513f status: code: 200 message: OK @@ -940,9 +961,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/fe5db826-c7f6-4966-accf-03a903501778?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/3eb14eed-b160-45b0-81da-9f20a1613c42?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -954,7 +976,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:23:24 GMT + - Fri, 14 May 2021 04:43:11 GMT expires: - '-1' pragma: @@ -971,7 +993,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 9ead1ccc-1fd9-436a-831a-02b02ad783c0 + - d01bd863-4cc5-4f08-aca5-7fee26472dce status: code: 200 message: OK @@ -985,9 +1007,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/fe5db826-c7f6-4966-accf-03a903501778?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/3eb14eed-b160-45b0-81da-9f20a1613c42?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -999,7 +1022,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:24:05 GMT + - Fri, 14 May 2021 04:43:51 GMT expires: - '-1' pragma: @@ -1016,7 +1039,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - abf998b8-f933-47f7-9355-731b5442cc30 + - 3a0114df-0dd3-46d4-897c-b4f097d3f294 status: code: 200 message: OK @@ -1030,9 +1053,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/fe5db826-c7f6-4966-accf-03a903501778?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/3eb14eed-b160-45b0-81da-9f20a1613c42?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1044,7 +1068,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:24:45 GMT + - Fri, 14 May 2021 04:44:30 GMT expires: - '-1' pragma: @@ -1061,7 +1085,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - d95e612b-3826-4b77-947b-248d10a39ebb + - a6ccc40a-bf0a-4606-8dd2-2acc3850d1f3 status: code: 200 message: OK @@ -1075,9 +1099,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/fe5db826-c7f6-4966-accf-03a903501778?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/3eb14eed-b160-45b0-81da-9f20a1613c42?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1089,7 +1114,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:26:06 GMT + - Fri, 14 May 2021 04:45:51 GMT expires: - '-1' pragma: @@ -1106,7 +1131,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - f62d65ff-3058-4e47-8272-4f9062518513 + - 3c94d1a9-0bea-4717-bc3b-4249b2193d37 status: code: 200 message: OK @@ -1120,9 +1145,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/fe5db826-c7f6-4966-accf-03a903501778?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/3eb14eed-b160-45b0-81da-9f20a1613c42?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1134,7 +1160,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:28:46 GMT + - Fri, 14 May 2021 04:48:31 GMT expires: - '-1' pragma: @@ -1151,7 +1177,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 347bd057-4483-4e29-973d-019afb85184c + - 8d30b0d7-7705-48fe-a1cc-5f50693303e8 status: code: 200 message: OK @@ -1165,9 +1191,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/fe5db826-c7f6-4966-accf-03a903501778?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/3eb14eed-b160-45b0-81da-9f20a1613c42?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1179,7 +1206,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:30:27 GMT + - Fri, 14 May 2021 04:50:11 GMT expires: - '-1' pragma: @@ -1196,7 +1223,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 789a7015-b960-4269-b630-f7843d968229 + - f44801f2-37c9-446f-aee0-1865d1cf8ada status: code: 200 message: OK @@ -1210,9 +1237,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/fe5db826-c7f6-4966-accf-03a903501778?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/3eb14eed-b160-45b0-81da-9f20a1613c42?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1224,7 +1252,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:32:06 GMT + - Fri, 14 May 2021 04:51:51 GMT expires: - '-1' pragma: @@ -1241,7 +1269,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - c3830bc4-86a2-4cdc-b081-7f9e509afba1 + - 126cad61-e8c9-4188-94b4-14221bb4883b status: code: 200 message: OK @@ -1255,9 +1283,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/fe5db826-c7f6-4966-accf-03a903501778?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/3eb14eed-b160-45b0-81da-9f20a1613c42?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1269,7 +1298,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:33:47 GMT + - Fri, 14 May 2021 04:53:32 GMT expires: - '-1' pragma: @@ -1286,7 +1315,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 464c0da6-3329-4a79-8571-6db091fb6fd4 + - 38cf44b8-8d55-4b74-a16f-9774b04c2716 status: code: 200 message: OK @@ -1300,9 +1329,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/fe5db826-c7f6-4966-accf-03a903501778?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/3eb14eed-b160-45b0-81da-9f20a1613c42?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1314,7 +1344,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:35:28 GMT + - Fri, 14 May 2021 04:55:12 GMT expires: - '-1' pragma: @@ -1331,7 +1361,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - ce0bc965-7573-4501-8f33-8c9a9a4a8b79 + - 31ef68f3-fb9d-418d-95dd-796eca508755 status: code: 200 message: OK @@ -1345,9 +1375,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/fe5db826-c7f6-4966-accf-03a903501778?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/3eb14eed-b160-45b0-81da-9f20a1613c42?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1359,7 +1390,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:37:08 GMT + - Fri, 14 May 2021 04:56:52 GMT expires: - '-1' pragma: @@ -1376,7 +1407,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - b5903f87-7c0b-4df8-a2a9-fa10c81e1f91 + - 91ba537f-d2fc-42ca-914a-d6417ffbdbc7 status: code: 200 message: OK @@ -1390,9 +1421,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/fe5db826-c7f6-4966-accf-03a903501778?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/3eb14eed-b160-45b0-81da-9f20a1613c42?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1404,7 +1436,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:38:49 GMT + - Fri, 14 May 2021 04:58:33 GMT expires: - '-1' pragma: @@ -1421,7 +1453,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 79f92d77-e4b8-4a2f-8966-3a7ba9d818ef + - 77939326-55fe-44da-8d07-f63cfe3fb597 status: code: 200 message: OK @@ -1435,9 +1467,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/fe5db826-c7f6-4966-accf-03a903501778?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/3eb14eed-b160-45b0-81da-9f20a1613c42?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -1449,7 +1482,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:40:29 GMT + - Fri, 14 May 2021 05:00:13 GMT expires: - '-1' pragma: @@ -1466,7 +1499,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - e905d22a-5728-4d21-b3ac-6feb435e3aa2 + - 1bd32724-9a95-4bf3-aee9-c41dfccd9bac status: code: 200 message: OK @@ -1480,36 +1513,35 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_network_firewall_test_network892411e1/providers/Microsoft.Network/azureFirewalls/azurefirewall?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_network_firewall_test_network892411e1/providers/Microsoft.Network/azureFirewalls/azurefirewall?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"azurefirewall\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_network_firewall_test_network892411e1/providers/Microsoft.Network/azureFirewalls/azurefirewall\"\ - ,\r\n \"etag\": \"W/\\\"ebb21eaa-46f4-4cd6-bee1-a695b5c6ec8a\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/azureFirewalls\",\r\n \"location\": \"westus\"\ - ,\r\n \"tags\": {\r\n \"key1\": \"value1\"\r\n },\r\n \"properties\"\ - : {\r\n \"provisioningState\": \"Succeeded\",\r\n \"sku\": {\r\n \ - \ \"name\": \"AZFW_Hub\",\r\n \"tier\": \"Standard\"\r\n },\r\n\ - \ \"additionalProperties\": {},\r\n \"virtualHub\": {\r\n \"id\"\ - : \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_network_firewall_test_network892411e1/providers/Microsoft.Network/virtualHubs/virtualhub\"\ - \r\n },\r\n \"hubIPAddresses\": {\r\n \"privateIPAddress\": \"\ - 10.168.0.132\",\r\n \"publicIPs\": {\r\n \"addresses\": [\r\n\ - \ {\r\n \"address\": \"40.118.163.244\"\r\n }\r\ - \n ],\r\n \"count\": 1\r\n }\r\n },\r\n \"firewallPolicy\"\ - : {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_network_firewall_test_network892411e1/providers/Microsoft.Network/firewallPolicies/firewallpolicy\"\ - \r\n }\r\n }\r\n}" + string: "{\r\n \"name\": \"azurefirewall\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_network_firewall_test_network892411e1/providers/Microsoft.Network/azureFirewalls/azurefirewall\",\r\n + \ \"etag\": \"W/\\\"a83e30e1-20b4-4047-a1bd-e1b8257b7556\\\"\",\r\n \"type\": + \"Microsoft.Network/azureFirewalls\",\r\n \"location\": \"westus\",\r\n \"tags\": + {\r\n \"key1\": \"value1\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": + \"Succeeded\",\r\n \"sku\": {\r\n \"name\": \"AZFW_Hub\",\r\n \"tier\": + \"Standard\"\r\n },\r\n \"additionalProperties\": {},\r\n \"virtualHub\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_network_firewall_test_network892411e1/providers/Microsoft.Network/virtualHubs/virtualhub\"\r\n + \ },\r\n \"hubIPAddresses\": {\r\n \"privateIPAddress\": \"10.168.0.132\",\r\n + \ \"publicIPs\": {\r\n \"addresses\": [\r\n {\r\n \"address\": + \"138.91.155.214\"\r\n }\r\n ],\r\n \"count\": 1\r\n + \ }\r\n },\r\n \"firewallPolicy\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_network_firewall_test_network892411e1/providers/Microsoft.Network/firewallPolicies/firewallpolicy\"\r\n + \ }\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '1231' + - '1246' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:40:29 GMT + - Fri, 14 May 2021 05:00:14 GMT etag: - - W/"ebb21eaa-46f4-4cd6-bee1-a695b5c6ec8a" + - W/"a83e30e1-20b4-4047-a1bd-e1b8257b7556" expires: - '-1' pragma: @@ -1526,7 +1558,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 98d68e13-1241-4abd-a50c-a6ee9366d171 + - 2dd3196d-6ca6-4710-b674-1f9421878677 status: code: 200 message: OK @@ -1540,36 +1572,35 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_network_firewall_test_network892411e1/providers/Microsoft.Network/azureFirewalls/azurefirewall?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_network_firewall_test_network892411e1/providers/Microsoft.Network/azureFirewalls/azurefirewall?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"azurefirewall\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_network_firewall_test_network892411e1/providers/Microsoft.Network/azureFirewalls/azurefirewall\"\ - ,\r\n \"etag\": \"W/\\\"ebb21eaa-46f4-4cd6-bee1-a695b5c6ec8a\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/azureFirewalls\",\r\n \"location\": \"westus\"\ - ,\r\n \"tags\": {\r\n \"key1\": \"value1\"\r\n },\r\n \"properties\"\ - : {\r\n \"provisioningState\": \"Succeeded\",\r\n \"sku\": {\r\n \ - \ \"name\": \"AZFW_Hub\",\r\n \"tier\": \"Standard\"\r\n },\r\n\ - \ \"additionalProperties\": {},\r\n \"virtualHub\": {\r\n \"id\"\ - : \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_network_firewall_test_network892411e1/providers/Microsoft.Network/virtualHubs/virtualhub\"\ - \r\n },\r\n \"hubIPAddresses\": {\r\n \"privateIPAddress\": \"\ - 10.168.0.132\",\r\n \"publicIPs\": {\r\n \"addresses\": [\r\n\ - \ {\r\n \"address\": \"40.118.163.244\"\r\n }\r\ - \n ],\r\n \"count\": 1\r\n }\r\n },\r\n \"firewallPolicy\"\ - : {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_network_firewall_test_network892411e1/providers/Microsoft.Network/firewallPolicies/firewallpolicy\"\ - \r\n }\r\n }\r\n}" + string: "{\r\n \"name\": \"azurefirewall\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_network_firewall_test_network892411e1/providers/Microsoft.Network/azureFirewalls/azurefirewall\",\r\n + \ \"etag\": \"W/\\\"a83e30e1-20b4-4047-a1bd-e1b8257b7556\\\"\",\r\n \"type\": + \"Microsoft.Network/azureFirewalls\",\r\n \"location\": \"westus\",\r\n \"tags\": + {\r\n \"key1\": \"value1\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": + \"Succeeded\",\r\n \"sku\": {\r\n \"name\": \"AZFW_Hub\",\r\n \"tier\": + \"Standard\"\r\n },\r\n \"additionalProperties\": {},\r\n \"virtualHub\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_network_firewall_test_network892411e1/providers/Microsoft.Network/virtualHubs/virtualhub\"\r\n + \ },\r\n \"hubIPAddresses\": {\r\n \"privateIPAddress\": \"10.168.0.132\",\r\n + \ \"publicIPs\": {\r\n \"addresses\": [\r\n {\r\n \"address\": + \"138.91.155.214\"\r\n }\r\n ],\r\n \"count\": 1\r\n + \ }\r\n },\r\n \"firewallPolicy\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_network_firewall_test_network892411e1/providers/Microsoft.Network/firewallPolicies/firewallpolicy\"\r\n + \ }\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '1231' + - '1246' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:40:30 GMT + - Fri, 14 May 2021 05:00:14 GMT etag: - - W/"ebb21eaa-46f4-4cd6-bee1-a695b5c6ec8a" + - W/"a83e30e1-20b4-4047-a1bd-e1b8257b7556" expires: - '-1' pragma: @@ -1586,7 +1617,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - d206ecb3-f92a-44a6-9e1e-91de37cca5c1 + - 8ce69020-297d-4bcd-bdad-4a66f3469660 status: code: 200 message: OK @@ -1604,36 +1635,35 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_network_firewall_test_network892411e1/providers/Microsoft.Network/azureFirewalls/azurefirewall?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_network_firewall_test_network892411e1/providers/Microsoft.Network/azureFirewalls/azurefirewall?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"azurefirewall\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_network_firewall_test_network892411e1/providers/Microsoft.Network/azureFirewalls/azurefirewall\"\ - ,\r\n \"etag\": \"W/\\\"161b71e9-c41c-40ef-b3e5-9d94b9c737ef\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/azureFirewalls\",\r\n \"location\": \"westus\"\ - ,\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\"\ - \r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\"\ - ,\r\n \"sku\": {\r\n \"name\": \"AZFW_Hub\",\r\n \"tier\": \"\ - Standard\"\r\n },\r\n \"additionalProperties\": {},\r\n \"virtualHub\"\ - : {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_network_firewall_test_network892411e1/providers/Microsoft.Network/virtualHubs/virtualhub\"\ - \r\n },\r\n \"hubIPAddresses\": {\r\n \"privateIPAddress\": \"\ - 10.168.0.132\",\r\n \"publicIPs\": {\r\n \"addresses\": [\r\n\ - \ {\r\n \"address\": \"40.118.163.244\"\r\n }\r\ - \n ],\r\n \"count\": 1\r\n }\r\n },\r\n \"firewallPolicy\"\ - : {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_network_firewall_test_network892411e1/providers/Microsoft.Network/firewallPolicies/firewallpolicy\"\ - \r\n }\r\n }\r\n}" + string: "{\r\n \"name\": \"azurefirewall\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_network_firewall_test_network892411e1/providers/Microsoft.Network/azureFirewalls/azurefirewall\",\r\n + \ \"etag\": \"W/\\\"bfbb222d-ebaa-4381-bbf5-bf48c8b5bcf4\\\"\",\r\n \"type\": + \"Microsoft.Network/azureFirewalls\",\r\n \"location\": \"westus\",\r\n \"tags\": + {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\"\r\n },\r\n \"properties\": + {\r\n \"provisioningState\": \"Updating\",\r\n \"sku\": {\r\n \"name\": + \"AZFW_Hub\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"additionalProperties\": + {},\r\n \"virtualHub\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_network_firewall_test_network892411e1/providers/Microsoft.Network/virtualHubs/virtualhub\"\r\n + \ },\r\n \"hubIPAddresses\": {\r\n \"privateIPAddress\": \"10.168.0.132\",\r\n + \ \"publicIPs\": {\r\n \"addresses\": [\r\n {\r\n \"address\": + \"138.91.155.214\"\r\n }\r\n ],\r\n \"count\": 1\r\n + \ }\r\n },\r\n \"firewallPolicy\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_network_firewall_test_network892411e1/providers/Microsoft.Network/firewallPolicies/firewallpolicy\"\r\n + \ }\r\n }\r\n}" headers: azure-asyncnotification: - Enabled cache-control: - no-cache content-length: - - '1253' + - '1268' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:40:35 GMT + - Fri, 14 May 2021 05:00:14 GMT expires: - '-1' pragma: @@ -1650,9 +1680,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 57429da5-4de3-4b53-b6d6-3811099a100a + - 5e09d048-3d9d-4444-a6a1-86ca94670f91 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1190' status: code: 200 message: OK @@ -1666,36 +1696,35 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_network_firewall_test_network892411e1/providers/Microsoft.Network/azureFirewalls/azurefirewall?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_network_firewall_test_network892411e1/providers/Microsoft.Network/azureFirewalls/azurefirewall?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"azurefirewall\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_network_firewall_test_network892411e1/providers/Microsoft.Network/azureFirewalls/azurefirewall\"\ - ,\r\n \"etag\": \"W/\\\"161b71e9-c41c-40ef-b3e5-9d94b9c737ef\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/azureFirewalls\",\r\n \"location\": \"westus\"\ - ,\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\"\ - \r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\"\ - ,\r\n \"sku\": {\r\n \"name\": \"AZFW_Hub\",\r\n \"tier\": \"\ - Standard\"\r\n },\r\n \"additionalProperties\": {},\r\n \"virtualHub\"\ - : {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_network_firewall_test_network892411e1/providers/Microsoft.Network/virtualHubs/virtualhub\"\ - \r\n },\r\n \"hubIPAddresses\": {\r\n \"privateIPAddress\": \"\ - 10.168.0.132\",\r\n \"publicIPs\": {\r\n \"addresses\": [\r\n\ - \ {\r\n \"address\": \"40.118.163.244\"\r\n }\r\ - \n ],\r\n \"count\": 1\r\n }\r\n },\r\n \"firewallPolicy\"\ - : {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_network_firewall_test_network892411e1/providers/Microsoft.Network/firewallPolicies/firewallpolicy\"\ - \r\n }\r\n }\r\n}" + string: "{\r\n \"name\": \"azurefirewall\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_network_firewall_test_network892411e1/providers/Microsoft.Network/azureFirewalls/azurefirewall\",\r\n + \ \"etag\": \"W/\\\"bfbb222d-ebaa-4381-bbf5-bf48c8b5bcf4\\\"\",\r\n \"type\": + \"Microsoft.Network/azureFirewalls\",\r\n \"location\": \"westus\",\r\n \"tags\": + {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\"\r\n },\r\n \"properties\": + {\r\n \"provisioningState\": \"Updating\",\r\n \"sku\": {\r\n \"name\": + \"AZFW_Hub\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"additionalProperties\": + {},\r\n \"virtualHub\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_network_firewall_test_network892411e1/providers/Microsoft.Network/virtualHubs/virtualhub\"\r\n + \ },\r\n \"hubIPAddresses\": {\r\n \"privateIPAddress\": \"10.168.0.132\",\r\n + \ \"publicIPs\": {\r\n \"addresses\": [\r\n {\r\n \"address\": + \"138.91.155.214\"\r\n }\r\n ],\r\n \"count\": 1\r\n + \ }\r\n },\r\n \"firewallPolicy\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_network_firewall_test_network892411e1/providers/Microsoft.Network/firewallPolicies/firewallpolicy\"\r\n + \ }\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '1253' + - '1268' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:40:46 GMT + - Fri, 14 May 2021 05:00:24 GMT etag: - - W/"161b71e9-c41c-40ef-b3e5-9d94b9c737ef" + - W/"bfbb222d-ebaa-4381-bbf5-bf48c8b5bcf4" expires: - '-1' pragma: @@ -1712,7 +1741,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 5eac6454-b3f3-450c-9670-5969b55f9415 + - e26ed6f4-9d71-4ee1-9560-35e2a3e51196 status: code: 200 message: OK @@ -1726,36 +1755,35 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_network_firewall_test_network892411e1/providers/Microsoft.Network/azureFirewalls/azurefirewall?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_network_firewall_test_network892411e1/providers/Microsoft.Network/azureFirewalls/azurefirewall?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"azurefirewall\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_network_firewall_test_network892411e1/providers/Microsoft.Network/azureFirewalls/azurefirewall\"\ - ,\r\n \"etag\": \"W/\\\"161b71e9-c41c-40ef-b3e5-9d94b9c737ef\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/azureFirewalls\",\r\n \"location\": \"westus\"\ - ,\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\"\ - \r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\"\ - ,\r\n \"sku\": {\r\n \"name\": \"AZFW_Hub\",\r\n \"tier\": \"\ - Standard\"\r\n },\r\n \"additionalProperties\": {},\r\n \"virtualHub\"\ - : {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_network_firewall_test_network892411e1/providers/Microsoft.Network/virtualHubs/virtualhub\"\ - \r\n },\r\n \"hubIPAddresses\": {\r\n \"privateIPAddress\": \"\ - 10.168.0.132\",\r\n \"publicIPs\": {\r\n \"addresses\": [\r\n\ - \ {\r\n \"address\": \"40.118.163.244\"\r\n }\r\ - \n ],\r\n \"count\": 1\r\n }\r\n },\r\n \"firewallPolicy\"\ - : {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_network_firewall_test_network892411e1/providers/Microsoft.Network/firewallPolicies/firewallpolicy\"\ - \r\n }\r\n }\r\n}" + string: "{\r\n \"name\": \"azurefirewall\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_network_firewall_test_network892411e1/providers/Microsoft.Network/azureFirewalls/azurefirewall\",\r\n + \ \"etag\": \"W/\\\"bfbb222d-ebaa-4381-bbf5-bf48c8b5bcf4\\\"\",\r\n \"type\": + \"Microsoft.Network/azureFirewalls\",\r\n \"location\": \"westus\",\r\n \"tags\": + {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\"\r\n },\r\n \"properties\": + {\r\n \"provisioningState\": \"Updating\",\r\n \"sku\": {\r\n \"name\": + \"AZFW_Hub\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"additionalProperties\": + {},\r\n \"virtualHub\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_network_firewall_test_network892411e1/providers/Microsoft.Network/virtualHubs/virtualhub\"\r\n + \ },\r\n \"hubIPAddresses\": {\r\n \"privateIPAddress\": \"10.168.0.132\",\r\n + \ \"publicIPs\": {\r\n \"addresses\": [\r\n {\r\n \"address\": + \"138.91.155.214\"\r\n }\r\n ],\r\n \"count\": 1\r\n + \ }\r\n },\r\n \"firewallPolicy\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_network_firewall_test_network892411e1/providers/Microsoft.Network/firewallPolicies/firewallpolicy\"\r\n + \ }\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '1253' + - '1268' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:41:17 GMT + - Fri, 14 May 2021 05:00:54 GMT etag: - - W/"161b71e9-c41c-40ef-b3e5-9d94b9c737ef" + - W/"bfbb222d-ebaa-4381-bbf5-bf48c8b5bcf4" expires: - '-1' pragma: @@ -1772,7 +1800,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - dd2e6198-7776-4d9d-8818-80fc0a56a2ea + - d744931b-1b2f-4972-8902-af7bd2c803a8 status: code: 200 message: OK @@ -1786,36 +1814,35 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_network_firewall_test_network892411e1/providers/Microsoft.Network/azureFirewalls/azurefirewall?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_network_firewall_test_network892411e1/providers/Microsoft.Network/azureFirewalls/azurefirewall?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"azurefirewall\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_network_firewall_test_network892411e1/providers/Microsoft.Network/azureFirewalls/azurefirewall\"\ - ,\r\n \"etag\": \"W/\\\"aeeec6aa-ea6d-462c-842b-7da4ecda326c\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/azureFirewalls\",\r\n \"location\": \"westus\"\ - ,\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\"\ - \r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"sku\": {\r\n \"name\": \"AZFW_Hub\",\r\n \"tier\": \"\ - Standard\"\r\n },\r\n \"additionalProperties\": {},\r\n \"virtualHub\"\ - : {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_network_firewall_test_network892411e1/providers/Microsoft.Network/virtualHubs/virtualhub\"\ - \r\n },\r\n \"hubIPAddresses\": {\r\n \"privateIPAddress\": \"\ - 10.168.0.132\",\r\n \"publicIPs\": {\r\n \"addresses\": [\r\n\ - \ {\r\n \"address\": \"40.118.163.244\"\r\n }\r\ - \n ],\r\n \"count\": 1\r\n }\r\n },\r\n \"firewallPolicy\"\ - : {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_network_firewall_test_network892411e1/providers/Microsoft.Network/firewallPolicies/firewallpolicy\"\ - \r\n }\r\n }\r\n}" + string: "{\r\n \"name\": \"azurefirewall\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_network_firewall_test_network892411e1/providers/Microsoft.Network/azureFirewalls/azurefirewall\",\r\n + \ \"etag\": \"W/\\\"bd8a2d48-4dca-4e60-9a5b-80ae664bc3a1\\\"\",\r\n \"type\": + \"Microsoft.Network/azureFirewalls\",\r\n \"location\": \"westus\",\r\n \"tags\": + {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\"\r\n },\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"sku\": {\r\n \"name\": + \"AZFW_Hub\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"additionalProperties\": + {},\r\n \"virtualHub\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_network_firewall_test_network892411e1/providers/Microsoft.Network/virtualHubs/virtualhub\"\r\n + \ },\r\n \"hubIPAddresses\": {\r\n \"privateIPAddress\": \"10.168.0.132\",\r\n + \ \"publicIPs\": {\r\n \"addresses\": [\r\n {\r\n \"address\": + \"138.91.155.214\"\r\n }\r\n ],\r\n \"count\": 1\r\n + \ }\r\n },\r\n \"firewallPolicy\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_network_firewall_test_network892411e1/providers/Microsoft.Network/firewallPolicies/firewallpolicy\"\r\n + \ }\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '1254' + - '1269' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:41:47 GMT + - Fri, 14 May 2021 05:01:24 GMT etag: - - W/"aeeec6aa-ea6d-462c-842b-7da4ecda326c" + - W/"bd8a2d48-4dca-4e60-9a5b-80ae664bc3a1" expires: - '-1' pragma: @@ -1832,7 +1859,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 1ee43012-c0e1-45d4-abd3-4a68b8e7ab91 + - 62891187-8a5b-4af0-b226-88b1d21328f1 status: code: 200 message: OK @@ -1848,9 +1875,10 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_network_firewall_test_network892411e1/providers/Microsoft.Network/azureFirewalls/azurefirewall?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_cli_mgmt_network_firewall_test_network892411e1/providers/Microsoft.Network/azureFirewalls/azurefirewall?api-version=2021-02-01 response: body: string: '' @@ -1858,17 +1886,17 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/9acfab0e-315b-4804-af35-4a7c3c86df44?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/eb601eb1-58b5-4392-87a2-68473b00496f?api-version=2021-02-01 cache-control: - no-cache content-length: - '0' date: - - Tue, 09 Mar 2021 05:41:47 GMT + - Fri, 14 May 2021 05:01:25 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/9acfab0e-315b-4804-af35-4a7c3c86df44?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/eb601eb1-58b5-4392-87a2-68473b00496f?api-version=2021-02-01 pragma: - no-cache server: @@ -1879,9 +1907,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 85fc711a-cd42-4865-b5dc-2a65ffbe26cd + - 68fa435c-375c-4ddc-bafd-cf699176a876 x-ms-ratelimit-remaining-subscription-deletes: - - '14999' + - '14987' status: code: 202 message: Accepted @@ -1895,9 +1923,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/9acfab0e-315b-4804-af35-4a7c3c86df44?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/eb601eb1-58b5-4392-87a2-68473b00496f?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1909,7 +1938,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:41:58 GMT + - Fri, 14 May 2021 05:01:35 GMT expires: - '-1' pragma: @@ -1926,7 +1955,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 42b90da3-ca5b-44b4-9701-768ae8e32f48 + - aa269fbf-6912-4ead-a2aa-4f4aac81015e status: code: 200 message: OK @@ -1940,9 +1969,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/9acfab0e-315b-4804-af35-4a7c3c86df44?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/eb601eb1-58b5-4392-87a2-68473b00496f?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1954,7 +1984,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:42:08 GMT + - Fri, 14 May 2021 05:01:44 GMT expires: - '-1' pragma: @@ -1971,7 +2001,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 88b61e1d-7e5d-4eb2-b1e2-51625a6dd311 + - 8cb379a2-f2a8-4678-8f88-027e4d37103d status: code: 200 message: OK @@ -1985,9 +2015,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/9acfab0e-315b-4804-af35-4a7c3c86df44?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/eb601eb1-58b5-4392-87a2-68473b00496f?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1999,7 +2030,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:42:28 GMT + - Fri, 14 May 2021 05:02:04 GMT expires: - '-1' pragma: @@ -2016,7 +2047,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 60d2d615-3ac7-49c7-9d76-14d46fff6104 + - 20db2680-df7b-4608-b861-b8a23b5f2c05 status: code: 200 message: OK @@ -2030,9 +2061,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/9acfab0e-315b-4804-af35-4a7c3c86df44?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/eb601eb1-58b5-4392-87a2-68473b00496f?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -2044,7 +2076,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:42:48 GMT + - Fri, 14 May 2021 05:02:24 GMT expires: - '-1' pragma: @@ -2061,7 +2093,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 24e891f3-d361-43d0-a554-cce4a8cb2f83 + - c4378b21-e554-4cf5-9b00-80af9eff892d status: code: 200 message: OK @@ -2075,9 +2107,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/9acfab0e-315b-4804-af35-4a7c3c86df44?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/eb601eb1-58b5-4392-87a2-68473b00496f?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -2089,7 +2122,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:43:29 GMT + - Fri, 14 May 2021 05:03:05 GMT expires: - '-1' pragma: @@ -2106,7 +2139,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 9c25ef61-8c6a-4730-9951-61651e55844b + - 17aa839e-b2b4-42a4-8075-9bd98e617068 status: code: 200 message: OK @@ -2120,9 +2153,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/9acfab0e-315b-4804-af35-4a7c3c86df44?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/eb601eb1-58b5-4392-87a2-68473b00496f?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -2134,7 +2168,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:44:10 GMT + - Fri, 14 May 2021 05:03:45 GMT expires: - '-1' pragma: @@ -2151,7 +2185,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 12557b0a-c4d4-4667-993e-aa26841b11cb + - b9b18b84-6edb-4e45-a390-f06a280d15fd status: code: 200 message: OK @@ -2165,9 +2199,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/9acfab0e-315b-4804-af35-4a7c3c86df44?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/eb601eb1-58b5-4392-87a2-68473b00496f?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -2179,7 +2214,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:45:30 GMT + - Fri, 14 May 2021 05:05:06 GMT expires: - '-1' pragma: @@ -2196,7 +2231,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 7eb4f72a-eb04-41c6-999c-11bc5f5c78a1 + - 6fb9208b-6cee-40a8-8a5e-ea72fd1e6cf3 status: code: 200 message: OK @@ -2210,9 +2245,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/9acfab0e-315b-4804-af35-4a7c3c86df44?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/eb601eb1-58b5-4392-87a2-68473b00496f?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -2224,7 +2260,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:48:11 GMT + - Fri, 14 May 2021 05:07:45 GMT expires: - '-1' pragma: @@ -2241,7 +2277,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 149e8300-32d3-4d3f-8091-f055e1c0d7bc + - faeae708-6cb8-4628-97f5-7cf574d0714f status: code: 200 message: OK @@ -2255,9 +2291,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/9acfab0e-315b-4804-af35-4a7c3c86df44?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/eb601eb1-58b5-4392-87a2-68473b00496f?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -2269,7 +2306,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:49:51 GMT + - Fri, 14 May 2021 05:09:26 GMT expires: - '-1' pragma: @@ -2286,7 +2323,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 8869c1b0-ad06-47de-9a07-72c21b2d6078 + - fda42897-1b2b-4880-b105-5b099ff982da status: code: 200 message: OK @@ -2300,9 +2337,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/9acfab0e-315b-4804-af35-4a7c3c86df44?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/eb601eb1-58b5-4392-87a2-68473b00496f?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -2314,7 +2352,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:51:32 GMT + - Fri, 14 May 2021 05:11:05 GMT expires: - '-1' pragma: @@ -2331,7 +2369,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 2622c846-5333-4145-81be-e50f177a359d + - 2bc0d8ab-c541-443b-a51b-dad39b231bb5 status: code: 200 message: OK @@ -2345,9 +2383,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/9acfab0e-315b-4804-af35-4a7c3c86df44?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/eb601eb1-58b5-4392-87a2-68473b00496f?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -2359,7 +2398,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:53:12 GMT + - Fri, 14 May 2021 05:12:46 GMT expires: - '-1' pragma: @@ -2376,7 +2415,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - d7bbecf4-fb6e-4d2d-bb7a-16152ee28ae0 + - d2cd85a2-172a-4d1d-8ac6-d64c0e1089b9 status: code: 200 message: OK @@ -2390,9 +2429,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/9acfab0e-315b-4804-af35-4a7c3c86df44?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/eb601eb1-58b5-4392-87a2-68473b00496f?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -2404,7 +2444,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:54:53 GMT + - Fri, 14 May 2021 05:14:27 GMT expires: - '-1' pragma: @@ -2421,7 +2461,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 215313f4-cb97-4590-ad99-05f403ae8d09 + - 5eb2f609-9c7f-46ee-aa51-6c07ca9ac8ab status: code: 200 message: OK @@ -2435,9 +2475,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/9acfab0e-315b-4804-af35-4a7c3c86df44?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/eb601eb1-58b5-4392-87a2-68473b00496f?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -2449,7 +2490,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:56:32 GMT + - Fri, 14 May 2021 05:16:07 GMT expires: - '-1' pragma: @@ -2466,7 +2507,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 47ef7049-8480-49bd-9a57-c0ed81dfcc3f + - 7ba1f900-678c-4cca-a99c-8ec1c6971677 status: code: 200 message: OK @@ -2480,9 +2521,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/9acfab0e-315b-4804-af35-4a7c3c86df44?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/eb601eb1-58b5-4392-87a2-68473b00496f?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -2494,7 +2536,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:58:13 GMT + - Fri, 14 May 2021 05:17:47 GMT expires: - '-1' pragma: @@ -2511,7 +2553,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 4022b9bb-bf74-4f09-8ba0-82239d22dbc2 + - 0c9c8511-740b-45c1-99f8-cacf36f1cc5a status: code: 200 message: OK diff --git a/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_firewall_policy.test_network.yaml b/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_firewall_policy.test_network.yaml index e707d3c936fb..f2715755c5cc 100644 --- a/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_firewall_policy.test_network.yaml +++ b/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_firewall_policy.test_network.yaml @@ -14,29 +14,30 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/firewallPolicies/myFirewallPolicy?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/firewallPolicies/myFirewallPolicy?api-version=2021-02-01 response: body: - string: "{\r\n \"properties\": {\r\n \"sku\": {\r\n \"tier\": \"Standard\"\ - \r\n },\r\n \"threatIntelMode\": \"Alert\",\r\n \"childPolicies\"\ - : [],\r\n \"ruleCollectionGroups\": [],\r\n \"firewalls\": [],\r\n \ - \ \"provisioningState\": \"Updating\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/firewallPolicies/myFirewallPolicy\"\ - ,\r\n \"name\": \"myFirewallPolicy\",\r\n \"type\": \"Microsoft.Network/FirewallPolicies\"\ - ,\r\n \"etag\": \"fd1f75b9-9338-47b5-b9dc-7a829dcd5781\",\r\n \"location\"\ - : \"westus\",\r\n \"tags\": {\r\n \"key1\": \"value1\"\r\n }\r\n}" + string: "{\r\n \"properties\": {\r\n \"sku\": {\r\n \"tier\": \"Standard\"\r\n + \ },\r\n \"threatIntelMode\": \"Alert\",\r\n \"childPolicies\": [],\r\n + \ \"ruleCollectionGroups\": [],\r\n \"firewalls\": [],\r\n \"provisioningState\": + \"Updating\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/firewallPolicies/myFirewallPolicy\",\r\n + \ \"name\": \"myFirewallPolicy\",\r\n \"type\": \"Microsoft.Network/FirewallPolicies\",\r\n + \ \"etag\": \"aa1cbf18-c2d1-433c-8051-1358af679539\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {\r\n \"key1\": \"value1\"\r\n }\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/nfvOperations/63dc2104-2c2d-4d5a-8bf1-6b216388f83e?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/nfvOperations/d54bd9e4-d549-4e34-b1fb-30dfb367b1dd?api-version=2021-02-01 cache-control: - no-cache content-length: - - '641' + - '646' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:58:35 GMT + - Fri, 14 May 2021 05:17:50 GMT expires: - '-1' pragma: @@ -48,7 +49,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1195' status: code: 201 message: Created @@ -62,9 +63,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/nfvOperations/63dc2104-2c2d-4d5a-8bf1-6b216388f83e?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/nfvOperations/d54bd9e4-d549-4e34-b1fb-30dfb367b1dd?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -76,7 +78,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:58:45 GMT + - Fri, 14 May 2021 05:18:00 GMT expires: - '-1' pragma: @@ -104,27 +106,30 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/firewallPolicies/myFirewallPolicy?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/firewallPolicies/myFirewallPolicy?api-version=2021-02-01 response: body: - string: "{\r\n \"properties\": {\r\n \"sku\": {\r\n \"tier\": \"Standard\"\ - \r\n },\r\n \"threatIntelMode\": \"Alert\",\r\n \"childPolicies\"\ - : [],\r\n \"ruleCollectionGroups\": [],\r\n \"firewalls\": [],\r\n \ - \ \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/firewallPolicies/myFirewallPolicy\"\ - ,\r\n \"name\": \"myFirewallPolicy\",\r\n \"type\": \"Microsoft.Network/FirewallPolicies\"\ - ,\r\n \"etag\": \"fd1f75b9-9338-47b5-b9dc-7a829dcd5781\",\r\n \"location\"\ - : \"westus\",\r\n \"tags\": {\r\n \"key1\": \"value1\"\r\n }\r\n}" + string: "{\r\n \"properties\": {\r\n \"sku\": {\r\n \"tier\": \"Standard\"\r\n + \ },\r\n \"threatIntelMode\": \"Alert\",\r\n \"childPolicies\": [],\r\n + \ \"ruleCollectionGroups\": [],\r\n \"firewalls\": [],\r\n \"provisioningState\": + \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/firewallPolicies/myFirewallPolicy\",\r\n + \ \"name\": \"myFirewallPolicy\",\r\n \"type\": \"Microsoft.Network/FirewallPolicies\",\r\n + \ \"etag\": \"aa1cbf18-c2d1-433c-8051-1358af679539\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {\r\n \"key1\": \"value1\"\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '642' + - '647' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:58:45 GMT + - Fri, 14 May 2021 05:18:00 GMT + etag: + - '"aa1cbf18-c2d1-433c-8051-1358af679539"' expires: - '-1' pragma: @@ -160,38 +165,37 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/firewallPolicies/myFirewallPolicy/ruleGroups/myRuleGroup?api-version=2020-04-01 response: body: - string: "{\r\n \"properties\": {\r\n \"priority\": 110,\r\n \"rules\"\ - : [\r\n {\r\n \"ruleType\": \"FirewallPolicyFilterRule\",\r\n\ - \ \"action\": {\r\n \"type\": \"Deny\"\r\n },\r\n \ - \ \"ruleConditions\": [\r\n {\r\n \"ruleConditionType\"\ - : \"NetworkRuleCondition\",\r\n \"name\": \"network-condition1\"\ - ,\r\n \"ipProtocols\": [\r\n \"TCP\"\r\n \ - \ ],\r\n \"sourceAddresses\": [\r\n \"10.1.25.0/24\"\ - \r\n ],\r\n \"destinationAddresses\": [\r\n \ - \ \"*\"\r\n ],\r\n \"destinationPorts\": [\r\n\ - \ \"*\"\r\n ]\r\n }\r\n ],\r\n \ - \ \"name\": \"Example-Filter-Rule\",\r\n \"priority\": 0\r\n \ - \ }\r\n ],\r\n \"provisioningState\": \"Updating\"\r\n },\r\n \"\ - id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/firewallPolicies/myFirewallPolicy/ruleGroups/myRuleGroup\"\ - ,\r\n \"name\": \"myRuleGroup\",\r\n \"type\": \"Microsoft.Network/FirewallPolicies/RuleGroups\"\ - ,\r\n \"etag\": \"32def555-c786-4473-8b10-90e66a065762\",\r\n \"location\"\ - : \"westus\"\r\n}" + string: "{\r\n \"properties\": {\r\n \"priority\": 110,\r\n \"rules\": + [\r\n {\r\n \"ruleType\": \"FirewallPolicyFilterRule\",\r\n \"action\": + {\r\n \"type\": \"Deny\"\r\n },\r\n \"ruleConditions\": + [\r\n {\r\n \"ruleConditionType\": \"NetworkRuleCondition\",\r\n + \ \"name\": \"network-condition1\",\r\n \"ipProtocols\": + [\r\n \"TCP\"\r\n ],\r\n \"sourceAddresses\": + [\r\n \"10.1.25.0/24\"\r\n ],\r\n \"destinationAddresses\": + [\r\n \"*\"\r\n ],\r\n \"destinationPorts\": + [\r\n \"*\"\r\n ]\r\n }\r\n ],\r\n + \ \"name\": \"Example-Filter-Rule\",\r\n \"priority\": 0\r\n + \ }\r\n ],\r\n \"provisioningState\": \"Updating\"\r\n },\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/firewallPolicies/myFirewallPolicy/ruleGroups/myRuleGroup\",\r\n + \ \"name\": \"myRuleGroup\",\r\n \"type\": \"Microsoft.Network/FirewallPolicies/RuleGroups\",\r\n + \ \"etag\": \"efe25a4c-ba54-4b2a-ada6-ce37f918a95c\",\r\n \"location\": \"westus\"\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/nfvOperations/ab9c4fb8-84ce-4e32-b178-16f49f2a002e?api-version=2020-04-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/nfvOperations/abb43b2d-fe8c-4f74-ac8e-54a996cded21?api-version=2020-04-01 cache-control: - no-cache content-length: - - '1160' + - '1165' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:58:50 GMT + - Fri, 14 May 2021 05:18:02 GMT expires: - '-1' pragma: @@ -203,7 +207,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1194' status: code: 201 message: Created @@ -217,9 +221,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/nfvOperations/ab9c4fb8-84ce-4e32-b178-16f49f2a002e?api-version=2020-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/nfvOperations/abb43b2d-fe8c-4f74-ac8e-54a996cded21?api-version=2020-04-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -231,7 +236,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:59:01 GMT + - Fri, 14 May 2021 05:18:12 GMT expires: - '-1' pragma: @@ -259,36 +264,37 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/firewallPolicies/myFirewallPolicy/ruleGroups/myRuleGroup?api-version=2020-04-01 response: body: - string: "{\r\n \"properties\": {\r\n \"priority\": 110,\r\n \"rules\"\ - : [\r\n {\r\n \"ruleType\": \"FirewallPolicyFilterRule\",\r\n\ - \ \"action\": {\r\n \"type\": \"Deny\"\r\n },\r\n \ - \ \"ruleConditions\": [\r\n {\r\n \"ruleConditionType\"\ - : \"NetworkRuleCondition\",\r\n \"name\": \"network-condition1\"\ - ,\r\n \"ipProtocols\": [\r\n \"TCP\"\r\n \ - \ ],\r\n \"sourceAddresses\": [\r\n \"10.1.25.0/24\"\ - \r\n ],\r\n \"destinationAddresses\": [\r\n \ - \ \"*\"\r\n ],\r\n \"destinationPorts\": [\r\n\ - \ \"*\"\r\n ]\r\n }\r\n ],\r\n \ - \ \"name\": \"Example-Filter-Rule\",\r\n \"priority\": 0\r\n \ - \ }\r\n ],\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \ - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/firewallPolicies/myFirewallPolicy/ruleGroups/myRuleGroup\"\ - ,\r\n \"name\": \"myRuleGroup\",\r\n \"type\": \"Microsoft.Network/FirewallPolicies/RuleGroups\"\ - ,\r\n \"etag\": \"32def555-c786-4473-8b10-90e66a065762\",\r\n \"location\"\ - : \"westus\"\r\n}" + string: "{\r\n \"properties\": {\r\n \"priority\": 110,\r\n \"rules\": + [\r\n {\r\n \"ruleType\": \"FirewallPolicyFilterRule\",\r\n \"action\": + {\r\n \"type\": \"Deny\"\r\n },\r\n \"ruleConditions\": + [\r\n {\r\n \"ruleConditionType\": \"NetworkRuleCondition\",\r\n + \ \"name\": \"network-condition1\",\r\n \"ipProtocols\": + [\r\n \"TCP\"\r\n ],\r\n \"sourceAddresses\": + [\r\n \"10.1.25.0/24\"\r\n ],\r\n \"destinationAddresses\": + [\r\n \"*\"\r\n ],\r\n \"destinationPorts\": + [\r\n \"*\"\r\n ]\r\n }\r\n ],\r\n + \ \"name\": \"Example-Filter-Rule\",\r\n \"priority\": 0\r\n + \ }\r\n ],\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/firewallPolicies/myFirewallPolicy/ruleGroups/myRuleGroup\",\r\n + \ \"name\": \"myRuleGroup\",\r\n \"type\": \"Microsoft.Network/FirewallPolicies/RuleGroups\",\r\n + \ \"etag\": \"efe25a4c-ba54-4b2a-ada6-ce37f918a95c\",\r\n \"location\": \"westus\"\r\n}" headers: cache-control: - no-cache content-length: - - '1161' + - '1166' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:59:01 GMT + - Fri, 14 May 2021 05:18:12 GMT + etag: + - '"efe25a4c-ba54-4b2a-ada6-ce37f918a95c"' expires: - '-1' pragma: @@ -316,36 +322,37 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/firewallPolicies/myFirewallPolicy/ruleGroups/myRuleGroup?api-version=2020-04-01 response: body: - string: "{\r\n \"properties\": {\r\n \"priority\": 110,\r\n \"rules\"\ - : [\r\n {\r\n \"ruleType\": \"FirewallPolicyFilterRule\",\r\n\ - \ \"action\": {\r\n \"type\": \"Deny\"\r\n },\r\n \ - \ \"ruleConditions\": [\r\n {\r\n \"ruleConditionType\"\ - : \"NetworkRuleCondition\",\r\n \"name\": \"network-condition1\"\ - ,\r\n \"ipProtocols\": [\r\n \"TCP\"\r\n \ - \ ],\r\n \"sourceAddresses\": [\r\n \"10.1.25.0/24\"\ - \r\n ],\r\n \"destinationAddresses\": [\r\n \ - \ \"*\"\r\n ],\r\n \"destinationPorts\": [\r\n\ - \ \"*\"\r\n ]\r\n }\r\n ],\r\n \ - \ \"name\": \"Example-Filter-Rule\",\r\n \"priority\": 0\r\n \ - \ }\r\n ],\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \ - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/firewallPolicies/myFirewallPolicy/ruleGroups/myRuleGroup\"\ - ,\r\n \"name\": \"myRuleGroup\",\r\n \"type\": \"Microsoft.Network/FirewallPolicies/RuleGroups\"\ - ,\r\n \"etag\": \"32def555-c786-4473-8b10-90e66a065762\",\r\n \"location\"\ - : \"westus\"\r\n}" + string: "{\r\n \"properties\": {\r\n \"priority\": 110,\r\n \"rules\": + [\r\n {\r\n \"ruleType\": \"FirewallPolicyFilterRule\",\r\n \"action\": + {\r\n \"type\": \"Deny\"\r\n },\r\n \"ruleConditions\": + [\r\n {\r\n \"ruleConditionType\": \"NetworkRuleCondition\",\r\n + \ \"name\": \"network-condition1\",\r\n \"ipProtocols\": + [\r\n \"TCP\"\r\n ],\r\n \"sourceAddresses\": + [\r\n \"10.1.25.0/24\"\r\n ],\r\n \"destinationAddresses\": + [\r\n \"*\"\r\n ],\r\n \"destinationPorts\": + [\r\n \"*\"\r\n ]\r\n }\r\n ],\r\n + \ \"name\": \"Example-Filter-Rule\",\r\n \"priority\": 0\r\n + \ }\r\n ],\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/firewallPolicies/myFirewallPolicy/ruleGroups/myRuleGroup\",\r\n + \ \"name\": \"myRuleGroup\",\r\n \"type\": \"Microsoft.Network/FirewallPolicies/RuleGroups\",\r\n + \ \"etag\": \"efe25a4c-ba54-4b2a-ada6-ce37f918a95c\",\r\n \"location\": \"westus\"\r\n}" headers: cache-control: - no-cache content-length: - - '1161' + - '1166' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:59:01 GMT + - Fri, 14 May 2021 05:18:12 GMT + etag: + - '"efe25a4c-ba54-4b2a-ada6-ce37f918a95c"' expires: - '-1' pragma: @@ -373,29 +380,31 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/firewallPolicies/myFirewallPolicy?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/firewallPolicies/myFirewallPolicy?api-version=2021-02-01 response: body: - string: "{\r\n \"properties\": {\r\n \"sku\": {\r\n \"tier\": \"Standard\"\ - \r\n },\r\n \"threatIntelMode\": \"Alert\",\r\n \"childPolicies\"\ - : [],\r\n \"ruleCollectionGroups\": [\r\n {\r\n \"id\": \"\ - /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/firewallpolicies/myFirewallPolicy/ruleCollectionGroups/myRuleGroup\"\ - \r\n }\r\n ],\r\n \"firewalls\": [],\r\n \"provisioningState\"\ - : \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/firewallPolicies/myFirewallPolicy\"\ - ,\r\n \"name\": \"myFirewallPolicy\",\r\n \"type\": \"Microsoft.Network/FirewallPolicies\"\ - ,\r\n \"etag\": \"707f184c-c8bd-4e30-9a8e-651096f8e9ca\",\r\n \"location\"\ - : \"westus\",\r\n \"tags\": {\r\n \"key1\": \"value1\"\r\n }\r\n}" + string: "{\r\n \"properties\": {\r\n \"sku\": {\r\n \"tier\": \"Standard\"\r\n + \ },\r\n \"threatIntelMode\": \"Alert\",\r\n \"childPolicies\": [],\r\n + \ \"ruleCollectionGroups\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/firewallpolicies/myFirewallPolicy/ruleCollectionGroups/myRuleGroup\"\r\n + \ }\r\n ],\r\n \"firewalls\": [],\r\n \"provisioningState\": + \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/firewallPolicies/myFirewallPolicy\",\r\n + \ \"name\": \"myFirewallPolicy\",\r\n \"type\": \"Microsoft.Network/FirewallPolicies\",\r\n + \ \"etag\": \"f78f8be0-979e-44eb-91f9-cf65c0a222bb\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {\r\n \"key1\": \"value1\"\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '921' + - '931' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:59:02 GMT + - Fri, 14 May 2021 05:18:12 GMT + etag: + - '"f78f8be0-979e-44eb-91f9-cf65c0a222bb"' expires: - '-1' pragma: @@ -425,42 +434,41 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/firewallPolicies/myFirewallPolicy/ruleGroups/myRuleGroup?api-version=2020-04-01 response: body: - string: "{\r\n \"properties\": {\r\n \"priority\": 110,\r\n \"rules\"\ - : [\r\n {\r\n \"ruleType\": \"FirewallPolicyFilterRule\",\r\n\ - \ \"action\": {\r\n \"type\": \"Deny\"\r\n },\r\n \ - \ \"ruleConditions\": [\r\n {\r\n \"ruleConditionType\"\ - : \"NetworkRuleCondition\",\r\n \"name\": \"network-condition1\"\ - ,\r\n \"ipProtocols\": [\r\n \"TCP\"\r\n \ - \ ],\r\n \"sourceAddresses\": [\r\n \"10.1.25.0/24\"\ - \r\n ],\r\n \"destinationAddresses\": [\r\n \ - \ \"*\"\r\n ],\r\n \"destinationPorts\": [\r\n\ - \ \"*\"\r\n ]\r\n }\r\n ],\r\n \ - \ \"name\": \"Example-Filter-Rule\",\r\n \"priority\": 0\r\n \ - \ }\r\n ],\r\n \"provisioningState\": \"Deleting\"\r\n },\r\n \"\ - id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/firewallPolicies/myFirewallPolicy/ruleGroups/myRuleGroup\"\ - ,\r\n \"name\": \"myRuleGroup\",\r\n \"type\": \"Microsoft.Network/FirewallPolicies/RuleGroups\"\ - ,\r\n \"etag\": \"4c8dbc5a-c668-45d4-852d-b73c1db4e257\",\r\n \"location\"\ - : \"westus\"\r\n}" + string: "{\r\n \"properties\": {\r\n \"priority\": 110,\r\n \"rules\": + [\r\n {\r\n \"ruleType\": \"FirewallPolicyFilterRule\",\r\n \"action\": + {\r\n \"type\": \"Deny\"\r\n },\r\n \"ruleConditions\": + [\r\n {\r\n \"ruleConditionType\": \"NetworkRuleCondition\",\r\n + \ \"name\": \"network-condition1\",\r\n \"ipProtocols\": + [\r\n \"TCP\"\r\n ],\r\n \"sourceAddresses\": + [\r\n \"10.1.25.0/24\"\r\n ],\r\n \"destinationAddresses\": + [\r\n \"*\"\r\n ],\r\n \"destinationPorts\": + [\r\n \"*\"\r\n ]\r\n }\r\n ],\r\n + \ \"name\": \"Example-Filter-Rule\",\r\n \"priority\": 0\r\n + \ }\r\n ],\r\n \"provisioningState\": \"Deleting\"\r\n },\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/firewallPolicies/myFirewallPolicy/ruleGroups/myRuleGroup\",\r\n + \ \"name\": \"myRuleGroup\",\r\n \"type\": \"Microsoft.Network/FirewallPolicies/RuleGroups\",\r\n + \ \"etag\": \"c613e059-f575-40bc-98ff-aa8f9f5fd0c7\",\r\n \"location\": \"westus\"\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/nfvOperations/0002dfbc-e1bc-49d3-a9f8-3d05aec9aab7?api-version=2020-04-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/nfvOperations/bc2f9ec4-5701-4b5a-9c49-3b8488949dad?api-version=2020-04-01 cache-control: - no-cache content-length: - - '1160' + - '1165' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:59:03 GMT + - Fri, 14 May 2021 05:18:14 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/nfvOperationResults/0002dfbc-e1bc-49d3-a9f8-3d05aec9aab7?api-version=2020-04-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/nfvOperationResults/bc2f9ec4-5701-4b5a-9c49-3b8488949dad?api-version=2020-04-01 pragma: - no-cache server: @@ -470,7 +478,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14999' + - '14996' status: code: 202 message: Accepted @@ -484,9 +492,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/nfvOperations/0002dfbc-e1bc-49d3-a9f8-3d05aec9aab7?api-version=2020-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/nfvOperations/bc2f9ec4-5701-4b5a-9c49-3b8488949dad?api-version=2020-04-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -498,7 +507,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 05:59:13 GMT + - Fri, 14 May 2021 05:18:24 GMT expires: - '-1' pragma: @@ -528,9 +537,10 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/firewallPolicies/myFirewallPolicy?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/firewallPolicies/myFirewallPolicy?api-version=2021-02-01 response: body: string: '' @@ -540,7 +550,7 @@ interactions: content-length: - '0' date: - - Tue, 09 Mar 2021 05:59:17 GMT + - Fri, 14 May 2021 05:18:25 GMT expires: - '-1' pragma: @@ -552,7 +562,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14998' + - '14995' status: code: 200 message: OK diff --git a/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_interface.test_network.yaml b/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_interface.test_network.yaml index ad4503c9a4e4..cd63f8ab6016 100644 --- a/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_interface.test_network.yaml +++ b/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_interface.test_network.yaml @@ -14,32 +14,33 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"virtualnetwork\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork\"\ - ,\r\n \"etag\": \"W/\\\"912e1f9c-62a7-472a-83a0-dad7088790da\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ - \ \"resourceGuid\": \"03aa4560-300c-4631-aef7-e749253148f2\",\r\n \"\ - addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\ - \r\n ]\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ - : [],\r\n \"enableDdosProtection\": false\r\n }\r\n}" + string: "{\r\n \"name\": \"virtualnetwork\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork\",\r\n + \ \"etag\": \"W/\\\"457699c1-f45d-4f74-8599-3a8950b021a3\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": + \"fadea2a5-2599-404c-abfe-c8a53d716f41\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": + [\r\n \"10.0.0.0/16\"\r\n ]\r\n },\r\n \"subnets\": [],\r\n + \ \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": false\r\n + \ }\r\n}" headers: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/63fe5156-2653-4aaa-b305-def4028f7f1d?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/49061e16-5735-432d-85ed-8f6b0e25ab80?api-version=2021-02-01 cache-control: - no-cache content-length: - - '681' + - '686' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 08:10:22 GMT + - Fri, 14 May 2021 05:18:27 GMT expires: - '-1' pragma: @@ -52,9 +53,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - fbe69222-1463-4232-ac18-0f59410d596a + - 3c09029e-a543-4090-a461-48aad776d592 x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1195' status: code: 201 message: Created @@ -68,9 +69,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/63fe5156-2653-4aaa-b305-def4028f7f1d?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/49061e16-5735-432d-85ed-8f6b0e25ab80?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -82,7 +84,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 08:10:25 GMT + - Fri, 14 May 2021 05:18:30 GMT expires: - '-1' pragma: @@ -99,7 +101,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 783b4abd-2e01-4c83-8147-abfb6dfb86e0 + - 13da74d8-4b53-428f-bb6c-29cd6b12a9a1 status: code: 200 message: OK @@ -113,30 +115,31 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"virtualnetwork\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork\"\ - ,\r\n \"etag\": \"W/\\\"4a5f5d67-4040-4652-80b7-28adfa25a684\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n\ - \ \"resourceGuid\": \"03aa4560-300c-4631-aef7-e749253148f2\",\r\n \"\ - addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\ - \r\n ]\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ - : [],\r\n \"enableDdosProtection\": false\r\n }\r\n}" + string: "{\r\n \"name\": \"virtualnetwork\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork\",\r\n + \ \"etag\": \"W/\\\"8d8a7b60-3cc8-4e45-879e-361ff6b1dcc7\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": + \"fadea2a5-2599-404c-abfe-c8a53d716f41\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": + [\r\n \"10.0.0.0/16\"\r\n ]\r\n },\r\n \"subnets\": [],\r\n + \ \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": false\r\n + \ }\r\n}" headers: cache-control: - no-cache content-length: - - '682' + - '687' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 08:10:26 GMT + - Fri, 14 May 2021 05:18:30 GMT etag: - - W/"4a5f5d67-4040-4652-80b7-28adfa25a684" + - W/"8d8a7b60-3cc8-4e45-879e-361ff6b1dcc7" expires: - '-1' pragma: @@ -153,7 +156,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 63f9a72f-6305-4ea5-b1de-5e333818cf6c + - cbe538a3-0bea-4b03-9aec-282d5bdb7e44 status: code: 200 message: OK @@ -171,28 +174,29 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork/subnets/subnet?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork/subnets/subnet?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"subnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork/subnets/subnet\"\ - ,\r\n \"etag\": \"W/\\\"bc419843-45b6-4cb5-a435-e6ffe2740f96\\\"\",\r\n \ - \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"\ - addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\"\ - : \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\ - \n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" + string: "{\r\n \"name\": \"subnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork/subnets/subnet\",\r\n + \ \"etag\": \"W/\\\"3b53625f-1db6-4c04-8b44-e5f495674717\\\"\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Updating\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n + \ \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n + \ \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \"type\": + \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/f6437f6e-bd5b-4bd0-9bfc-3ab8ad8eba9e?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/c4cde411-de25-4072-b55f-80d28eda9fb7?api-version=2021-02-01 cache-control: - no-cache content-length: - - '592' + - '597' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 08:10:27 GMT + - Fri, 14 May 2021 05:18:31 GMT expires: - '-1' pragma: @@ -205,9 +209,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 35c6987c-76a0-40ad-b5a8-ece5fadb270b + - 848facd1-7763-4a0d-977a-2cf776ec4bb7 x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1194' status: code: 201 message: Created @@ -221,9 +225,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/f6437f6e-bd5b-4bd0-9bfc-3ab8ad8eba9e?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/c4cde411-de25-4072-b55f-80d28eda9fb7?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -235,7 +240,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 08:10:30 GMT + - Fri, 14 May 2021 05:18:34 GMT expires: - '-1' pragma: @@ -252,7 +257,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - c25af9cf-ef63-4384-af29-36058a97f609 + - 68f61c30-4014-483b-af97-ef075e017a4d status: code: 200 message: OK @@ -266,28 +271,29 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork/subnets/subnet?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork/subnets/subnet?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"subnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork/subnets/subnet\"\ - ,\r\n \"etag\": \"W/\\\"90dfae91-c247-4eb5-9302-a904f80cd0b0\\\"\",\r\n \ - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\ - addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\"\ - : \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\ - \n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" + string: "{\r\n \"name\": \"subnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork/subnets/subnet\",\r\n + \ \"etag\": \"W/\\\"28ca8327-650a-4d52-8225-61ae0dda94ef\\\"\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n + \ \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n + \ \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \"type\": + \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" headers: cache-control: - no-cache content-length: - - '593' + - '598' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 08:10:30 GMT + - Fri, 14 May 2021 05:18:34 GMT etag: - - W/"90dfae91-c247-4eb5-9302-a904f80cd0b0" + - W/"28ca8327-650a-4d52-8225-61ae0dda94ef" expires: - '-1' pragma: @@ -304,7 +310,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - ffa35107-0c8f-4aaf-85e2-2b70fa0f30d9 + - dbe449d7-1eba-4eda-9aa2-56239ebdce3d status: code: 200 message: OK @@ -322,32 +328,33 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipaddress?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipaddress?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"publicipaddress\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipaddress\"\ - ,\r\n \"etag\": \"W/\\\"13e8db85-8e9c-46fb-a988-d16fa0b8bbc4\\\"\",\r\n \ - \ \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\"\ - : \"Updating\",\r\n \"resourceGuid\": \"5869143a-1b62-443c-9430-a1d183d0db30\"\ - ,\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n \"publicIPAllocationMethod\"\ - : \"Dynamic\",\r\n \"idleTimeoutInMinutes\": 4,\r\n \"ipTags\": []\r\ - \n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n \"sku\"\ - : {\r\n \"name\": \"Basic\",\r\n \"tier\": \"Regional\"\r\n }\r\n}" + string: "{\r\n \"name\": \"publicipaddress\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipaddress\",\r\n + \ \"etag\": \"W/\\\"b2b36eda-1ba0-4d34-b259-b9b68c892f2c\\\"\",\r\n \"location\": + \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"resourceGuid\": \"167bd432-e816-4665-ac43-a278423a5489\",\r\n \"publicIPAddressVersion\": + \"IPv4\",\r\n \"publicIPAllocationMethod\": \"Dynamic\",\r\n \"idleTimeoutInMinutes\": + 4,\r\n \"ipTags\": []\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n + \ \"sku\": {\r\n \"name\": \"Basic\",\r\n \"tier\": \"Regional\"\r\n + \ }\r\n}" headers: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/fae00998-af2d-4cef-bee2-486f1ad4d040?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/014584ad-9df9-47fe-a70d-6e6c94e460f6?api-version=2021-02-01 cache-control: - no-cache content-length: - - '703' + - '708' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 08:10:34 GMT + - Fri, 14 May 2021 05:18:34 GMT expires: - '-1' pragma: @@ -360,9 +367,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 8b047e8a-4fe9-4563-81cc-7913bbec3723 + - c1b2d6a9-84b5-4e55-9797-9426721eccfa x-ms-ratelimit-remaining-subscription-writes: - - '1195' + - '1193' status: code: 201 message: Created @@ -376,9 +383,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/fae00998-af2d-4cef-bee2-486f1ad4d040?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/014584ad-9df9-47fe-a70d-6e6c94e460f6?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -390,7 +398,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 08:10:35 GMT + - Fri, 14 May 2021 05:18:35 GMT expires: - '-1' pragma: @@ -407,7 +415,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - a8667620-911c-4b3c-b5bb-aeeeff160045 + - 70225e5e-8121-47bb-afa2-632c7303cd94 status: code: 200 message: OK @@ -421,30 +429,31 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipaddress?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipaddress?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"publicipaddress\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipaddress\"\ - ,\r\n \"etag\": \"W/\\\"1a03b776-fa00-40e0-8b12-5df68df983e5\\\"\",\r\n \ - \ \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\"\ - : \"Succeeded\",\r\n \"resourceGuid\": \"5869143a-1b62-443c-9430-a1d183d0db30\"\ - ,\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n \"publicIPAllocationMethod\"\ - : \"Dynamic\",\r\n \"idleTimeoutInMinutes\": 4,\r\n \"ipTags\": []\r\ - \n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n \"sku\"\ - : {\r\n \"name\": \"Basic\",\r\n \"tier\": \"Regional\"\r\n }\r\n}" + string: "{\r\n \"name\": \"publicipaddress\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipaddress\",\r\n + \ \"etag\": \"W/\\\"6c002201-4f98-4c59-882e-54b758e00c51\\\"\",\r\n \"location\": + \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"167bd432-e816-4665-ac43-a278423a5489\",\r\n \"publicIPAddressVersion\": + \"IPv4\",\r\n \"publicIPAllocationMethod\": \"Dynamic\",\r\n \"idleTimeoutInMinutes\": + 4,\r\n \"ipTags\": []\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n + \ \"sku\": {\r\n \"name\": \"Basic\",\r\n \"tier\": \"Regional\"\r\n + \ }\r\n}" headers: cache-control: - no-cache content-length: - - '704' + - '709' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 08:10:36 GMT + - Fri, 14 May 2021 05:18:35 GMT etag: - - W/"1a03b776-fa00-40e0-8b12-5df68df983e5" + - W/"6c002201-4f98-4c59-882e-54b758e00c51" expires: - '-1' pragma: @@ -461,7 +470,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 9546885c-a790-4403-9e5c-fec41823f641 + - 9540bdf2-341f-46c8-ad31-b644b958963f status: code: 200 message: OK @@ -478,49 +487,48 @@ interactions: Connection: - keep-alive Content-Length: - - '617' + - '627' Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/myNetworkInterface?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/myNetworkInterface?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"myNetworkInterface\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/myNetworkInterface\"\ - ,\r\n \"etag\": \"W/\\\"decd1579-b4eb-4ed3-8072-ce2073591cb1\\\"\",\r\n \ - \ \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\"\ - : \"Succeeded\",\r\n \"resourceGuid\": \"e0d69ddc-acf2-4aa2-8520-ff41254d3f25\"\ - ,\r\n \"ipConfigurations\": [\r\n {\r\n \"name\": \"myIpConfiguration\"\ - ,\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/myNetworkInterface/ipConfigurations/myIpConfiguration\"\ - ,\r\n \"etag\": \"W/\\\"decd1579-b4eb-4ed3-8072-ce2073591cb1\\\"\"\ - ,\r\n \"type\": \"Microsoft.Network/networkInterfaces/ipConfigurations\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"privateIPAddress\": \"10.0.0.4\",\r\n \"privateIPAllocationMethod\"\ - : \"Dynamic\",\r\n \"publicIPAddress\": {\r\n \"id\":\ - \ \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipaddress\"\ - \r\n },\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork/subnets/subnet\"\ - \r\n },\r\n \"primary\": true,\r\n \"privateIPAddressVersion\"\ - : \"IPv4\"\r\n }\r\n }\r\n ],\r\n \"dnsSettings\": {\r\n\ - \ \"dnsServers\": [],\r\n \"appliedDnsServers\": [],\r\n \"\ - internalDomainNameSuffix\": \"mbc0uaymgayunlxx23eskmki4c.bx.internal.cloudapp.net\"\ - \r\n },\r\n \"enableAcceleratedNetworking\": true,\r\n \"enableIPForwarding\"\ - : false,\r\n \"hostedWorkloads\": [],\r\n \"tapConfigurations\": [],\r\ - \n \"nicType\": \"Standard\"\r\n },\r\n \"type\": \"Microsoft.Network/networkInterfaces\"\ - \r\n}" + string: "{\r\n \"name\": \"myNetworkInterface\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/myNetworkInterface\",\r\n + \ \"etag\": \"W/\\\"8f7ab309-3fab-4f73-85b5-566b69d51117\\\"\",\r\n \"location\": + \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"741c2817-2d39-48fc-955d-9215baf3bb26\",\r\n \"ipConfigurations\": + [\r\n {\r\n \"name\": \"myIpConfiguration\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/myNetworkInterface/ipConfigurations/myIpConfiguration\",\r\n + \ \"etag\": \"W/\\\"8f7ab309-3fab-4f73-85b5-566b69d51117\\\"\",\r\n + \ \"type\": \"Microsoft.Network/networkInterfaces/ipConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAddress\": \"10.0.0.4\",\r\n \"privateIPAllocationMethod\": + \"Dynamic\",\r\n \"publicIPAddress\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipaddress\"\r\n + \ },\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork/subnets/subnet\"\r\n + \ },\r\n \"primary\": true,\r\n \"privateIPAddressVersion\": + \"IPv4\"\r\n }\r\n }\r\n ],\r\n \"dnsSettings\": {\r\n \"dnsServers\": + [],\r\n \"appliedDnsServers\": [],\r\n \"internalDomainNameSuffix\": + \"uwrn34uzevgebk54zcst02lpib.bx.internal.cloudapp.net\"\r\n },\r\n \"enableAcceleratedNetworking\": + true,\r\n \"enableIPForwarding\": false,\r\n \"hostedWorkloads\": [],\r\n + \ \"tapConfigurations\": [],\r\n \"nicType\": \"Standard\"\r\n },\r\n + \ \"type\": \"Microsoft.Network/networkInterfaces\"\r\n}" headers: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/980dd55e-5789-4b99-9f2d-a933811691df?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/c471fb72-8c71-4061-b763-e6833480792f?api-version=2021-02-01 cache-control: - no-cache content-length: - - '2133' + - '2153' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 08:10:40 GMT + - Fri, 14 May 2021 05:18:36 GMT expires: - '-1' pragma: @@ -533,9 +541,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - e591f370-e85e-4a3a-9082-fc6411f67d34 + - e204a241-2f2b-4b17-bb3b-81587def14e8 x-ms-ratelimit-remaining-subscription-writes: - - '1194' + - '1192' status: code: 201 message: Created @@ -549,9 +557,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/980dd55e-5789-4b99-9f2d-a933811691df?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/c471fb72-8c71-4061-b763-e6833480792f?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -563,74 +572,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 08:11:10 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - ed56a648-b707-498d-b73e-ff257431e88b - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/myNetworkInterface?api-version=2020-11-01 - response: - body: - string: "{\r\n \"name\": \"myNetworkInterface\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/myNetworkInterface\"\ - ,\r\n \"etag\": \"W/\\\"decd1579-b4eb-4ed3-8072-ce2073591cb1\\\"\",\r\n \ - \ \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\"\ - : \"Succeeded\",\r\n \"resourceGuid\": \"e0d69ddc-acf2-4aa2-8520-ff41254d3f25\"\ - ,\r\n \"ipConfigurations\": [\r\n {\r\n \"name\": \"myIpConfiguration\"\ - ,\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/myNetworkInterface/ipConfigurations/myIpConfiguration\"\ - ,\r\n \"etag\": \"W/\\\"decd1579-b4eb-4ed3-8072-ce2073591cb1\\\"\"\ - ,\r\n \"type\": \"Microsoft.Network/networkInterfaces/ipConfigurations\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"privateIPAddress\": \"10.0.0.4\",\r\n \"privateIPAllocationMethod\"\ - : \"Dynamic\",\r\n \"publicIPAddress\": {\r\n \"id\":\ - \ \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipaddress\"\ - \r\n },\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork/subnets/subnet\"\ - \r\n },\r\n \"primary\": true,\r\n \"privateIPAddressVersion\"\ - : \"IPv4\"\r\n }\r\n }\r\n ],\r\n \"dnsSettings\": {\r\n\ - \ \"dnsServers\": [],\r\n \"appliedDnsServers\": [],\r\n \"\ - internalDomainNameSuffix\": \"mbc0uaymgayunlxx23eskmki4c.bx.internal.cloudapp.net\"\ - \r\n },\r\n \"enableAcceleratedNetworking\": true,\r\n \"enableIPForwarding\"\ - : false,\r\n \"hostedWorkloads\": [],\r\n \"tapConfigurations\": [],\r\ - \n \"nicType\": \"Standard\"\r\n },\r\n \"type\": \"Microsoft.Network/networkInterfaces\"\ - \r\n}" - headers: - cache-control: - - no-cache - content-length: - - '2133' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:11:10 GMT - etag: - - W/"decd1579-b4eb-4ed3-8072-ce2073591cb1" + - Fri, 14 May 2021 05:19:05 GMT expires: - '-1' pragma: @@ -647,191 +589,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 9a2771f6-974c-4bb8-971b-a2ab6fe77b7a - status: - code: 200 - message: OK -- request: - body: '{"location": "eastus", "properties": {"hardwareProfile": {"vmSize": "Standard_D2_v2"}, - "storageProfile": {"imageReference": {"publisher": "MicrosoftWindowsServer", - "offer": "WindowsServer", "sku": "2016-Datacenter", "version": "latest"}, "osDisk": - {"name": "myVMosdisk", "caching": "ReadWrite", "createOption": "FromImage", - "managedDisk": {"storageAccountType": "Standard_LRS"}}, "dataDisks": [{"lun": - 0, "createOption": "Empty", "diskSizeGB": 1023}, {"lun": 1, "createOption": - "Empty", "diskSizeGB": 1023}]}, "osProfile": {"computerName": "myVM", "adminUsername": - "testuser", "adminPassword": "Aa1!zyx_", "windowsConfiguration": {"enableAutomaticUpdates": - true}}, "networkProfile": {"networkInterfaces": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/myNetworkInterface", - "properties": {"primary": true}}]}}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '960' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azure-mgmt-compute/19.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Compute/virtualMachines/virtualmachine?api-version=2020-12-01 - response: - body: - string: "{\r\n \"name\": \"virtualmachine\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Compute/virtualMachines/virtualmachine\"\ - ,\r\n \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\"\ - : \"eastus\",\r\n \"tags\": {\r\n \"platformsettings.host_environment.service.platform_optedin_for_rootcerts\"\ - : \"true\"\r\n },\r\n \"properties\": {\r\n \"vmId\": \"189611de-4810-4f3e-be30-357a7a5a07e7\"\ - ,\r\n \"hardwareProfile\": {\r\n \"vmSize\": \"Standard_D2_v2\"\r\n\ - \ },\r\n \"storageProfile\": {\r\n \"imageReference\": {\r\n \ - \ \"publisher\": \"MicrosoftWindowsServer\",\r\n \"offer\": \"\ - WindowsServer\",\r\n \"sku\": \"2016-Datacenter\",\r\n \"version\"\ - : \"latest\",\r\n \"exactVersion\": \"14393.4225.2102030345\"\r\n \ - \ },\r\n \"osDisk\": {\r\n \"osType\": \"Windows\",\r\n \ - \ \"name\": \"myVMosdisk\",\r\n \"createOption\": \"FromImage\"\ - ,\r\n \"caching\": \"ReadWrite\",\r\n \"managedDisk\": {\r\n\ - \ \"storageAccountType\": \"Standard_LRS\"\r\n },\r\n \ - \ \"diskSizeGB\": 127\r\n },\r\n \"dataDisks\": [\r\n \ - \ {\r\n \"lun\": 0,\r\n \"createOption\": \"Empty\",\r\n\ - \ \"caching\": \"None\",\r\n \"managedDisk\": {\r\n \ - \ \"storageAccountType\": \"Standard_LRS\"\r\n },\r\n \ - \ \"diskSizeGB\": 1023,\r\n \"toBeDetached\": false\r\n \ - \ },\r\n {\r\n \"lun\": 1,\r\n \"createOption\"\ - : \"Empty\",\r\n \"caching\": \"None\",\r\n \"managedDisk\"\ - : {\r\n \"storageAccountType\": \"Standard_LRS\"\r\n },\r\ - \n \"diskSizeGB\": 1023,\r\n \"toBeDetached\": false\r\n\ - \ }\r\n ]\r\n },\r\n \"osProfile\": {\r\n \"computerName\"\ - : \"myVM\",\r\n \"adminUsername\": \"testuser\",\r\n \"windowsConfiguration\"\ - : {\r\n \"provisionVMAgent\": true,\r\n \"enableAutomaticUpdates\"\ - : true,\r\n \"patchSettings\": {\r\n \"patchMode\": \"AutomaticByOS\"\ - \r\n }\r\n },\r\n \"secrets\": [],\r\n \"allowExtensionOperations\"\ - : true,\r\n \"requireGuestProvisionSignal\": true\r\n },\r\n \"\ - networkProfile\": {\"networkInterfaces\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/myNetworkInterface\"\ - ,\"properties\":{\"primary\":true}}]},\r\n \"provisioningState\": \"Creating\"\ - \r\n }\r\n}" - headers: - azure-asyncnotification: - - Enabled - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/operations/dc9de878-90fc-43fa-b2e8-0a885c9f3850?api-version=2020-12-01 - cache-control: - - no-cache - content-length: - - '2406' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:11:23 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/PutVM3Min;239,Microsoft.Compute/PutVM30Min;1198 - x-ms-ratelimit-remaining-subscription-writes: - - '1199' - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-compute/19.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/operations/dc9de878-90fc-43fa-b2e8-0a885c9f3850?api-version=2020-12-01 - response: - body: - string: "{\r\n \"startTime\": \"2021-03-09T08:11:21.4018575+00:00\",\r\n \"\ - status\": \"InProgress\",\r\n \"name\": \"dc9de878-90fc-43fa-b2e8-0a885c9f3850\"\ - \r\n}" - headers: - cache-control: - - no-cache - content-length: - - '134' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:11:33 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14999,Microsoft.Compute/GetOperation30Min;29988 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-compute/19.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/operations/dc9de878-90fc-43fa-b2e8-0a885c9f3850?api-version=2020-12-01 - response: - body: - string: "{\r\n \"startTime\": \"2021-03-09T08:11:21.4018575+00:00\",\r\n \"\ - endTime\": \"2021-03-09T08:12:24.6210239+00:00\",\r\n \"status\": \"Succeeded\"\ - ,\r\n \"name\": \"dc9de878-90fc-43fa-b2e8-0a885c9f3850\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '184' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:12:24 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14998,Microsoft.Compute/GetOperation30Min;29987 + - 194d96a5-4493-4030-a53f-c98c207e606f status: code: 200 message: OK @@ -845,763 +603,42 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-compute/19.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Compute/virtualMachines/virtualmachine?api-version=2020-12-01 - response: - body: - string: "{\r\n \"name\": \"virtualmachine\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Compute/virtualMachines/virtualmachine\"\ - ,\r\n \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\"\ - : \"eastus\",\r\n \"tags\": {\r\n \"platformsettings.host_environment.service.platform_optedin_for_rootcerts\"\ - : \"true\"\r\n },\r\n \"properties\": {\r\n \"vmId\": \"189611de-4810-4f3e-be30-357a7a5a07e7\"\ - ,\r\n \"hardwareProfile\": {\r\n \"vmSize\": \"Standard_D2_v2\"\r\n\ - \ },\r\n \"storageProfile\": {\r\n \"imageReference\": {\r\n \ - \ \"publisher\": \"MicrosoftWindowsServer\",\r\n \"offer\": \"\ - WindowsServer\",\r\n \"sku\": \"2016-Datacenter\",\r\n \"version\"\ - : \"latest\",\r\n \"exactVersion\": \"14393.4225.2102030345\"\r\n \ - \ },\r\n \"osDisk\": {\r\n \"osType\": \"Windows\",\r\n \ - \ \"name\": \"myVMosdisk\",\r\n \"createOption\": \"FromImage\"\ - ,\r\n \"caching\": \"ReadWrite\",\r\n \"managedDisk\": {\r\n\ - \ \"storageAccountType\": \"Standard_LRS\",\r\n \"id\":\ - \ \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Compute/disks/myVMosdisk\"\ - \r\n },\r\n \"diskSizeGB\": 127\r\n },\r\n \"dataDisks\"\ - : [\r\n {\r\n \"lun\": 0,\r\n \"name\": \"virtualmachine_disk2_6ea80acee6594d2aa4830e066c210b33\"\ - ,\r\n \"createOption\": \"Empty\",\r\n \"caching\": \"None\"\ - ,\r\n \"managedDisk\": {\r\n \"storageAccountType\": \"\ - Standard_LRS\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Compute/disks/virtualmachine_disk2_6ea80acee6594d2aa4830e066c210b33\"\ - \r\n },\r\n \"diskSizeGB\": 1023,\r\n \"toBeDetached\"\ - : false\r\n },\r\n {\r\n \"lun\": 1,\r\n \"\ - name\": \"virtualmachine_disk3_99ec8bd7e7ed4eab8fc44ee21312ba70\",\r\n \ - \ \"createOption\": \"Empty\",\r\n \"caching\": \"None\",\r\ - \n \"managedDisk\": {\r\n \"storageAccountType\": \"Standard_LRS\"\ - ,\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Compute/disks/virtualmachine_disk3_99ec8bd7e7ed4eab8fc44ee21312ba70\"\ - \r\n },\r\n \"diskSizeGB\": 1023,\r\n \"toBeDetached\"\ - : false\r\n }\r\n ]\r\n },\r\n \"osProfile\": {\r\n \ - \ \"computerName\": \"myVM\",\r\n \"adminUsername\": \"testuser\",\r\ - \n \"windowsConfiguration\": {\r\n \"provisionVMAgent\": true,\r\ - \n \"enableAutomaticUpdates\": true,\r\n \"patchSettings\":\ - \ {\r\n \"patchMode\": \"AutomaticByOS\"\r\n }\r\n },\r\ - \n \"secrets\": [],\r\n \"allowExtensionOperations\": true,\r\n\ - \ \"requireGuestProvisionSignal\": true\r\n },\r\n \"networkProfile\"\ - : {\"networkInterfaces\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/myNetworkInterface\"\ - ,\"properties\":{\"primary\":true}}]},\r\n \"provisioningState\": \"Succeeded\"\ - \r\n }\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '3273' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:12:25 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;3999,Microsoft.Compute/LowCostGet30Min;31979 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/myNetworkInterface/ipConfigurations/myIpConfiguration?api-version=2020-11-01 - response: - body: - string: "{\r\n \"name\": \"myIpConfiguration\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/myNetworkInterface/ipConfigurations/myIpConfiguration\"\ - ,\r\n \"etag\": \"W/\\\"61668b95-861e-4cb8-b3ec-a2ab80677df1\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/networkInterfaces/ipConfigurations\",\r\n\ - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\ - privateIPAddress\": \"10.0.0.4\",\r\n \"privateIPAllocationMethod\": \"\ - Dynamic\",\r\n \"publicIPAddress\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipaddress\"\ - \r\n },\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork/subnets/subnet\"\ - \r\n },\r\n \"primary\": true,\r\n \"privateIPAddressVersion\": \"\ - IPv4\"\r\n }\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '1132' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:12:25 GMT - etag: - - W/"61668b95-861e-4cb8-b3ec-a2ab80677df1" - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - a71ef15e-d7a1-4cb0-840c-3713a2713aac - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/myNetworkInterface?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/myNetworkInterface?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"myNetworkInterface\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/myNetworkInterface\"\ - ,\r\n \"etag\": \"W/\\\"61668b95-861e-4cb8-b3ec-a2ab80677df1\\\"\",\r\n \ - \ \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\"\ - : \"Succeeded\",\r\n \"resourceGuid\": \"e0d69ddc-acf2-4aa2-8520-ff41254d3f25\"\ - ,\r\n \"ipConfigurations\": [\r\n {\r\n \"name\": \"myIpConfiguration\"\ - ,\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/myNetworkInterface/ipConfigurations/myIpConfiguration\"\ - ,\r\n \"etag\": \"W/\\\"61668b95-861e-4cb8-b3ec-a2ab80677df1\\\"\"\ - ,\r\n \"type\": \"Microsoft.Network/networkInterfaces/ipConfigurations\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"privateIPAddress\": \"10.0.0.4\",\r\n \"privateIPAllocationMethod\"\ - : \"Dynamic\",\r\n \"publicIPAddress\": {\r\n \"id\":\ - \ \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipaddress\"\ - \r\n },\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork/subnets/subnet\"\ - \r\n },\r\n \"primary\": true,\r\n \"privateIPAddressVersion\"\ - : \"IPv4\"\r\n }\r\n }\r\n ],\r\n \"dnsSettings\": {\r\n\ - \ \"dnsServers\": [],\r\n \"appliedDnsServers\": [],\r\n \"\ - internalDomainNameSuffix\": \"mbc0uaymgayunlxx23eskmki4c.bx.internal.cloudapp.net\"\ - \r\n },\r\n \"macAddress\": \"00-22-48-20-9E-29\",\r\n \"enableAcceleratedNetworking\"\ - : true,\r\n \"enableIPForwarding\": false,\r\n \"primary\": true,\r\n\ - \ \"virtualMachine\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Compute/virtualMachines/virtualmachine\"\ - \r\n },\r\n \"hostedWorkloads\": [],\r\n \"tapConfigurations\": [],\r\ - \n \"nicType\": \"Standard\"\r\n },\r\n \"type\": \"Microsoft.Network/networkInterfaces\"\ - \r\n}" + string: "{\r\n \"name\": \"myNetworkInterface\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/myNetworkInterface\",\r\n + \ \"etag\": \"W/\\\"8f7ab309-3fab-4f73-85b5-566b69d51117\\\"\",\r\n \"location\": + \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"741c2817-2d39-48fc-955d-9215baf3bb26\",\r\n \"ipConfigurations\": + [\r\n {\r\n \"name\": \"myIpConfiguration\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/myNetworkInterface/ipConfigurations/myIpConfiguration\",\r\n + \ \"etag\": \"W/\\\"8f7ab309-3fab-4f73-85b5-566b69d51117\\\"\",\r\n + \ \"type\": \"Microsoft.Network/networkInterfaces/ipConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAddress\": \"10.0.0.4\",\r\n \"privateIPAllocationMethod\": + \"Dynamic\",\r\n \"publicIPAddress\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipaddress\"\r\n + \ },\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork/subnets/subnet\"\r\n + \ },\r\n \"primary\": true,\r\n \"privateIPAddressVersion\": + \"IPv4\"\r\n }\r\n }\r\n ],\r\n \"dnsSettings\": {\r\n \"dnsServers\": + [],\r\n \"appliedDnsServers\": [],\r\n \"internalDomainNameSuffix\": + \"uwrn34uzevgebk54zcst02lpib.bx.internal.cloudapp.net\"\r\n },\r\n \"enableAcceleratedNetworking\": + true,\r\n \"enableIPForwarding\": false,\r\n \"hostedWorkloads\": [],\r\n + \ \"tapConfigurations\": [],\r\n \"nicType\": \"Standard\"\r\n },\r\n + \ \"type\": \"Microsoft.Network/networkInterfaces\"\r\n}" headers: cache-control: - no-cache content-length: - - '2445' + - '2153' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 08:12:25 GMT + - Fri, 14 May 2021 05:19:05 GMT etag: - - W/"61668b95-861e-4cb8-b3ec-a2ab80677df1" - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - e35a1e89-d1b3-48ab-a480-b5c864e4c5f7 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/myNetworkInterface/effectiveNetworkSecurityGroups?api-version=2020-11-01 - response: - body: - string: 'null' - headers: - cache-control: - - no-cache - content-length: - - '4' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:12:26 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/5027f974-c54b-4a35-b90e-d502e8992312?api-version=2020-11-01 - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - cf47df47-92a1-447b-a6b7-6b2b65f25a55 - x-ms-ratelimit-remaining-subscription-writes: - - '1199' - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/5027f974-c54b-4a35-b90e-d502e8992312?api-version=2020-11-01 - response: - body: - string: "{\r\n \"value\": []\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '19' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:12:37 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/5027f974-c54b-4a35-b90e-d502e8992312?api-version=2020-11-01 - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - cf47df47-92a1-447b-a6b7-6b2b65f25a55 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/myNetworkInterface/effectiveRouteTable?api-version=2020-11-01 - response: - body: - string: 'null' - headers: - cache-control: - - no-cache - content-length: - - '4' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:12:37 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/a430ef06-0152-4c87-a43a-e0db26aed6f7?api-version=2020-11-01 - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - cbf05864-672f-4226-a31b-99f8d723f239 - x-ms-ratelimit-remaining-subscription-writes: - - '1198' - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/a430ef06-0152-4c87-a43a-e0db26aed6f7?api-version=2020-11-01 - response: - body: - string: "{\r\n \"value\": [\r\n {\r\n \"disableBgpRoutePropagation\"\ - : false,\r\n \"source\": \"Default\",\r\n \"state\": \"Active\"\ - ,\r\n \"hasBgpOverride\": false,\r\n \"addressPrefix\": [\r\n \ - \ \"10.0.0.0/16\"\r\n ],\r\n \"nextHopType\": \"VnetLocal\"\ - ,\r\n \"nextHopIpAddress\": [],\r\n \"destinationServiceTags\":\ - \ [],\r\n \"tagMap\": {}\r\n },\r\n {\r\n \"disableBgpRoutePropagation\"\ - : false,\r\n \"source\": \"Default\",\r\n \"state\": \"Active\"\ - ,\r\n \"hasBgpOverride\": false,\r\n \"addressPrefix\": [\r\n \ - \ \"0.0.0.0/0\"\r\n ],\r\n \"nextHopType\": \"Internet\",\r\ - \n \"nextHopIpAddress\": [],\r\n \"destinationServiceTags\": [],\r\ - \n \"tagMap\": {}\r\n },\r\n {\r\n \"disableBgpRoutePropagation\"\ - : false,\r\n \"source\": \"Default\",\r\n \"state\": \"Active\"\ - ,\r\n \"hasBgpOverride\": false,\r\n \"addressPrefix\": [\r\n \ - \ \"10.0.0.0/8\"\r\n ],\r\n \"nextHopType\": \"None\",\r\n\ - \ \"nextHopIpAddress\": [],\r\n \"destinationServiceTags\": [],\r\ - \n \"tagMap\": {}\r\n },\r\n {\r\n \"disableBgpRoutePropagation\"\ - : false,\r\n \"source\": \"Default\",\r\n \"state\": \"Active\"\ - ,\r\n \"hasBgpOverride\": false,\r\n \"addressPrefix\": [\r\n \ - \ \"100.64.0.0/10\"\r\n ],\r\n \"nextHopType\": \"None\",\r\ - \n \"nextHopIpAddress\": [],\r\n \"destinationServiceTags\": [],\r\ - \n \"tagMap\": {}\r\n },\r\n {\r\n \"disableBgpRoutePropagation\"\ - : false,\r\n \"source\": \"Default\",\r\n \"state\": \"Active\"\ - ,\r\n \"hasBgpOverride\": false,\r\n \"addressPrefix\": [\r\n \ - \ \"192.168.0.0/16\"\r\n ],\r\n \"nextHopType\": \"None\",\r\ - \n \"nextHopIpAddress\": [],\r\n \"destinationServiceTags\": [],\r\ - \n \"tagMap\": {}\r\n },\r\n {\r\n \"disableBgpRoutePropagation\"\ - : false,\r\n \"source\": \"Default\",\r\n \"state\": \"Active\"\ - ,\r\n \"hasBgpOverride\": false,\r\n \"addressPrefix\": [\r\n \ - \ \"25.33.80.0/20\"\r\n ],\r\n \"nextHopType\": \"None\",\r\ - \n \"nextHopIpAddress\": [],\r\n \"destinationServiceTags\": [],\r\ - \n \"tagMap\": {}\r\n },\r\n {\r\n \"disableBgpRoutePropagation\"\ - : false,\r\n \"source\": \"Default\",\r\n \"state\": \"Active\"\ - ,\r\n \"hasBgpOverride\": false,\r\n \"addressPrefix\": [\r\n \ - \ \"25.41.3.0/25\"\r\n ],\r\n \"nextHopType\": \"None\",\r\n\ - \ \"nextHopIpAddress\": [],\r\n \"destinationServiceTags\": [],\r\ - \n \"tagMap\": {}\r\n }\r\n ]\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '2290' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:12:47 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/a430ef06-0152-4c87-a43a-e0db26aed6f7?api-version=2020-11-01 - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - cbf05864-672f-4226-a31b-99f8d723f239 - status: - code: 200 - message: OK -- request: - body: '{"tags": {"tag1": "value1", "tag2": "value2"}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '46' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/myNetworkInterface?api-version=2020-11-01 - response: - body: - string: "{\r\n \"name\": \"myNetworkInterface\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/myNetworkInterface\"\ - ,\r\n \"etag\": \"W/\\\"b542fb7b-1337-4114-ab2e-33e04549bcd3\\\"\",\r\n \ - \ \"location\": \"eastus\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\ - \n \"tag2\": \"value2\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\"\ - : \"Succeeded\",\r\n \"resourceGuid\": \"e0d69ddc-acf2-4aa2-8520-ff41254d3f25\"\ - ,\r\n \"ipConfigurations\": [\r\n {\r\n \"name\": \"myIpConfiguration\"\ - ,\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/myNetworkInterface/ipConfigurations/myIpConfiguration\"\ - ,\r\n \"etag\": \"W/\\\"b542fb7b-1337-4114-ab2e-33e04549bcd3\\\"\"\ - ,\r\n \"type\": \"Microsoft.Network/networkInterfaces/ipConfigurations\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"privateIPAddress\": \"10.0.0.4\",\r\n \"privateIPAllocationMethod\"\ - : \"Dynamic\",\r\n \"publicIPAddress\": {\r\n \"id\":\ - \ \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipaddress\"\ - \r\n },\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork/subnets/subnet\"\ - \r\n },\r\n \"primary\": true,\r\n \"privateIPAddressVersion\"\ - : \"IPv4\"\r\n }\r\n }\r\n ],\r\n \"dnsSettings\": {\r\n\ - \ \"dnsServers\": [],\r\n \"appliedDnsServers\": [],\r\n \"\ - internalDomainNameSuffix\": \"mbc0uaymgayunlxx23eskmki4c.bx.internal.cloudapp.net\"\ - \r\n },\r\n \"macAddress\": \"00-22-48-20-9E-29\",\r\n \"enableAcceleratedNetworking\"\ - : true,\r\n \"enableIPForwarding\": false,\r\n \"primary\": true,\r\n\ - \ \"virtualMachine\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Compute/virtualMachines/virtualmachine\"\ - \r\n },\r\n \"hostedWorkloads\": [],\r\n \"tapConfigurations\": [],\r\ - \n \"nicType\": \"Standard\"\r\n },\r\n \"type\": \"Microsoft.Network/networkInterfaces\"\ - \r\n}" - headers: - azure-asyncnotification: - - Enabled - cache-control: - - no-cache - content-length: - - '2509' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:12:52 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - b2385607-5469-4e79-9127-16fd2ef7c47b - x-ms-ratelimit-remaining-subscription-writes: - - '1193' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-azure-mgmt-compute/19.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Compute/virtualMachines/virtualmachine?api-version=2020-12-01 - response: - body: - string: '' - headers: - azure-asyncnotification: - - Enabled - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/operations/7fd8c0b1-8f0b-446d-968c-a4b66a19f155?api-version=2020-12-01 - cache-control: - - no-cache - content-length: - - '0' - date: - - Tue, 09 Mar 2021 08:12:55 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/operations/7fd8c0b1-8f0b-446d-968c-a4b66a19f155?monitor=true&api-version=2020-12-01 - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/DeleteVM3Min;239,Microsoft.Compute/DeleteVM30Min;1198 - x-ms-ratelimit-remaining-subscription-deletes: - - '14998' - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-compute/19.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/operations/7fd8c0b1-8f0b-446d-968c-a4b66a19f155?api-version=2020-12-01 - response: - body: - string: "{\r\n \"startTime\": \"2021-03-09T08:12:56.0586643+00:00\",\r\n \"\ - status\": \"InProgress\",\r\n \"name\": \"7fd8c0b1-8f0b-446d-968c-a4b66a19f155\"\ - \r\n}" - headers: - cache-control: - - no-cache - content-length: - - '134' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:13:06 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14996,Microsoft.Compute/GetOperation30Min;29985 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-compute/19.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/operations/7fd8c0b1-8f0b-446d-968c-a4b66a19f155?api-version=2020-12-01 - response: - body: - string: "{\r\n \"startTime\": \"2021-03-09T08:12:56.0586643+00:00\",\r\n \"\ - status\": \"InProgress\",\r\n \"name\": \"7fd8c0b1-8f0b-446d-968c-a4b66a19f155\"\ - \r\n}" - headers: - cache-control: - - no-cache - content-length: - - '134' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:13:36 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14995,Microsoft.Compute/GetOperation30Min;29984 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-compute/19.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/operations/7fd8c0b1-8f0b-446d-968c-a4b66a19f155?api-version=2020-12-01 - response: - body: - string: "{\r\n \"startTime\": \"2021-03-09T08:12:56.0586643+00:00\",\r\n \"\ - endTime\": \"2021-03-09T08:13:38.7151574+00:00\",\r\n \"status\": \"Succeeded\"\ - ,\r\n \"name\": \"7fd8c0b1-8f0b-446d-968c-a4b66a19f155\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '184' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:14:06 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14993,Microsoft.Compute/GetOperation30Min;29982 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '0' - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/myNetworkInterface?api-version=2020-11-01 - response: - body: - string: '' - headers: - azure-asyncnotification: - - Enabled - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/ba3b32e2-c0a6-42af-a484-4949e5af8643?api-version=2020-11-01 - cache-control: - - no-cache - content-length: - - '0' - date: - - Tue, 09 Mar 2021 08:14:07 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/ba3b32e2-c0a6-42af-a484-4949e5af8643?api-version=2020-11-01 - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - ae9debe4-33b7-4fff-b3d3-1ac2710e1a70 - x-ms-ratelimit-remaining-subscription-deletes: - - '14998' - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/ba3b32e2-c0a6-42af-a484-4949e5af8643?api-version=2020-11-01 - response: - body: - string: "{\r\n \"status\": \"Succeeded\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '29' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:14:18 GMT + - W/"8f7ab309-3fab-4f73-85b5-566b69d51117" expires: - '-1' pragma: @@ -1618,7 +655,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 26ee7f8b-b3b1-4612-8b80-353416b059de + - 359aa883-6e10-469e-b55a-57dc63c9187a status: code: 200 message: OK diff --git a/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_ip.test_network.yaml b/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_ip.test_network.yaml index 96fe151a3da2..cb62fce59f91 100644 --- a/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_ip.test_network.yaml +++ b/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_ip.test_network.yaml @@ -14,29 +14,30 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/ipGroups/myIpGroups?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/ipGroups/myIpGroups?api-version=2021-02-01 response: body: - string: "{\r\n \"properties\": {\r\n \"firewalls\": [],\r\n \"firewallPolicies\"\ - : [],\r\n \"ipAddresses\": [\r\n \"13.64.39.16/32\",\r\n \"40.74.146.80/31\"\ - ,\r\n \"40.74.147.32/28\"\r\n ],\r\n \"provisioningState\": \"\ - Updating\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/ipGroups/myIpGroups\"\ - ,\r\n \"name\": \"myIpGroups\",\r\n \"type\": \"Microsoft.Network/IpGroups\"\ - ,\r\n \"etag\": \"ebe2f44a-4788-4aa2-818e-2a0898375ff0\",\r\n \"location\"\ - : \"westus\",\r\n \"tags\": {\r\n \"key1\": \"value1\"\r\n }\r\n}" + string: "{\r\n \"properties\": {\r\n \"firewalls\": [],\r\n \"firewallPolicies\": + [],\r\n \"ipAddresses\": [\r\n \"13.64.39.16/32\",\r\n \"40.74.146.80/31\",\r\n + \ \"40.74.147.32/28\"\r\n ],\r\n \"provisioningState\": \"Updating\"\r\n + \ },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/ipGroups/myIpGroups\",\r\n + \ \"name\": \"myIpGroups\",\r\n \"type\": \"Microsoft.Network/IpGroups\",\r\n + \ \"etag\": \"21385469-9554-4ec4-a139-c04dbf857a71\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {\r\n \"key1\": \"value1\"\r\n }\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/nfvOperations/8b9d1795-6cf7-46d8-a0bc-bd32f2d7edaa?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/nfvOperations/6b077480-b2fa-47da-9354-2c4728f4acc6?api-version=2021-02-01 cache-control: - no-cache content-length: - - '608' + - '613' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:00:42 GMT + - Fri, 14 May 2021 05:19:08 GMT expires: - '-1' pragma: @@ -48,7 +49,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1191' status: code: 201 message: Created @@ -62,9 +63,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/nfvOperations/8b9d1795-6cf7-46d8-a0bc-bd32f2d7edaa?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/nfvOperations/6b077480-b2fa-47da-9354-2c4728f4acc6?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -76,7 +78,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:00:52 GMT + - Fri, 14 May 2021 05:19:18 GMT expires: - '-1' pragma: @@ -104,27 +106,30 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/ipGroups/myIpGroups?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/ipGroups/myIpGroups?api-version=2021-02-01 response: body: - string: "{\r\n \"properties\": {\r\n \"firewalls\": [],\r\n \"firewallPolicies\"\ - : [],\r\n \"ipAddresses\": [\r\n \"13.64.39.16/32\",\r\n \"40.74.146.80/31\"\ - ,\r\n \"40.74.147.32/28\"\r\n ],\r\n \"provisioningState\": \"\ - Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/ipGroups/myIpGroups\"\ - ,\r\n \"name\": \"myIpGroups\",\r\n \"type\": \"Microsoft.Network/IpGroups\"\ - ,\r\n \"etag\": \"ebe2f44a-4788-4aa2-818e-2a0898375ff0\",\r\n \"location\"\ - : \"westus\",\r\n \"tags\": {\r\n \"key1\": \"value1\"\r\n }\r\n}" + string: "{\r\n \"properties\": {\r\n \"firewalls\": [],\r\n \"firewallPolicies\": + [],\r\n \"ipAddresses\": [\r\n \"13.64.39.16/32\",\r\n \"40.74.146.80/31\",\r\n + \ \"40.74.147.32/28\"\r\n ],\r\n \"provisioningState\": \"Succeeded\"\r\n + \ },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/ipGroups/myIpGroups\",\r\n + \ \"name\": \"myIpGroups\",\r\n \"type\": \"Microsoft.Network/IpGroups\",\r\n + \ \"etag\": \"21385469-9554-4ec4-a139-c04dbf857a71\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {\r\n \"key1\": \"value1\"\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '609' + - '614' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:00:53 GMT + - Fri, 14 May 2021 05:19:18 GMT + etag: + - '"21385469-9554-4ec4-a139-c04dbf857a71"' expires: - '-1' pragma: @@ -152,27 +157,30 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/ipGroups/myIpGroups?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/ipGroups/myIpGroups?api-version=2021-02-01 response: body: - string: "{\r\n \"properties\": {\r\n \"firewalls\": [],\r\n \"firewallPolicies\"\ - : [],\r\n \"ipAddresses\": [\r\n \"13.64.39.16/32\",\r\n \"40.74.146.80/31\"\ - ,\r\n \"40.74.147.32/28\"\r\n ],\r\n \"provisioningState\": \"\ - Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/ipGroups/myIpGroups\"\ - ,\r\n \"name\": \"myIpGroups\",\r\n \"type\": \"Microsoft.Network/IpGroups\"\ - ,\r\n \"etag\": \"ebe2f44a-4788-4aa2-818e-2a0898375ff0\",\r\n \"location\"\ - : \"westus\",\r\n \"tags\": {\r\n \"key1\": \"value1\"\r\n }\r\n}" + string: "{\r\n \"properties\": {\r\n \"firewalls\": [],\r\n \"firewallPolicies\": + [],\r\n \"ipAddresses\": [\r\n \"13.64.39.16/32\",\r\n \"40.74.146.80/31\",\r\n + \ \"40.74.147.32/28\"\r\n ],\r\n \"provisioningState\": \"Succeeded\"\r\n + \ },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/ipGroups/myIpGroups\",\r\n + \ \"name\": \"myIpGroups\",\r\n \"type\": \"Microsoft.Network/IpGroups\",\r\n + \ \"etag\": \"21385469-9554-4ec4-a139-c04dbf857a71\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {\r\n \"key1\": \"value1\"\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '609' + - '614' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:00:53 GMT + - Fri, 14 May 2021 05:19:18 GMT + etag: + - '"21385469-9554-4ec4-a139-c04dbf857a71"' expires: - '-1' pragma: @@ -202,9 +210,10 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/ipGroups/myIpGroups?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/ipGroups/myIpGroups?api-version=2021-02-01 response: body: string: '' @@ -214,7 +223,7 @@ interactions: content-length: - '0' date: - - Tue, 09 Mar 2021 06:00:56 GMT + - Fri, 14 May 2021 05:19:19 GMT expires: - '-1' pragma: @@ -226,7 +235,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14996' + - '14995' status: code: 200 message: OK diff --git a/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_ip_addresses.test_network.yaml b/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_ip_addresses.test_network.yaml index c2ac9e68584f..c463b92c1c8f 100644 --- a/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_ip_addresses.test_network.yaml +++ b/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_ip_addresses.test_network.yaml @@ -14,32 +14,33 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPPrefixes/publicipprefixd3db1381?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPPrefixes/publicipprefixd3db1381?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"publicipprefixd3db1381\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPPrefixes/publicipprefixd3db1381\"\ - ,\r\n \"etag\": \"W/\\\"813c29ea-61d3-4f31-8f4c-ef7f7ba64fc3\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/publicIPPrefixes\",\r\n \"location\": \"\ - westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\"\ - ,\r\n \"resourceGuid\": \"eb9e21be-4ebd-406c-b973-5d049d4b236f\",\r\n \ - \ \"prefixLength\": 30,\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n\ - \ \"ipTags\": []\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\ - ,\r\n \"tier\": \"Regional\"\r\n }\r\n}" + string: "{\r\n \"name\": \"publicipprefixd3db1381\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPPrefixes/publicipprefixd3db1381\",\r\n + \ \"etag\": \"W/\\\"b6d60d54-7d0e-4f3b-804a-1b440455b2b4\\\"\",\r\n \"type\": + \"Microsoft.Network/publicIPPrefixes\",\r\n \"location\": \"westus\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": + \"a15cff4e-84dd-4b2c-abe3-3dc7a143f1e6\",\r\n \"prefixLength\": 30,\r\n + \ \"publicIPAddressVersion\": \"IPv4\",\r\n \"ipTags\": []\r\n },\r\n + \ \"sku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Regional\"\r\n + \ }\r\n}" headers: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/ca132d07-b403-46f9-91a4-a6814b11a6f9?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/4cea2397-7a05-498c-97e4-98baac6092c9?api-version=2021-02-01 cache-control: - no-cache content-length: - - '667' + - '672' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:01:16 GMT + - Fri, 14 May 2021 05:19:21 GMT expires: - '-1' pragma: @@ -52,9 +53,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 547d6140-2bf6-4045-8ffb-cf83f8790cba + - 01fe3a92-8f21-4d0b-b828-c9f6782f05d9 x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 201 message: Created @@ -68,9 +69,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/ca132d07-b403-46f9-91a4-a6814b11a6f9?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/4cea2397-7a05-498c-97e4-98baac6092c9?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -82,7 +84,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:01:20 GMT + - Fri, 14 May 2021 05:19:24 GMT expires: - '-1' pragma: @@ -99,7 +101,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 4f2f3375-0ec2-45e2-93ae-428d8908b1be + - 42d947df-1744-4ef2-b7de-4e4ba79f44cd status: code: 200 message: OK @@ -113,31 +115,31 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPPrefixes/publicipprefixd3db1381?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPPrefixes/publicipprefixd3db1381?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"publicipprefixd3db1381\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPPrefixes/publicipprefixd3db1381\"\ - ,\r\n \"etag\": \"W/\\\"3e9ed74c-97f6-4b86-b607-6fcb4cdc274b\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/publicIPPrefixes\",\r\n \"location\": \"\ - westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"resourceGuid\": \"eb9e21be-4ebd-406c-b973-5d049d4b236f\",\r\n \ - \ \"prefixLength\": 30,\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n\ - \ \"ipPrefix\": \"40.86.190.168/30\",\r\n \"ipTags\": []\r\n },\r\n\ - \ \"sku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Regional\"\ - \r\n }\r\n}" + string: "{\r\n \"name\": \"publicipprefixd3db1381\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPPrefixes/publicipprefixd3db1381\",\r\n + \ \"etag\": \"W/\\\"83261008-49ef-40f9-8d49-c1fba55b4ec6\\\"\",\r\n \"type\": + \"Microsoft.Network/publicIPPrefixes\",\r\n \"location\": \"westus\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": + \"a15cff4e-84dd-4b2c-abe3-3dc7a143f1e6\",\r\n \"prefixLength\": 30,\r\n + \ \"publicIPAddressVersion\": \"IPv4\",\r\n \"ipPrefix\": \"40.83.130.0/30\",\r\n + \ \"ipTags\": []\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n + \ \"tier\": \"Regional\"\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '705' + - '708' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:01:20 GMT + - Fri, 14 May 2021 05:19:25 GMT etag: - - W/"3e9ed74c-97f6-4b86-b607-6fcb4cdc274b" + - W/"83261008-49ef-40f9-8d49-c1fba55b4ec6" expires: - '-1' pragma: @@ -154,7 +156,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 777f11ff-bf82-4cc0-9889-ed32e171af95 + - 57ed6e97-1761-4832-aa1d-ea89cd4548ed status: code: 200 message: OK @@ -172,32 +174,33 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipaddressd3db1381?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipaddressd3db1381?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"publicipaddressd3db1381\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipaddressd3db1381\"\ - ,\r\n \"etag\": \"W/\\\"9ccc83c7-5e58-4a64-a071-66e26ebdb182\\\"\",\r\n \ - \ \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\"\ - : \"Updating\",\r\n \"resourceGuid\": \"262ed096-f874-4e7d-bfa8-15aaf9da9577\"\ - ,\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n \"publicIPAllocationMethod\"\ - : \"Dynamic\",\r\n \"idleTimeoutInMinutes\": 4,\r\n \"ipTags\": []\r\ - \n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n \"sku\"\ - : {\r\n \"name\": \"Basic\",\r\n \"tier\": \"Regional\"\r\n }\r\n}" + string: "{\r\n \"name\": \"publicipaddressd3db1381\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipaddressd3db1381\",\r\n + \ \"etag\": \"W/\\\"ab621ba9-f805-41b1-8eeb-2171c65c1479\\\"\",\r\n \"location\": + \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"resourceGuid\": \"2bf9edab-e36c-4947-83f7-c3b75ce963b2\",\r\n \"publicIPAddressVersion\": + \"IPv4\",\r\n \"publicIPAllocationMethod\": \"Dynamic\",\r\n \"idleTimeoutInMinutes\": + 4,\r\n \"ipTags\": []\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n + \ \"sku\": {\r\n \"name\": \"Basic\",\r\n \"tier\": \"Regional\"\r\n + \ }\r\n}" headers: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/a86cd6b1-0d17-45fc-acea-86b955df5dfb?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/83c265f7-5fd0-47fe-a9d2-2c7383034a7f?api-version=2021-02-01 cache-control: - no-cache content-length: - - '719' + - '724' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:01:26 GMT + - Fri, 14 May 2021 05:19:25 GMT expires: - '-1' pragma: @@ -210,9 +213,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - b71c8748-7fe7-47cd-8862-a3d789c2c965 + - 8c7c1236-ca2e-4de7-b4c1-b1afdb6b5d87 x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1198' status: code: 201 message: Created @@ -226,9 +229,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/a86cd6b1-0d17-45fc-acea-86b955df5dfb?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/83c265f7-5fd0-47fe-a9d2-2c7383034a7f?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -240,7 +244,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:01:27 GMT + - Fri, 14 May 2021 05:19:26 GMT expires: - '-1' pragma: @@ -257,7 +261,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 69c25873-b513-4bf8-94f1-2470df904cb9 + - 90bdea39-804d-4ac8-a162-6d12b46cfb00 status: code: 200 message: OK @@ -271,30 +275,31 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipaddressd3db1381?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipaddressd3db1381?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"publicipaddressd3db1381\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipaddressd3db1381\"\ - ,\r\n \"etag\": \"W/\\\"8cb64b2e-2250-4724-a157-a791092df689\\\"\",\r\n \ - \ \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\"\ - : \"Succeeded\",\r\n \"resourceGuid\": \"262ed096-f874-4e7d-bfa8-15aaf9da9577\"\ - ,\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n \"publicIPAllocationMethod\"\ - : \"Dynamic\",\r\n \"idleTimeoutInMinutes\": 4,\r\n \"ipTags\": []\r\ - \n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n \"sku\"\ - : {\r\n \"name\": \"Basic\",\r\n \"tier\": \"Regional\"\r\n }\r\n}" + string: "{\r\n \"name\": \"publicipaddressd3db1381\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipaddressd3db1381\",\r\n + \ \"etag\": \"W/\\\"2ab9924a-34b1-4ce6-a0d9-b744cc8e0ae0\\\"\",\r\n \"location\": + \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"2bf9edab-e36c-4947-83f7-c3b75ce963b2\",\r\n \"publicIPAddressVersion\": + \"IPv4\",\r\n \"publicIPAllocationMethod\": \"Dynamic\",\r\n \"idleTimeoutInMinutes\": + 4,\r\n \"ipTags\": []\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n + \ \"sku\": {\r\n \"name\": \"Basic\",\r\n \"tier\": \"Regional\"\r\n + \ }\r\n}" headers: cache-control: - no-cache content-length: - - '720' + - '725' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:01:28 GMT + - Fri, 14 May 2021 05:19:26 GMT etag: - - W/"8cb64b2e-2250-4724-a157-a791092df689" + - W/"2ab9924a-34b1-4ce6-a0d9-b744cc8e0ae0" expires: - '-1' pragma: @@ -311,7 +316,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - ac3deabd-e63d-4316-bbd5-b0454e815bfc + - 7eb6f2e9-eff1-4c97-a905-3694e558c6e6 status: code: 200 message: OK @@ -325,30 +330,31 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipaddressd3db1381?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipaddressd3db1381?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"publicipaddressd3db1381\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipaddressd3db1381\"\ - ,\r\n \"etag\": \"W/\\\"8cb64b2e-2250-4724-a157-a791092df689\\\"\",\r\n \ - \ \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\"\ - : \"Succeeded\",\r\n \"resourceGuid\": \"262ed096-f874-4e7d-bfa8-15aaf9da9577\"\ - ,\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n \"publicIPAllocationMethod\"\ - : \"Dynamic\",\r\n \"idleTimeoutInMinutes\": 4,\r\n \"ipTags\": []\r\ - \n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n \"sku\"\ - : {\r\n \"name\": \"Basic\",\r\n \"tier\": \"Regional\"\r\n }\r\n}" + string: "{\r\n \"name\": \"publicipaddressd3db1381\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipaddressd3db1381\",\r\n + \ \"etag\": \"W/\\\"2ab9924a-34b1-4ce6-a0d9-b744cc8e0ae0\\\"\",\r\n \"location\": + \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"2bf9edab-e36c-4947-83f7-c3b75ce963b2\",\r\n \"publicIPAddressVersion\": + \"IPv4\",\r\n \"publicIPAllocationMethod\": \"Dynamic\",\r\n \"idleTimeoutInMinutes\": + 4,\r\n \"ipTags\": []\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n + \ \"sku\": {\r\n \"name\": \"Basic\",\r\n \"tier\": \"Regional\"\r\n + \ }\r\n}" headers: cache-control: - no-cache content-length: - - '720' + - '725' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:01:29 GMT + - Fri, 14 May 2021 05:19:26 GMT etag: - - W/"8cb64b2e-2250-4724-a157-a791092df689" + - W/"2ab9924a-34b1-4ce6-a0d9-b744cc8e0ae0" expires: - '-1' pragma: @@ -365,7 +371,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 26ac9ddb-88bb-420a-87f9-9577f7063342 + - 2525149b-2d56-406a-997e-c80bcca09d5b status: code: 200 message: OK @@ -379,31 +385,31 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPPrefixes/publicipprefixd3db1381?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPPrefixes/publicipprefixd3db1381?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"publicipprefixd3db1381\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPPrefixes/publicipprefixd3db1381\"\ - ,\r\n \"etag\": \"W/\\\"3e9ed74c-97f6-4b86-b607-6fcb4cdc274b\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/publicIPPrefixes\",\r\n \"location\": \"\ - westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"resourceGuid\": \"eb9e21be-4ebd-406c-b973-5d049d4b236f\",\r\n \ - \ \"prefixLength\": 30,\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n\ - \ \"ipPrefix\": \"40.86.190.168/30\",\r\n \"ipTags\": []\r\n },\r\n\ - \ \"sku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Regional\"\ - \r\n }\r\n}" + string: "{\r\n \"name\": \"publicipprefixd3db1381\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPPrefixes/publicipprefixd3db1381\",\r\n + \ \"etag\": \"W/\\\"83261008-49ef-40f9-8d49-c1fba55b4ec6\\\"\",\r\n \"type\": + \"Microsoft.Network/publicIPPrefixes\",\r\n \"location\": \"westus\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": + \"a15cff4e-84dd-4b2c-abe3-3dc7a143f1e6\",\r\n \"prefixLength\": 30,\r\n + \ \"publicIPAddressVersion\": \"IPv4\",\r\n \"ipPrefix\": \"40.83.130.0/30\",\r\n + \ \"ipTags\": []\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n + \ \"tier\": \"Regional\"\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '705' + - '708' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:01:29 GMT + - Fri, 14 May 2021 05:19:26 GMT etag: - - W/"3e9ed74c-97f6-4b86-b607-6fcb4cdc274b" + - W/"83261008-49ef-40f9-8d49-c1fba55b4ec6" expires: - '-1' pragma: @@ -420,7 +426,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 654c8905-8d2d-4aff-8aa3-d2b9d45a22ef + - f2a029c3-bdfb-4c39-a1c1-1e10f0226d9a status: code: 200 message: OK @@ -438,31 +444,32 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipaddressd3db1381?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipaddressd3db1381?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"publicipaddressd3db1381\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipaddressd3db1381\"\ - ,\r\n \"etag\": \"W/\\\"9a0f0aac-e741-4585-b82f-5374e030a73e\\\"\",\r\n \ - \ \"location\": \"eastus\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\ - \n \"tag2\": \"value2\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\"\ - : \"Succeeded\",\r\n \"resourceGuid\": \"262ed096-f874-4e7d-bfa8-15aaf9da9577\"\ - ,\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n \"publicIPAllocationMethod\"\ - : \"Dynamic\",\r\n \"idleTimeoutInMinutes\": 4,\r\n \"ipTags\": []\r\ - \n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n \"sku\"\ - : {\r\n \"name\": \"Basic\",\r\n \"tier\": \"Regional\"\r\n }\r\n}" + string: "{\r\n \"name\": \"publicipaddressd3db1381\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipaddressd3db1381\",\r\n + \ \"etag\": \"W/\\\"1893a330-524d-4488-9364-8de307f1671c\\\"\",\r\n \"location\": + \"eastus\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": + \"value2\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"2bf9edab-e36c-4947-83f7-c3b75ce963b2\",\r\n \"publicIPAddressVersion\": + \"IPv4\",\r\n \"publicIPAllocationMethod\": \"Dynamic\",\r\n \"idleTimeoutInMinutes\": + 4,\r\n \"ipTags\": []\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n + \ \"sku\": {\r\n \"name\": \"Basic\",\r\n \"tier\": \"Regional\"\r\n + \ }\r\n}" headers: azure-asyncnotification: - Enabled cache-control: - no-cache content-length: - - '784' + - '789' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:01:32 GMT + - Fri, 14 May 2021 05:19:26 GMT expires: - '-1' pragma: @@ -479,9 +486,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 76cc8a1b-5e65-4b64-a91c-1feb4a113178 + - 6e5d6ef8-784e-4524-8e24-b38fcd9e97a3 x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1197' status: code: 200 message: OK @@ -499,32 +506,32 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPPrefixes/publicipprefixd3db1381?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPPrefixes/publicipprefixd3db1381?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"publicipprefixd3db1381\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPPrefixes/publicipprefixd3db1381\"\ - ,\r\n \"etag\": \"W/\\\"8c3e4581-affe-478e-80a0-dac5aa1bffef\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/publicIPPrefixes\",\r\n \"location\": \"\ - westus\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"\ - value2\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"resourceGuid\": \"eb9e21be-4ebd-406c-b973-5d049d4b236f\",\r\n \ - \ \"prefixLength\": 30,\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n\ - \ \"ipPrefix\": \"40.86.190.168/30\",\r\n \"ipTags\": []\r\n },\r\n\ - \ \"sku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Regional\"\ - \r\n }\r\n}" + string: "{\r\n \"name\": \"publicipprefixd3db1381\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPPrefixes/publicipprefixd3db1381\",\r\n + \ \"etag\": \"W/\\\"6d8ffd64-0bec-4431-8cbc-eac882b8f00d\\\"\",\r\n \"type\": + \"Microsoft.Network/publicIPPrefixes\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"a15cff4e-84dd-4b2c-abe3-3dc7a143f1e6\",\r\n \"prefixLength\": + 30,\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n \"ipPrefix\": \"40.83.130.0/30\",\r\n + \ \"ipTags\": []\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n + \ \"tier\": \"Regional\"\r\n }\r\n}" headers: azure-asyncnotification: - Enabled cache-control: - no-cache content-length: - - '769' + - '772' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:01:34 GMT + - Fri, 14 May 2021 05:19:27 GMT expires: - '-1' pragma: @@ -541,9 +548,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 9a4d00ba-698c-427a-9351-16123e789669 + - 97991a3b-9e0d-4196-a27c-3780fd6d18d5 x-ms-ratelimit-remaining-subscription-writes: - - '1195' + - '1196' status: code: 200 message: OK @@ -559,9 +566,10 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipaddressd3db1381?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipaddressd3db1381?api-version=2021-02-01 response: body: string: '' @@ -569,17 +577,17 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/5824562b-7b30-4e23-8d56-f8ef99b73e48?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/84519d2b-1197-461c-9d87-7a6469d2c9eb?api-version=2021-02-01 cache-control: - no-cache content-length: - '0' date: - - Tue, 09 Mar 2021 06:01:35 GMT + - Fri, 14 May 2021 05:19:27 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/5824562b-7b30-4e23-8d56-f8ef99b73e48?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/84519d2b-1197-461c-9d87-7a6469d2c9eb?api-version=2021-02-01 pragma: - no-cache server: @@ -590,9 +598,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - e1506300-669d-4143-b85e-7a950b734cd3 + - 2336394b-5cfe-4124-8f77-314b3ade8410 x-ms-ratelimit-remaining-subscription-deletes: - - '14997' + - '14999' status: code: 202 message: Accepted @@ -606,9 +614,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/5824562b-7b30-4e23-8d56-f8ef99b73e48?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/84519d2b-1197-461c-9d87-7a6469d2c9eb?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -620,7 +629,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:01:45 GMT + - Fri, 14 May 2021 05:19:37 GMT expires: - '-1' pragma: @@ -637,7 +646,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - d6aadda4-6ae8-47e7-b5ea-4f174a24cc04 + - c51b9d62-94f8-4db6-8c34-a03fbd067b9f status: code: 200 message: OK @@ -653,9 +662,10 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPPrefixes/publicipprefixd3db1381?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPPrefixes/publicipprefixd3db1381?api-version=2021-02-01 response: body: string: '' @@ -663,17 +673,17 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/a9268095-7e6e-4be7-834e-2c6a88f678d2?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/9108c593-3b7e-428e-80b3-082c9aedfc52?api-version=2021-02-01 cache-control: - no-cache content-length: - '0' date: - - Tue, 09 Mar 2021 06:01:46 GMT + - Fri, 14 May 2021 05:19:37 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/a9268095-7e6e-4be7-834e-2c6a88f678d2?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/9108c593-3b7e-428e-80b3-082c9aedfc52?api-version=2021-02-01 pragma: - no-cache server: @@ -684,9 +694,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - ac1d7d06-bc03-44ab-8045-355e084e48e0 + - 6afb71d5-94df-4121-8ec3-1979c801fd31 x-ms-ratelimit-remaining-subscription-deletes: - - '14996' + - '14998' status: code: 202 message: Accepted @@ -700,9 +710,56 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/9108c593-3b7e-428e-80b3-082c9aedfc52?api-version=2021-02-01 + response: + body: + string: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '30' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 14 May 2021 05:19:47 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 4e763006-36bd-4c7b-81a8-8fc8ba745a15 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/a9268095-7e6e-4be7-834e-2c6a88f678d2?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/9108c593-3b7e-428e-80b3-082c9aedfc52?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -714,7 +771,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:01:56 GMT + - Fri, 14 May 2021 05:19:57 GMT expires: - '-1' pragma: @@ -731,7 +788,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 00f89e69-1ec9-4fef-881e-ec625c651abd + - a86dc3f3-8b2e-4e72-a9e4-e0e2be7de104 status: code: 200 message: OK diff --git a/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_load_balancer.test_network.yaml b/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_load_balancer.test_network.yaml index dfa3e94c0fb5..721d95d7c351 100644 --- a/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_load_balancer.test_network.yaml +++ b/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_load_balancer.test_network.yaml @@ -14,33 +14,33 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/public_ip_address_name?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/public_ip_address_name?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"public_ip_address_name\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/public_ip_address_name\"\ - ,\r\n \"etag\": \"W/\\\"6e164b2e-932f-40c6-8f22-72b1652199d0\\\"\",\r\n \ - \ \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\"\ - : \"Updating\",\r\n \"resourceGuid\": \"1a4f984d-487a-4790-9d1a-34d4bc6f7a3d\"\ - ,\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n \"publicIPAllocationMethod\"\ - : \"Static\",\r\n \"idleTimeoutInMinutes\": 10,\r\n \"ipTags\": []\r\ - \n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n \"sku\"\ - : {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Regional\"\r\n }\r\n\ - }" + string: "{\r\n \"name\": \"public_ip_address_name\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/public_ip_address_name\",\r\n + \ \"etag\": \"W/\\\"520dc5a9-4629-4e88-8d08-b3242626f60d\\\"\",\r\n \"location\": + \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"resourceGuid\": \"c2a5d3a0-4d16-4294-b573-311a25cd3ed6\",\r\n \"publicIPAddressVersion\": + \"IPv4\",\r\n \"publicIPAllocationMethod\": \"Static\",\r\n \"idleTimeoutInMinutes\": + 10,\r\n \"ipTags\": []\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n + \ \"sku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Regional\"\r\n + \ }\r\n}" headers: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/4b693a78-da88-4fb1-8467-2432e75f3d1a?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/668a3ca6-71c1-4f44-8444-27587ae485a4?api-version=2021-02-01 cache-control: - no-cache content-length: - - '720' + - '725' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:02:15 GMT + - Fri, 14 May 2021 05:19:59 GMT expires: - '-1' pragma: @@ -53,7 +53,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - c0c17502-18db-42dc-b87a-9274f49a2d79 + - 8bbd7cae-ca3b-4066-8f5b-d0e6de45d6e5 x-ms-ratelimit-remaining-subscription-writes: - '1199' status: @@ -69,9 +69,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/4b693a78-da88-4fb1-8467-2432e75f3d1a?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/668a3ca6-71c1-4f44-8444-27587ae485a4?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -83,7 +84,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:02:16 GMT + - Fri, 14 May 2021 05:20:00 GMT expires: - '-1' pragma: @@ -100,7 +101,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 6b461874-a773-4eef-807f-0d4dd768a504 + - e655e5e9-2caf-4baf-b05b-b5e81d84e5b6 status: code: 200 message: OK @@ -114,31 +115,31 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/public_ip_address_name?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/public_ip_address_name?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"public_ip_address_name\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/public_ip_address_name\"\ - ,\r\n \"etag\": \"W/\\\"cde58d33-3f9c-40f7-8e1f-57ef3fa83567\\\"\",\r\n \ - \ \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\"\ - : \"Succeeded\",\r\n \"resourceGuid\": \"1a4f984d-487a-4790-9d1a-34d4bc6f7a3d\"\ - ,\r\n \"ipAddress\": \"40.117.139.97\",\r\n \"publicIPAddressVersion\"\ - : \"IPv4\",\r\n \"publicIPAllocationMethod\": \"Static\",\r\n \"idleTimeoutInMinutes\"\ - : 10,\r\n \"ipTags\": []\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\"\ - ,\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Regional\"\ - \r\n }\r\n}" + string: "{\r\n \"name\": \"public_ip_address_name\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/public_ip_address_name\",\r\n + \ \"etag\": \"W/\\\"22071cb6-fb70-4930-8817-c318c8e61a67\\\"\",\r\n \"location\": + \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"c2a5d3a0-4d16-4294-b573-311a25cd3ed6\",\r\n \"ipAddress\": + \"52.142.52.228\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n \"publicIPAllocationMethod\": + \"Static\",\r\n \"idleTimeoutInMinutes\": 10,\r\n \"ipTags\": []\r\n + \ },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n \"sku\": + {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Regional\"\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '756' + - '761' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:02:16 GMT + - Fri, 14 May 2021 05:20:00 GMT etag: - - W/"cde58d33-3f9c-40f7-8e1f-57ef3fa83567" + - W/"22071cb6-fb70-4930-8817-c318c8e61a67" expires: - '-1' pragma: @@ -155,7 +156,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - e8a5e294-0eac-4eda-b989-01cc63e69eb9 + - b0d6e75a-5b1a-4283-82e1-19ce3ea75379 status: code: 200 message: OK @@ -184,91 +185,92 @@ interactions: Connection: - keep-alive Content-Length: - - '2306' + - '2336' Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"myLoadBalancer\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer\"\ - ,\r\n \"etag\": \"W/\\\"66cd9e0e-83d5-43ea-a335-832f4a2b7c42\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/loadBalancers\",\r\n \"location\": \"eastus\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n\ - \ \"resourceGuid\": \"c635f451-2d62-41fd-b025-452047965e64\",\r\n \"\ - frontendIPConfigurations\": [\r\n {\r\n \"name\": \"myFrontendIpconfiguration\"\ - ,\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/frontendIPConfigurations/myFrontendIpconfiguration\"\ - ,\r\n \"etag\": \"W/\\\"66cd9e0e-83d5-43ea-a335-832f4a2b7c42\\\"\"\ - ,\r\n \"type\": \"Microsoft.Network/loadBalancers/frontendIPConfigurations\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"\ - publicIPAddress\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/public_ip_address_name\"\ - \r\n },\r\n \"loadBalancingRules\": [\r\n {\r\ - \n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/loadBalancingRules/myLoadBalancingRule\"\ - \r\n }\r\n ],\r\n \"outboundRules\": [\r\n \ - \ {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/outboundRules/myOutboundRule\"\ - \r\n }\r\n ],\r\n \"privateIPAddressVersion\"\ - : \"IPv4\"\r\n }\r\n }\r\n ],\r\n \"backendAddressPools\"\ - : [\r\n {\r\n \"name\": \"myBackendAddressPool\",\r\n \"\ - id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/backendAddressPools/myBackendAddressPool\"\ - ,\r\n \"etag\": \"W/\\\"66cd9e0e-83d5-43ea-a335-832f4a2b7c42\\\"\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"loadBalancerBackendAddresses\": [],\r\n \"outboundRules\"\ - : [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/outboundRules/myOutboundRule\"\ - \r\n }\r\n ],\r\n \"loadBalancingRules\": [\r\ - \n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/loadBalancingRules/myLoadBalancingRule\"\ - \r\n }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/backendAddressPools\"\ - \r\n }\r\n ],\r\n \"loadBalancingRules\": [\r\n {\r\n \ - \ \"name\": \"myLoadBalancingRule\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/loadBalancingRules/myLoadBalancingRule\"\ - ,\r\n \"etag\": \"W/\\\"66cd9e0e-83d5-43ea-a335-832f4a2b7c42\\\"\"\ - ,\r\n \"type\": \"Microsoft.Network/loadBalancers/loadBalancingRules\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/frontendIPConfigurations/myFrontendIpconfiguration\"\ - \r\n },\r\n \"frontendPort\": 80,\r\n \"backendPort\"\ - : 80,\r\n \"enableFloatingIP\": true,\r\n \"idleTimeoutInMinutes\"\ - : 15,\r\n \"protocol\": \"Tcp\",\r\n \"enableDestinationServiceEndpoint\"\ - : false,\r\n \"enableTcpReset\": false,\r\n \"allowBackendPortConflict\"\ - : false,\r\n \"loadDistribution\": \"Default\",\r\n \"disableOutboundSnat\"\ - : true,\r\n \"backendAddressPool\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/backendAddressPools/myBackendAddressPool\"\ - \r\n },\r\n \"probe\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/probes/myProbe\"\ - \r\n }\r\n }\r\n }\r\n ],\r\n \"probes\": [\r\n\ - \ {\r\n \"name\": \"myProbe\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/probes/myProbe\"\ - ,\r\n \"etag\": \"W/\\\"66cd9e0e-83d5-43ea-a335-832f4a2b7c42\\\"\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"protocol\": \"Http\",\r\n \"port\": 80,\r\n \ - \ \"requestPath\": \"healthcheck.aspx\",\r\n \"intervalInSeconds\"\ - : 15,\r\n \"numberOfProbes\": 2,\r\n \"loadBalancingRules\"\ - : [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/loadBalancingRules/myLoadBalancingRule\"\ - \r\n }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/probes\"\ - \r\n }\r\n ],\r\n \"inboundNatRules\": [],\r\n \"outboundRules\"\ - : [\r\n {\r\n \"name\": \"myOutboundRule\",\r\n \"id\"\ - : \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/outboundRules/myOutboundRule\"\ - ,\r\n \"etag\": \"W/\\\"66cd9e0e-83d5-43ea-a335-832f4a2b7c42\\\"\"\ - ,\r\n \"type\": \"Microsoft.Network/loadBalancers/outboundRules\",\r\ - \n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"allocatedOutboundPorts\": 1024,\r\n \"protocol\"\ - : \"All\",\r\n \"enableTcpReset\": false,\r\n \"idleTimeoutInMinutes\"\ - : 4,\r\n \"backendAddressPool\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/backendAddressPools/myBackendAddressPool\"\ - \r\n },\r\n \"frontendIPConfigurations\": [\r\n \ - \ {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/frontendIPConfigurations/myFrontendIpconfiguration\"\ - \r\n }\r\n ]\r\n }\r\n }\r\n ],\r\n \ - \ \"inboundNatPools\": []\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\ - ,\r\n \"tier\": \"Regional\"\r\n }\r\n}" + string: "{\r\n \"name\": \"myLoadBalancer\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer\",\r\n + \ \"etag\": \"W/\\\"26f52133-eba9-4647-b6f8-5be12dd1bd92\\\"\",\r\n \"type\": + \"Microsoft.Network/loadBalancers\",\r\n \"location\": \"eastus\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"ff72af9e-e88e-4df1-b8f5-e6fe6f6cdf95\",\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"myFrontendIpconfiguration\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/frontendIPConfigurations/myFrontendIpconfiguration\",\r\n + \ \"etag\": \"W/\\\"26f52133-eba9-4647-b6f8-5be12dd1bd92\\\"\",\r\n + \ \"type\": \"Microsoft.Network/loadBalancers/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/public_ip_address_name\"\r\n + \ },\r\n \"loadBalancingRules\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/loadBalancingRules/myLoadBalancingRule\"\r\n + \ }\r\n ],\r\n \"outboundRules\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/outboundRules/myOutboundRule\"\r\n + \ }\r\n ],\r\n \"privateIPAddressVersion\": \"IPv4\"\r\n + \ }\r\n }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n + \ \"name\": \"myBackendAddressPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/backendAddressPools/myBackendAddressPool\",\r\n + \ \"etag\": \"W/\\\"26f52133-eba9-4647-b6f8-5be12dd1bd92\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"loadBalancerBackendAddresses\": [],\r\n \"outboundRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/outboundRules/myOutboundRule\"\r\n + \ }\r\n ],\r\n \"loadBalancingRules\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/loadBalancingRules/myLoadBalancingRule\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadBalancingRules\": [\r\n {\r\n \"name\": + \"myLoadBalancingRule\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/loadBalancingRules/myLoadBalancingRule\",\r\n + \ \"etag\": \"W/\\\"26f52133-eba9-4647-b6f8-5be12dd1bd92\\\"\",\r\n + \ \"type\": \"Microsoft.Network/loadBalancers/loadBalancingRules\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/frontendIPConfigurations/myFrontendIpconfiguration\"\r\n + \ },\r\n \"frontendPort\": 80,\r\n \"backendPort\": + 80,\r\n \"enableFloatingIP\": true,\r\n \"idleTimeoutInMinutes\": + 15,\r\n \"protocol\": \"Tcp\",\r\n \"enableDestinationServiceEndpoint\": + false,\r\n \"enableTcpReset\": false,\r\n \"allowBackendPortConflict\": + false,\r\n \"loadDistribution\": \"Default\",\r\n \"disableOutboundSnat\": + true,\r\n \"backendAddressPool\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/backendAddressPools/myBackendAddressPool\"\r\n + \ },\r\n \"backendAddressPools\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/backendAddressPools/myBackendAddressPool\"\r\n + \ }\r\n ],\r\n \"probe\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/probes/myProbe\"\r\n + \ }\r\n }\r\n }\r\n ],\r\n \"probes\": [\r\n {\r\n + \ \"name\": \"myProbe\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/probes/myProbe\",\r\n + \ \"etag\": \"W/\\\"26f52133-eba9-4647-b6f8-5be12dd1bd92\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"protocol\": \"Http\",\r\n \"port\": 80,\r\n \"requestPath\": + \"healthcheck.aspx\",\r\n \"intervalInSeconds\": 15,\r\n \"numberOfProbes\": + 2,\r\n \"loadBalancingRules\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/loadBalancingRules/myLoadBalancingRule\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/probes\"\r\n + \ }\r\n ],\r\n \"inboundNatRules\": [],\r\n \"outboundRules\": + [\r\n {\r\n \"name\": \"myOutboundRule\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/outboundRules/myOutboundRule\",\r\n + \ \"etag\": \"W/\\\"26f52133-eba9-4647-b6f8-5be12dd1bd92\\\"\",\r\n + \ \"type\": \"Microsoft.Network/loadBalancers/outboundRules\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"allocatedOutboundPorts\": + 1024,\r\n \"protocol\": \"All\",\r\n \"enableTcpReset\": + false,\r\n \"idleTimeoutInMinutes\": 4,\r\n \"backendAddressPool\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/backendAddressPools/myBackendAddressPool\"\r\n + \ },\r\n \"frontendIPConfigurations\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/frontendIPConfigurations/myFrontendIpconfiguration\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"inboundNatPools\": + []\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": + \"Regional\"\r\n }\r\n}" headers: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/565b1758-6508-4050-ac0c-c3ae216b385b?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/b60f3034-09b9-4b00-9769-37561ba5d68b?api-version=2021-02-01 cache-control: - no-cache content-length: - - '7776' + - '8210' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:02:21 GMT + - Fri, 14 May 2021 05:20:00 GMT expires: - '-1' pragma: @@ -281,7 +283,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 1ccb065a-5266-4c78-96f7-eb9f1d2b200c + - f412d347-93ea-47a3-8ea6-c0ad7332a924 x-ms-ratelimit-remaining-subscription-writes: - '1198' status: @@ -297,9 +299,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/565b1758-6508-4050-ac0c-c3ae216b385b?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/b60f3034-09b9-4b00-9769-37561ba5d68b?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -311,7 +314,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:02:51 GMT + - Fri, 14 May 2021 05:20:31 GMT expires: - '-1' pragma: @@ -328,7 +331,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - cd4601f7-9bcc-469d-8c29-a42a8f9cc36f + - 87179fe8-b8ae-42cb-b2f3-aa19b3650f0a status: code: 200 message: OK @@ -342,86 +345,86 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"myLoadBalancer\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer\"\ - ,\r\n \"etag\": \"W/\\\"66cd9e0e-83d5-43ea-a335-832f4a2b7c42\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/loadBalancers\",\r\n \"location\": \"eastus\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n\ - \ \"resourceGuid\": \"c635f451-2d62-41fd-b025-452047965e64\",\r\n \"\ - frontendIPConfigurations\": [\r\n {\r\n \"name\": \"myFrontendIpconfiguration\"\ - ,\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/frontendIPConfigurations/myFrontendIpconfiguration\"\ - ,\r\n \"etag\": \"W/\\\"66cd9e0e-83d5-43ea-a335-832f4a2b7c42\\\"\"\ - ,\r\n \"type\": \"Microsoft.Network/loadBalancers/frontendIPConfigurations\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"\ - publicIPAddress\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/public_ip_address_name\"\ - \r\n },\r\n \"loadBalancingRules\": [\r\n {\r\ - \n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/loadBalancingRules/myLoadBalancingRule\"\ - \r\n }\r\n ],\r\n \"outboundRules\": [\r\n \ - \ {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/outboundRules/myOutboundRule\"\ - \r\n }\r\n ],\r\n \"privateIPAddressVersion\"\ - : \"IPv4\"\r\n },\r\n \"zones\": [\r\n \"1\",\r\n \ - \ \"2\",\r\n \"3\"\r\n ]\r\n }\r\n ],\r\n\ - \ \"backendAddressPools\": [\r\n {\r\n \"name\": \"myBackendAddressPool\"\ - ,\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/backendAddressPools/myBackendAddressPool\"\ - ,\r\n \"etag\": \"W/\\\"66cd9e0e-83d5-43ea-a335-832f4a2b7c42\\\"\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"loadBalancerBackendAddresses\": [],\r\n \"outboundRules\"\ - : [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/outboundRules/myOutboundRule\"\ - \r\n }\r\n ],\r\n \"loadBalancingRules\": [\r\ - \n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/loadBalancingRules/myLoadBalancingRule\"\ - \r\n }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/backendAddressPools\"\ - \r\n }\r\n ],\r\n \"loadBalancingRules\": [\r\n {\r\n \ - \ \"name\": \"myLoadBalancingRule\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/loadBalancingRules/myLoadBalancingRule\"\ - ,\r\n \"etag\": \"W/\\\"66cd9e0e-83d5-43ea-a335-832f4a2b7c42\\\"\"\ - ,\r\n \"type\": \"Microsoft.Network/loadBalancers/loadBalancingRules\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/frontendIPConfigurations/myFrontendIpconfiguration\"\ - \r\n },\r\n \"frontendPort\": 80,\r\n \"backendPort\"\ - : 80,\r\n \"enableFloatingIP\": true,\r\n \"idleTimeoutInMinutes\"\ - : 15,\r\n \"protocol\": \"Tcp\",\r\n \"enableDestinationServiceEndpoint\"\ - : false,\r\n \"enableTcpReset\": false,\r\n \"allowBackendPortConflict\"\ - : false,\r\n \"loadDistribution\": \"Default\",\r\n \"disableOutboundSnat\"\ - : true,\r\n \"backendAddressPool\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/backendAddressPools/myBackendAddressPool\"\ - \r\n },\r\n \"probe\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/probes/myProbe\"\ - \r\n }\r\n }\r\n }\r\n ],\r\n \"probes\": [\r\n\ - \ {\r\n \"name\": \"myProbe\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/probes/myProbe\"\ - ,\r\n \"etag\": \"W/\\\"66cd9e0e-83d5-43ea-a335-832f4a2b7c42\\\"\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"protocol\": \"Http\",\r\n \"port\": 80,\r\n \ - \ \"requestPath\": \"healthcheck.aspx\",\r\n \"intervalInSeconds\"\ - : 15,\r\n \"numberOfProbes\": 2,\r\n \"loadBalancingRules\"\ - : [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/loadBalancingRules/myLoadBalancingRule\"\ - \r\n }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/probes\"\ - \r\n }\r\n ],\r\n \"inboundNatRules\": [],\r\n \"outboundRules\"\ - : [\r\n {\r\n \"name\": \"myOutboundRule\",\r\n \"id\"\ - : \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/outboundRules/myOutboundRule\"\ - ,\r\n \"etag\": \"W/\\\"66cd9e0e-83d5-43ea-a335-832f4a2b7c42\\\"\"\ - ,\r\n \"type\": \"Microsoft.Network/loadBalancers/outboundRules\",\r\ - \n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"allocatedOutboundPorts\": 1024,\r\n \"protocol\"\ - : \"All\",\r\n \"enableTcpReset\": false,\r\n \"idleTimeoutInMinutes\"\ - : 4,\r\n \"backendAddressPool\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/backendAddressPools/myBackendAddressPool\"\ - \r\n },\r\n \"frontendIPConfigurations\": [\r\n \ - \ {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/frontendIPConfigurations/myFrontendIpconfiguration\"\ - \r\n }\r\n ]\r\n }\r\n }\r\n ],\r\n \ - \ \"inboundNatPools\": []\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\ - ,\r\n \"tier\": \"Regional\"\r\n }\r\n}" + string: "{\r\n \"name\": \"myLoadBalancer\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer\",\r\n + \ \"etag\": \"W/\\\"26f52133-eba9-4647-b6f8-5be12dd1bd92\\\"\",\r\n \"type\": + \"Microsoft.Network/loadBalancers\",\r\n \"location\": \"eastus\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"ff72af9e-e88e-4df1-b8f5-e6fe6f6cdf95\",\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"myFrontendIpconfiguration\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/frontendIPConfigurations/myFrontendIpconfiguration\",\r\n + \ \"etag\": \"W/\\\"26f52133-eba9-4647-b6f8-5be12dd1bd92\\\"\",\r\n + \ \"type\": \"Microsoft.Network/loadBalancers/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/public_ip_address_name\"\r\n + \ },\r\n \"loadBalancingRules\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/loadBalancingRules/myLoadBalancingRule\"\r\n + \ }\r\n ],\r\n \"outboundRules\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/outboundRules/myOutboundRule\"\r\n + \ }\r\n ],\r\n \"privateIPAddressVersion\": \"IPv4\"\r\n + \ }\r\n }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n + \ \"name\": \"myBackendAddressPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/backendAddressPools/myBackendAddressPool\",\r\n + \ \"etag\": \"W/\\\"26f52133-eba9-4647-b6f8-5be12dd1bd92\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"loadBalancerBackendAddresses\": [],\r\n \"outboundRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/outboundRules/myOutboundRule\"\r\n + \ }\r\n ],\r\n \"loadBalancingRules\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/loadBalancingRules/myLoadBalancingRule\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadBalancingRules\": [\r\n {\r\n \"name\": + \"myLoadBalancingRule\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/loadBalancingRules/myLoadBalancingRule\",\r\n + \ \"etag\": \"W/\\\"26f52133-eba9-4647-b6f8-5be12dd1bd92\\\"\",\r\n + \ \"type\": \"Microsoft.Network/loadBalancers/loadBalancingRules\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/frontendIPConfigurations/myFrontendIpconfiguration\"\r\n + \ },\r\n \"frontendPort\": 80,\r\n \"backendPort\": + 80,\r\n \"enableFloatingIP\": true,\r\n \"idleTimeoutInMinutes\": + 15,\r\n \"protocol\": \"Tcp\",\r\n \"enableDestinationServiceEndpoint\": + false,\r\n \"enableTcpReset\": false,\r\n \"allowBackendPortConflict\": + false,\r\n \"loadDistribution\": \"Default\",\r\n \"disableOutboundSnat\": + true,\r\n \"backendAddressPool\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/backendAddressPools/myBackendAddressPool\"\r\n + \ },\r\n \"backendAddressPools\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/backendAddressPools/myBackendAddressPool\"\r\n + \ }\r\n ],\r\n \"probe\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/probes/myProbe\"\r\n + \ }\r\n }\r\n }\r\n ],\r\n \"probes\": [\r\n {\r\n + \ \"name\": \"myProbe\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/probes/myProbe\",\r\n + \ \"etag\": \"W/\\\"26f52133-eba9-4647-b6f8-5be12dd1bd92\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"protocol\": \"Http\",\r\n \"port\": 80,\r\n \"requestPath\": + \"healthcheck.aspx\",\r\n \"intervalInSeconds\": 15,\r\n \"numberOfProbes\": + 2,\r\n \"loadBalancingRules\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/loadBalancingRules/myLoadBalancingRule\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/probes\"\r\n + \ }\r\n ],\r\n \"inboundNatRules\": [],\r\n \"outboundRules\": + [\r\n {\r\n \"name\": \"myOutboundRule\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/outboundRules/myOutboundRule\",\r\n + \ \"etag\": \"W/\\\"26f52133-eba9-4647-b6f8-5be12dd1bd92\\\"\",\r\n + \ \"type\": \"Microsoft.Network/loadBalancers/outboundRules\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"allocatedOutboundPorts\": + 1024,\r\n \"protocol\": \"All\",\r\n \"enableTcpReset\": + false,\r\n \"idleTimeoutInMinutes\": 4,\r\n \"backendAddressPool\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/backendAddressPools/myBackendAddressPool\"\r\n + \ },\r\n \"frontendIPConfigurations\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/frontendIPConfigurations/myFrontendIpconfiguration\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"inboundNatPools\": + []\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": + \"Regional\"\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '7855' + - '8210' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:02:51 GMT + - Fri, 14 May 2021 05:20:31 GMT etag: - - W/"66cd9e0e-83d5-43ea-a335-832f4a2b7c42" + - W/"26f52133-eba9-4647-b6f8-5be12dd1bd92" expires: - '-1' pragma: @@ -438,7 +441,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - c7ce1d0a-ad31-4bca-8f14-2ac7c16c6bf4 + - 95be95d1-716f-4634-a97b-dd0615e98567 status: code: 200 message: OK @@ -454,36 +457,36 @@ interactions: Connection: - keep-alive Content-Length: - - '446' + - '451' Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/inboundNatRules/myInboundNatRule?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/inboundNatRules/myInboundNatRule?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"myInboundNatRule\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/inboundNatRules/myInboundNatRule\"\ - ,\r\n \"etag\": \"W/\\\"392cb45b-585b-4948-8d6c-0392dca42b9d\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/loadBalancers/inboundNatRules\",\r\n \"properties\"\ - : {\r\n \"provisioningState\": \"Succeeded\",\r\n \"frontendIPConfiguration\"\ - : {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/frontendIPConfigurations/myFrontendIpconfiguration\"\ - \r\n },\r\n \"frontendPort\": 3390,\r\n \"backendPort\": 3389,\r\n\ - \ \"enableFloatingIP\": false,\r\n \"idleTimeoutInMinutes\": 4,\r\n\ - \ \"protocol\": \"Tcp\",\r\n \"enableDestinationServiceEndpoint\": false,\r\ - \n \"enableTcpReset\": false,\r\n \"allowBackendPortConflict\": false\r\ - \n }\r\n}" + string: "{\r\n \"name\": \"myInboundNatRule\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/inboundNatRules/myInboundNatRule\",\r\n + \ \"etag\": \"W/\\\"422d5035-a3e8-4c93-988f-1463a67338d8\\\"\",\r\n \"type\": + \"Microsoft.Network/loadBalancers/inboundNatRules\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"frontendIPConfiguration\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/frontendIPConfigurations/myFrontendIpconfiguration\"\r\n + \ },\r\n \"frontendPort\": 3390,\r\n \"backendPort\": 3389,\r\n \"enableFloatingIP\": + false,\r\n \"idleTimeoutInMinutes\": 4,\r\n \"protocol\": \"Tcp\",\r\n + \ \"enableDestinationServiceEndpoint\": false,\r\n \"enableTcpReset\": + false,\r\n \"allowBackendPortConflict\": false\r\n }\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3c3cebd1-69ce-4b95-93f1-8c1edf9d3f3d?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/ed64a042-7e76-41a8-b134-f0b654335f69?api-version=2021-02-01 cache-control: - no-cache content-length: - - '1028' + - '1038' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:02:52 GMT + - Fri, 14 May 2021 05:20:31 GMT expires: - '-1' pragma: @@ -496,7 +499,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 29933c68-678a-4336-9793-1d926b2f222b + - 212bcfa8-36d6-4250-8ff7-fb8081605aac x-ms-ratelimit-remaining-subscription-writes: - '1197' status: @@ -512,9 +515,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3c3cebd1-69ce-4b95-93f1-8c1edf9d3f3d?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/ed64a042-7e76-41a8-b134-f0b654335f69?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -526,7 +530,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:03:23 GMT + - Fri, 14 May 2021 05:21:01 GMT expires: - '-1' pragma: @@ -543,7 +547,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 756ef79a-c2e8-4d13-b941-ed247a1e7b1a + - 947f94ed-8833-492f-805b-c871c821e01e status: code: 200 message: OK @@ -557,32 +561,32 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/inboundNatRules/myInboundNatRule?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/inboundNatRules/myInboundNatRule?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"myInboundNatRule\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/inboundNatRules/myInboundNatRule\"\ - ,\r\n \"etag\": \"W/\\\"392cb45b-585b-4948-8d6c-0392dca42b9d\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/loadBalancers/inboundNatRules\",\r\n \"properties\"\ - : {\r\n \"provisioningState\": \"Succeeded\",\r\n \"frontendIPConfiguration\"\ - : {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/frontendIPConfigurations/myFrontendIpconfiguration\"\ - \r\n },\r\n \"frontendPort\": 3390,\r\n \"backendPort\": 3389,\r\n\ - \ \"enableFloatingIP\": false,\r\n \"idleTimeoutInMinutes\": 4,\r\n\ - \ \"protocol\": \"Tcp\",\r\n \"enableDestinationServiceEndpoint\": false,\r\ - \n \"enableTcpReset\": false,\r\n \"allowBackendPortConflict\": false\r\ - \n }\r\n}" + string: "{\r\n \"name\": \"myInboundNatRule\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/inboundNatRules/myInboundNatRule\",\r\n + \ \"etag\": \"W/\\\"422d5035-a3e8-4c93-988f-1463a67338d8\\\"\",\r\n \"type\": + \"Microsoft.Network/loadBalancers/inboundNatRules\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"frontendIPConfiguration\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/frontendIPConfigurations/myFrontendIpconfiguration\"\r\n + \ },\r\n \"frontendPort\": 3390,\r\n \"backendPort\": 3389,\r\n \"enableFloatingIP\": + false,\r\n \"idleTimeoutInMinutes\": 4,\r\n \"protocol\": \"Tcp\",\r\n + \ \"enableDestinationServiceEndpoint\": false,\r\n \"enableTcpReset\": + false,\r\n \"allowBackendPortConflict\": false\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '1028' + - '1038' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:03:23 GMT + - Fri, 14 May 2021 05:21:01 GMT etag: - - W/"392cb45b-585b-4948-8d6c-0392dca42b9d" + - W/"422d5035-a3e8-4c93-988f-1463a67338d8" expires: - '-1' pragma: @@ -599,7 +603,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 680dcfa2-f562-4feb-a0f7-f8da139f0f3a + - b28b8398-2945-4e35-8f31-86609eac310d status: code: 200 message: OK @@ -613,36 +617,34 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/frontendIPConfigurations/myFrontendIpconfiguration?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/frontendIPConfigurations/myFrontendIpconfiguration?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"myFrontendIpconfiguration\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/frontendIPConfigurations/myFrontendIpconfiguration\"\ - ,\r\n \"etag\": \"W/\\\"392cb45b-585b-4948-8d6c-0392dca42b9d\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/loadBalancers/frontendIPConfigurations\",\r\ - \n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ - \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\":\ - \ {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/public_ip_address_name\"\ - \r\n },\r\n \"loadBalancingRules\": [\r\n {\r\n \"id\":\ - \ \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/loadBalancingRules/myLoadBalancingRule\"\ - \r\n }\r\n ],\r\n \"inboundNatRules\": [\r\n {\r\n \ - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/inboundNatRules/myInboundNatRule\"\ - \r\n }\r\n ],\r\n \"outboundRules\": [\r\n {\r\n \"\ - id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/outboundRules/myOutboundRule\"\ - \r\n }\r\n ],\r\n \"privateIPAddressVersion\": \"IPv4\"\r\n }\r\ - \n}" + string: "{\r\n \"name\": \"myFrontendIpconfiguration\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/frontendIPConfigurations/myFrontendIpconfiguration\",\r\n + \ \"etag\": \"W/\\\"422d5035-a3e8-4c93-988f-1463a67338d8\\\"\",\r\n \"type\": + \"Microsoft.Network/loadBalancers/frontendIPConfigurations\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"privateIPAllocationMethod\": + \"Dynamic\",\r\n \"publicIPAddress\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/public_ip_address_name\"\r\n + \ },\r\n \"loadBalancingRules\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/loadBalancingRules/myLoadBalancingRule\"\r\n + \ }\r\n ],\r\n \"inboundNatRules\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/inboundNatRules/myInboundNatRule\"\r\n + \ }\r\n ],\r\n \"outboundRules\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/outboundRules/myOutboundRule\"\r\n + \ }\r\n ],\r\n \"privateIPAddressVersion\": \"IPv4\"\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '1752' + - '1777' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:03:24 GMT + - Fri, 14 May 2021 05:21:01 GMT etag: - - W/"392cb45b-585b-4948-8d6c-0392dca42b9d" + - W/"422d5035-a3e8-4c93-988f-1463a67338d8" expires: - '-1' pragma: @@ -659,7 +661,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 5aac0e36-fd86-4675-a9cc-96ae801acf4f + - 09caaa6c-5ed5-4af3-baf3-cdecc0166511 status: code: 200 message: OK @@ -673,31 +675,30 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/backendAddressPools/myBackendAddressPool?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/backendAddressPools/myBackendAddressPool?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"myBackendAddressPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/backendAddressPools/myBackendAddressPool\"\ - ,\r\n \"etag\": \"W/\\\"392cb45b-585b-4948-8d6c-0392dca42b9d\\\"\",\r\n \ - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\ - loadBalancerBackendAddresses\": [],\r\n \"outboundRules\": [\r\n {\r\ - \n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/outboundRules/myOutboundRule\"\ - \r\n }\r\n ],\r\n \"loadBalancingRules\": [\r\n {\r\n \ - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/loadBalancingRules/myLoadBalancingRule\"\ - \r\n }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/backendAddressPools\"\ - \r\n}" + string: "{\r\n \"name\": \"myBackendAddressPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/backendAddressPools/myBackendAddressPool\",\r\n + \ \"etag\": \"W/\\\"422d5035-a3e8-4c93-988f-1463a67338d8\\\"\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"loadBalancerBackendAddresses\": + [],\r\n \"outboundRules\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/outboundRules/myOutboundRule\"\r\n + \ }\r\n ],\r\n \"loadBalancingRules\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/loadBalancingRules/myLoadBalancingRule\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/backendAddressPools\"\r\n}" headers: cache-control: - no-cache content-length: - - '1125' + - '1140' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:03:24 GMT + - Fri, 14 May 2021 05:21:01 GMT etag: - - W/"392cb45b-585b-4948-8d6c-0392dca42b9d" + - W/"422d5035-a3e8-4c93-988f-1463a67338d8" expires: - '-1' pragma: @@ -714,7 +715,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 895a4eb2-dc43-4736-9565-c2bed2fbd678 + - 5ca43234-db4e-4771-9e8e-80ff928f3bd0 status: code: 200 message: OK @@ -728,35 +729,37 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/loadBalancingRules/myLoadBalancingRule?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/loadBalancingRules/myLoadBalancingRule?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"myLoadBalancingRule\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/loadBalancingRules/myLoadBalancingRule\"\ - ,\r\n \"etag\": \"W/\\\"392cb45b-585b-4948-8d6c-0392dca42b9d\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/loadBalancers/loadBalancingRules\",\r\n \"\ - properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"frontendIPConfiguration\"\ - : {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/frontendIPConfigurations/myFrontendIpconfiguration\"\ - \r\n },\r\n \"frontendPort\": 80,\r\n \"backendPort\": 80,\r\n \ - \ \"enableFloatingIP\": true,\r\n \"idleTimeoutInMinutes\": 15,\r\n \ - \ \"protocol\": \"Tcp\",\r\n \"enableDestinationServiceEndpoint\": false,\r\ - \n \"enableTcpReset\": false,\r\n \"allowBackendPortConflict\": false,\r\ - \n \"loadDistribution\": \"Default\",\r\n \"disableOutboundSnat\": true,\r\ - \n \"backendAddressPool\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/backendAddressPools/myBackendAddressPool\"\ - \r\n },\r\n \"probe\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/probes/myProbe\"\ - \r\n }\r\n }\r\n}" + string: "{\r\n \"name\": \"myLoadBalancingRule\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/loadBalancingRules/myLoadBalancingRule\",\r\n + \ \"etag\": \"W/\\\"422d5035-a3e8-4c93-988f-1463a67338d8\\\"\",\r\n \"type\": + \"Microsoft.Network/loadBalancers/loadBalancingRules\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"frontendIPConfiguration\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/frontendIPConfigurations/myFrontendIpconfiguration\"\r\n + \ },\r\n \"frontendPort\": 80,\r\n \"backendPort\": 80,\r\n \"enableFloatingIP\": + true,\r\n \"idleTimeoutInMinutes\": 15,\r\n \"protocol\": \"Tcp\",\r\n + \ \"enableDestinationServiceEndpoint\": false,\r\n \"enableTcpReset\": + false,\r\n \"allowBackendPortConflict\": false,\r\n \"loadDistribution\": + \"Default\",\r\n \"disableOutboundSnat\": true,\r\n \"backendAddressPool\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/backendAddressPools/myBackendAddressPool\"\r\n + \ },\r\n \"backendAddressPools\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/backendAddressPools/myBackendAddressPool\"\r\n + \ }\r\n ],\r\n \"probe\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/probes/myProbe\"\r\n + \ }\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '1653' + - '1992' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:03:25 GMT + - Fri, 14 May 2021 05:21:01 GMT etag: - - W/"392cb45b-585b-4948-8d6c-0392dca42b9d" + - W/"422d5035-a3e8-4c93-988f-1463a67338d8" expires: - '-1' pragma: @@ -773,7 +776,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - da1b3121-50a5-417a-b4e7-1e47c443c1ac + - 672f805e-eb48-49e8-be06-f6d034d322da status: code: 200 message: OK @@ -787,32 +790,32 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/inboundNatRules/myInboundNatRule?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/inboundNatRules/myInboundNatRule?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"myInboundNatRule\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/inboundNatRules/myInboundNatRule\"\ - ,\r\n \"etag\": \"W/\\\"392cb45b-585b-4948-8d6c-0392dca42b9d\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/loadBalancers/inboundNatRules\",\r\n \"properties\"\ - : {\r\n \"provisioningState\": \"Succeeded\",\r\n \"frontendIPConfiguration\"\ - : {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/frontendIPConfigurations/myFrontendIpconfiguration\"\ - \r\n },\r\n \"frontendPort\": 3390,\r\n \"backendPort\": 3389,\r\n\ - \ \"enableFloatingIP\": false,\r\n \"idleTimeoutInMinutes\": 4,\r\n\ - \ \"protocol\": \"Tcp\",\r\n \"enableDestinationServiceEndpoint\": false,\r\ - \n \"enableTcpReset\": false,\r\n \"allowBackendPortConflict\": false\r\ - \n }\r\n}" + string: "{\r\n \"name\": \"myInboundNatRule\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/inboundNatRules/myInboundNatRule\",\r\n + \ \"etag\": \"W/\\\"422d5035-a3e8-4c93-988f-1463a67338d8\\\"\",\r\n \"type\": + \"Microsoft.Network/loadBalancers/inboundNatRules\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"frontendIPConfiguration\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/frontendIPConfigurations/myFrontendIpconfiguration\"\r\n + \ },\r\n \"frontendPort\": 3390,\r\n \"backendPort\": 3389,\r\n \"enableFloatingIP\": + false,\r\n \"idleTimeoutInMinutes\": 4,\r\n \"protocol\": \"Tcp\",\r\n + \ \"enableDestinationServiceEndpoint\": false,\r\n \"enableTcpReset\": + false,\r\n \"allowBackendPortConflict\": false\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '1028' + - '1038' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:03:25 GMT + - Fri, 14 May 2021 05:21:01 GMT etag: - - W/"392cb45b-585b-4948-8d6c-0392dca42b9d" + - W/"422d5035-a3e8-4c93-988f-1463a67338d8" expires: - '-1' pragma: @@ -829,7 +832,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 295033e8-c637-4500-93a1-60b6bd193de7 + - 5903896f-0c29-4c4e-b414-0915c5a3577a status: code: 200 message: OK @@ -843,32 +846,33 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/outboundRules/myOutboundRule?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/outboundRules/myOutboundRule?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"myOutboundRule\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/outboundRules/myOutboundRule\"\ - ,\r\n \"etag\": \"W/\\\"392cb45b-585b-4948-8d6c-0392dca42b9d\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/loadBalancers/outboundRules\",\r\n \"properties\"\ - : {\r\n \"provisioningState\": \"Succeeded\",\r\n \"allocatedOutboundPorts\"\ - : 1024,\r\n \"protocol\": \"All\",\r\n \"enableTcpReset\": false,\r\n\ - \ \"idleTimeoutInMinutes\": 4,\r\n \"backendAddressPool\": {\r\n \ - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/backendAddressPools/myBackendAddressPool\"\ - \r\n },\r\n \"frontendIPConfigurations\": [\r\n {\r\n \"\ - id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/frontendIPConfigurations/myFrontendIpconfiguration\"\ - \r\n }\r\n ]\r\n }\r\n}" + string: "{\r\n \"name\": \"myOutboundRule\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/outboundRules/myOutboundRule\",\r\n + \ \"etag\": \"W/\\\"422d5035-a3e8-4c93-988f-1463a67338d8\\\"\",\r\n \"type\": + \"Microsoft.Network/loadBalancers/outboundRules\",\r\n \"properties\": {\r\n + \ \"provisioningState\": \"Succeeded\",\r\n \"allocatedOutboundPorts\": + 1024,\r\n \"protocol\": \"All\",\r\n \"enableTcpReset\": false,\r\n + \ \"idleTimeoutInMinutes\": 4,\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/backendAddressPools/myBackendAddressPool\"\r\n + \ },\r\n \"frontendIPConfigurations\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/frontendIPConfigurations/myFrontendIpconfiguration\"\r\n + \ }\r\n ]\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '1198' + - '1213' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:03:26 GMT + - Fri, 14 May 2021 05:21:01 GMT etag: - - W/"392cb45b-585b-4948-8d6c-0392dca42b9d" + - W/"422d5035-a3e8-4c93-988f-1463a67338d8" expires: - '-1' pragma: @@ -885,7 +889,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 6daaba01-4053-4ceb-9941-2de3f56709bc + - 5ee0efeb-e0ec-418e-bbfa-a0fe516ad084 status: code: 200 message: OK @@ -899,30 +903,30 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/probes/myProbe?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/probes/myProbe?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"myProbe\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/probes/myProbe\"\ - ,\r\n \"etag\": \"W/\\\"392cb45b-585b-4948-8d6c-0392dca42b9d\\\"\",\r\n \ - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\ - protocol\": \"Http\",\r\n \"port\": 80,\r\n \"requestPath\": \"healthcheck.aspx\"\ - ,\r\n \"intervalInSeconds\": 15,\r\n \"numberOfProbes\": 2,\r\n \"\ - loadBalancingRules\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/loadBalancingRules/myLoadBalancingRule\"\ - \r\n }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/probes\"\ - \r\n}" + string: "{\r\n \"name\": \"myProbe\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/probes/myProbe\",\r\n + \ \"etag\": \"W/\\\"422d5035-a3e8-4c93-988f-1463a67338d8\\\"\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"protocol\": \"Http\",\r\n + \ \"port\": 80,\r\n \"requestPath\": \"healthcheck.aspx\",\r\n \"intervalInSeconds\": + 15,\r\n \"numberOfProbes\": 2,\r\n \"loadBalancingRules\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/loadBalancingRules/myLoadBalancingRule\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/probes\"\r\n}" headers: cache-control: - no-cache content-length: - - '874' + - '884' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:03:26 GMT + - Fri, 14 May 2021 05:21:01 GMT etag: - - W/"392cb45b-585b-4948-8d6c-0392dca42b9d" + - W/"422d5035-a3e8-4c93-988f-1463a67338d8" expires: - '-1' pragma: @@ -939,7 +943,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 4a48d721-3d02-4470-ae28-87a95fcc39d6 + - 46bf6f79-8fb1-4527-9c79-de5483805e1d status: code: 200 message: OK @@ -953,97 +957,98 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"myLoadBalancer\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer\"\ - ,\r\n \"etag\": \"W/\\\"392cb45b-585b-4948-8d6c-0392dca42b9d\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/loadBalancers\",\r\n \"location\": \"eastus\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n\ - \ \"resourceGuid\": \"c635f451-2d62-41fd-b025-452047965e64\",\r\n \"\ - frontendIPConfigurations\": [\r\n {\r\n \"name\": \"myFrontendIpconfiguration\"\ - ,\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/frontendIPConfigurations/myFrontendIpconfiguration\"\ - ,\r\n \"etag\": \"W/\\\"392cb45b-585b-4948-8d6c-0392dca42b9d\\\"\"\ - ,\r\n \"type\": \"Microsoft.Network/loadBalancers/frontendIPConfigurations\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"\ - publicIPAddress\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/public_ip_address_name\"\ - \r\n },\r\n \"loadBalancingRules\": [\r\n {\r\ - \n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/loadBalancingRules/myLoadBalancingRule\"\ - \r\n }\r\n ],\r\n \"inboundNatRules\": [\r\n\ - \ {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/inboundNatRules/myInboundNatRule\"\ - \r\n }\r\n ],\r\n \"outboundRules\": [\r\n \ - \ {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/outboundRules/myOutboundRule\"\ - \r\n }\r\n ],\r\n \"privateIPAddressVersion\"\ - : \"IPv4\"\r\n },\r\n \"zones\": [\r\n \"1\",\r\n \ - \ \"2\",\r\n \"3\"\r\n ]\r\n }\r\n ],\r\n\ - \ \"backendAddressPools\": [\r\n {\r\n \"name\": \"myBackendAddressPool\"\ - ,\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/backendAddressPools/myBackendAddressPool\"\ - ,\r\n \"etag\": \"W/\\\"392cb45b-585b-4948-8d6c-0392dca42b9d\\\"\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"loadBalancerBackendAddresses\": [],\r\n \"outboundRules\"\ - : [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/outboundRules/myOutboundRule\"\ - \r\n }\r\n ],\r\n \"loadBalancingRules\": [\r\ - \n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/loadBalancingRules/myLoadBalancingRule\"\ - \r\n }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/backendAddressPools\"\ - \r\n }\r\n ],\r\n \"loadBalancingRules\": [\r\n {\r\n \ - \ \"name\": \"myLoadBalancingRule\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/loadBalancingRules/myLoadBalancingRule\"\ - ,\r\n \"etag\": \"W/\\\"392cb45b-585b-4948-8d6c-0392dca42b9d\\\"\"\ - ,\r\n \"type\": \"Microsoft.Network/loadBalancers/loadBalancingRules\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/frontendIPConfigurations/myFrontendIpconfiguration\"\ - \r\n },\r\n \"frontendPort\": 80,\r\n \"backendPort\"\ - : 80,\r\n \"enableFloatingIP\": true,\r\n \"idleTimeoutInMinutes\"\ - : 15,\r\n \"protocol\": \"Tcp\",\r\n \"enableDestinationServiceEndpoint\"\ - : false,\r\n \"enableTcpReset\": false,\r\n \"allowBackendPortConflict\"\ - : false,\r\n \"loadDistribution\": \"Default\",\r\n \"disableOutboundSnat\"\ - : true,\r\n \"backendAddressPool\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/backendAddressPools/myBackendAddressPool\"\ - \r\n },\r\n \"probe\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/probes/myProbe\"\ - \r\n }\r\n }\r\n }\r\n ],\r\n \"probes\": [\r\n\ - \ {\r\n \"name\": \"myProbe\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/probes/myProbe\"\ - ,\r\n \"etag\": \"W/\\\"392cb45b-585b-4948-8d6c-0392dca42b9d\\\"\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"protocol\": \"Http\",\r\n \"port\": 80,\r\n \ - \ \"requestPath\": \"healthcheck.aspx\",\r\n \"intervalInSeconds\"\ - : 15,\r\n \"numberOfProbes\": 2,\r\n \"loadBalancingRules\"\ - : [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/loadBalancingRules/myLoadBalancingRule\"\ - \r\n }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/probes\"\ - \r\n }\r\n ],\r\n \"inboundNatRules\": [\r\n {\r\n \ - \ \"name\": \"myInboundNatRule\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/inboundNatRules/myInboundNatRule\"\ - ,\r\n \"etag\": \"W/\\\"392cb45b-585b-4948-8d6c-0392dca42b9d\\\"\"\ - ,\r\n \"type\": \"Microsoft.Network/loadBalancers/inboundNatRules\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/frontendIPConfigurations/myFrontendIpconfiguration\"\ - \r\n },\r\n \"frontendPort\": 3390,\r\n \"backendPort\"\ - : 3389,\r\n \"enableFloatingIP\": false,\r\n \"idleTimeoutInMinutes\"\ - : 4,\r\n \"protocol\": \"Tcp\",\r\n \"enableDestinationServiceEndpoint\"\ - : false,\r\n \"enableTcpReset\": false,\r\n \"allowBackendPortConflict\"\ - : false\r\n }\r\n }\r\n ],\r\n \"outboundRules\": [\r\n\ - \ {\r\n \"name\": \"myOutboundRule\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/outboundRules/myOutboundRule\"\ - ,\r\n \"etag\": \"W/\\\"392cb45b-585b-4948-8d6c-0392dca42b9d\\\"\"\ - ,\r\n \"type\": \"Microsoft.Network/loadBalancers/outboundRules\",\r\ - \n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"allocatedOutboundPorts\": 1024,\r\n \"protocol\"\ - : \"All\",\r\n \"enableTcpReset\": false,\r\n \"idleTimeoutInMinutes\"\ - : 4,\r\n \"backendAddressPool\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/backendAddressPools/myBackendAddressPool\"\ - \r\n },\r\n \"frontendIPConfigurations\": [\r\n \ - \ {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/frontendIPConfigurations/myFrontendIpconfiguration\"\ - \r\n }\r\n ]\r\n }\r\n }\r\n ],\r\n \ - \ \"inboundNatPools\": []\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\ - ,\r\n \"tier\": \"Regional\"\r\n }\r\n}" + string: "{\r\n \"name\": \"myLoadBalancer\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer\",\r\n + \ \"etag\": \"W/\\\"422d5035-a3e8-4c93-988f-1463a67338d8\\\"\",\r\n \"type\": + \"Microsoft.Network/loadBalancers\",\r\n \"location\": \"eastus\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"ff72af9e-e88e-4df1-b8f5-e6fe6f6cdf95\",\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"myFrontendIpconfiguration\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/frontendIPConfigurations/myFrontendIpconfiguration\",\r\n + \ \"etag\": \"W/\\\"422d5035-a3e8-4c93-988f-1463a67338d8\\\"\",\r\n + \ \"type\": \"Microsoft.Network/loadBalancers/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/public_ip_address_name\"\r\n + \ },\r\n \"loadBalancingRules\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/loadBalancingRules/myLoadBalancingRule\"\r\n + \ }\r\n ],\r\n \"inboundNatRules\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/inboundNatRules/myInboundNatRule\"\r\n + \ }\r\n ],\r\n \"outboundRules\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/outboundRules/myOutboundRule\"\r\n + \ }\r\n ],\r\n \"privateIPAddressVersion\": \"IPv4\"\r\n + \ }\r\n }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n + \ \"name\": \"myBackendAddressPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/backendAddressPools/myBackendAddressPool\",\r\n + \ \"etag\": \"W/\\\"422d5035-a3e8-4c93-988f-1463a67338d8\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"loadBalancerBackendAddresses\": [],\r\n \"outboundRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/outboundRules/myOutboundRule\"\r\n + \ }\r\n ],\r\n \"loadBalancingRules\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/loadBalancingRules/myLoadBalancingRule\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadBalancingRules\": [\r\n {\r\n \"name\": + \"myLoadBalancingRule\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/loadBalancingRules/myLoadBalancingRule\",\r\n + \ \"etag\": \"W/\\\"422d5035-a3e8-4c93-988f-1463a67338d8\\\"\",\r\n + \ \"type\": \"Microsoft.Network/loadBalancers/loadBalancingRules\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/frontendIPConfigurations/myFrontendIpconfiguration\"\r\n + \ },\r\n \"frontendPort\": 80,\r\n \"backendPort\": + 80,\r\n \"enableFloatingIP\": true,\r\n \"idleTimeoutInMinutes\": + 15,\r\n \"protocol\": \"Tcp\",\r\n \"enableDestinationServiceEndpoint\": + false,\r\n \"enableTcpReset\": false,\r\n \"allowBackendPortConflict\": + false,\r\n \"loadDistribution\": \"Default\",\r\n \"disableOutboundSnat\": + true,\r\n \"backendAddressPool\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/backendAddressPools/myBackendAddressPool\"\r\n + \ },\r\n \"backendAddressPools\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/backendAddressPools/myBackendAddressPool\"\r\n + \ }\r\n ],\r\n \"probe\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/probes/myProbe\"\r\n + \ }\r\n }\r\n }\r\n ],\r\n \"probes\": [\r\n {\r\n + \ \"name\": \"myProbe\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/probes/myProbe\",\r\n + \ \"etag\": \"W/\\\"422d5035-a3e8-4c93-988f-1463a67338d8\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"protocol\": \"Http\",\r\n \"port\": 80,\r\n \"requestPath\": + \"healthcheck.aspx\",\r\n \"intervalInSeconds\": 15,\r\n \"numberOfProbes\": + 2,\r\n \"loadBalancingRules\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/loadBalancingRules/myLoadBalancingRule\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/probes\"\r\n + \ }\r\n ],\r\n \"inboundNatRules\": [\r\n {\r\n \"name\": + \"myInboundNatRule\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/inboundNatRules/myInboundNatRule\",\r\n + \ \"etag\": \"W/\\\"422d5035-a3e8-4c93-988f-1463a67338d8\\\"\",\r\n + \ \"type\": \"Microsoft.Network/loadBalancers/inboundNatRules\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/frontendIPConfigurations/myFrontendIpconfiguration\"\r\n + \ },\r\n \"frontendPort\": 3390,\r\n \"backendPort\": + 3389,\r\n \"enableFloatingIP\": false,\r\n \"idleTimeoutInMinutes\": + 4,\r\n \"protocol\": \"Tcp\",\r\n \"enableDestinationServiceEndpoint\": + false,\r\n \"enableTcpReset\": false,\r\n \"allowBackendPortConflict\": + false\r\n }\r\n }\r\n ],\r\n \"outboundRules\": [\r\n {\r\n + \ \"name\": \"myOutboundRule\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/outboundRules/myOutboundRule\",\r\n + \ \"etag\": \"W/\\\"422d5035-a3e8-4c93-988f-1463a67338d8\\\"\",\r\n + \ \"type\": \"Microsoft.Network/loadBalancers/outboundRules\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"allocatedOutboundPorts\": + 1024,\r\n \"protocol\": \"All\",\r\n \"enableTcpReset\": + false,\r\n \"idleTimeoutInMinutes\": 4,\r\n \"backendAddressPool\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/backendAddressPools/myBackendAddressPool\"\r\n + \ },\r\n \"frontendIPConfigurations\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/frontendIPConfigurations/myFrontendIpconfiguration\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"inboundNatPools\": + []\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": + \"Regional\"\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '9343' + - '9713' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:03:27 GMT + - Fri, 14 May 2021 05:21:01 GMT etag: - - W/"392cb45b-585b-4948-8d6c-0392dca42b9d" + - W/"422d5035-a3e8-4c93-988f-1463a67338d8" expires: - '-1' pragma: @@ -1060,7 +1065,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - bbb2fb85-2024-42e2-995a-d8c78f50c243 + - 309a2792-f6e3-4243-b4c3-0ec077d4b1c4 status: code: 200 message: OK @@ -1078,97 +1083,99 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"myLoadBalancer\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer\"\ - ,\r\n \"etag\": \"W/\\\"f0669662-6356-41b8-8dd9-54c90d60e125\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/loadBalancers\",\r\n \"location\": \"eastus\"\ - ,\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\"\ - \r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"resourceGuid\": \"c635f451-2d62-41fd-b025-452047965e64\",\r\n \ - \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"myFrontendIpconfiguration\"\ - ,\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/frontendIPConfigurations/myFrontendIpconfiguration\"\ - ,\r\n \"etag\": \"W/\\\"f0669662-6356-41b8-8dd9-54c90d60e125\\\"\"\ - ,\r\n \"type\": \"Microsoft.Network/loadBalancers/frontendIPConfigurations\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"\ - publicIPAddress\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/public_ip_address_name\"\ - \r\n },\r\n \"loadBalancingRules\": [\r\n {\r\ - \n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/loadBalancingRules/myLoadBalancingRule\"\ - \r\n }\r\n ],\r\n \"inboundNatRules\": [\r\n\ - \ {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/inboundNatRules/myInboundNatRule\"\ - \r\n }\r\n ],\r\n \"outboundRules\": [\r\n \ - \ {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/outboundRules/myOutboundRule\"\ - \r\n }\r\n ],\r\n \"privateIPAddressVersion\"\ - : \"IPv4\"\r\n }\r\n }\r\n ],\r\n \"backendAddressPools\"\ - : [\r\n {\r\n \"name\": \"myBackendAddressPool\",\r\n \"\ - id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/backendAddressPools/myBackendAddressPool\"\ - ,\r\n \"etag\": \"W/\\\"f0669662-6356-41b8-8dd9-54c90d60e125\\\"\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"loadBalancerBackendAddresses\": [],\r\n \"outboundRules\"\ - : [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/outboundRules/myOutboundRule\"\ - \r\n }\r\n ],\r\n \"loadBalancingRules\": [\r\ - \n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/loadBalancingRules/myLoadBalancingRule\"\ - \r\n }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/backendAddressPools\"\ - \r\n }\r\n ],\r\n \"loadBalancingRules\": [\r\n {\r\n \ - \ \"name\": \"myLoadBalancingRule\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/loadBalancingRules/myLoadBalancingRule\"\ - ,\r\n \"etag\": \"W/\\\"f0669662-6356-41b8-8dd9-54c90d60e125\\\"\"\ - ,\r\n \"type\": \"Microsoft.Network/loadBalancers/loadBalancingRules\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/frontendIPConfigurations/myFrontendIpconfiguration\"\ - \r\n },\r\n \"frontendPort\": 80,\r\n \"backendPort\"\ - : 80,\r\n \"enableFloatingIP\": true,\r\n \"idleTimeoutInMinutes\"\ - : 15,\r\n \"protocol\": \"Tcp\",\r\n \"enableDestinationServiceEndpoint\"\ - : false,\r\n \"enableTcpReset\": false,\r\n \"allowBackendPortConflict\"\ - : false,\r\n \"loadDistribution\": \"Default\",\r\n \"disableOutboundSnat\"\ - : true,\r\n \"backendAddressPool\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/backendAddressPools/myBackendAddressPool\"\ - \r\n },\r\n \"probe\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/probes/myProbe\"\ - \r\n }\r\n }\r\n }\r\n ],\r\n \"probes\": [\r\n\ - \ {\r\n \"name\": \"myProbe\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/probes/myProbe\"\ - ,\r\n \"etag\": \"W/\\\"f0669662-6356-41b8-8dd9-54c90d60e125\\\"\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"protocol\": \"Http\",\r\n \"port\": 80,\r\n \ - \ \"requestPath\": \"healthcheck.aspx\",\r\n \"intervalInSeconds\"\ - : 15,\r\n \"numberOfProbes\": 2,\r\n \"loadBalancingRules\"\ - : [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/loadBalancingRules/myLoadBalancingRule\"\ - \r\n }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/probes\"\ - \r\n }\r\n ],\r\n \"inboundNatRules\": [\r\n {\r\n \ - \ \"name\": \"myInboundNatRule\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/inboundNatRules/myInboundNatRule\"\ - ,\r\n \"etag\": \"W/\\\"f0669662-6356-41b8-8dd9-54c90d60e125\\\"\"\ - ,\r\n \"type\": \"Microsoft.Network/loadBalancers/inboundNatRules\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/frontendIPConfigurations/myFrontendIpconfiguration\"\ - \r\n },\r\n \"frontendPort\": 3390,\r\n \"backendPort\"\ - : 3389,\r\n \"enableFloatingIP\": false,\r\n \"idleTimeoutInMinutes\"\ - : 4,\r\n \"protocol\": \"Tcp\",\r\n \"enableDestinationServiceEndpoint\"\ - : false,\r\n \"enableTcpReset\": false,\r\n \"allowBackendPortConflict\"\ - : false\r\n }\r\n }\r\n ],\r\n \"outboundRules\": [\r\n\ - \ {\r\n \"name\": \"myOutboundRule\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/outboundRules/myOutboundRule\"\ - ,\r\n \"etag\": \"W/\\\"f0669662-6356-41b8-8dd9-54c90d60e125\\\"\"\ - ,\r\n \"type\": \"Microsoft.Network/loadBalancers/outboundRules\",\r\ - \n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"allocatedOutboundPorts\": 1024,\r\n \"protocol\"\ - : \"All\",\r\n \"enableTcpReset\": false,\r\n \"idleTimeoutInMinutes\"\ - : 4,\r\n \"backendAddressPool\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/backendAddressPools/myBackendAddressPool\"\ - \r\n },\r\n \"frontendIPConfigurations\": [\r\n \ - \ {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/frontendIPConfigurations/myFrontendIpconfiguration\"\ - \r\n }\r\n ]\r\n }\r\n }\r\n ],\r\n \ - \ \"inboundNatPools\": []\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\ - ,\r\n \"tier\": \"Regional\"\r\n }\r\n}" + string: "{\r\n \"name\": \"myLoadBalancer\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer\",\r\n + \ \"etag\": \"W/\\\"91dba50b-8b2a-41d5-924a-416c71b45a55\\\"\",\r\n \"type\": + \"Microsoft.Network/loadBalancers\",\r\n \"location\": \"eastus\",\r\n \"tags\": + {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\"\r\n },\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"ff72af9e-e88e-4df1-b8f5-e6fe6f6cdf95\",\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"myFrontendIpconfiguration\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/frontendIPConfigurations/myFrontendIpconfiguration\",\r\n + \ \"etag\": \"W/\\\"91dba50b-8b2a-41d5-924a-416c71b45a55\\\"\",\r\n + \ \"type\": \"Microsoft.Network/loadBalancers/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/public_ip_address_name\"\r\n + \ },\r\n \"loadBalancingRules\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/loadBalancingRules/myLoadBalancingRule\"\r\n + \ }\r\n ],\r\n \"inboundNatRules\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/inboundNatRules/myInboundNatRule\"\r\n + \ }\r\n ],\r\n \"outboundRules\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/outboundRules/myOutboundRule\"\r\n + \ }\r\n ],\r\n \"privateIPAddressVersion\": \"IPv4\"\r\n + \ }\r\n }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n + \ \"name\": \"myBackendAddressPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/backendAddressPools/myBackendAddressPool\",\r\n + \ \"etag\": \"W/\\\"91dba50b-8b2a-41d5-924a-416c71b45a55\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"loadBalancerBackendAddresses\": [],\r\n \"outboundRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/outboundRules/myOutboundRule\"\r\n + \ }\r\n ],\r\n \"loadBalancingRules\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/loadBalancingRules/myLoadBalancingRule\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadBalancingRules\": [\r\n {\r\n \"name\": + \"myLoadBalancingRule\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/loadBalancingRules/myLoadBalancingRule\",\r\n + \ \"etag\": \"W/\\\"91dba50b-8b2a-41d5-924a-416c71b45a55\\\"\",\r\n + \ \"type\": \"Microsoft.Network/loadBalancers/loadBalancingRules\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/frontendIPConfigurations/myFrontendIpconfiguration\"\r\n + \ },\r\n \"frontendPort\": 80,\r\n \"backendPort\": + 80,\r\n \"enableFloatingIP\": true,\r\n \"idleTimeoutInMinutes\": + 15,\r\n \"protocol\": \"Tcp\",\r\n \"enableDestinationServiceEndpoint\": + false,\r\n \"enableTcpReset\": false,\r\n \"allowBackendPortConflict\": + false,\r\n \"loadDistribution\": \"Default\",\r\n \"disableOutboundSnat\": + true,\r\n \"backendAddressPool\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/backendAddressPools/myBackendAddressPool\"\r\n + \ },\r\n \"backendAddressPools\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/backendAddressPools/myBackendAddressPool\"\r\n + \ }\r\n ],\r\n \"probe\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/probes/myProbe\"\r\n + \ }\r\n }\r\n }\r\n ],\r\n \"probes\": [\r\n {\r\n + \ \"name\": \"myProbe\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/probes/myProbe\",\r\n + \ \"etag\": \"W/\\\"91dba50b-8b2a-41d5-924a-416c71b45a55\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"protocol\": \"Http\",\r\n \"port\": 80,\r\n \"requestPath\": + \"healthcheck.aspx\",\r\n \"intervalInSeconds\": 15,\r\n \"numberOfProbes\": + 2,\r\n \"loadBalancingRules\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/loadBalancingRules/myLoadBalancingRule\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/probes\"\r\n + \ }\r\n ],\r\n \"inboundNatRules\": [\r\n {\r\n \"name\": + \"myInboundNatRule\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/inboundNatRules/myInboundNatRule\",\r\n + \ \"etag\": \"W/\\\"91dba50b-8b2a-41d5-924a-416c71b45a55\\\"\",\r\n + \ \"type\": \"Microsoft.Network/loadBalancers/inboundNatRules\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/frontendIPConfigurations/myFrontendIpconfiguration\"\r\n + \ },\r\n \"frontendPort\": 3390,\r\n \"backendPort\": + 3389,\r\n \"enableFloatingIP\": false,\r\n \"idleTimeoutInMinutes\": + 4,\r\n \"protocol\": \"Tcp\",\r\n \"enableDestinationServiceEndpoint\": + false,\r\n \"enableTcpReset\": false,\r\n \"allowBackendPortConflict\": + false\r\n }\r\n }\r\n ],\r\n \"outboundRules\": [\r\n {\r\n + \ \"name\": \"myOutboundRule\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/outboundRules/myOutboundRule\",\r\n + \ \"etag\": \"W/\\\"91dba50b-8b2a-41d5-924a-416c71b45a55\\\"\",\r\n + \ \"type\": \"Microsoft.Network/loadBalancers/outboundRules\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"allocatedOutboundPorts\": + 1024,\r\n \"protocol\": \"All\",\r\n \"enableTcpReset\": + false,\r\n \"idleTimeoutInMinutes\": 4,\r\n \"backendAddressPool\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/backendAddressPools/myBackendAddressPool\"\r\n + \ },\r\n \"frontendIPConfigurations\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/frontendIPConfigurations/myFrontendIpconfiguration\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"inboundNatPools\": + []\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": + \"Regional\"\r\n }\r\n}" headers: azure-asyncnotification: - Enabled cache-control: - no-cache content-length: - - '9328' + - '9777' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:03:32 GMT + - Fri, 14 May 2021 05:21:01 GMT expires: - '-1' pragma: @@ -1185,7 +1192,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - dbd5676c-a8bc-4c1a-95a8-dcb5a772004b + - 84f9a367-0ca3-40bf-929a-c1f6dc23bcb6 x-ms-ratelimit-remaining-subscription-writes: - '1196' status: @@ -1203,25 +1210,26 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/inboundNatRules/myInboundNatRule?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer/inboundNatRules/myInboundNatRule?api-version=2021-02-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/0150807c-c672-4f70-b1ad-3fc39ec1f5be?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/1937ff7c-9f9b-4ca8-925f-b12f0479730d?api-version=2021-02-01 cache-control: - no-cache content-length: - '0' date: - - Tue, 09 Mar 2021 06:03:32 GMT + - Fri, 14 May 2021 05:21:02 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/0150807c-c672-4f70-b1ad-3fc39ec1f5be?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/1937ff7c-9f9b-4ca8-925f-b12f0479730d?api-version=2021-02-01 pragma: - no-cache server: @@ -1232,7 +1240,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 3fac2f0b-b91e-47f5-8c2a-10edb1127c56 + - c585db7f-3bd6-49a6-aff2-6a59c40144e1 x-ms-ratelimit-remaining-subscription-deletes: - '14999' status: @@ -1248,9 +1256,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/0150807c-c672-4f70-b1ad-3fc39ec1f5be?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/1937ff7c-9f9b-4ca8-925f-b12f0479730d?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -1262,7 +1271,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:03:43 GMT + - Fri, 14 May 2021 05:21:11 GMT expires: - '-1' pragma: @@ -1279,7 +1288,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - a6b6fa48-f8e3-42ed-94b8-8e491b6cdc1a + - 62bf42b0-a54e-49bc-8083-92b328a4536b status: code: 200 message: OK @@ -1295,9 +1304,10 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/loadBalancers/myLoadBalancer?api-version=2021-02-01 response: body: string: '' @@ -1305,17 +1315,17 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/caeca674-52fd-4852-b4ac-50458afbbdd8?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/5f2bb11d-cc20-4462-a9c2-e79996f95e6c?api-version=2021-02-01 cache-control: - no-cache content-length: - '0' date: - - Tue, 09 Mar 2021 06:03:44 GMT + - Fri, 14 May 2021 05:21:12 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/caeca674-52fd-4852-b4ac-50458afbbdd8?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/5f2bb11d-cc20-4462-a9c2-e79996f95e6c?api-version=2021-02-01 pragma: - no-cache server: @@ -1326,7 +1336,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - c27c556a-d98a-45a9-aacb-44f1419b6be5 + - cc38078e-0cf4-47f5-818e-81043c036cd4 x-ms-ratelimit-remaining-subscription-deletes: - '14998' status: @@ -1342,9 +1352,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/caeca674-52fd-4852-b4ac-50458afbbdd8?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/5f2bb11d-cc20-4462-a9c2-e79996f95e6c?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -1356,7 +1367,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:03:54 GMT + - Fri, 14 May 2021 05:21:22 GMT expires: - '-1' pragma: @@ -1373,7 +1384,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - ade25175-9738-447d-b708-5cf3e123fc9f + - 83f17583-0121-4dfd-9a3c-dd813112af37 status: code: 200 message: OK diff --git a/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_nat.test_network.yaml b/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_nat.test_network.yaml index 538094cc5ac8..e5ce5255f5fe 100644 --- a/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_nat.test_network.yaml +++ b/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_nat.test_network.yaml @@ -14,33 +14,33 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipaddress?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipaddress?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"publicipaddress\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipaddress\"\ - ,\r\n \"etag\": \"W/\\\"a40d28f5-5aab-4022-8144-73a006bdc454\\\"\",\r\n \ - \ \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\"\ - : \"Updating\",\r\n \"resourceGuid\": \"4ee0bd3c-ed36-4162-a31a-341ef34f787f\"\ - ,\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n \"publicIPAllocationMethod\"\ - : \"Static\",\r\n \"idleTimeoutInMinutes\": 4,\r\n \"ipTags\": []\r\n\ - \ },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n \"sku\"\ - : {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Regional\"\r\n }\r\n\ - }" + string: "{\r\n \"name\": \"publicipaddress\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipaddress\",\r\n + \ \"etag\": \"W/\\\"d2e9a54c-aa9b-4fc6-9ab8-2bf9cb26d3b5\\\"\",\r\n \"location\": + \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"resourceGuid\": \"cf7ccfec-a99f-43cc-9edc-2c6440a67bbf\",\r\n \"publicIPAddressVersion\": + \"IPv4\",\r\n \"publicIPAllocationMethod\": \"Static\",\r\n \"idleTimeoutInMinutes\": + 4,\r\n \"ipTags\": []\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n + \ \"sku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Regional\"\r\n + \ }\r\n}" headers: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/45afec23-ba66-4eb2-a377-89820618a5a8?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/ad892f1f-ba14-4866-8f1f-50f1f84a4398?api-version=2021-02-01 cache-control: - no-cache content-length: - - '705' + - '710' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:04:12 GMT + - Fri, 14 May 2021 05:21:24 GMT expires: - '-1' pragma: @@ -53,9 +53,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - fd75b05e-b4f6-4aa5-ae99-6351de7e0b19 + - bcab794f-dd97-490d-9305-0299032e59b7 x-ms-ratelimit-remaining-subscription-writes: - - '1187' + - '1193' status: code: 201 message: Created @@ -69,9 +69,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/45afec23-ba66-4eb2-a377-89820618a5a8?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/ad892f1f-ba14-4866-8f1f-50f1f84a4398?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -83,7 +84,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:04:13 GMT + - Fri, 14 May 2021 05:21:25 GMT expires: - '-1' pragma: @@ -100,7 +101,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - c8493c84-9e15-4a53-be78-a8493604752b + - 3b600fbb-ee86-411d-9639-3d9cea692a68 status: code: 200 message: OK @@ -114,31 +115,31 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipaddress?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipaddress?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"publicipaddress\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipaddress\"\ - ,\r\n \"etag\": \"W/\\\"06aee054-fa2f-4e33-a5b1-00ca2fec447f\\\"\",\r\n \ - \ \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\"\ - : \"Succeeded\",\r\n \"resourceGuid\": \"4ee0bd3c-ed36-4162-a31a-341ef34f787f\"\ - ,\r\n \"ipAddress\": \"13.90.78.249\",\r\n \"publicIPAddressVersion\"\ - : \"IPv4\",\r\n \"publicIPAllocationMethod\": \"Static\",\r\n \"idleTimeoutInMinutes\"\ - : 4,\r\n \"ipTags\": []\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\"\ - ,\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Regional\"\ - \r\n }\r\n}" + string: "{\r\n \"name\": \"publicipaddress\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipaddress\",\r\n + \ \"etag\": \"W/\\\"5cd1b9e7-0490-4f3e-94a8-fe2a8a2daa40\\\"\",\r\n \"location\": + \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"cf7ccfec-a99f-43cc-9edc-2c6440a67bbf\",\r\n \"ipAddress\": + \"40.88.121.107\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n \"publicIPAllocationMethod\": + \"Static\",\r\n \"idleTimeoutInMinutes\": 4,\r\n \"ipTags\": []\r\n + \ },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n \"sku\": + {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Regional\"\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '740' + - '746' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:04:13 GMT + - Fri, 14 May 2021 05:21:25 GMT etag: - - W/"06aee054-fa2f-4e33-a5b1-00ca2fec447f" + - W/"5cd1b9e7-0490-4f3e-94a8-fe2a8a2daa40" expires: - '-1' pragma: @@ -155,7 +156,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 6b3770ce-95d8-46c0-ae43-a92fb1091c98 + - 09cd2b7e-ddda-46f5-bd55-6eb0c8571f39 status: code: 200 message: OK @@ -174,32 +175,33 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPPrefixes/publicipprefix?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPPrefixes/publicipprefix?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"publicipprefix\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPPrefixes/publicipprefix\"\ - ,\r\n \"etag\": \"W/\\\"9c56bebe-f19e-41c3-8bc2-d579a084d8c8\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/publicIPPrefixes\",\r\n \"location\": \"\ - eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\"\ - ,\r\n \"resourceGuid\": \"7e71332e-17b4-47a1-8815-4c7788f1e6cb\",\r\n \ - \ \"prefixLength\": 30,\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n\ - \ \"ipTags\": []\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\ - ,\r\n \"tier\": \"Regional\"\r\n }\r\n}" + string: "{\r\n \"name\": \"publicipprefix\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPPrefixes/publicipprefix\",\r\n + \ \"etag\": \"W/\\\"2d1b38ba-819c-4955-9dcf-6481695e50dd\\\"\",\r\n \"type\": + \"Microsoft.Network/publicIPPrefixes\",\r\n \"location\": \"eastus\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": + \"07b2956f-5bda-47db-b0b9-58e7918eeeb6\",\r\n \"prefixLength\": 30,\r\n + \ \"publicIPAddressVersion\": \"IPv4\",\r\n \"ipTags\": []\r\n },\r\n + \ \"sku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Regional\"\r\n + \ }\r\n}" headers: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/2ac5f75d-7aa2-41f3-8eea-9791524d3b01?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/d13a3c36-f2c6-427e-b242-8367a2be37e1?api-version=2021-02-01 cache-control: - no-cache content-length: - - '651' + - '656' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:04:20 GMT + - Fri, 14 May 2021 05:21:25 GMT expires: - '-1' pragma: @@ -212,9 +214,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - a436a74f-c2a2-4ce1-9c2e-d98bfd59a7e9 + - 8d39c4cb-3857-426a-9c96-3882c4c9bec4 x-ms-ratelimit-remaining-subscription-writes: - - '1186' + - '1192' status: code: 201 message: Created @@ -228,9 +230,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/2ac5f75d-7aa2-41f3-8eea-9791524d3b01?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/d13a3c36-f2c6-427e-b242-8367a2be37e1?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -242,7 +245,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:04:24 GMT + - Fri, 14 May 2021 05:21:28 GMT expires: - '-1' pragma: @@ -259,7 +262,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 7d41232b-9f46-4d33-8da8-bd950e715320 + - 5fa79c35-917c-4336-8923-059bab377cf9 status: code: 200 message: OK @@ -273,31 +276,31 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPPrefixes/publicipprefix?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPPrefixes/publicipprefix?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"publicipprefix\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPPrefixes/publicipprefix\"\ - ,\r\n \"etag\": \"W/\\\"3c595e07-12f7-45ce-8463-4cfb9220e062\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/publicIPPrefixes\",\r\n \"location\": \"\ - eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"resourceGuid\": \"7e71332e-17b4-47a1-8815-4c7788f1e6cb\",\r\n \ - \ \"prefixLength\": 30,\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n\ - \ \"ipPrefix\": \"13.90.72.248/30\",\r\n \"ipTags\": []\r\n },\r\n\ - \ \"sku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Regional\"\ - \r\n }\r\n}" + string: "{\r\n \"name\": \"publicipprefix\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPPrefixes/publicipprefix\",\r\n + \ \"etag\": \"W/\\\"5416ae19-8343-4b16-9122-b5acc935ab74\\\"\",\r\n \"type\": + \"Microsoft.Network/publicIPPrefixes\",\r\n \"location\": \"eastus\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": + \"07b2956f-5bda-47db-b0b9-58e7918eeeb6\",\r\n \"prefixLength\": 30,\r\n + \ \"publicIPAddressVersion\": \"IPv4\",\r\n \"ipPrefix\": \"40.88.127.128/30\",\r\n + \ \"ipTags\": []\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n + \ \"tier\": \"Regional\"\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '688' + - '694' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:04:24 GMT + - Fri, 14 May 2021 05:21:29 GMT etag: - - W/"3c595e07-12f7-45ce-8463-4cfb9220e062" + - W/"5416ae19-8343-4b16-9122-b5acc935ab74" expires: - '-1' pragma: @@ -314,7 +317,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 8a4051dd-ee47-4a6f-ae62-beda6c0037d5 + - 2869d60a-2ce9-4fdd-8b5c-6d27d7633352 status: code: 200 message: OK @@ -330,39 +333,39 @@ interactions: Connection: - keep-alive Content-Length: - - '542' + - '552' Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/natGateways/myNatGateway?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/natGateways/myNatGateway?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"myNatGateway\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/natGateways/myNatGateway\"\ - ,\r\n \"etag\": \"W/\\\"f90ad200-6320-46f2-a7b3-8330dd72aa83\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/natGateways\",\r\n \"location\": \"eastus\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ - \ \"resourceGuid\": \"e9f180b4-219e-49f0-8a0f-8c4c9cbd67d6\",\r\n \"\ - idleTimeoutInMinutes\": 4,\r\n \"publicIpAddresses\": [\r\n {\r\n\ - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipaddress\"\ - \r\n }\r\n ],\r\n \"publicIpPrefixes\": [\r\n {\r\n \ - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPPrefixes/publicipprefix\"\ - \r\n }\r\n ]\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\ - ,\r\n \"tier\": \"Regional\"\r\n }\r\n}" + string: "{\r\n \"name\": \"myNatGateway\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/natGateways/myNatGateway\",\r\n + \ \"etag\": \"W/\\\"c0a230f2-6a47-4e99-8f92-93b12de1c21c\\\"\",\r\n \"type\": + \"Microsoft.Network/natGateways\",\r\n \"location\": \"eastus\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": \"15c55d8e-6d11-4c10-a82c-505da627eb1e\",\r\n + \ \"idleTimeoutInMinutes\": 4,\r\n \"publicIpAddresses\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipaddress\"\r\n + \ }\r\n ],\r\n \"publicIpPrefixes\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPPrefixes/publicipprefix\"\r\n + \ }\r\n ]\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n + \ \"tier\": \"Regional\"\r\n }\r\n}" headers: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/1fa7b4c6-f169-445a-a798-d00c9ed54e50?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/ad7f3540-6ac2-4918-b495-14ca41f31d6b?api-version=2021-02-01 cache-control: - no-cache content-length: - - '1135' + - '1150' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:04:29 GMT + - Fri, 14 May 2021 05:21:29 GMT expires: - '-1' pragma: @@ -375,9 +378,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 5ec900a9-5ccc-4a9a-a244-8cc1c5720372 + - c25847e9-0ab6-468a-af9a-3e369335e4eb x-ms-ratelimit-remaining-subscription-writes: - - '1185' + - '1191' status: code: 201 message: Created @@ -391,9 +394,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/1fa7b4c6-f169-445a-a798-d00c9ed54e50?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/ad7f3540-6ac2-4918-b495-14ca41f31d6b?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -405,7 +409,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:04:39 GMT + - Fri, 14 May 2021 05:21:39 GMT expires: - '-1' pragma: @@ -422,7 +426,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 4efffbbc-fc6b-457e-b20d-126a937815ff + - a2b9c648-42a1-4970-bbc7-82e026dfbfb9 status: code: 200 message: OK @@ -436,33 +440,33 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/natGateways/myNatGateway?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/natGateways/myNatGateway?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"myNatGateway\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/natGateways/myNatGateway\"\ - ,\r\n \"etag\": \"W/\\\"28975ea0-3cc2-406d-9646-f54f01033e17\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/natGateways\",\r\n \"location\": \"eastus\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n\ - \ \"resourceGuid\": \"e9f180b4-219e-49f0-8a0f-8c4c9cbd67d6\",\r\n \"\ - idleTimeoutInMinutes\": 4,\r\n \"publicIpAddresses\": [\r\n {\r\n\ - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipaddress\"\ - \r\n }\r\n ],\r\n \"publicIpPrefixes\": [\r\n {\r\n \ - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPPrefixes/publicipprefix\"\ - \r\n }\r\n ]\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\ - ,\r\n \"tier\": \"Regional\"\r\n }\r\n}" + string: "{\r\n \"name\": \"myNatGateway\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/natGateways/myNatGateway\",\r\n + \ \"etag\": \"W/\\\"4e89b99f-deb1-43b9-9544-0ed1fda85f1a\\\"\",\r\n \"type\": + \"Microsoft.Network/natGateways\",\r\n \"location\": \"eastus\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"15c55d8e-6d11-4c10-a82c-505da627eb1e\",\r\n + \ \"idleTimeoutInMinutes\": 4,\r\n \"publicIpAddresses\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipaddress\"\r\n + \ }\r\n ],\r\n \"publicIpPrefixes\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPPrefixes/publicipprefix\"\r\n + \ }\r\n ]\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n + \ \"tier\": \"Regional\"\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '1136' + - '1151' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:04:39 GMT + - Fri, 14 May 2021 05:21:39 GMT etag: - - W/"28975ea0-3cc2-406d-9646-f54f01033e17" + - W/"4e89b99f-deb1-43b9-9544-0ed1fda85f1a" expires: - '-1' pragma: @@ -479,7 +483,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - de5eef7c-1723-4a97-a8d6-1f663249fda3 + - f965552a-0d12-40b1-8049-59f2afa2f3d5 status: code: 200 message: OK @@ -493,33 +497,33 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/natGateways/myNatGateway?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/natGateways/myNatGateway?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"myNatGateway\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/natGateways/myNatGateway\"\ - ,\r\n \"etag\": \"W/\\\"28975ea0-3cc2-406d-9646-f54f01033e17\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/natGateways\",\r\n \"location\": \"eastus\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n\ - \ \"resourceGuid\": \"e9f180b4-219e-49f0-8a0f-8c4c9cbd67d6\",\r\n \"\ - idleTimeoutInMinutes\": 4,\r\n \"publicIpAddresses\": [\r\n {\r\n\ - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipaddress\"\ - \r\n }\r\n ],\r\n \"publicIpPrefixes\": [\r\n {\r\n \ - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPPrefixes/publicipprefix\"\ - \r\n }\r\n ]\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\ - ,\r\n \"tier\": \"Regional\"\r\n }\r\n}" + string: "{\r\n \"name\": \"myNatGateway\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/natGateways/myNatGateway\",\r\n + \ \"etag\": \"W/\\\"4e89b99f-deb1-43b9-9544-0ed1fda85f1a\\\"\",\r\n \"type\": + \"Microsoft.Network/natGateways\",\r\n \"location\": \"eastus\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"15c55d8e-6d11-4c10-a82c-505da627eb1e\",\r\n + \ \"idleTimeoutInMinutes\": 4,\r\n \"publicIpAddresses\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipaddress\"\r\n + \ }\r\n ],\r\n \"publicIpPrefixes\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPPrefixes/publicipprefix\"\r\n + \ }\r\n ]\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n + \ \"tier\": \"Regional\"\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '1136' + - '1151' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:04:40 GMT + - Fri, 14 May 2021 05:21:39 GMT etag: - - W/"28975ea0-3cc2-406d-9646-f54f01033e17" + - W/"4e89b99f-deb1-43b9-9544-0ed1fda85f1a" expires: - '-1' pragma: @@ -536,7 +540,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 919ab492-b390-47fb-8024-220c632e8027 + - 011d6a36-ce73-47ce-9214-30e2b235770f status: code: 200 message: OK @@ -554,34 +558,34 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/natGateways/myNatGateway?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/natGateways/myNatGateway?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"myNatGateway\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/natGateways/myNatGateway\"\ - ,\r\n \"etag\": \"W/\\\"27b79e61-9778-4d84-b9f2-1029b7241a35\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/natGateways\",\r\n \"location\": \"eastus\"\ - ,\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\"\ - \r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"resourceGuid\": \"e9f180b4-219e-49f0-8a0f-8c4c9cbd67d6\",\r\n \ - \ \"idleTimeoutInMinutes\": 4,\r\n \"publicIpAddresses\": [\r\n \ - \ {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipaddress\"\ - \r\n }\r\n ],\r\n \"publicIpPrefixes\": [\r\n {\r\n \ - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPPrefixes/publicipprefix\"\ - \r\n }\r\n ]\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\"\ - ,\r\n \"tier\": \"Regional\"\r\n }\r\n}" + string: "{\r\n \"name\": \"myNatGateway\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/natGateways/myNatGateway\",\r\n + \ \"etag\": \"W/\\\"0715f8a8-f034-4f89-b818-45d8ee786796\\\"\",\r\n \"type\": + \"Microsoft.Network/natGateways\",\r\n \"location\": \"eastus\",\r\n \"tags\": + {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\"\r\n },\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"15c55d8e-6d11-4c10-a82c-505da627eb1e\",\r\n + \ \"idleTimeoutInMinutes\": 4,\r\n \"publicIpAddresses\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipaddress\"\r\n + \ }\r\n ],\r\n \"publicIpPrefixes\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPPrefixes/publicipprefix\"\r\n + \ }\r\n ]\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n + \ \"tier\": \"Regional\"\r\n }\r\n}" headers: azure-asyncnotification: - Enabled cache-control: - no-cache content-length: - - '1200' + - '1215' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:04:42 GMT + - Fri, 14 May 2021 05:21:39 GMT expires: - '-1' pragma: @@ -598,9 +602,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 42e65873-183a-4705-9afa-d20a88390859 + - db390e7c-b23f-43e2-ae7a-95665af1e088 x-ms-ratelimit-remaining-subscription-writes: - - '1184' + - '1190' status: code: 200 message: OK @@ -616,9 +620,10 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/natGateways/myNatGateway?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/natGateways/myNatGateway?api-version=2021-02-01 response: body: string: '' @@ -626,17 +631,17 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/1fbd97ce-39d7-4e21-abb5-09e43c3e9423?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/f7f55e3d-2c1d-4ea2-8eb8-06e6a603c156?api-version=2021-02-01 cache-control: - no-cache content-length: - '0' date: - - Tue, 09 Mar 2021 06:04:44 GMT + - Fri, 14 May 2021 05:21:39 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/1fbd97ce-39d7-4e21-abb5-09e43c3e9423?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/f7f55e3d-2c1d-4ea2-8eb8-06e6a603c156?api-version=2021-02-01 pragma: - no-cache server: @@ -647,9 +652,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - fc350692-fbfe-4cbb-b5ec-8c5282d566b5 + - 95a97ac5-c371-4001-a5ad-261121eab42a x-ms-ratelimit-remaining-subscription-deletes: - - '14995' + - '14994' status: code: 202 message: Accepted @@ -663,9 +668,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/1fbd97ce-39d7-4e21-abb5-09e43c3e9423?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/f7f55e3d-2c1d-4ea2-8eb8-06e6a603c156?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -677,7 +683,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:04:54 GMT + - Fri, 14 May 2021 05:21:49 GMT expires: - '-1' pragma: @@ -694,7 +700,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 59bd562a-a4b7-4e8f-a1b3-82d13192d897 + - 0bb3ec0e-3d91-45a2-b37f-a6f6116a47af status: code: 200 message: OK diff --git a/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_route_filter.test_network.yaml b/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_route_filter.test_network.yaml index d30e2ff2f7bc..48cc8792624d 100644 --- a/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_route_filter.test_network.yaml +++ b/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_route_filter.test_network.yaml @@ -14,30 +14,30 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeFilters/myRouteFilter?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeFilters/myRouteFilter?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"myRouteFilter\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeFilters/myRouteFilter\"\ - ,\r\n \"etag\": \"W/\\\"cdb29a9e-cbe8-4589-a712-873ca3f6a4d5\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/routeFilters\",\r\n \"location\": \"eastus\"\ - ,\r\n \"tags\": {\r\n \"key1\": \"value1\"\r\n },\r\n \"properties\"\ - : {\r\n \"provisioningState\": \"Updating\",\r\n \"rules\": []\r\n \ - \ }\r\n}" + string: "{\r\n \"name\": \"myRouteFilter\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeFilters/myRouteFilter\",\r\n + \ \"etag\": \"W/\\\"72a4f7b9-ec1e-47b8-9374-80611f9eaac9\\\"\",\r\n \"type\": + \"Microsoft.Network/routeFilters\",\r\n \"location\": \"eastus\",\r\n \"tags\": + {\r\n \"key1\": \"value1\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": + \"Updating\",\r\n \"rules\": []\r\n }\r\n}" headers: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/70ba9e11-aa5f-4f06-91e1-aebfe7171110?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/4e6d2575-ff05-43bc-a741-d5409a9bf3b5?api-version=2021-02-01 cache-control: - no-cache content-length: - - '489' + - '494' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:05:16 GMT + - Fri, 14 May 2021 05:21:52 GMT expires: - '-1' pragma: @@ -50,9 +50,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 24abe409-30ff-4ebc-9a94-d7988549d1cc + - 42c99fa8-8608-4276-9516-06a81d3fa892 x-ms-ratelimit-remaining-subscription-writes: - - '1195' + - '1193' status: code: 201 message: Created @@ -66,9 +66,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/70ba9e11-aa5f-4f06-91e1-aebfe7171110?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/4e6d2575-ff05-43bc-a741-d5409a9bf3b5?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -80,7 +81,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:05:26 GMT + - Fri, 14 May 2021 05:22:02 GMT expires: - '-1' pragma: @@ -97,7 +98,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - b59b3251-ccb6-4c75-9f5c-dc66c8d7721f + - 923be61f-2323-4f20-91f8-d90a81f307cf status: code: 200 message: OK @@ -111,28 +112,28 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeFilters/myRouteFilter?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeFilters/myRouteFilter?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"myRouteFilter\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeFilters/myRouteFilter\"\ - ,\r\n \"etag\": \"W/\\\"9f711e80-8be8-4bae-9a3d-032c71795a78\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/routeFilters\",\r\n \"location\": \"eastus\"\ - ,\r\n \"tags\": {\r\n \"key1\": \"value1\"\r\n },\r\n \"properties\"\ - : {\r\n \"provisioningState\": \"Succeeded\",\r\n \"rules\": []\r\n\ - \ }\r\n}" + string: "{\r\n \"name\": \"myRouteFilter\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeFilters/myRouteFilter\",\r\n + \ \"etag\": \"W/\\\"557f6884-36e0-47a6-9a85-114529a2b521\\\"\",\r\n \"type\": + \"Microsoft.Network/routeFilters\",\r\n \"location\": \"eastus\",\r\n \"tags\": + {\r\n \"key1\": \"value1\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": + \"Succeeded\",\r\n \"rules\": []\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '490' + - '495' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:05:26 GMT + - Fri, 14 May 2021 05:22:02 GMT etag: - - W/"9f711e80-8be8-4bae-9a3d-032c71795a78" + - W/"557f6884-36e0-47a6-9a85-114529a2b521" expires: - '-1' pragma: @@ -149,7 +150,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 0b6a1ab5-d868-484e-b701-17f776d46649 + - 6a4ba39a-6aff-43e5-851f-0023d3a345c1 status: code: 200 message: OK @@ -163,22901 +164,20053 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/serviceTags?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/serviceTags?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"Public\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/serviceTags/Public\"\ - ,\r\n \"type\": \"Microsoft.Network/serviceTags\",\r\n \"changeNumber\"\ - : \"69\",\r\n \"cloud\": \"Public\",\r\n \"values\": [\r\n {\r\n \ - \ \"name\": \"ActionGroup\",\r\n \"id\": \"ActionGroup\",\r\n \"\ - properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\"\ - : \"\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n\ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \ - \ \"FW\"\r\n ],\r\n \"systemService\": \"ActionGroup\",\r\ - \n \"addressPrefixes\": [\r\n \"13.66.60.119/32\",\r\n \ - \ \"13.66.143.220/30\",\r\n \"13.66.202.14/32\",\r\n \ - \ \"13.66.248.225/32\",\r\n \"13.66.249.211/32\",\r\n \ - \ \"13.67.10.124/30\",\r\n \"13.69.109.132/30\",\r\n \"\ - 13.71.199.112/30\",\r\n \"13.77.53.216/30\",\r\n \"13.77.172.102/32\"\ - ,\r\n \"13.77.183.209/32\",\r\n \"13.78.109.156/30\",\r\n\ - \ \"13.84.49.247/32\",\r\n \"13.84.51.172/32\",\r\n \ - \ \"13.84.52.58/32\",\r\n \"13.86.221.220/30\",\r\n \ - \ \"13.106.38.142/32\",\r\n \"13.106.38.148/32\",\r\n \"\ - 13.106.54.3/32\",\r\n \"13.106.54.19/32\",\r\n \"13.106.57.181/32\"\ - ,\r\n \"13.106.57.196/31\",\r\n \"20.38.149.132/30\",\r\n\ - \ \"20.42.64.36/30\",\r\n \"20.43.121.124/30\",\r\n \ - \ \"20.44.17.220/30\",\r\n \"20.45.123.236/30\",\r\n \ - \ \"20.72.27.152/30\",\r\n \"20.150.172.228/30\",\r\n \ - \ \"20.192.238.124/30\",\r\n \"20.193.202.4/30\",\r\n \"\ - 40.68.195.137/32\",\r\n \"40.68.201.58/32\",\r\n \"40.68.201.65/32\"\ - ,\r\n \"40.68.201.206/32\",\r\n \"40.68.201.211/32\",\r\n\ - \ \"40.68.204.18/32\",\r\n \"40.115.37.106/32\",\r\n \ - \ \"40.121.219.215/32\",\r\n \"40.121.221.62/32\",\r\n \ - \ \"40.121.222.201/32\",\r\n \"40.121.223.186/32\",\r\n \ - \ \"51.12.101.172/30\",\r\n \"51.12.204.244/30\",\r\n \ - \ \"51.104.9.100/30\",\r\n \"52.183.20.244/32\",\r\n \ - \ \"52.183.31.0/32\",\r\n \"52.183.94.59/32\",\r\n \"52.184.145.166/32\"\ - ,\r\n \"191.233.50.4/30\",\r\n \"191.233.207.64/26\",\r\n\ - \ \"2603:1000:4:402::178/125\",\r\n \"2603:1000:104:402::178/125\"\ - ,\r\n \"2603:1010:6:402::178/125\",\r\n \"2603:1010:101:402::178/125\"\ - ,\r\n \"2603:1010:304:402::178/125\",\r\n \"2603:1010:404:402::178/125\"\ - ,\r\n \"2603:1020:5:402::178/125\",\r\n \"2603:1020:206:402::178/125\"\ - ,\r\n \"2603:1020:305:402::178/125\",\r\n \"2603:1020:405:402::178/125\"\ - ,\r\n \"2603:1020:605:402::178/125\",\r\n \"2603:1020:705:402::178/125\"\ - ,\r\n \"2603:1020:805:402::178/125\",\r\n \"2603:1020:905:402::178/125\"\ - ,\r\n \"2603:1020:a04:402::178/125\",\r\n \"2603:1020:b04:402::178/125\"\ - ,\r\n \"2603:1020:c04:402::178/125\",\r\n \"2603:1020:d04:402::178/125\"\ - ,\r\n \"2603:1020:e04:402::178/125\",\r\n \"2603:1020:f04:402::178/125\"\ - ,\r\n \"2603:1020:1004:800::f8/125\",\r\n \"2603:1020:1104:400::178/125\"\ - ,\r\n \"2603:1030:f:400::978/125\",\r\n \"2603:1030:10:402::178/125\"\ - ,\r\n \"2603:1030:104:402::178/125\",\r\n \"2603:1030:107:400::f0/125\"\ - ,\r\n \"2603:1030:210:402::178/125\",\r\n \"2603:1030:40b:400::978/125\"\ - ,\r\n \"2603:1030:40c:402::178/125\",\r\n \"2603:1030:504:802::f8/125\"\ - ,\r\n \"2603:1030:608:402::178/125\",\r\n \"2603:1030:807:402::178/125\"\ - ,\r\n \"2603:1030:a07:402::8f8/125\",\r\n \"2603:1030:b04:402::178/125\"\ - ,\r\n \"2603:1030:c06:400::978/125\",\r\n \"2603:1030:f05:402::178/125\"\ - ,\r\n \"2603:1030:1005:402::178/125\",\r\n \"2603:1040:5:402::178/125\"\ - ,\r\n \"2603:1040:207:402::178/125\",\r\n \"2603:1040:407:402::178/125\"\ - ,\r\n \"2603:1040:606:402::178/125\",\r\n \"2603:1040:806:402::178/125\"\ - ,\r\n \"2603:1040:904:402::178/125\",\r\n \"2603:1040:a06:402::178/125\"\ - ,\r\n \"2603:1040:b04:402::178/125\",\r\n \"2603:1040:c06:402::178/125\"\ - ,\r\n \"2603:1040:d04:800::f8/125\",\r\n \"2603:1040:f05:402::178/125\"\ - ,\r\n \"2603:1040:1104:400::178/125\",\r\n \"2603:1050:6:402::178/125\"\ - ,\r\n \"2603:1050:403:400::1f8/125\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"ActionGroup.AustraliaCentral\",\r\n\ - \ \"id\": \"ActionGroup.AustraliaCentral\",\r\n \"properties\":\ - \ {\r\n \"changeNumber\": \"1\",\r\n \"region\": \"australiacentral\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"FW\"\r\n ],\r\n\ - \ \"systemService\": \"ActionGroup\",\r\n \"addressPrefixes\"\ - : [\r\n \"2603:1010:304:402::178/125\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"ActionGroup.AustraliaCentral2\",\r\n\ - \ \"id\": \"ActionGroup.AustraliaCentral2\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"1\",\r\n \"region\": \"australiacentral2\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"FW\"\r\n ],\r\n\ - \ \"systemService\": \"ActionGroup\",\r\n \"addressPrefixes\"\ - : [\r\n \"2603:1010:404:402::178/125\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"ActionGroup.AustraliaEast\",\r\n \ - \ \"id\": \"ActionGroup.AustraliaEast\",\r\n \"properties\": {\r\n\ - \ \"changeNumber\": \"1\",\r\n \"region\": \"australiaeast\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"FW\"\r\n ],\r\n\ - \ \"systemService\": \"ActionGroup\",\r\n \"addressPrefixes\"\ - : [\r\n \"2603:1010:6:402::178/125\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"ActionGroup.CanadaEast\",\r\n \"\ - id\": \"ActionGroup.CanadaEast\",\r\n \"properties\": {\r\n \"\ - changeNumber\": \"1\",\r\n \"region\": \"canadaeast\",\r\n \"\ - state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\ - \n \"NSG\",\r\n \"FW\"\r\n ],\r\n \"systemService\"\ - : \"ActionGroup\",\r\n \"addressPrefixes\": [\r\n \"2603:1030:1005:402::178/125\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"ActionGroup.CentralUS\"\ - ,\r\n \"id\": \"ActionGroup.CentralUS\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"1\",\r\n \"region\": \"centralus\",\r\ - \n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"FW\"\r\n ],\r\n \ - \ \"systemService\": \"ActionGroup\",\r\n \"addressPrefixes\"\ - : [\r\n \"2603:1030:10:402::178/125\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"ActionGroup.CentralUSEUAP\",\r\n \ - \ \"id\": \"ActionGroup.CentralUSEUAP\",\r\n \"properties\": {\r\n\ - \ \"changeNumber\": \"1\",\r\n \"region\": \"centraluseuap\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"FW\"\r\n ],\r\n\ - \ \"systemService\": \"ActionGroup\",\r\n \"addressPrefixes\"\ - : [\r\n \"2603:1030:f:400::978/125\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"ActionGroup.EastAsia\",\r\n \"\ - id\": \"ActionGroup.EastAsia\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"1\",\r\n \"region\": \"eastasia\",\r\n \"state\": \"GA\"\ - ,\r\n \"networkFeatures\": [\r\n \"API\",\r\n \"\ - NSG\",\r\n \"FW\"\r\n ],\r\n \"systemService\": \"\ - ActionGroup\",\r\n \"addressPrefixes\": [\r\n \"2603:1040:207:402::178/125\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"ActionGroup.EastUS2\"\ - ,\r\n \"id\": \"ActionGroup.EastUS2\",\r\n \"properties\": {\r\n\ - \ \"changeNumber\": \"2\",\r\n \"region\": \"eastus2\",\r\n\ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"FW\"\r\n ],\r\n \ - \ \"systemService\": \"ActionGroup\",\r\n \"addressPrefixes\"\ - : [\r\n \"20.44.17.220/30\",\r\n \"52.184.145.166/32\",\r\ - \n \"2603:1030:40c:402::178/125\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"ActionGroup.EastUS2EUAP\",\r\n \"\ - id\": \"ActionGroup.EastUS2EUAP\",\r\n \"properties\": {\r\n \"\ - changeNumber\": \"1\",\r\n \"region\": \"eastus2euap\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"API\"\ - ,\r\n \"NSG\",\r\n \"FW\"\r\n ],\r\n \"systemService\"\ - : \"ActionGroup\",\r\n \"addressPrefixes\": [\r\n \"2603:1030:40b:400::978/125\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"ActionGroup.FranceCentral\"\ - ,\r\n \"id\": \"ActionGroup.FranceCentral\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"1\",\r\n \"region\": \"centralfrance\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"FW\"\r\n ],\r\n\ - \ \"systemService\": \"ActionGroup\",\r\n \"addressPrefixes\"\ - : [\r\n \"2603:1020:805:402::178/125\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"ActionGroup.FranceSouth\",\r\n \ - \ \"id\": \"ActionGroup.FranceSouth\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"1\",\r\n \"region\": \"southfrance\",\r\n\ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"FW\"\r\n ],\r\n \ - \ \"systemService\": \"ActionGroup\",\r\n \"addressPrefixes\"\ - : [\r\n \"2603:1020:905:402::178/125\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"ActionGroup.GermanyNorth\",\r\n \ - \ \"id\": \"ActionGroup.GermanyNorth\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"1\",\r\n \"region\": \"germanyn\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"FW\"\r\n ],\r\n \ - \ \"systemService\": \"ActionGroup\",\r\n \"addressPrefixes\":\ - \ [\r\n \"2603:1020:d04:402::178/125\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"ActionGroup.GermanyWestCentral\",\r\n\ - \ \"id\": \"ActionGroup.GermanyWestCentral\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"1\",\r\n \"region\": \"germanywc\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"FW\"\r\n ],\r\n\ - \ \"systemService\": \"ActionGroup\",\r\n \"addressPrefixes\"\ - : [\r\n \"2603:1020:c04:402::178/125\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"ActionGroup.JapanWest\",\r\n \"\ - id\": \"ActionGroup.JapanWest\",\r\n \"properties\": {\r\n \"\ - changeNumber\": \"1\",\r\n \"region\": \"japanwest\",\r\n \"\ - state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\ - \n \"NSG\",\r\n \"FW\"\r\n ],\r\n \"systemService\"\ - : \"ActionGroup\",\r\n \"addressPrefixes\": [\r\n \"2603:1040:606:402::178/125\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"ActionGroup.KoreaCentral\"\ - ,\r\n \"id\": \"ActionGroup.KoreaCentral\",\r\n \"properties\":\ - \ {\r\n \"changeNumber\": \"1\",\r\n \"region\": \"koreacentral\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"FW\"\r\n ],\r\n\ - \ \"systemService\": \"ActionGroup\",\r\n \"addressPrefixes\"\ - : [\r\n \"2603:1040:f05:402::178/125\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"ActionGroup.NorthEurope\",\r\n \ - \ \"id\": \"ActionGroup.NorthEurope\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"1\",\r\n \"region\": \"northeurope\",\r\n\ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"FW\"\r\n ],\r\n \ - \ \"systemService\": \"ActionGroup\",\r\n \"addressPrefixes\"\ - : [\r\n \"2603:1020:5:402::178/125\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"ActionGroup.NorwayEast\",\r\n \"\ - id\": \"ActionGroup.NorwayEast\",\r\n \"properties\": {\r\n \"\ - changeNumber\": \"1\",\r\n \"region\": \"norwaye\",\r\n \"state\"\ - : \"GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\n \ - \ \"NSG\",\r\n \"FW\"\r\n ],\r\n \"systemService\"\ - : \"ActionGroup\",\r\n \"addressPrefixes\": [\r\n \"2603:1020:e04:402::178/125\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"ActionGroup.NorwayWest\"\ - ,\r\n \"id\": \"ActionGroup.NorwayWest\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"1\",\r\n \"region\": \"norwayw\",\r\n\ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"FW\"\r\n ],\r\n \ - \ \"systemService\": \"ActionGroup\",\r\n \"addressPrefixes\"\ - : [\r\n \"2603:1020:f04:402::178/125\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"ActionGroup.SouthAfricaNorth\",\r\n\ - \ \"id\": \"ActionGroup.SouthAfricaNorth\",\r\n \"properties\":\ - \ {\r\n \"changeNumber\": \"1\",\r\n \"region\": \"southafricanorth\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"FW\"\r\n ],\r\n\ - \ \"systemService\": \"ActionGroup\",\r\n \"addressPrefixes\"\ - : [\r\n \"2603:1000:104:402::178/125\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"ActionGroup.SouthAfricaWest\",\r\n \ - \ \"id\": \"ActionGroup.SouthAfricaWest\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"1\",\r\n \"region\": \"southafricawest\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"FW\"\r\n ],\r\n\ - \ \"systemService\": \"ActionGroup\",\r\n \"addressPrefixes\"\ - : [\r\n \"2603:1000:4:402::178/125\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"ActionGroup.SouthIndia\",\r\n \"\ - id\": \"ActionGroup.SouthIndia\",\r\n \"properties\": {\r\n \"\ - changeNumber\": \"1\",\r\n \"region\": \"southindia\",\r\n \"\ - state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\ - \n \"NSG\",\r\n \"FW\"\r\n ],\r\n \"systemService\"\ - : \"ActionGroup\",\r\n \"addressPrefixes\": [\r\n \"2603:1040:c06:402::178/125\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"ActionGroup.SwitzerlandNorth\"\ - ,\r\n \"id\": \"ActionGroup.SwitzerlandNorth\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"1\",\r\n \"region\": \"switzerlandn\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"FW\"\r\n ],\r\n\ - \ \"systemService\": \"ActionGroup\",\r\n \"addressPrefixes\"\ - : [\r\n \"2603:1020:a04:402::178/125\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"ActionGroup.SwitzerlandWest\",\r\n \ - \ \"id\": \"ActionGroup.SwitzerlandWest\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"1\",\r\n \"region\": \"switzerlandw\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"FW\"\r\n ],\r\n\ - \ \"systemService\": \"ActionGroup\",\r\n \"addressPrefixes\"\ - : [\r\n \"2603:1020:b04:402::178/125\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"ActionGroup.UAECentral\",\r\n \"\ - id\": \"ActionGroup.UAECentral\",\r\n \"properties\": {\r\n \"\ - changeNumber\": \"1\",\r\n \"region\": \"uaecentral\",\r\n \"\ - state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\ - \n \"NSG\",\r\n \"FW\"\r\n ],\r\n \"systemService\"\ - : \"ActionGroup\",\r\n \"addressPrefixes\": [\r\n \"2603:1040:b04:402::178/125\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"ActionGroup.UAENorth\"\ - ,\r\n \"id\": \"ActionGroup.UAENorth\",\r\n \"properties\": {\r\n\ - \ \"changeNumber\": \"1\",\r\n \"region\": \"uaenorth\",\r\n\ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"FW\"\r\n ],\r\n \ - \ \"systemService\": \"ActionGroup\",\r\n \"addressPrefixes\"\ - : [\r\n \"2603:1040:904:402::178/125\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"ActionGroup.UKNorth\",\r\n \"id\"\ - : \"ActionGroup.UKNorth\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"1\",\r\n \"region\": \"uknorth\",\r\n \"state\": \"GA\"\ - ,\r\n \"networkFeatures\": [\r\n \"API\",\r\n \"\ - NSG\",\r\n \"FW\"\r\n ],\r\n \"systemService\": \"\ - ActionGroup\",\r\n \"addressPrefixes\": [\r\n \"2603:1020:305:402::178/125\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"ActionGroup.UKSouth2\"\ - ,\r\n \"id\": \"ActionGroup.UKSouth2\",\r\n \"properties\": {\r\n\ - \ \"changeNumber\": \"1\",\r\n \"region\": \"uksouth2\",\r\n\ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"FW\"\r\n ],\r\n \ - \ \"systemService\": \"ActionGroup\",\r\n \"addressPrefixes\"\ - : [\r\n \"2603:1020:405:402::178/125\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"ActionGroup.UKWest\",\r\n \"id\"\ - : \"ActionGroup.UKWest\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"1\",\r\n \"region\": \"ukwest\",\r\n \"state\": \"GA\",\r\ - \n \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\ - ,\r\n \"FW\"\r\n ],\r\n \"systemService\": \"ActionGroup\"\ - ,\r\n \"addressPrefixes\": [\r\n \"2603:1020:605:402::178/125\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"ActionGroup.WestIndia\"\ - ,\r\n \"id\": \"ActionGroup.WestIndia\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"1\",\r\n \"region\": \"westindia\",\r\ - \n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"FW\"\r\n ],\r\n \ - \ \"systemService\": \"ActionGroup\",\r\n \"addressPrefixes\"\ - : [\r\n \"2603:1040:806:402::178/125\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"ActionGroup.WestUS\",\r\n \"id\"\ - : \"ActionGroup.WestUS\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"2\",\r\n \"region\": \"westus\",\r\n \"state\": \"GA\",\r\ - \n \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\ - ,\r\n \"FW\"\r\n ],\r\n \"systemService\": \"ActionGroup\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.86.221.220/30\",\r\n\ - \ \"2603:1030:a07:402::8f8/125\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"ApiManagement\",\r\n \"id\": \"ApiManagement\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n \ - \ \"region\": \"\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n\ - \ \"FW\"\r\n ],\r\n \"systemService\": \"AzureApiManagement\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.64.39.16/32\",\r\n \ - \ \"13.66.138.92/31\",\r\n \"13.66.140.176/28\",\r\n \ - \ \"13.67.8.108/31\",\r\n \"13.67.9.208/28\",\r\n \"\ - 13.69.64.76/31\",\r\n \"13.69.66.144/28\",\r\n \"13.69.227.76/31\"\ - ,\r\n \"13.69.229.80/28\",\r\n \"13.70.72.28/31\",\r\n \ - \ \"13.70.72.240/28\",\r\n \"13.71.49.1/32\",\r\n \ - \ \"13.71.170.44/31\",\r\n \"13.71.172.144/28\",\r\n \"\ - 13.71.194.116/31\",\r\n \"13.71.196.32/28\",\r\n \"13.75.34.148/31\"\ - ,\r\n \"13.75.38.16/28\",\r\n \"13.75.217.184/32\",\r\n\ - \ \"13.75.221.78/32\",\r\n \"13.77.50.68/31\",\r\n \ - \ \"13.77.52.224/28\",\r\n \"13.78.106.92/31\",\r\n \ - \ \"13.78.108.176/28\",\r\n \"13.84.189.17/32\",\r\n \"\ - 13.85.22.63/32\",\r\n \"13.86.102.66/32\",\r\n \"13.87.56.84/31\"\ - ,\r\n \"13.87.57.144/28\",\r\n \"13.87.122.84/31\",\r\n\ - \ \"13.87.123.144/28\",\r\n \"13.89.170.204/31\",\r\n \ - \ \"13.89.174.64/28\",\r\n \"20.36.106.68/31\",\r\n \ - \ \"20.36.107.176/28\",\r\n \"20.36.114.20/31\",\r\n \ - \ \"20.36.115.128/28\",\r\n \"20.37.52.67/32\",\r\n \"20.37.74.224/31\"\ - ,\r\n \"20.37.76.32/28\",\r\n \"20.37.81.41/32\",\r\n \ - \ \"20.39.80.2/32\",\r\n \"20.39.99.81/32\",\r\n \ - \ \"20.40.125.155/32\",\r\n \"20.40.160.107/32\",\r\n \"\ - 20.44.2.4/31\",\r\n \"20.44.3.224/28\",\r\n \"20.44.33.246/32\"\ - ,\r\n \"20.44.72.3/32\",\r\n \"20.46.144.85/32\",\r\n \ - \ \"20.72.26.16/28\",\r\n \"20.150.167.160/28\",\r\n \ - \ \"20.150.170.224/28\",\r\n \"20.188.77.119/32\",\r\n \ - \ \"20.192.50.64/28\",\r\n \"20.192.234.160/28\",\r\n \ - \ \"20.193.192.48/28\",\r\n \"20.193.202.160/28\",\r\n \ - \ \"23.96.224.175/32\",\r\n \"23.101.67.140/32\",\r\n \"\ - 23.101.166.38/32\",\r\n \"40.66.60.111/32\",\r\n \"40.67.58.224/28\"\ - ,\r\n \"40.69.106.68/31\",\r\n \"40.69.107.224/28\",\r\n\ - \ \"40.70.146.76/31\",\r\n \"40.70.148.16/28\",\r\n \ - \ \"40.71.10.204/31\",\r\n \"40.71.13.128/28\",\r\n \ - \ \"40.74.100.52/31\",\r\n \"40.74.101.48/28\",\r\n \"\ - 40.74.146.80/31\",\r\n \"40.74.147.32/28\",\r\n \"40.78.194.68/31\"\ - ,\r\n \"40.78.195.224/28\",\r\n \"40.78.202.128/31\",\r\n\ - \ \"40.78.203.160/28\",\r\n \"40.79.130.44/31\",\r\n \ - \ \"40.79.131.192/28\",\r\n \"40.79.178.68/31\",\r\n \ - \ \"40.79.179.192/28\",\r\n \"40.80.232.185/32\",\r\n \ - \ \"40.81.47.216/32\",\r\n \"40.81.89.24/32\",\r\n \"40.81.185.8/32\"\ - ,\r\n \"40.82.157.167/32\",\r\n \"40.90.185.46/32\",\r\n\ - \ \"40.112.242.148/31\",\r\n \"40.112.243.240/28\",\r\n\ - \ \"51.12.17.0/28\",\r\n \"51.12.25.16/28\",\r\n \ - \ \"51.12.98.224/28\",\r\n \"51.12.202.224/28\",\r\n \"\ - 51.107.0.91/32\",\r\n \"51.107.59.0/28\",\r\n \"51.107.96.8/32\"\ - ,\r\n \"51.107.155.0/28\",\r\n \"51.116.0.0/32\",\r\n \ - \ \"51.116.59.0/28\",\r\n \"51.116.96.0/32\",\r\n \ - \ \"51.116.155.64/28\",\r\n \"51.120.2.185/32\",\r\n \"\ - 51.120.98.176/28\",\r\n \"51.120.130.134/32\",\r\n \"51.120.218.224/28\"\ - ,\r\n \"51.137.136.0/32\",\r\n \"51.140.146.60/31\",\r\n\ - \ \"51.140.149.0/28\",\r\n \"51.140.210.84/31\",\r\n \ - \ \"51.140.211.176/28\",\r\n \"51.143.127.203/32\",\r\n \ - \ \"51.145.56.125/32\",\r\n \"51.145.179.78/32\",\r\n \ - \ \"52.139.20.34/32\",\r\n \"52.139.80.117/32\",\r\n \ - \ \"52.139.152.27/32\",\r\n \"52.140.238.179/32\",\r\n \ - \ \"52.142.95.35/32\",\r\n \"52.162.106.148/31\",\r\n \"\ - 52.162.110.80/28\",\r\n \"52.224.186.99/32\",\r\n \"52.231.18.44/31\"\ - ,\r\n \"52.231.19.192/28\",\r\n \"52.231.146.84/31\",\r\n\ - \ \"52.231.147.176/28\",\r\n \"52.253.135.58/32\",\r\n \ - \ \"52.253.159.160/32\",\r\n \"52.253.229.253/32\",\r\n \ - \ \"65.52.164.91/32\",\r\n \"65.52.173.247/32\",\r\n \ - \ \"65.52.250.4/31\",\r\n \"65.52.252.32/28\",\r\n \ - \ \"102.133.0.79/32\",\r\n \"102.133.26.4/31\",\r\n \"102.133.28.0/28\"\ - ,\r\n \"102.133.130.197/32\",\r\n \"102.133.154.4/31\",\r\ - \n \"102.133.156.0/28\",\r\n \"104.41.217.243/32\",\r\n\ - \ \"104.41.218.160/32\",\r\n \"104.211.81.28/31\",\r\n \ - \ \"104.211.81.240/28\",\r\n \"104.211.146.68/31\",\r\n \ - \ \"104.211.147.144/28\",\r\n \"104.214.18.172/31\",\r\n\ - \ \"104.214.19.224/28\",\r\n \"137.117.160.56/32\",\r\n\ - \ \"191.232.18.181/32\",\r\n \"191.233.24.179/32\",\r\n\ - \ \"191.233.50.192/28\",\r\n \"191.233.203.28/31\",\r\n\ - \ \"191.233.203.240/28\",\r\n \"191.238.241.97/32\",\r\n\ - \ \"2603:1000:4:402::140/124\",\r\n \"2603:1000:104:402::140/124\"\ - ,\r\n \"2603:1010:6:402::140/124\",\r\n \"2603:1010:101:402::140/124\"\ - ,\r\n \"2603:1010:304:402::140/124\",\r\n \"2603:1010:404:402::140/124\"\ - ,\r\n \"2603:1020:5:402::140/124\",\r\n \"2603:1020:206:402::140/124\"\ - ,\r\n \"2603:1020:305:402::140/124\",\r\n \"2603:1020:405:402::140/124\"\ - ,\r\n \"2603:1020:605:402::140/124\",\r\n \"2603:1020:705:402::140/124\"\ - ,\r\n \"2603:1020:805:402::140/124\",\r\n \"2603:1020:905:402::140/124\"\ - ,\r\n \"2603:1020:a04:402::140/124\",\r\n \"2603:1020:b04:402::140/124\"\ - ,\r\n \"2603:1020:c04:402::140/124\",\r\n \"2603:1020:d04:402::140/124\"\ - ,\r\n \"2603:1020:e04:402::140/124\",\r\n \"2603:1020:f04:402::140/124\"\ - ,\r\n \"2603:1020:1004:1::700/124\",\r\n \"2603:1020:1004:800::c0/124\"\ - ,\r\n \"2603:1020:1104:1::3c0/124\",\r\n \"2603:1020:1104:400::140/124\"\ - ,\r\n \"2603:1030:f:400::940/124\",\r\n \"2603:1030:10:402::140/124\"\ - ,\r\n \"2603:1030:104:402::140/124\",\r\n \"2603:1030:107:400::c0/124\"\ - ,\r\n \"2603:1030:210:402::140/124\",\r\n \"2603:1030:40b:400::940/124\"\ - ,\r\n \"2603:1030:40c:402::140/124\",\r\n \"2603:1030:608:402::140/124\"\ - ,\r\n \"2603:1030:807:402::140/124\",\r\n \"2603:1030:a07:402::8c0/124\"\ - ,\r\n \"2603:1030:b04:402::140/124\",\r\n \"2603:1030:c06:400::940/124\"\ - ,\r\n \"2603:1030:f05:402::140/124\",\r\n \"2603:1030:1005:402::140/124\"\ - ,\r\n \"2603:1040:5:402::140/124\",\r\n \"2603:1040:207:402::140/124\"\ - ,\r\n \"2603:1040:407:402::140/124\",\r\n \"2603:1040:606:402::140/124\"\ - ,\r\n \"2603:1040:806:402::140/124\",\r\n \"2603:1040:904:402::140/124\"\ - ,\r\n \"2603:1040:a06:402::140/124\",\r\n \"2603:1040:b04:402::140/124\"\ - ,\r\n \"2603:1040:c06:402::140/124\",\r\n \"2603:1040:d04:1::700/124\"\ - ,\r\n \"2603:1040:d04:800::c0/124\",\r\n \"2603:1040:f05:402::140/124\"\ - ,\r\n \"2603:1040:1104:1::400/124\",\r\n \"2603:1040:1104:400::140/124\"\ - ,\r\n \"2603:1050:6:402::140/124\",\r\n \"2603:1050:403:400::2a0/124\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"ApiManagement.AustraliaCentral\"\ - ,\r\n \"id\": \"ApiManagement.AustraliaCentral\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"australiacentral\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureApiManagement\",\r\ - \n \"addressPrefixes\": [\r\n \"20.36.106.68/31\",\r\n \ - \ \"20.36.107.176/28\",\r\n \"20.37.52.67/32\",\r\n \ - \ \"2603:1010:304:402::140/124\"\r\n ]\r\n }\r\n },\r\n \ - \ {\r\n \"name\": \"ApiManagement.AustraliaCentral2\",\r\n \"\ - id\": \"ApiManagement.AustraliaCentral2\",\r\n \"properties\": {\r\n\ - \ \"changeNumber\": \"2\",\r\n \"region\": \"australiacentral2\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureApiManagement\",\r\ - \n \"addressPrefixes\": [\r\n \"20.36.114.20/31\",\r\n \ - \ \"20.36.115.128/28\",\r\n \"20.39.99.81/32\",\r\n \ - \ \"2603:1010:404:402::140/124\"\r\n ]\r\n }\r\n },\r\n \ - \ {\r\n \"name\": \"ApiManagement.AustraliaEast\",\r\n \"id\"\ - : \"ApiManagement.AustraliaEast\",\r\n \"properties\": {\r\n \"\ - changeNumber\": \"2\",\r\n \"region\": \"australiaeast\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"API\"\ - ,\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n \ - \ ],\r\n \"systemService\": \"AzureApiManagement\",\r\n \"\ - addressPrefixes\": [\r\n \"13.70.72.28/31\",\r\n \"13.70.72.240/28\"\ - ,\r\n \"13.75.217.184/32\",\r\n \"13.75.221.78/32\",\r\n\ - \ \"20.40.125.155/32\",\r\n \"2603:1010:6:402::140/124\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"ApiManagement.AustraliaSoutheast\"\ - ,\r\n \"id\": \"ApiManagement.AustraliaSoutheast\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"australiasoutheast\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureApiManagement\",\r\ - \n \"addressPrefixes\": [\r\n \"13.77.50.68/31\",\r\n \ - \ \"13.77.52.224/28\",\r\n \"20.40.160.107/32\",\r\n \ - \ \"2603:1010:101:402::140/124\"\r\n ]\r\n }\r\n },\r\n \ - \ {\r\n \"name\": \"ApiManagement.BrazilSouth\",\r\n \"id\": \"\ - ApiManagement.BrazilSouth\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"2\",\r\n \"region\": \"brazilsouth\",\r\n \"state\": \"\ - GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\n \ - \ \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n ],\r\n \ - \ \"systemService\": \"AzureApiManagement\",\r\n \"addressPrefixes\"\ - : [\r\n \"191.233.24.179/32\",\r\n \"191.233.203.28/31\"\ - ,\r\n \"191.233.203.240/28\",\r\n \"2603:1050:6:402::140/124\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"ApiManagement.CanadaCentral\"\ - ,\r\n \"id\": \"ApiManagement.CanadaCentral\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"canadacentral\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureApiManagement\",\r\ - \n \"addressPrefixes\": [\r\n \"13.71.170.44/31\",\r\n \ - \ \"13.71.172.144/28\",\r\n \"52.139.20.34/32\",\r\n \ - \ \"2603:1030:f05:402::140/124\"\r\n ]\r\n }\r\n },\r\n\ - \ {\r\n \"name\": \"ApiManagement.CanadaEast\",\r\n \"id\": \"\ - ApiManagement.CanadaEast\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"2\",\r\n \"region\": \"canadaeast\",\r\n \"state\": \"GA\"\ - ,\r\n \"networkFeatures\": [\r\n \"API\",\r\n \"\ - NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n ],\r\n \ - \ \"systemService\": \"AzureApiManagement\",\r\n \"addressPrefixes\"\ - : [\r\n \"40.69.106.68/31\",\r\n \"40.69.107.224/28\",\r\ - \n \"52.139.80.117/32\",\r\n \"2603:1030:1005:402::140/124\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"ApiManagement.CentralIndia\"\ - ,\r\n \"id\": \"ApiManagement.CentralIndia\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"centralindia\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureApiManagement\",\r\ - \n \"addressPrefixes\": [\r\n \"13.71.49.1/32\",\r\n \ - \ \"104.211.81.28/31\",\r\n \"104.211.81.240/28\",\r\n \ - \ \"2603:1040:a06:402::140/124\"\r\n ]\r\n }\r\n },\r\n\ - \ {\r\n \"name\": \"ApiManagement.CentralUS\",\r\n \"id\": \"\ - ApiManagement.CentralUS\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"2\",\r\n \"region\": \"centralus\",\r\n \"state\": \"GA\"\ - ,\r\n \"networkFeatures\": [\r\n \"API\",\r\n \"\ - NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n ],\r\n \ - \ \"systemService\": \"AzureApiManagement\",\r\n \"addressPrefixes\"\ - : [\r\n \"13.86.102.66/32\",\r\n \"13.89.170.204/31\",\r\ - \n \"13.89.174.64/28\",\r\n \"2603:1030:10:402::140/124\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"ApiManagement.CentralUSEUAP\"\ - ,\r\n \"id\": \"ApiManagement.CentralUSEUAP\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"centraluseuap\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureApiManagement\",\r\ - \n \"addressPrefixes\": [\r\n \"40.78.202.128/31\",\r\n \ - \ \"40.78.203.160/28\",\r\n \"52.253.159.160/32\",\r\n \ - \ \"2603:1030:f:400::940/124\"\r\n ]\r\n }\r\n },\r\n\ - \ {\r\n \"name\": \"ApiManagement.EastAsia\",\r\n \"id\": \"\ - ApiManagement.EastAsia\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"2\",\r\n \"region\": \"eastasia\",\r\n \"state\": \"GA\"\ - ,\r\n \"networkFeatures\": [\r\n \"API\",\r\n \"\ - NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n ],\r\n \ - \ \"systemService\": \"AzureApiManagement\",\r\n \"addressPrefixes\"\ - : [\r\n \"13.75.34.148/31\",\r\n \"13.75.38.16/28\",\r\n\ - \ \"52.139.152.27/32\",\r\n \"65.52.164.91/32\",\r\n \ - \ \"65.52.173.247/32\",\r\n \"2603:1040:207:402::140/124\"\r\ - \n ]\r\n }\r\n },\r\n {\r\n \"name\": \"ApiManagement.EastUS\"\ - ,\r\n \"id\": \"ApiManagement.EastUS\",\r\n \"properties\": {\r\n\ - \ \"changeNumber\": \"2\",\r\n \"region\": \"eastus\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"AzureApiManagement\",\r\n \ - \ \"addressPrefixes\": [\r\n \"40.71.10.204/31\",\r\n \ - \ \"40.71.13.128/28\",\r\n \"52.224.186.99/32\",\r\n \ - \ \"2603:1030:210:402::140/124\"\r\n ]\r\n }\r\n },\r\n \ - \ {\r\n \"name\": \"ApiManagement.EastUS2\",\r\n \"id\": \"ApiManagement.EastUS2\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \ - \ \"region\": \"eastus2\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n\ - \ \"FW\"\r\n ],\r\n \"systemService\": \"AzureApiManagement\"\ - ,\r\n \"addressPrefixes\": [\r\n \"20.44.72.3/32\",\r\n \ - \ \"40.70.146.76/31\",\r\n \"40.70.148.16/28\",\r\n \ - \ \"2603:1030:40c:402::140/124\"\r\n ]\r\n }\r\n },\r\n\ - \ {\r\n \"name\": \"ApiManagement.EastUS2EUAP\",\r\n \"id\":\ - \ \"ApiManagement.EastUS2EUAP\",\r\n \"properties\": {\r\n \"\ - changeNumber\": \"2\",\r\n \"region\": \"eastus2euap\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"API\"\ - ,\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n \ - \ ],\r\n \"systemService\": \"AzureApiManagement\",\r\n \"\ - addressPrefixes\": [\r\n \"40.74.146.80/31\",\r\n \"40.74.147.32/28\"\ - ,\r\n \"52.253.229.253/32\",\r\n \"2603:1030:40b:400::940/124\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"ApiManagement.FranceCentral\"\ - ,\r\n \"id\": \"ApiManagement.FranceCentral\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"centralfrance\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureApiManagement\",\r\ - \n \"addressPrefixes\": [\r\n \"40.66.60.111/32\",\r\n \ - \ \"40.79.130.44/31\",\r\n \"40.79.131.192/28\",\r\n \ - \ \"2603:1020:805:402::140/124\"\r\n ]\r\n }\r\n },\r\n\ - \ {\r\n \"name\": \"ApiManagement.FranceSouth\",\r\n \"id\":\ - \ \"ApiManagement.FranceSouth\",\r\n \"properties\": {\r\n \"\ - changeNumber\": \"2\",\r\n \"region\": \"southfrance\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"API\"\ - ,\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n \ - \ ],\r\n \"systemService\": \"AzureApiManagement\",\r\n \"\ - addressPrefixes\": [\r\n \"20.39.80.2/32\",\r\n \"40.79.178.68/31\"\ - ,\r\n \"40.79.179.192/28\",\r\n \"2603:1020:905:402::140/124\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"ApiManagement.GermanyNorth\"\ - ,\r\n \"id\": \"ApiManagement.GermanyNorth\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"germanyn\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureApiManagement\",\r\ - \n \"addressPrefixes\": [\r\n \"51.116.0.0/32\",\r\n \ - \ \"51.116.59.0/28\",\r\n \"2603:1020:d04:402::140/124\"\r\n\ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"ApiManagement.GermanyWestCentral\"\ - ,\r\n \"id\": \"ApiManagement.GermanyWestCentral\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"germanywc\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureApiManagement\",\r\ - \n \"addressPrefixes\": [\r\n \"51.116.96.0/32\",\r\n \ - \ \"51.116.155.64/28\",\r\n \"2603:1020:c04:402::140/124\"\r\ - \n ]\r\n }\r\n },\r\n {\r\n \"name\": \"ApiManagement.JapanEast\"\ - ,\r\n \"id\": \"ApiManagement.JapanEast\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"2\",\r\n \"region\": \"japaneast\",\r\ - \n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"AzureApiManagement\",\r\n \ - \ \"addressPrefixes\": [\r\n \"13.78.106.92/31\",\r\n \ - \ \"13.78.108.176/28\",\r\n \"52.140.238.179/32\",\r\n \ - \ \"2603:1040:407:402::140/124\"\r\n ]\r\n }\r\n },\r\n\ - \ {\r\n \"name\": \"ApiManagement.JapanWest\",\r\n \"id\": \"\ - ApiManagement.JapanWest\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"2\",\r\n \"region\": \"japanwest\",\r\n \"state\": \"GA\"\ - ,\r\n \"networkFeatures\": [\r\n \"API\",\r\n \"\ - NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n ],\r\n \ - \ \"systemService\": \"AzureApiManagement\",\r\n \"addressPrefixes\"\ - : [\r\n \"40.74.100.52/31\",\r\n \"40.74.101.48/28\",\r\n\ - \ \"40.81.185.8/32\",\r\n \"2603:1040:606:402::140/124\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"ApiManagement.KoreaCentral\"\ - ,\r\n \"id\": \"ApiManagement.KoreaCentral\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"koreacentral\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureApiManagement\",\r\ - \n \"addressPrefixes\": [\r\n \"40.82.157.167/32\",\r\n \ - \ \"52.231.18.44/31\",\r\n \"52.231.19.192/28\",\r\n \ - \ \"2603:1040:f05:402::140/124\"\r\n ]\r\n }\r\n },\r\n\ - \ {\r\n \"name\": \"ApiManagement.KoreaSouth\",\r\n \"id\": \"\ - ApiManagement.KoreaSouth\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"1\",\r\n \"region\": \"koreasouth\",\r\n \"state\": \"GA\"\ - ,\r\n \"networkFeatures\": [\r\n \"API\",\r\n \"\ - NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n ],\r\n \ - \ \"systemService\": \"AzureApiManagement\",\r\n \"addressPrefixes\"\ - : [\r\n \"40.80.232.185/32\",\r\n \"52.231.146.84/31\",\r\ - \n \"52.231.147.176/28\"\r\n ]\r\n }\r\n },\r\n \ - \ {\r\n \"name\": \"ApiManagement.NorthCentralUS\",\r\n \"id\"\ - : \"ApiManagement.NorthCentralUS\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"2\",\r\n \"region\": \"northcentralus\",\r\n\ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"AzureApiManagement\",\r\n \ - \ \"addressPrefixes\": [\r\n \"23.96.224.175/32\",\r\n \ - \ \"23.101.166.38/32\",\r\n \"40.81.47.216/32\",\r\n \ - \ \"52.162.106.148/31\",\r\n \"52.162.110.80/28\",\r\n \ - \ \"2603:1030:608:402::140/124\"\r\n ]\r\n }\r\n },\r\n \ - \ {\r\n \"name\": \"ApiManagement.NorthEurope\",\r\n \"id\": \"\ - ApiManagement.NorthEurope\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"2\",\r\n \"region\": \"northeurope\",\r\n \"state\": \"\ - GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\n \ - \ \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n ],\r\n \ - \ \"systemService\": \"AzureApiManagement\",\r\n \"addressPrefixes\"\ - : [\r\n \"13.69.227.76/31\",\r\n \"13.69.229.80/28\",\r\n\ - \ \"52.142.95.35/32\",\r\n \"104.41.217.243/32\",\r\n \ - \ \"104.41.218.160/32\",\r\n \"2603:1020:5:402::140/124\"\r\ - \n ]\r\n }\r\n },\r\n {\r\n \"name\": \"ApiManagement.NorwayEast\"\ - ,\r\n \"id\": \"ApiManagement.NorwayEast\",\r\n \"properties\":\ - \ {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"norwaye\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureApiManagement\",\r\ - \n \"addressPrefixes\": [\r\n \"51.120.2.185/32\",\r\n \ - \ \"51.120.98.176/28\",\r\n \"2603:1020:e04:402::140/124\"\r\ - \n ]\r\n }\r\n },\r\n {\r\n \"name\": \"ApiManagement.NorwayWest\"\ - ,\r\n \"id\": \"ApiManagement.NorwayWest\",\r\n \"properties\":\ - \ {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"norwayw\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureApiManagement\",\r\ - \n \"addressPrefixes\": [\r\n \"51.120.130.134/32\",\r\n \ - \ \"51.120.218.224/28\",\r\n \"2603:1020:f04:402::140/124\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"ApiManagement.SouthAfricaNorth\"\ - ,\r\n \"id\": \"ApiManagement.SouthAfricaNorth\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"southafricanorth\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureApiManagement\",\r\ - \n \"addressPrefixes\": [\r\n \"102.133.130.197/32\",\r\n\ - \ \"102.133.154.4/31\",\r\n \"102.133.156.0/28\",\r\n \ - \ \"2603:1000:104:402::140/124\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"ApiManagement.SouthAfricaWest\",\r\n \"\ - id\": \"ApiManagement.SouthAfricaWest\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"2\",\r\n \"region\": \"southafricawest\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureApiManagement\",\r\ - \n \"addressPrefixes\": [\r\n \"102.133.0.79/32\",\r\n \ - \ \"102.133.26.4/31\",\r\n \"102.133.28.0/28\",\r\n \ - \ \"2603:1000:4:402::140/124\"\r\n ]\r\n }\r\n },\r\n \ - \ {\r\n \"name\": \"ApiManagement.SouthCentralUS\",\r\n \"id\":\ - \ \"ApiManagement.SouthCentralUS\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"2\",\r\n \"region\": \"southcentralus\",\r\n\ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"AzureApiManagement\",\r\n \ - \ \"addressPrefixes\": [\r\n \"13.84.189.17/32\",\r\n \ - \ \"13.85.22.63/32\",\r\n \"20.188.77.119/32\",\r\n \ - \ \"104.214.18.172/31\",\r\n \"104.214.19.224/28\",\r\n \ - \ \"191.238.241.97/32\",\r\n \"2603:1030:807:402::140/124\"\r\n \ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"ApiManagement.SoutheastAsia\"\ - ,\r\n \"id\": \"ApiManagement.SoutheastAsia\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"southeastasia\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureApiManagement\",\r\ - \n \"addressPrefixes\": [\r\n \"13.67.8.108/31\",\r\n \ - \ \"13.67.9.208/28\",\r\n \"40.90.185.46/32\",\r\n \ - \ \"2603:1040:5:402::140/124\"\r\n ]\r\n }\r\n },\r\n {\r\ - \n \"name\": \"ApiManagement.SouthIndia\",\r\n \"id\": \"ApiManagement.SouthIndia\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \ - \ \"region\": \"southindia\",\r\n \"state\": \"GA\",\r\n \"\ - networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n \ - \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\"\ - : \"AzureApiManagement\",\r\n \"addressPrefixes\": [\r\n \"\ - 20.44.33.246/32\",\r\n \"40.78.194.68/31\",\r\n \"40.78.195.224/28\"\ - ,\r\n \"2603:1040:c06:402::140/124\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"ApiManagement.SwitzerlandNorth\",\r\n\ - \ \"id\": \"ApiManagement.SwitzerlandNorth\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"switzerlandn\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureApiManagement\",\r\ - \n \"addressPrefixes\": [\r\n \"51.107.0.91/32\",\r\n \ - \ \"51.107.59.0/28\",\r\n \"2603:1020:a04:402::140/124\"\r\n\ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"ApiManagement.SwitzerlandWest\"\ - ,\r\n \"id\": \"ApiManagement.SwitzerlandWest\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"switzerlandw\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureApiManagement\",\r\ - \n \"addressPrefixes\": [\r\n \"51.107.96.8/32\",\r\n \ - \ \"51.107.155.0/28\",\r\n \"2603:1020:b04:402::140/124\"\r\n\ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"ApiManagement.UAECentral\"\ - ,\r\n \"id\": \"ApiManagement.UAECentral\",\r\n \"properties\":\ - \ {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"uaecentral\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureApiManagement\",\r\ - \n \"addressPrefixes\": [\r\n \"20.37.74.224/31\",\r\n \ - \ \"20.37.76.32/28\",\r\n \"20.37.81.41/32\",\r\n \ - \ \"2603:1040:b04:402::140/124\"\r\n ]\r\n }\r\n },\r\n \ - \ {\r\n \"name\": \"ApiManagement.UAENorth\",\r\n \"id\": \"ApiManagement.UAENorth\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \ - \ \"region\": \"uaenorth\",\r\n \"state\": \"GA\",\r\n \"\ - networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n \ - \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\"\ - : \"AzureApiManagement\",\r\n \"addressPrefixes\": [\r\n \"\ - 20.46.144.85/32\",\r\n \"65.52.250.4/31\",\r\n \"65.52.252.32/28\"\ - ,\r\n \"2603:1040:904:402::140/124\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"ApiManagement.UKNorth\",\r\n \"\ - id\": \"ApiManagement.UKNorth\",\r\n \"properties\": {\r\n \"\ - changeNumber\": \"2\",\r\n \"region\": \"uknorth\",\r\n \"state\"\ - : \"GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\n \ - \ \"NSG\",\r\n \"FW\"\r\n ],\r\n \"systemService\"\ - : \"AzureApiManagement\",\r\n \"addressPrefixes\": [\r\n \"\ - 13.87.122.84/31\",\r\n \"13.87.123.144/28\",\r\n \"2603:1020:305:402::140/124\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"ApiManagement.UKSouth\"\ - ,\r\n \"id\": \"ApiManagement.UKSouth\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"2\",\r\n \"region\": \"uksouth\",\r\n\ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"AzureApiManagement\",\r\n \ - \ \"addressPrefixes\": [\r\n \"51.140.146.60/31\",\r\n \ - \ \"51.140.149.0/28\",\r\n \"51.145.56.125/32\",\r\n \ - \ \"2603:1020:705:402::140/124\"\r\n ]\r\n }\r\n },\r\n \ - \ {\r\n \"name\": \"ApiManagement.UKWest\",\r\n \"id\": \"ApiManagement.UKWest\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \ - \ \"region\": \"ukwest\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n\ - \ \"FW\"\r\n ],\r\n \"systemService\": \"AzureApiManagement\"\ - ,\r\n \"addressPrefixes\": [\r\n \"51.137.136.0/32\",\r\n\ - \ \"51.140.210.84/31\",\r\n \"51.140.211.176/28\",\r\n \ - \ \"2603:1020:605:402::140/124\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"ApiManagement.WestCentralUS\",\r\n \"id\"\ - : \"ApiManagement.WestCentralUS\",\r\n \"properties\": {\r\n \"\ - changeNumber\": \"2\",\r\n \"region\": \"westcentralus\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"API\"\ - ,\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n \ - \ ],\r\n \"systemService\": \"AzureApiManagement\",\r\n \"\ - addressPrefixes\": [\r\n \"13.71.194.116/31\",\r\n \"13.71.196.32/28\"\ - ,\r\n \"52.253.135.58/32\",\r\n \"2603:1030:b04:402::140/124\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"ApiManagement.WestEurope\"\ - ,\r\n \"id\": \"ApiManagement.WestEurope\",\r\n \"properties\":\ - \ {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"westeurope\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureApiManagement\",\r\ - \n \"addressPrefixes\": [\r\n \"13.69.64.76/31\",\r\n \ - \ \"13.69.66.144/28\",\r\n \"23.101.67.140/32\",\r\n \ - \ \"51.145.179.78/32\",\r\n \"137.117.160.56/32\",\r\n \ - \ \"2603:1020:206:402::140/124\"\r\n ]\r\n }\r\n },\r\n \ - \ {\r\n \"name\": \"ApiManagement.WestIndia\",\r\n \"id\": \"ApiManagement.WestIndia\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \ - \ \"region\": \"westindia\",\r\n \"state\": \"GA\",\r\n \"\ - networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n \ - \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\"\ - : \"AzureApiManagement\",\r\n \"addressPrefixes\": [\r\n \"\ - 40.81.89.24/32\",\r\n \"104.211.146.68/31\",\r\n \"104.211.147.144/28\"\ - ,\r\n \"2603:1040:806:402::140/124\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"ApiManagement.WestUS\",\r\n \"\ - id\": \"ApiManagement.WestUS\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"2\",\r\n \"region\": \"westus\",\r\n \"state\": \"GA\",\r\ - \n \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\ - ,\r\n \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\"\ - : \"AzureApiManagement\",\r\n \"addressPrefixes\": [\r\n \"\ - 13.64.39.16/32\",\r\n \"40.112.242.148/31\",\r\n \"40.112.243.240/28\"\ - ,\r\n \"2603:1030:a07:402::8c0/124\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"ApiManagement.WestUS2\",\r\n \"\ - id\": \"ApiManagement.WestUS2\",\r\n \"properties\": {\r\n \"\ - changeNumber\": \"2\",\r\n \"region\": \"westus2\",\r\n \"state\"\ - : \"GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\n \ - \ \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n ],\r\n\ - \ \"systemService\": \"AzureApiManagement\",\r\n \"addressPrefixes\"\ - : [\r\n \"13.66.138.92/31\",\r\n \"13.66.140.176/28\",\r\ - \n \"51.143.127.203/32\",\r\n \"2603:1030:c06:400::940/124\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AppConfiguration\"\ - ,\r\n \"id\": \"AppConfiguration\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"2\",\r\n \"region\": \"\",\r\n \"\ - state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\ - \n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n \ - \ ],\r\n \"systemService\": \"AzureAppConfiguration\",\r\n \"\ - addressPrefixes\": [\r\n \"13.66.142.72/29\",\r\n \"13.66.143.192/28\"\ - ,\r\n \"13.66.143.208/29\",\r\n \"13.67.10.112/29\",\r\n\ - \ \"13.67.13.192/28\",\r\n \"13.67.13.208/29\",\r\n \ - \ \"13.69.67.112/29\",\r\n \"13.69.67.240/28\",\r\n \ - \ \"13.69.71.128/29\",\r\n \"13.69.107.72/29\",\r\n \"\ - 13.69.112.144/28\",\r\n \"13.69.112.160/29\",\r\n \"13.69.230.8/29\"\ - ,\r\n \"13.69.230.40/29\",\r\n \"13.69.231.144/28\",\r\n\ - \ \"13.70.74.128/29\",\r\n \"13.70.78.144/28\",\r\n \ - \ \"13.70.78.160/29\",\r\n \"13.71.175.64/28\",\r\n \ - \ \"13.71.175.96/28\",\r\n \"13.71.196.176/28\",\r\n \"\ - 13.71.199.80/28\",\r\n \"13.73.242.56/29\",\r\n \"13.73.244.96/28\"\ - ,\r\n \"13.73.244.112/29\",\r\n \"13.73.255.128/26\",\r\n\ - \ \"13.74.108.160/28\",\r\n \"13.74.108.240/28\",\r\n \ - \ \"13.77.53.88/29\",\r\n \"13.77.53.192/28\",\r\n \ - \ \"13.77.53.208/29\",\r\n \"13.78.109.144/29\",\r\n \"\ - 13.78.109.208/28\",\r\n \"13.78.111.128/29\",\r\n \"13.86.219.192/29\"\ - ,\r\n \"13.86.221.192/28\",\r\n \"13.86.221.208/29\",\r\n\ - \ \"13.87.58.64/29\",\r\n \"13.87.58.80/28\",\r\n \ - \ \"13.87.58.128/29\",\r\n \"13.87.124.64/29\",\r\n \"\ - 13.87.124.80/28\",\r\n \"13.87.124.128/29\",\r\n \"13.89.175.208/28\"\ - ,\r\n \"13.89.178.16/29\",\r\n \"13.89.178.32/29\",\r\n\ - \ \"20.36.108.120/29\",\r\n \"20.36.108.136/29\",\r\n \ - \ \"20.36.108.144/28\",\r\n \"20.36.115.248/29\",\r\n \ - \ \"20.36.117.40/29\",\r\n \"20.36.117.48/28\",\r\n \ - \ \"20.36.123.16/28\",\r\n \"20.36.124.64/26\",\r\n \"\ - 20.37.67.96/28\",\r\n \"20.37.69.64/26\",\r\n \"20.37.76.112/29\"\ - ,\r\n \"20.37.76.144/28\",\r\n \"20.37.76.192/29\",\r\n\ - \ \"20.37.198.144/28\",\r\n \"20.37.227.32/28\",\r\n \ - \ \"20.37.228.128/26\",\r\n \"20.38.128.96/29\",\r\n \ - \ \"20.38.128.112/28\",\r\n \"20.38.128.160/29\",\r\n \ - \ \"20.38.139.96/28\",\r\n \"20.38.141.64/26\",\r\n \"\ - 20.38.147.176/28\",\r\n \"20.38.147.240/28\",\r\n \"20.39.14.16/28\"\ - ,\r\n \"20.40.206.144/28\",\r\n \"20.40.206.160/28\",\r\n\ - \ \"20.40.224.128/26\",\r\n \"20.41.68.64/28\",\r\n \ - \ \"20.41.69.192/26\",\r\n \"20.41.197.48/28\",\r\n \ - \ \"20.42.64.16/28\",\r\n \"20.42.230.144/28\",\r\n \"\ - 20.43.44.144/28\",\r\n \"20.43.46.128/26\",\r\n \"20.43.70.128/28\"\ - ,\r\n \"20.43.121.40/29\",\r\n \"20.43.121.96/28\",\r\n\ - \ \"20.43.121.112/29\",\r\n \"20.44.4.96/29\",\r\n \ - \ \"20.44.4.120/29\",\r\n \"20.44.4.160/28\",\r\n \"\ - 20.44.8.168/29\",\r\n \"20.44.10.96/28\",\r\n \"20.44.10.112/29\"\ - ,\r\n \"20.44.17.56/29\",\r\n \"20.44.17.192/28\",\r\n \ - \ \"20.44.17.208/29\",\r\n \"20.44.27.224/28\",\r\n \ - \ \"20.44.29.32/28\",\r\n \"20.45.116.0/26\",\r\n \"\ - 20.45.123.120/29\",\r\n \"20.45.123.176/28\",\r\n \"20.45.123.224/29\"\ - ,\r\n \"20.45.126.0/27\",\r\n \"20.45.198.0/27\",\r\n \ - \ \"20.45.199.64/26\",\r\n \"20.48.192.192/26\",\r\n \ - \ \"20.49.83.96/27\",\r\n \"20.49.91.96/27\",\r\n \"\ - 20.49.99.80/28\",\r\n \"20.49.103.0/26\",\r\n \"20.49.109.96/28\"\ - ,\r\n \"20.49.115.64/26\",\r\n \"20.49.120.80/28\",\r\n\ - \ \"20.49.127.64/26\",\r\n \"20.50.1.240/28\",\r\n \ - \ \"20.50.65.96/28\",\r\n \"20.51.8.0/26\",\r\n \"20.51.16.0/26\"\ - ,\r\n \"20.53.41.192/26\",\r\n \"20.61.98.0/26\",\r\n \ - \ \"20.62.128.64/26\",\r\n \"20.72.20.192/26\",\r\n \ - \ \"20.72.28.128/27\",\r\n \"20.150.165.176/28\",\r\n \ - \ \"20.150.167.0/26\",\r\n \"20.150.172.64/27\",\r\n \"\ - 20.150.173.32/27\",\r\n \"20.150.179.200/29\",\r\n \"20.150.181.0/28\"\ - ,\r\n \"20.150.181.16/29\",\r\n \"20.150.181.128/27\",\r\ - \n \"20.150.187.200/29\",\r\n \"20.150.189.0/28\",\r\n \ - \ \"20.150.189.16/29\",\r\n \"20.187.194.224/28\",\r\n \ - \ \"20.187.196.128/26\",\r\n \"20.189.224.64/26\",\r\n \ - \ \"20.191.160.192/26\",\r\n \"20.192.99.200/29\",\r\n \ - \ \"20.192.101.0/28\",\r\n \"20.192.101.16/29\",\r\n \ - \ \"20.192.167.0/26\",\r\n \"20.192.231.64/26\",\r\n \"\ - 20.192.235.240/29\",\r\n \"20.192.238.112/29\",\r\n \"20.192.238.192/27\"\ - ,\r\n \"20.193.203.224/27\",\r\n \"20.194.67.64/27\",\r\n\ - \ \"23.98.83.72/29\",\r\n \"23.98.86.32/28\",\r\n \ - \ \"23.98.86.48/29\",\r\n \"23.98.104.176/28\",\r\n \"\ - 23.98.108.64/26\",\r\n \"40.64.132.144/28\",\r\n \"40.67.52.0/26\"\ - ,\r\n \"40.67.60.72/29\",\r\n \"40.67.60.112/28\",\r\n \ - \ \"40.67.60.160/29\",\r\n \"40.69.108.80/29\",\r\n \ - \ \"40.69.108.176/28\",\r\n \"40.69.110.160/29\",\r\n \ - \ \"40.70.148.56/29\",\r\n \"40.70.151.48/28\",\r\n \"\ - 40.70.151.64/29\",\r\n \"40.71.13.248/29\",\r\n \"40.71.14.120/29\"\ - ,\r\n \"40.71.15.128/28\",\r\n \"40.74.149.40/29\",\r\n\ - \ \"40.74.149.56/29\",\r\n \"40.74.149.80/28\",\r\n \ - \ \"40.75.35.72/29\",\r\n \"40.75.35.192/28\",\r\n \ - \ \"40.75.35.208/29\",\r\n \"40.78.196.80/29\",\r\n \"40.78.196.144/28\"\ - ,\r\n \"40.78.196.160/29\",\r\n \"40.78.204.8/29\",\r\n\ - \ \"40.78.204.144/28\",\r\n \"40.78.204.192/29\",\r\n \ - \ \"40.78.229.80/28\",\r\n \"40.78.229.112/28\",\r\n \ - \ \"40.78.236.136/29\",\r\n \"40.78.238.32/28\",\r\n \ - \ \"40.78.238.48/29\",\r\n \"40.78.243.176/28\",\r\n \"\ - 40.78.245.128/28\",\r\n \"40.78.251.144/28\",\r\n \"40.78.251.208/28\"\ - ,\r\n \"40.79.132.88/29\",\r\n \"40.79.139.64/28\",\r\n\ - \ \"40.79.139.128/28\",\r\n \"40.79.146.208/28\",\r\n \ - \ \"40.79.148.64/28\",\r\n \"40.79.156.96/28\",\r\n \ - \ \"40.79.163.64/29\",\r\n \"40.79.163.128/28\",\r\n \ - \ \"40.79.163.144/29\",\r\n \"40.79.165.96/27\",\r\n \"\ - 40.79.171.112/28\",\r\n \"40.79.171.176/28\",\r\n \"40.79.180.48/29\"\ - ,\r\n \"40.79.180.128/28\",\r\n \"40.79.180.144/29\",\r\n\ - \ \"40.79.187.192/29\",\r\n \"40.79.189.32/28\",\r\n \ - \ \"40.79.189.48/29\",\r\n \"40.79.195.176/28\",\r\n \ - \ \"40.79.195.240/28\",\r\n \"40.80.51.112/28\",\r\n \ - \ \"40.80.51.176/28\",\r\n \"40.80.62.32/28\",\r\n \"40.80.172.48/28\"\ - ,\r\n \"40.80.173.64/26\",\r\n \"40.80.176.40/29\",\r\n\ - \ \"40.80.176.56/29\",\r\n \"40.80.176.112/28\",\r\n \ - \ \"40.80.191.240/28\",\r\n \"40.89.20.160/28\",\r\n \ - \ \"40.89.23.128/26\",\r\n \"40.119.11.192/28\",\r\n \ - \ \"40.120.75.128/27\",\r\n \"51.11.192.0/28\",\r\n \"51.11.192.16/29\"\ - ,\r\n \"51.12.43.64/26\",\r\n \"51.12.99.216/29\",\r\n \ - \ \"51.12.100.48/28\",\r\n \"51.12.100.96/29\",\r\n \ - \ \"51.12.102.128/27\",\r\n \"51.12.195.64/26\",\r\n \ - \ \"51.12.204.48/28\",\r\n \"51.12.204.96/28\",\r\n \"\ - 51.12.206.32/27\",\r\n \"51.12.227.200/29\",\r\n \"51.12.229.0/28\"\ - ,\r\n \"51.12.229.16/29\",\r\n \"51.12.235.200/29\",\r\n\ - \ \"51.12.237.0/28\",\r\n \"51.12.237.16/29\",\r\n \ - \ \"51.104.9.48/28\",\r\n \"51.104.29.224/28\",\r\n \ - \ \"51.105.67.184/29\",\r\n \"51.105.67.216/29\",\r\n \"\ - 51.105.69.64/28\",\r\n \"51.105.75.224/28\",\r\n \"51.105.77.32/28\"\ - ,\r\n \"51.105.83.64/26\",\r\n \"51.105.90.176/28\",\r\n\ - \ \"51.105.93.0/26\",\r\n \"51.107.51.48/28\",\r\n \ - \ \"51.107.53.128/26\",\r\n \"51.107.60.56/29\",\r\n \ - \ \"51.107.60.128/28\",\r\n \"51.107.60.144/29\",\r\n \"\ - 51.107.147.48/28\",\r\n \"51.107.148.192/26\",\r\n \"51.107.156.64/29\"\ - ,\r\n \"51.107.156.136/29\",\r\n \"51.107.156.144/28\",\r\ - \n \"51.116.49.192/28\",\r\n \"51.116.51.64/26\",\r\n \ - \ \"51.116.60.56/29\",\r\n \"51.116.60.88/29\",\r\n \ - \ \"51.116.60.128/28\",\r\n \"51.116.145.176/28\",\r\n \ - \ \"51.116.148.0/26\",\r\n \"51.116.156.56/29\",\r\n \"\ - 51.116.156.168/29\",\r\n \"51.116.158.32/28\",\r\n \"51.116.158.48/29\"\ - ,\r\n \"51.116.243.152/29\",\r\n \"51.116.243.192/28\",\r\ - \n \"51.116.243.208/29\",\r\n \"51.116.245.128/27\",\r\n\ - \ \"51.116.251.40/29\",\r\n \"51.116.251.160/28\",\r\n \ - \ \"51.116.251.176/29\",\r\n \"51.116.253.64/27\",\r\n \ - \ \"51.120.43.96/28\",\r\n \"51.120.45.0/26\",\r\n \ - \ \"51.120.100.56/29\",\r\n \"51.120.100.128/28\",\r\n \ - \ \"51.120.100.144/29\",\r\n \"51.120.107.200/29\",\r\n \ - \ \"51.120.109.0/28\",\r\n \"51.120.109.16/29\",\r\n \"\ - 51.120.211.200/29\",\r\n \"51.120.213.0/28\",\r\n \"51.120.213.16/29\"\ - ,\r\n \"51.120.220.56/29\",\r\n \"51.120.220.96/28\",\r\n\ - \ \"51.120.220.112/29\",\r\n \"51.120.227.96/28\",\r\n \ - \ \"51.120.229.0/26\",\r\n \"51.137.164.128/28\",\r\n \ - \ \"51.137.167.0/26\",\r\n \"51.140.148.40/29\",\r\n \ - \ \"51.140.149.16/29\",\r\n \"51.140.212.96/29\",\r\n \ - \ \"51.140.212.192/28\",\r\n \"51.140.212.208/29\",\r\n \ - \ \"51.143.195.64/26\",\r\n \"51.143.208.64/26\",\r\n \"\ - 52.136.51.96/28\",\r\n \"52.136.52.128/26\",\r\n \"52.138.92.88/29\"\ - ,\r\n \"52.138.92.144/28\",\r\n \"52.138.92.160/29\",\r\n\ - \ \"52.138.227.176/28\",\r\n \"52.138.229.48/28\",\r\n \ - \ \"52.140.108.112/28\",\r\n \"52.140.108.128/28\",\r\n \ - \ \"52.140.111.0/26\",\r\n \"52.146.131.192/26\",\r\n \ - \ \"52.150.152.64/28\",\r\n \"52.150.156.128/26\",\r\n \ - \ \"52.162.111.32/28\",\r\n \"52.162.111.112/28\",\r\n \ - \ \"52.167.107.112/28\",\r\n \"52.167.107.240/28\",\r\n \ - \ \"52.172.112.64/26\",\r\n \"52.182.141.0/29\",\r\n \ - \ \"52.182.141.32/28\",\r\n \"52.182.141.48/29\",\r\n \"\ - 52.228.85.208/28\",\r\n \"52.231.20.8/29\",\r\n \"52.231.20.80/28\"\ - ,\r\n \"52.231.23.0/29\",\r\n \"52.231.148.112/29\",\r\n\ - \ \"52.231.148.176/28\",\r\n \"52.231.148.192/29\",\r\n\ - \ \"52.236.186.248/29\",\r\n \"52.236.187.96/28\",\r\n \ - \ \"52.236.189.64/29\",\r\n \"52.246.155.176/28\",\r\n \ - \ \"52.246.155.240/28\",\r\n \"52.246.157.32/27\",\r\n \ - \ \"65.52.252.112/29\",\r\n \"65.52.252.224/28\",\r\n \ - \ \"65.52.252.240/29\",\r\n \"102.133.28.96/29\",\r\n \ - \ \"102.133.28.152/29\",\r\n \"102.133.28.192/28\",\r\n \ - \ \"102.133.58.240/28\",\r\n \"102.133.60.128/26\",\r\n \ - \ \"102.133.124.80/29\",\r\n \"102.133.124.112/28\",\r\n \ - \ \"102.133.124.128/29\",\r\n \"102.133.156.120/29\",\r\n \ - \ \"102.133.156.152/29\",\r\n \"102.133.156.160/28\",\r\n \ - \ \"102.133.218.160/28\",\r\n \"102.133.220.128/26\",\r\n\ - \ \"102.133.251.88/29\",\r\n \"102.133.251.192/28\",\r\n\ - \ \"102.133.251.208/29\",\r\n \"104.46.177.192/26\",\r\n\ - \ \"104.214.161.0/29\",\r\n \"104.214.161.16/28\",\r\n \ - \ \"104.214.161.32/29\",\r\n \"191.233.11.144/28\",\r\n \ - \ \"191.233.14.128/26\",\r\n \"191.233.51.224/27\",\r\n \ - \ \"191.233.205.112/28\",\r\n \"191.233.205.176/28\",\r\n\ - \ \"191.234.136.96/28\",\r\n \"191.234.139.64/26\",\r\n\ - \ \"191.234.147.200/29\",\r\n \"191.234.149.16/28\",\r\n\ - \ \"191.234.149.128/29\",\r\n \"191.234.149.192/27\",\r\n\ - \ \"191.234.155.200/29\",\r\n \"191.234.157.16/28\",\r\n\ - \ \"191.234.157.32/29\",\r\n \"191.234.157.96/27\",\r\n\ - \ \"2603:1000:4:402::2e0/123\",\r\n \"2603:1000:104:402::2e0/123\"\ - ,\r\n \"2603:1000:104:802::220/123\",\r\n \"2603:1000:104:c02::220/123\"\ - ,\r\n \"2603:1010:6:402::2e0/123\",\r\n \"2603:1010:6:802::220/123\"\ - ,\r\n \"2603:1010:6:c02::220/123\",\r\n \"2603:1010:101:402::2e0/123\"\ - ,\r\n \"2603:1010:304:402::2e0/123\",\r\n \"2603:1010:404:402::2e0/123\"\ - ,\r\n \"2603:1020:5:402::2e0/123\",\r\n \"2603:1020:5:802::220/123\"\ - ,\r\n \"2603:1020:5:c02::220/123\",\r\n \"2603:1020:206:402::2e0/123\"\ - ,\r\n \"2603:1020:206:802::220/123\",\r\n \"2603:1020:206:c02::220/123\"\ - ,\r\n \"2603:1020:305:402::2e0/123\",\r\n \"2603:1020:405:402::2e0/123\"\ - ,\r\n \"2603:1020:605:402::2e0/123\",\r\n \"2603:1020:705:402::2e0/123\"\ - ,\r\n \"2603:1020:705:802::220/123\",\r\n \"2603:1020:705:c02::220/123\"\ - ,\r\n \"2603:1020:805:402::2e0/123\",\r\n \"2603:1020:805:802::220/123\"\ - ,\r\n \"2603:1020:805:c02::220/123\",\r\n \"2603:1020:905:402::2e0/123\"\ - ,\r\n \"2603:1020:a04:402::2e0/123\",\r\n \"2603:1020:a04:802::220/123\"\ - ,\r\n \"2603:1020:a04:c02::220/123\",\r\n \"2603:1020:b04:402::2e0/123\"\ - ,\r\n \"2603:1020:c04:402::2e0/123\",\r\n \"2603:1020:c04:802::220/123\"\ - ,\r\n \"2603:1020:c04:c02::220/123\",\r\n \"2603:1020:d04:402::2e0/123\"\ - ,\r\n \"2603:1020:e04:402::2e0/123\",\r\n \"2603:1020:e04:802::220/123\"\ - ,\r\n \"2603:1020:e04:c02::220/123\",\r\n \"2603:1020:f04:402::2e0/123\"\ - ,\r\n \"2603:1020:1004:1::340/122\",\r\n \"2603:1020:1004:400::1e0/123\"\ - ,\r\n \"2603:1020:1004:400::380/123\",\r\n \"2603:1020:1004:c02::280/123\"\ - ,\r\n \"2603:1020:1104:1::100/122\",\r\n \"2603:1020:1104:400::2e0/123\"\ - ,\r\n \"2603:1030:f:400::ae0/123\",\r\n \"2603:1030:10:402::2e0/123\"\ - ,\r\n \"2603:1030:10:802::220/123\",\r\n \"2603:1030:10:c02::220/123\"\ - ,\r\n \"2603:1030:104:402::2e0/123\",\r\n \"2603:1030:107::7c0/122\"\ - ,\r\n \"2603:1030:107:400::260/123\",\r\n \"2603:1030:210:402::2e0/123\"\ - ,\r\n \"2603:1030:210:802::220/123\",\r\n \"2603:1030:210:c02::220/123\"\ - ,\r\n \"2603:1030:40b:400::ae0/123\",\r\n \"2603:1030:40b:800::220/123\"\ - ,\r\n \"2603:1030:40b:c00::220/123\",\r\n \"2603:1030:40c:402::2e0/123\"\ - ,\r\n \"2603:1030:40c:802::220/123\",\r\n \"2603:1030:40c:c02::220/123\"\ - ,\r\n \"2603:1030:504::340/122\",\r\n \"2603:1030:504:402::1e0/123\"\ - ,\r\n \"2603:1030:504:402::380/123\",\r\n \"2603:1030:504:802::260/123\"\ - ,\r\n \"2603:1030:504:c02::280/123\",\r\n \"2603:1030:608:402::2e0/123\"\ - ,\r\n \"2603:1030:807:402::2e0/123\",\r\n \"2603:1030:807:802::220/123\"\ - ,\r\n \"2603:1030:807:c02::220/123\",\r\n \"2603:1030:a07:402::960/123\"\ - ,\r\n \"2603:1030:b04:402::2e0/123\",\r\n \"2603:1030:c06:400::ae0/123\"\ - ,\r\n \"2603:1030:c06:802::220/123\",\r\n \"2603:1030:c06:c02::220/123\"\ - ,\r\n \"2603:1030:f05:402::2e0/123\",\r\n \"2603:1030:f05:802::220/123\"\ - ,\r\n \"2603:1030:f05:c02::220/123\",\r\n \"2603:1030:1005:402::2e0/123\"\ - ,\r\n \"2603:1040:5:402::2e0/123\",\r\n \"2603:1040:5:802::220/123\"\ - ,\r\n \"2603:1040:5:c02::220/123\",\r\n \"2603:1040:207:402::2e0/123\"\ - ,\r\n \"2603:1040:407:402::2e0/123\",\r\n \"2603:1040:407:802::220/123\"\ - ,\r\n \"2603:1040:407:c02::220/123\",\r\n \"2603:1040:606:402::2e0/123\"\ - ,\r\n \"2603:1040:806:402::2e0/123\",\r\n \"2603:1040:904:402::2e0/123\"\ - ,\r\n \"2603:1040:904:802::220/123\",\r\n \"2603:1040:904:c02::220/123\"\ - ,\r\n \"2603:1040:a06:402::2e0/123\",\r\n \"2603:1040:a06:802::220/123\"\ - ,\r\n \"2603:1040:a06:c02::220/123\",\r\n \"2603:1040:b04:402::2e0/123\"\ - ,\r\n \"2603:1040:c06:402::2e0/123\",\r\n \"2603:1040:d04:1::340/122\"\ - ,\r\n \"2603:1040:d04:400::1e0/123\",\r\n \"2603:1040:d04:400::380/123\"\ - ,\r\n \"2603:1040:d04:c02::280/123\",\r\n \"2603:1040:f05:402::2e0/123\"\ - ,\r\n \"2603:1040:f05:802::220/123\",\r\n \"2603:1040:f05:c02::220/123\"\ - ,\r\n \"2603:1040:1104:1::100/122\",\r\n \"2603:1040:1104:400::2e0/123\"\ - ,\r\n \"2603:1050:6:402::2e0/123\",\r\n \"2603:1050:6:802::220/123\"\ - ,\r\n \"2603:1050:6:c02::220/123\",\r\n \"2603:1050:403:400::200/123\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"ApplicationInsightsAvailability\"\ - ,\r\n \"id\": \"ApplicationInsightsAvailability\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"1\",\r\n \"region\": \"\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"ApplicationInsightsAvailability\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.86.97.224/27\",\r\n\ - \ \"13.86.98.0/27\",\r\n \"13.86.98.48/28\",\r\n \ - \ \"13.86.98.64/28\",\r\n \"20.37.156.64/27\",\r\n \"\ - 20.37.192.80/29\",\r\n \"20.38.80.80/28\",\r\n \"20.40.104.96/27\"\ - ,\r\n \"20.40.104.128/27\",\r\n \"20.40.124.176/28\",\r\n\ - \ \"20.40.124.240/28\",\r\n \"20.40.125.80/28\",\r\n \ - \ \"20.40.129.32/27\",\r\n \"20.40.129.64/26\",\r\n \ - \ \"20.40.129.128/27\",\r\n \"20.42.4.64/27\",\r\n \"\ - 20.42.35.32/28\",\r\n \"20.42.35.64/26\",\r\n \"20.42.35.128/28\"\ - ,\r\n \"20.42.129.32/27\",\r\n \"20.43.40.80/28\",\r\n \ - \ \"20.43.64.80/29\",\r\n \"20.43.128.96/29\",\r\n \ - \ \"20.45.5.160/27\",\r\n \"20.45.5.192/26\",\r\n \"\ - 20.189.106.64/29\",\r\n \"23.100.224.16/28\",\r\n \"23.100.224.32/27\"\ - ,\r\n \"23.100.224.64/26\",\r\n \"23.100.225.0/28\",\r\n\ - \ \"40.74.24.80/28\",\r\n \"40.80.186.128/26\",\r\n \ - \ \"40.91.82.48/28\",\r\n \"40.91.82.64/26\",\r\n \"\ - 40.91.82.128/28\",\r\n \"40.119.8.96/27\",\r\n \"51.104.24.80/29\"\ - ,\r\n \"51.105.9.128/27\",\r\n \"51.105.9.160/28\",\r\n\ - \ \"51.137.160.80/29\",\r\n \"51.144.56.96/27\",\r\n \ - \ \"51.144.56.128/26\",\r\n \"52.139.250.96/27\",\r\n \ - \ \"52.139.250.128/27\",\r\n \"52.140.232.160/27\",\r\n \ - \ \"52.140.232.192/28\",\r\n \"52.158.28.64/26\",\r\n \ - \ \"52.229.216.48/28\",\r\n \"52.229.216.64/27\",\r\n \ - \ \"191.233.26.64/28\",\r\n \"191.233.26.128/28\",\r\n \"\ - 191.233.26.176/28\",\r\n \"191.235.224.80/29\"\r\n ]\r\n \ - \ }\r\n },\r\n {\r\n \"name\": \"ApplicationInsightsAvailability.JapanEast\"\ - ,\r\n \"id\": \"ApplicationInsightsAvailability.JapanEast\",\r\n \ - \ \"properties\": {\r\n \"changeNumber\": \"1\",\r\n \"region\"\ - : \"japaneast\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\",\r\n \"FW\"\r\n \ - \ ],\r\n \"systemService\": \"ApplicationInsightsAvailability\"\ - ,\r\n \"addressPrefixes\": [\r\n \"20.43.64.80/29\",\r\n \ - \ \"52.140.232.160/27\",\r\n \"52.140.232.192/28\"\r\n \ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AppService\",\r\ - \n \"id\": \"AppService\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"2\",\r\n \"region\": \"\",\r\n \"state\": \"GA\",\r\n \ - \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\ - \n \"UDR\",\r\n \"FW\",\r\n \"VSE\"\r\n \ - \ ],\r\n \"systemService\": \"AzureAppService\",\r\n \"addressPrefixes\"\ - : [\r\n \"13.64.73.110/32\",\r\n \"13.65.30.245/32\",\r\n\ - \ \"13.65.37.122/32\",\r\n \"13.65.39.165/32\",\r\n \ - \ \"13.65.42.35/32\",\r\n \"13.65.42.183/32\",\r\n \ - \ \"13.65.45.30/32\",\r\n \"13.65.85.146/32\",\r\n \"13.65.89.91/32\"\ - ,\r\n \"13.65.92.72/32\",\r\n \"13.65.94.204/32\",\r\n \ - \ \"13.65.95.109/32\",\r\n \"13.65.97.243/32\",\r\n \ - \ \"13.65.193.29/32\",\r\n \"13.65.210.166/32\",\r\n \ - \ \"13.65.212.252/32\",\r\n \"13.65.241.130/32\",\r\n \"\ - 13.65.243.110/32\",\r\n \"13.66.16.101/32\",\r\n \"13.66.38.99/32\"\ - ,\r\n \"13.66.39.88/32\",\r\n \"13.66.138.96/27\",\r\n \ - \ \"13.66.209.135/32\",\r\n \"13.66.212.205/32\",\r\n \ - \ \"13.66.226.80/32\",\r\n \"13.66.231.217/32\",\r\n \ - \ \"13.66.241.134/32\",\r\n \"13.66.244.249/32\",\r\n \ - \ \"13.67.9.0/25\",\r\n \"13.67.56.225/32\",\r\n \"13.67.63.90/32\"\ - ,\r\n \"13.67.129.26/32\",\r\n \"13.67.141.98/32\",\r\n\ - \ \"13.68.29.136/32\",\r\n \"13.68.101.62/32\",\r\n \ - \ \"13.69.68.0/23\",\r\n \"13.69.186.152/32\",\r\n \ - \ \"13.69.228.0/25\",\r\n \"13.69.253.145/32\",\r\n \"13.70.72.32/27\"\ - ,\r\n \"13.70.123.149/32\",\r\n \"13.70.146.110/32\",\r\n\ - \ \"13.70.147.206/32\",\r\n \"13.71.122.35/32\",\r\n \ - \ \"13.71.123.138/32\",\r\n \"13.71.149.151/32\",\r\n \ - \ \"13.71.170.128/27\",\r\n \"13.71.194.192/27\",\r\n \ - \ \"13.73.1.134/32\",\r\n \"13.73.26.73/32\",\r\n \"13.73.116.45/32\"\ - ,\r\n \"13.73.118.104/32\",\r\n \"13.74.41.233/32\",\r\n\ - \ \"13.74.147.218/32\",\r\n \"13.74.158.5/32\",\r\n \ - \ \"13.74.252.44/32\",\r\n \"13.75.34.160/27\",\r\n \ - \ \"13.75.46.26/32\",\r\n \"13.75.47.15/32\",\r\n \"13.75.89.224/32\"\ - ,\r\n \"13.75.112.108/32\",\r\n \"13.75.115.40/32\",\r\n\ - \ \"13.75.138.224/32\",\r\n \"13.75.147.143/32\",\r\n \ - \ \"13.75.147.201/32\",\r\n \"13.75.218.45/32\",\r\n \ - \ \"13.76.44.139/32\",\r\n \"13.76.245.96/32\",\r\n \ - \ \"13.77.7.175/32\",\r\n \"13.77.50.96/27\",\r\n \"13.77.82.141/32\"\ - ,\r\n \"13.77.83.246/32\",\r\n \"13.77.96.119/32\",\r\n\ - \ \"13.77.157.133/32\",\r\n \"13.77.160.237/32\",\r\n \ - \ \"13.77.182.13/32\",\r\n \"13.78.59.237/32\",\r\n \ - \ \"13.78.106.96/27\",\r\n \"13.78.117.86/32\",\r\n \"\ - 13.78.123.87/32\",\r\n \"13.78.150.96/32\",\r\n \"13.78.184.89/32\"\ - ,\r\n \"13.79.2.71/32\",\r\n \"13.79.38.229/32\",\r\n \ - \ \"13.79.172.40/32\",\r\n \"13.80.19.74/32\",\r\n \ - \ \"13.81.7.21/32\",\r\n \"13.81.108.99/32\",\r\n \"13.81.215.235/32\"\ - ,\r\n \"13.82.93.245/32\",\r\n \"13.82.101.179/32\",\r\n\ - \ \"13.82.175.96/32\",\r\n \"13.84.36.2/32\",\r\n \ - \ \"13.84.40.227/32\",\r\n \"13.84.42.35/32\",\r\n \"\ - 13.84.46.29/32\",\r\n \"13.84.55.137/32\",\r\n \"13.84.146.60/32\"\ - ,\r\n \"13.84.180.32/32\",\r\n \"13.84.181.47/32\",\r\n\ - \ \"13.84.188.162/32\",\r\n \"13.84.189.137/32\",\r\n \ - \ \"13.84.227.164/32\",\r\n \"13.85.15.194/32\",\r\n \ - \ \"13.85.16.224/32\",\r\n \"13.85.20.144/32\",\r\n \ - \ \"13.85.24.220/32\",\r\n \"13.85.27.14/32\",\r\n \"13.85.31.243/32\"\ - ,\r\n \"13.85.72.129/32\",\r\n \"13.85.77.179/32\",\r\n\ - \ \"13.85.82.0/32\",\r\n \"13.89.57.7/32\",\r\n \ - \ \"13.89.172.0/23\",\r\n \"13.89.238.239/32\",\r\n \"\ - 13.90.143.69/32\",\r\n \"13.90.213.204/32\",\r\n \"13.91.40.166/32\"\ - ,\r\n \"13.91.242.166/32\",\r\n \"13.92.139.214/32\",\r\n\ - \ \"13.92.193.110/32\",\r\n \"13.92.237.218/32\",\r\n \ - \ \"13.93.141.10/32\",\r\n \"13.93.158.16/32\",\r\n \ - \ \"13.93.220.109/32\",\r\n \"13.93.231.75/32\",\r\n \ - \ \"13.94.47.87/32\",\r\n \"13.94.143.57/32\",\r\n \"13.94.192.98/32\"\ - ,\r\n \"13.94.211.38/32\",\r\n \"13.95.82.181/32\",\r\n\ - \ \"13.95.93.152/32\",\r\n \"13.95.150.128/32\",\r\n \ - \ \"13.95.238.192/32\",\r\n \"20.36.43.207/32\",\r\n \ - \ \"20.36.72.230/32\",\r\n \"20.36.106.96/27\",\r\n \"\ - 20.36.117.0/27\",\r\n \"20.36.122.0/27\",\r\n \"20.37.66.0/27\"\ - ,\r\n \"20.37.74.96/27\",\r\n \"20.37.196.192/27\",\r\n\ - \ \"20.37.226.0/27\",\r\n \"20.38.138.0/27\",\r\n \ - \ \"20.38.146.160/27\",\r\n \"20.39.11.104/29\",\r\n \ - \ \"20.40.202.0/23\",\r\n \"20.41.66.224/27\",\r\n \"20.41.195.192/27\"\ - ,\r\n \"20.42.26.252/32\",\r\n \"20.42.128.96/27\",\r\n\ - \ \"20.42.228.160/27\",\r\n \"20.43.43.32/27\",\r\n \ - \ \"20.43.67.32/27\",\r\n \"20.43.132.128/25\",\r\n \ - \ \"20.44.2.32/27\",\r\n \"20.44.26.160/27\",\r\n \"20.45.122.160/27\"\ - ,\r\n \"20.45.196.16/29\",\r\n \"20.49.82.32/27\",\r\n \ - \ \"20.49.90.32/27\",\r\n \"20.49.97.0/25\",\r\n \ - \ \"20.49.104.0/25\",\r\n \"20.50.2.0/23\",\r\n \"20.50.64.0/25\"\ - ,\r\n \"20.72.26.32/27\",\r\n \"20.150.170.192/27\",\r\n\ - \ \"20.150.178.160/27\",\r\n \"20.150.186.160/27\",\r\n\ - \ \"20.188.98.74/32\",\r\n \"20.189.104.96/27\",\r\n \ - \ \"20.189.109.96/27\",\r\n \"20.189.112.66/32\",\r\n \ - \ \"20.192.98.160/27\",\r\n \"20.192.234.128/27\",\r\n \ - \ \"20.193.202.128/27\",\r\n \"20.194.66.32/27\",\r\n \ - \ \"23.96.0.52/32\",\r\n \"23.96.1.109/32\",\r\n \"23.96.13.243/32\"\ - ,\r\n \"23.96.32.128/32\",\r\n \"23.96.96.142/32\",\r\n\ - \ \"23.96.103.159/32\",\r\n \"23.96.112.53/32\",\r\n \ - \ \"23.96.113.128/32\",\r\n \"23.96.124.25/32\",\r\n \ - \ \"23.96.187.5/32\",\r\n \"23.96.201.21/32\",\r\n \"\ - 23.96.207.177/32\",\r\n \"23.96.209.155/32\",\r\n \"23.96.220.116/32\"\ - ,\r\n \"23.97.56.169/32\",\r\n \"23.97.79.119/32\",\r\n\ - \ \"23.97.96.32/32\",\r\n \"23.97.160.56/32\",\r\n \ - \ \"23.97.160.74/32\",\r\n \"23.97.162.202/32\",\r\n \ - \ \"23.97.195.129/32\",\r\n \"23.97.208.18/32\",\r\n \"\ - 23.97.214.177/32\",\r\n \"23.97.216.47/32\",\r\n \"23.97.224.11/32\"\ - ,\r\n \"23.98.64.36/32\",\r\n \"23.98.64.158/32\",\r\n \ - \ \"23.99.0.12/32\",\r\n \"23.99.65.65/32\",\r\n \ - \ \"23.99.91.55/32\",\r\n \"23.99.110.192/32\",\r\n \"\ - 23.99.116.70/32\",\r\n \"23.99.128.52/32\",\r\n \"23.99.183.149/32\"\ - ,\r\n \"23.99.192.132/32\",\r\n \"23.99.196.180/32\",\r\n\ - \ \"23.99.206.151/32\",\r\n \"23.99.224.56/32\",\r\n \ - \ \"23.100.1.29/32\",\r\n \"23.100.46.198/32\",\r\n \ - \ \"23.100.48.106/32\",\r\n \"23.100.50.51/32\",\r\n \"\ - 23.100.52.22/32\",\r\n \"23.100.56.27/32\",\r\n \"23.100.72.240/32\"\ - ,\r\n \"23.100.82.11/32\",\r\n \"23.101.10.141/32\",\r\n\ - \ \"23.101.27.182/32\",\r\n \"23.101.54.230/32\",\r\n \ - \ \"23.101.63.214/32\",\r\n \"23.101.67.245/32\",\r\n \ - \ \"23.101.118.145/32\",\r\n \"23.101.119.44/32\",\r\n \ - \ \"23.101.119.163/32\",\r\n \"23.101.120.195/32\",\r\n \ - \ \"23.101.125.65/32\",\r\n \"23.101.147.117/32\",\r\n \ - \ \"23.101.169.175/32\",\r\n \"23.101.171.94/32\",\r\n \ - \ \"23.101.172.244/32\",\r\n \"23.101.180.75/32\",\r\n \ - \ \"23.101.203.117/32\",\r\n \"23.101.203.214/32\",\r\n \ - \ \"23.101.207.250/32\",\r\n \"23.101.208.52/32\",\r\n \ - \ \"23.101.224.24/32\",\r\n \"23.101.230.162/32\",\r\n \"\ - 23.102.12.43/32\",\r\n \"23.102.21.198/32\",\r\n \"23.102.21.212/32\"\ - ,\r\n \"23.102.25.149/32\",\r\n \"23.102.28.178/32\",\r\n\ - \ \"23.102.154.38/32\",\r\n \"23.102.161.217/32\",\r\n \ - \ \"23.102.191.170/32\",\r\n \"40.64.128.224/27\",\r\n \ - \ \"40.67.58.192/27\",\r\n \"40.68.40.55/32\",\r\n \ - \ \"40.68.205.178/32\",\r\n \"40.68.208.131/32\",\r\n \ - \ \"40.68.210.104/32\",\r\n \"40.68.214.185/32\",\r\n \"\ - 40.69.43.225/32\",\r\n \"40.69.88.149/32\",\r\n \"40.69.106.96/27\"\ - ,\r\n \"40.69.190.41/32\",\r\n \"40.69.200.124/32\",\r\n\ - \ \"40.69.210.172/32\",\r\n \"40.69.218.150/32\",\r\n \ - \ \"40.70.27.35/32\",\r\n \"40.70.147.0/25\",\r\n \ - \ \"40.71.0.179/32\",\r\n \"40.71.11.128/25\",\r\n \"40.71.177.34/32\"\ - ,\r\n \"40.71.199.117/32\",\r\n \"40.71.234.254/32\",\r\n\ - \ \"40.71.250.191/32\",\r\n \"40.74.100.128/27\",\r\n \ - \ \"40.74.133.20/32\",\r\n \"40.74.245.188/32\",\r\n \ - \ \"40.74.253.108/32\",\r\n \"40.74.255.112/32\",\r\n \ - \ \"40.76.5.137/32\",\r\n \"40.76.192.15/32\",\r\n \"\ - 40.76.210.54/32\",\r\n \"40.76.218.33/32\",\r\n \"40.76.223.101/32\"\ - ,\r\n \"40.77.56.174/32\",\r\n \"40.78.18.232/32\",\r\n\ - \ \"40.78.25.157/32\",\r\n \"40.78.48.219/32\",\r\n \ - \ \"40.78.194.96/27\",\r\n \"40.78.204.160/27\",\r\n \ - \ \"40.79.65.200/32\",\r\n \"40.79.130.128/27\",\r\n \"\ - 40.79.154.192/27\",\r\n \"40.79.163.160/27\",\r\n \"40.79.171.64/27\"\ - ,\r\n \"40.79.178.96/27\",\r\n \"40.79.195.0/27\",\r\n \ - \ \"40.80.50.160/27\",\r\n \"40.80.58.224/27\",\r\n \ - \ \"40.80.155.102/32\",\r\n \"40.80.156.205/32\",\r\n \ - \ \"40.80.170.224/27\",\r\n \"40.80.191.0/25\",\r\n \"\ - 40.82.191.84/32\",\r\n \"40.82.217.93/32\",\r\n \"40.82.255.128/25\"\ - ,\r\n \"40.83.16.172/32\",\r\n \"40.83.72.59/32\",\r\n \ - \ \"40.83.124.73/32\",\r\n \"40.83.145.50/32\",\r\n \ - \ \"40.83.150.233/32\",\r\n \"40.83.182.206/32\",\r\n \ - \ \"40.83.183.236/32\",\r\n \"40.83.184.25/32\",\r\n \"\ - 40.84.54.203/32\",\r\n \"40.84.59.174/32\",\r\n \"40.84.148.247/32\"\ - ,\r\n \"40.84.159.58/32\",\r\n \"40.84.194.106/32\",\r\n\ - \ \"40.84.226.176/32\",\r\n \"40.84.227.180/32\",\r\n \ - \ \"40.84.232.28/32\",\r\n \"40.85.74.227/32\",\r\n \ - \ \"40.85.92.115/32\",\r\n \"40.85.96.208/32\",\r\n \"\ - 40.85.190.10/32\",\r\n \"40.85.212.173/32\",\r\n \"40.85.230.182/32\"\ - ,\r\n \"40.86.86.144/32\",\r\n \"40.86.91.212/32\",\r\n\ - \ \"40.86.96.177/32\",\r\n \"40.86.99.202/32\",\r\n \ - \ \"40.86.225.89/32\",\r\n \"40.86.230.96/32\",\r\n \ - \ \"40.87.65.131/32\",\r\n \"40.87.70.95/32\",\r\n \"40.89.19.0/27\"\ - ,\r\n \"40.89.131.148/32\",\r\n \"40.89.141.103/32\",\r\n\ - \ \"40.112.69.156/32\",\r\n \"40.112.90.244/32\",\r\n \ - \ \"40.112.93.201/32\",\r\n \"40.112.142.148/32\",\r\n \ - \ \"40.112.143.134/32\",\r\n \"40.112.143.140/32\",\r\n \ - \ \"40.112.143.214/32\",\r\n \"40.112.165.44/32\",\r\n \ - \ \"40.112.166.161/32\",\r\n \"40.112.191.159/32\",\r\n \ - \ \"40.112.192.69/32\",\r\n \"40.112.216.189/32\",\r\n \ - \ \"40.112.243.0/25\",\r\n \"40.113.2.52/32\",\r\n \"\ - 40.113.65.9/32\",\r\n \"40.113.71.148/32\",\r\n \"40.113.81.82/32\"\ - ,\r\n \"40.113.90.202/32\",\r\n \"40.113.126.251/32\",\r\ - \n \"40.113.131.37/32\",\r\n \"40.113.136.240/32\",\r\n\ - \ \"40.113.142.219/32\",\r\n \"40.113.204.88/32\",\r\n \ - \ \"40.113.232.243/32\",\r\n \"40.113.236.45/32\",\r\n \ - \ \"40.114.13.25/32\",\r\n \"40.114.41.245/32\",\r\n \ - \ \"40.114.51.68/32\",\r\n \"40.114.68.21/32\",\r\n \ - \ \"40.114.106.25/32\",\r\n \"40.114.194.188/32\",\r\n \"\ - 40.114.210.78/32\",\r\n \"40.114.228.161/32\",\r\n \"40.114.237.65/32\"\ - ,\r\n \"40.114.243.70/32\",\r\n \"40.115.55.251/32\",\r\n\ - \ \"40.115.98.85/32\",\r\n \"40.115.179.121/32\",\r\n \ - \ \"40.115.251.148/32\",\r\n \"40.117.154.240/32\",\r\n \ - \ \"40.117.188.126/32\",\r\n \"40.117.190.72/32\",\r\n \ - \ \"40.118.29.72/32\",\r\n \"40.118.71.240/32\",\r\n \ - \ \"40.118.96.231/32\",\r\n \"40.118.100.127/32\",\r\n \ - \ \"40.118.101.67/32\",\r\n \"40.118.102.46/32\",\r\n \ - \ \"40.118.185.161/32\",\r\n \"40.118.235.113/32\",\r\n \ - \ \"40.118.246.51/32\",\r\n \"40.118.255.59/32\",\r\n \"\ - 40.119.12.0/23\",\r\n \"40.120.74.32/27\",\r\n \"40.121.8.241/32\"\ - ,\r\n \"40.121.16.193/32\",\r\n \"40.121.32.232/32\",\r\n\ - \ \"40.121.35.221/32\",\r\n \"40.121.91.199/32\",\r\n \ - \ \"40.121.212.165/32\",\r\n \"40.121.221.52/32\",\r\n \ - \ \"40.122.36.65/32\",\r\n \"40.122.65.162/32\",\r\n \ - \ \"40.122.110.154/32\",\r\n \"40.122.114.229/32\",\r\n \ - \ \"40.123.45.47/32\",\r\n \"40.123.47.58/32\",\r\n \"\ - 40.124.12.75/32\",\r\n \"40.124.13.58/32\",\r\n \"40.126.227.158/32\"\ - ,\r\n \"40.126.236.22/32\",\r\n \"40.126.242.59/32\",\r\n\ - \ \"40.126.245.169/32\",\r\n \"40.127.132.204/32\",\r\n\ - \ \"40.127.139.252/32\",\r\n \"40.127.192.244/32\",\r\n\ - \ \"40.127.196.56/32\",\r\n \"51.12.98.192/27\",\r\n \ - \ \"51.12.202.192/27\",\r\n \"51.12.226.160/27\",\r\n \ - \ \"51.12.234.160/27\",\r\n \"51.104.28.64/26\",\r\n \ - \ \"51.105.66.160/27\",\r\n \"51.105.74.160/27\",\r\n \"\ - 51.105.90.32/27\",\r\n \"51.105.172.25/32\",\r\n \"51.107.50.0/27\"\ - ,\r\n \"51.107.58.160/27\",\r\n \"51.107.146.0/27\",\r\n\ - \ \"51.107.154.160/27\",\r\n \"51.116.49.32/27\",\r\n \ - \ \"51.116.58.160/27\",\r\n \"51.116.145.32/27\",\r\n \ - \ \"51.116.154.224/27\",\r\n \"51.116.242.160/27\",\r\n \ - \ \"51.116.250.160/27\",\r\n \"51.120.42.0/27\",\r\n \ - \ \"51.120.98.192/27\",\r\n \"51.120.106.160/27\",\r\n \ - \ \"51.120.210.160/27\",\r\n \"51.120.218.192/27\",\r\n \ - \ \"51.120.226.0/27\",\r\n \"51.136.14.31/32\",\r\n \"\ - 51.137.106.13/32\",\r\n \"51.137.163.32/27\",\r\n \"51.140.37.241/32\"\ - ,\r\n \"51.140.57.176/32\",\r\n \"51.140.59.233/32\",\r\n\ - \ \"51.140.75.147/32\",\r\n \"51.140.84.145/32\",\r\n \ - \ \"51.140.85.106/32\",\r\n \"51.140.87.39/32\",\r\n \ - \ \"51.140.122.226/32\",\r\n \"51.140.146.128/26\",\r\n \ - \ \"51.140.152.154/32\",\r\n \"51.140.153.150/32\",\r\n \ - \ \"51.140.180.76/32\",\r\n \"51.140.185.151/32\",\r\n \ - \ \"51.140.191.223/32\",\r\n \"51.140.210.96/27\",\r\n \ - \ \"51.140.244.162/32\",\r\n \"51.140.245.89/32\",\r\n \ - \ \"51.141.12.112/32\",\r\n \"51.141.37.245/32\",\r\n \"\ - 51.141.44.139/32\",\r\n \"51.141.45.207/32\",\r\n \"51.141.90.252/32\"\ - ,\r\n \"51.143.102.21/32\",\r\n \"51.143.191.44/32\",\r\n\ - \ \"51.144.7.192/32\",\r\n \"51.144.107.53/32\",\r\n \ - \ \"51.144.116.43/32\",\r\n \"51.144.164.215/32\",\r\n \ - \ \"51.144.182.8/32\",\r\n \"52.136.50.0/27\",\r\n \ - \ \"52.136.138.55/32\",\r\n \"52.138.196.70/32\",\r\n \"\ - 52.138.218.121/32\",\r\n \"52.140.106.224/27\",\r\n \"52.143.137.150/32\"\ - ,\r\n \"52.150.140.224/27\",\r\n \"52.151.62.51/32\",\r\n\ - \ \"52.160.40.218/32\",\r\n \"52.161.96.193/32\",\r\n \ - \ \"52.162.107.0/25\",\r\n \"52.162.208.73/32\",\r\n \ - \ \"52.163.122.160/32\",\r\n \"52.164.201.186/32\",\r\n \ - \ \"52.164.250.133/32\",\r\n \"52.165.129.203/32\",\r\n \ - \ \"52.165.135.234/32\",\r\n \"52.165.155.12/32\",\r\n \ - \ \"52.165.155.237/32\",\r\n \"52.165.163.223/32\",\r\n \ - \ \"52.165.168.40/32\",\r\n \"52.165.174.123/32\",\r\n \ - \ \"52.165.184.170/32\",\r\n \"52.165.220.33/32\",\r\n \ - \ \"52.165.224.81/32\",\r\n \"52.165.237.15/32\",\r\n \"\ - 52.166.78.97/32\",\r\n \"52.166.113.188/32\",\r\n \"52.166.119.99/32\"\ - ,\r\n \"52.166.178.208/32\",\r\n \"52.166.181.85/32\",\r\ - \n \"52.166.198.163/32\",\r\n \"52.168.125.188/32\",\r\n\ - \ \"52.169.73.236/32\",\r\n \"52.169.78.163/32\",\r\n \ - \ \"52.169.180.223/32\",\r\n \"52.169.184.163/32\",\r\n \ - \ \"52.169.188.236/32\",\r\n \"52.169.191.40/32\",\r\n \ - \ \"52.170.7.25/32\",\r\n \"52.170.46.174/32\",\r\n \ - \ \"52.171.56.101/32\",\r\n \"52.171.56.110/32\",\r\n \ - \ \"52.171.136.200/32\",\r\n \"52.171.140.237/32\",\r\n \ - \ \"52.171.218.239/32\",\r\n \"52.171.221.170/32\",\r\n \ - \ \"52.171.222.247/32\",\r\n \"52.172.54.225/32\",\r\n \"\ - 52.172.195.80/32\",\r\n \"52.172.204.196/32\",\r\n \"52.172.219.121/32\"\ - ,\r\n \"52.173.28.95/32\",\r\n \"52.173.36.83/32\",\r\n\ - \ \"52.173.76.33/32\",\r\n \"52.173.77.140/32\",\r\n \ - \ \"52.173.83.49/32\",\r\n \"52.173.84.157/32\",\r\n \ - \ \"52.173.87.130/32\",\r\n \"52.173.94.173/32\",\r\n \ - \ \"52.173.134.115/32\",\r\n \"52.173.139.99/32\",\r\n \ - \ \"52.173.139.125/32\",\r\n \"52.173.149.254/32\",\r\n \ - \ \"52.173.151.229/32\",\r\n \"52.173.184.147/32\",\r\n \ - \ \"52.173.245.249/32\",\r\n \"52.173.249.137/32\",\r\n \ - \ \"52.174.3.80/32\",\r\n \"52.174.7.133/32\",\r\n \"52.174.35.5/32\"\ - ,\r\n \"52.174.106.15/32\",\r\n \"52.174.150.25/32\",\r\n\ - \ \"52.174.181.178/32\",\r\n \"52.174.184.18/32\",\r\n \ - \ \"52.174.193.210/32\",\r\n \"52.174.235.29/32\",\r\n \ - \ \"52.175.158.219/32\",\r\n \"52.175.202.25/32\",\r\n \ - \ \"52.175.254.10/32\",\r\n \"52.176.2.229/32\",\r\n \ - \ \"52.176.5.241/32\",\r\n \"52.176.6.0/32\",\r\n \"\ - 52.176.6.37/32\",\r\n \"52.176.61.128/32\",\r\n \"52.176.104.120/32\"\ - ,\r\n \"52.176.149.197/32\",\r\n \"52.176.165.69/32\",\r\ - \n \"52.177.169.150/32\",\r\n \"52.177.189.138/32\",\r\n\ - \ \"52.177.206.73/32\",\r\n \"52.178.29.39/32\",\r\n \ - \ \"52.178.37.244/32\",\r\n \"52.178.43.209/32\",\r\n \ - \ \"52.178.45.139/32\",\r\n \"52.178.46.181/32\",\r\n \ - \ \"52.178.75.200/32\",\r\n \"52.178.79.163/32\",\r\n \ - \ \"52.178.89.129/32\",\r\n \"52.178.90.230/32\",\r\n \"\ - 52.178.92.96/32\",\r\n \"52.178.105.179/32\",\r\n \"52.178.114.226/32\"\ - ,\r\n \"52.178.158.175/32\",\r\n \"52.178.164.235/32\",\r\ - \n \"52.178.179.169/32\",\r\n \"52.178.190.191/32\",\r\n\ - \ \"52.178.201.147/32\",\r\n \"52.178.208.12/32\",\r\n \ - \ \"52.178.212.17/32\",\r\n \"52.178.214.89/32\",\r\n \ - \ \"52.179.97.15/32\",\r\n \"52.179.188.206/32\",\r\n \ - \ \"52.180.178.6/32\",\r\n \"52.180.183.66/32\",\r\n \ - \ \"52.183.82.125/32\",\r\n \"52.184.162.135/32\",\r\n \ - \ \"52.184.193.103/32\",\r\n \"52.184.193.104/32\",\r\n \ - \ \"52.187.17.126/32\",\r\n \"52.187.36.104/32\",\r\n \"\ - 52.187.52.94/32\",\r\n \"52.187.135.79/32\",\r\n \"52.187.206.243/32\"\ - ,\r\n \"52.187.229.23/32\",\r\n \"52.189.213.49/32\",\r\n\ - \ \"52.225.179.39/32\",\r\n \"52.225.190.65/32\",\r\n \ - \ \"52.226.134.64/32\",\r\n \"52.228.42.76/32\",\r\n \ - \ \"52.228.84.32/27\",\r\n \"52.228.121.123/32\",\r\n \ - \ \"52.229.30.210/32\",\r\n \"52.229.115.84/32\",\r\n \ - \ \"52.230.1.186/32\",\r\n \"52.231.18.128/27\",\r\n \"\ - 52.231.32.120/32\",\r\n \"52.231.38.95/32\",\r\n \"52.231.77.58/32\"\ - ,\r\n \"52.231.146.96/27\",\r\n \"52.231.200.101/32\",\r\ - \n \"52.231.200.179/32\",\r\n \"52.232.19.237/32\",\r\n\ - \ \"52.232.26.228/32\",\r\n \"52.232.33.202/32\",\r\n \ - \ \"52.232.56.79/32\",\r\n \"52.232.127.196/32\",\r\n \ - \ \"52.233.38.143/32\",\r\n \"52.233.128.61/32\",\r\n \ - \ \"52.233.133.18/32\",\r\n \"52.233.133.121/32\",\r\n \ - \ \"52.233.155.168/32\",\r\n \"52.233.164.195/32\",\r\n \ - \ \"52.233.175.59/32\",\r\n \"52.233.184.181/32\",\r\n \ - \ \"52.233.198.206/32\",\r\n \"52.234.209.94/32\",\r\n \ - \ \"52.237.18.220/32\",\r\n \"52.237.22.139/32\",\r\n \"\ - 52.237.130.0/32\",\r\n \"52.237.205.163/32\",\r\n \"52.237.214.221/32\"\ - ,\r\n \"52.237.246.162/32\",\r\n \"52.240.149.243/32\",\r\ - \n \"52.240.155.58/32\",\r\n \"52.242.22.213/32\",\r\n \ - \ \"52.242.27.213/32\",\r\n \"52.243.39.89/32\",\r\n \ - \ \"52.246.154.160/27\",\r\n \"52.252.160.21/32\",\r\n \ - \ \"52.253.224.223/32\",\r\n \"52.255.35.249/32\",\r\n \ - \ \"52.255.54.134/32\",\r\n \"65.52.24.41/32\",\r\n \"\ - 65.52.128.33/32\",\r\n \"65.52.130.1/32\",\r\n \"65.52.160.119/32\"\ - ,\r\n \"65.52.168.70/32\",\r\n \"65.52.213.73/32\",\r\n\ - \ \"65.52.217.59/32\",\r\n \"65.52.218.253/32\",\r\n \ - \ \"65.52.250.96/27\",\r\n \"94.245.104.73/32\",\r\n \ - \ \"102.133.26.32/27\",\r\n \"102.133.57.128/27\",\r\n \ - \ \"102.133.122.160/27\",\r\n \"102.133.154.32/27\",\r\n \ - \ \"102.133.218.32/28\",\r\n \"102.133.250.160/27\",\r\n \ - \ \"104.40.3.53/32\",\r\n \"104.40.11.192/32\",\r\n \ - \ \"104.40.28.133/32\",\r\n \"104.40.53.219/32\",\r\n \"\ - 104.40.63.98/32\",\r\n \"104.40.84.133/32\",\r\n \"104.40.92.107/32\"\ - ,\r\n \"104.40.129.89/32\",\r\n \"104.40.147.180/32\",\r\ - \n \"104.40.147.216/32\",\r\n \"104.40.158.55/32\",\r\n\ - \ \"104.40.179.243/32\",\r\n \"104.40.183.236/32\",\r\n\ - \ \"104.40.185.192/32\",\r\n \"104.40.187.26/32\",\r\n \ - \ \"104.40.191.174/32\",\r\n \"104.40.210.25/32\",\r\n \ - \ \"104.40.215.219/32\",\r\n \"104.40.222.81/32\",\r\n \ - \ \"104.40.250.100/32\",\r\n \"104.41.9.139/32\",\r\n \ - \ \"104.41.13.179/32\",\r\n \"104.41.63.108/32\",\r\n \ - \ \"104.41.186.103/32\",\r\n \"104.41.216.137/32\",\r\n \ - \ \"104.41.229.199/32\",\r\n \"104.42.53.248/32\",\r\n \ - \ \"104.42.78.153/32\",\r\n \"104.42.128.171/32\",\r\n \ - \ \"104.42.148.55/32\",\r\n \"104.42.152.64/32\",\r\n \"\ - 104.42.154.105/32\",\r\n \"104.42.188.146/32\",\r\n \"104.42.231.5/32\"\ - ,\r\n \"104.43.129.105/32\",\r\n \"104.43.140.101/32\",\r\ - \n \"104.43.142.33/32\",\r\n \"104.43.221.31/32\",\r\n \ - \ \"104.43.246.71/32\",\r\n \"104.43.254.102/32\",\r\n \ - \ \"104.44.128.13/32\",\r\n \"104.44.130.38/32\",\r\n \ - \ \"104.45.1.117/32\",\r\n \"104.45.14.249/32\",\r\n \ - \ \"104.45.81.79/32\",\r\n \"104.45.95.61/32\",\r\n \"\ - 104.45.129.178/32\",\r\n \"104.45.141.247/32\",\r\n \"104.45.152.13/32\"\ - ,\r\n \"104.45.152.60/32\",\r\n \"104.45.154.200/32\",\r\ - \n \"104.45.226.98/32\",\r\n \"104.45.231.79/32\",\r\n \ - \ \"104.46.38.245/32\",\r\n \"104.46.44.78/32\",\r\n \ - \ \"104.46.61.116/32\",\r\n \"104.46.101.59/32\",\r\n \ - \ \"104.47.137.62/32\",\r\n \"104.47.151.115/32\",\r\n \ - \ \"104.47.160.14/32\",\r\n \"104.47.164.119/32\",\r\n \ - \ \"104.208.48.107/32\",\r\n \"104.209.178.67/32\",\r\n \ - \ \"104.209.192.206/32\",\r\n \"104.209.197.87/32\",\r\n \ - \ \"104.210.38.149/32\",\r\n \"104.210.69.241/32\",\r\n \ - \ \"104.210.92.71/32\",\r\n \"104.210.145.181/32\",\r\n \ - \ \"104.210.147.57/32\",\r\n \"104.210.152.76/32\",\r\n \ - \ \"104.210.152.122/32\",\r\n \"104.210.153.116/32\",\r\n \ - \ \"104.210.158.20/32\",\r\n \"104.211.26.212/32\",\r\n \ - \ \"104.211.81.32/27\",\r\n \"104.211.97.138/32\",\r\n \ - \ \"104.211.146.96/27\",\r\n \"104.211.160.159/32\",\r\n \ - \ \"104.211.179.11/32\",\r\n \"104.211.184.197/32\",\r\n \ - \ \"104.211.224.252/32\",\r\n \"104.211.225.167/32\",\r\n \ - \ \"104.214.20.0/23\",\r\n \"104.214.29.203/32\",\r\n \ - \ \"104.214.64.238/32\",\r\n \"104.214.74.110/32\",\r\n \ - \ \"104.214.77.221/32\",\r\n \"104.214.110.60/32\",\r\n \ - \ \"104.214.110.226/32\",\r\n \"104.214.118.174/32\",\r\n \ - \ \"104.214.119.36/32\",\r\n \"104.214.137.236/32\",\r\n \ - \ \"104.214.231.110/32\",\r\n \"104.214.236.47/32\",\r\n\ - \ \"104.214.237.135/32\",\r\n \"104.215.11.176/32\",\r\n\ - \ \"104.215.58.230/32\",\r\n \"104.215.73.236/32\",\r\n\ - \ \"104.215.78.13/32\",\r\n \"104.215.89.22/32\",\r\n \ - \ \"104.215.147.45/32\",\r\n \"104.215.155.1/32\",\r\n \ - \ \"111.221.95.27/32\",\r\n \"137.116.78.243/32\",\r\n \ - \ \"137.116.88.213/32\",\r\n \"137.116.128.188/32\",\r\n \ - \ \"137.116.153.238/32\",\r\n \"137.117.9.212/32\",\r\n \ - \ \"137.117.17.70/32\",\r\n \"137.117.58.204/32\",\r\n \ - \ \"137.117.66.167/32\",\r\n \"137.117.84.54/32\",\r\n \ - \ \"137.117.90.63/32\",\r\n \"137.117.93.87/32\",\r\n \ - \ \"137.117.166.35/32\",\r\n \"137.117.175.14/32\",\r\n \ - \ \"137.117.203.130/32\",\r\n \"137.117.211.244/32\",\r\n \ - \ \"137.117.218.101/32\",\r\n \"137.117.224.218/32\",\r\n \ - \ \"137.117.225.87/32\",\r\n \"137.135.91.176/32\",\r\n \ - \ \"137.135.107.235/32\",\r\n \"137.135.129.175/32\",\r\n \ - \ \"137.135.133.221/32\",\r\n \"138.91.0.30/32\",\r\n \ - \ \"138.91.16.18/32\",\r\n \"138.91.224.84/32\",\r\n \ - \ \"138.91.225.40/32\",\r\n \"138.91.240.81/32\",\r\n \ - \ \"157.56.13.114/32\",\r\n \"168.61.152.29/32\",\r\n \"\ - 168.61.159.114/32\",\r\n \"168.61.217.214/32\",\r\n \"168.61.218.125/32\"\ - ,\r\n \"168.62.20.37/32\",\r\n \"168.62.48.183/32\",\r\n\ - \ \"168.62.180.173/32\",\r\n \"168.62.224.13/32\",\r\n \ - \ \"168.62.225.23/32\",\r\n \"168.63.5.231/32\",\r\n \ - \ \"168.63.53.239/32\",\r\n \"168.63.107.5/32\",\r\n \ - \ \"191.232.38.77/32\",\r\n \"191.232.176.16/32\",\r\n \ - \ \"191.233.50.32/27\",\r\n \"191.233.82.44/32\",\r\n \"\ - 191.233.85.165/32\",\r\n \"191.233.87.194/32\",\r\n \"191.233.203.32/27\"\ - ,\r\n \"191.234.16.188/32\",\r\n \"191.234.146.160/27\"\ - ,\r\n \"191.234.154.160/27\",\r\n \"191.235.81.73/32\",\r\ - \n \"191.235.90.70/32\",\r\n \"191.235.160.13/32\",\r\n\ - \ \"191.235.176.12/32\",\r\n \"191.235.177.30/32\",\r\n\ - \ \"191.235.208.12/32\",\r\n \"191.235.215.184/32\",\r\n\ - \ \"191.235.228.32/27\",\r\n \"191.236.16.12/32\",\r\n \ - \ \"191.236.59.67/32\",\r\n \"191.236.80.12/32\",\r\n \ - \ \"191.236.106.123/32\",\r\n \"191.236.148.9/32\",\r\n \ - \ \"191.236.192.121/32\",\r\n \"191.237.24.89/32\",\r\n \ - \ \"191.237.27.74/32\",\r\n \"191.237.128.238/32\",\r\n \ - \ \"191.238.8.26/32\",\r\n \"191.238.33.50/32\",\r\n \ - \ \"191.238.176.139/32\",\r\n \"191.238.240.12/32\",\r\n \ - \ \"191.239.58.162/32\",\r\n \"191.239.188.11/32\",\r\n \ - \ \"207.46.144.49/32\",\r\n \"207.46.147.148/32\",\r\n \ - \ \"2603:1000:4:402::a0/123\",\r\n \"2603:1000:104:402::a0/123\"\ - ,\r\n \"2603:1000:104:802::a0/123\",\r\n \"2603:1000:104:c02::a0/123\"\ - ,\r\n \"2603:1010:6:402::a0/123\",\r\n \"2603:1010:6:802::a0/123\"\ - ,\r\n \"2603:1010:6:c02::a0/123\",\r\n \"2603:1010:101:402::a0/123\"\ - ,\r\n \"2603:1010:304:402::a0/123\",\r\n \"2603:1010:404:402::a0/123\"\ - ,\r\n \"2603:1020:5:402::a0/123\",\r\n \"2603:1020:5:802::a0/123\"\ - ,\r\n \"2603:1020:5:c02::a0/123\",\r\n \"2603:1020:206:402::a0/123\"\ - ,\r\n \"2603:1020:206:802::a0/123\",\r\n \"2603:1020:206:c02::a0/123\"\ - ,\r\n \"2603:1020:305:402::a0/123\",\r\n \"2603:1020:405:402::a0/123\"\ - ,\r\n \"2603:1020:605:402::a0/123\",\r\n \"2603:1020:705:402::a0/123\"\ - ,\r\n \"2603:1020:705:802::a0/123\",\r\n \"2603:1020:705:c02::a0/123\"\ - ,\r\n \"2603:1020:805:402::a0/123\",\r\n \"2603:1020:805:802::a0/123\"\ - ,\r\n \"2603:1020:805:c02::a0/123\",\r\n \"2603:1020:905:402::a0/123\"\ - ,\r\n \"2603:1020:a04:402::a0/123\",\r\n \"2603:1020:a04:802::a0/123\"\ - ,\r\n \"2603:1020:a04:c02::a0/123\",\r\n \"2603:1020:b04:402::a0/123\"\ - ,\r\n \"2603:1020:c04:402::a0/123\",\r\n \"2603:1020:c04:802::a0/123\"\ - ,\r\n \"2603:1020:c04:c02::a0/123\",\r\n \"2603:1020:d04:402::a0/123\"\ - ,\r\n \"2603:1020:e04:402::a0/123\",\r\n \"2603:1020:e04:802::a0/123\"\ - ,\r\n \"2603:1020:e04:c02::a0/123\",\r\n \"2603:1020:f04:402::a0/123\"\ - ,\r\n \"2603:1020:1004:400::a0/123\",\r\n \"2603:1020:1004:800::160/123\"\ - ,\r\n \"2603:1020:1004:800::360/123\",\r\n \"2603:1020:1104:400::a0/123\"\ - ,\r\n \"2603:1030:f:400::8a0/123\",\r\n \"2603:1030:10:402::a0/123\"\ - ,\r\n \"2603:1030:10:802::a0/123\",\r\n \"2603:1030:10:c02::a0/123\"\ - ,\r\n \"2603:1030:104:402::a0/123\",\r\n \"2603:1030:107:400::20/123\"\ - ,\r\n \"2603:1030:210:402::a0/123\",\r\n \"2603:1030:210:802::a0/123\"\ - ,\r\n \"2603:1030:210:c02::a0/123\",\r\n \"2603:1030:40b:400::8a0/123\"\ - ,\r\n \"2603:1030:40b:800::a0/123\",\r\n \"2603:1030:40b:c00::a0/123\"\ - ,\r\n \"2603:1030:40c:402::a0/123\",\r\n \"2603:1030:40c:802::a0/123\"\ - ,\r\n \"2603:1030:40c:c02::a0/123\",\r\n \"2603:1030:504:402::a0/123\"\ - ,\r\n \"2603:1030:504:802::160/123\",\r\n \"2603:1030:504:802::360/123\"\ - ,\r\n \"2603:1030:608:402::a0/123\",\r\n \"2603:1030:807:402::a0/123\"\ - ,\r\n \"2603:1030:807:802::a0/123\",\r\n \"2603:1030:807:c02::a0/123\"\ - ,\r\n \"2603:1030:a07:402::a0/123\",\r\n \"2603:1030:b04:402::a0/123\"\ - ,\r\n \"2603:1030:c06:400::8a0/123\",\r\n \"2603:1030:c06:802::a0/123\"\ - ,\r\n \"2603:1030:c06:c02::a0/123\",\r\n \"2603:1030:f05:402::a0/123\"\ - ,\r\n \"2603:1030:f05:802::a0/123\",\r\n \"2603:1030:f05:c02::a0/123\"\ - ,\r\n \"2603:1030:1005:402::a0/123\",\r\n \"2603:1040:5:402::a0/123\"\ - ,\r\n \"2603:1040:5:802::a0/123\",\r\n \"2603:1040:5:c02::a0/123\"\ - ,\r\n \"2603:1040:207:402::a0/123\",\r\n \"2603:1040:407:402::a0/123\"\ - ,\r\n \"2603:1040:407:802::a0/123\",\r\n \"2603:1040:407:c02::a0/123\"\ - ,\r\n \"2603:1040:606:402::a0/123\",\r\n \"2603:1040:806:402::a0/123\"\ - ,\r\n \"2603:1040:904:402::a0/123\",\r\n \"2603:1040:904:802::a0/123\"\ - ,\r\n \"2603:1040:904:c02::a0/123\",\r\n \"2603:1040:a06:402::a0/123\"\ - ,\r\n \"2603:1040:a06:802::a0/123\",\r\n \"2603:1040:a06:c02::a0/123\"\ - ,\r\n \"2603:1040:b04:402::a0/123\",\r\n \"2603:1040:c06:402::a0/123\"\ - ,\r\n \"2603:1040:d04:400::a0/123\",\r\n \"2603:1040:d04:800::160/123\"\ - ,\r\n \"2603:1040:d04:800::360/123\",\r\n \"2603:1040:f05:402::a0/123\"\ - ,\r\n \"2603:1040:f05:802::a0/123\",\r\n \"2603:1040:f05:c02::a0/123\"\ - ,\r\n \"2603:1040:1104:400::a0/123\",\r\n \"2603:1050:6:402::a0/123\"\ - ,\r\n \"2603:1050:6:802::a0/123\",\r\n \"2603:1050:6:c02::a0/123\"\ - ,\r\n \"2603:1050:403:400::a0/123\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"AppService.AustraliaCentral\",\r\n \ - \ \"id\": \"AppService.AustraliaCentral\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"2\",\r\n \"region\": \"australiacentral\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\",\r\n \"VSE\"\r\n ],\r\n \"systemService\": \"\ - AzureAppService\",\r\n \"addressPrefixes\": [\r\n \"20.36.43.207/32\"\ - ,\r\n \"20.36.106.96/27\",\r\n \"20.37.226.0/27\",\r\n \ - \ \"2603:1010:304:402::a0/123\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"AppService.AustraliaCentral2\",\r\n \"id\"\ - : \"AppService.AustraliaCentral2\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"2\",\r\n \"region\": \"australiacentral2\",\r\ - \n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - ,\r\n \"VSE\"\r\n ],\r\n \"systemService\": \"AzureAppService\"\ - ,\r\n \"addressPrefixes\": [\r\n \"20.36.72.230/32\",\r\n\ - \ \"20.36.117.0/27\",\r\n \"20.36.122.0/27\",\r\n \ - \ \"2603:1010:404:402::a0/123\"\r\n ]\r\n }\r\n },\r\n \ - \ {\r\n \"name\": \"AppService.AustraliaEast\",\r\n \"id\": \"\ - AppService.AustraliaEast\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"2\",\r\n \"region\": \"australiaeast\",\r\n \"state\": \"\ - GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\n \ - \ \"NSG\",\r\n \"UDR\",\r\n \"FW\",\r\n \"VSE\"\ - \r\n ],\r\n \"systemService\": \"AzureAppService\",\r\n \ - \ \"addressPrefixes\": [\r\n \"13.70.72.32/27\",\r\n \ - \ \"13.70.123.149/32\",\r\n \"13.75.138.224/32\",\r\n \"\ - 13.75.147.143/32\",\r\n \"13.75.147.201/32\",\r\n \"13.75.218.45/32\"\ - ,\r\n \"20.37.196.192/27\",\r\n \"23.101.208.52/32\",\r\n\ - \ \"40.79.163.160/27\",\r\n \"40.79.171.64/27\",\r\n \ - \ \"40.82.217.93/32\",\r\n \"40.126.227.158/32\",\r\n \ - \ \"40.126.236.22/32\",\r\n \"40.126.242.59/32\",\r\n \ - \ \"40.126.245.169/32\",\r\n \"52.187.206.243/32\",\r\n \ - \ \"52.187.229.23/32\",\r\n \"52.237.205.163/32\",\r\n \ - \ \"52.237.214.221/32\",\r\n \"52.237.246.162/32\",\r\n \ - \ \"104.210.69.241/32\",\r\n \"104.210.92.71/32\",\r\n \ - \ \"2603:1010:6:402::a0/123\",\r\n \"2603:1010:6:802::a0/123\",\r\ - \n \"2603:1010:6:c02::a0/123\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"AppService.AustraliaSoutheast\",\r\n \"\ - id\": \"AppService.AustraliaSoutheast\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"2\",\r\n \"region\": \"australiasoutheast\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\",\r\n \"VSE\"\r\n ],\r\n \"systemService\": \"\ - AzureAppService\",\r\n \"addressPrefixes\": [\r\n \"13.70.146.110/32\"\ - ,\r\n \"13.70.147.206/32\",\r\n \"13.73.116.45/32\",\r\n\ - \ \"13.73.118.104/32\",\r\n \"13.77.7.175/32\",\r\n \ - \ \"13.77.50.96/27\",\r\n \"20.42.228.160/27\",\r\n \ - \ \"23.101.224.24/32\",\r\n \"23.101.230.162/32\",\r\n \ - \ \"52.189.213.49/32\",\r\n \"52.255.35.249/32\",\r\n \"\ - 52.255.54.134/32\",\r\n \"191.239.188.11/32\",\r\n \"2603:1010:101:402::a0/123\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AppService.BrazilSouth\"\ - ,\r\n \"id\": \"AppService.BrazilSouth\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"2\",\r\n \"region\": \"brazilsouth\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\",\r\n \"VSE\"\r\n ],\r\n \"systemService\": \"\ - AzureAppService\",\r\n \"addressPrefixes\": [\r\n \"23.97.96.32/32\"\ - ,\r\n \"104.41.9.139/32\",\r\n \"104.41.13.179/32\",\r\n\ - \ \"104.41.63.108/32\",\r\n \"191.232.38.77/32\",\r\n \ - \ \"191.232.176.16/32\",\r\n \"191.233.203.32/27\",\r\n \ - \ \"191.234.146.160/27\",\r\n \"191.234.154.160/27\",\r\n\ - \ \"191.235.81.73/32\",\r\n \"191.235.90.70/32\",\r\n \ - \ \"191.235.228.32/27\",\r\n \"2603:1050:6:402::a0/123\",\r\ - \n \"2603:1050:6:802::a0/123\",\r\n \"2603:1050:6:c02::a0/123\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AppService.CanadaCentral\"\ - ,\r\n \"id\": \"AppService.CanadaCentral\",\r\n \"properties\":\ - \ {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"canadacentral\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"VSE\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureAppService\",\r\n\ - \ \"addressPrefixes\": [\r\n \"13.71.170.128/27\",\r\n \ - \ \"20.38.146.160/27\",\r\n \"40.82.191.84/32\",\r\n \ - \ \"40.85.212.173/32\",\r\n \"40.85.230.182/32\",\r\n \ - \ \"52.228.42.76/32\",\r\n \"52.228.84.32/27\",\r\n \"\ - 52.228.121.123/32\",\r\n \"52.233.38.143/32\",\r\n \"52.237.18.220/32\"\ - ,\r\n \"52.237.22.139/32\",\r\n \"52.246.154.160/27\",\r\ - \n \"2603:1030:f05:402::a0/123\",\r\n \"2603:1030:f05:802::a0/123\"\ - ,\r\n \"2603:1030:f05:c02::a0/123\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"AppService.CanadaEast\",\r\n \"\ - id\": \"AppService.CanadaEast\",\r\n \"properties\": {\r\n \"\ - changeNumber\": \"2\",\r\n \"region\": \"canadaeast\",\r\n \"\ - state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\ - \n \"NSG\",\r\n \"UDR\",\r\n \"FW\",\r\n \ - \ \"VSE\"\r\n ],\r\n \"systemService\": \"AzureAppService\"\ - ,\r\n \"addressPrefixes\": [\r\n \"40.69.106.96/27\",\r\n\ - \ \"40.86.225.89/32\",\r\n \"40.86.230.96/32\",\r\n \ - \ \"40.89.19.0/27\",\r\n \"52.229.115.84/32\",\r\n \ - \ \"52.242.22.213/32\",\r\n \"52.242.27.213/32\",\r\n \"\ - 2603:1030:1005:402::a0/123\"\r\n ]\r\n }\r\n },\r\n {\r\n\ - \ \"name\": \"AppService.CentralIndia\",\r\n \"id\": \"AppService.CentralIndia\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \ - \ \"region\": \"centralindia\",\r\n \"state\": \"GA\",\r\n \ - \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n\ - \ \"UDR\",\r\n \"FW\",\r\n \"VSE\"\r\n ],\r\ - \n \"systemService\": \"AzureAppService\",\r\n \"addressPrefixes\"\ - : [\r\n \"20.192.98.160/27\",\r\n \"40.80.50.160/27\",\r\ - \n \"52.140.106.224/27\",\r\n \"52.172.195.80/32\",\r\n\ - \ \"52.172.204.196/32\",\r\n \"52.172.219.121/32\",\r\n\ - \ \"104.211.81.32/27\",\r\n \"104.211.97.138/32\",\r\n \ - \ \"2603:1040:a06:402::a0/123\",\r\n \"2603:1040:a06:802::a0/123\"\ - ,\r\n \"2603:1040:a06:c02::a0/123\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"AppService.CentralUS\",\r\n \"id\"\ - : \"AppService.CentralUS\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"2\",\r\n \"region\": \"centralus\",\r\n \"state\": \"GA\"\ - ,\r\n \"networkFeatures\": [\r\n \"API\",\r\n \"\ - NSG\",\r\n \"VSE\",\r\n \"FW\"\r\n ],\r\n \ - \ \"systemService\": \"AzureAppService\",\r\n \"addressPrefixes\":\ - \ [\r\n \"13.67.129.26/32\",\r\n \"13.67.141.98/32\",\r\n\ - \ \"13.89.57.7/32\",\r\n \"13.89.172.0/23\",\r\n \ - \ \"13.89.238.239/32\",\r\n \"20.40.202.0/23\",\r\n \"\ - 23.99.128.52/32\",\r\n \"23.99.183.149/32\",\r\n \"23.99.192.132/32\"\ - ,\r\n \"23.99.196.180/32\",\r\n \"23.99.206.151/32\",\r\n\ - \ \"23.99.224.56/32\",\r\n \"23.100.82.11/32\",\r\n \ - \ \"23.101.118.145/32\",\r\n \"23.101.119.44/32\",\r\n \ - \ \"23.101.119.163/32\",\r\n \"23.101.120.195/32\",\r\n \ - \ \"23.101.125.65/32\",\r\n \"40.69.190.41/32\",\r\n \ - \ \"40.77.56.174/32\",\r\n \"40.83.16.172/32\",\r\n \"\ - 40.86.86.144/32\",\r\n \"40.86.91.212/32\",\r\n \"40.86.96.177/32\"\ - ,\r\n \"40.86.99.202/32\",\r\n \"40.113.204.88/32\",\r\n\ - \ \"40.113.232.243/32\",\r\n \"40.113.236.45/32\",\r\n \ - \ \"40.122.36.65/32\",\r\n \"40.122.65.162/32\",\r\n \ - \ \"40.122.110.154/32\",\r\n \"40.122.114.229/32\",\r\n \ - \ \"52.165.129.203/32\",\r\n \"52.165.135.234/32\",\r\n \ - \ \"52.165.155.12/32\",\r\n \"52.165.155.237/32\",\r\n \ - \ \"52.165.163.223/32\",\r\n \"52.165.168.40/32\",\r\n \ - \ \"52.165.174.123/32\",\r\n \"52.165.184.170/32\",\r\n \ - \ \"52.165.220.33/32\",\r\n \"52.165.224.81/32\",\r\n \ - \ \"52.165.237.15/32\",\r\n \"52.173.28.95/32\",\r\n \"\ - 52.173.36.83/32\",\r\n \"52.173.76.33/32\",\r\n \"52.173.77.140/32\"\ - ,\r\n \"52.173.83.49/32\",\r\n \"52.173.84.157/32\",\r\n\ - \ \"52.173.87.130/32\",\r\n \"52.173.94.173/32\",\r\n \ - \ \"52.173.134.115/32\",\r\n \"52.173.139.99/32\",\r\n \ - \ \"52.173.139.125/32\",\r\n \"52.173.149.254/32\",\r\n \ - \ \"52.173.151.229/32\",\r\n \"52.173.184.147/32\",\r\n \ - \ \"52.173.245.249/32\",\r\n \"52.173.249.137/32\",\r\n \ - \ \"52.176.2.229/32\",\r\n \"52.176.5.241/32\",\r\n \ - \ \"52.176.6.0/32\",\r\n \"52.176.6.37/32\",\r\n \"52.176.61.128/32\"\ - ,\r\n \"52.176.104.120/32\",\r\n \"52.176.149.197/32\",\r\ - \n \"52.176.165.69/32\",\r\n \"104.43.129.105/32\",\r\n\ - \ \"104.43.140.101/32\",\r\n \"104.43.142.33/32\",\r\n \ - \ \"104.43.221.31/32\",\r\n \"104.43.246.71/32\",\r\n \ - \ \"104.43.254.102/32\",\r\n \"168.61.152.29/32\",\r\n \ - \ \"168.61.159.114/32\",\r\n \"168.61.217.214/32\",\r\n \ - \ \"168.61.218.125/32\",\r\n \"2603:1030:10:402::a0/123\",\r\ - \n \"2603:1030:10:802::a0/123\",\r\n \"2603:1030:10:c02::a0/123\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AppService.CentralUSEUAP\"\ - ,\r\n \"id\": \"AppService.CentralUSEUAP\",\r\n \"properties\":\ - \ {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"centraluseuap\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\",\r\n \"VSE\"\r\n ],\r\n \"systemService\": \"\ - AzureAppService\",\r\n \"addressPrefixes\": [\r\n \"20.45.196.16/29\"\ - ,\r\n \"40.78.204.160/27\",\r\n \"52.180.178.6/32\",\r\n\ - \ \"52.180.183.66/32\",\r\n \"104.208.48.107/32\",\r\n \ - \ \"2603:1030:f:400::8a0/123\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"AppService.EastAsia\",\r\n \"id\": \"AppService.EastAsia\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \ - \ \"region\": \"eastasia\",\r\n \"state\": \"GA\",\r\n \"\ - networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n \ - \ \"UDR\",\r\n \"FW\",\r\n \"VSE\"\r\n ],\r\n\ - \ \"systemService\": \"AzureAppService\",\r\n \"addressPrefixes\"\ - : [\r\n \"13.75.34.160/27\",\r\n \"13.75.46.26/32\",\r\n\ - \ \"13.75.47.15/32\",\r\n \"13.75.89.224/32\",\r\n \ - \ \"13.75.112.108/32\",\r\n \"13.75.115.40/32\",\r\n \ - \ \"13.94.47.87/32\",\r\n \"20.189.104.96/27\",\r\n \"\ - 20.189.109.96/27\",\r\n \"20.189.112.66/32\",\r\n \"23.97.79.119/32\"\ - ,\r\n \"23.99.110.192/32\",\r\n \"23.99.116.70/32\",\r\n\ - \ \"23.101.10.141/32\",\r\n \"40.83.72.59/32\",\r\n \ - \ \"40.83.124.73/32\",\r\n \"65.52.160.119/32\",\r\n \ - \ \"65.52.168.70/32\",\r\n \"191.234.16.188/32\",\r\n \ - \ \"207.46.144.49/32\",\r\n \"207.46.147.148/32\",\r\n \"\ - 2603:1040:207:402::a0/123\"\r\n ]\r\n }\r\n },\r\n {\r\n\ - \ \"name\": \"AppService.EastUS\",\r\n \"id\": \"AppService.EastUS\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \ - \ \"region\": \"eastus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n\ - \ \"FW\",\r\n \"VSE\"\r\n ],\r\n \"systemService\"\ - : \"AzureAppService\",\r\n \"addressPrefixes\": [\r\n \"13.82.93.245/32\"\ - ,\r\n \"13.82.101.179/32\",\r\n \"13.82.175.96/32\",\r\n\ - \ \"13.90.143.69/32\",\r\n \"13.90.213.204/32\",\r\n \ - \ \"13.92.139.214/32\",\r\n \"13.92.193.110/32\",\r\n \ - \ \"13.92.237.218/32\",\r\n \"20.42.26.252/32\",\r\n \ - \ \"20.49.104.0/25\",\r\n \"23.96.0.52/32\",\r\n \"23.96.1.109/32\"\ - ,\r\n \"23.96.13.243/32\",\r\n \"23.96.32.128/32\",\r\n\ - \ \"23.96.96.142/32\",\r\n \"23.96.103.159/32\",\r\n \ - \ \"23.96.112.53/32\",\r\n \"23.96.113.128/32\",\r\n \ - \ \"23.96.124.25/32\",\r\n \"40.71.0.179/32\",\r\n \"\ - 40.71.11.128/25\",\r\n \"40.71.177.34/32\",\r\n \"40.71.199.117/32\"\ - ,\r\n \"40.71.234.254/32\",\r\n \"40.71.250.191/32\",\r\n\ - \ \"40.76.5.137/32\",\r\n \"40.76.192.15/32\",\r\n \ - \ \"40.76.210.54/32\",\r\n \"40.76.218.33/32\",\r\n \ - \ \"40.76.223.101/32\",\r\n \"40.79.154.192/27\",\r\n \"\ - 40.85.190.10/32\",\r\n \"40.87.65.131/32\",\r\n \"40.87.70.95/32\"\ - ,\r\n \"40.114.13.25/32\",\r\n \"40.114.41.245/32\",\r\n\ - \ \"40.114.51.68/32\",\r\n \"40.114.68.21/32\",\r\n \ - \ \"40.114.106.25/32\",\r\n \"40.117.154.240/32\",\r\n \ - \ \"40.117.188.126/32\",\r\n \"40.117.190.72/32\",\r\n \ - \ \"40.121.8.241/32\",\r\n \"40.121.16.193/32\",\r\n \ - \ \"40.121.32.232/32\",\r\n \"40.121.35.221/32\",\r\n \"\ - 40.121.91.199/32\",\r\n \"40.121.212.165/32\",\r\n \"40.121.221.52/32\"\ - ,\r\n \"52.168.125.188/32\",\r\n \"52.170.7.25/32\",\r\n\ - \ \"52.170.46.174/32\",\r\n \"52.179.97.15/32\",\r\n \ - \ \"52.226.134.64/32\",\r\n \"52.234.209.94/32\",\r\n \ - \ \"104.45.129.178/32\",\r\n \"104.45.141.247/32\",\r\n \ - \ \"104.45.152.13/32\",\r\n \"104.45.152.60/32\",\r\n \ - \ \"104.45.154.200/32\",\r\n \"104.211.26.212/32\",\r\n \ - \ \"137.117.58.204/32\",\r\n \"137.117.66.167/32\",\r\n \ - \ \"137.117.84.54/32\",\r\n \"137.117.90.63/32\",\r\n \ - \ \"137.117.93.87/32\",\r\n \"137.135.91.176/32\",\r\n \"\ - 137.135.107.235/32\",\r\n \"168.62.48.183/32\",\r\n \"168.62.180.173/32\"\ - ,\r\n \"191.236.16.12/32\",\r\n \"191.236.59.67/32\",\r\n\ - \ \"191.237.24.89/32\",\r\n \"191.237.27.74/32\",\r\n \ - \ \"191.238.8.26/32\",\r\n \"191.238.33.50/32\",\r\n \ - \ \"2603:1030:210:402::a0/123\",\r\n \"2603:1030:210:802::a0/123\"\ - ,\r\n \"2603:1030:210:c02::a0/123\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"AppService.EastUS2\",\r\n \"id\"\ - : \"AppService.EastUS2\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"2\",\r\n \"region\": \"eastus2\",\r\n \"state\": \"GA\"\ - ,\r\n \"networkFeatures\": [\r\n \"API\",\r\n \"\ - NSG\",\r\n \"UDR\",\r\n \"FW\",\r\n \"VSE\"\r\n\ - \ ],\r\n \"systemService\": \"AzureAppService\",\r\n \ - \ \"addressPrefixes\": [\r\n \"13.68.29.136/32\",\r\n \"\ - 13.68.101.62/32\",\r\n \"13.77.82.141/32\",\r\n \"13.77.83.246/32\"\ - ,\r\n \"13.77.96.119/32\",\r\n \"20.49.97.0/25\",\r\n \ - \ \"23.101.147.117/32\",\r\n \"40.70.27.35/32\",\r\n \ - \ \"40.70.147.0/25\",\r\n \"40.79.65.200/32\",\r\n \"\ - 40.84.54.203/32\",\r\n \"40.84.59.174/32\",\r\n \"40.123.45.47/32\"\ - ,\r\n \"40.123.47.58/32\",\r\n \"52.177.169.150/32\",\r\n\ - \ \"52.177.189.138/32\",\r\n \"52.177.206.73/32\",\r\n \ - \ \"52.179.188.206/32\",\r\n \"52.184.162.135/32\",\r\n \ - \ \"52.184.193.103/32\",\r\n \"52.184.193.104/32\",\r\n \ - \ \"104.46.101.59/32\",\r\n \"104.209.178.67/32\",\r\n \ - \ \"104.209.192.206/32\",\r\n \"104.209.197.87/32\",\r\n \ - \ \"137.116.78.243/32\",\r\n \"137.116.88.213/32\",\r\n \ - \ \"191.236.192.121/32\",\r\n \"191.237.128.238/32\",\r\n\ - \ \"2603:1030:40c:402::a0/123\",\r\n \"2603:1030:40c:802::a0/123\"\ - ,\r\n \"2603:1030:40c:c02::a0/123\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"AppService.EastUS2EUAP\",\r\n \"\ - id\": \"AppService.EastUS2EUAP\",\r\n \"properties\": {\r\n \"\ - changeNumber\": \"2\",\r\n \"region\": \"eastus2euap\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"API\"\ - ,\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\",\r\n \ - \ \"VSE\"\r\n ],\r\n \"systemService\": \"AzureAppService\"\ - ,\r\n \"addressPrefixes\": [\r\n \"20.39.11.104/29\",\r\n\ - \ \"52.225.179.39/32\",\r\n \"52.225.190.65/32\",\r\n \ - \ \"52.253.224.223/32\",\r\n \"2603:1030:40b:400::8a0/123\"\ - ,\r\n \"2603:1030:40b:800::a0/123\",\r\n \"2603:1030:40b:c00::a0/123\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AppService.FranceCentral\"\ - ,\r\n \"id\": \"AppService.FranceCentral\",\r\n \"properties\":\ - \ {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"centralfrance\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\",\r\n \"VSE\"\r\n ],\r\n \"systemService\": \"\ - AzureAppService\",\r\n \"addressPrefixes\": [\r\n \"20.43.43.32/27\"\ - ,\r\n \"40.79.130.128/27\",\r\n \"40.89.131.148/32\",\r\n\ - \ \"40.89.141.103/32\",\r\n \"52.143.137.150/32\",\r\n \ - \ \"2603:1020:805:402::a0/123\",\r\n \"2603:1020:805:802::a0/123\"\ - ,\r\n \"2603:1020:805:c02::a0/123\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"AppService.FranceSouth\",\r\n \"\ - id\": \"AppService.FranceSouth\",\r\n \"properties\": {\r\n \"\ - changeNumber\": \"2\",\r\n \"region\": \"southfrance\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"API\"\ - ,\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\",\r\n \ - \ \"VSE\"\r\n ],\r\n \"systemService\": \"AzureAppService\"\ - ,\r\n \"addressPrefixes\": [\r\n \"40.79.178.96/27\",\r\n\ - \ \"51.105.90.32/27\",\r\n \"52.136.138.55/32\",\r\n \ - \ \"2603:1020:905:402::a0/123\"\r\n ]\r\n }\r\n },\r\n\ - \ {\r\n \"name\": \"AppService.GermanyNorth\",\r\n \"id\": \"\ - AppService.GermanyNorth\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"2\",\r\n \"region\": \"germanyn\",\r\n \"state\": \"GA\"\ - ,\r\n \"networkFeatures\": [\r\n \"API\",\r\n \"\ - NSG\",\r\n \"VSE\",\r\n \"FW\"\r\n ],\r\n \ - \ \"systemService\": \"AzureAppService\",\r\n \"addressPrefixes\":\ - \ [\r\n \"51.116.49.32/27\",\r\n \"51.116.58.160/27\",\r\ - \n \"2603:1020:d04:402::a0/123\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"AppService.GermanyWestCentral\",\r\n \"\ - id\": \"AppService.GermanyWestCentral\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"2\",\r\n \"region\": \"germanywc\",\r\n\ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - ,\r\n \"VSE\"\r\n ],\r\n \"systemService\": \"AzureAppService\"\ - ,\r\n \"addressPrefixes\": [\r\n \"51.116.145.32/27\",\r\n\ - \ \"51.116.154.224/27\",\r\n \"51.116.242.160/27\",\r\n\ - \ \"51.116.250.160/27\",\r\n \"2603:1020:c04:402::a0/123\"\ - ,\r\n \"2603:1020:c04:802::a0/123\",\r\n \"2603:1020:c04:c02::a0/123\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AppService.JapanEast\"\ - ,\r\n \"id\": \"AppService.JapanEast\",\r\n \"properties\": {\r\n\ - \ \"changeNumber\": \"2\",\r\n \"region\": \"japaneast\",\r\n\ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - ,\r\n \"VSE\"\r\n ],\r\n \"systemService\": \"AzureAppService\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.71.149.151/32\",\r\n\ - \ \"13.73.1.134/32\",\r\n \"13.73.26.73/32\",\r\n \ - \ \"13.78.59.237/32\",\r\n \"13.78.106.96/27\",\r\n \"\ - 13.78.117.86/32\",\r\n \"13.78.123.87/32\",\r\n \"20.43.67.32/27\"\ - ,\r\n \"40.79.195.0/27\",\r\n \"40.115.179.121/32\",\r\n\ - \ \"40.115.251.148/32\",\r\n \"52.243.39.89/32\",\r\n \ - \ \"104.41.186.103/32\",\r\n \"138.91.0.30/32\",\r\n \ - \ \"2603:1040:407:402::a0/123\",\r\n \"2603:1040:407:802::a0/123\"\ - ,\r\n \"2603:1040:407:c02::a0/123\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"AppService.JapanWest\",\r\n \"id\"\ - : \"AppService.JapanWest\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"2\",\r\n \"region\": \"japanwest\",\r\n \"state\": \"GA\"\ - ,\r\n \"networkFeatures\": [\r\n \"API\",\r\n \"\ - NSG\",\r\n \"UDR\",\r\n \"FW\",\r\n \"VSE\"\r\n\ - \ ],\r\n \"systemService\": \"AzureAppService\",\r\n \ - \ \"addressPrefixes\": [\r\n \"40.74.100.128/27\",\r\n \"\ - 40.74.133.20/32\",\r\n \"40.80.58.224/27\",\r\n \"52.175.158.219/32\"\ - ,\r\n \"104.214.137.236/32\",\r\n \"104.215.11.176/32\"\ - ,\r\n \"104.215.58.230/32\",\r\n \"138.91.16.18/32\",\r\n\ - \ \"2603:1040:606:402::a0/123\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"AppService.KoreaCentral\",\r\n \"id\": \"\ - AppService.KoreaCentral\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"2\",\r\n \"region\": \"koreacentral\",\r\n \"state\": \"\ - GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\n \ - \ \"NSG\",\r\n \"UDR\",\r\n \"FW\",\r\n \"VSE\"\ - \r\n ],\r\n \"systemService\": \"AzureAppService\",\r\n \ - \ \"addressPrefixes\": [\r\n \"20.41.66.224/27\",\r\n \ - \ \"20.44.26.160/27\",\r\n \"20.194.66.32/27\",\r\n \"\ - 52.231.18.128/27\",\r\n \"52.231.32.120/32\",\r\n \"52.231.38.95/32\"\ - ,\r\n \"52.231.77.58/32\",\r\n \"2603:1040:f05:402::a0/123\"\ - ,\r\n \"2603:1040:f05:802::a0/123\",\r\n \"2603:1040:f05:c02::a0/123\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AppService.KoreaSouth\"\ - ,\r\n \"id\": \"AppService.KoreaSouth\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"1\",\r\n \"region\": \"koreasouth\",\r\ - \n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - ,\r\n \"VSE\"\r\n ],\r\n \"systemService\": \"AzureAppService\"\ - ,\r\n \"addressPrefixes\": [\r\n \"40.80.170.224/27\",\r\n\ - \ \"52.231.146.96/27\",\r\n \"52.231.200.101/32\",\r\n \ - \ \"52.231.200.179/32\"\r\n ]\r\n }\r\n },\r\n {\r\ - \n \"name\": \"AppService.NorthCentralUS\",\r\n \"id\": \"AppService.NorthCentralUS\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \ - \ \"region\": \"northcentralus\",\r\n \"state\": \"GA\",\r\n \ - \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n\ - \ \"UDR\",\r\n \"FW\",\r\n \"VSE\"\r\n ],\r\ - \n \"systemService\": \"AzureAppService\",\r\n \"addressPrefixes\"\ - : [\r\n \"23.96.187.5/32\",\r\n \"23.96.201.21/32\",\r\n\ - \ \"23.96.207.177/32\",\r\n \"23.96.209.155/32\",\r\n \ - \ \"23.96.220.116/32\",\r\n \"23.100.72.240/32\",\r\n \ - \ \"23.101.169.175/32\",\r\n \"23.101.171.94/32\",\r\n \ - \ \"23.101.172.244/32\",\r\n \"40.80.191.0/25\",\r\n \ - \ \"52.162.107.0/25\",\r\n \"52.162.208.73/32\",\r\n \"\ - 52.237.130.0/32\",\r\n \"52.240.149.243/32\",\r\n \"52.240.155.58/32\"\ - ,\r\n \"52.252.160.21/32\",\r\n \"65.52.24.41/32\",\r\n\ - \ \"65.52.213.73/32\",\r\n \"65.52.217.59/32\",\r\n \ - \ \"65.52.218.253/32\",\r\n \"157.56.13.114/32\",\r\n \ - \ \"168.62.224.13/32\",\r\n \"168.62.225.23/32\",\r\n \ - \ \"191.236.148.9/32\",\r\n \"2603:1030:608:402::a0/123\"\r\n \ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AppService.NorthEurope\"\ - ,\r\n \"id\": \"AppService.NorthEurope\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"2\",\r\n \"region\": \"northeurope\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\",\r\n \"VSE\"\r\n ],\r\n \"systemService\": \"\ - AzureAppService\",\r\n \"addressPrefixes\": [\r\n \"13.69.186.152/32\"\ - ,\r\n \"13.69.228.0/25\",\r\n \"13.69.253.145/32\",\r\n\ - \ \"13.74.41.233/32\",\r\n \"13.74.147.218/32\",\r\n \ - \ \"13.74.158.5/32\",\r\n \"13.74.252.44/32\",\r\n \ - \ \"13.79.2.71/32\",\r\n \"13.79.38.229/32\",\r\n \"13.79.172.40/32\"\ - ,\r\n \"20.50.64.0/25\",\r\n \"23.100.48.106/32\",\r\n \ - \ \"23.100.50.51/32\",\r\n \"23.100.52.22/32\",\r\n \ - \ \"23.100.56.27/32\",\r\n \"23.101.54.230/32\",\r\n \ - \ \"23.101.63.214/32\",\r\n \"23.102.12.43/32\",\r\n \"\ - 23.102.21.198/32\",\r\n \"23.102.21.212/32\",\r\n \"23.102.25.149/32\"\ - ,\r\n \"23.102.28.178/32\",\r\n \"40.69.43.225/32\",\r\n\ - \ \"40.69.88.149/32\",\r\n \"40.69.200.124/32\",\r\n \ - \ \"40.69.210.172/32\",\r\n \"40.69.218.150/32\",\r\n \ - \ \"40.85.74.227/32\",\r\n \"40.85.92.115/32\",\r\n \ - \ \"40.85.96.208/32\",\r\n \"40.112.69.156/32\",\r\n \"\ - 40.112.90.244/32\",\r\n \"40.112.93.201/32\",\r\n \"40.113.2.52/32\"\ - ,\r\n \"40.113.65.9/32\",\r\n \"40.113.71.148/32\",\r\n\ - \ \"40.113.81.82/32\",\r\n \"40.113.90.202/32\",\r\n \ - \ \"40.115.98.85/32\",\r\n \"40.127.132.204/32\",\r\n \ - \ \"40.127.139.252/32\",\r\n \"40.127.192.244/32\",\r\n \ - \ \"40.127.196.56/32\",\r\n \"52.138.196.70/32\",\r\n \ - \ \"52.138.218.121/32\",\r\n \"52.164.201.186/32\",\r\n \ - \ \"52.164.250.133/32\",\r\n \"52.169.73.236/32\",\r\n \ - \ \"52.169.78.163/32\",\r\n \"52.169.180.223/32\",\r\n \ - \ \"52.169.184.163/32\",\r\n \"52.169.188.236/32\",\r\n \ - \ \"52.169.191.40/32\",\r\n \"52.178.158.175/32\",\r\n \"\ - 52.178.164.235/32\",\r\n \"52.178.179.169/32\",\r\n \"52.178.190.191/32\"\ - ,\r\n \"52.178.201.147/32\",\r\n \"52.178.208.12/32\",\r\ - \n \"52.178.212.17/32\",\r\n \"52.178.214.89/32\",\r\n \ - \ \"94.245.104.73/32\",\r\n \"104.41.216.137/32\",\r\n \ - \ \"104.41.229.199/32\",\r\n \"104.45.81.79/32\",\r\n \ - \ \"104.45.95.61/32\",\r\n \"137.135.129.175/32\",\r\n \ - \ \"137.135.133.221/32\",\r\n \"168.63.53.239/32\",\r\n \ - \ \"191.235.160.13/32\",\r\n \"191.235.176.12/32\",\r\n \ - \ \"191.235.177.30/32\",\r\n \"191.235.208.12/32\",\r\n \ - \ \"191.235.215.184/32\",\r\n \"2603:1020:5:402::a0/123\",\r\n\ - \ \"2603:1020:5:802::a0/123\",\r\n \"2603:1020:5:c02::a0/123\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AppService.NorwayEast\"\ - ,\r\n \"id\": \"AppService.NorwayEast\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"2\",\r\n \"region\": \"norwaye\",\r\n\ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - ,\r\n \"VSE\"\r\n ],\r\n \"systemService\": \"AzureAppService\"\ - ,\r\n \"addressPrefixes\": [\r\n \"51.120.42.0/27\",\r\n \ - \ \"51.120.98.192/27\",\r\n \"51.120.106.160/27\",\r\n \ - \ \"51.120.210.160/27\",\r\n \"2603:1020:e04:402::a0/123\"\ - ,\r\n \"2603:1020:e04:802::a0/123\",\r\n \"2603:1020:e04:c02::a0/123\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AppService.NorwayWest\"\ - ,\r\n \"id\": \"AppService.NorwayWest\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"2\",\r\n \"region\": \"norwayw\",\r\n\ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - ,\r\n \"VSE\"\r\n ],\r\n \"systemService\": \"AzureAppService\"\ - ,\r\n \"addressPrefixes\": [\r\n \"51.120.218.192/27\",\r\n\ - \ \"51.120.226.0/27\",\r\n \"2603:1020:f04:402::a0/123\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AppService.SouthAfricaNorth\"\ - ,\r\n \"id\": \"AppService.SouthAfricaNorth\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"southafricanorth\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\",\r\n \"VSE\"\r\n ],\r\n \"systemService\": \"\ - AzureAppService\",\r\n \"addressPrefixes\": [\r\n \"102.133.122.160/27\"\ - ,\r\n \"102.133.154.32/27\",\r\n \"102.133.218.32/28\",\r\ - \n \"102.133.250.160/27\",\r\n \"2603:1000:104:402::a0/123\"\ - ,\r\n \"2603:1000:104:802::a0/123\",\r\n \"2603:1000:104:c02::a0/123\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AppService.SouthAfricaWest\"\ - ,\r\n \"id\": \"AppService.SouthAfricaWest\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"southafricawest\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\",\r\n \"VSE\"\r\n ],\r\n \"systemService\": \"\ - AzureAppService\",\r\n \"addressPrefixes\": [\r\n \"102.133.26.32/27\"\ - ,\r\n \"102.133.57.128/27\",\r\n \"2603:1000:4:402::a0/123\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AppService.SouthCentralUS\"\ - ,\r\n \"id\": \"AppService.SouthCentralUS\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"southcentralus\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\",\r\n \"VSE\"\r\n ],\r\n \"systemService\": \"\ - AzureAppService\",\r\n \"addressPrefixes\": [\r\n \"13.65.30.245/32\"\ - ,\r\n \"13.65.37.122/32\",\r\n \"13.65.39.165/32\",\r\n\ - \ \"13.65.42.35/32\",\r\n \"13.65.42.183/32\",\r\n \ - \ \"13.65.45.30/32\",\r\n \"13.65.85.146/32\",\r\n \"\ - 13.65.89.91/32\",\r\n \"13.65.92.72/32\",\r\n \"13.65.94.204/32\"\ - ,\r\n \"13.65.95.109/32\",\r\n \"13.65.97.243/32\",\r\n\ - \ \"13.65.193.29/32\",\r\n \"13.65.210.166/32\",\r\n \ - \ \"13.65.212.252/32\",\r\n \"13.65.241.130/32\",\r\n \ - \ \"13.65.243.110/32\",\r\n \"13.66.16.101/32\",\r\n \ - \ \"13.66.38.99/32\",\r\n \"13.66.39.88/32\",\r\n \"13.84.36.2/32\"\ - ,\r\n \"13.84.40.227/32\",\r\n \"13.84.42.35/32\",\r\n \ - \ \"13.84.46.29/32\",\r\n \"13.84.55.137/32\",\r\n \ - \ \"13.84.146.60/32\",\r\n \"13.84.180.32/32\",\r\n \"\ - 13.84.181.47/32\",\r\n \"13.84.188.162/32\",\r\n \"13.84.189.137/32\"\ - ,\r\n \"13.84.227.164/32\",\r\n \"13.85.15.194/32\",\r\n\ - \ \"13.85.16.224/32\",\r\n \"13.85.20.144/32\",\r\n \ - \ \"13.85.24.220/32\",\r\n \"13.85.27.14/32\",\r\n \ - \ \"13.85.31.243/32\",\r\n \"13.85.72.129/32\",\r\n \"13.85.77.179/32\"\ - ,\r\n \"13.85.82.0/32\",\r\n \"20.45.122.160/27\",\r\n \ - \ \"20.49.90.32/27\",\r\n \"23.101.180.75/32\",\r\n \ - \ \"23.102.154.38/32\",\r\n \"23.102.161.217/32\",\r\n \ - \ \"23.102.191.170/32\",\r\n \"40.74.245.188/32\",\r\n \ - \ \"40.74.253.108/32\",\r\n \"40.74.255.112/32\",\r\n \ - \ \"40.84.148.247/32\",\r\n \"40.84.159.58/32\",\r\n \"\ - 40.84.194.106/32\",\r\n \"40.84.226.176/32\",\r\n \"40.84.227.180/32\"\ - ,\r\n \"40.84.232.28/32\",\r\n \"40.119.12.0/23\",\r\n \ - \ \"40.124.12.75/32\",\r\n \"40.124.13.58/32\",\r\n \ - \ \"52.171.56.101/32\",\r\n \"52.171.56.110/32\",\r\n \ - \ \"52.171.136.200/32\",\r\n \"52.171.140.237/32\",\r\n \ - \ \"52.171.218.239/32\",\r\n \"52.171.221.170/32\",\r\n \ - \ \"52.171.222.247/32\",\r\n \"104.44.128.13/32\",\r\n \ - \ \"104.44.130.38/32\",\r\n \"104.210.145.181/32\",\r\n \ - \ \"104.210.147.57/32\",\r\n \"104.210.152.76/32\",\r\n \ - \ \"104.210.152.122/32\",\r\n \"104.210.153.116/32\",\r\n \ - \ \"104.210.158.20/32\",\r\n \"104.214.20.0/23\",\r\n \ - \ \"104.214.29.203/32\",\r\n \"104.214.64.238/32\",\r\n \ - \ \"104.214.74.110/32\",\r\n \"104.214.77.221/32\",\r\n \ - \ \"104.214.110.60/32\",\r\n \"104.214.110.226/32\",\r\n \ - \ \"104.214.118.174/32\",\r\n \"104.214.119.36/32\",\r\n \ - \ \"104.215.73.236/32\",\r\n \"104.215.78.13/32\",\r\n \ - \ \"104.215.89.22/32\",\r\n \"191.238.176.139/32\",\r\n \ - \ \"191.238.240.12/32\",\r\n \"2603:1030:807:402::a0/123\",\r\n\ - \ \"2603:1030:807:802::a0/123\",\r\n \"2603:1030:807:c02::a0/123\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AppService.SoutheastAsia\"\ - ,\r\n \"id\": \"AppService.SoutheastAsia\",\r\n \"properties\":\ - \ {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"southeastasia\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\",\r\n \"VSE\"\r\n ],\r\n \"systemService\": \"\ - AzureAppService\",\r\n \"addressPrefixes\": [\r\n \"13.67.9.0/25\"\ - ,\r\n \"13.67.56.225/32\",\r\n \"13.67.63.90/32\",\r\n \ - \ \"13.76.44.139/32\",\r\n \"13.76.245.96/32\",\r\n \ - \ \"20.43.132.128/25\",\r\n \"20.188.98.74/32\",\r\n \ - \ \"23.97.56.169/32\",\r\n \"23.98.64.36/32\",\r\n \"23.98.64.158/32\"\ - ,\r\n \"23.101.27.182/32\",\r\n \"52.163.122.160/32\",\r\ - \n \"52.187.17.126/32\",\r\n \"52.187.36.104/32\",\r\n \ - \ \"52.187.52.94/32\",\r\n \"52.187.135.79/32\",\r\n \ - \ \"52.230.1.186/32\",\r\n \"104.215.147.45/32\",\r\n \ - \ \"104.215.155.1/32\",\r\n \"111.221.95.27/32\",\r\n \ - \ \"137.116.128.188/32\",\r\n \"137.116.153.238/32\",\r\n \ - \ \"2603:1040:5:402::a0/123\",\r\n \"2603:1040:5:802::a0/123\"\ - ,\r\n \"2603:1040:5:c02::a0/123\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"AppService.SouthIndia\",\r\n \"id\"\ - : \"AppService.SouthIndia\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"2\",\r\n \"region\": \"southindia\",\r\n \"state\": \"GA\"\ - ,\r\n \"networkFeatures\": [\r\n \"API\",\r\n \"\ - NSG\",\r\n \"UDR\",\r\n \"FW\",\r\n \"VSE\"\r\n\ - \ ],\r\n \"systemService\": \"AzureAppService\",\r\n \ - \ \"addressPrefixes\": [\r\n \"13.71.122.35/32\",\r\n \"\ - 13.71.123.138/32\",\r\n \"20.41.195.192/27\",\r\n \"40.78.194.96/27\"\ - ,\r\n \"52.172.54.225/32\",\r\n \"104.211.224.252/32\",\r\ - \n \"104.211.225.167/32\",\r\n \"2603:1040:c06:402::a0/123\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AppService.SwitzerlandNorth\"\ - ,\r\n \"id\": \"AppService.SwitzerlandNorth\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"switzerlandn\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"VSE\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureAppService\",\r\n\ - \ \"addressPrefixes\": [\r\n \"51.107.50.0/27\",\r\n \ - \ \"51.107.58.160/27\",\r\n \"2603:1020:a04:402::a0/123\",\r\n\ - \ \"2603:1020:a04:802::a0/123\",\r\n \"2603:1020:a04:c02::a0/123\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AppService.SwitzerlandWest\"\ - ,\r\n \"id\": \"AppService.SwitzerlandWest\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"switzerlandw\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\",\r\n \"VSE\"\r\n ],\r\n \"systemService\": \"\ - AzureAppService\",\r\n \"addressPrefixes\": [\r\n \"51.107.146.0/27\"\ - ,\r\n \"51.107.154.160/27\",\r\n \"2603:1020:b04:402::a0/123\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AppService.UAECentral\"\ - ,\r\n \"id\": \"AppService.UAECentral\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"2\",\r\n \"region\": \"uaecentral\",\r\ - \n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - ,\r\n \"VSE\"\r\n ],\r\n \"systemService\": \"AzureAppService\"\ - ,\r\n \"addressPrefixes\": [\r\n \"20.37.66.0/27\",\r\n \ - \ \"20.37.74.96/27\",\r\n \"2603:1040:b04:402::a0/123\"\r\n\ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AppService.UAENorth\"\ - ,\r\n \"id\": \"AppService.UAENorth\",\r\n \"properties\": {\r\n\ - \ \"changeNumber\": \"2\",\r\n \"region\": \"uaenorth\",\r\n\ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - ,\r\n \"VSE\"\r\n ],\r\n \"systemService\": \"AzureAppService\"\ - ,\r\n \"addressPrefixes\": [\r\n \"20.38.138.0/27\",\r\n \ - \ \"40.120.74.32/27\",\r\n \"65.52.250.96/27\",\r\n \ - \ \"2603:1040:904:402::a0/123\",\r\n \"2603:1040:904:802::a0/123\"\ - ,\r\n \"2603:1040:904:c02::a0/123\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"AppService.UKNorth\",\r\n \"id\"\ - : \"AppService.UKNorth\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"1\",\r\n \"region\": \"uknorth\",\r\n \"state\": \"GA\"\ - ,\r\n \"networkFeatures\": [\r\n \"API\",\r\n \"\ - NSG\",\r\n \"VSE\",\r\n \"FW\"\r\n ],\r\n \ - \ \"systemService\": \"AzureAppService\",\r\n \"addressPrefixes\":\ - \ [\r\n \"2603:1020:305:402::a0/123\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"AppService.UKSouth\",\r\n \"id\"\ - : \"AppService.UKSouth\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"2\",\r\n \"region\": \"uksouth\",\r\n \"state\": \"GA\"\ - ,\r\n \"networkFeatures\": [\r\n \"API\",\r\n \"\ - NSG\",\r\n \"UDR\",\r\n \"FW\",\r\n \"VSE\"\r\n\ - \ ],\r\n \"systemService\": \"AzureAppService\",\r\n \ - \ \"addressPrefixes\": [\r\n \"51.104.28.64/26\",\r\n \"\ - 51.105.66.160/27\",\r\n \"51.105.74.160/27\",\r\n \"51.140.37.241/32\"\ - ,\r\n \"51.140.57.176/32\",\r\n \"51.140.59.233/32\",\r\n\ - \ \"51.140.75.147/32\",\r\n \"51.140.84.145/32\",\r\n \ - \ \"51.140.85.106/32\",\r\n \"51.140.87.39/32\",\r\n \ - \ \"51.140.122.226/32\",\r\n \"51.140.146.128/26\",\r\n \ - \ \"51.140.152.154/32\",\r\n \"51.140.153.150/32\",\r\n \ - \ \"51.140.180.76/32\",\r\n \"51.140.185.151/32\",\r\n \ - \ \"51.140.191.223/32\",\r\n \"51.143.191.44/32\",\r\n \ - \ \"2603:1020:705:402::a0/123\",\r\n \"2603:1020:705:802::a0/123\"\ - ,\r\n \"2603:1020:705:c02::a0/123\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"AppService.UKSouth2\",\r\n \"id\"\ - : \"AppService.UKSouth2\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"1\",\r\n \"region\": \"uksouth2\",\r\n \"state\": \"GA\"\ - ,\r\n \"networkFeatures\": [\r\n \"API\",\r\n \"\ - NSG\",\r\n \"VSE\",\r\n \"FW\"\r\n ],\r\n \ - \ \"systemService\": \"AzureAppService\",\r\n \"addressPrefixes\":\ - \ [\r\n \"2603:1020:405:402::a0/123\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"AppService.UKWest\",\r\n \"id\"\ - : \"AppService.UKWest\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"2\",\r\n \"region\": \"ukwest\",\r\n \"state\": \"GA\",\r\ - \n \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\ - ,\r\n \"UDR\",\r\n \"FW\",\r\n \"VSE\"\r\n \ - \ ],\r\n \"systemService\": \"AzureAppService\",\r\n \"addressPrefixes\"\ - : [\r\n \"51.137.163.32/27\",\r\n \"51.140.210.96/27\",\r\ - \n \"51.140.244.162/32\",\r\n \"51.140.245.89/32\",\r\n\ - \ \"51.141.12.112/32\",\r\n \"51.141.37.245/32\",\r\n \ - \ \"51.141.44.139/32\",\r\n \"51.141.45.207/32\",\r\n \ - \ \"51.141.90.252/32\",\r\n \"2603:1020:605:402::a0/123\"\r\n\ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AppService.WestCentralUS\"\ - ,\r\n \"id\": \"AppService.WestCentralUS\",\r\n \"properties\":\ - \ {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"westcentralus\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\",\r\n \"VSE\"\r\n ],\r\n \"systemService\": \"\ - AzureAppService\",\r\n \"addressPrefixes\": [\r\n \"13.71.194.192/27\"\ - ,\r\n \"13.78.150.96/32\",\r\n \"13.78.184.89/32\",\r\n\ - \ \"52.150.140.224/27\",\r\n \"52.161.96.193/32\",\r\n \ - \ \"2603:1030:b04:402::a0/123\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"AppService.WestEurope\",\r\n \"id\": \"\ - AppService.WestEurope\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"2\",\r\n \"region\": \"westeurope\",\r\n \"state\": \"GA\"\ - ,\r\n \"networkFeatures\": [\r\n \"API\",\r\n \"\ - NSG\",\r\n \"UDR\",\r\n \"FW\",\r\n \"VSE\"\r\n\ - \ ],\r\n \"systemService\": \"AzureAppService\",\r\n \ - \ \"addressPrefixes\": [\r\n \"13.69.68.0/23\",\r\n \"13.80.19.74/32\"\ - ,\r\n \"13.81.7.21/32\",\r\n \"13.81.108.99/32\",\r\n \ - \ \"13.81.215.235/32\",\r\n \"13.94.143.57/32\",\r\n \ - \ \"13.94.192.98/32\",\r\n \"13.94.211.38/32\",\r\n \ - \ \"13.95.82.181/32\",\r\n \"13.95.93.152/32\",\r\n \"13.95.150.128/32\"\ - ,\r\n \"13.95.238.192/32\",\r\n \"20.50.2.0/23\",\r\n \ - \ \"23.97.160.56/32\",\r\n \"23.97.160.74/32\",\r\n \ - \ \"23.97.162.202/32\",\r\n \"23.97.195.129/32\",\r\n \ - \ \"23.97.208.18/32\",\r\n \"23.97.214.177/32\",\r\n \"\ - 23.97.216.47/32\",\r\n \"23.97.224.11/32\",\r\n \"23.100.1.29/32\"\ - ,\r\n \"23.101.67.245/32\",\r\n \"40.68.40.55/32\",\r\n\ - \ \"40.68.205.178/32\",\r\n \"40.68.208.131/32\",\r\n \ - \ \"40.68.210.104/32\",\r\n \"40.68.214.185/32\",\r\n \ - \ \"40.113.126.251/32\",\r\n \"40.113.131.37/32\",\r\n \ - \ \"40.113.136.240/32\",\r\n \"40.113.142.219/32\",\r\n \ - \ \"40.114.194.188/32\",\r\n \"40.114.210.78/32\",\r\n \ - \ \"40.114.228.161/32\",\r\n \"40.114.237.65/32\",\r\n \ - \ \"40.114.243.70/32\",\r\n \"40.115.55.251/32\",\r\n \ - \ \"40.118.29.72/32\",\r\n \"40.118.71.240/32\",\r\n \"\ - 40.118.96.231/32\",\r\n \"40.118.100.127/32\",\r\n \"40.118.101.67/32\"\ - ,\r\n \"40.118.102.46/32\",\r\n \"51.105.172.25/32\",\r\n\ - \ \"51.136.14.31/32\",\r\n \"51.137.106.13/32\",\r\n \ - \ \"51.144.7.192/32\",\r\n \"51.144.107.53/32\",\r\n \ - \ \"51.144.116.43/32\",\r\n \"51.144.164.215/32\",\r\n \ - \ \"51.144.182.8/32\",\r\n \"52.166.78.97/32\",\r\n \"\ - 52.166.113.188/32\",\r\n \"52.166.119.99/32\",\r\n \"52.166.178.208/32\"\ - ,\r\n \"52.166.181.85/32\",\r\n \"52.166.198.163/32\",\r\ - \n \"52.174.3.80/32\",\r\n \"52.174.7.133/32\",\r\n \ - \ \"52.174.35.5/32\",\r\n \"52.174.106.15/32\",\r\n \ - \ \"52.174.150.25/32\",\r\n \"52.174.181.178/32\",\r\n \ - \ \"52.174.184.18/32\",\r\n \"52.174.193.210/32\",\r\n \"\ - 52.174.235.29/32\",\r\n \"52.178.29.39/32\",\r\n \"52.178.37.244/32\"\ - ,\r\n \"52.178.43.209/32\",\r\n \"52.178.45.139/32\",\r\n\ - \ \"52.178.46.181/32\",\r\n \"52.178.75.200/32\",\r\n \ - \ \"52.178.79.163/32\",\r\n \"52.178.89.129/32\",\r\n \ - \ \"52.178.90.230/32\",\r\n \"52.178.92.96/32\",\r\n \ - \ \"52.178.105.179/32\",\r\n \"52.178.114.226/32\",\r\n \ - \ \"52.232.19.237/32\",\r\n \"52.232.26.228/32\",\r\n \ - \ \"52.232.33.202/32\",\r\n \"52.232.56.79/32\",\r\n \"\ - 52.232.127.196/32\",\r\n \"52.233.128.61/32\",\r\n \"52.233.133.18/32\"\ - ,\r\n \"52.233.133.121/32\",\r\n \"52.233.155.168/32\",\r\ - \n \"52.233.164.195/32\",\r\n \"52.233.175.59/32\",\r\n\ - \ \"52.233.184.181/32\",\r\n \"52.233.198.206/32\",\r\n\ - \ \"65.52.128.33/32\",\r\n \"65.52.130.1/32\",\r\n \ - \ \"104.40.129.89/32\",\r\n \"104.40.147.180/32\",\r\n \ - \ \"104.40.147.216/32\",\r\n \"104.40.158.55/32\",\r\n \ - \ \"104.40.179.243/32\",\r\n \"104.40.183.236/32\",\r\n \ - \ \"104.40.185.192/32\",\r\n \"104.40.187.26/32\",\r\n \ - \ \"104.40.191.174/32\",\r\n \"104.40.210.25/32\",\r\n \ - \ \"104.40.215.219/32\",\r\n \"104.40.222.81/32\",\r\n \"\ - 104.40.250.100/32\",\r\n \"104.45.1.117/32\",\r\n \"104.45.14.249/32\"\ - ,\r\n \"104.46.38.245/32\",\r\n \"104.46.44.78/32\",\r\n\ - \ \"104.46.61.116/32\",\r\n \"104.47.137.62/32\",\r\n \ - \ \"104.47.151.115/32\",\r\n \"104.47.160.14/32\",\r\n \ - \ \"104.47.164.119/32\",\r\n \"104.214.231.110/32\",\r\n \ - \ \"104.214.236.47/32\",\r\n \"104.214.237.135/32\",\r\n \ - \ \"137.117.166.35/32\",\r\n \"137.117.175.14/32\",\r\n \ - \ \"137.117.203.130/32\",\r\n \"137.117.211.244/32\",\r\n\ - \ \"137.117.218.101/32\",\r\n \"137.117.224.218/32\",\r\n\ - \ \"137.117.225.87/32\",\r\n \"168.63.5.231/32\",\r\n \ - \ \"168.63.107.5/32\",\r\n \"191.233.82.44/32\",\r\n \ - \ \"191.233.85.165/32\",\r\n \"191.233.87.194/32\",\r\n \ - \ \"2603:1020:206:402::a0/123\",\r\n \"2603:1020:206:802::a0/123\"\ - ,\r\n \"2603:1020:206:c02::a0/123\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"AppService.WestIndia\",\r\n \"id\"\ - : \"AppService.WestIndia\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"2\",\r\n \"region\": \"westindia\",\r\n \"state\": \"GA\"\ - ,\r\n \"networkFeatures\": [\r\n \"API\",\r\n \"\ - NSG\",\r\n \"UDR\",\r\n \"FW\",\r\n \"VSE\"\r\n\ - \ ],\r\n \"systemService\": \"AzureAppService\",\r\n \ - \ \"addressPrefixes\": [\r\n \"52.136.50.0/27\",\r\n \"\ - 104.211.146.96/27\",\r\n \"104.211.160.159/32\",\r\n \"\ - 104.211.179.11/32\",\r\n \"104.211.184.197/32\",\r\n \"\ - 2603:1040:806:402::a0/123\"\r\n ]\r\n }\r\n },\r\n {\r\n\ - \ \"name\": \"AppService.WestUS\",\r\n \"id\": \"AppService.WestUS\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \ - \ \"region\": \"westus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n\ - \ \"FW\",\r\n \"VSE\"\r\n ],\r\n \"systemService\"\ - : \"AzureAppService\",\r\n \"addressPrefixes\": [\r\n \"13.64.73.110/32\"\ - ,\r\n \"13.91.40.166/32\",\r\n \"13.91.242.166/32\",\r\n\ - \ \"13.93.141.10/32\",\r\n \"13.93.158.16/32\",\r\n \ - \ \"13.93.220.109/32\",\r\n \"13.93.231.75/32\",\r\n \ - \ \"23.99.0.12/32\",\r\n \"23.99.65.65/32\",\r\n \"23.99.91.55/32\"\ - ,\r\n \"23.100.46.198/32\",\r\n \"23.101.203.117/32\",\r\ - \n \"23.101.203.214/32\",\r\n \"23.101.207.250/32\",\r\n\ - \ \"40.78.18.232/32\",\r\n \"40.78.25.157/32\",\r\n \ - \ \"40.78.48.219/32\",\r\n \"40.80.155.102/32\",\r\n \ - \ \"40.80.156.205/32\",\r\n \"40.82.255.128/25\",\r\n \ - \ \"40.83.145.50/32\",\r\n \"40.83.150.233/32\",\r\n \"\ - 40.83.182.206/32\",\r\n \"40.83.183.236/32\",\r\n \"40.83.184.25/32\"\ - ,\r\n \"40.112.142.148/32\",\r\n \"40.112.143.134/32\",\r\ - \n \"40.112.143.140/32\",\r\n \"40.112.143.214/32\",\r\n\ - \ \"40.112.165.44/32\",\r\n \"40.112.166.161/32\",\r\n \ - \ \"40.112.191.159/32\",\r\n \"40.112.192.69/32\",\r\n \ - \ \"40.112.216.189/32\",\r\n \"40.112.243.0/25\",\r\n \ - \ \"40.118.185.161/32\",\r\n \"40.118.235.113/32\",\r\n \ - \ \"40.118.246.51/32\",\r\n \"40.118.255.59/32\",\r\n \ - \ \"52.160.40.218/32\",\r\n \"104.40.3.53/32\",\r\n \"\ - 104.40.11.192/32\",\r\n \"104.40.28.133/32\",\r\n \"104.40.53.219/32\"\ - ,\r\n \"104.40.63.98/32\",\r\n \"104.40.84.133/32\",\r\n\ - \ \"104.40.92.107/32\",\r\n \"104.42.53.248/32\",\r\n \ - \ \"104.42.78.153/32\",\r\n \"104.42.128.171/32\",\r\n \ - \ \"104.42.148.55/32\",\r\n \"104.42.152.64/32\",\r\n \ - \ \"104.42.154.105/32\",\r\n \"104.42.188.146/32\",\r\n \ - \ \"104.42.231.5/32\",\r\n \"104.45.226.98/32\",\r\n \ - \ \"104.45.231.79/32\",\r\n \"104.210.38.149/32\",\r\n \ - \ \"137.117.9.212/32\",\r\n \"137.117.17.70/32\",\r\n \"\ - 138.91.224.84/32\",\r\n \"138.91.225.40/32\",\r\n \"138.91.240.81/32\"\ - ,\r\n \"168.62.20.37/32\",\r\n \"191.236.80.12/32\",\r\n\ - \ \"191.236.106.123/32\",\r\n \"191.239.58.162/32\",\r\n\ - \ \"2603:1030:a07:402::a0/123\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"AppService.WestUS2\",\r\n \"id\": \"AppService.WestUS2\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \ - \ \"region\": \"westus2\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n\ - \ \"FW\",\r\n \"VSE\"\r\n ],\r\n \"systemService\"\ - : \"AzureAppService\",\r\n \"addressPrefixes\": [\r\n \"13.66.138.96/27\"\ - ,\r\n \"13.66.209.135/32\",\r\n \"13.66.212.205/32\",\r\n\ - \ \"13.66.226.80/32\",\r\n \"13.66.231.217/32\",\r\n \ - \ \"13.66.241.134/32\",\r\n \"13.66.244.249/32\",\r\n \ - \ \"13.77.157.133/32\",\r\n \"13.77.160.237/32\",\r\n \ - \ \"13.77.182.13/32\",\r\n \"20.42.128.96/27\",\r\n \"\ - 40.64.128.224/27\",\r\n \"51.143.102.21/32\",\r\n \"52.151.62.51/32\"\ - ,\r\n \"52.175.202.25/32\",\r\n \"52.175.254.10/32\",\r\n\ - \ \"52.183.82.125/32\",\r\n \"52.229.30.210/32\",\r\n \ - \ \"2603:1030:c06:400::8a0/123\",\r\n \"2603:1030:c06:802::a0/123\"\ - ,\r\n \"2603:1030:c06:c02::a0/123\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"AppServiceManagement\",\r\n \"id\"\ - : \"AppServiceManagement\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"3\",\r\n \"region\": \"\",\r\n \"state\": \"GA\",\r\n \ - \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\ - \n \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\"\ - : \"AzureAppServiceManagement\",\r\n \"addressPrefixes\": [\r\n \ - \ \"13.64.115.203/32\",\r\n \"13.66.140.0/26\",\r\n \ - \ \"13.67.8.128/26\",\r\n \"13.69.64.128/26\",\r\n \"\ - 13.69.227.128/26\",\r\n \"13.70.72.64/26\",\r\n \"13.70.73.128/26\"\ - ,\r\n \"13.71.170.64/26\",\r\n \"13.71.173.0/26\",\r\n \ - \ \"13.71.173.128/26\",\r\n \"13.71.194.128/26\",\r\n \ - \ \"13.73.240.128/26\",\r\n \"13.73.242.64/26\",\r\n \ - \ \"13.75.34.192/26\",\r\n \"13.75.127.117/32\",\r\n \ - \ \"13.77.50.128/26\",\r\n \"13.78.106.128/26\",\r\n \"\ - 13.78.109.0/26\",\r\n \"13.87.56.128/26\",\r\n \"13.87.122.128/26\"\ - ,\r\n \"13.89.171.0/26\",\r\n \"13.94.141.115/32\",\r\n\ - \ \"13.94.143.126/32\",\r\n \"13.94.149.179/32\",\r\n \ - \ \"20.36.106.128/26\",\r\n \"20.36.114.64/26\",\r\n \ - \ \"20.37.74.128/26\",\r\n \"20.43.120.128/26\",\r\n \ - \ \"20.44.2.192/26\",\r\n \"20.44.27.0/26\",\r\n \"20.45.125.128/26\"\ - ,\r\n \"20.49.82.128/26\",\r\n \"20.49.90.128/26\",\r\n\ - \ \"20.72.26.192/26\",\r\n \"20.150.171.0/26\",\r\n \ - \ \"20.150.179.0/26\",\r\n \"20.150.187.0/26\",\r\n \ - \ \"20.192.99.0/26\",\r\n \"20.192.234.192/26\",\r\n \"\ - 20.193.202.192/26\",\r\n \"20.194.66.128/26\",\r\n \"23.96.195.3/32\"\ - ,\r\n \"23.100.226.236/32\",\r\n \"23.102.188.65/32\",\r\ - \n \"40.67.59.0/26\",\r\n \"40.69.106.128/26\",\r\n \ - \ \"40.70.146.128/26\",\r\n \"40.71.11.0/26\",\r\n \ - \ \"40.71.13.64/26\",\r\n \"40.74.100.64/26\",\r\n \"40.78.194.128/26\"\ - ,\r\n \"40.79.130.64/26\",\r\n \"40.79.165.0/26\",\r\n \ - \ \"40.79.178.128/26\",\r\n \"40.83.120.64/32\",\r\n \ - \ \"40.83.121.56/32\",\r\n \"40.83.125.161/32\",\r\n \ - \ \"40.90.240.166/32\",\r\n \"40.91.126.196/32\",\r\n \ - \ \"40.112.242.192/26\",\r\n \"40.119.4.111/32\",\r\n \"\ - 40.120.74.128/26\",\r\n \"40.124.47.188/32\",\r\n \"51.12.99.0/26\"\ - ,\r\n \"51.12.203.0/26\",\r\n \"51.12.227.0/26\",\r\n \ - \ \"51.12.235.0/26\",\r\n \"51.104.8.0/26\",\r\n \ - \ \"51.104.8.128/26\",\r\n \"51.107.58.192/26\",\r\n \"\ - 51.107.154.192/26\",\r\n \"51.116.58.192/26\",\r\n \"51.116.155.0/26\"\ - ,\r\n \"51.116.156.64/26\",\r\n \"51.116.243.64/26\",\r\n\ - \ \"51.116.251.192/26\",\r\n \"51.120.99.0/26\",\r\n \ - \ \"51.120.107.0/26\",\r\n \"51.120.211.0/26\",\r\n \ - \ \"51.120.219.0/26\",\r\n \"51.140.146.64/26\",\r\n \"\ - 51.140.210.128/26\",\r\n \"52.151.25.45/32\",\r\n \"52.162.80.89/32\"\ - ,\r\n \"52.162.106.192/26\",\r\n \"52.165.152.214/32\",\r\ - \n \"52.165.153.122/32\",\r\n \"52.165.154.193/32\",\r\n\ - \ \"52.165.158.140/32\",\r\n \"52.174.22.21/32\",\r\n \ - \ \"52.178.177.147/32\",\r\n \"52.178.184.149/32\",\r\n \ - \ \"52.178.190.65/32\",\r\n \"52.178.195.197/32\",\r\n \ - \ \"52.187.56.50/32\",\r\n \"52.187.59.251/32\",\r\n \ - \ \"52.187.63.19/32\",\r\n \"52.187.63.37/32\",\r\n \"\ - 52.224.105.172/32\",\r\n \"52.225.177.15/32\",\r\n \"52.225.177.153/32\"\ - ,\r\n \"52.231.18.64/26\",\r\n \"52.231.146.128/26\",\r\n\ - \ \"52.246.157.64/26\",\r\n \"65.52.14.230/32\",\r\n \ - \ \"65.52.172.237/32\",\r\n \"65.52.193.203/32\",\r\n \ - \ \"65.52.250.128/26\",\r\n \"70.37.57.58/32\",\r\n \ - \ \"70.37.89.222/32\",\r\n \"102.133.26.192/26\",\r\n \"\ - 102.133.123.0/26\",\r\n \"102.133.123.128/26\",\r\n \"102.133.154.192/26\"\ - ,\r\n \"104.43.242.137/32\",\r\n \"104.44.129.141/32\",\r\ - \n \"104.44.129.243/32\",\r\n \"104.44.129.255/32\",\r\n\ - \ \"104.44.134.255/32\",\r\n \"104.208.54.11/32\",\r\n \ - \ \"104.211.81.64/26\",\r\n \"104.211.146.128/26\",\r\n \ - \ \"104.214.18.192/26\",\r\n \"104.214.49.0/32\",\r\n \ - \ \"157.55.176.93/32\",\r\n \"157.55.208.185/32\",\r\n \ - \ \"191.233.50.128/26\",\r\n \"191.233.203.64/26\",\r\n \ - \ \"191.234.147.0/26\",\r\n \"191.234.155.0/26\",\r\n \ - \ \"191.236.154.88/32\",\r\n \"2603:1000:4:402::100/122\",\r\n\ - \ \"2603:1000:104:402::100/122\",\r\n \"2603:1000:104:802::100/122\"\ - ,\r\n \"2603:1000:104:c02::100/122\",\r\n \"2603:1010:6:402::100/122\"\ - ,\r\n \"2603:1010:6:802::100/122\",\r\n \"2603:1010:6:c02::100/122\"\ - ,\r\n \"2603:1010:101:402::100/122\",\r\n \"2603:1010:304:402::100/122\"\ - ,\r\n \"2603:1010:404:402::100/122\",\r\n \"2603:1020:5:402::100/122\"\ - ,\r\n \"2603:1020:5:802::100/122\",\r\n \"2603:1020:5:c02::100/122\"\ - ,\r\n \"2603:1020:206:402::100/122\",\r\n \"2603:1020:206:802::100/122\"\ - ,\r\n \"2603:1020:206:c02::100/122\",\r\n \"2603:1020:305:402::100/122\"\ - ,\r\n \"2603:1020:405:402::100/122\",\r\n \"2603:1020:605:402::100/122\"\ - ,\r\n \"2603:1020:705:402::100/122\",\r\n \"2603:1020:705:802::100/122\"\ - ,\r\n \"2603:1020:705:c02::100/122\",\r\n \"2603:1020:805:402::100/122\"\ - ,\r\n \"2603:1020:805:802::100/122\",\r\n \"2603:1020:805:c02::100/122\"\ - ,\r\n \"2603:1020:905:402::100/122\",\r\n \"2603:1020:a04:402::100/122\"\ - ,\r\n \"2603:1020:a04:802::100/122\",\r\n \"2603:1020:a04:c02::100/122\"\ - ,\r\n \"2603:1020:b04:402::100/122\",\r\n \"2603:1020:c04:402::100/122\"\ - ,\r\n \"2603:1020:c04:802::100/122\",\r\n \"2603:1020:c04:c02::100/122\"\ - ,\r\n \"2603:1020:d04:402::100/122\",\r\n \"2603:1020:e04:402::100/122\"\ - ,\r\n \"2603:1020:e04:802::100/122\",\r\n \"2603:1020:e04:c02::100/122\"\ - ,\r\n \"2603:1020:f04:402::100/122\",\r\n \"2603:1020:1004:400::440/122\"\ - ,\r\n \"2603:1020:1004:800::80/122\",\r\n \"2603:1020:1004:800::200/122\"\ - ,\r\n \"2603:1020:1004:800::380/122\",\r\n \"2603:1020:1104:400::100/122\"\ - ,\r\n \"2603:1030:f:400::900/122\",\r\n \"2603:1030:10:402::100/122\"\ - ,\r\n \"2603:1030:10:802::100/122\",\r\n \"2603:1030:10:c02::100/122\"\ - ,\r\n \"2603:1030:104:402::100/122\",\r\n \"2603:1030:107:400::80/122\"\ - ,\r\n \"2603:1030:210:402::100/122\",\r\n \"2603:1030:210:802::100/122\"\ - ,\r\n \"2603:1030:210:c02::100/122\",\r\n \"2603:1030:40b:400::900/122\"\ - ,\r\n \"2603:1030:40b:800::100/122\",\r\n \"2603:1030:40b:c00::100/122\"\ - ,\r\n \"2603:1030:40c:402::100/122\",\r\n \"2603:1030:40c:802::100/122\"\ - ,\r\n \"2603:1030:40c:c02::100/122\",\r\n \"2603:1030:504:802::80/122\"\ - ,\r\n \"2603:1030:504:802::380/122\",\r\n \"2603:1030:608:402::100/122\"\ - ,\r\n \"2603:1030:807:402::100/122\",\r\n \"2603:1030:807:802::100/122\"\ - ,\r\n \"2603:1030:807:c02::100/122\",\r\n \"2603:1030:a07:402::880/122\"\ - ,\r\n \"2603:1030:b04:402::100/122\",\r\n \"2603:1030:c06:400::900/122\"\ - ,\r\n \"2603:1030:c06:802::100/122\",\r\n \"2603:1030:c06:c02::100/122\"\ - ,\r\n \"2603:1030:f05:402::100/122\",\r\n \"2603:1030:f05:802::100/122\"\ - ,\r\n \"2603:1030:f05:c02::100/122\",\r\n \"2603:1030:1005:402::100/122\"\ - ,\r\n \"2603:1040:5:402::100/122\",\r\n \"2603:1040:5:802::100/122\"\ - ,\r\n \"2603:1040:5:c02::100/122\",\r\n \"2603:1040:207:402::100/122\"\ - ,\r\n \"2603:1040:407:402::100/122\",\r\n \"2603:1040:407:802::100/122\"\ - ,\r\n \"2603:1040:407:c02::100/122\",\r\n \"2603:1040:606:402::100/122\"\ - ,\r\n \"2603:1040:806:402::100/122\",\r\n \"2603:1040:904:402::100/122\"\ - ,\r\n \"2603:1040:904:802::100/122\",\r\n \"2603:1040:904:c02::100/122\"\ - ,\r\n \"2603:1040:a06:402::100/122\",\r\n \"2603:1040:a06:802::100/122\"\ - ,\r\n \"2603:1040:a06:c02::100/122\",\r\n \"2603:1040:b04:402::100/122\"\ - ,\r\n \"2603:1040:c06:402::100/122\",\r\n \"2603:1040:d04:400::440/122\"\ - ,\r\n \"2603:1040:d04:800::80/122\",\r\n \"2603:1040:d04:800::200/122\"\ - ,\r\n \"2603:1040:d04:800::380/122\",\r\n \"2603:1040:f05:402::100/122\"\ - ,\r\n \"2603:1040:f05:802::100/122\",\r\n \"2603:1040:f05:c02::100/122\"\ - ,\r\n \"2603:1040:1104:400::100/122\",\r\n \"2603:1050:6:402::100/122\"\ - ,\r\n \"2603:1050:6:802::100/122\",\r\n \"2603:1050:6:c02::100/122\"\ - ,\r\n \"2603:1050:403:400::100/122\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"AppServiceManagement.AustraliaCentral\"\ - ,\r\n \"id\": \"AppServiceManagement.AustraliaCentral\",\r\n \"\ - properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\"\ - : \"australiacentral\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n\ - \ \"FW\"\r\n ],\r\n \"systemService\": \"AzureAppServiceManagement\"\ - ,\r\n \"addressPrefixes\": [\r\n \"20.36.106.128/26\",\r\n\ - \ \"2603:1010:304:402::100/122\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"AppServiceManagement.AustraliaCentral2\",\r\n\ - \ \"id\": \"AppServiceManagement.AustraliaCentral2\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"australiacentral2\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureAppServiceManagement\"\ - ,\r\n \"addressPrefixes\": [\r\n \"20.36.114.64/26\",\r\n\ - \ \"2603:1010:404:402::100/122\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"AppServiceManagement.AustraliaEast\",\r\n \ - \ \"id\": \"AppServiceManagement.AustraliaEast\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"australiaeast\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureAppServiceManagement\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.70.72.64/26\",\r\n \ - \ \"13.70.73.128/26\",\r\n \"40.79.165.0/26\",\r\n \ - \ \"2603:1010:6:402::100/122\",\r\n \"2603:1010:6:802::100/122\"\ - ,\r\n \"2603:1010:6:c02::100/122\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"AppServiceManagement.AustraliaSoutheast\"\ - ,\r\n \"id\": \"AppServiceManagement.AustraliaSoutheast\",\r\n \"\ - properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\"\ - : \"australiasoutheast\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n\ - \ \"FW\"\r\n ],\r\n \"systemService\": \"AzureAppServiceManagement\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.77.50.128/26\",\r\n\ - \ \"2603:1010:101:402::100/122\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"AppServiceManagement.BrazilSouth\",\r\n \ - \ \"id\": \"AppServiceManagement.BrazilSouth\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"2\",\r\n \"region\": \"brazilsouth\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureAppServiceManagement\"\ - ,\r\n \"addressPrefixes\": [\r\n \"191.233.203.64/26\",\r\n\ - \ \"191.234.147.0/26\",\r\n \"191.234.155.0/26\",\r\n \ - \ \"2603:1050:6:402::100/122\",\r\n \"2603:1050:6:802::100/122\"\ - ,\r\n \"2603:1050:6:c02::100/122\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"AppServiceManagement.CanadaCentral\",\r\ - \n \"id\": \"AppServiceManagement.CanadaCentral\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"canadacentral\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureAppServiceManagement\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.71.170.64/26\",\r\n\ - \ \"13.71.173.0/26\",\r\n \"13.71.173.128/26\",\r\n \ - \ \"52.246.157.64/26\",\r\n \"2603:1030:f05:402::100/122\",\r\ - \n \"2603:1030:f05:802::100/122\",\r\n \"2603:1030:f05:c02::100/122\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AppServiceManagement.CanadaEast\"\ - ,\r\n \"id\": \"AppServiceManagement.CanadaEast\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"canadaeast\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureAppServiceManagement\"\ - ,\r\n \"addressPrefixes\": [\r\n \"40.69.106.128/26\",\r\n\ - \ \"2603:1030:1005:402::100/122\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"AppServiceManagement.CentralIndia\",\r\n\ - \ \"id\": \"AppServiceManagement.CentralIndia\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"centralindia\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureAppServiceManagement\"\ - ,\r\n \"addressPrefixes\": [\r\n \"20.43.120.128/26\",\r\n\ - \ \"20.192.99.0/26\",\r\n \"104.211.81.64/26\",\r\n \ - \ \"2603:1040:a06:402::100/122\",\r\n \"2603:1040:a06:802::100/122\"\ - ,\r\n \"2603:1040:a06:c02::100/122\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"AppServiceManagement.CentralUS\",\r\n\ - \ \"id\": \"AppServiceManagement.CentralUS\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"centralus\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureAppServiceManagement\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.89.171.0/26\",\r\n \ - \ \"52.165.152.214/32\",\r\n \"52.165.153.122/32\",\r\n \ - \ \"52.165.154.193/32\",\r\n \"52.165.158.140/32\",\r\n \ - \ \"104.43.242.137/32\",\r\n \"2603:1030:10:402::100/122\"\ - ,\r\n \"2603:1030:10:802::100/122\",\r\n \"2603:1030:10:c02::100/122\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AppServiceManagement.EastAsia\"\ - ,\r\n \"id\": \"AppServiceManagement.EastAsia\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"eastasia\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureAppServiceManagement\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.75.34.192/26\",\r\n\ - \ \"13.75.127.117/32\",\r\n \"40.83.120.64/32\",\r\n \ - \ \"40.83.121.56/32\",\r\n \"40.83.125.161/32\",\r\n \ - \ \"65.52.172.237/32\",\r\n \"2603:1040:207:402::100/122\"\r\n\ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AppServiceManagement.EastUS\"\ - ,\r\n \"id\": \"AppServiceManagement.EastUS\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"eastus\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureAppServiceManagement\"\ - ,\r\n \"addressPrefixes\": [\r\n \"40.71.11.0/26\",\r\n \ - \ \"40.71.13.64/26\",\r\n \"40.90.240.166/32\",\r\n \ - \ \"52.224.105.172/32\",\r\n \"2603:1030:210:402::100/122\",\r\ - \n \"2603:1030:210:802::100/122\",\r\n \"2603:1030:210:c02::100/122\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AppServiceManagement.EastUS2\"\ - ,\r\n \"id\": \"AppServiceManagement.EastUS2\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"eastus2\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureAppServiceManagement\"\ - ,\r\n \"addressPrefixes\": [\r\n \"40.70.146.128/26\",\r\n\ - \ \"2603:1030:40c:402::100/122\",\r\n \"2603:1030:40c:802::100/122\"\ - ,\r\n \"2603:1030:40c:c02::100/122\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"AppServiceManagement.EastUS2EUAP\",\r\ - \n \"id\": \"AppServiceManagement.EastUS2EUAP\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"eastus2euap\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureAppServiceManagement\"\ - ,\r\n \"addressPrefixes\": [\r\n \"52.225.177.15/32\",\r\n\ - \ \"52.225.177.153/32\",\r\n \"2603:1030:40b:400::900/122\"\ - ,\r\n \"2603:1030:40b:800::100/122\",\r\n \"2603:1030:40b:c00::100/122\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AppServiceManagement.FranceCentral\"\ - ,\r\n \"id\": \"AppServiceManagement.FranceCentral\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"centralfrance\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureAppServiceManagement\"\ - ,\r\n \"addressPrefixes\": [\r\n \"40.79.130.64/26\",\r\n\ - \ \"2603:1020:805:402::100/122\",\r\n \"2603:1020:805:802::100/122\"\ - ,\r\n \"2603:1020:805:c02::100/122\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"AppServiceManagement.FranceSouth\",\r\ - \n \"id\": \"AppServiceManagement.FranceSouth\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"southfrance\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureAppServiceManagement\"\ - ,\r\n \"addressPrefixes\": [\r\n \"40.79.178.128/26\",\r\n\ - \ \"2603:1020:905:402::100/122\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"AppServiceManagement.GermanyNorth\",\r\n \ - \ \"id\": \"AppServiceManagement.GermanyNorth\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"germanyn\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureAppServiceManagement\"\ - ,\r\n \"addressPrefixes\": [\r\n \"51.116.58.192/26\",\r\n\ - \ \"2603:1020:d04:402::100/122\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"AppServiceManagement.GermanyWestCentral\",\r\n\ - \ \"id\": \"AppServiceManagement.GermanyWestCentral\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"germanywc\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureAppServiceManagement\"\ - ,\r\n \"addressPrefixes\": [\r\n \"51.116.155.0/26\",\r\n\ - \ \"51.116.156.64/26\",\r\n \"51.116.243.64/26\",\r\n \ - \ \"51.116.251.192/26\",\r\n \"2603:1020:c04:402::100/122\"\ - ,\r\n \"2603:1020:c04:802::100/122\",\r\n \"2603:1020:c04:c02::100/122\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AppServiceManagement.JapanEast\"\ - ,\r\n \"id\": \"AppServiceManagement.JapanEast\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"japaneast\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureAppServiceManagement\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.78.106.128/26\",\r\n\ - \ \"13.78.109.0/26\",\r\n \"2603:1040:407:402::100/122\"\ - ,\r\n \"2603:1040:407:802::100/122\",\r\n \"2603:1040:407:c02::100/122\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AppServiceManagement.JapanWest\"\ - ,\r\n \"id\": \"AppServiceManagement.JapanWest\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"japanwest\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureAppServiceManagement\"\ - ,\r\n \"addressPrefixes\": [\r\n \"40.74.100.64/26\",\r\n\ - \ \"2603:1040:606:402::100/122\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"AppServiceManagement.KoreaCentral\",\r\n \ - \ \"id\": \"AppServiceManagement.KoreaCentral\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"koreacentral\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureAppServiceManagement\"\ - ,\r\n \"addressPrefixes\": [\r\n \"20.44.27.0/26\",\r\n \ - \ \"20.194.66.128/26\",\r\n \"52.231.18.64/26\",\r\n \ - \ \"2603:1040:f05:402::100/122\",\r\n \"2603:1040:f05:802::100/122\"\ - ,\r\n \"2603:1040:f05:c02::100/122\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"AppServiceManagement.KoreaSouth\",\r\ - \n \"id\": \"AppServiceManagement.KoreaSouth\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"1\",\r\n \"region\": \"koreasouth\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureAppServiceManagement\"\ - ,\r\n \"addressPrefixes\": [\r\n \"52.231.146.128/26\"\r\n\ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AppServiceManagement.NorthCentralUS\"\ - ,\r\n \"id\": \"AppServiceManagement.NorthCentralUS\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"northcentralus\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureAppServiceManagement\"\ - ,\r\n \"addressPrefixes\": [\r\n \"23.96.195.3/32\",\r\n \ - \ \"23.100.226.236/32\",\r\n \"52.162.80.89/32\",\r\n \ - \ \"52.162.106.192/26\",\r\n \"65.52.14.230/32\",\r\n \ - \ \"65.52.193.203/32\",\r\n \"157.55.208.185/32\",\r\n \ - \ \"191.236.154.88/32\",\r\n \"2603:1030:608:402::100/122\"\r\n\ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AppServiceManagement.NorthEurope\"\ - ,\r\n \"id\": \"AppServiceManagement.NorthEurope\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"northeurope\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureAppServiceManagement\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.69.227.128/26\",\r\n\ - \ \"52.178.177.147/32\",\r\n \"52.178.184.149/32\",\r\n\ - \ \"52.178.190.65/32\",\r\n \"52.178.195.197/32\",\r\n \ - \ \"2603:1020:5:402::100/122\",\r\n \"2603:1020:5:802::100/122\"\ - ,\r\n \"2603:1020:5:c02::100/122\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"AppServiceManagement.NorwayEast\",\r\n\ - \ \"id\": \"AppServiceManagement.NorwayEast\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"norwaye\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureAppServiceManagement\"\ - ,\r\n \"addressPrefixes\": [\r\n \"51.120.99.0/26\",\r\n \ - \ \"51.120.107.0/26\",\r\n \"51.120.211.0/26\",\r\n \ - \ \"2603:1020:e04:402::100/122\",\r\n \"2603:1020:e04:802::100/122\"\ - ,\r\n \"2603:1020:e04:c02::100/122\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"AppServiceManagement.NorwayWest\",\r\ - \n \"id\": \"AppServiceManagement.NorwayWest\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"norwayw\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureAppServiceManagement\"\ - ,\r\n \"addressPrefixes\": [\r\n \"51.120.219.0/26\",\r\n\ - \ \"2603:1020:f04:402::100/122\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"AppServiceManagement.SouthAfricaNorth\",\r\n\ - \ \"id\": \"AppServiceManagement.SouthAfricaNorth\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"southafricanorth\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureAppServiceManagement\"\ - ,\r\n \"addressPrefixes\": [\r\n \"102.133.123.0/26\",\r\n\ - \ \"102.133.123.128/26\",\r\n \"102.133.154.192/26\",\r\n\ - \ \"2603:1000:104:402::100/122\",\r\n \"2603:1000:104:802::100/122\"\ - ,\r\n \"2603:1000:104:c02::100/122\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"AppServiceManagement.SouthAfricaWest\"\ - ,\r\n \"id\": \"AppServiceManagement.SouthAfricaWest\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"southafricawest\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureAppServiceManagement\"\ - ,\r\n \"addressPrefixes\": [\r\n \"102.133.26.192/26\",\r\n\ - \ \"2603:1000:4:402::100/122\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"AppServiceManagement.SouthCentralUS\",\r\n \ - \ \"id\": \"AppServiceManagement.SouthCentralUS\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"southcentralus\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"FW\"\r\n ],\r\n\ - \ \"systemService\": \"AzureAppServiceManagement\",\r\n \"addressPrefixes\"\ - : [\r\n \"13.73.240.128/26\",\r\n \"13.73.242.64/26\",\r\ - \n \"20.45.125.128/26\",\r\n \"20.49.90.128/26\",\r\n \ - \ \"23.102.188.65/32\",\r\n \"40.119.4.111/32\",\r\n \ - \ \"40.124.47.188/32\",\r\n \"70.37.57.58/32\",\r\n \ - \ \"70.37.89.222/32\",\r\n \"104.44.129.141/32\",\r\n \"\ - 104.44.129.243/32\",\r\n \"104.44.129.255/32\",\r\n \"104.44.134.255/32\"\ - ,\r\n \"104.214.18.192/26\",\r\n \"104.214.49.0/32\",\r\n\ - \ \"157.55.176.93/32\",\r\n \"2603:1030:807:402::100/122\"\ - ,\r\n \"2603:1030:807:802::100/122\",\r\n \"2603:1030:807:c02::100/122\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AppServiceManagement.SoutheastAsia\"\ - ,\r\n \"id\": \"AppServiceManagement.SoutheastAsia\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"southeastasia\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureAppServiceManagement\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.67.8.128/26\",\r\n \ - \ \"52.187.56.50/32\",\r\n \"52.187.59.251/32\",\r\n \ - \ \"52.187.63.19/32\",\r\n \"52.187.63.37/32\",\r\n \ - \ \"2603:1040:5:402::100/122\",\r\n \"2603:1040:5:802::100/122\"\ - ,\r\n \"2603:1040:5:c02::100/122\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"AppServiceManagement.SouthIndia\",\r\n\ - \ \"id\": \"AppServiceManagement.SouthIndia\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"southindia\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureAppServiceManagement\"\ - ,\r\n \"addressPrefixes\": [\r\n \"40.78.194.128/26\",\r\n\ - \ \"2603:1040:c06:402::100/122\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"AppServiceManagement.SwitzerlandNorth\",\r\n\ - \ \"id\": \"AppServiceManagement.SwitzerlandNorth\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"switzerlandn\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureAppServiceManagement\"\ - ,\r\n \"addressPrefixes\": [\r\n \"51.107.58.192/26\",\r\n\ - \ \"2603:1020:a04:402::100/122\",\r\n \"2603:1020:a04:802::100/122\"\ - ,\r\n \"2603:1020:a04:c02::100/122\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"AppServiceManagement.SwitzerlandWest\"\ - ,\r\n \"id\": \"AppServiceManagement.SwitzerlandWest\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"switzerlandw\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureAppServiceManagement\"\ - ,\r\n \"addressPrefixes\": [\r\n \"51.107.154.192/26\",\r\n\ - \ \"2603:1020:b04:402::100/122\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"AppServiceManagement.UAECentral\",\r\n \"\ - id\": \"AppServiceManagement.UAECentral\",\r\n \"properties\": {\r\n\ - \ \"changeNumber\": \"2\",\r\n \"region\": \"uaecentral\",\r\ - \n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"AzureAppServiceManagement\"\ - ,\r\n \"addressPrefixes\": [\r\n \"20.37.74.128/26\",\r\n\ - \ \"2603:1040:b04:402::100/122\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"AppServiceManagement.UAENorth\",\r\n \"\ - id\": \"AppServiceManagement.UAENorth\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"2\",\r\n \"region\": \"uaenorth\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"AzureAppServiceManagement\"\ - ,\r\n \"addressPrefixes\": [\r\n \"40.120.74.128/26\",\r\n\ - \ \"65.52.250.128/26\",\r\n \"2603:1040:904:402::100/122\"\ - ,\r\n \"2603:1040:904:802::100/122\",\r\n \"2603:1040:904:c02::100/122\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AppServiceManagement.UKSouth\"\ - ,\r\n \"id\": \"AppServiceManagement.UKSouth\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"uksouth\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureAppServiceManagement\"\ - ,\r\n \"addressPrefixes\": [\r\n \"51.104.8.0/26\",\r\n \ - \ \"51.104.8.128/26\",\r\n \"51.140.146.64/26\",\r\n \ - \ \"2603:1020:705:402::100/122\",\r\n \"2603:1020:705:802::100/122\"\ - ,\r\n \"2603:1020:705:c02::100/122\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"AppServiceManagement.UKSouth2\",\r\n\ - \ \"id\": \"AppServiceManagement.UKSouth2\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"uksouth2\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"FW\"\r\n ],\r\n\ - \ \"systemService\": \"AzureAppServiceManagement\",\r\n \"addressPrefixes\"\ - : [\r\n \"13.87.56.128/26\",\r\n \"2603:1020:405:402::100/122\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AppServiceManagement.UKWest\"\ - ,\r\n \"id\": \"AppServiceManagement.UKWest\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"ukwest\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureAppServiceManagement\"\ - ,\r\n \"addressPrefixes\": [\r\n \"51.140.210.128/26\",\r\n\ - \ \"2603:1020:605:402::100/122\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"AppServiceManagement.WestCentralUS\",\r\n \ - \ \"id\": \"AppServiceManagement.WestCentralUS\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"westcentralus\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureAppServiceManagement\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.71.194.128/26\",\r\n\ - \ \"2603:1030:b04:402::100/122\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"AppServiceManagement.WestEurope\",\r\n \"\ - id\": \"AppServiceManagement.WestEurope\",\r\n \"properties\": {\r\n\ - \ \"changeNumber\": \"2\",\r\n \"region\": \"westeurope\",\r\ - \n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"AzureAppServiceManagement\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.69.64.128/26\",\r\n\ - \ \"13.94.141.115/32\",\r\n \"13.94.143.126/32\",\r\n \ - \ \"13.94.149.179/32\",\r\n \"52.174.22.21/32\",\r\n \ - \ \"2603:1020:206:402::100/122\",\r\n \"2603:1020:206:802::100/122\"\ - ,\r\n \"2603:1020:206:c02::100/122\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"AppServiceManagement.WestIndia\",\r\n\ - \ \"id\": \"AppServiceManagement.WestIndia\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"westindia\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureAppServiceManagement\"\ - ,\r\n \"addressPrefixes\": [\r\n \"104.211.146.128/26\",\r\ - \n \"2603:1040:806:402::100/122\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"AppServiceManagement.WestUS\",\r\n \ - \ \"id\": \"AppServiceManagement.WestUS\",\r\n \"properties\": {\r\n\ - \ \"changeNumber\": \"2\",\r\n \"region\": \"westus\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"AzureAppServiceManagement\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.64.115.203/32\",\r\n\ - \ \"40.112.242.192/26\",\r\n \"2603:1030:a07:402::880/122\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AppServiceManagement.WestUS2\"\ - ,\r\n \"id\": \"AppServiceManagement.WestUS2\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"westus2\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureAppServiceManagement\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.66.140.0/26\",\r\n \ - \ \"40.91.126.196/32\",\r\n \"52.151.25.45/32\",\r\n \ - \ \"2603:1030:c06:400::900/122\",\r\n \"2603:1030:c06:802::100/122\"\ - ,\r\n \"2603:1030:c06:c02::100/122\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"AzureActiveDirectory\",\r\n \"\ - id\": \"AzureActiveDirectory\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"2\",\r\n \"region\": \"\",\r\n \"state\": \"GA\",\r\n \ - \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\ - \n \"UDR\",\r\n \"FW\",\r\n \"VSE\"\r\n \ - \ ],\r\n \"systemService\": \"AzureAD\",\r\n \"addressPrefixes\"\ - : [\r\n \"13.64.151.161/32\",\r\n \"13.66.141.64/27\",\r\ - \n \"13.67.9.224/27\",\r\n \"13.69.66.160/27\",\r\n \ - \ \"13.69.229.96/27\",\r\n \"13.70.73.32/27\",\r\n \ - \ \"13.71.172.160/27\",\r\n \"13.71.195.224/27\",\r\n \"\ - 13.71.201.64/26\",\r\n \"13.73.240.32/27\",\r\n \"13.74.104.0/26\"\ - ,\r\n \"13.74.249.156/32\",\r\n \"13.75.38.32/27\",\r\n\ - \ \"13.75.105.168/32\",\r\n \"13.77.52.160/27\",\r\n \ - \ \"13.78.108.192/27\",\r\n \"13.78.172.246/32\",\r\n \ - \ \"13.79.37.247/32\",\r\n \"13.86.219.0/27\",\r\n \"\ - 13.87.16.0/26\",\r\n \"13.87.57.160/27\",\r\n \"13.87.123.160/27\"\ - ,\r\n \"13.89.174.0/27\",\r\n \"20.36.107.192/27\",\r\n\ - \ \"20.36.115.64/27\",\r\n \"20.37.75.96/27\",\r\n \ - \ \"20.40.228.64/28\",\r\n \"20.43.120.32/27\",\r\n \ - \ \"20.44.3.160/27\",\r\n \"20.44.16.32/27\",\r\n \"20.46.10.64/27\"\ - ,\r\n \"20.51.9.80/28\",\r\n \"20.51.16.128/27\",\r\n \ - \ \"20.61.98.160/27\",\r\n \"20.61.99.128/28\",\r\n \ - \ \"20.62.58.80/28\",\r\n \"20.62.129.0/27\",\r\n \"\ - 20.62.129.240/28\",\r\n \"20.65.132.96/28\",\r\n \"20.66.2.32/27\"\ - ,\r\n \"20.66.3.16/28\",\r\n \"20.187.197.32/27\",\r\n \ - \ \"20.187.197.240/28\",\r\n \"20.190.128.0/18\",\r\n \ - \ \"20.194.73.0/28\",\r\n \"20.195.56.102/32\",\r\n \ - \ \"20.195.57.118/32\",\r\n \"20.195.64.192/27\",\r\n \ - \ \"20.195.64.240/28\",\r\n \"23.101.0.70/32\",\r\n \"23.101.6.190/32\"\ - ,\r\n \"40.68.160.142/32\",\r\n \"40.69.107.160/27\",\r\n\ - \ \"40.71.13.0/27\",\r\n \"40.74.101.64/27\",\r\n \ - \ \"40.74.146.192/27\",\r\n \"40.78.195.160/27\",\r\n \ - \ \"40.78.203.64/27\",\r\n \"40.79.131.128/27\",\r\n \"\ - 40.79.179.128/27\",\r\n \"40.83.144.56/32\",\r\n \"40.126.0.0/18\"\ - ,\r\n \"51.140.148.192/27\",\r\n \"51.140.208.0/26\",\r\n\ - \ \"51.140.211.192/27\",\r\n \"52.138.65.157/32\",\r\n \ - \ \"52.138.68.41/32\",\r\n \"52.146.132.96/27\",\r\n \ - \ \"52.146.133.80/28\",\r\n \"52.150.157.0/27\",\r\n \ - \ \"52.159.175.31/32\",\r\n \"52.161.13.71/32\",\r\n \"\ - 52.161.13.95/32\",\r\n \"52.161.110.169/32\",\r\n \"52.162.110.96/27\"\ - ,\r\n \"52.169.125.119/32\",\r\n \"52.169.218.0/32\",\r\n\ - \ \"52.174.189.149/32\",\r\n \"52.175.18.134/32\",\r\n \ - \ \"52.178.27.112/32\",\r\n \"52.179.122.218/32\",\r\n \ - \ \"52.179.126.223/32\",\r\n \"52.180.177.87/32\",\r\n \ - \ \"52.180.179.108/32\",\r\n \"52.180.181.61/32\",\r\n \ - \ \"52.180.183.8/32\",\r\n \"52.187.19.1/32\",\r\n \ - \ \"52.187.113.48/32\",\r\n \"52.187.117.83/32\",\r\n \"\ - 52.187.120.237/32\",\r\n \"52.225.184.198/32\",\r\n \"52.225.188.89/32\"\ - ,\r\n \"52.226.169.40/32\",\r\n \"52.231.19.128/27\",\r\n\ - \ \"52.231.147.192/27\",\r\n \"65.52.251.96/27\",\r\n \ - \ \"104.40.84.19/32\",\r\n \"104.40.87.209/32\",\r\n \ - \ \"104.40.156.18/32\",\r\n \"104.40.168.0/26\",\r\n \ - \ \"104.41.159.212/32\",\r\n \"104.45.138.161/32\",\r\n \ - \ \"104.46.178.128/27\",\r\n \"104.211.147.160/27\",\r\n \ - \ \"191.233.204.160/27\",\r\n \"2603:1006:2000::/48\",\r\n \ - \ \"2603:1007:200::/48\",\r\n \"2603:1016:1400::/48\",\r\n \ - \ \"2603:1017::/48\",\r\n \"2603:1026:3000::/48\",\r\n \ - \ \"2603:1027:1::/48\",\r\n \"2603:1036:3000::/48\",\r\n \ - \ \"2603:1037:1::/48\",\r\n \"2603:1046:2000::/48\",\r\n\ - \ \"2603:1047:1::/48\",\r\n \"2603:1056:2000::/48\",\r\n\ - \ \"2603:1057:2::/48\"\r\n ]\r\n }\r\n },\r\n {\r\ - \n \"name\": \"AzureActiveDirectoryDomainServices\",\r\n \"id\"\ - : \"AzureActiveDirectoryDomainServices\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"2\",\r\n \"region\": \"\",\r\n \"\ - state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\ - \n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n \ - \ ],\r\n \"systemService\": \"AzureIdentity\",\r\n \"addressPrefixes\"\ - : [\r\n \"13.64.151.161/32\",\r\n \"13.66.141.64/27\",\r\ - \n \"13.67.9.224/27\",\r\n \"13.69.66.160/27\",\r\n \ - \ \"13.69.229.96/27\",\r\n \"13.70.73.32/27\",\r\n \ - \ \"13.71.172.160/27\",\r\n \"13.71.195.224/27\",\r\n \"\ - 13.73.240.32/27\",\r\n \"13.74.249.156/32\",\r\n \"13.75.38.32/27\"\ - ,\r\n \"13.75.105.168/32\",\r\n \"13.77.52.160/27\",\r\n\ - \ \"13.78.108.192/27\",\r\n \"13.78.172.246/32\",\r\n \ - \ \"13.79.37.247/32\",\r\n \"13.86.219.0/27\",\r\n \ - \ \"13.87.57.160/27\",\r\n \"13.87.123.160/27\",\r\n \"\ - 13.89.174.0/27\",\r\n \"20.36.107.192/27\",\r\n \"20.36.115.64/27\"\ - ,\r\n \"20.37.75.96/27\",\r\n \"20.43.120.32/27\",\r\n \ - \ \"20.44.3.160/27\",\r\n \"20.44.16.32/27\",\r\n \ - \ \"20.46.10.64/27\",\r\n \"20.51.16.128/27\",\r\n \"\ - 20.61.98.160/27\",\r\n \"20.62.129.0/27\",\r\n \"20.66.2.32/27\"\ - ,\r\n \"20.187.197.32/27\",\r\n \"20.195.56.102/32\",\r\n\ - \ \"20.195.57.118/32\",\r\n \"20.195.64.192/27\",\r\n \ - \ \"23.101.0.70/32\",\r\n \"23.101.6.190/32\",\r\n \ - \ \"40.68.160.142/32\",\r\n \"40.69.107.160/27\",\r\n \ - \ \"40.71.13.0/27\",\r\n \"40.74.101.64/27\",\r\n \"40.74.146.192/27\"\ - ,\r\n \"40.78.195.160/27\",\r\n \"40.78.203.64/27\",\r\n\ - \ \"40.79.131.128/27\",\r\n \"40.79.179.128/27\",\r\n \ - \ \"40.83.144.56/32\",\r\n \"51.140.148.192/27\",\r\n \ - \ \"51.140.211.192/27\",\r\n \"52.138.65.157/32\",\r\n \ - \ \"52.138.68.41/32\",\r\n \"52.146.132.96/27\",\r\n \ - \ \"52.150.157.0/27\",\r\n \"52.161.13.71/32\",\r\n \"\ - 52.161.13.95/32\",\r\n \"52.161.110.169/32\",\r\n \"52.162.110.96/27\"\ - ,\r\n \"52.169.125.119/32\",\r\n \"52.169.218.0/32\",\r\n\ - \ \"52.174.189.149/32\",\r\n \"52.175.18.134/32\",\r\n \ - \ \"52.178.27.112/32\",\r\n \"52.179.122.218/32\",\r\n \ - \ \"52.179.126.223/32\",\r\n \"52.180.177.87/32\",\r\n \ - \ \"52.180.179.108/32\",\r\n \"52.180.181.61/32\",\r\n \ - \ \"52.180.183.8/32\",\r\n \"52.187.19.1/32\",\r\n \ - \ \"52.187.113.48/32\",\r\n \"52.187.117.83/32\",\r\n \"\ - 52.187.120.237/32\",\r\n \"52.225.184.198/32\",\r\n \"52.225.188.89/32\"\ - ,\r\n \"52.231.19.128/27\",\r\n \"52.231.147.192/27\",\r\ - \n \"65.52.251.96/27\",\r\n \"104.40.84.19/32\",\r\n \ - \ \"104.40.87.209/32\",\r\n \"104.40.156.18/32\",\r\n \ - \ \"104.41.159.212/32\",\r\n \"104.45.138.161/32\",\r\n \ - \ \"104.46.178.128/27\",\r\n \"104.211.147.160/27\",\r\n \ - \ \"191.233.204.160/27\"\r\n ]\r\n }\r\n },\r\n {\r\ - \n \"name\": \"AzureAdvancedThreatProtection\",\r\n \"id\": \"AzureAdvancedThreatProtection\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \ - \ \"region\": \"\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n\ - \ \"FW\"\r\n ],\r\n \"systemService\": \"AzureAdvancedThreatProtection\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.72.105.31/32\",\r\n\ - \ \"13.72.105.76/32\",\r\n \"13.93.176.195/32\",\r\n \ - \ \"13.93.176.215/32\",\r\n \"20.36.120.112/29\",\r\n \ - \ \"20.37.64.112/29\",\r\n \"20.37.156.192/29\",\r\n \ - \ \"20.37.195.8/29\",\r\n \"20.37.224.112/29\",\r\n \"\ - 20.38.84.96/29\",\r\n \"20.38.136.112/29\",\r\n \"20.39.11.16/29\"\ - ,\r\n \"20.41.4.96/29\",\r\n \"20.41.65.128/29\",\r\n \ - \ \"20.41.192.112/29\",\r\n \"20.42.4.192/29\",\r\n \ - \ \"20.42.129.176/29\",\r\n \"20.42.224.112/29\",\r\n \ - \ \"20.43.41.144/29\",\r\n \"20.43.65.136/29\",\r\n \"\ - 20.43.130.88/29\",\r\n \"20.45.112.112/29\",\r\n \"20.45.192.112/29\"\ - ,\r\n \"20.72.16.24/29\",\r\n \"20.150.160.112/29\",\r\n\ - \ \"20.184.13.55/32\",\r\n \"20.184.14.129/32\",\r\n \ - \ \"20.189.106.120/29\",\r\n \"20.192.160.24/29\",\r\n \ - \ \"20.192.225.16/29\",\r\n \"40.65.107.78/32\",\r\n \ - \ \"40.65.111.206/32\",\r\n \"40.67.48.112/29\",\r\n \"\ - 40.74.30.96/29\",\r\n \"40.80.56.112/29\",\r\n \"40.80.168.112/29\"\ - ,\r\n \"40.80.188.16/29\",\r\n \"40.82.253.64/29\",\r\n\ - \ \"40.85.133.119/32\",\r\n \"40.85.133.178/32\",\r\n \ - \ \"40.87.44.77/32\",\r\n \"40.87.45.222/32\",\r\n \ - \ \"40.89.16.112/29\",\r\n \"40.119.9.224/29\",\r\n \"\ - 51.12.46.232/29\",\r\n \"51.12.198.192/29\",\r\n \"51.104.25.144/29\"\ - ,\r\n \"51.105.80.112/29\",\r\n \"51.105.88.112/29\",\r\n\ - \ \"51.107.48.112/29\",\r\n \"51.107.144.112/29\",\r\n \ - \ \"51.120.40.112/29\",\r\n \"51.120.224.112/29\",\r\n \ - \ \"51.137.161.128/29\",\r\n \"51.143.183.3/32\",\r\n \ - \ \"51.143.183.52/32\",\r\n \"51.143.192.112/29\",\r\n \ - \ \"52.136.48.112/29\",\r\n \"52.140.104.112/29\",\r\n \ - \ \"52.150.139.64/29\",\r\n \"52.170.0.116/32\",\r\n \ - \ \"52.170.1.228/32\",\r\n \"52.170.249.197/32\",\r\n \"\ - 52.174.66.179/32\",\r\n \"52.174.66.180/32\",\r\n \"52.225.176.98/32\"\ - ,\r\n \"52.225.181.34/32\",\r\n \"52.225.183.206/32\",\r\ - \n \"52.228.81.128/29\",\r\n \"104.42.25.10/32\",\r\n \ - \ \"104.42.29.8/32\",\r\n \"168.63.46.233/32\",\r\n \ - \ \"168.63.46.241/32\",\r\n \"191.233.8.24/29\",\r\n \ - \ \"191.235.225.136/29\",\r\n \"2603:1000:4::140/123\",\r\n \ - \ \"2603:1000:104:1::140/123\",\r\n \"2603:1010:6:1::140/123\"\ - ,\r\n \"2603:1010:101::140/123\",\r\n \"2603:1010:304::140/123\"\ - ,\r\n \"2603:1010:404::140/123\",\r\n \"2603:1020:5:1::140/123\"\ - ,\r\n \"2603:1020:206:1::140/123\",\r\n \"2603:1020:305::140/123\"\ - ,\r\n \"2603:1020:405::140/123\",\r\n \"2603:1020:605::140/123\"\ - ,\r\n \"2603:1020:705:1::140/123\",\r\n \"2603:1020:805:1::140/123\"\ - ,\r\n \"2603:1020:905::140/123\",\r\n \"2603:1020:a04:1::140/123\"\ - ,\r\n \"2603:1020:b04::140/123\",\r\n \"2603:1020:c04:1::140/123\"\ - ,\r\n \"2603:1020:d04::140/123\",\r\n \"2603:1020:e04:1::140/123\"\ - ,\r\n \"2603:1020:f04::140/123\",\r\n \"2603:1020:1004::140/123\"\ - ,\r\n \"2603:1020:1104::140/123\",\r\n \"2603:1030:f:1::140/123\"\ - ,\r\n \"2603:1030:10:1::140/123\",\r\n \"2603:1030:104:1::140/123\"\ - ,\r\n \"2603:1030:107::140/123\",\r\n \"2603:1030:210:1::140/123\"\ - ,\r\n \"2603:1030:40b:1::140/123\",\r\n \"2603:1030:40c:1::140/123\"\ - ,\r\n \"2603:1030:504:1::140/123\",\r\n \"2603:1030:608::140/123\"\ - ,\r\n \"2603:1030:807:1::140/123\",\r\n \"2603:1030:a07::140/123\"\ - ,\r\n \"2603:1030:b04::140/123\",\r\n \"2603:1030:c06:1::140/123\"\ - ,\r\n \"2603:1030:f05:1::140/123\",\r\n \"2603:1030:1005::140/123\"\ - ,\r\n \"2603:1040:5:1::140/123\",\r\n \"2603:1040:207::140/123\"\ - ,\r\n \"2603:1040:407:1::140/123\",\r\n \"2603:1040:606::140/123\"\ - ,\r\n \"2603:1040:806::140/123\",\r\n \"2603:1040:904:1::140/123\"\ - ,\r\n \"2603:1040:a06:1::140/123\",\r\n \"2603:1040:b04::140/123\"\ - ,\r\n \"2603:1040:c06::140/123\",\r\n \"2603:1040:d04::140/123\"\ - ,\r\n \"2603:1040:f05:1::140/123\",\r\n \"2603:1040:1104::140/123\"\ - ,\r\n \"2603:1050:6:1::140/123\",\r\n \"2603:1050:403::140/123\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureAdvancedThreatProtection.CanadaEast\"\ - ,\r\n \"id\": \"AzureAdvancedThreatProtection.CanadaEast\",\r\n \ - \ \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\"\ - : \"canadaeast\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\",\r\n \"FW\"\r\n \ - \ ],\r\n \"systemService\": \"AzureAdvancedThreatProtection\"\ - ,\r\n \"addressPrefixes\": [\r\n \"40.89.16.112/29\",\r\n\ - \ \"2603:1030:1005::140/123\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"AzureAdvancedThreatProtection.GermanyNorth\"\ - ,\r\n \"id\": \"AzureAdvancedThreatProtection.GermanyNorth\",\r\n \ - \ \"properties\": {\r\n \"changeNumber\": \"1\",\r\n \"region\"\ - : \"germanyn\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\",\r\n \"FW\"\r\n \ - \ ],\r\n \"systemService\": \"AzureAdvancedThreatProtection\"\ - ,\r\n \"addressPrefixes\": [\r\n \"2603:1020:d04::140/123\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureAdvancedThreatProtection.SouthAfricaWest\"\ - ,\r\n \"id\": \"AzureAdvancedThreatProtection.SouthAfricaWest\",\r\n\ - \ \"properties\": {\r\n \"changeNumber\": \"1\",\r\n \"\ - region\": \"southafricawest\",\r\n \"state\": \"GA\",\r\n \"\ - networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n \ - \ \"FW\"\r\n ],\r\n \"systemService\": \"AzureAdvancedThreatProtection\"\ - ,\r\n \"addressPrefixes\": [\r\n \"2603:1000:4::140/123\"\r\ - \n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureAPIForFHIR.SoutheastAsia\"\ - ,\r\n \"id\": \"AzureAPIForFHIR.SoutheastAsia\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"southeastasia\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"AzureAPIForFHIR\",\r\n \"addressPrefixes\": [\r\n \"13.67.40.183/32\"\ - ,\r\n \"23.98.108.42/31\",\r\n \"23.98.108.46/31\",\r\n\ - \ \"40.78.238.58/31\"\r\n ]\r\n }\r\n },\r\n {\r\ - \n \"name\": \"AzureAPIForFHIR.UKNorth\",\r\n \"id\": \"AzureAPIForFHIR.UKNorth\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n \ - \ \"region\": \"uknorth\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"\ - systemService\": \"AzureAPIForFHIR\",\r\n \"addressPrefixes\": [\r\n\ - \ \"13.87.124.136/31\"\r\n ]\r\n }\r\n },\r\n {\r\ - \n \"name\": \"AzureArcInfrastructure\",\r\n \"id\": \"AzureArcInfrastructure\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n \ - \ \"region\": \"\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n\ - \ \"FW\"\r\n ],\r\n \"systemService\": \"AzureArcInfrastructure\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.66.143.219/32\",\r\n\ - \ \"13.70.79.64/32\",\r\n \"13.71.175.129/32\",\r\n \ - \ \"13.71.199.117/32\",\r\n \"13.73.244.196/32\",\r\n \ - \ \"13.73.253.124/30\",\r\n \"13.74.107.94/32\",\r\n \ - \ \"13.77.53.221/32\",\r\n \"13.78.111.193/32\",\r\n \"\ - 13.81.244.155/32\",\r\n \"13.86.223.80/32\",\r\n \"13.90.194.180/32\"\ - ,\r\n \"20.36.122.52/30\",\r\n \"20.37.66.52/30\",\r\n \ - \ \"20.37.196.248/30\",\r\n \"20.37.226.52/30\",\r\n \ - \ \"20.37.228.8/30\",\r\n \"20.38.87.188/30\",\r\n \ - \ \"20.38.138.56/30\",\r\n \"20.38.141.8/30\",\r\n \"20.39.12.228/30\"\ - ,\r\n \"20.39.14.84/30\",\r\n \"20.40.200.152/29\",\r\n\ - \ \"20.40.224.52/30\",\r\n \"20.41.67.84/30\",\r\n \ - \ \"20.41.69.52/30\",\r\n \"20.41.195.252/30\",\r\n \ - \ \"20.42.228.216/30\",\r\n \"20.43.43.160/30\",\r\n \"\ - 20.43.45.240/30\",\r\n \"20.43.67.88/30\",\r\n \"20.43.121.252/32\"\ - ,\r\n \"20.44.19.6/32\",\r\n \"20.45.197.224/30\",\r\n \ - \ \"20.45.199.32/30\",\r\n \"20.48.192.76/30\",\r\n \ - \ \"20.49.99.12/30\",\r\n \"20.49.102.212/30\",\r\n \ - \ \"20.49.109.32/30\",\r\n \"20.49.113.12/30\",\r\n \"20.49.114.52/30\"\ - ,\r\n \"20.49.120.32/30\",\r\n \"20.49.125.188/30\",\r\n\ - \ \"20.50.1.196/30\",\r\n \"20.53.0.34/32\",\r\n \ - \ \"20.53.41.44/30\",\r\n \"20.61.96.184/30\",\r\n \"\ - 20.150.165.140/30\",\r\n \"20.187.194.204/30\",\r\n \"20.189.111.204/30\"\ - ,\r\n \"20.191.160.28/30\",\r\n \"20.192.164.176/30\",\r\ - \n \"20.192.228.252/30\",\r\n \"23.98.104.12/30\",\r\n \ - \ \"23.98.108.32/30\",\r\n \"40.64.132.84/30\",\r\n \ - \ \"40.64.135.72/30\",\r\n \"40.69.111.34/32\",\r\n \ - \ \"40.71.15.194/32\",\r\n \"40.78.204.46/32\",\r\n \"40.78.239.96/32\"\ - ,\r\n \"40.79.138.46/32\",\r\n \"40.80.59.24/30\",\r\n \ - \ \"40.80.172.12/30\",\r\n \"40.89.20.128/30\",\r\n \ - \ \"40.89.23.32/30\",\r\n \"40.119.9.232/30\",\r\n \"\ - 51.104.28.216/30\",\r\n \"51.104.31.172/30\",\r\n \"51.105.77.50/32\"\ - ,\r\n \"51.105.90.148/30\",\r\n \"51.107.50.56/30\",\r\n\ - \ \"51.107.53.32/30\",\r\n \"51.107.60.152/32\",\r\n \ - \ \"51.107.146.52/30\",\r\n \"51.116.49.136/30\",\r\n \ - \ \"51.116.145.136/30\",\r\n \"51.116.146.212/30\",\r\n \ - \ \"51.116.158.60/32\",\r\n \"51.120.42.56/30\",\r\n \ - \ \"51.120.44.196/30\",\r\n \"51.120.100.156/32\",\r\n \ - \ \"51.120.226.52/30\",\r\n \"51.137.164.76/30\",\r\n \"\ - 51.137.166.40/30\",\r\n \"51.140.212.216/32\",\r\n \"52.136.51.68/30\"\ - ,\r\n \"52.138.90.54/32\",\r\n \"52.140.107.92/30\",\r\n\ - \ \"52.140.110.108/30\",\r\n \"52.146.79.132/30\",\r\n \ - \ \"52.146.130.180/30\",\r\n \"52.150.152.204/30\",\r\n \ - \ \"52.150.156.36/30\",\r\n \"52.162.111.132/32\",\r\n \ - \ \"52.182.141.60/32\",\r\n \"52.228.84.80/30\",\r\n \ - \ \"52.231.23.10/32\",\r\n \"52.236.189.74/32\",\r\n \ - \ \"65.52.252.250/32\",\r\n \"102.133.57.188/30\",\r\n \ - \ \"102.133.154.6/32\",\r\n \"102.133.218.52/30\",\r\n \"\ - 102.133.219.188/30\",\r\n \"104.46.178.0/30\",\r\n \"104.214.164.48/32\"\ - ,\r\n \"137.135.98.137/32\",\r\n \"191.233.207.26/32\",\r\ - \n \"191.234.136.44/30\",\r\n \"191.234.138.144/30\"\r\n\ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureBackup\"\ - ,\r\n \"id\": \"AzureBackup\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"3\",\r\n \"region\": \"\",\r\n \"state\"\ - : \"GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\n \ - \ \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n ],\r\n\ - \ \"systemService\": \"AzureBackup\",\r\n \"addressPrefixes\"\ - : [\r\n \"13.66.140.192/26\",\r\n \"13.66.141.0/27\",\r\n\ - \ \"13.67.12.0/24\",\r\n \"13.67.13.0/25\",\r\n \ - \ \"13.69.65.32/27\",\r\n \"13.69.65.128/25\",\r\n \"13.69.107.0/27\"\ - ,\r\n \"13.69.107.128/25\",\r\n \"13.69.228.128/25\",\r\n\ - \ \"13.69.229.0/27\",\r\n \"13.70.73.192/27\",\r\n \ - \ \"13.70.74.0/26\",\r\n \"13.71.172.0/26\",\r\n \"\ - 13.71.172.64/27\",\r\n \"13.71.195.64/26\",\r\n \"13.71.195.128/27\"\ - ,\r\n \"13.74.107.192/27\",\r\n \"13.74.108.0/25\",\r\n\ - \ \"13.75.36.128/25\",\r\n \"13.75.37.0/24\",\r\n \ - \ \"13.77.52.32/27\",\r\n \"13.77.52.64/26\",\r\n \"\ - 13.78.108.32/27\",\r\n \"13.78.108.64/26\",\r\n \"13.86.218.0/25\"\ - ,\r\n \"13.86.218.128/26\",\r\n \"13.87.57.0/26\",\r\n \ - \ \"13.87.57.64/27\",\r\n \"13.87.123.0/26\",\r\n \ - \ \"13.87.123.64/27\",\r\n \"13.89.171.128/26\",\r\n \"\ - 13.89.171.192/27\",\r\n \"20.36.107.32/27\",\r\n \"20.36.107.64/26\"\ - ,\r\n \"20.36.114.224/27\",\r\n \"20.36.115.0/26\",\r\n\ - \ \"20.37.75.0/26\",\r\n \"20.37.75.64/27\",\r\n \ - \ \"20.38.147.0/27\",\r\n \"20.38.147.64/26\",\r\n \"\ - 20.40.229.128/25\",\r\n \"20.44.3.64/26\",\r\n \"20.44.3.128/27\"\ - ,\r\n \"20.44.8.32/27\",\r\n \"20.44.8.64/26\",\r\n \ - \ \"20.44.16.128/27\",\r\n \"20.44.16.192/26\",\r\n \ - \ \"20.44.27.128/27\",\r\n \"20.45.90.0/26\",\r\n \"20.45.123.0/26\"\ - ,\r\n \"20.45.123.64/28\",\r\n \"20.45.125.192/27\",\r\n\ - \ \"20.46.12.0/25\",\r\n \"20.48.197.0/26\",\r\n \ - \ \"20.49.82.192/26\",\r\n \"20.49.83.0/27\",\r\n \"20.49.90.192/26\"\ - ,\r\n \"20.49.91.0/27\",\r\n \"20.51.0.0/26\",\r\n \ - \ \"20.51.12.128/26\",\r\n \"20.51.20.128/25\",\r\n \ - \ \"20.52.88.0/26\",\r\n \"20.53.47.128/26\",\r\n \"20.53.49.0/26\"\ - ,\r\n \"20.53.56.192/26\",\r\n \"20.58.67.128/25\",\r\n\ - \ \"20.61.102.128/25\",\r\n \"20.61.103.0/26\",\r\n \ - \ \"20.62.59.128/25\",\r\n \"20.62.133.128/25\",\r\n \ - \ \"20.62.134.0/26\",\r\n \"20.65.133.128/26\",\r\n \"\ - 20.66.4.0/25\",\r\n \"20.66.4.128/26\",\r\n \"20.69.1.0/26\"\ - ,\r\n \"20.72.27.64/26\",\r\n \"20.150.171.96/27\",\r\n\ - \ \"20.150.171.128/26\",\r\n \"20.150.179.80/28\",\r\n \ - \ \"20.150.179.128/26\",\r\n \"20.150.181.64/27\",\r\n \ - \ \"20.150.187.80/28\",\r\n \"20.150.187.128/26\",\r\n \ - \ \"20.150.244.64/26\",\r\n \"20.189.228.64/26\",\r\n \ - \ \"20.191.166.128/26\",\r\n \"20.192.44.128/26\",\r\n \ - \ \"20.192.50.128/26\",\r\n \"20.192.80.64/26\",\r\n \ - \ \"20.192.99.80/28\",\r\n \"20.192.99.128/26\",\r\n \"\ - 20.192.235.32/27\",\r\n \"20.192.235.64/26\",\r\n \"20.193.192.192/26\"\ - ,\r\n \"20.193.203.0/26\",\r\n \"20.193.203.64/27\",\r\n\ - \ \"20.194.66.192/26\",\r\n \"20.194.67.0/27\",\r\n \ - \ \"20.194.74.0/26\",\r\n \"20.195.66.0/24\",\r\n \"\ - 20.195.67.0/25\",\r\n \"20.195.73.0/24\",\r\n \"20.195.74.0/25\"\ - ,\r\n \"20.195.146.128/26\",\r\n \"23.98.83.0/27\",\r\n\ - \ \"23.98.83.128/25\",\r\n \"23.98.84.0/24\",\r\n \ - \ \"40.67.59.96/27\",\r\n \"40.67.59.128/26\",\r\n \"\ - 40.69.107.32/27\",\r\n \"40.69.107.64/26\",\r\n \"40.70.147.128/26\"\ - ,\r\n \"40.70.147.192/27\",\r\n \"40.71.12.0/25\",\r\n \ - \ \"40.71.12.128/26\",\r\n \"40.74.98.64/26\",\r\n \ - \ \"40.74.98.128/27\",\r\n \"40.74.146.96/27\",\r\n \"\ - 40.74.146.128/26\",\r\n \"40.75.34.96/27\",\r\n \"40.75.34.192/26\"\ - ,\r\n \"40.78.195.32/27\",\r\n \"40.78.195.64/26\",\r\n\ - \ \"40.78.202.160/27\",\r\n \"40.78.202.192/26\",\r\n \ - \ \"40.78.227.64/26\",\r\n \"40.78.227.128/25\",\r\n \ - \ \"40.78.234.192/27\",\r\n \"40.78.235.0/24\",\r\n \ - \ \"40.78.236.0/25\",\r\n \"40.78.243.32/27\",\r\n \"40.78.243.64/26\"\ - ,\r\n \"40.78.250.224/27\",\r\n \"40.78.251.0/26\",\r\n\ - \ \"40.79.131.0/26\",\r\n \"40.79.131.64/27\",\r\n \ - \ \"40.79.155.64/26\",\r\n \"40.79.155.128/25\",\r\n \ - \ \"40.79.162.128/27\",\r\n \"40.79.162.192/26\",\r\n \"\ - 40.79.170.64/26\",\r\n \"40.79.170.128/27\",\r\n \"40.79.171.32/27\"\ - ,\r\n \"40.79.179.32/27\",\r\n \"40.79.179.64/26\",\r\n\ - \ \"40.79.187.32/27\",\r\n \"40.79.187.64/26\",\r\n \ - \ \"40.79.195.32/27\",\r\n \"40.79.195.64/26\",\r\n \ - \ \"40.80.51.0/27\",\r\n \"40.120.74.192/26\",\r\n \"40.120.75.0/27\"\ - ,\r\n \"40.120.82.0/26\",\r\n \"51.12.17.64/26\",\r\n \ - \ \"51.12.25.128/26\",\r\n \"51.12.99.96/27\",\r\n \ - \ \"51.12.99.128/26\",\r\n \"51.12.203.96/27\",\r\n \"\ - 51.12.203.128/26\",\r\n \"51.12.227.80/28\",\r\n \"51.12.227.128/26\"\ - ,\r\n \"51.12.235.80/28\",\r\n \"51.12.235.128/26\",\r\n\ - \ \"51.13.137.128/26\",\r\n \"51.105.67.32/27\",\r\n \ - \ \"51.105.67.64/26\",\r\n \"51.105.75.0/27\",\r\n \ - \ \"51.105.75.64/26\",\r\n \"51.107.59.64/26\",\r\n \"\ - 51.107.59.128/27\",\r\n \"51.107.155.64/26\",\r\n \"51.107.155.128/27\"\ - ,\r\n \"51.107.243.0/26\",\r\n \"51.107.251.0/26\",\r\n\ - \ \"51.116.55.0/26\",\r\n \"51.116.59.64/26\",\r\n \ - \ \"51.116.59.128/27\",\r\n \"51.116.155.128/26\",\r\n \ - \ \"51.116.155.192/27\",\r\n \"51.116.156.144/28\",\r\n \ - \ \"51.116.156.192/26\",\r\n \"51.116.245.0/26\",\r\n \ - \ \"51.116.245.64/27\",\r\n \"51.116.250.240/28\",\r\n \ - \ \"51.116.251.64/26\",\r\n \"51.116.253.0/27\",\r\n \"\ - 51.120.99.96/27\",\r\n \"51.120.99.128/26\",\r\n \"51.120.107.80/28\"\ - ,\r\n \"51.120.107.128/26\",\r\n \"51.120.211.80/28\",\r\ - \n \"51.120.211.128/26\",\r\n \"51.120.219.96/27\",\r\n\ - \ \"51.120.219.128/26\",\r\n \"51.120.233.192/26\",\r\n\ - \ \"51.138.210.192/26\",\r\n \"51.140.148.64/26\",\r\n \ - \ \"51.140.148.128/27\",\r\n \"51.140.211.32/27\",\r\n \ - \ \"51.140.211.64/26\",\r\n \"51.143.212.192/26\",\r\n \ - \ \"51.143.213.0/25\",\r\n \"52.136.185.192/26\",\r\n \ - \ \"52.138.90.160/27\",\r\n \"52.138.90.192/26\",\r\n \ - \ \"52.138.226.192/27\",\r\n \"52.138.227.0/25\",\r\n \ - \ \"52.139.107.128/26\",\r\n \"52.146.136.64/26\",\r\n \"\ - 52.146.136.128/25\",\r\n \"52.147.113.0/26\",\r\n \"52.162.107.192/26\"\ - ,\r\n \"52.162.110.0/27\",\r\n \"52.167.106.192/27\",\r\n\ - \ \"52.167.107.0/26\",\r\n \"52.172.116.64/26\",\r\n \ - \ \"52.182.139.64/27\",\r\n \"52.182.139.128/26\",\r\n \ - \ \"52.231.19.0/26\",\r\n \"52.231.19.64/27\",\r\n \ - \ \"52.231.147.32/27\",\r\n \"52.231.147.64/26\",\r\n \"\ - 52.236.187.0/27\",\r\n \"52.236.187.128/25\",\r\n \"52.246.155.0/27\"\ - ,\r\n \"52.246.155.64/26\",\r\n \"65.52.251.0/26\",\r\n\ - \ \"65.52.251.64/27\",\r\n \"102.37.81.0/26\",\r\n \ - \ \"102.37.160.192/26\",\r\n \"102.133.27.64/26\",\r\n \ - \ \"102.133.27.128/27\",\r\n \"102.133.123.96/27\",\r\n \ - \ \"102.133.155.64/26\",\r\n \"102.133.155.128/27\",\r\n \ - \ \"102.133.251.0/27\",\r\n \"104.46.183.64/26\",\r\n \ - \ \"104.211.82.0/26\",\r\n \"104.211.82.64/27\",\r\n \"\ - 104.211.147.0/26\",\r\n \"104.211.147.64/27\",\r\n \"104.214.19.96/27\"\ - ,\r\n \"104.214.19.128/26\",\r\n \"191.233.50.224/27\",\r\ - \n \"191.233.51.64/26\",\r\n \"191.233.204.0/26\",\r\n \ - \ \"191.233.204.64/27\",\r\n \"191.234.147.80/28\",\r\n \ - \ \"191.234.147.128/26\",\r\n \"191.234.149.160/27\",\r\n\ - \ \"191.234.155.80/28\",\r\n \"191.234.155.128/26\",\r\n\ - \ \"191.234.157.64/27\",\r\n \"191.238.72.0/26\",\r\n \ - \ \"2603:1000:4:402::200/121\",\r\n \"2603:1000:104:402::200/121\"\ - ,\r\n \"2603:1000:104:802::180/121\",\r\n \"2603:1000:104:c02::180/121\"\ - ,\r\n \"2603:1010:6:402::200/121\",\r\n \"2603:1010:6:802::180/121\"\ - ,\r\n \"2603:1010:6:c02::180/121\",\r\n \"2603:1010:101:402::200/121\"\ - ,\r\n \"2603:1010:304:402::200/121\",\r\n \"2603:1010:404:402::200/121\"\ - ,\r\n \"2603:1020:5:402::200/121\",\r\n \"2603:1020:5:802::180/121\"\ - ,\r\n \"2603:1020:5:c02::180/121\",\r\n \"2603:1020:206:402::200/121\"\ - ,\r\n \"2603:1020:206:802::180/121\",\r\n \"2603:1020:206:c02::180/121\"\ - ,\r\n \"2603:1020:305:402::200/121\",\r\n \"2603:1020:405:402::200/121\"\ - ,\r\n \"2603:1020:605:402::200/121\",\r\n \"2603:1020:705:402::200/121\"\ - ,\r\n \"2603:1020:705:802::180/121\",\r\n \"2603:1020:705:c02::180/121\"\ - ,\r\n \"2603:1020:805:402::200/121\",\r\n \"2603:1020:805:802::180/121\"\ - ,\r\n \"2603:1020:805:c02::180/121\",\r\n \"2603:1020:905:402::200/121\"\ - ,\r\n \"2603:1020:a04:402::200/121\",\r\n \"2603:1020:a04:802::180/121\"\ - ,\r\n \"2603:1020:a04:c02::180/121\",\r\n \"2603:1020:b04:402::200/121\"\ - ,\r\n \"2603:1020:c04:402::200/121\",\r\n \"2603:1020:c04:802::180/121\"\ - ,\r\n \"2603:1020:c04:c02::180/121\",\r\n \"2603:1020:d04:402::200/121\"\ - ,\r\n \"2603:1020:e04:402::200/121\",\r\n \"2603:1020:e04:802::180/121\"\ - ,\r\n \"2603:1020:e04:c02::180/121\",\r\n \"2603:1020:f04:402::200/121\"\ - ,\r\n \"2603:1020:1004:1::780/121\",\r\n \"2603:1020:1004:400::100/121\"\ - ,\r\n \"2603:1020:1004:400::300/121\",\r\n \"2603:1020:1004:c02::200/121\"\ - ,\r\n \"2603:1020:1104:1::400/121\",\r\n \"2603:1020:1104:400::200/121\"\ - ,\r\n \"2603:1030:f:400::a00/121\",\r\n \"2603:1030:10:402::200/121\"\ - ,\r\n \"2603:1030:10:802::180/121\",\r\n \"2603:1030:10:c02::180/121\"\ - ,\r\n \"2603:1030:104:402::200/121\",\r\n \"2603:1030:107:400::180/121\"\ - ,\r\n \"2603:1030:210:402::200/121\",\r\n \"2603:1030:210:802::180/121\"\ - ,\r\n \"2603:1030:210:c02::180/121\",\r\n \"2603:1030:40b:400::a00/121\"\ - ,\r\n \"2603:1030:40b:800::180/121\",\r\n \"2603:1030:40b:c00::180/121\"\ - ,\r\n \"2603:1030:40c:402::200/121\",\r\n \"2603:1030:40c:802::180/121\"\ - ,\r\n \"2603:1030:40c:c02::180/121\",\r\n \"2603:1030:504:402::100/121\"\ - ,\r\n \"2603:1030:504:402::300/121\",\r\n \"2603:1030:504:802::280/121\"\ - ,\r\n \"2603:1030:504:c02::200/121\",\r\n \"2603:1030:608:402::200/121\"\ - ,\r\n \"2603:1030:807:402::200/121\",\r\n \"2603:1030:807:802::180/121\"\ - ,\r\n \"2603:1030:807:c02::180/121\",\r\n \"2603:1030:a07:402::180/121\"\ - ,\r\n \"2603:1030:b04:402::200/121\",\r\n \"2603:1030:c06:400::a00/121\"\ - ,\r\n \"2603:1030:c06:802::180/121\",\r\n \"2603:1030:c06:c02::180/121\"\ - ,\r\n \"2603:1030:f05:402::200/121\",\r\n \"2603:1030:f05:802::180/121\"\ - ,\r\n \"2603:1030:f05:c02::180/121\",\r\n \"2603:1030:1005:402::200/121\"\ - ,\r\n \"2603:1040:5:402::200/121\",\r\n \"2603:1040:5:802::180/121\"\ - ,\r\n \"2603:1040:5:c02::180/121\",\r\n \"2603:1040:207:402::200/121\"\ - ,\r\n \"2603:1040:407:402::200/121\",\r\n \"2603:1040:407:802::180/121\"\ - ,\r\n \"2603:1040:407:c02::180/121\",\r\n \"2603:1040:606:402::200/121\"\ - ,\r\n \"2603:1040:806:402::200/121\",\r\n \"2603:1040:904:402::200/121\"\ - ,\r\n \"2603:1040:904:802::180/121\",\r\n \"2603:1040:904:c02::180/121\"\ - ,\r\n \"2603:1040:a06:402::200/121\",\r\n \"2603:1040:a06:802::180/121\"\ - ,\r\n \"2603:1040:a06:c02::180/121\",\r\n \"2603:1040:b04:402::200/121\"\ - ,\r\n \"2603:1040:c06:402::200/121\",\r\n \"2603:1040:d04:1::780/121\"\ - ,\r\n \"2603:1040:d04:400::100/121\",\r\n \"2603:1040:d04:400::300/121\"\ - ,\r\n \"2603:1040:d04:c02::200/121\",\r\n \"2603:1040:f05:402::200/121\"\ - ,\r\n \"2603:1040:f05:802::180/121\",\r\n \"2603:1040:f05:c02::180/121\"\ - ,\r\n \"2603:1040:1104:1::480/121\",\r\n \"2603:1040:1104:400::200/121\"\ - ,\r\n \"2603:1050:6:402::200/121\",\r\n \"2603:1050:6:802::180/121\"\ - ,\r\n \"2603:1050:6:c02::180/121\",\r\n \"2603:1050:403:400::500/121\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureBackup.AustraliaCentral2\"\ - ,\r\n \"id\": \"AzureBackup.AustraliaCentral2\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"australiacentral2\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"AzureBackup\",\r\n \"addressPrefixes\": [\r\n \"20.36.114.224/27\"\ - ,\r\n \"20.36.115.0/26\",\r\n \"20.53.56.192/26\",\r\n \ - \ \"2603:1010:404:402::200/121\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"AzureBackup.BrazilSoutheast\",\r\n \"id\"\ - : \"AzureBackup.BrazilSoutheast\",\r\n \"properties\": {\r\n \"\ - changeNumber\": \"1\",\r\n \"region\": \"brazilse\",\r\n \"\ - state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\ - \n \"NSG\"\r\n ],\r\n \"systemService\": \"AzureBackup\"\ - ,\r\n \"addressPrefixes\": [\r\n \"20.195.146.128/26\",\r\n\ - \ \"191.233.50.224/27\",\r\n \"191.233.51.64/26\",\r\n \ - \ \"2603:1050:403:400::500/121\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"AzureBackup.EastUS\",\r\n \"id\": \"AzureBackup.EastUS\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \ - \ \"region\": \"eastus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"\ - systemService\": \"AzureBackup\",\r\n \"addressPrefixes\": [\r\n \ - \ \"20.62.133.128/25\",\r\n \"20.62.134.0/26\",\r\n \ - \ \"40.71.12.0/25\",\r\n \"40.71.12.128/26\",\r\n \"\ - 40.78.227.64/26\",\r\n \"40.78.227.128/25\",\r\n \"40.79.155.64/26\"\ - ,\r\n \"40.79.155.128/25\",\r\n \"2603:1030:210:402::200/121\"\ - ,\r\n \"2603:1030:210:802::180/121\",\r\n \"2603:1030:210:c02::180/121\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureBackup.KoreaCentral\"\ - ,\r\n \"id\": \"AzureBackup.KoreaCentral\",\r\n \"properties\":\ - \ {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"koreacentral\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"AzureBackup\",\r\n \"addressPrefixes\": [\r\n \"20.44.27.128/27\"\ - ,\r\n \"20.194.66.192/26\",\r\n \"20.194.67.0/27\",\r\n\ - \ \"20.194.74.0/26\",\r\n \"52.231.19.0/26\",\r\n \ - \ \"52.231.19.64/27\",\r\n \"2603:1040:f05:402::200/121\",\r\n\ - \ \"2603:1040:f05:802::180/121\",\r\n \"2603:1040:f05:c02::180/121\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureBackup.NorthCentralUS\"\ - ,\r\n \"id\": \"AzureBackup.NorthCentralUS\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"northcentralus\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"AzureBackup\",\r\n \"addressPrefixes\": [\r\n \"20.51.0.0/26\"\ - ,\r\n \"52.162.107.192/26\",\r\n \"52.162.110.0/27\",\r\n\ - \ \"2603:1030:608:402::200/121\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"AzureBackup.NorthEurope\",\r\n \"id\": \"\ - AzureBackup.NorthEurope\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"2\",\r\n \"region\": \"northeurope\",\r\n \"state\": \"\ - GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\n \ - \ \"NSG\"\r\n ],\r\n \"systemService\": \"AzureBackup\",\r\n\ - \ \"addressPrefixes\": [\r\n \"13.69.228.128/25\",\r\n \ - \ \"13.69.229.0/27\",\r\n \"13.74.107.192/27\",\r\n \ - \ \"13.74.108.0/25\",\r\n \"52.138.226.192/27\",\r\n \"\ - 52.138.227.0/25\",\r\n \"52.146.136.64/26\",\r\n \"52.146.136.128/25\"\ - ,\r\n \"2603:1020:5:402::200/121\",\r\n \"2603:1020:5:802::180/121\"\ - ,\r\n \"2603:1020:5:c02::180/121\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"AzureBackup.UKNorth\",\r\n \"id\"\ - : \"AzureBackup.UKNorth\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"2\",\r\n \"region\": \"uknorth\",\r\n \"state\": \"GA\"\ - ,\r\n \"networkFeatures\": [\r\n \"API\",\r\n \"\ - NSG\"\r\n ],\r\n \"systemService\": \"AzureBackup\",\r\n \ - \ \"addressPrefixes\": [\r\n \"13.87.123.0/26\",\r\n \ - \ \"13.87.123.64/27\",\r\n \"2603:1020:305:402::200/121\"\r\n \ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureBackup.UKSouth2\"\ - ,\r\n \"id\": \"AzureBackup.UKSouth2\",\r\n \"properties\": {\r\n\ - \ \"changeNumber\": \"2\",\r\n \"region\": \"uksouth2\",\r\n\ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"AzureBackup\",\r\n \"addressPrefixes\": [\r\n \"13.87.57.0/26\"\ - ,\r\n \"13.87.57.64/27\",\r\n \"2603:1020:405:402::200/121\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureBackup.WestUS2\"\ - ,\r\n \"id\": \"AzureBackup.WestUS2\",\r\n \"properties\": {\r\n\ - \ \"changeNumber\": \"2\",\r\n \"region\": \"westus2\",\r\n\ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"AzureBackup\",\r\n \"addressPrefixes\": [\r\n \"13.66.140.192/26\"\ - ,\r\n \"13.66.141.0/27\",\r\n \"20.51.12.128/26\",\r\n \ - \ \"40.78.243.32/27\",\r\n \"40.78.243.64/26\",\r\n \ - \ \"40.78.250.224/27\",\r\n \"40.78.251.0/26\",\r\n \ - \ \"2603:1030:c06:400::a00/121\",\r\n \"2603:1030:c06:802::180/121\"\ - ,\r\n \"2603:1030:c06:c02::180/121\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"AzureBotService\",\r\n \"id\":\ - \ \"AzureBotService\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"2\",\r\n \"region\": \"\",\r\n \"state\": \"GA\",\r\n \ - \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\ - \n \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\"\ - : \"AzureBotService\",\r\n \"addressPrefixes\": [\r\n \"13.66.142.64/30\"\ - ,\r\n \"13.67.10.88/30\",\r\n \"13.69.67.56/30\",\r\n \ - \ \"13.69.227.252/30\",\r\n \"13.70.74.112/30\",\r\n \ - \ \"13.71.173.240/30\",\r\n \"13.71.196.160/30\",\r\n \ - \ \"13.73.248.0/30\",\r\n \"13.75.39.72/30\",\r\n \"13.77.53.80/30\"\ - ,\r\n \"13.78.108.172/30\",\r\n \"13.86.219.168/30\",\r\n\ - \ \"13.87.58.40/30\",\r\n \"13.87.124.40/30\",\r\n \ - \ \"13.89.171.116/30\",\r\n \"20.36.108.112/30\",\r\n \ - \ \"20.36.115.240/30\",\r\n \"20.36.120.64/30\",\r\n \"\ - 20.37.64.64/30\",\r\n \"20.37.76.104/30\",\r\n \"20.37.152.64/30\"\ - ,\r\n \"20.37.192.64/30\",\r\n \"20.37.224.64/30\",\r\n\ - \ \"20.38.80.64/30\",\r\n \"20.38.128.72/30\",\r\n \ - \ \"20.38.136.64/30\",\r\n \"20.39.8.64/30\",\r\n \"\ - 20.41.0.64/30\",\r\n \"20.41.64.64/30\",\r\n \"20.41.192.64/30\"\ - ,\r\n \"20.42.0.64/30\",\r\n \"20.42.128.64/30\",\r\n \ - \ \"20.42.224.64/30\",\r\n \"20.43.40.64/30\",\r\n \ - \ \"20.43.64.64/30\",\r\n \"20.43.121.8/30\",\r\n \"20.43.128.64/30\"\ - ,\r\n \"20.44.4.72/30\",\r\n \"20.44.17.24/30\",\r\n \ - \ \"20.44.27.208/30\",\r\n \"20.45.112.64/30\",\r\n \ - \ \"20.45.123.112/30\",\r\n \"20.45.192.64/30\",\r\n \"\ - 20.72.16.16/30\",\r\n \"20.150.160.120/30\",\r\n \"20.189.104.64/30\"\ - ,\r\n \"20.192.160.16/30\",\r\n \"20.192.224.64/26\",\r\n\ - \ \"40.67.48.64/30\",\r\n \"40.67.58.4/30\",\r\n \ - \ \"40.69.108.56/30\",\r\n \"40.71.12.244/30\",\r\n \"\ - 40.74.24.64/30\",\r\n \"40.74.147.168/30\",\r\n \"40.78.196.56/30\"\ - ,\r\n \"40.78.202.132/30\",\r\n \"40.79.132.56/30\",\r\n\ - \ \"40.79.180.24/30\",\r\n \"40.80.56.64/30\",\r\n \ - \ \"40.80.168.64/30\",\r\n \"40.80.176.32/30\",\r\n \ - \ \"40.80.184.64/30\",\r\n \"40.82.248.64/30\",\r\n \"40.89.16.64/30\"\ - ,\r\n \"51.12.40.64/26\",\r\n \"51.12.192.64/26\",\r\n \ - \ \"51.104.8.248/30\",\r\n \"51.104.24.64/30\",\r\n \ - \ \"51.105.80.64/30\",\r\n \"51.105.88.64/30\",\r\n \ - \ \"51.107.48.64/30\",\r\n \"51.107.58.4/30\",\r\n \"51.107.144.64/30\"\ - ,\r\n \"51.107.154.4/30\",\r\n \"51.116.48.64/30\",\r\n\ - \ \"51.116.144.64/30\",\r\n \"51.120.40.64/30\",\r\n \ - \ \"51.120.98.12/30\",\r\n \"51.120.218.4/30\",\r\n \ - \ \"51.120.224.64/30\",\r\n \"51.137.160.64/30\",\r\n \ - \ \"51.140.212.72/30\",\r\n \"51.143.192.64/30\",\r\n \"\ - 52.136.48.64/30\",\r\n \"52.140.104.64/30\",\r\n \"52.150.136.64/30\"\ - ,\r\n \"52.162.111.16/30\",\r\n \"52.228.80.64/30\",\r\n\ - \ \"52.231.148.88/30\",\r\n \"65.52.252.104/30\",\r\n \ - \ \"102.133.28.88/30\",\r\n \"102.133.56.64/30\",\r\n \ - \ \"102.133.124.8/30\",\r\n \"102.133.216.64/30\",\r\n \ - \ \"191.233.8.16/30\",\r\n \"191.233.205.96/30\",\r\n \ - \ \"191.235.224.64/30\",\r\n \"2603:1000:4::20/123\",\r\n \ - \ \"2603:1000:104:1::20/123\",\r\n \"2603:1010:6:1::20/123\"\ - ,\r\n \"2603:1010:101::20/123\",\r\n \"2603:1010:304::20/123\"\ - ,\r\n \"2603:1010:404::20/123\",\r\n \"2603:1020:5:1::20/123\"\ - ,\r\n \"2603:1020:206:1::20/123\",\r\n \"2603:1020:305::20/123\"\ - ,\r\n \"2603:1020:405::20/123\",\r\n \"2603:1020:605::20/123\"\ - ,\r\n \"2603:1020:705:1::20/123\",\r\n \"2603:1020:805:1::20/123\"\ - ,\r\n \"2603:1020:905::20/123\",\r\n \"2603:1020:a04:1::20/123\"\ - ,\r\n \"2603:1020:b04::20/123\",\r\n \"2603:1020:c04:1::20/123\"\ - ,\r\n \"2603:1020:d04::20/123\",\r\n \"2603:1020:e04:1::20/123\"\ - ,\r\n \"2603:1020:f04::20/123\",\r\n \"2603:1020:1004::20/123\"\ - ,\r\n \"2603:1020:1104::20/123\",\r\n \"2603:1030:f:1::20/123\"\ - ,\r\n \"2603:1030:10:1::20/123\",\r\n \"2603:1030:104:1::20/123\"\ - ,\r\n \"2603:1030:107::20/123\",\r\n \"2603:1030:210:1::20/123\"\ - ,\r\n \"2603:1030:40b:1::20/123\",\r\n \"2603:1030:40c:1::20/123\"\ - ,\r\n \"2603:1030:504:1::20/123\",\r\n \"2603:1030:608::20/123\"\ - ,\r\n \"2603:1030:807:1::20/123\",\r\n \"2603:1030:a07::20/123\"\ - ,\r\n \"2603:1030:b04::20/123\",\r\n \"2603:1030:c06:1::20/123\"\ - ,\r\n \"2603:1030:f05:1::20/123\",\r\n \"2603:1030:1005::20/123\"\ - ,\r\n \"2603:1040:5:1::20/123\",\r\n \"2603:1040:207::20/123\"\ - ,\r\n \"2603:1040:407:1::20/123\",\r\n \"2603:1040:606::20/123\"\ - ,\r\n \"2603:1040:806::20/123\",\r\n \"2603:1040:904:1::20/123\"\ - ,\r\n \"2603:1040:a06:1::20/123\",\r\n \"2603:1040:b04::20/123\"\ - ,\r\n \"2603:1040:c06::20/123\",\r\n \"2603:1040:d04::20/123\"\ - ,\r\n \"2603:1040:f05:1::20/123\",\r\n \"2603:1040:1104::20/123\"\ - ,\r\n \"2603:1050:6:1::20/123\",\r\n \"2603:1050:403::20/123\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureBotService.AustraliaCentral2\"\ - ,\r\n \"id\": \"AzureBotService.AustraliaCentral2\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"australiacentral2\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"AzureBotService\",\r\n \"addressPrefixes\": [\r\n \"20.36.115.240/30\"\ - ,\r\n \"20.36.120.64/30\",\r\n \"2603:1010:404::20/123\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureBotService.CentralUS\"\ - ,\r\n \"id\": \"AzureBotService.CentralUS\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"1\",\r\n \"region\": \"centralus\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"AzureBotService\",\r\n \"addressPrefixes\": [\r\n \"13.89.171.116/30\"\ - ,\r\n \"20.37.152.64/30\",\r\n \"2603:1030:10:1::20/123\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureBotService.CentralUSEUAP\"\ - ,\r\n \"id\": \"AzureBotService.CentralUSEUAP\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"centraluseuap\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"AzureBotService\",\r\n \"addressPrefixes\": [\r\n \"20.45.192.64/30\"\ - ,\r\n \"40.78.202.132/30\",\r\n \"2603:1030:f:1::20/123\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureBotService.EastUS\"\ - ,\r\n \"id\": \"AzureBotService.EastUS\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"1\",\r\n \"region\": \"eastus\",\r\n\ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"AzureBotService\",\r\n \"addressPrefixes\": [\r\n \"20.42.0.64/30\"\ - ,\r\n \"40.71.12.244/30\",\r\n \"2603:1030:210:1::20/123\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureBotService.GermanyNorth\"\ - ,\r\n \"id\": \"AzureBotService.GermanyNorth\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"germanyn\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"AzureBotService\",\r\n \"addressPrefixes\": [\r\n \"51.116.48.64/30\"\ - ,\r\n \"2603:1020:d04::20/123\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"AzureBotService.NorthEurope\",\r\n \"id\"\ - : \"AzureBotService.NorthEurope\",\r\n \"properties\": {\r\n \"\ - changeNumber\": \"1\",\r\n \"region\": \"northeurope\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"API\"\ - ,\r\n \"NSG\"\r\n ],\r\n \"systemService\": \"AzureBotService\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.69.227.252/30\",\r\n\ - \ \"20.38.80.64/30\",\r\n \"2603:1020:5:1::20/123\"\r\n\ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureBotService.NorwayEast\"\ - ,\r\n \"id\": \"AzureBotService.NorwayEast\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"1\",\r\n \"region\": \"norwaye\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"AzureBotService\",\r\n \"addressPrefixes\": [\r\n \"51.120.40.64/30\"\ - ,\r\n \"51.120.98.12/30\",\r\n \"2603:1020:e04:1::20/123\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureBotService.SouthAfricaWest\"\ - ,\r\n \"id\": \"AzureBotService.SouthAfricaWest\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"southafricawest\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"AzureBotService\",\r\n \"addressPrefixes\": [\r\n \"102.133.28.88/30\"\ - ,\r\n \"102.133.56.64/30\",\r\n \"2603:1000:4::20/123\"\r\ - \n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureBotService.UKSouth\"\ - ,\r\n \"id\": \"AzureBotService.UKSouth\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"1\",\r\n \"region\": \"uksouth\",\r\n\ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"AzureBotService\",\r\n \"addressPrefixes\": [\r\n \"51.104.8.248/30\"\ - ,\r\n \"51.104.24.64/30\",\r\n \"2603:1020:705:1::20/123\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureBotService.UKWest\"\ - ,\r\n \"id\": \"AzureBotService.UKWest\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"2\",\r\n \"region\": \"ukwest\",\r\n\ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"AzureBotService\",\r\n \"addressPrefixes\": [\r\n \"51.137.160.64/30\"\ - ,\r\n \"51.140.212.72/30\",\r\n \"2603:1020:605::20/123\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureBotService.WestCentralUS\"\ - ,\r\n \"id\": \"AzureBotService.WestCentralUS\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"westcentralus\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"AzureBotService\",\r\n \"addressPrefixes\": [\r\n \"13.71.196.160/30\"\ - ,\r\n \"52.150.136.64/30\",\r\n \"2603:1030:b04::20/123\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureBotService.WestEurope\"\ - ,\r\n \"id\": \"AzureBotService.WestEurope\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"1\",\r\n \"region\": \"westeurope\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"AzureBotService\",\r\n \"addressPrefixes\": [\r\n \"13.69.67.56/30\"\ - ,\r\n \"40.74.24.64/30\",\r\n \"2603:1020:206:1::20/123\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCloud\"\ - ,\r\n \"id\": \"AzureCloud\",\r\n \"properties\": {\r\n \"\ - changeNumber\": \"2\",\r\n \"region\": \"\",\r\n \"state\":\ - \ \"GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\n \ - \ \"NSG\"\r\n ],\r\n \"systemService\": \"\",\r\n \ - \ \"addressPrefixes\": [\r\n \"13.64.0.0/16\",\r\n \"\ - 13.65.0.0/16\",\r\n \"13.66.0.0/17\",\r\n \"13.66.128.0/17\"\ - ,\r\n \"13.67.0.0/17\",\r\n \"13.67.128.0/20\",\r\n \ - \ \"13.67.144.0/21\",\r\n \"13.67.152.0/24\",\r\n \"\ - 13.67.153.0/28\",\r\n \"13.67.153.16/28\",\r\n \"13.67.153.32/27\"\ - ,\r\n \"13.67.153.64/26\",\r\n \"13.67.153.128/25\",\r\n\ - \ \"13.67.154.0/24\",\r\n \"13.67.155.0/24\",\r\n \ - \ \"13.67.156.0/22\",\r\n \"13.67.160.0/19\",\r\n \"\ - 13.67.192.0/18\",\r\n \"13.68.0.0/17\",\r\n \"13.68.128.0/17\"\ - ,\r\n \"13.69.0.0/17\",\r\n \"13.69.128.0/17\",\r\n \ - \ \"13.70.0.0/18\",\r\n \"13.70.64.0/18\",\r\n \"13.70.128.0/18\"\ - ,\r\n \"13.70.192.0/18\",\r\n \"13.71.0.0/18\",\r\n \ - \ \"13.71.64.0/18\",\r\n \"13.71.128.0/19\",\r\n \"\ - 13.71.160.0/19\",\r\n \"13.71.192.0/18\",\r\n \"13.72.64.0/18\"\ - ,\r\n \"13.72.192.0/19\",\r\n \"13.72.224.0/19\",\r\n \ - \ \"13.73.0.0/19\",\r\n \"13.73.32.0/19\",\r\n \"\ - 13.73.96.0/19\",\r\n \"13.73.128.0/18\",\r\n \"13.73.192.0/20\"\ - ,\r\n \"13.73.224.0/21\",\r\n \"13.73.232.0/21\",\r\n \ - \ \"13.73.240.0/20\",\r\n \"13.74.0.0/16\",\r\n \"\ - 13.75.0.0/17\",\r\n \"13.75.128.0/17\",\r\n \"13.76.0.0/16\"\ - ,\r\n \"13.77.0.0/18\",\r\n \"13.77.64.0/18\",\r\n \ - \ \"13.77.128.0/18\",\r\n \"13.77.192.0/19\",\r\n \"\ - 13.78.0.0/17\",\r\n \"13.78.128.0/17\",\r\n \"13.79.0.0/16\"\ - ,\r\n \"13.80.0.0/15\",\r\n \"13.82.0.0/16\",\r\n \ - \ \"13.83.0.0/16\",\r\n \"13.84.0.0/15\",\r\n \"13.86.0.0/17\"\ - ,\r\n \"13.86.128.0/17\",\r\n \"13.87.0.0/18\",\r\n \ - \ \"13.87.64.0/18\",\r\n \"13.87.128.0/17\",\r\n \"\ - 13.88.0.0/17\",\r\n \"13.88.128.0/18\",\r\n \"13.88.200.0/21\"\ - ,\r\n \"13.88.208.0/20\",\r\n \"13.88.224.0/19\",\r\n \ - \ \"13.89.0.0/16\",\r\n \"13.90.0.0/16\",\r\n \"\ - 13.91.0.0/16\",\r\n \"13.92.0.0/16\",\r\n \"13.93.0.0/17\"\ - ,\r\n \"13.93.128.0/17\",\r\n \"13.94.0.0/18\",\r\n \ - \ \"13.94.64.0/18\",\r\n \"13.94.128.0/17\",\r\n \"\ - 13.95.0.0/16\",\r\n \"13.104.129.0/26\",\r\n \"13.104.129.64/26\"\ - ,\r\n \"13.104.129.128/26\",\r\n \"13.104.129.192/26\",\r\ - \n \"13.104.144.0/27\",\r\n \"13.104.144.32/27\",\r\n \ - \ \"13.104.144.64/27\",\r\n \"13.104.144.96/27\",\r\n \ - \ \"13.104.144.128/27\",\r\n \"13.104.144.160/27\",\r\n \ - \ \"13.104.144.192/27\",\r\n \"13.104.144.224/27\",\r\n \ - \ \"13.104.145.0/26\",\r\n \"13.104.145.64/26\",\r\n \ - \ \"13.104.145.128/27\",\r\n \"13.104.145.160/27\",\r\n \ - \ \"13.104.145.192/26\",\r\n \"13.104.146.0/26\",\r\n \ - \ \"13.104.146.64/26\",\r\n \"13.104.146.128/25\",\r\n \"\ - 13.104.147.0/25\",\r\n \"13.104.147.128/25\",\r\n \"13.104.148.0/25\"\ - ,\r\n \"13.104.148.128/25\",\r\n \"13.104.149.0/26\",\r\n\ - \ \"13.104.149.64/26\",\r\n \"13.104.149.128/25\",\r\n \ - \ \"13.104.150.0/25\",\r\n \"13.104.150.128/26\",\r\n \ - \ \"13.104.150.192/26\",\r\n \"13.104.151.0/26\",\r\n \ - \ \"13.104.151.64/26\",\r\n \"13.104.151.128/26\",\r\n \ - \ \"13.104.151.192/26\",\r\n \"13.104.152.0/25\",\r\n \ - \ \"13.104.152.128/25\",\r\n \"13.104.153.0/27\",\r\n \"\ - 13.104.153.32/28\",\r\n \"13.104.153.48/28\",\r\n \"13.104.153.64/27\"\ - ,\r\n \"13.104.153.96/27\",\r\n \"13.104.153.128/26\",\r\ - \n \"13.104.153.192/26\",\r\n \"13.104.154.0/25\",\r\n \ - \ \"13.104.154.128/25\",\r\n \"13.104.155.0/27\",\r\n \ - \ \"13.104.155.32/27\",\r\n \"13.104.155.64/26\",\r\n \ - \ \"13.104.155.128/26\",\r\n \"13.104.155.192/26\",\r\n \ - \ \"13.104.156.0/24\",\r\n \"13.104.157.0/25\",\r\n \ - \ \"13.104.157.128/25\",\r\n \"13.104.158.0/28\",\r\n \"\ - 13.104.158.16/28\",\r\n \"13.104.158.32/27\",\r\n \"13.104.158.64/26\"\ - ,\r\n \"13.104.158.128/27\",\r\n \"13.104.158.160/28\",\r\ - \n \"13.104.158.176/28\",\r\n \"13.104.158.192/27\",\r\n\ - \ \"13.104.158.224/27\",\r\n \"13.104.159.0/25\",\r\n \ - \ \"13.104.159.128/26\",\r\n \"13.104.159.192/26\",\r\n \ - \ \"13.104.192.0/21\",\r\n \"13.104.208.0/26\",\r\n \ - \ \"13.104.208.64/27\",\r\n \"13.104.208.96/27\",\r\n \ - \ \"13.104.208.128/27\",\r\n \"13.104.208.160/28\",\r\n \ - \ \"13.104.208.176/28\",\r\n \"13.104.208.192/26\",\r\n \ - \ \"13.104.209.0/24\",\r\n \"13.104.210.0/24\",\r\n \"\ - 13.104.211.0/25\",\r\n \"13.104.211.128/26\",\r\n \"13.104.211.192/26\"\ - ,\r\n \"13.104.212.0/26\",\r\n \"13.104.212.64/26\",\r\n\ - \ \"13.104.212.128/26\",\r\n \"13.104.212.192/26\",\r\n\ - \ \"13.104.213.0/25\",\r\n \"13.104.213.128/25\",\r\n \ - \ \"13.104.214.0/25\",\r\n \"13.104.214.128/25\",\r\n \ - \ \"13.104.215.0/25\",\r\n \"13.104.215.128/25\",\r\n \ - \ \"13.104.216.0/24\",\r\n \"13.104.217.0/25\",\r\n \"\ - 13.104.217.128/25\",\r\n \"13.104.218.0/25\",\r\n \"13.104.218.128/25\"\ - ,\r\n \"13.104.219.0/25\",\r\n \"13.104.219.128/25\",\r\n\ - \ \"13.104.220.0/25\",\r\n \"13.104.220.128/25\",\r\n \ - \ \"13.104.221.0/24\",\r\n \"13.104.222.0/24\",\r\n \ - \ \"13.104.223.0/25\",\r\n \"13.104.223.128/26\",\r\n \ - \ \"13.104.223.192/26\",\r\n \"13.105.14.0/25\",\r\n \"\ - 13.105.14.128/26\",\r\n \"13.105.14.192/26\",\r\n \"13.105.16.0/25\"\ - ,\r\n \"13.105.16.192/26\",\r\n \"13.105.17.0/26\",\r\n\ - \ \"13.105.17.64/26\",\r\n \"13.105.17.128/26\",\r\n \ - \ \"13.105.17.192/26\",\r\n \"13.105.18.0/26\",\r\n \ - \ \"13.105.18.64/26\",\r\n \"13.105.18.160/27\",\r\n \"\ - 13.105.18.192/26\",\r\n \"13.105.19.0/25\",\r\n \"13.105.19.128/25\"\ - ,\r\n \"13.105.20.0/25\",\r\n \"13.105.20.128/26\",\r\n\ - \ \"13.105.20.192/26\",\r\n \"13.105.21.0/24\",\r\n \ - \ \"13.105.22.0/24\",\r\n \"13.105.23.0/26\",\r\n \"\ - 13.105.23.64/26\",\r\n \"13.105.23.128/25\",\r\n \"13.105.24.0/24\"\ - ,\r\n \"13.105.25.0/24\",\r\n \"13.105.26.0/24\",\r\n \ - \ \"13.105.27.0/25\",\r\n \"13.105.27.128/27\",\r\n \ - \ \"13.105.27.160/27\",\r\n \"13.105.27.192/27\",\r\n \ - \ \"13.105.27.224/27\",\r\n \"13.105.28.0/28\",\r\n \"\ - 13.105.28.16/28\",\r\n \"13.105.28.32/28\",\r\n \"13.105.28.48/28\"\ - ,\r\n \"13.105.28.128/25\",\r\n \"13.105.29.0/25\",\r\n\ - \ \"13.105.29.128/25\",\r\n \"13.105.36.0/27\",\r\n \ - \ \"13.105.36.32/28\",\r\n \"13.105.36.48/28\",\r\n \ - \ \"13.105.36.64/27\",\r\n \"13.105.36.96/27\",\r\n \"\ - 13.105.36.128/26\",\r\n \"13.105.36.192/26\",\r\n \"13.105.37.0/26\"\ - ,\r\n \"13.105.37.64/26\",\r\n \"13.105.37.128/26\",\r\n\ - \ \"13.105.37.192/26\",\r\n \"13.105.52.0/27\",\r\n \ - \ \"13.105.52.32/27\",\r\n \"13.105.52.64/28\",\r\n \ - \ \"13.105.52.80/28\",\r\n \"13.105.52.96/27\",\r\n \"\ - 13.105.52.128/26\",\r\n \"13.105.52.192/26\",\r\n \"13.105.53.0/25\"\ - ,\r\n \"13.105.53.128/26\",\r\n \"13.105.53.192/26\",\r\n\ - \ \"13.105.60.0/27\",\r\n \"13.105.60.32/28\",\r\n \ - \ \"13.105.60.48/28\",\r\n \"13.105.60.64/27\",\r\n \ - \ \"13.105.60.96/27\",\r\n \"13.105.60.128/27\",\r\n \"\ - 13.105.60.160/27\",\r\n \"13.105.60.192/26\",\r\n \"13.105.61.0/28\"\ - ,\r\n \"13.105.61.16/28\",\r\n \"13.105.61.32/27\",\r\n\ - \ \"13.105.61.64/26\",\r\n \"13.105.61.128/25\",\r\n \ - \ \"13.105.66.0/27\",\r\n \"13.105.66.64/26\",\r\n \ - \ \"13.105.66.144/28\",\r\n \"13.105.66.192/26\",\r\n \"\ - 13.105.67.0/25\",\r\n \"13.105.67.128/25\",\r\n \"13.105.74.48/28\"\ - ,\r\n \"13.105.74.96/27\",\r\n \"13.105.74.128/26\",\r\n\ - \ \"13.105.74.192/26\",\r\n \"13.105.75.0/27\",\r\n \ - \ \"13.105.75.32/28\",\r\n \"13.105.75.64/27\",\r\n \ - \ \"13.105.96.128/25\",\r\n \"20.36.0.0/19\",\r\n \"20.36.32.0/19\"\ - ,\r\n \"20.36.64.0/19\",\r\n \"20.36.96.0/21\",\r\n \ - \ \"20.36.104.0/21\",\r\n \"20.36.112.0/20\",\r\n \"\ - 20.36.128.0/17\",\r\n \"20.37.0.0/18\",\r\n \"20.37.64.0/19\"\ - ,\r\n \"20.37.96.0/19\",\r\n \"20.37.128.0/18\",\r\n \ - \ \"20.37.192.0/19\",\r\n \"20.37.224.0/19\",\r\n \ - \ \"20.38.64.0/19\",\r\n \"20.38.96.0/23\",\r\n \"20.38.98.0/24\"\ - ,\r\n \"20.38.99.0/24\",\r\n \"20.38.100.0/23\",\r\n \ - \ \"20.38.102.0/23\",\r\n \"20.38.104.0/23\",\r\n \ - \ \"20.38.106.0/23\",\r\n \"20.38.108.0/23\",\r\n \"20.38.112.0/23\"\ - ,\r\n \"20.38.114.0/25\",\r\n \"20.38.114.128/25\",\r\n\ - \ \"20.38.115.0/24\",\r\n \"20.38.116.0/23\",\r\n \ - \ \"20.38.118.0/24\",\r\n \"20.38.120.0/24\",\r\n \"\ - 20.38.121.0/25\",\r\n \"20.38.121.128/25\",\r\n \"20.38.122.0/23\"\ - ,\r\n \"20.38.124.0/23\",\r\n \"20.38.126.0/23\",\r\n \ - \ \"20.38.128.0/21\",\r\n \"20.38.136.0/21\",\r\n \ - \ \"20.38.144.0/21\",\r\n \"20.38.152.0/21\",\r\n \"20.38.184.0/22\"\ - ,\r\n \"20.38.188.0/22\",\r\n \"20.38.196.0/22\",\r\n \ - \ \"20.38.200.0/22\",\r\n \"20.38.208.0/22\",\r\n \ - \ \"20.39.0.0/19\",\r\n \"20.39.32.0/19\",\r\n \"20.39.64.0/21\"\ - ,\r\n \"20.39.72.0/21\",\r\n \"20.39.80.0/20\",\r\n \ - \ \"20.39.96.0/19\",\r\n \"20.39.128.0/20\",\r\n \"\ - 20.39.144.0/20\",\r\n \"20.39.160.0/21\",\r\n \"20.39.168.0/21\"\ - ,\r\n \"20.39.176.0/21\",\r\n \"20.39.184.0/21\",\r\n \ - \ \"20.39.192.0/20\",\r\n \"20.39.208.0/20\",\r\n \ - \ \"20.39.224.0/21\",\r\n \"20.39.232.0/21\",\r\n \"20.39.240.0/20\"\ - ,\r\n \"20.40.0.0/21\",\r\n \"20.40.8.0/21\",\r\n \ - \ \"20.40.16.0/21\",\r\n \"20.40.32.0/21\",\r\n \"20.40.40.0/21\"\ - ,\r\n \"20.40.48.0/20\",\r\n \"20.40.64.0/20\",\r\n \ - \ \"20.40.80.0/21\",\r\n \"20.40.88.0/21\",\r\n \"\ - 20.40.96.0/21\",\r\n \"20.40.104.0/21\",\r\n \"20.40.112.0/21\"\ - ,\r\n \"20.40.120.0/21\",\r\n \"20.40.128.0/19\",\r\n \ - \ \"20.40.160.0/20\",\r\n \"20.40.176.0/20\",\r\n \ - \ \"20.40.192.0/18\",\r\n \"20.41.0.0/18\",\r\n \"20.41.64.0/18\"\ - ,\r\n \"20.41.128.0/18\",\r\n \"20.41.192.0/18\",\r\n \ - \ \"20.42.0.0/17\",\r\n \"20.42.128.0/18\",\r\n \"\ - 20.42.192.0/19\",\r\n \"20.42.224.0/19\",\r\n \"20.43.0.0/19\"\ - ,\r\n \"20.43.32.0/19\",\r\n \"20.43.64.0/19\",\r\n \ - \ \"20.43.96.0/20\",\r\n \"20.43.120.0/21\",\r\n \"\ - 20.43.128.0/18\",\r\n \"20.43.192.0/18\",\r\n \"20.44.8.0/21\"\ - ,\r\n \"20.44.16.0/21\",\r\n \"20.44.24.0/21\",\r\n \ - \ \"20.44.32.0/19\",\r\n \"20.44.64.0/18\",\r\n \"\ - 20.44.128.0/18\",\r\n \"20.44.192.0/18\",\r\n \"20.45.0.0/18\"\ - ,\r\n \"20.45.64.0/19\",\r\n \"20.45.120.0/21\",\r\n \ - \ \"20.45.128.0/21\",\r\n \"20.45.136.0/21\",\r\n \ - \ \"20.45.144.0/20\",\r\n \"20.45.160.0/19\",\r\n \"20.45.192.0/18\"\ - ,\r\n \"20.46.0.0/19\",\r\n \"20.46.32.0/19\",\r\n \ - \ \"20.46.96.0/20\",\r\n \"20.46.112.0/20\",\r\n \"\ - 20.46.144.0/20\",\r\n \"20.46.160.0/19\",\r\n \"20.46.192.0/21\"\ - ,\r\n \"20.46.200.0/21\",\r\n \"20.46.208.0/20\",\r\n \ - \ \"20.46.224.0/19\",\r\n \"20.47.0.0/24\",\r\n \"\ - 20.47.1.0/24\",\r\n \"20.47.2.0/24\",\r\n \"20.47.3.0/24\"\ - ,\r\n \"20.47.4.0/24\",\r\n \"20.47.5.0/24\",\r\n \ - \ \"20.47.6.0/24\",\r\n \"20.47.7.0/24\",\r\n \"20.47.8.0/24\"\ - ,\r\n \"20.47.9.0/24\",\r\n \"20.47.10.0/24\",\r\n \ - \ \"20.47.11.0/24\",\r\n \"20.47.12.0/24\",\r\n \"20.47.15.0/24\"\ - ,\r\n \"20.47.16.0/23\",\r\n \"20.47.18.0/23\",\r\n \ - \ \"20.47.20.0/23\",\r\n \"20.47.22.0/23\",\r\n \"\ - 20.47.24.0/23\",\r\n \"20.47.26.0/24\",\r\n \"20.47.27.0/24\"\ - ,\r\n \"20.47.28.0/24\",\r\n \"20.47.29.0/24\",\r\n \ - \ \"20.47.30.0/24\",\r\n \"20.47.31.0/24\",\r\n \"\ - 20.47.32.0/24\",\r\n \"20.47.33.0/24\",\r\n \"20.47.34.0/24\"\ - ,\r\n \"20.47.35.0/24\",\r\n \"20.47.36.0/24\",\r\n \ - \ \"20.47.37.0/24\",\r\n \"20.47.38.0/24\",\r\n \"\ - 20.47.39.0/24\",\r\n \"20.47.40.0/24\",\r\n \"20.47.41.0/24\"\ - ,\r\n \"20.47.42.0/24\",\r\n \"20.47.43.0/24\",\r\n \ - \ \"20.47.44.0/24\",\r\n \"20.47.45.0/24\",\r\n \"\ - 20.47.46.0/24\",\r\n \"20.47.47.0/24\",\r\n \"20.47.48.0/24\"\ - ,\r\n \"20.47.49.0/24\",\r\n \"20.47.50.0/24\",\r\n \ - \ \"20.47.51.0/24\",\r\n \"20.47.52.0/24\",\r\n \"\ - 20.47.53.0/24\",\r\n \"20.47.54.0/24\",\r\n \"20.47.55.0/24\"\ - ,\r\n \"20.47.56.0/24\",\r\n \"20.47.57.0/24\",\r\n \ - \ \"20.47.58.0/23\",\r\n \"20.47.60.0/23\",\r\n \"\ - 20.47.62.0/23\",\r\n \"20.47.64.0/24\",\r\n \"20.47.65.0/24\"\ - ,\r\n \"20.47.66.0/24\",\r\n \"20.47.67.0/24\",\r\n \ - \ \"20.47.68.0/24\",\r\n \"20.47.69.0/24\",\r\n \"\ - 20.47.70.0/24\",\r\n \"20.47.71.0/24\",\r\n \"20.47.72.0/23\"\ - ,\r\n \"20.47.74.0/23\",\r\n \"20.47.76.0/23\",\r\n \ - \ \"20.47.78.0/23\",\r\n \"20.47.80.0/23\",\r\n \"\ - 20.47.82.0/23\",\r\n \"20.47.84.0/23\",\r\n \"20.47.86.0/24\"\ - ,\r\n \"20.47.87.0/24\",\r\n \"20.47.88.0/24\",\r\n \ - \ \"20.47.89.0/24\",\r\n \"20.47.90.0/24\",\r\n \"\ - 20.47.91.0/24\",\r\n \"20.47.92.0/24\",\r\n \"20.47.93.0/24\"\ - ,\r\n \"20.47.94.0/24\",\r\n \"20.47.95.0/24\",\r\n \ - \ \"20.47.96.0/23\",\r\n \"20.47.98.0/24\",\r\n \"\ - 20.47.99.0/24\",\r\n \"20.47.100.0/24\",\r\n \"20.47.101.0/24\"\ - ,\r\n \"20.47.102.0/24\",\r\n \"20.47.103.0/24\",\r\n \ - \ \"20.47.104.0/24\",\r\n \"20.47.105.0/24\",\r\n \ - \ \"20.47.106.0/24\",\r\n \"20.47.107.0/24\",\r\n \"20.47.108.0/23\"\ - ,\r\n \"20.47.110.0/24\",\r\n \"20.47.111.0/24\",\r\n \ - \ \"20.47.112.0/24\",\r\n \"20.47.113.0/24\",\r\n \ - \ \"20.47.114.0/24\",\r\n \"20.47.115.0/24\",\r\n \"20.47.116.0/24\"\ - ,\r\n \"20.47.117.0/24\",\r\n \"20.47.118.0/24\",\r\n \ - \ \"20.47.119.0/24\",\r\n \"20.47.120.0/23\",\r\n \ - \ \"20.47.122.0/23\",\r\n \"20.47.124.0/23\",\r\n \"20.47.126.0/23\"\ - ,\r\n \"20.47.128.0/17\",\r\n \"20.48.0.0/17\",\r\n \ - \ \"20.48.128.0/18\",\r\n \"20.48.192.0/21\",\r\n \"\ - 20.48.224.0/19\",\r\n \"20.49.0.0/18\",\r\n \"20.49.88.0/21\"\ - ,\r\n \"20.49.96.0/21\",\r\n \"20.49.104.0/21\",\r\n \ - \ \"20.49.112.0/21\",\r\n \"20.49.120.0/21\",\r\n \ - \ \"20.49.128.0/17\",\r\n \"20.50.0.0/18\",\r\n \"20.50.64.0/20\"\ - ,\r\n \"20.50.80.0/21\",\r\n \"20.50.96.0/19\",\r\n \ - \ \"20.50.128.0/17\",\r\n \"20.51.0.0/21\",\r\n \"\ - 20.51.8.0/21\",\r\n \"20.51.16.0/21\",\r\n \"20.51.32.0/19\"\ - ,\r\n \"20.51.64.0/18\",\r\n \"20.51.128.0/17\",\r\n \ - \ \"20.52.0.0/18\",\r\n \"20.52.64.0/21\",\r\n \"\ - 20.52.72.0/21\",\r\n \"20.52.80.0/27\",\r\n \"20.52.80.32/27\"\ - ,\r\n \"20.52.80.64/27\",\r\n \"20.52.88.0/21\",\r\n \ - \ \"20.52.96.0/19\",\r\n \"20.52.128.0/17\",\r\n \"\ - 20.53.0.0/19\",\r\n \"20.53.32.0/28\",\r\n \"20.53.40.0/21\"\ - ,\r\n \"20.53.48.0/21\",\r\n \"20.53.56.0/21\",\r\n \ - \ \"20.53.64.0/18\",\r\n \"20.53.128.0/17\",\r\n \"\ - 20.54.0.0/17\",\r\n \"20.54.128.0/17\",\r\n \"20.55.0.0/17\"\ - ,\r\n \"20.55.128.0/18\",\r\n \"20.55.192.0/18\",\r\n \ - \ \"20.56.0.0/16\",\r\n \"20.57.0.0/17\",\r\n \"\ - 20.57.128.0/18\",\r\n \"20.57.192.0/19\",\r\n \"20.57.224.0/19\"\ - ,\r\n \"20.58.0.0/18\",\r\n \"20.58.64.0/18\",\r\n \ - \ \"20.58.128.0/18\",\r\n \"20.58.192.0/18\",\r\n \"\ - 20.59.0.0/18\",\r\n \"20.59.64.0/18\",\r\n \"20.59.128.0/18\"\ - ,\r\n \"20.59.192.0/18\",\r\n \"20.60.0.0/24\",\r\n \ - \ \"20.60.1.0/24\",\r\n \"20.60.2.0/23\",\r\n \"20.60.4.0/24\"\ - ,\r\n \"20.60.6.0/23\",\r\n \"20.60.8.0/24\",\r\n \ - \ \"20.60.10.0/24\",\r\n \"20.60.11.0/24\",\r\n \"20.60.12.0/24\"\ - ,\r\n \"20.60.13.0/24\",\r\n \"20.60.15.0/24\",\r\n \ - \ \"20.60.16.0/24\",\r\n \"20.60.17.0/24\",\r\n \"\ - 20.60.18.0/24\",\r\n \"20.60.19.0/24\",\r\n \"20.60.20.0/24\"\ - ,\r\n \"20.60.21.0/24\",\r\n \"20.60.22.0/23\",\r\n \ - \ \"20.60.24.0/23\",\r\n \"20.60.26.0/23\",\r\n \"\ - 20.60.28.0/23\",\r\n \"20.60.30.0/23\",\r\n \"20.60.32.0/23\"\ - ,\r\n \"20.60.34.0/23\",\r\n \"20.60.36.0/23\",\r\n \ - \ \"20.60.40.0/23\",\r\n \"20.60.42.0/23\",\r\n \"\ - 20.60.48.0/22\",\r\n \"20.60.52.0/23\",\r\n \"20.60.56.0/22\"\ - ,\r\n \"20.60.60.0/22\",\r\n \"20.60.64.0/22\",\r\n \ - \ \"20.60.68.0/22\",\r\n \"20.60.72.0/22\",\r\n \"\ - 20.60.80.0/23\",\r\n \"20.60.82.0/23\",\r\n \"20.60.128.0/23\"\ - ,\r\n \"20.60.130.0/24\",\r\n \"20.60.131.0/24\",\r\n \ - \ \"20.60.132.0/23\",\r\n \"20.60.134.0/23\",\r\n \ - \ \"20.60.136.0/24\",\r\n \"20.60.138.0/23\",\r\n \"20.60.140.0/23\"\ - ,\r\n \"20.60.142.0/23\",\r\n \"20.60.144.0/23\",\r\n \ - \ \"20.60.146.0/23\",\r\n \"20.60.148.0/23\",\r\n \ - \ \"20.60.150.0/23\",\r\n \"20.60.152.0/23\",\r\n \"20.60.154.0/23\"\ - ,\r\n \"20.60.156.0/23\",\r\n \"20.60.160.0/23\",\r\n \ - \ \"20.60.164.0/23\",\r\n \"20.60.166.0/23\",\r\n \ - \ \"20.60.168.0/23\",\r\n \"20.60.172.0/23\",\r\n \"20.60.174.0/23\"\ - ,\r\n \"20.60.176.0/23\",\r\n \"20.60.178.0/23\",\r\n \ - \ \"20.60.180.0/23\",\r\n \"20.60.182.0/23\",\r\n \ - \ \"20.60.184.0/23\",\r\n \"20.60.186.0/23\",\r\n \"20.60.188.0/23\"\ - ,\r\n \"20.61.0.0/16\",\r\n \"20.62.0.0/17\",\r\n \ - \ \"20.62.128.0/17\",\r\n \"20.63.0.0/17\",\r\n \"20.63.128.0/18\"\ - ,\r\n \"20.63.192.0/18\",\r\n \"20.64.0.0/17\",\r\n \ - \ \"20.64.128.0/17\",\r\n \"20.65.0.0/17\",\r\n \"\ - 20.65.128.0/17\",\r\n \"20.66.0.0/17\",\r\n \"20.66.128.0/17\"\ - ,\r\n \"20.67.0.0/17\",\r\n \"20.67.128.0/17\",\r\n \ - \ \"20.68.0.0/18\",\r\n \"20.68.64.0/18\",\r\n \"20.68.128.0/17\"\ - ,\r\n \"20.69.0.0/18\",\r\n \"20.69.64.0/18\",\r\n \ - \ \"20.69.128.0/18\",\r\n \"20.69.192.0/18\",\r\n \"\ - 20.70.0.0/18\",\r\n \"20.70.64.0/18\",\r\n \"20.70.128.0/17\"\ - ,\r\n \"20.71.0.0/16\",\r\n \"20.72.32.0/19\",\r\n \ - \ \"20.72.64.0/18\",\r\n \"20.72.128.0/18\",\r\n \"\ - 20.72.192.0/18\",\r\n \"20.73.0.0/16\",\r\n \"20.74.0.0/17\"\ - ,\r\n \"20.75.0.0/17\",\r\n \"20.75.128.0/17\",\r\n \ - \ \"20.76.0.0/16\",\r\n \"20.77.0.0/17\",\r\n \"20.77.128.0/18\"\ - ,\r\n \"20.77.192.0/18\",\r\n \"20.78.0.0/17\",\r\n \ - \ \"20.78.128.0/18\",\r\n \"20.78.192.0/18\",\r\n \"\ - 20.79.0.0/17\",\r\n \"20.80.0.0/18\",\r\n \"20.80.64.0/18\"\ - ,\r\n \"20.80.128.0/18\",\r\n \"20.80.192.0/18\",\r\n \ - \ \"20.81.0.0/17\",\r\n \"20.81.128.0/17\",\r\n \"\ - 20.82.0.0/17\",\r\n \"20.82.128.0/17\",\r\n \"20.83.0.0/18\"\ - ,\r\n \"20.83.64.0/18\",\r\n \"20.83.128.0/18\",\r\n \ - \ \"20.83.192.0/18\",\r\n \"20.84.0.0/17\",\r\n \"\ - 20.84.128.0/17\",\r\n \"20.85.0.0/17\",\r\n \"20.85.128.0/17\"\ - ,\r\n \"20.86.0.0/17\",\r\n \"20.87.0.0/18\",\r\n \ - \ \"20.89.0.0/17\",\r\n \"20.135.0.0/22\",\r\n \"20.135.4.0/22\"\ - ,\r\n \"20.135.8.0/22\",\r\n \"20.135.12.0/22\",\r\n \ - \ \"20.135.16.0/23\",\r\n \"20.135.18.0/23\",\r\n \ - \ \"20.135.20.0/22\",\r\n \"20.135.24.0/23\",\r\n \"20.135.26.0/23\"\ - ,\r\n \"20.135.28.0/23\",\r\n \"20.135.30.0/23\",\r\n \ - \ \"20.135.32.0/23\",\r\n \"20.135.36.0/23\",\r\n \ - \ \"20.135.40.0/23\",\r\n \"20.135.42.0/23\",\r\n \"20.135.44.0/23\"\ - ,\r\n \"20.135.48.0/23\",\r\n \"20.135.50.0/23\",\r\n \ - \ \"20.135.52.0/23\",\r\n \"20.135.54.0/23\",\r\n \ - \ \"20.135.56.0/23\",\r\n \"20.135.58.0/23\",\r\n \"20.135.62.0/23\"\ - ,\r\n \"20.135.64.0/23\",\r\n \"20.135.66.0/23\",\r\n \ - \ \"20.135.68.0/23\",\r\n \"20.135.70.0/23\",\r\n \ - \ \"20.135.72.0/23\",\r\n \"20.135.74.0/23\",\r\n \"20.135.76.0/23\"\ - ,\r\n \"20.135.78.0/23\",\r\n \"20.135.80.0/22\",\r\n \ - \ \"20.135.84.0/22\",\r\n \"20.135.88.0/23\",\r\n \ - \ \"20.135.90.0/23\",\r\n \"20.135.92.0/22\",\r\n \"20.135.102.0/23\"\ - ,\r\n \"20.135.104.0/22\",\r\n \"20.135.108.0/22\",\r\n\ - \ \"20.135.112.0/23\",\r\n \"20.135.114.0/23\",\r\n \ - \ \"20.135.116.0/22\",\r\n \"20.135.120.0/21\",\r\n \ - \ \"20.135.128.0/22\",\r\n \"20.135.132.0/23\",\r\n \"\ - 20.135.134.0/23\",\r\n \"20.135.136.0/22\",\r\n \"20.135.140.0/22\"\ - ,\r\n \"20.135.144.0/23\",\r\n \"20.135.146.0/23\",\r\n\ - \ \"20.135.148.0/22\",\r\n \"20.135.152.0/22\",\r\n \ - \ \"20.135.156.0/23\",\r\n \"20.135.158.0/23\",\r\n \ - \ \"20.135.160.0/22\",\r\n \"20.135.170.0/23\",\r\n \"\ - 20.135.172.0/22\",\r\n \"20.135.176.0/22\",\r\n \"20.135.180.0/23\"\ - ,\r\n \"20.135.182.0/23\",\r\n \"20.135.184.0/22\",\r\n\ - \ \"20.135.188.0/22\",\r\n \"20.135.192.0/23\",\r\n \ - \ \"20.135.194.0/23\",\r\n \"20.135.196.0/22\",\r\n \ - \ \"20.135.200.0/22\",\r\n \"20.135.204.0/23\",\r\n \"\ - 20.135.210.0/23\",\r\n \"20.135.212.0/22\",\r\n \"20.135.216.0/22\"\ - ,\r\n \"20.135.220.0/23\",\r\n \"20.135.228.0/22\",\r\n\ - \ \"20.135.232.0/23\",\r\n \"20.150.0.0/24\",\r\n \ - \ \"20.150.1.0/25\",\r\n \"20.150.1.128/25\",\r\n \"\ - 20.150.2.0/23\",\r\n \"20.150.4.0/23\",\r\n \"20.150.6.0/23\"\ - ,\r\n \"20.150.8.0/23\",\r\n \"20.150.10.0/23\",\r\n \ - \ \"20.150.12.0/23\",\r\n \"20.150.14.0/23\",\r\n \ - \ \"20.150.16.0/24\",\r\n \"20.150.17.0/25\",\r\n \"20.150.17.128/25\"\ - ,\r\n \"20.150.18.0/25\",\r\n \"20.150.18.128/25\",\r\n\ - \ \"20.150.19.0/24\",\r\n \"20.150.20.0/25\",\r\n \ - \ \"20.150.20.128/25\",\r\n \"20.150.21.0/24\",\r\n \"\ - 20.150.22.0/24\",\r\n \"20.150.23.0/24\",\r\n \"20.150.24.0/24\"\ - ,\r\n \"20.150.25.0/24\",\r\n \"20.150.26.0/24\",\r\n \ - \ \"20.150.27.0/24\",\r\n \"20.150.28.0/24\",\r\n \ - \ \"20.150.29.0/24\",\r\n \"20.150.31.0/24\",\r\n \"20.150.32.0/23\"\ - ,\r\n \"20.150.34.0/23\",\r\n \"20.150.36.0/24\",\r\n \ - \ \"20.150.37.0/24\",\r\n \"20.150.38.0/23\",\r\n \ - \ \"20.150.40.0/25\",\r\n \"20.150.40.128/25\",\r\n \"\ - 20.150.41.0/24\",\r\n \"20.150.42.0/24\",\r\n \"20.150.43.0/25\"\ - ,\r\n \"20.150.43.128/25\",\r\n \"20.150.46.0/24\",\r\n\ - \ \"20.150.47.0/25\",\r\n \"20.150.47.128/25\",\r\n \ - \ \"20.150.48.0/24\",\r\n \"20.150.49.0/24\",\r\n \"\ - 20.150.50.0/23\",\r\n \"20.150.52.0/24\",\r\n \"20.150.53.0/24\"\ - ,\r\n \"20.150.54.0/24\",\r\n \"20.150.55.0/24\",\r\n \ - \ \"20.150.56.0/24\",\r\n \"20.150.58.0/24\",\r\n \ - \ \"20.150.59.0/24\",\r\n \"20.150.60.0/24\",\r\n \"20.150.61.0/24\"\ - ,\r\n \"20.150.62.0/24\",\r\n \"20.150.63.0/24\",\r\n \ - \ \"20.150.66.0/24\",\r\n \"20.150.67.0/24\",\r\n \ - \ \"20.150.68.0/24\",\r\n \"20.150.69.0/24\",\r\n \"20.150.70.0/24\"\ - ,\r\n \"20.150.71.0/24\",\r\n \"20.150.72.0/24\",\r\n \ - \ \"20.150.73.0/24\",\r\n \"20.150.74.0/24\",\r\n \ - \ \"20.150.75.0/24\",\r\n \"20.150.76.0/24\",\r\n \"20.150.77.0/24\"\ - ,\r\n \"20.150.78.0/24\",\r\n \"20.150.79.0/24\",\r\n \ - \ \"20.150.80.0/24\",\r\n \"20.150.81.0/24\",\r\n \ - \ \"20.150.82.0/24\",\r\n \"20.150.83.0/24\",\r\n \"20.150.84.0/24\"\ - ,\r\n \"20.150.85.0/24\",\r\n \"20.150.86.0/24\",\r\n \ - \ \"20.150.87.0/24\",\r\n \"20.150.88.0/24\",\r\n \ - \ \"20.150.89.0/24\",\r\n \"20.150.90.0/24\",\r\n \"20.150.91.0/24\"\ - ,\r\n \"20.150.92.0/24\",\r\n \"20.150.93.0/24\",\r\n \ - \ \"20.150.94.0/24\",\r\n \"20.150.95.0/24\",\r\n \ - \ \"20.150.96.0/24\",\r\n \"20.150.98.0/24\",\r\n \"20.150.100.0/24\"\ - ,\r\n \"20.150.101.0/24\",\r\n \"20.150.102.0/24\",\r\n\ - \ \"20.150.103.0/24\",\r\n \"20.150.104.0/24\",\r\n \ - \ \"20.150.105.0/24\",\r\n \"20.150.106.0/24\",\r\n \ - \ \"20.150.107.0/24\",\r\n \"20.150.108.0/24\",\r\n \"\ - 20.150.110.0/24\",\r\n \"20.150.111.0/24\",\r\n \"20.150.112.0/24\"\ - ,\r\n \"20.150.113.0/24\",\r\n \"20.150.114.0/24\",\r\n\ - \ \"20.150.115.0/24\",\r\n \"20.150.116.0/24\",\r\n \ - \ \"20.150.117.0/24\",\r\n \"20.150.118.0/24\",\r\n \ - \ \"20.150.119.0/24\",\r\n \"20.150.121.0/24\",\r\n \"\ - 20.150.122.0/24\",\r\n \"20.150.123.0/24\",\r\n \"20.150.124.0/24\"\ - ,\r\n \"20.150.125.0/24\",\r\n \"20.150.126.0/24\",\r\n\ - \ \"20.150.127.0/24\",\r\n \"20.151.0.0/17\",\r\n \ - \ \"20.151.128.0/18\",\r\n \"20.157.0.0/24\",\r\n \"\ - 20.157.1.0/24\",\r\n \"20.157.2.0/24\",\r\n \"20.157.3.0/24\"\ - ,\r\n \"20.157.32.0/24\",\r\n \"20.157.33.0/24\",\r\n \ - \ \"20.157.34.0/23\",\r\n \"20.157.36.0/23\",\r\n \ - \ \"20.157.38.0/24\",\r\n \"20.157.39.0/24\",\r\n \"20.157.41.0/24\"\ - ,\r\n \"20.157.42.0/24\",\r\n \"20.157.43.0/24\",\r\n \ - \ \"20.157.44.0/24\",\r\n \"20.157.45.0/24\",\r\n \ - \ \"20.157.46.0/24\",\r\n \"20.157.47.0/24\",\r\n \"20.157.48.0/23\"\ - ,\r\n \"20.157.50.0/23\",\r\n \"20.157.52.0/24\",\r\n \ - \ \"20.157.53.0/24\",\r\n \"20.157.54.0/24\",\r\n \ - \ \"20.157.55.0/24\",\r\n \"20.157.56.0/24\",\r\n \"20.157.96.0/24\"\ - ,\r\n \"20.184.0.0/18\",\r\n \"20.184.64.0/18\",\r\n \ - \ \"20.184.128.0/17\",\r\n \"20.185.0.0/16\",\r\n \ - \ \"20.186.0.0/17\",\r\n \"20.186.128.0/18\",\r\n \"20.186.192.0/18\"\ - ,\r\n \"20.187.0.0/18\",\r\n \"20.187.64.0/18\",\r\n \ - \ \"20.187.128.0/18\",\r\n \"20.187.192.0/21\",\r\n \ - \ \"20.187.224.0/19\",\r\n \"20.188.0.0/19\",\r\n \"20.188.32.0/19\"\ - ,\r\n \"20.188.64.0/19\",\r\n \"20.188.96.0/19\",\r\n \ - \ \"20.188.128.0/17\",\r\n \"20.189.0.0/18\",\r\n \ - \ \"20.189.64.0/18\",\r\n \"20.189.128.0/18\",\r\n \"20.189.192.0/18\"\ - ,\r\n \"20.190.0.0/18\",\r\n \"20.190.64.0/19\",\r\n \ - \ \"20.190.96.0/19\",\r\n \"20.190.128.0/24\",\r\n \ - \ \"20.190.129.0/24\",\r\n \"20.190.130.0/24\",\r\n \"\ - 20.190.131.0/24\",\r\n \"20.190.132.0/24\",\r\n \"20.190.133.0/24\"\ - ,\r\n \"20.190.134.0/24\",\r\n \"20.190.135.0/24\",\r\n\ - \ \"20.190.136.0/24\",\r\n \"20.190.137.0/24\",\r\n \ - \ \"20.190.138.0/25\",\r\n \"20.190.138.128/25\",\r\n \ - \ \"20.190.139.0/25\",\r\n \"20.190.139.128/25\",\r\n \ - \ \"20.190.140.0/25\",\r\n \"20.190.140.128/25\",\r\n \"\ - 20.190.141.0/25\",\r\n \"20.190.141.128/25\",\r\n \"20.190.142.0/25\"\ - ,\r\n \"20.190.142.128/25\",\r\n \"20.190.143.0/25\",\r\n\ - \ \"20.190.143.128/25\",\r\n \"20.190.144.0/25\",\r\n \ - \ \"20.190.144.128/25\",\r\n \"20.190.145.0/25\",\r\n \ - \ \"20.190.145.128/25\",\r\n \"20.190.146.0/25\",\r\n \ - \ \"20.190.146.128/25\",\r\n \"20.190.147.0/25\",\r\n \ - \ \"20.190.147.128/25\",\r\n \"20.190.148.0/25\",\r\n \"\ - 20.190.148.128/25\",\r\n \"20.190.149.0/24\",\r\n \"20.190.150.0/24\"\ - ,\r\n \"20.190.151.0/24\",\r\n \"20.190.152.0/24\",\r\n\ - \ \"20.190.153.0/24\",\r\n \"20.190.154.0/24\",\r\n \ - \ \"20.190.155.0/24\",\r\n \"20.190.156.0/24\",\r\n \ - \ \"20.190.157.0/24\",\r\n \"20.190.158.0/24\",\r\n \"\ - 20.190.159.0/24\",\r\n \"20.190.160.0/24\",\r\n \"20.190.161.0/24\"\ - ,\r\n \"20.190.162.0/24\",\r\n \"20.190.163.0/24\",\r\n\ - \ \"20.190.164.0/24\",\r\n \"20.190.165.0/24\",\r\n \ - \ \"20.190.166.0/24\",\r\n \"20.190.167.0/24\",\r\n \ - \ \"20.190.168.0/24\",\r\n \"20.190.169.0/24\",\r\n \"\ - 20.190.170.0/24\",\r\n \"20.190.171.0/24\",\r\n \"20.190.172.0/24\"\ - ,\r\n \"20.190.173.0/24\",\r\n \"20.190.174.0/24\",\r\n\ - \ \"20.190.175.0/24\",\r\n \"20.190.176.0/24\",\r\n \ - \ \"20.190.177.0/24\",\r\n \"20.190.178.0/24\",\r\n \ - \ \"20.190.179.0/24\",\r\n \"20.190.180.0/24\",\r\n \"\ - 20.190.183.0/24\",\r\n \"20.190.184.0/24\",\r\n \"20.190.185.0/24\"\ - ,\r\n \"20.190.186.0/24\",\r\n \"20.190.187.0/24\",\r\n\ - \ \"20.190.188.0/24\",\r\n \"20.190.189.0/26\",\r\n \ - \ \"20.190.189.64/26\",\r\n \"20.190.189.128/26\",\r\n \ - \ \"20.190.189.192/26\",\r\n \"20.190.190.0/26\",\r\n \ - \ \"20.190.190.64/26\",\r\n \"20.190.192.0/18\",\r\n \"\ - 20.191.0.0/18\",\r\n \"20.191.64.0/18\",\r\n \"20.191.128.0/19\"\ - ,\r\n \"20.191.160.0/19\",\r\n \"20.191.192.0/18\",\r\n\ - \ \"20.192.0.0/19\",\r\n \"20.192.40.0/21\",\r\n \ - \ \"20.192.64.0/19\",\r\n \"20.192.96.0/21\",\r\n \"20.192.128.0/19\"\ - ,\r\n \"20.192.184.0/21\",\r\n \"20.193.0.0/18\",\r\n \ - \ \"20.193.64.0/19\",\r\n \"20.193.96.0/19\",\r\n \ - \ \"20.193.128.0/19\",\r\n \"20.193.224.0/19\",\r\n \"\ - 20.194.0.0/18\",\r\n \"20.194.64.0/20\",\r\n \"20.194.80.0/21\"\ - ,\r\n \"20.194.96.0/19\",\r\n \"20.194.128.0/17\",\r\n \ - \ \"20.195.0.0/18\",\r\n \"20.195.64.0/21\",\r\n \ - \ \"20.195.72.0/21\",\r\n \"20.195.96.0/19\",\r\n \"20.195.128.0/22\"\ - ,\r\n \"20.195.136.0/21\",\r\n \"20.195.144.0/21\",\r\n\ - \ \"20.195.152.0/21\",\r\n \"20.195.160.0/19\",\r\n \ - \ \"20.195.192.0/18\",\r\n \"20.196.0.0/18\",\r\n \"\ - 20.196.64.0/18\",\r\n \"20.196.128.0/17\",\r\n \"20.197.0.0/18\"\ - ,\r\n \"20.197.64.0/18\",\r\n \"20.197.128.0/17\",\r\n \ - \ \"20.198.0.0/17\",\r\n \"20.198.128.0/17\",\r\n \ - \ \"20.199.0.0/17\",\r\n \"20.199.128.0/18\",\r\n \"20.200.0.0/18\"\ - ,\r\n \"20.200.64.0/18\",\r\n \"20.200.128.0/18\",\r\n \ - \ \"23.96.0.0/17\",\r\n \"23.96.128.0/17\",\r\n \ - \ \"23.97.48.0/20\",\r\n \"23.97.64.0/19\",\r\n \"23.97.96.0/20\"\ - ,\r\n \"23.97.112.0/25\",\r\n \"23.97.112.128/28\",\r\n\ - \ \"23.97.112.160/27\",\r\n \"23.97.112.192/27\",\r\n \ - \ \"23.97.112.224/27\",\r\n \"23.97.116.0/22\",\r\n \ - \ \"23.97.120.0/21\",\r\n \"23.97.128.0/17\",\r\n \"\ - 23.98.32.0/21\",\r\n \"23.98.40.0/22\",\r\n \"23.98.44.0/24\"\ - ,\r\n \"23.98.45.0/24\",\r\n \"23.98.46.0/24\",\r\n \ - \ \"23.98.47.0/24\",\r\n \"23.98.48.0/21\",\r\n \"\ - 23.98.56.0/24\",\r\n \"23.98.57.64/26\",\r\n \"23.98.64.0/18\"\ - ,\r\n \"23.98.128.0/17\",\r\n \"23.99.0.0/18\",\r\n \ - \ \"23.99.64.0/19\",\r\n \"23.99.96.0/19\",\r\n \"\ - 23.99.128.0/17\",\r\n \"23.100.0.0/20\",\r\n \"23.100.16.0/20\"\ - ,\r\n \"23.100.32.0/20\",\r\n \"23.100.48.0/20\",\r\n \ - \ \"23.100.64.0/21\",\r\n \"23.100.72.0/21\",\r\n \ - \ \"23.100.80.0/21\",\r\n \"23.100.88.0/21\",\r\n \"23.100.96.0/21\"\ - ,\r\n \"23.100.104.0/21\",\r\n \"23.100.112.0/21\",\r\n\ - \ \"23.100.120.0/21\",\r\n \"23.100.128.0/18\",\r\n \ - \ \"23.100.224.0/20\",\r\n \"23.100.240.0/20\",\r\n \ - \ \"23.101.0.0/20\",\r\n \"23.101.16.0/20\",\r\n \"23.101.32.0/21\"\ - ,\r\n \"23.101.48.0/20\",\r\n \"23.101.64.0/20\",\r\n \ - \ \"23.101.80.0/21\",\r\n \"23.101.112.0/20\",\r\n \ - \ \"23.101.128.0/20\",\r\n \"23.101.144.0/20\",\r\n \"\ - 23.101.160.0/20\",\r\n \"23.101.176.0/20\",\r\n \"23.101.192.0/20\"\ - ,\r\n \"23.101.208.0/20\",\r\n \"23.101.224.0/19\",\r\n\ - \ \"23.102.0.0/18\",\r\n \"23.102.64.0/19\",\r\n \ - \ \"23.102.96.0/19\",\r\n \"23.102.128.0/18\",\r\n \"\ - 23.102.192.0/21\",\r\n \"23.102.200.0/23\",\r\n \"23.102.202.0/24\"\ - ,\r\n \"23.102.203.0/24\",\r\n \"23.102.204.0/22\",\r\n\ - \ \"23.102.208.0/20\",\r\n \"23.102.224.0/19\",\r\n \ - \ \"23.103.64.32/27\",\r\n \"23.103.64.64/27\",\r\n \ - \ \"23.103.66.0/23\",\r\n \"40.64.64.0/18\",\r\n \"40.64.128.0/21\"\ - ,\r\n \"40.65.0.0/18\",\r\n \"40.65.64.0/18\",\r\n \ - \ \"40.65.128.0/18\",\r\n \"40.65.192.0/18\",\r\n \"\ - 40.66.32.0/19\",\r\n \"40.66.120.0/21\",\r\n \"40.67.120.0/21\"\ - ,\r\n \"40.67.128.0/19\",\r\n \"40.67.160.0/19\",\r\n \ - \ \"40.67.192.0/19\",\r\n \"40.67.224.0/19\",\r\n \ - \ \"40.68.0.0/16\",\r\n \"40.69.0.0/18\",\r\n \"40.69.64.0/19\"\ - ,\r\n \"40.69.96.0/19\",\r\n \"40.69.128.0/18\",\r\n \ - \ \"40.69.192.0/19\",\r\n \"40.70.0.0/18\",\r\n \"\ - 40.70.64.0/20\",\r\n \"40.70.80.0/21\",\r\n \"40.70.88.0/28\"\ - ,\r\n \"40.70.128.0/17\",\r\n \"40.71.0.0/16\",\r\n \ - \ \"40.74.0.0/18\",\r\n \"40.74.64.0/18\",\r\n \"40.74.128.0/20\"\ - ,\r\n \"40.74.144.0/20\",\r\n \"40.74.160.0/19\",\r\n \ - \ \"40.74.192.0/18\",\r\n \"40.75.0.0/19\",\r\n \"\ - 40.75.32.0/21\",\r\n \"40.75.64.0/18\",\r\n \"40.75.128.0/17\"\ - ,\r\n \"40.76.0.0/16\",\r\n \"40.77.0.0/17\",\r\n \ - \ \"40.77.128.0/25\",\r\n \"40.77.128.128/25\",\r\n \"\ - 40.77.129.0/24\",\r\n \"40.77.130.0/25\",\r\n \"40.77.130.128/26\"\ - ,\r\n \"40.77.130.192/26\",\r\n \"40.77.131.0/25\",\r\n\ - \ \"40.77.131.128/26\",\r\n \"40.77.131.192/27\",\r\n \ - \ \"40.77.131.224/28\",\r\n \"40.77.131.240/28\",\r\n \ - \ \"40.77.132.0/24\",\r\n \"40.77.133.0/24\",\r\n \"\ - 40.77.134.0/24\",\r\n \"40.77.135.0/24\",\r\n \"40.77.136.0/28\"\ - ,\r\n \"40.77.136.16/28\",\r\n \"40.77.136.32/28\",\r\n\ - \ \"40.77.136.48/28\",\r\n \"40.77.136.64/28\",\r\n \ - \ \"40.77.136.80/28\",\r\n \"40.77.136.96/28\",\r\n \ - \ \"40.77.136.128/25\",\r\n \"40.77.137.0/25\",\r\n \"\ - 40.77.137.128/26\",\r\n \"40.77.137.192/27\",\r\n \"40.77.138.0/25\"\ - ,\r\n \"40.77.138.128/25\",\r\n \"40.77.139.0/25\",\r\n\ - \ \"40.77.139.128/25\",\r\n \"40.77.160.0/27\",\r\n \ - \ \"40.77.160.32/27\",\r\n \"40.77.160.64/26\",\r\n \ - \ \"40.77.160.128/25\",\r\n \"40.77.161.0/26\",\r\n \"\ - 40.77.161.64/26\",\r\n \"40.77.161.128/25\",\r\n \"40.77.162.0/24\"\ - ,\r\n \"40.77.163.0/24\",\r\n \"40.77.164.0/24\",\r\n \ - \ \"40.77.165.0/24\",\r\n \"40.77.166.0/25\",\r\n \ - \ \"40.77.166.128/28\",\r\n \"40.77.166.160/27\",\r\n \"\ - 40.77.166.192/26\",\r\n \"40.77.167.0/24\",\r\n \"40.77.168.0/24\"\ - ,\r\n \"40.77.169.0/24\",\r\n \"40.77.170.0/24\",\r\n \ - \ \"40.77.171.0/24\",\r\n \"40.77.172.0/24\",\r\n \ - \ \"40.77.173.0/24\",\r\n \"40.77.174.0/24\",\r\n \"40.77.175.0/27\"\ - ,\r\n \"40.77.175.32/27\",\r\n \"40.77.175.64/27\",\r\n\ - \ \"40.77.175.96/27\",\r\n \"40.77.175.128/27\",\r\n \ - \ \"40.77.175.160/27\",\r\n \"40.77.175.192/27\",\r\n \ - \ \"40.77.175.240/28\",\r\n \"40.77.176.0/24\",\r\n \ - \ \"40.77.177.0/24\",\r\n \"40.77.178.0/23\",\r\n \"40.77.180.0/23\"\ - ,\r\n \"40.77.182.0/28\",\r\n \"40.77.182.16/28\",\r\n \ - \ \"40.77.182.32/27\",\r\n \"40.77.182.64/27\",\r\n \ - \ \"40.77.182.96/27\",\r\n \"40.77.182.128/27\",\r\n \ - \ \"40.77.182.160/27\",\r\n \"40.77.182.192/26\",\r\n \"\ - 40.77.183.0/24\",\r\n \"40.77.184.0/25\",\r\n \"40.77.184.128/25\"\ - ,\r\n \"40.77.185.0/25\",\r\n \"40.77.185.128/25\",\r\n\ - \ \"40.77.186.0/23\",\r\n \"40.77.188.0/22\",\r\n \ - \ \"40.77.192.0/22\",\r\n \"40.77.196.0/24\",\r\n \"\ - 40.77.197.0/24\",\r\n \"40.77.198.0/26\",\r\n \"40.77.198.64/26\"\ - ,\r\n \"40.77.198.128/25\",\r\n \"40.77.199.0/25\",\r\n\ - \ \"40.77.199.128/26\",\r\n \"40.77.199.192/26\",\r\n \ - \ \"40.77.200.0/25\",\r\n \"40.77.200.128/25\",\r\n \ - \ \"40.77.201.0/24\",\r\n \"40.77.202.0/24\",\r\n \"\ - 40.77.224.0/28\",\r\n \"40.77.224.16/28\",\r\n \"40.77.224.32/27\"\ - ,\r\n \"40.77.224.64/27\",\r\n \"40.77.224.96/27\",\r\n\ - \ \"40.77.224.128/25\",\r\n \"40.77.225.0/24\",\r\n \ - \ \"40.77.226.0/25\",\r\n \"40.77.226.128/25\",\r\n \ - \ \"40.77.227.0/24\",\r\n \"40.77.228.0/24\",\r\n \"40.77.229.0/24\"\ - ,\r\n \"40.77.230.0/24\",\r\n \"40.77.231.0/24\",\r\n \ - \ \"40.77.232.0/25\",\r\n \"40.77.232.128/25\",\r\n \ - \ \"40.77.233.0/24\",\r\n \"40.77.234.0/25\",\r\n \"\ - 40.77.234.128/27\",\r\n \"40.77.234.160/27\",\r\n \"40.77.234.192/27\"\ - ,\r\n \"40.77.234.224/27\",\r\n \"40.77.235.0/24\",\r\n\ - \ \"40.77.236.0/27\",\r\n \"40.77.236.32/27\",\r\n \ - \ \"40.77.236.80/28\",\r\n \"40.77.236.96/27\",\r\n \ - \ \"40.77.236.128/27\",\r\n \"40.77.236.160/28\",\r\n \"\ - 40.77.236.176/28\",\r\n \"40.77.236.192/28\",\r\n \"40.77.237.0/26\"\ - ,\r\n \"40.77.237.64/26\",\r\n \"40.77.237.128/25\",\r\n\ - \ \"40.77.240.0/25\",\r\n \"40.77.240.128/25\",\r\n \ - \ \"40.77.241.0/24\",\r\n \"40.77.242.0/23\",\r\n \"\ - 40.77.245.0/24\",\r\n \"40.77.246.0/24\",\r\n \"40.77.247.0/24\"\ - ,\r\n \"40.77.248.0/25\",\r\n \"40.77.248.128/25\",\r\n\ - \ \"40.77.249.0/24\",\r\n \"40.77.250.0/24\",\r\n \ - \ \"40.77.251.0/24\",\r\n \"40.77.252.0/23\",\r\n \"\ - 40.77.254.0/26\",\r\n \"40.77.254.128/25\",\r\n \"40.77.255.0/25\"\ - ,\r\n \"40.77.255.128/26\",\r\n \"40.77.255.192/26\",\r\n\ - \ \"40.78.0.0/17\",\r\n \"40.78.128.0/18\",\r\n \ - \ \"40.78.192.0/21\",\r\n \"40.78.200.0/21\",\r\n \"40.78.208.0/28\"\ - ,\r\n \"40.78.208.16/28\",\r\n \"40.78.208.32/30\",\r\n\ - \ \"40.78.208.48/28\",\r\n \"40.78.208.64/28\",\r\n \ - \ \"40.78.209.0/24\",\r\n \"40.78.210.0/24\",\r\n \"\ - 40.78.211.0/24\",\r\n \"40.78.212.0/24\",\r\n \"40.78.214.0/24\"\ - ,\r\n \"40.78.216.0/24\",\r\n \"40.78.217.0/24\",\r\n \ - \ \"40.78.218.0/24\",\r\n \"40.78.219.0/24\",\r\n \ - \ \"40.78.220.0/24\",\r\n \"40.78.221.0/24\",\r\n \"40.78.222.0/24\"\ - ,\r\n \"40.78.223.0/24\",\r\n \"40.78.224.0/21\",\r\n \ - \ \"40.78.232.0/21\",\r\n \"40.78.240.0/20\",\r\n \ - \ \"40.79.0.0/21\",\r\n \"40.79.8.0/27\",\r\n \"40.79.8.32/28\"\ - ,\r\n \"40.79.8.64/27\",\r\n \"40.79.8.96/28\",\r\n \ - \ \"40.79.9.0/24\",\r\n \"40.79.16.0/20\",\r\n \"40.79.32.0/20\"\ - ,\r\n \"40.79.48.0/27\",\r\n \"40.79.48.32/28\",\r\n \ - \ \"40.79.49.0/24\",\r\n \"40.79.56.0/21\",\r\n \"\ - 40.79.64.0/20\",\r\n \"40.79.80.0/21\",\r\n \"40.79.88.0/27\"\ - ,\r\n \"40.79.88.32/28\",\r\n \"40.79.89.0/24\",\r\n \ - \ \"40.79.90.0/24\",\r\n \"40.79.91.0/28\",\r\n \"\ - 40.79.92.0/24\",\r\n \"40.79.93.0/28\",\r\n \"40.79.94.0/24\"\ - ,\r\n \"40.79.95.0/28\",\r\n \"40.79.96.0/19\",\r\n \ - \ \"40.79.128.0/20\",\r\n \"40.79.144.0/21\",\r\n \"\ - 40.79.152.0/21\",\r\n \"40.79.160.0/20\",\r\n \"40.79.176.0/21\"\ - ,\r\n \"40.79.184.0/21\",\r\n \"40.79.192.0/21\",\r\n \ - \ \"40.79.201.0/24\",\r\n \"40.79.202.0/24\",\r\n \ - \ \"40.79.203.0/24\",\r\n \"40.79.204.0/27\",\r\n \"40.79.204.32/28\"\ - ,\r\n \"40.79.204.64/27\",\r\n \"40.79.204.192/26\",\r\n\ - \ \"40.79.205.0/26\",\r\n \"40.79.205.192/27\",\r\n \ - \ \"40.79.205.224/28\",\r\n \"40.79.205.240/28\",\r\n \ - \ \"40.79.206.0/27\",\r\n \"40.79.206.32/27\",\r\n \"\ - 40.79.206.64/27\",\r\n \"40.79.206.96/27\",\r\n \"40.79.206.128/27\"\ - ,\r\n \"40.79.206.160/27\",\r\n \"40.79.206.192/27\",\r\n\ - \ \"40.79.206.224/27\",\r\n \"40.79.207.0/27\",\r\n \ - \ \"40.79.207.32/27\",\r\n \"40.79.207.64/28\",\r\n \ - \ \"40.79.207.80/28\",\r\n \"40.79.207.96/27\",\r\n \"\ - 40.79.207.128/25\",\r\n \"40.79.208.0/24\",\r\n \"40.79.209.0/24\"\ - ,\r\n \"40.79.210.0/24\",\r\n \"40.79.211.0/24\",\r\n \ - \ \"40.79.212.0/24\",\r\n \"40.79.213.0/24\",\r\n \ - \ \"40.79.214.0/24\",\r\n \"40.79.215.0/24\",\r\n \"40.79.216.0/24\"\ - ,\r\n \"40.79.217.0/24\",\r\n \"40.79.218.0/24\",\r\n \ - \ \"40.79.219.0/24\",\r\n \"40.79.220.0/24\",\r\n \ - \ \"40.79.221.0/24\",\r\n \"40.79.222.0/24\",\r\n \"40.79.223.0/24\"\ - ,\r\n \"40.79.232.0/21\",\r\n \"40.79.240.0/20\",\r\n \ - \ \"40.80.0.0/22\",\r\n \"40.80.4.0/22\",\r\n \"\ - 40.80.12.0/22\",\r\n \"40.80.16.0/22\",\r\n \"40.80.20.0/22\"\ - ,\r\n \"40.80.24.0/22\",\r\n \"40.80.32.0/22\",\r\n \ - \ \"40.80.36.0/22\",\r\n \"40.80.40.0/22\",\r\n \"\ - 40.80.44.0/22\",\r\n \"40.80.48.0/21\",\r\n \"40.80.56.0/21\"\ - ,\r\n \"40.80.64.0/19\",\r\n \"40.80.96.0/20\",\r\n \ - \ \"40.80.144.0/21\",\r\n \"40.80.152.0/21\",\r\n \"\ - 40.80.160.0/24\",\r\n \"40.80.168.0/21\",\r\n \"40.80.176.0/21\"\ - ,\r\n \"40.80.184.0/21\",\r\n \"40.80.192.0/19\",\r\n \ - \ \"40.80.224.0/20\",\r\n \"40.80.240.0/20\",\r\n \ - \ \"40.81.0.0/20\",\r\n \"40.81.16.0/20\",\r\n \"40.81.32.0/20\"\ - ,\r\n \"40.81.48.0/20\",\r\n \"40.81.64.0/20\",\r\n \ - \ \"40.81.80.0/20\",\r\n \"40.81.96.0/20\",\r\n \"\ - 40.81.112.0/20\",\r\n \"40.81.128.0/19\",\r\n \"40.81.160.0/20\"\ - ,\r\n \"40.81.176.0/20\",\r\n \"40.81.192.0/19\",\r\n \ - \ \"40.81.224.0/19\",\r\n \"40.82.0.0/22\",\r\n \"\ - 40.82.4.0/22\",\r\n \"40.82.8.0/22\",\r\n \"40.82.16.0/22\"\ - ,\r\n \"40.82.20.0/22\",\r\n \"40.82.24.0/22\",\r\n \ - \ \"40.82.28.0/22\",\r\n \"40.82.32.0/22\",\r\n \"\ - 40.82.36.0/22\",\r\n \"40.82.44.0/22\",\r\n \"40.82.48.0/22\"\ - ,\r\n \"40.82.52.0/22\",\r\n \"40.82.60.0/22\",\r\n \ - \ \"40.82.64.0/22\",\r\n \"40.82.68.0/22\",\r\n \"\ - 40.82.72.0/22\",\r\n \"40.82.84.0/22\",\r\n \"40.82.88.0/22\"\ - ,\r\n \"40.82.92.0/22\",\r\n \"40.82.96.0/22\",\r\n \ - \ \"40.82.100.0/22\",\r\n \"40.82.116.0/22\",\r\n \"\ - 40.82.120.0/22\",\r\n \"40.82.128.0/19\",\r\n \"40.82.160.0/19\"\ - ,\r\n \"40.82.192.0/19\",\r\n \"40.82.224.0/20\",\r\n \ - \ \"40.82.240.0/22\",\r\n \"40.82.244.0/22\",\r\n \ - \ \"40.82.248.0/21\",\r\n \"40.83.0.0/20\",\r\n \"40.83.16.0/21\"\ - ,\r\n \"40.83.24.0/26\",\r\n \"40.83.24.64/27\",\r\n \ - \ \"40.83.24.96/27\",\r\n \"40.83.24.128/25\",\r\n \ - \ \"40.83.25.0/24\",\r\n \"40.83.26.0/23\",\r\n \"40.83.28.0/22\"\ - ,\r\n \"40.83.32.0/19\",\r\n \"40.83.64.0/18\",\r\n \ - \ \"40.83.128.0/17\",\r\n \"40.84.0.0/17\",\r\n \"\ - 40.84.128.0/17\",\r\n \"40.85.0.0/17\",\r\n \"40.85.128.0/20\"\ - ,\r\n \"40.85.144.0/20\",\r\n \"40.85.160.0/19\",\r\n \ - \ \"40.85.192.0/18\",\r\n \"40.86.0.0/17\",\r\n \"\ - 40.86.128.0/19\",\r\n \"40.86.160.0/19\",\r\n \"40.86.192.0/18\"\ - ,\r\n \"40.87.0.0/17\",\r\n \"40.87.128.0/19\",\r\n \ - \ \"40.87.160.0/22\",\r\n \"40.87.164.0/22\",\r\n \"\ - 40.87.168.0/30\",\r\n \"40.87.168.4/30\",\r\n \"40.87.168.8/29\"\ - ,\r\n \"40.87.168.16/28\",\r\n \"40.87.168.32/29\",\r\n\ - \ \"40.87.168.40/29\",\r\n \"40.87.168.48/28\",\r\n \ - \ \"40.87.168.64/30\",\r\n \"40.87.168.68/31\",\r\n \ - \ \"40.87.168.70/31\",\r\n \"40.87.168.72/29\",\r\n \"\ - 40.87.168.80/28\",\r\n \"40.87.168.96/27\",\r\n \"40.87.168.128/26\"\ - ,\r\n \"40.87.168.192/28\",\r\n \"40.87.168.208/31\",\r\n\ - \ \"40.87.168.210/31\",\r\n \"40.87.168.212/30\",\r\n \ - \ \"40.87.168.216/29\",\r\n \"40.87.168.224/27\",\r\n \ - \ \"40.87.169.0/27\",\r\n \"40.87.169.32/29\",\r\n \ - \ \"40.87.169.40/30\",\r\n \"40.87.169.44/30\",\r\n \"40.87.169.48/29\"\ - ,\r\n \"40.87.169.56/31\",\r\n \"40.87.169.58/31\",\r\n\ - \ \"40.87.169.60/30\",\r\n \"40.87.169.64/27\",\r\n \ - \ \"40.87.169.96/31\",\r\n \"40.87.169.98/31\",\r\n \ - \ \"40.87.169.100/31\",\r\n \"40.87.169.102/31\",\r\n \"\ - 40.87.169.104/29\",\r\n \"40.87.169.112/28\",\r\n \"40.87.169.128/29\"\ - ,\r\n \"40.87.169.136/31\",\r\n \"40.87.169.138/31\",\r\n\ - \ \"40.87.169.140/30\",\r\n \"40.87.169.144/28\",\r\n \ - \ \"40.87.169.160/27\",\r\n \"40.87.169.192/26\",\r\n \ - \ \"40.87.170.0/25\",\r\n \"40.87.170.128/28\",\r\n \ - \ \"40.87.170.144/31\",\r\n \"40.87.170.146/31\",\r\n \"\ - 40.87.170.148/30\",\r\n \"40.87.170.152/29\",\r\n \"40.87.170.160/28\"\ - ,\r\n \"40.87.170.176/29\",\r\n \"40.87.170.184/30\",\r\n\ - \ \"40.87.170.188/30\",\r\n \"40.87.170.192/31\",\r\n \ - \ \"40.87.170.194/31\",\r\n \"40.87.170.196/30\",\r\n \ - \ \"40.87.170.200/29\",\r\n \"40.87.170.208/30\",\r\n \ - \ \"40.87.170.212/31\",\r\n \"40.87.170.214/31\",\r\n \ - \ \"40.87.170.216/30\",\r\n \"40.87.170.220/30\",\r\n \"\ - 40.87.170.224/30\",\r\n \"40.87.170.228/30\",\r\n \"40.87.170.232/29\"\ - ,\r\n \"40.87.170.240/29\",\r\n \"40.87.170.248/30\",\r\n\ - \ \"40.87.170.252/30\",\r\n \"40.87.171.0/31\",\r\n \ - \ \"40.87.171.2/31\",\r\n \"40.87.171.4/30\",\r\n \"\ - 40.87.171.8/29\",\r\n \"40.87.171.16/28\",\r\n \"40.87.171.32/30\"\ - ,\r\n \"40.87.171.36/30\",\r\n \"40.87.171.40/31\",\r\n\ - \ \"40.87.171.42/31\",\r\n \"40.87.171.44/30\",\r\n \ - \ \"40.87.171.48/28\",\r\n \"40.87.171.64/29\",\r\n \ - \ \"40.87.171.72/29\",\r\n \"40.87.171.80/28\",\r\n \"\ - 40.87.171.96/27\",\r\n \"40.87.171.128/29\",\r\n \"40.87.171.136/31\"\ - ,\r\n \"40.87.172.0/22\",\r\n \"40.87.176.0/25\",\r\n \ - \ \"40.87.176.128/27\",\r\n \"40.87.176.160/29\",\r\n \ - \ \"40.87.176.174/31\",\r\n \"40.87.176.184/30\",\r\n \ - \ \"40.87.176.192/28\",\r\n \"40.87.176.216/29\",\r\n \ - \ \"40.87.176.224/29\",\r\n \"40.87.176.232/31\",\r\n \"\ - 40.87.176.240/28\",\r\n \"40.87.177.16/28\",\r\n \"40.87.177.32/27\"\ - ,\r\n \"40.87.177.64/27\",\r\n \"40.87.177.96/28\",\r\n\ - \ \"40.87.177.112/29\",\r\n \"40.87.177.120/31\",\r\n \ - \ \"40.87.177.124/30\",\r\n \"40.87.177.128/28\",\r\n \ - \ \"40.87.177.144/29\",\r\n \"40.87.177.152/31\",\r\n \ - \ \"40.87.177.156/30\",\r\n \"40.87.177.160/27\",\r\n \ - \ \"40.87.177.192/29\",\r\n \"40.87.177.200/30\",\r\n \"\ - 40.87.177.212/30\",\r\n \"40.87.177.216/29\",\r\n \"40.87.177.224/27\"\ - ,\r\n \"40.87.178.0/26\",\r\n \"40.87.178.64/29\",\r\n \ - \ \"40.87.180.0/30\",\r\n \"40.87.180.4/31\",\r\n \ - \ \"40.87.180.6/31\",\r\n \"40.87.180.8/30\",\r\n \"40.87.180.12/31\"\ - ,\r\n \"40.87.180.14/31\",\r\n \"40.87.180.16/30\",\r\n\ - \ \"40.87.180.20/31\",\r\n \"40.87.180.22/31\",\r\n \ - \ \"40.87.180.24/30\",\r\n \"40.87.180.28/30\",\r\n \ - \ \"40.87.180.32/29\",\r\n \"40.87.180.40/31\",\r\n \"\ - 40.87.180.42/31\",\r\n \"40.87.180.44/30\",\r\n \"40.87.180.48/28\"\ - ,\r\n \"40.87.180.64/30\",\r\n \"40.87.180.68/30\",\r\n\ - \ \"40.87.180.72/31\",\r\n \"40.87.180.74/31\",\r\n \ - \ \"40.87.180.76/30\",\r\n \"40.87.182.0/30\",\r\n \ - \ \"40.87.182.4/30\",\r\n \"40.87.182.8/29\",\r\n \"40.87.182.16/29\"\ - ,\r\n \"40.87.182.24/29\",\r\n \"40.87.182.32/28\",\r\n\ - \ \"40.87.182.48/29\",\r\n \"40.87.182.56/30\",\r\n \ - \ \"40.87.182.60/31\",\r\n \"40.87.182.62/31\",\r\n \ - \ \"40.87.182.64/26\",\r\n \"40.87.182.128/25\",\r\n \"\ - 40.87.183.0/28\",\r\n \"40.87.183.16/29\",\r\n \"40.87.183.24/30\"\ - ,\r\n \"40.87.183.28/30\",\r\n \"40.87.183.32/31\",\r\n\ - \ \"40.87.183.34/31\",\r\n \"40.87.183.36/30\",\r\n \ - \ \"40.87.183.40/31\",\r\n \"40.87.183.42/31\",\r\n \ - \ \"40.87.183.44/30\",\r\n \"40.87.183.48/30\",\r\n \"\ - 40.87.183.52/31\",\r\n \"40.87.183.54/31\",\r\n \"40.87.183.56/29\"\ - ,\r\n \"40.87.183.64/26\",\r\n \"40.87.183.128/28\",\r\n\ - \ \"40.87.183.144/28\",\r\n \"40.87.183.160/27\",\r\n \ - \ \"40.87.183.192/27\",\r\n \"40.87.183.224/29\",\r\n \ - \ \"40.87.183.232/30\",\r\n \"40.87.183.236/31\",\r\n \ - \ \"40.87.183.238/31\",\r\n \"40.87.183.240/30\",\r\n \ - \ \"40.87.183.244/30\",\r\n \"40.87.183.248/29\",\r\n \"\ - 40.87.184.0/22\",\r\n \"40.87.188.0/22\",\r\n \"40.87.192.0/22\"\ - ,\r\n \"40.87.196.0/22\",\r\n \"40.87.200.0/22\",\r\n \ - \ \"40.87.204.0/22\",\r\n \"40.87.208.0/22\",\r\n \ - \ \"40.87.212.0/22\",\r\n \"40.87.216.0/22\",\r\n \"40.87.220.0/22\"\ - ,\r\n \"40.87.224.0/22\",\r\n \"40.87.228.0/22\",\r\n \ - \ \"40.87.232.0/21\",\r\n \"40.88.0.0/16\",\r\n \"\ - 40.89.0.0/19\",\r\n \"40.89.32.0/19\",\r\n \"40.89.64.0/18\"\ - ,\r\n \"40.89.128.0/18\",\r\n \"40.89.192.0/19\",\r\n \ - \ \"40.89.224.0/19\",\r\n \"40.90.16.0/27\",\r\n \ - \ \"40.90.16.64/27\",\r\n \"40.90.16.96/27\",\r\n \"40.90.16.128/27\"\ - ,\r\n \"40.90.16.160/27\",\r\n \"40.90.16.192/26\",\r\n\ - \ \"40.90.17.0/27\",\r\n \"40.90.17.32/27\",\r\n \ - \ \"40.90.17.64/27\",\r\n \"40.90.17.96/27\",\r\n \"40.90.17.128/28\"\ - ,\r\n \"40.90.17.144/28\",\r\n \"40.90.17.160/27\",\r\n\ - \ \"40.90.17.192/27\",\r\n \"40.90.17.224/27\",\r\n \ - \ \"40.90.18.0/28\",\r\n \"40.90.18.32/27\",\r\n \"\ - 40.90.18.64/26\",\r\n \"40.90.18.128/26\",\r\n \"40.90.18.192/26\"\ - ,\r\n \"40.90.19.0/27\",\r\n \"40.90.19.32/27\",\r\n \ - \ \"40.90.19.64/26\",\r\n \"40.90.19.128/25\",\r\n \ - \ \"40.90.20.0/25\",\r\n \"40.90.20.128/25\",\r\n \"40.90.21.0/25\"\ - ,\r\n \"40.90.21.128/25\",\r\n \"40.90.22.0/25\",\r\n \ - \ \"40.90.22.128/25\",\r\n \"40.90.23.0/25\",\r\n \ - \ \"40.90.23.128/25\",\r\n \"40.90.24.0/25\",\r\n \"40.90.24.128/25\"\ - ,\r\n \"40.90.25.0/26\",\r\n \"40.90.25.64/26\",\r\n \ - \ \"40.90.25.128/26\",\r\n \"40.90.25.192/26\",\r\n \ - \ \"40.90.26.0/26\",\r\n \"40.90.26.64/26\",\r\n \"40.90.26.128/25\"\ - ,\r\n \"40.90.27.0/26\",\r\n \"40.90.27.64/26\",\r\n \ - \ \"40.90.27.128/26\",\r\n \"40.90.27.192/26\",\r\n \ - \ \"40.90.28.0/26\",\r\n \"40.90.28.64/26\",\r\n \"40.90.28.128/26\"\ - ,\r\n \"40.90.28.192/26\",\r\n \"40.90.29.0/26\",\r\n \ - \ \"40.90.29.64/26\",\r\n \"40.90.29.128/26\",\r\n \ - \ \"40.90.29.192/26\",\r\n \"40.90.30.0/25\",\r\n \"40.90.30.128/27\"\ - ,\r\n \"40.90.30.160/27\",\r\n \"40.90.30.192/26\",\r\n\ - \ \"40.90.31.0/27\",\r\n \"40.90.31.96/27\",\r\n \ - \ \"40.90.31.128/25\",\r\n \"40.90.128.0/28\",\r\n \"\ - 40.90.128.16/28\",\r\n \"40.90.128.48/28\",\r\n \"40.90.128.64/28\"\ - ,\r\n \"40.90.128.80/28\",\r\n \"40.90.128.96/28\",\r\n\ - \ \"40.90.128.112/28\",\r\n \"40.90.128.128/28\",\r\n \ - \ \"40.90.128.144/28\",\r\n \"40.90.128.160/28\",\r\n \ - \ \"40.90.128.176/28\",\r\n \"40.90.128.192/28\",\r\n \ - \ \"40.90.128.208/28\",\r\n \"40.90.128.224/28\",\r\n \ - \ \"40.90.128.240/28\",\r\n \"40.90.129.48/28\",\r\n \"\ - 40.90.129.96/27\",\r\n \"40.90.129.128/26\",\r\n \"40.90.129.192/27\"\ - ,\r\n \"40.90.129.224/27\",\r\n \"40.90.130.0/27\",\r\n\ - \ \"40.90.130.32/28\",\r\n \"40.90.130.48/28\",\r\n \ - \ \"40.90.130.64/28\",\r\n \"40.90.130.80/28\",\r\n \ - \ \"40.90.130.96/28\",\r\n \"40.90.130.112/28\",\r\n \"\ - 40.90.130.128/28\",\r\n \"40.90.130.144/28\",\r\n \"40.90.130.160/27\"\ - ,\r\n \"40.90.130.192/28\",\r\n \"40.90.130.208/28\",\r\n\ - \ \"40.90.130.224/28\",\r\n \"40.90.130.240/28\",\r\n \ - \ \"40.90.131.0/27\",\r\n \"40.90.131.32/27\",\r\n \ - \ \"40.90.131.64/27\",\r\n \"40.90.131.96/27\",\r\n \"\ - 40.90.131.128/27\",\r\n \"40.90.131.160/27\",\r\n \"40.90.131.192/27\"\ - ,\r\n \"40.90.131.224/27\",\r\n \"40.90.132.0/27\",\r\n\ - \ \"40.90.132.32/28\",\r\n \"40.90.132.48/28\",\r\n \ - \ \"40.90.132.64/28\",\r\n \"40.90.132.80/28\",\r\n \ - \ \"40.90.132.96/27\",\r\n \"40.90.132.128/26\",\r\n \"\ - 40.90.132.192/26\",\r\n \"40.90.133.0/27\",\r\n \"40.90.133.32/27\"\ - ,\r\n \"40.90.133.64/27\",\r\n \"40.90.133.96/28\",\r\n\ - \ \"40.90.133.112/28\",\r\n \"40.90.133.128/28\",\r\n \ - \ \"40.90.133.144/28\",\r\n \"40.90.133.160/27\",\r\n \ - \ \"40.90.133.192/26\",\r\n \"40.90.134.0/26\",\r\n \ - \ \"40.90.134.64/26\",\r\n \"40.90.134.128/26\",\r\n \"\ - 40.90.134.192/26\",\r\n \"40.90.135.0/26\",\r\n \"40.90.135.64/26\"\ - ,\r\n \"40.90.135.128/25\",\r\n \"40.90.136.0/28\",\r\n\ - \ \"40.90.136.16/28\",\r\n \"40.90.136.32/27\",\r\n \ - \ \"40.90.136.64/26\",\r\n \"40.90.136.128/27\",\r\n \ - \ \"40.90.136.160/28\",\r\n \"40.90.136.176/28\",\r\n \ - \ \"40.90.136.192/27\",\r\n \"40.90.136.224/27\",\r\n \"\ - 40.90.137.0/27\",\r\n \"40.90.137.32/27\",\r\n \"40.90.137.64/27\"\ - ,\r\n \"40.90.137.96/27\",\r\n \"40.90.137.128/27\",\r\n\ - \ \"40.90.137.160/27\",\r\n \"40.90.137.192/27\",\r\n \ - \ \"40.90.137.224/27\",\r\n \"40.90.138.0/27\",\r\n \ - \ \"40.90.138.32/27\",\r\n \"40.90.138.64/27\",\r\n \"\ - 40.90.138.96/27\",\r\n \"40.90.138.128/27\",\r\n \"40.90.138.160/27\"\ - ,\r\n \"40.90.138.192/28\",\r\n \"40.90.138.208/28\",\r\n\ - \ \"40.90.138.224/27\",\r\n \"40.90.139.0/27\",\r\n \ - \ \"40.90.139.32/27\",\r\n \"40.90.139.64/27\",\r\n \ - \ \"40.90.139.96/27\",\r\n \"40.90.139.128/27\",\r\n \"\ - 40.90.139.160/27\",\r\n \"40.90.139.192/27\",\r\n \"40.90.139.224/27\"\ - ,\r\n \"40.90.140.0/27\",\r\n \"40.90.140.32/27\",\r\n \ - \ \"40.90.140.64/27\",\r\n \"40.90.140.96/27\",\r\n \ - \ \"40.90.140.128/27\",\r\n \"40.90.140.160/27\",\r\n \ - \ \"40.90.140.192/27\",\r\n \"40.90.140.224/27\",\r\n \ - \ \"40.90.141.0/27\",\r\n \"40.90.141.32/27\",\r\n \"40.90.141.64/27\"\ - ,\r\n \"40.90.141.96/27\",\r\n \"40.90.141.128/27\",\r\n\ - \ \"40.90.141.160/27\",\r\n \"40.90.141.192/26\",\r\n \ - \ \"40.90.142.0/27\",\r\n \"40.90.142.32/27\",\r\n \ - \ \"40.90.142.64/27\",\r\n \"40.90.142.96/27\",\r\n \"\ - 40.90.142.128/27\",\r\n \"40.90.142.160/27\",\r\n \"40.90.142.192/28\"\ - ,\r\n \"40.90.142.208/28\",\r\n \"40.90.142.224/28\",\r\n\ - \ \"40.90.142.240/28\",\r\n \"40.90.143.0/27\",\r\n \ - \ \"40.90.143.32/27\",\r\n \"40.90.143.64/27\",\r\n \ - \ \"40.90.143.96/27\",\r\n \"40.90.143.128/27\",\r\n \"\ - 40.90.143.160/27\",\r\n \"40.90.143.192/26\",\r\n \"40.90.144.0/27\"\ - ,\r\n \"40.90.144.32/27\",\r\n \"40.90.144.64/26\",\r\n\ - \ \"40.90.144.128/26\",\r\n \"40.90.144.192/27\",\r\n \ - \ \"40.90.144.224/27\",\r\n \"40.90.145.0/27\",\r\n \ - \ \"40.90.145.32/27\",\r\n \"40.90.145.64/27\",\r\n \"\ - 40.90.145.96/27\",\r\n \"40.90.145.128/27\",\r\n \"40.90.145.160/27\"\ - ,\r\n \"40.90.145.192/27\",\r\n \"40.90.145.224/27\",\r\n\ - \ \"40.90.146.0/28\",\r\n \"40.90.146.16/28\",\r\n \ - \ \"40.90.146.32/27\",\r\n \"40.90.146.64/26\",\r\n \ - \ \"40.90.146.128/27\",\r\n \"40.90.146.160/27\",\r\n \"\ - 40.90.146.192/27\",\r\n \"40.90.146.224/27\",\r\n \"40.90.147.0/27\"\ - ,\r\n \"40.90.147.32/27\",\r\n \"40.90.147.64/27\",\r\n\ - \ \"40.90.147.96/27\",\r\n \"40.90.147.128/26\",\r\n \ - \ \"40.90.147.192/27\",\r\n \"40.90.147.224/27\",\r\n \ - \ \"40.90.148.0/26\",\r\n \"40.90.148.64/27\",\r\n \"\ - 40.90.148.96/27\",\r\n \"40.90.148.128/27\",\r\n \"40.90.148.160/28\"\ - ,\r\n \"40.90.148.176/28\",\r\n \"40.90.148.192/27\",\r\n\ - \ \"40.90.148.224/27\",\r\n \"40.90.149.0/27\",\r\n \ - \ \"40.90.149.32/27\",\r\n \"40.90.149.64/27\",\r\n \ - \ \"40.90.149.96/27\",\r\n \"40.90.149.128/25\",\r\n \"\ - 40.90.150.0/27\",\r\n \"40.90.150.32/27\",\r\n \"40.90.150.64/27\"\ - ,\r\n \"40.90.150.96/27\",\r\n \"40.90.150.128/25\",\r\n\ - \ \"40.90.151.0/26\",\r\n \"40.90.151.64/27\",\r\n \ - \ \"40.90.151.96/27\",\r\n \"40.90.151.128/28\",\r\n \ - \ \"40.90.151.144/28\",\r\n \"40.90.151.160/27\",\r\n \"\ - 40.90.151.224/27\",\r\n \"40.90.152.0/25\",\r\n \"40.90.152.128/27\"\ - ,\r\n \"40.90.152.160/27\",\r\n \"40.90.152.192/27\",\r\n\ - \ \"40.90.152.224/27\",\r\n \"40.90.153.0/26\",\r\n \ - \ \"40.90.153.64/27\",\r\n \"40.90.153.96/27\",\r\n \ - \ \"40.90.153.128/25\",\r\n \"40.90.154.0/26\",\r\n \"\ - 40.90.154.64/26\",\r\n \"40.90.154.128/26\",\r\n \"40.90.154.192/26\"\ - ,\r\n \"40.90.155.0/26\",\r\n \"40.90.155.64/26\",\r\n \ - \ \"40.90.155.128/26\",\r\n \"40.90.155.192/26\",\r\n \ - \ \"40.90.156.0/26\",\r\n \"40.90.156.64/27\",\r\n \ - \ \"40.90.156.96/27\",\r\n \"40.90.156.128/26\",\r\n \"\ - 40.90.156.192/26\",\r\n \"40.90.157.0/27\",\r\n \"40.90.157.32/27\"\ - ,\r\n \"40.90.157.64/26\",\r\n \"40.90.157.128/26\",\r\n\ - \ \"40.90.157.192/27\",\r\n \"40.90.157.224/27\",\r\n \ - \ \"40.90.158.0/26\",\r\n \"40.90.158.64/26\",\r\n \ - \ \"40.90.158.128/25\",\r\n \"40.90.159.0/24\",\r\n \"\ - 40.90.160.0/19\",\r\n \"40.90.192.0/19\",\r\n \"40.90.224.0/19\"\ - ,\r\n \"40.91.0.0/22\",\r\n \"40.91.4.0/22\",\r\n \ - \ \"40.91.12.0/28\",\r\n \"40.91.12.16/28\",\r\n \"40.91.12.32/28\"\ - ,\r\n \"40.91.12.48/28\",\r\n \"40.91.12.64/26\",\r\n \ - \ \"40.91.12.128/28\",\r\n \"40.91.12.160/27\",\r\n \ - \ \"40.91.12.208/28\",\r\n \"40.91.12.240/28\",\r\n \"\ - 40.91.13.0/28\",\r\n \"40.91.13.64/27\",\r\n \"40.91.13.96/28\"\ - ,\r\n \"40.91.13.128/27\",\r\n \"40.91.13.240/28\",\r\n\ - \ \"40.91.14.0/24\",\r\n \"40.91.16.0/22\",\r\n \ - \ \"40.91.20.0/22\",\r\n \"40.91.24.0/22\",\r\n \"40.91.28.0/22\"\ - ,\r\n \"40.91.32.0/22\",\r\n \"40.91.64.0/18\",\r\n \ - \ \"40.91.160.0/19\",\r\n \"40.91.192.0/18\",\r\n \"\ - 40.93.0.0/23\",\r\n \"40.93.2.0/24\",\r\n \"40.93.3.0/24\"\ - ,\r\n \"40.93.4.0/24\",\r\n \"40.93.5.0/24\",\r\n \ - \ \"40.93.6.0/24\",\r\n \"40.93.7.0/24\",\r\n \"40.93.8.0/24\"\ - ,\r\n \"40.96.46.0/24\",\r\n \"40.96.52.0/24\",\r\n \ - \ \"40.96.55.0/24\",\r\n \"40.96.61.0/24\",\r\n \"\ - 40.96.63.0/24\",\r\n \"40.96.255.0/24\",\r\n \"40.112.36.0/25\"\ - ,\r\n \"40.112.36.128/25\",\r\n \"40.112.37.0/26\",\r\n\ - \ \"40.112.37.64/26\",\r\n \"40.112.37.128/26\",\r\n \ - \ \"40.112.37.192/26\",\r\n \"40.112.38.192/26\",\r\n \ - \ \"40.112.39.0/25\",\r\n \"40.112.39.128/26\",\r\n \ - \ \"40.112.48.0/20\",\r\n \"40.112.64.0/19\",\r\n \"40.112.96.0/19\"\ - ,\r\n \"40.112.128.0/17\",\r\n \"40.113.0.0/18\",\r\n \ - \ \"40.113.64.0/19\",\r\n \"40.113.96.0/19\",\r\n \ - \ \"40.113.128.0/18\",\r\n \"40.113.192.0/18\",\r\n \"\ - 40.114.0.0/17\",\r\n \"40.114.128.0/17\",\r\n \"40.115.0.0/18\"\ - ,\r\n \"40.115.64.0/19\",\r\n \"40.115.96.0/19\",\r\n \ - \ \"40.115.128.0/17\",\r\n \"40.116.0.0/16\",\r\n \ - \ \"40.117.0.0/19\",\r\n \"40.117.32.0/19\",\r\n \"40.117.64.0/18\"\ - ,\r\n \"40.117.128.0/17\",\r\n \"40.118.0.0/17\",\r\n \ - \ \"40.118.128.0/17\",\r\n \"40.119.0.0/18\",\r\n \ - \ \"40.119.64.0/22\",\r\n \"40.119.68.0/22\",\r\n \"40.119.72.0/22\"\ - ,\r\n \"40.119.76.0/22\",\r\n \"40.119.80.0/22\",\r\n \ - \ \"40.119.84.0/22\",\r\n \"40.119.92.0/22\",\r\n \ - \ \"40.119.96.0/22\",\r\n \"40.119.104.0/22\",\r\n \"40.119.108.0/22\"\ - ,\r\n \"40.119.128.0/19\",\r\n \"40.119.160.0/19\",\r\n\ - \ \"40.119.192.0/18\",\r\n \"40.120.0.0/20\",\r\n \ - \ \"40.120.16.0/20\",\r\n \"40.120.32.0/19\",\r\n \"\ - 40.120.64.0/18\",\r\n \"40.121.0.0/16\",\r\n \"40.122.0.0/20\"\ - ,\r\n \"40.122.16.0/20\",\r\n \"40.122.32.0/19\",\r\n \ - \ \"40.122.64.0/18\",\r\n \"40.122.128.0/17\",\r\n \ - \ \"40.123.0.0/17\",\r\n \"40.123.128.0/22\",\r\n \"40.123.136.8/31\"\ - ,\r\n \"40.123.192.0/19\",\r\n \"40.123.224.0/20\",\r\n\ - \ \"40.123.240.0/20\",\r\n \"40.124.0.0/16\",\r\n \ - \ \"40.125.0.0/19\",\r\n \"40.125.32.0/19\",\r\n \"40.125.64.0/18\"\ - ,\r\n \"40.126.0.0/24\",\r\n \"40.126.1.0/24\",\r\n \ - \ \"40.126.2.0/24\",\r\n \"40.126.3.0/24\",\r\n \"\ - 40.126.4.0/24\",\r\n \"40.126.5.0/24\",\r\n \"40.126.6.0/24\"\ - ,\r\n \"40.126.7.0/24\",\r\n \"40.126.8.0/24\",\r\n \ - \ \"40.126.9.0/24\",\r\n \"40.126.10.0/25\",\r\n \"\ - 40.126.10.128/25\",\r\n \"40.126.11.0/25\",\r\n \"40.126.11.128/25\"\ - ,\r\n \"40.126.12.0/25\",\r\n \"40.126.12.128/25\",\r\n\ - \ \"40.126.13.0/25\",\r\n \"40.126.13.128/25\",\r\n \ - \ \"40.126.14.0/25\",\r\n \"40.126.14.128/25\",\r\n \ - \ \"40.126.15.0/25\",\r\n \"40.126.15.128/25\",\r\n \"\ - 40.126.16.0/25\",\r\n \"40.126.16.128/25\",\r\n \"40.126.17.0/25\"\ - ,\r\n \"40.126.17.128/25\",\r\n \"40.126.18.0/25\",\r\n\ - \ \"40.126.18.128/25\",\r\n \"40.126.19.0/25\",\r\n \ - \ \"40.126.19.128/25\",\r\n \"40.126.20.0/25\",\r\n \ - \ \"40.126.20.128/25\",\r\n \"40.126.21.0/24\",\r\n \"\ - 40.126.22.0/24\",\r\n \"40.126.23.0/24\",\r\n \"40.126.24.0/24\"\ - ,\r\n \"40.126.25.0/24\",\r\n \"40.126.26.0/24\",\r\n \ - \ \"40.126.27.0/24\",\r\n \"40.126.28.0/24\",\r\n \ - \ \"40.126.29.0/24\",\r\n \"40.126.30.0/24\",\r\n \"40.126.31.0/24\"\ - ,\r\n \"40.126.32.0/24\",\r\n \"40.126.33.0/24\",\r\n \ - \ \"40.126.34.0/24\",\r\n \"40.126.35.0/24\",\r\n \ - \ \"40.126.36.0/24\",\r\n \"40.126.37.0/24\",\r\n \"40.126.38.0/24\"\ - ,\r\n \"40.126.39.0/24\",\r\n \"40.126.40.0/24\",\r\n \ - \ \"40.126.41.0/24\",\r\n \"40.126.42.0/24\",\r\n \ - \ \"40.126.43.0/24\",\r\n \"40.126.44.0/24\",\r\n \"40.126.45.0/24\"\ - ,\r\n \"40.126.46.0/24\",\r\n \"40.126.47.0/24\",\r\n \ - \ \"40.126.48.0/24\",\r\n \"40.126.49.0/24\",\r\n \ - \ \"40.126.50.0/24\",\r\n \"40.126.51.0/24\",\r\n \"40.126.52.0/24\"\ - ,\r\n \"40.126.55.0/24\",\r\n \"40.126.56.0/24\",\r\n \ - \ \"40.126.57.0/24\",\r\n \"40.126.58.0/24\",\r\n \ - \ \"40.126.59.0/24\",\r\n \"40.126.60.0/24\",\r\n \"40.126.61.0/26\"\ - ,\r\n \"40.126.61.64/26\",\r\n \"40.126.61.128/26\",\r\n\ - \ \"40.126.61.192/26\",\r\n \"40.126.62.0/26\",\r\n \ - \ \"40.126.62.64/26\",\r\n \"40.126.128.0/18\",\r\n \ - \ \"40.126.192.0/24\",\r\n \"40.126.193.0/24\",\r\n \"\ - 40.126.194.0/24\",\r\n \"40.126.195.0/24\",\r\n \"40.126.197.0/24\"\ - ,\r\n \"40.126.198.0/24\",\r\n \"40.126.200.0/24\",\r\n\ - \ \"40.126.201.0/24\",\r\n \"40.126.207.0/24\",\r\n \ - \ \"40.126.208.0/20\",\r\n \"40.126.224.0/19\",\r\n \ - \ \"40.127.0.0/19\",\r\n \"40.127.64.0/19\",\r\n \"40.127.96.0/20\"\ - ,\r\n \"40.127.128.0/17\",\r\n \"51.11.0.0/18\",\r\n \ - \ \"51.11.64.0/19\",\r\n \"51.11.96.0/19\",\r\n \"\ - 51.11.128.0/18\",\r\n \"51.11.192.0/18\",\r\n \"51.13.0.0/17\"\ - ,\r\n \"51.13.128.0/19\",\r\n \"51.103.0.0/17\",\r\n \ - \ \"51.103.128.0/18\",\r\n \"51.103.192.0/27\",\r\n \ - \ \"51.103.192.32/27\",\r\n \"51.103.224.0/19\",\r\n \"\ - 51.104.0.0/19\",\r\n \"51.104.32.0/19\",\r\n \"51.104.64.0/18\"\ - ,\r\n \"51.104.128.0/18\",\r\n \"51.104.192.0/18\",\r\n\ - \ \"51.105.0.0/18\",\r\n \"51.105.64.0/20\",\r\n \ - \ \"51.105.80.0/21\",\r\n \"51.105.88.0/21\",\r\n \"51.105.96.0/19\"\ - ,\r\n \"51.105.128.0/17\",\r\n \"51.107.0.0/18\",\r\n \ - \ \"51.107.64.0/19\",\r\n \"51.107.96.0/19\",\r\n \ - \ \"51.107.128.0/21\",\r\n \"51.107.136.0/21\",\r\n \"\ - 51.107.144.0/20\",\r\n \"51.107.160.0/20\",\r\n \"51.107.192.0/21\"\ - ,\r\n \"51.107.200.0/21\",\r\n \"51.107.208.0/20\",\r\n\ - \ \"51.107.224.0/20\",\r\n \"51.107.240.0/21\",\r\n \ - \ \"51.107.248.0/21\",\r\n \"51.116.0.0/18\",\r\n \"\ - 51.116.64.0/19\",\r\n \"51.116.96.0/19\",\r\n \"51.116.128.0/18\"\ - ,\r\n \"51.116.192.0/21\",\r\n \"51.116.200.0/21\",\r\n\ - \ \"51.116.208.0/20\",\r\n \"51.116.224.0/19\",\r\n \ - \ \"51.120.0.0/17\",\r\n \"51.120.128.0/18\",\r\n \"\ - 51.120.192.0/20\",\r\n \"51.120.208.0/21\",\r\n \"51.120.216.0/21\"\ - ,\r\n \"51.120.224.0/21\",\r\n \"51.120.232.0/21\",\r\n\ - \ \"51.120.240.0/20\",\r\n \"51.124.0.0/17\",\r\n \ - \ \"51.124.128.0/18\",\r\n \"51.132.0.0/18\",\r\n \"\ - 51.132.64.0/18\",\r\n \"51.132.128.0/17\",\r\n \"51.136.0.0/16\"\ - ,\r\n \"51.137.0.0/17\",\r\n \"51.137.128.0/18\",\r\n \ - \ \"51.137.192.0/18\",\r\n \"51.138.0.0/17\",\r\n \ - \ \"51.138.128.0/19\",\r\n \"51.138.160.0/21\",\r\n \"\ - 51.138.192.0/19\",\r\n \"51.140.0.0/17\",\r\n \"51.140.128.0/18\"\ - ,\r\n \"51.140.192.0/18\",\r\n \"51.141.0.0/17\",\r\n \ - \ \"51.141.128.0/27\",\r\n \"51.141.128.32/27\",\r\n \ - \ \"51.141.128.64/26\",\r\n \"51.141.128.128/25\",\r\n \ - \ \"51.141.129.0/27\",\r\n \"51.141.129.32/27\",\r\n \ - \ \"51.141.129.64/26\",\r\n \"51.141.129.128/26\",\r\n \"\ - 51.141.129.192/26\",\r\n \"51.141.130.0/25\",\r\n \"51.141.134.0/24\"\ - ,\r\n \"51.141.135.0/24\",\r\n \"51.141.136.0/22\",\r\n\ - \ \"51.141.156.0/22\",\r\n \"51.141.160.0/19\",\r\n \ - \ \"51.141.192.0/18\",\r\n \"51.142.0.0/17\",\r\n \"\ - 51.142.128.0/17\",\r\n \"51.143.0.0/17\",\r\n \"51.143.128.0/18\"\ - ,\r\n \"51.143.192.0/21\",\r\n \"51.143.200.0/28\",\r\n\ - \ \"51.143.201.0/24\",\r\n \"51.143.208.0/20\",\r\n \ - \ \"51.143.224.0/19\",\r\n \"51.144.0.0/16\",\r\n \"\ - 51.145.0.0/17\",\r\n \"51.145.128.0/17\",\r\n \"52.96.11.0/24\"\ - ,\r\n \"52.101.0.0/22\",\r\n \"52.101.4.0/22\",\r\n \ - \ \"52.101.8.0/24\",\r\n \"52.101.9.0/24\",\r\n \"\ - 52.101.10.0/24\",\r\n \"52.101.11.0/24\",\r\n \"52.101.12.0/22\"\ - ,\r\n \"52.101.16.0/22\",\r\n \"52.101.20.0/22\",\r\n \ - \ \"52.101.24.0/22\",\r\n \"52.101.28.0/22\",\r\n \ - \ \"52.101.32.0/22\",\r\n \"52.101.36.0/22\",\r\n \"52.101.40.0/24\"\ - ,\r\n \"52.101.41.0/24\",\r\n \"52.101.42.0/24\",\r\n \ - \ \"52.102.128.0/24\",\r\n \"52.102.129.0/24\",\r\n \ - \ \"52.102.130.0/24\",\r\n \"52.102.131.0/24\",\r\n \"\ - 52.102.132.0/24\",\r\n \"52.102.133.0/24\",\r\n \"52.102.134.0/24\"\ - ,\r\n \"52.102.158.0/24\",\r\n \"52.102.159.0/24\",\r\n\ - \ \"52.103.0.0/24\",\r\n \"52.103.1.0/24\",\r\n \ - \ \"52.103.2.0/24\",\r\n \"52.103.3.0/24\",\r\n \"52.103.4.0/24\"\ - ,\r\n \"52.103.5.0/24\",\r\n \"52.103.6.0/24\",\r\n \ - \ \"52.103.7.0/24\",\r\n \"52.103.8.0/24\",\r\n \"\ - 52.103.128.0/24\",\r\n \"52.103.129.0/24\",\r\n \"52.103.130.0/24\"\ - ,\r\n \"52.103.131.0/24\",\r\n \"52.103.132.0/24\",\r\n\ - \ \"52.103.133.0/24\",\r\n \"52.103.134.0/24\",\r\n \ - \ \"52.108.0.0/21\",\r\n \"52.108.16.0/21\",\r\n \"\ - 52.108.24.0/21\",\r\n \"52.108.32.0/22\",\r\n \"52.108.36.0/22\"\ - ,\r\n \"52.108.40.0/23\",\r\n \"52.108.42.0/23\",\r\n \ - \ \"52.108.44.0/23\",\r\n \"52.108.46.0/23\",\r\n \ - \ \"52.108.48.0/23\",\r\n \"52.108.50.0/23\",\r\n \"52.108.52.0/23\"\ - ,\r\n \"52.108.54.0/23\",\r\n \"52.108.56.0/21\",\r\n \ - \ \"52.108.68.0/23\",\r\n \"52.108.70.0/23\",\r\n \ - \ \"52.108.72.0/24\",\r\n \"52.108.73.0/24\",\r\n \"52.108.74.0/24\"\ - ,\r\n \"52.108.75.0/24\",\r\n \"52.108.76.0/24\",\r\n \ - \ \"52.108.77.0/24\",\r\n \"52.108.78.0/24\",\r\n \ - \ \"52.108.79.0/24\",\r\n \"52.108.80.0/24\",\r\n \"52.108.81.0/24\"\ - ,\r\n \"52.108.82.0/24\",\r\n \"52.108.83.0/24\",\r\n \ - \ \"52.108.84.0/24\",\r\n \"52.108.85.0/24\",\r\n \ - \ \"52.108.86.0/24\",\r\n \"52.108.87.0/24\",\r\n \"52.108.88.0/24\"\ - ,\r\n \"52.108.89.0/24\",\r\n \"52.108.90.0/24\",\r\n \ - \ \"52.108.91.0/24\",\r\n \"52.108.92.0/24\",\r\n \ - \ \"52.108.93.0/24\",\r\n \"52.108.94.0/24\",\r\n \"52.108.95.0/24\"\ - ,\r\n \"52.108.96.0/24\",\r\n \"52.108.97.0/24\",\r\n \ - \ \"52.108.98.0/24\",\r\n \"52.108.99.0/24\",\r\n \ - \ \"52.108.100.0/23\",\r\n \"52.108.102.0/23\",\r\n \"\ - 52.108.104.0/24\",\r\n \"52.108.105.0/24\",\r\n \"52.108.106.0/23\"\ - ,\r\n \"52.108.108.0/23\",\r\n \"52.108.110.0/24\",\r\n\ - \ \"52.108.111.0/24\",\r\n \"52.108.112.0/24\",\r\n \ - \ \"52.108.113.0/24\",\r\n \"52.108.116.0/24\",\r\n \ - \ \"52.108.128.0/24\",\r\n \"52.108.137.0/24\",\r\n \"\ - 52.108.138.0/24\",\r\n \"52.108.165.0/24\",\r\n \"52.108.166.0/23\"\ - ,\r\n \"52.108.168.0/23\",\r\n \"52.108.170.0/24\",\r\n\ - \ \"52.108.171.0/24\",\r\n \"52.108.172.0/23\",\r\n \ - \ \"52.108.174.0/23\",\r\n \"52.108.176.0/24\",\r\n \ - \ \"52.108.177.0/24\",\r\n \"52.108.178.0/24\",\r\n \"\ - 52.108.179.0/24\",\r\n \"52.108.180.0/24\",\r\n \"52.108.181.0/24\"\ - ,\r\n \"52.108.182.0/24\",\r\n \"52.108.183.0/24\",\r\n\ - \ \"52.108.184.0/24\",\r\n \"52.108.185.0/24\",\r\n \ - \ \"52.108.186.0/24\",\r\n \"52.108.187.0/24\",\r\n \ - \ \"52.108.188.0/24\",\r\n \"52.108.189.0/24\",\r\n \"\ - 52.108.190.0/24\",\r\n \"52.108.191.0/24\",\r\n \"52.108.192.0/24\"\ - ,\r\n \"52.108.193.0/24\",\r\n \"52.108.194.0/24\",\r\n\ - \ \"52.108.195.0/24\",\r\n \"52.108.196.0/24\",\r\n \ - \ \"52.108.197.0/24\",\r\n \"52.108.198.0/24\",\r\n \ - \ \"52.108.199.0/24\",\r\n \"52.108.200.0/24\",\r\n \"\ - 52.108.201.0/24\",\r\n \"52.108.202.0/24\",\r\n \"52.108.203.0/24\"\ - ,\r\n \"52.108.204.0/23\",\r\n \"52.108.206.0/23\",\r\n\ - \ \"52.108.208.0/21\",\r\n \"52.108.216.0/22\",\r\n \ - \ \"52.108.220.0/23\",\r\n \"52.108.222.0/23\",\r\n \ - \ \"52.108.224.0/23\",\r\n \"52.108.226.0/23\",\r\n \"\ - 52.108.228.0/23\",\r\n \"52.108.230.0/23\",\r\n \"52.108.232.0/23\"\ - ,\r\n \"52.108.234.0/23\",\r\n \"52.108.236.0/22\",\r\n\ - \ \"52.108.240.0/21\",\r\n \"52.108.248.0/21\",\r\n \ - \ \"52.109.0.0/22\",\r\n \"52.109.4.0/22\",\r\n \"\ - 52.109.8.0/22\",\r\n \"52.109.12.0/22\",\r\n \"52.109.16.0/22\"\ - ,\r\n \"52.109.20.0/22\",\r\n \"52.109.24.0/22\",\r\n \ - \ \"52.109.28.0/22\",\r\n \"52.109.32.0/22\",\r\n \ - \ \"52.109.36.0/22\",\r\n \"52.109.40.0/22\",\r\n \"52.109.44.0/22\"\ - ,\r\n \"52.109.48.0/22\",\r\n \"52.109.52.0/22\",\r\n \ - \ \"52.109.56.0/22\",\r\n \"52.109.60.0/22\",\r\n \ - \ \"52.109.64.0/22\",\r\n \"52.109.68.0/22\",\r\n \"52.109.72.0/22\"\ - ,\r\n \"52.109.76.0/22\",\r\n \"52.109.86.0/23\",\r\n \ - \ \"52.109.88.0/22\",\r\n \"52.109.92.0/22\",\r\n \ - \ \"52.109.96.0/22\",\r\n \"52.109.100.0/23\",\r\n \"52.109.102.0/23\"\ - ,\r\n \"52.109.104.0/23\",\r\n \"52.109.108.0/22\",\r\n\ - \ \"52.109.112.0/22\",\r\n \"52.109.116.0/22\",\r\n \ - \ \"52.109.120.0/22\",\r\n \"52.109.124.0/22\",\r\n \ - \ \"52.109.128.0/22\",\r\n \"52.109.132.0/22\",\r\n \"\ - 52.109.136.0/22\",\r\n \"52.109.140.0/22\",\r\n \"52.109.144.0/23\"\ - ,\r\n \"52.109.150.0/23\",\r\n \"52.109.152.0/23\",\r\n\ - \ \"52.109.156.0/23\",\r\n \"52.109.158.0/23\",\r\n \ - \ \"52.109.160.0/23\",\r\n \"52.109.162.0/23\",\r\n \ - \ \"52.109.164.0/24\",\r\n \"52.111.194.0/24\",\r\n \"\ - 52.111.197.0/24\",\r\n \"52.111.198.0/24\",\r\n \"52.111.202.0/24\"\ - ,\r\n \"52.111.203.0/24\",\r\n \"52.111.204.0/24\",\r\n\ - \ \"52.111.205.0/24\",\r\n \"52.111.206.0/24\",\r\n \ - \ \"52.111.207.0/24\",\r\n \"52.111.224.0/24\",\r\n \ - \ \"52.111.225.0/24\",\r\n \"52.111.226.0/24\",\r\n \"\ - 52.111.227.0/24\",\r\n \"52.111.228.0/24\",\r\n \"52.111.229.0/24\"\ - ,\r\n \"52.111.230.0/24\",\r\n \"52.111.231.0/24\",\r\n\ - \ \"52.111.232.0/24\",\r\n \"52.111.233.0/24\",\r\n \ - \ \"52.111.234.0/24\",\r\n \"52.111.235.0/24\",\r\n \ - \ \"52.111.236.0/24\",\r\n \"52.111.237.0/24\",\r\n \"\ - 52.111.238.0/24\",\r\n \"52.111.239.0/24\",\r\n \"52.111.240.0/24\"\ - ,\r\n \"52.111.241.0/24\",\r\n \"52.111.242.0/24\",\r\n\ - \ \"52.111.243.0/24\",\r\n \"52.111.244.0/24\",\r\n \ - \ \"52.111.245.0/24\",\r\n \"52.111.246.0/24\",\r\n \ - \ \"52.111.247.0/24\",\r\n \"52.111.248.0/24\",\r\n \"\ - 52.111.249.0/24\",\r\n \"52.111.250.0/24\",\r\n \"52.111.251.0/24\"\ - ,\r\n \"52.111.252.0/24\",\r\n \"52.111.253.0/24\",\r\n\ - \ \"52.111.254.0/24\",\r\n \"52.111.255.0/24\",\r\n \ - \ \"52.112.14.0/23\",\r\n \"52.112.17.0/24\",\r\n \"\ - 52.112.18.0/23\",\r\n \"52.112.24.0/21\",\r\n \"52.112.40.0/21\"\ - ,\r\n \"52.112.48.0/20\",\r\n \"52.112.71.0/24\",\r\n \ - \ \"52.112.76.0/22\",\r\n \"52.112.83.0/24\",\r\n \ - \ \"52.112.88.0/22\",\r\n \"52.112.93.0/24\",\r\n \"52.112.94.0/24\"\ - ,\r\n \"52.112.95.0/24\",\r\n \"52.112.97.0/24\",\r\n \ - \ \"52.112.98.0/23\",\r\n \"52.112.104.0/24\",\r\n \ - \ \"52.112.105.0/24\",\r\n \"52.112.106.0/23\",\r\n \"\ - 52.112.108.0/24\",\r\n \"52.112.109.0/24\",\r\n \"52.112.110.0/23\"\ - ,\r\n \"52.112.112.0/24\",\r\n \"52.112.113.0/24\",\r\n\ - \ \"52.112.114.0/24\",\r\n \"52.112.115.0/24\",\r\n \ - \ \"52.112.116.0/24\",\r\n \"52.112.117.0/24\",\r\n \ - \ \"52.112.118.0/24\",\r\n \"52.112.144.0/20\",\r\n \"\ - 52.112.168.0/22\",\r\n \"52.112.172.0/22\",\r\n \"52.112.176.0/21\"\ - ,\r\n \"52.112.184.0/22\",\r\n \"52.112.190.0/24\",\r\n\ - \ \"52.112.191.0/24\",\r\n \"52.112.197.0/24\",\r\n \ - \ \"52.112.200.0/22\",\r\n \"52.112.204.0/23\",\r\n \ - \ \"52.112.206.0/24\",\r\n \"52.112.207.0/24\",\r\n \"\ - 52.112.212.0/24\",\r\n \"52.112.213.0/24\",\r\n \"52.112.214.0/23\"\ - ,\r\n \"52.112.216.0/21\",\r\n \"52.112.229.0/24\",\r\n\ - \ \"52.112.230.0/24\",\r\n \"52.112.231.0/24\",\r\n \ - \ \"52.112.232.0/24\",\r\n \"52.112.233.0/24\",\r\n \ - \ \"52.112.236.0/24\",\r\n \"52.112.237.0/24\",\r\n \"\ - 52.112.238.0/24\",\r\n \"52.112.240.0/20\",\r\n \"52.113.9.0/24\"\ - ,\r\n \"52.113.10.0/23\",\r\n \"52.113.13.0/24\",\r\n \ - \ \"52.113.14.0/24\",\r\n \"52.113.15.0/24\",\r\n \ - \ \"52.113.16.0/20\",\r\n \"52.113.37.0/24\",\r\n \"52.113.40.0/21\"\ - ,\r\n \"52.113.48.0/20\",\r\n \"52.113.70.0/23\",\r\n \ - \ \"52.113.72.0/22\",\r\n \"52.113.76.0/23\",\r\n \ - \ \"52.113.78.0/23\",\r\n \"52.113.83.0/24\",\r\n \"52.113.87.0/24\"\ - ,\r\n \"52.113.88.0/22\",\r\n \"52.113.92.0/22\",\r\n \ - \ \"52.113.96.0/22\",\r\n \"52.113.100.0/24\",\r\n \ - \ \"52.113.101.0/24\",\r\n \"52.113.102.0/24\",\r\n \"\ - 52.113.103.0/24\",\r\n \"52.113.104.0/24\",\r\n \"52.113.105.0/24\"\ - ,\r\n \"52.113.106.0/24\",\r\n \"52.113.107.0/24\",\r\n\ - \ \"52.113.108.0/24\",\r\n \"52.113.109.0/24\",\r\n \ - \ \"52.113.110.0/23\",\r\n \"52.113.112.0/20\",\r\n \ - \ \"52.113.128.0/24\",\r\n \"52.113.129.0/24\",\r\n \"\ - 52.113.130.0/24\",\r\n \"52.113.131.0/24\",\r\n \"52.113.132.0/24\"\ - ,\r\n \"52.113.133.0/24\",\r\n \"52.113.134.0/24\",\r\n\ - \ \"52.113.136.0/21\",\r\n \"52.113.144.0/21\",\r\n \ - \ \"52.113.160.0/19\",\r\n \"52.113.192.0/24\",\r\n \ - \ \"52.113.193.0/24\",\r\n \"52.113.198.0/24\",\r\n \"\ - 52.113.199.0/24\",\r\n \"52.113.200.0/22\",\r\n \"52.113.204.0/24\"\ - ,\r\n \"52.113.205.0/24\",\r\n \"52.113.206.0/24\",\r\n\ - \ \"52.113.207.0/24\",\r\n \"52.113.208.0/20\",\r\n \ - \ \"52.113.224.0/19\",\r\n \"52.114.0.0/21\",\r\n \"\ - 52.114.8.0/21\",\r\n \"52.114.16.0/22\",\r\n \"52.114.20.0/22\"\ - ,\r\n \"52.114.24.0/22\",\r\n \"52.114.28.0/22\",\r\n \ - \ \"52.114.32.0/22\",\r\n \"52.114.36.0/22\",\r\n \ - \ \"52.114.40.0/22\",\r\n \"52.114.44.0/22\",\r\n \"52.114.48.0/22\"\ - ,\r\n \"52.114.52.0/23\",\r\n \"52.114.54.0/23\",\r\n \ - \ \"52.114.56.0/23\",\r\n \"52.114.58.0/23\",\r\n \ - \ \"52.114.60.0/23\",\r\n \"52.114.64.0/21\",\r\n \"52.114.72.0/22\"\ - ,\r\n \"52.114.76.0/22\",\r\n \"52.114.80.0/22\",\r\n \ - \ \"52.114.84.0/22\",\r\n \"52.114.88.0/22\",\r\n \ - \ \"52.114.92.0/22\",\r\n \"52.114.96.0/21\",\r\n \"52.114.104.0/22\"\ - ,\r\n \"52.114.108.0/22\",\r\n \"52.114.112.0/23\",\r\n\ - \ \"52.114.116.0/22\",\r\n \"52.114.120.0/22\",\r\n \ - \ \"52.114.128.0/22\",\r\n \"52.114.132.0/22\",\r\n \ - \ \"52.114.136.0/21\",\r\n \"52.114.144.0/22\",\r\n \"\ - 52.114.148.0/22\",\r\n \"52.114.152.0/21\",\r\n \"52.114.160.0/22\"\ - ,\r\n \"52.114.164.0/22\",\r\n \"52.114.168.0/22\",\r\n\ - \ \"52.114.172.0/22\",\r\n \"52.114.176.0/22\",\r\n \ - \ \"52.114.180.0/22\",\r\n \"52.114.184.0/23\",\r\n \ - \ \"52.114.186.0/23\",\r\n \"52.114.192.0/23\",\r\n \"\ - 52.114.194.0/23\",\r\n \"52.114.196.0/22\",\r\n \"52.114.200.0/22\"\ - ,\r\n \"52.114.216.0/22\",\r\n \"52.114.224.0/24\",\r\n\ - \ \"52.114.226.0/24\",\r\n \"52.114.228.0/24\",\r\n \ - \ \"52.114.230.0/24\",\r\n \"52.114.231.0/24\",\r\n \ - \ \"52.114.232.0/24\",\r\n \"52.114.233.0/24\",\r\n \"\ - 52.114.234.0/24\",\r\n \"52.114.236.0/24\",\r\n \"52.114.238.0/24\"\ - ,\r\n \"52.114.240.0/24\",\r\n \"52.114.241.0/24\",\r\n\ - \ \"52.114.242.0/24\",\r\n \"52.114.244.0/24\",\r\n \ - \ \"52.114.248.0/22\",\r\n \"52.114.252.0/22\",\r\n \ - \ \"52.115.0.0/21\",\r\n \"52.115.8.0/22\",\r\n \"52.115.16.0/21\"\ - ,\r\n \"52.115.24.0/22\",\r\n \"52.115.32.0/22\",\r\n \ - \ \"52.115.36.0/23\",\r\n \"52.115.38.0/24\",\r\n \ - \ \"52.115.39.0/24\",\r\n \"52.115.40.0/22\",\r\n \"52.115.44.0/23\"\ - ,\r\n \"52.115.46.0/24\",\r\n \"52.115.47.0/24\",\r\n \ - \ \"52.115.48.0/22\",\r\n \"52.115.52.0/23\",\r\n \ - \ \"52.115.54.0/24\",\r\n \"52.115.55.0/24\",\r\n \"52.115.56.0/22\"\ - ,\r\n \"52.115.60.0/23\",\r\n \"52.115.62.0/23\",\r\n \ - \ \"52.115.64.0/22\",\r\n \"52.115.68.0/22\",\r\n \ - \ \"52.115.72.0/22\",\r\n \"52.115.76.0/22\",\r\n \"52.115.80.0/22\"\ - ,\r\n \"52.115.84.0/22\",\r\n \"52.115.88.0/22\",\r\n \ - \ \"52.115.96.0/24\",\r\n \"52.115.97.0/24\",\r\n \ - \ \"52.115.98.0/24\",\r\n \"52.115.99.0/24\",\r\n \"52.115.100.0/22\"\ - ,\r\n \"52.115.104.0/23\",\r\n \"52.115.106.0/23\",\r\n\ - \ \"52.115.108.0/22\",\r\n \"52.115.128.0/21\",\r\n \ - \ \"52.115.136.0/22\",\r\n \"52.115.140.0/22\",\r\n \ - \ \"52.115.144.0/20\",\r\n \"52.115.160.0/19\",\r\n \"\ - 52.115.192.0/19\",\r\n \"52.120.0.0/19\",\r\n \"52.120.32.0/19\"\ - ,\r\n \"52.120.64.0/19\",\r\n \"52.120.96.0/19\",\r\n \ - \ \"52.120.128.0/21\",\r\n \"52.120.136.0/21\",\r\n \ - \ \"52.120.144.0/21\",\r\n \"52.120.152.0/22\",\r\n \"\ - 52.120.156.0/24\",\r\n \"52.120.157.0/24\",\r\n \"52.120.158.0/23\"\ - ,\r\n \"52.120.160.0/19\",\r\n \"52.120.192.0/20\",\r\n\ - \ \"52.120.208.0/20\",\r\n \"52.120.224.0/20\",\r\n \ - \ \"52.120.240.0/20\",\r\n \"52.121.0.0/21\",\r\n \"\ - 52.121.16.0/21\",\r\n \"52.121.24.0/21\",\r\n \"52.121.32.0/22\"\ - ,\r\n \"52.121.36.0/22\",\r\n \"52.121.40.0/21\",\r\n \ - \ \"52.121.48.0/20\",\r\n \"52.121.64.0/20\",\r\n \ - \ \"52.121.80.0/22\",\r\n \"52.121.84.0/23\",\r\n \"52.121.86.0/23\"\ - ,\r\n \"52.121.88.0/21\",\r\n \"52.121.96.0/22\",\r\n \ - \ \"52.121.100.0/22\",\r\n \"52.121.104.0/23\",\r\n \ - \ \"52.121.106.0/23\",\r\n \"52.121.108.0/22\",\r\n \"\ - 52.121.112.0/22\",\r\n \"52.121.116.0/22\",\r\n \"52.121.120.0/23\"\ - ,\r\n \"52.121.122.0/23\",\r\n \"52.121.124.0/22\",\r\n\ - \ \"52.121.128.0/20\",\r\n \"52.121.144.0/21\",\r\n \ - \ \"52.121.152.0/21\",\r\n \"52.121.160.0/22\",\r\n \ - \ \"52.121.164.0/24\",\r\n \"52.121.165.0/24\",\r\n \"\ - 52.121.168.0/22\",\r\n \"52.121.172.0/22\",\r\n \"52.121.176.0/23\"\ - ,\r\n \"52.125.128.0/22\",\r\n \"52.125.132.0/22\",\r\n\ - \ \"52.125.136.0/24\",\r\n \"52.125.137.0/24\",\r\n \ - \ \"52.125.138.0/23\",\r\n \"52.125.140.0/23\",\r\n \ - \ \"52.136.0.0/22\",\r\n \"52.136.4.0/22\",\r\n \"52.136.8.0/21\"\ - ,\r\n \"52.136.16.0/24\",\r\n \"52.136.17.0/24\",\r\n \ - \ \"52.136.18.0/24\",\r\n \"52.136.19.0/24\",\r\n \ - \ \"52.136.20.0/24\",\r\n \"52.136.21.0/24\",\r\n \"52.136.22.0/24\"\ - ,\r\n \"52.136.23.0/24\",\r\n \"52.136.24.0/24\",\r\n \ - \ \"52.136.25.0/24\",\r\n \"52.136.26.0/24\",\r\n \ - \ \"52.136.27.0/24\",\r\n \"52.136.28.0/24\",\r\n \"52.136.29.0/24\"\ - ,\r\n \"52.136.30.0/24\",\r\n \"52.136.31.0/24\",\r\n \ - \ \"52.136.32.0/19\",\r\n \"52.136.64.0/18\",\r\n \ - \ \"52.136.128.0/18\",\r\n \"52.136.192.0/18\",\r\n \"\ - 52.137.0.0/18\",\r\n \"52.137.64.0/18\",\r\n \"52.137.128.0/17\"\ - ,\r\n \"52.138.0.0/18\",\r\n \"52.138.64.0/20\",\r\n \ - \ \"52.138.80.0/21\",\r\n \"52.138.88.0/21\",\r\n \ - \ \"52.138.96.0/19\",\r\n \"52.138.128.0/17\",\r\n \"52.139.0.0/18\"\ - ,\r\n \"52.139.64.0/18\",\r\n \"52.139.128.0/18\",\r\n \ - \ \"52.139.192.0/18\",\r\n \"52.140.0.0/18\",\r\n \ - \ \"52.140.64.0/18\",\r\n \"52.140.128.0/18\",\r\n \"\ - 52.140.192.0/18\",\r\n \"52.141.0.0/18\",\r\n \"52.141.64.0/18\"\ - ,\r\n \"52.141.128.0/18\",\r\n \"52.141.192.0/19\",\r\n\ - \ \"52.141.224.0/20\",\r\n \"52.141.240.0/20\",\r\n \ - \ \"52.142.0.0/18\",\r\n \"52.142.64.0/18\",\r\n \"\ - 52.142.128.0/18\",\r\n \"52.142.192.0/18\",\r\n \"52.143.0.0/18\"\ - ,\r\n \"52.143.64.0/18\",\r\n \"52.143.128.0/18\",\r\n \ - \ \"52.143.192.0/24\",\r\n \"52.143.193.0/24\",\r\n \ - \ \"52.143.194.0/24\",\r\n \"52.143.195.0/24\",\r\n \ - \ \"52.143.196.0/24\",\r\n \"52.143.197.0/24\",\r\n \"52.143.198.0/24\"\ - ,\r\n \"52.143.199.0/24\",\r\n \"52.143.200.0/23\",\r\n\ - \ \"52.143.202.0/24\",\r\n \"52.143.203.0/24\",\r\n \ - \ \"52.143.204.0/23\",\r\n \"52.143.206.0/24\",\r\n \ - \ \"52.143.207.0/24\",\r\n \"52.143.208.0/24\",\r\n \"\ - 52.143.209.0/24\",\r\n \"52.143.210.0/24\",\r\n \"52.143.211.0/24\"\ - ,\r\n \"52.143.212.0/23\",\r\n \"52.143.214.0/24\",\r\n\ - \ \"52.143.215.0/24\",\r\n \"52.143.216.0/23\",\r\n \ - \ \"52.143.218.0/24\",\r\n \"52.143.219.0/24\",\r\n \ - \ \"52.143.221.0/24\",\r\n \"52.143.222.0/23\",\r\n \"\ - 52.143.224.0/19\",\r\n \"52.146.0.0/17\",\r\n \"52.146.128.0/17\"\ - ,\r\n \"52.147.0.0/19\",\r\n \"52.147.32.0/19\",\r\n \ - \ \"52.147.64.0/19\",\r\n \"52.147.96.0/19\",\r\n \ - \ \"52.147.128.0/19\",\r\n \"52.147.160.0/19\",\r\n \"52.147.192.0/18\"\ - ,\r\n \"52.148.0.0/18\",\r\n \"52.148.64.0/18\",\r\n \ - \ \"52.148.128.0/18\",\r\n \"52.148.192.0/18\",\r\n \ - \ \"52.149.0.0/18\",\r\n \"52.149.64.0/18\",\r\n \"52.149.128.0/17\"\ - ,\r\n \"52.150.0.0/17\",\r\n \"52.150.128.0/17\",\r\n \ - \ \"52.151.0.0/18\",\r\n \"52.151.64.0/18\",\r\n \ - \ \"52.151.128.0/17\",\r\n \"52.152.0.0/17\",\r\n \"52.152.128.0/17\"\ - ,\r\n \"52.153.0.0/18\",\r\n \"52.153.64.0/18\",\r\n \ - \ \"52.153.128.0/18\",\r\n \"52.153.192.0/18\",\r\n \ - \ \"52.154.0.0/18\",\r\n \"52.154.64.0/18\",\r\n \"52.154.128.0/17\"\ - ,\r\n \"52.155.0.0/19\",\r\n \"52.155.32.0/19\",\r\n \ - \ \"52.155.64.0/19\",\r\n \"52.155.96.0/19\",\r\n \ - \ \"52.155.128.0/17\",\r\n \"52.156.0.0/19\",\r\n \"52.156.32.0/19\"\ - ,\r\n \"52.156.64.0/18\",\r\n \"52.156.128.0/19\",\r\n \ - \ \"52.156.160.0/19\",\r\n \"52.156.192.0/18\",\r\n \ - \ \"52.157.0.0/18\",\r\n \"52.157.64.0/18\",\r\n \"\ - 52.157.128.0/17\",\r\n \"52.158.0.0/17\",\r\n \"52.158.128.0/19\"\ - ,\r\n \"52.158.160.0/20\",\r\n \"52.158.176.0/20\",\r\n\ - \ \"52.158.192.0/19\",\r\n \"52.158.224.0/19\",\r\n \ - \ \"52.159.0.0/18\",\r\n \"52.159.64.0/19\",\r\n \"\ - 52.159.128.0/17\",\r\n \"52.160.0.0/16\",\r\n \"52.161.0.0/16\"\ - ,\r\n \"52.162.0.0/16\",\r\n \"52.163.0.0/16\",\r\n \ - \ \"52.164.0.0/16\",\r\n \"52.165.0.0/19\",\r\n \"\ - 52.165.32.0/20\",\r\n \"52.165.48.0/28\",\r\n \"52.165.49.0/24\"\ - ,\r\n \"52.165.56.0/21\",\r\n \"52.165.64.0/19\",\r\n \ - \ \"52.165.96.0/21\",\r\n \"52.165.104.0/25\",\r\n \ - \ \"52.165.104.128/26\",\r\n \"52.165.128.0/17\",\r\n \ - \ \"52.166.0.0/16\",\r\n \"52.167.0.0/16\",\r\n \"52.168.0.0/16\"\ - ,\r\n \"52.169.0.0/16\",\r\n \"52.170.0.0/16\",\r\n \ - \ \"52.171.0.0/16\",\r\n \"52.172.0.0/17\",\r\n \"\ - 52.172.128.0/17\",\r\n \"52.173.0.0/16\",\r\n \"52.174.0.0/16\"\ - ,\r\n \"52.175.0.0/17\",\r\n \"52.175.128.0/18\",\r\n \ - \ \"52.175.192.0/18\",\r\n \"52.176.0.0/17\",\r\n \ - \ \"52.176.128.0/19\",\r\n \"52.176.160.0/21\",\r\n \"\ - 52.176.176.0/20\",\r\n \"52.176.192.0/19\",\r\n \"52.176.224.0/24\"\ - ,\r\n \"52.176.225.0/24\",\r\n \"52.176.232.0/21\",\r\n\ - \ \"52.176.240.0/20\",\r\n \"52.177.0.0/16\",\r\n \ - \ \"52.178.0.0/17\",\r\n \"52.178.128.0/17\",\r\n \"\ - 52.179.0.0/17\",\r\n \"52.179.128.0/17\",\r\n \"52.180.0.0/17\"\ - ,\r\n \"52.180.128.0/19\",\r\n \"52.180.160.0/20\",\r\n\ - \ \"52.180.176.0/21\",\r\n \"52.180.184.0/27\",\r\n \ - \ \"52.180.184.32/28\",\r\n \"52.180.185.0/24\",\r\n \ - \ \"52.182.128.0/17\",\r\n \"52.183.0.0/17\",\r\n \"52.183.128.0/18\"\ - ,\r\n \"52.183.192.0/18\",\r\n \"52.184.0.0/17\",\r\n \ - \ \"52.184.128.0/19\",\r\n \"52.184.160.0/21\",\r\n \ - \ \"52.184.168.0/28\",\r\n \"52.184.168.16/28\",\r\n \ - \ \"52.184.168.32/28\",\r\n \"52.184.168.80/28\",\r\n \"\ - 52.184.168.96/27\",\r\n \"52.184.168.128/28\",\r\n \"52.184.169.0/24\"\ - ,\r\n \"52.184.170.0/24\",\r\n \"52.184.176.0/20\",\r\n\ - \ \"52.184.192.0/18\",\r\n \"52.185.0.0/19\",\r\n \ - \ \"52.185.32.0/20\",\r\n \"52.185.48.0/21\",\r\n \"\ - 52.185.56.0/26\",\r\n \"52.185.56.64/27\",\r\n \"52.185.56.96/28\"\ - ,\r\n \"52.185.56.112/28\",\r\n \"52.185.56.128/27\",\r\n\ - \ \"52.185.56.160/28\",\r\n \"52.185.64.0/19\",\r\n \ - \ \"52.185.96.0/20\",\r\n \"52.185.112.0/26\",\r\n \ - \ \"52.185.112.64/27\",\r\n \"52.185.112.96/27\",\r\n \"\ - 52.185.120.0/21\",\r\n \"52.185.128.0/18\",\r\n \"52.185.192.0/18\"\ - ,\r\n \"52.186.0.0/16\",\r\n \"52.187.0.0/17\",\r\n \ - \ \"52.187.128.0/18\",\r\n \"52.187.192.0/18\",\r\n \ - \ \"52.188.0.0/16\",\r\n \"52.189.0.0/17\",\r\n \"52.189.128.0/18\"\ - ,\r\n \"52.189.192.0/18\",\r\n \"52.190.0.0/17\",\r\n \ - \ \"52.190.128.0/17\",\r\n \"52.191.0.0/17\",\r\n \ - \ \"52.191.128.0/18\",\r\n \"52.191.192.0/18\",\r\n \"\ - 52.224.0.0/16\",\r\n \"52.225.0.0/17\",\r\n \"52.225.128.0/21\"\ - ,\r\n \"52.225.136.0/27\",\r\n \"52.225.136.32/28\",\r\n\ - \ \"52.225.136.48/28\",\r\n \"52.225.136.64/28\",\r\n \ - \ \"52.225.137.0/24\",\r\n \"52.225.144.0/20\",\r\n \ - \ \"52.225.160.0/19\",\r\n \"52.225.192.0/18\",\r\n \"\ - 52.226.0.0/16\",\r\n \"52.228.0.0/17\",\r\n \"52.228.128.0/17\"\ - ,\r\n \"52.229.0.0/18\",\r\n \"52.229.64.0/18\",\r\n \ - \ \"52.229.128.0/17\",\r\n \"52.230.0.0/17\",\r\n \ - \ \"52.230.128.0/17\",\r\n \"52.231.0.0/17\",\r\n \"52.231.128.0/17\"\ - ,\r\n \"52.232.0.0/17\",\r\n \"52.232.128.0/21\",\r\n \ - \ \"52.232.136.0/21\",\r\n \"52.232.144.0/24\",\r\n \ - \ \"52.232.145.0/24\",\r\n \"52.232.146.0/24\",\r\n \"\ - 52.232.147.0/24\",\r\n \"52.232.148.0/24\",\r\n \"52.232.149.0/24\"\ - ,\r\n \"52.232.150.0/24\",\r\n \"52.232.151.0/24\",\r\n\ - \ \"52.232.152.0/24\",\r\n \"52.232.153.0/24\",\r\n \ - \ \"52.232.154.0/24\",\r\n \"52.232.155.0/24\",\r\n \ - \ \"52.232.156.0/24\",\r\n \"52.232.157.0/24\",\r\n \"\ - 52.232.158.0/24\",\r\n \"52.232.159.0/24\",\r\n \"52.232.160.0/19\"\ - ,\r\n \"52.232.192.0/18\",\r\n \"52.233.0.0/18\",\r\n \ - \ \"52.233.64.0/18\",\r\n \"52.233.128.0/17\",\r\n \ - \ \"52.234.0.0/17\",\r\n \"52.234.128.0/17\",\r\n \"52.235.0.0/18\"\ - ,\r\n \"52.235.64.0/18\",\r\n \"52.236.0.0/17\",\r\n \ - \ \"52.236.128.0/17\",\r\n \"52.237.0.0/18\",\r\n \ - \ \"52.237.64.0/18\",\r\n \"52.237.128.0/18\",\r\n \"52.237.192.0/18\"\ - ,\r\n \"52.238.0.0/18\",\r\n \"52.238.192.0/18\",\r\n \ - \ \"52.239.0.0/17\",\r\n \"52.239.128.0/24\",\r\n \ - \ \"52.239.129.0/24\",\r\n \"52.239.130.0/23\",\r\n \"\ - 52.239.132.0/23\",\r\n \"52.239.134.0/24\",\r\n \"52.239.135.0/26\"\ - ,\r\n \"52.239.135.64/26\",\r\n \"52.239.135.128/26\",\r\ - \n \"52.239.135.192/26\",\r\n \"52.239.136.0/22\",\r\n \ - \ \"52.239.140.0/22\",\r\n \"52.239.144.0/23\",\r\n \ - \ \"52.239.146.0/23\",\r\n \"52.239.148.0/27\",\r\n \ - \ \"52.239.148.64/26\",\r\n \"52.239.148.128/25\",\r\n \"\ - 52.239.149.0/24\",\r\n \"52.239.150.0/23\",\r\n \"52.239.152.0/22\"\ - ,\r\n \"52.239.156.0/24\",\r\n \"52.239.157.0/25\",\r\n\ - \ \"52.239.157.128/26\",\r\n \"52.239.157.192/27\",\r\n\ - \ \"52.239.157.224/27\",\r\n \"52.239.158.0/23\",\r\n \ - \ \"52.239.160.0/22\",\r\n \"52.239.164.0/25\",\r\n \ - \ \"52.239.164.128/26\",\r\n \"52.239.164.192/26\",\r\n \ - \ \"52.239.165.0/26\",\r\n \"52.239.165.160/27\",\r\n \ - \ \"52.239.165.192/26\",\r\n \"52.239.167.0/24\",\r\n \"\ - 52.239.168.0/22\",\r\n \"52.239.172.0/22\",\r\n \"52.239.176.128/25\"\ - ,\r\n \"52.239.177.0/27\",\r\n \"52.239.177.32/27\",\r\n\ - \ \"52.239.177.64/26\",\r\n \"52.239.177.128/25\",\r\n \ - \ \"52.239.178.0/23\",\r\n \"52.239.180.0/22\",\r\n \ - \ \"52.239.184.0/25\",\r\n \"52.239.184.160/28\",\r\n \ - \ \"52.239.184.176/28\",\r\n \"52.239.184.192/27\",\r\n \ - \ \"52.239.184.224/27\",\r\n \"52.239.185.0/28\",\r\n \ - \ \"52.239.185.32/27\",\r\n \"52.239.186.0/24\",\r\n \"\ - 52.239.187.0/25\",\r\n \"52.239.187.128/25\",\r\n \"52.239.188.0/24\"\ - ,\r\n \"52.239.189.0/24\",\r\n \"52.239.190.0/25\",\r\n\ - \ \"52.239.190.128/26\",\r\n \"52.239.190.192/26\",\r\n\ - \ \"52.239.192.0/26\",\r\n \"52.239.192.64/28\",\r\n \ - \ \"52.239.192.96/27\",\r\n \"52.239.192.128/27\",\r\n \ - \ \"52.239.192.160/27\",\r\n \"52.239.192.192/26\",\r\n \ - \ \"52.239.193.0/24\",\r\n \"52.239.194.0/24\",\r\n \ - \ \"52.239.195.0/24\",\r\n \"52.239.196.0/24\",\r\n \"\ - 52.239.197.0/24\",\r\n \"52.239.198.0/25\",\r\n \"52.239.198.128/27\"\ - ,\r\n \"52.239.198.192/26\",\r\n \"52.239.199.0/24\",\r\n\ - \ \"52.239.200.0/23\",\r\n \"52.239.202.0/24\",\r\n \ - \ \"52.239.203.0/24\",\r\n \"52.239.205.0/24\",\r\n \ - \ \"52.239.206.0/24\",\r\n \"52.239.207.32/28\",\r\n \"\ - 52.239.207.64/26\",\r\n \"52.239.207.128/27\",\r\n \"52.239.207.192/26\"\ - ,\r\n \"52.239.208.0/23\",\r\n \"52.239.210.0/23\",\r\n\ - \ \"52.239.212.0/23\",\r\n \"52.239.214.0/23\",\r\n \ - \ \"52.239.216.0/23\",\r\n \"52.239.218.0/23\",\r\n \ - \ \"52.239.220.0/23\",\r\n \"52.239.222.0/23\",\r\n \"\ - 52.239.224.0/24\",\r\n \"52.239.225.0/24\",\r\n \"52.239.226.0/24\"\ - ,\r\n \"52.239.227.0/24\",\r\n \"52.239.228.0/23\",\r\n\ - \ \"52.239.230.0/24\",\r\n \"52.239.231.0/24\",\r\n \ - \ \"52.239.232.0/25\",\r\n \"52.239.232.128/25\",\r\n \ - \ \"52.239.233.0/25\",\r\n \"52.239.233.128/25\",\r\n \ - \ \"52.239.234.0/23\",\r\n \"52.239.236.0/23\",\r\n \"\ - 52.239.238.0/24\",\r\n \"52.239.239.0/24\",\r\n \"52.239.240.0/24\"\ - ,\r\n \"52.239.241.0/24\",\r\n \"52.239.242.0/23\",\r\n\ - \ \"52.239.244.0/23\",\r\n \"52.239.246.0/23\",\r\n \ - \ \"52.239.248.0/24\",\r\n \"52.239.249.0/24\",\r\n \ - \ \"52.239.250.0/24\",\r\n \"52.239.251.0/24\",\r\n \"\ - 52.239.252.0/24\",\r\n \"52.239.253.0/24\",\r\n \"52.239.254.0/23\"\ - ,\r\n \"52.240.0.0/17\",\r\n \"52.240.128.0/17\",\r\n \ - \ \"52.241.0.0/16\",\r\n \"52.242.0.0/18\",\r\n \"\ - 52.242.64.0/18\",\r\n \"52.242.128.0/17\",\r\n \"52.243.32.0/19\"\ - ,\r\n \"52.243.64.0/18\",\r\n \"52.245.8.0/22\",\r\n \ - \ \"52.245.12.0/22\",\r\n \"52.245.16.0/22\",\r\n \ - \ \"52.245.20.0/22\",\r\n \"52.245.24.0/22\",\r\n \"52.245.28.0/22\"\ - ,\r\n \"52.245.32.0/22\",\r\n \"52.245.36.0/22\",\r\n \ - \ \"52.245.40.0/22\",\r\n \"52.245.44.0/24\",\r\n \ - \ \"52.245.45.0/25\",\r\n \"52.245.45.128/28\",\r\n \"\ - 52.245.45.144/28\",\r\n \"52.245.45.160/27\",\r\n \"52.245.45.192/26\"\ - ,\r\n \"52.245.46.0/27\",\r\n \"52.245.46.32/28\",\r\n \ - \ \"52.245.46.48/28\",\r\n \"52.245.46.64/28\",\r\n \ - \ \"52.245.46.80/28\",\r\n \"52.245.46.96/28\",\r\n \ - \ \"52.245.46.112/28\",\r\n \"52.245.46.128/28\",\r\n \"\ - 52.245.46.160/27\",\r\n \"52.245.46.192/26\",\r\n \"52.245.48.0/22\"\ - ,\r\n \"52.245.52.0/22\",\r\n \"52.245.56.0/22\",\r\n \ - \ \"52.245.60.0/22\",\r\n \"52.245.64.0/22\",\r\n \ - \ \"52.245.68.0/24\",\r\n \"52.245.69.0/27\",\r\n \"52.245.69.32/27\"\ - ,\r\n \"52.245.69.64/27\",\r\n \"52.245.69.96/28\",\r\n\ - \ \"52.245.69.144/28\",\r\n \"52.245.69.160/27\",\r\n \ - \ \"52.245.69.192/26\",\r\n \"52.245.70.0/23\",\r\n \ - \ \"52.245.72.0/22\",\r\n \"52.245.76.0/22\",\r\n \"\ - 52.245.80.0/22\",\r\n \"52.245.84.0/22\",\r\n \"52.245.88.0/22\"\ - ,\r\n \"52.245.92.0/22\",\r\n \"52.245.96.0/22\",\r\n \ - \ \"52.245.100.0/22\",\r\n \"52.245.104.0/22\",\r\n \ - \ \"52.245.108.0/22\",\r\n \"52.245.112.0/22\",\r\n \"\ - 52.245.116.0/22\",\r\n \"52.245.120.0/22\",\r\n \"52.245.124.0/22\"\ - ,\r\n \"52.246.0.0/17\",\r\n \"52.246.128.0/20\",\r\n \ - \ \"52.246.152.0/21\",\r\n \"52.246.160.0/19\",\r\n \ - \ \"52.246.192.0/18\",\r\n \"52.247.0.0/17\",\r\n \"\ - 52.247.192.0/18\",\r\n \"52.248.0.0/17\",\r\n \"52.248.128.0/17\"\ - ,\r\n \"52.249.0.0/18\",\r\n \"52.249.64.0/19\",\r\n \ - \ \"52.249.128.0/17\",\r\n \"52.250.0.0/17\",\r\n \ - \ \"52.250.128.0/18\",\r\n \"52.250.192.0/18\",\r\n \"52.251.0.0/17\"\ - ,\r\n \"52.252.0.0/17\",\r\n \"52.252.128.0/17\",\r\n \ - \ \"52.253.0.0/18\",\r\n \"52.253.64.0/20\",\r\n \ - \ \"52.253.80.0/20\",\r\n \"52.253.96.0/19\",\r\n \"52.253.128.0/20\"\ - ,\r\n \"52.253.148.0/23\",\r\n \"52.253.150.0/23\",\r\n\ - \ \"52.253.152.0/23\",\r\n \"52.253.154.0/23\",\r\n \ - \ \"52.253.156.0/22\",\r\n \"52.253.160.0/24\",\r\n \ - \ \"52.253.161.0/24\",\r\n \"52.253.162.0/23\",\r\n \"\ - 52.253.165.0/24\",\r\n \"52.253.166.0/24\",\r\n \"52.253.167.0/24\"\ - ,\r\n \"52.253.168.0/24\",\r\n \"52.253.169.0/24\",\r\n\ - \ \"52.253.170.0/23\",\r\n \"52.253.172.0/24\",\r\n \ - \ \"52.253.173.0/24\",\r\n \"52.253.174.0/24\",\r\n \ - \ \"52.253.175.0/24\",\r\n \"52.253.176.0/24\",\r\n \"\ - 52.253.177.0/24\",\r\n \"52.253.178.0/24\",\r\n \"52.253.179.0/24\"\ - ,\r\n \"52.253.180.0/24\",\r\n \"52.253.181.0/24\",\r\n\ - \ \"52.253.185.0/24\",\r\n \"52.253.186.0/24\",\r\n \ - \ \"52.253.191.0/24\",\r\n \"52.253.196.0/24\",\r\n \ - \ \"52.253.197.0/24\",\r\n \"52.253.224.0/21\",\r\n \"\ - 52.253.232.0/21\",\r\n \"52.254.0.0/18\",\r\n \"52.254.64.0/19\"\ - ,\r\n \"52.254.96.0/20\",\r\n \"52.254.112.0/21\",\r\n \ - \ \"52.254.120.0/21\",\r\n \"52.254.128.0/17\",\r\n \ - \ \"52.255.0.0/19\",\r\n \"52.255.32.0/19\",\r\n \"\ - 52.255.64.0/18\",\r\n \"52.255.128.0/17\",\r\n \"64.4.8.0/24\"\ - ,\r\n \"64.4.54.0/24\",\r\n \"65.52.0.0/19\",\r\n \ - \ \"65.52.32.0/21\",\r\n \"65.52.48.0/20\",\r\n \"65.52.64.0/20\"\ - ,\r\n \"65.52.104.0/24\",\r\n \"65.52.106.0/24\",\r\n \ - \ \"65.52.108.0/23\",\r\n \"65.52.110.0/24\",\r\n \ - \ \"65.52.111.0/24\",\r\n \"65.52.112.0/20\",\r\n \"65.52.128.0/19\"\ - ,\r\n \"65.52.160.0/19\",\r\n \"65.52.192.0/19\",\r\n \ - \ \"65.52.224.0/21\",\r\n \"65.52.232.0/21\",\r\n \ - \ \"65.52.240.0/21\",\r\n \"65.52.248.0/21\",\r\n \"65.54.19.128/27\"\ - ,\r\n \"65.54.55.160/27\",\r\n \"65.54.55.224/27\",\r\n\ - \ \"65.55.32.128/28\",\r\n \"65.55.32.192/27\",\r\n \ - \ \"65.55.32.224/28\",\r\n \"65.55.33.176/28\",\r\n \ - \ \"65.55.33.192/28\",\r\n \"65.55.35.192/27\",\r\n \"\ - 65.55.44.8/29\",\r\n \"65.55.44.16/28\",\r\n \"65.55.44.32/27\"\ - ,\r\n \"65.55.44.64/27\",\r\n \"65.55.44.96/28\",\r\n \ - \ \"65.55.44.112/28\",\r\n \"65.55.44.128/27\",\r\n \ - \ \"65.55.51.0/24\",\r\n \"65.55.60.176/29\",\r\n \"\ - 65.55.60.188/30\",\r\n \"65.55.105.0/26\",\r\n \"65.55.105.96/27\"\ - ,\r\n \"65.55.105.160/27\",\r\n \"65.55.105.192/27\",\r\n\ - \ \"65.55.105.224/27\",\r\n \"65.55.106.0/26\",\r\n \ - \ \"65.55.106.64/27\",\r\n \"65.55.106.128/26\",\r\n \ - \ \"65.55.106.192/28\",\r\n \"65.55.106.208/28\",\r\n \ - \ \"65.55.106.224/28\",\r\n \"65.55.106.240/28\",\r\n \"\ - 65.55.107.0/28\",\r\n \"65.55.107.48/28\",\r\n \"65.55.107.64/27\"\ - ,\r\n \"65.55.107.96/27\",\r\n \"65.55.108.0/24\",\r\n \ - \ \"65.55.109.0/24\",\r\n \"65.55.110.0/24\",\r\n \ - \ \"65.55.120.0/24\",\r\n \"65.55.144.0/23\",\r\n \"65.55.146.0/24\"\ - ,\r\n \"65.55.207.0/24\",\r\n \"65.55.209.0/25\",\r\n \ - \ \"65.55.209.128/26\",\r\n \"65.55.209.192/26\",\r\n \ - \ \"65.55.210.0/24\",\r\n \"65.55.211.0/27\",\r\n \"\ - 65.55.211.32/27\",\r\n \"65.55.212.0/27\",\r\n \"65.55.212.128/25\"\ - ,\r\n \"65.55.213.0/27\",\r\n \"65.55.213.64/26\",\r\n \ - \ \"65.55.213.128/26\",\r\n \"65.55.217.0/24\",\r\n \ - \ \"65.55.218.0/24\",\r\n \"65.55.219.0/27\",\r\n \"\ - 65.55.219.32/27\",\r\n \"65.55.219.64/26\",\r\n \"65.55.219.128/25\"\ - ,\r\n \"65.55.250.0/24\",\r\n \"65.55.252.0/24\",\r\n \ - \ \"70.37.0.0/21\",\r\n \"70.37.8.0/22\",\r\n \"\ - 70.37.12.0/32\",\r\n \"70.37.16.0/20\",\r\n \"70.37.32.0/20\"\ - ,\r\n \"70.37.48.0/20\",\r\n \"70.37.64.0/18\",\r\n \ - \ \"70.37.160.0/21\",\r\n \"94.245.88.0/21\",\r\n \"\ - 94.245.104.0/21\",\r\n \"94.245.114.1/32\",\r\n \"94.245.114.2/31\"\ - ,\r\n \"94.245.114.4/32\",\r\n \"94.245.114.33/32\",\r\n\ - \ \"94.245.114.34/31\",\r\n \"94.245.114.36/32\",\r\n \ - \ \"94.245.117.96/27\",\r\n \"94.245.118.0/27\",\r\n \ - \ \"94.245.118.65/32\",\r\n \"94.245.118.66/31\",\r\n \ - \ \"94.245.118.68/32\",\r\n \"94.245.118.97/32\",\r\n \ - \ \"94.245.118.98/31\",\r\n \"94.245.118.100/32\",\r\n \"\ - 94.245.118.129/32\",\r\n \"94.245.118.130/31\",\r\n \"94.245.118.132/32\"\ - ,\r\n \"94.245.120.128/28\",\r\n \"94.245.122.0/24\",\r\n\ - \ \"94.245.123.144/28\",\r\n \"94.245.123.176/28\",\r\n\ - \ \"102.37.0.0/20\",\r\n \"102.37.16.0/21\",\r\n \ - \ \"102.37.24.0/23\",\r\n \"102.37.26.0/27\",\r\n \"102.37.26.32/27\"\ - ,\r\n \"102.37.32.0/19\",\r\n \"102.37.64.0/21\",\r\n \ - \ \"102.37.72.0/21\",\r\n \"102.37.80.0/21\",\r\n \ - \ \"102.37.96.0/19\",\r\n \"102.37.128.0/19\",\r\n \"102.37.160.0/21\"\ - ,\r\n \"102.37.192.0/18\",\r\n \"102.133.0.0/18\",\r\n \ - \ \"102.133.64.0/19\",\r\n \"102.133.96.0/20\",\r\n \ - \ \"102.133.112.0/28\",\r\n \"102.133.120.0/21\",\r\n \ - \ \"102.133.128.0/18\",\r\n \"102.133.192.0/19\",\r\n \ - \ \"102.133.224.0/20\",\r\n \"102.133.240.0/25\",\r\n \"\ - 102.133.240.128/26\",\r\n \"102.133.248.0/21\",\r\n \"104.40.0.0/17\"\ - ,\r\n \"104.40.128.0/17\",\r\n \"104.41.0.0/18\",\r\n \ - \ \"104.41.64.0/18\",\r\n \"104.41.128.0/19\",\r\n \ - \ \"104.41.160.0/19\",\r\n \"104.41.192.0/18\",\r\n \"\ - 104.42.0.0/16\",\r\n \"104.43.0.0/17\",\r\n \"104.43.128.0/17\"\ - ,\r\n \"104.44.88.0/27\",\r\n \"104.44.88.32/27\",\r\n \ - \ \"104.44.88.64/27\",\r\n \"104.44.88.96/27\",\r\n \ - \ \"104.44.88.128/27\",\r\n \"104.44.88.160/27\",\r\n \ - \ \"104.44.88.192/27\",\r\n \"104.44.88.224/27\",\r\n \ - \ \"104.44.89.0/27\",\r\n \"104.44.89.32/27\",\r\n \"104.44.89.64/27\"\ - ,\r\n \"104.44.89.96/27\",\r\n \"104.44.89.128/27\",\r\n\ - \ \"104.44.89.160/27\",\r\n \"104.44.89.192/27\",\r\n \ - \ \"104.44.89.224/27\",\r\n \"104.44.90.0/27\",\r\n \ - \ \"104.44.90.32/27\",\r\n \"104.44.90.64/26\",\r\n \"\ - 104.44.90.128/27\",\r\n \"104.44.90.160/27\",\r\n \"104.44.90.192/27\"\ - ,\r\n \"104.44.90.224/27\",\r\n \"104.44.91.0/27\",\r\n\ - \ \"104.44.91.32/27\",\r\n \"104.44.91.64/27\",\r\n \ - \ \"104.44.91.96/27\",\r\n \"104.44.91.128/27\",\r\n \ - \ \"104.44.91.160/27\",\r\n \"104.44.91.192/27\",\r\n \ - \ \"104.44.91.224/27\",\r\n \"104.44.92.0/27\",\r\n \"104.44.92.32/27\"\ - ,\r\n \"104.44.92.64/27\",\r\n \"104.44.92.96/27\",\r\n\ - \ \"104.44.92.128/27\",\r\n \"104.44.92.160/27\",\r\n \ - \ \"104.44.92.192/27\",\r\n \"104.44.92.224/27\",\r\n \ - \ \"104.44.93.0/27\",\r\n \"104.44.93.32/27\",\r\n \ - \ \"104.44.93.64/27\",\r\n \"104.44.93.96/27\",\r\n \"104.44.93.128/27\"\ - ,\r\n \"104.44.93.160/27\",\r\n \"104.44.93.192/27\",\r\n\ - \ \"104.44.93.224/27\",\r\n \"104.44.94.0/28\",\r\n \ - \ \"104.44.94.16/28\",\r\n \"104.44.94.32/28\",\r\n \ - \ \"104.44.94.48/28\",\r\n \"104.44.94.64/28\",\r\n \"\ - 104.44.94.80/28\",\r\n \"104.44.94.96/28\",\r\n \"104.44.94.112/28\"\ - ,\r\n \"104.44.94.128/28\",\r\n \"104.44.94.144/28\",\r\n\ - \ \"104.44.94.160/27\",\r\n \"104.44.94.192/28\",\r\n \ - \ \"104.44.94.208/28\",\r\n \"104.44.94.224/27\",\r\n \ - \ \"104.44.95.0/28\",\r\n \"104.44.95.16/28\",\r\n \ - \ \"104.44.95.32/28\",\r\n \"104.44.95.48/28\",\r\n \"104.44.95.64/28\"\ - ,\r\n \"104.44.95.80/28\",\r\n \"104.44.95.96/28\",\r\n\ - \ \"104.44.95.112/28\",\r\n \"104.44.95.128/27\",\r\n \ - \ \"104.44.95.160/27\",\r\n \"104.44.95.192/28\",\r\n \ - \ \"104.44.95.208/28\",\r\n \"104.44.95.224/28\",\r\n \ - \ \"104.44.95.240/28\",\r\n \"104.44.128.0/18\",\r\n \ - \ \"104.45.0.0/18\",\r\n \"104.45.64.0/20\",\r\n \"104.45.80.0/20\"\ - ,\r\n \"104.45.96.0/19\",\r\n \"104.45.128.0/18\",\r\n \ - \ \"104.45.192.0/20\",\r\n \"104.45.208.0/20\",\r\n \ - \ \"104.45.224.0/19\",\r\n \"104.46.0.0/21\",\r\n \"\ - 104.46.8.0/21\",\r\n \"104.46.24.0/22\",\r\n \"104.46.28.0/24\"\ - ,\r\n \"104.46.29.0/24\",\r\n \"104.46.30.0/23\",\r\n \ - \ \"104.46.32.0/19\",\r\n \"104.46.64.0/19\",\r\n \ - \ \"104.46.96.0/19\",\r\n \"104.46.160.0/19\",\r\n \"104.46.192.0/20\"\ - ,\r\n \"104.46.208.0/20\",\r\n \"104.46.224.0/20\",\r\n\ - \ \"104.47.128.0/18\",\r\n \"104.47.200.0/21\",\r\n \ - \ \"104.47.208.0/23\",\r\n \"104.47.210.0/23\",\r\n \ - \ \"104.47.212.0/23\",\r\n \"104.47.214.0/23\",\r\n \"\ - 104.47.216.64/26\",\r\n \"104.47.218.0/23\",\r\n \"104.47.220.0/22\"\ - ,\r\n \"104.47.224.0/20\",\r\n \"104.208.0.0/19\",\r\n \ - \ \"104.208.32.0/20\",\r\n \"104.208.48.0/20\",\r\n \ - \ \"104.208.64.0/18\",\r\n \"104.208.128.0/17\",\r\n \ - \ \"104.209.0.0/18\",\r\n \"104.209.64.0/20\",\r\n \"104.209.80.0/20\"\ - ,\r\n \"104.209.128.0/17\",\r\n \"104.210.0.0/20\",\r\n\ - \ \"104.210.32.0/19\",\r\n \"104.210.64.0/18\",\r\n \ - \ \"104.210.128.0/19\",\r\n \"104.210.176.0/20\",\r\n \ - \ \"104.210.192.0/19\",\r\n \"104.211.0.0/18\",\r\n \"\ - 104.211.64.0/18\",\r\n \"104.211.128.0/18\",\r\n \"104.211.192.0/18\"\ - ,\r\n \"104.214.0.0/17\",\r\n \"104.214.128.0/19\",\r\n\ - \ \"104.214.160.0/19\",\r\n \"104.214.192.0/18\",\r\n \ - \ \"104.215.0.0/18\",\r\n \"104.215.64.0/18\",\r\n \ - \ \"104.215.128.0/17\",\r\n \"111.221.29.0/24\",\r\n \"\ - 111.221.30.0/23\",\r\n \"111.221.78.0/23\",\r\n \"111.221.80.0/20\"\ - ,\r\n \"111.221.96.0/20\",\r\n \"131.253.12.16/28\",\r\n\ - \ \"131.253.12.40/29\",\r\n \"131.253.12.48/29\",\r\n \ - \ \"131.253.12.160/28\",\r\n \"131.253.12.176/28\",\r\n \ - \ \"131.253.12.192/28\",\r\n \"131.253.12.208/28\",\r\n \ - \ \"131.253.12.224/30\",\r\n \"131.253.12.228/30\",\r\n \ - \ \"131.253.12.248/29\",\r\n \"131.253.13.0/28\",\r\n \ - \ \"131.253.13.16/29\",\r\n \"131.253.13.24/29\",\r\n \ - \ \"131.253.13.32/28\",\r\n \"131.253.13.48/28\",\r\n \ - \ \"131.253.13.72/29\",\r\n \"131.253.13.80/29\",\r\n \"\ - 131.253.13.88/30\",\r\n \"131.253.13.96/30\",\r\n \"131.253.13.100/30\"\ - ,\r\n \"131.253.13.104/30\",\r\n \"131.253.13.128/27\",\r\ - \n \"131.253.14.4/30\",\r\n \"131.253.14.8/31\",\r\n \ - \ \"131.253.14.16/28\",\r\n \"131.253.14.32/27\",\r\n \ - \ \"131.253.14.64/29\",\r\n \"131.253.14.96/27\",\r\n \ - \ \"131.253.14.128/27\",\r\n \"131.253.14.160/27\",\r\n \ - \ \"131.253.14.192/29\",\r\n \"131.253.14.208/28\",\r\n \ - \ \"131.253.14.224/28\",\r\n \"131.253.14.248/29\",\r\n \ - \ \"131.253.15.8/29\",\r\n \"131.253.15.16/28\",\r\n \"\ - 131.253.15.32/27\",\r\n \"131.253.15.192/28\",\r\n \"131.253.15.208/28\"\ - ,\r\n \"131.253.15.224/27\",\r\n \"131.253.24.0/28\",\r\n\ - \ \"131.253.24.160/27\",\r\n \"131.253.24.192/26\",\r\n\ - \ \"131.253.25.0/24\",\r\n \"131.253.27.0/24\",\r\n \ - \ \"131.253.34.224/27\",\r\n \"131.253.35.128/26\",\r\n \ - \ \"131.253.35.192/26\",\r\n \"131.253.36.128/26\",\r\n \ - \ \"131.253.36.224/27\",\r\n \"131.253.38.0/27\",\r\n \ - \ \"131.253.38.32/27\",\r\n \"131.253.38.128/26\",\r\n \ - \ \"131.253.38.224/27\",\r\n \"131.253.40.0/28\",\r\n \ - \ \"131.253.40.16/28\",\r\n \"131.253.40.32/28\",\r\n \"\ - 131.253.40.48/29\",\r\n \"131.253.40.64/28\",\r\n \"131.253.40.80/28\"\ - ,\r\n \"131.253.40.96/27\",\r\n \"131.253.40.128/27\",\r\ - \n \"131.253.40.160/28\",\r\n \"131.253.40.192/26\",\r\n\ - \ \"131.253.41.0/24\",\r\n \"134.170.80.64/28\",\r\n \ - \ \"134.170.192.0/21\",\r\n \"134.170.220.0/23\",\r\n \ - \ \"134.170.222.0/24\",\r\n \"137.116.0.0/18\",\r\n \ - \ \"137.116.64.0/19\",\r\n \"137.116.96.0/22\",\r\n \"137.116.112.0/20\"\ - ,\r\n \"137.116.128.0/19\",\r\n \"137.116.160.0/20\",\r\n\ - \ \"137.116.176.0/21\",\r\n \"137.116.184.0/21\",\r\n \ - \ \"137.116.192.0/19\",\r\n \"137.116.224.0/19\",\r\n \ - \ \"137.117.0.0/19\",\r\n \"137.117.32.0/19\",\r\n \ - \ \"137.117.64.0/18\",\r\n \"137.117.128.0/17\",\r\n \"\ - 137.135.0.0/18\",\r\n \"137.135.64.0/18\",\r\n \"137.135.128.0/17\"\ - ,\r\n \"138.91.0.0/20\",\r\n \"138.91.16.0/20\",\r\n \ - \ \"138.91.32.0/20\",\r\n \"138.91.48.0/20\",\r\n \ - \ \"138.91.64.0/19\",\r\n \"138.91.96.0/19\",\r\n \"138.91.128.0/17\"\ - ,\r\n \"157.55.2.128/26\",\r\n \"157.55.3.0/24\",\r\n \ - \ \"157.55.7.128/26\",\r\n \"157.55.8.64/26\",\r\n \ - \ \"157.55.8.144/28\",\r\n \"157.55.10.160/29\",\r\n \"\ - 157.55.10.176/28\",\r\n \"157.55.10.192/26\",\r\n \"157.55.11.128/25\"\ - ,\r\n \"157.55.12.64/26\",\r\n \"157.55.12.128/26\",\r\n\ - \ \"157.55.13.64/26\",\r\n \"157.55.13.128/26\",\r\n \ - \ \"157.55.24.0/21\",\r\n \"157.55.37.0/24\",\r\n \ - \ \"157.55.38.0/24\",\r\n \"157.55.39.0/24\",\r\n \"157.55.48.0/24\"\ - ,\r\n \"157.55.50.0/25\",\r\n \"157.55.51.224/28\",\r\n\ - \ \"157.55.55.0/27\",\r\n \"157.55.55.32/28\",\r\n \ - \ \"157.55.55.100/30\",\r\n \"157.55.55.104/29\",\r\n \ - \ \"157.55.55.136/29\",\r\n \"157.55.55.144/29\",\r\n \ - \ \"157.55.55.152/29\",\r\n \"157.55.55.160/28\",\r\n \"\ - 157.55.55.176/29\",\r\n \"157.55.55.200/29\",\r\n \"157.55.55.216/29\"\ - ,\r\n \"157.55.55.228/30\",\r\n \"157.55.55.232/29\",\r\n\ - \ \"157.55.55.240/28\",\r\n \"157.55.60.224/27\",\r\n \ - \ \"157.55.64.0/20\",\r\n \"157.55.80.0/21\",\r\n \ - \ \"157.55.103.32/27\",\r\n \"157.55.103.128/25\",\r\n \ - \ \"157.55.106.0/26\",\r\n \"157.55.106.128/25\",\r\n \"\ - 157.55.107.0/24\",\r\n \"157.55.108.0/23\",\r\n \"157.55.110.0/23\"\ - ,\r\n \"157.55.115.0/25\",\r\n \"157.55.136.0/21\",\r\n\ - \ \"157.55.151.0/28\",\r\n \"157.55.153.224/28\",\r\n \ - \ \"157.55.154.128/25\",\r\n \"157.55.160.0/20\",\r\n \ - \ \"157.55.176.0/20\",\r\n \"157.55.192.0/21\",\r\n \ - \ \"157.55.200.0/22\",\r\n \"157.55.204.1/32\",\r\n \"\ - 157.55.204.2/31\",\r\n \"157.55.204.33/32\",\r\n \"157.55.204.34/31\"\ - ,\r\n \"157.55.204.128/25\",\r\n \"157.55.208.0/21\",\r\n\ - \ \"157.55.248.0/21\",\r\n \"157.56.2.0/25\",\r\n \ - \ \"157.56.2.128/25\",\r\n \"157.56.3.0/25\",\r\n \"\ - 157.56.3.128/25\",\r\n \"157.56.8.0/21\",\r\n \"157.56.19.224/27\"\ - ,\r\n \"157.56.21.160/27\",\r\n \"157.56.21.192/27\",\r\n\ - \ \"157.56.24.160/27\",\r\n \"157.56.24.192/28\",\r\n \ - \ \"157.56.28.0/22\",\r\n \"157.56.80.0/25\",\r\n \ - \ \"157.56.117.64/27\",\r\n \"157.56.160.0/21\",\r\n \"\ - 157.56.176.0/21\",\r\n \"157.56.216.0/26\",\r\n \"168.61.0.0/19\"\ - ,\r\n \"168.61.32.0/20\",\r\n \"168.61.48.0/21\",\r\n \ - \ \"168.61.56.0/21\",\r\n \"168.61.64.0/20\",\r\n \ - \ \"168.61.80.0/20\",\r\n \"168.61.96.0/19\",\r\n \"168.61.128.0/25\"\ - ,\r\n \"168.61.128.128/28\",\r\n \"168.61.128.160/27\",\r\ - \n \"168.61.128.192/26\",\r\n \"168.61.129.0/25\",\r\n \ - \ \"168.61.129.128/26\",\r\n \"168.61.129.208/28\",\r\n \ - \ \"168.61.129.224/27\",\r\n \"168.61.130.64/26\",\r\n \ - \ \"168.61.130.128/25\",\r\n \"168.61.131.0/26\",\r\n \ - \ \"168.61.131.128/25\",\r\n \"168.61.132.0/26\",\r\n \ - \ \"168.61.136.0/21\",\r\n \"168.61.144.0/20\",\r\n \"\ - 168.61.160.0/19\",\r\n \"168.61.208.0/20\",\r\n \"168.62.0.0/19\"\ - ,\r\n \"168.62.32.0/19\",\r\n \"168.62.64.0/19\",\r\n \ - \ \"168.62.96.0/19\",\r\n \"168.62.128.0/19\",\r\n \ - \ \"168.62.160.0/19\",\r\n \"168.62.192.0/19\",\r\n \"\ - 168.62.224.0/19\",\r\n \"168.63.0.0/19\",\r\n \"168.63.32.0/19\"\ - ,\r\n \"168.63.64.0/20\",\r\n \"168.63.80.0/21\",\r\n \ - \ \"168.63.88.0/23\",\r\n \"168.63.90.0/24\",\r\n \ - \ \"168.63.91.0/26\",\r\n \"168.63.92.0/22\",\r\n \"168.63.96.0/19\"\ - ,\r\n \"168.63.128.0/24\",\r\n \"168.63.129.0/28\",\r\n\ - \ \"168.63.129.32/27\",\r\n \"168.63.129.64/26\",\r\n \ - \ \"168.63.129.128/25\",\r\n \"168.63.130.0/23\",\r\n \ - \ \"168.63.132.0/22\",\r\n \"168.63.136.0/21\",\r\n \ - \ \"168.63.148.0/22\",\r\n \"168.63.152.0/22\",\r\n \"\ - 168.63.156.0/24\",\r\n \"168.63.160.0/19\",\r\n \"168.63.192.0/19\"\ - ,\r\n \"168.63.224.0/19\",\r\n \"191.232.16.0/21\",\r\n\ - \ \"191.232.32.0/19\",\r\n \"191.232.138.0/23\",\r\n \ - \ \"191.232.140.0/24\",\r\n \"191.232.160.0/19\",\r\n \ - \ \"191.232.192.0/18\",\r\n \"191.233.0.0/21\",\r\n \ - \ \"191.233.8.0/21\",\r\n \"191.233.16.0/20\",\r\n \"191.233.32.0/20\"\ - ,\r\n \"191.233.48.0/21\",\r\n \"191.233.64.0/18\",\r\n\ - \ \"191.233.128.0/20\",\r\n \"191.233.144.0/20\",\r\n \ - \ \"191.233.160.0/19\",\r\n \"191.233.192.0/18\",\r\n \ - \ \"191.234.2.0/23\",\r\n \"191.234.16.0/20\",\r\n \ - \ \"191.234.32.0/19\",\r\n \"191.234.128.0/18\",\r\n \"\ - 191.234.192.0/19\",\r\n \"191.234.224.0/19\",\r\n \"191.235.32.0/19\"\ - ,\r\n \"191.235.64.0/18\",\r\n \"191.235.128.0/18\",\r\n\ - \ \"191.235.192.0/22\",\r\n \"191.235.196.0/22\",\r\n \ - \ \"191.235.200.0/21\",\r\n \"191.235.208.0/20\",\r\n \ - \ \"191.235.224.0/20\",\r\n \"191.235.240.0/21\",\r\n \ - \ \"191.235.248.0/23\",\r\n \"191.235.250.0/25\",\r\n \ - \ \"191.235.255.0/24\",\r\n \"191.236.0.0/18\",\r\n \"\ - 191.236.64.0/18\",\r\n \"191.236.128.0/18\",\r\n \"191.236.192.0/18\"\ - ,\r\n \"191.237.0.0/17\",\r\n \"191.237.128.0/18\",\r\n\ - \ \"191.237.192.0/23\",\r\n \"191.237.194.0/24\",\r\n \ - \ \"191.237.195.0/24\",\r\n \"191.237.196.0/24\",\r\n \ - \ \"191.237.200.0/21\",\r\n \"191.237.208.0/20\",\r\n \ - \ \"191.237.224.0/21\",\r\n \"191.237.232.0/22\",\r\n \ - \ \"191.237.236.0/24\",\r\n \"191.237.238.0/24\",\r\n \"\ - 191.237.240.0/23\",\r\n \"191.237.248.0/21\",\r\n \"191.238.0.0/18\"\ - ,\r\n \"191.238.64.0/23\",\r\n \"191.238.66.0/23\",\r\n\ - \ \"191.238.68.0/24\",\r\n \"191.238.70.0/23\",\r\n \ - \ \"191.238.72.0/21\",\r\n \"191.238.80.0/21\",\r\n \ - \ \"191.238.88.0/22\",\r\n \"191.238.92.0/23\",\r\n \"\ - 191.238.96.0/19\",\r\n \"191.238.128.0/21\",\r\n \"191.238.144.0/20\"\ - ,\r\n \"191.238.160.0/19\",\r\n \"191.238.192.0/19\",\r\n\ - \ \"191.238.224.0/19\",\r\n \"191.239.0.0/18\",\r\n \ - \ \"191.239.64.0/19\",\r\n \"191.239.96.0/20\",\r\n \ - \ \"191.239.112.0/20\",\r\n \"191.239.160.0/19\",\r\n \"\ - 191.239.192.0/22\",\r\n \"191.239.200.0/22\",\r\n \"191.239.204.0/22\"\ - ,\r\n \"191.239.208.0/20\",\r\n \"191.239.224.0/20\",\r\n\ - \ \"191.239.240.0/20\",\r\n \"193.149.64.0/21\",\r\n \ - \ \"193.149.72.0/21\",\r\n \"193.149.80.0/21\",\r\n \ - \ \"193.149.88.0/21\",\r\n \"198.180.96.0/25\",\r\n \"\ - 198.180.97.0/24\",\r\n \"199.30.16.0/24\",\r\n \"199.30.18.0/23\"\ - ,\r\n \"199.30.20.0/24\",\r\n \"199.30.22.0/24\",\r\n \ - \ \"199.30.24.0/23\",\r\n \"199.30.27.0/25\",\r\n \ - \ \"199.30.27.144/28\",\r\n \"199.30.27.160/27\",\r\n \"\ - 199.30.28.64/26\",\r\n \"199.30.28.128/25\",\r\n \"199.30.29.0/24\"\ - ,\r\n \"199.30.31.0/25\",\r\n \"199.30.31.192/26\",\r\n\ - \ \"204.79.180.0/24\",\r\n \"204.231.197.0/24\",\r\n \ - \ \"207.46.13.0/24\",\r\n \"207.46.50.128/28\",\r\n \ - \ \"207.46.59.64/27\",\r\n \"207.46.63.64/27\",\r\n \"\ - 207.46.63.128/25\",\r\n \"207.46.67.160/27\",\r\n \"207.46.67.192/27\"\ - ,\r\n \"207.46.72.0/27\",\r\n \"207.46.77.224/28\",\r\n\ - \ \"207.46.87.0/24\",\r\n \"207.46.89.16/28\",\r\n \ - \ \"207.46.95.32/27\",\r\n \"207.46.126.0/24\",\r\n \ - \ \"207.46.128.0/19\",\r\n \"207.46.193.192/28\",\r\n \"\ - 207.46.193.224/27\",\r\n \"207.46.198.128/25\",\r\n \"207.46.200.96/27\"\ - ,\r\n \"207.46.200.176/28\",\r\n \"207.46.202.128/28\",\r\ - \n \"207.46.205.0/24\",\r\n \"207.46.224.0/20\",\r\n \ - \ \"207.68.174.40/29\",\r\n \"207.68.174.48/29\",\r\n \ - \ \"207.68.174.184/29\",\r\n \"207.68.174.192/28\",\r\n \ - \ \"207.68.174.208/28\",\r\n \"209.240.212.0/23\",\r\n \ - \ \"213.199.128.0/20\",\r\n \"213.199.180.32/28\",\r\n \ - \ \"213.199.180.96/27\",\r\n \"213.199.180.192/27\",\r\n \ - \ \"213.199.183.0/24\",\r\n \"2603:1000::/47\",\r\n \"\ - 2603:1000:3::/48\",\r\n \"2603:1000:4::/48\",\r\n \"2603:1000:100::/47\"\ - ,\r\n \"2603:1000:103::/48\",\r\n \"2603:1000:104::/48\"\ - ,\r\n \"2603:1006:1400::/63\",\r\n \"2603:1006:1401::/63\"\ - ,\r\n \"2603:1006:1500::/64\",\r\n \"2603:1006:1500:4::/64\"\ - ,\r\n \"2603:1006:2000::/59\",\r\n \"2603:1006:2000:20::/59\"\ - ,\r\n \"2603:1007:200::/59\",\r\n \"2603:1007:200:20::/59\"\ - ,\r\n \"2603:1010::/46\",\r\n \"2603:1010:5::/48\",\r\n\ - \ \"2603:1010:6::/48\",\r\n \"2603:1010:100::/40\",\r\n\ - \ \"2603:1010:200::/47\",\r\n \"2603:1010:202::/48\",\r\n\ - \ \"2603:1010:204::/48\",\r\n \"2603:1010:205::/48\",\r\n\ - \ \"2603:1010:300::/47\",\r\n \"2603:1010:303::/48\",\r\n\ - \ \"2603:1010:304::/48\",\r\n \"2603:1010:400::/47\",\r\n\ - \ \"2603:1010:403::/48\",\r\n \"2603:1010:404::/48\",\r\n\ - \ \"2603:1016:1400::/59\",\r\n \"2603:1016:1400:20::/59\"\ - ,\r\n \"2603:1016:1400:40::/59\",\r\n \"2603:1016:1400:60::/59\"\ - ,\r\n \"2603:1016:2400::/48\",\r\n \"2603:1016:2401::/48\"\ - ,\r\n \"2603:1016:2402::/48\",\r\n \"2603:1016:2403::/48\"\ - ,\r\n \"2603:1016:2500::/64\",\r\n \"2603:1016:2500:4::/64\"\ - ,\r\n \"2603:1016:2500:8::/64\",\r\n \"2603:1016:2500:c::/64\"\ - ,\r\n \"2603:1017::/59\",\r\n \"2603:1017:0:20::/59\",\r\ - \n \"2603:1017:0:40::/59\",\r\n \"2603:1017:0:60::/59\"\ - ,\r\n \"2603:1020::/47\",\r\n \"2603:1020:2::/48\",\r\n\ - \ \"2603:1020:4::/48\",\r\n \"2603:1020:5::/48\",\r\n \ - \ \"2603:1020:200::/46\",\r\n \"2603:1020:205::/48\",\r\n\ - \ \"2603:1020:206::/48\",\r\n \"2603:1020:300::/47\",\r\n\ - \ \"2603:1020:302::/48\",\r\n \"2603:1020:304::/48\",\r\n\ - \ \"2603:1020:305::/48\",\r\n \"2603:1020:400::/47\",\r\n\ - \ \"2603:1020:402::/48\",\r\n \"2603:1020:404::/48\",\r\n\ - \ \"2603:1020:405::/48\",\r\n \"2603:1020:500::/47\",\r\n\ - \ \"2603:1020:503::/48\",\r\n \"2603:1020:504::/48\",\r\n\ - \ \"2603:1020:600::/47\",\r\n \"2603:1020:602::/48\",\r\n\ - \ \"2603:1020:604::/48\",\r\n \"2603:1020:605::/48\",\r\n\ - \ \"2603:1020:700::/47\",\r\n \"2603:1020:702::/48\",\r\n\ - \ \"2603:1020:704::/48\",\r\n \"2603:1020:705::/48\",\r\n\ - \ \"2603:1020:800::/47\",\r\n \"2603:1020:802::/48\",\r\n\ - \ \"2603:1020:804::/48\",\r\n \"2603:1020:805::/48\",\r\n\ - \ \"2603:1020:900::/47\",\r\n \"2603:1020:902::/48\",\r\n\ - \ \"2603:1020:904::/48\",\r\n \"2603:1020:905::/48\",\r\n\ - \ \"2603:1020:a00::/47\",\r\n \"2603:1020:a03::/48\",\r\n\ - \ \"2603:1020:a04::/48\",\r\n \"2603:1020:b00::/47\",\r\n\ - \ \"2603:1020:b03::/48\",\r\n \"2603:1020:b04::/48\",\r\n\ - \ \"2603:1020:c00::/47\",\r\n \"2603:1020:c03::/48\",\r\n\ - \ \"2603:1020:c04::/48\",\r\n \"2603:1020:d00::/47\",\r\n\ - \ \"2603:1020:d03::/48\",\r\n \"2603:1020:d04::/48\",\r\n\ - \ \"2603:1020:e00::/47\",\r\n \"2603:1020:e03::/48\",\r\n\ - \ \"2603:1020:e04::/48\",\r\n \"2603:1020:f00::/47\",\r\n\ - \ \"2603:1020:f03::/48\",\r\n \"2603:1020:f04::/48\",\r\n\ - \ \"2603:1026:2400::/48\",\r\n \"2603:1026:2401::/48\",\r\ - \n \"2603:1026:2403::/48\",\r\n \"2603:1026:2404::/48\"\ - ,\r\n \"2603:1026:2405::/48\",\r\n \"2603:1026:2406::/48\"\ - ,\r\n \"2603:1026:2407::/48\",\r\n \"2603:1026:2409::/48\"\ - ,\r\n \"2603:1026:240a::/48\",\r\n \"2603:1026:240b::/48\"\ - ,\r\n \"2603:1026:240c::/48\",\r\n \"2603:1026:240d::/48\"\ - ,\r\n \"2603:1026:240e::/48\",\r\n \"2603:1026:240f::/48\"\ - ,\r\n \"2603:1026:2411::/48\",\r\n \"2603:1026:2500:8::/64\"\ - ,\r\n \"2603:1026:2500:c::/64\",\r\n \"2603:1026:2500:10::/64\"\ - ,\r\n \"2603:1026:2500:14::/64\",\r\n \"2603:1026:2500:18::/64\"\ - ,\r\n \"2603:1026:2500:1c::/64\",\r\n \"2603:1026:2500:20::/64\"\ - ,\r\n \"2603:1026:2500:24::/64\",\r\n \"2603:1026:2500:28::/64\"\ - ,\r\n \"2603:1026:2500:2c::/64\",\r\n \"2603:1026:2500:30::/64\"\ - ,\r\n \"2603:1026:2500:34::/64\",\r\n \"2603:1026:3000:40::/59\"\ - ,\r\n \"2603:1026:3000:60::/59\",\r\n \"2603:1026:3000:80::/59\"\ - ,\r\n \"2603:1026:3000:a0::/59\",\r\n \"2603:1026:3000:c0::/59\"\ - ,\r\n \"2603:1026:3000:e0::/59\",\r\n \"2603:1026:3000:100::/59\"\ - ,\r\n \"2603:1026:3000:120::/59\",\r\n \"2603:1026:3000:140::/59\"\ - ,\r\n \"2603:1026:3000:160::/59\",\r\n \"2603:1026:3000:180::/59\"\ - ,\r\n \"2603:1026:3000:1a0::/59\",\r\n \"2603:1026:3000:1c0::/59\"\ - ,\r\n \"2603:1026:3000:200::/59\",\r\n \"2603:1026:3000:220::/59\"\ - ,\r\n \"2603:1027:1:40::/59\",\r\n \"2603:1027:1:60::/59\"\ - ,\r\n \"2603:1027:1:80::/59\",\r\n \"2603:1027:1:a0::/59\"\ - ,\r\n \"2603:1027:1:c0::/59\",\r\n \"2603:1027:1:e0::/59\"\ - ,\r\n \"2603:1027:1:100::/59\",\r\n \"2603:1027:1:120::/59\"\ - ,\r\n \"2603:1027:1:140::/59\",\r\n \"2603:1027:1:160::/59\"\ - ,\r\n \"2603:1027:1:180::/59\",\r\n \"2603:1027:1:1a0::/59\"\ - ,\r\n \"2603:1027:1:1c0::/59\",\r\n \"2603:1027:1:200::/59\"\ - ,\r\n \"2603:1027:1:220::/59\",\r\n \"2603:1030::/45\",\r\ - \n \"2603:1030:8::/48\",\r\n \"2603:1030:9::/63\",\r\n \ - \ \"2603:1030:9:2::/63\",\r\n \"2603:1030:9:4::/62\",\r\n\ - \ \"2603:1030:9:8::/61\",\r\n \"2603:1030:9:10::/62\",\r\ - \n \"2603:1030:9:14::/63\",\r\n \"2603:1030:9:16::/64\"\ - ,\r\n \"2603:1030:9:17::/64\",\r\n \"2603:1030:9:18::/61\"\ - ,\r\n \"2603:1030:9:20::/59\",\r\n \"2603:1030:9:40::/58\"\ - ,\r\n \"2603:1030:9:80::/59\",\r\n \"2603:1030:9:a0::/60\"\ - ,\r\n \"2603:1030:9:b0::/63\",\r\n \"2603:1030:9:b2::/64\"\ - ,\r\n \"2603:1030:9:b3::/64\",\r\n \"2603:1030:9:b4::/63\"\ - ,\r\n \"2603:1030:9:b6::/64\",\r\n \"2603:1030:9:b7::/64\"\ - ,\r\n \"2603:1030:9:b8::/63\",\r\n \"2603:1030:9:ba::/63\"\ - ,\r\n \"2603:1030:9:bc::/64\",\r\n \"2603:1030:9:bd::/64\"\ - ,\r\n \"2603:1030:9:be::/63\",\r\n \"2603:1030:9:c0::/58\"\ - ,\r\n \"2603:1030:9:100::/64\",\r\n \"2603:1030:9:101::/64\"\ - ,\r\n \"2603:1030:9:102::/63\",\r\n \"2603:1030:9:104::/62\"\ - ,\r\n \"2603:1030:9:108::/62\",\r\n \"2603:1030:9:10c::/64\"\ - ,\r\n \"2603:1030:9:10d::/64\",\r\n \"2603:1030:9:10e::/63\"\ - ,\r\n \"2603:1030:9:110::/64\",\r\n \"2603:1030:9:111::/64\"\ - ,\r\n \"2603:1030:9:112::/63\",\r\n \"2603:1030:9:114::/64\"\ - ,\r\n \"2603:1030:9:115::/64\",\r\n \"2603:1030:9:116::/63\"\ - ,\r\n \"2603:1030:9:118::/62\",\r\n \"2603:1030:9:11c::/63\"\ - ,\r\n \"2603:1030:9:11e::/64\",\r\n \"2603:1030:9:11f::/64\"\ - ,\r\n \"2603:1030:9:120::/61\",\r\n \"2603:1030:9:128::/62\"\ - ,\r\n \"2603:1030:9:12c::/63\",\r\n \"2603:1030:9:12e::/64\"\ - ,\r\n \"2603:1030:9:12f::/64\",\r\n \"2603:1030:9:130::/63\"\ - ,\r\n \"2603:1030:a::/47\",\r\n \"2603:1030:d::/48\",\r\n\ - \ \"2603:1030:e::/48\",\r\n \"2603:1030:f::/48\",\r\n \ - \ \"2603:1030:10::/48\",\r\n \"2603:1030:208::/47\",\r\n \ - \ \"2603:1030:20a::/47\",\r\n \"2603:1030:20c::/47\",\r\n\ - \ \"2603:1030:20e::/48\",\r\n \"2603:1030:210::/47\",\r\n\ - \ \"2603:1030:400::/48\",\r\n \"2603:1030:401::/63\",\r\n\ - \ \"2603:1030:401:2::/63\",\r\n \"2603:1030:401:4::/62\"\ - ,\r\n \"2603:1030:401:8::/61\",\r\n \"2603:1030:401:10::/62\"\ - ,\r\n \"2603:1030:401:14::/63\",\r\n \"2603:1030:401:16::/64\"\ - ,\r\n \"2603:1030:401:17::/64\",\r\n \"2603:1030:401:18::/61\"\ - ,\r\n \"2603:1030:401:20::/59\",\r\n \"2603:1030:401:40::/60\"\ - ,\r\n \"2603:1030:401:50::/61\",\r\n \"2603:1030:401:58::/64\"\ - ,\r\n \"2603:1030:401:59::/64\",\r\n \"2603:1030:401:5a::/63\"\ - ,\r\n \"2603:1030:401:5c::/62\",\r\n \"2603:1030:401:60::/59\"\ - ,\r\n \"2603:1030:401:80::/62\",\r\n \"2603:1030:401:84::/64\"\ - ,\r\n \"2603:1030:401:85::/64\",\r\n \"2603:1030:401:86::/64\"\ - ,\r\n \"2603:1030:401:87::/64\",\r\n \"2603:1030:401:88::/62\"\ - ,\r\n \"2603:1030:401:8c::/63\",\r\n \"2603:1030:401:8e::/64\"\ - ,\r\n \"2603:1030:401:8f::/64\",\r\n \"2603:1030:401:90::/63\"\ - ,\r\n \"2603:1030:401:92::/63\",\r\n \"2603:1030:401:94::/62\"\ - ,\r\n \"2603:1030:401:98::/61\",\r\n \"2603:1030:401:a0::/62\"\ - ,\r\n \"2603:1030:401:a4::/63\",\r\n \"2603:1030:401:a6::/64\"\ - ,\r\n \"2603:1030:401:a7::/64\",\r\n \"2603:1030:401:a8::/61\"\ - ,\r\n \"2603:1030:401:b0::/60\",\r\n \"2603:1030:401:c0::/58\"\ - ,\r\n \"2603:1030:401:100::/59\",\r\n \"2603:1030:401:120::/64\"\ - ,\r\n \"2603:1030:401:121::/64\",\r\n \"2603:1030:401:122::/63\"\ - ,\r\n \"2603:1030:401:124::/62\",\r\n \"2603:1030:401:128::/61\"\ - ,\r\n \"2603:1030:401:130::/62\",\r\n \"2603:1030:401:134::/63\"\ - ,\r\n \"2603:1030:401:136::/63\",\r\n \"2603:1030:401:138::/64\"\ - ,\r\n \"2603:1030:401:139::/64\",\r\n \"2603:1030:401:13a::/63\"\ - ,\r\n \"2603:1030:401:13c::/62\",\r\n \"2603:1030:401:140::/63\"\ - ,\r\n \"2603:1030:401:142::/64\",\r\n \"2603:1030:401:143::/64\"\ - ,\r\n \"2603:1030:401:144::/63\",\r\n \"2603:1030:401:146::/63\"\ - ,\r\n \"2603:1030:401:148::/63\",\r\n \"2603:1030:401:14a::/63\"\ - ,\r\n \"2603:1030:401:14c::/62\",\r\n \"2603:1030:401:150::/62\"\ - ,\r\n \"2603:1030:401:154::/63\",\r\n \"2603:1030:401:156::/63\"\ - ,\r\n \"2603:1030:401:158::/64\",\r\n \"2603:1030:401:159::/64\"\ - ,\r\n \"2603:1030:401:15a::/63\",\r\n \"2603:1030:401:15c::/62\"\ - ,\r\n \"2603:1030:401:160::/61\",\r\n \"2603:1030:401:168::/63\"\ - ,\r\n \"2603:1030:401:16a::/63\",\r\n \"2603:1030:401:16c::/64\"\ - ,\r\n \"2603:1030:401:16d::/64\",\r\n \"2603:1030:401:16e::/63\"\ - ,\r\n \"2603:1030:401:170::/61\",\r\n \"2603:1030:401:178::/62\"\ - ,\r\n \"2603:1030:401:17c::/62\",\r\n \"2603:1030:401:180::/60\"\ - ,\r\n \"2603:1030:401:190::/61\",\r\n \"2603:1030:401:198::/62\"\ - ,\r\n \"2603:1030:401:19c::/64\",\r\n \"2603:1030:402::/47\"\ - ,\r\n \"2603:1030:405::/48\",\r\n \"2603:1030:406::/47\"\ - ,\r\n \"2603:1030:408::/48\",\r\n \"2603:1030:409::/48\"\ - ,\r\n \"2603:1030:40a::/64\",\r\n \"2603:1030:40a:1::/64\"\ - ,\r\n \"2603:1030:40a:2::/64\",\r\n \"2603:1030:40a:3::/64\"\ - ,\r\n \"2603:1030:40a:4::/62\",\r\n \"2603:1030:40a:8::/63\"\ - ,\r\n \"2603:1030:40b::/48\",\r\n \"2603:1030:40c::/48\"\ - ,\r\n \"2603:1030:40d::/60\",\r\n \"2603:1030:600::/46\"\ - ,\r\n \"2603:1030:604::/47\",\r\n \"2603:1030:607::/48\"\ - ,\r\n \"2603:1030:608::/48\",\r\n \"2603:1030:800::/48\"\ - ,\r\n \"2603:1030:802::/47\",\r\n \"2603:1030:804::/58\"\ - ,\r\n \"2603:1030:804:40::/60\",\r\n \"2603:1030:804:53::/64\"\ - ,\r\n \"2603:1030:804:54::/64\",\r\n \"2603:1030:804:5b::/64\"\ - ,\r\n \"2603:1030:804:5c::/62\",\r\n \"2603:1030:804:60::/62\"\ - ,\r\n \"2603:1030:804:67::/64\",\r\n \"2603:1030:804:68::/61\"\ - ,\r\n \"2603:1030:804:70::/60\",\r\n \"2603:1030:804:80::/59\"\ - ,\r\n \"2603:1030:804:a0::/62\",\r\n \"2603:1030:804:a4::/64\"\ - ,\r\n \"2603:1030:804:a6::/63\",\r\n \"2603:1030:804:a8::/61\"\ - ,\r\n \"2603:1030:804:b0::/62\",\r\n \"2603:1030:804:b4::/64\"\ - ,\r\n \"2603:1030:804:b6::/63\",\r\n \"2603:1030:804:b8::/61\"\ - ,\r\n \"2603:1030:804:c0::/61\",\r\n \"2603:1030:804:c8::/62\"\ - ,\r\n \"2603:1030:804:cc::/63\",\r\n \"2603:1030:804:d2::/63\"\ - ,\r\n \"2603:1030:804:d4::/62\",\r\n \"2603:1030:804:d8::/61\"\ - ,\r\n \"2603:1030:804:e0::/59\",\r\n \"2603:1030:804:100::/61\"\ - ,\r\n \"2603:1030:804:108::/62\",\r\n \"2603:1030:805::/48\"\ - ,\r\n \"2603:1030:806::/48\",\r\n \"2603:1030:807::/48\"\ - ,\r\n \"2603:1030:a00::/46\",\r\n \"2603:1030:a04::/48\"\ - ,\r\n \"2603:1030:a06::/48\",\r\n \"2603:1030:a07::/48\"\ - ,\r\n \"2603:1030:a08::/48\",\r\n \"2603:1030:b00::/47\"\ - ,\r\n \"2603:1030:b03::/48\",\r\n \"2603:1030:b04::/48\"\ - ,\r\n \"2603:1030:b05::/48\",\r\n \"2603:1030:c00::/48\"\ - ,\r\n \"2603:1030:c02::/47\",\r\n \"2603:1030:c04::/48\"\ - ,\r\n \"2603:1030:c05::/48\",\r\n \"2603:1030:c06::/48\"\ - ,\r\n \"2603:1030:c07::/48\",\r\n \"2603:1030:d00::/48\"\ - ,\r\n \"2603:1030:e01:2::/64\",\r\n \"2603:1030:f00::/47\"\ - ,\r\n \"2603:1030:f02::/48\",\r\n \"2603:1030:f04::/48\"\ - ,\r\n \"2603:1030:f05::/48\",\r\n \"2603:1030:f06::/48\"\ - ,\r\n \"2603:1030:1000::/47\",\r\n \"2603:1030:1002::/48\"\ - ,\r\n \"2603:1030:1004::/48\",\r\n \"2603:1030:1005::/48\"\ - ,\r\n \"2603:1036:903::/64\",\r\n \"2603:1036:903:1::/64\"\ - ,\r\n \"2603:1036:903:2::/64\",\r\n \"2603:1036:9ff:ffff::/64\"\ - ,\r\n \"2603:1036:d20::/64\",\r\n \"2603:1036:120d::/48\"\ - ,\r\n \"2603:1036:2400::/48\",\r\n \"2603:1036:2401::/48\"\ - ,\r\n \"2603:1036:2402::/48\",\r\n \"2603:1036:2403::/48\"\ - ,\r\n \"2603:1036:2404::/48\",\r\n \"2603:1036:2405::/48\"\ - ,\r\n \"2603:1036:2406::/48\",\r\n \"2603:1036:2407::/48\"\ - ,\r\n \"2603:1036:2408::/48\",\r\n \"2603:1036:2409::/48\"\ - ,\r\n \"2603:1036:240a::/48\",\r\n \"2603:1036:240d::/48\"\ - ,\r\n \"2603:1036:2500::/64\",\r\n \"2603:1036:2500:4::/64\"\ - ,\r\n \"2603:1036:2500:8::/64\",\r\n \"2603:1036:2500:10::/64\"\ - ,\r\n \"2603:1036:2500:14::/64\",\r\n \"2603:1036:2500:1c::/64\"\ - ,\r\n \"2603:1036:2500:20::/64\",\r\n \"2603:1036:2500:24::/64\"\ - ,\r\n \"2603:1036:2500:2c::/64\",\r\n \"2603:1036:2500:30::/64\"\ - ,\r\n \"2603:1036:2500:34::/64\",\r\n \"2603:1036:3000::/59\"\ - ,\r\n \"2603:1036:3000:20::/59\",\r\n \"2603:1036:3000:40::/59\"\ - ,\r\n \"2603:1036:3000:60::/59\",\r\n \"2603:1036:3000:80::/59\"\ - ,\r\n \"2603:1036:3000:c0::/59\",\r\n \"2603:1036:3000:100::/59\"\ - ,\r\n \"2603:1036:3000:120::/59\",\r\n \"2603:1036:3000:140::/59\"\ - ,\r\n \"2603:1036:3000:160::/59\",\r\n \"2603:1036:3000:180::/59\"\ - ,\r\n \"2603:1036:3000:1c0::/59\",\r\n \"2603:1037:1::/59\"\ - ,\r\n \"2603:1037:1:20::/59\",\r\n \"2603:1037:1:40::/59\"\ - ,\r\n \"2603:1037:1:60::/59\",\r\n \"2603:1037:1:80::/59\"\ - ,\r\n \"2603:1037:1:c0::/59\",\r\n \"2603:1037:1:100::/59\"\ - ,\r\n \"2603:1037:1:120::/59\",\r\n \"2603:1037:1:140::/59\"\ - ,\r\n \"2603:1037:1:160::/59\",\r\n \"2603:1037:1:180::/59\"\ - ,\r\n \"2603:1037:1:1c0::/59\",\r\n \"2603:1039:205::/48\"\ - ,\r\n \"2603:1040::/47\",\r\n \"2603:1040:2::/48\",\r\n\ - \ \"2603:1040:4::/48\",\r\n \"2603:1040:5::/48\",\r\n \ - \ \"2603:1040:200::/46\",\r\n \"2603:1040:204::/48\",\r\n\ - \ \"2603:1040:206::/48\",\r\n \"2603:1040:207::/48\",\r\n\ - \ \"2603:1040:400::/46\",\r\n \"2603:1040:404::/48\",\r\n\ - \ \"2603:1040:406::/48\",\r\n \"2603:1040:407::/48\",\r\n\ - \ \"2603:1040:600::/46\",\r\n \"2603:1040:605::/48\",\r\n\ - \ \"2603:1040:606::/48\",\r\n \"2603:1040:800::/46\",\r\n\ - \ \"2603:1040:805::/48\",\r\n \"2603:1040:806::/48\",\r\n\ - \ \"2603:1040:900::/47\",\r\n \"2603:1040:903::/48\",\r\n\ - \ \"2603:1040:904::/48\",\r\n \"2603:1040:a00::/46\",\r\n\ - \ \"2603:1040:a05::/48\",\r\n \"2603:1040:a06::/48\",\r\n\ - \ \"2603:1040:b00::/47\",\r\n \"2603:1040:b03::/48\",\r\n\ - \ \"2603:1040:b04::/48\",\r\n \"2603:1040:c00::/46\",\r\n\ - \ \"2603:1040:c05::/48\",\r\n \"2603:1040:c06::/48\",\r\n\ - \ \"2603:1040:e00::/47\",\r\n \"2603:1040:e02::/48\",\r\n\ - \ \"2603:1040:e04::/48\",\r\n \"2603:1040:e05::/48\",\r\n\ - \ \"2603:1040:f00::/47\",\r\n \"2603:1040:f02::/48\",\r\n\ - \ \"2603:1040:f04::/48\",\r\n \"2603:1040:f05::/48\",\r\n\ - \ \"2603:1046:1400::/48\",\r\n \"2603:1046:1401::/48\",\r\ - \n \"2603:1046:1402::/48\",\r\n \"2603:1046:1403::/48\"\ - ,\r\n \"2603:1046:1404::/48\",\r\n \"2603:1046:1405::/48\"\ - ,\r\n \"2603:1046:1406::/48\",\r\n \"2603:1046:1407::/48\"\ - ,\r\n \"2603:1046:1408::/48\",\r\n \"2603:1046:140a::/48\"\ - ,\r\n \"2603:1046:140b::/48\",\r\n \"2603:1046:1500::/64\"\ - ,\r\n \"2603:1046:1500:4::/64\",\r\n \"2603:1046:1500:8::/64\"\ - ,\r\n \"2603:1046:1500:14::/64\",\r\n \"2603:1046:1500:18::/64\"\ - ,\r\n \"2603:1046:1500:1c::/64\",\r\n \"2603:1046:1500:20::/64\"\ - ,\r\n \"2603:1046:1500:24::/64\",\r\n \"2603:1046:1500:28::/64\"\ - ,\r\n \"2603:1046:1500:2c::/64\",\r\n \"2603:1046:1500:30::/64\"\ - ,\r\n \"2603:1046:2000:20::/59\",\r\n \"2603:1046:2000:40::/59\"\ - ,\r\n \"2603:1046:2000:60::/59\",\r\n \"2603:1046:2000:80::/59\"\ - ,\r\n \"2603:1046:2000:a0::/59\",\r\n \"2603:1046:2000:c0::/59\"\ - ,\r\n \"2603:1046:2000:e0::/59\",\r\n \"2603:1046:2000:100::/59\"\ - ,\r\n \"2603:1046:2000:120::/59\",\r\n \"2603:1046:2000:140::/59\"\ - ,\r\n \"2603:1046:2000:160::/59\",\r\n \"2603:1046:2000:180::/59\"\ - ,\r\n \"2603:1047:1:20::/59\",\r\n \"2603:1047:1:40::/59\"\ - ,\r\n \"2603:1047:1:60::/59\",\r\n \"2603:1047:1:80::/59\"\ - ,\r\n \"2603:1047:1:a0::/59\",\r\n \"2603:1047:1:c0::/59\"\ - ,\r\n \"2603:1047:1:e0::/59\",\r\n \"2603:1047:1:100::/59\"\ - ,\r\n \"2603:1047:1:120::/59\",\r\n \"2603:1047:1:140::/59\"\ - ,\r\n \"2603:1047:1:160::/59\",\r\n \"2603:1047:1:180::/59\"\ - ,\r\n \"2603:1050:1::/48\",\r\n \"2603:1050:2::/47\",\r\n\ - \ \"2603:1050:5::/48\",\r\n \"2603:1050:6::/48\",\r\n \ - \ \"2603:1050:100::/40\",\r\n \"2603:1050:211::/48\",\r\n\ - \ \"2603:1050:300::/40\",\r\n \"2603:1050:400::/48\",\r\n\ - \ \"2603:1050:402::/48\",\r\n \"2603:1050:403::/48\",\r\n\ - \ \"2603:1056:1400::/48\",\r\n \"2603:1056:1401::/48\",\r\ - \n \"2603:1056:1402::/48\",\r\n \"2603:1056:1403::/48\"\ - ,\r\n \"2603:1056:1500::/64\",\r\n \"2603:1056:1500:4::/64\"\ - ,\r\n \"2603:1056:2000:20::/59\",\r\n \"2603:1056:2000:40::/59\"\ - ,\r\n \"2603:1056:2000:60::/59\",\r\n \"2603:1057:2:20::/59\"\ - ,\r\n \"2603:1057:2:40::/59\",\r\n \"2603:1057:2:60::/59\"\ - ,\r\n \"2603:1061:1002::/48\",\r\n \"2a01:111:f100:1000::/62\"\ - ,\r\n \"2a01:111:f100:1004::/63\",\r\n \"2a01:111:f100:2000::/52\"\ - ,\r\n \"2a01:111:f100:3000::/52\",\r\n \"2a01:111:f100:4002::/64\"\ - ,\r\n \"2a01:111:f100:5000::/52\",\r\n \"2a01:111:f100:6000::/64\"\ - ,\r\n \"2a01:111:f100:a000::/63\",\r\n \"2a01:111:f100:a002::/64\"\ - ,\r\n \"2a01:111:f100:a004::/64\",\r\n \"2a01:111:f403:c000::/64\"\ - ,\r\n \"2a01:111:f403:c004::/62\",\r\n \"2a01:111:f403:c100::/64\"\ - ,\r\n \"2a01:111:f403:c10c::/62\",\r\n \"2a01:111:f403:c800::/64\"\ - ,\r\n \"2a01:111:f403:c804::/62\",\r\n \"2a01:111:f403:c900::/64\"\ - ,\r\n \"2a01:111:f403:c904::/62\",\r\n \"2a01:111:f403:c908::/62\"\ - ,\r\n \"2a01:111:f403:c90c::/62\",\r\n \"2a01:111:f403:c910::/62\"\ - ,\r\n \"2a01:111:f403:d000::/64\",\r\n \"2a01:111:f403:d004::/62\"\ - ,\r\n \"2a01:111:f403:d100::/64\",\r\n \"2a01:111:f403:d104::/62\"\ - ,\r\n \"2a01:111:f403:d108::/62\",\r\n \"2a01:111:f403:d10c::/62\"\ - ,\r\n \"2a01:111:f403:d120::/62\",\r\n \"2a01:111:f403:d800::/64\"\ - ,\r\n \"2a01:111:f403:d804::/62\",\r\n \"2a01:111:f403:d900::/64\"\ - ,\r\n \"2a01:111:f403:d904::/62\",\r\n \"2a01:111:f403:d908::/62\"\ - ,\r\n \"2a01:111:f403:d90c::/62\",\r\n \"2a01:111:f403:d910::/62\"\ - ,\r\n \"2a01:111:f403:e000::/64\",\r\n \"2a01:111:f403:e004::/62\"\ - ,\r\n \"2a01:111:f403:e008::/62\",\r\n \"2a01:111:f403:e00c::/62\"\ - ,\r\n \"2a01:111:f403:e010::/62\",\r\n \"2a01:111:f403:f000::/64\"\ - ,\r\n \"2a01:111:f403:f800::/62\",\r\n \"2a01:111:f403:f804::/62\"\ - ,\r\n \"2a01:111:f403:f900::/62\",\r\n \"2a01:111:f403:f904::/62\"\ - ,\r\n \"2a01:111:f403:f908::/62\",\r\n \"2a01:111:f403:f90c::/62\"\ - ,\r\n \"2a01:111:f403:f910::/62\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"AzureCloud.australiacentral\",\r\n \ - \ \"id\": \"AzureCloud.australiacentral\",\r\n \"properties\": {\r\n\ - \ \"changeNumber\": \"1\",\r\n \"region\": \"australiacentral\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"\",\r\n \"addressPrefixes\": [\r\n \"13.104.155.128/26\"\ - ,\r\n \"13.105.27.160/27\",\r\n \"20.36.32.0/19\",\r\n \ - \ \"20.36.104.0/21\",\r\n \"20.37.0.0/18\",\r\n \ - \ \"20.37.224.0/19\",\r\n \"20.38.184.0/22\",\r\n \"20.39.64.0/21\"\ - ,\r\n \"20.47.35.0/24\",\r\n \"20.53.0.0/19\",\r\n \ - \ \"20.53.48.0/21\",\r\n \"20.70.0.0/18\",\r\n \"20.135.52.0/23\"\ - ,\r\n \"20.150.124.0/24\",\r\n \"20.157.0.0/24\",\r\n \ - \ \"20.190.189.64/26\",\r\n \"40.82.8.0/22\",\r\n \ - \ \"40.82.240.0/22\",\r\n \"40.90.130.48/28\",\r\n \"40.90.142.96/27\"\ - ,\r\n \"40.90.149.64/27\",\r\n \"40.126.61.64/26\",\r\n\ - \ \"52.108.74.0/24\",\r\n \"52.108.95.0/24\",\r\n \ - \ \"52.109.128.0/22\",\r\n \"52.111.248.0/24\",\r\n \"\ - 52.143.219.0/24\",\r\n \"52.239.216.0/23\",\r\n \"2603:1010:300::/47\"\ - ,\r\n \"2603:1010:303::/48\",\r\n \"2603:1010:304::/48\"\ - ,\r\n \"2603:1016:1400:20::/59\",\r\n \"2603:1016:2400::/48\"\ - ,\r\n \"2603:1016:2500:4::/64\",\r\n \"2603:1017:0:20::/59\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCloud.australiacentral2\"\ - ,\r\n \"id\": \"AzureCloud.australiacentral2\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"australiacentral2\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"\",\r\n \"addressPrefixes\": [\r\n \"13.104.158.224/27\"\ - ,\r\n \"20.36.64.0/19\",\r\n \"20.36.112.0/20\",\r\n \ - \ \"20.39.72.0/21\",\r\n \"20.39.96.0/19\",\r\n \"\ - 20.47.36.0/24\",\r\n \"20.53.56.0/21\",\r\n \"20.135.54.0/23\"\ - ,\r\n \"20.150.103.0/24\",\r\n \"20.157.1.0/24\",\r\n \ - \ \"20.190.189.128/26\",\r\n \"20.193.96.0/19\",\r\n \ - \ \"40.82.244.0/22\",\r\n \"40.90.31.96/27\",\r\n \"\ - 40.90.130.32/28\",\r\n \"40.90.142.64/27\",\r\n \"40.90.149.32/27\"\ - ,\r\n \"40.126.61.128/26\",\r\n \"40.126.128.0/18\",\r\n\ - \ \"52.108.180.0/24\",\r\n \"52.108.201.0/24\",\r\n \ - \ \"52.109.100.0/23\",\r\n \"52.111.249.0/24\",\r\n \ - \ \"52.143.218.0/24\",\r\n \"52.239.218.0/23\",\r\n \"\ - 2603:1010:400::/47\",\r\n \"2603:1010:403::/48\",\r\n \"\ - 2603:1010:404::/48\",\r\n \"2603:1016:1400:40::/59\",\r\n \ - \ \"2603:1016:2401::/48\",\r\n \"2603:1016:2500:8::/64\",\r\n \ - \ \"2603:1017:0:40::/59\"\r\n ]\r\n }\r\n },\r\n \ - \ {\r\n \"name\": \"AzureCloud.australiaeast\",\r\n \"id\": \"\ - AzureCloud.australiaeast\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"1\",\r\n \"region\": \"australiaeast\",\r\n \"state\": \"\ - GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\n \ - \ \"NSG\"\r\n ],\r\n \"systemService\": \"\",\r\n \"\ - addressPrefixes\": [\r\n \"13.70.64.0/18\",\r\n \"13.72.224.0/19\"\ - ,\r\n \"13.73.192.0/20\",\r\n \"13.75.128.0/17\",\r\n \ - \ \"13.104.211.128/26\",\r\n \"13.105.16.192/26\",\r\n \ - \ \"13.105.20.128/26\",\r\n \"13.105.52.192/26\",\r\n \ - \ \"13.105.53.128/26\",\r\n \"20.37.192.0/19\",\r\n \ - \ \"20.38.112.0/23\",\r\n \"20.40.64.0/20\",\r\n \"20.40.80.0/21\"\ - ,\r\n \"20.40.120.0/21\",\r\n \"20.40.176.0/20\",\r\n \ - \ \"20.42.192.0/19\",\r\n \"20.43.96.0/20\",\r\n \ - \ \"20.47.37.0/24\",\r\n \"20.47.122.0/23\",\r\n \"20.53.32.0/28\"\ - ,\r\n \"20.53.40.0/21\",\r\n \"20.53.64.0/18\",\r\n \ - \ \"20.53.128.0/17\",\r\n \"20.58.128.0/18\",\r\n \"\ - 20.60.72.0/22\",\r\n \"20.60.182.0/23\",\r\n \"20.70.128.0/17\"\ - ,\r\n \"20.135.120.0/21\",\r\n \"20.150.66.0/24\",\r\n \ - \ \"20.150.92.0/24\",\r\n \"20.150.117.0/24\",\r\n \ - \ \"20.157.44.0/24\",\r\n \"20.188.128.0/17\",\r\n \"\ - 20.190.142.0/25\",\r\n \"20.190.167.0/24\",\r\n \"20.191.192.0/18\"\ - ,\r\n \"20.193.0.0/18\",\r\n \"20.193.64.0/19\",\r\n \ - \ \"23.101.208.0/20\",\r\n \"40.79.160.0/20\",\r\n \ - \ \"40.79.211.0/24\",\r\n \"40.82.32.0/22\",\r\n \"40.82.192.0/19\"\ - ,\r\n \"40.87.208.0/22\",\r\n \"40.90.18.0/28\",\r\n \ - \ \"40.90.30.0/25\",\r\n \"40.90.130.80/28\",\r\n \ - \ \"40.90.130.208/28\",\r\n \"40.90.140.32/27\",\r\n \"\ - 40.90.142.160/27\",\r\n \"40.90.147.64/27\",\r\n \"40.90.150.0/27\"\ - ,\r\n \"40.112.37.128/26\",\r\n \"40.126.14.0/25\",\r\n\ - \ \"40.126.39.0/24\",\r\n \"40.126.224.0/19\",\r\n \ - \ \"52.108.40.0/23\",\r\n \"52.108.83.0/24\",\r\n \"\ - 52.109.112.0/22\",\r\n \"52.111.224.0/24\",\r\n \"52.113.88.0/22\"\ - ,\r\n \"52.113.103.0/24\",\r\n \"52.114.16.0/22\",\r\n \ - \ \"52.114.58.0/23\",\r\n \"52.114.192.0/23\",\r\n \ - \ \"52.115.98.0/24\",\r\n \"52.120.158.0/23\",\r\n \"\ - 52.121.108.0/22\",\r\n \"52.143.199.0/24\",\r\n \"52.143.200.0/23\"\ - ,\r\n \"52.147.0.0/19\",\r\n \"52.156.160.0/19\",\r\n \ - \ \"52.187.192.0/18\",\r\n \"52.232.136.0/21\",\r\n \ - \ \"52.232.154.0/24\",\r\n \"52.237.192.0/18\",\r\n \"\ - 52.239.130.0/23\",\r\n \"52.239.226.0/24\",\r\n \"52.245.16.0/22\"\ - ,\r\n \"104.44.90.64/26\",\r\n \"104.44.93.96/27\",\r\n\ - \ \"104.44.95.48/28\",\r\n \"104.46.29.0/24\",\r\n \ - \ \"104.46.30.0/23\",\r\n \"104.209.80.0/20\",\r\n \"\ - 104.210.64.0/18\",\r\n \"191.238.66.0/23\",\r\n \"191.239.64.0/19\"\ - ,\r\n \"2603:1010::/46\",\r\n \"2603:1010:5::/48\",\r\n\ - \ \"2603:1010:6::/48\",\r\n \"2603:1016:1400:60::/59\",\r\ - \n \"2603:1016:2402::/48\",\r\n \"2603:1016:2500:c::/64\"\ - ,\r\n \"2603:1017:0:60::/59\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"AzureCloud.australiasoutheast\",\r\n \"\ - id\": \"AzureCloud.australiasoutheast\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"2\",\r\n \"region\": \"australiasoutheast\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"\",\r\n \"addressPrefixes\": [\r\n \"13.70.128.0/18\"\ - ,\r\n \"13.73.96.0/19\",\r\n \"13.77.0.0/18\",\r\n \ - \ \"20.40.160.0/20\",\r\n \"20.42.224.0/19\",\r\n \"\ - 20.45.144.0/20\",\r\n \"20.46.96.0/20\",\r\n \"20.47.38.0/24\"\ - ,\r\n \"20.47.74.0/23\",\r\n \"20.58.192.0/18\",\r\n \ - \ \"20.60.32.0/23\",\r\n \"20.70.64.0/18\",\r\n \"\ - 20.135.50.0/23\",\r\n \"20.150.12.0/23\",\r\n \"20.150.119.0/24\"\ - ,\r\n \"20.157.45.0/24\",\r\n \"20.190.96.0/19\",\r\n \ - \ \"20.190.142.128/25\",\r\n \"20.190.168.0/24\",\r\n \ - \ \"23.101.224.0/19\",\r\n \"40.79.212.0/24\",\r\n \ - \ \"40.81.48.0/20\",\r\n \"40.87.212.0/22\",\r\n \"40.90.24.0/25\"\ - ,\r\n \"40.90.27.0/26\",\r\n \"40.90.138.128/27\",\r\n \ - \ \"40.90.155.64/26\",\r\n \"40.112.37.192/26\",\r\n \ - \ \"40.115.64.0/19\",\r\n \"40.126.14.128/25\",\r\n \ - \ \"40.126.40.0/24\",\r\n \"40.127.64.0/19\",\r\n \"52.108.194.0/24\"\ - ,\r\n \"52.108.234.0/23\",\r\n \"52.109.116.0/22\",\r\n\ - \ \"52.111.250.0/24\",\r\n \"52.113.13.0/24\",\r\n \ - \ \"52.113.76.0/23\",\r\n \"52.114.20.0/22\",\r\n \"\ - 52.114.60.0/23\",\r\n \"52.115.99.0/24\",\r\n \"52.121.106.0/23\"\ - ,\r\n \"52.136.25.0/24\",\r\n \"52.147.32.0/19\",\r\n \ - \ \"52.158.128.0/19\",\r\n \"52.189.192.0/18\",\r\n \ - \ \"52.239.132.0/23\",\r\n \"52.239.225.0/24\",\r\n \"\ - 52.243.64.0/18\",\r\n \"52.245.20.0/22\",\r\n \"52.255.32.0/19\"\ - ,\r\n \"104.44.90.32/27\",\r\n \"104.44.93.128/27\",\r\n\ - \ \"104.44.95.64/28\",\r\n \"104.46.28.0/24\",\r\n \ - \ \"104.46.160.0/19\",\r\n \"104.209.64.0/20\",\r\n \ - \ \"191.239.160.0/19\",\r\n \"191.239.192.0/22\",\r\n \"\ - 2603:1010:100::/40\",\r\n \"2603:1010:200::/47\",\r\n \"\ - 2603:1010:202::/48\",\r\n \"2603:1010:204::/48\",\r\n \"\ - 2603:1010:205::/48\",\r\n \"2603:1016:1400::/59\",\r\n \"\ - 2603:1016:2403::/48\",\r\n \"2603:1016:2500::/64\",\r\n \ - \ \"2603:1017::/59\"\r\n ]\r\n }\r\n },\r\n {\r\n \"\ - name\": \"AzureCloud.brazilse\",\r\n \"id\": \"AzureCloud.brazilse\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n \ - \ \"region\": \"brazilse\",\r\n \"state\": \"GA\",\r\n \"\ - networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n \ - \ ],\r\n \"systemService\": \"\",\r\n \"addressPrefixes\":\ - \ [\r\n \"13.105.27.128/27\",\r\n \"13.105.36.48/28\",\r\ - \n \"13.105.36.96/27\",\r\n \"13.105.52.0/27\",\r\n \ - \ \"20.40.32.0/21\",\r\n \"20.135.76.0/23\",\r\n \"\ - 20.150.73.0/24\",\r\n \"20.150.80.0/24\",\r\n \"20.150.123.0/24\"\ - ,\r\n \"20.157.42.0/24\",\r\n \"20.195.128.0/22\",\r\n \ - \ \"20.195.144.0/21\",\r\n \"23.97.112.192/27\",\r\n \ - \ \"23.97.116.0/22\",\r\n \"23.97.120.0/21\",\r\n \"\ - 40.79.204.192/26\",\r\n \"40.123.128.0/22\",\r\n \"40.126.207.0/24\"\ - ,\r\n \"52.108.111.0/24\",\r\n \"52.108.112.0/24\",\r\n\ - \ \"52.109.164.0/24\",\r\n \"52.111.207.0/24\",\r\n \ - \ \"52.112.206.0/24\",\r\n \"52.253.197.0/24\",\r\n \ - \ \"191.232.16.0/21\",\r\n \"191.233.8.0/21\",\r\n \"191.233.48.0/21\"\ - ,\r\n \"191.233.160.0/19\",\r\n \"191.234.224.0/19\",\r\n\ - \ \"191.237.224.0/21\",\r\n \"2603:1050:400::/48\",\r\n\ - \ \"2603:1050:402::/48\",\r\n \"2603:1050:403::/48\",\r\n\ - \ \"2603:1056:1403::/48\",\r\n \"2603:1056:1500:4::/64\"\ - ,\r\n \"2603:1056:2000:60::/59\",\r\n \"2603:1057:2:60::/59\"\ - ,\r\n \"2603:1061:1002::/48\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"AzureCloud.brazilsouth\",\r\n \"id\": \"\ - AzureCloud.brazilsouth\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"2\",\r\n \"region\": \"brazilsouth\",\r\n \"state\": \"\ - GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\n \ - \ \"NSG\"\r\n ],\r\n \"systemService\": \"\",\r\n \"\ - addressPrefixes\": [\r\n \"13.105.52.80/28\",\r\n \"13.105.52.128/26\"\ - ,\r\n \"20.40.16.0/21\",\r\n \"20.40.112.0/21\",\r\n \ - \ \"20.47.39.0/24\",\r\n \"20.47.86.0/24\",\r\n \"\ - 20.60.36.0/23\",\r\n \"20.135.128.0/22\",\r\n \"20.135.132.0/23\"\ - ,\r\n \"20.150.111.0/24\",\r\n \"20.157.55.0/24\",\r\n \ - \ \"20.190.145.0/25\",\r\n \"20.190.173.0/24\",\r\n \ - \ \"20.195.136.0/21\",\r\n \"20.195.152.0/21\",\r\n \ - \ \"20.195.160.0/19\",\r\n \"20.195.192.0/18\",\r\n \"20.197.128.0/17\"\ - ,\r\n \"23.97.96.0/20\",\r\n \"23.97.112.0/25\",\r\n \ - \ \"23.97.112.128/28\",\r\n \"23.97.112.160/27\",\r\n \ - \ \"40.90.29.64/26\",\r\n \"40.90.29.128/26\",\r\n \"\ - 40.90.133.32/27\",\r\n \"40.90.133.144/28\",\r\n \"40.90.141.64/27\"\ - ,\r\n \"40.90.144.224/27\",\r\n \"40.90.145.96/27\",\r\n\ - \ \"40.90.145.128/27\",\r\n \"40.90.157.0/27\",\r\n \ - \ \"40.126.17.0/25\",\r\n \"40.126.45.0/24\",\r\n \"\ - 52.108.36.0/22\",\r\n \"52.108.82.0/24\",\r\n \"52.108.171.0/24\"\ - ,\r\n \"52.108.172.0/23\",\r\n \"52.109.108.0/22\",\r\n\ - \ \"52.111.225.0/24\",\r\n \"52.112.118.0/24\",\r\n \ - \ \"52.113.132.0/24\",\r\n \"52.114.194.0/23\",\r\n \ - \ \"52.114.196.0/22\",\r\n \"52.114.200.0/22\",\r\n \"\ - 52.121.40.0/21\",\r\n \"52.253.185.0/24\",\r\n \"52.253.186.0/24\"\ - ,\r\n \"104.41.0.0/18\",\r\n \"191.232.32.0/19\",\r\n \ - \ \"191.232.160.0/19\",\r\n \"191.232.192.0/18\",\r\n \ - \ \"191.233.0.0/21\",\r\n \"191.233.16.0/20\",\r\n \ - \ \"191.233.128.0/20\",\r\n \"191.233.192.0/18\",\r\n \"\ - 191.234.128.0/18\",\r\n \"191.234.192.0/19\",\r\n \"191.235.32.0/19\"\ - ,\r\n \"191.235.64.0/18\",\r\n \"191.235.196.0/22\",\r\n\ - \ \"191.235.200.0/21\",\r\n \"191.235.224.0/20\",\r\n \ - \ \"191.235.240.0/21\",\r\n \"191.235.248.0/23\",\r\n \ - \ \"191.235.250.0/25\",\r\n \"191.237.195.0/24\",\r\n \ - \ \"191.237.200.0/21\",\r\n \"191.237.248.0/21\",\r\n \ - \ \"191.238.72.0/21\",\r\n \"191.238.128.0/21\",\r\n \"\ - 191.238.192.0/19\",\r\n \"191.239.112.0/20\",\r\n \"191.239.204.0/22\"\ - ,\r\n \"191.239.240.0/20\",\r\n \"2603:1050:1::/48\",\r\n\ - \ \"2603:1050:2::/47\",\r\n \"2603:1050:5::/48\",\r\n \ - \ \"2603:1050:6::/48\",\r\n \"2603:1056:1400::/48\",\r\n \ - \ \"2603:1056:1500::/64\",\r\n \"2603:1056:2000:20::/59\"\ - ,\r\n \"2603:1057:2:20::/59\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"AzureCloud.canadacentral\",\r\n \"id\":\ - \ \"AzureCloud.canadacentral\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"1\",\r\n \"region\": \"canadacentral\",\r\n \"state\": \"\ - GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\n \ - \ \"NSG\"\r\n ],\r\n \"systemService\": \"\",\r\n \"\ - addressPrefixes\": [\r\n \"13.71.160.0/19\",\r\n \"13.88.224.0/19\"\ - ,\r\n \"13.104.151.192/26\",\r\n \"13.104.152.0/25\",\r\n\ - \ \"13.104.208.176/28\",\r\n \"13.104.212.192/26\",\r\n\ - \ \"13.104.223.192/26\",\r\n \"20.38.114.0/25\",\r\n \ - \ \"20.38.144.0/21\",\r\n \"20.39.128.0/20\",\r\n \ - \ \"20.43.0.0/19\",\r\n \"20.47.40.0/24\",\r\n \"20.47.87.0/24\"\ - ,\r\n \"20.48.128.0/18\",\r\n \"20.48.192.0/21\",\r\n \ - \ \"20.48.224.0/19\",\r\n \"20.60.42.0/23\",\r\n \ - \ \"20.63.0.0/17\",\r\n \"20.135.182.0/23\",\r\n \"20.135.184.0/22\"\ - ,\r\n \"20.150.16.0/24\",\r\n \"20.150.31.0/24\",\r\n \ - \ \"20.150.71.0/24\",\r\n \"20.150.100.0/24\",\r\n \ - \ \"20.151.0.0/17\",\r\n \"20.151.128.0/18\",\r\n \"20.157.52.0/24\"\ - ,\r\n \"20.190.139.0/25\",\r\n \"20.190.161.0/24\",\r\n\ - \ \"20.200.64.0/18\",\r\n \"40.79.216.0/24\",\r\n \ - \ \"40.80.44.0/22\",\r\n \"40.82.160.0/19\",\r\n \"40.85.192.0/18\"\ - ,\r\n \"40.90.17.144/28\",\r\n \"40.90.128.0/28\",\r\n \ - \ \"40.90.138.32/27\",\r\n \"40.90.143.160/27\",\r\n \ - \ \"40.90.151.96/27\",\r\n \"40.126.11.0/25\",\r\n \ - \ \"40.126.33.0/24\",\r\n \"52.108.42.0/23\",\r\n \"52.108.84.0/24\"\ - ,\r\n \"52.109.92.0/22\",\r\n \"52.111.251.0/24\",\r\n \ - \ \"52.114.160.0/22\",\r\n \"52.136.23.0/24\",\r\n \ - \ \"52.136.27.0/24\",\r\n \"52.138.0.0/18\",\r\n \"52.139.0.0/18\"\ - ,\r\n \"52.156.0.0/19\",\r\n \"52.228.0.0/17\",\r\n \ - \ \"52.233.0.0/18\",\r\n \"52.237.0.0/18\",\r\n \"\ - 52.239.148.64/26\",\r\n \"52.239.189.0/24\",\r\n \"52.245.28.0/22\"\ - ,\r\n \"52.246.152.0/21\",\r\n \"52.253.196.0/24\",\r\n\ - \ \"104.44.93.32/27\",\r\n \"104.44.95.16/28\",\r\n \ - \ \"2603:1030:208::/47\",\r\n \"2603:1030:f00::/47\",\r\n \ - \ \"2603:1030:f02::/48\",\r\n \"2603:1030:f04::/48\",\r\n\ - \ \"2603:1030:f05::/48\",\r\n \"2603:1030:f06::/48\",\r\n\ - \ \"2603:1036:2401::/48\",\r\n \"2603:1036:2500:30::/64\"\ - ,\r\n \"2603:1036:3000:40::/59\",\r\n \"2603:1037:1:40::/59\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCloud.canadaeast\"\ - ,\r\n \"id\": \"AzureCloud.canadaeast\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"1\",\r\n \"region\": \"canadaeast\",\r\ - \n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"\",\r\n \"addressPrefixes\": [\r\n \"13.104.154.128/25\"\ - ,\r\n \"20.38.121.128/25\",\r\n \"20.47.41.0/24\",\r\n \ - \ \"20.47.88.0/24\",\r\n \"20.60.142.0/23\",\r\n \ - \ \"20.135.66.0/23\",\r\n \"20.150.1.0/25\",\r\n \"20.150.40.128/25\"\ - ,\r\n \"20.150.113.0/24\",\r\n \"20.190.139.128/25\",\r\n\ - \ \"20.190.162.0/24\",\r\n \"20.200.0.0/18\",\r\n \ - \ \"40.69.96.0/19\",\r\n \"40.79.217.0/24\",\r\n \"40.80.40.0/22\"\ - ,\r\n \"40.80.240.0/20\",\r\n \"40.86.192.0/18\",\r\n \ - \ \"40.89.0.0/19\",\r\n \"40.90.17.128/28\",\r\n \ - \ \"40.90.138.64/27\",\r\n \"40.90.156.96/27\",\r\n \"40.126.11.128/25\"\ - ,\r\n \"40.126.34.0/24\",\r\n \"52.108.193.0/24\",\r\n \ - \ \"52.108.232.0/23\",\r\n \"52.109.96.0/22\",\r\n \ - \ \"52.111.226.0/24\",\r\n \"52.114.164.0/22\",\r\n \"\ - 52.136.22.0/24\",\r\n \"52.139.64.0/18\",\r\n \"52.155.0.0/19\"\ - ,\r\n \"52.229.64.0/18\",\r\n \"52.232.128.0/21\",\r\n \ - \ \"52.235.0.0/18\",\r\n \"52.239.164.128/26\",\r\n \ - \ \"52.239.190.0/25\",\r\n \"52.242.0.0/18\",\r\n \"\ - 52.245.32.0/22\",\r\n \"104.44.93.64/27\",\r\n \"104.44.95.32/28\"\ - ,\r\n \"2603:1030:20a::/47\",\r\n \"2603:1030:1000::/47\"\ - ,\r\n \"2603:1030:1002::/48\",\r\n \"2603:1030:1004::/48\"\ - ,\r\n \"2603:1030:1005::/48\",\r\n \"2603:1036:2402::/48\"\ - ,\r\n \"2603:1036:2500:34::/64\",\r\n \"2603:1036:3000:80::/59\"\ - ,\r\n \"2603:1037:1:80::/59\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"AzureCloud.centralfrance\",\r\n \"id\":\ - \ \"AzureCloud.centralfrance\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"2\",\r\n \"region\": \"centralfrance\",\r\n \"state\": \"\ - GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\n \ - \ \"NSG\"\r\n ],\r\n \"systemService\": \"\",\r\n \"\ - addressPrefixes\": [\r\n \"13.104.156.0/24\",\r\n \"20.38.196.0/22\"\ - ,\r\n \"20.39.232.0/21\",\r\n \"20.39.240.0/20\",\r\n \ - \ \"20.40.128.0/19\",\r\n \"20.43.32.0/19\",\r\n \ - \ \"20.47.44.0/24\",\r\n \"20.47.80.0/23\",\r\n \"20.60.13.0/24\"\ - ,\r\n \"20.60.156.0/23\",\r\n \"20.74.0.0/17\",\r\n \ - \ \"20.135.146.0/23\",\r\n \"20.135.148.0/22\",\r\n \ - \ \"20.150.61.0/24\",\r\n \"20.188.32.0/19\",\r\n \"20.190.147.0/25\"\ - ,\r\n \"20.190.177.0/24\",\r\n \"20.199.0.0/17\",\r\n \ - \ \"40.66.32.0/19\",\r\n \"40.79.128.0/20\",\r\n \ - \ \"40.79.144.0/21\",\r\n \"40.79.205.0/26\",\r\n \"40.79.222.0/24\"\ - ,\r\n \"40.80.24.0/22\",\r\n \"40.89.128.0/18\",\r\n \ - \ \"40.90.130.240/28\",\r\n \"40.90.132.0/27\",\r\n \ - \ \"40.90.136.64/26\",\r\n \"40.90.136.128/27\",\r\n \"\ - 40.90.147.128/26\",\r\n \"40.90.147.192/27\",\r\n \"40.126.19.0/25\"\ - ,\r\n \"40.126.49.0/24\",\r\n \"51.11.192.0/18\",\r\n \ - \ \"51.103.0.0/17\",\r\n \"51.138.192.0/19\",\r\n \ - \ \"52.108.52.0/23\",\r\n \"52.108.89.0/24\",\r\n \"52.108.168.0/23\"\ - ,\r\n \"52.108.170.0/24\",\r\n \"52.109.68.0/22\",\r\n \ - \ \"52.111.231.0/24\",\r\n \"52.112.172.0/22\",\r\n \ - \ \"52.112.190.0/24\",\r\n \"52.112.213.0/24\",\r\n \ - \ \"52.112.214.0/23\",\r\n \"52.114.104.0/22\",\r\n \"52.115.128.0/21\"\ - ,\r\n \"52.115.136.0/22\",\r\n \"52.121.88.0/21\",\r\n \ - \ \"52.121.96.0/22\",\r\n \"52.143.128.0/18\",\r\n \ - \ \"52.143.215.0/24\",\r\n \"52.143.216.0/23\",\r\n \"\ - 52.239.134.0/24\",\r\n \"52.239.194.0/24\",\r\n \"52.239.241.0/24\"\ - ,\r\n \"52.245.116.0/22\",\r\n \"2603:1020:800::/47\",\r\ - \n \"2603:1020:802::/48\",\r\n \"2603:1020:804::/48\",\r\ - \n \"2603:1020:805::/48\",\r\n \"2603:1026:2400::/48\",\r\ - \n \"2603:1026:2500:1c::/64\",\r\n \"2603:1026:3000:100::/59\"\ - ,\r\n \"2603:1027:1:100::/59\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"AzureCloud.centralindia\",\r\n \"id\": \"\ - AzureCloud.centralindia\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"1\",\r\n \"region\": \"centralindia\",\r\n \"state\": \"\ - GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\n \ - \ \"NSG\"\r\n ],\r\n \"systemService\": \"\",\r\n \"\ - addressPrefixes\": [\r\n \"13.71.0.0/18\",\r\n \"13.104.148.128/25\"\ - ,\r\n \"20.38.126.0/23\",\r\n \"20.40.40.0/21\",\r\n \ - \ \"20.40.48.0/20\",\r\n \"20.43.120.0/21\",\r\n \"\ - 20.47.42.0/24\",\r\n \"20.47.89.0/24\",\r\n \"20.135.90.0/23\"\ - ,\r\n \"20.135.92.0/22\",\r\n \"20.150.114.0/24\",\r\n \ - \ \"20.190.146.0/25\",\r\n \"20.190.175.0/24\",\r\n \ - \ \"20.192.0.0/19\",\r\n \"20.192.40.0/21\",\r\n \"\ - 20.192.96.0/21\",\r\n \"20.193.128.0/19\",\r\n \"20.193.224.0/19\"\ - ,\r\n \"20.197.0.0/18\",\r\n \"20.198.0.0/17\",\r\n \ - \ \"40.79.207.32/27\",\r\n \"40.79.207.64/28\",\r\n \ - \ \"40.79.207.96/27\",\r\n \"40.79.214.0/24\",\r\n \"40.80.48.0/21\"\ - ,\r\n \"40.80.64.0/19\",\r\n \"40.81.224.0/19\",\r\n \ - \ \"40.87.224.0/22\",\r\n \"40.90.137.128/27\",\r\n \ - \ \"40.112.39.0/25\",\r\n \"40.112.39.128/26\",\r\n \"\ - 40.126.18.0/25\",\r\n \"40.126.47.0/24\",\r\n \"52.108.44.0/23\"\ - ,\r\n \"52.108.85.0/24\",\r\n \"52.109.56.0/22\",\r\n \ - \ \"52.111.252.0/24\",\r\n \"52.113.10.0/23\",\r\n \ - \ \"52.113.70.0/23\",\r\n \"52.113.92.0/22\",\r\n \"52.113.193.0/24\"\ - ,\r\n \"52.114.40.0/22\",\r\n \"52.121.122.0/23\",\r\n \ - \ \"52.121.124.0/22\",\r\n \"52.136.24.0/24\",\r\n \ - \ \"52.140.64.0/18\",\r\n \"52.159.64.0/19\",\r\n \"\ - 52.172.128.0/17\",\r\n \"52.239.135.64/26\",\r\n \"52.239.202.0/24\"\ - ,\r\n \"52.245.96.0/22\",\r\n \"52.253.181.0/24\",\r\n \ - \ \"52.253.191.0/24\",\r\n \"104.44.92.128/27\",\r\n \ - \ \"104.44.94.192/28\",\r\n \"104.47.210.0/23\",\r\n \ - \ \"104.211.64.0/18\",\r\n \"2603:1040:a00::/46\",\r\n \ - \ \"2603:1040:a05::/48\",\r\n \"2603:1040:a06::/48\",\r\n \ - \ \"2603:1046:1400::/48\",\r\n \"2603:1046:1500:8::/64\",\r\n\ - \ \"2603:1046:2000:80::/59\",\r\n \"2603:1047:1:80::/59\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCloud.centralus\"\ - ,\r\n \"id\": \"AzureCloud.centralus\",\r\n \"properties\": {\r\n\ - \ \"changeNumber\": \"1\",\r\n \"region\": \"centralus\",\r\n\ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"\",\r\n \"addressPrefixes\": [\r\n \"13.67.128.0/20\"\ - ,\r\n \"13.67.144.0/21\",\r\n \"13.67.152.0/24\",\r\n \ - \ \"13.67.153.0/28\",\r\n \"13.67.153.32/27\",\r\n \ - \ \"13.67.153.64/26\",\r\n \"13.67.153.128/25\",\r\n \"\ - 13.67.155.0/24\",\r\n \"13.67.156.0/22\",\r\n \"13.67.160.0/19\"\ - ,\r\n \"13.67.192.0/18\",\r\n \"13.86.0.0/17\",\r\n \ - \ \"13.89.0.0/16\",\r\n \"13.104.147.128/25\",\r\n \ - \ \"13.104.219.128/25\",\r\n \"13.105.17.192/26\",\r\n \"\ - 13.105.24.0/24\",\r\n \"13.105.37.0/26\",\r\n \"13.105.53.192/26\"\ - ,\r\n \"20.37.128.0/18\",\r\n \"20.38.96.0/23\",\r\n \ - \ \"20.38.122.0/23\",\r\n \"20.40.192.0/18\",\r\n \ - \ \"20.44.8.0/21\",\r\n \"20.46.224.0/19\",\r\n \"20.47.58.0/23\"\ - ,\r\n \"20.47.78.0/23\",\r\n \"20.60.18.0/24\",\r\n \ - \ \"20.60.30.0/23\",\r\n \"20.60.178.0/23\",\r\n \"\ - 20.80.64.0/18\",\r\n \"20.83.0.0/18\",\r\n \"20.84.128.0/17\"\ - ,\r\n \"20.135.0.0/22\",\r\n \"20.135.188.0/22\",\r\n \ - \ \"20.135.192.0/23\",\r\n \"20.150.43.128/25\",\r\n \ - \ \"20.150.58.0/24\",\r\n \"20.150.63.0/24\",\r\n \"\ - 20.150.77.0/24\",\r\n \"20.150.89.0/24\",\r\n \"20.150.95.0/24\"\ - ,\r\n \"20.157.34.0/23\",\r\n \"20.184.64.0/18\",\r\n \ - \ \"20.186.192.0/18\",\r\n \"20.190.134.0/24\",\r\n \ - \ \"20.190.155.0/24\",\r\n \"23.99.128.0/17\",\r\n \"\ - 23.100.80.0/21\",\r\n \"23.100.240.0/20\",\r\n \"23.101.112.0/20\"\ - ,\r\n \"23.102.202.0/24\",\r\n \"40.67.160.0/19\",\r\n \ - \ \"40.69.128.0/18\",\r\n \"40.77.0.0/17\",\r\n \ - \ \"40.77.130.128/26\",\r\n \"40.77.137.0/25\",\r\n \"40.77.138.0/25\"\ - ,\r\n \"40.77.161.64/26\",\r\n \"40.77.166.192/26\",\r\n\ - \ \"40.77.171.0/24\",\r\n \"40.77.175.192/27\",\r\n \ - \ \"40.77.175.240/28\",\r\n \"40.77.182.16/28\",\r\n \ - \ \"40.77.182.192/26\",\r\n \"40.77.184.128/25\",\r\n \ - \ \"40.77.197.0/24\",\r\n \"40.77.255.128/26\",\r\n \"40.78.128.0/18\"\ - ,\r\n \"40.78.221.0/24\",\r\n \"40.82.16.0/22\",\r\n \ - \ \"40.82.96.0/22\",\r\n \"40.83.0.0/20\",\r\n \"\ - 40.83.16.0/21\",\r\n \"40.83.24.0/26\",\r\n \"40.83.24.64/27\"\ - ,\r\n \"40.83.24.128/25\",\r\n \"40.83.25.0/24\",\r\n \ - \ \"40.83.26.0/23\",\r\n \"40.83.28.0/22\",\r\n \"\ - 40.83.32.0/19\",\r\n \"40.86.0.0/17\",\r\n \"40.87.180.0/30\"\ - ,\r\n \"40.87.180.4/31\",\r\n \"40.87.180.14/31\",\r\n \ - \ \"40.87.180.16/30\",\r\n \"40.87.180.20/31\",\r\n \ - \ \"40.87.180.28/30\",\r\n \"40.87.180.32/29\",\r\n \ - \ \"40.87.180.42/31\",\r\n \"40.87.180.44/30\",\r\n \"40.87.180.48/28\"\ - ,\r\n \"40.87.180.64/30\",\r\n \"40.87.180.74/31\",\r\n\ - \ \"40.87.180.76/30\",\r\n \"40.87.182.4/30\",\r\n \ - \ \"40.87.182.8/29\",\r\n \"40.87.182.24/29\",\r\n \"\ - 40.87.182.32/28\",\r\n \"40.87.182.48/29\",\r\n \"40.87.182.56/30\"\ - ,\r\n \"40.87.182.62/31\",\r\n \"40.87.182.64/26\",\r\n\ - \ \"40.87.182.128/25\",\r\n \"40.87.183.0/28\",\r\n \ - \ \"40.87.183.16/29\",\r\n \"40.87.183.24/30\",\r\n \ - \ \"40.87.183.34/31\",\r\n \"40.87.183.36/30\",\r\n \"\ - 40.87.183.42/31\",\r\n \"40.87.183.44/30\",\r\n \"40.87.183.54/31\"\ - ,\r\n \"40.87.183.56/29\",\r\n \"40.87.183.64/26\",\r\n\ - \ \"40.87.183.144/28\",\r\n \"40.87.183.160/27\",\r\n \ - \ \"40.87.183.192/27\",\r\n \"40.87.183.224/29\",\r\n \ - \ \"40.87.183.232/30\",\r\n \"40.87.183.236/31\",\r\n \ - \ \"40.87.183.244/30\",\r\n \"40.87.183.248/29\",\r\n \ - \ \"40.89.224.0/19\",\r\n \"40.90.16.0/27\",\r\n \"40.90.21.128/25\"\ - ,\r\n \"40.90.22.0/25\",\r\n \"40.90.26.128/25\",\r\n \ - \ \"40.90.129.224/27\",\r\n \"40.90.130.64/28\",\r\n \ - \ \"40.90.130.192/28\",\r\n \"40.90.132.192/26\",\r\n \ - \ \"40.90.137.224/27\",\r\n \"40.90.140.96/27\",\r\n \"\ - 40.90.140.224/27\",\r\n \"40.90.141.0/27\",\r\n \"40.90.142.128/27\"\ - ,\r\n \"40.90.142.240/28\",\r\n \"40.90.144.0/27\",\r\n\ - \ \"40.90.144.128/26\",\r\n \"40.90.148.176/28\",\r\n \ - \ \"40.90.149.96/27\",\r\n \"40.90.151.144/28\",\r\n \ - \ \"40.90.154.64/26\",\r\n \"40.90.156.192/26\",\r\n \ - \ \"40.90.158.64/26\",\r\n \"40.93.8.0/24\",\r\n \"40.113.192.0/18\"\ - ,\r\n \"40.122.16.0/20\",\r\n \"40.122.32.0/19\",\r\n \ - \ \"40.122.64.0/18\",\r\n \"40.122.128.0/17\",\r\n \ - \ \"40.126.6.0/24\",\r\n \"40.126.27.0/24\",\r\n \"52.101.8.0/24\"\ - ,\r\n \"52.101.32.0/22\",\r\n \"52.102.130.0/24\",\r\n \ - \ \"52.103.4.0/24\",\r\n \"52.103.130.0/24\",\r\n \ - \ \"52.108.165.0/24\",\r\n \"52.108.166.0/23\",\r\n \"\ - 52.108.185.0/24\",\r\n \"52.108.208.0/21\",\r\n \"52.109.8.0/22\"\ - ,\r\n \"52.111.227.0/24\",\r\n \"52.112.113.0/24\",\r\n\ - \ \"52.113.129.0/24\",\r\n \"52.114.128.0/22\",\r\n \ - \ \"52.115.76.0/22\",\r\n \"52.115.80.0/22\",\r\n \"\ - 52.115.88.0/22\",\r\n \"52.125.128.0/22\",\r\n \"52.136.30.0/24\"\ - ,\r\n \"52.141.192.0/19\",\r\n \"52.141.240.0/20\",\r\n\ - \ \"52.143.193.0/24\",\r\n \"52.143.224.0/19\",\r\n \ - \ \"52.154.0.0/18\",\r\n \"52.154.128.0/17\",\r\n \"\ - 52.158.160.0/20\",\r\n \"52.158.192.0/19\",\r\n \"52.165.0.0/19\"\ - ,\r\n \"52.165.32.0/20\",\r\n \"52.165.48.0/28\",\r\n \ - \ \"52.165.49.0/24\",\r\n \"52.165.56.0/21\",\r\n \ - \ \"52.165.64.0/19\",\r\n \"52.165.96.0/21\",\r\n \"52.165.104.0/25\"\ - ,\r\n \"52.165.128.0/17\",\r\n \"52.173.0.0/16\",\r\n \ - \ \"52.176.0.0/17\",\r\n \"52.176.128.0/19\",\r\n \ - \ \"52.176.160.0/21\",\r\n \"52.176.176.0/20\",\r\n \"\ - 52.176.192.0/19\",\r\n \"52.176.224.0/24\",\r\n \"52.180.128.0/19\"\ - ,\r\n \"52.180.184.0/27\",\r\n \"52.180.184.32/28\",\r\n\ - \ \"52.180.185.0/24\",\r\n \"52.182.128.0/17\",\r\n \ - \ \"52.185.0.0/19\",\r\n \"52.185.32.0/20\",\r\n \"\ - 52.185.48.0/21\",\r\n \"52.185.56.0/26\",\r\n \"52.185.56.64/27\"\ - ,\r\n \"52.185.56.96/28\",\r\n \"52.185.56.128/27\",\r\n\ - \ \"52.185.56.160/28\",\r\n \"52.185.64.0/19\",\r\n \ - \ \"52.185.96.0/20\",\r\n \"52.185.112.0/26\",\r\n \ - \ \"52.185.112.96/27\",\r\n \"52.185.120.0/21\",\r\n \"\ - 52.189.0.0/17\",\r\n \"52.228.128.0/17\",\r\n \"52.230.128.0/17\"\ - ,\r\n \"52.232.157.0/24\",\r\n \"52.238.192.0/18\",\r\n\ - \ \"52.239.150.0/23\",\r\n \"52.239.177.32/27\",\r\n \ - \ \"52.239.177.64/26\",\r\n \"52.239.177.128/25\",\r\n \ - \ \"52.239.195.0/24\",\r\n \"52.239.234.0/23\",\r\n \ - \ \"52.242.128.0/17\",\r\n \"52.245.68.0/24\",\r\n \"52.245.69.32/27\"\ - ,\r\n \"52.245.69.64/27\",\r\n \"52.245.69.96/28\",\r\n\ - \ \"52.245.69.144/28\",\r\n \"52.245.69.160/27\",\r\n \ - \ \"52.245.69.192/26\",\r\n \"52.245.70.0/23\",\r\n \ - \ \"52.255.0.0/19\",\r\n \"65.55.144.0/23\",\r\n \"65.55.146.0/24\"\ - ,\r\n \"104.43.128.0/17\",\r\n \"104.44.88.160/27\",\r\n\ - \ \"104.44.91.160/27\",\r\n \"104.44.92.224/27\",\r\n \ - \ \"104.44.94.80/28\",\r\n \"104.208.0.0/19\",\r\n \ - \ \"104.208.32.0/20\",\r\n \"131.253.36.224/27\",\r\n \ - \ \"157.55.108.0/23\",\r\n \"168.61.128.0/25\",\r\n \"168.61.128.128/28\"\ - ,\r\n \"168.61.128.160/27\",\r\n \"168.61.128.192/26\",\r\ - \n \"168.61.129.0/25\",\r\n \"168.61.129.128/26\",\r\n \ - \ \"168.61.129.208/28\",\r\n \"168.61.129.224/27\",\r\n \ - \ \"168.61.130.64/26\",\r\n \"168.61.130.128/25\",\r\n \ - \ \"168.61.131.0/26\",\r\n \"168.61.131.128/25\",\r\n \ - \ \"168.61.132.0/26\",\r\n \"168.61.144.0/20\",\r\n \ - \ \"168.61.160.0/19\",\r\n \"168.61.208.0/20\",\r\n \"\ - 193.149.72.0/21\",\r\n \"2603:1030::/45\",\r\n \"2603:1030:9:2::/63\"\ - ,\r\n \"2603:1030:9:4::/62\",\r\n \"2603:1030:9:8::/61\"\ - ,\r\n \"2603:1030:9:10::/62\",\r\n \"2603:1030:9:14::/63\"\ - ,\r\n \"2603:1030:9:17::/64\",\r\n \"2603:1030:9:18::/61\"\ - ,\r\n \"2603:1030:9:20::/59\",\r\n \"2603:1030:9:40::/58\"\ - ,\r\n \"2603:1030:9:80::/59\",\r\n \"2603:1030:9:a0::/60\"\ - ,\r\n \"2603:1030:9:b3::/64\",\r\n \"2603:1030:9:b4::/63\"\ - ,\r\n \"2603:1030:9:b7::/64\",\r\n \"2603:1030:9:b8::/63\"\ - ,\r\n \"2603:1030:9:bd::/64\",\r\n \"2603:1030:9:be::/63\"\ - ,\r\n \"2603:1030:9:c0::/58\",\r\n \"2603:1030:9:100::/64\"\ - ,\r\n \"2603:1030:9:104::/62\",\r\n \"2603:1030:9:108::/62\"\ - ,\r\n \"2603:1030:9:10c::/64\",\r\n \"2603:1030:9:111::/64\"\ - ,\r\n \"2603:1030:9:112::/63\",\r\n \"2603:1030:9:114::/64\"\ - ,\r\n \"2603:1030:9:118::/62\",\r\n \"2603:1030:9:11c::/63\"\ - ,\r\n \"2603:1030:9:11f::/64\",\r\n \"2603:1030:9:120::/61\"\ - ,\r\n \"2603:1030:9:128::/62\",\r\n \"2603:1030:9:12f::/64\"\ - ,\r\n \"2603:1030:9:130::/63\",\r\n \"2603:1030:a::/47\"\ - ,\r\n \"2603:1030:d::/48\",\r\n \"2603:1030:10::/48\",\r\ - \n \"2603:1036:2403::/48\",\r\n \"2603:1036:2500:1c::/64\"\ - ,\r\n \"2603:1036:3000:100::/59\",\r\n \"2603:1037:1:100::/59\"\ - ,\r\n \"2a01:111:f403:c904::/62\",\r\n \"2a01:111:f403:d104::/62\"\ - ,\r\n \"2a01:111:f403:d904::/62\",\r\n \"2a01:111:f403:e004::/62\"\ - ,\r\n \"2a01:111:f403:f904::/62\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"AzureCloud.centraluseuap\",\r\n \"\ - id\": \"AzureCloud.centraluseuap\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"1\",\r\n \"region\": \"centraluseuap\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"\",\r\n \"addressPrefixes\": [\r\n \"13.67.153.16/28\"\ - ,\r\n \"13.67.154.0/24\",\r\n \"13.104.129.0/26\",\r\n \ - \ \"13.104.159.192/26\",\r\n \"13.104.208.0/26\",\r\n \ - \ \"20.45.192.0/18\",\r\n \"20.46.0.0/19\",\r\n \"\ - 20.47.5.0/24\",\r\n \"20.47.105.0/24\",\r\n \"20.60.24.0/23\"\ - ,\r\n \"20.135.68.0/23\",\r\n \"20.150.23.0/24\",\r\n \ - \ \"20.150.47.0/25\",\r\n \"20.157.96.0/24\",\r\n \ - \ \"20.190.138.128/25\",\r\n \"20.190.150.0/24\",\r\n \"\ - 40.66.120.0/21\",\r\n \"40.78.200.0/21\",\r\n \"40.78.208.16/28\"\ - ,\r\n \"40.79.232.0/21\",\r\n \"40.82.0.0/22\",\r\n \ - \ \"40.83.24.96/27\",\r\n \"40.87.180.6/31\",\r\n \"\ - 40.87.180.8/30\",\r\n \"40.87.180.12/31\",\r\n \"40.87.180.22/31\"\ - ,\r\n \"40.87.180.24/30\",\r\n \"40.87.180.40/31\",\r\n\ - \ \"40.87.180.68/30\",\r\n \"40.87.180.72/31\",\r\n \ - \ \"40.87.182.0/30\",\r\n \"40.87.182.16/29\",\r\n \ - \ \"40.87.182.60/31\",\r\n \"40.87.183.28/30\",\r\n \"40.87.183.32/31\"\ - ,\r\n \"40.87.183.40/31\",\r\n \"40.87.183.48/30\",\r\n\ - \ \"40.87.183.52/31\",\r\n \"40.87.183.128/28\",\r\n \ - \ \"40.87.183.238/31\",\r\n \"40.87.183.240/30\",\r\n \ - \ \"40.89.32.0/19\",\r\n \"40.90.132.80/28\",\r\n \"\ - 40.90.142.32/27\",\r\n \"40.90.149.0/27\",\r\n \"40.96.52.0/24\"\ - ,\r\n \"40.122.0.0/20\",\r\n \"40.126.10.128/25\",\r\n \ - \ \"40.126.22.0/24\",\r\n \"52.108.113.0/24\",\r\n \ - \ \"52.109.140.0/22\",\r\n \"52.141.224.0/20\",\r\n \"\ - 52.143.198.0/24\",\r\n \"52.158.176.0/20\",\r\n \"52.165.104.128/26\"\ - ,\r\n \"52.176.225.0/24\",\r\n \"52.176.232.0/21\",\r\n\ - \ \"52.176.240.0/20\",\r\n \"52.180.160.0/20\",\r\n \ - \ \"52.180.176.0/21\",\r\n \"52.185.56.112/28\",\r\n \ - \ \"52.185.112.64/27\",\r\n \"52.239.177.0/27\",\r\n \"\ - 52.239.238.0/24\",\r\n \"52.245.69.0/27\",\r\n \"52.253.156.0/22\"\ - ,\r\n \"52.253.232.0/21\",\r\n \"104.208.48.0/20\",\r\n\ - \ \"168.61.136.0/21\",\r\n \"2603:1030:8::/48\",\r\n \ - \ \"2603:1030:9::/63\",\r\n \"2603:1030:9:16::/64\",\r\n \ - \ \"2603:1030:9:b0::/63\",\r\n \"2603:1030:9:b2::/64\",\r\n\ - \ \"2603:1030:9:b6::/64\",\r\n \"2603:1030:9:ba::/63\",\r\ - \n \"2603:1030:9:bc::/64\",\r\n \"2603:1030:9:101::/64\"\ - ,\r\n \"2603:1030:9:102::/63\",\r\n \"2603:1030:9:10d::/64\"\ - ,\r\n \"2603:1030:9:10e::/63\",\r\n \"2603:1030:9:110::/64\"\ - ,\r\n \"2603:1030:9:115::/64\",\r\n \"2603:1030:9:116::/63\"\ - ,\r\n \"2603:1030:9:11e::/64\",\r\n \"2603:1030:9:12c::/63\"\ - ,\r\n \"2603:1030:9:12e::/64\",\r\n \"2603:1030:e::/48\"\ - ,\r\n \"2603:1030:f::/48\",\r\n \"2603:1036:903:2::/64\"\ - ,\r\n \"2603:1036:240d::/48\",\r\n \"2603:1036:2500:2c::/64\"\ - ,\r\n \"2603:1036:3000:160::/59\",\r\n \"2603:1037:1:160::/59\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCloud.eastasia\"\ - ,\r\n \"id\": \"AzureCloud.eastasia\",\r\n \"properties\": {\r\n\ - \ \"changeNumber\": \"1\",\r\n \"region\": \"eastasia\",\r\n\ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"\",\r\n \"addressPrefixes\": [\r\n \"13.70.0.0/18\",\r\ - \n \"13.72.192.0/19\",\r\n \"13.75.0.0/17\",\r\n \ - \ \"13.88.208.0/20\",\r\n \"13.94.0.0/18\",\r\n \"13.104.155.64/26\"\ - ,\r\n \"13.104.155.192/26\",\r\n \"13.105.14.192/26\",\r\ - \n \"13.105.16.0/25\",\r\n \"20.47.43.0/24\",\r\n \ - \ \"20.47.126.0/23\",\r\n \"20.60.131.0/24\",\r\n \"\ - 20.135.40.0/23\",\r\n \"20.150.1.128/25\",\r\n \"20.150.22.0/24\"\ - ,\r\n \"20.150.96.0/24\",\r\n \"20.157.53.0/24\",\r\n \ - \ \"20.187.64.0/18\",\r\n \"20.187.128.0/18\",\r\n \ - \ \"20.187.192.0/21\",\r\n \"20.187.224.0/19\",\r\n \"\ - 20.189.64.0/18\",\r\n \"20.190.140.128/25\",\r\n \"20.190.164.0/24\"\ - ,\r\n \"20.195.72.0/21\",\r\n \"23.97.64.0/19\",\r\n \ - \ \"23.98.32.0/21\",\r\n \"23.98.40.0/22\",\r\n \"\ - 23.98.44.0/24\",\r\n \"23.99.96.0/19\",\r\n \"23.100.88.0/21\"\ - ,\r\n \"23.101.0.0/20\",\r\n \"23.102.200.0/23\",\r\n \ - \ \"23.102.224.0/19\",\r\n \"40.77.134.0/24\",\r\n \ - \ \"40.77.136.16/28\",\r\n \"40.77.160.32/27\",\r\n \"\ - 40.77.160.64/26\",\r\n \"40.77.160.128/25\",\r\n \"40.77.161.0/26\"\ - ,\r\n \"40.77.161.128/25\",\r\n \"40.77.175.128/27\",\r\n\ - \ \"40.77.192.0/22\",\r\n \"40.77.201.0/24\",\r\n \ - \ \"40.77.226.0/25\",\r\n \"40.77.234.128/27\",\r\n \"\ - 40.77.236.192/28\",\r\n \"40.77.237.128/25\",\r\n \"40.77.252.0/23\"\ - ,\r\n \"40.79.210.0/24\",\r\n \"40.81.16.0/20\",\r\n \ - \ \"40.82.116.0/22\",\r\n \"40.83.64.0/18\",\r\n \"\ - 40.87.192.0/22\",\r\n \"40.90.154.192/26\",\r\n \"40.126.12.128/25\"\ - ,\r\n \"40.126.36.0/24\",\r\n \"52.108.32.0/22\",\r\n \ - \ \"52.108.81.0/24\",\r\n \"52.109.120.0/22\",\r\n \ - \ \"52.111.228.0/24\",\r\n \"52.113.96.0/22\",\r\n \"\ - 52.113.100.0/24\",\r\n \"52.113.104.0/24\",\r\n \"52.113.108.0/24\"\ - ,\r\n \"52.114.0.0/21\",\r\n \"52.114.52.0/23\",\r\n \ - \ \"52.115.40.0/22\",\r\n \"52.115.44.0/23\",\r\n \ - \ \"52.115.46.0/24\",\r\n \"52.115.96.0/24\",\r\n \"52.120.157.0/24\"\ - ,\r\n \"52.121.112.0/22\",\r\n \"52.139.128.0/18\",\r\n\ - \ \"52.175.0.0/17\",\r\n \"52.184.0.0/17\",\r\n \ - \ \"52.229.128.0/17\",\r\n \"52.232.153.0/24\",\r\n \"\ - 52.239.128.0/24\",\r\n \"52.239.224.0/24\",\r\n \"52.245.56.0/22\"\ - ,\r\n \"52.246.128.0/20\",\r\n \"65.52.160.0/19\",\r\n \ - \ \"104.44.88.192/27\",\r\n \"104.44.90.224/27\",\r\n \ - \ \"104.44.91.192/27\",\r\n \"104.44.94.96/28\",\r\n \ - \ \"104.46.24.0/22\",\r\n \"104.208.64.0/18\",\r\n \"\ - 104.214.160.0/19\",\r\n \"111.221.29.0/24\",\r\n \"111.221.30.0/23\"\ - ,\r\n \"111.221.78.0/23\",\r\n \"131.253.13.100/30\",\r\n\ - \ \"131.253.13.104/30\",\r\n \"131.253.35.192/26\",\r\n\ - \ \"134.170.192.0/21\",\r\n \"137.116.160.0/20\",\r\n \ - \ \"168.63.128.0/24\",\r\n \"168.63.129.0/28\",\r\n \ - \ \"168.63.129.32/27\",\r\n \"168.63.129.64/26\",\r\n \ - \ \"168.63.129.128/25\",\r\n \"168.63.130.0/23\",\r\n \"\ - 168.63.132.0/22\",\r\n \"168.63.136.0/21\",\r\n \"168.63.148.0/22\"\ - ,\r\n \"168.63.152.0/22\",\r\n \"168.63.156.0/24\",\r\n\ - \ \"168.63.192.0/19\",\r\n \"191.232.140.0/24\",\r\n \ - \ \"191.234.2.0/23\",\r\n \"191.234.16.0/20\",\r\n \ - \ \"191.237.238.0/24\",\r\n \"204.231.197.0/24\",\r\n \"\ - 207.46.67.160/27\",\r\n \"207.46.67.192/27\",\r\n \"207.46.72.0/27\"\ - ,\r\n \"207.46.77.224/28\",\r\n \"207.46.87.0/24\",\r\n\ - \ \"207.46.89.16/28\",\r\n \"207.46.95.32/27\",\r\n \ - \ \"207.46.126.0/24\",\r\n \"207.46.128.0/19\",\r\n \ - \ \"207.68.174.208/28\",\r\n \"2603:1040:200::/46\",\r\n \ - \ \"2603:1040:204::/48\",\r\n \"2603:1040:206::/48\",\r\n \ - \ \"2603:1040:207::/48\",\r\n \"2603:1046:1401::/48\",\r\n \ - \ \"2603:1046:1500:24::/64\",\r\n \"2603:1046:2000:40::/59\"\ - ,\r\n \"2603:1047:1:40::/59\",\r\n \"2a01:111:f100:6000::/64\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCloud.eastus\"\ - ,\r\n \"id\": \"AzureCloud.eastus\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"2\",\r\n \"region\": \"eastus\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"\ - API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": \"\ - \",\r\n \"addressPrefixes\": [\r\n \"13.68.128.0/17\",\r\n\ - \ \"13.72.64.0/18\",\r\n \"13.82.0.0/16\",\r\n \ - \ \"13.90.0.0/16\",\r\n \"13.92.0.0/16\",\r\n \"13.104.144.128/27\"\ - ,\r\n \"13.104.152.128/25\",\r\n \"13.104.192.0/21\",\r\n\ - \ \"13.104.211.0/25\",\r\n \"13.104.214.128/25\",\r\n \ - \ \"13.104.215.0/25\",\r\n \"13.105.17.0/26\",\r\n \ - \ \"13.105.19.0/25\",\r\n \"13.105.20.192/26\",\r\n \"\ - 13.105.27.0/25\",\r\n \"13.105.27.192/27\",\r\n \"13.105.36.192/26\"\ - ,\r\n \"13.105.74.48/28\",\r\n \"20.38.98.0/24\",\r\n \ - \ \"20.39.32.0/19\",\r\n \"20.42.0.0/17\",\r\n \"\ - 20.47.1.0/24\",\r\n \"20.47.16.0/23\",\r\n \"20.47.31.0/24\"\ - ,\r\n \"20.47.108.0/23\",\r\n \"20.47.113.0/24\",\r\n \ - \ \"20.49.104.0/21\",\r\n \"20.51.128.0/17\",\r\n \ - \ \"20.55.0.0/17\",\r\n \"20.60.0.0/24\",\r\n \"20.60.2.0/23\"\ - ,\r\n \"20.60.6.0/23\",\r\n \"20.60.60.0/22\",\r\n \ - \ \"20.60.128.0/23\",\r\n \"20.60.134.0/23\",\r\n \"\ - 20.60.146.0/23\",\r\n \"20.62.128.0/17\",\r\n \"20.72.128.0/18\"\ - ,\r\n \"20.75.128.0/17\",\r\n \"20.81.0.0/17\",\r\n \ - \ \"20.83.128.0/18\",\r\n \"20.84.0.0/17\",\r\n \"\ - 20.85.128.0/17\",\r\n \"20.135.4.0/22\",\r\n \"20.135.194.0/23\"\ - ,\r\n \"20.135.196.0/22\",\r\n \"20.150.32.0/23\",\r\n \ - \ \"20.150.90.0/24\",\r\n \"20.157.39.0/24\",\r\n \ - \ \"20.185.0.0/16\",\r\n \"20.190.130.0/24\",\r\n \"20.190.151.0/24\"\ - ,\r\n \"23.96.0.0/17\",\r\n \"23.98.45.0/24\",\r\n \ - \ \"23.100.16.0/20\",\r\n \"23.101.128.0/20\",\r\n \"\ - 40.71.0.0/16\",\r\n \"40.76.0.0/16\",\r\n \"40.78.219.0/24\"\ - ,\r\n \"40.78.224.0/21\",\r\n \"40.79.152.0/21\",\r\n \ - \ \"40.80.144.0/21\",\r\n \"40.82.24.0/22\",\r\n \ - \ \"40.82.60.0/22\",\r\n \"40.85.160.0/19\",\r\n \"40.87.0.0/17\"\ - ,\r\n \"40.87.164.0/22\",\r\n \"40.88.0.0/16\",\r\n \ - \ \"40.90.23.128/25\",\r\n \"40.90.24.128/25\",\r\n \ - \ \"40.90.25.0/26\",\r\n \"40.90.30.192/26\",\r\n \"40.90.129.128/26\"\ - ,\r\n \"40.90.130.96/28\",\r\n \"40.90.131.224/27\",\r\n\ - \ \"40.90.136.16/28\",\r\n \"40.90.136.32/27\",\r\n \ - \ \"40.90.137.96/27\",\r\n \"40.90.139.224/27\",\r\n \ - \ \"40.90.143.0/27\",\r\n \"40.90.146.64/26\",\r\n \"\ - 40.90.147.0/27\",\r\n \"40.90.148.64/27\",\r\n \"40.90.150.32/27\"\ - ,\r\n \"40.90.224.0/19\",\r\n \"40.91.4.0/22\",\r\n \ - \ \"40.93.2.0/24\",\r\n \"40.93.4.0/24\",\r\n \"40.112.48.0/20\"\ - ,\r\n \"40.114.0.0/17\",\r\n \"40.117.32.0/19\",\r\n \ - \ \"40.117.64.0/18\",\r\n \"40.117.128.0/17\",\r\n \ - \ \"40.121.0.0/16\",\r\n \"40.126.2.0/24\",\r\n \"40.126.23.0/24\"\ - ,\r\n \"52.101.4.0/22\",\r\n \"52.101.9.0/24\",\r\n \ - \ \"52.101.20.0/22\",\r\n \"52.102.129.0/24\",\r\n \ - \ \"52.102.159.0/24\",\r\n \"52.103.1.0/24\",\r\n \"52.103.3.0/24\"\ - ,\r\n \"52.103.129.0/24\",\r\n \"52.108.16.0/21\",\r\n \ - \ \"52.108.79.0/24\",\r\n \"52.108.105.0/24\",\r\n \ - \ \"52.108.106.0/23\",\r\n \"52.109.12.0/22\",\r\n \"\ - 52.111.229.0/24\",\r\n \"52.112.112.0/24\",\r\n \"52.113.16.0/20\"\ - ,\r\n \"52.114.132.0/22\",\r\n \"52.115.54.0/24\",\r\n \ - \ \"52.115.62.0/23\",\r\n \"52.115.192.0/19\",\r\n \ - \ \"52.120.32.0/19\",\r\n \"52.120.224.0/20\",\r\n \"\ - 52.125.132.0/22\",\r\n \"52.136.64.0/18\",\r\n \"52.142.0.0/18\"\ - ,\r\n \"52.143.207.0/24\",\r\n \"52.146.0.0/17\",\r\n \ - \ \"52.147.192.0/18\",\r\n \"52.149.128.0/17\",\r\n \ - \ \"52.150.0.0/17\",\r\n \"52.151.128.0/17\",\r\n \"\ - 52.152.128.0/17\",\r\n \"52.154.64.0/18\",\r\n \"52.168.0.0/16\"\ - ,\r\n \"52.170.0.0/16\",\r\n \"52.179.0.0/17\",\r\n \ - \ \"52.186.0.0/16\",\r\n \"52.188.0.0/16\",\r\n \"\ - 52.190.0.0/17\",\r\n \"52.191.0.0/17\",\r\n \"52.191.192.0/18\"\ - ,\r\n \"52.224.0.0/16\",\r\n \"52.226.0.0/16\",\r\n \ - \ \"52.232.146.0/24\",\r\n \"52.234.128.0/17\",\r\n \ - \ \"52.239.152.0/22\",\r\n \"52.239.168.0/22\",\r\n \"\ - 52.239.207.192/26\",\r\n \"52.239.214.0/23\",\r\n \"52.239.220.0/23\"\ - ,\r\n \"52.239.246.0/23\",\r\n \"52.239.252.0/24\",\r\n\ - \ \"52.240.0.0/17\",\r\n \"52.245.8.0/22\",\r\n \ - \ \"52.245.104.0/22\",\r\n \"52.249.128.0/17\",\r\n \"\ - 52.253.160.0/24\",\r\n \"52.255.128.0/17\",\r\n \"65.54.19.128/27\"\ - ,\r\n \"104.41.128.0/19\",\r\n \"104.44.91.32/27\",\r\n\ - \ \"104.44.94.16/28\",\r\n \"104.44.95.160/27\",\r\n \ - \ \"104.44.95.240/28\",\r\n \"104.45.128.0/18\",\r\n \ - \ \"104.45.192.0/20\",\r\n \"104.211.0.0/18\",\r\n \"\ - 137.116.112.0/20\",\r\n \"137.117.32.0/19\",\r\n \"137.117.64.0/18\"\ - ,\r\n \"137.135.64.0/18\",\r\n \"138.91.96.0/19\",\r\n \ - \ \"157.56.176.0/21\",\r\n \"168.61.32.0/20\",\r\n \ - \ \"168.61.48.0/21\",\r\n \"168.62.32.0/19\",\r\n \"\ - 168.62.160.0/19\",\r\n \"191.234.32.0/19\",\r\n \"191.236.0.0/18\"\ - ,\r\n \"191.237.0.0/17\",\r\n \"191.238.0.0/18\",\r\n \ - \ \"2603:1030:20c::/47\",\r\n \"2603:1030:20e::/48\",\r\n\ - \ \"2603:1030:210::/47\",\r\n \"2603:1036:120d::/48\",\r\ - \n \"2603:1036:2404::/48\",\r\n \"2603:1036:3000:120::/59\"\ - ,\r\n \"2603:1037:1:120::/59\",\r\n \"2a01:111:f100:2000::/52\"\ - ,\r\n \"2a01:111:f403:c100::/64\",\r\n \"2a01:111:f403:c900::/64\"\ - ,\r\n \"2a01:111:f403:d100::/64\",\r\n \"2a01:111:f403:d900::/64\"\ - ,\r\n \"2a01:111:f403:f000::/64\",\r\n \"2a01:111:f403:f900::/62\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCloud.eastus2\"\ - ,\r\n \"id\": \"AzureCloud.eastus2\",\r\n \"properties\": {\r\n\ - \ \"changeNumber\": \"2\",\r\n \"region\": \"eastus2\",\r\n\ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"\",\r\n \"addressPrefixes\": [\r\n \"13.68.0.0/17\",\r\ - \n \"13.77.64.0/18\",\r\n \"13.104.147.0/25\",\r\n \ - \ \"13.104.208.64/27\",\r\n \"13.105.18.192/26\",\r\n \ - \ \"13.105.23.64/26\",\r\n \"13.105.28.0/28\",\r\n \"\ - 13.105.28.128/25\",\r\n \"13.105.67.128/25\",\r\n \"13.105.74.128/26\"\ - ,\r\n \"13.105.75.0/27\",\r\n \"13.105.75.32/28\",\r\n \ - \ \"13.105.75.64/27\",\r\n \"20.36.128.0/17\",\r\n \ - \ \"20.38.100.0/23\",\r\n \"20.38.208.0/22\",\r\n \"\ - 20.41.0.0/18\",\r\n \"20.44.16.0/21\",\r\n \"20.44.64.0/18\"\ - ,\r\n \"20.47.60.0/23\",\r\n \"20.47.76.0/23\",\r\n \ - \ \"20.49.0.0/18\",\r\n \"20.49.96.0/21\",\r\n \"20.55.192.0/18\"\ - ,\r\n \"20.57.0.0/17\",\r\n \"20.60.56.0/22\",\r\n \ - \ \"20.60.132.0/23\",\r\n \"20.60.180.0/23\",\r\n \"\ - 20.62.0.0/17\",\r\n \"20.65.0.0/17\",\r\n \"20.69.192.0/18\"\ - ,\r\n \"20.72.64.0/18\",\r\n \"20.75.0.0/17\",\r\n \ - \ \"20.80.192.0/18\",\r\n \"20.81.128.0/17\",\r\n \"\ - 20.85.0.0/17\",\r\n \"20.135.16.0/23\",\r\n \"20.135.200.0/22\"\ - ,\r\n \"20.135.204.0/23\",\r\n \"20.150.29.0/24\",\r\n \ - \ \"20.150.36.0/24\",\r\n \"20.150.50.0/23\",\r\n \ - \ \"20.150.72.0/24\",\r\n \"20.150.82.0/24\",\r\n \"20.150.88.0/24\"\ - ,\r\n \"20.157.36.0/23\",\r\n \"20.157.48.0/23\",\r\n \ - \ \"20.186.0.0/17\",\r\n \"20.186.128.0/18\",\r\n \ - \ \"20.190.131.0/24\",\r\n \"20.190.152.0/24\",\r\n \"\ - 20.190.192.0/18\",\r\n \"23.100.64.0/21\",\r\n \"23.101.32.0/21\"\ - ,\r\n \"23.101.80.0/21\",\r\n \"23.101.144.0/20\",\r\n \ - \ \"23.102.96.0/19\",\r\n \"23.102.204.0/22\",\r\n \ - \ \"23.102.208.0/20\",\r\n \"40.65.192.0/18\",\r\n \"\ - 40.67.128.0/19\",\r\n \"40.70.0.0/18\",\r\n \"40.70.64.0/20\"\ - ,\r\n \"40.70.80.0/21\",\r\n \"40.70.128.0/17\",\r\n \ - \ \"40.75.0.0/19\",\r\n \"40.75.64.0/18\",\r\n \"\ - 40.77.128.128/25\",\r\n \"40.77.129.0/24\",\r\n \"40.77.130.0/25\"\ - ,\r\n \"40.77.132.0/24\",\r\n \"40.77.136.48/28\",\r\n \ - \ \"40.77.137.128/26\",\r\n \"40.77.138.128/25\",\r\n \ - \ \"40.77.163.0/24\",\r\n \"40.77.166.160/27\",\r\n \ - \ \"40.77.167.0/24\",\r\n \"40.77.168.0/24\",\r\n \"40.77.170.0/24\"\ - ,\r\n \"40.77.175.96/27\",\r\n \"40.77.177.0/24\",\r\n \ - \ \"40.77.178.0/23\",\r\n \"40.77.182.0/28\",\r\n \ - \ \"40.77.182.32/27\",\r\n \"40.77.184.0/25\",\r\n \"\ - 40.77.198.0/26\",\r\n \"40.77.199.192/26\",\r\n \"40.77.224.128/25\"\ - ,\r\n \"40.77.228.0/24\",\r\n \"40.77.233.0/24\",\r\n \ - \ \"40.77.234.192/27\",\r\n \"40.77.236.80/28\",\r\n \ - \ \"40.77.237.64/26\",\r\n \"40.77.240.0/25\",\r\n \"\ - 40.77.245.0/24\",\r\n \"40.77.248.0/25\",\r\n \"40.77.251.0/24\"\ - ,\r\n \"40.78.208.48/28\",\r\n \"40.78.220.0/24\",\r\n \ - \ \"40.79.0.0/21\",\r\n \"40.79.8.0/27\",\r\n \"\ - 40.79.8.32/28\",\r\n \"40.79.8.64/27\",\r\n \"40.79.8.96/28\"\ - ,\r\n \"40.79.9.0/24\",\r\n \"40.79.16.0/20\",\r\n \ - \ \"40.79.32.0/20\",\r\n \"40.79.48.0/27\",\r\n \"40.79.48.32/28\"\ - ,\r\n \"40.79.49.0/24\",\r\n \"40.79.56.0/21\",\r\n \ - \ \"40.79.64.0/20\",\r\n \"40.79.80.0/21\",\r\n \"\ - 40.79.90.0/24\",\r\n \"40.79.91.0/28\",\r\n \"40.79.92.0/24\"\ - ,\r\n \"40.79.93.0/28\",\r\n \"40.79.94.0/24\",\r\n \ - \ \"40.79.95.0/28\",\r\n \"40.79.206.64/27\",\r\n \"\ - 40.79.240.0/20\",\r\n \"40.82.4.0/22\",\r\n \"40.82.44.0/22\"\ - ,\r\n \"40.84.0.0/17\",\r\n \"40.87.168.0/30\",\r\n \ - \ \"40.87.168.8/29\",\r\n \"40.87.168.16/28\",\r\n \ - \ \"40.87.168.32/29\",\r\n \"40.87.168.48/28\",\r\n \"40.87.168.64/30\"\ - ,\r\n \"40.87.168.70/31\",\r\n \"40.87.168.72/29\",\r\n\ - \ \"40.87.168.80/28\",\r\n \"40.87.168.96/27\",\r\n \ - \ \"40.87.168.128/26\",\r\n \"40.87.168.192/28\",\r\n \ - \ \"40.87.168.210/31\",\r\n \"40.87.168.212/30\",\r\n \ - \ \"40.87.168.216/29\",\r\n \"40.87.168.224/27\",\r\n \"\ - 40.87.169.0/27\",\r\n \"40.87.169.32/29\",\r\n \"40.87.169.44/30\"\ - ,\r\n \"40.87.169.48/29\",\r\n \"40.87.169.56/31\",\r\n\ - \ \"40.87.169.60/30\",\r\n \"40.87.169.64/27\",\r\n \ - \ \"40.87.169.96/31\",\r\n \"40.87.169.102/31\",\r\n \ - \ \"40.87.169.104/29\",\r\n \"40.87.169.112/28\",\r\n \ - \ \"40.87.169.128/29\",\r\n \"40.87.169.136/31\",\r\n \"\ - 40.87.169.140/30\",\r\n \"40.87.169.160/27\",\r\n \"40.87.169.192/26\"\ - ,\r\n \"40.87.170.0/25\",\r\n \"40.87.170.128/28\",\r\n\ - \ \"40.87.170.144/31\",\r\n \"40.87.170.152/29\",\r\n \ - \ \"40.87.170.160/28\",\r\n \"40.87.170.176/29\",\r\n \ - \ \"40.87.170.184/30\",\r\n \"40.87.170.194/31\",\r\n \ - \ \"40.87.170.196/30\",\r\n \"40.87.170.214/31\",\r\n \ - \ \"40.87.170.216/30\",\r\n \"40.87.170.228/30\",\r\n \"\ - 40.87.170.232/29\",\r\n \"40.87.170.240/29\",\r\n \"40.87.170.248/30\"\ - ,\r\n \"40.87.171.2/31\",\r\n \"40.87.171.4/30\",\r\n \ - \ \"40.87.171.8/29\",\r\n \"40.87.171.16/28\",\r\n \ - \ \"40.87.171.36/30\",\r\n \"40.87.171.40/31\",\r\n \"\ - 40.87.171.72/29\",\r\n \"40.87.171.80/28\",\r\n \"40.87.171.96/27\"\ - ,\r\n \"40.87.171.128/29\",\r\n \"40.87.171.136/31\",\r\n\ - \ \"40.90.19.128/25\",\r\n \"40.90.20.0/25\",\r\n \ - \ \"40.90.130.160/27\",\r\n \"40.90.132.128/26\",\r\n \ - \ \"40.90.133.112/28\",\r\n \"40.90.134.192/26\",\r\n \"\ - 40.90.136.0/28\",\r\n \"40.90.138.160/27\",\r\n \"40.90.140.160/27\"\ - ,\r\n \"40.90.140.192/27\",\r\n \"40.90.143.192/26\",\r\n\ - \ \"40.90.144.64/26\",\r\n \"40.90.145.32/27\",\r\n \ - \ \"40.90.145.64/27\",\r\n \"40.90.148.96/27\",\r\n \ - \ \"40.90.155.128/26\",\r\n \"40.90.157.128/26\",\r\n \"\ - 40.90.158.128/25\",\r\n \"40.91.12.16/28\",\r\n \"40.91.12.48/28\"\ - ,\r\n \"40.91.12.64/26\",\r\n \"40.91.12.128/28\",\r\n \ - \ \"40.91.12.160/27\",\r\n \"40.91.12.208/28\",\r\n \ - \ \"40.91.12.240/28\",\r\n \"40.91.13.64/27\",\r\n \"\ - 40.91.13.96/28\",\r\n \"40.91.13.128/27\",\r\n \"40.91.13.240/28\"\ - ,\r\n \"40.91.14.0/24\",\r\n \"40.93.3.0/24\",\r\n \ - \ \"40.123.0.0/17\",\r\n \"40.126.3.0/24\",\r\n \"40.126.24.0/24\"\ - ,\r\n \"52.101.10.0/24\",\r\n \"52.101.36.0/22\",\r\n \ - \ \"52.102.131.0/24\",\r\n \"52.103.5.0/24\",\r\n \ - \ \"52.103.131.0/24\",\r\n \"52.108.186.0/24\",\r\n \"\ - 52.108.216.0/22\",\r\n \"52.109.4.0/22\",\r\n \"52.111.230.0/24\"\ - ,\r\n \"52.112.76.0/22\",\r\n \"52.112.95.0/24\",\r\n \ - \ \"52.112.104.0/24\",\r\n \"52.112.108.0/24\",\r\n \ - \ \"52.112.116.0/24\",\r\n \"52.114.136.0/21\",\r\n \"\ - 52.114.180.0/22\",\r\n \"52.114.186.0/23\",\r\n \"52.115.48.0/22\"\ - ,\r\n \"52.115.52.0/23\",\r\n \"52.115.64.0/22\",\r\n \ - \ \"52.115.160.0/19\",\r\n \"52.120.64.0/19\",\r\n \ - \ \"52.121.32.0/22\",\r\n \"52.125.136.0/24\",\r\n \"\ - 52.136.29.0/24\",\r\n \"52.138.80.0/21\",\r\n \"52.138.96.0/19\"\ - ,\r\n \"52.143.192.0/24\",\r\n \"52.147.160.0/19\",\r\n\ - \ \"52.167.0.0/16\",\r\n \"52.177.0.0/16\",\r\n \ - \ \"52.179.128.0/17\",\r\n \"52.184.128.0/19\",\r\n \"\ - 52.184.160.0/21\",\r\n \"52.184.168.0/28\",\r\n \"52.184.168.80/28\"\ - ,\r\n \"52.184.168.96/27\",\r\n \"52.184.168.128/28\",\r\ - \n \"52.184.169.0/24\",\r\n \"52.184.170.0/24\",\r\n \ - \ \"52.184.176.0/20\",\r\n \"52.184.192.0/18\",\r\n \ - \ \"52.225.128.0/21\",\r\n \"52.225.136.0/27\",\r\n \"\ - 52.225.136.32/28\",\r\n \"52.225.136.64/28\",\r\n \"52.225.137.0/24\"\ - ,\r\n \"52.225.192.0/18\",\r\n \"52.232.151.0/24\",\r\n\ - \ \"52.232.160.0/19\",\r\n \"52.232.192.0/18\",\r\n \ - \ \"52.239.156.0/24\",\r\n \"52.239.157.0/25\",\r\n \ - \ \"52.239.157.128/26\",\r\n \"52.239.157.192/27\",\r\n \ - \ \"52.239.172.0/22\",\r\n \"52.239.184.0/25\",\r\n \"\ - 52.239.184.160/28\",\r\n \"52.239.184.192/27\",\r\n \"52.239.185.32/27\"\ - ,\r\n \"52.239.192.0/26\",\r\n \"52.239.192.64/28\",\r\n\ - \ \"52.239.192.96/27\",\r\n \"52.239.192.160/27\",\r\n \ - \ \"52.239.192.192/26\",\r\n \"52.239.198.0/25\",\r\n \ - \ \"52.239.198.192/26\",\r\n \"52.239.206.0/24\",\r\n \ - \ \"52.239.207.32/28\",\r\n \"52.239.207.64/26\",\r\n \ - \ \"52.239.207.128/27\",\r\n \"52.239.222.0/23\",\r\n \ - \ \"52.242.64.0/18\",\r\n \"52.245.44.0/24\",\r\n \"52.245.45.0/25\"\ - ,\r\n \"52.245.45.128/28\",\r\n \"52.245.45.160/27\",\r\n\ - \ \"52.245.45.192/26\",\r\n \"52.245.46.0/27\",\r\n \ - \ \"52.245.46.48/28\",\r\n \"52.245.46.64/28\",\r\n \ - \ \"52.245.46.112/28\",\r\n \"52.245.46.128/28\",\r\n \"\ - 52.245.46.160/27\",\r\n \"52.245.46.192/26\",\r\n \"52.247.0.0/17\"\ - ,\r\n \"52.250.128.0/18\",\r\n \"52.251.0.0/17\",\r\n \ - \ \"52.252.0.0/17\",\r\n \"52.253.64.0/20\",\r\n \ - \ \"52.253.148.0/23\",\r\n \"52.253.154.0/23\",\r\n \"52.254.0.0/18\"\ - ,\r\n \"52.254.64.0/19\",\r\n \"52.254.96.0/20\",\r\n \ - \ \"52.254.112.0/21\",\r\n \"65.52.108.0/23\",\r\n \ - \ \"65.52.110.0/24\",\r\n \"65.55.44.16/28\",\r\n \"65.55.44.32/27\"\ - ,\r\n \"65.55.44.64/27\",\r\n \"65.55.44.96/28\",\r\n \ - \ \"65.55.44.128/27\",\r\n \"65.55.60.188/30\",\r\n \ - \ \"65.55.105.0/26\",\r\n \"65.55.105.96/27\",\r\n \"\ - 65.55.105.224/27\",\r\n \"65.55.106.0/26\",\r\n \"65.55.106.64/27\"\ - ,\r\n \"65.55.106.128/26\",\r\n \"65.55.107.48/28\",\r\n\ - \ \"65.55.107.64/27\",\r\n \"65.55.108.0/24\",\r\n \ - \ \"65.55.209.128/26\",\r\n \"65.55.211.32/27\",\r\n \ - \ \"65.55.213.64/26\",\r\n \"65.55.213.128/26\",\r\n \"\ - 65.55.217.0/24\",\r\n \"65.55.219.32/27\",\r\n \"65.55.219.128/25\"\ - ,\r\n \"104.44.88.32/27\",\r\n \"104.44.88.96/27\",\r\n\ - \ \"104.44.91.96/27\",\r\n \"104.44.93.160/27\",\r\n \ - \ \"104.44.94.48/28\",\r\n \"104.46.0.0/21\",\r\n \ - \ \"104.46.96.0/19\",\r\n \"104.46.192.0/20\",\r\n \"104.47.200.0/21\"\ - ,\r\n \"104.208.128.0/17\",\r\n \"104.209.128.0/17\",\r\n\ - \ \"104.210.0.0/20\",\r\n \"131.253.12.176/28\",\r\n \ - \ \"131.253.12.208/28\",\r\n \"131.253.12.224/30\",\r\n \ - \ \"131.253.13.16/29\",\r\n \"131.253.13.48/28\",\r\n \ - \ \"131.253.13.72/29\",\r\n \"131.253.13.80/29\",\r\n \ - \ \"131.253.13.96/30\",\r\n \"131.253.14.16/28\",\r\n \ - \ \"131.253.14.64/29\",\r\n \"131.253.14.208/28\",\r\n \"\ - 131.253.14.224/28\",\r\n \"131.253.15.8/29\",\r\n \"131.253.15.16/28\"\ - ,\r\n \"131.253.24.0/28\",\r\n \"131.253.24.192/26\",\r\n\ - \ \"131.253.34.224/27\",\r\n \"131.253.38.0/27\",\r\n \ - \ \"131.253.38.128/26\",\r\n \"131.253.40.0/28\",\r\n \ - \ \"134.170.220.0/23\",\r\n \"137.116.0.0/18\",\r\n \ - \ \"137.116.64.0/19\",\r\n \"137.116.96.0/22\",\r\n \"\ - 157.55.7.128/26\",\r\n \"157.55.10.192/26\",\r\n \"157.55.11.128/25\"\ - ,\r\n \"157.55.37.0/24\",\r\n \"157.55.38.0/24\",\r\n \ - \ \"157.55.48.0/24\",\r\n \"157.55.50.0/25\",\r\n \ - \ \"157.55.55.100/30\",\r\n \"157.55.55.104/29\",\r\n \"\ - 157.55.55.136/29\",\r\n \"157.55.55.144/29\",\r\n \"157.55.55.160/28\"\ - ,\r\n \"157.56.2.128/25\",\r\n \"157.56.3.0/25\",\r\n \ - \ \"191.236.192.0/18\",\r\n \"191.237.128.0/18\",\r\n \ - \ \"191.239.224.0/20\",\r\n \"193.149.64.0/21\",\r\n \ - \ \"198.180.96.0/25\",\r\n \"199.30.16.0/24\",\r\n \"\ - 199.30.18.0/23\",\r\n \"199.30.20.0/24\",\r\n \"199.30.22.0/24\"\ - ,\r\n \"199.30.28.64/26\",\r\n \"199.30.28.128/25\",\r\n\ - \ \"199.30.29.0/24\",\r\n \"2603:1030:400::/48\",\r\n \ - \ \"2603:1030:401:2::/63\",\r\n \"2603:1030:401:4::/62\",\r\ - \n \"2603:1030:401:8::/61\",\r\n \"2603:1030:401:10::/62\"\ - ,\r\n \"2603:1030:401:14::/63\",\r\n \"2603:1030:401:17::/64\"\ - ,\r\n \"2603:1030:401:18::/61\",\r\n \"2603:1030:401:20::/59\"\ - ,\r\n \"2603:1030:401:40::/60\",\r\n \"2603:1030:401:50::/61\"\ - ,\r\n \"2603:1030:401:58::/64\",\r\n \"2603:1030:401:5a::/63\"\ - ,\r\n \"2603:1030:401:5c::/62\",\r\n \"2603:1030:401:60::/59\"\ - ,\r\n \"2603:1030:401:80::/62\",\r\n \"2603:1030:401:84::/64\"\ - ,\r\n \"2603:1030:401:87::/64\",\r\n \"2603:1030:401:88::/62\"\ - ,\r\n \"2603:1030:401:8c::/63\",\r\n \"2603:1030:401:8f::/64\"\ - ,\r\n \"2603:1030:401:90::/63\",\r\n \"2603:1030:401:94::/62\"\ - ,\r\n \"2603:1030:401:98::/61\",\r\n \"2603:1030:401:a0::/62\"\ - ,\r\n \"2603:1030:401:a4::/63\",\r\n \"2603:1030:401:a7::/64\"\ - ,\r\n \"2603:1030:401:a8::/61\",\r\n \"2603:1030:401:b0::/60\"\ - ,\r\n \"2603:1030:401:c0::/58\",\r\n \"2603:1030:401:100::/59\"\ - ,\r\n \"2603:1030:401:120::/64\",\r\n \"2603:1030:401:124::/62\"\ - ,\r\n \"2603:1030:401:128::/61\",\r\n \"2603:1030:401:130::/62\"\ - ,\r\n \"2603:1030:401:134::/63\",\r\n \"2603:1030:401:139::/64\"\ - ,\r\n \"2603:1030:401:13a::/63\",\r\n \"2603:1030:401:143::/64\"\ - ,\r\n \"2603:1030:401:144::/63\",\r\n \"2603:1030:401:14a::/63\"\ - ,\r\n \"2603:1030:401:14c::/62\",\r\n \"2603:1030:401:150::/62\"\ - ,\r\n \"2603:1030:401:154::/63\",\r\n \"2603:1030:401:159::/64\"\ - ,\r\n \"2603:1030:401:15a::/63\",\r\n \"2603:1030:401:15c::/62\"\ - ,\r\n \"2603:1030:401:160::/61\",\r\n \"2603:1030:401:16a::/63\"\ - ,\r\n \"2603:1030:401:16c::/64\",\r\n \"2603:1030:401:17c::/62\"\ - ,\r\n \"2603:1030:401:180::/60\",\r\n \"2603:1030:401:190::/61\"\ - ,\r\n \"2603:1030:401:198::/62\",\r\n \"2603:1030:401:19c::/64\"\ - ,\r\n \"2603:1030:402::/47\",\r\n \"2603:1030:406::/47\"\ - ,\r\n \"2603:1030:408::/48\",\r\n \"2603:1030:40a:1::/64\"\ - ,\r\n \"2603:1030:40a:2::/64\",\r\n \"2603:1030:40c::/48\"\ - ,\r\n \"2603:1036:2405::/48\",\r\n \"2603:1036:2500::/64\"\ - ,\r\n \"2603:1036:3000::/59\",\r\n \"2603:1037:1::/59\"\ - ,\r\n \"2603:1039:205::/48\",\r\n \"2a01:111:f403:c908::/62\"\ - ,\r\n \"2a01:111:f403:d108::/62\",\r\n \"2a01:111:f403:d908::/62\"\ - ,\r\n \"2a01:111:f403:e008::/62\",\r\n \"2a01:111:f403:f908::/62\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCloud.eastus2euap\"\ - ,\r\n \"id\": \"AzureCloud.eastus2euap\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"2\",\r\n \"region\": \"eastus2euap\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"\",\r\n \"addressPrefixes\": [\r\n \"13.104.216.0/24\"\ - ,\r\n \"13.105.52.32/27\",\r\n \"13.105.52.64/28\",\r\n\ - \ \"13.105.52.96/27\",\r\n \"13.105.60.160/27\",\r\n \ - \ \"13.105.61.0/28\",\r\n \"13.105.61.32/27\",\r\n \ - \ \"20.39.0.0/19\",\r\n \"20.47.6.0/24\",\r\n \"20.47.106.0/24\"\ - ,\r\n \"20.47.128.0/17\",\r\n \"20.51.16.0/21\",\r\n \ - \ \"20.60.154.0/23\",\r\n \"20.60.184.0/23\",\r\n \ - \ \"20.135.210.0/23\",\r\n \"20.135.212.0/22\",\r\n \"20.150.108.0/24\"\ - ,\r\n \"20.190.138.0/25\",\r\n \"20.190.149.0/24\",\r\n\ - \ \"40.70.88.0/28\",\r\n \"40.74.144.0/20\",\r\n \ - \ \"40.75.32.0/21\",\r\n \"40.78.208.0/28\",\r\n \"40.79.88.0/27\"\ - ,\r\n \"40.79.88.32/28\",\r\n \"40.79.89.0/24\",\r\n \ - \ \"40.79.96.0/19\",\r\n \"40.87.168.4/30\",\r\n \"\ - 40.87.168.40/29\",\r\n \"40.87.168.68/31\",\r\n \"40.87.168.208/31\"\ - ,\r\n \"40.87.169.40/30\",\r\n \"40.87.169.58/31\",\r\n\ - \ \"40.87.169.98/31\",\r\n \"40.87.169.100/31\",\r\n \ - \ \"40.87.169.138/31\",\r\n \"40.87.169.144/28\",\r\n \ - \ \"40.87.170.146/31\",\r\n \"40.87.170.148/30\",\r\n \ - \ \"40.87.170.188/30\",\r\n \"40.87.170.192/31\",\r\n \ - \ \"40.87.170.200/29\",\r\n \"40.87.170.208/30\",\r\n \"\ - 40.87.170.212/31\",\r\n \"40.87.170.220/30\",\r\n \"40.87.170.224/30\"\ - ,\r\n \"40.87.170.252/30\",\r\n \"40.87.171.0/31\",\r\n\ - \ \"40.87.171.32/30\",\r\n \"40.87.171.42/31\",\r\n \ - \ \"40.87.171.44/30\",\r\n \"40.87.171.48/28\",\r\n \ - \ \"40.87.171.64/29\",\r\n \"40.89.64.0/18\",\r\n \"40.90.129.96/27\"\ - ,\r\n \"40.90.137.32/27\",\r\n \"40.90.146.192/27\",\r\n\ - \ \"40.91.12.0/28\",\r\n \"40.91.12.32/28\",\r\n \ - \ \"40.91.13.0/28\",\r\n \"40.96.46.0/24\",\r\n \"40.96.55.0/24\"\ - ,\r\n \"40.126.10.0/25\",\r\n \"40.126.21.0/24\",\r\n \ - \ \"52.108.116.0/24\",\r\n \"52.138.64.0/20\",\r\n \ - \ \"52.138.88.0/21\",\r\n \"52.143.212.0/23\",\r\n \"\ - 52.147.128.0/19\",\r\n \"52.184.168.16/28\",\r\n \"52.184.168.32/28\"\ - ,\r\n \"52.225.136.48/28\",\r\n \"52.225.144.0/20\",\r\n\ - \ \"52.225.160.0/19\",\r\n \"52.232.150.0/24\",\r\n \ - \ \"52.239.157.224/27\",\r\n \"52.239.165.192/26\",\r\n \ - \ \"52.239.184.176/28\",\r\n \"52.239.184.224/27\",\r\n \ - \ \"52.239.185.0/28\",\r\n \"52.239.192.128/27\",\r\n \ - \ \"52.239.198.128/27\",\r\n \"52.239.230.0/24\",\r\n \ - \ \"52.239.239.0/24\",\r\n \"52.245.45.144/28\",\r\n \"\ - 52.245.46.32/28\",\r\n \"52.245.46.80/28\",\r\n \"52.245.46.96/28\"\ - ,\r\n \"52.253.150.0/23\",\r\n \"52.253.152.0/23\",\r\n\ - \ \"52.253.224.0/21\",\r\n \"52.254.120.0/21\",\r\n \ - \ \"104.44.95.208/28\",\r\n \"198.180.97.0/24\",\r\n \ - \ \"2603:1030:401::/63\",\r\n \"2603:1030:401:16::/64\",\r\n \ - \ \"2603:1030:401:59::/64\",\r\n \"2603:1030:401:85::/64\"\ - ,\r\n \"2603:1030:401:86::/64\",\r\n \"2603:1030:401:8e::/64\"\ - ,\r\n \"2603:1030:401:92::/63\",\r\n \"2603:1030:401:a6::/64\"\ - ,\r\n \"2603:1030:401:121::/64\",\r\n \"2603:1030:401:122::/63\"\ - ,\r\n \"2603:1030:401:136::/63\",\r\n \"2603:1030:401:138::/64\"\ - ,\r\n \"2603:1030:401:13c::/62\",\r\n \"2603:1030:401:140::/63\"\ - ,\r\n \"2603:1030:401:142::/64\",\r\n \"2603:1030:401:146::/63\"\ - ,\r\n \"2603:1030:401:148::/63\",\r\n \"2603:1030:401:156::/63\"\ - ,\r\n \"2603:1030:401:158::/64\",\r\n \"2603:1030:401:168::/63\"\ - ,\r\n \"2603:1030:401:16d::/64\",\r\n \"2603:1030:401:16e::/63\"\ - ,\r\n \"2603:1030:401:170::/61\",\r\n \"2603:1030:401:178::/62\"\ - ,\r\n \"2603:1030:405::/48\",\r\n \"2603:1030:409::/48\"\ - ,\r\n \"2603:1030:40a::/64\",\r\n \"2603:1030:40a:3::/64\"\ - ,\r\n \"2603:1030:40a:4::/62\",\r\n \"2603:1030:40a:8::/63\"\ - ,\r\n \"2603:1030:40b::/48\",\r\n \"2603:1030:40d::/60\"\ - ,\r\n \"2603:1036:903:1::/64\",\r\n \"2603:1036:240a::/48\"\ - ,\r\n \"2603:1036:2500:4::/64\",\r\n \"2603:1036:3000:20::/59\"\ - ,\r\n \"2603:1037:1:20::/59\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"AzureCloud.germanyn\",\r\n \"id\": \"AzureCloud.germanyn\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n \ - \ \"region\": \"germanyn\",\r\n \"state\": \"GA\",\r\n \"\ - networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n \ - \ ],\r\n \"systemService\": \"\",\r\n \"addressPrefixes\":\ - \ [\r\n \"13.104.144.96/27\",\r\n \"13.104.212.64/26\",\r\ - \n \"20.38.115.0/24\",\r\n \"20.47.45.0/24\",\r\n \ - \ \"20.47.84.0/23\",\r\n \"20.52.72.0/21\",\r\n \"20.52.80.32/27\"\ - ,\r\n \"20.135.56.0/23\",\r\n \"20.150.60.0/24\",\r\n \ - \ \"20.150.112.0/24\",\r\n \"20.190.189.0/26\",\r\n \ - \ \"40.82.72.0/22\",\r\n \"40.90.31.0/27\",\r\n \"40.90.128.240/28\"\ - ,\r\n \"40.119.96.0/22\",\r\n \"40.126.61.0/26\",\r\n \ - \ \"40.126.198.0/24\",\r\n \"51.116.0.0/18\",\r\n \ - \ \"51.116.64.0/19\",\r\n \"51.116.200.0/21\",\r\n \"51.116.208.0/20\"\ - ,\r\n \"52.108.76.0/24\",\r\n \"52.108.97.0/24\",\r\n \ - \ \"52.109.102.0/23\",\r\n \"52.111.254.0/24\",\r\n \ - \ \"52.114.240.0/24\",\r\n \"52.253.172.0/24\",\r\n \"\ - 2603:1020:d00::/47\",\r\n \"2603:1020:d03::/48\",\r\n \"\ - 2603:1020:d04::/48\",\r\n \"2603:1026:2411::/48\",\r\n \"\ - 2603:1026:2500:34::/64\",\r\n \"2603:1026:3000:220::/59\",\r\n \ - \ \"2603:1027:1:220::/59\"\r\n ]\r\n }\r\n },\r\n \ - \ {\r\n \"name\": \"AzureCloud.germanywc\",\r\n \"id\": \"AzureCloud.germanywc\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n \ - \ \"region\": \"germanywc\",\r\n \"state\": \"GA\",\r\n \"\ - networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n \ - \ ],\r\n \"systemService\": \"\",\r\n \"addressPrefixes\":\ - \ [\r\n \"13.104.144.224/27\",\r\n \"13.104.145.128/27\"\ - ,\r\n \"13.104.212.128/26\",\r\n \"13.105.61.128/25\",\r\ - \n \"13.105.66.0/27\",\r\n \"13.105.74.96/27\",\r\n \ - \ \"13.105.74.192/26\",\r\n \"20.38.118.0/24\",\r\n \ - \ \"20.47.27.0/24\",\r\n \"20.47.65.0/24\",\r\n \"20.47.112.0/24\"\ - ,\r\n \"20.52.0.0/18\",\r\n \"20.52.64.0/21\",\r\n \ - \ \"20.52.80.0/27\",\r\n \"20.52.80.64/27\",\r\n \"\ - 20.52.88.0/21\",\r\n \"20.52.96.0/19\",\r\n \"20.52.128.0/17\"\ - ,\r\n \"20.60.22.0/23\",\r\n \"20.79.0.0/17\",\r\n \ - \ \"20.135.152.0/22\",\r\n \"20.135.156.0/23\",\r\n \ - \ \"20.150.54.0/24\",\r\n \"20.150.125.0/24\",\r\n \"20.190.190.64/26\"\ - ,\r\n \"40.82.68.0/22\",\r\n \"40.90.129.48/28\",\r\n \ - \ \"40.90.140.0/27\",\r\n \"40.90.147.32/27\",\r\n \ - \ \"40.90.151.160/27\",\r\n \"40.119.92.0/22\",\r\n \"\ - 40.126.62.64/26\",\r\n \"40.126.197.0/24\",\r\n \"51.116.96.0/19\"\ - ,\r\n \"51.116.128.0/18\",\r\n \"51.116.192.0/21\",\r\n\ - \ \"51.116.224.0/19\",\r\n \"52.108.178.0/24\",\r\n \ - \ \"52.108.199.0/24\",\r\n \"52.109.104.0/23\",\r\n \ - \ \"52.111.255.0/24\",\r\n \"52.114.244.0/24\",\r\n \"\ - 52.253.169.0/24\",\r\n \"52.253.170.0/23\",\r\n \"2603:1020:c00::/47\"\ - ,\r\n \"2603:1020:c03::/48\",\r\n \"2603:1020:c04::/48\"\ - ,\r\n \"2603:1026:240a::/48\",\r\n \"2603:1026:2500:14::/64\"\ - ,\r\n \"2603:1026:3000:a0::/59\",\r\n \"2603:1027:1:a0::/59\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCloud.japaneast\"\ - ,\r\n \"id\": \"AzureCloud.japaneast\",\r\n \"properties\": {\r\n\ - \ \"changeNumber\": \"2\",\r\n \"region\": \"japaneast\",\r\n\ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"\",\r\n \"addressPrefixes\": [\r\n \"13.71.128.0/19\"\ - ,\r\n \"13.73.0.0/19\",\r\n \"13.78.0.0/17\",\r\n \ - \ \"13.104.149.64/26\",\r\n \"13.104.150.128/26\",\r\n \ - \ \"13.104.221.0/24\",\r\n \"13.105.18.64/26\",\r\n \"\ - 20.37.96.0/19\",\r\n \"20.38.116.0/23\",\r\n \"20.40.88.0/21\"\ - ,\r\n \"20.40.96.0/21\",\r\n \"20.43.64.0/19\",\r\n \ - \ \"20.44.128.0/18\",\r\n \"20.46.112.0/20\",\r\n \"\ - 20.46.160.0/19\",\r\n \"20.47.12.0/24\",\r\n \"20.47.101.0/24\"\ - ,\r\n \"20.48.0.0/17\",\r\n \"20.60.172.0/23\",\r\n \ - \ \"20.63.128.0/18\",\r\n \"20.78.0.0/17\",\r\n \"\ - 20.78.192.0/18\",\r\n \"20.89.0.0/17\",\r\n \"20.135.102.0/23\"\ - ,\r\n \"20.135.104.0/22\",\r\n \"20.150.85.0/24\",\r\n \ - \ \"20.150.105.0/24\",\r\n \"20.157.38.0/24\",\r\n \ - \ \"20.188.0.0/19\",\r\n \"20.190.141.128/25\",\r\n \"\ - 20.190.166.0/24\",\r\n \"20.191.160.0/19\",\r\n \"20.194.128.0/17\"\ - ,\r\n \"23.98.57.64/26\",\r\n \"23.100.96.0/21\",\r\n \ - \ \"23.102.64.0/19\",\r\n \"40.79.184.0/21\",\r\n \ - \ \"40.79.192.0/21\",\r\n \"40.79.206.96/27\",\r\n \"40.79.208.0/24\"\ - ,\r\n \"40.81.192.0/19\",\r\n \"40.82.48.0/22\",\r\n \ - \ \"40.87.200.0/22\",\r\n \"40.90.16.160/27\",\r\n \ - \ \"40.90.128.80/28\",\r\n \"40.90.132.64/28\",\r\n \"\ - 40.90.142.0/27\",\r\n \"40.90.142.192/28\",\r\n \"40.90.148.224/27\"\ - ,\r\n \"40.90.152.192/27\",\r\n \"40.90.158.0/26\",\r\n\ - \ \"40.115.128.0/17\",\r\n \"40.126.13.128/25\",\r\n \ - \ \"40.126.38.0/24\",\r\n \"52.108.191.0/24\",\r\n \ - \ \"52.108.228.0/23\",\r\n \"52.109.52.0/22\",\r\n \"52.111.232.0/24\"\ - ,\r\n \"52.112.176.0/21\",\r\n \"52.112.184.0/22\",\r\n\ - \ \"52.113.78.0/23\",\r\n \"52.113.102.0/24\",\r\n \ - \ \"52.113.107.0/24\",\r\n \"52.113.133.0/24\",\r\n \ - \ \"52.114.32.0/22\",\r\n \"52.115.38.0/24\",\r\n \"52.115.47.0/24\"\ - ,\r\n \"52.121.120.0/23\",\r\n \"52.121.152.0/21\",\r\n\ - \ \"52.121.160.0/22\",\r\n \"52.121.164.0/24\",\r\n \ - \ \"52.136.31.0/24\",\r\n \"52.140.192.0/18\",\r\n \ - \ \"52.155.96.0/19\",\r\n \"52.156.32.0/19\",\r\n \"52.185.128.0/18\"\ - ,\r\n \"52.232.155.0/24\",\r\n \"52.239.144.0/23\",\r\n\ - \ \"52.243.32.0/19\",\r\n \"52.245.36.0/22\",\r\n \ - \ \"52.246.160.0/19\",\r\n \"52.253.96.0/19\",\r\n \"\ - 52.253.161.0/24\",\r\n \"104.41.160.0/19\",\r\n \"104.44.88.224/27\"\ - ,\r\n \"104.44.91.224/27\",\r\n \"104.44.94.112/28\",\r\n\ - \ \"104.46.208.0/20\",\r\n \"138.91.0.0/20\",\r\n \ - \ \"191.237.240.0/23\",\r\n \"2603:1040:400::/46\",\r\n \ - \ \"2603:1040:404::/48\",\r\n \"2603:1040:406::/48\",\r\n \ - \ \"2603:1040:407::/48\",\r\n \"2603:1046:1402::/48\",\r\n \ - \ \"2603:1046:1500:18::/64\",\r\n \"2603:1046:2000:140::/59\"\ - ,\r\n \"2603:1047:1:140::/59\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"AzureCloud.japanwest\",\r\n \"id\": \"AzureCloud.japanwest\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \ - \ \"region\": \"japanwest\",\r\n \"state\": \"GA\",\r\n \"\ - networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n \ - \ ],\r\n \"systemService\": \"\",\r\n \"addressPrefixes\":\ - \ [\r\n \"13.73.232.0/21\",\r\n \"20.39.176.0/21\",\r\n\ - \ \"20.47.10.0/24\",\r\n \"20.47.66.0/24\",\r\n \ - \ \"20.47.99.0/24\",\r\n \"20.60.12.0/24\",\r\n \"20.60.186.0/23\"\ - ,\r\n \"20.63.192.0/18\",\r\n \"20.78.128.0/18\",\r\n \ - \ \"20.135.48.0/23\",\r\n \"20.150.10.0/23\",\r\n \ - \ \"20.157.56.0/24\",\r\n \"20.189.192.0/18\",\r\n \"20.190.141.0/25\"\ - ,\r\n \"20.190.165.0/24\",\r\n \"23.98.56.0/24\",\r\n \ - \ \"23.100.104.0/21\",\r\n \"40.74.64.0/18\",\r\n \ - \ \"40.74.128.0/20\",\r\n \"40.79.209.0/24\",\r\n \"40.80.56.0/21\"\ - ,\r\n \"40.80.176.0/21\",\r\n \"40.81.176.0/20\",\r\n \ - \ \"40.82.100.0/22\",\r\n \"40.87.204.0/22\",\r\n \ - \ \"40.90.18.32/27\",\r\n \"40.90.27.192/26\",\r\n \"40.90.28.0/26\"\ - ,\r\n \"40.90.137.0/27\",\r\n \"40.90.142.208/28\",\r\n\ - \ \"40.90.156.0/26\",\r\n \"40.126.13.0/25\",\r\n \ - \ \"40.126.37.0/24\",\r\n \"52.108.46.0/23\",\r\n \"\ - 52.108.86.0/24\",\r\n \"52.109.132.0/22\",\r\n \"52.111.233.0/24\"\ - ,\r\n \"52.112.88.0/22\",\r\n \"52.113.14.0/24\",\r\n \ - \ \"52.113.72.0/22\",\r\n \"52.113.87.0/24\",\r\n \ - \ \"52.113.106.0/24\",\r\n \"52.114.36.0/22\",\r\n \"52.115.39.0/24\"\ - ,\r\n \"52.115.100.0/22\",\r\n \"52.115.104.0/23\",\r\n\ - \ \"52.121.80.0/22\",\r\n \"52.121.84.0/23\",\r\n \ - \ \"52.121.116.0/22\",\r\n \"52.121.165.0/24\",\r\n \"\ - 52.121.168.0/22\",\r\n \"52.147.64.0/19\",\r\n \"52.175.128.0/18\"\ - ,\r\n \"52.232.158.0/24\",\r\n \"52.239.146.0/23\",\r\n\ - \ \"52.245.92.0/22\",\r\n \"104.44.92.0/27\",\r\n \ - \ \"104.44.94.128/28\",\r\n \"104.46.224.0/20\",\r\n \ - \ \"104.214.128.0/19\",\r\n \"104.215.0.0/18\",\r\n \"138.91.16.0/20\"\ - ,\r\n \"191.233.32.0/20\",\r\n \"191.237.236.0/24\",\r\n\ - \ \"191.238.68.0/24\",\r\n \"191.238.80.0/21\",\r\n \ - \ \"191.238.88.0/22\",\r\n \"191.238.92.0/23\",\r\n \ - \ \"191.239.96.0/20\",\r\n \"2603:1040:600::/46\",\r\n \ - \ \"2603:1040:605::/48\",\r\n \"2603:1040:606::/48\",\r\n \ - \ \"2603:1046:1403::/48\",\r\n \"2603:1046:1500:14::/64\",\r\n\ - \ \"2603:1046:2000:a0::/59\",\r\n \"2603:1047:1:a0::/59\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCloud.koreacentral\"\ - ,\r\n \"id\": \"AzureCloud.koreacentral\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"2\",\r\n \"region\": \"koreacentral\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"\",\r\n \"addressPrefixes\": [\r\n \"13.104.129.192/26\"\ - ,\r\n \"13.104.223.128/26\",\r\n \"13.105.20.0/25\",\r\n\ - \ \"20.39.184.0/21\",\r\n \"20.39.192.0/20\",\r\n \ - \ \"20.41.64.0/18\",\r\n \"20.44.24.0/21\",\r\n \"20.47.46.0/24\"\ - ,\r\n \"20.47.90.0/24\",\r\n \"20.60.16.0/24\",\r\n \ - \ \"20.135.108.0/22\",\r\n \"20.135.112.0/23\",\r\n \ - \ \"20.150.4.0/23\",\r\n \"20.190.144.128/25\",\r\n \"\ - 20.190.148.128/25\",\r\n \"20.190.180.0/24\",\r\n \"20.194.0.0/18\"\ - ,\r\n \"20.194.64.0/20\",\r\n \"20.194.80.0/21\",\r\n \ - \ \"20.194.96.0/19\",\r\n \"20.196.64.0/18\",\r\n \ - \ \"20.196.128.0/17\",\r\n \"40.79.221.0/24\",\r\n \"40.80.36.0/22\"\ - ,\r\n \"40.82.128.0/19\",\r\n \"40.90.17.224/27\",\r\n \ - \ \"40.90.128.176/28\",\r\n \"40.90.131.128/27\",\r\n \ - \ \"40.90.139.128/27\",\r\n \"40.90.156.64/27\",\r\n \ - \ \"40.126.16.128/25\",\r\n \"40.126.20.128/25\",\r\n \ - \ \"40.126.52.0/24\",\r\n \"52.108.48.0/23\",\r\n \"52.108.87.0/24\"\ - ,\r\n \"52.109.44.0/22\",\r\n \"52.111.194.0/24\",\r\n \ - \ \"52.114.44.0/22\",\r\n \"52.115.106.0/23\",\r\n \ - \ \"52.115.108.0/22\",\r\n \"52.121.172.0/22\",\r\n \"\ - 52.121.176.0/23\",\r\n \"52.141.0.0/18\",\r\n \"52.231.0.0/17\"\ - ,\r\n \"52.232.145.0/24\",\r\n \"52.239.148.0/27\",\r\n\ - \ \"52.239.164.192/26\",\r\n \"52.239.190.128/26\",\r\n\ - \ \"52.245.112.0/22\",\r\n \"52.253.173.0/24\",\r\n \ - \ \"52.253.174.0/24\",\r\n \"104.44.90.160/27\",\r\n \ - \ \"2603:1040:f00::/47\",\r\n \"2603:1040:f02::/48\",\r\n \ - \ \"2603:1040:f04::/48\",\r\n \"2603:1040:f05::/48\",\r\n \ - \ \"2603:1046:1404::/48\",\r\n \"2603:1046:1500:20::/64\",\r\ - \n \"2603:1046:2000:160::/59\",\r\n \"2603:1047:1:160::/59\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCloud.koreasouth\"\ - ,\r\n \"id\": \"AzureCloud.koreasouth\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"1\",\r\n \"region\": \"koreasouth\",\r\ - \n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"\",\r\n \"addressPrefixes\": [\r\n \"13.104.157.0/25\"\ - ,\r\n \"20.39.168.0/21\",\r\n \"20.47.47.0/24\",\r\n \ - \ \"20.47.91.0/24\",\r\n \"20.135.26.0/23\",\r\n \"\ - 20.135.30.0/23\",\r\n \"20.150.14.0/23\",\r\n \"20.190.148.0/25\"\ - ,\r\n \"20.190.179.0/24\",\r\n \"20.200.128.0/18\",\r\n\ - \ \"40.79.220.0/24\",\r\n \"40.80.32.0/22\",\r\n \ - \ \"40.80.168.0/21\",\r\n \"40.80.224.0/20\",\r\n \"40.89.192.0/19\"\ - ,\r\n \"40.90.131.160/27\",\r\n \"40.90.139.160/27\",\r\n\ - \ \"40.90.157.32/27\",\r\n \"40.126.20.0/25\",\r\n \ - \ \"40.126.51.0/24\",\r\n \"52.108.190.0/24\",\r\n \"\ - 52.108.226.0/23\",\r\n \"52.109.48.0/22\",\r\n \"52.111.234.0/24\"\ - ,\r\n \"52.113.110.0/23\",\r\n \"52.114.48.0/22\",\r\n \ - \ \"52.147.96.0/19\",\r\n \"52.231.128.0/17\",\r\n \ - \ \"52.232.144.0/24\",\r\n \"52.239.165.0/26\",\r\n \"\ - 52.239.165.160/27\",\r\n \"52.239.190.192/26\",\r\n \"52.245.100.0/22\"\ - ,\r\n \"104.44.94.224/27\",\r\n \"2603:1040:e00::/47\",\r\ - \n \"2603:1040:e02::/48\",\r\n \"2603:1040:e04::/48\",\r\ - \n \"2603:1040:e05::/48\",\r\n \"2603:1046:1405::/48\",\r\ - \n \"2603:1046:1500:1c::/64\",\r\n \"2603:1046:2000:e0::/59\"\ - ,\r\n \"2603:1047:1:e0::/59\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"AzureCloud.northcentralus\",\r\n \"id\"\ - : \"AzureCloud.northcentralus\",\r\n \"properties\": {\r\n \"\ - changeNumber\": \"2\",\r\n \"region\": \"northcentralus\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"\ - API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": \"\ - \",\r\n \"addressPrefixes\": [\r\n \"13.105.26.0/24\",\r\n\ - \ \"13.105.28.16/28\",\r\n \"13.105.29.0/25\",\r\n \ - \ \"13.105.37.64/26\",\r\n \"13.105.37.128/26\",\r\n \ - \ \"20.36.96.0/21\",\r\n \"20.41.128.0/18\",\r\n \"20.47.3.0/24\"\ - ,\r\n \"20.47.15.0/24\",\r\n \"20.47.107.0/24\",\r\n \ - \ \"20.47.119.0/24\",\r\n \"20.49.112.0/21\",\r\n \ - \ \"20.51.0.0/21\",\r\n \"20.59.192.0/18\",\r\n \"20.60.28.0/23\"\ - ,\r\n \"20.60.82.0/23\",\r\n \"20.66.128.0/17\",\r\n \ - \ \"20.72.32.0/19\",\r\n \"20.80.0.0/18\",\r\n \"\ - 20.135.12.0/22\",\r\n \"20.135.70.0/23\",\r\n \"20.150.17.0/25\"\ - ,\r\n \"20.150.25.0/24\",\r\n \"20.150.49.0/24\",\r\n \ - \ \"20.150.67.0/24\",\r\n \"20.150.126.0/24\",\r\n \ - \ \"20.157.47.0/24\",\r\n \"20.190.135.0/24\",\r\n \"\ - 20.190.156.0/24\",\r\n \"23.96.128.0/17\",\r\n \"23.98.48.0/21\"\ - ,\r\n \"23.100.72.0/21\",\r\n \"23.100.224.0/20\",\r\n \ - \ \"23.101.160.0/20\",\r\n \"40.77.131.224/28\",\r\n \ - \ \"40.77.136.96/28\",\r\n \"40.77.137.192/27\",\r\n \ - \ \"40.77.139.0/25\",\r\n \"40.77.175.0/27\",\r\n \"40.77.176.0/24\"\ - ,\r\n \"40.77.182.128/27\",\r\n \"40.77.183.0/24\",\r\n\ - \ \"40.77.188.0/22\",\r\n \"40.77.196.0/24\",\r\n \ - \ \"40.77.198.64/26\",\r\n \"40.77.200.128/25\",\r\n \ - \ \"40.77.224.0/28\",\r\n \"40.77.224.32/27\",\r\n \"40.77.231.0/24\"\ - ,\r\n \"40.77.234.0/25\",\r\n \"40.77.236.32/27\",\r\n \ - \ \"40.77.236.160/28\",\r\n \"40.77.237.0/26\",\r\n \ - \ \"40.77.248.128/25\",\r\n \"40.77.254.0/26\",\r\n \ - \ \"40.77.255.192/26\",\r\n \"40.78.208.64/28\",\r\n \"\ - 40.78.222.0/24\",\r\n \"40.80.184.0/21\",\r\n \"40.81.32.0/20\"\ - ,\r\n \"40.87.172.0/22\",\r\n \"40.90.19.64/26\",\r\n \ - \ \"40.90.132.96/27\",\r\n \"40.90.133.128/28\",\r\n \ - \ \"40.90.135.64/26\",\r\n \"40.90.140.128/27\",\r\n \ - \ \"40.90.144.32/27\",\r\n \"40.90.155.192/26\",\r\n \"\ - 40.91.24.0/22\",\r\n \"40.116.0.0/16\",\r\n \"40.126.7.0/24\"\ - ,\r\n \"40.126.28.0/24\",\r\n \"52.108.182.0/24\",\r\n \ - \ \"52.108.203.0/24\",\r\n \"52.109.16.0/22\",\r\n \ - \ \"52.111.235.0/24\",\r\n \"52.112.94.0/24\",\r\n \"\ - 52.113.198.0/24\",\r\n \"52.114.168.0/22\",\r\n \"52.141.128.0/18\"\ - ,\r\n \"52.162.0.0/16\",\r\n \"52.232.156.0/24\",\r\n \ - \ \"52.237.128.0/18\",\r\n \"52.239.149.0/24\",\r\n \ - \ \"52.239.186.0/24\",\r\n \"52.239.253.0/24\",\r\n \"\ - 52.240.128.0/17\",\r\n \"52.245.72.0/22\",\r\n \"52.252.128.0/17\"\ - ,\r\n \"65.52.0.0/19\",\r\n \"65.52.48.0/20\",\r\n \ - \ \"65.52.104.0/24\",\r\n \"65.52.106.0/24\",\r\n \"\ - 65.52.192.0/19\",\r\n \"65.52.232.0/21\",\r\n \"65.52.240.0/21\"\ - ,\r\n \"65.55.60.176/29\",\r\n \"65.55.105.192/27\",\r\n\ - \ \"65.55.106.208/28\",\r\n \"65.55.106.224/28\",\r\n \ - \ \"65.55.109.0/24\",\r\n \"65.55.211.0/27\",\r\n \ - \ \"65.55.212.0/27\",\r\n \"65.55.212.128/25\",\r\n \"\ - 65.55.213.0/27\",\r\n \"65.55.218.0/24\",\r\n \"65.55.219.0/27\"\ - ,\r\n \"104.44.88.128/27\",\r\n \"104.44.91.128/27\",\r\n\ - \ \"104.44.94.64/28\",\r\n \"104.47.220.0/22\",\r\n \ - \ \"131.253.12.16/28\",\r\n \"131.253.12.40/29\",\r\n \ - \ \"131.253.12.48/29\",\r\n \"131.253.12.192/28\",\r\n \ - \ \"131.253.12.248/29\",\r\n \"131.253.13.0/28\",\r\n \ - \ \"131.253.13.32/28\",\r\n \"131.253.14.32/27\",\r\n \"\ - 131.253.14.160/27\",\r\n \"131.253.14.248/29\",\r\n \"131.253.15.32/27\"\ - ,\r\n \"131.253.15.208/28\",\r\n \"131.253.15.224/27\",\r\ - \n \"131.253.25.0/24\",\r\n \"131.253.27.0/24\",\r\n \ - \ \"131.253.36.128/26\",\r\n \"131.253.38.32/27\",\r\n \ - \ \"131.253.38.224/27\",\r\n \"131.253.40.16/28\",\r\n \ - \ \"131.253.40.32/28\",\r\n \"131.253.40.96/27\",\r\n \ - \ \"131.253.40.192/26\",\r\n \"157.55.24.0/21\",\r\n \"\ - 157.55.55.0/27\",\r\n \"157.55.55.32/28\",\r\n \"157.55.55.152/29\"\ - ,\r\n \"157.55.55.176/29\",\r\n \"157.55.55.200/29\",\r\n\ - \ \"157.55.55.216/29\",\r\n \"157.55.60.224/27\",\r\n \ - \ \"157.55.64.0/20\",\r\n \"157.55.106.128/25\",\r\n \ - \ \"157.55.110.0/23\",\r\n \"157.55.115.0/25\",\r\n \ - \ \"157.55.136.0/21\",\r\n \"157.55.151.0/28\",\r\n \"157.55.160.0/20\"\ - ,\r\n \"157.55.208.0/21\",\r\n \"157.55.248.0/21\",\r\n\ - \ \"157.56.8.0/21\",\r\n \"157.56.24.160/27\",\r\n \ - \ \"157.56.24.192/28\",\r\n \"157.56.28.0/22\",\r\n \ - \ \"157.56.216.0/26\",\r\n \"168.62.96.0/19\",\r\n \"168.62.224.0/19\"\ - ,\r\n \"191.233.144.0/20\",\r\n \"191.236.128.0/18\",\r\n\ - \ \"199.30.31.0/25\",\r\n \"204.79.180.0/24\",\r\n \ - \ \"207.46.193.192/28\",\r\n \"207.46.193.224/27\",\r\n \ - \ \"207.46.198.128/25\",\r\n \"207.46.200.96/27\",\r\n \ - \ \"207.46.200.176/28\",\r\n \"207.46.202.128/28\",\r\n \ - \ \"207.46.205.0/24\",\r\n \"207.68.174.40/29\",\r\n \ - \ \"207.68.174.184/29\",\r\n \"2603:1030:600::/46\",\r\n \ - \ \"2603:1030:604::/47\",\r\n \"2603:1030:607::/48\",\r\n \ - \ \"2603:1030:608::/48\",\r\n \"2603:1036:2406::/48\",\r\n \ - \ \"2603:1036:2500:8::/64\",\r\n \"2603:1036:3000:60::/59\"\ - ,\r\n \"2603:1037:1:60::/59\",\r\n \"2a01:111:f100:1000::/62\"\ - ,\r\n \"2a01:111:f100:1004::/63\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"AzureCloud.northeurope\",\r\n \"id\"\ - : \"AzureCloud.northeurope\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"2\",\r\n \"region\": \"northeurope\",\r\n \"state\": \"\ - GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\n \ - \ \"NSG\"\r\n ],\r\n \"systemService\": \"\",\r\n \"\ - addressPrefixes\": [\r\n \"13.69.128.0/17\",\r\n \"13.70.192.0/18\"\ - ,\r\n \"13.74.0.0/16\",\r\n \"13.79.0.0/16\",\r\n \ - \ \"13.94.64.0/18\",\r\n \"13.104.148.0/25\",\r\n \"\ - 13.104.149.128/25\",\r\n \"13.104.150.0/25\",\r\n \"13.104.208.160/28\"\ - ,\r\n \"13.104.210.0/24\",\r\n \"13.105.18.0/26\",\r\n \ - \ \"13.105.21.0/24\",\r\n \"13.105.28.48/28\",\r\n \ - \ \"13.105.37.192/26\",\r\n \"13.105.60.192/26\",\r\n \ - \ \"13.105.67.0/25\",\r\n \"13.105.96.128/25\",\r\n \"\ - 20.38.64.0/19\",\r\n \"20.38.102.0/23\",\r\n \"20.47.8.0/24\"\ - ,\r\n \"20.47.20.0/23\",\r\n \"20.47.32.0/24\",\r\n \ - \ \"20.47.111.0/24\",\r\n \"20.47.117.0/24\",\r\n \"\ - 20.50.64.0/20\",\r\n \"20.50.80.0/21\",\r\n \"20.54.0.0/17\"\ - ,\r\n \"20.60.19.0/24\",\r\n \"20.60.40.0/23\",\r\n \ - \ \"20.60.144.0/23\",\r\n \"20.67.128.0/17\",\r\n \"\ - 20.82.128.0/17\",\r\n \"20.135.20.0/22\",\r\n \"20.135.134.0/23\"\ - ,\r\n \"20.135.136.0/22\",\r\n \"20.150.26.0/24\",\r\n \ - \ \"20.150.47.128/25\",\r\n \"20.150.48.0/24\",\r\n \ - \ \"20.150.75.0/24\",\r\n \"20.150.84.0/24\",\r\n \"\ - 20.150.104.0/24\",\r\n \"20.190.129.0/24\",\r\n \"20.190.159.0/24\"\ - ,\r\n \"20.191.0.0/18\",\r\n \"23.100.48.0/20\",\r\n \ - \ \"23.100.128.0/18\",\r\n \"23.101.48.0/20\",\r\n \ - \ \"23.102.0.0/18\",\r\n \"40.67.224.0/19\",\r\n \"40.69.0.0/18\"\ - ,\r\n \"40.69.64.0/19\",\r\n \"40.69.192.0/19\",\r\n \ - \ \"40.77.133.0/24\",\r\n \"40.77.136.32/28\",\r\n \ - \ \"40.77.136.80/28\",\r\n \"40.77.165.0/24\",\r\n \"40.77.174.0/24\"\ - ,\r\n \"40.77.175.160/27\",\r\n \"40.77.182.96/27\",\r\n\ - \ \"40.77.226.128/25\",\r\n \"40.77.229.0/24\",\r\n \ - \ \"40.77.234.160/27\",\r\n \"40.77.236.0/27\",\r\n \ - \ \"40.77.236.176/28\",\r\n \"40.77.255.0/25\",\r\n \"\ - 40.78.211.0/24\",\r\n \"40.79.204.0/27\",\r\n \"40.79.204.32/28\"\ - ,\r\n \"40.79.204.64/27\",\r\n \"40.85.0.0/17\",\r\n \ - \ \"40.85.128.0/20\",\r\n \"40.87.128.0/19\",\r\n \ - \ \"40.87.188.0/22\",\r\n \"40.90.17.192/27\",\r\n \"40.90.25.64/26\"\ - ,\r\n \"40.90.25.128/26\",\r\n \"40.90.31.128/25\",\r\n\ - \ \"40.90.128.16/28\",\r\n \"40.90.129.192/27\",\r\n \ - \ \"40.90.130.224/28\",\r\n \"40.90.133.64/27\",\r\n \ - \ \"40.90.136.176/28\",\r\n \"40.90.137.192/27\",\r\n \ - \ \"40.90.140.64/27\",\r\n \"40.90.141.96/27\",\r\n \"\ - 40.90.141.128/27\",\r\n \"40.90.145.0/27\",\r\n \"40.90.145.224/27\"\ - ,\r\n \"40.90.147.96/27\",\r\n \"40.90.148.160/28\",\r\n\ - \ \"40.90.149.128/25\",\r\n \"40.90.153.128/25\",\r\n \ - \ \"40.91.20.0/22\",\r\n \"40.91.32.0/22\",\r\n \"\ - 40.112.36.0/25\",\r\n \"40.112.37.64/26\",\r\n \"40.112.64.0/19\"\ - ,\r\n \"40.113.0.0/18\",\r\n \"40.113.64.0/19\",\r\n \ - \ \"40.115.96.0/19\",\r\n \"40.126.1.0/24\",\r\n \"\ - 40.126.31.0/24\",\r\n \"40.127.96.0/20\",\r\n \"40.127.128.0/17\"\ - ,\r\n \"51.104.64.0/18\",\r\n \"51.104.128.0/18\",\r\n \ - \ \"52.108.174.0/23\",\r\n \"52.108.176.0/24\",\r\n \ - \ \"52.108.196.0/24\",\r\n \"52.108.240.0/21\",\r\n \ - \ \"52.109.76.0/22\",\r\n \"52.111.236.0/24\",\r\n \"52.112.191.0/24\"\ - ,\r\n \"52.112.229.0/24\",\r\n \"52.112.232.0/24\",\r\n\ - \ \"52.112.236.0/24\",\r\n \"52.113.40.0/21\",\r\n \ - \ \"52.113.48.0/20\",\r\n \"52.113.112.0/20\",\r\n \"\ - 52.113.136.0/21\",\r\n \"52.113.205.0/24\",\r\n \"52.114.76.0/22\"\ - ,\r\n \"52.114.96.0/21\",\r\n \"52.114.120.0/22\",\r\n \ - \ \"52.114.231.0/24\",\r\n \"52.114.233.0/24\",\r\n \ - \ \"52.114.248.0/22\",\r\n \"52.115.16.0/21\",\r\n \"\ - 52.115.24.0/22\",\r\n \"52.120.136.0/21\",\r\n \"52.120.192.0/20\"\ - ,\r\n \"52.121.16.0/21\",\r\n \"52.121.48.0/20\",\r\n \ - \ \"52.125.138.0/23\",\r\n \"52.138.128.0/17\",\r\n \ - \ \"52.142.64.0/18\",\r\n \"52.143.195.0/24\",\r\n \"\ - 52.143.209.0/24\",\r\n \"52.146.128.0/17\",\r\n \"52.155.64.0/19\"\ - ,\r\n \"52.155.128.0/17\",\r\n \"52.156.192.0/18\",\r\n\ - \ \"52.158.0.0/17\",\r\n \"52.164.0.0/16\",\r\n \ - \ \"52.169.0.0/16\",\r\n \"52.178.128.0/17\",\r\n \"52.232.148.0/24\"\ - ,\r\n \"52.236.0.0/17\",\r\n \"52.239.136.0/22\",\r\n \ - \ \"52.239.205.0/24\",\r\n \"52.239.248.0/24\",\r\n \ - \ \"52.245.40.0/22\",\r\n \"52.245.88.0/22\",\r\n \"\ - 65.52.64.0/20\",\r\n \"65.52.224.0/21\",\r\n \"94.245.88.0/21\"\ - ,\r\n \"94.245.104.0/21\",\r\n \"94.245.114.1/32\",\r\n\ - \ \"94.245.114.2/31\",\r\n \"94.245.114.4/32\",\r\n \ - \ \"94.245.114.33/32\",\r\n \"94.245.114.34/31\",\r\n \ - \ \"94.245.114.36/32\",\r\n \"94.245.117.96/27\",\r\n \ - \ \"94.245.118.0/27\",\r\n \"94.245.118.65/32\",\r\n \"\ - 94.245.118.66/31\",\r\n \"94.245.118.68/32\",\r\n \"94.245.118.97/32\"\ - ,\r\n \"94.245.118.98/31\",\r\n \"94.245.118.100/32\",\r\ - \n \"94.245.118.129/32\",\r\n \"94.245.118.130/31\",\r\n\ - \ \"94.245.118.132/32\",\r\n \"94.245.120.128/28\",\r\n\ - \ \"94.245.122.0/24\",\r\n \"94.245.123.144/28\",\r\n \ - \ \"94.245.123.176/28\",\r\n \"104.41.64.0/18\",\r\n \ - \ \"104.41.192.0/18\",\r\n \"104.44.88.64/27\",\r\n \ - \ \"104.44.91.64/27\",\r\n \"104.44.92.192/27\",\r\n \"\ - 104.44.94.32/28\",\r\n \"104.45.80.0/20\",\r\n \"104.45.96.0/19\"\ - ,\r\n \"104.46.8.0/21\",\r\n \"104.46.64.0/19\",\r\n \ - \ \"104.47.218.0/23\",\r\n \"131.253.40.80/28\",\r\n \ - \ \"134.170.80.64/28\",\r\n \"137.116.224.0/19\",\r\n \ - \ \"137.135.128.0/17\",\r\n \"138.91.48.0/20\",\r\n \"\ - 157.55.3.0/24\",\r\n \"157.55.10.160/29\",\r\n \"157.55.10.176/28\"\ - ,\r\n \"157.55.13.128/26\",\r\n \"157.55.107.0/24\",\r\n\ - \ \"157.55.204.128/25\",\r\n \"168.61.80.0/20\",\r\n \ - \ \"168.61.96.0/19\",\r\n \"168.63.32.0/19\",\r\n \ - \ \"168.63.64.0/20\",\r\n \"168.63.80.0/21\",\r\n \"168.63.92.0/22\"\ - ,\r\n \"191.232.138.0/23\",\r\n \"191.235.128.0/18\",\r\n\ - \ \"191.235.192.0/22\",\r\n \"191.235.208.0/20\",\r\n \ - \ \"191.235.255.0/24\",\r\n \"191.237.192.0/23\",\r\n \ - \ \"191.237.194.0/24\",\r\n \"191.237.196.0/24\",\r\n \ - \ \"191.237.208.0/20\",\r\n \"191.238.96.0/19\",\r\n \ - \ \"191.239.208.0/20\",\r\n \"193.149.88.0/21\",\r\n \"\ - 2603:1020::/47\",\r\n \"2603:1020:2::/48\",\r\n \"2603:1020:4::/48\"\ - ,\r\n \"2603:1020:5::/48\",\r\n \"2603:1026:2404::/48\"\ - ,\r\n \"2603:1026:3000:c0::/59\",\r\n \"2603:1027:1:c0::/59\"\ - ,\r\n \"2a01:111:f100:a000::/63\",\r\n \"2a01:111:f100:a002::/64\"\ - ,\r\n \"2a01:111:f100:a004::/64\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"AzureCloud.norwaye\",\r\n \"id\":\ - \ \"AzureCloud.norwaye\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"1\",\r\n \"region\": \"norwaye\",\r\n \"state\": \"GA\"\ - ,\r\n \"networkFeatures\": [\r\n \"API\",\r\n \"\ - NSG\"\r\n ],\r\n \"systemService\": \"\",\r\n \"addressPrefixes\"\ - : [\r\n \"13.104.155.32/27\",\r\n \"13.104.158.0/28\",\r\ - \n \"13.104.158.32/27\",\r\n \"13.104.218.0/25\",\r\n \ - \ \"20.38.120.0/24\",\r\n \"20.47.48.0/24\",\r\n \ - \ \"20.135.158.0/23\",\r\n \"20.135.160.0/22\",\r\n \"20.150.53.0/24\"\ - ,\r\n \"20.150.121.0/24\",\r\n \"20.157.2.0/24\",\r\n \ - \ \"20.190.185.0/24\",\r\n \"40.82.84.0/22\",\r\n \ - \ \"40.119.104.0/22\",\r\n \"40.126.57.0/24\",\r\n \"40.126.200.0/24\"\ - ,\r\n \"51.13.0.0/17\",\r\n \"51.107.208.0/20\",\r\n \ - \ \"51.120.0.0/17\",\r\n \"51.120.208.0/21\",\r\n \ - \ \"51.120.232.0/21\",\r\n \"51.120.240.0/20\",\r\n \"52.108.77.0/24\"\ - ,\r\n \"52.108.98.0/24\",\r\n \"52.109.86.0/23\",\r\n \ - \ \"52.111.197.0/24\",\r\n \"52.114.234.0/24\",\r\n \ - \ \"52.253.168.0/24\",\r\n \"52.253.177.0/24\",\r\n \"\ - 52.253.178.0/24\",\r\n \"2603:1020:e00::/47\",\r\n \"2603:1020:e03::/48\"\ - ,\r\n \"2603:1020:e04::/48\",\r\n \"2603:1026:240e::/48\"\ - ,\r\n \"2603:1026:2500:28::/64\",\r\n \"2603:1026:3000:180::/59\"\ - ,\r\n \"2603:1027:1:180::/59\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"AzureCloud.norwayw\",\r\n \"id\": \"AzureCloud.norwayw\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \ - \ \"region\": \"norwayw\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"\ - systemService\": \"\",\r\n \"addressPrefixes\": [\r\n \"13.104.153.48/28\"\ - ,\r\n \"13.104.153.96/27\",\r\n \"13.104.155.0/27\",\r\n\ - \ \"13.104.217.128/25\",\r\n \"20.47.49.0/24\",\r\n \ - \ \"20.60.15.0/24\",\r\n \"20.135.58.0/23\",\r\n \"\ - 20.150.0.0/24\",\r\n \"20.150.56.0/24\",\r\n \"20.157.3.0/24\"\ - ,\r\n \"20.190.186.0/24\",\r\n \"40.119.108.0/22\",\r\n\ - \ \"40.126.58.0/24\",\r\n \"40.126.201.0/24\",\r\n \ - \ \"51.13.128.0/19\",\r\n \"51.120.128.0/18\",\r\n \"\ - 51.120.192.0/20\",\r\n \"51.120.216.0/21\",\r\n \"51.120.224.0/21\"\ - ,\r\n \"52.108.177.0/24\",\r\n \"52.108.198.0/24\",\r\n\ - \ \"52.109.144.0/23\",\r\n \"52.111.198.0/24\",\r\n \ - \ \"52.114.238.0/24\",\r\n \"52.253.167.0/24\",\r\n \ - \ \"2603:1020:f00::/47\",\r\n \"2603:1020:f03::/48\",\r\n \ - \ \"2603:1020:f04::/48\",\r\n \"2603:1026:2409::/48\",\r\n \ - \ \"2603:1026:2500:10::/64\",\r\n \"2603:1026:3000:80::/59\"\ - ,\r\n \"2603:1027:1:80::/59\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"AzureCloud.southafricanorth\",\r\n \"id\"\ - : \"AzureCloud.southafricanorth\",\r\n \"properties\": {\r\n \"\ - changeNumber\": \"2\",\r\n \"region\": \"southafricanorth\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"\ - API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": \"\ - \",\r\n \"addressPrefixes\": [\r\n \"13.104.158.128/27\",\r\ - \n \"13.104.158.160/28\",\r\n \"13.104.158.192/27\",\r\n\ - \ \"13.105.27.224/27\",\r\n \"20.38.114.128/25\",\r\n \ - \ \"20.45.128.0/21\",\r\n \"20.47.50.0/24\",\r\n \ - \ \"20.47.92.0/24\",\r\n \"20.87.0.0/18\",\r\n \"20.135.78.0/23\"\ - ,\r\n \"20.135.80.0/22\",\r\n \"20.150.21.0/24\",\r\n \ - \ \"20.150.62.0/24\",\r\n \"20.150.101.0/24\",\r\n \ - \ \"20.190.190.0/26\",\r\n \"40.79.203.0/24\",\r\n \"\ - 40.82.20.0/22\",\r\n \"40.82.120.0/22\",\r\n \"40.90.19.0/27\"\ - ,\r\n \"40.90.128.144/28\",\r\n \"40.90.130.144/28\",\r\n\ - \ \"40.90.133.160/27\",\r\n \"40.90.143.128/27\",\r\n \ - \ \"40.90.151.64/27\",\r\n \"40.90.157.224/27\",\r\n \ - \ \"40.119.64.0/22\",\r\n \"40.120.16.0/20\",\r\n \"\ - 40.123.240.0/20\",\r\n \"40.126.62.0/26\",\r\n \"40.127.0.0/19\"\ - ,\r\n \"52.108.54.0/23\",\r\n \"52.108.90.0/24\",\r\n \ - \ \"52.109.150.0/23\",\r\n \"52.111.237.0/24\",\r\n \ - \ \"52.114.112.0/23\",\r\n \"52.114.224.0/24\",\r\n \"\ - 52.121.86.0/23\",\r\n \"52.143.204.0/23\",\r\n \"52.143.206.0/24\"\ - ,\r\n \"52.239.232.0/25\",\r\n \"102.37.0.0/20\",\r\n \ - \ \"102.37.16.0/21\",\r\n \"102.37.24.0/23\",\r\n \ - \ \"102.37.26.32/27\",\r\n \"102.37.32.0/19\",\r\n \"102.37.72.0/21\"\ - ,\r\n \"102.37.96.0/19\",\r\n \"102.37.128.0/19\",\r\n \ - \ \"102.37.160.0/21\",\r\n \"102.37.192.0/18\",\r\n \ - \ \"102.133.120.0/21\",\r\n \"102.133.128.0/18\",\r\n \ - \ \"102.133.192.0/19\",\r\n \"102.133.224.0/20\",\r\n \ - \ \"102.133.240.0/25\",\r\n \"102.133.240.128/26\",\r\n \ - \ \"102.133.248.0/21\",\r\n \"2603:1000:100::/47\",\r\n \ - \ \"2603:1000:103::/48\",\r\n \"2603:1000:104::/48\",\r\n \ - \ \"2603:1006:1400::/63\",\r\n \"2603:1006:1500:4::/64\",\r\n \ - \ \"2603:1006:2000::/59\",\r\n \"2603:1007:200::/59\"\r\n\ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCloud.southafricawest\"\ - ,\r\n \"id\": \"AzureCloud.southafricawest\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"1\",\r\n \"region\": \"southafricawest\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"\",\r\n \"addressPrefixes\": [\r\n \"13.104.144.160/27\"\ - ,\r\n \"20.38.121.0/25\",\r\n \"20.45.136.0/21\",\r\n \ - \ \"20.47.51.0/24\",\r\n \"20.47.93.0/24\",\r\n \"\ - 20.60.8.0/24\",\r\n \"20.135.32.0/23\",\r\n \"20.150.20.0/25\"\ - ,\r\n \"20.190.189.192/26\",\r\n \"40.78.209.0/24\",\r\n\ - \ \"40.82.64.0/22\",\r\n \"40.90.17.0/27\",\r\n \ - \ \"40.90.128.96/28\",\r\n \"40.90.152.224/27\",\r\n \"\ - 40.117.0.0/19\",\r\n \"40.119.68.0/22\",\r\n \"40.126.61.192/26\"\ - ,\r\n \"52.108.187.0/24\",\r\n \"52.108.220.0/23\",\r\n\ - \ \"52.109.152.0/23\",\r\n \"52.111.238.0/24\",\r\n \ - \ \"52.114.228.0/24\",\r\n \"52.143.203.0/24\",\r\n \ - \ \"52.239.232.128/25\",\r\n \"102.37.26.0/27\",\r\n \"\ - 102.37.64.0/21\",\r\n \"102.37.80.0/21\",\r\n \"102.133.0.0/18\"\ - ,\r\n \"102.133.64.0/19\",\r\n \"102.133.96.0/20\",\r\n\ - \ \"102.133.112.0/28\",\r\n \"2603:1000::/47\",\r\n \ - \ \"2603:1000:3::/48\",\r\n \"2603:1000:4::/48\",\r\n \ - \ \"2603:1006:1401::/63\",\r\n \"2603:1006:1500::/64\",\r\n \ - \ \"2603:1006:2000:20::/59\",\r\n \"2603:1007:200:20::/59\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCloud.southcentralus\"\ - ,\r\n \"id\": \"AzureCloud.southcentralus\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"southcentralus\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"\",\r\n \"addressPrefixes\": [\r\n \"13.65.0.0/16\",\r\ - \n \"13.66.0.0/17\",\r\n \"13.73.240.0/20\",\r\n \ - \ \"13.84.0.0/15\",\r\n \"13.104.144.64/27\",\r\n \"13.104.208.128/27\"\ - ,\r\n \"13.104.217.0/25\",\r\n \"13.104.220.128/25\",\r\n\ - \ \"13.105.23.0/26\",\r\n \"13.105.25.0/24\",\r\n \ - \ \"13.105.53.0/25\",\r\n \"13.105.60.0/27\",\r\n \"\ - 13.105.60.32/28\",\r\n \"13.105.60.64/27\",\r\n \"13.105.66.192/26\"\ - ,\r\n \"20.38.104.0/23\",\r\n \"20.45.0.0/18\",\r\n \ - \ \"20.45.120.0/21\",\r\n \"20.47.0.0/24\",\r\n \"\ - 20.47.24.0/23\",\r\n \"20.47.29.0/24\",\r\n \"20.47.69.0/24\"\ - ,\r\n \"20.47.100.0/24\",\r\n \"20.49.88.0/21\",\r\n \ - \ \"20.60.48.0/22\",\r\n \"20.60.64.0/22\",\r\n \"\ - 20.60.140.0/23\",\r\n \"20.60.148.0/23\",\r\n \"20.60.160.0/23\"\ - ,\r\n \"20.64.0.0/17\",\r\n \"20.65.128.0/17\",\r\n \ - \ \"20.135.8.0/22\",\r\n \"20.135.216.0/22\",\r\n \"\ - 20.135.220.0/23\",\r\n \"20.150.20.128/25\",\r\n \"20.150.38.0/23\"\ - ,\r\n \"20.150.70.0/24\",\r\n \"20.150.79.0/24\",\r\n \ - \ \"20.150.93.0/24\",\r\n \"20.150.94.0/24\",\r\n \ - \ \"20.157.43.0/24\",\r\n \"20.157.54.0/24\",\r\n \"20.188.64.0/19\"\ - ,\r\n \"20.189.0.0/18\",\r\n \"20.190.128.0/24\",\r\n \ - \ \"20.190.157.0/24\",\r\n \"23.98.128.0/17\",\r\n \ - \ \"23.100.120.0/21\",\r\n \"23.101.176.0/20\",\r\n \"\ - 23.102.128.0/18\",\r\n \"40.74.160.0/19\",\r\n \"40.74.192.0/18\"\ - ,\r\n \"40.77.130.192/26\",\r\n \"40.77.131.0/25\",\r\n\ - \ \"40.77.131.128/26\",\r\n \"40.77.172.0/24\",\r\n \ - \ \"40.77.199.0/25\",\r\n \"40.77.225.0/24\",\r\n \"\ - 40.78.214.0/24\",\r\n \"40.79.206.160/27\",\r\n \"40.79.206.192/27\"\ - ,\r\n \"40.79.207.80/28\",\r\n \"40.79.207.128/25\",\r\n\ - \ \"40.80.192.0/19\",\r\n \"40.84.128.0/17\",\r\n \ - \ \"40.86.128.0/19\",\r\n \"40.87.176.0/25\",\r\n \"\ - 40.87.176.128/27\",\r\n \"40.87.176.160/29\",\r\n \"40.87.176.174/31\"\ - ,\r\n \"40.87.176.184/30\",\r\n \"40.87.176.192/28\",\r\n\ - \ \"40.87.176.216/29\",\r\n \"40.87.176.224/29\",\r\n \ - \ \"40.87.176.232/31\",\r\n \"40.87.176.240/28\",\r\n \ - \ \"40.87.177.16/28\",\r\n \"40.87.177.32/27\",\r\n \ - \ \"40.87.177.64/27\",\r\n \"40.87.177.96/28\",\r\n \"\ - 40.87.177.112/29\",\r\n \"40.87.177.120/31\",\r\n \"40.87.177.124/30\"\ - ,\r\n \"40.87.177.128/28\",\r\n \"40.87.177.144/29\",\r\n\ - \ \"40.87.177.152/31\",\r\n \"40.87.177.156/30\",\r\n \ - \ \"40.87.177.160/27\",\r\n \"40.87.177.192/29\",\r\n \ - \ \"40.87.177.200/30\",\r\n \"40.87.177.212/30\",\r\n \ - \ \"40.87.177.216/29\",\r\n \"40.87.177.224/27\",\r\n \ - \ \"40.87.178.0/26\",\r\n \"40.87.178.64/29\",\r\n \"40.90.16.128/27\"\ - ,\r\n \"40.90.18.64/26\",\r\n \"40.90.27.64/26\",\r\n \ - \ \"40.90.27.128/26\",\r\n \"40.90.28.64/26\",\r\n \ - \ \"40.90.28.128/26\",\r\n \"40.90.30.160/27\",\r\n \"\ - 40.90.128.224/28\",\r\n \"40.90.133.96/28\",\r\n \"40.90.135.128/25\"\ - ,\r\n \"40.90.136.160/28\",\r\n \"40.90.145.160/27\",\r\n\ - \ \"40.90.148.0/26\",\r\n \"40.90.152.160/27\",\r\n \ - \ \"40.90.155.0/26\",\r\n \"40.91.16.0/22\",\r\n \"\ - 40.93.5.0/24\",\r\n \"40.119.0.0/18\",\r\n \"40.124.0.0/16\"\ - ,\r\n \"40.126.0.0/24\",\r\n \"40.126.29.0/24\",\r\n \ - \ \"52.101.11.0/24\",\r\n \"52.101.12.0/22\",\r\n \ - \ \"52.102.132.0/24\",\r\n \"52.103.6.0/24\",\r\n \"52.103.132.0/24\"\ - ,\r\n \"52.108.102.0/23\",\r\n \"52.108.104.0/24\",\r\n\ - \ \"52.108.197.0/24\",\r\n \"52.108.248.0/21\",\r\n \ - \ \"52.109.20.0/22\",\r\n \"52.111.239.0/24\",\r\n \ - \ \"52.112.24.0/21\",\r\n \"52.112.117.0/24\",\r\n \"52.113.160.0/19\"\ - ,\r\n \"52.113.206.0/24\",\r\n \"52.114.144.0/22\",\r\n\ - \ \"52.115.68.0/22\",\r\n \"52.115.72.0/22\",\r\n \ - \ \"52.115.84.0/22\",\r\n \"52.120.0.0/19\",\r\n \"52.120.152.0/22\"\ - ,\r\n \"52.121.0.0/21\",\r\n \"52.125.137.0/24\",\r\n \ - \ \"52.141.64.0/18\",\r\n \"52.152.0.0/17\",\r\n \ - \ \"52.153.64.0/18\",\r\n \"52.153.192.0/18\",\r\n \"52.171.0.0/16\"\ - ,\r\n \"52.183.192.0/18\",\r\n \"52.185.192.0/18\",\r\n\ - \ \"52.189.128.0/18\",\r\n \"52.232.159.0/24\",\r\n \ - \ \"52.239.158.0/23\",\r\n \"52.239.178.0/23\",\r\n \ - \ \"52.239.180.0/22\",\r\n \"52.239.199.0/24\",\r\n \"\ - 52.239.200.0/23\",\r\n \"52.239.203.0/24\",\r\n \"52.239.208.0/23\"\ - ,\r\n \"52.245.24.0/22\",\r\n \"52.248.0.0/17\",\r\n \ - \ \"52.249.0.0/18\",\r\n \"52.253.0.0/18\",\r\n \"\ - 52.253.179.0/24\",\r\n \"52.253.180.0/24\",\r\n \"52.255.64.0/18\"\ - ,\r\n \"65.52.32.0/21\",\r\n \"65.54.55.160/27\",\r\n \ - \ \"65.54.55.224/27\",\r\n \"70.37.48.0/20\",\r\n \ - \ \"70.37.64.0/18\",\r\n \"70.37.160.0/21\",\r\n \"104.44.89.0/27\"\ - ,\r\n \"104.44.89.64/27\",\r\n \"104.44.92.64/27\",\r\n\ - \ \"104.44.94.160/27\",\r\n \"104.44.128.0/18\",\r\n \ - \ \"104.47.208.0/23\",\r\n \"104.210.128.0/19\",\r\n \ - \ \"104.210.176.0/20\",\r\n \"104.210.192.0/19\",\r\n \ - \ \"104.214.0.0/17\",\r\n \"104.215.64.0/18\",\r\n \"131.253.40.64/28\"\ - ,\r\n \"157.55.51.224/28\",\r\n \"157.55.80.0/21\",\r\n\ - \ \"157.55.103.32/27\",\r\n \"157.55.153.224/28\",\r\n \ - \ \"157.55.176.0/20\",\r\n \"157.55.192.0/21\",\r\n \ - \ \"157.55.200.0/22\",\r\n \"157.55.204.1/32\",\r\n \ - \ \"157.55.204.2/31\",\r\n \"157.55.204.33/32\",\r\n \"\ - 157.55.204.34/31\",\r\n \"168.62.128.0/19\",\r\n \"191.238.144.0/20\"\ - ,\r\n \"191.238.160.0/19\",\r\n \"191.238.224.0/19\",\r\n\ - \ \"2603:1030:800::/48\",\r\n \"2603:1030:802::/47\",\r\n\ - \ \"2603:1030:804::/58\",\r\n \"2603:1030:804:40::/60\"\ - ,\r\n \"2603:1030:804:53::/64\",\r\n \"2603:1030:804:54::/64\"\ - ,\r\n \"2603:1030:804:5b::/64\",\r\n \"2603:1030:804:5c::/62\"\ - ,\r\n \"2603:1030:804:60::/62\",\r\n \"2603:1030:804:67::/64\"\ - ,\r\n \"2603:1030:804:68::/61\",\r\n \"2603:1030:804:70::/60\"\ - ,\r\n \"2603:1030:804:80::/59\",\r\n \"2603:1030:804:a0::/62\"\ - ,\r\n \"2603:1030:804:a4::/64\",\r\n \"2603:1030:804:a6::/63\"\ - ,\r\n \"2603:1030:804:a8::/61\",\r\n \"2603:1030:804:b0::/62\"\ - ,\r\n \"2603:1030:804:b4::/64\",\r\n \"2603:1030:804:b6::/63\"\ - ,\r\n \"2603:1030:804:b8::/61\",\r\n \"2603:1030:804:c0::/61\"\ - ,\r\n \"2603:1030:804:c8::/62\",\r\n \"2603:1030:804:cc::/63\"\ - ,\r\n \"2603:1030:804:d2::/63\",\r\n \"2603:1030:804:d4::/62\"\ - ,\r\n \"2603:1030:804:d8::/61\",\r\n \"2603:1030:804:e0::/59\"\ - ,\r\n \"2603:1030:804:100::/61\",\r\n \"2603:1030:804:108::/62\"\ - ,\r\n \"2603:1030:805::/48\",\r\n \"2603:1030:806::/48\"\ - ,\r\n \"2603:1030:807::/48\",\r\n \"2603:1036:2407::/48\"\ - ,\r\n \"2603:1036:2500:24::/64\",\r\n \"2603:1036:3000:140::/59\"\ - ,\r\n \"2603:1037:1:140::/59\",\r\n \"2a01:111:f100:4002::/64\"\ - ,\r\n \"2a01:111:f100:5000::/52\",\r\n \"2a01:111:f403:c10c::/62\"\ - ,\r\n \"2a01:111:f403:c90c::/62\",\r\n \"2a01:111:f403:d10c::/62\"\ - ,\r\n \"2a01:111:f403:d90c::/62\",\r\n \"2a01:111:f403:e00c::/62\"\ - ,\r\n \"2a01:111:f403:f90c::/62\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"AzureCloud.southeastasia\",\r\n \"\ - id\": \"AzureCloud.southeastasia\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"1\",\r\n \"region\": \"southeastasia\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"\",\r\n \"addressPrefixes\": [\r\n \"13.67.0.0/17\",\r\ - \n \"13.76.0.0/16\",\r\n \"13.104.149.0/26\",\r\n \ - \ \"13.104.153.0/27\",\r\n \"13.104.153.32/28\",\r\n \ - \ \"13.104.153.64/27\",\r\n \"13.104.153.192/26\",\r\n \"\ - 13.104.154.0/25\",\r\n \"13.104.213.128/25\",\r\n \"20.43.128.0/18\"\ - ,\r\n \"20.44.192.0/18\",\r\n \"20.47.9.0/24\",\r\n \ - \ \"20.47.33.0/24\",\r\n \"20.47.64.0/24\",\r\n \"\ - 20.47.98.0/24\",\r\n \"20.60.136.0/24\",\r\n \"20.60.138.0/23\"\ - ,\r\n \"20.135.84.0/22\",\r\n \"20.135.88.0/23\",\r\n \ - \ \"20.150.17.128/25\",\r\n \"20.150.28.0/24\",\r\n \ - \ \"20.150.86.0/24\",\r\n \"20.150.127.0/24\",\r\n \"\ - 20.184.0.0/18\",\r\n \"20.188.96.0/19\",\r\n \"20.190.64.0/19\"\ - ,\r\n \"20.190.140.0/25\",\r\n \"20.190.163.0/24\",\r\n\ - \ \"20.191.128.0/19\",\r\n \"20.195.0.0/18\",\r\n \ - \ \"20.195.64.0/21\",\r\n \"20.195.96.0/19\",\r\n \"\ - 20.197.64.0/18\",\r\n \"20.198.128.0/17\",\r\n \"23.97.48.0/20\"\ - ,\r\n \"23.98.64.0/18\",\r\n \"23.100.112.0/21\",\r\n \ - \ \"23.101.16.0/20\",\r\n \"40.65.128.0/18\",\r\n \ - \ \"40.78.223.0/24\",\r\n \"40.78.232.0/21\",\r\n \"40.79.206.32/27\"\ - ,\r\n \"40.82.28.0/22\",\r\n \"40.87.196.0/22\",\r\n \ - \ \"40.90.133.192/26\",\r\n \"40.90.134.0/26\",\r\n \ - \ \"40.90.137.64/27\",\r\n \"40.90.138.96/27\",\r\n \"\ - 40.90.146.160/27\",\r\n \"40.90.146.224/27\",\r\n \"40.90.154.128/26\"\ - ,\r\n \"40.90.160.0/19\",\r\n \"40.119.192.0/18\",\r\n \ - \ \"40.126.12.0/25\",\r\n \"40.126.35.0/24\",\r\n \ - \ \"52.108.68.0/23\",\r\n \"52.108.91.0/24\",\r\n \"52.108.184.0/24\"\ - ,\r\n \"52.108.195.0/24\",\r\n \"52.108.206.0/23\",\r\n\ - \ \"52.108.236.0/22\",\r\n \"52.109.124.0/22\",\r\n \ - \ \"52.111.240.0/24\",\r\n \"52.112.40.0/21\",\r\n \ - \ \"52.112.48.0/20\",\r\n \"52.113.101.0/24\",\r\n \"52.113.105.0/24\"\ - ,\r\n \"52.113.109.0/24\",\r\n \"52.113.131.0/24\",\r\n\ - \ \"52.114.8.0/21\",\r\n \"52.114.54.0/23\",\r\n \ - \ \"52.114.56.0/23\",\r\n \"52.114.80.0/22\",\r\n \"52.114.216.0/22\"\ - ,\r\n \"52.115.32.0/22\",\r\n \"52.115.36.0/23\",\r\n \ - \ \"52.115.97.0/24\",\r\n \"52.120.144.0/21\",\r\n \ - \ \"52.120.156.0/24\",\r\n \"52.121.128.0/20\",\r\n \"\ - 52.121.144.0/21\",\r\n \"52.136.26.0/24\",\r\n \"52.139.192.0/18\"\ - ,\r\n \"52.143.196.0/24\",\r\n \"52.143.210.0/24\",\r\n\ - \ \"52.148.64.0/18\",\r\n \"52.163.0.0/16\",\r\n \ - \ \"52.187.0.0/17\",\r\n \"52.187.128.0/18\",\r\n \"52.230.0.0/17\"\ - ,\r\n \"52.237.64.0/18\",\r\n \"52.239.129.0/24\",\r\n \ - \ \"52.239.197.0/24\",\r\n \"52.239.227.0/24\",\r\n \ - \ \"52.239.249.0/24\",\r\n \"52.245.80.0/22\",\r\n \"\ - 52.253.80.0/20\",\r\n \"104.43.0.0/17\",\r\n \"104.44.89.32/27\"\ - ,\r\n \"104.44.90.128/27\",\r\n \"104.44.92.32/27\",\r\n\ - \ \"104.44.94.144/28\",\r\n \"104.44.95.192/28\",\r\n \ - \ \"104.44.95.224/28\",\r\n \"104.215.128.0/17\",\r\n \ - \ \"111.221.80.0/20\",\r\n \"111.221.96.0/20\",\r\n \ - \ \"137.116.128.0/19\",\r\n \"138.91.32.0/20\",\r\n \"\ - 168.63.90.0/24\",\r\n \"168.63.91.0/26\",\r\n \"168.63.160.0/19\"\ - ,\r\n \"168.63.224.0/19\",\r\n \"191.238.64.0/23\",\r\n\ - \ \"207.46.50.128/28\",\r\n \"207.46.59.64/27\",\r\n \ - \ \"207.46.63.64/27\",\r\n \"207.46.63.128/25\",\r\n \ - \ \"207.46.224.0/20\",\r\n \"2603:1040::/47\",\r\n \"\ - 2603:1040:2::/48\",\r\n \"2603:1040:4::/48\",\r\n \"2603:1040:5::/48\"\ - ,\r\n \"2603:1046:1406::/48\",\r\n \"2603:1046:1500:28::/64\"\ - ,\r\n \"2603:1046:2000:180::/59\",\r\n \"2603:1047:1:180::/59\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCloud.southfrance\"\ - ,\r\n \"id\": \"AzureCloud.southfrance\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"2\",\r\n \"region\": \"southfrance\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"\",\r\n \"addressPrefixes\": [\r\n \"13.104.150.192/26\"\ - ,\r\n \"13.104.151.0/26\",\r\n \"20.38.188.0/22\",\r\n \ - \ \"20.39.80.0/20\",\r\n \"20.47.28.0/24\",\r\n \ - \ \"20.47.102.0/24\",\r\n \"20.60.11.0/24\",\r\n \"20.60.188.0/23\"\ - ,\r\n \"20.135.28.0/23\",\r\n \"20.150.19.0/24\",\r\n \ - \ \"20.190.147.128/25\",\r\n \"20.190.178.0/24\",\r\n \ - \ \"40.79.176.0/21\",\r\n \"40.79.223.0/24\",\r\n \"\ - 40.80.20.0/22\",\r\n \"40.80.96.0/20\",\r\n \"40.82.224.0/20\"\ - ,\r\n \"40.90.132.32/28\",\r\n \"40.90.136.192/27\",\r\n\ - \ \"40.90.147.224/27\",\r\n \"40.126.19.128/25\",\r\n \ - \ \"40.126.50.0/24\",\r\n \"51.105.88.0/21\",\r\n \ - \ \"51.138.128.0/19\",\r\n \"51.138.160.0/21\",\r\n \"\ - 52.108.188.0/24\",\r\n \"52.108.222.0/23\",\r\n \"52.109.72.0/22\"\ - ,\r\n \"52.111.253.0/24\",\r\n \"52.114.108.0/22\",\r\n\ - \ \"52.136.8.0/21\",\r\n \"52.136.28.0/24\",\r\n \ - \ \"52.136.128.0/18\",\r\n \"52.239.135.0/26\",\r\n \"\ - 52.239.196.0/24\",\r\n \"52.245.120.0/22\",\r\n \"2603:1020:900::/47\"\ - ,\r\n \"2603:1020:902::/48\",\r\n \"2603:1020:904::/48\"\ - ,\r\n \"2603:1020:905::/48\",\r\n \"2603:1026:2401::/48\"\ - ,\r\n \"2603:1026:2500:2c::/64\",\r\n \"2603:1026:3000:1a0::/59\"\ - ,\r\n \"2603:1027:1:1a0::/59\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"AzureCloud.southindia\",\r\n \"id\": \"\ - AzureCloud.southindia\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"1\",\r\n \"region\": \"southindia\",\r\n \"state\": \"GA\"\ - ,\r\n \"networkFeatures\": [\r\n \"API\",\r\n \"\ - NSG\"\r\n ],\r\n \"systemService\": \"\",\r\n \"addressPrefixes\"\ - : [\r\n \"13.71.64.0/18\",\r\n \"13.104.153.128/26\",\r\n\ - \ \"20.40.0.0/21\",\r\n \"20.41.192.0/18\",\r\n \ - \ \"20.44.32.0/19\",\r\n \"20.47.52.0/24\",\r\n \"20.47.72.0/23\"\ - ,\r\n \"20.60.10.0/24\",\r\n \"20.135.42.0/23\",\r\n \ - \ \"20.150.24.0/24\",\r\n \"20.190.145.128/25\",\r\n \ - \ \"20.190.174.0/24\",\r\n \"20.192.128.0/19\",\r\n \"\ - 20.192.184.0/21\",\r\n \"40.78.192.0/21\",\r\n \"40.79.213.0/24\"\ - ,\r\n \"40.81.64.0/20\",\r\n \"40.87.216.0/22\",\r\n \ - \ \"40.90.26.64/26\",\r\n \"40.90.137.160/27\",\r\n \ - \ \"40.126.17.128/25\",\r\n \"40.126.46.0/24\",\r\n \"\ - 52.108.192.0/24\",\r\n \"52.108.230.0/23\",\r\n \"52.109.60.0/22\"\ - ,\r\n \"52.111.241.0/24\",\r\n \"52.113.15.0/24\",\r\n \ - \ \"52.114.24.0/22\",\r\n \"52.136.17.0/24\",\r\n \ - \ \"52.140.0.0/18\",\r\n \"52.172.0.0/17\",\r\n \"52.239.135.128/26\"\ - ,\r\n \"52.239.188.0/24\",\r\n \"52.245.84.0/22\",\r\n \ - \ \"104.44.92.160/27\",\r\n \"104.44.94.208/28\",\r\n \ - \ \"104.47.214.0/23\",\r\n \"104.211.192.0/18\",\r\n \ - \ \"2603:1040:c00::/46\",\r\n \"2603:1040:c05::/48\",\r\n \ - \ \"2603:1040:c06::/48\",\r\n \"2603:1046:1407::/48\",\r\n \ - \ \"2603:1046:1500:4::/64\",\r\n \"2603:1046:2000:60::/59\"\ - ,\r\n \"2603:1047:1:60::/59\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"AzureCloud.switzerlandn\",\r\n \"id\": \"\ - AzureCloud.switzerlandn\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"2\",\r\n \"region\": \"switzerlandn\",\r\n \"state\": \"\ - GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\n \ - \ \"NSG\"\r\n ],\r\n \"systemService\": \"\",\r\n \"\ - addressPrefixes\": [\r\n \"13.104.144.32/27\",\r\n \"13.104.211.192/26\"\ - ,\r\n \"20.47.53.0/24\",\r\n \"20.47.71.0/24\",\r\n \ - \ \"20.60.174.0/23\",\r\n \"20.135.170.0/23\",\r\n \ - \ \"20.135.172.0/22\",\r\n \"20.150.59.0/24\",\r\n \"20.150.118.0/24\"\ - ,\r\n \"20.190.183.0/24\",\r\n \"20.199.128.0/18\",\r\n\ - \ \"40.90.30.128/27\",\r\n \"40.90.128.208/28\",\r\n \ - \ \"40.119.80.0/22\",\r\n \"40.126.55.0/24\",\r\n \ - \ \"40.126.194.0/24\",\r\n \"51.103.128.0/18\",\r\n \"51.103.192.32/27\"\ - ,\r\n \"51.103.224.0/19\",\r\n \"51.107.0.0/18\",\r\n \ - \ \"51.107.64.0/19\",\r\n \"51.107.128.0/21\",\r\n \ - \ \"51.107.200.0/21\",\r\n \"51.107.240.0/21\",\r\n \"\ - 52.108.75.0/24\",\r\n \"52.108.96.0/24\",\r\n \"52.109.156.0/23\"\ - ,\r\n \"52.111.202.0/24\",\r\n \"52.114.226.0/24\",\r\n\ - \ \"52.239.251.0/24\",\r\n \"52.253.165.0/24\",\r\n \ - \ \"52.253.175.0/24\",\r\n \"52.253.176.0/24\",\r\n \ - \ \"2603:1020:a00::/47\",\r\n \"2603:1020:a03::/48\",\r\n \ - \ \"2603:1020:a04::/48\",\r\n \"2603:1026:240b::/48\",\r\n \ - \ \"2603:1026:2500:c::/64\",\r\n \"2603:1026:3000:60::/59\"\ - ,\r\n \"2603:1027:1:60::/59\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"AzureCloud.switzerlandw\",\r\n \"id\": \"\ - AzureCloud.switzerlandw\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"2\",\r\n \"region\": \"switzerlandw\",\r\n \"state\": \"\ - GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\n \ - \ \"NSG\"\r\n ],\r\n \"systemService\": \"\",\r\n \"\ - addressPrefixes\": [\r\n \"13.104.144.0/27\",\r\n \"13.104.212.0/26\"\ - ,\r\n \"20.47.26.0/24\",\r\n \"20.47.67.0/24\",\r\n \ - \ \"20.47.103.0/24\",\r\n \"20.60.176.0/23\",\r\n \"\ - 20.135.62.0/23\",\r\n \"20.150.55.0/24\",\r\n \"20.150.116.0/24\"\ - ,\r\n \"20.190.184.0/24\",\r\n \"40.90.19.32/27\",\r\n \ - \ \"40.90.128.192/28\",\r\n \"40.119.84.0/22\",\r\n \ - \ \"40.126.56.0/24\",\r\n \"40.126.195.0/24\",\r\n \"\ - 51.103.192.0/27\",\r\n \"51.107.96.0/19\",\r\n \"51.107.136.0/21\"\ - ,\r\n \"51.107.144.0/20\",\r\n \"51.107.160.0/20\",\r\n\ - \ \"51.107.192.0/21\",\r\n \"51.107.224.0/20\",\r\n \ - \ \"51.107.248.0/21\",\r\n \"52.108.179.0/24\",\r\n \ - \ \"52.108.200.0/24\",\r\n \"52.109.158.0/23\",\r\n \"\ - 52.111.203.0/24\",\r\n \"52.114.230.0/24\",\r\n \"52.239.250.0/24\"\ - ,\r\n \"52.253.166.0/24\",\r\n \"2603:1020:b00::/47\",\r\ - \n \"2603:1020:b03::/48\",\r\n \"2603:1020:b04::/48\",\r\ - \n \"2603:1026:240c::/48\",\r\n \"2603:1026:2500:20::/64\"\ - ,\r\n \"2603:1026:3000:120::/59\",\r\n \"2603:1027:1:120::/59\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCloud.uaecentral\"\ - ,\r\n \"id\": \"AzureCloud.uaecentral\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"1\",\r\n \"region\": \"uaecentral\",\r\ - \n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"\",\r\n \"addressPrefixes\": [\r\n \"13.104.159.128/26\"\ - ,\r\n \"20.37.64.0/19\",\r\n \"20.45.64.0/19\",\r\n \ - \ \"20.46.200.0/21\",\r\n \"20.46.208.0/20\",\r\n \"\ - 20.47.54.0/24\",\r\n \"20.47.94.0/24\",\r\n \"20.135.36.0/23\"\ - ,\r\n \"20.150.6.0/23\",\r\n \"20.150.115.0/24\",\r\n \ - \ \"20.190.188.0/24\",\r\n \"40.82.52.0/22\",\r\n \ - \ \"40.90.16.64/27\",\r\n \"40.90.128.48/28\",\r\n \"40.90.151.224/27\"\ - ,\r\n \"40.119.76.0/22\",\r\n \"40.120.0.0/20\",\r\n \ - \ \"40.125.0.0/19\",\r\n \"40.126.60.0/24\",\r\n \"\ - 40.126.193.0/24\",\r\n \"40.126.208.0/20\",\r\n \"52.108.183.0/24\"\ - ,\r\n \"52.108.204.0/23\",\r\n \"52.109.160.0/23\",\r\n\ - \ \"52.111.247.0/24\",\r\n \"52.114.232.0/24\",\r\n \ - \ \"52.143.221.0/24\",\r\n \"52.239.233.0/25\",\r\n \ - \ \"2603:1040:b00::/47\",\r\n \"2603:1040:b03::/48\",\r\n \ - \ \"2603:1040:b04::/48\",\r\n \"2603:1046:140b::/48\",\r\n \ - \ \"2603:1046:1500:30::/64\",\r\n \"2603:1046:2000:120::/59\"\ - ,\r\n \"2603:1047:1:120::/59\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"AzureCloud.uaenorth\",\r\n \"id\": \"AzureCloud.uaenorth\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \ - \ \"region\": \"uaenorth\",\r\n \"state\": \"GA\",\r\n \"\ - networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n \ - \ ],\r\n \"systemService\": \"\",\r\n \"addressPrefixes\":\ - \ [\r\n \"13.104.151.64/26\",\r\n \"13.104.151.128/26\"\ - ,\r\n \"13.105.61.16/28\",\r\n \"13.105.61.64/26\",\r\n\ - \ \"20.38.124.0/23\",\r\n \"20.38.136.0/21\",\r\n \ - \ \"20.38.152.0/21\",\r\n \"20.46.32.0/19\",\r\n \"20.46.144.0/20\"\ - ,\r\n \"20.46.192.0/21\",\r\n \"20.47.55.0/24\",\r\n \ - \ \"20.47.95.0/24\",\r\n \"20.60.21.0/24\",\r\n \"\ - 20.135.114.0/23\",\r\n \"20.135.116.0/22\",\r\n \"20.190.187.0/24\"\ - ,\r\n \"20.196.0.0/18\",\r\n \"40.90.16.96/27\",\r\n \ - \ \"40.90.128.64/28\",\r\n \"40.90.152.128/27\",\r\n \ - \ \"40.119.72.0/22\",\r\n \"40.119.160.0/19\",\r\n \"\ - 40.120.64.0/18\",\r\n \"40.123.192.0/19\",\r\n \"40.123.224.0/20\"\ - ,\r\n \"40.126.59.0/24\",\r\n \"40.126.192.0/24\",\r\n \ - \ \"52.108.70.0/23\",\r\n \"52.108.92.0/24\",\r\n \ - \ \"52.109.162.0/23\",\r\n \"52.111.204.0/24\",\r\n \"\ - 52.112.200.0/22\",\r\n \"52.112.204.0/23\",\r\n \"52.112.207.0/24\"\ - ,\r\n \"52.114.236.0/24\",\r\n \"52.121.100.0/22\",\r\n\ - \ \"52.121.104.0/23\",\r\n \"52.143.202.0/24\",\r\n \ - \ \"52.143.222.0/23\",\r\n \"52.239.233.128/25\",\r\n \ - \ \"65.52.248.0/21\",\r\n \"2603:1040:900::/47\",\r\n \ - \ \"2603:1040:903::/48\",\r\n \"2603:1040:904::/48\",\r\n \ - \ \"2603:1046:140a::/48\",\r\n \"2603:1046:1500:2c::/64\",\r\n\ - \ \"2603:1046:2000:100::/59\",\r\n \"2603:1047:1:100::/59\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCloud.uknorth\"\ - ,\r\n \"id\": \"AzureCloud.uknorth\",\r\n \"properties\": {\r\n\ - \ \"changeNumber\": \"2\",\r\n \"region\": \"uknorth\",\r\n\ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"\",\r\n \"addressPrefixes\": [\r\n \"13.87.64.0/18\",\r\ - \n \"20.39.144.0/20\",\r\n \"20.45.160.0/19\",\r\n \ - \ \"20.150.46.0/24\",\r\n \"20.190.143.128/25\",\r\n \ - \ \"20.190.170.0/24\",\r\n \"40.79.202.0/24\",\r\n \"40.80.16.0/22\"\ - ,\r\n \"40.81.96.0/20\",\r\n \"40.90.130.112/28\",\r\n \ - \ \"40.90.143.32/27\",\r\n \"40.90.150.64/27\",\r\n \ - \ \"40.126.15.128/25\",\r\n \"40.126.42.0/24\",\r\n \ - \ \"51.11.64.0/19\",\r\n \"51.105.80.0/21\",\r\n \"51.141.129.32/27\"\ - ,\r\n \"51.142.128.0/17\",\r\n \"52.108.137.0/24\",\r\n\ - \ \"52.109.36.0/22\",\r\n \"52.136.19.0/24\",\r\n \ - \ \"2603:1020:300::/47\",\r\n \"2603:1020:302::/48\",\r\n \ - \ \"2603:1020:304::/48\",\r\n \"2603:1020:305::/48\",\r\n \ - \ \"2603:1026:240f::/48\",\r\n \"2603:1026:2500:30::/64\"\ - ,\r\n \"2603:1026:3000:1c0::/59\",\r\n \"2603:1027:1:1c0::/59\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCloud.uksouth\"\ - ,\r\n \"id\": \"AzureCloud.uksouth\",\r\n \"properties\": {\r\n\ - \ \"changeNumber\": \"1\",\r\n \"region\": \"uksouth\",\r\n\ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"\",\r\n \"addressPrefixes\": [\r\n \"13.104.129.128/26\"\ - ,\r\n \"13.104.145.160/27\",\r\n \"13.104.146.64/26\",\r\ - \n \"13.104.159.0/25\",\r\n \"20.38.106.0/23\",\r\n \ - \ \"20.39.208.0/20\",\r\n \"20.39.224.0/21\",\r\n \"\ - 20.47.11.0/24\",\r\n \"20.47.34.0/24\",\r\n \"20.47.68.0/24\"\ - ,\r\n \"20.47.114.0/24\",\r\n \"20.49.128.0/17\",\r\n \ - \ \"20.50.96.0/19\",\r\n \"20.58.0.0/18\",\r\n \"\ - 20.60.17.0/24\",\r\n \"20.60.166.0/23\",\r\n \"20.68.0.0/18\"\ - ,\r\n \"20.68.128.0/17\",\r\n \"20.77.0.0/17\",\r\n \ - \ \"20.77.128.0/18\",\r\n \"20.135.176.0/22\",\r\n \ - \ \"20.135.180.0/23\",\r\n \"20.150.18.0/25\",\r\n \"20.150.40.0/25\"\ - ,\r\n \"20.150.41.0/24\",\r\n \"20.150.69.0/24\",\r\n \ - \ \"20.190.143.0/25\",\r\n \"20.190.169.0/24\",\r\n \ - \ \"40.79.215.0/24\",\r\n \"40.80.0.0/22\",\r\n \"40.81.128.0/19\"\ - ,\r\n \"40.82.88.0/22\",\r\n \"40.90.17.32/27\",\r\n \ - \ \"40.90.17.160/27\",\r\n \"40.90.29.192/26\",\r\n \ - \ \"40.90.128.112/28\",\r\n \"40.90.128.160/28\",\r\n \ - \ \"40.90.131.64/27\",\r\n \"40.90.139.64/27\",\r\n \"40.90.141.192/26\"\ - ,\r\n \"40.90.153.64/27\",\r\n \"40.90.154.0/26\",\r\n \ - \ \"40.120.32.0/19\",\r\n \"40.126.15.0/25\",\r\n \ - \ \"40.126.41.0/24\",\r\n \"51.11.0.0/18\",\r\n \"51.11.128.0/18\"\ - ,\r\n \"51.104.0.0/19\",\r\n \"51.104.192.0/18\",\r\n \ - \ \"51.105.0.0/18\",\r\n \"51.105.64.0/20\",\r\n \ - \ \"51.132.0.0/18\",\r\n \"51.132.128.0/17\",\r\n \"51.140.0.0/17\"\ - ,\r\n \"51.140.128.0/18\",\r\n \"51.141.128.32/27\",\r\n\ - \ \"51.141.129.64/26\",\r\n \"51.141.130.0/25\",\r\n \ - \ \"51.141.135.0/24\",\r\n \"51.141.192.0/18\",\r\n \ - \ \"51.143.128.0/18\",\r\n \"51.143.208.0/20\",\r\n \"\ - 51.143.224.0/19\",\r\n \"51.145.0.0/17\",\r\n \"52.108.50.0/23\"\ - ,\r\n \"52.108.88.0/24\",\r\n \"52.108.99.0/24\",\r\n \ - \ \"52.108.100.0/23\",\r\n \"52.109.28.0/22\",\r\n \ - \ \"52.111.242.0/24\",\r\n \"52.112.231.0/24\",\r\n \"\ - 52.112.240.0/20\",\r\n \"52.113.128.0/24\",\r\n \"52.113.200.0/22\"\ - ,\r\n \"52.113.204.0/24\",\r\n \"52.113.224.0/19\",\r\n\ - \ \"52.114.88.0/22\",\r\n \"52.120.160.0/19\",\r\n \ - \ \"52.120.240.0/20\",\r\n \"52.136.21.0/24\",\r\n \"\ - 52.151.64.0/18\",\r\n \"52.239.187.0/25\",\r\n \"52.239.231.0/24\"\ - ,\r\n \"52.245.64.0/22\",\r\n \"52.253.162.0/23\",\r\n \ - \ \"104.44.89.224/27\",\r\n \"2603:1020:700::/47\",\r\n \ - \ \"2603:1020:702::/48\",\r\n \"2603:1020:704::/48\",\r\n\ - \ \"2603:1020:705::/48\",\r\n \"2603:1026:2406::/48\",\r\ - \n \"2603:1026:2500:18::/64\",\r\n \"2603:1026:3000:e0::/59\"\ - ,\r\n \"2603:1027:1:e0::/59\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"AzureCloud.uksouth2\",\r\n \"id\": \"AzureCloud.uksouth2\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \ - \ \"region\": \"uksouth2\",\r\n \"state\": \"GA\",\r\n \"\ - networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n \ - \ ],\r\n \"systemService\": \"\",\r\n \"addressPrefixes\":\ - \ [\r\n \"13.87.0.0/18\",\r\n \"20.150.27.0/24\",\r\n \ - \ \"20.190.172.0/24\",\r\n \"40.79.201.0/24\",\r\n \ - \ \"40.80.12.0/22\",\r\n \"40.81.160.0/20\",\r\n \"40.90.130.128/28\"\ - ,\r\n \"40.90.143.64/27\",\r\n \"40.90.150.96/27\",\r\n\ - \ \"40.126.44.0/24\",\r\n \"51.141.129.0/27\",\r\n \ - \ \"51.141.129.192/26\",\r\n \"51.141.156.0/22\",\r\n \ - \ \"51.142.0.0/17\",\r\n \"51.143.192.0/21\",\r\n \"51.143.200.0/28\"\ - ,\r\n \"51.143.201.0/24\",\r\n \"52.108.138.0/24\",\r\n\ - \ \"52.109.40.0/22\",\r\n \"52.136.18.0/24\",\r\n \ - \ \"2603:1020:400::/47\",\r\n \"2603:1020:402::/48\",\r\n \ - \ \"2603:1020:404::/48\",\r\n \"2603:1020:405::/48\",\r\n \ - \ \"2603:1026:2403::/48\",\r\n \"2603:1026:2500:8::/64\",\r\ - \n \"2603:1026:3000:40::/59\",\r\n \"2603:1027:1:40::/59\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCloud.ukwest\"\ - ,\r\n \"id\": \"AzureCloud.ukwest\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"1\",\r\n \"region\": \"ukwest\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"\ - API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": \"\ - \",\r\n \"addressPrefixes\": [\r\n \"20.39.160.0/21\",\r\n\ - \ \"20.40.104.0/21\",\r\n \"20.47.56.0/24\",\r\n \ - \ \"20.47.82.0/23\",\r\n \"20.58.64.0/18\",\r\n \"20.60.164.0/23\"\ - ,\r\n \"20.68.64.0/18\",\r\n \"20.77.192.0/18\",\r\n \ - \ \"20.135.64.0/23\",\r\n \"20.150.2.0/23\",\r\n \"\ - 20.150.52.0/24\",\r\n \"20.150.110.0/24\",\r\n \"20.157.46.0/24\"\ - ,\r\n \"20.190.144.0/25\",\r\n \"20.190.171.0/24\",\r\n\ - \ \"40.79.218.0/24\",\r\n \"40.81.112.0/20\",\r\n \ - \ \"40.87.228.0/22\",\r\n \"40.90.28.192/26\",\r\n \"\ - 40.90.29.0/26\",\r\n \"40.90.131.96/27\",\r\n \"40.90.139.96/27\"\ - ,\r\n \"40.90.157.192/27\",\r\n \"40.126.16.0/25\",\r\n\ - \ \"40.126.43.0/24\",\r\n \"51.11.96.0/19\",\r\n \ - \ \"51.104.32.0/19\",\r\n \"51.132.64.0/18\",\r\n \"51.137.128.0/18\"\ - ,\r\n \"51.140.192.0/18\",\r\n \"51.141.0.0/17\",\r\n \ - \ \"51.141.128.0/27\",\r\n \"51.141.128.64/26\",\r\n \ - \ \"51.141.128.128/25\",\r\n \"51.141.129.128/26\",\r\n \ - \ \"51.141.134.0/24\",\r\n \"51.141.136.0/22\",\r\n \ - \ \"52.108.189.0/24\",\r\n \"52.108.224.0/23\",\r\n \"52.109.32.0/22\"\ - ,\r\n \"52.111.205.0/24\",\r\n \"52.112.168.0/22\",\r\n\ - \ \"52.112.212.0/24\",\r\n \"52.112.230.0/24\",\r\n \ - \ \"52.113.192.0/24\",\r\n \"52.114.84.0/22\",\r\n \ - \ \"52.114.92.0/22\",\r\n \"52.136.20.0/24\",\r\n \"52.142.128.0/18\"\ - ,\r\n \"52.239.240.0/24\",\r\n \"104.44.90.0/27\",\r\n \ - \ \"2603:1020:600::/47\",\r\n \"2603:1020:602::/48\",\r\n\ - \ \"2603:1020:604::/48\",\r\n \"2603:1020:605::/48\",\r\n\ - \ \"2603:1026:2407::/48\",\r\n \"2603:1026:3000:200::/59\"\ - ,\r\n \"2603:1027:1:200::/59\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"AzureCloud.westcentralus\",\r\n \"id\":\ - \ \"AzureCloud.westcentralus\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"1\",\r\n \"region\": \"westcentralus\",\r\n \"state\": \"\ - GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\n \ - \ \"NSG\"\r\n ],\r\n \"systemService\": \"\",\r\n \"\ - addressPrefixes\": [\r\n \"13.71.192.0/18\",\r\n \"13.77.192.0/19\"\ - ,\r\n \"13.78.128.0/17\",\r\n \"13.104.145.64/26\",\r\n\ - \ \"13.104.215.128/25\",\r\n \"13.104.219.0/25\",\r\n \ - \ \"20.47.4.0/24\",\r\n \"20.47.70.0/24\",\r\n \"\ - 20.47.104.0/24\",\r\n \"20.51.32.0/19\",\r\n \"20.55.128.0/18\"\ - ,\r\n \"20.57.224.0/19\",\r\n \"20.59.128.0/18\",\r\n \ - \ \"20.60.4.0/24\",\r\n \"20.69.0.0/18\",\r\n \"\ - 20.135.72.0/23\",\r\n \"20.150.81.0/24\",\r\n \"20.150.98.0/24\"\ - ,\r\n \"20.157.41.0/24\",\r\n \"20.190.136.0/24\",\r\n \ - \ \"20.190.158.0/24\",\r\n \"40.67.120.0/21\",\r\n \ - \ \"40.77.128.0/25\",\r\n \"40.77.131.192/27\",\r\n \"\ - 40.77.131.240/28\",\r\n \"40.77.135.0/24\",\r\n \"40.77.136.128/25\"\ - ,\r\n \"40.77.166.0/25\",\r\n \"40.77.166.128/28\",\r\n\ - \ \"40.77.173.0/24\",\r\n \"40.77.175.32/27\",\r\n \ - \ \"40.77.182.160/27\",\r\n \"40.77.185.0/25\",\r\n \ - \ \"40.77.224.16/28\",\r\n \"40.77.224.64/27\",\r\n \"40.77.227.0/24\"\ - ,\r\n \"40.77.232.0/25\",\r\n \"40.77.235.0/24\",\r\n \ - \ \"40.77.236.96/27\",\r\n \"40.77.246.0/24\",\r\n \ - \ \"40.78.218.0/24\",\r\n \"40.79.205.240/28\",\r\n \"\ - 40.79.206.224/27\",\r\n \"40.79.207.0/27\",\r\n \"40.90.131.0/27\"\ - ,\r\n \"40.90.138.192/28\",\r\n \"40.90.139.0/27\",\r\n\ - \ \"40.90.143.96/27\",\r\n \"40.90.151.0/26\",\r\n \ - \ \"40.90.151.128/28\",\r\n \"40.90.152.0/25\",\r\n \ - \ \"40.93.6.0/24\",\r\n \"40.96.255.0/24\",\r\n \"40.123.136.8/31\"\ - ,\r\n \"40.126.8.0/24\",\r\n \"40.126.30.0/24\",\r\n \ - \ \"52.101.24.0/22\",\r\n \"52.101.40.0/24\",\r\n \ - \ \"52.102.133.0/24\",\r\n \"52.103.7.0/24\",\r\n \"52.103.133.0/24\"\ - ,\r\n \"52.108.181.0/24\",\r\n \"52.108.202.0/24\",\r\n\ - \ \"52.109.136.0/22\",\r\n \"52.111.206.0/24\",\r\n \ - \ \"52.112.93.0/24\",\r\n \"52.113.207.0/24\",\r\n \ - \ \"52.136.4.0/22\",\r\n \"52.143.214.0/24\",\r\n \"52.148.0.0/18\"\ - ,\r\n \"52.150.128.0/17\",\r\n \"52.153.128.0/18\",\r\n\ - \ \"52.159.0.0/18\",\r\n \"52.161.0.0/16\",\r\n \ - \ \"52.239.164.0/25\",\r\n \"52.239.167.0/24\",\r\n \"\ - 52.239.244.0/23\",\r\n \"52.245.60.0/22\",\r\n \"52.253.128.0/20\"\ - ,\r\n \"64.4.8.0/24\",\r\n \"64.4.54.0/24\",\r\n \ - \ \"65.55.209.192/26\",\r\n \"104.44.89.96/27\",\r\n \"\ - 104.47.224.0/20\",\r\n \"131.253.24.160/27\",\r\n \"131.253.40.160/28\"\ - ,\r\n \"157.55.12.128/26\",\r\n \"157.55.103.128/25\",\r\ - \n \"207.68.174.48/29\",\r\n \"2603:1030:b00::/47\",\r\n\ - \ \"2603:1030:b03::/48\",\r\n \"2603:1030:b04::/48\",\r\n\ - \ \"2603:1030:b05::/48\",\r\n \"2603:1036:9ff:ffff::/64\"\ - ,\r\n \"2603:1036:2408::/48\",\r\n \"2603:1036:2500:20::/64\"\ - ,\r\n \"2603:1036:3000:180::/59\",\r\n \"2603:1037:1:180::/59\"\ - ,\r\n \"2a01:111:f403:c910::/62\",\r\n \"2a01:111:f403:d120::/62\"\ - ,\r\n \"2a01:111:f403:d910::/62\",\r\n \"2a01:111:f403:e010::/62\"\ - ,\r\n \"2a01:111:f403:f910::/62\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"AzureCloud.westeurope\",\r\n \"id\"\ - : \"AzureCloud.westeurope\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"2\",\r\n \"region\": \"westeurope\",\r\n \"state\": \"GA\"\ - ,\r\n \"networkFeatures\": [\r\n \"API\",\r\n \"\ - NSG\"\r\n ],\r\n \"systemService\": \"\",\r\n \"addressPrefixes\"\ - : [\r\n \"13.69.0.0/17\",\r\n \"13.73.128.0/18\",\r\n \ - \ \"13.73.224.0/21\",\r\n \"13.80.0.0/15\",\r\n \"\ - 13.88.200.0/21\",\r\n \"13.93.0.0/17\",\r\n \"13.94.128.0/17\"\ - ,\r\n \"13.95.0.0/16\",\r\n \"13.104.145.192/26\",\r\n \ - \ \"13.104.146.0/26\",\r\n \"13.104.146.128/25\",\r\n \ - \ \"13.104.158.176/28\",\r\n \"13.104.209.0/24\",\r\n \ - \ \"13.104.214.0/25\",\r\n \"13.104.218.128/25\",\r\n \ - \ \"13.105.22.0/24\",\r\n \"13.105.23.128/25\",\r\n \"\ - 13.105.28.32/28\",\r\n \"13.105.29.128/25\",\r\n \"13.105.60.48/28\"\ - ,\r\n \"13.105.60.96/27\",\r\n \"13.105.60.128/27\",\r\n\ - \ \"13.105.66.144/28\",\r\n \"20.38.108.0/23\",\r\n \ - \ \"20.38.200.0/22\",\r\n \"20.47.7.0/24\",\r\n \"\ - 20.47.18.0/23\",\r\n \"20.47.30.0/24\",\r\n \"20.47.96.0/23\"\ - ,\r\n \"20.47.115.0/24\",\r\n \"20.47.118.0/24\",\r\n \ - \ \"20.50.0.0/18\",\r\n \"20.50.128.0/17\",\r\n \"\ - 20.54.128.0/17\",\r\n \"20.56.0.0/16\",\r\n \"20.60.26.0/23\"\ - ,\r\n \"20.60.130.0/24\",\r\n \"20.60.150.0/23\",\r\n \ - \ \"20.61.0.0/16\",\r\n \"20.67.0.0/17\",\r\n \"\ - 20.71.0.0/16\",\r\n \"20.73.0.0/16\",\r\n \"20.76.0.0/16\"\ - ,\r\n \"20.82.0.0/17\",\r\n \"20.86.0.0/17\",\r\n \ - \ \"20.135.24.0/23\",\r\n \"20.135.140.0/22\",\r\n \"\ - 20.135.144.0/23\",\r\n \"20.150.8.0/23\",\r\n \"20.150.37.0/24\"\ - ,\r\n \"20.150.42.0/24\",\r\n \"20.150.74.0/24\",\r\n \ - \ \"20.150.76.0/24\",\r\n \"20.150.83.0/24\",\r\n \ - \ \"20.150.122.0/24\",\r\n \"20.157.33.0/24\",\r\n \"20.190.137.0/24\"\ - ,\r\n \"20.190.160.0/24\",\r\n \"23.97.128.0/17\",\r\n \ - \ \"23.98.46.0/24\",\r\n \"23.100.0.0/20\",\r\n \ - \ \"23.101.64.0/20\",\r\n \"40.67.192.0/19\",\r\n \"40.68.0.0/16\"\ - ,\r\n \"40.74.0.0/18\",\r\n \"40.78.210.0/24\",\r\n \ - \ \"40.79.205.192/27\",\r\n \"40.79.205.224/28\",\r\n \ - \ \"40.79.206.0/27\",\r\n \"40.82.92.0/22\",\r\n \"40.87.184.0/22\"\ - ,\r\n \"40.90.17.64/27\",\r\n \"40.90.18.192/26\",\r\n \ - \ \"40.90.20.128/25\",\r\n \"40.90.21.0/25\",\r\n \ - \ \"40.90.130.0/27\",\r\n \"40.90.133.0/27\",\r\n \"40.90.134.64/26\"\ - ,\r\n \"40.90.134.128/26\",\r\n \"40.90.138.0/27\",\r\n\ - \ \"40.90.141.32/27\",\r\n \"40.90.141.160/27\",\r\n \ - \ \"40.90.142.224/28\",\r\n \"40.90.144.192/27\",\r\n \ - \ \"40.90.145.192/27\",\r\n \"40.90.146.16/28\",\r\n \ - \ \"40.90.146.128/27\",\r\n \"40.90.150.128/25\",\r\n \"\ - 40.90.157.64/26\",\r\n \"40.90.159.0/24\",\r\n \"40.91.28.0/22\"\ - ,\r\n \"40.91.192.0/18\",\r\n \"40.112.36.128/25\",\r\n\ - \ \"40.112.37.0/26\",\r\n \"40.112.38.192/26\",\r\n \ - \ \"40.112.96.0/19\",\r\n \"40.113.96.0/19\",\r\n \"\ - 40.113.128.0/18\",\r\n \"40.114.128.0/17\",\r\n \"40.115.0.0/18\"\ - ,\r\n \"40.118.0.0/17\",\r\n \"40.119.128.0/19\",\r\n \ - \ \"40.126.9.0/24\",\r\n \"40.126.32.0/24\",\r\n \ - \ \"51.105.96.0/19\",\r\n \"51.105.128.0/17\",\r\n \"51.124.0.0/17\"\ - ,\r\n \"51.124.128.0/18\",\r\n \"51.136.0.0/16\",\r\n \ - \ \"51.137.0.0/17\",\r\n \"51.137.192.0/18\",\r\n \ - \ \"51.138.0.0/17\",\r\n \"51.144.0.0/16\",\r\n \"51.145.128.0/17\"\ - ,\r\n \"52.108.24.0/21\",\r\n \"52.108.56.0/21\",\r\n \ - \ \"52.108.80.0/24\",\r\n \"52.108.108.0/23\",\r\n \ - \ \"52.108.110.0/24\",\r\n \"52.109.88.0/22\",\r\n \"\ - 52.111.243.0/24\",\r\n \"52.112.14.0/23\",\r\n \"52.112.17.0/24\"\ - ,\r\n \"52.112.18.0/23\",\r\n \"52.112.71.0/24\",\r\n \ - \ \"52.112.83.0/24\",\r\n \"52.112.97.0/24\",\r\n \ - \ \"52.112.98.0/23\",\r\n \"52.112.110.0/23\",\r\n \"52.112.144.0/20\"\ - ,\r\n \"52.112.197.0/24\",\r\n \"52.112.216.0/21\",\r\n\ - \ \"52.112.233.0/24\",\r\n \"52.112.237.0/24\",\r\n \ - \ \"52.112.238.0/24\",\r\n \"52.113.9.0/24\",\r\n \"\ - 52.113.37.0/24\",\r\n \"52.113.83.0/24\",\r\n \"52.113.130.0/24\"\ - ,\r\n \"52.113.144.0/21\",\r\n \"52.113.199.0/24\",\r\n\ - \ \"52.114.64.0/21\",\r\n \"52.114.72.0/22\",\r\n \ - \ \"52.114.116.0/22\",\r\n \"52.114.241.0/24\",\r\n \"\ - 52.114.242.0/24\",\r\n \"52.114.252.0/22\",\r\n \"52.115.0.0/21\"\ - ,\r\n \"52.115.8.0/22\",\r\n \"52.120.128.0/21\",\r\n \ - \ \"52.120.208.0/20\",\r\n \"52.121.24.0/21\",\r\n \ - \ \"52.121.64.0/20\",\r\n \"52.125.140.0/23\",\r\n \"\ - 52.136.192.0/18\",\r\n \"52.137.0.0/18\",\r\n \"52.142.192.0/18\"\ - ,\r\n \"52.143.0.0/18\",\r\n \"52.143.194.0/24\",\r\n \ - \ \"52.143.208.0/24\",\r\n \"52.148.192.0/18\",\r\n \ - \ \"52.149.64.0/18\",\r\n \"52.157.64.0/18\",\r\n \"\ - 52.157.128.0/17\",\r\n \"52.166.0.0/16\",\r\n \"52.174.0.0/16\"\ - ,\r\n \"52.178.0.0/17\",\r\n \"52.232.0.0/17\",\r\n \ - \ \"52.232.147.0/24\",\r\n \"52.233.128.0/17\",\r\n \ - \ \"52.236.128.0/17\",\r\n \"52.239.140.0/22\",\r\n \"\ - 52.239.212.0/23\",\r\n \"52.239.242.0/23\",\r\n \"52.245.48.0/22\"\ - ,\r\n \"52.245.124.0/22\",\r\n \"65.52.128.0/19\",\r\n \ - \ \"104.40.128.0/17\",\r\n \"104.44.89.160/27\",\r\n \ - \ \"104.44.90.192/27\",\r\n \"104.44.93.0/27\",\r\n \ - \ \"104.44.93.192/27\",\r\n \"104.44.95.80/28\",\r\n \"\ - 104.44.95.96/28\",\r\n \"104.45.0.0/18\",\r\n \"104.45.64.0/20\"\ - ,\r\n \"104.46.32.0/19\",\r\n \"104.47.128.0/18\",\r\n \ - \ \"104.47.216.64/26\",\r\n \"104.214.192.0/18\",\r\n \ - \ \"137.116.192.0/19\",\r\n \"137.117.128.0/17\",\r\n \ - \ \"157.55.8.64/26\",\r\n \"157.55.8.144/28\",\r\n \"\ - 157.56.117.64/27\",\r\n \"168.61.56.0/21\",\r\n \"168.63.0.0/19\"\ - ,\r\n \"168.63.96.0/19\",\r\n \"191.233.64.0/18\",\r\n \ - \ \"191.237.232.0/22\",\r\n \"191.239.200.0/22\",\r\n \ - \ \"193.149.80.0/21\",\r\n \"213.199.128.0/20\",\r\n \ - \ \"213.199.180.32/28\",\r\n \"213.199.180.96/27\",\r\n \ - \ \"213.199.180.192/27\",\r\n \"213.199.183.0/24\",\r\n \ - \ \"2603:1020:200::/46\",\r\n \"2603:1020:205::/48\",\r\n \ - \ \"2603:1020:206::/48\",\r\n \"2603:1026:2405::/48\",\r\n \ - \ \"2603:1026:2500:24::/64\",\r\n \"2603:1026:3000:140::/59\"\ - ,\r\n \"2603:1027:1:140::/59\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"AzureCloud.westindia\",\r\n \"id\": \"AzureCloud.westindia\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n \ - \ \"region\": \"westindia\",\r\n \"state\": \"GA\",\r\n \"\ - networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n \ - \ ],\r\n \"systemService\": \"\",\r\n \"addressPrefixes\":\ - \ [\r\n \"13.104.157.128/25\",\r\n \"20.38.128.0/21\",\r\ - \n \"20.40.8.0/21\",\r\n \"20.47.57.0/24\",\r\n \ - \ \"20.47.124.0/23\",\r\n \"20.135.44.0/23\",\r\n \"20.150.18.128/25\"\ - ,\r\n \"20.150.43.0/25\",\r\n \"20.150.106.0/24\",\r\n \ - \ \"20.190.146.128/25\",\r\n \"20.190.176.0/24\",\r\n \ - \ \"20.192.64.0/19\",\r\n \"40.79.219.0/24\",\r\n \ - \ \"40.81.80.0/20\",\r\n \"40.87.220.0/22\",\r\n \"40.90.26.0/26\"\ - ,\r\n \"40.90.138.224/27\",\r\n \"40.126.18.128/25\",\r\n\ - \ \"40.126.48.0/24\",\r\n \"52.108.73.0/24\",\r\n \ - \ \"52.108.94.0/24\",\r\n \"52.109.64.0/22\",\r\n \"\ - 52.111.244.0/24\",\r\n \"52.113.134.0/24\",\r\n \"52.114.28.0/22\"\ - ,\r\n \"52.136.16.0/24\",\r\n \"52.136.32.0/19\",\r\n \ - \ \"52.140.128.0/18\",\r\n \"52.183.128.0/18\",\r\n \ - \ \"52.239.135.192/26\",\r\n \"52.239.187.128/25\",\r\n \ - \ \"52.245.76.0/22\",\r\n \"52.249.64.0/19\",\r\n \"\ - 104.44.93.224/27\",\r\n \"104.44.95.112/28\",\r\n \"104.47.212.0/23\"\ - ,\r\n \"104.211.128.0/18\",\r\n \"2603:1040:800::/46\",\r\ - \n \"2603:1040:805::/48\",\r\n \"2603:1040:806::/48\",\r\ - \n \"2603:1046:1408::/48\",\r\n \"2603:1046:1500::/64\"\ - ,\r\n \"2603:1046:2000:20::/59\",\r\n \"2603:1047:1:20::/59\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCloud.westus\"\ - ,\r\n \"id\": \"AzureCloud.westus\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"2\",\r\n \"region\": \"westus\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"\ - API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": \"\ - \",\r\n \"addressPrefixes\": [\r\n \"13.64.0.0/16\",\r\n \ - \ \"13.73.32.0/19\",\r\n \"13.83.0.0/16\",\r\n \"\ - 13.86.128.0/17\",\r\n \"13.87.128.0/17\",\r\n \"13.88.0.0/17\"\ - ,\r\n \"13.88.128.0/18\",\r\n \"13.91.0.0/16\",\r\n \ - \ \"13.93.128.0/17\",\r\n \"13.104.144.192/27\",\r\n \ - \ \"13.104.158.16/28\",\r\n \"13.104.158.64/26\",\r\n \ - \ \"13.104.208.96/27\",\r\n \"13.104.222.0/24\",\r\n \"\ - 13.104.223.0/25\",\r\n \"13.105.17.64/26\",\r\n \"13.105.17.128/26\"\ - ,\r\n \"13.105.19.128/25\",\r\n \"20.43.192.0/18\",\r\n\ - \ \"20.47.2.0/24\",\r\n \"20.47.22.0/23\",\r\n \ - \ \"20.47.110.0/24\",\r\n \"20.47.116.0/24\",\r\n \"20.49.120.0/21\"\ - ,\r\n \"20.57.192.0/19\",\r\n \"20.59.64.0/18\",\r\n \ - \ \"20.60.1.0/24\",\r\n \"20.60.34.0/23\",\r\n \"\ - 20.60.52.0/23\",\r\n \"20.60.80.0/23\",\r\n \"20.60.168.0/23\"\ - ,\r\n \"20.66.0.0/17\",\r\n \"20.135.74.0/23\",\r\n \ - \ \"20.150.34.0/23\",\r\n \"20.150.91.0/24\",\r\n \"\ - 20.150.102.0/24\",\r\n \"20.157.32.0/24\",\r\n \"20.184.128.0/17\"\ - ,\r\n \"20.189.128.0/18\",\r\n \"20.190.132.0/24\",\r\n\ - \ \"20.190.153.0/24\",\r\n \"23.99.0.0/18\",\r\n \ - \ \"23.99.64.0/19\",\r\n \"23.100.32.0/20\",\r\n \"23.101.192.0/20\"\ - ,\r\n \"40.65.0.0/18\",\r\n \"40.75.128.0/17\",\r\n \ - \ \"40.78.0.0/17\",\r\n \"40.78.216.0/24\",\r\n \"\ - 40.80.152.0/21\",\r\n \"40.81.0.0/20\",\r\n \"40.82.248.0/21\"\ - ,\r\n \"40.83.128.0/17\",\r\n \"40.85.144.0/20\",\r\n \ - \ \"40.86.160.0/19\",\r\n \"40.87.160.0/22\",\r\n \ - \ \"40.90.17.96/27\",\r\n \"40.90.18.128/26\",\r\n \"40.90.22.128/25\"\ - ,\r\n \"40.90.23.0/25\",\r\n \"40.90.25.192/26\",\r\n \ - \ \"40.90.128.128/28\",\r\n \"40.90.131.192/27\",\r\n \ - \ \"40.90.135.0/26\",\r\n \"40.90.139.192/27\",\r\n \ - \ \"40.90.146.0/28\",\r\n \"40.90.148.128/27\",\r\n \"\ - 40.90.153.96/27\",\r\n \"40.90.156.128/26\",\r\n \"40.93.0.0/23\"\ - ,\r\n \"40.112.128.0/17\",\r\n \"40.118.128.0/17\",\r\n\ - \ \"40.125.32.0/19\",\r\n \"40.126.4.0/24\",\r\n \ - \ \"40.126.25.0/24\",\r\n \"52.101.0.0/22\",\r\n \"52.101.16.0/22\"\ - ,\r\n \"52.101.41.0/24\",\r\n \"52.102.128.0/24\",\r\n \ - \ \"52.102.158.0/24\",\r\n \"52.103.0.0/24\",\r\n \ - \ \"52.103.2.0/24\",\r\n \"52.103.128.0/24\",\r\n \"52.108.0.0/21\"\ - ,\r\n \"52.108.78.0/24\",\r\n \"52.109.0.0/22\",\r\n \ - \ \"52.111.245.0/24\",\r\n \"52.112.106.0/23\",\r\n \ - \ \"52.112.114.0/24\",\r\n \"52.113.208.0/20\",\r\n \"\ - 52.114.152.0/21\",\r\n \"52.114.172.0/22\",\r\n \"52.114.176.0/22\"\ - ,\r\n \"52.114.184.0/23\",\r\n \"52.115.56.0/22\",\r\n \ - \ \"52.115.60.0/23\",\r\n \"52.115.140.0/22\",\r\n \ - \ \"52.115.144.0/20\",\r\n \"52.120.96.0/19\",\r\n \"\ - 52.121.36.0/22\",\r\n \"52.137.128.0/17\",\r\n \"52.153.0.0/18\"\ - ,\r\n \"52.155.32.0/19\",\r\n \"52.157.0.0/18\",\r\n \ - \ \"52.159.128.0/17\",\r\n \"52.160.0.0/16\",\r\n \ - \ \"52.180.0.0/17\",\r\n \"52.190.128.0/17\",\r\n \"52.225.0.0/17\"\ - ,\r\n \"52.232.149.0/24\",\r\n \"52.234.0.0/17\",\r\n \ - \ \"52.238.0.0/18\",\r\n \"52.239.0.0/17\",\r\n \"\ - 52.239.160.0/22\",\r\n \"52.239.228.0/23\",\r\n \"52.239.254.0/23\"\ - ,\r\n \"52.241.0.0/16\",\r\n \"52.245.12.0/22\",\r\n \ - \ \"52.245.108.0/22\",\r\n \"52.246.0.0/17\",\r\n \ - \ \"52.248.128.0/17\",\r\n \"52.250.192.0/18\",\r\n \"52.254.128.0/17\"\ - ,\r\n \"65.52.112.0/20\",\r\n \"104.40.0.0/17\",\r\n \ - \ \"104.42.0.0/16\",\r\n \"104.44.88.0/27\",\r\n \"\ - 104.44.91.0/27\",\r\n \"104.44.92.96/27\",\r\n \"104.44.94.0/28\"\ - ,\r\n \"104.44.95.128/27\",\r\n \"104.45.208.0/20\",\r\n\ - \ \"104.45.224.0/19\",\r\n \"104.209.0.0/18\",\r\n \ - \ \"104.210.32.0/19\",\r\n \"137.116.184.0/21\",\r\n \ - \ \"137.117.0.0/19\",\r\n \"137.135.0.0/18\",\r\n \"138.91.64.0/19\"\ - ,\r\n \"138.91.128.0/17\",\r\n \"157.56.160.0/21\",\r\n\ - \ \"168.61.0.0/19\",\r\n \"168.61.64.0/20\",\r\n \ - \ \"168.62.0.0/19\",\r\n \"168.62.192.0/19\",\r\n \"168.63.88.0/23\"\ - ,\r\n \"191.236.64.0/18\",\r\n \"191.238.70.0/23\",\r\n\ - \ \"191.239.0.0/18\",\r\n \"2603:1030:a00::/46\",\r\n \ - \ \"2603:1030:a04::/48\",\r\n \"2603:1030:a06::/48\",\r\n\ - \ \"2603:1030:a07::/48\",\r\n \"2603:1030:a08::/48\",\r\n\ - \ \"2603:1036:2400::/48\",\r\n \"2603:1036:2500:10::/64\"\ - ,\r\n \"2603:1036:3000:1c0::/59\",\r\n \"2603:1037:1:1c0::/59\"\ - ,\r\n \"2a01:111:f100:3000::/52\",\r\n \"2a01:111:f403:c000::/64\"\ - ,\r\n \"2a01:111:f403:c800::/64\",\r\n \"2a01:111:f403:d000::/64\"\ - ,\r\n \"2a01:111:f403:d800::/64\",\r\n \"2a01:111:f403:e000::/64\"\ - ,\r\n \"2a01:111:f403:f800::/62\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"AzureCloud.westus2\",\r\n \"id\":\ - \ \"AzureCloud.westus2\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"1\",\r\n \"region\": \"westus2\",\r\n \"state\": \"GA\"\ - ,\r\n \"networkFeatures\": [\r\n \"API\",\r\n \"\ - NSG\"\r\n ],\r\n \"systemService\": \"\",\r\n \"addressPrefixes\"\ - : [\r\n \"13.66.128.0/17\",\r\n \"13.77.128.0/18\",\r\n\ - \ \"13.104.129.64/26\",\r\n \"13.104.145.0/26\",\r\n \ - \ \"13.104.208.192/26\",\r\n \"13.104.213.0/25\",\r\n \ - \ \"13.104.220.0/25\",\r\n \"13.105.14.0/25\",\r\n \"\ - 13.105.14.128/26\",\r\n \"13.105.18.160/27\",\r\n \"13.105.36.0/27\"\ - ,\r\n \"13.105.36.32/28\",\r\n \"13.105.36.64/27\",\r\n\ - \ \"13.105.36.128/26\",\r\n \"13.105.66.64/26\",\r\n \ - \ \"20.36.0.0/19\",\r\n \"20.38.99.0/24\",\r\n \"\ - 20.42.128.0/18\",\r\n \"20.47.62.0/23\",\r\n \"20.47.120.0/23\"\ - ,\r\n \"20.51.8.0/21\",\r\n \"20.51.64.0/18\",\r\n \ - \ \"20.57.128.0/18\",\r\n \"20.59.0.0/18\",\r\n \"20.60.20.0/24\"\ - ,\r\n \"20.60.68.0/22\",\r\n \"20.60.152.0/23\",\r\n \ - \ \"20.64.128.0/17\",\r\n \"20.69.64.0/18\",\r\n \"\ - 20.69.128.0/18\",\r\n \"20.72.192.0/18\",\r\n \"20.80.128.0/18\"\ - ,\r\n \"20.83.64.0/18\",\r\n \"20.83.192.0/18\",\r\n \ - \ \"20.135.18.0/23\",\r\n \"20.135.228.0/22\",\r\n \ - \ \"20.135.232.0/23\",\r\n \"20.150.68.0/24\",\r\n \"20.150.78.0/24\"\ - ,\r\n \"20.150.87.0/24\",\r\n \"20.150.107.0/24\",\r\n \ - \ \"20.157.50.0/23\",\r\n \"20.187.0.0/18\",\r\n \ - \ \"20.190.0.0/18\",\r\n \"20.190.133.0/24\",\r\n \"20.190.154.0/24\"\ - ,\r\n \"20.191.64.0/18\",\r\n \"23.98.47.0/24\",\r\n \ - \ \"23.102.192.0/21\",\r\n \"23.102.203.0/24\",\r\n \ - \ \"23.103.64.32/27\",\r\n \"23.103.64.64/27\",\r\n \"\ - 23.103.66.0/23\",\r\n \"40.64.64.0/18\",\r\n \"40.64.128.0/21\"\ - ,\r\n \"40.65.64.0/18\",\r\n \"40.77.136.0/28\",\r\n \ - \ \"40.77.136.64/28\",\r\n \"40.77.139.128/25\",\r\n \ - \ \"40.77.160.0/27\",\r\n \"40.77.162.0/24\",\r\n \"\ - 40.77.164.0/24\",\r\n \"40.77.169.0/24\",\r\n \"40.77.175.64/27\"\ - ,\r\n \"40.77.180.0/23\",\r\n \"40.77.182.64/27\",\r\n \ - \ \"40.77.185.128/25\",\r\n \"40.77.186.0/23\",\r\n \ - \ \"40.77.198.128/25\",\r\n \"40.77.199.128/26\",\r\n \ - \ \"40.77.200.0/25\",\r\n \"40.77.202.0/24\",\r\n \"40.77.224.96/27\"\ - ,\r\n \"40.77.230.0/24\",\r\n \"40.77.232.128/25\",\r\n\ - \ \"40.77.234.224/27\",\r\n \"40.77.236.128/27\",\r\n \ - \ \"40.77.240.128/25\",\r\n \"40.77.241.0/24\",\r\n \ - \ \"40.77.242.0/23\",\r\n \"40.77.247.0/24\",\r\n \"\ - 40.77.249.0/24\",\r\n \"40.77.250.0/24\",\r\n \"40.77.254.128/25\"\ - ,\r\n \"40.78.208.32/30\",\r\n \"40.78.217.0/24\",\r\n \ - \ \"40.78.240.0/20\",\r\n \"40.79.206.128/27\",\r\n \ - \ \"40.80.160.0/24\",\r\n \"40.82.36.0/22\",\r\n \"\ - 40.87.232.0/21\",\r\n \"40.90.16.192/26\",\r\n \"40.90.131.32/27\"\ - ,\r\n \"40.90.132.48/28\",\r\n \"40.90.136.224/27\",\r\n\ - \ \"40.90.138.208/28\",\r\n \"40.90.139.32/27\",\r\n \ - \ \"40.90.146.32/27\",\r\n \"40.90.148.192/27\",\r\n \ - \ \"40.90.153.0/26\",\r\n \"40.90.192.0/19\",\r\n \"\ - 40.91.0.0/22\",\r\n \"40.91.64.0/18\",\r\n \"40.91.160.0/19\"\ - ,\r\n \"40.93.7.0/24\",\r\n \"40.96.61.0/24\",\r\n \ - \ \"40.96.63.0/24\",\r\n \"40.125.64.0/18\",\r\n \"\ - 40.126.5.0/24\",\r\n \"40.126.26.0/24\",\r\n \"51.141.160.0/19\"\ - ,\r\n \"51.143.0.0/17\",\r\n \"52.96.11.0/24\",\r\n \ - \ \"52.101.28.0/22\",\r\n \"52.101.42.0/24\",\r\n \"\ - 52.102.134.0/24\",\r\n \"52.103.8.0/24\",\r\n \"52.103.134.0/24\"\ - ,\r\n \"52.108.72.0/24\",\r\n \"52.108.93.0/24\",\r\n \ - \ \"52.109.24.0/22\",\r\n \"52.111.246.0/24\",\r\n \ - \ \"52.112.105.0/24\",\r\n \"52.112.109.0/24\",\r\n \"\ - 52.112.115.0/24\",\r\n \"52.114.148.0/22\",\r\n \"52.115.55.0/24\"\ - ,\r\n \"52.136.0.0/22\",\r\n \"52.137.64.0/18\",\r\n \ - \ \"52.143.64.0/18\",\r\n \"52.143.197.0/24\",\r\n \ - \ \"52.143.211.0/24\",\r\n \"52.148.128.0/18\",\r\n \"\ - 52.149.0.0/18\",\r\n \"52.151.0.0/18\",\r\n \"52.156.64.0/18\"\ - ,\r\n \"52.156.128.0/19\",\r\n \"52.158.224.0/19\",\r\n\ - \ \"52.175.192.0/18\",\r\n \"52.183.0.0/17\",\r\n \ - \ \"52.191.128.0/18\",\r\n \"52.229.0.0/18\",\r\n \"\ - 52.232.152.0/24\",\r\n \"52.233.64.0/18\",\r\n \"52.235.64.0/18\"\ - ,\r\n \"52.239.148.128/25\",\r\n \"52.239.176.128/25\",\r\ - \n \"52.239.193.0/24\",\r\n \"52.239.210.0/23\",\r\n \ - \ \"52.239.236.0/23\",\r\n \"52.245.52.0/22\",\r\n \ - \ \"52.246.192.0/18\",\r\n \"52.247.192.0/18\",\r\n \"\ - 52.250.0.0/17\",\r\n \"65.52.111.0/24\",\r\n \"65.55.32.128/28\"\ - ,\r\n \"65.55.32.192/27\",\r\n \"65.55.32.224/28\",\r\n\ - \ \"65.55.33.176/28\",\r\n \"65.55.33.192/28\",\r\n \ - \ \"65.55.35.192/27\",\r\n \"65.55.44.8/29\",\r\n \"\ - 65.55.44.112/28\",\r\n \"65.55.51.0/24\",\r\n \"65.55.105.160/27\"\ - ,\r\n \"65.55.106.192/28\",\r\n \"65.55.106.240/28\",\r\n\ - \ \"65.55.107.0/28\",\r\n \"65.55.107.96/27\",\r\n \ - \ \"65.55.110.0/24\",\r\n \"65.55.120.0/24\",\r\n \"\ - 65.55.207.0/24\",\r\n \"65.55.209.0/25\",\r\n \"65.55.210.0/24\"\ - ,\r\n \"65.55.219.64/26\",\r\n \"65.55.250.0/24\",\r\n \ - \ \"65.55.252.0/24\",\r\n \"70.37.0.0/21\",\r\n \ - \ \"70.37.8.0/22\",\r\n \"70.37.16.0/20\",\r\n \"70.37.32.0/20\"\ - ,\r\n \"104.44.89.128/27\",\r\n \"104.44.89.192/27\",\r\n\ - \ \"104.44.95.0/28\",\r\n \"131.253.12.160/28\",\r\n \ - \ \"131.253.12.228/30\",\r\n \"131.253.13.24/29\",\r\n \ - \ \"131.253.13.88/30\",\r\n \"131.253.13.128/27\",\r\n \ - \ \"131.253.14.4/30\",\r\n \"131.253.14.8/31\",\r\n \ - \ \"131.253.14.96/27\",\r\n \"131.253.14.128/27\",\r\n \"\ - 131.253.14.192/29\",\r\n \"131.253.15.192/28\",\r\n \"131.253.35.128/26\"\ - ,\r\n \"131.253.40.48/29\",\r\n \"131.253.40.128/27\",\r\ - \n \"131.253.41.0/24\",\r\n \"134.170.222.0/24\",\r\n \ - \ \"137.116.176.0/21\",\r\n \"157.55.2.128/26\",\r\n \ - \ \"157.55.12.64/26\",\r\n \"157.55.13.64/26\",\r\n \ - \ \"157.55.39.0/24\",\r\n \"157.55.55.228/30\",\r\n \"157.55.55.232/29\"\ - ,\r\n \"157.55.55.240/28\",\r\n \"157.55.106.0/26\",\r\n\ - \ \"157.55.154.128/25\",\r\n \"157.56.2.0/25\",\r\n \ - \ \"157.56.3.128/25\",\r\n \"157.56.19.224/27\",\r\n \ - \ \"157.56.21.160/27\",\r\n \"157.56.21.192/27\",\r\n \ - \ \"157.56.80.0/25\",\r\n \"168.62.64.0/19\",\r\n \"199.30.24.0/23\"\ - ,\r\n \"199.30.27.0/25\",\r\n \"199.30.27.144/28\",\r\n\ - \ \"199.30.27.160/27\",\r\n \"199.30.31.192/26\",\r\n \ - \ \"207.46.13.0/24\",\r\n \"207.68.174.192/28\",\r\n \ - \ \"209.240.212.0/23\",\r\n \"2603:1030:c00::/48\",\r\n \ - \ \"2603:1030:c02::/47\",\r\n \"2603:1030:c04::/48\",\r\n \ - \ \"2603:1030:c05::/48\",\r\n \"2603:1030:c06::/48\",\r\n \ - \ \"2603:1030:c07::/48\",\r\n \"2603:1030:d00::/48\",\r\n\ - \ \"2603:1030:e01:2::/64\",\r\n \"2603:1036:903::/64\",\r\ - \n \"2603:1036:d20::/64\",\r\n \"2603:1036:2409::/48\",\r\ - \n \"2603:1036:2500:14::/64\",\r\n \"2603:1036:3000:c0::/59\"\ - ,\r\n \"2603:1037:1:c0::/59\",\r\n \"2a01:111:f403:c004::/62\"\ - ,\r\n \"2a01:111:f403:c804::/62\",\r\n \"2a01:111:f403:d004::/62\"\ - ,\r\n \"2a01:111:f403:d804::/62\",\r\n \"2a01:111:f403:f804::/62\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCognitiveSearch\"\ - ,\r\n \"id\": \"AzureCognitiveSearch\",\r\n \"properties\": {\r\n\ - \ \"changeNumber\": \"2\",\r\n \"region\": \"\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"API\"\ - ,\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n \ - \ ],\r\n \"systemService\": \"AzureCognitiveSearch\",\r\n \ - \ \"addressPrefixes\": [\r\n \"13.64.32.141/32\",\r\n \"\ - 13.83.22.45/32\",\r\n \"13.83.22.74/32\",\r\n \"13.83.22.119/32\"\ - ,\r\n \"13.86.5.51/32\",\r\n \"20.36.120.128/26\",\r\n \ - \ \"20.37.64.128/26\",\r\n \"20.37.156.128/26\",\r\n \ - \ \"20.37.193.192/26\",\r\n \"20.37.224.128/26\",\r\n \ - \ \"20.38.84.0/26\",\r\n \"20.38.136.128/26\",\r\n \"\ - 20.39.8.192/26\",\r\n \"20.40.123.36/32\",\r\n \"20.40.123.39/32\"\ - ,\r\n \"20.40.123.46/32\",\r\n \"20.40.123.72/32\",\r\n\ - \ \"20.41.4.128/26\",\r\n \"20.41.65.64/26\",\r\n \ - \ \"20.41.193.64/26\",\r\n \"20.42.4.128/26\",\r\n \"\ - 20.42.24.90/32\",\r\n \"20.42.29.212/32\",\r\n \"20.42.30.105/32\"\ - ,\r\n \"20.42.34.190/32\",\r\n \"20.42.35.204/32\",\r\n\ - \ \"20.42.129.192/26\",\r\n \"20.42.225.192/26\",\r\n \ - \ \"20.43.41.64/26\",\r\n \"20.43.65.64/26\",\r\n \ - \ \"20.43.130.128/26\",\r\n \"20.44.74.182/32\",\r\n \"\ - 20.44.76.53/32\",\r\n \"20.44.76.61/32\",\r\n \"20.44.76.86/32\"\ - ,\r\n \"20.45.0.49/32\",\r\n \"20.45.2.122/32\",\r\n \ - \ \"20.45.112.128/26\",\r\n \"20.45.192.128/26\",\r\n \ - \ \"20.72.17.0/26\",\r\n \"20.150.160.128/26\",\r\n \ - \ \"20.185.110.199/32\",\r\n \"20.189.106.128/26\",\r\n \ - \ \"20.189.129.94/32\",\r\n \"20.192.161.0/26\",\r\n \"\ - 20.192.225.64/26\",\r\n \"23.100.238.27/32\",\r\n \"23.100.238.34/31\"\ - ,\r\n \"23.100.238.37/32\",\r\n \"40.65.173.157/32\",\r\n\ - \ \"40.65.175.212/32\",\r\n \"40.65.175.228/32\",\r\n \ - \ \"40.66.56.233/32\",\r\n \"40.67.48.128/26\",\r\n \ - \ \"40.74.18.154/32\",\r\n \"40.74.30.0/26\",\r\n \"\ - 40.80.57.64/26\",\r\n \"40.80.169.64/26\",\r\n \"40.80.186.192/26\"\ - ,\r\n \"40.80.216.231/32\",\r\n \"40.80.217.38/32\",\r\n\ - \ \"40.80.219.46/32\",\r\n \"40.81.9.100/32\",\r\n \ - \ \"40.81.9.131/32\",\r\n \"40.81.9.203/32\",\r\n \"\ - 40.81.9.209/32\",\r\n \"40.81.9.213/32\",\r\n \"40.81.9.221/32\"\ - ,\r\n \"40.81.10.36/32\",\r\n \"40.81.12.133/32\",\r\n \ - \ \"40.81.15.8/32\",\r\n \"40.81.15.39/32\",\r\n \ - \ \"40.81.29.152/32\",\r\n \"40.81.188.130/32\",\r\n \"\ - 40.81.191.58/32\",\r\n \"40.81.253.154/32\",\r\n \"40.82.155.65/32\"\ - ,\r\n \"40.82.253.0/26\",\r\n \"40.89.17.64/26\",\r\n \ - \ \"40.90.190.180/32\",\r\n \"40.90.240.17/32\",\r\n \ - \ \"40.91.93.84/32\",\r\n \"40.91.127.116/32\",\r\n \ - \ \"40.91.127.241/32\",\r\n \"40.119.11.0/26\",\r\n \"51.12.41.64/26\"\ - ,\r\n \"51.12.193.64/26\",\r\n \"51.104.25.64/26\",\r\n\ - \ \"51.105.80.128/26\",\r\n \"51.105.88.128/26\",\r\n \ - \ \"51.107.48.128/26\",\r\n \"51.107.144.128/26\",\r\n \ - \ \"51.116.48.96/28\",\r\n \"51.116.144.96/28\",\r\n \ - \ \"51.120.40.128/26\",\r\n \"51.120.224.128/26\",\r\n \ - \ \"51.132.43.66/32\",\r\n \"51.137.161.64/26\",\r\n \"\ - 51.143.104.54/32\",\r\n \"51.143.104.90/32\",\r\n \"51.143.192.128/26\"\ - ,\r\n \"51.145.124.157/32\",\r\n \"51.145.124.158/32\",\r\ - \n \"51.145.176.249/32\",\r\n \"51.145.177.212/32\",\r\n\ - \ \"51.145.178.138/32\",\r\n \"51.145.178.140/32\",\r\n\ - \ \"52.136.48.128/26\",\r\n \"52.137.24.236/32\",\r\n \ - \ \"52.137.26.114/32\",\r\n \"52.137.26.155/32\",\r\n \ - \ \"52.137.26.198/32\",\r\n \"52.137.27.49/32\",\r\n \ - \ \"52.137.56.115/32\",\r\n \"52.137.60.208/32\",\r\n \ - \ \"52.139.0.47/32\",\r\n \"52.139.0.49/32\",\r\n \"52.140.105.64/26\"\ - ,\r\n \"52.140.233.105/32\",\r\n \"52.150.139.0/26\",\r\n\ - \ \"52.151.235.150/32\",\r\n \"52.151.235.242/32\",\r\n\ - \ \"52.151.235.244/32\",\r\n \"52.155.216.245/32\",\r\n\ - \ \"52.155.217.84/32\",\r\n \"52.155.221.242/32\",\r\n \ - \ \"52.155.221.250/32\",\r\n \"52.155.222.35/32\",\r\n \ - \ \"52.155.222.56/32\",\r\n \"52.157.22.233/32\",\r\n \ - \ \"52.157.231.64/32\",\r\n \"52.158.28.181/32\",\r\n \ - \ \"52.158.30.241/32\",\r\n \"52.158.208.11/32\",\r\n \ - \ \"52.184.80.221/32\",\r\n \"52.185.224.13/32\",\r\n \"\ - 52.185.224.38/32\",\r\n \"52.188.217.235/32\",\r\n \"52.188.218.228/32\"\ - ,\r\n \"52.188.218.239/32\",\r\n \"52.228.81.64/26\",\r\n\ - \ \"52.242.214.45/32\",\r\n \"52.253.133.74/32\",\r\n \ - \ \"52.253.229.120/32\",\r\n \"102.133.128.33/32\",\r\n \ - \ \"102.133.217.128/26\",\r\n \"104.45.64.0/32\",\r\n \ - \ \"104.45.64.147/32\",\r\n \"104.45.64.224/32\",\r\n \ - \ \"104.45.65.30/32\",\r\n \"104.45.65.89/32\",\r\n \"\ - 191.233.9.0/26\",\r\n \"191.233.26.156/32\",\r\n \"191.235.225.64/26\"\ - ,\r\n \"2603:1000:4::180/121\",\r\n \"2603:1000:104:1::180/121\"\ - ,\r\n \"2603:1010:6:1::180/121\",\r\n \"2603:1010:101::180/121\"\ - ,\r\n \"2603:1010:304::180/121\",\r\n \"2603:1010:404::180/121\"\ - ,\r\n \"2603:1020:5:1::180/121\",\r\n \"2603:1020:206:1::180/121\"\ - ,\r\n \"2603:1020:305::180/121\",\r\n \"2603:1020:405::180/121\"\ - ,\r\n \"2603:1020:605::180/121\",\r\n \"2603:1020:705:1::180/121\"\ - ,\r\n \"2603:1020:805:1::180/121\",\r\n \"2603:1020:905::180/121\"\ - ,\r\n \"2603:1020:a04:1::180/121\",\r\n \"2603:1020:b04::180/121\"\ - ,\r\n \"2603:1020:c04:1::180/121\",\r\n \"2603:1020:d04::180/121\"\ - ,\r\n \"2603:1020:e04:1::180/121\",\r\n \"2603:1020:f04::180/121\"\ - ,\r\n \"2603:1020:1004::180/121\",\r\n \"2603:1020:1104::180/121\"\ - ,\r\n \"2603:1030:f:1::180/121\",\r\n \"2603:1030:10:1::180/121\"\ - ,\r\n \"2603:1030:104:1::180/121\",\r\n \"2603:1030:107::180/121\"\ - ,\r\n \"2603:1030:210:1::180/121\",\r\n \"2603:1030:40b:1::180/121\"\ - ,\r\n \"2603:1030:40c:1::180/121\",\r\n \"2603:1030:504:1::180/121\"\ - ,\r\n \"2603:1030:608::180/121\",\r\n \"2603:1030:807:1::180/121\"\ - ,\r\n \"2603:1030:a07::180/121\",\r\n \"2603:1030:b04::180/121\"\ - ,\r\n \"2603:1030:c06:1::180/121\",\r\n \"2603:1030:f05:1::180/121\"\ - ,\r\n \"2603:1030:1005::180/121\",\r\n \"2603:1040:5:1::180/121\"\ - ,\r\n \"2603:1040:207::180/121\",\r\n \"2603:1040:407:1::180/121\"\ - ,\r\n \"2603:1040:606::180/121\",\r\n \"2603:1040:806::180/121\"\ - ,\r\n \"2603:1040:904:1::180/121\",\r\n \"2603:1040:a06:1::180/121\"\ - ,\r\n \"2603:1040:b04::180/121\",\r\n \"2603:1040:c06::180/121\"\ - ,\r\n \"2603:1040:d04::180/121\",\r\n \"2603:1040:f05:1::180/121\"\ - ,\r\n \"2603:1040:1104::180/121\",\r\n \"2603:1050:6:1::180/121\"\ - ,\r\n \"2603:1050:403::180/121\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"AzureCognitiveSearch.AustraliaCentral\",\r\n\ - \ \"id\": \"AzureCognitiveSearch.AustraliaCentral\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"australiacentral\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"AzureCognitiveSearch\",\r\n \"addressPrefixes\": [\r\n \ - \ \"20.37.224.128/26\",\r\n \"2603:1010:304::180/121\"\r\n \ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCognitiveSearch.AustraliaCentral2\"\ - ,\r\n \"id\": \"AzureCognitiveSearch.AustraliaCentral2\",\r\n \"\ - properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\"\ - : \"australiacentral2\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"\ - systemService\": \"AzureCognitiveSearch\",\r\n \"addressPrefixes\"\ - : [\r\n \"20.36.120.128/26\",\r\n \"2603:1010:404::180/121\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCognitiveSearch.CentralIndia\"\ - ,\r\n \"id\": \"AzureCognitiveSearch.CentralIndia\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"1\",\r\n \"region\": \"centralindia\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"AzureCognitiveSearch\",\r\n \"addressPrefixes\": [\r\n \ - \ \"40.81.253.154/32\",\r\n \"52.140.105.64/26\",\r\n \"\ - 2603:1040:a06:1::180/121\"\r\n ]\r\n }\r\n },\r\n {\r\n\ - \ \"name\": \"AzureCognitiveSearch.CentralUSEUAP\",\r\n \"id\":\ - \ \"AzureCognitiveSearch.CentralUSEUAP\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"2\",\r\n \"region\": \"centraluseuap\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"AzureCognitiveSearch\",\r\n \"addressPrefixes\": [\r\n \ - \ \"20.45.192.128/26\",\r\n \"2603:1030:f:1::180/121\"\r\n \ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCognitiveSearch.EastAsia\"\ - ,\r\n \"id\": \"AzureCognitiveSearch.EastAsia\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"eastasia\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"AzureCognitiveSearch\",\r\n \"addressPrefixes\": [\r\n \ - \ \"20.189.106.128/26\",\r\n \"40.81.29.152/32\",\r\n \"\ - 52.184.80.221/32\",\r\n \"2603:1040:207::180/121\"\r\n ]\r\ - \n }\r\n },\r\n {\r\n \"name\": \"AzureCognitiveSearch.EastUS2EUAP\"\ - ,\r\n \"id\": \"AzureCognitiveSearch.EastUS2EUAP\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"1\",\r\n \"region\": \"eastus2euap\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"AzureCognitiveSearch\",\r\n \"addressPrefixes\": [\r\n \ - \ \"20.39.8.192/26\",\r\n \"52.253.229.120/32\",\r\n \"\ - 2603:1030:40b:1::180/121\"\r\n ]\r\n }\r\n },\r\n {\r\n\ - \ \"name\": \"AzureCognitiveSearch.KoreaCentral\",\r\n \"id\": \"\ - AzureCognitiveSearch.KoreaCentral\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"1\",\r\n \"region\": \"koreacentral\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"AzureCognitiveSearch\",\r\n \"addressPrefixes\": [\r\n \ - \ \"20.41.65.64/26\",\r\n \"40.82.155.65/32\",\r\n \"2603:1040:f05:1::180/121\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCognitiveSearch.SwitzerlandWest\"\ - ,\r\n \"id\": \"AzureCognitiveSearch.SwitzerlandWest\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"switzerlandw\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"AzureCognitiveSearch\",\r\n \"addressPrefixes\": [\r\n \ - \ \"51.107.144.128/26\",\r\n \"2603:1020:b04::180/121\"\r\n \ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCognitiveSearch.UKNorth\"\ - ,\r\n \"id\": \"AzureCognitiveSearch.UKNorth\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"uknorth\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"AzureCognitiveSearch\",\r\n \"addressPrefixes\": [\r\n \ - \ \"51.105.80.128/26\",\r\n \"2603:1020:305::180/121\"\r\n \ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureConnectors\"\ - ,\r\n \"id\": \"AzureConnectors\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"2\",\r\n \"region\": \"\",\r\n \"\ - state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\ - \n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n \ - \ ],\r\n \"systemService\": \"AzureConnectors\",\r\n \"addressPrefixes\"\ - : [\r\n \"13.65.86.57/32\",\r\n \"13.66.140.128/28\",\r\n\ - \ \"13.66.145.96/27\",\r\n \"13.66.210.166/32\",\r\n \ - \ \"13.66.213.29/32\",\r\n \"13.66.213.240/32\",\r\n \ - \ \"13.66.214.51/32\",\r\n \"13.67.8.240/28\",\r\n \"\ - 13.67.15.32/27\",\r\n \"13.69.64.208/28\",\r\n \"13.69.71.192/27\"\ - ,\r\n \"13.69.227.208/28\",\r\n \"13.69.231.192/27\",\r\n\ - \ \"13.70.72.192/28\",\r\n \"13.70.78.224/27\",\r\n \ - \ \"13.70.82.210/32\",\r\n \"13.70.136.174/32\",\r\n \ - \ \"13.70.187.251/32\",\r\n \"13.70.189.7/32\",\r\n \"\ - 13.70.191.49/32\",\r\n \"13.71.125.22/32\",\r\n \"13.71.127.26/32\"\ - ,\r\n \"13.71.153.19/32\",\r\n \"13.71.170.208/28\",\r\n\ - \ \"13.71.175.160/27\",\r\n \"13.71.195.32/28\",\r\n \ - \ \"13.71.199.192/27\",\r\n \"13.72.243.10/32\",\r\n \ - \ \"13.73.21.230/32\",\r\n \"13.73.203.158/32\",\r\n \ - \ \"13.73.205.35/32\",\r\n \"13.73.207.42/32\",\r\n \"13.73.244.224/27\"\ - ,\r\n \"13.75.36.64/28\",\r\n \"13.75.89.9/32\",\r\n \ - \ \"13.75.91.198/32\",\r\n \"13.75.92.124/32\",\r\n \ - \ \"13.75.92.202/32\",\r\n \"13.75.110.131/32\",\r\n \"\ - 13.76.231.68/32\",\r\n \"13.77.7.172/32\",\r\n \"13.77.50.240/28\"\ - ,\r\n \"13.77.55.160/27\",\r\n \"13.78.84.73/32\",\r\n \ - \ \"13.78.85.193/32\",\r\n \"13.78.85.200/32\",\r\n \ - \ \"13.78.86.229/32\",\r\n \"13.78.108.0/28\",\r\n \"\ - 13.78.132.82/32\",\r\n \"13.86.223.32/27\",\r\n \"13.87.56.224/28\"\ - ,\r\n \"13.87.122.224/28\",\r\n \"13.89.171.80/28\",\r\n\ - \ \"13.89.178.64/27\",\r\n \"13.93.148.62/32\",\r\n \ - \ \"20.36.107.0/28\",\r\n \"20.36.114.176/28\",\r\n \ - \ \"20.36.117.160/27\",\r\n \"20.37.74.192/28\",\r\n \"\ - 20.38.128.224/27\",\r\n \"20.43.123.0/27\",\r\n \"20.44.3.0/28\"\ - ,\r\n \"20.44.29.64/27\",\r\n \"20.53.0.0/27\",\r\n \ - \ \"20.72.27.0/26\",\r\n \"20.150.170.240/28\",\r\n \ - \ \"20.150.173.64/26\",\r\n \"20.192.32.64/26\",\r\n \"\ - 20.192.184.32/27\",\r\n \"20.193.206.192/26\",\r\n \"23.99.116.181/32\"\ - ,\r\n \"23.100.208.0/27\",\r\n \"40.67.58.240/28\",\r\n\ - \ \"40.67.60.224/27\",\r\n \"40.69.42.254/32\",\r\n \ - \ \"40.69.45.11/32\",\r\n \"40.69.45.93/32\",\r\n \"\ - 40.69.45.126/32\",\r\n \"40.69.106.240/28\",\r\n \"40.69.111.0/27\"\ - ,\r\n \"40.70.146.208/28\",\r\n \"40.70.151.96/27\",\r\n\ - \ \"40.71.11.80/28\",\r\n \"40.71.15.160/27\",\r\n \ - \ \"40.71.249.139/32\",\r\n \"40.71.249.205/32\",\r\n \ - \ \"40.74.100.224/28\",\r\n \"40.74.130.77/32\",\r\n \"\ - 40.74.146.64/28\",\r\n \"40.78.194.240/28\",\r\n \"40.78.202.96/28\"\ - ,\r\n \"40.79.130.208/28\",\r\n \"40.79.148.96/27\",\r\n\ - \ \"40.79.178.240/28\",\r\n \"40.79.180.224/27\",\r\n \ - \ \"40.79.189.64/27\",\r\n \"40.80.180.64/27\",\r\n \ - \ \"40.89.135.2/32\",\r\n \"40.89.186.239/32\",\r\n \"\ - 40.91.208.65/32\",\r\n \"40.112.195.87/32\",\r\n \"40.112.243.160/28\"\ - ,\r\n \"40.114.40.132/32\",\r\n \"40.115.50.13/32\",\r\n\ - \ \"40.115.186.96/32\",\r\n \"40.117.98.246/32\",\r\n \ - \ \"40.117.100.191/32\",\r\n \"40.117.101.91/32\",\r\n \ - \ \"40.117.101.120/32\",\r\n \"40.120.8.0/27\",\r\n \ - \ \"40.120.64.64/27\",\r\n \"40.122.49.51/32\",\r\n \"\ - 40.126.251.213/32\",\r\n \"40.127.80.34/32\",\r\n \"51.12.98.240/28\"\ - ,\r\n \"51.12.102.0/26\",\r\n \"51.12.202.240/28\",\r\n\ - \ \"51.12.205.192/26\",\r\n \"51.103.142.22/32\",\r\n \ - \ \"51.105.77.96/27\",\r\n \"51.107.59.16/28\",\r\n \ - \ \"51.107.60.224/27\",\r\n \"51.107.86.217/32\",\r\n \ - \ \"51.107.155.16/28\",\r\n \"51.107.156.224/27\",\r\n \ - \ \"51.116.59.16/28\",\r\n \"51.116.60.192/27\",\r\n \"\ - 51.116.155.80/28\",\r\n \"51.116.158.96/27\",\r\n \"51.116.211.212/32\"\ - ,\r\n \"51.116.236.78/32\",\r\n \"51.120.98.224/28\",\r\n\ - \ \"51.120.100.192/27\",\r\n \"51.120.218.240/28\",\r\n\ - \ \"51.120.220.192/27\",\r\n \"51.140.61.124/32\",\r\n \ - \ \"51.140.74.150/32\",\r\n \"51.140.80.51/32\",\r\n \ - \ \"51.140.148.0/28\",\r\n \"51.140.211.0/28\",\r\n \ - \ \"51.140.212.224/27\",\r\n \"51.141.47.105/32\",\r\n \ - \ \"51.141.52.185/32\",\r\n \"51.141.124.13/32\",\r\n \"\ - 52.136.133.184/32\",\r\n \"52.136.142.154/32\",\r\n \"52.138.92.192/27\"\ - ,\r\n \"52.141.1.104/32\",\r\n \"52.141.36.214/32\",\r\n\ - \ \"52.160.91.66/32\",\r\n \"52.160.92.131/32\",\r\n \ - \ \"52.160.93.247/32\",\r\n \"52.160.95.100/32\",\r\n \ - \ \"52.161.26.33/32\",\r\n \"52.161.26.191/32\",\r\n \ - \ \"52.161.27.42/32\",\r\n \"52.161.29.40/32\",\r\n \"\ - 52.161.101.204/32\",\r\n \"52.161.102.22/32\",\r\n \"52.162.107.160/28\"\ - ,\r\n \"52.162.111.192/27\",\r\n \"52.162.126.4/32\",\r\n\ - \ \"52.162.242.161/32\",\r\n \"52.163.89.40/32\",\r\n \ - \ \"52.163.89.65/32\",\r\n \"52.163.91.227/32\",\r\n \ - \ \"52.163.95.29/32\",\r\n \"52.166.78.89/32\",\r\n \ - \ \"52.166.241.149/32\",\r\n \"52.166.243.169/32\",\r\n \ - \ \"52.166.244.232/32\",\r\n \"52.166.245.173/32\",\r\n \ - \ \"52.169.28.181/32\",\r\n \"52.171.130.92/32\",\r\n \"\ - 52.172.51.70/32\",\r\n \"52.172.54.172/32\",\r\n \"52.172.55.84/32\"\ - ,\r\n \"52.172.55.107/32\",\r\n \"52.172.155.245/32\",\r\ - \n \"52.172.158.2/32\",\r\n \"52.172.158.185/32\",\r\n \ - \ \"52.172.159.100/32\",\r\n \"52.172.211.12/32\",\r\n \ - \ \"52.172.212.129/32\",\r\n \"52.173.241.27/32\",\r\n \ - \ \"52.173.245.164/32\",\r\n \"52.174.88.118/32\",\r\n \ - \ \"52.175.23.169/32\",\r\n \"52.178.150.68/32\",\r\n \ - \ \"52.183.78.157/32\",\r\n \"52.187.68.19/32\",\r\n \ - \ \"52.187.115.69/32\",\r\n \"52.191.164.250/32\",\r\n \"\ - 52.225.129.144/32\",\r\n \"52.228.33.76/32\",\r\n \"52.228.34.13/32\"\ - ,\r\n \"52.228.42.205/32\",\r\n \"52.229.120.52/32\",\r\n\ - \ \"52.229.120.178/32\",\r\n \"52.229.123.56/32\",\r\n \ - \ \"52.229.123.98/32\",\r\n \"52.229.126.28/32\",\r\n \ - \ \"52.229.126.118/32\",\r\n \"52.229.126.202/32\",\r\n \ - \ \"52.231.18.208/28\",\r\n \"52.231.147.0/28\",\r\n \ - \ \"52.231.148.224/27\",\r\n \"52.231.163.10/32\",\r\n \ - \ \"52.231.201.173/32\",\r\n \"52.232.130.205/32\",\r\n \ - \ \"52.232.188.154/32\",\r\n \"52.233.29.254/32\",\r\n \ - \ \"52.233.30.148/32\",\r\n \"52.233.30.199/32\",\r\n \"\ - 52.233.30.222/32\",\r\n \"52.233.31.197/32\",\r\n \"52.237.24.126/32\"\ - ,\r\n \"52.237.32.212/32\",\r\n \"52.237.214.72/32\",\r\n\ - \ \"52.242.30.112/32\",\r\n \"52.242.35.152/32\",\r\n \ - \ \"52.255.48.202/32\",\r\n \"65.52.218.230/32\",\r\n \ - \ \"65.52.250.208/28\",\r\n \"94.245.91.93/32\",\r\n \ - \ \"102.37.64.0/27\",\r\n \"102.133.27.0/28\",\r\n \"\ - 102.133.72.85/32\",\r\n \"102.133.155.0/28\",\r\n \"102.133.168.167/32\"\ - ,\r\n \"102.133.253.0/27\",\r\n \"104.40.51.248/32\",\r\n\ - \ \"104.41.59.51/32\",\r\n \"104.42.122.49/32\",\r\n \ - \ \"104.43.232.28/32\",\r\n \"104.43.232.242/32\",\r\n \ - \ \"104.43.234.211/32\",\r\n \"104.43.235.249/32\",\r\n \ - \ \"104.45.93.9/32\",\r\n \"104.208.233.100/32\",\r\n \ - \ \"104.209.247.23/32\",\r\n \"104.211.81.192/28\",\r\n \ - \ \"104.211.98.164/32\",\r\n \"104.211.146.224/28\",\r\n \ - \ \"104.211.161.203/32\",\r\n \"104.211.189.124/32\",\r\n \ - \ \"104.211.189.218/32\",\r\n \"104.211.227.225/32\",\r\n \ - \ \"104.214.19.48/28\",\r\n \"104.214.70.191/32\",\r\n \ - \ \"104.214.137.186/32\",\r\n \"104.214.138.174/32\",\r\n\ - \ \"104.214.139.29/32\",\r\n \"104.214.140.23/32\",\r\n\ - \ \"104.214.164.0/27\",\r\n \"104.215.27.24/32\",\r\n \ - \ \"104.215.61.248/32\",\r\n \"168.61.140.0/27\",\r\n \ - \ \"191.232.38.129/32\",\r\n \"191.232.191.157/32\",\r\n \ - \ \"191.233.51.0/26\",\r\n \"191.233.203.192/28\",\r\n \ - \ \"191.233.207.160/27\",\r\n \"2603:1000:4:402::180/122\",\r\ - \n \"2603:1000:104:402::180/122\",\r\n \"2603:1010:6:402::180/122\"\ - ,\r\n \"2603:1010:101:402::180/122\",\r\n \"2603:1010:304:402::180/122\"\ - ,\r\n \"2603:1010:404:402::180/122\",\r\n \"2603:1020:5:402::180/122\"\ - ,\r\n \"2603:1020:206:402::180/122\",\r\n \"2603:1020:305:402::180/122\"\ - ,\r\n \"2603:1020:405:402::180/122\",\r\n \"2603:1020:605:402::180/122\"\ - ,\r\n \"2603:1020:705:402::180/122\",\r\n \"2603:1020:805:402::180/122\"\ - ,\r\n \"2603:1020:905:402::180/122\",\r\n \"2603:1020:a04:402::180/122\"\ - ,\r\n \"2603:1020:b04:402::180/122\",\r\n \"2603:1020:c04:402::180/122\"\ - ,\r\n \"2603:1020:d04:402::180/122\",\r\n \"2603:1020:e04:402::180/122\"\ - ,\r\n \"2603:1020:f04:402::180/122\",\r\n \"2603:1020:1004:c02::80/122\"\ - ,\r\n \"2603:1020:1104:400::180/122\",\r\n \"2603:1030:f:400::980/122\"\ - ,\r\n \"2603:1030:10:402::180/122\",\r\n \"2603:1030:104:402::180/122\"\ - ,\r\n \"2603:1030:107:400::100/122\",\r\n \"2603:1030:210:402::180/122\"\ - ,\r\n \"2603:1030:40b:400::980/122\",\r\n \"2603:1030:40c:402::180/122\"\ - ,\r\n \"2603:1030:504:c02::80/122\",\r\n \"2603:1030:608:402::180/122\"\ - ,\r\n \"2603:1030:807:402::180/122\",\r\n \"2603:1030:a07:402::100/122\"\ - ,\r\n \"2603:1030:b04:402::180/122\",\r\n \"2603:1030:c06:400::980/122\"\ - ,\r\n \"2603:1030:f05:402::180/122\",\r\n \"2603:1030:1005:402::180/122\"\ - ,\r\n \"2603:1040:5:402::180/122\",\r\n \"2603:1040:207:402::180/122\"\ - ,\r\n \"2603:1040:407:402::180/122\",\r\n \"2603:1040:606:402::180/122\"\ - ,\r\n \"2603:1040:806:402::180/122\",\r\n \"2603:1040:904:402::180/122\"\ - ,\r\n \"2603:1040:a06:402::180/122\",\r\n \"2603:1040:b04:402::180/122\"\ - ,\r\n \"2603:1040:c06:402::180/122\",\r\n \"2603:1040:d04:c02::80/122\"\ - ,\r\n \"2603:1040:f05:402::180/122\",\r\n \"2603:1040:1104:400::180/122\"\ - ,\r\n \"2603:1050:6:402::180/122\",\r\n \"2603:1050:403:400::2c0/122\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureConnectors.AustraliaCentral\"\ - ,\r\n \"id\": \"AzureConnectors.AustraliaCentral\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"australiacentral\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureConnectors\",\r\n\ - \ \"addressPrefixes\": [\r\n \"20.36.107.0/28\",\r\n \ - \ \"20.53.0.0/27\",\r\n \"2603:1010:304:402::180/122\"\r\n \ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureConnectors.AustraliaCentral2\"\ - ,\r\n \"id\": \"AzureConnectors.AustraliaCentral2\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"australiacentral2\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureConnectors\",\r\n\ - \ \"addressPrefixes\": [\r\n \"20.36.114.176/28\",\r\n \ - \ \"20.36.117.160/27\",\r\n \"2603:1010:404:402::180/122\"\r\ - \n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureConnectors.AustraliaEast\"\ - ,\r\n \"id\": \"AzureConnectors.AustraliaEast\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"australiaeast\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureConnectors\",\r\n\ - \ \"addressPrefixes\": [\r\n \"13.70.72.192/28\",\r\n \ - \ \"13.70.78.224/27\",\r\n \"13.70.82.210/32\",\r\n \ - \ \"13.72.243.10/32\",\r\n \"13.73.203.158/32\",\r\n \"\ - 13.73.205.35/32\",\r\n \"13.73.207.42/32\",\r\n \"40.126.251.213/32\"\ - ,\r\n \"52.237.214.72/32\",\r\n \"2603:1010:6:402::180/122\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureConnectors.AustraliaSoutheast\"\ - ,\r\n \"id\": \"AzureConnectors.AustraliaSoutheast\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"australiasoutheast\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureConnectors\",\r\n\ - \ \"addressPrefixes\": [\r\n \"13.70.136.174/32\",\r\n \ - \ \"13.70.187.251/32\",\r\n \"13.70.189.7/32\",\r\n \ - \ \"13.70.191.49/32\",\r\n \"13.77.7.172/32\",\r\n \"\ - 13.77.50.240/28\",\r\n \"13.77.55.160/27\",\r\n \"40.127.80.34/32\"\ - ,\r\n \"52.255.48.202/32\",\r\n \"2603:1010:101:402::180/122\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureConnectors.BrazilSouth\"\ - ,\r\n \"id\": \"AzureConnectors.BrazilSouth\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"brazilsouth\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureConnectors\",\r\n\ - \ \"addressPrefixes\": [\r\n \"104.41.59.51/32\",\r\n \ - \ \"191.232.38.129/32\",\r\n \"191.232.191.157/32\",\r\n \ - \ \"191.233.203.192/28\",\r\n \"191.233.207.160/27\",\r\n \ - \ \"2603:1050:6:402::180/122\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"AzureConnectors.CanadaCentral\",\r\n \"\ - id\": \"AzureConnectors.CanadaCentral\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"2\",\r\n \"region\": \"canadacentral\",\r\ - \n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"AzureConnectors\",\r\n \ - \ \"addressPrefixes\": [\r\n \"13.71.170.208/28\",\r\n \ - \ \"13.71.175.160/27\",\r\n \"52.228.33.76/32\",\r\n \"\ - 52.228.34.13/32\",\r\n \"52.228.42.205/32\",\r\n \"52.233.29.254/32\"\ - ,\r\n \"52.233.30.148/32\",\r\n \"52.233.30.199/32\",\r\n\ - \ \"52.233.30.222/32\",\r\n \"52.233.31.197/32\",\r\n \ - \ \"52.237.24.126/32\",\r\n \"52.237.32.212/32\",\r\n \ - \ \"2603:1030:f05:402::180/122\"\r\n ]\r\n }\r\n },\r\n\ - \ {\r\n \"name\": \"AzureConnectors.CanadaEast\",\r\n \"id\"\ - : \"AzureConnectors.CanadaEast\",\r\n \"properties\": {\r\n \"\ - changeNumber\": \"2\",\r\n \"region\": \"canadaeast\",\r\n \"\ - state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\ - \n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n \ - \ ],\r\n \"systemService\": \"AzureConnectors\",\r\n \"addressPrefixes\"\ - : [\r\n \"40.69.106.240/28\",\r\n \"40.69.111.0/27\",\r\n\ - \ \"52.229.120.52/32\",\r\n \"52.229.120.178/32\",\r\n \ - \ \"52.229.123.56/32\",\r\n \"52.229.123.98/32\",\r\n \ - \ \"52.229.126.28/32\",\r\n \"52.229.126.118/32\",\r\n \ - \ \"52.229.126.202/32\",\r\n \"52.232.130.205/32\",\r\n \ - \ \"52.242.30.112/32\",\r\n \"52.242.35.152/32\",\r\n \ - \ \"2603:1030:1005:402::180/122\"\r\n ]\r\n }\r\n },\r\n\ - \ {\r\n \"name\": \"AzureConnectors.CentralIndia\",\r\n \"id\"\ - : \"AzureConnectors.CentralIndia\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"2\",\r\n \"region\": \"centralindia\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"\ - API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n\ - \ ],\r\n \"systemService\": \"AzureConnectors\",\r\n \ - \ \"addressPrefixes\": [\r\n \"20.43.123.0/27\",\r\n \"\ - 52.172.155.245/32\",\r\n \"52.172.158.2/32\",\r\n \"52.172.158.185/32\"\ - ,\r\n \"52.172.159.100/32\",\r\n \"52.172.211.12/32\",\r\ - \n \"52.172.212.129/32\",\r\n \"104.211.81.192/28\",\r\n\ - \ \"104.211.98.164/32\",\r\n \"2603:1040:a06:402::180/122\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureConnectors.CentralUS\"\ - ,\r\n \"id\": \"AzureConnectors.CentralUS\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"centralus\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureConnectors\",\r\n\ - \ \"addressPrefixes\": [\r\n \"13.89.171.80/28\",\r\n \ - \ \"13.89.178.64/27\",\r\n \"40.122.49.51/32\",\r\n \ - \ \"52.173.241.27/32\",\r\n \"52.173.245.164/32\",\r\n \ - \ \"104.43.232.28/32\",\r\n \"104.43.232.242/32\",\r\n \"\ - 104.43.234.211/32\",\r\n \"104.43.235.249/32\",\r\n \"2603:1030:10:402::180/122\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureConnectors.CentralUSEUAP\"\ - ,\r\n \"id\": \"AzureConnectors.CentralUSEUAP\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"centraluseuap\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"AzureConnectors\",\r\n \"addressPrefixes\": [\r\n \"40.78.202.96/28\"\ - ,\r\n \"168.61.140.0/27\",\r\n \"2603:1030:f:400::980/122\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureConnectors.EastAsia\"\ - ,\r\n \"id\": \"AzureConnectors.EastAsia\",\r\n \"properties\":\ - \ {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"eastasia\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureConnectors\",\r\n\ - \ \"addressPrefixes\": [\r\n \"13.75.36.64/28\",\r\n \ - \ \"13.75.89.9/32\",\r\n \"13.75.91.198/32\",\r\n \"\ - 13.75.92.124/32\",\r\n \"13.75.92.202/32\",\r\n \"13.75.110.131/32\"\ - ,\r\n \"23.99.116.181/32\",\r\n \"52.175.23.169/32\",\r\n\ - \ \"104.214.164.0/27\",\r\n \"2603:1040:207:402::180/122\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureConnectors.EastUS\"\ - ,\r\n \"id\": \"AzureConnectors.EastUS\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"2\",\r\n \"region\": \"eastus\",\r\n\ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"AzureConnectors\",\r\n \ - \ \"addressPrefixes\": [\r\n \"40.71.11.80/28\",\r\n \ - \ \"40.71.15.160/27\",\r\n \"40.71.249.139/32\",\r\n \"\ - 40.71.249.205/32\",\r\n \"40.114.40.132/32\",\r\n \"40.117.98.246/32\"\ - ,\r\n \"40.117.100.191/32\",\r\n \"40.117.101.91/32\",\r\ - \n \"40.117.101.120/32\",\r\n \"2603:1030:210:402::180/122\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureConnectors.EastUS2\"\ - ,\r\n \"id\": \"AzureConnectors.EastUS2\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"2\",\r\n \"region\": \"eastus2\",\r\n\ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"AzureConnectors\",\r\n \ - \ \"addressPrefixes\": [\r\n \"40.70.146.208/28\",\r\n \ - \ \"40.70.151.96/27\",\r\n \"52.225.129.144/32\",\r\n \ - \ \"52.232.188.154/32\",\r\n \"104.208.233.100/32\",\r\n \ - \ \"104.209.247.23/32\",\r\n \"2603:1030:40c:402::180/122\"\r\n\ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureConnectors.EastUS2EUAP\"\ - ,\r\n \"id\": \"AzureConnectors.EastUS2EUAP\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"eastus2euap\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureConnectors\",\r\n\ - \ \"addressPrefixes\": [\r\n \"40.74.146.64/28\",\r\n \ - \ \"52.138.92.192/27\",\r\n \"2603:1030:40b:400::980/122\"\r\ - \n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureConnectors.FranceCentral\"\ - ,\r\n \"id\": \"AzureConnectors.FranceCentral\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"centralfrance\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureConnectors\",\r\n\ - \ \"addressPrefixes\": [\r\n \"40.79.130.208/28\",\r\n \ - \ \"40.79.148.96/27\",\r\n \"40.89.135.2/32\",\r\n \ - \ \"40.89.186.239/32\",\r\n \"2603:1020:805:402::180/122\"\r\n \ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureConnectors.FranceSouth\"\ - ,\r\n \"id\": \"AzureConnectors.FranceSouth\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"southfrance\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureConnectors\",\r\n\ - \ \"addressPrefixes\": [\r\n \"40.79.178.240/28\",\r\n \ - \ \"40.79.180.224/27\",\r\n \"52.136.133.184/32\",\r\n \ - \ \"52.136.142.154/32\",\r\n \"2603:1020:905:402::180/122\"\r\ - \n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureConnectors.GermanyNorth\"\ - ,\r\n \"id\": \"AzureConnectors.GermanyNorth\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"germanyn\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureConnectors\",\r\n\ - \ \"addressPrefixes\": [\r\n \"51.116.59.16/28\",\r\n \ - \ \"51.116.60.192/27\",\r\n \"51.116.211.212/32\",\r\n \ - \ \"2603:1020:d04:402::180/122\"\r\n ]\r\n }\r\n },\r\n\ - \ {\r\n \"name\": \"AzureConnectors.GermanyWestCentral\",\r\n \ - \ \"id\": \"AzureConnectors.GermanyWestCentral\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"germanywc\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureConnectors\",\r\n\ - \ \"addressPrefixes\": [\r\n \"51.116.155.80/28\",\r\n \ - \ \"51.116.158.96/27\",\r\n \"51.116.236.78/32\",\r\n \ - \ \"2603:1020:c04:402::180/122\"\r\n ]\r\n }\r\n },\r\n\ - \ {\r\n \"name\": \"AzureConnectors.JapanEast\",\r\n \"id\":\ - \ \"AzureConnectors.JapanEast\",\r\n \"properties\": {\r\n \"\ - changeNumber\": \"2\",\r\n \"region\": \"japaneast\",\r\n \"\ - state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\ - \n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n \ - \ ],\r\n \"systemService\": \"AzureConnectors\",\r\n \"addressPrefixes\"\ - : [\r\n \"13.71.153.19/32\",\r\n \"13.73.21.230/32\",\r\n\ - \ \"13.78.84.73/32\",\r\n \"13.78.85.193/32\",\r\n \ - \ \"13.78.85.200/32\",\r\n \"13.78.86.229/32\",\r\n \ - \ \"13.78.108.0/28\",\r\n \"40.79.189.64/27\",\r\n \"40.115.186.96/32\"\ - ,\r\n \"2603:1040:407:402::180/122\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"AzureConnectors.JapanWest\",\r\n \ - \ \"id\": \"AzureConnectors.JapanWest\",\r\n \"properties\": {\r\n\ - \ \"changeNumber\": \"2\",\r\n \"region\": \"japanwest\",\r\n\ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"AzureConnectors\",\r\n \ - \ \"addressPrefixes\": [\r\n \"40.74.100.224/28\",\r\n \ - \ \"40.74.130.77/32\",\r\n \"40.80.180.64/27\",\r\n \"\ - 104.214.137.186/32\",\r\n \"104.214.138.174/32\",\r\n \"\ - 104.214.139.29/32\",\r\n \"104.214.140.23/32\",\r\n \"104.215.27.24/32\"\ - ,\r\n \"104.215.61.248/32\",\r\n \"2603:1040:606:402::180/122\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureConnectors.KoreaCentral\"\ - ,\r\n \"id\": \"AzureConnectors.KoreaCentral\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"koreacentral\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureConnectors\",\r\n\ - \ \"addressPrefixes\": [\r\n \"20.44.29.64/27\",\r\n \ - \ \"52.141.1.104/32\",\r\n \"52.141.36.214/32\",\r\n \ - \ \"52.231.18.208/28\",\r\n \"2603:1040:f05:402::180/122\"\r\n \ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureConnectors.KoreaSouth\"\ - ,\r\n \"id\": \"AzureConnectors.KoreaSouth\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"1\",\r\n \"region\": \"koreasouth\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureConnectors\",\r\n\ - \ \"addressPrefixes\": [\r\n \"52.231.147.0/28\",\r\n \ - \ \"52.231.148.224/27\",\r\n \"52.231.163.10/32\",\r\n \ - \ \"52.231.201.173/32\"\r\n ]\r\n }\r\n },\r\n {\r\n\ - \ \"name\": \"AzureConnectors.NorthCentralUS\",\r\n \"id\": \"AzureConnectors.NorthCentralUS\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \ - \ \"region\": \"northcentralus\",\r\n \"state\": \"GA\",\r\n \ - \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n\ - \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\"\ - : \"AzureConnectors\",\r\n \"addressPrefixes\": [\r\n \"52.162.107.160/28\"\ - ,\r\n \"52.162.111.192/27\",\r\n \"52.162.126.4/32\",\r\n\ - \ \"52.162.242.161/32\",\r\n \"65.52.218.230/32\",\r\n \ - \ \"2603:1030:608:402::180/122\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"AzureConnectors.NorthEurope\",\r\n \"id\"\ - : \"AzureConnectors.NorthEurope\",\r\n \"properties\": {\r\n \"\ - changeNumber\": \"2\",\r\n \"region\": \"northeurope\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"API\"\ - ,\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n \ - \ ],\r\n \"systemService\": \"AzureConnectors\",\r\n \"addressPrefixes\"\ - : [\r\n \"13.69.227.208/28\",\r\n \"13.69.231.192/27\",\r\ - \n \"40.69.42.254/32\",\r\n \"40.69.45.11/32\",\r\n \ - \ \"40.69.45.93/32\",\r\n \"40.69.45.126/32\",\r\n \ - \ \"52.169.28.181/32\",\r\n \"52.178.150.68/32\",\r\n \"\ - 94.245.91.93/32\",\r\n \"104.45.93.9/32\",\r\n \"2603:1020:5:402::180/122\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureConnectors.NorwayEast\"\ - ,\r\n \"id\": \"AzureConnectors.NorwayEast\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"norwaye\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureConnectors\",\r\n\ - \ \"addressPrefixes\": [\r\n \"51.120.98.224/28\",\r\n \ - \ \"51.120.100.192/27\",\r\n \"2603:1020:e04:402::180/122\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureConnectors.NorwayWest\"\ - ,\r\n \"id\": \"AzureConnectors.NorwayWest\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"norwayw\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureConnectors\",\r\n\ - \ \"addressPrefixes\": [\r\n \"51.120.218.240/28\",\r\n \ - \ \"51.120.220.192/27\",\r\n \"2603:1020:f04:402::180/122\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureConnectors.SouthAfricaNorth\"\ - ,\r\n \"id\": \"AzureConnectors.SouthAfricaNorth\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"southafricanorth\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureConnectors\",\r\n\ - \ \"addressPrefixes\": [\r\n \"102.133.155.0/28\",\r\n \ - \ \"102.133.168.167/32\",\r\n \"102.133.253.0/27\",\r\n \ - \ \"2603:1000:104:402::180/122\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"AzureConnectors.SouthAfricaWest\",\r\n \"\ - id\": \"AzureConnectors.SouthAfricaWest\",\r\n \"properties\": {\r\n\ - \ \"changeNumber\": \"2\",\r\n \"region\": \"southafricawest\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureConnectors\",\r\n\ - \ \"addressPrefixes\": [\r\n \"102.37.64.0/27\",\r\n \ - \ \"102.133.27.0/28\",\r\n \"102.133.72.85/32\",\r\n \ - \ \"2603:1000:4:402::180/122\"\r\n ]\r\n }\r\n },\r\n {\r\ - \n \"name\": \"AzureConnectors.SouthCentralUS\",\r\n \"id\": \"\ - AzureConnectors.SouthCentralUS\",\r\n \"properties\": {\r\n \"\ - changeNumber\": \"2\",\r\n \"region\": \"southcentralus\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"\ - API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n\ - \ ],\r\n \"systemService\": \"AzureConnectors\",\r\n \ - \ \"addressPrefixes\": [\r\n \"13.65.86.57/32\",\r\n \"\ - 13.73.244.224/27\",\r\n \"52.171.130.92/32\",\r\n \"104.214.19.48/28\"\ - ,\r\n \"104.214.70.191/32\",\r\n \"2603:1030:807:402::180/122\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureConnectors.SoutheastAsia\"\ - ,\r\n \"id\": \"AzureConnectors.SoutheastAsia\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"southeastasia\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureConnectors\",\r\n\ - \ \"addressPrefixes\": [\r\n \"13.67.8.240/28\",\r\n \ - \ \"13.67.15.32/27\",\r\n \"13.76.231.68/32\",\r\n \"\ - 52.163.89.40/32\",\r\n \"52.163.89.65/32\",\r\n \"52.163.91.227/32\"\ - ,\r\n \"52.163.95.29/32\",\r\n \"52.187.68.19/32\",\r\n\ - \ \"52.187.115.69/32\",\r\n \"2603:1040:5:402::180/122\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureConnectors.SouthIndia\"\ - ,\r\n \"id\": \"AzureConnectors.SouthIndia\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"southindia\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureConnectors\",\r\n\ - \ \"addressPrefixes\": [\r\n \"13.71.125.22/32\",\r\n \ - \ \"13.71.127.26/32\",\r\n \"20.192.184.32/27\",\r\n \ - \ \"40.78.194.240/28\",\r\n \"52.172.51.70/32\",\r\n \"\ - 52.172.54.172/32\",\r\n \"52.172.55.84/32\",\r\n \"52.172.55.107/32\"\ - ,\r\n \"104.211.227.225/32\",\r\n \"2603:1040:c06:402::180/122\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureConnectors.SwitzerlandNorth\"\ - ,\r\n \"id\": \"AzureConnectors.SwitzerlandNorth\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"switzerlandn\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureConnectors\",\r\n\ - \ \"addressPrefixes\": [\r\n \"51.103.142.22/32\",\r\n \ - \ \"51.107.59.16/28\",\r\n \"51.107.60.224/27\",\r\n \ - \ \"51.107.86.217/32\",\r\n \"2603:1020:a04:402::180/122\"\r\n\ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureConnectors.SwitzerlandWest\"\ - ,\r\n \"id\": \"AzureConnectors.SwitzerlandWest\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"switzerlandw\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureConnectors\",\r\n\ - \ \"addressPrefixes\": [\r\n \"51.107.155.16/28\",\r\n \ - \ \"51.107.156.224/27\",\r\n \"2603:1020:b04:402::180/122\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureConnectors.UAECentral\"\ - ,\r\n \"id\": \"AzureConnectors.UAECentral\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"uaecentral\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureConnectors\",\r\n\ - \ \"addressPrefixes\": [\r\n \"20.37.74.192/28\",\r\n \ - \ \"40.120.8.0/27\",\r\n \"2603:1040:b04:402::180/122\"\r\n\ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureConnectors.UAENorth\"\ - ,\r\n \"id\": \"AzureConnectors.UAENorth\",\r\n \"properties\":\ - \ {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"uaenorth\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureConnectors\",\r\n\ - \ \"addressPrefixes\": [\r\n \"40.120.64.64/27\",\r\n \ - \ \"65.52.250.208/28\",\r\n \"2603:1040:904:402::180/122\"\r\ - \n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureConnectors.UKSouth\"\ - ,\r\n \"id\": \"AzureConnectors.UKSouth\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"2\",\r\n \"region\": \"uksouth\",\r\n\ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"AzureConnectors\",\r\n \ - \ \"addressPrefixes\": [\r\n \"51.105.77.96/27\",\r\n \ - \ \"51.140.61.124/32\",\r\n \"51.140.74.150/32\",\r\n \"\ - 51.140.80.51/32\",\r\n \"51.140.148.0/28\",\r\n \"2603:1020:705:402::180/122\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureConnectors.UKWest\"\ - ,\r\n \"id\": \"AzureConnectors.UKWest\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"2\",\r\n \"region\": \"ukwest\",\r\n\ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"AzureConnectors\",\r\n \ - \ \"addressPrefixes\": [\r\n \"51.140.211.0/28\",\r\n \ - \ \"51.140.212.224/27\",\r\n \"51.141.47.105/32\",\r\n \ - \ \"51.141.52.185/32\",\r\n \"51.141.124.13/32\",\r\n \"\ - 2603:1020:605:402::180/122\"\r\n ]\r\n }\r\n },\r\n {\r\n\ - \ \"name\": \"AzureConnectors.WestCentralUS\",\r\n \"id\": \"AzureConnectors.WestCentralUS\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \ - \ \"region\": \"westcentralus\",\r\n \"state\": \"GA\",\r\n \ - \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n\ - \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\"\ - : \"AzureConnectors\",\r\n \"addressPrefixes\": [\r\n \"13.71.195.32/28\"\ - ,\r\n \"13.71.199.192/27\",\r\n \"13.78.132.82/32\",\r\n\ - \ \"52.161.26.33/32\",\r\n \"52.161.26.191/32\",\r\n \ - \ \"52.161.27.42/32\",\r\n \"52.161.29.40/32\",\r\n \ - \ \"52.161.101.204/32\",\r\n \"52.161.102.22/32\",\r\n \ - \ \"2603:1030:b04:402::180/122\"\r\n ]\r\n }\r\n },\r\n \ - \ {\r\n \"name\": \"AzureConnectors.WestEurope\",\r\n \"id\": \"\ - AzureConnectors.WestEurope\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"2\",\r\n \"region\": \"westeurope\",\r\n \"state\": \"GA\"\ - ,\r\n \"networkFeatures\": [\r\n \"API\",\r\n \"\ - NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n ],\r\n \ - \ \"systemService\": \"AzureConnectors\",\r\n \"addressPrefixes\":\ - \ [\r\n \"13.69.64.208/28\",\r\n \"13.69.71.192/27\",\r\n\ - \ \"40.91.208.65/32\",\r\n \"40.115.50.13/32\",\r\n \ - \ \"52.166.78.89/32\",\r\n \"52.166.241.149/32\",\r\n \ - \ \"52.166.243.169/32\",\r\n \"52.166.244.232/32\",\r\n \ - \ \"52.166.245.173/32\",\r\n \"52.174.88.118/32\",\r\n \ - \ \"2603:1020:206:402::180/122\"\r\n ]\r\n }\r\n },\r\n \ - \ {\r\n \"name\": \"AzureConnectors.WestIndia\",\r\n \"id\": \"\ - AzureConnectors.WestIndia\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"2\",\r\n \"region\": \"westindia\",\r\n \"state\": \"GA\"\ - ,\r\n \"networkFeatures\": [\r\n \"API\",\r\n \"\ - NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n ],\r\n \ - \ \"systemService\": \"AzureConnectors\",\r\n \"addressPrefixes\":\ - \ [\r\n \"20.38.128.224/27\",\r\n \"104.211.146.224/28\"\ - ,\r\n \"104.211.161.203/32\",\r\n \"104.211.189.124/32\"\ - ,\r\n \"104.211.189.218/32\",\r\n \"2603:1040:806:402::180/122\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureConnectors.WestUS\"\ - ,\r\n \"id\": \"AzureConnectors.WestUS\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"2\",\r\n \"region\": \"westus\",\r\n\ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"AzureConnectors\",\r\n \ - \ \"addressPrefixes\": [\r\n \"13.86.223.32/27\",\r\n \ - \ \"13.93.148.62/32\",\r\n \"40.112.195.87/32\",\r\n \"\ - 40.112.243.160/28\",\r\n \"52.160.91.66/32\",\r\n \"52.160.92.131/32\"\ - ,\r\n \"52.160.93.247/32\",\r\n \"52.160.95.100/32\",\r\n\ - \ \"104.40.51.248/32\",\r\n \"104.42.122.49/32\",\r\n \ - \ \"2603:1030:a07:402::100/122\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"AzureConnectors.WestUS2\",\r\n \"id\": \"\ - AzureConnectors.WestUS2\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"2\",\r\n \"region\": \"westus2\",\r\n \"state\": \"GA\"\ - ,\r\n \"networkFeatures\": [\r\n \"API\",\r\n \"\ - NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n ],\r\n \ - \ \"systemService\": \"AzureConnectors\",\r\n \"addressPrefixes\":\ - \ [\r\n \"13.66.140.128/28\",\r\n \"13.66.145.96/27\",\r\ - \n \"13.66.210.166/32\",\r\n \"13.66.213.29/32\",\r\n \ - \ \"13.66.213.240/32\",\r\n \"13.66.214.51/32\",\r\n \ - \ \"52.183.78.157/32\",\r\n \"52.191.164.250/32\",\r\n \ - \ \"2603:1030:c06:400::980/122\"\r\n ]\r\n }\r\n },\r\n\ - \ {\r\n \"name\": \"AzureContainerRegistry\",\r\n \"id\": \"\ - AzureContainerRegistry\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"3\",\r\n \"region\": \"\",\r\n \"state\": \"GA\",\r\n \ - \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\ - \n \"UDR\",\r\n \"FW\",\r\n \"VSE\"\r\n \ - \ ],\r\n \"systemService\": \"AzureContainerRegistry\",\r\n \ - \ \"addressPrefixes\": [\r\n \"13.66.140.72/29\",\r\n \"\ - 13.66.146.0/24\",\r\n \"13.66.147.0/25\",\r\n \"13.66.148.0/24\"\ - ,\r\n \"13.67.8.120/29\",\r\n \"13.67.14.0/24\",\r\n \ - \ \"13.69.64.88/29\",\r\n \"13.69.106.80/29\",\r\n \ - \ \"13.69.110.0/24\",\r\n \"13.69.227.88/29\",\r\n \"13.69.236.0/23\"\ - ,\r\n \"13.69.238.0/24\",\r\n \"13.70.72.136/29\",\r\n \ - \ \"13.70.78.0/25\",\r\n \"13.71.170.56/29\",\r\n \ - \ \"13.71.176.0/24\",\r\n \"13.71.194.224/29\",\r\n \"\ - 13.73.245.64/26\",\r\n \"13.73.245.128/25\",\r\n \"13.73.255.64/26\"\ - ,\r\n \"13.74.107.80/29\",\r\n \"13.74.110.0/24\",\r\n \ - \ \"13.75.36.0/29\",\r\n \"13.77.50.80/29\",\r\n \ - \ \"13.78.106.200/29\",\r\n \"13.78.111.0/25\",\r\n \"\ - 13.87.56.96/29\",\r\n \"13.87.122.96/29\",\r\n \"13.89.170.216/29\"\ - ,\r\n \"13.89.175.0/25\",\r\n \"20.37.69.0/26\",\r\n \ - \ \"20.37.74.72/29\",\r\n \"20.38.140.192/26\",\r\n \ - \ \"20.38.146.144/29\",\r\n \"20.38.149.0/25\",\r\n \"\ - 20.39.15.128/25\",\r\n \"20.40.224.64/26\",\r\n \"20.41.69.128/26\"\ - ,\r\n \"20.41.199.192/26\",\r\n \"20.42.66.0/23\",\r\n \ - \ \"20.43.46.64/26\",\r\n \"20.43.121.128/26\",\r\n \ - \ \"20.43.123.64/26\",\r\n \"20.44.2.24/29\",\r\n \"\ - 20.44.11.0/25\",\r\n \"20.44.11.128/26\",\r\n \"20.44.12.0/25\"\ - ,\r\n \"20.44.19.64/26\",\r\n \"20.44.22.0/23\",\r\n \ - \ \"20.44.26.144/29\",\r\n \"20.44.29.128/25\",\r\n \ - \ \"20.45.122.144/29\",\r\n \"20.45.125.0/25\",\r\n \"\ - 20.45.199.128/25\",\r\n \"20.48.192.128/26\",\r\n \"20.49.82.16/29\"\ - ,\r\n \"20.49.90.16/29\",\r\n \"20.49.92.0/24\",\r\n \ - \ \"20.49.93.0/26\",\r\n \"20.49.102.128/26\",\r\n \ - \ \"20.49.115.0/26\",\r\n \"20.49.127.0/26\",\r\n \"20.50.200.0/24\"\ - ,\r\n \"20.52.88.64/26\",\r\n \"20.53.41.128/26\",\r\n \ - \ \"20.61.97.128/25\",\r\n \"20.62.128.0/26\",\r\n \ - \ \"20.65.0.0/24\",\r\n \"20.72.18.128/26\",\r\n \"20.72.26.128/26\"\ - ,\r\n \"20.72.30.0/25\",\r\n \"20.150.170.24/29\",\r\n \ - \ \"20.150.173.128/26\",\r\n \"20.150.174.0/25\",\r\n \ - \ \"20.150.178.144/29\",\r\n \"20.150.181.192/26\",\r\n \ - \ \"20.150.182.128/25\",\r\n \"20.150.186.144/29\",\r\n \ - \ \"20.150.225.64/26\",\r\n \"20.150.241.0/26\",\r\n \ - \ \"20.187.196.64/26\",\r\n \"20.189.169.0/24\",\r\n \ - \ \"20.189.171.128/25\",\r\n \"20.189.224.0/26\",\r\n \"\ - 20.191.160.128/26\",\r\n \"20.192.32.0/26\",\r\n \"20.192.33.0/26\"\ - ,\r\n \"20.192.33.128/25\",\r\n \"20.192.50.0/26\",\r\n\ - \ \"20.192.98.144/29\",\r\n \"20.192.101.64/26\",\r\n \ - \ \"20.192.101.128/26\",\r\n \"20.192.234.24/29\",\r\n \ - \ \"20.193.192.128/26\",\r\n \"20.193.202.16/29\",\r\n \ - \ \"20.193.204.128/26\",\r\n \"20.193.205.0/25\",\r\n \ - \ \"20.193.206.64/26\",\r\n \"20.194.66.16/29\",\r\n \ - \ \"20.194.68.0/25\",\r\n \"20.194.128.0/25\",\r\n \"20.195.64.128/26\"\ - ,\r\n \"20.195.136.0/24\",\r\n \"20.195.137.0/25\",\r\n\ - \ \"23.98.82.112/29\",\r\n \"23.98.86.128/25\",\r\n \ - \ \"23.98.87.0/25\",\r\n \"23.98.112.0/25\",\r\n \"\ - 40.64.112.0/24\",\r\n \"40.64.135.128/25\",\r\n \"40.67.58.24/29\"\ - ,\r\n \"40.67.121.0/25\",\r\n \"40.69.106.80/29\",\r\n \ - \ \"40.69.110.0/25\",\r\n \"40.70.146.88/29\",\r\n \ - \ \"40.70.150.0/24\",\r\n \"40.71.10.216/29\",\r\n \"\ - 40.74.100.160/29\",\r\n \"40.74.146.48/29\",\r\n \"40.74.149.128/25\"\ - ,\r\n \"40.75.34.32/29\",\r\n \"40.78.194.80/29\",\r\n \ - \ \"40.78.196.192/26\",\r\n \"40.78.202.72/29\",\r\n \ - \ \"40.78.226.208/29\",\r\n \"40.78.231.0/24\",\r\n \ - \ \"40.78.234.48/29\",\r\n \"40.78.239.128/25\",\r\n \"\ - 40.78.242.160/29\",\r\n \"40.78.246.0/24\",\r\n \"40.78.250.96/29\"\ - ,\r\n \"40.79.130.56/29\",\r\n \"40.79.132.192/26\",\r\n\ - \ \"40.79.138.32/29\",\r\n \"40.79.141.0/25\",\r\n \ - \ \"40.79.146.32/29\",\r\n \"40.79.148.128/25\",\r\n \ - \ \"40.79.154.104/29\",\r\n \"40.79.162.32/29\",\r\n \"\ - 40.79.165.128/25\",\r\n \"40.79.166.0/25\",\r\n \"40.79.170.0/29\"\ - ,\r\n \"40.79.173.128/25\",\r\n \"40.79.174.0/25\",\r\n\ - \ \"40.79.178.80/29\",\r\n \"40.79.186.8/29\",\r\n \ - \ \"40.79.189.128/25\",\r\n \"40.79.190.0/25\",\r\n \ - \ \"40.79.194.96/29\",\r\n \"40.79.197.128/25\",\r\n \"\ - 40.80.50.144/29\",\r\n \"40.80.51.192/26\",\r\n \"40.80.176.128/25\"\ - ,\r\n \"40.89.23.64/26\",\r\n \"40.89.120.0/24\",\r\n \ - \ \"40.89.121.0/25\",\r\n \"40.112.242.160/29\",\r\n \ - \ \"40.120.8.64/26\",\r\n \"40.120.74.16/29\",\r\n \"\ - 40.120.77.0/25\",\r\n \"40.124.64.0/25\",\r\n \"51.12.25.64/26\"\ - ,\r\n \"51.12.32.0/25\",\r\n \"51.12.98.24/29\",\r\n \ - \ \"51.12.100.192/26\",\r\n \"51.12.101.0/26\",\r\n \ - \ \"51.12.199.192/26\",\r\n \"51.12.202.24/29\",\r\n \"\ - 51.12.205.128/26\",\r\n \"51.12.206.128/25\",\r\n \"51.12.226.144/29\"\ - ,\r\n \"51.12.234.144/29\",\r\n \"51.13.0.0/25\",\r\n \ - \ \"51.13.128.128/25\",\r\n \"51.104.9.128/25\",\r\n \ - \ \"51.105.66.144/29\",\r\n \"51.105.69.128/25\",\r\n \ - \ \"51.105.70.0/25\",\r\n \"51.105.74.144/29\",\r\n \"\ - 51.105.77.128/25\",\r\n \"51.107.53.64/26\",\r\n \"51.107.56.192/26\"\ - ,\r\n \"51.107.58.24/29\",\r\n \"51.107.148.128/26\",\r\n\ - \ \"51.107.152.192/26\",\r\n \"51.107.154.24/29\",\r\n \ - \ \"51.107.192.0/26\",\r\n \"51.116.58.24/29\",\r\n \ - \ \"51.116.154.88/29\",\r\n \"51.116.158.128/25\",\r\n \ - \ \"51.116.242.144/29\",\r\n \"51.116.250.144/29\",\r\n \ - \ \"51.120.98.160/29\",\r\n \"51.120.106.144/29\",\r\n \ - \ \"51.120.109.128/26\",\r\n \"51.120.110.0/25\",\r\n \ - \ \"51.120.210.144/29\",\r\n \"51.120.213.128/25\",\r\n \ - \ \"51.120.218.24/29\",\r\n \"51.120.234.0/26\",\r\n \"\ - 51.132.192.0/25\",\r\n \"51.137.166.192/26\",\r\n \"51.140.146.200/29\"\ - ,\r\n \"51.140.210.192/29\",\r\n \"51.140.215.0/25\",\r\n\ - \ \"51.143.208.0/26\",\r\n \"52.138.90.32/29\",\r\n \ - \ \"52.138.93.0/24\",\r\n \"52.138.226.80/29\",\r\n \ - \ \"52.138.230.0/23\",\r\n \"52.140.110.192/26\",\r\n \"\ - 52.146.131.128/26\",\r\n \"52.150.156.64/26\",\r\n \"52.162.104.192/26\"\ - ,\r\n \"52.162.106.160/29\",\r\n \"52.167.106.80/29\",\r\ - \n \"52.167.110.0/24\",\r\n \"52.168.112.192/26\",\r\n \ - \ \"52.168.114.0/23\",\r\n \"52.178.18.0/23\",\r\n \ - \ \"52.178.20.0/24\",\r\n \"52.182.138.208/29\",\r\n \ - \ \"52.182.142.0/24\",\r\n \"52.231.18.56/29\",\r\n \"52.231.20.128/26\"\ - ,\r\n \"52.231.146.192/29\",\r\n \"52.236.186.80/29\",\r\ - \n \"52.236.191.0/24\",\r\n \"52.240.241.128/25\",\r\n \ - \ \"52.240.244.0/25\",\r\n \"52.246.154.144/29\",\r\n \ - \ \"52.246.157.128/25\",\r\n \"52.246.158.0/25\",\r\n \ - \ \"65.52.248.192/26\",\r\n \"65.52.250.16/29\",\r\n \ - \ \"102.133.26.24/29\",\r\n \"102.133.122.144/29\",\r\n \ - \ \"102.133.124.192/26\",\r\n \"102.133.126.0/26\",\r\n \ - \ \"102.133.154.24/29\",\r\n \"102.133.156.192/26\",\r\n \ - \ \"102.133.220.64/26\",\r\n \"102.133.250.144/29\",\r\n \ - \ \"102.133.253.64/26\",\r\n \"102.133.253.128/26\",\r\n \ - \ \"104.46.161.128/25\",\r\n \"104.46.177.128/26\",\r\n \ - \ \"104.208.16.80/29\",\r\n \"104.208.144.80/29\",\r\n \ - \ \"104.211.81.136/29\",\r\n \"104.211.146.80/29\",\r\n \ - \ \"104.214.18.184/29\",\r\n \"104.214.161.128/25\",\r\n \ - \ \"168.61.140.128/25\",\r\n \"168.61.141.0/24\",\r\n \ - \ \"191.233.50.16/29\",\r\n \"191.233.54.64/26\",\r\n \ - \ \"191.233.54.128/26\",\r\n \"191.233.203.136/29\",\r\n \ - \ \"191.233.205.192/26\",\r\n \"191.234.139.0/26\",\r\n \ - \ \"191.234.146.144/29\",\r\n \"191.234.149.64/26\",\r\n \ - \ \"191.234.150.0/26\",\r\n \"191.234.154.144/29\",\r\n \ - \ \"191.234.157.192/26\",\r\n \"2603:1000:4:402::90/125\",\r\n\ - \ \"2603:1000:4:402::340/122\",\r\n \"2603:1000:104:402::90/125\"\ - ,\r\n \"2603:1000:104:402::340/122\",\r\n \"2603:1000:104:802::90/125\"\ - ,\r\n \"2603:1000:104:c02::90/125\",\r\n \"2603:1010:6:402::90/125\"\ - ,\r\n \"2603:1010:6:402::340/122\",\r\n \"2603:1010:6:802::90/125\"\ - ,\r\n \"2603:1010:6:c02::90/125\",\r\n \"2603:1010:101:402::90/125\"\ - ,\r\n \"2603:1010:101:402::340/122\",\r\n \"2603:1010:304:402::90/125\"\ - ,\r\n \"2603:1010:304:402::340/122\",\r\n \"2603:1010:404:402::90/125\"\ - ,\r\n \"2603:1010:404:402::340/122\",\r\n \"2603:1020:5:402::90/125\"\ - ,\r\n \"2603:1020:5:402::340/122\",\r\n \"2603:1020:5:802::90/125\"\ - ,\r\n \"2603:1020:5:c02::90/125\",\r\n \"2603:1020:206:402::90/125\"\ - ,\r\n \"2603:1020:206:402::340/122\",\r\n \"2603:1020:206:802::90/125\"\ - ,\r\n \"2603:1020:206:c02::90/125\",\r\n \"2603:1020:305:402::90/125\"\ - ,\r\n \"2603:1020:305:402::340/122\",\r\n \"2603:1020:405:402::90/125\"\ - ,\r\n \"2603:1020:405:402::340/122\",\r\n \"2603:1020:605:402::90/125\"\ - ,\r\n \"2603:1020:605:402::340/122\",\r\n \"2603:1020:705:402::90/125\"\ - ,\r\n \"2603:1020:705:402::340/122\",\r\n \"2603:1020:705:802::90/125\"\ - ,\r\n \"2603:1020:705:c02::90/125\",\r\n \"2603:1020:805:402::90/125\"\ - ,\r\n \"2603:1020:805:402::340/122\",\r\n \"2603:1020:805:802::90/125\"\ - ,\r\n \"2603:1020:805:c02::90/125\",\r\n \"2603:1020:905:402::90/125\"\ - ,\r\n \"2603:1020:905:402::340/122\",\r\n \"2603:1020:a04:402::90/125\"\ - ,\r\n \"2603:1020:a04:402::340/122\",\r\n \"2603:1020:a04:802::90/125\"\ - ,\r\n \"2603:1020:a04:c02::90/125\",\r\n \"2603:1020:b04:402::90/125\"\ - ,\r\n \"2603:1020:b04:402::340/122\",\r\n \"2603:1020:c04:402::90/125\"\ - ,\r\n \"2603:1020:c04:402::340/122\",\r\n \"2603:1020:c04:802::90/125\"\ - ,\r\n \"2603:1020:c04:c02::90/125\",\r\n \"2603:1020:d04:402::90/125\"\ - ,\r\n \"2603:1020:d04:402::340/122\",\r\n \"2603:1020:e04:402::90/125\"\ - ,\r\n \"2603:1020:e04:402::340/122\",\r\n \"2603:1020:e04:802::90/125\"\ - ,\r\n \"2603:1020:e04:c02::90/125\",\r\n \"2603:1020:f04:402::90/125\"\ - ,\r\n \"2603:1020:f04:402::340/122\",\r\n \"2603:1020:1004:1::1a0/125\"\ - ,\r\n \"2603:1020:1004:400::90/125\",\r\n \"2603:1020:1004:400::3b8/125\"\ - ,\r\n \"2603:1020:1004:400::500/121\",\r\n \"2603:1020:1004:800::150/125\"\ - ,\r\n \"2603:1020:1004:800::180/121\",\r\n \"2603:1020:1004:800::280/121\"\ - ,\r\n \"2603:1020:1004:c02::300/121\",\r\n \"2603:1020:1104::5a0/125\"\ - ,\r\n \"2603:1020:1104:400::90/125\",\r\n \"2603:1020:1104:400::380/121\"\ - ,\r\n \"2603:1030:f:400::890/125\",\r\n \"2603:1030:f:400::b40/122\"\ - ,\r\n \"2603:1030:10:402::90/125\",\r\n \"2603:1030:10:402::340/122\"\ - ,\r\n \"2603:1030:10:802::90/125\",\r\n \"2603:1030:10:c02::90/125\"\ - ,\r\n \"2603:1030:104:402::90/125\",\r\n \"2603:1030:104:402::340/122\"\ - ,\r\n \"2603:1030:107::580/125\",\r\n \"2603:1030:107:400::18/125\"\ - ,\r\n \"2603:1030:107:400::300/121\",\r\n \"2603:1030:210:402::90/125\"\ - ,\r\n \"2603:1030:210:402::340/122\",\r\n \"2603:1030:210:802::90/125\"\ - ,\r\n \"2603:1030:210:c02::90/125\",\r\n \"2603:1030:40b:400::890/125\"\ - ,\r\n \"2603:1030:40b:400::b40/122\",\r\n \"2603:1030:40b:800::90/125\"\ - ,\r\n \"2603:1030:40b:c00::90/125\",\r\n \"2603:1030:40c:402::90/125\"\ - ,\r\n \"2603:1030:40c:402::340/122\",\r\n \"2603:1030:40c:802::90/125\"\ - ,\r\n \"2603:1030:40c:c02::90/125\",\r\n \"2603:1030:504::1a0/125\"\ - ,\r\n \"2603:1030:504:402::90/125\",\r\n \"2603:1030:504:402::3b8/125\"\ - ,\r\n \"2603:1030:504:802::150/125\",\r\n \"2603:1030:504:802::180/121\"\ - ,\r\n \"2603:1030:504:c02::300/121\",\r\n \"2603:1030:608:402::90/125\"\ - ,\r\n \"2603:1030:608:402::340/122\",\r\n \"2603:1030:807:402::90/125\"\ - ,\r\n \"2603:1030:807:402::340/122\",\r\n \"2603:1030:807:802::90/125\"\ - ,\r\n \"2603:1030:807:c02::90/125\",\r\n \"2603:1030:a07:402::90/125\"\ - ,\r\n \"2603:1030:a07:402::9c0/122\",\r\n \"2603:1030:b04:402::90/125\"\ - ,\r\n \"2603:1030:b04:402::340/122\",\r\n \"2603:1030:c06:400::890/125\"\ - ,\r\n \"2603:1030:c06:400::b40/122\",\r\n \"2603:1030:c06:802::90/125\"\ - ,\r\n \"2603:1030:c06:c02::90/125\",\r\n \"2603:1030:f05:402::90/125\"\ - ,\r\n \"2603:1030:f05:402::340/122\",\r\n \"2603:1030:f05:802::90/125\"\ - ,\r\n \"2603:1030:f05:c02::90/125\",\r\n \"2603:1030:1005:402::90/125\"\ - ,\r\n \"2603:1030:1005:402::340/122\",\r\n \"2603:1040:5:402::90/125\"\ - ,\r\n \"2603:1040:5:402::340/122\",\r\n \"2603:1040:5:802::90/125\"\ - ,\r\n \"2603:1040:5:c02::90/125\",\r\n \"2603:1040:207:402::90/125\"\ - ,\r\n \"2603:1040:207:402::340/122\",\r\n \"2603:1040:407:402::90/125\"\ - ,\r\n \"2603:1040:407:402::340/122\",\r\n \"2603:1040:407:802::90/125\"\ - ,\r\n \"2603:1040:407:c02::90/125\",\r\n \"2603:1040:606:402::90/125\"\ - ,\r\n \"2603:1040:606:402::340/122\",\r\n \"2603:1040:806:402::90/125\"\ - ,\r\n \"2603:1040:806:402::340/122\",\r\n \"2603:1040:904:402::90/125\"\ - ,\r\n \"2603:1040:904:402::340/122\",\r\n \"2603:1040:904:802::90/125\"\ - ,\r\n \"2603:1040:904:c02::90/125\",\r\n \"2603:1040:a06:402::90/125\"\ - ,\r\n \"2603:1040:a06:402::340/122\",\r\n \"2603:1040:a06:802::90/125\"\ - ,\r\n \"2603:1040:a06:c02::90/125\",\r\n \"2603:1040:b04:402::90/125\"\ - ,\r\n \"2603:1040:b04:402::340/122\",\r\n \"2603:1040:c06:402::90/125\"\ - ,\r\n \"2603:1040:c06:402::340/122\",\r\n \"2603:1040:d04:1::1a0/125\"\ - ,\r\n \"2603:1040:d04:400::90/125\",\r\n \"2603:1040:d04:400::3b8/125\"\ - ,\r\n \"2603:1040:d04:400::500/121\",\r\n \"2603:1040:d04:800::150/125\"\ - ,\r\n \"2603:1040:d04:800::180/121\",\r\n \"2603:1040:d04:800::280/121\"\ - ,\r\n \"2603:1040:d04:c02::300/121\",\r\n \"2603:1040:f05:402::90/125\"\ - ,\r\n \"2603:1040:f05:402::340/122\",\r\n \"2603:1040:f05:802::90/125\"\ - ,\r\n \"2603:1040:f05:c02::90/125\",\r\n \"2603:1040:1104::5a0/125\"\ - ,\r\n \"2603:1040:1104:400::90/125\",\r\n \"2603:1040:1104:400::380/121\"\ - ,\r\n \"2603:1050:6:402::90/125\",\r\n \"2603:1050:6:402::340/122\"\ - ,\r\n \"2603:1050:6:402::500/121\",\r\n \"2603:1050:6:802::90/125\"\ - ,\r\n \"2603:1050:6:c02::90/125\",\r\n \"2603:1050:403:400::98/125\"\ - ,\r\n \"2603:1050:403:400::480/122\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"AzureContainerRegistry.AustraliaEast\"\ - ,\r\n \"id\": \"AzureContainerRegistry.AustraliaEast\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"australiaeast\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureContainerRegistry\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.70.72.136/29\",\r\n\ - \ \"13.70.78.0/25\",\r\n \"20.53.41.128/26\",\r\n \ - \ \"40.79.162.32/29\",\r\n \"40.79.165.128/25\",\r\n \ - \ \"40.79.166.0/25\",\r\n \"40.79.170.0/29\",\r\n \"40.79.173.128/25\"\ - ,\r\n \"40.79.174.0/25\",\r\n \"2603:1010:6:402::90/125\"\ - ,\r\n \"2603:1010:6:402::340/122\",\r\n \"2603:1010:6:802::90/125\"\ - ,\r\n \"2603:1010:6:c02::90/125\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"AzureContainerRegistry.AustraliaSoutheast\"\ - ,\r\n \"id\": \"AzureContainerRegistry.AustraliaSoutheast\",\r\n \ - \ \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\"\ - : \"australiasoutheast\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n\ - \ \"FW\"\r\n ],\r\n \"systemService\": \"AzureContainerRegistry\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.77.50.80/29\",\r\n \ - \ \"104.46.161.128/25\",\r\n \"104.46.177.128/26\",\r\n \ - \ \"2603:1010:101:402::90/125\",\r\n \"2603:1010:101:402::340/122\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureContainerRegistry.BrazilSouth\"\ - ,\r\n \"id\": \"AzureContainerRegistry.BrazilSouth\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"brazilsouth\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureContainerRegistry\"\ - ,\r\n \"addressPrefixes\": [\r\n \"20.195.136.0/24\",\r\n\ - \ \"20.195.137.0/25\",\r\n \"191.233.203.136/29\",\r\n \ - \ \"191.233.205.192/26\",\r\n \"191.234.139.0/26\",\r\n \ - \ \"191.234.146.144/29\",\r\n \"191.234.149.64/26\",\r\n\ - \ \"191.234.150.0/26\",\r\n \"191.234.154.144/29\",\r\n\ - \ \"191.234.157.192/26\",\r\n \"2603:1050:6:402::90/125\"\ - ,\r\n \"2603:1050:6:402::340/122\",\r\n \"2603:1050:6:402::500/121\"\ - ,\r\n \"2603:1050:6:802::90/125\",\r\n \"2603:1050:6:c02::90/125\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureContainerRegistry.CanadaCentral\"\ - ,\r\n \"id\": \"AzureContainerRegistry.CanadaCentral\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"canadacentral\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureContainerRegistry\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.71.170.56/29\",\r\n\ - \ \"13.71.176.0/25\",\r\n \"13.71.176.128/25\",\r\n \ - \ \"20.38.146.144/29\",\r\n \"20.38.149.0/25\",\r\n \ - \ \"20.48.192.128/26\",\r\n \"52.246.154.144/29\",\r\n \ - \ \"52.246.157.128/25\",\r\n \"52.246.158.0/25\",\r\n \"\ - 2603:1030:f05:402::90/125\",\r\n \"2603:1030:f05:402::340/122\",\r\ - \n \"2603:1030:f05:802::90/125\",\r\n \"2603:1030:f05:c02::90/125\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureContainerRegistry.CanadaEast\"\ - ,\r\n \"id\": \"AzureContainerRegistry.CanadaEast\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"canadaeast\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureContainerRegistry\"\ - ,\r\n \"addressPrefixes\": [\r\n \"40.69.106.80/29\",\r\n\ - \ \"40.69.110.0/25\",\r\n \"40.89.23.64/26\",\r\n \ - \ \"2603:1030:1005:402::90/125\",\r\n \"2603:1030:1005:402::340/122\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureContainerRegistry.CentralIndia\"\ - ,\r\n \"id\": \"AzureContainerRegistry.CentralIndia\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"centralindia\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureContainerRegistry\"\ - ,\r\n \"addressPrefixes\": [\r\n \"20.43.121.128/26\",\r\n\ - \ \"20.43.123.64/26\",\r\n \"20.192.98.144/29\",\r\n \ - \ \"20.192.101.64/26\",\r\n \"20.192.101.128/26\",\r\n \ - \ \"40.80.50.144/29\",\r\n \"40.80.51.192/26\",\r\n \ - \ \"52.140.110.192/26\",\r\n \"104.211.81.136/29\",\r\n \ - \ \"2603:1040:a06:402::90/125\",\r\n \"2603:1040:a06:402::340/122\"\ - ,\r\n \"2603:1040:a06:802::90/125\",\r\n \"2603:1040:a06:c02::90/125\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureContainerRegistry.CentralUS\"\ - ,\r\n \"id\": \"AzureContainerRegistry.CentralUS\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"centralus\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureContainerRegistry\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.89.170.216/29\",\r\n\ - \ \"13.89.175.0/25\",\r\n \"20.40.224.64/26\",\r\n \ - \ \"20.44.11.0/25\",\r\n \"20.44.11.128/26\",\r\n \"\ - 20.44.12.0/25\",\r\n \"52.182.138.208/29\",\r\n \"52.182.142.0/25\"\ - ,\r\n \"52.182.142.128/25\",\r\n \"104.208.16.80/29\",\r\ - \n \"2603:1030:10:402::90/125\",\r\n \"2603:1030:10:402::340/122\"\ - ,\r\n \"2603:1030:10:802::90/125\",\r\n \"2603:1030:10:c02::90/125\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureContainerRegistry.CentralUSEUAP\"\ - ,\r\n \"id\": \"AzureContainerRegistry.CentralUSEUAP\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"centraluseuap\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureContainerRegistry\"\ - ,\r\n \"addressPrefixes\": [\r\n \"20.45.199.128/25\",\r\n\ - \ \"40.78.202.72/29\",\r\n \"168.61.140.128/25\",\r\n \ - \ \"168.61.141.0/25\",\r\n \"168.61.141.128/25\",\r\n \ - \ \"2603:1030:f:400::890/125\",\r\n \"2603:1030:f:400::b40/122\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureContainerRegistry.EastAsia\"\ - ,\r\n \"id\": \"AzureContainerRegistry.EastAsia\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"eastasia\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureContainerRegistry\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.75.36.0/29\",\r\n \ - \ \"20.187.196.64/26\",\r\n \"104.214.161.128/25\",\r\n \ - \ \"2603:1040:207:402::90/125\",\r\n \"2603:1040:207:402::340/122\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureContainerRegistry.EastUS\"\ - ,\r\n \"id\": \"AzureContainerRegistry.EastUS\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"eastus\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureContainerRegistry\"\ - ,\r\n \"addressPrefixes\": [\r\n \"20.42.66.0/24\",\r\n \ - \ \"20.42.67.0/24\",\r\n \"20.62.128.0/26\",\r\n \ - \ \"40.71.10.216/29\",\r\n \"40.78.226.208/29\",\r\n \"\ - 40.78.231.0/24\",\r\n \"40.79.154.104/29\",\r\n \"52.168.112.192/26\"\ - ,\r\n \"52.168.114.0/24\",\r\n \"52.168.115.0/24\",\r\n\ - \ \"2603:1030:210:402::90/125\",\r\n \"2603:1030:210:402::340/122\"\ - ,\r\n \"2603:1030:210:802::90/125\",\r\n \"2603:1030:210:c02::90/125\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureContainerRegistry.EastUS2\"\ - ,\r\n \"id\": \"AzureContainerRegistry.EastUS2\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"eastus2\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureContainerRegistry\"\ - ,\r\n \"addressPrefixes\": [\r\n \"20.44.19.64/26\",\r\n \ - \ \"20.44.22.0/24\",\r\n \"20.44.23.0/24\",\r\n \ - \ \"20.49.102.128/26\",\r\n \"20.65.0.0/24\",\r\n \"40.70.146.88/29\"\ - ,\r\n \"40.70.150.0/24\",\r\n \"52.167.106.80/29\",\r\n\ - \ \"52.167.110.0/24\",\r\n \"104.208.144.80/29\",\r\n \ - \ \"2603:1030:40c:402::90/125\",\r\n \"2603:1030:40c:402::340/122\"\ - ,\r\n \"2603:1030:40c:802::90/125\",\r\n \"2603:1030:40c:c02::90/125\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureContainerRegistry.EastUS2EUAP\"\ - ,\r\n \"id\": \"AzureContainerRegistry.EastUS2EUAP\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"eastus2euap\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureContainerRegistry\"\ - ,\r\n \"addressPrefixes\": [\r\n \"20.39.15.128/25\",\r\n\ - \ \"40.74.146.48/29\",\r\n \"40.74.149.128/25\",\r\n \ - \ \"40.75.34.32/29\",\r\n \"40.89.120.0/24\",\r\n \ - \ \"40.89.121.0/25\",\r\n \"52.138.90.32/29\",\r\n \"52.138.93.0/25\"\ - ,\r\n \"52.138.93.128/25\",\r\n \"2603:1030:40b:400::890/125\"\ - ,\r\n \"2603:1030:40b:400::b40/122\",\r\n \"2603:1030:40b:800::90/125\"\ - ,\r\n \"2603:1030:40b:c00::90/125\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"AzureContainerRegistry.FranceCentral\"\ - ,\r\n \"id\": \"AzureContainerRegistry.FranceCentral\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"centralfrance\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureContainerRegistry\"\ - ,\r\n \"addressPrefixes\": [\r\n \"20.43.46.64/26\",\r\n \ - \ \"40.79.130.56/29\",\r\n \"40.79.132.192/26\",\r\n \ - \ \"40.79.138.32/29\",\r\n \"40.79.141.0/26\",\r\n \ - \ \"40.79.141.64/26\",\r\n \"40.79.146.32/29\",\r\n \"40.79.148.128/26\"\ - ,\r\n \"40.79.148.192/26\",\r\n \"2603:1020:805:402::90/125\"\ - ,\r\n \"2603:1020:805:402::340/122\",\r\n \"2603:1020:805:802::90/125\"\ - ,\r\n \"2603:1020:805:c02::90/125\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"AzureContainerRegistry.FranceSouth\"\ - ,\r\n \"id\": \"AzureContainerRegistry.FranceSouth\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"southfrance\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureContainerRegistry\"\ - ,\r\n \"addressPrefixes\": [\r\n \"40.79.178.80/29\",\r\n\ - \ \"2603:1020:905:402::90/125\",\r\n \"2603:1020:905:402::340/122\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureContainerRegistry.GermanyNorth\"\ - ,\r\n \"id\": \"AzureContainerRegistry.GermanyNorth\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"germanyn\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureContainerRegistry\"\ - ,\r\n \"addressPrefixes\": [\r\n \"51.116.58.24/29\",\r\n\ - \ \"2603:1020:d04:402::90/125\",\r\n \"2603:1020:d04:402::340/122\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureContainerRegistry.GermanyWestCentral\"\ - ,\r\n \"id\": \"AzureContainerRegistry.GermanyWestCentral\",\r\n \ - \ \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\"\ - : \"germanywc\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n\ - \ \"FW\"\r\n ],\r\n \"systemService\": \"AzureContainerRegistry\"\ - ,\r\n \"addressPrefixes\": [\r\n \"20.52.88.64/26\",\r\n \ - \ \"51.116.154.88/29\",\r\n \"51.116.158.128/26\",\r\n \ - \ \"51.116.158.192/26\",\r\n \"51.116.242.144/29\",\r\n \ - \ \"51.116.250.144/29\",\r\n \"2603:1020:c04:402::90/125\"\ - ,\r\n \"2603:1020:c04:402::340/122\",\r\n \"2603:1020:c04:802::90/125\"\ - ,\r\n \"2603:1020:c04:c02::90/125\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"AzureContainerRegistry.JapanEast\",\r\ - \n \"id\": \"AzureContainerRegistry.JapanEast\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"japaneast\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureContainerRegistry\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.78.106.200/29\",\r\n\ - \ \"13.78.111.0/25\",\r\n \"20.191.160.128/26\",\r\n \ - \ \"20.194.128.0/25\",\r\n \"40.79.186.8/29\",\r\n \ - \ \"40.79.189.128/25\",\r\n \"40.79.190.0/25\",\r\n \"\ - 40.79.194.96/29\",\r\n \"40.79.197.128/25\",\r\n \"2603:1040:407:402::90/125\"\ - ,\r\n \"2603:1040:407:402::340/122\",\r\n \"2603:1040:407:802::90/125\"\ - ,\r\n \"2603:1040:407:c02::90/125\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"AzureContainerRegistry.JapanWest\",\r\ - \n \"id\": \"AzureContainerRegistry.JapanWest\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"japanwest\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureContainerRegistry\"\ - ,\r\n \"addressPrefixes\": [\r\n \"20.189.224.0/26\",\r\n\ - \ \"40.74.100.160/29\",\r\n \"40.80.176.128/25\",\r\n \ - \ \"2603:1040:606:402::90/125\",\r\n \"2603:1040:606:402::340/122\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureContainerRegistry.KoreaCentral\"\ - ,\r\n \"id\": \"AzureContainerRegistry.KoreaCentral\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"koreacentral\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureContainerRegistry\"\ - ,\r\n \"addressPrefixes\": [\r\n \"20.41.69.128/26\",\r\n\ - \ \"20.44.26.144/29\",\r\n \"20.44.29.128/26\",\r\n \ - \ \"20.44.29.192/26\",\r\n \"20.194.66.16/29\",\r\n \ - \ \"20.194.68.0/26\",\r\n \"20.194.68.64/26\",\r\n \"52.231.18.56/29\"\ - ,\r\n \"52.231.20.128/26\",\r\n \"2603:1040:f05:402::90/125\"\ - ,\r\n \"2603:1040:f05:402::340/122\",\r\n \"2603:1040:f05:802::90/125\"\ - ,\r\n \"2603:1040:f05:c02::90/125\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"AzureContainerRegistry.KoreaSouth\",\r\ - \n \"id\": \"AzureContainerRegistry.KoreaSouth\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"1\",\r\n \"region\": \"koreasouth\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureContainerRegistry\"\ - ,\r\n \"addressPrefixes\": [\r\n \"52.231.146.192/29\"\r\n\ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureContainerRegistry.NorthCentralUS\"\ - ,\r\n \"id\": \"AzureContainerRegistry.NorthCentralUS\",\r\n \"\ - properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\"\ - : \"northcentralus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n\ - \ \"FW\"\r\n ],\r\n \"systemService\": \"AzureContainerRegistry\"\ - ,\r\n \"addressPrefixes\": [\r\n \"20.49.115.0/26\",\r\n \ - \ \"52.162.104.192/26\",\r\n \"52.162.106.160/29\",\r\n \ - \ \"52.240.241.128/25\",\r\n \"52.240.244.0/25\",\r\n \ - \ \"2603:1030:608:402::90/125\",\r\n \"2603:1030:608:402::340/122\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureContainerRegistry.NorthEurope\"\ - ,\r\n \"id\": \"AzureContainerRegistry.NorthEurope\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"northeurope\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureContainerRegistry\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.69.227.88/29\",\r\n\ - \ \"13.69.236.0/23\",\r\n \"13.69.238.0/24\",\r\n \ - \ \"13.74.107.80/29\",\r\n \"13.74.110.0/24\",\r\n \"\ - 52.138.226.80/29\",\r\n \"52.138.230.0/24\",\r\n \"52.138.231.0/24\"\ - ,\r\n \"52.146.131.128/26\",\r\n \"2603:1020:5:402::90/125\"\ - ,\r\n \"2603:1020:5:402::340/122\",\r\n \"2603:1020:5:802::90/125\"\ - ,\r\n \"2603:1020:5:c02::90/125\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"AzureContainerRegistry.NorwayEast\",\r\n\ - \ \"id\": \"AzureContainerRegistry.NorwayEast\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"3\",\r\n \"region\": \"norwaye\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureContainerRegistry\"\ - ,\r\n \"addressPrefixes\": [\r\n \"51.13.0.0/25\",\r\n \ - \ \"51.120.98.160/29\",\r\n \"51.120.106.144/29\",\r\n \ - \ \"51.120.109.128/26\",\r\n \"51.120.110.0/25\",\r\n \ - \ \"51.120.210.144/29\",\r\n \"51.120.213.128/25\",\r\n \ - \ \"51.120.234.0/26\",\r\n \"2603:1020:e04:402::90/125\",\r\n\ - \ \"2603:1020:e04:402::340/122\",\r\n \"2603:1020:e04:802::90/125\"\ - ,\r\n \"2603:1020:e04:c02::90/125\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"AzureContainerRegistry.NorwayWest\",\r\ - \n \"id\": \"AzureContainerRegistry.NorwayWest\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"3\",\r\n \"region\": \"norwayw\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureContainerRegistry\"\ - ,\r\n \"addressPrefixes\": [\r\n \"51.13.128.128/25\",\r\n\ - \ \"51.120.218.24/29\",\r\n \"2603:1020:f04:402::90/125\"\ - ,\r\n \"2603:1020:f04:402::340/122\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"AzureContainerRegistry.SouthAfricaNorth\"\ - ,\r\n \"id\": \"AzureContainerRegistry.SouthAfricaNorth\",\r\n \"\ - properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\"\ - : \"southafricanorth\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n\ - \ \"FW\"\r\n ],\r\n \"systemService\": \"AzureContainerRegistry\"\ - ,\r\n \"addressPrefixes\": [\r\n \"102.133.122.144/29\",\r\ - \n \"102.133.124.192/26\",\r\n \"102.133.126.0/26\",\r\n\ - \ \"102.133.154.24/29\",\r\n \"102.133.156.192/26\",\r\n\ - \ \"102.133.220.64/26\",\r\n \"102.133.250.144/29\",\r\n\ - \ \"102.133.253.64/26\",\r\n \"102.133.253.128/26\",\r\n\ - \ \"2603:1000:104:402::90/125\",\r\n \"2603:1000:104:402::340/122\"\ - ,\r\n \"2603:1000:104:802::90/125\",\r\n \"2603:1000:104:c02::90/125\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureContainerRegistry.SouthAfricaWest\"\ - ,\r\n \"id\": \"AzureContainerRegistry.SouthAfricaWest\",\r\n \"\ - properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\"\ - : \"southafricawest\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n\ - \ \"FW\"\r\n ],\r\n \"systemService\": \"AzureContainerRegistry\"\ - ,\r\n \"addressPrefixes\": [\r\n \"102.133.26.24/29\",\r\n\ - \ \"2603:1000:4:402::90/125\",\r\n \"2603:1000:4:402::340/122\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureContainerRegistry.SouthCentralUS\"\ - ,\r\n \"id\": \"AzureContainerRegistry.SouthCentralUS\",\r\n \"\ - properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\"\ - : \"southcentralus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"\ - systemService\": \"AzureContainerRegistry\",\r\n \"addressPrefixes\"\ - : [\r\n \"13.73.245.64/26\",\r\n \"13.73.245.128/25\",\r\ - \n \"13.73.255.64/26\",\r\n \"20.45.122.144/29\",\r\n \ - \ \"20.45.125.0/25\",\r\n \"20.49.90.16/29\",\r\n \ - \ \"20.49.92.0/25\",\r\n \"20.49.92.128/25\",\r\n \"20.49.93.0/26\"\ - ,\r\n \"40.124.64.0/25\",\r\n \"104.214.18.184/29\",\r\n\ - \ \"2603:1030:807:402::90/125\",\r\n \"2603:1030:807:402::340/122\"\ - ,\r\n \"2603:1030:807:802::90/125\",\r\n \"2603:1030:807:c02::90/125\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureContainerRegistry.SoutheastAsia\"\ - ,\r\n \"id\": \"AzureContainerRegistry.SoutheastAsia\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"southeastasia\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureContainerRegistry\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.67.8.120/29\",\r\n \ - \ \"13.67.14.0/25\",\r\n \"13.67.14.128/25\",\r\n \ - \ \"20.195.64.128/26\",\r\n \"23.98.82.112/29\",\r\n \"\ - 23.98.86.128/25\",\r\n \"23.98.87.0/25\",\r\n \"23.98.112.0/25\"\ - ,\r\n \"40.78.234.48/29\",\r\n \"40.78.239.128/25\",\r\n\ - \ \"2603:1040:5:402::90/125\",\r\n \"2603:1040:5:402::340/122\"\ - ,\r\n \"2603:1040:5:802::90/125\",\r\n \"2603:1040:5:c02::90/125\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureContainerRegistry.SouthIndia\"\ - ,\r\n \"id\": \"AzureContainerRegistry.SouthIndia\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"southindia\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureContainerRegistry\"\ - ,\r\n \"addressPrefixes\": [\r\n \"20.41.199.192/26\",\r\n\ - \ \"40.78.194.80/29\",\r\n \"40.78.196.192/26\",\r\n \ - \ \"2603:1040:c06:402::90/125\",\r\n \"2603:1040:c06:402::340/122\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureContainerRegistry.SwitzerlandNorth\"\ - ,\r\n \"id\": \"AzureContainerRegistry.SwitzerlandNorth\",\r\n \"\ - properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\"\ - : \"switzerlandn\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n\ - \ \"FW\"\r\n ],\r\n \"systemService\": \"AzureContainerRegistry\"\ - ,\r\n \"addressPrefixes\": [\r\n \"51.107.53.64/26\",\r\n\ - \ \"51.107.56.192/26\",\r\n \"51.107.58.24/29\",\r\n \ - \ \"2603:1020:a04:402::90/125\",\r\n \"2603:1020:a04:402::340/122\"\ - ,\r\n \"2603:1020:a04:802::90/125\",\r\n \"2603:1020:a04:c02::90/125\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureContainerRegistry.SwitzerlandWest\"\ - ,\r\n \"id\": \"AzureContainerRegistry.SwitzerlandWest\",\r\n \"\ - properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\"\ - : \"switzerlandw\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n\ - \ \"FW\"\r\n ],\r\n \"systemService\": \"AzureContainerRegistry\"\ - ,\r\n \"addressPrefixes\": [\r\n \"51.107.148.128/26\",\r\n\ - \ \"51.107.152.192/26\",\r\n \"51.107.154.24/29\",\r\n \ - \ \"51.107.192.0/26\",\r\n \"2603:1020:b04:402::90/125\"\ - ,\r\n \"2603:1020:b04:402::340/122\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"AzureContainerRegistry.UAECentral\"\ - ,\r\n \"id\": \"AzureContainerRegistry.UAECentral\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"uaecentral\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"AzureContainerRegistry\",\r\n \"addressPrefixes\": [\r\n \ - \ \"20.37.69.0/26\",\r\n \"20.37.74.72/29\",\r\n \"40.120.8.64/26\"\ - ,\r\n \"2603:1040:b04:402::90/125\",\r\n \"2603:1040:b04:402::340/122\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureContainerRegistry.UAENorth\"\ - ,\r\n \"id\": \"AzureContainerRegistry.UAENorth\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"uaenorth\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureContainerRegistry\"\ - ,\r\n \"addressPrefixes\": [\r\n \"20.38.140.192/26\",\r\n\ - \ \"40.120.74.16/29\",\r\n \"40.120.77.0/26\",\r\n \ - \ \"40.120.77.64/26\",\r\n \"65.52.248.192/26\",\r\n \ - \ \"65.52.250.16/29\",\r\n \"2603:1040:904:402::90/125\",\r\n \ - \ \"2603:1040:904:402::340/122\",\r\n \"2603:1040:904:802::90/125\"\ - ,\r\n \"2603:1040:904:c02::90/125\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"AzureContainerRegistry.UKNorth\",\r\n\ - \ \"id\": \"AzureContainerRegistry.UKNorth\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"uknorth\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\"\r\n ],\r\n \"systemService\": \"AzureContainerRegistry\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.87.122.96/29\",\r\n\ - \ \"2603:1020:305:402::90/125\",\r\n \"2603:1020:305:402::340/122\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureContainerRegistry.UKSouth\"\ - ,\r\n \"id\": \"AzureContainerRegistry.UKSouth\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"uksouth\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureContainerRegistry\"\ - ,\r\n \"addressPrefixes\": [\r\n \"51.104.9.128/25\",\r\n\ - \ \"51.105.66.144/29\",\r\n \"51.105.69.128/25\",\r\n \ - \ \"51.105.70.0/25\",\r\n \"51.105.74.144/29\",\r\n \ - \ \"51.105.77.128/25\",\r\n \"51.132.192.0/25\",\r\n \ - \ \"51.140.146.200/29\",\r\n \"51.143.208.0/26\",\r\n \"\ - 2603:1020:705:402::90/125\",\r\n \"2603:1020:705:402::340/122\",\r\ - \n \"2603:1020:705:802::90/125\",\r\n \"2603:1020:705:c02::90/125\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureContainerRegistry.UKSouth2\"\ - ,\r\n \"id\": \"AzureContainerRegistry.UKSouth2\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"uksouth2\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\"\r\n ],\r\n \"systemService\": \"AzureContainerRegistry\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.87.56.96/29\",\r\n \ - \ \"2603:1020:405:402::90/125\",\r\n \"2603:1020:405:402::340/122\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureContainerRegistry.UKWest\"\ - ,\r\n \"id\": \"AzureContainerRegistry.UKWest\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"ukwest\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureContainerRegistry\"\ - ,\r\n \"addressPrefixes\": [\r\n \"51.137.166.192/26\",\r\n\ - \ \"51.140.210.192/29\",\r\n \"51.140.215.0/25\",\r\n \ - \ \"2603:1020:605:402::90/125\",\r\n \"2603:1020:605:402::340/122\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureContainerRegistry.WestCentralUS\"\ - ,\r\n \"id\": \"AzureContainerRegistry.WestCentralUS\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"westcentralus\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureContainerRegistry\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.71.194.224/29\",\r\n\ - \ \"40.67.121.0/25\",\r\n \"52.150.156.64/26\",\r\n \ - \ \"2603:1030:b04:402::90/125\",\r\n \"2603:1030:b04:402::340/122\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureContainerRegistry.WestEurope\"\ - ,\r\n \"id\": \"AzureContainerRegistry.WestEurope\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"westeurope\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureContainerRegistry\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.69.64.88/29\",\r\n \ - \ \"13.69.106.80/29\",\r\n \"13.69.110.0/24\",\r\n \ - \ \"20.50.200.0/24\",\r\n \"20.61.97.128/25\",\r\n \"\ - 52.178.18.0/23\",\r\n \"52.178.20.0/24\",\r\n \"52.236.186.80/29\"\ - ,\r\n \"52.236.191.0/24\",\r\n \"2603:1020:206:402::90/125\"\ - ,\r\n \"2603:1020:206:402::340/122\",\r\n \"2603:1020:206:802::90/125\"\ - ,\r\n \"2603:1020:206:c02::90/125\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"AzureContainerRegistry.WestIndia\",\r\ - \n \"id\": \"AzureContainerRegistry.WestIndia\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"westindia\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureContainerRegistry\"\ - ,\r\n \"addressPrefixes\": [\r\n \"104.211.146.80/29\",\r\n\ - \ \"2603:1040:806:402::90/125\",\r\n \"2603:1040:806:402::340/122\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureContainerRegistry.WestUS\"\ - ,\r\n \"id\": \"AzureContainerRegistry.WestUS\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"westus\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"AzureContainerRegistry\",\r\n \"addressPrefixes\": [\r\n \ - \ \"20.49.127.0/26\",\r\n \"20.189.169.0/24\",\r\n \"\ - 20.189.171.128/25\",\r\n \"40.112.242.160/29\",\r\n \"2603:1030:a07:402::90/125\"\ - ,\r\n \"2603:1030:a07:402::9c0/122\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"AzureContainerRegistry.WestUS2\",\r\n\ - \ \"id\": \"AzureContainerRegistry.WestUS2\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"westus2\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureContainerRegistry\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.66.140.72/29\",\r\n\ - \ \"13.66.146.0/24\",\r\n \"13.66.147.0/25\",\r\n \ - \ \"13.66.148.0/24\",\r\n \"40.64.112.0/24\",\r\n \"\ - 40.64.135.128/25\",\r\n \"40.78.242.160/29\",\r\n \"40.78.246.0/24\"\ - ,\r\n \"40.78.250.96/29\",\r\n \"2603:1030:c06:400::890/125\"\ - ,\r\n \"2603:1030:c06:400::b40/122\",\r\n \"2603:1030:c06:802::90/125\"\ - ,\r\n \"2603:1030:c06:c02::90/125\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"AzureCosmosDB\",\r\n \"id\": \"\ - AzureCosmosDB\",\r\n \"properties\": {\r\n \"changeNumber\": \"\ - 2\",\r\n \"region\": \"\",\r\n \"state\": \"GA\",\r\n \ - \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n\ - \ \"UDR\",\r\n \"FW\",\r\n \"VSE\"\r\n ],\r\ - \n \"systemService\": \"AzureCosmosDB\",\r\n \"addressPrefixes\"\ - : [\r\n \"13.64.69.151/32\",\r\n \"13.64.113.68/32\",\r\n\ - \ \"13.64.114.48/32\",\r\n \"13.64.194.140/32\",\r\n \ - \ \"13.65.145.92/32\",\r\n \"13.66.26.107/32\",\r\n \ - \ \"13.66.138.0/26\",\r\n \"13.67.8.0/26\",\r\n \"13.68.28.135/32\"\ - ,\r\n \"13.69.66.0/25\",\r\n \"13.69.66.128/29\",\r\n \ - \ \"13.69.112.0/25\",\r\n \"13.69.226.0/25\",\r\n \ - \ \"13.70.74.136/29\",\r\n \"13.71.115.125/32\",\r\n \"\ - 13.71.124.81/32\",\r\n \"13.71.170.0/28\",\r\n \"13.71.194.0/26\"\ - ,\r\n \"13.72.255.150/32\",\r\n \"13.73.100.183/32\",\r\n\ - \ \"13.73.254.224/27\",\r\n \"13.74.106.0/25\",\r\n \ - \ \"13.75.34.0/26\",\r\n \"13.75.134.84/32\",\r\n \"\ - 13.76.161.130/32\",\r\n \"13.77.50.0/28\",\r\n \"13.78.51.35/32\"\ - ,\r\n \"13.78.106.0/26\",\r\n \"13.78.188.25/32\",\r\n \ - \ \"13.79.34.236/32\",\r\n \"13.81.51.99/32\",\r\n \ - \ \"13.82.53.191/32\",\r\n \"13.84.150.178/32\",\r\n \ - \ \"13.84.157.70/32\",\r\n \"13.85.16.188/32\",\r\n \"13.87.56.0/27\"\ - ,\r\n \"13.87.122.0/27\",\r\n \"13.88.30.39/32\",\r\n \ - \ \"13.88.253.180/32\",\r\n \"13.89.41.245/32\",\r\n \ - \ \"13.89.170.0/25\",\r\n \"13.89.190.186/32\",\r\n \ - \ \"13.89.224.229/32\",\r\n \"13.90.199.155/32\",\r\n \"\ - 13.91.246.52/32\",\r\n \"13.93.153.80/32\",\r\n \"13.93.156.125/32\"\ - ,\r\n \"13.93.207.66/32\",\r\n \"13.94.201.5/32\",\r\n \ - \ \"13.95.234.68/32\",\r\n \"20.36.26.132/32\",\r\n \ - \ \"20.36.42.8/32\",\r\n \"20.36.75.163/32\",\r\n \"\ - 20.36.106.0/26\",\r\n \"20.36.114.0/28\",\r\n \"20.36.123.96/27\"\ - ,\r\n \"20.37.68.160/27\",\r\n \"20.37.75.128/26\",\r\n\ - \ \"20.37.228.32/27\",\r\n \"20.38.140.128/27\",\r\n \ - \ \"20.38.146.0/26\",\r\n \"20.39.15.64/27\",\r\n \ - \ \"20.40.207.160/27\",\r\n \"20.41.69.64/27\",\r\n \"20.41.199.128/27\"\ - ,\r\n \"20.43.46.0/27\",\r\n \"20.44.2.64/26\",\r\n \ - \ \"20.44.10.0/26\",\r\n \"20.44.26.0/26\",\r\n \"\ - 20.45.115.160/27\",\r\n \"20.45.122.0/26\",\r\n \"20.45.198.96/27\"\ - ,\r\n \"20.48.192.32/27\",\r\n \"20.49.82.64/26\",\r\n \ - \ \"20.49.90.64/26\",\r\n \"20.49.102.64/27\",\r\n \ - \ \"20.49.114.128/27\",\r\n \"20.49.126.160/27\",\r\n \ - \ \"20.53.41.0/27\",\r\n \"20.61.97.0/27\",\r\n \"20.72.18.64/27\"\ - ,\r\n \"20.72.26.64/26\",\r\n \"20.150.166.192/27\",\r\n\ - \ \"20.150.170.64/26\",\r\n \"20.150.178.0/26\",\r\n \ - \ \"20.150.186.0/26\",\r\n \"20.187.196.0/27\",\r\n \ - \ \"20.191.160.32/27\",\r\n \"20.192.98.0/26\",\r\n \"\ - 20.192.166.192/27\",\r\n \"20.192.231.0/27\",\r\n \"20.192.234.64/26\"\ - ,\r\n \"20.193.202.64/26\",\r\n \"20.194.66.64/26\",\r\n\ - \ \"23.96.180.213/32\",\r\n \"23.96.219.207/32\",\r\n \ - \ \"23.96.242.234/32\",\r\n \"23.98.82.0/26\",\r\n \ - \ \"23.98.107.224/27\",\r\n \"23.102.191.13/32\",\r\n \ - \ \"23.102.239.134/32\",\r\n \"40.64.135.0/27\",\r\n \"\ - 40.65.106.154/32\",\r\n \"40.65.114.105/32\",\r\n \"40.67.51.160/27\"\ - ,\r\n \"40.67.58.64/26\",\r\n \"40.68.44.85/32\",\r\n \ - \ \"40.69.106.0/28\",\r\n \"40.70.0.140/32\",\r\n \ - \ \"40.70.220.202/32\",\r\n \"40.71.10.0/25\",\r\n \"40.71.17.19/32\"\ - ,\r\n \"40.71.203.37/32\",\r\n \"40.71.204.115/32\",\r\n\ - \ \"40.71.216.114/32\",\r\n \"40.74.98.0/26\",\r\n \ - \ \"40.74.143.235/32\",\r\n \"40.74.147.192/26\",\r\n \ - \ \"40.75.32.32/29\",\r\n \"40.75.34.128/26\",\r\n \"\ - 40.77.63.179/32\",\r\n \"40.78.194.0/28\",\r\n \"40.78.203.32/27\"\ - ,\r\n \"40.78.226.0/25\",\r\n \"40.78.236.192/26\",\r\n\ - \ \"40.78.243.192/26\",\r\n \"40.78.250.0/26\",\r\n \ - \ \"40.79.39.162/32\",\r\n \"40.79.59.92/32\",\r\n \ - \ \"40.79.67.136/32\",\r\n \"40.79.130.0/28\",\r\n \"40.79.138.48/28\"\ - ,\r\n \"40.79.146.48/28\",\r\n \"40.79.154.128/26\",\r\n\ - \ \"40.79.163.72/29\",\r\n \"40.79.163.192/26\",\r\n \ - \ \"40.79.170.48/28\",\r\n \"40.79.178.0/28\",\r\n \ - \ \"40.79.186.16/28\",\r\n \"40.79.194.128/26\",\r\n \"\ - 40.80.50.0/26\",\r\n \"40.80.63.160/27\",\r\n \"40.80.173.0/27\"\ - ,\r\n \"40.83.137.191/32\",\r\n \"40.85.178.211/32\",\r\n\ - \ \"40.86.229.245/32\",\r\n \"40.89.22.224/27\",\r\n \ - \ \"40.89.67.208/32\",\r\n \"40.89.132.238/32\",\r\n \ - \ \"40.112.140.12/32\",\r\n \"40.112.241.0/24\",\r\n \ - \ \"40.112.249.60/32\",\r\n \"40.113.90.91/32\",\r\n \"\ - 40.114.240.253/32\",\r\n \"40.115.241.37/32\",\r\n \"40.118.245.44/32\"\ - ,\r\n \"40.118.245.251/32\",\r\n \"40.120.74.64/26\",\r\n\ - \ \"40.122.132.89/32\",\r\n \"40.122.174.140/32\",\r\n \ - \ \"40.126.244.209/32\",\r\n \"51.12.43.0/27\",\r\n \ - \ \"51.12.98.64/26\",\r\n \"51.12.195.0/27\",\r\n \"\ - 51.12.202.64/26\",\r\n \"51.12.226.0/26\",\r\n \"51.12.234.0/26\"\ - ,\r\n \"51.104.31.128/27\",\r\n \"51.105.66.0/26\",\r\n\ - \ \"51.105.74.0/26\",\r\n \"51.105.92.192/27\",\r\n \ - \ \"51.107.52.224/27\",\r\n \"51.107.58.64/26\",\r\n \ - \ \"51.107.148.32/27\",\r\n \"51.107.154.64/26\",\r\n \ - \ \"51.116.50.224/27\",\r\n \"51.116.58.64/26\",\r\n \"\ - 51.116.146.224/27\",\r\n \"51.116.154.128/26\",\r\n \"51.116.242.0/26\"\ - ,\r\n \"51.116.250.0/26\",\r\n \"51.120.44.128/27\",\r\n\ - \ \"51.120.98.64/26\",\r\n \"51.120.106.0/26\",\r\n \ - \ \"51.120.210.0/26\",\r\n \"51.120.218.64/26\",\r\n \ - \ \"51.120.228.160/27\",\r\n \"51.137.166.128/27\",\r\n \ - \ \"51.140.52.73/32\",\r\n \"51.140.70.75/32\",\r\n \"\ - 51.140.75.146/32\",\r\n \"51.140.83.56/32\",\r\n \"51.140.99.233/32\"\ - ,\r\n \"51.140.146.0/27\",\r\n \"51.140.210.0/27\",\r\n\ - \ \"51.141.11.34/32\",\r\n \"51.141.25.77/32\",\r\n \ - \ \"51.141.53.76/32\",\r\n \"51.141.55.229/32\",\r\n \ - \ \"51.143.189.37/32\",\r\n \"51.144.177.166/32\",\r\n \ - \ \"51.144.182.233/32\",\r\n \"52.136.52.64/27\",\r\n \"\ - 52.136.134.25/32\",\r\n \"52.136.134.250/32\",\r\n \"52.136.136.70/32\"\ - ,\r\n \"52.138.66.90/32\",\r\n \"52.138.70.62/32\",\r\n\ - \ \"52.138.92.0/26\",\r\n \"52.138.141.112/32\",\r\n \ - \ \"52.138.197.33/32\",\r\n \"52.138.201.47/32\",\r\n \ - \ \"52.138.205.97/32\",\r\n \"52.138.206.153/32\",\r\n \ - \ \"52.138.227.192/26\",\r\n \"52.140.110.64/27\",\r\n \ - \ \"52.143.136.41/32\",\r\n \"52.146.79.160/27\",\r\n \ - \ \"52.146.131.0/27\",\r\n \"52.150.154.224/27\",\r\n \"\ - 52.151.16.118/32\",\r\n \"52.156.170.104/32\",\r\n \"52.158.234.203/32\"\ - ,\r\n \"52.161.13.67/32\",\r\n \"52.161.15.197/32\",\r\n\ - \ \"52.161.22.131/32\",\r\n \"52.161.100.126/32\",\r\n \ - \ \"52.162.106.0/26\",\r\n \"52.162.252.26/32\",\r\n \ - \ \"52.163.63.20/32\",\r\n \"52.163.249.82/32\",\r\n \ - \ \"52.164.250.188/32\",\r\n \"52.165.42.204/32\",\r\n \ - \ \"52.165.46.249/32\",\r\n \"52.165.129.184/32\",\r\n \ - \ \"52.165.229.112/32\",\r\n \"52.165.229.184/32\",\r\n \ - \ \"52.167.107.128/26\",\r\n \"52.168.28.222/32\",\r\n \"\ - 52.169.122.37/32\",\r\n \"52.169.219.183/32\",\r\n \"52.170.204.83/32\"\ - ,\r\n \"52.172.55.127/32\",\r\n \"52.172.206.130/32\",\r\ - \n \"52.173.148.217/32\",\r\n \"52.173.196.170/32\",\r\n\ - \ \"52.173.240.244/32\",\r\n \"52.174.253.239/32\",\r\n\ - \ \"52.175.25.211/32\",\r\n \"52.175.39.232/32\",\r\n \ - \ \"52.176.0.136/32\",\r\n \"52.176.7.71/32\",\r\n \ - \ \"52.176.101.49/32\",\r\n \"52.176.155.127/32\",\r\n \ - \ \"52.177.172.74/32\",\r\n \"52.177.206.153/32\",\r\n \ - \ \"52.178.108.222/32\",\r\n \"52.179.141.33/32\",\r\n \"\ - 52.179.143.233/32\",\r\n \"52.179.200.0/25\",\r\n \"52.180.160.251/32\"\ - ,\r\n \"52.180.161.1/32\",\r\n \"52.180.177.137/32\",\r\n\ - \ \"52.182.138.0/25\",\r\n \"52.183.42.252/32\",\r\n \ - \ \"52.183.66.36/32\",\r\n \"52.183.92.223/32\",\r\n \ - \ \"52.183.119.101/32\",\r\n \"52.184.152.241/32\",\r\n \ - \ \"52.186.69.224/32\",\r\n \"52.187.11.8/32\",\r\n \"\ - 52.187.12.93/32\",\r\n \"52.191.197.220/32\",\r\n \"52.226.18.140/32\"\ - ,\r\n \"52.226.21.178/32\",\r\n \"52.230.15.63/32\",\r\n\ - \ \"52.230.23.170/32\",\r\n \"52.230.70.94/32\",\r\n \ - \ \"52.230.87.21/32\",\r\n \"52.231.18.0/28\",\r\n \ - \ \"52.231.25.123/32\",\r\n \"52.231.39.143/32\",\r\n \"\ - 52.231.56.0/28\",\r\n \"52.231.146.0/27\",\r\n \"52.231.206.234/32\"\ - ,\r\n \"52.231.207.31/32\",\r\n \"52.232.59.220/32\",\r\n\ - \ \"52.233.41.60/32\",\r\n \"52.233.128.86/32\",\r\n \ - \ \"52.235.40.247/32\",\r\n \"52.235.46.28/32\",\r\n \ - \ \"52.236.189.0/26\",\r\n \"52.237.20.252/32\",\r\n \ - \ \"52.246.154.0/26\",\r\n \"52.255.52.19/32\",\r\n \"52.255.58.221/32\"\ - ,\r\n \"65.52.210.9/32\",\r\n \"65.52.251.128/26\",\r\n\ - \ \"102.133.26.64/26\",\r\n \"102.133.60.64/27\",\r\n \ - \ \"102.133.122.0/26\",\r\n \"102.133.154.64/26\",\r\n \ - \ \"102.133.220.0/27\",\r\n \"102.133.250.0/26\",\r\n \ - \ \"104.41.52.61/32\",\r\n \"104.41.54.69/32\",\r\n \ - \ \"104.41.177.93/32\",\r\n \"104.45.16.183/32\",\r\n \"\ - 104.45.131.193/32\",\r\n \"104.45.144.73/32\",\r\n \"104.46.177.64/27\"\ - ,\r\n \"104.208.231.0/25\",\r\n \"104.210.89.99/32\",\r\n\ - \ \"104.210.217.251/32\",\r\n \"104.211.84.0/28\",\r\n \ - \ \"104.211.102.50/32\",\r\n \"104.211.146.0/28\",\r\n \ - \ \"104.211.162.94/32\",\r\n \"104.211.184.117/32\",\r\n \ - \ \"104.211.188.174/32\",\r\n \"104.211.227.84/32\",\r\n\ - \ \"104.214.18.0/25\",\r\n \"104.214.23.192/27\",\r\n \ - \ \"104.214.26.177/32\",\r\n \"104.215.1.53/32\",\r\n \ - \ \"104.215.21.39/32\",\r\n \"104.215.55.227/32\",\r\n \ - \ \"137.117.9.157/32\",\r\n \"157.55.170.133/32\",\r\n \ - \ \"191.232.51.175/32\",\r\n \"191.232.53.203/32\",\r\n \ - \ \"191.233.11.192/27\",\r\n \"191.233.50.64/26\",\r\n \ - \ \"191.233.204.128/27\",\r\n \"191.234.138.160/27\",\r\n \ - \ \"191.234.146.0/26\",\r\n \"191.234.154.0/26\",\r\n \ - \ \"191.234.179.157/32\",\r\n \"191.239.179.124/32\",\r\n \ - \ \"207.46.150.252/32\",\r\n \"2603:1000:4:402::c0/122\",\r\n\ - \ \"2603:1000:104:402::c0/122\",\r\n \"2603:1000:104:802::c0/122\"\ - ,\r\n \"2603:1000:104:c02::c0/122\",\r\n \"2603:1010:6:402::c0/122\"\ - ,\r\n \"2603:1010:6:802::c0/122\",\r\n \"2603:1010:6:c02::c0/122\"\ - ,\r\n \"2603:1010:101:402::c0/122\",\r\n \"2603:1010:304:402::c0/122\"\ - ,\r\n \"2603:1010:404:402::c0/122\",\r\n \"2603:1020:5:402::c0/122\"\ - ,\r\n \"2603:1020:5:802::c0/122\",\r\n \"2603:1020:5:c02::c0/122\"\ - ,\r\n \"2603:1020:206:402::c0/122\",\r\n \"2603:1020:206:802::c0/122\"\ - ,\r\n \"2603:1020:206:c02::c0/122\",\r\n \"2603:1020:305:402::c0/122\"\ - ,\r\n \"2603:1020:405:402::c0/122\",\r\n \"2603:1020:605:402::c0/122\"\ - ,\r\n \"2603:1020:705:402::c0/122\",\r\n \"2603:1020:705:802::c0/122\"\ - ,\r\n \"2603:1020:705:c02::c0/122\",\r\n \"2603:1020:805:402::c0/122\"\ - ,\r\n \"2603:1020:805:802::c0/122\",\r\n \"2603:1020:805:c02::c0/122\"\ - ,\r\n \"2603:1020:905:402::c0/122\",\r\n \"2603:1020:a04:402::c0/122\"\ - ,\r\n \"2603:1020:a04:802::c0/122\",\r\n \"2603:1020:a04:c02::c0/122\"\ - ,\r\n \"2603:1020:b04:402::c0/122\",\r\n \"2603:1020:c04:402::c0/122\"\ - ,\r\n \"2603:1020:c04:802::c0/122\",\r\n \"2603:1020:c04:c02::c0/122\"\ - ,\r\n \"2603:1020:d04:402::c0/122\",\r\n \"2603:1020:e04:402::c0/122\"\ - ,\r\n \"2603:1020:e04:802::c0/122\",\r\n \"2603:1020:e04:c02::c0/122\"\ - ,\r\n \"2603:1020:f04:402::c0/122\",\r\n \"2603:1020:1004:1::60/123\"\ - ,\r\n \"2603:1020:1004:400::c0/122\",\r\n \"2603:1020:1004:400::280/122\"\ - ,\r\n \"2603:1020:1004:400::3c0/122\",\r\n \"2603:1020:1104::520/123\"\ - ,\r\n \"2603:1020:1104:400::c0/122\",\r\n \"2603:1030:f:400::8c0/122\"\ - ,\r\n \"2603:1030:10:402::c0/122\",\r\n \"2603:1030:10:802::c0/122\"\ - ,\r\n \"2603:1030:10:c02::c0/122\",\r\n \"2603:1030:104:402::c0/122\"\ - ,\r\n \"2603:1030:107::540/123\",\r\n \"2603:1030:107:400::40/122\"\ - ,\r\n \"2603:1030:210:402::c0/122\",\r\n \"2603:1030:210:802::c0/122\"\ - ,\r\n \"2603:1030:210:c02::c0/122\",\r\n \"2603:1030:40b:400::8c0/122\"\ - ,\r\n \"2603:1030:40b:800::c0/122\",\r\n \"2603:1030:40b:c00::c0/122\"\ - ,\r\n \"2603:1030:40c:402::c0/122\",\r\n \"2603:1030:40c:802::c0/122\"\ - ,\r\n \"2603:1030:40c:c02::c0/122\",\r\n \"2603:1030:504::60/123\"\ - ,\r\n \"2603:1030:504:402::c0/122\",\r\n \"2603:1030:504:402::280/122\"\ - ,\r\n \"2603:1030:504:402::3c0/122\",\r\n \"2603:1030:504:802::200/122\"\ - ,\r\n \"2603:1030:608:402::c0/122\",\r\n \"2603:1030:807:402::c0/122\"\ - ,\r\n \"2603:1030:807:802::c0/122\",\r\n \"2603:1030:807:c02::c0/122\"\ - ,\r\n \"2603:1030:a07:402::c0/122\",\r\n \"2603:1030:b04:402::c0/122\"\ - ,\r\n \"2603:1030:c06:400::8c0/122\",\r\n \"2603:1030:c06:802::c0/122\"\ - ,\r\n \"2603:1030:c06:c02::c0/122\",\r\n \"2603:1030:f05:402::c0/122\"\ - ,\r\n \"2603:1030:f05:802::c0/122\",\r\n \"2603:1030:f05:c02::c0/122\"\ - ,\r\n \"2603:1030:1005:402::c0/122\",\r\n \"2603:1040:5:402::c0/122\"\ - ,\r\n \"2603:1040:5:802::c0/122\",\r\n \"2603:1040:5:c02::c0/122\"\ - ,\r\n \"2603:1040:207:402::c0/122\",\r\n \"2603:1040:407:402::c0/122\"\ - ,\r\n \"2603:1040:407:802::c0/122\",\r\n \"2603:1040:407:c02::c0/122\"\ - ,\r\n \"2603:1040:606:402::c0/122\",\r\n \"2603:1040:806:402::c0/122\"\ - ,\r\n \"2603:1040:904:402::c0/122\",\r\n \"2603:1040:904:802::c0/122\"\ - ,\r\n \"2603:1040:904:c02::c0/122\",\r\n \"2603:1040:a06:402::c0/122\"\ - ,\r\n \"2603:1040:a06:802::c0/122\",\r\n \"2603:1040:a06:c02::c0/122\"\ - ,\r\n \"2603:1040:b04:402::c0/122\",\r\n \"2603:1040:c06:402::c0/122\"\ - ,\r\n \"2603:1040:d04:1::60/123\",\r\n \"2603:1040:d04:400::c0/122\"\ - ,\r\n \"2603:1040:d04:400::280/122\",\r\n \"2603:1040:d04:400::3c0/122\"\ - ,\r\n \"2603:1040:f05:402::c0/122\",\r\n \"2603:1040:f05:802::c0/122\"\ - ,\r\n \"2603:1040:f05:c02::c0/122\",\r\n \"2603:1040:1104::520/123\"\ - ,\r\n \"2603:1040:1104:400::c0/122\",\r\n \"2603:1050:6:402::c0/122\"\ - ,\r\n \"2603:1050:6:802::c0/122\",\r\n \"2603:1050:6:c02::c0/122\"\ - ,\r\n \"2603:1050:403:400::c0/122\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"AzureCosmosDB.AustraliaCentral\",\r\n\ - \ \"id\": \"AzureCosmosDB.AustraliaCentral\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"australiacentral\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureCosmosDB\",\r\n \ - \ \"addressPrefixes\": [\r\n \"20.36.42.8/32\",\r\n \ - \ \"20.36.106.0/26\",\r\n \"20.37.228.32/27\",\r\n \"2603:1010:304:402::c0/122\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCosmosDB.AustraliaCentral2\"\ - ,\r\n \"id\": \"AzureCosmosDB.AustraliaCentral2\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"australiacentral2\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureCosmosDB\",\r\n \ - \ \"addressPrefixes\": [\r\n \"20.36.75.163/32\",\r\n \ - \ \"20.36.114.0/28\",\r\n \"20.36.123.96/27\",\r\n \"\ - 2603:1010:404:402::c0/122\"\r\n ]\r\n }\r\n },\r\n {\r\n\ - \ \"name\": \"AzureCosmosDB.AustraliaEast\",\r\n \"id\": \"AzureCosmosDB.AustraliaEast\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \ - \ \"region\": \"australiaeast\",\r\n \"state\": \"GA\",\r\n \ - \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n\ - \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\"\ - : \"AzureCosmosDB\",\r\n \"addressPrefixes\": [\r\n \"13.70.74.136/29\"\ - ,\r\n \"13.72.255.150/32\",\r\n \"13.75.134.84/32\",\r\n\ - \ \"20.53.41.0/27\",\r\n \"40.79.163.72/29\",\r\n \ - \ \"40.79.163.192/26\",\r\n \"40.79.170.48/28\",\r\n \ - \ \"40.126.244.209/32\",\r\n \"52.156.170.104/32\",\r\n \ - \ \"104.210.89.99/32\",\r\n \"2603:1010:6:402::c0/122\",\r\n \ - \ \"2603:1010:6:802::c0/122\",\r\n \"2603:1010:6:c02::c0/122\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCosmosDB.AustraliaSoutheast\"\ - ,\r\n \"id\": \"AzureCosmosDB.AustraliaSoutheast\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"australiasoutheast\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureCosmosDB\",\r\n \ - \ \"addressPrefixes\": [\r\n \"13.73.100.183/32\",\r\n \ - \ \"13.77.50.0/28\",\r\n \"52.255.52.19/32\",\r\n \"\ - 52.255.58.221/32\",\r\n \"104.46.177.64/27\",\r\n \"191.239.179.124/32\"\ - ,\r\n \"2603:1010:101:402::c0/122\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"AzureCosmosDB.BrazilSouth\",\r\n \ - \ \"id\": \"AzureCosmosDB.BrazilSouth\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"2\",\r\n \"region\": \"brazilsouth\",\r\ - \n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"AzureCosmosDB\",\r\n \ - \ \"addressPrefixes\": [\r\n \"104.41.52.61/32\",\r\n \"\ - 104.41.54.69/32\",\r\n \"191.232.51.175/32\",\r\n \"191.232.53.203/32\"\ - ,\r\n \"191.233.204.128/27\",\r\n \"191.234.138.160/27\"\ - ,\r\n \"191.234.146.0/26\",\r\n \"191.234.154.0/26\",\r\n\ - \ \"191.234.179.157/32\",\r\n \"2603:1050:6:402::c0/122\"\ - ,\r\n \"2603:1050:6:802::c0/122\",\r\n \"2603:1050:6:c02::c0/122\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCosmosDB.CanadaCentral\"\ - ,\r\n \"id\": \"AzureCosmosDB.CanadaCentral\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"canadacentral\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureCosmosDB\",\r\n \ - \ \"addressPrefixes\": [\r\n \"13.71.170.0/28\",\r\n \ - \ \"13.88.253.180/32\",\r\n \"20.38.146.0/26\",\r\n \"\ - 20.48.192.32/27\",\r\n \"52.233.41.60/32\",\r\n \"52.237.20.252/32\"\ - ,\r\n \"52.246.154.0/26\",\r\n \"2603:1030:f05:402::c0/122\"\ - ,\r\n \"2603:1030:f05:802::c0/122\",\r\n \"2603:1030:f05:c02::c0/122\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCosmosDB.CanadaEast\"\ - ,\r\n \"id\": \"AzureCosmosDB.CanadaEast\",\r\n \"properties\":\ - \ {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"canadaeast\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureCosmosDB\",\r\n \ - \ \"addressPrefixes\": [\r\n \"40.69.106.0/28\",\r\n \ - \ \"40.86.229.245/32\",\r\n \"40.89.22.224/27\",\r\n \"\ - 52.235.40.247/32\",\r\n \"52.235.46.28/32\",\r\n \"2603:1030:1005:402::c0/122\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCosmosDB.CentralIndia\"\ - ,\r\n \"id\": \"AzureCosmosDB.CentralIndia\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"centralindia\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureCosmosDB\",\r\n \ - \ \"addressPrefixes\": [\r\n \"20.192.98.0/26\",\r\n \ - \ \"40.80.50.0/26\",\r\n \"52.140.110.64/27\",\r\n \"\ - 52.172.206.130/32\",\r\n \"104.211.84.0/28\",\r\n \"104.211.102.50/32\"\ - ,\r\n \"2603:1040:a06:402::c0/122\",\r\n \"2603:1040:a06:802::c0/122\"\ - ,\r\n \"2603:1040:a06:c02::c0/122\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"AzureCosmosDB.CentralUS\",\r\n \"\ - id\": \"AzureCosmosDB.CentralUS\",\r\n \"properties\": {\r\n \"\ - changeNumber\": \"2\",\r\n \"region\": \"centralus\",\r\n \"\ - state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\ - \n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n \ - \ ],\r\n \"systemService\": \"AzureCosmosDB\",\r\n \"addressPrefixes\"\ - : [\r\n \"13.89.41.245/32\",\r\n \"13.89.170.0/25\",\r\n\ - \ \"13.89.190.186/32\",\r\n \"13.89.224.229/32\",\r\n \ - \ \"20.40.207.160/27\",\r\n \"20.44.10.0/26\",\r\n \ - \ \"40.77.63.179/32\",\r\n \"40.122.132.89/32\",\r\n \"\ - 40.122.174.140/32\",\r\n \"52.165.42.204/32\",\r\n \"52.165.46.249/32\"\ - ,\r\n \"52.165.129.184/32\",\r\n \"52.165.229.112/32\",\r\ - \n \"52.165.229.184/32\",\r\n \"52.173.148.217/32\",\r\n\ - \ \"52.173.196.170/32\",\r\n \"52.173.240.244/32\",\r\n\ - \ \"52.176.0.136/32\",\r\n \"52.176.7.71/32\",\r\n \ - \ \"52.176.101.49/32\",\r\n \"52.176.155.127/32\",\r\n \ - \ \"52.182.138.0/25\",\r\n \"2603:1030:10:402::c0/122\",\r\n \ - \ \"2603:1030:10:802::c0/122\",\r\n \"2603:1030:10:c02::c0/122\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCosmosDB.CentralUSEUAP\"\ - ,\r\n \"id\": \"AzureCosmosDB.CentralUSEUAP\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"centraluseuap\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureCosmosDB\",\r\n \ - \ \"addressPrefixes\": [\r\n \"20.45.198.96/27\",\r\n \ - \ \"40.78.203.32/27\",\r\n \"52.180.160.251/32\",\r\n \ - \ \"52.180.161.1/32\",\r\n \"52.180.177.137/32\",\r\n \"\ - 2603:1030:f:400::8c0/122\"\r\n ]\r\n }\r\n },\r\n {\r\n\ - \ \"name\": \"AzureCosmosDB.EastAsia\",\r\n \"id\": \"AzureCosmosDB.EastAsia\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \ - \ \"region\": \"eastasia\",\r\n \"state\": \"GA\",\r\n \"\ - networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n \ - \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\"\ - : \"AzureCosmosDB\",\r\n \"addressPrefixes\": [\r\n \"13.75.34.0/26\"\ - ,\r\n \"20.187.196.0/27\",\r\n \"23.102.239.134/32\",\r\n\ - \ \"52.175.25.211/32\",\r\n \"52.175.39.232/32\",\r\n \ - \ \"207.46.150.252/32\",\r\n \"2603:1040:207:402::c0/122\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCosmosDB.EastUS\"\ - ,\r\n \"id\": \"AzureCosmosDB.EastUS\",\r\n \"properties\": {\r\n\ - \ \"changeNumber\": \"2\",\r\n \"region\": \"eastus\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"AzureCosmosDB\",\r\n \ - \ \"addressPrefixes\": [\r\n \"13.82.53.191/32\",\r\n \"\ - 13.90.199.155/32\",\r\n \"40.71.10.0/25\",\r\n \"40.71.17.19/32\"\ - ,\r\n \"40.71.203.37/32\",\r\n \"40.71.204.115/32\",\r\n\ - \ \"40.71.216.114/32\",\r\n \"40.78.226.0/25\",\r\n \ - \ \"40.79.154.128/26\",\r\n \"40.85.178.211/32\",\r\n \ - \ \"52.146.79.160/27\",\r\n \"52.168.28.222/32\",\r\n \ - \ \"52.170.204.83/32\",\r\n \"52.186.69.224/32\",\r\n \"\ - 52.191.197.220/32\",\r\n \"52.226.18.140/32\",\r\n \"52.226.21.178/32\"\ - ,\r\n \"104.45.131.193/32\",\r\n \"104.45.144.73/32\",\r\ - \n \"2603:1030:210:402::c0/122\",\r\n \"2603:1030:210:802::c0/122\"\ - ,\r\n \"2603:1030:210:c02::c0/122\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"AzureCosmosDB.EastUS2\",\r\n \"\ - id\": \"AzureCosmosDB.EastUS2\",\r\n \"properties\": {\r\n \"\ - changeNumber\": \"2\",\r\n \"region\": \"eastus2\",\r\n \"state\"\ - : \"GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\n \ - \ \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n ],\r\n\ - \ \"systemService\": \"AzureCosmosDB\",\r\n \"addressPrefixes\"\ - : [\r\n \"13.68.28.135/32\",\r\n \"20.49.102.64/27\",\r\n\ - \ \"40.70.0.140/32\",\r\n \"40.70.220.202/32\",\r\n \ - \ \"40.79.39.162/32\",\r\n \"40.79.59.92/32\",\r\n \ - \ \"40.79.67.136/32\",\r\n \"52.167.107.128/26\",\r\n \"\ - 52.177.172.74/32\",\r\n \"52.177.206.153/32\",\r\n \"52.179.141.33/32\"\ - ,\r\n \"52.179.143.233/32\",\r\n \"52.179.200.0/25\",\r\n\ - \ \"52.184.152.241/32\",\r\n \"104.208.231.0/25\",\r\n \ - \ \"2603:1030:40c:402::c0/122\",\r\n \"2603:1030:40c:802::c0/122\"\ - ,\r\n \"2603:1030:40c:c02::c0/122\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"AzureCosmosDB.EastUS2EUAP\",\r\n \ - \ \"id\": \"AzureCosmosDB.EastUS2EUAP\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"2\",\r\n \"region\": \"eastus2euap\",\r\ - \n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"AzureCosmosDB\",\r\n \ - \ \"addressPrefixes\": [\r\n \"20.39.15.64/27\",\r\n \"\ - 40.74.147.192/26\",\r\n \"40.75.32.32/29\",\r\n \"40.75.34.128/26\"\ - ,\r\n \"40.89.67.208/32\",\r\n \"52.138.66.90/32\",\r\n\ - \ \"52.138.70.62/32\",\r\n \"52.138.92.0/26\",\r\n \ - \ \"2603:1030:40b:400::8c0/122\",\r\n \"2603:1030:40b:800::c0/122\"\ - ,\r\n \"2603:1030:40b:c00::c0/122\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"AzureCosmosDB.FranceCentral\",\r\n \ - \ \"id\": \"AzureCosmosDB.FranceCentral\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"2\",\r\n \"region\": \"centralfrance\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureCosmosDB\",\r\n \ - \ \"addressPrefixes\": [\r\n \"20.43.46.0/27\",\r\n \ - \ \"40.79.130.0/28\",\r\n \"40.79.138.48/28\",\r\n \"40.79.146.48/28\"\ - ,\r\n \"40.89.132.238/32\",\r\n \"52.143.136.41/32\",\r\n\ - \ \"2603:1020:805:402::c0/122\",\r\n \"2603:1020:805:802::c0/122\"\ - ,\r\n \"2603:1020:805:c02::c0/122\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"AzureCosmosDB.FranceSouth\",\r\n \ - \ \"id\": \"AzureCosmosDB.FranceSouth\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"2\",\r\n \"region\": \"southfrance\",\r\ - \n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"AzureCosmosDB\",\r\n \ - \ \"addressPrefixes\": [\r\n \"40.79.178.0/28\",\r\n \"\ - 51.105.92.192/27\",\r\n \"52.136.134.25/32\",\r\n \"52.136.134.250/32\"\ - ,\r\n \"52.136.136.70/32\",\r\n \"2603:1020:905:402::c0/122\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCosmosDB.GermanyNorth\"\ - ,\r\n \"id\": \"AzureCosmosDB.GermanyNorth\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"germanyn\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureCosmosDB\",\r\n \ - \ \"addressPrefixes\": [\r\n \"51.116.50.224/27\",\r\n \ - \ \"51.116.58.64/26\",\r\n \"2603:1020:d04:402::c0/122\"\r\n\ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCosmosDB.GermanyWestCentral\"\ - ,\r\n \"id\": \"AzureCosmosDB.GermanyWestCentral\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"germanywc\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureCosmosDB\",\r\n \ - \ \"addressPrefixes\": [\r\n \"51.116.146.224/27\",\r\n \ - \ \"51.116.154.128/26\",\r\n \"51.116.242.0/26\",\r\n \ - \ \"51.116.250.0/26\",\r\n \"2603:1020:c04:402::c0/122\",\r\n\ - \ \"2603:1020:c04:802::c0/122\",\r\n \"2603:1020:c04:c02::c0/122\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCosmosDB.JapanEast\"\ - ,\r\n \"id\": \"AzureCosmosDB.JapanEast\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"2\",\r\n \"region\": \"japaneast\",\r\ - \n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"AzureCosmosDB\",\r\n \ - \ \"addressPrefixes\": [\r\n \"13.78.51.35/32\",\r\n \"\ - 13.78.106.0/26\",\r\n \"20.191.160.32/27\",\r\n \"40.79.186.16/28\"\ - ,\r\n \"40.79.194.128/26\",\r\n \"40.115.241.37/32\",\r\n\ - \ \"104.41.177.93/32\",\r\n \"2603:1040:407:402::c0/122\"\ - ,\r\n \"2603:1040:407:802::c0/122\",\r\n \"2603:1040:407:c02::c0/122\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCosmosDB.JapanWest\"\ - ,\r\n \"id\": \"AzureCosmosDB.JapanWest\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"2\",\r\n \"region\": \"japanwest\",\r\ - \n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"AzureCosmosDB\",\r\n \ - \ \"addressPrefixes\": [\r\n \"40.74.98.0/26\",\r\n \"\ - 40.74.143.235/32\",\r\n \"40.80.63.160/27\",\r\n \"104.215.1.53/32\"\ - ,\r\n \"104.215.21.39/32\",\r\n \"104.215.55.227/32\",\r\ - \n \"2603:1040:606:402::c0/122\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"AzureCosmosDB.KoreaCentral\",\r\n \"id\"\ - : \"AzureCosmosDB.KoreaCentral\",\r\n \"properties\": {\r\n \"\ - changeNumber\": \"2\",\r\n \"region\": \"koreacentral\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"API\"\ - ,\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n \ - \ ],\r\n \"systemService\": \"AzureCosmosDB\",\r\n \"addressPrefixes\"\ - : [\r\n \"20.41.69.64/27\",\r\n \"20.44.26.0/26\",\r\n \ - \ \"20.194.66.64/26\",\r\n \"52.231.18.0/28\",\r\n \ - \ \"52.231.25.123/32\",\r\n \"52.231.39.143/32\",\r\n \ - \ \"52.231.56.0/28\",\r\n \"2603:1040:f05:402::c0/122\",\r\n \ - \ \"2603:1040:f05:802::c0/122\",\r\n \"2603:1040:f05:c02::c0/122\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCosmosDB.KoreaSouth\"\ - ,\r\n \"id\": \"AzureCosmosDB.KoreaSouth\",\r\n \"properties\":\ - \ {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"koreasouth\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureCosmosDB\",\r\n \ - \ \"addressPrefixes\": [\r\n \"40.80.173.0/27\",\r\n \ - \ \"52.231.146.0/27\",\r\n \"52.231.206.234/32\",\r\n \ - \ \"52.231.207.31/32\"\r\n ]\r\n }\r\n },\r\n {\r\n \ - \ \"name\": \"AzureCosmosDB.NorthCentralUS\",\r\n \"id\": \"AzureCosmosDB.NorthCentralUS\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \ - \ \"region\": \"northcentralus\",\r\n \"state\": \"GA\",\r\n \ - \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n\ - \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\"\ - : \"AzureCosmosDB\",\r\n \"addressPrefixes\": [\r\n \"20.49.114.128/27\"\ - ,\r\n \"23.96.180.213/32\",\r\n \"23.96.219.207/32\",\r\n\ - \ \"23.96.242.234/32\",\r\n \"52.162.106.0/26\",\r\n \ - \ \"52.162.252.26/32\",\r\n \"65.52.210.9/32\",\r\n \ - \ \"157.55.170.133/32\",\r\n \"2603:1030:608:402::c0/122\"\r\n\ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCosmosDB.NorthEurope\"\ - ,\r\n \"id\": \"AzureCosmosDB.NorthEurope\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"northeurope\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureCosmosDB\",\r\n \ - \ \"addressPrefixes\": [\r\n \"13.69.226.0/25\",\r\n \ - \ \"13.74.106.0/25\",\r\n \"13.79.34.236/32\",\r\n \"\ - 40.113.90.91/32\",\r\n \"52.138.141.112/32\",\r\n \"52.138.197.33/32\"\ - ,\r\n \"52.138.201.47/32\",\r\n \"52.138.205.97/32\",\r\n\ - \ \"52.138.206.153/32\",\r\n \"52.138.227.192/26\",\r\n\ - \ \"52.146.131.0/27\",\r\n \"52.164.250.188/32\",\r\n \ - \ \"52.169.122.37/32\",\r\n \"52.169.219.183/32\",\r\n \ - \ \"2603:1020:5:402::c0/122\",\r\n \"2603:1020:5:802::c0/122\"\ - ,\r\n \"2603:1020:5:c02::c0/122\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"AzureCosmosDB.NorwayEast\",\r\n \"\ - id\": \"AzureCosmosDB.NorwayEast\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"2\",\r\n \"region\": \"norwaye\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"API\"\ - ,\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n \ - \ ],\r\n \"systemService\": \"AzureCosmosDB\",\r\n \"addressPrefixes\"\ - : [\r\n \"51.120.44.128/27\",\r\n \"51.120.98.64/26\",\r\ - \n \"51.120.106.0/26\",\r\n \"51.120.210.0/26\",\r\n \ - \ \"2603:1020:e04:402::c0/122\",\r\n \"2603:1020:e04:802::c0/122\"\ - ,\r\n \"2603:1020:e04:c02::c0/122\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"AzureCosmosDB.NorwayWest\",\r\n \ - \ \"id\": \"AzureCosmosDB.NorwayWest\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"2\",\r\n \"region\": \"norwayw\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"\ - API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n\ - \ ],\r\n \"systemService\": \"AzureCosmosDB\",\r\n \"\ - addressPrefixes\": [\r\n \"51.120.218.64/26\",\r\n \"51.120.228.160/27\"\ - ,\r\n \"2603:1020:f04:402::c0/122\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"AzureCosmosDB.SouthAfricaNorth\",\r\n\ - \ \"id\": \"AzureCosmosDB.SouthAfricaNorth\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"southafricanorth\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureCosmosDB\",\r\n \ - \ \"addressPrefixes\": [\r\n \"102.133.122.0/26\",\r\n \ - \ \"102.133.154.64/26\",\r\n \"102.133.220.0/27\",\r\n \ - \ \"102.133.250.0/26\",\r\n \"2603:1000:104:402::c0/122\",\r\n\ - \ \"2603:1000:104:802::c0/122\",\r\n \"2603:1000:104:c02::c0/122\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCosmosDB.SouthAfricaWest\"\ - ,\r\n \"id\": \"AzureCosmosDB.SouthAfricaWest\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"southafricawest\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureCosmosDB\",\r\n \ - \ \"addressPrefixes\": [\r\n \"102.133.26.64/26\",\r\n \ - \ \"102.133.60.64/27\",\r\n \"2603:1000:4:402::c0/122\"\r\n \ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCosmosDB.SouthCentralUS\"\ - ,\r\n \"id\": \"AzureCosmosDB.SouthCentralUS\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"southcentralus\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureCosmosDB\",\r\n \ - \ \"addressPrefixes\": [\r\n \"13.65.145.92/32\",\r\n \ - \ \"13.66.26.107/32\",\r\n \"13.73.254.224/27\",\r\n \ - \ \"13.84.150.178/32\",\r\n \"13.84.157.70/32\",\r\n \"\ - 13.85.16.188/32\",\r\n \"20.45.122.0/26\",\r\n \"20.49.90.64/26\"\ - ,\r\n \"23.102.191.13/32\",\r\n \"104.210.217.251/32\",\r\ - \n \"104.214.18.0/25\",\r\n \"104.214.23.192/27\",\r\n \ - \ \"104.214.26.177/32\",\r\n \"2603:1030:807:402::c0/122\"\ - ,\r\n \"2603:1030:807:802::c0/122\",\r\n \"2603:1030:807:c02::c0/122\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCosmosDB.SoutheastAsia\"\ - ,\r\n \"id\": \"AzureCosmosDB.SoutheastAsia\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"southeastasia\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"AzureCosmosDB\",\r\n \"addressPrefixes\": [\r\n \"13.67.8.0/26\"\ - ,\r\n \"13.76.161.130/32\",\r\n \"23.98.82.0/26\",\r\n \ - \ \"23.98.107.224/27\",\r\n \"40.78.236.192/26\",\r\n \ - \ \"52.163.63.20/32\",\r\n \"52.163.249.82/32\",\r\n \ - \ \"52.187.11.8/32\",\r\n \"52.187.12.93/32\",\r\n \"\ - 52.230.15.63/32\",\r\n \"52.230.23.170/32\",\r\n \"52.230.70.94/32\"\ - ,\r\n \"52.230.87.21/32\",\r\n \"2603:1040:5:402::c0/122\"\ - ,\r\n \"2603:1040:5:802::c0/122\",\r\n \"2603:1040:5:c02::c0/122\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCosmosDB.SouthIndia\"\ - ,\r\n \"id\": \"AzureCosmosDB.SouthIndia\",\r\n \"properties\":\ - \ {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"southindia\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureCosmosDB\",\r\n \ - \ \"addressPrefixes\": [\r\n \"13.71.115.125/32\",\r\n \ - \ \"13.71.124.81/32\",\r\n \"20.41.199.128/27\",\r\n \ - \ \"40.78.194.0/28\",\r\n \"52.172.55.127/32\",\r\n \"\ - 104.211.227.84/32\",\r\n \"2603:1040:c06:402::c0/122\"\r\n \ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCosmosDB.SwitzerlandNorth\"\ - ,\r\n \"id\": \"AzureCosmosDB.SwitzerlandNorth\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"switzerlandn\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureCosmosDB\",\r\n \ - \ \"addressPrefixes\": [\r\n \"51.107.52.224/27\",\r\n \ - \ \"51.107.58.64/26\",\r\n \"2603:1020:a04:402::c0/122\",\r\n\ - \ \"2603:1020:a04:802::c0/122\",\r\n \"2603:1020:a04:c02::c0/122\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCosmosDB.SwitzerlandWest\"\ - ,\r\n \"id\": \"AzureCosmosDB.SwitzerlandWest\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"switzerlandw\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureCosmosDB\",\r\n \ - \ \"addressPrefixes\": [\r\n \"51.107.148.32/27\",\r\n \ - \ \"51.107.154.64/26\",\r\n \"2603:1020:b04:402::c0/122\"\r\n\ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCosmosDB.UAECentral\"\ - ,\r\n \"id\": \"AzureCosmosDB.UAECentral\",\r\n \"properties\":\ - \ {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"uaecentral\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureCosmosDB\",\r\n \ - \ \"addressPrefixes\": [\r\n \"20.37.68.160/27\",\r\n \ - \ \"20.37.75.128/26\",\r\n \"2603:1040:b04:402::c0/122\"\r\n \ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCosmosDB.UAENorth\"\ - ,\r\n \"id\": \"AzureCosmosDB.UAENorth\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"2\",\r\n \"region\": \"uaenorth\",\r\n\ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"AzureCosmosDB\",\r\n \ - \ \"addressPrefixes\": [\r\n \"20.38.140.128/27\",\r\n \ - \ \"40.120.74.64/26\",\r\n \"65.52.251.128/26\",\r\n \"\ - 2603:1040:904:402::c0/122\",\r\n \"2603:1040:904:802::c0/122\",\r\ - \n \"2603:1040:904:c02::c0/122\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"AzureCosmosDB.UKSouth\",\r\n \"id\": \"\ - AzureCosmosDB.UKSouth\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"2\",\r\n \"region\": \"uksouth\",\r\n \"state\": \"GA\"\ - ,\r\n \"networkFeatures\": [\r\n \"API\",\r\n \"\ - NSG\"\r\n ],\r\n \"systemService\": \"AzureCosmosDB\",\r\n \ - \ \"addressPrefixes\": [\r\n \"51.104.31.128/27\",\r\n \ - \ \"51.105.66.0/26\",\r\n \"51.105.74.0/26\",\r\n \"\ - 51.140.52.73/32\",\r\n \"51.140.70.75/32\",\r\n \"51.140.75.146/32\"\ - ,\r\n \"51.140.83.56/32\",\r\n \"51.140.99.233/32\",\r\n\ - \ \"51.140.146.0/27\",\r\n \"51.143.189.37/32\",\r\n \ - \ \"2603:1020:705:402::c0/122\",\r\n \"2603:1020:705:802::c0/122\"\ - ,\r\n \"2603:1020:705:c02::c0/122\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"AzureCosmosDB.UKWest\",\r\n \"id\"\ - : \"AzureCosmosDB.UKWest\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"2\",\r\n \"region\": \"ukwest\",\r\n \"state\": \"GA\",\r\ - \n \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\ - ,\r\n \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\"\ - : \"AzureCosmosDB\",\r\n \"addressPrefixes\": [\r\n \"51.137.166.128/27\"\ - ,\r\n \"51.140.210.0/27\",\r\n \"51.141.11.34/32\",\r\n\ - \ \"51.141.25.77/32\",\r\n \"51.141.53.76/32\",\r\n \ - \ \"51.141.55.229/32\",\r\n \"2603:1020:605:402::c0/122\"\r\n\ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCosmosDB.WestCentralUS\"\ - ,\r\n \"id\": \"AzureCosmosDB.WestCentralUS\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"westcentralus\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureCosmosDB\",\r\n \ - \ \"addressPrefixes\": [\r\n \"13.71.194.0/26\",\r\n \ - \ \"13.78.188.25/32\",\r\n \"52.150.154.224/27\",\r\n \ - \ \"52.161.13.67/32\",\r\n \"52.161.15.197/32\",\r\n \"\ - 52.161.22.131/32\",\r\n \"52.161.100.126/32\",\r\n \"2603:1030:b04:402::c0/122\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCosmosDB.WestEurope\"\ - ,\r\n \"id\": \"AzureCosmosDB.WestEurope\",\r\n \"properties\":\ - \ {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"westeurope\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureCosmosDB\",\r\n \ - \ \"addressPrefixes\": [\r\n \"13.69.66.0/25\",\r\n \ - \ \"13.69.66.128/29\",\r\n \"13.69.112.0/25\",\r\n \"13.81.51.99/32\"\ - ,\r\n \"13.94.201.5/32\",\r\n \"13.95.234.68/32\",\r\n \ - \ \"20.61.97.0/27\",\r\n \"40.68.44.85/32\",\r\n \ - \ \"40.114.240.253/32\",\r\n \"51.144.177.166/32\",\r\n \ - \ \"51.144.182.233/32\",\r\n \"52.174.253.239/32\",\r\n \ - \ \"52.178.108.222/32\",\r\n \"52.232.59.220/32\",\r\n \ - \ \"52.233.128.86/32\",\r\n \"52.236.189.0/26\",\r\n \"\ - 104.45.16.183/32\",\r\n \"2603:1020:206:402::c0/122\",\r\n \ - \ \"2603:1020:206:802::c0/122\",\r\n \"2603:1020:206:c02::c0/122\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCosmosDB.WestIndia\"\ - ,\r\n \"id\": \"AzureCosmosDB.WestIndia\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"2\",\r\n \"region\": \"westindia\",\r\ - \n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"AzureCosmosDB\",\r\n \"addressPrefixes\": [\r\n \"52.136.52.64/27\"\ - ,\r\n \"104.211.146.0/28\",\r\n \"104.211.162.94/32\",\r\ - \n \"104.211.184.117/32\",\r\n \"104.211.188.174/32\",\r\ - \n \"2603:1040:806:402::c0/122\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"AzureCosmosDB.WestUS\",\r\n \"id\": \"AzureCosmosDB.WestUS\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \ - \ \"region\": \"westus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n\ - \ \"FW\"\r\n ],\r\n \"systemService\": \"AzureCosmosDB\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.64.69.151/32\",\r\n\ - \ \"13.64.113.68/32\",\r\n \"13.64.114.48/32\",\r\n \ - \ \"13.64.194.140/32\",\r\n \"13.88.30.39/32\",\r\n \ - \ \"13.91.246.52/32\",\r\n \"13.93.153.80/32\",\r\n \"\ - 13.93.156.125/32\",\r\n \"13.93.207.66/32\",\r\n \"20.49.126.160/27\"\ - ,\r\n \"40.83.137.191/32\",\r\n \"40.112.140.12/32\",\r\n\ - \ \"40.112.241.0/24\",\r\n \"40.112.249.60/32\",\r\n \ - \ \"40.118.245.44/32\",\r\n \"40.118.245.251/32\",\r\n \ - \ \"137.117.9.157/32\",\r\n \"2603:1030:a07:402::c0/122\"\r\n\ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCosmosDB.WestUS2\"\ - ,\r\n \"id\": \"AzureCosmosDB.WestUS2\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"2\",\r\n \"region\": \"westus2\",\r\n\ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"AzureCosmosDB\",\r\n \ - \ \"addressPrefixes\": [\r\n \"13.66.138.0/26\",\r\n \"\ - 20.36.26.132/32\",\r\n \"40.64.135.0/27\",\r\n \"40.65.106.154/32\"\ - ,\r\n \"40.65.114.105/32\",\r\n \"40.78.243.192/26\",\r\n\ - \ \"40.78.250.0/26\",\r\n \"52.151.16.118/32\",\r\n \ - \ \"52.158.234.203/32\",\r\n \"52.183.42.252/32\",\r\n \ - \ \"52.183.66.36/32\",\r\n \"52.183.92.223/32\",\r\n \ - \ \"52.183.119.101/32\",\r\n \"2603:1030:c06:400::8c0/122\",\r\n\ - \ \"2603:1030:c06:802::c0/122\",\r\n \"2603:1030:c06:c02::c0/122\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureDatabricks\"\ - ,\r\n \"id\": \"AzureDatabricks\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"2\",\r\n \"region\": \"\",\r\n \"\ - state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\ - \n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n \ - \ ],\r\n \"systemService\": \"AzureDatabricks\",\r\n \"addressPrefixes\"\ - : [\r\n \"13.70.105.50/32\",\r\n \"13.70.107.141/32\",\r\ - \n \"13.71.184.74/32\",\r\n \"13.71.187.166/32\",\r\n \ - \ \"13.75.164.249/32\",\r\n \"13.75.218.172/32\",\r\n \ - \ \"13.78.18.152/32\",\r\n \"13.78.19.235/32\",\r\n \ - \ \"13.86.58.215/32\",\r\n \"13.88.249.244/32\",\r\n \"\ - 20.36.120.68/30\",\r\n \"20.37.64.68/30\",\r\n \"20.37.156.208/28\"\ - ,\r\n \"20.37.195.16/29\",\r\n \"20.37.224.68/30\",\r\n\ - \ \"20.38.84.80/28\",\r\n \"20.38.136.120/29\",\r\n \ - \ \"20.39.8.68/30\",\r\n \"20.41.4.112/28\",\r\n \"\ - 20.41.65.136/29\",\r\n \"20.41.192.68/30\",\r\n \"20.42.4.208/28\"\ - ,\r\n \"20.42.129.160/28\",\r\n \"20.42.224.68/30\",\r\n\ - \ \"20.43.41.152/29\",\r\n \"20.43.65.144/29\",\r\n \ - \ \"20.43.130.96/28\",\r\n \"20.45.112.68/30\",\r\n \ - \ \"20.45.192.68/30\",\r\n \"20.46.121.76/32\",\r\n \"\ - 20.72.16.32/29\",\r\n \"20.150.160.104/30\",\r\n \"20.150.160.208/29\"\ - ,\r\n \"20.186.83.56/32\",\r\n \"20.189.106.192/28\",\r\n\ - \ \"20.192.160.32/29\",\r\n \"20.192.225.24/29\",\r\n \ - \ \"20.194.4.102/32\",\r\n \"23.97.106.142/32\",\r\n \ - \ \"23.97.201.41/32\",\r\n \"23.100.0.135/32\",\r\n \ - \ \"23.100.226.13/32\",\r\n \"23.101.147.147/32\",\r\n \"\ - 23.101.152.95/32\",\r\n \"40.67.48.68/30\",\r\n \"40.70.58.221/32\"\ - ,\r\n \"40.74.30.80/28\",\r\n \"40.80.56.68/30\",\r\n \ - \ \"40.80.168.68/30\",\r\n \"40.80.188.0/28\",\r\n \ - \ \"40.82.248.112/28\",\r\n \"40.83.176.199/32\",\r\n \ - \ \"40.83.178.242/32\",\r\n \"40.85.223.25/32\",\r\n \"\ - 40.86.167.110/32\",\r\n \"40.89.16.68/30\",\r\n \"40.89.168.225/32\"\ - ,\r\n \"40.89.170.184/32\",\r\n \"40.89.171.101/32\",\r\n\ - \ \"40.118.174.12/32\",\r\n \"40.119.9.208/28\",\r\n \ - \ \"40.123.212.253/32\",\r\n \"40.123.218.63/32\",\r\n \ - \ \"40.123.219.125/32\",\r\n \"40.123.225.135/32\",\r\n \ - \ \"40.127.5.82/32\",\r\n \"40.127.5.124/32\",\r\n \ - \ \"40.127.147.196/32\",\r\n \"51.12.41.16/30\",\r\n \"\ - 51.12.47.16/29\",\r\n \"51.12.193.16/30\",\r\n \"51.12.198.200/29\"\ - ,\r\n \"51.103.18.111/32\",\r\n \"51.104.25.136/30\",\r\n\ - \ \"51.105.80.68/30\",\r\n \"51.105.88.68/30\",\r\n \ - \ \"51.107.48.120/30\",\r\n \"51.107.144.68/30\",\r\n \ - \ \"51.120.40.120/30\",\r\n \"51.120.224.68/30\",\r\n \ - \ \"51.137.160.120/29\",\r\n \"51.138.96.158/32\",\r\n \ - \ \"51.140.200.46/32\",\r\n \"51.140.203.27/32\",\r\n \"\ - 51.140.204.4/32\",\r\n \"51.141.103.193/32\",\r\n \"51.143.192.68/30\"\ - ,\r\n \"52.136.48.68/30\",\r\n \"52.140.104.120/29\",\r\n\ - \ \"52.141.6.71/32\",\r\n \"52.141.6.181/32\",\r\n \ - \ \"52.141.22.164/32\",\r\n \"52.146.50.16/32\",\r\n \ - \ \"52.150.136.68/30\",\r\n \"52.172.133.58/32\",\r\n \"\ - 52.187.0.85/32\",\r\n \"52.187.3.203/32\",\r\n \"52.187.145.107/32\"\ - ,\r\n \"52.228.81.136/29\",\r\n \"52.230.27.216/32\",\r\n\ - \ \"52.232.19.246/32\",\r\n \"52.246.160.72/32\",\r\n \ - \ \"52.247.0.200/32\",\r\n \"102.37.41.3/32\",\r\n \ - \ \"102.133.56.68/30\",\r\n \"102.133.216.96/29\",\r\n \ - \ \"102.133.224.24/32\",\r\n \"104.41.54.118/32\",\r\n \ - \ \"104.45.7.191/32\",\r\n \"104.211.89.81/32\",\r\n \"\ - 104.211.101.14/32\",\r\n \"104.211.103.82/32\",\r\n \"191.232.53.223/32\"\ - ,\r\n \"191.233.8.32/29\",\r\n \"191.234.160.82/32\",\r\n\ - \ \"191.235.225.144/29\",\r\n \"2603:1000:4::160/123\",\r\ - \n \"2603:1000:104:1::160/123\",\r\n \"2603:1010:6:1::160/123\"\ - ,\r\n \"2603:1010:101::160/123\",\r\n \"2603:1010:304::160/123\"\ - ,\r\n \"2603:1010:404::160/123\",\r\n \"2603:1020:5:1::160/123\"\ - ,\r\n \"2603:1020:206:1::160/123\",\r\n \"2603:1020:305::160/123\"\ - ,\r\n \"2603:1020:405::160/123\",\r\n \"2603:1020:605::160/123\"\ - ,\r\n \"2603:1020:705:1::160/123\",\r\n \"2603:1020:805:1::160/123\"\ - ,\r\n \"2603:1020:905::160/123\",\r\n \"2603:1020:a04:1::160/123\"\ - ,\r\n \"2603:1020:b04::160/123\",\r\n \"2603:1020:c04:1::160/123\"\ - ,\r\n \"2603:1020:d04::160/123\",\r\n \"2603:1020:e04:1::160/123\"\ - ,\r\n \"2603:1020:f04::160/123\",\r\n \"2603:1020:1004::160/123\"\ - ,\r\n \"2603:1020:1104::160/123\",\r\n \"2603:1030:f:1::160/123\"\ - ,\r\n \"2603:1030:10:1::160/123\",\r\n \"2603:1030:104:1::160/123\"\ - ,\r\n \"2603:1030:107::160/123\",\r\n \"2603:1030:210:1::160/123\"\ - ,\r\n \"2603:1030:40b:1::160/123\",\r\n \"2603:1030:40c:1::160/123\"\ - ,\r\n \"2603:1030:504:1::160/123\",\r\n \"2603:1030:608::160/123\"\ - ,\r\n \"2603:1030:807:1::160/123\",\r\n \"2603:1030:a07::160/123\"\ - ,\r\n \"2603:1030:b04::160/123\",\r\n \"2603:1030:c06:1::160/123\"\ - ,\r\n \"2603:1030:f05:1::160/123\",\r\n \"2603:1030:1005::160/123\"\ - ,\r\n \"2603:1040:5:1::160/123\",\r\n \"2603:1040:207::160/123\"\ - ,\r\n \"2603:1040:407:1::160/123\",\r\n \"2603:1040:606::160/123\"\ - ,\r\n \"2603:1040:806::160/123\",\r\n \"2603:1040:904:1::160/123\"\ - ,\r\n \"2603:1040:a06:1::160/123\",\r\n \"2603:1040:b04::160/123\"\ - ,\r\n \"2603:1040:c06::160/123\",\r\n \"2603:1040:d04::160/123\"\ - ,\r\n \"2603:1040:f05:1::160/123\",\r\n \"2603:1040:1104::160/123\"\ - ,\r\n \"2603:1050:6:1::160/123\",\r\n \"2603:1050:403::160/123\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureDataExplorerManagement\"\ - ,\r\n \"id\": \"AzureDataExplorerManagement\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"AzureDataExplorerManagement\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.64.38.225/32\",\r\n\ - \ \"13.66.141.160/28\",\r\n \"13.69.106.240/28\",\r\n \ - \ \"13.69.229.176/28\",\r\n \"13.70.73.112/28\",\r\n \ - \ \"13.71.173.64/28\",\r\n \"13.71.196.64/28\",\r\n \ - \ \"13.73.240.96/28\",\r\n \"13.75.39.0/28\",\r\n \"13.77.52.240/28\"\ - ,\r\n \"13.86.36.42/32\",\r\n \"13.86.219.64/28\",\r\n \ - \ \"13.87.57.224/28\",\r\n \"13.87.123.224/28\",\r\n \ - \ \"13.89.174.80/28\",\r\n \"20.36.242.104/32\",\r\n \ - \ \"20.37.24.1/32\",\r\n \"20.39.97.38/32\",\r\n \"20.39.99.177/32\"\ - ,\r\n \"20.40.114.21/32\",\r\n \"20.40.161.39/32\",\r\n\ - \ \"20.43.89.90/32\",\r\n \"20.43.120.96/28\",\r\n \ - \ \"20.44.16.96/28\",\r\n \"20.44.27.96/28\",\r\n \"\ - 20.45.3.60/32\",\r\n \"20.46.146.7/32\",\r\n \"20.72.27.128/28\"\ - ,\r\n \"20.150.171.192/28\",\r\n \"20.185.100.27/32\",\r\ - \n \"20.189.74.103/32\",\r\n \"20.192.235.128/28\",\r\n\ - \ \"20.193.203.96/28\",\r\n \"23.98.82.240/28\",\r\n \ - \ \"40.66.57.57/32\",\r\n \"40.66.57.91/32\",\r\n \ - \ \"40.67.188.68/32\",\r\n \"40.69.107.240/28\",\r\n \"\ - 40.71.13.176/28\",\r\n \"40.74.101.208/28\",\r\n \"40.74.147.80/28\"\ - ,\r\n \"40.78.195.240/28\",\r\n \"40.78.203.176/28\",\r\n\ - \ \"40.79.131.224/28\",\r\n \"40.79.179.208/28\",\r\n \ - \ \"40.79.187.16/28\",\r\n \"40.80.234.9/32\",\r\n \ - \ \"40.80.250.168/32\",\r\n \"40.80.255.12/32\",\r\n \"\ - 40.81.28.50/32\",\r\n \"40.81.43.47/32\",\r\n \"40.81.56.122/32\"\ - ,\r\n \"40.81.72.110/32\",\r\n \"40.81.88.112/32\",\r\n\ - \ \"40.81.89.242/32\",\r\n \"40.81.122.39/32\",\r\n \ - \ \"40.81.154.254/32\",\r\n \"40.81.184.86/32\",\r\n \ - \ \"40.81.220.38/32\",\r\n \"40.81.248.53/32\",\r\n \"\ - 40.81.249.251/32\",\r\n \"40.82.154.174/32\",\r\n \"40.82.156.149/32\"\ - ,\r\n \"40.82.188.208/32\",\r\n \"40.82.217.84/32\",\r\n\ - \ \"40.82.236.24/32\",\r\n \"40.89.56.69/32\",\r\n \ - \ \"40.90.219.23/32\",\r\n \"40.91.74.95/32\",\r\n \"\ - 40.119.3.195/32\",\r\n \"40.119.203.252/32\",\r\n \"51.12.99.192/28\"\ - ,\r\n \"51.12.203.192/28\",\r\n \"51.104.8.112/28\",\r\n\ - \ \"51.107.59.160/28\",\r\n \"51.107.98.201/32\",\r\n \ - \ \"51.107.155.160/28\",\r\n \"51.116.59.160/28\",\r\n \ - \ \"51.116.98.150/32\",\r\n \"51.116.155.224/28\",\r\n \ - \ \"51.120.99.80/28\",\r\n \"51.120.219.192/28\",\r\n \ - \ \"51.140.212.0/28\",\r\n \"51.145.176.215/32\",\r\n \ - \ \"52.142.91.221/32\",\r\n \"52.159.55.120/32\",\r\n \"\ - 52.162.110.176/28\",\r\n \"52.224.146.56/32\",\r\n \"52.231.148.16/28\"\ - ,\r\n \"52.232.230.201/32\",\r\n \"52.253.159.186/32\",\r\ - \n \"52.253.225.186/32\",\r\n \"52.253.226.110/32\",\r\n\ - \ \"102.133.0.192/32\",\r\n \"102.133.28.112/28\",\r\n \ - \ \"102.133.130.206/32\",\r\n \"102.133.156.16/28\",\r\n\ - \ \"104.211.147.224/28\",\r\n \"191.233.25.183/32\",\r\n\ - \ \"191.233.50.208/28\",\r\n \"191.233.205.0/28\",\r\n \ - \ \"2603:1000:4:402::150/124\",\r\n \"2603:1000:104:402::150/124\"\ - ,\r\n \"2603:1010:6:402::150/124\",\r\n \"2603:1010:101:402::150/124\"\ - ,\r\n \"2603:1010:304:402::150/124\",\r\n \"2603:1010:404:402::150/124\"\ - ,\r\n \"2603:1020:5:402::150/124\",\r\n \"2603:1020:206:402::150/124\"\ - ,\r\n \"2603:1020:305:402::150/124\",\r\n \"2603:1020:405:402::150/124\"\ - ,\r\n \"2603:1020:605:402::150/124\",\r\n \"2603:1020:705:402::150/124\"\ - ,\r\n \"2603:1020:805:402::150/124\",\r\n \"2603:1020:905:402::150/124\"\ - ,\r\n \"2603:1020:a04:402::150/124\",\r\n \"2603:1020:b04:402::150/124\"\ - ,\r\n \"2603:1020:c04:402::150/124\",\r\n \"2603:1020:d04:402::150/124\"\ - ,\r\n \"2603:1020:e04:402::150/124\",\r\n \"2603:1020:f04:402::150/124\"\ - ,\r\n \"2603:1020:1004:800::d0/124\",\r\n \"2603:1020:1104:400::150/124\"\ - ,\r\n \"2603:1030:f:400::950/124\",\r\n \"2603:1030:10:402::150/124\"\ - ,\r\n \"2603:1030:104:402::150/124\",\r\n \"2603:1030:107:400::e0/124\"\ - ,\r\n \"2603:1030:210:402::150/124\",\r\n \"2603:1030:40b:400::950/124\"\ - ,\r\n \"2603:1030:40c:402::150/124\",\r\n \"2603:1030:504:802::d0/124\"\ - ,\r\n \"2603:1030:608:402::150/124\",\r\n \"2603:1030:807:402::150/124\"\ - ,\r\n \"2603:1030:a07:402::8d0/124\",\r\n \"2603:1030:b04:402::150/124\"\ - ,\r\n \"2603:1030:c06:400::950/124\",\r\n \"2603:1030:f05:402::150/124\"\ - ,\r\n \"2603:1030:1005:402::150/124\",\r\n \"2603:1040:5:402::150/124\"\ - ,\r\n \"2603:1040:207:402::150/124\",\r\n \"2603:1040:407:402::150/124\"\ - ,\r\n \"2603:1040:606:402::150/124\",\r\n \"2603:1040:806:402::150/124\"\ - ,\r\n \"2603:1040:904:402::150/124\",\r\n \"2603:1040:a06:402::150/124\"\ - ,\r\n \"2603:1040:b04:402::150/124\",\r\n \"2603:1040:c06:402::150/124\"\ - ,\r\n \"2603:1040:d04:800::d0/124\",\r\n \"2603:1040:f05:402::150/124\"\ - ,\r\n \"2603:1040:1104:400::150/124\",\r\n \"2603:1050:6:402::150/124\"\ - ,\r\n \"2603:1050:403:400::2b0/124\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"AzureDataExplorerManagement.EastAsia\"\ - ,\r\n \"id\": \"AzureDataExplorerManagement.EastAsia\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"eastasia\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\"\r\n ],\r\n \"systemService\": \"AzureDataExplorerManagement\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.75.39.0/28\",\r\n \ - \ \"20.189.74.103/32\",\r\n \"40.81.28.50/32\",\r\n \ - \ \"2603:1040:207:402::150/124\"\r\n ]\r\n }\r\n },\r\n\ - \ {\r\n \"name\": \"AzureDataExplorerManagement.EastUS\",\r\n \ - \ \"id\": \"AzureDataExplorerManagement.EastUS\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"eastus\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\"\r\n ],\r\n \"systemService\": \"AzureDataExplorerManagement\"\ - ,\r\n \"addressPrefixes\": [\r\n \"20.185.100.27/32\",\r\n\ - \ \"40.71.13.176/28\",\r\n \"52.224.146.56/32\",\r\n \ - \ \"2603:1030:210:402::150/124\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"AzureDataExplorerManagement.FranceCentral\",\r\ - \n \"id\": \"AzureDataExplorerManagement.FranceCentral\",\r\n \"\ - properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\"\ - : \"centralfrance\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\"\r\n ],\r\n \"systemService\": \"AzureDataExplorerManagement\"\ - ,\r\n \"addressPrefixes\": [\r\n \"40.66.57.57/32\",\r\n \ - \ \"40.66.57.91/32\",\r\n \"40.79.131.224/28\",\r\n \ - \ \"2603:1020:805:402::150/124\"\r\n ]\r\n }\r\n },\r\n\ - \ {\r\n \"name\": \"AzureDataExplorerManagement.GermanyWestCentral\"\ - ,\r\n \"id\": \"AzureDataExplorerManagement.GermanyWestCentral\",\r\n\ - \ \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \"\ - region\": \"germanywc\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\"\r\n ],\r\n \"systemService\": \"AzureDataExplorerManagement\"\ - ,\r\n \"addressPrefixes\": [\r\n \"51.116.98.150/32\",\r\n\ - \ \"51.116.155.224/28\",\r\n \"2603:1020:c04:402::150/124\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureDataExplorerManagement.SouthIndia\"\ - ,\r\n \"id\": \"AzureDataExplorerManagement.SouthIndia\",\r\n \"\ - properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\"\ - : \"southindia\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\"\r\n ],\r\n \"systemService\": \"AzureDataExplorerManagement\"\ - ,\r\n \"addressPrefixes\": [\r\n \"40.78.195.240/28\",\r\n\ - \ \"40.81.72.110/32\",\r\n \"2603:1040:c06:402::150/124\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureDataExplorerManagement.WestUS\"\ - ,\r\n \"id\": \"AzureDataExplorerManagement.WestUS\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"westus\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\"\r\n ],\r\n \"systemService\": \"AzureDataExplorerManagement\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.64.38.225/32\",\r\n\ - \ \"13.86.219.64/28\",\r\n \"2603:1030:a07:402::8d0/124\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureDataLake\"\ - ,\r\n \"id\": \"AzureDataLake\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"1\",\r\n \"region\": \"\",\r\n \"state\"\ - : \"GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\n \ - \ \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n ],\r\n\ - \ \"systemService\": \"AzureDataLake\",\r\n \"addressPrefixes\"\ - : [\r\n \"40.90.138.133/32\",\r\n \"40.90.138.136/32\",\r\ - \n \"40.90.141.128/29\",\r\n \"40.90.141.167/32\",\r\n \ - \ \"40.90.144.0/27\",\r\n \"40.90.145.192/26\",\r\n \ - \ \"65.52.108.31/32\",\r\n \"65.52.108.38/32\",\r\n \ - \ \"104.44.88.66/31\",\r\n \"104.44.88.106/31\",\r\n \"\ - 104.44.88.112/31\",\r\n \"104.44.88.176/31\",\r\n \"104.44.88.184/29\"\ - ,\r\n \"104.44.89.39/32\",\r\n \"104.44.89.42/32\",\r\n\ - \ \"104.44.90.128/27\",\r\n \"104.44.90.194/31\",\r\n \ - \ \"104.44.91.64/27\",\r\n \"104.44.91.160/27\",\r\n \ - \ \"104.44.93.192/27\"\r\n ]\r\n }\r\n },\r\n {\r\n\ - \ \"name\": \"AzureDataLake.AustraliaSoutheast\",\r\n \"id\": \"\ - AzureDataLake.AustraliaSoutheast\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"1\",\r\n \"region\": \"australiasoutheast\",\r\ - \n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\"\r\n ],\r\n \"systemService\": \"AzureDataLake\"\ - ,\r\n \"addressPrefixes\": [\r\n \"40.90.138.133/32\",\r\n\ - \ \"40.90.138.136/32\"\r\n ]\r\n }\r\n },\r\n {\r\ - \n \"name\": \"AzureDataLake.WestEurope\",\r\n \"id\": \"AzureDataLake.WestEurope\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n \ - \ \"region\": \"westeurope\",\r\n \"state\": \"GA\",\r\n \"\ - networkFeatures\": [\r\n \"API\"\r\n ],\r\n \"systemService\"\ - : \"AzureDataLake\",\r\n \"addressPrefixes\": [\r\n \"40.90.141.167/32\"\ - ,\r\n \"40.90.145.192/27\",\r\n \"104.44.90.194/31\",\r\n\ - \ \"104.44.93.192/27\"\r\n ]\r\n }\r\n },\r\n {\r\ - \n \"name\": \"AzureDevSpaces\",\r\n \"id\": \"AzureDevSpaces\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n \ - \ \"region\": \"\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n\ - \ \"FW\"\r\n ],\r\n \"systemService\": \"AzureDevSpaces\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.69.71.144/28\",\r\n\ - \ \"13.70.78.176/28\",\r\n \"13.71.175.112/28\",\r\n \ - \ \"13.71.199.96/28\",\r\n \"13.73.244.128/28\",\r\n \ - \ \"13.74.111.128/28\",\r\n \"13.78.111.144/28\",\r\n \ - \ \"13.86.221.224/28\",\r\n \"20.37.157.64/28\",\r\n \"\ - 20.37.195.80/28\",\r\n \"20.38.85.128/28\",\r\n \"20.39.11.64/28\"\ - ,\r\n \"20.41.5.128/28\",\r\n \"20.42.6.32/27\",\r\n \ - \ \"20.42.6.128/28\",\r\n \"20.42.64.64/26\",\r\n \ - \ \"20.42.131.192/27\",\r\n \"20.42.230.64/28\",\r\n \"\ - 20.43.65.208/28\",\r\n \"20.43.130.240/28\",\r\n \"20.189.108.32/28\"\ - ,\r\n \"40.69.110.176/28\",\r\n \"40.70.151.80/28\",\r\n\ - \ \"40.74.30.144/28\",\r\n \"40.75.35.224/28\",\r\n \ - \ \"40.78.239.0/28\",\r\n \"40.78.251.224/27\",\r\n \ - \ \"40.82.253.112/28\",\r\n \"40.89.17.192/28\",\r\n \"\ - 40.119.9.240/28\",\r\n \"51.104.25.208/28\",\r\n \"51.105.77.64/28\"\ - ,\r\n \"52.150.139.144/28\",\r\n \"52.182.141.128/28\",\r\ - \n \"52.228.81.224/28\",\r\n \"104.214.161.48/28\"\r\n \ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureDevSpaces.EastUS\"\ - ,\r\n \"id\": \"AzureDevSpaces.EastUS\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"1\",\r\n \"region\": \"eastus\",\r\n\ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"AzureDevSpaces\",\r\n \"addressPrefixes\": [\r\n \"20.42.6.32/27\"\ - ,\r\n \"20.42.6.128/28\",\r\n \"20.42.64.64/26\"\r\n \ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureDevSpaces.EastUS2\"\ - ,\r\n \"id\": \"AzureDevSpaces.EastUS2\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"1\",\r\n \"region\": \"eastus2\",\r\n\ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"AzureDevSpaces\",\r\n \"addressPrefixes\": [\r\n \"20.41.5.128/28\"\ - ,\r\n \"40.70.151.80/28\"\r\n ]\r\n }\r\n },\r\n \ - \ {\r\n \"name\": \"AzureDevSpaces.EastUS2EUAP\",\r\n \"id\":\ - \ \"AzureDevSpaces.EastUS2EUAP\",\r\n \"properties\": {\r\n \"\ - changeNumber\": \"1\",\r\n \"region\": \"eastus2euap\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"API\"\ - ,\r\n \"NSG\"\r\n ],\r\n \"systemService\": \"AzureDevSpaces\"\ - ,\r\n \"addressPrefixes\": [\r\n \"20.39.11.64/28\",\r\n \ - \ \"40.75.35.224/28\"\r\n ]\r\n }\r\n },\r\n {\r\ - \n \"name\": \"AzureDevSpaces.JapanEast\",\r\n \"id\": \"AzureDevSpaces.JapanEast\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n \ - \ \"region\": \"japaneast\",\r\n \"state\": \"GA\",\r\n \"\ - networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n \ - \ ],\r\n \"systemService\": \"AzureDevSpaces\",\r\n \"addressPrefixes\"\ - : [\r\n \"13.78.111.144/28\",\r\n \"20.43.65.208/28\"\r\n\ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureDevSpaces.NorthEurope\"\ - ,\r\n \"id\": \"AzureDevSpaces.NorthEurope\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"1\",\r\n \"region\": \"northeurope\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"AzureDevSpaces\",\r\n \"addressPrefixes\": [\r\n \"13.74.111.128/28\"\ - ,\r\n \"20.38.85.128/28\"\r\n ]\r\n }\r\n },\r\n \ - \ {\r\n \"name\": \"AzureDevSpaces.SoutheastAsia\",\r\n \"id\"\ - : \"AzureDevSpaces.SoutheastAsia\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"1\",\r\n \"region\": \"southeastasia\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"AzureDevSpaces\",\r\n \"addressPrefixes\": [\r\n \"20.43.130.240/28\"\ - ,\r\n \"40.78.239.0/28\"\r\n ]\r\n }\r\n },\r\n \ - \ {\r\n \"name\": \"AzureDevSpaces.WestUS\",\r\n \"id\": \"AzureDevSpaces.WestUS\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n \ - \ \"region\": \"westus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"\ - systemService\": \"AzureDevSpaces\",\r\n \"addressPrefixes\": [\r\n\ - \ \"13.86.221.224/28\",\r\n \"40.82.253.112/28\"\r\n \ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureDevSpaces.WestUS2\"\ - ,\r\n \"id\": \"AzureDevSpaces.WestUS2\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"1\",\r\n \"region\": \"westus2\",\r\n\ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"AzureDevSpaces\",\r\n \"addressPrefixes\": [\r\n \"20.42.131.192/27\"\ - ,\r\n \"40.78.251.224/27\"\r\n ]\r\n }\r\n },\r\n\ - \ {\r\n \"name\": \"AzureDigitalTwins\",\r\n \"id\": \"AzureDigitalTwins\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \ - \ \"region\": \"\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n\ - \ \"FW\"\r\n ],\r\n \"systemService\": \"AzureDigitalTwins\"\ - ,\r\n \"addressPrefixes\": [\r\n \"20.36.125.120/29\",\r\n\ - \ \"20.36.125.192/27\",\r\n \"20.37.70.112/29\",\r\n \ - \ \"20.37.70.192/27\",\r\n \"20.38.142.112/29\",\r\n \ - \ \"20.38.142.192/27\",\r\n \"20.39.2.134/32\",\r\n \"\ - 20.39.2.208/32\",\r\n \"20.39.2.237/32\",\r\n \"20.39.3.11/32\"\ - ,\r\n \"20.39.3.14/32\",\r\n \"20.39.3.17/32\",\r\n \ - \ \"20.39.3.38/32\",\r\n \"20.39.18.169/32\",\r\n \"\ - 20.40.225.48/29\",\r\n \"20.40.225.128/27\",\r\n \"20.43.47.72/29\"\ - ,\r\n \"20.43.47.96/27\",\r\n \"20.45.116.80/29\",\r\n \ - \ \"20.45.116.96/27\",\r\n \"20.46.10.56/29\",\r\n \ - \ \"20.46.10.96/27\",\r\n \"20.48.193.128/27\",\r\n \"\ - 20.48.193.160/29\",\r\n \"20.49.103.112/29\",\r\n \"20.49.103.192/27\"\ - ,\r\n \"20.49.118.8/29\",\r\n \"20.49.118.32/27\",\r\n \ - \ \"20.49.248.209/32\",\r\n \"20.49.249.56/32\",\r\n \ - \ \"20.49.249.78/32\",\r\n \"20.49.249.101/32\",\r\n \ - \ \"20.49.249.106/32\",\r\n \"20.49.249.156/32\",\r\n \ - \ \"20.49.249.189/32\",\r\n \"20.49.249.208/32\",\r\n \"\ - 20.49.249.236/32\",\r\n \"20.49.250.2/32\",\r\n \"20.50.211.192/32\"\ - ,\r\n \"20.50.212.99/32\",\r\n \"20.50.212.103/32\",\r\n\ - \ \"20.50.212.140/32\",\r\n \"20.50.213.6/32\",\r\n \ - \ \"20.50.213.76/32\",\r\n \"20.50.213.88/32\",\r\n \ - \ \"20.50.213.93/32\",\r\n \"20.50.213.94/32\",\r\n \"\ - 20.50.213.120/32\",\r\n \"20.51.8.96/27\",\r\n \"20.51.8.192/29\"\ - ,\r\n \"20.51.16.176/29\",\r\n \"20.51.17.0/27\",\r\n \ - \ \"20.51.73.8/32\",\r\n \"20.51.73.11/32\",\r\n \ - \ \"20.51.73.22/31\",\r\n \"20.51.73.25/32\",\r\n \"20.51.73.26/31\"\ - ,\r\n \"20.51.73.36/32\",\r\n \"20.51.73.39/32\",\r\n \ - \ \"20.51.73.44/32\",\r\n \"20.53.44.88/29\",\r\n \ - \ \"20.53.44.96/27\",\r\n \"20.53.48.0/27\",\r\n \"20.53.48.32/29\"\ - ,\r\n \"20.53.114.26/32\",\r\n \"20.53.114.71/32\",\r\n\ - \ \"20.53.114.84/32\",\r\n \"20.53.114.118/32\",\r\n \ - \ \"20.58.66.0/27\",\r\n \"20.58.66.32/29\",\r\n \"\ - 20.61.98.144/29\",\r\n \"20.61.99.0/27\",\r\n \"20.62.129.32/27\"\ - ,\r\n \"20.62.129.128/29\",\r\n \"20.65.130.72/29\",\r\n\ - \ \"20.65.130.96/27\",\r\n \"20.66.2.16/29\",\r\n \ - \ \"20.66.2.128/27\",\r\n \"20.72.20.0/27\",\r\n \"20.150.166.176/29\"\ - ,\r\n \"20.150.167.128/27\",\r\n \"20.185.75.6/32\",\r\n\ - \ \"20.185.75.209/32\",\r\n \"20.187.197.16/29\",\r\n \ - \ \"20.187.197.128/27\",\r\n \"20.189.224.224/27\",\r\n \ - \ \"20.189.225.64/29\",\r\n \"20.191.161.96/27\",\r\n \ - \ \"20.191.161.192/29\",\r\n \"20.192.166.176/29\",\r\n \ - \ \"20.192.167.128/27\",\r\n \"20.192.231.192/27\",\r\n \ - \ \"20.192.231.224/29\",\r\n \"20.193.3.89/32\",\r\n \ - \ \"20.193.3.243/32\",\r\n \"20.193.7.70/32\",\r\n \"\ - 20.193.7.132/32\",\r\n \"20.193.59.172/32\",\r\n \"20.193.59.253/32\"\ - ,\r\n \"20.194.72.136/29\",\r\n \"20.194.72.160/27\",\r\n\ - \ \"23.98.108.184/29\",\r\n \"23.98.109.0/27\",\r\n \ - \ \"40.67.52.104/29\",\r\n \"40.67.52.192/27\",\r\n \ - \ \"40.80.173.208/29\",\r\n \"40.80.173.224/27\",\r\n \"\ - 40.119.241.130/32\",\r\n \"40.119.241.148/32\",\r\n \"40.119.241.154/32\"\ - ,\r\n \"40.119.242.73/32\",\r\n \"40.119.242.79/32\",\r\n\ - \ \"40.119.242.168/32\",\r\n \"40.119.242.232/32\",\r\n\ - \ \"40.119.243.20/32\",\r\n \"40.119.243.119/32\",\r\n \ - \ \"40.119.243.178/32\",\r\n \"40.124.97.243/32\",\r\n \ - \ \"40.124.98.14/31\",\r\n \"40.124.98.23/32\",\r\n \ - \ \"40.124.98.34/31\",\r\n \"40.124.98.48/32\",\r\n \"\ - 40.124.98.52/32\",\r\n \"40.124.98.70/32\",\r\n \"40.124.99.100/32\"\ - ,\r\n \"51.12.43.144/29\",\r\n \"51.12.43.160/27\",\r\n\ - \ \"51.12.194.120/29\",\r\n \"51.12.195.192/27\",\r\n \ - \ \"51.13.136.128/27\",\r\n \"51.13.136.160/29\",\r\n \ - \ \"51.104.141.227/32\",\r\n \"51.107.241.64/27\",\r\n \ - \ \"51.107.241.96/29\",\r\n \"51.107.249.80/29\",\r\n \ - \ \"51.107.249.96/27\",\r\n \"51.116.51.176/29\",\r\n \ - \ \"51.116.54.0/27\",\r\n \"51.116.148.120/29\",\r\n \"\ - 51.116.148.192/27\",\r\n \"51.120.232.40/29\",\r\n \"51.120.232.128/27\"\ - ,\r\n \"51.143.208.208/29\",\r\n \"51.143.208.224/27\",\r\ - \n \"52.136.52.248/29\",\r\n \"52.136.53.64/27\",\r\n \ - \ \"52.136.184.80/29\",\r\n \"52.136.184.96/27\",\r\n \ - \ \"52.139.106.96/27\",\r\n \"52.140.111.112/29\",\r\n \ - \ \"52.140.111.192/27\",\r\n \"52.142.120.18/32\",\r\n \ - \ \"52.142.120.22/32\",\r\n \"52.142.120.57/32\",\r\n \ - \ \"52.142.120.74/32\",\r\n \"52.142.120.90/32\",\r\n \"\ - 52.142.120.104/32\",\r\n \"52.142.120.156/32\",\r\n \"52.146.132.192/27\"\ - ,\r\n \"52.146.132.224/29\",\r\n \"52.148.29.27/32\",\r\n\ - \ \"52.149.20.142/32\",\r\n \"52.149.234.152/32\",\r\n \ - \ \"52.149.238.190/32\",\r\n \"52.149.239.34/32\",\r\n \ - \ \"52.150.156.248/29\",\r\n \"52.150.157.32/27\",\r\n \ - \ \"52.153.153.146/32\",\r\n \"52.153.153.246/32\",\r\n \ - \ \"52.153.153.255/32\",\r\n \"52.153.154.13/32\",\r\n \ - \ \"52.153.154.40/32\",\r\n \"52.153.154.123/32\",\r\n \ - \ \"52.153.154.158/32\",\r\n \"52.153.154.161/32\",\r\n \ - \ \"52.156.207.58/32\",\r\n \"52.156.207.195/32\",\r\n \ - \ \"52.161.185.49/32\",\r\n \"52.170.161.49/32\",\r\n \ - \ \"52.170.162.28/32\",\r\n \"52.172.112.168/29\",\r\n \ - \ \"52.172.113.0/27\",\r\n \"52.186.106.218/32\",\r\n \"\ - 52.191.16.191/32\",\r\n \"52.191.18.106/32\",\r\n \"52.247.76.74/32\"\ - ,\r\n \"52.247.76.167/32\",\r\n \"52.247.76.187/32\",\r\n\ - \ \"52.247.76.199/32\",\r\n \"52.247.76.216/32\",\r\n \ - \ \"52.247.76.246/32\",\r\n \"52.247.76.252/32\",\r\n \ - \ \"52.247.77.7/32\",\r\n \"52.247.77.22/32\",\r\n \ - \ \"52.247.77.26/32\",\r\n \"52.250.39.158/32\",\r\n \"\ - 52.250.39.236/32\",\r\n \"52.250.39.246/32\",\r\n \"52.250.39.250/32\"\ - ,\r\n \"52.250.72.145/32\",\r\n \"52.250.73.36/32\",\r\n\ - \ \"52.250.73.178/32\",\r\n \"52.250.73.204/32\",\r\n \ - \ \"52.250.74.3/32\",\r\n \"52.253.224.146/32\",\r\n \ - \ \"52.253.224.154/32\",\r\n \"102.37.80.0/27\",\r\n \ - \ \"102.37.80.32/29\",\r\n \"102.133.221.16/29\",\r\n \"\ - 102.133.221.32/27\",\r\n \"104.46.178.120/29\",\r\n \"104.46.178.160/27\"\ - ,\r\n \"191.233.15.16/29\",\r\n \"191.233.15.32/27\",\r\n\ - \ \"191.234.139.168/29\",\r\n \"191.234.142.0/27\",\r\n\ - \ \"2603:1020:1004:1::540/122\",\r\n \"2603:1020:1104:1::380/122\"\ - ,\r\n \"2603:1030:107::5c0/122\",\r\n \"2603:1040:d04:1::540/122\"\ - ,\r\n \"2603:1040:d04:2::80/121\",\r\n \"2603:1040:1104:1::380/121\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureEventGrid\"\ - ,\r\n \"id\": \"AzureEventGrid\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"2\",\r\n \"region\": \"\",\r\n \"state\"\ - : \"GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\n \ - \ \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n ],\r\n\ - \ \"systemService\": \"AzureEventGrid\",\r\n \"addressPrefixes\"\ - : [\r\n \"13.71.56.240/28\",\r\n \"13.71.57.0/28\",\r\n\ - \ \"13.73.248.128/25\",\r\n \"13.86.56.32/27\",\r\n \ - \ \"13.86.56.160/27\",\r\n \"13.88.73.16/28\",\r\n \ - \ \"13.88.73.32/27\",\r\n \"13.88.135.208/28\",\r\n \"13.91.193.0/28\"\ - ,\r\n \"20.36.121.0/25\",\r\n \"20.37.55.32/27\",\r\n \ - \ \"20.37.65.0/25\",\r\n \"20.37.82.224/27\",\r\n \ - \ \"20.37.157.128/25\",\r\n \"20.37.196.0/25\",\r\n \"\ - 20.37.225.0/25\",\r\n \"20.38.87.0/25\",\r\n \"20.38.137.0/25\"\ - ,\r\n \"20.39.11.128/25\",\r\n \"20.39.20.16/28\",\r\n \ - \ \"20.39.80.112/28\",\r\n \"20.39.80.128/28\",\r\n \ - \ \"20.39.99.64/28\",\r\n \"20.39.99.240/28\",\r\n \"\ - 20.40.152.128/27\",\r\n \"20.40.175.48/28\",\r\n \"20.40.175.64/28\"\ - ,\r\n \"20.41.66.0/25\",\r\n \"20.41.136.240/28\",\r\n \ - \ \"20.41.195.0/25\",\r\n \"20.42.7.0/25\",\r\n \ - \ \"20.42.228.0/25\",\r\n \"20.43.42.128/25\",\r\n \"20.43.66.128/25\"\ - ,\r\n \"20.43.131.128/25\",\r\n \"20.43.165.144/28\",\r\n\ - \ \"20.43.172.128/27\",\r\n \"20.44.39.176/28\",\r\n \ - \ \"20.44.39.192/28\",\r\n \"20.44.168.64/28\",\r\n \ - \ \"20.44.205.112/28\",\r\n \"20.45.113.0/25\",\r\n \"\ - 20.45.195.0/25\",\r\n \"20.46.152.112/28\",\r\n \"20.46.152.128/28\"\ - ,\r\n \"20.49.96.0/25\",\r\n \"20.72.17.128/25\",\r\n \ - \ \"20.150.164.0/25\",\r\n \"20.189.108.128/25\",\r\n \ - \ \"20.189.115.80/28\",\r\n \"20.189.123.80/28\",\r\n \ - \ \"20.189.125.32/27\",\r\n \"20.191.59.128/28\",\r\n \ - \ \"20.191.59.176/28\",\r\n \"20.192.164.0/25\",\r\n \"\ - 20.192.228.0/25\",\r\n \"20.193.34.0/28\",\r\n \"20.193.34.32/28\"\ - ,\r\n \"40.64.128.0/25\",\r\n \"40.67.49.0/25\",\r\n \ - \ \"40.74.31.128/25\",\r\n \"40.74.106.96/27\",\r\n \ - \ \"40.80.58.0/25\",\r\n \"40.80.170.0/25\",\r\n \"40.80.190.0/25\"\ - ,\r\n \"40.80.236.192/27\",\r\n \"40.81.93.240/28\",\r\n\ - \ \"40.81.95.128/28\",\r\n \"40.82.254.128/25\",\r\n \ - \ \"40.89.18.0/25\",\r\n \"40.89.240.144/28\",\r\n \ - \ \"40.114.160.176/28\",\r\n \"40.114.160.192/28\",\r\n \ - \ \"40.114.169.0/28\",\r\n \"40.127.155.192/28\",\r\n \"\ - 40.127.251.144/28\",\r\n \"51.12.47.128/25\",\r\n \"51.12.199.0/25\"\ - ,\r\n \"51.104.27.128/25\",\r\n \"51.105.81.0/25\",\r\n\ - \ \"51.105.89.0/25\",\r\n \"51.107.4.128/27\",\r\n \ - \ \"51.107.49.0/25\",\r\n \"51.107.99.32/27\",\r\n \"\ - 51.107.145.0/25\",\r\n \"51.116.3.32/27\",\r\n \"51.116.100.208/28\"\ - ,\r\n \"51.116.100.224/28\",\r\n \"51.120.4.0/27\",\r\n\ - \ \"51.120.41.0/25\",\r\n \"51.120.131.64/27\",\r\n \ - \ \"51.120.225.0/25\",\r\n \"51.132.161.160/28\",\r\n \ - \ \"51.132.170.64/28\",\r\n \"51.137.16.224/28\",\r\n \ - \ \"51.137.142.32/28\",\r\n \"51.137.162.0/25\",\r\n \"\ - 51.143.193.0/25\",\r\n \"52.136.49.0/25\",\r\n \"52.139.9.80/28\"\ - ,\r\n \"52.139.11.16/28\",\r\n \"52.139.85.16/28\",\r\n\ - \ \"52.139.85.32/28\",\r\n \"52.140.106.0/25\",\r\n \ - \ \"52.142.152.144/28\",\r\n \"52.149.23.160/27\",\r\n \ - \ \"52.149.48.80/28\",\r\n \"52.149.48.96/27\",\r\n \ - \ \"52.149.248.0/28\",\r\n \"52.149.248.64/27\",\r\n \"\ - 52.149.248.96/28\",\r\n \"52.150.140.0/25\",\r\n \"52.154.57.48/28\"\ - ,\r\n \"52.154.57.80/28\",\r\n \"52.154.68.16/28\",\r\n\ - \ \"52.154.68.32/28\",\r\n \"52.156.103.192/28\",\r\n \ - \ \"52.159.49.144/28\",\r\n \"52.159.51.160/28\",\r\n \ - \ \"52.159.53.64/28\",\r\n \"52.159.53.112/28\",\r\n \ - \ \"52.160.136.16/28\",\r\n \"52.160.136.32/28\",\r\n \ - \ \"52.161.186.128/28\",\r\n \"52.161.186.208/28\",\r\n \ - \ \"52.167.21.160/27\",\r\n \"52.167.21.208/28\",\r\n \"\ - 52.167.21.224/28\",\r\n \"52.170.171.192/28\",\r\n \"52.170.171.240/28\"\ - ,\r\n \"52.177.38.160/27\",\r\n \"52.185.176.112/28\",\r\ - \n \"52.185.212.176/28\",\r\n \"52.185.212.192/28\",\r\n\ - \ \"52.186.36.16/28\",\r\n \"52.228.83.0/25\",\r\n \ - \ \"52.231.112.192/28\",\r\n \"52.231.112.224/28\",\r\n \ - \ \"52.250.28.176/28\",\r\n \"52.250.32.160/28\",\r\n \ - \ \"52.252.213.192/28\",\r\n \"52.255.80.16/28\",\r\n \ - \ \"52.255.82.160/28\",\r\n \"102.133.0.240/28\",\r\n \"\ - 102.133.1.0/28\",\r\n \"102.133.57.0/25\",\r\n \"102.133.135.16/28\"\ - ,\r\n \"102.133.135.32/28\",\r\n \"191.233.9.128/25\",\r\ - \n \"191.235.126.0/28\",\r\n \"191.235.126.144/28\",\r\n\ - \ \"191.235.227.0/25\",\r\n \"2603:1000:4::380/121\",\r\n\ - \ \"2603:1000:104:1::380/121\",\r\n \"2603:1010:6:1::380/121\"\ - ,\r\n \"2603:1010:101::380/121\",\r\n \"2603:1010:304::380/121\"\ - ,\r\n \"2603:1010:404::380/121\",\r\n \"2603:1020:5:1::380/121\"\ - ,\r\n \"2603:1020:206:1::380/121\",\r\n \"2603:1020:305::380/121\"\ - ,\r\n \"2603:1020:405::380/121\",\r\n \"2603:1020:605::380/121\"\ - ,\r\n \"2603:1020:705:1::380/121\",\r\n \"2603:1020:805:1::380/121\"\ - ,\r\n \"2603:1020:905::380/121\",\r\n \"2603:1020:a04:1::380/121\"\ - ,\r\n \"2603:1020:b04::380/121\",\r\n \"2603:1020:c04:1::380/121\"\ - ,\r\n \"2603:1020:d04::380/121\",\r\n \"2603:1020:e04:1::380/121\"\ - ,\r\n \"2603:1020:f04::380/121\",\r\n \"2603:1020:1004::380/121\"\ - ,\r\n \"2603:1020:1104::280/121\",\r\n \"2603:1030:f:1::380/121\"\ - ,\r\n \"2603:1030:10:1::380/121\",\r\n \"2603:1030:104:1::380/121\"\ - ,\r\n \"2603:1030:107::280/121\",\r\n \"2603:1030:210:1::380/121\"\ - ,\r\n \"2603:1030:40b:1::380/121\",\r\n \"2603:1030:40c:1::380/121\"\ - ,\r\n \"2603:1030:504:1::380/121\",\r\n \"2603:1030:608::380/121\"\ - ,\r\n \"2603:1030:807:1::380/121\",\r\n \"2603:1030:a07::380/121\"\ - ,\r\n \"2603:1030:b04::380/121\",\r\n \"2603:1030:c06:1::380/121\"\ - ,\r\n \"2603:1030:f05:1::380/121\",\r\n \"2603:1030:1005::380/121\"\ - ,\r\n \"2603:1040:5:1::380/121\",\r\n \"2603:1040:207::380/121\"\ - ,\r\n \"2603:1040:407:1::380/121\",\r\n \"2603:1040:606::380/121\"\ - ,\r\n \"2603:1040:806::380/121\",\r\n \"2603:1040:904:1::380/121\"\ - ,\r\n \"2603:1040:a06:1::380/121\",\r\n \"2603:1040:b04::380/121\"\ - ,\r\n \"2603:1040:c06::380/121\",\r\n \"2603:1040:d04::380/121\"\ - ,\r\n \"2603:1040:f05:1::380/121\",\r\n \"2603:1040:1104::280/121\"\ - ,\r\n \"2603:1050:6:1::380/121\",\r\n \"2603:1050:403::380/121\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureEventGrid.CanadaCentral\"\ - ,\r\n \"id\": \"AzureEventGrid.CanadaCentral\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"1\",\r\n \"region\": \"canadacentral\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"AzureEventGrid\",\r\n \"addressPrefixes\": [\r\n \"52.139.9.80/28\"\ - ,\r\n \"52.139.11.16/28\",\r\n \"52.228.83.0/25\",\r\n \ - \ \"2603:1030:f05:1::380/121\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"AzureEventGrid.EastUS2\",\r\n \"id\": \"\ - AzureEventGrid.EastUS2\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"1\",\r\n \"region\": \"eastus2\",\r\n \"state\": \"GA\"\ - ,\r\n \"networkFeatures\": [\r\n \"API\",\r\n \"\ - NSG\"\r\n ],\r\n \"systemService\": \"AzureEventGrid\",\r\n\ - \ \"addressPrefixes\": [\r\n \"20.49.96.0/25\",\r\n \ - \ \"52.167.21.160/27\",\r\n \"52.167.21.208/28\",\r\n \ - \ \"52.167.21.224/28\",\r\n \"52.177.38.160/27\",\r\n \"\ - 2603:1030:40c:1::380/121\"\r\n ]\r\n }\r\n },\r\n {\r\n\ - \ \"name\": \"AzureEventGrid.SoutheastAsia\",\r\n \"id\": \"AzureEventGrid.SoutheastAsia\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n \ - \ \"region\": \"southeastasia\",\r\n \"state\": \"GA\",\r\n \ - \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n\ - \ ],\r\n \"systemService\": \"AzureEventGrid\",\r\n \"\ - addressPrefixes\": [\r\n \"20.43.131.128/25\",\r\n \"20.43.165.144/28\"\ - ,\r\n \"20.43.172.128/27\",\r\n \"20.44.205.112/28\",\r\n\ - \ \"2603:1040:5:1::380/121\"\r\n ]\r\n }\r\n },\r\n\ - \ {\r\n \"name\": \"AzureEventGrid.SouthIndia\",\r\n \"id\":\ - \ \"AzureEventGrid.SouthIndia\",\r\n \"properties\": {\r\n \"\ - changeNumber\": \"2\",\r\n \"region\": \"southindia\",\r\n \"\ - state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\ - \n \"NSG\"\r\n ],\r\n \"systemService\": \"AzureEventGrid\"\ - ,\r\n \"addressPrefixes\": [\r\n \"20.41.195.0/25\",\r\n \ - \ \"20.44.39.176/28\",\r\n \"20.44.39.192/28\",\r\n \ - \ \"2603:1040:c06::380/121\"\r\n ]\r\n }\r\n },\r\n \ - \ {\r\n \"name\": \"AzureEventGrid.UAENorth\",\r\n \"id\": \"AzureEventGrid.UAENorth\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n \ - \ \"region\": \"uaenorth\",\r\n \"state\": \"GA\",\r\n \"\ - networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n \ - \ ],\r\n \"systemService\": \"AzureEventGrid\",\r\n \"addressPrefixes\"\ - : [\r\n \"20.38.137.0/25\",\r\n \"20.46.152.112/28\",\r\n\ - \ \"20.46.152.128/28\",\r\n \"2603:1040:904:1::380/121\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureEventGrid.UKSouth\"\ - ,\r\n \"id\": \"AzureEventGrid.UKSouth\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"1\",\r\n \"region\": \"uksouth\",\r\n\ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"AzureEventGrid\",\r\n \"addressPrefixes\": [\r\n \"51.104.27.128/25\"\ - ,\r\n \"51.132.161.160/28\",\r\n \"51.132.170.64/28\",\r\ - \n \"2603:1020:705:1::380/121\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"AzureEventGrid.UKSouth2\",\r\n \"id\": \"\ - AzureEventGrid.UKSouth2\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"2\",\r\n \"region\": \"uksouth2\",\r\n \"state\": \"GA\"\ - ,\r\n \"networkFeatures\": [\r\n \"API\",\r\n \"\ - NSG\"\r\n ],\r\n \"systemService\": \"AzureEventGrid\",\r\n\ - \ \"addressPrefixes\": [\r\n \"51.143.193.0/25\",\r\n \ - \ \"2603:1020:405::380/121\"\r\n ]\r\n }\r\n },\r\n \ - \ {\r\n \"name\": \"AzureEventGrid.WestUS2\",\r\n \"id\": \"AzureEventGrid.WestUS2\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n \ - \ \"region\": \"westus2\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"\ - systemService\": \"AzureEventGrid\",\r\n \"addressPrefixes\": [\r\n\ - \ \"40.64.128.0/25\",\r\n \"52.149.23.160/27\",\r\n \ - \ \"52.149.48.80/28\",\r\n \"52.149.48.96/27\",\r\n \ - \ \"52.156.103.192/28\",\r\n \"52.250.28.176/28\",\r\n \ - \ \"52.250.32.160/28\",\r\n \"2603:1030:c06:1::380/121\"\r\n \ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureFrontDoor.Backend\"\ - ,\r\n \"id\": \"AzureFrontDoor.Backend\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"2\",\r\n \"region\": \"\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"API\"\ - ,\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n \ - \ ],\r\n \"systemService\": \"\",\r\n \"addressPrefixes\"\ - : [\r\n \"13.73.248.16/29\",\r\n \"20.36.120.104/29\",\r\ - \n \"20.37.64.104/29\",\r\n \"20.37.156.120/29\",\r\n \ - \ \"20.37.195.0/29\",\r\n \"20.37.224.104/29\",\r\n \ - \ \"20.38.84.72/29\",\r\n \"20.38.136.104/29\",\r\n \"\ - 20.39.11.8/29\",\r\n \"20.41.4.88/29\",\r\n \"20.41.64.120/29\"\ - ,\r\n \"20.41.192.104/29\",\r\n \"20.42.4.120/29\",\r\n\ - \ \"20.42.129.152/29\",\r\n \"20.42.224.104/29\",\r\n \ - \ \"20.43.41.136/29\",\r\n \"20.43.65.128/29\",\r\n \ - \ \"20.43.130.80/29\",\r\n \"20.45.112.104/29\",\r\n \ - \ \"20.45.192.104/29\",\r\n \"20.72.18.248/29\",\r\n \"\ - 20.150.160.96/29\",\r\n \"20.189.106.112/29\",\r\n \"20.192.161.104/29\"\ - ,\r\n \"20.192.225.48/29\",\r\n \"40.67.48.104/29\",\r\n\ - \ \"40.74.30.72/29\",\r\n \"40.80.56.104/29\",\r\n \ - \ \"40.80.168.104/29\",\r\n \"40.80.184.120/29\",\r\n \ - \ \"40.82.248.248/29\",\r\n \"40.89.16.104/29\",\r\n \"\ - 51.12.41.8/29\",\r\n \"51.12.193.8/29\",\r\n \"51.104.25.128/29\"\ - ,\r\n \"51.105.80.104/29\",\r\n \"51.105.88.104/29\",\r\n\ - \ \"51.107.48.104/29\",\r\n \"51.107.144.104/29\",\r\n \ - \ \"51.120.40.104/29\",\r\n \"51.120.224.104/29\",\r\n \ - \ \"51.137.160.112/29\",\r\n \"51.143.192.104/29\",\r\n \ - \ \"52.136.48.104/29\",\r\n \"52.140.104.104/29\",\r\n \ - \ \"52.150.136.120/29\",\r\n \"52.228.80.120/29\",\r\n \ - \ \"102.133.56.88/29\",\r\n \"102.133.216.88/29\",\r\n \ - \ \"147.243.0.0/16\",\r\n \"191.233.9.120/29\",\r\n \ - \ \"191.235.225.128/29\",\r\n \"2603:1000:4::600/123\",\r\n \ - \ \"2603:1000:104::e0/123\",\r\n \"2603:1000:104::300/123\",\r\ - \n \"2603:1000:104:1::5c0/123\",\r\n \"2603:1000:104:1::7e0/123\"\ - ,\r\n \"2603:1010:6:1::5c0/123\",\r\n \"2603:1010:6:1::7e0/123\"\ - ,\r\n \"2603:1010:101::600/123\",\r\n \"2603:1010:304::600/123\"\ - ,\r\n \"2603:1010:404::600/123\",\r\n \"2603:1020:5:1::5c0/123\"\ - ,\r\n \"2603:1020:5:1::7e0/123\",\r\n \"2603:1020:206:1::5c0/123\"\ - ,\r\n \"2603:1020:206:1::7e0/123\",\r\n \"2603:1020:305::600/123\"\ - ,\r\n \"2603:1020:405::600/123\",\r\n \"2603:1020:605::600/123\"\ - ,\r\n \"2603:1020:705:1::5c0/123\",\r\n \"2603:1020:705:1::7e0/123\"\ - ,\r\n \"2603:1020:805:1::5c0/123\",\r\n \"2603:1020:805:1::7e0/123\"\ - ,\r\n \"2603:1020:905::600/123\",\r\n \"2603:1020:a04:1::5c0/123\"\ - ,\r\n \"2603:1020:a04:1::7e0/123\",\r\n \"2603:1020:b04::600/123\"\ - ,\r\n \"2603:1020:c04:1::5c0/123\",\r\n \"2603:1020:c04:1::7e0/123\"\ - ,\r\n \"2603:1020:d04::600/123\",\r\n \"2603:1020:e04:1::5c0/123\"\ - ,\r\n \"2603:1020:e04:1::7e0/123\",\r\n \"2603:1020:f04::600/123\"\ - ,\r\n \"2603:1020:1004::5c0/123\",\r\n \"2603:1020:1004::7e0/123\"\ - ,\r\n \"2603:1020:1104::680/123\",\r\n \"2603:1030:f:1::600/123\"\ - ,\r\n \"2603:1030:10:1::5c0/123\",\r\n \"2603:1030:10:1::7e0/123\"\ - ,\r\n \"2603:1030:104:1::5c0/123\",\r\n \"2603:1030:104:1::7e0/123\"\ - ,\r\n \"2603:1030:107::6a0/123\",\r\n \"2603:1030:210:1::5c0/123\"\ - ,\r\n \"2603:1030:210:1::7e0/123\",\r\n \"2603:1030:40b:1::5c0/123\"\ - ,\r\n \"2603:1030:40c:1::5c0/123\",\r\n \"2603:1030:40c:1::7e0/123\"\ - ,\r\n \"2603:1030:504:1::5c0/123\",\r\n \"2603:1030:504:1::7e0/123\"\ - ,\r\n \"2603:1030:608::600/123\",\r\n \"2603:1030:807:1::5c0/123\"\ - ,\r\n \"2603:1030:807:1::7e0/123\",\r\n \"2603:1030:a07::600/123\"\ - ,\r\n \"2603:1030:b04::600/123\",\r\n \"2603:1030:c06:1::5c0/123\"\ - ,\r\n \"2603:1030:f05:1::5c0/123\",\r\n \"2603:1030:f05:1::7e0/123\"\ - ,\r\n \"2603:1030:1005::600/123\",\r\n \"2603:1040:5::e0/123\"\ - ,\r\n \"2603:1040:5:1::5c0/123\",\r\n \"2603:1040:5:1::7e0/123\"\ - ,\r\n \"2603:1040:207::600/123\",\r\n \"2603:1040:407:1::5c0/123\"\ - ,\r\n \"2603:1040:407:1::7e0/123\",\r\n \"2603:1040:606::600/123\"\ - ,\r\n \"2603:1040:806::600/123\",\r\n \"2603:1040:904:1::5c0/123\"\ - ,\r\n \"2603:1040:904:1::7e0/123\",\r\n \"2603:1040:a06::e0/123\"\ - ,\r\n \"2603:1040:a06:1::5c0/123\",\r\n \"2603:1040:a06:1::7e0/123\"\ - ,\r\n \"2603:1040:b04::600/123\",\r\n \"2603:1040:c06::600/123\"\ - ,\r\n \"2603:1040:d04::5c0/123\",\r\n \"2603:1040:d04::7e0/123\"\ - ,\r\n \"2603:1040:f05:1::5c0/123\",\r\n \"2603:1040:f05:1::7e0/123\"\ - ,\r\n \"2603:1040:1104::680/123\",\r\n \"2603:1050:6:1::5c0/123\"\ - ,\r\n \"2603:1050:6:1::7e0/123\",\r\n \"2603:1050:403::5c0/123\"\ - ,\r\n \"2a01:111:2050::/44\"\r\n ]\r\n }\r\n },\r\n\ - \ {\r\n \"name\": \"AzureFrontDoor.FirstParty\",\r\n \"id\":\ - \ \"AzureFrontDoor.FirstParty\",\r\n \"properties\": {\r\n \"\ - changeNumber\": \"1\",\r\n \"region\": \"\",\r\n \"state\":\ - \ \"GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\n \ - \ \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n ],\r\n\ - \ \"systemService\": \"AzureFrontDoor\",\r\n \"addressPrefixes\"\ - : [\r\n \"13.107.3.0/24\",\r\n \"13.107.4.0/22\",\r\n \ - \ \"13.107.9.0/24\",\r\n \"13.107.12.0/23\",\r\n \ - \ \"13.107.15.0/24\",\r\n \"13.107.16.0/24\",\r\n \"13.107.18.0/23\"\ - ,\r\n \"13.107.21.0/24\",\r\n \"13.107.22.0/24\",\r\n \ - \ \"13.107.37.0/24\",\r\n \"13.107.38.0/23\",\r\n \ - \ \"13.107.40.0/24\",\r\n \"13.107.42.0/23\",\r\n \"13.107.48.0/24\"\ - ,\r\n \"13.107.50.0/24\",\r\n \"13.107.52.0/24\",\r\n \ - \ \"13.107.54.0/24\",\r\n \"13.107.56.0/24\",\r\n \ - \ \"13.107.64.0/18\",\r\n \"13.107.128.0/19\",\r\n \"13.107.245.0/24\"\ - ,\r\n \"13.107.254.0/23\",\r\n \"131.253.3.0/24\",\r\n \ - \ \"131.253.21.0/24\",\r\n \"131.253.33.0/24\",\r\n \ - \ \"150.171.32.0/19\",\r\n \"202.89.233.96/28\",\r\n \ - \ \"204.79.197.0/24\",\r\n \"2620:1ec:4::/46\",\r\n \"\ - 2620:1ec:a::/47\",\r\n \"2620:1ec:c::/47\",\r\n \"2620:1ec:12::/47\"\ - ,\r\n \"2620:1ec:21::/48\",\r\n \"2620:1ec:22::/48\",\r\n\ - \ \"2620:1ec:26::/63\",\r\n \"2620:1ec:26:2::/64\",\r\n\ - \ \"2620:1ec:28::/48\",\r\n \"2620:1ec:34::/48\",\r\n \ - \ \"2620:1ec:39::/48\",\r\n \"2620:1ec:3e::/47\",\r\n \ - \ \"2620:1ec:42::/47\",\r\n \"2620:1ec:44::/47\",\r\n \ - \ \"2620:1ec:8f0::/44\",\r\n \"2620:1ec:900::/44\",\r\n \ - \ \"2620:1ec:a92::/48\",\r\n \"2620:1ec:c11::/48\",\r\n \ - \ \"2a01:111:2003::/48\",\r\n \"2a01:111:202c::/46\"\r\n \ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureFrontDoor.Frontend\"\ - ,\r\n \"id\": \"AzureFrontDoor.Frontend\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"2\",\r\n \"region\": \"\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"API\"\ - ,\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n \ - \ ],\r\n \"systemService\": \"\",\r\n \"addressPrefixes\"\ - : [\r\n \"13.73.248.8/29\",\r\n \"13.107.208.0/24\",\r\n\ - \ \"13.107.213.0/24\",\r\n \"13.107.219.0/24\",\r\n \ - \ \"13.107.224.0/24\",\r\n \"13.107.246.0/24\",\r\n \ - \ \"13.107.253.0/24\",\r\n \"20.36.120.96/29\",\r\n \"\ - 20.37.64.96/29\",\r\n \"20.37.156.112/29\",\r\n \"20.37.192.88/29\"\ - ,\r\n \"20.37.224.96/29\",\r\n \"20.38.84.64/29\",\r\n \ - \ \"20.38.136.96/29\",\r\n \"20.39.11.0/29\",\r\n \ - \ \"20.41.4.80/29\",\r\n \"20.41.64.112/29\",\r\n \"20.41.192.96/29\"\ - ,\r\n \"20.42.4.112/29\",\r\n \"20.42.129.144/29\",\r\n\ - \ \"20.42.224.96/29\",\r\n \"20.43.41.128/29\",\r\n \ - \ \"20.43.64.88/29\",\r\n \"20.43.128.104/29\",\r\n \ - \ \"20.45.112.96/29\",\r\n \"20.45.192.96/29\",\r\n \"\ - 20.72.18.240/29\",\r\n \"20.150.160.72/29\",\r\n \"20.189.106.72/29\"\ - ,\r\n \"20.192.161.96/29\",\r\n \"20.192.225.40/29\",\r\n\ - \ \"40.67.48.96/29\",\r\n \"40.74.30.64/29\",\r\n \ - \ \"40.80.56.96/29\",\r\n \"40.80.168.96/29\",\r\n \"\ - 40.80.184.112/29\",\r\n \"40.82.248.72/29\",\r\n \"40.89.16.96/29\"\ - ,\r\n \"51.12.41.0/29\",\r\n \"51.12.193.0/29\",\r\n \ - \ \"51.104.24.88/29\",\r\n \"51.105.80.96/29\",\r\n \ - \ \"51.105.88.96/29\",\r\n \"51.107.48.96/29\",\r\n \"\ - 51.107.144.96/29\",\r\n \"51.120.40.96/29\",\r\n \"51.120.224.96/29\"\ - ,\r\n \"51.137.160.88/29\",\r\n \"51.143.192.96/29\",\r\n\ - \ \"52.136.48.96/29\",\r\n \"52.140.104.96/29\",\r\n \ - \ \"52.150.136.112/29\",\r\n \"52.228.80.112/29\",\r\n \ - \ \"102.133.56.80/29\",\r\n \"102.133.216.80/29\",\r\n \ - \ \"191.233.9.112/29\",\r\n \"191.235.224.88/29\",\r\n \ - \ \"2603:1000:4::5e0/123\",\r\n \"2603:1000:104::c0/123\",\r\n\ - \ \"2603:1000:104::160/123\",\r\n \"2603:1000:104:1::5a0/123\"\ - ,\r\n \"2603:1000:104:1::7c0/123\",\r\n \"2603:1010:6:1::5a0/123\"\ - ,\r\n \"2603:1010:6:1::7c0/123\",\r\n \"2603:1010:101::5e0/123\"\ - ,\r\n \"2603:1010:304::5e0/123\",\r\n \"2603:1010:404::5e0/123\"\ - ,\r\n \"2603:1020:5:1::5a0/123\",\r\n \"2603:1020:5:1::7c0/123\"\ - ,\r\n \"2603:1020:206:1::5a0/123\",\r\n \"2603:1020:206:1::7c0/123\"\ - ,\r\n \"2603:1020:305::5e0/123\",\r\n \"2603:1020:405::5e0/123\"\ - ,\r\n \"2603:1020:605::5e0/123\",\r\n \"2603:1020:705:1::5a0/123\"\ - ,\r\n \"2603:1020:705:1::7c0/123\",\r\n \"2603:1020:805:1::5a0/123\"\ - ,\r\n \"2603:1020:805:1::7c0/123\",\r\n \"2603:1020:905::5e0/123\"\ - ,\r\n \"2603:1020:a04:1::5a0/123\",\r\n \"2603:1020:a04:1::7c0/123\"\ - ,\r\n \"2603:1020:b04::5e0/123\",\r\n \"2603:1020:c04:1::5a0/123\"\ - ,\r\n \"2603:1020:c04:1::7c0/123\",\r\n \"2603:1020:d04::5e0/123\"\ - ,\r\n \"2603:1020:e04:1::5a0/123\",\r\n \"2603:1020:e04:1::7c0/123\"\ - ,\r\n \"2603:1020:f04::5e0/123\",\r\n \"2603:1020:1004::5a0/123\"\ - ,\r\n \"2603:1020:1004::7c0/123\",\r\n \"2603:1020:1104::5e0/123\"\ - ,\r\n \"2603:1030:f:1::5e0/123\",\r\n \"2603:1030:10:1::5a0/123\"\ - ,\r\n \"2603:1030:10:1::7c0/123\",\r\n \"2603:1030:104:1::5a0/123\"\ - ,\r\n \"2603:1030:104:1::7c0/123\",\r\n \"2603:1030:107::680/123\"\ - ,\r\n \"2603:1030:210:1::5a0/123\",\r\n \"2603:1030:210:1::7c0/123\"\ - ,\r\n \"2603:1030:40b:1::5a0/123\",\r\n \"2603:1030:40c:1::5a0/123\"\ - ,\r\n \"2603:1030:40c:1::7c0/123\",\r\n \"2603:1030:504:1::5a0/123\"\ - ,\r\n \"2603:1030:504:1::7c0/123\",\r\n \"2603:1030:608::5e0/123\"\ - ,\r\n \"2603:1030:807:1::5a0/123\",\r\n \"2603:1030:807:1::7c0/123\"\ - ,\r\n \"2603:1030:a07::5e0/123\",\r\n \"2603:1030:b04::5e0/123\"\ - ,\r\n \"2603:1030:c06:1::5a0/123\",\r\n \"2603:1030:f05:1::5a0/123\"\ - ,\r\n \"2603:1030:f05:1::7c0/123\",\r\n \"2603:1030:1005::5e0/123\"\ - ,\r\n \"2603:1040:5::c0/123\",\r\n \"2603:1040:5:1::5a0/123\"\ - ,\r\n \"2603:1040:5:1::7c0/123\",\r\n \"2603:1040:207::5e0/123\"\ - ,\r\n \"2603:1040:407:1::5a0/123\",\r\n \"2603:1040:407:1::7c0/123\"\ - ,\r\n \"2603:1040:606::5e0/123\",\r\n \"2603:1040:806::5e0/123\"\ - ,\r\n \"2603:1040:904:1::5a0/123\",\r\n \"2603:1040:904:1::7c0/123\"\ - ,\r\n \"2603:1040:a06::c0/123\",\r\n \"2603:1040:a06:1::5a0/123\"\ - ,\r\n \"2603:1040:a06:1::7c0/123\",\r\n \"2603:1040:b04::5e0/123\"\ - ,\r\n \"2603:1040:c06::5e0/123\",\r\n \"2603:1040:d04::5a0/123\"\ - ,\r\n \"2603:1040:d04::7c0/123\",\r\n \"2603:1040:f05:1::5a0/123\"\ - ,\r\n \"2603:1040:f05:1::7c0/123\",\r\n \"2603:1040:1104::5e0/123\"\ - ,\r\n \"2603:1050:6:1::5a0/123\",\r\n \"2603:1050:6:1::7c0/123\"\ - ,\r\n \"2603:1050:403::5a0/123\",\r\n \"2620:1ec:29::/48\"\ - ,\r\n \"2620:1ec:40::/47\",\r\n \"2620:1ec:bdf::/48\"\r\n\ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureInformationProtection\"\ - ,\r\n \"id\": \"AzureInformationProtection\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"1\",\r\n \"region\": \"\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"AzureInformationProtection\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.66.153.57/32\",\r\n\ - \ \"13.66.245.220/32\",\r\n \"13.66.251.171/32\",\r\n \ - \ \"13.67.114.221/32\",\r\n \"13.68.179.152/32\",\r\n \ - \ \"13.76.139.8/32\",\r\n \"13.76.244.119/32\",\r\n \ - \ \"13.77.166.40/32\",\r\n \"13.77.203.47/32\",\r\n \"\ - 13.78.130.67/32\",\r\n \"13.78.130.185/32\",\r\n \"13.78.178.191/32\"\ - ,\r\n \"13.79.189.239/32\",\r\n \"13.79.189.241/32\",\r\n\ - \ \"13.82.198.231/32\",\r\n \"13.83.91.144/32\",\r\n \ - \ \"13.92.58.123/32\",\r\n \"13.92.61.93/32\",\r\n \ - \ \"13.93.72.133/32\",\r\n \"13.93.75.214/32\",\r\n \"\ - 13.94.98.184/32\",\r\n \"13.94.116.226/32\",\r\n \"23.97.70.206/32\"\ - ,\r\n \"23.99.106.184/32\",\r\n \"23.99.114.156/32\",\r\n\ - \ \"23.99.251.107/32\",\r\n \"23.101.112.34/32\",\r\n \ - \ \"23.101.147.227/32\",\r\n \"23.101.163.169/32\",\r\n \ - \ \"40.69.191.65/32\",\r\n \"40.70.16.196/32\",\r\n \ - \ \"40.76.94.49/32\",\r\n \"40.83.177.47/32\",\r\n \"\ - 40.83.223.214/32\",\r\n \"40.87.2.166/32\",\r\n \"40.87.67.213/32\"\ - ,\r\n \"40.87.94.91/32\",\r\n \"40.114.2.72/32\",\r\n \ - \ \"40.117.180.9/32\",\r\n \"40.121.48.207/32\",\r\n \ - \ \"40.121.49.153/32\",\r\n \"40.121.90.82/32\",\r\n \ - \ \"40.127.160.102/32\",\r\n \"40.127.175.173/32\",\r\n \ - \ \"51.136.18.12/32\",\r\n \"51.141.184.35/32\",\r\n \"\ - 51.143.32.47/32\",\r\n \"51.143.88.135/32\",\r\n \"51.144.167.90/32\"\ - ,\r\n \"51.145.146.97/32\",\r\n \"52.162.33.18/32\",\r\n\ - \ \"52.162.37.146/32\",\r\n \"52.162.88.200/32\",\r\n \ - \ \"52.162.95.132/32\",\r\n \"52.162.208.48/32\",\r\n \ - \ \"52.163.61.51/32\",\r\n \"52.163.85.21/32\",\r\n \ - \ \"52.163.85.129/32\",\r\n \"52.163.87.92/32\",\r\n \"\ - 52.163.89.155/32\",\r\n \"52.163.89.160/32\",\r\n \"52.165.189.139/32\"\ - ,\r\n \"52.167.1.118/32\",\r\n \"52.167.225.247/32\",\r\n\ - \ \"52.167.226.2/32\",\r\n \"52.167.227.104/32\",\r\n \ - \ \"52.167.227.154/32\",\r\n \"52.173.21.111/32\",\r\n \ - \ \"52.173.89.54/32\",\r\n \"52.173.89.66/32\",\r\n \ - \ \"52.173.93.137/32\",\r\n \"52.176.44.178/32\",\r\n \ - \ \"52.178.145.186/32\",\r\n \"52.178.147.96/32\",\r\n \"\ - 52.179.136.129/32\",\r\n \"52.184.34.233/32\",\r\n \"52.184.35.49/32\"\ - ,\r\n \"52.232.110.114/32\",\r\n \"52.232.113.160/32\",\r\ - \n \"52.232.118.97/32\",\r\n \"52.232.119.81/32\",\r\n \ - \ \"52.237.141.83/32\",\r\n \"52.237.141.229/32\",\r\n \ - \ \"52.250.56.125/32\",\r\n \"65.52.36.85/32\",\r\n \ - \ \"65.52.55.108/32\",\r\n \"65.52.176.250/32\",\r\n \ - \ \"65.52.177.192/32\",\r\n \"65.52.184.44/32\",\r\n \"\ - 65.52.184.218/32\",\r\n \"65.52.236.123/32\",\r\n \"70.37.163.131/32\"\ - ,\r\n \"94.245.88.160/32\",\r\n \"104.40.16.135/32\",\r\n\ - \ \"104.40.30.29/32\",\r\n \"104.41.143.145/32\",\r\n \ - \ \"137.116.91.123/32\",\r\n \"137.117.47.75/32\",\r\n \ - \ \"138.91.121.248/32\",\r\n \"138.91.122.178/32\",\r\n \ - \ \"157.55.177.248/32\",\r\n \"157.55.185.205/32\",\r\n \ - \ \"157.56.8.93/32\",\r\n \"157.56.8.135/32\",\r\n \ - \ \"157.56.9.127/32\",\r\n \"168.61.46.212/32\",\r\n \"\ - 168.62.5.167/32\",\r\n \"168.62.8.139/32\",\r\n \"168.62.25.173/32\"\ - ,\r\n \"168.62.25.179/32\",\r\n \"168.62.48.148/32\",\r\n\ - \ \"168.62.49.18/32\",\r\n \"168.62.52.244/32\",\r\n \ - \ \"168.62.53.73/32\",\r\n \"168.62.53.132/32\",\r\n \ - \ \"168.62.54.75/32\",\r\n \"168.62.54.211/32\",\r\n \ - \ \"168.62.54.212/32\"\r\n ]\r\n }\r\n },\r\n {\r\n \ - \ \"name\": \"AzureIoTHub\",\r\n \"id\": \"AzureIoTHub\",\r\n \"\ - properties\": {\r\n \"changeNumber\": \"3\",\r\n \"region\"\ - : \"\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n\ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \ - \ \"FW\"\r\n ],\r\n \"systemService\": \"AzureIoTHub\",\r\ - \n \"addressPrefixes\": [\r\n \"13.66.142.96/27\",\r\n \ - \ \"13.67.10.224/27\",\r\n \"13.67.234.22/32\",\r\n \ - \ \"13.69.71.0/25\",\r\n \"13.69.109.0/25\",\r\n \"13.69.192.43/32\"\ - ,\r\n \"13.69.230.64/27\",\r\n \"13.70.74.192/27\",\r\n\ - \ \"13.70.182.204/32\",\r\n \"13.70.182.210/32\",\r\n \ - \ \"13.71.84.34/32\",\r\n \"13.71.113.127/32\",\r\n \ - \ \"13.71.150.19/32\",\r\n \"13.71.175.32/27\",\r\n \"\ - 13.71.196.224/27\",\r\n \"13.73.115.51/32\",\r\n \"13.73.244.0/27\"\ - ,\r\n \"13.73.252.128/25\",\r\n \"13.74.108.192/27\",\r\n\ - \ \"13.75.39.160/27\",\r\n \"13.76.83.155/32\",\r\n \ - \ \"13.76.217.46/32\",\r\n \"13.77.53.128/27\",\r\n \ - \ \"13.78.109.160/27\",\r\n \"13.78.129.154/32\",\r\n \"\ - 13.78.130.69/32\",\r\n \"13.79.172.43/32\",\r\n \"13.82.93.138/32\"\ - ,\r\n \"13.84.189.6/32\",\r\n \"13.85.68.113/32\",\r\n \ - \ \"13.86.221.0/25\",\r\n \"13.87.58.96/27\",\r\n \ - \ \"13.87.124.96/27\",\r\n \"13.89.174.160/27\",\r\n \"\ - 13.89.231.149/32\",\r\n \"13.94.40.72/32\",\r\n \"13.95.15.251/32\"\ - ,\r\n \"20.36.108.160/27\",\r\n \"20.36.117.64/27\",\r\n\ - \ \"20.36.123.32/27\",\r\n \"20.36.123.128/25\",\r\n \ - \ \"20.37.67.128/25\",\r\n \"20.37.68.0/27\",\r\n \ - \ \"20.37.76.160/27\",\r\n \"20.37.198.160/27\",\r\n \"\ - 20.37.199.0/25\",\r\n \"20.37.227.64/27\",\r\n \"20.37.227.128/25\"\ - ,\r\n \"20.38.128.128/27\",\r\n \"20.38.139.128/25\",\r\n\ - \ \"20.38.140.0/27\",\r\n \"20.38.147.192/27\",\r\n \ - \ \"20.39.14.32/27\",\r\n \"20.39.14.128/25\",\r\n \ - \ \"20.40.206.192/27\",\r\n \"20.40.207.0/25\",\r\n \"20.41.68.96/27\"\ - ,\r\n \"20.41.68.128/25\",\r\n \"20.41.197.64/27\",\r\n\ - \ \"20.41.197.128/25\",\r\n \"20.42.230.160/27\",\r\n \ - \ \"20.42.231.0/25\",\r\n \"20.43.44.160/27\",\r\n \ - \ \"20.43.45.0/25\",\r\n \"20.43.70.160/27\",\r\n \"20.43.71.0/25\"\ - ,\r\n \"20.43.121.64/27\",\r\n \"20.44.4.128/27\",\r\n \ - \ \"20.44.8.224/27\",\r\n \"20.44.17.96/27\",\r\n \ - \ \"20.44.29.0/27\",\r\n \"20.45.114.224/27\",\r\n \"\ - 20.45.115.0/25\",\r\n \"20.45.123.128/27\",\r\n \"20.45.198.32/27\"\ - ,\r\n \"20.45.198.128/25\",\r\n \"20.49.83.128/27\",\r\n\ - \ \"20.49.91.128/27\",\r\n \"20.49.99.96/27\",\r\n \ - \ \"20.49.99.128/25\",\r\n \"20.49.109.128/25\",\r\n \ - \ \"20.49.110.0/26\",\r\n \"20.49.110.128/25\",\r\n \"\ - 20.49.113.32/27\",\r\n \"20.49.113.128/25\",\r\n \"20.49.120.96/27\"\ - ,\r\n \"20.49.120.128/25\",\r\n \"20.49.121.0/25\",\r\n\ - \ \"20.50.65.128/25\",\r\n \"20.50.68.0/27\",\r\n \ - \ \"20.72.28.160/27\",\r\n \"20.150.165.192/27\",\r\n \ - \ \"20.150.166.0/25\",\r\n \"20.150.172.192/27\",\r\n \"\ - 20.150.179.224/27\",\r\n \"20.150.187.224/27\",\r\n \"20.187.195.0/25\"\ - ,\r\n \"20.188.0.51/32\",\r\n \"20.188.3.145/32\",\r\n \ - \ \"20.188.39.126/32\",\r\n \"20.189.109.192/27\",\r\n \ - \ \"20.192.99.224/27\",\r\n \"20.192.165.224/27\",\r\n \ - \ \"20.192.166.0/25\",\r\n \"20.192.230.32/27\",\r\n \ - \ \"20.192.230.128/25\",\r\n \"20.192.238.0/27\",\r\n \ - \ \"20.193.206.0/27\",\r\n \"20.194.67.96/27\",\r\n \"\ - 23.96.222.45/32\",\r\n \"23.96.223.89/32\",\r\n \"23.98.86.0/27\"\ - ,\r\n \"23.98.104.192/27\",\r\n \"23.98.106.0/25\",\r\n\ - \ \"23.99.109.81/32\",\r\n \"23.100.4.253/32\",\r\n \ - \ \"23.100.8.130/32\",\r\n \"23.100.105.192/32\",\r\n \ - \ \"23.101.29.228/32\",\r\n \"23.102.235.31/32\",\r\n \ - \ \"40.64.132.160/27\",\r\n \"40.64.134.0/25\",\r\n \"\ - 40.67.51.0/25\",\r\n \"40.67.51.128/27\",\r\n \"40.67.60.128/27\"\ - ,\r\n \"40.69.108.128/27\",\r\n \"40.70.148.128/27\",\r\n\ - \ \"40.71.14.128/25\",\r\n \"40.74.66.139/32\",\r\n \ - \ \"40.74.125.44/32\",\r\n \"40.74.149.0/27\",\r\n \ - \ \"40.75.35.96/27\",\r\n \"40.76.71.185/32\",\r\n \"40.77.23.107/32\"\ - ,\r\n \"40.78.22.17/32\",\r\n \"40.78.196.96/27\",\r\n \ - \ \"40.78.204.64/27\",\r\n \"40.78.229.128/25\",\r\n \ - \ \"40.78.238.0/27\",\r\n \"40.78.245.32/27\",\r\n \ - \ \"40.78.251.160/27\",\r\n \"40.79.114.144/32\",\r\n \"\ - 40.79.132.128/27\",\r\n \"40.79.139.32/27\",\r\n \"40.79.148.0/27\"\ - ,\r\n \"40.79.156.128/25\",\r\n \"40.79.163.32/27\",\r\n\ - \ \"40.79.171.128/27\",\r\n \"40.79.180.96/27\",\r\n \ - \ \"40.79.187.224/27\",\r\n \"40.79.195.192/27\",\r\n \ - \ \"40.80.51.128/27\",\r\n \"40.80.62.64/27\",\r\n \"\ - 40.80.62.128/25\",\r\n \"40.80.172.64/27\",\r\n \"40.80.172.128/25\"\ - ,\r\n \"40.80.176.64/27\",\r\n \"40.83.177.42/32\",\r\n\ - \ \"40.84.53.157/32\",\r\n \"40.87.138.172/32\",\r\n \ - \ \"40.87.143.97/32\",\r\n \"40.89.20.192/27\",\r\n \ - \ \"40.89.21.0/25\",\r\n \"40.112.221.188/32\",\r\n \"\ - 40.112.223.235/32\",\r\n \"40.113.153.50/32\",\r\n \"40.113.176.160/27\"\ - ,\r\n \"40.113.176.192/27\",\r\n \"40.113.177.0/24\",\r\n\ - \ \"40.114.53.146/32\",\r\n \"40.118.27.192/32\",\r\n \ - \ \"40.119.11.224/27\",\r\n \"40.120.75.160/27\",\r\n \ - \ \"40.127.132.17/32\",\r\n \"51.12.42.32/27\",\r\n \ - \ \"51.12.42.128/25\",\r\n \"51.12.100.64/27\",\r\n \"\ - 51.12.194.32/27\",\r\n \"51.12.194.128/25\",\r\n \"51.12.204.64/27\"\ - ,\r\n \"51.12.227.224/27\",\r\n \"51.12.235.224/27\",\r\n\ - \ \"51.104.30.0/25\",\r\n \"51.104.30.128/27\",\r\n \ - \ \"51.105.69.0/27\",\r\n \"51.105.75.192/27\",\r\n \ - \ \"51.105.91.128/25\",\r\n \"51.105.92.0/27\",\r\n \"\ - 51.107.51.64/27\",\r\n \"51.107.51.128/25\",\r\n \"51.107.60.96/27\"\ - ,\r\n \"51.107.147.64/27\",\r\n \"51.107.147.128/25\",\r\ - \n \"51.107.156.96/27\",\r\n \"51.116.49.224/27\",\r\n \ - \ \"51.116.50.0/25\",\r\n \"51.116.60.96/27\",\r\n \ - \ \"51.116.145.192/27\",\r\n \"51.116.146.0/25\",\r\n \ - \ \"51.116.158.0/27\",\r\n \"51.116.243.160/27\",\r\n \"\ - 51.116.251.128/27\",\r\n \"51.120.43.128/25\",\r\n \"51.120.44.0/27\"\ - ,\r\n \"51.120.100.96/27\",\r\n \"51.120.107.224/27\",\r\ - \n \"51.120.211.224/27\",\r\n \"51.120.227.128/25\",\r\n\ - \ \"51.120.228.0/27\",\r\n \"51.137.164.160/27\",\r\n \ - \ \"51.137.165.0/25\",\r\n \"51.140.84.251/32\",\r\n \ - \ \"51.140.126.10/32\",\r\n \"51.140.149.32/27\",\r\n \ - \ \"51.140.212.160/27\",\r\n \"51.140.226.207/32\",\r\n \ - \ \"51.140.240.234/32\",\r\n \"51.141.49.253/32\",\r\n \ - \ \"51.144.118.31/32\",\r\n \"52.136.51.128/25\",\r\n \"\ - 52.136.52.0/27\",\r\n \"52.136.132.236/32\",\r\n \"52.138.92.96/27\"\ - ,\r\n \"52.138.229.0/27\",\r\n \"52.140.108.160/27\",\r\n\ - \ \"52.140.109.0/25\",\r\n \"52.147.10.141/32\",\r\n \ - \ \"52.147.10.149/32\",\r\n \"52.150.152.96/27\",\r\n \ - \ \"52.150.153.128/25\",\r\n \"52.151.6.77/32\",\r\n \ - \ \"52.151.78.51/32\",\r\n \"52.158.236.252/32\",\r\n \"\ - 52.161.15.247/32\",\r\n \"52.162.111.64/27\",\r\n \"52.163.212.39/32\"\ - ,\r\n \"52.163.215.122/32\",\r\n \"52.167.107.192/27\",\r\ - \n \"52.167.155.89/32\",\r\n \"52.168.180.95/32\",\r\n \ - \ \"52.169.138.222/32\",\r\n \"52.172.203.144/32\",\r\n \ - \ \"52.175.221.106/32\",\r\n \"52.176.4.4/32\",\r\n \ - \ \"52.176.92.27/32\",\r\n \"52.177.196.50/32\",\r\n \ - \ \"52.178.147.144/32\",\r\n \"52.179.159.231/32\",\r\n \ - \ \"52.180.165.88/32\",\r\n \"52.180.165.248/32\",\r\n \ - \ \"52.180.177.125/32\",\r\n \"52.182.139.224/27\",\r\n \ - \ \"52.225.176.167/32\",\r\n \"52.225.177.25/32\",\r\n \"\ - 52.225.179.220/32\",\r\n \"52.225.180.26/32\",\r\n \"52.225.180.217/32\"\ - ,\r\n \"52.225.187.149/32\",\r\n \"52.228.85.224/27\",\r\ - \n \"52.228.86.0/25\",\r\n \"52.231.20.32/27\",\r\n \ - \ \"52.231.32.236/32\",\r\n \"52.231.148.128/27\",\r\n \ - \ \"52.231.205.15/32\",\r\n \"52.236.189.128/25\",\r\n \ - \ \"52.237.27.123/32\",\r\n \"52.242.31.77/32\",\r\n \ - \ \"52.246.155.192/27\",\r\n \"52.250.225.32/27\",\r\n \"\ - 65.52.252.160/27\",\r\n \"102.133.28.160/27\",\r\n \"102.133.59.0/25\"\ - ,\r\n \"102.133.59.128/27\",\r\n \"102.133.124.32/27\",\r\ - \n \"102.133.156.64/27\",\r\n \"102.133.218.192/27\",\r\n\ - \ \"102.133.219.0/25\",\r\n \"102.133.251.128/27\",\r\n\ - \ \"104.40.49.44/32\",\r\n \"104.41.34.180/32\",\r\n \ - \ \"104.43.252.98/32\",\r\n \"104.46.115.237/32\",\r\n \ - \ \"104.210.105.7/32\",\r\n \"104.211.18.153/32\",\r\n \ - \ \"104.211.210.195/32\",\r\n \"104.214.34.123/32\",\r\n \ - \ \"137.117.83.38/32\",\r\n \"157.55.253.43/32\",\r\n \ - \ \"168.61.54.255/32\",\r\n \"168.61.208.218/32\",\r\n \ - \ \"191.233.11.160/27\",\r\n \"191.233.14.0/25\",\r\n \ - \ \"191.233.54.0/27\",\r\n \"191.233.205.128/27\",\r\n \"\ - 191.234.136.128/25\",\r\n \"191.234.137.0/27\",\r\n \"191.234.147.224/27\"\ - ,\r\n \"191.234.155.224/27\",\r\n \"207.46.138.102/32\"\ - ,\r\n \"2603:1000:4:402::300/123\",\r\n \"2603:1000:104:402::300/123\"\ - ,\r\n \"2603:1000:104:802::240/123\",\r\n \"2603:1000:104:c02::240/123\"\ - ,\r\n \"2603:1010:6:402::300/123\",\r\n \"2603:1010:6:802::240/123\"\ - ,\r\n \"2603:1010:6:c02::240/123\",\r\n \"2603:1010:101:402::300/123\"\ - ,\r\n \"2603:1010:304:402::300/123\",\r\n \"2603:1010:404:402::300/123\"\ - ,\r\n \"2603:1020:5:402::300/123\",\r\n \"2603:1020:5:802::240/123\"\ - ,\r\n \"2603:1020:5:c02::240/123\",\r\n \"2603:1020:206:402::300/123\"\ - ,\r\n \"2603:1020:206:802::240/123\",\r\n \"2603:1020:206:c02::240/123\"\ - ,\r\n \"2603:1020:305:402::300/123\",\r\n \"2603:1020:405:402::300/123\"\ - ,\r\n \"2603:1020:605:402::300/123\",\r\n \"2603:1020:705:402::300/123\"\ - ,\r\n \"2603:1020:705:802::240/123\",\r\n \"2603:1020:705:c02::240/123\"\ - ,\r\n \"2603:1020:805:402::300/123\",\r\n \"2603:1020:805:802::240/123\"\ - ,\r\n \"2603:1020:805:c02::240/123\",\r\n \"2603:1020:905:402::300/123\"\ - ,\r\n \"2603:1020:a04:402::300/123\",\r\n \"2603:1020:a04:802::240/123\"\ - ,\r\n \"2603:1020:a04:c02::240/123\",\r\n \"2603:1020:b04:402::300/123\"\ - ,\r\n \"2603:1020:c04:402::300/123\",\r\n \"2603:1020:c04:802::240/123\"\ - ,\r\n \"2603:1020:c04:c02::240/123\",\r\n \"2603:1020:d04:402::300/123\"\ - ,\r\n \"2603:1020:e04:402::300/123\",\r\n \"2603:1020:e04:802::240/123\"\ - ,\r\n \"2603:1020:e04:c02::240/123\",\r\n \"2603:1020:f04:402::300/123\"\ - ,\r\n \"2603:1020:1004:400::480/123\",\r\n \"2603:1020:1004:800::100/123\"\ - ,\r\n \"2603:1020:1004:800::240/123\",\r\n \"2603:1020:1004:c02::2a0/123\"\ - ,\r\n \"2603:1020:1104:400::300/123\",\r\n \"2603:1030:f:400::b00/123\"\ - ,\r\n \"2603:1030:10:402::300/123\",\r\n \"2603:1030:10:802::240/123\"\ - ,\r\n \"2603:1030:10:c02::240/123\",\r\n \"2603:1030:104:402::300/123\"\ - ,\r\n \"2603:1030:107:400::280/123\",\r\n \"2603:1030:210:402::300/123\"\ - ,\r\n \"2603:1030:210:802::240/123\",\r\n \"2603:1030:210:c02::240/123\"\ - ,\r\n \"2603:1030:40b:400::b00/123\",\r\n \"2603:1030:40b:800::240/123\"\ - ,\r\n \"2603:1030:40b:c00::240/123\",\r\n \"2603:1030:40c:402::300/123\"\ - ,\r\n \"2603:1030:40c:802::240/123\",\r\n \"2603:1030:40c:c02::240/123\"\ - ,\r\n \"2603:1030:504:802::100/123\",\r\n \"2603:1030:504:c02::2a0/123\"\ - ,\r\n \"2603:1030:608:402::300/123\",\r\n \"2603:1030:807:402::300/123\"\ - ,\r\n \"2603:1030:807:802::240/123\",\r\n \"2603:1030:807:c02::240/123\"\ - ,\r\n \"2603:1030:a07:402::980/123\",\r\n \"2603:1030:b04:402::300/123\"\ - ,\r\n \"2603:1030:c06:400::b00/123\",\r\n \"2603:1030:c06:802::240/123\"\ - ,\r\n \"2603:1030:c06:c02::240/123\",\r\n \"2603:1030:f05:402::300/123\"\ - ,\r\n \"2603:1030:f05:802::240/123\",\r\n \"2603:1030:f05:c02::240/123\"\ - ,\r\n \"2603:1030:1005:402::300/123\",\r\n \"2603:1040:5:402::300/123\"\ - ,\r\n \"2603:1040:5:802::240/123\",\r\n \"2603:1040:5:c02::240/123\"\ - ,\r\n \"2603:1040:207:402::300/123\",\r\n \"2603:1040:407:402::300/123\"\ - ,\r\n \"2603:1040:407:802::240/123\",\r\n \"2603:1040:407:c02::240/123\"\ - ,\r\n \"2603:1040:606:402::300/123\",\r\n \"2603:1040:806:402::300/123\"\ - ,\r\n \"2603:1040:904:402::300/123\",\r\n \"2603:1040:904:802::240/123\"\ - ,\r\n \"2603:1040:904:c02::240/123\",\r\n \"2603:1040:a06:402::300/123\"\ - ,\r\n \"2603:1040:a06:802::240/123\",\r\n \"2603:1040:a06:c02::240/123\"\ - ,\r\n \"2603:1040:b04:402::300/123\",\r\n \"2603:1040:c06:402::300/123\"\ - ,\r\n \"2603:1040:d04:400::480/123\",\r\n \"2603:1040:d04:800::100/123\"\ - ,\r\n \"2603:1040:d04:800::240/123\",\r\n \"2603:1040:d04:c02::2a0/123\"\ - ,\r\n \"2603:1040:f05:402::300/123\",\r\n \"2603:1040:f05:802::240/123\"\ - ,\r\n \"2603:1040:f05:c02::240/123\",\r\n \"2603:1040:1104:400::300/123\"\ - ,\r\n \"2603:1050:6:402::300/123\",\r\n \"2603:1050:6:802::240/123\"\ - ,\r\n \"2603:1050:6:c02::240/123\",\r\n \"2603:1050:403:400::220/123\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureIoTHub.EastUS\"\ - ,\r\n \"id\": \"AzureIoTHub.EastUS\",\r\n \"properties\": {\r\n\ - \ \"changeNumber\": \"2\",\r\n \"region\": \"eastus\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\"\r\n ],\r\n \"systemService\": \"AzureIoTHub\",\r\n\ - \ \"addressPrefixes\": [\r\n \"13.82.93.138/32\",\r\n \ - \ \"20.49.109.128/25\",\r\n \"20.49.110.0/26\",\r\n \ - \ \"20.49.110.128/25\",\r\n \"40.71.14.128/25\",\r\n \"\ - 40.76.71.185/32\",\r\n \"40.78.229.128/25\",\r\n \"40.79.156.128/25\"\ - ,\r\n \"40.114.53.146/32\",\r\n \"52.168.180.95/32\",\r\n\ - \ \"104.211.18.153/32\",\r\n \"137.117.83.38/32\",\r\n \ - \ \"168.61.54.255/32\",\r\n \"2603:1030:210:402::300/123\"\ - ,\r\n \"2603:1030:210:802::240/123\",\r\n \"2603:1030:210:c02::240/123\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureIoTHub.EastUS2EUAP\"\ - ,\r\n \"id\": \"AzureIoTHub.EastUS2EUAP\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"2\",\r\n \"region\": \"eastus2euap\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\"\r\n ],\r\n \"systemService\": \"AzureIoTHub\"\ - ,\r\n \"addressPrefixes\": [\r\n \"20.39.14.32/27\",\r\n \ - \ \"20.39.14.128/25\",\r\n \"40.74.149.0/27\",\r\n \ - \ \"40.75.35.96/27\",\r\n \"40.79.114.144/32\",\r\n \"\ - 52.138.92.96/27\",\r\n \"52.225.176.167/32\",\r\n \"52.225.177.25/32\"\ - ,\r\n \"52.225.179.220/32\",\r\n \"52.225.180.26/32\",\r\ - \n \"52.225.180.217/32\",\r\n \"52.225.187.149/32\",\r\n\ - \ \"2603:1030:40b:400::b00/123\",\r\n \"2603:1030:40b:800::240/123\"\ - ,\r\n \"2603:1030:40b:c00::240/123\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"AzureIoTHub.NorwayEast\",\r\n \"\ - id\": \"AzureIoTHub.NorwayEast\",\r\n \"properties\": {\r\n \"\ - changeNumber\": \"2\",\r\n \"region\": \"norwaye\",\r\n \"state\"\ - : \"GA\",\r\n \"networkFeatures\": [\r\n \"API\"\r\n \ - \ ],\r\n \"systemService\": \"AzureIoTHub\",\r\n \"addressPrefixes\"\ - : [\r\n \"51.120.43.128/25\",\r\n \"51.120.44.0/27\",\r\n\ - \ \"51.120.100.96/27\",\r\n \"51.120.107.224/27\",\r\n \ - \ \"51.120.211.224/27\",\r\n \"2603:1020:e04:402::300/123\"\ - ,\r\n \"2603:1020:e04:802::240/123\",\r\n \"2603:1020:e04:c02::240/123\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureIoTHub.NorwayWest\"\ - ,\r\n \"id\": \"AzureIoTHub.NorwayWest\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"2\",\r\n \"region\": \"norwayw\",\r\n\ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\"\r\n ],\r\n \"systemService\": \"AzureIoTHub\",\r\n\ - \ \"addressPrefixes\": [\r\n \"51.120.227.128/25\",\r\n \ - \ \"51.120.228.0/27\",\r\n \"2603:1020:f04:402::300/123\"\r\ - \n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureIoTHub.SouthCentralUS\"\ - ,\r\n \"id\": \"AzureIoTHub.SouthCentralUS\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"southcentralus\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\"\r\n ],\r\n \"systemService\": \"AzureIoTHub\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.73.244.0/27\",\r\n \ - \ \"13.73.252.128/25\",\r\n \"13.84.189.6/32\",\r\n \ - \ \"13.85.68.113/32\",\r\n \"20.45.123.128/27\",\r\n \ - \ \"20.49.91.128/27\",\r\n \"40.119.11.224/27\",\r\n \"\ - 104.214.34.123/32\",\r\n \"2603:1030:807:402::300/123\",\r\n \ - \ \"2603:1030:807:802::240/123\",\r\n \"2603:1030:807:c02::240/123\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureIoTHub.SouthIndia\"\ - ,\r\n \"id\": \"AzureIoTHub.SouthIndia\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"2\",\r\n \"region\": \"southindia\",\r\ - \n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\"\r\n ],\r\n \"systemService\": \"AzureIoTHub\",\r\ - \n \"addressPrefixes\": [\r\n \"13.71.84.34/32\",\r\n \ - \ \"13.71.113.127/32\",\r\n \"20.41.197.64/27\",\r\n \ - \ \"20.41.197.128/25\",\r\n \"40.78.196.96/27\",\r\n \"\ - 104.211.210.195/32\",\r\n \"2603:1040:c06:402::300/123\"\r\n \ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureIoTHub.SwitzerlandWest\"\ - ,\r\n \"id\": \"AzureIoTHub.SwitzerlandWest\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"switzerlandw\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\"\r\n ],\r\n \"systemService\": \"AzureIoTHub\"\ - ,\r\n \"addressPrefixes\": [\r\n \"51.107.147.64/27\",\r\n\ - \ \"51.107.147.128/25\",\r\n \"51.107.156.96/27\",\r\n \ - \ \"2603:1020:b04:402::300/123\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"AzureIoTHub.UAENorth\",\r\n \"id\": \"AzureIoTHub.UAENorth\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \ - \ \"region\": \"uaenorth\",\r\n \"state\": \"GA\",\r\n \"\ - networkFeatures\": [\r\n \"API\"\r\n ],\r\n \"systemService\"\ - : \"AzureIoTHub\",\r\n \"addressPrefixes\": [\r\n \"20.38.139.128/25\"\ - ,\r\n \"20.38.140.0/27\",\r\n \"40.120.75.160/27\",\r\n\ - \ \"65.52.252.160/27\",\r\n \"2603:1040:904:402::300/123\"\ - ,\r\n \"2603:1040:904:802::240/123\",\r\n \"2603:1040:904:c02::240/123\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureIoTHub.WestIndia\"\ - ,\r\n \"id\": \"AzureIoTHub.WestIndia\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"2\",\r\n \"region\": \"westindia\",\r\ - \n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\"\r\n ],\r\n \"systemService\": \"AzureIoTHub\",\r\ - \n \"addressPrefixes\": [\r\n \"20.38.128.128/27\",\r\n \ - \ \"52.136.51.128/25\",\r\n \"52.136.52.0/27\",\r\n \ - \ \"2603:1040:806:402::300/123\"\r\n ]\r\n }\r\n },\r\n\ - \ {\r\n \"name\": \"AzureKeyVault\",\r\n \"id\": \"AzureKeyVault\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \ - \ \"region\": \"\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n\ - \ \"FW\",\r\n \"VSE\"\r\n ],\r\n \"systemService\"\ - : \"AzureKeyVault\",\r\n \"addressPrefixes\": [\r\n \"13.66.138.88/30\"\ - ,\r\n \"13.66.226.249/32\",\r\n \"13.66.230.241/32\",\r\n\ - \ \"13.67.8.104/30\",\r\n \"13.68.24.216/32\",\r\n \ - \ \"13.68.29.203/32\",\r\n \"13.68.104.240/32\",\r\n \ - \ \"13.69.64.72/30\",\r\n \"13.69.227.72/30\",\r\n \"13.70.72.24/30\"\ - ,\r\n \"13.70.138.129/32\",\r\n \"13.71.170.40/30\",\r\n\ - \ \"13.71.194.112/30\",\r\n \"13.72.250.239/32\",\r\n \ - \ \"13.74.10.39/32\",\r\n \"13.74.10.113/32\",\r\n \ - \ \"13.75.34.144/30\",\r\n \"13.77.50.64/30\",\r\n \"\ - 13.78.106.88/30\",\r\n \"13.80.247.19/32\",\r\n \"13.80.247.42/32\"\ - ,\r\n \"13.84.174.143/32\",\r\n \"13.87.34.51/32\",\r\n\ - \ \"13.87.39.0/32\",\r\n \"13.87.56.80/30\",\r\n \ - \ \"13.87.101.60/32\",\r\n \"13.87.101.111/32\",\r\n \"\ - 13.87.122.80/30\",\r\n \"13.89.61.248/32\",\r\n \"13.89.170.200/30\"\ - ,\r\n \"20.36.40.39/32\",\r\n \"20.36.40.42/32\",\r\n \ - \ \"20.36.72.34/32\",\r\n \"20.36.72.38/32\",\r\n \ - \ \"20.36.106.64/30\",\r\n \"20.36.114.16/30\",\r\n \"\ - 20.37.74.228/30\",\r\n \"20.38.149.196/30\",\r\n \"20.43.56.38/32\"\ - ,\r\n \"20.43.56.66/32\",\r\n \"20.44.2.0/30\",\r\n \ - \ \"20.45.123.240/30\",\r\n \"20.45.123.252/30\",\r\n \ - \ \"20.49.82.0/30\",\r\n \"20.49.90.0/30\",\r\n \"20.49.91.232/30\"\ - ,\r\n \"20.72.26.0/30\",\r\n \"20.150.170.0/30\",\r\n \ - \ \"20.150.181.28/30\",\r\n \"20.150.181.164/30\",\r\n \ - \ \"20.150.189.32/30\",\r\n \"20.185.217.251/32\",\r\n \ - \ \"20.185.218.1/32\",\r\n \"20.186.41.83/32\",\r\n \ - \ \"20.186.47.182/32\",\r\n \"20.188.2.148/32\",\r\n \"\ - 20.188.2.156/32\",\r\n \"20.188.40.44/32\",\r\n \"20.188.40.46/32\"\ - ,\r\n \"20.192.234.0/30\",\r\n \"20.193.202.0/30\",\r\n\ - \ \"20.194.66.0/30\",\r\n \"23.96.210.207/32\",\r\n \ - \ \"23.96.250.48/32\",\r\n \"23.97.50.43/32\",\r\n \ - \ \"23.97.120.25/32\",\r\n \"23.97.120.29/32\",\r\n \"23.97.120.39/32\"\ - ,\r\n \"23.97.120.57/32\",\r\n \"23.97.178.0/32\",\r\n \ - \ \"23.99.132.207/32\",\r\n \"23.100.57.24/32\",\r\n \ - \ \"23.100.58.149/32\",\r\n \"23.101.21.103/32\",\r\n \ - \ \"23.101.21.193/32\",\r\n \"23.101.23.190/32\",\r\n \ - \ \"23.101.23.192/32\",\r\n \"23.101.159.107/32\",\r\n \ - \ \"23.102.72.114/32\",\r\n \"23.102.75.18/32\",\r\n \"\ - 40.65.188.244/32\",\r\n \"40.65.189.219/32\",\r\n \"40.67.58.0/30\"\ - ,\r\n \"40.69.106.64/30\",\r\n \"40.70.146.72/30\",\r\n\ - \ \"40.70.186.91/32\",\r\n \"40.70.204.6/32\",\r\n \ - \ \"40.70.204.32/32\",\r\n \"40.71.10.200/30\",\r\n \ - \ \"40.74.100.48/30\",\r\n \"40.76.196.75/32\",\r\n \"40.76.212.37/32\"\ - ,\r\n \"40.78.194.64/30\",\r\n \"40.79.118.1/32\",\r\n \ - \ \"40.79.118.5/32\",\r\n \"40.79.130.40/30\",\r\n \ - \ \"40.79.163.156/30\",\r\n \"40.79.173.4/30\",\r\n \"\ - 40.79.178.64/30\",\r\n \"40.84.47.24/32\",\r\n \"40.85.185.208/32\"\ - ,\r\n \"40.85.229.9/32\",\r\n \"40.85.231.231/32\",\r\n\ - \ \"40.86.224.94/32\",\r\n \"40.86.231.180/32\",\r\n \ - \ \"40.87.69.184/32\",\r\n \"40.89.145.89/32\",\r\n \ - \ \"40.89.145.93/32\",\r\n \"40.89.180.10/32\",\r\n \"\ - 40.89.180.25/32\",\r\n \"40.91.193.78/32\",\r\n \"40.91.199.213/32\"\ - ,\r\n \"40.112.242.144/30\",\r\n \"40.117.157.122/32\",\r\ - \n \"40.120.74.0/30\",\r\n \"40.124.64.128/30\",\r\n \ - \ \"51.12.98.0/30\",\r\n \"51.12.202.0/30\",\r\n \"\ - 51.104.192.129/32\",\r\n \"51.104.192.138/32\",\r\n \"51.105.4.67/32\"\ - ,\r\n \"51.105.4.75/32\",\r\n \"51.107.58.0/30\",\r\n \ - \ \"51.107.154.0/30\",\r\n \"51.116.58.0/30\",\r\n \ - \ \"51.116.154.64/30\",\r\n \"51.116.243.220/30\",\r\n \ - \ \"51.116.251.188/30\",\r\n \"51.120.98.8/30\",\r\n \"\ - 51.120.218.0/30\",\r\n \"51.140.146.56/30\",\r\n \"51.140.157.60/32\"\ - ,\r\n \"51.140.184.38/31\",\r\n \"51.140.210.80/30\",\r\n\ - \ \"51.141.8.42/31\",\r\n \"51.143.6.21/32\",\r\n \ - \ \"52.136.136.15/32\",\r\n \"52.136.136.16/32\",\r\n \ - \ \"52.138.73.5/32\",\r\n \"52.138.73.51/32\",\r\n \"52.138.160.103/32\"\ - ,\r\n \"52.138.160.105/32\",\r\n \"52.148.84.142/32\",\r\ - \n \"52.148.84.145/32\",\r\n \"52.151.41.92/32\",\r\n \ - \ \"52.151.47.4/32\",\r\n \"52.151.75.86/32\",\r\n \ - \ \"52.154.176.47/32\",\r\n \"52.154.177.179/32\",\r\n \ - \ \"52.157.162.137/32\",\r\n \"52.157.162.147/32\",\r\n \ - \ \"52.158.236.253/32\",\r\n \"52.158.239.35/32\",\r\n \ - \ \"52.161.25.42/32\",\r\n \"52.161.31.136/32\",\r\n \"\ - 52.161.31.139/32\",\r\n \"52.162.106.144/30\",\r\n \"52.162.255.194/32\"\ - ,\r\n \"52.165.21.159/32\",\r\n \"52.165.208.47/32\",\r\n\ - \ \"52.167.143.179/32\",\r\n \"52.167.228.54/32\",\r\n \ - \ \"52.168.109.101/32\",\r\n \"52.169.232.147/32\",\r\n \ - \ \"52.173.90.250/32\",\r\n \"52.173.199.154/32\",\r\n \ - \ \"52.173.216.55/32\",\r\n \"52.175.236.86/32\",\r\n \ - \ \"52.176.48.58/32\",\r\n \"52.176.254.165/32\",\r\n \ - \ \"52.177.71.51/32\",\r\n \"52.180.176.121/32\",\r\n \ - \ \"52.180.176.122/32\",\r\n \"52.183.24.22/32\",\r\n \"\ - 52.183.80.133/32\",\r\n \"52.183.93.92/32\",\r\n \"52.183.94.166/32\"\ - ,\r\n \"52.184.155.181/32\",\r\n \"52.184.158.37/32\",\r\ - \n \"52.184.164.12/32\",\r\n \"52.187.161.13/32\",\r\n \ - \ \"52.187.163.139/32\",\r\n \"52.225.179.130/32\",\r\n \ - \ \"52.225.182.225/32\",\r\n \"52.225.188.225/32\",\r\n \ - \ \"52.225.191.36/32\",\r\n \"52.225.218.218/32\",\r\n \ - \ \"52.231.18.40/30\",\r\n \"52.231.32.65/32\",\r\n \ - \ \"52.231.32.66/32\",\r\n \"52.231.146.80/30\",\r\n \ - \ \"52.231.200.107/32\",\r\n \"52.231.200.108/32\",\r\n \ - \ \"52.237.253.194/32\",\r\n \"52.246.157.4/30\",\r\n \"\ - 52.247.193.69/32\",\r\n \"52.255.63.107/32\",\r\n \"52.255.152.252/32\"\ - ,\r\n \"52.255.152.255/32\",\r\n \"65.52.250.0/30\",\r\n\ - \ \"102.133.26.0/30\",\r\n \"102.133.124.140/30\",\r\n \ - \ \"102.133.154.0/30\",\r\n \"102.133.251.220/30\",\r\n \ - \ \"104.41.0.141/32\",\r\n \"104.41.1.239/32\",\r\n \ - \ \"104.41.162.219/32\",\r\n \"104.41.162.228/32\",\r\n \ - \ \"104.42.6.91/32\",\r\n \"104.42.136.180/32\",\r\n \ - \ \"104.43.161.34/32\",\r\n \"104.43.192.26/32\",\r\n \"\ - 104.44.136.42/32\",\r\n \"104.46.40.31/32\",\r\n \"104.46.219.151/32\"\ - ,\r\n \"104.46.219.184/32\",\r\n \"104.208.26.47/32\",\r\ - \n \"104.210.195.61/32\",\r\n \"104.211.81.24/30\",\r\n\ - \ \"104.211.98.11/32\",\r\n \"104.211.99.174/32\",\r\n \ - \ \"104.211.146.64/30\",\r\n \"104.211.166.82/32\",\r\n \ - \ \"104.211.167.57/32\",\r\n \"104.211.224.186/32\",\r\n\ - \ \"104.211.225.134/32\",\r\n \"104.214.18.168/30\",\r\n\ - \ \"104.215.18.67/32\",\r\n \"104.215.31.67/32\",\r\n \ - \ \"104.215.94.76/32\",\r\n \"104.215.99.117/32\",\r\n \ - \ \"104.215.139.166/32\",\r\n \"104.215.140.132/32\",\r\n \ - \ \"137.116.44.148/32\",\r\n \"137.116.120.244/32\",\r\n\ - \ \"137.116.233.191/32\",\r\n \"168.62.108.27/32\",\r\n\ - \ \"168.62.237.29/32\",\r\n \"168.63.167.27/32\",\r\n \ - \ \"168.63.219.200/32\",\r\n \"168.63.219.205/32\",\r\n \ - \ \"191.233.50.0/30\",\r\n \"191.233.203.24/30\",\r\n \ - \ \"191.234.149.140/30\",\r\n \"191.234.157.44/30\",\r\n \ - \ \"2603:1000:4:402::80/125\",\r\n \"2603:1000:104:402::80/125\"\ - ,\r\n \"2603:1000:104:802::80/125\",\r\n \"2603:1000:104:c02::80/125\"\ - ,\r\n \"2603:1010:6:402::80/125\",\r\n \"2603:1010:6:802::80/125\"\ - ,\r\n \"2603:1010:6:c02::80/125\",\r\n \"2603:1010:101:402::80/125\"\ - ,\r\n \"2603:1010:304:402::80/125\",\r\n \"2603:1010:404:402::80/125\"\ - ,\r\n \"2603:1020:5:402::80/125\",\r\n \"2603:1020:5:802::80/125\"\ - ,\r\n \"2603:1020:5:c02::80/125\",\r\n \"2603:1020:206:402::80/125\"\ - ,\r\n \"2603:1020:206:802::80/125\",\r\n \"2603:1020:206:c02::80/125\"\ - ,\r\n \"2603:1020:305:402::80/125\",\r\n \"2603:1020:405:402::80/125\"\ - ,\r\n \"2603:1020:605:402::80/125\",\r\n \"2603:1020:705:402::80/125\"\ - ,\r\n \"2603:1020:705:802::80/125\",\r\n \"2603:1020:705:c02::80/125\"\ - ,\r\n \"2603:1020:805:402::80/125\",\r\n \"2603:1020:805:802::80/125\"\ - ,\r\n \"2603:1020:805:c02::80/125\",\r\n \"2603:1020:905:402::80/125\"\ - ,\r\n \"2603:1020:a04:402::80/125\",\r\n \"2603:1020:a04:802::80/125\"\ - ,\r\n \"2603:1020:a04:c02::80/125\",\r\n \"2603:1020:b04:402::80/125\"\ - ,\r\n \"2603:1020:c04:402::80/125\",\r\n \"2603:1020:c04:802::80/125\"\ - ,\r\n \"2603:1020:c04:c02::80/125\",\r\n \"2603:1020:d04:402::80/125\"\ - ,\r\n \"2603:1020:e04:402::80/125\",\r\n \"2603:1020:e04:802::80/125\"\ - ,\r\n \"2603:1020:e04:c02::80/125\",\r\n \"2603:1020:f04:402::80/125\"\ - ,\r\n \"2603:1020:1004:400::80/125\",\r\n \"2603:1020:1004:400::2f8/125\"\ - ,\r\n \"2603:1020:1004:800::140/125\",\r\n \"2603:1020:1104:400::80/125\"\ - ,\r\n \"2603:1030:f:400::880/125\",\r\n \"2603:1030:10:402::80/125\"\ - ,\r\n \"2603:1030:10:802::80/125\",\r\n \"2603:1030:10:c02::80/125\"\ - ,\r\n \"2603:1030:104:402::80/125\",\r\n \"2603:1030:107:400::/125\"\ - ,\r\n \"2603:1030:107:400::10/125\",\r\n \"2603:1030:210:402::80/125\"\ - ,\r\n \"2603:1030:210:802::80/125\",\r\n \"2603:1030:210:c02::80/125\"\ - ,\r\n \"2603:1030:40b:400::880/125\",\r\n \"2603:1030:40b:800::80/125\"\ - ,\r\n \"2603:1030:40b:c00::80/125\",\r\n \"2603:1030:40c:402::80/125\"\ - ,\r\n \"2603:1030:40c:802::80/125\",\r\n \"2603:1030:40c:c02::80/125\"\ - ,\r\n \"2603:1030:504:402::80/125\",\r\n \"2603:1030:504:402::2f8/125\"\ - ,\r\n \"2603:1030:504:802::140/125\",\r\n \"2603:1030:608:402::80/125\"\ - ,\r\n \"2603:1030:807:402::80/125\",\r\n \"2603:1030:807:802::80/125\"\ - ,\r\n \"2603:1030:807:c02::80/125\",\r\n \"2603:1030:a07:402::80/125\"\ - ,\r\n \"2603:1030:b04:402::80/125\",\r\n \"2603:1030:c06:400::880/125\"\ - ,\r\n \"2603:1030:c06:802::80/125\",\r\n \"2603:1030:c06:c02::80/125\"\ - ,\r\n \"2603:1030:f05:402::80/125\",\r\n \"2603:1030:f05:802::80/125\"\ - ,\r\n \"2603:1030:f05:c02::80/125\",\r\n \"2603:1030:1005:402::80/125\"\ - ,\r\n \"2603:1040:5:402::80/125\",\r\n \"2603:1040:5:802::80/125\"\ - ,\r\n \"2603:1040:5:c02::80/125\",\r\n \"2603:1040:207:402::80/125\"\ - ,\r\n \"2603:1040:407:402::80/125\",\r\n \"2603:1040:407:802::80/125\"\ - ,\r\n \"2603:1040:407:c02::80/125\",\r\n \"2603:1040:606:402::80/125\"\ - ,\r\n \"2603:1040:806:402::80/125\",\r\n \"2603:1040:904:402::80/125\"\ - ,\r\n \"2603:1040:904:802::80/125\",\r\n \"2603:1040:904:c02::80/125\"\ - ,\r\n \"2603:1040:a06:402::80/125\",\r\n \"2603:1040:a06:802::80/125\"\ - ,\r\n \"2603:1040:a06:c02::80/125\",\r\n \"2603:1040:b04:402::80/125\"\ - ,\r\n \"2603:1040:c06:402::80/125\",\r\n \"2603:1040:d04:400::80/125\"\ - ,\r\n \"2603:1040:d04:400::2f8/125\",\r\n \"2603:1040:d04:800::140/125\"\ - ,\r\n \"2603:1040:f05:402::80/125\",\r\n \"2603:1040:f05:802::80/125\"\ - ,\r\n \"2603:1040:f05:c02::80/125\",\r\n \"2603:1040:1104:400::80/125\"\ - ,\r\n \"2603:1050:6:402::80/125\",\r\n \"2603:1050:6:802::80/125\"\ - ,\r\n \"2603:1050:6:c02::80/125\",\r\n \"2603:1050:403:400::80/125\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureKeyVault.AustraliaCentral\"\ - ,\r\n \"id\": \"AzureKeyVault.AustraliaCentral\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"australiacentral\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureKeyVault\",\r\n \ - \ \"addressPrefixes\": [\r\n \"20.36.40.39/32\",\r\n \ - \ \"20.36.40.42/32\",\r\n \"20.36.106.64/30\",\r\n \"\ - 2603:1010:304:402::80/125\"\r\n ]\r\n }\r\n },\r\n {\r\n\ - \ \"name\": \"AzureKeyVault.AustraliaCentral2\",\r\n \"id\": \"\ - AzureKeyVault.AustraliaCentral2\",\r\n \"properties\": {\r\n \"\ - changeNumber\": \"2\",\r\n \"region\": \"australiacentral2\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"AzureKeyVault\",\r\n \"addressPrefixes\": [\r\n \"20.36.72.34/32\"\ - ,\r\n \"20.36.72.38/32\",\r\n \"20.36.114.16/30\",\r\n \ - \ \"2603:1010:404:402::80/125\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"AzureKeyVault.AustraliaEast\",\r\n \"id\"\ - : \"AzureKeyVault.AustraliaEast\",\r\n \"properties\": {\r\n \"\ - changeNumber\": \"2\",\r\n \"region\": \"australiaeast\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"API\"\ - ,\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n \ - \ ],\r\n \"systemService\": \"AzureKeyVault\",\r\n \"addressPrefixes\"\ - : [\r\n \"13.70.72.24/30\",\r\n \"13.72.250.239/32\",\r\n\ - \ \"40.79.163.156/30\",\r\n \"40.79.173.4/30\",\r\n \ - \ \"52.237.253.194/32\",\r\n \"2603:1010:6:402::80/125\",\r\n\ - \ \"2603:1010:6:802::80/125\",\r\n \"2603:1010:6:c02::80/125\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureKeyVault.AustraliaSoutheast\"\ - ,\r\n \"id\": \"AzureKeyVault.AustraliaSoutheast\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"australiasoutheast\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureKeyVault\",\r\n \ - \ \"addressPrefixes\": [\r\n \"13.70.138.129/32\",\r\n \ - \ \"13.77.50.64/30\",\r\n \"52.255.63.107/32\",\r\n \ - \ \"2603:1010:101:402::80/125\"\r\n ]\r\n }\r\n },\r\n {\r\ - \n \"name\": \"AzureKeyVault.BrazilSouth\",\r\n \"id\": \"AzureKeyVault.BrazilSouth\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \ - \ \"region\": \"brazilsouth\",\r\n \"state\": \"GA\",\r\n \ - \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n \ - \ \"UDR\",\r\n \"FW\",\r\n \"VSE\"\r\n ],\r\ - \n \"systemService\": \"AzureKeyVault\",\r\n \"addressPrefixes\"\ - : [\r\n \"104.41.0.141/32\",\r\n \"104.41.1.239/32\",\r\n\ - \ \"191.233.203.24/30\",\r\n \"191.234.149.140/30\",\r\n\ - \ \"191.234.157.44/30\",\r\n \"2603:1050:6:402::80/125\"\ - ,\r\n \"2603:1050:6:802::80/125\",\r\n \"2603:1050:6:c02::80/125\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureKeyVault.CanadaCentral\"\ - ,\r\n \"id\": \"AzureKeyVault.CanadaCentral\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"canadacentral\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\",\r\n \"VSE\"\r\n ],\r\n \"systemService\": \"\ - AzureKeyVault\",\r\n \"addressPrefixes\": [\r\n \"13.71.170.40/30\"\ - ,\r\n \"20.38.149.196/30\",\r\n \"40.85.229.9/32\",\r\n\ - \ \"40.85.231.231/32\",\r\n \"52.246.157.4/30\",\r\n \ - \ \"2603:1030:f05:402::80/125\",\r\n \"2603:1030:f05:802::80/125\"\ - ,\r\n \"2603:1030:f05:c02::80/125\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"AzureKeyVault.CanadaEast\",\r\n \ - \ \"id\": \"AzureKeyVault.CanadaEast\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"2\",\r\n \"region\": \"canadaeast\",\r\n\ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - ,\r\n \"VSE\"\r\n ],\r\n \"systemService\": \"AzureKeyVault\"\ - ,\r\n \"addressPrefixes\": [\r\n \"40.69.106.64/30\",\r\n\ - \ \"40.86.224.94/32\",\r\n \"40.86.231.180/32\",\r\n \ - \ \"2603:1030:1005:402::80/125\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"AzureKeyVault.CentralIndia\",\r\n \"id\"\ - : \"AzureKeyVault.CentralIndia\",\r\n \"properties\": {\r\n \"\ - changeNumber\": \"2\",\r\n \"region\": \"centralindia\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"API\"\ - ,\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\",\r\n \ - \ \"VSE\"\r\n ],\r\n \"systemService\": \"AzureKeyVault\"\ - ,\r\n \"addressPrefixes\": [\r\n \"104.211.81.24/30\",\r\n\ - \ \"104.211.98.11/32\",\r\n \"104.211.99.174/32\",\r\n \ - \ \"2603:1040:a06:402::80/125\",\r\n \"2603:1040:a06:802::80/125\"\ - ,\r\n \"2603:1040:a06:c02::80/125\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"AzureKeyVault.CentralUS\",\r\n \"\ - id\": \"AzureKeyVault.CentralUS\",\r\n \"properties\": {\r\n \"\ - changeNumber\": \"2\",\r\n \"region\": \"centralus\",\r\n \"\ - state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\ - \n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n \ - \ ],\r\n \"systemService\": \"AzureKeyVault\",\r\n \"addressPrefixes\"\ - : [\r\n \"13.89.61.248/32\",\r\n \"13.89.170.200/30\",\r\ - \n \"23.99.132.207/32\",\r\n \"52.154.176.47/32\",\r\n \ - \ \"52.154.177.179/32\",\r\n \"52.165.21.159/32\",\r\n \ - \ \"52.165.208.47/32\",\r\n \"52.173.90.250/32\",\r\n \ - \ \"52.173.199.154/32\",\r\n \"52.173.216.55/32\",\r\n \ - \ \"52.176.48.58/32\",\r\n \"104.43.161.34/32\",\r\n \ - \ \"104.43.192.26/32\",\r\n \"104.208.26.47/32\",\r\n \"\ - 2603:1030:10:402::80/125\",\r\n \"2603:1030:10:802::80/125\",\r\n\ - \ \"2603:1030:10:c02::80/125\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"AzureKeyVault.CentralUSEUAP\",\r\n \"id\"\ - : \"AzureKeyVault.CentralUSEUAP\",\r\n \"properties\": {\r\n \"\ - changeNumber\": \"2\",\r\n \"region\": \"centraluseuap\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"API\"\ - ,\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n \ - \ ],\r\n \"systemService\": \"AzureKeyVault\",\r\n \"addressPrefixes\"\ - : [\r\n \"52.176.254.165/32\",\r\n \"52.180.176.121/32\"\ - ,\r\n \"52.180.176.122/32\",\r\n \"2603:1030:f:400::880/125\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureKeyVault.EastAsia\"\ - ,\r\n \"id\": \"AzureKeyVault.EastAsia\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"2\",\r\n \"region\": \"eastasia\",\r\n\ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"AzureKeyVault\",\r\n \ - \ \"addressPrefixes\": [\r\n \"13.75.34.144/30\",\r\n \"\ - 168.63.219.200/32\",\r\n \"168.63.219.205/32\",\r\n \"2603:1040:207:402::80/125\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureKeyVault.EastUS\"\ - ,\r\n \"id\": \"AzureKeyVault.EastUS\",\r\n \"properties\": {\r\n\ - \ \"changeNumber\": \"2\",\r\n \"region\": \"eastus\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"AzureKeyVault\",\r\n \ - \ \"addressPrefixes\": [\r\n \"20.185.217.251/32\",\r\n \ - \ \"20.185.218.1/32\",\r\n \"40.71.10.200/30\",\r\n \"\ - 40.76.196.75/32\",\r\n \"40.76.212.37/32\",\r\n \"40.85.185.208/32\"\ - ,\r\n \"40.87.69.184/32\",\r\n \"40.117.157.122/32\",\r\n\ - \ \"52.168.109.101/32\",\r\n \"52.255.152.252/32\",\r\n\ - \ \"52.255.152.255/32\",\r\n \"137.116.120.244/32\",\r\n\ - \ \"2603:1030:210:402::80/125\",\r\n \"2603:1030:210:802::80/125\"\ - ,\r\n \"2603:1030:210:c02::80/125\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"AzureKeyVault.EastUS2\",\r\n \"\ - id\": \"AzureKeyVault.EastUS2\",\r\n \"properties\": {\r\n \"\ - changeNumber\": \"2\",\r\n \"region\": \"eastus2\",\r\n \"state\"\ - : \"GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\n \ - \ \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n ],\r\n\ - \ \"systemService\": \"AzureKeyVault\",\r\n \"addressPrefixes\"\ - : [\r\n \"13.68.24.216/32\",\r\n \"13.68.29.203/32\",\r\n\ - \ \"13.68.104.240/32\",\r\n \"20.186.41.83/32\",\r\n \ - \ \"20.186.47.182/32\",\r\n \"23.101.159.107/32\",\r\n \ - \ \"40.70.146.72/30\",\r\n \"40.70.186.91/32\",\r\n \ - \ \"40.70.204.6/32\",\r\n \"40.70.204.32/32\",\r\n \"40.84.47.24/32\"\ - ,\r\n \"52.167.143.179/32\",\r\n \"52.167.228.54/32\",\r\ - \n \"52.177.71.51/32\",\r\n \"52.184.155.181/32\",\r\n \ - \ \"52.184.158.37/32\",\r\n \"52.184.164.12/32\",\r\n \ - \ \"52.225.218.218/32\",\r\n \"137.116.44.148/32\",\r\n \ - \ \"2603:1030:40c:402::80/125\",\r\n \"2603:1030:40c:802::80/125\"\ - ,\r\n \"2603:1030:40c:c02::80/125\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"AzureKeyVault.EastUS2EUAP\",\r\n \ - \ \"id\": \"AzureKeyVault.EastUS2EUAP\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"2\",\r\n \"region\": \"eastus2euap\",\r\ - \n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"AzureKeyVault\",\r\n \ - \ \"addressPrefixes\": [\r\n \"40.79.118.1/32\",\r\n \"\ - 40.79.118.5/32\",\r\n \"52.138.73.5/32\",\r\n \"52.138.73.51/32\"\ - ,\r\n \"52.225.179.130/32\",\r\n \"52.225.182.225/32\",\r\ - \n \"52.225.188.225/32\",\r\n \"52.225.191.36/32\",\r\n\ - \ \"2603:1030:40b:400::880/125\",\r\n \"2603:1030:40b:800::80/125\"\ - ,\r\n \"2603:1030:40b:c00::80/125\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"AzureKeyVault.FranceCentral\",\r\n \ - \ \"id\": \"AzureKeyVault.FranceCentral\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"2\",\r\n \"region\": \"centralfrance\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureKeyVault\",\r\n \ - \ \"addressPrefixes\": [\r\n \"20.43.56.38/32\",\r\n \ - \ \"20.43.56.66/32\",\r\n \"20.188.40.44/32\",\r\n \"\ - 20.188.40.46/32\",\r\n \"40.79.130.40/30\",\r\n \"40.89.145.89/32\"\ - ,\r\n \"40.89.145.93/32\",\r\n \"40.89.180.10/32\",\r\n\ - \ \"40.89.180.25/32\",\r\n \"2603:1020:805:402::80/125\"\ - ,\r\n \"2603:1020:805:802::80/125\",\r\n \"2603:1020:805:c02::80/125\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureKeyVault.FranceSouth\"\ - ,\r\n \"id\": \"AzureKeyVault.FranceSouth\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"southfrance\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureKeyVault\",\r\n \ - \ \"addressPrefixes\": [\r\n \"40.79.178.64/30\",\r\n \ - \ \"52.136.136.15/32\",\r\n \"52.136.136.16/32\",\r\n \ - \ \"2603:1020:905:402::80/125\"\r\n ]\r\n }\r\n },\r\n \ - \ {\r\n \"name\": \"AzureKeyVault.GermanyNorth\",\r\n \"id\": \"\ - AzureKeyVault.GermanyNorth\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"2\",\r\n \"region\": \"germanyn\",\r\n \"state\": \"GA\"\ - ,\r\n \"networkFeatures\": [\r\n \"API\",\r\n \"\ - NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n ],\r\n \ - \ \"systemService\": \"AzureKeyVault\",\r\n \"addressPrefixes\": [\r\ - \n \"51.116.58.0/30\",\r\n \"2603:1020:d04:402::80/125\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureKeyVault.GermanyWestCentral\"\ - ,\r\n \"id\": \"AzureKeyVault.GermanyWestCentral\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"germanywc\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureKeyVault\",\r\n \ - \ \"addressPrefixes\": [\r\n \"51.116.154.64/30\",\r\n \ - \ \"51.116.243.220/30\",\r\n \"51.116.251.188/30\",\r\n \ - \ \"2603:1020:c04:402::80/125\",\r\n \"2603:1020:c04:802::80/125\"\ - ,\r\n \"2603:1020:c04:c02::80/125\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"AzureKeyVault.JapanEast\",\r\n \"\ - id\": \"AzureKeyVault.JapanEast\",\r\n \"properties\": {\r\n \"\ - changeNumber\": \"2\",\r\n \"region\": \"japaneast\",\r\n \"\ - state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\ - \n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n \ - \ ],\r\n \"systemService\": \"AzureKeyVault\",\r\n \"addressPrefixes\"\ - : [\r\n \"13.78.106.88/30\",\r\n \"20.188.2.148/32\",\r\n\ - \ \"20.188.2.156/32\",\r\n \"23.102.72.114/32\",\r\n \ - \ \"23.102.75.18/32\",\r\n \"104.41.162.219/32\",\r\n \ - \ \"104.41.162.228/32\",\r\n \"104.46.219.151/32\",\r\n \ - \ \"104.46.219.184/32\",\r\n \"2603:1040:407:402::80/125\",\r\ - \n \"2603:1040:407:802::80/125\",\r\n \"2603:1040:407:c02::80/125\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureKeyVault.JapanWest\"\ - ,\r\n \"id\": \"AzureKeyVault.JapanWest\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"2\",\r\n \"region\": \"japanwest\",\r\ - \n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"AzureKeyVault\",\r\n \ - \ \"addressPrefixes\": [\r\n \"40.74.100.48/30\",\r\n \"\ - 104.215.18.67/32\",\r\n \"104.215.31.67/32\",\r\n \"2603:1040:606:402::80/125\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureKeyVault.KoreaCentral\"\ - ,\r\n \"id\": \"AzureKeyVault.KoreaCentral\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"koreacentral\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureKeyVault\",\r\n \ - \ \"addressPrefixes\": [\r\n \"20.194.66.0/30\",\r\n \ - \ \"52.231.18.40/30\",\r\n \"52.231.32.65/32\",\r\n \"\ - 52.231.32.66/32\",\r\n \"2603:1040:f05:402::80/125\",\r\n \ - \ \"2603:1040:f05:802::80/125\",\r\n \"2603:1040:f05:c02::80/125\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureKeyVault.KoreaSouth\"\ - ,\r\n \"id\": \"AzureKeyVault.KoreaSouth\",\r\n \"properties\":\ - \ {\r\n \"changeNumber\": \"1\",\r\n \"region\": \"koreasouth\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureKeyVault\",\r\n \ - \ \"addressPrefixes\": [\r\n \"52.231.146.80/30\",\r\n \ - \ \"52.231.200.107/32\",\r\n \"52.231.200.108/32\"\r\n \ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureKeyVault.NorthCentralUS\"\ - ,\r\n \"id\": \"AzureKeyVault.NorthCentralUS\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"northcentralus\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureKeyVault\",\r\n \ - \ \"addressPrefixes\": [\r\n \"23.96.210.207/32\",\r\n \ - \ \"23.96.250.48/32\",\r\n \"52.162.106.144/30\",\r\n \ - \ \"52.162.255.194/32\",\r\n \"168.62.108.27/32\",\r\n \ - \ \"168.62.237.29/32\",\r\n \"2603:1030:608:402::80/125\"\r\n \ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureKeyVault.NorthEurope\"\ - ,\r\n \"id\": \"AzureKeyVault.NorthEurope\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"northeurope\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureKeyVault\",\r\n \ - \ \"addressPrefixes\": [\r\n \"13.69.227.72/30\",\r\n \ - \ \"13.74.10.39/32\",\r\n \"13.74.10.113/32\",\r\n \"\ - 23.100.57.24/32\",\r\n \"23.100.58.149/32\",\r\n \"52.138.160.103/32\"\ - ,\r\n \"52.138.160.105/32\",\r\n \"52.169.232.147/32\",\r\ - \n \"137.116.233.191/32\",\r\n \"2603:1020:5:402::80/125\"\ - ,\r\n \"2603:1020:5:802::80/125\",\r\n \"2603:1020:5:c02::80/125\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureKeyVault.NorwayEast\"\ - ,\r\n \"id\": \"AzureKeyVault.NorwayEast\",\r\n \"properties\":\ - \ {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"norwaye\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureKeyVault\",\r\n \ - \ \"addressPrefixes\": [\r\n \"51.120.98.8/30\",\r\n \ - \ \"2603:1020:e04:402::80/125\",\r\n \"2603:1020:e04:802::80/125\"\ - ,\r\n \"2603:1020:e04:c02::80/125\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"AzureKeyVault.NorwayWest\",\r\n \ - \ \"id\": \"AzureKeyVault.NorwayWest\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"2\",\r\n \"region\": \"norwayw\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"\ - API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n\ - \ ],\r\n \"systemService\": \"AzureKeyVault\",\r\n \"\ - addressPrefixes\": [\r\n \"51.120.218.0/30\",\r\n \"2603:1020:f04:402::80/125\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureKeyVault.SouthAfricaNorth\"\ - ,\r\n \"id\": \"AzureKeyVault.SouthAfricaNorth\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"southafricanorth\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureKeyVault\",\r\n \ - \ \"addressPrefixes\": [\r\n \"102.133.124.140/30\",\r\n \ - \ \"102.133.154.0/30\",\r\n \"102.133.251.220/30\",\r\n \ - \ \"2603:1000:104:402::80/125\",\r\n \"2603:1000:104:802::80/125\"\ - ,\r\n \"2603:1000:104:c02::80/125\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"AzureKeyVault.SouthAfricaWest\",\r\n\ - \ \"id\": \"AzureKeyVault.SouthAfricaWest\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"southafricawest\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureKeyVault\",\r\n \ - \ \"addressPrefixes\": [\r\n \"102.133.26.0/30\",\r\n \ - \ \"2603:1000:4:402::80/125\"\r\n ]\r\n }\r\n },\r\n \ - \ {\r\n \"name\": \"AzureKeyVault.SouthCentralUS\",\r\n \"id\":\ - \ \"AzureKeyVault.SouthCentralUS\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"2\",\r\n \"region\": \"southcentralus\",\r\n\ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"AzureKeyVault\",\r\n \ - \ \"addressPrefixes\": [\r\n \"13.84.174.143/32\",\r\n \ - \ \"20.45.123.240/30\",\r\n \"20.45.123.252/30\",\r\n \"\ - 20.49.90.0/30\",\r\n \"20.49.91.232/30\",\r\n \"40.124.64.128/30\"\ - ,\r\n \"104.44.136.42/32\",\r\n \"104.210.195.61/32\",\r\ - \n \"104.214.18.168/30\",\r\n \"104.215.94.76/32\",\r\n\ - \ \"104.215.99.117/32\",\r\n \"2603:1030:807:402::80/125\"\ - ,\r\n \"2603:1030:807:802::80/125\",\r\n \"2603:1030:807:c02::80/125\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureKeyVault.SoutheastAsia\"\ - ,\r\n \"id\": \"AzureKeyVault.SoutheastAsia\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"southeastasia\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureKeyVault\",\r\n \ - \ \"addressPrefixes\": [\r\n \"13.67.8.104/30\",\r\n \ - \ \"23.97.50.43/32\",\r\n \"23.101.21.103/32\",\r\n \"\ - 23.101.21.193/32\",\r\n \"23.101.23.190/32\",\r\n \"23.101.23.192/32\"\ - ,\r\n \"40.65.188.244/32\",\r\n \"40.65.189.219/32\",\r\n\ - \ \"52.148.84.142/32\",\r\n \"52.148.84.145/32\",\r\n \ - \ \"52.187.161.13/32\",\r\n \"52.187.163.139/32\",\r\n \ - \ \"104.215.139.166/32\",\r\n \"104.215.140.132/32\",\r\n \ - \ \"168.63.167.27/32\",\r\n \"2603:1040:5:402::80/125\",\r\ - \n \"2603:1040:5:802::80/125\",\r\n \"2603:1040:5:c02::80/125\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureKeyVault.SouthIndia\"\ - ,\r\n \"id\": \"AzureKeyVault.SouthIndia\",\r\n \"properties\":\ - \ {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"southindia\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureKeyVault\",\r\n \ - \ \"addressPrefixes\": [\r\n \"40.78.194.64/30\",\r\n \ - \ \"104.211.224.186/32\",\r\n \"104.211.225.134/32\",\r\n \ - \ \"2603:1040:c06:402::80/125\"\r\n ]\r\n }\r\n },\r\n\ - \ {\r\n \"name\": \"AzureKeyVault.SwitzerlandNorth\",\r\n \"\ - id\": \"AzureKeyVault.SwitzerlandNorth\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"2\",\r\n \"region\": \"switzerlandn\",\r\ - \n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"AzureKeyVault\",\r\n \ - \ \"addressPrefixes\": [\r\n \"51.107.58.0/30\",\r\n \"\ - 2603:1020:a04:402::80/125\",\r\n \"2603:1020:a04:802::80/125\",\r\ - \n \"2603:1020:a04:c02::80/125\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"AzureKeyVault.SwitzerlandWest\",\r\n \"\ - id\": \"AzureKeyVault.SwitzerlandWest\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"2\",\r\n \"region\": \"switzerlandw\",\r\ - \n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"AzureKeyVault\",\r\n \"addressPrefixes\": [\r\n \"51.107.154.0/30\"\ - ,\r\n \"2603:1020:b04:402::80/125\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"AzureKeyVault.UAECentral\",\r\n \ - \ \"id\": \"AzureKeyVault.UAECentral\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"2\",\r\n \"region\": \"uaecentral\",\r\n\ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"AzureKeyVault\",\r\n \ - \ \"addressPrefixes\": [\r\n \"20.37.74.228/30\",\r\n \"\ - 2603:1040:b04:402::80/125\"\r\n ]\r\n }\r\n },\r\n {\r\n\ - \ \"name\": \"AzureKeyVault.UAENorth\",\r\n \"id\": \"AzureKeyVault.UAENorth\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \ - \ \"region\": \"uaenorth\",\r\n \"state\": \"GA\",\r\n \"\ - networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n \ - \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\"\ - : \"AzureKeyVault\",\r\n \"addressPrefixes\": [\r\n \"40.120.74.0/30\"\ - ,\r\n \"65.52.250.0/30\",\r\n \"2603:1040:904:402::80/125\"\ - ,\r\n \"2603:1040:904:802::80/125\",\r\n \"2603:1040:904:c02::80/125\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureKeyVault.UKNorth\"\ - ,\r\n \"id\": \"AzureKeyVault.UKNorth\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"2\",\r\n \"region\": \"uknorth\",\r\n\ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\"\r\n ],\r\n \"systemService\": \"AzureKeyVault\",\r\ - \n \"addressPrefixes\": [\r\n \"13.87.101.60/32\",\r\n \ - \ \"13.87.101.111/32\",\r\n \"13.87.122.80/30\",\r\n \ - \ \"2603:1020:305:402::80/125\"\r\n ]\r\n }\r\n },\r\n \ - \ {\r\n \"name\": \"AzureKeyVault.UKSouth\",\r\n \"id\": \"AzureKeyVault.UKSouth\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \ - \ \"region\": \"uksouth\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n\ - \ \"FW\"\r\n ],\r\n \"systemService\": \"AzureKeyVault\"\ - ,\r\n \"addressPrefixes\": [\r\n \"51.104.192.129/32\",\r\n\ - \ \"51.104.192.138/32\",\r\n \"51.105.4.67/32\",\r\n \ - \ \"51.105.4.75/32\",\r\n \"51.140.146.56/30\",\r\n \ - \ \"51.140.157.60/32\",\r\n \"51.140.184.38/31\",\r\n \ - \ \"52.151.75.86/32\",\r\n \"2603:1020:705:402::80/125\",\r\n \ - \ \"2603:1020:705:802::80/125\",\r\n \"2603:1020:705:c02::80/125\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureKeyVault.UKWest\"\ - ,\r\n \"id\": \"AzureKeyVault.UKWest\",\r\n \"properties\": {\r\n\ - \ \"changeNumber\": \"2\",\r\n \"region\": \"ukwest\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"AzureKeyVault\",\r\n \ - \ \"addressPrefixes\": [\r\n \"51.140.210.80/30\",\r\n \ - \ \"51.141.8.42/31\",\r\n \"2603:1020:605:402::80/125\"\r\n \ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureKeyVault.WestCentralUS\"\ - ,\r\n \"id\": \"AzureKeyVault.WestCentralUS\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"westcentralus\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureKeyVault\",\r\n \ - \ \"addressPrefixes\": [\r\n \"13.71.194.112/30\",\r\n \ - \ \"52.161.25.42/32\",\r\n \"52.161.31.136/32\",\r\n \ - \ \"52.161.31.139/32\",\r\n \"2603:1030:b04:402::80/125\"\r\n \ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureKeyVault.WestEurope\"\ - ,\r\n \"id\": \"AzureKeyVault.WestEurope\",\r\n \"properties\":\ - \ {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"westeurope\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureKeyVault\",\r\n \ - \ \"addressPrefixes\": [\r\n \"13.69.64.72/30\",\r\n \ - \ \"13.80.247.19/32\",\r\n \"13.80.247.42/32\",\r\n \"\ - 23.97.178.0/32\",\r\n \"40.91.193.78/32\",\r\n \"40.91.199.213/32\"\ - ,\r\n \"52.157.162.137/32\",\r\n \"52.157.162.147/32\",\r\ - \n \"104.46.40.31/32\",\r\n \"2603:1020:206:402::80/125\"\ - ,\r\n \"2603:1020:206:802::80/125\",\r\n \"2603:1020:206:c02::80/125\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureKeyVault.WestIndia\"\ - ,\r\n \"id\": \"AzureKeyVault.WestIndia\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"2\",\r\n \"region\": \"westindia\",\r\ - \n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"AzureKeyVault\",\r\n \ - \ \"addressPrefixes\": [\r\n \"104.211.146.64/30\",\r\n \ - \ \"104.211.166.82/32\",\r\n \"104.211.167.57/32\",\r\n \ - \ \"2603:1040:806:402::80/125\"\r\n ]\r\n }\r\n },\r\n \ - \ {\r\n \"name\": \"AzureKeyVault.WestUS\",\r\n \"id\": \"AzureKeyVault.WestUS\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \ - \ \"region\": \"westus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n\ - \ \"FW\"\r\n ],\r\n \"systemService\": \"AzureKeyVault\"\ - ,\r\n \"addressPrefixes\": [\r\n \"40.112.242.144/30\",\r\n\ - \ \"104.42.6.91/32\",\r\n \"104.42.136.180/32\",\r\n \ - \ \"2603:1030:a07:402::80/125\"\r\n ]\r\n }\r\n },\r\n\ - \ {\r\n \"name\": \"AzureKeyVault.WestUS2\",\r\n \"id\": \"AzureKeyVault.WestUS2\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \ - \ \"region\": \"westus2\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n\ - \ \"FW\"\r\n ],\r\n \"systemService\": \"AzureKeyVault\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.66.138.88/30\",\r\n\ - \ \"13.66.226.249/32\",\r\n \"13.66.230.241/32\",\r\n \ - \ \"51.143.6.21/32\",\r\n \"52.151.41.92/32\",\r\n \ - \ \"52.151.47.4/32\",\r\n \"52.158.236.253/32\",\r\n \"\ - 52.158.239.35/32\",\r\n \"52.175.236.86/32\",\r\n \"52.183.24.22/32\"\ - ,\r\n \"52.183.80.133/32\",\r\n \"52.183.93.92/32\",\r\n\ - \ \"52.183.94.166/32\",\r\n \"52.247.193.69/32\",\r\n \ - \ \"2603:1030:c06:400::880/125\",\r\n \"2603:1030:c06:802::80/125\"\ - ,\r\n \"2603:1030:c06:c02::80/125\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"AzureMachineLearning\",\r\n \"id\"\ - : \"AzureMachineLearning\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"2\",\r\n \"region\": \"\",\r\n \"state\": \"GA\",\r\n \ - \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\ - \n \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\"\ - : \"AzureMachineLearning\",\r\n \"addressPrefixes\": [\r\n \ - \ \"13.66.87.135/32\",\r\n \"13.66.140.80/28\",\r\n \"\ - 13.67.8.224/28\",\r\n \"13.69.64.192/28\",\r\n \"13.69.106.192/28\"\ - ,\r\n \"13.69.227.192/28\",\r\n \"13.70.72.144/28\",\r\n\ - \ \"13.71.170.192/28\",\r\n \"13.71.173.80/28\",\r\n \ - \ \"13.71.194.240/28\",\r\n \"13.73.240.16/28\",\r\n \ - \ \"13.73.240.112/28\",\r\n \"13.73.240.240/28\",\r\n \ - \ \"13.73.248.96/28\",\r\n \"13.74.107.160/28\",\r\n \"\ - 13.75.36.16/28\",\r\n \"13.77.50.224/28\",\r\n \"13.78.106.208/28\"\ - ,\r\n \"13.86.195.35/32\",\r\n \"13.87.56.112/28\",\r\n\ - \ \"13.87.122.112/28\",\r\n \"13.87.160.129/32\",\r\n \ - \ \"13.89.171.64/28\",\r\n \"20.36.106.80/28\",\r\n \ - \ \"20.36.114.160/28\",\r\n \"20.37.67.80/28\",\r\n \"\ - 20.37.74.208/28\",\r\n \"20.37.152.240/28\",\r\n \"20.37.192.96/28\"\ - ,\r\n \"20.38.80.96/28\",\r\n \"20.38.128.48/28\",\r\n \ - \ \"20.38.147.128/28\",\r\n \"20.39.1.205/32\",\r\n \ - \ \"20.39.11.80/28\",\r\n \"20.40.141.171/32\",\r\n \ - \ \"20.41.0.240/28\",\r\n \"20.41.64.80/28\",\r\n \"20.41.197.0/28\"\ - ,\r\n \"20.42.0.240/28\",\r\n \"20.42.129.16/28\",\r\n \ - \ \"20.42.227.48/28\",\r\n \"20.43.40.96/28\",\r\n \ - \ \"20.43.64.96/28\",\r\n \"20.43.120.112/28\",\r\n \"\ - 20.43.128.112/28\",\r\n \"20.44.3.32/28\",\r\n \"20.44.26.224/28\"\ - ,\r\n \"20.44.132.166/32\",\r\n \"20.72.16.48/28\",\r\n\ - \ \"20.150.161.128/28\",\r\n \"20.150.171.80/28\",\r\n \ - \ \"20.150.179.64/28\",\r\n \"20.150.187.64/28\",\r\n \ - \ \"20.188.219.157/32\",\r\n \"20.188.221.15/32\",\r\n \ - \ \"20.189.106.80/28\",\r\n \"20.192.99.64/28\",\r\n \ - \ \"20.192.160.48/28\",\r\n \"20.192.225.144/28\",\r\n \ - \ \"20.192.235.16/28\",\r\n \"23.98.82.192/28\",\r\n \"\ - 23.100.232.216/32\",\r\n \"40.66.61.146/32\",\r\n \"40.67.59.80/28\"\ - ,\r\n \"40.69.106.224/28\",\r\n \"40.70.146.192/28\",\r\n\ - \ \"40.70.154.161/32\",\r\n \"40.71.11.64/28\",\r\n \ - \ \"40.74.24.96/28\",\r\n \"40.74.100.176/28\",\r\n \ - \ \"40.74.147.48/28\",\r\n \"40.75.35.48/28\",\r\n \"40.78.194.224/28\"\ - ,\r\n \"40.78.202.80/28\",\r\n \"40.78.227.32/28\",\r\n\ - \ \"40.78.234.128/28\",\r\n \"40.78.242.176/28\",\r\n \ - \ \"40.78.250.112/28\",\r\n \"40.79.130.192/28\",\r\n \ - \ \"40.79.138.128/28\",\r\n \"40.79.146.128/28\",\r\n \ - \ \"40.79.154.64/28\",\r\n \"40.79.162.48/28\",\r\n \"\ - 40.79.170.224/28\",\r\n \"40.79.178.224/28\",\r\n \"40.79.186.160/28\"\ - ,\r\n \"40.79.194.64/28\",\r\n \"40.80.51.64/28\",\r\n \ - \ \"40.80.57.176/28\",\r\n \"40.80.169.160/28\",\r\n \ - \ \"40.80.184.80/28\",\r\n \"40.80.188.96/28\",\r\n \ - \ \"40.81.27.228/32\",\r\n \"40.82.187.230/32\",\r\n \"\ - 40.82.248.80/28\",\r\n \"40.89.17.208/28\",\r\n \"40.90.184.249/32\"\ - ,\r\n \"40.91.77.76/32\",\r\n \"40.112.242.176/28\",\r\n\ - \ \"40.119.8.80/28\",\r\n \"51.11.24.49/32\",\r\n \ - \ \"51.12.47.32/28\",\r\n \"51.12.99.80/28\",\r\n \"\ - 51.12.198.224/28\",\r\n \"51.12.203.80/28\",\r\n \"51.12.227.64/28\"\ - ,\r\n \"51.12.235.64/28\",\r\n \"51.104.8.64/27\",\r\n \ - \ \"51.104.24.96/28\",\r\n \"51.105.67.16/28\",\r\n \ - \ \"51.105.75.128/28\",\r\n \"51.105.88.224/28\",\r\n \ - \ \"51.105.129.135/32\",\r\n \"51.107.59.48/28\",\r\n \ - \ \"51.107.147.32/28\",\r\n \"51.107.155.48/28\",\r\n \"\ - 51.116.49.176/28\",\r\n \"51.116.59.48/28\",\r\n \"51.116.155.112/28\"\ - ,\r\n \"51.116.156.128/28\",\r\n \"51.116.250.224/28\",\r\ - \n \"51.120.99.64/28\",\r\n \"51.120.107.64/28\",\r\n \ - \ \"51.120.211.64/28\",\r\n \"51.120.219.80/28\",\r\n \ - \ \"51.120.227.80/28\",\r\n \"51.137.161.224/28\",\r\n \ - \ \"51.140.146.208/28\",\r\n \"51.140.210.208/28\",\r\n \ - \ \"51.144.184.47/32\",\r\n \"52.138.90.144/28\",\r\n \ - \ \"52.138.226.160/28\",\r\n \"52.139.3.33/32\",\r\n \"\ - 52.140.107.96/28\",\r\n \"52.141.25.58/32\",\r\n \"52.141.26.97/32\"\ - ,\r\n \"52.148.163.43/32\",\r\n \"52.150.136.80/28\",\r\n\ - \ \"52.151.111.249/32\",\r\n \"52.155.90.254/32\",\r\n \ - \ \"52.155.115.7/32\",\r\n \"52.156.193.50/32\",\r\n \ - \ \"52.162.106.176/28\",\r\n \"52.167.106.160/28\",\r\n \ - \ \"52.177.164.219/32\",\r\n \"52.182.139.32/28\",\r\n \ - \ \"52.184.87.76/32\",\r\n \"52.185.70.56/32\",\r\n \ - \ \"52.228.80.80/28\",\r\n \"52.230.56.136/32\",\r\n \"\ - 52.231.18.192/28\",\r\n \"52.231.146.208/28\",\r\n \"52.236.186.192/28\"\ - ,\r\n \"52.242.224.215/32\",\r\n \"52.246.155.128/28\",\r\ - \n \"52.249.59.91/32\",\r\n \"52.252.160.26/32\",\r\n \ - \ \"52.253.131.79/32\",\r\n \"52.253.131.198/32\",\r\n \ - \ \"52.253.227.208/32\",\r\n \"52.255.214.109/32\",\r\n \ - \ \"52.255.217.127/32\",\r\n \"65.52.250.192/28\",\r\n \ - \ \"102.133.27.32/28\",\r\n \"102.133.58.224/28\",\r\n \ - \ \"102.133.122.224/27\",\r\n \"102.133.155.32/28\",\r\n \ - \ \"102.133.251.64/28\",\r\n \"104.208.16.160/28\",\r\n \ - \ \"104.208.144.160/28\",\r\n \"104.211.81.144/28\",\r\n \ - \ \"104.214.19.32/28\",\r\n \"191.233.8.48/28\",\r\n \ - \ \"191.233.203.144/28\",\r\n \"191.233.240.165/32\",\r\n \ - \ \"191.233.242.167/32\",\r\n \"191.234.147.64/28\",\r\n \ - \ \"191.234.155.64/28\",\r\n \"191.235.224.96/28\",\r\n \ - \ \"2603:1000:4::300/122\",\r\n \"2603:1000:104:1::2c0/122\"\ - ,\r\n \"2603:1010:6:1::2c0/122\",\r\n \"2603:1010:101::300/122\"\ - ,\r\n \"2603:1010:304::300/122\",\r\n \"2603:1010:404::300/122\"\ - ,\r\n \"2603:1020:5:1::2c0/122\",\r\n \"2603:1020:206:1::2c0/122\"\ - ,\r\n \"2603:1020:305::300/122\",\r\n \"2603:1020:405::300/122\"\ - ,\r\n \"2603:1020:605::300/122\",\r\n \"2603:1020:705:1::2c0/122\"\ - ,\r\n \"2603:1020:805:1::2c0/122\",\r\n \"2603:1020:905::300/122\"\ - ,\r\n \"2603:1020:a04:1::2c0/122\",\r\n \"2603:1020:b04::300/122\"\ - ,\r\n \"2603:1020:c04:1::2c0/122\",\r\n \"2603:1020:d04::300/122\"\ - ,\r\n \"2603:1020:e04:1::2c0/122\",\r\n \"2603:1020:f04::300/122\"\ - ,\r\n \"2603:1020:1004::2c0/122\",\r\n \"2603:1020:1104::240/122\"\ - ,\r\n \"2603:1030:f:1::300/122\",\r\n \"2603:1030:10:1::2c0/122\"\ - ,\r\n \"2603:1030:104:1::2c0/122\",\r\n \"2603:1030:107::240/122\"\ - ,\r\n \"2603:1030:210:1::2c0/122\",\r\n \"2603:1030:40b:1::2c0/122\"\ - ,\r\n \"2603:1030:40c:1::2c0/122\",\r\n \"2603:1030:504:1::2c0/122\"\ - ,\r\n \"2603:1030:608::300/122\",\r\n \"2603:1030:807:1::2c0/122\"\ - ,\r\n \"2603:1030:a07::300/122\",\r\n \"2603:1030:b04::300/122\"\ - ,\r\n \"2603:1030:c06:1::2c0/122\",\r\n \"2603:1030:f05:1::2c0/122\"\ - ,\r\n \"2603:1030:1005::300/122\",\r\n \"2603:1040:5:1::2c0/122\"\ - ,\r\n \"2603:1040:207::300/122\",\r\n \"2603:1040:407:1::2c0/122\"\ - ,\r\n \"2603:1040:606::300/122\",\r\n \"2603:1040:806::300/122\"\ - ,\r\n \"2603:1040:904:1::2c0/122\",\r\n \"2603:1040:a06:1::2c0/122\"\ - ,\r\n \"2603:1040:b04::300/122\",\r\n \"2603:1040:c06::300/122\"\ - ,\r\n \"2603:1040:d04::2c0/122\",\r\n \"2603:1040:f05:1::2c0/122\"\ - ,\r\n \"2603:1040:1104::240/122\",\r\n \"2603:1050:6:1::2c0/122\"\ - ,\r\n \"2603:1050:403::2c0/122\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"AzureMachineLearning.AustraliaEast\",\r\n \ - \ \"id\": \"AzureMachineLearning.AustraliaEast\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"1\",\r\n \"region\": \"australiaeast\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\"\r\n ],\r\n \"systemService\": \"AzureMachineLearning\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.70.72.144/28\",\r\n\ - \ \"20.37.192.96/28\",\r\n \"20.188.219.157/32\",\r\n \ - \ \"20.188.221.15/32\",\r\n \"40.79.162.48/28\",\r\n \ - \ \"40.79.170.224/28\",\r\n \"2603:1010:6:1::2c0/122\"\r\n \ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureMachineLearning.CanadaEast\"\ - ,\r\n \"id\": \"AzureMachineLearning.CanadaEast\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"canadaeast\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\"\r\n ],\r\n \"systemService\": \"AzureMachineLearning\"\ - ,\r\n \"addressPrefixes\": [\r\n \"40.69.106.224/28\",\r\n\ - \ \"40.89.17.208/28\",\r\n \"2603:1030:1005::300/122\"\r\ - \n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureMachineLearning.CentralUS\"\ - ,\r\n \"id\": \"AzureMachineLearning.CentralUS\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"1\",\r\n \"region\": \"centralus\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\"\r\n ],\r\n \"systemService\": \"AzureMachineLearning\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.89.171.64/28\",\r\n\ - \ \"20.37.152.240/28\",\r\n \"52.182.139.32/28\",\r\n \ - \ \"52.185.70.56/32\",\r\n \"52.242.224.215/32\",\r\n \ - \ \"104.208.16.160/28\",\r\n \"2603:1030:10:1::2c0/122\"\r\n\ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureMachineLearning.CentralUSEUAP\"\ - ,\r\n \"id\": \"AzureMachineLearning.CentralUSEUAP\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"centraluseuap\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\"\r\n ],\r\n \"systemService\": \"AzureMachineLearning\"\ - ,\r\n \"addressPrefixes\": [\r\n \"40.78.202.80/28\",\r\n\ - \ \"2603:1030:f:1::300/122\"\r\n ]\r\n }\r\n },\r\n\ - \ {\r\n \"name\": \"AzureMachineLearning.GermanyWestCentral\",\r\n\ - \ \"id\": \"AzureMachineLearning.GermanyWestCentral\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"1\",\r\n \"region\": \"germanywc\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\"\r\n ],\r\n \"systemService\": \"AzureMachineLearning\"\ - ,\r\n \"addressPrefixes\": [\r\n \"51.116.155.112/28\",\r\n\ - \ \"51.116.156.128/28\",\r\n \"51.116.250.224/28\",\r\n\ - \ \"2603:1020:c04:1::2c0/122\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"AzureMachineLearning.JapanEast\",\r\n \"\ - id\": \"AzureMachineLearning.JapanEast\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"1\",\r\n \"region\": \"japaneast\",\r\n\ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\"\r\n ],\r\n \"systemService\": \"AzureMachineLearning\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.78.106.208/28\",\r\n\ - \ \"20.43.64.96/28\",\r\n \"20.44.132.166/32\",\r\n \ - \ \"40.79.186.160/28\",\r\n \"40.79.194.64/28\",\r\n \ - \ \"52.155.115.7/32\",\r\n \"2603:1040:407:1::2c0/122\"\r\n \ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureMachineLearning.SouthIndia\"\ - ,\r\n \"id\": \"AzureMachineLearning.SouthIndia\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"southindia\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\"\r\n ],\r\n \"systemService\": \"AzureMachineLearning\"\ - ,\r\n \"addressPrefixes\": [\r\n \"20.41.197.0/28\",\r\n \ - \ \"40.78.194.224/28\",\r\n \"2603:1040:c06::300/122\"\r\n\ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureMachineLearning.WestCentralUS\"\ - ,\r\n \"id\": \"AzureMachineLearning.WestCentralUS\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"westcentralus\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\"\r\n ],\r\n \"systemService\": \"AzureMachineLearning\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.71.194.240/28\",\r\n\ - \ \"52.150.136.80/28\",\r\n \"52.253.131.79/32\",\r\n \ - \ \"52.253.131.198/32\",\r\n \"2603:1030:b04::300/122\"\r\n\ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureMonitor\"\ - ,\r\n \"id\": \"AzureMonitor\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"3\",\r\n \"region\": \"\",\r\n \"state\"\ - : \"GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\n \ - \ \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n ],\r\n\ - \ \"systemService\": \"AzureMonitor\",\r\n \"addressPrefixes\"\ - : [\r\n \"13.65.96.175/32\",\r\n \"13.65.206.67/32\",\r\n\ - \ \"13.65.211.125/32\",\r\n \"13.66.36.144/32\",\r\n \ - \ \"13.66.37.172/32\",\r\n \"13.66.59.226/32\",\r\n \ - \ \"13.66.60.151/32\",\r\n \"13.66.140.168/29\",\r\n \"\ - 13.66.141.152/29\",\r\n \"13.66.143.218/32\",\r\n \"13.66.147.144/28\"\ - ,\r\n \"13.66.160.124/32\",\r\n \"13.66.220.187/32\",\r\n\ - \ \"13.66.231.27/32\",\r\n \"13.67.9.192/28\",\r\n \ - \ \"13.67.10.64/29\",\r\n \"13.67.10.92/30\",\r\n \"\ - 13.67.15.0/32\",\r\n \"13.67.77.233/32\",\r\n \"13.67.89.191/32\"\ - ,\r\n \"13.68.31.237/32\",\r\n \"13.68.101.211/32\",\r\n\ - \ \"13.68.106.77/32\",\r\n \"13.68.109.212/32\",\r\n \ - \ \"13.68.111.247/32\",\r\n \"13.69.51.175/32\",\r\n \ - \ \"13.69.51.218/32\",\r\n \"13.69.65.16/28\",\r\n \"\ - 13.69.66.136/29\",\r\n \"13.69.67.60/30\",\r\n \"13.69.67.126/32\"\ - ,\r\n \"13.69.106.88/29\",\r\n \"13.69.106.208/28\",\r\n\ - \ \"13.69.109.224/27\",\r\n \"13.69.229.64/29\",\r\n \ - \ \"13.69.229.240/29\",\r\n \"13.69.233.0/30\",\r\n \ - \ \"13.69.233.96/27\",\r\n \"13.70.72.232/29\",\r\n \"\ - 13.70.73.104/29\",\r\n \"13.70.79.96/27\",\r\n \"13.70.124.27/32\"\ - ,\r\n \"13.70.127.61/32\",\r\n \"13.71.172.128/28\",\r\n\ - \ \"13.71.172.248/29\",\r\n \"13.71.175.128/32\",\r\n \ - \ \"13.71.177.32/27\",\r\n \"13.71.187.91/32\",\r\n \ - \ \"13.71.191.47/32\",\r\n \"13.71.195.192/27\",\r\n \ - \ \"13.71.196.56/29\",\r\n \"13.71.199.116/32\",\r\n \"\ - 13.73.26.213/32\",\r\n \"13.73.240.0/29\",\r\n \"13.73.242.32/29\"\ - ,\r\n \"13.73.244.192/31\",\r\n \"13.73.248.6/31\",\r\n\ - \ \"13.73.253.104/29\",\r\n \"13.73.253.112/29\",\r\n \ - \ \"13.73.253.120/32\",\r\n \"13.74.107.88/30\",\r\n \ - \ \"13.74.108.128/29\",\r\n \"13.75.38.0/28\",\r\n \"\ - 13.75.38.120/29\",\r\n \"13.75.39.76/30\",\r\n \"13.75.117.221/32\"\ - ,\r\n \"13.75.119.169/32\",\r\n \"13.75.195.15/32\",\r\n\ - \ \"13.76.85.243/32\",\r\n \"13.76.87.86/32\",\r\n \ - \ \"13.77.52.16/28\",\r\n \"13.77.53.48/29\",\r\n \"\ - 13.77.53.220/32\",\r\n \"13.77.150.166/32\",\r\n \"13.77.155.39/32\"\ - ,\r\n \"13.77.174.177/32\",\r\n \"13.78.10.58/32\",\r\n\ - \ \"13.78.13.189/32\",\r\n \"13.78.108.160/29\",\r\n \ - \ \"13.78.108.168/30\",\r\n \"13.78.109.112/29\",\r\n \ - \ \"13.78.111.192/32\",\r\n \"13.78.135.15/32\",\r\n \ - \ \"13.78.145.11/32\",\r\n \"13.78.151.158/32\",\r\n \"\ - 13.78.172.58/32\",\r\n \"13.78.189.112/32\",\r\n \"13.78.236.149/32\"\ - ,\r\n \"13.78.237.51/32\",\r\n \"13.80.134.255/32\",\r\n\ - \ \"13.82.100.176/32\",\r\n \"13.82.184.151/32\",\r\n \ - \ \"13.84.134.59/32\",\r\n \"13.84.148.7/32\",\r\n \ - \ \"13.84.149.186/32\",\r\n \"13.84.173.179/32\",\r\n \ - \ \"13.84.189.95/32\",\r\n \"13.84.225.10/32\",\r\n \"13.85.70.142/32\"\ - ,\r\n \"13.86.218.224/28\",\r\n \"13.86.218.248/29\",\r\n\ - \ \"13.86.223.128/26\",\r\n \"13.87.56.248/29\",\r\n \ - \ \"13.87.57.128/28\",\r\n \"13.87.122.248/29\",\r\n \ - \ \"13.87.123.128/28\",\r\n \"13.88.177.28/32\",\r\n \ - \ \"13.88.230.43/32\",\r\n \"13.88.247.208/32\",\r\n \"\ - 13.88.255.115/32\",\r\n \"13.89.42.127/32\",\r\n \"13.89.171.112/30\"\ - ,\r\n \"13.89.174.128/29\",\r\n \"13.90.93.206/32\",\r\n\ - \ \"13.90.248.141/32\",\r\n \"13.90.249.229/32\",\r\n \ - \ \"13.90.251.123/32\",\r\n \"13.91.42.27/32\",\r\n \ - \ \"13.91.102.27/32\",\r\n \"13.92.40.198/32\",\r\n \"\ - 13.92.40.223/32\",\r\n \"13.92.138.16/32\",\r\n \"13.92.179.52/32\"\ - ,\r\n \"13.92.211.249/32\",\r\n \"13.92.232.146/32\",\r\n\ - \ \"13.92.254.218/32\",\r\n \"13.92.255.146/32\",\r\n \ - \ \"13.93.215.80/32\",\r\n \"13.93.233.49/32\",\r\n \ - \ \"13.93.236.73/32\",\r\n \"13.94.39.13/32\",\r\n \"\ - 20.36.107.24/29\",\r\n \"20.36.107.160/28\",\r\n \"20.36.114.200/29\"\ - ,\r\n \"20.36.114.208/28\",\r\n \"20.36.125.224/27\",\r\n\ - \ \"20.37.71.0/27\",\r\n \"20.37.74.232/29\",\r\n \ - \ \"20.37.74.240/28\",\r\n \"20.37.152.68/31\",\r\n \"\ - 20.37.192.68/31\",\r\n \"20.37.195.26/31\",\r\n \"20.37.198.112/28\"\ - ,\r\n \"20.37.198.140/32\",\r\n \"20.37.198.232/29\",\r\n\ - \ \"20.37.198.240/28\",\r\n \"20.37.227.16/28\",\r\n \ - \ \"20.37.227.100/31\",\r\n \"20.37.227.104/29\",\r\n \ - \ \"20.37.227.112/28\",\r\n \"20.38.80.68/31\",\r\n \ - \ \"20.38.128.64/29\",\r\n \"20.38.132.64/27\",\r\n \"20.38.143.0/27\"\ - ,\r\n \"20.38.146.152/29\",\r\n \"20.38.147.144/29\",\r\n\ - \ \"20.38.152.32/27\",\r\n \"20.39.14.0/28\",\r\n \ - \ \"20.39.15.16/28\",\r\n \"20.39.15.32/28\",\r\n \"\ - 20.40.124.0/32\",\r\n \"20.40.137.91/32\",\r\n \"20.40.140.212/32\"\ - ,\r\n \"20.40.160.120/32\",\r\n \"20.40.200.172/31\",\r\n\ - \ \"20.40.200.174/32\",\r\n \"20.40.206.128/28\",\r\n \ - \ \"20.40.206.232/29\",\r\n \"20.40.207.128/28\",\r\n \ - \ \"20.40.228.0/26\",\r\n \"20.41.49.208/32\",\r\n \ - \ \"20.41.64.68/31\",\r\n \"20.41.67.112/28\",\r\n \"20.41.69.4/30\"\ - ,\r\n \"20.41.69.16/28\",\r\n \"20.41.69.48/31\",\r\n \ - \ \"20.41.208.32/27\",\r\n \"20.42.0.68/31\",\r\n \ - \ \"20.42.65.128/25\",\r\n \"20.42.73.128/25\",\r\n \"\ - 20.42.128.68/31\",\r\n \"20.42.230.112/28\",\r\n \"20.42.230.208/28\"\ - ,\r\n \"20.42.230.224/29\",\r\n \"20.42.230.232/31\",\r\n\ - \ \"20.43.40.68/31\",\r\n \"20.43.41.178/31\",\r\n \ - \ \"20.43.44.128/28\",\r\n \"20.43.44.216/29\",\r\n \ - \ \"20.43.44.224/28\",\r\n \"20.43.64.68/31\",\r\n \"20.43.65.154/31\"\ - ,\r\n \"20.43.70.96/28\",\r\n \"20.43.70.192/29\",\r\n \ - \ \"20.43.70.200/30\",\r\n \"20.43.70.204/32\",\r\n \ - \ \"20.43.70.224/29\",\r\n \"20.43.98.234/32\",\r\n \ - \ \"20.43.99.158/32\",\r\n \"20.43.120.0/29\",\r\n \"20.43.120.240/29\"\ - ,\r\n \"20.43.128.68/31\",\r\n \"20.43.152.45/32\",\r\n\ - \ \"20.44.3.48/28\",\r\n \"20.44.8.0/28\",\r\n \ - \ \"20.44.11.192/26\",\r\n \"20.44.12.192/26\",\r\n \"20.44.16.0/29\"\ - ,\r\n \"20.44.17.0/29\",\r\n \"20.44.26.152/29\",\r\n \ - \ \"20.44.26.248/29\",\r\n \"20.44.73.196/32\",\r\n \ - \ \"20.44.192.217/32\",\r\n \"20.45.122.152/29\",\r\n \ - \ \"20.45.123.80/29\",\r\n \"20.45.123.116/30\",\r\n \"\ - 20.45.125.224/28\",\r\n \"20.46.10.224/27\",\r\n \"20.48.193.224/27\"\ - ,\r\n \"20.49.83.32/28\",\r\n \"20.49.84.32/27\",\r\n \ - \ \"20.49.91.32/28\",\r\n \"20.49.93.192/26\",\r\n \ - \ \"20.49.99.44/31\",\r\n \"20.49.99.64/28\",\r\n \"20.49.102.24/29\"\ - ,\r\n \"20.49.102.32/28\",\r\n \"20.49.109.46/31\",\r\n\ - \ \"20.49.109.80/28\",\r\n \"20.49.111.16/28\",\r\n \ - \ \"20.49.111.32/28\",\r\n \"20.49.114.20/30\",\r\n \ - \ \"20.49.114.32/28\",\r\n \"20.49.114.48/31\",\r\n \"\ - 20.49.120.64/28\",\r\n \"20.50.65.80/28\",\r\n \"20.50.68.112/29\"\ - ,\r\n \"20.50.68.120/30\",\r\n \"20.50.68.124/31\",\r\n\ - \ \"20.50.68.128/29\",\r\n \"20.51.9.0/26\",\r\n \ - \ \"20.51.17.64/27\",\r\n \"20.52.64.32/27\",\r\n \"20.52.72.64/27\"\ - ,\r\n \"20.53.0.128/27\",\r\n \"20.53.46.64/27\",\r\n \ - \ \"20.53.48.64/27\",\r\n \"20.58.66.96/27\",\r\n \ - \ \"20.61.99.64/27\",\r\n \"20.62.132.0/25\",\r\n \"20.65.132.0/26\"\ - ,\r\n \"20.66.2.192/26\",\r\n \"20.72.20.48/28\",\r\n \ - \ \"20.72.21.0/30\",\r\n \"20.72.21.32/27\",\r\n \ - \ \"20.72.28.192/27\",\r\n \"20.135.13.192/26\",\r\n \"\ - 20.150.167.184/29\",\r\n \"20.150.171.208/29\",\r\n \"20.150.173.0/28\"\ - ,\r\n \"20.150.178.152/29\",\r\n \"20.150.181.96/28\",\r\ - \n \"20.150.182.32/27\",\r\n \"20.150.186.152/29\",\r\n\ - \ \"20.150.241.64/29\",\r\n \"20.150.241.72/30\",\r\n \ - \ \"20.150.241.96/27\",\r\n \"20.187.197.192/27\",\r\n \ - \ \"20.188.36.28/32\",\r\n \"20.189.109.144/28\",\r\n \ - \ \"20.189.111.0/28\",\r\n \"20.189.111.16/29\",\r\n \ - \ \"20.189.111.24/31\",\r\n \"20.189.172.0/25\",\r\n \"\ - 20.189.225.128/27\",\r\n \"20.190.60.32/32\",\r\n \"20.190.60.38/32\"\ - ,\r\n \"20.191.165.64/27\",\r\n \"20.192.32.192/27\",\r\n\ - \ \"20.192.43.96/27\",\r\n \"20.192.48.0/27\",\r\n \ - \ \"20.192.50.192/28\",\r\n \"20.192.98.152/29\",\r\n \ - \ \"20.192.101.32/27\",\r\n \"20.192.167.160/27\",\r\n \ - \ \"20.192.231.244/30\",\r\n \"20.192.235.144/28\",\r\n \ - \ \"20.193.96.32/27\",\r\n \"20.193.194.24/29\",\r\n \"\ - 20.193.194.32/29\",\r\n \"20.193.194.40/30\",\r\n \"20.193.203.112/28\"\ - ,\r\n \"20.193.204.64/27\",\r\n \"20.194.67.32/28\",\r\n\ - \ \"20.194.67.224/27\",\r\n \"20.194.72.224/27\",\r\n \ - \ \"23.96.28.38/32\",\r\n \"23.96.245.125/32\",\r\n \ - \ \"23.96.252.161/32\",\r\n \"23.96.252.216/32\",\r\n \ - \ \"23.97.65.103/32\",\r\n \"23.98.82.120/29\",\r\n \"\ - 23.98.82.208/28\",\r\n \"23.98.104.160/28\",\r\n \"23.98.106.136/29\"\ - ,\r\n \"23.98.106.144/30\",\r\n \"23.98.106.148/31\",\r\n\ - \ \"23.98.106.150/32\",\r\n \"23.98.106.152/29\",\r\n \ - \ \"23.99.130.172/32\",\r\n \"23.100.90.7/32\",\r\n \ - \ \"23.100.94.221/32\",\r\n \"23.100.122.113/32\",\r\n \ - \ \"23.100.228.32/32\",\r\n \"23.101.0.142/32\",\r\n \"\ - 23.101.9.4/32\",\r\n \"23.101.13.65/32\",\r\n \"23.101.69.223/32\"\ - ,\r\n \"23.101.225.155/32\",\r\n \"23.101.232.120/32\",\r\ - \n \"23.101.239.238/32\",\r\n \"23.102.44.211/32\",\r\n\ - \ \"23.102.45.216/32\",\r\n \"23.102.66.132/32\",\r\n \ - \ \"23.102.77.48/32\",\r\n \"23.102.181.197/32\",\r\n \ - \ \"40.64.132.128/28\",\r\n \"40.64.132.240/28\",\r\n \ - \ \"40.64.134.128/29\",\r\n \"40.64.134.136/31\",\r\n \ - \ \"40.64.134.138/32\",\r\n \"40.67.52.224/27\",\r\n \"\ - 40.67.59.192/28\",\r\n \"40.67.122.0/26\",\r\n \"40.68.61.229/32\"\ - ,\r\n \"40.68.154.39/32\",\r\n \"40.69.81.159/32\",\r\n\ - \ \"40.69.107.16/28\",\r\n \"40.69.108.48/29\",\r\n \ - \ \"40.69.111.128/27\",\r\n \"40.69.194.158/32\",\r\n \ - \ \"40.70.23.205/32\",\r\n \"40.70.148.0/30\",\r\n \"\ - 40.70.148.8/29\",\r\n \"40.71.12.224/28\",\r\n \"40.71.12.240/30\"\ - ,\r\n \"40.71.12.248/29\",\r\n \"40.71.13.168/29\",\r\n\ - \ \"40.71.14.112/30\",\r\n \"40.71.183.225/32\",\r\n \ - \ \"40.74.24.68/31\",\r\n \"40.74.36.208/32\",\r\n \ - \ \"40.74.59.40/32\",\r\n \"40.74.101.32/28\",\r\n \"40.74.101.200/29\"\ - ,\r\n \"40.74.146.84/30\",\r\n \"40.74.147.160/29\",\r\n\ - \ \"40.74.150.32/27\",\r\n \"40.74.249.98/32\",\r\n \ - \ \"40.75.34.40/29\",\r\n \"40.75.35.64/29\",\r\n \"\ - 40.76.29.55/32\",\r\n \"40.76.53.225/32\",\r\n \"40.77.17.183/32\"\ - ,\r\n \"40.77.22.234/32\",\r\n \"40.77.24.27/32\",\r\n \ - \ \"40.77.101.95/32\",\r\n \"40.77.109.134/32\",\r\n \ - \ \"40.78.23.86/32\",\r\n \"40.78.57.61/32\",\r\n \"\ - 40.78.107.177/32\",\r\n \"40.78.195.16/28\",\r\n \"40.78.196.48/29\"\ - ,\r\n \"40.78.202.144/28\",\r\n \"40.78.203.240/29\",\r\n\ - \ \"40.78.226.216/29\",\r\n \"40.78.229.32/29\",\r\n \ - \ \"40.78.234.56/29\",\r\n \"40.78.234.144/28\",\r\n \ - \ \"40.78.242.168/30\",\r\n \"40.78.243.16/29\",\r\n \ - \ \"40.78.247.64/26\",\r\n \"40.78.250.104/30\",\r\n \"\ - 40.78.250.208/29\",\r\n \"40.78.253.192/26\",\r\n \"40.79.130.240/29\"\ - ,\r\n \"40.79.132.32/29\",\r\n \"40.79.138.40/30\",\r\n\ - \ \"40.79.138.144/29\",\r\n \"40.79.146.40/30\",\r\n \ - \ \"40.79.146.144/29\",\r\n \"40.79.154.80/29\",\r\n \ - \ \"40.79.156.32/29\",\r\n \"40.79.162.40/29\",\r\n \"\ - 40.79.163.0/29\",\r\n \"40.79.165.64/28\",\r\n \"40.79.170.24/29\"\ - ,\r\n \"40.79.170.240/29\",\r\n \"40.79.179.8/29\",\r\n\ - \ \"40.79.179.16/28\",\r\n \"40.79.187.8/29\",\r\n \ - \ \"40.79.190.160/27\",\r\n \"40.79.194.104/29\",\r\n \ - \ \"40.79.194.112/29\",\r\n \"40.80.50.152/29\",\r\n \"\ - 40.80.51.80/29\",\r\n \"40.80.180.160/27\",\r\n \"40.80.191.224/28\"\ - ,\r\n \"40.81.58.225/32\",\r\n \"40.84.133.5/32\",\r\n \ - \ \"40.84.150.47/32\",\r\n \"40.84.189.107/32\",\r\n \ - \ \"40.84.192.116/32\",\r\n \"40.85.180.90/32\",\r\n \ - \ \"40.85.201.168/32\",\r\n \"40.85.218.175/32\",\r\n \ - \ \"40.85.248.43/32\",\r\n \"40.86.89.165/32\",\r\n \"40.86.201.128/32\"\ - ,\r\n \"40.87.67.118/32\",\r\n \"40.87.138.220/32\",\r\n\ - \ \"40.87.140.215/32\",\r\n \"40.89.153.171/32\",\r\n \ - \ \"40.89.189.61/32\",\r\n \"40.112.49.101/32\",\r\n \ - \ \"40.112.74.241/32\",\r\n \"40.113.176.128/28\",\r\n \ - \ \"40.113.178.16/28\",\r\n \"40.113.178.32/28\",\r\n \ - \ \"40.113.178.48/32\",\r\n \"40.114.241.141/32\",\r\n \ - \ \"40.115.54.120/32\",\r\n \"40.115.103.168/32\",\r\n \"\ - 40.115.104.31/32\",\r\n \"40.117.80.207/32\",\r\n \"40.117.95.162/32\"\ - ,\r\n \"40.117.147.74/32\",\r\n \"40.117.190.239/32\",\r\ - \n \"40.117.197.224/32\",\r\n \"40.118.129.58/32\",\r\n\ - \ \"40.119.4.128/32\",\r\n \"40.119.8.72/31\",\r\n \ - \ \"40.119.11.160/28\",\r\n \"40.119.11.180/30\",\r\n \ - \ \"40.120.8.192/27\",\r\n \"40.120.75.32/28\",\r\n \"\ - 40.121.57.2/32\",\r\n \"40.121.61.208/32\",\r\n \"40.121.135.131/32\"\ - ,\r\n \"40.121.163.228/32\",\r\n \"40.121.165.150/32\",\r\ - \n \"40.121.210.163/32\",\r\n \"40.124.64.192/26\",\r\n\ - \ \"40.126.246.183/32\",\r\n \"40.127.75.125/32\",\r\n \ - \ \"40.127.84.197/32\",\r\n \"40.127.144.141/32\",\r\n \ - \ \"51.11.97.96/27\",\r\n \"51.12.17.20/30\",\r\n \ - \ \"51.12.17.56/29\",\r\n \"51.12.17.128/29\",\r\n \"51.12.25.56/29\"\ - ,\r\n \"51.12.25.192/29\",\r\n \"51.12.25.200/30\",\r\n\ - \ \"51.12.46.0/27\",\r\n \"51.12.99.72/29\",\r\n \ - \ \"51.12.102.192/27\",\r\n \"51.12.195.224/27\",\r\n \ - \ \"51.12.203.208/28\",\r\n \"51.12.205.96/27\",\r\n \"\ - 51.12.226.152/29\",\r\n \"51.12.234.152/29\",\r\n \"51.12.237.32/27\"\ - ,\r\n \"51.13.128.32/27\",\r\n \"51.13.136.192/27\",\r\n\ - \ \"51.104.8.104/29\",\r\n \"51.104.15.255/32\",\r\n \ - \ \"51.104.24.68/31\",\r\n \"51.104.25.142/31\",\r\n \ - \ \"51.104.29.192/28\",\r\n \"51.104.30.160/29\",\r\n \ - \ \"51.104.30.168/32\",\r\n \"51.104.30.176/28\",\r\n \"\ - 51.104.252.13/32\",\r\n \"51.104.255.249/32\",\r\n \"51.105.66.152/29\"\ - ,\r\n \"51.105.67.160/29\",\r\n \"51.105.70.128/27\",\r\n\ - \ \"51.105.74.152/29\",\r\n \"51.105.75.144/29\",\r\n \ - \ \"51.105.248.23/32\",\r\n \"51.107.48.68/31\",\r\n \ - \ \"51.107.48.126/31\",\r\n \"51.107.51.16/28\",\r\n \ - \ \"51.107.51.120/29\",\r\n \"51.107.52.192/30\",\r\n \"\ - 51.107.52.200/29\",\r\n \"51.107.59.176/28\",\r\n \"51.107.75.144/32\"\ - ,\r\n \"51.107.75.207/32\",\r\n \"51.107.128.96/27\",\r\n\ - \ \"51.107.147.16/28\",\r\n \"51.107.147.116/30\",\r\n \ - \ \"51.107.148.0/28\",\r\n \"51.107.148.16/31\",\r\n \ - \ \"51.107.155.176/28\",\r\n \"51.107.156.48/29\",\r\n \ - \ \"51.107.192.160/27\",\r\n \"51.107.242.0/27\",\r\n \ - \ \"51.107.250.0/27\",\r\n \"51.116.54.32/27\",\r\n \"\ - 51.116.59.176/28\",\r\n \"51.116.149.0/27\",\r\n \"51.116.155.240/28\"\ - ,\r\n \"51.116.242.152/29\",\r\n \"51.116.245.96/28\",\r\ - \n \"51.116.250.152/29\",\r\n \"51.116.253.32/28\",\r\n\ - \ \"51.120.40.68/31\",\r\n \"51.120.98.0/29\",\r\n \ - \ \"51.120.98.248/29\",\r\n \"51.120.106.152/29\",\r\n \ - \ \"51.120.210.152/29\",\r\n \"51.120.213.64/27\",\r\n \ - \ \"51.120.219.208/28\",\r\n \"51.120.232.160/27\",\r\n \ - \ \"51.137.164.92/31\",\r\n \"51.137.164.112/28\",\r\n \ - \ \"51.137.164.200/29\",\r\n \"51.137.164.208/28\",\r\n \ - \ \"51.140.6.23/32\",\r\n \"51.140.54.208/32\",\r\n \"\ - 51.140.60.235/32\",\r\n \"51.140.69.144/32\",\r\n \"51.140.148.48/28\"\ - ,\r\n \"51.140.152.61/32\",\r\n \"51.140.152.186/32\",\r\ - \n \"51.140.163.207/32\",\r\n \"51.140.180.52/32\",\r\n\ - \ \"51.140.181.40/32\",\r\n \"51.140.211.160/28\",\r\n \ - \ \"51.140.212.64/29\",\r\n \"51.141.113.128/32\",\r\n \ - \ \"51.143.88.183/32\",\r\n \"51.143.165.22/32\",\r\n \ - \ \"51.143.209.96/27\",\r\n \"51.144.41.38/32\",\r\n \ - \ \"51.144.81.252/32\",\r\n \"51.145.44.242/32\",\r\n \ - \ \"52.136.53.96/27\",\r\n \"52.138.31.112/32\",\r\n \"\ - 52.138.31.127/32\",\r\n \"52.138.90.48/30\",\r\n \"52.138.90.56/29\"\ - ,\r\n \"52.138.222.110/32\",\r\n \"52.138.226.88/29\",\r\ - \n \"52.138.227.128/29\",\r\n \"52.139.8.32/32\",\r\n \ - \ \"52.139.106.160/27\",\r\n \"52.140.104.68/31\",\r\n \ - \ \"52.140.108.96/28\",\r\n \"52.140.108.216/29\",\r\n \ - \ \"52.140.108.224/28\",\r\n \"52.140.108.240/31\",\r\n \ - \ \"52.141.22.149/32\",\r\n \"52.141.22.239/32\",\r\n \ - \ \"52.146.133.32/27\",\r\n \"52.147.97.64/27\",\r\n \ - \ \"52.147.112.96/27\",\r\n \"52.150.36.187/32\",\r\n \"\ - 52.150.152.48/28\",\r\n \"52.150.152.90/31\",\r\n \"52.150.154.24/29\"\ - ,\r\n \"52.150.154.32/28\",\r\n \"52.151.11.176/32\",\r\n\ - \ \"52.155.118.97/32\",\r\n \"52.155.162.238/32\",\r\n \ - \ \"52.156.40.142/32\",\r\n \"52.156.168.82/32\",\r\n \ - \ \"52.161.8.76/32\",\r\n \"52.161.11.71/32\",\r\n \ - \ \"52.161.12.245/32\",\r\n \"52.162.87.50/32\",\r\n \"\ - 52.162.110.64/28\",\r\n \"52.162.110.168/29\",\r\n \"52.162.214.75/32\"\ - ,\r\n \"52.163.94.131/32\",\r\n \"52.163.122.20/32\",\r\n\ - \ \"52.164.120.183/32\",\r\n \"52.164.125.22/32\",\r\n \ - \ \"52.164.225.5/32\",\r\n \"52.165.27.187/32\",\r\n \ - \ \"52.165.34.117/32\",\r\n \"52.165.38.20/32\",\r\n \ - \ \"52.165.150.242/32\",\r\n \"52.167.106.88/29\",\r\n \ - \ \"52.167.107.64/29\",\r\n \"52.167.221.184/32\",\r\n \ - \ \"52.168.112.64/32\",\r\n \"52.168.136.177/32\",\r\n \"\ - 52.169.4.236/32\",\r\n \"52.169.15.254/32\",\r\n \"52.169.30.110/32\"\ - ,\r\n \"52.169.64.244/32\",\r\n \"52.171.56.178/32\",\r\n\ - \ \"52.171.138.167/32\",\r\n \"52.172.113.64/27\",\r\n \ - \ \"52.172.209.125/32\",\r\n \"52.173.25.25/32\",\r\n \ - \ \"52.173.33.254/32\",\r\n \"52.173.90.199/32\",\r\n \ - \ \"52.173.185.24/32\",\r\n \"52.173.196.209/32\",\r\n \ - \ \"52.173.196.230/32\",\r\n \"52.173.249.138/32\",\r\n \ - \ \"52.175.198.74/32\",\r\n \"52.175.231.105/32\",\r\n \ - \ \"52.175.235.148/32\",\r\n \"52.176.42.206/32\",\r\n \ - \ \"52.176.46.30/32\",\r\n \"52.176.49.206/32\",\r\n \"\ - 52.176.55.135/32\",\r\n \"52.176.92.196/32\",\r\n \"52.177.223.60/32\"\ - ,\r\n \"52.178.26.73/32\",\r\n \"52.178.37.209/32\",\r\n\ - \ \"52.179.192.178/32\",\r\n \"52.180.160.132/32\",\r\n\ - \ \"52.180.164.91/32\",\r\n \"52.180.178.187/32\",\r\n \ - \ \"52.180.182.209/32\",\r\n \"52.182.138.216/29\",\r\n \ - \ \"52.182.139.48/29\",\r\n \"52.183.41.109/32\",\r\n \ - \ \"52.183.66.112/32\",\r\n \"52.183.73.112/32\",\r\n \ - \ \"52.183.95.86/32\",\r\n \"52.183.127.155/32\",\r\n \ - \ \"52.184.158.205/32\",\r\n \"52.185.132.101/32\",\r\n \ - \ \"52.185.132.170/32\",\r\n \"52.185.215.171/32\",\r\n \ - \ \"52.186.121.41/32\",\r\n \"52.186.126.31/32\",\r\n \ - \ \"52.188.179.229/32\",\r\n \"52.191.170.253/32\",\r\n \ - \ \"52.191.197.52/32\",\r\n \"52.224.125.230/32\",\r\n \"\ - 52.224.162.220/32\",\r\n \"52.224.235.3/32\",\r\n \"52.226.151.250/32\"\ - ,\r\n \"52.228.80.68/31\",\r\n \"52.228.81.162/31\",\r\n\ - \ \"52.228.85.192/28\",\r\n \"52.228.86.152/29\",\r\n \ - \ \"52.228.86.160/28\",\r\n \"52.228.86.176/32\",\r\n \ - \ \"52.229.25.130/32\",\r\n \"52.229.37.75/32\",\r\n \ - \ \"52.229.218.221/32\",\r\n \"52.229.225.6/32\",\r\n \ - \ \"52.230.224.237/32\",\r\n \"52.231.18.240/28\",\r\n \"\ - 52.231.28.204/32\",\r\n \"52.231.33.16/32\",\r\n \"52.231.64.72/32\"\ - ,\r\n \"52.231.67.208/32\",\r\n \"52.231.70.0/32\",\r\n\ - \ \"52.231.108.46/32\",\r\n \"52.231.111.52/32\",\r\n \ - \ \"52.231.147.160/28\",\r\n \"52.231.148.80/29\",\r\n \ - \ \"52.232.35.33/32\",\r\n \"52.232.65.133/32\",\r\n \ - \ \"52.232.106.242/32\",\r\n \"52.236.186.88/29\",\r\n \ - \ \"52.236.186.208/28\",\r\n \"52.237.34.41/32\",\r\n \ - \ \"52.237.157.70/32\",\r\n \"52.242.230.209/32\",\r\n \"\ - 52.246.154.152/29\",\r\n \"52.246.155.144/29\",\r\n \"52.246.157.16/28\"\ - ,\r\n \"52.247.202.90/32\",\r\n \"52.250.228.8/29\",\r\n\ - \ \"52.250.228.16/28\",\r\n \"52.250.228.32/31\",\r\n \ - \ \"65.52.2.145/32\",\r\n \"65.52.5.76/32\",\r\n \ - \ \"65.52.122.208/32\",\r\n \"65.52.250.232/29\",\r\n \"\ - 65.52.250.240/28\",\r\n \"102.37.64.128/27\",\r\n \"102.37.80.64/27\"\ - ,\r\n \"102.133.27.48/28\",\r\n \"102.133.28.64/29\",\r\n\ - \ \"102.133.122.152/29\",\r\n \"102.133.123.240/29\",\r\n\ - \ \"102.133.126.64/27\",\r\n \"102.133.155.48/28\",\r\n\ - \ \"102.133.161.73/32\",\r\n \"102.133.162.233/32\",\r\n\ - \ \"102.133.216.68/31\",\r\n \"102.133.216.106/31\",\r\n\ - \ \"102.133.218.144/28\",\r\n \"102.133.218.244/30\",\r\n\ - \ \"102.133.219.128/28\",\r\n \"102.133.221.160/27\",\r\n\ - \ \"102.133.250.152/29\",\r\n \"102.133.251.80/29\",\r\n\ - \ \"104.40.222.36/32\",\r\n \"104.41.61.169/32\",\r\n \ - \ \"104.41.152.101/32\",\r\n \"104.41.157.59/32\",\r\n \ - \ \"104.41.224.134/32\",\r\n \"104.42.40.28/32\",\r\n \ - \ \"104.44.140.84/32\",\r\n \"104.45.136.42/32\",\r\n \ - \ \"104.45.230.69/32\",\r\n \"104.45.232.72/32\",\r\n \ - \ \"104.46.123.164/32\",\r\n \"104.46.162.64/27\",\r\n \"\ - 104.46.179.128/27\",\r\n \"104.208.33.155/32\",\r\n \"104.208.34.98/32\"\ - ,\r\n \"104.208.35.169/32\",\r\n \"104.209.156.106/32\"\ - ,\r\n \"104.209.161.217/32\",\r\n \"104.210.9.42/32\",\r\ - \n \"104.211.79.84/32\",\r\n \"104.211.90.234/32\",\r\n\ - \ \"104.211.91.254/32\",\r\n \"104.211.92.54/32\",\r\n \ - \ \"104.211.92.218/32\",\r\n \"104.211.95.59/32\",\r\n \ - \ \"104.211.96.228/32\",\r\n \"104.211.103.96/32\",\r\n \ - \ \"104.211.147.128/28\",\r\n \"104.211.216.161/32\",\r\n\ - \ \"104.214.70.219/32\",\r\n \"104.214.104.109/32\",\r\n\ - \ \"104.214.164.128/27\",\r\n \"104.215.81.124/32\",\r\n\ - \ \"104.215.96.105/32\",\r\n \"104.215.100.22/32\",\r\n\ - \ \"104.215.103.78/32\",\r\n \"104.215.115.118/32\",\r\n\ - \ \"111.221.88.173/32\",\r\n \"137.116.82.175/32\",\r\n\ - \ \"137.116.146.215/32\",\r\n \"137.116.151.139/32\",\r\n\ - \ \"137.116.226.81/32\",\r\n \"137.117.144.33/32\",\r\n\ - \ \"138.91.9.98/32\",\r\n \"138.91.32.98/32\",\r\n \ - \ \"138.91.37.93/32\",\r\n \"157.55.177.6/32\",\r\n \ - \ \"168.61.142.0/27\",\r\n \"168.61.179.178/32\",\r\n \"\ - 168.62.169.17/32\",\r\n \"168.63.174.169/32\",\r\n \"168.63.242.221/32\"\ - ,\r\n \"191.232.33.83/32\",\r\n \"191.232.161.75/32\",\r\ - \n \"191.232.213.23/32\",\r\n \"191.232.213.239/32\",\r\n\ - \ \"191.232.214.6/32\",\r\n \"191.232.239.181/32\",\r\n\ - \ \"191.233.15.128/27\",\r\n \"191.233.51.128/28\",\r\n\ - \ \"191.233.203.232/29\",\r\n \"191.233.204.248/29\",\r\n\ - \ \"191.234.136.60/31\",\r\n \"191.234.136.80/28\",\r\n\ - \ \"191.234.137.40/29\",\r\n \"191.234.137.48/28\",\r\n\ - \ \"191.234.146.152/29\",\r\n \"191.234.149.144/28\",\r\n\ - \ \"191.234.154.152/29\",\r\n \"191.234.157.48/28\",\r\n\ - \ \"191.235.224.68/31\",\r\n \"191.237.224.192/27\",\r\n\ - \ \"191.239.251.90/32\",\r\n \"207.46.224.101/32\",\r\n\ - \ \"207.46.236.191/32\",\r\n \"2603:1000:4::780/121\",\r\ - \n \"2603:1000:104::4c0/122\",\r\n \"2603:1000:104::600/122\"\ - ,\r\n \"2603:1000:104:1::280/122\",\r\n \"2603:1010:6::60/123\"\ - ,\r\n \"2603:1010:6::1c0/122\",\r\n \"2603:1010:6::300/123\"\ - ,\r\n \"2603:1010:6:1::280/122\",\r\n \"2603:1010:101::780/121\"\ - ,\r\n \"2603:1010:304::780/121\",\r\n \"2603:1010:404::780/121\"\ - ,\r\n \"2603:1020:5::60/123\",\r\n \"2603:1020:5::1c0/122\"\ - ,\r\n \"2603:1020:5::300/123\",\r\n \"2603:1020:5:1::280/122\"\ - ,\r\n \"2603:1020:206::60/123\",\r\n \"2603:1020:206::1c0/122\"\ - ,\r\n \"2603:1020:206::300/123\",\r\n \"2603:1020:206:1::280/122\"\ - ,\r\n \"2603:1020:305::780/121\",\r\n \"2603:1020:405::780/121\"\ - ,\r\n \"2603:1020:605::780/121\",\r\n \"2603:1020:705::60/123\"\ - ,\r\n \"2603:1020:705::1c0/122\",\r\n \"2603:1020:705::300/123\"\ - ,\r\n \"2603:1020:705:1::280/122\",\r\n \"2603:1020:805::60/123\"\ - ,\r\n \"2603:1020:805::1c0/122\",\r\n \"2603:1020:805::300/123\"\ - ,\r\n \"2603:1020:805:1::280/122\",\r\n \"2603:1020:905::780/121\"\ - ,\r\n \"2603:1020:a04::60/123\",\r\n \"2603:1020:a04::1c0/122\"\ - ,\r\n \"2603:1020:a04::300/123\",\r\n \"2603:1020:a04:1::280/122\"\ - ,\r\n \"2603:1020:b04::780/121\",\r\n \"2603:1020:c01:2::b/128\"\ - ,\r\n \"2603:1020:c01:2::e/128\",\r\n \"2603:1020:c04::60/123\"\ - ,\r\n \"2603:1020:c04::1c0/122\",\r\n \"2603:1020:c04::300/123\"\ - ,\r\n \"2603:1020:c04:1::280/122\",\r\n \"2603:1020:d01:2::a/128\"\ - ,\r\n \"2603:1020:d04::780/121\",\r\n \"2603:1020:e04::60/123\"\ - ,\r\n \"2603:1020:e04::1c0/122\",\r\n \"2603:1020:e04::300/123\"\ - ,\r\n \"2603:1020:e04:1::280/122\",\r\n \"2603:1020:f04::780/121\"\ - ,\r\n \"2603:1020:1004::280/122\",\r\n \"2603:1020:1004:1::380/121\"\ - ,\r\n \"2603:1020:1004:400::420/123\",\r\n \"2603:1020:1104:1::160/123\"\ - ,\r\n \"2603:1020:1104:1::180/122\",\r\n \"2603:1020:1104:1::1c0/123\"\ - ,\r\n \"2603:1020:1104:1::4c0/123\",\r\n \"2603:1020:1104:400::440/123\"\ - ,\r\n \"2603:1030:7:5::e/128\",\r\n \"2603:1030:7:5::32/128\"\ - ,\r\n \"2603:1030:7:6::10/128\",\r\n \"2603:1030:7:6::14/128\"\ - ,\r\n \"2603:1030:7:6::1b/128\",\r\n \"2603:1030:7:6::37/128\"\ - ,\r\n \"2603:1030:7:6::3f/128\",\r\n \"2603:1030:8:5::8/128\"\ - ,\r\n \"2603:1030:f:1::780/121\",\r\n \"2603:1030:10::60/123\"\ - ,\r\n \"2603:1030:10::1c0/122\",\r\n \"2603:1030:10::300/123\"\ - ,\r\n \"2603:1030:10:1::280/122\",\r\n \"2603:1030:104::60/123\"\ - ,\r\n \"2603:1030:104::1c0/122\",\r\n \"2603:1030:104::300/123\"\ - ,\r\n \"2603:1030:104:1::280/122\",\r\n \"2603:1030:107:1::80/121\"\ - ,\r\n \"2603:1030:107:1::200/123\",\r\n \"2603:1030:107:400::3c0/123\"\ - ,\r\n \"2603:1030:210::60/123\",\r\n \"2603:1030:210::1c0/122\"\ - ,\r\n \"2603:1030:210::300/123\",\r\n \"2603:1030:210:1::280/122\"\ - ,\r\n \"2603:1030:408:6::18/128\",\r\n \"2603:1030:408:6::2a/128\"\ - ,\r\n \"2603:1030:408:6::3f/128\",\r\n \"2603:1030:408:7::37/128\"\ - ,\r\n \"2603:1030:408:7::39/128\",\r\n \"2603:1030:408:7::3b/128\"\ - ,\r\n \"2603:1030:408:7::48/128\",\r\n \"2603:1030:409:2::6/128\"\ - ,\r\n \"2603:1030:409:2::b/128\",\r\n \"2603:1030:409:2::c/128\"\ - ,\r\n \"2603:1030:40b:1::280/122\",\r\n \"2603:1030:40b:2::80/121\"\ - ,\r\n \"2603:1030:40c::60/123\",\r\n \"2603:1030:40c::1c0/122\"\ - ,\r\n \"2603:1030:40c::300/123\",\r\n \"2603:1030:40c:1::280/122\"\ - ,\r\n \"2603:1030:504::380/121\",\r\n \"2603:1030:504:1::280/122\"\ - ,\r\n \"2603:1030:504:c02::100/123\",\r\n \"2603:1030:608::780/121\"\ - ,\r\n \"2603:1030:800:5::bfee:a418/128\",\r\n \"2603:1030:800:5::bfee:a429/128\"\ - ,\r\n \"2603:1030:800:5::bfee:a42a/128\",\r\n \"2603:1030:800:5::bfee:a435/128\"\ - ,\r\n \"2603:1030:807::60/123\",\r\n \"2603:1030:807::1c0/122\"\ - ,\r\n \"2603:1030:807::300/123\",\r\n \"2603:1030:807:1::280/122\"\ - ,\r\n \"2603:1030:a07::780/121\",\r\n \"2603:1030:b00::ca/128\"\ - ,\r\n \"2603:1030:b00::e8/128\",\r\n \"2603:1030:b00::164/128\"\ - ,\r\n \"2603:1030:b00::2a1/128\",\r\n \"2603:1030:b00::4d9/128\"\ - ,\r\n \"2603:1030:b00::4db/128\",\r\n \"2603:1030:b00::50d/128\"\ - ,\r\n \"2603:1030:b04::780/121\",\r\n \"2603:1030:c02:2::4e1/128\"\ - ,\r\n \"2603:1030:c06:1::280/122\",\r\n \"2603:1030:c06:2::80/121\"\ - ,\r\n \"2603:1030:d00::1d/128\",\r\n \"2603:1030:d00::48/128\"\ - ,\r\n \"2603:1030:d00::5a/128\",\r\n \"2603:1030:d00::82/128\"\ - ,\r\n \"2603:1030:d00::84/128\",\r\n \"2603:1030:d00::9a/128\"\ - ,\r\n \"2603:1030:f05::60/123\",\r\n \"2603:1030:f05::1c0/122\"\ - ,\r\n \"2603:1030:f05::300/123\",\r\n \"2603:1030:f05:1::280/122\"\ - ,\r\n \"2603:1030:1005::780/121\",\r\n \"2603:1040:5::160/123\"\ - ,\r\n \"2603:1040:5::2c0/122\",\r\n \"2603:1040:5::400/123\"\ - ,\r\n \"2603:1040:5:1::280/122\",\r\n \"2603:1040:207::780/121\"\ - ,\r\n \"2603:1040:407::60/123\",\r\n \"2603:1040:407::1c0/122\"\ - ,\r\n \"2603:1040:407::300/123\",\r\n \"2603:1040:407:1::280/122\"\ - ,\r\n \"2603:1040:606::780/121\",\r\n \"2603:1040:806::780/121\"\ - ,\r\n \"2603:1040:900:2::e/128\",\r\n \"2603:1040:904::60/123\"\ - ,\r\n \"2603:1040:904::1c0/122\",\r\n \"2603:1040:904::300/123\"\ - ,\r\n \"2603:1040:904:1::280/122\",\r\n \"2603:1040:a06::160/123\"\ - ,\r\n \"2603:1040:a06::2c0/122\",\r\n \"2603:1040:a06::400/123\"\ - ,\r\n \"2603:1040:a06:1::280/122\",\r\n \"2603:1040:b00:2::b/128\"\ - ,\r\n \"2603:1040:b04::780/121\",\r\n \"2603:1040:c06::780/121\"\ - ,\r\n \"2603:1040:d04::280/122\",\r\n \"2603:1040:d04:1::380/121\"\ - ,\r\n \"2603:1040:d04:2::/123\",\r\n \"2603:1040:d04:2::100/121\"\ - ,\r\n \"2603:1040:d04:400::420/123\",\r\n \"2603:1040:f05::60/123\"\ - ,\r\n \"2603:1040:f05::1c0/122\",\r\n \"2603:1040:f05::300/123\"\ - ,\r\n \"2603:1040:f05:1::280/122\",\r\n \"2603:1040:1104:1::160/123\"\ - ,\r\n \"2603:1040:1104:1::180/122\",\r\n \"2603:1040:1104:1::1c0/123\"\ - ,\r\n \"2603:1040:1104:1::580/121\",\r\n \"2603:1040:1104:400::460/123\"\ - ,\r\n \"2603:1050:6::60/123\",\r\n \"2603:1050:6::1c0/122\"\ - ,\r\n \"2603:1050:6::300/123\",\r\n \"2603:1050:6:1::280/122\"\ - ,\r\n \"2603:1050:6:c02::2a0/123\",\r\n \"2603:1050:403::280/122\"\ - ,\r\n \"2603:1050:403:1::80/121\",\r\n \"2a01:111:f100:1003::4134:36c2/128\"\ - ,\r\n \"2a01:111:f100:1003::4134:36d9/128\",\r\n \"2a01:111:f100:1003::4134:370d/128\"\ - ,\r\n \"2a01:111:f100:1005::a83e:f7fe/128\",\r\n \"2a01:111:f100:2000::a83e:3015/128\"\ - ,\r\n \"2a01:111:f100:2000::a83e:301c/128\",\r\n \"2a01:111:f100:2000::a83e:3083/128\"\ - ,\r\n \"2a01:111:f100:2000::a83e:30f3/128\",\r\n \"2a01:111:f100:2000::a83e:313a/128\"\ - ,\r\n \"2a01:111:f100:2000::a83e:335c/128\",\r\n \"2a01:111:f100:2000::a83e:3370/128\"\ - ,\r\n \"2a01:111:f100:2002::8975:2c8c/128\",\r\n \"2a01:111:f100:2002::8975:2ce6/128\"\ - ,\r\n \"2a01:111:f100:2002::8975:2d44/128\",\r\n \"2a01:111:f100:2002::8975:2e91/128\"\ - ,\r\n \"2a01:111:f100:2002::8975:2fc3/128\",\r\n \"2a01:111:f100:3000::a83e:187a/128\"\ - ,\r\n \"2a01:111:f100:3000::a83e:187c/128\",\r\n \"2a01:111:f100:3000::a83e:1913/128\"\ - ,\r\n \"2a01:111:f100:3000::a83e:1978/128\",\r\n \"2a01:111:f100:3000::a83e:19c0/128\"\ - ,\r\n \"2a01:111:f100:3000::a83e:1a54/127\",\r\n \"2a01:111:f100:3000::a83e:1a8e/128\"\ - ,\r\n \"2a01:111:f100:3000::a83e:1adf/128\",\r\n \"2a01:111:f100:3000::a83e:1b12/128\"\ - ,\r\n \"2a01:111:f100:3001::a83e:a67/128\",\r\n \"2a01:111:f100:4002::9d37:c0bd/128\"\ - ,\r\n \"2a01:111:f100:6000::4134:a6cf/128\",\r\n \"2a01:111:f100:7000::6fdd:5343/128\"\ - ,\r\n \"2a01:111:f100:9001::1761:91e4/128\",\r\n \"2a01:111:f100:9001::1761:958a/128\"\ - ,\r\n \"2a01:111:f100:9001::1761:9696/128\",\r\n \"2a01:111:f100:a001::4134:e463/128\"\ - ,\r\n \"2a01:111:f100:a004::bfeb:8c93/128\",\r\n \"2a01:111:f100:a004::bfeb:8d32/128\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureMonitor.AustraliaCentral\"\ - ,\r\n \"id\": \"AzureMonitor.AustraliaCentral\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"australiacentral\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"AzureMonitor\",\r\n \"addressPrefixes\": [\r\n \"20.36.107.24/29\"\ - ,\r\n \"20.36.107.160/28\",\r\n \"20.37.227.16/28\",\r\n\ - \ \"20.37.227.100/31\",\r\n \"20.37.227.104/29\",\r\n \ - \ \"20.37.227.112/28\",\r\n \"20.53.0.128/27\",\r\n \ - \ \"20.53.48.64/27\",\r\n \"2603:1010:304::780/121\"\r\n \ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureMonitor.AustraliaCentral2\"\ - ,\r\n \"id\": \"AzureMonitor.AustraliaCentral2\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"australiacentral2\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureMonitor\",\r\n \ - \ \"addressPrefixes\": [\r\n \"20.36.114.200/29\",\r\n \ - \ \"20.36.114.208/28\",\r\n \"20.36.125.224/27\",\r\n \ - \ \"20.193.96.32/27\",\r\n \"2603:1010:404::780/121\"\r\n \ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureMonitor.AustraliaEast\"\ - ,\r\n \"id\": \"AzureMonitor.AustraliaEast\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"australiaeast\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureMonitor\",\r\n \ - \ \"addressPrefixes\": [\r\n \"13.70.72.232/29\",\r\n \ - \ \"13.70.73.104/29\",\r\n \"13.70.79.96/27\",\r\n \"\ - 13.70.124.27/32\",\r\n \"13.70.127.61/32\",\r\n \"13.75.195.15/32\"\ - ,\r\n \"20.37.192.68/31\",\r\n \"20.37.195.26/31\",\r\n\ - \ \"20.37.198.112/28\",\r\n \"20.37.198.140/32\",\r\n \ - \ \"20.37.198.232/29\",\r\n \"20.37.198.240/28\",\r\n \ - \ \"20.40.124.0/32\",\r\n \"20.43.98.234/32\",\r\n \ - \ \"20.43.99.158/32\",\r\n \"20.53.46.64/27\",\r\n \"40.79.162.40/29\"\ - ,\r\n \"40.79.163.0/29\",\r\n \"40.79.165.64/28\",\r\n \ - \ \"40.79.170.24/29\",\r\n \"40.79.170.240/29\",\r\n \ - \ \"40.126.246.183/32\",\r\n \"52.156.168.82/32\",\r\n \ - \ \"2603:1010:6::60/123\",\r\n \"2603:1010:6::1c0/122\",\r\n\ - \ \"2603:1010:6::300/123\",\r\n \"2603:1010:6:1::280/122\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureMonitor.AustraliaSoutheast\"\ - ,\r\n \"id\": \"AzureMonitor.AustraliaSoutheast\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"australiasoutheast\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureMonitor\",\r\n \ - \ \"addressPrefixes\": [\r\n \"13.77.52.16/28\",\r\n \ - \ \"13.77.53.48/29\",\r\n \"13.77.53.220/32\",\r\n \"20.40.160.120/32\"\ - ,\r\n \"20.42.230.112/28\",\r\n \"20.42.230.208/28\",\r\n\ - \ \"20.42.230.224/29\",\r\n \"20.42.230.232/31\",\r\n \ - \ \"23.101.225.155/32\",\r\n \"23.101.232.120/32\",\r\n \ - \ \"23.101.239.238/32\",\r\n \"40.81.58.225/32\",\r\n \ - \ \"40.127.75.125/32\",\r\n \"40.127.84.197/32\",\r\n \ - \ \"104.46.162.64/27\",\r\n \"104.46.179.128/27\",\r\n \ - \ \"2603:1010:101::780/121\"\r\n ]\r\n }\r\n },\r\n {\r\ - \n \"name\": \"AzureMonitor.BrazilSouth\",\r\n \"id\": \"AzureMonitor.BrazilSouth\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \ - \ \"region\": \"brazilsouth\",\r\n \"state\": \"GA\",\r\n \ - \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n \ - \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\"\ - : \"AzureMonitor\",\r\n \"addressPrefixes\": [\r\n \"104.41.61.169/32\"\ - ,\r\n \"191.232.33.83/32\",\r\n \"191.232.161.75/32\",\r\ - \n \"191.232.213.23/32\",\r\n \"191.232.213.239/32\",\r\n\ - \ \"191.232.214.6/32\",\r\n \"191.232.239.181/32\",\r\n\ - \ \"191.233.203.232/29\",\r\n \"191.233.204.248/29\",\r\n\ - \ \"191.234.136.60/31\",\r\n \"191.234.136.80/28\",\r\n\ - \ \"191.234.137.40/29\",\r\n \"191.234.137.48/28\",\r\n\ - \ \"191.234.146.152/29\",\r\n \"191.234.149.144/28\",\r\n\ - \ \"191.234.154.152/29\",\r\n \"191.234.157.48/28\",\r\n\ - \ \"191.235.224.68/31\",\r\n \"191.239.251.90/32\",\r\n\ - \ \"2603:1050:6::60/123\",\r\n \"2603:1050:6::1c0/122\"\ - ,\r\n \"2603:1050:6::300/123\",\r\n \"2603:1050:6:1::280/122\"\ - ,\r\n \"2603:1050:6:c02::2a0/123\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"AzureMonitor.CanadaCentral\",\r\n \ - \ \"id\": \"AzureMonitor.CanadaCentral\",\r\n \"properties\": {\r\n\ - \ \"changeNumber\": \"2\",\r\n \"region\": \"canadacentral\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureMonitor\",\r\n \ - \ \"addressPrefixes\": [\r\n \"13.71.172.128/28\",\r\n \ - \ \"13.71.172.248/29\",\r\n \"13.71.175.128/32\",\r\n \ - \ \"13.71.177.32/27\",\r\n \"13.71.187.91/32\",\r\n \"\ - 13.71.191.47/32\",\r\n \"13.88.230.43/32\",\r\n \"13.88.247.208/32\"\ - ,\r\n \"13.88.255.115/32\",\r\n \"20.38.146.152/29\",\r\n\ - \ \"20.38.147.144/29\",\r\n \"20.48.193.224/27\",\r\n \ - \ \"40.85.201.168/32\",\r\n \"40.85.218.175/32\",\r\n \ - \ \"40.85.248.43/32\",\r\n \"52.138.31.112/32\",\r\n \ - \ \"52.138.31.127/32\",\r\n \"52.139.8.32/32\",\r\n \"\ - 52.228.80.68/31\",\r\n \"52.228.81.162/31\",\r\n \"52.228.85.192/28\"\ - ,\r\n \"52.228.86.152/29\",\r\n \"52.228.86.160/28\",\r\n\ - \ \"52.228.86.176/32\",\r\n \"52.237.34.41/32\",\r\n \ - \ \"52.246.154.152/29\",\r\n \"52.246.155.144/29\",\r\n \ - \ \"52.246.157.16/28\",\r\n \"2603:1030:f05::60/123\",\r\n\ - \ \"2603:1030:f05::1c0/122\",\r\n \"2603:1030:f05::300/123\"\ - ,\r\n \"2603:1030:f05:1::280/122\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"AzureMonitor.CanadaEast\",\r\n \"\ - id\": \"AzureMonitor.CanadaEast\",\r\n \"properties\": {\r\n \"\ - changeNumber\": \"2\",\r\n \"region\": \"canadaeast\",\r\n \"\ - state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\ - \n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n \ - \ ],\r\n \"systemService\": \"AzureMonitor\",\r\n \"addressPrefixes\"\ - : [\r\n \"40.69.107.16/28\",\r\n \"40.69.108.48/29\",\r\n\ - \ \"40.69.111.128/27\",\r\n \"40.86.201.128/32\",\r\n \ - \ \"52.139.106.160/27\",\r\n \"2603:1030:1005::780/121\"\r\ - \n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureMonitor.CentralIndia\"\ - ,\r\n \"id\": \"AzureMonitor.CentralIndia\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"centralindia\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureMonitor\",\r\n \ - \ \"addressPrefixes\": [\r\n \"20.43.120.0/29\",\r\n \ - \ \"20.43.120.240/29\",\r\n \"20.192.43.96/27\",\r\n \"\ - 20.192.98.152/29\",\r\n \"20.192.101.32/27\",\r\n \"40.80.50.152/29\"\ - ,\r\n \"40.80.51.80/29\",\r\n \"52.140.104.68/31\",\r\n\ - \ \"52.140.108.96/28\",\r\n \"52.140.108.216/29\",\r\n \ - \ \"52.140.108.224/28\",\r\n \"52.140.108.240/31\",\r\n \ - \ \"52.172.209.125/32\",\r\n \"104.211.79.84/32\",\r\n \ - \ \"104.211.90.234/32\",\r\n \"104.211.91.254/32\",\r\n \ - \ \"104.211.92.54/32\",\r\n \"104.211.92.218/32\",\r\n \ - \ \"104.211.95.59/32\",\r\n \"104.211.96.228/32\",\r\n \ - \ \"104.211.103.96/32\",\r\n \"2603:1040:a06::160/123\",\r\n\ - \ \"2603:1040:a06::2c0/122\",\r\n \"2603:1040:a06::400/123\"\ - ,\r\n \"2603:1040:a06:1::280/122\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"AzureMonitor.CentralUS\",\r\n \"\ - id\": \"AzureMonitor.CentralUS\",\r\n \"properties\": {\r\n \"\ - changeNumber\": \"3\",\r\n \"region\": \"centralus\",\r\n \"\ - state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\ - \n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n \ - \ ],\r\n \"systemService\": \"AzureMonitor\",\r\n \"addressPrefixes\"\ - : [\r\n \"13.89.42.127/32\",\r\n \"13.89.171.112/30\",\r\ - \n \"13.89.174.128/29\",\r\n \"20.37.152.68/31\",\r\n \ - \ \"20.40.200.172/31\",\r\n \"20.40.200.174/32\",\r\n \ - \ \"20.40.206.128/28\",\r\n \"20.40.206.232/29\",\r\n \ - \ \"20.40.207.128/28\",\r\n \"20.40.228.0/26\",\r\n \"\ - 20.44.8.0/28\",\r\n \"20.44.11.192/26\",\r\n \"20.44.12.192/26\"\ - ,\r\n \"23.99.130.172/32\",\r\n \"40.77.17.183/32\",\r\n\ - \ \"40.77.22.234/32\",\r\n \"40.77.24.27/32\",\r\n \ - \ \"40.77.101.95/32\",\r\n \"40.77.109.134/32\",\r\n \ - \ \"40.86.89.165/32\",\r\n \"52.165.27.187/32\",\r\n \"\ - 52.165.34.117/32\",\r\n \"52.165.38.20/32\",\r\n \"52.165.150.242/32\"\ - ,\r\n \"52.173.25.25/32\",\r\n \"52.173.33.254/32\",\r\n\ - \ \"52.173.90.199/32\",\r\n \"52.173.185.24/32\",\r\n \ - \ \"52.173.196.209/32\",\r\n \"52.173.196.230/32\",\r\n \ - \ \"52.173.249.138/32\",\r\n \"52.176.42.206/32\",\r\n \ - \ \"52.176.46.30/32\",\r\n \"52.176.49.206/32\",\r\n \ - \ \"52.176.55.135/32\",\r\n \"52.176.92.196/32\",\r\n \ - \ \"52.182.138.216/29\",\r\n \"52.182.139.48/29\",\r\n \ - \ \"52.230.224.237/32\",\r\n \"52.242.230.209/32\",\r\n \ - \ \"104.208.33.155/32\",\r\n \"104.208.34.98/32\",\r\n \"\ - 104.208.35.169/32\",\r\n \"168.61.179.178/32\",\r\n \"2603:1030:7:5::e/128\"\ - ,\r\n \"2603:1030:7:5::32/128\",\r\n \"2603:1030:7:6::10/128\"\ - ,\r\n \"2603:1030:7:6::14/128\",\r\n \"2603:1030:7:6::1b/128\"\ - ,\r\n \"2603:1030:7:6::37/128\",\r\n \"2603:1030:7:6::3f/128\"\ - ,\r\n \"2603:1030:10::60/123\",\r\n \"2603:1030:10::1c0/122\"\ - ,\r\n \"2603:1030:10::300/123\",\r\n \"2603:1030:10:1::280/122\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureMonitor.CentralUSEUAP\"\ - ,\r\n \"id\": \"AzureMonitor.CentralUSEUAP\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"centraluseuap\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureMonitor\",\r\n \ - \ \"addressPrefixes\": [\r\n \"20.46.10.224/27\",\r\n \ - \ \"40.78.202.144/28\",\r\n \"40.78.203.240/29\",\r\n \ - \ \"52.180.160.132/32\",\r\n \"52.180.164.91/32\",\r\n \"\ - 52.180.178.187/32\",\r\n \"52.180.182.209/32\",\r\n \"168.61.142.0/27\"\ - ,\r\n \"2603:1030:8:5::8/128\",\r\n \"2603:1030:f:1::780/121\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureMonitor.Core\"\ - ,\r\n \"id\": \"AzureMonitor.Core\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"2\",\r\n \"region\": \"\",\r\n \"\ - state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\ - \n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n \ - \ ],\r\n \"systemService\": \"AzureMonitor\",\r\n \"addressPrefixes\"\ - : [\r\n \"13.69.109.224/27\",\r\n \"13.69.233.96/27\",\r\ - \n \"13.70.79.96/27\",\r\n \"13.71.177.32/27\",\r\n \ - \ \"13.86.223.128/26\",\r\n \"20.36.125.224/27\",\r\n \ - \ \"20.37.71.0/27\",\r\n \"20.38.132.64/27\",\r\n \"\ - 20.38.143.0/27\",\r\n \"20.38.152.32/27\",\r\n \"20.40.228.0/26\"\ - ,\r\n \"20.41.208.32/27\",\r\n \"20.42.65.128/25\",\r\n\ - \ \"20.44.11.192/26\",\r\n \"20.46.10.224/27\",\r\n \ - \ \"20.48.193.224/27\",\r\n \"20.49.84.32/27\",\r\n \ - \ \"20.49.93.192/26\",\r\n \"20.51.9.0/26\",\r\n \"20.51.17.64/27\"\ - ,\r\n \"20.52.64.32/27\",\r\n \"20.52.72.64/27\",\r\n \ - \ \"20.53.0.128/27\",\r\n \"20.53.46.64/27\",\r\n \ - \ \"20.53.48.64/27\",\r\n \"20.58.66.96/27\",\r\n \"20.61.99.64/27\"\ - ,\r\n \"20.62.132.0/25\",\r\n \"20.65.132.0/26\",\r\n \ - \ \"20.66.2.192/26\",\r\n \"20.72.21.32/27\",\r\n \ - \ \"20.72.28.192/27\",\r\n \"20.150.182.32/27\",\r\n \"\ - 20.150.241.96/27\",\r\n \"20.187.197.192/27\",\r\n \"20.189.225.128/27\"\ - ,\r\n \"20.191.165.64/27\",\r\n \"20.192.32.192/27\",\r\n\ - \ \"20.192.43.96/27\",\r\n \"20.192.48.0/27\",\r\n \ - \ \"20.192.101.32/27\",\r\n \"20.192.167.160/27\",\r\n \ - \ \"20.193.96.32/27\",\r\n \"20.193.204.64/27\",\r\n \ - \ \"20.194.67.224/27\",\r\n \"20.194.72.224/27\",\r\n \"\ - 40.67.52.224/27\",\r\n \"40.69.111.128/27\",\r\n \"40.74.150.32/27\"\ - ,\r\n \"40.78.247.64/26\",\r\n \"40.79.190.160/27\",\r\n\ - \ \"40.80.180.160/27\",\r\n \"40.120.8.192/27\",\r\n \ - \ \"51.11.97.96/27\",\r\n \"51.12.46.0/27\",\r\n \"\ - 51.12.102.192/27\",\r\n \"51.12.195.224/27\",\r\n \"51.12.205.96/27\"\ - ,\r\n \"51.12.237.32/27\",\r\n \"51.13.128.32/27\",\r\n\ - \ \"51.13.136.192/27\",\r\n \"51.105.70.128/27\",\r\n \ - \ \"51.107.128.96/27\",\r\n \"51.107.192.160/27\",\r\n \ - \ \"51.107.242.0/27\",\r\n \"51.107.250.0/27\",\r\n \ - \ \"51.116.54.32/27\",\r\n \"51.116.149.0/27\",\r\n \"\ - 51.120.213.64/27\",\r\n \"51.120.232.160/27\",\r\n \"51.143.209.96/27\"\ - ,\r\n \"52.136.53.96/27\",\r\n \"52.139.106.160/27\",\r\n\ - \ \"52.146.133.32/27\",\r\n \"52.147.97.64/27\",\r\n \ - \ \"52.147.112.96/27\",\r\n \"52.172.113.64/27\",\r\n \ - \ \"102.37.64.128/27\",\r\n \"102.37.80.64/27\",\r\n \ - \ \"102.133.126.64/27\",\r\n \"102.133.221.160/27\",\r\n \ - \ \"104.46.162.64/27\",\r\n \"104.46.179.128/27\",\r\n \ - \ \"104.214.164.128/27\",\r\n \"168.61.142.0/27\",\r\n \ - \ \"191.233.15.128/27\",\r\n \"191.237.224.192/27\",\r\n \ - \ \"2603:1020:1004:400::420/123\",\r\n \"2603:1020:1104:1::4c0/123\"\ - ,\r\n \"2603:1020:1104:400::440/123\",\r\n \"2603:1030:107:1::200/123\"\ - ,\r\n \"2603:1030:107:400::3c0/123\",\r\n \"2603:1030:504:c02::100/123\"\ - ,\r\n \"2603:1040:d04:2::/123\",\r\n \"2603:1040:d04:2::100/121\"\ - ,\r\n \"2603:1040:d04:400::420/123\",\r\n \"2603:1040:1104:1::580/121\"\ - ,\r\n \"2603:1040:1104:400::460/123\",\r\n \"2603:1050:6:c02::2a0/123\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureMonitor.EastAsia\"\ - ,\r\n \"id\": \"AzureMonitor.EastAsia\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"2\",\r\n \"region\": \"eastasia\",\r\n\ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"AzureMonitor\",\r\n \ - \ \"addressPrefixes\": [\r\n \"13.75.38.0/28\",\r\n \"13.75.38.120/29\"\ - ,\r\n \"13.75.39.76/30\",\r\n \"13.75.117.221/32\",\r\n\ - \ \"13.75.119.169/32\",\r\n \"13.94.39.13/32\",\r\n \ - \ \"20.187.197.192/27\",\r\n \"20.189.109.144/28\",\r\n \ - \ \"20.189.111.0/28\",\r\n \"20.189.111.16/29\",\r\n \ - \ \"20.189.111.24/31\",\r\n \"23.97.65.103/32\",\r\n \"\ - 23.100.90.7/32\",\r\n \"23.100.94.221/32\",\r\n \"23.101.0.142/32\"\ - ,\r\n \"23.101.9.4/32\",\r\n \"23.101.13.65/32\",\r\n \ - \ \"52.229.218.221/32\",\r\n \"52.229.225.6/32\",\r\n \ - \ \"104.214.164.128/27\",\r\n \"2603:1040:207::780/121\",\r\n\ - \ \"2a01:111:f100:6000::4134:a6cf/128\"\r\n ]\r\n }\r\ - \n },\r\n {\r\n \"name\": \"AzureMonitor.EastUS\",\r\n \"\ - id\": \"AzureMonitor.EastUS\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"2\",\r\n \"region\": \"eastus\",\r\n \"state\": \"GA\",\r\ - \n \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\ - ,\r\n \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\"\ - : \"AzureMonitor\",\r\n \"addressPrefixes\": [\r\n \"13.82.100.176/32\"\ - ,\r\n \"13.82.184.151/32\",\r\n \"13.90.93.206/32\",\r\n\ - \ \"13.90.248.141/32\",\r\n \"13.90.249.229/32\",\r\n \ - \ \"13.90.251.123/32\",\r\n \"13.92.40.198/32\",\r\n \ - \ \"13.92.40.223/32\",\r\n \"13.92.138.16/32\",\r\n \ - \ \"13.92.179.52/32\",\r\n \"13.92.211.249/32\",\r\n \"\ - 13.92.232.146/32\",\r\n \"13.92.254.218/32\",\r\n \"13.92.255.146/32\"\ - ,\r\n \"20.42.0.68/31\",\r\n \"20.42.65.128/25\",\r\n \ - \ \"20.42.73.128/25\",\r\n \"20.49.109.46/31\",\r\n \ - \ \"20.49.109.80/28\",\r\n \"20.49.111.16/28\",\r\n \"\ - 20.49.111.32/28\",\r\n \"20.62.132.0/25\",\r\n \"23.96.28.38/32\"\ - ,\r\n \"40.71.12.224/28\",\r\n \"40.71.12.240/30\",\r\n\ - \ \"40.71.12.248/29\",\r\n \"40.71.13.168/29\",\r\n \ - \ \"40.71.14.112/30\",\r\n \"40.71.183.225/32\",\r\n \ - \ \"40.76.29.55/32\",\r\n \"40.76.53.225/32\",\r\n \"\ - 40.78.226.216/29\",\r\n \"40.78.229.32/29\",\r\n \"40.79.154.80/29\"\ - ,\r\n \"40.79.156.32/29\",\r\n \"40.85.180.90/32\",\r\n\ - \ \"40.87.67.118/32\",\r\n \"40.112.49.101/32\",\r\n \ - \ \"40.117.80.207/32\",\r\n \"40.117.95.162/32\",\r\n \ - \ \"40.117.147.74/32\",\r\n \"40.117.190.239/32\",\r\n \ - \ \"40.117.197.224/32\",\r\n \"40.121.57.2/32\",\r\n \ - \ \"40.121.61.208/32\",\r\n \"40.121.135.131/32\",\r\n \"\ - 40.121.163.228/32\",\r\n \"40.121.165.150/32\",\r\n \"40.121.210.163/32\"\ - ,\r\n \"52.150.36.187/32\",\r\n \"52.168.112.64/32\",\r\n\ - \ \"52.168.136.177/32\",\r\n \"52.186.121.41/32\",\r\n \ - \ \"52.186.126.31/32\",\r\n \"52.188.179.229/32\",\r\n \ - \ \"52.191.197.52/32\",\r\n \"52.224.125.230/32\",\r\n \ - \ \"52.224.162.220/32\",\r\n \"52.224.235.3/32\",\r\n \ - \ \"52.226.151.250/32\",\r\n \"104.41.152.101/32\",\r\n \ - \ \"104.41.157.59/32\",\r\n \"104.45.136.42/32\",\r\n \ - \ \"168.62.169.17/32\",\r\n \"2603:1030:210::60/123\",\r\n \ - \ \"2603:1030:210::1c0/122\",\r\n \"2603:1030:210::300/123\"\ - ,\r\n \"2603:1030:210:1::280/122\",\r\n \"2a01:111:f100:2000::a83e:3015/128\"\ - ,\r\n \"2a01:111:f100:2000::a83e:301c/128\",\r\n \"2a01:111:f100:2000::a83e:3083/128\"\ - ,\r\n \"2a01:111:f100:2000::a83e:30f3/128\",\r\n \"2a01:111:f100:2000::a83e:313a/128\"\ - ,\r\n \"2a01:111:f100:2000::a83e:335c/128\",\r\n \"2a01:111:f100:2000::a83e:3370/128\"\ - ,\r\n \"2a01:111:f100:2002::8975:2c8c/128\",\r\n \"2a01:111:f100:2002::8975:2ce6/128\"\ - ,\r\n \"2a01:111:f100:2002::8975:2d44/128\",\r\n \"2a01:111:f100:2002::8975:2e91/128\"\ - ,\r\n \"2a01:111:f100:2002::8975:2fc3/128\"\r\n ]\r\n \ - \ }\r\n },\r\n {\r\n \"name\": \"AzureMonitor.EastUS2\",\r\n \ - \ \"id\": \"AzureMonitor.EastUS2\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"3\",\r\n \"region\": \"eastus2\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"\ - API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n\ - \ ],\r\n \"systemService\": \"AzureMonitor\",\r\n \"\ - addressPrefixes\": [\r\n \"13.68.31.237/32\",\r\n \"13.68.101.211/32\"\ - ,\r\n \"13.68.106.77/32\",\r\n \"13.68.109.212/32\",\r\n\ - \ \"13.68.111.247/32\",\r\n \"20.41.49.208/32\",\r\n \ - \ \"20.44.16.0/29\",\r\n \"20.44.17.0/29\",\r\n \"\ - 20.44.73.196/32\",\r\n \"20.49.99.44/31\",\r\n \"20.49.99.64/28\"\ - ,\r\n \"20.49.102.24/29\",\r\n \"20.49.102.32/28\",\r\n\ - \ \"40.70.23.205/32\",\r\n \"40.70.148.0/30\",\r\n \ - \ \"40.70.148.8/29\",\r\n \"52.167.106.88/29\",\r\n \ - \ \"52.167.107.64/29\",\r\n \"52.167.221.184/32\",\r\n \"\ - 52.177.223.60/32\",\r\n \"52.179.192.178/32\",\r\n \"52.184.158.205/32\"\ - ,\r\n \"104.46.123.164/32\",\r\n \"104.209.156.106/32\"\ - ,\r\n \"104.209.161.217/32\",\r\n \"104.210.9.42/32\",\r\ - \n \"137.116.82.175/32\",\r\n \"2603:1030:408:6::18/128\"\ - ,\r\n \"2603:1030:408:6::2a/128\",\r\n \"2603:1030:408:6::3f/128\"\ - ,\r\n \"2603:1030:408:7::37/128\",\r\n \"2603:1030:408:7::39/128\"\ - ,\r\n \"2603:1030:408:7::3b/128\",\r\n \"2603:1030:408:7::48/128\"\ - ,\r\n \"2603:1030:40c::60/123\",\r\n \"2603:1030:40c::1c0/122\"\ - ,\r\n \"2603:1030:40c::300/123\",\r\n \"2603:1030:40c:1::280/122\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureMonitor.EastUS2EUAP\"\ - ,\r\n \"id\": \"AzureMonitor.EastUS2EUAP\",\r\n \"properties\":\ - \ {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"eastus2euap\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureMonitor\",\r\n \ - \ \"addressPrefixes\": [\r\n \"20.39.14.0/28\",\r\n \ - \ \"20.39.15.16/28\",\r\n \"20.39.15.32/28\",\r\n \"20.51.17.64/27\"\ - ,\r\n \"40.74.146.84/30\",\r\n \"40.74.147.160/29\",\r\n\ - \ \"40.74.150.32/27\",\r\n \"40.75.34.40/29\",\r\n \ - \ \"40.75.35.64/29\",\r\n \"52.138.90.48/30\",\r\n \"\ - 52.138.90.56/29\",\r\n \"2603:1030:409:2::6/128\",\r\n \"\ - 2603:1030:409:2::b/128\",\r\n \"2603:1030:409:2::c/128\",\r\n \ - \ \"2603:1030:40b:1::280/122\",\r\n \"2603:1030:40b:2::80/121\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureMonitor.FranceCentral\"\ - ,\r\n \"id\": \"AzureMonitor.FranceCentral\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"centralfrance\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureMonitor\",\r\n \ - \ \"addressPrefixes\": [\r\n \"20.40.137.91/32\",\r\n \ - \ \"20.40.140.212/32\",\r\n \"20.43.40.68/31\",\r\n \"\ - 20.43.41.178/31\",\r\n \"20.43.44.128/28\",\r\n \"20.43.44.216/29\"\ - ,\r\n \"20.43.44.224/28\",\r\n \"20.188.36.28/32\",\r\n\ - \ \"40.79.130.240/29\",\r\n \"40.79.132.32/29\",\r\n \ - \ \"40.79.138.40/30\",\r\n \"40.79.138.144/29\",\r\n \ - \ \"40.79.146.40/30\",\r\n \"40.79.146.144/29\",\r\n \ - \ \"40.89.153.171/32\",\r\n \"40.89.189.61/32\",\r\n \"\ - 2603:1020:805::60/123\",\r\n \"2603:1020:805::1c0/122\",\r\n \ - \ \"2603:1020:805::300/123\",\r\n \"2603:1020:805:1::280/122\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureMonitor.FranceSouth\"\ - ,\r\n \"id\": \"AzureMonitor.FranceSouth\",\r\n \"properties\":\ - \ {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"southfrance\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureMonitor\",\r\n \ - \ \"addressPrefixes\": [\r\n \"40.79.179.8/29\",\r\n \ - \ \"40.79.179.16/28\",\r\n \"2603:1020:905::780/121\"\r\n \ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureMonitor.GermanyNorth\"\ - ,\r\n \"id\": \"AzureMonitor.GermanyNorth\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"germanyn\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureMonitor\",\r\n \ - \ \"addressPrefixes\": [\r\n \"20.52.72.64/27\",\r\n \ - \ \"51.116.54.32/27\",\r\n \"51.116.59.176/28\",\r\n \"\ - 2603:1020:d01:2::a/128\",\r\n \"2603:1020:d04::780/121\"\r\n \ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureMonitor.GermanyWestCentral\"\ - ,\r\n \"id\": \"AzureMonitor.GermanyWestCentral\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"germanywc\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureMonitor\",\r\n \ - \ \"addressPrefixes\": [\r\n \"20.52.64.32/27\",\r\n \ - \ \"51.116.149.0/27\",\r\n \"51.116.155.240/28\",\r\n \"\ - 51.116.242.152/29\",\r\n \"51.116.245.96/28\",\r\n \"51.116.250.152/29\"\ - ,\r\n \"51.116.253.32/28\",\r\n \"2603:1020:c01:2::b/128\"\ - ,\r\n \"2603:1020:c01:2::e/128\",\r\n \"2603:1020:c04::60/123\"\ - ,\r\n \"2603:1020:c04::1c0/122\",\r\n \"2603:1020:c04::300/123\"\ - ,\r\n \"2603:1020:c04:1::280/122\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"AzureMonitor.JapanEast\",\r\n \"\ - id\": \"AzureMonitor.JapanEast\",\r\n \"properties\": {\r\n \"\ - changeNumber\": \"2\",\r\n \"region\": \"japaneast\",\r\n \"\ - state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\ - \n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n \ - \ ],\r\n \"systemService\": \"AzureMonitor\",\r\n \"addressPrefixes\"\ - : [\r\n \"13.73.26.213/32\",\r\n \"13.78.10.58/32\",\r\n\ - \ \"13.78.13.189/32\",\r\n \"13.78.108.160/29\",\r\n \ - \ \"13.78.108.168/30\",\r\n \"13.78.109.112/29\",\r\n \ - \ \"13.78.111.192/32\",\r\n \"20.43.64.68/31\",\r\n \ - \ \"20.43.65.154/31\",\r\n \"20.43.70.96/28\",\r\n \"20.43.70.192/29\"\ - ,\r\n \"20.43.70.200/30\",\r\n \"20.43.70.204/32\",\r\n\ - \ \"20.43.70.224/29\",\r\n \"20.191.165.64/27\",\r\n \ - \ \"23.102.66.132/32\",\r\n \"23.102.77.48/32\",\r\n \ - \ \"40.79.187.8/29\",\r\n \"40.79.190.160/27\",\r\n \"\ - 40.79.194.104/29\",\r\n \"40.79.194.112/29\",\r\n \"52.155.118.97/32\"\ - ,\r\n \"52.156.40.142/32\",\r\n \"52.185.132.101/32\",\r\ - \n \"52.185.132.170/32\",\r\n \"138.91.9.98/32\",\r\n \ - \ \"2603:1040:407::60/123\",\r\n \"2603:1040:407::1c0/122\"\ - ,\r\n \"2603:1040:407::300/123\",\r\n \"2603:1040:407:1::280/122\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureMonitor.JapanWest\"\ - ,\r\n \"id\": \"AzureMonitor.JapanWest\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"2\",\r\n \"region\": \"japanwest\",\r\ - \n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"AzureMonitor\",\r\n \ - \ \"addressPrefixes\": [\r\n \"20.189.225.128/27\",\r\n \ - \ \"40.74.101.32/28\",\r\n \"40.74.101.200/29\",\r\n \"\ - 40.80.180.160/27\",\r\n \"2603:1040:606::780/121\"\r\n ]\r\ - \n }\r\n },\r\n {\r\n \"name\": \"AzureMonitor.KoreaCentral\"\ - ,\r\n \"id\": \"AzureMonitor.KoreaCentral\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"koreacentral\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureMonitor\",\r\n \ - \ \"addressPrefixes\": [\r\n \"20.41.64.68/31\",\r\n \ - \ \"20.41.67.112/28\",\r\n \"20.41.69.4/30\",\r\n \"20.41.69.16/28\"\ - ,\r\n \"20.41.69.48/31\",\r\n \"20.44.26.152/29\",\r\n \ - \ \"20.44.26.248/29\",\r\n \"20.194.67.32/28\",\r\n \ - \ \"20.194.67.224/27\",\r\n \"20.194.72.224/27\",\r\n \ - \ \"52.141.22.149/32\",\r\n \"52.141.22.239/32\",\r\n \ - \ \"52.231.18.240/28\",\r\n \"52.231.28.204/32\",\r\n \"\ - 52.231.33.16/32\",\r\n \"52.231.64.72/32\",\r\n \"52.231.67.208/32\"\ - ,\r\n \"52.231.70.0/32\",\r\n \"52.231.108.46/32\",\r\n\ - \ \"52.231.111.52/32\",\r\n \"2603:1040:f05::60/123\",\r\ - \n \"2603:1040:f05::1c0/122\",\r\n \"2603:1040:f05::300/123\"\ - ,\r\n \"2603:1040:f05:1::280/122\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"AzureMonitor.KoreaSouth\",\r\n \"\ - id\": \"AzureMonitor.KoreaSouth\",\r\n \"properties\": {\r\n \"\ - changeNumber\": \"2\",\r\n \"region\": \"koreasouth\",\r\n \"\ - state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\ - \n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n \ - \ ],\r\n \"systemService\": \"AzureMonitor\",\r\n \"addressPrefixes\"\ - : [\r\n \"52.147.97.64/27\",\r\n \"52.147.112.96/27\",\r\ - \n \"52.231.147.160/28\",\r\n \"52.231.148.80/29\"\r\n \ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureMonitor.NorthCentralUS\"\ - ,\r\n \"id\": \"AzureMonitor.NorthCentralUS\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"northcentralus\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureMonitor\",\r\n \ - \ \"addressPrefixes\": [\r\n \"20.49.114.20/30\",\r\n \ - \ \"20.49.114.32/28\",\r\n \"20.49.114.48/31\",\r\n \"\ - 20.135.13.192/26\",\r\n \"23.96.245.125/32\",\r\n \"23.96.252.161/32\"\ - ,\r\n \"23.96.252.216/32\",\r\n \"23.100.228.32/32\",\r\n\ - \ \"40.80.191.224/28\",\r\n \"52.162.87.50/32\",\r\n \ - \ \"52.162.110.64/28\",\r\n \"52.162.110.168/29\",\r\n \ - \ \"52.162.214.75/32\",\r\n \"52.237.157.70/32\",\r\n \ - \ \"65.52.2.145/32\",\r\n \"65.52.5.76/32\",\r\n \"2603:1030:608::780/121\"\ - ,\r\n \"2a01:111:f100:1003::4134:36c2/128\",\r\n \"2a01:111:f100:1003::4134:36d9/128\"\ - ,\r\n \"2a01:111:f100:1003::4134:370d/128\",\r\n \"2a01:111:f100:1005::a83e:f7fe/128\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureMonitor.NorthEurope\"\ - ,\r\n \"id\": \"AzureMonitor.NorthEurope\",\r\n \"properties\":\ - \ {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"northeurope\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureMonitor\",\r\n \ - \ \"addressPrefixes\": [\r\n \"13.69.229.64/29\",\r\n \ - \ \"13.69.229.240/29\",\r\n \"13.69.233.0/30\",\r\n \"\ - 13.69.233.96/27\",\r\n \"13.74.107.88/30\",\r\n \"13.74.108.128/29\"\ - ,\r\n \"20.38.80.68/31\",\r\n \"20.50.65.80/28\",\r\n \ - \ \"20.50.68.112/29\",\r\n \"20.50.68.120/30\",\r\n \ - \ \"20.50.68.124/31\",\r\n \"20.50.68.128/29\",\r\n \"\ - 23.102.44.211/32\",\r\n \"23.102.45.216/32\",\r\n \"40.69.81.159/32\"\ - ,\r\n \"40.69.194.158/32\",\r\n \"40.87.138.220/32\",\r\n\ - \ \"40.87.140.215/32\",\r\n \"40.112.74.241/32\",\r\n \ - \ \"40.115.103.168/32\",\r\n \"40.115.104.31/32\",\r\n \ - \ \"40.127.144.141/32\",\r\n \"52.138.222.110/32\",\r\n \ - \ \"52.138.226.88/29\",\r\n \"52.138.227.128/29\",\r\n \ - \ \"52.146.133.32/27\",\r\n \"52.155.162.238/32\",\r\n \ - \ \"52.164.120.183/32\",\r\n \"52.164.125.22/32\",\r\n \ - \ \"52.164.225.5/32\",\r\n \"52.169.4.236/32\",\r\n \"\ - 52.169.15.254/32\",\r\n \"52.169.30.110/32\",\r\n \"52.169.64.244/32\"\ - ,\r\n \"104.41.224.134/32\",\r\n \"137.116.226.81/32\",\r\ - \n \"2603:1020:5::60/123\",\r\n \"2603:1020:5::1c0/122\"\ - ,\r\n \"2603:1020:5::300/123\",\r\n \"2603:1020:5:1::280/122\"\ - ,\r\n \"2a01:111:f100:a001::4134:e463/128\",\r\n \"2a01:111:f100:a004::bfeb:8c93/128\"\ - ,\r\n \"2a01:111:f100:a004::bfeb:8d32/128\"\r\n ]\r\n \ - \ }\r\n },\r\n {\r\n \"name\": \"AzureMonitor.NorwayEast\",\r\n\ - \ \"id\": \"AzureMonitor.NorwayEast\",\r\n \"properties\": {\r\n\ - \ \"changeNumber\": \"2\",\r\n \"region\": \"norwaye\",\r\n\ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"AzureMonitor\",\r\n \ - \ \"addressPrefixes\": [\r\n \"51.120.40.68/31\",\r\n \"\ - 51.120.98.0/29\",\r\n \"51.120.98.248/29\",\r\n \"51.120.106.152/29\"\ - ,\r\n \"51.120.210.152/29\",\r\n \"51.120.213.64/27\",\r\ - \n \"51.120.232.160/27\",\r\n \"2603:1020:e04::60/123\"\ - ,\r\n \"2603:1020:e04::1c0/122\",\r\n \"2603:1020:e04::300/123\"\ - ,\r\n \"2603:1020:e04:1::280/122\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"AzureMonitor.NorwayWest\",\r\n \"\ - id\": \"AzureMonitor.NorwayWest\",\r\n \"properties\": {\r\n \"\ - changeNumber\": \"2\",\r\n \"region\": \"norwayw\",\r\n \"state\"\ - : \"GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\n \ - \ \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n ],\r\n\ - \ \"systemService\": \"AzureMonitor\",\r\n \"addressPrefixes\"\ - : [\r\n \"51.13.128.32/27\",\r\n \"51.13.136.192/27\",\r\ - \n \"51.120.219.208/28\",\r\n \"2603:1020:f04::780/121\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureMonitor.SouthAfricaNorth\"\ - ,\r\n \"id\": \"AzureMonitor.SouthAfricaNorth\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"southafricanorth\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureMonitor\",\r\n \ - \ \"addressPrefixes\": [\r\n \"102.133.122.152/29\",\r\n \ - \ \"102.133.123.240/29\",\r\n \"102.133.126.64/27\",\r\n \ - \ \"102.133.155.48/28\",\r\n \"102.133.161.73/32\",\r\n \ - \ \"102.133.162.233/32\",\r\n \"102.133.216.68/31\",\r\n \ - \ \"102.133.216.106/31\",\r\n \"102.133.218.144/28\",\r\n\ - \ \"102.133.218.244/30\",\r\n \"102.133.219.128/28\",\r\n\ - \ \"102.133.221.160/27\",\r\n \"102.133.250.152/29\",\r\n\ - \ \"102.133.251.80/29\",\r\n \"2603:1000:104::4c0/122\"\ - ,\r\n \"2603:1000:104::600/122\",\r\n \"2603:1000:104:1::280/122\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureMonitor.SouthAfricaWest\"\ - ,\r\n \"id\": \"AzureMonitor.SouthAfricaWest\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"southafricawest\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureMonitor\",\r\n \ - \ \"addressPrefixes\": [\r\n \"102.37.64.128/27\",\r\n \ - \ \"102.37.80.64/27\",\r\n \"102.133.27.48/28\",\r\n \ - \ \"102.133.28.64/29\",\r\n \"2603:1000:4::780/121\"\r\n ]\r\ - \n }\r\n },\r\n {\r\n \"name\": \"AzureMonitor.SouthCentralUS\"\ - ,\r\n \"id\": \"AzureMonitor.SouthCentralUS\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"southcentralus\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureMonitor\",\r\n \ - \ \"addressPrefixes\": [\r\n \"13.65.96.175/32\",\r\n \ - \ \"13.65.206.67/32\",\r\n \"13.65.211.125/32\",\r\n \"\ - 13.66.36.144/32\",\r\n \"13.66.37.172/32\",\r\n \"13.66.59.226/32\"\ - ,\r\n \"13.66.60.151/32\",\r\n \"13.73.240.0/29\",\r\n \ - \ \"13.73.242.32/29\",\r\n \"13.73.244.192/31\",\r\n \ - \ \"13.73.248.6/31\",\r\n \"13.73.253.104/29\",\r\n \ - \ \"13.73.253.112/29\",\r\n \"13.73.253.120/32\",\r\n \"\ - 13.84.134.59/32\",\r\n \"13.84.148.7/32\",\r\n \"13.84.149.186/32\"\ - ,\r\n \"13.84.173.179/32\",\r\n \"13.84.189.95/32\",\r\n\ - \ \"13.84.225.10/32\",\r\n \"13.85.70.142/32\",\r\n \ - \ \"20.45.122.152/29\",\r\n \"20.45.123.80/29\",\r\n \ - \ \"20.45.123.116/30\",\r\n \"20.45.125.224/28\",\r\n \ - \ \"20.49.91.32/28\",\r\n \"20.49.93.192/26\",\r\n \"20.65.132.0/26\"\ - ,\r\n \"23.100.122.113/32\",\r\n \"23.102.181.197/32\",\r\ - \n \"40.74.249.98/32\",\r\n \"40.84.133.5/32\",\r\n \ - \ \"40.84.150.47/32\",\r\n \"40.84.189.107/32\",\r\n \ - \ \"40.84.192.116/32\",\r\n \"40.119.4.128/32\",\r\n \"\ - 40.119.8.72/31\",\r\n \"40.119.11.160/28\",\r\n \"40.119.11.180/30\"\ - ,\r\n \"40.124.64.192/26\",\r\n \"52.171.56.178/32\",\r\n\ - \ \"52.171.138.167/32\",\r\n \"52.185.215.171/32\",\r\n\ - \ \"104.44.140.84/32\",\r\n \"104.214.70.219/32\",\r\n \ - \ \"104.214.104.109/32\",\r\n \"104.215.81.124/32\",\r\n\ - \ \"104.215.96.105/32\",\r\n \"104.215.100.22/32\",\r\n\ - \ \"104.215.103.78/32\",\r\n \"104.215.115.118/32\",\r\n\ - \ \"157.55.177.6/32\",\r\n \"2603:1030:800:5::bfee:a418/128\"\ - ,\r\n \"2603:1030:800:5::bfee:a429/128\",\r\n \"2603:1030:800:5::bfee:a42a/128\"\ - ,\r\n \"2603:1030:800:5::bfee:a435/128\",\r\n \"2603:1030:807::60/123\"\ - ,\r\n \"2603:1030:807::1c0/122\",\r\n \"2603:1030:807::300/123\"\ - ,\r\n \"2603:1030:807:1::280/122\",\r\n \"2a01:111:f100:4002::9d37:c0bd/128\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureMonitor.SoutheastAsia\"\ - ,\r\n \"id\": \"AzureMonitor.SoutheastAsia\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"southeastasia\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureMonitor\",\r\n \ - \ \"addressPrefixes\": [\r\n \"13.67.9.192/28\",\r\n \ - \ \"13.67.10.64/29\",\r\n \"13.67.10.92/30\",\r\n \"13.67.15.0/32\"\ - ,\r\n \"13.67.77.233/32\",\r\n \"13.67.89.191/32\",\r\n\ - \ \"13.76.85.243/32\",\r\n \"13.76.87.86/32\",\r\n \ - \ \"20.43.128.68/31\",\r\n \"20.43.152.45/32\",\r\n \ - \ \"20.44.192.217/32\",\r\n \"23.98.82.120/29\",\r\n \"\ - 23.98.82.208/28\",\r\n \"23.98.104.160/28\",\r\n \"23.98.106.136/29\"\ - ,\r\n \"23.98.106.144/30\",\r\n \"23.98.106.148/31\",\r\n\ - \ \"23.98.106.150/32\",\r\n \"23.98.106.152/29\",\r\n \ - \ \"40.78.234.56/29\",\r\n \"40.78.234.144/28\",\r\n \ - \ \"52.163.94.131/32\",\r\n \"52.163.122.20/32\",\r\n \ - \ \"111.221.88.173/32\",\r\n \"137.116.146.215/32\",\r\n \ - \ \"137.116.151.139/32\",\r\n \"138.91.32.98/32\",\r\n \ - \ \"138.91.37.93/32\",\r\n \"168.63.174.169/32\",\r\n \ - \ \"168.63.242.221/32\",\r\n \"207.46.224.101/32\",\r\n \ - \ \"207.46.236.191/32\",\r\n \"2603:1040:5::160/123\",\r\n \ - \ \"2603:1040:5::2c0/122\",\r\n \"2603:1040:5::400/123\",\r\n\ - \ \"2603:1040:5:1::280/122\",\r\n \"2a01:111:f100:7000::6fdd:5343/128\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureMonitor.SouthIndia\"\ - ,\r\n \"id\": \"AzureMonitor.SouthIndia\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"2\",\r\n \"region\": \"southindia\",\r\ - \n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"AzureMonitor\",\r\n \ - \ \"addressPrefixes\": [\r\n \"20.41.208.32/27\",\r\n \"\ - 40.78.195.16/28\",\r\n \"40.78.196.48/29\",\r\n \"52.172.113.64/27\"\ - ,\r\n \"104.211.216.161/32\",\r\n \"2603:1040:c06::780/121\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureMonitor.SwitzerlandNorth\"\ - ,\r\n \"id\": \"AzureMonitor.SwitzerlandNorth\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"switzerlandn\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureMonitor\",\r\n \ - \ \"addressPrefixes\": [\r\n \"51.107.48.68/31\",\r\n \ - \ \"51.107.48.126/31\",\r\n \"51.107.51.16/28\",\r\n \"\ - 51.107.51.120/29\",\r\n \"51.107.52.192/30\",\r\n \"51.107.52.200/29\"\ - ,\r\n \"51.107.59.176/28\",\r\n \"51.107.75.144/32\",\r\n\ - \ \"51.107.75.207/32\",\r\n \"51.107.128.96/27\",\r\n \ - \ \"51.107.242.0/27\",\r\n \"2603:1020:a04::60/123\",\r\n\ - \ \"2603:1020:a04::1c0/122\",\r\n \"2603:1020:a04::300/123\"\ - ,\r\n \"2603:1020:a04:1::280/122\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"AzureMonitor.SwitzerlandWest\",\r\n \ - \ \"id\": \"AzureMonitor.SwitzerlandWest\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"2\",\r\n \"region\": \"switzerlandw\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureMonitor\",\r\n \ - \ \"addressPrefixes\": [\r\n \"51.107.147.16/28\",\r\n \ - \ \"51.107.147.116/30\",\r\n \"51.107.148.0/28\",\r\n \ - \ \"51.107.148.16/31\",\r\n \"51.107.155.176/28\",\r\n \ - \ \"51.107.156.48/29\",\r\n \"51.107.192.160/27\",\r\n \"\ - 51.107.250.0/27\",\r\n \"2603:1020:b04::780/121\"\r\n ]\r\n\ - \ }\r\n },\r\n {\r\n \"name\": \"AzureMonitor.UAECentral\"\ - ,\r\n \"id\": \"AzureMonitor.UAECentral\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"2\",\r\n \"region\": \"uaecentral\",\r\ - \n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"AzureMonitor\",\r\n \ - \ \"addressPrefixes\": [\r\n \"20.37.71.0/27\",\r\n \"20.37.74.232/29\"\ - ,\r\n \"20.37.74.240/28\",\r\n \"40.120.8.192/27\",\r\n\ - \ \"2603:1040:b00:2::b/128\",\r\n \"2603:1040:b04::780/121\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureMonitor.UAENorth\"\ - ,\r\n \"id\": \"AzureMonitor.UAENorth\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"2\",\r\n \"region\": \"uaenorth\",\r\n\ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"AzureMonitor\",\r\n \ - \ \"addressPrefixes\": [\r\n \"20.38.143.0/27\",\r\n \"\ - 20.38.152.32/27\",\r\n \"40.120.75.32/28\",\r\n \"65.52.250.232/29\"\ - ,\r\n \"65.52.250.240/28\",\r\n \"2603:1040:900:2::e/128\"\ - ,\r\n \"2603:1040:904::60/123\",\r\n \"2603:1040:904::1c0/122\"\ - ,\r\n \"2603:1040:904::300/123\",\r\n \"2603:1040:904:1::280/122\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureMonitor.UKSouth\"\ - ,\r\n \"id\": \"AzureMonitor.UKSouth\",\r\n \"properties\": {\r\n\ - \ \"changeNumber\": \"2\",\r\n \"region\": \"uksouth\",\r\n\ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"AzureMonitor\",\r\n \ - \ \"addressPrefixes\": [\r\n \"51.104.8.104/29\",\r\n \"\ - 51.104.15.255/32\",\r\n \"51.104.24.68/31\",\r\n \"51.104.25.142/31\"\ - ,\r\n \"51.104.29.192/28\",\r\n \"51.104.30.160/29\",\r\n\ - \ \"51.104.30.168/32\",\r\n \"51.104.30.176/28\",\r\n \ - \ \"51.104.252.13/32\",\r\n \"51.104.255.249/32\",\r\n \ - \ \"51.105.66.152/29\",\r\n \"51.105.67.160/29\",\r\n \ - \ \"51.105.70.128/27\",\r\n \"51.105.74.152/29\",\r\n \ - \ \"51.105.75.144/29\",\r\n \"51.140.6.23/32\",\r\n \"\ - 51.140.54.208/32\",\r\n \"51.140.60.235/32\",\r\n \"51.140.69.144/32\"\ - ,\r\n \"51.140.148.48/28\",\r\n \"51.140.152.61/32\",\r\n\ - \ \"51.140.152.186/32\",\r\n \"51.140.163.207/32\",\r\n\ - \ \"51.140.180.52/32\",\r\n \"51.140.181.40/32\",\r\n \ - \ \"51.143.165.22/32\",\r\n \"51.143.209.96/27\",\r\n \ - \ \"51.145.44.242/32\",\r\n \"2603:1020:705::60/123\",\r\n \ - \ \"2603:1020:705::1c0/122\",\r\n \"2603:1020:705::300/123\"\ - ,\r\n \"2603:1020:705:1::280/122\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"AzureMonitor.UKWest\",\r\n \"id\"\ - : \"AzureMonitor.UKWest\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"2\",\r\n \"region\": \"ukwest\",\r\n \"state\": \"GA\",\r\ - \n \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\ - ,\r\n \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\"\ - : \"AzureMonitor\",\r\n \"addressPrefixes\": [\r\n \"20.58.66.96/27\"\ - ,\r\n \"51.11.97.96/27\",\r\n \"51.137.164.92/31\",\r\n\ - \ \"51.137.164.112/28\",\r\n \"51.137.164.200/29\",\r\n\ - \ \"51.137.164.208/28\",\r\n \"51.140.211.160/28\",\r\n\ - \ \"51.140.212.64/29\",\r\n \"51.141.113.128/32\",\r\n \ - \ \"2603:1020:605::780/121\"\r\n ]\r\n }\r\n },\r\n\ - \ {\r\n \"name\": \"AzureMonitor.WestCentralUS\",\r\n \"id\"\ - : \"AzureMonitor.WestCentralUS\",\r\n \"properties\": {\r\n \"\ - changeNumber\": \"3\",\r\n \"region\": \"westcentralus\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"API\"\ - ,\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n \ - \ ],\r\n \"systemService\": \"AzureMonitor\",\r\n \"addressPrefixes\"\ - : [\r\n \"13.71.195.192/27\",\r\n \"13.71.196.56/29\",\r\ - \n \"13.71.199.116/32\",\r\n \"13.78.135.15/32\",\r\n \ - \ \"13.78.145.11/32\",\r\n \"13.78.151.158/32\",\r\n \ - \ \"13.78.172.58/32\",\r\n \"13.78.189.112/32\",\r\n \ - \ \"13.78.236.149/32\",\r\n \"13.78.237.51/32\",\r\n \"\ - 40.67.122.0/26\",\r\n \"52.150.152.48/28\",\r\n \"52.150.152.90/31\"\ - ,\r\n \"52.150.154.24/29\",\r\n \"52.150.154.32/28\",\r\n\ - \ \"52.161.8.76/32\",\r\n \"52.161.11.71/32\",\r\n \ - \ \"52.161.12.245/32\",\r\n \"2603:1030:b00::ca/128\",\r\n \ - \ \"2603:1030:b00::e8/128\",\r\n \"2603:1030:b00::164/128\"\ - ,\r\n \"2603:1030:b00::2a1/128\",\r\n \"2603:1030:b00::4d9/128\"\ - ,\r\n \"2603:1030:b00::4db/128\",\r\n \"2603:1030:b00::50d/128\"\ - ,\r\n \"2603:1030:b04::780/121\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"AzureMonitor.WestEurope\",\r\n \"id\": \"\ - AzureMonitor.WestEurope\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"2\",\r\n \"region\": \"westeurope\",\r\n \"state\": \"GA\"\ - ,\r\n \"networkFeatures\": [\r\n \"API\",\r\n \"\ - NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n ],\r\n \ - \ \"systemService\": \"AzureMonitor\",\r\n \"addressPrefixes\": [\r\ - \n \"13.69.51.175/32\",\r\n \"13.69.51.218/32\",\r\n \ - \ \"13.69.65.16/28\",\r\n \"13.69.66.136/29\",\r\n \ - \ \"13.69.67.60/30\",\r\n \"13.69.67.126/32\",\r\n \"13.69.106.88/29\"\ - ,\r\n \"13.69.106.208/28\",\r\n \"13.69.109.224/27\",\r\n\ - \ \"13.80.134.255/32\",\r\n \"20.61.99.64/27\",\r\n \ - \ \"23.101.69.223/32\",\r\n \"40.68.61.229/32\",\r\n \ - \ \"40.68.154.39/32\",\r\n \"40.74.24.68/31\",\r\n \"\ - 40.74.36.208/32\",\r\n \"40.74.59.40/32\",\r\n \"40.113.176.128/28\"\ - ,\r\n \"40.113.178.16/28\",\r\n \"40.113.178.32/28\",\r\n\ - \ \"40.113.178.48/32\",\r\n \"40.114.241.141/32\",\r\n \ - \ \"40.115.54.120/32\",\r\n \"51.105.248.23/32\",\r\n \ - \ \"51.144.41.38/32\",\r\n \"51.144.81.252/32\",\r\n \ - \ \"52.178.26.73/32\",\r\n \"52.178.37.209/32\",\r\n \ - \ \"52.232.35.33/32\",\r\n \"52.232.65.133/32\",\r\n \"\ - 52.232.106.242/32\",\r\n \"52.236.186.88/29\",\r\n \"52.236.186.208/28\"\ - ,\r\n \"104.40.222.36/32\",\r\n \"137.117.144.33/32\",\r\ - \n \"2603:1020:206::60/123\",\r\n \"2603:1020:206::1c0/122\"\ - ,\r\n \"2603:1020:206::300/123\",\r\n \"2603:1020:206:1::280/122\"\ - ,\r\n \"2a01:111:f100:9001::1761:91e4/128\",\r\n \"2a01:111:f100:9001::1761:958a/128\"\ - ,\r\n \"2a01:111:f100:9001::1761:9696/128\"\r\n ]\r\n \ - \ }\r\n },\r\n {\r\n \"name\": \"AzureMonitor.WestIndia\",\r\n\ - \ \"id\": \"AzureMonitor.WestIndia\",\r\n \"properties\": {\r\n\ - \ \"changeNumber\": \"2\",\r\n \"region\": \"westindia\",\r\n\ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"AzureMonitor\",\r\n \ - \ \"addressPrefixes\": [\r\n \"20.38.128.64/29\",\r\n \"\ - 20.38.132.64/27\",\r\n \"52.136.53.96/27\",\r\n \"104.211.147.128/28\"\ - ,\r\n \"2603:1040:806::780/121\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"AzureMonitor.WestUS\",\r\n \"id\": \"AzureMonitor.WestUS\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \ - \ \"region\": \"westus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n\ - \ \"FW\"\r\n ],\r\n \"systemService\": \"AzureMonitor\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.86.218.224/28\",\r\n\ - \ \"13.86.218.248/29\",\r\n \"13.86.223.128/26\",\r\n \ - \ \"13.88.177.28/32\",\r\n \"13.91.42.27/32\",\r\n \ - \ \"13.91.102.27/32\",\r\n \"13.93.215.80/32\",\r\n \"\ - 13.93.233.49/32\",\r\n \"13.93.236.73/32\",\r\n \"20.49.120.64/28\"\ - ,\r\n \"20.66.2.192/26\",\r\n \"20.189.172.0/25\",\r\n \ - \ \"40.78.23.86/32\",\r\n \"40.78.57.61/32\",\r\n \ - \ \"40.78.107.177/32\",\r\n \"40.118.129.58/32\",\r\n \ - \ \"52.250.228.8/29\",\r\n \"52.250.228.16/28\",\r\n \"\ - 52.250.228.32/31\",\r\n \"65.52.122.208/32\",\r\n \"104.42.40.28/32\"\ - ,\r\n \"104.45.230.69/32\",\r\n \"104.45.232.72/32\",\r\n\ - \ \"2603:1030:a07::780/121\",\r\n \"2a01:111:f100:3000::a83e:187a/128\"\ - ,\r\n \"2a01:111:f100:3000::a83e:187c/128\",\r\n \"2a01:111:f100:3000::a83e:1913/128\"\ - ,\r\n \"2a01:111:f100:3000::a83e:1978/128\",\r\n \"2a01:111:f100:3000::a83e:19c0/128\"\ - ,\r\n \"2a01:111:f100:3000::a83e:1a54/127\",\r\n \"2a01:111:f100:3000::a83e:1a8e/128\"\ - ,\r\n \"2a01:111:f100:3000::a83e:1adf/128\",\r\n \"2a01:111:f100:3000::a83e:1b12/128\"\ - ,\r\n \"2a01:111:f100:3001::a83e:a67/128\"\r\n ]\r\n \ - \ }\r\n },\r\n {\r\n \"name\": \"AzureMonitor.WestUS2\",\r\n \ - \ \"id\": \"AzureMonitor.WestUS2\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"3\",\r\n \"region\": \"westus2\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"\ - API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n\ - \ ],\r\n \"systemService\": \"AzureMonitor\",\r\n \"\ - addressPrefixes\": [\r\n \"13.66.140.168/29\",\r\n \"13.66.141.152/29\"\ - ,\r\n \"13.66.143.218/32\",\r\n \"13.66.147.144/28\",\r\n\ - \ \"13.66.160.124/32\",\r\n \"13.66.220.187/32\",\r\n \ - \ \"13.66.231.27/32\",\r\n \"13.77.150.166/32\",\r\n \ - \ \"13.77.155.39/32\",\r\n \"13.77.174.177/32\",\r\n \ - \ \"20.42.128.68/31\",\r\n \"20.51.9.0/26\",\r\n \"20.190.60.32/32\"\ - ,\r\n \"20.190.60.38/32\",\r\n \"40.64.132.128/28\",\r\n\ - \ \"40.64.132.240/28\",\r\n \"40.64.134.128/29\",\r\n \ - \ \"40.64.134.136/31\",\r\n \"40.64.134.138/32\",\r\n \ - \ \"40.78.242.168/30\",\r\n \"40.78.243.16/29\",\r\n \ - \ \"40.78.247.64/26\",\r\n \"40.78.250.104/30\",\r\n \"\ - 40.78.250.208/29\",\r\n \"40.78.253.192/26\",\r\n \"51.143.88.183/32\"\ - ,\r\n \"52.151.11.176/32\",\r\n \"52.175.198.74/32\",\r\n\ - \ \"52.175.231.105/32\",\r\n \"52.175.235.148/32\",\r\n\ - \ \"52.183.41.109/32\",\r\n \"52.183.66.112/32\",\r\n \ - \ \"52.183.73.112/32\",\r\n \"52.183.95.86/32\",\r\n \ - \ \"52.183.127.155/32\",\r\n \"52.191.170.253/32\",\r\n \ - \ \"52.229.25.130/32\",\r\n \"52.229.37.75/32\",\r\n \ - \ \"52.247.202.90/32\",\r\n \"2603:1030:c02:2::4e1/128\",\r\n \ - \ \"2603:1030:c06:1::280/122\",\r\n \"2603:1030:c06:2::80/121\"\ - ,\r\n \"2603:1030:d00::1d/128\",\r\n \"2603:1030:d00::48/128\"\ - ,\r\n \"2603:1030:d00::5a/128\",\r\n \"2603:1030:d00::82/128\"\ - ,\r\n \"2603:1030:d00::84/128\",\r\n \"2603:1030:d00::9a/128\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureOpenDatasets\"\ - ,\r\n \"id\": \"AzureOpenDatasets\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"1\",\r\n \"region\": \"\",\r\n \"\ - state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\ - \n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n \ - \ ],\r\n \"systemService\": \"AzureOpenDatasets\",\r\n \"addressPrefixes\"\ - : [\r\n \"13.73.248.32/28\",\r\n \"20.36.120.192/28\",\r\ - \n \"20.37.64.192/28\",\r\n \"20.37.156.224/28\",\r\n \ - \ \"20.37.195.32/28\",\r\n \"20.37.224.192/28\",\r\n \ - \ \"20.38.84.112/28\",\r\n \"20.38.136.192/28\",\r\n \ - \ \"20.39.11.32/28\",\r\n \"20.41.4.192/28\",\r\n \"20.41.65.160/28\"\ - ,\r\n \"20.41.193.128/28\",\r\n \"20.42.4.224/28\",\r\n\ - \ \"20.42.131.0/28\",\r\n \"20.42.227.0/28\",\r\n \ - \ \"20.43.41.160/28\",\r\n \"20.43.65.160/28\",\r\n \"\ - 20.43.130.112/28\",\r\n \"20.45.112.192/28\",\r\n \"20.45.192.192/28\"\ - ,\r\n \"20.150.160.192/28\",\r\n \"20.189.106.208/28\",\r\ - \n \"20.192.225.128/28\",\r\n \"40.67.48.192/28\",\r\n \ - \ \"40.74.30.112/28\",\r\n \"40.80.57.128/28\",\r\n \ - \ \"40.80.169.128/28\",\r\n \"40.80.188.32/28\",\r\n \ - \ \"40.82.253.80/28\",\r\n \"40.89.17.128/28\",\r\n \"\ - 51.12.41.32/28\",\r\n \"51.12.193.32/28\",\r\n \"51.104.25.160/28\"\ - ,\r\n \"51.105.80.192/28\",\r\n \"51.105.88.192/28\",\r\n\ - \ \"51.107.48.192/28\",\r\n \"51.107.144.192/28\",\r\n \ - \ \"51.116.48.112/28\",\r\n \"51.116.144.112/28\",\r\n \ - \ \"51.120.40.192/28\",\r\n \"51.120.224.192/28\",\r\n \ - \ \"51.137.161.144/28\",\r\n \"51.143.192.192/28\",\r\n \ - \ \"52.136.48.192/28\",\r\n \"52.140.105.128/28\",\r\n \ - \ \"52.150.139.80/28\",\r\n \"52.228.81.144/28\",\r\n \ - \ \"102.133.56.112/28\",\r\n \"102.133.216.112/28\",\r\n \ - \ \"191.235.225.160/28\"\r\n ]\r\n }\r\n },\r\n {\r\n\ - \ \"name\": \"AzureOpenDatasets.AustraliaEast\",\r\n \"id\": \"\ - AzureOpenDatasets.AustraliaEast\",\r\n \"properties\": {\r\n \"\ - changeNumber\": \"1\",\r\n \"region\": \"australiaeast\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"API\"\ - ,\r\n \"NSG\"\r\n ],\r\n \"systemService\": \"AzureOpenDatasets\"\ - ,\r\n \"addressPrefixes\": [\r\n \"20.37.195.32/28\"\r\n \ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureOpenDatasets.FranceSouth\"\ - ,\r\n \"id\": \"AzureOpenDatasets.FranceSouth\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"1\",\r\n \"region\": \"southfrance\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"AzureOpenDatasets\",\r\n \"addressPrefixes\": [\r\n \"\ - 51.105.88.192/28\"\r\n ]\r\n }\r\n },\r\n {\r\n \"\ - name\": \"AzureOpenDatasets.GermanyNorth\",\r\n \"id\": \"AzureOpenDatasets.GermanyNorth\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n \ - \ \"region\": \"germanyn\",\r\n \"state\": \"GA\",\r\n \"\ - networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n \ - \ ],\r\n \"systemService\": \"AzureOpenDatasets\",\r\n \"addressPrefixes\"\ - : [\r\n \"51.116.48.112/28\"\r\n ]\r\n }\r\n },\r\n\ - \ {\r\n \"name\": \"AzureOpenDatasets.SwitzerlandWest\",\r\n \ - \ \"id\": \"AzureOpenDatasets.SwitzerlandWest\",\r\n \"properties\":\ - \ {\r\n \"changeNumber\": \"1\",\r\n \"region\": \"switzerlandw\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"AzureOpenDatasets\",\r\n \"addressPrefixes\": [\r\n \"\ - 51.107.144.192/28\"\r\n ]\r\n }\r\n },\r\n {\r\n \"\ - name\": \"AzureOpenDatasets.UAECentral\",\r\n \"id\": \"AzureOpenDatasets.UAECentral\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n \ - \ \"region\": \"uaecentral\",\r\n \"state\": \"GA\",\r\n \"\ - networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n \ - \ ],\r\n \"systemService\": \"AzureOpenDatasets\",\r\n \"addressPrefixes\"\ - : [\r\n \"20.37.64.192/28\"\r\n ]\r\n }\r\n },\r\n\ - \ {\r\n \"name\": \"AzureOpenDatasets.UAENorth\",\r\n \"id\"\ - : \"AzureOpenDatasets.UAENorth\",\r\n \"properties\": {\r\n \"\ - changeNumber\": \"1\",\r\n \"region\": \"uaenorth\",\r\n \"\ - state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\ - \n \"NSG\"\r\n ],\r\n \"systemService\": \"AzureOpenDatasets\"\ - ,\r\n \"addressPrefixes\": [\r\n \"20.38.136.192/28\"\r\n\ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureOpenDatasets.UKWest\"\ - ,\r\n \"id\": \"AzureOpenDatasets.UKWest\",\r\n \"properties\":\ - \ {\r\n \"changeNumber\": \"1\",\r\n \"region\": \"ukwest\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"AzureOpenDatasets\",\r\n \"addressPrefixes\": [\r\n \"\ - 51.137.161.144/28\"\r\n ]\r\n }\r\n },\r\n {\r\n \"\ - name\": \"AzureOpenDatasets.WestEurope\",\r\n \"id\": \"AzureOpenDatasets.WestEurope\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n \ - \ \"region\": \"westeurope\",\r\n \"state\": \"GA\",\r\n \"\ - networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n \ - \ ],\r\n \"systemService\": \"AzureOpenDatasets\",\r\n \"addressPrefixes\"\ - : [\r\n \"40.74.30.112/28\"\r\n ]\r\n }\r\n },\r\n\ - \ {\r\n \"name\": \"AzureOpenDatasets.WestUS2\",\r\n \"id\":\ - \ \"AzureOpenDatasets.WestUS2\",\r\n \"properties\": {\r\n \"\ - changeNumber\": \"1\",\r\n \"region\": \"westus2\",\r\n \"state\"\ - : \"GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\n \ - \ \"NSG\"\r\n ],\r\n \"systemService\": \"AzureOpenDatasets\"\ - ,\r\n \"addressPrefixes\": [\r\n \"20.42.131.0/28\"\r\n \ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzurePortal\"\ - ,\r\n \"id\": \"AzurePortal\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"1\",\r\n \"region\": \"\",\r\n \"state\"\ - : \"GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\n \ - \ \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n ],\r\n\ - \ \"systemService\": \"AzurePortal\",\r\n \"addressPrefixes\"\ - : [\r\n \"13.67.35.35/32\",\r\n \"13.67.35.77/32\",\r\n\ - \ \"13.68.130.251/32\",\r\n \"13.68.235.98/32\",\r\n \ - \ \"13.69.112.176/28\",\r\n \"13.69.126.92/32\",\r\n \ - \ \"13.71.190.228/32\",\r\n \"13.73.249.32/27\",\r\n \ - \ \"13.73.249.160/28\",\r\n \"13.73.255.248/29\",\r\n \"\ - 13.77.1.236/32\",\r\n \"13.77.55.208/28\",\r\n \"13.77.202.2/32\"\ - ,\r\n \"13.78.49.187/32\",\r\n \"13.78.132.155/32\",\r\n\ - \ \"13.78.230.142/32\",\r\n \"13.88.220.109/32\",\r\n \ - \ \"13.88.222.0/32\",\r\n \"13.90.156.71/32\",\r\n \ - \ \"13.92.138.76/32\",\r\n \"20.36.121.128/27\",\r\n \"\ - 20.36.122.56/30\",\r\n \"20.36.125.104/29\",\r\n \"20.37.65.128/27\"\ - ,\r\n \"20.37.66.56/30\",\r\n \"20.37.70.96/29\",\r\n \ - \ \"20.37.195.224/27\",\r\n \"20.37.196.252/30\",\r\n \ - \ \"20.37.198.64/27\",\r\n \"20.37.225.128/27\",\r\n \ - \ \"20.37.226.56/30\",\r\n \"20.37.229.152/29\",\r\n \"\ - 20.38.85.192/27\",\r\n \"20.38.87.224/27\",\r\n \"20.38.137.160/27\"\ - ,\r\n \"20.38.138.60/30\",\r\n \"20.38.142.88/29\",\r\n\ - \ \"20.38.149.208/28\",\r\n \"20.39.12.32/27\",\r\n \ - \ \"20.39.12.232/30\",\r\n \"20.40.200.0/27\",\r\n \ - \ \"20.40.200.160/30\",\r\n \"20.40.224.226/31\",\r\n \"\ - 20.40.225.32/29\",\r\n \"20.41.5.192/27\",\r\n \"20.41.65.224/27\"\ - ,\r\n \"20.41.67.88/30\",\r\n \"20.41.193.224/27\",\r\n\ - \ \"20.41.197.16/30\",\r\n \"20.42.6.192/27\",\r\n \ - \ \"20.42.227.192/27\",\r\n \"20.42.228.220/30\",\r\n \ - \ \"20.42.228.224/27\",\r\n \"20.42.230.80/28\",\r\n \"\ - 20.43.42.64/27\",\r\n \"20.43.43.164/30\",\r\n \"20.43.46.248/29\"\ - ,\r\n \"20.43.66.64/27\",\r\n \"20.43.67.92/30\",\r\n \ - \ \"20.43.67.96/27\",\r\n \"20.43.70.64/28\",\r\n \ - \ \"20.43.123.160/28\",\r\n \"20.43.132.32/27\",\r\n \"\ - 20.44.19.32/28\",\r\n \"20.45.112.124/30\",\r\n \"20.45.113.128/27\"\ - ,\r\n \"20.45.116.64/29\",\r\n \"20.45.125.240/28\",\r\n\ - \ \"20.45.195.160/27\",\r\n \"20.45.197.192/27\",\r\n \ - \ \"20.45.197.228/30\",\r\n \"20.46.10.40/29\",\r\n \ - \ \"20.48.193.48/29\",\r\n \"20.49.99.16/28\",\r\n \"\ - 20.49.99.32/30\",\r\n \"20.49.103.96/29\",\r\n \"20.49.109.36/30\"\ - ,\r\n \"20.49.109.44/31\",\r\n \"20.49.109.48/28\",\r\n\ - \ \"20.49.115.184/29\",\r\n \"20.49.120.0/27\",\r\n \ - \ \"20.49.120.36/30\",\r\n \"20.49.126.156/30\",\r\n \ - \ \"20.49.127.224/28\",\r\n \"20.50.1.32/27\",\r\n \"\ - 20.50.1.160/27\",\r\n \"20.50.1.200/30\",\r\n \"20.50.1.208/28\"\ - ,\r\n \"20.50.65.72/30\",\r\n \"20.51.16.120/29\",\r\n \ - \ \"20.53.44.4/30\",\r\n \"20.53.44.64/29\",\r\n \ - \ \"20.61.98.128/29\",\r\n \"20.62.128.240/29\",\r\n \"\ - 20.72.20.96/27\",\r\n \"20.150.161.192/27\",\r\n \"20.150.165.144/30\"\ - ,\r\n \"20.150.166.160/29\",\r\n \"20.187.197.0/29\",\r\n\ - \ \"20.189.108.96/27\",\r\n \"20.189.109.88/30\",\r\n \ - \ \"20.189.109.160/27\",\r\n \"20.189.224.208/29\",\r\n \ - \ \"20.191.161.80/29\",\r\n \"20.192.161.192/27\",\r\n \ - \ \"20.192.164.180/30\",\r\n \"20.192.166.160/29\",\r\n \ - \ \"20.192.228.128/27\",\r\n \"20.192.230.0/30\",\r\n \ - \ \"20.192.230.112/29\",\r\n \"20.194.72.56/29\",\r\n \ - \ \"23.98.104.80/28\",\r\n \"23.98.104.96/27\",\r\n \"\ - 23.98.104.128/30\",\r\n \"23.98.108.44/31\",\r\n \"23.98.108.168/29\"\ - ,\r\n \"23.102.65.134/32\",\r\n \"40.64.128.128/27\",\r\n\ - \ \"40.64.132.88/30\",\r\n \"40.64.132.96/28\",\r\n \ - \ \"40.64.135.88/29\",\r\n \"40.65.114.234/32\",\r\n \ - \ \"40.67.48.124/30\",\r\n \"40.67.49.128/27\",\r\n \"\ - 40.67.50.192/27\",\r\n \"40.67.52.88/29\",\r\n \"40.67.121.128/28\"\ - ,\r\n \"40.71.15.144/28\",\r\n \"40.78.239.48/28\",\r\n\ - \ \"40.78.245.208/28\",\r\n \"40.79.189.96/28\",\r\n \ - \ \"40.80.58.128/27\",\r\n \"40.80.59.28/30\",\r\n \ - \ \"40.80.59.32/27\",\r\n \"40.80.169.224/27\",\r\n \"\ - 40.80.172.16/30\",\r\n \"40.80.173.192/29\",\r\n \"40.80.190.160/27\"\ - ,\r\n \"40.80.191.200/30\",\r\n \"40.82.253.224/27\",\r\n\ - \ \"40.84.132.239/32\",\r\n \"40.84.228.255/32\",\r\n \ - \ \"40.89.18.160/27\",\r\n \"40.89.20.132/30\",\r\n \ - \ \"40.89.23.232/29\",\r\n \"40.113.117.57/32\",\r\n \ - \ \"40.114.78.132/32\",\r\n \"40.114.236.251/32\",\r\n \"\ - 40.117.86.243/32\",\r\n \"40.117.237.78/32\",\r\n \"40.119.9.236/30\"\ - ,\r\n \"51.12.41.20/30\",\r\n \"51.12.41.160/27\",\r\n \ - \ \"51.12.43.128/29\",\r\n \"51.12.193.20/30\",\r\n \ - \ \"51.12.193.160/27\",\r\n \"51.12.194.104/29\",\r\n \ - \ \"51.13.136.8/29\",\r\n \"51.104.27.96/27\",\r\n \"\ - 51.104.28.220/30\",\r\n \"51.104.28.224/28\",\r\n \"51.105.80.124/30\"\ - ,\r\n \"51.105.81.128/27\",\r\n \"51.105.89.160/27\",\r\n\ - \ \"51.105.90.152/30\",\r\n \"51.107.49.160/27\",\r\n \ - \ \"51.107.50.60/30\",\r\n \"51.107.53.240/29\",\r\n \ - \ \"51.107.145.128/27\",\r\n \"51.107.146.56/30\",\r\n \ - \ \"51.107.149.248/29\",\r\n \"51.116.48.192/27\",\r\n \ - \ \"51.116.49.140/30\",\r\n \"51.116.51.160/29\",\r\n \ - \ \"51.116.144.192/27\",\r\n \"51.116.145.140/30\",\r\n \ - \ \"51.116.148.104/29\",\r\n \"51.120.41.160/27\",\r\n \"\ - 51.120.42.60/30\",\r\n \"51.120.225.128/27\",\r\n \"51.120.226.56/30\"\ - ,\r\n \"51.120.232.16/29\",\r\n \"51.137.162.160/27\",\r\ - \n \"51.137.164.80/30\",\r\n \"51.137.167.152/29\",\r\n\ - \ \"51.140.69.25/32\",\r\n \"51.140.138.84/32\",\r\n \ - \ \"51.140.149.64/28\",\r\n \"51.143.192.124/30\",\r\n \ - \ \"51.143.193.128/27\",\r\n \"51.143.208.192/29\",\r\n \ - \ \"51.145.3.27/32\",\r\n \"51.145.21.195/32\",\r\n \ - \ \"52.136.49.160/27\",\r\n \"52.136.51.72/30\",\r\n \"\ - 52.136.52.232/29\",\r\n \"52.136.184.64/29\",\r\n \"52.140.105.224/27\"\ - ,\r\n \"52.140.107.112/28\",\r\n \"52.140.108.64/30\",\r\ - \n \"52.140.111.96/29\",\r\n \"52.146.132.80/29\",\r\n \ - \ \"52.150.139.224/27\",\r\n \"52.150.140.216/30\",\r\n \ - \ \"52.150.152.16/28\",\r\n \"52.150.152.224/27\",\r\n \ - \ \"52.150.156.232/29\",\r\n \"52.161.101.86/32\",\r\n \ - \ \"52.163.207.80/32\",\r\n \"52.172.112.152/29\",\r\n \ - \ \"52.172.181.227/32\",\r\n \"52.172.190.71/32\",\r\n \ - \ \"52.172.191.4/32\",\r\n \"52.172.215.87/32\",\r\n \ - \ \"52.228.24.159/32\",\r\n \"52.228.83.160/27\",\r\n \"\ - 52.228.84.84/30\",\r\n \"52.228.84.96/28\",\r\n \"52.233.66.46/32\"\ - ,\r\n \"52.243.76.246/32\",\r\n \"102.133.56.160/27\",\r\ - \n \"102.133.58.192/30\",\r\n \"102.133.61.176/29\",\r\n\ - \ \"102.133.217.192/27\",\r\n \"102.133.218.56/30\",\r\n\ - \ \"102.133.221.0/29\",\r\n \"104.41.216.228/32\",\r\n \ - \ \"104.42.195.92/32\",\r\n \"104.46.178.96/29\",\r\n \ - \ \"104.211.89.213/32\",\r\n \"104.211.101.116/32\",\r\n \ - \ \"104.214.117.155/32\",\r\n \"104.215.120.160/32\",\r\n\ - \ \"104.215.146.128/32\",\r\n \"137.116.247.179/32\",\r\n\ - \ \"191.233.10.96/27\",\r\n \"191.233.15.0/29\",\r\n \ - \ \"191.234.136.0/27\",\r\n \"191.234.136.48/30\",\r\n \ - \ \"191.234.139.144/29\",\r\n \"191.235.227.160/27\",\r\n \ - \ \"213.199.128.226/32\",\r\n \"2603:1000:4::700/121\",\r\n\ - \ \"2603:1000:104::200/121\",\r\n \"2603:1000:104::400/121\"\ - ,\r\n \"2603:1000:104:1::680/121\",\r\n \"2603:1010:6::100/121\"\ - ,\r\n \"2603:1010:6:1::680/121\",\r\n \"2603:1010:101::700/121\"\ - ,\r\n \"2603:1010:304::700/121\",\r\n \"2603:1010:404::700/121\"\ - ,\r\n \"2603:1020:5::100/121\",\r\n \"2603:1020:5:1::680/121\"\ - ,\r\n \"2603:1020:206::100/121\",\r\n \"2603:1020:206:1::680/121\"\ - ,\r\n \"2603:1020:305::700/121\",\r\n \"2603:1020:405::700/121\"\ - ,\r\n \"2603:1020:605::700/121\",\r\n \"2603:1020:705::100/121\"\ - ,\r\n \"2603:1020:705:1::680/121\",\r\n \"2603:1020:805::100/121\"\ - ,\r\n \"2603:1020:805:1::680/121\",\r\n \"2603:1020:905::700/121\"\ - ,\r\n \"2603:1020:a04::100/121\",\r\n \"2603:1020:a04:1::680/121\"\ - ,\r\n \"2603:1020:b04::700/121\",\r\n \"2603:1020:c04::100/121\"\ - ,\r\n \"2603:1020:c04:1::680/121\",\r\n \"2603:1020:d04::700/121\"\ - ,\r\n \"2603:1020:e04::100/121\",\r\n \"2603:1020:e04:1::680/121\"\ - ,\r\n \"2603:1020:f04::700/121\",\r\n \"2603:1020:1004::680/121\"\ - ,\r\n \"2603:1020:1004:1::100/121\",\r\n \"2603:1020:1104::780/121\"\ - ,\r\n \"2603:1030:f:1::700/121\",\r\n \"2603:1030:10::100/121\"\ - ,\r\n \"2603:1030:10:1::680/121\",\r\n \"2603:1030:104::100/121\"\ - ,\r\n \"2603:1030:104:1::680/121\",\r\n \"2603:1030:107:1::/121\"\ - ,\r\n \"2603:1030:210::100/121\",\r\n \"2603:1030:210:1::680/121\"\ - ,\r\n \"2603:1030:40b:1::680/121\",\r\n \"2603:1030:40c::100/121\"\ - ,\r\n \"2603:1030:40c:1::680/121\",\r\n \"2603:1030:504::100/121\"\ - ,\r\n \"2603:1030:504:1::680/121\",\r\n \"2603:1030:608::700/121\"\ - ,\r\n \"2603:1030:807::100/121\",\r\n \"2603:1030:807:1::680/121\"\ - ,\r\n \"2603:1030:a07::700/121\",\r\n \"2603:1030:b04::700/121\"\ - ,\r\n \"2603:1030:c06:1::680/121\",\r\n \"2603:1030:f05::100/121\"\ - ,\r\n \"2603:1030:f05:1::680/121\",\r\n \"2603:1030:1005::700/121\"\ - ,\r\n \"2603:1040:5::200/121\",\r\n \"2603:1040:5:1::680/121\"\ - ,\r\n \"2603:1040:207::700/121\",\r\n \"2603:1040:407::100/121\"\ - ,\r\n \"2603:1040:407:1::680/121\",\r\n \"2603:1040:606::700/121\"\ - ,\r\n \"2603:1040:806::700/121\",\r\n \"2603:1040:904::100/121\"\ - ,\r\n \"2603:1040:904:1::680/121\",\r\n \"2603:1040:a06::200/121\"\ - ,\r\n \"2603:1040:a06:1::680/121\",\r\n \"2603:1040:b04::700/121\"\ - ,\r\n \"2603:1040:c06::700/121\",\r\n \"2603:1040:d04::680/121\"\ - ,\r\n \"2603:1040:d04:1::100/121\",\r\n \"2603:1040:f05::100/121\"\ - ,\r\n \"2603:1040:f05:1::680/121\",\r\n \"2603:1040:1104::780/121\"\ - ,\r\n \"2603:1050:6::100/121\",\r\n \"2603:1050:6:1::680/121\"\ - ,\r\n \"2603:1050:403::680/121\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"AzurePortal.AustraliaCentral\",\r\n \"id\"\ - : \"AzurePortal.AustraliaCentral\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"2\",\r\n \"region\": \"australiacentral\",\r\n\ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"AzurePortal\",\r\n \"addressPrefixes\": [\r\n \"20.37.225.128/27\"\ - ,\r\n \"20.37.226.56/30\",\r\n \"20.37.229.152/29\",\r\n\ - \ \"2603:1010:304::700/121\"\r\n ]\r\n }\r\n },\r\n\ - \ {\r\n \"name\": \"AzurePortal.BrazilSouth\",\r\n \"id\": \"\ - AzurePortal.BrazilSouth\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"2\",\r\n \"region\": \"brazilsouth\",\r\n \"state\": \"\ - GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\n \ - \ \"NSG\"\r\n ],\r\n \"systemService\": \"AzurePortal\",\r\n\ - \ \"addressPrefixes\": [\r\n \"191.234.136.0/27\",\r\n \ - \ \"191.234.136.48/30\",\r\n \"191.234.139.144/29\",\r\n \ - \ \"191.235.227.160/27\",\r\n \"2603:1050:6::100/121\",\r\n\ - \ \"2603:1050:6:1::680/121\"\r\n ]\r\n }\r\n },\r\n\ - \ {\r\n \"name\": \"AzurePortal.EastAsia\",\r\n \"id\": \"AzurePortal.EastAsia\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \ - \ \"region\": \"eastasia\",\r\n \"state\": \"GA\",\r\n \"\ - networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n \ - \ ],\r\n \"systemService\": \"AzurePortal\",\r\n \"addressPrefixes\"\ - : [\r\n \"13.88.220.109/32\",\r\n \"13.88.222.0/32\",\r\n\ - \ \"20.187.197.0/29\",\r\n \"20.189.108.96/27\",\r\n \ - \ \"20.189.109.88/30\",\r\n \"20.189.109.160/27\",\r\n \ - \ \"2603:1040:207::700/121\"\r\n ]\r\n }\r\n },\r\n \ - \ {\r\n \"name\": \"AzurePortal.EastUS2\",\r\n \"id\": \"AzurePortal.EastUS2\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \ - \ \"region\": \"eastus2\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"\ - systemService\": \"AzurePortal\",\r\n \"addressPrefixes\": [\r\n \ - \ \"20.41.5.192/27\",\r\n \"20.44.19.32/28\",\r\n \ - \ \"20.49.99.16/28\",\r\n \"20.49.99.32/30\",\r\n \"20.49.103.96/29\"\ - ,\r\n \"2603:1030:40c::100/121\",\r\n \"2603:1030:40c:1::680/121\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzurePortal.FranceSouth\"\ - ,\r\n \"id\": \"AzurePortal.FranceSouth\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"2\",\r\n \"region\": \"southfrance\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"AzurePortal\",\r\n \"addressPrefixes\": [\r\n \"51.105.89.160/27\"\ - ,\r\n \"51.105.90.152/30\",\r\n \"52.136.184.64/29\",\r\n\ - \ \"2603:1020:905::700/121\"\r\n ]\r\n }\r\n },\r\n\ - \ {\r\n \"name\": \"AzurePortal.GermanyNorth\",\r\n \"id\": \"\ - AzurePortal.GermanyNorth\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"2\",\r\n \"region\": \"germanyn\",\r\n \"state\": \"GA\"\ - ,\r\n \"networkFeatures\": [\r\n \"API\",\r\n \"\ - NSG\"\r\n ],\r\n \"systemService\": \"AzurePortal\",\r\n \ - \ \"addressPrefixes\": [\r\n \"51.116.48.192/27\",\r\n \ - \ \"51.116.49.140/30\",\r\n \"51.116.51.160/29\",\r\n \ - \ \"2603:1020:d04::700/121\"\r\n ]\r\n }\r\n },\r\n {\r\ - \n \"name\": \"AzurePortal.KoreaSouth\",\r\n \"id\": \"AzurePortal.KoreaSouth\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \ - \ \"region\": \"koreasouth\",\r\n \"state\": \"GA\",\r\n \"\ - networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n \ - \ ],\r\n \"systemService\": \"AzurePortal\",\r\n \"addressPrefixes\"\ - : [\r\n \"40.80.169.224/27\",\r\n \"40.80.172.16/30\",\r\ - \n \"40.80.173.192/29\"\r\n ]\r\n }\r\n },\r\n \ - \ {\r\n \"name\": \"AzurePortal.NorthEurope\",\r\n \"id\": \"AzurePortal.NorthEurope\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \ - \ \"region\": \"northeurope\",\r\n \"state\": \"GA\",\r\n \ - \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n \ - \ ],\r\n \"systemService\": \"AzurePortal\",\r\n \"addressPrefixes\"\ - : [\r\n \"20.38.85.192/27\",\r\n \"20.38.87.224/27\",\r\n\ - \ \"20.50.65.72/30\",\r\n \"52.146.132.80/29\",\r\n \ - \ \"104.41.216.228/32\",\r\n \"137.116.247.179/32\",\r\n \ - \ \"2603:1020:5::100/121\",\r\n \"2603:1020:5:1::680/121\"\r\ - \n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzurePortal.SouthCentralUS\"\ - ,\r\n \"id\": \"AzurePortal.SouthCentralUS\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"southcentralus\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"AzurePortal\",\r\n \"addressPrefixes\": [\r\n \"13.73.249.32/27\"\ - ,\r\n \"13.73.249.160/28\",\r\n \"13.73.255.248/29\",\r\n\ - \ \"20.45.125.240/28\",\r\n \"40.84.132.239/32\",\r\n \ - \ \"40.84.228.255/32\",\r\n \"40.119.9.236/30\",\r\n \ - \ \"104.214.117.155/32\",\r\n \"104.215.120.160/32\",\r\n \ - \ \"2603:1030:807::100/121\",\r\n \"2603:1030:807:1::680/121\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzurePortal.SoutheastAsia\"\ - ,\r\n \"id\": \"AzurePortal.SoutheastAsia\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"southeastasia\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"AzurePortal\",\r\n \"addressPrefixes\": [\r\n \"13.67.35.35/32\"\ - ,\r\n \"13.67.35.77/32\",\r\n \"20.43.132.32/27\",\r\n \ - \ \"23.98.104.80/28\",\r\n \"23.98.104.96/27\",\r\n \ - \ \"23.98.104.128/30\",\r\n \"23.98.108.44/31\",\r\n \ - \ \"23.98.108.168/29\",\r\n \"40.78.239.48/28\",\r\n \"\ - 52.163.207.80/32\",\r\n \"104.215.146.128/32\",\r\n \"2603:1040:5::200/121\"\ - ,\r\n \"2603:1040:5:1::680/121\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"AzureResourceManager\",\r\n \"id\": \"AzureResourceManager\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n \ - \ \"region\": \"\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n\ - \ \"FW\"\r\n ],\r\n \"systemService\": \"AzureResourceManager\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.66.141.176/28\",\r\n\ - \ \"13.67.18.0/23\",\r\n \"13.69.67.32/28\",\r\n \ - \ \"13.69.114.0/23\",\r\n \"13.69.229.224/28\",\r\n \"\ - 13.69.234.0/23\",\r\n \"13.70.74.64/28\",\r\n \"13.70.76.0/23\"\ - ,\r\n \"13.71.173.192/28\",\r\n \"13.71.196.80/28\",\r\n\ - \ \"13.71.198.0/24\",\r\n \"13.73.240.224/28\",\r\n \ - \ \"13.73.246.0/23\",\r\n \"13.75.39.16/28\",\r\n \"\ - 13.77.53.32/28\",\r\n \"13.77.55.0/25\",\r\n \"13.78.109.96/28\"\ - ,\r\n \"13.86.219.80/28\",\r\n \"13.86.222.0/24\",\r\n \ - \ \"13.87.57.240/28\",\r\n \"13.87.60.0/23\",\r\n \ - \ \"13.87.123.240/28\",\r\n \"13.87.126.0/24\",\r\n \"\ - 13.89.180.0/23\",\r\n \"20.36.108.48/28\",\r\n \"20.36.110.0/23\"\ - ,\r\n \"20.36.115.144/28\",\r\n \"20.36.118.0/23\",\r\n\ - \ \"20.36.126.0/23\",\r\n \"20.37.76.48/28\",\r\n \ - \ \"20.37.78.0/23\",\r\n \"20.37.230.0/23\",\r\n \"20.38.128.32/28\"\ - ,\r\n \"20.38.130.0/23\",\r\n \"20.38.150.0/23\",\r\n \ - \ \"20.40.206.240/28\",\r\n \"20.40.226.0/23\",\r\n \ - \ \"20.41.70.0/23\",\r\n \"20.43.120.224/28\",\r\n \"\ - 20.43.124.0/23\",\r\n \"20.44.3.240/28\",\r\n \"20.44.6.0/23\"\ - ,\r\n \"20.44.8.16/28\",\r\n \"20.44.16.112/28\",\r\n \ - \ \"20.44.20.0/23\",\r\n \"20.44.30.0/24\",\r\n \"\ - 20.45.88.0/23\",\r\n \"20.45.118.0/23\",\r\n \"20.46.8.0/23\"\ - ,\r\n \"20.48.194.0/23\",\r\n \"20.49.116.0/23\",\r\n \ - \ \"20.50.68.96/28\",\r\n \"20.51.10.0/23\",\r\n \ - \ \"20.51.18.0/23\",\r\n \"20.53.42.0/23\",\r\n \"20.58.64.0/23\"\ - ,\r\n \"20.61.100.0/23\",\r\n \"20.62.56.0/23\",\r\n \ - \ \"20.62.130.0/23\",\r\n \"20.65.128.0/23\",\r\n \ - \ \"20.66.0.0/23\",\r\n \"20.72.28.64/26\",\r\n \"20.150.225.128/26\"\ - ,\r\n \"20.150.242.0/23\",\r\n \"20.187.198.0/23\",\r\n\ - \ \"20.189.168.0/24\",\r\n \"20.189.226.0/23\",\r\n \ - \ \"20.191.162.0/23\",\r\n \"20.192.32.128/26\",\r\n \ - \ \"20.192.40.0/23\",\r\n \"20.192.52.0/23\",\r\n \"20.193.196.0/23\"\ - ,\r\n \"20.193.204.0/26\",\r\n \"20.195.144.0/23\",\r\n\ - \ \"23.98.110.0/23\",\r\n \"40.67.54.0/23\",\r\n \ - \ \"40.67.59.208/28\",\r\n \"40.67.62.0/23\",\r\n \"40.67.120.0/24\"\ - ,\r\n \"40.69.108.32/28\",\r\n \"40.69.112.0/22\",\r\n \ - \ \"40.71.13.224/28\",\r\n \"40.74.102.0/28\",\r\n \ - \ \"40.75.35.32/28\",\r\n \"40.75.38.0/23\",\r\n \"40.78.196.32/28\"\ - ,\r\n \"40.78.198.0/23\",\r\n \"40.78.203.224/28\",\r\n\ - \ \"40.78.206.0/23\",\r\n \"40.78.234.176/28\",\r\n \ - \ \"40.78.254.0/23\",\r\n \"40.79.131.240/28\",\r\n \ - \ \"40.79.134.0/23\",\r\n \"40.79.158.0/23\",\r\n \"40.79.180.0/28\"\ - ,\r\n \"40.79.182.0/23\",\r\n \"40.79.198.0/23\",\r\n \ - \ \"40.80.174.0/23\",\r\n \"40.80.178.0/23\",\r\n \ - \ \"40.113.178.0/28\",\r\n \"40.120.80.0/23\",\r\n \"51.11.64.0/24\"\ - ,\r\n \"51.11.96.0/24\",\r\n \"51.12.44.0/23\",\r\n \ - \ \"51.12.101.64/26\",\r\n \"51.12.196.0/23\",\r\n \ - \ \"51.12.205.0/26\",\r\n \"51.104.8.224/28\",\r\n \"51.105.78.0/23\"\ - ,\r\n \"51.105.94.0/23\",\r\n \"51.107.54.0/23\",\r\n \ - \ \"51.107.60.32/28\",\r\n \"51.107.62.0/23\",\r\n \ - \ \"51.107.150.0/23\",\r\n \"51.107.156.32/28\",\r\n \"\ - 51.107.158.0/23\",\r\n \"51.116.52.0/23\",\r\n \"51.116.60.32/28\"\ - ,\r\n \"51.116.62.0/23\",\r\n \"51.116.150.0/23\",\r\n \ - \ \"51.116.156.32/28\",\r\n \"51.116.159.0/24\",\r\n \ - \ \"51.120.46.0/23\",\r\n \"51.120.100.32/28\",\r\n \ - \ \"51.120.102.0/23\",\r\n \"51.120.220.32/28\",\r\n \"\ - 51.120.222.0/23\",\r\n \"51.120.230.0/23\",\r\n \"51.138.208.0/23\"\ - ,\r\n \"51.140.212.16/28\",\r\n \"51.140.214.0/24\",\r\n\ - \ \"51.143.210.0/23\",\r\n \"52.136.54.0/23\",\r\n \ - \ \"52.138.94.0/23\",\r\n \"52.139.104.0/23\",\r\n \"\ - 52.146.134.0/23\",\r\n \"52.147.96.0/24\",\r\n \"52.150.158.0/23\"\ - ,\r\n \"52.162.110.224/28\",\r\n \"52.172.114.0/23\",\r\n\ - \ \"52.231.19.208/28\",\r\n \"52.231.22.0/24\",\r\n \ - \ \"52.231.148.64/28\",\r\n \"52.231.150.0/24\",\r\n \ - \ \"52.240.242.0/23\",\r\n \"65.52.252.48/28\",\r\n \"\ - 65.52.254.0/23\",\r\n \"102.133.28.16/28\",\r\n \"102.133.30.0/23\"\ - ,\r\n \"102.133.62.0/23\",\r\n \"102.133.123.224/28\",\r\ - \n \"102.133.158.0/23\",\r\n \"102.133.222.0/23\",\r\n \ - \ \"104.46.160.0/24\",\r\n \"104.46.161.0/25\",\r\n \ - \ \"104.46.180.0/23\",\r\n \"104.214.162.0/23\",\r\n \ - \ \"168.61.138.0/23\",\r\n \"191.233.52.0/23\",\r\n \"\ - 191.233.205.16/28\",\r\n \"191.234.140.0/23\",\r\n \"191.234.158.0/23\"\ - ,\r\n \"2603:1000:4::6c0/122\",\r\n \"2603:1000:4:402::280/122\"\ - ,\r\n \"2603:1000:104::480/122\",\r\n \"2603:1000:104:402::280/122\"\ - ,\r\n \"2603:1010:6::180/122\",\r\n \"2603:1010:6:402::280/122\"\ - ,\r\n \"2603:1010:101::6c0/122\",\r\n \"2603:1010:101:402::280/122\"\ - ,\r\n \"2603:1010:304::6c0/122\",\r\n \"2603:1010:304:402::280/122\"\ - ,\r\n \"2603:1010:404::6c0/122\",\r\n \"2603:1010:404:402::280/122\"\ - ,\r\n \"2603:1020:5::180/122\",\r\n \"2603:1020:5:402::280/122\"\ - ,\r\n \"2603:1020:206::180/122\",\r\n \"2603:1020:206:402::280/122\"\ - ,\r\n \"2603:1020:305::6c0/122\",\r\n \"2603:1020:305:402::280/122\"\ - ,\r\n \"2603:1020:405::6c0/122\",\r\n \"2603:1020:405:402::280/122\"\ - ,\r\n \"2603:1020:605::6c0/122\",\r\n \"2603:1020:605:402::280/122\"\ - ,\r\n \"2603:1020:705::180/122\",\r\n \"2603:1020:705:402::280/122\"\ - ,\r\n \"2603:1020:805::180/122\",\r\n \"2603:1020:805:402::280/122\"\ - ,\r\n \"2603:1020:905::6c0/122\",\r\n \"2603:1020:905:402::280/122\"\ - ,\r\n \"2603:1020:a04::180/122\",\r\n \"2603:1020:a04:402::280/122\"\ - ,\r\n \"2603:1020:b04::6c0/122\",\r\n \"2603:1020:b04:402::280/122\"\ - ,\r\n \"2603:1020:c04::180/122\",\r\n \"2603:1020:c04:402::280/122\"\ - ,\r\n \"2603:1020:d04::6c0/122\",\r\n \"2603:1020:d04:402::280/122\"\ - ,\r\n \"2603:1020:e04::180/122\",\r\n \"2603:1020:e04:402::280/122\"\ - ,\r\n \"2603:1020:f04::6c0/122\",\r\n \"2603:1020:f04:402::280/122\"\ - ,\r\n \"2603:1020:1004:1::400/120\",\r\n \"2603:1020:1004:400::180/122\"\ - ,\r\n \"2603:1020:1104:1::/120\",\r\n \"2603:1020:1104:400::280/122\"\ - ,\r\n \"2603:1030:f:1::6c0/122\",\r\n \"2603:1030:f:400::a80/122\"\ - ,\r\n \"2603:1030:10::180/122\",\r\n \"2603:1030:10:402::280/122\"\ - ,\r\n \"2603:1030:104::180/122\",\r\n \"2603:1030:104:402::280/122\"\ - ,\r\n \"2603:1030:107:1::100/120\",\r\n \"2603:1030:107:400::200/122\"\ - ,\r\n \"2603:1030:210::180/122\",\r\n \"2603:1030:210:402::280/122\"\ - ,\r\n \"2603:1030:40b:2::40/122\",\r\n \"2603:1030:40b:400::a80/122\"\ - ,\r\n \"2603:1030:40c::180/122\",\r\n \"2603:1030:40c:402::280/122\"\ - ,\r\n \"2603:1030:504::400/120\",\r\n \"2603:1030:504:402::180/122\"\ - ,\r\n \"2603:1030:608::6c0/122\",\r\n \"2603:1030:608:402::280/122\"\ - ,\r\n \"2603:1030:807::180/122\",\r\n \"2603:1030:807:402::280/122\"\ - ,\r\n \"2603:1030:a07::6c0/122\",\r\n \"2603:1030:a07:402::900/122\"\ - ,\r\n \"2603:1030:b04::6c0/122\",\r\n \"2603:1030:b04:402::280/122\"\ - ,\r\n \"2603:1030:c06:2::40/122\",\r\n \"2603:1030:c06:400::a80/122\"\ - ,\r\n \"2603:1030:f05::180/122\",\r\n \"2603:1030:f05:402::280/122\"\ - ,\r\n \"2603:1030:1005::6c0/122\",\r\n \"2603:1030:1005:402::280/122\"\ - ,\r\n \"2603:1040:5::280/122\",\r\n \"2603:1040:5:402::280/122\"\ - ,\r\n \"2603:1040:207::6c0/122\",\r\n \"2603:1040:207:402::280/122\"\ - ,\r\n \"2603:1040:407::180/122\",\r\n \"2603:1040:407:402::280/122\"\ - ,\r\n \"2603:1040:606::6c0/122\",\r\n \"2603:1040:606:402::280/122\"\ - ,\r\n \"2603:1040:806::6c0/122\",\r\n \"2603:1040:806:402::280/122\"\ - ,\r\n \"2603:1040:904::180/122\",\r\n \"2603:1040:904:402::280/122\"\ - ,\r\n \"2603:1040:a06::280/122\",\r\n \"2603:1040:a06:402::280/122\"\ - ,\r\n \"2603:1040:b04::6c0/122\",\r\n \"2603:1040:b04:402::280/122\"\ - ,\r\n \"2603:1040:c06::6c0/122\",\r\n \"2603:1040:c06:402::280/122\"\ - ,\r\n \"2603:1040:d04:1::400/120\",\r\n \"2603:1040:d04:400::180/122\"\ - ,\r\n \"2603:1040:f05::180/122\",\r\n \"2603:1040:f05:402::280/122\"\ - ,\r\n \"2603:1040:1104:1::/120\",\r\n \"2603:1040:1104:400::280/122\"\ - ,\r\n \"2603:1050:6::180/122\",\r\n \"2603:1050:6:402::280/122\"\ - ,\r\n \"2603:1050:403:1::40/122\",\r\n \"2603:1050:403:400::440/122\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureResourceManager.AustraliaCentral2\"\ - ,\r\n \"id\": \"AzureResourceManager.AustraliaCentral2\",\r\n \"\ - properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\"\ - : \"australiacentral2\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\"\r\n ],\r\n \"systemService\": \"AzureResourceManager\"\ - ,\r\n \"addressPrefixes\": [\r\n \"20.36.115.144/28\",\r\n\ - \ \"20.36.118.0/23\",\r\n \"20.36.126.0/23\",\r\n \ - \ \"2603:1010:404::6c0/122\",\r\n \"2603:1010:404:402::280/122\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureResourceManager.AustraliaSoutheast\"\ - ,\r\n \"id\": \"AzureResourceManager.AustraliaSoutheast\",\r\n \"\ - properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\"\ - : \"australiasoutheast\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\"\r\n ],\r\n \"systemService\": \"AzureResourceManager\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.77.53.32/28\",\r\n \ - \ \"13.77.55.0/25\",\r\n \"104.46.160.0/24\",\r\n \ - \ \"104.46.161.0/25\",\r\n \"104.46.180.0/23\",\r\n \"\ - 2603:1010:101::6c0/122\",\r\n \"2603:1010:101:402::280/122\"\r\n\ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureResourceManager.CanadaCentral\"\ - ,\r\n \"id\": \"AzureResourceManager.CanadaCentral\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"canadacentral\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\"\r\n ],\r\n \"systemService\": \"AzureResourceManager\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.71.173.192/28\",\r\n\ - \ \"20.38.150.0/23\",\r\n \"20.48.194.0/23\",\r\n \ - \ \"2603:1030:f05::180/122\",\r\n \"2603:1030:f05:402::280/122\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureResourceManager.KoreaCentral\"\ - ,\r\n \"id\": \"AzureResourceManager.KoreaCentral\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"koreacentral\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\"\r\n ],\r\n \"systemService\": \"AzureResourceManager\"\ - ,\r\n \"addressPrefixes\": [\r\n \"20.41.70.0/23\",\r\n \ - \ \"20.44.30.0/24\",\r\n \"52.231.19.208/28\",\r\n \ - \ \"52.231.22.0/24\",\r\n \"2603:1040:f05::180/122\",\r\n \ - \ \"2603:1040:f05:402::280/122\"\r\n ]\r\n }\r\n },\r\n\ - \ {\r\n \"name\": \"AzureResourceManager.SouthAfricaNorth\",\r\n \ - \ \"id\": \"AzureResourceManager.SouthAfricaNorth\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"southafricanorth\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\"\r\n ],\r\n \"systemService\": \"AzureResourceManager\"\ - ,\r\n \"addressPrefixes\": [\r\n \"102.133.123.224/28\",\r\ - \n \"102.133.158.0/23\",\r\n \"102.133.222.0/23\",\r\n \ - \ \"2603:1000:104::480/122\",\r\n \"2603:1000:104:402::280/122\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureResourceManager.SouthAfricaWest\"\ - ,\r\n \"id\": \"AzureResourceManager.SouthAfricaWest\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"southafricawest\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\"\r\n ],\r\n \"systemService\": \"AzureResourceManager\"\ - ,\r\n \"addressPrefixes\": [\r\n \"102.133.28.16/28\",\r\n\ - \ \"102.133.30.0/23\",\r\n \"102.133.62.0/23\",\r\n \ - \ \"2603:1000:4::6c0/122\",\r\n \"2603:1000:4:402::280/122\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureResourceManager.SouthCentralUS\"\ - ,\r\n \"id\": \"AzureResourceManager.SouthCentralUS\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"southcentralus\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\"\r\n ],\r\n \"systemService\": \"AzureResourceManager\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.73.240.224/28\",\r\n\ - \ \"13.73.246.0/23\",\r\n \"20.65.128.0/23\",\r\n \ - \ \"2603:1030:807::180/122\",\r\n \"2603:1030:807:402::280/122\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureResourceManager.SoutheastAsia\"\ - ,\r\n \"id\": \"AzureResourceManager.SoutheastAsia\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"southeastasia\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\"\r\n ],\r\n \"systemService\": \"AzureResourceManager\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.67.18.0/23\",\r\n \ - \ \"23.98.110.0/23\",\r\n \"40.78.234.176/28\",\r\n \ - \ \"2603:1040:5::280/122\",\r\n \"2603:1040:5:402::280/122\"\r\ - \n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureResourceManager.SwitzerlandNorth\"\ - ,\r\n \"id\": \"AzureResourceManager.SwitzerlandNorth\",\r\n \"\ - properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\"\ - : \"switzerlandn\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\"\r\n ],\r\n \"systemService\": \"AzureResourceManager\"\ - ,\r\n \"addressPrefixes\": [\r\n \"51.107.54.0/23\",\r\n \ - \ \"51.107.60.32/28\",\r\n \"51.107.62.0/23\",\r\n \ - \ \"2603:1020:a04::180/122\",\r\n \"2603:1020:a04:402::280/122\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureResourceManager.SwitzerlandWest\"\ - ,\r\n \"id\": \"AzureResourceManager.SwitzerlandWest\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"switzerlandw\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\"\r\n ],\r\n \"systemService\": \"AzureResourceManager\"\ - ,\r\n \"addressPrefixes\": [\r\n \"51.107.150.0/23\",\r\n\ - \ \"51.107.156.32/28\",\r\n \"51.107.158.0/23\",\r\n \ - \ \"2603:1020:b04::6c0/122\",\r\n \"2603:1020:b04:402::280/122\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureResourceManager.WestEurope\"\ - ,\r\n \"id\": \"AzureResourceManager.WestEurope\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"westeurope\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\"\r\n ],\r\n \"systemService\": \"AzureResourceManager\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.69.67.32/28\",\r\n \ - \ \"13.69.114.0/23\",\r\n \"20.61.100.0/23\",\r\n \ - \ \"40.113.178.0/28\",\r\n \"2603:1020:206::180/122\",\r\n \ - \ \"2603:1020:206:402::280/122\"\r\n ]\r\n }\r\n },\r\n\ - \ {\r\n \"name\": \"AzureSignalR\",\r\n \"id\": \"AzureSignalR\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n \ - \ \"region\": \"\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n\ - \ \"FW\"\r\n ],\r\n \"systemService\": \"AzureSignalR\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.66.145.0/26\",\r\n \ - \ \"13.67.15.64/27\",\r\n \"13.69.113.0/24\",\r\n \ - \ \"13.69.232.128/25\",\r\n \"13.70.74.224/27\",\r\n \"\ - 13.71.199.32/27\",\r\n \"13.73.244.64/27\",\r\n \"13.74.111.0/25\"\ - ,\r\n \"13.78.109.224/27\",\r\n \"13.89.175.128/26\",\r\n\ - \ \"20.38.132.96/27\",\r\n \"20.38.143.192/27\",\r\n \ - \ \"20.38.149.224/27\",\r\n \"20.40.229.0/27\",\r\n \ - \ \"20.42.64.128/25\",\r\n \"20.42.72.0/25\",\r\n \"20.44.10.128/26\"\ - ,\r\n \"20.44.17.128/26\",\r\n \"20.45.123.192/27\",\r\n\ - \ \"20.46.11.96/27\",\r\n \"20.48.196.192/27\",\r\n \ - \ \"20.49.91.192/27\",\r\n \"20.49.119.96/27\",\r\n \ - \ \"20.51.12.32/27\",\r\n \"20.51.17.224/27\",\r\n \"20.53.47.32/27\"\ - ,\r\n \"20.61.102.64/27\",\r\n \"20.62.59.32/27\",\r\n \ - \ \"20.62.133.64/27\",\r\n \"20.65.132.224/27\",\r\n \ - \ \"20.66.3.224/27\",\r\n \"20.69.0.192/27\",\r\n \"\ - 20.135.13.160/27\",\r\n \"20.150.174.160/27\",\r\n \"20.150.244.160/27\"\ - ,\r\n \"20.189.170.0/24\",\r\n \"20.191.166.64/27\",\r\n\ - \ \"20.192.44.64/27\",\r\n \"20.194.73.192/27\",\r\n \ - \ \"20.195.65.192/27\",\r\n \"20.195.72.192/27\",\r\n \ - \ \"23.98.86.64/27\",\r\n \"40.69.108.192/26\",\r\n \ - \ \"40.69.110.128/27\",\r\n \"40.70.148.192/26\",\r\n \"\ - 40.71.15.0/25\",\r\n \"40.78.204.96/27\",\r\n \"40.78.238.64/26\"\ - ,\r\n \"40.78.238.128/25\",\r\n \"40.78.245.64/26\",\r\n\ - \ \"40.78.253.0/26\",\r\n \"40.79.132.160/27\",\r\n \ - \ \"40.79.139.96/27\",\r\n \"40.79.148.32/27\",\r\n \ - \ \"40.79.163.96/27\",\r\n \"40.79.171.192/27\",\r\n \"\ - 40.79.189.0/27\",\r\n \"40.79.197.0/27\",\r\n \"40.80.53.32/27\"\ - ,\r\n \"40.120.64.160/27\",\r\n \"51.12.17.160/27\",\r\n\ - \ \"51.12.46.192/27\",\r\n \"51.12.101.192/27\",\r\n \ - \ \"51.12.168.0/27\",\r\n \"51.104.9.64/27\",\r\n \ - \ \"51.105.69.32/27\",\r\n \"51.105.77.0/27\",\r\n \"51.107.128.128/27\"\ - ,\r\n \"51.107.192.192/27\",\r\n \"51.107.242.192/27\",\r\ - \n \"51.107.250.192/27\",\r\n \"51.116.149.96/27\",\r\n\ - \ \"51.116.246.32/27\",\r\n \"51.120.213.96/27\",\r\n \ - \ \"51.120.233.96/27\",\r\n \"51.138.210.96/27\",\r\n \ - \ \"51.143.212.128/27\",\r\n \"52.136.53.224/27\",\r\n \ - \ \"52.138.92.224/27\",\r\n \"52.138.229.128/25\",\r\n \ - \ \"52.139.107.96/27\",\r\n \"52.146.136.32/27\",\r\n \ - \ \"52.167.109.0/26\",\r\n \"52.178.16.0/24\",\r\n \"52.182.141.64/26\"\ - ,\r\n \"52.231.20.96/27\",\r\n \"52.231.20.192/26\",\r\n\ - \ \"52.236.190.0/24\",\r\n \"102.37.160.32/27\",\r\n \ - \ \"102.133.126.96/27\",\r\n \"104.214.164.160/27\",\r\n \ - \ \"191.233.207.128/27\",\r\n \"191.238.72.96/27\"\r\n \ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureSignalR.AustraliaEast\"\ - ,\r\n \"id\": \"AzureSignalR.AustraliaEast\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"australiaeast\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"AzureSignalR\",\r\n \"addressPrefixes\": [\r\n \"13.70.74.224/27\"\ - ,\r\n \"20.53.47.32/27\",\r\n \"40.79.163.96/27\",\r\n \ - \ \"40.79.171.192/27\"\r\n ]\r\n }\r\n },\r\n {\r\ - \n \"name\": \"AzureSignalR.CanadaEast\",\r\n \"id\": \"AzureSignalR.CanadaEast\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \ - \ \"region\": \"canadaeast\",\r\n \"state\": \"GA\",\r\n \"\ - networkFeatures\": [\r\n \"API\"\r\n ],\r\n \"systemService\"\ - : \"AzureSignalR\",\r\n \"addressPrefixes\": [\r\n \"40.69.108.192/26\"\ - ,\r\n \"40.69.110.128/27\",\r\n \"52.139.107.96/27\"\r\n\ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureSignalR.EastUS\"\ - ,\r\n \"id\": \"AzureSignalR.EastUS\",\r\n \"properties\": {\r\n\ - \ \"changeNumber\": \"2\",\r\n \"region\": \"eastus\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\"\r\n ],\r\n \"systemService\": \"AzureSignalR\",\r\n\ - \ \"addressPrefixes\": [\r\n \"20.42.64.128/25\",\r\n \ - \ \"20.42.72.0/25\",\r\n \"20.62.133.64/27\",\r\n \"\ - 40.71.15.0/25\"\r\n ]\r\n }\r\n },\r\n {\r\n \"name\"\ - : \"AzureSignalR.NorthEurope\",\r\n \"id\": \"AzureSignalR.NorthEurope\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \ - \ \"region\": \"northeurope\",\r\n \"state\": \"GA\",\r\n \ - \ \"networkFeatures\": [\r\n \"API\"\r\n ],\r\n \"\ - systemService\": \"AzureSignalR\",\r\n \"addressPrefixes\": [\r\n \ - \ \"13.69.232.128/25\",\r\n \"13.74.111.0/25\",\r\n \ - \ \"52.138.229.128/25\",\r\n \"52.146.136.32/27\"\r\n \ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureSiteRecovery\"\ - ,\r\n \"id\": \"AzureSiteRecovery\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"2\",\r\n \"region\": \"\",\r\n \"\ - state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\ - \n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n \ - \ ],\r\n \"systemService\": \"AzureSiteRecovery\",\r\n \"addressPrefixes\"\ - : [\r\n \"13.66.141.240/28\",\r\n \"13.67.10.96/28\",\r\n\ - \ \"13.69.67.80/28\",\r\n \"13.69.107.80/28\",\r\n \ - \ \"13.69.230.16/28\",\r\n \"13.70.74.96/28\",\r\n \"\ - 13.70.159.158/32\",\r\n \"13.71.173.224/28\",\r\n \"13.71.196.144/28\"\ - ,\r\n \"13.73.242.192/28\",\r\n \"13.74.108.144/28\",\r\n\ - \ \"13.75.39.80/28\",\r\n \"13.77.53.64/28\",\r\n \ - \ \"13.78.109.128/28\",\r\n \"13.82.88.226/32\",\r\n \ - \ \"13.84.148.14/32\",\r\n \"13.86.219.176/28\",\r\n \"\ - 13.87.37.4/32\",\r\n \"13.87.58.48/28\",\r\n \"13.87.124.48/28\"\ - ,\r\n \"13.89.174.144/28\",\r\n \"20.36.34.70/32\",\r\n\ - \ \"20.36.69.62/32\",\r\n \"20.36.108.96/28\",\r\n \ - \ \"20.36.115.224/28\",\r\n \"20.36.120.80/28\",\r\n \ - \ \"20.37.64.80/28\",\r\n \"20.37.76.128/28\",\r\n \"20.37.156.96/28\"\ - ,\r\n \"20.37.192.112/28\",\r\n \"20.37.224.80/28\",\r\n\ - \ \"20.38.80.112/28\",\r\n \"20.38.128.80/28\",\r\n \ - \ \"20.38.136.80/28\",\r\n \"20.38.147.160/28\",\r\n \ - \ \"20.39.8.80/28\",\r\n \"20.41.4.64/28\",\r\n \"20.41.64.96/28\"\ - ,\r\n \"20.41.192.80/28\",\r\n \"20.42.4.96/28\",\r\n \ - \ \"20.42.129.128/28\",\r\n \"20.42.224.80/28\",\r\n \ - \ \"20.43.40.112/28\",\r\n \"20.43.64.112/28\",\r\n \ - \ \"20.43.121.16/28\",\r\n \"20.43.130.64/28\",\r\n \"20.44.4.80/28\"\ - ,\r\n \"20.44.8.176/28\",\r\n \"20.44.17.32/28\",\r\n \ - \ \"20.44.27.192/28\",\r\n \"20.45.75.232/32\",\r\n \ - \ \"20.45.112.80/28\",\r\n \"20.45.123.96/28\",\r\n \"\ - 20.45.192.80/28\",\r\n \"20.49.83.48/28\",\r\n \"20.49.91.48/28\"\ - ,\r\n \"20.72.16.0/28\",\r\n \"20.72.28.32/28\",\r\n \ - \ \"20.150.160.80/28\",\r\n \"20.150.172.48/28\",\r\n \ - \ \"20.150.179.208/28\",\r\n \"20.150.187.208/28\",\r\n \ - \ \"20.189.106.96/28\",\r\n \"20.192.99.208/28\",\r\n \ - \ \"20.192.160.0/28\",\r\n \"20.192.225.0/28\",\r\n \"\ - 20.192.235.224/28\",\r\n \"20.193.203.208/28\",\r\n \"20.194.67.48/28\"\ - ,\r\n \"23.96.195.247/32\",\r\n \"23.98.83.80/28\",\r\n\ - \ \"40.67.48.80/28\",\r\n \"40.67.60.80/28\",\r\n \ - \ \"40.69.108.64/28\",\r\n \"40.69.144.231/32\",\r\n \ - \ \"40.69.212.238/32\",\r\n \"40.70.148.96/28\",\r\n \"\ - 40.71.14.0/28\",\r\n \"40.74.24.112/28\",\r\n \"40.74.147.176/28\"\ - ,\r\n \"40.75.35.80/28\",\r\n \"40.78.196.64/28\",\r\n \ - \ \"40.78.204.16/28\",\r\n \"40.78.229.48/28\",\r\n \ - \ \"40.78.236.144/28\",\r\n \"40.78.243.160/28\",\r\n \ - \ \"40.78.251.96/28\",\r\n \"40.79.132.64/28\",\r\n \"\ - 40.79.139.0/28\",\r\n \"40.79.146.192/28\",\r\n \"40.79.156.48/28\"\ - ,\r\n \"40.79.163.16/28\",\r\n \"40.79.171.96/28\",\r\n\ - \ \"40.79.180.32/28\",\r\n \"40.79.187.176/28\",\r\n \ - \ \"40.79.195.160/28\",\r\n \"40.80.51.96/28\",\r\n \ - \ \"40.80.56.80/28\",\r\n \"40.80.168.80/28\",\r\n \"\ - 40.80.176.16/28\",\r\n \"40.80.184.96/28\",\r\n \"40.82.248.96/28\"\ - ,\r\n \"40.83.179.48/32\",\r\n \"40.89.16.80/28\",\r\n \ - \ \"40.119.9.192/28\",\r\n \"40.120.75.96/28\",\r\n \ - \ \"40.123.219.238/32\",\r\n \"51.12.47.0/28\",\r\n \ - \ \"51.12.100.32/28\",\r\n \"51.12.198.112/28\",\r\n \"\ - 51.12.204.32/28\",\r\n \"51.12.227.208/28\",\r\n \"51.12.235.208/28\"\ - ,\r\n \"51.104.9.0/28\",\r\n \"51.104.24.112/28\",\r\n \ - \ \"51.105.67.192/28\",\r\n \"51.105.75.160/28\",\r\n \ - \ \"51.105.80.80/28\",\r\n \"51.105.88.80/28\",\r\n \ - \ \"51.107.48.80/28\",\r\n \"51.107.60.64/28\",\r\n \"\ - 51.107.68.31/32\",\r\n \"51.107.144.80/28\",\r\n \"51.107.156.80/28\"\ - ,\r\n \"51.107.231.223/32\",\r\n \"51.116.48.80/28\",\r\n\ - \ \"51.116.60.64/28\",\r\n \"51.116.144.80/28\",\r\n \ - \ \"51.116.156.176/28\",\r\n \"51.116.208.58/32\",\r\n \ - \ \"51.116.243.128/28\",\r\n \"51.116.251.48/28\",\r\n \ - \ \"51.120.40.80/28\",\r\n \"51.120.100.64/28\",\r\n \ - \ \"51.120.107.208/28\",\r\n \"51.120.211.208/28\",\r\n \ - \ \"51.120.220.64/28\",\r\n \"51.120.224.80/28\",\r\n \"\ - 51.137.160.96/28\",\r\n \"51.140.43.158/32\",\r\n \"51.140.212.80/28\"\ - ,\r\n \"51.141.3.203/32\",\r\n \"51.142.209.167/32\",\r\n\ - \ \"51.143.192.80/28\",\r\n \"52.136.48.80/28\",\r\n \ - \ \"52.136.139.227/32\",\r\n \"52.138.92.64/28\",\r\n \ - \ \"52.138.227.144/28\",\r\n \"52.140.104.80/28\",\r\n \ - \ \"52.143.138.106/32\",\r\n \"52.150.136.96/28\",\r\n \ - \ \"52.161.20.168/32\",\r\n \"52.162.111.0/28\",\r\n \"\ - 52.166.13.64/32\",\r\n \"52.167.107.80/28\",\r\n \"52.172.46.220/32\"\ - ,\r\n \"52.172.187.37/32\",\r\n \"52.175.17.132/32\",\r\n\ - \ \"52.175.146.69/32\",\r\n \"52.180.178.64/32\",\r\n \ - \ \"52.182.139.192/28\",\r\n \"52.183.45.166/32\",\r\n \ - \ \"52.184.158.163/32\",\r\n \"52.185.150.140/32\",\r\n \ - \ \"52.187.58.193/32\",\r\n \"52.187.191.206/32\",\r\n \ - \ \"52.225.188.170/32\",\r\n \"52.228.36.192/32\",\r\n \ - \ \"52.228.80.96/28\",\r\n \"52.229.125.98/32\",\r\n \ - \ \"52.231.20.16/28\",\r\n \"52.231.28.253/32\",\r\n \"\ - 52.231.148.96/28\",\r\n \"52.231.198.185/32\",\r\n \"52.236.187.64/28\"\ - ,\r\n \"52.246.155.160/28\",\r\n \"65.52.252.192/28\",\r\ - \n \"102.133.28.128/28\",\r\n \"102.133.59.160/28\",\r\n\ - \ \"102.133.72.51/32\",\r\n \"102.133.124.64/28\",\r\n \ - \ \"102.133.156.96/28\",\r\n \"102.133.160.44/32\",\r\n \ - \ \"102.133.218.176/28\",\r\n \"102.133.251.160/28\",\r\n\ - \ \"104.210.113.114/32\",\r\n \"104.211.177.6/32\",\r\n\ - \ \"191.233.8.0/28\",\r\n \"191.233.51.192/28\",\r\n \ - \ \"191.233.205.80/28\",\r\n \"191.234.147.208/28\",\r\n \ - \ \"191.234.155.208/28\",\r\n \"191.234.185.172/32\",\r\n\ - \ \"191.235.224.112/28\",\r\n \"2603:1000:4::/123\",\r\n\ - \ \"2603:1000:4:402::2d0/125\",\r\n \"2603:1000:104:1::/123\"\ - ,\r\n \"2603:1000:104:402::2d0/125\",\r\n \"2603:1000:104:802::158/125\"\ - ,\r\n \"2603:1000:104:c02::158/125\",\r\n \"2603:1010:6:1::/123\"\ - ,\r\n \"2603:1010:6:402::2d0/125\",\r\n \"2603:1010:6:802::158/125\"\ - ,\r\n \"2603:1010:6:c02::158/125\",\r\n \"2603:1010:101::/123\"\ - ,\r\n \"2603:1010:101:402::2d0/125\",\r\n \"2603:1010:304::/123\"\ - ,\r\n \"2603:1010:304:402::2d0/125\",\r\n \"2603:1010:404::/123\"\ - ,\r\n \"2603:1010:404:402::2d0/125\",\r\n \"2603:1020:5:1::/123\"\ - ,\r\n \"2603:1020:5:402::2d0/125\",\r\n \"2603:1020:5:802::158/125\"\ - ,\r\n \"2603:1020:5:c02::158/125\",\r\n \"2603:1020:206:1::/123\"\ - ,\r\n \"2603:1020:206:402::2d0/125\",\r\n \"2603:1020:206:802::158/125\"\ - ,\r\n \"2603:1020:206:c02::158/125\",\r\n \"2603:1020:305::/123\"\ - ,\r\n \"2603:1020:305:402::2d0/125\",\r\n \"2603:1020:405::/123\"\ - ,\r\n \"2603:1020:405:402::2d0/125\",\r\n \"2603:1020:605::/123\"\ - ,\r\n \"2603:1020:605:402::2d0/125\",\r\n \"2603:1020:705:1::/123\"\ - ,\r\n \"2603:1020:705:402::2d0/125\",\r\n \"2603:1020:705:802::158/125\"\ - ,\r\n \"2603:1020:705:c02::158/125\",\r\n \"2603:1020:805:1::/123\"\ - ,\r\n \"2603:1020:805:402::2d0/125\",\r\n \"2603:1020:805:802::158/125\"\ - ,\r\n \"2603:1020:805:c02::158/125\",\r\n \"2603:1020:905::/123\"\ - ,\r\n \"2603:1020:905:402::2d0/125\",\r\n \"2603:1020:a04:1::/123\"\ - ,\r\n \"2603:1020:a04:402::2d0/125\",\r\n \"2603:1020:a04:802::158/125\"\ - ,\r\n \"2603:1020:a04:c02::158/125\",\r\n \"2603:1020:b04::/123\"\ - ,\r\n \"2603:1020:b04:402::2d0/125\",\r\n \"2603:1020:c04:1::/123\"\ - ,\r\n \"2603:1020:c04:402::2d0/125\",\r\n \"2603:1020:c04:802::158/125\"\ - ,\r\n \"2603:1020:c04:c02::158/125\",\r\n \"2603:1020:d04::/123\"\ - ,\r\n \"2603:1020:d04:402::2d0/125\",\r\n \"2603:1020:e04:1::/123\"\ - ,\r\n \"2603:1020:e04:402::2d0/125\",\r\n \"2603:1020:e04:802::158/125\"\ - ,\r\n \"2603:1020:e04:c02::158/125\",\r\n \"2603:1020:f04::/123\"\ - ,\r\n \"2603:1020:f04:402::2d0/125\",\r\n \"2603:1020:1004::/123\"\ - ,\r\n \"2603:1020:1004:400::1d0/125\",\r\n \"2603:1020:1004:400::2f0/125\"\ - ,\r\n \"2603:1020:1004:800::3e0/125\",\r\n \"2603:1020:1104::/123\"\ - ,\r\n \"2603:1020:1104:400::2d0/125\",\r\n \"2603:1030:f:1::/123\"\ - ,\r\n \"2603:1030:f:400::ad0/125\",\r\n \"2603:1030:10:1::/123\"\ - ,\r\n \"2603:1030:10:402::2d0/125\",\r\n \"2603:1030:10:802::158/125\"\ - ,\r\n \"2603:1030:10:c02::158/125\",\r\n \"2603:1030:104:1::/123\"\ - ,\r\n \"2603:1030:104:402::2d0/125\",\r\n \"2603:1030:107::/123\"\ - ,\r\n \"2603:1030:107:400::f8/125\",\r\n \"2603:1030:210:1::/123\"\ - ,\r\n \"2603:1030:210:402::2d0/125\",\r\n \"2603:1030:210:802::158/125\"\ - ,\r\n \"2603:1030:210:c02::158/125\",\r\n \"2603:1030:40b:1::/123\"\ - ,\r\n \"2603:1030:40b:400::ad0/125\",\r\n \"2603:1030:40b:800::158/125\"\ - ,\r\n \"2603:1030:40b:c00::158/125\",\r\n \"2603:1030:40c:1::/123\"\ - ,\r\n \"2603:1030:40c:402::2d0/125\",\r\n \"2603:1030:40c:802::158/125\"\ - ,\r\n \"2603:1030:40c:c02::158/125\",\r\n \"2603:1030:504:1::/123\"\ - ,\r\n \"2603:1030:504:402::1d0/125\",\r\n \"2603:1030:504:402::2f0/125\"\ - ,\r\n \"2603:1030:504:802::3e0/125\",\r\n \"2603:1030:608::/123\"\ - ,\r\n \"2603:1030:608:402::2d0/125\",\r\n \"2603:1030:807:1::/123\"\ - ,\r\n \"2603:1030:807:402::2d0/125\",\r\n \"2603:1030:807:802::158/125\"\ - ,\r\n \"2603:1030:807:c02::158/125\",\r\n \"2603:1030:a07::/123\"\ - ,\r\n \"2603:1030:a07:402::950/125\",\r\n \"2603:1030:b04::/123\"\ - ,\r\n \"2603:1030:b04:402::2d0/125\",\r\n \"2603:1030:c06:1::/123\"\ - ,\r\n \"2603:1030:c06:400::ad0/125\",\r\n \"2603:1030:c06:802::158/125\"\ - ,\r\n \"2603:1030:c06:c02::158/125\",\r\n \"2603:1030:f05:1::/123\"\ - ,\r\n \"2603:1030:f05:402::2d0/125\",\r\n \"2603:1030:f05:802::158/125\"\ - ,\r\n \"2603:1030:f05:c02::158/125\",\r\n \"2603:1030:1005::/123\"\ - ,\r\n \"2603:1030:1005:402::2d0/125\",\r\n \"2603:1040:5:1::/123\"\ - ,\r\n \"2603:1040:5:402::2d0/125\",\r\n \"2603:1040:5:802::158/125\"\ - ,\r\n \"2603:1040:5:c02::158/125\",\r\n \"2603:1040:207::/123\"\ - ,\r\n \"2603:1040:207:402::2d0/125\",\r\n \"2603:1040:407:1::/123\"\ - ,\r\n \"2603:1040:407:402::2d0/125\",\r\n \"2603:1040:407:802::158/125\"\ - ,\r\n \"2603:1040:407:c02::158/125\",\r\n \"2603:1040:606::/123\"\ - ,\r\n \"2603:1040:606:402::2d0/125\",\r\n \"2603:1040:806::/123\"\ - ,\r\n \"2603:1040:806:402::2d0/125\",\r\n \"2603:1040:904:1::/123\"\ - ,\r\n \"2603:1040:904:402::2d0/125\",\r\n \"2603:1040:904:802::158/125\"\ - ,\r\n \"2603:1040:904:c02::158/125\",\r\n \"2603:1040:a06:1::/123\"\ - ,\r\n \"2603:1040:a06:402::2d0/125\",\r\n \"2603:1040:a06:802::158/125\"\ - ,\r\n \"2603:1040:a06:c02::158/125\",\r\n \"2603:1040:b04::/123\"\ - ,\r\n \"2603:1040:b04:402::2d0/125\",\r\n \"2603:1040:c06::/123\"\ - ,\r\n \"2603:1040:c06:402::2d0/125\",\r\n \"2603:1040:d04::/123\"\ - ,\r\n \"2603:1040:d04:400::1d0/125\",\r\n \"2603:1040:d04:400::2f0/125\"\ - ,\r\n \"2603:1040:d04:800::3e0/125\",\r\n \"2603:1040:f05:1::/123\"\ - ,\r\n \"2603:1040:f05:402::2d0/125\",\r\n \"2603:1040:f05:802::158/125\"\ - ,\r\n \"2603:1040:f05:c02::158/125\",\r\n \"2603:1040:1104::/123\"\ - ,\r\n \"2603:1040:1104:400::2d0/125\",\r\n \"2603:1050:6:1::/123\"\ - ,\r\n \"2603:1050:6:402::2d0/125\",\r\n \"2603:1050:6:802::158/125\"\ - ,\r\n \"2603:1050:6:c02::158/125\",\r\n \"2603:1050:403::/123\"\ - ,\r\n \"2603:1050:403:400::1f0/125\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"AzureTrafficManager\",\r\n \"id\"\ - : \"AzureTrafficManager\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"1\",\r\n \"region\": \"\",\r\n \"state\": \"GA\",\r\n \ - \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\ - \n \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\"\ - : \"AzureTrafficManager\",\r\n \"addressPrefixes\": [\r\n \ - \ \"13.65.92.252/32\",\r\n \"13.65.95.152/32\",\r\n \"13.75.124.254/32\"\ - ,\r\n \"13.75.127.63/32\",\r\n \"13.75.152.253/32\",\r\n\ - \ \"13.75.153.124/32\",\r\n \"13.84.222.37/32\",\r\n \ - \ \"23.96.236.252/32\",\r\n \"23.101.191.199/32\",\r\n \ - \ \"40.68.30.66/32\",\r\n \"40.68.31.178/32\",\r\n \ - \ \"40.78.67.110/32\",\r\n \"40.87.147.10/32\",\r\n \"40.87.151.34/32\"\ - ,\r\n \"40.114.5.197/32\",\r\n \"52.172.155.168/32\",\r\n\ - \ \"52.172.158.37/32\",\r\n \"52.173.90.107/32\",\r\n \ - \ \"52.173.250.232/32\",\r\n \"52.240.144.45/32\",\r\n \ - \ \"52.240.151.125/32\",\r\n \"65.52.217.19/32\",\r\n \ - \ \"104.41.187.209/32\",\r\n \"104.41.190.203/32\",\r\n \ - \ \"104.42.192.195/32\",\r\n \"104.45.149.110/32\",\r\n \ - \ \"104.215.91.84/32\",\r\n \"137.135.46.163/32\",\r\n \ - \ \"137.135.47.215/32\",\r\n \"137.135.80.149/32\",\r\n \ - \ \"137.135.82.249/32\",\r\n \"191.232.208.52/32\",\r\n \ - \ \"191.232.214.62/32\"\r\n ]\r\n }\r\n },\r\n {\r\n\ - \ \"name\": \"BatchNodeManagement\",\r\n \"id\": \"BatchNodeManagement\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \ - \ \"region\": \"\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n\ - \ \"FW\"\r\n ],\r\n \"systemService\": \"BatchNodeManagement\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.65.192.161/32\",\r\n\ - \ \"13.65.208.36/32\",\r\n \"13.66.141.32/27\",\r\n \ - \ \"13.66.225.240/32\",\r\n \"13.66.227.117/32\",\r\n \ - \ \"13.66.227.193/32\",\r\n \"13.67.9.160/27\",\r\n \"\ - 13.67.58.116/32\",\r\n \"13.67.190.3/32\",\r\n \"13.67.237.249/32\"\ - ,\r\n \"13.69.65.64/26\",\r\n \"13.69.106.128/26\",\r\n\ - \ \"13.69.125.173/32\",\r\n \"13.69.229.32/27\",\r\n \ - \ \"13.70.73.0/27\",\r\n \"13.71.144.135/32\",\r\n \ - \ \"13.71.172.96/27\",\r\n \"13.71.195.160/27\",\r\n \"\ - 13.73.117.100/32\",\r\n \"13.73.153.226/32\",\r\n \"13.73.157.134/32\"\ - ,\r\n \"13.73.249.64/27\",\r\n \"13.74.107.128/27\",\r\n\ - \ \"13.75.36.96/27\",\r\n \"13.77.52.128/27\",\r\n \ - \ \"13.77.80.138/32\",\r\n \"13.78.108.128/27\",\r\n \ - \ \"13.78.145.2/32\",\r\n \"13.78.145.73/32\",\r\n \"13.78.150.134/32\"\ - ,\r\n \"13.78.187.18/32\",\r\n \"13.79.172.125/32\",\r\n\ - \ \"13.80.117.88/32\",\r\n \"13.81.1.133/32\",\r\n \ - \ \"13.81.59.254/32\",\r\n \"13.81.63.6/32\",\r\n \"\ - 13.81.104.137/32\",\r\n \"13.86.218.192/27\",\r\n \"13.87.32.176/32\"\ - ,\r\n \"13.87.32.218/32\",\r\n \"13.87.33.133/32\",\r\n\ - \ \"13.87.57.96/27\",\r\n \"13.87.97.57/32\",\r\n \ - \ \"13.87.97.82/32\",\r\n \"13.87.100.219/32\",\r\n \"\ - 13.87.123.96/27\",\r\n \"13.89.55.147/32\",\r\n \"13.89.171.224/27\"\ - ,\r\n \"13.91.55.167/32\",\r\n \"13.91.88.93/32\",\r\n \ - \ \"13.91.107.154/32\",\r\n \"13.92.114.103/32\",\r\n \ - \ \"13.93.206.144/32\",\r\n \"13.94.214.82/32\",\r\n \ - \ \"13.95.9.27/32\",\r\n \"20.36.40.22/32\",\r\n \"20.36.47.197/32\"\ - ,\r\n \"20.36.107.128/27\",\r\n \"20.36.121.160/27\",\r\n\ - \ \"20.37.65.160/27\",\r\n \"20.37.75.224/27\",\r\n \ - \ \"20.37.196.128/27\",\r\n \"20.37.225.160/27\",\r\n \ - \ \"20.38.85.224/27\",\r\n \"20.38.137.192/27\",\r\n \ - \ \"20.38.146.224/27\",\r\n \"20.39.1.125/32\",\r\n \"20.39.1.239/32\"\ - ,\r\n \"20.39.2.44/32\",\r\n \"20.39.2.122/32\",\r\n \ - \ \"20.39.3.157/32\",\r\n \"20.39.3.186/32\",\r\n \ - \ \"20.39.12.64/27\",\r\n \"20.40.137.186/32\",\r\n \"20.40.149.165/32\"\ - ,\r\n \"20.40.200.32/27\",\r\n \"20.41.5.224/27\",\r\n \ - \ \"20.41.66.128/27\",\r\n \"20.41.195.128/27\",\r\n \ - \ \"20.42.6.224/27\",\r\n \"20.42.227.224/27\",\r\n \ - \ \"20.43.42.96/27\",\r\n \"20.43.66.96/27\",\r\n \"20.43.132.64/27\"\ - ,\r\n \"20.44.4.112/29\",\r\n \"20.44.27.64/27\",\r\n \ - \ \"20.45.113.160/27\",\r\n \"20.45.122.224/27\",\r\n \ - \ \"20.45.195.192/27\",\r\n \"20.49.83.64/27\",\r\n \ - \ \"20.49.91.64/27\",\r\n \"20.50.1.64/26\",\r\n \"20.72.17.64/27\"\ - ,\r\n \"20.150.161.224/27\",\r\n \"20.150.172.0/27\",\r\n\ - \ \"20.150.179.96/27\",\r\n \"20.150.187.96/27\",\r\n \ - \ \"20.189.109.0/27\",\r\n \"20.192.99.96/27\",\r\n \ - \ \"20.192.161.224/27\",\r\n \"20.192.228.160/27\",\r\n \ - \ \"20.192.235.192/27\",\r\n \"20.193.203.128/27\",\r\n \ - \ \"23.96.12.112/32\",\r\n \"23.96.101.73/32\",\r\n \"\ - 23.96.109.140/32\",\r\n \"23.96.232.67/32\",\r\n \"23.97.48.186/32\"\ - ,\r\n \"23.97.51.12/32\",\r\n \"23.97.97.29/32\",\r\n \ - \ \"23.97.180.74/32\",\r\n \"23.98.82.160/27\",\r\n \ - \ \"23.99.98.61/32\",\r\n \"23.99.107.229/32\",\r\n \"\ - 23.99.195.236/32\",\r\n \"23.100.100.145/32\",\r\n \"23.100.103.112/32\"\ - ,\r\n \"23.101.176.33/32\",\r\n \"23.102.178.148/32\",\r\ - \n \"23.102.185.64/32\",\r\n \"40.64.128.160/27\",\r\n \ - \ \"40.67.49.160/27\",\r\n \"40.67.60.0/27\",\r\n \ - \ \"40.68.100.153/32\",\r\n \"40.68.191.54/32\",\r\n \"\ - 40.68.218.90/32\",\r\n \"40.69.107.128/27\",\r\n \"40.70.147.224/27\"\ - ,\r\n \"40.71.12.192/27\",\r\n \"40.74.101.0/27\",\r\n \ - \ \"40.74.140.140/32\",\r\n \"40.74.149.48/29\",\r\n \ - \ \"40.74.177.177/32\",\r\n \"40.75.35.136/29\",\r\n \ - \ \"40.77.18.99/32\",\r\n \"40.78.195.128/27\",\r\n \"\ - 40.78.203.0/27\",\r\n \"40.78.227.0/27\",\r\n \"40.78.234.96/27\"\ - ,\r\n \"40.78.242.224/27\",\r\n \"40.78.250.160/27\",\r\n\ - \ \"40.79.131.96/27\",\r\n \"40.79.138.96/27\",\r\n \ - \ \"40.79.146.96/27\",\r\n \"40.79.154.32/27\",\r\n \ - \ \"40.79.162.96/27\",\r\n \"40.79.170.192/27\",\r\n \"\ - 40.79.186.128/27\",\r\n \"40.79.194.32/27\",\r\n \"40.80.50.224/27\"\ - ,\r\n \"40.80.58.160/27\",\r\n \"40.80.170.128/27\",\r\n\ - \ \"40.80.190.192/27\",\r\n \"40.82.255.64/27\",\r\n \ - \ \"40.84.49.170/32\",\r\n \"40.84.62.82/32\",\r\n \ - \ \"40.85.226.213/32\",\r\n \"40.85.227.37/32\",\r\n \"\ - 40.86.224.98/32\",\r\n \"40.86.224.104/32\",\r\n \"40.88.48.36/32\"\ - ,\r\n \"40.89.18.192/27\",\r\n \"40.89.65.161/32\",\r\n\ - \ \"40.89.66.236/32\",\r\n \"40.89.67.77/32\",\r\n \ - \ \"40.89.70.17/32\",\r\n \"40.112.254.235/32\",\r\n \ - \ \"40.115.50.9/32\",\r\n \"40.118.208.127/32\",\r\n \"\ - 40.122.166.234/32\",\r\n \"51.12.41.192/27\",\r\n \"51.12.100.0/27\"\ - ,\r\n \"51.12.193.192/27\",\r\n \"51.12.204.0/27\",\r\n\ - \ \"51.12.227.96/27\",\r\n \"51.12.235.96/27\",\r\n \ - \ \"51.104.28.0/27\",\r\n \"51.105.66.224/27\",\r\n \ - \ \"51.105.74.224/27\",\r\n \"51.105.81.160/27\",\r\n \"\ - 51.105.89.192/27\",\r\n \"51.107.49.192/27\",\r\n \"51.107.59.224/27\"\ - ,\r\n \"51.107.145.160/27\",\r\n \"51.107.155.224/27\",\r\ - \n \"51.116.48.224/27\",\r\n \"51.116.59.224/27\",\r\n \ - \ \"51.116.144.224/27\",\r\n \"51.116.154.32/27\",\r\n \ - \ \"51.116.243.0/27\",\r\n \"51.116.251.0/27\",\r\n \ - \ \"51.120.41.192/27\",\r\n \"51.120.99.224/27\",\r\n \ - \ \"51.120.107.96/27\",\r\n \"51.120.211.96/27\",\r\n \"\ - 51.120.220.0/27\",\r\n \"51.120.225.160/27\",\r\n \"51.137.162.192/27\"\ - ,\r\n \"51.140.148.160/27\",\r\n \"51.140.184.59/32\",\r\ - \n \"51.140.184.61/32\",\r\n \"51.140.184.63/32\",\r\n \ - \ \"51.140.211.128/27\",\r\n \"51.141.8.61/32\",\r\n \ - \ \"51.141.8.62/32\",\r\n \"51.141.8.64/32\",\r\n \"\ - 51.143.193.160/27\",\r\n \"52.136.49.192/27\",\r\n \"52.136.143.192/31\"\ - ,\r\n \"52.137.105.46/32\",\r\n \"52.138.90.64/27\",\r\n\ - \ \"52.138.226.128/27\",\r\n \"52.140.106.128/27\",\r\n\ - \ \"52.143.139.121/32\",\r\n \"52.143.140.12/32\",\r\n \ - \ \"52.148.148.46/32\",\r\n \"52.150.140.128/27\",\r\n \ - \ \"52.161.95.12/32\",\r\n \"52.161.107.48/32\",\r\n \ - \ \"52.162.110.32/27\",\r\n \"52.164.244.189/32\",\r\n \ - \ \"52.164.245.81/32\",\r\n \"52.165.44.224/32\",\r\n \ - \ \"52.166.19.45/32\",\r\n \"52.167.106.128/27\",\r\n \"\ - 52.169.27.79/32\",\r\n \"52.169.30.175/32\",\r\n \"52.169.235.90/32\"\ - ,\r\n \"52.174.33.113/32\",\r\n \"52.174.34.69/32\",\r\n\ - \ \"52.174.35.218/32\",\r\n \"52.174.38.99/32\",\r\n \ - \ \"52.174.176.203/32\",\r\n \"52.174.179.66/32\",\r\n \ - \ \"52.174.180.164/32\",\r\n \"52.175.218.150/32\",\r\n \ - \ \"52.178.149.188/32\",\r\n \"52.180.176.58/32\",\r\n \ - \ \"52.180.177.108/32\",\r\n \"52.180.177.206/32\",\r\n \ - \ \"52.180.179.94/32\",\r\n \"52.180.181.0/32\",\r\n \ - \ \"52.180.181.239/32\",\r\n \"52.182.139.0/27\",\r\n \"\ - 52.188.222.115/32\",\r\n \"52.189.217.254/32\",\r\n \"52.191.129.21/32\"\ - ,\r\n \"52.191.166.57/32\",\r\n \"52.225.185.38/32\",\r\n\ - \ \"52.225.191.67/32\",\r\n \"52.228.44.187/32\",\r\n \ - \ \"52.228.83.192/27\",\r\n \"52.231.19.96/27\",\r\n \ - \ \"52.231.32.70/31\",\r\n \"52.231.32.82/32\",\r\n \ - \ \"52.231.147.128/27\",\r\n \"52.231.200.112/31\",\r\n \ - \ \"52.231.200.126/32\",\r\n \"52.233.40.34/32\",\r\n \"\ - 52.233.157.9/32\",\r\n \"52.233.157.78/32\",\r\n \"52.233.161.238/32\"\ - ,\r\n \"52.233.172.80/32\",\r\n \"52.235.41.66/32\",\r\n\ - \ \"52.236.186.128/26\",\r\n \"52.237.30.175/32\",\r\n \ - \ \"52.242.22.129/32\",\r\n \"52.242.33.105/32\",\r\n \ - \ \"52.246.154.224/27\",\r\n \"52.249.60.22/32\",\r\n \ - \ \"52.253.227.240/32\",\r\n \"65.52.199.156/32\",\r\n \ - \ \"65.52.199.188/32\",\r\n \"65.52.251.224/27\",\r\n \ - \ \"70.37.49.163/32\",\r\n \"102.133.27.192/27\",\r\n \"\ - 102.133.56.192/27\",\r\n \"102.133.123.64/27\",\r\n \"102.133.155.192/27\"\ - ,\r\n \"102.133.217.224/27\",\r\n \"102.133.250.224/27\"\ - ,\r\n \"104.40.69.159/32\",\r\n \"104.40.183.25/32\",\r\n\ - \ \"104.41.2.182/32\",\r\n \"104.41.129.99/32\",\r\n \ - \ \"104.43.128.78/32\",\r\n \"104.43.131.156/32\",\r\n \ - \ \"104.43.132.75/32\",\r\n \"104.45.13.8/32\",\r\n \ - \ \"104.45.82.201/32\",\r\n \"104.45.88.181/32\",\r\n \"\ - 104.46.232.208/32\",\r\n \"104.46.236.29/32\",\r\n \"104.47.149.96/32\"\ - ,\r\n \"104.208.16.128/27\",\r\n \"104.208.144.128/27\"\ - ,\r\n \"104.208.156.99/32\",\r\n \"104.208.157.18/32\",\r\ - \n \"104.210.3.254/32\",\r\n \"104.210.115.52/32\",\r\n\ - \ \"104.211.82.96/27\",\r\n \"104.211.96.142/32\",\r\n \ - \ \"104.211.96.144/31\",\r\n \"104.211.147.96/27\",\r\n \ - \ \"104.211.160.72/32\",\r\n \"104.211.160.74/31\",\r\n \ - \ \"104.211.224.117/32\",\r\n \"104.211.224.119/32\",\r\n\ - \ \"104.211.224.121/32\",\r\n \"104.214.19.192/27\",\r\n\ - \ \"104.214.65.153/32\",\r\n \"111.221.104.48/32\",\r\n\ - \ \"137.116.33.5/32\",\r\n \"137.116.33.29/32\",\r\n \ - \ \"137.116.33.71/32\",\r\n \"137.116.37.146/32\",\r\n \ - \ \"137.116.46.180/32\",\r\n \"137.116.193.225/32\",\r\n \ - \ \"137.117.45.176/32\",\r\n \"137.117.109.143/32\",\r\n \ - \ \"138.91.1.114/32\",\r\n \"138.91.17.36/32\",\r\n \ - \ \"157.55.167.71/32\",\r\n \"157.55.210.88/32\",\r\n \ - \ \"168.61.161.154/32\",\r\n \"168.61.209.228/32\",\r\n \ - \ \"168.62.4.114/32\",\r\n \"168.62.36.128/32\",\r\n \"\ - 168.62.168.27/32\",\r\n \"168.63.5.53/32\",\r\n \"168.63.36.126/32\"\ - ,\r\n \"168.63.133.23/32\",\r\n \"168.63.208.148/32\",\r\ - \n \"191.232.37.60/32\",\r\n \"191.233.10.0/27\",\r\n \ - \ \"191.233.76.85/32\",\r\n \"191.233.204.96/27\",\r\n \ - \ \"191.234.147.96/27\",\r\n \"191.234.155.96/27\",\r\n \ - \ \"191.235.227.192/27\",\r\n \"191.236.37.239/32\",\r\n \ - \ \"191.236.38.142/32\",\r\n \"191.236.161.35/32\",\r\n \ - \ \"191.236.163.245/32\",\r\n \"191.236.164.44/32\",\r\n \ - \ \"191.239.18.3/32\",\r\n \"191.239.21.73/32\",\r\n \ - \ \"191.239.40.217/32\",\r\n \"191.239.64.139/32\",\r\n \ - \ \"191.239.64.152/32\",\r\n \"191.239.160.161/32\",\r\n \ - \ \"191.239.160.185/32\",\r\n \"207.46.149.75/32\",\r\n \ - \ \"207.46.225.72/32\",\r\n \"2603:1000:4::400/122\",\r\n \ - \ \"2603:1000:104:1::340/122\",\r\n \"2603:1010:6:1::340/122\"\ - ,\r\n \"2603:1010:101::400/122\",\r\n \"2603:1010:304::400/122\"\ - ,\r\n \"2603:1010:404::400/122\",\r\n \"2603:1020:5:1::340/122\"\ - ,\r\n \"2603:1020:206:1::340/122\",\r\n \"2603:1020:305::400/122\"\ - ,\r\n \"2603:1020:405::400/122\",\r\n \"2603:1020:605::400/122\"\ - ,\r\n \"2603:1020:705:1::340/122\",\r\n \"2603:1020:805:1::340/122\"\ - ,\r\n \"2603:1020:905::400/122\",\r\n \"2603:1020:a04:1::340/122\"\ - ,\r\n \"2603:1020:b04::400/122\",\r\n \"2603:1020:c04:1::340/122\"\ - ,\r\n \"2603:1020:d04::400/122\",\r\n \"2603:1020:e04:1::340/122\"\ - ,\r\n \"2603:1020:f04::400/122\",\r\n \"2603:1020:1004::340/122\"\ - ,\r\n \"2603:1020:1104::300/122\",\r\n \"2603:1030:f:1::400/122\"\ - ,\r\n \"2603:1030:10:1::340/122\",\r\n \"2603:1030:104:1::340/122\"\ - ,\r\n \"2603:1030:107::300/122\",\r\n \"2603:1030:210:1::340/122\"\ - ,\r\n \"2603:1030:40b:1::340/122\",\r\n \"2603:1030:40c:1::340/122\"\ - ,\r\n \"2603:1030:504:1::340/122\",\r\n \"2603:1030:608::400/122\"\ - ,\r\n \"2603:1030:807:1::340/122\",\r\n \"2603:1030:a07::400/122\"\ - ,\r\n \"2603:1030:b04::400/122\",\r\n \"2603:1030:c06:1::340/122\"\ - ,\r\n \"2603:1030:f05:1::340/122\",\r\n \"2603:1030:1005::400/122\"\ - ,\r\n \"2603:1040:5:1::340/122\",\r\n \"2603:1040:207::400/122\"\ - ,\r\n \"2603:1040:407:1::340/122\",\r\n \"2603:1040:606::400/122\"\ - ,\r\n \"2603:1040:806::400/122\",\r\n \"2603:1040:904:1::340/122\"\ - ,\r\n \"2603:1040:a06:1::340/122\",\r\n \"2603:1040:b04::400/122\"\ - ,\r\n \"2603:1040:c06::400/122\",\r\n \"2603:1040:d04::340/122\"\ - ,\r\n \"2603:1040:f05:1::340/122\",\r\n \"2603:1040:1104::300/122\"\ - ,\r\n \"2603:1050:6:1::340/122\",\r\n \"2603:1050:403::340/122\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"BatchNodeManagement.AustraliaCentral\"\ - ,\r\n \"id\": \"BatchNodeManagement.AustraliaCentral\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"australiacentral\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"BatchNodeManagement\",\r\ - \n \"addressPrefixes\": [\r\n \"20.36.40.22/32\",\r\n \ - \ \"20.36.47.197/32\",\r\n \"20.36.107.128/27\",\r\n \ - \ \"20.37.225.160/27\",\r\n \"2603:1010:304::400/122\"\r\n \ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"BatchNodeManagement.AustraliaEast\"\ - ,\r\n \"id\": \"BatchNodeManagement.AustraliaEast\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"1\",\r\n \"region\": \"australiaeast\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"BatchNodeManagement\",\r\ - \n \"addressPrefixes\": [\r\n \"13.70.73.0/27\",\r\n \ - \ \"20.37.196.128/27\",\r\n \"40.79.162.96/27\",\r\n \ - \ \"40.79.170.192/27\",\r\n \"104.210.115.52/32\",\r\n \ - \ \"191.239.64.139/32\",\r\n \"191.239.64.152/32\",\r\n \ - \ \"2603:1010:6:1::340/122\"\r\n ]\r\n }\r\n },\r\n {\r\n\ - \ \"name\": \"BatchNodeManagement.AustraliaSoutheast\",\r\n \"id\"\ - : \"BatchNodeManagement.AustraliaSoutheast\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"2\",\r\n \"region\": \"australiasoutheast\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"BatchNodeManagement\",\r\ - \n \"addressPrefixes\": [\r\n \"13.73.117.100/32\",\r\n \ - \ \"13.77.52.128/27\",\r\n \"20.42.227.224/27\",\r\n \ - \ \"52.189.217.254/32\",\r\n \"191.239.160.161/32\",\r\n \ - \ \"191.239.160.185/32\",\r\n \"2603:1010:101::400/122\"\r\n\ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"BatchNodeManagement.BrazilSouth\"\ - ,\r\n \"id\": \"BatchNodeManagement.BrazilSouth\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"1\",\r\n \"region\": \"brazilsouth\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"BatchNodeManagement\",\r\ - \n \"addressPrefixes\": [\r\n \"23.97.97.29/32\",\r\n \ - \ \"104.41.2.182/32\",\r\n \"191.232.37.60/32\",\r\n \ - \ \"191.233.204.96/27\",\r\n \"191.234.147.96/27\",\r\n \ - \ \"191.234.155.96/27\",\r\n \"191.235.227.192/27\",\r\n \ - \ \"2603:1050:6:1::340/122\"\r\n ]\r\n }\r\n },\r\n {\r\ - \n \"name\": \"BatchNodeManagement.CanadaCentral\",\r\n \"id\":\ - \ \"BatchNodeManagement.CanadaCentral\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"1\",\r\n \"region\": \"canadacentral\",\r\ - \n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"BatchNodeManagement\",\r\n\ - \ \"addressPrefixes\": [\r\n \"13.71.172.96/27\",\r\n \ - \ \"20.38.146.224/27\",\r\n \"40.85.226.213/32\",\r\n \ - \ \"40.85.227.37/32\",\r\n \"52.228.44.187/32\",\r\n \ - \ \"52.228.83.192/27\",\r\n \"52.233.40.34/32\",\r\n \"\ - 52.237.30.175/32\",\r\n \"52.246.154.224/27\",\r\n \"2603:1030:f05:1::340/122\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"BatchNodeManagement.CanadaEast\"\ - ,\r\n \"id\": \"BatchNodeManagement.CanadaEast\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"canadaeast\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"BatchNodeManagement\",\r\ - \n \"addressPrefixes\": [\r\n \"40.69.107.128/27\",\r\n \ - \ \"40.86.224.98/32\",\r\n \"40.86.224.104/32\",\r\n \ - \ \"40.89.18.192/27\",\r\n \"52.235.41.66/32\",\r\n \ - \ \"52.242.22.129/32\",\r\n \"52.242.33.105/32\",\r\n \"\ - 2603:1030:1005::400/122\"\r\n ]\r\n }\r\n },\r\n {\r\n \ - \ \"name\": \"BatchNodeManagement.CentralIndia\",\r\n \"id\": \"\ - BatchNodeManagement.CentralIndia\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"1\",\r\n \"region\": \"centralindia\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"\ - API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n\ - \ ],\r\n \"systemService\": \"BatchNodeManagement\",\r\n \ - \ \"addressPrefixes\": [\r\n \"20.192.99.96/27\",\r\n \ - \ \"40.80.50.224/27\",\r\n \"52.140.106.128/27\",\r\n \ - \ \"104.211.82.96/27\",\r\n \"104.211.96.142/32\",\r\n \"\ - 104.211.96.144/31\",\r\n \"2603:1040:a06:1::340/122\"\r\n \ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"BatchNodeManagement.CentralUS\"\ - ,\r\n \"id\": \"BatchNodeManagement.CentralUS\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"1\",\r\n \"region\": \"centralus\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"BatchNodeManagement\",\r\ - \n \"addressPrefixes\": [\r\n \"13.67.190.3/32\",\r\n \ - \ \"13.67.237.249/32\",\r\n \"13.89.55.147/32\",\r\n \ - \ \"13.89.171.224/27\",\r\n \"20.40.200.32/27\",\r\n \"\ - 23.99.195.236/32\",\r\n \"40.77.18.99/32\",\r\n \"40.122.166.234/32\"\ - ,\r\n \"52.165.44.224/32\",\r\n \"52.182.139.0/27\",\r\n\ - \ \"104.43.128.78/32\",\r\n \"104.43.131.156/32\",\r\n \ - \ \"104.43.132.75/32\",\r\n \"104.208.16.128/27\",\r\n \ - \ \"168.61.161.154/32\",\r\n \"168.61.209.228/32\",\r\n \ - \ \"2603:1030:10:1::340/122\"\r\n ]\r\n }\r\n },\r\n\ - \ {\r\n \"name\": \"BatchNodeManagement.CentralUSEUAP\",\r\n \ - \ \"id\": \"BatchNodeManagement.CentralUSEUAP\",\r\n \"properties\":\ - \ {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"centraluseuap\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"BatchNodeManagement\",\r\ - \n \"addressPrefixes\": [\r\n \"20.45.195.192/27\",\r\n \ - \ \"40.78.203.0/27\",\r\n \"52.180.176.58/32\",\r\n \ - \ \"52.180.177.108/32\",\r\n \"52.180.177.206/32\",\r\n \ - \ \"52.180.179.94/32\",\r\n \"52.180.181.0/32\",\r\n \ - \ \"52.180.181.239/32\",\r\n \"2603:1030:f:1::400/122\"\r\n \ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"BatchNodeManagement.EastAsia\"\ - ,\r\n \"id\": \"BatchNodeManagement.EastAsia\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"eastasia\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"BatchNodeManagement\",\r\ - \n \"addressPrefixes\": [\r\n \"13.75.36.96/27\",\r\n \ - \ \"20.189.109.0/27\",\r\n \"23.99.98.61/32\",\r\n \ - \ \"23.99.107.229/32\",\r\n \"168.63.133.23/32\",\r\n \"\ - 168.63.208.148/32\",\r\n \"207.46.149.75/32\",\r\n \"2603:1040:207::400/122\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"BatchNodeManagement.EastUS\"\ - ,\r\n \"id\": \"BatchNodeManagement.EastUS\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"1\",\r\n \"region\": \"eastus\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"BatchNodeManagement\",\r\ - \n \"addressPrefixes\": [\r\n \"13.92.114.103/32\",\r\n \ - \ \"20.42.6.224/27\",\r\n \"23.96.12.112/32\",\r\n \ - \ \"23.96.101.73/32\",\r\n \"23.96.109.140/32\",\r\n \"\ - 40.71.12.192/27\",\r\n \"40.78.227.0/27\",\r\n \"40.79.154.32/27\"\ - ,\r\n \"40.88.48.36/32\",\r\n \"52.188.222.115/32\",\r\n\ - \ \"104.41.129.99/32\",\r\n \"137.117.45.176/32\",\r\n \ - \ \"137.117.109.143/32\",\r\n \"168.62.36.128/32\",\r\n \ - \ \"168.62.168.27/32\",\r\n \"191.236.37.239/32\",\r\n \ - \ \"191.236.38.142/32\",\r\n \"2603:1030:210:1::340/122\"\r\ - \n ]\r\n }\r\n },\r\n {\r\n \"name\": \"BatchNodeManagement.EastUS2\"\ - ,\r\n \"id\": \"BatchNodeManagement.EastUS2\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"1\",\r\n \"region\": \"eastus2\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"BatchNodeManagement\",\r\ - \n \"addressPrefixes\": [\r\n \"13.77.80.138/32\",\r\n \ - \ \"20.41.5.224/27\",\r\n \"40.70.147.224/27\",\r\n \ - \ \"40.84.49.170/32\",\r\n \"40.84.62.82/32\",\r\n \"\ - 52.167.106.128/27\",\r\n \"104.208.144.128/27\",\r\n \"\ - 104.208.156.99/32\",\r\n \"104.208.157.18/32\",\r\n \"104.210.3.254/32\"\ - ,\r\n \"137.116.33.5/32\",\r\n \"137.116.33.29/32\",\r\n\ - \ \"137.116.33.71/32\",\r\n \"137.116.37.146/32\",\r\n \ - \ \"137.116.46.180/32\",\r\n \"2603:1030:40c:1::340/122\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"BatchNodeManagement.EastUS2EUAP\"\ - ,\r\n \"id\": \"BatchNodeManagement.EastUS2EUAP\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"1\",\r\n \"region\": \"eastus2euap\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"BatchNodeManagement\",\r\ - \n \"addressPrefixes\": [\r\n \"20.39.1.125/32\",\r\n \ - \ \"20.39.1.239/32\",\r\n \"20.39.2.44/32\",\r\n \"\ - 20.39.2.122/32\",\r\n \"20.39.3.157/32\",\r\n \"20.39.3.186/32\"\ - ,\r\n \"20.39.12.64/27\",\r\n \"40.74.149.48/29\",\r\n \ - \ \"40.75.35.136/29\",\r\n \"40.89.65.161/32\",\r\n \ - \ \"40.89.66.236/32\",\r\n \"40.89.67.77/32\",\r\n \"\ - 40.89.70.17/32\",\r\n \"52.138.90.64/27\",\r\n \"52.225.185.38/32\"\ - ,\r\n \"52.225.191.67/32\",\r\n \"52.253.227.240/32\",\r\ - \n \"2603:1030:40b:1::340/122\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"BatchNodeManagement.FranceCentral\",\r\n \ - \ \"id\": \"BatchNodeManagement.FranceCentral\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"1\",\r\n \"region\": \"centralfrance\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"BatchNodeManagement\",\r\ - \n \"addressPrefixes\": [\r\n \"20.40.137.186/32\",\r\n \ - \ \"20.40.149.165/32\",\r\n \"20.43.42.96/27\",\r\n \ - \ \"40.79.131.96/27\",\r\n \"40.79.138.96/27\",\r\n \"\ - 40.79.146.96/27\",\r\n \"52.143.139.121/32\",\r\n \"52.143.140.12/32\"\ - ,\r\n \"2603:1020:805:1::340/122\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"BatchNodeManagement.FranceSouth\",\r\n\ - \ \"id\": \"BatchNodeManagement.FranceSouth\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"southfrance\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"BatchNodeManagement\",\r\ - \n \"addressPrefixes\": [\r\n \"51.105.89.192/27\",\r\n \ - \ \"52.136.143.192/31\",\r\n \"2603:1020:905::400/122\"\r\n\ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"BatchNodeManagement.GermanyNorth\"\ - ,\r\n \"id\": \"BatchNodeManagement.GermanyNorth\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"germanyn\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"BatchNodeManagement\",\r\ - \n \"addressPrefixes\": [\r\n \"51.116.48.224/27\",\r\n \ - \ \"51.116.59.224/27\",\r\n \"2603:1020:d04::400/122\"\r\n\ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"BatchNodeManagement.GermanyWestCentral\"\ - ,\r\n \"id\": \"BatchNodeManagement.GermanyWestCentral\",\r\n \"\ - properties\": {\r\n \"changeNumber\": \"1\",\r\n \"region\"\ - : \"germanywc\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n\ - \ \"FW\"\r\n ],\r\n \"systemService\": \"BatchNodeManagement\"\ - ,\r\n \"addressPrefixes\": [\r\n \"51.116.144.224/27\",\r\n\ - \ \"51.116.154.32/27\",\r\n \"51.116.243.0/27\",\r\n \ - \ \"51.116.251.0/27\",\r\n \"2603:1020:c04:1::340/122\"\r\n\ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"BatchNodeManagement.JapanEast\"\ - ,\r\n \"id\": \"BatchNodeManagement.JapanEast\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"1\",\r\n \"region\": \"japaneast\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"BatchNodeManagement\",\r\n \"addressPrefixes\": [\r\n \ - \ \"13.71.144.135/32\",\r\n \"13.78.108.128/27\",\r\n \"\ - 20.43.66.96/27\",\r\n \"23.100.100.145/32\",\r\n \"23.100.103.112/32\"\ - ,\r\n \"40.79.186.128/27\",\r\n \"40.79.194.32/27\",\r\n\ - \ \"138.91.1.114/32\",\r\n \"2603:1040:407:1::340/122\"\r\ - \n ]\r\n }\r\n },\r\n {\r\n \"name\": \"BatchNodeManagement.JapanWest\"\ - ,\r\n \"id\": \"BatchNodeManagement.JapanWest\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"japanwest\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"BatchNodeManagement\",\r\ - \n \"addressPrefixes\": [\r\n \"40.74.101.0/27\",\r\n \ - \ \"40.74.140.140/32\",\r\n \"40.80.58.160/27\",\r\n \ - \ \"104.46.232.208/32\",\r\n \"104.46.236.29/32\",\r\n \ - \ \"138.91.17.36/32\",\r\n \"2603:1040:606::400/122\"\r\n \ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"BatchNodeManagement.KoreaCentral\"\ - ,\r\n \"id\": \"BatchNodeManagement.KoreaCentral\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"1\",\r\n \"region\": \"koreacentral\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"BatchNodeManagement\",\r\ - \n \"addressPrefixes\": [\r\n \"20.41.66.128/27\",\r\n \ - \ \"20.44.27.64/27\",\r\n \"52.231.19.96/27\",\r\n \ - \ \"52.231.32.70/31\",\r\n \"52.231.32.82/32\",\r\n \"\ - 2603:1040:f05:1::340/122\"\r\n ]\r\n }\r\n },\r\n {\r\n\ - \ \"name\": \"BatchNodeManagement.KoreaSouth\",\r\n \"id\": \"BatchNodeManagement.KoreaSouth\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n \ - \ \"region\": \"koreasouth\",\r\n \"state\": \"GA\",\r\n \"\ - networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n \ - \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\"\ - : \"BatchNodeManagement\",\r\n \"addressPrefixes\": [\r\n \ - \ \"40.80.170.128/27\",\r\n \"52.231.147.128/27\",\r\n \"\ - 52.231.200.112/31\",\r\n \"52.231.200.126/32\"\r\n ]\r\n \ - \ }\r\n },\r\n {\r\n \"name\": \"BatchNodeManagement.NorthCentralUS\"\ - ,\r\n \"id\": \"BatchNodeManagement.NorthCentralUS\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"northcentralus\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"BatchNodeManagement\",\r\ - \n \"addressPrefixes\": [\r\n \"23.96.232.67/32\",\r\n \ - \ \"40.80.190.192/27\",\r\n \"52.162.110.32/27\",\r\n \ - \ \"65.52.199.156/32\",\r\n \"65.52.199.188/32\",\r\n \ - \ \"157.55.167.71/32\",\r\n \"157.55.210.88/32\",\r\n \ - \ \"191.236.161.35/32\",\r\n \"191.236.163.245/32\",\r\n \ - \ \"191.236.164.44/32\",\r\n \"2603:1030:608::400/122\"\r\n \ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"BatchNodeManagement.NorthEurope\"\ - ,\r\n \"id\": \"BatchNodeManagement.NorthEurope\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"1\",\r\n \"region\": \"northeurope\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"BatchNodeManagement\",\r\ - \n \"addressPrefixes\": [\r\n \"13.69.229.32/27\",\r\n \ - \ \"13.74.107.128/27\",\r\n \"13.79.172.125/32\",\r\n \ - \ \"20.38.85.224/27\",\r\n \"52.138.226.128/27\",\r\n \ - \ \"52.164.244.189/32\",\r\n \"52.164.245.81/32\",\r\n \ - \ \"52.169.27.79/32\",\r\n \"52.169.30.175/32\",\r\n \"\ - 52.169.235.90/32\",\r\n \"52.178.149.188/32\",\r\n \"104.45.82.201/32\"\ - ,\r\n \"104.45.88.181/32\",\r\n \"168.63.36.126/32\",\r\n\ - \ \"2603:1020:5:1::340/122\"\r\n ]\r\n }\r\n },\r\n\ - \ {\r\n \"name\": \"BatchNodeManagement.NorwayEast\",\r\n \"\ - id\": \"BatchNodeManagement.NorwayEast\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"1\",\r\n \"region\": \"norwaye\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"BatchNodeManagement\",\r\n\ - \ \"addressPrefixes\": [\r\n \"51.120.41.192/27\",\r\n \ - \ \"51.120.99.224/27\",\r\n \"51.120.107.96/27\",\r\n \ - \ \"51.120.211.96/27\",\r\n \"2603:1020:e04:1::340/122\"\r\n\ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"BatchNodeManagement.NorwayWest\"\ - ,\r\n \"id\": \"BatchNodeManagement.NorwayWest\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"norwayw\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"BatchNodeManagement\",\r\ - \n \"addressPrefixes\": [\r\n \"51.120.220.0/27\",\r\n \ - \ \"51.120.225.160/27\",\r\n \"2603:1020:f04::400/122\"\r\n\ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"BatchNodeManagement.SouthAfricaNorth\"\ - ,\r\n \"id\": \"BatchNodeManagement.SouthAfricaNorth\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"1\",\r\n \"region\": \"southafricanorth\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"BatchNodeManagement\",\r\ - \n \"addressPrefixes\": [\r\n \"102.133.123.64/27\",\r\n \ - \ \"102.133.155.192/27\",\r\n \"102.133.217.224/27\",\r\n\ - \ \"102.133.250.224/27\",\r\n \"2603:1000:104:1::340/122\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"BatchNodeManagement.SouthAfricaWest\"\ - ,\r\n \"id\": \"BatchNodeManagement.SouthAfricaWest\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"southafricawest\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"BatchNodeManagement\",\r\ - \n \"addressPrefixes\": [\r\n \"102.133.27.192/27\",\r\n \ - \ \"102.133.56.192/27\",\r\n \"2603:1000:4::400/122\"\r\n\ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"BatchNodeManagement.SouthCentralUS\"\ - ,\r\n \"id\": \"BatchNodeManagement.SouthCentralUS\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"1\",\r\n \"region\": \"southcentralus\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"BatchNodeManagement\",\r\ - \n \"addressPrefixes\": [\r\n \"13.65.192.161/32\",\r\n \ - \ \"13.65.208.36/32\",\r\n \"13.73.249.64/27\",\r\n \ - \ \"20.45.122.224/27\",\r\n \"20.49.91.64/27\",\r\n \"\ - 23.101.176.33/32\",\r\n \"23.102.178.148/32\",\r\n \"23.102.185.64/32\"\ - ,\r\n \"40.74.177.177/32\",\r\n \"52.249.60.22/32\",\r\n\ - \ \"70.37.49.163/32\",\r\n \"104.214.19.192/27\",\r\n \ - \ \"104.214.65.153/32\",\r\n \"2603:1030:807:1::340/122\"\r\ - \n ]\r\n }\r\n },\r\n {\r\n \"name\": \"BatchNodeManagement.SoutheastAsia\"\ - ,\r\n \"id\": \"BatchNodeManagement.SoutheastAsia\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"1\",\r\n \"region\": \"southeastasia\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"BatchNodeManagement\",\r\ - \n \"addressPrefixes\": [\r\n \"13.67.9.160/27\",\r\n \ - \ \"13.67.58.116/32\",\r\n \"20.43.132.64/27\",\r\n \ - \ \"23.97.48.186/32\",\r\n \"23.97.51.12/32\",\r\n \"23.98.82.160/27\"\ - ,\r\n \"40.78.234.96/27\",\r\n \"111.221.104.48/32\",\r\n\ - \ \"207.46.225.72/32\",\r\n \"2603:1040:5:1::340/122\"\r\ - \n ]\r\n }\r\n },\r\n {\r\n \"name\": \"BatchNodeManagement.SouthIndia\"\ - ,\r\n \"id\": \"BatchNodeManagement.SouthIndia\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"southindia\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"BatchNodeManagement\",\r\ - \n \"addressPrefixes\": [\r\n \"20.41.195.128/27\",\r\n \ - \ \"40.78.195.128/27\",\r\n \"104.211.224.117/32\",\r\n \ - \ \"104.211.224.119/32\",\r\n \"104.211.224.121/32\",\r\n\ - \ \"2603:1040:c06::400/122\"\r\n ]\r\n }\r\n },\r\n\ - \ {\r\n \"name\": \"BatchNodeManagement.SwitzerlandNorth\",\r\n \ - \ \"id\": \"BatchNodeManagement.SwitzerlandNorth\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"1\",\r\n \"region\": \"switzerlandn\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"BatchNodeManagement\",\r\ - \n \"addressPrefixes\": [\r\n \"51.107.49.192/27\",\r\n \ - \ \"51.107.59.224/27\",\r\n \"2603:1020:a04:1::340/122\"\r\ - \n ]\r\n }\r\n },\r\n {\r\n \"name\": \"BatchNodeManagement.SwitzerlandWest\"\ - ,\r\n \"id\": \"BatchNodeManagement.SwitzerlandWest\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"switzerlandw\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"BatchNodeManagement\",\r\ - \n \"addressPrefixes\": [\r\n \"51.107.145.160/27\",\r\n \ - \ \"51.107.155.224/27\",\r\n \"2603:1020:b04::400/122\"\r\ - \n ]\r\n }\r\n },\r\n {\r\n \"name\": \"BatchNodeManagement.UAECentral\"\ - ,\r\n \"id\": \"BatchNodeManagement.UAECentral\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"uaecentral\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"BatchNodeManagement\",\r\ - \n \"addressPrefixes\": [\r\n \"20.37.65.160/27\",\r\n \ - \ \"20.37.75.224/27\",\r\n \"2603:1040:b04::400/122\"\r\n \ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"BatchNodeManagement.UAENorth\"\ - ,\r\n \"id\": \"BatchNodeManagement.UAENorth\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"1\",\r\n \"region\": \"uaenorth\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"BatchNodeManagement\",\r\ - \n \"addressPrefixes\": [\r\n \"20.38.137.192/27\",\r\n \ - \ \"65.52.251.224/27\",\r\n \"2603:1040:904:1::340/122\"\r\ - \n ]\r\n }\r\n },\r\n {\r\n \"name\": \"BatchNodeManagement.UKSouth\"\ - ,\r\n \"id\": \"BatchNodeManagement.UKSouth\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"1\",\r\n \"region\": \"uksouth\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"BatchNodeManagement\",\r\ - \n \"addressPrefixes\": [\r\n \"51.104.28.0/27\",\r\n \ - \ \"51.105.66.224/27\",\r\n \"51.105.74.224/27\",\r\n \ - \ \"51.140.148.160/27\",\r\n \"51.140.184.59/32\",\r\n \ - \ \"51.140.184.61/32\",\r\n \"51.140.184.63/32\",\r\n \ - \ \"2603:1020:705:1::340/122\"\r\n ]\r\n }\r\n },\r\n {\r\ - \n \"name\": \"BatchNodeManagement.UKSouth2\",\r\n \"id\": \"BatchNodeManagement.UKSouth2\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \ - \ \"region\": \"uksouth2\",\r\n \"state\": \"GA\",\r\n \"\ - networkFeatures\": [\r\n \"API\"\r\n ],\r\n \"systemService\"\ - : \"BatchNodeManagement\",\r\n \"addressPrefixes\": [\r\n \ - \ \"13.87.32.176/32\",\r\n \"13.87.32.218/32\",\r\n \"13.87.33.133/32\"\ - ,\r\n \"13.87.57.96/27\",\r\n \"51.143.193.160/27\",\r\n\ - \ \"2603:1020:405::400/122\"\r\n ]\r\n }\r\n },\r\n\ - \ {\r\n \"name\": \"BatchNodeManagement.UKWest\",\r\n \"id\"\ - : \"BatchNodeManagement.UKWest\",\r\n \"properties\": {\r\n \"\ - changeNumber\": \"2\",\r\n \"region\": \"ukwest\",\r\n \"state\"\ - : \"GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\n \ - \ \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n ],\r\n\ - \ \"systemService\": \"BatchNodeManagement\",\r\n \"addressPrefixes\"\ - : [\r\n \"51.137.162.192/27\",\r\n \"51.140.211.128/27\"\ - ,\r\n \"51.141.8.61/32\",\r\n \"51.141.8.62/32\",\r\n \ - \ \"51.141.8.64/32\",\r\n \"2603:1020:605::400/122\"\r\n \ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"BatchNodeManagement.WestCentralUS\"\ - ,\r\n \"id\": \"BatchNodeManagement.WestCentralUS\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"westcentralus\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"BatchNodeManagement\",\r\ - \n \"addressPrefixes\": [\r\n \"13.71.195.160/27\",\r\n \ - \ \"13.78.145.2/32\",\r\n \"13.78.145.73/32\",\r\n \ - \ \"13.78.150.134/32\",\r\n \"13.78.187.18/32\",\r\n \"\ - 52.150.140.128/27\",\r\n \"52.161.95.12/32\",\r\n \"52.161.107.48/32\"\ - ,\r\n \"2603:1030:b04::400/122\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"BatchNodeManagement.WestEurope\",\r\n \"\ - id\": \"BatchNodeManagement.WestEurope\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"1\",\r\n \"region\": \"westeurope\",\r\n\ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"BatchNodeManagement\",\r\n\ - \ \"addressPrefixes\": [\r\n \"13.69.65.64/26\",\r\n \ - \ \"13.69.106.128/26\",\r\n \"13.69.125.173/32\",\r\n \ - \ \"13.73.153.226/32\",\r\n \"13.73.157.134/32\",\r\n \ - \ \"13.80.117.88/32\",\r\n \"13.81.1.133/32\",\r\n \"13.81.59.254/32\"\ - ,\r\n \"13.81.63.6/32\",\r\n \"13.81.104.137/32\",\r\n \ - \ \"13.94.214.82/32\",\r\n \"13.95.9.27/32\",\r\n \ - \ \"20.50.1.64/26\",\r\n \"23.97.180.74/32\",\r\n \"40.68.100.153/32\"\ - ,\r\n \"40.68.191.54/32\",\r\n \"40.68.218.90/32\",\r\n\ - \ \"40.115.50.9/32\",\r\n \"52.166.19.45/32\",\r\n \ - \ \"52.174.33.113/32\",\r\n \"52.174.34.69/32\",\r\n \ - \ \"52.174.35.218/32\",\r\n \"52.174.38.99/32\",\r\n \"\ - 52.174.176.203/32\",\r\n \"52.174.179.66/32\",\r\n \"52.174.180.164/32\"\ - ,\r\n \"52.233.157.9/32\",\r\n \"52.233.157.78/32\",\r\n\ - \ \"52.233.161.238/32\",\r\n \"52.233.172.80/32\",\r\n \ - \ \"52.236.186.128/26\",\r\n \"104.40.183.25/32\",\r\n \ - \ \"104.45.13.8/32\",\r\n \"104.47.149.96/32\",\r\n \ - \ \"137.116.193.225/32\",\r\n \"168.63.5.53/32\",\r\n \ - \ \"191.233.76.85/32\",\r\n \"2603:1020:206:1::340/122\"\r\n \ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"BatchNodeManagement.WestIndia\"\ - ,\r\n \"id\": \"BatchNodeManagement.WestIndia\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"westindia\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"BatchNodeManagement\",\r\ - \n \"addressPrefixes\": [\r\n \"52.136.49.192/27\",\r\n \ - \ \"104.211.147.96/27\",\r\n \"104.211.160.72/32\",\r\n \ - \ \"104.211.160.74/31\",\r\n \"2603:1040:806::400/122\"\r\n\ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"BatchNodeManagement.WestUS\"\ - ,\r\n \"id\": \"BatchNodeManagement.WestUS\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"westus\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"BatchNodeManagement\",\r\ - \n \"addressPrefixes\": [\r\n \"13.86.218.192/27\",\r\n \ - \ \"13.91.55.167/32\",\r\n \"13.91.88.93/32\",\r\n \ - \ \"13.91.107.154/32\",\r\n \"13.93.206.144/32\",\r\n \ - \ \"40.82.255.64/27\",\r\n \"40.112.254.235/32\",\r\n \"\ - 40.118.208.127/32\",\r\n \"104.40.69.159/32\",\r\n \"168.62.4.114/32\"\ - ,\r\n \"191.239.18.3/32\",\r\n \"191.239.21.73/32\",\r\n\ - \ \"191.239.40.217/32\",\r\n \"2603:1030:a07::400/122\"\r\ - \n ]\r\n }\r\n },\r\n {\r\n \"name\": \"BatchNodeManagement.WestUS2\"\ - ,\r\n \"id\": \"BatchNodeManagement.WestUS2\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"1\",\r\n \"region\": \"westus2\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"BatchNodeManagement\",\r\ - \n \"addressPrefixes\": [\r\n \"13.66.141.32/27\",\r\n \ - \ \"13.66.225.240/32\",\r\n \"13.66.227.117/32\",\r\n \ - \ \"13.66.227.193/32\",\r\n \"40.64.128.160/27\",\r\n \ - \ \"40.78.242.224/27\",\r\n \"40.78.250.160/27\",\r\n \ - \ \"52.137.105.46/32\",\r\n \"52.148.148.46/32\",\r\n \"\ - 52.175.218.150/32\",\r\n \"52.191.129.21/32\",\r\n \"52.191.166.57/32\"\ - ,\r\n \"2603:1030:c06:1::340/122\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"CognitiveServicesManagement\",\r\n \ - \ \"id\": \"CognitiveServicesManagement\",\r\n \"properties\": {\r\n\ - \ \"changeNumber\": \"3\",\r\n \"region\": \"\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"API\"\ - ,\r\n \"NSG\",\r\n \"FW\"\r\n ],\r\n \"systemService\"\ - : \"CognitiveServicesManagement\",\r\n \"addressPrefixes\": [\r\n \ - \ \"13.64.73.207/32\",\r\n \"13.65.241.39/32\",\r\n \ - \ \"13.66.56.76/32\",\r\n \"13.66.141.232/29\",\r\n \ - \ \"13.66.142.0/26\",\r\n \"13.67.10.80/29\",\r\n \"13.67.10.128/26\"\ - ,\r\n \"13.68.82.4/32\",\r\n \"13.68.211.223/32\",\r\n \ - \ \"13.69.67.64/28\",\r\n \"13.69.67.128/26\",\r\n \ - \ \"13.69.230.0/29\",\r\n \"13.69.230.32/29\",\r\n \"\ - 13.70.74.88/29\",\r\n \"13.70.74.120/29\",\r\n \"13.70.127.50/32\"\ - ,\r\n \"13.70.149.125/32\",\r\n \"13.71.173.216/29\",\r\n\ - \ \"13.71.173.248/29\",\r\n \"13.71.196.136/29\",\r\n \ - \ \"13.71.196.168/29\",\r\n \"13.73.242.48/29\",\r\n \ - \ \"13.73.242.128/26\",\r\n \"13.73.249.0/27\",\r\n \ - \ \"13.73.249.96/27\",\r\n \"13.73.249.128/28\",\r\n \"\ - 13.73.253.122/31\",\r\n \"13.73.254.200/29\",\r\n \"13.73.254.208/29\"\ - ,\r\n \"13.73.254.216/30\",\r\n \"13.73.255.32/27\",\r\n\ - \ \"13.74.139.192/32\",\r\n \"13.75.39.64/29\",\r\n \ - \ \"13.75.39.96/29\",\r\n \"13.75.92.220/32\",\r\n \ - \ \"13.75.137.81/32\",\r\n \"13.75.163.9/32\",\r\n \"13.75.168.111/32\"\ - ,\r\n \"13.77.55.152/29\",\r\n \"13.77.170.155/32\",\r\n\ - \ \"13.78.17.188/32\",\r\n \"13.78.70.7/32\",\r\n \ - \ \"13.78.185.44/32\",\r\n \"13.78.187.168/32\",\r\n \ - \ \"13.83.68.180/32\",\r\n \"13.84.42.205/32\",\r\n \"13.86.178.10/32\"\ - ,\r\n \"13.86.184.142/32\",\r\n \"13.86.219.128/27\",\r\n\ - \ \"13.86.219.160/29\",\r\n \"13.87.216.38/32\",\r\n \ - \ \"13.88.14.63/32\",\r\n \"13.88.26.200/32\",\r\n \ - \ \"13.91.58.176/32\",\r\n \"13.91.138.229/32\",\r\n \"\ - 13.92.179.108/32\",\r\n \"13.93.122.1/32\",\r\n \"13.94.26.39/32\"\ - ,\r\n \"20.36.120.224/27\",\r\n \"20.36.121.192/27\",\r\n\ - \ \"20.36.121.224/28\",\r\n \"20.36.125.128/26\",\r\n \ - \ \"20.37.64.224/27\",\r\n \"20.37.65.192/27\",\r\n \ - \ \"20.37.65.224/28\",\r\n \"20.37.68.36/30\",\r\n \"\ - 20.37.70.128/26\",\r\n \"20.37.70.224/27\",\r\n \"20.37.71.208/28\"\ - ,\r\n \"20.37.76.200/30\",\r\n \"20.37.156.204/30\",\r\n\ - \ \"20.37.157.96/27\",\r\n \"20.37.195.112/28\",\r\n \ - \ \"20.37.195.192/27\",\r\n \"20.37.196.160/27\",\r\n \ - \ \"20.37.224.224/27\",\r\n \"20.37.225.192/27\",\r\n \ - \ \"20.37.225.224/28\",\r\n \"20.37.229.192/26\",\r\n \ - \ \"20.38.84.108/30\",\r\n \"20.38.85.160/27\",\r\n \"20.38.87.128/27\"\ - ,\r\n \"20.38.87.160/28\",\r\n \"20.38.136.240/28\",\r\n\ - \ \"20.38.137.128/27\",\r\n \"20.38.137.224/27\",\r\n \ - \ \"20.38.141.12/30\",\r\n \"20.38.142.128/26\",\r\n \ - \ \"20.38.142.224/27\",\r\n \"20.38.143.240/28\",\r\n \ - \ \"20.39.11.112/28\",\r\n \"20.39.12.0/27\",\r\n \"20.39.12.96/27\"\ - ,\r\n \"20.39.15.56/31\",\r\n \"20.39.15.60/30\",\r\n \ - \ \"20.40.125.208/32\",\r\n \"20.40.164.245/32\",\r\n \ - \ \"20.40.170.73/32\",\r\n \"20.40.187.210/32\",\r\n \ - \ \"20.40.188.109/32\",\r\n \"20.40.190.135/32\",\r\n \ - \ \"20.40.190.225/32\",\r\n \"20.40.200.64/27\",\r\n \"\ - 20.40.200.96/28\",\r\n \"20.40.207.152/29\",\r\n \"20.40.224.32/28\"\ - ,\r\n \"20.40.224.48/30\",\r\n \"20.40.224.56/29\",\r\n\ - \ \"20.40.225.64/26\",\r\n \"20.40.225.192/26\",\r\n \ - \ \"20.40.229.64/28\",\r\n \"20.41.5.160/27\",\r\n \ - \ \"20.41.65.192/27\",\r\n \"20.41.66.160/27\",\r\n \"\ - 20.41.66.192/28\",\r\n \"20.41.69.40/29\",\r\n \"20.41.69.56/30\"\ - ,\r\n \"20.41.193.176/28\",\r\n \"20.41.193.192/27\",\r\n\ - \ \"20.41.195.160/27\",\r\n \"20.41.208.0/30\",\r\n \ - \ \"20.42.4.204/30\",\r\n \"20.42.6.144/28\",\r\n \"\ - 20.42.6.160/27\",\r\n \"20.42.7.128/27\",\r\n \"20.42.131.240/28\"\ - ,\r\n \"20.42.227.144/28\",\r\n \"20.42.227.160/27\",\r\n\ - \ \"20.42.228.128/27\",\r\n \"20.43.42.16/28\",\r\n \ - \ \"20.43.42.32/27\",\r\n \"20.43.43.0/27\",\r\n \"\ - 20.43.45.232/29\",\r\n \"20.43.45.244/30\",\r\n \"20.43.47.0/26\"\ - ,\r\n \"20.43.47.128/27\",\r\n \"20.43.66.16/28\",\r\n \ - \ \"20.43.66.32/27\",\r\n \"20.43.67.0/27\",\r\n \ - \ \"20.43.88.240/32\",\r\n \"20.43.121.0/29\",\r\n \"20.43.121.32/29\"\ - ,\r\n \"20.43.131.48/28\",\r\n \"20.43.132.0/27\",\r\n \ - \ \"20.43.132.96/27\",\r\n \"20.44.8.160/29\",\r\n \ - \ \"20.44.8.192/29\",\r\n \"20.44.17.16/29\",\r\n \"\ - 20.44.17.48/29\",\r\n \"20.44.27.120/29\",\r\n \"20.44.27.216/29\"\ - ,\r\n \"20.45.67.213/32\",\r\n \"20.45.112.224/27\",\r\n\ - \ \"20.45.113.192/27\",\r\n \"20.45.113.224/28\",\r\n \ - \ \"20.45.116.128/26\",\r\n \"20.45.116.240/28\",\r\n \ - \ \"20.45.192.126/31\",\r\n \"20.45.195.128/27\",\r\n \ - \ \"20.45.195.224/27\",\r\n \"20.45.196.0/28\",\r\n \"\ - 20.45.198.88/29\",\r\n \"20.45.199.36/30\",\r\n \"20.46.10.128/26\"\ - ,\r\n \"20.46.10.192/27\",\r\n \"20.46.11.224/28\",\r\n\ - \ \"20.48.192.64/29\",\r\n \"20.48.192.80/30\",\r\n \ - \ \"20.48.193.64/26\",\r\n \"20.48.193.192/27\",\r\n \ - \ \"20.48.196.240/28\",\r\n \"20.49.96.128/27\",\r\n \"\ - 20.49.96.160/28\",\r\n \"20.49.102.56/29\",\r\n \"20.49.102.192/28\"\ - ,\r\n \"20.49.102.208/30\",\r\n \"20.49.102.216/29\",\r\n\ - \ \"20.49.102.224/30\",\r\n \"20.49.103.128/26\",\r\n \ - \ \"20.49.114.160/29\",\r\n \"20.49.114.176/29\",\r\n \ - \ \"20.49.114.184/30\",\r\n \"20.49.114.224/27\",\r\n \ - \ \"20.49.115.192/26\",\r\n \"20.49.118.64/27\",\r\n \ - \ \"20.49.119.208/28\",\r\n \"20.49.126.136/29\",\r\n \"\ - 20.49.126.144/29\",\r\n \"20.49.126.152/30\",\r\n \"20.49.126.224/27\"\ - ,\r\n \"20.50.1.16/28\",\r\n \"20.50.68.126/31\",\r\n \ - \ \"20.51.8.128/26\",\r\n \"20.51.8.224/27\",\r\n \ - \ \"20.51.12.192/27\",\r\n \"20.51.12.224/28\",\r\n \"\ - 20.51.16.192/26\",\r\n \"20.51.17.32/27\",\r\n \"20.51.20.112/28\"\ - ,\r\n \"20.52.64.16/29\",\r\n \"20.52.72.48/29\",\r\n \ - \ \"20.52.88.128/28\",\r\n \"20.53.41.32/29\",\r\n \ - \ \"20.53.41.40/30\",\r\n \"20.53.41.48/28\",\r\n \"20.53.44.0/30\"\ - ,\r\n \"20.53.44.128/26\",\r\n \"20.53.44.192/27\",\r\n\ - \ \"20.53.47.80/28\",\r\n \"20.53.48.176/28\",\r\n \ - \ \"20.53.56.112/28\",\r\n \"20.58.66.64/27\",\r\n \"\ - 20.58.67.32/28\",\r\n \"20.61.96.168/29\",\r\n \"20.61.96.176/29\"\ - ,\r\n \"20.61.96.188/30\",\r\n \"20.61.97.64/27\",\r\n \ - \ \"20.61.98.64/31\",\r\n \"20.61.98.192/26\",\r\n \ - \ \"20.61.99.32/27\",\r\n \"20.61.103.80/28\",\r\n \"\ - 20.62.58.0/26\",\r\n \"20.62.59.96/28\",\r\n \"20.62.128.144/30\"\ - ,\r\n \"20.62.129.64/26\",\r\n \"20.62.129.160/27\",\r\n\ - \ \"20.62.134.80/28\",\r\n \"20.65.130.0/26\",\r\n \ - \ \"20.65.130.128/26\",\r\n \"20.65.133.96/28\",\r\n \ - \ \"20.66.2.64/26\",\r\n \"20.66.2.160/27\",\r\n \"20.66.4.240/28\"\ - ,\r\n \"20.69.0.240/28\",\r\n \"20.72.20.64/27\",\r\n \ - \ \"20.72.20.128/26\",\r\n \"20.72.21.8/29\",\r\n \ - \ \"20.150.161.160/27\",\r\n \"20.150.164.128/27\",\r\n \ - \ \"20.150.164.160/28\",\r\n \"20.150.167.64/26\",\r\n \ - \ \"20.150.174.136/29\",\r\n \"20.150.241.80/29\",\r\n \"\ - 20.150.244.48/28\",\r\n \"20.150.244.128/27\",\r\n \"20.184.58.62/32\"\ - ,\r\n \"20.184.240.78/32\",\r\n \"20.184.241.66/32\",\r\n\ - \ \"20.184.241.238/32\",\r\n \"20.184.242.113/32\",\r\n\ - \ \"20.184.242.115/32\",\r\n \"20.184.242.189/32\",\r\n\ - \ \"20.185.105.28/32\",\r\n \"20.187.195.152/29\",\r\n \ - \ \"20.187.196.192/30\",\r\n \"20.187.197.64/26\",\r\n \ - \ \"20.187.197.160/27\",\r\n \"20.189.108.64/27\",\r\n \ - \ \"20.189.109.32/27\",\r\n \"20.189.109.64/28\",\r\n \ - \ \"20.189.111.200/30\",\r\n \"20.189.111.208/28\",\r\n \ - \ \"20.189.225.0/26\",\r\n \"20.189.225.96/27\",\r\n \ - \ \"20.189.228.144/28\",\r\n \"20.191.160.8/29\",\r\n \"\ - 20.191.160.20/30\",\r\n \"20.191.160.96/28\",\r\n \"20.191.160.112/30\"\ - ,\r\n \"20.191.161.128/26\",\r\n \"20.191.161.224/27\",\r\ - \n \"20.191.166.96/28\",\r\n \"20.192.44.96/28\",\r\n \ - \ \"20.192.48.192/28\",\r\n \"20.192.50.80/28\",\r\n \ - \ \"20.192.50.208/29\",\r\n \"20.192.80.32/28\",\r\n \ - \ \"20.192.161.144/28\",\r\n \"20.192.161.160/27\",\r\n \ - \ \"20.192.164.128/27\",\r\n \"20.192.167.64/26\",\r\n \ - \ \"20.192.184.84/30\",\r\n \"20.192.225.208/28\",\r\n \"\ - 20.192.225.224/27\",\r\n \"20.192.228.192/27\",\r\n \"20.192.231.128/26\"\ - ,\r\n \"20.193.194.0/28\",\r\n \"20.193.194.48/29\",\r\n\ - \ \"20.193.194.64/28\",\r\n \"20.194.72.64/26\",\r\n \ - \ \"20.194.72.192/27\",\r\n \"20.194.74.64/28\",\r\n \ - \ \"20.195.65.240/29\",\r\n \"20.195.72.240/28\",\r\n \ - \ \"20.195.146.80/28\",\r\n \"23.96.13.121/32\",\r\n \"\ - 23.96.229.148/32\",\r\n \"23.98.107.28/30\",\r\n \"23.98.107.200/29\"\ - ,\r\n \"23.98.107.208/28\",\r\n \"23.98.108.36/30\",\r\n\ - \ \"23.98.108.40/31\",\r\n \"23.98.108.192/26\",\r\n \ - \ \"23.98.109.32/29\",\r\n \"23.100.0.32/32\",\r\n \ - \ \"23.100.57.171/32\",\r\n \"23.100.59.49/32\",\r\n \"\ - 40.64.128.192/27\",\r\n \"40.64.134.140/30\",\r\n \"40.64.134.168/29\"\ - ,\r\n \"40.64.134.176/28\",\r\n \"40.64.135.80/29\",\r\n\ - \ \"40.67.48.224/27\",\r\n \"40.67.49.192/27\",\r\n \ - \ \"40.67.49.224/28\",\r\n \"40.67.52.128/26\",\r\n \ - \ \"40.67.53.160/28\",\r\n \"40.69.73.194/32\",\r\n \"\ - 40.69.104.32/30\",\r\n \"40.69.111.36/30\",\r\n \"40.70.47.165/32\"\ - ,\r\n \"40.70.241.203/32\",\r\n \"40.74.30.108/30\",\r\n\ - \ \"40.74.31.64/26\",\r\n \"40.74.64.203/32\",\r\n \ - \ \"40.78.20.224/32\",\r\n \"40.78.204.0/29\",\r\n \"\ - 40.78.204.32/29\",\r\n \"40.79.132.48/29\",\r\n \"40.79.132.80/29\"\ - ,\r\n \"40.79.156.64/27\",\r\n \"40.79.176.32/30\",\r\n\ - \ \"40.79.187.168/29\",\r\n \"40.79.187.200/29\",\r\n \ - \ \"40.80.57.208/28\",\r\n \"40.80.57.224/27\",\r\n \ - \ \"40.80.58.192/27\",\r\n \"40.80.63.152/30\",\r\n \"\ - 40.80.63.224/28\",\r\n \"40.80.63.240/30\",\r\n \"40.80.169.192/27\"\ - ,\r\n \"40.80.170.160/27\",\r\n \"40.80.170.192/28\",\r\n\ - \ \"40.80.172.28/30\",\r\n \"40.80.176.0/28\",\r\n \ - \ \"40.80.188.112/28\",\r\n \"40.80.190.128/27\",\r\n \ - \ \"40.80.190.224/27\",\r\n \"40.82.253.200/30\",\r\n \ - \ \"40.82.253.208/28\",\r\n \"40.82.255.0/26\",\r\n \"40.82.255.96/27\"\ - ,\r\n \"40.85.230.100/32\",\r\n \"40.86.227.247/32\",\r\n\ - \ \"40.87.48.184/32\",\r\n \"40.88.22.25/32\",\r\n \ - \ \"40.89.17.240/28\",\r\n \"40.89.18.128/27\",\r\n \ - \ \"40.89.18.224/27\",\r\n \"40.89.23.36/30\",\r\n \"40.89.133.209/32\"\ - ,\r\n \"40.89.134.214/32\",\r\n \"40.90.138.4/32\",\r\n\ - \ \"40.90.139.2/32\",\r\n \"40.90.139.36/32\",\r\n \ - \ \"40.90.139.163/32\",\r\n \"40.90.141.99/32\",\r\n \ - \ \"40.112.254.71/32\",\r\n \"40.113.124.208/32\",\r\n \ - \ \"40.113.226.173/32\",\r\n \"40.115.248.103/32\",\r\n \ - \ \"40.117.154.42/32\",\r\n \"40.117.232.90/32\",\r\n \"\ - 40.119.2.134/32\",\r\n \"40.119.11.216/29\",\r\n \"40.120.8.48/30\"\ - ,\r\n \"40.121.217.232/32\",\r\n \"40.122.42.111/32\",\r\ - \n \"40.123.205.29/32\",\r\n \"40.123.210.248/32\",\r\n\ - \ \"40.123.214.182/32\",\r\n \"40.123.214.251/32\",\r\n\ - \ \"40.123.218.49/32\",\r\n \"40.127.76.4/32\",\r\n \ - \ \"40.127.76.10/32\",\r\n \"40.127.165.113/32\",\r\n \ - \ \"51.11.97.80/29\",\r\n \"51.12.17.32/28\",\r\n \"\ - 51.12.17.136/29\",\r\n \"51.12.17.144/28\",\r\n \"51.12.25.32/28\"\ - ,\r\n \"51.12.25.208/29\",\r\n \"51.12.41.48/28\",\r\n \ - \ \"51.12.41.128/27\",\r\n \"51.12.41.224/27\",\r\n \ - \ \"51.12.43.192/26\",\r\n \"51.12.46.240/28\",\r\n \ - \ \"51.12.193.48/28\",\r\n \"51.12.193.128/27\",\r\n \"\ - 51.12.193.224/27\",\r\n \"51.12.195.128/26\",\r\n \"51.13.128.72/29\"\ - ,\r\n \"51.13.136.64/26\",\r\n \"51.13.137.192/28\",\r\n\ - \ \"51.13.137.224/27\",\r\n \"51.104.25.240/28\",\r\n \ - \ \"51.104.27.64/27\",\r\n \"51.104.28.32/27\",\r\n \ - \ \"51.104.31.160/29\",\r\n \"51.104.31.168/30\",\r\n \ - \ \"51.104.31.176/28\",\r\n \"51.105.67.176/29\",\r\n \"\ - 51.105.67.208/29\",\r\n \"51.105.80.224/27\",\r\n \"51.105.81.192/27\"\ - ,\r\n \"51.105.81.224/28\",\r\n \"51.105.89.128/27\",\r\n\ - \ \"51.105.89.224/27\",\r\n \"51.105.90.0/28\",\r\n \ - \ \"51.105.92.52/30\",\r\n \"51.105.170.64/32\",\r\n \ - \ \"51.107.48.240/28\",\r\n \"51.107.49.128/27\",\r\n \ - \ \"51.107.49.224/27\",\r\n \"51.107.52.216/29\",\r\n \"\ - 51.107.53.36/30\",\r\n \"51.107.53.40/29\",\r\n \"51.107.84.104/32\"\ - ,\r\n \"51.107.128.24/29\",\r\n \"51.107.144.224/27\",\r\ - \n \"51.107.145.192/27\",\r\n \"51.107.145.224/28\",\r\n\ - \ \"51.107.148.20/30\",\r\n \"51.107.148.64/28\",\r\n \ - \ \"51.107.192.72/29\",\r\n \"51.107.241.0/26\",\r\n \ - \ \"51.107.241.128/27\",\r\n \"51.107.242.224/28\",\r\n \ - \ \"51.107.249.0/26\",\r\n \"51.107.249.128/27\",\r\n \ - \ \"51.107.250.240/28\",\r\n \"51.116.48.144/28\",\r\n \ - \ \"51.116.48.160/27\",\r\n \"51.116.49.0/27\",\r\n \"\ - 51.116.51.192/26\",\r\n \"51.116.54.176/28\",\r\n \"51.116.55.64/28\"\ - ,\r\n \"51.116.144.144/28\",\r\n \"51.116.144.160/27\",\r\ - \n \"51.116.145.0/27\",\r\n \"51.116.148.128/26\",\r\n \ - \ \"51.116.149.208/28\",\r\n \"51.120.40.240/28\",\r\n \ - \ \"51.120.41.128/27\",\r\n \"51.120.41.224/27\",\r\n \ - \ \"51.120.109.192/29\",\r\n \"51.120.224.224/27\",\r\n \ - \ \"51.120.225.192/27\",\r\n \"51.120.225.224/28\",\r\n \ - \ \"51.120.232.64/26\",\r\n \"51.120.233.144/28\",\r\n \ - \ \"51.120.233.160/27\",\r\n \"51.124.95.46/32\",\r\n \ - \ \"51.124.140.143/32\",\r\n \"51.137.162.128/27\",\r\n \ - \ \"51.137.162.224/27\",\r\n \"51.137.163.0/28\",\r\n \ - \ \"51.137.166.28/30\",\r\n \"51.137.166.44/30\",\r\n \"\ - 51.137.166.48/28\",\r\n \"51.137.167.192/26\",\r\n \"51.138.40.194/32\"\ - ,\r\n \"51.138.41.75/32\",\r\n \"51.138.160.4/30\",\r\n\ - \ \"51.138.210.144/28\",\r\n \"51.140.5.56/32\",\r\n \ - \ \"51.140.105.165/32\",\r\n \"51.140.202.0/32\",\r\n \ - \ \"51.143.192.224/27\",\r\n \"51.143.193.192/27\",\r\n \ - \ \"51.143.193.224/28\",\r\n \"51.143.208.128/30\",\r\n \ - \ \"51.143.209.0/26\",\r\n \"51.143.209.64/27\",\r\n \ - \ \"51.143.212.160/28\",\r\n \"51.144.83.210/32\",\r\n \ - \ \"52.136.48.240/28\",\r\n \"52.136.49.128/27\",\r\n \"\ - 52.136.49.224/27\",\r\n \"52.136.53.0/26\",\r\n \"52.136.184.128/26\"\ - ,\r\n \"52.136.184.192/27\",\r\n \"52.136.185.160/28\",\r\ - \n \"52.138.41.171/32\",\r\n \"52.138.92.172/30\",\r\n \ - \ \"52.139.106.0/26\",\r\n \"52.139.106.128/27\",\r\n \ - \ \"52.139.107.192/28\",\r\n \"52.140.105.192/27\",\r\n \ - \ \"52.140.106.160/27\",\r\n \"52.140.106.192/28\",\r\n \ - \ \"52.140.110.96/29\",\r\n \"52.140.110.104/30\",\r\n \ - \ \"52.140.110.112/28\",\r\n \"52.140.110.160/30\",\r\n \ - \ \"52.140.111.128/26\",\r\n \"52.140.111.224/27\",\r\n \ - \ \"52.142.81.236/32\",\r\n \"52.142.83.87/32\",\r\n \ - \ \"52.142.84.66/32\",\r\n \"52.142.85.51/32\",\r\n \"\ - 52.143.91.192/28\",\r\n \"52.146.79.144/28\",\r\n \"52.146.79.224/27\"\ - ,\r\n \"52.146.131.32/28\",\r\n \"52.146.131.48/30\",\r\n\ - \ \"52.146.131.96/27\",\r\n \"52.146.132.128/26\",\r\n \ - \ \"52.146.133.0/27\",\r\n \"52.146.137.16/28\",\r\n \ - \ \"52.147.43.145/32\",\r\n \"52.147.44.12/32\",\r\n \ - \ \"52.147.97.4/30\",\r\n \"52.147.112.0/26\",\r\n \"\ - 52.147.112.64/27\",\r\n \"52.147.112.208/28\",\r\n \"52.149.31.64/28\"\ - ,\r\n \"52.150.139.192/27\",\r\n \"52.150.140.160/27\",\r\ - \n \"52.150.140.192/28\",\r\n \"52.150.154.200/29\",\r\n\ - \ \"52.150.154.208/28\",\r\n \"52.150.156.32/30\",\r\n \ - \ \"52.150.156.40/30\",\r\n \"52.150.157.64/26\",\r\n \ - \ \"52.150.157.128/27\",\r\n \"52.152.207.160/28\",\r\n \ - \ \"52.152.207.192/28\",\r\n \"52.155.218.251/32\",\r\n \ - \ \"52.156.93.240/28\",\r\n \"52.156.103.64/27\",\r\n \ - \ \"52.156.103.96/28\",\r\n \"52.161.16.73/32\",\r\n \ - \ \"52.162.110.248/29\",\r\n \"52.162.111.24/29\",\r\n \ - \ \"52.163.56.146/32\",\r\n \"52.168.112.0/26\",\r\n \"\ - 52.171.134.140/32\",\r\n \"52.172.112.0/28\",\r\n \"52.172.112.16/29\"\ - ,\r\n \"52.172.112.192/26\",\r\n \"52.172.113.32/27\",\r\ - \n \"52.172.116.16/28\",\r\n \"52.172.187.21/32\",\r\n \ - \ \"52.173.240.242/32\",\r\n \"52.174.60.141/32\",\r\n \ - \ \"52.174.146.221/32\",\r\n \"52.175.18.186/32\",\r\n \ - \ \"52.175.35.166/32\",\r\n \"52.179.13.227/32\",\r\n \ - \ \"52.179.14.109/32\",\r\n \"52.179.113.96/27\",\r\n \ - \ \"52.179.113.128/28\",\r\n \"52.180.162.194/32\",\r\n \ - \ \"52.180.166.172/32\",\r\n \"52.180.178.146/32\",\r\n \ - \ \"52.180.179.119/32\",\r\n \"52.183.33.203/32\",\r\n \ - \ \"52.186.33.48/28\",\r\n \"52.186.91.216/32\",\r\n \"\ - 52.187.20.181/32\",\r\n \"52.187.39.99/32\",\r\n \"52.190.33.56/32\"\ - ,\r\n \"52.190.33.61/32\",\r\n \"52.190.33.154/32\",\r\n\ - \ \"52.191.160.229/32\",\r\n \"52.191.173.81/32\",\r\n \ - \ \"52.224.200.129/32\",\r\n \"52.225.176.80/32\",\r\n \ - \ \"52.228.83.128/27\",\r\n \"52.228.83.224/27\",\r\n \ - \ \"52.228.84.0/28\",\r\n \"52.229.16.14/32\",\r\n \ - \ \"52.231.74.63/32\",\r\n \"52.231.79.142/32\",\r\n \"\ - 52.231.148.200/30\",\r\n \"52.231.159.35/32\",\r\n \"52.233.163.218/32\"\ - ,\r\n \"52.237.137.4/32\",\r\n \"52.249.207.163/32\",\r\n\ - \ \"52.255.83.208/28\",\r\n \"52.255.84.176/28\",\r\n \ - \ \"52.255.84.192/28\",\r\n \"52.255.124.16/28\",\r\n \ - \ \"52.255.124.80/28\",\r\n \"52.255.124.96/28\",\r\n \ - \ \"65.52.205.19/32\",\r\n \"65.52.252.208/28\",\r\n \ - \ \"102.37.81.64/28\",\r\n \"102.37.160.144/28\",\r\n \"\ - 102.133.28.72/29\",\r\n \"102.133.28.104/29\",\r\n \"102.133.56.144/28\"\ - ,\r\n \"102.133.56.224/27\",\r\n \"102.133.61.192/26\",\r\ - \n \"102.133.75.174/32\",\r\n \"102.133.123.248/29\",\r\n\ - \ \"102.133.124.24/29\",\r\n \"102.133.124.88/29\",\r\n\ - \ \"102.133.124.96/29\",\r\n \"102.133.156.128/29\",\r\n\ - \ \"102.133.161.242/32\",\r\n \"102.133.162.109/32\",\r\n\ - \ \"102.133.162.196/32\",\r\n \"102.133.162.221/32\",\r\n\ - \ \"102.133.163.185/32\",\r\n \"102.133.217.80/28\",\r\n\ - \ \"102.133.217.96/27\",\r\n \"102.133.218.0/27\",\r\n \ - \ \"102.133.220.192/30\",\r\n \"102.133.221.64/26\",\r\n\ - \ \"102.133.221.128/27\",\r\n \"102.133.236.198/32\",\r\n\ - \ \"104.42.100.80/32\",\r\n \"104.42.194.173/32\",\r\n \ - \ \"104.42.239.93/32\",\r\n \"104.44.89.44/32\",\r\n \ - \ \"104.46.112.239/32\",\r\n \"104.46.176.164/30\",\r\n \ - \ \"104.46.176.176/28\",\r\n \"104.46.178.4/30\",\r\n \ - \ \"104.46.178.192/26\",\r\n \"104.46.179.0/27\",\r\n \ - \ \"104.46.183.128/28\",\r\n \"104.46.239.137/32\",\r\n \ - \ \"104.211.88.173/32\",\r\n \"104.211.222.193/32\",\r\n \ - \ \"104.214.49.162/32\",\r\n \"104.214.233.86/32\",\r\n \ - \ \"104.215.9.217/32\",\r\n \"137.117.70.195/32\",\r\n \ - \ \"137.135.45.32/32\",\r\n \"168.61.158.107/32\",\r\n \ - \ \"168.61.165.229/32\",\r\n \"168.63.20.177/32\",\r\n \"\ - 191.232.39.30/32\",\r\n \"191.232.162.204/32\",\r\n \"191.233.10.48/28\"\ - ,\r\n \"191.233.10.64/27\",\r\n \"191.233.10.128/27\",\r\ - \n \"191.233.15.64/26\",\r\n \"191.233.205.72/29\",\r\n\ - \ \"191.233.205.104/29\",\r\n \"191.234.138.136/29\",\r\n\ - \ \"191.234.138.148/30\",\r\n \"191.234.139.192/26\",\r\n\ - \ \"191.234.142.32/27\",\r\n \"191.235.227.128/27\",\r\n\ - \ \"191.235.227.224/27\",\r\n \"191.235.228.0/28\",\r\n\ - \ \"191.238.72.80/28\",\r\n \"2603:1000:4::680/122\",\r\n\ - \ \"2603:1000:104::180/122\",\r\n \"2603:1000:104::380/122\"\ - ,\r\n \"2603:1000:104:1::640/122\",\r\n \"2603:1010:6::80/122\"\ - ,\r\n \"2603:1010:6:1::640/122\",\r\n \"2603:1010:101::680/122\"\ - ,\r\n \"2603:1010:304::680/122\",\r\n \"2603:1010:404::680/122\"\ - ,\r\n \"2603:1020:5::80/122\",\r\n \"2603:1020:5:1::640/122\"\ - ,\r\n \"2603:1020:206::80/122\",\r\n \"2603:1020:206:1::640/122\"\ - ,\r\n \"2603:1020:305::680/122\",\r\n \"2603:1020:405::680/122\"\ - ,\r\n \"2603:1020:605::680/122\",\r\n \"2603:1020:705::80/122\"\ - ,\r\n \"2603:1020:705:1::640/122\",\r\n \"2603:1020:805::80/122\"\ - ,\r\n \"2603:1020:805:1::640/122\",\r\n \"2603:1020:905::680/122\"\ - ,\r\n \"2603:1020:a04::80/122\",\r\n \"2603:1020:a04:1::640/122\"\ - ,\r\n \"2603:1020:b04::680/122\",\r\n \"2603:1020:c04::80/122\"\ - ,\r\n \"2603:1020:c04:1::640/122\",\r\n \"2603:1020:d04::680/122\"\ - ,\r\n \"2603:1020:e04::80/122\",\r\n \"2603:1020:e04:1::640/122\"\ - ,\r\n \"2603:1020:e04:2::/122\",\r\n \"2603:1020:f04::680/122\"\ - ,\r\n \"2603:1020:f04:2::/122\",\r\n \"2603:1020:1004::640/122\"\ - ,\r\n \"2603:1020:1004:1::80/122\",\r\n \"2603:1020:1004:1::1f0/125\"\ - ,\r\n \"2603:1020:1004:1::300/122\",\r\n \"2603:1020:1004:1::740/122\"\ - ,\r\n \"2603:1020:1104::700/121\",\r\n \"2603:1020:1104:1::150/125\"\ - ,\r\n \"2603:1020:1104:1::480/122\",\r\n \"2603:1030:f:1::680/122\"\ - ,\r\n \"2603:1030:10::80/122\",\r\n \"2603:1030:10:1::640/122\"\ - ,\r\n \"2603:1030:104::80/122\",\r\n \"2603:1030:104:1::640/122\"\ - ,\r\n \"2603:1030:107::730/125\",\r\n \"2603:1030:107::740/122\"\ - ,\r\n \"2603:1030:107::780/122\",\r\n \"2603:1030:210::80/122\"\ - ,\r\n \"2603:1030:210:1::640/122\",\r\n \"2603:1030:40b:1::640/122\"\ - ,\r\n \"2603:1030:40c::80/122\",\r\n \"2603:1030:40c:1::640/122\"\ - ,\r\n \"2603:1030:504::80/122\",\r\n \"2603:1030:504::1f0/125\"\ - ,\r\n \"2603:1030:504::300/122\",\r\n \"2603:1030:504:1::640/122\"\ - ,\r\n \"2603:1030:504:2::/122\",\r\n \"2603:1030:608::680/122\"\ - ,\r\n \"2603:1030:807::80/122\",\r\n \"2603:1030:807:1::640/122\"\ - ,\r\n \"2603:1030:a07::680/122\",\r\n \"2603:1030:b04::680/122\"\ - ,\r\n \"2603:1030:c06:1::640/122\",\r\n \"2603:1030:f05::80/122\"\ - ,\r\n \"2603:1030:f05:1::640/122\",\r\n \"2603:1030:1005::680/122\"\ - ,\r\n \"2603:1040:5::180/122\",\r\n \"2603:1040:5:1::640/122\"\ - ,\r\n \"2603:1040:207::680/122\",\r\n \"2603:1040:407::80/122\"\ - ,\r\n \"2603:1040:407:1::640/122\",\r\n \"2603:1040:606::680/122\"\ - ,\r\n \"2603:1040:806::680/122\",\r\n \"2603:1040:904::80/122\"\ - ,\r\n \"2603:1040:904:1::640/122\",\r\n \"2603:1040:a06::180/122\"\ - ,\r\n \"2603:1040:a06:1::640/122\",\r\n \"2603:1040:b04::680/122\"\ - ,\r\n \"2603:1040:c06::680/122\",\r\n \"2603:1040:d04::640/122\"\ - ,\r\n \"2603:1040:d04:1::80/122\",\r\n \"2603:1040:d04:1::1f0/125\"\ - ,\r\n \"2603:1040:d04:1::300/122\",\r\n \"2603:1040:d04:1::740/122\"\ - ,\r\n \"2603:1040:f05::80/122\",\r\n \"2603:1040:f05:1::640/122\"\ - ,\r\n \"2603:1040:1104::700/121\",\r\n \"2603:1040:1104:1::150/125\"\ - ,\r\n \"2603:1040:1104:1::500/122\",\r\n \"2603:1050:6::80/122\"\ - ,\r\n \"2603:1050:6:1::640/122\",\r\n \"2603:1050:403::640/122\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"DataFactory\"\ - ,\r\n \"id\": \"DataFactory\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"2\",\r\n \"region\": \"\",\r\n \"state\"\ - : \"GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\n \ - \ \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n ],\r\n\ - \ \"systemService\": \"DataFactory\",\r\n \"addressPrefixes\"\ - : [\r\n \"13.66.143.128/28\",\r\n \"13.67.10.208/28\",\r\ - \n \"13.69.67.192/28\",\r\n \"13.69.107.112/28\",\r\n \ - \ \"13.69.112.128/28\",\r\n \"13.69.230.96/28\",\r\n \ - \ \"13.70.74.144/28\",\r\n \"13.71.175.80/28\",\r\n \ - \ \"13.71.199.0/28\",\r\n \"13.73.244.32/28\",\r\n \"13.73.253.96/29\"\ - ,\r\n \"13.74.108.224/28\",\r\n \"13.75.39.112/28\",\r\n\ - \ \"13.77.53.160/28\",\r\n \"13.78.109.192/28\",\r\n \ - \ \"13.86.219.208/28\",\r\n \"13.89.174.192/28\",\r\n \ - \ \"13.104.248.64/27\",\r\n \"13.104.252.208/28\",\r\n \ - \ \"13.104.252.224/28\",\r\n \"13.104.254.128/28\",\r\n \ - \ \"20.36.117.208/28\",\r\n \"20.36.124.32/28\",\r\n \ - \ \"20.36.124.128/25\",\r\n \"20.36.125.0/26\",\r\n \"20.37.68.144/28\"\ - ,\r\n \"20.37.69.128/25\",\r\n \"20.37.70.0/26\",\r\n \ - \ \"20.37.154.0/23\",\r\n \"20.37.156.0/26\",\r\n \ - \ \"20.37.193.0/25\",\r\n \"20.37.193.128/26\",\r\n \"\ - 20.37.198.224/29\",\r\n \"20.37.228.16/28\",\r\n \"20.37.228.192/26\"\ - ,\r\n \"20.37.229.0/25\",\r\n \"20.38.80.192/26\",\r\n \ - \ \"20.38.82.0/23\",\r\n \"20.38.141.16/28\",\r\n \ - \ \"20.38.141.128/25\",\r\n \"20.38.142.0/26\",\r\n \"\ - 20.38.147.224/28\",\r\n \"20.38.152.0/28\",\r\n \"20.39.8.96/27\"\ - ,\r\n \"20.39.8.128/26\",\r\n \"20.39.15.0/29\",\r\n \ - \ \"20.40.206.224/29\",\r\n \"20.41.2.0/23\",\r\n \ - \ \"20.41.4.0/26\",\r\n \"20.41.64.128/25\",\r\n \"20.41.65.0/26\"\ - ,\r\n \"20.41.69.8/29\",\r\n \"20.41.192.128/25\",\r\n \ - \ \"20.41.193.0/26\",\r\n \"20.41.197.112/29\",\r\n \ - \ \"20.41.198.0/25\",\r\n \"20.41.198.128/26\",\r\n \ - \ \"20.42.2.0/23\",\r\n \"20.42.4.0/26\",\r\n \"20.42.64.0/28\"\ - ,\r\n \"20.42.129.64/26\",\r\n \"20.42.132.0/23\",\r\n \ - \ \"20.42.225.0/25\",\r\n \"20.42.225.128/26\",\r\n \ - \ \"20.42.230.136/29\",\r\n \"20.43.40.128/25\",\r\n \ - \ \"20.43.41.0/26\",\r\n \"20.43.44.208/29\",\r\n \"20.43.64.128/25\"\ - ,\r\n \"20.43.65.0/26\",\r\n \"20.43.70.120/29\",\r\n \ - \ \"20.43.121.48/28\",\r\n \"20.43.128.128/25\",\r\n \ - \ \"20.43.130.0/26\",\r\n \"20.44.10.64/28\",\r\n \"\ - 20.44.17.80/28\",\r\n \"20.44.27.240/28\",\r\n \"20.45.123.160/28\"\ - ,\r\n \"20.49.83.224/28\",\r\n \"20.49.102.16/29\",\r\n\ - \ \"20.49.111.0/29\",\r\n \"20.49.114.24/29\",\r\n \ - \ \"20.49.118.128/25\",\r\n \"20.50.68.56/29\",\r\n \ - \ \"20.52.64.0/28\",\r\n \"20.53.0.48/28\",\r\n \"20.53.45.0/24\"\ - ,\r\n \"20.53.46.0/26\",\r\n \"20.65.130.192/26\",\r\n \ - \ \"20.65.131.0/24\",\r\n \"20.72.22.0/23\",\r\n \ - \ \"20.72.28.48/28\",\r\n \"20.150.162.0/23\",\r\n \"20.150.173.16/28\"\ - ,\r\n \"20.150.181.112/28\",\r\n \"20.189.104.128/25\",\r\ - \n \"20.189.106.0/26\",\r\n \"20.189.109.232/29\",\r\n \ - \ \"20.191.164.0/24\",\r\n \"20.191.165.0/26\",\r\n \ - \ \"20.192.42.0/24\",\r\n \"20.192.43.0/26\",\r\n \"\ - 20.192.162.0/23\",\r\n \"20.192.184.96/28\",\r\n \"20.192.226.0/23\"\ - ,\r\n \"20.192.238.96/28\",\r\n \"20.193.205.144/28\",\r\ - \n \"20.194.67.192/28\",\r\n \"20.195.64.0/25\",\r\n \ - \ \"23.98.83.112/28\",\r\n \"23.98.106.128/29\",\r\n \ - \ \"23.98.109.64/26\",\r\n \"23.98.109.128/25\",\r\n \ - \ \"40.64.132.232/29\",\r\n \"40.69.108.160/28\",\r\n \"\ - 40.69.111.48/28\",\r\n \"40.70.148.160/28\",\r\n \"40.71.14.32/28\"\ - ,\r\n \"40.74.24.192/26\",\r\n \"40.74.26.0/23\",\r\n \ - \ \"40.74.149.64/28\",\r\n \"40.75.35.144/28\",\r\n \ - \ \"40.78.196.128/28\",\r\n \"40.78.229.96/28\",\r\n \ - \ \"40.78.236.176/28\",\r\n \"40.78.245.16/28\",\r\n \"\ - 40.78.251.192/28\",\r\n \"40.79.132.112/28\",\r\n \"40.79.139.80/28\"\ - ,\r\n \"40.79.146.240/28\",\r\n \"40.79.163.80/28\",\r\n\ - \ \"40.79.171.160/28\",\r\n \"40.79.187.208/28\",\r\n \ - \ \"40.79.195.224/28\",\r\n \"40.80.51.160/28\",\r\n \ - \ \"40.80.56.128/25\",\r\n \"40.80.57.0/26\",\r\n \"\ - 40.80.62.24/29\",\r\n \"40.80.168.128/25\",\r\n \"40.80.169.0/26\"\ - ,\r\n \"40.80.172.112/29\",\r\n \"40.80.176.96/28\",\r\n\ - \ \"40.80.185.0/24\",\r\n \"40.80.186.0/25\",\r\n \ - \ \"40.82.249.64/26\",\r\n \"40.82.250.0/23\",\r\n \"\ - 40.89.16.128/25\",\r\n \"40.89.17.0/26\",\r\n \"40.89.20.224/29\"\ - ,\r\n \"40.113.176.232/29\",\r\n \"40.119.9.0/25\",\r\n\ - \ \"40.119.9.128/26\",\r\n \"40.120.8.56/29\",\r\n \ - \ \"40.120.64.112/28\",\r\n \"40.120.75.112/28\",\r\n \ - \ \"51.12.18.0/23\",\r\n \"51.12.26.0/23\",\r\n \"51.12.101.176/28\"\ - ,\r\n \"51.12.206.16/28\",\r\n \"51.12.229.64/28\",\r\n\ - \ \"51.12.237.64/28\",\r\n \"51.13.128.0/28\",\r\n \ - \ \"51.104.9.32/28\",\r\n \"51.104.24.128/25\",\r\n \ - \ \"51.104.25.0/26\",\r\n \"51.104.29.216/29\",\r\n \"51.105.67.240/28\"\ - ,\r\n \"51.105.75.240/28\",\r\n \"51.105.92.176/28\",\r\n\ - \ \"51.105.93.64/26\",\r\n \"51.105.93.128/25\",\r\n \ - \ \"51.107.51.40/29\",\r\n \"51.107.52.0/25\",\r\n \ - \ \"51.107.52.128/26\",\r\n \"51.107.128.0/28\",\r\n \"\ - 51.107.148.80/28\",\r\n \"51.107.149.0/25\",\r\n \"51.107.149.128/26\"\ - ,\r\n \"51.107.192.80/28\",\r\n \"51.116.147.32/28\",\r\n\ - \ \"51.116.147.64/26\",\r\n \"51.116.147.128/25\",\r\n \ - \ \"51.116.245.112/28\",\r\n \"51.116.245.176/28\",\r\n \ - \ \"51.116.253.48/28\",\r\n \"51.116.253.144/28\",\r\n \ - \ \"51.120.44.208/28\",\r\n \"51.120.45.64/26\",\r\n \ - \ \"51.120.45.128/25\",\r\n \"51.120.100.224/28\",\r\n \ - \ \"51.120.109.96/28\",\r\n \"51.120.213.32/28\",\r\n \ - \ \"51.120.228.224/27\",\r\n \"51.120.229.64/26\",\r\n \ - \ \"51.120.229.128/25\",\r\n \"51.137.160.128/25\",\r\n \ - \ \"51.137.161.0/26\",\r\n \"51.137.164.192/29\",\r\n \"\ - 51.138.160.16/28\",\r\n \"51.140.212.112/28\",\r\n \"52.138.92.128/28\"\ - ,\r\n \"52.138.229.32/28\",\r\n \"52.140.104.128/25\",\r\ - \n \"52.140.105.0/26\",\r\n \"52.140.108.208/29\",\r\n \ - \ \"52.150.136.192/26\",\r\n \"52.150.137.128/25\",\r\n \ - \ \"52.150.154.16/29\",\r\n \"52.150.155.0/24\",\r\n \ - \ \"52.150.157.160/29\",\r\n \"52.150.157.192/26\",\r\n \ - \ \"52.162.111.48/28\",\r\n \"52.167.107.224/28\",\r\n \ - \ \"52.182.141.16/28\",\r\n \"52.228.80.128/25\",\r\n \ - \ \"52.228.81.0/26\",\r\n \"52.228.86.144/29\",\r\n \"\ - 52.231.20.64/28\",\r\n \"52.231.148.160/28\",\r\n \"52.231.151.32/28\"\ - ,\r\n \"52.236.187.112/28\",\r\n \"52.246.155.224/28\",\r\ - \n \"52.250.228.0/29\",\r\n \"102.37.64.96/28\",\r\n \ - \ \"102.133.60.48/28\",\r\n \"102.133.60.192/26\",\r\n \ - \ \"102.133.61.0/25\",\r\n \"102.133.124.104/29\",\r\n \ - \ \"102.133.156.136/29\",\r\n \"102.133.216.128/25\",\r\n \ - \ \"102.133.217.0/26\",\r\n \"102.133.218.248/29\",\r\n \ - \ \"102.133.251.184/29\",\r\n \"104.46.179.64/26\",\r\n \ - \ \"104.46.182.0/24\",\r\n \"191.233.12.0/23\",\r\n \ - \ \"191.233.54.224/28\",\r\n \"191.233.205.160/28\",\r\n \ - \ \"191.234.137.32/29\",\r\n \"191.234.142.64/26\",\r\n \ - \ \"191.234.143.0/24\",\r\n \"191.234.149.0/28\",\r\n \ - \ \"191.234.157.0/28\",\r\n \"191.235.224.128/25\",\r\n \ - \ \"191.235.225.0/26\",\r\n \"2603:1000:4::440/122\",\r\n \ - \ \"2603:1000:4::500/121\",\r\n \"2603:1000:4:402::330/124\",\r\ - \n \"2603:1000:104::/121\",\r\n \"2603:1000:104::80/122\"\ - ,\r\n \"2603:1000:104::1c0/122\",\r\n \"2603:1000:104::280/121\"\ - ,\r\n \"2603:1000:104:1::480/121\",\r\n \"2603:1000:104:1::500/122\"\ - ,\r\n \"2603:1000:104:1::700/121\",\r\n \"2603:1000:104:1::780/122\"\ - ,\r\n \"2603:1000:104:402::330/124\",\r\n \"2603:1000:104:802::210/124\"\ - ,\r\n \"2603:1000:104:c02::210/124\",\r\n \"2603:1010:6:1::480/121\"\ - ,\r\n \"2603:1010:6:1::500/122\",\r\n \"2603:1010:6:1::700/121\"\ - ,\r\n \"2603:1010:6:1::780/122\",\r\n \"2603:1010:6:402::330/124\"\ - ,\r\n \"2603:1010:6:802::210/124\",\r\n \"2603:1010:6:c02::210/124\"\ - ,\r\n \"2603:1010:101::440/122\",\r\n \"2603:1010:101::500/121\"\ - ,\r\n \"2603:1010:101:402::330/124\",\r\n \"2603:1010:304::440/122\"\ - ,\r\n \"2603:1010:304::500/121\",\r\n \"2603:1010:304:402::330/124\"\ - ,\r\n \"2603:1010:404::440/122\",\r\n \"2603:1010:404::500/121\"\ - ,\r\n \"2603:1010:404:402::330/124\",\r\n \"2603:1020:5:1::480/121\"\ - ,\r\n \"2603:1020:5:1::500/122\",\r\n \"2603:1020:5:1::700/121\"\ - ,\r\n \"2603:1020:5:1::780/122\",\r\n \"2603:1020:5:402::330/124\"\ - ,\r\n \"2603:1020:5:802::210/124\",\r\n \"2603:1020:5:c02::210/124\"\ - ,\r\n \"2603:1020:206:1::480/121\",\r\n \"2603:1020:206:1::500/122\"\ - ,\r\n \"2603:1020:206:1::700/121\",\r\n \"2603:1020:206:1::780/122\"\ - ,\r\n \"2603:1020:206:402::330/124\",\r\n \"2603:1020:206:802::210/124\"\ - ,\r\n \"2603:1020:206:c02::210/124\",\r\n \"2603:1020:305::440/122\"\ - ,\r\n \"2603:1020:305::500/121\",\r\n \"2603:1020:305:402::330/124\"\ - ,\r\n \"2603:1020:405::440/122\",\r\n \"2603:1020:405::500/121\"\ - ,\r\n \"2603:1020:405:402::330/124\",\r\n \"2603:1020:605::440/122\"\ - ,\r\n \"2603:1020:605::500/121\",\r\n \"2603:1020:605:402::330/124\"\ - ,\r\n \"2603:1020:705:1::480/121\",\r\n \"2603:1020:705:1::500/122\"\ - ,\r\n \"2603:1020:705:1::700/121\",\r\n \"2603:1020:705:1::780/122\"\ - ,\r\n \"2603:1020:705:402::330/124\",\r\n \"2603:1020:705:802::210/124\"\ - ,\r\n \"2603:1020:705:c02::210/124\",\r\n \"2603:1020:805:1::480/121\"\ - ,\r\n \"2603:1020:805:1::500/122\",\r\n \"2603:1020:805:1::700/121\"\ - ,\r\n \"2603:1020:805:1::780/122\",\r\n \"2603:1020:805:402::330/124\"\ - ,\r\n \"2603:1020:805:802::210/124\",\r\n \"2603:1020:805:c02::210/124\"\ - ,\r\n \"2603:1020:905::440/122\",\r\n \"2603:1020:905::500/121\"\ - ,\r\n \"2603:1020:905:402::330/124\",\r\n \"2603:1020:a04:1::480/121\"\ - ,\r\n \"2603:1020:a04:1::500/122\",\r\n \"2603:1020:a04:1::700/121\"\ - ,\r\n \"2603:1020:a04:1::780/122\",\r\n \"2603:1020:a04:402::330/124\"\ - ,\r\n \"2603:1020:a04:802::210/124\",\r\n \"2603:1020:a04:c02::210/124\"\ - ,\r\n \"2603:1020:b04::440/122\",\r\n \"2603:1020:b04::500/121\"\ - ,\r\n \"2603:1020:b04:402::330/124\",\r\n \"2603:1020:c04:1::480/121\"\ - ,\r\n \"2603:1020:c04:1::500/122\",\r\n \"2603:1020:c04:1::700/121\"\ - ,\r\n \"2603:1020:c04:1::780/122\",\r\n \"2603:1020:c04:402::330/124\"\ - ,\r\n \"2603:1020:c04:802::210/124\",\r\n \"2603:1020:c04:c02::210/124\"\ - ,\r\n \"2603:1020:d04::440/122\",\r\n \"2603:1020:d04::500/121\"\ - ,\r\n \"2603:1020:d04:402::330/124\",\r\n \"2603:1020:e04:1::480/121\"\ - ,\r\n \"2603:1020:e04:1::500/122\",\r\n \"2603:1020:e04:1::700/121\"\ - ,\r\n \"2603:1020:e04:1::780/122\",\r\n \"2603:1020:e04:402::330/124\"\ - ,\r\n \"2603:1020:e04:802::210/124\",\r\n \"2603:1020:e04:c02::210/124\"\ - ,\r\n \"2603:1020:f04::440/122\",\r\n \"2603:1020:f04::500/121\"\ - ,\r\n \"2603:1020:f04:402::330/124\",\r\n \"2603:1020:1004::480/121\"\ - ,\r\n \"2603:1020:1004::500/122\",\r\n \"2603:1020:1004::700/121\"\ - ,\r\n \"2603:1020:1004::780/122\",\r\n \"2603:1020:1004:400::240/124\"\ - ,\r\n \"2603:1020:1004:800::340/124\",\r\n \"2603:1020:1004:c02::380/124\"\ - ,\r\n \"2603:1020:1104::600/121\",\r\n \"2603:1020:1104:400::500/124\"\ - ,\r\n \"2603:1030:f:1::440/122\",\r\n \"2603:1030:f:1::500/121\"\ - ,\r\n \"2603:1030:f:400::b30/124\",\r\n \"2603:1030:10:1::480/121\"\ - ,\r\n \"2603:1030:10:1::500/122\",\r\n \"2603:1030:10:1::700/121\"\ - ,\r\n \"2603:1030:10:1::780/122\",\r\n \"2603:1030:10:402::330/124\"\ - ,\r\n \"2603:1030:10:802::210/124\",\r\n \"2603:1030:10:c02::210/124\"\ - ,\r\n \"2603:1030:104:1::480/121\",\r\n \"2603:1030:104:1::500/122\"\ - ,\r\n \"2603:1030:104:1::700/121\",\r\n \"2603:1030:104:1::780/122\"\ - ,\r\n \"2603:1030:104:402::330/124\",\r\n \"2603:1030:107::600/121\"\ - ,\r\n \"2603:1030:107:400::380/124\",\r\n \"2603:1030:210:1::480/121\"\ - ,\r\n \"2603:1030:210:1::500/122\",\r\n \"2603:1030:210:1::700/121\"\ - ,\r\n \"2603:1030:210:1::780/122\",\r\n \"2603:1030:210:402::330/124\"\ - ,\r\n \"2603:1030:210:802::210/124\",\r\n \"2603:1030:210:c02::210/124\"\ - ,\r\n \"2603:1030:40b:1::480/121\",\r\n \"2603:1030:40b:1::500/122\"\ - ,\r\n \"2603:1030:40b:400::b30/124\",\r\n \"2603:1030:40b:800::210/124\"\ - ,\r\n \"2603:1030:40b:c00::210/124\",\r\n \"2603:1030:40c:1::480/121\"\ - ,\r\n \"2603:1030:40c:1::500/122\",\r\n \"2603:1030:40c:1::700/121\"\ - ,\r\n \"2603:1030:40c:1::780/122\",\r\n \"2603:1030:40c:402::330/124\"\ - ,\r\n \"2603:1030:40c:802::210/124\",\r\n \"2603:1030:40c:c02::210/124\"\ - ,\r\n \"2603:1030:504:1::480/121\",\r\n \"2603:1030:504:1::500/122\"\ - ,\r\n \"2603:1030:504:1::700/121\",\r\n \"2603:1030:504:1::780/122\"\ - ,\r\n \"2603:1030:504:402::240/124\",\r\n \"2603:1030:504:802::340/124\"\ - ,\r\n \"2603:1030:504:c02::380/124\",\r\n \"2603:1030:608::440/122\"\ - ,\r\n \"2603:1030:608::500/121\",\r\n \"2603:1030:608:402::330/124\"\ - ,\r\n \"2603:1030:807:1::480/121\",\r\n \"2603:1030:807:1::500/122\"\ - ,\r\n \"2603:1030:807:1::700/121\",\r\n \"2603:1030:807:1::780/122\"\ - ,\r\n \"2603:1030:807:402::330/124\",\r\n \"2603:1030:807:802::210/124\"\ - ,\r\n \"2603:1030:807:c02::210/124\",\r\n \"2603:1030:a07::440/122\"\ - ,\r\n \"2603:1030:a07::500/121\",\r\n \"2603:1030:a07:402::9b0/124\"\ - ,\r\n \"2603:1030:b04::440/122\",\r\n \"2603:1030:b04::500/121\"\ - ,\r\n \"2603:1030:b04:402::330/124\",\r\n \"2603:1030:c06:1::480/121\"\ - ,\r\n \"2603:1030:c06:1::500/122\",\r\n \"2603:1030:c06:400::b30/124\"\ - ,\r\n \"2603:1030:c06:802::210/124\",\r\n \"2603:1030:c06:c02::210/124\"\ - ,\r\n \"2603:1030:f05:1::480/121\",\r\n \"2603:1030:f05:1::500/122\"\ - ,\r\n \"2603:1030:f05:1::700/121\",\r\n \"2603:1030:f05:1::780/122\"\ - ,\r\n \"2603:1030:f05:402::330/124\",\r\n \"2603:1030:f05:802::210/124\"\ - ,\r\n \"2603:1030:f05:c02::210/124\",\r\n \"2603:1030:1005::440/122\"\ - ,\r\n \"2603:1030:1005::500/121\",\r\n \"2603:1030:1005:402::330/124\"\ - ,\r\n \"2603:1040:5::/121\",\r\n \"2603:1040:5::80/122\"\ - ,\r\n \"2603:1040:5:1::480/121\",\r\n \"2603:1040:5:1::500/122\"\ - ,\r\n \"2603:1040:5:1::700/121\",\r\n \"2603:1040:5:1::780/122\"\ - ,\r\n \"2603:1040:5:402::330/124\",\r\n \"2603:1040:5:802::210/124\"\ - ,\r\n \"2603:1040:5:c02::210/124\",\r\n \"2603:1040:207::440/122\"\ - ,\r\n \"2603:1040:207::500/121\",\r\n \"2603:1040:207:402::330/124\"\ - ,\r\n \"2603:1040:407:1::480/121\",\r\n \"2603:1040:407:1::500/122\"\ - ,\r\n \"2603:1040:407:1::700/121\",\r\n \"2603:1040:407:1::780/122\"\ - ,\r\n \"2603:1040:407:402::330/124\",\r\n \"2603:1040:407:802::210/124\"\ - ,\r\n \"2603:1040:407:c02::210/124\",\r\n \"2603:1040:606::440/122\"\ - ,\r\n \"2603:1040:606::500/121\",\r\n \"2603:1040:606:402::330/124\"\ - ,\r\n \"2603:1040:806::440/122\",\r\n \"2603:1040:806::500/121\"\ - ,\r\n \"2603:1040:806:402::330/124\",\r\n \"2603:1040:904:1::480/121\"\ - ,\r\n \"2603:1040:904:1::500/122\",\r\n \"2603:1040:904:1::700/121\"\ - ,\r\n \"2603:1040:904:1::780/122\",\r\n \"2603:1040:904:402::330/124\"\ - ,\r\n \"2603:1040:904:802::210/124\",\r\n \"2603:1040:904:c02::210/124\"\ - ,\r\n \"2603:1040:a06::/121\",\r\n \"2603:1040:a06::80/122\"\ - ,\r\n \"2603:1040:a06:1::480/121\",\r\n \"2603:1040:a06:1::500/122\"\ - ,\r\n \"2603:1040:a06:1::700/121\",\r\n \"2603:1040:a06:1::780/122\"\ - ,\r\n \"2603:1040:a06:402::330/124\",\r\n \"2603:1040:a06:802::210/124\"\ - ,\r\n \"2603:1040:a06:c02::210/124\",\r\n \"2603:1040:b04::440/122\"\ - ,\r\n \"2603:1040:b04::500/121\",\r\n \"2603:1040:b04:402::330/124\"\ - ,\r\n \"2603:1040:c06::440/122\",\r\n \"2603:1040:c06::500/121\"\ - ,\r\n \"2603:1040:c06:402::330/124\",\r\n \"2603:1040:d04::480/121\"\ - ,\r\n \"2603:1040:d04::500/122\",\r\n \"2603:1040:d04::700/121\"\ - ,\r\n \"2603:1040:d04::780/122\",\r\n \"2603:1040:d04:400::240/124\"\ - ,\r\n \"2603:1040:d04:800::340/124\",\r\n \"2603:1040:d04:c02::380/124\"\ - ,\r\n \"2603:1040:f05:1::480/121\",\r\n \"2603:1040:f05:1::500/122\"\ - ,\r\n \"2603:1040:f05:1::700/121\",\r\n \"2603:1040:f05:1::780/122\"\ - ,\r\n \"2603:1040:f05:402::330/124\",\r\n \"2603:1040:f05:802::210/124\"\ - ,\r\n \"2603:1040:f05:c02::210/124\",\r\n \"2603:1040:1104::600/121\"\ - ,\r\n \"2603:1040:1104:400::500/124\",\r\n \"2603:1050:6:1::480/121\"\ - ,\r\n \"2603:1050:6:1::500/122\",\r\n \"2603:1050:6:1::700/121\"\ - ,\r\n \"2603:1050:6:1::780/122\",\r\n \"2603:1050:6:402::330/124\"\ - ,\r\n \"2603:1050:6:802::210/124\",\r\n \"2603:1050:6:c02::210/124\"\ - ,\r\n \"2603:1050:403::480/121\",\r\n \"2603:1050:403::500/122\"\ - ,\r\n \"2603:1050:403:400::240/124\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"DataFactory.AustraliaEast\",\r\n \ - \ \"id\": \"DataFactory.AustraliaEast\",\r\n \"properties\": {\r\n\ - \ \"changeNumber\": \"2\",\r\n \"region\": \"australiaeast\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"DataFactory\",\r\n \ - \ \"addressPrefixes\": [\r\n \"13.70.74.144/28\",\r\n \ - \ \"20.37.193.0/25\",\r\n \"20.37.193.128/26\",\r\n \"\ - 20.37.198.224/29\",\r\n \"20.53.45.0/24\",\r\n \"20.53.46.0/26\"\ - ,\r\n \"40.79.163.80/28\",\r\n \"40.79.171.160/28\",\r\n\ - \ \"2603:1010:6:1::480/121\",\r\n \"2603:1010:6:1::500/122\"\ - ,\r\n \"2603:1010:6:1::700/121\",\r\n \"2603:1010:6:1::780/122\"\ - ,\r\n \"2603:1010:6:402::330/124\",\r\n \"2603:1010:6:802::210/124\"\ - ,\r\n \"2603:1010:6:c02::210/124\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"DataFactory.AustraliaSoutheast\",\r\n\ - \ \"id\": \"DataFactory.AustraliaSoutheast\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"australiasoutheast\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"DataFactory\",\r\n \ - \ \"addressPrefixes\": [\r\n \"13.77.53.160/28\",\r\n \ - \ \"20.42.225.0/25\",\r\n \"20.42.225.128/26\",\r\n \"\ - 20.42.230.136/29\",\r\n \"104.46.179.64/26\",\r\n \"104.46.182.0/24\"\ - ,\r\n \"2603:1010:101::440/122\",\r\n \"2603:1010:101::500/121\"\ - ,\r\n \"2603:1010:101:402::330/124\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"DataFactory.BrazilSouth\",\r\n \ - \ \"id\": \"DataFactory.BrazilSouth\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"2\",\r\n \"region\": \"brazilsouth\",\r\n\ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"DataFactory\",\r\n \"\ - addressPrefixes\": [\r\n \"191.233.205.160/28\",\r\n \"\ - 191.234.137.32/29\",\r\n \"191.234.142.64/26\",\r\n \"191.234.143.0/24\"\ - ,\r\n \"191.234.149.0/28\",\r\n \"191.234.157.0/28\",\r\n\ - \ \"191.235.224.128/25\",\r\n \"191.235.225.0/26\",\r\n\ - \ \"2603:1050:6:1::480/121\",\r\n \"2603:1050:6:1::500/122\"\ - ,\r\n \"2603:1050:6:1::700/121\",\r\n \"2603:1050:6:1::780/122\"\ - ,\r\n \"2603:1050:6:402::330/124\",\r\n \"2603:1050:6:802::210/124\"\ - ,\r\n \"2603:1050:6:c02::210/124\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"DataFactory.CanadaCentral\",\r\n \ - \ \"id\": \"DataFactory.CanadaCentral\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"2\",\r\n \"region\": \"canadacentral\",\r\ - \n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"DataFactory\",\r\n \"\ - addressPrefixes\": [\r\n \"13.71.175.80/28\",\r\n \"20.38.147.224/28\"\ - ,\r\n \"52.228.80.128/25\",\r\n \"52.228.81.0/26\",\r\n\ - \ \"52.228.86.144/29\",\r\n \"52.246.155.224/28\",\r\n \ - \ \"2603:1030:f05:1::480/121\",\r\n \"2603:1030:f05:1::500/122\"\ - ,\r\n \"2603:1030:f05:1::700/121\",\r\n \"2603:1030:f05:1::780/122\"\ - ,\r\n \"2603:1030:f05:402::330/124\",\r\n \"2603:1030:f05:802::210/124\"\ - ,\r\n \"2603:1030:f05:c02::210/124\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"DataFactory.CanadaEast\",\r\n \"\ - id\": \"DataFactory.CanadaEast\",\r\n \"properties\": {\r\n \"\ - changeNumber\": \"2\",\r\n \"region\": \"canadaeast\",\r\n \"\ - state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\ - \n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n \ - \ ],\r\n \"systemService\": \"DataFactory\",\r\n \"addressPrefixes\"\ - : [\r\n \"40.69.108.160/28\",\r\n \"40.69.111.48/28\",\r\ - \n \"40.89.16.128/25\",\r\n \"40.89.17.0/26\",\r\n \ - \ \"40.89.20.224/29\",\r\n \"2603:1030:1005::440/122\",\r\n \ - \ \"2603:1030:1005::500/121\",\r\n \"2603:1030:1005:402::330/124\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"DataFactory.CentralIndia\"\ - ,\r\n \"id\": \"DataFactory.CentralIndia\",\r\n \"properties\":\ - \ {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"centralindia\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"DataFactory\",\r\n \ - \ \"addressPrefixes\": [\r\n \"20.43.121.48/28\",\r\n \ - \ \"20.192.42.0/24\",\r\n \"20.192.43.0/26\",\r\n \"40.80.51.160/28\"\ - ,\r\n \"52.140.104.128/25\",\r\n \"52.140.105.0/26\",\r\n\ - \ \"52.140.108.208/29\",\r\n \"2603:1040:a06::/121\",\r\n\ - \ \"2603:1040:a06::80/122\",\r\n \"2603:1040:a06:1::480/121\"\ - ,\r\n \"2603:1040:a06:1::500/122\",\r\n \"2603:1040:a06:1::700/121\"\ - ,\r\n \"2603:1040:a06:1::780/122\",\r\n \"2603:1040:a06:402::330/124\"\ - ,\r\n \"2603:1040:a06:802::210/124\",\r\n \"2603:1040:a06:c02::210/124\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"DataFactory.CentralUS\"\ - ,\r\n \"id\": \"DataFactory.CentralUS\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"2\",\r\n \"region\": \"centralus\",\r\ - \n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"DataFactory\",\r\n \"\ - addressPrefixes\": [\r\n \"13.89.174.192/28\",\r\n \"20.37.154.0/23\"\ - ,\r\n \"20.37.156.0/26\",\r\n \"20.40.206.224/29\",\r\n\ - \ \"20.44.10.64/28\",\r\n \"52.182.141.16/28\",\r\n \ - \ \"2603:1030:10:1::480/121\",\r\n \"2603:1030:10:1::500/122\"\ - ,\r\n \"2603:1030:10:1::700/121\",\r\n \"2603:1030:10:1::780/122\"\ - ,\r\n \"2603:1030:10:402::330/124\",\r\n \"2603:1030:10:802::210/124\"\ - ,\r\n \"2603:1030:10:c02::210/124\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"DataFactory.EastAsia\",\r\n \"id\"\ - : \"DataFactory.EastAsia\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"2\",\r\n \"region\": \"eastasia\",\r\n \"state\": \"GA\"\ - ,\r\n \"networkFeatures\": [\r\n \"API\",\r\n \"\ - NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n ],\r\n \ - \ \"systemService\": \"DataFactory\",\r\n \"addressPrefixes\": [\r\n\ - \ \"13.75.39.112/28\",\r\n \"20.189.104.128/25\",\r\n \ - \ \"20.189.106.0/26\",\r\n \"20.189.109.232/29\",\r\n \ - \ \"2603:1040:207::440/122\",\r\n \"2603:1040:207::500/121\"\ - ,\r\n \"2603:1040:207:402::330/124\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"DataFactory.EastUS\",\r\n \"id\"\ - : \"DataFactory.EastUS\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"2\",\r\n \"region\": \"eastus\",\r\n \"state\": \"GA\",\r\ - \n \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\ - ,\r\n \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\"\ - : \"DataFactory\",\r\n \"addressPrefixes\": [\r\n \"20.42.2.0/23\"\ - ,\r\n \"20.42.4.0/26\",\r\n \"20.42.64.0/28\",\r\n \ - \ \"20.49.111.0/29\",\r\n \"40.71.14.32/28\",\r\n \"\ - 40.78.229.96/28\",\r\n \"2603:1030:210:1::480/121\",\r\n \ - \ \"2603:1030:210:1::500/122\",\r\n \"2603:1030:210:1::700/121\"\ - ,\r\n \"2603:1030:210:1::780/122\",\r\n \"2603:1030:210:402::330/124\"\ - ,\r\n \"2603:1030:210:802::210/124\",\r\n \"2603:1030:210:c02::210/124\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"DataFactory.EastUS2\"\ - ,\r\n \"id\": \"DataFactory.EastUS2\",\r\n \"properties\": {\r\n\ - \ \"changeNumber\": \"2\",\r\n \"region\": \"eastus2\",\r\n\ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"DataFactory\",\r\n \"\ - addressPrefixes\": [\r\n \"20.41.2.0/23\",\r\n \"20.41.4.0/26\"\ - ,\r\n \"20.44.17.80/28\",\r\n \"20.49.102.16/29\",\r\n \ - \ \"40.70.148.160/28\",\r\n \"52.167.107.224/28\",\r\n \ - \ \"2603:1030:40c:1::480/121\",\r\n \"2603:1030:40c:1::500/122\"\ - ,\r\n \"2603:1030:40c:1::700/121\",\r\n \"2603:1030:40c:1::780/122\"\ - ,\r\n \"2603:1030:40c:402::330/124\",\r\n \"2603:1030:40c:802::210/124\"\ - ,\r\n \"2603:1030:40c:c02::210/124\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"DataFactory.EastUS2EUAP\",\r\n \ - \ \"id\": \"DataFactory.EastUS2EUAP\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"2\",\r\n \"region\": \"eastus2euap\",\r\n\ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"DataFactory\",\r\n \"\ - addressPrefixes\": [\r\n \"20.39.8.96/27\",\r\n \"20.39.8.128/26\"\ - ,\r\n \"20.39.15.0/29\",\r\n \"40.74.149.64/28\",\r\n \ - \ \"40.75.35.144/28\",\r\n \"52.138.92.128/28\",\r\n \ - \ \"2603:1030:40b:1::480/121\",\r\n \"2603:1030:40b:1::500/122\"\ - ,\r\n \"2603:1030:40b:400::b30/124\",\r\n \"2603:1030:40b:800::210/124\"\ - ,\r\n \"2603:1030:40b:c00::210/124\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"DataFactory.FranceCentral\",\r\n \ - \ \"id\": \"DataFactory.FranceCentral\",\r\n \"properties\": {\r\n\ - \ \"changeNumber\": \"2\",\r\n \"region\": \"centralfrance\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"DataFactory\",\r\n \ - \ \"addressPrefixes\": [\r\n \"20.43.40.128/25\",\r\n \ - \ \"20.43.41.0/26\",\r\n \"20.43.44.208/29\",\r\n \"40.79.132.112/28\"\ - ,\r\n \"40.79.139.80/28\",\r\n \"40.79.146.240/28\",\r\n\ - \ \"2603:1020:805:1::480/121\",\r\n \"2603:1020:805:1::500/122\"\ - ,\r\n \"2603:1020:805:1::700/121\",\r\n \"2603:1020:805:1::780/122\"\ - ,\r\n \"2603:1020:805:402::330/124\",\r\n \"2603:1020:805:802::210/124\"\ - ,\r\n \"2603:1020:805:c02::210/124\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"DataFactory.FranceSouth\",\r\n \ - \ \"id\": \"DataFactory.FranceSouth\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"1\",\r\n \"region\": \"southfrance\",\r\n\ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"DataFactory\",\r\n \"\ - addressPrefixes\": [\r\n \"51.105.92.176/28\",\r\n \"51.105.93.64/26\"\ - ,\r\n \"51.105.93.128/25\",\r\n \"51.138.160.16/28\",\r\n\ - \ \"2603:1020:905::440/122\",\r\n \"2603:1020:905::500/121\"\ - ,\r\n \"2603:1020:905:402::330/124\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"DataFactory.GermanyWestCentral\",\r\n\ - \ \"id\": \"DataFactory.GermanyWestCentral\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"germanywc\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"DataFactory\",\r\n \ - \ \"addressPrefixes\": [\r\n \"20.52.64.0/28\",\r\n \"\ - 51.116.147.32/28\",\r\n \"51.116.147.64/26\",\r\n \"51.116.147.128/25\"\ - ,\r\n \"51.116.245.112/28\",\r\n \"51.116.245.176/28\",\r\ - \n \"51.116.253.48/28\",\r\n \"51.116.253.144/28\",\r\n\ - \ \"2603:1020:c04:1::480/121\",\r\n \"2603:1020:c04:1::500/122\"\ - ,\r\n \"2603:1020:c04:1::700/121\",\r\n \"2603:1020:c04:1::780/122\"\ - ,\r\n \"2603:1020:c04:402::330/124\",\r\n \"2603:1020:c04:802::210/124\"\ - ,\r\n \"2603:1020:c04:c02::210/124\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"DataFactory.JapanEast\",\r\n \"\ - id\": \"DataFactory.JapanEast\",\r\n \"properties\": {\r\n \"\ - changeNumber\": \"2\",\r\n \"region\": \"japaneast\",\r\n \"\ - state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\ - \n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n \ - \ ],\r\n \"systemService\": \"DataFactory\",\r\n \"addressPrefixes\"\ - : [\r\n \"13.78.109.192/28\",\r\n \"20.43.64.128/25\",\r\ - \n \"20.43.65.0/26\",\r\n \"20.43.70.120/29\",\r\n \ - \ \"20.191.164.0/24\",\r\n \"20.191.165.0/26\",\r\n \ - \ \"40.79.187.208/28\",\r\n \"40.79.195.224/28\",\r\n \"\ - 2603:1040:407:1::480/121\",\r\n \"2603:1040:407:1::500/122\",\r\n\ - \ \"2603:1040:407:1::700/121\",\r\n \"2603:1040:407:1::780/122\"\ - ,\r\n \"2603:1040:407:402::330/124\",\r\n \"2603:1040:407:802::210/124\"\ - ,\r\n \"2603:1040:407:c02::210/124\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"DataFactory.JapanWest\",\r\n \"\ - id\": \"DataFactory.JapanWest\",\r\n \"properties\": {\r\n \"\ - changeNumber\": \"2\",\r\n \"region\": \"japanwest\",\r\n \"\ - state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\ - \n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n \ - \ ],\r\n \"systemService\": \"DataFactory\",\r\n \"addressPrefixes\"\ - : [\r\n \"40.80.56.128/25\",\r\n \"40.80.57.0/26\",\r\n\ - \ \"40.80.62.24/29\",\r\n \"40.80.176.96/28\",\r\n \ - \ \"2603:1040:606::440/122\",\r\n \"2603:1040:606::500/121\"\ - ,\r\n \"2603:1040:606:402::330/124\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"DataFactory.KoreaCentral\",\r\n \ - \ \"id\": \"DataFactory.KoreaCentral\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"2\",\r\n \"region\": \"koreacentral\",\r\ - \n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"DataFactory\",\r\n \"\ - addressPrefixes\": [\r\n \"20.41.64.128/25\",\r\n \"20.41.65.0/26\"\ - ,\r\n \"20.41.69.8/29\",\r\n \"20.44.27.240/28\",\r\n \ - \ \"20.194.67.192/28\",\r\n \"52.231.20.64/28\",\r\n \ - \ \"2603:1040:f05:1::480/121\",\r\n \"2603:1040:f05:1::500/122\"\ - ,\r\n \"2603:1040:f05:1::700/121\",\r\n \"2603:1040:f05:1::780/122\"\ - ,\r\n \"2603:1040:f05:402::330/124\",\r\n \"2603:1040:f05:802::210/124\"\ - ,\r\n \"2603:1040:f05:c02::210/124\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"DataFactory.KoreaSouth\",\r\n \"\ - id\": \"DataFactory.KoreaSouth\",\r\n \"properties\": {\r\n \"\ - changeNumber\": \"2\",\r\n \"region\": \"koreasouth\",\r\n \"\ - state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\ - \n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n \ - \ ],\r\n \"systemService\": \"DataFactory\",\r\n \"addressPrefixes\"\ - : [\r\n \"40.80.168.128/25\",\r\n \"40.80.169.0/26\",\r\n\ - \ \"40.80.172.112/29\",\r\n \"52.231.148.160/28\",\r\n \ - \ \"52.231.151.32/28\"\r\n ]\r\n }\r\n },\r\n {\r\ - \n \"name\": \"DataFactory.NorthCentralUS\",\r\n \"id\": \"DataFactory.NorthCentralUS\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \ - \ \"region\": \"northcentralus\",\r\n \"state\": \"GA\",\r\n \ - \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n\ - \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\"\ - : \"DataFactory\",\r\n \"addressPrefixes\": [\r\n \"20.49.114.24/29\"\ - ,\r\n \"20.49.118.128/25\",\r\n \"40.80.185.0/24\",\r\n\ - \ \"40.80.186.0/25\",\r\n \"52.162.111.48/28\",\r\n \ - \ \"2603:1030:608::440/122\",\r\n \"2603:1030:608::500/121\"\ - ,\r\n \"2603:1030:608:402::330/124\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"DataFactory.NorthEurope\",\r\n \ - \ \"id\": \"DataFactory.NorthEurope\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"2\",\r\n \"region\": \"northeurope\",\r\n\ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"DataFactory\",\r\n \"\ - addressPrefixes\": [\r\n \"13.69.230.96/28\",\r\n \"13.74.108.224/28\"\ - ,\r\n \"20.38.80.192/26\",\r\n \"20.38.82.0/23\",\r\n \ - \ \"20.50.68.56/29\",\r\n \"52.138.229.32/28\",\r\n \ - \ \"2603:1020:5:1::480/121\",\r\n \"2603:1020:5:1::500/122\",\r\ - \n \"2603:1020:5:1::700/121\",\r\n \"2603:1020:5:1::780/122\"\ - ,\r\n \"2603:1020:5:402::330/124\",\r\n \"2603:1020:5:802::210/124\"\ - ,\r\n \"2603:1020:5:c02::210/124\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"DataFactory.NorwayEast\",\r\n \"\ - id\": \"DataFactory.NorwayEast\",\r\n \"properties\": {\r\n \"\ - changeNumber\": \"2\",\r\n \"region\": \"norwaye\",\r\n \"state\"\ - : \"GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\n \ - \ \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n ],\r\n\ - \ \"systemService\": \"DataFactory\",\r\n \"addressPrefixes\"\ - : [\r\n \"51.120.44.208/28\",\r\n \"51.120.45.64/26\",\r\ - \n \"51.120.45.128/25\",\r\n \"51.120.100.224/28\",\r\n\ - \ \"51.120.109.96/28\",\r\n \"51.120.213.32/28\",\r\n \ - \ \"2603:1020:e04:1::480/121\",\r\n \"2603:1020:e04:1::500/122\"\ - ,\r\n \"2603:1020:e04:1::700/121\",\r\n \"2603:1020:e04:1::780/122\"\ - ,\r\n \"2603:1020:e04:402::330/124\",\r\n \"2603:1020:e04:802::210/124\"\ - ,\r\n \"2603:1020:e04:c02::210/124\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"DataFactory.SouthAfricaNorth\",\r\n\ - \ \"id\": \"DataFactory.SouthAfricaNorth\",\r\n \"properties\":\ - \ {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"southafricanorth\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"DataFactory\",\r\n \ - \ \"addressPrefixes\": [\r\n \"102.133.124.104/29\",\r\n \ - \ \"102.133.156.136/29\",\r\n \"102.133.216.128/25\",\r\n \ - \ \"102.133.217.0/26\",\r\n \"102.133.218.248/29\",\r\n \ - \ \"102.133.251.184/29\",\r\n \"2603:1000:104::/121\",\r\n\ - \ \"2603:1000:104::80/122\",\r\n \"2603:1000:104::1c0/122\"\ - ,\r\n \"2603:1000:104::280/121\",\r\n \"2603:1000:104:1::480/121\"\ - ,\r\n \"2603:1000:104:1::500/122\",\r\n \"2603:1000:104:1::700/121\"\ - ,\r\n \"2603:1000:104:1::780/122\",\r\n \"2603:1000:104:402::330/124\"\ - ,\r\n \"2603:1000:104:802::210/124\",\r\n \"2603:1000:104:c02::210/124\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"DataFactory.SouthCentralUS\"\ - ,\r\n \"id\": \"DataFactory.SouthCentralUS\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"southcentralus\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"DataFactory\",\r\n \ - \ \"addressPrefixes\": [\r\n \"13.73.244.32/28\",\r\n \ - \ \"13.73.253.96/29\",\r\n \"13.104.248.64/27\",\r\n \"\ - 13.104.252.208/28\",\r\n \"20.45.123.160/28\",\r\n \"20.65.130.192/26\"\ - ,\r\n \"20.65.131.0/24\",\r\n \"40.119.9.0/25\",\r\n \ - \ \"40.119.9.128/26\",\r\n \"2603:1030:807:1::480/121\",\r\n\ - \ \"2603:1030:807:1::500/122\",\r\n \"2603:1030:807:1::700/121\"\ - ,\r\n \"2603:1030:807:1::780/122\",\r\n \"2603:1030:807:402::330/124\"\ - ,\r\n \"2603:1030:807:802::210/124\",\r\n \"2603:1030:807:c02::210/124\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"DataFactory.SoutheastAsia\"\ - ,\r\n \"id\": \"DataFactory.SoutheastAsia\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"southeastasia\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"DataFactory\",\r\n \ - \ \"addressPrefixes\": [\r\n \"13.67.10.208/28\",\r\n \ - \ \"20.43.128.128/25\",\r\n \"20.43.130.0/26\",\r\n \"\ - 20.195.64.0/25\",\r\n \"23.98.83.112/28\",\r\n \"23.98.106.128/29\"\ - ,\r\n \"23.98.109.64/26\",\r\n \"23.98.109.128/25\",\r\n\ - \ \"40.78.236.176/28\",\r\n \"2603:1040:5::/121\",\r\n \ - \ \"2603:1040:5::80/122\",\r\n \"2603:1040:5:1::480/121\"\ - ,\r\n \"2603:1040:5:1::500/122\",\r\n \"2603:1040:5:1::700/121\"\ - ,\r\n \"2603:1040:5:1::780/122\",\r\n \"2603:1040:5:402::330/124\"\ - ,\r\n \"2603:1040:5:802::210/124\",\r\n \"2603:1040:5:c02::210/124\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"DataFactory.SouthIndia\"\ - ,\r\n \"id\": \"DataFactory.SouthIndia\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"2\",\r\n \"region\": \"southindia\",\r\ - \n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"DataFactory\",\r\n \"\ - addressPrefixes\": [\r\n \"20.41.192.128/25\",\r\n \"20.41.193.0/26\"\ - ,\r\n \"20.41.197.112/29\",\r\n \"20.41.198.0/25\",\r\n\ - \ \"20.41.198.128/26\",\r\n \"20.192.184.96/28\",\r\n \ - \ \"40.78.196.128/28\",\r\n \"2603:1040:c06::440/122\",\r\n\ - \ \"2603:1040:c06::500/121\",\r\n \"2603:1040:c06:402::330/124\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"DataFactory.SwitzerlandNorth\"\ - ,\r\n \"id\": \"DataFactory.SwitzerlandNorth\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"switzerlandn\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"DataFactory\",\r\n \ - \ \"addressPrefixes\": [\r\n \"51.107.51.40/29\",\r\n \ - \ \"51.107.52.0/25\",\r\n \"51.107.52.128/26\",\r\n \"\ - 51.107.128.0/28\",\r\n \"2603:1020:a04:1::480/121\",\r\n \ - \ \"2603:1020:a04:1::500/122\",\r\n \"2603:1020:a04:1::700/121\"\ - ,\r\n \"2603:1020:a04:1::780/122\",\r\n \"2603:1020:a04:402::330/124\"\ - ,\r\n \"2603:1020:a04:802::210/124\",\r\n \"2603:1020:a04:c02::210/124\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"DataFactory.UAENorth\"\ - ,\r\n \"id\": \"DataFactory.UAENorth\",\r\n \"properties\": {\r\n\ - \ \"changeNumber\": \"2\",\r\n \"region\": \"uaenorth\",\r\n\ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"DataFactory\",\r\n \"\ - addressPrefixes\": [\r\n \"20.38.141.16/28\",\r\n \"20.38.141.128/25\"\ - ,\r\n \"20.38.142.0/26\",\r\n \"20.38.152.0/28\",\r\n \ - \ \"40.120.64.112/28\",\r\n \"40.120.75.112/28\",\r\n \ - \ \"2603:1040:904:1::480/121\",\r\n \"2603:1040:904:1::500/122\"\ - ,\r\n \"2603:1040:904:1::700/121\",\r\n \"2603:1040:904:1::780/122\"\ - ,\r\n \"2603:1040:904:402::330/124\",\r\n \"2603:1040:904:802::210/124\"\ - ,\r\n \"2603:1040:904:c02::210/124\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"DataFactory.UKSouth\",\r\n \"id\"\ - : \"DataFactory.UKSouth\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"2\",\r\n \"region\": \"uksouth\",\r\n \"state\": \"GA\"\ - ,\r\n \"networkFeatures\": [\r\n \"API\",\r\n \"\ - NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n ],\r\n \ - \ \"systemService\": \"DataFactory\",\r\n \"addressPrefixes\": [\r\n\ - \ \"51.104.9.32/28\",\r\n \"51.104.24.128/25\",\r\n \ - \ \"51.104.25.0/26\",\r\n \"51.104.29.216/29\",\r\n \ - \ \"51.105.67.240/28\",\r\n \"51.105.75.240/28\",\r\n \"\ - 2603:1020:705:1::480/121\",\r\n \"2603:1020:705:1::500/122\",\r\n\ - \ \"2603:1020:705:1::700/121\",\r\n \"2603:1020:705:1::780/122\"\ - ,\r\n \"2603:1020:705:402::330/124\",\r\n \"2603:1020:705:802::210/124\"\ - ,\r\n \"2603:1020:705:c02::210/124\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"DataFactory.UKWest\",\r\n \"id\"\ - : \"DataFactory.UKWest\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"2\",\r\n \"region\": \"ukwest\",\r\n \"state\": \"GA\",\r\ - \n \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\ - ,\r\n \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\"\ - : \"DataFactory\",\r\n \"addressPrefixes\": [\r\n \"51.137.160.128/25\"\ - ,\r\n \"51.137.161.0/26\",\r\n \"51.137.164.192/29\",\r\n\ - \ \"51.140.212.112/28\",\r\n \"2603:1020:605::440/122\"\ - ,\r\n \"2603:1020:605::500/121\",\r\n \"2603:1020:605:402::330/124\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"DataFactory.WestCentralUS\"\ - ,\r\n \"id\": \"DataFactory.WestCentralUS\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"westcentralus\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"DataFactory\",\r\n \ - \ \"addressPrefixes\": [\r\n \"13.71.199.0/28\",\r\n \ - \ \"52.150.136.192/26\",\r\n \"52.150.137.128/25\",\r\n \ - \ \"52.150.154.16/29\",\r\n \"52.150.155.0/24\",\r\n \"\ - 52.150.157.160/29\",\r\n \"52.150.157.192/26\",\r\n \"2603:1030:b04::440/122\"\ - ,\r\n \"2603:1030:b04::500/121\",\r\n \"2603:1030:b04:402::330/124\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"DataFactory.WestEurope\"\ - ,\r\n \"id\": \"DataFactory.WestEurope\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"2\",\r\n \"region\": \"westeurope\",\r\ - \n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"DataFactory\",\r\n \"\ - addressPrefixes\": [\r\n \"13.69.67.192/28\",\r\n \"13.69.107.112/28\"\ - ,\r\n \"13.69.112.128/28\",\r\n \"40.74.24.192/26\",\r\n\ - \ \"40.74.26.0/23\",\r\n \"40.113.176.232/29\",\r\n \ - \ \"52.236.187.112/28\",\r\n \"2603:1020:206:1::480/121\",\r\ - \n \"2603:1020:206:1::500/122\",\r\n \"2603:1020:206:1::700/121\"\ - ,\r\n \"2603:1020:206:1::780/122\",\r\n \"2603:1020:206:402::330/124\"\ - ,\r\n \"2603:1020:206:802::210/124\",\r\n \"2603:1020:206:c02::210/124\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"DataFactory.WestUS\"\ - ,\r\n \"id\": \"DataFactory.WestUS\",\r\n \"properties\": {\r\n\ - \ \"changeNumber\": \"2\",\r\n \"region\": \"westus\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"DataFactory\",\r\n \"\ - addressPrefixes\": [\r\n \"13.86.219.208/28\",\r\n \"40.82.249.64/26\"\ - ,\r\n \"40.82.250.0/23\",\r\n \"52.250.228.0/29\",\r\n \ - \ \"2603:1030:a07::440/122\",\r\n \"2603:1030:a07::500/121\"\ - ,\r\n \"2603:1030:a07:402::9b0/124\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"DataFactory.WestUS2\",\r\n \"id\"\ - : \"DataFactory.WestUS2\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"2\",\r\n \"region\": \"westus2\",\r\n \"state\": \"GA\"\ - ,\r\n \"networkFeatures\": [\r\n \"API\",\r\n \"\ - NSG\"\r\n ],\r\n \"systemService\": \"DataFactory\",\r\n \ - \ \"addressPrefixes\": [\r\n \"13.66.143.128/28\",\r\n \ - \ \"20.42.129.64/26\",\r\n \"20.42.132.0/23\",\r\n \"\ - 40.64.132.232/29\",\r\n \"40.78.245.16/28\",\r\n \"40.78.251.192/28\"\ - ,\r\n \"2603:1030:c06:1::480/121\",\r\n \"2603:1030:c06:1::500/122\"\ - ,\r\n \"2603:1030:c06:400::b30/124\",\r\n \"2603:1030:c06:802::210/124\"\ - ,\r\n \"2603:1030:c06:c02::210/124\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"Dynamics365ForMarketingEmail\",\r\n\ - \ \"id\": \"Dynamics365ForMarketingEmail\",\r\n \"properties\":\ - \ {\r\n \"changeNumber\": \"1\",\r\n \"region\": \"\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"Dynamics365ForMarketingEmail\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.66.138.128/25\",\r\n\ - \ \"13.69.226.128/25\",\r\n \"13.71.171.0/24\",\r\n \ - \ \"13.74.106.128/25\",\r\n \"13.75.35.0/24\",\r\n \ - \ \"13.77.51.0/24\",\r\n \"13.78.107.0/24\",\r\n \"40.78.242.0/25\"\ - ,\r\n \"40.79.138.192/26\",\r\n \"51.140.147.0/24\",\r\n\ - \ \"65.52.252.128/27\",\r\n \"102.133.251.96/27\",\r\n \ - \ \"104.211.80.0/24\",\r\n \"191.233.202.0/24\"\r\n \ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"Dynamics365ForMarketingEmail.AustraliaSoutheast\"\ - ,\r\n \"id\": \"Dynamics365ForMarketingEmail.AustraliaSoutheast\",\r\n\ - \ \"properties\": {\r\n \"changeNumber\": \"1\",\r\n \"\ - region\": \"australiasoutheast\",\r\n \"state\": \"GA\",\r\n \ - \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n\ - \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\"\ - : \"Dynamics365ForMarketingEmail\",\r\n \"addressPrefixes\": [\r\n\ - \ \"13.77.51.0/24\"\r\n ]\r\n }\r\n },\r\n {\r\n\ - \ \"name\": \"Dynamics365ForMarketingEmail.BrazilSouth\",\r\n \"\ - id\": \"Dynamics365ForMarketingEmail.BrazilSouth\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"1\",\r\n \"region\": \"brazilsouth\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"Dynamics365ForMarketingEmail\"\ - ,\r\n \"addressPrefixes\": [\r\n \"191.233.202.0/24\"\r\n\ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"Dynamics365ForMarketingEmail.CanadaCentral\"\ - ,\r\n \"id\": \"Dynamics365ForMarketingEmail.CanadaCentral\",\r\n \ - \ \"properties\": {\r\n \"changeNumber\": \"1\",\r\n \"region\"\ - : \"canadacentral\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n\ - \ \"FW\"\r\n ],\r\n \"systemService\": \"Dynamics365ForMarketingEmail\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.71.171.0/24\"\r\n \ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"Dynamics365ForMarketingEmail.CentralIndia\"\ - ,\r\n \"id\": \"Dynamics365ForMarketingEmail.CentralIndia\",\r\n \ - \ \"properties\": {\r\n \"changeNumber\": \"1\",\r\n \"region\"\ - : \"centralindia\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n\ - \ \"FW\"\r\n ],\r\n \"systemService\": \"Dynamics365ForMarketingEmail\"\ - ,\r\n \"addressPrefixes\": [\r\n \"104.211.80.0/24\"\r\n \ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"Dynamics365ForMarketingEmail.EastAsia\"\ - ,\r\n \"id\": \"Dynamics365ForMarketingEmail.EastAsia\",\r\n \"\ - properties\": {\r\n \"changeNumber\": \"1\",\r\n \"region\"\ - : \"eastasia\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n\ - \ \"FW\"\r\n ],\r\n \"systemService\": \"Dynamics365ForMarketingEmail\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.75.35.0/24\"\r\n \ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"Dynamics365ForMarketingEmail.FranceCentral\"\ - ,\r\n \"id\": \"Dynamics365ForMarketingEmail.FranceCentral\",\r\n \ - \ \"properties\": {\r\n \"changeNumber\": \"1\",\r\n \"region\"\ - : \"centralfrance\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n\ - \ \"FW\"\r\n ],\r\n \"systemService\": \"Dynamics365ForMarketingEmail\"\ - ,\r\n \"addressPrefixes\": [\r\n \"40.79.138.192/26\"\r\n\ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"Dynamics365ForMarketingEmail.JapanEast\"\ - ,\r\n \"id\": \"Dynamics365ForMarketingEmail.JapanEast\",\r\n \"\ - properties\": {\r\n \"changeNumber\": \"1\",\r\n \"region\"\ - : \"japaneast\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n\ - \ \"FW\"\r\n ],\r\n \"systemService\": \"Dynamics365ForMarketingEmail\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.78.107.0/24\"\r\n \ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"Dynamics365ForMarketingEmail.NorthEurope\"\ - ,\r\n \"id\": \"Dynamics365ForMarketingEmail.NorthEurope\",\r\n \ - \ \"properties\": {\r\n \"changeNumber\": \"1\",\r\n \"region\"\ - : \"northeurope\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n\ - \ \"FW\"\r\n ],\r\n \"systemService\": \"Dynamics365ForMarketingEmail\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.69.226.128/25\",\r\n\ - \ \"13.74.106.128/25\"\r\n ]\r\n }\r\n },\r\n {\r\ - \n \"name\": \"Dynamics365ForMarketingEmail.SouthAfricaNorth\",\r\n \ - \ \"id\": \"Dynamics365ForMarketingEmail.SouthAfricaNorth\",\r\n \ - \ \"properties\": {\r\n \"changeNumber\": \"1\",\r\n \"region\"\ - : \"southafricanorth\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n\ - \ \"FW\"\r\n ],\r\n \"systemService\": \"Dynamics365ForMarketingEmail\"\ - ,\r\n \"addressPrefixes\": [\r\n \"102.133.251.96/27\"\r\n\ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"Dynamics365ForMarketingEmail.UAENorth\"\ - ,\r\n \"id\": \"Dynamics365ForMarketingEmail.UAENorth\",\r\n \"\ - properties\": {\r\n \"changeNumber\": \"1\",\r\n \"region\"\ - : \"uaenorth\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n\ - \ \"FW\"\r\n ],\r\n \"systemService\": \"Dynamics365ForMarketingEmail\"\ - ,\r\n \"addressPrefixes\": [\r\n \"65.52.252.128/27\"\r\n\ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"Dynamics365ForMarketingEmail.UKSouth\"\ - ,\r\n \"id\": \"Dynamics365ForMarketingEmail.UKSouth\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"1\",\r\n \"region\": \"uksouth\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"Dynamics365ForMarketingEmail\"\ - ,\r\n \"addressPrefixes\": [\r\n \"51.140.147.0/24\"\r\n \ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"Dynamics365ForMarketingEmail.WestUS2\"\ - ,\r\n \"id\": \"Dynamics365ForMarketingEmail.WestUS2\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"1\",\r\n \"region\": \"westus2\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"Dynamics365ForMarketingEmail\",\r\n \"addressPrefixes\": [\r\n\ - \ \"13.66.138.128/25\",\r\n \"40.78.242.0/25\"\r\n \ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"EventHub\",\r\n \ - \ \"id\": \"EventHub\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"3\",\r\n \"region\": \"\",\r\n \"state\": \"GA\",\r\n \ - \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\ - \n \"UDR\",\r\n \"FW\",\r\n \"VSE\"\r\n \ - \ ],\r\n \"systemService\": \"AzureEventHub\",\r\n \"addressPrefixes\"\ - : [\r\n \"13.64.195.117/32\",\r\n \"13.65.209.24/32\",\r\ - \n \"13.66.138.64/28\",\r\n \"13.66.145.128/26\",\r\n \ - \ \"13.66.149.0/26\",\r\n \"13.66.228.204/32\",\r\n \ - \ \"13.66.230.42/32\",\r\n \"13.67.8.64/27\",\r\n \"\ - 13.67.20.64/26\",\r\n \"13.68.20.101/32\",\r\n \"13.68.21.169/32\"\ - ,\r\n \"13.68.77.215/32\",\r\n \"13.69.64.0/26\",\r\n \ - \ \"13.69.106.0/26\",\r\n \"13.69.111.128/26\",\r\n \ - \ \"13.69.227.0/26\",\r\n \"13.69.239.0/26\",\r\n \"\ - 13.69.253.135/32\",\r\n \"13.69.255.140/32\",\r\n \"13.70.72.0/28\"\ - ,\r\n \"13.70.79.16/28\",\r\n \"13.70.114.64/26\",\r\n \ - \ \"13.71.30.214/32\",\r\n \"13.71.123.78/32\",\r\n \ - \ \"13.71.154.11/32\",\r\n \"13.71.170.16/28\",\r\n \ - \ \"13.71.177.128/26\",\r\n \"13.71.194.64/27\",\r\n \"\ - 13.72.254.134/32\",\r\n \"13.74.107.0/26\",\r\n \"13.75.34.64/26\"\ - ,\r\n \"13.76.179.223/32\",\r\n \"13.76.216.217/32\",\r\n\ - \ \"13.77.50.32/27\",\r\n \"13.78.106.64/28\",\r\n \ - \ \"13.78.149.209/32\",\r\n \"13.78.150.233/32\",\r\n \ - \ \"13.78.191.44/32\",\r\n \"13.84.145.196/32\",\r\n \"\ - 13.87.34.139/32\",\r\n \"13.87.34.243/32\",\r\n \"13.87.56.32/27\"\ - ,\r\n \"13.87.102.63/32\",\r\n \"13.87.102.68/32\",\r\n\ - \ \"13.87.122.32/27\",\r\n \"13.88.20.117/32\",\r\n \ - \ \"13.88.26.28/32\",\r\n \"13.89.58.37/32\",\r\n \"\ - 13.89.59.231/32\",\r\n \"13.89.170.128/26\",\r\n \"13.89.178.112/28\"\ - ,\r\n \"13.90.83.7/32\",\r\n \"13.90.208.184/32\",\r\n \ - \ \"13.91.61.11/32\",\r\n \"13.92.124.151/32\",\r\n \ - \ \"13.92.180.208/32\",\r\n \"13.92.190.184/32\",\r\n \ - \ \"13.93.226.138/32\",\r\n \"13.94.47.61/32\",\r\n \"\ - 20.36.46.142/32\",\r\n \"20.36.74.130/32\",\r\n \"20.36.106.192/27\"\ - ,\r\n \"20.36.114.32/27\",\r\n \"20.36.144.64/26\",\r\n\ - \ \"20.37.74.0/27\",\r\n \"20.38.146.64/26\",\r\n \ - \ \"20.42.68.64/26\",\r\n \"20.42.74.0/26\",\r\n \"20.42.131.16/28\"\ - ,\r\n \"20.42.131.64/26\",\r\n \"20.43.126.64/26\",\r\n\ - \ \"20.44.2.128/26\",\r\n \"20.44.13.64/26\",\r\n \ - \ \"20.44.26.64/26\",\r\n \"20.44.31.128/26\",\r\n \"\ - 20.45.122.64/26\",\r\n \"20.45.126.192/26\",\r\n \"20.47.216.64/26\"\ - ,\r\n \"20.49.93.64/27\",\r\n \"20.49.93.128/27\",\r\n \ - \ \"20.49.95.128/26\",\r\n \"20.50.72.64/26\",\r\n \ - \ \"20.50.80.64/26\",\r\n \"20.50.201.64/26\",\r\n \"\ - 20.52.64.128/26\",\r\n \"20.72.27.192/26\",\r\n \"20.83.192.0/26\"\ - ,\r\n \"20.89.0.64/26\",\r\n \"20.150.160.224/27\",\r\n\ - \ \"20.150.170.160/27\",\r\n \"20.150.175.64/26\",\r\n \ - \ \"20.150.178.64/26\",\r\n \"20.150.182.0/27\",\r\n \ - \ \"20.150.186.64/26\",\r\n \"20.150.189.128/26\",\r\n \ - \ \"20.151.32.64/26\",\r\n \"20.192.33.64/26\",\r\n \ - \ \"20.192.98.64/26\",\r\n \"20.192.102.0/26\",\r\n \"20.192.161.64/27\"\ - ,\r\n \"20.192.225.160/27\",\r\n \"20.192.234.32/27\",\r\ - \n \"20.193.202.32/27\",\r\n \"20.193.204.192/26\",\r\n\ - \ \"20.194.80.0/26\",\r\n \"20.194.128.192/26\",\r\n \ - \ \"20.195.137.192/26\",\r\n \"20.195.152.64/26\",\r\n \ - \ \"23.96.214.181/32\",\r\n \"23.96.253.236/32\",\r\n \ - \ \"23.97.67.90/32\",\r\n \"23.97.97.36/32\",\r\n \"\ - 23.97.103.3/32\",\r\n \"23.97.120.51/32\",\r\n \"23.97.226.21/32\"\ - ,\r\n \"23.98.64.92/32\",\r\n \"23.98.65.24/32\",\r\n \ - \ \"23.98.82.64/27\",\r\n \"23.98.87.192/26\",\r\n \ - \ \"23.98.112.192/26\",\r\n \"23.99.7.105/32\",\r\n \"\ - 23.99.54.235/32\",\r\n \"23.99.60.253/32\",\r\n \"23.99.80.186/32\"\ - ,\r\n \"23.99.118.48/32\",\r\n \"23.99.128.69/32\",\r\n\ - \ \"23.99.129.170/32\",\r\n \"23.99.192.254/32\",\r\n \ - \ \"23.99.196.56/32\",\r\n \"23.99.228.174/32\",\r\n \ - \ \"23.100.14.185/32\",\r\n \"23.100.100.84/32\",\r\n \ - \ \"23.101.3.68/32\",\r\n \"23.101.8.229/32\",\r\n \"\ - 23.102.0.186/32\",\r\n \"23.102.0.239/32\",\r\n \"23.102.53.113/32\"\ - ,\r\n \"23.102.128.15/32\",\r\n \"23.102.160.39/32\",\r\n\ - \ \"23.102.161.227/32\",\r\n \"23.102.163.4/32\",\r\n \ - \ \"23.102.165.127/32\",\r\n \"23.102.167.73/32\",\r\n \ - \ \"23.102.180.26/32\",\r\n \"23.102.234.49/32\",\r\n \ - \ \"40.64.113.64/26\",\r\n \"40.67.58.128/26\",\r\n \ - \ \"40.67.72.64/26\",\r\n \"40.68.35.230/32\",\r\n \"40.68.39.15/32\"\ - ,\r\n \"40.68.93.145/32\",\r\n \"40.68.205.113/32\",\r\n\ - \ \"40.68.217.242/32\",\r\n \"40.69.29.216/32\",\r\n \ - \ \"40.69.106.32/27\",\r\n \"40.69.217.246/32\",\r\n \ - \ \"40.70.78.154/32\",\r\n \"40.70.146.0/26\",\r\n \"\ - 40.71.10.128/26\",\r\n \"40.71.100.98/32\",\r\n \"40.74.100.0/27\"\ - ,\r\n \"40.74.141.187/32\",\r\n \"40.74.146.16/28\",\r\n\ - \ \"40.74.151.0/26\",\r\n \"40.75.34.0/28\",\r\n \ - \ \"40.76.29.197/32\",\r\n \"40.76.40.11/32\",\r\n \"\ - 40.76.194.119/32\",\r\n \"40.78.110.196/32\",\r\n \"40.78.194.32/27\"\ - ,\r\n \"40.78.202.32/27\",\r\n \"40.78.226.128/26\",\r\n\ - \ \"40.78.234.0/27\",\r\n \"40.78.242.128/28\",\r\n \ - \ \"40.78.247.0/26\",\r\n \"40.78.250.64/28\",\r\n \ - \ \"40.78.253.128/26\",\r\n \"40.79.44.59/32\",\r\n \"40.79.74.86/32\"\ - ,\r\n \"40.79.130.16/28\",\r\n \"40.79.138.0/28\",\r\n \ - \ \"40.79.142.0/26\",\r\n \"40.79.146.0/28\",\r\n \ - \ \"40.79.149.64/26\",\r\n \"40.79.155.0/26\",\r\n \"\ - 40.79.162.0/28\",\r\n \"40.79.166.192/26\",\r\n \"40.79.170.32/28\"\ - ,\r\n \"40.79.174.128/26\",\r\n \"40.79.178.32/27\",\r\n\ - \ \"40.79.186.32/27\",\r\n \"40.79.194.192/26\",\r\n \ - \ \"40.80.50.64/26\",\r\n \"40.83.191.202/32\",\r\n \ - \ \"40.83.222.100/32\",\r\n \"40.84.150.241/32\",\r\n \ - \ \"40.84.185.67/32\",\r\n \"40.85.226.62/32\",\r\n \"40.85.229.32/32\"\ - ,\r\n \"40.86.77.12/32\",\r\n \"40.86.102.100/32\",\r\n\ - \ \"40.86.176.23/32\",\r\n \"40.86.225.142/32\",\r\n \ - \ \"40.86.230.119/32\",\r\n \"40.89.122.0/26\",\r\n \ - \ \"40.112.185.115/32\",\r\n \"40.112.213.11/32\",\r\n \ - \ \"40.112.242.0/25\",\r\n \"40.115.79.2/32\",\r\n \"40.117.88.66/32\"\ - ,\r\n \"40.120.75.64/27\",\r\n \"40.120.78.0/26\",\r\n \ - \ \"40.121.84.50/32\",\r\n \"40.121.141.232/32\",\r\n \ - \ \"40.121.148.193/32\",\r\n \"40.122.173.108/32\",\r\n \ - \ \"40.122.213.155/32\",\r\n \"40.124.65.64/26\",\r\n \ - \ \"40.127.83.123/32\",\r\n \"40.127.132.254/32\",\r\n \ - \ \"51.11.192.128/26\",\r\n \"51.12.98.160/27\",\r\n \ - \ \"51.12.102.64/26\",\r\n \"51.12.202.160/27\",\r\n \"\ - 51.12.206.64/26\",\r\n \"51.12.226.64/26\",\r\n \"51.12.234.64/26\"\ - ,\r\n \"51.13.0.192/26\",\r\n \"51.105.66.64/26\",\r\n \ - \ \"51.105.71.0/26\",\r\n \"51.105.74.64/26\",\r\n \ - \ \"51.107.58.128/27\",\r\n \"51.107.129.0/26\",\r\n \ - \ \"51.107.154.128/27\",\r\n \"51.116.58.128/27\",\r\n \"\ - 51.116.154.192/27\",\r\n \"51.116.242.64/26\",\r\n \"51.116.245.192/27\"\ - ,\r\n \"51.116.246.192/26\",\r\n \"51.116.250.64/26\",\r\ - \n \"51.116.254.0/26\",\r\n \"51.120.98.128/27\",\r\n \ - \ \"51.120.106.64/26\",\r\n \"51.120.210.64/26\",\r\n \ - \ \"51.120.218.160/27\",\r\n \"51.132.192.192/26\",\r\n \ - \ \"51.140.80.99/32\",\r\n \"51.140.87.93/32\",\r\n \ - \ \"51.140.125.8/32\",\r\n \"51.140.146.32/28\",\r\n \"\ - 51.140.149.192/26\",\r\n \"51.140.189.52/32\",\r\n \"51.140.189.108/32\"\ - ,\r\n \"51.140.210.32/27\",\r\n \"51.141.14.113/32\",\r\n\ - \ \"51.141.14.168/32\",\r\n \"51.141.50.179/32\",\r\n \ - \ \"51.144.238.23/32\",\r\n \"52.136.136.62/32\",\r\n \ - \ \"52.138.90.0/28\",\r\n \"52.138.147.148/32\",\r\n \ - \ \"52.138.226.0/26\",\r\n \"52.143.136.55/32\",\r\n \"\ - 52.151.58.121/32\",\r\n \"52.161.19.160/32\",\r\n \"52.161.24.64/32\"\ - ,\r\n \"52.162.106.64/26\",\r\n \"52.165.34.144/32\",\r\n\ - \ \"52.165.179.109/32\",\r\n \"52.165.235.119/32\",\r\n\ - \ \"52.165.237.8/32\",\r\n \"52.167.106.0/26\",\r\n \ - \ \"52.167.109.192/26\",\r\n \"52.167.145.0/26\",\r\n \ - \ \"52.168.14.144/32\",\r\n \"52.168.66.180/32\",\r\n \ - \ \"52.168.117.0/26\",\r\n \"52.168.146.69/32\",\r\n \"\ - 52.168.147.11/32\",\r\n \"52.169.18.8/32\",\r\n \"52.172.221.245/32\"\ - ,\r\n \"52.172.223.211/32\",\r\n \"52.173.199.106/32\",\r\ - \n \"52.174.243.57/32\",\r\n \"52.175.35.235/32\",\r\n \ - \ \"52.176.47.198/32\",\r\n \"52.178.17.128/26\",\r\n \ - \ \"52.178.78.61/32\",\r\n \"52.178.211.227/32\",\r\n \ - \ \"52.179.6.240/32\",\r\n \"52.179.8.35/32\",\r\n \"\ - 52.179.157.59/32\",\r\n \"52.180.180.228/32\",\r\n \"52.180.182.75/32\"\ - ,\r\n \"52.182.138.128/26\",\r\n \"52.182.143.64/26\",\r\ - \n \"52.183.46.73/32\",\r\n \"52.183.86.102/32\",\r\n \ - \ \"52.187.2.226/32\",\r\n \"52.187.59.188/32\",\r\n \ - \ \"52.187.61.82/32\",\r\n \"52.187.185.159/32\",\r\n \ - \ \"52.191.213.188/32\",\r\n \"52.225.184.224/32\",\r\n \ - \ \"52.225.186.130/32\",\r\n \"52.226.36.235/32\",\r\n \ - \ \"52.231.18.16/28\",\r\n \"52.231.29.105/32\",\r\n \"\ - 52.231.32.85/32\",\r\n \"52.231.32.94/32\",\r\n \"52.231.146.32/27\"\ - ,\r\n \"52.231.200.144/32\",\r\n \"52.231.200.153/32\",\r\ - \n \"52.231.207.155/32\",\r\n \"52.232.27.189/32\",\r\n\ - \ \"52.233.30.41/32\",\r\n \"52.233.190.35/32\",\r\n \ - \ \"52.233.192.247/32\",\r\n \"52.236.186.0/26\",\r\n \ - \ \"52.237.33.36/32\",\r\n \"52.237.33.104/32\",\r\n \ - \ \"52.237.143.176/32\",\r\n \"52.242.20.204/32\",\r\n \ - \ \"52.243.36.161/32\",\r\n \"52.246.154.64/26\",\r\n \"\ - 52.246.159.0/26\",\r\n \"65.52.129.16/32\",\r\n \"65.52.250.32/27\"\ - ,\r\n \"102.37.65.0/26\",\r\n \"102.37.72.64/26\",\r\n \ - \ \"102.133.26.128/26\",\r\n \"102.133.122.64/26\",\r\n \ - \ \"102.133.127.0/26\",\r\n \"102.133.154.128/26\",\r\n \ - \ \"102.133.250.64/26\",\r\n \"102.133.254.0/26\",\r\n \ - \ \"104.40.26.199/32\",\r\n \"104.40.29.113/32\",\r\n \ - \ \"104.40.68.250/32\",\r\n \"104.40.69.64/32\",\r\n \ - \ \"104.40.150.139/32\",\r\n \"104.40.179.185/32\",\r\n \ - \ \"104.40.216.174/32\",\r\n \"104.41.63.213/32\",\r\n \ - \ \"104.41.201.10/32\",\r\n \"104.42.97.95/32\",\r\n \"\ - 104.43.18.219/32\",\r\n \"104.43.168.200/32\",\r\n \"104.43.192.43/32\"\ - ,\r\n \"104.43.192.222/32\",\r\n \"104.44.129.14/32\",\r\ - \n \"104.44.129.59/32\",\r\n \"104.45.135.34/32\",\r\n \ - \ \"104.45.147.24/32\",\r\n \"104.46.32.56/32\",\r\n \ - \ \"104.46.32.58/32\",\r\n \"104.46.98.9/32\",\r\n \ - \ \"104.46.98.73/32\",\r\n \"104.46.99.176/32\",\r\n \"\ - 104.208.16.0/26\",\r\n \"104.208.144.0/26\",\r\n \"104.208.237.147/32\"\ - ,\r\n \"104.209.186.70/32\",\r\n \"104.210.14.49/32\",\r\ - \n \"104.210.106.31/32\",\r\n \"104.210.146.250/32\",\r\n\ - \ \"104.211.81.0/28\",\r\n \"104.211.98.185/32\",\r\n \ - \ \"104.211.102.58/32\",\r\n \"104.211.146.32/27\",\r\n \ - \ \"104.211.160.121/32\",\r\n \"104.211.160.144/32\",\r\n\ - \ \"104.211.224.190/32\",\r\n \"104.211.224.238/32\",\r\n\ - \ \"104.214.18.128/27\",\r\n \"104.214.70.229/32\",\r\n\ - \ \"137.116.48.46/32\",\r\n \"137.116.77.157/32\",\r\n \ - \ \"137.116.91.178/32\",\r\n \"137.116.157.26/32\",\r\n \ - \ \"137.116.158.30/32\",\r\n \"137.117.85.236/32\",\r\n \ - \ \"137.117.89.253/32\",\r\n \"137.117.91.152/32\",\r\n \ - \ \"137.135.102.226/32\",\r\n \"138.91.1.105/32\",\r\n \ - \ \"138.91.17.38/32\",\r\n \"138.91.17.85/32\",\r\n \ - \ \"138.91.193.184/32\",\r\n \"168.61.92.197/32\",\r\n \ - \ \"168.61.148.205/32\",\r\n \"168.62.52.235/32\",\r\n \ - \ \"168.62.234.250/32\",\r\n \"168.62.237.3/32\",\r\n \"\ - 168.62.249.226/32\",\r\n \"168.63.141.27/32\",\r\n \"191.233.9.64/27\"\ - ,\r\n \"191.233.73.228/32\",\r\n \"191.233.203.0/28\",\r\ - \n \"191.234.146.64/26\",\r\n \"191.234.150.192/26\",\r\n\ - \ \"191.234.154.64/26\",\r\n \"191.236.32.73/32\",\r\n \ - \ \"191.236.32.191/32\",\r\n \"191.236.35.225/32\",\r\n \ - \ \"191.236.128.253/32\",\r\n \"191.236.129.107/32\",\r\n\ - \ \"191.237.47.93/32\",\r\n \"191.237.129.158/32\",\r\n\ - \ \"191.237.224.0/26\",\r\n \"191.238.99.131/32\",\r\n \ - \ \"191.238.160.221/32\",\r\n \"191.239.64.142/32\",\r\n\ - \ \"191.239.64.144/32\",\r\n \"191.239.160.45/32\",\r\n\ - \ \"191.239.160.178/32\",\r\n \"207.46.153.127/32\",\r\n\ - \ \"207.46.154.16/32\",\r\n \"207.46.227.14/32\",\r\n \ - \ \"2603:1000:4::240/122\",\r\n \"2603:1000:4:402::1c0/123\"\ - ,\r\n \"2603:1000:104:1::240/122\",\r\n \"2603:1000:104:402::1c0/123\"\ - ,\r\n \"2603:1000:104:802::160/123\",\r\n \"2603:1000:104:c02::160/123\"\ - ,\r\n \"2603:1010:6:1::240/122\",\r\n \"2603:1010:6:402::1c0/123\"\ - ,\r\n \"2603:1010:6:802::160/123\",\r\n \"2603:1010:6:c02::160/123\"\ - ,\r\n \"2603:1010:101::240/122\",\r\n \"2603:1010:101:402::1c0/123\"\ - ,\r\n \"2603:1010:304::240/122\",\r\n \"2603:1010:304:402::1c0/123\"\ - ,\r\n \"2603:1010:404::240/122\",\r\n \"2603:1010:404:402::1c0/123\"\ - ,\r\n \"2603:1020:5:1::240/122\",\r\n \"2603:1020:5:402::1c0/123\"\ - ,\r\n \"2603:1020:5:802::160/123\",\r\n \"2603:1020:5:c02::160/123\"\ - ,\r\n \"2603:1020:206:1::240/122\",\r\n \"2603:1020:206:402::1c0/123\"\ - ,\r\n \"2603:1020:206:802::160/123\",\r\n \"2603:1020:206:c02::160/123\"\ - ,\r\n \"2603:1020:305::240/122\",\r\n \"2603:1020:305:402::1c0/123\"\ - ,\r\n \"2603:1020:405::240/122\",\r\n \"2603:1020:405:402::1c0/123\"\ - ,\r\n \"2603:1020:605::240/122\",\r\n \"2603:1020:605:402::1c0/123\"\ - ,\r\n \"2603:1020:705:1::240/122\",\r\n \"2603:1020:705:402::1c0/123\"\ - ,\r\n \"2603:1020:705:802::160/123\",\r\n \"2603:1020:705:c02::160/123\"\ - ,\r\n \"2603:1020:805:1::240/122\",\r\n \"2603:1020:805:402::1c0/123\"\ - ,\r\n \"2603:1020:805:802::160/123\",\r\n \"2603:1020:805:c02::160/123\"\ - ,\r\n \"2603:1020:905::240/122\",\r\n \"2603:1020:905:402::1c0/123\"\ - ,\r\n \"2603:1020:a04:1::240/122\",\r\n \"2603:1020:a04:402::1c0/123\"\ - ,\r\n \"2603:1020:a04:802::160/123\",\r\n \"2603:1020:a04:c02::160/123\"\ - ,\r\n \"2603:1020:b04::240/122\",\r\n \"2603:1020:b04:402::1c0/123\"\ - ,\r\n \"2603:1020:c04:1::240/122\",\r\n \"2603:1020:c04:402::1c0/123\"\ - ,\r\n \"2603:1020:c04:802::160/123\",\r\n \"2603:1020:c04:c02::160/123\"\ - ,\r\n \"2603:1020:d04::240/122\",\r\n \"2603:1020:d04:402::1c0/123\"\ - ,\r\n \"2603:1020:e04:1::240/122\",\r\n \"2603:1020:e04:402::1c0/123\"\ - ,\r\n \"2603:1020:e04:802::160/123\",\r\n \"2603:1020:e04:c02::160/123\"\ - ,\r\n \"2603:1020:f04::240/122\",\r\n \"2603:1020:f04:402::1c0/123\"\ - ,\r\n \"2603:1020:1004::240/122\",\r\n \"2603:1020:1004:400::2c0/123\"\ - ,\r\n \"2603:1020:1004:c02::c0/123\",\r\n \"2603:1020:1104:400::1c0/123\"\ - ,\r\n \"2603:1030:f:1::240/122\",\r\n \"2603:1030:f:400::9c0/123\"\ - ,\r\n \"2603:1030:10:1::240/122\",\r\n \"2603:1030:10:402::1c0/123\"\ - ,\r\n \"2603:1030:10:802::160/123\",\r\n \"2603:1030:10:c02::160/123\"\ - ,\r\n \"2603:1030:104:1::240/122\",\r\n \"2603:1030:104:402::1c0/123\"\ - ,\r\n \"2603:1030:107:400::140/123\",\r\n \"2603:1030:210:1::240/122\"\ - ,\r\n \"2603:1030:210:402::1c0/123\",\r\n \"2603:1030:210:802::160/123\"\ - ,\r\n \"2603:1030:210:c02::160/123\",\r\n \"2603:1030:40b:1::240/122\"\ - ,\r\n \"2603:1030:40b:400::9c0/123\",\r\n \"2603:1030:40b:800::160/123\"\ - ,\r\n \"2603:1030:40b:c00::160/123\",\r\n \"2603:1030:40c:1::240/122\"\ - ,\r\n \"2603:1030:40c:402::1c0/123\",\r\n \"2603:1030:40c:802::160/123\"\ - ,\r\n \"2603:1030:40c:c02::160/123\",\r\n \"2603:1030:504:1::240/122\"\ - ,\r\n \"2603:1030:504:402::2c0/123\",\r\n \"2603:1030:504:802::240/123\"\ - ,\r\n \"2603:1030:504:c02::c0/123\",\r\n \"2603:1030:608::240/122\"\ - ,\r\n \"2603:1030:608:402::1c0/123\",\r\n \"2603:1030:807:1::240/122\"\ - ,\r\n \"2603:1030:807:402::1c0/123\",\r\n \"2603:1030:807:802::160/123\"\ - ,\r\n \"2603:1030:807:c02::160/123\",\r\n \"2603:1030:a07::240/122\"\ - ,\r\n \"2603:1030:a07:402::140/123\",\r\n \"2603:1030:b04::240/122\"\ - ,\r\n \"2603:1030:b04:402::1c0/123\",\r\n \"2603:1030:c06:1::240/122\"\ - ,\r\n \"2603:1030:c06:400::9c0/123\",\r\n \"2603:1030:c06:802::160/123\"\ - ,\r\n \"2603:1030:c06:c02::160/123\",\r\n \"2603:1030:f05:1::240/122\"\ - ,\r\n \"2603:1030:f05:402::1c0/123\",\r\n \"2603:1030:f05:802::160/123\"\ - ,\r\n \"2603:1030:f05:c02::160/123\",\r\n \"2603:1030:1005::240/122\"\ - ,\r\n \"2603:1030:1005:402::1c0/123\",\r\n \"2603:1040:5:1::240/122\"\ - ,\r\n \"2603:1040:5:402::1c0/123\",\r\n \"2603:1040:5:802::160/123\"\ - ,\r\n \"2603:1040:5:c02::160/123\",\r\n \"2603:1040:207::240/122\"\ - ,\r\n \"2603:1040:207:402::1c0/123\",\r\n \"2603:1040:407:1::240/122\"\ - ,\r\n \"2603:1040:407:402::1c0/123\",\r\n \"2603:1040:407:802::160/123\"\ - ,\r\n \"2603:1040:407:c02::160/123\",\r\n \"2603:1040:606::240/122\"\ - ,\r\n \"2603:1040:606:402::1c0/123\",\r\n \"2603:1040:806::240/122\"\ - ,\r\n \"2603:1040:806:402::1c0/123\",\r\n \"2603:1040:904:1::240/122\"\ - ,\r\n \"2603:1040:904:402::1c0/123\",\r\n \"2603:1040:904:802::160/123\"\ - ,\r\n \"2603:1040:904:c02::160/123\",\r\n \"2603:1040:a06:1::240/122\"\ - ,\r\n \"2603:1040:a06:402::1c0/123\",\r\n \"2603:1040:a06:802::160/123\"\ - ,\r\n \"2603:1040:a06:c02::160/123\",\r\n \"2603:1040:b04::240/122\"\ - ,\r\n \"2603:1040:b04:402::1c0/123\",\r\n \"2603:1040:c06::240/122\"\ - ,\r\n \"2603:1040:c06:402::1c0/123\",\r\n \"2603:1040:d04::240/122\"\ - ,\r\n \"2603:1040:d04:400::2c0/123\",\r\n \"2603:1040:d04:c02::c0/123\"\ - ,\r\n \"2603:1040:f05:1::240/122\",\r\n \"2603:1040:f05:402::1c0/123\"\ - ,\r\n \"2603:1040:f05:802::160/123\",\r\n \"2603:1040:f05:c02::160/123\"\ - ,\r\n \"2603:1040:1104:400::1c0/123\",\r\n \"2603:1050:6:1::240/122\"\ - ,\r\n \"2603:1050:6:402::1c0/123\",\r\n \"2603:1050:6:802::160/123\"\ - ,\r\n \"2603:1050:6:c02::160/123\",\r\n \"2603:1050:403::240/122\"\ - ,\r\n \"2603:1050:403:400::1c0/123\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"EventHub.AustraliaCentral\",\r\n \ - \ \"id\": \"EventHub.AustraliaCentral\",\r\n \"properties\": {\r\n\ - \ \"changeNumber\": \"2\",\r\n \"region\": \"australiacentral\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureEventHub\",\r\n \ - \ \"addressPrefixes\": [\r\n \"20.36.46.142/32\",\r\n \ - \ \"20.36.106.192/27\",\r\n \"2603:1010:304::240/122\",\r\n \ - \ \"2603:1010:304:402::1c0/123\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"EventHub.AustraliaCentral2\",\r\n \"id\"\ - : \"EventHub.AustraliaCentral2\",\r\n \"properties\": {\r\n \"\ - changeNumber\": \"2\",\r\n \"region\": \"australiacentral2\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"AzureEventHub\",\r\n \ - \ \"addressPrefixes\": [\r\n \"20.36.74.130/32\",\r\n \"\ - 20.36.114.32/27\",\r\n \"2603:1010:404::240/122\",\r\n \"\ - 2603:1010:404:402::1c0/123\"\r\n ]\r\n }\r\n },\r\n {\r\n\ - \ \"name\": \"EventHub.AustraliaEast\",\r\n \"id\": \"EventHub.AustraliaEast\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n \ - \ \"region\": \"australiaeast\",\r\n \"state\": \"GA\",\r\n \ - \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n\ - \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\"\ - : \"AzureEventHub\",\r\n \"addressPrefixes\": [\r\n \"13.70.72.0/28\"\ - ,\r\n \"13.70.79.16/28\",\r\n \"13.70.114.64/26\",\r\n \ - \ \"13.72.254.134/32\",\r\n \"40.79.162.0/28\",\r\n \ - \ \"40.79.166.192/26\",\r\n \"40.79.170.32/28\",\r\n \ - \ \"40.79.174.128/26\",\r\n \"104.210.106.31/32\",\r\n \ - \ \"191.239.64.142/32\",\r\n \"191.239.64.144/32\",\r\n \ - \ \"2603:1010:6:1::240/122\",\r\n \"2603:1010:6:402::1c0/123\",\r\ - \n \"2603:1010:6:802::160/123\",\r\n \"2603:1010:6:c02::160/123\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"EventHub.AustraliaSoutheast\"\ - ,\r\n \"id\": \"EventHub.AustraliaSoutheast\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"australiasoutheast\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureEventHub\",\r\n \ - \ \"addressPrefixes\": [\r\n \"13.77.50.32/27\",\r\n \ - \ \"40.115.79.2/32\",\r\n \"40.127.83.123/32\",\r\n \"\ - 191.239.160.45/32\",\r\n \"191.239.160.178/32\",\r\n \"\ - 2603:1010:101::240/122\",\r\n \"2603:1010:101:402::1c0/123\"\r\n\ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"EventHub.BrazilSouth\"\ - ,\r\n \"id\": \"EventHub.BrazilSouth\",\r\n \"properties\": {\r\n\ - \ \"changeNumber\": \"3\",\r\n \"region\": \"brazilsouth\",\r\ - \n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"AzureEventHub\",\r\n \ - \ \"addressPrefixes\": [\r\n \"20.195.137.192/26\",\r\n \ - \ \"20.195.152.64/26\",\r\n \"23.97.97.36/32\",\r\n \"\ - 23.97.103.3/32\",\r\n \"104.41.63.213/32\",\r\n \"191.233.203.0/28\"\ - ,\r\n \"191.234.146.64/26\",\r\n \"191.234.150.192/26\"\ - ,\r\n \"191.234.154.64/26\",\r\n \"2603:1050:6:1::240/122\"\ - ,\r\n \"2603:1050:6:402::1c0/123\",\r\n \"2603:1050:6:802::160/123\"\ - ,\r\n \"2603:1050:6:c02::160/123\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"EventHub.CanadaCentral\",\r\n \"\ - id\": \"EventHub.CanadaCentral\",\r\n \"properties\": {\r\n \"\ - changeNumber\": \"3\",\r\n \"region\": \"canadacentral\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"API\"\ - ,\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n \ - \ ],\r\n \"systemService\": \"AzureEventHub\",\r\n \"addressPrefixes\"\ - : [\r\n \"13.71.170.16/28\",\r\n \"13.71.177.128/26\",\r\ - \n \"20.38.146.64/26\",\r\n \"20.151.32.64/26\",\r\n \ - \ \"40.85.226.62/32\",\r\n \"40.85.229.32/32\",\r\n \ - \ \"52.233.30.41/32\",\r\n \"52.237.33.36/32\",\r\n \"\ - 52.237.33.104/32\",\r\n \"52.246.154.64/26\",\r\n \"52.246.159.0/26\"\ - ,\r\n \"2603:1030:f05:1::240/122\",\r\n \"2603:1030:f05:402::1c0/123\"\ - ,\r\n \"2603:1030:f05:802::160/123\",\r\n \"2603:1030:f05:c02::160/123\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"EventHub.CanadaEast\"\ - ,\r\n \"id\": \"EventHub.CanadaEast\",\r\n \"properties\": {\r\n\ - \ \"changeNumber\": \"2\",\r\n \"region\": \"canadaeast\",\r\ - \n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"AzureEventHub\",\r\n \ - \ \"addressPrefixes\": [\r\n \"40.69.106.32/27\",\r\n \"\ - 40.86.225.142/32\",\r\n \"40.86.230.119/32\",\r\n \"52.242.20.204/32\"\ - ,\r\n \"2603:1030:1005::240/122\",\r\n \"2603:1030:1005:402::1c0/123\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"EventHub.CentralIndia\"\ - ,\r\n \"id\": \"EventHub.CentralIndia\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"3\",\r\n \"region\": \"centralindia\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureEventHub\",\r\n \ - \ \"addressPrefixes\": [\r\n \"13.71.30.214/32\",\r\n \ - \ \"20.43.126.64/26\",\r\n \"20.192.98.64/26\",\r\n \"\ - 20.192.102.0/26\",\r\n \"40.80.50.64/26\",\r\n \"52.172.221.245/32\"\ - ,\r\n \"52.172.223.211/32\",\r\n \"104.211.81.0/28\",\r\n\ - \ \"104.211.98.185/32\",\r\n \"104.211.102.58/32\",\r\n\ - \ \"2603:1040:a06:1::240/122\",\r\n \"2603:1040:a06:402::1c0/123\"\ - ,\r\n \"2603:1040:a06:802::160/123\",\r\n \"2603:1040:a06:c02::160/123\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"EventHub.CentralUS\"\ - ,\r\n \"id\": \"EventHub.CentralUS\",\r\n \"properties\": {\r\n\ - \ \"changeNumber\": \"3\",\r\n \"region\": \"centralus\",\r\n\ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"AzureEventHub\",\r\n \ - \ \"addressPrefixes\": [\r\n \"13.89.58.37/32\",\r\n \"\ - 13.89.59.231/32\",\r\n \"13.89.170.128/26\",\r\n \"13.89.178.112/28\"\ - ,\r\n \"20.44.13.64/26\",\r\n \"23.99.128.69/32\",\r\n \ - \ \"23.99.129.170/32\",\r\n \"23.99.192.254/32\",\r\n \ - \ \"23.99.196.56/32\",\r\n \"23.99.228.174/32\",\r\n \ - \ \"40.86.77.12/32\",\r\n \"40.86.102.100/32\",\r\n \"\ - 40.122.173.108/32\",\r\n \"40.122.213.155/32\",\r\n \"52.165.34.144/32\"\ - ,\r\n \"52.165.179.109/32\",\r\n \"52.165.235.119/32\",\r\ - \n \"52.165.237.8/32\",\r\n \"52.173.199.106/32\",\r\n \ - \ \"52.176.47.198/32\",\r\n \"52.182.138.128/26\",\r\n \ - \ \"52.182.143.64/26\",\r\n \"104.43.168.200/32\",\r\n \ - \ \"104.43.192.43/32\",\r\n \"104.43.192.222/32\",\r\n \ - \ \"104.208.16.0/26\",\r\n \"168.61.148.205/32\",\r\n \ - \ \"2603:1030:10:1::240/122\",\r\n \"2603:1030:10:402::1c0/123\"\ - ,\r\n \"2603:1030:10:802::160/123\",\r\n \"2603:1030:10:c02::160/123\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"EventHub.CentralUSEUAP\"\ - ,\r\n \"id\": \"EventHub.CentralUSEUAP\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"2\",\r\n \"region\": \"centraluseuap\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureEventHub\",\r\n \ - \ \"addressPrefixes\": [\r\n \"40.78.202.32/27\",\r\n \ - \ \"52.180.180.228/32\",\r\n \"52.180.182.75/32\",\r\n \ - \ \"2603:1030:f:1::240/122\",\r\n \"2603:1030:f:400::9c0/123\"\r\ - \n ]\r\n }\r\n },\r\n {\r\n \"name\": \"EventHub.EastAsia\"\ - ,\r\n \"id\": \"EventHub.EastAsia\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"2\",\r\n \"region\": \"eastasia\",\r\n\ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"AzureEventHub\",\r\n \ - \ \"addressPrefixes\": [\r\n \"13.75.34.64/26\",\r\n \"\ - 13.94.47.61/32\",\r\n \"23.97.67.90/32\",\r\n \"23.99.118.48/32\"\ - ,\r\n \"23.101.3.68/32\",\r\n \"23.101.8.229/32\",\r\n \ - \ \"23.102.234.49/32\",\r\n \"52.175.35.235/32\",\r\n \ - \ \"168.63.141.27/32\",\r\n \"207.46.153.127/32\",\r\n \ - \ \"207.46.154.16/32\",\r\n \"2603:1040:207::240/122\",\r\n\ - \ \"2603:1040:207:402::1c0/123\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"EventHub.EastUS\",\r\n \"id\": \"EventHub.EastUS\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n \ - \ \"region\": \"eastus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n\ - \ \"FW\"\r\n ],\r\n \"systemService\": \"AzureEventHub\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.90.83.7/32\",\r\n \ - \ \"13.90.208.184/32\",\r\n \"13.92.124.151/32\",\r\n \ - \ \"13.92.180.208/32\",\r\n \"13.92.190.184/32\",\r\n \ - \ \"20.42.68.64/26\",\r\n \"20.42.74.0/26\",\r\n \"40.71.10.128/26\"\ - ,\r\n \"40.71.100.98/32\",\r\n \"40.76.29.197/32\",\r\n\ - \ \"40.76.40.11/32\",\r\n \"40.76.194.119/32\",\r\n \ - \ \"40.78.226.128/26\",\r\n \"40.79.155.0/26\",\r\n \ - \ \"40.117.88.66/32\",\r\n \"40.121.84.50/32\",\r\n \"\ - 40.121.141.232/32\",\r\n \"40.121.148.193/32\",\r\n \"52.168.14.144/32\"\ - ,\r\n \"52.168.66.180/32\",\r\n \"52.168.117.0/26\",\r\n\ - \ \"52.168.146.69/32\",\r\n \"52.168.147.11/32\",\r\n \ - \ \"52.179.6.240/32\",\r\n \"52.179.8.35/32\",\r\n \ - \ \"52.191.213.188/32\",\r\n \"52.226.36.235/32\",\r\n \ - \ \"104.45.135.34/32\",\r\n \"104.45.147.24/32\",\r\n \"\ - 137.117.85.236/32\",\r\n \"137.117.89.253/32\",\r\n \"137.117.91.152/32\"\ - ,\r\n \"137.135.102.226/32\",\r\n \"168.62.52.235/32\",\r\ - \n \"191.236.32.73/32\",\r\n \"191.236.32.191/32\",\r\n\ - \ \"191.236.35.225/32\",\r\n \"191.237.47.93/32\",\r\n \ - \ \"2603:1030:210:1::240/122\",\r\n \"2603:1030:210:402::1c0/123\"\ - ,\r\n \"2603:1030:210:802::160/123\",\r\n \"2603:1030:210:c02::160/123\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"EventHub.EastUS2\"\ - ,\r\n \"id\": \"EventHub.EastUS2\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"3\",\r\n \"region\": \"eastus2\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"\ - API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n\ - \ ],\r\n \"systemService\": \"AzureEventHub\",\r\n \"\ - addressPrefixes\": [\r\n \"13.68.20.101/32\",\r\n \"13.68.21.169/32\"\ - ,\r\n \"13.68.77.215/32\",\r\n \"20.36.144.64/26\",\r\n\ - \ \"40.70.78.154/32\",\r\n \"40.70.146.0/26\",\r\n \ - \ \"40.79.44.59/32\",\r\n \"40.79.74.86/32\",\r\n \"\ - 52.167.106.0/26\",\r\n \"52.167.109.192/26\",\r\n \"52.167.145.0/26\"\ - ,\r\n \"52.179.157.59/32\",\r\n \"104.46.98.9/32\",\r\n\ - \ \"104.46.98.73/32\",\r\n \"104.46.99.176/32\",\r\n \ - \ \"104.208.144.0/26\",\r\n \"104.208.237.147/32\",\r\n \ - \ \"104.209.186.70/32\",\r\n \"104.210.14.49/32\",\r\n \ - \ \"137.116.48.46/32\",\r\n \"137.116.77.157/32\",\r\n \ - \ \"137.116.91.178/32\",\r\n \"191.237.129.158/32\",\r\n \ - \ \"2603:1030:40c:1::240/122\",\r\n \"2603:1030:40c:402::1c0/123\"\ - ,\r\n \"2603:1030:40c:802::160/123\",\r\n \"2603:1030:40c:c02::160/123\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"EventHub.EastUS2EUAP\"\ - ,\r\n \"id\": \"EventHub.EastUS2EUAP\",\r\n \"properties\": {\r\n\ - \ \"changeNumber\": \"3\",\r\n \"region\": \"eastus2euap\",\r\ - \n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"AzureEventHub\",\r\n \ - \ \"addressPrefixes\": [\r\n \"20.47.216.64/26\",\r\n \"\ - 40.74.146.16/28\",\r\n \"40.74.151.0/26\",\r\n \"40.75.34.0/28\"\ - ,\r\n \"40.89.122.0/26\",\r\n \"52.138.90.0/28\",\r\n \ - \ \"52.225.184.224/32\",\r\n \"52.225.186.130/32\",\r\n \ - \ \"2603:1030:40b:1::240/122\",\r\n \"2603:1030:40b:400::9c0/123\"\ - ,\r\n \"2603:1030:40b:800::160/123\",\r\n \"2603:1030:40b:c00::160/123\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"EventHub.FranceCentral\"\ - ,\r\n \"id\": \"EventHub.FranceCentral\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"3\",\r\n \"region\": \"centralfrance\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureEventHub\",\r\n \ - \ \"addressPrefixes\": [\r\n \"40.79.130.16/28\",\r\n \ - \ \"40.79.138.0/28\",\r\n \"40.79.142.0/26\",\r\n \"\ - 40.79.146.0/28\",\r\n \"40.79.149.64/26\",\r\n \"51.11.192.128/26\"\ - ,\r\n \"52.143.136.55/32\",\r\n \"2603:1020:805:1::240/122\"\ - ,\r\n \"2603:1020:805:402::1c0/123\",\r\n \"2603:1020:805:802::160/123\"\ - ,\r\n \"2603:1020:805:c02::160/123\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"EventHub.FranceSouth\",\r\n \"\ - id\": \"EventHub.FranceSouth\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"2\",\r\n \"region\": \"southfrance\",\r\n \"state\": \"\ - GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\n \ - \ \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n ],\r\n \ - \ \"systemService\": \"AzureEventHub\",\r\n \"addressPrefixes\"\ - : [\r\n \"40.79.178.32/27\",\r\n \"52.136.136.62/32\",\r\ - \n \"2603:1020:905::240/122\",\r\n \"2603:1020:905:402::1c0/123\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"EventHub.GermanyNorth\"\ - ,\r\n \"id\": \"EventHub.GermanyNorth\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"2\",\r\n \"region\": \"germanyn\",\r\n\ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"AzureEventHub\",\r\n \ - \ \"addressPrefixes\": [\r\n \"51.116.58.128/27\",\r\n \ - \ \"2603:1020:d04::240/122\",\r\n \"2603:1020:d04:402::1c0/123\"\r\ - \n ]\r\n }\r\n },\r\n {\r\n \"name\": \"EventHub.GermanyWestCentral\"\ - ,\r\n \"id\": \"EventHub.GermanyWestCentral\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"3\",\r\n \"region\": \"germanywc\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureEventHub\",\r\n \ - \ \"addressPrefixes\": [\r\n \"20.52.64.128/26\",\r\n \ - \ \"51.116.154.192/27\",\r\n \"51.116.242.64/26\",\r\n \ - \ \"51.116.245.192/27\",\r\n \"51.116.246.192/26\",\r\n \ - \ \"51.116.250.64/26\",\r\n \"51.116.254.0/26\",\r\n \"\ - 2603:1020:c04:1::240/122\",\r\n \"2603:1020:c04:402::1c0/123\",\r\ - \n \"2603:1020:c04:802::160/123\",\r\n \"2603:1020:c04:c02::160/123\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"EventHub.JapanEast\"\ - ,\r\n \"id\": \"EventHub.JapanEast\",\r\n \"properties\": {\r\n\ - \ \"changeNumber\": \"3\",\r\n \"region\": \"japaneast\",\r\n\ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"AzureEventHub\",\r\n \ - \ \"addressPrefixes\": [\r\n \"13.71.154.11/32\",\r\n \"\ - 13.78.106.64/28\",\r\n \"20.89.0.64/26\",\r\n \"20.194.128.192/26\"\ - ,\r\n \"23.100.100.84/32\",\r\n \"40.79.186.32/27\",\r\n\ - \ \"40.79.194.192/26\",\r\n \"52.243.36.161/32\",\r\n \ - \ \"138.91.1.105/32\",\r\n \"2603:1040:407:1::240/122\",\r\ - \n \"2603:1040:407:402::1c0/123\",\r\n \"2603:1040:407:802::160/123\"\ - ,\r\n \"2603:1040:407:c02::160/123\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"EventHub.JapanWest\",\r\n \"id\"\ - : \"EventHub.JapanWest\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"2\",\r\n \"region\": \"japanwest\",\r\n \"state\": \"GA\"\ - ,\r\n \"networkFeatures\": [\r\n \"API\",\r\n \"\ - NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n ],\r\n \ - \ \"systemService\": \"AzureEventHub\",\r\n \"addressPrefixes\": [\r\ - \n \"40.74.100.0/27\",\r\n \"40.74.141.187/32\",\r\n \ - \ \"138.91.17.38/32\",\r\n \"138.91.17.85/32\",\r\n \ - \ \"2603:1040:606::240/122\",\r\n \"2603:1040:606:402::1c0/123\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"EventHub.KoreaCentral\"\ - ,\r\n \"id\": \"EventHub.KoreaCentral\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"3\",\r\n \"region\": \"koreacentral\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureEventHub\",\r\n \ - \ \"addressPrefixes\": [\r\n \"20.44.26.64/26\",\r\n \ - \ \"20.44.31.128/26\",\r\n \"20.194.80.0/26\",\r\n \"\ - 52.231.18.16/28\",\r\n \"52.231.29.105/32\",\r\n \"52.231.32.85/32\"\ - ,\r\n \"52.231.32.94/32\",\r\n \"2603:1040:f05:1::240/122\"\ - ,\r\n \"2603:1040:f05:402::1c0/123\",\r\n \"2603:1040:f05:802::160/123\"\ - ,\r\n \"2603:1040:f05:c02::160/123\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"EventHub.KoreaSouth\",\r\n \"id\"\ - : \"EventHub.KoreaSouth\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"1\",\r\n \"region\": \"koreasouth\",\r\n \"state\": \"GA\"\ - ,\r\n \"networkFeatures\": [\r\n \"API\",\r\n \"\ - NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n ],\r\n \ - \ \"systemService\": \"AzureEventHub\",\r\n \"addressPrefixes\": [\r\ - \n \"52.231.146.32/27\",\r\n \"52.231.200.144/32\",\r\n\ - \ \"52.231.200.153/32\",\r\n \"52.231.207.155/32\"\r\n \ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"EventHub.NorthCentralUS\"\ - ,\r\n \"id\": \"EventHub.NorthCentralUS\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"2\",\r\n \"region\": \"northcentralus\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureEventHub\",\r\n \ - \ \"addressPrefixes\": [\r\n \"23.96.214.181/32\",\r\n \ - \ \"23.96.253.236/32\",\r\n \"52.162.106.64/26\",\r\n \ - \ \"52.237.143.176/32\",\r\n \"168.62.234.250/32\",\r\n \ - \ \"168.62.237.3/32\",\r\n \"168.62.249.226/32\",\r\n \ - \ \"191.236.128.253/32\",\r\n \"191.236.129.107/32\",\r\n \ - \ \"2603:1030:608::240/122\",\r\n \"2603:1030:608:402::1c0/123\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"EventHub.NorthEurope\"\ - ,\r\n \"id\": \"EventHub.NorthEurope\",\r\n \"properties\": {\r\n\ - \ \"changeNumber\": \"3\",\r\n \"region\": \"northeurope\",\r\ - \n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"AzureEventHub\",\r\n \ - \ \"addressPrefixes\": [\r\n \"13.69.227.0/26\",\r\n \"\ - 13.69.239.0/26\",\r\n \"13.69.253.135/32\",\r\n \"13.69.255.140/32\"\ - ,\r\n \"13.74.107.0/26\",\r\n \"20.50.72.64/26\",\r\n \ - \ \"20.50.80.64/26\",\r\n \"23.102.0.186/32\",\r\n \ - \ \"23.102.0.239/32\",\r\n \"23.102.53.113/32\",\r\n \"\ - 40.69.29.216/32\",\r\n \"40.69.217.246/32\",\r\n \"40.127.132.254/32\"\ - ,\r\n \"52.138.147.148/32\",\r\n \"52.138.226.0/26\",\r\n\ - \ \"52.169.18.8/32\",\r\n \"52.178.211.227/32\",\r\n \ - \ \"104.41.201.10/32\",\r\n \"168.61.92.197/32\",\r\n \ - \ \"191.238.99.131/32\",\r\n \"2603:1020:5:1::240/122\",\r\n\ - \ \"2603:1020:5:402::1c0/123\",\r\n \"2603:1020:5:802::160/123\"\ - ,\r\n \"2603:1020:5:c02::160/123\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"EventHub.NorwayEast\",\r\n \"id\"\ - : \"EventHub.NorwayEast\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"3\",\r\n \"region\": \"norwaye\",\r\n \"state\": \"GA\"\ - ,\r\n \"networkFeatures\": [\r\n \"API\",\r\n \"\ - NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n ],\r\n \ - \ \"systemService\": \"AzureEventHub\",\r\n \"addressPrefixes\": [\r\ - \n \"51.13.0.192/26\",\r\n \"51.120.98.128/27\",\r\n \ - \ \"51.120.106.64/26\",\r\n \"51.120.210.64/26\",\r\n \ - \ \"2603:1020:e04:1::240/122\",\r\n \"2603:1020:e04:402::1c0/123\"\ - ,\r\n \"2603:1020:e04:802::160/123\",\r\n \"2603:1020:e04:c02::160/123\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"EventHub.NorwayWest\"\ - ,\r\n \"id\": \"EventHub.NorwayWest\",\r\n \"properties\": {\r\n\ - \ \"changeNumber\": \"2\",\r\n \"region\": \"norwayw\",\r\n\ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"AzureEventHub\",\r\n \ - \ \"addressPrefixes\": [\r\n \"51.120.218.160/27\",\r\n \ - \ \"2603:1020:f04::240/122\",\r\n \"2603:1020:f04:402::1c0/123\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"EventHub.SouthAfricaNorth\"\ - ,\r\n \"id\": \"EventHub.SouthAfricaNorth\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"3\",\r\n \"region\": \"southafricanorth\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureEventHub\",\r\n \ - \ \"addressPrefixes\": [\r\n \"102.37.72.64/26\",\r\n \ - \ \"102.133.122.64/26\",\r\n \"102.133.127.0/26\",\r\n \ - \ \"102.133.154.128/26\",\r\n \"102.133.250.64/26\",\r\n \ - \ \"102.133.254.0/26\",\r\n \"2603:1000:104:1::240/122\",\r\n\ - \ \"2603:1000:104:402::1c0/123\",\r\n \"2603:1000:104:802::160/123\"\ - ,\r\n \"2603:1000:104:c02::160/123\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"EventHub.SouthAfricaWest\",\r\n \ - \ \"id\": \"EventHub.SouthAfricaWest\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"3\",\r\n \"region\": \"southafricawest\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureEventHub\",\r\n \ - \ \"addressPrefixes\": [\r\n \"102.37.65.0/26\",\r\n \ - \ \"102.133.26.128/26\",\r\n \"2603:1000:4::240/122\",\r\n \ - \ \"2603:1000:4:402::1c0/123\"\r\n ]\r\n }\r\n },\r\n\ - \ {\r\n \"name\": \"EventHub.SouthCentralUS\",\r\n \"id\": \"\ - EventHub.SouthCentralUS\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"3\",\r\n \"region\": \"southcentralus\",\r\n \"state\":\ - \ \"GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\n \ - \ \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n ],\r\n\ - \ \"systemService\": \"AzureEventHub\",\r\n \"addressPrefixes\"\ - : [\r\n \"13.65.209.24/32\",\r\n \"13.84.145.196/32\",\r\ - \n \"20.45.122.64/26\",\r\n \"20.45.126.192/26\",\r\n \ - \ \"20.49.93.64/27\",\r\n \"20.49.93.128/27\",\r\n \ - \ \"20.49.95.128/26\",\r\n \"23.102.128.15/32\",\r\n \"\ - 23.102.160.39/32\",\r\n \"23.102.161.227/32\",\r\n \"23.102.163.4/32\"\ - ,\r\n \"23.102.165.127/32\",\r\n \"23.102.167.73/32\",\r\ - \n \"23.102.180.26/32\",\r\n \"40.84.150.241/32\",\r\n \ - \ \"40.84.185.67/32\",\r\n \"40.124.65.64/26\",\r\n \ - \ \"104.44.129.14/32\",\r\n \"104.44.129.59/32\",\r\n \ - \ \"104.210.146.250/32\",\r\n \"104.214.18.128/27\",\r\n \ - \ \"104.214.70.229/32\",\r\n \"191.238.160.221/32\",\r\n \ - \ \"2603:1030:807:1::240/122\",\r\n \"2603:1030:807:402::1c0/123\"\ - ,\r\n \"2603:1030:807:802::160/123\",\r\n \"2603:1030:807:c02::160/123\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"EventHub.SoutheastAsia\"\ - ,\r\n \"id\": \"EventHub.SoutheastAsia\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"3\",\r\n \"region\": \"southeastasia\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureEventHub\",\r\n \ - \ \"addressPrefixes\": [\r\n \"13.67.8.64/27\",\r\n \ - \ \"13.67.20.64/26\",\r\n \"13.76.179.223/32\",\r\n \"\ - 13.76.216.217/32\",\r\n \"23.98.64.92/32\",\r\n \"23.98.65.24/32\"\ - ,\r\n \"23.98.82.64/27\",\r\n \"23.98.87.192/26\",\r\n \ - \ \"23.98.112.192/26\",\r\n \"40.78.234.0/27\",\r\n \ - \ \"52.187.2.226/32\",\r\n \"52.187.59.188/32\",\r\n \ - \ \"52.187.61.82/32\",\r\n \"52.187.185.159/32\",\r\n \"\ - 104.43.18.219/32\",\r\n \"137.116.157.26/32\",\r\n \"137.116.158.30/32\"\ - ,\r\n \"207.46.227.14/32\",\r\n \"2603:1040:5:1::240/122\"\ - ,\r\n \"2603:1040:5:402::1c0/123\",\r\n \"2603:1040:5:802::160/123\"\ - ,\r\n \"2603:1040:5:c02::160/123\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"EventHub.SouthIndia\",\r\n \"id\"\ - : \"EventHub.SouthIndia\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"2\",\r\n \"region\": \"southindia\",\r\n \"state\": \"GA\"\ - ,\r\n \"networkFeatures\": [\r\n \"API\",\r\n \"\ - NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n ],\r\n \ - \ \"systemService\": \"AzureEventHub\",\r\n \"addressPrefixes\": [\r\ - \n \"13.71.123.78/32\",\r\n \"40.78.194.32/27\",\r\n \ - \ \"104.211.224.190/32\",\r\n \"104.211.224.238/32\",\r\n \ - \ \"2603:1040:c06::240/122\",\r\n \"2603:1040:c06:402::1c0/123\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"EventHub.SwitzerlandNorth\"\ - ,\r\n \"id\": \"EventHub.SwitzerlandNorth\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"3\",\r\n \"region\": \"switzerlandn\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureEventHub\",\r\n \ - \ \"addressPrefixes\": [\r\n \"51.107.58.128/27\",\r\n \ - \ \"51.107.129.0/26\",\r\n \"2603:1020:a04:1::240/122\",\r\n\ - \ \"2603:1020:a04:402::1c0/123\",\r\n \"2603:1020:a04:802::160/123\"\ - ,\r\n \"2603:1020:a04:c02::160/123\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"EventHub.SwitzerlandWest\",\r\n \ - \ \"id\": \"EventHub.SwitzerlandWest\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"2\",\r\n \"region\": \"switzerlandw\",\r\ - \n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"AzureEventHub\",\r\n \ - \ \"addressPrefixes\": [\r\n \"51.107.154.128/27\",\r\n \ - \ \"2603:1020:b04::240/122\",\r\n \"2603:1020:b04:402::1c0/123\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"EventHub.UAECentral\"\ - ,\r\n \"id\": \"EventHub.UAECentral\",\r\n \"properties\": {\r\n\ - \ \"changeNumber\": \"2\",\r\n \"region\": \"uaecentral\",\r\ - \n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"AzureEventHub\",\r\n \ - \ \"addressPrefixes\": [\r\n \"20.37.74.0/27\",\r\n \"\ - 2603:1040:b04::240/122\",\r\n \"2603:1040:b04:402::1c0/123\"\r\n\ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"EventHub.UAENorth\"\ - ,\r\n \"id\": \"EventHub.UAENorth\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"3\",\r\n \"region\": \"uaenorth\",\r\n\ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"AzureEventHub\",\r\n \ - \ \"addressPrefixes\": [\r\n \"40.120.75.64/27\",\r\n \"\ - 40.120.78.0/26\",\r\n \"65.52.250.32/27\",\r\n \"2603:1040:904:1::240/122\"\ - ,\r\n \"2603:1040:904:402::1c0/123\",\r\n \"2603:1040:904:802::160/123\"\ - ,\r\n \"2603:1040:904:c02::160/123\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"EventHub.UKSouth\",\r\n \"id\"\ - : \"EventHub.UKSouth\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"3\",\r\n \"region\": \"uksouth\",\r\n \"state\": \"GA\"\ - ,\r\n \"networkFeatures\": [\r\n \"API\",\r\n \"\ - NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n ],\r\n \ - \ \"systemService\": \"AzureEventHub\",\r\n \"addressPrefixes\": [\r\ - \n \"51.105.66.64/26\",\r\n \"51.105.71.0/26\",\r\n \ - \ \"51.105.74.64/26\",\r\n \"51.132.192.192/26\",\r\n \ - \ \"51.140.80.99/32\",\r\n \"51.140.87.93/32\",\r\n \"\ - 51.140.125.8/32\",\r\n \"51.140.146.32/28\",\r\n \"51.140.149.192/26\"\ - ,\r\n \"51.140.189.52/32\",\r\n \"51.140.189.108/32\",\r\ - \n \"2603:1020:705:1::240/122\",\r\n \"2603:1020:705:402::1c0/123\"\ - ,\r\n \"2603:1020:705:802::160/123\",\r\n \"2603:1020:705:c02::160/123\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"EventHub.UKWest\"\ - ,\r\n \"id\": \"EventHub.UKWest\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"2\",\r\n \"region\": \"ukwest\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"\ - API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n\ - \ ],\r\n \"systemService\": \"AzureEventHub\",\r\n \"\ - addressPrefixes\": [\r\n \"51.140.210.32/27\",\r\n \"51.141.14.113/32\"\ - ,\r\n \"51.141.14.168/32\",\r\n \"51.141.50.179/32\",\r\n\ - \ \"2603:1020:605::240/122\",\r\n \"2603:1020:605:402::1c0/123\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"EventHub.WestCentralUS\"\ - ,\r\n \"id\": \"EventHub.WestCentralUS\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"2\",\r\n \"region\": \"westcentralus\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureEventHub\",\r\n \ - \ \"addressPrefixes\": [\r\n \"13.71.194.64/27\",\r\n \ - \ \"13.78.149.209/32\",\r\n \"13.78.150.233/32\",\r\n \ - \ \"13.78.191.44/32\",\r\n \"52.161.19.160/32\",\r\n \"\ - 52.161.24.64/32\",\r\n \"2603:1030:b04::240/122\",\r\n \"\ - 2603:1030:b04:402::1c0/123\"\r\n ]\r\n }\r\n },\r\n {\r\n\ - \ \"name\": \"EventHub.WestEurope\",\r\n \"id\": \"EventHub.WestEurope\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n \ - \ \"region\": \"westeurope\",\r\n \"state\": \"GA\",\r\n \"\ - networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n \ - \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\"\ - : \"AzureEventHub\",\r\n \"addressPrefixes\": [\r\n \"13.69.64.0/26\"\ - ,\r\n \"13.69.106.0/26\",\r\n \"13.69.111.128/26\",\r\n\ - \ \"20.50.201.64/26\",\r\n \"23.97.226.21/32\",\r\n \ - \ \"23.100.14.185/32\",\r\n \"40.68.35.230/32\",\r\n \ - \ \"40.68.39.15/32\",\r\n \"40.68.93.145/32\",\r\n \"\ - 40.68.205.113/32\",\r\n \"40.68.217.242/32\",\r\n \"51.144.238.23/32\"\ - ,\r\n \"52.174.243.57/32\",\r\n \"52.178.17.128/26\",\r\n\ - \ \"52.178.78.61/32\",\r\n \"52.232.27.189/32\",\r\n \ - \ \"52.233.190.35/32\",\r\n \"52.233.192.247/32\",\r\n \ - \ \"52.236.186.0/26\",\r\n \"65.52.129.16/32\",\r\n \ - \ \"104.40.150.139/32\",\r\n \"104.40.179.185/32\",\r\n \ - \ \"104.40.216.174/32\",\r\n \"104.46.32.56/32\",\r\n \"\ - 104.46.32.58/32\",\r\n \"191.233.73.228/32\",\r\n \"2603:1020:206:1::240/122\"\ - ,\r\n \"2603:1020:206:402::1c0/123\",\r\n \"2603:1020:206:802::160/123\"\ - ,\r\n \"2603:1020:206:c02::160/123\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"EventHub.WestIndia\",\r\n \"id\"\ - : \"EventHub.WestIndia\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"2\",\r\n \"region\": \"westindia\",\r\n \"state\": \"GA\"\ - ,\r\n \"networkFeatures\": [\r\n \"API\",\r\n \"\ - NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n ],\r\n \ - \ \"systemService\": \"AzureEventHub\",\r\n \"addressPrefixes\": [\r\ - \n \"104.211.146.32/27\",\r\n \"104.211.160.121/32\",\r\n\ - \ \"104.211.160.144/32\",\r\n \"2603:1040:806::240/122\"\ - ,\r\n \"2603:1040:806:402::1c0/123\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"EventHub.WestUS\",\r\n \"id\":\ - \ \"EventHub.WestUS\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"2\",\r\n \"region\": \"westus\",\r\n \"state\": \"GA\",\r\ - \n \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\ - ,\r\n \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\"\ - : \"AzureEventHub\",\r\n \"addressPrefixes\": [\r\n \"13.64.195.117/32\"\ - ,\r\n \"13.88.20.117/32\",\r\n \"13.88.26.28/32\",\r\n \ - \ \"13.91.61.11/32\",\r\n \"13.93.226.138/32\",\r\n \ - \ \"23.99.7.105/32\",\r\n \"23.99.54.235/32\",\r\n \"\ - 23.99.60.253/32\",\r\n \"23.99.80.186/32\",\r\n \"40.78.110.196/32\"\ - ,\r\n \"40.83.191.202/32\",\r\n \"40.83.222.100/32\",\r\n\ - \ \"40.86.176.23/32\",\r\n \"40.112.185.115/32\",\r\n \ - \ \"40.112.213.11/32\",\r\n \"40.112.242.0/25\",\r\n \ - \ \"104.40.26.199/32\",\r\n \"104.40.29.113/32\",\r\n \ - \ \"104.40.68.250/32\",\r\n \"104.40.69.64/32\",\r\n \"\ - 104.42.97.95/32\",\r\n \"138.91.193.184/32\",\r\n \"2603:1030:a07::240/122\"\ - ,\r\n \"2603:1030:a07:402::140/123\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"EventHub.WestUS2\",\r\n \"id\"\ - : \"EventHub.WestUS2\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"3\",\r\n \"region\": \"westus2\",\r\n \"state\": \"GA\"\ - ,\r\n \"networkFeatures\": [\r\n \"API\",\r\n \"\ - NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n ],\r\n \ - \ \"systemService\": \"AzureEventHub\",\r\n \"addressPrefixes\": [\r\ - \n \"13.66.138.64/28\",\r\n \"13.66.145.128/26\",\r\n \ - \ \"13.66.149.0/26\",\r\n \"13.66.228.204/32\",\r\n \ - \ \"13.66.230.42/32\",\r\n \"20.42.131.16/28\",\r\n \"\ - 20.42.131.64/26\",\r\n \"20.83.192.0/26\",\r\n \"40.64.113.64/26\"\ - ,\r\n \"40.78.242.128/28\",\r\n \"40.78.247.0/26\",\r\n\ - \ \"40.78.250.64/28\",\r\n \"40.78.253.128/26\",\r\n \ - \ \"52.151.58.121/32\",\r\n \"52.183.46.73/32\",\r\n \ - \ \"52.183.86.102/32\",\r\n \"2603:1030:c06:1::240/122\",\r\n\ - \ \"2603:1030:c06:400::9c0/123\",\r\n \"2603:1030:c06:802::160/123\"\ - ,\r\n \"2603:1030:c06:c02::160/123\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"GatewayManager\",\r\n \"id\": \"\ - GatewayManager\",\r\n \"properties\": {\r\n \"changeNumber\":\ - \ \"2\",\r\n \"region\": \"\",\r\n \"state\": \"GA\",\r\n \ - \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\ - \n \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\"\ - : \"GatewayManager\",\r\n \"addressPrefixes\": [\r\n \"13.65.91.57/32\"\ - ,\r\n \"13.66.140.144/29\",\r\n \"13.67.9.128/29\",\r\n\ - \ \"13.69.64.224/29\",\r\n \"13.69.227.224/29\",\r\n \ - \ \"13.70.72.208/29\",\r\n \"13.70.185.130/32\",\r\n \ - \ \"13.71.170.240/29\",\r\n \"13.71.194.232/29\",\r\n \ - \ \"13.75.36.8/29\",\r\n \"13.77.0.146/32\",\r\n \"13.77.50.88/29\"\ - ,\r\n \"13.78.108.16/29\",\r\n \"13.78.188.33/32\",\r\n\ - \ \"13.85.74.21/32\",\r\n \"13.87.35.147/32\",\r\n \ - \ \"13.87.36.246/32\",\r\n \"13.87.56.104/29\",\r\n \ - \ \"13.87.122.104/29\",\r\n \"13.89.171.96/29\",\r\n \"\ - 13.91.249.235/32\",\r\n \"13.91.254.232/32\",\r\n \"13.92.84.128/32\"\ - ,\r\n \"13.93.112.146/32\",\r\n \"13.93.117.26/32\",\r\n\ - \ \"20.36.42.151/32\",\r\n \"20.36.42.152/32\",\r\n \ - \ \"20.36.74.91/32\",\r\n \"20.36.74.113/32\",\r\n \ - \ \"20.36.106.72/29\",\r\n \"20.36.114.24/29\",\r\n \"20.36.120.72/29\"\ - ,\r\n \"20.37.53.66/32\",\r\n \"20.37.53.76/32\",\r\n \ - \ \"20.37.64.72/29\",\r\n \"20.37.74.88/29\",\r\n \ - \ \"20.37.152.72/29\",\r\n \"20.37.192.72/29\",\r\n \"\ - 20.37.224.72/29\",\r\n \"20.38.80.72/29\",\r\n \"20.38.136.72/29\"\ - ,\r\n \"20.39.1.56/32\",\r\n \"20.39.1.58/32\",\r\n \ - \ \"20.39.8.72/29\",\r\n \"20.39.26.140/32\",\r\n \"\ - 20.39.26.246/32\",\r\n \"20.40.173.147/32\",\r\n \"20.41.0.72/29\"\ - ,\r\n \"20.41.64.72/29\",\r\n \"20.41.192.72/29\",\r\n \ - \ \"20.42.0.72/29\",\r\n \"20.42.128.72/29\",\r\n \ - \ \"20.42.224.72/29\",\r\n \"20.43.40.72/29\",\r\n \"\ - 20.43.64.72/29\",\r\n \"20.43.128.72/29\",\r\n \"20.44.3.16/29\"\ - ,\r\n \"20.45.112.72/29\",\r\n \"20.45.192.72/29\",\r\n\ - \ \"20.54.106.86/32\",\r\n \"20.54.121.133/32\",\r\n \ - \ \"20.72.16.64/26\",\r\n \"20.74.0.115/32\",\r\n \ - \ \"20.74.0.127/32\",\r\n \"20.150.160.64/29\",\r\n \"20.150.161.0/26\"\ - ,\r\n \"20.150.171.64/29\",\r\n \"20.189.104.72/29\",\r\n\ - \ \"20.189.180.225/32\",\r\n \"20.189.181.8/32\",\r\n \ - \ \"20.192.160.64/26\",\r\n \"20.192.224.192/26\",\r\n \ - \ \"20.193.142.141/32\",\r\n \"20.193.142.178/32\",\r\n \ - \ \"20.195.37.65/32\",\r\n \"20.195.38.22/32\",\r\n \ - \ \"23.100.231.72/32\",\r\n \"23.100.231.96/32\",\r\n \ - \ \"23.101.173.90/32\",\r\n \"40.67.48.72/29\",\r\n \"40.67.59.64/29\"\ - ,\r\n \"40.69.106.88/29\",\r\n \"40.70.146.224/29\",\r\n\ - \ \"40.71.11.96/29\",\r\n \"40.74.24.72/29\",\r\n \ - \ \"40.74.100.168/29\",\r\n \"40.78.194.88/29\",\r\n \ - \ \"40.78.202.112/29\",\r\n \"40.79.130.224/29\",\r\n \"\ - 40.79.178.88/29\",\r\n \"40.80.56.72/29\",\r\n \"40.80.168.72/29\"\ - ,\r\n \"40.80.184.72/29\",\r\n \"40.81.94.172/32\",\r\n\ - \ \"40.81.94.182/32\",\r\n \"40.81.180.83/32\",\r\n \ - \ \"40.81.182.82/32\",\r\n \"40.81.189.24/32\",\r\n \ - \ \"40.81.189.42/32\",\r\n \"40.82.236.2/32\",\r\n \"40.82.236.13/32\"\ - ,\r\n \"40.82.248.240/29\",\r\n \"40.88.222.179/32\",\r\n\ - \ \"40.88.223.53/32\",\r\n \"40.89.16.72/29\",\r\n \ - \ \"40.89.217.100/32\",\r\n \"40.89.217.109/32\",\r\n \ - \ \"40.90.186.21/32\",\r\n \"40.90.186.91/32\",\r\n \"\ - 40.91.89.36/32\",\r\n \"40.91.91.51/32\",\r\n \"40.112.242.168/29\"\ - ,\r\n \"40.115.248.200/32\",\r\n \"40.115.254.17/32\",\r\ - \n \"40.119.8.64/29\",\r\n \"40.124.139.107/32\",\r\n \ - \ \"40.124.139.174/32\",\r\n \"51.12.40.192/26\",\r\n \ - \ \"51.12.192.192/26\",\r\n \"51.104.24.72/29\",\r\n \ - \ \"51.105.80.72/29\",\r\n \"51.105.88.72/29\",\r\n \"\ - 51.107.48.72/29\",\r\n \"51.107.59.32/29\",\r\n \"51.107.144.72/29\"\ - ,\r\n \"51.107.155.32/29\",\r\n \"51.116.48.72/29\",\r\n\ - \ \"51.116.59.32/29\",\r\n \"51.116.144.72/29\",\r\n \ - \ \"51.116.155.96/29\",\r\n \"51.120.40.72/29\",\r\n \ - \ \"51.120.98.168/29\",\r\n \"51.120.219.64/29\",\r\n \ - \ \"51.120.224.72/29\",\r\n \"51.137.160.72/29\",\r\n \"\ - 51.140.63.41/32\",\r\n \"51.140.114.209/32\",\r\n \"51.140.148.16/29\"\ - ,\r\n \"51.140.210.200/29\",\r\n \"51.141.25.80/32\",\r\n\ - \ \"51.141.29.178/32\",\r\n \"51.142.209.124/32\",\r\n \ - \ \"51.142.210.184/32\",\r\n \"51.143.192.72/29\",\r\n \ - \ \"52.136.48.72/29\",\r\n \"52.136.137.15/32\",\r\n \ - \ \"52.136.137.16/32\",\r\n \"52.138.70.115/32\",\r\n \ - \ \"52.138.71.153/32\",\r\n \"52.138.90.40/29\",\r\n \"\ - 52.139.87.129/32\",\r\n \"52.139.87.150/32\",\r\n \"52.140.104.72/29\"\ - ,\r\n \"52.142.152.114/32\",\r\n \"52.142.154.100/32\",\r\ - \n \"52.143.136.58/31\",\r\n \"52.143.250.137/32\",\r\n\ - \ \"52.143.251.22/32\",\r\n \"52.147.44.33/32\",\r\n \ - \ \"52.148.30.6/32\",\r\n \"52.149.24.100/32\",\r\n \ - \ \"52.149.26.14/32\",\r\n \"52.150.136.72/29\",\r\n \"\ - 52.159.19.113/32\",\r\n \"52.159.20.67/32\",\r\n \"52.159.21.124/32\"\ - ,\r\n \"52.161.28.251/32\",\r\n \"52.162.106.168/29\",\r\ - \n \"52.163.241.22/32\",\r\n \"52.163.246.27/32\",\r\n \ - \ \"52.165.221.72/32\",\r\n \"52.169.225.171/32\",\r\n \ - \ \"52.169.231.163/32\",\r\n \"52.172.28.183/32\",\r\n \ - \ \"52.172.31.29/32\",\r\n \"52.172.204.73/32\",\r\n \ - \ \"52.172.222.13/32\",\r\n \"52.173.250.124/32\",\r\n \ - \ \"52.177.204.204/32\",\r\n \"52.177.207.219/32\",\r\n \ - \ \"52.179.10.142/32\",\r\n \"52.180.178.35/32\",\r\n \ - \ \"52.180.178.191/32\",\r\n \"52.180.182.210/32\",\r\n \ - \ \"52.184.255.23/32\",\r\n \"52.191.140.123/32\",\r\n \"\ - 52.191.170.38/32\",\r\n \"52.228.80.72/29\",\r\n \"52.229.161.220/32\"\ - ,\r\n \"52.229.166.101/32\",\r\n \"52.231.18.224/29\",\r\ - \n \"52.231.24.186/32\",\r\n \"52.231.35.84/32\",\r\n \ - \ \"52.231.146.200/29\",\r\n \"52.231.203.87/32\",\r\n \ - \ \"52.231.204.175/32\",\r\n \"52.237.24.145/32\",\r\n \ - \ \"52.237.30.255/32\",\r\n \"52.237.208.51/32\",\r\n \ - \ \"52.237.215.149/32\",\r\n \"52.242.17.200/32\",\r\n \ - \ \"52.242.28.83/32\",\r\n \"52.251.12.161/32\",\r\n \"\ - 52.253.157.2/32\",\r\n \"52.253.159.209/32\",\r\n \"52.253.232.235/32\"\ - ,\r\n \"52.253.239.162/32\",\r\n \"65.52.250.24/29\",\r\n\ - \ \"70.37.160.97/32\",\r\n \"70.37.161.124/32\",\r\n \ - \ \"102.133.27.16/29\",\r\n \"102.133.56.72/29\",\r\n \ - \ \"102.133.155.16/29\",\r\n \"102.133.216.72/29\",\r\n \ - \ \"104.211.81.208/29\",\r\n \"104.211.146.88/29\",\r\n \ - \ \"104.211.188.0/32\",\r\n \"104.211.191.94/32\",\r\n \ - \ \"104.214.19.64/29\",\r\n \"104.215.50.115/32\",\r\n \ - \ \"104.215.52.27/32\",\r\n \"168.62.104.154/32\",\r\n \ - \ \"168.62.208.162/32\",\r\n \"168.62.209.95/32\",\r\n \ - \ \"191.233.8.64/26\",\r\n \"191.233.203.208/29\",\r\n \"\ - 191.233.245.75/32\",\r\n \"191.233.245.118/32\",\r\n \"\ - 191.234.182.29/32\",\r\n \"191.235.81.58/32\",\r\n \"191.235.224.72/29\"\ - ,\r\n \"2603:1000:4::40/122\",\r\n \"2603:1000:104:1::40/122\"\ - ,\r\n \"2603:1010:6:1::40/122\",\r\n \"2603:1010:101::40/122\"\ - ,\r\n \"2603:1010:304::40/122\",\r\n \"2603:1010:404::40/122\"\ - ,\r\n \"2603:1020:5:1::40/122\",\r\n \"2603:1020:206:1::40/122\"\ - ,\r\n \"2603:1020:305::40/122\",\r\n \"2603:1020:405::40/122\"\ - ,\r\n \"2603:1020:605::40/122\",\r\n \"2603:1020:705:1::40/122\"\ - ,\r\n \"2603:1020:805:1::40/122\",\r\n \"2603:1020:905::40/122\"\ - ,\r\n \"2603:1020:a04:1::40/122\",\r\n \"2603:1020:b04::40/122\"\ - ,\r\n \"2603:1020:c04:1::40/122\",\r\n \"2603:1020:d04::40/122\"\ - ,\r\n \"2603:1020:e04:1::40/122\",\r\n \"2603:1020:f04::40/122\"\ - ,\r\n \"2603:1020:1004::40/122\",\r\n \"2603:1020:1104::40/122\"\ - ,\r\n \"2603:1030:f:1::40/122\",\r\n \"2603:1030:10:1::40/122\"\ - ,\r\n \"2603:1030:104:1::40/122\",\r\n \"2603:1030:107::40/122\"\ - ,\r\n \"2603:1030:210:1::40/122\",\r\n \"2603:1030:40b:1::40/122\"\ - ,\r\n \"2603:1030:40c:1::40/122\",\r\n \"2603:1030:504:1::40/122\"\ - ,\r\n \"2603:1030:608::40/122\",\r\n \"2603:1030:807:1::40/122\"\ - ,\r\n \"2603:1030:a07::40/122\",\r\n \"2603:1030:b04::40/122\"\ - ,\r\n \"2603:1030:c06:1::40/122\",\r\n \"2603:1030:f05:1::40/122\"\ - ,\r\n \"2603:1030:1005::40/122\",\r\n \"2603:1040:5:1::40/122\"\ - ,\r\n \"2603:1040:207::40/122\",\r\n \"2603:1040:407:1::40/122\"\ - ,\r\n \"2603:1040:606::40/122\",\r\n \"2603:1040:806::40/122\"\ - ,\r\n \"2603:1040:904:1::40/122\",\r\n \"2603:1040:a06:1::40/122\"\ - ,\r\n \"2603:1040:b04::40/122\",\r\n \"2603:1040:c06::40/122\"\ - ,\r\n \"2603:1040:d04::40/122\",\r\n \"2603:1040:f05:1::40/122\"\ - ,\r\n \"2603:1040:1104::40/122\",\r\n \"2603:1050:6:1::40/122\"\ - ,\r\n \"2603:1050:403::40/122\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"GatewayManager.AustraliaCentral\",\r\n \"\ - id\": \"GatewayManager.AustraliaCentral\",\r\n \"properties\": {\r\n\ - \ \"changeNumber\": \"2\",\r\n \"region\": \"australiacentral\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"GatewayManager\",\r\n \ - \ \"addressPrefixes\": [\r\n \"20.36.42.151/32\",\r\n \ - \ \"20.36.42.152/32\",\r\n \"20.36.106.72/29\",\r\n \ - \ \"20.37.53.66/32\",\r\n \"20.37.53.76/32\",\r\n \"20.37.224.72/29\"\ - ,\r\n \"2603:1010:304::40/122\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"GatewayManager.AustraliaCentral2\",\r\n \ - \ \"id\": \"GatewayManager.AustraliaCentral2\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"2\",\r\n \"region\": \"australiacentral2\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"GatewayManager\",\r\n \ - \ \"addressPrefixes\": [\r\n \"20.36.74.91/32\",\r\n \ - \ \"20.36.74.113/32\",\r\n \"20.36.114.24/29\",\r\n \"\ - 20.36.120.72/29\",\r\n \"2603:1010:404::40/122\"\r\n ]\r\n\ - \ }\r\n },\r\n {\r\n \"name\": \"GatewayManager.AustraliaEast\"\ - ,\r\n \"id\": \"GatewayManager.AustraliaEast\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"1\",\r\n \"region\": \"australiaeast\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"GatewayManager\",\r\n \ - \ \"addressPrefixes\": [\r\n \"13.70.72.208/29\",\r\n \ - \ \"20.37.192.72/29\",\r\n \"52.237.208.51/32\",\r\n \ - \ \"52.237.215.149/32\",\r\n \"2603:1010:6:1::40/122\"\r\n \ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"GatewayManager.AustraliaSoutheast\"\ - ,\r\n \"id\": \"GatewayManager.AustraliaSoutheast\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"australiasoutheast\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"GatewayManager\",\r\n \ - \ \"addressPrefixes\": [\r\n \"13.70.185.130/32\",\r\n \ - \ \"13.77.0.146/32\",\r\n \"13.77.50.88/29\",\r\n \"\ - 20.40.173.147/32\",\r\n \"20.42.224.72/29\",\r\n \"52.147.44.33/32\"\ - ,\r\n \"2603:1010:101::40/122\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"GatewayManager.BrazilSouth\",\r\n \"id\"\ - : \"GatewayManager.BrazilSouth\",\r\n \"properties\": {\r\n \"\ - changeNumber\": \"1\",\r\n \"region\": \"brazilsouth\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"API\"\ - ,\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n \ - \ ],\r\n \"systemService\": \"GatewayManager\",\r\n \"addressPrefixes\"\ - : [\r\n \"191.233.203.208/29\",\r\n \"191.233.245.75/32\"\ - ,\r\n \"191.233.245.118/32\",\r\n \"191.234.182.29/32\"\ - ,\r\n \"191.235.81.58/32\",\r\n \"191.235.224.72/29\",\r\ - \n \"2603:1050:6:1::40/122\"\r\n ]\r\n }\r\n },\r\n\ - \ {\r\n \"name\": \"GatewayManager.CanadaCentral\",\r\n \"id\"\ - : \"GatewayManager.CanadaCentral\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"1\",\r\n \"region\": \"canadacentral\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"GatewayManager\",\r\n \ - \ \"addressPrefixes\": [\r\n \"13.71.170.240/29\",\r\n \ - \ \"52.228.80.72/29\",\r\n \"52.237.24.145/32\",\r\n \"\ - 52.237.30.255/32\",\r\n \"2603:1030:f05:1::40/122\"\r\n ]\r\ - \n }\r\n },\r\n {\r\n \"name\": \"GatewayManager.CanadaEast\"\ - ,\r\n \"id\": \"GatewayManager.CanadaEast\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"canadaeast\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"GatewayManager\",\r\n \ - \ \"addressPrefixes\": [\r\n \"40.69.106.88/29\",\r\n \ - \ \"40.89.16.72/29\",\r\n \"52.139.87.129/32\",\r\n \ - \ \"52.139.87.150/32\",\r\n \"52.242.17.200/32\",\r\n \"\ - 52.242.28.83/32\",\r\n \"2603:1030:1005::40/122\"\r\n ]\r\n\ - \ }\r\n },\r\n {\r\n \"name\": \"GatewayManager.CentralIndia\"\ - ,\r\n \"id\": \"GatewayManager.CentralIndia\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"centralindia\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"GatewayManager\",\r\n \ - \ \"addressPrefixes\": [\r\n \"20.193.142.141/32\",\r\n \ - \ \"20.193.142.178/32\",\r\n \"52.140.104.72/29\",\r\n \ - \ \"52.172.204.73/32\",\r\n \"52.172.222.13/32\",\r\n \ - \ \"104.211.81.208/29\",\r\n \"2603:1040:a06:1::40/122\"\r\n \ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"GatewayManager.CentralUS\"\ - ,\r\n \"id\": \"GatewayManager.CentralUS\",\r\n \"properties\":\ - \ {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"centralus\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"GatewayManager\",\r\n \ - \ \"addressPrefixes\": [\r\n \"13.89.171.96/29\",\r\n \ - \ \"20.37.152.72/29\",\r\n \"52.143.250.137/32\",\r\n \ - \ \"52.143.251.22/32\",\r\n \"52.165.221.72/32\",\r\n \ - \ \"52.173.250.124/32\",\r\n \"2603:1030:10:1::40/122\"\r\n \ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"GatewayManager.CentralUSEUAP\"\ - ,\r\n \"id\": \"GatewayManager.CentralUSEUAP\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"centraluseuap\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"GatewayManager\",\r\n \ - \ \"addressPrefixes\": [\r\n \"20.45.192.72/29\",\r\n \ - \ \"40.78.202.112/29\",\r\n \"52.180.178.35/32\",\r\n \ - \ \"52.180.178.191/32\",\r\n \"52.180.182.210/32\",\r\n \ - \ \"52.253.157.2/32\",\r\n \"52.253.159.209/32\",\r\n \ - \ \"52.253.232.235/32\",\r\n \"52.253.239.162/32\",\r\n \ - \ \"2603:1030:f:1::40/122\"\r\n ]\r\n }\r\n },\r\n {\r\n\ - \ \"name\": \"GatewayManager.EastAsia\",\r\n \"id\": \"GatewayManager.EastAsia\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \ - \ \"region\": \"eastasia\",\r\n \"state\": \"GA\",\r\n \"\ - networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n \ - \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\"\ - : \"GatewayManager\",\r\n \"addressPrefixes\": [\r\n \"13.75.36.8/29\"\ - ,\r\n \"20.189.104.72/29\",\r\n \"52.229.161.220/32\",\r\ - \n \"52.229.166.101/32\",\r\n \"2603:1040:207::40/122\"\r\ - \n ]\r\n }\r\n },\r\n {\r\n \"name\": \"GatewayManager.EastUS\"\ - ,\r\n \"id\": \"GatewayManager.EastUS\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"2\",\r\n \"region\": \"eastus\",\r\n\ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"GatewayManager\",\r\n \ - \ \"addressPrefixes\": [\r\n \"13.92.84.128/32\",\r\n \ - \ \"20.42.0.72/29\",\r\n \"40.71.11.96/29\",\r\n \"40.88.222.179/32\"\ - ,\r\n \"40.88.223.53/32\",\r\n \"52.179.10.142/32\",\r\n\ - \ \"2603:1030:210:1::40/122\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"GatewayManager.EastUS2\",\r\n \"id\": \"\ - GatewayManager.EastUS2\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"2\",\r\n \"region\": \"eastus2\",\r\n \"state\": \"GA\"\ - ,\r\n \"networkFeatures\": [\r\n \"API\",\r\n \"\ - NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n ],\r\n \ - \ \"systemService\": \"GatewayManager\",\r\n \"addressPrefixes\": [\r\ - \n \"20.41.0.72/29\",\r\n \"40.70.146.224/29\",\r\n \ - \ \"52.177.204.204/32\",\r\n \"52.177.207.219/32\",\r\n \ - \ \"52.184.255.23/32\",\r\n \"52.251.12.161/32\",\r\n \ - \ \"2603:1030:40c:1::40/122\"\r\n ]\r\n }\r\n },\r\n \ - \ {\r\n \"name\": \"GatewayManager.EastUS2EUAP\",\r\n \"id\": \"\ - GatewayManager.EastUS2EUAP\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"2\",\r\n \"region\": \"eastus2euap\",\r\n \"state\": \"\ - GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\n \ - \ \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n ],\r\n \ - \ \"systemService\": \"GatewayManager\",\r\n \"addressPrefixes\"\ - : [\r\n \"20.39.1.56/32\",\r\n \"20.39.1.58/32\",\r\n \ - \ \"20.39.8.72/29\",\r\n \"20.39.26.140/32\",\r\n \ - \ \"20.39.26.246/32\",\r\n \"52.138.70.115/32\",\r\n \"\ - 52.138.71.153/32\",\r\n \"52.138.90.40/29\",\r\n \"2603:1030:40b:1::40/122\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"GatewayManager.FranceCentral\"\ - ,\r\n \"id\": \"GatewayManager.FranceCentral\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"centralfrance\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"GatewayManager\",\r\n \ - \ \"addressPrefixes\": [\r\n \"20.43.40.72/29\",\r\n \ - \ \"20.74.0.115/32\",\r\n \"20.74.0.127/32\",\r\n \"\ - 40.79.130.224/29\",\r\n \"52.143.136.58/31\",\r\n \"2603:1020:805:1::40/122\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"GatewayManager.FranceSouth\"\ - ,\r\n \"id\": \"GatewayManager.FranceSouth\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"southfrance\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"GatewayManager\",\r\n \ - \ \"addressPrefixes\": [\r\n \"40.79.178.88/29\",\r\n \ - \ \"40.82.236.2/32\",\r\n \"40.82.236.13/32\",\r\n \"\ - 51.105.88.72/29\",\r\n \"52.136.137.15/32\",\r\n \"52.136.137.16/32\"\ - ,\r\n \"2603:1020:905::40/122\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"GatewayManager.GermanyNorth\",\r\n \"id\"\ - : \"GatewayManager.GermanyNorth\",\r\n \"properties\": {\r\n \"\ - changeNumber\": \"2\",\r\n \"region\": \"germanyn\",\r\n \"\ - state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\ - \n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n \ - \ ],\r\n \"systemService\": \"GatewayManager\",\r\n \"addressPrefixes\"\ - : [\r\n \"51.116.48.72/29\",\r\n \"51.116.59.32/29\",\r\n\ - \ \"2603:1020:d04::40/122\"\r\n ]\r\n }\r\n },\r\n\ - \ {\r\n \"name\": \"GatewayManager.GermanyWestCentral\",\r\n \ - \ \"id\": \"GatewayManager.GermanyWestCentral\",\r\n \"properties\":\ - \ {\r\n \"changeNumber\": \"1\",\r\n \"region\": \"germanywc\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"GatewayManager\",\r\n \ - \ \"addressPrefixes\": [\r\n \"51.116.144.72/29\",\r\n \ - \ \"51.116.155.96/29\",\r\n \"2603:1020:c04:1::40/122\"\r\n\ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"GatewayManager.JapanEast\"\ - ,\r\n \"id\": \"GatewayManager.JapanEast\",\r\n \"properties\":\ - \ {\r\n \"changeNumber\": \"1\",\r\n \"region\": \"japaneast\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"GatewayManager\",\r\n \ - \ \"addressPrefixes\": [\r\n \"13.78.108.16/29\",\r\n \ - \ \"20.43.64.72/29\",\r\n \"40.115.248.200/32\",\r\n \ - \ \"40.115.254.17/32\",\r\n \"2603:1040:407:1::40/122\"\r\n \ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"GatewayManager.JapanWest\"\ - ,\r\n \"id\": \"GatewayManager.JapanWest\",\r\n \"properties\":\ - \ {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"japanwest\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"GatewayManager\",\r\n \ - \ \"addressPrefixes\": [\r\n \"40.74.100.168/29\",\r\n \ - \ \"40.80.56.72/29\",\r\n \"40.81.180.83/32\",\r\n \ - \ \"40.81.182.82/32\",\r\n \"40.81.189.24/32\",\r\n \"40.81.189.42/32\"\ - ,\r\n \"104.215.50.115/32\",\r\n \"104.215.52.27/32\",\r\ - \n \"2603:1040:606::40/122\"\r\n ]\r\n }\r\n },\r\n\ - \ {\r\n \"name\": \"GatewayManager.KoreaCentral\",\r\n \"id\"\ - : \"GatewayManager.KoreaCentral\",\r\n \"properties\": {\r\n \"\ - changeNumber\": \"1\",\r\n \"region\": \"koreacentral\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"API\"\ - ,\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n \ - \ ],\r\n \"systemService\": \"GatewayManager\",\r\n \"addressPrefixes\"\ - : [\r\n \"20.41.64.72/29\",\r\n \"52.231.18.224/29\",\r\n\ - \ \"52.231.24.186/32\",\r\n \"52.231.35.84/32\",\r\n \ - \ \"2603:1040:f05:1::40/122\"\r\n ]\r\n }\r\n },\r\n\ - \ {\r\n \"name\": \"GatewayManager.KoreaSouth\",\r\n \"id\":\ - \ \"GatewayManager.KoreaSouth\",\r\n \"properties\": {\r\n \"\ - changeNumber\": \"2\",\r\n \"region\": \"koreasouth\",\r\n \"\ - state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\ - \n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n \ - \ ],\r\n \"systemService\": \"GatewayManager\",\r\n \"addressPrefixes\"\ - : [\r\n \"40.80.168.72/29\",\r\n \"40.89.217.100/32\",\r\ - \n \"40.89.217.109/32\",\r\n \"52.231.146.200/29\",\r\n\ - \ \"52.231.203.87/32\",\r\n \"52.231.204.175/32\"\r\n \ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"GatewayManager.NorthCentralUS\"\ - ,\r\n \"id\": \"GatewayManager.NorthCentralUS\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"northcentralus\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"GatewayManager\",\r\n \ - \ \"addressPrefixes\": [\r\n \"23.100.231.72/32\",\r\n \ - \ \"23.100.231.96/32\",\r\n \"23.101.173.90/32\",\r\n \ - \ \"40.80.184.72/29\",\r\n \"52.162.106.168/29\",\r\n \ - \ \"168.62.104.154/32\",\r\n \"2603:1030:608::40/122\"\r\n \ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"GatewayManager.NorthEurope\"\ - ,\r\n \"id\": \"GatewayManager.NorthEurope\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"northeurope\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"GatewayManager\",\r\n \ - \ \"addressPrefixes\": [\r\n \"13.69.227.224/29\",\r\n \ - \ \"20.38.80.72/29\",\r\n \"20.54.106.86/32\",\r\n \ - \ \"20.54.121.133/32\",\r\n \"52.169.225.171/32\",\r\n \"\ - 52.169.231.163/32\",\r\n \"2603:1020:5:1::40/122\"\r\n ]\r\ - \n }\r\n },\r\n {\r\n \"name\": \"GatewayManager.NorwayEast\"\ - ,\r\n \"id\": \"GatewayManager.NorwayEast\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"1\",\r\n \"region\": \"norwaye\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"GatewayManager\",\r\n \ - \ \"addressPrefixes\": [\r\n \"51.120.40.72/29\",\r\n \ - \ \"51.120.98.168/29\",\r\n \"2603:1020:e04:1::40/122\"\r\n \ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"GatewayManager.NorwayWest\"\ - ,\r\n \"id\": \"GatewayManager.NorwayWest\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"norwayw\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"GatewayManager\",\r\n \ - \ \"addressPrefixes\": [\r\n \"51.120.219.64/29\",\r\n \ - \ \"51.120.224.72/29\",\r\n \"2603:1020:f04::40/122\"\r\n \ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"GatewayManager.SouthAfricaNorth\"\ - ,\r\n \"id\": \"GatewayManager.SouthAfricaNorth\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"1\",\r\n \"region\": \"southafricanorth\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"GatewayManager\",\r\n \ - \ \"addressPrefixes\": [\r\n \"102.133.155.16/29\",\r\n \ - \ \"102.133.216.72/29\",\r\n \"2603:1000:104:1::40/122\"\r\n\ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"GatewayManager.SouthAfricaWest\"\ - ,\r\n \"id\": \"GatewayManager.SouthAfricaWest\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"southafricawest\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"GatewayManager\",\r\n \ - \ \"addressPrefixes\": [\r\n \"102.133.27.16/29\",\r\n \ - \ \"102.133.56.72/29\",\r\n \"2603:1000:4::40/122\"\r\n \ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"GatewayManager.SouthCentralUS\"\ - ,\r\n \"id\": \"GatewayManager.SouthCentralUS\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"southcentralus\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"GatewayManager\",\r\n \ - \ \"addressPrefixes\": [\r\n \"13.65.91.57/32\",\r\n \ - \ \"13.85.74.21/32\",\r\n \"40.119.8.64/29\",\r\n \"\ - 40.124.139.107/32\",\r\n \"40.124.139.174/32\",\r\n \"70.37.160.97/32\"\ - ,\r\n \"70.37.161.124/32\",\r\n \"104.214.19.64/29\",\r\n\ - \ \"2603:1030:807:1::40/122\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"GatewayManager.SoutheastAsia\",\r\n \"id\"\ - : \"GatewayManager.SoutheastAsia\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"2\",\r\n \"region\": \"southeastasia\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"GatewayManager\",\r\n \ - \ \"addressPrefixes\": [\r\n \"13.67.9.128/29\",\r\n \"\ - 20.43.128.72/29\",\r\n \"20.195.37.65/32\",\r\n \"20.195.38.22/32\"\ - ,\r\n \"40.90.186.21/32\",\r\n \"40.90.186.91/32\",\r\n\ - \ \"52.163.241.22/32\",\r\n \"52.163.246.27/32\",\r\n \ - \ \"2603:1040:5:1::40/122\"\r\n ]\r\n }\r\n },\r\n \ - \ {\r\n \"name\": \"GatewayManager.SouthIndia\",\r\n \"id\": \"\ - GatewayManager.SouthIndia\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"2\",\r\n \"region\": \"southindia\",\r\n \"state\": \"GA\"\ - ,\r\n \"networkFeatures\": [\r\n \"API\",\r\n \"\ - NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n ],\r\n \ - \ \"systemService\": \"GatewayManager\",\r\n \"addressPrefixes\": [\r\ - \n \"20.41.192.72/29\",\r\n \"40.78.194.88/29\",\r\n \ - \ \"52.172.28.183/32\",\r\n \"52.172.31.29/32\",\r\n \ - \ \"2603:1040:c06::40/122\"\r\n ]\r\n }\r\n },\r\n {\r\ - \n \"name\": \"GatewayManager.SwitzerlandNorth\",\r\n \"id\": \"\ - GatewayManager.SwitzerlandNorth\",\r\n \"properties\": {\r\n \"\ - changeNumber\": \"1\",\r\n \"region\": \"switzerlandn\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"API\"\ - ,\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n \ - \ ],\r\n \"systemService\": \"GatewayManager\",\r\n \"addressPrefixes\"\ - : [\r\n \"51.107.48.72/29\",\r\n \"51.107.59.32/29\",\r\n\ - \ \"2603:1020:a04:1::40/122\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"GatewayManager.SwitzerlandWest\",\r\n \"\ - id\": \"GatewayManager.SwitzerlandWest\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"2\",\r\n \"region\": \"switzerlandw\",\r\ - \n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"GatewayManager\",\r\n \ - \ \"addressPrefixes\": [\r\n \"51.107.144.72/29\",\r\n \ - \ \"51.107.155.32/29\",\r\n \"2603:1020:b04::40/122\"\r\n \ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"GatewayManager.UAECentral\"\ - ,\r\n \"id\": \"GatewayManager.UAECentral\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"uaecentral\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"GatewayManager\",\r\n \ - \ \"addressPrefixes\": [\r\n \"20.37.64.72/29\",\r\n \ - \ \"20.37.74.88/29\",\r\n \"2603:1040:b04::40/122\"\r\n \ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"GatewayManager.UAENorth\"\ - ,\r\n \"id\": \"GatewayManager.UAENorth\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"1\",\r\n \"region\": \"uaenorth\",\r\n\ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"GatewayManager\",\r\n \ - \ \"addressPrefixes\": [\r\n \"20.38.136.72/29\",\r\n \ - \ \"65.52.250.24/29\",\r\n \"2603:1040:904:1::40/122\"\r\n \ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"GatewayManager.UKSouth\"\ - ,\r\n \"id\": \"GatewayManager.UKSouth\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"1\",\r\n \"region\": \"uksouth\",\r\n\ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"GatewayManager\",\r\n \ - \ \"addressPrefixes\": [\r\n \"51.104.24.72/29\",\r\n \ - \ \"51.140.63.41/32\",\r\n \"51.140.114.209/32\",\r\n \"\ - 51.140.148.16/29\",\r\n \"2603:1020:705:1::40/122\"\r\n ]\r\ - \n }\r\n },\r\n {\r\n \"name\": \"GatewayManager.UKSouth2\"\ - ,\r\n \"id\": \"GatewayManager.UKSouth2\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"2\",\r\n \"region\": \"uksouth2\",\r\n\ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\"\r\n ],\r\n \"systemService\": \"GatewayManager\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.87.35.147/32\",\r\n\ - \ \"13.87.36.246/32\",\r\n \"13.87.56.104/29\",\r\n \ - \ \"51.143.192.72/29\",\r\n \"2603:1020:405::40/122\"\r\n \ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"GatewayManager.UKWest\"\ - ,\r\n \"id\": \"GatewayManager.UKWest\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"2\",\r\n \"region\": \"ukwest\",\r\n\ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"GatewayManager\",\r\n \ - \ \"addressPrefixes\": [\r\n \"51.137.160.72/29\",\r\n \ - \ \"51.140.210.200/29\",\r\n \"51.141.25.80/32\",\r\n \"\ - 51.141.29.178/32\",\r\n \"52.142.152.114/32\",\r\n \"52.142.154.100/32\"\ - ,\r\n \"2603:1020:605::40/122\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"GatewayManager.WestCentralUS\",\r\n \"id\"\ - : \"GatewayManager.WestCentralUS\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"2\",\r\n \"region\": \"westcentralus\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"GatewayManager\",\r\n \ - \ \"addressPrefixes\": [\r\n \"13.71.194.232/29\",\r\n \ - \ \"13.78.188.33/32\",\r\n \"52.148.30.6/32\",\r\n \"52.150.136.72/29\"\ - ,\r\n \"52.159.19.113/32\",\r\n \"52.159.20.67/32\",\r\n\ - \ \"52.159.21.124/32\",\r\n \"52.161.28.251/32\",\r\n \ - \ \"2603:1030:b04::40/122\"\r\n ]\r\n }\r\n },\r\n \ - \ {\r\n \"name\": \"GatewayManager.WestEurope\",\r\n \"id\": \"\ - GatewayManager.WestEurope\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"1\",\r\n \"region\": \"westeurope\",\r\n \"state\": \"GA\"\ - ,\r\n \"networkFeatures\": [\r\n \"API\",\r\n \"\ - NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n ],\r\n \ - \ \"systemService\": \"GatewayManager\",\r\n \"addressPrefixes\": [\r\ - \n \"13.69.64.224/29\",\r\n \"13.93.112.146/32\",\r\n \ - \ \"13.93.117.26/32\",\r\n \"40.74.24.72/29\",\r\n \ - \ \"2603:1020:206:1::40/122\"\r\n ]\r\n }\r\n },\r\n {\r\ - \n \"name\": \"GatewayManager.WestIndia\",\r\n \"id\": \"GatewayManager.WestIndia\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \ - \ \"region\": \"westindia\",\r\n \"state\": \"GA\",\r\n \"\ - networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n \ - \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\"\ - : \"GatewayManager\",\r\n \"addressPrefixes\": [\r\n \"40.81.94.172/32\"\ - ,\r\n \"40.81.94.182/32\",\r\n \"52.136.48.72/29\",\r\n\ - \ \"104.211.146.88/29\",\r\n \"104.211.188.0/32\",\r\n \ - \ \"104.211.191.94/32\",\r\n \"2603:1040:806::40/122\"\r\n\ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"GatewayManager.WestUS\"\ - ,\r\n \"id\": \"GatewayManager.WestUS\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"2\",\r\n \"region\": \"westus\",\r\n\ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"GatewayManager\",\r\n \ - \ \"addressPrefixes\": [\r\n \"13.91.249.235/32\",\r\n \ - \ \"13.91.254.232/32\",\r\n \"20.189.180.225/32\",\r\n \ - \ \"20.189.181.8/32\",\r\n \"40.82.248.240/29\",\r\n \"\ - 40.112.242.168/29\",\r\n \"168.62.208.162/32\",\r\n \"168.62.209.95/32\"\ - ,\r\n \"2603:1030:a07::40/122\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"GatewayManager.WestUS2\",\r\n \"id\": \"\ - GatewayManager.WestUS2\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"2\",\r\n \"region\": \"westus2\",\r\n \"state\": \"GA\"\ - ,\r\n \"networkFeatures\": [\r\n \"API\",\r\n \"\ - NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n ],\r\n \ - \ \"systemService\": \"GatewayManager\",\r\n \"addressPrefixes\": [\r\ - \n \"13.66.140.144/29\",\r\n \"20.42.128.72/29\",\r\n \ - \ \"40.91.89.36/32\",\r\n \"40.91.91.51/32\",\r\n \ - \ \"52.149.24.100/32\",\r\n \"52.149.26.14/32\",\r\n \"\ - 52.191.140.123/32\",\r\n \"52.191.170.38/32\",\r\n \"2603:1030:c06:1::40/122\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"GuestAndHybridManagement\"\ - ,\r\n \"id\": \"GuestAndHybridManagement\",\r\n \"properties\":\ - \ {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"AzureAutomation\",\r\n \ - \ \"addressPrefixes\": [\r\n \"13.65.24.129/32\",\r\n \ - \ \"13.66.138.94/31\",\r\n \"13.66.141.224/29\",\r\n \"\ - 13.66.145.80/28\",\r\n \"13.67.8.110/31\",\r\n \"13.67.10.72/29\"\ - ,\r\n \"13.69.64.78/31\",\r\n \"13.69.67.48/29\",\r\n \ - \ \"13.69.107.64/29\",\r\n \"13.69.109.128/31\",\r\n \ - \ \"13.69.109.176/28\",\r\n \"13.69.227.78/31\",\r\n \ - \ \"13.69.229.248/29\",\r\n \"13.70.72.30/31\",\r\n \"\ - 13.70.74.80/29\",\r\n \"13.70.123.166/32\",\r\n \"13.71.170.46/31\"\ - ,\r\n \"13.71.173.208/29\",\r\n \"13.71.175.144/28\",\r\n\ - \ \"13.71.194.118/31\",\r\n \"13.71.196.128/29\",\r\n \ - \ \"13.71.199.176/28\",\r\n \"13.73.242.40/29\",\r\n \ - \ \"13.73.242.210/31\",\r\n \"13.73.244.208/28\",\r\n \ - \ \"13.74.107.92/31\",\r\n \"13.74.108.136/29\",\r\n \"\ - 13.75.34.150/31\",\r\n \"13.75.39.104/29\",\r\n \"13.77.1.26/32\"\ - ,\r\n \"13.77.1.212/32\",\r\n \"13.77.50.70/31\",\r\n \ - \ \"13.77.53.56/29\",\r\n \"13.77.55.192/28\",\r\n \ - \ \"13.78.59.184/32\",\r\n \"13.78.106.94/31\",\r\n \"\ - 13.78.109.120/29\",\r\n \"13.78.111.208/28\",\r\n \"13.86.219.200/29\"\ - ,\r\n \"13.86.221.216/31\",\r\n \"13.86.223.64/28\",\r\n\ - \ \"13.87.56.86/31\",\r\n \"13.87.58.72/29\",\r\n \ - \ \"13.87.122.86/31\",\r\n \"13.87.124.72/29\",\r\n \"\ - 13.88.240.74/32\",\r\n \"13.88.244.195/32\",\r\n \"13.89.170.206/31\"\ - ,\r\n \"13.89.174.136/29\",\r\n \"13.89.178.96/28\",\r\n\ - \ \"13.94.240.75/32\",\r\n \"20.36.39.150/32\",\r\n \ - \ \"20.36.106.70/31\",\r\n \"20.36.108.128/29\",\r\n \ - \ \"20.36.108.240/28\",\r\n \"20.36.114.22/31\",\r\n \"\ - 20.36.117.32/29\",\r\n \"20.36.117.144/28\",\r\n \"20.37.74.226/31\"\ - ,\r\n \"20.37.76.120/29\",\r\n \"20.38.128.104/29\",\r\n\ - \ \"20.38.128.168/31\",\r\n \"20.38.132.0/28\",\r\n \ - \ \"20.38.147.152/29\",\r\n \"20.38.149.128/31\",\r\n \ - \ \"20.42.64.32/31\",\r\n \"20.42.72.128/31\",\r\n \"\ - 20.42.72.144/28\",\r\n \"20.43.120.248/29\",\r\n \"20.43.121.120/31\"\ - ,\r\n \"20.43.123.48/28\",\r\n \"20.44.2.6/31\",\r\n \ - \ \"20.44.4.104/29\",\r\n \"20.44.8.200/29\",\r\n \ - \ \"20.44.10.120/31\",\r\n \"20.44.17.8/29\",\r\n \"20.44.17.216/31\"\ - ,\r\n \"20.44.19.16/28\",\r\n \"20.44.27.112/29\",\r\n \ - \ \"20.44.29.48/31\",\r\n \"20.44.29.96/28\",\r\n \ - \ \"20.45.123.88/29\",\r\n \"20.45.123.232/31\",\r\n \"\ - 20.49.82.24/29\",\r\n \"20.49.90.24/29\",\r\n \"20.72.27.176/29\"\ - ,\r\n \"20.150.171.216/29\",\r\n \"20.150.172.224/31\",\r\ - \n \"20.150.179.192/29\",\r\n \"20.150.181.24/31\",\r\n\ - \ \"20.150.181.176/28\",\r\n \"20.150.187.192/29\",\r\n\ - \ \"20.150.189.24/31\",\r\n \"20.192.99.192/29\",\r\n \ - \ \"20.192.101.24/31\",\r\n \"20.192.184.64/28\",\r\n \ - \ \"20.192.234.176/28\",\r\n \"20.192.235.8/29\",\r\n \ - \ \"20.192.238.120/31\",\r\n \"20.193.202.176/28\",\r\n \ - \ \"20.193.203.192/29\",\r\n \"20.194.66.24/29\",\r\n \ - \ \"23.96.225.107/32\",\r\n \"23.96.225.182/32\",\r\n \"\ - 23.98.83.64/29\",\r\n \"23.98.86.56/31\",\r\n \"40.67.60.96/29\"\ - ,\r\n \"40.67.60.108/31\",\r\n \"40.69.106.70/31\",\r\n\ - \ \"40.69.108.88/29\",\r\n \"40.69.110.240/28\",\r\n \ - \ \"40.70.146.78/31\",\r\n \"40.70.148.48/29\",\r\n \ - \ \"40.71.10.206/31\",\r\n \"40.71.13.240/29\",\r\n \"\ - 40.71.30.252/32\",\r\n \"40.74.146.82/31\",\r\n \"40.74.149.32/29\"\ - ,\r\n \"40.74.150.16/28\",\r\n \"40.75.35.128/29\",\r\n\ - \ \"40.75.35.216/31\",\r\n \"40.78.194.70/31\",\r\n \ - \ \"40.78.196.88/29\",\r\n \"40.78.202.130/31\",\r\n \ - \ \"40.78.203.248/29\",\r\n \"40.78.229.40/29\",\r\n \"\ - 40.78.236.128/29\",\r\n \"40.78.238.56/31\",\r\n \"40.78.239.32/28\"\ - ,\r\n \"40.78.242.172/31\",\r\n \"40.78.243.24/29\",\r\n\ - \ \"40.78.250.108/31\",\r\n \"40.78.250.216/29\",\r\n \ - \ \"40.79.130.46/31\",\r\n \"40.79.132.40/29\",\r\n \ - \ \"40.79.138.44/31\",\r\n \"40.79.138.152/29\",\r\n \ - \ \"40.79.139.208/28\",\r\n \"40.79.146.44/31\",\r\n \"\ - 40.79.146.152/29\",\r\n \"40.79.156.40/29\",\r\n \"40.79.163.8/29\"\ - ,\r\n \"40.79.163.152/31\",\r\n \"40.79.170.248/29\",\r\n\ - \ \"40.79.171.224/31\",\r\n \"40.79.173.16/28\",\r\n \ - \ \"40.79.178.70/31\",\r\n \"40.79.180.56/29\",\r\n \ - \ \"40.79.180.208/28\",\r\n \"40.79.187.160/29\",\r\n \ - \ \"40.79.189.56/31\",\r\n \"40.79.194.120/29\",\r\n \"\ - 40.79.197.32/31\",\r\n \"40.80.51.88/29\",\r\n \"40.80.53.0/31\"\ - ,\r\n \"40.80.176.48/29\",\r\n \"40.80.180.0/31\",\r\n \ - \ \"40.80.180.96/28\",\r\n \"40.85.168.201/32\",\r\n \ - \ \"40.89.129.151/32\",\r\n \"40.89.132.62/32\",\r\n \ - \ \"40.89.137.16/32\",\r\n \"40.89.157.7/32\",\r\n \"\ - 40.114.77.89/32\",\r\n \"40.114.85.4/32\",\r\n \"40.118.103.191/32\"\ - ,\r\n \"40.120.8.32/28\",\r\n \"40.120.64.48/28\",\r\n \ - \ \"40.120.75.48/29\",\r\n \"51.11.97.0/31\",\r\n \ - \ \"51.11.97.64/28\",\r\n \"51.12.99.208/29\",\r\n \"\ - 51.12.203.72/29\",\r\n \"51.12.227.192/29\",\r\n \"51.12.235.192/29\"\ - ,\r\n \"51.104.8.240/29\",\r\n \"51.104.9.96/31\",\r\n \ - \ \"51.105.67.168/29\",\r\n \"51.105.69.80/31\",\r\n \ - \ \"51.105.75.152/29\",\r\n \"51.105.77.48/31\",\r\n \ - \ \"51.105.77.80/28\",\r\n \"51.107.60.80/29\",\r\n \"\ - 51.107.60.92/31\",\r\n \"51.107.60.208/28\",\r\n \"51.107.156.72/29\"\ - ,\r\n \"51.107.156.132/31\",\r\n \"51.107.156.208/28\",\r\ - \n \"51.116.60.80/29\",\r\n \"51.116.60.224/28\",\r\n \ - \ \"51.116.156.160/29\",\r\n \"51.116.158.56/31\",\r\n \ - \ \"51.116.158.80/28\",\r\n \"51.116.243.144/29\",\r\n \ - \ \"51.116.243.216/31\",\r\n \"51.116.251.32/29\",\r\n \ - \ \"51.116.251.184/31\",\r\n \"51.120.100.80/29\",\r\n \ - \ \"51.120.100.92/31\",\r\n \"51.120.107.192/29\",\r\n \ - \ \"51.120.109.24/31\",\r\n \"51.120.109.48/28\",\r\n \ - \ \"51.120.211.192/29\",\r\n \"51.120.213.24/31\",\r\n \"\ - 51.120.220.80/29\",\r\n \"51.120.220.92/31\",\r\n \"51.120.220.176/28\"\ - ,\r\n \"51.140.6.15/32\",\r\n \"51.140.51.174/32\",\r\n\ - \ \"51.140.212.104/29\",\r\n \"52.138.90.52/31\",\r\n \ - \ \"52.138.92.80/29\",\r\n \"52.138.227.136/29\",\r\n \ - \ \"52.138.229.64/31\",\r\n \"52.138.229.80/28\",\r\n \ - \ \"52.147.97.0/31\",\r\n \"52.151.62.99/32\",\r\n \"\ - 52.161.14.192/32\",\r\n \"52.161.28.108/32\",\r\n \"52.162.110.240/29\"\ - ,\r\n \"52.162.111.128/31\",\r\n \"52.163.228.23/32\",\r\ - \n \"52.167.107.72/29\",\r\n \"52.167.109.64/31\",\r\n \ - \ \"52.169.105.82/32\",\r\n \"52.172.153.216/32\",\r\n \ - \ \"52.172.155.142/32\",\r\n \"52.178.223.62/32\",\r\n \ - \ \"52.180.166.238/32\",\r\n \"52.180.179.25/32\",\r\n \ - \ \"52.182.139.56/29\",\r\n \"52.182.141.12/31\",\r\n \ - \ \"52.182.141.144/28\",\r\n \"52.183.5.195/32\",\r\n \ - \ \"52.231.18.46/31\",\r\n \"52.231.20.0/29\",\r\n \"52.231.64.18/32\"\ - ,\r\n \"52.231.69.100/32\",\r\n \"52.231.148.120/29\",\r\ - \n \"52.231.148.208/28\",\r\n \"52.236.186.240/29\",\r\n\ - \ \"52.236.189.72/31\",\r\n \"52.240.241.64/28\",\r\n \ - \ \"52.246.155.152/29\",\r\n \"52.246.157.0/31\",\r\n \ - \ \"65.52.250.6/31\",\r\n \"65.52.252.120/29\",\r\n \ - \ \"102.37.64.32/28\",\r\n \"102.133.26.6/31\",\r\n \"\ - 102.133.28.144/29\",\r\n \"102.133.124.16/29\",\r\n \"102.133.156.112/29\"\ - ,\r\n \"102.133.251.176/29\",\r\n \"102.133.253.32/28\"\ - ,\r\n \"104.41.9.106/32\",\r\n \"104.41.178.182/32\",\r\n\ - \ \"104.208.163.218/32\",\r\n \"104.209.137.89/32\",\r\n\ - \ \"104.210.80.208/32\",\r\n \"104.210.158.71/32\",\r\n\ - \ \"104.214.164.32/28\",\r\n \"104.215.254.56/32\",\r\n\ - \ \"168.61.140.48/28\",\r\n \"191.232.170.251/32\",\r\n\ - \ \"191.233.51.144/29\",\r\n \"191.233.203.30/31\",\r\n\ - \ \"191.233.205.64/29\",\r\n \"191.234.147.192/29\",\r\n\ - \ \"191.234.149.48/28\",\r\n \"191.234.149.136/31\",\r\n\ - \ \"191.234.155.192/29\",\r\n \"191.234.157.40/31\",\r\n\ - \ \"2603:1000:4:402::2c0/124\",\r\n \"2603:1000:104:402::2c0/124\"\ - ,\r\n \"2603:1000:104:802::200/124\",\r\n \"2603:1000:104:c02::200/124\"\ - ,\r\n \"2603:1010:6:402::2c0/124\",\r\n \"2603:1010:6:802::200/124\"\ - ,\r\n \"2603:1010:6:c02::200/124\",\r\n \"2603:1010:101:402::2c0/124\"\ - ,\r\n \"2603:1010:304:402::2c0/124\",\r\n \"2603:1010:404:402::2c0/124\"\ - ,\r\n \"2603:1020:5:402::2c0/124\",\r\n \"2603:1020:5:802::200/124\"\ - ,\r\n \"2603:1020:5:c02::200/124\",\r\n \"2603:1020:206:402::2c0/124\"\ - ,\r\n \"2603:1020:206:802::200/124\",\r\n \"2603:1020:206:c02::200/124\"\ - ,\r\n \"2603:1020:305:402::2c0/124\",\r\n \"2603:1020:405:402::2c0/124\"\ - ,\r\n \"2603:1020:605:402::2c0/124\",\r\n \"2603:1020:705:402::2c0/124\"\ - ,\r\n \"2603:1020:705:802::200/124\",\r\n \"2603:1020:705:c02::200/124\"\ - ,\r\n \"2603:1020:805:402::2c0/124\",\r\n \"2603:1020:805:802::200/124\"\ - ,\r\n \"2603:1020:805:c02::200/124\",\r\n \"2603:1020:905:402::2c0/124\"\ - ,\r\n \"2603:1020:a04:402::2c0/124\",\r\n \"2603:1020:a04:802::200/124\"\ - ,\r\n \"2603:1020:a04:c02::200/124\",\r\n \"2603:1020:b04:402::2c0/124\"\ - ,\r\n \"2603:1020:c04:402::2c0/124\",\r\n \"2603:1020:c04:802::200/124\"\ - ,\r\n \"2603:1020:c04:c02::200/124\",\r\n \"2603:1020:d04:402::2c0/124\"\ - ,\r\n \"2603:1020:e04:402::2c0/124\",\r\n \"2603:1020:e04:802::200/124\"\ - ,\r\n \"2603:1020:e04:c02::200/124\",\r\n \"2603:1020:f04:402::2c0/124\"\ - ,\r\n \"2603:1020:1004:400::1c0/124\",\r\n \"2603:1020:1004:400::2e0/124\"\ - ,\r\n \"2603:1020:1004:400::3a0/124\",\r\n \"2603:1020:1004:800::3d0/124\"\ - ,\r\n \"2603:1020:1004:800::3f0/124\",\r\n \"2603:1020:1104:400::2c0/124\"\ - ,\r\n \"2603:1030:f:400::ac0/124\",\r\n \"2603:1030:10:402::2c0/124\"\ - ,\r\n \"2603:1030:10:802::200/124\",\r\n \"2603:1030:10:c02::200/124\"\ - ,\r\n \"2603:1030:104:402::2c0/124\",\r\n \"2603:1030:107:400::240/124\"\ - ,\r\n \"2603:1030:210:402::2c0/124\",\r\n \"2603:1030:210:802::200/124\"\ - ,\r\n \"2603:1030:210:c02::200/124\",\r\n \"2603:1030:40b:400::ac0/124\"\ - ,\r\n \"2603:1030:40b:800::200/124\",\r\n \"2603:1030:40b:c00::200/124\"\ - ,\r\n \"2603:1030:40c:402::2c0/124\",\r\n \"2603:1030:40c:802::200/124\"\ - ,\r\n \"2603:1030:40c:c02::200/124\",\r\n \"2603:1030:504:402::1c0/124\"\ - ,\r\n \"2603:1030:504:402::2e0/124\",\r\n \"2603:1030:504:402::3a0/124\"\ - ,\r\n \"2603:1030:504:802::3d0/124\",\r\n \"2603:1030:504:802::3f0/124\"\ - ,\r\n \"2603:1030:608:402::2c0/124\",\r\n \"2603:1030:807:402::2c0/124\"\ - ,\r\n \"2603:1030:807:802::200/124\",\r\n \"2603:1030:807:c02::200/124\"\ - ,\r\n \"2603:1030:a07:402::940/124\",\r\n \"2603:1030:b04:402::2c0/124\"\ - ,\r\n \"2603:1030:c06:400::ac0/124\",\r\n \"2603:1030:c06:802::200/124\"\ - ,\r\n \"2603:1030:c06:c02::200/124\",\r\n \"2603:1030:f05:402::2c0/124\"\ - ,\r\n \"2603:1030:f05:802::200/124\",\r\n \"2603:1030:f05:c02::200/124\"\ - ,\r\n \"2603:1030:1005:402::2c0/124\",\r\n \"2603:1040:5:402::2c0/124\"\ - ,\r\n \"2603:1040:5:802::200/124\",\r\n \"2603:1040:5:c02::200/124\"\ - ,\r\n \"2603:1040:207:402::2c0/124\",\r\n \"2603:1040:407:402::2c0/124\"\ - ,\r\n \"2603:1040:407:802::200/124\",\r\n \"2603:1040:407:c02::200/124\"\ - ,\r\n \"2603:1040:606:402::2c0/124\",\r\n \"2603:1040:806:402::2c0/124\"\ - ,\r\n \"2603:1040:904:402::2c0/124\",\r\n \"2603:1040:904:802::200/124\"\ - ,\r\n \"2603:1040:904:c02::200/124\",\r\n \"2603:1040:a06:402::2c0/124\"\ - ,\r\n \"2603:1040:a06:802::200/124\",\r\n \"2603:1040:a06:c02::200/124\"\ - ,\r\n \"2603:1040:b04:402::2c0/124\",\r\n \"2603:1040:c06:402::2c0/124\"\ - ,\r\n \"2603:1040:d04:400::1c0/124\",\r\n \"2603:1040:d04:400::2e0/124\"\ - ,\r\n \"2603:1040:d04:400::3a0/124\",\r\n \"2603:1040:d04:800::3d0/124\"\ - ,\r\n \"2603:1040:d04:800::3f0/124\",\r\n \"2603:1040:f05:402::2c0/124\"\ - ,\r\n \"2603:1040:f05:802::200/124\",\r\n \"2603:1040:f05:c02::200/124\"\ - ,\r\n \"2603:1040:1104:400::2c0/124\",\r\n \"2603:1050:6:402::2c0/124\"\ - ,\r\n \"2603:1050:6:802::200/124\",\r\n \"2603:1050:6:c02::200/124\"\ - ,\r\n \"2603:1050:403:400::1e0/124\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"GuestAndHybridManagement.BrazilSouth\"\ - ,\r\n \"id\": \"GuestAndHybridManagement.BrazilSouth\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"brazilsouth\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"AzureAutomation\",\r\n \"addressPrefixes\": [\r\n \"104.41.9.106/32\"\ - ,\r\n \"191.232.170.251/32\",\r\n \"191.233.203.30/31\"\ - ,\r\n \"191.233.205.64/29\",\r\n \"191.234.147.192/29\"\ - ,\r\n \"191.234.149.48/28\",\r\n \"191.234.149.136/31\"\ - ,\r\n \"191.234.155.192/29\",\r\n \"191.234.157.40/31\"\ - ,\r\n \"2603:1050:6:402::2c0/124\",\r\n \"2603:1050:6:802::200/124\"\ - ,\r\n \"2603:1050:6:c02::200/124\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"GuestAndHybridManagement.KoreaCentral\"\ - ,\r\n \"id\": \"GuestAndHybridManagement.KoreaCentral\",\r\n \"\ - properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\"\ - : \"koreacentral\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"\ - systemService\": \"AzureAutomation\",\r\n \"addressPrefixes\": [\r\n\ - \ \"20.44.27.112/29\",\r\n \"20.44.29.48/31\",\r\n \ - \ \"20.44.29.96/28\",\r\n \"20.194.66.24/29\",\r\n \"\ - 52.231.18.46/31\",\r\n \"52.231.20.0/29\",\r\n \"52.231.64.18/32\"\ - ,\r\n \"52.231.69.100/32\",\r\n \"2603:1040:f05:402::2c0/124\"\ - ,\r\n \"2603:1040:f05:802::200/124\",\r\n \"2603:1040:f05:c02::200/124\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"GuestAndHybridManagement.NorwayEast\"\ - ,\r\n \"id\": \"GuestAndHybridManagement.NorwayEast\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"norwaye\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"AzureAutomation\",\r\n \"addressPrefixes\": [\r\n \"51.120.100.80/29\"\ - ,\r\n \"51.120.100.92/31\",\r\n \"51.120.107.192/29\",\r\ - \n \"51.120.109.24/31\",\r\n \"51.120.109.48/28\",\r\n \ - \ \"51.120.211.192/29\",\r\n \"51.120.213.24/31\",\r\n \ - \ \"2603:1020:e04:402::2c0/124\",\r\n \"2603:1020:e04:802::200/124\"\ - ,\r\n \"2603:1020:e04:c02::200/124\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"GuestAndHybridManagement.NorwayWest\"\ - ,\r\n \"id\": \"GuestAndHybridManagement.NorwayWest\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"norwayw\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"AzureAutomation\",\r\n \"addressPrefixes\": [\r\n \"51.120.220.80/29\"\ - ,\r\n \"51.120.220.92/31\",\r\n \"51.120.220.176/28\",\r\ - \n \"2603:1020:f04:402::2c0/124\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"GuestAndHybridManagement.SwitzerlandWest\"\ - ,\r\n \"id\": \"GuestAndHybridManagement.SwitzerlandWest\",\r\n \ - \ \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\"\ - : \"switzerlandw\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"\ - systemService\": \"AzureAutomation\",\r\n \"addressPrefixes\": [\r\n\ - \ \"51.107.156.72/29\",\r\n \"51.107.156.132/31\",\r\n \ - \ \"51.107.156.208/28\",\r\n \"2603:1020:b04:402::2c0/124\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"HDInsight\"\ - ,\r\n \"id\": \"HDInsight\",\r\n \"properties\": {\r\n \"\ - changeNumber\": \"3\",\r\n \"region\": \"\",\r\n \"state\":\ - \ \"GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\n \ - \ \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n ],\r\n\ - \ \"systemService\": \"HDInsight\",\r\n \"addressPrefixes\"\ - : [\r\n \"13.64.254.98/32\",\r\n \"13.66.141.144/29\",\r\ - \n \"13.67.9.152/29\",\r\n \"13.69.65.8/29\",\r\n \ - \ \"13.69.229.72/29\",\r\n \"13.70.73.96/29\",\r\n \"\ - 13.71.172.240/29\",\r\n \"13.71.196.48/29\",\r\n \"13.73.240.8/29\"\ - ,\r\n \"13.73.254.192/29\",\r\n \"13.74.153.132/32\",\r\n\ - \ \"13.75.38.112/29\",\r\n \"13.75.152.195/32\",\r\n \ - \ \"13.76.136.249/32\",\r\n \"13.76.245.160/32\",\r\n \ - \ \"13.77.2.56/32\",\r\n \"13.77.2.94/32\",\r\n \"13.77.52.8/29\"\ - ,\r\n \"13.78.89.60/32\",\r\n \"13.78.125.90/32\",\r\n \ - \ \"13.82.225.233/32\",\r\n \"13.86.218.240/29\",\r\n \ - \ \"13.87.58.32/29\",\r\n \"13.87.124.32/29\",\r\n \ - \ \"13.89.171.120/29\",\r\n \"20.36.36.33/32\",\r\n \"\ - 20.36.36.196/32\",\r\n \"20.36.123.88/29\",\r\n \"20.37.68.40/29\"\ - ,\r\n \"20.37.76.96/29\",\r\n \"20.37.228.0/29\",\r\n \ - \ \"20.38.139.88/29\",\r\n \"20.39.15.48/29\",\r\n \ - \ \"20.40.207.144/29\",\r\n \"20.41.69.32/29\",\r\n \"\ - 20.41.197.120/29\",\r\n \"20.43.45.224/29\",\r\n \"20.43.120.8/29\"\ - ,\r\n \"20.44.4.64/29\",\r\n \"20.44.16.8/29\",\r\n \ - \ \"20.44.26.240/29\",\r\n \"20.45.115.128/29\",\r\n \ - \ \"20.45.198.80/29\",\r\n \"20.48.192.24/29\",\r\n \"\ - 20.49.102.48/29\",\r\n \"20.49.114.56/29\",\r\n \"20.49.126.128/29\"\ - ,\r\n \"20.53.40.120/29\",\r\n \"20.61.96.160/29\",\r\n\ - \ \"20.72.20.40/29\",\r\n \"20.150.167.176/29\",\r\n \ - \ \"20.150.172.232/29\",\r\n \"20.188.39.64/32\",\r\n \ - \ \"20.189.111.192/29\",\r\n \"20.191.160.0/29\",\r\n \ - \ \"20.192.48.216/29\",\r\n \"20.192.235.248/29\",\r\n \ - \ \"20.193.194.16/29\",\r\n \"20.193.203.200/29\",\r\n \ - \ \"23.98.107.192/29\",\r\n \"23.99.5.239/32\",\r\n \"23.101.196.19/32\"\ - ,\r\n \"23.102.235.122/32\",\r\n \"40.64.134.160/29\",\r\ - \n \"40.67.50.248/29\",\r\n \"40.67.60.64/29\",\r\n \ - \ \"40.69.107.8/29\",\r\n \"40.71.13.160/29\",\r\n \ - \ \"40.71.175.99/32\",\r\n \"40.74.101.192/29\",\r\n \"\ - 40.74.125.69/32\",\r\n \"40.74.146.88/29\",\r\n \"40.78.195.8/29\"\ - ,\r\n \"40.78.202.136/29\",\r\n \"40.79.130.248/29\",\r\n\ - \ \"40.79.180.16/29\",\r\n \"40.79.187.0/29\",\r\n \ - \ \"40.80.63.144/29\",\r\n \"40.80.172.120/29\",\r\n \ - \ \"40.89.22.88/29\",\r\n \"40.89.65.220/32\",\r\n \"40.89.68.134/32\"\ - ,\r\n \"40.89.157.135/32\",\r\n \"51.12.17.48/29\",\r\n\ - \ \"51.12.25.48/29\",\r\n \"51.104.8.96/29\",\r\n \ - \ \"51.104.31.56/29\",\r\n \"51.105.92.56/29\",\r\n \"\ - 51.107.52.208/29\",\r\n \"51.107.60.48/29\",\r\n \"51.107.148.24/29\"\ - ,\r\n \"51.107.156.56/29\",\r\n \"51.116.49.168/29\",\r\n\ - \ \"51.116.60.48/29\",\r\n \"51.116.145.168/29\",\r\n \ - \ \"51.116.156.48/29\",\r\n \"51.120.43.88/29\",\r\n \ - \ \"51.120.100.48/29\",\r\n \"51.120.220.48/29\",\r\n \ - \ \"51.120.228.40/29\",\r\n \"51.137.166.32/29\",\r\n \ - \ \"51.140.47.39/32\",\r\n \"51.140.52.16/32\",\r\n \"51.140.211.24/29\"\ - ,\r\n \"51.141.7.20/32\",\r\n \"51.141.13.110/32\",\r\n\ - \ \"52.136.52.40/29\",\r\n \"52.140.108.248/29\",\r\n \ - \ \"52.146.79.136/29\",\r\n \"52.146.130.184/29\",\r\n \ - \ \"52.150.154.192/29\",\r\n \"52.161.10.167/32\",\r\n \ - \ \"52.161.23.15/32\",\r\n \"52.162.110.160/29\",\r\n \ - \ \"52.164.210.96/32\",\r\n \"52.166.243.90/32\",\r\n \ - \ \"52.172.152.49/32\",\r\n \"52.172.153.209/32\",\r\n \ - \ \"52.174.36.244/32\",\r\n \"52.175.38.134/32\",\r\n \"\ - 52.175.211.210/32\",\r\n \"52.175.222.222/32\",\r\n \"52.180.183.49/32\"\ - ,\r\n \"52.180.183.58/32\",\r\n \"52.228.37.66/32\",\r\n\ - \ \"52.228.45.222/32\",\r\n \"52.229.123.172/32\",\r\n \ - \ \"52.229.127.96/32\",\r\n \"52.231.36.209/32\",\r\n \ - \ \"52.231.39.142/32\",\r\n \"52.231.147.24/29\",\r\n \ - \ \"52.231.203.16/32\",\r\n \"52.231.205.214/32\",\r\n \ - \ \"65.52.252.96/29\",\r\n \"102.133.28.80/29\",\r\n \ - \ \"102.133.60.32/29\",\r\n \"102.133.124.0/29\",\r\n \"\ - 102.133.219.176/29\",\r\n \"104.46.176.168/29\",\r\n \"\ - 104.210.84.115/32\",\r\n \"104.211.216.210/32\",\r\n \"\ - 104.211.223.67/32\",\r\n \"138.91.29.150/32\",\r\n \"138.91.141.162/32\"\ - ,\r\n \"157.55.213.99/32\",\r\n \"157.56.8.38/32\",\r\n\ - \ \"168.61.48.131/32\",\r\n \"168.61.49.99/32\",\r\n \ - \ \"191.233.10.184/29\",\r\n \"191.233.51.152/29\",\r\n \ - \ \"191.233.204.240/29\",\r\n \"191.234.138.128/29\",\r\n \ - \ \"191.235.84.104/32\",\r\n \"191.235.87.113/32\",\r\n \ - \ \"2603:1000:4:402::320/124\",\r\n \"2603:1000:104:402::320/124\"\ - ,\r\n \"2603:1010:6:402::320/124\",\r\n \"2603:1010:101:402::320/124\"\ - ,\r\n \"2603:1010:304:402::320/124\",\r\n \"2603:1010:404:402::320/124\"\ - ,\r\n \"2603:1020:5:402::320/124\",\r\n \"2603:1020:206:402::320/124\"\ - ,\r\n \"2603:1020:305:402::320/124\",\r\n \"2603:1020:405:402::320/124\"\ - ,\r\n \"2603:1020:605:402::320/124\",\r\n \"2603:1020:705:402::320/124\"\ - ,\r\n \"2603:1020:805:402::320/124\",\r\n \"2603:1020:905:402::320/124\"\ - ,\r\n \"2603:1020:a04:402::320/124\",\r\n \"2603:1020:b04:402::320/124\"\ - ,\r\n \"2603:1020:c04:402::320/124\",\r\n \"2603:1020:d04:402::320/124\"\ - ,\r\n \"2603:1020:e04:402::320/124\",\r\n \"2603:1020:f04:402::320/124\"\ - ,\r\n \"2603:1020:1004:1::1e0/124\",\r\n \"2603:1020:1104:1::140/124\"\ - ,\r\n \"2603:1030:f:400::b20/124\",\r\n \"2603:1030:10:402::320/124\"\ - ,\r\n \"2603:1030:104:402::320/124\",\r\n \"2603:1030:107::720/124\"\ - ,\r\n \"2603:1030:210:402::320/124\",\r\n \"2603:1030:40b:400::b20/124\"\ - ,\r\n \"2603:1030:40c:402::320/124\",\r\n \"2603:1030:504::1e0/124\"\ - ,\r\n \"2603:1030:608:402::320/124\",\r\n \"2603:1030:807:402::320/124\"\ - ,\r\n \"2603:1030:a07:402::9a0/124\",\r\n \"2603:1030:b04:402::320/124\"\ - ,\r\n \"2603:1030:c06:400::b20/124\",\r\n \"2603:1030:f05:402::320/124\"\ - ,\r\n \"2603:1030:1005:402::320/124\",\r\n \"2603:1040:5:402::320/124\"\ - ,\r\n \"2603:1040:207:402::320/124\",\r\n \"2603:1040:407:402::320/124\"\ - ,\r\n \"2603:1040:606:402::320/124\",\r\n \"2603:1040:806:402::320/124\"\ - ,\r\n \"2603:1040:904:402::320/124\",\r\n \"2603:1040:a06:402::320/124\"\ - ,\r\n \"2603:1040:b04:402::320/124\",\r\n \"2603:1040:c06:402::320/124\"\ - ,\r\n \"2603:1040:d04:1::1e0/124\",\r\n \"2603:1040:f05:402::320/124\"\ - ,\r\n \"2603:1040:1104:1::140/124\",\r\n \"2603:1050:6:402::320/124\"\ - ,\r\n \"2603:1050:403:400::420/124\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"HDInsight.AustraliaCentral\",\r\n \ - \ \"id\": \"HDInsight.AustraliaCentral\",\r\n \"properties\": {\r\n\ - \ \"changeNumber\": \"2\",\r\n \"region\": \"australiacentral\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"HDInsight\",\r\n \ - \ \"addressPrefixes\": [\r\n \"20.36.36.33/32\",\r\n \"\ - 20.36.36.196/32\",\r\n \"20.37.228.0/29\",\r\n \"2603:1010:304:402::320/124\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"HDInsight.AustraliaEast\"\ - ,\r\n \"id\": \"HDInsight.AustraliaEast\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"2\",\r\n \"region\": \"australiaeast\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"HDInsight\",\r\n \ - \ \"addressPrefixes\": [\r\n \"13.70.73.96/29\",\r\n \"\ - 13.75.152.195/32\",\r\n \"20.53.40.120/29\",\r\n \"104.210.84.115/32\"\ - ,\r\n \"2603:1010:6:402::320/124\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"HDInsight.AustraliaSoutheast\",\r\n \ - \ \"id\": \"HDInsight.AustraliaSoutheast\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"2\",\r\n \"region\": \"australiasoutheast\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"HDInsight\",\r\n \ - \ \"addressPrefixes\": [\r\n \"13.77.2.56/32\",\r\n \"\ - 13.77.2.94/32\",\r\n \"13.77.52.8/29\",\r\n \"104.46.176.168/29\"\ - ,\r\n \"2603:1010:101:402::320/124\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"HDInsight.BrazilSouth\",\r\n \"\ - id\": \"HDInsight.BrazilSouth\",\r\n \"properties\": {\r\n \"\ - changeNumber\": \"2\",\r\n \"region\": \"brazilsouth\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"API\"\ - ,\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n \ - \ ],\r\n \"systemService\": \"HDInsight\",\r\n \"addressPrefixes\"\ - : [\r\n \"191.233.204.240/29\",\r\n \"191.234.138.128/29\"\ - ,\r\n \"191.235.84.104/32\",\r\n \"191.235.87.113/32\",\r\ - \n \"2603:1050:6:402::320/124\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"HDInsight.CanadaCentral\",\r\n \"id\": \"\ - HDInsight.CanadaCentral\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"2\",\r\n \"region\": \"canadacentral\",\r\n \"state\": \"\ - GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\n \ - \ \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n ],\r\n \ - \ \"systemService\": \"HDInsight\",\r\n \"addressPrefixes\": [\r\ - \n \"13.71.172.240/29\",\r\n \"20.48.192.24/29\",\r\n \ - \ \"52.228.37.66/32\",\r\n \"52.228.45.222/32\",\r\n \ - \ \"2603:1030:f05:402::320/124\"\r\n ]\r\n }\r\n },\r\n\ - \ {\r\n \"name\": \"HDInsight.CanadaEast\",\r\n \"id\": \"HDInsight.CanadaEast\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \ - \ \"region\": \"canadaeast\",\r\n \"state\": \"GA\",\r\n \"\ - networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n \ - \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\"\ - : \"HDInsight\",\r\n \"addressPrefixes\": [\r\n \"40.69.107.8/29\"\ - ,\r\n \"40.89.22.88/29\",\r\n \"52.229.123.172/32\",\r\n\ - \ \"52.229.127.96/32\",\r\n \"2603:1030:1005:402::320/124\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"HDInsight.CentralIndia\"\ - ,\r\n \"id\": \"HDInsight.CentralIndia\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"2\",\r\n \"region\": \"centralindia\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"HDInsight\",\r\n \ - \ \"addressPrefixes\": [\r\n \"20.43.120.8/29\",\r\n \"\ - 52.140.108.248/29\",\r\n \"52.172.152.49/32\",\r\n \"52.172.153.209/32\"\ - ,\r\n \"2603:1040:a06:402::320/124\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"HDInsight.CentralUS\",\r\n \"id\"\ - : \"HDInsight.CentralUS\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"2\",\r\n \"region\": \"centralus\",\r\n \"state\": \"GA\"\ - ,\r\n \"networkFeatures\": [\r\n \"API\",\r\n \"\ - NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n ],\r\n \ - \ \"systemService\": \"HDInsight\",\r\n \"addressPrefixes\": [\r\n\ - \ \"13.89.171.120/29\",\r\n \"20.40.207.144/29\",\r\n \ - \ \"2603:1030:10:402::320/124\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"HDInsight.CentralUSEUAP\",\r\n \"id\": \"\ - HDInsight.CentralUSEUAP\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"2\",\r\n \"region\": \"centraluseuap\",\r\n \"state\": \"\ - GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\n \ - \ \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n ],\r\n \ - \ \"systemService\": \"HDInsight\",\r\n \"addressPrefixes\": [\r\ - \n \"20.45.198.80/29\",\r\n \"40.78.202.136/29\",\r\n \ - \ \"52.180.183.49/32\",\r\n \"52.180.183.58/32\",\r\n \ - \ \"2603:1030:f:400::b20/124\"\r\n ]\r\n }\r\n },\r\n\ - \ {\r\n \"name\": \"HDInsight.EastAsia\",\r\n \"id\": \"HDInsight.EastAsia\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \ - \ \"region\": \"eastasia\",\r\n \"state\": \"GA\",\r\n \"\ - networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n \ - \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\"\ - : \"HDInsight\",\r\n \"addressPrefixes\": [\r\n \"13.75.38.112/29\"\ - ,\r\n \"20.189.111.192/29\",\r\n \"23.102.235.122/32\",\r\ - \n \"52.175.38.134/32\",\r\n \"2603:1040:207:402::320/124\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"HDInsight.EastUS\"\ - ,\r\n \"id\": \"HDInsight.EastUS\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"2\",\r\n \"region\": \"eastus\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"\ - API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n\ - \ ],\r\n \"systemService\": \"HDInsight\",\r\n \"addressPrefixes\"\ - : [\r\n \"13.82.225.233/32\",\r\n \"40.71.13.160/29\",\r\ - \n \"40.71.175.99/32\",\r\n \"52.146.79.136/29\",\r\n \ - \ \"168.61.48.131/32\",\r\n \"168.61.49.99/32\",\r\n \ - \ \"2603:1030:210:402::320/124\"\r\n ]\r\n }\r\n },\r\n\ - \ {\r\n \"name\": \"HDInsight.EastUS2\",\r\n \"id\": \"HDInsight.EastUS2\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \ - \ \"region\": \"eastus2\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n\ - \ \"FW\"\r\n ],\r\n \"systemService\": \"HDInsight\"\ - ,\r\n \"addressPrefixes\": [\r\n \"20.44.16.8/29\",\r\n \ - \ \"20.49.102.48/29\",\r\n \"2603:1030:40c:402::320/124\"\r\ - \n ]\r\n }\r\n },\r\n {\r\n \"name\": \"HDInsight.EastUS2EUAP\"\ - ,\r\n \"id\": \"HDInsight.EastUS2EUAP\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"2\",\r\n \"region\": \"eastus2euap\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"HDInsight\",\r\n \ - \ \"addressPrefixes\": [\r\n \"20.39.15.48/29\",\r\n \"\ - 40.74.146.88/29\",\r\n \"40.89.65.220/32\",\r\n \"40.89.68.134/32\"\ - ,\r\n \"2603:1030:40b:400::b20/124\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"HDInsight.FranceCentral\",\r\n \ - \ \"id\": \"HDInsight.FranceCentral\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"2\",\r\n \"region\": \"centralfrance\",\r\n\ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"HDInsight\",\r\n \"\ - addressPrefixes\": [\r\n \"20.43.45.224/29\",\r\n \"20.188.39.64/32\"\ - ,\r\n \"40.79.130.248/29\",\r\n \"40.89.157.135/32\",\r\n\ - \ \"2603:1020:805:402::320/124\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"HDInsight.FranceSouth\",\r\n \"id\": \"\ - HDInsight.FranceSouth\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"2\",\r\n \"region\": \"southfrance\",\r\n \"state\": \"\ - GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\n \ - \ \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n ],\r\n \ - \ \"systemService\": \"HDInsight\",\r\n \"addressPrefixes\": [\r\ - \n \"40.79.180.16/29\",\r\n \"51.105.92.56/29\",\r\n \ - \ \"2603:1020:905:402::320/124\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"HDInsight.GermanyNorth\",\r\n \"id\": \"\ - HDInsight.GermanyNorth\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"2\",\r\n \"region\": \"germanyn\",\r\n \"state\": \"GA\"\ - ,\r\n \"networkFeatures\": [\r\n \"API\",\r\n \"\ - NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n ],\r\n \ - \ \"systemService\": \"HDInsight\",\r\n \"addressPrefixes\": [\r\n\ - \ \"51.116.49.168/29\",\r\n \"51.116.60.48/29\",\r\n \ - \ \"2603:1020:d04:402::320/124\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"HDInsight.GermanyWestCentral\",\r\n \"id\"\ - : \"HDInsight.GermanyWestCentral\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"2\",\r\n \"region\": \"germanywc\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"API\"\ - ,\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n \ - \ ],\r\n \"systemService\": \"HDInsight\",\r\n \"addressPrefixes\"\ - : [\r\n \"51.116.145.168/29\",\r\n \"51.116.156.48/29\"\ - ,\r\n \"2603:1020:c04:402::320/124\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"HDInsight.JapanEast\",\r\n \"id\"\ - : \"HDInsight.JapanEast\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"2\",\r\n \"region\": \"japaneast\",\r\n \"state\": \"GA\"\ - ,\r\n \"networkFeatures\": [\r\n \"API\",\r\n \"\ - NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n ],\r\n \ - \ \"systemService\": \"HDInsight\",\r\n \"addressPrefixes\": [\r\n\ - \ \"13.78.89.60/32\",\r\n \"13.78.125.90/32\",\r\n \ - \ \"20.191.160.0/29\",\r\n \"40.79.187.0/29\",\r\n \"\ - 2603:1040:407:402::320/124\"\r\n ]\r\n }\r\n },\r\n {\r\n\ - \ \"name\": \"HDInsight.JapanWest\",\r\n \"id\": \"HDInsight.JapanWest\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \ - \ \"region\": \"japanwest\",\r\n \"state\": \"GA\",\r\n \"\ - networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n \ - \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\"\ - : \"HDInsight\",\r\n \"addressPrefixes\": [\r\n \"40.74.101.192/29\"\ - ,\r\n \"40.74.125.69/32\",\r\n \"40.80.63.144/29\",\r\n\ - \ \"138.91.29.150/32\",\r\n \"2603:1040:606:402::320/124\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"HDInsight.KoreaCentral\"\ - ,\r\n \"id\": \"HDInsight.KoreaCentral\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"2\",\r\n \"region\": \"koreacentral\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"HDInsight\",\r\n \ - \ \"addressPrefixes\": [\r\n \"20.41.69.32/29\",\r\n \"\ - 20.44.26.240/29\",\r\n \"52.231.36.209/32\",\r\n \"52.231.39.142/32\"\ - ,\r\n \"2603:1040:f05:402::320/124\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"HDInsight.KoreaSouth\",\r\n \"\ - id\": \"HDInsight.KoreaSouth\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"2\",\r\n \"region\": \"koreasouth\",\r\n \"state\": \"GA\"\ - ,\r\n \"networkFeatures\": [\r\n \"API\",\r\n \"\ - NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n ],\r\n \ - \ \"systemService\": \"HDInsight\",\r\n \"addressPrefixes\": [\r\n\ - \ \"40.80.172.120/29\",\r\n \"52.231.147.24/29\",\r\n \ - \ \"52.231.203.16/32\",\r\n \"52.231.205.214/32\"\r\n \ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"HDInsight.NorthCentralUS\"\ - ,\r\n \"id\": \"HDInsight.NorthCentralUS\",\r\n \"properties\":\ - \ {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"northcentralus\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"HDInsight\",\r\n \ - \ \"addressPrefixes\": [\r\n \"20.49.114.56/29\",\r\n \"\ - 52.162.110.160/29\",\r\n \"157.55.213.99/32\",\r\n \"157.56.8.38/32\"\ - ,\r\n \"2603:1030:608:402::320/124\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"HDInsight.NorthEurope\",\r\n \"\ - id\": \"HDInsight.NorthEurope\",\r\n \"properties\": {\r\n \"\ - changeNumber\": \"2\",\r\n \"region\": \"northeurope\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"API\"\ - ,\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n \ - \ ],\r\n \"systemService\": \"HDInsight\",\r\n \"addressPrefixes\"\ - : [\r\n \"13.69.229.72/29\",\r\n \"13.74.153.132/32\",\r\ - \n \"52.146.130.184/29\",\r\n \"52.164.210.96/32\",\r\n\ - \ \"2603:1020:5:402::320/124\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"HDInsight.NorwayEast\",\r\n \"id\": \"HDInsight.NorwayEast\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \ - \ \"region\": \"norwaye\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n\ - \ \"FW\"\r\n ],\r\n \"systemService\": \"HDInsight\"\ - ,\r\n \"addressPrefixes\": [\r\n \"51.120.43.88/29\",\r\n\ - \ \"51.120.100.48/29\",\r\n \"2603:1020:e04:402::320/124\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"HDInsight.NorwayWest\"\ - ,\r\n \"id\": \"HDInsight.NorwayWest\",\r\n \"properties\": {\r\n\ - \ \"changeNumber\": \"2\",\r\n \"region\": \"norwayw\",\r\n\ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"HDInsight\",\r\n \"\ - addressPrefixes\": [\r\n \"51.120.220.48/29\",\r\n \"51.120.228.40/29\"\ - ,\r\n \"2603:1020:f04:402::320/124\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"HDInsight.SouthAfricaNorth\",\r\n \ - \ \"id\": \"HDInsight.SouthAfricaNorth\",\r\n \"properties\": {\r\n\ - \ \"changeNumber\": \"2\",\r\n \"region\": \"southafricanorth\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"HDInsight\",\r\n \ - \ \"addressPrefixes\": [\r\n \"102.133.124.0/29\",\r\n \ - \ \"102.133.219.176/29\",\r\n \"2603:1000:104:402::320/124\"\r\n\ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"HDInsight.SouthAfricaWest\"\ - ,\r\n \"id\": \"HDInsight.SouthAfricaWest\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"southafricawest\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"HDInsight\",\r\n \ - \ \"addressPrefixes\": [\r\n \"102.133.28.80/29\",\r\n \ - \ \"102.133.60.32/29\",\r\n \"2603:1000:4:402::320/124\"\r\n \ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"HDInsight.SouthCentralUS\"\ - ,\r\n \"id\": \"HDInsight.SouthCentralUS\",\r\n \"properties\":\ - \ {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"southcentralus\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"HDInsight\",\r\n \ - \ \"addressPrefixes\": [\r\n \"13.73.240.8/29\",\r\n \"\ - 13.73.254.192/29\",\r\n \"2603:1030:807:402::320/124\"\r\n \ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"HDInsight.SoutheastAsia\"\ - ,\r\n \"id\": \"HDInsight.SoutheastAsia\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"2\",\r\n \"region\": \"southeastasia\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"HDInsight\",\r\n \ - \ \"addressPrefixes\": [\r\n \"13.67.9.152/29\",\r\n \"\ - 13.76.136.249/32\",\r\n \"13.76.245.160/32\",\r\n \"23.98.107.192/29\"\ - ,\r\n \"2603:1040:5:402::320/124\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"HDInsight.SouthIndia\",\r\n \"id\"\ - : \"HDInsight.SouthIndia\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"2\",\r\n \"region\": \"southindia\",\r\n \"state\": \"GA\"\ - ,\r\n \"networkFeatures\": [\r\n \"API\",\r\n \"\ - NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n ],\r\n \ - \ \"systemService\": \"HDInsight\",\r\n \"addressPrefixes\": [\r\n\ - \ \"20.41.197.120/29\",\r\n \"40.78.195.8/29\",\r\n \ - \ \"104.211.216.210/32\",\r\n \"104.211.223.67/32\",\r\n \ - \ \"2603:1040:c06:402::320/124\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"HDInsight.SwitzerlandNorth\",\r\n \"id\"\ - : \"HDInsight.SwitzerlandNorth\",\r\n \"properties\": {\r\n \"\ - changeNumber\": \"2\",\r\n \"region\": \"switzerlandn\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"API\"\ - ,\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n \ - \ ],\r\n \"systemService\": \"HDInsight\",\r\n \"addressPrefixes\"\ - : [\r\n \"51.107.52.208/29\",\r\n \"51.107.60.48/29\",\r\ - \n \"2603:1020:a04:402::320/124\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"HDInsight.SwitzerlandWest\",\r\n \"\ - id\": \"HDInsight.SwitzerlandWest\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"2\",\r\n \"region\": \"switzerlandw\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"HDInsight\",\r\n \"\ - addressPrefixes\": [\r\n \"51.107.148.24/29\",\r\n \"51.107.156.56/29\"\ - ,\r\n \"2603:1020:b04:402::320/124\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"HDInsight.UAECentral\",\r\n \"\ - id\": \"HDInsight.UAECentral\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"2\",\r\n \"region\": \"uaecentral\",\r\n \"state\": \"GA\"\ - ,\r\n \"networkFeatures\": [\r\n \"API\",\r\n \"\ - NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n ],\r\n \ - \ \"systemService\": \"HDInsight\",\r\n \"addressPrefixes\": [\r\n\ - \ \"20.37.68.40/29\",\r\n \"20.37.76.96/29\",\r\n \ - \ \"2603:1040:b04:402::320/124\"\r\n ]\r\n }\r\n },\r\n\ - \ {\r\n \"name\": \"HDInsight.UAENorth\",\r\n \"id\": \"HDInsight.UAENorth\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \ - \ \"region\": \"uaenorth\",\r\n \"state\": \"GA\",\r\n \"\ - networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n \ - \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\"\ - : \"HDInsight\",\r\n \"addressPrefixes\": [\r\n \"20.38.139.88/29\"\ - ,\r\n \"65.52.252.96/29\",\r\n \"2603:1040:904:402::320/124\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"HDInsight.UKNorth\"\ - ,\r\n \"id\": \"HDInsight.UKNorth\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"2\",\r\n \"region\": \"uknorth\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\"\r\n ],\r\n \"systemService\": \"HDInsight\",\r\n \ - \ \"addressPrefixes\": [\r\n \"13.87.124.32/29\",\r\n \ - \ \"2603:1020:305:402::320/124\"\r\n ]\r\n }\r\n },\r\n\ - \ {\r\n \"name\": \"HDInsight.UKSouth\",\r\n \"id\": \"HDInsight.UKSouth\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \ - \ \"region\": \"uksouth\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"\ - systemService\": \"HDInsight\",\r\n \"addressPrefixes\": [\r\n \ - \ \"51.104.8.96/29\",\r\n \"51.104.31.56/29\",\r\n \ - \ \"51.140.47.39/32\",\r\n \"51.140.52.16/32\",\r\n \"2603:1020:705:402::320/124\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"HDInsight.UKWest\"\ - ,\r\n \"id\": \"HDInsight.UKWest\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"2\",\r\n \"region\": \"ukwest\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"\ - API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n\ - \ ],\r\n \"systemService\": \"HDInsight\",\r\n \"addressPrefixes\"\ - : [\r\n \"51.137.166.32/29\",\r\n \"51.140.211.24/29\",\r\ - \n \"51.141.7.20/32\",\r\n \"51.141.13.110/32\",\r\n \ - \ \"2603:1020:605:402::320/124\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"HDInsight.WestCentralUS\",\r\n \"id\": \"\ - HDInsight.WestCentralUS\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"2\",\r\n \"region\": \"westcentralus\",\r\n \"state\": \"\ - GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\n \ - \ \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n ],\r\n \ - \ \"systemService\": \"HDInsight\",\r\n \"addressPrefixes\": [\r\ - \n \"13.71.196.48/29\",\r\n \"52.150.154.192/29\",\r\n \ - \ \"52.161.10.167/32\",\r\n \"52.161.23.15/32\",\r\n \ - \ \"2603:1030:b04:402::320/124\"\r\n ]\r\n }\r\n },\r\n\ - \ {\r\n \"name\": \"HDInsight.WestEurope\",\r\n \"id\": \"HDInsight.WestEurope\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \ - \ \"region\": \"westeurope\",\r\n \"state\": \"GA\",\r\n \"\ - networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n \ - \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\"\ - : \"HDInsight\",\r\n \"addressPrefixes\": [\r\n \"13.69.65.8/29\"\ - ,\r\n \"20.61.96.160/29\",\r\n \"52.166.243.90/32\",\r\n\ - \ \"52.174.36.244/32\",\r\n \"2603:1020:206:402::320/124\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"HDInsight.WestUS\"\ - ,\r\n \"id\": \"HDInsight.WestUS\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"2\",\r\n \"region\": \"westus\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"\ - API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n\ - \ ],\r\n \"systemService\": \"HDInsight\",\r\n \"addressPrefixes\"\ - : [\r\n \"13.64.254.98/32\",\r\n \"13.86.218.240/29\",\r\ - \n \"20.49.126.128/29\",\r\n \"23.99.5.239/32\",\r\n \ - \ \"23.101.196.19/32\",\r\n \"138.91.141.162/32\",\r\n \ - \ \"2603:1030:a07:402::9a0/124\"\r\n ]\r\n }\r\n },\r\n\ - \ {\r\n \"name\": \"HDInsight.WestUS2\",\r\n \"id\": \"HDInsight.WestUS2\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \ - \ \"region\": \"westus2\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n\ - \ \"FW\"\r\n ],\r\n \"systemService\": \"HDInsight\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.66.141.144/29\",\r\n\ - \ \"40.64.134.160/29\",\r\n \"52.175.211.210/32\",\r\n \ - \ \"52.175.222.222/32\",\r\n \"2603:1030:c06:400::b20/124\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"LogicApps\"\ - ,\r\n \"id\": \"LogicApps\",\r\n \"properties\": {\r\n \"\ - changeNumber\": \"2\",\r\n \"region\": \"\",\r\n \"state\":\ - \ \"GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\n \ - \ \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n ],\r\n\ - \ \"systemService\": \"LogicApps\",\r\n \"addressPrefixes\"\ - : [\r\n \"13.65.39.247/32\",\r\n \"13.65.82.17/32\",\r\n\ - \ \"13.65.82.190/32\",\r\n \"13.65.86.56/32\",\r\n \ - \ \"13.65.98.39/32\",\r\n \"13.66.52.232/32\",\r\n \"\ - 13.66.128.68/32\",\r\n \"13.66.201.169/32\",\r\n \"13.66.210.167/32\"\ - ,\r\n \"13.66.224.169/32\",\r\n \"13.66.246.219/32\",\r\n\ - \ \"13.67.13.224/27\",\r\n \"13.67.91.135/32\",\r\n \ - \ \"13.67.107.128/32\",\r\n \"13.67.110.109/32\",\r\n \ - \ \"13.67.236.76/32\",\r\n \"13.67.236.125/32\",\r\n \ - \ \"13.69.71.160/27\",\r\n \"13.69.109.144/28\",\r\n \"\ - 13.69.231.160/27\",\r\n \"13.69.233.16/28\",\r\n \"13.70.78.192/27\"\ - ,\r\n \"13.70.159.205/32\",\r\n \"13.71.146.140/32\",\r\n\ - \ \"13.71.158.3/32\",\r\n \"13.71.158.120/32\",\r\n \ - \ \"13.71.184.150/32\",\r\n \"13.71.186.1/32\",\r\n \ - \ \"13.71.199.128/27\",\r\n \"13.71.199.160/28\",\r\n \"\ - 13.73.4.207/32\",\r\n \"13.73.114.207/32\",\r\n \"13.73.115.153/32\"\ - ,\r\n \"13.73.244.144/28\",\r\n \"13.73.244.160/27\",\r\n\ - \ \"13.75.89.159/32\",\r\n \"13.75.94.173/32\",\r\n \ - \ \"13.75.149.4/32\",\r\n \"13.75.153.66/32\",\r\n \ - \ \"13.76.4.194/32\",\r\n \"13.76.5.96/32\",\r\n \"13.76.133.155/32\"\ - ,\r\n \"13.77.3.139/32\",\r\n \"13.77.53.224/27\",\r\n \ - \ \"13.77.55.128/28\",\r\n \"13.77.56.167/32\",\r\n \ - \ \"13.77.58.136/32\",\r\n \"13.77.149.159/32\",\r\n \ - \ \"13.77.152.21/32\",\r\n \"13.78.18.168/32\",\r\n \"\ - 13.78.20.232/32\",\r\n \"13.78.21.155/32\",\r\n \"13.78.35.229/32\"\ - ,\r\n \"13.78.42.223/32\",\r\n \"13.78.43.164/32\",\r\n\ - \ \"13.78.62.130/32\",\r\n \"13.78.84.187/32\",\r\n \ - \ \"13.78.111.160/27\",\r\n \"13.78.129.20/32\",\r\n \ - \ \"13.78.137.179/32\",\r\n \"13.78.137.247/32\",\r\n \ - \ \"13.78.141.75/32\",\r\n \"13.78.148.140/32\",\r\n \"\ - 13.78.151.161/32\",\r\n \"13.79.173.49/32\",\r\n \"13.84.41.46/32\"\ - ,\r\n \"13.84.43.45/32\",\r\n \"13.84.159.168/32\",\r\n\ - \ \"13.85.79.155/32\",\r\n \"13.86.221.240/28\",\r\n \ - \ \"13.86.223.0/27\",\r\n \"13.87.58.144/28\",\r\n \ - \ \"13.87.58.160/27\",\r\n \"13.87.124.144/28\",\r\n \"\ - 13.87.124.160/27\",\r\n \"13.88.249.209/32\",\r\n \"13.89.178.48/28\"\ - ,\r\n \"13.91.252.184/32\",\r\n \"13.92.98.111/32\",\r\n\ - \ \"13.95.147.65/32\",\r\n \"13.95.155.53/32\",\r\n \ - \ \"20.36.108.192/27\",\r\n \"20.36.108.224/28\",\r\n \ - \ \"20.36.117.96/27\",\r\n \"20.36.117.128/28\",\r\n \ - \ \"20.37.76.208/28\",\r\n \"20.37.76.224/27\",\r\n \"20.38.128.176/28\"\ - ,\r\n \"20.38.128.192/27\",\r\n \"20.38.149.144/28\",\r\n\ - \ \"20.38.149.160/27\",\r\n \"20.42.64.48/28\",\r\n \ - \ \"20.42.72.160/27\",\r\n \"20.43.121.192/27\",\r\n \ - \ \"20.43.121.224/28\",\r\n \"20.44.4.176/28\",\r\n \"\ - 20.44.4.192/27\",\r\n \"20.44.17.224/27\",\r\n \"20.45.64.29/32\"\ - ,\r\n \"20.45.64.87/32\",\r\n \"20.45.67.134/31\",\r\n \ - \ \"20.45.67.170/32\",\r\n \"20.45.71.213/32\",\r\n \ - \ \"20.45.72.54/32\",\r\n \"20.45.72.72/32\",\r\n \"\ - 20.45.75.193/32\",\r\n \"20.45.75.200/32\",\r\n \"20.45.75.236/32\"\ - ,\r\n \"20.45.79.239/32\",\r\n \"20.72.30.160/28\",\r\n\ - \ \"20.72.30.192/27\",\r\n \"20.150.172.240/28\",\r\n \ - \ \"20.150.173.192/27\",\r\n \"20.150.181.32/27\",\r\n \ - \ \"20.188.33.169/32\",\r\n \"20.188.39.105/32\",\r\n \ - \ \"20.192.184.0/27\",\r\n \"20.192.238.128/27\",\r\n \ - \ \"20.192.238.160/28\",\r\n \"20.193.206.48/28\",\r\n \ - \ \"20.193.206.128/27\",\r\n \"23.96.200.77/32\",\r\n \"\ - 23.96.200.227/32\",\r\n \"23.96.203.46/32\",\r\n \"23.96.210.49/32\"\ - ,\r\n \"23.96.212.28/32\",\r\n \"23.96.253.219/32\",\r\n\ - \ \"23.97.68.172/32\",\r\n \"23.97.210.126/32\",\r\n \ - \ \"23.97.211.179/32\",\r\n \"23.97.218.130/32\",\r\n \ - \ \"23.99.125.99/32\",\r\n \"23.100.29.190/32\",\r\n \ - \ \"23.100.82.16/32\",\r\n \"23.100.86.139/32\",\r\n \"\ - 23.100.87.24/32\",\r\n \"23.100.87.56/32\",\r\n \"23.100.124.84/32\"\ - ,\r\n \"23.100.127.172/32\",\r\n \"23.101.132.208/32\",\r\ - \n \"23.101.136.201/32\",\r\n \"23.101.139.153/32\",\r\n\ - \ \"23.101.183.225/32\",\r\n \"23.101.191.106/32\",\r\n\ - \ \"23.102.70.174/32\",\r\n \"40.67.60.176/28\",\r\n \ - \ \"40.67.60.192/27\",\r\n \"40.68.209.23/32\",\r\n \ - \ \"40.68.222.65/32\",\r\n \"40.69.110.192/27\",\r\n \"\ - 40.69.110.224/28\",\r\n \"40.70.26.154/32\",\r\n \"40.70.27.236/32\"\ - ,\r\n \"40.70.27.253/32\",\r\n \"40.70.29.214/32\",\r\n\ - \ \"40.70.131.151/32\",\r\n \"40.74.64.207/32\",\r\n \ - \ \"40.74.66.200/32\",\r\n \"40.74.68.85/32\",\r\n \ - \ \"40.74.74.21/32\",\r\n \"40.74.76.213/32\",\r\n \"40.74.77.205/32\"\ - ,\r\n \"40.74.81.13/32\",\r\n \"40.74.85.215/32\",\r\n \ - \ \"40.74.131.151/32\",\r\n \"40.74.132.29/32\",\r\n \ - \ \"40.74.136.23/32\",\r\n \"40.74.140.4/32\",\r\n \ - \ \"40.74.140.162/32\",\r\n \"40.74.140.173/32\",\r\n \"\ - 40.74.142.133/32\",\r\n \"40.74.143.215/32\",\r\n \"40.74.149.96/27\"\ - ,\r\n \"40.75.35.240/28\",\r\n \"40.77.31.87/32\",\r\n \ - \ \"40.77.111.254/32\",\r\n \"40.78.196.176/28\",\r\n \ - \ \"40.78.204.208/28\",\r\n \"40.78.204.224/27\",\r\n \ - \ \"40.78.239.16/28\",\r\n \"40.78.245.144/28\",\r\n \ - \ \"40.78.245.160/27\",\r\n \"40.79.44.7/32\",\r\n \"40.79.139.144/28\"\ - ,\r\n \"40.79.139.160/27\",\r\n \"40.79.171.240/28\",\r\n\ - \ \"40.79.180.160/27\",\r\n \"40.79.180.192/28\",\r\n \ - \ \"40.79.197.48/28\",\r\n \"40.80.180.16/28\",\r\n \ - \ \"40.80.180.32/27\",\r\n \"40.83.73.39/32\",\r\n \"\ - 40.83.75.165/32\",\r\n \"40.83.77.208/32\",\r\n \"40.83.98.194/32\"\ - ,\r\n \"40.83.100.69/32\",\r\n \"40.83.127.19/32\",\r\n\ - \ \"40.83.164.80/32\",\r\n \"40.84.25.234/32\",\r\n \ - \ \"40.84.30.147/32\",\r\n \"40.84.59.136/32\",\r\n \ - \ \"40.84.138.132/32\",\r\n \"40.85.241.105/32\",\r\n \"\ - 40.85.250.135/32\",\r\n \"40.85.250.212/32\",\r\n \"40.85.252.47/32\"\ - ,\r\n \"40.86.202.42/32\",\r\n \"40.86.203.228/32\",\r\n\ - \ \"40.86.216.241/32\",\r\n \"40.86.217.241/32\",\r\n \ - \ \"40.86.226.149/32\",\r\n \"40.86.228.93/32\",\r\n \ - \ \"40.89.186.28/32\",\r\n \"40.89.186.30/32\",\r\n \ - \ \"40.89.188.169/32\",\r\n \"40.89.190.104/32\",\r\n \"\ - 40.89.191.161/32\",\r\n \"40.112.90.39/32\",\r\n \"40.112.92.104/32\"\ - ,\r\n \"40.112.95.216/32\",\r\n \"40.113.1.181/32\",\r\n\ - \ \"40.113.3.202/32\",\r\n \"40.113.4.18/32\",\r\n \ - \ \"40.113.10.90/32\",\r\n \"40.113.11.17/32\",\r\n \ - \ \"40.113.12.95/32\",\r\n \"40.113.18.211/32\",\r\n \"\ - 40.113.20.202/32\",\r\n \"40.113.22.12/32\",\r\n \"40.113.94.31/32\"\ - ,\r\n \"40.113.218.230/32\",\r\n \"40.114.8.21/32\",\r\n\ - \ \"40.114.12.31/32\",\r\n \"40.114.13.216/32\",\r\n \ - \ \"40.114.14.143/32\",\r\n \"40.114.40.186/32\",\r\n \ - \ \"40.114.51.5/32\",\r\n \"40.114.82.191/32\",\r\n \ - \ \"40.115.78.70/32\",\r\n \"40.115.78.237/32\",\r\n \"\ - 40.117.99.79/32\",\r\n \"40.117.100.228/32\",\r\n \"40.118.241.243/32\"\ - ,\r\n \"40.118.244.241/32\",\r\n \"40.120.64.0/27\",\r\n\ - \ \"40.120.64.32/28\",\r\n \"40.121.91.41/32\",\r\n \ - \ \"40.122.41.236/32\",\r\n \"40.122.46.197/32\",\r\n \ - \ \"40.122.170.198/32\",\r\n \"40.126.227.199/32\",\r\n \ - \ \"40.126.240.14/32\",\r\n \"40.126.249.73/32\",\r\n \ - \ \"40.126.252.33/32\",\r\n \"40.126.252.85/32\",\r\n \"\ - 40.126.252.107/32\",\r\n \"40.127.80.231/32\",\r\n \"40.127.83.170/32\"\ - ,\r\n \"40.127.84.38/32\",\r\n \"40.127.86.12/32\",\r\n\ - \ \"40.127.91.18/32\",\r\n \"40.127.93.92/32\",\r\n \ - \ \"51.11.97.16/28\",\r\n \"51.11.97.32/27\",\r\n \"\ - 51.12.100.112/28\",\r\n \"51.12.102.160/27\",\r\n \"51.12.204.112/28\"\ - ,\r\n \"51.12.204.192/27\",\r\n \"51.12.229.32/27\",\r\n\ - \ \"51.104.9.112/28\",\r\n \"51.105.69.96/27\",\r\n \ - \ \"51.107.60.160/27\",\r\n \"51.107.60.192/28\",\r\n \ - \ \"51.107.156.160/27\",\r\n \"51.107.156.192/28\",\r\n \ - \ \"51.116.60.144/28\",\r\n \"51.116.60.160/27\",\r\n \ - \ \"51.116.158.64/28\",\r\n \"51.116.168.104/32\",\r\n \ - \ \"51.116.168.222/32\",\r\n \"51.116.171.49/32\",\r\n \"\ - 51.116.171.209/32\",\r\n \"51.116.175.0/32\",\r\n \"51.116.175.17/32\"\ - ,\r\n \"51.116.175.51/32\",\r\n \"51.116.233.22/32\",\r\n\ - \ \"51.116.233.33/32\",\r\n \"51.116.233.35/32\",\r\n \ - \ \"51.116.233.40/32\",\r\n \"51.116.233.87/32\",\r\n \ - \ \"51.116.243.224/27\",\r\n \"51.120.100.160/27\",\r\n \ - \ \"51.120.109.32/28\",\r\n \"51.120.220.128/27\",\r\n \ - \ \"51.120.220.160/28\",\r\n \"51.140.28.225/32\",\r\n \ - \ \"51.140.73.85/32\",\r\n \"51.140.74.14/32\",\r\n \"\ - 51.140.78.44/32\",\r\n \"51.140.78.71/32\",\r\n \"51.140.79.109/32\"\ - ,\r\n \"51.140.84.39/32\",\r\n \"51.140.137.190/32\",\r\n\ - \ \"51.140.142.28/32\",\r\n \"51.140.153.135/32\",\r\n \ - \ \"51.140.155.81/32\",\r\n \"51.140.158.24/32\",\r\n \ - \ \"51.141.45.238/32\",\r\n \"51.141.47.136/32\",\r\n \ - \ \"51.141.48.98/32\",\r\n \"51.141.51.145/32\",\r\n \ - \ \"51.141.53.164/32\",\r\n \"51.141.54.185/32\",\r\n \"\ - 51.141.112.112/32\",\r\n \"51.141.113.36/32\",\r\n \"51.141.114.77/32\"\ - ,\r\n \"51.141.118.119/32\",\r\n \"51.141.119.63/32\",\r\ - \n \"51.141.119.150/32\",\r\n \"51.144.176.185/32\",\r\n\ - \ \"51.144.182.201/32\",\r\n \"52.143.156.55/32\",\r\n \ - \ \"52.143.158.203/32\",\r\n \"52.143.162.83/32\",\r\n \ - \ \"52.143.164.15/32\",\r\n \"52.143.164.80/32\",\r\n \ - \ \"52.147.97.16/28\",\r\n \"52.147.97.32/27\",\r\n \ - \ \"52.160.90.237/32\",\r\n \"52.160.92.112/32\",\r\n \"\ - 52.161.8.128/32\",\r\n \"52.161.9.108/32\",\r\n \"52.161.18.218/32\"\ - ,\r\n \"52.161.19.82/32\",\r\n \"52.161.26.172/32\",\r\n\ - \ \"52.161.27.190/32\",\r\n \"52.162.111.144/28\",\r\n \ - \ \"52.162.111.160/27\",\r\n \"52.162.208.216/32\",\r\n \ - \ \"52.162.213.231/32\",\r\n \"52.163.93.214/32\",\r\n \ - \ \"52.163.228.93/32\",\r\n \"52.163.230.166/32\",\r\n \ - \ \"52.167.109.80/28\",\r\n \"52.169.218.253/32\",\r\n \ - \ \"52.169.220.174/32\",\r\n \"52.172.9.47/32\",\r\n \ - \ \"52.172.49.43/32\",\r\n \"52.172.50.24/32\",\r\n \"\ - 52.172.51.140/32\",\r\n \"52.172.52.0/32\",\r\n \"52.172.55.231/32\"\ - ,\r\n \"52.172.154.168/32\",\r\n \"52.172.157.194/32\",\r\ - \n \"52.172.184.192/32\",\r\n \"52.172.185.79/32\",\r\n\ - \ \"52.172.186.159/32\",\r\n \"52.172.191.194/32\",\r\n\ - \ \"52.174.49.6/32\",\r\n \"52.174.54.218/32\",\r\n \ - \ \"52.175.33.254/32\",\r\n \"52.175.198.132/32\",\r\n \ - \ \"52.178.165.215/32\",\r\n \"52.178.166.21/32\",\r\n \ - \ \"52.182.141.160/27\",\r\n \"52.183.29.132/32\",\r\n \ - \ \"52.183.30.10/32\",\r\n \"52.183.30.169/32\",\r\n \"\ - 52.183.39.67/32\",\r\n \"52.187.65.81/32\",\r\n \"52.187.65.155/32\"\ - ,\r\n \"52.187.226.96/32\",\r\n \"52.187.226.139/32\",\r\ - \n \"52.187.227.245/32\",\r\n \"52.187.229.130/32\",\r\n\ - \ \"52.187.231.161/32\",\r\n \"52.187.231.184/32\",\r\n\ - \ \"52.189.214.42/32\",\r\n \"52.189.216.28/32\",\r\n \ - \ \"52.189.220.75/32\",\r\n \"52.189.222.77/32\",\r\n \ - \ \"52.228.39.244/32\",\r\n \"52.229.120.45/32\",\r\n \ - \ \"52.229.125.57/32\",\r\n \"52.229.126.25/32\",\r\n \ - \ \"52.231.23.16/28\",\r\n \"52.231.23.32/27\",\r\n \"\ - 52.232.128.155/32\",\r\n \"52.232.129.143/32\",\r\n \"52.232.133.109/32\"\ - ,\r\n \"52.233.29.79/32\",\r\n \"52.233.29.92/32\",\r\n\ - \ \"52.233.30.218/32\",\r\n \"65.52.8.225/32\",\r\n \ - \ \"65.52.9.64/32\",\r\n \"65.52.9.96/32\",\r\n \"\ - 65.52.10.183/32\",\r\n \"65.52.60.5/32\",\r\n \"65.52.175.34/32\"\ - ,\r\n \"65.52.185.96/32\",\r\n \"65.52.185.218/32\",\r\n\ - \ \"65.52.186.153/32\",\r\n \"65.52.186.190/32\",\r\n \ - \ \"65.52.186.225/32\",\r\n \"65.52.211.164/32\",\r\n \ - \ \"70.37.50.6/32\",\r\n \"70.37.54.122/32\",\r\n \"\ - 102.133.28.208/28\",\r\n \"102.133.28.224/27\",\r\n \"102.133.72.37/32\"\ - ,\r\n \"102.133.72.98/32\",\r\n \"102.133.72.113/32\",\r\ - \n \"102.133.72.132/32\",\r\n \"102.133.72.145/32\",\r\n\ - \ \"102.133.72.173/32\",\r\n \"102.133.72.179/32\",\r\n\ - \ \"102.133.72.183/32\",\r\n \"102.133.72.184/32\",\r\n\ - \ \"102.133.72.190/32\",\r\n \"102.133.75.169/32\",\r\n\ - \ \"102.133.75.191/32\",\r\n \"102.133.156.176/28\",\r\n\ - \ \"102.133.224.125/32\",\r\n \"102.133.226.199/32\",\r\n\ - \ \"102.133.227.103/32\",\r\n \"102.133.228.4/32\",\r\n\ - \ \"102.133.228.6/32\",\r\n \"102.133.228.9/32\",\r\n \ - \ \"102.133.230.4/32\",\r\n \"102.133.230.82/32\",\r\n \ - \ \"102.133.231.9/32\",\r\n \"102.133.231.51/32\",\r\n \ - \ \"102.133.231.117/32\",\r\n \"102.133.231.188/32\",\r\n \ - \ \"102.133.251.224/27\",\r\n \"104.40.49.140/32\",\r\n \ - \ \"104.40.54.74/32\",\r\n \"104.40.59.188/32\",\r\n \ - \ \"104.40.61.150/32\",\r\n \"104.40.62.178/32\",\r\n \ - \ \"104.40.218.37/32\",\r\n \"104.41.0.115/32\",\r\n \"\ - 104.41.33.103/32\",\r\n \"104.41.162.245/32\",\r\n \"104.41.163.102/32\"\ - ,\r\n \"104.41.168.76/32\",\r\n \"104.41.173.132/32\",\r\ - \n \"104.41.179.165/32\",\r\n \"104.41.181.59/32\",\r\n\ - \ \"104.41.182.232/32\",\r\n \"104.42.38.32/32\",\r\n \ - \ \"104.42.49.145/32\",\r\n \"104.42.224.227/32\",\r\n \ - \ \"104.42.236.93/32\",\r\n \"104.43.166.135/32\",\r\n \ - \ \"104.43.243.39/32\",\r\n \"104.45.9.52/32\",\r\n \ - \ \"104.45.153.81/32\",\r\n \"104.46.32.99/32\",\r\n \"\ - 104.46.34.93/32\",\r\n \"104.46.34.208/32\",\r\n \"104.46.39.63/32\"\ - ,\r\n \"104.46.42.167/32\",\r\n \"104.46.98.208/32\",\r\n\ - \ \"104.46.106.158/32\",\r\n \"104.47.138.214/32\",\r\n\ - \ \"104.208.25.27/32\",\r\n \"104.208.140.40/32\",\r\n \ - \ \"104.208.155.200/32\",\r\n \"104.208.158.174/32\",\r\n\ - \ \"104.209.131.77/32\",\r\n \"104.209.133.254/32\",\r\n\ - \ \"104.209.134.133/32\",\r\n \"104.210.89.222/32\",\r\n\ - \ \"104.210.89.244/32\",\r\n \"104.210.90.241/32\",\r\n\ - \ \"104.210.91.55/32\",\r\n \"104.210.144.48/32\",\r\n \ - \ \"104.210.153.89/32\",\r\n \"104.211.73.195/32\",\r\n \ - \ \"104.211.74.145/32\",\r\n \"104.211.90.162/32\",\r\n \ - \ \"104.211.90.169/32\",\r\n \"104.211.101.108/32\",\r\n\ - \ \"104.211.102.62/32\",\r\n \"104.211.154.7/32\",\r\n \ - \ \"104.211.154.59/32\",\r\n \"104.211.156.153/32\",\r\n\ - \ \"104.211.157.237/32\",\r\n \"104.211.158.123/32\",\r\n\ - \ \"104.211.158.127/32\",\r\n \"104.211.162.205/32\",\r\n\ - \ \"104.211.164.25/32\",\r\n \"104.211.164.80/32\",\r\n\ - \ \"104.211.164.112/32\",\r\n \"104.211.164.136/32\",\r\n\ - \ \"104.211.165.81/32\",\r\n \"104.211.225.152/32\",\r\n\ - \ \"104.211.227.229/32\",\r\n \"104.211.229.115/32\",\r\n\ - \ \"104.211.230.126/32\",\r\n \"104.211.230.129/32\",\r\n\ - \ \"104.211.231.39/32\",\r\n \"104.214.137.243/32\",\r\n\ - \ \"104.214.161.64/27\",\r\n \"104.214.161.96/28\",\r\n\ - \ \"104.215.88.156/32\",\r\n \"104.215.89.144/32\",\r\n\ - \ \"104.215.90.86/32\",\r\n \"104.215.90.189/32\",\r\n \ - \ \"104.215.90.203/32\",\r\n \"104.215.93.125/32\",\r\n \ - \ \"104.215.176.31/32\",\r\n \"104.215.176.81/32\",\r\n \ - \ \"104.215.177.5/32\",\r\n \"104.215.178.204/32\",\r\n \ - \ \"104.215.179.133/32\",\r\n \"104.215.180.203/32\",\r\n\ - \ \"104.215.181.6/32\",\r\n \"111.221.85.72/32\",\r\n \ - \ \"111.221.85.74/32\",\r\n \"137.116.44.82/32\",\r\n \ - \ \"137.116.80.70/32\",\r\n \"137.116.85.245/32\",\r\n \ - \ \"137.116.126.165/32\",\r\n \"137.117.72.32/32\",\r\n \ - \ \"137.135.106.54/32\",\r\n \"138.91.17.47/32\",\r\n \ - \ \"138.91.25.99/32\",\r\n \"138.91.26.45/32\",\r\n \"\ - 138.91.188.137/32\",\r\n \"157.55.210.61/32\",\r\n \"157.55.212.238/32\"\ - ,\r\n \"157.56.12.202/32\",\r\n \"157.56.160.212/32\",\r\ - \n \"157.56.162.53/32\",\r\n \"157.56.167.147/32\",\r\n\ - \ \"168.61.86.120/32\",\r\n \"168.61.152.201/32\",\r\n \ - \ \"168.61.172.83/32\",\r\n \"168.61.172.225/32\",\r\n \ - \ \"168.61.173.172/32\",\r\n \"168.61.217.177/32\",\r\n \ - \ \"168.62.109.110/32\",\r\n \"168.62.219.52/32\",\r\n \ - \ \"168.62.219.83/32\",\r\n \"168.62.248.37/32\",\r\n \ - \ \"168.62.249.81/32\",\r\n \"168.63.136.37/32\",\r\n \ - \ \"168.63.200.173/32\",\r\n \"191.232.32.19/32\",\r\n \ - \ \"191.232.32.100/32\",\r\n \"191.232.34.78/32\",\r\n \ - \ \"191.232.34.249/32\",\r\n \"191.232.35.177/32\",\r\n \ - \ \"191.232.36.213/32\",\r\n \"191.233.54.240/28\",\r\n \ - \ \"191.233.68.51/32\",\r\n \"191.233.207.0/28\",\r\n \"\ - 191.233.207.32/27\",\r\n \"191.234.161.28/32\",\r\n \"191.234.161.168/32\"\ - ,\r\n \"191.234.162.131/32\",\r\n \"191.234.162.178/32\"\ - ,\r\n \"191.234.166.198/32\",\r\n \"191.234.182.26/32\"\ - ,\r\n \"191.235.82.221/32\",\r\n \"191.235.86.199/32\",\r\ - \n \"191.235.91.7/32\",\r\n \"191.235.94.220/32\",\r\n \ - \ \"191.235.95.229/32\",\r\n \"191.235.180.188/32\",\r\n\ - \ \"191.237.255.116/32\",\r\n \"191.238.41.107/32\",\r\n\ - \ \"191.238.161.62/32\",\r\n \"191.238.163.65/32\",\r\n\ - \ \"191.239.67.132/32\",\r\n \"191.239.82.62/32\",\r\n \ - \ \"191.239.161.74/32\",\r\n \"191.239.177.86/32\",\r\n \ - \ \"207.46.148.176/32\",\r\n \"2603:1000:4:402::3c0/124\"\ - ,\r\n \"2603:1000:4:402::3e0/123\",\r\n \"2603:1000:104:402::3c0/124\"\ - ,\r\n \"2603:1000:104:402::3e0/123\",\r\n \"2603:1010:6:402::3c0/124\"\ - ,\r\n \"2603:1010:6:402::3e0/123\",\r\n \"2603:1010:101:402::3c0/124\"\ - ,\r\n \"2603:1010:101:402::3e0/123\",\r\n \"2603:1010:304:402::3c0/124\"\ - ,\r\n \"2603:1010:304:402::3e0/123\",\r\n \"2603:1010:404:402::3c0/124\"\ - ,\r\n \"2603:1010:404:402::3e0/123\",\r\n \"2603:1020:5:402::3c0/124\"\ - ,\r\n \"2603:1020:5:402::3e0/123\",\r\n \"2603:1020:206:402::3c0/124\"\ - ,\r\n \"2603:1020:206:402::3e0/123\",\r\n \"2603:1020:305:402::3c0/124\"\ - ,\r\n \"2603:1020:305:402::3e0/123\",\r\n \"2603:1020:405:402::3c0/124\"\ - ,\r\n \"2603:1020:405:402::3e0/123\",\r\n \"2603:1020:605:402::3c0/124\"\ - ,\r\n \"2603:1020:605:402::3e0/123\",\r\n \"2603:1020:705:402::3c0/124\"\ - ,\r\n \"2603:1020:705:402::3e0/123\",\r\n \"2603:1020:805:402::3c0/124\"\ - ,\r\n \"2603:1020:805:402::3e0/123\",\r\n \"2603:1020:905:402::3c0/124\"\ - ,\r\n \"2603:1020:905:402::3e0/123\",\r\n \"2603:1020:a04:402::3c0/124\"\ - ,\r\n \"2603:1020:a04:402::3e0/123\",\r\n \"2603:1020:b04:402::3c0/124\"\ - ,\r\n \"2603:1020:b04:402::3e0/123\",\r\n \"2603:1020:c04:402::3c0/124\"\ - ,\r\n \"2603:1020:c04:402::3e0/123\",\r\n \"2603:1020:d04:402::3c0/124\"\ - ,\r\n \"2603:1020:d04:402::3e0/123\",\r\n \"2603:1020:e04:402::3c0/124\"\ - ,\r\n \"2603:1020:e04:402::3e0/123\",\r\n \"2603:1020:f04:402::3c0/124\"\ - ,\r\n \"2603:1020:f04:402::3e0/123\",\r\n \"2603:1020:1004:400::250/124\"\ - ,\r\n \"2603:1020:1004:400::260/123\",\r\n \"2603:1020:1104:400::510/124\"\ - ,\r\n \"2603:1020:1104:400::520/123\",\r\n \"2603:1030:f:400::bc0/124\"\ - ,\r\n \"2603:1030:f:400::be0/123\",\r\n \"2603:1030:10:402::3c0/124\"\ - ,\r\n \"2603:1030:10:402::3e0/123\",\r\n \"2603:1030:104:402::3c0/124\"\ - ,\r\n \"2603:1030:104:402::3e0/123\",\r\n \"2603:1030:107:400::390/124\"\ - ,\r\n \"2603:1030:107:400::3a0/123\",\r\n \"2603:1030:210:402::3c0/124\"\ - ,\r\n \"2603:1030:210:402::3e0/123\",\r\n \"2603:1030:40b:400::bc0/124\"\ - ,\r\n \"2603:1030:40b:400::be0/123\",\r\n \"2603:1030:40c:402::3c0/124\"\ - ,\r\n \"2603:1030:40c:402::3e0/123\",\r\n \"2603:1030:504:402::250/124\"\ - ,\r\n \"2603:1030:504:402::260/123\",\r\n \"2603:1030:608:402::3c0/124\"\ - ,\r\n \"2603:1030:608:402::3e0/123\",\r\n \"2603:1030:807:402::3c0/124\"\ - ,\r\n \"2603:1030:807:402::3e0/123\",\r\n \"2603:1030:a07:402::340/124\"\ - ,\r\n \"2603:1030:a07:402::360/123\",\r\n \"2603:1030:b04:402::3c0/124\"\ - ,\r\n \"2603:1030:b04:402::3e0/123\",\r\n \"2603:1030:c06:400::bc0/124\"\ - ,\r\n \"2603:1030:c06:400::be0/123\",\r\n \"2603:1030:f05:402::3c0/124\"\ - ,\r\n \"2603:1030:f05:402::3e0/123\",\r\n \"2603:1030:1005:402::3c0/124\"\ - ,\r\n \"2603:1030:1005:402::3e0/123\",\r\n \"2603:1040:5:402::3c0/124\"\ - ,\r\n \"2603:1040:5:402::3e0/123\",\r\n \"2603:1040:207:402::3c0/124\"\ - ,\r\n \"2603:1040:207:402::3e0/123\",\r\n \"2603:1040:407:402::3c0/124\"\ - ,\r\n \"2603:1040:407:402::3e0/123\",\r\n \"2603:1040:606:402::3c0/124\"\ - ,\r\n \"2603:1040:606:402::3e0/123\",\r\n \"2603:1040:806:402::3c0/124\"\ - ,\r\n \"2603:1040:806:402::3e0/123\",\r\n \"2603:1040:904:402::3c0/124\"\ - ,\r\n \"2603:1040:904:402::3e0/123\",\r\n \"2603:1040:a06:402::3c0/124\"\ - ,\r\n \"2603:1040:a06:402::3e0/123\",\r\n \"2603:1040:b04:402::3c0/124\"\ - ,\r\n \"2603:1040:b04:402::3e0/123\",\r\n \"2603:1040:c06:402::3c0/124\"\ - ,\r\n \"2603:1040:c06:402::3e0/123\",\r\n \"2603:1040:d04:400::250/124\"\ - ,\r\n \"2603:1040:d04:400::260/123\",\r\n \"2603:1040:f05:402::3c0/124\"\ - ,\r\n \"2603:1040:f05:402::3e0/123\",\r\n \"2603:1040:1104:400::510/124\"\ - ,\r\n \"2603:1040:1104:400::520/123\",\r\n \"2603:1050:6:402::3c0/124\"\ - ,\r\n \"2603:1050:6:402::3e0/123\",\r\n \"2603:1050:403:400::180/123\"\ - ,\r\n \"2603:1050:403:400::250/124\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"LogicApps.AustraliaCentral\",\r\n \ - \ \"id\": \"LogicApps.AustraliaCentral\",\r\n \"properties\": {\r\n\ - \ \"changeNumber\": \"2\",\r\n \"region\": \"australiacentral\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"LogicApps\",\r\n \"addressPrefixes\": [\r\n \"20.36.108.192/27\"\ - ,\r\n \"20.36.108.224/28\",\r\n \"2603:1010:304:402::3c0/124\"\ - ,\r\n \"2603:1010:304:402::3e0/123\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"LogicApps.CanadaCentral\",\r\n \ - \ \"id\": \"LogicApps.CanadaCentral\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"2\",\r\n \"region\": \"canadacentral\",\r\n\ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"LogicApps\",\r\n \"addressPrefixes\": [\r\n \"13.71.184.150/32\"\ - ,\r\n \"13.71.186.1/32\",\r\n \"13.88.249.209/32\",\r\n\ - \ \"20.38.149.144/28\",\r\n \"20.38.149.160/27\",\r\n \ - \ \"40.85.241.105/32\",\r\n \"40.85.250.135/32\",\r\n \ - \ \"40.85.250.212/32\",\r\n \"40.85.252.47/32\",\r\n \ - \ \"52.228.39.244/32\",\r\n \"52.233.29.79/32\",\r\n \"\ - 52.233.29.92/32\",\r\n \"52.233.30.218/32\",\r\n \"2603:1030:f05:402::3c0/124\"\ - ,\r\n \"2603:1030:f05:402::3e0/123\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"LogicApps.CentralIndia\",\r\n \"\ - id\": \"LogicApps.CentralIndia\",\r\n \"properties\": {\r\n \"\ - changeNumber\": \"2\",\r\n \"region\": \"centralindia\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"API\"\ - ,\r\n \"NSG\"\r\n ],\r\n \"systemService\": \"LogicApps\"\ - ,\r\n \"addressPrefixes\": [\r\n \"20.43.121.192/27\",\r\n\ - \ \"20.43.121.224/28\",\r\n \"52.172.154.168/32\",\r\n \ - \ \"52.172.157.194/32\",\r\n \"52.172.184.192/32\",\r\n \ - \ \"52.172.185.79/32\",\r\n \"52.172.186.159/32\",\r\n \ - \ \"52.172.191.194/32\",\r\n \"104.211.73.195/32\",\r\n \ - \ \"104.211.74.145/32\",\r\n \"104.211.90.162/32\",\r\n \ - \ \"104.211.90.169/32\",\r\n \"104.211.101.108/32\",\r\n \ - \ \"104.211.102.62/32\",\r\n \"2603:1040:a06:402::3c0/124\"\ - ,\r\n \"2603:1040:a06:402::3e0/123\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"LogicApps.GermanyNorth\",\r\n \"\ - id\": \"LogicApps.GermanyNorth\",\r\n \"properties\": {\r\n \"\ - changeNumber\": \"2\",\r\n \"region\": \"germanyn\",\r\n \"\ - state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\ - \n \"NSG\"\r\n ],\r\n \"systemService\": \"LogicApps\"\ - ,\r\n \"addressPrefixes\": [\r\n \"51.116.60.144/28\",\r\n\ - \ \"51.116.60.160/27\",\r\n \"2603:1020:d04:402::3c0/124\"\ - ,\r\n \"2603:1020:d04:402::3e0/123\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"LogicApps.NorthEurope\",\r\n \"\ - id\": \"LogicApps.NorthEurope\",\r\n \"properties\": {\r\n \"\ - changeNumber\": \"2\",\r\n \"region\": \"northeurope\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"API\"\ - ,\r\n \"NSG\"\r\n ],\r\n \"systemService\": \"LogicApps\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.69.231.160/27\",\r\n\ - \ \"13.69.233.16/28\",\r\n \"13.79.173.49/32\",\r\n \ - \ \"40.112.90.39/32\",\r\n \"40.112.92.104/32\",\r\n \ - \ \"40.112.95.216/32\",\r\n \"40.113.1.181/32\",\r\n \"\ - 40.113.3.202/32\",\r\n \"40.113.4.18/32\",\r\n \"40.113.10.90/32\"\ - ,\r\n \"40.113.11.17/32\",\r\n \"40.113.12.95/32\",\r\n\ - \ \"40.113.18.211/32\",\r\n \"40.113.20.202/32\",\r\n \ - \ \"40.113.22.12/32\",\r\n \"40.113.94.31/32\",\r\n \ - \ \"52.169.218.253/32\",\r\n \"52.169.220.174/32\",\r\n \ - \ \"52.178.165.215/32\",\r\n \"52.178.166.21/32\",\r\n \ - \ \"168.61.86.120/32\",\r\n \"191.235.180.188/32\",\r\n \ - \ \"2603:1020:5:402::3c0/124\",\r\n \"2603:1020:5:402::3e0/123\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"LogicApps.SoutheastAsia\"\ - ,\r\n \"id\": \"LogicApps.SoutheastAsia\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"2\",\r\n \"region\": \"southeastasia\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"LogicApps\",\r\n \"addressPrefixes\": [\r\n \"13.67.13.224/27\"\ - ,\r\n \"13.67.91.135/32\",\r\n \"13.67.107.128/32\",\r\n\ - \ \"13.67.110.109/32\",\r\n \"13.76.4.194/32\",\r\n \ - \ \"13.76.5.96/32\",\r\n \"13.76.133.155/32\",\r\n \ - \ \"40.78.239.16/28\",\r\n \"52.163.93.214/32\",\r\n \"\ - 52.163.228.93/32\",\r\n \"52.163.230.166/32\",\r\n \"52.187.65.81/32\"\ - ,\r\n \"52.187.65.155/32\",\r\n \"104.215.176.31/32\",\r\ - \n \"104.215.176.81/32\",\r\n \"104.215.177.5/32\",\r\n\ - \ \"104.215.178.204/32\",\r\n \"104.215.179.133/32\",\r\n\ - \ \"104.215.180.203/32\",\r\n \"104.215.181.6/32\",\r\n\ - \ \"111.221.85.72/32\",\r\n \"111.221.85.74/32\",\r\n \ - \ \"2603:1040:5:402::3c0/124\",\r\n \"2603:1040:5:402::3e0/123\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"LogicApps.SwitzerlandWest\"\ - ,\r\n \"id\": \"LogicApps.SwitzerlandWest\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"switzerlandw\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"LogicApps\",\r\n \"addressPrefixes\": [\r\n \"51.107.156.160/27\"\ - ,\r\n \"51.107.156.192/28\",\r\n \"2603:1020:b04:402::3c0/124\"\ - ,\r\n \"2603:1020:b04:402::3e0/123\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"LogicApps.UKNorth\",\r\n \"id\"\ - : \"LogicApps.UKNorth\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"2\",\r\n \"region\": \"uknorth\",\r\n \"state\": \"GA\"\ - ,\r\n \"networkFeatures\": [\r\n \"API\",\r\n \"\ - NSG\"\r\n ],\r\n \"systemService\": \"LogicApps\",\r\n \ - \ \"addressPrefixes\": [\r\n \"13.87.124.144/28\",\r\n \ - \ \"13.87.124.160/27\",\r\n \"2603:1020:305:402::3c0/124\",\r\n\ - \ \"2603:1020:305:402::3e0/123\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"LogicApps.UKSouth2\",\r\n \"id\": \"LogicApps.UKSouth2\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \ - \ \"region\": \"uksouth2\",\r\n \"state\": \"GA\",\r\n \"\ - networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n \ - \ ],\r\n \"systemService\": \"LogicApps\",\r\n \"addressPrefixes\"\ - : [\r\n \"13.87.58.144/28\",\r\n \"13.87.58.160/27\",\r\n\ - \ \"2603:1020:405:402::3c0/124\",\r\n \"2603:1020:405:402::3e0/123\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"LogicApps.WestIndia\"\ - ,\r\n \"id\": \"LogicApps.WestIndia\",\r\n \"properties\": {\r\n\ - \ \"changeNumber\": \"2\",\r\n \"region\": \"westindia\",\r\n\ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"LogicApps\",\r\n \"addressPrefixes\": [\r\n \"20.38.128.176/28\"\ - ,\r\n \"20.38.128.192/27\",\r\n \"104.211.154.7/32\",\r\n\ - \ \"104.211.154.59/32\",\r\n \"104.211.156.153/32\",\r\n\ - \ \"104.211.157.237/32\",\r\n \"104.211.158.123/32\",\r\n\ - \ \"104.211.158.127/32\",\r\n \"104.211.162.205/32\",\r\n\ - \ \"104.211.164.25/32\",\r\n \"104.211.164.80/32\",\r\n\ - \ \"104.211.164.112/32\",\r\n \"104.211.164.136/32\",\r\n\ - \ \"104.211.165.81/32\",\r\n \"2603:1040:806:402::3c0/124\"\ - ,\r\n \"2603:1040:806:402::3e0/123\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"LogicApps.WestUS\",\r\n \"id\"\ - : \"LogicApps.WestUS\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"2\",\r\n \"region\": \"westus\",\r\n \"state\": \"GA\",\r\ - \n \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\ - \r\n ],\r\n \"systemService\": \"LogicApps\",\r\n \"\ - addressPrefixes\": [\r\n \"13.86.221.240/28\",\r\n \"13.86.223.0/27\"\ - ,\r\n \"13.91.252.184/32\",\r\n \"40.83.164.80/32\",\r\n\ - \ \"40.118.241.243/32\",\r\n \"40.118.244.241/32\",\r\n\ - \ \"52.160.90.237/32\",\r\n \"52.160.92.112/32\",\r\n \ - \ \"104.40.49.140/32\",\r\n \"104.40.54.74/32\",\r\n \ - \ \"104.40.59.188/32\",\r\n \"104.40.61.150/32\",\r\n \ - \ \"104.40.62.178/32\",\r\n \"104.42.38.32/32\",\r\n \"\ - 104.42.49.145/32\",\r\n \"104.42.224.227/32\",\r\n \"104.42.236.93/32\"\ - ,\r\n \"138.91.188.137/32\",\r\n \"157.56.160.212/32\",\r\ - \n \"157.56.162.53/32\",\r\n \"157.56.167.147/32\",\r\n\ - \ \"168.62.219.52/32\",\r\n \"168.62.219.83/32\",\r\n \ - \ \"2603:1030:a07:402::340/124\",\r\n \"2603:1030:a07:402::360/123\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"LogicAppsManagement\"\ - ,\r\n \"id\": \"LogicAppsManagement\",\r\n \"properties\": {\r\n\ - \ \"changeNumber\": \"2\",\r\n \"region\": \"\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"API\"\ - ,\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n \ - \ ],\r\n \"systemService\": \"LogicApps\",\r\n \"addressPrefixes\"\ - : [\r\n \"13.65.39.247/32\",\r\n \"13.65.98.39/32\",\r\n\ - \ \"13.66.128.68/32\",\r\n \"13.66.224.169/32\",\r\n \ - \ \"13.67.236.76/32\",\r\n \"13.69.109.144/28\",\r\n \ - \ \"13.69.233.16/28\",\r\n \"13.71.146.140/32\",\r\n \ - \ \"13.71.199.160/28\",\r\n \"13.73.115.153/32\",\r\n \"\ - 13.73.244.144/28\",\r\n \"13.75.89.159/32\",\r\n \"13.75.153.66/32\"\ - ,\r\n \"13.77.55.128/28\",\r\n \"13.78.43.164/32\",\r\n\ - \ \"13.78.62.130/32\",\r\n \"13.78.84.187/32\",\r\n \ - \ \"13.78.137.247/32\",\r\n \"13.79.173.49/32\",\r\n \ - \ \"13.84.41.46/32\",\r\n \"13.84.43.45/32\",\r\n \"13.85.79.155/32\"\ - ,\r\n \"13.86.221.240/28\",\r\n \"13.87.58.144/28\",\r\n\ - \ \"13.87.124.144/28\",\r\n \"13.88.249.209/32\",\r\n \ - \ \"13.89.178.48/28\",\r\n \"13.91.252.184/32\",\r\n \ - \ \"13.95.155.53/32\",\r\n \"20.36.108.224/28\",\r\n \ - \ \"20.36.117.128/28\",\r\n \"20.37.76.208/28\",\r\n \"\ - 20.38.128.176/28\",\r\n \"20.38.149.144/28\",\r\n \"20.42.64.48/28\"\ - ,\r\n \"20.43.121.224/28\",\r\n \"20.44.4.176/28\",\r\n\ - \ \"20.45.64.29/32\",\r\n \"20.45.64.87/32\",\r\n \ - \ \"20.45.71.213/32\",\r\n \"20.45.75.193/32\",\r\n \"\ - 20.72.30.160/28\",\r\n \"20.150.172.240/28\",\r\n \"20.192.238.160/28\"\ - ,\r\n \"20.193.206.48/28\",\r\n \"23.97.68.172/32\",\r\n\ - \ \"40.67.60.176/28\",\r\n \"40.69.110.224/28\",\r\n \ - \ \"40.70.27.253/32\",\r\n \"40.74.66.200/32\",\r\n \ - \ \"40.74.81.13/32\",\r\n \"40.74.85.215/32\",\r\n \"\ - 40.74.140.173/32\",\r\n \"40.75.35.240/28\",\r\n \"40.77.31.87/32\"\ - ,\r\n \"40.77.111.254/32\",\r\n \"40.78.196.176/28\",\r\n\ - \ \"40.78.204.208/28\",\r\n \"40.78.239.16/28\",\r\n \ - \ \"40.78.245.144/28\",\r\n \"40.79.44.7/32\",\r\n \ - \ \"40.79.139.144/28\",\r\n \"40.79.171.240/28\",\r\n \"\ - 40.79.180.192/28\",\r\n \"40.79.197.48/28\",\r\n \"40.80.180.16/28\"\ - ,\r\n \"40.83.98.194/32\",\r\n \"40.84.25.234/32\",\r\n\ - \ \"40.84.59.136/32\",\r\n \"40.84.138.132/32\",\r\n \ - \ \"40.85.241.105/32\",\r\n \"40.86.202.42/32\",\r\n \ - \ \"40.112.90.39/32\",\r\n \"40.115.78.70/32\",\r\n \"\ - 40.115.78.237/32\",\r\n \"40.117.99.79/32\",\r\n \"40.117.100.228/32\"\ - ,\r\n \"40.120.64.32/28\",\r\n \"51.11.97.16/28\",\r\n \ - \ \"51.12.100.112/28\",\r\n \"51.12.204.112/28\",\r\n \ - \ \"51.104.9.112/28\",\r\n \"51.107.60.192/28\",\r\n \ - \ \"51.107.156.192/28\",\r\n \"51.116.60.144/28\",\r\n \ - \ \"51.116.158.64/28\",\r\n \"51.116.168.222/32\",\r\n \ - \ \"51.116.171.209/32\",\r\n \"51.116.175.0/32\",\r\n \"\ - 51.116.233.40/32\",\r\n \"51.120.109.32/28\",\r\n \"51.120.220.160/28\"\ - ,\r\n \"51.140.78.71/32\",\r\n \"51.140.79.109/32\",\r\n\ - \ \"51.140.84.39/32\",\r\n \"51.140.155.81/32\",\r\n \ - \ \"51.141.48.98/32\",\r\n \"51.141.51.145/32\",\r\n \ - \ \"51.141.53.164/32\",\r\n \"51.141.119.150/32\",\r\n \ - \ \"51.144.176.185/32\",\r\n \"52.147.97.16/28\",\r\n \ - \ \"52.160.90.237/32\",\r\n \"52.161.8.128/32\",\r\n \"\ - 52.161.19.82/32\",\r\n \"52.161.26.172/32\",\r\n \"52.162.111.144/28\"\ - ,\r\n \"52.163.93.214/32\",\r\n \"52.167.109.80/28\",\r\n\ - \ \"52.169.218.253/32\",\r\n \"52.169.220.174/32\",\r\n\ - \ \"52.172.9.47/32\",\r\n \"52.172.49.43/32\",\r\n \ - \ \"52.172.51.140/32\",\r\n \"52.172.157.194/32\",\r\n \ - \ \"52.172.184.192/32\",\r\n \"52.172.191.194/32\",\r\n \ - \ \"52.174.49.6/32\",\r\n \"52.174.54.218/32\",\r\n \"\ - 52.183.30.10/32\",\r\n \"52.183.39.67/32\",\r\n \"52.187.65.81/32\"\ - ,\r\n \"52.187.65.155/32\",\r\n \"52.187.231.161/32\",\r\ - \n \"52.189.216.28/32\",\r\n \"52.229.125.57/32\",\r\n \ - \ \"52.231.23.16/28\",\r\n \"52.232.129.143/32\",\r\n \ - \ \"52.232.133.109/32\",\r\n \"52.233.29.79/32\",\r\n \ - \ \"52.233.30.218/32\",\r\n \"65.52.9.64/32\",\r\n \"\ - 65.52.211.164/32\",\r\n \"102.133.28.208/28\",\r\n \"102.133.72.145/32\"\ - ,\r\n \"102.133.72.173/32\",\r\n \"102.133.72.184/32\",\r\ - \n \"102.133.72.190/32\",\r\n \"102.133.156.176/28\",\r\n\ - \ \"102.133.224.125/32\",\r\n \"102.133.226.199/32\",\r\n\ - \ \"102.133.228.4/32\",\r\n \"102.133.228.9/32\",\r\n \ - \ \"104.43.243.39/32\",\r\n \"104.210.89.222/32\",\r\n \ - \ \"104.210.89.244/32\",\r\n \"104.210.153.89/32\",\r\n \ - \ \"104.211.73.195/32\",\r\n \"104.211.157.237/32\",\r\n \ - \ \"104.211.164.25/32\",\r\n \"104.211.164.112/32\",\r\n \ - \ \"104.211.165.81/32\",\r\n \"104.211.225.152/32\",\r\n\ - \ \"104.214.161.96/28\",\r\n \"104.215.181.6/32\",\r\n \ - \ \"137.116.126.165/32\",\r\n \"137.135.106.54/32\",\r\n\ - \ \"138.91.188.137/32\",\r\n \"157.56.12.202/32\",\r\n \ - \ \"157.56.160.212/32\",\r\n \"168.62.249.81/32\",\r\n \ - \ \"168.63.200.173/32\",\r\n \"191.233.54.240/28\",\r\n \ - \ \"191.233.207.0/28\",\r\n \"191.234.166.198/32\",\r\n \ - \ \"191.235.86.199/32\",\r\n \"191.235.94.220/32\",\r\n \ - \ \"191.235.95.229/32\",\r\n \"2603:1000:4:402::3c0/124\"\ - ,\r\n \"2603:1000:104:402::3c0/124\",\r\n \"2603:1010:6:402::3c0/124\"\ - ,\r\n \"2603:1010:101:402::3c0/124\",\r\n \"2603:1010:304:402::3c0/124\"\ - ,\r\n \"2603:1010:404:402::3c0/124\",\r\n \"2603:1020:5:402::3c0/124\"\ - ,\r\n \"2603:1020:206:402::3c0/124\",\r\n \"2603:1020:305:402::3c0/124\"\ - ,\r\n \"2603:1020:405:402::3c0/124\",\r\n \"2603:1020:605:402::3c0/124\"\ - ,\r\n \"2603:1020:705:402::3c0/124\",\r\n \"2603:1020:805:402::3c0/124\"\ - ,\r\n \"2603:1020:905:402::3c0/124\",\r\n \"2603:1020:a04:402::3c0/124\"\ - ,\r\n \"2603:1020:b04:402::3c0/124\",\r\n \"2603:1020:c04:402::3c0/124\"\ - ,\r\n \"2603:1020:d04:402::3c0/124\",\r\n \"2603:1020:e04:402::3c0/124\"\ - ,\r\n \"2603:1020:f04:402::3c0/124\",\r\n \"2603:1020:1004:400::250/124\"\ - ,\r\n \"2603:1020:1104:400::510/124\",\r\n \"2603:1030:f:400::bc0/124\"\ - ,\r\n \"2603:1030:10:402::3c0/124\",\r\n \"2603:1030:104:402::3c0/124\"\ - ,\r\n \"2603:1030:107:400::390/124\",\r\n \"2603:1030:210:402::3c0/124\"\ - ,\r\n \"2603:1030:40b:400::bc0/124\",\r\n \"2603:1030:40c:402::3c0/124\"\ - ,\r\n \"2603:1030:504:402::250/124\",\r\n \"2603:1030:608:402::3c0/124\"\ - ,\r\n \"2603:1030:807:402::3c0/124\",\r\n \"2603:1030:a07:402::340/124\"\ - ,\r\n \"2603:1030:b04:402::3c0/124\",\r\n \"2603:1030:c06:400::bc0/124\"\ - ,\r\n \"2603:1030:f05:402::3c0/124\",\r\n \"2603:1030:1005:402::3c0/124\"\ - ,\r\n \"2603:1040:5:402::3c0/124\",\r\n \"2603:1040:207:402::3c0/124\"\ - ,\r\n \"2603:1040:407:402::3c0/124\",\r\n \"2603:1040:606:402::3c0/124\"\ - ,\r\n \"2603:1040:806:402::3c0/124\",\r\n \"2603:1040:904:402::3c0/124\"\ - ,\r\n \"2603:1040:a06:402::3c0/124\",\r\n \"2603:1040:b04:402::3c0/124\"\ - ,\r\n \"2603:1040:c06:402::3c0/124\",\r\n \"2603:1040:d04:400::250/124\"\ - ,\r\n \"2603:1040:f05:402::3c0/124\",\r\n \"2603:1040:1104:400::510/124\"\ - ,\r\n \"2603:1050:6:402::3c0/124\",\r\n \"2603:1050:403:400::250/124\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"MicrosoftCloudAppSecurity\"\ - ,\r\n \"id\": \"MicrosoftCloudAppSecurity\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"1\",\r\n \"region\": \"\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"MicrosoftCloudAppSecurity\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.64.26.88/32\",\r\n \ - \ \"13.64.28.87/32\",\r\n \"13.64.29.32/32\",\r\n \ - \ \"13.64.29.161/32\",\r\n \"13.64.30.76/32\",\r\n \"\ - 13.64.30.117/32\",\r\n \"13.64.30.118/32\",\r\n \"13.64.31.116/32\"\ - ,\r\n \"13.64.196.27/32\",\r\n \"13.64.198.19/32\",\r\n\ - \ \"13.64.198.97/32\",\r\n \"13.64.199.41/32\",\r\n \ - \ \"13.64.252.115/32\",\r\n \"13.66.134.18/32\",\r\n \ - \ \"13.66.142.80/28\",\r\n \"13.66.158.8/32\",\r\n \"\ - 13.66.168.209/32\",\r\n \"13.66.173.192/32\",\r\n \"13.66.210.205/32\"\ - ,\r\n \"13.67.10.192/28\",\r\n \"13.67.48.221/32\",\r\n\ - \ \"13.69.67.96/28\",\r\n \"13.69.107.96/28\",\r\n \ - \ \"13.69.190.115/32\",\r\n \"13.69.230.48/28\",\r\n \ - \ \"13.70.74.160/27\",\r\n \"13.71.175.0/27\",\r\n \"13.71.196.192/27\"\ - ,\r\n \"13.73.242.224/27\",\r\n \"13.74.108.176/28\",\r\n\ - \ \"13.74.168.152/32\",\r\n \"13.75.39.128/27\",\r\n \ - \ \"13.76.43.73/32\",\r\n \"13.76.129.255/32\",\r\n \ - \ \"13.77.53.96/27\",\r\n \"13.77.80.28/32\",\r\n \"13.77.136.80/32\"\ - ,\r\n \"13.77.148.229/32\",\r\n \"13.77.160.162/32\",\r\n\ - \ \"13.77.163.148/32\",\r\n \"13.77.165.61/32\",\r\n \ - \ \"13.80.7.94/32\",\r\n \"13.80.22.71/32\",\r\n \"\ - 13.80.125.22/32\",\r\n \"13.81.123.49/32\",\r\n \"13.81.204.189/32\"\ - ,\r\n \"13.81.212.71/32\",\r\n \"13.86.176.189/32\",\r\n\ - \ \"13.86.176.211/32\",\r\n \"13.86.219.224/27\",\r\n \ - \ \"13.86.235.202/32\",\r\n \"13.86.239.236/32\",\r\n \ - \ \"13.88.224.38/32\",\r\n \"13.88.224.211/32\",\r\n \ - \ \"13.88.224.222/32\",\r\n \"13.88.226.74/32\",\r\n \"\ - 13.88.227.7/32\",\r\n \"13.89.178.0/28\",\r\n \"13.91.61.249/32\"\ - ,\r\n \"13.91.91.243/32\",\r\n \"13.91.98.185/32\",\r\n\ - \ \"13.93.32.114/32\",\r\n \"13.93.113.192/32\",\r\n \ - \ \"13.93.196.52/32\",\r\n \"13.93.216.68/32\",\r\n \ - \ \"13.93.233.42/32\",\r\n \"13.95.1.33/32\",\r\n \"13.95.29.177/32\"\ - ,\r\n \"13.95.30.46/32\",\r\n \"20.36.220.93/32\",\r\n \ - \ \"20.36.222.59/32\",\r\n \"20.36.222.60/32\",\r\n \ - \ \"20.36.240.76/32\",\r\n \"20.36.244.208/32\",\r\n \ - \ \"20.36.245.0/32\",\r\n \"20.36.245.182/32\",\r\n \"\ - 20.36.245.235/32\",\r\n \"20.36.246.188/32\",\r\n \"20.36.248.40/32\"\ - ,\r\n \"20.40.106.50/31\",\r\n \"20.40.107.84/32\",\r\n\ - \ \"20.40.132.195/32\",\r\n \"20.40.134.79/32\",\r\n \ - \ \"20.40.134.94/32\",\r\n \"20.40.160.184/32\",\r\n \ - \ \"20.40.161.119/32\",\r\n \"20.40.161.131/32\",\r\n \ - \ \"20.40.161.132/32\",\r\n \"20.40.161.135/32\",\r\n \"\ - 20.40.161.140/30\",\r\n \"20.40.161.160/31\",\r\n \"20.40.162.86/32\"\ - ,\r\n \"20.40.162.200/32\",\r\n \"20.40.163.88/32\",\r\n\ - \ \"20.40.163.96/31\",\r\n \"20.40.163.130/32\",\r\n \ - \ \"20.40.163.133/32\",\r\n \"20.40.163.178/31\",\r\n \ - \ \"20.42.29.162/32\",\r\n \"20.42.31.48/32\",\r\n \"\ - 20.42.31.251/32\",\r\n \"20.44.8.208/28\",\r\n \"20.44.17.64/28\"\ - ,\r\n \"20.44.72.173/32\",\r\n \"20.44.72.217/32\",\r\n\ - \ \"20.44.73.253/32\",\r\n \"20.45.3.127/32\",\r\n \ - \ \"20.184.57.4/32\",\r\n \"20.184.57.218/32\",\r\n \ - \ \"20.184.58.46/32\",\r\n \"20.184.58.110/32\",\r\n \"\ - 20.184.60.77/32\",\r\n \"20.184.61.67/32\",\r\n \"20.184.61.253/32\"\ - ,\r\n \"20.184.63.158/32\",\r\n \"20.184.63.216/32\",\r\n\ - \ \"20.184.63.232/32\",\r\n \"20.188.72.248/32\",\r\n \ - \ \"23.97.54.160/32\",\r\n \"23.97.55.165/32\",\r\n \ - \ \"23.98.83.96/28\",\r\n \"23.100.67.153/32\",\r\n \"\ - 40.65.169.46/32\",\r\n \"40.65.169.97/32\",\r\n \"40.65.169.196/32\"\ - ,\r\n \"40.65.169.236/32\",\r\n \"40.65.170.17/32\",\r\n\ - \ \"40.65.170.26/32\",\r\n \"40.65.170.80/30\",\r\n \ - \ \"40.65.170.112/31\",\r\n \"40.65.170.123/32\",\r\n \ - \ \"40.65.170.125/32\",\r\n \"40.65.170.128/32\",\r\n \ - \ \"40.65.170.133/32\",\r\n \"40.65.170.137/32\",\r\n \"\ - 40.65.233.253/32\",\r\n \"40.65.235.54/32\",\r\n \"40.66.56.158/32\"\ - ,\r\n \"40.66.57.164/32\",\r\n \"40.66.57.203/32\",\r\n\ - \ \"40.66.59.41/32\",\r\n \"40.66.59.193/32\",\r\n \ - \ \"40.66.59.195/32\",\r\n \"40.66.59.196/32\",\r\n \ - \ \"40.66.59.246/32\",\r\n \"40.66.60.101/32\",\r\n \"40.66.60.118/32\"\ - ,\r\n \"40.66.60.180/32\",\r\n \"40.66.60.185/32\",\r\n\ - \ \"40.66.60.200/32\",\r\n \"40.66.60.206/31\",\r\n \ - \ \"40.66.60.208/31\",\r\n \"40.66.60.210/32\",\r\n \ - \ \"40.66.60.215/32\",\r\n \"40.66.60.216/31\",\r\n \"\ - 40.66.60.219/32\",\r\n \"40.66.60.220/31\",\r\n \"40.66.60.222/32\"\ - ,\r\n \"40.66.60.224/31\",\r\n \"40.66.60.226/32\",\r\n\ - \ \"40.66.60.232/32\",\r\n \"40.66.61.61/32\",\r\n \ - \ \"40.66.61.158/32\",\r\n \"40.66.61.193/32\",\r\n \ - \ \"40.66.61.226/32\",\r\n \"40.66.62.7/32\",\r\n \"40.66.62.9/32\"\ - ,\r\n \"40.66.62.78/32\",\r\n \"40.66.62.130/32\",\r\n \ - \ \"40.66.62.154/32\",\r\n \"40.66.62.225/32\",\r\n \ - \ \"40.66.63.148/32\",\r\n \"40.66.63.255/32\",\r\n \ - \ \"40.67.152.91/32\",\r\n \"40.67.152.227/32\",\r\n \"\ - 40.67.154.160/32\",\r\n \"40.67.155.146/32\",\r\n \"40.67.159.55/32\"\ - ,\r\n \"40.67.216.253/32\",\r\n \"40.67.219.133/32\",\r\n\ - \ \"40.67.251.0/32\",\r\n \"40.67.254.233/32\",\r\n \ - \ \"40.68.245.184/32\",\r\n \"40.69.108.96/27\",\r\n \ - \ \"40.70.0.255/32\",\r\n \"40.70.29.49/32\",\r\n \"40.70.29.200/32\"\ - ,\r\n \"40.70.148.112/28\",\r\n \"40.70.184.90/32\",\r\n\ - \ \"40.71.14.16/28\",\r\n \"40.74.1.235/32\",\r\n \ - \ \"40.74.6.204/32\",\r\n \"40.76.78.217/32\",\r\n \"\ - 40.78.23.204/32\",\r\n \"40.78.56.129/32\",\r\n \"40.78.229.64/28\"\ - ,\r\n \"40.78.236.160/28\",\r\n \"40.78.245.0/28\",\r\n\ - \ \"40.78.251.128/28\",\r\n \"40.79.132.96/28\",\r\n \ - \ \"40.79.139.16/28\",\r\n \"40.79.146.224/28\",\r\n \ - \ \"40.79.156.112/28\",\r\n \"40.79.180.64/27\",\r\n \ - \ \"40.80.219.49/32\",\r\n \"40.80.220.215/32\",\r\n \"\ - 40.80.220.246/32\",\r\n \"40.80.221.77/32\",\r\n \"40.80.222.91/32\"\ - ,\r\n \"40.80.222.197/32\",\r\n \"40.81.56.80/32\",\r\n\ - \ \"40.81.57.138/32\",\r\n \"40.81.57.141/32\",\r\n \ - \ \"40.81.57.144/32\",\r\n \"40.81.57.157/32\",\r\n \ - \ \"40.81.57.164/32\",\r\n \"40.81.57.169/32\",\r\n \"\ - 40.81.58.180/32\",\r\n \"40.81.58.184/32\",\r\n \"40.81.58.193/32\"\ - ,\r\n \"40.81.59.4/32\",\r\n \"40.81.59.90/32\",\r\n \ - \ \"40.81.59.93/32\",\r\n \"40.81.62.162/32\",\r\n \ - \ \"40.81.62.179/32\",\r\n \"40.81.62.193/32\",\r\n \"\ - 40.81.62.199/32\",\r\n \"40.81.62.206/32\",\r\n \"40.81.62.209/32\"\ - ,\r\n \"40.81.62.212/32\",\r\n \"40.81.62.220/30\",\r\n\ - \ \"40.81.62.224/32\",\r\n \"40.81.62.255/32\",\r\n \ - \ \"40.81.63.1/32\",\r\n \"40.81.63.2/32\",\r\n \"\ - 40.81.63.4/31\",\r\n \"40.81.63.7/32\",\r\n \"40.81.63.8/32\"\ - ,\r\n \"40.81.63.235/32\",\r\n \"40.81.63.245/32\",\r\n\ - \ \"40.81.63.248/32\",\r\n \"40.81.120.13/32\",\r\n \ - \ \"40.81.120.24/31\",\r\n \"40.81.120.97/32\",\r\n \ - \ \"40.81.120.187/32\",\r\n \"40.81.120.191/32\",\r\n \"\ - 40.81.120.192/32\",\r\n \"40.81.121.66/32\",\r\n \"40.81.121.76/32\"\ - ,\r\n \"40.81.121.78/32\",\r\n \"40.81.121.107/32\",\r\n\ - \ \"40.81.121.108/32\",\r\n \"40.81.121.111/32\",\r\n \ - \ \"40.81.121.127/32\",\r\n \"40.81.121.135/32\",\r\n \ - \ \"40.81.121.140/32\",\r\n \"40.81.121.175/32\",\r\n \ - \ \"40.81.122.4/32\",\r\n \"40.81.122.62/31\",\r\n \"\ - 40.81.122.76/32\",\r\n \"40.81.122.203/32\",\r\n \"40.81.123.124/32\"\ - ,\r\n \"40.81.123.157/32\",\r\n \"40.81.124.185/32\",\r\n\ - \ \"40.81.124.219/32\",\r\n \"40.81.127.25/32\",\r\n \ - \ \"40.81.127.139/32\",\r\n \"40.81.127.140/31\",\r\n \ - \ \"40.81.127.229/32\",\r\n \"40.81.127.230/32\",\r\n \ - \ \"40.81.127.239/32\",\r\n \"40.81.152.126/32\",\r\n \ - \ \"40.81.152.171/32\",\r\n \"40.81.152.172/32\",\r\n \"\ - 40.81.156.153/32\",\r\n \"40.81.156.154/31\",\r\n \"40.81.156.156/32\"\ - ,\r\n \"40.81.159.35/32\",\r\n \"40.81.159.77/32\",\r\n\ - \ \"40.82.184.80/32\",\r\n \"40.82.185.36/32\",\r\n \ - \ \"40.82.185.117/32\",\r\n \"40.82.185.229/32\",\r\n \ - \ \"40.82.186.166/32\",\r\n \"40.82.186.168/31\",\r\n \ - \ \"40.82.186.176/31\",\r\n \"40.82.186.180/32\",\r\n \"\ - 40.82.186.182/32\",\r\n \"40.82.186.185/32\",\r\n \"40.82.186.214/32\"\ - ,\r\n \"40.82.186.231/32\",\r\n \"40.82.187.161/32\",\r\n\ - \ \"40.82.187.162/31\",\r\n \"40.82.187.164/32\",\r\n \ - \ \"40.82.187.177/32\",\r\n \"40.82.187.178/31\",\r\n \ - \ \"40.82.187.199/32\",\r\n \"40.82.187.200/32\",\r\n \ - \ \"40.82.187.202/32\",\r\n \"40.82.187.204/30\",\r\n \ - \ \"40.82.187.208/30\",\r\n \"40.82.187.212/31\",\r\n \"\ - 40.82.187.218/32\",\r\n \"40.82.187.223/32\",\r\n \"40.82.190.163/32\"\ - ,\r\n \"40.82.191.58/32\",\r\n \"40.84.2.83/32\",\r\n \ - \ \"40.84.4.93/32\",\r\n \"40.84.4.119/32\",\r\n \ - \ \"40.84.5.28/32\",\r\n \"40.84.49.16/32\",\r\n \"40.89.136.227/32\"\ - ,\r\n \"40.89.137.101/32\",\r\n \"40.89.142.184/32\",\r\n\ - \ \"40.89.143.43/32\",\r\n \"40.90.184.197/32\",\r\n \ - \ \"40.90.185.64/32\",\r\n \"40.90.191.153/32\",\r\n \ - \ \"40.90.218.196/31\",\r\n \"40.90.218.198/32\",\r\n \ - \ \"40.90.218.203/32\",\r\n \"40.90.219.121/32\",\r\n \"\ - 40.90.219.184/32\",\r\n \"40.90.220.37/32\",\r\n \"40.90.220.190/32\"\ - ,\r\n \"40.90.220.196/32\",\r\n \"40.90.222.64/32\",\r\n\ - \ \"40.91.74.37/32\",\r\n \"40.91.78.105/32\",\r\n \ - \ \"40.91.114.40/29\",\r\n \"40.91.114.48/31\",\r\n \ - \ \"40.91.122.25/32\",\r\n \"40.91.122.38/32\",\r\n \"40.91.126.157/32\"\ - ,\r\n \"40.91.127.44/32\",\r\n \"40.91.198.19/32\",\r\n\ - \ \"40.113.121.176/32\",\r\n \"40.114.112.147/32\",\r\n\ - \ \"40.114.217.8/32\",\r\n \"40.115.24.65/32\",\r\n \ - \ \"40.115.25.50/32\",\r\n \"40.115.71.111/32\",\r\n \ - \ \"40.118.63.137/32\",\r\n \"40.118.97.232/32\",\r\n \ - \ \"40.118.211.172/32\",\r\n \"40.119.145.130/32\",\r\n \ - \ \"40.119.147.102/32\",\r\n \"40.119.154.72/32\",\r\n \"\ - 40.119.203.98/31\",\r\n \"40.119.203.158/31\",\r\n \"40.119.203.208/31\"\ - ,\r\n \"40.119.207.131/32\",\r\n \"40.119.207.144/32\",\r\ - \n \"40.119.207.164/32\",\r\n \"40.119.207.166/32\",\r\n\ - \ \"40.119.207.174/32\",\r\n \"40.119.207.182/32\",\r\n\ - \ \"40.119.207.193/32\",\r\n \"40.119.207.200/32\",\r\n\ - \ \"40.119.215.167/32\",\r\n \"40.121.134.1/32\",\r\n \ - \ \"40.124.53.69/32\",\r\n \"51.11.26.92/32\",\r\n \ - \ \"51.11.26.95/32\",\r\n \"51.104.9.16/28\",\r\n \"51.105.37.244/32\"\ - ,\r\n \"51.105.67.224/28\",\r\n \"51.105.75.176/28\",\r\n\ - \ \"51.105.124.64/32\",\r\n \"51.105.124.80/32\",\r\n \ - \ \"51.105.161.5/32\",\r\n \"51.105.163.8/32\",\r\n \ - \ \"51.105.163.43/32\",\r\n \"51.105.164.8/32\",\r\n \ - \ \"51.105.164.234/32\",\r\n \"51.105.164.241/32\",\r\n \ - \ \"51.105.165.31/32\",\r\n \"51.105.165.37/32\",\r\n \"\ - 51.105.165.63/32\",\r\n \"51.105.165.116/32\",\r\n \"51.105.166.102/31\"\ - ,\r\n \"51.105.166.106/32\",\r\n \"51.105.179.157/32\",\r\ - \n \"51.137.136.13/32\",\r\n \"51.137.136.14/32\",\r\n \ - \ \"51.137.136.34/32\",\r\n \"51.137.137.69/32\",\r\n \ - \ \"51.137.137.118/32\",\r\n \"51.137.137.121/32\",\r\n \ - \ \"51.137.137.200/32\",\r\n \"51.137.137.237/32\",\r\n \ - \ \"51.140.1.10/32\",\r\n \"51.140.8.108/32\",\r\n \ - \ \"51.140.8.180/32\",\r\n \"51.140.35.95/32\",\r\n \"\ - 51.140.52.106/32\",\r\n \"51.140.78.213/32\",\r\n \"51.140.105.124/32\"\ - ,\r\n \"51.140.125.227/32\",\r\n \"51.140.164.179/32\",\r\ - \n \"51.140.191.146/32\",\r\n \"51.140.212.128/27\",\r\n\ - \ \"51.140.230.246/32\",\r\n \"51.140.231.138/32\",\r\n\ - \ \"51.141.2.189/32\",\r\n \"51.141.7.11/32\",\r\n \ - \ \"51.143.58.207/32\",\r\n \"51.143.111.58/32\",\r\n \ - \ \"51.143.120.236/32\",\r\n \"51.143.120.242/32\",\r\n \ - \ \"51.143.122.59/32\",\r\n \"51.143.122.60/32\",\r\n \ - \ \"51.144.56.60/32\",\r\n \"51.145.108.227/32\",\r\n \"\ - 51.145.108.250/32\",\r\n \"51.145.181.195/32\",\r\n \"51.145.181.214/32\"\ - ,\r\n \"52.137.56.200/32\",\r\n \"52.137.89.147/32\",\r\n\ - \ \"52.138.227.160/28\",\r\n \"52.139.1.70/32\",\r\n \ - \ \"52.139.1.156/32\",\r\n \"52.139.1.158/31\",\r\n \ - \ \"52.139.1.200/32\",\r\n \"52.139.1.218/32\",\r\n \"\ - 52.139.2.0/32\",\r\n \"52.139.16.105/32\",\r\n \"52.139.18.234/32\"\ - ,\r\n \"52.139.18.236/32\",\r\n \"52.139.19.71/32\",\r\n\ - \ \"52.139.19.187/32\",\r\n \"52.139.19.215/32\",\r\n \ - \ \"52.139.19.247/32\",\r\n \"52.139.20.31/32\",\r\n \ - \ \"52.139.20.118/32\",\r\n \"52.139.21.70/32\",\r\n \ - \ \"52.139.245.1/32\",\r\n \"52.139.245.21/32\",\r\n \"\ - 52.139.245.40/32\",\r\n \"52.139.245.48/32\",\r\n \"52.139.251.219/32\"\ - ,\r\n \"52.139.252.105/32\",\r\n \"52.142.112.145/32\",\r\ - \n \"52.142.112.146/32\",\r\n \"52.142.116.135/32\",\r\n\ - \ \"52.142.116.174/32\",\r\n \"52.142.116.250/32\",\r\n\ - \ \"52.142.117.183/32\",\r\n \"52.142.118.130/32\",\r\n\ - \ \"52.142.121.6/32\",\r\n \"52.142.121.75/32\",\r\n \ - \ \"52.142.124.23/32\",\r\n \"52.142.127.127/32\",\r\n \ - \ \"52.142.220.179/32\",\r\n \"52.142.232.120/32\",\r\n \ - \ \"52.143.73.88/32\",\r\n \"52.143.74.31/32\",\r\n \ - \ \"52.148.115.188/32\",\r\n \"52.148.115.194/32\",\r\n \ - \ \"52.148.115.238/32\",\r\n \"52.148.116.37/32\",\r\n \ - \ \"52.148.161.45/32\",\r\n \"52.148.161.53/32\",\r\n \"\ - 52.151.237.243/32\",\r\n \"52.151.238.5/32\",\r\n \"52.151.244.65/32\"\ - ,\r\n \"52.151.247.27/32\",\r\n \"52.153.240.107/32\",\r\ - \n \"52.155.161.88/32\",\r\n \"52.155.161.91/32\",\r\n \ - \ \"52.155.164.131/32\",\r\n \"52.155.166.50/32\",\r\n \ - \ \"52.155.167.231/32\",\r\n \"52.155.168.45/32\",\r\n \ - \ \"52.155.177.13/32\",\r\n \"52.155.178.247/32\",\r\n \ - \ \"52.155.179.84/32\",\r\n \"52.155.180.208/30\",\r\n \ - \ \"52.155.181.180/30\",\r\n \"52.155.182.48/31\",\r\n \ - \ \"52.155.182.50/32\",\r\n \"52.155.182.138/32\",\r\n \ - \ \"52.155.182.141/32\",\r\n \"52.156.197.208/32\",\r\n \ - \ \"52.156.197.254/32\",\r\n \"52.156.198.196/32\",\r\n \ - \ \"52.156.202.7/32\",\r\n \"52.156.203.22/32\",\r\n \"\ - 52.156.203.198/31\",\r\n \"52.156.204.24/32\",\r\n \"52.156.204.51/32\"\ - ,\r\n \"52.156.204.99/32\",\r\n \"52.156.204.139/32\",\r\ - \n \"52.156.205.137/32\",\r\n \"52.156.205.182/32\",\r\n\ - \ \"52.156.205.222/32\",\r\n \"52.156.205.226/32\",\r\n\ - \ \"52.156.206.43/32\",\r\n \"52.156.206.45/32\",\r\n \ - \ \"52.156.206.46/31\",\r\n \"52.157.19.228/32\",\r\n \ - \ \"52.157.20.142/32\",\r\n \"52.157.218.219/32\",\r\n \ - \ \"52.157.218.232/32\",\r\n \"52.157.232.110/32\",\r\n \ - \ \"52.157.232.147/32\",\r\n \"52.157.233.49/32\",\r\n \ - \ \"52.157.233.92/32\",\r\n \"52.157.233.133/32\",\r\n \ - \ \"52.157.233.205/32\",\r\n \"52.157.234.160/32\",\r\n \ - \ \"52.157.234.222/32\",\r\n \"52.157.235.27/32\",\r\n \ - \ \"52.157.235.144/32\",\r\n \"52.157.236.195/32\",\r\n \ - \ \"52.157.237.107/32\",\r\n \"52.157.237.213/32\",\r\n \ - \ \"52.157.237.255/32\",\r\n \"52.157.238.58/32\",\r\n \ - \ \"52.157.239.110/32\",\r\n \"52.157.239.132/32\",\r\n \ - \ \"52.158.28.235/32\",\r\n \"52.167.107.96/28\",\r\n \"\ - 52.169.192.237/32\",\r\n \"52.174.56.180/32\",\r\n \"52.177.85.43/32\"\ - ,\r\n \"52.178.44.248/32\",\r\n \"52.178.89.44/32\",\r\n\ - \ \"52.179.155.177/32\",\r\n \"52.179.194.73/32\",\r\n \ - \ \"52.179.198.41/32\",\r\n \"52.182.139.208/28\",\r\n \ - \ \"52.183.24.254/32\",\r\n \"52.183.30.204/32\",\r\n \ - \ \"52.183.75.62/32\",\r\n \"52.184.165.82/32\",\r\n \ - \ \"52.188.217.236/32\",\r\n \"52.189.208.36/32\",\r\n \ - \ \"52.189.213.36/32\",\r\n \"52.189.213.124/32\",\r\n \ - \ \"52.189.218.253/32\",\r\n \"52.190.26.220/32\",\r\n \"\ - 52.190.31.62/32\",\r\n \"52.191.129.65/32\",\r\n \"52.191.237.188/32\"\ - ,\r\n \"52.191.238.65/32\",\r\n \"52.224.188.157/32\",\r\ - \n \"52.224.188.168/32\",\r\n \"52.224.190.225/32\",\r\n\ - \ \"52.224.191.62/32\",\r\n \"52.224.201.216/32\",\r\n \ - \ \"52.224.201.223/32\",\r\n \"52.224.202.86/32\",\r\n \ - \ \"52.224.202.91/32\",\r\n \"52.225.225.218/32\",\r\n \ - \ \"52.225.231.232/32\",\r\n \"52.232.224.227/32\",\r\n \ - \ \"52.232.225.84/32\",\r\n \"52.232.228.217/32\",\r\n \ - \ \"52.232.245.96/32\",\r\n \"52.236.187.80/28\",\r\n \ - \ \"52.249.25.160/32\",\r\n \"52.249.25.165/32\",\r\n \ - \ \"65.52.138.123/32\",\r\n \"65.52.229.200/32\",\r\n \"\ - 104.40.28.202/32\",\r\n \"104.40.129.120/32\",\r\n \"104.42.15.41/32\"\ - ,\r\n \"104.42.34.58/32\",\r\n \"104.42.38.254/32\",\r\n\ - \ \"104.42.54.24/32\",\r\n \"104.42.75.120/32\",\r\n \ - \ \"104.42.211.215/32\",\r\n \"104.45.7.95/32\",\r\n \ - \ \"104.45.65.169/32\",\r\n \"104.45.168.103/32\",\r\n \ - \ \"104.45.168.104/32\",\r\n \"104.45.168.106/32\",\r\n \ - \ \"104.45.168.108/32\",\r\n \"104.45.168.111/32\",\r\n \ - \ \"104.45.168.114/32\",\r\n \"104.45.170.70/32\",\r\n \ - \ \"104.45.170.127/32\",\r\n \"104.45.170.161/32\",\r\n \ - \ \"104.45.170.173/32\",\r\n \"104.45.170.174/31\",\r\n \ - \ \"104.45.170.176/32\",\r\n \"104.45.170.178/32\",\r\n \ - \ \"104.45.170.180/32\",\r\n \"104.45.170.182/31\",\r\n \ - \ \"104.45.170.184/31\",\r\n \"104.45.170.186/32\",\r\n \ - \ \"104.45.170.188/32\",\r\n \"104.45.170.191/32\",\r\n \ - \ \"104.45.170.194/32\",\r\n \"104.45.170.196/32\",\r\n \ - \ \"104.46.116.211/32\",\r\n \"104.46.121.72/32\",\r\n \ - \ \"104.46.122.189/32\",\r\n \"104.208.216.221/32\",\r\n \ - \ \"104.209.35.177/32\",\r\n \"104.209.168.251/32\",\r\n \ - \ \"104.210.0.32/32\",\r\n \"104.211.9.226/32\",\r\n \"\ - 104.214.225.33/32\",\r\n \"137.116.52.31/32\",\r\n \"138.91.147.71/32\"\ - ,\r\n \"168.63.38.153/32\"\r\n ]\r\n }\r\n },\r\n\ - \ {\r\n \"name\": \"MicrosoftCloudAppSecurity.CanadaEast\",\r\n \ - \ \"id\": \"MicrosoftCloudAppSecurity.CanadaEast\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"1\",\r\n \"region\": \"canadaeast\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\"\r\n ],\r\n \"systemService\": \"MicrosoftCloudAppSecurity\"\ - ,\r\n \"addressPrefixes\": [\r\n \"40.69.108.96/27\"\r\n \ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"MicrosoftCloudAppSecurity.EastAsia\"\ - ,\r\n \"id\": \"MicrosoftCloudAppSecurity.EastAsia\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"1\",\r\n \"region\": \"eastasia\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\"\r\n ],\r\n \"systemService\": \"MicrosoftCloudAppSecurity\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.75.39.128/27\"\r\n \ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"MicrosoftCloudAppSecurity.FranceCentral\"\ - ,\r\n \"id\": \"MicrosoftCloudAppSecurity.FranceCentral\",\r\n \"\ - properties\": {\r\n \"changeNumber\": \"1\",\r\n \"region\"\ - : \"centralfrance\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\"\r\n ],\r\n \"systemService\": \"MicrosoftCloudAppSecurity\"\ - ,\r\n \"addressPrefixes\": [\r\n \"20.40.132.195/32\",\r\n\ - \ \"20.40.134.79/32\",\r\n \"20.40.134.94/32\",\r\n \ - \ \"40.66.56.158/32\",\r\n \"40.66.57.164/32\",\r\n \ - \ \"40.66.57.203/32\",\r\n \"40.66.59.41/32\",\r\n \"40.66.59.193/32\"\ - ,\r\n \"40.66.59.195/32\",\r\n \"40.66.59.196/32\",\r\n\ - \ \"40.66.59.246/32\",\r\n \"40.66.60.101/32\",\r\n \ - \ \"40.66.60.118/32\",\r\n \"40.66.60.180/32\",\r\n \ - \ \"40.66.60.185/32\",\r\n \"40.66.60.200/32\",\r\n \"\ - 40.66.60.206/31\",\r\n \"40.66.60.208/31\",\r\n \"40.66.60.210/32\"\ - ,\r\n \"40.66.60.215/32\",\r\n \"40.66.60.216/31\",\r\n\ - \ \"40.66.60.219/32\",\r\n \"40.66.60.220/31\",\r\n \ - \ \"40.66.60.222/32\",\r\n \"40.66.60.224/31\",\r\n \ - \ \"40.66.60.226/32\",\r\n \"40.66.60.232/32\",\r\n \"\ - 40.66.61.61/32\",\r\n \"40.66.61.158/32\",\r\n \"40.66.61.193/32\"\ - ,\r\n \"40.66.61.226/32\",\r\n \"40.66.62.7/32\",\r\n \ - \ \"40.66.62.9/32\",\r\n \"40.66.62.78/32\",\r\n \ - \ \"40.66.62.130/32\",\r\n \"40.66.62.154/32\",\r\n \"40.66.62.225/32\"\ - ,\r\n \"40.66.63.148/32\",\r\n \"40.66.63.255/32\",\r\n\ - \ \"40.79.132.96/28\",\r\n \"40.79.139.16/28\",\r\n \ - \ \"40.79.146.224/28\",\r\n \"40.89.136.227/32\",\r\n \ - \ \"40.89.137.101/32\",\r\n \"40.89.142.184/32\",\r\n \ - \ \"40.89.143.43/32\"\r\n ]\r\n }\r\n },\r\n {\r\n \ - \ \"name\": \"MicrosoftCloudAppSecurity.NorthEurope\",\r\n \"id\": \"\ - MicrosoftCloudAppSecurity.NorthEurope\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"1\",\r\n \"region\": \"northeurope\",\r\n\ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\"\r\n ],\r\n \"systemService\": \"MicrosoftCloudAppSecurity\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.69.190.115/32\",\r\n\ - \ \"13.69.230.48/28\",\r\n \"13.74.108.176/28\",\r\n \ - \ \"13.74.168.152/32\",\r\n \"40.67.251.0/32\",\r\n \ - \ \"40.67.254.233/32\",\r\n \"52.138.227.160/28\",\r\n \ - \ \"52.142.112.145/32\",\r\n \"52.142.112.146/32\",\r\n \ - \ \"52.142.116.135/32\",\r\n \"52.142.116.174/32\",\r\n \ - \ \"52.142.116.250/32\",\r\n \"52.142.117.183/32\",\r\n \ - \ \"52.142.118.130/32\",\r\n \"52.142.121.6/32\",\r\n \"\ - 52.142.121.75/32\",\r\n \"52.142.124.23/32\",\r\n \"52.142.127.127/32\"\ - ,\r\n \"52.155.161.88/32\",\r\n \"52.155.161.91/32\",\r\n\ - \ \"52.155.164.131/32\",\r\n \"52.155.166.50/32\",\r\n \ - \ \"52.155.167.231/32\",\r\n \"52.155.168.45/32\",\r\n \ - \ \"52.155.177.13/32\",\r\n \"52.155.178.247/32\",\r\n \ - \ \"52.155.179.84/32\",\r\n \"52.155.180.208/30\",\r\n \ - \ \"52.155.181.180/30\",\r\n \"52.155.182.48/31\",\r\n \ - \ \"52.155.182.50/32\",\r\n \"52.155.182.138/32\",\r\n \ - \ \"52.155.182.141/32\",\r\n \"52.156.197.208/32\",\r\n \ - \ \"52.156.197.254/32\",\r\n \"52.156.198.196/32\",\r\n \ - \ \"52.156.202.7/32\",\r\n \"52.156.203.22/32\",\r\n \ - \ \"52.156.203.198/31\",\r\n \"52.156.204.24/32\",\r\n \"\ - 52.156.204.51/32\",\r\n \"52.156.204.99/32\",\r\n \"52.156.204.139/32\"\ - ,\r\n \"52.156.205.137/32\",\r\n \"52.156.205.182/32\",\r\ - \n \"52.156.205.222/32\",\r\n \"52.156.205.226/32\",\r\n\ - \ \"52.156.206.43/32\",\r\n \"52.156.206.45/32\",\r\n \ - \ \"52.156.206.46/31\",\r\n \"52.158.28.235/32\",\r\n \ - \ \"52.169.192.237/32\",\r\n \"65.52.229.200/32\",\r\n \ - \ \"168.63.38.153/32\"\r\n ]\r\n }\r\n },\r\n {\r\n\ - \ \"name\": \"MicrosoftCloudAppSecurity.SouthCentralUS\",\r\n \"\ - id\": \"MicrosoftCloudAppSecurity.SouthCentralUS\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"1\",\r\n \"region\": \"southcentralus\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\"\r\n ],\r\n \"systemService\": \"MicrosoftCloudAppSecurity\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.73.242.224/27\",\r\n\ - \ \"20.45.3.127/32\",\r\n \"20.188.72.248/32\",\r\n \ - \ \"40.80.219.49/32\",\r\n \"40.80.220.215/32\",\r\n \ - \ \"40.80.220.246/32\",\r\n \"40.80.221.77/32\",\r\n \"\ - 40.80.222.91/32\",\r\n \"40.80.222.197/32\",\r\n \"40.124.53.69/32\"\ - ,\r\n \"52.153.240.107/32\",\r\n \"52.249.25.160/32\",\r\ - \n \"52.249.25.165/32\"\r\n ]\r\n }\r\n },\r\n \ - \ {\r\n \"name\": \"MicrosoftCloudAppSecurity.UKWest\",\r\n \"id\"\ - : \"MicrosoftCloudAppSecurity.UKWest\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"1\",\r\n \"region\": \"ukwest\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"\ - API\"\r\n ],\r\n \"systemService\": \"MicrosoftCloudAppSecurity\"\ - ,\r\n \"addressPrefixes\": [\r\n \"20.40.106.50/31\",\r\n\ - \ \"20.40.107.84/32\",\r\n \"40.81.120.13/32\",\r\n \ - \ \"40.81.120.24/31\",\r\n \"40.81.120.97/32\",\r\n \ - \ \"40.81.120.187/32\",\r\n \"40.81.120.191/32\",\r\n \"\ - 40.81.120.192/32\",\r\n \"40.81.121.66/32\",\r\n \"40.81.121.76/32\"\ - ,\r\n \"40.81.121.78/32\",\r\n \"40.81.121.107/32\",\r\n\ - \ \"40.81.121.108/32\",\r\n \"40.81.121.111/32\",\r\n \ - \ \"40.81.121.127/32\",\r\n \"40.81.121.135/32\",\r\n \ - \ \"40.81.121.140/32\",\r\n \"40.81.121.175/32\",\r\n \ - \ \"40.81.122.4/32\",\r\n \"40.81.122.62/31\",\r\n \"\ - 40.81.122.76/32\",\r\n \"40.81.122.203/32\",\r\n \"40.81.123.124/32\"\ - ,\r\n \"40.81.123.157/32\",\r\n \"40.81.124.185/32\",\r\n\ - \ \"40.81.124.219/32\",\r\n \"40.81.127.25/32\",\r\n \ - \ \"40.81.127.139/32\",\r\n \"40.81.127.140/31\",\r\n \ - \ \"40.81.127.229/32\",\r\n \"40.81.127.230/32\",\r\n \ - \ \"40.81.127.239/32\",\r\n \"51.137.136.13/32\",\r\n \ - \ \"51.137.136.14/32\",\r\n \"51.137.136.34/32\",\r\n \"\ - 51.137.137.69/32\",\r\n \"51.137.137.118/32\",\r\n \"51.137.137.121/32\"\ - ,\r\n \"51.137.137.200/32\",\r\n \"51.137.137.237/32\",\r\ - \n \"51.140.212.128/27\",\r\n \"51.140.230.246/32\",\r\n\ - \ \"51.140.231.138/32\",\r\n \"51.141.2.189/32\",\r\n \ - \ \"51.141.7.11/32\"\r\n ]\r\n }\r\n },\r\n {\r\n\ - \ \"name\": \"MicrosoftCloudAppSecurity.WestEurope\",\r\n \"id\"\ - : \"MicrosoftCloudAppSecurity.WestEurope\",\r\n \"properties\": {\r\n\ - \ \"changeNumber\": \"1\",\r\n \"region\": \"westeurope\",\r\ - \n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\"\r\n ],\r\n \"systemService\": \"MicrosoftCloudAppSecurity\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.69.67.96/28\",\r\n \ - \ \"13.69.107.96/28\",\r\n \"13.80.7.94/32\",\r\n \ - \ \"13.80.22.71/32\",\r\n \"13.80.125.22/32\",\r\n \"\ - 13.81.123.49/32\",\r\n \"13.81.204.189/32\",\r\n \"13.81.212.71/32\"\ - ,\r\n \"13.93.32.114/32\",\r\n \"13.93.113.192/32\",\r\n\ - \ \"13.95.1.33/32\",\r\n \"13.95.29.177/32\",\r\n \ - \ \"13.95.30.46/32\",\r\n \"40.67.216.253/32\",\r\n \"\ - 40.67.219.133/32\",\r\n \"40.68.245.184/32\",\r\n \"40.74.1.235/32\"\ - ,\r\n \"40.74.6.204/32\",\r\n \"40.91.198.19/32\",\r\n \ - \ \"40.113.121.176/32\",\r\n \"40.114.217.8/32\",\r\n \ - \ \"40.115.24.65/32\",\r\n \"40.115.25.50/32\",\r\n \ - \ \"40.118.63.137/32\",\r\n \"40.118.97.232/32\",\r\n \ - \ \"40.119.145.130/32\",\r\n \"40.119.147.102/32\",\r\n \ - \ \"40.119.154.72/32\",\r\n \"51.105.124.64/32\",\r\n \"\ - 51.105.124.80/32\",\r\n \"51.105.161.5/32\",\r\n \"51.105.163.8/32\"\ - ,\r\n \"51.105.163.43/32\",\r\n \"51.105.164.8/32\",\r\n\ - \ \"51.105.164.234/32\",\r\n \"51.105.164.241/32\",\r\n\ - \ \"51.105.165.31/32\",\r\n \"51.105.165.37/32\",\r\n \ - \ \"51.105.165.63/32\",\r\n \"51.105.165.116/32\",\r\n \ - \ \"51.105.166.102/31\",\r\n \"51.105.166.106/32\",\r\n \ - \ \"51.105.179.157/32\",\r\n \"51.144.56.60/32\",\r\n \ - \ \"51.145.181.195/32\",\r\n \"51.145.181.214/32\",\r\n \ - \ \"52.137.56.200/32\",\r\n \"52.142.220.179/32\",\r\n \ - \ \"52.142.232.120/32\",\r\n \"52.157.218.219/32\",\r\n \ - \ \"52.157.218.232/32\",\r\n \"52.157.232.110/32\",\r\n \ - \ \"52.157.232.147/32\",\r\n \"52.157.233.49/32\",\r\n \ - \ \"52.157.233.92/32\",\r\n \"52.157.233.133/32\",\r\n \ - \ \"52.157.233.205/32\",\r\n \"52.157.234.160/32\",\r\n \ - \ \"52.157.234.222/32\",\r\n \"52.157.235.27/32\",\r\n \ - \ \"52.157.235.144/32\",\r\n \"52.157.236.195/32\",\r\n \ - \ \"52.157.237.107/32\",\r\n \"52.157.237.213/32\",\r\n \ - \ \"52.157.237.255/32\",\r\n \"52.157.238.58/32\",\r\n \"\ - 52.157.239.110/32\",\r\n \"52.157.239.132/32\",\r\n \"52.174.56.180/32\"\ - ,\r\n \"52.178.44.248/32\",\r\n \"52.178.89.44/32\",\r\n\ - \ \"52.236.187.80/28\",\r\n \"65.52.138.123/32\",\r\n \ - \ \"104.40.129.120/32\",\r\n \"104.45.7.95/32\",\r\n \ - \ \"104.45.65.169/32\",\r\n \"104.214.225.33/32\"\r\n \ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"MicrosoftContainerRegistry\"\ - ,\r\n \"id\": \"MicrosoftContainerRegistry\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"MicrosoftContainerRegistry\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.66.140.64/29\",\r\n\ - \ \"13.67.8.112/29\",\r\n \"13.69.64.80/29\",\r\n \ - \ \"13.69.106.72/29\",\r\n \"13.69.227.80/29\",\r\n \"\ - 13.70.72.128/29\",\r\n \"13.71.170.48/29\",\r\n \"13.71.194.120/29\"\ - ,\r\n \"13.74.107.72/29\",\r\n \"13.75.34.152/29\",\r\n\ - \ \"13.77.50.72/29\",\r\n \"13.78.106.192/29\",\r\n \ - \ \"13.87.56.88/29\",\r\n \"13.87.122.88/29\",\r\n \ - \ \"13.89.170.208/29\",\r\n \"20.37.74.64/29\",\r\n \"20.38.146.136/29\"\ - ,\r\n \"20.44.2.16/29\",\r\n \"20.44.26.136/29\",\r\n \ - \ \"20.45.122.136/29\",\r\n \"20.49.82.8/29\",\r\n \ - \ \"20.49.90.8/29\",\r\n \"20.72.26.8/29\",\r\n \"20.150.170.16/29\"\ - ,\r\n \"20.150.178.136/29\",\r\n \"20.150.186.136/29\",\r\ - \n \"20.192.98.136/29\",\r\n \"20.192.234.16/29\",\r\n \ - \ \"20.193.202.8/29\",\r\n \"20.194.66.8/29\",\r\n \ - \ \"23.98.82.104/29\",\r\n \"40.67.58.16/29\",\r\n \"\ - 40.69.106.72/29\",\r\n \"40.70.146.80/29\",\r\n \"40.71.10.208/29\"\ - ,\r\n \"40.74.100.56/29\",\r\n \"40.74.146.40/29\",\r\n\ - \ \"40.75.34.24/29\",\r\n \"40.78.194.72/29\",\r\n \ - \ \"40.78.202.64/29\",\r\n \"40.78.226.200/29\",\r\n \ - \ \"40.78.234.40/29\",\r\n \"40.78.242.152/29\",\r\n \"\ - 40.78.250.88/29\",\r\n \"40.79.130.48/29\",\r\n \"40.79.138.24/29\"\ - ,\r\n \"40.79.146.24/29\",\r\n \"40.79.154.96/29\",\r\n\ - \ \"40.79.162.24/29\",\r\n \"40.79.170.8/29\",\r\n \ - \ \"40.79.178.72/29\",\r\n \"40.79.186.0/29\",\r\n \"\ - 40.79.194.88/29\",\r\n \"40.80.50.136/29\",\r\n \"40.112.242.152/29\"\ - ,\r\n \"40.120.74.8/29\",\r\n \"51.12.98.16/29\",\r\n \ - \ \"51.12.202.16/29\",\r\n \"51.12.226.136/29\",\r\n \ - \ \"51.12.234.136/29\",\r\n \"51.105.66.136/29\",\r\n \ - \ \"51.105.74.136/29\",\r\n \"51.107.58.16/29\",\r\n \"\ - 51.107.154.16/29\",\r\n \"51.116.58.16/29\",\r\n \"51.116.154.80/29\"\ - ,\r\n \"51.116.242.136/29\",\r\n \"51.116.250.136/29\",\r\ - \n \"51.120.98.24/29\",\r\n \"51.120.106.136/29\",\r\n \ - \ \"51.120.210.136/29\",\r\n \"51.120.218.16/29\",\r\n \ - \ \"51.140.146.192/29\",\r\n \"51.140.210.88/29\",\r\n \ - \ \"52.138.90.24/29\",\r\n \"52.138.226.72/29\",\r\n \ - \ \"52.162.106.152/29\",\r\n \"52.167.106.72/29\",\r\n \ - \ \"52.182.138.200/29\",\r\n \"52.231.18.48/29\",\r\n \ - \ \"52.231.146.88/29\",\r\n \"52.236.186.72/29\",\r\n \"\ - 52.246.154.136/29\",\r\n \"65.52.250.8/29\",\r\n \"102.133.26.16/29\"\ - ,\r\n \"102.133.122.136/29\",\r\n \"102.133.154.16/29\"\ - ,\r\n \"102.133.250.136/29\",\r\n \"104.208.16.72/29\",\r\ - \n \"104.208.144.72/29\",\r\n \"104.211.81.128/29\",\r\n\ - \ \"104.211.146.72/29\",\r\n \"104.214.18.176/29\",\r\n\ - \ \"191.233.50.8/29\",\r\n \"191.233.203.128/29\",\r\n \ - \ \"191.234.146.136/29\",\r\n \"191.234.154.136/29\",\r\n\ - \ \"2603:1000:4:402::88/125\",\r\n \"2603:1000:104:402::88/125\"\ - ,\r\n \"2603:1000:104:802::88/125\",\r\n \"2603:1000:104:c02::88/125\"\ - ,\r\n \"2603:1010:6:402::88/125\",\r\n \"2603:1010:6:802::88/125\"\ - ,\r\n \"2603:1010:6:c02::88/125\",\r\n \"2603:1010:101:402::88/125\"\ - ,\r\n \"2603:1010:304:402::88/125\",\r\n \"2603:1010:404:402::88/125\"\ - ,\r\n \"2603:1020:5:402::88/125\",\r\n \"2603:1020:5:802::88/125\"\ - ,\r\n \"2603:1020:5:c02::88/125\",\r\n \"2603:1020:206:402::88/125\"\ - ,\r\n \"2603:1020:206:802::88/125\",\r\n \"2603:1020:206:c02::88/125\"\ - ,\r\n \"2603:1020:305:402::88/125\",\r\n \"2603:1020:405:402::88/125\"\ - ,\r\n \"2603:1020:605:402::88/125\",\r\n \"2603:1020:705:402::88/125\"\ - ,\r\n \"2603:1020:705:802::88/125\",\r\n \"2603:1020:705:c02::88/125\"\ - ,\r\n \"2603:1020:805:402::88/125\",\r\n \"2603:1020:805:802::88/125\"\ - ,\r\n \"2603:1020:805:c02::88/125\",\r\n \"2603:1020:905:402::88/125\"\ - ,\r\n \"2603:1020:a04:402::88/125\",\r\n \"2603:1020:a04:802::88/125\"\ - ,\r\n \"2603:1020:a04:c02::88/125\",\r\n \"2603:1020:b04:402::88/125\"\ - ,\r\n \"2603:1020:c04:402::88/125\",\r\n \"2603:1020:c04:802::88/125\"\ - ,\r\n \"2603:1020:c04:c02::88/125\",\r\n \"2603:1020:d04:402::88/125\"\ - ,\r\n \"2603:1020:e04:402::88/125\",\r\n \"2603:1020:e04:802::88/125\"\ - ,\r\n \"2603:1020:e04:c02::88/125\",\r\n \"2603:1020:f04:402::88/125\"\ - ,\r\n \"2603:1020:1004:400::88/125\",\r\n \"2603:1020:1004:400::3b0/125\"\ - ,\r\n \"2603:1020:1004:800::148/125\",\r\n \"2603:1020:1104:400::88/125\"\ - ,\r\n \"2603:1030:f:400::888/125\",\r\n \"2603:1030:10:402::88/125\"\ - ,\r\n \"2603:1030:10:802::88/125\",\r\n \"2603:1030:10:c02::88/125\"\ - ,\r\n \"2603:1030:104:402::88/125\",\r\n \"2603:1030:107:400::8/125\"\ - ,\r\n \"2603:1030:210:402::88/125\",\r\n \"2603:1030:210:802::88/125\"\ - ,\r\n \"2603:1030:210:c02::88/125\",\r\n \"2603:1030:40b:400::888/125\"\ - ,\r\n \"2603:1030:40b:800::88/125\",\r\n \"2603:1030:40b:c00::88/125\"\ - ,\r\n \"2603:1030:40c:402::88/125\",\r\n \"2603:1030:40c:802::88/125\"\ - ,\r\n \"2603:1030:40c:c02::88/125\",\r\n \"2603:1030:504:402::88/125\"\ - ,\r\n \"2603:1030:504:402::3b0/125\",\r\n \"2603:1030:504:802::148/125\"\ - ,\r\n \"2603:1030:608:402::88/125\",\r\n \"2603:1030:807:402::88/125\"\ - ,\r\n \"2603:1030:807:802::88/125\",\r\n \"2603:1030:807:c02::88/125\"\ - ,\r\n \"2603:1030:a07:402::88/125\",\r\n \"2603:1030:b04:402::88/125\"\ - ,\r\n \"2603:1030:c06:400::888/125\",\r\n \"2603:1030:c06:802::88/125\"\ - ,\r\n \"2603:1030:c06:c02::88/125\",\r\n \"2603:1030:f05:402::88/125\"\ - ,\r\n \"2603:1030:f05:802::88/125\",\r\n \"2603:1030:f05:c02::88/125\"\ - ,\r\n \"2603:1030:1005:402::88/125\",\r\n \"2603:1040:5:402::88/125\"\ - ,\r\n \"2603:1040:5:802::88/125\",\r\n \"2603:1040:5:c02::88/125\"\ - ,\r\n \"2603:1040:207:402::88/125\",\r\n \"2603:1040:407:402::88/125\"\ - ,\r\n \"2603:1040:407:802::88/125\",\r\n \"2603:1040:407:c02::88/125\"\ - ,\r\n \"2603:1040:606:402::88/125\",\r\n \"2603:1040:806:402::88/125\"\ - ,\r\n \"2603:1040:904:402::88/125\",\r\n \"2603:1040:904:802::88/125\"\ - ,\r\n \"2603:1040:904:c02::88/125\",\r\n \"2603:1040:a06:402::88/125\"\ - ,\r\n \"2603:1040:a06:802::88/125\",\r\n \"2603:1040:a06:c02::88/125\"\ - ,\r\n \"2603:1040:b04:402::88/125\",\r\n \"2603:1040:c06:402::88/125\"\ - ,\r\n \"2603:1040:d04:400::88/125\",\r\n \"2603:1040:d04:400::3b0/125\"\ - ,\r\n \"2603:1040:d04:800::148/125\",\r\n \"2603:1040:f05:402::88/125\"\ - ,\r\n \"2603:1040:f05:802::88/125\",\r\n \"2603:1040:f05:c02::88/125\"\ - ,\r\n \"2603:1040:1104:400::88/125\",\r\n \"2603:1050:6:402::88/125\"\ - ,\r\n \"2603:1050:6:802::88/125\",\r\n \"2603:1050:6:c02::88/125\"\ - ,\r\n \"2603:1050:403:400::90/125\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"MicrosoftContainerRegistry.AustraliaEast\"\ - ,\r\n \"id\": \"MicrosoftContainerRegistry.AustraliaEast\",\r\n \ - \ \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\"\ - : \"australiaeast\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n\ - \ \"FW\"\r\n ],\r\n \"systemService\": \"MicrosoftContainerRegistry\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.70.72.128/29\",\r\n\ - \ \"40.79.162.24/29\",\r\n \"40.79.170.8/29\",\r\n \ - \ \"2603:1010:6:402::88/125\",\r\n \"2603:1010:6:802::88/125\"\ - ,\r\n \"2603:1010:6:c02::88/125\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"MicrosoftContainerRegistry.AustraliaSoutheast\"\ - ,\r\n \"id\": \"MicrosoftContainerRegistry.AustraliaSoutheast\",\r\n\ - \ \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \"\ - region\": \"australiasoutheast\",\r\n \"state\": \"GA\",\r\n \ - \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n\ - \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\"\ - : \"MicrosoftContainerRegistry\",\r\n \"addressPrefixes\": [\r\n \ - \ \"13.77.50.72/29\",\r\n \"2603:1010:101:402::88/125\"\r\n\ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"MicrosoftContainerRegistry.BrazilSouth\"\ - ,\r\n \"id\": \"MicrosoftContainerRegistry.BrazilSouth\",\r\n \"\ - properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\"\ - : \"brazilsouth\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n\ - \ \"FW\"\r\n ],\r\n \"systemService\": \"MicrosoftContainerRegistry\"\ - ,\r\n \"addressPrefixes\": [\r\n \"191.233.203.128/29\",\r\ - \n \"191.234.146.136/29\",\r\n \"191.234.154.136/29\",\r\ - \n \"2603:1050:6:402::88/125\",\r\n \"2603:1050:6:802::88/125\"\ - ,\r\n \"2603:1050:6:c02::88/125\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"MicrosoftContainerRegistry.CanadaCentral\"\ - ,\r\n \"id\": \"MicrosoftContainerRegistry.CanadaCentral\",\r\n \ - \ \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\"\ - : \"canadacentral\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n\ - \ \"FW\"\r\n ],\r\n \"systemService\": \"MicrosoftContainerRegistry\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.71.170.48/29\",\r\n\ - \ \"20.38.146.136/29\",\r\n \"52.246.154.136/29\",\r\n \ - \ \"2603:1030:f05:402::88/125\",\r\n \"2603:1030:f05:802::88/125\"\ - ,\r\n \"2603:1030:f05:c02::88/125\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"MicrosoftContainerRegistry.CanadaEast\"\ - ,\r\n \"id\": \"MicrosoftContainerRegistry.CanadaEast\",\r\n \"\ - properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\"\ - : \"canadaeast\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n\ - \ \"FW\"\r\n ],\r\n \"systemService\": \"MicrosoftContainerRegistry\"\ - ,\r\n \"addressPrefixes\": [\r\n \"40.69.106.72/29\",\r\n\ - \ \"2603:1030:1005:402::88/125\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"MicrosoftContainerRegistry.CentralIndia\",\r\n\ - \ \"id\": \"MicrosoftContainerRegistry.CentralIndia\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"centralindia\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"MicrosoftContainerRegistry\",\r\n \"addressPrefixes\": [\r\n \ - \ \"20.192.98.136/29\",\r\n \"40.80.50.136/29\",\r\n \ - \ \"104.211.81.128/29\",\r\n \"2603:1040:a06:402::88/125\",\r\ - \n \"2603:1040:a06:802::88/125\",\r\n \"2603:1040:a06:c02::88/125\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"MicrosoftContainerRegistry.CentralUS\"\ - ,\r\n \"id\": \"MicrosoftContainerRegistry.CentralUS\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"centralus\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"MicrosoftContainerRegistry\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.89.170.208/29\",\r\n\ - \ \"52.182.138.200/29\",\r\n \"104.208.16.72/29\",\r\n \ - \ \"2603:1030:10:402::88/125\",\r\n \"2603:1030:10:802::88/125\"\ - ,\r\n \"2603:1030:10:c02::88/125\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"MicrosoftContainerRegistry.CentralUSEUAP\"\ - ,\r\n \"id\": \"MicrosoftContainerRegistry.CentralUSEUAP\",\r\n \ - \ \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\"\ - : \"centraluseuap\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n\ - \ \"FW\"\r\n ],\r\n \"systemService\": \"MicrosoftContainerRegistry\"\ - ,\r\n \"addressPrefixes\": [\r\n \"40.78.202.64/29\",\r\n\ - \ \"2603:1030:f:400::888/125\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"MicrosoftContainerRegistry.EastAsia\",\r\n \ - \ \"id\": \"MicrosoftContainerRegistry.EastAsia\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"eastasia\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"MicrosoftContainerRegistry\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.75.34.152/29\",\r\n\ - \ \"2603:1040:207:402::88/125\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"MicrosoftContainerRegistry.EastUS\",\r\n \ - \ \"id\": \"MicrosoftContainerRegistry.EastUS\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"eastus\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"MicrosoftContainerRegistry\"\ - ,\r\n \"addressPrefixes\": [\r\n \"40.71.10.208/29\",\r\n\ - \ \"40.78.226.200/29\",\r\n \"40.79.154.96/29\",\r\n \ - \ \"2603:1030:210:402::88/125\",\r\n \"2603:1030:210:802::88/125\"\ - ,\r\n \"2603:1030:210:c02::88/125\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"MicrosoftContainerRegistry.EastUS2\"\ - ,\r\n \"id\": \"MicrosoftContainerRegistry.EastUS2\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"eastus2\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"MicrosoftContainerRegistry\"\ - ,\r\n \"addressPrefixes\": [\r\n \"40.70.146.80/29\",\r\n\ - \ \"52.167.106.72/29\",\r\n \"104.208.144.72/29\",\r\n \ - \ \"2603:1030:40c:402::88/125\",\r\n \"2603:1030:40c:802::88/125\"\ - ,\r\n \"2603:1030:40c:c02::88/125\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"MicrosoftContainerRegistry.EastUS2EUAP\"\ - ,\r\n \"id\": \"MicrosoftContainerRegistry.EastUS2EUAP\",\r\n \"\ - properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\"\ - : \"eastus2euap\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n\ - \ \"FW\"\r\n ],\r\n \"systemService\": \"MicrosoftContainerRegistry\"\ - ,\r\n \"addressPrefixes\": [\r\n \"40.74.146.40/29\",\r\n\ - \ \"40.75.34.24/29\",\r\n \"52.138.90.24/29\",\r\n \ - \ \"2603:1030:40b:400::888/125\",\r\n \"2603:1030:40b:800::88/125\"\ - ,\r\n \"2603:1030:40b:c00::88/125\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"MicrosoftContainerRegistry.FranceCentral\"\ - ,\r\n \"id\": \"MicrosoftContainerRegistry.FranceCentral\",\r\n \ - \ \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\"\ - : \"centralfrance\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n\ - \ \"FW\"\r\n ],\r\n \"systemService\": \"MicrosoftContainerRegistry\"\ - ,\r\n \"addressPrefixes\": [\r\n \"40.79.130.48/29\",\r\n\ - \ \"40.79.138.24/29\",\r\n \"40.79.146.24/29\",\r\n \ - \ \"2603:1020:805:402::88/125\",\r\n \"2603:1020:805:802::88/125\"\ - ,\r\n \"2603:1020:805:c02::88/125\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"MicrosoftContainerRegistry.FranceSouth\"\ - ,\r\n \"id\": \"MicrosoftContainerRegistry.FranceSouth\",\r\n \"\ - properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\"\ - : \"southfrance\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n\ - \ \"FW\"\r\n ],\r\n \"systemService\": \"MicrosoftContainerRegistry\"\ - ,\r\n \"addressPrefixes\": [\r\n \"40.79.178.72/29\",\r\n\ - \ \"2603:1020:905:402::88/125\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"MicrosoftContainerRegistry.GermanyNorth\",\r\n\ - \ \"id\": \"MicrosoftContainerRegistry.GermanyNorth\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"germanyn\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"MicrosoftContainerRegistry\"\ - ,\r\n \"addressPrefixes\": [\r\n \"51.116.58.16/29\",\r\n\ - \ \"2603:1020:d04:402::88/125\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"MicrosoftContainerRegistry.GermanyWestCentral\"\ - ,\r\n \"id\": \"MicrosoftContainerRegistry.GermanyWestCentral\",\r\n\ - \ \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \"\ - region\": \"germanywc\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n\ - \ \"FW\"\r\n ],\r\n \"systemService\": \"MicrosoftContainerRegistry\"\ - ,\r\n \"addressPrefixes\": [\r\n \"51.116.154.80/29\",\r\n\ - \ \"51.116.242.136/29\",\r\n \"51.116.250.136/29\",\r\n\ - \ \"2603:1020:c04:402::88/125\",\r\n \"2603:1020:c04:802::88/125\"\ - ,\r\n \"2603:1020:c04:c02::88/125\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"MicrosoftContainerRegistry.JapanEast\"\ - ,\r\n \"id\": \"MicrosoftContainerRegistry.JapanEast\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"japaneast\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"MicrosoftContainerRegistry\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.78.106.192/29\",\r\n\ - \ \"40.79.186.0/29\",\r\n \"40.79.194.88/29\",\r\n \ - \ \"2603:1040:407:402::88/125\",\r\n \"2603:1040:407:802::88/125\"\ - ,\r\n \"2603:1040:407:c02::88/125\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"MicrosoftContainerRegistry.JapanWest\"\ - ,\r\n \"id\": \"MicrosoftContainerRegistry.JapanWest\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"japanwest\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"MicrosoftContainerRegistry\"\ - ,\r\n \"addressPrefixes\": [\r\n \"40.74.100.56/29\",\r\n\ - \ \"2603:1040:606:402::88/125\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"MicrosoftContainerRegistry.KoreaCentral\",\r\n\ - \ \"id\": \"MicrosoftContainerRegistry.KoreaCentral\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"koreacentral\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"MicrosoftContainerRegistry\"\ - ,\r\n \"addressPrefixes\": [\r\n \"20.44.26.136/29\",\r\n\ - \ \"20.194.66.8/29\",\r\n \"52.231.18.48/29\",\r\n \ - \ \"2603:1040:f05:402::88/125\",\r\n \"2603:1040:f05:802::88/125\"\ - ,\r\n \"2603:1040:f05:c02::88/125\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"MicrosoftContainerRegistry.KoreaSouth\"\ - ,\r\n \"id\": \"MicrosoftContainerRegistry.KoreaSouth\",\r\n \"\ - properties\": {\r\n \"changeNumber\": \"1\",\r\n \"region\"\ - : \"koreasouth\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n\ - \ \"FW\"\r\n ],\r\n \"systemService\": \"MicrosoftContainerRegistry\"\ - ,\r\n \"addressPrefixes\": [\r\n \"52.231.146.88/29\"\r\n\ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"MicrosoftContainerRegistry.NorthCentralUS\"\ - ,\r\n \"id\": \"MicrosoftContainerRegistry.NorthCentralUS\",\r\n \ - \ \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\"\ - : \"northcentralus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n\ - \ \"FW\"\r\n ],\r\n \"systemService\": \"MicrosoftContainerRegistry\"\ - ,\r\n \"addressPrefixes\": [\r\n \"52.162.106.152/29\",\r\n\ - \ \"2603:1030:608:402::88/125\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"MicrosoftContainerRegistry.NorthEurope\",\r\n\ - \ \"id\": \"MicrosoftContainerRegistry.NorthEurope\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"northeurope\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"MicrosoftContainerRegistry\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.69.227.80/29\",\r\n\ - \ \"13.74.107.72/29\",\r\n \"52.138.226.72/29\",\r\n \ - \ \"2603:1020:5:402::88/125\",\r\n \"2603:1020:5:802::88/125\"\ - ,\r\n \"2603:1020:5:c02::88/125\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"MicrosoftContainerRegistry.NorwayEast\"\ - ,\r\n \"id\": \"MicrosoftContainerRegistry.NorwayEast\",\r\n \"\ - properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\"\ - : \"norwaye\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n\ - \ \"FW\"\r\n ],\r\n \"systemService\": \"MicrosoftContainerRegistry\"\ - ,\r\n \"addressPrefixes\": [\r\n \"51.120.98.24/29\",\r\n\ - \ \"51.120.106.136/29\",\r\n \"51.120.210.136/29\",\r\n\ - \ \"2603:1020:e04:402::88/125\",\r\n \"2603:1020:e04:802::88/125\"\ - ,\r\n \"2603:1020:e04:c02::88/125\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"MicrosoftContainerRegistry.NorwayWest\"\ - ,\r\n \"id\": \"MicrosoftContainerRegistry.NorwayWest\",\r\n \"\ - properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\"\ - : \"norwayw\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n\ - \ \"FW\"\r\n ],\r\n \"systemService\": \"MicrosoftContainerRegistry\"\ - ,\r\n \"addressPrefixes\": [\r\n \"51.120.218.16/29\",\r\n\ - \ \"2603:1020:f04:402::88/125\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"MicrosoftContainerRegistry.SouthAfricaNorth\"\ - ,\r\n \"id\": \"MicrosoftContainerRegistry.SouthAfricaNorth\",\r\n \ - \ \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\"\ - : \"southafricanorth\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n\ - \ \"FW\"\r\n ],\r\n \"systemService\": \"MicrosoftContainerRegistry\"\ - ,\r\n \"addressPrefixes\": [\r\n \"102.133.122.136/29\",\r\ - \n \"102.133.154.16/29\",\r\n \"102.133.250.136/29\",\r\n\ - \ \"2603:1000:104:402::88/125\",\r\n \"2603:1000:104:802::88/125\"\ - ,\r\n \"2603:1000:104:c02::88/125\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"MicrosoftContainerRegistry.SouthAfricaWest\"\ - ,\r\n \"id\": \"MicrosoftContainerRegistry.SouthAfricaWest\",\r\n \ - \ \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\"\ - : \"southafricawest\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n\ - \ \"FW\"\r\n ],\r\n \"systemService\": \"MicrosoftContainerRegistry\"\ - ,\r\n \"addressPrefixes\": [\r\n \"102.133.26.16/29\",\r\n\ - \ \"2603:1000:4:402::88/125\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"MicrosoftContainerRegistry.SouthCentralUS\",\r\ - \n \"id\": \"MicrosoftContainerRegistry.SouthCentralUS\",\r\n \"\ - properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\"\ - : \"southcentralus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n\ - \ \"FW\"\r\n ],\r\n \"systemService\": \"MicrosoftContainerRegistry\"\ - ,\r\n \"addressPrefixes\": [\r\n \"20.45.122.136/29\",\r\n\ - \ \"20.49.90.8/29\",\r\n \"104.214.18.176/29\",\r\n \ - \ \"2603:1030:807:402::88/125\",\r\n \"2603:1030:807:802::88/125\"\ - ,\r\n \"2603:1030:807:c02::88/125\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"MicrosoftContainerRegistry.SoutheastAsia\"\ - ,\r\n \"id\": \"MicrosoftContainerRegistry.SoutheastAsia\",\r\n \ - \ \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\"\ - : \"southeastasia\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n\ - \ \"FW\"\r\n ],\r\n \"systemService\": \"MicrosoftContainerRegistry\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.67.8.112/29\",\r\n \ - \ \"23.98.82.104/29\",\r\n \"40.78.234.40/29\",\r\n \ - \ \"2603:1040:5:402::88/125\",\r\n \"2603:1040:5:802::88/125\"\ - ,\r\n \"2603:1040:5:c02::88/125\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"MicrosoftContainerRegistry.SouthIndia\"\ - ,\r\n \"id\": \"MicrosoftContainerRegistry.SouthIndia\",\r\n \"\ - properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\"\ - : \"southindia\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n\ - \ \"FW\"\r\n ],\r\n \"systemService\": \"MicrosoftContainerRegistry\"\ - ,\r\n \"addressPrefixes\": [\r\n \"40.78.194.72/29\",\r\n\ - \ \"2603:1040:c06:402::88/125\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"MicrosoftContainerRegistry.SwitzerlandNorth\"\ - ,\r\n \"id\": \"MicrosoftContainerRegistry.SwitzerlandNorth\",\r\n \ - \ \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\"\ - : \"switzerlandn\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n\ - \ \"FW\"\r\n ],\r\n \"systemService\": \"MicrosoftContainerRegistry\"\ - ,\r\n \"addressPrefixes\": [\r\n \"51.107.58.16/29\",\r\n\ - \ \"2603:1020:a04:402::88/125\",\r\n \"2603:1020:a04:802::88/125\"\ - ,\r\n \"2603:1020:a04:c02::88/125\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"MicrosoftContainerRegistry.SwitzerlandWest\"\ - ,\r\n \"id\": \"MicrosoftContainerRegistry.SwitzerlandWest\",\r\n \ - \ \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\"\ - : \"switzerlandw\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n\ - \ \"FW\"\r\n ],\r\n \"systemService\": \"MicrosoftContainerRegistry\"\ - ,\r\n \"addressPrefixes\": [\r\n \"51.107.154.16/29\",\r\n\ - \ \"2603:1020:b04:402::88/125\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"MicrosoftContainerRegistry.UAECentral\",\r\n\ - \ \"id\": \"MicrosoftContainerRegistry.UAECentral\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"uaecentral\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"MicrosoftContainerRegistry\"\ - ,\r\n \"addressPrefixes\": [\r\n \"20.37.74.64/29\",\r\n \ - \ \"2603:1040:b04:402::88/125\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"MicrosoftContainerRegistry.UAENorth\",\r\n \ - \ \"id\": \"MicrosoftContainerRegistry.UAENorth\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"uaenorth\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"MicrosoftContainerRegistry\"\ - ,\r\n \"addressPrefixes\": [\r\n \"40.120.74.8/29\",\r\n \ - \ \"65.52.250.8/29\",\r\n \"2603:1040:904:402::88/125\",\r\ - \n \"2603:1040:904:802::88/125\",\r\n \"2603:1040:904:c02::88/125\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"MicrosoftContainerRegistry.UKSouth\"\ - ,\r\n \"id\": \"MicrosoftContainerRegistry.UKSouth\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"uksouth\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"MicrosoftContainerRegistry\"\ - ,\r\n \"addressPrefixes\": [\r\n \"51.105.66.136/29\",\r\n\ - \ \"51.105.74.136/29\",\r\n \"51.140.146.192/29\",\r\n \ - \ \"2603:1020:705:402::88/125\",\r\n \"2603:1020:705:802::88/125\"\ - ,\r\n \"2603:1020:705:c02::88/125\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"MicrosoftContainerRegistry.UKSouth2\"\ - ,\r\n \"id\": \"MicrosoftContainerRegistry.UKSouth2\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"uksouth2\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\"\r\n ],\r\n \"systemService\": \"MicrosoftContainerRegistry\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.87.56.88/29\",\r\n \ - \ \"2603:1020:405:402::88/125\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"MicrosoftContainerRegistry.UKWest\",\r\n \ - \ \"id\": \"MicrosoftContainerRegistry.UKWest\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"ukwest\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"MicrosoftContainerRegistry\"\ - ,\r\n \"addressPrefixes\": [\r\n \"51.140.210.88/29\",\r\n\ - \ \"2603:1020:605:402::88/125\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"MicrosoftContainerRegistry.WestCentralUS\",\r\ - \n \"id\": \"MicrosoftContainerRegistry.WestCentralUS\",\r\n \"\ - properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\"\ - : \"westcentralus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"\ - systemService\": \"MicrosoftContainerRegistry\",\r\n \"addressPrefixes\"\ - : [\r\n \"13.71.194.120/29\",\r\n \"2603:1030:b04:402::88/125\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"MicrosoftContainerRegistry.WestEurope\"\ - ,\r\n \"id\": \"MicrosoftContainerRegistry.WestEurope\",\r\n \"\ - properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\"\ - : \"westeurope\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n\ - \ \"FW\"\r\n ],\r\n \"systemService\": \"MicrosoftContainerRegistry\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.69.64.80/29\",\r\n \ - \ \"13.69.106.72/29\",\r\n \"52.236.186.72/29\",\r\n \ - \ \"2603:1020:206:402::88/125\",\r\n \"2603:1020:206:802::88/125\"\ - ,\r\n \"2603:1020:206:c02::88/125\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"MicrosoftContainerRegistry.WestIndia\"\ - ,\r\n \"id\": \"MicrosoftContainerRegistry.WestIndia\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"westindia\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"MicrosoftContainerRegistry\"\ - ,\r\n \"addressPrefixes\": [\r\n \"104.211.146.72/29\",\r\n\ - \ \"2603:1040:806:402::88/125\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"MicrosoftContainerRegistry.WestUS\",\r\n \ - \ \"id\": \"MicrosoftContainerRegistry.WestUS\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"westus\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"MicrosoftContainerRegistry\"\ - ,\r\n \"addressPrefixes\": [\r\n \"40.112.242.152/29\",\r\n\ - \ \"2603:1030:a07:402::88/125\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"MicrosoftContainerRegistry.WestUS2\",\r\n \ - \ \"id\": \"MicrosoftContainerRegistry.WestUS2\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"westus2\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"MicrosoftContainerRegistry\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.66.140.64/29\",\r\n\ - \ \"40.78.242.152/29\",\r\n \"40.78.250.88/29\",\r\n \ - \ \"2603:1030:c06:400::888/125\",\r\n \"2603:1030:c06:802::88/125\"\ - ,\r\n \"2603:1030:c06:c02::88/125\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"PowerBI\",\r\n \"id\": \"PowerBI\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n \ - \ \"region\": \"\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n\ - \ \"FW\"\r\n ],\r\n \"systemService\": \"PowerBI\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.73.248.4/31\",\r\n \ - \ \"13.73.248.48/28\",\r\n \"13.73.248.64/27\",\r\n \ - \ \"20.36.120.122/31\",\r\n \"20.36.120.124/30\",\r\n \ - \ \"20.36.120.208/29\",\r\n \"20.37.64.122/31\",\r\n \"\ - 20.37.64.124/30\",\r\n \"20.37.64.208/29\",\r\n \"20.37.156.200/30\"\ - ,\r\n \"20.37.156.240/28\",\r\n \"20.37.157.0/29\",\r\n\ - \ \"20.37.157.16/28\",\r\n \"20.37.157.32/27\",\r\n \ - \ \"20.37.195.24/31\",\r\n \"20.37.195.48/29\",\r\n \ - \ \"20.37.195.64/28\",\r\n \"20.37.195.128/26\",\r\n \"\ - 20.37.224.122/31\",\r\n \"20.37.224.124/30\",\r\n \"20.37.224.208/29\"\ - ,\r\n \"20.38.84.104/31\",\r\n \"20.38.84.128/25\",\r\n\ - \ \"20.38.85.0/25\",\r\n \"20.38.86.0/24\",\r\n \ - \ \"20.38.136.70/31\",\r\n \"20.38.136.208/30\",\r\n \"\ - 20.38.136.216/29\",\r\n \"20.39.11.26/31\",\r\n \"20.39.11.28/30\"\ - ,\r\n \"20.39.11.48/28\",\r\n \"20.41.4.104/31\",\r\n \ - \ \"20.41.4.108/30\",\r\n \"20.41.4.208/28\",\r\n \ - \ \"20.41.4.224/27\",\r\n \"20.41.5.0/25\",\r\n \"20.41.65.146/31\"\ - ,\r\n \"20.41.65.148/30\",\r\n \"20.41.65.152/29\",\r\n\ - \ \"20.41.192.122/31\",\r\n \"20.41.192.124/30\",\r\n \ - \ \"20.41.193.144/29\",\r\n \"20.42.0.70/31\",\r\n \ - \ \"20.42.4.240/29\",\r\n \"20.42.6.0/27\",\r\n \"20.42.6.64/26\"\ - ,\r\n \"20.42.131.32/31\",\r\n \"20.42.131.40/29\",\r\n\ - \ \"20.42.131.48/29\",\r\n \"20.42.131.128/26\",\r\n \ - \ \"20.42.224.122/31\",\r\n \"20.42.227.16/28\",\r\n \ - \ \"20.42.227.32/29\",\r\n \"20.42.227.64/26\",\r\n \"\ - 20.43.41.176/31\",\r\n \"20.43.41.184/29\",\r\n \"20.43.41.192/26\"\ - ,\r\n \"20.43.65.152/31\",\r\n \"20.43.65.176/29\",\r\n\ - \ \"20.43.65.192/28\",\r\n \"20.43.65.224/27\",\r\n \ - \ \"20.43.130.192/31\",\r\n \"20.43.130.196/30\",\r\n \ - \ \"20.43.130.200/29\",\r\n \"20.43.130.208/28\",\r\n \ - \ \"20.43.130.224/28\",\r\n \"20.43.131.0/27\",\r\n \"\ - 20.43.131.64/26\",\r\n \"20.45.192.122/31\",\r\n \"20.45.192.124/31\"\ - ,\r\n \"20.45.192.208/30\",\r\n \"20.45.192.216/29\",\r\n\ - \ \"20.45.192.224/28\",\r\n \"20.48.196.232/29\",\r\n \ - \ \"20.50.0.0/24\",\r\n \"20.65.133.80/29\",\r\n \ - \ \"20.72.16.22/31\",\r\n \"20.72.16.44/30\",\r\n \"20.72.20.32/29\"\ - ,\r\n \"20.150.160.110/31\",\r\n \"20.150.160.124/30\",\r\ - \n \"20.150.161.144/29\",\r\n \"20.189.104.70/31\",\r\n\ - \ \"20.189.106.224/27\",\r\n \"20.189.108.0/27\",\r\n \ - \ \"20.192.160.22/31\",\r\n \"20.192.161.112/30\",\r\n \ - \ \"20.192.161.120/29\",\r\n \"20.192.225.34/31\",\r\n \ - \ \"20.192.225.36/30\",\r\n \"20.192.225.192/29\",\r\n \ - \ \"40.74.24.70/31\",\r\n \"40.74.30.128/29\",\r\n \"\ - 40.74.30.160/27\",\r\n \"40.74.30.192/26\",\r\n \"40.74.31.0/26\"\ - ,\r\n \"40.80.56.122/31\",\r\n \"40.80.57.144/29\",\r\n\ - \ \"40.80.57.160/28\",\r\n \"40.80.168.122/31\",\r\n \ - \ \"40.80.168.124/30\",\r\n \"40.80.169.144/29\",\r\n \ - \ \"40.80.184.70/31\",\r\n \"40.80.188.48/28\",\r\n \ - \ \"40.80.188.64/27\",\r\n \"40.80.188.128/25\",\r\n \"\ - 40.80.189.0/24\",\r\n \"40.82.248.68/31\",\r\n \"40.82.253.96/28\"\ - ,\r\n \"40.82.253.128/26\",\r\n \"40.82.254.0/25\",\r\n\ - \ \"40.89.16.122/31\",\r\n \"40.89.17.144/28\",\r\n \ - \ \"40.89.17.160/27\",\r\n \"40.119.8.76/30\",\r\n \ - \ \"40.119.11.64/26\",\r\n \"51.12.17.16/30\",\r\n \"51.12.17.24/29\"\ - ,\r\n \"51.12.25.8/29\",\r\n \"51.12.46.230/31\",\r\n \ - \ \"51.12.47.28/30\",\r\n \"51.12.198.210/31\",\r\n \ - \ \"51.104.25.140/31\",\r\n \"51.104.25.152/30\",\r\n \ - \ \"51.104.25.176/28\",\r\n \"51.104.25.192/29\",\r\n \"\ - 51.104.27.0/26\",\r\n \"51.105.88.122/31\",\r\n \"51.105.88.124/30\"\ - ,\r\n \"51.105.88.208/28\",\r\n \"51.107.48.124/31\",\r\n\ - \ \"51.107.48.208/30\",\r\n \"51.107.48.216/29\",\r\n \ - \ \"51.107.144.122/31\",\r\n \"51.107.144.124/30\",\r\n \ - \ \"51.107.144.208/29\",\r\n \"51.116.48.68/31\",\r\n \ - \ \"51.116.48.128/30\",\r\n \"51.116.48.136/29\",\r\n \ - \ \"51.116.144.68/31\",\r\n \"51.116.144.128/30\",\r\n \ - \ \"51.116.144.136/29\",\r\n \"51.116.149.232/29\",\r\n \ - \ \"51.120.40.124/31\",\r\n \"51.120.40.208/30\",\r\n \ - \ \"51.120.40.216/29\",\r\n \"51.120.224.122/31\",\r\n \"\ - 51.120.224.124/30\",\r\n \"51.120.224.208/29\",\r\n \"51.137.160.70/31\"\ - ,\r\n \"51.137.161.160/27\",\r\n \"51.137.161.192/27\",\r\ - \n \"52.136.48.120/31\",\r\n \"52.136.48.124/30\",\r\n \ - \ \"52.136.48.208/29\",\r\n \"52.136.48.224/28\",\r\n \ - \ \"52.140.105.144/28\",\r\n \"52.140.105.160/28\",\r\n \ - \ \"52.150.139.76/31\",\r\n \"52.150.139.96/30\",\r\n \ - \ \"52.150.139.112/28\",\r\n \"52.150.139.128/28\",\r\n \ - \ \"52.150.139.160/27\",\r\n \"52.228.81.160/31\",\r\n \ - \ \"52.228.81.168/29\",\r\n \"52.228.81.176/28\",\r\n \ - \ \"52.228.81.192/27\",\r\n \"102.37.160.160/29\",\r\n \ - \ \"102.133.56.98/31\",\r\n \"102.133.56.100/30\",\r\n \"\ - 102.133.56.104/29\",\r\n \"102.133.216.104/31\",\r\n \"\ - 102.133.216.108/30\",\r\n \"102.133.217.64/29\",\r\n \"\ - 191.233.8.22/31\",\r\n \"191.233.10.32/30\",\r\n \"191.233.10.40/29\"\ - ,\r\n \"191.235.225.152/31\",\r\n \"191.235.225.156/30\"\ - ,\r\n \"191.235.225.176/28\",\r\n \"191.235.225.192/28\"\ - ,\r\n \"191.235.225.224/27\",\r\n \"191.238.72.128/28\"\ - ,\r\n \"2603:1000:4::620/123\",\r\n \"2603:1000:4::640/122\"\ - ,\r\n \"2603:1000:104::100/122\",\r\n \"2603:1000:104::140/123\"\ - ,\r\n \"2603:1000:104::320/123\",\r\n \"2603:1000:104::340/122\"\ - ,\r\n \"2603:1000:104:1::5e0/123\",\r\n \"2603:1000:104:1::600/122\"\ - ,\r\n \"2603:1010:6::/122\",\r\n \"2603:1010:6::40/123\"\ - ,\r\n \"2603:1010:6:1::5e0/123\",\r\n \"2603:1010:6:1::600/122\"\ - ,\r\n \"2603:1010:101::620/123\",\r\n \"2603:1010:101::640/122\"\ - ,\r\n \"2603:1010:304::620/123\",\r\n \"2603:1010:304::640/122\"\ - ,\r\n \"2603:1010:404::620/123\",\r\n \"2603:1010:404::640/122\"\ - ,\r\n \"2603:1020:5::/122\",\r\n \"2603:1020:5::40/123\"\ - ,\r\n \"2603:1020:5:1::5e0/123\",\r\n \"2603:1020:5:1::600/122\"\ - ,\r\n \"2603:1020:206::/122\",\r\n \"2603:1020:206::40/123\"\ - ,\r\n \"2603:1020:206:1::5e0/123\",\r\n \"2603:1020:206:1::600/122\"\ - ,\r\n \"2603:1020:305::620/123\",\r\n \"2603:1020:305::640/122\"\ - ,\r\n \"2603:1020:405::620/123\",\r\n \"2603:1020:405::640/122\"\ - ,\r\n \"2603:1020:605::620/123\",\r\n \"2603:1020:605::640/122\"\ - ,\r\n \"2603:1020:705::/122\",\r\n \"2603:1020:705::40/123\"\ - ,\r\n \"2603:1020:705:1::5e0/123\",\r\n \"2603:1020:705:1::600/122\"\ - ,\r\n \"2603:1020:805::/122\",\r\n \"2603:1020:805::40/123\"\ - ,\r\n \"2603:1020:805:1::5e0/123\",\r\n \"2603:1020:805:1::600/122\"\ - ,\r\n \"2603:1020:905::620/123\",\r\n \"2603:1020:905::640/122\"\ - ,\r\n \"2603:1020:a04::/122\",\r\n \"2603:1020:a04::40/123\"\ - ,\r\n \"2603:1020:a04:1::5e0/123\",\r\n \"2603:1020:a04:1::600/122\"\ - ,\r\n \"2603:1020:b04::620/123\",\r\n \"2603:1020:b04::640/122\"\ - ,\r\n \"2603:1020:c04::/122\",\r\n \"2603:1020:c04::40/123\"\ - ,\r\n \"2603:1020:c04:1::5e0/123\",\r\n \"2603:1020:c04:1::600/122\"\ - ,\r\n \"2603:1020:d04::620/123\",\r\n \"2603:1020:d04::640/122\"\ - ,\r\n \"2603:1020:e04::/122\",\r\n \"2603:1020:e04::40/123\"\ - ,\r\n \"2603:1020:e04:1::5e0/123\",\r\n \"2603:1020:e04:1::600/122\"\ - ,\r\n \"2603:1020:f04::620/123\",\r\n \"2603:1020:f04::640/122\"\ - ,\r\n \"2603:1020:1004::5e0/123\",\r\n \"2603:1020:1004::600/122\"\ - ,\r\n \"2603:1020:1004:1::/122\",\r\n \"2603:1020:1004:1::40/123\"\ - ,\r\n \"2603:1020:1104::6a0/123\",\r\n \"2603:1020:1104::6c0/122\"\ - ,\r\n \"2603:1030:f:1::620/123\",\r\n \"2603:1030:f:1::640/122\"\ - ,\r\n \"2603:1030:10::/122\",\r\n \"2603:1030:10::40/123\"\ - ,\r\n \"2603:1030:10:1::5e0/123\",\r\n \"2603:1030:10:1::600/122\"\ - ,\r\n \"2603:1030:104::/122\",\r\n \"2603:1030:104::40/123\"\ - ,\r\n \"2603:1030:104:1::5e0/123\",\r\n \"2603:1030:104:1::600/122\"\ - ,\r\n \"2603:1030:107::6c0/122\",\r\n \"2603:1030:107::700/123\"\ - ,\r\n \"2603:1030:210::/122\",\r\n \"2603:1030:210::40/123\"\ - ,\r\n \"2603:1030:210:1::5e0/123\",\r\n \"2603:1030:210:1::600/122\"\ - ,\r\n \"2603:1030:40b:1::5e0/123\",\r\n \"2603:1030:40b:1::600/122\"\ - ,\r\n \"2603:1030:40c::/122\",\r\n \"2603:1030:40c::40/123\"\ - ,\r\n \"2603:1030:40c:1::5e0/123\",\r\n \"2603:1030:40c:1::600/122\"\ - ,\r\n \"2603:1030:504::/122\",\r\n \"2603:1030:504::40/123\"\ - ,\r\n \"2603:1030:504:1::5e0/123\",\r\n \"2603:1030:504:1::600/122\"\ - ,\r\n \"2603:1030:608::620/123\",\r\n \"2603:1030:608::640/122\"\ - ,\r\n \"2603:1030:807::/122\",\r\n \"2603:1030:807::40/123\"\ - ,\r\n \"2603:1030:807:1::5e0/123\",\r\n \"2603:1030:807:1::600/122\"\ - ,\r\n \"2603:1030:a07::620/123\",\r\n \"2603:1030:a07::640/122\"\ - ,\r\n \"2603:1030:b04::620/123\",\r\n \"2603:1030:b04::640/122\"\ - ,\r\n \"2603:1030:c06:1::5e0/123\",\r\n \"2603:1030:c06:1::600/122\"\ - ,\r\n \"2603:1030:f05::/122\",\r\n \"2603:1030:f05::40/123\"\ - ,\r\n \"2603:1030:f05:1::5e0/123\",\r\n \"2603:1030:f05:1::600/122\"\ - ,\r\n \"2603:1030:1005::620/123\",\r\n \"2603:1030:1005::640/122\"\ - ,\r\n \"2603:1040:5::100/122\",\r\n \"2603:1040:5::140/123\"\ - ,\r\n \"2603:1040:5:1::5e0/123\",\r\n \"2603:1040:5:1::600/122\"\ - ,\r\n \"2603:1040:207::620/123\",\r\n \"2603:1040:207::640/122\"\ - ,\r\n \"2603:1040:407::/122\",\r\n \"2603:1040:407::40/123\"\ - ,\r\n \"2603:1040:407:1::5e0/123\",\r\n \"2603:1040:407:1::600/122\"\ - ,\r\n \"2603:1040:606::620/123\",\r\n \"2603:1040:606::640/122\"\ - ,\r\n \"2603:1040:806::620/123\",\r\n \"2603:1040:806::640/122\"\ - ,\r\n \"2603:1040:904::/122\",\r\n \"2603:1040:904::40/123\"\ - ,\r\n \"2603:1040:904:1::5e0/123\",\r\n \"2603:1040:904:1::600/122\"\ - ,\r\n \"2603:1040:a06::100/122\",\r\n \"2603:1040:a06::140/123\"\ - ,\r\n \"2603:1040:a06:1::5e0/123\",\r\n \"2603:1040:a06:1::600/122\"\ - ,\r\n \"2603:1040:b04::620/123\",\r\n \"2603:1040:b04::640/122\"\ - ,\r\n \"2603:1040:c06::620/123\",\r\n \"2603:1040:c06::640/122\"\ - ,\r\n \"2603:1040:d04::5e0/123\",\r\n \"2603:1040:d04::600/122\"\ - ,\r\n \"2603:1040:d04:1::/122\",\r\n \"2603:1040:d04:1::40/123\"\ - ,\r\n \"2603:1040:f05::/122\",\r\n \"2603:1040:f05::40/123\"\ - ,\r\n \"2603:1040:f05:1::5e0/123\",\r\n \"2603:1040:f05:1::600/122\"\ - ,\r\n \"2603:1040:1104::6a0/123\",\r\n \"2603:1040:1104::6c0/122\"\ - ,\r\n \"2603:1050:6::/122\",\r\n \"2603:1050:6::40/123\"\ - ,\r\n \"2603:1050:6:1::5e0/123\",\r\n \"2603:1050:6:1::600/122\"\ - ,\r\n \"2603:1050:403::5e0/123\",\r\n \"2603:1050:403::600/122\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"PowerQueryOnline\"\ - ,\r\n \"id\": \"PowerQueryOnline\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"2\",\r\n \"region\": \"\",\r\n \"\ - state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\ - \n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n \ - \ ],\r\n \"systemService\": \"PowerQueryOnline\",\r\n \"addressPrefixes\"\ - : [\r\n \"20.36.120.120/31\",\r\n \"20.37.64.120/31\",\r\ - \n \"20.37.152.70/31\",\r\n \"20.37.192.70/31\",\r\n \ - \ \"20.37.224.120/31\",\r\n \"20.38.80.70/31\",\r\n \ - \ \"20.38.136.68/31\",\r\n \"20.39.11.24/31\",\r\n \"\ - 20.41.0.68/30\",\r\n \"20.41.64.70/31\",\r\n \"20.41.65.144/31\"\ - ,\r\n \"20.41.192.120/31\",\r\n \"20.42.4.200/30\",\r\n\ - \ \"20.42.128.70/31\",\r\n \"20.42.129.184/29\",\r\n \ - \ \"20.42.224.120/31\",\r\n \"20.43.40.70/31\",\r\n \ - \ \"20.43.64.70/31\",\r\n \"20.43.128.70/31\",\r\n \"\ - 20.45.112.120/31\",\r\n \"20.45.192.120/31\",\r\n \"20.72.16.20/31\"\ - ,\r\n \"20.150.160.108/31\",\r\n \"20.189.104.68/31\",\r\ - \n \"20.192.160.20/31\",\r\n \"20.192.225.32/31\",\r\n \ - \ \"40.67.48.120/31\",\r\n \"40.74.30.104/30\",\r\n \ - \ \"40.80.56.120/31\",\r\n \"40.80.168.120/31\",\r\n \ - \ \"40.80.184.68/31\",\r\n \"40.82.253.72/29\",\r\n \"\ - 40.89.16.120/31\",\r\n \"40.119.8.74/31\",\r\n \"51.12.46.228/31\"\ - ,\r\n \"51.12.198.208/31\",\r\n \"51.104.24.70/31\",\r\n\ - \ \"51.105.80.120/31\",\r\n \"51.105.88.120/31\",\r\n \ - \ \"51.107.48.70/31\",\r\n \"51.107.144.120/31\",\r\n \ - \ \"51.116.48.70/31\",\r\n \"51.116.144.70/31\",\r\n \ - \ \"51.120.40.70/31\",\r\n \"51.120.224.120/31\",\r\n \ - \ \"51.137.160.68/31\",\r\n \"51.143.192.120/31\",\r\n \"\ - 52.140.104.70/31\",\r\n \"52.150.139.72/30\",\r\n \"52.228.80.70/31\"\ - ,\r\n \"102.133.56.96/31\",\r\n \"102.133.216.70/31\",\r\ - \n \"191.233.8.20/31\",\r\n \"191.235.224.70/31\",\r\n \ - \ \"2603:1000:4::200/123\",\r\n \"2603:1000:104:1::200/123\"\ - ,\r\n \"2603:1010:6:1::200/123\",\r\n \"2603:1010:101::200/123\"\ - ,\r\n \"2603:1010:304::200/123\",\r\n \"2603:1010:404::200/123\"\ - ,\r\n \"2603:1020:5:1::200/123\",\r\n \"2603:1020:206:1::200/123\"\ - ,\r\n \"2603:1020:305::200/123\",\r\n \"2603:1020:405::200/123\"\ - ,\r\n \"2603:1020:605::200/123\",\r\n \"2603:1020:705:1::200/123\"\ - ,\r\n \"2603:1020:805:1::200/123\",\r\n \"2603:1020:905::200/123\"\ - ,\r\n \"2603:1020:a04:1::200/123\",\r\n \"2603:1020:b04::200/123\"\ - ,\r\n \"2603:1020:c04:1::200/123\",\r\n \"2603:1020:d04::200/123\"\ - ,\r\n \"2603:1020:e04:1::200/123\",\r\n \"2603:1020:f04::200/123\"\ - ,\r\n \"2603:1020:1004::200/123\",\r\n \"2603:1020:1104::200/123\"\ - ,\r\n \"2603:1030:f:1::200/123\",\r\n \"2603:1030:10:1::200/123\"\ - ,\r\n \"2603:1030:104:1::200/123\",\r\n \"2603:1030:107::200/123\"\ - ,\r\n \"2603:1030:210:1::200/123\",\r\n \"2603:1030:40b:1::200/123\"\ - ,\r\n \"2603:1030:40c:1::200/123\",\r\n \"2603:1030:504:1::200/123\"\ - ,\r\n \"2603:1030:608::200/123\",\r\n \"2603:1030:807:1::200/123\"\ - ,\r\n \"2603:1030:a07::200/123\",\r\n \"2603:1030:b04::200/123\"\ - ,\r\n \"2603:1030:c06:1::200/123\",\r\n \"2603:1030:f05:1::200/123\"\ - ,\r\n \"2603:1030:1005::200/123\",\r\n \"2603:1040:5:1::200/123\"\ - ,\r\n \"2603:1040:207::200/123\",\r\n \"2603:1040:407:1::200/123\"\ - ,\r\n \"2603:1040:606::200/123\",\r\n \"2603:1040:806::200/123\"\ - ,\r\n \"2603:1040:904:1::200/123\",\r\n \"2603:1040:a06:1::200/123\"\ - ,\r\n \"2603:1040:b04::200/123\",\r\n \"2603:1040:c06::200/123\"\ - ,\r\n \"2603:1040:d04::200/123\",\r\n \"2603:1040:f05:1::200/123\"\ - ,\r\n \"2603:1040:1104::200/123\",\r\n \"2603:1050:6:1::200/123\"\ - ,\r\n \"2603:1050:403::200/123\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"PowerQueryOnline.AustraliaCentral\",\r\n \ - \ \"id\": \"PowerQueryOnline.AustraliaCentral\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"australiacentral\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"PowerQueryOnline\",\r\n \"addressPrefixes\": [\r\n \"\ - 20.37.224.120/31\",\r\n \"2603:1010:304::200/123\"\r\n ]\r\ - \n }\r\n },\r\n {\r\n \"name\": \"PowerQueryOnline.AustraliaCentral2\"\ - ,\r\n \"id\": \"PowerQueryOnline.AustraliaCentral2\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"australiacentral2\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"PowerQueryOnline\",\r\n \"addressPrefixes\": [\r\n \"\ - 20.36.120.120/31\",\r\n \"2603:1010:404::200/123\"\r\n ]\r\ - \n }\r\n },\r\n {\r\n \"name\": \"PowerQueryOnline.AustraliaSoutheast\"\ - ,\r\n \"id\": \"PowerQueryOnline.AustraliaSoutheast\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"australiasoutheast\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"PowerQueryOnline\",\r\n \"addressPrefixes\": [\r\n \"\ - 20.42.224.120/31\",\r\n \"2603:1010:101::200/123\"\r\n ]\r\ - \n }\r\n },\r\n {\r\n \"name\": \"PowerQueryOnline.CentralUS\"\ - ,\r\n \"id\": \"PowerQueryOnline.CentralUS\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"1\",\r\n \"region\": \"centralus\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"PowerQueryOnline\",\r\n \"addressPrefixes\": [\r\n \"\ - 20.37.152.70/31\",\r\n \"2603:1030:10:1::200/123\"\r\n ]\r\ - \n }\r\n },\r\n {\r\n \"name\": \"PowerQueryOnline.EastUS2\"\ - ,\r\n \"id\": \"PowerQueryOnline.EastUS2\",\r\n \"properties\":\ - \ {\r\n \"changeNumber\": \"1\",\r\n \"region\": \"eastus2\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"PowerQueryOnline\",\r\n \"addressPrefixes\": [\r\n \"\ - 20.41.0.68/30\",\r\n \"2603:1030:40c:1::200/123\"\r\n ]\r\n\ - \ }\r\n },\r\n {\r\n \"name\": \"PowerQueryOnline.FranceCentral\"\ - ,\r\n \"id\": \"PowerQueryOnline.FranceCentral\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"1\",\r\n \"region\": \"centralfrance\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"PowerQueryOnline\",\r\n \"addressPrefixes\": [\r\n \"\ - 20.43.40.70/31\",\r\n \"2603:1020:805:1::200/123\"\r\n ]\r\ - \n }\r\n },\r\n {\r\n \"name\": \"PowerQueryOnline.JapanWest\"\ - ,\r\n \"id\": \"PowerQueryOnline.JapanWest\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"japanwest\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"PowerQueryOnline\",\r\n \"addressPrefixes\": [\r\n \"\ - 40.80.56.120/31\",\r\n \"2603:1040:606::200/123\"\r\n ]\r\n\ - \ }\r\n },\r\n {\r\n \"name\": \"PowerQueryOnline.KoreaSouth\"\ - ,\r\n \"id\": \"PowerQueryOnline.KoreaSouth\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"1\",\r\n \"region\": \"koreasouth\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"PowerQueryOnline\",\r\n \"addressPrefixes\": [\r\n \"\ - 40.80.168.120/31\"\r\n ]\r\n }\r\n },\r\n {\r\n \"\ - name\": \"PowerQueryOnline.NorwayEast\",\r\n \"id\": \"PowerQueryOnline.NorwayEast\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n \ - \ \"region\": \"norwaye\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"\ - systemService\": \"PowerQueryOnline\",\r\n \"addressPrefixes\": [\r\ - \n \"51.120.40.70/31\",\r\n \"2603:1020:e04:1::200/123\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"PowerQueryOnline.SouthCentralUS\"\ - ,\r\n \"id\": \"PowerQueryOnline.SouthCentralUS\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"1\",\r\n \"region\": \"southcentralus\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"PowerQueryOnline\",\r\n \"addressPrefixes\": [\r\n \"\ - 40.119.8.74/31\",\r\n \"2603:1030:807:1::200/123\"\r\n ]\r\ - \n }\r\n },\r\n {\r\n \"name\": \"PowerQueryOnline.SwitzerlandWest\"\ - ,\r\n \"id\": \"PowerQueryOnline.SwitzerlandWest\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"switzerlandw\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"PowerQueryOnline\",\r\n \"addressPrefixes\": [\r\n \"\ - 51.107.144.120/31\",\r\n \"2603:1020:b04::200/123\"\r\n ]\r\ - \n }\r\n },\r\n {\r\n \"name\": \"PowerQueryOnline.UKSouth2\"\ - ,\r\n \"id\": \"PowerQueryOnline.UKSouth2\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"uksouth2\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"PowerQueryOnline\",\r\n \"addressPrefixes\": [\r\n \"\ - 51.143.192.120/31\",\r\n \"2603:1020:405::200/123\"\r\n ]\r\ - \n }\r\n },\r\n {\r\n \"name\": \"PowerQueryOnline.WestUS\"\ - ,\r\n \"id\": \"PowerQueryOnline.WestUS\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"2\",\r\n \"region\": \"westus\",\r\n\ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"PowerQueryOnline\",\r\n \"addressPrefixes\": [\r\n \"\ - 40.82.253.72/29\",\r\n \"2603:1030:a07::200/123\"\r\n ]\r\n\ - \ }\r\n },\r\n {\r\n \"name\": \"ServiceBus\",\r\n \"\ - id\": \"ServiceBus\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"3\",\r\n \"region\": \"\",\r\n \"state\": \"GA\",\r\n \ - \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\ - \n \"UDR\",\r\n \"FW\",\r\n \"VSE\"\r\n \ - \ ],\r\n \"systemService\": \"AzureServiceBus\",\r\n \"addressPrefixes\"\ - : [\r\n \"13.66.138.80/29\",\r\n \"13.66.147.192/26\",\r\ - \n \"13.67.8.96/29\",\r\n \"13.67.20.0/26\",\r\n \ - \ \"13.68.110.36/32\",\r\n \"13.69.64.64/29\",\r\n \"\ - 13.69.106.64/29\",\r\n \"13.69.111.64/26\",\r\n \"13.69.227.64/29\"\ - ,\r\n \"13.69.233.192/26\",\r\n \"13.70.72.16/29\",\r\n\ - \ \"13.70.114.0/26\",\r\n \"13.70.186.33/32\",\r\n \ - \ \"13.71.114.157/32\",\r\n \"13.71.170.32/29\",\r\n \ - \ \"13.71.177.64/26\",\r\n \"13.71.194.96/28\",\r\n \"\ - 13.74.107.64/29\",\r\n \"13.74.142.88/32\",\r\n \"13.75.34.128/28\"\ - ,\r\n \"13.76.141.36/32\",\r\n \"13.77.50.16/28\",\r\n \ - \ \"13.78.94.187/32\",\r\n \"13.78.106.80/29\",\r\n \ - \ \"13.85.81.218/32\",\r\n \"13.87.35.8/32\",\r\n \"\ - 13.87.56.64/28\",\r\n \"13.87.122.64/28\",\r\n \"13.88.10.93/32\"\ - ,\r\n \"13.89.170.192/29\",\r\n \"13.89.178.128/26\",\r\n\ - \ \"20.36.106.224/27\",\r\n \"20.36.114.128/27\",\r\n \ - \ \"20.36.144.0/26\",\r\n \"20.37.74.32/27\",\r\n \ - \ \"20.38.146.128/29\",\r\n \"20.42.65.0/26\",\r\n \"20.42.68.0/26\"\ - ,\r\n \"20.42.72.192/26\",\r\n \"20.42.73.64/26\",\r\n \ - \ \"20.43.126.0/26\",\r\n \"20.44.2.8/29\",\r\n \ - \ \"20.44.13.0/26\",\r\n \"20.44.26.128/29\",\r\n \"20.44.31.64/26\"\ - ,\r\n \"20.45.122.128/29\",\r\n \"20.45.126.128/26\",\r\n\ - \ \"20.47.216.0/26\",\r\n \"20.49.91.224/29\",\r\n \ - \ \"20.49.91.240/28\",\r\n \"20.49.95.64/26\",\r\n \"\ - 20.50.72.0/26\",\r\n \"20.50.80.0/26\",\r\n \"20.50.201.0/26\"\ - ,\r\n \"20.52.64.64/26\",\r\n \"20.72.27.144/29\",\r\n \ - \ \"20.72.27.160/28\",\r\n \"20.89.0.0/26\",\r\n \ - \ \"20.150.160.216/29\",\r\n \"20.150.170.8/29\",\r\n \"\ - 20.150.175.0/26\",\r\n \"20.150.178.128/29\",\r\n \"20.150.182.64/28\"\ - ,\r\n \"20.150.186.128/29\",\r\n \"20.150.189.64/26\",\r\ - \n \"20.151.32.0/26\",\r\n \"20.192.32.240/28\",\r\n \ - \ \"20.192.98.128/29\",\r\n \"20.192.101.192/26\",\r\n \ - \ \"20.192.160.40/29\",\r\n \"20.192.225.56/29\",\r\n \ - \ \"20.192.234.8/29\",\r\n \"20.193.204.104/29\",\r\n \ - \ \"20.193.204.112/28\",\r\n \"20.194.128.128/26\",\r\n \ - \ \"20.195.137.128/26\",\r\n \"20.195.152.0/26\",\r\n \"\ - 23.97.120.37/32\",\r\n \"23.98.82.96/29\",\r\n \"23.98.87.128/26\"\ - ,\r\n \"23.98.112.128/26\",\r\n \"40.64.113.0/26\",\r\n\ - \ \"40.65.108.146/32\",\r\n \"40.67.58.8/29\",\r\n \ - \ \"40.67.72.0/26\",\r\n \"40.68.127.68/32\",\r\n \"\ - 40.69.106.16/28\",\r\n \"40.70.146.64/29\",\r\n \"40.70.151.128/26\"\ - ,\r\n \"40.71.10.192/29\",\r\n \"40.74.100.32/28\",\r\n\ - \ \"40.74.122.78/32\",\r\n \"40.74.146.32/29\",\r\n \ - \ \"40.74.150.192/26\",\r\n \"40.75.34.16/29\",\r\n \ - \ \"40.78.194.16/28\",\r\n \"40.78.202.16/28\",\r\n \"\ - 40.78.226.192/29\",\r\n \"40.78.234.32/29\",\r\n \"40.78.242.144/29\"\ - ,\r\n \"40.78.247.192/26\",\r\n \"40.78.250.80/29\",\r\n\ - \ \"40.79.130.32/29\",\r\n \"40.79.138.16/29\",\r\n \ - \ \"40.79.141.192/26\",\r\n \"40.79.146.16/29\",\r\n \ - \ \"40.79.149.0/26\",\r\n \"40.79.154.88/29\",\r\n \"\ - 40.79.162.16/29\",\r\n \"40.79.166.128/26\",\r\n \"40.79.170.16/29\"\ - ,\r\n \"40.79.173.64/26\",\r\n \"40.79.178.16/28\",\r\n\ - \ \"40.79.186.64/27\",\r\n \"40.79.194.80/29\",\r\n \ - \ \"40.80.50.128/29\",\r\n \"40.86.91.130/32\",\r\n \ - \ \"40.89.121.192/26\",\r\n \"40.112.242.128/28\",\r\n \ - \ \"40.114.86.33/32\",\r\n \"40.120.74.24/29\",\r\n \"40.120.77.192/26\"\ - ,\r\n \"40.124.65.0/26\",\r\n \"51.11.192.64/26\",\r\n \ - \ \"51.12.98.8/29\",\r\n \"51.12.101.224/28\",\r\n \ - \ \"51.12.202.8/29\",\r\n \"51.12.206.0/28\",\r\n \"\ - 51.12.226.128/29\",\r\n \"51.12.234.128/29\",\r\n \"51.13.0.128/26\"\ - ,\r\n \"51.105.66.128/29\",\r\n \"51.105.70.192/26\",\r\n\ - \ \"51.105.74.128/29\",\r\n \"51.107.58.8/29\",\r\n \ - \ \"51.107.128.192/26\",\r\n \"51.107.154.8/29\",\r\n \ - \ \"51.116.58.8/29\",\r\n \"51.116.154.72/29\",\r\n \"\ - 51.116.242.128/29\",\r\n \"51.116.246.128/26\",\r\n \"51.116.250.128/29\"\ - ,\r\n \"51.116.253.192/26\",\r\n \"51.120.98.16/29\",\r\n\ - \ \"51.120.106.128/29\",\r\n \"51.120.210.128/29\",\r\n\ - \ \"51.120.218.8/29\",\r\n \"51.132.192.128/26\",\r\n \ - \ \"51.140.43.12/32\",\r\n \"51.140.146.48/29\",\r\n \ - \ \"51.140.149.128/26\",\r\n \"51.140.210.64/28\",\r\n \ - \ \"51.141.1.129/32\",\r\n \"51.142.210.16/32\",\r\n \ - \ \"52.138.71.95/32\",\r\n \"52.138.90.16/29\",\r\n \"52.138.226.64/29\"\ - ,\r\n \"52.161.17.198/32\",\r\n \"52.162.106.128/28\",\r\ - \n \"52.167.106.64/29\",\r\n \"52.167.109.128/26\",\r\n\ - \ \"52.168.29.86/32\",\r\n \"52.168.112.128/26\",\r\n \ - \ \"52.168.116.192/26\",\r\n \"52.172.220.188/32\",\r\n \ - \ \"52.178.17.64/26\",\r\n \"52.180.178.204/32\",\r\n \ - \ \"52.182.138.192/29\",\r\n \"52.182.143.0/26\",\r\n \ - \ \"52.187.192.243/32\",\r\n \"52.231.18.32/29\",\r\n \ - \ \"52.231.23.128/26\",\r\n \"52.231.146.64/28\",\r\n \"\ - 52.232.119.191/32\",\r\n \"52.233.33.226/32\",\r\n \"52.236.186.64/29\"\ - ,\r\n \"52.242.36.0/32\",\r\n \"52.246.154.128/29\",\r\n\ - \ \"52.246.158.192/26\",\r\n \"65.52.219.186/32\",\r\n \ - \ \"65.52.250.64/27\",\r\n \"102.37.64.192/26\",\r\n \ - \ \"102.37.72.0/26\",\r\n \"102.133.26.8/29\",\r\n \ - \ \"102.133.122.128/29\",\r\n \"102.133.126.192/26\",\r\n \ - \ \"102.133.154.8/29\",\r\n \"102.133.250.128/29\",\r\n \ - \ \"102.133.253.192/26\",\r\n \"104.40.15.128/32\",\r\n \ - \ \"104.45.239.115/32\",\r\n \"104.208.16.64/29\",\r\n \ - \ \"104.208.144.64/29\",\r\n \"104.211.81.16/29\",\r\n \ - \ \"104.211.146.16/28\",\r\n \"104.211.190.88/32\",\r\n \ - \ \"104.214.18.160/29\",\r\n \"191.232.184.253/32\",\r\n \ - \ \"191.233.8.40/29\",\r\n \"191.233.203.16/29\",\r\n \"\ - 191.234.146.128/29\",\r\n \"191.234.150.128/26\",\r\n \"\ - 191.234.154.128/29\",\r\n \"191.234.157.144/28\",\r\n \"\ - 191.235.170.182/32\",\r\n \"191.237.224.64/26\",\r\n \"\ - 207.46.138.15/32\",\r\n \"2603:1000:4::220/123\",\r\n \"\ - 2603:1000:4:402::170/125\",\r\n \"2603:1000:104:1::220/123\",\r\n\ - \ \"2603:1000:104:402::170/125\",\r\n \"2603:1000:104:802::150/125\"\ - ,\r\n \"2603:1000:104:c02::150/125\",\r\n \"2603:1010:6:1::220/123\"\ - ,\r\n \"2603:1010:6:402::170/125\",\r\n \"2603:1010:6:802::150/125\"\ - ,\r\n \"2603:1010:6:c02::150/125\",\r\n \"2603:1010:101::220/123\"\ - ,\r\n \"2603:1010:101:402::170/125\",\r\n \"2603:1010:304::220/123\"\ - ,\r\n \"2603:1010:304:402::170/125\",\r\n \"2603:1010:404::220/123\"\ - ,\r\n \"2603:1010:404:402::170/125\",\r\n \"2603:1020:5:1::220/123\"\ - ,\r\n \"2603:1020:5:402::170/125\",\r\n \"2603:1020:5:802::150/125\"\ - ,\r\n \"2603:1020:5:c02::150/125\",\r\n \"2603:1020:206:1::220/123\"\ - ,\r\n \"2603:1020:206:402::170/125\",\r\n \"2603:1020:206:802::150/125\"\ - ,\r\n \"2603:1020:206:c02::150/125\",\r\n \"2603:1020:305::220/123\"\ - ,\r\n \"2603:1020:305:402::170/125\",\r\n \"2603:1020:405::220/123\"\ - ,\r\n \"2603:1020:405:402::170/125\",\r\n \"2603:1020:605::220/123\"\ - ,\r\n \"2603:1020:605:402::170/125\",\r\n \"2603:1020:705:1::220/123\"\ - ,\r\n \"2603:1020:705:402::170/125\",\r\n \"2603:1020:705:802::150/125\"\ - ,\r\n \"2603:1020:705:c02::150/125\",\r\n \"2603:1020:805:1::220/123\"\ - ,\r\n \"2603:1020:805:402::170/125\",\r\n \"2603:1020:805:802::150/125\"\ - ,\r\n \"2603:1020:805:c02::150/125\",\r\n \"2603:1020:905::220/123\"\ - ,\r\n \"2603:1020:905:402::170/125\",\r\n \"2603:1020:a04:1::220/123\"\ - ,\r\n \"2603:1020:a04:402::170/125\",\r\n \"2603:1020:a04:802::150/125\"\ - ,\r\n \"2603:1020:a04:c02::150/125\",\r\n \"2603:1020:b04::220/123\"\ - ,\r\n \"2603:1020:b04:402::170/125\",\r\n \"2603:1020:c04:1::220/123\"\ - ,\r\n \"2603:1020:c04:402::170/125\",\r\n \"2603:1020:c04:802::150/125\"\ - ,\r\n \"2603:1020:c04:c02::150/125\",\r\n \"2603:1020:d04::220/123\"\ - ,\r\n \"2603:1020:d04:402::170/125\",\r\n \"2603:1020:e04:1::220/123\"\ - ,\r\n \"2603:1020:e04:402::170/125\",\r\n \"2603:1020:e04:802::150/125\"\ - ,\r\n \"2603:1020:e04:c02::150/125\",\r\n \"2603:1020:f04::220/123\"\ - ,\r\n \"2603:1020:f04:402::170/125\",\r\n \"2603:1020:1004::220/123\"\ - ,\r\n \"2603:1020:1004:800::e0/124\",\r\n \"2603:1020:1004:800::f0/125\"\ - ,\r\n \"2603:1020:1004:800::358/125\",\r\n \"2603:1020:1004:800::3c0/125\"\ - ,\r\n \"2603:1020:1004:800::3e8/125\",\r\n \"2603:1020:1104:400::170/125\"\ - ,\r\n \"2603:1030:f:1::220/123\",\r\n \"2603:1030:f:400::970/125\"\ - ,\r\n \"2603:1030:10:1::220/123\",\r\n \"2603:1030:10:402::170/125\"\ - ,\r\n \"2603:1030:10:802::150/125\",\r\n \"2603:1030:10:c02::150/125\"\ - ,\r\n \"2603:1030:104:1::220/123\",\r\n \"2603:1030:104:402::170/125\"\ - ,\r\n \"2603:1030:107:400::d8/125\",\r\n \"2603:1030:210:1::220/123\"\ - ,\r\n \"2603:1030:210:402::170/125\",\r\n \"2603:1030:210:802::150/125\"\ - ,\r\n \"2603:1030:210:c02::150/125\",\r\n \"2603:1030:40b:1::220/123\"\ - ,\r\n \"2603:1030:40b:400::970/125\",\r\n \"2603:1030:40b:800::150/125\"\ - ,\r\n \"2603:1030:40b:c00::150/125\",\r\n \"2603:1030:40c:1::220/123\"\ - ,\r\n \"2603:1030:40c:402::170/125\",\r\n \"2603:1030:40c:802::150/125\"\ - ,\r\n \"2603:1030:40c:c02::150/125\",\r\n \"2603:1030:504:1::220/123\"\ - ,\r\n \"2603:1030:504:802::f0/125\",\r\n \"2603:1030:504:802::358/125\"\ - ,\r\n \"2603:1030:608::220/123\",\r\n \"2603:1030:608:402::170/125\"\ - ,\r\n \"2603:1030:807:1::220/123\",\r\n \"2603:1030:807:402::170/125\"\ - ,\r\n \"2603:1030:807:802::150/125\",\r\n \"2603:1030:807:c02::150/125\"\ - ,\r\n \"2603:1030:a07::220/123\",\r\n \"2603:1030:a07:402::8f0/125\"\ - ,\r\n \"2603:1030:b04::220/123\",\r\n \"2603:1030:b04:402::170/125\"\ - ,\r\n \"2603:1030:c06:1::220/123\",\r\n \"2603:1030:c06:400::970/125\"\ - ,\r\n \"2603:1030:c06:802::150/125\",\r\n \"2603:1030:c06:c02::150/125\"\ - ,\r\n \"2603:1030:f05:1::220/123\",\r\n \"2603:1030:f05:402::170/125\"\ - ,\r\n \"2603:1030:f05:802::150/125\",\r\n \"2603:1030:f05:c02::150/125\"\ - ,\r\n \"2603:1030:1005::220/123\",\r\n \"2603:1030:1005:402::170/125\"\ - ,\r\n \"2603:1040:5:1::220/123\",\r\n \"2603:1040:5:402::170/125\"\ - ,\r\n \"2603:1040:5:802::150/125\",\r\n \"2603:1040:5:c02::150/125\"\ - ,\r\n \"2603:1040:207::220/123\",\r\n \"2603:1040:207:402::170/125\"\ - ,\r\n \"2603:1040:407:1::220/123\",\r\n \"2603:1040:407:402::170/125\"\ - ,\r\n \"2603:1040:407:802::150/125\",\r\n \"2603:1040:407:c02::150/125\"\ - ,\r\n \"2603:1040:606::220/123\",\r\n \"2603:1040:606:402::170/125\"\ - ,\r\n \"2603:1040:806::220/123\",\r\n \"2603:1040:806:402::170/125\"\ - ,\r\n \"2603:1040:904:1::220/123\",\r\n \"2603:1040:904:402::170/125\"\ - ,\r\n \"2603:1040:904:802::150/125\",\r\n \"2603:1040:904:c02::150/125\"\ - ,\r\n \"2603:1040:a06:1::220/123\",\r\n \"2603:1040:a06:402::170/125\"\ - ,\r\n \"2603:1040:a06:802::150/125\",\r\n \"2603:1040:a06:c02::150/125\"\ - ,\r\n \"2603:1040:b04::220/123\",\r\n \"2603:1040:b04:402::170/125\"\ - ,\r\n \"2603:1040:c06::220/123\",\r\n \"2603:1040:c06:402::170/125\"\ - ,\r\n \"2603:1040:d04::220/123\",\r\n \"2603:1040:d04:800::e0/124\"\ - ,\r\n \"2603:1040:d04:800::f0/125\",\r\n \"2603:1040:d04:800::358/125\"\ - ,\r\n \"2603:1040:d04:800::3c0/125\",\r\n \"2603:1040:d04:800::3e8/125\"\ - ,\r\n \"2603:1040:f05:1::220/123\",\r\n \"2603:1040:f05:402::170/125\"\ - ,\r\n \"2603:1040:f05:802::150/125\",\r\n \"2603:1040:f05:c02::150/125\"\ - ,\r\n \"2603:1040:1104:400::170/125\",\r\n \"2603:1050:6:1::220/123\"\ - ,\r\n \"2603:1050:6:402::170/125\",\r\n \"2603:1050:6:802::150/125\"\ - ,\r\n \"2603:1050:6:c02::150/125\",\r\n \"2603:1050:403::220/123\"\ - ,\r\n \"2603:1050:403:400::148/125\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"ServiceBus.AustraliaCentral\",\r\n \ - \ \"id\": \"ServiceBus.AustraliaCentral\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"2\",\r\n \"region\": \"australiacentral\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureServiceBus\",\r\n\ - \ \"addressPrefixes\": [\r\n \"20.36.106.224/27\",\r\n \ - \ \"2603:1010:304::220/123\",\r\n \"2603:1010:304:402::170/125\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"ServiceBus.AustraliaCentral2\"\ - ,\r\n \"id\": \"ServiceBus.AustraliaCentral2\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"australiacentral2\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureServiceBus\",\r\n\ - \ \"addressPrefixes\": [\r\n \"20.36.114.128/27\",\r\n \ - \ \"2603:1010:404::220/123\",\r\n \"2603:1010:404:402::170/125\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"ServiceBus.AustraliaEast\"\ - ,\r\n \"id\": \"ServiceBus.AustraliaEast\",\r\n \"properties\":\ - \ {\r\n \"changeNumber\": \"3\",\r\n \"region\": \"australiaeast\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureServiceBus\",\r\n\ - \ \"addressPrefixes\": [\r\n \"13.70.72.16/29\",\r\n \ - \ \"13.70.114.0/26\",\r\n \"40.79.162.16/29\",\r\n \"\ - 40.79.166.128/26\",\r\n \"40.79.170.16/29\",\r\n \"40.79.173.64/26\"\ - ,\r\n \"52.187.192.243/32\",\r\n \"2603:1010:6:1::220/123\"\ - ,\r\n \"2603:1010:6:402::170/125\",\r\n \"2603:1010:6:802::150/125\"\ - ,\r\n \"2603:1010:6:c02::150/125\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"ServiceBus.AustraliaSoutheast\",\r\n \ - \ \"id\": \"ServiceBus.AustraliaSoutheast\",\r\n \"properties\":\ - \ {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"australiasoutheast\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureServiceBus\",\r\n\ - \ \"addressPrefixes\": [\r\n \"13.70.186.33/32\",\r\n \ - \ \"13.77.50.16/28\",\r\n \"2603:1010:101::220/123\",\r\n \ - \ \"2603:1010:101:402::170/125\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"ServiceBus.BrazilSouth\",\r\n \"id\": \"\ - ServiceBus.BrazilSouth\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"3\",\r\n \"region\": \"brazilsouth\",\r\n \"state\": \"\ - GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\n \ - \ \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n ],\r\n \ - \ \"systemService\": \"AzureServiceBus\",\r\n \"addressPrefixes\"\ - : [\r\n \"20.195.137.128/26\",\r\n \"20.195.152.0/26\",\r\ - \n \"191.232.184.253/32\",\r\n \"191.233.203.16/29\",\r\n\ - \ \"191.234.146.128/29\",\r\n \"191.234.150.128/26\",\r\n\ - \ \"191.234.154.128/29\",\r\n \"191.234.157.144/28\",\r\n\ - \ \"2603:1050:6:1::220/123\",\r\n \"2603:1050:6:402::170/125\"\ - ,\r\n \"2603:1050:6:802::150/125\",\r\n \"2603:1050:6:c02::150/125\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"ServiceBus.CanadaCentral\"\ - ,\r\n \"id\": \"ServiceBus.CanadaCentral\",\r\n \"properties\":\ - \ {\r\n \"changeNumber\": \"3\",\r\n \"region\": \"canadacentral\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureServiceBus\",\r\n\ - \ \"addressPrefixes\": [\r\n \"13.71.170.32/29\",\r\n \ - \ \"13.71.177.64/26\",\r\n \"20.38.146.128/29\",\r\n \ - \ \"20.151.32.0/26\",\r\n \"52.233.33.226/32\",\r\n \"\ - 52.246.154.128/29\",\r\n \"52.246.158.192/26\",\r\n \"2603:1030:f05:1::220/123\"\ - ,\r\n \"2603:1030:f05:402::170/125\",\r\n \"2603:1030:f05:802::150/125\"\ - ,\r\n \"2603:1030:f05:c02::150/125\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"ServiceBus.CanadaEast\",\r\n \"\ - id\": \"ServiceBus.CanadaEast\",\r\n \"properties\": {\r\n \"\ - changeNumber\": \"2\",\r\n \"region\": \"canadaeast\",\r\n \"\ - state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\ - \n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n \ - \ ],\r\n \"systemService\": \"AzureServiceBus\",\r\n \"addressPrefixes\"\ - : [\r\n \"40.69.106.16/28\",\r\n \"52.242.36.0/32\",\r\n\ - \ \"2603:1030:1005::220/123\",\r\n \"2603:1030:1005:402::170/125\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"ServiceBus.CentralIndia\"\ - ,\r\n \"id\": \"ServiceBus.CentralIndia\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"3\",\r\n \"region\": \"centralindia\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureServiceBus\",\r\n\ - \ \"addressPrefixes\": [\r\n \"20.43.126.0/26\",\r\n \ - \ \"20.192.98.128/29\",\r\n \"20.192.101.192/26\",\r\n \ - \ \"40.80.50.128/29\",\r\n \"52.172.220.188/32\",\r\n \ - \ \"104.211.81.16/29\",\r\n \"2603:1040:a06:1::220/123\",\r\n \ - \ \"2603:1040:a06:402::170/125\",\r\n \"2603:1040:a06:802::150/125\"\ - ,\r\n \"2603:1040:a06:c02::150/125\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"ServiceBus.CentralUS\",\r\n \"\ - id\": \"ServiceBus.CentralUS\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"3\",\r\n \"region\": \"centralus\",\r\n \"state\": \"GA\"\ - ,\r\n \"networkFeatures\": [\r\n \"API\",\r\n \"\ - NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n ],\r\n \ - \ \"systemService\": \"AzureServiceBus\",\r\n \"addressPrefixes\":\ - \ [\r\n \"13.89.170.192/29\",\r\n \"13.89.178.128/26\",\r\ - \n \"20.44.13.0/26\",\r\n \"40.86.91.130/32\",\r\n \ - \ \"52.182.138.192/29\",\r\n \"52.182.143.0/26\",\r\n \ - \ \"104.208.16.64/29\",\r\n \"2603:1030:10:1::220/123\",\r\n \ - \ \"2603:1030:10:402::170/125\",\r\n \"2603:1030:10:802::150/125\"\ - ,\r\n \"2603:1030:10:c02::150/125\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"ServiceBus.CentralUSEUAP\",\r\n \ - \ \"id\": \"ServiceBus.CentralUSEUAP\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"2\",\r\n \"region\": \"centraluseuap\",\r\ - \n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"AzureServiceBus\",\r\n \ - \ \"addressPrefixes\": [\r\n \"40.78.202.16/28\",\r\n \ - \ \"52.180.178.204/32\",\r\n \"2603:1030:f:1::220/123\",\r\n \ - \ \"2603:1030:f:400::970/125\"\r\n ]\r\n }\r\n },\r\n\ - \ {\r\n \"name\": \"ServiceBus.EastAsia\",\r\n \"id\": \"ServiceBus.EastAsia\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \ - \ \"region\": \"eastasia\",\r\n \"state\": \"GA\",\r\n \"\ - networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n \ - \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\"\ - : \"AzureServiceBus\",\r\n \"addressPrefixes\": [\r\n \"13.75.34.128/28\"\ - ,\r\n \"207.46.138.15/32\",\r\n \"2603:1040:207::220/123\"\ - ,\r\n \"2603:1040:207:402::170/125\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"ServiceBus.EastUS\",\r\n \"id\"\ - : \"ServiceBus.EastUS\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"3\",\r\n \"region\": \"eastus\",\r\n \"state\": \"GA\",\r\ - \n \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\ - ,\r\n \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\"\ - : \"AzureServiceBus\",\r\n \"addressPrefixes\": [\r\n \"20.42.65.0/26\"\ - ,\r\n \"20.42.68.0/26\",\r\n \"20.42.72.192/26\",\r\n \ - \ \"20.42.73.64/26\",\r\n \"40.71.10.192/29\",\r\n \ - \ \"40.78.226.192/29\",\r\n \"40.79.154.88/29\",\r\n \"\ - 40.114.86.33/32\",\r\n \"52.168.29.86/32\",\r\n \"52.168.112.128/26\"\ - ,\r\n \"52.168.116.192/26\",\r\n \"2603:1030:210:1::220/123\"\ - ,\r\n \"2603:1030:210:402::170/125\",\r\n \"2603:1030:210:802::150/125\"\ - ,\r\n \"2603:1030:210:c02::150/125\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"ServiceBus.EastUS2\",\r\n \"id\"\ - : \"ServiceBus.EastUS2\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"3\",\r\n \"region\": \"eastus2\",\r\n \"state\": \"GA\"\ - ,\r\n \"networkFeatures\": [\r\n \"API\",\r\n \"\ - NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n ],\r\n \ - \ \"systemService\": \"AzureServiceBus\",\r\n \"addressPrefixes\":\ - \ [\r\n \"13.68.110.36/32\",\r\n \"20.36.144.0/26\",\r\n\ - \ \"40.70.146.64/29\",\r\n \"40.70.151.128/26\",\r\n \ - \ \"52.167.106.64/29\",\r\n \"52.167.109.128/26\",\r\n \ - \ \"104.208.144.64/29\",\r\n \"2603:1030:40c:1::220/123\",\r\ - \n \"2603:1030:40c:402::170/125\",\r\n \"2603:1030:40c:802::150/125\"\ - ,\r\n \"2603:1030:40c:c02::150/125\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"ServiceBus.EastUS2EUAP\",\r\n \"\ - id\": \"ServiceBus.EastUS2EUAP\",\r\n \"properties\": {\r\n \"\ - changeNumber\": \"3\",\r\n \"region\": \"eastus2euap\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"API\"\ - ,\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n \ - \ ],\r\n \"systemService\": \"AzureServiceBus\",\r\n \"addressPrefixes\"\ - : [\r\n \"20.47.216.0/26\",\r\n \"40.74.146.32/29\",\r\n\ - \ \"40.74.150.192/26\",\r\n \"40.75.34.16/29\",\r\n \ - \ \"40.89.121.192/26\",\r\n \"52.138.71.95/32\",\r\n \ - \ \"52.138.90.16/29\",\r\n \"2603:1030:40b:1::220/123\",\r\n \ - \ \"2603:1030:40b:400::970/125\",\r\n \"2603:1030:40b:800::150/125\"\ - ,\r\n \"2603:1030:40b:c00::150/125\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"ServiceBus.FranceCentral\",\r\n \ - \ \"id\": \"ServiceBus.FranceCentral\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"3\",\r\n \"region\": \"centralfrance\",\r\ - \n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"AzureServiceBus\",\r\n \ - \ \"addressPrefixes\": [\r\n \"40.79.130.32/29\",\r\n \ - \ \"40.79.138.16/29\",\r\n \"40.79.141.192/26\",\r\n \"\ - 40.79.146.16/29\",\r\n \"40.79.149.0/26\",\r\n \"51.11.192.64/26\"\ - ,\r\n \"2603:1020:805:1::220/123\",\r\n \"2603:1020:805:402::170/125\"\ - ,\r\n \"2603:1020:805:802::150/125\",\r\n \"2603:1020:805:c02::150/125\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"ServiceBus.FranceSouth\"\ - ,\r\n \"id\": \"ServiceBus.FranceSouth\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"2\",\r\n \"region\": \"southfrance\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureServiceBus\",\r\n\ - \ \"addressPrefixes\": [\r\n \"40.79.178.16/28\",\r\n \ - \ \"2603:1020:905::220/123\",\r\n \"2603:1020:905:402::170/125\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"ServiceBus.GermanyNorth\"\ - ,\r\n \"id\": \"ServiceBus.GermanyNorth\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"2\",\r\n \"region\": \"germanyn\",\r\n\ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"AzureServiceBus\",\r\n \ - \ \"addressPrefixes\": [\r\n \"51.116.58.8/29\",\r\n \ - \ \"2603:1020:d04::220/123\",\r\n \"2603:1020:d04:402::170/125\"\r\ - \n ]\r\n }\r\n },\r\n {\r\n \"name\": \"ServiceBus.GermanyWestCentral\"\ - ,\r\n \"id\": \"ServiceBus.GermanyWestCentral\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"3\",\r\n \"region\": \"germanywc\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureServiceBus\",\r\n\ - \ \"addressPrefixes\": [\r\n \"20.52.64.64/26\",\r\n \ - \ \"51.116.154.72/29\",\r\n \"51.116.242.128/29\",\r\n \ - \ \"51.116.246.128/26\",\r\n \"51.116.250.128/29\",\r\n \ - \ \"51.116.253.192/26\",\r\n \"2603:1020:c04:1::220/123\",\r\n\ - \ \"2603:1020:c04:402::170/125\",\r\n \"2603:1020:c04:802::150/125\"\ - ,\r\n \"2603:1020:c04:c02::150/125\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"ServiceBus.JapanEast\",\r\n \"\ - id\": \"ServiceBus.JapanEast\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"3\",\r\n \"region\": \"japaneast\",\r\n \"state\": \"GA\"\ - ,\r\n \"networkFeatures\": [\r\n \"API\",\r\n \"\ - NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n ],\r\n \ - \ \"systemService\": \"AzureServiceBus\",\r\n \"addressPrefixes\":\ - \ [\r\n \"13.78.94.187/32\",\r\n \"13.78.106.80/29\",\r\n\ - \ \"20.89.0.0/26\",\r\n \"20.194.128.128/26\",\r\n \ - \ \"40.79.186.64/27\",\r\n \"40.79.194.80/29\",\r\n \ - \ \"2603:1040:407:1::220/123\",\r\n \"2603:1040:407:402::170/125\"\ - ,\r\n \"2603:1040:407:802::150/125\",\r\n \"2603:1040:407:c02::150/125\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"ServiceBus.JapanWest\"\ - ,\r\n \"id\": \"ServiceBus.JapanWest\",\r\n \"properties\": {\r\n\ - \ \"changeNumber\": \"2\",\r\n \"region\": \"japanwest\",\r\n\ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"AzureServiceBus\",\r\n \ - \ \"addressPrefixes\": [\r\n \"40.74.100.32/28\",\r\n \ - \ \"40.74.122.78/32\",\r\n \"2603:1040:606::220/123\",\r\n \ - \ \"2603:1040:606:402::170/125\"\r\n ]\r\n }\r\n },\r\n\ - \ {\r\n \"name\": \"ServiceBus.KoreaCentral\",\r\n \"id\": \"\ - ServiceBus.KoreaCentral\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"3\",\r\n \"region\": \"koreacentral\",\r\n \"state\": \"\ - GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\n \ - \ \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n ],\r\n \ - \ \"systemService\": \"AzureServiceBus\",\r\n \"addressPrefixes\"\ - : [\r\n \"20.44.26.128/29\",\r\n \"20.44.31.64/26\",\r\n\ - \ \"52.231.18.32/29\",\r\n \"52.231.23.128/26\",\r\n \ - \ \"2603:1040:f05:1::220/123\",\r\n \"2603:1040:f05:402::170/125\"\ - ,\r\n \"2603:1040:f05:802::150/125\",\r\n \"2603:1040:f05:c02::150/125\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"ServiceBus.KoreaSouth\"\ - ,\r\n \"id\": \"ServiceBus.KoreaSouth\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"1\",\r\n \"region\": \"koreasouth\",\r\ - \n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"AzureServiceBus\",\r\n \ - \ \"addressPrefixes\": [\r\n \"52.231.146.64/28\"\r\n ]\r\ - \n }\r\n },\r\n {\r\n \"name\": \"ServiceBus.NorthCentralUS\"\ - ,\r\n \"id\": \"ServiceBus.NorthCentralUS\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"northcentralus\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureServiceBus\",\r\n\ - \ \"addressPrefixes\": [\r\n \"52.162.106.128/28\",\r\n \ - \ \"65.52.219.186/32\",\r\n \"2603:1030:608::220/123\",\r\n\ - \ \"2603:1030:608:402::170/125\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"ServiceBus.NorthEurope\",\r\n \"id\": \"\ - ServiceBus.NorthEurope\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"3\",\r\n \"region\": \"northeurope\",\r\n \"state\": \"\ - GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\n \ - \ \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n ],\r\n \ - \ \"systemService\": \"AzureServiceBus\",\r\n \"addressPrefixes\"\ - : [\r\n \"13.69.227.64/29\",\r\n \"13.69.233.192/26\",\r\ - \n \"13.74.107.64/29\",\r\n \"13.74.142.88/32\",\r\n \ - \ \"20.50.72.0/26\",\r\n \"20.50.80.0/26\",\r\n \"\ - 52.138.226.64/29\",\r\n \"191.235.170.182/32\",\r\n \"2603:1020:5:1::220/123\"\ - ,\r\n \"2603:1020:5:402::170/125\",\r\n \"2603:1020:5:802::150/125\"\ - ,\r\n \"2603:1020:5:c02::150/125\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"ServiceBus.NorwayEast\",\r\n \"id\"\ - : \"ServiceBus.NorwayEast\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"3\",\r\n \"region\": \"norwaye\",\r\n \"state\": \"GA\"\ - ,\r\n \"networkFeatures\": [\r\n \"API\",\r\n \"\ - NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n ],\r\n \ - \ \"systemService\": \"AzureServiceBus\",\r\n \"addressPrefixes\":\ - \ [\r\n \"51.13.0.128/26\",\r\n \"51.120.98.16/29\",\r\n\ - \ \"51.120.106.128/29\",\r\n \"51.120.210.128/29\",\r\n\ - \ \"2603:1020:e04:1::220/123\",\r\n \"2603:1020:e04:402::170/125\"\ - ,\r\n \"2603:1020:e04:802::150/125\",\r\n \"2603:1020:e04:c02::150/125\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"ServiceBus.NorwayWest\"\ - ,\r\n \"id\": \"ServiceBus.NorwayWest\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"2\",\r\n \"region\": \"norwayw\",\r\n\ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\"\r\n ],\r\n \"systemService\": \"AzureServiceBus\"\ - ,\r\n \"addressPrefixes\": [\r\n \"51.120.218.8/29\",\r\n\ - \ \"2603:1020:f04::220/123\",\r\n \"2603:1020:f04:402::170/125\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"ServiceBus.SouthAfricaNorth\"\ - ,\r\n \"id\": \"ServiceBus.SouthAfricaNorth\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"3\",\r\n \"region\": \"southafricanorth\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureServiceBus\",\r\n\ - \ \"addressPrefixes\": [\r\n \"102.37.72.0/26\",\r\n \ - \ \"102.133.122.128/29\",\r\n \"102.133.126.192/26\",\r\n \ - \ \"102.133.154.8/29\",\r\n \"102.133.250.128/29\",\r\n \ - \ \"102.133.253.192/26\",\r\n \"2603:1000:104:1::220/123\"\ - ,\r\n \"2603:1000:104:402::170/125\",\r\n \"2603:1000:104:802::150/125\"\ - ,\r\n \"2603:1000:104:c02::150/125\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"ServiceBus.SouthAfricaWest\",\r\n \ - \ \"id\": \"ServiceBus.SouthAfricaWest\",\r\n \"properties\": {\r\n\ - \ \"changeNumber\": \"3\",\r\n \"region\": \"southafricawest\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"AzureServiceBus\",\r\n \"addressPrefixes\": [\r\n \"102.37.64.192/26\"\ - ,\r\n \"102.133.26.8/29\",\r\n \"2603:1000:4::220/123\"\ - ,\r\n \"2603:1000:4:402::170/125\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"ServiceBus.SouthCentralUS\",\r\n \ - \ \"id\": \"ServiceBus.SouthCentralUS\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"3\",\r\n \"region\": \"southcentralus\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureServiceBus\",\r\n\ - \ \"addressPrefixes\": [\r\n \"13.85.81.218/32\",\r\n \ - \ \"20.45.122.128/29\",\r\n \"20.45.126.128/26\",\r\n \ - \ \"20.49.91.224/29\",\r\n \"20.49.91.240/28\",\r\n \"\ - 20.49.95.64/26\",\r\n \"40.124.65.0/26\",\r\n \"104.214.18.160/29\"\ - ,\r\n \"2603:1030:807:1::220/123\",\r\n \"2603:1030:807:402::170/125\"\ - ,\r\n \"2603:1030:807:802::150/125\",\r\n \"2603:1030:807:c02::150/125\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"ServiceBus.SoutheastAsia\"\ - ,\r\n \"id\": \"ServiceBus.SoutheastAsia\",\r\n \"properties\":\ - \ {\r\n \"changeNumber\": \"3\",\r\n \"region\": \"southeastasia\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureServiceBus\",\r\n\ - \ \"addressPrefixes\": [\r\n \"13.67.8.96/29\",\r\n \ - \ \"13.67.20.0/26\",\r\n \"13.76.141.36/32\",\r\n \"\ - 23.98.82.96/29\",\r\n \"23.98.87.128/26\",\r\n \"23.98.112.128/26\"\ - ,\r\n \"40.78.234.32/29\",\r\n \"2603:1040:5:1::220/123\"\ - ,\r\n \"2603:1040:5:402::170/125\",\r\n \"2603:1040:5:802::150/125\"\ - ,\r\n \"2603:1040:5:c02::150/125\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"ServiceBus.SouthIndia\",\r\n \"id\"\ - : \"ServiceBus.SouthIndia\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"2\",\r\n \"region\": \"southindia\",\r\n \"state\": \"GA\"\ - ,\r\n \"networkFeatures\": [\r\n \"API\",\r\n \"\ - NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n ],\r\n \ - \ \"systemService\": \"AzureServiceBus\",\r\n \"addressPrefixes\":\ - \ [\r\n \"13.71.114.157/32\",\r\n \"40.78.194.16/28\",\r\ - \n \"2603:1040:c06::220/123\",\r\n \"2603:1040:c06:402::170/125\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"ServiceBus.SwitzerlandNorth\"\ - ,\r\n \"id\": \"ServiceBus.SwitzerlandNorth\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"3\",\r\n \"region\": \"switzerlandn\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureServiceBus\",\r\n\ - \ \"addressPrefixes\": [\r\n \"51.107.58.8/29\",\r\n \ - \ \"51.107.128.192/26\",\r\n \"2603:1020:a04:1::220/123\",\r\n\ - \ \"2603:1020:a04:402::170/125\",\r\n \"2603:1020:a04:802::150/125\"\ - ,\r\n \"2603:1020:a04:c02::150/125\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"ServiceBus.SwitzerlandWest\",\r\n \ - \ \"id\": \"ServiceBus.SwitzerlandWest\",\r\n \"properties\": {\r\n\ - \ \"changeNumber\": \"2\",\r\n \"region\": \"switzerlandw\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureServiceBus\",\r\n\ - \ \"addressPrefixes\": [\r\n \"51.107.154.8/29\",\r\n \ - \ \"2603:1020:b04::220/123\",\r\n \"2603:1020:b04:402::170/125\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"ServiceBus.UAECentral\"\ - ,\r\n \"id\": \"ServiceBus.UAECentral\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"2\",\r\n \"region\": \"uaecentral\",\r\ - \n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"AzureServiceBus\",\r\n \ - \ \"addressPrefixes\": [\r\n \"20.37.74.32/27\",\r\n \ - \ \"2603:1040:b04::220/123\",\r\n \"2603:1040:b04:402::170/125\"\r\ - \n ]\r\n }\r\n },\r\n {\r\n \"name\": \"ServiceBus.UAENorth\"\ - ,\r\n \"id\": \"ServiceBus.UAENorth\",\r\n \"properties\": {\r\n\ - \ \"changeNumber\": \"3\",\r\n \"region\": \"uaenorth\",\r\n\ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"AzureServiceBus\",\r\n \ - \ \"addressPrefixes\": [\r\n \"40.120.74.24/29\",\r\n \ - \ \"40.120.77.192/26\",\r\n \"65.52.250.64/27\",\r\n \"\ - 2603:1040:904:1::220/123\",\r\n \"2603:1040:904:402::170/125\",\r\ - \n \"2603:1040:904:802::150/125\",\r\n \"2603:1040:904:c02::150/125\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"ServiceBus.UKSouth\"\ - ,\r\n \"id\": \"ServiceBus.UKSouth\",\r\n \"properties\": {\r\n\ - \ \"changeNumber\": \"3\",\r\n \"region\": \"uksouth\",\r\n\ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"AzureServiceBus\",\r\n \ - \ \"addressPrefixes\": [\r\n \"51.105.66.128/29\",\r\n \ - \ \"51.105.70.192/26\",\r\n \"51.105.74.128/29\",\r\n \ - \ \"51.132.192.128/26\",\r\n \"51.140.43.12/32\",\r\n \"\ - 51.140.146.48/29\",\r\n \"51.140.149.128/26\",\r\n \"2603:1020:705:1::220/123\"\ - ,\r\n \"2603:1020:705:402::170/125\",\r\n \"2603:1020:705:802::150/125\"\ - ,\r\n \"2603:1020:705:c02::150/125\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"ServiceBus.UKSouth2\",\r\n \"id\"\ - : \"ServiceBus.UKSouth2\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"2\",\r\n \"region\": \"uksouth2\",\r\n \"state\": \"GA\"\ - ,\r\n \"networkFeatures\": [\r\n \"API\"\r\n ],\r\n\ - \ \"systemService\": \"AzureServiceBus\",\r\n \"addressPrefixes\"\ - : [\r\n \"13.87.35.8/32\",\r\n \"13.87.56.64/28\",\r\n \ - \ \"2603:1020:405::220/123\",\r\n \"2603:1020:405:402::170/125\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"ServiceBus.UKWest\"\ - ,\r\n \"id\": \"ServiceBus.UKWest\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"2\",\r\n \"region\": \"ukwest\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"\ - API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n\ - \ ],\r\n \"systemService\": \"AzureServiceBus\",\r\n \ - \ \"addressPrefixes\": [\r\n \"51.140.210.64/28\",\r\n \"\ - 51.141.1.129/32\",\r\n \"2603:1020:605::220/123\",\r\n \"\ - 2603:1020:605:402::170/125\"\r\n ]\r\n }\r\n },\r\n {\r\n\ - \ \"name\": \"ServiceBus.WestCentralUS\",\r\n \"id\": \"ServiceBus.WestCentralUS\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \ - \ \"region\": \"westcentralus\",\r\n \"state\": \"GA\",\r\n \ - \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n\ - \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\"\ - : \"AzureServiceBus\",\r\n \"addressPrefixes\": [\r\n \"13.71.194.96/28\"\ - ,\r\n \"52.161.17.198/32\",\r\n \"2603:1030:b04::220/123\"\ - ,\r\n \"2603:1030:b04:402::170/125\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"ServiceBus.WestEurope\",\r\n \"\ - id\": \"ServiceBus.WestEurope\",\r\n \"properties\": {\r\n \"\ - changeNumber\": \"3\",\r\n \"region\": \"westeurope\",\r\n \"\ - state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\ - \n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n \ - \ ],\r\n \"systemService\": \"AzureServiceBus\",\r\n \"addressPrefixes\"\ - : [\r\n \"13.69.64.64/29\",\r\n \"13.69.106.64/29\",\r\n\ - \ \"13.69.111.64/26\",\r\n \"20.50.201.0/26\",\r\n \ - \ \"40.68.127.68/32\",\r\n \"52.178.17.64/26\",\r\n \ - \ \"52.232.119.191/32\",\r\n \"52.236.186.64/29\",\r\n \"\ - 2603:1020:206:1::220/123\",\r\n \"2603:1020:206:402::170/125\",\r\ - \n \"2603:1020:206:802::150/125\",\r\n \"2603:1020:206:c02::150/125\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"ServiceBus.WestIndia\"\ - ,\r\n \"id\": \"ServiceBus.WestIndia\",\r\n \"properties\": {\r\n\ - \ \"changeNumber\": \"2\",\r\n \"region\": \"westindia\",\r\n\ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"AzureServiceBus\",\r\n \ - \ \"addressPrefixes\": [\r\n \"104.211.146.16/28\",\r\n \ - \ \"104.211.190.88/32\",\r\n \"2603:1040:806::220/123\",\r\n \ - \ \"2603:1040:806:402::170/125\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"ServiceBus.WestUS\",\r\n \"id\": \"ServiceBus.WestUS\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \ - \ \"region\": \"westus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"\ - systemService\": \"AzureServiceBus\",\r\n \"addressPrefixes\": [\r\n\ - \ \"13.88.10.93/32\",\r\n \"40.112.242.128/28\",\r\n \ - \ \"104.40.15.128/32\",\r\n \"104.45.239.115/32\",\r\n \ - \ \"2603:1030:a07::220/123\",\r\n \"2603:1030:a07:402::8f0/125\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"ServiceBus.WestUS2\"\ - ,\r\n \"id\": \"ServiceBus.WestUS2\",\r\n \"properties\": {\r\n\ - \ \"changeNumber\": \"3\",\r\n \"region\": \"westus2\",\r\n\ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"AzureServiceBus\",\r\n \ - \ \"addressPrefixes\": [\r\n \"13.66.138.80/29\",\r\n \ - \ \"13.66.147.192/26\",\r\n \"40.64.113.0/26\",\r\n \"\ - 40.65.108.146/32\",\r\n \"40.78.242.144/29\",\r\n \"40.78.247.192/26\"\ - ,\r\n \"40.78.250.80/29\",\r\n \"2603:1030:c06:1::220/123\"\ - ,\r\n \"2603:1030:c06:400::970/125\",\r\n \"2603:1030:c06:802::150/125\"\ - ,\r\n \"2603:1030:c06:c02::150/125\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"ServiceFabric\",\r\n \"id\": \"\ - ServiceFabric\",\r\n \"properties\": {\r\n \"changeNumber\": \"\ - 2\",\r\n \"region\": \"\",\r\n \"state\": \"GA\",\r\n \ - \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n\ - \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\"\ - : \"ServiceFabric\",\r\n \"addressPrefixes\": [\r\n \"13.66.140.152/29\"\ - ,\r\n \"13.66.167.194/32\",\r\n \"13.66.226.151/32\",\r\n\ - \ \"13.67.9.136/29\",\r\n \"13.69.64.232/29\",\r\n \ - \ \"13.69.109.136/30\",\r\n \"13.69.227.232/29\",\r\n \ - \ \"13.70.72.216/29\",\r\n \"13.70.78.172/30\",\r\n \"\ - 13.71.170.224/29\",\r\n \"13.71.170.248/29\",\r\n \"13.71.195.48/29\"\ - ,\r\n \"13.74.80.74/32\",\r\n \"13.74.111.144/30\",\r\n\ - \ \"13.75.36.80/29\",\r\n \"13.75.41.166/32\",\r\n \ - \ \"13.75.42.35/32\",\r\n \"13.77.52.0/29\",\r\n \"\ - 13.78.108.24/29\",\r\n \"13.78.147.125/32\",\r\n \"13.80.117.236/32\"\ - ,\r\n \"13.87.32.204/32\",\r\n \"13.87.56.240/29\",\r\n\ - \ \"13.87.98.166/32\",\r\n \"13.87.122.240/29\",\r\n \ - \ \"13.89.171.104/29\",\r\n \"13.91.7.211/32\",\r\n \ - \ \"13.91.252.58/32\",\r\n \"13.92.124.124/32\",\r\n \"\ - 20.36.40.70/32\",\r\n \"20.36.72.79/32\",\r\n \"20.36.107.16/29\"\ - ,\r\n \"20.36.114.192/29\",\r\n \"20.37.74.80/29\",\r\n\ - \ \"20.38.149.192/30\",\r\n \"20.42.64.40/30\",\r\n \ - \ \"20.42.72.132/30\",\r\n \"20.44.3.24/29\",\r\n \"\ - 20.44.10.124/30\",\r\n \"20.44.19.0/30\",\r\n \"20.44.29.52/30\"\ - ,\r\n \"20.45.79.240/32\",\r\n \"20.45.123.244/30\",\r\n\ - \ \"20.49.82.4/30\",\r\n \"20.49.90.4/30\",\r\n \ - \ \"20.72.26.4/30\",\r\n \"20.150.171.72/29\",\r\n \"20.150.181.160/30\"\ - ,\r\n \"20.150.189.28/30\",\r\n \"20.150.225.4/30\",\r\n\ - \ \"20.184.2.84/32\",\r\n \"20.192.32.224/30\",\r\n \ - \ \"20.192.101.28/30\",\r\n \"20.192.235.0/29\",\r\n \ - \ \"20.193.202.24/29\",\r\n \"20.193.204.100/30\",\r\n \ - \ \"20.194.66.4/30\",\r\n \"23.96.200.228/32\",\r\n \"\ - 23.96.210.6/32\",\r\n \"23.96.214.100/32\",\r\n \"23.98.86.60/30\"\ - ,\r\n \"23.99.11.219/32\",\r\n \"23.100.199.230/32\",\r\n\ - \ \"40.67.59.72/29\",\r\n \"40.69.107.0/29\",\r\n \ - \ \"40.69.166.6/32\",\r\n \"40.70.146.232/29\",\r\n \"\ - 40.71.11.104/29\",\r\n \"40.74.100.240/29\",\r\n \"40.74.146.56/29\"\ - ,\r\n \"40.75.35.220/30\",\r\n \"40.76.203.148/32\",\r\n\ - \ \"40.76.205.181/32\",\r\n \"40.78.195.0/29\",\r\n \ - \ \"40.78.202.120/29\",\r\n \"40.78.238.60/30\",\r\n \ - \ \"40.78.245.192/30\",\r\n \"40.78.253.64/30\",\r\n \"\ - 40.79.114.102/32\",\r\n \"40.79.130.232/29\",\r\n \"40.79.139.192/30\"\ - ,\r\n \"40.79.148.80/30\",\r\n \"40.79.165.80/29\",\r\n\ - \ \"40.79.171.228/30\",\r\n \"40.79.173.0/30\",\r\n \ - \ \"40.79.179.0/29\",\r\n \"40.79.189.60/30\",\r\n \ - \ \"40.79.197.36/30\",\r\n \"40.80.53.4/30\",\r\n \"40.84.62.189/32\"\ - ,\r\n \"40.84.133.64/32\",\r\n \"40.85.224.118/32\",\r\n\ - \ \"40.86.230.174/32\",\r\n \"40.89.168.15/32\",\r\n \ - \ \"40.112.243.176/29\",\r\n \"40.113.23.157/32\",\r\n \ - \ \"40.113.88.37/32\",\r\n \"40.115.64.123/32\",\r\n \ - \ \"40.115.113.228/32\",\r\n \"40.120.74.4/30\",\r\n \"\ - 40.123.204.26/32\",\r\n \"51.12.99.64/29\",\r\n \"51.12.101.168/30\"\ - ,\r\n \"51.12.203.64/29\",\r\n \"51.12.204.240/30\",\r\n\ - \ \"51.105.69.84/30\",\r\n \"51.105.77.52/30\",\r\n \ - \ \"51.107.59.40/29\",\r\n \"51.107.76.20/32\",\r\n \ - \ \"51.107.155.40/29\",\r\n \"51.107.239.250/32\",\r\n \ - \ \"51.116.59.40/29\",\r\n \"51.116.155.104/29\",\r\n \"\ - 51.116.208.26/32\",\r\n \"51.116.232.27/32\",\r\n \"51.116.245.160/30\"\ - ,\r\n \"51.116.253.128/30\",\r\n \"51.120.68.23/32\",\r\n\ - \ \"51.120.98.240/29\",\r\n \"51.120.164.23/32\",\r\n \ - \ \"51.120.219.72/29\",\r\n \"51.140.148.24/29\",\r\n \ - \ \"51.140.184.27/32\",\r\n \"51.140.211.16/29\",\r\n \ - \ \"51.141.8.30/32\",\r\n \"52.136.136.27/32\",\r\n \"\ - 52.138.70.82/32\",\r\n \"52.138.92.168/30\",\r\n \"52.138.143.55/32\"\ - ,\r\n \"52.138.229.68/30\",\r\n \"52.143.136.15/32\",\r\n\ - \ \"52.143.184.15/32\",\r\n \"52.151.38.144/32\",\r\n \ - \ \"52.158.236.247/32\",\r\n \"52.162.107.176/29\",\r\n \ - \ \"52.163.90.165/32\",\r\n \"52.163.94.113/32\",\r\n \ - \ \"52.165.37.188/32\",\r\n \"52.167.0.27/32\",\r\n \ - \ \"52.167.109.68/30\",\r\n \"52.167.227.220/32\",\r\n \ - \ \"52.174.163.204/32\",\r\n \"52.174.164.254/32\",\r\n \ - \ \"52.178.30.193/32\",\r\n \"52.180.176.84/32\",\r\n \"\ - 52.182.141.56/30\",\r\n \"52.182.172.232/32\",\r\n \"52.225.184.94/32\"\ - ,\r\n \"52.225.185.159/32\",\r\n \"52.230.8.61/32\",\r\n\ - \ \"52.231.18.232/29\",\r\n \"52.231.32.81/32\",\r\n \ - \ \"52.231.147.16/29\",\r\n \"52.231.200.124/32\",\r\n \ - \ \"52.236.161.75/32\",\r\n \"52.236.189.76/30\",\r\n \ - \ \"52.246.157.8/30\",\r\n \"65.52.250.224/29\",\r\n \ - \ \"102.37.48.12/32\",\r\n \"102.133.27.24/29\",\r\n \"\ - 102.133.72.31/32\",\r\n \"102.133.155.24/29\",\r\n \"102.133.160.28/32\"\ - ,\r\n \"102.133.235.169/32\",\r\n \"102.133.251.216/30\"\ - ,\r\n \"104.41.9.53/32\",\r\n \"104.41.187.29/32\",\r\n\ - \ \"104.42.181.121/32\",\r\n \"104.43.213.84/32\",\r\n \ - \ \"104.45.19.250/32\",\r\n \"104.46.225.57/32\",\r\n \ - \ \"104.210.107.69/32\",\r\n \"104.211.81.216/29\",\r\n \ - \ \"104.211.103.201/32\",\r\n \"104.211.146.240/29\",\r\n \ - \ \"104.211.164.163/32\",\r\n \"104.211.228.68/32\",\r\n\ - \ \"104.214.19.72/29\",\r\n \"104.215.78.146/32\",\r\n \ - \ \"137.116.252.9/32\",\r\n \"137.135.33.49/32\",\r\n \ - \ \"191.233.50.24/29\",\r\n \"191.233.203.216/29\",\r\n \ - \ \"191.234.149.32/30\",\r\n \"191.234.157.128/30\",\r\n \ - \ \"207.46.234.62/32\",\r\n \"2603:1000:4:402::98/125\",\r\ - \n \"2603:1000:104:402::98/125\",\r\n \"2603:1000:104:802::98/125\"\ - ,\r\n \"2603:1000:104:c02::98/125\",\r\n \"2603:1010:6:402::98/125\"\ - ,\r\n \"2603:1010:6:802::98/125\",\r\n \"2603:1010:6:c02::98/125\"\ - ,\r\n \"2603:1010:101:402::98/125\",\r\n \"2603:1010:304:402::98/125\"\ - ,\r\n \"2603:1010:404:402::98/125\",\r\n \"2603:1020:5:402::98/125\"\ - ,\r\n \"2603:1020:5:802::98/125\",\r\n \"2603:1020:5:c02::98/125\"\ - ,\r\n \"2603:1020:206:402::98/125\",\r\n \"2603:1020:206:802::98/125\"\ - ,\r\n \"2603:1020:206:c02::98/125\",\r\n \"2603:1020:305:402::98/125\"\ - ,\r\n \"2603:1020:405:402::98/125\",\r\n \"2603:1020:605:402::98/125\"\ - ,\r\n \"2603:1020:705:402::98/125\",\r\n \"2603:1020:705:802::98/125\"\ - ,\r\n \"2603:1020:705:c02::98/125\",\r\n \"2603:1020:805:402::98/125\"\ - ,\r\n \"2603:1020:805:802::98/125\",\r\n \"2603:1020:805:c02::98/125\"\ - ,\r\n \"2603:1020:905:402::98/125\",\r\n \"2603:1020:a04:402::98/125\"\ - ,\r\n \"2603:1020:a04:802::98/125\",\r\n \"2603:1020:a04:c02::98/125\"\ - ,\r\n \"2603:1020:b04:402::98/125\",\r\n \"2603:1020:c04:402::98/125\"\ - ,\r\n \"2603:1020:c04:802::98/125\",\r\n \"2603:1020:c04:c02::98/125\"\ - ,\r\n \"2603:1020:d04:402::98/125\",\r\n \"2603:1020:e04:402::98/125\"\ - ,\r\n \"2603:1020:e04:802::98/125\",\r\n \"2603:1020:e04:c02::98/125\"\ - ,\r\n \"2603:1020:f04:402::98/125\",\r\n \"2603:1020:1004:400::98/125\"\ - ,\r\n \"2603:1020:1004:800::158/125\",\r\n \"2603:1020:1004:800::350/125\"\ - ,\r\n \"2603:1020:1104:400::98/125\",\r\n \"2603:1030:f:400::898/125\"\ - ,\r\n \"2603:1030:10:402::98/125\",\r\n \"2603:1030:10:802::98/125\"\ - ,\r\n \"2603:1030:10:c02::98/125\",\r\n \"2603:1030:104:402::98/125\"\ - ,\r\n \"2603:1030:107:400::d0/125\",\r\n \"2603:1030:210:402::98/125\"\ - ,\r\n \"2603:1030:210:802::98/125\",\r\n \"2603:1030:210:c02::98/125\"\ - ,\r\n \"2603:1030:40b:400::898/125\",\r\n \"2603:1030:40b:800::98/125\"\ - ,\r\n \"2603:1030:40b:c00::98/125\",\r\n \"2603:1030:40c:402::98/125\"\ - ,\r\n \"2603:1030:40c:802::98/125\",\r\n \"2603:1030:40c:c02::98/125\"\ - ,\r\n \"2603:1030:504:402::98/125\",\r\n \"2603:1030:504:802::158/125\"\ - ,\r\n \"2603:1030:504:802::350/125\",\r\n \"2603:1030:608:402::98/125\"\ - ,\r\n \"2603:1030:807:402::98/125\",\r\n \"2603:1030:807:802::98/125\"\ - ,\r\n \"2603:1030:807:c02::98/125\",\r\n \"2603:1030:a07:402::98/125\"\ - ,\r\n \"2603:1030:b04:402::98/125\",\r\n \"2603:1030:c06:400::898/125\"\ - ,\r\n \"2603:1030:c06:802::98/125\",\r\n \"2603:1030:c06:c02::98/125\"\ - ,\r\n \"2603:1030:f05:402::98/125\",\r\n \"2603:1030:f05:802::98/125\"\ - ,\r\n \"2603:1030:f05:c02::98/125\",\r\n \"2603:1030:1005:402::98/125\"\ - ,\r\n \"2603:1040:5:402::98/125\",\r\n \"2603:1040:5:802::98/125\"\ - ,\r\n \"2603:1040:5:c02::98/125\",\r\n \"2603:1040:207:402::98/125\"\ - ,\r\n \"2603:1040:407:402::98/125\",\r\n \"2603:1040:407:802::98/125\"\ - ,\r\n \"2603:1040:407:c02::98/125\",\r\n \"2603:1040:606:402::98/125\"\ - ,\r\n \"2603:1040:806:402::98/125\",\r\n \"2603:1040:904:402::98/125\"\ - ,\r\n \"2603:1040:904:802::98/125\",\r\n \"2603:1040:904:c02::98/125\"\ - ,\r\n \"2603:1040:a06:402::98/125\",\r\n \"2603:1040:a06:802::98/125\"\ - ,\r\n \"2603:1040:a06:c02::98/125\",\r\n \"2603:1040:b04:402::98/125\"\ - ,\r\n \"2603:1040:c06:402::98/125\",\r\n \"2603:1040:d04:400::98/125\"\ - ,\r\n \"2603:1040:d04:800::158/125\",\r\n \"2603:1040:d04:800::350/125\"\ - ,\r\n \"2603:1040:f05:402::98/125\",\r\n \"2603:1040:f05:802::98/125\"\ - ,\r\n \"2603:1040:f05:c02::98/125\",\r\n \"2603:1040:1104:400::98/125\"\ - ,\r\n \"2603:1050:6:402::98/125\",\r\n \"2603:1050:6:802::98/125\"\ - ,\r\n \"2603:1050:6:c02::98/125\",\r\n \"2603:1050:403:400::140/125\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"ServiceFabric.CanadaCentral\"\ - ,\r\n \"id\": \"ServiceFabric.CanadaCentral\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"canadacentral\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\"\r\n ],\r\n \"systemService\": \"ServiceFabric\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.71.170.224/29\",\r\n\ - \ \"13.71.170.248/29\",\r\n \"20.38.149.192/30\",\r\n \ - \ \"40.85.224.118/32\",\r\n \"52.246.157.8/30\",\r\n \ - \ \"2603:1030:f05:402::98/125\",\r\n \"2603:1030:f05:802::98/125\"\ - ,\r\n \"2603:1030:f05:c02::98/125\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"ServiceFabric.EastUS\",\r\n \"id\"\ - : \"ServiceFabric.EastUS\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"2\",\r\n \"region\": \"eastus\",\r\n \"state\": \"GA\",\r\ - \n \"networkFeatures\": [\r\n \"API\"\r\n ],\r\n \ - \ \"systemService\": \"ServiceFabric\",\r\n \"addressPrefixes\"\ - : [\r\n \"13.92.124.124/32\",\r\n \"20.42.64.40/30\",\r\n\ - \ \"20.42.72.132/30\",\r\n \"40.71.11.104/29\",\r\n \ - \ \"40.76.203.148/32\",\r\n \"40.76.205.181/32\",\r\n \ - \ \"2603:1030:210:402::98/125\",\r\n \"2603:1030:210:802::98/125\"\ - ,\r\n \"2603:1030:210:c02::98/125\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"ServiceFabric.EastUS2EUAP\",\r\n \ - \ \"id\": \"ServiceFabric.EastUS2EUAP\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"2\",\r\n \"region\": \"eastus2euap\",\r\ - \n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\"\r\n ],\r\n \"systemService\": \"ServiceFabric\"\ - ,\r\n \"addressPrefixes\": [\r\n \"40.74.146.56/29\",\r\n\ - \ \"40.75.35.220/30\",\r\n \"40.79.114.102/32\",\r\n \ - \ \"52.138.70.82/32\",\r\n \"52.138.92.168/30\",\r\n \ - \ \"52.225.184.94/32\",\r\n \"52.225.185.159/32\",\r\n \ - \ \"2603:1030:40b:400::898/125\",\r\n \"2603:1030:40b:800::98/125\"\ - ,\r\n \"2603:1030:40b:c00::98/125\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"ServiceFabric.FranceSouth\",\r\n \ - \ \"id\": \"ServiceFabric.FranceSouth\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"2\",\r\n \"region\": \"southfrance\",\r\ - \n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\"\r\n ],\r\n \"systemService\": \"ServiceFabric\"\ - ,\r\n \"addressPrefixes\": [\r\n \"40.79.179.0/29\",\r\n \ - \ \"52.136.136.27/32\",\r\n \"2603:1020:905:402::98/125\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"ServiceFabric.JapanWest\"\ - ,\r\n \"id\": \"ServiceFabric.JapanWest\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"2\",\r\n \"region\": \"japanwest\",\r\ - \n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\"\r\n ],\r\n \"systemService\": \"ServiceFabric\"\ - ,\r\n \"addressPrefixes\": [\r\n \"40.74.100.240/29\",\r\n\ - \ \"104.46.225.57/32\",\r\n \"2603:1040:606:402::98/125\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"ServiceFabric.SwitzerlandWest\"\ - ,\r\n \"id\": \"ServiceFabric.SwitzerlandWest\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"switzerlandw\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\"\r\n ],\r\n \"systemService\": \"ServiceFabric\"\ - ,\r\n \"addressPrefixes\": [\r\n \"51.107.155.40/29\",\r\n\ - \ \"51.107.239.250/32\",\r\n \"2603:1020:b04:402::98/125\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"ServiceFabric.UAECentral\"\ - ,\r\n \"id\": \"ServiceFabric.UAECentral\",\r\n \"properties\":\ - \ {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"uaecentral\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\"\r\n ],\r\n \"systemService\": \"ServiceFabric\"\ - ,\r\n \"addressPrefixes\": [\r\n \"20.37.74.80/29\",\r\n \ - \ \"20.45.79.240/32\",\r\n \"2603:1040:b04:402::98/125\"\r\ - \n ]\r\n }\r\n },\r\n {\r\n \"name\": \"ServiceFabric.WestCentralUS\"\ - ,\r\n \"id\": \"ServiceFabric.WestCentralUS\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"westcentralus\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\"\r\n ],\r\n \"systemService\": \"ServiceFabric\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.71.195.48/29\",\r\n\ - \ \"13.78.147.125/32\",\r\n \"2603:1030:b04:402::98/125\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"ServiceFabric.WestEurope\"\ - ,\r\n \"id\": \"ServiceFabric.WestEurope\",\r\n \"properties\":\ - \ {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"westeurope\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\"\r\n ],\r\n \"systemService\": \"ServiceFabric\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.69.64.232/29\",\r\n\ - \ \"13.69.109.136/30\",\r\n \"13.80.117.236/32\",\r\n \ - \ \"52.174.163.204/32\",\r\n \"52.174.164.254/32\",\r\n \ - \ \"52.178.30.193/32\",\r\n \"52.236.161.75/32\",\r\n \ - \ \"52.236.189.76/30\",\r\n \"104.45.19.250/32\",\r\n \ - \ \"2603:1020:206:402::98/125\",\r\n \"2603:1020:206:802::98/125\"\ - ,\r\n \"2603:1020:206:c02::98/125\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"Sql\",\r\n \"id\": \"Sql\",\r\n\ - \ \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \"\ - region\": \"\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n\ - \ \"FW\",\r\n \"VSE\"\r\n ],\r\n \"systemService\"\ - : \"AzureSQL\",\r\n \"addressPrefixes\": [\r\n \"13.65.31.249/32\"\ - ,\r\n \"13.65.39.207/32\",\r\n \"13.65.85.183/32\",\r\n\ - \ \"13.65.200.105/32\",\r\n \"13.65.209.243/32\",\r\n \ - \ \"13.65.253.67/32\",\r\n \"13.66.60.72/32\",\r\n \ - \ \"13.66.60.111/32\",\r\n \"13.66.62.124/32\",\r\n \"\ - 13.66.136.0/26\",\r\n \"13.66.136.192/29\",\r\n \"13.66.137.0/26\"\ - ,\r\n \"13.66.226.202/32\",\r\n \"13.66.229.222/32\",\r\n\ - \ \"13.66.230.18/31\",\r\n \"13.66.230.60/32\",\r\n \ - \ \"13.66.230.64/32\",\r\n \"13.66.230.103/32\",\r\n \ - \ \"13.67.16.0/26\",\r\n \"13.67.16.192/29\",\r\n \"13.67.17.0/26\"\ - ,\r\n \"13.67.48.255/32\",\r\n \"13.67.56.134/32\",\r\n\ - \ \"13.67.59.217/32\",\r\n \"13.67.215.62/32\",\r\n \ - \ \"13.68.22.44/32\",\r\n \"13.68.30.216/32\",\r\n \ - \ \"13.68.87.133/32\",\r\n \"13.69.104.0/26\",\r\n \"13.69.104.192/26\"\ - ,\r\n \"13.69.105.0/26\",\r\n \"13.69.105.192/26\",\r\n\ - \ \"13.69.112.168/29\",\r\n \"13.69.224.0/26\",\r\n \ - \ \"13.69.224.192/26\",\r\n \"13.69.225.0/26\",\r\n \ - \ \"13.69.225.192/26\",\r\n \"13.69.233.136/29\",\r\n \"\ - 13.70.112.0/27\",\r\n \"13.70.112.32/29\",\r\n \"13.70.113.0/27\"\ - ,\r\n \"13.70.148.251/32\",\r\n \"13.70.155.163/32\",\r\n\ - \ \"13.71.168.0/27\",\r\n \"13.71.168.32/29\",\r\n \ - \ \"13.71.169.0/27\",\r\n \"13.71.192.0/27\",\r\n \"\ - 13.71.193.0/27\",\r\n \"13.71.193.32/29\",\r\n \"13.73.109.251/32\"\ - ,\r\n \"13.74.104.64/26\",\r\n \"13.74.104.128/26\",\r\n\ - \ \"13.74.105.0/26\",\r\n \"13.74.105.128/26\",\r\n \ - \ \"13.74.105.192/29\",\r\n \"13.75.32.0/26\",\r\n \ - \ \"13.75.32.192/29\",\r\n \"13.75.33.0/26\",\r\n \"13.75.33.192/29\"\ - ,\r\n \"13.75.105.141/32\",\r\n \"13.75.106.191/32\",\r\n\ - \ \"13.75.108.188/32\",\r\n \"13.75.149.87/32\",\r\n \ - \ \"13.76.90.3/32\",\r\n \"13.76.247.54/32\",\r\n \ - \ \"13.77.7.78/32\",\r\n \"13.77.48.0/27\",\r\n \"13.77.49.0/27\"\ - ,\r\n \"13.77.49.32/29\",\r\n \"13.78.61.196/32\",\r\n \ - \ \"13.78.104.0/27\",\r\n \"13.78.104.32/29\",\r\n \ - \ \"13.78.105.0/27\",\r\n \"13.78.121.203/32\",\r\n \"\ - 13.78.144.57/32\",\r\n \"13.78.145.25/32\",\r\n \"13.78.148.71/32\"\ - ,\r\n \"13.78.151.189/32\",\r\n \"13.78.151.207/32\",\r\n\ - \ \"13.78.178.116/32\",\r\n \"13.78.178.151/32\",\r\n \ - \ \"13.78.248.32/27\",\r\n \"13.84.223.76/32\",\r\n \ - \ \"13.85.65.48/32\",\r\n \"13.85.68.115/32\",\r\n \"\ - 13.85.69.107/32\",\r\n \"13.86.216.0/25\",\r\n \"13.86.216.128/26\"\ - ,\r\n \"13.86.216.192/27\",\r\n \"13.86.217.0/25\",\r\n\ - \ \"13.86.217.128/26\",\r\n \"13.86.217.192/27\",\r\n \ - \ \"13.86.217.224/29\",\r\n \"13.87.16.64/27\",\r\n \ - \ \"13.87.17.0/27\",\r\n \"13.87.33.234/32\",\r\n \"\ - 13.87.34.7/32\",\r\n \"13.87.34.19/32\",\r\n \"13.87.38.138/32\"\ - ,\r\n \"13.87.97.210/32\",\r\n \"13.87.97.228/32\",\r\n\ - \ \"13.87.97.237/32\",\r\n \"13.87.120.0/27\",\r\n \ - \ \"13.87.121.0/27\",\r\n \"13.88.14.200/32\",\r\n \"\ - 13.88.29.70/32\",\r\n \"13.88.249.189/32\",\r\n \"13.88.254.42/32\"\ - ,\r\n \"13.89.36.110/32\",\r\n \"13.89.37.61/32\",\r\n \ - \ \"13.89.57.50/32\",\r\n \"13.89.57.115/32\",\r\n \ - \ \"13.89.168.0/26\",\r\n \"13.89.168.192/29\",\r\n \"\ - 13.89.169.0/26\",\r\n \"13.91.4.219/32\",\r\n \"13.91.6.136/32\"\ - ,\r\n \"13.91.41.153/32\",\r\n \"13.91.44.56/32\",\r\n \ - \ \"13.91.46.83/32\",\r\n \"13.91.47.72/32\",\r\n \ - \ \"13.93.165.251/32\",\r\n \"13.93.237.158/32\",\r\n \ - \ \"20.36.104.0/27\",\r\n \"20.36.105.0/27\",\r\n \"20.36.105.32/29\"\ - ,\r\n \"20.36.112.0/27\",\r\n \"20.36.113.0/27\",\r\n \ - \ \"20.36.113.32/29\",\r\n \"20.37.71.64/26\",\r\n \ - \ \"20.37.71.128/26\",\r\n \"20.37.72.64/27\",\r\n \"\ - 20.37.72.96/29\",\r\n \"20.37.73.64/27\",\r\n \"20.37.73.96/29\"\ - ,\r\n \"20.38.143.64/26\",\r\n \"20.38.143.128/26\",\r\n\ - \ \"20.38.144.0/27\",\r\n \"20.38.144.32/29\",\r\n \ - \ \"20.38.145.0/27\",\r\n \"20.38.152.24/29\",\r\n \"\ - 20.40.228.128/25\",\r\n \"20.42.65.64/29\",\r\n \"20.42.73.0/29\"\ - ,\r\n \"20.43.47.192/26\",\r\n \"20.44.0.0/27\",\r\n \ - \ \"20.44.1.0/27\",\r\n \"20.44.24.0/27\",\r\n \"\ - 20.44.24.32/29\",\r\n \"20.44.25.0/27\",\r\n \"20.45.120.0/27\"\ - ,\r\n \"20.45.121.0/27\",\r\n \"20.45.121.32/29\",\r\n \ - \ \"20.46.11.32/27\",\r\n \"20.46.11.64/27\",\r\n \ - \ \"20.46.11.128/26\",\r\n \"20.48.196.32/27\",\r\n \"\ - 20.48.196.64/27\",\r\n \"20.48.196.128/26\",\r\n \"20.49.80.0/27\"\ - ,\r\n \"20.49.80.32/29\",\r\n \"20.49.81.0/27\",\r\n \ - \ \"20.49.88.0/27\",\r\n \"20.49.88.32/29\",\r\n \"\ - 20.49.89.0/27\",\r\n \"20.49.89.32/29\",\r\n \"20.49.119.32/27\"\ - ,\r\n \"20.49.119.64/27\",\r\n \"20.49.119.128/26\",\r\n\ - \ \"20.51.9.128/25\",\r\n \"20.51.17.160/27\",\r\n \ - \ \"20.51.17.192/27\",\r\n \"20.51.20.0/26\",\r\n \"\ - 20.53.46.128/25\",\r\n \"20.53.48.96/27\",\r\n \"20.53.48.128/27\"\ - ,\r\n \"20.53.48.192/26\",\r\n \"20.53.56.32/27\",\r\n \ - \ \"20.53.56.64/27\",\r\n \"20.53.56.128/26\",\r\n \ - \ \"20.58.66.128/25\",\r\n \"20.61.99.192/26\",\r\n \"\ - 20.61.102.0/26\",\r\n \"20.62.58.128/25\",\r\n \"20.62.132.160/27\"\ - ,\r\n \"20.62.132.192/27\",\r\n \"20.62.133.0/26\",\r\n\ - \ \"20.65.132.160/27\",\r\n \"20.65.132.192/27\",\r\n \ - \ \"20.65.133.0/26\",\r\n \"20.66.3.64/26\",\r\n \ - \ \"20.66.3.128/26\",\r\n \"20.69.0.32/27\",\r\n \"20.69.0.64/27\"\ - ,\r\n \"20.69.0.128/26\",\r\n \"20.72.24.128/27\",\r\n \ - \ \"20.72.25.128/27\",\r\n \"20.150.168.0/27\",\r\n \ - \ \"20.150.168.32/29\",\r\n \"20.150.169.0/27\",\r\n \ - \ \"20.150.176.0/27\",\r\n \"20.150.176.32/29\",\r\n \"\ - 20.150.177.0/27\",\r\n \"20.150.184.0/27\",\r\n \"20.150.184.32/29\"\ - ,\r\n \"20.150.185.0/27\",\r\n \"20.150.241.128/25\",\r\n\ - \ \"20.189.225.160/27\",\r\n \"20.189.225.192/27\",\r\n\ - \ \"20.189.228.0/26\",\r\n \"20.191.165.160/27\",\r\n \ - \ \"20.191.165.192/27\",\r\n \"20.191.166.0/26\",\r\n \ - \ \"20.192.43.160/27\",\r\n \"20.192.43.192/27\",\r\n \ - \ \"20.192.44.0/26\",\r\n \"20.192.48.32/27\",\r\n \"\ - 20.192.48.64/27\",\r\n \"20.192.48.128/26\",\r\n \"20.192.96.0/27\"\ - ,\r\n \"20.192.96.32/29\",\r\n \"20.192.97.0/27\",\r\n \ - \ \"20.192.167.224/27\",\r\n \"20.192.232.0/27\",\r\n \ - \ \"20.192.233.0/27\",\r\n \"20.192.233.32/29\",\r\n \ - \ \"20.193.192.0/27\",\r\n \"20.193.192.64/26\",\r\n \ - \ \"20.193.200.0/27\",\r\n \"20.193.200.32/29\",\r\n \"\ - 20.193.201.0/27\",\r\n \"20.194.64.0/27\",\r\n \"20.194.64.32/29\"\ - ,\r\n \"20.194.65.0/27\",\r\n \"20.194.73.64/26\",\r\n \ - \ \"20.194.73.128/26\",\r\n \"20.195.65.32/27\",\r\n \ - \ \"20.195.65.64/27\",\r\n \"20.195.65.128/26\",\r\n \ - \ \"20.195.72.32/27\",\r\n \"20.195.72.64/27\",\r\n \"\ - 20.195.72.128/26\",\r\n \"20.195.146.0/26\",\r\n \"23.96.89.109/32\"\ - ,\r\n \"23.96.106.191/32\",\r\n \"23.96.178.199/32\",\r\n\ - \ \"23.96.202.229/32\",\r\n \"23.96.204.249/32\",\r\n \ - \ \"23.96.205.215/32\",\r\n \"23.96.214.69/32\",\r\n \ - \ \"23.96.243.243/32\",\r\n \"23.96.247.75/32\",\r\n \ - \ \"23.96.249.37/32\",\r\n \"23.96.250.178/32\",\r\n \"\ - 23.97.68.51/32\",\r\n \"23.97.74.21/32\",\r\n \"23.97.78.163/32\"\ - ,\r\n \"23.97.167.46/32\",\r\n \"23.97.169.19/32\",\r\n\ - \ \"23.97.219.82/32\",\r\n \"23.97.221.176/32\",\r\n \ - \ \"23.98.55.75/32\",\r\n \"23.98.80.0/26\",\r\n \"\ - 23.98.80.192/29\",\r\n \"23.98.81.0/26\",\r\n \"23.98.162.75/32\"\ - ,\r\n \"23.98.162.76/31\",\r\n \"23.98.162.78/32\",\r\n\ - \ \"23.98.170.75/32\",\r\n \"23.98.170.76/31\",\r\n \ - \ \"23.99.4.210/32\",\r\n \"23.99.4.248/32\",\r\n \"\ - 23.99.10.185/32\",\r\n \"23.99.34.75/32\",\r\n \"23.99.34.76/31\"\ - ,\r\n \"23.99.34.78/32\",\r\n \"23.99.37.235/32\",\r\n \ - \ \"23.99.37.236/32\",\r\n \"23.99.57.14/32\",\r\n \ - \ \"23.99.80.243/32\",\r\n \"23.99.89.212/32\",\r\n \"\ - 23.99.90.75/32\",\r\n \"23.99.91.130/32\",\r\n \"23.99.102.124/32\"\ - ,\r\n \"23.99.118.196/32\",\r\n \"23.99.160.139/32\",\r\n\ - \ \"23.99.160.140/31\",\r\n \"23.99.160.142/32\",\r\n \ - \ \"23.99.205.183/32\",\r\n \"23.100.117.95/32\",\r\n \ - \ \"23.100.119.70/32\",\r\n \"23.101.18.228/32\",\r\n \ - \ \"23.101.64.10/32\",\r\n \"23.101.165.167/32\",\r\n \ - \ \"23.101.167.45/32\",\r\n \"23.101.170.98/32\",\r\n \"\ - 23.102.16.130/32\",\r\n \"23.102.23.219/32\",\r\n \"23.102.25.199/32\"\ - ,\r\n \"23.102.52.155/32\",\r\n \"23.102.57.142/32\",\r\n\ - \ \"23.102.62.171/32\",\r\n \"23.102.69.95/32\",\r\n \ - \ \"23.102.71.13/32\",\r\n \"23.102.74.190/32\",\r\n \ - \ \"23.102.172.251/32\",\r\n \"23.102.173.220/32\",\r\n \ - \ \"23.102.174.146/32\",\r\n \"23.102.179.187/32\",\r\n \ - \ \"23.102.206.35/32\",\r\n \"23.102.206.36/31\",\r\n \ - \ \"40.67.53.0/25\",\r\n \"40.67.56.0/27\",\r\n \"40.67.56.32/29\"\ - ,\r\n \"40.67.57.0/27\",\r\n \"40.68.37.158/32\",\r\n \ - \ \"40.68.215.206/32\",\r\n \"40.68.220.16/32\",\r\n \ - \ \"40.69.104.0/27\",\r\n \"40.69.105.0/27\",\r\n \"\ - 40.69.105.32/29\",\r\n \"40.69.132.90/32\",\r\n \"40.69.143.202/32\"\ - ,\r\n \"40.69.169.120/32\",\r\n \"40.69.189.48/32\",\r\n\ - \ \"40.70.144.0/26\",\r\n \"40.70.144.192/29\",\r\n \ - \ \"40.70.145.0/26\",\r\n \"40.71.8.0/26\",\r\n \"\ - 40.71.8.192/26\",\r\n \"40.71.9.0/26\",\r\n \"40.71.9.192/26\"\ - ,\r\n \"40.71.83.113/32\",\r\n \"40.71.196.33/32\",\r\n\ - \ \"40.71.211.227/32\",\r\n \"40.71.226.18/32\",\r\n \ - \ \"40.74.51.145/32\",\r\n \"40.74.53.36/32\",\r\n \ - \ \"40.74.60.91/32\",\r\n \"40.74.96.0/27\",\r\n \"40.74.96.32/29\"\ - ,\r\n \"40.74.97.0/27\",\r\n \"40.74.114.22/32\",\r\n \ - \ \"40.74.115.153/32\",\r\n \"40.74.135.185/32\",\r\n \ - \ \"40.74.144.0/27\",\r\n \"40.74.144.32/29\",\r\n \ - \ \"40.74.145.0/27\",\r\n \"40.74.145.32/29\",\r\n \"40.74.254.156/32\"\ - ,\r\n \"40.75.32.0/27\",\r\n \"40.75.32.40/29\",\r\n \ - \ \"40.75.33.0/27\",\r\n \"40.75.33.32/29\",\r\n \"\ - 40.76.2.172/32\",\r\n \"40.76.26.90/32\",\r\n \"40.76.42.44/32\"\ - ,\r\n \"40.76.65.222/32\",\r\n \"40.76.66.9/32\",\r\n \ - \ \"40.76.193.221/32\",\r\n \"40.76.209.171/32\",\r\n \ - \ \"40.76.219.185/32\",\r\n \"40.77.30.201/32\",\r\n \ - \ \"40.78.16.122/32\",\r\n \"40.78.23.252/32\",\r\n \"\ - 40.78.31.250/32\",\r\n \"40.78.57.109/32\",\r\n \"40.78.101.91/32\"\ - ,\r\n \"40.78.110.18/32\",\r\n \"40.78.111.189/32\",\r\n\ - \ \"40.78.192.0/27\",\r\n \"40.78.192.32/29\",\r\n \ - \ \"40.78.193.0/27\",\r\n \"40.78.193.32/29\",\r\n \"\ - 40.78.200.128/29\",\r\n \"40.78.201.128/29\",\r\n \"40.78.224.0/26\"\ - ,\r\n \"40.78.224.128/26\",\r\n \"40.78.225.0/26\",\r\n\ - \ \"40.78.225.128/26\",\r\n \"40.78.232.0/26\",\r\n \ - \ \"40.78.232.192/29\",\r\n \"40.78.233.0/26\",\r\n \ - \ \"40.78.240.0/26\",\r\n \"40.78.240.192/29\",\r\n \"\ - 40.78.241.0/26\",\r\n \"40.78.248.0/26\",\r\n \"40.78.248.192/29\"\ - ,\r\n \"40.78.249.0/26\",\r\n \"40.79.84.180/32\",\r\n \ - \ \"40.79.128.0/27\",\r\n \"40.79.128.32/29\",\r\n \ - \ \"40.79.129.0/27\",\r\n \"40.79.136.0/27\",\r\n \"\ - 40.79.136.32/29\",\r\n \"40.79.137.0/27\",\r\n \"40.79.144.0/27\"\ - ,\r\n \"40.79.144.32/29\",\r\n \"40.79.145.0/27\",\r\n \ - \ \"40.79.152.0/26\",\r\n \"40.79.152.192/26\",\r\n \ - \ \"40.79.153.0/26\",\r\n \"40.79.153.192/26\",\r\n \ - \ \"40.79.160.0/27\",\r\n \"40.79.160.32/29\",\r\n \"40.79.161.0/27\"\ - ,\r\n \"40.79.168.0/27\",\r\n \"40.79.168.32/29\",\r\n \ - \ \"40.79.169.0/27\",\r\n \"40.79.176.0/27\",\r\n \ - \ \"40.79.176.40/29\",\r\n \"40.79.177.0/27\",\r\n \"\ - 40.79.177.32/29\",\r\n \"40.79.184.0/27\",\r\n \"40.79.184.32/29\"\ - ,\r\n \"40.79.185.0/27\",\r\n \"40.79.192.0/27\",\r\n \ - \ \"40.79.192.32/29\",\r\n \"40.79.193.0/27\",\r\n \ - \ \"40.80.48.0/27\",\r\n \"40.80.48.32/29\",\r\n \"40.80.49.0/27\"\ - ,\r\n \"40.83.178.165/32\",\r\n \"40.83.186.249/32\",\r\n\ - \ \"40.84.5.64/32\",\r\n \"40.84.54.249/32\",\r\n \ - \ \"40.84.153.95/32\",\r\n \"40.84.155.210/32\",\r\n \ - \ \"40.84.156.165/32\",\r\n \"40.84.191.1/32\",\r\n \"40.84.193.16/32\"\ - ,\r\n \"40.84.195.189/32\",\r\n \"40.84.231.203/32\",\r\n\ - \ \"40.85.102.50/32\",\r\n \"40.85.224.249/32\",\r\n \ - \ \"40.85.225.5/32\",\r\n \"40.86.75.134/32\",\r\n \ - \ \"40.86.226.166/32\",\r\n \"40.86.226.230/32\",\r\n \"\ - 40.112.139.250/32\",\r\n \"40.112.240.0/27\",\r\n \"40.112.246.0/27\"\ - ,\r\n \"40.113.14.53/32\",\r\n \"40.113.16.190/32\",\r\n\ - \ \"40.113.17.148/32\",\r\n \"40.113.20.38/32\",\r\n \ - \ \"40.113.93.91/32\",\r\n \"40.113.200.119/32\",\r\n \ - \ \"40.114.40.118/32\",\r\n \"40.114.43.106/32\",\r\n \ - \ \"40.114.45.195/32\",\r\n \"40.114.46.128/32\",\r\n \ - \ \"40.114.46.212/32\",\r\n \"40.114.81.142/32\",\r\n \"\ - 40.114.240.125/32\",\r\n \"40.114.240.162/32\",\r\n \"40.115.37.61/32\"\ - ,\r\n \"40.115.51.118/32\",\r\n \"40.115.52.141/32\",\r\n\ - \ \"40.115.53.255/32\",\r\n \"40.115.61.208/32\",\r\n \ - \ \"40.117.42.73/32\",\r\n \"40.117.44.71/32\",\r\n \ - \ \"40.117.90.115/32\",\r\n \"40.117.97.189/32\",\r\n \ - \ \"40.118.12.208/32\",\r\n \"40.118.129.167/32\",\r\n \ - \ \"40.118.170.1/32\",\r\n \"40.118.209.206/32\",\r\n \"\ - 40.118.244.227/32\",\r\n \"40.118.249.123/32\",\r\n \"40.118.250.19/32\"\ - ,\r\n \"40.120.72.0/27\",\r\n \"40.120.72.32/29\",\r\n \ - \ \"40.120.73.0/27\",\r\n \"40.121.143.204/32\",\r\n \ - \ \"40.121.149.49/32\",\r\n \"40.121.154.241/32\",\r\n \ - \ \"40.121.158.30/32\",\r\n \"40.122.205.105/32\",\r\n \ - \ \"40.122.215.111/32\",\r\n \"40.124.8.76/32\",\r\n \ - \ \"40.124.64.136/29\",\r\n \"40.126.228.153/32\",\r\n \"\ - 40.126.230.223/32\",\r\n \"40.126.232.113/32\",\r\n \"40.126.233.152/32\"\ - ,\r\n \"40.126.250.24/32\",\r\n \"40.127.82.69/32\",\r\n\ - \ \"40.127.83.164/32\",\r\n \"40.127.128.10/32\",\r\n \ - \ \"40.127.135.67/32\",\r\n \"40.127.137.209/32\",\r\n \ - \ \"40.127.141.194/32\",\r\n \"40.127.177.139/32\",\r\n \ - \ \"40.127.190.50/32\",\r\n \"51.12.46.32/27\",\r\n \ - \ \"51.12.46.64/27\",\r\n \"51.12.46.128/26\",\r\n \"\ - 51.12.96.0/27\",\r\n \"51.12.96.32/29\",\r\n \"51.12.97.0/27\"\ - ,\r\n \"51.12.198.32/27\",\r\n \"51.12.198.64/27\",\r\n\ - \ \"51.12.198.128/26\",\r\n \"51.12.200.0/27\",\r\n \ - \ \"51.12.200.32/29\",\r\n \"51.12.201.0/27\",\r\n \ - \ \"51.12.201.32/29\",\r\n \"51.12.224.0/27\",\r\n \"51.12.224.32/29\"\ - ,\r\n \"51.12.225.0/27\",\r\n \"51.12.232.0/27\",\r\n \ - \ \"51.12.232.32/29\",\r\n \"51.12.233.0/27\",\r\n \ - \ \"51.13.136.224/27\",\r\n \"51.13.137.0/27\",\r\n \"\ - 51.13.137.64/26\",\r\n \"51.105.64.0/27\",\r\n \"51.105.64.32/29\"\ - ,\r\n \"51.105.65.0/27\",\r\n \"51.105.72.0/27\",\r\n \ - \ \"51.105.72.32/29\",\r\n \"51.105.73.0/27\",\r\n \ - \ \"51.107.56.0/27\",\r\n \"51.107.56.32/29\",\r\n \"\ - 51.107.57.0/27\",\r\n \"51.107.152.0/27\",\r\n \"51.107.153.0/27\"\ - ,\r\n \"51.107.153.32/29\",\r\n \"51.107.242.32/27\",\r\n\ - \ \"51.107.242.64/27\",\r\n \"51.107.242.128/26\",\r\n \ - \ \"51.107.250.64/26\",\r\n \"51.107.250.128/26\",\r\n \ - \ \"51.116.54.96/27\",\r\n \"51.116.54.128/27\",\r\n \ - \ \"51.116.54.192/26\",\r\n \"51.116.56.0/27\",\r\n \ - \ \"51.116.57.0/27\",\r\n \"51.116.57.32/29\",\r\n \"51.116.149.32/27\"\ - ,\r\n \"51.116.149.64/27\",\r\n \"51.116.149.128/26\",\r\ - \n \"51.116.152.0/27\",\r\n \"51.116.152.32/29\",\r\n \ - \ \"51.116.153.0/27\",\r\n \"51.116.240.0/27\",\r\n \ - \ \"51.116.240.32/29\",\r\n \"51.116.241.0/27\",\r\n \ - \ \"51.116.248.0/27\",\r\n \"51.116.248.32/29\",\r\n \"\ - 51.116.249.0/27\",\r\n \"51.120.96.0/27\",\r\n \"51.120.96.32/29\"\ - ,\r\n \"51.120.97.0/27\",\r\n \"51.120.104.0/27\",\r\n \ - \ \"51.120.104.32/29\",\r\n \"51.120.105.0/27\",\r\n \ - \ \"51.120.208.0/27\",\r\n \"51.120.208.32/29\",\r\n \ - \ \"51.120.209.0/27\",\r\n \"51.120.216.0/27\",\r\n \"\ - 51.120.217.0/27\",\r\n \"51.120.217.32/29\",\r\n \"51.120.232.192/26\"\ - ,\r\n \"51.120.233.0/26\",\r\n \"51.138.210.0/26\",\r\n\ - \ \"51.140.77.9/32\",\r\n \"51.140.114.26/32\",\r\n \ - \ \"51.140.115.150/32\",\r\n \"51.140.144.0/27\",\r\n \ - \ \"51.140.144.32/29\",\r\n \"51.140.145.0/27\",\r\n \ - \ \"51.140.180.9/32\",\r\n \"51.140.183.238/32\",\r\n \"\ - 51.140.184.11/32\",\r\n \"51.140.184.12/32\",\r\n \"51.140.208.64/27\"\ - ,\r\n \"51.140.208.96/29\",\r\n \"51.140.209.0/27\",\r\n\ - \ \"51.140.209.32/29\",\r\n \"51.141.8.11/32\",\r\n \ - \ \"51.141.8.12/32\",\r\n \"51.141.15.53/32\",\r\n \ - \ \"51.141.25.212/32\",\r\n \"51.142.211.129/32\",\r\n \"\ - 51.143.209.224/27\",\r\n \"51.143.212.0/27\",\r\n \"51.143.212.64/26\"\ - ,\r\n \"52.136.53.160/27\",\r\n \"52.136.53.192/27\",\r\n\ - \ \"52.136.185.0/25\",\r\n \"52.138.88.0/27\",\r\n \ - \ \"52.138.88.32/29\",\r\n \"52.138.89.0/27\",\r\n \"\ - 52.138.89.32/29\",\r\n \"52.138.224.0/26\",\r\n \"52.138.224.128/26\"\ - ,\r\n \"52.138.225.0/26\",\r\n \"52.138.225.128/26\",\r\n\ - \ \"52.138.229.72/29\",\r\n \"52.139.106.192/26\",\r\n \ - \ \"52.139.107.0/26\",\r\n \"52.146.133.128/25\",\r\n \ - \ \"52.147.112.160/27\",\r\n \"52.161.15.204/32\",\r\n \ - \ \"52.161.100.158/32\",\r\n \"52.161.105.228/32\",\r\n \ - \ \"52.161.128.32/27\",\r\n \"52.162.104.0/26\",\r\n \ - \ \"52.162.105.0/26\",\r\n \"52.162.105.192/29\",\r\n \ - \ \"52.162.125.1/32\",\r\n \"52.162.241.250/32\",\r\n \"\ - 52.165.184.67/32\",\r\n \"52.166.76.0/32\",\r\n \"52.166.131.195/32\"\ - ,\r\n \"52.167.104.0/26\",\r\n \"52.167.104.192/29\",\r\n\ - \ \"52.167.105.0/26\",\r\n \"52.167.117.226/32\",\r\n \ - \ \"52.168.116.64/29\",\r\n \"52.168.166.153/32\",\r\n \ - \ \"52.168.169.124/32\",\r\n \"52.168.183.223/32\",\r\n \ - \ \"52.170.41.199/32\",\r\n \"52.170.97.16/32\",\r\n \ - \ \"52.170.98.29/32\",\r\n \"52.171.56.10/32\",\r\n \"\ - 52.172.24.47/32\",\r\n \"52.172.43.208/32\",\r\n \"52.172.113.96/27\"\ - ,\r\n \"52.172.113.128/27\",\r\n \"52.172.113.192/26\",\r\ - \n \"52.172.217.233/32\",\r\n \"52.172.221.154/32\",\r\n\ - \ \"52.173.205.59/32\",\r\n \"52.175.33.150/32\",\r\n \ - \ \"52.176.43.167/32\",\r\n \"52.176.59.12/32\",\r\n \ - \ \"52.176.95.237/32\",\r\n \"52.176.100.98/32\",\r\n \ - \ \"52.177.185.181/32\",\r\n \"52.177.197.103/32\",\r\n \ - \ \"52.177.200.215/32\",\r\n \"52.179.16.95/32\",\r\n \ - \ \"52.179.157.248/32\",\r\n \"52.179.165.160/32\",\r\n \ - \ \"52.179.167.70/32\",\r\n \"52.179.178.184/32\",\r\n \"\ - 52.180.176.154/31\",\r\n \"52.180.183.226/32\",\r\n \"52.182.136.0/26\"\ - ,\r\n \"52.182.136.192/29\",\r\n \"52.182.137.0/26\",\r\n\ - \ \"52.183.250.62/32\",\r\n \"52.184.192.175/32\",\r\n \ - \ \"52.184.231.0/32\",\r\n \"52.185.152.149/32\",\r\n \ - \ \"52.187.15.214/32\",\r\n \"52.187.76.130/32\",\r\n \ - \ \"52.191.144.64/26\",\r\n \"52.191.152.64/26\",\r\n \ - \ \"52.191.172.187/32\",\r\n \"52.191.174.114/32\",\r\n \ - \ \"52.225.188.46/32\",\r\n \"52.225.188.113/32\",\r\n \ - \ \"52.225.222.124/32\",\r\n \"52.228.24.103/32\",\r\n \ - \ \"52.228.35.221/32\",\r\n \"52.228.39.117/32\",\r\n \"\ - 52.229.17.93/32\",\r\n \"52.229.122.195/32\",\r\n \"52.229.123.147/32\"\ - ,\r\n \"52.229.124.23/32\",\r\n \"52.231.16.0/27\",\r\n\ - \ \"52.231.16.32/29\",\r\n \"52.231.17.0/27\",\r\n \ - \ \"52.231.32.42/31\",\r\n \"52.231.39.56/32\",\r\n \ - \ \"52.231.144.0/27\",\r\n \"52.231.145.0/27\",\r\n \"52.231.151.96/27\"\ - ,\r\n \"52.231.200.86/31\",\r\n \"52.231.206.133/32\",\r\ - \n \"52.236.184.0/27\",\r\n \"52.236.184.32/29\",\r\n \ - \ \"52.236.184.128/25\",\r\n \"52.236.185.0/27\",\r\n \ - \ \"52.236.185.128/25\",\r\n \"52.237.28.86/32\",\r\n \ - \ \"52.237.219.227/32\",\r\n \"52.242.26.53/32\",\r\n \ - \ \"52.242.29.91/32\",\r\n \"52.242.30.154/32\",\r\n \"\ - 52.242.36.107/32\",\r\n \"52.243.32.19/32\",\r\n \"52.243.43.186/32\"\ - ,\r\n \"52.246.152.0/27\",\r\n \"52.246.152.32/29\",\r\n\ - \ \"52.246.153.0/27\",\r\n \"52.246.251.248/32\",\r\n \ - \ \"52.255.48.161/32\",\r\n \"65.52.208.91/32\",\r\n \ - \ \"65.52.213.108/32\",\r\n \"65.52.214.127/32\",\r\n \ - \ \"65.52.218.82/32\",\r\n \"65.52.225.245/32\",\r\n \"\ - 65.52.226.209/32\",\r\n \"65.52.248.0/27\",\r\n \"65.52.248.32/29\"\ - ,\r\n \"65.52.249.0/27\",\r\n \"102.37.80.96/27\",\r\n \ - \ \"102.37.80.128/27\",\r\n \"102.37.80.192/26\",\r\n \ - \ \"102.37.160.0/27\",\r\n \"102.37.160.64/26\",\r\n \ - \ \"102.133.24.0/27\",\r\n \"102.133.25.0/27\",\r\n \"\ - 102.133.25.32/29\",\r\n \"102.133.120.0/27\",\r\n \"102.133.120.32/29\"\ - ,\r\n \"102.133.121.0/27\",\r\n \"102.133.152.0/27\",\r\n\ - \ \"102.133.152.32/29\",\r\n \"102.133.153.0/27\",\r\n \ - \ \"102.133.221.224/27\",\r\n \"102.133.248.0/27\",\r\n \ - \ \"102.133.248.32/29\",\r\n \"102.133.249.0/27\",\r\n \ - \ \"104.40.28.188/32\",\r\n \"104.40.49.103/32\",\r\n \ - \ \"104.40.54.130/32\",\r\n \"104.40.82.151/32\",\r\n \ - \ \"104.40.155.247/32\",\r\n \"104.40.168.64/26\",\r\n \ - \ \"104.40.168.192/26\",\r\n \"104.40.169.0/27\",\r\n \ - \ \"104.40.169.32/29\",\r\n \"104.40.169.128/25\",\r\n \"\ - 104.40.180.164/32\",\r\n \"104.40.220.28/32\",\r\n \"104.40.230.18/32\"\ - ,\r\n \"104.40.232.54/32\",\r\n \"104.40.237.111/32\",\r\ - \n \"104.41.11.5/32\",\r\n \"104.41.13.213/32\",\r\n \ - \ \"104.41.13.233/32\",\r\n \"104.41.36.39/32\",\r\n \ - \ \"104.41.56.218/32\",\r\n \"104.41.57.82/32\",\r\n \ - \ \"104.41.59.170/32\",\r\n \"104.41.150.1/32\",\r\n \"\ - 104.41.152.74/32\",\r\n \"104.41.168.103/32\",\r\n \"104.41.169.34/32\"\ - ,\r\n \"104.41.202.30/32\",\r\n \"104.41.205.195/32\",\r\ - \n \"104.41.208.104/32\",\r\n \"104.41.210.68/32\",\r\n\ - \ \"104.41.211.98/32\",\r\n \"104.42.120.235/32\",\r\n \ - \ \"104.42.127.95/32\",\r\n \"104.42.136.93/32\",\r\n \ - \ \"104.42.188.130/32\",\r\n \"104.42.192.190/32\",\r\n \ - \ \"104.42.199.221/32\",\r\n \"104.42.231.253/32\",\r\n \ - \ \"104.42.237.198/32\",\r\n \"104.42.238.205/32\",\r\n \ - \ \"104.43.10.74/32\",\r\n \"104.43.15.0/32\",\r\n \ - \ \"104.43.164.21/32\",\r\n \"104.43.164.247/32\",\r\n \ - \ \"104.43.203.72/32\",\r\n \"104.45.11.99/32\",\r\n \"\ - 104.45.14.115/32\",\r\n \"104.45.158.30/32\",\r\n \"104.46.38.143/32\"\ - ,\r\n \"104.46.40.24/32\",\r\n \"104.46.100.189/32\",\r\n\ - \ \"104.46.108.148/32\",\r\n \"104.46.179.160/27\",\r\n\ - \ \"104.46.179.192/27\",\r\n \"104.46.183.0/26\",\r\n \ - \ \"104.47.157.97/32\",\r\n \"104.208.21.0/26\",\r\n \ - \ \"104.208.21.192/29\",\r\n \"104.208.22.0/26\",\r\n \ - \ \"104.208.28.16/32\",\r\n \"104.208.28.53/32\",\r\n \ - \ \"104.208.149.0/26\",\r\n \"104.208.150.0/26\",\r\n \"\ - 104.208.150.192/29\",\r\n \"104.208.161.78/32\",\r\n \"\ - 104.208.163.201/32\",\r\n \"104.208.233.240/32\",\r\n \"\ - 104.208.238.55/32\",\r\n \"104.208.241.224/32\",\r\n \"\ - 104.209.186.94/32\",\r\n \"104.210.32.128/32\",\r\n \"104.210.105.215/32\"\ - ,\r\n \"104.211.85.0/27\",\r\n \"104.211.86.0/27\",\r\n\ - \ \"104.211.86.32/29\",\r\n \"104.211.96.159/32\",\r\n \ - \ \"104.211.96.160/32\",\r\n \"104.211.144.0/27\",\r\n \ - \ \"104.211.144.32/29\",\r\n \"104.211.145.0/27\",\r\n \ - \ \"104.211.145.32/29\",\r\n \"104.211.160.80/31\",\r\n \ - \ \"104.211.185.58/32\",\r\n \"104.211.190.46/32\",\r\n \ - \ \"104.211.224.146/31\",\r\n \"104.214.16.0/26\",\r\n \ - \ \"104.214.16.192/26\",\r\n \"104.214.17.0/26\",\r\n \ - \ \"104.214.17.192/26\",\r\n \"104.214.67.25/32\",\r\n \ - \ \"104.214.73.137/32\",\r\n \"104.214.78.242/32\",\r\n \ - \ \"104.214.148.156/32\",\r\n \"104.214.150.17/32\",\r\n \ - \ \"104.215.195.14/32\",\r\n \"104.215.196.52/32\",\r\n \ - \ \"111.221.106.161/32\",\r\n \"137.116.31.224/27\",\r\n \ - \ \"137.116.129.110/32\",\r\n \"137.116.203.91/32\",\r\n \ - \ \"137.135.51.212/32\",\r\n \"137.135.109.63/32\",\r\n \ - \ \"137.135.186.126/32\",\r\n \"137.135.189.158/32\",\r\n \ - \ \"137.135.205.85/32\",\r\n \"137.135.213.9/32\",\r\n \ - \ \"138.91.48.99/32\",\r\n \"138.91.58.227/32\",\r\n \ - \ \"138.91.145.12/32\",\r\n \"138.91.160.189/32\",\r\n \ - \ \"138.91.240.14/32\",\r\n \"138.91.246.31/32\",\r\n \ - \ \"138.91.247.51/32\",\r\n \"138.91.251.139/32\",\r\n \"\ - 157.55.208.150/32\",\r\n \"168.61.136.0/27\",\r\n \"168.61.137.0/27\"\ - ,\r\n \"168.62.115.112/28\",\r\n \"168.62.232.188/32\",\r\ - \n \"168.62.235.49/32\",\r\n \"168.62.235.241/32\",\r\n\ - \ \"168.62.239.29/32\",\r\n \"168.63.13.214/32\",\r\n \ - \ \"168.63.98.91/32\",\r\n \"168.63.175.68/32\",\r\n \ - \ \"191.233.15.160/27\",\r\n \"191.233.15.192/27\",\r\n \ - \ \"191.233.48.0/27\",\r\n \"191.233.48.32/29\",\r\n \ - \ \"191.233.49.0/27\",\r\n \"191.233.69.227/32\",\r\n \"\ - 191.233.90.117/32\",\r\n \"191.233.200.0/27\",\r\n \"191.233.200.32/29\"\ - ,\r\n \"191.233.201.0/27\",\r\n \"191.234.2.139/32\",\r\n\ - \ \"191.234.2.140/31\",\r\n \"191.234.2.142/32\",\r\n \ - \ \"191.234.142.160/27\",\r\n \"191.234.142.192/27\",\r\n\ - \ \"191.234.144.0/27\",\r\n \"191.234.144.32/29\",\r\n \ - \ \"191.234.145.0/27\",\r\n \"191.234.152.0/26\",\r\n \ - \ \"191.234.153.0/26\",\r\n \"191.235.170.58/32\",\r\n \ - \ \"191.235.193.75/32\",\r\n \"191.235.193.76/31\",\r\n \ - \ \"191.235.193.78/32\",\r\n \"191.235.193.139/32\",\r\n \ - \ \"191.235.193.140/31\",\r\n \"191.235.209.79/32\",\r\n \ - \ \"191.236.119.31/32\",\r\n \"191.236.148.44/32\",\r\n \ - \ \"191.236.153.120/32\",\r\n \"191.237.20.112/32\",\r\n \ - \ \"191.237.82.74/32\",\r\n \"191.237.219.202/32\",\r\n \ - \ \"191.237.232.75/32\",\r\n \"191.237.232.76/31\",\r\n \ - \ \"191.237.232.78/32\",\r\n \"191.237.232.235/32\",\r\n\ - \ \"191.237.232.236/31\",\r\n \"191.237.240.43/32\",\r\n\ - \ \"191.237.240.44/32\",\r\n \"191.237.240.46/32\",\r\n\ - \ \"191.238.6.43/32\",\r\n \"191.238.6.44/31\",\r\n \ - \ \"191.238.6.46/32\",\r\n \"191.238.68.11/32\",\r\n \ - \ \"191.238.68.12/31\",\r\n \"191.238.68.14/32\",\r\n \ - \ \"191.238.224.203/32\",\r\n \"191.238.230.40/32\",\r\n \ - \ \"191.239.12.154/32\",\r\n \"191.239.189.48/32\",\r\n \ - \ \"191.239.192.109/32\",\r\n \"191.239.224.107/32\",\r\n \ - \ \"191.239.224.108/31\",\r\n \"191.239.224.110/32\",\r\n \ - \ \"207.46.139.82/32\",\r\n \"207.46.140.180/32\",\r\n \ - \ \"207.46.153.182/32\",\r\n \"2603:1000:4::280/123\",\r\n \ - \ \"2603:1000:4:1::200/121\",\r\n \"2603:1000:4:400::/123\"\ - ,\r\n \"2603:1000:4:401::/123\",\r\n \"2603:1000:104::640/123\"\ - ,\r\n \"2603:1000:104::680/121\",\r\n \"2603:1000:104:400::/123\"\ - ,\r\n \"2603:1000:104:401::/123\",\r\n \"2603:1000:104:800::/123\"\ - ,\r\n \"2603:1000:104:801::/123\",\r\n \"2603:1000:104:c00::/123\"\ - ,\r\n \"2603:1000:104:c01::/123\",\r\n \"2603:1010:6::320/123\"\ - ,\r\n \"2603:1010:6::380/121\",\r\n \"2603:1010:6:400::/123\"\ - ,\r\n \"2603:1010:6:401::/123\",\r\n \"2603:1010:6:800::/123\"\ - ,\r\n \"2603:1010:6:801::/123\",\r\n \"2603:1010:6:c00::/123\"\ - ,\r\n \"2603:1010:6:c01::/123\",\r\n \"2603:1010:101::280/123\"\ - ,\r\n \"2603:1010:101:1::200/121\",\r\n \"2603:1010:101:400::/123\"\ - ,\r\n \"2603:1010:304::280/123\",\r\n \"2603:1010:304:1::200/121\"\ - ,\r\n \"2603:1010:304:400::/123\",\r\n \"2603:1010:404::280/123\"\ - ,\r\n \"2603:1010:404:1::200/121\",\r\n \"2603:1010:404:400::/123\"\ - ,\r\n \"2603:1020:5::320/123\",\r\n \"2603:1020:5::380/121\"\ - ,\r\n \"2603:1020:5:400::/123\",\r\n \"2603:1020:5:401::/123\"\ - ,\r\n \"2603:1020:5:800::/123\",\r\n \"2603:1020:5:801::/123\"\ - ,\r\n \"2603:1020:5:c00::/123\",\r\n \"2603:1020:5:c01::/123\"\ - ,\r\n \"2603:1020:206::320/123\",\r\n \"2603:1020:206::380/121\"\ - ,\r\n \"2603:1020:206:400::/123\",\r\n \"2603:1020:206:401::/123\"\ - ,\r\n \"2603:1020:206:800::/123\",\r\n \"2603:1020:206:801::/123\"\ - ,\r\n \"2603:1020:206:c00::/123\",\r\n \"2603:1020:206:c01::/123\"\ - ,\r\n \"2603:1020:605::280/123\",\r\n \"2603:1020:605:1::200/121\"\ - ,\r\n \"2603:1020:605:400::/123\",\r\n \"2603:1020:705::320/123\"\ - ,\r\n \"2603:1020:705::380/121\",\r\n \"2603:1020:705:400::/123\"\ - ,\r\n \"2603:1020:705:401::/123\",\r\n \"2603:1020:705:800::/123\"\ - ,\r\n \"2603:1020:705:801::/123\",\r\n \"2603:1020:705:c00::/123\"\ - ,\r\n \"2603:1020:705:c01::/123\",\r\n \"2603:1020:805::320/123\"\ - ,\r\n \"2603:1020:805::380/121\",\r\n \"2603:1020:805:400::/123\"\ - ,\r\n \"2603:1020:805:401::/123\",\r\n \"2603:1020:805:800::/123\"\ - ,\r\n \"2603:1020:805:801::/123\",\r\n \"2603:1020:805:c00::/123\"\ - ,\r\n \"2603:1020:805:c01::/123\",\r\n \"2603:1020:905::280/123\"\ - ,\r\n \"2603:1020:905:1::200/121\",\r\n \"2603:1020:905:400::/123\"\ - ,\r\n \"2603:1020:a04::320/123\",\r\n \"2603:1020:a04::380/121\"\ - ,\r\n \"2603:1020:a04:400::/123\",\r\n \"2603:1020:a04:401::/123\"\ - ,\r\n \"2603:1020:a04:800::/123\",\r\n \"2603:1020:a04:801::/123\"\ - ,\r\n \"2603:1020:a04:c00::/123\",\r\n \"2603:1020:a04:c01::/123\"\ - ,\r\n \"2603:1020:b04::280/123\",\r\n \"2603:1020:b04:1::200/121\"\ - ,\r\n \"2603:1020:b04:400::/123\",\r\n \"2603:1020:c04::320/123\"\ - ,\r\n \"2603:1020:c04::380/121\",\r\n \"2603:1020:c04:400::/123\"\ - ,\r\n \"2603:1020:c04:401::/123\",\r\n \"2603:1020:c04:800::/123\"\ - ,\r\n \"2603:1020:c04:801::/123\",\r\n \"2603:1020:c04:c00::/123\"\ - ,\r\n \"2603:1020:c04:c01::/123\",\r\n \"2603:1020:d04::280/123\"\ - ,\r\n \"2603:1020:d04:1::200/121\",\r\n \"2603:1020:d04:400::/123\"\ - ,\r\n \"2603:1020:e04::320/123\",\r\n \"2603:1020:e04::380/121\"\ - ,\r\n \"2603:1020:e04:400::/123\",\r\n \"2603:1020:e04:401::/123\"\ - ,\r\n \"2603:1020:e04:800::/123\",\r\n \"2603:1020:e04:801::/123\"\ - ,\r\n \"2603:1020:e04:c00::/123\",\r\n \"2603:1020:e04:c01::/123\"\ - ,\r\n \"2603:1020:f04::280/123\",\r\n \"2603:1020:f04:1::200/121\"\ - ,\r\n \"2603:1020:f04:400::/123\",\r\n \"2603:1020:1004:1::520/123\"\ - ,\r\n \"2603:1020:1004:1::580/121\",\r\n \"2603:1020:1004:400::400/123\"\ - ,\r\n \"2603:1020:1004:402::/123\",\r\n \"2603:1020:1004:403::/123\"\ - ,\r\n \"2603:1020:1004:802::/123\",\r\n \"2603:1020:1004:803::/123\"\ - ,\r\n \"2603:1020:1004:c03::/123\",\r\n \"2603:1020:1004:c04::/123\"\ - ,\r\n \"2603:1020:1104::500/123\",\r\n \"2603:1020:1104:1::300/121\"\ - ,\r\n \"2603:1020:1104:400::420/123\",\r\n \"2603:1020:1104:402::/123\"\ - ,\r\n \"2603:1030:f:1::280/123\",\r\n \"2603:1030:f:2::200/121\"\ - ,\r\n \"2603:1030:f:402::/122\",\r\n \"2603:1030:f:403::/122\"\ - ,\r\n \"2603:1030:10::320/123\",\r\n \"2603:1030:10::380/121\"\ - ,\r\n \"2603:1030:10:400::/123\",\r\n \"2603:1030:10:401::/123\"\ - ,\r\n \"2603:1030:10:800::/123\",\r\n \"2603:1030:10:801::/123\"\ - ,\r\n \"2603:1030:10:c00::/123\",\r\n \"2603:1030:10:c01::/123\"\ - ,\r\n \"2603:1030:104::320/123\",\r\n \"2603:1030:104::380/121\"\ - ,\r\n \"2603:1030:104:400::/123\",\r\n \"2603:1030:104:401::/123\"\ - ,\r\n \"2603:1030:107:401::40/122\",\r\n \"2603:1030:107:402::40/123\"\ - ,\r\n \"2603:1030:210::320/123\",\r\n \"2603:1030:210::380/121\"\ - ,\r\n \"2603:1030:210:400::/123\",\r\n \"2603:1030:210:401::/123\"\ - ,\r\n \"2603:1030:210:800::/123\",\r\n \"2603:1030:210:801::/123\"\ - ,\r\n \"2603:1030:210:c00::/123\",\r\n \"2603:1030:210:c01::/123\"\ - ,\r\n \"2603:1030:40b:2::200/123\",\r\n \"2603:1030:40b:2::280/121\"\ - ,\r\n \"2603:1030:40b:402::/122\",\r\n \"2603:1030:40b:403::/122\"\ - ,\r\n \"2603:1030:40b:802::/122\",\r\n \"2603:1030:40b:803::/122\"\ - ,\r\n \"2603:1030:40b:c02::/122\",\r\n \"2603:1030:40b:c03::/122\"\ - ,\r\n \"2603:1030:40c::320/123\",\r\n \"2603:1030:40c::380/121\"\ - ,\r\n \"2603:1030:40c:400::/123\",\r\n \"2603:1030:40c:401::/123\"\ - ,\r\n \"2603:1030:40c:800::/123\",\r\n \"2603:1030:40c:801::/123\"\ - ,\r\n \"2603:1030:40c:c00::/123\",\r\n \"2603:1030:40c:c01::/123\"\ - ,\r\n \"2603:1030:504::520/123\",\r\n \"2603:1030:504::580/121\"\ - ,\r\n \"2603:1030:504:400::/123\",\r\n \"2603:1030:504:401::/123\"\ - ,\r\n \"2603:1030:504:800::/123\",\r\n \"2603:1030:504:801::/123\"\ - ,\r\n \"2603:1030:504:c00::/123\",\r\n \"2603:1030:504:c01::/123\"\ - ,\r\n \"2603:1030:608::280/123\",\r\n \"2603:1030:608:1::200/121\"\ - ,\r\n \"2603:1030:608:400::/123\",\r\n \"2603:1030:807::320/123\"\ - ,\r\n \"2603:1030:807::380/121\",\r\n \"2603:1030:807:400::/123\"\ - ,\r\n \"2603:1030:807:401::/123\",\r\n \"2603:1030:807:800::/123\"\ - ,\r\n \"2603:1030:807:801::/123\",\r\n \"2603:1030:807:c00::/123\"\ - ,\r\n \"2603:1030:807:c01::/123\",\r\n \"2603:1030:a07::280/123\"\ - ,\r\n \"2603:1030:a07:1::200/121\",\r\n \"2603:1030:a07:400::/123\"\ - ,\r\n \"2603:1030:b04::280/123\",\r\n \"2603:1030:b04:1::200/121\"\ - ,\r\n \"2603:1030:b04:400::/123\",\r\n \"2603:1030:c06:2::200/123\"\ - ,\r\n \"2603:1030:c06:2::280/121\",\r\n \"2603:1030:c06:401::/123\"\ - ,\r\n \"2603:1030:c06:402::/123\",\r\n \"2603:1030:c06:800::/123\"\ - ,\r\n \"2603:1030:c06:801::/123\",\r\n \"2603:1030:c06:c00::/123\"\ - ,\r\n \"2603:1030:c06:c01::/123\",\r\n \"2603:1030:f05::320/123\"\ - ,\r\n \"2603:1030:f05::380/121\",\r\n \"2603:1030:f05:400::/123\"\ - ,\r\n \"2603:1030:f05:401::/123\",\r\n \"2603:1030:f05:800::/123\"\ - ,\r\n \"2603:1030:f05:801::/123\",\r\n \"2603:1030:f05:c00::/123\"\ - ,\r\n \"2603:1030:f05:c01::/123\",\r\n \"2603:1030:1005::280/123\"\ - ,\r\n \"2603:1030:1005:1::200/121\",\r\n \"2603:1030:1005:400::/123\"\ - ,\r\n \"2603:1040:5::420/123\",\r\n \"2603:1040:5::480/121\"\ - ,\r\n \"2603:1040:5:400::/123\",\r\n \"2603:1040:5:401::/123\"\ - ,\r\n \"2603:1040:5:800::/123\",\r\n \"2603:1040:5:801::/123\"\ - ,\r\n \"2603:1040:5:c00::/123\",\r\n \"2603:1040:5:c01::/123\"\ - ,\r\n \"2603:1040:207::280/123\",\r\n \"2603:1040:207:1::200/121\"\ - ,\r\n \"2603:1040:207:400::/123\",\r\n \"2603:1040:207:401::/123\"\ - ,\r\n \"2603:1040:407::320/123\",\r\n \"2603:1040:407::380/121\"\ - ,\r\n \"2603:1040:407:400::/123\",\r\n \"2603:1040:407:401::/123\"\ - ,\r\n \"2603:1040:407:800::/123\",\r\n \"2603:1040:407:801::/123\"\ - ,\r\n \"2603:1040:407:c00::/123\",\r\n \"2603:1040:407:c01::/123\"\ - ,\r\n \"2603:1040:606::280/123\",\r\n \"2603:1040:606:1::200/121\"\ - ,\r\n \"2603:1040:606:400::/123\",\r\n \"2603:1040:806::280/123\"\ - ,\r\n \"2603:1040:806:1::200/121\",\r\n \"2603:1040:806:400::/123\"\ - ,\r\n \"2603:1040:904::320/123\",\r\n \"2603:1040:904::380/121\"\ - ,\r\n \"2603:1040:904:400::/123\",\r\n \"2603:1040:904:401::/123\"\ - ,\r\n \"2603:1040:904:800::/123\",\r\n \"2603:1040:904:801::/123\"\ - ,\r\n \"2603:1040:904:c00::/123\",\r\n \"2603:1040:904:c01::/123\"\ - ,\r\n \"2603:1040:a06::420/123\",\r\n \"2603:1040:a06::480/121\"\ - ,\r\n \"2603:1040:a06:400::/123\",\r\n \"2603:1040:a06:401::/123\"\ - ,\r\n \"2603:1040:a06:800::/123\",\r\n \"2603:1040:a06:801::/123\"\ - ,\r\n \"2603:1040:a06:c00::/123\",\r\n \"2603:1040:a06:c01::/123\"\ - ,\r\n \"2603:1040:b04::280/123\",\r\n \"2603:1040:b04:1::200/121\"\ - ,\r\n \"2603:1040:b04:400::/123\",\r\n \"2603:1040:c06::280/123\"\ - ,\r\n \"2603:1040:c06:1::200/121\",\r\n \"2603:1040:c06:400::/123\"\ - ,\r\n \"2603:1040:c06:401::/123\",\r\n \"2603:1040:d04:1::520/123\"\ - ,\r\n \"2603:1040:d04:1::580/121\",\r\n \"2603:1040:d04:400::400/123\"\ - ,\r\n \"2603:1040:d04:402::/123\",\r\n \"2603:1040:d04:403::/123\"\ - ,\r\n \"2603:1040:d04:802::/123\",\r\n \"2603:1040:d04:803::/123\"\ - ,\r\n \"2603:1040:d04:c03::/123\",\r\n \"2603:1040:d04:c04::/123\"\ - ,\r\n \"2603:1040:e05::/123\",\r\n \"2603:1040:f05::320/123\"\ - ,\r\n \"2603:1040:f05::380/121\",\r\n \"2603:1040:f05:400::/123\"\ - ,\r\n \"2603:1040:f05:401::/123\",\r\n \"2603:1040:f05:800::/123\"\ - ,\r\n \"2603:1040:f05:801::/123\",\r\n \"2603:1040:f05:c00::/123\"\ - ,\r\n \"2603:1040:f05:c01::/123\",\r\n \"2603:1040:1104::500/123\"\ - ,\r\n \"2603:1040:1104:1::300/121\",\r\n \"2603:1040:1104:400::440/123\"\ - ,\r\n \"2603:1040:1104:402::/123\",\r\n \"2603:1050:6::320/123\"\ - ,\r\n \"2603:1050:6::380/121\",\r\n \"2603:1050:6:400::/123\"\ - ,\r\n \"2603:1050:6:401::/123\",\r\n \"2603:1050:6:800::/123\"\ - ,\r\n \"2603:1050:6:801::/123\",\r\n \"2603:1050:6:c00::/122\"\ - ,\r\n \"2603:1050:6:c01::/122\",\r\n \"2603:1050:403:1::200/123\"\ - ,\r\n \"2603:1050:403:1::280/121\",\r\n \"2603:1050:403:402::/123\"\ - ,\r\n \"2603:1050:403:403::/123\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"Sql.AustraliaCentral\",\r\n \"id\"\ - : \"Sql.AustraliaCentral\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"2\",\r\n \"region\": \"australiacentral\",\r\n \"state\"\ - : \"GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\n \ - \ \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n ],\r\n\ - \ \"systemService\": \"AzureSQL\",\r\n \"addressPrefixes\":\ - \ [\r\n \"20.36.104.0/27\",\r\n \"20.36.105.0/27\",\r\n\ - \ \"20.36.105.32/29\",\r\n \"20.53.48.96/27\",\r\n \ - \ \"20.53.48.128/27\",\r\n \"20.53.48.192/26\",\r\n \ - \ \"2603:1010:304::280/123\",\r\n \"2603:1010:304:1::200/121\",\r\ - \n \"2603:1010:304:400::/123\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"Sql.AustraliaCentral2\",\r\n \"id\": \"\ - Sql.AustraliaCentral2\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"2\",\r\n \"region\": \"australiacentral2\",\r\n \"state\"\ - : \"GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\n \ - \ \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n ],\r\n\ - \ \"systemService\": \"AzureSQL\",\r\n \"addressPrefixes\":\ - \ [\r\n \"20.36.112.0/27\",\r\n \"20.36.113.0/27\",\r\n\ - \ \"20.36.113.32/29\",\r\n \"20.53.56.32/27\",\r\n \ - \ \"20.53.56.64/27\",\r\n \"20.53.56.128/26\",\r\n \"\ - 2603:1010:404::280/123\",\r\n \"2603:1010:404:1::200/121\",\r\n \ - \ \"2603:1010:404:400::/123\"\r\n ]\r\n }\r\n },\r\n\ - \ {\r\n \"name\": \"Sql.AustraliaEast\",\r\n \"id\": \"Sql.AustraliaEast\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \ - \ \"region\": \"australiaeast\",\r\n \"state\": \"GA\",\r\n \ - \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n\ - \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\"\ - : \"AzureSQL\",\r\n \"addressPrefixes\": [\r\n \"13.70.112.0/27\"\ - ,\r\n \"13.70.112.32/29\",\r\n \"13.70.113.0/27\",\r\n \ - \ \"13.75.149.87/32\",\r\n \"20.53.46.128/25\",\r\n \ - \ \"40.79.160.0/27\",\r\n \"40.79.160.32/29\",\r\n \"\ - 40.79.161.0/27\",\r\n \"40.79.168.0/27\",\r\n \"40.79.168.32/29\"\ - ,\r\n \"40.79.169.0/27\",\r\n \"40.126.228.153/32\",\r\n\ - \ \"40.126.230.223/32\",\r\n \"40.126.232.113/32\",\r\n\ - \ \"40.126.233.152/32\",\r\n \"40.126.250.24/32\",\r\n \ - \ \"52.237.219.227/32\",\r\n \"104.210.105.215/32\",\r\n\ - \ \"2603:1010:6::320/123\",\r\n \"2603:1010:6::380/121\"\ - ,\r\n \"2603:1010:6:400::/123\",\r\n \"2603:1010:6:401::/123\"\ - ,\r\n \"2603:1010:6:800::/123\",\r\n \"2603:1010:6:801::/123\"\ - ,\r\n \"2603:1010:6:c00::/123\",\r\n \"2603:1010:6:c01::/123\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"Sql.AustraliaSoutheast\"\ - ,\r\n \"id\": \"Sql.AustraliaSoutheast\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"2\",\r\n \"region\": \"australiasoutheast\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureSQL\",\r\n \ - \ \"addressPrefixes\": [\r\n \"13.70.148.251/32\",\r\n \"\ - 13.70.155.163/32\",\r\n \"13.73.109.251/32\",\r\n \"13.77.7.78/32\"\ - ,\r\n \"13.77.48.0/27\",\r\n \"13.77.49.0/27\",\r\n \ - \ \"13.77.49.32/29\",\r\n \"40.127.82.69/32\",\r\n \ - \ \"40.127.83.164/32\",\r\n \"52.255.48.161/32\",\r\n \"\ - 104.46.179.160/27\",\r\n \"104.46.179.192/27\",\r\n \"104.46.183.0/26\"\ - ,\r\n \"191.239.189.48/32\",\r\n \"191.239.192.109/32\"\ - ,\r\n \"2603:1010:101::280/123\",\r\n \"2603:1010:101:1::200/121\"\ - ,\r\n \"2603:1010:101:400::/123\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"Sql.BrazilSouth\",\r\n \"id\": \"\ - Sql.BrazilSouth\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"2\",\r\n \"region\": \"brazilsouth\",\r\n \"state\": \"\ - GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\n \ - \ \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n ],\r\n \ - \ \"systemService\": \"AzureSQL\",\r\n \"addressPrefixes\": [\r\ - \n \"104.41.11.5/32\",\r\n \"104.41.13.213/32\",\r\n \ - \ \"104.41.13.233/32\",\r\n \"104.41.36.39/32\",\r\n \ - \ \"104.41.56.218/32\",\r\n \"104.41.57.82/32\",\r\n \ - \ \"104.41.59.170/32\",\r\n \"191.233.200.0/27\",\r\n \"\ - 191.233.200.32/29\",\r\n \"191.233.201.0/27\",\r\n \"191.234.142.160/27\"\ - ,\r\n \"191.234.142.192/27\",\r\n \"191.234.144.0/27\",\r\ - \n \"191.234.144.32/29\",\r\n \"191.234.145.0/27\",\r\n\ - \ \"191.234.152.0/26\",\r\n \"191.234.153.0/26\",\r\n \ - \ \"2603:1050:6::320/123\",\r\n \"2603:1050:6::380/121\",\r\ - \n \"2603:1050:6:400::/123\",\r\n \"2603:1050:6:401::/123\"\ - ,\r\n \"2603:1050:6:800::/123\",\r\n \"2603:1050:6:801::/123\"\ - ,\r\n \"2603:1050:6:c00::/122\",\r\n \"2603:1050:6:c01::/122\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"Sql.CanadaCentral\"\ - ,\r\n \"id\": \"Sql.CanadaCentral\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"2\",\r\n \"region\": \"canadacentral\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureSQL\",\r\n \ - \ \"addressPrefixes\": [\r\n \"13.71.168.0/27\",\r\n \"\ - 13.71.168.32/29\",\r\n \"13.71.169.0/27\",\r\n \"13.88.249.189/32\"\ - ,\r\n \"13.88.254.42/32\",\r\n \"20.38.144.0/27\",\r\n \ - \ \"20.38.144.32/29\",\r\n \"20.38.145.0/27\",\r\n \ - \ \"20.48.196.32/27\",\r\n \"20.48.196.64/27\",\r\n \"\ - 20.48.196.128/26\",\r\n \"40.85.224.249/32\",\r\n \"40.85.225.5/32\"\ - ,\r\n \"52.228.24.103/32\",\r\n \"52.228.35.221/32\",\r\n\ - \ \"52.228.39.117/32\",\r\n \"52.237.28.86/32\",\r\n \ - \ \"52.246.152.0/27\",\r\n \"52.246.152.32/29\",\r\n \ - \ \"52.246.153.0/27\",\r\n \"2603:1030:f05::320/123\",\r\n \ - \ \"2603:1030:f05::380/121\",\r\n \"2603:1030:f05:400::/123\"\ - ,\r\n \"2603:1030:f05:401::/123\",\r\n \"2603:1030:f05:800::/123\"\ - ,\r\n \"2603:1030:f05:801::/123\",\r\n \"2603:1030:f05:c00::/123\"\ - ,\r\n \"2603:1030:f05:c01::/123\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"Sql.CanadaEast\",\r\n \"id\": \"Sql.CanadaEast\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \ - \ \"region\": \"canadaeast\",\r\n \"state\": \"GA\",\r\n \"\ - networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n \ - \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\"\ - : \"AzureSQL\",\r\n \"addressPrefixes\": [\r\n \"40.69.104.0/27\"\ - ,\r\n \"40.69.105.0/27\",\r\n \"40.69.105.32/29\",\r\n \ - \ \"40.86.226.166/32\",\r\n \"40.86.226.230/32\",\r\n \ - \ \"52.139.106.192/26\",\r\n \"52.139.107.0/26\",\r\n \ - \ \"52.229.122.195/32\",\r\n \"52.229.123.147/32\",\r\n \ - \ \"52.229.124.23/32\",\r\n \"52.242.26.53/32\",\r\n \ - \ \"52.242.29.91/32\",\r\n \"52.242.30.154/32\",\r\n \"\ - 52.242.36.107/32\",\r\n \"2603:1030:1005::280/123\",\r\n \ - \ \"2603:1030:1005:1::200/121\",\r\n \"2603:1030:1005:400::/123\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"Sql.CentralIndia\"\ - ,\r\n \"id\": \"Sql.CentralIndia\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"2\",\r\n \"region\": \"centralindia\",\r\ - \n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"AzureSQL\",\r\n \"addressPrefixes\": [\r\n \"20.192.43.160/27\"\ - ,\r\n \"20.192.43.192/27\",\r\n \"20.192.44.0/26\",\r\n\ - \ \"20.192.96.0/27\",\r\n \"20.192.96.32/29\",\r\n \ - \ \"20.192.97.0/27\",\r\n \"40.80.48.0/27\",\r\n \"\ - 40.80.48.32/29\",\r\n \"40.80.49.0/27\",\r\n \"52.172.217.233/32\"\ - ,\r\n \"52.172.221.154/32\",\r\n \"104.211.85.0/27\",\r\n\ - \ \"104.211.86.0/27\",\r\n \"104.211.86.32/29\",\r\n \ - \ \"104.211.96.159/32\",\r\n \"104.211.96.160/32\",\r\n \ - \ \"2603:1040:a06::420/123\",\r\n \"2603:1040:a06::480/121\"\ - ,\r\n \"2603:1040:a06:400::/123\",\r\n \"2603:1040:a06:401::/123\"\ - ,\r\n \"2603:1040:a06:800::/123\",\r\n \"2603:1040:a06:801::/123\"\ - ,\r\n \"2603:1040:a06:c00::/123\",\r\n \"2603:1040:a06:c01::/123\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"Sql.CentralUS\"\ - ,\r\n \"id\": \"Sql.CentralUS\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"2\",\r\n \"region\": \"centralus\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"\ - API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n\ - \ ],\r\n \"systemService\": \"AzureSQL\",\r\n \"addressPrefixes\"\ - : [\r\n \"13.67.215.62/32\",\r\n \"13.89.36.110/32\",\r\n\ - \ \"13.89.37.61/32\",\r\n \"13.89.57.50/32\",\r\n \ - \ \"13.89.57.115/32\",\r\n \"13.89.168.0/26\",\r\n \"\ - 13.89.168.192/29\",\r\n \"13.89.169.0/26\",\r\n \"20.40.228.128/25\"\ - ,\r\n \"23.99.160.139/32\",\r\n \"23.99.160.140/31\",\r\n\ - \ \"23.99.160.142/32\",\r\n \"23.99.205.183/32\",\r\n \ - \ \"40.69.132.90/32\",\r\n \"40.69.143.202/32\",\r\n \ - \ \"40.69.169.120/32\",\r\n \"40.69.189.48/32\",\r\n \ - \ \"40.77.30.201/32\",\r\n \"40.86.75.134/32\",\r\n \"\ - 40.113.200.119/32\",\r\n \"40.122.205.105/32\",\r\n \"40.122.215.111/32\"\ - ,\r\n \"52.165.184.67/32\",\r\n \"52.173.205.59/32\",\r\n\ - \ \"52.176.43.167/32\",\r\n \"52.176.59.12/32\",\r\n \ - \ \"52.176.95.237/32\",\r\n \"52.176.100.98/32\",\r\n \ - \ \"52.182.136.0/26\",\r\n \"52.182.136.192/29\",\r\n \ - \ \"52.182.137.0/26\",\r\n \"104.43.164.21/32\",\r\n \"\ - 104.43.164.247/32\",\r\n \"104.43.203.72/32\",\r\n \"104.208.21.0/26\"\ - ,\r\n \"104.208.21.192/29\",\r\n \"104.208.22.0/26\",\r\n\ - \ \"104.208.28.16/32\",\r\n \"104.208.28.53/32\",\r\n \ - \ \"2603:1030:10::320/123\",\r\n \"2603:1030:10::380/121\"\ - ,\r\n \"2603:1030:10:400::/123\",\r\n \"2603:1030:10:401::/123\"\ - ,\r\n \"2603:1030:10:800::/123\",\r\n \"2603:1030:10:801::/123\"\ - ,\r\n \"2603:1030:10:c00::/123\",\r\n \"2603:1030:10:c01::/123\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"Sql.CentralUSEUAP\"\ - ,\r\n \"id\": \"Sql.CentralUSEUAP\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"2\",\r\n \"region\": \"centraluseuap\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureSQL\",\r\n \ - \ \"addressPrefixes\": [\r\n \"20.46.11.32/27\",\r\n \"\ - 20.46.11.64/27\",\r\n \"20.46.11.128/26\",\r\n \"40.78.200.128/29\"\ - ,\r\n \"40.78.201.128/29\",\r\n \"52.180.176.154/31\",\r\ - \n \"52.180.183.226/32\",\r\n \"168.61.136.0/27\",\r\n \ - \ \"168.61.137.0/27\",\r\n \"2603:1030:f:1::280/123\",\r\n\ - \ \"2603:1030:f:2::200/121\",\r\n \"2603:1030:f:402::/122\"\ - ,\r\n \"2603:1030:f:403::/122\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"Sql.EastAsia\",\r\n \"id\": \"Sql.EastAsia\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \ - \ \"region\": \"eastasia\",\r\n \"state\": \"GA\",\r\n \"\ - networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n \ - \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\"\ - : \"AzureSQL\",\r\n \"addressPrefixes\": [\r\n \"13.75.32.0/26\"\ - ,\r\n \"13.75.32.192/29\",\r\n \"13.75.33.0/26\",\r\n \ - \ \"13.75.33.192/29\",\r\n \"13.75.105.141/32\",\r\n \ - \ \"13.75.106.191/32\",\r\n \"13.75.108.188/32\",\r\n \ - \ \"20.195.72.32/27\",\r\n \"20.195.72.64/27\",\r\n \"\ - 20.195.72.128/26\",\r\n \"23.97.68.51/32\",\r\n \"23.97.74.21/32\"\ - ,\r\n \"23.97.78.163/32\",\r\n \"23.99.102.124/32\",\r\n\ - \ \"23.99.118.196/32\",\r\n \"52.175.33.150/32\",\r\n \ - \ \"191.234.2.139/32\",\r\n \"191.234.2.140/31\",\r\n \ - \ \"191.234.2.142/32\",\r\n \"207.46.139.82/32\",\r\n \ - \ \"207.46.140.180/32\",\r\n \"207.46.153.182/32\",\r\n \ - \ \"2603:1040:207::280/123\",\r\n \"2603:1040:207:1::200/121\"\ - ,\r\n \"2603:1040:207:400::/123\",\r\n \"2603:1040:207:401::/123\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"Sql.EastUS\"\ - ,\r\n \"id\": \"Sql.EastUS\",\r\n \"properties\": {\r\n \"\ - changeNumber\": \"2\",\r\n \"region\": \"eastus\",\r\n \"state\"\ - : \"GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\n \ - \ \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n ],\r\n\ - \ \"systemService\": \"AzureSQL\",\r\n \"addressPrefixes\":\ - \ [\r\n \"20.42.65.64/29\",\r\n \"20.42.73.0/29\",\r\n \ - \ \"20.62.132.160/27\",\r\n \"20.62.132.192/27\",\r\n \ - \ \"20.62.133.0/26\",\r\n \"23.96.89.109/32\",\r\n \ - \ \"23.96.106.191/32\",\r\n \"40.71.8.0/26\",\r\n \"40.71.8.192/26\"\ - ,\r\n \"40.71.9.0/26\",\r\n \"40.71.9.192/26\",\r\n \ - \ \"40.71.83.113/32\",\r\n \"40.71.196.33/32\",\r\n \ - \ \"40.71.211.227/32\",\r\n \"40.71.226.18/32\",\r\n \"\ - 40.76.2.172/32\",\r\n \"40.76.26.90/32\",\r\n \"40.76.42.44/32\"\ - ,\r\n \"40.76.65.222/32\",\r\n \"40.76.66.9/32\",\r\n \ - \ \"40.76.193.221/32\",\r\n \"40.76.209.171/32\",\r\n \ - \ \"40.76.219.185/32\",\r\n \"40.78.224.0/26\",\r\n \ - \ \"40.78.224.128/26\",\r\n \"40.78.225.0/26\",\r\n \"\ - 40.78.225.128/26\",\r\n \"40.79.152.0/26\",\r\n \"40.79.152.192/26\"\ - ,\r\n \"40.79.153.0/26\",\r\n \"40.79.153.192/26\",\r\n\ - \ \"40.114.40.118/32\",\r\n \"40.114.43.106/32\",\r\n \ - \ \"40.114.45.195/32\",\r\n \"40.114.46.128/32\",\r\n \ - \ \"40.114.46.212/32\",\r\n \"40.114.81.142/32\",\r\n \ - \ \"40.117.42.73/32\",\r\n \"40.117.44.71/32\",\r\n \"\ - 40.117.90.115/32\",\r\n \"40.117.97.189/32\",\r\n \"40.121.143.204/32\"\ - ,\r\n \"40.121.149.49/32\",\r\n \"40.121.154.241/32\",\r\ - \n \"40.121.158.30/32\",\r\n \"52.168.116.64/29\",\r\n \ - \ \"52.168.166.153/32\",\r\n \"52.168.169.124/32\",\r\n \ - \ \"52.168.183.223/32\",\r\n \"52.170.41.199/32\",\r\n \ - \ \"52.170.97.16/32\",\r\n \"52.170.98.29/32\",\r\n \ - \ \"52.179.16.95/32\",\r\n \"104.41.150.1/32\",\r\n \"\ - 104.41.152.74/32\",\r\n \"104.45.158.30/32\",\r\n \"137.135.109.63/32\"\ - ,\r\n \"191.237.20.112/32\",\r\n \"191.237.82.74/32\",\r\ - \n \"191.238.6.43/32\",\r\n \"191.238.6.44/31\",\r\n \ - \ \"191.238.6.46/32\",\r\n \"2603:1030:210::320/123\",\r\n\ - \ \"2603:1030:210::380/121\",\r\n \"2603:1030:210:400::/123\"\ - ,\r\n \"2603:1030:210:401::/123\",\r\n \"2603:1030:210:800::/123\"\ - ,\r\n \"2603:1030:210:801::/123\",\r\n \"2603:1030:210:c00::/123\"\ - ,\r\n \"2603:1030:210:c01::/123\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"Sql.EastUS2\",\r\n \"id\": \"Sql.EastUS2\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \ - \ \"region\": \"eastus2\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n\ - \ \"FW\"\r\n ],\r\n \"systemService\": \"AzureSQL\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.68.22.44/32\",\r\n \ - \ \"13.68.30.216/32\",\r\n \"13.68.87.133/32\",\r\n \ - \ \"20.62.58.128/25\",\r\n \"23.102.206.35/32\",\r\n \ - \ \"23.102.206.36/31\",\r\n \"40.70.144.0/26\",\r\n \"\ - 40.70.144.192/29\",\r\n \"40.70.145.0/26\",\r\n \"40.79.84.180/32\"\ - ,\r\n \"40.84.5.64/32\",\r\n \"40.84.54.249/32\",\r\n \ - \ \"52.167.104.0/26\",\r\n \"52.167.104.192/29\",\r\n \ - \ \"52.167.105.0/26\",\r\n \"52.167.117.226/32\",\r\n \ - \ \"52.177.185.181/32\",\r\n \"52.177.197.103/32\",\r\n \ - \ \"52.177.200.215/32\",\r\n \"52.179.157.248/32\",\r\n \ - \ \"52.179.165.160/32\",\r\n \"52.179.167.70/32\",\r\n \ - \ \"52.179.178.184/32\",\r\n \"52.184.192.175/32\",\r\n \ - \ \"52.184.231.0/32\",\r\n \"52.225.222.124/32\",\r\n \ - \ \"104.46.100.189/32\",\r\n \"104.46.108.148/32\",\r\n \ - \ \"104.208.149.0/26\",\r\n \"104.208.150.0/26\",\r\n \"\ - 104.208.150.192/29\",\r\n \"104.208.161.78/32\",\r\n \"\ - 104.208.163.201/32\",\r\n \"104.208.233.240/32\",\r\n \"\ - 104.208.238.55/32\",\r\n \"104.208.241.224/32\",\r\n \"\ - 104.209.186.94/32\",\r\n \"191.239.224.107/32\",\r\n \"\ - 191.239.224.108/31\",\r\n \"191.239.224.110/32\",\r\n \"\ - 2603:1030:40c::320/123\",\r\n \"2603:1030:40c::380/121\",\r\n \ - \ \"2603:1030:40c:400::/123\",\r\n \"2603:1030:40c:401::/123\"\ - ,\r\n \"2603:1030:40c:800::/123\",\r\n \"2603:1030:40c:801::/123\"\ - ,\r\n \"2603:1030:40c:c00::/123\",\r\n \"2603:1030:40c:c01::/123\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"Sql.EastUS2EUAP\"\ - ,\r\n \"id\": \"Sql.EastUS2EUAP\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"2\",\r\n \"region\": \"eastus2euap\",\r\n\ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"AzureSQL\",\r\n \"addressPrefixes\"\ - : [\r\n \"20.51.17.160/27\",\r\n \"20.51.17.192/27\",\r\n\ - \ \"20.51.20.0/26\",\r\n \"40.74.144.0/27\",\r\n \ - \ \"40.74.144.32/29\",\r\n \"40.74.145.0/27\",\r\n \"\ - 40.74.145.32/29\",\r\n \"40.75.32.0/27\",\r\n \"40.75.32.40/29\"\ - ,\r\n \"40.75.33.0/27\",\r\n \"40.75.33.32/29\",\r\n \ - \ \"52.138.88.0/27\",\r\n \"52.138.88.32/29\",\r\n \ - \ \"52.138.89.0/27\",\r\n \"52.138.89.32/29\",\r\n \"52.225.188.46/32\"\ - ,\r\n \"52.225.188.113/32\",\r\n \"2603:1030:40b:2::200/123\"\ - ,\r\n \"2603:1030:40b:2::280/121\",\r\n \"2603:1030:40b:402::/122\"\ - ,\r\n \"2603:1030:40b:403::/122\",\r\n \"2603:1030:40b:802::/122\"\ - ,\r\n \"2603:1030:40b:803::/122\",\r\n \"2603:1030:40b:c02::/122\"\ - ,\r\n \"2603:1030:40b:c03::/122\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"Sql.EastUS2Stage\",\r\n \"id\": \"\ - Sql.EastUS2Stage\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"1\",\r\n \"region\": \"eastus2\",\r\n \"state\": \"GA\"\ - ,\r\n \"networkFeatures\": [\r\n \"API\",\r\n \"\ - NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n ],\r\n \ - \ \"systemService\": \"AzureSQL\",\r\n \"addressPrefixes\": [\r\n \ - \ \"137.116.31.224/27\"\r\n ]\r\n }\r\n },\r\n {\r\ - \n \"name\": \"Sql.FranceCentral\",\r\n \"id\": \"Sql.FranceCentral\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \ - \ \"region\": \"centralfrance\",\r\n \"state\": \"GA\",\r\n \ - \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n\ - \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\"\ - : \"AzureSQL\",\r\n \"addressPrefixes\": [\r\n \"20.43.47.192/26\"\ - ,\r\n \"40.79.128.0/27\",\r\n \"40.79.128.32/29\",\r\n \ - \ \"40.79.129.0/27\",\r\n \"40.79.136.0/27\",\r\n \ - \ \"40.79.136.32/29\",\r\n \"40.79.137.0/27\",\r\n \"\ - 40.79.144.0/27\",\r\n \"40.79.144.32/29\",\r\n \"40.79.145.0/27\"\ - ,\r\n \"51.138.210.0/26\",\r\n \"2603:1020:805::320/123\"\ - ,\r\n \"2603:1020:805::380/121\",\r\n \"2603:1020:805:400::/123\"\ - ,\r\n \"2603:1020:805:401::/123\",\r\n \"2603:1020:805:800::/123\"\ - ,\r\n \"2603:1020:805:801::/123\",\r\n \"2603:1020:805:c00::/123\"\ - ,\r\n \"2603:1020:805:c01::/123\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"Sql.FranceSouth\",\r\n \"id\": \"\ - Sql.FranceSouth\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"2\",\r\n \"region\": \"southfrance\",\r\n \"state\": \"\ - GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\n \ - \ \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n ],\r\n \ - \ \"systemService\": \"AzureSQL\",\r\n \"addressPrefixes\": [\r\ - \n \"40.79.176.0/27\",\r\n \"40.79.176.40/29\",\r\n \ - \ \"40.79.177.0/27\",\r\n \"40.79.177.32/29\",\r\n \ - \ \"52.136.185.0/25\",\r\n \"2603:1020:905::280/123\",\r\n \ - \ \"2603:1020:905:1::200/121\",\r\n \"2603:1020:905:400::/123\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"Sql.GermanyNorth\"\ - ,\r\n \"id\": \"Sql.GermanyNorth\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"2\",\r\n \"region\": \"germanyn\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"AzureSQL\",\r\n \"addressPrefixes\"\ - : [\r\n \"51.116.54.96/27\",\r\n \"51.116.54.128/27\",\r\ - \n \"51.116.54.192/26\",\r\n \"51.116.56.0/27\",\r\n \ - \ \"51.116.57.0/27\",\r\n \"51.116.57.32/29\",\r\n \ - \ \"2603:1020:d04::280/123\",\r\n \"2603:1020:d04:1::200/121\",\r\ - \n \"2603:1020:d04:400::/123\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"Sql.GermanyWestCentral\",\r\n \"id\": \"\ - Sql.GermanyWestCentral\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"2\",\r\n \"region\": \"germanywc\",\r\n \"state\": \"GA\"\ - ,\r\n \"networkFeatures\": [\r\n \"API\",\r\n \"\ - NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n ],\r\n \ - \ \"systemService\": \"AzureSQL\",\r\n \"addressPrefixes\": [\r\n \ - \ \"51.116.149.32/27\",\r\n \"51.116.149.64/27\",\r\n \ - \ \"51.116.149.128/26\",\r\n \"51.116.152.0/27\",\r\n \ - \ \"51.116.152.32/29\",\r\n \"51.116.153.0/27\",\r\n \ - \ \"51.116.240.0/27\",\r\n \"51.116.240.32/29\",\r\n \"\ - 51.116.241.0/27\",\r\n \"51.116.248.0/27\",\r\n \"51.116.248.32/29\"\ - ,\r\n \"51.116.249.0/27\",\r\n \"2603:1020:c04::320/123\"\ - ,\r\n \"2603:1020:c04::380/121\",\r\n \"2603:1020:c04:400::/123\"\ - ,\r\n \"2603:1020:c04:401::/123\",\r\n \"2603:1020:c04:800::/123\"\ - ,\r\n \"2603:1020:c04:801::/123\",\r\n \"2603:1020:c04:c00::/123\"\ - ,\r\n \"2603:1020:c04:c01::/123\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"Sql.JapanEast\",\r\n \"id\": \"Sql.JapanEast\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \ - \ \"region\": \"japaneast\",\r\n \"state\": \"GA\",\r\n \"\ - networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n \ - \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\"\ - : \"AzureSQL\",\r\n \"addressPrefixes\": [\r\n \"13.78.61.196/32\"\ - ,\r\n \"13.78.104.0/27\",\r\n \"13.78.104.32/29\",\r\n \ - \ \"13.78.105.0/27\",\r\n \"13.78.121.203/32\",\r\n \ - \ \"20.191.165.160/27\",\r\n \"20.191.165.192/27\",\r\n \ - \ \"20.191.166.0/26\",\r\n \"23.102.69.95/32\",\r\n \ - \ \"23.102.71.13/32\",\r\n \"23.102.74.190/32\",\r\n \"\ - 40.79.184.0/27\",\r\n \"40.79.184.32/29\",\r\n \"40.79.185.0/27\"\ - ,\r\n \"40.79.192.0/27\",\r\n \"40.79.192.32/29\",\r\n \ - \ \"40.79.193.0/27\",\r\n \"52.185.152.149/32\",\r\n \ - \ \"52.243.32.19/32\",\r\n \"52.243.43.186/32\",\r\n \ - \ \"104.41.168.103/32\",\r\n \"104.41.169.34/32\",\r\n \ - \ \"191.237.240.43/32\",\r\n \"191.237.240.44/32\",\r\n \ - \ \"191.237.240.46/32\",\r\n \"2603:1040:407::320/123\",\r\n \ - \ \"2603:1040:407::380/121\",\r\n \"2603:1040:407:400::/123\"\ - ,\r\n \"2603:1040:407:401::/123\",\r\n \"2603:1040:407:800::/123\"\ - ,\r\n \"2603:1040:407:801::/123\",\r\n \"2603:1040:407:c00::/123\"\ - ,\r\n \"2603:1040:407:c01::/123\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"Sql.JapanWest\",\r\n \"id\": \"Sql.JapanWest\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \ - \ \"region\": \"japanwest\",\r\n \"state\": \"GA\",\r\n \"\ - networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n \ - \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\"\ - : \"AzureSQL\",\r\n \"addressPrefixes\": [\r\n \"20.189.225.160/27\"\ - ,\r\n \"20.189.225.192/27\",\r\n \"20.189.228.0/26\",\r\n\ - \ \"40.74.96.0/27\",\r\n \"40.74.96.32/29\",\r\n \ - \ \"40.74.97.0/27\",\r\n \"40.74.114.22/32\",\r\n \"40.74.115.153/32\"\ - ,\r\n \"40.74.135.185/32\",\r\n \"104.214.148.156/32\",\r\ - \n \"104.214.150.17/32\",\r\n \"191.238.68.11/32\",\r\n\ - \ \"191.238.68.12/31\",\r\n \"191.238.68.14/32\",\r\n \ - \ \"2603:1040:606::280/123\",\r\n \"2603:1040:606:1::200/121\"\ - ,\r\n \"2603:1040:606:400::/123\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"Sql.KoreaCentral\",\r\n \"id\": \"\ - Sql.KoreaCentral\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"2\",\r\n \"region\": \"koreacentral\",\r\n \"state\": \"\ - GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\n \ - \ \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n ],\r\n \ - \ \"systemService\": \"AzureSQL\",\r\n \"addressPrefixes\": [\r\ - \n \"20.44.24.0/27\",\r\n \"20.44.24.32/29\",\r\n \ - \ \"20.44.25.0/27\",\r\n \"20.194.64.0/27\",\r\n \"20.194.64.32/29\"\ - ,\r\n \"20.194.65.0/27\",\r\n \"20.194.73.64/26\",\r\n \ - \ \"20.194.73.128/26\",\r\n \"52.231.16.0/27\",\r\n \ - \ \"52.231.16.32/29\",\r\n \"52.231.17.0/27\",\r\n \"\ - 52.231.32.42/31\",\r\n \"52.231.39.56/32\",\r\n \"2603:1040:f05::320/123\"\ - ,\r\n \"2603:1040:f05::380/121\",\r\n \"2603:1040:f05:400::/123\"\ - ,\r\n \"2603:1040:f05:401::/123\",\r\n \"2603:1040:f05:800::/123\"\ - ,\r\n \"2603:1040:f05:801::/123\",\r\n \"2603:1040:f05:c00::/123\"\ - ,\r\n \"2603:1040:f05:c01::/123\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"Sql.KoreaSouth\",\r\n \"id\": \"Sql.KoreaSouth\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \ - \ \"region\": \"koreasouth\",\r\n \"state\": \"GA\",\r\n \"\ - networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n \ - \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\"\ - : \"AzureSQL\",\r\n \"addressPrefixes\": [\r\n \"52.147.112.160/27\"\ - ,\r\n \"52.231.144.0/27\",\r\n \"52.231.145.0/27\",\r\n\ - \ \"52.231.151.96/27\",\r\n \"52.231.200.86/31\",\r\n \ - \ \"52.231.206.133/32\",\r\n \"2603:1040:e05::/123\"\r\n \ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"Sql.NorthCentralUS\"\ - ,\r\n \"id\": \"Sql.NorthCentralUS\",\r\n \"properties\": {\r\n\ - \ \"changeNumber\": \"2\",\r\n \"region\": \"northcentralus\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureSQL\",\r\n \ - \ \"addressPrefixes\": [\r\n \"20.49.119.32/27\",\r\n \"\ - 20.49.119.64/27\",\r\n \"20.49.119.128/26\",\r\n \"23.96.178.199/32\"\ - ,\r\n \"23.96.202.229/32\",\r\n \"23.96.204.249/32\",\r\n\ - \ \"23.96.205.215/32\",\r\n \"23.96.214.69/32\",\r\n \ - \ \"23.96.243.243/32\",\r\n \"23.96.247.75/32\",\r\n \ - \ \"23.96.249.37/32\",\r\n \"23.96.250.178/32\",\r\n \ - \ \"23.98.55.75/32\",\r\n \"23.101.165.167/32\",\r\n \"\ - 23.101.167.45/32\",\r\n \"23.101.170.98/32\",\r\n \"52.162.104.0/26\"\ - ,\r\n \"52.162.105.0/26\",\r\n \"52.162.105.192/29\",\r\n\ - \ \"52.162.125.1/32\",\r\n \"52.162.241.250/32\",\r\n \ - \ \"65.52.208.91/32\",\r\n \"65.52.213.108/32\",\r\n \ - \ \"65.52.214.127/32\",\r\n \"65.52.218.82/32\",\r\n \ - \ \"157.55.208.150/32\",\r\n \"168.62.232.188/32\",\r\n \ - \ \"168.62.235.49/32\",\r\n \"168.62.235.241/32\",\r\n \ - \ \"168.62.239.29/32\",\r\n \"191.236.148.44/32\",\r\n \"\ - 191.236.153.120/32\",\r\n \"2603:1030:608::280/123\",\r\n \ - \ \"2603:1030:608:1::200/121\",\r\n \"2603:1030:608:400::/123\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"Sql.NorthCentralUSStage\"\ - ,\r\n \"id\": \"Sql.NorthCentralUSStage\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"1\",\r\n \"region\": \"northcentralus\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureSQL\",\r\n \ - \ \"addressPrefixes\": [\r\n \"168.62.115.112/28\"\r\n ]\r\ - \n }\r\n },\r\n {\r\n \"name\": \"Sql.NorthEurope\",\r\n \ - \ \"id\": \"Sql.NorthEurope\",\r\n \"properties\": {\r\n \"\ - changeNumber\": \"2\",\r\n \"region\": \"northeurope\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"API\"\ - ,\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n \ - \ ],\r\n \"systemService\": \"AzureSQL\",\r\n \"addressPrefixes\"\ - : [\r\n \"13.69.224.0/26\",\r\n \"13.69.224.192/26\",\r\n\ - \ \"13.69.225.0/26\",\r\n \"13.69.225.192/26\",\r\n \ - \ \"13.69.233.136/29\",\r\n \"13.74.104.64/26\",\r\n \ - \ \"13.74.104.128/26\",\r\n \"13.74.105.0/26\",\r\n \"\ - 13.74.105.128/26\",\r\n \"13.74.105.192/29\",\r\n \"23.102.16.130/32\"\ - ,\r\n \"23.102.23.219/32\",\r\n \"23.102.25.199/32\",\r\n\ - \ \"23.102.52.155/32\",\r\n \"23.102.57.142/32\",\r\n \ - \ \"23.102.62.171/32\",\r\n \"40.85.102.50/32\",\r\n \ - \ \"40.113.14.53/32\",\r\n \"40.113.16.190/32\",\r\n \ - \ \"40.113.17.148/32\",\r\n \"40.113.20.38/32\",\r\n \"\ - 40.113.93.91/32\",\r\n \"40.127.128.10/32\",\r\n \"40.127.135.67/32\"\ - ,\r\n \"40.127.137.209/32\",\r\n \"40.127.141.194/32\",\r\ - \n \"40.127.177.139/32\",\r\n \"40.127.190.50/32\",\r\n\ - \ \"52.138.224.0/26\",\r\n \"52.138.224.128/26\",\r\n \ - \ \"52.138.225.0/26\",\r\n \"52.138.225.128/26\",\r\n \ - \ \"52.138.229.72/29\",\r\n \"52.146.133.128/25\",\r\n \ - \ \"65.52.225.245/32\",\r\n \"65.52.226.209/32\",\r\n \ - \ \"104.41.202.30/32\",\r\n \"104.41.205.195/32\",\r\n \ - \ \"104.41.208.104/32\",\r\n \"104.41.210.68/32\",\r\n \ - \ \"104.41.211.98/32\",\r\n \"137.135.186.126/32\",\r\n \ - \ \"137.135.189.158/32\",\r\n \"137.135.205.85/32\",\r\n \ - \ \"137.135.213.9/32\",\r\n \"138.91.48.99/32\",\r\n \"\ - 138.91.58.227/32\",\r\n \"191.235.170.58/32\",\r\n \"191.235.193.75/32\"\ - ,\r\n \"191.235.193.76/31\",\r\n \"191.235.193.78/32\",\r\ - \n \"191.235.193.139/32\",\r\n \"191.235.193.140/31\",\r\ - \n \"191.235.209.79/32\",\r\n \"191.237.219.202/32\",\r\n\ - \ \"2603:1020:5::320/123\",\r\n \"2603:1020:5::380/121\"\ - ,\r\n \"2603:1020:5:400::/123\",\r\n \"2603:1020:5:401::/123\"\ - ,\r\n \"2603:1020:5:800::/123\",\r\n \"2603:1020:5:801::/123\"\ - ,\r\n \"2603:1020:5:c00::/123\",\r\n \"2603:1020:5:c01::/123\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"Sql.NorwayEast\"\ - ,\r\n \"id\": \"Sql.NorwayEast\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"2\",\r\n \"region\": \"norwaye\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"\ - API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n\ - \ ],\r\n \"systemService\": \"AzureSQL\",\r\n \"addressPrefixes\"\ - : [\r\n \"51.120.96.0/27\",\r\n \"51.120.96.32/29\",\r\n\ - \ \"51.120.97.0/27\",\r\n \"51.120.104.0/27\",\r\n \ - \ \"51.120.104.32/29\",\r\n \"51.120.105.0/27\",\r\n \ - \ \"51.120.208.0/27\",\r\n \"51.120.208.32/29\",\r\n \"\ - 51.120.209.0/27\",\r\n \"51.120.232.192/26\",\r\n \"51.120.233.0/26\"\ - ,\r\n \"2603:1020:e04::320/123\",\r\n \"2603:1020:e04::380/121\"\ - ,\r\n \"2603:1020:e04:400::/123\",\r\n \"2603:1020:e04:401::/123\"\ - ,\r\n \"2603:1020:e04:800::/123\",\r\n \"2603:1020:e04:801::/123\"\ - ,\r\n \"2603:1020:e04:c00::/123\",\r\n \"2603:1020:e04:c01::/123\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"Sql.NorwayWest\"\ - ,\r\n \"id\": \"Sql.NorwayWest\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"2\",\r\n \"region\": \"norwayw\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"\ - API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n\ - \ ],\r\n \"systemService\": \"AzureSQL\",\r\n \"addressPrefixes\"\ - : [\r\n \"51.13.136.224/27\",\r\n \"51.13.137.0/27\",\r\n\ - \ \"51.13.137.64/26\",\r\n \"51.120.216.0/27\",\r\n \ - \ \"51.120.217.0/27\",\r\n \"51.120.217.32/29\",\r\n \ - \ \"2603:1020:f04::280/123\",\r\n \"2603:1020:f04:1::200/121\"\ - ,\r\n \"2603:1020:f04:400::/123\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"Sql.SouthAfricaNorth\",\r\n \"id\"\ - : \"Sql.SouthAfricaNorth\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"2\",\r\n \"region\": \"southafricanorth\",\r\n \"state\"\ - : \"GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\n \ - \ \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n ],\r\n\ - \ \"systemService\": \"AzureSQL\",\r\n \"addressPrefixes\":\ - \ [\r\n \"102.37.160.0/27\",\r\n \"102.37.160.64/26\",\r\ - \n \"102.133.120.0/27\",\r\n \"102.133.120.32/29\",\r\n\ - \ \"102.133.121.0/27\",\r\n \"102.133.152.0/27\",\r\n \ - \ \"102.133.152.32/29\",\r\n \"102.133.153.0/27\",\r\n \ - \ \"102.133.221.224/27\",\r\n \"102.133.248.0/27\",\r\n \ - \ \"102.133.248.32/29\",\r\n \"102.133.249.0/27\",\r\n \ - \ \"2603:1000:104::640/123\",\r\n \"2603:1000:104::680/121\"\ - ,\r\n \"2603:1000:104:400::/123\",\r\n \"2603:1000:104:401::/123\"\ - ,\r\n \"2603:1000:104:800::/123\",\r\n \"2603:1000:104:801::/123\"\ - ,\r\n \"2603:1000:104:c00::/123\",\r\n \"2603:1000:104:c01::/123\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"Sql.SouthAfricaWest\"\ - ,\r\n \"id\": \"Sql.SouthAfricaWest\",\r\n \"properties\": {\r\n\ - \ \"changeNumber\": \"2\",\r\n \"region\": \"southafricawest\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"AzureSQL\",\r\n \"addressPrefixes\": [\r\n \"102.37.80.96/27\"\ - ,\r\n \"102.37.80.128/27\",\r\n \"102.37.80.192/26\",\r\n\ - \ \"102.133.24.0/27\",\r\n \"102.133.25.0/27\",\r\n \ - \ \"102.133.25.32/29\",\r\n \"2603:1000:4::280/123\",\r\n \ - \ \"2603:1000:4:1::200/121\",\r\n \"2603:1000:4:400::/123\"\ - ,\r\n \"2603:1000:4:401::/123\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"Sql.SouthCentralUS\",\r\n \"id\": \"Sql.SouthCentralUS\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \ - \ \"region\": \"southcentralus\",\r\n \"state\": \"GA\",\r\n \ - \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n\ - \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\"\ - : \"AzureSQL\",\r\n \"addressPrefixes\": [\r\n \"13.65.31.249/32\"\ - ,\r\n \"13.65.39.207/32\",\r\n \"13.65.85.183/32\",\r\n\ - \ \"13.65.200.105/32\",\r\n \"13.65.209.243/32\",\r\n \ - \ \"13.65.253.67/32\",\r\n \"13.66.60.72/32\",\r\n \ - \ \"13.66.60.111/32\",\r\n \"13.66.62.124/32\",\r\n \"\ - 13.84.223.76/32\",\r\n \"13.85.65.48/32\",\r\n \"13.85.68.115/32\"\ - ,\r\n \"13.85.69.107/32\",\r\n \"20.45.120.0/27\",\r\n \ - \ \"20.45.121.0/27\",\r\n \"20.45.121.32/29\",\r\n \ - \ \"20.49.88.0/27\",\r\n \"20.49.88.32/29\",\r\n \"20.49.89.0/27\"\ - ,\r\n \"20.49.89.32/29\",\r\n \"20.65.132.160/27\",\r\n\ - \ \"20.65.132.192/27\",\r\n \"20.65.133.0/26\",\r\n \ - \ \"23.98.162.75/32\",\r\n \"23.98.162.76/31\",\r\n \ - \ \"23.98.162.78/32\",\r\n \"23.98.170.75/32\",\r\n \"\ - 23.98.170.76/31\",\r\n \"23.102.172.251/32\",\r\n \"23.102.173.220/32\"\ - ,\r\n \"23.102.174.146/32\",\r\n \"23.102.179.187/32\",\r\ - \n \"40.74.254.156/32\",\r\n \"40.84.153.95/32\",\r\n \ - \ \"40.84.155.210/32\",\r\n \"40.84.156.165/32\",\r\n \ - \ \"40.84.191.1/32\",\r\n \"40.84.193.16/32\",\r\n \ - \ \"40.84.195.189/32\",\r\n \"40.84.231.203/32\",\r\n \"\ - 40.124.8.76/32\",\r\n \"40.124.64.136/29\",\r\n \"52.171.56.10/32\"\ - ,\r\n \"52.183.250.62/32\",\r\n \"104.214.16.0/26\",\r\n\ - \ \"104.214.16.192/26\",\r\n \"104.214.17.0/26\",\r\n \ - \ \"104.214.17.192/26\",\r\n \"104.214.67.25/32\",\r\n \ - \ \"104.214.73.137/32\",\r\n \"104.214.78.242/32\",\r\n \ - \ \"191.238.224.203/32\",\r\n \"191.238.230.40/32\",\r\n \ - \ \"2603:1030:807::320/123\",\r\n \"2603:1030:807::380/121\"\ - ,\r\n \"2603:1030:807:400::/123\",\r\n \"2603:1030:807:401::/123\"\ - ,\r\n \"2603:1030:807:800::/123\",\r\n \"2603:1030:807:801::/123\"\ - ,\r\n \"2603:1030:807:c00::/123\",\r\n \"2603:1030:807:c01::/123\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"Sql.SoutheastAsia\"\ - ,\r\n \"id\": \"Sql.SoutheastAsia\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"2\",\r\n \"region\": \"southeastasia\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureSQL\",\r\n \ - \ \"addressPrefixes\": [\r\n \"13.67.16.0/26\",\r\n \"13.67.16.192/29\"\ - ,\r\n \"13.67.17.0/26\",\r\n \"13.67.48.255/32\",\r\n \ - \ \"13.67.56.134/32\",\r\n \"13.67.59.217/32\",\r\n \ - \ \"13.76.90.3/32\",\r\n \"13.76.247.54/32\",\r\n \"\ - 20.195.65.32/27\",\r\n \"20.195.65.64/27\",\r\n \"20.195.65.128/26\"\ - ,\r\n \"23.98.80.0/26\",\r\n \"23.98.80.192/29\",\r\n \ - \ \"23.98.81.0/26\",\r\n \"23.100.117.95/32\",\r\n \ - \ \"23.100.119.70/32\",\r\n \"23.101.18.228/32\",\r\n \ - \ \"40.78.232.0/26\",\r\n \"40.78.232.192/29\",\r\n \"40.78.233.0/26\"\ - ,\r\n \"52.187.15.214/32\",\r\n \"52.187.76.130/32\",\r\n\ - \ \"104.43.10.74/32\",\r\n \"104.43.15.0/32\",\r\n \ - \ \"104.215.195.14/32\",\r\n \"104.215.196.52/32\",\r\n \ - \ \"111.221.106.161/32\",\r\n \"137.116.129.110/32\",\r\n \ - \ \"168.63.175.68/32\",\r\n \"2603:1040:5::420/123\",\r\n \ - \ \"2603:1040:5::480/121\",\r\n \"2603:1040:5:400::/123\"\ - ,\r\n \"2603:1040:5:401::/123\",\r\n \"2603:1040:5:800::/123\"\ - ,\r\n \"2603:1040:5:801::/123\",\r\n \"2603:1040:5:c00::/123\"\ - ,\r\n \"2603:1040:5:c01::/123\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"Sql.SouthIndia\",\r\n \"id\": \"Sql.SouthIndia\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \ - \ \"region\": \"southindia\",\r\n \"state\": \"GA\",\r\n \"\ - networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n \ - \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\"\ - : \"AzureSQL\",\r\n \"addressPrefixes\": [\r\n \"40.78.192.0/27\"\ - ,\r\n \"40.78.192.32/29\",\r\n \"40.78.193.0/27\",\r\n \ - \ \"40.78.193.32/29\",\r\n \"52.172.24.47/32\",\r\n \ - \ \"52.172.43.208/32\",\r\n \"52.172.113.96/27\",\r\n \ - \ \"52.172.113.128/27\",\r\n \"52.172.113.192/26\",\r\n \ - \ \"104.211.224.146/31\",\r\n \"2603:1040:c06::280/123\",\r\n \ - \ \"2603:1040:c06:1::200/121\",\r\n \"2603:1040:c06:400::/123\"\ - ,\r\n \"2603:1040:c06:401::/123\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"Sql.SwitzerlandNorth\",\r\n \"id\"\ - : \"Sql.SwitzerlandNorth\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"2\",\r\n \"region\": \"switzerlandn\",\r\n \"state\": \"\ - GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\n \ - \ \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n ],\r\n \ - \ \"systemService\": \"AzureSQL\",\r\n \"addressPrefixes\": [\r\ - \n \"51.107.56.0/27\",\r\n \"51.107.56.32/29\",\r\n \ - \ \"51.107.57.0/27\",\r\n \"51.107.242.32/27\",\r\n \ - \ \"51.107.242.64/27\",\r\n \"51.107.242.128/26\",\r\n \ - \ \"2603:1020:a04::320/123\",\r\n \"2603:1020:a04::380/121\",\r\n\ - \ \"2603:1020:a04:400::/123\",\r\n \"2603:1020:a04:401::/123\"\ - ,\r\n \"2603:1020:a04:800::/123\",\r\n \"2603:1020:a04:801::/123\"\ - ,\r\n \"2603:1020:a04:c00::/123\",\r\n \"2603:1020:a04:c01::/123\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"Sql.SwitzerlandWest\"\ - ,\r\n \"id\": \"Sql.SwitzerlandWest\",\r\n \"properties\": {\r\n\ - \ \"changeNumber\": \"2\",\r\n \"region\": \"switzerlandw\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureSQL\",\r\n \ - \ \"addressPrefixes\": [\r\n \"51.107.152.0/27\",\r\n \"\ - 51.107.153.0/27\",\r\n \"51.107.153.32/29\",\r\n \"51.107.250.64/26\"\ - ,\r\n \"51.107.250.128/26\",\r\n \"2603:1020:b04::280/123\"\ - ,\r\n \"2603:1020:b04:1::200/121\",\r\n \"2603:1020:b04:400::/123\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"Sql.UAECentral\"\ - ,\r\n \"id\": \"Sql.UAECentral\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"2\",\r\n \"region\": \"uaecentral\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"AzureSQL\",\r\n \"addressPrefixes\"\ - : [\r\n \"20.37.71.64/26\",\r\n \"20.37.71.128/26\",\r\n\ - \ \"20.37.72.64/27\",\r\n \"20.37.72.96/29\",\r\n \ - \ \"20.37.73.64/27\",\r\n \"20.37.73.96/29\",\r\n \"\ - 2603:1040:b04::280/123\",\r\n \"2603:1040:b04:1::200/121\",\r\n \ - \ \"2603:1040:b04:400::/123\"\r\n ]\r\n }\r\n },\r\n\ - \ {\r\n \"name\": \"Sql.UAENorth\",\r\n \"id\": \"Sql.UAENorth\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \ - \ \"region\": \"uaenorth\",\r\n \"state\": \"GA\",\r\n \"\ - networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n \ - \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\"\ - : \"AzureSQL\",\r\n \"addressPrefixes\": [\r\n \"20.38.143.64/26\"\ - ,\r\n \"20.38.143.128/26\",\r\n \"20.38.152.24/29\",\r\n\ - \ \"40.120.72.0/27\",\r\n \"40.120.72.32/29\",\r\n \ - \ \"40.120.73.0/27\",\r\n \"65.52.248.0/27\",\r\n \"\ - 65.52.248.32/29\",\r\n \"65.52.249.0/27\",\r\n \"2603:1040:904::320/123\"\ - ,\r\n \"2603:1040:904::380/121\",\r\n \"2603:1040:904:400::/123\"\ - ,\r\n \"2603:1040:904:401::/123\",\r\n \"2603:1040:904:800::/123\"\ - ,\r\n \"2603:1040:904:801::/123\",\r\n \"2603:1040:904:c00::/123\"\ - ,\r\n \"2603:1040:904:c01::/123\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"Sql.UKNorth\",\r\n \"id\": \"Sql.UKNorth\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n \ - \ \"region\": \"uknorth\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\"\r\n ],\r\n \"systemService\": \"AzureSQL\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.87.97.210/32\",\r\n\ - \ \"13.87.97.228/32\",\r\n \"13.87.97.237/32\",\r\n \ - \ \"13.87.120.0/27\",\r\n \"13.87.121.0/27\",\r\n \"\ - 51.142.211.129/32\"\r\n ]\r\n }\r\n },\r\n {\r\n \"\ - name\": \"Sql.UKSouth\",\r\n \"id\": \"Sql.UKSouth\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"uksouth\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureSQL\",\r\n \ - \ \"addressPrefixes\": [\r\n \"51.105.64.0/27\",\r\n \"\ - 51.105.64.32/29\",\r\n \"51.105.65.0/27\",\r\n \"51.105.72.0/27\"\ - ,\r\n \"51.105.72.32/29\",\r\n \"51.105.73.0/27\",\r\n \ - \ \"51.140.77.9/32\",\r\n \"51.140.114.26/32\",\r\n \ - \ \"51.140.115.150/32\",\r\n \"51.140.144.0/27\",\r\n \ - \ \"51.140.144.32/29\",\r\n \"51.140.145.0/27\",\r\n \"\ - 51.140.180.9/32\",\r\n \"51.140.183.238/32\",\r\n \"51.140.184.11/32\"\ - ,\r\n \"51.140.184.12/32\",\r\n \"51.143.209.224/27\",\r\ - \n \"51.143.212.0/27\",\r\n \"51.143.212.64/26\",\r\n \ - \ \"2603:1020:705::320/123\",\r\n \"2603:1020:705::380/121\"\ - ,\r\n \"2603:1020:705:400::/123\",\r\n \"2603:1020:705:401::/123\"\ - ,\r\n \"2603:1020:705:800::/123\",\r\n \"2603:1020:705:801::/123\"\ - ,\r\n \"2603:1020:705:c00::/123\",\r\n \"2603:1020:705:c01::/123\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"Sql.UKWest\"\ - ,\r\n \"id\": \"Sql.UKWest\",\r\n \"properties\": {\r\n \"\ - changeNumber\": \"2\",\r\n \"region\": \"ukwest\",\r\n \"state\"\ - : \"GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\n \ - \ \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n ],\r\n\ - \ \"systemService\": \"AzureSQL\",\r\n \"addressPrefixes\":\ - \ [\r\n \"20.58.66.128/25\",\r\n \"51.140.208.64/27\",\r\ - \n \"51.140.208.96/29\",\r\n \"51.140.209.0/27\",\r\n \ - \ \"51.140.209.32/29\",\r\n \"51.141.8.11/32\",\r\n \ - \ \"51.141.8.12/32\",\r\n \"51.141.15.53/32\",\r\n \"\ - 51.141.25.212/32\",\r\n \"2603:1020:605::280/123\",\r\n \ - \ \"2603:1020:605:1::200/121\",\r\n \"2603:1020:605:400::/123\"\r\ - \n ]\r\n }\r\n },\r\n {\r\n \"name\": \"Sql.WestCentralUS\"\ - ,\r\n \"id\": \"Sql.WestCentralUS\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"2\",\r\n \"region\": \"westcentralus\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureSQL\",\r\n \ - \ \"addressPrefixes\": [\r\n \"13.71.192.0/27\",\r\n \"\ - 13.71.193.0/27\",\r\n \"13.71.193.32/29\",\r\n \"13.78.144.57/32\"\ - ,\r\n \"13.78.145.25/32\",\r\n \"13.78.148.71/32\",\r\n\ - \ \"13.78.151.189/32\",\r\n \"13.78.151.207/32\",\r\n \ - \ \"13.78.178.116/32\",\r\n \"13.78.178.151/32\",\r\n \ - \ \"13.78.248.32/27\",\r\n \"20.69.0.32/27\",\r\n \"\ - 20.69.0.64/27\",\r\n \"20.69.0.128/26\",\r\n \"52.161.15.204/32\"\ - ,\r\n \"52.161.100.158/32\",\r\n \"52.161.105.228/32\",\r\ - \n \"52.161.128.32/27\",\r\n \"2603:1030:b04::280/123\"\ - ,\r\n \"2603:1030:b04:1::200/121\",\r\n \"2603:1030:b04:400::/123\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"Sql.WestEurope\"\ - ,\r\n \"id\": \"Sql.WestEurope\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"2\",\r\n \"region\": \"westeurope\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"AzureSQL\",\r\n \"addressPrefixes\"\ - : [\r\n \"13.69.104.0/26\",\r\n \"13.69.104.192/26\",\r\n\ - \ \"13.69.105.0/26\",\r\n \"13.69.105.192/26\",\r\n \ - \ \"13.69.112.168/29\",\r\n \"20.61.99.192/26\",\r\n \ - \ \"20.61.102.0/26\",\r\n \"23.97.167.46/32\",\r\n \"\ - 23.97.169.19/32\",\r\n \"23.97.219.82/32\",\r\n \"23.97.221.176/32\"\ - ,\r\n \"23.101.64.10/32\",\r\n \"40.68.37.158/32\",\r\n\ - \ \"40.68.215.206/32\",\r\n \"40.68.220.16/32\",\r\n \ - \ \"40.74.51.145/32\",\r\n \"40.74.53.36/32\",\r\n \ - \ \"40.74.60.91/32\",\r\n \"40.114.240.125/32\",\r\n \"\ - 40.114.240.162/32\",\r\n \"40.115.37.61/32\",\r\n \"40.115.51.118/32\"\ - ,\r\n \"40.115.52.141/32\",\r\n \"40.115.53.255/32\",\r\n\ - \ \"40.115.61.208/32\",\r\n \"40.118.12.208/32\",\r\n \ - \ \"52.166.76.0/32\",\r\n \"52.166.131.195/32\",\r\n \ - \ \"52.236.184.0/27\",\r\n \"52.236.184.32/29\",\r\n \ - \ \"52.236.184.128/25\",\r\n \"52.236.185.0/27\",\r\n \"\ - 52.236.185.128/25\",\r\n \"104.40.155.247/32\",\r\n \"104.40.168.64/26\"\ - ,\r\n \"104.40.168.192/26\",\r\n \"104.40.169.0/27\",\r\n\ - \ \"104.40.169.32/29\",\r\n \"104.40.169.128/25\",\r\n \ - \ \"104.40.180.164/32\",\r\n \"104.40.220.28/32\",\r\n \ - \ \"104.40.230.18/32\",\r\n \"104.40.232.54/32\",\r\n \ - \ \"104.40.237.111/32\",\r\n \"104.45.11.99/32\",\r\n \ - \ \"104.45.14.115/32\",\r\n \"104.46.38.143/32\",\r\n \ - \ \"104.46.40.24/32\",\r\n \"104.47.157.97/32\",\r\n \"\ - 137.116.203.91/32\",\r\n \"168.63.13.214/32\",\r\n \"168.63.98.91/32\"\ - ,\r\n \"191.233.69.227/32\",\r\n \"191.233.90.117/32\",\r\ - \n \"191.237.232.75/32\",\r\n \"191.237.232.76/31\",\r\n\ - \ \"191.237.232.78/32\",\r\n \"191.237.232.235/32\",\r\n\ - \ \"191.237.232.236/31\",\r\n \"2603:1020:206::320/123\"\ - ,\r\n \"2603:1020:206::380/121\",\r\n \"2603:1020:206:400::/123\"\ - ,\r\n \"2603:1020:206:401::/123\",\r\n \"2603:1020:206:800::/123\"\ - ,\r\n \"2603:1020:206:801::/123\",\r\n \"2603:1020:206:c00::/123\"\ - ,\r\n \"2603:1020:206:c01::/123\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"Sql.WestIndia\",\r\n \"id\": \"Sql.WestIndia\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \ - \ \"region\": \"westindia\",\r\n \"state\": \"GA\",\r\n \"\ - networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n \ - \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\"\ - : \"AzureSQL\",\r\n \"addressPrefixes\": [\r\n \"52.136.53.160/27\"\ - ,\r\n \"52.136.53.192/27\",\r\n \"104.211.144.0/27\",\r\n\ - \ \"104.211.144.32/29\",\r\n \"104.211.145.0/27\",\r\n \ - \ \"104.211.145.32/29\",\r\n \"104.211.160.80/31\",\r\n \ - \ \"104.211.185.58/32\",\r\n \"104.211.190.46/32\",\r\n \ - \ \"2603:1040:806::280/123\",\r\n \"2603:1040:806:1::200/121\"\ - ,\r\n \"2603:1040:806:400::/123\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"Sql.WestUS\",\r\n \"id\": \"Sql.WestUS\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \ - \ \"region\": \"westus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n\ - \ \"FW\"\r\n ],\r\n \"systemService\": \"AzureSQL\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.86.216.0/25\",\r\n \ - \ \"13.86.216.128/26\",\r\n \"13.86.216.192/27\",\r\n \ - \ \"13.86.217.0/25\",\r\n \"13.86.217.128/26\",\r\n \ - \ \"13.86.217.192/27\",\r\n \"13.86.217.224/29\",\r\n \ - \ \"13.88.14.200/32\",\r\n \"13.88.29.70/32\",\r\n \"13.91.4.219/32\"\ - ,\r\n \"13.91.6.136/32\",\r\n \"13.91.41.153/32\",\r\n \ - \ \"13.91.44.56/32\",\r\n \"13.91.46.83/32\",\r\n \ - \ \"13.91.47.72/32\",\r\n \"13.93.165.251/32\",\r\n \"\ - 13.93.237.158/32\",\r\n \"20.66.3.64/26\",\r\n \"20.66.3.128/26\"\ - ,\r\n \"23.99.4.210/32\",\r\n \"23.99.4.248/32\",\r\n \ - \ \"23.99.10.185/32\",\r\n \"23.99.34.75/32\",\r\n \ - \ \"23.99.34.76/31\",\r\n \"23.99.34.78/32\",\r\n \"23.99.37.235/32\"\ - ,\r\n \"23.99.37.236/32\",\r\n \"23.99.57.14/32\",\r\n \ - \ \"23.99.80.243/32\",\r\n \"23.99.89.212/32\",\r\n \ - \ \"23.99.90.75/32\",\r\n \"23.99.91.130/32\",\r\n \"\ - 40.78.16.122/32\",\r\n \"40.78.23.252/32\",\r\n \"40.78.31.250/32\"\ - ,\r\n \"40.78.57.109/32\",\r\n \"40.78.101.91/32\",\r\n\ - \ \"40.78.110.18/32\",\r\n \"40.78.111.189/32\",\r\n \ - \ \"40.83.178.165/32\",\r\n \"40.83.186.249/32\",\r\n \ - \ \"40.112.139.250/32\",\r\n \"40.112.240.0/27\",\r\n \ - \ \"40.112.246.0/27\",\r\n \"40.118.129.167/32\",\r\n \ - \ \"40.118.170.1/32\",\r\n \"40.118.209.206/32\",\r\n \"\ - 40.118.244.227/32\",\r\n \"40.118.249.123/32\",\r\n \"40.118.250.19/32\"\ - ,\r\n \"104.40.28.188/32\",\r\n \"104.40.49.103/32\",\r\n\ - \ \"104.40.54.130/32\",\r\n \"104.40.82.151/32\",\r\n \ - \ \"104.42.120.235/32\",\r\n \"104.42.127.95/32\",\r\n \ - \ \"104.42.136.93/32\",\r\n \"104.42.188.130/32\",\r\n \ - \ \"104.42.192.190/32\",\r\n \"104.42.199.221/32\",\r\n \ - \ \"104.42.231.253/32\",\r\n \"104.42.237.198/32\",\r\n \ - \ \"104.42.238.205/32\",\r\n \"104.210.32.128/32\",\r\n \ - \ \"137.135.51.212/32\",\r\n \"138.91.145.12/32\",\r\n \ - \ \"138.91.160.189/32\",\r\n \"138.91.240.14/32\",\r\n \ - \ \"138.91.246.31/32\",\r\n \"138.91.247.51/32\",\r\n \ - \ \"138.91.251.139/32\",\r\n \"191.236.119.31/32\",\r\n \ - \ \"191.239.12.154/32\",\r\n \"2603:1030:a07::280/123\",\r\n \ - \ \"2603:1030:a07:1::200/121\",\r\n \"2603:1030:a07:400::/123\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"Sql.WestUS2\"\ - ,\r\n \"id\": \"Sql.WestUS2\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"2\",\r\n \"region\": \"westus2\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"API\"\ - ,\r\n \"NSG\"\r\n ],\r\n \"systemService\": \"AzureSQL\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.66.136.0/26\",\r\n \ - \ \"13.66.136.192/29\",\r\n \"13.66.137.0/26\",\r\n \ - \ \"13.66.226.202/32\",\r\n \"13.66.229.222/32\",\r\n \ - \ \"13.66.230.18/31\",\r\n \"13.66.230.60/32\",\r\n \"\ - 13.66.230.64/32\",\r\n \"13.66.230.103/32\",\r\n \"20.51.9.128/25\"\ - ,\r\n \"40.78.240.0/26\",\r\n \"40.78.240.192/29\",\r\n\ - \ \"40.78.241.0/26\",\r\n \"40.78.248.0/26\",\r\n \ - \ \"40.78.248.192/29\",\r\n \"40.78.249.0/26\",\r\n \"\ - 52.191.144.64/26\",\r\n \"52.191.152.64/26\",\r\n \"52.191.172.187/32\"\ - ,\r\n \"52.191.174.114/32\",\r\n \"52.229.17.93/32\",\r\n\ - \ \"52.246.251.248/32\",\r\n \"2603:1030:c06:2::200/123\"\ - ,\r\n \"2603:1030:c06:2::280/121\",\r\n \"2603:1030:c06:401::/123\"\ - ,\r\n \"2603:1030:c06:402::/123\",\r\n \"2603:1030:c06:800::/123\"\ - ,\r\n \"2603:1030:c06:801::/123\",\r\n \"2603:1030:c06:c00::/123\"\ - ,\r\n \"2603:1030:c06:c01::/123\"\r\n ]\r\n }\r\n \ - \ },\r\n {\r\n \"name\": \"SqlManagement\",\r\n \"id\": \"SqlManagement\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \ - \ \"region\": \"\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n\ - \ \"FW\"\r\n ],\r\n \"systemService\": \"SqlManagement\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.64.155.40/32\",\r\n\ - \ \"13.66.140.96/27\",\r\n \"13.66.141.192/27\",\r\n \ - \ \"13.67.8.192/27\",\r\n \"13.67.10.32/27\",\r\n \ - \ \"13.69.64.96/27\",\r\n \"13.69.67.0/27\",\r\n \"13.69.106.96/27\"\ - ,\r\n \"13.69.107.32/27\",\r\n \"13.69.227.96/27\",\r\n\ - \ \"13.69.229.192/27\",\r\n \"13.70.72.160/27\",\r\n \ - \ \"13.70.73.224/27\",\r\n \"13.71.119.167/32\",\r\n \ - \ \"13.71.123.234/32\",\r\n \"13.71.170.160/27\",\r\n \ - \ \"13.71.173.96/27\",\r\n \"13.71.195.0/27\",\r\n \"13.71.196.96/27\"\ - ,\r\n \"13.73.240.192/27\",\r\n \"13.73.242.0/27\",\r\n\ - \ \"13.73.249.176/28\",\r\n \"13.74.107.96/27\",\r\n \ - \ \"13.74.107.224/27\",\r\n \"13.75.36.32/27\",\r\n \ - \ \"13.75.39.32/27\",\r\n \"13.77.50.192/27\",\r\n \"\ - 13.77.53.0/27\",\r\n \"13.78.106.224/27\",\r\n \"13.78.109.64/27\"\ - ,\r\n \"13.78.181.246/32\",\r\n \"13.78.182.82/32\",\r\n\ - \ \"13.84.52.76/32\",\r\n \"13.86.219.96/27\",\r\n \ - \ \"13.87.39.133/32\",\r\n \"13.87.39.173/32\",\r\n \ - \ \"13.87.56.192/27\",\r\n \"13.87.58.0/27\",\r\n \"13.87.122.192/27\"\ - ,\r\n \"13.87.124.0/27\",\r\n \"13.89.170.224/27\",\r\n\ - \ \"13.89.174.96/27\",\r\n \"13.92.242.41/32\",\r\n \ - \ \"13.94.47.38/32\",\r\n \"13.104.248.32/27\",\r\n \ - \ \"13.104.248.96/27\",\r\n \"20.36.46.202/32\",\r\n \"\ - 20.36.46.220/32\",\r\n \"20.36.75.75/32\",\r\n \"20.36.75.114/32\"\ - ,\r\n \"20.36.108.0/27\",\r\n \"20.36.108.64/27\",\r\n \ - \ \"20.36.115.160/27\",\r\n \"20.36.115.192/27\",\r\n \ - \ \"20.36.123.0/28\",\r\n \"20.37.67.64/28\",\r\n \ - \ \"20.37.76.0/27\",\r\n \"20.37.76.64/27\",\r\n \"20.37.198.96/28\"\ - ,\r\n \"20.37.227.0/28\",\r\n \"20.38.87.208/28\",\r\n \ - \ \"20.38.128.0/27\",\r\n \"20.38.139.64/28\",\r\n \ - \ \"20.38.146.192/27\",\r\n \"20.38.147.32/27\",\r\n \ - \ \"20.39.12.240/28\",\r\n \"20.40.200.176/28\",\r\n \"\ - 20.41.67.96/28\",\r\n \"20.41.197.32/28\",\r\n \"20.42.131.34/31\"\ - ,\r\n \"20.42.230.96/28\",\r\n \"20.43.43.176/28\",\r\n\ - \ \"20.43.70.80/28\",\r\n \"20.43.120.192/27\",\r\n \ - \ \"20.44.4.0/26\",\r\n \"20.44.8.128/27\",\r\n \"\ - 20.44.16.160/27\",\r\n \"20.44.26.192/27\",\r\n \"20.44.27.160/27\"\ - ,\r\n \"20.45.75.228/32\",\r\n \"20.45.75.230/32\",\r\n\ - \ \"20.45.114.208/28\",\r\n \"20.45.122.192/27\",\r\n \ - \ \"20.45.126.32/27\",\r\n \"20.45.197.240/28\",\r\n \ - \ \"20.49.83.160/27\",\r\n \"20.49.83.192/27\",\r\n \ - \ \"20.49.91.160/27\",\r\n \"20.49.93.96/27\",\r\n \"20.49.99.48/28\"\ - ,\r\n \"20.49.109.64/28\",\r\n \"20.49.113.16/28\",\r\n\ - \ \"20.49.120.48/28\",\r\n \"20.50.1.224/28\",\r\n \ - \ \"20.72.21.16/28\",\r\n \"20.72.28.224/27\",\r\n \"\ - 20.72.30.128/27\",\r\n \"20.150.165.160/28\",\r\n \"20.150.170.32/27\"\ - ,\r\n \"20.150.170.128/27\",\r\n \"20.150.172.96/27\",\r\ - \n \"20.150.178.192/26\",\r\n \"20.150.186.192/26\",\r\n\ - \ \"20.187.194.208/28\",\r\n \"20.192.98.192/26\",\r\n \ - \ \"20.192.165.192/28\",\r\n \"20.192.230.16/28\",\r\n \ - \ \"20.192.238.32/27\",\r\n \"20.192.238.64/27\",\r\n \ - \ \"20.193.205.160/27\",\r\n \"20.193.205.192/27\",\r\n \ - \ \"20.194.67.128/26\",\r\n \"23.96.185.63/32\",\r\n \ - \ \"23.96.243.93/32\",\r\n \"23.97.120.24/32\",\r\n \"\ - 23.98.82.128/27\",\r\n \"23.98.83.32/27\",\r\n \"23.98.104.144/28\"\ - ,\r\n \"23.99.97.255/32\",\r\n \"40.64.132.112/28\",\r\n\ - \ \"40.65.124.161/32\",\r\n \"40.67.50.224/28\",\r\n \ - \ \"40.67.58.32/27\",\r\n \"40.67.60.32/27\",\r\n \ - \ \"40.69.106.192/27\",\r\n \"40.69.108.0/27\",\r\n \"40.69.161.215/32\"\ - ,\r\n \"40.70.72.228/32\",\r\n \"40.70.146.96/27\",\r\n\ - \ \"40.70.148.64/27\",\r\n \"40.71.10.224/27\",\r\n \ - \ \"40.71.13.192/27\",\r\n \"40.71.215.148/32\",\r\n \ - \ \"40.74.100.192/27\",\r\n \"40.74.101.224/27\",\r\n \ - \ \"40.74.147.0/27\",\r\n \"40.74.147.96/27\",\r\n \"40.74.147.128/27\"\ - ,\r\n \"40.74.254.227/32\",\r\n \"40.75.34.64/27\",\r\n\ - \ \"40.75.35.0/27\",\r\n \"40.78.194.192/27\",\r\n \ - \ \"40.78.196.0/27\",\r\n \"40.78.203.128/27\",\r\n \ - \ \"40.78.203.192/27\",\r\n \"40.78.226.224/27\",\r\n \"\ - 40.78.229.0/27\",\r\n \"40.78.234.64/27\",\r\n \"40.78.234.224/27\"\ - ,\r\n \"40.78.242.192/27\",\r\n \"40.78.243.128/27\",\r\n\ - \ \"40.78.250.128/27\",\r\n \"40.78.251.64/27\",\r\n \ - \ \"40.79.32.162/32\",\r\n \"40.79.130.160/27\",\r\n \ - \ \"40.79.132.0/27\",\r\n \"40.79.138.64/27\",\r\n \"\ - 40.79.138.160/27\",\r\n \"40.79.146.64/27\",\r\n \"40.79.146.160/27\"\ - ,\r\n \"40.79.154.0/27\",\r\n \"40.79.154.224/27\",\r\n\ - \ \"40.79.156.0/27\",\r\n \"40.79.162.64/27\",\r\n \ - \ \"40.79.162.160/27\",\r\n \"40.79.170.160/27\",\r\n \ - \ \"40.79.171.0/27\",\r\n \"40.79.178.192/27\",\r\n \"\ - 40.79.179.224/27\",\r\n \"40.79.186.96/27\",\r\n \"40.79.187.128/27\"\ - ,\r\n \"40.79.194.0/27\",\r\n \"40.79.195.128/27\",\r\n\ - \ \"40.80.50.192/27\",\r\n \"40.80.51.32/27\",\r\n \ - \ \"40.80.62.0/28\",\r\n \"40.80.172.32/28\",\r\n \"\ - 40.89.20.144/28\",\r\n \"40.112.243.128/27\",\r\n \"40.120.75.192/26\"\ - ,\r\n \"40.123.207.224/32\",\r\n \"40.123.219.239/32\",\r\ - \n \"40.126.238.47/32\",\r\n \"40.127.3.232/32\",\r\n \ - \ \"51.12.42.0/28\",\r\n \"51.12.98.32/27\",\r\n \ - \ \"51.12.98.128/27\",\r\n \"51.12.194.0/28\",\r\n \"51.12.202.32/27\"\ - ,\r\n \"51.12.202.128/27\",\r\n \"51.12.226.192/26\",\r\n\ - \ \"51.12.234.192/26\",\r\n \"51.104.8.192/27\",\r\n \ - \ \"51.104.28.240/28\",\r\n \"51.105.66.192/27\",\r\n \ - \ \"51.105.67.128/27\",\r\n \"51.105.74.192/27\",\r\n \ - \ \"51.105.75.32/27\",\r\n \"51.105.83.0/28\",\r\n \"\ - 51.105.90.160/28\",\r\n \"51.107.51.0/28\",\r\n \"51.107.58.32/27\"\ - ,\r\n \"51.107.60.0/27\",\r\n \"51.107.147.0/28\",\r\n \ - \ \"51.107.154.32/27\",\r\n \"51.107.156.0/27\",\r\n \ - \ \"51.116.49.144/28\",\r\n \"51.116.58.32/27\",\r\n \ - \ \"51.116.60.0/27\",\r\n \"51.116.145.144/28\",\r\n \"\ - 51.116.154.96/27\",\r\n \"51.116.156.0/27\",\r\n \"51.116.242.192/26\"\ - ,\r\n \"51.116.243.32/27\",\r\n \"51.116.250.192/27\",\r\ - \n \"51.116.253.96/27\",\r\n \"51.120.43.64/28\",\r\n \ - \ \"51.120.98.32/27\",\r\n \"51.120.100.0/27\",\r\n \ - \ \"51.120.106.192/26\",\r\n \"51.120.210.192/26\",\r\n \ - \ \"51.120.218.32/27\",\r\n \"51.120.218.128/27\",\r\n \ - \ \"51.120.227.64/28\",\r\n \"51.137.164.96/28\",\r\n \ - \ \"51.140.121.92/32\",\r\n \"51.140.127.51/32\",\r\n \"\ - 51.140.146.224/27\",\r\n \"51.140.210.224/27\",\r\n \"51.140.212.32/27\"\ - ,\r\n \"51.141.38.88/32\",\r\n \"51.141.39.175/32\",\r\n\ - \ \"51.142.213.97/32\",\r\n \"51.142.215.251/32\",\r\n \ - \ \"51.143.195.0/28\",\r\n \"52.136.51.80/28\",\r\n \ - \ \"52.136.139.224/32\",\r\n \"52.136.140.157/32\",\r\n \ - \ \"52.138.90.96/27\",\r\n \"52.138.226.96/27\",\r\n \ - \ \"52.138.226.224/27\",\r\n \"52.140.108.80/28\",\r\n \ - \ \"52.143.136.162/32\",\r\n \"52.143.139.82/32\",\r\n \"\ - 52.150.139.78/31\",\r\n \"52.150.152.32/28\",\r\n \"52.162.107.128/27\"\ - ,\r\n \"52.162.110.192/27\",\r\n \"52.164.200.174/32\",\r\ - \n \"52.165.237.178/32\",\r\n \"52.166.50.138/32\",\r\n\ - \ \"52.167.106.96/27\",\r\n \"52.167.106.224/27\",\r\n \ - \ \"52.169.6.70/32\",\r\n \"52.172.193.99/32\",\r\n \ - \ \"52.172.204.185/32\",\r\n \"52.173.243.204/32\",\r\n \ - \ \"52.175.156.251/32\",\r\n \"52.182.138.224/27\",\r\n \ - \ \"52.182.139.96/27\",\r\n \"52.183.64.43/32\",\r\n \ - \ \"52.185.145.40/32\",\r\n \"52.185.154.136/32\",\r\n \ - \ \"52.187.185.17/32\",\r\n \"52.225.130.171/32\",\r\n \"\ - 52.228.84.112/28\",\r\n \"52.230.122.197/32\",\r\n \"52.231.18.160/27\"\ - ,\r\n \"52.231.19.224/27\",\r\n \"52.231.30.200/32\",\r\n\ - \ \"52.231.34.21/32\",\r\n \"52.231.146.224/27\",\r\n \ - \ \"52.231.148.32/27\",\r\n \"52.231.202.76/32\",\r\n \ - \ \"52.231.206.187/32\",\r\n \"52.233.30.2/32\",\r\n \ - \ \"52.233.38.82/32\",\r\n \"52.233.130.100/32\",\r\n \ - \ \"52.235.36.131/32\",\r\n \"52.236.186.96/27\",\r\n \"\ - 52.236.187.32/27\",\r\n \"52.237.244.169/32\",\r\n \"52.242.36.170/32\"\ - ,\r\n \"52.243.87.200/32\",\r\n \"52.246.154.192/27\",\r\ - \n \"52.246.155.32/27\",\r\n \"52.255.51.21/32\",\r\n \ - \ \"65.52.252.0/27\",\r\n \"65.52.252.64/27\",\r\n \ - \ \"102.133.27.224/27\",\r\n \"102.133.28.32/27\",\r\n \ - \ \"102.133.58.208/28\",\r\n \"102.133.72.35/32\",\r\n \ - \ \"102.133.72.42/32\",\r\n \"102.133.122.192/27\",\r\n \ - \ \"102.133.123.192/27\",\r\n \"102.133.155.224/27\",\r\n \ - \ \"102.133.156.32/27\",\r\n \"102.133.160.35/32\",\r\n \ - \ \"102.133.218.128/28\",\r\n \"102.133.250.192/27\",\r\n \ - \ \"102.133.251.32/27\",\r\n \"104.42.96.175/32\",\r\n \ - \ \"104.208.16.96/27\",\r\n \"104.208.144.96/27\",\r\n \ - \ \"104.211.81.160/27\",\r\n \"104.211.146.192/27\",\r\n \ - \ \"104.211.187.232/32\",\r\n \"104.214.19.0/27\",\r\n \ - \ \"104.214.108.80/32\",\r\n \"104.215.17.87/32\",\r\n \ - \ \"191.232.163.58/32\",\r\n \"191.233.11.128/28\",\r\n \ - \ \"191.233.54.32/27\",\r\n \"191.233.54.192/27\",\r\n \ - \ \"191.233.203.160/27\",\r\n \"191.233.205.32/27\",\r\n \ - \ \"191.234.136.64/28\",\r\n \"191.234.146.192/26\",\r\n \ - \ \"191.234.154.192/26\",\r\n \"2603:1000:4:402::380/122\",\r\n\ - \ \"2603:1000:104:402::380/122\",\r\n \"2603:1000:104:802::260/123\"\ - ,\r\n \"2603:1000:104:802::280/123\",\r\n \"2603:1000:104:c02::260/123\"\ - ,\r\n \"2603:1000:104:c02::280/123\",\r\n \"2603:1010:6:402::380/122\"\ - ,\r\n \"2603:1010:6:802::260/123\",\r\n \"2603:1010:6:802::280/123\"\ - ,\r\n \"2603:1010:6:c02::260/123\",\r\n \"2603:1010:6:c02::280/123\"\ - ,\r\n \"2603:1010:101:402::380/122\",\r\n \"2603:1010:304:402::380/122\"\ - ,\r\n \"2603:1010:404:402::380/122\",\r\n \"2603:1020:5:402::380/122\"\ - ,\r\n \"2603:1020:5:802::260/123\",\r\n \"2603:1020:5:802::280/123\"\ - ,\r\n \"2603:1020:5:c02::260/123\",\r\n \"2603:1020:5:c02::280/123\"\ - ,\r\n \"2603:1020:206:402::380/122\",\r\n \"2603:1020:206:802::260/123\"\ - ,\r\n \"2603:1020:206:802::280/123\",\r\n \"2603:1020:206:c02::260/123\"\ - ,\r\n \"2603:1020:206:c02::280/123\",\r\n \"2603:1020:305:402::380/122\"\ - ,\r\n \"2603:1020:405:402::380/122\",\r\n \"2603:1020:605:402::380/122\"\ - ,\r\n \"2603:1020:705:402::380/122\",\r\n \"2603:1020:705:802::260/123\"\ - ,\r\n \"2603:1020:705:802::280/123\",\r\n \"2603:1020:705:c02::260/123\"\ - ,\r\n \"2603:1020:705:c02::280/123\",\r\n \"2603:1020:805:402::380/122\"\ - ,\r\n \"2603:1020:805:802::260/123\",\r\n \"2603:1020:805:802::280/123\"\ - ,\r\n \"2603:1020:805:c02::260/123\",\r\n \"2603:1020:805:c02::280/123\"\ - ,\r\n \"2603:1020:905:402::380/122\",\r\n \"2603:1020:a04:402::380/122\"\ - ,\r\n \"2603:1020:a04:802::260/123\",\r\n \"2603:1020:a04:802::280/123\"\ - ,\r\n \"2603:1020:a04:c02::260/123\",\r\n \"2603:1020:a04:c02::280/123\"\ - ,\r\n \"2603:1020:b04:402::380/122\",\r\n \"2603:1020:c04:402::380/122\"\ - ,\r\n \"2603:1020:c04:802::260/123\",\r\n \"2603:1020:c04:802::280/123\"\ - ,\r\n \"2603:1020:c04:c02::260/123\",\r\n \"2603:1020:c04:c02::280/123\"\ - ,\r\n \"2603:1020:d04:402::380/122\",\r\n \"2603:1020:e04:402::380/122\"\ - ,\r\n \"2603:1020:e04:802::260/123\",\r\n \"2603:1020:e04:802::280/123\"\ - ,\r\n \"2603:1020:e04:c02::260/123\",\r\n \"2603:1020:e04:c02::280/123\"\ - ,\r\n \"2603:1020:f04:402::380/122\",\r\n \"2603:1020:1004:1::500/123\"\ - ,\r\n \"2603:1020:1004:400::200/122\",\r\n \"2603:1020:1004:800::300/122\"\ - ,\r\n \"2603:1020:1004:c02::2c0/122\",\r\n \"2603:1020:1104:1::1e0/123\"\ - ,\r\n \"2603:1020:1104:400::340/122\",\r\n \"2603:1030:f:400::b80/122\"\ - ,\r\n \"2603:1030:10:402::380/122\",\r\n \"2603:1030:10:802::260/123\"\ - ,\r\n \"2603:1030:10:802::280/123\",\r\n \"2603:1030:10:c02::260/123\"\ - ,\r\n \"2603:1030:10:c02::280/123\",\r\n \"2603:1030:104:402::380/122\"\ - ,\r\n \"2603:1030:107:1::220/123\",\r\n \"2603:1030:107:400::2c0/122\"\ - ,\r\n \"2603:1030:210:402::380/122\",\r\n \"2603:1030:210:802::260/123\"\ - ,\r\n \"2603:1030:210:802::280/123\",\r\n \"2603:1030:210:c02::260/123\"\ - ,\r\n \"2603:1030:210:c02::280/123\",\r\n \"2603:1030:40b:400::b80/122\"\ - ,\r\n \"2603:1030:40b:800::260/123\",\r\n \"2603:1030:40b:800::280/123\"\ - ,\r\n \"2603:1030:40b:c00::260/123\",\r\n \"2603:1030:40b:c00::280/123\"\ - ,\r\n \"2603:1030:40c:402::380/122\",\r\n \"2603:1030:40c:802::260/123\"\ - ,\r\n \"2603:1030:40c:802::280/123\",\r\n \"2603:1030:40c:c02::260/123\"\ - ,\r\n \"2603:1030:40c:c02::280/123\",\r\n \"2603:1030:504::500/123\"\ - ,\r\n \"2603:1030:504:402::200/122\",\r\n \"2603:1030:504:802::300/122\"\ - ,\r\n \"2603:1030:504:c02::2c0/122\",\r\n \"2603:1030:608:402::380/122\"\ - ,\r\n \"2603:1030:807:402::380/122\",\r\n \"2603:1030:807:802::260/123\"\ - ,\r\n \"2603:1030:807:802::280/123\",\r\n \"2603:1030:807:c02::260/123\"\ - ,\r\n \"2603:1030:807:c02::280/123\",\r\n \"2603:1030:a07:402::300/122\"\ - ,\r\n \"2603:1030:b04:402::380/122\",\r\n \"2603:1030:c06:400::b80/122\"\ - ,\r\n \"2603:1030:c06:802::260/123\",\r\n \"2603:1030:c06:802::280/123\"\ - ,\r\n \"2603:1030:c06:c02::260/123\",\r\n \"2603:1030:c06:c02::280/123\"\ - ,\r\n \"2603:1030:f05:402::380/122\",\r\n \"2603:1030:f05:802::260/123\"\ - ,\r\n \"2603:1030:f05:802::280/123\",\r\n \"2603:1030:f05:c02::260/123\"\ - ,\r\n \"2603:1030:f05:c02::280/123\",\r\n \"2603:1030:1005:402::380/122\"\ - ,\r\n \"2603:1040:5:402::380/122\",\r\n \"2603:1040:5:802::260/123\"\ - ,\r\n \"2603:1040:5:802::280/123\",\r\n \"2603:1040:5:c02::260/123\"\ - ,\r\n \"2603:1040:5:c02::280/123\",\r\n \"2603:1040:207:402::380/122\"\ - ,\r\n \"2603:1040:407:402::380/122\",\r\n \"2603:1040:407:802::260/123\"\ - ,\r\n \"2603:1040:407:802::280/123\",\r\n \"2603:1040:407:c02::260/123\"\ - ,\r\n \"2603:1040:407:c02::280/123\",\r\n \"2603:1040:606:402::380/122\"\ - ,\r\n \"2603:1040:806:402::380/122\",\r\n \"2603:1040:904:402::380/122\"\ - ,\r\n \"2603:1040:904:802::260/123\",\r\n \"2603:1040:904:802::280/123\"\ - ,\r\n \"2603:1040:904:c02::260/123\",\r\n \"2603:1040:904:c02::280/123\"\ - ,\r\n \"2603:1040:a06:402::380/122\",\r\n \"2603:1040:a06:802::260/123\"\ - ,\r\n \"2603:1040:a06:802::280/123\",\r\n \"2603:1040:a06:c02::260/123\"\ - ,\r\n \"2603:1040:a06:c02::280/123\",\r\n \"2603:1040:b04:402::380/122\"\ - ,\r\n \"2603:1040:c06:402::380/122\",\r\n \"2603:1040:d04:1::500/123\"\ - ,\r\n \"2603:1040:d04:400::200/122\",\r\n \"2603:1040:d04:800::300/122\"\ - ,\r\n \"2603:1040:d04:c02::2c0/122\",\r\n \"2603:1040:f05:402::380/122\"\ - ,\r\n \"2603:1040:f05:802::260/123\",\r\n \"2603:1040:f05:802::280/123\"\ - ,\r\n \"2603:1040:f05:c02::260/123\",\r\n \"2603:1040:f05:c02::280/123\"\ - ,\r\n \"2603:1040:1104:1::1e0/123\",\r\n \"2603:1040:1104:400::340/122\"\ - ,\r\n \"2603:1050:6:402::380/122\",\r\n \"2603:1050:6:802::260/123\"\ - ,\r\n \"2603:1050:6:802::280/123\",\r\n \"2603:1050:6:c02::260/123\"\ - ,\r\n \"2603:1050:6:c02::280/123\",\r\n \"2603:1050:403:400::260/123\"\ - ,\r\n \"2603:1050:403:400::280/123\"\r\n ]\r\n }\r\n\ - \ },\r\n {\r\n \"name\": \"Storage\",\r\n \"id\": \"Storage\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \ - \ \"region\": \"\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n\ - \ \"FW\",\r\n \"VSE\"\r\n ],\r\n \"systemService\"\ - : \"AzureStorage\",\r\n \"addressPrefixes\": [\r\n \"13.65.107.32/28\"\ - ,\r\n \"13.65.160.16/28\",\r\n \"13.65.160.48/28\",\r\n\ - \ \"13.65.160.64/28\",\r\n \"13.66.176.16/28\",\r\n \ - \ \"13.66.176.48/28\",\r\n \"13.66.232.64/28\",\r\n \ - \ \"13.66.232.208/28\",\r\n \"13.66.232.224/28\",\r\n \"\ - 13.66.234.0/27\",\r\n \"13.67.155.16/28\",\r\n \"13.68.120.64/28\"\ - ,\r\n \"13.68.163.32/28\",\r\n \"13.68.165.64/28\",\r\n\ - \ \"13.68.167.240/28\",\r\n \"13.69.40.16/28\",\r\n \ - \ \"13.70.99.16/28\",\r\n \"13.70.99.48/28\",\r\n \"\ - 13.70.99.64/28\",\r\n \"13.70.208.16/28\",\r\n \"13.71.200.64/28\"\ - ,\r\n \"13.71.200.96/28\",\r\n \"13.71.200.240/28\",\r\n\ - \ \"13.71.202.16/28\",\r\n \"13.71.202.32/28\",\r\n \ - \ \"13.71.202.64/27\",\r\n \"13.72.235.64/28\",\r\n \ - \ \"13.72.235.96/27\",\r\n \"13.72.235.144/28\",\r\n \"\ - 13.72.237.48/28\",\r\n \"13.72.237.64/28\",\r\n \"13.73.8.16/28\"\ - ,\r\n \"13.73.8.32/28\",\r\n \"13.74.208.64/28\",\r\n \ - \ \"13.74.208.112/28\",\r\n \"13.74.208.144/28\",\r\n \ - \ \"13.75.240.16/28\",\r\n \"13.75.240.32/28\",\r\n \ - \ \"13.75.240.64/27\",\r\n \"13.76.104.16/28\",\r\n \"\ - 13.77.8.16/28\",\r\n \"13.77.8.32/28\",\r\n \"13.77.8.64/28\"\ - ,\r\n \"13.77.8.96/28\",\r\n \"13.77.8.128/27\",\r\n \ - \ \"13.77.8.160/28\",\r\n \"13.77.8.192/27\",\r\n \ - \ \"13.77.112.16/28\",\r\n \"13.77.112.32/28\",\r\n \"13.77.112.112/28\"\ - ,\r\n \"13.77.112.128/28\",\r\n \"13.77.115.16/28\",\r\n\ - \ \"13.77.115.32/28\",\r\n \"13.77.184.64/28\",\r\n \ - \ \"13.78.152.64/28\",\r\n \"13.78.240.16/28\",\r\n \ - \ \"13.79.176.16/28\",\r\n \"13.79.176.48/28\",\r\n \"\ - 13.79.176.80/28\",\r\n \"13.82.33.32/28\",\r\n \"13.82.152.16/28\"\ - ,\r\n \"13.82.152.48/28\",\r\n \"13.82.152.80/28\",\r\n\ - \ \"13.83.72.16/28\",\r\n \"13.84.56.16/28\",\r\n \ - \ \"13.85.88.16/28\",\r\n \"13.85.200.128/28\",\r\n \"\ - 13.87.40.64/28\",\r\n \"13.87.40.96/28\",\r\n \"13.87.104.64/28\"\ - ,\r\n \"13.87.104.96/28\",\r\n \"13.88.144.112/28\",\r\n\ - \ \"13.88.144.240/28\",\r\n \"13.88.145.64/28\",\r\n \ - \ \"13.88.145.96/28\",\r\n \"13.88.145.128/28\",\r\n \ - \ \"13.93.168.80/28\",\r\n \"13.93.168.112/28\",\r\n \ - \ \"13.93.168.144/28\",\r\n \"13.95.96.176/28\",\r\n \"\ - 13.95.240.16/28\",\r\n \"13.95.240.32/28\",\r\n \"13.95.240.64/27\"\ - ,\r\n \"20.38.96.0/19\",\r\n \"20.47.0.0/18\",\r\n \ - \ \"20.60.0.0/16\",\r\n \"20.150.0.0/17\",\r\n \"20.157.32.0/19\"\ - ,\r\n \"23.96.64.64/26\",\r\n \"23.97.112.64/26\",\r\n \ - \ \"23.98.49.0/26\",\r\n \"23.98.49.192/26\",\r\n \ - \ \"23.98.55.0/26\",\r\n \"23.98.55.112/28\",\r\n \"23.98.55.144/28\"\ - ,\r\n \"23.98.56.0/26\",\r\n \"23.98.57.64/26\",\r\n \ - \ \"23.98.160.64/26\",\r\n \"23.98.162.192/26\",\r\n \ - \ \"23.98.168.0/24\",\r\n \"23.98.192.64/26\",\r\n \"\ - 23.98.255.64/26\",\r\n \"23.99.32.64/26\",\r\n \"23.99.34.224/28\"\ - ,\r\n \"23.99.37.96/28\",\r\n \"23.99.47.32/28\",\r\n \ - \ \"23.99.160.64/26\",\r\n \"23.99.160.192/28\",\r\n \ - \ \"23.102.206.0/28\",\r\n \"23.102.206.128/28\",\r\n \ - \ \"23.102.206.192/28\",\r\n \"40.68.176.16/28\",\r\n \ - \ \"40.68.176.48/28\",\r\n \"40.68.232.16/28\",\r\n \"40.68.232.48/28\"\ - ,\r\n \"40.69.176.16/28\",\r\n \"40.70.88.0/28\",\r\n \ - \ \"40.71.104.16/28\",\r\n \"40.71.104.32/28\",\r\n \ - \ \"40.71.240.16/28\",\r\n \"40.78.72.16/28\",\r\n \"\ - 40.78.112.64/28\",\r\n \"40.79.8.16/28\",\r\n \"40.79.48.16/28\"\ - ,\r\n \"40.79.88.16/28\",\r\n \"40.83.24.16/28\",\r\n \ - \ \"40.83.24.80/28\",\r\n \"40.83.24.96/27\",\r\n \ - \ \"40.83.104.176/28\",\r\n \"40.83.104.208/28\",\r\n \"\ - 40.83.225.32/28\",\r\n \"40.83.227.16/28\",\r\n \"40.84.8.32/28\"\ - ,\r\n \"40.84.11.80/28\",\r\n \"40.85.105.32/28\",\r\n \ - \ \"40.85.232.64/28\",\r\n \"40.85.232.96/28\",\r\n \ - \ \"40.85.232.144/28\",\r\n \"40.85.235.32/27\",\r\n \ - \ \"40.85.235.80/28\",\r\n \"40.85.235.96/28\",\r\n \"\ - 40.86.232.64/28\",\r\n \"40.86.232.96/28\",\r\n \"40.86.232.128/28\"\ - ,\r\n \"40.86.232.176/28\",\r\n \"40.86.232.192/28\",\r\n\ - \ \"40.112.152.16/28\",\r\n \"40.112.224.16/28\",\r\n \ - \ \"40.112.224.48/28\",\r\n \"40.113.27.176/28\",\r\n \ - \ \"40.114.152.16/28\",\r\n \"40.114.152.48/28\",\r\n \ - \ \"40.115.169.32/28\",\r\n \"40.115.175.16/28\",\r\n \ - \ \"40.115.175.32/28\",\r\n \"40.115.227.80/28\",\r\n \"\ - 40.115.229.16/28\",\r\n \"40.115.229.32/28\",\r\n \"40.115.231.64/27\"\ - ,\r\n \"40.115.231.112/28\",\r\n \"40.115.231.128/28\",\r\ - \n \"40.116.120.16/28\",\r\n \"40.116.232.16/28\",\r\n \ - \ \"40.116.232.48/28\",\r\n \"40.116.232.96/28\",\r\n \ - \ \"40.117.48.80/28\",\r\n \"40.117.48.112/28\",\r\n \ - \ \"40.117.104.16/28\",\r\n \"40.118.72.176/28\",\r\n \ - \ \"40.118.73.48/28\",\r\n \"40.118.73.176/28\",\r\n \"\ - 40.118.73.208/28\",\r\n \"40.122.96.16/28\",\r\n \"40.122.216.16/28\"\ - ,\r\n \"40.123.16.16/28\",\r\n \"51.140.16.16/28\",\r\n\ - \ \"51.140.16.32/28\",\r\n \"51.140.168.64/27\",\r\n \ - \ \"51.140.168.112/28\",\r\n \"51.140.168.128/28\",\r\n \ - \ \"51.140.232.64/27\",\r\n \"51.140.232.112/28\",\r\n \ - \ \"51.140.232.128/28\",\r\n \"51.140.232.160/27\",\r\n \ - \ \"51.141.128.0/23\",\r\n \"51.141.130.0/25\",\r\n \ - \ \"52.161.112.16/28\",\r\n \"52.161.112.32/28\",\r\n \"\ - 52.161.168.16/28\",\r\n \"52.161.168.32/28\",\r\n \"52.162.56.16/28\"\ - ,\r\n \"52.162.56.32/28\",\r\n \"52.162.56.64/27\",\r\n\ - \ \"52.162.56.112/28\",\r\n \"52.162.56.128/28\",\r\n \ - \ \"52.163.176.16/28\",\r\n \"52.163.232.16/28\",\r\n \ - \ \"52.164.112.16/28\",\r\n \"52.164.232.16/28\",\r\n \ - \ \"52.164.232.32/28\",\r\n \"52.164.232.64/28\",\r\n \ - \ \"52.165.104.16/28\",\r\n \"52.165.104.32/28\",\r\n \"\ - 52.165.104.64/27\",\r\n \"52.165.104.112/28\",\r\n \"52.165.104.144/28\"\ - ,\r\n \"52.165.104.160/28\",\r\n \"52.165.136.32/28\",\r\ - \n \"52.165.240.64/28\",\r\n \"52.166.80.32/27\",\r\n \ - \ \"52.166.80.80/28\",\r\n \"52.166.80.96/28\",\r\n \ - \ \"52.167.88.80/28\",\r\n \"52.167.88.112/28\",\r\n \ - \ \"52.167.240.16/28\",\r\n \"52.169.168.32/27\",\r\n \"\ - 52.169.240.16/28\",\r\n \"52.169.240.32/28\",\r\n \"52.169.240.64/28\"\ - ,\r\n \"52.171.144.32/27\",\r\n \"52.171.144.80/28\",\r\n\ - \ \"52.171.144.96/28\",\r\n \"52.171.144.128/28\",\r\n \ - \ \"52.172.16.16/28\",\r\n \"52.172.16.80/28\",\r\n \ - \ \"52.172.16.96/28\",\r\n \"52.172.16.128/27\",\r\n \ - \ \"52.173.152.64/28\",\r\n \"52.173.152.96/28\",\r\n \"\ - 52.174.8.32/28\",\r\n \"52.174.224.16/28\",\r\n \"52.174.224.32/28\"\ - ,\r\n \"52.174.224.64/27\",\r\n \"52.174.224.112/28\",\r\ - \n \"52.174.224.128/28\",\r\n \"52.175.40.128/28\",\r\n\ - \ \"52.175.112.16/28\",\r\n \"52.176.224.64/28\",\r\n \ - \ \"52.176.224.96/28\",\r\n \"52.177.208.80/28\",\r\n \ - \ \"52.178.168.32/27\",\r\n \"52.178.168.80/28\",\r\n \ - \ \"52.178.168.96/28\",\r\n \"52.178.168.128/27\",\r\n \ - \ \"52.179.24.16/28\",\r\n \"52.179.144.32/28\",\r\n \"\ - 52.179.144.64/28\",\r\n \"52.179.240.16/28\",\r\n \"52.179.240.48/28\"\ - ,\r\n \"52.179.240.64/28\",\r\n \"52.179.240.96/27\",\r\n\ - \ \"52.179.240.144/28\",\r\n \"52.179.240.160/28\",\r\n\ - \ \"52.179.240.192/27\",\r\n \"52.179.240.240/28\",\r\n\ - \ \"52.179.241.0/28\",\r\n \"52.179.241.32/27\",\r\n \ - \ \"52.180.40.16/28\",\r\n \"52.180.40.32/28\",\r\n \ - \ \"52.180.184.16/28\",\r\n \"52.182.176.16/28\",\r\n \ - \ \"52.182.176.32/28\",\r\n \"52.182.176.64/27\",\r\n \"\ - 52.183.48.16/28\",\r\n \"52.183.104.16/28\",\r\n \"52.183.104.32/28\"\ - ,\r\n \"52.184.40.16/28\",\r\n \"52.184.40.32/28\",\r\n\ - \ \"52.184.168.32/28\",\r\n \"52.184.168.96/27\",\r\n \ - \ \"52.185.56.80/28\",\r\n \"52.185.56.96/28\",\r\n \ - \ \"52.185.56.144/28\",\r\n \"52.185.56.160/28\",\r\n \ - \ \"52.185.112.16/28\",\r\n \"52.185.112.48/28\",\r\n \"\ - 52.185.112.80/28\",\r\n \"52.185.112.112/28\",\r\n \"52.185.233.0/24\"\ - ,\r\n \"52.186.112.32/27\",\r\n \"52.187.141.32/27\",\r\n\ - \ \"52.189.177.0/24\",\r\n \"52.190.240.16/28\",\r\n \ - \ \"52.190.240.32/28\",\r\n \"52.190.240.64/27\",\r\n \ - \ \"52.190.240.112/28\",\r\n \"52.190.240.128/28\",\r\n \ - \ \"52.191.176.16/28\",\r\n \"52.191.176.32/28\",\r\n \ - \ \"52.225.40.32/27\",\r\n \"52.225.136.16/28\",\r\n \"\ - 52.225.136.32/28\",\r\n \"52.225.240.0/28\",\r\n \"52.226.8.32/27\"\ - ,\r\n \"52.226.8.80/28\",\r\n \"52.226.8.96/28\",\r\n \ - \ \"52.226.8.128/27\",\r\n \"52.228.232.0/28\",\r\n \ - \ \"52.229.80.64/27\",\r\n \"52.230.240.16/28\",\r\n \ - \ \"52.230.240.32/28\",\r\n \"52.230.240.64/27\",\r\n \"\ - 52.230.240.112/28\",\r\n \"52.230.240.128/28\",\r\n \"52.230.240.160/27\"\ - ,\r\n \"52.231.80.64/27\",\r\n \"52.231.80.112/28\",\r\n\ - \ \"52.231.80.128/28\",\r\n \"52.231.80.160/27\",\r\n \ - \ \"52.231.168.64/27\",\r\n \"52.231.168.112/28\",\r\n \ - \ \"52.231.168.128/28\",\r\n \"52.231.208.16/28\",\r\n \ - \ \"52.231.208.32/28\",\r\n \"52.232.232.16/28\",\r\n \ - \ \"52.232.232.32/28\",\r\n \"52.232.232.80/28\",\r\n \ - \ \"52.232.232.96/28\",\r\n \"52.232.232.128/27\",\r\n \ - \ \"52.232.232.176/28\",\r\n \"52.232.232.192/28\",\r\n \ - \ \"52.234.176.48/28\",\r\n \"52.234.176.64/28\",\r\n \"\ - 52.234.176.96/27\",\r\n \"52.236.40.16/28\",\r\n \"52.236.40.32/28\"\ - ,\r\n \"52.236.240.48/28\",\r\n \"52.236.240.64/28\",\r\n\ - \ \"52.237.104.16/28\",\r\n \"52.237.104.32/28\",\r\n \ - \ \"52.238.56.16/28\",\r\n \"52.238.56.32/28\",\r\n \ - \ \"52.238.56.64/27\",\r\n \"52.238.56.112/28\",\r\n \ - \ \"52.238.56.128/28\",\r\n \"52.238.56.160/27\",\r\n \"\ - 52.238.200.32/27\",\r\n \"52.239.104.16/28\",\r\n \"52.239.104.32/28\"\ - ,\r\n \"52.239.128.0/20\",\r\n \"52.239.144.0/22\",\r\n\ - \ \"52.239.148.0/27\",\r\n \"52.239.148.64/26\",\r\n \ - \ \"52.239.148.128/25\",\r\n \"52.239.149.0/24\",\r\n \ - \ \"52.239.150.0/23\",\r\n \"52.239.152.0/21\",\r\n \ - \ \"52.239.160.0/22\",\r\n \"52.239.164.0/24\",\r\n \"52.239.165.0/26\"\ - ,\r\n \"52.239.165.160/27\",\r\n \"52.239.165.192/26\",\r\ - \n \"52.239.167.0/24\",\r\n \"52.239.168.0/21\",\r\n \ - \ \"52.239.176.128/25\",\r\n \"52.239.177.0/24\",\r\n \ - \ \"52.239.178.0/23\",\r\n \"52.239.180.0/22\",\r\n \ - \ \"52.239.184.0/22\",\r\n \"52.239.188.0/23\",\r\n \"52.239.190.0/24\"\ - ,\r\n \"52.239.191.0/28\",\r\n \"52.239.192.0/21\",\r\n\ - \ \"52.239.200.0/22\",\r\n \"52.239.205.0/24\",\r\n \ - \ \"52.239.206.0/23\",\r\n \"52.239.208.0/20\",\r\n \ - \ \"52.239.224.0/19\",\r\n \"52.240.48.16/28\",\r\n \"\ - 52.240.48.32/28\",\r\n \"52.240.60.16/28\",\r\n \"52.240.60.32/28\"\ - ,\r\n \"52.240.60.64/27\",\r\n \"52.241.88.16/28\",\r\n\ - \ \"52.241.88.32/28\",\r\n \"52.241.88.64/27\",\r\n \ - \ \"52.245.40.0/24\",\r\n \"104.41.232.16/28\",\r\n \ - \ \"104.42.200.16/28\",\r\n \"104.43.80.16/28\",\r\n \"\ - 104.46.31.16/28\",\r\n \"104.208.0.16/28\",\r\n \"104.208.0.48/28\"\ - ,\r\n \"104.208.128.16/28\",\r\n \"104.208.248.16/28\",\r\ - \n \"104.211.104.64/28\",\r\n \"104.211.104.96/28\",\r\n\ - \ \"104.211.104.128/28\",\r\n \"104.211.109.0/28\",\r\n\ - \ \"104.211.109.32/27\",\r\n \"104.211.109.80/28\",\r\n\ - \ \"104.211.109.96/28\",\r\n \"104.211.168.16/28\",\r\n\ - \ \"104.211.232.16/28\",\r\n \"104.211.232.48/28\",\r\n\ - \ \"104.211.232.80/28\",\r\n \"104.211.232.176/28\",\r\n\ - \ \"104.214.40.16/28\",\r\n \"104.214.80.16/28\",\r\n \ - \ \"104.214.80.48/28\",\r\n \"104.214.152.16/28\",\r\n \ - \ \"104.214.152.176/28\",\r\n \"104.214.243.32/28\",\r\n \ - \ \"104.215.32.16/28\",\r\n \"104.215.32.32/28\",\r\n \ - \ \"104.215.32.64/27\",\r\n \"104.215.35.32/27\",\r\n \ - \ \"104.215.104.64/28\",\r\n \"104.215.240.64/28\",\r\n \ - \ \"104.215.240.96/28\",\r\n \"137.116.1.0/25\",\r\n \ - \ \"137.116.2.0/25\",\r\n \"137.116.3.0/25\",\r\n \"137.116.3.128/26\"\ - ,\r\n \"137.116.96.0/25\",\r\n \"137.116.96.128/26\",\r\n\ - \ \"137.135.192.64/26\",\r\n \"137.135.192.192/26\",\r\n\ - \ \"137.135.193.192/26\",\r\n \"137.135.194.0/25\",\r\n\ - \ \"137.135.194.192/26\",\r\n \"138.91.96.64/26\",\r\n \ - \ \"138.91.96.128/26\",\r\n \"138.91.128.128/26\",\r\n \ - \ \"138.91.129.0/26\",\r\n \"157.56.216.0/26\",\r\n \ - \ \"168.61.57.64/26\",\r\n \"168.61.57.128/25\",\r\n \ - \ \"168.61.58.0/26\",\r\n \"168.61.58.128/26\",\r\n \"168.61.59.64/26\"\ - ,\r\n \"168.61.61.0/26\",\r\n \"168.61.61.192/26\",\r\n\ - \ \"168.61.120.32/27\",\r\n \"168.61.120.64/27\",\r\n \ - \ \"168.61.121.0/26\",\r\n \"168.61.128.192/26\",\r\n \ - \ \"168.61.129.0/25\",\r\n \"168.61.130.64/26\",\r\n \ - \ \"168.61.130.128/25\",\r\n \"168.61.131.0/26\",\r\n \ - \ \"168.61.131.128/25\",\r\n \"168.61.132.0/26\",\r\n \"\ - 168.62.0.0/26\",\r\n \"168.62.1.128/26\",\r\n \"168.62.32.0/26\"\ - ,\r\n \"168.62.32.192/26\",\r\n \"168.62.33.128/26\",\r\n\ - \ \"168.62.96.128/25\",\r\n \"168.62.128.128/26\",\r\n \ - \ \"168.63.0.0/26\",\r\n \"168.63.2.64/26\",\r\n \ - \ \"168.63.3.32/27\",\r\n \"168.63.3.64/27\",\r\n \"168.63.32.0/26\"\ - ,\r\n \"168.63.33.192/26\",\r\n \"168.63.89.64/26\",\r\n\ - \ \"168.63.89.128/26\",\r\n \"168.63.113.32/27\",\r\n \ - \ \"168.63.113.64/27\",\r\n \"168.63.128.0/26\",\r\n \ - \ \"168.63.128.128/25\",\r\n \"168.63.129.128/25\",\r\n \ - \ \"168.63.130.0/26\",\r\n \"168.63.130.128/26\",\r\n \ - \ \"168.63.131.0/26\",\r\n \"168.63.156.64/26\",\r\n \"\ - 168.63.156.192/26\",\r\n \"168.63.160.0/26\",\r\n \"168.63.160.192/26\"\ - ,\r\n \"168.63.161.64/26\",\r\n \"168.63.161.160/27\",\r\ - \n \"168.63.161.192/26\",\r\n \"168.63.162.32/27\",\r\n\ - \ \"168.63.162.64/26\",\r\n \"168.63.162.144/28\",\r\n \ - \ \"168.63.162.192/26\",\r\n \"168.63.163.128/26\",\r\n \ - \ \"168.63.180.64/26\",\r\n \"191.232.216.32/27\",\r\n \ - \ \"191.232.221.16/28\",\r\n \"191.232.221.32/28\",\r\n \ - \ \"191.233.128.0/24\",\r\n \"191.235.192.192/26\",\r\n \ - \ \"191.235.193.32/28\",\r\n \"191.235.248.0/23\",\r\n \ - \ \"191.235.250.0/25\",\r\n \"191.235.255.192/26\",\r\n \ - \ \"191.237.32.128/28\",\r\n \"191.237.32.208/28\",\r\n \ - \ \"191.237.32.240/28\",\r\n \"191.237.160.64/26\",\r\n \ - \ \"191.237.160.224/28\",\r\n \"191.237.232.32/28\",\r\n \ - \ \"191.237.232.128/28\",\r\n \"191.237.238.32/28\",\r\n \ - \ \"191.238.0.0/26\",\r\n \"191.238.0.224/28\",\r\n \ - \ \"191.238.64.64/26\",\r\n \"191.238.64.192/28\",\r\n \ - \ \"191.238.66.0/26\",\r\n \"191.239.192.0/26\",\r\n \ - \ \"191.239.203.0/28\",\r\n \"191.239.224.0/26\"\r\n ]\r\n\ - \ }\r\n },\r\n {\r\n \"name\": \"Storage.AustraliaCentral\"\ - ,\r\n \"id\": \"Storage.AustraliaCentral\",\r\n \"properties\":\ - \ {\r\n \"changeNumber\": \"1\",\r\n \"region\": \"australiacentral\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureStorage\",\r\n \ - \ \"addressPrefixes\": [\r\n \"20.47.35.0/24\",\r\n \ - \ \"20.150.124.0/24\",\r\n \"52.239.216.0/23\"\r\n ]\r\n \ - \ }\r\n },\r\n {\r\n \"name\": \"Storage.AustraliaCentral2\"\ - ,\r\n \"id\": \"Storage.AustraliaCentral2\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"1\",\r\n \"region\": \"australiacentral2\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureStorage\",\r\n \ - \ \"addressPrefixes\": [\r\n \"20.47.36.0/24\",\r\n \ - \ \"20.150.103.0/24\",\r\n \"52.239.218.0/23\"\r\n ]\r\n \ - \ }\r\n },\r\n {\r\n \"name\": \"Storage.AustraliaEast\",\r\ - \n \"id\": \"Storage.AustraliaEast\",\r\n \"properties\": {\r\n\ - \ \"changeNumber\": \"2\",\r\n \"region\": \"australiaeast\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureStorage\",\r\n \ - \ \"addressPrefixes\": [\r\n \"13.70.99.16/28\",\r\n \ - \ \"13.70.99.48/28\",\r\n \"13.70.99.64/28\",\r\n \"13.72.235.64/28\"\ - ,\r\n \"13.72.235.96/27\",\r\n \"13.72.235.144/28\",\r\n\ - \ \"13.72.237.48/28\",\r\n \"13.72.237.64/28\",\r\n \ - \ \"13.75.240.16/28\",\r\n \"13.75.240.32/28\",\r\n \ - \ \"13.75.240.64/27\",\r\n \"20.38.112.0/23\",\r\n \"20.47.37.0/24\"\ - ,\r\n \"20.60.72.0/22\",\r\n \"20.60.182.0/23\",\r\n \ - \ \"20.150.66.0/24\",\r\n \"20.150.92.0/24\",\r\n \ - \ \"20.150.117.0/24\",\r\n \"20.157.44.0/24\",\r\n \"52.239.130.0/23\"\ - ,\r\n \"52.239.226.0/24\",\r\n \"104.46.31.16/28\",\r\n\ - \ \"191.238.66.0/26\"\r\n ]\r\n }\r\n },\r\n {\r\ - \n \"name\": \"Storage.AustraliaSoutheast\",\r\n \"id\": \"Storage.AustraliaSoutheast\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \ - \ \"region\": \"australiasoutheast\",\r\n \"state\": \"GA\",\r\n\ - \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\ - ,\r\n \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\"\ - : \"AzureStorage\",\r\n \"addressPrefixes\": [\r\n \"13.77.8.16/28\"\ - ,\r\n \"13.77.8.32/28\",\r\n \"13.77.8.64/28\",\r\n \ - \ \"13.77.8.96/28\",\r\n \"13.77.8.128/27\",\r\n \"\ - 13.77.8.160/28\",\r\n \"13.77.8.192/27\",\r\n \"20.47.38.0/24\"\ - ,\r\n \"20.60.32.0/23\",\r\n \"20.150.12.0/23\",\r\n \ - \ \"20.150.119.0/24\",\r\n \"20.157.45.0/24\",\r\n \ - \ \"52.239.132.0/23\",\r\n \"52.239.225.0/24\",\r\n \"\ - 191.239.192.0/26\"\r\n ]\r\n }\r\n },\r\n {\r\n \"\ - name\": \"Storage.BrazilSouth\",\r\n \"id\": \"Storage.BrazilSouth\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \ - \ \"region\": \"brazilsouth\",\r\n \"state\": \"GA\",\r\n \ - \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n \ - \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\"\ - : \"AzureStorage\",\r\n \"addressPrefixes\": [\r\n \"20.47.39.0/24\"\ - ,\r\n \"20.60.36.0/23\",\r\n \"20.150.111.0/24\",\r\n \ - \ \"20.157.55.0/24\",\r\n \"23.97.112.64/26\",\r\n \ - \ \"191.232.216.32/27\",\r\n \"191.232.221.16/28\",\r\n \ - \ \"191.232.221.32/28\",\r\n \"191.233.128.0/24\",\r\n \ - \ \"191.235.248.0/23\",\r\n \"191.235.250.0/25\"\r\n ]\r\n\ - \ }\r\n },\r\n {\r\n \"name\": \"Storage.CanadaCentral\",\r\ - \n \"id\": \"Storage.CanadaCentral\",\r\n \"properties\": {\r\n\ - \ \"changeNumber\": \"2\",\r\n \"region\": \"canadacentral\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureStorage\",\r\n \ - \ \"addressPrefixes\": [\r\n \"20.38.114.0/25\",\r\n \ - \ \"20.47.40.0/24\",\r\n \"20.60.42.0/23\",\r\n \"20.150.16.0/24\"\ - ,\r\n \"20.150.31.0/24\",\r\n \"20.150.71.0/24\",\r\n \ - \ \"20.150.100.0/24\",\r\n \"20.157.52.0/24\",\r\n \ - \ \"40.85.232.64/28\",\r\n \"40.85.232.96/28\",\r\n \"\ - 40.85.232.144/28\",\r\n \"40.85.235.32/27\",\r\n \"40.85.235.80/28\"\ - ,\r\n \"40.85.235.96/28\",\r\n \"52.239.148.64/26\",\r\n\ - \ \"52.239.189.0/24\"\r\n ]\r\n }\r\n },\r\n {\r\ - \n \"name\": \"Storage.CanadaEast\",\r\n \"id\": \"Storage.CanadaEast\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \ - \ \"region\": \"canadaeast\",\r\n \"state\": \"GA\",\r\n \"\ - networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n \ - \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\"\ - : \"AzureStorage\",\r\n \"addressPrefixes\": [\r\n \"20.38.121.128/25\"\ - ,\r\n \"20.47.41.0/24\",\r\n \"20.60.142.0/23\",\r\n \ - \ \"20.150.1.0/25\",\r\n \"20.150.40.128/25\",\r\n \ - \ \"20.150.113.0/24\",\r\n \"40.86.232.64/28\",\r\n \"\ - 40.86.232.96/28\",\r\n \"40.86.232.128/28\",\r\n \"40.86.232.176/28\"\ - ,\r\n \"40.86.232.192/28\",\r\n \"52.229.80.64/27\",\r\n\ - \ \"52.239.164.128/26\",\r\n \"52.239.190.0/25\"\r\n \ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"Storage.CentralIndia\"\ - ,\r\n \"id\": \"Storage.CentralIndia\",\r\n \"properties\": {\r\n\ - \ \"changeNumber\": \"1\",\r\n \"region\": \"centralindia\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureStorage\",\r\n \ - \ \"addressPrefixes\": [\r\n \"20.38.126.0/23\",\r\n \ - \ \"20.47.42.0/24\",\r\n \"20.150.114.0/24\",\r\n \"52.239.135.64/26\"\ - ,\r\n \"52.239.202.0/24\",\r\n \"104.211.104.64/28\",\r\n\ - \ \"104.211.104.96/28\",\r\n \"104.211.104.128/28\",\r\n\ - \ \"104.211.109.0/28\",\r\n \"104.211.109.32/27\",\r\n \ - \ \"104.211.109.80/28\",\r\n \"104.211.109.96/28\"\r\n \ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"Storage.CentralUS\"\ - ,\r\n \"id\": \"Storage.CentralUS\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"2\",\r\n \"region\": \"centralus\",\r\n\ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"AzureStorage\",\r\n \ - \ \"addressPrefixes\": [\r\n \"13.67.155.16/28\",\r\n \"\ - 20.38.96.0/23\",\r\n \"20.38.122.0/23\",\r\n \"20.47.58.0/23\"\ - ,\r\n \"20.60.18.0/24\",\r\n \"20.60.30.0/23\",\r\n \ - \ \"20.60.178.0/23\",\r\n \"20.150.43.128/25\",\r\n \ - \ \"20.150.58.0/24\",\r\n \"20.150.63.0/24\",\r\n \"20.150.77.0/24\"\ - ,\r\n \"20.150.89.0/24\",\r\n \"20.150.95.0/24\",\r\n \ - \ \"20.157.34.0/23\",\r\n \"23.99.160.64/26\",\r\n \ - \ \"23.99.160.192/28\",\r\n \"40.69.176.16/28\",\r\n \"\ - 40.83.24.16/28\",\r\n \"40.83.24.80/28\",\r\n \"40.122.96.16/28\"\ - ,\r\n \"40.122.216.16/28\",\r\n \"52.165.104.16/28\",\r\n\ - \ \"52.165.104.32/28\",\r\n \"52.165.104.64/27\",\r\n \ - \ \"52.165.104.112/28\",\r\n \"52.165.136.32/28\",\r\n \ - \ \"52.165.240.64/28\",\r\n \"52.173.152.64/28\",\r\n \ - \ \"52.173.152.96/28\",\r\n \"52.176.224.64/28\",\r\n \ - \ \"52.176.224.96/28\",\r\n \"52.180.184.16/28\",\r\n \ - \ \"52.182.176.16/28\",\r\n \"52.182.176.32/28\",\r\n \"\ - 52.182.176.64/27\",\r\n \"52.185.56.80/28\",\r\n \"52.185.56.96/28\"\ - ,\r\n \"52.185.56.144/28\",\r\n \"52.185.56.160/28\",\r\n\ - \ \"52.185.112.16/28\",\r\n \"52.185.112.48/28\",\r\n \ - \ \"52.185.112.112/28\",\r\n \"52.228.232.0/28\",\r\n \ - \ \"52.230.240.16/28\",\r\n \"52.230.240.32/28\",\r\n \ - \ \"52.230.240.64/27\",\r\n \"52.230.240.112/28\",\r\n \ - \ \"52.230.240.128/28\",\r\n \"52.230.240.160/27\",\r\n \ - \ \"52.238.200.32/27\",\r\n \"52.239.150.0/23\",\r\n \"\ - 52.239.177.32/27\",\r\n \"52.239.177.64/26\",\r\n \"52.239.177.128/25\"\ - ,\r\n \"52.239.195.0/24\",\r\n \"52.239.234.0/23\",\r\n\ - \ \"104.208.0.16/28\",\r\n \"104.208.0.48/28\",\r\n \ - \ \"168.61.128.192/26\",\r\n \"168.61.129.0/25\",\r\n \ - \ \"168.61.130.64/26\",\r\n \"168.61.130.128/25\",\r\n \ - \ \"168.61.131.0/26\",\r\n \"168.61.131.128/25\",\r\n \ - \ \"168.61.132.0/26\"\r\n ]\r\n }\r\n },\r\n {\r\n \ - \ \"name\": \"Storage.CentralUSEUAP\",\r\n \"id\": \"Storage.CentralUSEUAP\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \ - \ \"region\": \"centraluseuap\",\r\n \"state\": \"GA\",\r\n \ - \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n\ - \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\"\ - : \"AzureStorage\",\r\n \"addressPrefixes\": [\r\n \"20.47.5.0/24\"\ - ,\r\n \"20.60.24.0/23\",\r\n \"20.150.23.0/24\",\r\n \ - \ \"20.150.47.0/25\",\r\n \"40.83.24.96/27\",\r\n \ - \ \"52.165.104.144/28\",\r\n \"52.165.104.160/28\",\r\n \ - \ \"52.185.112.80/28\",\r\n \"52.239.177.0/27\",\r\n \"\ - 52.239.238.0/24\"\r\n ]\r\n }\r\n },\r\n {\r\n \"name\"\ - : \"Storage.EastAsia\",\r\n \"id\": \"Storage.EastAsia\",\r\n \"\ - properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\"\ - : \"eastasia\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n\ - \ \"FW\"\r\n ],\r\n \"systemService\": \"AzureStorage\"\ - ,\r\n \"addressPrefixes\": [\r\n \"20.47.43.0/24\",\r\n \ - \ \"20.60.131.0/24\",\r\n \"20.150.1.128/25\",\r\n \ - \ \"20.150.22.0/24\",\r\n \"20.150.96.0/24\",\r\n \"20.157.53.0/24\"\ - ,\r\n \"40.83.104.176/28\",\r\n \"40.83.104.208/28\",\r\n\ - \ \"52.175.40.128/28\",\r\n \"52.175.112.16/28\",\r\n \ - \ \"52.184.40.16/28\",\r\n \"52.184.40.32/28\",\r\n \ - \ \"52.239.128.0/24\",\r\n \"52.239.224.0/24\",\r\n \"\ - 168.63.128.0/26\",\r\n \"168.63.128.128/25\",\r\n \"168.63.129.128/25\"\ - ,\r\n \"168.63.130.0/26\",\r\n \"168.63.130.128/26\",\r\n\ - \ \"168.63.131.0/26\",\r\n \"168.63.156.64/26\",\r\n \ - \ \"168.63.156.192/26\",\r\n \"191.237.238.32/28\"\r\n \ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"Storage.EastUS\"\ - ,\r\n \"id\": \"Storage.EastUS\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"2\",\r\n \"region\": \"eastus\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"API\"\ - ,\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n \ - \ ],\r\n \"systemService\": \"AzureStorage\",\r\n \"addressPrefixes\"\ - : [\r\n \"13.68.163.32/28\",\r\n \"13.68.165.64/28\",\r\n\ - \ \"13.68.167.240/28\",\r\n \"13.82.33.32/28\",\r\n \ - \ \"13.82.152.16/28\",\r\n \"13.82.152.48/28\",\r\n \ - \ \"13.82.152.80/28\",\r\n \"20.38.98.0/24\",\r\n \"20.47.1.0/24\"\ - ,\r\n \"20.47.16.0/23\",\r\n \"20.47.31.0/24\",\r\n \ - \ \"20.60.0.0/24\",\r\n \"20.60.2.0/23\",\r\n \"20.60.6.0/23\"\ - ,\r\n \"20.60.60.0/22\",\r\n \"20.60.128.0/23\",\r\n \ - \ \"20.60.134.0/23\",\r\n \"20.60.146.0/23\",\r\n \ - \ \"20.150.32.0/23\",\r\n \"20.150.90.0/24\",\r\n \"20.157.39.0/24\"\ - ,\r\n \"23.96.64.64/26\",\r\n \"40.71.104.16/28\",\r\n \ - \ \"40.71.104.32/28\",\r\n \"40.71.240.16/28\",\r\n \ - \ \"40.117.48.80/28\",\r\n \"40.117.48.112/28\",\r\n \ - \ \"40.117.104.16/28\",\r\n \"52.179.24.16/28\",\r\n \"\ - 52.186.112.32/27\",\r\n \"52.226.8.32/27\",\r\n \"52.226.8.80/28\"\ - ,\r\n \"52.226.8.96/28\",\r\n \"52.226.8.128/27\",\r\n \ - \ \"52.234.176.48/28\",\r\n \"52.234.176.64/28\",\r\n \ - \ \"52.234.176.96/27\",\r\n \"52.239.152.0/22\",\r\n \ - \ \"52.239.168.0/22\",\r\n \"52.239.207.192/26\",\r\n \ - \ \"52.239.214.0/23\",\r\n \"52.239.220.0/23\",\r\n \"\ - 52.239.246.0/23\",\r\n \"52.239.252.0/24\",\r\n \"52.240.48.16/28\"\ - ,\r\n \"52.240.48.32/28\",\r\n \"52.240.60.16/28\",\r\n\ - \ \"52.240.60.32/28\",\r\n \"52.240.60.64/27\",\r\n \ - \ \"138.91.96.64/26\",\r\n \"138.91.96.128/26\",\r\n \ - \ \"168.62.32.0/26\",\r\n \"168.62.32.192/26\",\r\n \"\ - 168.62.33.128/26\",\r\n \"191.237.32.128/28\",\r\n \"191.237.32.208/28\"\ - ,\r\n \"191.237.32.240/28\",\r\n \"191.238.0.0/26\",\r\n\ - \ \"191.238.0.224/28\"\r\n ]\r\n }\r\n },\r\n {\r\ - \n \"name\": \"Storage.EastUS2\",\r\n \"id\": \"Storage.EastUS2\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n \ - \ \"region\": \"eastus2\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n\ - \ \"FW\"\r\n ],\r\n \"systemService\": \"AzureStorage\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.68.120.64/28\",\r\n\ - \ \"13.77.112.16/28\",\r\n \"13.77.112.32/28\",\r\n \ - \ \"13.77.112.112/28\",\r\n \"13.77.112.128/28\",\r\n \ - \ \"13.77.115.16/28\",\r\n \"13.77.115.32/28\",\r\n \"\ - 20.38.100.0/23\",\r\n \"20.47.60.0/23\",\r\n \"20.60.56.0/22\"\ - ,\r\n \"20.60.132.0/23\",\r\n \"20.60.180.0/23\",\r\n \ - \ \"20.150.29.0/24\",\r\n \"20.150.36.0/24\",\r\n \ - \ \"20.150.50.0/23\",\r\n \"20.150.72.0/24\",\r\n \"20.150.82.0/24\"\ - ,\r\n \"20.150.88.0/24\",\r\n \"20.157.36.0/23\",\r\n \ - \ \"20.157.48.0/23\",\r\n \"23.102.206.0/28\",\r\n \ - \ \"23.102.206.128/28\",\r\n \"23.102.206.192/28\",\r\n \ - \ \"40.79.8.16/28\",\r\n \"40.79.48.16/28\",\r\n \"40.84.8.32/28\"\ - ,\r\n \"40.84.11.80/28\",\r\n \"40.123.16.16/28\",\r\n \ - \ \"52.167.88.80/28\",\r\n \"52.167.88.112/28\",\r\n \ - \ \"52.167.240.16/28\",\r\n \"52.177.208.80/28\",\r\n \ - \ \"52.179.144.32/28\",\r\n \"52.179.144.64/28\",\r\n \ - \ \"52.179.240.16/28\",\r\n \"52.179.240.48/28\",\r\n \"\ - 52.179.240.64/28\",\r\n \"52.179.240.96/27\",\r\n \"52.179.240.144/28\"\ - ,\r\n \"52.179.240.160/28\",\r\n \"52.179.240.192/27\",\r\ - \n \"52.179.240.240/28\",\r\n \"52.179.241.0/28\",\r\n \ - \ \"52.179.241.32/27\",\r\n \"52.184.168.96/27\",\r\n \ - \ \"52.225.136.16/28\",\r\n \"52.225.136.32/28\",\r\n \ - \ \"52.225.240.0/28\",\r\n \"52.232.232.16/28\",\r\n \ - \ \"52.232.232.32/28\",\r\n \"52.232.232.80/28\",\r\n \"\ - 52.232.232.96/28\",\r\n \"52.232.232.128/27\",\r\n \"52.232.232.176/28\"\ - ,\r\n \"52.232.232.192/28\",\r\n \"52.239.156.0/24\",\r\n\ - \ \"52.239.157.0/25\",\r\n \"52.239.157.128/26\",\r\n \ - \ \"52.239.157.192/27\",\r\n \"52.239.172.0/22\",\r\n \ - \ \"52.239.184.0/25\",\r\n \"52.239.184.160/28\",\r\n \ - \ \"52.239.184.192/27\",\r\n \"52.239.185.32/27\",\r\n \ - \ \"52.239.192.0/26\",\r\n \"52.239.192.64/28\",\r\n \"\ - 52.239.192.96/27\",\r\n \"52.239.192.160/27\",\r\n \"52.239.192.192/26\"\ - ,\r\n \"52.239.198.0/25\",\r\n \"52.239.198.192/26\",\r\n\ - \ \"52.239.206.0/24\",\r\n \"52.239.207.32/28\",\r\n \ - \ \"52.239.207.64/26\",\r\n \"52.239.207.128/27\",\r\n \ - \ \"52.239.222.0/23\",\r\n \"104.208.128.16/28\",\r\n \ - \ \"104.208.248.16/28\",\r\n \"137.116.1.0/25\",\r\n \ - \ \"137.116.2.0/26\",\r\n \"137.116.2.96/29\",\r\n \"137.116.2.104/30\"\ - ,\r\n \"137.116.2.108/32\",\r\n \"137.116.2.110/31\",\r\n\ - \ \"137.116.2.112/32\",\r\n \"137.116.2.114/32\",\r\n \ - \ \"137.116.2.116/30\",\r\n \"137.116.2.120/29\",\r\n \ - \ \"137.116.3.0/25\",\r\n \"137.116.3.128/26\",\r\n \ - \ \"137.116.96.0/25\",\r\n \"137.116.96.128/26\",\r\n \"\ - 191.237.160.64/26\",\r\n \"191.237.160.224/28\",\r\n \"\ - 191.239.224.0/26\"\r\n ]\r\n }\r\n },\r\n {\r\n \"\ - name\": \"Storage.EastUS2EUAP\",\r\n \"id\": \"Storage.EastUS2EUAP\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n \ - \ \"region\": \"eastus2euap\",\r\n \"state\": \"GA\",\r\n \ - \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n \ - \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\"\ - : \"AzureStorage\",\r\n \"addressPrefixes\": [\r\n \"20.47.6.0/24\"\ - ,\r\n \"20.60.154.0/23\",\r\n \"20.60.184.0/23\",\r\n \ - \ \"20.150.108.0/24\",\r\n \"40.70.88.0/30\",\r\n \ - \ \"40.70.88.4/31\",\r\n \"40.70.88.6/32\",\r\n \"40.70.88.8/31\"\ - ,\r\n \"40.70.88.10/32\",\r\n \"40.70.88.12/32\",\r\n \ - \ \"40.70.88.14/31\",\r\n \"40.79.88.16/30\",\r\n \ - \ \"40.79.88.20/31\",\r\n \"40.79.88.22/32\",\r\n \"40.79.88.24/31\"\ - ,\r\n \"40.79.88.26/32\",\r\n \"40.79.88.28/32\",\r\n \ - \ \"40.79.88.30/31\",\r\n \"52.184.168.32/30\",\r\n \ - \ \"52.184.168.36/31\",\r\n \"52.184.168.38/32\",\r\n \ - \ \"52.184.168.40/31\",\r\n \"52.184.168.42/32\",\r\n \"\ - 52.184.168.44/32\",\r\n \"52.184.168.46/31\",\r\n \"52.239.157.224/27\"\ - ,\r\n \"52.239.165.192/26\",\r\n \"52.239.184.176/28\",\r\ - \n \"52.239.184.224/27\",\r\n \"52.239.185.0/28\",\r\n \ - \ \"52.239.192.128/27\",\r\n \"52.239.198.128/27\",\r\n \ - \ \"52.239.230.0/24\",\r\n \"52.239.239.0/24\"\r\n \ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"Storage.EastUS2Stage\"\ - ,\r\n \"id\": \"Storage.EastUS2Stage\",\r\n \"properties\": {\r\n\ - \ \"changeNumber\": \"1\",\r\n \"region\": \"eastus2\",\r\n\ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"AzureStorage\",\r\n \ - \ \"addressPrefixes\": [\r\n \"137.116.2.64/27\"\r\n ]\r\n\ - \ }\r\n },\r\n {\r\n \"name\": \"Storage.FranceCentral\",\r\ - \n \"id\": \"Storage.FranceCentral\",\r\n \"properties\": {\r\n\ - \ \"changeNumber\": \"2\",\r\n \"region\": \"centralfrance\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureStorage\",\r\n \ - \ \"addressPrefixes\": [\r\n \"20.47.44.0/24\",\r\n \ - \ \"20.60.13.0/24\",\r\n \"20.60.156.0/23\",\r\n \"20.150.61.0/24\"\ - ,\r\n \"52.239.134.0/24\",\r\n \"52.239.194.0/24\",\r\n\ - \ \"52.239.241.0/24\"\r\n ]\r\n }\r\n },\r\n {\r\ - \n \"name\": \"Storage.FranceSouth\",\r\n \"id\": \"Storage.FranceSouth\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \ - \ \"region\": \"southfrance\",\r\n \"state\": \"GA\",\r\n \ - \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n \ - \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\"\ - : \"AzureStorage\",\r\n \"addressPrefixes\": [\r\n \"20.47.28.0/24\"\ - ,\r\n \"20.60.11.0/24\",\r\n \"20.60.188.0/23\",\r\n \ - \ \"20.150.19.0/24\",\r\n \"52.239.135.0/26\",\r\n \ - \ \"52.239.196.0/24\"\r\n ]\r\n }\r\n },\r\n {\r\n \ - \ \"name\": \"Storage.GermanyNorth\",\r\n \"id\": \"Storage.GermanyNorth\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n \ - \ \"region\": \"germanyn\",\r\n \"state\": \"GA\",\r\n \"\ - networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n \ - \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\"\ - : \"AzureStorage\",\r\n \"addressPrefixes\": [\r\n \"20.38.115.0/24\"\ - ,\r\n \"20.47.45.0/24\",\r\n \"20.150.60.0/24\",\r\n \ - \ \"20.150.112.0/24\"\r\n ]\r\n }\r\n },\r\n {\r\n\ - \ \"name\": \"Storage.GermanyWestCentral\",\r\n \"id\": \"Storage.GermanyWestCentral\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \ - \ \"region\": \"germanywc\",\r\n \"state\": \"GA\",\r\n \"\ - networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n \ - \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\"\ - : \"AzureStorage\",\r\n \"addressPrefixes\": [\r\n \"20.38.118.0/24\"\ - ,\r\n \"20.47.27.0/24\",\r\n \"20.60.22.0/23\",\r\n \ - \ \"20.150.54.0/24\",\r\n \"20.150.125.0/24\"\r\n ]\r\ - \n }\r\n },\r\n {\r\n \"name\": \"Storage.JapanEast\",\r\n\ - \ \"id\": \"Storage.JapanEast\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"2\",\r\n \"region\": \"japaneast\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"\ - API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n\ - \ ],\r\n \"systemService\": \"AzureStorage\",\r\n \"\ - addressPrefixes\": [\r\n \"13.73.8.16/28\",\r\n \"13.73.8.32/28\"\ - ,\r\n \"20.38.116.0/23\",\r\n \"20.47.12.0/24\",\r\n \ - \ \"20.60.172.0/23\",\r\n \"20.150.85.0/24\",\r\n \ - \ \"20.150.105.0/24\",\r\n \"20.157.38.0/24\",\r\n \"23.98.57.64/26\"\ - ,\r\n \"40.115.169.32/28\",\r\n \"40.115.175.16/28\",\r\n\ - \ \"40.115.175.32/28\",\r\n \"40.115.227.80/28\",\r\n \ - \ \"40.115.229.16/28\",\r\n \"40.115.229.32/28\",\r\n \ - \ \"40.115.231.64/27\",\r\n \"40.115.231.112/28\",\r\n \ - \ \"40.115.231.128/28\",\r\n \"52.239.144.0/23\"\r\n ]\r\ - \n }\r\n },\r\n {\r\n \"name\": \"Storage.JapanWest\",\r\n\ - \ \"id\": \"Storage.JapanWest\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"3\",\r\n \"region\": \"japanwest\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"\ - API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n\ - \ ],\r\n \"systemService\": \"AzureStorage\",\r\n \"\ - addressPrefixes\": [\r\n \"20.47.10.0/24\",\r\n \"20.60.12.0/24\"\ - ,\r\n \"20.60.186.0/23\",\r\n \"20.150.10.0/23\",\r\n \ - \ \"20.157.56.0/24\",\r\n \"23.98.56.0/26\",\r\n \ - \ \"52.239.146.0/23\",\r\n \"104.214.152.16/28\",\r\n \"\ - 104.214.152.176/28\",\r\n \"104.215.32.16/28\",\r\n \"104.215.32.32/28\"\ - ,\r\n \"104.215.32.64/27\",\r\n \"104.215.35.32/27\"\r\n\ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"Storage.KoreaCentral\"\ - ,\r\n \"id\": \"Storage.KoreaCentral\",\r\n \"properties\": {\r\n\ - \ \"changeNumber\": \"1\",\r\n \"region\": \"koreacentral\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureStorage\",\r\n \ - \ \"addressPrefixes\": [\r\n \"20.47.46.0/24\",\r\n \ - \ \"20.60.16.0/24\",\r\n \"20.150.4.0/23\",\r\n \"52.231.80.64/27\"\ - ,\r\n \"52.231.80.112/28\",\r\n \"52.231.80.128/28\",\r\n\ - \ \"52.231.80.160/27\",\r\n \"52.239.148.0/27\",\r\n \ - \ \"52.239.164.192/26\",\r\n \"52.239.190.128/26\"\r\n \ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"Storage.KoreaSouth\"\ - ,\r\n \"id\": \"Storage.KoreaSouth\",\r\n \"properties\": {\r\n\ - \ \"changeNumber\": \"1\",\r\n \"region\": \"koreasouth\",\r\ - \n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"AzureStorage\",\r\n \ - \ \"addressPrefixes\": [\r\n \"20.47.47.0/24\",\r\n \"20.150.14.0/23\"\ - ,\r\n \"52.231.168.64/27\",\r\n \"52.231.168.112/28\",\r\ - \n \"52.231.168.128/28\",\r\n \"52.231.208.16/28\",\r\n\ - \ \"52.231.208.32/28\",\r\n \"52.239.165.0/26\",\r\n \ - \ \"52.239.165.160/27\",\r\n \"52.239.190.192/26\"\r\n \ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"Storage.NorthCentralUS\"\ - ,\r\n \"id\": \"Storage.NorthCentralUS\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"3\",\r\n \"region\": \"northcentralus\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureStorage\",\r\n \ - \ \"addressPrefixes\": [\r\n \"20.47.3.0/24\",\r\n \"\ - 20.47.15.0/24\",\r\n \"20.60.28.0/23\",\r\n \"20.60.82.0/23\"\ - ,\r\n \"20.150.17.0/25\",\r\n \"20.150.25.0/24\",\r\n \ - \ \"20.150.49.0/24\",\r\n \"20.150.67.0/24\",\r\n \ - \ \"20.150.126.0/24\",\r\n \"20.157.47.0/24\",\r\n \"23.98.49.0/26\"\ - ,\r\n \"23.98.49.192/26\",\r\n \"23.98.55.0/26\",\r\n \ - \ \"23.98.55.112/28\",\r\n \"23.98.55.144/28\",\r\n \ - \ \"40.116.120.16/28\",\r\n \"40.116.232.16/28\",\r\n \ - \ \"40.116.232.48/28\",\r\n \"40.116.232.96/28\",\r\n \"\ - 52.162.56.16/28\",\r\n \"52.162.56.32/28\",\r\n \"52.162.56.64/27\"\ - ,\r\n \"52.162.56.112/28\",\r\n \"52.162.56.128/28\",\r\n\ - \ \"52.239.149.0/24\",\r\n \"52.239.186.0/24\",\r\n \ - \ \"52.239.253.0/24\",\r\n \"157.56.216.0/26\",\r\n \ - \ \"168.62.96.128/26\",\r\n \"168.62.96.210/32\",\r\n \"\ - 168.62.96.224/27\"\r\n ]\r\n }\r\n },\r\n {\r\n \"\ - name\": \"Storage.NorthCentralUSStage\",\r\n \"id\": \"Storage.NorthCentralUSStage\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n \ - \ \"region\": \"northcentralus\",\r\n \"state\": \"GA\",\r\n \ - \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n\ - \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\"\ - : \"AzureStorage\",\r\n \"addressPrefixes\": [\r\n \"168.62.96.192/29\"\ - ,\r\n \"168.62.96.200/30\",\r\n \"168.62.96.204/32\",\r\n\ - \ \"168.62.96.206/31\",\r\n \"168.62.96.208/32\",\r\n \ - \ \"168.62.96.212/30\",\r\n \"168.62.96.216/29\"\r\n \ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"Storage.NorthEurope\"\ - ,\r\n \"id\": \"Storage.NorthEurope\",\r\n \"properties\": {\r\n\ - \ \"changeNumber\": \"2\",\r\n \"region\": \"northeurope\",\r\ - \n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"AzureStorage\",\r\n \ - \ \"addressPrefixes\": [\r\n \"13.70.208.16/28\",\r\n \"\ - 13.74.208.64/28\",\r\n \"13.74.208.112/28\",\r\n \"13.74.208.144/28\"\ - ,\r\n \"13.79.176.16/28\",\r\n \"13.79.176.48/28\",\r\n\ - \ \"13.79.176.80/28\",\r\n \"20.38.102.0/23\",\r\n \ - \ \"20.47.8.0/24\",\r\n \"20.47.20.0/23\",\r\n \"20.47.32.0/24\"\ - ,\r\n \"20.60.19.0/24\",\r\n \"20.60.40.0/23\",\r\n \ - \ \"20.60.144.0/23\",\r\n \"20.150.26.0/24\",\r\n \"\ - 20.150.47.128/25\",\r\n \"20.150.48.0/24\",\r\n \"20.150.75.0/24\"\ - ,\r\n \"20.150.84.0/24\",\r\n \"20.150.104.0/24\",\r\n \ - \ \"40.85.105.32/28\",\r\n \"40.113.27.176/28\",\r\n \ - \ \"52.164.112.16/28\",\r\n \"52.164.232.16/28\",\r\n \ - \ \"52.164.232.32/28\",\r\n \"52.164.232.64/28\",\r\n \ - \ \"52.169.168.32/27\",\r\n \"52.169.240.16/28\",\r\n \"\ - 52.169.240.32/28\",\r\n \"52.169.240.64/28\",\r\n \"52.178.168.32/27\"\ - ,\r\n \"52.178.168.80/28\",\r\n \"52.178.168.96/28\",\r\n\ - \ \"52.178.168.128/27\",\r\n \"52.236.40.16/28\",\r\n \ - \ \"52.236.40.32/28\",\r\n \"52.239.136.0/22\",\r\n \ - \ \"52.239.205.0/24\",\r\n \"52.239.248.0/24\",\r\n \"\ - 52.245.40.0/24\",\r\n \"104.41.232.16/28\",\r\n \"137.135.192.64/26\"\ - ,\r\n \"137.135.192.192/26\",\r\n \"137.135.193.192/26\"\ - ,\r\n \"137.135.194.0/25\",\r\n \"137.135.194.192/26\",\r\ - \n \"168.61.120.32/27\",\r\n \"168.61.120.64/27\",\r\n \ - \ \"168.61.121.0/26\",\r\n \"168.63.32.0/26\",\r\n \ - \ \"168.63.33.192/26\",\r\n \"191.235.192.192/26\",\r\n \ - \ \"191.235.193.32/28\",\r\n \"191.235.255.192/26\"\r\n \ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"Storage.NorwayEast\"\ - ,\r\n \"id\": \"Storage.NorwayEast\",\r\n \"properties\": {\r\n\ - \ \"changeNumber\": \"1\",\r\n \"region\": \"norwaye\",\r\n\ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"AzureStorage\",\r\n \ - \ \"addressPrefixes\": [\r\n \"20.38.120.0/24\",\r\n \"\ - 20.47.48.0/24\",\r\n \"20.150.53.0/24\",\r\n \"20.150.121.0/24\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"Storage.NorwayWest\"\ - ,\r\n \"id\": \"Storage.NorwayWest\",\r\n \"properties\": {\r\n\ - \ \"changeNumber\": \"1\",\r\n \"region\": \"norwayw\",\r\n\ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"AzureStorage\",\r\n \ - \ \"addressPrefixes\": [\r\n \"20.47.49.0/24\",\r\n \"20.60.15.0/24\"\ - ,\r\n \"20.150.0.0/24\",\r\n \"20.150.56.0/24\"\r\n \ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"Storage.SouthAfricaNorth\"\ - ,\r\n \"id\": \"Storage.SouthAfricaNorth\",\r\n \"properties\":\ - \ {\r\n \"changeNumber\": \"1\",\r\n \"region\": \"southafricanorth\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureStorage\",\r\n \ - \ \"addressPrefixes\": [\r\n \"20.38.114.128/25\",\r\n \ - \ \"20.47.50.0/24\",\r\n \"20.150.21.0/24\",\r\n \"20.150.62.0/24\"\ - ,\r\n \"20.150.101.0/24\",\r\n \"52.239.232.0/25\"\r\n \ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"Storage.SouthAfricaWest\"\ - ,\r\n \"id\": \"Storage.SouthAfricaWest\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"1\",\r\n \"region\": \"southafricawest\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureStorage\",\r\n \ - \ \"addressPrefixes\": [\r\n \"20.38.121.0/25\",\r\n \ - \ \"20.47.51.0/24\",\r\n \"20.60.8.0/24\",\r\n \"20.150.20.0/25\"\ - ,\r\n \"52.239.232.128/25\"\r\n ]\r\n }\r\n },\r\n\ - \ {\r\n \"name\": \"Storage.SouthCentralUS\",\r\n \"id\": \"\ - Storage.SouthCentralUS\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"2\",\r\n \"region\": \"southcentralus\",\r\n \"state\":\ - \ \"GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\n \ - \ \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n ],\r\n\ - \ \"systemService\": \"AzureStorage\",\r\n \"addressPrefixes\"\ - : [\r\n \"13.65.107.32/28\",\r\n \"13.65.160.16/28\",\r\n\ - \ \"13.65.160.48/28\",\r\n \"13.65.160.64/28\",\r\n \ - \ \"13.84.56.16/28\",\r\n \"13.85.88.16/28\",\r\n \"\ - 13.85.200.128/28\",\r\n \"20.38.104.0/23\",\r\n \"20.47.0.0/27\"\ - ,\r\n \"20.47.24.0/23\",\r\n \"20.47.29.0/24\",\r\n \ - \ \"20.60.48.0/22\",\r\n \"20.60.64.0/22\",\r\n \"\ - 20.60.140.0/23\",\r\n \"20.60.148.0/23\",\r\n \"20.60.160.0/23\"\ - ,\r\n \"20.150.20.128/25\",\r\n \"20.150.38.0/23\",\r\n\ - \ \"20.150.70.0/24\",\r\n \"20.150.79.0/24\",\r\n \ - \ \"20.150.93.0/24\",\r\n \"20.150.94.0/24\",\r\n \"\ - 20.157.43.0/24\",\r\n \"20.157.54.0/24\",\r\n \"23.98.160.64/26\"\ - ,\r\n \"23.98.162.192/26\",\r\n \"23.98.168.0/24\",\r\n\ - \ \"23.98.192.64/26\",\r\n \"23.98.255.64/26\",\r\n \ - \ \"52.171.144.32/27\",\r\n \"52.171.144.80/28\",\r\n \ - \ \"52.171.144.96/28\",\r\n \"52.171.144.128/28\",\r\n \ - \ \"52.185.233.0/24\",\r\n \"52.189.177.0/24\",\r\n \"\ - 52.239.158.0/23\",\r\n \"52.239.178.0/23\",\r\n \"52.239.180.0/22\"\ - ,\r\n \"52.239.199.0/24\",\r\n \"52.239.200.0/23\",\r\n\ - \ \"52.239.203.0/24\",\r\n \"52.239.208.0/23\",\r\n \ - \ \"104.214.40.16/28\",\r\n \"104.214.80.16/28\",\r\n \ - \ \"104.214.80.48/28\",\r\n \"104.215.104.64/28\",\r\n \ - \ \"168.62.128.128/26\"\r\n ]\r\n }\r\n },\r\n {\r\n \ - \ \"name\": \"Storage.SoutheastAsia\",\r\n \"id\": \"Storage.SoutheastAsia\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \ - \ \"region\": \"southeastasia\",\r\n \"state\": \"GA\",\r\n \ - \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n\ - \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\"\ - : \"AzureStorage\",\r\n \"addressPrefixes\": [\r\n \"13.76.104.16/28\"\ - ,\r\n \"20.47.9.0/24\",\r\n \"20.47.33.0/24\",\r\n \ - \ \"20.60.136.0/24\",\r\n \"20.60.138.0/23\",\r\n \"\ - 20.150.17.128/25\",\r\n \"20.150.28.0/24\",\r\n \"20.150.86.0/24\"\ - ,\r\n \"20.150.127.0/24\",\r\n \"52.163.176.16/28\",\r\n\ - \ \"52.163.232.16/28\",\r\n \"52.187.141.32/27\",\r\n \ - \ \"52.237.104.16/28\",\r\n \"52.237.104.32/28\",\r\n \ - \ \"52.239.129.0/24\",\r\n \"52.239.197.0/24\",\r\n \ - \ \"52.239.227.0/24\",\r\n \"52.239.249.0/24\",\r\n \"\ - 104.43.80.16/28\",\r\n \"104.215.240.64/28\",\r\n \"104.215.240.96/28\"\ - ,\r\n \"168.63.160.0/26\",\r\n \"168.63.160.192/26\",\r\n\ - \ \"168.63.161.64/26\",\r\n \"168.63.161.160/27\",\r\n \ - \ \"168.63.161.192/26\",\r\n \"168.63.162.32/27\",\r\n \ - \ \"168.63.162.64/26\",\r\n \"168.63.162.144/28\",\r\n \ - \ \"168.63.162.192/26\",\r\n \"168.63.163.128/26\",\r\n \ - \ \"168.63.180.64/26\",\r\n \"191.238.64.64/26\",\r\n \ - \ \"191.238.64.192/28\"\r\n ]\r\n }\r\n },\r\n {\r\n\ - \ \"name\": \"Storage.SouthIndia\",\r\n \"id\": \"Storage.SouthIndia\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n \ - \ \"region\": \"southindia\",\r\n \"state\": \"GA\",\r\n \"\ - networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n \ - \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\"\ - : \"AzureStorage\",\r\n \"addressPrefixes\": [\r\n \"20.47.52.0/24\"\ - ,\r\n \"20.60.10.0/24\",\r\n \"20.150.24.0/24\",\r\n \ - \ \"52.172.16.16/28\",\r\n \"52.172.16.80/28\",\r\n \ - \ \"52.172.16.96/28\",\r\n \"52.172.16.128/27\",\r\n \"\ - 52.239.135.128/26\",\r\n \"52.239.188.0/24\",\r\n \"104.211.232.16/28\"\ - ,\r\n \"104.211.232.48/28\",\r\n \"104.211.232.80/28\",\r\ - \n \"104.211.232.176/28\"\r\n ]\r\n }\r\n },\r\n \ - \ {\r\n \"name\": \"Storage.SwitzerlandNorth\",\r\n \"id\": \"\ - Storage.SwitzerlandNorth\",\r\n \"properties\": {\r\n \"changeNumber\"\ - : \"2\",\r\n \"region\": \"switzerlandn\",\r\n \"state\": \"\ - GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\n \ - \ \"NSG\"\r\n ],\r\n \"systemService\": \"AzureStorage\",\r\ - \n \"addressPrefixes\": [\r\n \"20.47.53.0/24\",\r\n \ - \ \"20.60.174.0/23\",\r\n \"20.150.59.0/24\",\r\n \"\ - 20.150.118.0/24\",\r\n \"52.239.251.0/24\"\r\n ]\r\n \ - \ }\r\n },\r\n {\r\n \"name\": \"Storage.SwitzerlandWest\",\r\n\ - \ \"id\": \"Storage.SwitzerlandWest\",\r\n \"properties\": {\r\n\ - \ \"changeNumber\": \"2\",\r\n \"region\": \"switzerlandw\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureStorage\",\r\n \ - \ \"addressPrefixes\": [\r\n \"20.47.26.0/24\",\r\n \ - \ \"20.60.176.0/23\",\r\n \"20.150.55.0/24\",\r\n \"20.150.116.0/24\"\ - ,\r\n \"52.239.250.0/24\"\r\n ]\r\n }\r\n },\r\n \ - \ {\r\n \"name\": \"Storage.UAECentral\",\r\n \"id\": \"Storage.UAECentral\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n \ - \ \"region\": \"uaecentral\",\r\n \"state\": \"GA\",\r\n \"\ - networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n \ - \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\"\ - : \"AzureStorage\",\r\n \"addressPrefixes\": [\r\n \"20.47.54.0/24\"\ - ,\r\n \"20.150.6.0/23\",\r\n \"20.150.115.0/24\",\r\n \ - \ \"52.239.233.0/25\"\r\n ]\r\n }\r\n },\r\n {\r\n\ - \ \"name\": \"Storage.UAENorth\",\r\n \"id\": \"Storage.UAENorth\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \ - \ \"region\": \"uaenorth\",\r\n \"state\": \"GA\",\r\n \"\ - networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n \ - \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\"\ - : \"AzureStorage\",\r\n \"addressPrefixes\": [\r\n \"20.38.124.0/23\"\ - ,\r\n \"20.47.55.0/24\",\r\n \"20.60.21.0/24\",\r\n \ - \ \"52.239.233.128/25\"\r\n ]\r\n }\r\n },\r\n {\r\n\ - \ \"name\": \"Storage.UKSouth\",\r\n \"id\": \"Storage.UKSouth\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \ - \ \"region\": \"uksouth\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n\ - \ \"FW\"\r\n ],\r\n \"systemService\": \"AzureStorage\"\ - ,\r\n \"addressPrefixes\": [\r\n \"20.38.106.0/23\",\r\n \ - \ \"20.47.11.0/24\",\r\n \"20.47.34.0/24\",\r\n \ - \ \"20.60.17.0/24\",\r\n \"20.60.166.0/23\",\r\n \"20.150.18.0/25\"\ - ,\r\n \"20.150.40.0/25\",\r\n \"20.150.41.0/24\",\r\n \ - \ \"20.150.69.0/24\",\r\n \"51.140.16.16/28\",\r\n \ - \ \"51.140.16.32/28\",\r\n \"51.140.168.64/27\",\r\n \"\ - 51.140.168.112/28\",\r\n \"51.140.168.128/28\",\r\n \"51.141.128.32/27\"\ - ,\r\n \"51.141.129.64/26\",\r\n \"51.141.130.0/25\",\r\n\ - \ \"52.239.187.0/25\",\r\n \"52.239.231.0/24\"\r\n \ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"Storage.UKWest\"\ - ,\r\n \"id\": \"Storage.UKWest\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"2\",\r\n \"region\": \"ukwest\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"API\"\ - ,\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n \ - \ ],\r\n \"systemService\": \"AzureStorage\",\r\n \"addressPrefixes\"\ - : [\r\n \"20.47.56.0/24\",\r\n \"20.60.164.0/23\",\r\n \ - \ \"20.150.2.0/23\",\r\n \"20.150.52.0/24\",\r\n \ - \ \"20.150.110.0/24\",\r\n \"20.157.46.0/24\",\r\n \"51.140.232.64/27\"\ - ,\r\n \"51.140.232.112/28\",\r\n \"51.140.232.128/28\",\r\ - \n \"51.140.232.160/27\",\r\n \"51.141.128.0/27\",\r\n \ - \ \"51.141.128.64/26\",\r\n \"51.141.128.128/25\",\r\n \ - \ \"51.141.129.128/26\",\r\n \"52.239.240.0/24\"\r\n \ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"Storage.WestCentralUS\"\ - ,\r\n \"id\": \"Storage.WestCentralUS\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"2\",\r\n \"region\": \"westcentralus\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"\ - FW\"\r\n ],\r\n \"systemService\": \"AzureStorage\",\r\n \ - \ \"addressPrefixes\": [\r\n \"13.71.200.64/28\",\r\n \ - \ \"13.71.200.96/28\",\r\n \"13.71.200.240/28\",\r\n \"\ - 13.71.202.16/28\",\r\n \"13.71.202.32/28\",\r\n \"13.71.202.64/27\"\ - ,\r\n \"13.78.152.64/28\",\r\n \"13.78.240.16/28\",\r\n\ - \ \"20.47.4.0/24\",\r\n \"20.60.4.0/24\",\r\n \"\ - 20.150.81.0/24\",\r\n \"20.150.98.0/24\",\r\n \"20.157.41.0/24\"\ - ,\r\n \"52.161.112.16/28\",\r\n \"52.161.112.32/28\",\r\n\ - \ \"52.161.168.16/28\",\r\n \"52.161.168.32/28\",\r\n \ - \ \"52.239.164.0/25\",\r\n \"52.239.167.0/24\",\r\n \ - \ \"52.239.244.0/23\"\r\n ]\r\n }\r\n },\r\n {\r\n \ - \ \"name\": \"Storage.WestEurope\",\r\n \"id\": \"Storage.WestEurope\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \ - \ \"region\": \"westeurope\",\r\n \"state\": \"GA\",\r\n \"\ - networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n \ - \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\"\ - : \"AzureStorage\",\r\n \"addressPrefixes\": [\r\n \"13.69.40.16/28\"\ - ,\r\n \"13.95.96.176/28\",\r\n \"13.95.240.16/28\",\r\n\ - \ \"13.95.240.32/28\",\r\n \"13.95.240.64/27\",\r\n \ - \ \"20.38.108.0/23\",\r\n \"20.47.7.0/24\",\r\n \"\ - 20.47.18.0/23\",\r\n \"20.47.30.0/24\",\r\n \"20.60.26.0/23\"\ - ,\r\n \"20.60.130.0/24\",\r\n \"20.60.150.0/23\",\r\n \ - \ \"20.150.8.0/23\",\r\n \"20.150.37.0/24\",\r\n \ - \ \"20.150.42.0/24\",\r\n \"20.150.74.0/24\",\r\n \"20.150.76.0/24\"\ - ,\r\n \"20.150.83.0/24\",\r\n \"20.150.122.0/24\",\r\n \ - \ \"20.157.33.0/24\",\r\n \"40.68.176.16/28\",\r\n \ - \ \"40.68.176.48/28\",\r\n \"40.68.232.16/28\",\r\n \"\ - 40.68.232.48/28\",\r\n \"40.114.152.16/28\",\r\n \"40.114.152.48/28\"\ - ,\r\n \"40.118.72.176/28\",\r\n \"40.118.73.48/28\",\r\n\ - \ \"40.118.73.176/28\",\r\n \"40.118.73.208/28\",\r\n \ - \ \"52.166.80.32/27\",\r\n \"52.166.80.80/28\",\r\n \ - \ \"52.166.80.96/28\",\r\n \"52.174.8.32/28\",\r\n \"\ - 52.174.224.16/28\",\r\n \"52.174.224.32/28\",\r\n \"52.174.224.64/27\"\ - ,\r\n \"52.174.224.112/28\",\r\n \"52.174.224.128/28\",\r\ - \n \"52.236.240.48/28\",\r\n \"52.236.240.64/28\",\r\n \ - \ \"52.239.140.0/22\",\r\n \"52.239.212.0/23\",\r\n \ - \ \"52.239.242.0/23\",\r\n \"104.214.243.32/28\",\r\n \ - \ \"168.61.57.64/26\",\r\n \"168.61.57.128/25\",\r\n \"\ - 168.61.58.0/26\",\r\n \"168.61.58.128/26\",\r\n \"168.61.59.64/26\"\ - ,\r\n \"168.61.61.0/26\",\r\n \"168.61.61.192/26\",\r\n\ - \ \"168.63.0.0/26\",\r\n \"168.63.2.64/26\",\r\n \ - \ \"168.63.3.32/27\",\r\n \"168.63.3.64/27\",\r\n \"168.63.113.32/27\"\ - ,\r\n \"168.63.113.64/27\",\r\n \"191.237.232.32/28\",\r\ - \n \"191.237.232.128/28\",\r\n \"191.239.203.0/28\"\r\n\ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"Storage.WestIndia\"\ - ,\r\n \"id\": \"Storage.WestIndia\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"1\",\r\n \"region\": \"westindia\",\r\n\ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\ - \r\n ],\r\n \"systemService\": \"AzureStorage\",\r\n \ - \ \"addressPrefixes\": [\r\n \"20.47.57.0/24\",\r\n \"20.150.18.128/25\"\ - ,\r\n \"20.150.43.0/25\",\r\n \"20.150.106.0/24\",\r\n \ - \ \"52.239.135.192/26\",\r\n \"52.239.187.128/25\",\r\n \ - \ \"104.211.168.16/28\"\r\n ]\r\n }\r\n },\r\n {\r\ - \n \"name\": \"Storage.WestUS\",\r\n \"id\": \"Storage.WestUS\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n \ - \ \"region\": \"westus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n\ - \ \"FW\"\r\n ],\r\n \"systemService\": \"AzureStorage\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.83.72.16/28\",\r\n \ - \ \"13.88.144.112/28\",\r\n \"13.88.144.240/28\",\r\n \ - \ \"13.88.145.64/28\",\r\n \"13.88.145.96/28\",\r\n \ - \ \"13.88.145.128/28\",\r\n \"13.93.168.80/28\",\r\n \"\ - 13.93.168.112/28\",\r\n \"13.93.168.144/28\",\r\n \"20.47.2.0/24\"\ - ,\r\n \"20.47.22.0/23\",\r\n \"20.60.1.0/24\",\r\n \ - \ \"20.60.34.0/23\",\r\n \"20.60.52.0/23\",\r\n \"20.60.80.0/23\"\ - ,\r\n \"20.60.168.0/23\",\r\n \"20.150.34.0/23\",\r\n \ - \ \"20.150.91.0/24\",\r\n \"20.150.102.0/24\",\r\n \ - \ \"20.157.32.0/24\",\r\n \"23.99.32.64/26\",\r\n \"23.99.34.224/28\"\ - ,\r\n \"23.99.37.96/28\",\r\n \"23.99.47.32/28\",\r\n \ - \ \"40.78.72.16/28\",\r\n \"40.78.112.64/28\",\r\n \ - \ \"40.83.225.32/28\",\r\n \"40.83.227.16/28\",\r\n \"\ - 40.112.152.16/28\",\r\n \"40.112.224.16/28\",\r\n \"40.112.224.48/28\"\ - ,\r\n \"52.180.40.16/28\",\r\n \"52.180.40.32/28\",\r\n\ - \ \"52.190.240.16/28\",\r\n \"52.190.240.32/28\",\r\n \ - \ \"52.190.240.64/27\",\r\n \"52.190.240.112/28\",\r\n \ - \ \"52.190.240.128/28\",\r\n \"52.225.40.32/27\",\r\n \ - \ \"52.238.56.16/28\",\r\n \"52.238.56.32/28\",\r\n \ - \ \"52.238.56.64/27\",\r\n \"52.238.56.112/28\",\r\n \"\ - 52.238.56.128/28\",\r\n \"52.238.56.160/27\",\r\n \"52.239.104.16/28\"\ - ,\r\n \"52.239.104.32/28\",\r\n \"52.239.160.0/22\",\r\n\ - \ \"52.239.228.0/23\",\r\n \"52.239.254.0/23\",\r\n \ - \ \"52.241.88.16/28\",\r\n \"52.241.88.32/28\",\r\n \ - \ \"52.241.88.64/27\",\r\n \"104.42.200.16/28\",\r\n \"\ - 138.91.128.128/26\",\r\n \"138.91.129.0/26\",\r\n \"168.62.0.0/26\"\ - ,\r\n \"168.62.1.128/26\",\r\n \"168.63.89.64/26\",\r\n\ - \ \"168.63.89.128/26\"\r\n ]\r\n }\r\n },\r\n {\r\ - \n \"name\": \"Storage.WestUS2\",\r\n \"id\": \"Storage.WestUS2\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \ - \ \"region\": \"westus2\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n\ - \ \"FW\"\r\n ],\r\n \"systemService\": \"AzureStorage\"\ - ,\r\n \"addressPrefixes\": [\r\n \"13.66.176.16/28\",\r\n\ - \ \"13.66.176.48/28\",\r\n \"13.66.232.64/28\",\r\n \ - \ \"13.66.232.208/28\",\r\n \"13.66.232.224/28\",\r\n \ - \ \"13.66.234.0/27\",\r\n \"13.77.184.64/28\",\r\n \"\ - 20.38.99.0/24\",\r\n \"20.47.62.0/23\",\r\n \"20.60.20.0/24\"\ - ,\r\n \"20.60.68.0/22\",\r\n \"20.60.152.0/23\",\r\n \ - \ \"20.150.68.0/24\",\r\n \"20.150.78.0/24\",\r\n \ - \ \"20.150.87.0/24\",\r\n \"20.150.107.0/24\",\r\n \"20.157.50.0/23\"\ - ,\r\n \"52.183.48.16/28\",\r\n \"52.183.104.16/28\",\r\n\ - \ \"52.183.104.32/28\",\r\n \"52.191.176.16/28\",\r\n \ - \ \"52.191.176.32/28\",\r\n \"52.239.148.128/25\",\r\n \ - \ \"52.239.176.128/25\",\r\n \"52.239.193.0/24\",\r\n \ - \ \"52.239.210.0/23\",\r\n \"52.239.236.0/23\"\r\n ]\r\ - \n }\r\n },\r\n {\r\n \"name\": \"StorageSyncService\",\r\n\ - \ \"id\": \"StorageSyncService\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"3\",\r\n \"region\": \"\",\r\n \"state\"\ - : \"GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\n \ - \ \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n ],\r\n\ - \ \"systemService\": \"StorageSyncService\",\r\n \"addressPrefixes\"\ - : [\r\n \"13.70.176.196/32\",\r\n \"13.73.248.112/29\",\r\ - \n \"13.75.153.240/32\",\r\n \"13.76.81.46/32\",\r\n \ - \ \"20.36.120.216/29\",\r\n \"20.37.64.216/29\",\r\n \ - \ \"20.37.157.80/29\",\r\n \"20.37.195.96/29\",\r\n \"\ - 20.37.224.216/29\",\r\n \"20.38.85.152/29\",\r\n \"20.38.136.224/29\"\ - ,\r\n \"20.39.11.96/29\",\r\n \"20.41.5.144/29\",\r\n \ - \ \"20.41.65.184/29\",\r\n \"20.41.193.160/29\",\r\n \ - \ \"20.42.4.248/29\",\r\n \"20.42.131.224/29\",\r\n \ - \ \"20.42.227.128/29\",\r\n \"20.43.42.8/29\",\r\n \"20.43.66.0/29\"\ - ,\r\n \"20.43.131.40/29\",\r\n \"20.45.71.151/32\",\r\n\ - \ \"20.45.112.216/29\",\r\n \"20.45.192.248/29\",\r\n \ - \ \"20.50.1.0/29\",\r\n \"20.72.27.184/29\",\r\n \ - \ \"20.150.172.40/29\",\r\n \"20.189.108.56/29\",\r\n \"\ - 20.192.32.232/29\",\r\n \"20.193.205.128/29\",\r\n \"23.100.106.151/32\"\ - ,\r\n \"23.102.225.54/32\",\r\n \"40.67.48.208/29\",\r\n\ - \ \"40.80.57.192/29\",\r\n \"40.80.169.176/29\",\r\n \ - \ \"40.80.188.24/29\",\r\n \"40.82.253.192/29\",\r\n \ - \ \"40.89.17.232/29\",\r\n \"40.112.150.67/32\",\r\n \ - \ \"40.113.94.67/32\",\r\n \"40.123.47.110/32\",\r\n \"\ - 40.123.216.130/32\",\r\n \"51.12.101.240/29\",\r\n \"51.12.204.248/29\"\ - ,\r\n \"51.104.25.224/29\",\r\n \"51.105.80.208/29\",\r\n\ - \ \"51.105.88.248/29\",\r\n \"51.107.48.224/29\",\r\n \ - \ \"51.107.144.216/29\",\r\n \"51.116.60.244/30\",\r\n \ - \ \"51.116.245.168/30\",\r\n \"51.120.40.224/29\",\r\n \ - \ \"51.120.224.216/29\",\r\n \"51.137.161.240/29\",\r\n \ - \ \"51.140.67.72/32\",\r\n \"51.140.202.34/32\",\r\n \ - \ \"51.143.192.208/29\",\r\n \"52.136.48.216/29\",\r\n \ - \ \"52.136.131.99/32\",\r\n \"52.140.105.184/29\",\r\n \ - \ \"52.143.166.54/32\",\r\n \"52.150.139.104/29\",\r\n \"\ - 52.161.25.233/32\",\r\n \"52.176.149.179/32\",\r\n \"52.183.27.204/32\"\ - ,\r\n \"52.225.171.85/32\",\r\n \"52.228.42.41/32\",\r\n\ - \ \"52.228.81.248/29\",\r\n \"52.231.67.75/32\",\r\n \ - \ \"52.231.159.38/32\",\r\n \"52.235.36.119/32\",\r\n \ - \ \"65.52.62.167/32\",\r\n \"102.133.56.128/29\",\r\n \ - \ \"102.133.75.173/32\",\r\n \"102.133.175.72/32\",\r\n \ - \ \"104.40.191.8/32\",\r\n \"104.41.148.238/32\",\r\n \ - \ \"104.41.161.113/32\",\r\n \"104.208.61.223/32\",\r\n \ - \ \"104.210.219.252/32\",\r\n \"104.211.73.56/32\",\r\n \ - \ \"104.211.231.18/32\",\r\n \"191.233.9.96/29\",\r\n \"\ - 191.235.225.216/29\",\r\n \"191.237.253.115/32\",\r\n \"\ - 2603:1000:4::340/123\",\r\n \"2603:1000:104:1::300/123\",\r\n \ - \ \"2603:1010:6:1::300/123\",\r\n \"2603:1010:101::340/123\"\ - ,\r\n \"2603:1010:304::340/123\",\r\n \"2603:1010:404::340/123\"\ - ,\r\n \"2603:1020:5:1::300/123\",\r\n \"2603:1020:206:1::300/123\"\ - ,\r\n \"2603:1020:305::340/123\",\r\n \"2603:1020:405::340/123\"\ - ,\r\n \"2603:1020:605::340/123\",\r\n \"2603:1020:705:1::300/123\"\ - ,\r\n \"2603:1020:805:1::300/123\",\r\n \"2603:1020:905::340/123\"\ - ,\r\n \"2603:1020:a04:1::300/123\",\r\n \"2603:1020:b04::340/123\"\ - ,\r\n \"2603:1020:c04:1::300/123\",\r\n \"2603:1020:d04::340/123\"\ - ,\r\n \"2603:1020:e04:1::300/123\",\r\n \"2603:1020:f04::340/123\"\ - ,\r\n \"2603:1020:1004::300/123\",\r\n \"2603:1020:1004:800::120/123\"\ - ,\r\n \"2603:1020:1104:400::320/123\",\r\n \"2603:1030:f:1::340/123\"\ - ,\r\n \"2603:1030:10:1::300/123\",\r\n \"2603:1030:104:1::300/123\"\ - ,\r\n \"2603:1030:107:400::2a0/123\",\r\n \"2603:1030:210:1::300/123\"\ - ,\r\n \"2603:1030:40b:1::300/123\",\r\n \"2603:1030:40c:1::300/123\"\ - ,\r\n \"2603:1030:504:1::300/123\",\r\n \"2603:1030:504:802::120/123\"\ - ,\r\n \"2603:1030:608::340/123\",\r\n \"2603:1030:807:1::300/123\"\ - ,\r\n \"2603:1030:a07::340/123\",\r\n \"2603:1030:b04::340/123\"\ - ,\r\n \"2603:1030:c06:1::300/123\",\r\n \"2603:1030:f05:1::300/123\"\ - ,\r\n \"2603:1030:1005::340/123\",\r\n \"2603:1040:5:1::300/123\"\ - ,\r\n \"2603:1040:207::340/123\",\r\n \"2603:1040:407:1::300/123\"\ - ,\r\n \"2603:1040:606::340/123\",\r\n \"2603:1040:806::340/123\"\ - ,\r\n \"2603:1040:904:1::300/123\",\r\n \"2603:1040:a06:1::300/123\"\ - ,\r\n \"2603:1040:b04::340/123\",\r\n \"2603:1040:c06::340/123\"\ - ,\r\n \"2603:1040:d04::300/123\",\r\n \"2603:1040:d04:800::120/123\"\ - ,\r\n \"2603:1040:f05:1::300/123\",\r\n \"2603:1040:1104:400::320/123\"\ - ,\r\n \"2603:1050:6:1::300/123\",\r\n \"2603:1050:6:802::2a0/123\"\ - ,\r\n \"2603:1050:403::300/123\"\r\n ]\r\n }\r\n },\r\ - \n {\r\n \"name\": \"StorageSyncService.AustraliaCentral\",\r\n \ - \ \"id\": \"StorageSyncService.AustraliaCentral\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"australiacentral\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"StorageSyncService\",\r\n \"addressPrefixes\": [\r\n \"\ - 20.37.224.216/29\",\r\n \"2603:1010:304::340/123\"\r\n ]\r\ - \n }\r\n },\r\n {\r\n \"name\": \"StorageSyncService.AustraliaCentral2\"\ - ,\r\n \"id\": \"StorageSyncService.AustraliaCentral2\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"australiacentral2\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"StorageSyncService\",\r\n \"addressPrefixes\": [\r\n \"\ - 20.36.120.216/29\",\r\n \"2603:1010:404::340/123\"\r\n ]\r\ - \n }\r\n },\r\n {\r\n \"name\": \"StorageSyncService.AustraliaEast\"\ - ,\r\n \"id\": \"StorageSyncService.AustraliaEast\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"1\",\r\n \"region\": \"australiaeast\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"StorageSyncService\",\r\n \"addressPrefixes\": [\r\n \"\ - 13.75.153.240/32\",\r\n \"20.37.195.96/29\",\r\n \"2603:1010:6:1::300/123\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"StorageSyncService.CanadaEast\"\ - ,\r\n \"id\": \"StorageSyncService.CanadaEast\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"canadaeast\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"StorageSyncService\",\r\n \"addressPrefixes\": [\r\n \"\ - 40.89.17.232/29\",\r\n \"52.235.36.119/32\",\r\n \"2603:1030:1005::340/123\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"StorageSyncService.EastUS2\"\ - ,\r\n \"id\": \"StorageSyncService.EastUS2\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"1\",\r\n \"region\": \"eastus2\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"StorageSyncService\",\r\n \"addressPrefixes\": [\r\n \"\ - 20.41.5.144/29\",\r\n \"40.123.47.110/32\",\r\n \"2603:1030:40c:1::300/123\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"StorageSyncService.FranceSouth\"\ - ,\r\n \"id\": \"StorageSyncService.FranceSouth\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"southfrance\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"StorageSyncService\",\r\n \"addressPrefixes\": [\r\n \"\ - 51.105.88.248/29\",\r\n \"52.136.131.99/32\",\r\n \"2603:1020:905::340/123\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"StorageSyncService.SouthAfricaWest\"\ - ,\r\n \"id\": \"StorageSyncService.SouthAfricaWest\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"southafricawest\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"StorageSyncService\",\r\n \"addressPrefixes\": [\r\n \"\ - 102.133.56.128/29\",\r\n \"102.133.75.173/32\",\r\n \"2603:1000:4::340/123\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"StorageSyncService.SouthIndia\"\ - ,\r\n \"id\": \"StorageSyncService.SouthIndia\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"southindia\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"StorageSyncService\",\r\n \"addressPrefixes\": [\r\n \"\ - 20.41.193.160/29\",\r\n \"104.211.231.18/32\",\r\n \"2603:1040:c06::340/123\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"StorageSyncService.SwitzerlandWest\"\ - ,\r\n \"id\": \"StorageSyncService.SwitzerlandWest\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"switzerlandw\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"StorageSyncService\",\r\n \"addressPrefixes\": [\r\n \"\ - 51.107.144.216/29\",\r\n \"2603:1020:b04::340/123\"\r\n ]\r\ - \n }\r\n },\r\n {\r\n \"name\": \"StorageSyncService.UKSouth\"\ - ,\r\n \"id\": \"StorageSyncService.UKSouth\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"1\",\r\n \"region\": \"uksouth\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"StorageSyncService\",\r\n \"addressPrefixes\": [\r\n \"\ - 51.104.25.224/29\",\r\n \"51.140.67.72/32\",\r\n \"2603:1020:705:1::300/123\"\ - \r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"WindowsVirtualDesktop\"\ - ,\r\n \"id\": \"WindowsVirtualDesktop\",\r\n \"properties\": {\r\ - \n \"changeNumber\": \"2\",\r\n \"region\": \"\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"API\"\ - ,\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n \ - \ ],\r\n \"systemService\": \"WindowsVirtualDesktop\",\r\n \ - \ \"addressPrefixes\": [\r\n \"13.66.251.49/32\",\r\n \ - \ \"13.67.68.78/32\",\r\n \"13.68.76.104/32\",\r\n \"13.69.82.138/32\"\ - ,\r\n \"13.69.156.85/32\",\r\n \"13.70.40.201/32\",\r\n\ - \ \"13.70.120.215/32\",\r\n \"13.71.5.20/32\",\r\n \ - \ \"13.71.67.87/32\",\r\n \"13.71.81.161/32\",\r\n \"\ - 13.71.113.6/32\",\r\n \"13.73.237.154/32\",\r\n \"13.75.114.143/32\"\ - ,\r\n \"13.75.171.61/32\",\r\n \"13.75.198.169/32\",\r\n\ - \ \"13.76.88.89/32\",\r\n \"13.76.195.19/32\",\r\n \ - \ \"13.76.230.148/32\",\r\n \"13.77.45.213/32\",\r\n \ - \ \"13.77.140.58/32\",\r\n \"13.79.243.194/32\",\r\n \"\ - 13.88.221.28/32\",\r\n \"13.88.254.98/32\",\r\n \"20.36.33.29/32\"\ - ,\r\n \"20.36.33.170/32\",\r\n \"20.36.35.190/32\",\r\n\ - \ \"20.36.38.195/32\",\r\n \"20.36.39.50/32\",\r\n \ - \ \"20.36.39.171/32\",\r\n \"20.36.41.74/32\",\r\n \"\ - 20.41.77.252/32\",\r\n \"20.45.64.86/32\",\r\n \"20.45.67.112/32\"\ - ,\r\n \"20.45.67.185/32\",\r\n \"20.45.79.3/32\",\r\n \ - \ \"20.45.79.24/32\",\r\n \"20.45.79.91/32\",\r\n \ - \ \"20.45.79.96/32\",\r\n \"20.45.79.168/32\",\r\n \"20.188.3.1/32\"\ - ,\r\n \"20.188.39.108/32\",\r\n \"20.188.41.240/32\",\r\n\ - \ \"20.188.45.82/32\",\r\n \"20.190.43.99/32\",\r\n \ - \ \"23.97.108.170/32\",\r\n \"23.98.66.174/32\",\r\n \ - \ \"23.98.133.187/32\",\r\n \"23.99.141.138/32\",\r\n \ - \ \"23.100.50.154/32\",\r\n \"23.100.98.36/32\",\r\n \"\ - 23.101.5.54/32\",\r\n \"23.101.220.135/32\",\r\n \"23.102.229.113/32\"\ - ,\r\n \"40.65.122.222/32\",\r\n \"40.68.18.120/32\",\r\n\ - \ \"40.69.31.73/32\",\r\n \"40.69.90.166/32\",\r\n \ - \ \"40.69.102.46/32\",\r\n \"40.69.149.151/32\",\r\n \ - \ \"40.70.189.87/32\",\r\n \"40.74.84.253/32\",\r\n \"\ - 40.74.113.202/32\",\r\n \"40.74.118.163/32\",\r\n \"40.74.136.34/32\"\ - ,\r\n \"40.75.30.117/32\",\r\n \"40.83.79.39/32\",\r\n \ - \ \"40.85.241.159/32\",\r\n \"40.86.204.245/32\",\r\n \ - \ \"40.86.205.216/32\",\r\n \"40.86.208.118/32\",\r\n \ - \ \"40.86.222.183/32\",\r\n \"40.89.129.146/32\",\r\n \ - \ \"40.89.154.76/32\",\r\n \"40.113.199.138/32\",\r\n \ - \ \"40.113.200.58/32\",\r\n \"40.114.241.90/32\",\r\n \"\ - 40.115.136.175/32\",\r\n \"40.122.28.196/32\",\r\n \"40.122.212.20/32\"\ - ,\r\n \"40.127.3.207/32\",\r\n \"51.11.13.248/32\",\r\n\ - \ \"51.11.241.142/32\",\r\n \"51.104.49.88/32\",\r\n \ - \ \"51.105.54.123/32\",\r\n \"51.107.68.172/32\",\r\n \ - \ \"51.107.69.35/32\",\r\n \"51.107.78.168/32\",\r\n \ - \ \"51.107.85.67/32\",\r\n \"51.107.85.110/32\",\r\n \"\ - 51.107.86.7/32\",\r\n \"51.107.86.99/32\",\r\n \"51.116.171.102/32\"\ - ,\r\n \"51.116.182.248/32\",\r\n \"51.116.225.43/32\",\r\ - \n \"51.116.225.44/32\",\r\n \"51.116.225.55/32\",\r\n \ - \ \"51.116.236.74/32\",\r\n \"51.116.236.84/32\",\r\n \ - \ \"51.120.69.158/32\",\r\n \"51.120.70.135/32\",\r\n \ - \ \"51.120.70.141/32\",\r\n \"51.120.77.155/32\",\r\n \ - \ \"51.120.78.142/32\",\r\n \"51.120.79.212/32\",\r\n \ - \ \"51.120.88.120/32\",\r\n \"51.132.29.107/32\",\r\n \"\ - 51.136.28.200/32\",\r\n \"51.137.89.79/32\",\r\n \"51.140.57.159/32\"\ - ,\r\n \"51.140.206.110/32\",\r\n \"51.140.231.223/32\",\r\ - \n \"51.140.255.55/32\",\r\n \"51.141.30.31/32\",\r\n \ - \ \"51.141.173.236/32\",\r\n \"51.143.39.79/32\",\r\n \ - \ \"51.143.164.192/32\",\r\n \"51.143.169.107/32\",\r\n \ - \ \"51.145.17.75/32\",\r\n \"52.137.2.50/32\",\r\n \ - \ \"52.138.20.115/32\",\r\n \"52.138.28.23/32\",\r\n \"\ - 52.141.37.201/32\",\r\n \"52.141.56.101/32\",\r\n \"52.142.161.0/32\"\ - ,\r\n \"52.142.162.226/32\",\r\n \"52.143.96.87/32\",\r\n\ - \ \"52.143.182.208/32\",\r\n \"52.147.3.93/32\",\r\n \ - \ \"52.147.160.158/32\",\r\n \"52.151.53.196/32\",\r\n \ - \ \"52.155.111.124/32\",\r\n \"52.156.171.127/32\",\r\n \ - \ \"52.163.209.255/32\",\r\n \"52.164.126.124/32\",\r\n \ - \ \"52.165.218.15/32\",\r\n \"52.167.163.135/32\",\r\n \ - \ \"52.167.171.53/32\",\r\n \"52.169.5.116/32\",\r\n \ - \ \"52.171.36.33/32\",\r\n \"52.172.34.74/32\",\r\n \"\ - 52.172.40.215/32\",\r\n \"52.172.133.5/32\",\r\n \"52.172.194.109/32\"\ - ,\r\n \"52.172.210.235/32\",\r\n \"52.172.217.34/32\",\r\ - \n \"52.172.223.46/32\",\r\n \"52.173.89.168/32\",\r\n \ - \ \"52.175.144.120/32\",\r\n \"52.175.253.156/32\",\r\n \ - \ \"52.177.123.162/32\",\r\n \"52.177.172.247/32\",\r\n \ - \ \"52.183.19.64/32\",\r\n \"52.183.130.137/32\",\r\n \ - \ \"52.185.202.152/32\",\r\n \"52.187.127.152/32\",\r\n \ - \ \"52.189.194.14/32\",\r\n \"52.189.215.151/32\",\r\n \ - \ \"52.189.233.158/32\",\r\n \"52.191.129.231/32\",\r\n \ - \ \"52.228.29.164/32\",\r\n \"52.229.117.254/32\",\r\n \ - \ \"52.229.125.45/32\",\r\n \"52.229.207.180/32\",\r\n \ - \ \"52.231.13.193/32\",\r\n \"52.231.38.211/32\",\r\n \ - \ \"52.231.93.224/32\",\r\n \"52.231.98.58/32\",\r\n \"\ - 52.231.155.130/32\",\r\n \"52.231.156.19/32\",\r\n \"52.231.164.163/32\"\ - ,\r\n \"52.231.166.199/32\",\r\n \"52.231.195.7/32\",\r\n\ - \ \"52.231.197.195/32\",\r\n \"52.231.206.162/32\",\r\n\ - \ \"52.233.16.198/32\",\r\n \"52.237.20.14/32\",\r\n \ - \ \"52.237.201.246/32\",\r\n \"52.237.253.245/32\",\r\n \ - \ \"52.242.86.101/32\",\r\n \"52.243.65.107/32\",\r\n \ - \ \"52.243.74.213/32\",\r\n \"52.246.165.140/32\",\r\n \ - \ \"52.246.177.221/32\",\r\n \"52.246.191.98/32\",\r\n \ - \ \"52.247.122.225/32\",\r\n \"52.247.123.0/32\",\r\n \ - \ \"52.255.40.105/32\",\r\n \"52.255.61.145/32\",\r\n \"\ - 65.52.71.120/32\",\r\n \"65.52.158.177/32\",\r\n \"70.37.83.67/32\"\ - ,\r\n \"70.37.86.126/32\",\r\n \"70.37.99.24/32\",\r\n \ - \ \"102.37.42.159/32\",\r\n \"102.133.64.36/32\",\r\n \ - \ \"102.133.64.68/32\",\r\n \"102.133.64.91/32\",\r\n \ - \ \"102.133.64.111/32\",\r\n \"102.133.72.250/32\",\r\n \ - \ \"102.133.75.8/32\",\r\n \"102.133.75.32/32\",\r\n \ - \ \"102.133.75.35/32\",\r\n \"102.133.161.220/32\",\r\n \ - \ \"102.133.166.135/32\",\r\n \"102.133.172.191/32\",\r\n \ - \ \"102.133.175.200/32\",\r\n \"102.133.224.81/32\",\r\n \ - \ \"102.133.234.139/32\",\r\n \"104.40.156.194/32\",\r\n \ - \ \"104.41.45.182/32\",\r\n \"104.41.166.159/32\",\r\n \ - \ \"104.43.169.4/32\",\r\n \"104.46.237.209/32\",\r\n \ - \ \"104.208.28.82/32\",\r\n \"104.209.233.222/32\",\r\n \ - \ \"104.210.150.160/32\",\r\n \"104.211.78.17/32\",\r\n \ - \ \"104.211.114.61/32\",\r\n \"104.211.138.88/32\",\r\n \ - \ \"104.211.140.190/32\",\r\n \"104.211.155.114/32\",\r\n \ - \ \"104.211.165.123/32\",\r\n \"104.211.184.150/32\",\r\n \ - \ \"104.211.188.151/32\",\r\n \"104.211.211.213/32\",\r\n \ - \ \"104.211.216.230/32\",\r\n \"104.211.242.104/32\",\r\n\ - \ \"104.214.60.144/32\",\r\n \"104.214.237.23/32\",\r\n\ - \ \"104.215.51.3/32\",\r\n \"104.215.103.51/32\",\r\n \ - \ \"104.215.112.85/32\",\r\n \"137.116.49.12/32\",\r\n \ - \ \"137.116.248.148/32\",\r\n \"137.117.171.26/32\",\r\n \ - \ \"137.135.243.65/32\",\r\n \"138.91.44.13/32\",\r\n \ - \ \"168.61.167.193/32\",\r\n \"168.63.31.54/32\",\r\n \ - \ \"168.63.71.119/32\",\r\n \"168.63.137.213/32\",\r\n \ - \ \"191.232.49.74/32\",\r\n \"191.232.166.149/32\",\r\n \ - \ \"191.232.235.70/32\",\r\n \"191.232.238.73/32\",\r\n \ - \ \"191.234.191.63/32\",\r\n \"191.235.65.127/32\",\r\n \ - \ \"191.235.73.211/32\",\r\n \"191.235.78.126/32\",\r\n \ - \ \"191.239.248.16/32\"\r\n ]\r\n }\r\n },\r\n {\r\n \ - \ \"name\": \"WindowsVirtualDesktop.GermanyWestCentral\",\r\n \"\ - id\": \"WindowsVirtualDesktop.GermanyWestCentral\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"1\",\r\n \"region\": \"germanywc\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"WindowsVirtualDesktop\",\r\n \"addressPrefixes\": [\r\n \ - \ \"51.116.171.102/32\",\r\n \"51.116.182.248/32\",\r\n \ - \ \"51.116.225.43/32\",\r\n \"51.116.225.44/32\",\r\n \ - \ \"51.116.225.55/32\",\r\n \"51.116.236.74/32\",\r\n \"\ - 51.116.236.84/32\"\r\n ]\r\n }\r\n },\r\n {\r\n \"\ - name\": \"WindowsVirtualDesktop.JapanWest\",\r\n \"id\": \"WindowsVirtualDesktop.JapanWest\"\ - ,\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n \ - \ \"region\": \"japanwest\",\r\n \"state\": \"GA\",\r\n \"\ - networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n \ - \ ],\r\n \"systemService\": \"WindowsVirtualDesktop\",\r\n \ - \ \"addressPrefixes\": [\r\n \"13.73.237.154/32\",\r\n \"\ - 40.74.84.253/32\",\r\n \"40.74.113.202/32\",\r\n \"40.74.118.163/32\"\ - ,\r\n \"40.74.136.34/32\",\r\n \"52.175.144.120/32\",\r\n\ - \ \"104.46.237.209/32\",\r\n \"104.215.51.3/32\"\r\n \ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"WindowsVirtualDesktop.SouthAfricaNorth\"\ - ,\r\n \"id\": \"WindowsVirtualDesktop.SouthAfricaNorth\",\r\n \"\ - properties\": {\r\n \"changeNumber\": \"1\",\r\n \"region\"\ - : \"southafricanorth\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\"\ - : [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"\ - systemService\": \"WindowsVirtualDesktop\",\r\n \"addressPrefixes\"\ - : [\r\n \"40.127.3.207/32\",\r\n \"102.37.42.159/32\",\r\ - \n \"102.133.161.220/32\",\r\n \"102.133.166.135/32\",\r\ - \n \"102.133.172.191/32\",\r\n \"102.133.175.200/32\",\r\ - \n \"102.133.224.81/32\",\r\n \"102.133.234.139/32\"\r\n\ - \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"WindowsVirtualDesktop.SoutheastAsia\"\ - ,\r\n \"id\": \"WindowsVirtualDesktop.SoutheastAsia\",\r\n \"properties\"\ - : {\r\n \"changeNumber\": \"1\",\r\n \"region\": \"southeastasia\"\ - ,\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \ - \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\"\ - : \"WindowsVirtualDesktop\",\r\n \"addressPrefixes\": [\r\n \ - \ \"13.67.68.78/32\",\r\n \"13.76.88.89/32\",\r\n \"13.76.195.19/32\"\ - ,\r\n \"13.76.230.148/32\",\r\n \"23.98.66.174/32\",\r\n\ - \ \"52.163.209.255/32\",\r\n \"52.187.127.152/32\",\r\n\ - \ \"138.91.44.13/32\"\r\n ]\r\n }\r\n },\r\n {\r\ - \n \"name\": \"WindowsVirtualDesktop.WestEurope\",\r\n \"id\": \"\ - WindowsVirtualDesktop.WestEurope\",\r\n \"properties\": {\r\n \ - \ \"changeNumber\": \"1\",\r\n \"region\": \"westeurope\",\r\n \ - \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"\ - API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": \"\ - WindowsVirtualDesktop\",\r\n \"addressPrefixes\": [\r\n \"\ - 13.69.82.138/32\",\r\n \"40.68.18.120/32\",\r\n \"40.114.241.90/32\"\ - ,\r\n \"51.136.28.200/32\",\r\n \"51.137.89.79/32\",\r\n\ - \ \"52.137.2.50/32\",\r\n \"65.52.158.177/32\",\r\n \ - \ \"104.40.156.194/32\",\r\n \"104.214.237.23/32\",\r\n \ - \ \"137.117.171.26/32\",\r\n \"168.63.31.54/32\"\r\n \ - \ ]\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}" + string: "{\r\n \"name\": \"Public\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/serviceTags/Public\",\r\n + \ \"type\": \"Microsoft.Network/serviceTags\",\r\n \"changeNumber\": \"72\",\r\n + \ \"cloud\": \"Public\",\r\n \"values\": [\r\n {\r\n \"name\": \"ActionGroup\",\r\n + \ \"id\": \"ActionGroup\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"3\",\r\n \"region\": + \"\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n + \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"ActionGroup\",\r\n \"addressPrefixes\": + [\r\n \"13.66.60.119/32\",\r\n \"13.66.143.220/30\",\r\n + \ \"13.66.202.14/32\",\r\n \"13.66.248.225/32\",\r\n \"13.66.249.211/32\",\r\n + \ \"13.67.10.124/30\",\r\n \"13.69.109.132/30\",\r\n \"13.71.199.112/30\",\r\n + \ \"13.77.53.216/30\",\r\n \"13.77.172.102/32\",\r\n \"13.77.183.209/32\",\r\n + \ \"13.78.109.156/30\",\r\n \"13.84.49.247/32\",\r\n \"13.84.51.172/32\",\r\n + \ \"13.84.52.58/32\",\r\n \"13.86.221.220/30\",\r\n \"13.106.38.142/32\",\r\n + \ \"13.106.38.148/32\",\r\n \"13.106.54.3/32\",\r\n \"13.106.54.19/32\",\r\n + \ \"13.106.57.181/32\",\r\n \"13.106.57.196/31\",\r\n \"20.38.149.132/30\",\r\n + \ \"20.42.64.36/30\",\r\n \"20.43.121.124/30\",\r\n \"20.44.17.220/30\",\r\n + \ \"20.45.123.236/30\",\r\n \"20.72.27.152/30\",\r\n \"20.150.172.228/30\",\r\n + \ \"20.192.238.124/30\",\r\n \"20.193.202.4/30\",\r\n \"40.68.195.137/32\",\r\n + \ \"40.68.201.58/32\",\r\n \"40.68.201.65/32\",\r\n \"40.68.201.206/32\",\r\n + \ \"40.68.201.211/32\",\r\n \"40.68.204.18/32\",\r\n \"40.115.37.106/32\",\r\n + \ \"40.121.219.215/32\",\r\n \"40.121.221.62/32\",\r\n \"40.121.222.201/32\",\r\n + \ \"40.121.223.186/32\",\r\n \"51.12.101.172/30\",\r\n \"51.12.204.244/30\",\r\n + \ \"51.104.9.100/30\",\r\n \"52.183.20.244/32\",\r\n \"52.183.31.0/32\",\r\n + \ \"52.183.94.59/32\",\r\n \"52.184.145.166/32\",\r\n \"168.61.142.52/30\",\r\n + \ \"191.233.50.4/30\",\r\n \"191.233.207.64/26\",\r\n \"2603:1000:4:402::178/125\",\r\n + \ \"2603:1000:104:402::178/125\",\r\n \"2603:1010:6:402::178/125\",\r\n + \ \"2603:1010:101:402::178/125\",\r\n \"2603:1010:304:402::178/125\",\r\n + \ \"2603:1010:404:402::178/125\",\r\n \"2603:1020:5:402::178/125\",\r\n + \ \"2603:1020:206:402::178/125\",\r\n \"2603:1020:305:402::178/125\",\r\n + \ \"2603:1020:405:402::178/125\",\r\n \"2603:1020:605:402::178/125\",\r\n + \ \"2603:1020:705:402::178/125\",\r\n \"2603:1020:805:402::178/125\",\r\n + \ \"2603:1020:905:402::178/125\",\r\n \"2603:1020:a04:402::178/125\",\r\n + \ \"2603:1020:b04:402::178/125\",\r\n \"2603:1020:c04:402::178/125\",\r\n + \ \"2603:1020:d04:402::178/125\",\r\n \"2603:1020:e04:402::178/125\",\r\n + \ \"2603:1020:f04:402::178/125\",\r\n \"2603:1020:1004:800::f8/125\",\r\n + \ \"2603:1020:1104:400::178/125\",\r\n \"2603:1030:f:400::978/125\",\r\n + \ \"2603:1030:10:402::178/125\",\r\n \"2603:1030:104:402::178/125\",\r\n + \ \"2603:1030:107:400::f0/125\",\r\n \"2603:1030:210:402::178/125\",\r\n + \ \"2603:1030:40b:400::978/125\",\r\n \"2603:1030:40c:402::178/125\",\r\n + \ \"2603:1030:504:802::f8/125\",\r\n \"2603:1030:608:402::178/125\",\r\n + \ \"2603:1030:807:402::178/125\",\r\n \"2603:1030:a07:402::8f8/125\",\r\n + \ \"2603:1030:b04:402::178/125\",\r\n \"2603:1030:c06:400::978/125\",\r\n + \ \"2603:1030:f05:402::178/125\",\r\n \"2603:1030:1005:402::178/125\",\r\n + \ \"2603:1040:5:402::178/125\",\r\n \"2603:1040:207:402::178/125\",\r\n + \ \"2603:1040:407:402::178/125\",\r\n \"2603:1040:606:402::178/125\",\r\n + \ \"2603:1040:806:402::178/125\",\r\n \"2603:1040:904:402::178/125\",\r\n + \ \"2603:1040:a06:402::178/125\",\r\n \"2603:1040:b04:402::178/125\",\r\n + \ \"2603:1040:c06:402::178/125\",\r\n \"2603:1040:d04:800::f8/125\",\r\n + \ \"2603:1040:f05:402::178/125\",\r\n \"2603:1040:1104:400::178/125\",\r\n + \ \"2603:1050:6:402::178/125\",\r\n \"2603:1050:403:400::1f8/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"ActionGroup.AustraliaCentral\",\r\n + \ \"id\": \"ActionGroup.AustraliaCentral\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"australiacentral\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"FW\"\r\n ],\r\n \"systemService\": \"ActionGroup\",\r\n + \ \"addressPrefixes\": [\r\n \"2603:1010:304:402::178/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"ActionGroup.AustraliaCentral2\",\r\n + \ \"id\": \"ActionGroup.AustraliaCentral2\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"australiacentral2\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"FW\"\r\n ],\r\n \"systemService\": \"ActionGroup\",\r\n + \ \"addressPrefixes\": [\r\n \"2603:1010:404:402::178/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"ActionGroup.AustraliaEast\",\r\n + \ \"id\": \"ActionGroup.AustraliaEast\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"australiaeast\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"FW\"\r\n ],\r\n + \ \"systemService\": \"ActionGroup\",\r\n \"addressPrefixes\": + [\r\n \"2603:1010:6:402::178/125\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"ActionGroup.CanadaEast\",\r\n \"id\": \"ActionGroup.CanadaEast\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"1\",\r\n \"region\": \"canadaeast\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"FW\"\r\n ],\r\n \"systemService\": \"ActionGroup\",\r\n + \ \"addressPrefixes\": [\r\n \"2603:1030:1005:402::178/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"ActionGroup.CentralUS\",\r\n + \ \"id\": \"ActionGroup.CentralUS\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"centralus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"FW\"\r\n ],\r\n + \ \"systemService\": \"ActionGroup\",\r\n \"addressPrefixes\": + [\r\n \"2603:1030:10:402::178/125\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"ActionGroup.CentralUSEUAP\",\r\n \"id\": \"ActionGroup.CentralUSEUAP\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"centraluseuap\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"FW\"\r\n ],\r\n \"systemService\": \"ActionGroup\",\r\n + \ \"addressPrefixes\": [\r\n \"168.61.142.52/30\",\r\n \"2603:1030:f:400::978/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"ActionGroup.EastAsia\",\r\n + \ \"id\": \"ActionGroup.EastAsia\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"eastasia\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"FW\"\r\n ],\r\n + \ \"systemService\": \"ActionGroup\",\r\n \"addressPrefixes\": + [\r\n \"2603:1040:207:402::178/125\"\r\n ]\r\n }\r\n + \ },\r\n {\r\n \"name\": \"ActionGroup.EastUS2\",\r\n \"id\": + \"ActionGroup.EastUS2\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\": + \"eastus2\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"FW\"\r\n ],\r\n + \ \"systemService\": \"ActionGroup\",\r\n \"addressPrefixes\": + [\r\n \"20.44.17.220/30\",\r\n \"52.184.145.166/32\",\r\n + \ \"2603:1030:40c:402::178/125\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"ActionGroup.EastUS2EUAP\",\r\n \"id\": \"ActionGroup.EastUS2EUAP\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"1\",\r\n \"region\": \"eastus2euap\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"FW\"\r\n ],\r\n \"systemService\": \"ActionGroup\",\r\n + \ \"addressPrefixes\": [\r\n \"2603:1030:40b:400::978/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"ActionGroup.FranceCentral\",\r\n + \ \"id\": \"ActionGroup.FranceCentral\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"centralfrance\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"FW\"\r\n ],\r\n + \ \"systemService\": \"ActionGroup\",\r\n \"addressPrefixes\": + [\r\n \"2603:1020:805:402::178/125\"\r\n ]\r\n }\r\n + \ },\r\n {\r\n \"name\": \"ActionGroup.FranceSouth\",\r\n \"id\": + \"ActionGroup.FranceSouth\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"1\",\r\n \"region\": + \"southfrance\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"FW\"\r\n ],\r\n + \ \"systemService\": \"ActionGroup\",\r\n \"addressPrefixes\": + [\r\n \"2603:1020:905:402::178/125\"\r\n ]\r\n }\r\n + \ },\r\n {\r\n \"name\": \"ActionGroup.GermanyNorth\",\r\n \"id\": + \"ActionGroup.GermanyNorth\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"1\",\r\n \"region\": + \"germanyn\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"FW\"\r\n ],\r\n + \ \"systemService\": \"ActionGroup\",\r\n \"addressPrefixes\": + [\r\n \"2603:1020:d04:402::178/125\"\r\n ]\r\n }\r\n + \ },\r\n {\r\n \"name\": \"ActionGroup.GermanyWestCentral\",\r\n + \ \"id\": \"ActionGroup.GermanyWestCentral\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"germanywc\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"FW\"\r\n ],\r\n + \ \"systemService\": \"ActionGroup\",\r\n \"addressPrefixes\": + [\r\n \"2603:1020:c04:402::178/125\"\r\n ]\r\n }\r\n + \ },\r\n {\r\n \"name\": \"ActionGroup.JapanWest\",\r\n \"id\": + \"ActionGroup.JapanWest\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"1\",\r\n \"region\": + \"japanwest\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"FW\"\r\n ],\r\n + \ \"systemService\": \"ActionGroup\",\r\n \"addressPrefixes\": + [\r\n \"2603:1040:606:402::178/125\"\r\n ]\r\n }\r\n + \ },\r\n {\r\n \"name\": \"ActionGroup.KoreaCentral\",\r\n \"id\": + \"ActionGroup.KoreaCentral\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"1\",\r\n \"region\": + \"koreacentral\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"FW\"\r\n ],\r\n + \ \"systemService\": \"ActionGroup\",\r\n \"addressPrefixes\": + [\r\n \"2603:1040:f05:402::178/125\"\r\n ]\r\n }\r\n + \ },\r\n {\r\n \"name\": \"ActionGroup.NorthEurope\",\r\n \"id\": + \"ActionGroup.NorthEurope\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"1\",\r\n \"region\": + \"northeurope\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"FW\"\r\n ],\r\n + \ \"systemService\": \"ActionGroup\",\r\n \"addressPrefixes\": + [\r\n \"2603:1020:5:402::178/125\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"ActionGroup.NorwayEast\",\r\n \"id\": \"ActionGroup.NorwayEast\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"1\",\r\n \"region\": \"norwaye\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"FW\"\r\n ],\r\n \"systemService\": \"ActionGroup\",\r\n + \ \"addressPrefixes\": [\r\n \"2603:1020:e04:402::178/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"ActionGroup.NorwayWest\",\r\n + \ \"id\": \"ActionGroup.NorwayWest\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"norwayw\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"FW\"\r\n ],\r\n + \ \"systemService\": \"ActionGroup\",\r\n \"addressPrefixes\": + [\r\n \"2603:1020:f04:402::178/125\"\r\n ]\r\n }\r\n + \ },\r\n {\r\n \"name\": \"ActionGroup.SouthAfricaNorth\",\r\n \"id\": + \"ActionGroup.SouthAfricaNorth\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"1\",\r\n \"region\": + \"southafricanorth\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"FW\"\r\n ],\r\n + \ \"systemService\": \"ActionGroup\",\r\n \"addressPrefixes\": + [\r\n \"2603:1000:104:402::178/125\"\r\n ]\r\n }\r\n + \ },\r\n {\r\n \"name\": \"ActionGroup.SouthAfricaWest\",\r\n \"id\": + \"ActionGroup.SouthAfricaWest\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"1\",\r\n \"region\": + \"southafricawest\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"FW\"\r\n ],\r\n + \ \"systemService\": \"ActionGroup\",\r\n \"addressPrefixes\": + [\r\n \"2603:1000:4:402::178/125\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"ActionGroup.SouthIndia\",\r\n \"id\": \"ActionGroup.SouthIndia\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"1\",\r\n \"region\": \"southindia\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"FW\"\r\n ],\r\n \"systemService\": \"ActionGroup\",\r\n + \ \"addressPrefixes\": [\r\n \"2603:1040:c06:402::178/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"ActionGroup.SwitzerlandNorth\",\r\n + \ \"id\": \"ActionGroup.SwitzerlandNorth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"switzerlandn\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"FW\"\r\n ],\r\n + \ \"systemService\": \"ActionGroup\",\r\n \"addressPrefixes\": + [\r\n \"2603:1020:a04:402::178/125\"\r\n ]\r\n }\r\n + \ },\r\n {\r\n \"name\": \"ActionGroup.SwitzerlandWest\",\r\n \"id\": + \"ActionGroup.SwitzerlandWest\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"1\",\r\n \"region\": + \"switzerlandw\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"FW\"\r\n ],\r\n + \ \"systemService\": \"ActionGroup\",\r\n \"addressPrefixes\": + [\r\n \"2603:1020:b04:402::178/125\"\r\n ]\r\n }\r\n + \ },\r\n {\r\n \"name\": \"ActionGroup.UAECentral\",\r\n \"id\": + \"ActionGroup.UAECentral\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"1\",\r\n \"region\": + \"uaecentral\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"FW\"\r\n ],\r\n + \ \"systemService\": \"ActionGroup\",\r\n \"addressPrefixes\": + [\r\n \"2603:1040:b04:402::178/125\"\r\n ]\r\n }\r\n + \ },\r\n {\r\n \"name\": \"ActionGroup.UAENorth\",\r\n \"id\": + \"ActionGroup.UAENorth\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"1\",\r\n \"region\": + \"uaenorth\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"FW\"\r\n ],\r\n + \ \"systemService\": \"ActionGroup\",\r\n \"addressPrefixes\": + [\r\n \"2603:1040:904:402::178/125\"\r\n ]\r\n }\r\n + \ },\r\n {\r\n \"name\": \"ActionGroup.UKNorth\",\r\n \"id\": + \"ActionGroup.UKNorth\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"1\",\r\n \"region\": + \"uknorth\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"FW\"\r\n ],\r\n + \ \"systemService\": \"ActionGroup\",\r\n \"addressPrefixes\": + [\r\n \"2603:1020:305:402::178/125\"\r\n ]\r\n }\r\n + \ },\r\n {\r\n \"name\": \"ActionGroup.UKSouth2\",\r\n \"id\": + \"ActionGroup.UKSouth2\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"1\",\r\n \"region\": + \"uksouth2\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"FW\"\r\n ],\r\n + \ \"systemService\": \"ActionGroup\",\r\n \"addressPrefixes\": + [\r\n \"2603:1020:405:402::178/125\"\r\n ]\r\n }\r\n + \ },\r\n {\r\n \"name\": \"ActionGroup.UKWest\",\r\n \"id\": + \"ActionGroup.UKWest\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": + {\r\n \"changeNumber\": \"1\",\r\n \"region\": \"ukwest\",\r\n + \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\n + \ \"NSG\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"ActionGroup\",\r\n \"addressPrefixes\": [\r\n \"2603:1020:605:402::178/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"ActionGroup.WestIndia\",\r\n + \ \"id\": \"ActionGroup.WestIndia\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"westindia\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"FW\"\r\n ],\r\n + \ \"systemService\": \"ActionGroup\",\r\n \"addressPrefixes\": + [\r\n \"2603:1040:806:402::178/125\"\r\n ]\r\n }\r\n + \ },\r\n {\r\n \"name\": \"ActionGroup.WestUS\",\r\n \"id\": + \"ActionGroup.WestUS\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": + {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"westus\",\r\n + \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\n + \ \"NSG\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"ActionGroup\",\r\n \"addressPrefixes\": [\r\n \"13.86.221.220/30\",\r\n + \ \"2603:1030:a07:402::8f8/125\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"ApiManagement\",\r\n \"id\": \"ApiManagement\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"5\",\r\n \"region\": \"\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureApiManagement\",\r\n \"addressPrefixes\": + [\r\n \"13.64.39.16/32\",\r\n \"13.66.138.92/31\",\r\n \"13.66.140.176/28\",\r\n + \ \"13.67.8.108/31\",\r\n \"13.67.9.208/28\",\r\n \"13.69.64.76/31\",\r\n + \ \"13.69.66.144/28\",\r\n \"13.69.227.76/31\",\r\n \"13.69.229.80/28\",\r\n + \ \"13.70.72.28/31\",\r\n \"13.70.72.240/28\",\r\n \"13.71.49.1/32\",\r\n + \ \"13.71.170.44/31\",\r\n \"13.71.172.144/28\",\r\n \"13.71.194.116/31\",\r\n + \ \"13.71.196.32/28\",\r\n \"13.75.34.148/31\",\r\n \"13.75.38.16/28\",\r\n + \ \"13.75.217.184/32\",\r\n \"13.75.221.78/32\",\r\n \"13.77.50.68/31\",\r\n + \ \"13.77.52.224/28\",\r\n \"13.78.106.92/31\",\r\n \"13.78.108.176/28\",\r\n + \ \"13.84.189.17/32\",\r\n \"13.85.22.63/32\",\r\n \"13.86.102.66/32\",\r\n + \ \"13.87.56.84/31\",\r\n \"13.87.57.144/28\",\r\n \"13.87.122.84/31\",\r\n + \ \"13.87.123.144/28\",\r\n \"13.89.170.204/31\",\r\n \"13.89.174.64/28\",\r\n + \ \"20.36.106.68/31\",\r\n \"20.36.107.176/28\",\r\n \"20.36.114.20/31\",\r\n + \ \"20.36.115.128/28\",\r\n \"20.37.52.67/32\",\r\n \"20.37.74.224/31\",\r\n + \ \"20.37.76.32/28\",\r\n \"20.37.81.41/32\",\r\n \"20.39.80.2/32\",\r\n + \ \"20.39.99.81/32\",\r\n \"20.40.125.155/32\",\r\n \"20.40.160.107/32\",\r\n + \ \"20.44.2.4/31\",\r\n \"20.44.3.224/28\",\r\n \"20.44.33.246/32\",\r\n + \ \"20.44.72.3/32\",\r\n \"20.46.13.224/28\",\r\n \"20.46.144.85/32\",\r\n + \ \"20.72.26.16/28\",\r\n \"20.150.167.160/28\",\r\n \"20.150.170.224/28\",\r\n + \ \"20.188.77.119/32\",\r\n \"20.192.45.112/28\",\r\n \"20.192.50.64/28\",\r\n + \ \"20.192.234.160/28\",\r\n \"20.193.192.48/28\",\r\n \"20.193.202.160/28\",\r\n + \ \"20.194.74.240/28\",\r\n \"23.96.224.175/32\",\r\n \"23.101.67.140/32\",\r\n + \ \"23.101.166.38/32\",\r\n \"40.66.60.111/32\",\r\n \"40.67.58.224/28\",\r\n + \ \"40.69.106.68/31\",\r\n \"40.69.107.224/28\",\r\n \"40.70.146.76/31\",\r\n + \ \"40.70.148.16/28\",\r\n \"40.71.10.204/31\",\r\n \"40.71.13.128/28\",\r\n + \ \"40.74.100.52/31\",\r\n \"40.74.101.48/28\",\r\n \"40.74.146.80/31\",\r\n + \ \"40.74.147.32/28\",\r\n \"40.78.194.68/31\",\r\n \"40.78.195.224/28\",\r\n + \ \"40.78.202.128/31\",\r\n \"40.78.203.160/28\",\r\n \"40.79.130.44/31\",\r\n + \ \"40.79.131.192/28\",\r\n \"40.79.178.68/31\",\r\n \"40.79.179.192/28\",\r\n + \ \"40.80.232.185/32\",\r\n \"40.81.47.216/32\",\r\n \"40.81.89.24/32\",\r\n + \ \"40.81.185.8/32\",\r\n \"40.82.157.167/32\",\r\n \"40.90.185.46/32\",\r\n + \ \"40.112.242.148/31\",\r\n \"40.112.243.240/28\",\r\n \"51.12.17.0/28\",\r\n + \ \"51.12.25.16/28\",\r\n \"51.12.98.224/28\",\r\n \"51.12.202.224/28\",\r\n + \ \"51.107.0.91/32\",\r\n \"51.107.59.0/28\",\r\n \"51.107.96.8/32\",\r\n + \ \"51.107.155.0/28\",\r\n \"51.116.0.0/32\",\r\n \"51.116.59.0/28\",\r\n + \ \"51.116.96.0/32\",\r\n \"51.116.155.64/28\",\r\n \"51.120.2.185/32\",\r\n + \ \"51.120.98.176/28\",\r\n \"51.120.130.134/32\",\r\n \"51.120.218.224/28\",\r\n + \ \"51.120.234.240/28\",\r\n \"51.137.136.0/32\",\r\n \"51.140.146.60/31\",\r\n + \ \"51.140.149.0/28\",\r\n \"51.140.210.84/31\",\r\n \"51.140.211.176/28\",\r\n + \ \"51.143.127.203/32\",\r\n \"51.145.56.125/32\",\r\n \"51.145.179.78/32\",\r\n + \ \"52.139.20.34/32\",\r\n \"52.139.80.117/32\",\r\n \"52.139.152.27/32\",\r\n + \ \"52.140.238.179/32\",\r\n \"52.142.95.35/32\",\r\n \"52.162.106.148/31\",\r\n + \ \"52.162.110.80/28\",\r\n \"52.224.186.99/32\",\r\n \"52.231.18.44/31\",\r\n + \ \"52.231.19.192/28\",\r\n \"52.231.146.84/31\",\r\n \"52.231.147.176/28\",\r\n + \ \"52.253.135.58/32\",\r\n \"52.253.159.160/32\",\r\n \"52.253.229.253/32\",\r\n + \ \"65.52.164.91/32\",\r\n \"65.52.173.247/32\",\r\n \"65.52.250.4/31\",\r\n + \ \"65.52.252.32/28\",\r\n \"102.133.0.79/32\",\r\n \"102.133.26.4/31\",\r\n + \ \"102.133.28.0/28\",\r\n \"102.133.130.197/32\",\r\n \"102.133.154.4/31\",\r\n + \ \"102.133.156.0/28\",\r\n \"104.41.217.243/32\",\r\n \"104.41.218.160/32\",\r\n + \ \"104.211.81.28/31\",\r\n \"104.211.81.240/28\",\r\n \"104.211.146.68/31\",\r\n + \ \"104.211.147.144/28\",\r\n \"104.214.18.172/31\",\r\n + \ \"104.214.19.224/28\",\r\n \"137.117.160.56/32\",\r\n \"191.232.18.181/32\",\r\n + \ \"191.233.24.179/32\",\r\n \"191.233.50.192/28\",\r\n \"191.233.203.28/31\",\r\n + \ \"191.233.203.240/28\",\r\n \"191.238.241.97/32\",\r\n + \ \"2603:1000:4:402::140/124\",\r\n \"2603:1000:104:402::140/124\",\r\n + \ \"2603:1010:6:402::140/124\",\r\n \"2603:1010:101:402::140/124\",\r\n + \ \"2603:1010:304:402::140/124\",\r\n \"2603:1010:404:402::140/124\",\r\n + \ \"2603:1020:5:402::140/124\",\r\n \"2603:1020:206:402::140/124\",\r\n + \ \"2603:1020:305:402::140/124\",\r\n \"2603:1020:405:402::140/124\",\r\n + \ \"2603:1020:605:402::140/124\",\r\n \"2603:1020:705:402::140/124\",\r\n + \ \"2603:1020:805:402::140/124\",\r\n \"2603:1020:905:402::140/124\",\r\n + \ \"2603:1020:a04:402::140/124\",\r\n \"2603:1020:b04:402::140/124\",\r\n + \ \"2603:1020:c04:402::140/124\",\r\n \"2603:1020:d04:402::140/124\",\r\n + \ \"2603:1020:e04::6f0/124\",\r\n \"2603:1020:e04:402::140/124\",\r\n + \ \"2603:1020:f04:402::140/124\",\r\n \"2603:1020:1004:1::700/124\",\r\n + \ \"2603:1020:1004:800::c0/124\",\r\n \"2603:1020:1104:1::3c0/124\",\r\n + \ \"2603:1020:1104:400::140/124\",\r\n \"2603:1030:f:2::490/124\",\r\n + \ \"2603:1030:f:400::940/124\",\r\n \"2603:1030:10:402::140/124\",\r\n + \ \"2603:1030:104:402::140/124\",\r\n \"2603:1030:107:400::c0/124\",\r\n + \ \"2603:1030:210:402::140/124\",\r\n \"2603:1030:40b:400::940/124\",\r\n + \ \"2603:1030:40c:402::140/124\",\r\n \"2603:1030:504:2::80/124\",\r\n + \ \"2603:1030:608:402::140/124\",\r\n \"2603:1030:807:402::140/124\",\r\n + \ \"2603:1030:a07:402::8c0/124\",\r\n \"2603:1030:b04:402::140/124\",\r\n + \ \"2603:1030:c06:400::940/124\",\r\n \"2603:1030:f05:402::140/124\",\r\n + \ \"2603:1030:1005:402::140/124\",\r\n \"2603:1040:5:402::140/124\",\r\n + \ \"2603:1040:207:402::140/124\",\r\n \"2603:1040:407:402::140/124\",\r\n + \ \"2603:1040:606:402::140/124\",\r\n \"2603:1040:806:402::140/124\",\r\n + \ \"2603:1040:904:402::140/124\",\r\n \"2603:1040:a06:2::280/124\",\r\n + \ \"2603:1040:a06:402::140/124\",\r\n \"2603:1040:b04:402::140/124\",\r\n + \ \"2603:1040:c06:402::140/124\",\r\n \"2603:1040:d04:1::700/124\",\r\n + \ \"2603:1040:d04:800::c0/124\",\r\n \"2603:1040:f05::6f0/124\",\r\n + \ \"2603:1040:f05:402::140/124\",\r\n \"2603:1040:1104:1::400/124\",\r\n + \ \"2603:1040:1104:400::140/124\",\r\n \"2603:1050:6:402::140/124\",\r\n + \ \"2603:1050:403:400::2a0/124\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"ApiManagement.AustraliaCentral\",\r\n \"id\": + \"ApiManagement.AustraliaCentral\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\": + \"australiacentral\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureApiManagement\",\r\n \"addressPrefixes\": + [\r\n \"20.36.106.68/31\",\r\n \"20.36.107.176/28\",\r\n + \ \"20.37.52.67/32\",\r\n \"2603:1010:304:402::140/124\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"ApiManagement.AustraliaCentral2\",\r\n + \ \"id\": \"ApiManagement.AustraliaCentral2\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"australiacentral2\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureApiManagement\",\r\n \"addressPrefixes\": [\r\n \"20.36.114.20/31\",\r\n + \ \"20.36.115.128/28\",\r\n \"20.39.99.81/32\",\r\n \"2603:1010:404:402::140/124\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"ApiManagement.AustraliaEast\",\r\n + \ \"id\": \"ApiManagement.AustraliaEast\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"australiaeast\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureApiManagement\",\r\n \"addressPrefixes\": + [\r\n \"13.70.72.28/31\",\r\n \"13.70.72.240/28\",\r\n \"13.75.217.184/32\",\r\n + \ \"13.75.221.78/32\",\r\n \"20.40.125.155/32\",\r\n \"2603:1010:6:402::140/124\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"ApiManagement.AustraliaSoutheast\",\r\n + \ \"id\": \"ApiManagement.AustraliaSoutheast\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"australiasoutheast\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureApiManagement\",\r\n \"addressPrefixes\": [\r\n \"13.77.50.68/31\",\r\n + \ \"13.77.52.224/28\",\r\n \"20.40.160.107/32\",\r\n \"2603:1010:101:402::140/124\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"ApiManagement.BrazilSouth\",\r\n + \ \"id\": \"ApiManagement.BrazilSouth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"brazilsouth\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureApiManagement\",\r\n \"addressPrefixes\": + [\r\n \"191.233.24.179/32\",\r\n \"191.233.203.28/31\",\r\n + \ \"191.233.203.240/28\",\r\n \"2603:1050:6:402::140/124\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"ApiManagement.CanadaCentral\",\r\n + \ \"id\": \"ApiManagement.CanadaCentral\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"canadacentral\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureApiManagement\",\r\n \"addressPrefixes\": + [\r\n \"13.71.170.44/31\",\r\n \"13.71.172.144/28\",\r\n + \ \"52.139.20.34/32\",\r\n \"2603:1030:f05:402::140/124\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"ApiManagement.CanadaEast\",\r\n + \ \"id\": \"ApiManagement.CanadaEast\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"canadaeast\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureApiManagement\",\r\n \"addressPrefixes\": + [\r\n \"40.69.106.68/31\",\r\n \"40.69.107.224/28\",\r\n + \ \"52.139.80.117/32\",\r\n \"2603:1030:1005:402::140/124\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"ApiManagement.CentralIndia\",\r\n + \ \"id\": \"ApiManagement.CentralIndia\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"centralindia\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureApiManagement\",\r\n \"addressPrefixes\": + [\r\n \"13.71.49.1/32\",\r\n \"20.192.45.112/28\",\r\n \"104.211.81.28/31\",\r\n + \ \"104.211.81.240/28\",\r\n \"2603:1040:a06:2::280/124\",\r\n + \ \"2603:1040:a06:402::140/124\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"ApiManagement.CentralUS\",\r\n \"id\": \"ApiManagement.CentralUS\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"centralus\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureApiManagement\",\r\n \"addressPrefixes\": [\r\n \"13.86.102.66/32\",\r\n + \ \"13.89.170.204/31\",\r\n \"13.89.174.64/28\",\r\n \"2603:1030:10:402::140/124\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"ApiManagement.CentralUSEUAP\",\r\n + \ \"id\": \"ApiManagement.CentralUSEUAP\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"centraluseuap\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureApiManagement\",\r\n \"addressPrefixes\": + [\r\n \"20.46.13.224/28\",\r\n \"40.78.202.128/31\",\r\n + \ \"40.78.203.160/28\",\r\n \"52.253.159.160/32\",\r\n \"2603:1030:f:2::490/124\",\r\n + \ \"2603:1030:f:400::940/124\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"ApiManagement.EastAsia\",\r\n \"id\": \"ApiManagement.EastAsia\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"eastasia\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureApiManagement\",\r\n \"addressPrefixes\": [\r\n \"13.75.34.148/31\",\r\n + \ \"13.75.38.16/28\",\r\n \"52.139.152.27/32\",\r\n \"65.52.164.91/32\",\r\n + \ \"65.52.173.247/32\",\r\n \"2603:1040:207:402::140/124\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"ApiManagement.EastUS\",\r\n + \ \"id\": \"ApiManagement.EastUS\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"eastus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureApiManagement\",\r\n \"addressPrefixes\": + [\r\n \"40.71.10.204/31\",\r\n \"40.71.13.128/28\",\r\n + \ \"52.224.186.99/32\",\r\n \"2603:1030:210:402::140/124\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"ApiManagement.EastUS2\",\r\n + \ \"id\": \"ApiManagement.EastUS2\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"eastus2\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureApiManagement\",\r\n \"addressPrefixes\": + [\r\n \"20.44.72.3/32\",\r\n \"40.70.146.76/31\",\r\n \"40.70.148.16/28\",\r\n + \ \"2603:1030:40c:402::140/124\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"ApiManagement.EastUS2EUAP\",\r\n \"id\": \"ApiManagement.EastUS2EUAP\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"eastus2euap\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureApiManagement\",\r\n \"addressPrefixes\": [\r\n \"40.74.146.80/31\",\r\n + \ \"40.74.147.32/28\",\r\n \"52.253.229.253/32\",\r\n \"2603:1030:40b:400::940/124\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"ApiManagement.FranceCentral\",\r\n + \ \"id\": \"ApiManagement.FranceCentral\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"centralfrance\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureApiManagement\",\r\n \"addressPrefixes\": + [\r\n \"40.66.60.111/32\",\r\n \"40.79.130.44/31\",\r\n + \ \"40.79.131.192/28\",\r\n \"2603:1020:805:402::140/124\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"ApiManagement.FranceSouth\",\r\n + \ \"id\": \"ApiManagement.FranceSouth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"southfrance\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureApiManagement\",\r\n \"addressPrefixes\": + [\r\n \"20.39.80.2/32\",\r\n \"40.79.178.68/31\",\r\n \"40.79.179.192/28\",\r\n + \ \"2603:1020:905:402::140/124\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"ApiManagement.GermanyNorth\",\r\n \"id\": + \"ApiManagement.GermanyNorth\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\": + \"germanyn\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureApiManagement\",\r\n \"addressPrefixes\": + [\r\n \"51.116.0.0/32\",\r\n \"51.116.59.0/28\",\r\n \"2603:1020:d04:402::140/124\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"ApiManagement.GermanyWestCentral\",\r\n + \ \"id\": \"ApiManagement.GermanyWestCentral\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"germanywc\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureApiManagement\",\r\n \"addressPrefixes\": + [\r\n \"51.116.96.0/32\",\r\n \"51.116.155.64/28\",\r\n + \ \"2603:1020:c04:402::140/124\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"ApiManagement.JapanEast\",\r\n \"id\": \"ApiManagement.JapanEast\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"japaneast\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureApiManagement\",\r\n \"addressPrefixes\": [\r\n \"13.78.106.92/31\",\r\n + \ \"13.78.108.176/28\",\r\n \"52.140.238.179/32\",\r\n \"2603:1040:407:402::140/124\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"ApiManagement.JapanWest\",\r\n + \ \"id\": \"ApiManagement.JapanWest\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"japanwest\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureApiManagement\",\r\n \"addressPrefixes\": + [\r\n \"40.74.100.52/31\",\r\n \"40.74.101.48/28\",\r\n + \ \"40.81.185.8/32\",\r\n \"2603:1040:606:402::140/124\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"ApiManagement.KoreaCentral\",\r\n + \ \"id\": \"ApiManagement.KoreaCentral\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"koreacentral\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureApiManagement\",\r\n \"addressPrefixes\": + [\r\n \"20.194.74.240/28\",\r\n \"40.82.157.167/32\",\r\n + \ \"52.231.18.44/31\",\r\n \"52.231.19.192/28\",\r\n \"2603:1040:f05::6f0/124\",\r\n + \ \"2603:1040:f05:402::140/124\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"ApiManagement.KoreaSouth\",\r\n \"id\": \"ApiManagement.KoreaSouth\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"1\",\r\n \"region\": \"koreasouth\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureApiManagement\",\r\n \"addressPrefixes\": [\r\n \"40.80.232.185/32\",\r\n + \ \"52.231.146.84/31\",\r\n \"52.231.147.176/28\"\r\n ]\r\n + \ }\r\n },\r\n {\r\n \"name\": \"ApiManagement.NorthCentralUS\",\r\n + \ \"id\": \"ApiManagement.NorthCentralUS\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"northcentralus\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureApiManagement\",\r\n \"addressPrefixes\": [\r\n \"23.96.224.175/32\",\r\n + \ \"23.101.166.38/32\",\r\n \"40.81.47.216/32\",\r\n \"52.162.106.148/31\",\r\n + \ \"52.162.110.80/28\",\r\n \"2603:1030:608:402::140/124\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"ApiManagement.NorthEurope\",\r\n + \ \"id\": \"ApiManagement.NorthEurope\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"northeurope\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureApiManagement\",\r\n \"addressPrefixes\": + [\r\n \"13.69.227.76/31\",\r\n \"13.69.229.80/28\",\r\n + \ \"52.142.95.35/32\",\r\n \"104.41.217.243/32\",\r\n \"104.41.218.160/32\",\r\n + \ \"2603:1020:5:402::140/124\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"ApiManagement.NorwayEast\",\r\n \"id\": \"ApiManagement.NorwayEast\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"3\",\r\n \"region\": \"norwaye\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureApiManagement\",\r\n \"addressPrefixes\": [\r\n \"51.120.2.185/32\",\r\n + \ \"51.120.98.176/28\",\r\n \"51.120.234.240/28\",\r\n \"2603:1020:e04::6f0/124\",\r\n + \ \"2603:1020:e04:402::140/124\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"ApiManagement.NorwayWest\",\r\n \"id\": \"ApiManagement.NorwayWest\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"norwayw\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureApiManagement\",\r\n \"addressPrefixes\": [\r\n \"51.120.130.134/32\",\r\n + \ \"51.120.218.224/28\",\r\n \"2603:1020:f04:402::140/124\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"ApiManagement.SouthAfricaNorth\",\r\n + \ \"id\": \"ApiManagement.SouthAfricaNorth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"southafricanorth\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureApiManagement\",\r\n \"addressPrefixes\": [\r\n \"102.133.130.197/32\",\r\n + \ \"102.133.154.4/31\",\r\n \"102.133.156.0/28\",\r\n \"2603:1000:104:402::140/124\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"ApiManagement.SouthAfricaWest\",\r\n + \ \"id\": \"ApiManagement.SouthAfricaWest\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"southafricawest\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureApiManagement\",\r\n \"addressPrefixes\": [\r\n \"102.133.0.79/32\",\r\n + \ \"102.133.26.4/31\",\r\n \"102.133.28.0/28\",\r\n \"2603:1000:4:402::140/124\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"ApiManagement.SouthCentralUS\",\r\n + \ \"id\": \"ApiManagement.SouthCentralUS\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"southcentralus\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureApiManagement\",\r\n \"addressPrefixes\": [\r\n \"13.84.189.17/32\",\r\n + \ \"13.85.22.63/32\",\r\n \"20.188.77.119/32\",\r\n \"104.214.18.172/31\",\r\n + \ \"104.214.19.224/28\",\r\n \"191.238.241.97/32\",\r\n \"2603:1030:807:402::140/124\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"ApiManagement.SoutheastAsia\",\r\n + \ \"id\": \"ApiManagement.SoutheastAsia\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"southeastasia\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureApiManagement\",\r\n \"addressPrefixes\": + [\r\n \"13.67.8.108/31\",\r\n \"13.67.9.208/28\",\r\n \"40.90.185.46/32\",\r\n + \ \"2603:1040:5:402::140/124\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"ApiManagement.SouthIndia\",\r\n \"id\": \"ApiManagement.SouthIndia\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"southindia\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureApiManagement\",\r\n \"addressPrefixes\": [\r\n \"20.44.33.246/32\",\r\n + \ \"40.78.194.68/31\",\r\n \"40.78.195.224/28\",\r\n \"2603:1040:c06:402::140/124\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"ApiManagement.SwitzerlandNorth\",\r\n + \ \"id\": \"ApiManagement.SwitzerlandNorth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"switzerlandn\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureApiManagement\",\r\n \"addressPrefixes\": + [\r\n \"51.107.0.91/32\",\r\n \"51.107.59.0/28\",\r\n \"2603:1020:a04:402::140/124\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"ApiManagement.SwitzerlandWest\",\r\n + \ \"id\": \"ApiManagement.SwitzerlandWest\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"switzerlandw\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureApiManagement\",\r\n \"addressPrefixes\": + [\r\n \"51.107.96.8/32\",\r\n \"51.107.155.0/28\",\r\n \"2603:1020:b04:402::140/124\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"ApiManagement.UAECentral\",\r\n + \ \"id\": \"ApiManagement.UAECentral\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"uaecentral\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureApiManagement\",\r\n \"addressPrefixes\": + [\r\n \"20.37.74.224/31\",\r\n \"20.37.76.32/28\",\r\n \"20.37.81.41/32\",\r\n + \ \"2603:1040:b04:402::140/124\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"ApiManagement.UAENorth\",\r\n \"id\": \"ApiManagement.UAENorth\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"uaenorth\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureApiManagement\",\r\n \"addressPrefixes\": [\r\n \"20.46.144.85/32\",\r\n + \ \"65.52.250.4/31\",\r\n \"65.52.252.32/28\",\r\n \"2603:1040:904:402::140/124\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"ApiManagement.UKNorth\",\r\n + \ \"id\": \"ApiManagement.UKNorth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"uknorth\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"FW\"\r\n ],\r\n + \ \"systemService\": \"AzureApiManagement\",\r\n \"addressPrefixes\": + [\r\n \"13.87.122.84/31\",\r\n \"13.87.123.144/28\",\r\n + \ \"2603:1020:305:402::140/124\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"ApiManagement.UKSouth\",\r\n \"id\": \"ApiManagement.UKSouth\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"uksouth\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureApiManagement\",\r\n \"addressPrefixes\": [\r\n \"51.140.146.60/31\",\r\n + \ \"51.140.149.0/28\",\r\n \"51.145.56.125/32\",\r\n \"2603:1020:705:402::140/124\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"ApiManagement.UKWest\",\r\n + \ \"id\": \"ApiManagement.UKWest\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"ukwest\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureApiManagement\",\r\n \"addressPrefixes\": + [\r\n \"51.137.136.0/32\",\r\n \"51.140.210.84/31\",\r\n + \ \"51.140.211.176/28\",\r\n \"2603:1020:605:402::140/124\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"ApiManagement.WestCentralUS\",\r\n + \ \"id\": \"ApiManagement.WestCentralUS\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"westcentralus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureApiManagement\",\r\n \"addressPrefixes\": + [\r\n \"13.71.194.116/31\",\r\n \"13.71.196.32/28\",\r\n + \ \"52.253.135.58/32\",\r\n \"2603:1030:b04:402::140/124\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"ApiManagement.WestEurope\",\r\n + \ \"id\": \"ApiManagement.WestEurope\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"westeurope\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureApiManagement\",\r\n \"addressPrefixes\": + [\r\n \"13.69.64.76/31\",\r\n \"13.69.66.144/28\",\r\n \"23.101.67.140/32\",\r\n + \ \"51.145.179.78/32\",\r\n \"137.117.160.56/32\",\r\n \"2603:1020:206:402::140/124\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"ApiManagement.WestIndia\",\r\n + \ \"id\": \"ApiManagement.WestIndia\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"westindia\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureApiManagement\",\r\n \"addressPrefixes\": + [\r\n \"40.81.89.24/32\",\r\n \"104.211.146.68/31\",\r\n + \ \"104.211.147.144/28\",\r\n \"2603:1040:806:402::140/124\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"ApiManagement.WestUS\",\r\n + \ \"id\": \"ApiManagement.WestUS\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"westus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureApiManagement\",\r\n \"addressPrefixes\": + [\r\n \"13.64.39.16/32\",\r\n \"40.112.242.148/31\",\r\n + \ \"40.112.243.240/28\",\r\n \"2603:1030:a07:402::8c0/124\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"ApiManagement.WestUS2\",\r\n + \ \"id\": \"ApiManagement.WestUS2\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"westus2\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureApiManagement\",\r\n \"addressPrefixes\": + [\r\n \"13.66.138.92/31\",\r\n \"13.66.140.176/28\",\r\n + \ \"51.143.127.203/32\",\r\n \"2603:1030:c06:400::940/124\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AppConfiguration\",\r\n + \ \"id\": \"AppConfiguration\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"4\",\r\n \"region\": + \"\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n + \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureAppConfiguration\",\r\n \"addressPrefixes\": + [\r\n \"13.66.142.72/29\",\r\n \"13.66.143.192/28\",\r\n + \ \"13.66.143.208/29\",\r\n \"13.67.10.112/29\",\r\n \"13.67.13.192/28\",\r\n + \ \"13.67.13.208/29\",\r\n \"13.69.67.112/29\",\r\n \"13.69.67.240/28\",\r\n + \ \"13.69.71.128/29\",\r\n \"13.69.107.72/29\",\r\n \"13.69.112.144/28\",\r\n + \ \"13.69.112.160/29\",\r\n \"13.69.230.8/29\",\r\n \"13.69.230.40/29\",\r\n + \ \"13.69.231.144/28\",\r\n \"13.70.74.128/29\",\r\n \"13.70.78.144/28\",\r\n + \ \"13.70.78.160/29\",\r\n \"13.71.175.64/28\",\r\n \"13.71.175.96/28\",\r\n + \ \"13.71.196.176/28\",\r\n \"13.71.199.80/28\",\r\n \"13.73.242.56/29\",\r\n + \ \"13.73.244.96/28\",\r\n \"13.73.244.112/29\",\r\n \"13.73.255.128/26\",\r\n + \ \"13.74.108.160/28\",\r\n \"13.74.108.240/28\",\r\n \"13.77.53.88/29\",\r\n + \ \"13.77.53.192/28\",\r\n \"13.77.53.208/29\",\r\n \"13.78.109.144/29\",\r\n + \ \"13.78.109.208/28\",\r\n \"13.78.111.128/29\",\r\n \"13.86.219.192/29\",\r\n + \ \"13.86.221.192/28\",\r\n \"13.86.221.208/29\",\r\n \"13.87.58.64/29\",\r\n + \ \"13.87.58.80/28\",\r\n \"13.87.58.128/29\",\r\n \"13.87.124.64/29\",\r\n + \ \"13.87.124.80/28\",\r\n \"13.87.124.128/29\",\r\n \"13.89.175.208/28\",\r\n + \ \"13.89.178.16/29\",\r\n \"13.89.178.32/29\",\r\n \"20.36.108.120/29\",\r\n + \ \"20.36.108.136/29\",\r\n \"20.36.108.144/28\",\r\n \"20.36.115.248/29\",\r\n + \ \"20.36.117.40/29\",\r\n \"20.36.117.48/28\",\r\n \"20.36.123.16/28\",\r\n + \ \"20.36.124.64/26\",\r\n \"20.37.67.96/28\",\r\n \"20.37.69.64/26\",\r\n + \ \"20.37.76.112/29\",\r\n \"20.37.76.144/28\",\r\n \"20.37.76.192/29\",\r\n + \ \"20.37.198.144/28\",\r\n \"20.37.227.32/28\",\r\n \"20.37.228.128/26\",\r\n + \ \"20.38.128.96/29\",\r\n \"20.38.128.112/28\",\r\n \"20.38.128.160/29\",\r\n + \ \"20.38.139.96/28\",\r\n \"20.38.141.64/26\",\r\n \"20.38.147.176/28\",\r\n + \ \"20.38.147.240/28\",\r\n \"20.39.14.16/28\",\r\n \"20.40.206.144/28\",\r\n + \ \"20.40.206.160/28\",\r\n \"20.40.224.128/26\",\r\n \"20.41.68.64/28\",\r\n + \ \"20.41.69.192/26\",\r\n \"20.41.197.48/28\",\r\n \"20.42.64.16/28\",\r\n + \ \"20.42.230.144/28\",\r\n \"20.43.44.144/28\",\r\n \"20.43.46.128/26\",\r\n + \ \"20.43.70.128/28\",\r\n \"20.43.121.40/29\",\r\n \"20.43.121.96/28\",\r\n + \ \"20.43.121.112/29\",\r\n \"20.44.4.96/29\",\r\n \"20.44.4.120/29\",\r\n + \ \"20.44.4.160/28\",\r\n \"20.44.8.168/29\",\r\n \"20.44.10.96/28\",\r\n + \ \"20.44.10.112/29\",\r\n \"20.44.17.56/29\",\r\n \"20.44.17.192/28\",\r\n + \ \"20.44.17.208/29\",\r\n \"20.44.27.224/28\",\r\n \"20.44.29.32/28\",\r\n + \ \"20.45.116.0/26\",\r\n \"20.45.123.120/29\",\r\n \"20.45.123.176/28\",\r\n + \ \"20.45.123.224/29\",\r\n \"20.45.126.0/27\",\r\n \"20.45.198.0/27\",\r\n + \ \"20.45.199.64/26\",\r\n \"20.48.192.192/26\",\r\n \"20.49.83.96/27\",\r\n + \ \"20.49.91.96/27\",\r\n \"20.49.99.80/28\",\r\n \"20.49.103.0/26\",\r\n + \ \"20.49.109.96/28\",\r\n \"20.49.115.64/26\",\r\n \"20.49.120.80/28\",\r\n + \ \"20.49.127.64/26\",\r\n \"20.50.1.240/28\",\r\n \"20.50.65.96/28\",\r\n + \ \"20.51.8.0/26\",\r\n \"20.51.16.0/26\",\r\n \"20.53.41.192/26\",\r\n + \ \"20.61.98.0/26\",\r\n \"20.62.128.64/26\",\r\n \"20.72.20.192/26\",\r\n + \ \"20.72.28.128/27\",\r\n \"20.150.165.176/28\",\r\n \"20.150.167.0/26\",\r\n + \ \"20.150.172.64/27\",\r\n \"20.150.173.32/27\",\r\n \"20.150.179.200/29\",\r\n + \ \"20.150.181.0/28\",\r\n \"20.150.181.16/29\",\r\n \"20.150.181.128/27\",\r\n + \ \"20.150.187.200/29\",\r\n \"20.150.189.0/28\",\r\n \"20.150.189.16/29\",\r\n + \ \"20.150.190.32/27\",\r\n \"20.187.194.224/28\",\r\n \"20.187.196.128/26\",\r\n + \ \"20.189.224.64/26\",\r\n \"20.191.160.192/26\",\r\n \"20.192.99.200/29\",\r\n + \ \"20.192.101.0/28\",\r\n \"20.192.101.16/29\",\r\n \"20.192.167.0/26\",\r\n + \ \"20.192.231.64/26\",\r\n \"20.192.235.240/29\",\r\n \"20.192.238.112/29\",\r\n + \ \"20.192.238.192/27\",\r\n \"20.193.203.224/27\",\r\n \"20.194.67.64/27\",\r\n + \ \"23.98.83.72/29\",\r\n \"23.98.86.32/28\",\r\n \"23.98.86.48/29\",\r\n + \ \"23.98.104.176/28\",\r\n \"23.98.108.64/26\",\r\n \"40.64.132.144/28\",\r\n + \ \"40.67.52.0/26\",\r\n \"40.67.60.72/29\",\r\n \"40.67.60.112/28\",\r\n + \ \"40.67.60.160/29\",\r\n \"40.69.108.80/29\",\r\n \"40.69.108.176/28\",\r\n + \ \"40.69.110.160/29\",\r\n \"40.70.148.56/29\",\r\n \"40.70.151.48/28\",\r\n + \ \"40.70.151.64/29\",\r\n \"40.71.13.248/29\",\r\n \"40.71.14.120/29\",\r\n + \ \"40.71.15.128/28\",\r\n \"40.74.149.40/29\",\r\n \"40.74.149.56/29\",\r\n + \ \"40.74.149.80/28\",\r\n \"40.75.35.72/29\",\r\n \"40.75.35.192/28\",\r\n + \ \"40.75.35.208/29\",\r\n \"40.78.196.80/29\",\r\n \"40.78.196.144/28\",\r\n + \ \"40.78.196.160/29\",\r\n \"40.78.204.8/29\",\r\n \"40.78.204.144/28\",\r\n + \ \"40.78.204.192/29\",\r\n \"40.78.229.80/28\",\r\n \"40.78.229.112/28\",\r\n + \ \"40.78.236.136/29\",\r\n \"40.78.238.32/28\",\r\n \"40.78.238.48/29\",\r\n + \ \"40.78.243.176/28\",\r\n \"40.78.245.128/28\",\r\n \"40.78.251.144/28\",\r\n + \ \"40.78.251.208/28\",\r\n \"40.79.132.88/29\",\r\n \"40.79.139.64/28\",\r\n + \ \"40.79.139.128/28\",\r\n \"40.79.146.208/28\",\r\n \"40.79.148.64/28\",\r\n + \ \"40.79.156.96/28\",\r\n \"40.79.163.64/29\",\r\n \"40.79.163.128/28\",\r\n + \ \"40.79.163.144/29\",\r\n \"40.79.165.96/27\",\r\n \"40.79.171.112/28\",\r\n + \ \"40.79.171.176/28\",\r\n \"40.79.180.48/29\",\r\n \"40.79.180.128/28\",\r\n + \ \"40.79.180.144/29\",\r\n \"40.79.187.192/29\",\r\n \"40.79.189.32/28\",\r\n + \ \"40.79.189.48/29\",\r\n \"40.79.195.176/28\",\r\n \"40.79.195.240/28\",\r\n + \ \"40.80.51.112/28\",\r\n \"40.80.51.176/28\",\r\n \"40.80.54.0/27\",\r\n + \ \"40.80.62.32/28\",\r\n \"40.80.172.48/28\",\r\n \"40.80.173.64/26\",\r\n + \ \"40.80.176.40/29\",\r\n \"40.80.176.56/29\",\r\n \"40.80.176.112/28\",\r\n + \ \"40.80.191.240/28\",\r\n \"40.89.20.160/28\",\r\n \"40.89.23.128/26\",\r\n + \ \"40.119.11.192/28\",\r\n \"40.120.75.128/27\",\r\n \"51.11.192.0/28\",\r\n + \ \"51.11.192.16/29\",\r\n \"51.12.43.64/26\",\r\n \"51.12.99.216/29\",\r\n + \ \"51.12.100.48/28\",\r\n \"51.12.100.96/29\",\r\n \"51.12.102.128/27\",\r\n + \ \"51.12.195.64/26\",\r\n \"51.12.204.48/28\",\r\n \"51.12.204.96/28\",\r\n + \ \"51.12.206.32/27\",\r\n \"51.12.227.200/29\",\r\n \"51.12.229.0/28\",\r\n + \ \"51.12.229.16/29\",\r\n \"51.12.235.200/29\",\r\n \"51.12.237.0/28\",\r\n + \ \"51.12.237.16/29\",\r\n \"51.104.9.48/28\",\r\n \"51.104.29.224/28\",\r\n + \ \"51.105.67.184/29\",\r\n \"51.105.67.216/29\",\r\n \"51.105.69.64/28\",\r\n + \ \"51.105.75.224/28\",\r\n \"51.105.77.32/28\",\r\n \"51.105.83.64/26\",\r\n + \ \"51.105.90.176/28\",\r\n \"51.105.93.0/26\",\r\n \"51.107.51.48/28\",\r\n + \ \"51.107.53.128/26\",\r\n \"51.107.60.56/29\",\r\n \"51.107.60.128/28\",\r\n + \ \"51.107.60.144/29\",\r\n \"51.107.147.48/28\",\r\n \"51.107.148.192/26\",\r\n + \ \"51.107.156.64/29\",\r\n \"51.107.156.136/29\",\r\n \"51.107.156.144/28\",\r\n + \ \"51.116.49.192/28\",\r\n \"51.116.51.64/26\",\r\n \"51.116.60.56/29\",\r\n + \ \"51.116.60.88/29\",\r\n \"51.116.60.128/28\",\r\n \"51.116.145.176/28\",\r\n + \ \"51.116.148.0/26\",\r\n \"51.116.156.56/29\",\r\n \"51.116.156.168/29\",\r\n + \ \"51.116.158.32/28\",\r\n \"51.116.158.48/29\",\r\n \"51.116.243.152/29\",\r\n + \ \"51.116.243.192/28\",\r\n \"51.116.243.208/29\",\r\n \"51.116.245.128/27\",\r\n + \ \"51.116.251.40/29\",\r\n \"51.116.251.160/28\",\r\n \"51.116.251.176/29\",\r\n + \ \"51.116.253.64/27\",\r\n \"51.120.43.96/28\",\r\n \"51.120.45.0/26\",\r\n + \ \"51.120.100.56/29\",\r\n \"51.120.100.128/28\",\r\n \"51.120.100.144/29\",\r\n + \ \"51.120.107.200/29\",\r\n \"51.120.109.0/28\",\r\n \"51.120.109.16/29\",\r\n + \ \"51.120.110.160/27\",\r\n \"51.120.211.200/29\",\r\n \"51.120.213.0/28\",\r\n + \ \"51.120.213.16/29\",\r\n \"51.120.214.96/27\",\r\n \"51.120.220.56/29\",\r\n + \ \"51.120.220.96/28\",\r\n \"51.120.220.112/29\",\r\n \"51.120.227.96/28\",\r\n + \ \"51.120.229.0/26\",\r\n \"51.137.164.128/28\",\r\n \"51.137.167.0/26\",\r\n + \ \"51.140.148.40/29\",\r\n \"51.140.149.16/29\",\r\n \"51.140.212.96/29\",\r\n + \ \"51.140.212.192/28\",\r\n \"51.140.212.208/29\",\r\n \"51.143.195.64/26\",\r\n + \ \"51.143.208.64/26\",\r\n \"52.136.51.96/28\",\r\n \"52.136.52.128/26\",\r\n + \ \"52.138.92.88/29\",\r\n \"52.138.92.144/28\",\r\n \"52.138.92.160/29\",\r\n + \ \"52.138.227.176/28\",\r\n \"52.138.229.48/28\",\r\n \"52.140.108.112/28\",\r\n + \ \"52.140.108.128/28\",\r\n \"52.140.111.0/26\",\r\n \"52.146.131.192/26\",\r\n + \ \"52.150.152.64/28\",\r\n \"52.150.156.128/26\",\r\n \"52.162.111.32/28\",\r\n + \ \"52.162.111.112/28\",\r\n \"52.167.107.112/28\",\r\n \"52.167.107.240/28\",\r\n + \ \"52.172.112.64/26\",\r\n \"52.182.141.0/29\",\r\n \"52.182.141.32/28\",\r\n + \ \"52.182.141.48/29\",\r\n \"52.228.85.208/28\",\r\n \"52.231.20.8/29\",\r\n + \ \"52.231.20.80/28\",\r\n \"52.231.23.0/29\",\r\n \"52.231.148.112/29\",\r\n + \ \"52.231.148.176/28\",\r\n \"52.231.148.192/29\",\r\n \"52.236.186.248/29\",\r\n + \ \"52.236.187.96/28\",\r\n \"52.236.189.64/29\",\r\n \"52.246.155.176/28\",\r\n + \ \"52.246.155.240/28\",\r\n \"52.246.157.32/27\",\r\n \"65.52.252.112/29\",\r\n + \ \"65.52.252.224/28\",\r\n \"65.52.252.240/29\",\r\n \"102.133.28.96/29\",\r\n + \ \"102.133.28.152/29\",\r\n \"102.133.28.192/28\",\r\n \"102.133.58.240/28\",\r\n + \ \"102.133.60.128/26\",\r\n \"102.133.124.80/29\",\r\n \"102.133.124.112/28\",\r\n + \ \"102.133.124.128/29\",\r\n \"102.133.156.120/29\",\r\n + \ \"102.133.156.152/29\",\r\n \"102.133.156.160/28\",\r\n + \ \"102.133.218.160/28\",\r\n \"102.133.220.128/26\",\r\n + \ \"102.133.251.88/29\",\r\n \"102.133.251.192/28\",\r\n + \ \"102.133.251.208/29\",\r\n \"104.46.177.192/26\",\r\n + \ \"104.214.161.0/29\",\r\n \"104.214.161.16/28\",\r\n \"104.214.161.32/29\",\r\n + \ \"168.61.142.96/27\",\r\n \"191.233.11.144/28\",\r\n \"191.233.14.128/26\",\r\n + \ \"191.233.51.224/27\",\r\n \"191.233.205.112/28\",\r\n + \ \"191.233.205.176/28\",\r\n \"191.234.136.96/28\",\r\n + \ \"191.234.139.64/26\",\r\n \"191.234.147.200/29\",\r\n + \ \"191.234.149.16/28\",\r\n \"191.234.149.128/29\",\r\n + \ \"191.234.149.192/27\",\r\n \"191.234.155.200/29\",\r\n + \ \"191.234.157.16/28\",\r\n \"191.234.157.32/29\",\r\n \"191.234.157.96/27\",\r\n + \ \"2603:1000:4:402::2e0/123\",\r\n \"2603:1000:104:402::2e0/123\",\r\n + \ \"2603:1000:104:802::220/123\",\r\n \"2603:1000:104:c02::220/123\",\r\n + \ \"2603:1010:6:402::2e0/123\",\r\n \"2603:1010:6:802::220/123\",\r\n + \ \"2603:1010:6:c02::220/123\",\r\n \"2603:1010:101:402::2e0/123\",\r\n + \ \"2603:1010:304:402::2e0/123\",\r\n \"2603:1010:404:402::2e0/123\",\r\n + \ \"2603:1020:5:402::2e0/123\",\r\n \"2603:1020:5:802::220/123\",\r\n + \ \"2603:1020:5:c02::220/123\",\r\n \"2603:1020:206:402::2e0/123\",\r\n + \ \"2603:1020:206:802::220/123\",\r\n \"2603:1020:206:c02::220/123\",\r\n + \ \"2603:1020:305:402::2e0/123\",\r\n \"2603:1020:405:402::2e0/123\",\r\n + \ \"2603:1020:605:402::2e0/123\",\r\n \"2603:1020:705:402::2e0/123\",\r\n + \ \"2603:1020:705:802::220/123\",\r\n \"2603:1020:705:c02::220/123\",\r\n + \ \"2603:1020:805:402::2e0/123\",\r\n \"2603:1020:805:802::220/123\",\r\n + \ \"2603:1020:805:c02::220/123\",\r\n \"2603:1020:905:402::2e0/123\",\r\n + \ \"2603:1020:a04:402::2e0/123\",\r\n \"2603:1020:a04:802::220/123\",\r\n + \ \"2603:1020:a04:c02::220/123\",\r\n \"2603:1020:b04:402::2e0/123\",\r\n + \ \"2603:1020:c04:402::2e0/123\",\r\n \"2603:1020:c04:802::220/123\",\r\n + \ \"2603:1020:c04:c02::220/123\",\r\n \"2603:1020:d04:402::2e0/123\",\r\n + \ \"2603:1020:e04:3::2c0/122\",\r\n \"2603:1020:e04:402::2e0/123\",\r\n + \ \"2603:1020:e04:802::220/123\",\r\n \"2603:1020:e04:c02::220/123\",\r\n + \ \"2603:1020:f04:402::2e0/123\",\r\n \"2603:1020:1004:1::340/122\",\r\n + \ \"2603:1020:1004:400::1e0/123\",\r\n \"2603:1020:1004:400::380/123\",\r\n + \ \"2603:1020:1004:c02::280/123\",\r\n \"2603:1020:1104:1::100/122\",\r\n + \ \"2603:1020:1104:400::2e0/123\",\r\n \"2603:1030:f:2::680/122\",\r\n + \ \"2603:1030:f:400::ae0/123\",\r\n \"2603:1030:10:402::2e0/123\",\r\n + \ \"2603:1030:10:802::220/123\",\r\n \"2603:1030:10:c02::220/123\",\r\n + \ \"2603:1030:104:402::2e0/123\",\r\n \"2603:1030:107::7c0/122\",\r\n + \ \"2603:1030:107:400::260/123\",\r\n \"2603:1030:210:402::2e0/123\",\r\n + \ \"2603:1030:210:802::220/123\",\r\n \"2603:1030:210:c02::220/123\",\r\n + \ \"2603:1030:40b:400::ae0/123\",\r\n \"2603:1030:40b:800::220/123\",\r\n + \ \"2603:1030:40b:c00::220/123\",\r\n \"2603:1030:40c:402::2e0/123\",\r\n + \ \"2603:1030:40c:802::220/123\",\r\n \"2603:1030:40c:c02::220/123\",\r\n + \ \"2603:1030:504::340/122\",\r\n \"2603:1030:504:402::1e0/123\",\r\n + \ \"2603:1030:504:402::380/123\",\r\n \"2603:1030:504:802::260/123\",\r\n + \ \"2603:1030:504:c02::280/123\",\r\n \"2603:1030:608:402::2e0/123\",\r\n + \ \"2603:1030:807:402::2e0/123\",\r\n \"2603:1030:807:802::220/123\",\r\n + \ \"2603:1030:807:c02::220/123\",\r\n \"2603:1030:a07:402::960/123\",\r\n + \ \"2603:1030:b04:402::2e0/123\",\r\n \"2603:1030:c06:400::ae0/123\",\r\n + \ \"2603:1030:c06:802::220/123\",\r\n \"2603:1030:c06:c02::220/123\",\r\n + \ \"2603:1030:f05:402::2e0/123\",\r\n \"2603:1030:f05:802::220/123\",\r\n + \ \"2603:1030:f05:c02::220/123\",\r\n \"2603:1030:1005:402::2e0/123\",\r\n + \ \"2603:1040:5:402::2e0/123\",\r\n \"2603:1040:5:802::220/123\",\r\n + \ \"2603:1040:5:c02::220/123\",\r\n \"2603:1040:207:402::2e0/123\",\r\n + \ \"2603:1040:407:402::2e0/123\",\r\n \"2603:1040:407:802::220/123\",\r\n + \ \"2603:1040:407:c02::220/123\",\r\n \"2603:1040:606:402::2e0/123\",\r\n + \ \"2603:1040:806:402::2e0/123\",\r\n \"2603:1040:904:402::2e0/123\",\r\n + \ \"2603:1040:904:802::220/123\",\r\n \"2603:1040:904:c02::220/123\",\r\n + \ \"2603:1040:a06:2::500/122\",\r\n \"2603:1040:a06:402::2e0/123\",\r\n + \ \"2603:1040:a06:802::220/123\",\r\n \"2603:1040:a06:c02::220/123\",\r\n + \ \"2603:1040:b04:402::2e0/123\",\r\n \"2603:1040:c06:402::2e0/123\",\r\n + \ \"2603:1040:d04:1::340/122\",\r\n \"2603:1040:d04:400::1e0/123\",\r\n + \ \"2603:1040:d04:400::380/123\",\r\n \"2603:1040:d04:c02::280/123\",\r\n + \ \"2603:1040:f05:2::200/122\",\r\n \"2603:1040:f05:402::2e0/123\",\r\n + \ \"2603:1040:f05:802::220/123\",\r\n \"2603:1040:f05:c02::220/123\",\r\n + \ \"2603:1040:1104:1::100/122\",\r\n \"2603:1040:1104:400::2e0/123\",\r\n + \ \"2603:1050:6:402::2e0/123\",\r\n \"2603:1050:6:802::220/123\",\r\n + \ \"2603:1050:6:c02::220/123\",\r\n \"2603:1050:403:400::200/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"ApplicationInsightsAvailability\",\r\n + \ \"id\": \"ApplicationInsightsAvailability\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"ApplicationInsightsAvailability\",\r\n + \ \"addressPrefixes\": [\r\n \"13.86.97.224/27\",\r\n \"13.86.98.0/27\",\r\n + \ \"13.86.98.48/28\",\r\n \"13.86.98.64/28\",\r\n \"20.37.156.64/27\",\r\n + \ \"20.37.192.80/29\",\r\n \"20.38.80.80/28\",\r\n \"20.40.104.96/27\",\r\n + \ \"20.40.104.128/27\",\r\n \"20.40.124.176/28\",\r\n \"20.40.124.240/28\",\r\n + \ \"20.40.125.80/28\",\r\n \"20.40.129.32/27\",\r\n \"20.40.129.64/26\",\r\n + \ \"20.40.129.128/27\",\r\n \"20.42.4.64/27\",\r\n \"20.42.35.32/28\",\r\n + \ \"20.42.35.64/26\",\r\n \"20.42.35.128/28\",\r\n \"20.42.129.32/27\",\r\n + \ \"20.43.40.80/28\",\r\n \"20.43.64.80/29\",\r\n \"20.43.128.96/29\",\r\n + \ \"20.45.5.160/27\",\r\n \"20.45.5.192/26\",\r\n \"20.189.106.64/29\",\r\n + \ \"23.100.224.16/28\",\r\n \"23.100.224.32/27\",\r\n \"23.100.224.64/26\",\r\n + \ \"23.100.225.0/28\",\r\n \"40.74.24.80/28\",\r\n \"40.80.186.128/26\",\r\n + \ \"40.91.82.48/28\",\r\n \"40.91.82.64/26\",\r\n \"40.91.82.128/28\",\r\n + \ \"40.119.8.96/27\",\r\n \"51.104.24.80/29\",\r\n \"51.105.9.128/27\",\r\n + \ \"51.105.9.160/28\",\r\n \"51.137.160.80/29\",\r\n \"51.144.56.96/27\",\r\n + \ \"51.144.56.128/26\",\r\n \"52.139.250.96/27\",\r\n \"52.139.250.128/27\",\r\n + \ \"52.140.232.160/27\",\r\n \"52.140.232.192/28\",\r\n \"52.158.28.64/26\",\r\n + \ \"52.229.216.48/28\",\r\n \"52.229.216.64/27\",\r\n \"191.233.26.64/28\",\r\n + \ \"191.233.26.128/28\",\r\n \"191.233.26.176/28\",\r\n \"191.235.224.80/29\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"ApplicationInsightsAvailability.JapanEast\",\r\n + \ \"id\": \"ApplicationInsightsAvailability.JapanEast\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"japaneast\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"FW\"\r\n ],\r\n + \ \"systemService\": \"ApplicationInsightsAvailability\",\r\n \"addressPrefixes\": + [\r\n \"20.43.64.80/29\",\r\n \"52.140.232.160/27\",\r\n + \ \"52.140.232.192/28\"\r\n ]\r\n }\r\n },\r\n {\r\n + \ \"name\": \"AppService\",\r\n \"id\": \"AppService\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\",\r\n + \ \"VSE\"\r\n ],\r\n \"systemService\": \"AzureAppService\",\r\n + \ \"addressPrefixes\": [\r\n \"13.64.73.110/32\",\r\n \"13.65.30.245/32\",\r\n + \ \"13.65.37.122/32\",\r\n \"13.65.39.165/32\",\r\n \"13.65.42.35/32\",\r\n + \ \"13.65.42.183/32\",\r\n \"13.65.45.30/32\",\r\n \"13.65.85.146/32\",\r\n + \ \"13.65.89.91/32\",\r\n \"13.65.92.72/32\",\r\n \"13.65.94.204/32\",\r\n + \ \"13.65.95.109/32\",\r\n \"13.65.97.243/32\",\r\n \"13.65.193.29/32\",\r\n + \ \"13.65.210.166/32\",\r\n \"13.65.212.252/32\",\r\n \"13.65.241.130/32\",\r\n + \ \"13.65.243.110/32\",\r\n \"13.66.16.101/32\",\r\n \"13.66.38.99/32\",\r\n + \ \"13.66.39.88/32\",\r\n \"13.66.138.96/27\",\r\n \"13.66.209.135/32\",\r\n + \ \"13.66.212.205/32\",\r\n \"13.66.226.80/32\",\r\n \"13.66.231.217/32\",\r\n + \ \"13.66.241.134/32\",\r\n \"13.66.244.249/32\",\r\n \"13.67.9.0/25\",\r\n + \ \"13.67.56.225/32\",\r\n \"13.67.63.90/32\",\r\n \"13.67.129.26/32\",\r\n + \ \"13.67.141.98/32\",\r\n \"13.68.29.136/32\",\r\n \"13.68.101.62/32\",\r\n + \ \"13.69.68.0/23\",\r\n \"13.69.186.152/32\",\r\n \"13.69.228.0/25\",\r\n + \ \"13.69.253.145/32\",\r\n \"13.70.72.32/27\",\r\n \"13.70.123.149/32\",\r\n + \ \"13.70.146.110/32\",\r\n \"13.70.147.206/32\",\r\n \"13.71.122.35/32\",\r\n + \ \"13.71.123.138/32\",\r\n \"13.71.149.151/32\",\r\n \"13.71.170.128/27\",\r\n + \ \"13.71.194.192/27\",\r\n \"13.73.1.134/32\",\r\n \"13.73.26.73/32\",\r\n + \ \"13.73.116.45/32\",\r\n \"13.73.118.104/32\",\r\n \"13.74.41.233/32\",\r\n + \ \"13.74.147.218/32\",\r\n \"13.74.158.5/32\",\r\n \"13.74.252.44/32\",\r\n + \ \"13.75.34.160/27\",\r\n \"13.75.46.26/32\",\r\n \"13.75.47.15/32\",\r\n + \ \"13.75.89.224/32\",\r\n \"13.75.112.108/32\",\r\n \"13.75.115.40/32\",\r\n + \ \"13.75.138.224/32\",\r\n \"13.75.147.143/32\",\r\n \"13.75.147.201/32\",\r\n + \ \"13.75.218.45/32\",\r\n \"13.76.44.139/32\",\r\n \"13.76.245.96/32\",\r\n + \ \"13.77.7.175/32\",\r\n \"13.77.50.96/27\",\r\n \"13.77.82.141/32\",\r\n + \ \"13.77.83.246/32\",\r\n \"13.77.96.119/32\",\r\n \"13.77.157.133/32\",\r\n + \ \"13.77.160.237/32\",\r\n \"13.77.182.13/32\",\r\n \"13.78.59.237/32\",\r\n + \ \"13.78.106.96/27\",\r\n \"13.78.117.86/32\",\r\n \"13.78.123.87/32\",\r\n + \ \"13.78.150.96/32\",\r\n \"13.78.184.89/32\",\r\n \"13.79.2.71/32\",\r\n + \ \"13.79.38.229/32\",\r\n \"13.79.172.40/32\",\r\n \"13.80.19.74/32\",\r\n + \ \"13.81.7.21/32\",\r\n \"13.81.108.99/32\",\r\n \"13.81.215.235/32\",\r\n + \ \"13.82.93.245/32\",\r\n \"13.82.101.179/32\",\r\n \"13.82.175.96/32\",\r\n + \ \"13.84.36.2/32\",\r\n \"13.84.40.227/32\",\r\n \"13.84.42.35/32\",\r\n + \ \"13.84.46.29/32\",\r\n \"13.84.55.137/32\",\r\n \"13.84.146.60/32\",\r\n + \ \"13.84.180.32/32\",\r\n \"13.84.181.47/32\",\r\n \"13.84.188.162/32\",\r\n + \ \"13.84.189.137/32\",\r\n \"13.84.227.164/32\",\r\n \"13.85.15.194/32\",\r\n + \ \"13.85.16.224/32\",\r\n \"13.85.20.144/32\",\r\n \"13.85.24.220/32\",\r\n + \ \"13.85.27.14/32\",\r\n \"13.85.31.243/32\",\r\n \"13.85.72.129/32\",\r\n + \ \"13.85.77.179/32\",\r\n \"13.85.82.0/32\",\r\n \"13.89.57.7/32\",\r\n + \ \"13.89.172.0/23\",\r\n \"13.89.238.239/32\",\r\n \"13.90.143.69/32\",\r\n + \ \"13.90.213.204/32\",\r\n \"13.91.40.166/32\",\r\n \"13.91.242.166/32\",\r\n + \ \"13.92.139.214/32\",\r\n \"13.92.193.110/32\",\r\n \"13.92.237.218/32\",\r\n + \ \"13.93.141.10/32\",\r\n \"13.93.158.16/32\",\r\n \"13.93.220.109/32\",\r\n + \ \"13.93.231.75/32\",\r\n \"13.94.47.87/32\",\r\n \"13.94.143.57/32\",\r\n + \ \"13.94.192.98/32\",\r\n \"13.94.211.38/32\",\r\n \"13.95.82.181/32\",\r\n + \ \"13.95.93.152/32\",\r\n \"13.95.150.128/32\",\r\n \"13.95.238.192/32\",\r\n + \ \"20.36.43.207/32\",\r\n \"20.36.72.230/32\",\r\n \"20.36.106.96/27\",\r\n + \ \"20.36.117.0/27\",\r\n \"20.36.122.0/27\",\r\n \"20.37.66.0/27\",\r\n + \ \"20.37.74.96/27\",\r\n \"20.37.196.192/27\",\r\n \"20.37.226.0/27\",\r\n + \ \"20.38.138.0/27\",\r\n \"20.38.146.160/27\",\r\n \"20.39.11.104/29\",\r\n + \ \"20.40.202.0/23\",\r\n \"20.41.66.224/27\",\r\n \"20.41.195.192/27\",\r\n + \ \"20.42.26.252/32\",\r\n \"20.42.128.96/27\",\r\n \"20.42.228.160/27\",\r\n + \ \"20.43.43.32/27\",\r\n \"20.43.67.32/27\",\r\n \"20.43.132.128/25\",\r\n + \ \"20.44.2.32/27\",\r\n \"20.44.26.160/27\",\r\n \"20.45.122.160/27\",\r\n + \ \"20.45.196.16/29\",\r\n \"20.49.82.32/27\",\r\n \"20.49.90.32/27\",\r\n + \ \"20.49.97.0/25\",\r\n \"20.49.104.0/25\",\r\n \"20.50.2.0/23\",\r\n + \ \"20.50.64.0/25\",\r\n \"20.72.26.32/27\",\r\n \"20.150.170.192/27\",\r\n + \ \"20.150.178.160/27\",\r\n \"20.150.186.160/27\",\r\n \"20.188.98.74/32\",\r\n + \ \"20.189.104.96/27\",\r\n \"20.189.109.96/27\",\r\n \"20.189.112.66/32\",\r\n + \ \"20.192.98.160/27\",\r\n \"20.192.234.128/27\",\r\n \"20.193.202.128/27\",\r\n + \ \"20.194.66.32/27\",\r\n \"23.96.0.52/32\",\r\n \"23.96.1.109/32\",\r\n + \ \"23.96.13.243/32\",\r\n \"23.96.32.128/32\",\r\n \"23.96.96.142/32\",\r\n + \ \"23.96.103.159/32\",\r\n \"23.96.112.53/32\",\r\n \"23.96.113.128/32\",\r\n + \ \"23.96.124.25/32\",\r\n \"23.96.187.5/32\",\r\n \"23.96.201.21/32\",\r\n + \ \"23.96.207.177/32\",\r\n \"23.96.209.155/32\",\r\n \"23.96.220.116/32\",\r\n + \ \"23.97.56.169/32\",\r\n \"23.97.79.119/32\",\r\n \"23.97.96.32/32\",\r\n + \ \"23.97.160.56/32\",\r\n \"23.97.160.74/32\",\r\n \"23.97.162.202/32\",\r\n + \ \"23.97.195.129/32\",\r\n \"23.97.208.18/32\",\r\n \"23.97.214.177/32\",\r\n + \ \"23.97.216.47/32\",\r\n \"23.97.224.11/32\",\r\n \"23.98.64.36/32\",\r\n + \ \"23.98.64.158/32\",\r\n \"23.99.0.12/32\",\r\n \"23.99.65.65/32\",\r\n + \ \"23.99.91.55/32\",\r\n \"23.99.110.192/32\",\r\n \"23.99.116.70/32\",\r\n + \ \"23.99.128.52/32\",\r\n \"23.99.183.149/32\",\r\n \"23.99.192.132/32\",\r\n + \ \"23.99.196.180/32\",\r\n \"23.99.206.151/32\",\r\n \"23.99.224.56/32\",\r\n + \ \"23.100.1.29/32\",\r\n \"23.100.46.198/32\",\r\n \"23.100.48.106/32\",\r\n + \ \"23.100.50.51/32\",\r\n \"23.100.52.22/32\",\r\n \"23.100.56.27/32\",\r\n + \ \"23.100.72.240/32\",\r\n \"23.100.82.11/32\",\r\n \"23.101.10.141/32\",\r\n + \ \"23.101.27.182/32\",\r\n \"23.101.54.230/32\",\r\n \"23.101.63.214/32\",\r\n + \ \"23.101.67.245/32\",\r\n \"23.101.118.145/32\",\r\n \"23.101.119.44/32\",\r\n + \ \"23.101.119.163/32\",\r\n \"23.101.120.195/32\",\r\n \"23.101.125.65/32\",\r\n + \ \"23.101.147.117/32\",\r\n \"23.101.169.175/32\",\r\n \"23.101.171.94/32\",\r\n + \ \"23.101.172.244/32\",\r\n \"23.101.180.75/32\",\r\n \"23.101.203.117/32\",\r\n + \ \"23.101.203.214/32\",\r\n \"23.101.207.250/32\",\r\n \"23.101.208.52/32\",\r\n + \ \"23.101.224.24/32\",\r\n \"23.101.230.162/32\",\r\n \"23.102.12.43/32\",\r\n + \ \"23.102.21.198/32\",\r\n \"23.102.21.212/32\",\r\n \"23.102.25.149/32\",\r\n + \ \"23.102.28.178/32\",\r\n \"23.102.154.38/32\",\r\n \"23.102.161.217/32\",\r\n + \ \"23.102.191.170/32\",\r\n \"40.64.128.224/27\",\r\n \"40.67.58.192/27\",\r\n + \ \"40.68.40.55/32\",\r\n \"40.68.205.178/32\",\r\n \"40.68.208.131/32\",\r\n + \ \"40.68.210.104/32\",\r\n \"40.68.214.185/32\",\r\n \"40.69.43.225/32\",\r\n + \ \"40.69.88.149/32\",\r\n \"40.69.106.96/27\",\r\n \"40.69.190.41/32\",\r\n + \ \"40.69.200.124/32\",\r\n \"40.69.210.172/32\",\r\n \"40.69.218.150/32\",\r\n + \ \"40.70.27.35/32\",\r\n \"40.70.147.0/25\",\r\n \"40.71.0.179/32\",\r\n + \ \"40.71.11.128/25\",\r\n \"40.71.177.34/32\",\r\n \"40.71.199.117/32\",\r\n + \ \"40.71.234.254/32\",\r\n \"40.71.250.191/32\",\r\n \"40.74.100.128/27\",\r\n + \ \"40.74.133.20/32\",\r\n \"40.74.245.188/32\",\r\n \"40.74.253.108/32\",\r\n + \ \"40.74.255.112/32\",\r\n \"40.76.5.137/32\",\r\n \"40.76.192.15/32\",\r\n + \ \"40.76.210.54/32\",\r\n \"40.76.218.33/32\",\r\n \"40.76.223.101/32\",\r\n + \ \"40.77.56.174/32\",\r\n \"40.78.18.232/32\",\r\n \"40.78.25.157/32\",\r\n + \ \"40.78.48.219/32\",\r\n \"40.78.194.96/27\",\r\n \"40.78.204.160/27\",\r\n + \ \"40.79.65.200/32\",\r\n \"40.79.130.128/27\",\r\n \"40.79.154.192/27\",\r\n + \ \"40.79.163.160/27\",\r\n \"40.79.171.64/27\",\r\n \"40.79.178.96/27\",\r\n + \ \"40.79.195.0/27\",\r\n \"40.80.50.160/27\",\r\n \"40.80.58.224/27\",\r\n + \ \"40.80.155.102/32\",\r\n \"40.80.156.205/32\",\r\n \"40.80.170.224/27\",\r\n + \ \"40.80.191.0/25\",\r\n \"40.82.191.84/32\",\r\n \"40.82.217.93/32\",\r\n + \ \"40.82.255.128/25\",\r\n \"40.83.16.172/32\",\r\n \"40.83.72.59/32\",\r\n + \ \"40.83.124.73/32\",\r\n \"40.83.145.50/32\",\r\n \"40.83.150.233/32\",\r\n + \ \"40.83.182.206/32\",\r\n \"40.83.183.236/32\",\r\n \"40.83.184.25/32\",\r\n + \ \"40.84.54.203/32\",\r\n \"40.84.59.174/32\",\r\n \"40.84.148.247/32\",\r\n + \ \"40.84.159.58/32\",\r\n \"40.84.194.106/32\",\r\n \"40.84.226.176/32\",\r\n + \ \"40.84.227.180/32\",\r\n \"40.84.232.28/32\",\r\n \"40.85.74.227/32\",\r\n + \ \"40.85.92.115/32\",\r\n \"40.85.96.208/32\",\r\n \"40.85.190.10/32\",\r\n + \ \"40.85.212.173/32\",\r\n \"40.85.230.182/32\",\r\n \"40.86.86.144/32\",\r\n + \ \"40.86.91.212/32\",\r\n \"40.86.96.177/32\",\r\n \"40.86.99.202/32\",\r\n + \ \"40.86.225.89/32\",\r\n \"40.86.230.96/32\",\r\n \"40.87.65.131/32\",\r\n + \ \"40.87.70.95/32\",\r\n \"40.89.19.0/27\",\r\n \"40.89.131.148/32\",\r\n + \ \"40.89.141.103/32\",\r\n \"40.112.69.156/32\",\r\n \"40.112.90.244/32\",\r\n + \ \"40.112.93.201/32\",\r\n \"40.112.142.148/32\",\r\n \"40.112.143.134/32\",\r\n + \ \"40.112.143.140/32\",\r\n \"40.112.143.214/32\",\r\n \"40.112.165.44/32\",\r\n + \ \"40.112.166.161/32\",\r\n \"40.112.191.159/32\",\r\n \"40.112.192.69/32\",\r\n + \ \"40.112.216.189/32\",\r\n \"40.112.243.0/25\",\r\n \"40.113.2.52/32\",\r\n + \ \"40.113.65.9/32\",\r\n \"40.113.71.148/32\",\r\n \"40.113.81.82/32\",\r\n + \ \"40.113.90.202/32\",\r\n \"40.113.126.251/32\",\r\n \"40.113.131.37/32\",\r\n + \ \"40.113.136.240/32\",\r\n \"40.113.142.219/32\",\r\n \"40.113.204.88/32\",\r\n + \ \"40.113.232.243/32\",\r\n \"40.113.236.45/32\",\r\n \"40.114.13.25/32\",\r\n + \ \"40.114.41.245/32\",\r\n \"40.114.51.68/32\",\r\n \"40.114.68.21/32\",\r\n + \ \"40.114.106.25/32\",\r\n \"40.114.194.188/32\",\r\n \"40.114.210.78/32\",\r\n + \ \"40.114.228.161/32\",\r\n \"40.114.237.65/32\",\r\n \"40.114.243.70/32\",\r\n + \ \"40.115.55.251/32\",\r\n \"40.115.98.85/32\",\r\n \"40.115.179.121/32\",\r\n + \ \"40.115.251.148/32\",\r\n \"40.117.154.240/32\",\r\n \"40.117.188.126/32\",\r\n + \ \"40.117.190.72/32\",\r\n \"40.118.29.72/32\",\r\n \"40.118.71.240/32\",\r\n + \ \"40.118.96.231/32\",\r\n \"40.118.100.127/32\",\r\n \"40.118.101.67/32\",\r\n + \ \"40.118.102.46/32\",\r\n \"40.118.185.161/32\",\r\n \"40.118.235.113/32\",\r\n + \ \"40.118.246.51/32\",\r\n \"40.118.255.59/32\",\r\n \"40.119.12.0/23\",\r\n + \ \"40.120.74.32/27\",\r\n \"40.121.8.241/32\",\r\n \"40.121.16.193/32\",\r\n + \ \"40.121.32.232/32\",\r\n \"40.121.35.221/32\",\r\n \"40.121.91.199/32\",\r\n + \ \"40.121.212.165/32\",\r\n \"40.121.221.52/32\",\r\n \"40.122.36.65/32\",\r\n + \ \"40.122.65.162/32\",\r\n \"40.122.110.154/32\",\r\n \"40.122.114.229/32\",\r\n + \ \"40.123.45.47/32\",\r\n \"40.123.47.58/32\",\r\n \"40.124.12.75/32\",\r\n + \ \"40.124.13.58/32\",\r\n \"40.126.227.158/32\",\r\n \"40.126.236.22/32\",\r\n + \ \"40.126.242.59/32\",\r\n \"40.126.245.169/32\",\r\n \"40.127.132.204/32\",\r\n + \ \"40.127.139.252/32\",\r\n \"40.127.192.244/32\",\r\n \"40.127.196.56/32\",\r\n + \ \"51.12.98.192/27\",\r\n \"51.12.202.192/27\",\r\n \"51.12.226.160/27\",\r\n + \ \"51.12.234.160/27\",\r\n \"51.104.28.64/26\",\r\n \"51.105.66.160/27\",\r\n + \ \"51.105.74.160/27\",\r\n \"51.105.90.32/27\",\r\n \"51.105.172.25/32\",\r\n + \ \"51.107.50.0/27\",\r\n \"51.107.58.160/27\",\r\n \"51.107.146.0/27\",\r\n + \ \"51.107.154.160/27\",\r\n \"51.116.49.32/27\",\r\n \"51.116.58.160/27\",\r\n + \ \"51.116.145.32/27\",\r\n \"51.116.154.224/27\",\r\n \"51.116.242.160/27\",\r\n + \ \"51.116.250.160/27\",\r\n \"51.120.42.0/27\",\r\n \"51.120.98.192/27\",\r\n + \ \"51.120.106.160/27\",\r\n \"51.120.210.160/27\",\r\n \"51.120.218.192/27\",\r\n + \ \"51.120.226.0/27\",\r\n \"51.136.14.31/32\",\r\n \"51.137.106.13/32\",\r\n + \ \"51.137.163.32/27\",\r\n \"51.140.37.241/32\",\r\n \"51.140.57.176/32\",\r\n + \ \"51.140.59.233/32\",\r\n \"51.140.75.147/32\",\r\n \"51.140.84.145/32\",\r\n + \ \"51.140.85.106/32\",\r\n \"51.140.87.39/32\",\r\n \"51.140.122.226/32\",\r\n + \ \"51.140.146.128/26\",\r\n \"51.140.152.154/32\",\r\n \"51.140.153.150/32\",\r\n + \ \"51.140.180.76/32\",\r\n \"51.140.185.151/32\",\r\n \"51.140.191.223/32\",\r\n + \ \"51.140.210.96/27\",\r\n \"51.140.244.162/32\",\r\n \"51.140.245.89/32\",\r\n + \ \"51.141.12.112/32\",\r\n \"51.141.37.245/32\",\r\n \"51.141.44.139/32\",\r\n + \ \"51.141.45.207/32\",\r\n \"51.141.90.252/32\",\r\n \"51.143.102.21/32\",\r\n + \ \"51.143.191.44/32\",\r\n \"51.144.7.192/32\",\r\n \"51.144.107.53/32\",\r\n + \ \"51.144.116.43/32\",\r\n \"51.144.164.215/32\",\r\n \"51.144.182.8/32\",\r\n + \ \"52.136.50.0/27\",\r\n \"52.136.138.55/32\",\r\n \"52.138.196.70/32\",\r\n + \ \"52.138.218.121/32\",\r\n \"52.140.106.224/27\",\r\n \"52.143.137.150/32\",\r\n + \ \"52.150.140.224/27\",\r\n \"52.151.62.51/32\",\r\n \"52.160.40.218/32\",\r\n + \ \"52.161.96.193/32\",\r\n \"52.162.107.0/25\",\r\n \"52.162.208.73/32\",\r\n + \ \"52.163.122.160/32\",\r\n \"52.164.201.186/32\",\r\n \"52.164.250.133/32\",\r\n + \ \"52.165.129.203/32\",\r\n \"52.165.135.234/32\",\r\n \"52.165.155.12/32\",\r\n + \ \"52.165.155.237/32\",\r\n \"52.165.163.223/32\",\r\n \"52.165.168.40/32\",\r\n + \ \"52.165.174.123/32\",\r\n \"52.165.184.170/32\",\r\n \"52.165.220.33/32\",\r\n + \ \"52.165.224.81/32\",\r\n \"52.165.237.15/32\",\r\n \"52.166.78.97/32\",\r\n + \ \"52.166.113.188/32\",\r\n \"52.166.119.99/32\",\r\n \"52.166.178.208/32\",\r\n + \ \"52.166.181.85/32\",\r\n \"52.166.198.163/32\",\r\n \"52.168.125.188/32\",\r\n + \ \"52.169.73.236/32\",\r\n \"52.169.78.163/32\",\r\n \"52.169.180.223/32\",\r\n + \ \"52.169.184.163/32\",\r\n \"52.169.188.236/32\",\r\n \"52.169.191.40/32\",\r\n + \ \"52.170.7.25/32\",\r\n \"52.170.46.174/32\",\r\n \"52.171.56.101/32\",\r\n + \ \"52.171.56.110/32\",\r\n \"52.171.136.200/32\",\r\n \"52.171.140.237/32\",\r\n + \ \"52.171.218.239/32\",\r\n \"52.171.221.170/32\",\r\n \"52.171.222.247/32\",\r\n + \ \"52.172.54.225/32\",\r\n \"52.172.195.80/32\",\r\n \"52.172.204.196/32\",\r\n + \ \"52.172.219.121/32\",\r\n \"52.173.28.95/32\",\r\n \"52.173.36.83/32\",\r\n + \ \"52.173.76.33/32\",\r\n \"52.173.77.140/32\",\r\n \"52.173.83.49/32\",\r\n + \ \"52.173.84.157/32\",\r\n \"52.173.87.130/32\",\r\n \"52.173.94.173/32\",\r\n + \ \"52.173.134.115/32\",\r\n \"52.173.139.99/32\",\r\n \"52.173.139.125/32\",\r\n + \ \"52.173.149.254/32\",\r\n \"52.173.151.229/32\",\r\n \"52.173.184.147/32\",\r\n + \ \"52.173.245.249/32\",\r\n \"52.173.249.137/32\",\r\n \"52.174.3.80/32\",\r\n + \ \"52.174.7.133/32\",\r\n \"52.174.35.5/32\",\r\n \"52.174.106.15/32\",\r\n + \ \"52.174.150.25/32\",\r\n \"52.174.181.178/32\",\r\n \"52.174.184.18/32\",\r\n + \ \"52.174.193.210/32\",\r\n \"52.174.235.29/32\",\r\n \"52.175.158.219/32\",\r\n + \ \"52.175.202.25/32\",\r\n \"52.175.254.10/32\",\r\n \"52.176.2.229/32\",\r\n + \ \"52.176.5.241/32\",\r\n \"52.176.6.0/32\",\r\n \"52.176.6.37/32\",\r\n + \ \"52.176.61.128/32\",\r\n \"52.176.104.120/32\",\r\n \"52.176.149.197/32\",\r\n + \ \"52.176.165.69/32\",\r\n \"52.177.169.150/32\",\r\n \"52.177.189.138/32\",\r\n + \ \"52.177.206.73/32\",\r\n \"52.178.29.39/32\",\r\n \"52.178.37.244/32\",\r\n + \ \"52.178.43.209/32\",\r\n \"52.178.45.139/32\",\r\n \"52.178.46.181/32\",\r\n + \ \"52.178.75.200/32\",\r\n \"52.178.79.163/32\",\r\n \"52.178.89.129/32\",\r\n + \ \"52.178.90.230/32\",\r\n \"52.178.92.96/32\",\r\n \"52.178.105.179/32\",\r\n + \ \"52.178.114.226/32\",\r\n \"52.178.158.175/32\",\r\n \"52.178.164.235/32\",\r\n + \ \"52.178.179.169/32\",\r\n \"52.178.190.191/32\",\r\n \"52.178.201.147/32\",\r\n + \ \"52.178.208.12/32\",\r\n \"52.178.212.17/32\",\r\n \"52.178.214.89/32\",\r\n + \ \"52.179.97.15/32\",\r\n \"52.179.188.206/32\",\r\n \"52.180.178.6/32\",\r\n + \ \"52.180.183.66/32\",\r\n \"52.183.82.125/32\",\r\n \"52.184.162.135/32\",\r\n + \ \"52.184.193.103/32\",\r\n \"52.184.193.104/32\",\r\n \"52.187.17.126/32\",\r\n + \ \"52.187.36.104/32\",\r\n \"52.187.52.94/32\",\r\n \"52.187.135.79/32\",\r\n + \ \"52.187.206.243/32\",\r\n \"52.187.229.23/32\",\r\n \"52.189.213.49/32\",\r\n + \ \"52.225.179.39/32\",\r\n \"52.225.190.65/32\",\r\n \"52.226.134.64/32\",\r\n + \ \"52.228.42.76/32\",\r\n \"52.228.84.32/27\",\r\n \"52.228.121.123/32\",\r\n + \ \"52.229.30.210/32\",\r\n \"52.229.115.84/32\",\r\n \"52.230.1.186/32\",\r\n + \ \"52.231.18.128/27\",\r\n \"52.231.32.120/32\",\r\n \"52.231.38.95/32\",\r\n + \ \"52.231.77.58/32\",\r\n \"52.231.146.96/27\",\r\n \"52.231.200.101/32\",\r\n + \ \"52.231.200.179/32\",\r\n \"52.232.19.237/32\",\r\n \"52.232.26.228/32\",\r\n + \ \"52.232.33.202/32\",\r\n \"52.232.56.79/32\",\r\n \"52.232.127.196/32\",\r\n + \ \"52.233.38.143/32\",\r\n \"52.233.128.61/32\",\r\n \"52.233.133.18/32\",\r\n + \ \"52.233.133.121/32\",\r\n \"52.233.155.168/32\",\r\n \"52.233.164.195/32\",\r\n + \ \"52.233.175.59/32\",\r\n \"52.233.184.181/32\",\r\n \"52.233.198.206/32\",\r\n + \ \"52.234.209.94/32\",\r\n \"52.237.18.220/32\",\r\n \"52.237.22.139/32\",\r\n + \ \"52.237.130.0/32\",\r\n \"52.237.205.163/32\",\r\n \"52.237.214.221/32\",\r\n + \ \"52.237.246.162/32\",\r\n \"52.240.149.243/32\",\r\n \"52.240.155.58/32\",\r\n + \ \"52.242.22.213/32\",\r\n \"52.242.27.213/32\",\r\n \"52.243.39.89/32\",\r\n + \ \"52.246.154.160/27\",\r\n \"52.252.160.21/32\",\r\n \"52.253.224.223/32\",\r\n + \ \"52.255.35.249/32\",\r\n \"52.255.54.134/32\",\r\n \"65.52.24.41/32\",\r\n + \ \"65.52.128.33/32\",\r\n \"65.52.130.1/32\",\r\n \"65.52.160.119/32\",\r\n + \ \"65.52.168.70/32\",\r\n \"65.52.213.73/32\",\r\n \"65.52.217.59/32\",\r\n + \ \"65.52.218.253/32\",\r\n \"65.52.250.96/27\",\r\n \"94.245.104.73/32\",\r\n + \ \"102.133.26.32/27\",\r\n \"102.133.57.128/27\",\r\n \"102.133.122.160/27\",\r\n + \ \"102.133.154.32/27\",\r\n \"102.133.218.32/28\",\r\n \"102.133.250.160/27\",\r\n + \ \"104.40.3.53/32\",\r\n \"104.40.11.192/32\",\r\n \"104.40.28.133/32\",\r\n + \ \"104.40.53.219/32\",\r\n \"104.40.63.98/32\",\r\n \"104.40.84.133/32\",\r\n + \ \"104.40.92.107/32\",\r\n \"104.40.129.89/32\",\r\n \"104.40.147.180/32\",\r\n + \ \"104.40.147.216/32\",\r\n \"104.40.158.55/32\",\r\n \"104.40.179.243/32\",\r\n + \ \"104.40.183.236/32\",\r\n \"104.40.185.192/32\",\r\n \"104.40.187.26/32\",\r\n + \ \"104.40.191.174/32\",\r\n \"104.40.210.25/32\",\r\n \"104.40.215.219/32\",\r\n + \ \"104.40.222.81/32\",\r\n \"104.40.250.100/32\",\r\n \"104.41.9.139/32\",\r\n + \ \"104.41.13.179/32\",\r\n \"104.41.63.108/32\",\r\n \"104.41.186.103/32\",\r\n + \ \"104.41.216.137/32\",\r\n \"104.41.229.199/32\",\r\n \"104.42.53.248/32\",\r\n + \ \"104.42.78.153/32\",\r\n \"104.42.128.171/32\",\r\n \"104.42.148.55/32\",\r\n + \ \"104.42.152.64/32\",\r\n \"104.42.154.105/32\",\r\n \"104.42.188.146/32\",\r\n + \ \"104.42.231.5/32\",\r\n \"104.43.129.105/32\",\r\n \"104.43.140.101/32\",\r\n + \ \"104.43.142.33/32\",\r\n \"104.43.221.31/32\",\r\n \"104.43.246.71/32\",\r\n + \ \"104.43.254.102/32\",\r\n \"104.44.128.13/32\",\r\n \"104.44.130.38/32\",\r\n + \ \"104.45.1.117/32\",\r\n \"104.45.14.249/32\",\r\n \"104.45.81.79/32\",\r\n + \ \"104.45.95.61/32\",\r\n \"104.45.129.178/32\",\r\n \"104.45.141.247/32\",\r\n + \ \"104.45.152.13/32\",\r\n \"104.45.152.60/32\",\r\n \"104.45.154.200/32\",\r\n + \ \"104.45.226.98/32\",\r\n \"104.45.231.79/32\",\r\n \"104.46.38.245/32\",\r\n + \ \"104.46.44.78/32\",\r\n \"104.46.61.116/32\",\r\n \"104.46.101.59/32\",\r\n + \ \"104.47.137.62/32\",\r\n \"104.47.151.115/32\",\r\n \"104.47.160.14/32\",\r\n + \ \"104.47.164.119/32\",\r\n \"104.208.48.107/32\",\r\n \"104.209.178.67/32\",\r\n + \ \"104.209.192.206/32\",\r\n \"104.209.197.87/32\",\r\n + \ \"104.210.38.149/32\",\r\n \"104.210.69.241/32\",\r\n \"104.210.92.71/32\",\r\n + \ \"104.210.145.181/32\",\r\n \"104.210.147.57/32\",\r\n + \ \"104.210.152.76/32\",\r\n \"104.210.152.122/32\",\r\n + \ \"104.210.153.116/32\",\r\n \"104.210.158.20/32\",\r\n + \ \"104.211.26.212/32\",\r\n \"104.211.81.32/27\",\r\n \"104.211.97.138/32\",\r\n + \ \"104.211.146.96/27\",\r\n \"104.211.160.159/32\",\r\n + \ \"104.211.179.11/32\",\r\n \"104.211.184.197/32\",\r\n + \ \"104.211.224.252/32\",\r\n \"104.211.225.167/32\",\r\n + \ \"104.214.20.0/23\",\r\n \"104.214.29.203/32\",\r\n \"104.214.64.238/32\",\r\n + \ \"104.214.74.110/32\",\r\n \"104.214.77.221/32\",\r\n \"104.214.110.60/32\",\r\n + \ \"104.214.110.226/32\",\r\n \"104.214.118.174/32\",\r\n + \ \"104.214.119.36/32\",\r\n \"104.214.137.236/32\",\r\n + \ \"104.214.231.110/32\",\r\n \"104.214.236.47/32\",\r\n + \ \"104.214.237.135/32\",\r\n \"104.215.11.176/32\",\r\n + \ \"104.215.58.230/32\",\r\n \"104.215.73.236/32\",\r\n \"104.215.78.13/32\",\r\n + \ \"104.215.89.22/32\",\r\n \"104.215.147.45/32\",\r\n \"104.215.155.1/32\",\r\n + \ \"111.221.95.27/32\",\r\n \"137.116.78.243/32\",\r\n \"137.116.88.213/32\",\r\n + \ \"137.116.128.188/32\",\r\n \"137.116.153.238/32\",\r\n + \ \"137.117.9.212/32\",\r\n \"137.117.17.70/32\",\r\n \"137.117.58.204/32\",\r\n + \ \"137.117.66.167/32\",\r\n \"137.117.84.54/32\",\r\n \"137.117.90.63/32\",\r\n + \ \"137.117.93.87/32\",\r\n \"137.117.166.35/32\",\r\n \"137.117.175.14/32\",\r\n + \ \"137.117.203.130/32\",\r\n \"137.117.211.244/32\",\r\n + \ \"137.117.218.101/32\",\r\n \"137.117.224.218/32\",\r\n + \ \"137.117.225.87/32\",\r\n \"137.135.91.176/32\",\r\n \"137.135.107.235/32\",\r\n + \ \"137.135.129.175/32\",\r\n \"137.135.133.221/32\",\r\n + \ \"138.91.0.30/32\",\r\n \"138.91.16.18/32\",\r\n \"138.91.224.84/32\",\r\n + \ \"138.91.225.40/32\",\r\n \"138.91.240.81/32\",\r\n \"157.56.13.114/32\",\r\n + \ \"168.61.152.29/32\",\r\n \"168.61.159.114/32\",\r\n \"168.61.217.214/32\",\r\n + \ \"168.61.218.125/32\",\r\n \"168.62.20.37/32\",\r\n \"168.62.48.183/32\",\r\n + \ \"168.62.180.173/32\",\r\n \"168.62.224.13/32\",\r\n \"168.62.225.23/32\",\r\n + \ \"168.63.5.231/32\",\r\n \"168.63.53.239/32\",\r\n \"168.63.107.5/32\",\r\n + \ \"191.232.38.77/32\",\r\n \"191.232.176.16/32\",\r\n \"191.233.50.32/27\",\r\n + \ \"191.233.82.44/32\",\r\n \"191.233.85.165/32\",\r\n \"191.233.87.194/32\",\r\n + \ \"191.233.203.32/27\",\r\n \"191.234.16.188/32\",\r\n \"191.234.146.160/27\",\r\n + \ \"191.234.154.160/27\",\r\n \"191.235.81.73/32\",\r\n \"191.235.90.70/32\",\r\n + \ \"191.235.160.13/32\",\r\n \"191.235.176.12/32\",\r\n \"191.235.177.30/32\",\r\n + \ \"191.235.208.12/32\",\r\n \"191.235.215.184/32\",\r\n + \ \"191.235.228.32/27\",\r\n \"191.236.16.12/32\",\r\n \"191.236.59.67/32\",\r\n + \ \"191.236.80.12/32\",\r\n \"191.236.106.123/32\",\r\n \"191.236.148.9/32\",\r\n + \ \"191.236.192.121/32\",\r\n \"191.237.24.89/32\",\r\n \"191.237.27.74/32\",\r\n + \ \"191.237.128.238/32\",\r\n \"191.238.8.26/32\",\r\n \"191.238.33.50/32\",\r\n + \ \"191.238.176.139/32\",\r\n \"191.238.240.12/32\",\r\n + \ \"191.239.58.162/32\",\r\n \"191.239.188.11/32\",\r\n \"207.46.144.49/32\",\r\n + \ \"207.46.147.148/32\",\r\n \"2603:1000:4:402::a0/123\",\r\n + \ \"2603:1000:104:402::a0/123\",\r\n \"2603:1000:104:802::a0/123\",\r\n + \ \"2603:1000:104:c02::a0/123\",\r\n \"2603:1010:6:402::a0/123\",\r\n + \ \"2603:1010:6:802::a0/123\",\r\n \"2603:1010:6:c02::a0/123\",\r\n + \ \"2603:1010:101:402::a0/123\",\r\n \"2603:1010:304:402::a0/123\",\r\n + \ \"2603:1010:404:402::a0/123\",\r\n \"2603:1020:5:402::a0/123\",\r\n + \ \"2603:1020:5:802::a0/123\",\r\n \"2603:1020:5:c02::a0/123\",\r\n + \ \"2603:1020:206:402::a0/123\",\r\n \"2603:1020:206:802::a0/123\",\r\n + \ \"2603:1020:206:c02::a0/123\",\r\n \"2603:1020:305:402::a0/123\",\r\n + \ \"2603:1020:405:402::a0/123\",\r\n \"2603:1020:605:402::a0/123\",\r\n + \ \"2603:1020:705:402::a0/123\",\r\n \"2603:1020:705:802::a0/123\",\r\n + \ \"2603:1020:705:c02::a0/123\",\r\n \"2603:1020:805:402::a0/123\",\r\n + \ \"2603:1020:805:802::a0/123\",\r\n \"2603:1020:805:c02::a0/123\",\r\n + \ \"2603:1020:905:402::a0/123\",\r\n \"2603:1020:a04:402::a0/123\",\r\n + \ \"2603:1020:a04:802::a0/123\",\r\n \"2603:1020:a04:c02::a0/123\",\r\n + \ \"2603:1020:b04:402::a0/123\",\r\n \"2603:1020:c04:402::a0/123\",\r\n + \ \"2603:1020:c04:802::a0/123\",\r\n \"2603:1020:c04:c02::a0/123\",\r\n + \ \"2603:1020:d04:402::a0/123\",\r\n \"2603:1020:e04:402::a0/123\",\r\n + \ \"2603:1020:e04:802::a0/123\",\r\n \"2603:1020:e04:c02::a0/123\",\r\n + \ \"2603:1020:f04:402::a0/123\",\r\n \"2603:1020:1004:400::a0/123\",\r\n + \ \"2603:1020:1004:800::160/123\",\r\n \"2603:1020:1004:800::360/123\",\r\n + \ \"2603:1020:1104:400::a0/123\",\r\n \"2603:1030:f:400::8a0/123\",\r\n + \ \"2603:1030:10:402::a0/123\",\r\n \"2603:1030:10:802::a0/123\",\r\n + \ \"2603:1030:10:c02::a0/123\",\r\n \"2603:1030:104:402::a0/123\",\r\n + \ \"2603:1030:107:400::20/123\",\r\n \"2603:1030:210:402::a0/123\",\r\n + \ \"2603:1030:210:802::a0/123\",\r\n \"2603:1030:210:c02::a0/123\",\r\n + \ \"2603:1030:40b:400::8a0/123\",\r\n \"2603:1030:40b:800::a0/123\",\r\n + \ \"2603:1030:40b:c00::a0/123\",\r\n \"2603:1030:40c:402::a0/123\",\r\n + \ \"2603:1030:40c:802::a0/123\",\r\n \"2603:1030:40c:c02::a0/123\",\r\n + \ \"2603:1030:504:402::a0/123\",\r\n \"2603:1030:504:802::160/123\",\r\n + \ \"2603:1030:504:802::360/123\",\r\n \"2603:1030:504:c02::3a0/123\",\r\n + \ \"2603:1030:608:402::a0/123\",\r\n \"2603:1030:807:402::a0/123\",\r\n + \ \"2603:1030:807:802::a0/123\",\r\n \"2603:1030:807:c02::a0/123\",\r\n + \ \"2603:1030:a07:402::a0/123\",\r\n \"2603:1030:b04:402::a0/123\",\r\n + \ \"2603:1030:c06:400::8a0/123\",\r\n \"2603:1030:c06:802::a0/123\",\r\n + \ \"2603:1030:c06:c02::a0/123\",\r\n \"2603:1030:f05:402::a0/123\",\r\n + \ \"2603:1030:f05:802::a0/123\",\r\n \"2603:1030:f05:c02::a0/123\",\r\n + \ \"2603:1030:1005:402::a0/123\",\r\n \"2603:1040:5:402::a0/123\",\r\n + \ \"2603:1040:5:802::a0/123\",\r\n \"2603:1040:5:c02::a0/123\",\r\n + \ \"2603:1040:207:402::a0/123\",\r\n \"2603:1040:407:402::a0/123\",\r\n + \ \"2603:1040:407:802::a0/123\",\r\n \"2603:1040:407:c02::a0/123\",\r\n + \ \"2603:1040:606:402::a0/123\",\r\n \"2603:1040:806:402::a0/123\",\r\n + \ \"2603:1040:904:402::a0/123\",\r\n \"2603:1040:904:802::a0/123\",\r\n + \ \"2603:1040:904:c02::a0/123\",\r\n \"2603:1040:a06:402::a0/123\",\r\n + \ \"2603:1040:a06:802::a0/123\",\r\n \"2603:1040:a06:c02::a0/123\",\r\n + \ \"2603:1040:b04:402::a0/123\",\r\n \"2603:1040:c06:402::a0/123\",\r\n + \ \"2603:1040:d04:400::a0/123\",\r\n \"2603:1040:d04:800::160/123\",\r\n + \ \"2603:1040:d04:800::360/123\",\r\n \"2603:1040:f05:402::a0/123\",\r\n + \ \"2603:1040:f05:802::a0/123\",\r\n \"2603:1040:f05:c02::a0/123\",\r\n + \ \"2603:1040:1104:400::a0/123\",\r\n \"2603:1050:6:402::a0/123\",\r\n + \ \"2603:1050:6:802::a0/123\",\r\n \"2603:1050:6:c02::a0/123\",\r\n + \ \"2603:1050:403:400::a0/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AppService.AustraliaCentral\",\r\n \"id\": + \"AppService.AustraliaCentral\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\": + \"australiacentral\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\",\r\n + \ \"VSE\"\r\n ],\r\n \"systemService\": \"AzureAppService\",\r\n + \ \"addressPrefixes\": [\r\n \"20.36.43.207/32\",\r\n \"20.36.106.96/27\",\r\n + \ \"20.37.226.0/27\",\r\n \"2603:1010:304:402::a0/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AppService.AustraliaCentral2\",\r\n + \ \"id\": \"AppService.AustraliaCentral2\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"australiacentral2\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\",\r\n \"VSE\"\r\n ],\r\n + \ \"systemService\": \"AzureAppService\",\r\n \"addressPrefixes\": + [\r\n \"20.36.72.230/32\",\r\n \"20.36.117.0/27\",\r\n \"20.36.122.0/27\",\r\n + \ \"2603:1010:404:402::a0/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AppService.AustraliaEast\",\r\n \"id\": \"AppService.AustraliaEast\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"australiaeast\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\",\r\n \"VSE\"\r\n ],\r\n + \ \"systemService\": \"AzureAppService\",\r\n \"addressPrefixes\": + [\r\n \"13.70.72.32/27\",\r\n \"13.70.123.149/32\",\r\n + \ \"13.75.138.224/32\",\r\n \"13.75.147.143/32\",\r\n \"13.75.147.201/32\",\r\n + \ \"13.75.218.45/32\",\r\n \"20.37.196.192/27\",\r\n \"23.101.208.52/32\",\r\n + \ \"40.79.163.160/27\",\r\n \"40.79.171.64/27\",\r\n \"40.82.217.93/32\",\r\n + \ \"40.126.227.158/32\",\r\n \"40.126.236.22/32\",\r\n \"40.126.242.59/32\",\r\n + \ \"40.126.245.169/32\",\r\n \"52.187.206.243/32\",\r\n \"52.187.229.23/32\",\r\n + \ \"52.237.205.163/32\",\r\n \"52.237.214.221/32\",\r\n \"52.237.246.162/32\",\r\n + \ \"104.210.69.241/32\",\r\n \"104.210.92.71/32\",\r\n \"2603:1010:6:402::a0/123\",\r\n + \ \"2603:1010:6:802::a0/123\",\r\n \"2603:1010:6:c02::a0/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AppService.AustraliaSoutheast\",\r\n + \ \"id\": \"AppService.AustraliaSoutheast\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"australiasoutheast\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\",\r\n \"VSE\"\r\n ],\r\n + \ \"systemService\": \"AzureAppService\",\r\n \"addressPrefixes\": + [\r\n \"13.70.146.110/32\",\r\n \"13.70.147.206/32\",\r\n + \ \"13.73.116.45/32\",\r\n \"13.73.118.104/32\",\r\n \"13.77.7.175/32\",\r\n + \ \"13.77.50.96/27\",\r\n \"20.42.228.160/27\",\r\n \"23.101.224.24/32\",\r\n + \ \"23.101.230.162/32\",\r\n \"52.189.213.49/32\",\r\n \"52.255.35.249/32\",\r\n + \ \"52.255.54.134/32\",\r\n \"191.239.188.11/32\",\r\n \"2603:1010:101:402::a0/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AppService.BrazilSouth\",\r\n + \ \"id\": \"AppService.BrazilSouth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"brazilsouth\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\",\r\n + \ \"VSE\"\r\n ],\r\n \"systemService\": \"AzureAppService\",\r\n + \ \"addressPrefixes\": [\r\n \"23.97.96.32/32\",\r\n \"104.41.9.139/32\",\r\n + \ \"104.41.13.179/32\",\r\n \"104.41.63.108/32\",\r\n \"191.232.38.77/32\",\r\n + \ \"191.232.176.16/32\",\r\n \"191.233.203.32/27\",\r\n \"191.234.146.160/27\",\r\n + \ \"191.234.154.160/27\",\r\n \"191.235.81.73/32\",\r\n \"191.235.90.70/32\",\r\n + \ \"191.235.228.32/27\",\r\n \"2603:1050:6:402::a0/123\",\r\n + \ \"2603:1050:6:802::a0/123\",\r\n \"2603:1050:6:c02::a0/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AppService.CanadaCentral\",\r\n + \ \"id\": \"AppService.CanadaCentral\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"canadacentral\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"VSE\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureAppService\",\r\n \"addressPrefixes\": + [\r\n \"13.71.170.128/27\",\r\n \"20.38.146.160/27\",\r\n + \ \"40.82.191.84/32\",\r\n \"40.85.212.173/32\",\r\n \"40.85.230.182/32\",\r\n + \ \"52.228.42.76/32\",\r\n \"52.228.84.32/27\",\r\n \"52.228.121.123/32\",\r\n + \ \"52.233.38.143/32\",\r\n \"52.237.18.220/32\",\r\n \"52.237.22.139/32\",\r\n + \ \"52.246.154.160/27\",\r\n \"2603:1030:f05:402::a0/123\",\r\n + \ \"2603:1030:f05:802::a0/123\",\r\n \"2603:1030:f05:c02::a0/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AppService.CanadaEast\",\r\n + \ \"id\": \"AppService.CanadaEast\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"canadaeast\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\",\r\n + \ \"VSE\"\r\n ],\r\n \"systemService\": \"AzureAppService\",\r\n + \ \"addressPrefixes\": [\r\n \"40.69.106.96/27\",\r\n \"40.86.225.89/32\",\r\n + \ \"40.86.230.96/32\",\r\n \"40.89.19.0/27\",\r\n \"52.229.115.84/32\",\r\n + \ \"52.242.22.213/32\",\r\n \"52.242.27.213/32\",\r\n \"2603:1030:1005:402::a0/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AppService.CentralIndia\",\r\n + \ \"id\": \"AppService.CentralIndia\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"centralindia\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\",\r\n + \ \"VSE\"\r\n ],\r\n \"systemService\": \"AzureAppService\",\r\n + \ \"addressPrefixes\": [\r\n \"20.192.98.160/27\",\r\n \"40.80.50.160/27\",\r\n + \ \"52.140.106.224/27\",\r\n \"52.172.195.80/32\",\r\n \"52.172.204.196/32\",\r\n + \ \"52.172.219.121/32\",\r\n \"104.211.81.32/27\",\r\n \"104.211.97.138/32\",\r\n + \ \"2603:1040:a06:402::a0/123\",\r\n \"2603:1040:a06:802::a0/123\",\r\n + \ \"2603:1040:a06:c02::a0/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AppService.CentralUS\",\r\n \"id\": \"AppService.CentralUS\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"centralus\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"VSE\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureAppService\",\r\n \"addressPrefixes\": [\r\n \"13.67.129.26/32\",\r\n + \ \"13.67.141.98/32\",\r\n \"13.89.57.7/32\",\r\n \"13.89.172.0/23\",\r\n + \ \"13.89.238.239/32\",\r\n \"20.40.202.0/23\",\r\n \"23.99.128.52/32\",\r\n + \ \"23.99.183.149/32\",\r\n \"23.99.192.132/32\",\r\n \"23.99.196.180/32\",\r\n + \ \"23.99.206.151/32\",\r\n \"23.99.224.56/32\",\r\n \"23.100.82.11/32\",\r\n + \ \"23.101.118.145/32\",\r\n \"23.101.119.44/32\",\r\n \"23.101.119.163/32\",\r\n + \ \"23.101.120.195/32\",\r\n \"23.101.125.65/32\",\r\n \"40.69.190.41/32\",\r\n + \ \"40.77.56.174/32\",\r\n \"40.83.16.172/32\",\r\n \"40.86.86.144/32\",\r\n + \ \"40.86.91.212/32\",\r\n \"40.86.96.177/32\",\r\n \"40.86.99.202/32\",\r\n + \ \"40.113.204.88/32\",\r\n \"40.113.232.243/32\",\r\n \"40.113.236.45/32\",\r\n + \ \"40.122.36.65/32\",\r\n \"40.122.65.162/32\",\r\n \"40.122.110.154/32\",\r\n + \ \"40.122.114.229/32\",\r\n \"52.165.129.203/32\",\r\n \"52.165.135.234/32\",\r\n + \ \"52.165.155.12/32\",\r\n \"52.165.155.237/32\",\r\n \"52.165.163.223/32\",\r\n + \ \"52.165.168.40/32\",\r\n \"52.165.174.123/32\",\r\n \"52.165.184.170/32\",\r\n + \ \"52.165.220.33/32\",\r\n \"52.165.224.81/32\",\r\n \"52.165.237.15/32\",\r\n + \ \"52.173.28.95/32\",\r\n \"52.173.36.83/32\",\r\n \"52.173.76.33/32\",\r\n + \ \"52.173.77.140/32\",\r\n \"52.173.83.49/32\",\r\n \"52.173.84.157/32\",\r\n + \ \"52.173.87.130/32\",\r\n \"52.173.94.173/32\",\r\n \"52.173.134.115/32\",\r\n + \ \"52.173.139.99/32\",\r\n \"52.173.139.125/32\",\r\n \"52.173.149.254/32\",\r\n + \ \"52.173.151.229/32\",\r\n \"52.173.184.147/32\",\r\n \"52.173.245.249/32\",\r\n + \ \"52.173.249.137/32\",\r\n \"52.176.2.229/32\",\r\n \"52.176.5.241/32\",\r\n + \ \"52.176.6.0/32\",\r\n \"52.176.6.37/32\",\r\n \"52.176.61.128/32\",\r\n + \ \"52.176.104.120/32\",\r\n \"52.176.149.197/32\",\r\n \"52.176.165.69/32\",\r\n + \ \"104.43.129.105/32\",\r\n \"104.43.140.101/32\",\r\n \"104.43.142.33/32\",\r\n + \ \"104.43.221.31/32\",\r\n \"104.43.246.71/32\",\r\n \"104.43.254.102/32\",\r\n + \ \"168.61.152.29/32\",\r\n \"168.61.159.114/32\",\r\n \"168.61.217.214/32\",\r\n + \ \"168.61.218.125/32\",\r\n \"2603:1030:10:402::a0/123\",\r\n + \ \"2603:1030:10:802::a0/123\",\r\n \"2603:1030:10:c02::a0/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AppService.CentralUSEUAP\",\r\n + \ \"id\": \"AppService.CentralUSEUAP\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"centraluseuap\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\",\r\n + \ \"VSE\"\r\n ],\r\n \"systemService\": \"AzureAppService\",\r\n + \ \"addressPrefixes\": [\r\n \"20.45.196.16/29\",\r\n \"40.78.204.160/27\",\r\n + \ \"52.180.178.6/32\",\r\n \"52.180.183.66/32\",\r\n \"104.208.48.107/32\",\r\n + \ \"2603:1030:f:400::8a0/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AppService.EastAsia\",\r\n \"id\": \"AppService.EastAsia\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"eastasia\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\",\r\n \"VSE\"\r\n ],\r\n + \ \"systemService\": \"AzureAppService\",\r\n \"addressPrefixes\": + [\r\n \"13.75.34.160/27\",\r\n \"13.75.46.26/32\",\r\n \"13.75.47.15/32\",\r\n + \ \"13.75.89.224/32\",\r\n \"13.75.112.108/32\",\r\n \"13.75.115.40/32\",\r\n + \ \"13.94.47.87/32\",\r\n \"20.189.104.96/27\",\r\n \"20.189.109.96/27\",\r\n + \ \"20.189.112.66/32\",\r\n \"23.97.79.119/32\",\r\n \"23.99.110.192/32\",\r\n + \ \"23.99.116.70/32\",\r\n \"23.101.10.141/32\",\r\n \"40.83.72.59/32\",\r\n + \ \"40.83.124.73/32\",\r\n \"65.52.160.119/32\",\r\n \"65.52.168.70/32\",\r\n + \ \"191.234.16.188/32\",\r\n \"207.46.144.49/32\",\r\n \"207.46.147.148/32\",\r\n + \ \"2603:1040:207:402::a0/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AppService.EastUS\",\r\n \"id\": \"AppService.EastUS\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"eastus\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\",\r\n \"VSE\"\r\n ],\r\n + \ \"systemService\": \"AzureAppService\",\r\n \"addressPrefixes\": + [\r\n \"13.82.93.245/32\",\r\n \"13.82.101.179/32\",\r\n + \ \"13.82.175.96/32\",\r\n \"13.90.143.69/32\",\r\n \"13.90.213.204/32\",\r\n + \ \"13.92.139.214/32\",\r\n \"13.92.193.110/32\",\r\n \"13.92.237.218/32\",\r\n + \ \"20.42.26.252/32\",\r\n \"20.49.104.0/25\",\r\n \"23.96.0.52/32\",\r\n + \ \"23.96.1.109/32\",\r\n \"23.96.13.243/32\",\r\n \"23.96.32.128/32\",\r\n + \ \"23.96.96.142/32\",\r\n \"23.96.103.159/32\",\r\n \"23.96.112.53/32\",\r\n + \ \"23.96.113.128/32\",\r\n \"23.96.124.25/32\",\r\n \"40.71.0.179/32\",\r\n + \ \"40.71.11.128/25\",\r\n \"40.71.177.34/32\",\r\n \"40.71.199.117/32\",\r\n + \ \"40.71.234.254/32\",\r\n \"40.71.250.191/32\",\r\n \"40.76.5.137/32\",\r\n + \ \"40.76.192.15/32\",\r\n \"40.76.210.54/32\",\r\n \"40.76.218.33/32\",\r\n + \ \"40.76.223.101/32\",\r\n \"40.79.154.192/27\",\r\n \"40.85.190.10/32\",\r\n + \ \"40.87.65.131/32\",\r\n \"40.87.70.95/32\",\r\n \"40.114.13.25/32\",\r\n + \ \"40.114.41.245/32\",\r\n \"40.114.51.68/32\",\r\n \"40.114.68.21/32\",\r\n + \ \"40.114.106.25/32\",\r\n \"40.117.154.240/32\",\r\n \"40.117.188.126/32\",\r\n + \ \"40.117.190.72/32\",\r\n \"40.121.8.241/32\",\r\n \"40.121.16.193/32\",\r\n + \ \"40.121.32.232/32\",\r\n \"40.121.35.221/32\",\r\n \"40.121.91.199/32\",\r\n + \ \"40.121.212.165/32\",\r\n \"40.121.221.52/32\",\r\n \"52.168.125.188/32\",\r\n + \ \"52.170.7.25/32\",\r\n \"52.170.46.174/32\",\r\n \"52.179.97.15/32\",\r\n + \ \"52.226.134.64/32\",\r\n \"52.234.209.94/32\",\r\n \"104.45.129.178/32\",\r\n + \ \"104.45.141.247/32\",\r\n \"104.45.152.13/32\",\r\n \"104.45.152.60/32\",\r\n + \ \"104.45.154.200/32\",\r\n \"104.211.26.212/32\",\r\n \"137.117.58.204/32\",\r\n + \ \"137.117.66.167/32\",\r\n \"137.117.84.54/32\",\r\n \"137.117.90.63/32\",\r\n + \ \"137.117.93.87/32\",\r\n \"137.135.91.176/32\",\r\n \"137.135.107.235/32\",\r\n + \ \"168.62.48.183/32\",\r\n \"168.62.180.173/32\",\r\n \"191.236.16.12/32\",\r\n + \ \"191.236.59.67/32\",\r\n \"191.237.24.89/32\",\r\n \"191.237.27.74/32\",\r\n + \ \"191.238.8.26/32\",\r\n \"191.238.33.50/32\",\r\n \"2603:1030:210:402::a0/123\",\r\n + \ \"2603:1030:210:802::a0/123\",\r\n \"2603:1030:210:c02::a0/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AppService.EastUS2\",\r\n + \ \"id\": \"AppService.EastUS2\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"eastus2\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\",\r\n + \ \"VSE\"\r\n ],\r\n \"systemService\": \"AzureAppService\",\r\n + \ \"addressPrefixes\": [\r\n \"13.68.29.136/32\",\r\n \"13.68.101.62/32\",\r\n + \ \"13.77.82.141/32\",\r\n \"13.77.83.246/32\",\r\n \"13.77.96.119/32\",\r\n + \ \"20.49.97.0/25\",\r\n \"23.101.147.117/32\",\r\n \"40.70.27.35/32\",\r\n + \ \"40.70.147.0/25\",\r\n \"40.79.65.200/32\",\r\n \"40.84.54.203/32\",\r\n + \ \"40.84.59.174/32\",\r\n \"40.123.45.47/32\",\r\n \"40.123.47.58/32\",\r\n + \ \"52.177.169.150/32\",\r\n \"52.177.189.138/32\",\r\n \"52.177.206.73/32\",\r\n + \ \"52.179.188.206/32\",\r\n \"52.184.162.135/32\",\r\n \"52.184.193.103/32\",\r\n + \ \"52.184.193.104/32\",\r\n \"104.46.101.59/32\",\r\n \"104.209.178.67/32\",\r\n + \ \"104.209.192.206/32\",\r\n \"104.209.197.87/32\",\r\n + \ \"137.116.78.243/32\",\r\n \"137.116.88.213/32\",\r\n \"191.236.192.121/32\",\r\n + \ \"191.237.128.238/32\",\r\n \"2603:1030:40c:402::a0/123\",\r\n + \ \"2603:1030:40c:802::a0/123\",\r\n \"2603:1030:40c:c02::a0/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AppService.EastUS2EUAP\",\r\n + \ \"id\": \"AppService.EastUS2EUAP\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"eastus2euap\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\",\r\n + \ \"VSE\"\r\n ],\r\n \"systemService\": \"AzureAppService\",\r\n + \ \"addressPrefixes\": [\r\n \"20.39.11.104/29\",\r\n \"52.225.179.39/32\",\r\n + \ \"52.225.190.65/32\",\r\n \"52.253.224.223/32\",\r\n \"2603:1030:40b:400::8a0/123\",\r\n + \ \"2603:1030:40b:800::a0/123\",\r\n \"2603:1030:40b:c00::a0/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AppService.FranceCentral\",\r\n + \ \"id\": \"AppService.FranceCentral\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"centralfrance\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\",\r\n + \ \"VSE\"\r\n ],\r\n \"systemService\": \"AzureAppService\",\r\n + \ \"addressPrefixes\": [\r\n \"20.43.43.32/27\",\r\n \"40.79.130.128/27\",\r\n + \ \"40.89.131.148/32\",\r\n \"40.89.141.103/32\",\r\n \"52.143.137.150/32\",\r\n + \ \"2603:1020:805:402::a0/123\",\r\n \"2603:1020:805:802::a0/123\",\r\n + \ \"2603:1020:805:c02::a0/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AppService.FranceSouth\",\r\n \"id\": \"AppService.FranceSouth\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"southfrance\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\",\r\n \"VSE\"\r\n ],\r\n + \ \"systemService\": \"AzureAppService\",\r\n \"addressPrefixes\": + [\r\n \"40.79.178.96/27\",\r\n \"51.105.90.32/27\",\r\n + \ \"52.136.138.55/32\",\r\n \"2603:1020:905:402::a0/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AppService.GermanyNorth\",\r\n + \ \"id\": \"AppService.GermanyNorth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"germanyn\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"VSE\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureAppService\",\r\n \"addressPrefixes\": + [\r\n \"51.116.49.32/27\",\r\n \"51.116.58.160/27\",\r\n + \ \"2603:1020:d04:402::a0/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AppService.GermanyWestCentral\",\r\n \"id\": + \"AppService.GermanyWestCentral\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\": + \"germanywc\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\",\r\n + \ \"VSE\"\r\n ],\r\n \"systemService\": \"AzureAppService\",\r\n + \ \"addressPrefixes\": [\r\n \"51.116.145.32/27\",\r\n \"51.116.154.224/27\",\r\n + \ \"51.116.242.160/27\",\r\n \"51.116.250.160/27\",\r\n \"2603:1020:c04:402::a0/123\",\r\n + \ \"2603:1020:c04:802::a0/123\",\r\n \"2603:1020:c04:c02::a0/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AppService.JapanEast\",\r\n + \ \"id\": \"AppService.JapanEast\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"japaneast\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\",\r\n + \ \"VSE\"\r\n ],\r\n \"systemService\": \"AzureAppService\",\r\n + \ \"addressPrefixes\": [\r\n \"13.71.149.151/32\",\r\n \"13.73.1.134/32\",\r\n + \ \"13.73.26.73/32\",\r\n \"13.78.59.237/32\",\r\n \"13.78.106.96/27\",\r\n + \ \"13.78.117.86/32\",\r\n \"13.78.123.87/32\",\r\n \"20.43.67.32/27\",\r\n + \ \"40.79.195.0/27\",\r\n \"40.115.179.121/32\",\r\n \"40.115.251.148/32\",\r\n + \ \"52.243.39.89/32\",\r\n \"104.41.186.103/32\",\r\n \"138.91.0.30/32\",\r\n + \ \"2603:1040:407:402::a0/123\",\r\n \"2603:1040:407:802::a0/123\",\r\n + \ \"2603:1040:407:c02::a0/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AppService.JapanWest\",\r\n \"id\": \"AppService.JapanWest\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"japanwest\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\",\r\n \"VSE\"\r\n ],\r\n + \ \"systemService\": \"AzureAppService\",\r\n \"addressPrefixes\": + [\r\n \"40.74.100.128/27\",\r\n \"40.74.133.20/32\",\r\n + \ \"40.80.58.224/27\",\r\n \"52.175.158.219/32\",\r\n \"104.214.137.236/32\",\r\n + \ \"104.215.11.176/32\",\r\n \"104.215.58.230/32\",\r\n \"138.91.16.18/32\",\r\n + \ \"2603:1040:606:402::a0/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AppService.KoreaCentral\",\r\n \"id\": \"AppService.KoreaCentral\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"koreacentral\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\",\r\n \"VSE\"\r\n ],\r\n + \ \"systemService\": \"AzureAppService\",\r\n \"addressPrefixes\": + [\r\n \"20.41.66.224/27\",\r\n \"20.44.26.160/27\",\r\n + \ \"20.194.66.32/27\",\r\n \"52.231.18.128/27\",\r\n \"52.231.32.120/32\",\r\n + \ \"52.231.38.95/32\",\r\n \"52.231.77.58/32\",\r\n \"2603:1040:f05:402::a0/123\",\r\n + \ \"2603:1040:f05:802::a0/123\",\r\n \"2603:1040:f05:c02::a0/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AppService.KoreaSouth\",\r\n + \ \"id\": \"AppService.KoreaSouth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"koreasouth\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\",\r\n + \ \"VSE\"\r\n ],\r\n \"systemService\": \"AzureAppService\",\r\n + \ \"addressPrefixes\": [\r\n \"40.80.170.224/27\",\r\n \"52.231.146.96/27\",\r\n + \ \"52.231.200.101/32\",\r\n \"52.231.200.179/32\"\r\n ]\r\n + \ }\r\n },\r\n {\r\n \"name\": \"AppService.NorthCentralUS\",\r\n + \ \"id\": \"AppService.NorthCentralUS\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"northcentralus\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\",\r\n \"VSE\"\r\n ],\r\n + \ \"systemService\": \"AzureAppService\",\r\n \"addressPrefixes\": + [\r\n \"23.96.187.5/32\",\r\n \"23.96.201.21/32\",\r\n \"23.96.207.177/32\",\r\n + \ \"23.96.209.155/32\",\r\n \"23.96.220.116/32\",\r\n \"23.100.72.240/32\",\r\n + \ \"23.101.169.175/32\",\r\n \"23.101.171.94/32\",\r\n \"23.101.172.244/32\",\r\n + \ \"40.80.191.0/25\",\r\n \"52.162.107.0/25\",\r\n \"52.162.208.73/32\",\r\n + \ \"52.237.130.0/32\",\r\n \"52.240.149.243/32\",\r\n \"52.240.155.58/32\",\r\n + \ \"52.252.160.21/32\",\r\n \"65.52.24.41/32\",\r\n \"65.52.213.73/32\",\r\n + \ \"65.52.217.59/32\",\r\n \"65.52.218.253/32\",\r\n \"157.56.13.114/32\",\r\n + \ \"168.62.224.13/32\",\r\n \"168.62.225.23/32\",\r\n \"191.236.148.9/32\",\r\n + \ \"2603:1030:608:402::a0/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AppService.NorthEurope\",\r\n \"id\": \"AppService.NorthEurope\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"northeurope\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\",\r\n \"VSE\"\r\n ],\r\n + \ \"systemService\": \"AzureAppService\",\r\n \"addressPrefixes\": + [\r\n \"13.69.186.152/32\",\r\n \"13.69.228.0/25\",\r\n + \ \"13.69.253.145/32\",\r\n \"13.74.41.233/32\",\r\n \"13.74.147.218/32\",\r\n + \ \"13.74.158.5/32\",\r\n \"13.74.252.44/32\",\r\n \"13.79.2.71/32\",\r\n + \ \"13.79.38.229/32\",\r\n \"13.79.172.40/32\",\r\n \"20.50.64.0/25\",\r\n + \ \"23.100.48.106/32\",\r\n \"23.100.50.51/32\",\r\n \"23.100.52.22/32\",\r\n + \ \"23.100.56.27/32\",\r\n \"23.101.54.230/32\",\r\n \"23.101.63.214/32\",\r\n + \ \"23.102.12.43/32\",\r\n \"23.102.21.198/32\",\r\n \"23.102.21.212/32\",\r\n + \ \"23.102.25.149/32\",\r\n \"23.102.28.178/32\",\r\n \"40.69.43.225/32\",\r\n + \ \"40.69.88.149/32\",\r\n \"40.69.200.124/32\",\r\n \"40.69.210.172/32\",\r\n + \ \"40.69.218.150/32\",\r\n \"40.85.74.227/32\",\r\n \"40.85.92.115/32\",\r\n + \ \"40.85.96.208/32\",\r\n \"40.112.69.156/32\",\r\n \"40.112.90.244/32\",\r\n + \ \"40.112.93.201/32\",\r\n \"40.113.2.52/32\",\r\n \"40.113.65.9/32\",\r\n + \ \"40.113.71.148/32\",\r\n \"40.113.81.82/32\",\r\n \"40.113.90.202/32\",\r\n + \ \"40.115.98.85/32\",\r\n \"40.127.132.204/32\",\r\n \"40.127.139.252/32\",\r\n + \ \"40.127.192.244/32\",\r\n \"40.127.196.56/32\",\r\n \"52.138.196.70/32\",\r\n + \ \"52.138.218.121/32\",\r\n \"52.164.201.186/32\",\r\n \"52.164.250.133/32\",\r\n + \ \"52.169.73.236/32\",\r\n \"52.169.78.163/32\",\r\n \"52.169.180.223/32\",\r\n + \ \"52.169.184.163/32\",\r\n \"52.169.188.236/32\",\r\n \"52.169.191.40/32\",\r\n + \ \"52.178.158.175/32\",\r\n \"52.178.164.235/32\",\r\n \"52.178.179.169/32\",\r\n + \ \"52.178.190.191/32\",\r\n \"52.178.201.147/32\",\r\n \"52.178.208.12/32\",\r\n + \ \"52.178.212.17/32\",\r\n \"52.178.214.89/32\",\r\n \"94.245.104.73/32\",\r\n + \ \"104.41.216.137/32\",\r\n \"104.41.229.199/32\",\r\n \"104.45.81.79/32\",\r\n + \ \"104.45.95.61/32\",\r\n \"137.135.129.175/32\",\r\n \"137.135.133.221/32\",\r\n + \ \"168.63.53.239/32\",\r\n \"191.235.160.13/32\",\r\n \"191.235.176.12/32\",\r\n + \ \"191.235.177.30/32\",\r\n \"191.235.208.12/32\",\r\n \"191.235.215.184/32\",\r\n + \ \"2603:1020:5:402::a0/123\",\r\n \"2603:1020:5:802::a0/123\",\r\n + \ \"2603:1020:5:c02::a0/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AppService.NorwayEast\",\r\n \"id\": \"AppService.NorwayEast\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"norwaye\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\",\r\n \"VSE\"\r\n ],\r\n + \ \"systemService\": \"AzureAppService\",\r\n \"addressPrefixes\": + [\r\n \"51.120.42.0/27\",\r\n \"51.120.98.192/27\",\r\n + \ \"51.120.106.160/27\",\r\n \"51.120.210.160/27\",\r\n \"2603:1020:e04:402::a0/123\",\r\n + \ \"2603:1020:e04:802::a0/123\",\r\n \"2603:1020:e04:c02::a0/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AppService.NorwayWest\",\r\n + \ \"id\": \"AppService.NorwayWest\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"norwayw\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\",\r\n + \ \"VSE\"\r\n ],\r\n \"systemService\": \"AzureAppService\",\r\n + \ \"addressPrefixes\": [\r\n \"51.120.218.192/27\",\r\n \"51.120.226.0/27\",\r\n + \ \"2603:1020:f04:402::a0/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AppService.SouthAfricaNorth\",\r\n \"id\": + \"AppService.SouthAfricaNorth\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\": + \"southafricanorth\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\",\r\n + \ \"VSE\"\r\n ],\r\n \"systemService\": \"AzureAppService\",\r\n + \ \"addressPrefixes\": [\r\n \"102.133.122.160/27\",\r\n \"102.133.154.32/27\",\r\n + \ \"102.133.218.32/28\",\r\n \"102.133.250.160/27\",\r\n + \ \"2603:1000:104:402::a0/123\",\r\n \"2603:1000:104:802::a0/123\",\r\n + \ \"2603:1000:104:c02::a0/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AppService.SouthAfricaWest\",\r\n \"id\": + \"AppService.SouthAfricaWest\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\": + \"southafricawest\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\",\r\n + \ \"VSE\"\r\n ],\r\n \"systemService\": \"AzureAppService\",\r\n + \ \"addressPrefixes\": [\r\n \"102.133.26.32/27\",\r\n \"102.133.57.128/27\",\r\n + \ \"2603:1000:4:402::a0/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AppService.SouthCentralUS\",\r\n \"id\": \"AppService.SouthCentralUS\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"southcentralus\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\",\r\n \"VSE\"\r\n ],\r\n + \ \"systemService\": \"AzureAppService\",\r\n \"addressPrefixes\": + [\r\n \"13.65.30.245/32\",\r\n \"13.65.37.122/32\",\r\n + \ \"13.65.39.165/32\",\r\n \"13.65.42.35/32\",\r\n \"13.65.42.183/32\",\r\n + \ \"13.65.45.30/32\",\r\n \"13.65.85.146/32\",\r\n \"13.65.89.91/32\",\r\n + \ \"13.65.92.72/32\",\r\n \"13.65.94.204/32\",\r\n \"13.65.95.109/32\",\r\n + \ \"13.65.97.243/32\",\r\n \"13.65.193.29/32\",\r\n \"13.65.210.166/32\",\r\n + \ \"13.65.212.252/32\",\r\n \"13.65.241.130/32\",\r\n \"13.65.243.110/32\",\r\n + \ \"13.66.16.101/32\",\r\n \"13.66.38.99/32\",\r\n \"13.66.39.88/32\",\r\n + \ \"13.84.36.2/32\",\r\n \"13.84.40.227/32\",\r\n \"13.84.42.35/32\",\r\n + \ \"13.84.46.29/32\",\r\n \"13.84.55.137/32\",\r\n \"13.84.146.60/32\",\r\n + \ \"13.84.180.32/32\",\r\n \"13.84.181.47/32\",\r\n \"13.84.188.162/32\",\r\n + \ \"13.84.189.137/32\",\r\n \"13.84.227.164/32\",\r\n \"13.85.15.194/32\",\r\n + \ \"13.85.16.224/32\",\r\n \"13.85.20.144/32\",\r\n \"13.85.24.220/32\",\r\n + \ \"13.85.27.14/32\",\r\n \"13.85.31.243/32\",\r\n \"13.85.72.129/32\",\r\n + \ \"13.85.77.179/32\",\r\n \"13.85.82.0/32\",\r\n \"20.45.122.160/27\",\r\n + \ \"20.49.90.32/27\",\r\n \"23.101.180.75/32\",\r\n \"23.102.154.38/32\",\r\n + \ \"23.102.161.217/32\",\r\n \"23.102.191.170/32\",\r\n \"40.74.245.188/32\",\r\n + \ \"40.74.253.108/32\",\r\n \"40.74.255.112/32\",\r\n \"40.84.148.247/32\",\r\n + \ \"40.84.159.58/32\",\r\n \"40.84.194.106/32\",\r\n \"40.84.226.176/32\",\r\n + \ \"40.84.227.180/32\",\r\n \"40.84.232.28/32\",\r\n \"40.119.12.0/23\",\r\n + \ \"40.124.12.75/32\",\r\n \"40.124.13.58/32\",\r\n \"52.171.56.101/32\",\r\n + \ \"52.171.56.110/32\",\r\n \"52.171.136.200/32\",\r\n \"52.171.140.237/32\",\r\n + \ \"52.171.218.239/32\",\r\n \"52.171.221.170/32\",\r\n \"52.171.222.247/32\",\r\n + \ \"104.44.128.13/32\",\r\n \"104.44.130.38/32\",\r\n \"104.210.145.181/32\",\r\n + \ \"104.210.147.57/32\",\r\n \"104.210.152.76/32\",\r\n \"104.210.152.122/32\",\r\n + \ \"104.210.153.116/32\",\r\n \"104.210.158.20/32\",\r\n + \ \"104.214.20.0/23\",\r\n \"104.214.29.203/32\",\r\n \"104.214.64.238/32\",\r\n + \ \"104.214.74.110/32\",\r\n \"104.214.77.221/32\",\r\n \"104.214.110.60/32\",\r\n + \ \"104.214.110.226/32\",\r\n \"104.214.118.174/32\",\r\n + \ \"104.214.119.36/32\",\r\n \"104.215.73.236/32\",\r\n \"104.215.78.13/32\",\r\n + \ \"104.215.89.22/32\",\r\n \"191.238.176.139/32\",\r\n \"191.238.240.12/32\",\r\n + \ \"2603:1030:807:402::a0/123\",\r\n \"2603:1030:807:802::a0/123\",\r\n + \ \"2603:1030:807:c02::a0/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AppService.SoutheastAsia\",\r\n \"id\": \"AppService.SoutheastAsia\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"southeastasia\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\",\r\n \"VSE\"\r\n ],\r\n + \ \"systemService\": \"AzureAppService\",\r\n \"addressPrefixes\": + [\r\n \"13.67.9.0/25\",\r\n \"13.67.56.225/32\",\r\n \"13.67.63.90/32\",\r\n + \ \"13.76.44.139/32\",\r\n \"13.76.245.96/32\",\r\n \"20.43.132.128/25\",\r\n + \ \"20.188.98.74/32\",\r\n \"23.97.56.169/32\",\r\n \"23.98.64.36/32\",\r\n + \ \"23.98.64.158/32\",\r\n \"23.101.27.182/32\",\r\n \"52.163.122.160/32\",\r\n + \ \"52.187.17.126/32\",\r\n \"52.187.36.104/32\",\r\n \"52.187.52.94/32\",\r\n + \ \"52.187.135.79/32\",\r\n \"52.230.1.186/32\",\r\n \"104.215.147.45/32\",\r\n + \ \"104.215.155.1/32\",\r\n \"111.221.95.27/32\",\r\n \"137.116.128.188/32\",\r\n + \ \"137.116.153.238/32\",\r\n \"2603:1040:5:402::a0/123\",\r\n + \ \"2603:1040:5:802::a0/123\",\r\n \"2603:1040:5:c02::a0/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AppService.SouthIndia\",\r\n + \ \"id\": \"AppService.SouthIndia\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"southindia\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\",\r\n + \ \"VSE\"\r\n ],\r\n \"systemService\": \"AzureAppService\",\r\n + \ \"addressPrefixes\": [\r\n \"13.71.122.35/32\",\r\n \"13.71.123.138/32\",\r\n + \ \"20.41.195.192/27\",\r\n \"40.78.194.96/27\",\r\n \"52.172.54.225/32\",\r\n + \ \"104.211.224.252/32\",\r\n \"104.211.225.167/32\",\r\n + \ \"2603:1040:c06:402::a0/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AppService.SwitzerlandNorth\",\r\n \"id\": + \"AppService.SwitzerlandNorth\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\": + \"switzerlandn\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"VSE\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureAppService\",\r\n \"addressPrefixes\": + [\r\n \"51.107.50.0/27\",\r\n \"51.107.58.160/27\",\r\n + \ \"2603:1020:a04:402::a0/123\",\r\n \"2603:1020:a04:802::a0/123\",\r\n + \ \"2603:1020:a04:c02::a0/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AppService.SwitzerlandWest\",\r\n \"id\": + \"AppService.SwitzerlandWest\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\": + \"switzerlandw\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\",\r\n + \ \"VSE\"\r\n ],\r\n \"systemService\": \"AzureAppService\",\r\n + \ \"addressPrefixes\": [\r\n \"51.107.146.0/27\",\r\n \"51.107.154.160/27\",\r\n + \ \"2603:1020:b04:402::a0/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AppService.UAECentral\",\r\n \"id\": \"AppService.UAECentral\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"uaecentral\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\",\r\n \"VSE\"\r\n ],\r\n + \ \"systemService\": \"AzureAppService\",\r\n \"addressPrefixes\": + [\r\n \"20.37.66.0/27\",\r\n \"20.37.74.96/27\",\r\n \"2603:1040:b04:402::a0/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AppService.UAENorth\",\r\n + \ \"id\": \"AppService.UAENorth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"uaenorth\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\",\r\n + \ \"VSE\"\r\n ],\r\n \"systemService\": \"AzureAppService\",\r\n + \ \"addressPrefixes\": [\r\n \"20.38.138.0/27\",\r\n \"40.120.74.32/27\",\r\n + \ \"65.52.250.96/27\",\r\n \"2603:1040:904:402::a0/123\",\r\n + \ \"2603:1040:904:802::a0/123\",\r\n \"2603:1040:904:c02::a0/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AppService.UKNorth\",\r\n + \ \"id\": \"AppService.UKNorth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"uknorth\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"VSE\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureAppService\",\r\n \"addressPrefixes\": + [\r\n \"2603:1020:305:402::a0/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AppService.UKSouth\",\r\n \"id\": \"AppService.UKSouth\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"uksouth\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\",\r\n \"VSE\"\r\n ],\r\n + \ \"systemService\": \"AzureAppService\",\r\n \"addressPrefixes\": + [\r\n \"51.104.28.64/26\",\r\n \"51.105.66.160/27\",\r\n + \ \"51.105.74.160/27\",\r\n \"51.140.37.241/32\",\r\n \"51.140.57.176/32\",\r\n + \ \"51.140.59.233/32\",\r\n \"51.140.75.147/32\",\r\n \"51.140.84.145/32\",\r\n + \ \"51.140.85.106/32\",\r\n \"51.140.87.39/32\",\r\n \"51.140.122.226/32\",\r\n + \ \"51.140.146.128/26\",\r\n \"51.140.152.154/32\",\r\n \"51.140.153.150/32\",\r\n + \ \"51.140.180.76/32\",\r\n \"51.140.185.151/32\",\r\n \"51.140.191.223/32\",\r\n + \ \"51.143.191.44/32\",\r\n \"2603:1020:705:402::a0/123\",\r\n + \ \"2603:1020:705:802::a0/123\",\r\n \"2603:1020:705:c02::a0/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AppService.UKSouth2\",\r\n + \ \"id\": \"AppService.UKSouth2\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"uksouth2\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"VSE\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureAppService\",\r\n \"addressPrefixes\": + [\r\n \"2603:1020:405:402::a0/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AppService.UKWest\",\r\n \"id\": \"AppService.UKWest\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"ukwest\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\",\r\n \"VSE\"\r\n ],\r\n + \ \"systemService\": \"AzureAppService\",\r\n \"addressPrefixes\": + [\r\n \"51.137.163.32/27\",\r\n \"51.140.210.96/27\",\r\n + \ \"51.140.244.162/32\",\r\n \"51.140.245.89/32\",\r\n \"51.141.12.112/32\",\r\n + \ \"51.141.37.245/32\",\r\n \"51.141.44.139/32\",\r\n \"51.141.45.207/32\",\r\n + \ \"51.141.90.252/32\",\r\n \"2603:1020:605:402::a0/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AppService.WestCentralUS\",\r\n + \ \"id\": \"AppService.WestCentralUS\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"westcentralus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\",\r\n + \ \"VSE\"\r\n ],\r\n \"systemService\": \"AzureAppService\",\r\n + \ \"addressPrefixes\": [\r\n \"13.71.194.192/27\",\r\n \"13.78.150.96/32\",\r\n + \ \"13.78.184.89/32\",\r\n \"52.150.140.224/27\",\r\n \"52.161.96.193/32\",\r\n + \ \"2603:1030:b04:402::a0/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AppService.WestEurope\",\r\n \"id\": \"AppService.WestEurope\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"westeurope\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\",\r\n \"VSE\"\r\n ],\r\n + \ \"systemService\": \"AzureAppService\",\r\n \"addressPrefixes\": + [\r\n \"13.69.68.0/23\",\r\n \"13.80.19.74/32\",\r\n \"13.81.7.21/32\",\r\n + \ \"13.81.108.99/32\",\r\n \"13.81.215.235/32\",\r\n \"13.94.143.57/32\",\r\n + \ \"13.94.192.98/32\",\r\n \"13.94.211.38/32\",\r\n \"13.95.82.181/32\",\r\n + \ \"13.95.93.152/32\",\r\n \"13.95.150.128/32\",\r\n \"13.95.238.192/32\",\r\n + \ \"20.50.2.0/23\",\r\n \"23.97.160.56/32\",\r\n \"23.97.160.74/32\",\r\n + \ \"23.97.162.202/32\",\r\n \"23.97.195.129/32\",\r\n \"23.97.208.18/32\",\r\n + \ \"23.97.214.177/32\",\r\n \"23.97.216.47/32\",\r\n \"23.97.224.11/32\",\r\n + \ \"23.100.1.29/32\",\r\n \"23.101.67.245/32\",\r\n \"40.68.40.55/32\",\r\n + \ \"40.68.205.178/32\",\r\n \"40.68.208.131/32\",\r\n \"40.68.210.104/32\",\r\n + \ \"40.68.214.185/32\",\r\n \"40.113.126.251/32\",\r\n \"40.113.131.37/32\",\r\n + \ \"40.113.136.240/32\",\r\n \"40.113.142.219/32\",\r\n \"40.114.194.188/32\",\r\n + \ \"40.114.210.78/32\",\r\n \"40.114.228.161/32\",\r\n \"40.114.237.65/32\",\r\n + \ \"40.114.243.70/32\",\r\n \"40.115.55.251/32\",\r\n \"40.118.29.72/32\",\r\n + \ \"40.118.71.240/32\",\r\n \"40.118.96.231/32\",\r\n \"40.118.100.127/32\",\r\n + \ \"40.118.101.67/32\",\r\n \"40.118.102.46/32\",\r\n \"51.105.172.25/32\",\r\n + \ \"51.136.14.31/32\",\r\n \"51.137.106.13/32\",\r\n \"51.144.7.192/32\",\r\n + \ \"51.144.107.53/32\",\r\n \"51.144.116.43/32\",\r\n \"51.144.164.215/32\",\r\n + \ \"51.144.182.8/32\",\r\n \"52.166.78.97/32\",\r\n \"52.166.113.188/32\",\r\n + \ \"52.166.119.99/32\",\r\n \"52.166.178.208/32\",\r\n \"52.166.181.85/32\",\r\n + \ \"52.166.198.163/32\",\r\n \"52.174.3.80/32\",\r\n \"52.174.7.133/32\",\r\n + \ \"52.174.35.5/32\",\r\n \"52.174.106.15/32\",\r\n \"52.174.150.25/32\",\r\n + \ \"52.174.181.178/32\",\r\n \"52.174.184.18/32\",\r\n \"52.174.193.210/32\",\r\n + \ \"52.174.235.29/32\",\r\n \"52.178.29.39/32\",\r\n \"52.178.37.244/32\",\r\n + \ \"52.178.43.209/32\",\r\n \"52.178.45.139/32\",\r\n \"52.178.46.181/32\",\r\n + \ \"52.178.75.200/32\",\r\n \"52.178.79.163/32\",\r\n \"52.178.89.129/32\",\r\n + \ \"52.178.90.230/32\",\r\n \"52.178.92.96/32\",\r\n \"52.178.105.179/32\",\r\n + \ \"52.178.114.226/32\",\r\n \"52.232.19.237/32\",\r\n \"52.232.26.228/32\",\r\n + \ \"52.232.33.202/32\",\r\n \"52.232.56.79/32\",\r\n \"52.232.127.196/32\",\r\n + \ \"52.233.128.61/32\",\r\n \"52.233.133.18/32\",\r\n \"52.233.133.121/32\",\r\n + \ \"52.233.155.168/32\",\r\n \"52.233.164.195/32\",\r\n \"52.233.175.59/32\",\r\n + \ \"52.233.184.181/32\",\r\n \"52.233.198.206/32\",\r\n \"65.52.128.33/32\",\r\n + \ \"65.52.130.1/32\",\r\n \"104.40.129.89/32\",\r\n \"104.40.147.180/32\",\r\n + \ \"104.40.147.216/32\",\r\n \"104.40.158.55/32\",\r\n \"104.40.179.243/32\",\r\n + \ \"104.40.183.236/32\",\r\n \"104.40.185.192/32\",\r\n \"104.40.187.26/32\",\r\n + \ \"104.40.191.174/32\",\r\n \"104.40.210.25/32\",\r\n \"104.40.215.219/32\",\r\n + \ \"104.40.222.81/32\",\r\n \"104.40.250.100/32\",\r\n \"104.45.1.117/32\",\r\n + \ \"104.45.14.249/32\",\r\n \"104.46.38.245/32\",\r\n \"104.46.44.78/32\",\r\n + \ \"104.46.61.116/32\",\r\n \"104.47.137.62/32\",\r\n \"104.47.151.115/32\",\r\n + \ \"104.47.160.14/32\",\r\n \"104.47.164.119/32\",\r\n \"104.214.231.110/32\",\r\n + \ \"104.214.236.47/32\",\r\n \"104.214.237.135/32\",\r\n + \ \"137.117.166.35/32\",\r\n \"137.117.175.14/32\",\r\n \"137.117.203.130/32\",\r\n + \ \"137.117.211.244/32\",\r\n \"137.117.218.101/32\",\r\n + \ \"137.117.224.218/32\",\r\n \"137.117.225.87/32\",\r\n + \ \"168.63.5.231/32\",\r\n \"168.63.107.5/32\",\r\n \"191.233.82.44/32\",\r\n + \ \"191.233.85.165/32\",\r\n \"191.233.87.194/32\",\r\n \"2603:1020:206:402::a0/123\",\r\n + \ \"2603:1020:206:802::a0/123\",\r\n \"2603:1020:206:c02::a0/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AppService.WestIndia\",\r\n + \ \"id\": \"AppService.WestIndia\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"westindia\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\",\r\n + \ \"VSE\"\r\n ],\r\n \"systemService\": \"AzureAppService\",\r\n + \ \"addressPrefixes\": [\r\n \"52.136.50.0/27\",\r\n \"104.211.146.96/27\",\r\n + \ \"104.211.160.159/32\",\r\n \"104.211.179.11/32\",\r\n + \ \"104.211.184.197/32\",\r\n \"2603:1040:806:402::a0/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AppService.WestUS\",\r\n + \ \"id\": \"AppService.WestUS\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"westus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\",\r\n + \ \"VSE\"\r\n ],\r\n \"systemService\": \"AzureAppService\",\r\n + \ \"addressPrefixes\": [\r\n \"13.64.73.110/32\",\r\n \"13.91.40.166/32\",\r\n + \ \"13.91.242.166/32\",\r\n \"13.93.141.10/32\",\r\n \"13.93.158.16/32\",\r\n + \ \"13.93.220.109/32\",\r\n \"13.93.231.75/32\",\r\n \"23.99.0.12/32\",\r\n + \ \"23.99.65.65/32\",\r\n \"23.99.91.55/32\",\r\n \"23.100.46.198/32\",\r\n + \ \"23.101.203.117/32\",\r\n \"23.101.203.214/32\",\r\n \"23.101.207.250/32\",\r\n + \ \"40.78.18.232/32\",\r\n \"40.78.25.157/32\",\r\n \"40.78.48.219/32\",\r\n + \ \"40.80.155.102/32\",\r\n \"40.80.156.205/32\",\r\n \"40.82.255.128/25\",\r\n + \ \"40.83.145.50/32\",\r\n \"40.83.150.233/32\",\r\n \"40.83.182.206/32\",\r\n + \ \"40.83.183.236/32\",\r\n \"40.83.184.25/32\",\r\n \"40.112.142.148/32\",\r\n + \ \"40.112.143.134/32\",\r\n \"40.112.143.140/32\",\r\n \"40.112.143.214/32\",\r\n + \ \"40.112.165.44/32\",\r\n \"40.112.166.161/32\",\r\n \"40.112.191.159/32\",\r\n + \ \"40.112.192.69/32\",\r\n \"40.112.216.189/32\",\r\n \"40.112.243.0/25\",\r\n + \ \"40.118.185.161/32\",\r\n \"40.118.235.113/32\",\r\n \"40.118.246.51/32\",\r\n + \ \"40.118.255.59/32\",\r\n \"52.160.40.218/32\",\r\n \"104.40.3.53/32\",\r\n + \ \"104.40.11.192/32\",\r\n \"104.40.28.133/32\",\r\n \"104.40.53.219/32\",\r\n + \ \"104.40.63.98/32\",\r\n \"104.40.84.133/32\",\r\n \"104.40.92.107/32\",\r\n + \ \"104.42.53.248/32\",\r\n \"104.42.78.153/32\",\r\n \"104.42.128.171/32\",\r\n + \ \"104.42.148.55/32\",\r\n \"104.42.152.64/32\",\r\n \"104.42.154.105/32\",\r\n + \ \"104.42.188.146/32\",\r\n \"104.42.231.5/32\",\r\n \"104.45.226.98/32\",\r\n + \ \"104.45.231.79/32\",\r\n \"104.210.38.149/32\",\r\n \"137.117.9.212/32\",\r\n + \ \"137.117.17.70/32\",\r\n \"138.91.224.84/32\",\r\n \"138.91.225.40/32\",\r\n + \ \"138.91.240.81/32\",\r\n \"168.62.20.37/32\",\r\n \"191.236.80.12/32\",\r\n + \ \"191.236.106.123/32\",\r\n \"191.239.58.162/32\",\r\n + \ \"2603:1030:a07:402::a0/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AppService.WestUS2\",\r\n \"id\": \"AppService.WestUS2\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"westus2\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\",\r\n \"VSE\"\r\n ],\r\n + \ \"systemService\": \"AzureAppService\",\r\n \"addressPrefixes\": + [\r\n \"13.66.138.96/27\",\r\n \"13.66.209.135/32\",\r\n + \ \"13.66.212.205/32\",\r\n \"13.66.226.80/32\",\r\n \"13.66.231.217/32\",\r\n + \ \"13.66.241.134/32\",\r\n \"13.66.244.249/32\",\r\n \"13.77.157.133/32\",\r\n + \ \"13.77.160.237/32\",\r\n \"13.77.182.13/32\",\r\n \"20.42.128.96/27\",\r\n + \ \"40.64.128.224/27\",\r\n \"51.143.102.21/32\",\r\n \"52.151.62.51/32\",\r\n + \ \"52.175.202.25/32\",\r\n \"52.175.254.10/32\",\r\n \"52.183.82.125/32\",\r\n + \ \"52.229.30.210/32\",\r\n \"2603:1030:c06:400::8a0/123\",\r\n + \ \"2603:1030:c06:802::a0/123\",\r\n \"2603:1030:c06:c02::a0/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AppServiceManagement\",\r\n + \ \"id\": \"AppServiceManagement\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"5\",\r\n + \ \"region\": \"\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureAppServiceManagement\",\r\n + \ \"addressPrefixes\": [\r\n \"13.64.115.203/32\",\r\n \"13.66.140.0/26\",\r\n + \ \"13.67.8.128/26\",\r\n \"13.69.64.128/26\",\r\n \"13.69.227.128/26\",\r\n + \ \"13.70.72.64/26\",\r\n \"13.70.73.128/26\",\r\n \"13.71.170.64/26\",\r\n + \ \"13.71.173.0/26\",\r\n \"13.71.173.128/26\",\r\n \"13.71.194.128/26\",\r\n + \ \"13.73.240.128/26\",\r\n \"13.73.242.64/26\",\r\n \"13.75.34.192/26\",\r\n + \ \"13.75.127.117/32\",\r\n \"13.77.50.128/26\",\r\n \"13.78.106.128/26\",\r\n + \ \"13.78.109.0/26\",\r\n \"13.87.56.128/26\",\r\n \"13.87.122.128/26\",\r\n + \ \"13.89.171.0/26\",\r\n \"13.94.141.115/32\",\r\n \"13.94.143.126/32\",\r\n + \ \"13.94.149.179/32\",\r\n \"20.36.106.128/26\",\r\n \"20.36.114.64/26\",\r\n + \ \"20.37.74.128/26\",\r\n \"20.43.120.128/26\",\r\n \"20.44.2.192/26\",\r\n + \ \"20.44.27.0/26\",\r\n \"20.45.125.128/26\",\r\n \"20.49.82.128/26\",\r\n + \ \"20.49.90.128/26\",\r\n \"20.72.26.192/26\",\r\n \"20.150.171.0/26\",\r\n + \ \"20.150.179.0/26\",\r\n \"20.150.187.0/26\",\r\n \"20.192.99.0/26\",\r\n + \ \"20.192.234.192/26\",\r\n \"20.193.202.192/26\",\r\n \"20.194.66.128/26\",\r\n + \ \"23.96.195.3/32\",\r\n \"23.100.226.236/32\",\r\n \"23.102.188.65/32\",\r\n + \ \"40.67.59.0/26\",\r\n \"40.69.106.128/26\",\r\n \"40.70.146.128/26\",\r\n + \ \"40.71.11.0/26\",\r\n \"40.71.13.64/26\",\r\n \"40.74.100.64/26\",\r\n + \ \"40.78.194.128/26\",\r\n \"40.79.130.64/26\",\r\n \"40.79.165.0/26\",\r\n + \ \"40.79.178.128/26\",\r\n \"40.80.53.128/26\",\r\n \"40.83.120.64/32\",\r\n + \ \"40.83.121.56/32\",\r\n \"40.83.125.161/32\",\r\n \"40.90.240.166/32\",\r\n + \ \"40.91.126.196/32\",\r\n \"40.112.242.192/26\",\r\n \"40.119.4.111/32\",\r\n + \ \"40.120.74.128/26\",\r\n \"40.124.47.188/32\",\r\n \"51.12.99.0/26\",\r\n + \ \"51.12.203.0/26\",\r\n \"51.12.227.0/26\",\r\n \"51.12.235.0/26\",\r\n + \ \"51.104.8.0/26\",\r\n \"51.104.8.128/26\",\r\n \"51.107.58.192/26\",\r\n + \ \"51.107.154.192/26\",\r\n \"51.116.58.192/26\",\r\n \"51.116.155.0/26\",\r\n + \ \"51.116.156.64/26\",\r\n \"51.116.243.64/26\",\r\n \"51.116.251.192/26\",\r\n + \ \"51.120.99.0/26\",\r\n \"51.120.107.0/26\",\r\n \"51.120.211.0/26\",\r\n + \ \"51.120.219.0/26\",\r\n \"51.140.146.64/26\",\r\n \"51.140.210.128/26\",\r\n + \ \"52.151.25.45/32\",\r\n \"52.162.80.89/32\",\r\n \"52.162.106.192/26\",\r\n + \ \"52.165.152.214/32\",\r\n \"52.165.153.122/32\",\r\n \"52.165.154.193/32\",\r\n + \ \"52.165.158.140/32\",\r\n \"52.174.22.21/32\",\r\n \"52.178.177.147/32\",\r\n + \ \"52.178.184.149/32\",\r\n \"52.178.190.65/32\",\r\n \"52.178.195.197/32\",\r\n + \ \"52.187.56.50/32\",\r\n \"52.187.59.251/32\",\r\n \"52.187.63.19/32\",\r\n + \ \"52.187.63.37/32\",\r\n \"52.224.105.172/32\",\r\n \"52.225.177.15/32\",\r\n + \ \"52.225.177.153/32\",\r\n \"52.231.18.64/26\",\r\n \"52.231.146.128/26\",\r\n + \ \"52.246.157.64/26\",\r\n \"65.52.14.230/32\",\r\n \"65.52.172.237/32\",\r\n + \ \"65.52.193.203/32\",\r\n \"65.52.250.128/26\",\r\n \"70.37.57.58/32\",\r\n + \ \"70.37.89.222/32\",\r\n \"102.133.26.192/26\",\r\n \"102.133.123.0/26\",\r\n + \ \"102.133.123.128/26\",\r\n \"102.133.154.192/26\",\r\n + \ \"104.43.242.137/32\",\r\n \"104.44.129.141/32\",\r\n \"104.44.129.243/32\",\r\n + \ \"104.44.129.255/32\",\r\n \"104.44.134.255/32\",\r\n \"104.208.54.11/32\",\r\n + \ \"104.211.81.64/26\",\r\n \"104.211.146.128/26\",\r\n \"104.214.18.192/26\",\r\n + \ \"104.214.49.0/32\",\r\n \"157.55.176.93/32\",\r\n \"157.55.208.185/32\",\r\n + \ \"168.61.143.0/26\",\r\n \"191.233.50.128/26\",\r\n \"191.233.203.64/26\",\r\n + \ \"191.234.147.0/26\",\r\n \"191.234.155.0/26\",\r\n \"191.236.154.88/32\",\r\n + \ \"2603:1000:4:402::100/122\",\r\n \"2603:1000:104:402::100/122\",\r\n + \ \"2603:1000:104:802::100/122\",\r\n \"2603:1000:104:c02::100/122\",\r\n + \ \"2603:1010:6:402::100/122\",\r\n \"2603:1010:6:802::100/122\",\r\n + \ \"2603:1010:6:c02::100/122\",\r\n \"2603:1010:101:402::100/122\",\r\n + \ \"2603:1010:304:402::100/122\",\r\n \"2603:1010:404:402::100/122\",\r\n + \ \"2603:1020:5:402::100/122\",\r\n \"2603:1020:5:802::100/122\",\r\n + \ \"2603:1020:5:c02::100/122\",\r\n \"2603:1020:206:402::100/122\",\r\n + \ \"2603:1020:206:802::100/122\",\r\n \"2603:1020:206:c02::100/122\",\r\n + \ \"2603:1020:305:402::100/122\",\r\n \"2603:1020:405:402::100/122\",\r\n + \ \"2603:1020:605:402::100/122\",\r\n \"2603:1020:705:402::100/122\",\r\n + \ \"2603:1020:705:802::100/122\",\r\n \"2603:1020:705:c02::100/122\",\r\n + \ \"2603:1020:805:402::100/122\",\r\n \"2603:1020:805:802::100/122\",\r\n + \ \"2603:1020:805:c02::100/122\",\r\n \"2603:1020:905:402::100/122\",\r\n + \ \"2603:1020:a04:402::100/122\",\r\n \"2603:1020:a04:802::100/122\",\r\n + \ \"2603:1020:a04:c02::100/122\",\r\n \"2603:1020:b04:402::100/122\",\r\n + \ \"2603:1020:c04:402::100/122\",\r\n \"2603:1020:c04:802::100/122\",\r\n + \ \"2603:1020:c04:c02::100/122\",\r\n \"2603:1020:d04:402::100/122\",\r\n + \ \"2603:1020:e04:402::100/122\",\r\n \"2603:1020:e04:802::100/122\",\r\n + \ \"2603:1020:e04:c02::100/122\",\r\n \"2603:1020:f04:402::100/122\",\r\n + \ \"2603:1020:1004:400::440/122\",\r\n \"2603:1020:1004:800::80/122\",\r\n + \ \"2603:1020:1004:800::200/122\",\r\n \"2603:1020:1004:800::380/122\",\r\n + \ \"2603:1020:1104:400::100/122\",\r\n \"2603:1030:f:400::900/122\",\r\n + \ \"2603:1030:10:402::100/122\",\r\n \"2603:1030:10:802::100/122\",\r\n + \ \"2603:1030:10:c02::100/122\",\r\n \"2603:1030:104:402::100/122\",\r\n + \ \"2603:1030:107:400::80/122\",\r\n \"2603:1030:210:402::100/122\",\r\n + \ \"2603:1030:210:802::100/122\",\r\n \"2603:1030:210:c02::100/122\",\r\n + \ \"2603:1030:40b:400::900/122\",\r\n \"2603:1030:40b:800::100/122\",\r\n + \ \"2603:1030:40b:c00::100/122\",\r\n \"2603:1030:40c:402::100/122\",\r\n + \ \"2603:1030:40c:802::100/122\",\r\n \"2603:1030:40c:c02::100/122\",\r\n + \ \"2603:1030:504:402::400/122\",\r\n \"2603:1030:504:802::80/122\",\r\n + \ \"2603:1030:504:802::380/122\",\r\n \"2603:1030:608:402::100/122\",\r\n + \ \"2603:1030:807:402::100/122\",\r\n \"2603:1030:807:802::100/122\",\r\n + \ \"2603:1030:807:c02::100/122\",\r\n \"2603:1030:a07:402::880/122\",\r\n + \ \"2603:1030:b04:402::100/122\",\r\n \"2603:1030:c06:400::900/122\",\r\n + \ \"2603:1030:c06:802::100/122\",\r\n \"2603:1030:c06:c02::100/122\",\r\n + \ \"2603:1030:f05:402::100/122\",\r\n \"2603:1030:f05:802::100/122\",\r\n + \ \"2603:1030:f05:c02::100/122\",\r\n \"2603:1030:1005:402::100/122\",\r\n + \ \"2603:1040:5:402::100/122\",\r\n \"2603:1040:5:802::100/122\",\r\n + \ \"2603:1040:5:c02::100/122\",\r\n \"2603:1040:207:402::100/122\",\r\n + \ \"2603:1040:407:402::100/122\",\r\n \"2603:1040:407:802::100/122\",\r\n + \ \"2603:1040:407:c02::100/122\",\r\n \"2603:1040:606:402::100/122\",\r\n + \ \"2603:1040:806:402::100/122\",\r\n \"2603:1040:904:402::100/122\",\r\n + \ \"2603:1040:904:802::100/122\",\r\n \"2603:1040:904:c02::100/122\",\r\n + \ \"2603:1040:a06:402::100/122\",\r\n \"2603:1040:a06:802::100/122\",\r\n + \ \"2603:1040:a06:c02::100/122\",\r\n \"2603:1040:b04:402::100/122\",\r\n + \ \"2603:1040:c06:402::100/122\",\r\n \"2603:1040:d04:400::440/122\",\r\n + \ \"2603:1040:d04:800::80/122\",\r\n \"2603:1040:d04:800::200/122\",\r\n + \ \"2603:1040:d04:800::380/122\",\r\n \"2603:1040:f05:402::100/122\",\r\n + \ \"2603:1040:f05:802::100/122\",\r\n \"2603:1040:f05:c02::100/122\",\r\n + \ \"2603:1040:1104:400::100/122\",\r\n \"2603:1050:6:402::100/122\",\r\n + \ \"2603:1050:6:802::100/122\",\r\n \"2603:1050:6:c02::100/122\",\r\n + \ \"2603:1050:403:400::100/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AppServiceManagement.AustraliaCentral\",\r\n \"id\": + \"AppServiceManagement.AustraliaCentral\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"australiacentral\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureAppServiceManagement\",\r\n \"addressPrefixes\": [\r\n \"20.36.106.128/26\",\r\n + \ \"2603:1010:304:402::100/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AppServiceManagement.AustraliaCentral2\",\r\n \"id\": + \"AppServiceManagement.AustraliaCentral2\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"australiacentral2\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureAppServiceManagement\",\r\n \"addressPrefixes\": [\r\n \"20.36.114.64/26\",\r\n + \ \"2603:1010:404:402::100/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AppServiceManagement.AustraliaEast\",\r\n \"id\": + \"AppServiceManagement.AustraliaEast\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"australiaeast\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureAppServiceManagement\",\r\n + \ \"addressPrefixes\": [\r\n \"13.70.72.64/26\",\r\n \"13.70.73.128/26\",\r\n + \ \"40.79.165.0/26\",\r\n \"2603:1010:6:402::100/122\",\r\n + \ \"2603:1010:6:802::100/122\",\r\n \"2603:1010:6:c02::100/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AppServiceManagement.AustraliaSoutheast\",\r\n + \ \"id\": \"AppServiceManagement.AustraliaSoutheast\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"australiasoutheast\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureAppServiceManagement\",\r\n \"addressPrefixes\": [\r\n \"13.77.50.128/26\",\r\n + \ \"2603:1010:101:402::100/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AppServiceManagement.BrazilSouth\",\r\n \"id\": + \"AppServiceManagement.BrazilSouth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"brazilsouth\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureAppServiceManagement\",\r\n + \ \"addressPrefixes\": [\r\n \"191.233.203.64/26\",\r\n \"191.234.147.0/26\",\r\n + \ \"191.234.155.0/26\",\r\n \"2603:1050:6:402::100/122\",\r\n + \ \"2603:1050:6:802::100/122\",\r\n \"2603:1050:6:c02::100/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AppServiceManagement.CanadaCentral\",\r\n + \ \"id\": \"AppServiceManagement.CanadaCentral\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"canadacentral\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureAppServiceManagement\",\r\n + \ \"addressPrefixes\": [\r\n \"13.71.170.64/26\",\r\n \"13.71.173.0/26\",\r\n + \ \"13.71.173.128/26\",\r\n \"52.246.157.64/26\",\r\n \"2603:1030:f05:402::100/122\",\r\n + \ \"2603:1030:f05:802::100/122\",\r\n \"2603:1030:f05:c02::100/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AppServiceManagement.CanadaEast\",\r\n + \ \"id\": \"AppServiceManagement.CanadaEast\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"canadaeast\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureAppServiceManagement\",\r\n + \ \"addressPrefixes\": [\r\n \"40.69.106.128/26\",\r\n \"2603:1030:1005:402::100/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AppServiceManagement.CentralIndia\",\r\n + \ \"id\": \"AppServiceManagement.CentralIndia\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"centralindia\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureAppServiceManagement\",\r\n + \ \"addressPrefixes\": [\r\n \"20.43.120.128/26\",\r\n \"20.192.99.0/26\",\r\n + \ \"40.80.53.128/26\",\r\n \"104.211.81.64/26\",\r\n \"2603:1040:a06:402::100/122\",\r\n + \ \"2603:1040:a06:802::100/122\",\r\n \"2603:1040:a06:c02::100/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AppServiceManagement.CentralUS\",\r\n + \ \"id\": \"AppServiceManagement.CentralUS\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"centralus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureAppServiceManagement\",\r\n + \ \"addressPrefixes\": [\r\n \"13.89.171.0/26\",\r\n \"52.165.152.214/32\",\r\n + \ \"52.165.153.122/32\",\r\n \"52.165.154.193/32\",\r\n \"52.165.158.140/32\",\r\n + \ \"104.43.242.137/32\",\r\n \"2603:1030:10:402::100/122\",\r\n + \ \"2603:1030:10:802::100/122\",\r\n \"2603:1030:10:c02::100/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AppServiceManagement.EastAsia\",\r\n + \ \"id\": \"AppServiceManagement.EastAsia\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"eastasia\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureAppServiceManagement\",\r\n + \ \"addressPrefixes\": [\r\n \"13.75.34.192/26\",\r\n \"13.75.127.117/32\",\r\n + \ \"40.83.120.64/32\",\r\n \"40.83.121.56/32\",\r\n \"40.83.125.161/32\",\r\n + \ \"65.52.172.237/32\",\r\n \"2603:1040:207:402::100/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AppServiceManagement.EastUS\",\r\n + \ \"id\": \"AppServiceManagement.EastUS\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"eastus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureAppServiceManagement\",\r\n + \ \"addressPrefixes\": [\r\n \"40.71.11.0/26\",\r\n \"40.71.13.64/26\",\r\n + \ \"40.90.240.166/32\",\r\n \"52.224.105.172/32\",\r\n \"2603:1030:210:402::100/122\",\r\n + \ \"2603:1030:210:802::100/122\",\r\n \"2603:1030:210:c02::100/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AppServiceManagement.EastUS2\",\r\n + \ \"id\": \"AppServiceManagement.EastUS2\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"eastus2\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureAppServiceManagement\",\r\n + \ \"addressPrefixes\": [\r\n \"40.70.146.128/26\",\r\n \"2603:1030:40c:402::100/122\",\r\n + \ \"2603:1030:40c:802::100/122\",\r\n \"2603:1030:40c:c02::100/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AppServiceManagement.EastUS2EUAP\",\r\n + \ \"id\": \"AppServiceManagement.EastUS2EUAP\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"eastus2euap\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureAppServiceManagement\",\r\n + \ \"addressPrefixes\": [\r\n \"52.225.177.15/32\",\r\n \"52.225.177.153/32\",\r\n + \ \"2603:1030:40b:400::900/122\",\r\n \"2603:1030:40b:800::100/122\",\r\n + \ \"2603:1030:40b:c00::100/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AppServiceManagement.FranceCentral\",\r\n \"id\": + \"AppServiceManagement.FranceCentral\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"centralfrance\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureAppServiceManagement\",\r\n + \ \"addressPrefixes\": [\r\n \"40.79.130.64/26\",\r\n \"2603:1020:805:402::100/122\",\r\n + \ \"2603:1020:805:802::100/122\",\r\n \"2603:1020:805:c02::100/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AppServiceManagement.FranceSouth\",\r\n + \ \"id\": \"AppServiceManagement.FranceSouth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"southfrance\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureAppServiceManagement\",\r\n + \ \"addressPrefixes\": [\r\n \"40.79.178.128/26\",\r\n \"2603:1020:905:402::100/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AppServiceManagement.GermanyNorth\",\r\n + \ \"id\": \"AppServiceManagement.GermanyNorth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"germanyn\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureAppServiceManagement\",\r\n + \ \"addressPrefixes\": [\r\n \"51.116.58.192/26\",\r\n \"2603:1020:d04:402::100/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AppServiceManagement.GermanyWestCentral\",\r\n + \ \"id\": \"AppServiceManagement.GermanyWestCentral\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"germanywc\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureAppServiceManagement\",\r\n + \ \"addressPrefixes\": [\r\n \"51.116.155.0/26\",\r\n \"51.116.156.64/26\",\r\n + \ \"51.116.243.64/26\",\r\n \"51.116.251.192/26\",\r\n \"2603:1020:c04:402::100/122\",\r\n + \ \"2603:1020:c04:802::100/122\",\r\n \"2603:1020:c04:c02::100/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AppServiceManagement.JapanEast\",\r\n + \ \"id\": \"AppServiceManagement.JapanEast\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"japaneast\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureAppServiceManagement\",\r\n + \ \"addressPrefixes\": [\r\n \"13.78.106.128/26\",\r\n \"13.78.109.0/26\",\r\n + \ \"2603:1040:407:402::100/122\",\r\n \"2603:1040:407:802::100/122\",\r\n + \ \"2603:1040:407:c02::100/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AppServiceManagement.JapanWest\",\r\n \"id\": + \"AppServiceManagement.JapanWest\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\": + \"japanwest\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureAppServiceManagement\",\r\n + \ \"addressPrefixes\": [\r\n \"40.74.100.64/26\",\r\n \"2603:1040:606:402::100/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AppServiceManagement.KoreaCentral\",\r\n + \ \"id\": \"AppServiceManagement.KoreaCentral\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"koreacentral\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureAppServiceManagement\",\r\n + \ \"addressPrefixes\": [\r\n \"20.44.27.0/26\",\r\n \"20.194.66.128/26\",\r\n + \ \"52.231.18.64/26\",\r\n \"2603:1040:f05:402::100/122\",\r\n + \ \"2603:1040:f05:802::100/122\",\r\n \"2603:1040:f05:c02::100/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AppServiceManagement.KoreaSouth\",\r\n + \ \"id\": \"AppServiceManagement.KoreaSouth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"koreasouth\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureAppServiceManagement\",\r\n + \ \"addressPrefixes\": [\r\n \"52.231.146.128/26\"\r\n ]\r\n + \ }\r\n },\r\n {\r\n \"name\": \"AppServiceManagement.NorthCentralUS\",\r\n + \ \"id\": \"AppServiceManagement.NorthCentralUS\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"northcentralus\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureAppServiceManagement\",\r\n \"addressPrefixes\": [\r\n \"23.96.195.3/32\",\r\n + \ \"23.100.226.236/32\",\r\n \"52.162.80.89/32\",\r\n \"52.162.106.192/26\",\r\n + \ \"65.52.14.230/32\",\r\n \"65.52.193.203/32\",\r\n \"157.55.208.185/32\",\r\n + \ \"191.236.154.88/32\",\r\n \"2603:1030:608:402::100/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AppServiceManagement.NorthEurope\",\r\n + \ \"id\": \"AppServiceManagement.NorthEurope\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"northeurope\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureAppServiceManagement\",\r\n + \ \"addressPrefixes\": [\r\n \"13.69.227.128/26\",\r\n \"52.178.177.147/32\",\r\n + \ \"52.178.184.149/32\",\r\n \"52.178.190.65/32\",\r\n \"52.178.195.197/32\",\r\n + \ \"2603:1020:5:402::100/122\",\r\n \"2603:1020:5:802::100/122\",\r\n + \ \"2603:1020:5:c02::100/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AppServiceManagement.NorwayEast\",\r\n \"id\": + \"AppServiceManagement.NorwayEast\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"norwaye\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureAppServiceManagement\",\r\n + \ \"addressPrefixes\": [\r\n \"51.120.99.0/26\",\r\n \"51.120.107.0/26\",\r\n + \ \"51.120.211.0/26\",\r\n \"2603:1020:e04:402::100/122\",\r\n + \ \"2603:1020:e04:802::100/122\",\r\n \"2603:1020:e04:c02::100/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AppServiceManagement.NorwayWest\",\r\n + \ \"id\": \"AppServiceManagement.NorwayWest\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"norwayw\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureAppServiceManagement\",\r\n + \ \"addressPrefixes\": [\r\n \"51.120.219.0/26\",\r\n \"2603:1020:f04:402::100/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AppServiceManagement.SouthAfricaNorth\",\r\n + \ \"id\": \"AppServiceManagement.SouthAfricaNorth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"southafricanorth\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureAppServiceManagement\",\r\n \"addressPrefixes\": [\r\n \"102.133.123.0/26\",\r\n + \ \"102.133.123.128/26\",\r\n \"102.133.154.192/26\",\r\n + \ \"2603:1000:104:402::100/122\",\r\n \"2603:1000:104:802::100/122\",\r\n + \ \"2603:1000:104:c02::100/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AppServiceManagement.SouthAfricaWest\",\r\n \"id\": + \"AppServiceManagement.SouthAfricaWest\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"southafricawest\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureAppServiceManagement\",\r\n \"addressPrefixes\": [\r\n \"102.133.26.192/26\",\r\n + \ \"2603:1000:4:402::100/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AppServiceManagement.SouthCentralUS\",\r\n \"id\": + \"AppServiceManagement.SouthCentralUS\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"southcentralus\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"FW\"\r\n ],\r\n \"systemService\": \"AzureAppServiceManagement\",\r\n + \ \"addressPrefixes\": [\r\n \"13.73.240.128/26\",\r\n \"13.73.242.64/26\",\r\n + \ \"20.45.125.128/26\",\r\n \"20.49.90.128/26\",\r\n \"23.102.188.65/32\",\r\n + \ \"40.119.4.111/32\",\r\n \"40.124.47.188/32\",\r\n \"70.37.57.58/32\",\r\n + \ \"70.37.89.222/32\",\r\n \"104.44.129.141/32\",\r\n \"104.44.129.243/32\",\r\n + \ \"104.44.129.255/32\",\r\n \"104.44.134.255/32\",\r\n \"104.214.18.192/26\",\r\n + \ \"104.214.49.0/32\",\r\n \"157.55.176.93/32\",\r\n \"2603:1030:807:402::100/122\",\r\n + \ \"2603:1030:807:802::100/122\",\r\n \"2603:1030:807:c02::100/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AppServiceManagement.SoutheastAsia\",\r\n + \ \"id\": \"AppServiceManagement.SoutheastAsia\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"southeastasia\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureAppServiceManagement\",\r\n + \ \"addressPrefixes\": [\r\n \"13.67.8.128/26\",\r\n \"52.187.56.50/32\",\r\n + \ \"52.187.59.251/32\",\r\n \"52.187.63.19/32\",\r\n \"52.187.63.37/32\",\r\n + \ \"2603:1040:5:402::100/122\",\r\n \"2603:1040:5:802::100/122\",\r\n + \ \"2603:1040:5:c02::100/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AppServiceManagement.SouthIndia\",\r\n \"id\": + \"AppServiceManagement.SouthIndia\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"southindia\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureAppServiceManagement\",\r\n + \ \"addressPrefixes\": [\r\n \"40.78.194.128/26\",\r\n \"2603:1040:c06:402::100/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AppServiceManagement.SwitzerlandNorth\",\r\n + \ \"id\": \"AppServiceManagement.SwitzerlandNorth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"switzerlandn\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureAppServiceManagement\",\r\n + \ \"addressPrefixes\": [\r\n \"51.107.58.192/26\",\r\n \"2603:1020:a04:402::100/122\",\r\n + \ \"2603:1020:a04:802::100/122\",\r\n \"2603:1020:a04:c02::100/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AppServiceManagement.SwitzerlandWest\",\r\n + \ \"id\": \"AppServiceManagement.SwitzerlandWest\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"switzerlandw\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureAppServiceManagement\",\r\n + \ \"addressPrefixes\": [\r\n \"51.107.154.192/26\",\r\n \"2603:1020:b04:402::100/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AppServiceManagement.UAECentral\",\r\n + \ \"id\": \"AppServiceManagement.UAECentral\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"uaecentral\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureAppServiceManagement\",\r\n + \ \"addressPrefixes\": [\r\n \"20.37.74.128/26\",\r\n \"2603:1040:b04:402::100/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AppServiceManagement.UAENorth\",\r\n + \ \"id\": \"AppServiceManagement.UAENorth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"uaenorth\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureAppServiceManagement\",\r\n + \ \"addressPrefixes\": [\r\n \"40.120.74.128/26\",\r\n \"65.52.250.128/26\",\r\n + \ \"2603:1040:904:402::100/122\",\r\n \"2603:1040:904:802::100/122\",\r\n + \ \"2603:1040:904:c02::100/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AppServiceManagement.UKSouth\",\r\n \"id\": + \"AppServiceManagement.UKSouth\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\": + \"uksouth\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureAppServiceManagement\",\r\n + \ \"addressPrefixes\": [\r\n \"51.104.8.0/26\",\r\n \"51.104.8.128/26\",\r\n + \ \"51.140.146.64/26\",\r\n \"2603:1020:705:402::100/122\",\r\n + \ \"2603:1020:705:802::100/122\",\r\n \"2603:1020:705:c02::100/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AppServiceManagement.UKSouth2\",\r\n + \ \"id\": \"AppServiceManagement.UKSouth2\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"uksouth2\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"FW\"\r\n ],\r\n + \ \"systemService\": \"AzureAppServiceManagement\",\r\n \"addressPrefixes\": + [\r\n \"13.87.56.128/26\",\r\n \"2603:1020:405:402::100/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AppServiceManagement.UKWest\",\r\n + \ \"id\": \"AppServiceManagement.UKWest\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"ukwest\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureAppServiceManagement\",\r\n + \ \"addressPrefixes\": [\r\n \"51.140.210.128/26\",\r\n \"2603:1020:605:402::100/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AppServiceManagement.WestCentralUS\",\r\n + \ \"id\": \"AppServiceManagement.WestCentralUS\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"westcentralus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureAppServiceManagement\",\r\n + \ \"addressPrefixes\": [\r\n \"13.71.194.128/26\",\r\n \"2603:1030:b04:402::100/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AppServiceManagement.WestEurope\",\r\n + \ \"id\": \"AppServiceManagement.WestEurope\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"westeurope\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureAppServiceManagement\",\r\n + \ \"addressPrefixes\": [\r\n \"13.69.64.128/26\",\r\n \"13.94.141.115/32\",\r\n + \ \"13.94.143.126/32\",\r\n \"13.94.149.179/32\",\r\n \"52.174.22.21/32\",\r\n + \ \"2603:1020:206:402::100/122\",\r\n \"2603:1020:206:802::100/122\",\r\n + \ \"2603:1020:206:c02::100/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AppServiceManagement.WestIndia\",\r\n \"id\": + \"AppServiceManagement.WestIndia\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\": + \"westindia\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureAppServiceManagement\",\r\n + \ \"addressPrefixes\": [\r\n \"104.211.146.128/26\",\r\n \"2603:1040:806:402::100/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AppServiceManagement.WestUS\",\r\n + \ \"id\": \"AppServiceManagement.WestUS\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"westus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureAppServiceManagement\",\r\n + \ \"addressPrefixes\": [\r\n \"13.64.115.203/32\",\r\n \"40.112.242.192/26\",\r\n + \ \"2603:1030:a07:402::880/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AppServiceManagement.WestUS2\",\r\n \"id\": + \"AppServiceManagement.WestUS2\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\": + \"westus2\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureAppServiceManagement\",\r\n + \ \"addressPrefixes\": [\r\n \"13.66.140.0/26\",\r\n \"40.91.126.196/32\",\r\n + \ \"52.151.25.45/32\",\r\n \"2603:1030:c06:400::900/122\",\r\n + \ \"2603:1030:c06:802::100/122\",\r\n \"2603:1030:c06:c02::100/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureActiveDirectory\",\r\n + \ \"id\": \"AzureActiveDirectory\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\",\r\n + \ \"VSE\"\r\n ],\r\n \"systemService\": \"AzureAD\",\r\n + \ \"addressPrefixes\": [\r\n \"13.64.151.161/32\",\r\n \"13.66.141.64/27\",\r\n + \ \"13.67.9.224/27\",\r\n \"13.69.66.160/27\",\r\n \"13.69.229.96/27\",\r\n + \ \"13.70.73.32/27\",\r\n \"13.71.172.160/27\",\r\n \"13.71.195.224/27\",\r\n + \ \"13.71.201.64/26\",\r\n \"13.73.240.32/27\",\r\n \"13.74.104.0/26\",\r\n + \ \"13.74.249.156/32\",\r\n \"13.75.38.32/27\",\r\n \"13.75.105.168/32\",\r\n + \ \"13.77.52.160/27\",\r\n \"13.78.108.192/27\",\r\n \"13.78.172.246/32\",\r\n + \ \"13.79.37.247/32\",\r\n \"13.86.219.0/27\",\r\n \"13.87.16.0/26\",\r\n + \ \"13.87.57.160/27\",\r\n \"13.87.123.160/27\",\r\n \"13.89.174.0/27\",\r\n + \ \"20.36.107.192/27\",\r\n \"20.36.115.64/27\",\r\n \"20.37.75.96/27\",\r\n + \ \"20.40.228.64/28\",\r\n \"20.43.120.32/27\",\r\n \"20.44.3.160/27\",\r\n + \ \"20.44.16.32/27\",\r\n \"20.46.10.64/27\",\r\n \"20.51.9.80/28\",\r\n + \ \"20.51.16.128/27\",\r\n \"20.61.98.160/27\",\r\n \"20.61.99.128/28\",\r\n + \ \"20.62.58.80/28\",\r\n \"20.62.129.0/27\",\r\n \"20.62.129.240/28\",\r\n + \ \"20.65.132.96/28\",\r\n \"20.66.2.32/27\",\r\n \"20.66.3.16/28\",\r\n + \ \"20.187.197.32/27\",\r\n \"20.187.197.240/28\",\r\n \"20.190.128.0/18\",\r\n + \ \"20.194.73.0/28\",\r\n \"20.195.56.102/32\",\r\n \"20.195.57.118/32\",\r\n + \ \"20.195.64.192/27\",\r\n \"20.195.64.240/28\",\r\n \"23.101.0.70/32\",\r\n + \ \"23.101.6.190/32\",\r\n \"40.68.160.142/32\",\r\n \"40.69.107.160/27\",\r\n + \ \"40.71.13.0/27\",\r\n \"40.74.101.64/27\",\r\n \"40.74.146.192/27\",\r\n + \ \"40.78.195.160/27\",\r\n \"40.78.203.64/27\",\r\n \"40.79.131.128/27\",\r\n + \ \"40.79.179.128/27\",\r\n \"40.83.144.56/32\",\r\n \"40.126.0.0/18\",\r\n + \ \"51.140.148.192/27\",\r\n \"51.140.208.0/26\",\r\n \"51.140.211.192/27\",\r\n + \ \"52.138.65.157/32\",\r\n \"52.138.68.41/32\",\r\n \"52.146.132.96/27\",\r\n + \ \"52.146.133.80/28\",\r\n \"52.150.157.0/27\",\r\n \"52.159.175.31/32\",\r\n + \ \"52.161.13.71/32\",\r\n \"52.161.13.95/32\",\r\n \"52.161.110.169/32\",\r\n + \ \"52.162.110.96/27\",\r\n \"52.169.125.119/32\",\r\n \"52.169.218.0/32\",\r\n + \ \"52.174.189.149/32\",\r\n \"52.175.18.134/32\",\r\n \"52.178.27.112/32\",\r\n + \ \"52.179.122.218/32\",\r\n \"52.179.126.223/32\",\r\n \"52.180.177.87/32\",\r\n + \ \"52.180.179.108/32\",\r\n \"52.180.181.61/32\",\r\n \"52.180.183.8/32\",\r\n + \ \"52.187.19.1/32\",\r\n \"52.187.113.48/32\",\r\n \"52.187.117.83/32\",\r\n + \ \"52.187.120.237/32\",\r\n \"52.225.184.198/32\",\r\n \"52.225.188.89/32\",\r\n + \ \"52.226.169.40/32\",\r\n \"52.231.19.128/27\",\r\n \"52.231.147.192/27\",\r\n + \ \"65.52.251.96/27\",\r\n \"104.40.84.19/32\",\r\n \"104.40.87.209/32\",\r\n + \ \"104.40.156.18/32\",\r\n \"104.40.168.0/26\",\r\n \"104.41.159.212/32\",\r\n + \ \"104.45.138.161/32\",\r\n \"104.46.178.128/27\",\r\n \"104.211.147.160/27\",\r\n + \ \"191.233.204.160/27\",\r\n \"2603:1006:2000::/48\",\r\n + \ \"2603:1007:200::/48\",\r\n \"2603:1016:1400::/48\",\r\n + \ \"2603:1017::/48\",\r\n \"2603:1026:3000::/48\",\r\n \"2603:1027:1::/48\",\r\n + \ \"2603:1036:3000::/48\",\r\n \"2603:1037:1::/48\",\r\n + \ \"2603:1046:2000::/48\",\r\n \"2603:1047:1::/48\",\r\n + \ \"2603:1056:2000::/48\",\r\n \"2603:1057:2::/48\"\r\n ]\r\n + \ }\r\n },\r\n {\r\n \"name\": \"AzureActiveDirectoryDomainServices\",\r\n + \ \"id\": \"AzureActiveDirectoryDomainServices\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureIdentity\",\r\n \"addressPrefixes\": + [\r\n \"13.64.151.161/32\",\r\n \"13.66.141.64/27\",\r\n + \ \"13.67.9.224/27\",\r\n \"13.69.66.160/27\",\r\n \"13.69.229.96/27\",\r\n + \ \"13.70.73.32/27\",\r\n \"13.71.172.160/27\",\r\n \"13.71.195.224/27\",\r\n + \ \"13.73.240.32/27\",\r\n \"13.74.249.156/32\",\r\n \"13.75.38.32/27\",\r\n + \ \"13.75.105.168/32\",\r\n \"13.77.52.160/27\",\r\n \"13.78.108.192/27\",\r\n + \ \"13.78.172.246/32\",\r\n \"13.79.37.247/32\",\r\n \"13.86.219.0/27\",\r\n + \ \"13.87.57.160/27\",\r\n \"13.87.123.160/27\",\r\n \"13.89.174.0/27\",\r\n + \ \"20.36.107.192/27\",\r\n \"20.36.115.64/27\",\r\n \"20.37.75.96/27\",\r\n + \ \"20.43.120.32/27\",\r\n \"20.44.3.160/27\",\r\n \"20.44.16.32/27\",\r\n + \ \"20.46.10.64/27\",\r\n \"20.51.16.128/27\",\r\n \"20.61.98.160/27\",\r\n + \ \"20.62.129.0/27\",\r\n \"20.66.2.32/27\",\r\n \"20.187.197.32/27\",\r\n + \ \"20.195.56.102/32\",\r\n \"20.195.57.118/32\",\r\n \"20.195.64.192/27\",\r\n + \ \"23.101.0.70/32\",\r\n \"23.101.6.190/32\",\r\n \"40.68.160.142/32\",\r\n + \ \"40.69.107.160/27\",\r\n \"40.71.13.0/27\",\r\n \"40.74.101.64/27\",\r\n + \ \"40.74.146.192/27\",\r\n \"40.78.195.160/27\",\r\n \"40.78.203.64/27\",\r\n + \ \"40.79.131.128/27\",\r\n \"40.79.179.128/27\",\r\n \"40.83.144.56/32\",\r\n + \ \"51.140.148.192/27\",\r\n \"51.140.211.192/27\",\r\n \"52.138.65.157/32\",\r\n + \ \"52.138.68.41/32\",\r\n \"52.146.132.96/27\",\r\n \"52.150.157.0/27\",\r\n + \ \"52.161.13.71/32\",\r\n \"52.161.13.95/32\",\r\n \"52.161.110.169/32\",\r\n + \ \"52.162.110.96/27\",\r\n \"52.169.125.119/32\",\r\n \"52.169.218.0/32\",\r\n + \ \"52.174.189.149/32\",\r\n \"52.175.18.134/32\",\r\n \"52.178.27.112/32\",\r\n + \ \"52.179.122.218/32\",\r\n \"52.179.126.223/32\",\r\n \"52.180.177.87/32\",\r\n + \ \"52.180.179.108/32\",\r\n \"52.180.181.61/32\",\r\n \"52.180.183.8/32\",\r\n + \ \"52.187.19.1/32\",\r\n \"52.187.113.48/32\",\r\n \"52.187.117.83/32\",\r\n + \ \"52.187.120.237/32\",\r\n \"52.225.184.198/32\",\r\n \"52.225.188.89/32\",\r\n + \ \"52.231.19.128/27\",\r\n \"52.231.147.192/27\",\r\n \"65.52.251.96/27\",\r\n + \ \"104.40.84.19/32\",\r\n \"104.40.87.209/32\",\r\n \"104.40.156.18/32\",\r\n + \ \"104.41.159.212/32\",\r\n \"104.45.138.161/32\",\r\n \"104.46.178.128/27\",\r\n + \ \"104.211.147.160/27\",\r\n \"191.233.204.160/27\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureAdvancedThreatProtection\",\r\n + \ \"id\": \"AzureAdvancedThreatProtection\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureAdvancedThreatProtection\",\r\n + \ \"addressPrefixes\": [\r\n \"13.72.105.31/32\",\r\n \"13.72.105.76/32\",\r\n + \ \"13.93.176.195/32\",\r\n \"13.93.176.215/32\",\r\n \"20.36.120.112/29\",\r\n + \ \"20.37.64.112/29\",\r\n \"20.37.156.192/29\",\r\n \"20.37.195.8/29\",\r\n + \ \"20.37.224.112/29\",\r\n \"20.38.84.96/29\",\r\n \"20.38.136.112/29\",\r\n + \ \"20.39.11.16/29\",\r\n \"20.41.4.96/29\",\r\n \"20.41.65.128/29\",\r\n + \ \"20.41.192.112/29\",\r\n \"20.42.4.192/29\",\r\n \"20.42.129.176/29\",\r\n + \ \"20.42.224.112/29\",\r\n \"20.43.41.144/29\",\r\n \"20.43.65.136/29\",\r\n + \ \"20.43.130.88/29\",\r\n \"20.45.112.112/29\",\r\n \"20.45.192.112/29\",\r\n + \ \"20.72.16.24/29\",\r\n \"20.150.160.112/29\",\r\n \"20.184.13.55/32\",\r\n + \ \"20.184.14.129/32\",\r\n \"20.189.106.120/29\",\r\n \"20.192.160.24/29\",\r\n + \ \"20.192.225.16/29\",\r\n \"40.65.107.78/32\",\r\n \"40.65.111.206/32\",\r\n + \ \"40.67.48.112/29\",\r\n \"40.74.30.96/29\",\r\n \"40.80.56.112/29\",\r\n + \ \"40.80.168.112/29\",\r\n \"40.80.188.16/29\",\r\n \"40.82.253.64/29\",\r\n + \ \"40.85.133.119/32\",\r\n \"40.85.133.178/32\",\r\n \"40.87.44.77/32\",\r\n + \ \"40.87.45.222/32\",\r\n \"40.89.16.112/29\",\r\n \"40.119.9.224/29\",\r\n + \ \"51.12.46.232/29\",\r\n \"51.12.198.192/29\",\r\n \"51.104.25.144/29\",\r\n + \ \"51.105.80.112/29\",\r\n \"51.105.88.112/29\",\r\n \"51.107.48.112/29\",\r\n + \ \"51.107.144.112/29\",\r\n \"51.120.40.112/29\",\r\n \"51.120.224.112/29\",\r\n + \ \"51.137.161.128/29\",\r\n \"51.143.183.3/32\",\r\n \"51.143.183.52/32\",\r\n + \ \"51.143.192.112/29\",\r\n \"52.136.48.112/29\",\r\n \"52.140.104.112/29\",\r\n + \ \"52.150.139.64/29\",\r\n \"52.170.0.116/32\",\r\n \"52.170.1.228/32\",\r\n + \ \"52.170.249.197/32\",\r\n \"52.174.66.179/32\",\r\n \"52.174.66.180/32\",\r\n + \ \"52.225.176.98/32\",\r\n \"52.225.181.34/32\",\r\n \"52.225.183.206/32\",\r\n + \ \"52.228.81.128/29\",\r\n \"104.42.25.10/32\",\r\n \"104.42.29.8/32\",\r\n + \ \"168.63.46.233/32\",\r\n \"168.63.46.241/32\",\r\n \"191.233.8.24/29\",\r\n + \ \"191.235.225.136/29\",\r\n \"2603:1000:4::140/123\",\r\n + \ \"2603:1000:104:1::140/123\",\r\n \"2603:1010:6:1::140/123\",\r\n + \ \"2603:1010:101::140/123\",\r\n \"2603:1010:304::140/123\",\r\n + \ \"2603:1010:404::140/123\",\r\n \"2603:1020:5:1::140/123\",\r\n + \ \"2603:1020:206:1::140/123\",\r\n \"2603:1020:305::140/123\",\r\n + \ \"2603:1020:405::140/123\",\r\n \"2603:1020:605::140/123\",\r\n + \ \"2603:1020:705:1::140/123\",\r\n \"2603:1020:805:1::140/123\",\r\n + \ \"2603:1020:905::140/123\",\r\n \"2603:1020:a04:1::140/123\",\r\n + \ \"2603:1020:b04::140/123\",\r\n \"2603:1020:c04:1::140/123\",\r\n + \ \"2603:1020:d04::140/123\",\r\n \"2603:1020:e04:1::140/123\",\r\n + \ \"2603:1020:f04::140/123\",\r\n \"2603:1020:1004::140/123\",\r\n + \ \"2603:1020:1104::140/123\",\r\n \"2603:1030:f:1::140/123\",\r\n + \ \"2603:1030:10:1::140/123\",\r\n \"2603:1030:104:1::140/123\",\r\n + \ \"2603:1030:107::140/123\",\r\n \"2603:1030:210:1::140/123\",\r\n + \ \"2603:1030:40b:1::140/123\",\r\n \"2603:1030:40c:1::140/123\",\r\n + \ \"2603:1030:504:1::140/123\",\r\n \"2603:1030:608::140/123\",\r\n + \ \"2603:1030:807:1::140/123\",\r\n \"2603:1030:a07::140/123\",\r\n + \ \"2603:1030:b04::140/123\",\r\n \"2603:1030:c06:1::140/123\",\r\n + \ \"2603:1030:f05:1::140/123\",\r\n \"2603:1030:1005::140/123\",\r\n + \ \"2603:1040:5:1::140/123\",\r\n \"2603:1040:207::140/123\",\r\n + \ \"2603:1040:407:1::140/123\",\r\n \"2603:1040:606::140/123\",\r\n + \ \"2603:1040:806::140/123\",\r\n \"2603:1040:904:1::140/123\",\r\n + \ \"2603:1040:a06:1::140/123\",\r\n \"2603:1040:b04::140/123\",\r\n + \ \"2603:1040:c06::140/123\",\r\n \"2603:1040:d04::140/123\",\r\n + \ \"2603:1040:f05:1::140/123\",\r\n \"2603:1040:1104::140/123\",\r\n + \ \"2603:1050:6:1::140/123\",\r\n \"2603:1050:403::140/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureAdvancedThreatProtection.CanadaEast\",\r\n + \ \"id\": \"AzureAdvancedThreatProtection.CanadaEast\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"canadaeast\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"FW\"\r\n ],\r\n + \ \"systemService\": \"AzureAdvancedThreatProtection\",\r\n \"addressPrefixes\": + [\r\n \"40.89.16.112/29\",\r\n \"2603:1030:1005::140/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureAdvancedThreatProtection.GermanyNorth\",\r\n + \ \"id\": \"AzureAdvancedThreatProtection.GermanyNorth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"germanyn\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"FW\"\r\n ],\r\n + \ \"systemService\": \"AzureAdvancedThreatProtection\",\r\n \"addressPrefixes\": + [\r\n \"2603:1020:d04::140/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureAdvancedThreatProtection.SouthAfricaWest\",\r\n + \ \"id\": \"AzureAdvancedThreatProtection.SouthAfricaWest\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"southafricawest\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"FW\"\r\n ],\r\n \"systemService\": \"AzureAdvancedThreatProtection\",\r\n + \ \"addressPrefixes\": [\r\n \"2603:1000:4::140/123\"\r\n ]\r\n + \ }\r\n },\r\n {\r\n \"name\": \"AzureAPIForFHIR\",\r\n \"id\": + \"AzureAPIForFHIR\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": + {\r\n \"changeNumber\": \"4\",\r\n \"region\": \"\",\r\n \"state\": + \"GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureAPIForFHIR\",\r\n \"addressPrefixes\": [\r\n \"13.67.40.183/32\",\r\n + \ \"13.69.233.32/31\",\r\n \"13.70.78.170/31\",\r\n \"13.71.175.130/31\",\r\n + \ \"13.71.199.118/31\",\r\n \"13.73.244.194/31\",\r\n \"13.73.254.220/30\",\r\n + \ \"13.78.111.194/31\",\r\n \"13.80.124.132/32\",\r\n \"13.82.180.206/32\",\r\n + \ \"13.86.221.218/31\",\r\n \"13.87.58.136/31\",\r\n \"13.87.124.136/31\",\r\n + \ \"20.36.117.192/31\",\r\n \"20.36.123.84/30\",\r\n \"20.37.68.224/30\",\r\n + \ \"20.37.76.204/31\",\r\n \"20.37.198.142/31\",\r\n \"20.37.227.102/31\",\r\n + \ \"20.37.228.12/31\",\r\n \"20.38.128.170/31\",\r\n \"20.38.141.6/31\",\r\n + \ \"20.38.142.104/31\",\r\n \"20.39.15.58/31\",\r\n \"20.40.224.224/31\",\r\n + \ \"20.40.224.228/31\",\r\n \"20.40.230.128/28\",\r\n \"20.41.69.50/31\",\r\n + \ \"20.41.69.60/31\",\r\n \"20.42.230.234/31\",\r\n \"20.43.45.248/30\",\r\n + \ \"20.43.121.122/31\",\r\n \"20.44.4.232/31\",\r\n \"20.44.19.4/31\",\r\n + \ \"20.45.90.96/28\",\r\n \"20.45.112.122/31\",\r\n \"20.45.114.204/31\",\r\n + \ \"20.45.117.48/28\",\r\n \"20.45.199.40/30\",\r\n \"20.46.12.208/28\",\r\n + \ \"20.46.15.0/27\",\r\n \"20.48.192.84/30\",\r\n \"20.48.197.160/28\",\r\n + \ \"20.49.99.46/31\",\r\n \"20.49.102.228/31\",\r\n \"20.49.114.188/30\",\r\n + \ \"20.49.127.240/31\",\r\n \"20.51.0.208/28\",\r\n \"20.51.13.80/28\",\r\n + \ \"20.51.16.168/31\",\r\n \"20.51.21.80/28\",\r\n \"20.52.88.224/28\",\r\n + \ \"20.53.0.32/31\",\r\n \"20.53.44.80/31\",\r\n \"20.53.47.208/28\",\r\n + \ \"20.53.49.112/28\",\r\n \"20.53.57.64/28\",\r\n \"20.58.67.96/28\",\r\n + \ \"20.61.98.66/31\",\r\n \"20.61.98.68/31\",\r\n \"20.61.103.240/28\",\r\n + \ \"20.62.60.112/28\",\r\n \"20.62.128.148/30\",\r\n \"20.62.134.240/28\",\r\n + \ \"20.65.134.80/28\",\r\n \"20.66.5.144/28\",\r\n \"20.69.1.160/28\",\r\n + \ \"20.72.21.208/28\",\r\n \"20.150.165.156/30\",\r\n \"20.150.225.0/31\",\r\n + \ \"20.150.245.64/28\",\r\n \"20.150.245.160/27\",\r\n \"20.187.196.196/30\",\r\n + \ \"20.189.228.224/28\",\r\n \"20.191.160.26/31\",\r\n \"20.191.160.116/31\",\r\n + \ \"20.191.167.144/28\",\r\n \"20.192.45.0/28\",\r\n \"20.192.47.64/27\",\r\n + \ \"20.192.50.96/27\",\r\n \"20.192.50.240/28\",\r\n \"20.192.80.192/28\",\r\n + \ \"20.192.164.188/30\",\r\n \"20.192.184.80/31\",\r\n \"20.192.225.200/30\",\r\n + \ \"20.192.238.122/31\",\r\n \"20.193.194.128/27\",\r\n \"20.193.194.160/28\",\r\n + \ \"20.193.206.36/31\",\r\n \"20.194.74.160/28\",\r\n \"20.194.75.192/27\",\r\n + \ \"20.195.67.208/28\",\r\n \"20.195.74.224/28\",\r\n \"20.195.146.208/28\",\r\n + \ \"23.96.205.55/32\",\r\n \"23.98.108.42/31\",\r\n \"23.98.108.46/31\",\r\n + \ \"40.64.135.76/30\",\r\n \"40.67.48.122/31\",\r\n \"40.67.50.244/31\",\r\n + \ \"40.67.53.240/28\",\r\n \"40.67.60.110/31\",\r\n \"40.69.111.32/31\",\r\n + \ \"40.71.15.192/31\",\r\n \"40.75.35.218/31\",\r\n \"40.78.204.44/31\",\r\n + \ \"40.78.238.58/31\",\r\n \"40.78.250.110/31\",\r\n \"40.79.116.45/32\",\r\n + \ \"40.80.63.158/31\",\r\n \"40.80.63.244/31\",\r\n \"40.80.173.128/30\",\r\n + \ \"40.80.180.2/31\",\r\n \"40.82.248.70/31\",\r\n \"40.89.23.40/31\",\r\n + \ \"40.113.78.45/32\",\r\n \"40.120.82.160/28\",\r\n \"40.126.239.114/32\",\r\n + \ \"51.11.192.32/31\",\r\n \"51.12.20.32/28\",\r\n \"51.12.20.64/27\",\r\n + \ \"51.12.28.64/27\",\r\n \"51.12.28.96/28\",\r\n \"51.12.42.64/30\",\r\n + \ \"51.12.100.104/31\",\r\n \"51.12.193.28/30\",\r\n \"51.12.204.224/31\",\r\n + \ \"51.13.136.56/31\",\r\n \"51.13.138.32/28\",\r\n \"51.104.9.98/31\",\r\n + \ \"51.104.30.170/31\",\r\n \"51.107.53.48/30\",\r\n \"51.107.60.94/31\",\r\n + \ \"51.107.148.18/31\",\r\n \"51.107.156.134/31\",\r\n \"51.107.243.128/28\",\r\n + \ \"51.107.249.72/31\",\r\n \"51.107.251.112/28\",\r\n \"51.116.51.32/30\",\r\n + \ \"51.116.55.128/28\",\r\n \"51.116.60.240/31\",\r\n \"51.116.146.216/30\",\r\n + \ \"51.116.158.58/31\",\r\n \"51.120.40.126/31\",\r\n \"51.120.100.94/31\",\r\n + \ \"51.120.220.94/31\",\r\n \"51.120.228.36/31\",\r\n \"51.120.232.32/31\",\r\n + \ \"51.120.234.144/28\",\r\n \"51.120.235.192/27\",\r\n \"51.137.164.94/31\",\r\n + \ \"51.137.167.168/31\",\r\n \"51.138.160.0/31\",\r\n \"51.138.211.16/28\",\r\n + \ \"51.140.40.89/32\",\r\n \"51.140.210.86/31\",\r\n \"51.140.224.110/32\",\r\n + \ \"51.143.208.132/31\",\r\n \"51.143.213.208/28\",\r\n \"52.136.48.122/31\",\r\n + \ \"52.136.52.36/31\",\r\n \"52.136.184.0/30\",\r\n \"52.136.186.32/28\",\r\n + \ \"52.139.106.72/31\",\r\n \"52.139.108.32/28\",\r\n \"52.140.110.164/30\",\r\n + \ \"52.146.131.52/30\",\r\n \"52.146.137.176/28\",\r\n \"52.147.113.96/28\",\r\n + \ \"52.150.156.44/30\",\r\n \"52.161.13.30/32\",\r\n \"52.162.111.130/31\",\r\n + \ \"52.167.239.195/32\",\r\n \"52.172.112.24/30\",\r\n \"52.172.116.144/28\",\r\n + \ \"52.178.17.0/31\",\r\n \"52.182.141.14/31\",\r\n \"52.231.23.8/31\",\r\n + \ \"52.231.146.86/31\",\r\n \"52.231.152.94/32\",\r\n \"52.247.220.99/32\",\r\n + \ \"65.52.252.248/31\",\r\n \"102.37.64.48/31\",\r\n \"102.37.81.144/28\",\r\n + \ \"102.37.161.64/28\",\r\n \"102.133.58.204/30\",\r\n \"102.133.124.12/31\",\r\n + \ \"102.133.220.196/30\",\r\n \"104.46.162.0/31\",\r\n \"104.46.178.112/31\",\r\n + \ \"104.46.183.192/28\",\r\n \"104.210.152.157/32\",\r\n + \ \"104.214.161.14/31\",\r\n \"191.233.14.192/30\",\r\n \"191.233.51.212/31\",\r\n + \ \"191.233.207.24/31\",\r\n \"191.234.139.160/31\",\r\n + \ \"191.235.225.154/31\",\r\n \"191.238.72.224/28\",\r\n + \ \"2603:1020:e04::7c0/123\",\r\n \"2603:1020:1004:2::c0/123\",\r\n + \ \"2603:1020:1104:1::4e0/123\",\r\n \"2603:1030:f:2::4e0/123\",\r\n + \ \"2603:1030:504:2::c0/123\",\r\n \"2603:1040:a06:2::2c0/123\",\r\n + \ \"2603:1040:d04:2::20/123\",\r\n \"2603:1040:f05::7c0/123\",\r\n + \ \"2603:1040:1104:1::440/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureAPIForFHIR.SoutheastAsia\",\r\n \"id\": + \"AzureAPIForFHIR.SoutheastAsia\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"3\",\r\n \"region\": + \"southeastasia\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"AzureAPIForFHIR\",\r\n \"addressPrefixes\": [\r\n \"13.67.40.183/32\",\r\n + \ \"20.195.67.208/28\",\r\n \"23.98.108.42/31\",\r\n \"23.98.108.46/31\",\r\n + \ \"40.78.238.58/31\"\r\n ]\r\n }\r\n },\r\n {\r\n + \ \"name\": \"AzureAPIForFHIR.UKNorth\",\r\n \"id\": \"AzureAPIForFHIR.UKNorth\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"1\",\r\n \"region\": \"uknorth\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n + \ ],\r\n \"systemService\": \"AzureAPIForFHIR\",\r\n \"addressPrefixes\": + [\r\n \"13.87.124.136/31\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureArcInfrastructure\",\r\n \"id\": \"AzureArcInfrastructure\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"1\",\r\n \"region\": \"\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureArcInfrastructure\",\r\n \"addressPrefixes\": + [\r\n \"13.66.143.219/32\",\r\n \"13.70.79.64/32\",\r\n + \ \"13.71.175.129/32\",\r\n \"13.71.199.117/32\",\r\n \"13.73.244.196/32\",\r\n + \ \"13.73.253.124/30\",\r\n \"13.74.107.94/32\",\r\n \"13.77.53.221/32\",\r\n + \ \"13.78.111.193/32\",\r\n \"13.81.244.155/32\",\r\n \"13.86.223.80/32\",\r\n + \ \"13.90.194.180/32\",\r\n \"20.36.122.52/30\",\r\n \"20.37.66.52/30\",\r\n + \ \"20.37.196.248/30\",\r\n \"20.37.226.52/30\",\r\n \"20.37.228.8/30\",\r\n + \ \"20.38.87.188/30\",\r\n \"20.38.138.56/30\",\r\n \"20.38.141.8/30\",\r\n + \ \"20.39.12.228/30\",\r\n \"20.39.14.84/30\",\r\n \"20.40.200.152/29\",\r\n + \ \"20.40.224.52/30\",\r\n \"20.41.67.84/30\",\r\n \"20.41.69.52/30\",\r\n + \ \"20.41.195.252/30\",\r\n \"20.42.228.216/30\",\r\n \"20.43.43.160/30\",\r\n + \ \"20.43.45.240/30\",\r\n \"20.43.67.88/30\",\r\n \"20.43.121.252/32\",\r\n + \ \"20.44.19.6/32\",\r\n \"20.45.197.224/30\",\r\n \"20.45.199.32/30\",\r\n + \ \"20.48.192.76/30\",\r\n \"20.49.99.12/30\",\r\n \"20.49.102.212/30\",\r\n + \ \"20.49.109.32/30\",\r\n \"20.49.113.12/30\",\r\n \"20.49.114.52/30\",\r\n + \ \"20.49.120.32/30\",\r\n \"20.49.125.188/30\",\r\n \"20.50.1.196/30\",\r\n + \ \"20.53.0.34/32\",\r\n \"20.53.41.44/30\",\r\n \"20.61.96.184/30\",\r\n + \ \"20.150.165.140/30\",\r\n \"20.187.194.204/30\",\r\n \"20.189.111.204/30\",\r\n + \ \"20.191.160.28/30\",\r\n \"20.192.164.176/30\",\r\n \"20.192.228.252/30\",\r\n + \ \"23.98.104.12/30\",\r\n \"23.98.108.32/30\",\r\n \"40.64.132.84/30\",\r\n + \ \"40.64.135.72/30\",\r\n \"40.69.111.34/32\",\r\n \"40.71.15.194/32\",\r\n + \ \"40.78.204.46/32\",\r\n \"40.78.239.96/32\",\r\n \"40.79.138.46/32\",\r\n + \ \"40.80.59.24/30\",\r\n \"40.80.172.12/30\",\r\n \"40.89.20.128/30\",\r\n + \ \"40.89.23.32/30\",\r\n \"40.119.9.232/30\",\r\n \"51.104.28.216/30\",\r\n + \ \"51.104.31.172/30\",\r\n \"51.105.77.50/32\",\r\n \"51.105.90.148/30\",\r\n + \ \"51.107.50.56/30\",\r\n \"51.107.53.32/30\",\r\n \"51.107.60.152/32\",\r\n + \ \"51.107.146.52/30\",\r\n \"51.116.49.136/30\",\r\n \"51.116.145.136/30\",\r\n + \ \"51.116.146.212/30\",\r\n \"51.116.158.60/32\",\r\n \"51.120.42.56/30\",\r\n + \ \"51.120.44.196/30\",\r\n \"51.120.100.156/32\",\r\n \"51.120.226.52/30\",\r\n + \ \"51.137.164.76/30\",\r\n \"51.137.166.40/30\",\r\n \"51.140.212.216/32\",\r\n + \ \"52.136.51.68/30\",\r\n \"52.138.90.54/32\",\r\n \"52.140.107.92/30\",\r\n + \ \"52.140.110.108/30\",\r\n \"52.146.79.132/30\",\r\n \"52.146.130.180/30\",\r\n + \ \"52.150.152.204/30\",\r\n \"52.150.156.36/30\",\r\n \"52.162.111.132/32\",\r\n + \ \"52.182.141.60/32\",\r\n \"52.228.84.80/30\",\r\n \"52.231.23.10/32\",\r\n + \ \"52.236.189.74/32\",\r\n \"65.52.252.250/32\",\r\n \"102.133.57.188/30\",\r\n + \ \"102.133.154.6/32\",\r\n \"102.133.218.52/30\",\r\n \"102.133.219.188/30\",\r\n + \ \"104.46.178.0/30\",\r\n \"104.214.164.48/32\",\r\n \"137.135.98.137/32\",\r\n + \ \"191.233.207.26/32\",\r\n \"191.234.136.44/30\",\r\n \"191.234.138.144/30\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureBackup\",\r\n + \ \"id\": \"AzureBackup\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"5\",\r\n \"region\": + \"\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n + \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureBackup\",\r\n \"addressPrefixes\": + [\r\n \"13.66.140.192/26\",\r\n \"13.66.141.0/27\",\r\n + \ \"13.67.12.0/24\",\r\n \"13.67.13.0/25\",\r\n \"13.69.65.32/27\",\r\n + \ \"13.69.65.128/25\",\r\n \"13.69.107.0/27\",\r\n \"13.69.107.128/25\",\r\n + \ \"13.69.228.128/25\",\r\n \"13.69.229.0/27\",\r\n \"13.70.73.192/27\",\r\n + \ \"13.70.74.0/26\",\r\n \"13.71.172.0/26\",\r\n \"13.71.172.64/27\",\r\n + \ \"13.71.195.64/26\",\r\n \"13.71.195.128/27\",\r\n \"13.74.107.192/27\",\r\n + \ \"13.74.108.0/25\",\r\n \"13.75.36.128/25\",\r\n \"13.75.37.0/24\",\r\n + \ \"13.77.52.32/27\",\r\n \"13.77.52.64/26\",\r\n \"13.78.108.32/27\",\r\n + \ \"13.78.108.64/26\",\r\n \"13.86.218.0/25\",\r\n \"13.86.218.128/26\",\r\n + \ \"13.87.57.0/26\",\r\n \"13.87.57.64/27\",\r\n \"13.87.123.0/26\",\r\n + \ \"13.87.123.64/27\",\r\n \"13.89.171.128/26\",\r\n \"13.89.171.192/27\",\r\n + \ \"20.36.107.32/27\",\r\n \"20.36.107.64/26\",\r\n \"20.36.114.224/27\",\r\n + \ \"20.36.115.0/26\",\r\n \"20.37.75.0/26\",\r\n \"20.37.75.64/27\",\r\n + \ \"20.38.147.0/27\",\r\n \"20.38.147.64/26\",\r\n \"20.40.229.128/25\",\r\n + \ \"20.44.3.64/26\",\r\n \"20.44.3.128/27\",\r\n \"20.44.8.32/27\",\r\n + \ \"20.44.8.64/26\",\r\n \"20.44.16.128/27\",\r\n \"20.44.16.192/26\",\r\n + \ \"20.44.27.128/27\",\r\n \"20.45.90.0/26\",\r\n \"20.45.123.0/26\",\r\n + \ \"20.45.123.64/28\",\r\n \"20.45.125.192/27\",\r\n \"20.46.12.0/25\",\r\n + \ \"20.48.197.0/26\",\r\n \"20.49.82.192/26\",\r\n \"20.49.83.0/27\",\r\n + \ \"20.49.90.192/26\",\r\n \"20.49.91.0/27\",\r\n \"20.51.0.0/26\",\r\n + \ \"20.51.12.128/26\",\r\n \"20.51.20.128/25\",\r\n \"20.52.88.0/26\",\r\n + \ \"20.53.47.128/26\",\r\n \"20.53.49.0/26\",\r\n \"20.53.56.192/26\",\r\n + \ \"20.58.67.128/25\",\r\n \"20.61.102.128/25\",\r\n \"20.61.103.0/26\",\r\n + \ \"20.62.59.128/25\",\r\n \"20.62.133.128/25\",\r\n \"20.62.134.0/26\",\r\n + \ \"20.65.133.128/26\",\r\n \"20.66.4.0/25\",\r\n \"20.66.4.128/26\",\r\n + \ \"20.69.1.0/26\",\r\n \"20.72.27.64/26\",\r\n \"20.150.171.96/27\",\r\n + \ \"20.150.171.128/26\",\r\n \"20.150.179.80/28\",\r\n \"20.150.179.128/26\",\r\n + \ \"20.150.181.64/27\",\r\n \"20.150.187.80/28\",\r\n \"20.150.187.128/26\",\r\n + \ \"20.150.190.0/27\",\r\n \"20.150.244.64/26\",\r\n \"20.189.228.64/26\",\r\n + \ \"20.191.166.128/26\",\r\n \"20.192.44.128/26\",\r\n \"20.192.50.128/26\",\r\n + \ \"20.192.80.64/26\",\r\n \"20.192.99.80/28\",\r\n \"20.192.99.128/26\",\r\n + \ \"20.192.235.32/27\",\r\n \"20.192.235.64/26\",\r\n \"20.193.192.192/26\",\r\n + \ \"20.193.203.0/26\",\r\n \"20.193.203.64/27\",\r\n \"20.194.66.192/26\",\r\n + \ \"20.194.67.0/27\",\r\n \"20.194.74.0/26\",\r\n \"20.195.66.0/24\",\r\n + \ \"20.195.67.0/25\",\r\n \"20.195.73.0/24\",\r\n \"20.195.74.0/25\",\r\n + \ \"20.195.146.128/26\",\r\n \"23.98.83.0/27\",\r\n \"23.98.83.128/25\",\r\n + \ \"23.98.84.0/24\",\r\n \"40.67.59.96/27\",\r\n \"40.67.59.128/26\",\r\n + \ \"40.69.107.32/27\",\r\n \"40.69.107.64/26\",\r\n \"40.70.147.128/26\",\r\n + \ \"40.70.147.192/27\",\r\n \"40.71.12.0/25\",\r\n \"40.71.12.128/26\",\r\n + \ \"40.74.98.64/26\",\r\n \"40.74.98.128/27\",\r\n \"40.74.146.96/27\",\r\n + \ \"40.74.146.128/26\",\r\n \"40.75.34.96/27\",\r\n \"40.75.34.192/26\",\r\n + \ \"40.78.195.32/27\",\r\n \"40.78.195.64/26\",\r\n \"40.78.202.160/27\",\r\n + \ \"40.78.202.192/26\",\r\n \"40.78.227.64/26\",\r\n \"40.78.227.128/25\",\r\n + \ \"40.78.234.192/27\",\r\n \"40.78.235.0/24\",\r\n \"40.78.236.0/25\",\r\n + \ \"40.78.243.32/27\",\r\n \"40.78.243.64/26\",\r\n \"40.78.250.224/27\",\r\n + \ \"40.78.251.0/26\",\r\n \"40.79.131.0/26\",\r\n \"40.79.131.64/27\",\r\n + \ \"40.79.155.64/26\",\r\n \"40.79.155.128/25\",\r\n \"40.79.162.128/27\",\r\n + \ \"40.79.162.192/26\",\r\n \"40.79.170.64/26\",\r\n \"40.79.170.128/27\",\r\n + \ \"40.79.171.32/27\",\r\n \"40.79.179.32/27\",\r\n \"40.79.179.64/26\",\r\n + \ \"40.79.187.32/27\",\r\n \"40.79.187.64/26\",\r\n \"40.79.195.32/27\",\r\n + \ \"40.79.195.64/26\",\r\n \"40.80.51.0/27\",\r\n \"40.80.53.192/26\",\r\n + \ \"40.120.74.192/26\",\r\n \"40.120.75.0/27\",\r\n \"40.120.82.0/26\",\r\n + \ \"51.12.17.64/26\",\r\n \"51.12.25.128/26\",\r\n \"51.12.99.96/27\",\r\n + \ \"51.12.99.128/26\",\r\n \"51.12.203.96/27\",\r\n \"51.12.203.128/26\",\r\n + \ \"51.12.227.80/28\",\r\n \"51.12.227.128/26\",\r\n \"51.12.235.80/28\",\r\n + \ \"51.12.235.128/26\",\r\n \"51.13.137.128/26\",\r\n \"51.105.67.32/27\",\r\n + \ \"51.105.67.64/26\",\r\n \"51.105.75.0/27\",\r\n \"51.105.75.64/26\",\r\n + \ \"51.107.59.64/26\",\r\n \"51.107.59.128/27\",\r\n \"51.107.155.64/26\",\r\n + \ \"51.107.155.128/27\",\r\n \"51.107.243.0/26\",\r\n \"51.107.251.0/26\",\r\n + \ \"51.116.55.0/26\",\r\n \"51.116.59.64/26\",\r\n \"51.116.59.128/27\",\r\n + \ \"51.116.155.128/26\",\r\n \"51.116.155.192/27\",\r\n \"51.116.156.144/28\",\r\n + \ \"51.116.156.192/26\",\r\n \"51.116.245.0/26\",\r\n \"51.116.245.64/27\",\r\n + \ \"51.116.250.240/28\",\r\n \"51.116.251.64/26\",\r\n \"51.116.253.0/27\",\r\n + \ \"51.120.99.96/27\",\r\n \"51.120.99.128/26\",\r\n \"51.120.107.80/28\",\r\n + \ \"51.120.107.128/26\",\r\n \"51.120.110.128/27\",\r\n \"51.120.211.80/28\",\r\n + \ \"51.120.211.128/26\",\r\n \"51.120.214.64/27\",\r\n \"51.120.219.96/27\",\r\n + \ \"51.120.219.128/26\",\r\n \"51.120.233.192/26\",\r\n \"51.138.210.192/26\",\r\n + \ \"51.140.148.64/26\",\r\n \"51.140.148.128/27\",\r\n \"51.140.211.32/27\",\r\n + \ \"51.140.211.64/26\",\r\n \"51.143.212.192/26\",\r\n \"51.143.213.0/25\",\r\n + \ \"52.136.185.192/26\",\r\n \"52.138.90.160/27\",\r\n \"52.138.90.192/26\",\r\n + \ \"52.138.226.192/27\",\r\n \"52.138.227.0/25\",\r\n \"52.139.107.128/26\",\r\n + \ \"52.146.136.64/26\",\r\n \"52.146.136.128/25\",\r\n \"52.147.113.0/26\",\r\n + \ \"52.162.107.192/26\",\r\n \"52.162.110.0/27\",\r\n \"52.167.106.192/27\",\r\n + \ \"52.167.107.0/26\",\r\n \"52.172.116.64/26\",\r\n \"52.182.139.64/27\",\r\n + \ \"52.182.139.128/26\",\r\n \"52.231.19.0/26\",\r\n \"52.231.19.64/27\",\r\n + \ \"52.231.147.32/27\",\r\n \"52.231.147.64/26\",\r\n \"52.236.187.0/27\",\r\n + \ \"52.236.187.128/25\",\r\n \"52.246.155.0/27\",\r\n \"52.246.155.64/26\",\r\n + \ \"65.52.251.0/26\",\r\n \"65.52.251.64/27\",\r\n \"102.37.81.0/26\",\r\n + \ \"102.37.160.192/26\",\r\n \"102.133.27.64/26\",\r\n \"102.133.27.128/27\",\r\n + \ \"102.133.123.96/27\",\r\n \"102.133.155.64/26\",\r\n \"102.133.155.128/27\",\r\n + \ \"102.133.251.0/27\",\r\n \"104.46.183.64/26\",\r\n \"104.211.82.0/26\",\r\n + \ \"104.211.82.64/27\",\r\n \"104.211.147.0/26\",\r\n \"104.211.147.64/27\",\r\n + \ \"104.214.19.96/27\",\r\n \"104.214.19.128/26\",\r\n \"191.233.50.224/27\",\r\n + \ \"191.233.51.64/26\",\r\n \"191.233.204.0/26\",\r\n \"191.233.204.64/27\",\r\n + \ \"191.234.147.80/28\",\r\n \"191.234.147.128/26\",\r\n + \ \"191.234.149.160/27\",\r\n \"191.234.155.80/28\",\r\n + \ \"191.234.155.128/26\",\r\n \"191.234.157.64/27\",\r\n + \ \"191.238.72.0/26\",\r\n \"2603:1000:4:402::200/121\",\r\n + \ \"2603:1000:104:402::200/121\",\r\n \"2603:1000:104:802::180/121\",\r\n + \ \"2603:1000:104:c02::180/121\",\r\n \"2603:1010:6:402::200/121\",\r\n + \ \"2603:1010:6:802::180/121\",\r\n \"2603:1010:6:c02::180/121\",\r\n + \ \"2603:1010:101:402::200/121\",\r\n \"2603:1010:304:402::200/121\",\r\n + \ \"2603:1010:404:402::200/121\",\r\n \"2603:1020:5:402::200/121\",\r\n + \ \"2603:1020:5:802::180/121\",\r\n \"2603:1020:5:c02::180/121\",\r\n + \ \"2603:1020:206:402::200/121\",\r\n \"2603:1020:206:802::180/121\",\r\n + \ \"2603:1020:206:c02::180/121\",\r\n \"2603:1020:305:402::200/121\",\r\n + \ \"2603:1020:405:402::200/121\",\r\n \"2603:1020:605:402::200/121\",\r\n + \ \"2603:1020:705:402::200/121\",\r\n \"2603:1020:705:802::180/121\",\r\n + \ \"2603:1020:705:c02::180/121\",\r\n \"2603:1020:805:402::200/121\",\r\n + \ \"2603:1020:805:802::180/121\",\r\n \"2603:1020:805:c02::180/121\",\r\n + \ \"2603:1020:905:402::200/121\",\r\n \"2603:1020:a04:402::200/121\",\r\n + \ \"2603:1020:a04:802::180/121\",\r\n \"2603:1020:a04:c02::180/121\",\r\n + \ \"2603:1020:b04:402::200/121\",\r\n \"2603:1020:c04:402::200/121\",\r\n + \ \"2603:1020:c04:802::180/121\",\r\n \"2603:1020:c04:c02::180/121\",\r\n + \ \"2603:1020:d04:402::200/121\",\r\n \"2603:1020:e04:3::200/121\",\r\n + \ \"2603:1020:e04:402::200/121\",\r\n \"2603:1020:e04:802::180/121\",\r\n + \ \"2603:1020:e04:c02::180/121\",\r\n \"2603:1020:f04:402::200/121\",\r\n + \ \"2603:1020:1004:1::780/121\",\r\n \"2603:1020:1004:400::100/121\",\r\n + \ \"2603:1020:1004:400::300/121\",\r\n \"2603:1020:1004:c02::200/121\",\r\n + \ \"2603:1020:1104:1::400/121\",\r\n \"2603:1020:1104:400::200/121\",\r\n + \ \"2603:1030:f:2::580/121\",\r\n \"2603:1030:f:400::a00/121\",\r\n + \ \"2603:1030:10:402::200/121\",\r\n \"2603:1030:10:802::180/121\",\r\n + \ \"2603:1030:10:c02::180/121\",\r\n \"2603:1030:104:402::200/121\",\r\n + \ \"2603:1030:107:400::180/121\",\r\n \"2603:1030:210:402::200/121\",\r\n + \ \"2603:1030:210:802::180/121\",\r\n \"2603:1030:210:c02::180/121\",\r\n + \ \"2603:1030:40b:400::a00/121\",\r\n \"2603:1030:40b:800::180/121\",\r\n + \ \"2603:1030:40b:c00::180/121\",\r\n \"2603:1030:40c:402::200/121\",\r\n + \ \"2603:1030:40c:802::180/121\",\r\n \"2603:1030:40c:c02::180/121\",\r\n + \ \"2603:1030:504:2::100/121\",\r\n \"2603:1030:504:402::100/121\",\r\n + \ \"2603:1030:504:402::300/121\",\r\n \"2603:1030:504:802::280/121\",\r\n + \ \"2603:1030:504:c02::200/121\",\r\n \"2603:1030:608:402::200/121\",\r\n + \ \"2603:1030:807:402::200/121\",\r\n \"2603:1030:807:802::180/121\",\r\n + \ \"2603:1030:807:c02::180/121\",\r\n \"2603:1030:a07:402::180/121\",\r\n + \ \"2603:1030:b04:402::200/121\",\r\n \"2603:1030:c06:400::a00/121\",\r\n + \ \"2603:1030:c06:802::180/121\",\r\n \"2603:1030:c06:c02::180/121\",\r\n + \ \"2603:1030:f05:402::200/121\",\r\n \"2603:1030:f05:802::180/121\",\r\n + \ \"2603:1030:f05:c02::180/121\",\r\n \"2603:1030:1005:402::200/121\",\r\n + \ \"2603:1040:5:402::200/121\",\r\n \"2603:1040:5:802::180/121\",\r\n + \ \"2603:1040:5:c02::180/121\",\r\n \"2603:1040:207:402::200/121\",\r\n + \ \"2603:1040:407:402::200/121\",\r\n \"2603:1040:407:802::180/121\",\r\n + \ \"2603:1040:407:c02::180/121\",\r\n \"2603:1040:606:402::200/121\",\r\n + \ \"2603:1040:806:402::200/121\",\r\n \"2603:1040:904:402::200/121\",\r\n + \ \"2603:1040:904:802::180/121\",\r\n \"2603:1040:904:c02::180/121\",\r\n + \ \"2603:1040:a06:2::300/121\",\r\n \"2603:1040:a06:402::200/121\",\r\n + \ \"2603:1040:a06:802::180/121\",\r\n \"2603:1040:a06:c02::180/121\",\r\n + \ \"2603:1040:b04:402::200/121\",\r\n \"2603:1040:c06:402::200/121\",\r\n + \ \"2603:1040:d04:1::780/121\",\r\n \"2603:1040:d04:400::100/121\",\r\n + \ \"2603:1040:d04:400::300/121\",\r\n \"2603:1040:d04:c02::200/121\",\r\n + \ \"2603:1040:f05:2::/121\",\r\n \"2603:1040:f05:402::200/121\",\r\n + \ \"2603:1040:f05:802::180/121\",\r\n \"2603:1040:f05:c02::180/121\",\r\n + \ \"2603:1040:1104:1::480/121\",\r\n \"2603:1040:1104:400::200/121\",\r\n + \ \"2603:1050:6:402::200/121\",\r\n \"2603:1050:6:802::180/121\",\r\n + \ \"2603:1050:6:c02::180/121\",\r\n \"2603:1050:403:400::500/121\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureBackup.AustraliaCentral2\",\r\n + \ \"id\": \"AzureBackup.AustraliaCentral2\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"australiacentral2\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n + \ ],\r\n \"systemService\": \"AzureBackup\",\r\n \"addressPrefixes\": + [\r\n \"20.36.114.224/27\",\r\n \"20.36.115.0/26\",\r\n + \ \"20.53.56.192/26\",\r\n \"2603:1010:404:402::200/121\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureBackup.BrazilSoutheast\",\r\n + \ \"id\": \"AzureBackup.BrazilSoutheast\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"brazilse\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"AzureBackup\",\r\n \"addressPrefixes\": [\r\n \"20.195.146.128/26\",\r\n + \ \"191.233.50.224/27\",\r\n \"191.233.51.64/26\",\r\n \"2603:1050:403:400::500/121\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureBackup.EastUS\",\r\n + \ \"id\": \"AzureBackup.EastUS\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"eastus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"AzureBackup\",\r\n \"addressPrefixes\": [\r\n \"20.62.133.128/25\",\r\n + \ \"20.62.134.0/26\",\r\n \"40.71.12.0/25\",\r\n \"40.71.12.128/26\",\r\n + \ \"40.78.227.64/26\",\r\n \"40.78.227.128/25\",\r\n \"40.79.155.64/26\",\r\n + \ \"40.79.155.128/25\",\r\n \"2603:1030:210:402::200/121\",\r\n + \ \"2603:1030:210:802::180/121\",\r\n \"2603:1030:210:c02::180/121\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureBackup.KoreaCentral\",\r\n + \ \"id\": \"AzureBackup.KoreaCentral\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"koreacentral\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"AzureBackup\",\r\n \"addressPrefixes\": [\r\n \"20.44.27.128/27\",\r\n + \ \"20.194.66.192/26\",\r\n \"20.194.67.0/27\",\r\n \"20.194.74.0/26\",\r\n + \ \"52.231.19.0/26\",\r\n \"52.231.19.64/27\",\r\n \"2603:1040:f05:2::/121\",\r\n + \ \"2603:1040:f05:402::200/121\",\r\n \"2603:1040:f05:802::180/121\",\r\n + \ \"2603:1040:f05:c02::180/121\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureBackup.NorthCentralUS\",\r\n \"id\": + \"AzureBackup.NorthCentralUS\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\": + \"northcentralus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"AzureBackup\",\r\n \"addressPrefixes\": [\r\n \"20.51.0.0/26\",\r\n + \ \"52.162.107.192/26\",\r\n \"52.162.110.0/27\",\r\n \"2603:1030:608:402::200/121\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureBackup.NorthEurope\",\r\n + \ \"id\": \"AzureBackup.NorthEurope\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"northeurope\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"AzureBackup\",\r\n \"addressPrefixes\": [\r\n \"13.69.228.128/25\",\r\n + \ \"13.69.229.0/27\",\r\n \"13.74.107.192/27\",\r\n \"13.74.108.0/25\",\r\n + \ \"52.138.226.192/27\",\r\n \"52.138.227.0/25\",\r\n \"52.146.136.64/26\",\r\n + \ \"52.146.136.128/25\",\r\n \"2603:1020:5:402::200/121\",\r\n + \ \"2603:1020:5:802::180/121\",\r\n \"2603:1020:5:c02::180/121\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureBackup.UKNorth\",\r\n + \ \"id\": \"AzureBackup.UKNorth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"uknorth\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"AzureBackup\",\r\n \"addressPrefixes\": [\r\n \"13.87.123.0/26\",\r\n + \ \"13.87.123.64/27\",\r\n \"2603:1020:305:402::200/121\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureBackup.UKSouth2\",\r\n + \ \"id\": \"AzureBackup.UKSouth2\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"uksouth2\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"AzureBackup\",\r\n \"addressPrefixes\": [\r\n \"13.87.57.0/26\",\r\n + \ \"13.87.57.64/27\",\r\n \"2603:1020:405:402::200/121\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureBackup.WestUS2\",\r\n + \ \"id\": \"AzureBackup.WestUS2\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"westus2\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"AzureBackup\",\r\n \"addressPrefixes\": [\r\n \"13.66.140.192/26\",\r\n + \ \"13.66.141.0/27\",\r\n \"20.51.12.128/26\",\r\n \"40.78.243.32/27\",\r\n + \ \"40.78.243.64/26\",\r\n \"40.78.250.224/27\",\r\n \"40.78.251.0/26\",\r\n + \ \"2603:1030:c06:400::a00/121\",\r\n \"2603:1030:c06:802::180/121\",\r\n + \ \"2603:1030:c06:c02::180/121\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureBotService\",\r\n \"id\": \"AzureBotService\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureBotService\",\r\n \"addressPrefixes\": + [\r\n \"13.66.142.64/30\",\r\n \"13.67.10.88/30\",\r\n \"13.69.67.56/30\",\r\n + \ \"13.69.227.252/30\",\r\n \"13.70.74.112/30\",\r\n \"13.71.173.240/30\",\r\n + \ \"13.71.196.160/30\",\r\n \"13.73.248.0/30\",\r\n \"13.75.39.72/30\",\r\n + \ \"13.77.53.80/30\",\r\n \"13.78.108.172/30\",\r\n \"13.86.219.168/30\",\r\n + \ \"13.87.58.40/30\",\r\n \"13.87.124.40/30\",\r\n \"13.89.171.116/30\",\r\n + \ \"20.36.108.112/30\",\r\n \"20.36.115.240/30\",\r\n \"20.36.120.64/30\",\r\n + \ \"20.37.64.64/30\",\r\n \"20.37.76.104/30\",\r\n \"20.37.152.64/30\",\r\n + \ \"20.37.192.64/30\",\r\n \"20.37.224.64/30\",\r\n \"20.38.80.64/30\",\r\n + \ \"20.38.128.72/30\",\r\n \"20.38.136.64/30\",\r\n \"20.39.8.64/30\",\r\n + \ \"20.41.0.64/30\",\r\n \"20.41.64.64/30\",\r\n \"20.41.192.64/30\",\r\n + \ \"20.42.0.64/30\",\r\n \"20.42.128.64/30\",\r\n \"20.42.224.64/30\",\r\n + \ \"20.43.40.64/30\",\r\n \"20.43.64.64/30\",\r\n \"20.43.121.8/30\",\r\n + \ \"20.43.128.64/30\",\r\n \"20.44.4.72/30\",\r\n \"20.44.17.24/30\",\r\n + \ \"20.44.27.208/30\",\r\n \"20.45.112.64/30\",\r\n \"20.45.123.112/30\",\r\n + \ \"20.45.192.64/30\",\r\n \"20.72.16.16/30\",\r\n \"20.150.160.120/30\",\r\n + \ \"20.189.104.64/30\",\r\n \"20.192.160.16/30\",\r\n \"20.192.224.64/26\",\r\n + \ \"40.67.48.64/30\",\r\n \"40.67.58.4/30\",\r\n \"40.69.108.56/30\",\r\n + \ \"40.71.12.244/30\",\r\n \"40.74.24.64/30\",\r\n \"40.74.147.168/30\",\r\n + \ \"40.78.196.56/30\",\r\n \"40.78.202.132/30\",\r\n \"40.79.132.56/30\",\r\n + \ \"40.79.180.24/30\",\r\n \"40.80.56.64/30\",\r\n \"40.80.168.64/30\",\r\n + \ \"40.80.176.32/30\",\r\n \"40.80.184.64/30\",\r\n \"40.82.248.64/30\",\r\n + \ \"40.89.16.64/30\",\r\n \"51.12.40.64/26\",\r\n \"51.12.192.64/26\",\r\n + \ \"51.104.8.248/30\",\r\n \"51.104.24.64/30\",\r\n \"51.105.80.64/30\",\r\n + \ \"51.105.88.64/30\",\r\n \"51.107.48.64/30\",\r\n \"51.107.58.4/30\",\r\n + \ \"51.107.144.64/30\",\r\n \"51.107.154.4/30\",\r\n \"51.116.48.64/30\",\r\n + \ \"51.116.144.64/30\",\r\n \"51.120.40.64/30\",\r\n \"51.120.98.12/30\",\r\n + \ \"51.120.218.4/30\",\r\n \"51.120.224.64/30\",\r\n \"51.137.160.64/30\",\r\n + \ \"51.140.212.72/30\",\r\n \"51.143.192.64/30\",\r\n \"52.136.48.64/30\",\r\n + \ \"52.140.104.64/30\",\r\n \"52.150.136.64/30\",\r\n \"52.162.111.16/30\",\r\n + \ \"52.228.80.64/30\",\r\n \"52.231.148.88/30\",\r\n \"65.52.252.104/30\",\r\n + \ \"102.133.28.88/30\",\r\n \"102.133.56.64/30\",\r\n \"102.133.124.8/30\",\r\n + \ \"102.133.216.64/30\",\r\n \"191.233.8.16/30\",\r\n \"191.233.205.96/30\",\r\n + \ \"191.235.224.64/30\",\r\n \"2603:1000:4::20/123\",\r\n + \ \"2603:1000:104:1::20/123\",\r\n \"2603:1010:6:1::20/123\",\r\n + \ \"2603:1010:101::20/123\",\r\n \"2603:1010:304::20/123\",\r\n + \ \"2603:1010:404::20/123\",\r\n \"2603:1020:5:1::20/123\",\r\n + \ \"2603:1020:206:1::20/123\",\r\n \"2603:1020:305::20/123\",\r\n + \ \"2603:1020:405::20/123\",\r\n \"2603:1020:605::20/123\",\r\n + \ \"2603:1020:705:1::20/123\",\r\n \"2603:1020:805:1::20/123\",\r\n + \ \"2603:1020:905::20/123\",\r\n \"2603:1020:a04:1::20/123\",\r\n + \ \"2603:1020:b04::20/123\",\r\n \"2603:1020:c04:1::20/123\",\r\n + \ \"2603:1020:d04::20/123\",\r\n \"2603:1020:e04:1::20/123\",\r\n + \ \"2603:1020:f04::20/123\",\r\n \"2603:1020:1004::20/123\",\r\n + \ \"2603:1020:1104::20/123\",\r\n \"2603:1030:f:1::20/123\",\r\n + \ \"2603:1030:10:1::20/123\",\r\n \"2603:1030:104:1::20/123\",\r\n + \ \"2603:1030:107::20/123\",\r\n \"2603:1030:210:1::20/123\",\r\n + \ \"2603:1030:40b:1::20/123\",\r\n \"2603:1030:40c:1::20/123\",\r\n + \ \"2603:1030:504:1::20/123\",\r\n \"2603:1030:608::20/123\",\r\n + \ \"2603:1030:807:1::20/123\",\r\n \"2603:1030:a07::20/123\",\r\n + \ \"2603:1030:b04::20/123\",\r\n \"2603:1030:c06:1::20/123\",\r\n + \ \"2603:1030:f05:1::20/123\",\r\n \"2603:1030:1005::20/123\",\r\n + \ \"2603:1040:5:1::20/123\",\r\n \"2603:1040:207::20/123\",\r\n + \ \"2603:1040:407:1::20/123\",\r\n \"2603:1040:606::20/123\",\r\n + \ \"2603:1040:806::20/123\",\r\n \"2603:1040:904:1::20/123\",\r\n + \ \"2603:1040:a06:1::20/123\",\r\n \"2603:1040:b04::20/123\",\r\n + \ \"2603:1040:c06::20/123\",\r\n \"2603:1040:d04::20/123\",\r\n + \ \"2603:1040:f05:1::20/123\",\r\n \"2603:1040:1104::20/123\",\r\n + \ \"2603:1050:6:1::20/123\",\r\n \"2603:1050:403::20/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureBotService.AustraliaCentral2\",\r\n + \ \"id\": \"AzureBotService.AustraliaCentral2\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"australiacentral2\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n + \ ],\r\n \"systemService\": \"AzureBotService\",\r\n \"addressPrefixes\": + [\r\n \"20.36.115.240/30\",\r\n \"20.36.120.64/30\",\r\n + \ \"2603:1010:404::20/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureBotService.CentralUS\",\r\n \"id\": \"AzureBotService.CentralUS\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"1\",\r\n \"region\": \"centralus\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n + \ ],\r\n \"systemService\": \"AzureBotService\",\r\n \"addressPrefixes\": + [\r\n \"13.89.171.116/30\",\r\n \"20.37.152.64/30\",\r\n + \ \"2603:1030:10:1::20/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureBotService.CentralUSEUAP\",\r\n \"id\": + \"AzureBotService.CentralUSEUAP\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\": + \"centraluseuap\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"AzureBotService\",\r\n \"addressPrefixes\": [\r\n \"20.45.192.64/30\",\r\n + \ \"40.78.202.132/30\",\r\n \"2603:1030:f:1::20/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureBotService.EastUS\",\r\n + \ \"id\": \"AzureBotService.EastUS\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"eastus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"AzureBotService\",\r\n \"addressPrefixes\": [\r\n \"20.42.0.64/30\",\r\n + \ \"40.71.12.244/30\",\r\n \"2603:1030:210:1::20/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureBotService.GermanyNorth\",\r\n + \ \"id\": \"AzureBotService.GermanyNorth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"germanyn\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"AzureBotService\",\r\n \"addressPrefixes\": [\r\n \"51.116.48.64/30\",\r\n + \ \"2603:1020:d04::20/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureBotService.NorthEurope\",\r\n \"id\": + \"AzureBotService.NorthEurope\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"1\",\r\n \"region\": + \"northeurope\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"AzureBotService\",\r\n \"addressPrefixes\": [\r\n \"13.69.227.252/30\",\r\n + \ \"20.38.80.64/30\",\r\n \"2603:1020:5:1::20/123\"\r\n ]\r\n + \ }\r\n },\r\n {\r\n \"name\": \"AzureBotService.NorwayEast\",\r\n + \ \"id\": \"AzureBotService.NorwayEast\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"norwaye\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"AzureBotService\",\r\n \"addressPrefixes\": [\r\n \"51.120.40.64/30\",\r\n + \ \"51.120.98.12/30\",\r\n \"2603:1020:e04:1::20/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureBotService.SouthAfricaWest\",\r\n + \ \"id\": \"AzureBotService.SouthAfricaWest\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"southafricawest\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n + \ ],\r\n \"systemService\": \"AzureBotService\",\r\n \"addressPrefixes\": + [\r\n \"102.133.28.88/30\",\r\n \"102.133.56.64/30\",\r\n + \ \"2603:1000:4::20/123\"\r\n ]\r\n }\r\n },\r\n {\r\n + \ \"name\": \"AzureBotService.UKSouth\",\r\n \"id\": \"AzureBotService.UKSouth\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"1\",\r\n \"region\": \"uksouth\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n + \ ],\r\n \"systemService\": \"AzureBotService\",\r\n \"addressPrefixes\": + [\r\n \"51.104.8.248/30\",\r\n \"51.104.24.64/30\",\r\n + \ \"2603:1020:705:1::20/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureBotService.UKWest\",\r\n \"id\": \"AzureBotService.UKWest\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"ukwest\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n + \ ],\r\n \"systemService\": \"AzureBotService\",\r\n \"addressPrefixes\": + [\r\n \"51.137.160.64/30\",\r\n \"51.140.212.72/30\",\r\n + \ \"2603:1020:605::20/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureBotService.WestCentralUS\",\r\n \"id\": + \"AzureBotService.WestCentralUS\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\": + \"westcentralus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"AzureBotService\",\r\n \"addressPrefixes\": [\r\n \"13.71.196.160/30\",\r\n + \ \"52.150.136.64/30\",\r\n \"2603:1030:b04::20/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureBotService.WestEurope\",\r\n + \ \"id\": \"AzureBotService.WestEurope\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"westeurope\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"AzureBotService\",\r\n \"addressPrefixes\": [\r\n \"13.69.67.56/30\",\r\n + \ \"40.74.24.64/30\",\r\n \"2603:1020:206:1::20/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCloud\",\r\n + \ \"id\": \"AzureCloud\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"5\",\r\n \"region\": + \"\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n + \ \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"\",\r\n \"addressPrefixes\": [\r\n \"13.64.0.0/16\",\r\n + \ \"13.65.0.0/16\",\r\n \"13.66.0.0/17\",\r\n \"13.66.128.0/17\",\r\n + \ \"13.67.0.0/17\",\r\n \"13.67.128.0/20\",\r\n \"13.67.144.0/21\",\r\n + \ \"13.67.152.0/24\",\r\n \"13.67.153.0/28\",\r\n \"13.67.153.16/28\",\r\n + \ \"13.67.153.32/27\",\r\n \"13.67.153.64/26\",\r\n \"13.67.153.128/25\",\r\n + \ \"13.67.154.0/24\",\r\n \"13.67.155.0/24\",\r\n \"13.67.156.0/22\",\r\n + \ \"13.67.160.0/19\",\r\n \"13.67.192.0/18\",\r\n \"13.68.0.0/17\",\r\n + \ \"13.68.128.0/17\",\r\n \"13.69.0.0/17\",\r\n \"13.69.128.0/17\",\r\n + \ \"13.70.0.0/18\",\r\n \"13.70.64.0/18\",\r\n \"13.70.128.0/18\",\r\n + \ \"13.70.192.0/18\",\r\n \"13.71.0.0/18\",\r\n \"13.71.64.0/18\",\r\n + \ \"13.71.128.0/19\",\r\n \"13.71.160.0/19\",\r\n \"13.71.192.0/18\",\r\n + \ \"13.72.64.0/18\",\r\n \"13.72.192.0/19\",\r\n \"13.72.224.0/19\",\r\n + \ \"13.73.0.0/19\",\r\n \"13.73.32.0/19\",\r\n \"13.73.96.0/19\",\r\n + \ \"13.73.128.0/18\",\r\n \"13.73.192.0/20\",\r\n \"13.73.224.0/21\",\r\n + \ \"13.73.232.0/21\",\r\n \"13.73.240.0/20\",\r\n \"13.74.0.0/16\",\r\n + \ \"13.75.0.0/17\",\r\n \"13.75.128.0/17\",\r\n \"13.76.0.0/16\",\r\n + \ \"13.77.0.0/18\",\r\n \"13.77.64.0/18\",\r\n \"13.77.128.0/18\",\r\n + \ \"13.77.192.0/19\",\r\n \"13.78.0.0/17\",\r\n \"13.78.128.0/17\",\r\n + \ \"13.79.0.0/16\",\r\n \"13.80.0.0/15\",\r\n \"13.82.0.0/16\",\r\n + \ \"13.83.0.0/16\",\r\n \"13.84.0.0/15\",\r\n \"13.86.0.0/17\",\r\n + \ \"13.86.128.0/17\",\r\n \"13.87.0.0/18\",\r\n \"13.87.64.0/18\",\r\n + \ \"13.87.128.0/17\",\r\n \"13.88.0.0/17\",\r\n \"13.88.128.0/18\",\r\n + \ \"13.88.200.0/21\",\r\n \"13.88.208.0/20\",\r\n \"13.88.224.0/19\",\r\n + \ \"13.89.0.0/16\",\r\n \"13.90.0.0/16\",\r\n \"13.91.0.0/16\",\r\n + \ \"13.92.0.0/16\",\r\n \"13.93.0.0/17\",\r\n \"13.93.128.0/17\",\r\n + \ \"13.94.0.0/18\",\r\n \"13.94.64.0/18\",\r\n \"13.94.128.0/17\",\r\n + \ \"13.95.0.0/16\",\r\n \"13.104.129.0/26\",\r\n \"13.104.129.64/26\",\r\n + \ \"13.104.129.128/26\",\r\n \"13.104.129.192/26\",\r\n \"13.104.144.0/27\",\r\n + \ \"13.104.144.32/27\",\r\n \"13.104.144.64/27\",\r\n \"13.104.144.96/27\",\r\n + \ \"13.104.144.128/27\",\r\n \"13.104.144.160/27\",\r\n \"13.104.144.192/27\",\r\n + \ \"13.104.144.224/27\",\r\n \"13.104.145.0/26\",\r\n \"13.104.145.64/26\",\r\n + \ \"13.104.145.128/27\",\r\n \"13.104.145.160/27\",\r\n \"13.104.145.192/26\",\r\n + \ \"13.104.146.0/26\",\r\n \"13.104.146.64/26\",\r\n \"13.104.146.128/25\",\r\n + \ \"13.104.147.0/25\",\r\n \"13.104.147.128/25\",\r\n \"13.104.148.0/25\",\r\n + \ \"13.104.148.128/25\",\r\n \"13.104.149.0/26\",\r\n \"13.104.149.64/26\",\r\n + \ \"13.104.149.128/25\",\r\n \"13.104.150.0/25\",\r\n \"13.104.150.128/26\",\r\n + \ \"13.104.150.192/26\",\r\n \"13.104.151.0/26\",\r\n \"13.104.151.64/26\",\r\n + \ \"13.104.151.128/26\",\r\n \"13.104.151.192/26\",\r\n \"13.104.152.0/25\",\r\n + \ \"13.104.152.128/25\",\r\n \"13.104.153.0/27\",\r\n \"13.104.153.32/28\",\r\n + \ \"13.104.153.48/28\",\r\n \"13.104.153.64/27\",\r\n \"13.104.153.96/27\",\r\n + \ \"13.104.153.128/26\",\r\n \"13.104.153.192/26\",\r\n \"13.104.154.0/25\",\r\n + \ \"13.104.154.128/25\",\r\n \"13.104.155.0/27\",\r\n \"13.104.155.32/27\",\r\n + \ \"13.104.155.64/26\",\r\n \"13.104.155.128/26\",\r\n \"13.104.155.192/26\",\r\n + \ \"13.104.156.0/24\",\r\n \"13.104.157.0/25\",\r\n \"13.104.157.128/25\",\r\n + \ \"13.104.158.0/28\",\r\n \"13.104.158.16/28\",\r\n \"13.104.158.32/27\",\r\n + \ \"13.104.158.64/26\",\r\n \"13.104.158.128/27\",\r\n \"13.104.158.160/28\",\r\n + \ \"13.104.158.176/28\",\r\n \"13.104.158.192/27\",\r\n \"13.104.158.224/27\",\r\n + \ \"13.104.159.0/25\",\r\n \"13.104.159.128/26\",\r\n \"13.104.159.192/26\",\r\n + \ \"13.104.192.0/21\",\r\n \"13.104.208.0/26\",\r\n \"13.104.208.64/27\",\r\n + \ \"13.104.208.96/27\",\r\n \"13.104.208.128/27\",\r\n \"13.104.208.160/28\",\r\n + \ \"13.104.208.176/28\",\r\n \"13.104.208.192/26\",\r\n \"13.104.209.0/24\",\r\n + \ \"13.104.210.0/24\",\r\n \"13.104.211.0/25\",\r\n \"13.104.211.128/26\",\r\n + \ \"13.104.211.192/26\",\r\n \"13.104.212.0/26\",\r\n \"13.104.212.64/26\",\r\n + \ \"13.104.212.128/26\",\r\n \"13.104.212.192/26\",\r\n \"13.104.213.0/25\",\r\n + \ \"13.104.213.128/25\",\r\n \"13.104.214.0/25\",\r\n \"13.104.214.128/25\",\r\n + \ \"13.104.215.0/25\",\r\n \"13.104.215.128/25\",\r\n \"13.104.216.0/24\",\r\n + \ \"13.104.217.0/25\",\r\n \"13.104.217.128/25\",\r\n \"13.104.218.0/25\",\r\n + \ \"13.104.218.128/25\",\r\n \"13.104.219.0/25\",\r\n \"13.104.219.128/25\",\r\n + \ \"13.104.220.0/25\",\r\n \"13.104.220.128/25\",\r\n \"13.104.221.0/24\",\r\n + \ \"13.104.222.0/24\",\r\n \"13.104.223.0/25\",\r\n \"13.104.223.128/26\",\r\n + \ \"13.104.223.192/26\",\r\n \"13.105.14.0/25\",\r\n \"13.105.14.128/26\",\r\n + \ \"13.105.14.192/26\",\r\n \"13.105.16.0/25\",\r\n \"13.105.16.192/26\",\r\n + \ \"13.105.17.0/26\",\r\n \"13.105.17.64/26\",\r\n \"13.105.17.128/26\",\r\n + \ \"13.105.17.192/26\",\r\n \"13.105.18.0/26\",\r\n \"13.105.18.64/26\",\r\n + \ \"13.105.18.160/27\",\r\n \"13.105.18.192/26\",\r\n \"13.105.19.0/25\",\r\n + \ \"13.105.19.128/25\",\r\n \"13.105.20.0/25\",\r\n \"13.105.20.128/26\",\r\n + \ \"13.105.20.192/26\",\r\n \"13.105.21.0/24\",\r\n \"13.105.22.0/24\",\r\n + \ \"13.105.23.0/26\",\r\n \"13.105.23.64/26\",\r\n \"13.105.23.128/25\",\r\n + \ \"13.105.24.0/24\",\r\n \"13.105.25.0/24\",\r\n \"13.105.26.0/24\",\r\n + \ \"13.105.27.0/25\",\r\n \"13.105.27.128/27\",\r\n \"13.105.27.160/27\",\r\n + \ \"13.105.27.192/27\",\r\n \"13.105.27.224/27\",\r\n \"13.105.28.0/28\",\r\n + \ \"13.105.28.16/28\",\r\n \"13.105.28.32/28\",\r\n \"13.105.28.48/28\",\r\n + \ \"13.105.28.128/25\",\r\n \"13.105.29.0/25\",\r\n \"13.105.29.128/25\",\r\n + \ \"13.105.36.0/27\",\r\n \"13.105.36.32/28\",\r\n \"13.105.36.48/28\",\r\n + \ \"13.105.36.64/27\",\r\n \"13.105.36.96/27\",\r\n \"13.105.36.128/26\",\r\n + \ \"13.105.36.192/26\",\r\n \"13.105.37.0/26\",\r\n \"13.105.37.64/26\",\r\n + \ \"13.105.37.128/26\",\r\n \"13.105.37.192/26\",\r\n \"13.105.52.0/27\",\r\n + \ \"13.105.52.32/27\",\r\n \"13.105.52.64/28\",\r\n \"13.105.52.80/28\",\r\n + \ \"13.105.52.96/27\",\r\n \"13.105.52.128/26\",\r\n \"13.105.52.192/26\",\r\n + \ \"13.105.53.0/25\",\r\n \"13.105.53.128/26\",\r\n \"13.105.53.192/26\",\r\n + \ \"13.105.60.0/27\",\r\n \"13.105.60.32/28\",\r\n \"13.105.60.48/28\",\r\n + \ \"13.105.60.64/27\",\r\n \"13.105.60.96/27\",\r\n \"13.105.60.128/27\",\r\n + \ \"13.105.60.160/27\",\r\n \"13.105.60.192/26\",\r\n \"13.105.61.0/28\",\r\n + \ \"13.105.61.16/28\",\r\n \"13.105.61.32/27\",\r\n \"13.105.61.64/26\",\r\n + \ \"13.105.61.128/25\",\r\n \"13.105.66.0/27\",\r\n \"13.105.66.64/26\",\r\n + \ \"13.105.66.144/28\",\r\n \"13.105.66.192/26\",\r\n \"13.105.67.0/25\",\r\n + \ \"13.105.67.128/25\",\r\n \"13.105.74.48/28\",\r\n \"13.105.74.96/27\",\r\n + \ \"13.105.74.128/26\",\r\n \"13.105.74.192/26\",\r\n \"13.105.75.0/27\",\r\n + \ \"13.105.75.32/28\",\r\n \"13.105.75.64/27\",\r\n \"13.105.96.64/27\",\r\n + \ \"13.105.96.96/28\",\r\n \"13.105.96.112/28\",\r\n \"13.105.96.128/25\",\r\n + \ \"13.105.97.0/27\",\r\n \"13.105.97.32/27\",\r\n \"13.105.97.64/27\",\r\n + \ \"13.105.97.96/27\",\r\n \"13.105.97.128/25\",\r\n \"20.36.0.0/19\",\r\n + \ \"20.36.32.0/19\",\r\n \"20.36.64.0/19\",\r\n \"20.36.96.0/21\",\r\n + \ \"20.36.104.0/21\",\r\n \"20.36.112.0/20\",\r\n \"20.36.128.0/17\",\r\n + \ \"20.37.0.0/18\",\r\n \"20.37.64.0/19\",\r\n \"20.37.96.0/19\",\r\n + \ \"20.37.128.0/18\",\r\n \"20.37.192.0/19\",\r\n \"20.37.224.0/19\",\r\n + \ \"20.38.64.0/19\",\r\n \"20.38.96.0/23\",\r\n \"20.38.98.0/24\",\r\n + \ \"20.38.99.0/24\",\r\n \"20.38.100.0/23\",\r\n \"20.38.102.0/23\",\r\n + \ \"20.38.104.0/23\",\r\n \"20.38.106.0/23\",\r\n \"20.38.108.0/23\",\r\n + \ \"20.38.112.0/23\",\r\n \"20.38.114.0/25\",\r\n \"20.38.114.128/25\",\r\n + \ \"20.38.115.0/24\",\r\n \"20.38.116.0/23\",\r\n \"20.38.118.0/24\",\r\n + \ \"20.38.120.0/24\",\r\n \"20.38.121.0/25\",\r\n \"20.38.121.128/25\",\r\n + \ \"20.38.122.0/23\",\r\n \"20.38.124.0/23\",\r\n \"20.38.126.0/23\",\r\n + \ \"20.38.128.0/21\",\r\n \"20.38.136.0/21\",\r\n \"20.38.144.0/21\",\r\n + \ \"20.38.152.0/21\",\r\n \"20.38.184.0/22\",\r\n \"20.38.188.0/22\",\r\n + \ \"20.38.196.0/22\",\r\n \"20.38.200.0/22\",\r\n \"20.38.208.0/22\",\r\n + \ \"20.39.0.0/19\",\r\n \"20.39.32.0/19\",\r\n \"20.39.64.0/21\",\r\n + \ \"20.39.72.0/21\",\r\n \"20.39.80.0/20\",\r\n \"20.39.96.0/19\",\r\n + \ \"20.39.128.0/20\",\r\n \"20.39.144.0/20\",\r\n \"20.39.160.0/21\",\r\n + \ \"20.39.168.0/21\",\r\n \"20.39.176.0/21\",\r\n \"20.39.184.0/21\",\r\n + \ \"20.39.192.0/20\",\r\n \"20.39.208.0/20\",\r\n \"20.39.224.0/21\",\r\n + \ \"20.39.232.0/21\",\r\n \"20.39.240.0/20\",\r\n \"20.40.0.0/21\",\r\n + \ \"20.40.8.0/21\",\r\n \"20.40.16.0/21\",\r\n \"20.40.32.0/21\",\r\n + \ \"20.40.40.0/21\",\r\n \"20.40.48.0/20\",\r\n \"20.40.64.0/20\",\r\n + \ \"20.40.80.0/21\",\r\n \"20.40.88.0/21\",\r\n \"20.40.96.0/21\",\r\n + \ \"20.40.104.0/21\",\r\n \"20.40.112.0/21\",\r\n \"20.40.120.0/21\",\r\n + \ \"20.40.128.0/19\",\r\n \"20.40.160.0/20\",\r\n \"20.40.176.0/20\",\r\n + \ \"20.40.192.0/18\",\r\n \"20.41.0.0/18\",\r\n \"20.41.64.0/18\",\r\n + \ \"20.41.128.0/18\",\r\n \"20.41.192.0/18\",\r\n \"20.42.0.0/17\",\r\n + \ \"20.42.128.0/18\",\r\n \"20.42.192.0/19\",\r\n \"20.42.224.0/19\",\r\n + \ \"20.43.0.0/19\",\r\n \"20.43.32.0/19\",\r\n \"20.43.64.0/19\",\r\n + \ \"20.43.96.0/20\",\r\n \"20.43.120.0/21\",\r\n \"20.43.128.0/18\",\r\n + \ \"20.43.192.0/18\",\r\n \"20.44.8.0/21\",\r\n \"20.44.16.0/21\",\r\n + \ \"20.44.24.0/21\",\r\n \"20.44.32.0/19\",\r\n \"20.44.64.0/18\",\r\n + \ \"20.44.128.0/18\",\r\n \"20.44.192.0/18\",\r\n \"20.45.0.0/18\",\r\n + \ \"20.45.64.0/19\",\r\n \"20.45.120.0/21\",\r\n \"20.45.128.0/21\",\r\n + \ \"20.45.136.0/21\",\r\n \"20.45.144.0/20\",\r\n \"20.45.160.0/19\",\r\n + \ \"20.45.192.0/18\",\r\n \"20.46.0.0/19\",\r\n \"20.46.32.0/19\",\r\n + \ \"20.46.96.0/20\",\r\n \"20.46.112.0/20\",\r\n \"20.46.144.0/20\",\r\n + \ \"20.46.160.0/19\",\r\n \"20.46.192.0/21\",\r\n \"20.46.200.0/21\",\r\n + \ \"20.46.208.0/20\",\r\n \"20.46.224.0/19\",\r\n \"20.47.0.0/24\",\r\n + \ \"20.47.1.0/24\",\r\n \"20.47.2.0/24\",\r\n \"20.47.3.0/24\",\r\n + \ \"20.47.4.0/24\",\r\n \"20.47.5.0/24\",\r\n \"20.47.6.0/24\",\r\n + \ \"20.47.7.0/24\",\r\n \"20.47.8.0/24\",\r\n \"20.47.9.0/24\",\r\n + \ \"20.47.10.0/24\",\r\n \"20.47.11.0/24\",\r\n \"20.47.12.0/24\",\r\n + \ \"20.47.15.0/24\",\r\n \"20.47.16.0/23\",\r\n \"20.47.18.0/23\",\r\n + \ \"20.47.20.0/23\",\r\n \"20.47.22.0/23\",\r\n \"20.47.24.0/23\",\r\n + \ \"20.47.26.0/24\",\r\n \"20.47.27.0/24\",\r\n \"20.47.28.0/24\",\r\n + \ \"20.47.29.0/24\",\r\n \"20.47.30.0/24\",\r\n \"20.47.31.0/24\",\r\n + \ \"20.47.32.0/24\",\r\n \"20.47.33.0/24\",\r\n \"20.47.34.0/24\",\r\n + \ \"20.47.35.0/24\",\r\n \"20.47.36.0/24\",\r\n \"20.47.37.0/24\",\r\n + \ \"20.47.38.0/24\",\r\n \"20.47.39.0/24\",\r\n \"20.47.40.0/24\",\r\n + \ \"20.47.41.0/24\",\r\n \"20.47.42.0/24\",\r\n \"20.47.43.0/24\",\r\n + \ \"20.47.44.0/24\",\r\n \"20.47.45.0/24\",\r\n \"20.47.46.0/24\",\r\n + \ \"20.47.47.0/24\",\r\n \"20.47.48.0/24\",\r\n \"20.47.49.0/24\",\r\n + \ \"20.47.50.0/24\",\r\n \"20.47.51.0/24\",\r\n \"20.47.52.0/24\",\r\n + \ \"20.47.53.0/24\",\r\n \"20.47.54.0/24\",\r\n \"20.47.55.0/24\",\r\n + \ \"20.47.56.0/24\",\r\n \"20.47.57.0/24\",\r\n \"20.47.58.0/23\",\r\n + \ \"20.47.60.0/23\",\r\n \"20.47.62.0/23\",\r\n \"20.47.64.0/24\",\r\n + \ \"20.47.65.0/24\",\r\n \"20.47.66.0/24\",\r\n \"20.47.67.0/24\",\r\n + \ \"20.47.68.0/24\",\r\n \"20.47.69.0/24\",\r\n \"20.47.70.0/24\",\r\n + \ \"20.47.71.0/24\",\r\n \"20.47.72.0/23\",\r\n \"20.47.74.0/23\",\r\n + \ \"20.47.76.0/23\",\r\n \"20.47.78.0/23\",\r\n \"20.47.80.0/23\",\r\n + \ \"20.47.82.0/23\",\r\n \"20.47.84.0/23\",\r\n \"20.47.86.0/24\",\r\n + \ \"20.47.87.0/24\",\r\n \"20.47.88.0/24\",\r\n \"20.47.89.0/24\",\r\n + \ \"20.47.90.0/24\",\r\n \"20.47.91.0/24\",\r\n \"20.47.92.0/24\",\r\n + \ \"20.47.93.0/24\",\r\n \"20.47.94.0/24\",\r\n \"20.47.95.0/24\",\r\n + \ \"20.47.96.0/23\",\r\n \"20.47.98.0/24\",\r\n \"20.47.99.0/24\",\r\n + \ \"20.47.100.0/24\",\r\n \"20.47.101.0/24\",\r\n \"20.47.102.0/24\",\r\n + \ \"20.47.103.0/24\",\r\n \"20.47.104.0/24\",\r\n \"20.47.105.0/24\",\r\n + \ \"20.47.106.0/24\",\r\n \"20.47.107.0/24\",\r\n \"20.47.108.0/23\",\r\n + \ \"20.47.110.0/24\",\r\n \"20.47.111.0/24\",\r\n \"20.47.112.0/24\",\r\n + \ \"20.47.113.0/24\",\r\n \"20.47.114.0/24\",\r\n \"20.47.115.0/24\",\r\n + \ \"20.47.116.0/24\",\r\n \"20.47.117.0/24\",\r\n \"20.47.118.0/24\",\r\n + \ \"20.47.119.0/24\",\r\n \"20.47.120.0/23\",\r\n \"20.47.122.0/23\",\r\n + \ \"20.47.124.0/23\",\r\n \"20.47.126.0/23\",\r\n \"20.47.128.0/17\",\r\n + \ \"20.48.0.0/17\",\r\n \"20.48.128.0/18\",\r\n \"20.48.192.0/21\",\r\n + \ \"20.48.224.0/19\",\r\n \"20.49.0.0/18\",\r\n \"20.49.88.0/21\",\r\n + \ \"20.49.96.0/21\",\r\n \"20.49.104.0/21\",\r\n \"20.49.112.0/21\",\r\n + \ \"20.49.120.0/21\",\r\n \"20.49.128.0/17\",\r\n \"20.50.0.0/18\",\r\n + \ \"20.50.64.0/20\",\r\n \"20.50.80.0/21\",\r\n \"20.50.96.0/19\",\r\n + \ \"20.50.128.0/17\",\r\n \"20.51.0.0/21\",\r\n \"20.51.8.0/21\",\r\n + \ \"20.51.16.0/21\",\r\n \"20.51.24.0/21\",\r\n \"20.51.32.0/19\",\r\n + \ \"20.51.64.0/18\",\r\n \"20.51.128.0/17\",\r\n \"20.52.0.0/18\",\r\n + \ \"20.52.64.0/21\",\r\n \"20.52.72.0/21\",\r\n \"20.52.80.0/27\",\r\n + \ \"20.52.80.32/27\",\r\n \"20.52.80.64/27\",\r\n \"20.52.88.0/21\",\r\n + \ \"20.52.96.0/19\",\r\n \"20.52.128.0/17\",\r\n \"20.53.0.0/19\",\r\n + \ \"20.53.32.0/28\",\r\n \"20.53.40.0/21\",\r\n \"20.53.48.0/21\",\r\n + \ \"20.53.56.0/21\",\r\n \"20.53.64.0/18\",\r\n \"20.53.128.0/17\",\r\n + \ \"20.54.0.0/17\",\r\n \"20.54.128.0/17\",\r\n \"20.55.0.0/17\",\r\n + \ \"20.55.128.0/18\",\r\n \"20.55.192.0/18\",\r\n \"20.56.0.0/16\",\r\n + \ \"20.57.0.0/17\",\r\n \"20.57.128.0/18\",\r\n \"20.57.192.0/19\",\r\n + \ \"20.57.224.0/19\",\r\n \"20.58.0.0/18\",\r\n \"20.58.64.0/18\",\r\n + \ \"20.58.128.0/18\",\r\n \"20.58.192.0/18\",\r\n \"20.59.0.0/18\",\r\n + \ \"20.59.64.0/18\",\r\n \"20.59.128.0/18\",\r\n \"20.59.192.0/18\",\r\n + \ \"20.60.0.0/24\",\r\n \"20.60.1.0/24\",\r\n \"20.60.2.0/23\",\r\n + \ \"20.60.4.0/24\",\r\n \"20.60.6.0/23\",\r\n \"20.60.8.0/24\",\r\n + \ \"20.60.10.0/24\",\r\n \"20.60.11.0/24\",\r\n \"20.60.12.0/24\",\r\n + \ \"20.60.13.0/24\",\r\n \"20.60.15.0/24\",\r\n \"20.60.16.0/24\",\r\n + \ \"20.60.17.0/24\",\r\n \"20.60.18.0/24\",\r\n \"20.60.19.0/24\",\r\n + \ \"20.60.20.0/24\",\r\n \"20.60.21.0/24\",\r\n \"20.60.22.0/23\",\r\n + \ \"20.60.24.0/23\",\r\n \"20.60.26.0/23\",\r\n \"20.60.28.0/23\",\r\n + \ \"20.60.30.0/23\",\r\n \"20.60.32.0/23\",\r\n \"20.60.34.0/23\",\r\n + \ \"20.60.36.0/23\",\r\n \"20.60.40.0/23\",\r\n \"20.60.42.0/23\",\r\n + \ \"20.60.48.0/22\",\r\n \"20.60.52.0/23\",\r\n \"20.60.56.0/22\",\r\n + \ \"20.60.60.0/22\",\r\n \"20.60.64.0/22\",\r\n \"20.60.68.0/22\",\r\n + \ \"20.60.72.0/22\",\r\n \"20.60.80.0/23\",\r\n \"20.60.82.0/23\",\r\n + \ \"20.60.128.0/23\",\r\n \"20.60.130.0/24\",\r\n \"20.60.131.0/24\",\r\n + \ \"20.60.132.0/23\",\r\n \"20.60.134.0/23\",\r\n \"20.60.136.0/24\",\r\n + \ \"20.60.138.0/23\",\r\n \"20.60.140.0/23\",\r\n \"20.60.142.0/23\",\r\n + \ \"20.60.144.0/23\",\r\n \"20.60.146.0/23\",\r\n \"20.60.148.0/23\",\r\n + \ \"20.60.150.0/23\",\r\n \"20.60.152.0/23\",\r\n \"20.60.154.0/23\",\r\n + \ \"20.60.156.0/23\",\r\n \"20.60.160.0/23\",\r\n \"20.60.164.0/23\",\r\n + \ \"20.60.166.0/23\",\r\n \"20.60.168.0/23\",\r\n \"20.60.172.0/23\",\r\n + \ \"20.60.174.0/23\",\r\n \"20.60.176.0/23\",\r\n \"20.60.178.0/23\",\r\n + \ \"20.60.180.0/23\",\r\n \"20.60.182.0/23\",\r\n \"20.60.184.0/23\",\r\n + \ \"20.60.186.0/23\",\r\n \"20.60.188.0/23\",\r\n \"20.60.190.0/23\",\r\n + \ \"20.60.194.0/23\",\r\n \"20.60.196.0/23\",\r\n \"20.60.200.0/23\",\r\n + \ \"20.60.202.0/23\",\r\n \"20.60.204.0/23\",\r\n \"20.61.0.0/16\",\r\n + \ \"20.62.0.0/17\",\r\n \"20.62.128.0/17\",\r\n \"20.63.0.0/17\",\r\n + \ \"20.63.128.0/18\",\r\n \"20.63.192.0/18\",\r\n \"20.64.0.0/17\",\r\n + \ \"20.64.128.0/17\",\r\n \"20.65.0.0/17\",\r\n \"20.65.128.0/17\",\r\n + \ \"20.66.0.0/17\",\r\n \"20.66.128.0/17\",\r\n \"20.67.0.0/17\",\r\n + \ \"20.67.128.0/17\",\r\n \"20.68.0.0/18\",\r\n \"20.68.64.0/18\",\r\n + \ \"20.68.128.0/17\",\r\n \"20.69.0.0/18\",\r\n \"20.69.64.0/18\",\r\n + \ \"20.69.128.0/18\",\r\n \"20.69.192.0/18\",\r\n \"20.70.0.0/18\",\r\n + \ \"20.70.64.0/18\",\r\n \"20.70.128.0/17\",\r\n \"20.71.0.0/16\",\r\n + \ \"20.72.32.0/19\",\r\n \"20.72.64.0/18\",\r\n \"20.72.128.0/18\",\r\n + \ \"20.72.192.0/18\",\r\n \"20.73.0.0/16\",\r\n \"20.74.0.0/17\",\r\n + \ \"20.74.128.0/18\",\r\n \"20.75.0.0/17\",\r\n \"20.75.128.0/17\",\r\n + \ \"20.76.0.0/16\",\r\n \"20.77.0.0/17\",\r\n \"20.77.128.0/18\",\r\n + \ \"20.77.192.0/18\",\r\n \"20.78.0.0/17\",\r\n \"20.78.128.0/18\",\r\n + \ \"20.78.192.0/18\",\r\n \"20.79.0.0/17\",\r\n \"20.79.128.0/18\",\r\n + \ \"20.80.0.0/18\",\r\n \"20.80.64.0/18\",\r\n \"20.80.128.0/18\",\r\n + \ \"20.80.192.0/18\",\r\n \"20.81.0.0/17\",\r\n \"20.81.128.0/17\",\r\n + \ \"20.82.0.0/17\",\r\n \"20.82.128.0/17\",\r\n \"20.83.0.0/18\",\r\n + \ \"20.83.64.0/18\",\r\n \"20.83.128.0/18\",\r\n \"20.83.192.0/18\",\r\n + \ \"20.84.0.0/17\",\r\n \"20.84.128.0/17\",\r\n \"20.85.0.0/17\",\r\n + \ \"20.85.128.0/17\",\r\n \"20.86.0.0/17\",\r\n \"20.87.0.0/18\",\r\n + \ \"20.88.0.0/18\",\r\n \"20.88.96.0/19\",\r\n \"20.88.128.0/18\",\r\n + \ \"20.88.192.0/18\",\r\n \"20.89.0.0/17\",\r\n \"20.90.0.0/18\",\r\n + \ \"20.90.64.0/18\",\r\n \"20.92.0.0/18\",\r\n \"20.93.0.0/17\",\r\n + \ \"20.94.0.0/17\",\r\n \"20.94.128.0/18\",\r\n \"20.94.192.0/18\",\r\n + \ \"20.96.0.0/17\",\r\n \"20.135.0.0/22\",\r\n \"20.135.4.0/22\",\r\n + \ \"20.135.8.0/22\",\r\n \"20.135.12.0/22\",\r\n \"20.135.16.0/23\",\r\n + \ \"20.135.18.0/23\",\r\n \"20.135.20.0/22\",\r\n \"20.135.24.0/23\",\r\n + \ \"20.135.26.0/23\",\r\n \"20.135.28.0/23\",\r\n \"20.135.30.0/23\",\r\n + \ \"20.135.32.0/23\",\r\n \"20.135.36.0/23\",\r\n \"20.135.40.0/23\",\r\n + \ \"20.135.42.0/23\",\r\n \"20.135.44.0/23\",\r\n \"20.135.48.0/23\",\r\n + \ \"20.135.50.0/23\",\r\n \"20.135.52.0/23\",\r\n \"20.135.54.0/23\",\r\n + \ \"20.135.56.0/23\",\r\n \"20.135.58.0/23\",\r\n \"20.135.62.0/23\",\r\n + \ \"20.135.64.0/23\",\r\n \"20.135.66.0/23\",\r\n \"20.135.68.0/23\",\r\n + \ \"20.135.70.0/23\",\r\n \"20.135.72.0/23\",\r\n \"20.135.74.0/23\",\r\n + \ \"20.135.76.0/23\",\r\n \"20.135.78.0/23\",\r\n \"20.135.80.0/22\",\r\n + \ \"20.135.84.0/22\",\r\n \"20.135.88.0/23\",\r\n \"20.135.90.0/23\",\r\n + \ \"20.135.92.0/22\",\r\n \"20.135.102.0/23\",\r\n \"20.135.104.0/22\",\r\n + \ \"20.135.108.0/22\",\r\n \"20.135.112.0/23\",\r\n \"20.135.114.0/23\",\r\n + \ \"20.135.116.0/22\",\r\n \"20.135.120.0/21\",\r\n \"20.135.128.0/22\",\r\n + \ \"20.135.132.0/23\",\r\n \"20.135.134.0/23\",\r\n \"20.135.136.0/22\",\r\n + \ \"20.135.140.0/22\",\r\n \"20.135.144.0/23\",\r\n \"20.135.146.0/23\",\r\n + \ \"20.135.148.0/22\",\r\n \"20.135.152.0/22\",\r\n \"20.135.156.0/23\",\r\n + \ \"20.135.158.0/23\",\r\n \"20.135.160.0/22\",\r\n \"20.135.170.0/23\",\r\n + \ \"20.135.172.0/22\",\r\n \"20.135.176.0/22\",\r\n \"20.135.180.0/23\",\r\n + \ \"20.135.182.0/23\",\r\n \"20.135.184.0/22\",\r\n \"20.135.188.0/22\",\r\n + \ \"20.135.192.0/23\",\r\n \"20.135.194.0/23\",\r\n \"20.135.196.0/22\",\r\n + \ \"20.135.200.0/22\",\r\n \"20.135.204.0/23\",\r\n \"20.135.210.0/23\",\r\n + \ \"20.135.212.0/22\",\r\n \"20.135.216.0/22\",\r\n \"20.135.220.0/23\",\r\n + \ \"20.135.228.0/22\",\r\n \"20.135.232.0/23\",\r\n \"20.150.0.0/24\",\r\n + \ \"20.150.1.0/25\",\r\n \"20.150.1.128/25\",\r\n \"20.150.2.0/23\",\r\n + \ \"20.150.4.0/23\",\r\n \"20.150.6.0/23\",\r\n \"20.150.8.0/23\",\r\n + \ \"20.150.10.0/23\",\r\n \"20.150.12.0/23\",\r\n \"20.150.14.0/23\",\r\n + \ \"20.150.16.0/24\",\r\n \"20.150.17.0/25\",\r\n \"20.150.17.128/25\",\r\n + \ \"20.150.18.0/25\",\r\n \"20.150.18.128/25\",\r\n \"20.150.19.0/24\",\r\n + \ \"20.150.20.0/25\",\r\n \"20.150.20.128/25\",\r\n \"20.150.21.0/24\",\r\n + \ \"20.150.22.0/24\",\r\n \"20.150.23.0/24\",\r\n \"20.150.24.0/24\",\r\n + \ \"20.150.25.0/24\",\r\n \"20.150.26.0/24\",\r\n \"20.150.27.0/24\",\r\n + \ \"20.150.28.0/24\",\r\n \"20.150.29.0/24\",\r\n \"20.150.31.0/24\",\r\n + \ \"20.150.32.0/23\",\r\n \"20.150.34.0/23\",\r\n \"20.150.36.0/24\",\r\n + \ \"20.150.37.0/24\",\r\n \"20.150.38.0/23\",\r\n \"20.150.40.0/25\",\r\n + \ \"20.150.40.128/25\",\r\n \"20.150.41.0/24\",\r\n \"20.150.42.0/24\",\r\n + \ \"20.150.43.0/25\",\r\n \"20.150.43.128/25\",\r\n \"20.150.46.0/24\",\r\n + \ \"20.150.47.0/25\",\r\n \"20.150.47.128/25\",\r\n \"20.150.48.0/24\",\r\n + \ \"20.150.49.0/24\",\r\n \"20.150.50.0/23\",\r\n \"20.150.52.0/24\",\r\n + \ \"20.150.53.0/24\",\r\n \"20.150.54.0/24\",\r\n \"20.150.55.0/24\",\r\n + \ \"20.150.56.0/24\",\r\n \"20.150.58.0/24\",\r\n \"20.150.59.0/24\",\r\n + \ \"20.150.60.0/24\",\r\n \"20.150.61.0/24\",\r\n \"20.150.62.0/24\",\r\n + \ \"20.150.63.0/24\",\r\n \"20.150.66.0/24\",\r\n \"20.150.67.0/24\",\r\n + \ \"20.150.68.0/24\",\r\n \"20.150.69.0/24\",\r\n \"20.150.70.0/24\",\r\n + \ \"20.150.71.0/24\",\r\n \"20.150.72.0/24\",\r\n \"20.150.73.0/24\",\r\n + \ \"20.150.74.0/24\",\r\n \"20.150.75.0/24\",\r\n \"20.150.76.0/24\",\r\n + \ \"20.150.77.0/24\",\r\n \"20.150.78.0/24\",\r\n \"20.150.79.0/24\",\r\n + \ \"20.150.80.0/24\",\r\n \"20.150.81.0/24\",\r\n \"20.150.82.0/24\",\r\n + \ \"20.150.83.0/24\",\r\n \"20.150.84.0/24\",\r\n \"20.150.85.0/24\",\r\n + \ \"20.150.86.0/24\",\r\n \"20.150.87.0/24\",\r\n \"20.150.88.0/24\",\r\n + \ \"20.150.89.0/24\",\r\n \"20.150.90.0/24\",\r\n \"20.150.91.0/24\",\r\n + \ \"20.150.92.0/24\",\r\n \"20.150.93.0/24\",\r\n \"20.150.94.0/24\",\r\n + \ \"20.150.95.0/24\",\r\n \"20.150.96.0/24\",\r\n \"20.150.98.0/24\",\r\n + \ \"20.150.100.0/24\",\r\n \"20.150.101.0/24\",\r\n \"20.150.102.0/24\",\r\n + \ \"20.150.103.0/24\",\r\n \"20.150.104.0/24\",\r\n \"20.150.105.0/24\",\r\n + \ \"20.150.106.0/24\",\r\n \"20.150.107.0/24\",\r\n \"20.150.108.0/24\",\r\n + \ \"20.150.110.0/24\",\r\n \"20.150.111.0/24\",\r\n \"20.150.112.0/24\",\r\n + \ \"20.150.113.0/24\",\r\n \"20.150.114.0/24\",\r\n \"20.150.115.0/24\",\r\n + \ \"20.150.116.0/24\",\r\n \"20.150.117.0/24\",\r\n \"20.150.118.0/24\",\r\n + \ \"20.150.119.0/24\",\r\n \"20.150.121.0/24\",\r\n \"20.150.122.0/24\",\r\n + \ \"20.150.123.0/24\",\r\n \"20.150.124.0/24\",\r\n \"20.150.125.0/24\",\r\n + \ \"20.150.126.0/24\",\r\n \"20.150.127.0/24\",\r\n \"20.151.0.0/17\",\r\n + \ \"20.151.128.0/18\",\r\n \"20.157.0.0/24\",\r\n \"20.157.1.0/24\",\r\n + \ \"20.157.2.0/24\",\r\n \"20.157.3.0/24\",\r\n \"20.157.32.0/24\",\r\n + \ \"20.157.33.0/24\",\r\n \"20.157.34.0/23\",\r\n \"20.157.36.0/23\",\r\n + \ \"20.157.38.0/24\",\r\n \"20.157.39.0/24\",\r\n \"20.157.41.0/24\",\r\n + \ \"20.157.42.0/24\",\r\n \"20.157.43.0/24\",\r\n \"20.157.44.0/24\",\r\n + \ \"20.157.45.0/24\",\r\n \"20.157.46.0/24\",\r\n \"20.157.47.0/24\",\r\n + \ \"20.157.48.0/23\",\r\n \"20.157.50.0/23\",\r\n \"20.157.52.0/24\",\r\n + \ \"20.157.53.0/24\",\r\n \"20.157.54.0/24\",\r\n \"20.157.55.0/24\",\r\n + \ \"20.157.56.0/24\",\r\n \"20.157.57.0/24\",\r\n \"20.157.96.0/24\",\r\n + \ \"20.184.0.0/18\",\r\n \"20.184.64.0/18\",\r\n \"20.184.128.0/17\",\r\n + \ \"20.185.0.0/16\",\r\n \"20.186.0.0/17\",\r\n \"20.186.128.0/18\",\r\n + \ \"20.186.192.0/18\",\r\n \"20.187.0.0/18\",\r\n \"20.187.64.0/18\",\r\n + \ \"20.187.128.0/18\",\r\n \"20.187.192.0/21\",\r\n \"20.187.224.0/19\",\r\n + \ \"20.188.0.0/19\",\r\n \"20.188.32.0/19\",\r\n \"20.188.64.0/19\",\r\n + \ \"20.188.96.0/19\",\r\n \"20.188.128.0/17\",\r\n \"20.189.0.0/18\",\r\n + \ \"20.189.64.0/18\",\r\n \"20.189.128.0/18\",\r\n \"20.189.192.0/18\",\r\n + \ \"20.190.0.0/18\",\r\n \"20.190.64.0/19\",\r\n \"20.190.96.0/19\",\r\n + \ \"20.190.128.0/24\",\r\n \"20.190.129.0/24\",\r\n \"20.190.130.0/24\",\r\n + \ \"20.190.131.0/24\",\r\n \"20.190.132.0/24\",\r\n \"20.190.133.0/24\",\r\n + \ \"20.190.134.0/24\",\r\n \"20.190.135.0/24\",\r\n \"20.190.136.0/24\",\r\n + \ \"20.190.137.0/24\",\r\n \"20.190.138.0/25\",\r\n \"20.190.138.128/25\",\r\n + \ \"20.190.139.0/25\",\r\n \"20.190.139.128/25\",\r\n \"20.190.140.0/25\",\r\n + \ \"20.190.140.128/25\",\r\n \"20.190.141.0/25\",\r\n \"20.190.141.128/25\",\r\n + \ \"20.190.142.0/25\",\r\n \"20.190.142.128/25\",\r\n \"20.190.143.0/25\",\r\n + \ \"20.190.143.128/25\",\r\n \"20.190.144.0/25\",\r\n \"20.190.144.128/25\",\r\n + \ \"20.190.145.0/25\",\r\n \"20.190.145.128/25\",\r\n \"20.190.146.0/25\",\r\n + \ \"20.190.146.128/25\",\r\n \"20.190.147.0/25\",\r\n \"20.190.147.128/25\",\r\n + \ \"20.190.148.0/25\",\r\n \"20.190.148.128/25\",\r\n \"20.190.149.0/24\",\r\n + \ \"20.190.150.0/24\",\r\n \"20.190.151.0/24\",\r\n \"20.190.152.0/24\",\r\n + \ \"20.190.153.0/24\",\r\n \"20.190.154.0/24\",\r\n \"20.190.155.0/24\",\r\n + \ \"20.190.156.0/24\",\r\n \"20.190.157.0/24\",\r\n \"20.190.158.0/24\",\r\n + \ \"20.190.159.0/24\",\r\n \"20.190.160.0/24\",\r\n \"20.190.161.0/24\",\r\n + \ \"20.190.162.0/24\",\r\n \"20.190.163.0/24\",\r\n \"20.190.164.0/24\",\r\n + \ \"20.190.165.0/24\",\r\n \"20.190.166.0/24\",\r\n \"20.190.167.0/24\",\r\n + \ \"20.190.168.0/24\",\r\n \"20.190.169.0/24\",\r\n \"20.190.170.0/24\",\r\n + \ \"20.190.171.0/24\",\r\n \"20.190.172.0/24\",\r\n \"20.190.173.0/24\",\r\n + \ \"20.190.174.0/24\",\r\n \"20.190.175.0/24\",\r\n \"20.190.176.0/24\",\r\n + \ \"20.190.177.0/24\",\r\n \"20.190.178.0/24\",\r\n \"20.190.179.0/24\",\r\n + \ \"20.190.180.0/24\",\r\n \"20.190.183.0/24\",\r\n \"20.190.184.0/24\",\r\n + \ \"20.190.185.0/24\",\r\n \"20.190.186.0/24\",\r\n \"20.190.187.0/24\",\r\n + \ \"20.190.188.0/24\",\r\n \"20.190.189.0/26\",\r\n \"20.190.189.64/26\",\r\n + \ \"20.190.189.128/26\",\r\n \"20.190.189.192/26\",\r\n \"20.190.190.0/26\",\r\n + \ \"20.190.190.64/26\",\r\n \"20.190.192.0/18\",\r\n \"20.191.0.0/18\",\r\n + \ \"20.191.64.0/18\",\r\n \"20.191.128.0/19\",\r\n \"20.191.160.0/19\",\r\n + \ \"20.191.192.0/18\",\r\n \"20.192.0.0/19\",\r\n \"20.192.40.0/21\",\r\n + \ \"20.192.64.0/19\",\r\n \"20.192.96.0/21\",\r\n \"20.192.128.0/19\",\r\n + \ \"20.192.184.0/21\",\r\n \"20.193.0.0/18\",\r\n \"20.193.64.0/19\",\r\n + \ \"20.193.96.0/19\",\r\n \"20.193.128.0/19\",\r\n \"20.193.224.0/19\",\r\n + \ \"20.194.0.0/18\",\r\n \"20.194.64.0/20\",\r\n \"20.194.80.0/21\",\r\n + \ \"20.194.96.0/19\",\r\n \"20.194.128.0/17\",\r\n \"20.195.0.0/18\",\r\n + \ \"20.195.64.0/21\",\r\n \"20.195.72.0/21\",\r\n \"20.195.80.0/21\",\r\n + \ \"20.195.96.0/19\",\r\n \"20.195.128.0/22\",\r\n \"20.195.136.0/21\",\r\n + \ \"20.195.144.0/21\",\r\n \"20.195.152.0/21\",\r\n \"20.195.160.0/19\",\r\n + \ \"20.195.192.0/18\",\r\n \"20.196.0.0/18\",\r\n \"20.196.64.0/18\",\r\n + \ \"20.196.128.0/17\",\r\n \"20.197.0.0/18\",\r\n \"20.197.64.0/18\",\r\n + \ \"20.197.128.0/17\",\r\n \"20.198.0.0/17\",\r\n \"20.198.128.0/17\",\r\n + \ \"20.199.0.0/17\",\r\n \"20.199.128.0/18\",\r\n \"20.199.192.0/18\",\r\n + \ \"20.200.0.0/18\",\r\n \"20.200.64.0/18\",\r\n \"20.200.128.0/18\",\r\n + \ \"20.200.192.0/18\",\r\n \"20.201.0.0/17\",\r\n \"20.203.0.0/18\",\r\n + \ \"23.96.0.0/17\",\r\n \"23.96.128.0/17\",\r\n \"23.97.48.0/20\",\r\n + \ \"23.97.64.0/19\",\r\n \"23.97.96.0/20\",\r\n \"23.97.112.0/25\",\r\n + \ \"23.97.112.128/28\",\r\n \"23.97.112.160/27\",\r\n \"23.97.112.192/27\",\r\n + \ \"23.97.112.224/27\",\r\n \"23.97.116.0/22\",\r\n \"23.97.120.0/21\",\r\n + \ \"23.97.128.0/17\",\r\n \"23.98.32.0/21\",\r\n \"23.98.40.0/22\",\r\n + \ \"23.98.44.0/24\",\r\n \"23.98.45.0/24\",\r\n \"23.98.46.0/24\",\r\n + \ \"23.98.47.0/24\",\r\n \"23.98.48.0/21\",\r\n \"23.98.56.0/24\",\r\n + \ \"23.98.57.64/26\",\r\n \"23.98.64.0/18\",\r\n \"23.98.128.0/17\",\r\n + \ \"23.99.0.0/18\",\r\n \"23.99.64.0/19\",\r\n \"23.99.96.0/19\",\r\n + \ \"23.99.128.0/17\",\r\n \"23.100.0.0/20\",\r\n \"23.100.16.0/20\",\r\n + \ \"23.100.32.0/20\",\r\n \"23.100.48.0/20\",\r\n \"23.100.64.0/21\",\r\n + \ \"23.100.72.0/21\",\r\n \"23.100.80.0/21\",\r\n \"23.100.88.0/21\",\r\n + \ \"23.100.96.0/21\",\r\n \"23.100.104.0/21\",\r\n \"23.100.112.0/21\",\r\n + \ \"23.100.120.0/21\",\r\n \"23.100.128.0/18\",\r\n \"23.100.224.0/20\",\r\n + \ \"23.100.240.0/20\",\r\n \"23.101.0.0/20\",\r\n \"23.101.16.0/20\",\r\n + \ \"23.101.32.0/21\",\r\n \"23.101.48.0/20\",\r\n \"23.101.64.0/20\",\r\n + \ \"23.101.80.0/21\",\r\n \"23.101.112.0/20\",\r\n \"23.101.128.0/20\",\r\n + \ \"23.101.144.0/20\",\r\n \"23.101.160.0/20\",\r\n \"23.101.176.0/20\",\r\n + \ \"23.101.192.0/20\",\r\n \"23.101.208.0/20\",\r\n \"23.101.224.0/19\",\r\n + \ \"23.102.0.0/18\",\r\n \"23.102.64.0/19\",\r\n \"23.102.96.0/19\",\r\n + \ \"23.102.128.0/18\",\r\n \"23.102.192.0/21\",\r\n \"23.102.200.0/23\",\r\n + \ \"23.102.202.0/24\",\r\n \"23.102.203.0/24\",\r\n \"23.102.204.0/22\",\r\n + \ \"23.102.208.0/20\",\r\n \"23.102.224.0/19\",\r\n \"23.103.64.32/27\",\r\n + \ \"23.103.64.64/27\",\r\n \"23.103.66.0/23\",\r\n \"40.64.64.0/18\",\r\n + \ \"40.64.128.0/21\",\r\n \"40.65.0.0/18\",\r\n \"40.65.64.0/18\",\r\n + \ \"40.65.128.0/18\",\r\n \"40.65.192.0/18\",\r\n \"40.66.32.0/19\",\r\n + \ \"40.66.120.0/21\",\r\n \"40.67.120.0/21\",\r\n \"40.67.128.0/19\",\r\n + \ \"40.67.160.0/19\",\r\n \"40.67.192.0/19\",\r\n \"40.67.224.0/19\",\r\n + \ \"40.68.0.0/16\",\r\n \"40.69.0.0/18\",\r\n \"40.69.64.0/19\",\r\n + \ \"40.69.96.0/19\",\r\n \"40.69.128.0/18\",\r\n \"40.69.192.0/19\",\r\n + \ \"40.70.0.0/18\",\r\n \"40.70.64.0/20\",\r\n \"40.70.80.0/21\",\r\n + \ \"40.70.88.0/28\",\r\n \"40.70.128.0/17\",\r\n \"40.71.0.0/16\",\r\n + \ \"40.74.0.0/18\",\r\n \"40.74.64.0/18\",\r\n \"40.74.128.0/20\",\r\n + \ \"40.74.144.0/20\",\r\n \"40.74.160.0/19\",\r\n \"40.74.192.0/18\",\r\n + \ \"40.75.0.0/19\",\r\n \"40.75.32.0/21\",\r\n \"40.75.64.0/18\",\r\n + \ \"40.75.128.0/17\",\r\n \"40.76.0.0/16\",\r\n \"40.77.0.0/17\",\r\n + \ \"40.77.128.0/25\",\r\n \"40.77.128.128/25\",\r\n \"40.77.129.0/24\",\r\n + \ \"40.77.130.0/25\",\r\n \"40.77.130.128/26\",\r\n \"40.77.130.192/26\",\r\n + \ \"40.77.131.0/25\",\r\n \"40.77.131.128/26\",\r\n \"40.77.131.192/27\",\r\n + \ \"40.77.131.224/28\",\r\n \"40.77.131.240/28\",\r\n \"40.77.132.0/24\",\r\n + \ \"40.77.133.0/24\",\r\n \"40.77.134.0/24\",\r\n \"40.77.135.0/24\",\r\n + \ \"40.77.136.0/28\",\r\n \"40.77.136.16/28\",\r\n \"40.77.136.32/28\",\r\n + \ \"40.77.136.48/28\",\r\n \"40.77.136.64/28\",\r\n \"40.77.136.80/28\",\r\n + \ \"40.77.136.96/28\",\r\n \"40.77.136.128/25\",\r\n \"40.77.137.0/25\",\r\n + \ \"40.77.137.128/26\",\r\n \"40.77.137.192/27\",\r\n \"40.77.138.0/25\",\r\n + \ \"40.77.138.128/25\",\r\n \"40.77.139.0/25\",\r\n \"40.77.139.128/25\",\r\n + \ \"40.77.160.0/27\",\r\n \"40.77.160.32/27\",\r\n \"40.77.160.64/26\",\r\n + \ \"40.77.160.128/25\",\r\n \"40.77.161.0/26\",\r\n \"40.77.161.64/26\",\r\n + \ \"40.77.161.128/25\",\r\n \"40.77.162.0/24\",\r\n \"40.77.163.0/24\",\r\n + \ \"40.77.164.0/24\",\r\n \"40.77.165.0/24\",\r\n \"40.77.166.0/25\",\r\n + \ \"40.77.166.128/28\",\r\n \"40.77.166.160/27\",\r\n \"40.77.166.192/26\",\r\n + \ \"40.77.167.0/24\",\r\n \"40.77.168.0/24\",\r\n \"40.77.169.0/24\",\r\n + \ \"40.77.170.0/24\",\r\n \"40.77.171.0/24\",\r\n \"40.77.172.0/24\",\r\n + \ \"40.77.173.0/24\",\r\n \"40.77.174.0/24\",\r\n \"40.77.175.0/27\",\r\n + \ \"40.77.175.32/27\",\r\n \"40.77.175.64/27\",\r\n \"40.77.175.96/27\",\r\n + \ \"40.77.175.128/27\",\r\n \"40.77.175.160/27\",\r\n \"40.77.175.192/27\",\r\n + \ \"40.77.175.240/28\",\r\n \"40.77.176.0/24\",\r\n \"40.77.177.0/24\",\r\n + \ \"40.77.178.0/23\",\r\n \"40.77.180.0/23\",\r\n \"40.77.182.0/28\",\r\n + \ \"40.77.182.16/28\",\r\n \"40.77.182.32/27\",\r\n \"40.77.182.64/27\",\r\n + \ \"40.77.182.96/27\",\r\n \"40.77.182.128/27\",\r\n \"40.77.182.160/27\",\r\n + \ \"40.77.182.192/26\",\r\n \"40.77.183.0/24\",\r\n \"40.77.184.0/25\",\r\n + \ \"40.77.184.128/25\",\r\n \"40.77.185.0/25\",\r\n \"40.77.185.128/25\",\r\n + \ \"40.77.186.0/23\",\r\n \"40.77.188.0/22\",\r\n \"40.77.192.0/22\",\r\n + \ \"40.77.196.0/24\",\r\n \"40.77.197.0/24\",\r\n \"40.77.198.0/26\",\r\n + \ \"40.77.198.64/26\",\r\n \"40.77.198.128/25\",\r\n \"40.77.199.0/25\",\r\n + \ \"40.77.199.128/26\",\r\n \"40.77.199.192/26\",\r\n \"40.77.200.0/25\",\r\n + \ \"40.77.200.128/25\",\r\n \"40.77.201.0/24\",\r\n \"40.77.202.0/24\",\r\n + \ \"40.77.224.0/28\",\r\n \"40.77.224.16/28\",\r\n \"40.77.224.32/27\",\r\n + \ \"40.77.224.64/27\",\r\n \"40.77.224.96/27\",\r\n \"40.77.224.128/25\",\r\n + \ \"40.77.225.0/24\",\r\n \"40.77.226.0/25\",\r\n \"40.77.226.128/25\",\r\n + \ \"40.77.227.0/24\",\r\n \"40.77.228.0/24\",\r\n \"40.77.229.0/24\",\r\n + \ \"40.77.230.0/24\",\r\n \"40.77.231.0/24\",\r\n \"40.77.232.0/25\",\r\n + \ \"40.77.232.128/25\",\r\n \"40.77.233.0/24\",\r\n \"40.77.234.0/25\",\r\n + \ \"40.77.234.128/27\",\r\n \"40.77.234.160/27\",\r\n \"40.77.234.192/27\",\r\n + \ \"40.77.234.224/27\",\r\n \"40.77.235.0/24\",\r\n \"40.77.236.0/27\",\r\n + \ \"40.77.236.32/27\",\r\n \"40.77.236.80/28\",\r\n \"40.77.236.96/27\",\r\n + \ \"40.77.236.128/27\",\r\n \"40.77.236.160/28\",\r\n \"40.77.236.176/28\",\r\n + \ \"40.77.236.192/28\",\r\n \"40.77.237.0/26\",\r\n \"40.77.237.64/26\",\r\n + \ \"40.77.237.128/25\",\r\n \"40.77.240.0/25\",\r\n \"40.77.240.128/25\",\r\n + \ \"40.77.241.0/24\",\r\n \"40.77.242.0/23\",\r\n \"40.77.245.0/24\",\r\n + \ \"40.77.246.0/24\",\r\n \"40.77.247.0/24\",\r\n \"40.77.248.0/25\",\r\n + \ \"40.77.248.128/25\",\r\n \"40.77.249.0/24\",\r\n \"40.77.250.0/24\",\r\n + \ \"40.77.251.0/24\",\r\n \"40.77.252.0/23\",\r\n \"40.77.254.0/26\",\r\n + \ \"40.77.254.128/25\",\r\n \"40.77.255.0/25\",\r\n \"40.77.255.128/26\",\r\n + \ \"40.77.255.192/26\",\r\n \"40.78.0.0/17\",\r\n \"40.78.128.0/18\",\r\n + \ \"40.78.192.0/21\",\r\n \"40.78.200.0/21\",\r\n \"40.78.208.0/28\",\r\n + \ \"40.78.208.16/28\",\r\n \"40.78.208.32/30\",\r\n \"40.78.208.48/28\",\r\n + \ \"40.78.208.64/28\",\r\n \"40.78.209.0/24\",\r\n \"40.78.210.0/24\",\r\n + \ \"40.78.211.0/24\",\r\n \"40.78.212.0/24\",\r\n \"40.78.214.0/24\",\r\n + \ \"40.78.216.0/24\",\r\n \"40.78.217.0/24\",\r\n \"40.78.218.0/24\",\r\n + \ \"40.78.219.0/24\",\r\n \"40.78.220.0/24\",\r\n \"40.78.221.0/24\",\r\n + \ \"40.78.222.0/24\",\r\n \"40.78.223.0/24\",\r\n \"40.78.224.0/21\",\r\n + \ \"40.78.232.0/21\",\r\n \"40.78.240.0/20\",\r\n \"40.79.0.0/21\",\r\n + \ \"40.79.8.0/27\",\r\n \"40.79.8.32/28\",\r\n \"40.79.8.64/27\",\r\n + \ \"40.79.8.96/28\",\r\n \"40.79.9.0/24\",\r\n \"40.79.16.0/20\",\r\n + \ \"40.79.32.0/20\",\r\n \"40.79.48.0/27\",\r\n \"40.79.48.32/28\",\r\n + \ \"40.79.49.0/24\",\r\n \"40.79.56.0/21\",\r\n \"40.79.64.0/20\",\r\n + \ \"40.79.80.0/21\",\r\n \"40.79.88.0/27\",\r\n \"40.79.88.32/28\",\r\n + \ \"40.79.89.0/24\",\r\n \"40.79.90.0/24\",\r\n \"40.79.91.0/28\",\r\n + \ \"40.79.92.0/24\",\r\n \"40.79.93.0/28\",\r\n \"40.79.94.0/24\",\r\n + \ \"40.79.95.0/28\",\r\n \"40.79.96.0/19\",\r\n \"40.79.128.0/20\",\r\n + \ \"40.79.144.0/21\",\r\n \"40.79.152.0/21\",\r\n \"40.79.160.0/20\",\r\n + \ \"40.79.176.0/21\",\r\n \"40.79.184.0/21\",\r\n \"40.79.192.0/21\",\r\n + \ \"40.79.201.0/24\",\r\n \"40.79.202.0/24\",\r\n \"40.79.203.0/24\",\r\n + \ \"40.79.204.0/27\",\r\n \"40.79.204.32/28\",\r\n \"40.79.204.64/27\",\r\n + \ \"40.79.204.192/26\",\r\n \"40.79.205.0/26\",\r\n \"40.79.205.192/27\",\r\n + \ \"40.79.205.224/28\",\r\n \"40.79.205.240/28\",\r\n \"40.79.206.0/27\",\r\n + \ \"40.79.206.32/27\",\r\n \"40.79.206.64/27\",\r\n \"40.79.206.96/27\",\r\n + \ \"40.79.206.128/27\",\r\n \"40.79.206.160/27\",\r\n \"40.79.206.192/27\",\r\n + \ \"40.79.206.224/27\",\r\n \"40.79.207.0/27\",\r\n \"40.79.207.32/27\",\r\n + \ \"40.79.207.64/28\",\r\n \"40.79.207.80/28\",\r\n \"40.79.207.96/27\",\r\n + \ \"40.79.207.128/25\",\r\n \"40.79.208.0/24\",\r\n \"40.79.209.0/24\",\r\n + \ \"40.79.210.0/24\",\r\n \"40.79.211.0/24\",\r\n \"40.79.212.0/24\",\r\n + \ \"40.79.213.0/24\",\r\n \"40.79.214.0/24\",\r\n \"40.79.215.0/24\",\r\n + \ \"40.79.216.0/24\",\r\n \"40.79.217.0/24\",\r\n \"40.79.218.0/24\",\r\n + \ \"40.79.219.0/24\",\r\n \"40.79.220.0/24\",\r\n \"40.79.221.0/24\",\r\n + \ \"40.79.222.0/24\",\r\n \"40.79.223.0/24\",\r\n \"40.79.232.0/21\",\r\n + \ \"40.79.240.0/20\",\r\n \"40.80.0.0/22\",\r\n \"40.80.4.0/22\",\r\n + \ \"40.80.12.0/22\",\r\n \"40.80.16.0/22\",\r\n \"40.80.20.0/22\",\r\n + \ \"40.80.24.0/22\",\r\n \"40.80.32.0/22\",\r\n \"40.80.36.0/22\",\r\n + \ \"40.80.40.0/22\",\r\n \"40.80.44.0/22\",\r\n \"40.80.48.0/21\",\r\n + \ \"40.80.56.0/21\",\r\n \"40.80.64.0/19\",\r\n \"40.80.96.0/20\",\r\n + \ \"40.80.144.0/21\",\r\n \"40.80.152.0/21\",\r\n \"40.80.160.0/24\",\r\n + \ \"40.80.168.0/21\",\r\n \"40.80.176.0/21\",\r\n \"40.80.184.0/21\",\r\n + \ \"40.80.192.0/19\",\r\n \"40.80.224.0/20\",\r\n \"40.80.240.0/20\",\r\n + \ \"40.81.0.0/20\",\r\n \"40.81.16.0/20\",\r\n \"40.81.32.0/20\",\r\n + \ \"40.81.48.0/20\",\r\n \"40.81.64.0/20\",\r\n \"40.81.80.0/20\",\r\n + \ \"40.81.96.0/20\",\r\n \"40.81.112.0/20\",\r\n \"40.81.128.0/19\",\r\n + \ \"40.81.160.0/20\",\r\n \"40.81.176.0/20\",\r\n \"40.81.192.0/19\",\r\n + \ \"40.81.224.0/19\",\r\n \"40.82.0.0/22\",\r\n \"40.82.4.0/22\",\r\n + \ \"40.82.16.0/22\",\r\n \"40.82.20.0/22\",\r\n \"40.82.24.0/22\",\r\n + \ \"40.82.28.0/22\",\r\n \"40.82.32.0/22\",\r\n \"40.82.36.0/22\",\r\n + \ \"40.82.44.0/22\",\r\n \"40.82.48.0/22\",\r\n \"40.82.60.0/22\",\r\n + \ \"40.82.64.0/22\",\r\n \"40.82.68.0/22\",\r\n \"40.82.72.0/22\",\r\n + \ \"40.82.84.0/22\",\r\n \"40.82.92.0/22\",\r\n \"40.82.96.0/22\",\r\n + \ \"40.82.100.0/22\",\r\n \"40.82.116.0/22\",\r\n \"40.82.120.0/22\",\r\n + \ \"40.82.128.0/19\",\r\n \"40.82.160.0/19\",\r\n \"40.82.192.0/19\",\r\n + \ \"40.82.224.0/20\",\r\n \"40.82.240.0/22\",\r\n \"40.82.244.0/22\",\r\n + \ \"40.82.248.0/21\",\r\n \"40.83.0.0/20\",\r\n \"40.83.16.0/21\",\r\n + \ \"40.83.24.0/26\",\r\n \"40.83.24.64/27\",\r\n \"40.83.24.96/27\",\r\n + \ \"40.83.24.128/25\",\r\n \"40.83.25.0/24\",\r\n \"40.83.26.0/23\",\r\n + \ \"40.83.28.0/22\",\r\n \"40.83.32.0/19\",\r\n \"40.83.64.0/18\",\r\n + \ \"40.83.128.0/17\",\r\n \"40.84.0.0/17\",\r\n \"40.84.128.0/17\",\r\n + \ \"40.85.0.0/17\",\r\n \"40.85.128.0/20\",\r\n \"40.85.144.0/20\",\r\n + \ \"40.85.160.0/19\",\r\n \"40.85.192.0/18\",\r\n \"40.86.0.0/17\",\r\n + \ \"40.86.128.0/19\",\r\n \"40.86.160.0/19\",\r\n \"40.86.192.0/18\",\r\n + \ \"40.87.0.0/17\",\r\n \"40.87.128.0/19\",\r\n \"40.87.160.0/22\",\r\n + \ \"40.87.164.0/22\",\r\n \"40.87.168.0/30\",\r\n \"40.87.168.4/30\",\r\n + \ \"40.87.168.8/29\",\r\n \"40.87.168.16/28\",\r\n \"40.87.168.32/29\",\r\n + \ \"40.87.168.40/29\",\r\n \"40.87.168.48/28\",\r\n \"40.87.168.64/30\",\r\n + \ \"40.87.168.68/31\",\r\n \"40.87.168.70/31\",\r\n \"40.87.168.72/29\",\r\n + \ \"40.87.168.80/28\",\r\n \"40.87.168.96/27\",\r\n \"40.87.168.128/26\",\r\n + \ \"40.87.168.192/28\",\r\n \"40.87.168.208/31\",\r\n \"40.87.168.210/31\",\r\n + \ \"40.87.168.212/30\",\r\n \"40.87.168.216/29\",\r\n \"40.87.168.224/27\",\r\n + \ \"40.87.169.0/27\",\r\n \"40.87.169.32/29\",\r\n \"40.87.169.40/30\",\r\n + \ \"40.87.169.44/30\",\r\n \"40.87.169.48/29\",\r\n \"40.87.169.56/31\",\r\n + \ \"40.87.169.58/31\",\r\n \"40.87.169.60/30\",\r\n \"40.87.169.64/27\",\r\n + \ \"40.87.169.96/31\",\r\n \"40.87.169.98/31\",\r\n \"40.87.169.100/31\",\r\n + \ \"40.87.169.102/31\",\r\n \"40.87.169.104/29\",\r\n \"40.87.169.112/28\",\r\n + \ \"40.87.169.128/29\",\r\n \"40.87.169.136/31\",\r\n \"40.87.169.138/31\",\r\n + \ \"40.87.169.140/30\",\r\n \"40.87.169.144/28\",\r\n \"40.87.169.160/27\",\r\n + \ \"40.87.169.192/26\",\r\n \"40.87.170.0/25\",\r\n \"40.87.170.128/28\",\r\n + \ \"40.87.170.144/31\",\r\n \"40.87.170.146/31\",\r\n \"40.87.170.148/30\",\r\n + \ \"40.87.170.152/29\",\r\n \"40.87.170.160/28\",\r\n \"40.87.170.176/29\",\r\n + \ \"40.87.170.184/30\",\r\n \"40.87.170.188/30\",\r\n \"40.87.170.192/31\",\r\n + \ \"40.87.170.194/31\",\r\n \"40.87.170.196/30\",\r\n \"40.87.170.200/29\",\r\n + \ \"40.87.170.208/30\",\r\n \"40.87.170.212/31\",\r\n \"40.87.170.214/31\",\r\n + \ \"40.87.170.216/30\",\r\n \"40.87.170.220/30\",\r\n \"40.87.170.224/30\",\r\n + \ \"40.87.170.228/30\",\r\n \"40.87.170.232/29\",\r\n \"40.87.170.240/29\",\r\n + \ \"40.87.170.248/30\",\r\n \"40.87.170.252/30\",\r\n \"40.87.171.0/31\",\r\n + \ \"40.87.171.2/31\",\r\n \"40.87.171.4/30\",\r\n \"40.87.171.8/29\",\r\n + \ \"40.87.171.16/28\",\r\n \"40.87.171.32/30\",\r\n \"40.87.171.36/30\",\r\n + \ \"40.87.171.40/31\",\r\n \"40.87.171.42/31\",\r\n \"40.87.171.44/30\",\r\n + \ \"40.87.171.48/28\",\r\n \"40.87.171.64/29\",\r\n \"40.87.171.72/29\",\r\n + \ \"40.87.171.80/28\",\r\n \"40.87.171.96/27\",\r\n \"40.87.171.128/28\",\r\n + \ \"40.87.172.0/22\",\r\n \"40.87.176.0/25\",\r\n \"40.87.176.128/27\",\r\n + \ \"40.87.176.160/29\",\r\n \"40.87.176.174/31\",\r\n \"40.87.176.184/30\",\r\n + \ \"40.87.176.192/28\",\r\n \"40.87.176.216/29\",\r\n \"40.87.176.224/29\",\r\n + \ \"40.87.176.232/31\",\r\n \"40.87.176.240/28\",\r\n \"40.87.177.16/28\",\r\n + \ \"40.87.177.32/27\",\r\n \"40.87.177.64/27\",\r\n \"40.87.177.96/28\",\r\n + \ \"40.87.177.112/29\",\r\n \"40.87.177.120/31\",\r\n \"40.87.177.124/30\",\r\n + \ \"40.87.177.128/28\",\r\n \"40.87.177.144/29\",\r\n \"40.87.177.152/31\",\r\n + \ \"40.87.177.156/30\",\r\n \"40.87.177.160/27\",\r\n \"40.87.177.192/29\",\r\n + \ \"40.87.177.200/30\",\r\n \"40.87.177.212/30\",\r\n \"40.87.177.216/29\",\r\n + \ \"40.87.177.224/27\",\r\n \"40.87.178.0/26\",\r\n \"40.87.178.64/27\",\r\n + \ \"40.87.180.0/30\",\r\n \"40.87.180.4/31\",\r\n \"40.87.180.6/31\",\r\n + \ \"40.87.180.8/30\",\r\n \"40.87.180.12/31\",\r\n \"40.87.180.14/31\",\r\n + \ \"40.87.180.16/30\",\r\n \"40.87.180.20/31\",\r\n \"40.87.180.22/31\",\r\n + \ \"40.87.180.24/30\",\r\n \"40.87.180.28/30\",\r\n \"40.87.180.32/29\",\r\n + \ \"40.87.180.40/31\",\r\n \"40.87.180.42/31\",\r\n \"40.87.180.44/30\",\r\n + \ \"40.87.180.48/28\",\r\n \"40.87.180.64/30\",\r\n \"40.87.180.68/30\",\r\n + \ \"40.87.180.72/31\",\r\n \"40.87.180.74/31\",\r\n \"40.87.180.76/30\",\r\n + \ \"40.87.180.80/29\",\r\n \"40.87.182.0/30\",\r\n \"40.87.182.4/30\",\r\n + \ \"40.87.182.8/29\",\r\n \"40.87.182.16/29\",\r\n \"40.87.182.24/29\",\r\n + \ \"40.87.182.32/28\",\r\n \"40.87.182.48/29\",\r\n \"40.87.182.56/30\",\r\n + \ \"40.87.182.60/31\",\r\n \"40.87.182.62/31\",\r\n \"40.87.182.64/26\",\r\n + \ \"40.87.182.128/25\",\r\n \"40.87.183.0/28\",\r\n \"40.87.183.16/29\",\r\n + \ \"40.87.183.24/30\",\r\n \"40.87.183.28/30\",\r\n \"40.87.183.32/31\",\r\n + \ \"40.87.183.34/31\",\r\n \"40.87.183.36/30\",\r\n \"40.87.183.40/31\",\r\n + \ \"40.87.183.42/31\",\r\n \"40.87.183.44/30\",\r\n \"40.87.183.48/30\",\r\n + \ \"40.87.183.52/31\",\r\n \"40.87.183.54/31\",\r\n \"40.87.183.56/29\",\r\n + \ \"40.87.183.64/26\",\r\n \"40.87.183.128/28\",\r\n \"40.87.183.144/28\",\r\n + \ \"40.87.183.160/27\",\r\n \"40.87.183.192/27\",\r\n \"40.87.183.224/29\",\r\n + \ \"40.87.183.232/30\",\r\n \"40.87.183.236/31\",\r\n \"40.87.183.238/31\",\r\n + \ \"40.87.183.240/30\",\r\n \"40.87.183.244/30\",\r\n \"40.87.183.248/29\",\r\n + \ \"40.87.184.0/22\",\r\n \"40.87.188.0/22\",\r\n \"40.87.192.0/22\",\r\n + \ \"40.87.196.0/22\",\r\n \"40.87.200.0/22\",\r\n \"40.87.204.0/22\",\r\n + \ \"40.87.208.0/22\",\r\n \"40.87.212.0/22\",\r\n \"40.87.216.0/22\",\r\n + \ \"40.87.220.0/22\",\r\n \"40.87.224.0/22\",\r\n \"40.87.228.0/22\",\r\n + \ \"40.87.232.0/21\",\r\n \"40.88.0.0/16\",\r\n \"40.89.0.0/19\",\r\n + \ \"40.89.32.0/19\",\r\n \"40.89.64.0/18\",\r\n \"40.89.128.0/18\",\r\n + \ \"40.89.192.0/19\",\r\n \"40.89.224.0/19\",\r\n \"40.90.16.0/27\",\r\n + \ \"40.90.16.64/27\",\r\n \"40.90.16.96/27\",\r\n \"40.90.16.128/27\",\r\n + \ \"40.90.16.160/27\",\r\n \"40.90.16.192/26\",\r\n \"40.90.17.0/27\",\r\n + \ \"40.90.17.32/27\",\r\n \"40.90.17.64/27\",\r\n \"40.90.17.96/27\",\r\n + \ \"40.90.17.128/28\",\r\n \"40.90.17.144/28\",\r\n \"40.90.17.160/27\",\r\n + \ \"40.90.17.192/27\",\r\n \"40.90.17.224/27\",\r\n \"40.90.18.0/28\",\r\n + \ \"40.90.18.32/27\",\r\n \"40.90.18.64/26\",\r\n \"40.90.18.128/26\",\r\n + \ \"40.90.18.192/26\",\r\n \"40.90.19.0/27\",\r\n \"40.90.19.32/27\",\r\n + \ \"40.90.19.64/26\",\r\n \"40.90.19.128/25\",\r\n \"40.90.20.0/25\",\r\n + \ \"40.90.20.128/25\",\r\n \"40.90.21.0/25\",\r\n \"40.90.21.128/25\",\r\n + \ \"40.90.22.0/25\",\r\n \"40.90.22.128/25\",\r\n \"40.90.23.0/25\",\r\n + \ \"40.90.23.128/25\",\r\n \"40.90.24.0/25\",\r\n \"40.90.24.128/25\",\r\n + \ \"40.90.25.0/26\",\r\n \"40.90.25.64/26\",\r\n \"40.90.25.128/26\",\r\n + \ \"40.90.25.192/26\",\r\n \"40.90.26.0/26\",\r\n \"40.90.26.64/26\",\r\n + \ \"40.90.26.128/25\",\r\n \"40.90.27.0/26\",\r\n \"40.90.27.64/26\",\r\n + \ \"40.90.27.128/26\",\r\n \"40.90.27.192/26\",\r\n \"40.90.28.0/26\",\r\n + \ \"40.90.28.64/26\",\r\n \"40.90.28.128/26\",\r\n \"40.90.28.192/26\",\r\n + \ \"40.90.29.0/26\",\r\n \"40.90.29.64/26\",\r\n \"40.90.29.128/26\",\r\n + \ \"40.90.29.192/26\",\r\n \"40.90.30.0/25\",\r\n \"40.90.30.128/27\",\r\n + \ \"40.90.30.160/27\",\r\n \"40.90.30.192/26\",\r\n \"40.90.31.0/27\",\r\n + \ \"40.90.31.96/27\",\r\n \"40.90.31.128/25\",\r\n \"40.90.128.0/28\",\r\n + \ \"40.90.128.16/28\",\r\n \"40.90.128.48/28\",\r\n \"40.90.128.64/28\",\r\n + \ \"40.90.128.80/28\",\r\n \"40.90.128.96/28\",\r\n \"40.90.128.112/28\",\r\n + \ \"40.90.128.128/28\",\r\n \"40.90.128.144/28\",\r\n \"40.90.128.160/28\",\r\n + \ \"40.90.128.176/28\",\r\n \"40.90.128.192/28\",\r\n \"40.90.128.208/28\",\r\n + \ \"40.90.128.224/28\",\r\n \"40.90.128.240/28\",\r\n \"40.90.129.48/28\",\r\n + \ \"40.90.129.96/27\",\r\n \"40.90.129.128/26\",\r\n \"40.90.129.192/27\",\r\n + \ \"40.90.129.224/27\",\r\n \"40.90.130.0/27\",\r\n \"40.90.130.32/28\",\r\n + \ \"40.90.130.48/28\",\r\n \"40.90.130.64/28\",\r\n \"40.90.130.80/28\",\r\n + \ \"40.90.130.96/28\",\r\n \"40.90.130.112/28\",\r\n \"40.90.130.128/28\",\r\n + \ \"40.90.130.144/28\",\r\n \"40.90.130.160/27\",\r\n \"40.90.130.192/28\",\r\n + \ \"40.90.130.208/28\",\r\n \"40.90.130.224/28\",\r\n \"40.90.130.240/28\",\r\n + \ \"40.90.131.0/27\",\r\n \"40.90.131.32/27\",\r\n \"40.90.131.64/27\",\r\n + \ \"40.90.131.96/27\",\r\n \"40.90.131.128/27\",\r\n \"40.90.131.160/27\",\r\n + \ \"40.90.131.192/27\",\r\n \"40.90.131.224/27\",\r\n \"40.90.132.0/27\",\r\n + \ \"40.90.132.32/28\",\r\n \"40.90.132.48/28\",\r\n \"40.90.132.64/28\",\r\n + \ \"40.90.132.80/28\",\r\n \"40.90.132.96/27\",\r\n \"40.90.132.128/26\",\r\n + \ \"40.90.132.192/26\",\r\n \"40.90.133.0/27\",\r\n \"40.90.133.32/27\",\r\n + \ \"40.90.133.64/27\",\r\n \"40.90.133.96/28\",\r\n \"40.90.133.112/28\",\r\n + \ \"40.90.133.128/28\",\r\n \"40.90.133.144/28\",\r\n \"40.90.133.160/27\",\r\n + \ \"40.90.133.192/26\",\r\n \"40.90.134.0/26\",\r\n \"40.90.134.64/26\",\r\n + \ \"40.90.134.128/26\",\r\n \"40.90.134.192/26\",\r\n \"40.90.135.0/26\",\r\n + \ \"40.90.135.64/26\",\r\n \"40.90.135.128/25\",\r\n \"40.90.136.0/28\",\r\n + \ \"40.90.136.16/28\",\r\n \"40.90.136.32/27\",\r\n \"40.90.136.64/26\",\r\n + \ \"40.90.136.128/27\",\r\n \"40.90.136.160/28\",\r\n \"40.90.136.176/28\",\r\n + \ \"40.90.136.192/27\",\r\n \"40.90.136.224/27\",\r\n \"40.90.137.0/27\",\r\n + \ \"40.90.137.32/27\",\r\n \"40.90.137.64/27\",\r\n \"40.90.137.96/27\",\r\n + \ \"40.90.137.128/27\",\r\n \"40.90.137.160/27\",\r\n \"40.90.137.192/27\",\r\n + \ \"40.90.137.224/27\",\r\n \"40.90.138.0/27\",\r\n \"40.90.138.32/27\",\r\n + \ \"40.90.138.64/27\",\r\n \"40.90.138.96/27\",\r\n \"40.90.138.128/27\",\r\n + \ \"40.90.138.160/27\",\r\n \"40.90.138.192/28\",\r\n \"40.90.138.208/28\",\r\n + \ \"40.90.138.224/27\",\r\n \"40.90.139.0/27\",\r\n \"40.90.139.32/27\",\r\n + \ \"40.90.139.64/27\",\r\n \"40.90.139.96/27\",\r\n \"40.90.139.128/27\",\r\n + \ \"40.90.139.160/27\",\r\n \"40.90.139.192/27\",\r\n \"40.90.139.224/27\",\r\n + \ \"40.90.140.0/27\",\r\n \"40.90.140.32/27\",\r\n \"40.90.140.64/27\",\r\n + \ \"40.90.140.96/27\",\r\n \"40.90.140.128/27\",\r\n \"40.90.140.160/27\",\r\n + \ \"40.90.140.192/27\",\r\n \"40.90.140.224/27\",\r\n \"40.90.141.0/27\",\r\n + \ \"40.90.141.32/27\",\r\n \"40.90.141.64/27\",\r\n \"40.90.141.96/27\",\r\n + \ \"40.90.141.128/27\",\r\n \"40.90.141.160/27\",\r\n \"40.90.141.192/26\",\r\n + \ \"40.90.142.0/27\",\r\n \"40.90.142.32/27\",\r\n \"40.90.142.64/27\",\r\n + \ \"40.90.142.96/27\",\r\n \"40.90.142.128/27\",\r\n \"40.90.142.160/27\",\r\n + \ \"40.90.142.192/28\",\r\n \"40.90.142.208/28\",\r\n \"40.90.142.224/28\",\r\n + \ \"40.90.142.240/28\",\r\n \"40.90.143.0/27\",\r\n \"40.90.143.32/27\",\r\n + \ \"40.90.143.64/27\",\r\n \"40.90.143.96/27\",\r\n \"40.90.143.128/27\",\r\n + \ \"40.90.143.160/27\",\r\n \"40.90.143.192/26\",\r\n \"40.90.144.0/27\",\r\n + \ \"40.90.144.32/27\",\r\n \"40.90.144.64/26\",\r\n \"40.90.144.128/26\",\r\n + \ \"40.90.144.192/27\",\r\n \"40.90.144.224/27\",\r\n \"40.90.145.0/27\",\r\n + \ \"40.90.145.32/27\",\r\n \"40.90.145.64/27\",\r\n \"40.90.145.96/27\",\r\n + \ \"40.90.145.128/27\",\r\n \"40.90.145.160/27\",\r\n \"40.90.145.192/27\",\r\n + \ \"40.90.145.224/27\",\r\n \"40.90.146.0/28\",\r\n \"40.90.146.16/28\",\r\n + \ \"40.90.146.32/27\",\r\n \"40.90.146.64/26\",\r\n \"40.90.146.128/27\",\r\n + \ \"40.90.146.160/27\",\r\n \"40.90.146.192/27\",\r\n \"40.90.146.224/27\",\r\n + \ \"40.90.147.0/27\",\r\n \"40.90.147.32/27\",\r\n \"40.90.147.64/27\",\r\n + \ \"40.90.147.96/27\",\r\n \"40.90.147.128/26\",\r\n \"40.90.147.192/27\",\r\n + \ \"40.90.147.224/27\",\r\n \"40.90.148.0/26\",\r\n \"40.90.148.64/27\",\r\n + \ \"40.90.148.96/27\",\r\n \"40.90.148.128/27\",\r\n \"40.90.148.160/28\",\r\n + \ \"40.90.148.176/28\",\r\n \"40.90.148.192/27\",\r\n \"40.90.148.224/27\",\r\n + \ \"40.90.149.0/27\",\r\n \"40.90.149.32/27\",\r\n \"40.90.149.64/27\",\r\n + \ \"40.90.149.96/27\",\r\n \"40.90.149.128/25\",\r\n \"40.90.150.0/27\",\r\n + \ \"40.90.150.32/27\",\r\n \"40.90.150.64/27\",\r\n \"40.90.150.96/27\",\r\n + \ \"40.90.150.128/25\",\r\n \"40.90.151.0/26\",\r\n \"40.90.151.64/27\",\r\n + \ \"40.90.151.96/27\",\r\n \"40.90.151.128/28\",\r\n \"40.90.151.144/28\",\r\n + \ \"40.90.151.160/27\",\r\n \"40.90.151.224/27\",\r\n \"40.90.152.0/25\",\r\n + \ \"40.90.152.128/27\",\r\n \"40.90.152.160/27\",\r\n \"40.90.152.192/27\",\r\n + \ \"40.90.152.224/27\",\r\n \"40.90.153.0/26\",\r\n \"40.90.153.64/27\",\r\n + \ \"40.90.153.96/27\",\r\n \"40.90.153.128/25\",\r\n \"40.90.154.0/26\",\r\n + \ \"40.90.154.64/26\",\r\n \"40.90.154.128/26\",\r\n \"40.90.154.192/26\",\r\n + \ \"40.90.155.0/26\",\r\n \"40.90.155.64/26\",\r\n \"40.90.155.128/26\",\r\n + \ \"40.90.155.192/26\",\r\n \"40.90.156.0/26\",\r\n \"40.90.156.64/27\",\r\n + \ \"40.90.156.96/27\",\r\n \"40.90.156.128/26\",\r\n \"40.90.156.192/26\",\r\n + \ \"40.90.157.0/27\",\r\n \"40.90.157.32/27\",\r\n \"40.90.157.64/26\",\r\n + \ \"40.90.157.128/26\",\r\n \"40.90.157.192/27\",\r\n \"40.90.157.224/27\",\r\n + \ \"40.90.158.0/26\",\r\n \"40.90.158.64/26\",\r\n \"40.90.158.128/25\",\r\n + \ \"40.90.159.0/24\",\r\n \"40.90.160.0/19\",\r\n \"40.90.192.0/19\",\r\n + \ \"40.90.224.0/19\",\r\n \"40.91.0.0/22\",\r\n \"40.91.4.0/22\",\r\n + \ \"40.91.12.0/28\",\r\n \"40.91.12.16/28\",\r\n \"40.91.12.32/28\",\r\n + \ \"40.91.12.48/28\",\r\n \"40.91.12.64/26\",\r\n \"40.91.12.128/28\",\r\n + \ \"40.91.12.160/27\",\r\n \"40.91.12.208/28\",\r\n \"40.91.12.240/28\",\r\n + \ \"40.91.13.0/28\",\r\n \"40.91.13.64/27\",\r\n \"40.91.13.96/28\",\r\n + \ \"40.91.13.128/27\",\r\n \"40.91.13.240/28\",\r\n \"40.91.14.0/24\",\r\n + \ \"40.91.16.0/22\",\r\n \"40.91.20.0/22\",\r\n \"40.91.24.0/22\",\r\n + \ \"40.91.28.0/22\",\r\n \"40.91.32.0/22\",\r\n \"40.91.64.0/18\",\r\n + \ \"40.91.160.0/19\",\r\n \"40.91.192.0/18\",\r\n \"40.93.0.0/23\",\r\n + \ \"40.93.2.0/24\",\r\n \"40.93.3.0/24\",\r\n \"40.93.4.0/24\",\r\n + \ \"40.93.5.0/24\",\r\n \"40.93.6.0/24\",\r\n \"40.93.7.0/24\",\r\n + \ \"40.93.8.0/24\",\r\n \"40.93.9.0/24\",\r\n \"40.93.10.0/24\",\r\n + \ \"40.93.11.0/24\",\r\n \"40.93.12.0/24\",\r\n \"40.93.13.0/24\",\r\n + \ \"40.93.14.0/24\",\r\n \"40.93.15.0/24\",\r\n \"40.93.16.0/24\",\r\n + \ \"40.93.17.0/24\",\r\n \"40.93.64.0/24\",\r\n \"40.93.65.0/24\",\r\n + \ \"40.93.128.0/24\",\r\n \"40.93.129.0/24\",\r\n \"40.93.192.0/24\",\r\n + \ \"40.93.193.0/24\",\r\n \"40.93.194.0/23\",\r\n \"40.93.196.0/23\",\r\n + \ \"40.93.198.0/23\",\r\n \"40.93.200.0/23\",\r\n \"40.93.202.0/24\",\r\n + \ \"40.93.203.0/24\",\r\n \"40.93.204.0/22\",\r\n \"40.93.208.0/22\",\r\n + \ \"40.93.212.0/24\",\r\n \"40.96.46.0/24\",\r\n \"40.96.52.0/24\",\r\n + \ \"40.96.55.0/24\",\r\n \"40.96.61.0/24\",\r\n \"40.96.63.0/24\",\r\n + \ \"40.96.255.0/24\",\r\n \"40.112.36.0/25\",\r\n \"40.112.36.128/25\",\r\n + \ \"40.112.37.0/26\",\r\n \"40.112.37.64/26\",\r\n \"40.112.37.128/26\",\r\n + \ \"40.112.37.192/26\",\r\n \"40.112.38.192/26\",\r\n \"40.112.39.0/25\",\r\n + \ \"40.112.39.128/26\",\r\n \"40.112.48.0/20\",\r\n \"40.112.64.0/19\",\r\n + \ \"40.112.96.0/19\",\r\n \"40.112.128.0/17\",\r\n \"40.113.0.0/18\",\r\n + \ \"40.113.64.0/19\",\r\n \"40.113.96.0/19\",\r\n \"40.113.128.0/18\",\r\n + \ \"40.113.192.0/18\",\r\n \"40.114.0.0/17\",\r\n \"40.114.128.0/17\",\r\n + \ \"40.115.0.0/18\",\r\n \"40.115.64.0/19\",\r\n \"40.115.96.0/19\",\r\n + \ \"40.115.128.0/17\",\r\n \"40.116.0.0/16\",\r\n \"40.117.0.0/19\",\r\n + \ \"40.117.32.0/19\",\r\n \"40.117.64.0/18\",\r\n \"40.117.128.0/17\",\r\n + \ \"40.118.0.0/17\",\r\n \"40.118.128.0/17\",\r\n \"40.119.0.0/18\",\r\n + \ \"40.119.64.0/22\",\r\n \"40.119.68.0/22\",\r\n \"40.119.72.0/22\",\r\n + \ \"40.119.76.0/22\",\r\n \"40.119.80.0/22\",\r\n \"40.119.84.0/22\",\r\n + \ \"40.119.92.0/22\",\r\n \"40.119.96.0/22\",\r\n \"40.119.104.0/22\",\r\n + \ \"40.119.108.0/22\",\r\n \"40.119.128.0/19\",\r\n \"40.119.160.0/19\",\r\n + \ \"40.119.192.0/18\",\r\n \"40.120.0.0/20\",\r\n \"40.120.16.0/20\",\r\n + \ \"40.120.32.0/19\",\r\n \"40.120.64.0/18\",\r\n \"40.121.0.0/16\",\r\n + \ \"40.122.0.0/20\",\r\n \"40.122.16.0/20\",\r\n \"40.122.32.0/19\",\r\n + \ \"40.122.64.0/18\",\r\n \"40.122.128.0/17\",\r\n \"40.123.0.0/17\",\r\n + \ \"40.123.128.0/22\",\r\n \"40.123.132.0/22\",\r\n \"40.123.136.0/24\",\r\n + \ \"40.123.140.0/22\",\r\n \"40.123.192.0/19\",\r\n \"40.123.224.0/20\",\r\n + \ \"40.123.240.0/20\",\r\n \"40.124.0.0/16\",\r\n \"40.125.0.0/19\",\r\n + \ \"40.125.32.0/19\",\r\n \"40.125.64.0/18\",\r\n \"40.126.0.0/24\",\r\n + \ \"40.126.1.0/24\",\r\n \"40.126.2.0/24\",\r\n \"40.126.3.0/24\",\r\n + \ \"40.126.4.0/24\",\r\n \"40.126.5.0/24\",\r\n \"40.126.6.0/24\",\r\n + \ \"40.126.7.0/24\",\r\n \"40.126.8.0/24\",\r\n \"40.126.9.0/24\",\r\n + \ \"40.126.10.0/25\",\r\n \"40.126.10.128/25\",\r\n \"40.126.11.0/25\",\r\n + \ \"40.126.11.128/25\",\r\n \"40.126.12.0/25\",\r\n \"40.126.12.128/25\",\r\n + \ \"40.126.13.0/25\",\r\n \"40.126.13.128/25\",\r\n \"40.126.14.0/25\",\r\n + \ \"40.126.14.128/25\",\r\n \"40.126.15.0/25\",\r\n \"40.126.15.128/25\",\r\n + \ \"40.126.16.0/25\",\r\n \"40.126.16.128/25\",\r\n \"40.126.17.0/25\",\r\n + \ \"40.126.17.128/25\",\r\n \"40.126.18.0/25\",\r\n \"40.126.18.128/25\",\r\n + \ \"40.126.19.0/25\",\r\n \"40.126.19.128/25\",\r\n \"40.126.20.0/25\",\r\n + \ \"40.126.20.128/25\",\r\n \"40.126.21.0/24\",\r\n \"40.126.22.0/24\",\r\n + \ \"40.126.23.0/24\",\r\n \"40.126.24.0/24\",\r\n \"40.126.25.0/24\",\r\n + \ \"40.126.26.0/24\",\r\n \"40.126.27.0/24\",\r\n \"40.126.28.0/24\",\r\n + \ \"40.126.29.0/24\",\r\n \"40.126.30.0/24\",\r\n \"40.126.31.0/24\",\r\n + \ \"40.126.32.0/24\",\r\n \"40.126.33.0/24\",\r\n \"40.126.34.0/24\",\r\n + \ \"40.126.35.0/24\",\r\n \"40.126.36.0/24\",\r\n \"40.126.37.0/24\",\r\n + \ \"40.126.38.0/24\",\r\n \"40.126.39.0/24\",\r\n \"40.126.40.0/24\",\r\n + \ \"40.126.41.0/24\",\r\n \"40.126.42.0/24\",\r\n \"40.126.43.0/24\",\r\n + \ \"40.126.44.0/24\",\r\n \"40.126.45.0/24\",\r\n \"40.126.46.0/24\",\r\n + \ \"40.126.47.0/24\",\r\n \"40.126.48.0/24\",\r\n \"40.126.49.0/24\",\r\n + \ \"40.126.50.0/24\",\r\n \"40.126.51.0/24\",\r\n \"40.126.52.0/24\",\r\n + \ \"40.126.55.0/24\",\r\n \"40.126.56.0/24\",\r\n \"40.126.57.0/24\",\r\n + \ \"40.126.58.0/24\",\r\n \"40.126.59.0/24\",\r\n \"40.126.60.0/24\",\r\n + \ \"40.126.61.0/26\",\r\n \"40.126.61.64/26\",\r\n \"40.126.61.128/26\",\r\n + \ \"40.126.61.192/26\",\r\n \"40.126.62.0/26\",\r\n \"40.126.62.64/26\",\r\n + \ \"40.126.128.0/18\",\r\n \"40.126.192.0/24\",\r\n \"40.126.193.0/24\",\r\n + \ \"40.126.194.0/24\",\r\n \"40.126.195.0/24\",\r\n \"40.126.197.0/24\",\r\n + \ \"40.126.198.0/24\",\r\n \"40.126.200.0/24\",\r\n \"40.126.201.0/24\",\r\n + \ \"40.126.207.0/24\",\r\n \"40.126.208.0/20\",\r\n \"40.126.224.0/19\",\r\n + \ \"40.127.0.0/19\",\r\n \"40.127.64.0/19\",\r\n \"40.127.96.0/20\",\r\n + \ \"40.127.128.0/17\",\r\n \"51.11.0.0/18\",\r\n \"51.11.64.0/19\",\r\n + \ \"51.11.96.0/19\",\r\n \"51.11.128.0/18\",\r\n \"51.11.192.0/18\",\r\n + \ \"51.13.0.0/17\",\r\n \"51.13.128.0/19\",\r\n \"51.103.0.0/17\",\r\n + \ \"51.103.128.0/18\",\r\n \"51.103.192.0/27\",\r\n \"51.103.192.32/27\",\r\n + \ \"51.103.224.0/19\",\r\n \"51.104.0.0/19\",\r\n \"51.104.32.0/19\",\r\n + \ \"51.104.64.0/18\",\r\n \"51.104.128.0/18\",\r\n \"51.104.192.0/18\",\r\n + \ \"51.105.0.0/18\",\r\n \"51.105.64.0/20\",\r\n \"51.105.80.0/21\",\r\n + \ \"51.105.88.0/21\",\r\n \"51.105.96.0/19\",\r\n \"51.105.128.0/17\",\r\n + \ \"51.107.0.0/18\",\r\n \"51.107.64.0/19\",\r\n \"51.107.96.0/19\",\r\n + \ \"51.107.128.0/21\",\r\n \"51.107.136.0/21\",\r\n \"51.107.144.0/20\",\r\n + \ \"51.107.160.0/20\",\r\n \"51.107.192.0/21\",\r\n \"51.107.200.0/21\",\r\n + \ \"51.107.208.0/20\",\r\n \"51.107.224.0/20\",\r\n \"51.107.240.0/21\",\r\n + \ \"51.107.248.0/21\",\r\n \"51.116.0.0/18\",\r\n \"51.116.64.0/19\",\r\n + \ \"51.116.96.0/19\",\r\n \"51.116.128.0/18\",\r\n \"51.116.192.0/21\",\r\n + \ \"51.116.200.0/21\",\r\n \"51.116.208.0/20\",\r\n \"51.116.224.0/19\",\r\n + \ \"51.120.0.0/17\",\r\n \"51.120.128.0/18\",\r\n \"51.120.192.0/20\",\r\n + \ \"51.120.208.0/21\",\r\n \"51.120.216.0/21\",\r\n \"51.120.224.0/21\",\r\n + \ \"51.120.232.0/21\",\r\n \"51.120.240.0/20\",\r\n \"51.124.0.0/17\",\r\n + \ \"51.124.128.0/18\",\r\n \"51.132.0.0/18\",\r\n \"51.132.64.0/18\",\r\n + \ \"51.132.128.0/17\",\r\n \"51.136.0.0/16\",\r\n \"51.137.0.0/17\",\r\n + \ \"51.137.128.0/18\",\r\n \"51.137.192.0/18\",\r\n \"51.138.0.0/17\",\r\n + \ \"51.138.128.0/19\",\r\n \"51.138.160.0/21\",\r\n \"51.138.192.0/19\",\r\n + \ \"51.140.0.0/17\",\r\n \"51.140.128.0/18\",\r\n \"51.140.192.0/18\",\r\n + \ \"51.141.0.0/17\",\r\n \"51.141.128.0/27\",\r\n \"51.141.128.32/27\",\r\n + \ \"51.141.128.64/26\",\r\n \"51.141.128.128/25\",\r\n \"51.141.129.0/27\",\r\n + \ \"51.141.129.32/27\",\r\n \"51.141.129.64/26\",\r\n \"51.141.129.128/26\",\r\n + \ \"51.141.129.192/26\",\r\n \"51.141.130.0/25\",\r\n \"51.141.134.0/24\",\r\n + \ \"51.141.135.0/24\",\r\n \"51.141.136.0/22\",\r\n \"51.141.156.0/22\",\r\n + \ \"51.141.160.0/19\",\r\n \"51.141.192.0/18\",\r\n \"51.142.0.0/17\",\r\n + \ \"51.142.128.0/17\",\r\n \"51.143.0.0/17\",\r\n \"51.143.128.0/18\",\r\n + \ \"51.143.192.0/21\",\r\n \"51.143.200.0/28\",\r\n \"51.143.201.0/24\",\r\n + \ \"51.143.208.0/20\",\r\n \"51.143.224.0/19\",\r\n \"51.144.0.0/16\",\r\n + \ \"51.145.0.0/17\",\r\n \"51.145.128.0/17\",\r\n \"52.96.11.0/24\",\r\n + \ \"52.101.0.0/22\",\r\n \"52.101.4.0/22\",\r\n \"52.101.8.0/24\",\r\n + \ \"52.101.9.0/24\",\r\n \"52.101.10.0/24\",\r\n \"52.101.11.0/24\",\r\n + \ \"52.101.12.0/22\",\r\n \"52.101.16.0/22\",\r\n \"52.101.20.0/22\",\r\n + \ \"52.101.24.0/22\",\r\n \"52.101.28.0/22\",\r\n \"52.101.32.0/22\",\r\n + \ \"52.101.36.0/22\",\r\n \"52.101.40.0/24\",\r\n \"52.101.41.0/24\",\r\n + \ \"52.101.42.0/24\",\r\n \"52.101.43.0/24\",\r\n \"52.101.44.0/23\",\r\n + \ \"52.101.46.0/23\",\r\n \"52.101.48.0/23\",\r\n \"52.101.50.0/24\",\r\n + \ \"52.101.51.0/24\",\r\n \"52.101.52.0/22\",\r\n \"52.101.56.0/22\",\r\n + \ \"52.101.60.0/24\",\r\n \"52.101.61.0/24\",\r\n \"52.101.62.0/23\",\r\n + \ \"52.101.64.0/24\",\r\n \"52.101.65.0/24\",\r\n \"52.101.66.0/23\",\r\n + \ \"52.101.68.0/24\",\r\n \"52.101.69.0/24\",\r\n \"52.101.70.0/23\",\r\n + \ \"52.101.72.0/23\",\r\n \"52.101.128.0/22\",\r\n \"52.101.132.0/24\",\r\n + \ \"52.101.133.0/24\",\r\n \"52.101.134.0/23\",\r\n \"52.101.136.0/23\",\r\n + \ \"52.102.128.0/24\",\r\n \"52.102.129.0/24\",\r\n \"52.102.130.0/24\",\r\n + \ \"52.102.131.0/24\",\r\n \"52.102.132.0/24\",\r\n \"52.102.133.0/24\",\r\n + \ \"52.102.134.0/24\",\r\n \"52.102.135.0/24\",\r\n \"52.102.136.0/24\",\r\n + \ \"52.102.137.0/24\",\r\n \"52.102.138.0/24\",\r\n \"52.102.139.0/24\",\r\n + \ \"52.102.140.0/24\",\r\n \"52.102.141.0/24\",\r\n \"52.102.142.0/24\",\r\n + \ \"52.102.143.0/24\",\r\n \"52.102.158.0/24\",\r\n \"52.102.159.0/24\",\r\n + \ \"52.102.160.0/24\",\r\n \"52.102.161.0/24\",\r\n \"52.102.192.0/24\",\r\n + \ \"52.102.193.0/24\",\r\n \"52.103.0.0/24\",\r\n \"52.103.1.0/24\",\r\n + \ \"52.103.2.0/24\",\r\n \"52.103.3.0/24\",\r\n \"52.103.4.0/24\",\r\n + \ \"52.103.5.0/24\",\r\n \"52.103.6.0/24\",\r\n \"52.103.7.0/24\",\r\n + \ \"52.103.8.0/24\",\r\n \"52.103.9.0/24\",\r\n \"52.103.10.0/24\",\r\n + \ \"52.103.11.0/24\",\r\n \"52.103.12.0/24\",\r\n \"52.103.13.0/24\",\r\n + \ \"52.103.14.0/24\",\r\n \"52.103.15.0/24\",\r\n \"52.103.16.0/24\",\r\n + \ \"52.103.17.0/24\",\r\n \"52.103.32.0/24\",\r\n \"52.103.33.0/24\",\r\n + \ \"52.103.64.0/24\",\r\n \"52.103.65.0/24\",\r\n \"52.103.128.0/24\",\r\n + \ \"52.103.129.0/24\",\r\n \"52.103.130.0/24\",\r\n \"52.103.131.0/24\",\r\n + \ \"52.103.132.0/24\",\r\n \"52.103.133.0/24\",\r\n \"52.103.134.0/24\",\r\n + \ \"52.103.160.0/24\",\r\n \"52.103.161.0/24\",\r\n \"52.103.192.0/24\",\r\n + \ \"52.103.193.0/24\",\r\n \"52.108.0.0/21\",\r\n \"52.108.16.0/21\",\r\n + \ \"52.108.24.0/21\",\r\n \"52.108.32.0/22\",\r\n \"52.108.36.0/22\",\r\n + \ \"52.108.40.0/23\",\r\n \"52.108.42.0/23\",\r\n \"52.108.44.0/23\",\r\n + \ \"52.108.46.0/23\",\r\n \"52.108.48.0/23\",\r\n \"52.108.50.0/23\",\r\n + \ \"52.108.52.0/23\",\r\n \"52.108.54.0/23\",\r\n \"52.108.56.0/21\",\r\n + \ \"52.108.68.0/23\",\r\n \"52.108.70.0/23\",\r\n \"52.108.72.0/24\",\r\n + \ \"52.108.73.0/24\",\r\n \"52.108.74.0/24\",\r\n \"52.108.75.0/24\",\r\n + \ \"52.108.76.0/24\",\r\n \"52.108.77.0/24\",\r\n \"52.108.78.0/24\",\r\n + \ \"52.108.79.0/24\",\r\n \"52.108.80.0/24\",\r\n \"52.108.81.0/24\",\r\n + \ \"52.108.82.0/24\",\r\n \"52.108.83.0/24\",\r\n \"52.108.84.0/24\",\r\n + \ \"52.108.85.0/24\",\r\n \"52.108.86.0/24\",\r\n \"52.108.87.0/24\",\r\n + \ \"52.108.88.0/24\",\r\n \"52.108.89.0/24\",\r\n \"52.108.90.0/24\",\r\n + \ \"52.108.91.0/24\",\r\n \"52.108.92.0/24\",\r\n \"52.108.93.0/24\",\r\n + \ \"52.108.94.0/24\",\r\n \"52.108.95.0/24\",\r\n \"52.108.96.0/24\",\r\n + \ \"52.108.97.0/24\",\r\n \"52.108.98.0/24\",\r\n \"52.108.99.0/24\",\r\n + \ \"52.108.100.0/23\",\r\n \"52.108.102.0/23\",\r\n \"52.108.104.0/24\",\r\n + \ \"52.108.105.0/24\",\r\n \"52.108.106.0/23\",\r\n \"52.108.108.0/23\",\r\n + \ \"52.108.110.0/24\",\r\n \"52.108.111.0/24\",\r\n \"52.108.112.0/24\",\r\n + \ \"52.108.113.0/24\",\r\n \"52.108.116.0/24\",\r\n \"52.108.128.0/24\",\r\n + \ \"52.108.137.0/24\",\r\n \"52.108.138.0/24\",\r\n \"52.108.165.0/24\",\r\n + \ \"52.108.166.0/23\",\r\n \"52.108.168.0/23\",\r\n \"52.108.170.0/24\",\r\n + \ \"52.108.171.0/24\",\r\n \"52.108.172.0/23\",\r\n \"52.108.174.0/23\",\r\n + \ \"52.108.176.0/24\",\r\n \"52.108.177.0/24\",\r\n \"52.108.178.0/24\",\r\n + \ \"52.108.179.0/24\",\r\n \"52.108.180.0/24\",\r\n \"52.108.181.0/24\",\r\n + \ \"52.108.182.0/24\",\r\n \"52.108.183.0/24\",\r\n \"52.108.184.0/24\",\r\n + \ \"52.108.185.0/24\",\r\n \"52.108.186.0/24\",\r\n \"52.108.187.0/24\",\r\n + \ \"52.108.188.0/24\",\r\n \"52.108.189.0/24\",\r\n \"52.108.190.0/24\",\r\n + \ \"52.108.191.0/24\",\r\n \"52.108.192.0/24\",\r\n \"52.108.193.0/24\",\r\n + \ \"52.108.194.0/24\",\r\n \"52.108.195.0/24\",\r\n \"52.108.196.0/24\",\r\n + \ \"52.108.197.0/24\",\r\n \"52.108.198.0/24\",\r\n \"52.108.199.0/24\",\r\n + \ \"52.108.200.0/24\",\r\n \"52.108.201.0/24\",\r\n \"52.108.202.0/24\",\r\n + \ \"52.108.203.0/24\",\r\n \"52.108.204.0/23\",\r\n \"52.108.206.0/23\",\r\n + \ \"52.108.208.0/21\",\r\n \"52.108.216.0/22\",\r\n \"52.108.220.0/23\",\r\n + \ \"52.108.222.0/23\",\r\n \"52.108.224.0/23\",\r\n \"52.108.226.0/23\",\r\n + \ \"52.108.228.0/23\",\r\n \"52.108.230.0/23\",\r\n \"52.108.232.0/23\",\r\n + \ \"52.108.234.0/23\",\r\n \"52.108.236.0/22\",\r\n \"52.108.240.0/21\",\r\n + \ \"52.108.248.0/21\",\r\n \"52.109.0.0/22\",\r\n \"52.109.4.0/22\",\r\n + \ \"52.109.8.0/22\",\r\n \"52.109.12.0/22\",\r\n \"52.109.16.0/22\",\r\n + \ \"52.109.20.0/22\",\r\n \"52.109.24.0/22\",\r\n \"52.109.28.0/22\",\r\n + \ \"52.109.32.0/22\",\r\n \"52.109.36.0/22\",\r\n \"52.109.40.0/22\",\r\n + \ \"52.109.44.0/22\",\r\n \"52.109.48.0/22\",\r\n \"52.109.52.0/22\",\r\n + \ \"52.109.56.0/22\",\r\n \"52.109.60.0/22\",\r\n \"52.109.64.0/22\",\r\n + \ \"52.109.68.0/22\",\r\n \"52.109.72.0/22\",\r\n \"52.109.76.0/22\",\r\n + \ \"52.109.86.0/23\",\r\n \"52.109.88.0/22\",\r\n \"52.109.92.0/22\",\r\n + \ \"52.109.96.0/22\",\r\n \"52.109.100.0/23\",\r\n \"52.109.102.0/23\",\r\n + \ \"52.109.104.0/23\",\r\n \"52.109.108.0/22\",\r\n \"52.109.112.0/22\",\r\n + \ \"52.109.116.0/22\",\r\n \"52.109.120.0/22\",\r\n \"52.109.124.0/22\",\r\n + \ \"52.109.128.0/22\",\r\n \"52.109.132.0/22\",\r\n \"52.109.136.0/22\",\r\n + \ \"52.109.140.0/22\",\r\n \"52.109.144.0/23\",\r\n \"52.109.150.0/23\",\r\n + \ \"52.109.152.0/23\",\r\n \"52.109.156.0/23\",\r\n \"52.109.158.0/23\",\r\n + \ \"52.109.160.0/23\",\r\n \"52.109.162.0/23\",\r\n \"52.109.164.0/24\",\r\n + \ \"52.109.165.0/24\",\r\n \"52.111.194.0/24\",\r\n \"52.111.197.0/24\",\r\n + \ \"52.111.198.0/24\",\r\n \"52.111.202.0/24\",\r\n \"52.111.203.0/24\",\r\n + \ \"52.111.204.0/24\",\r\n \"52.111.205.0/24\",\r\n \"52.111.206.0/24\",\r\n + \ \"52.111.207.0/24\",\r\n \"52.111.208.0/24\",\r\n \"52.111.224.0/24\",\r\n + \ \"52.111.225.0/24\",\r\n \"52.111.226.0/24\",\r\n \"52.111.227.0/24\",\r\n + \ \"52.111.228.0/24\",\r\n \"52.111.229.0/24\",\r\n \"52.111.230.0/24\",\r\n + \ \"52.111.231.0/24\",\r\n \"52.111.232.0/24\",\r\n \"52.111.233.0/24\",\r\n + \ \"52.111.234.0/24\",\r\n \"52.111.235.0/24\",\r\n \"52.111.236.0/24\",\r\n + \ \"52.111.237.0/24\",\r\n \"52.111.238.0/24\",\r\n \"52.111.239.0/24\",\r\n + \ \"52.111.240.0/24\",\r\n \"52.111.241.0/24\",\r\n \"52.111.242.0/24\",\r\n + \ \"52.111.243.0/24\",\r\n \"52.111.244.0/24\",\r\n \"52.111.245.0/24\",\r\n + \ \"52.111.246.0/24\",\r\n \"52.111.247.0/24\",\r\n \"52.111.248.0/24\",\r\n + \ \"52.111.249.0/24\",\r\n \"52.111.250.0/24\",\r\n \"52.111.251.0/24\",\r\n + \ \"52.111.252.0/24\",\r\n \"52.111.253.0/24\",\r\n \"52.111.254.0/24\",\r\n + \ \"52.111.255.0/24\",\r\n \"52.112.14.0/23\",\r\n \"52.112.17.0/24\",\r\n + \ \"52.112.18.0/23\",\r\n \"52.112.24.0/21\",\r\n \"52.112.40.0/21\",\r\n + \ \"52.112.48.0/20\",\r\n \"52.112.71.0/24\",\r\n \"52.112.76.0/22\",\r\n + \ \"52.112.83.0/24\",\r\n \"52.112.88.0/22\",\r\n \"52.112.93.0/24\",\r\n + \ \"52.112.94.0/24\",\r\n \"52.112.95.0/24\",\r\n \"52.112.97.0/24\",\r\n + \ \"52.112.98.0/23\",\r\n \"52.112.104.0/24\",\r\n \"52.112.105.0/24\",\r\n + \ \"52.112.106.0/23\",\r\n \"52.112.108.0/24\",\r\n \"52.112.109.0/24\",\r\n + \ \"52.112.110.0/23\",\r\n \"52.112.112.0/24\",\r\n \"52.112.113.0/24\",\r\n + \ \"52.112.114.0/24\",\r\n \"52.112.115.0/24\",\r\n \"52.112.116.0/24\",\r\n + \ \"52.112.117.0/24\",\r\n \"52.112.118.0/24\",\r\n \"52.112.144.0/20\",\r\n + \ \"52.112.168.0/22\",\r\n \"52.112.172.0/22\",\r\n \"52.112.176.0/21\",\r\n + \ \"52.112.184.0/22\",\r\n \"52.112.190.0/24\",\r\n \"52.112.191.0/24\",\r\n + \ \"52.112.197.0/24\",\r\n \"52.112.200.0/22\",\r\n \"52.112.204.0/23\",\r\n + \ \"52.112.206.0/24\",\r\n \"52.112.207.0/24\",\r\n \"52.112.212.0/24\",\r\n + \ \"52.112.213.0/24\",\r\n \"52.112.214.0/23\",\r\n \"52.112.216.0/21\",\r\n + \ \"52.112.229.0/24\",\r\n \"52.112.230.0/24\",\r\n \"52.112.231.0/24\",\r\n + \ \"52.112.232.0/24\",\r\n \"52.112.233.0/24\",\r\n \"52.112.236.0/24\",\r\n + \ \"52.112.237.0/24\",\r\n \"52.112.238.0/24\",\r\n \"52.112.240.0/20\",\r\n + \ \"52.113.9.0/24\",\r\n \"52.113.10.0/23\",\r\n \"52.113.13.0/24\",\r\n + \ \"52.113.14.0/24\",\r\n \"52.113.15.0/24\",\r\n \"52.113.16.0/20\",\r\n + \ \"52.113.37.0/24\",\r\n \"52.113.40.0/21\",\r\n \"52.113.48.0/20\",\r\n + \ \"52.113.70.0/23\",\r\n \"52.113.72.0/22\",\r\n \"52.113.76.0/23\",\r\n + \ \"52.113.78.0/23\",\r\n \"52.113.83.0/24\",\r\n \"52.113.87.0/24\",\r\n + \ \"52.113.88.0/22\",\r\n \"52.113.92.0/22\",\r\n \"52.113.96.0/22\",\r\n + \ \"52.113.100.0/24\",\r\n \"52.113.101.0/24\",\r\n \"52.113.102.0/24\",\r\n + \ \"52.113.103.0/24\",\r\n \"52.113.104.0/24\",\r\n \"52.113.105.0/24\",\r\n + \ \"52.113.106.0/24\",\r\n \"52.113.107.0/24\",\r\n \"52.113.108.0/24\",\r\n + \ \"52.113.109.0/24\",\r\n \"52.113.110.0/23\",\r\n \"52.113.112.0/20\",\r\n + \ \"52.113.128.0/24\",\r\n \"52.113.129.0/24\",\r\n \"52.113.130.0/24\",\r\n + \ \"52.113.131.0/24\",\r\n \"52.113.132.0/24\",\r\n \"52.113.133.0/24\",\r\n + \ \"52.113.134.0/24\",\r\n \"52.113.136.0/21\",\r\n \"52.113.144.0/21\",\r\n + \ \"52.113.160.0/19\",\r\n \"52.113.192.0/24\",\r\n \"52.113.193.0/24\",\r\n + \ \"52.113.198.0/24\",\r\n \"52.113.199.0/24\",\r\n \"52.113.200.0/22\",\r\n + \ \"52.113.204.0/24\",\r\n \"52.113.205.0/24\",\r\n \"52.113.206.0/24\",\r\n + \ \"52.113.207.0/24\",\r\n \"52.113.208.0/20\",\r\n \"52.113.224.0/19\",\r\n + \ \"52.114.0.0/21\",\r\n \"52.114.8.0/21\",\r\n \"52.114.16.0/22\",\r\n + \ \"52.114.20.0/22\",\r\n \"52.114.24.0/22\",\r\n \"52.114.28.0/22\",\r\n + \ \"52.114.32.0/22\",\r\n \"52.114.36.0/22\",\r\n \"52.114.40.0/22\",\r\n + \ \"52.114.44.0/22\",\r\n \"52.114.48.0/22\",\r\n \"52.114.52.0/23\",\r\n + \ \"52.114.54.0/23\",\r\n \"52.114.56.0/23\",\r\n \"52.114.58.0/23\",\r\n + \ \"52.114.60.0/23\",\r\n \"52.114.64.0/21\",\r\n \"52.114.72.0/22\",\r\n + \ \"52.114.76.0/22\",\r\n \"52.114.80.0/22\",\r\n \"52.114.84.0/22\",\r\n + \ \"52.114.88.0/22\",\r\n \"52.114.92.0/22\",\r\n \"52.114.96.0/21\",\r\n + \ \"52.114.104.0/22\",\r\n \"52.114.108.0/22\",\r\n \"52.114.112.0/23\",\r\n + \ \"52.114.116.0/22\",\r\n \"52.114.120.0/22\",\r\n \"52.114.128.0/22\",\r\n + \ \"52.114.132.0/22\",\r\n \"52.114.136.0/21\",\r\n \"52.114.144.0/22\",\r\n + \ \"52.114.148.0/22\",\r\n \"52.114.152.0/21\",\r\n \"52.114.160.0/22\",\r\n + \ \"52.114.164.0/22\",\r\n \"52.114.168.0/22\",\r\n \"52.114.172.0/22\",\r\n + \ \"52.114.176.0/22\",\r\n \"52.114.180.0/22\",\r\n \"52.114.184.0/23\",\r\n + \ \"52.114.186.0/23\",\r\n \"52.114.192.0/23\",\r\n \"52.114.194.0/23\",\r\n + \ \"52.114.196.0/22\",\r\n \"52.114.200.0/22\",\r\n \"52.114.216.0/22\",\r\n + \ \"52.114.224.0/24\",\r\n \"52.114.226.0/24\",\r\n \"52.114.228.0/24\",\r\n + \ \"52.114.230.0/24\",\r\n \"52.114.231.0/24\",\r\n \"52.114.232.0/24\",\r\n + \ \"52.114.233.0/24\",\r\n \"52.114.234.0/24\",\r\n \"52.114.236.0/24\",\r\n + \ \"52.114.238.0/24\",\r\n \"52.114.240.0/24\",\r\n \"52.114.241.0/24\",\r\n + \ \"52.114.242.0/24\",\r\n \"52.114.244.0/24\",\r\n \"52.114.248.0/22\",\r\n + \ \"52.114.252.0/22\",\r\n \"52.115.0.0/21\",\r\n \"52.115.8.0/22\",\r\n + \ \"52.115.16.0/21\",\r\n \"52.115.24.0/22\",\r\n \"52.115.32.0/22\",\r\n + \ \"52.115.36.0/23\",\r\n \"52.115.38.0/24\",\r\n \"52.115.39.0/24\",\r\n + \ \"52.115.40.0/22\",\r\n \"52.115.44.0/23\",\r\n \"52.115.46.0/24\",\r\n + \ \"52.115.47.0/24\",\r\n \"52.115.48.0/22\",\r\n \"52.115.52.0/23\",\r\n + \ \"52.115.54.0/24\",\r\n \"52.115.55.0/24\",\r\n \"52.115.56.0/22\",\r\n + \ \"52.115.60.0/23\",\r\n \"52.115.62.0/23\",\r\n \"52.115.64.0/22\",\r\n + \ \"52.115.68.0/22\",\r\n \"52.115.72.0/22\",\r\n \"52.115.76.0/22\",\r\n + \ \"52.115.80.0/22\",\r\n \"52.115.84.0/22\",\r\n \"52.115.88.0/22\",\r\n + \ \"52.115.96.0/24\",\r\n \"52.115.97.0/24\",\r\n \"52.115.98.0/24\",\r\n + \ \"52.115.99.0/24\",\r\n \"52.115.100.0/22\",\r\n \"52.115.104.0/23\",\r\n + \ \"52.115.106.0/23\",\r\n \"52.115.108.0/22\",\r\n \"52.115.128.0/21\",\r\n + \ \"52.115.136.0/22\",\r\n \"52.115.140.0/22\",\r\n \"52.115.144.0/20\",\r\n + \ \"52.115.160.0/19\",\r\n \"52.115.192.0/19\",\r\n \"52.120.0.0/19\",\r\n + \ \"52.120.32.0/19\",\r\n \"52.120.64.0/19\",\r\n \"52.120.96.0/19\",\r\n + \ \"52.120.128.0/21\",\r\n \"52.120.136.0/21\",\r\n \"52.120.144.0/21\",\r\n + \ \"52.120.152.0/22\",\r\n \"52.120.156.0/24\",\r\n \"52.120.157.0/24\",\r\n + \ \"52.120.158.0/23\",\r\n \"52.120.160.0/19\",\r\n \"52.120.192.0/20\",\r\n + \ \"52.120.208.0/20\",\r\n \"52.120.224.0/20\",\r\n \"52.120.240.0/20\",\r\n + \ \"52.121.0.0/21\",\r\n \"52.121.16.0/21\",\r\n \"52.121.24.0/21\",\r\n + \ \"52.121.32.0/22\",\r\n \"52.121.36.0/22\",\r\n \"52.121.40.0/21\",\r\n + \ \"52.121.48.0/20\",\r\n \"52.121.64.0/20\",\r\n \"52.121.80.0/22\",\r\n + \ \"52.121.84.0/23\",\r\n \"52.121.86.0/23\",\r\n \"52.121.88.0/21\",\r\n + \ \"52.121.96.0/22\",\r\n \"52.121.100.0/22\",\r\n \"52.121.104.0/23\",\r\n + \ \"52.121.106.0/23\",\r\n \"52.121.108.0/22\",\r\n \"52.121.112.0/22\",\r\n + \ \"52.121.116.0/22\",\r\n \"52.121.120.0/23\",\r\n \"52.121.122.0/23\",\r\n + \ \"52.121.124.0/22\",\r\n \"52.121.128.0/20\",\r\n \"52.121.144.0/21\",\r\n + \ \"52.121.152.0/21\",\r\n \"52.121.160.0/22\",\r\n \"52.121.164.0/24\",\r\n + \ \"52.121.165.0/24\",\r\n \"52.121.168.0/22\",\r\n \"52.121.172.0/22\",\r\n + \ \"52.121.176.0/23\",\r\n \"52.123.0.0/24\",\r\n \"52.123.1.0/24\",\r\n + \ \"52.123.2.0/24\",\r\n \"52.123.3.0/24\",\r\n \"52.123.4.0/24\",\r\n + \ \"52.123.5.0/24\",\r\n \"52.125.128.0/22\",\r\n \"52.125.132.0/22\",\r\n + \ \"52.125.136.0/24\",\r\n \"52.125.137.0/24\",\r\n \"52.125.138.0/23\",\r\n + \ \"52.125.140.0/23\",\r\n \"52.136.0.0/22\",\r\n \"52.136.4.0/22\",\r\n + \ \"52.136.8.0/21\",\r\n \"52.136.16.0/24\",\r\n \"52.136.17.0/24\",\r\n + \ \"52.136.18.0/24\",\r\n \"52.136.19.0/24\",\r\n \"52.136.20.0/24\",\r\n + \ \"52.136.21.0/24\",\r\n \"52.136.22.0/24\",\r\n \"52.136.23.0/24\",\r\n + \ \"52.136.24.0/24\",\r\n \"52.136.25.0/24\",\r\n \"52.136.26.0/24\",\r\n + \ \"52.136.27.0/24\",\r\n \"52.136.28.0/24\",\r\n \"52.136.29.0/24\",\r\n + \ \"52.136.30.0/24\",\r\n \"52.136.31.0/24\",\r\n \"52.136.32.0/19\",\r\n + \ \"52.136.64.0/18\",\r\n \"52.136.128.0/18\",\r\n \"52.136.192.0/18\",\r\n + \ \"52.137.0.0/18\",\r\n \"52.137.64.0/18\",\r\n \"52.137.128.0/17\",\r\n + \ \"52.138.0.0/18\",\r\n \"52.138.64.0/20\",\r\n \"52.138.80.0/21\",\r\n + \ \"52.138.88.0/21\",\r\n \"52.138.96.0/19\",\r\n \"52.138.128.0/17\",\r\n + \ \"52.139.0.0/18\",\r\n \"52.139.64.0/18\",\r\n \"52.139.128.0/18\",\r\n + \ \"52.139.192.0/18\",\r\n \"52.140.0.0/18\",\r\n \"52.140.64.0/18\",\r\n + \ \"52.140.128.0/18\",\r\n \"52.140.192.0/18\",\r\n \"52.141.0.0/18\",\r\n + \ \"52.141.64.0/18\",\r\n \"52.141.128.0/18\",\r\n \"52.141.192.0/19\",\r\n + \ \"52.141.224.0/20\",\r\n \"52.141.240.0/20\",\r\n \"52.142.0.0/18\",\r\n + \ \"52.142.64.0/18\",\r\n \"52.142.128.0/18\",\r\n \"52.142.192.0/18\",\r\n + \ \"52.143.0.0/18\",\r\n \"52.143.64.0/18\",\r\n \"52.143.128.0/18\",\r\n + \ \"52.143.192.0/24\",\r\n \"52.143.193.0/24\",\r\n \"52.143.194.0/24\",\r\n + \ \"52.143.195.0/24\",\r\n \"52.143.196.0/24\",\r\n \"52.143.197.0/24\",\r\n + \ \"52.143.198.0/24\",\r\n \"52.143.199.0/24\",\r\n \"52.143.200.0/23\",\r\n + \ \"52.143.202.0/24\",\r\n \"52.143.203.0/24\",\r\n \"52.143.204.0/23\",\r\n + \ \"52.143.206.0/24\",\r\n \"52.143.207.0/24\",\r\n \"52.143.208.0/24\",\r\n + \ \"52.143.209.0/24\",\r\n \"52.143.210.0/24\",\r\n \"52.143.211.0/24\",\r\n + \ \"52.143.212.0/23\",\r\n \"52.143.214.0/24\",\r\n \"52.143.215.0/24\",\r\n + \ \"52.143.216.0/23\",\r\n \"52.143.218.0/24\",\r\n \"52.143.219.0/24\",\r\n + \ \"52.143.221.0/24\",\r\n \"52.143.222.0/23\",\r\n \"52.143.224.0/19\",\r\n + \ \"52.146.0.0/17\",\r\n \"52.146.128.0/17\",\r\n \"52.147.0.0/19\",\r\n + \ \"52.147.32.0/19\",\r\n \"52.147.64.0/19\",\r\n \"52.147.96.0/19\",\r\n + \ \"52.147.128.0/19\",\r\n \"52.147.160.0/19\",\r\n \"52.147.192.0/18\",\r\n + \ \"52.148.0.0/18\",\r\n \"52.148.64.0/18\",\r\n \"52.148.128.0/18\",\r\n + \ \"52.148.192.0/18\",\r\n \"52.149.0.0/18\",\r\n \"52.149.64.0/18\",\r\n + \ \"52.149.128.0/17\",\r\n \"52.150.0.0/17\",\r\n \"52.150.128.0/17\",\r\n + \ \"52.151.0.0/18\",\r\n \"52.151.64.0/18\",\r\n \"52.151.128.0/17\",\r\n + \ \"52.152.0.0/17\",\r\n \"52.152.128.0/17\",\r\n \"52.153.0.0/18\",\r\n + \ \"52.153.64.0/18\",\r\n \"52.153.128.0/18\",\r\n \"52.153.192.0/18\",\r\n + \ \"52.154.0.0/18\",\r\n \"52.154.64.0/18\",\r\n \"52.154.128.0/17\",\r\n + \ \"52.155.0.0/19\",\r\n \"52.155.32.0/19\",\r\n \"52.155.64.0/19\",\r\n + \ \"52.155.96.0/19\",\r\n \"52.155.128.0/17\",\r\n \"52.156.0.0/19\",\r\n + \ \"52.156.32.0/19\",\r\n \"52.156.64.0/18\",\r\n \"52.156.128.0/19\",\r\n + \ \"52.156.160.0/19\",\r\n \"52.156.192.0/18\",\r\n \"52.157.0.0/18\",\r\n + \ \"52.157.64.0/18\",\r\n \"52.157.128.0/17\",\r\n \"52.158.0.0/17\",\r\n + \ \"52.158.128.0/19\",\r\n \"52.158.160.0/20\",\r\n \"52.158.176.0/20\",\r\n + \ \"52.158.192.0/19\",\r\n \"52.158.224.0/19\",\r\n \"52.159.0.0/18\",\r\n + \ \"52.159.64.0/19\",\r\n \"52.159.128.0/17\",\r\n \"52.160.0.0/16\",\r\n + \ \"52.161.0.0/16\",\r\n \"52.162.0.0/16\",\r\n \"52.163.0.0/16\",\r\n + \ \"52.164.0.0/16\",\r\n \"52.165.0.0/19\",\r\n \"52.165.32.0/20\",\r\n + \ \"52.165.48.0/28\",\r\n \"52.165.49.0/24\",\r\n \"52.165.56.0/21\",\r\n + \ \"52.165.64.0/19\",\r\n \"52.165.96.0/21\",\r\n \"52.165.104.0/25\",\r\n + \ \"52.165.104.128/26\",\r\n \"52.165.128.0/17\",\r\n \"52.166.0.0/16\",\r\n + \ \"52.167.0.0/16\",\r\n \"52.168.0.0/16\",\r\n \"52.169.0.0/16\",\r\n + \ \"52.170.0.0/16\",\r\n \"52.171.0.0/16\",\r\n \"52.172.0.0/17\",\r\n + \ \"52.172.128.0/17\",\r\n \"52.173.0.0/16\",\r\n \"52.174.0.0/16\",\r\n + \ \"52.175.0.0/17\",\r\n \"52.175.128.0/18\",\r\n \"52.175.192.0/18\",\r\n + \ \"52.176.0.0/17\",\r\n \"52.176.128.0/19\",\r\n \"52.176.160.0/21\",\r\n + \ \"52.176.176.0/20\",\r\n \"52.176.192.0/19\",\r\n \"52.176.224.0/24\",\r\n + \ \"52.176.225.0/24\",\r\n \"52.176.232.0/21\",\r\n \"52.176.240.0/20\",\r\n + \ \"52.177.0.0/16\",\r\n \"52.178.0.0/17\",\r\n \"52.178.128.0/17\",\r\n + \ \"52.179.0.0/17\",\r\n \"52.179.128.0/17\",\r\n \"52.180.0.0/17\",\r\n + \ \"52.180.128.0/19\",\r\n \"52.180.160.0/20\",\r\n \"52.180.176.0/21\",\r\n + \ \"52.180.184.0/27\",\r\n \"52.180.184.32/28\",\r\n \"52.180.185.0/24\",\r\n + \ \"52.182.128.0/17\",\r\n \"52.183.0.0/17\",\r\n \"52.183.128.0/18\",\r\n + \ \"52.183.192.0/18\",\r\n \"52.184.0.0/17\",\r\n \"52.184.128.0/19\",\r\n + \ \"52.184.160.0/21\",\r\n \"52.184.168.0/28\",\r\n \"52.184.168.16/28\",\r\n + \ \"52.184.168.32/28\",\r\n \"52.184.168.80/28\",\r\n \"52.184.168.96/27\",\r\n + \ \"52.184.168.128/28\",\r\n \"52.184.169.0/24\",\r\n \"52.184.170.0/24\",\r\n + \ \"52.184.176.0/20\",\r\n \"52.184.192.0/18\",\r\n \"52.185.0.0/19\",\r\n + \ \"52.185.32.0/20\",\r\n \"52.185.48.0/21\",\r\n \"52.185.56.0/26\",\r\n + \ \"52.185.56.64/27\",\r\n \"52.185.56.96/28\",\r\n \"52.185.56.112/28\",\r\n + \ \"52.185.56.128/27\",\r\n \"52.185.56.160/28\",\r\n \"52.185.64.0/19\",\r\n + \ \"52.185.96.0/20\",\r\n \"52.185.112.0/26\",\r\n \"52.185.112.64/27\",\r\n + \ \"52.185.112.96/27\",\r\n \"52.185.120.0/21\",\r\n \"52.185.128.0/18\",\r\n + \ \"52.185.192.0/18\",\r\n \"52.186.0.0/16\",\r\n \"52.187.0.0/17\",\r\n + \ \"52.187.128.0/18\",\r\n \"52.187.192.0/18\",\r\n \"52.188.0.0/16\",\r\n + \ \"52.189.0.0/17\",\r\n \"52.189.128.0/18\",\r\n \"52.189.192.0/18\",\r\n + \ \"52.190.0.0/17\",\r\n \"52.190.128.0/17\",\r\n \"52.191.0.0/17\",\r\n + \ \"52.191.128.0/18\",\r\n \"52.191.192.0/18\",\r\n \"52.224.0.0/16\",\r\n + \ \"52.225.0.0/17\",\r\n \"52.225.128.0/21\",\r\n \"52.225.136.0/27\",\r\n + \ \"52.225.136.32/28\",\r\n \"52.225.136.48/28\",\r\n \"52.225.136.64/28\",\r\n + \ \"52.225.137.0/24\",\r\n \"52.225.144.0/20\",\r\n \"52.225.160.0/19\",\r\n + \ \"52.225.192.0/18\",\r\n \"52.226.0.0/16\",\r\n \"52.228.0.0/17\",\r\n + \ \"52.228.128.0/17\",\r\n \"52.229.0.0/18\",\r\n \"52.229.64.0/18\",\r\n + \ \"52.229.128.0/17\",\r\n \"52.230.0.0/17\",\r\n \"52.230.128.0/17\",\r\n + \ \"52.231.0.0/17\",\r\n \"52.231.128.0/17\",\r\n \"52.232.0.0/17\",\r\n + \ \"52.232.128.0/21\",\r\n \"52.232.136.0/21\",\r\n \"52.232.144.0/24\",\r\n + \ \"52.232.145.0/24\",\r\n \"52.232.146.0/24\",\r\n \"52.232.147.0/24\",\r\n + \ \"52.232.148.0/24\",\r\n \"52.232.149.0/24\",\r\n \"52.232.150.0/24\",\r\n + \ \"52.232.151.0/24\",\r\n \"52.232.152.0/24\",\r\n \"52.232.153.0/24\",\r\n + \ \"52.232.154.0/24\",\r\n \"52.232.155.0/24\",\r\n \"52.232.156.0/24\",\r\n + \ \"52.232.157.0/24\",\r\n \"52.232.158.0/24\",\r\n \"52.232.159.0/24\",\r\n + \ \"52.232.160.0/19\",\r\n \"52.232.192.0/18\",\r\n \"52.233.0.0/18\",\r\n + \ \"52.233.64.0/18\",\r\n \"52.233.128.0/17\",\r\n \"52.234.0.0/17\",\r\n + \ \"52.234.128.0/17\",\r\n \"52.235.0.0/18\",\r\n \"52.235.64.0/18\",\r\n + \ \"52.236.0.0/17\",\r\n \"52.236.128.0/17\",\r\n \"52.237.0.0/18\",\r\n + \ \"52.237.64.0/18\",\r\n \"52.237.128.0/18\",\r\n \"52.237.192.0/18\",\r\n + \ \"52.238.0.0/18\",\r\n \"52.238.192.0/18\",\r\n \"52.239.0.0/17\",\r\n + \ \"52.239.128.0/24\",\r\n \"52.239.129.0/24\",\r\n \"52.239.130.0/23\",\r\n + \ \"52.239.132.0/23\",\r\n \"52.239.134.0/24\",\r\n \"52.239.135.0/26\",\r\n + \ \"52.239.135.64/26\",\r\n \"52.239.135.128/26\",\r\n \"52.239.135.192/26\",\r\n + \ \"52.239.136.0/22\",\r\n \"52.239.140.0/22\",\r\n \"52.239.144.0/23\",\r\n + \ \"52.239.146.0/23\",\r\n \"52.239.148.0/27\",\r\n \"52.239.148.64/26\",\r\n + \ \"52.239.148.128/25\",\r\n \"52.239.149.0/24\",\r\n \"52.239.150.0/23\",\r\n + \ \"52.239.152.0/22\",\r\n \"52.239.156.0/24\",\r\n \"52.239.157.0/25\",\r\n + \ \"52.239.157.128/26\",\r\n \"52.239.157.192/27\",\r\n \"52.239.157.224/27\",\r\n + \ \"52.239.158.0/23\",\r\n \"52.239.160.0/22\",\r\n \"52.239.164.0/25\",\r\n + \ \"52.239.164.128/26\",\r\n \"52.239.164.192/26\",\r\n \"52.239.165.0/26\",\r\n + \ \"52.239.165.160/27\",\r\n \"52.239.165.192/26\",\r\n \"52.239.167.0/24\",\r\n + \ \"52.239.168.0/22\",\r\n \"52.239.172.0/22\",\r\n \"52.239.176.128/25\",\r\n + \ \"52.239.177.0/27\",\r\n \"52.239.177.32/27\",\r\n \"52.239.177.64/26\",\r\n + \ \"52.239.177.128/25\",\r\n \"52.239.178.0/23\",\r\n \"52.239.180.0/22\",\r\n + \ \"52.239.184.0/25\",\r\n \"52.239.184.160/28\",\r\n \"52.239.184.176/28\",\r\n + \ \"52.239.184.192/27\",\r\n \"52.239.184.224/27\",\r\n \"52.239.185.0/28\",\r\n + \ \"52.239.185.32/27\",\r\n \"52.239.186.0/24\",\r\n \"52.239.187.0/25\",\r\n + \ \"52.239.187.128/25\",\r\n \"52.239.188.0/24\",\r\n \"52.239.189.0/24\",\r\n + \ \"52.239.190.0/25\",\r\n \"52.239.190.128/26\",\r\n \"52.239.190.192/26\",\r\n + \ \"52.239.192.0/26\",\r\n \"52.239.192.64/28\",\r\n \"52.239.192.96/27\",\r\n + \ \"52.239.192.128/27\",\r\n \"52.239.192.160/27\",\r\n \"52.239.192.192/26\",\r\n + \ \"52.239.193.0/24\",\r\n \"52.239.194.0/24\",\r\n \"52.239.195.0/24\",\r\n + \ \"52.239.196.0/24\",\r\n \"52.239.197.0/24\",\r\n \"52.239.198.0/25\",\r\n + \ \"52.239.198.128/27\",\r\n \"52.239.198.192/26\",\r\n \"52.239.199.0/24\",\r\n + \ \"52.239.200.0/23\",\r\n \"52.239.202.0/24\",\r\n \"52.239.203.0/24\",\r\n + \ \"52.239.205.0/24\",\r\n \"52.239.206.0/24\",\r\n \"52.239.207.32/28\",\r\n + \ \"52.239.207.64/26\",\r\n \"52.239.207.128/27\",\r\n \"52.239.207.192/26\",\r\n + \ \"52.239.208.0/23\",\r\n \"52.239.210.0/23\",\r\n \"52.239.212.0/23\",\r\n + \ \"52.239.214.0/23\",\r\n \"52.239.216.0/23\",\r\n \"52.239.218.0/23\",\r\n + \ \"52.239.220.0/23\",\r\n \"52.239.222.0/23\",\r\n \"52.239.224.0/24\",\r\n + \ \"52.239.225.0/24\",\r\n \"52.239.226.0/24\",\r\n \"52.239.227.0/24\",\r\n + \ \"52.239.228.0/23\",\r\n \"52.239.230.0/24\",\r\n \"52.239.231.0/24\",\r\n + \ \"52.239.232.0/25\",\r\n \"52.239.232.128/25\",\r\n \"52.239.233.0/25\",\r\n + \ \"52.239.233.128/25\",\r\n \"52.239.234.0/23\",\r\n \"52.239.236.0/23\",\r\n + \ \"52.239.238.0/24\",\r\n \"52.239.239.0/24\",\r\n \"52.239.240.0/24\",\r\n + \ \"52.239.241.0/24\",\r\n \"52.239.242.0/23\",\r\n \"52.239.244.0/23\",\r\n + \ \"52.239.246.0/23\",\r\n \"52.239.248.0/24\",\r\n \"52.239.249.0/24\",\r\n + \ \"52.239.250.0/24\",\r\n \"52.239.251.0/24\",\r\n \"52.239.252.0/24\",\r\n + \ \"52.239.253.0/24\",\r\n \"52.239.254.0/23\",\r\n \"52.240.0.0/17\",\r\n + \ \"52.240.128.0/17\",\r\n \"52.241.0.0/16\",\r\n \"52.242.0.0/18\",\r\n + \ \"52.242.64.0/18\",\r\n \"52.242.128.0/17\",\r\n \"52.243.32.0/19\",\r\n + \ \"52.243.64.0/18\",\r\n \"52.245.8.0/22\",\r\n \"52.245.12.0/22\",\r\n + \ \"52.245.16.0/22\",\r\n \"52.245.20.0/22\",\r\n \"52.245.24.0/22\",\r\n + \ \"52.245.28.0/22\",\r\n \"52.245.32.0/22\",\r\n \"52.245.36.0/22\",\r\n + \ \"52.245.40.0/22\",\r\n \"52.245.44.0/24\",\r\n \"52.245.45.0/25\",\r\n + \ \"52.245.45.128/28\",\r\n \"52.245.45.144/28\",\r\n \"52.245.45.160/27\",\r\n + \ \"52.245.45.192/26\",\r\n \"52.245.46.0/27\",\r\n \"52.245.46.32/28\",\r\n + \ \"52.245.46.48/28\",\r\n \"52.245.46.64/28\",\r\n \"52.245.46.80/28\",\r\n + \ \"52.245.46.96/28\",\r\n \"52.245.46.112/28\",\r\n \"52.245.46.128/28\",\r\n + \ \"52.245.46.160/27\",\r\n \"52.245.46.192/26\",\r\n \"52.245.48.0/22\",\r\n + \ \"52.245.52.0/22\",\r\n \"52.245.56.0/22\",\r\n \"52.245.60.0/22\",\r\n + \ \"52.245.64.0/22\",\r\n \"52.245.68.0/24\",\r\n \"52.245.69.0/27\",\r\n + \ \"52.245.69.32/27\",\r\n \"52.245.69.64/27\",\r\n \"52.245.69.96/28\",\r\n + \ \"52.245.69.144/28\",\r\n \"52.245.69.160/27\",\r\n \"52.245.69.192/26\",\r\n + \ \"52.245.70.0/23\",\r\n \"52.245.72.0/22\",\r\n \"52.245.76.0/22\",\r\n + \ \"52.245.80.0/22\",\r\n \"52.245.84.0/22\",\r\n \"52.245.88.0/22\",\r\n + \ \"52.245.92.0/22\",\r\n \"52.245.96.0/22\",\r\n \"52.245.100.0/22\",\r\n + \ \"52.245.104.0/22\",\r\n \"52.245.108.0/22\",\r\n \"52.245.112.0/22\",\r\n + \ \"52.245.116.0/22\",\r\n \"52.245.120.0/22\",\r\n \"52.245.124.0/22\",\r\n + \ \"52.246.0.0/17\",\r\n \"52.246.128.0/20\",\r\n \"52.246.152.0/21\",\r\n + \ \"52.246.160.0/19\",\r\n \"52.246.192.0/18\",\r\n \"52.247.0.0/17\",\r\n + \ \"52.247.192.0/18\",\r\n \"52.248.0.0/17\",\r\n \"52.248.128.0/17\",\r\n + \ \"52.249.0.0/18\",\r\n \"52.249.64.0/19\",\r\n \"52.249.128.0/17\",\r\n + \ \"52.250.0.0/17\",\r\n \"52.250.128.0/18\",\r\n \"52.250.192.0/18\",\r\n + \ \"52.251.0.0/17\",\r\n \"52.252.0.0/17\",\r\n \"52.252.128.0/17\",\r\n + \ \"52.253.0.0/18\",\r\n \"52.253.64.0/20\",\r\n \"52.253.80.0/20\",\r\n + \ \"52.253.96.0/19\",\r\n \"52.253.128.0/20\",\r\n \"52.253.148.0/23\",\r\n + \ \"52.253.150.0/23\",\r\n \"52.253.152.0/23\",\r\n \"52.253.154.0/23\",\r\n + \ \"52.253.156.0/22\",\r\n \"52.253.160.0/24\",\r\n \"52.253.161.0/24\",\r\n + \ \"52.253.162.0/23\",\r\n \"52.253.165.0/24\",\r\n \"52.253.166.0/24\",\r\n + \ \"52.253.167.0/24\",\r\n \"52.253.168.0/24\",\r\n \"52.253.169.0/24\",\r\n + \ \"52.253.170.0/23\",\r\n \"52.253.172.0/24\",\r\n \"52.253.173.0/24\",\r\n + \ \"52.253.174.0/24\",\r\n \"52.253.175.0/24\",\r\n \"52.253.176.0/24\",\r\n + \ \"52.253.177.0/24\",\r\n \"52.253.178.0/24\",\r\n \"52.253.179.0/24\",\r\n + \ \"52.253.180.0/24\",\r\n \"52.253.181.0/24\",\r\n \"52.253.185.0/24\",\r\n + \ \"52.253.186.0/24\",\r\n \"52.253.191.0/24\",\r\n \"52.253.196.0/24\",\r\n + \ \"52.253.197.0/24\",\r\n \"52.253.224.0/21\",\r\n \"52.253.232.0/21\",\r\n + \ \"52.254.0.0/18\",\r\n \"52.254.64.0/19\",\r\n \"52.254.96.0/20\",\r\n + \ \"52.254.112.0/21\",\r\n \"52.254.120.0/21\",\r\n \"52.254.128.0/17\",\r\n + \ \"52.255.0.0/19\",\r\n \"52.255.32.0/19\",\r\n \"52.255.64.0/18\",\r\n + \ \"52.255.128.0/17\",\r\n \"53.103.135.0/24\",\r\n \"53.103.136.0/24\",\r\n + \ \"53.103.137.0/24\",\r\n \"53.103.138.0/24\",\r\n \"53.103.139.0/24\",\r\n + \ \"53.103.140.0/24\",\r\n \"53.103.141.0/24\",\r\n \"53.103.142.0/24\",\r\n + \ \"53.103.143.0/24\",\r\n \"64.4.8.0/24\",\r\n \"64.4.54.0/24\",\r\n + \ \"65.52.0.0/19\",\r\n \"65.52.32.0/21\",\r\n \"65.52.48.0/20\",\r\n + \ \"65.52.64.0/20\",\r\n \"65.52.104.0/24\",\r\n \"65.52.106.0/24\",\r\n + \ \"65.52.108.0/23\",\r\n \"65.52.110.0/24\",\r\n \"65.52.111.0/24\",\r\n + \ \"65.52.112.0/20\",\r\n \"65.52.128.0/19\",\r\n \"65.52.160.0/19\",\r\n + \ \"65.52.192.0/19\",\r\n \"65.52.224.0/21\",\r\n \"65.52.232.0/21\",\r\n + \ \"65.52.240.0/21\",\r\n \"65.52.248.0/21\",\r\n \"65.54.19.128/27\",\r\n + \ \"65.54.55.160/27\",\r\n \"65.54.55.224/27\",\r\n \"65.55.32.128/28\",\r\n + \ \"65.55.32.192/27\",\r\n \"65.55.32.224/28\",\r\n \"65.55.33.176/28\",\r\n + \ \"65.55.33.192/28\",\r\n \"65.55.35.192/27\",\r\n \"65.55.44.8/29\",\r\n + \ \"65.55.44.16/28\",\r\n \"65.55.44.32/27\",\r\n \"65.55.44.64/27\",\r\n + \ \"65.55.44.96/28\",\r\n \"65.55.44.112/28\",\r\n \"65.55.44.128/27\",\r\n + \ \"65.55.51.0/24\",\r\n \"65.55.60.176/29\",\r\n \"65.55.60.188/30\",\r\n + \ \"65.55.105.0/26\",\r\n \"65.55.105.96/27\",\r\n \"65.55.105.160/27\",\r\n + \ \"65.55.105.192/27\",\r\n \"65.55.105.224/27\",\r\n \"65.55.106.0/26\",\r\n + \ \"65.55.106.64/27\",\r\n \"65.55.106.128/26\",\r\n \"65.55.106.192/28\",\r\n + \ \"65.55.106.208/28\",\r\n \"65.55.106.224/28\",\r\n \"65.55.106.240/28\",\r\n + \ \"65.55.107.0/28\",\r\n \"65.55.107.48/28\",\r\n \"65.55.107.64/27\",\r\n + \ \"65.55.107.96/27\",\r\n \"65.55.108.0/24\",\r\n \"65.55.109.0/24\",\r\n + \ \"65.55.110.0/24\",\r\n \"65.55.120.0/24\",\r\n \"65.55.144.0/23\",\r\n + \ \"65.55.146.0/24\",\r\n \"65.55.207.0/24\",\r\n \"65.55.209.0/25\",\r\n + \ \"65.55.209.128/26\",\r\n \"65.55.209.192/26\",\r\n \"65.55.210.0/24\",\r\n + \ \"65.55.211.0/27\",\r\n \"65.55.211.32/27\",\r\n \"65.55.212.0/27\",\r\n + \ \"65.55.212.128/25\",\r\n \"65.55.213.0/27\",\r\n \"65.55.213.64/26\",\r\n + \ \"65.55.213.128/26\",\r\n \"65.55.217.0/24\",\r\n \"65.55.218.0/24\",\r\n + \ \"65.55.219.0/27\",\r\n \"65.55.219.32/27\",\r\n \"65.55.219.64/26\",\r\n + \ \"65.55.219.128/25\",\r\n \"65.55.250.0/24\",\r\n \"65.55.252.0/24\",\r\n + \ \"70.37.0.0/21\",\r\n \"70.37.8.0/22\",\r\n \"70.37.12.0/32\",\r\n + \ \"70.37.16.0/20\",\r\n \"70.37.32.0/20\",\r\n \"70.37.48.0/20\",\r\n + \ \"70.37.64.0/18\",\r\n \"70.37.160.0/21\",\r\n \"94.245.88.0/21\",\r\n + \ \"94.245.104.0/21\",\r\n \"94.245.114.1/32\",\r\n \"94.245.114.2/31\",\r\n + \ \"94.245.114.4/32\",\r\n \"94.245.114.33/32\",\r\n \"94.245.114.34/31\",\r\n + \ \"94.245.114.36/32\",\r\n \"94.245.117.96/27\",\r\n \"94.245.118.0/27\",\r\n + \ \"94.245.118.65/32\",\r\n \"94.245.118.66/31\",\r\n \"94.245.118.68/32\",\r\n + \ \"94.245.118.97/32\",\r\n \"94.245.118.98/31\",\r\n \"94.245.118.100/32\",\r\n + \ \"94.245.118.129/32\",\r\n \"94.245.118.130/31\",\r\n \"94.245.118.132/32\",\r\n + \ \"94.245.120.128/28\",\r\n \"94.245.122.0/24\",\r\n \"94.245.123.144/28\",\r\n + \ \"94.245.123.176/28\",\r\n \"102.37.0.0/20\",\r\n \"102.37.16.0/21\",\r\n + \ \"102.37.24.0/23\",\r\n \"102.37.26.0/27\",\r\n \"102.37.26.32/27\",\r\n + \ \"102.37.32.0/19\",\r\n \"102.37.64.0/21\",\r\n \"102.37.72.0/21\",\r\n + \ \"102.37.80.0/21\",\r\n \"102.37.96.0/19\",\r\n \"102.37.128.0/19\",\r\n + \ \"102.37.160.0/21\",\r\n \"102.37.192.0/18\",\r\n \"102.133.0.0/18\",\r\n + \ \"102.133.64.0/19\",\r\n \"102.133.96.0/20\",\r\n \"102.133.112.0/28\",\r\n + \ \"102.133.120.0/21\",\r\n \"102.133.128.0/18\",\r\n \"102.133.192.0/19\",\r\n + \ \"102.133.224.0/20\",\r\n \"102.133.240.0/25\",\r\n \"102.133.240.128/26\",\r\n + \ \"102.133.248.0/21\",\r\n \"104.40.0.0/17\",\r\n \"104.40.128.0/17\",\r\n + \ \"104.41.0.0/18\",\r\n \"104.41.64.0/18\",\r\n \"104.41.128.0/19\",\r\n + \ \"104.41.160.0/19\",\r\n \"104.41.192.0/18\",\r\n \"104.42.0.0/16\",\r\n + \ \"104.43.0.0/17\",\r\n \"104.43.128.0/17\",\r\n \"104.44.88.0/27\",\r\n + \ \"104.44.88.32/27\",\r\n \"104.44.88.64/27\",\r\n \"104.44.88.96/27\",\r\n + \ \"104.44.88.128/27\",\r\n \"104.44.88.160/27\",\r\n \"104.44.88.192/27\",\r\n + \ \"104.44.88.224/27\",\r\n \"104.44.89.0/27\",\r\n \"104.44.89.32/27\",\r\n + \ \"104.44.89.64/27\",\r\n \"104.44.89.96/27\",\r\n \"104.44.89.128/27\",\r\n + \ \"104.44.89.160/27\",\r\n \"104.44.89.192/27\",\r\n \"104.44.89.224/27\",\r\n + \ \"104.44.90.0/27\",\r\n \"104.44.90.32/27\",\r\n \"104.44.90.64/26\",\r\n + \ \"104.44.90.128/27\",\r\n \"104.44.90.160/27\",\r\n \"104.44.90.192/27\",\r\n + \ \"104.44.90.224/27\",\r\n \"104.44.91.0/27\",\r\n \"104.44.91.32/27\",\r\n + \ \"104.44.91.64/27\",\r\n \"104.44.91.96/27\",\r\n \"104.44.91.128/27\",\r\n + \ \"104.44.91.160/27\",\r\n \"104.44.91.192/27\",\r\n \"104.44.91.224/27\",\r\n + \ \"104.44.92.0/27\",\r\n \"104.44.92.32/27\",\r\n \"104.44.92.64/27\",\r\n + \ \"104.44.92.96/27\",\r\n \"104.44.92.128/27\",\r\n \"104.44.92.160/27\",\r\n + \ \"104.44.92.192/27\",\r\n \"104.44.92.224/27\",\r\n \"104.44.93.0/27\",\r\n + \ \"104.44.93.32/27\",\r\n \"104.44.93.64/27\",\r\n \"104.44.93.96/27\",\r\n + \ \"104.44.93.128/27\",\r\n \"104.44.93.160/27\",\r\n \"104.44.93.192/27\",\r\n + \ \"104.44.93.224/27\",\r\n \"104.44.94.0/28\",\r\n \"104.44.94.16/28\",\r\n + \ \"104.44.94.32/28\",\r\n \"104.44.94.48/28\",\r\n \"104.44.94.64/28\",\r\n + \ \"104.44.94.80/28\",\r\n \"104.44.94.96/28\",\r\n \"104.44.94.112/28\",\r\n + \ \"104.44.94.128/28\",\r\n \"104.44.94.144/28\",\r\n \"104.44.94.160/27\",\r\n + \ \"104.44.94.192/28\",\r\n \"104.44.94.208/28\",\r\n \"104.44.94.224/27\",\r\n + \ \"104.44.95.0/28\",\r\n \"104.44.95.16/28\",\r\n \"104.44.95.32/28\",\r\n + \ \"104.44.95.48/28\",\r\n \"104.44.95.64/28\",\r\n \"104.44.95.80/28\",\r\n + \ \"104.44.95.96/28\",\r\n \"104.44.95.112/28\",\r\n \"104.44.95.128/27\",\r\n + \ \"104.44.95.160/27\",\r\n \"104.44.95.192/28\",\r\n \"104.44.95.208/28\",\r\n + \ \"104.44.95.224/28\",\r\n \"104.44.95.240/28\",\r\n \"104.44.128.0/18\",\r\n + \ \"104.45.0.0/18\",\r\n \"104.45.64.0/20\",\r\n \"104.45.80.0/20\",\r\n + \ \"104.45.96.0/19\",\r\n \"104.45.128.0/18\",\r\n \"104.45.192.0/20\",\r\n + \ \"104.45.208.0/20\",\r\n \"104.45.224.0/19\",\r\n \"104.46.0.0/21\",\r\n + \ \"104.46.8.0/21\",\r\n \"104.46.24.0/22\",\r\n \"104.46.28.0/24\",\r\n + \ \"104.46.29.0/24\",\r\n \"104.46.30.0/23\",\r\n \"104.46.32.0/19\",\r\n + \ \"104.46.64.0/19\",\r\n \"104.46.96.0/19\",\r\n \"104.46.160.0/19\",\r\n + \ \"104.46.192.0/20\",\r\n \"104.46.208.0/20\",\r\n \"104.46.224.0/20\",\r\n + \ \"104.47.128.0/18\",\r\n \"104.47.200.0/21\",\r\n \"104.47.208.0/23\",\r\n + \ \"104.47.210.0/23\",\r\n \"104.47.212.0/23\",\r\n \"104.47.214.0/23\",\r\n + \ \"104.47.216.64/26\",\r\n \"104.47.218.0/23\",\r\n \"104.47.220.0/22\",\r\n + \ \"104.47.224.0/20\",\r\n \"104.208.0.0/19\",\r\n \"104.208.32.0/20\",\r\n + \ \"104.208.48.0/20\",\r\n \"104.208.64.0/18\",\r\n \"104.208.128.0/17\",\r\n + \ \"104.209.0.0/18\",\r\n \"104.209.64.0/20\",\r\n \"104.209.80.0/20\",\r\n + \ \"104.209.128.0/17\",\r\n \"104.210.0.0/20\",\r\n \"104.210.32.0/19\",\r\n + \ \"104.210.64.0/18\",\r\n \"104.210.128.0/19\",\r\n \"104.210.176.0/20\",\r\n + \ \"104.210.192.0/19\",\r\n \"104.211.0.0/18\",\r\n \"104.211.64.0/18\",\r\n + \ \"104.211.128.0/18\",\r\n \"104.211.192.0/18\",\r\n \"104.214.0.0/17\",\r\n + \ \"104.214.128.0/19\",\r\n \"104.214.160.0/19\",\r\n \"104.214.192.0/18\",\r\n + \ \"104.215.0.0/18\",\r\n \"104.215.64.0/18\",\r\n \"104.215.128.0/17\",\r\n + \ \"111.221.29.0/24\",\r\n \"111.221.30.0/23\",\r\n \"111.221.78.0/23\",\r\n + \ \"111.221.80.0/20\",\r\n \"111.221.96.0/20\",\r\n \"131.253.12.16/28\",\r\n + \ \"131.253.12.40/29\",\r\n \"131.253.12.48/29\",\r\n \"131.253.12.160/28\",\r\n + \ \"131.253.12.176/28\",\r\n \"131.253.12.192/28\",\r\n \"131.253.12.208/28\",\r\n + \ \"131.253.12.224/30\",\r\n \"131.253.12.228/30\",\r\n \"131.253.12.248/29\",\r\n + \ \"131.253.13.0/28\",\r\n \"131.253.13.16/29\",\r\n \"131.253.13.24/29\",\r\n + \ \"131.253.13.32/28\",\r\n \"131.253.13.48/28\",\r\n \"131.253.13.72/29\",\r\n + \ \"131.253.13.80/29\",\r\n \"131.253.13.88/30\",\r\n \"131.253.13.96/30\",\r\n + \ \"131.253.13.100/30\",\r\n \"131.253.13.104/30\",\r\n \"131.253.13.128/27\",\r\n + \ \"131.253.14.4/30\",\r\n \"131.253.14.8/31\",\r\n \"131.253.14.16/28\",\r\n + \ \"131.253.14.32/27\",\r\n \"131.253.14.64/29\",\r\n \"131.253.14.96/27\",\r\n + \ \"131.253.14.128/27\",\r\n \"131.253.14.160/27\",\r\n \"131.253.14.192/29\",\r\n + \ \"131.253.14.208/28\",\r\n \"131.253.14.224/28\",\r\n \"131.253.14.248/29\",\r\n + \ \"131.253.15.8/29\",\r\n \"131.253.15.16/28\",\r\n \"131.253.15.32/27\",\r\n + \ \"131.253.15.192/28\",\r\n \"131.253.15.208/28\",\r\n \"131.253.15.224/27\",\r\n + \ \"131.253.24.0/28\",\r\n \"131.253.24.160/27\",\r\n \"131.253.24.192/26\",\r\n + \ \"131.253.25.0/24\",\r\n \"131.253.27.0/24\",\r\n \"131.253.34.224/27\",\r\n + \ \"131.253.35.128/26\",\r\n \"131.253.35.192/26\",\r\n \"131.253.36.128/26\",\r\n + \ \"131.253.36.224/27\",\r\n \"131.253.38.0/27\",\r\n \"131.253.38.32/27\",\r\n + \ \"131.253.38.128/26\",\r\n \"131.253.38.224/27\",\r\n \"131.253.40.0/28\",\r\n + \ \"131.253.40.16/28\",\r\n \"131.253.40.32/28\",\r\n \"131.253.40.48/29\",\r\n + \ \"131.253.40.64/28\",\r\n \"131.253.40.80/28\",\r\n \"131.253.40.96/27\",\r\n + \ \"131.253.40.128/27\",\r\n \"131.253.40.160/28\",\r\n \"131.253.40.192/26\",\r\n + \ \"131.253.41.0/24\",\r\n \"134.170.80.64/28\",\r\n \"134.170.192.0/21\",\r\n + \ \"134.170.220.0/23\",\r\n \"134.170.222.0/24\",\r\n \"137.116.0.0/18\",\r\n + \ \"137.116.64.0/19\",\r\n \"137.116.96.0/22\",\r\n \"137.116.112.0/20\",\r\n + \ \"137.116.128.0/19\",\r\n \"137.116.160.0/20\",\r\n \"137.116.176.0/21\",\r\n + \ \"137.116.184.0/21\",\r\n \"137.116.192.0/19\",\r\n \"137.116.224.0/19\",\r\n + \ \"137.117.0.0/19\",\r\n \"137.117.32.0/19\",\r\n \"137.117.64.0/18\",\r\n + \ \"137.117.128.0/17\",\r\n \"137.135.0.0/18\",\r\n \"137.135.64.0/18\",\r\n + \ \"137.135.128.0/17\",\r\n \"138.91.0.0/20\",\r\n \"138.91.16.0/20\",\r\n + \ \"138.91.32.0/20\",\r\n \"138.91.48.0/20\",\r\n \"138.91.64.0/19\",\r\n + \ \"138.91.96.0/19\",\r\n \"138.91.128.0/17\",\r\n \"157.55.2.128/26\",\r\n + \ \"157.55.3.0/24\",\r\n \"157.55.7.128/26\",\r\n \"157.55.8.64/26\",\r\n + \ \"157.55.8.144/28\",\r\n \"157.55.10.160/29\",\r\n \"157.55.10.176/28\",\r\n + \ \"157.55.10.192/26\",\r\n \"157.55.11.128/25\",\r\n \"157.55.12.64/26\",\r\n + \ \"157.55.12.128/26\",\r\n \"157.55.13.64/26\",\r\n \"157.55.13.128/26\",\r\n + \ \"157.55.24.0/21\",\r\n \"157.55.37.0/24\",\r\n \"157.55.38.0/24\",\r\n + \ \"157.55.39.0/24\",\r\n \"157.55.48.0/24\",\r\n \"157.55.50.0/25\",\r\n + \ \"157.55.51.224/28\",\r\n \"157.55.55.0/27\",\r\n \"157.55.55.32/28\",\r\n + \ \"157.55.55.100/30\",\r\n \"157.55.55.104/29\",\r\n \"157.55.55.136/29\",\r\n + \ \"157.55.55.144/29\",\r\n \"157.55.55.152/29\",\r\n \"157.55.55.160/28\",\r\n + \ \"157.55.55.176/29\",\r\n \"157.55.55.200/29\",\r\n \"157.55.55.216/29\",\r\n + \ \"157.55.55.228/30\",\r\n \"157.55.55.232/29\",\r\n \"157.55.55.240/28\",\r\n + \ \"157.55.60.224/27\",\r\n \"157.55.64.0/20\",\r\n \"157.55.80.0/21\",\r\n + \ \"157.55.103.32/27\",\r\n \"157.55.103.128/25\",\r\n \"157.55.106.0/26\",\r\n + \ \"157.55.106.128/25\",\r\n \"157.55.107.0/24\",\r\n \"157.55.108.0/23\",\r\n + \ \"157.55.110.0/23\",\r\n \"157.55.115.0/25\",\r\n \"157.55.136.0/21\",\r\n + \ \"157.55.151.0/28\",\r\n \"157.55.153.224/28\",\r\n \"157.55.154.128/25\",\r\n + \ \"157.55.160.0/20\",\r\n \"157.55.176.0/20\",\r\n \"157.55.192.0/21\",\r\n + \ \"157.55.200.0/22\",\r\n \"157.55.204.1/32\",\r\n \"157.55.204.2/31\",\r\n + \ \"157.55.204.33/32\",\r\n \"157.55.204.34/31\",\r\n \"157.55.204.128/25\",\r\n + \ \"157.55.208.0/21\",\r\n \"157.55.248.0/21\",\r\n \"157.56.2.0/25\",\r\n + \ \"157.56.2.128/25\",\r\n \"157.56.3.0/25\",\r\n \"157.56.3.128/25\",\r\n + \ \"157.56.8.0/21\",\r\n \"157.56.19.224/27\",\r\n \"157.56.21.160/27\",\r\n + \ \"157.56.21.192/27\",\r\n \"157.56.24.160/27\",\r\n \"157.56.24.192/28\",\r\n + \ \"157.56.28.0/22\",\r\n \"157.56.80.0/25\",\r\n \"157.56.117.64/27\",\r\n + \ \"157.56.160.0/21\",\r\n \"157.56.176.0/21\",\r\n \"157.56.216.0/26\",\r\n + \ \"168.61.0.0/19\",\r\n \"168.61.32.0/20\",\r\n \"168.61.48.0/21\",\r\n + \ \"168.61.56.0/21\",\r\n \"168.61.64.0/20\",\r\n \"168.61.80.0/20\",\r\n + \ \"168.61.96.0/19\",\r\n \"168.61.128.0/25\",\r\n \"168.61.128.128/28\",\r\n + \ \"168.61.128.160/27\",\r\n \"168.61.128.192/26\",\r\n \"168.61.129.0/25\",\r\n + \ \"168.61.129.128/26\",\r\n \"168.61.129.208/28\",\r\n \"168.61.129.224/27\",\r\n + \ \"168.61.130.64/26\",\r\n \"168.61.130.128/25\",\r\n \"168.61.131.0/26\",\r\n + \ \"168.61.131.128/25\",\r\n \"168.61.132.0/26\",\r\n \"168.61.136.0/21\",\r\n + \ \"168.61.144.0/20\",\r\n \"168.61.160.0/19\",\r\n \"168.61.208.0/20\",\r\n + \ \"168.62.0.0/19\",\r\n \"168.62.32.0/19\",\r\n \"168.62.64.0/19\",\r\n + \ \"168.62.96.0/19\",\r\n \"168.62.128.0/19\",\r\n \"168.62.160.0/19\",\r\n + \ \"168.62.192.0/19\",\r\n \"168.62.224.0/19\",\r\n \"168.63.0.0/19\",\r\n + \ \"168.63.32.0/19\",\r\n \"168.63.64.0/20\",\r\n \"168.63.80.0/21\",\r\n + \ \"168.63.88.0/23\",\r\n \"168.63.90.0/24\",\r\n \"168.63.91.0/26\",\r\n + \ \"168.63.92.0/22\",\r\n \"168.63.96.0/19\",\r\n \"168.63.128.0/24\",\r\n + \ \"168.63.129.0/28\",\r\n \"168.63.129.32/27\",\r\n \"168.63.129.64/26\",\r\n + \ \"168.63.129.128/25\",\r\n \"168.63.130.0/23\",\r\n \"168.63.132.0/22\",\r\n + \ \"168.63.136.0/21\",\r\n \"168.63.148.0/22\",\r\n \"168.63.152.0/22\",\r\n + \ \"168.63.156.0/24\",\r\n \"168.63.160.0/19\",\r\n \"168.63.192.0/19\",\r\n + \ \"168.63.224.0/19\",\r\n \"191.232.16.0/21\",\r\n \"191.232.32.0/19\",\r\n + \ \"191.232.138.0/23\",\r\n \"191.232.140.0/24\",\r\n \"191.232.160.0/19\",\r\n + \ \"191.232.192.0/18\",\r\n \"191.233.0.0/21\",\r\n \"191.233.8.0/21\",\r\n + \ \"191.233.16.0/20\",\r\n \"191.233.32.0/20\",\r\n \"191.233.48.0/21\",\r\n + \ \"191.233.64.0/18\",\r\n \"191.233.128.0/20\",\r\n \"191.233.144.0/20\",\r\n + \ \"191.233.160.0/19\",\r\n \"191.233.192.0/18\",\r\n \"191.234.2.0/23\",\r\n + \ \"191.234.16.0/20\",\r\n \"191.234.32.0/19\",\r\n \"191.234.128.0/18\",\r\n + \ \"191.234.192.0/19\",\r\n \"191.234.224.0/19\",\r\n \"191.235.32.0/19\",\r\n + \ \"191.235.64.0/18\",\r\n \"191.235.128.0/18\",\r\n \"191.235.192.0/22\",\r\n + \ \"191.235.196.0/22\",\r\n \"191.235.200.0/21\",\r\n \"191.235.208.0/20\",\r\n + \ \"191.235.224.0/20\",\r\n \"191.235.240.0/21\",\r\n \"191.235.248.0/23\",\r\n + \ \"191.235.250.0/25\",\r\n \"191.235.255.0/24\",\r\n \"191.236.0.0/18\",\r\n + \ \"191.236.64.0/18\",\r\n \"191.236.128.0/18\",\r\n \"191.236.192.0/18\",\r\n + \ \"191.237.0.0/17\",\r\n \"191.237.128.0/18\",\r\n \"191.237.192.0/23\",\r\n + \ \"191.237.194.0/24\",\r\n \"191.237.195.0/24\",\r\n \"191.237.196.0/24\",\r\n + \ \"191.237.200.0/21\",\r\n \"191.237.208.0/20\",\r\n \"191.237.224.0/21\",\r\n + \ \"191.237.232.0/22\",\r\n \"191.237.236.0/24\",\r\n \"191.237.238.0/24\",\r\n + \ \"191.237.240.0/23\",\r\n \"191.237.248.0/21\",\r\n \"191.238.0.0/18\",\r\n + \ \"191.238.64.0/23\",\r\n \"191.238.66.0/23\",\r\n \"191.238.68.0/24\",\r\n + \ \"191.238.70.0/23\",\r\n \"191.238.72.0/21\",\r\n \"191.238.80.0/21\",\r\n + \ \"191.238.88.0/22\",\r\n \"191.238.92.0/23\",\r\n \"191.238.96.0/19\",\r\n + \ \"191.238.128.0/21\",\r\n \"191.238.144.0/20\",\r\n \"191.238.160.0/19\",\r\n + \ \"191.238.192.0/19\",\r\n \"191.238.224.0/19\",\r\n \"191.239.0.0/18\",\r\n + \ \"191.239.64.0/19\",\r\n \"191.239.96.0/20\",\r\n \"191.239.112.0/20\",\r\n + \ \"191.239.160.0/19\",\r\n \"191.239.192.0/22\",\r\n \"191.239.200.0/22\",\r\n + \ \"191.239.204.0/22\",\r\n \"191.239.208.0/20\",\r\n \"191.239.224.0/20\",\r\n + \ \"191.239.240.0/20\",\r\n \"193.149.64.0/21\",\r\n \"193.149.72.0/21\",\r\n + \ \"193.149.80.0/21\",\r\n \"193.149.88.0/21\",\r\n \"198.180.96.0/25\",\r\n + \ \"198.180.97.0/24\",\r\n \"199.30.16.0/24\",\r\n \"199.30.18.0/23\",\r\n + \ \"199.30.20.0/24\",\r\n \"199.30.22.0/24\",\r\n \"199.30.24.0/23\",\r\n + \ \"199.30.27.0/25\",\r\n \"199.30.27.144/28\",\r\n \"199.30.27.160/27\",\r\n + \ \"199.30.28.64/26\",\r\n \"199.30.28.128/25\",\r\n \"199.30.29.0/24\",\r\n + \ \"199.30.31.0/25\",\r\n \"199.30.31.192/26\",\r\n \"204.79.180.0/24\",\r\n + \ \"204.152.18.0/31\",\r\n \"204.152.18.8/29\",\r\n \"204.152.18.32/27\",\r\n + \ \"204.152.18.64/26\",\r\n \"204.152.19.0/24\",\r\n \"204.231.197.0/24\",\r\n + \ \"207.46.13.0/24\",\r\n \"207.46.50.128/28\",\r\n \"207.46.59.64/27\",\r\n + \ \"207.46.63.64/27\",\r\n \"207.46.63.128/25\",\r\n \"207.46.67.160/27\",\r\n + \ \"207.46.67.192/27\",\r\n \"207.46.72.0/27\",\r\n \"207.46.77.224/28\",\r\n + \ \"207.46.87.0/24\",\r\n \"207.46.89.16/28\",\r\n \"207.46.95.32/27\",\r\n + \ \"207.46.126.0/24\",\r\n \"207.46.128.0/19\",\r\n \"207.46.193.192/28\",\r\n + \ \"207.46.193.224/27\",\r\n \"207.46.198.128/25\",\r\n \"207.46.200.96/27\",\r\n + \ \"207.46.200.176/28\",\r\n \"207.46.202.128/28\",\r\n \"207.46.205.0/24\",\r\n + \ \"207.46.224.0/20\",\r\n \"207.68.174.40/29\",\r\n \"207.68.174.48/29\",\r\n + \ \"207.68.174.184/29\",\r\n \"207.68.174.192/28\",\r\n \"207.68.174.208/28\",\r\n + \ \"209.240.212.0/23\",\r\n \"213.199.128.0/20\",\r\n \"213.199.180.32/28\",\r\n + \ \"213.199.180.96/27\",\r\n \"213.199.180.192/27\",\r\n + \ \"213.199.183.0/24\",\r\n \"2603:1000::/47\",\r\n \"2603:1000:3::/48\",\r\n + \ \"2603:1000:4::/48\",\r\n \"2603:1000:100::/47\",\r\n \"2603:1000:103::/48\",\r\n + \ \"2603:1000:104::/48\",\r\n \"2603:1006:1400::/63\",\r\n + \ \"2603:1006:1401::/63\",\r\n \"2603:1006:1500::/64\",\r\n + \ \"2603:1006:1500:4::/64\",\r\n \"2603:1006:2000::/59\",\r\n + \ \"2603:1006:2000:20::/59\",\r\n \"2603:1007:200::/59\",\r\n + \ \"2603:1007:200:20::/59\",\r\n \"2603:1010::/46\",\r\n + \ \"2603:1010:5::/48\",\r\n \"2603:1010:6::/48\",\r\n \"2603:1010:100::/40\",\r\n + \ \"2603:1010:200::/47\",\r\n \"2603:1010:202::/48\",\r\n + \ \"2603:1010:204::/48\",\r\n \"2603:1010:205::/48\",\r\n + \ \"2603:1010:300::/47\",\r\n \"2603:1010:303::/48\",\r\n + \ \"2603:1010:304::/48\",\r\n \"2603:1010:400::/47\",\r\n + \ \"2603:1010:403::/48\",\r\n \"2603:1010:404::/48\",\r\n + \ \"2603:1016:1400::/59\",\r\n \"2603:1016:1400:20::/59\",\r\n + \ \"2603:1016:1400:40::/59\",\r\n \"2603:1016:1400:60::/59\",\r\n + \ \"2603:1016:2400::/48\",\r\n \"2603:1016:2401::/48\",\r\n + \ \"2603:1016:2402::/48\",\r\n \"2603:1016:2403::/48\",\r\n + \ \"2603:1016:2500::/64\",\r\n \"2603:1016:2500:4::/64\",\r\n + \ \"2603:1016:2500:8::/64\",\r\n \"2603:1016:2500:c::/64\",\r\n + \ \"2603:1017::/59\",\r\n \"2603:1017:0:20::/59\",\r\n \"2603:1017:0:40::/59\",\r\n + \ \"2603:1017:0:60::/59\",\r\n \"2603:1020::/47\",\r\n \"2603:1020:2::/48\",\r\n + \ \"2603:1020:4::/48\",\r\n \"2603:1020:5::/48\",\r\n \"2603:1020:200::/46\",\r\n + \ \"2603:1020:205::/48\",\r\n \"2603:1020:206::/48\",\r\n + \ \"2603:1020:300::/47\",\r\n \"2603:1020:302::/48\",\r\n + \ \"2603:1020:304::/48\",\r\n \"2603:1020:305::/48\",\r\n + \ \"2603:1020:400::/47\",\r\n \"2603:1020:402::/48\",\r\n + \ \"2603:1020:404::/48\",\r\n \"2603:1020:405::/48\",\r\n + \ \"2603:1020:500::/47\",\r\n \"2603:1020:503::/48\",\r\n + \ \"2603:1020:504::/48\",\r\n \"2603:1020:600::/47\",\r\n + \ \"2603:1020:602::/48\",\r\n \"2603:1020:604::/48\",\r\n + \ \"2603:1020:605::/48\",\r\n \"2603:1020:700::/47\",\r\n + \ \"2603:1020:702::/48\",\r\n \"2603:1020:704::/48\",\r\n + \ \"2603:1020:705::/48\",\r\n \"2603:1020:800::/47\",\r\n + \ \"2603:1020:802::/48\",\r\n \"2603:1020:804::/48\",\r\n + \ \"2603:1020:805::/48\",\r\n \"2603:1020:900::/47\",\r\n + \ \"2603:1020:902::/48\",\r\n \"2603:1020:904::/48\",\r\n + \ \"2603:1020:905::/48\",\r\n \"2603:1020:a00::/47\",\r\n + \ \"2603:1020:a03::/48\",\r\n \"2603:1020:a04::/48\",\r\n + \ \"2603:1020:b00::/47\",\r\n \"2603:1020:b03::/48\",\r\n + \ \"2603:1020:b04::/48\",\r\n \"2603:1020:c00::/47\",\r\n + \ \"2603:1020:c03::/48\",\r\n \"2603:1020:c04::/48\",\r\n + \ \"2603:1020:d00::/47\",\r\n \"2603:1020:d03::/48\",\r\n + \ \"2603:1020:d04::/48\",\r\n \"2603:1020:e00::/47\",\r\n + \ \"2603:1020:e03::/48\",\r\n \"2603:1020:e04::/48\",\r\n + \ \"2603:1020:f00::/47\",\r\n \"2603:1020:f03::/48\",\r\n + \ \"2603:1020:f04::/48\",\r\n \"2603:1026:2400::/48\",\r\n + \ \"2603:1026:2401::/48\",\r\n \"2603:1026:2403::/48\",\r\n + \ \"2603:1026:2404::/48\",\r\n \"2603:1026:2405::/48\",\r\n + \ \"2603:1026:2406::/48\",\r\n \"2603:1026:2407::/48\",\r\n + \ \"2603:1026:2409::/48\",\r\n \"2603:1026:240a::/48\",\r\n + \ \"2603:1026:240b::/48\",\r\n \"2603:1026:240c::/48\",\r\n + \ \"2603:1026:240d::/48\",\r\n \"2603:1026:240e::/48\",\r\n + \ \"2603:1026:240f::/48\",\r\n \"2603:1026:2411::/48\",\r\n + \ \"2603:1026:2500:8::/64\",\r\n \"2603:1026:2500:c::/64\",\r\n + \ \"2603:1026:2500:10::/64\",\r\n \"2603:1026:2500:14::/64\",\r\n + \ \"2603:1026:2500:18::/64\",\r\n \"2603:1026:2500:1c::/64\",\r\n + \ \"2603:1026:2500:20::/64\",\r\n \"2603:1026:2500:24::/64\",\r\n + \ \"2603:1026:2500:28::/64\",\r\n \"2603:1026:2500:2c::/64\",\r\n + \ \"2603:1026:2500:30::/64\",\r\n \"2603:1026:2500:34::/64\",\r\n + \ \"2603:1026:3000:40::/59\",\r\n \"2603:1026:3000:60::/59\",\r\n + \ \"2603:1026:3000:80::/59\",\r\n \"2603:1026:3000:a0::/59\",\r\n + \ \"2603:1026:3000:c0::/59\",\r\n \"2603:1026:3000:e0::/59\",\r\n + \ \"2603:1026:3000:100::/59\",\r\n \"2603:1026:3000:120::/59\",\r\n + \ \"2603:1026:3000:140::/59\",\r\n \"2603:1026:3000:160::/59\",\r\n + \ \"2603:1026:3000:180::/59\",\r\n \"2603:1026:3000:1a0::/59\",\r\n + \ \"2603:1026:3000:1c0::/59\",\r\n \"2603:1026:3000:200::/59\",\r\n + \ \"2603:1026:3000:220::/59\",\r\n \"2603:1027:1:40::/59\",\r\n + \ \"2603:1027:1:60::/59\",\r\n \"2603:1027:1:80::/59\",\r\n + \ \"2603:1027:1:a0::/59\",\r\n \"2603:1027:1:c0::/59\",\r\n + \ \"2603:1027:1:e0::/59\",\r\n \"2603:1027:1:100::/59\",\r\n + \ \"2603:1027:1:120::/59\",\r\n \"2603:1027:1:140::/59\",\r\n + \ \"2603:1027:1:160::/59\",\r\n \"2603:1027:1:180::/59\",\r\n + \ \"2603:1027:1:1a0::/59\",\r\n \"2603:1027:1:1c0::/59\",\r\n + \ \"2603:1027:1:200::/59\",\r\n \"2603:1027:1:220::/59\",\r\n + \ \"2603:1030::/45\",\r\n \"2603:1030:8::/48\",\r\n \"2603:1030:9::/63\",\r\n + \ \"2603:1030:9:2::/63\",\r\n \"2603:1030:9:4::/62\",\r\n + \ \"2603:1030:9:8::/61\",\r\n \"2603:1030:9:10::/62\",\r\n + \ \"2603:1030:9:14::/63\",\r\n \"2603:1030:9:16::/64\",\r\n + \ \"2603:1030:9:17::/64\",\r\n \"2603:1030:9:18::/61\",\r\n + \ \"2603:1030:9:20::/59\",\r\n \"2603:1030:9:40::/58\",\r\n + \ \"2603:1030:9:80::/59\",\r\n \"2603:1030:9:a0::/60\",\r\n + \ \"2603:1030:9:b0::/63\",\r\n \"2603:1030:9:b2::/64\",\r\n + \ \"2603:1030:9:b3::/64\",\r\n \"2603:1030:9:b4::/63\",\r\n + \ \"2603:1030:9:b6::/64\",\r\n \"2603:1030:9:b7::/64\",\r\n + \ \"2603:1030:9:b8::/63\",\r\n \"2603:1030:9:ba::/63\",\r\n + \ \"2603:1030:9:bc::/64\",\r\n \"2603:1030:9:bd::/64\",\r\n + \ \"2603:1030:9:be::/63\",\r\n \"2603:1030:9:c0::/58\",\r\n + \ \"2603:1030:9:100::/64\",\r\n \"2603:1030:9:101::/64\",\r\n + \ \"2603:1030:9:102::/63\",\r\n \"2603:1030:9:104::/62\",\r\n + \ \"2603:1030:9:108::/62\",\r\n \"2603:1030:9:10c::/64\",\r\n + \ \"2603:1030:9:10d::/64\",\r\n \"2603:1030:9:10e::/63\",\r\n + \ \"2603:1030:9:110::/64\",\r\n \"2603:1030:9:111::/64\",\r\n + \ \"2603:1030:9:112::/63\",\r\n \"2603:1030:9:114::/64\",\r\n + \ \"2603:1030:9:115::/64\",\r\n \"2603:1030:9:116::/63\",\r\n + \ \"2603:1030:9:118::/62\",\r\n \"2603:1030:9:11c::/63\",\r\n + \ \"2603:1030:9:11e::/64\",\r\n \"2603:1030:9:11f::/64\",\r\n + \ \"2603:1030:9:120::/61\",\r\n \"2603:1030:9:128::/62\",\r\n + \ \"2603:1030:9:12c::/63\",\r\n \"2603:1030:9:12e::/64\",\r\n + \ \"2603:1030:9:12f::/64\",\r\n \"2603:1030:9:130::/62\",\r\n + \ \"2603:1030:9:134::/63\",\r\n \"2603:1030:a::/47\",\r\n + \ \"2603:1030:d::/48\",\r\n \"2603:1030:e::/48\",\r\n \"2603:1030:f::/48\",\r\n + \ \"2603:1030:10::/48\",\r\n \"2603:1030:208::/47\",\r\n + \ \"2603:1030:20a::/47\",\r\n \"2603:1030:20c::/47\",\r\n + \ \"2603:1030:20e::/48\",\r\n \"2603:1030:210::/47\",\r\n + \ \"2603:1030:400::/48\",\r\n \"2603:1030:401::/63\",\r\n + \ \"2603:1030:401:2::/63\",\r\n \"2603:1030:401:4::/62\",\r\n + \ \"2603:1030:401:8::/61\",\r\n \"2603:1030:401:10::/62\",\r\n + \ \"2603:1030:401:14::/63\",\r\n \"2603:1030:401:16::/64\",\r\n + \ \"2603:1030:401:17::/64\",\r\n \"2603:1030:401:18::/61\",\r\n + \ \"2603:1030:401:20::/59\",\r\n \"2603:1030:401:40::/60\",\r\n + \ \"2603:1030:401:50::/61\",\r\n \"2603:1030:401:58::/64\",\r\n + \ \"2603:1030:401:59::/64\",\r\n \"2603:1030:401:5a::/63\",\r\n + \ \"2603:1030:401:5c::/62\",\r\n \"2603:1030:401:60::/59\",\r\n + \ \"2603:1030:401:80::/62\",\r\n \"2603:1030:401:84::/64\",\r\n + \ \"2603:1030:401:85::/64\",\r\n \"2603:1030:401:86::/64\",\r\n + \ \"2603:1030:401:87::/64\",\r\n \"2603:1030:401:88::/62\",\r\n + \ \"2603:1030:401:8c::/63\",\r\n \"2603:1030:401:8e::/64\",\r\n + \ \"2603:1030:401:8f::/64\",\r\n \"2603:1030:401:90::/63\",\r\n + \ \"2603:1030:401:92::/63\",\r\n \"2603:1030:401:94::/62\",\r\n + \ \"2603:1030:401:98::/61\",\r\n \"2603:1030:401:a0::/62\",\r\n + \ \"2603:1030:401:a4::/63\",\r\n \"2603:1030:401:a6::/64\",\r\n + \ \"2603:1030:401:a7::/64\",\r\n \"2603:1030:401:a8::/61\",\r\n + \ \"2603:1030:401:b0::/60\",\r\n \"2603:1030:401:c0::/58\",\r\n + \ \"2603:1030:401:100::/59\",\r\n \"2603:1030:401:120::/64\",\r\n + \ \"2603:1030:401:121::/64\",\r\n \"2603:1030:401:122::/63\",\r\n + \ \"2603:1030:401:124::/62\",\r\n \"2603:1030:401:128::/61\",\r\n + \ \"2603:1030:401:130::/62\",\r\n \"2603:1030:401:134::/63\",\r\n + \ \"2603:1030:401:136::/63\",\r\n \"2603:1030:401:138::/64\",\r\n + \ \"2603:1030:401:139::/64\",\r\n \"2603:1030:401:13a::/63\",\r\n + \ \"2603:1030:401:13c::/62\",\r\n \"2603:1030:401:140::/63\",\r\n + \ \"2603:1030:401:142::/64\",\r\n \"2603:1030:401:143::/64\",\r\n + \ \"2603:1030:401:144::/63\",\r\n \"2603:1030:401:146::/63\",\r\n + \ \"2603:1030:401:148::/63\",\r\n \"2603:1030:401:14a::/63\",\r\n + \ \"2603:1030:401:14c::/62\",\r\n \"2603:1030:401:150::/62\",\r\n + \ \"2603:1030:401:154::/63\",\r\n \"2603:1030:401:156::/63\",\r\n + \ \"2603:1030:401:158::/64\",\r\n \"2603:1030:401:159::/64\",\r\n + \ \"2603:1030:401:15a::/63\",\r\n \"2603:1030:401:15c::/62\",\r\n + \ \"2603:1030:401:160::/61\",\r\n \"2603:1030:401:168::/63\",\r\n + \ \"2603:1030:401:16a::/63\",\r\n \"2603:1030:401:16c::/64\",\r\n + \ \"2603:1030:401:16d::/64\",\r\n \"2603:1030:401:16e::/63\",\r\n + \ \"2603:1030:401:170::/61\",\r\n \"2603:1030:401:178::/62\",\r\n + \ \"2603:1030:401:17c::/62\",\r\n \"2603:1030:401:180::/59\",\r\n + \ \"2603:1030:402::/47\",\r\n \"2603:1030:405::/48\",\r\n + \ \"2603:1030:406::/47\",\r\n \"2603:1030:408::/48\",\r\n + \ \"2603:1030:409::/48\",\r\n \"2603:1030:40a::/64\",\r\n + \ \"2603:1030:40a:1::/64\",\r\n \"2603:1030:40a:2::/64\",\r\n + \ \"2603:1030:40a:3::/64\",\r\n \"2603:1030:40a:4::/62\",\r\n + \ \"2603:1030:40a:8::/63\",\r\n \"2603:1030:40b::/48\",\r\n + \ \"2603:1030:40c::/48\",\r\n \"2603:1030:40d::/60\",\r\n + \ \"2603:1030:40d:8000::/49\",\r\n \"2603:1030:40e::/56\",\r\n + \ \"2603:1030:600::/46\",\r\n \"2603:1030:604::/47\",\r\n + \ \"2603:1030:607::/48\",\r\n \"2603:1030:608::/48\",\r\n + \ \"2603:1030:800::/48\",\r\n \"2603:1030:802::/47\",\r\n + \ \"2603:1030:804::/58\",\r\n \"2603:1030:804:40::/60\",\r\n + \ \"2603:1030:804:53::/64\",\r\n \"2603:1030:804:54::/64\",\r\n + \ \"2603:1030:804:5b::/64\",\r\n \"2603:1030:804:5c::/62\",\r\n + \ \"2603:1030:804:60::/62\",\r\n \"2603:1030:804:67::/64\",\r\n + \ \"2603:1030:804:68::/61\",\r\n \"2603:1030:804:70::/60\",\r\n + \ \"2603:1030:804:80::/59\",\r\n \"2603:1030:804:a0::/62\",\r\n + \ \"2603:1030:804:a4::/64\",\r\n \"2603:1030:804:a6::/63\",\r\n + \ \"2603:1030:804:a8::/61\",\r\n \"2603:1030:804:b0::/62\",\r\n + \ \"2603:1030:804:b4::/64\",\r\n \"2603:1030:804:b6::/63\",\r\n + \ \"2603:1030:804:b8::/61\",\r\n \"2603:1030:804:c0::/61\",\r\n + \ \"2603:1030:804:c8::/62\",\r\n \"2603:1030:804:cc::/63\",\r\n + \ \"2603:1030:804:d2::/63\",\r\n \"2603:1030:804:d4::/62\",\r\n + \ \"2603:1030:804:d8::/61\",\r\n \"2603:1030:804:e0::/59\",\r\n + \ \"2603:1030:804:100::/60\",\r\n \"2603:1030:804:110::/61\",\r\n + \ \"2603:1030:805::/48\",\r\n \"2603:1030:806::/48\",\r\n + \ \"2603:1030:807::/48\",\r\n \"2603:1030:a00::/46\",\r\n + \ \"2603:1030:a04::/48\",\r\n \"2603:1030:a06::/48\",\r\n + \ \"2603:1030:a07::/48\",\r\n \"2603:1030:a08::/48\",\r\n + \ \"2603:1030:b00::/47\",\r\n \"2603:1030:b03::/48\",\r\n + \ \"2603:1030:b04::/48\",\r\n \"2603:1030:b05::/48\",\r\n + \ \"2603:1030:c00::/48\",\r\n \"2603:1030:c02::/47\",\r\n + \ \"2603:1030:c04::/48\",\r\n \"2603:1030:c05::/48\",\r\n + \ \"2603:1030:c06::/48\",\r\n \"2603:1030:c07::/48\",\r\n + \ \"2603:1030:d00::/48\",\r\n \"2603:1030:e01:2::/64\",\r\n + \ \"2603:1030:f00::/47\",\r\n \"2603:1030:f02::/48\",\r\n + \ \"2603:1030:f04::/48\",\r\n \"2603:1030:f05::/48\",\r\n + \ \"2603:1030:f06::/48\",\r\n \"2603:1030:f07::/56\",\r\n + \ \"2603:1030:1000::/47\",\r\n \"2603:1030:1002::/48\",\r\n + \ \"2603:1030:1004::/48\",\r\n \"2603:1030:1005::/48\",\r\n + \ \"2603:1036:903::/64\",\r\n \"2603:1036:903:1::/64\",\r\n + \ \"2603:1036:903:2::/64\",\r\n \"2603:1036:903:3::/64\",\r\n + \ \"2603:1036:9ff:ffff::/64\",\r\n \"2603:1036:d20::/64\",\r\n + \ \"2603:1036:120d::/48\",\r\n \"2603:1036:2400::/48\",\r\n + \ \"2603:1036:2401::/48\",\r\n \"2603:1036:2402::/48\",\r\n + \ \"2603:1036:2403::/48\",\r\n \"2603:1036:2404::/48\",\r\n + \ \"2603:1036:2405::/48\",\r\n \"2603:1036:2406::/48\",\r\n + \ \"2603:1036:2407::/48\",\r\n \"2603:1036:2408::/48\",\r\n + \ \"2603:1036:2409::/48\",\r\n \"2603:1036:240a::/48\",\r\n + \ \"2603:1036:240d::/48\",\r\n \"2603:1036:240f::/48\",\r\n + \ \"2603:1036:2500::/64\",\r\n \"2603:1036:2500:4::/64\",\r\n + \ \"2603:1036:2500:8::/64\",\r\n \"2603:1036:2500:10::/64\",\r\n + \ \"2603:1036:2500:14::/64\",\r\n \"2603:1036:2500:1c::/64\",\r\n + \ \"2603:1036:2500:20::/64\",\r\n \"2603:1036:2500:24::/64\",\r\n + \ \"2603:1036:2500:2c::/64\",\r\n \"2603:1036:2500:30::/64\",\r\n + \ \"2603:1036:2500:34::/64\",\r\n \"2603:1036:3000::/59\",\r\n + \ \"2603:1036:3000:20::/59\",\r\n \"2603:1036:3000:40::/59\",\r\n + \ \"2603:1036:3000:60::/59\",\r\n \"2603:1036:3000:80::/59\",\r\n + \ \"2603:1036:3000:c0::/59\",\r\n \"2603:1036:3000:100::/59\",\r\n + \ \"2603:1036:3000:120::/59\",\r\n \"2603:1036:3000:140::/59\",\r\n + \ \"2603:1036:3000:160::/59\",\r\n \"2603:1036:3000:180::/59\",\r\n + \ \"2603:1036:3000:1c0::/59\",\r\n \"2603:1037:1::/59\",\r\n + \ \"2603:1037:1:20::/59\",\r\n \"2603:1037:1:40::/59\",\r\n + \ \"2603:1037:1:60::/59\",\r\n \"2603:1037:1:80::/59\",\r\n + \ \"2603:1037:1:c0::/59\",\r\n \"2603:1037:1:100::/59\",\r\n + \ \"2603:1037:1:120::/59\",\r\n \"2603:1037:1:140::/59\",\r\n + \ \"2603:1037:1:160::/59\",\r\n \"2603:1037:1:180::/59\",\r\n + \ \"2603:1037:1:1c0::/59\",\r\n \"2603:1039:205::/48\",\r\n + \ \"2603:1040::/47\",\r\n \"2603:1040:2::/48\",\r\n \"2603:1040:4::/48\",\r\n + \ \"2603:1040:5::/48\",\r\n \"2603:1040:200::/46\",\r\n \"2603:1040:204::/48\",\r\n + \ \"2603:1040:206::/48\",\r\n \"2603:1040:207::/48\",\r\n + \ \"2603:1040:400::/46\",\r\n \"2603:1040:404::/48\",\r\n + \ \"2603:1040:406::/48\",\r\n \"2603:1040:407::/48\",\r\n + \ \"2603:1040:600::/46\",\r\n \"2603:1040:605::/48\",\r\n + \ \"2603:1040:606::/48\",\r\n \"2603:1040:800::/46\",\r\n + \ \"2603:1040:805::/48\",\r\n \"2603:1040:806::/48\",\r\n + \ \"2603:1040:900::/47\",\r\n \"2603:1040:903::/48\",\r\n + \ \"2603:1040:904::/48\",\r\n \"2603:1040:a00::/46\",\r\n + \ \"2603:1040:a05::/48\",\r\n \"2603:1040:a06::/48\",\r\n + \ \"2603:1040:b00::/47\",\r\n \"2603:1040:b03::/48\",\r\n + \ \"2603:1040:b04::/48\",\r\n \"2603:1040:c00::/46\",\r\n + \ \"2603:1040:c05::/48\",\r\n \"2603:1040:c06::/48\",\r\n + \ \"2603:1040:e00::/47\",\r\n \"2603:1040:e02::/48\",\r\n + \ \"2603:1040:e04::/48\",\r\n \"2603:1040:e05::/48\",\r\n + \ \"2603:1040:f00::/47\",\r\n \"2603:1040:f02::/48\",\r\n + \ \"2603:1040:f04::/48\",\r\n \"2603:1040:f05::/48\",\r\n + \ \"2603:1046:1400::/48\",\r\n \"2603:1046:1401::/48\",\r\n + \ \"2603:1046:1402::/48\",\r\n \"2603:1046:1403::/48\",\r\n + \ \"2603:1046:1404::/48\",\r\n \"2603:1046:1405::/48\",\r\n + \ \"2603:1046:1406::/48\",\r\n \"2603:1046:1407::/48\",\r\n + \ \"2603:1046:1408::/48\",\r\n \"2603:1046:140a::/48\",\r\n + \ \"2603:1046:140b::/48\",\r\n \"2603:1046:1500::/64\",\r\n + \ \"2603:1046:1500:4::/64\",\r\n \"2603:1046:1500:8::/64\",\r\n + \ \"2603:1046:1500:14::/64\",\r\n \"2603:1046:1500:18::/64\",\r\n + \ \"2603:1046:1500:1c::/64\",\r\n \"2603:1046:1500:20::/64\",\r\n + \ \"2603:1046:1500:24::/64\",\r\n \"2603:1046:1500:28::/64\",\r\n + \ \"2603:1046:1500:2c::/64\",\r\n \"2603:1046:1500:30::/64\",\r\n + \ \"2603:1046:2000:20::/59\",\r\n \"2603:1046:2000:40::/59\",\r\n + \ \"2603:1046:2000:60::/59\",\r\n \"2603:1046:2000:80::/59\",\r\n + \ \"2603:1046:2000:a0::/59\",\r\n \"2603:1046:2000:c0::/59\",\r\n + \ \"2603:1046:2000:e0::/59\",\r\n \"2603:1046:2000:100::/59\",\r\n + \ \"2603:1046:2000:120::/59\",\r\n \"2603:1046:2000:140::/59\",\r\n + \ \"2603:1046:2000:160::/59\",\r\n \"2603:1046:2000:180::/59\",\r\n + \ \"2603:1047:1:20::/59\",\r\n \"2603:1047:1:40::/59\",\r\n + \ \"2603:1047:1:60::/59\",\r\n \"2603:1047:1:80::/59\",\r\n + \ \"2603:1047:1:a0::/59\",\r\n \"2603:1047:1:c0::/59\",\r\n + \ \"2603:1047:1:e0::/59\",\r\n \"2603:1047:1:100::/59\",\r\n + \ \"2603:1047:1:120::/59\",\r\n \"2603:1047:1:140::/59\",\r\n + \ \"2603:1047:1:160::/59\",\r\n \"2603:1047:1:180::/59\",\r\n + \ \"2603:1050:1::/48\",\r\n \"2603:1050:2::/47\",\r\n \"2603:1050:5::/48\",\r\n + \ \"2603:1050:6::/48\",\r\n \"2603:1050:100::/40\",\r\n \"2603:1050:211::/48\",\r\n + \ \"2603:1050:300::/40\",\r\n \"2603:1050:400::/48\",\r\n + \ \"2603:1050:402::/48\",\r\n \"2603:1050:403::/48\",\r\n + \ \"2603:1056:1400::/48\",\r\n \"2603:1056:1401::/48\",\r\n + \ \"2603:1056:1402::/48\",\r\n \"2603:1056:1403::/48\",\r\n + \ \"2603:1056:1500::/64\",\r\n \"2603:1056:1500:4::/64\",\r\n + \ \"2603:1056:2000:20::/59\",\r\n \"2603:1056:2000:40::/59\",\r\n + \ \"2603:1056:2000:60::/59\",\r\n \"2603:1057:2:20::/59\",\r\n + \ \"2603:1057:2:40::/59\",\r\n \"2603:1057:2:60::/59\",\r\n + \ \"2603:1061:1002::/48\",\r\n \"2a01:111:f100:1000::/62\",\r\n + \ \"2a01:111:f100:1004::/63\",\r\n \"2a01:111:f100:2000::/52\",\r\n + \ \"2a01:111:f100:3000::/52\",\r\n \"2a01:111:f100:4002::/64\",\r\n + \ \"2a01:111:f100:5000::/52\",\r\n \"2a01:111:f100:6000::/64\",\r\n + \ \"2a01:111:f100:a000::/63\",\r\n \"2a01:111:f100:a002::/64\",\r\n + \ \"2a01:111:f100:a004::/64\",\r\n \"2a01:111:f403:c000::/64\",\r\n + \ \"2a01:111:f403:c004::/62\",\r\n \"2a01:111:f403:c100::/64\",\r\n + \ \"2a01:111:f403:c10c::/62\",\r\n \"2a01:111:f403:c110::/64\",\r\n + \ \"2a01:111:f403:c111::/64\",\r\n \"2a01:111:f403:c112::/64\",\r\n + \ \"2a01:111:f403:c113::/64\",\r\n \"2a01:111:f403:c114::/64\",\r\n + \ \"2a01:111:f403:c200::/64\",\r\n \"2a01:111:f403:c201::/64\",\r\n + \ \"2a01:111:f403:c400::/64\",\r\n \"2a01:111:f403:c401::/64\",\r\n + \ \"2a01:111:f403:c800::/64\",\r\n \"2a01:111:f403:c804::/62\",\r\n + \ \"2a01:111:f403:c900::/64\",\r\n \"2a01:111:f403:c904::/62\",\r\n + \ \"2a01:111:f403:c908::/62\",\r\n \"2a01:111:f403:c90c::/62\",\r\n + \ \"2a01:111:f403:c910::/62\",\r\n \"2a01:111:f403:c914::/62\",\r\n + \ \"2a01:111:f403:c918::/64\",\r\n \"2a01:111:f403:c919::/64\",\r\n + \ \"2a01:111:f403:c91a::/63\",\r\n \"2a01:111:f403:c91c::/63\",\r\n + \ \"2a01:111:f403:c91e::/63\",\r\n \"2a01:111:f403:c920::/63\",\r\n + \ \"2a01:111:f403:c922::/64\",\r\n \"2a01:111:f403:c923::/64\",\r\n + \ \"2a01:111:f403:c924::/62\",\r\n \"2a01:111:f403:c928::/62\",\r\n + \ \"2a01:111:f403:c92c::/64\",\r\n \"2a01:111:f403:c92d::/64\",\r\n + \ \"2a01:111:f403:c92e::/63\",\r\n \"2a01:111:f403:c930::/63\",\r\n + \ \"2a01:111:f403:c932::/63\",\r\n \"2a01:111:f403:c934::/63\",\r\n + \ \"2a01:111:f403:c936::/64\",\r\n \"2a01:111:f403:c937::/64\",\r\n + \ \"2a01:111:f403:c938::/62\",\r\n \"2a01:111:f403:c93c::/62\",\r\n + \ \"2a01:111:f403:c940::/64\",\r\n \"2a01:111:f403:ca00::/62\",\r\n + \ \"2a01:111:f403:ca04::/64\",\r\n \"2a01:111:f403:ca05::/64\",\r\n + \ \"2a01:111:f403:ca06::/63\",\r\n \"2a01:111:f403:ca08::/63\",\r\n + \ \"2a01:111:f403:cc00::/62\",\r\n \"2a01:111:f403:cc04::/64\",\r\n + \ \"2a01:111:f403:cc05::/64\",\r\n \"2a01:111:f403:cc06::/63\",\r\n + \ \"2a01:111:f403:cc08::/63\",\r\n \"2a01:111:f403:d000::/64\",\r\n + \ \"2a01:111:f403:d004::/62\",\r\n \"2a01:111:f403:d100::/64\",\r\n + \ \"2a01:111:f403:d104::/62\",\r\n \"2a01:111:f403:d108::/62\",\r\n + \ \"2a01:111:f403:d10c::/62\",\r\n \"2a01:111:f403:d120::/62\",\r\n + \ \"2a01:111:f403:d124::/64\",\r\n \"2a01:111:f403:d125::/64\",\r\n + \ \"2a01:111:f403:d200::/64\",\r\n \"2a01:111:f403:d201::/64\",\r\n + \ \"2a01:111:f403:d401::/64\",\r\n \"2a01:111:f403:d402::/64\",\r\n + \ \"2a01:111:f403:d800::/64\",\r\n \"2a01:111:f403:d804::/62\",\r\n + \ \"2a01:111:f403:d900::/64\",\r\n \"2a01:111:f403:d904::/62\",\r\n + \ \"2a01:111:f403:d908::/62\",\r\n \"2a01:111:f403:d90c::/62\",\r\n + \ \"2a01:111:f403:d910::/62\",\r\n \"2a01:111:f403:d914::/64\",\r\n + \ \"2a01:111:f403:d915::/64\",\r\n \"2a01:111:f403:da00::/64\",\r\n + \ \"2a01:111:f403:da01::/64\",\r\n \"2a01:111:f403:dc00::/64\",\r\n + \ \"2a01:111:f403:dc01::/64\",\r\n \"2a01:111:f403:e000::/64\",\r\n + \ \"2a01:111:f403:e003::/64\",\r\n \"2a01:111:f403:e004::/62\",\r\n + \ \"2a01:111:f403:e008::/62\",\r\n \"2a01:111:f403:e00c::/62\",\r\n + \ \"2a01:111:f403:e010::/62\",\r\n \"2a01:111:f403:e014::/64\",\r\n + \ \"2a01:111:f403:e200::/64\",\r\n \"2a01:111:f403:e201::/64\",\r\n + \ \"2a01:111:f403:e400::/64\",\r\n \"2a01:111:f403:e401::/64\",\r\n + \ \"2a01:111:f403:f000::/64\",\r\n \"2a01:111:f403:f800::/62\",\r\n + \ \"2a01:111:f403:f804::/62\",\r\n \"2a01:111:f403:f900::/62\",\r\n + \ \"2a01:111:f403:f904::/62\",\r\n \"2a01:111:f403:f908::/62\",\r\n + \ \"2a01:111:f403:f90c::/62\",\r\n \"2a01:111:f403:f910::/62\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCloud.australiacentral\",\r\n + \ \"id\": \"AzureCloud.australiacentral\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"australiacentral\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n + \ ],\r\n \"systemService\": \"\",\r\n \"addressPrefixes\": + [\r\n \"13.104.155.128/26\",\r\n \"13.105.27.160/27\",\r\n + \ \"20.36.32.0/19\",\r\n \"20.36.104.0/21\",\r\n \"20.37.0.0/18\",\r\n + \ \"20.37.224.0/19\",\r\n \"20.38.184.0/22\",\r\n \"20.39.64.0/21\",\r\n + \ \"20.47.35.0/24\",\r\n \"20.53.0.0/19\",\r\n \"20.53.48.0/21\",\r\n + \ \"20.70.0.0/18\",\r\n \"20.135.52.0/23\",\r\n \"20.150.124.0/24\",\r\n + \ \"20.157.0.0/24\",\r\n \"20.190.189.64/26\",\r\n \"40.82.240.0/22\",\r\n + \ \"40.90.130.48/28\",\r\n \"40.90.142.96/27\",\r\n \"40.90.149.64/27\",\r\n + \ \"40.126.61.64/26\",\r\n \"52.108.74.0/24\",\r\n \"52.108.95.0/24\",\r\n + \ \"52.109.128.0/22\",\r\n \"52.111.248.0/24\",\r\n \"52.143.219.0/24\",\r\n + \ \"52.239.216.0/23\",\r\n \"2603:1010:300::/47\",\r\n \"2603:1010:303::/48\",\r\n + \ \"2603:1010:304::/48\",\r\n \"2603:1016:1400:20::/59\",\r\n + \ \"2603:1016:2400::/48\",\r\n \"2603:1016:2500:4::/64\",\r\n + \ \"2603:1017:0:20::/59\"\r\n ]\r\n }\r\n },\r\n {\r\n + \ \"name\": \"AzureCloud.australiacentral2\",\r\n \"id\": \"AzureCloud.australiacentral2\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"australiacentral2\",\r\n \"state\": + \"GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n + \ ],\r\n \"systemService\": \"\",\r\n \"addressPrefixes\": + [\r\n \"13.104.158.224/27\",\r\n \"20.36.64.0/19\",\r\n + \ \"20.36.112.0/20\",\r\n \"20.39.72.0/21\",\r\n \"20.39.96.0/19\",\r\n + \ \"20.47.36.0/24\",\r\n \"20.53.56.0/21\",\r\n \"20.135.54.0/23\",\r\n + \ \"20.150.103.0/24\",\r\n \"20.157.1.0/24\",\r\n \"20.190.189.128/26\",\r\n + \ \"20.193.96.0/19\",\r\n \"40.82.244.0/22\",\r\n \"40.90.31.96/27\",\r\n + \ \"40.90.130.32/28\",\r\n \"40.90.142.64/27\",\r\n \"40.90.149.32/27\",\r\n + \ \"40.126.61.128/26\",\r\n \"40.126.128.0/18\",\r\n \"52.108.180.0/24\",\r\n + \ \"52.108.201.0/24\",\r\n \"52.109.100.0/23\",\r\n \"52.111.249.0/24\",\r\n + \ \"52.143.218.0/24\",\r\n \"52.239.218.0/23\",\r\n \"2603:1010:400::/47\",\r\n + \ \"2603:1010:403::/48\",\r\n \"2603:1010:404::/48\",\r\n + \ \"2603:1016:1400:40::/59\",\r\n \"2603:1016:2401::/48\",\r\n + \ \"2603:1016:2500:8::/64\",\r\n \"2603:1017:0:40::/59\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCloud.australiaeast\",\r\n + \ \"id\": \"AzureCloud.australiaeast\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"australiaeast\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"\",\r\n \"addressPrefixes\": [\r\n \"13.70.64.0/18\",\r\n + \ \"13.72.224.0/19\",\r\n \"13.73.192.0/20\",\r\n \"13.75.128.0/17\",\r\n + \ \"13.104.211.128/26\",\r\n \"13.105.16.192/26\",\r\n \"13.105.20.128/26\",\r\n + \ \"13.105.52.192/26\",\r\n \"13.105.53.128/26\",\r\n \"20.37.192.0/19\",\r\n + \ \"20.38.112.0/23\",\r\n \"20.40.64.0/20\",\r\n \"20.40.80.0/21\",\r\n + \ \"20.40.120.0/21\",\r\n \"20.40.176.0/20\",\r\n \"20.42.192.0/19\",\r\n + \ \"20.43.96.0/20\",\r\n \"20.47.37.0/24\",\r\n \"20.47.122.0/23\",\r\n + \ \"20.53.32.0/28\",\r\n \"20.53.40.0/21\",\r\n \"20.53.64.0/18\",\r\n + \ \"20.53.128.0/17\",\r\n \"20.58.128.0/18\",\r\n \"20.60.72.0/22\",\r\n + \ \"20.60.182.0/23\",\r\n \"20.70.128.0/17\",\r\n \"20.135.120.0/21\",\r\n + \ \"20.150.66.0/24\",\r\n \"20.150.92.0/24\",\r\n \"20.150.117.0/24\",\r\n + \ \"20.157.44.0/24\",\r\n \"20.188.128.0/17\",\r\n \"20.190.142.0/25\",\r\n + \ \"20.190.167.0/24\",\r\n \"20.191.192.0/18\",\r\n \"20.193.0.0/18\",\r\n + \ \"20.193.64.0/19\",\r\n \"23.101.208.0/20\",\r\n \"40.79.160.0/20\",\r\n + \ \"40.79.211.0/24\",\r\n \"40.82.32.0/22\",\r\n \"40.82.192.0/19\",\r\n + \ \"40.87.208.0/22\",\r\n \"40.90.18.0/28\",\r\n \"40.90.30.0/25\",\r\n + \ \"40.90.130.80/28\",\r\n \"40.90.130.208/28\",\r\n \"40.90.140.32/27\",\r\n + \ \"40.90.142.160/27\",\r\n \"40.90.147.64/27\",\r\n \"40.90.150.0/27\",\r\n + \ \"40.112.37.128/26\",\r\n \"40.126.14.0/25\",\r\n \"40.126.39.0/24\",\r\n + \ \"40.126.224.0/19\",\r\n \"52.108.40.0/23\",\r\n \"52.108.83.0/24\",\r\n + \ \"52.109.112.0/22\",\r\n \"52.111.224.0/24\",\r\n \"52.113.88.0/22\",\r\n + \ \"52.113.103.0/24\",\r\n \"52.114.16.0/22\",\r\n \"52.114.58.0/23\",\r\n + \ \"52.114.192.0/23\",\r\n \"52.115.98.0/24\",\r\n \"52.120.158.0/23\",\r\n + \ \"52.121.108.0/22\",\r\n \"52.143.199.0/24\",\r\n \"52.143.200.0/23\",\r\n + \ \"52.147.0.0/19\",\r\n \"52.156.160.0/19\",\r\n \"52.187.192.0/18\",\r\n + \ \"52.232.136.0/21\",\r\n \"52.232.154.0/24\",\r\n \"52.237.192.0/18\",\r\n + \ \"52.239.130.0/23\",\r\n \"52.239.226.0/24\",\r\n \"52.245.16.0/22\",\r\n + \ \"104.44.90.64/26\",\r\n \"104.44.93.96/27\",\r\n \"104.44.95.48/28\",\r\n + \ \"104.46.29.0/24\",\r\n \"104.46.30.0/23\",\r\n \"104.209.80.0/20\",\r\n + \ \"104.210.64.0/18\",\r\n \"191.238.66.0/23\",\r\n \"191.239.64.0/19\",\r\n + \ \"2603:1010::/46\",\r\n \"2603:1010:5::/48\",\r\n \"2603:1010:6::/48\",\r\n + \ \"2603:1016:1400:60::/59\",\r\n \"2603:1016:2402::/48\",\r\n + \ \"2603:1016:2500:c::/64\",\r\n \"2603:1017:0:60::/59\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCloud.australiasoutheast\",\r\n + \ \"id\": \"AzureCloud.australiasoutheast\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"australiasoutheast\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n + \ ],\r\n \"systemService\": \"\",\r\n \"addressPrefixes\": + [\r\n \"13.70.128.0/18\",\r\n \"13.73.96.0/19\",\r\n \"13.77.0.0/18\",\r\n + \ \"20.40.160.0/20\",\r\n \"20.42.224.0/19\",\r\n \"20.45.144.0/20\",\r\n + \ \"20.46.96.0/20\",\r\n \"20.47.38.0/24\",\r\n \"20.47.74.0/23\",\r\n + \ \"20.58.192.0/18\",\r\n \"20.60.32.0/23\",\r\n \"20.70.64.0/18\",\r\n + \ \"20.92.0.0/18\",\r\n \"20.135.50.0/23\",\r\n \"20.150.12.0/23\",\r\n + \ \"20.150.119.0/24\",\r\n \"20.157.45.0/24\",\r\n \"20.190.96.0/19\",\r\n + \ \"20.190.142.128/25\",\r\n \"20.190.168.0/24\",\r\n \"23.101.224.0/19\",\r\n + \ \"40.79.212.0/24\",\r\n \"40.81.48.0/20\",\r\n \"40.87.212.0/22\",\r\n + \ \"40.90.24.0/25\",\r\n \"40.90.27.0/26\",\r\n \"40.90.138.128/27\",\r\n + \ \"40.90.155.64/26\",\r\n \"40.112.37.192/26\",\r\n \"40.115.64.0/19\",\r\n + \ \"40.126.14.128/25\",\r\n \"40.126.40.0/24\",\r\n \"40.127.64.0/19\",\r\n + \ \"52.108.194.0/24\",\r\n \"52.108.234.0/23\",\r\n \"52.109.116.0/22\",\r\n + \ \"52.111.250.0/24\",\r\n \"52.113.13.0/24\",\r\n \"52.113.76.0/23\",\r\n + \ \"52.114.20.0/22\",\r\n \"52.114.60.0/23\",\r\n \"52.115.99.0/24\",\r\n + \ \"52.121.106.0/23\",\r\n \"52.136.25.0/24\",\r\n \"52.147.32.0/19\",\r\n + \ \"52.158.128.0/19\",\r\n \"52.189.192.0/18\",\r\n \"52.239.132.0/23\",\r\n + \ \"52.239.225.0/24\",\r\n \"52.243.64.0/18\",\r\n \"52.245.20.0/22\",\r\n + \ \"52.255.32.0/19\",\r\n \"104.44.90.32/27\",\r\n \"104.44.93.128/27\",\r\n + \ \"104.44.95.64/28\",\r\n \"104.46.28.0/24\",\r\n \"104.46.160.0/19\",\r\n + \ \"104.209.64.0/20\",\r\n \"191.239.160.0/19\",\r\n \"191.239.192.0/22\",\r\n + \ \"2603:1010:100::/40\",\r\n \"2603:1010:200::/47\",\r\n + \ \"2603:1010:202::/48\",\r\n \"2603:1010:204::/48\",\r\n + \ \"2603:1010:205::/48\",\r\n \"2603:1016:1400::/59\",\r\n + \ \"2603:1016:2403::/48\",\r\n \"2603:1016:2500::/64\",\r\n + \ \"2603:1017::/59\"\r\n ]\r\n }\r\n },\r\n {\r\n + \ \"name\": \"AzureCloud.brazilse\",\r\n \"id\": \"AzureCloud.brazilse\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"1\",\r\n \"region\": \"brazilse\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n + \ ],\r\n \"systemService\": \"\",\r\n \"addressPrefixes\": + [\r\n \"13.105.27.128/27\",\r\n \"13.105.36.48/28\",\r\n + \ \"13.105.36.96/27\",\r\n \"13.105.52.0/27\",\r\n \"20.40.32.0/21\",\r\n + \ \"20.135.76.0/23\",\r\n \"20.150.73.0/24\",\r\n \"20.150.80.0/24\",\r\n + \ \"20.150.123.0/24\",\r\n \"20.157.42.0/24\",\r\n \"20.195.128.0/22\",\r\n + \ \"20.195.144.0/21\",\r\n \"23.97.112.192/27\",\r\n \"23.97.116.0/22\",\r\n + \ \"23.97.120.0/21\",\r\n \"40.79.204.192/26\",\r\n \"40.123.128.0/22\",\r\n + \ \"40.126.207.0/24\",\r\n \"52.108.111.0/24\",\r\n \"52.108.112.0/24\",\r\n + \ \"52.109.164.0/24\",\r\n \"52.111.207.0/24\",\r\n \"52.112.206.0/24\",\r\n + \ \"52.253.197.0/24\",\r\n \"191.232.16.0/21\",\r\n \"191.233.8.0/21\",\r\n + \ \"191.233.48.0/21\",\r\n \"191.233.160.0/19\",\r\n \"191.234.224.0/19\",\r\n + \ \"191.237.224.0/21\",\r\n \"2603:1050:400::/48\",\r\n \"2603:1050:402::/48\",\r\n + \ \"2603:1050:403::/48\",\r\n \"2603:1056:1403::/48\",\r\n + \ \"2603:1056:1500:4::/64\",\r\n \"2603:1056:2000:60::/59\",\r\n + \ \"2603:1057:2:60::/59\",\r\n \"2603:1061:1002::/48\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCloud.brazilsouth\",\r\n + \ \"id\": \"AzureCloud.brazilsouth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"4\",\r\n + \ \"region\": \"brazilsouth\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"\",\r\n \"addressPrefixes\": [\r\n \"13.105.52.80/28\",\r\n + \ \"13.105.52.128/26\",\r\n \"20.40.16.0/21\",\r\n \"20.40.112.0/21\",\r\n + \ \"20.47.39.0/24\",\r\n \"20.47.86.0/24\",\r\n \"20.60.36.0/23\",\r\n + \ \"20.135.128.0/22\",\r\n \"20.135.132.0/23\",\r\n \"20.150.111.0/24\",\r\n + \ \"20.157.55.0/24\",\r\n \"20.190.145.0/25\",\r\n \"20.190.173.0/24\",\r\n + \ \"20.195.136.0/21\",\r\n \"20.195.152.0/21\",\r\n \"20.195.160.0/19\",\r\n + \ \"20.195.192.0/18\",\r\n \"20.197.128.0/17\",\r\n \"20.201.0.0/17\",\r\n + \ \"23.97.96.0/20\",\r\n \"23.97.112.0/25\",\r\n \"23.97.112.128/28\",\r\n + \ \"23.97.112.160/27\",\r\n \"40.90.29.64/26\",\r\n \"40.90.29.128/26\",\r\n + \ \"40.90.133.32/27\",\r\n \"40.90.133.144/28\",\r\n \"40.90.141.64/27\",\r\n + \ \"40.90.144.224/27\",\r\n \"40.90.145.96/27\",\r\n \"40.90.145.128/27\",\r\n + \ \"40.90.157.0/27\",\r\n \"40.126.17.0/25\",\r\n \"40.126.45.0/24\",\r\n + \ \"52.108.36.0/22\",\r\n \"52.108.82.0/24\",\r\n \"52.108.171.0/24\",\r\n + \ \"52.108.172.0/23\",\r\n \"52.109.108.0/22\",\r\n \"52.111.225.0/24\",\r\n + \ \"52.112.118.0/24\",\r\n \"52.113.132.0/24\",\r\n \"52.114.194.0/23\",\r\n + \ \"52.114.196.0/22\",\r\n \"52.114.200.0/22\",\r\n \"52.121.40.0/21\",\r\n + \ \"52.253.185.0/24\",\r\n \"52.253.186.0/24\",\r\n \"104.41.0.0/18\",\r\n + \ \"191.232.32.0/19\",\r\n \"191.232.160.0/19\",\r\n \"191.232.192.0/18\",\r\n + \ \"191.233.0.0/21\",\r\n \"191.233.16.0/20\",\r\n \"191.233.128.0/20\",\r\n + \ \"191.233.192.0/18\",\r\n \"191.234.128.0/18\",\r\n \"191.234.192.0/19\",\r\n + \ \"191.235.32.0/19\",\r\n \"191.235.64.0/18\",\r\n \"191.235.196.0/22\",\r\n + \ \"191.235.200.0/21\",\r\n \"191.235.224.0/20\",\r\n \"191.235.240.0/21\",\r\n + \ \"191.235.248.0/23\",\r\n \"191.235.250.0/25\",\r\n \"191.237.195.0/24\",\r\n + \ \"191.237.200.0/21\",\r\n \"191.237.248.0/21\",\r\n \"191.238.72.0/21\",\r\n + \ \"191.238.128.0/21\",\r\n \"191.238.192.0/19\",\r\n \"191.239.112.0/20\",\r\n + \ \"191.239.204.0/22\",\r\n \"191.239.240.0/20\",\r\n \"2603:1050:1::/48\",\r\n + \ \"2603:1050:2::/47\",\r\n \"2603:1050:5::/48\",\r\n \"2603:1050:6::/48\",\r\n + \ \"2603:1056:1400::/48\",\r\n \"2603:1056:1500::/64\",\r\n + \ \"2603:1056:2000:20::/59\",\r\n \"2603:1057:2:20::/59\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCloud.canadacentral\",\r\n + \ \"id\": \"AzureCloud.canadacentral\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"canadacentral\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"\",\r\n \"addressPrefixes\": [\r\n \"13.71.160.0/19\",\r\n + \ \"13.88.224.0/19\",\r\n \"13.104.151.192/26\",\r\n \"13.104.152.0/25\",\r\n + \ \"13.104.208.176/28\",\r\n \"13.104.212.192/26\",\r\n \"13.104.223.192/26\",\r\n + \ \"20.38.114.0/25\",\r\n \"20.38.144.0/21\",\r\n \"20.39.128.0/20\",\r\n + \ \"20.43.0.0/19\",\r\n \"20.47.40.0/24\",\r\n \"20.47.87.0/24\",\r\n + \ \"20.48.128.0/18\",\r\n \"20.48.192.0/21\",\r\n \"20.48.224.0/19\",\r\n + \ \"20.60.42.0/23\",\r\n \"20.63.0.0/17\",\r\n \"20.135.182.0/23\",\r\n + \ \"20.135.184.0/22\",\r\n \"20.150.16.0/24\",\r\n \"20.150.31.0/24\",\r\n + \ \"20.150.71.0/24\",\r\n \"20.150.100.0/24\",\r\n \"20.151.0.0/17\",\r\n + \ \"20.151.128.0/18\",\r\n \"20.157.52.0/24\",\r\n \"20.190.139.0/25\",\r\n + \ \"20.190.161.0/24\",\r\n \"20.200.64.0/18\",\r\n \"40.79.216.0/24\",\r\n + \ \"40.80.44.0/22\",\r\n \"40.82.160.0/19\",\r\n \"40.85.192.0/18\",\r\n + \ \"40.90.17.144/28\",\r\n \"40.90.128.0/28\",\r\n \"40.90.138.32/27\",\r\n + \ \"40.90.143.160/27\",\r\n \"40.90.151.96/27\",\r\n \"40.126.11.0/25\",\r\n + \ \"40.126.33.0/24\",\r\n \"52.108.42.0/23\",\r\n \"52.108.84.0/24\",\r\n + \ \"52.109.92.0/22\",\r\n \"52.111.251.0/24\",\r\n \"52.114.160.0/22\",\r\n + \ \"52.136.23.0/24\",\r\n \"52.136.27.0/24\",\r\n \"52.138.0.0/18\",\r\n + \ \"52.139.0.0/18\",\r\n \"52.156.0.0/19\",\r\n \"52.228.0.0/17\",\r\n + \ \"52.233.0.0/18\",\r\n \"52.237.0.0/18\",\r\n \"52.239.148.64/26\",\r\n + \ \"52.239.189.0/24\",\r\n \"52.245.28.0/22\",\r\n \"52.246.152.0/21\",\r\n + \ \"52.253.196.0/24\",\r\n \"104.44.93.32/27\",\r\n \"104.44.95.16/28\",\r\n + \ \"2603:1030:208::/47\",\r\n \"2603:1030:f00::/47\",\r\n + \ \"2603:1030:f02::/48\",\r\n \"2603:1030:f04::/48\",\r\n + \ \"2603:1030:f05::/48\",\r\n \"2603:1030:f06::/48\",\r\n + \ \"2603:1030:f07::/56\",\r\n \"2603:1036:2401::/48\",\r\n + \ \"2603:1036:2500:30::/64\",\r\n \"2603:1036:3000:40::/59\",\r\n + \ \"2603:1037:1:40::/59\"\r\n ]\r\n }\r\n },\r\n {\r\n + \ \"name\": \"AzureCloud.canadaeast\",\r\n \"id\": \"AzureCloud.canadaeast\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"1\",\r\n \"region\": \"canadaeast\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n + \ ],\r\n \"systemService\": \"\",\r\n \"addressPrefixes\": + [\r\n \"13.104.154.128/25\",\r\n \"20.38.121.128/25\",\r\n + \ \"20.47.41.0/24\",\r\n \"20.47.88.0/24\",\r\n \"20.60.142.0/23\",\r\n + \ \"20.135.66.0/23\",\r\n \"20.150.1.0/25\",\r\n \"20.150.40.128/25\",\r\n + \ \"20.150.113.0/24\",\r\n \"20.190.139.128/25\",\r\n \"20.190.162.0/24\",\r\n + \ \"20.200.0.0/18\",\r\n \"40.69.96.0/19\",\r\n \"40.79.217.0/24\",\r\n + \ \"40.80.40.0/22\",\r\n \"40.80.240.0/20\",\r\n \"40.86.192.0/18\",\r\n + \ \"40.89.0.0/19\",\r\n \"40.90.17.128/28\",\r\n \"40.90.138.64/27\",\r\n + \ \"40.90.156.96/27\",\r\n \"40.126.11.128/25\",\r\n \"40.126.34.0/24\",\r\n + \ \"52.108.193.0/24\",\r\n \"52.108.232.0/23\",\r\n \"52.109.96.0/22\",\r\n + \ \"52.111.226.0/24\",\r\n \"52.114.164.0/22\",\r\n \"52.136.22.0/24\",\r\n + \ \"52.139.64.0/18\",\r\n \"52.155.0.0/19\",\r\n \"52.229.64.0/18\",\r\n + \ \"52.232.128.0/21\",\r\n \"52.235.0.0/18\",\r\n \"52.239.164.128/26\",\r\n + \ \"52.239.190.0/25\",\r\n \"52.242.0.0/18\",\r\n \"52.245.32.0/22\",\r\n + \ \"104.44.93.64/27\",\r\n \"104.44.95.32/28\",\r\n \"2603:1030:20a::/47\",\r\n + \ \"2603:1030:1000::/47\",\r\n \"2603:1030:1002::/48\",\r\n + \ \"2603:1030:1004::/48\",\r\n \"2603:1030:1005::/48\",\r\n + \ \"2603:1036:2402::/48\",\r\n \"2603:1036:2500:34::/64\",\r\n + \ \"2603:1036:3000:80::/59\",\r\n \"2603:1037:1:80::/59\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCloud.centralfrance\",\r\n + \ \"id\": \"AzureCloud.centralfrance\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"centralfrance\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"\",\r\n \"addressPrefixes\": [\r\n \"13.104.156.0/24\",\r\n + \ \"20.38.196.0/22\",\r\n \"20.39.232.0/21\",\r\n \"20.39.240.0/20\",\r\n + \ \"20.40.128.0/19\",\r\n \"20.43.32.0/19\",\r\n \"20.47.44.0/24\",\r\n + \ \"20.47.80.0/23\",\r\n \"20.60.13.0/24\",\r\n \"20.60.156.0/23\",\r\n + \ \"20.74.0.0/17\",\r\n \"20.135.146.0/23\",\r\n \"20.135.148.0/22\",\r\n + \ \"20.150.61.0/24\",\r\n \"20.188.32.0/19\",\r\n \"20.190.147.0/25\",\r\n + \ \"20.190.177.0/24\",\r\n \"20.199.0.0/17\",\r\n \"40.66.32.0/19\",\r\n + \ \"40.79.128.0/20\",\r\n \"40.79.144.0/21\",\r\n \"40.79.205.0/26\",\r\n + \ \"40.79.222.0/24\",\r\n \"40.80.24.0/22\",\r\n \"40.89.128.0/18\",\r\n + \ \"40.90.130.240/28\",\r\n \"40.90.132.0/27\",\r\n \"40.90.136.64/26\",\r\n + \ \"40.90.136.128/27\",\r\n \"40.90.147.128/26\",\r\n \"40.90.147.192/27\",\r\n + \ \"40.126.19.0/25\",\r\n \"40.126.49.0/24\",\r\n \"51.11.192.0/18\",\r\n + \ \"51.103.0.0/17\",\r\n \"51.138.192.0/19\",\r\n \"52.108.52.0/23\",\r\n + \ \"52.108.89.0/24\",\r\n \"52.108.168.0/23\",\r\n \"52.108.170.0/24\",\r\n + \ \"52.109.68.0/22\",\r\n \"52.111.231.0/24\",\r\n \"52.112.172.0/22\",\r\n + \ \"52.112.190.0/24\",\r\n \"52.112.213.0/24\",\r\n \"52.112.214.0/23\",\r\n + \ \"52.114.104.0/22\",\r\n \"52.115.128.0/21\",\r\n \"52.115.136.0/22\",\r\n + \ \"52.121.88.0/21\",\r\n \"52.121.96.0/22\",\r\n \"52.143.128.0/18\",\r\n + \ \"52.143.215.0/24\",\r\n \"52.143.216.0/23\",\r\n \"52.239.134.0/24\",\r\n + \ \"52.239.194.0/24\",\r\n \"52.239.241.0/24\",\r\n \"52.245.116.0/22\",\r\n + \ \"2603:1020:800::/47\",\r\n \"2603:1020:802::/48\",\r\n + \ \"2603:1020:804::/48\",\r\n \"2603:1020:805::/48\",\r\n + \ \"2603:1026:2400::/48\",\r\n \"2603:1026:2500:1c::/64\",\r\n + \ \"2603:1026:3000:100::/59\",\r\n \"2603:1027:1:100::/59\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCloud.centralindia\",\r\n + \ \"id\": \"AzureCloud.centralindia\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"centralindia\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"\",\r\n \"addressPrefixes\": [\r\n \"13.71.0.0/18\",\r\n + \ \"13.104.148.128/25\",\r\n \"20.38.126.0/23\",\r\n \"20.40.40.0/21\",\r\n + \ \"20.40.48.0/20\",\r\n \"20.43.120.0/21\",\r\n \"20.47.42.0/24\",\r\n + \ \"20.47.89.0/24\",\r\n \"20.135.90.0/23\",\r\n \"20.135.92.0/22\",\r\n + \ \"20.150.114.0/24\",\r\n \"20.190.146.0/25\",\r\n \"20.190.175.0/24\",\r\n + \ \"20.192.0.0/19\",\r\n \"20.192.40.0/21\",\r\n \"20.192.96.0/21\",\r\n + \ \"20.193.128.0/19\",\r\n \"20.193.224.0/19\",\r\n \"20.197.0.0/18\",\r\n + \ \"20.198.0.0/17\",\r\n \"40.79.207.32/27\",\r\n \"40.79.207.64/28\",\r\n + \ \"40.79.207.96/27\",\r\n \"40.79.214.0/24\",\r\n \"40.80.48.0/21\",\r\n + \ \"40.80.64.0/19\",\r\n \"40.81.224.0/19\",\r\n \"40.87.224.0/22\",\r\n + \ \"40.90.137.128/27\",\r\n \"40.112.39.0/25\",\r\n \"40.112.39.128/26\",\r\n + \ \"40.126.18.0/25\",\r\n \"40.126.47.0/24\",\r\n \"52.108.44.0/23\",\r\n + \ \"52.108.85.0/24\",\r\n \"52.109.56.0/22\",\r\n \"52.111.252.0/24\",\r\n + \ \"52.113.10.0/23\",\r\n \"52.113.70.0/23\",\r\n \"52.113.92.0/22\",\r\n + \ \"52.113.193.0/24\",\r\n \"52.114.40.0/22\",\r\n \"52.121.122.0/23\",\r\n + \ \"52.121.124.0/22\",\r\n \"52.136.24.0/24\",\r\n \"52.140.64.0/18\",\r\n + \ \"52.159.64.0/19\",\r\n \"52.172.128.0/17\",\r\n \"52.239.135.64/26\",\r\n + \ \"52.239.202.0/24\",\r\n \"52.245.96.0/22\",\r\n \"52.253.181.0/24\",\r\n + \ \"52.253.191.0/24\",\r\n \"104.44.92.128/27\",\r\n \"104.44.94.192/28\",\r\n + \ \"104.47.210.0/23\",\r\n \"104.211.64.0/18\",\r\n \"2603:1040:a00::/46\",\r\n + \ \"2603:1040:a05::/48\",\r\n \"2603:1040:a06::/48\",\r\n + \ \"2603:1046:1400::/48\",\r\n \"2603:1046:1500:8::/64\",\r\n + \ \"2603:1046:2000:80::/59\",\r\n \"2603:1047:1:80::/59\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCloud.centralus\",\r\n + \ \"id\": \"AzureCloud.centralus\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"centralus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"\",\r\n \"addressPrefixes\": [\r\n \"13.67.128.0/20\",\r\n + \ \"13.67.144.0/21\",\r\n \"13.67.152.0/24\",\r\n \"13.67.153.0/28\",\r\n + \ \"13.67.153.32/27\",\r\n \"13.67.153.64/26\",\r\n \"13.67.153.128/25\",\r\n + \ \"13.67.155.0/24\",\r\n \"13.67.156.0/22\",\r\n \"13.67.160.0/19\",\r\n + \ \"13.67.192.0/18\",\r\n \"13.86.0.0/17\",\r\n \"13.89.0.0/16\",\r\n + \ \"13.104.147.128/25\",\r\n \"13.104.219.128/25\",\r\n \"13.105.17.192/26\",\r\n + \ \"13.105.24.0/24\",\r\n \"13.105.37.0/26\",\r\n \"13.105.53.192/26\",\r\n + \ \"20.37.128.0/18\",\r\n \"20.38.96.0/23\",\r\n \"20.38.122.0/23\",\r\n + \ \"20.40.192.0/18\",\r\n \"20.44.8.0/21\",\r\n \"20.46.224.0/19\",\r\n + \ \"20.47.58.0/23\",\r\n \"20.47.78.0/23\",\r\n \"20.60.18.0/24\",\r\n + \ \"20.60.30.0/23\",\r\n \"20.60.178.0/23\",\r\n \"20.60.194.0/23\",\r\n + \ \"20.80.64.0/18\",\r\n \"20.83.0.0/18\",\r\n \"20.84.128.0/17\",\r\n + \ \"20.135.0.0/22\",\r\n \"20.135.188.0/22\",\r\n \"20.135.192.0/23\",\r\n + \ \"20.150.43.128/25\",\r\n \"20.150.58.0/24\",\r\n \"20.150.63.0/24\",\r\n + \ \"20.150.77.0/24\",\r\n \"20.150.89.0/24\",\r\n \"20.150.95.0/24\",\r\n + \ \"20.157.34.0/23\",\r\n \"20.184.64.0/18\",\r\n \"20.186.192.0/18\",\r\n + \ \"20.190.134.0/24\",\r\n \"20.190.155.0/24\",\r\n \"23.99.128.0/17\",\r\n + \ \"23.100.80.0/21\",\r\n \"23.100.240.0/20\",\r\n \"23.101.112.0/20\",\r\n + \ \"23.102.202.0/24\",\r\n \"40.67.160.0/19\",\r\n \"40.69.128.0/18\",\r\n + \ \"40.77.0.0/17\",\r\n \"40.77.130.128/26\",\r\n \"40.77.137.0/25\",\r\n + \ \"40.77.138.0/25\",\r\n \"40.77.161.64/26\",\r\n \"40.77.166.192/26\",\r\n + \ \"40.77.171.0/24\",\r\n \"40.77.175.192/27\",\r\n \"40.77.175.240/28\",\r\n + \ \"40.77.182.16/28\",\r\n \"40.77.182.192/26\",\r\n \"40.77.184.128/25\",\r\n + \ \"40.77.197.0/24\",\r\n \"40.77.255.128/26\",\r\n \"40.78.128.0/18\",\r\n + \ \"40.78.221.0/24\",\r\n \"40.82.16.0/22\",\r\n \"40.82.96.0/22\",\r\n + \ \"40.83.0.0/20\",\r\n \"40.83.16.0/21\",\r\n \"40.83.24.0/26\",\r\n + \ \"40.83.24.64/27\",\r\n \"40.83.24.128/25\",\r\n \"40.83.25.0/24\",\r\n + \ \"40.83.26.0/23\",\r\n \"40.83.28.0/22\",\r\n \"40.83.32.0/19\",\r\n + \ \"40.86.0.0/17\",\r\n \"40.87.180.0/30\",\r\n \"40.87.180.4/31\",\r\n + \ \"40.87.180.14/31\",\r\n \"40.87.180.16/30\",\r\n \"40.87.180.20/31\",\r\n + \ \"40.87.180.28/30\",\r\n \"40.87.180.32/29\",\r\n \"40.87.180.42/31\",\r\n + \ \"40.87.180.44/30\",\r\n \"40.87.180.48/28\",\r\n \"40.87.180.64/30\",\r\n + \ \"40.87.180.74/31\",\r\n \"40.87.180.76/30\",\r\n \"40.87.180.80/29\",\r\n + \ \"40.87.182.4/30\",\r\n \"40.87.182.8/29\",\r\n \"40.87.182.24/29\",\r\n + \ \"40.87.182.32/28\",\r\n \"40.87.182.48/29\",\r\n \"40.87.182.56/30\",\r\n + \ \"40.87.182.62/31\",\r\n \"40.87.182.64/26\",\r\n \"40.87.182.128/25\",\r\n + \ \"40.87.183.0/28\",\r\n \"40.87.183.16/29\",\r\n \"40.87.183.24/30\",\r\n + \ \"40.87.183.34/31\",\r\n \"40.87.183.36/30\",\r\n \"40.87.183.42/31\",\r\n + \ \"40.87.183.44/30\",\r\n \"40.87.183.54/31\",\r\n \"40.87.183.56/29\",\r\n + \ \"40.87.183.64/26\",\r\n \"40.87.183.144/28\",\r\n \"40.87.183.160/27\",\r\n + \ \"40.87.183.192/27\",\r\n \"40.87.183.224/29\",\r\n \"40.87.183.232/30\",\r\n + \ \"40.87.183.236/31\",\r\n \"40.87.183.244/30\",\r\n \"40.87.183.248/29\",\r\n + \ \"40.89.224.0/19\",\r\n \"40.90.16.0/27\",\r\n \"40.90.21.128/25\",\r\n + \ \"40.90.22.0/25\",\r\n \"40.90.26.128/25\",\r\n \"40.90.129.224/27\",\r\n + \ \"40.90.130.64/28\",\r\n \"40.90.130.192/28\",\r\n \"40.90.132.192/26\",\r\n + \ \"40.90.137.224/27\",\r\n \"40.90.140.96/27\",\r\n \"40.90.140.224/27\",\r\n + \ \"40.90.141.0/27\",\r\n \"40.90.142.128/27\",\r\n \"40.90.142.240/28\",\r\n + \ \"40.90.144.0/27\",\r\n \"40.90.144.128/26\",\r\n \"40.90.148.176/28\",\r\n + \ \"40.90.149.96/27\",\r\n \"40.90.151.144/28\",\r\n \"40.90.154.64/26\",\r\n + \ \"40.90.156.192/26\",\r\n \"40.90.158.64/26\",\r\n \"40.93.8.0/24\",\r\n + \ \"40.93.13.0/24\",\r\n \"40.93.192.0/24\",\r\n \"40.113.192.0/18\",\r\n + \ \"40.122.16.0/20\",\r\n \"40.122.32.0/19\",\r\n \"40.122.64.0/18\",\r\n + \ \"40.122.128.0/17\",\r\n \"40.126.6.0/24\",\r\n \"40.126.27.0/24\",\r\n + \ \"52.101.8.0/24\",\r\n \"52.101.32.0/22\",\r\n \"52.101.61.0/24\",\r\n + \ \"52.101.62.0/23\",\r\n \"52.101.64.0/24\",\r\n \"52.102.130.0/24\",\r\n + \ \"52.102.139.0/24\",\r\n \"52.103.4.0/24\",\r\n \"52.103.13.0/24\",\r\n + \ \"52.103.130.0/24\",\r\n \"52.108.165.0/24\",\r\n \"52.108.166.0/23\",\r\n + \ \"52.108.185.0/24\",\r\n \"52.108.208.0/21\",\r\n \"52.109.8.0/22\",\r\n + \ \"52.111.227.0/24\",\r\n \"52.112.113.0/24\",\r\n \"52.113.129.0/24\",\r\n + \ \"52.114.128.0/22\",\r\n \"52.115.76.0/22\",\r\n \"52.115.80.0/22\",\r\n + \ \"52.115.88.0/22\",\r\n \"52.123.2.0/24\",\r\n \"52.125.128.0/22\",\r\n + \ \"52.136.30.0/24\",\r\n \"52.141.192.0/19\",\r\n \"52.141.240.0/20\",\r\n + \ \"52.143.193.0/24\",\r\n \"52.143.224.0/19\",\r\n \"52.154.0.0/18\",\r\n + \ \"52.154.128.0/17\",\r\n \"52.158.160.0/20\",\r\n \"52.158.192.0/19\",\r\n + \ \"52.165.0.0/19\",\r\n \"52.165.32.0/20\",\r\n \"52.165.48.0/28\",\r\n + \ \"52.165.49.0/24\",\r\n \"52.165.56.0/21\",\r\n \"52.165.64.0/19\",\r\n + \ \"52.165.96.0/21\",\r\n \"52.165.104.0/25\",\r\n \"52.165.128.0/17\",\r\n + \ \"52.173.0.0/16\",\r\n \"52.176.0.0/17\",\r\n \"52.176.128.0/19\",\r\n + \ \"52.176.160.0/21\",\r\n \"52.176.176.0/20\",\r\n \"52.176.192.0/19\",\r\n + \ \"52.176.224.0/24\",\r\n \"52.180.128.0/19\",\r\n \"52.180.184.0/27\",\r\n + \ \"52.180.184.32/28\",\r\n \"52.180.185.0/24\",\r\n \"52.182.128.0/17\",\r\n + \ \"52.185.0.0/19\",\r\n \"52.185.32.0/20\",\r\n \"52.185.48.0/21\",\r\n + \ \"52.185.56.0/26\",\r\n \"52.185.56.64/27\",\r\n \"52.185.56.96/28\",\r\n + \ \"52.185.56.128/27\",\r\n \"52.185.56.160/28\",\r\n \"52.185.64.0/19\",\r\n + \ \"52.185.96.0/20\",\r\n \"52.185.112.0/26\",\r\n \"52.185.112.96/27\",\r\n + \ \"52.185.120.0/21\",\r\n \"52.189.0.0/17\",\r\n \"52.228.128.0/17\",\r\n + \ \"52.230.128.0/17\",\r\n \"52.232.157.0/24\",\r\n \"52.238.192.0/18\",\r\n + \ \"52.239.150.0/23\",\r\n \"52.239.177.32/27\",\r\n \"52.239.177.64/26\",\r\n + \ \"52.239.177.128/25\",\r\n \"52.239.195.0/24\",\r\n \"52.239.234.0/23\",\r\n + \ \"52.242.128.0/17\",\r\n \"52.245.68.0/24\",\r\n \"52.245.69.32/27\",\r\n + \ \"52.245.69.64/27\",\r\n \"52.245.69.96/28\",\r\n \"52.245.69.144/28\",\r\n + \ \"52.245.69.160/27\",\r\n \"52.245.69.192/26\",\r\n \"52.245.70.0/23\",\r\n + \ \"52.255.0.0/19\",\r\n \"53.103.139.0/24\",\r\n \"65.55.144.0/23\",\r\n + \ \"65.55.146.0/24\",\r\n \"104.43.128.0/17\",\r\n \"104.44.88.160/27\",\r\n + \ \"104.44.91.160/27\",\r\n \"104.44.92.224/27\",\r\n \"104.44.94.80/28\",\r\n + \ \"104.208.0.0/19\",\r\n \"104.208.32.0/20\",\r\n \"131.253.36.224/27\",\r\n + \ \"157.55.108.0/23\",\r\n \"168.61.128.0/25\",\r\n \"168.61.128.128/28\",\r\n + \ \"168.61.128.160/27\",\r\n \"168.61.128.192/26\",\r\n \"168.61.129.0/25\",\r\n + \ \"168.61.129.128/26\",\r\n \"168.61.129.208/28\",\r\n \"168.61.129.224/27\",\r\n + \ \"168.61.130.64/26\",\r\n \"168.61.130.128/25\",\r\n \"168.61.131.0/26\",\r\n + \ \"168.61.131.128/25\",\r\n \"168.61.132.0/26\",\r\n \"168.61.144.0/20\",\r\n + \ \"168.61.160.0/19\",\r\n \"168.61.208.0/20\",\r\n \"193.149.72.0/21\",\r\n + \ \"2603:1030::/45\",\r\n \"2603:1030:9:2::/63\",\r\n \"2603:1030:9:4::/62\",\r\n + \ \"2603:1030:9:8::/61\",\r\n \"2603:1030:9:10::/62\",\r\n + \ \"2603:1030:9:14::/63\",\r\n \"2603:1030:9:17::/64\",\r\n + \ \"2603:1030:9:18::/61\",\r\n \"2603:1030:9:20::/59\",\r\n + \ \"2603:1030:9:40::/58\",\r\n \"2603:1030:9:80::/59\",\r\n + \ \"2603:1030:9:a0::/60\",\r\n \"2603:1030:9:b3::/64\",\r\n + \ \"2603:1030:9:b4::/63\",\r\n \"2603:1030:9:b7::/64\",\r\n + \ \"2603:1030:9:b8::/63\",\r\n \"2603:1030:9:bd::/64\",\r\n + \ \"2603:1030:9:be::/63\",\r\n \"2603:1030:9:c0::/58\",\r\n + \ \"2603:1030:9:100::/64\",\r\n \"2603:1030:9:104::/62\",\r\n + \ \"2603:1030:9:108::/62\",\r\n \"2603:1030:9:10c::/64\",\r\n + \ \"2603:1030:9:111::/64\",\r\n \"2603:1030:9:112::/63\",\r\n + \ \"2603:1030:9:114::/64\",\r\n \"2603:1030:9:118::/62\",\r\n + \ \"2603:1030:9:11c::/63\",\r\n \"2603:1030:9:11f::/64\",\r\n + \ \"2603:1030:9:120::/61\",\r\n \"2603:1030:9:128::/62\",\r\n + \ \"2603:1030:9:12f::/64\",\r\n \"2603:1030:9:130::/62\",\r\n + \ \"2603:1030:9:134::/63\",\r\n \"2603:1030:a::/47\",\r\n + \ \"2603:1030:d::/48\",\r\n \"2603:1030:10::/48\",\r\n \"2603:1036:2403::/48\",\r\n + \ \"2603:1036:2500:1c::/64\",\r\n \"2603:1036:3000:100::/59\",\r\n + \ \"2603:1037:1:100::/59\",\r\n \"2a01:111:f403:c111::/64\",\r\n + \ \"2a01:111:f403:c904::/62\",\r\n \"2a01:111:f403:c928::/62\",\r\n + \ \"2a01:111:f403:c92c::/64\",\r\n \"2a01:111:f403:d104::/62\",\r\n + \ \"2a01:111:f403:d904::/62\",\r\n \"2a01:111:f403:e004::/62\",\r\n + \ \"2a01:111:f403:f904::/62\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureCloud.centraluseuap\",\r\n \"id\": \"AzureCloud.centraluseuap\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"3\",\r\n \"region\": \"centraluseuap\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n + \ ],\r\n \"systemService\": \"\",\r\n \"addressPrefixes\": + [\r\n \"13.67.153.16/28\",\r\n \"13.67.154.0/24\",\r\n \"13.104.129.0/26\",\r\n + \ \"13.104.159.192/26\",\r\n \"13.104.208.0/26\",\r\n \"20.45.192.0/18\",\r\n + \ \"20.46.0.0/19\",\r\n \"20.47.5.0/24\",\r\n \"20.47.105.0/24\",\r\n + \ \"20.51.24.0/21\",\r\n \"20.60.24.0/23\",\r\n \"20.135.68.0/23\",\r\n + \ \"20.150.23.0/24\",\r\n \"20.150.47.0/25\",\r\n \"20.157.96.0/24\",\r\n + \ \"20.190.138.128/25\",\r\n \"20.190.150.0/24\",\r\n \"40.66.120.0/21\",\r\n + \ \"40.78.200.0/21\",\r\n \"40.78.208.16/28\",\r\n \"40.79.232.0/21\",\r\n + \ \"40.82.0.0/22\",\r\n \"40.83.24.96/27\",\r\n \"40.87.180.6/31\",\r\n + \ \"40.87.180.8/30\",\r\n \"40.87.180.12/31\",\r\n \"40.87.180.22/31\",\r\n + \ \"40.87.180.24/30\",\r\n \"40.87.180.40/31\",\r\n \"40.87.180.68/30\",\r\n + \ \"40.87.180.72/31\",\r\n \"40.87.182.0/30\",\r\n \"40.87.182.16/29\",\r\n + \ \"40.87.182.60/31\",\r\n \"40.87.183.28/30\",\r\n \"40.87.183.32/31\",\r\n + \ \"40.87.183.40/31\",\r\n \"40.87.183.48/30\",\r\n \"40.87.183.52/31\",\r\n + \ \"40.87.183.128/28\",\r\n \"40.87.183.238/31\",\r\n \"40.87.183.240/30\",\r\n + \ \"40.89.32.0/19\",\r\n \"40.90.132.80/28\",\r\n \"40.90.142.32/27\",\r\n + \ \"40.90.149.0/27\",\r\n \"40.93.17.0/24\",\r\n \"40.93.208.0/22\",\r\n + \ \"40.93.212.0/24\",\r\n \"40.96.52.0/24\",\r\n \"40.122.0.0/20\",\r\n + \ \"40.126.10.128/25\",\r\n \"40.126.22.0/24\",\r\n \"52.102.143.0/24\",\r\n + \ \"52.103.17.0/24\",\r\n \"52.108.113.0/24\",\r\n \"52.109.140.0/22\",\r\n + \ \"52.141.224.0/20\",\r\n \"52.143.198.0/24\",\r\n \"52.158.176.0/20\",\r\n + \ \"52.165.104.128/26\",\r\n \"52.176.225.0/24\",\r\n \"52.176.232.0/21\",\r\n + \ \"52.176.240.0/20\",\r\n \"52.180.160.0/20\",\r\n \"52.180.176.0/21\",\r\n + \ \"52.185.56.112/28\",\r\n \"52.185.112.64/27\",\r\n \"52.239.177.0/27\",\r\n + \ \"52.239.238.0/24\",\r\n \"52.245.69.0/27\",\r\n \"52.253.156.0/22\",\r\n + \ \"52.253.232.0/21\",\r\n \"53.103.143.0/24\",\r\n \"104.208.48.0/20\",\r\n + \ \"168.61.136.0/21\",\r\n \"2603:1030:8::/48\",\r\n \"2603:1030:9::/63\",\r\n + \ \"2603:1030:9:16::/64\",\r\n \"2603:1030:9:b0::/63\",\r\n + \ \"2603:1030:9:b2::/64\",\r\n \"2603:1030:9:b6::/64\",\r\n + \ \"2603:1030:9:ba::/63\",\r\n \"2603:1030:9:bc::/64\",\r\n + \ \"2603:1030:9:101::/64\",\r\n \"2603:1030:9:102::/63\",\r\n + \ \"2603:1030:9:10d::/64\",\r\n \"2603:1030:9:10e::/63\",\r\n + \ \"2603:1030:9:110::/64\",\r\n \"2603:1030:9:115::/64\",\r\n + \ \"2603:1030:9:116::/63\",\r\n \"2603:1030:9:11e::/64\",\r\n + \ \"2603:1030:9:12c::/63\",\r\n \"2603:1030:9:12e::/64\",\r\n + \ \"2603:1030:e::/48\",\r\n \"2603:1030:f::/48\",\r\n \"2603:1036:903:2::/64\",\r\n + \ \"2603:1036:240d::/48\",\r\n \"2603:1036:2500:2c::/64\",\r\n + \ \"2603:1036:3000:160::/59\",\r\n \"2603:1037:1:160::/59\",\r\n + \ \"2a01:111:f403:c114::/64\",\r\n \"2a01:111:f403:c93c::/62\",\r\n + \ \"2a01:111:f403:c940::/64\",\r\n \"2a01:111:f403:d125::/64\",\r\n + \ \"2a01:111:f403:d915::/64\",\r\n \"2a01:111:f403:e014::/64\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCloud.eastasia\",\r\n + \ \"id\": \"AzureCloud.eastasia\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"eastasia\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"\",\r\n \"addressPrefixes\": [\r\n \"13.70.0.0/18\",\r\n + \ \"13.72.192.0/19\",\r\n \"13.75.0.0/17\",\r\n \"13.88.208.0/20\",\r\n + \ \"13.94.0.0/18\",\r\n \"13.104.155.64/26\",\r\n \"13.104.155.192/26\",\r\n + \ \"13.105.14.192/26\",\r\n \"13.105.16.0/25\",\r\n \"20.47.43.0/24\",\r\n + \ \"20.47.126.0/23\",\r\n \"20.60.131.0/24\",\r\n \"20.135.40.0/23\",\r\n + \ \"20.150.1.128/25\",\r\n \"20.150.22.0/24\",\r\n \"20.150.96.0/24\",\r\n + \ \"20.157.53.0/24\",\r\n \"20.187.64.0/18\",\r\n \"20.187.128.0/18\",\r\n + \ \"20.187.192.0/21\",\r\n \"20.187.224.0/19\",\r\n \"20.189.64.0/18\",\r\n + \ \"20.190.140.128/25\",\r\n \"20.190.164.0/24\",\r\n \"20.195.72.0/21\",\r\n + \ \"23.97.64.0/19\",\r\n \"23.98.32.0/21\",\r\n \"23.98.40.0/22\",\r\n + \ \"23.98.44.0/24\",\r\n \"23.99.96.0/19\",\r\n \"23.100.88.0/21\",\r\n + \ \"23.101.0.0/20\",\r\n \"23.102.200.0/23\",\r\n \"23.102.224.0/19\",\r\n + \ \"40.77.134.0/24\",\r\n \"40.77.136.16/28\",\r\n \"40.77.160.32/27\",\r\n + \ \"40.77.160.64/26\",\r\n \"40.77.160.128/25\",\r\n \"40.77.161.0/26\",\r\n + \ \"40.77.161.128/25\",\r\n \"40.77.175.128/27\",\r\n \"40.77.192.0/22\",\r\n + \ \"40.77.201.0/24\",\r\n \"40.77.226.0/25\",\r\n \"40.77.234.128/27\",\r\n + \ \"40.77.236.192/28\",\r\n \"40.77.237.128/25\",\r\n \"40.77.252.0/23\",\r\n + \ \"40.79.210.0/24\",\r\n \"40.81.16.0/20\",\r\n \"40.82.116.0/22\",\r\n + \ \"40.83.64.0/18\",\r\n \"40.87.192.0/22\",\r\n \"40.90.154.192/26\",\r\n + \ \"40.93.128.0/24\",\r\n \"40.126.12.128/25\",\r\n \"40.126.36.0/24\",\r\n + \ \"52.101.128.0/22\",\r\n \"52.101.132.0/24\",\r\n \"52.102.192.0/24\",\r\n + \ \"52.103.64.0/24\",\r\n \"52.103.192.0/24\",\r\n \"52.108.32.0/22\",\r\n + \ \"52.108.81.0/24\",\r\n \"52.109.120.0/22\",\r\n \"52.111.228.0/24\",\r\n + \ \"52.113.96.0/22\",\r\n \"52.113.100.0/24\",\r\n \"52.113.104.0/24\",\r\n + \ \"52.113.108.0/24\",\r\n \"52.114.0.0/21\",\r\n \"52.114.52.0/23\",\r\n + \ \"52.115.40.0/22\",\r\n \"52.115.44.0/23\",\r\n \"52.115.46.0/24\",\r\n + \ \"52.115.96.0/24\",\r\n \"52.120.157.0/24\",\r\n \"52.121.112.0/22\",\r\n + \ \"52.139.128.0/18\",\r\n \"52.175.0.0/17\",\r\n \"52.184.0.0/17\",\r\n + \ \"52.229.128.0/17\",\r\n \"52.232.153.0/24\",\r\n \"52.239.128.0/24\",\r\n + \ \"52.239.224.0/24\",\r\n \"52.245.56.0/22\",\r\n \"52.246.128.0/20\",\r\n + \ \"65.52.160.0/19\",\r\n \"104.44.88.192/27\",\r\n \"104.44.90.224/27\",\r\n + \ \"104.44.91.192/27\",\r\n \"104.44.94.96/28\",\r\n \"104.46.24.0/22\",\r\n + \ \"104.208.64.0/18\",\r\n \"104.214.160.0/19\",\r\n \"111.221.29.0/24\",\r\n + \ \"111.221.30.0/23\",\r\n \"111.221.78.0/23\",\r\n \"131.253.13.100/30\",\r\n + \ \"131.253.13.104/30\",\r\n \"131.253.35.192/26\",\r\n \"134.170.192.0/21\",\r\n + \ \"137.116.160.0/20\",\r\n \"168.63.128.0/24\",\r\n \"168.63.129.0/28\",\r\n + \ \"168.63.129.32/27\",\r\n \"168.63.129.64/26\",\r\n \"168.63.129.128/25\",\r\n + \ \"168.63.130.0/23\",\r\n \"168.63.132.0/22\",\r\n \"168.63.136.0/21\",\r\n + \ \"168.63.148.0/22\",\r\n \"168.63.152.0/22\",\r\n \"168.63.156.0/24\",\r\n + \ \"168.63.192.0/19\",\r\n \"191.232.140.0/24\",\r\n \"191.234.2.0/23\",\r\n + \ \"191.234.16.0/20\",\r\n \"191.237.238.0/24\",\r\n \"204.231.197.0/24\",\r\n + \ \"207.46.67.160/27\",\r\n \"207.46.67.192/27\",\r\n \"207.46.72.0/27\",\r\n + \ \"207.46.77.224/28\",\r\n \"207.46.87.0/24\",\r\n \"207.46.89.16/28\",\r\n + \ \"207.46.95.32/27\",\r\n \"207.46.126.0/24\",\r\n \"207.46.128.0/19\",\r\n + \ \"207.68.174.208/28\",\r\n \"2603:1040:200::/46\",\r\n + \ \"2603:1040:204::/48\",\r\n \"2603:1040:206::/48\",\r\n + \ \"2603:1040:207::/48\",\r\n \"2603:1046:1401::/48\",\r\n + \ \"2603:1046:1500:24::/64\",\r\n \"2603:1046:2000:40::/59\",\r\n + \ \"2603:1047:1:40::/59\",\r\n \"2a01:111:f100:6000::/64\",\r\n + \ \"2a01:111:f403:c400::/64\",\r\n \"2a01:111:f403:cc00::/62\",\r\n + \ \"2a01:111:f403:cc04::/64\",\r\n \"2a01:111:f403:d401::/64\",\r\n + \ \"2a01:111:f403:dc00::/64\",\r\n \"2a01:111:f403:e400::/64\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCloud.eastus\",\r\n + \ \"id\": \"AzureCloud.eastus\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"5\",\r\n + \ \"region\": \"eastus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"\",\r\n \"addressPrefixes\": [\r\n \"13.68.128.0/17\",\r\n + \ \"13.72.64.0/18\",\r\n \"13.82.0.0/16\",\r\n \"13.90.0.0/16\",\r\n + \ \"13.92.0.0/16\",\r\n \"13.104.144.128/27\",\r\n \"13.104.152.128/25\",\r\n + \ \"13.104.192.0/21\",\r\n \"13.104.211.0/25\",\r\n \"13.104.214.128/25\",\r\n + \ \"13.104.215.0/25\",\r\n \"13.105.17.0/26\",\r\n \"13.105.19.0/25\",\r\n + \ \"13.105.20.192/26\",\r\n \"13.105.27.0/25\",\r\n \"13.105.27.192/27\",\r\n + \ \"13.105.36.192/26\",\r\n \"13.105.74.48/28\",\r\n \"20.38.98.0/24\",\r\n + \ \"20.39.32.0/19\",\r\n \"20.42.0.0/17\",\r\n \"20.47.1.0/24\",\r\n + \ \"20.47.16.0/23\",\r\n \"20.47.31.0/24\",\r\n \"20.47.108.0/23\",\r\n + \ \"20.47.113.0/24\",\r\n \"20.49.104.0/21\",\r\n \"20.51.128.0/17\",\r\n + \ \"20.55.0.0/17\",\r\n \"20.60.0.0/24\",\r\n \"20.60.2.0/23\",\r\n + \ \"20.60.6.0/23\",\r\n \"20.60.60.0/22\",\r\n \"20.60.128.0/23\",\r\n + \ \"20.60.134.0/23\",\r\n \"20.60.146.0/23\",\r\n \"20.62.128.0/17\",\r\n + \ \"20.72.128.0/18\",\r\n \"20.75.128.0/17\",\r\n \"20.81.0.0/17\",\r\n + \ \"20.83.128.0/18\",\r\n \"20.84.0.0/17\",\r\n \"20.85.128.0/17\",\r\n + \ \"20.88.128.0/18\",\r\n \"20.135.4.0/22\",\r\n \"20.135.194.0/23\",\r\n + \ \"20.135.196.0/22\",\r\n \"20.150.32.0/23\",\r\n \"20.150.90.0/24\",\r\n + \ \"20.157.39.0/24\",\r\n \"20.185.0.0/16\",\r\n \"20.190.130.0/24\",\r\n + \ \"20.190.151.0/24\",\r\n \"23.96.0.0/17\",\r\n \"23.98.45.0/24\",\r\n + \ \"23.100.16.0/20\",\r\n \"23.101.128.0/20\",\r\n \"40.71.0.0/16\",\r\n + \ \"40.76.0.0/16\",\r\n \"40.78.219.0/24\",\r\n \"40.78.224.0/21\",\r\n + \ \"40.79.152.0/21\",\r\n \"40.80.144.0/21\",\r\n \"40.82.24.0/22\",\r\n + \ \"40.82.60.0/22\",\r\n \"40.85.160.0/19\",\r\n \"40.87.0.0/17\",\r\n + \ \"40.87.164.0/22\",\r\n \"40.88.0.0/16\",\r\n \"40.90.23.128/25\",\r\n + \ \"40.90.24.128/25\",\r\n \"40.90.25.0/26\",\r\n \"40.90.30.192/26\",\r\n + \ \"40.90.129.128/26\",\r\n \"40.90.130.96/28\",\r\n \"40.90.131.224/27\",\r\n + \ \"40.90.136.16/28\",\r\n \"40.90.136.32/27\",\r\n \"40.90.137.96/27\",\r\n + \ \"40.90.139.224/27\",\r\n \"40.90.143.0/27\",\r\n \"40.90.146.64/26\",\r\n + \ \"40.90.147.0/27\",\r\n \"40.90.148.64/27\",\r\n \"40.90.150.32/27\",\r\n + \ \"40.90.224.0/19\",\r\n \"40.91.4.0/22\",\r\n \"40.93.2.0/24\",\r\n + \ \"40.93.4.0/24\",\r\n \"40.93.11.0/24\",\r\n \"40.112.48.0/20\",\r\n + \ \"40.114.0.0/17\",\r\n \"40.117.32.0/19\",\r\n \"40.117.64.0/18\",\r\n + \ \"40.117.128.0/17\",\r\n \"40.121.0.0/16\",\r\n \"40.123.132.0/22\",\r\n + \ \"40.126.2.0/24\",\r\n \"40.126.23.0/24\",\r\n \"52.101.4.0/22\",\r\n + \ \"52.101.9.0/24\",\r\n \"52.101.20.0/22\",\r\n \"52.101.51.0/24\",\r\n + \ \"52.101.52.0/22\",\r\n \"52.102.129.0/24\",\r\n \"52.102.137.0/24\",\r\n + \ \"52.102.159.0/24\",\r\n \"52.103.1.0/24\",\r\n \"52.103.3.0/24\",\r\n + \ \"52.103.11.0/24\",\r\n \"52.103.129.0/24\",\r\n \"52.108.16.0/21\",\r\n + \ \"52.108.79.0/24\",\r\n \"52.108.105.0/24\",\r\n \"52.108.106.0/23\",\r\n + \ \"52.109.12.0/22\",\r\n \"52.111.229.0/24\",\r\n \"52.112.112.0/24\",\r\n + \ \"52.113.16.0/20\",\r\n \"52.114.132.0/22\",\r\n \"52.115.54.0/24\",\r\n + \ \"52.115.62.0/23\",\r\n \"52.115.192.0/19\",\r\n \"52.120.32.0/19\",\r\n + \ \"52.120.224.0/20\",\r\n \"52.123.0.0/24\",\r\n \"52.125.132.0/22\",\r\n + \ \"52.136.64.0/18\",\r\n \"52.142.0.0/18\",\r\n \"52.143.207.0/24\",\r\n + \ \"52.146.0.0/17\",\r\n \"52.147.192.0/18\",\r\n \"52.149.128.0/17\",\r\n + \ \"52.150.0.0/17\",\r\n \"52.151.128.0/17\",\r\n \"52.152.128.0/17\",\r\n + \ \"52.154.64.0/18\",\r\n \"52.168.0.0/16\",\r\n \"52.170.0.0/16\",\r\n + \ \"52.179.0.0/17\",\r\n \"52.186.0.0/16\",\r\n \"52.188.0.0/16\",\r\n + \ \"52.190.0.0/17\",\r\n \"52.191.0.0/17\",\r\n \"52.191.192.0/18\",\r\n + \ \"52.224.0.0/16\",\r\n \"52.226.0.0/16\",\r\n \"52.232.146.0/24\",\r\n + \ \"52.234.128.0/17\",\r\n \"52.239.152.0/22\",\r\n \"52.239.168.0/22\",\r\n + \ \"52.239.207.192/26\",\r\n \"52.239.214.0/23\",\r\n \"52.239.220.0/23\",\r\n + \ \"52.239.246.0/23\",\r\n \"52.239.252.0/24\",\r\n \"52.240.0.0/17\",\r\n + \ \"52.245.8.0/22\",\r\n \"52.245.104.0/22\",\r\n \"52.249.128.0/17\",\r\n + \ \"52.253.160.0/24\",\r\n \"52.255.128.0/17\",\r\n \"53.103.137.0/24\",\r\n + \ \"65.54.19.128/27\",\r\n \"104.41.128.0/19\",\r\n \"104.44.91.32/27\",\r\n + \ \"104.44.94.16/28\",\r\n \"104.44.95.160/27\",\r\n \"104.44.95.240/28\",\r\n + \ \"104.45.128.0/18\",\r\n \"104.45.192.0/20\",\r\n \"104.211.0.0/18\",\r\n + \ \"137.116.112.0/20\",\r\n \"137.117.32.0/19\",\r\n \"137.117.64.0/18\",\r\n + \ \"137.135.64.0/18\",\r\n \"138.91.96.0/19\",\r\n \"157.56.176.0/21\",\r\n + \ \"168.61.32.0/20\",\r\n \"168.61.48.0/21\",\r\n \"168.62.32.0/19\",\r\n + \ \"168.62.160.0/19\",\r\n \"191.234.32.0/19\",\r\n \"191.236.0.0/18\",\r\n + \ \"191.237.0.0/17\",\r\n \"191.238.0.0/18\",\r\n \"204.152.18.0/31\",\r\n + \ \"204.152.18.8/29\",\r\n \"204.152.18.32/27\",\r\n \"204.152.18.64/26\",\r\n + \ \"204.152.19.0/24\",\r\n \"2603:1030:20c::/47\",\r\n \"2603:1030:20e::/48\",\r\n + \ \"2603:1030:210::/47\",\r\n \"2603:1036:120d::/48\",\r\n + \ \"2603:1036:2404::/48\",\r\n \"2603:1036:3000:120::/59\",\r\n + \ \"2603:1037:1:120::/59\",\r\n \"2a01:111:f100:2000::/52\",\r\n + \ \"2a01:111:f403:c100::/64\",\r\n \"2a01:111:f403:c900::/64\",\r\n + \ \"2a01:111:f403:c91e::/63\",\r\n \"2a01:111:f403:c920::/63\",\r\n + \ \"2a01:111:f403:c922::/64\",\r\n \"2a01:111:f403:d100::/64\",\r\n + \ \"2a01:111:f403:d900::/64\",\r\n \"2a01:111:f403:f000::/64\",\r\n + \ \"2a01:111:f403:f900::/62\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureCloud.eastus2\",\r\n \"id\": \"AzureCloud.eastus2\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"4\",\r\n \"region\": \"eastus2\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n + \ ],\r\n \"systemService\": \"\",\r\n \"addressPrefixes\": + [\r\n \"13.68.0.0/17\",\r\n \"13.77.64.0/18\",\r\n \"13.104.147.0/25\",\r\n + \ \"13.104.208.64/27\",\r\n \"13.105.18.192/26\",\r\n \"13.105.23.64/26\",\r\n + \ \"13.105.28.0/28\",\r\n \"13.105.28.128/25\",\r\n \"13.105.67.128/25\",\r\n + \ \"13.105.74.128/26\",\r\n \"13.105.75.0/27\",\r\n \"13.105.75.32/28\",\r\n + \ \"13.105.75.64/27\",\r\n \"20.36.128.0/17\",\r\n \"20.38.100.0/23\",\r\n + \ \"20.38.208.0/22\",\r\n \"20.41.0.0/18\",\r\n \"20.44.16.0/21\",\r\n + \ \"20.44.64.0/18\",\r\n \"20.47.60.0/23\",\r\n \"20.47.76.0/23\",\r\n + \ \"20.49.0.0/18\",\r\n \"20.49.96.0/21\",\r\n \"20.55.192.0/18\",\r\n + \ \"20.57.0.0/17\",\r\n \"20.60.56.0/22\",\r\n \"20.60.132.0/23\",\r\n + \ \"20.60.180.0/23\",\r\n \"20.62.0.0/17\",\r\n \"20.65.0.0/17\",\r\n + \ \"20.69.192.0/18\",\r\n \"20.72.64.0/18\",\r\n \"20.75.0.0/17\",\r\n + \ \"20.80.192.0/18\",\r\n \"20.81.128.0/17\",\r\n \"20.85.0.0/17\",\r\n + \ \"20.88.96.0/19\",\r\n \"20.94.0.0/17\",\r\n \"20.96.0.0/17\",\r\n + \ \"20.135.16.0/23\",\r\n \"20.135.200.0/22\",\r\n \"20.135.204.0/23\",\r\n + \ \"20.150.29.0/24\",\r\n \"20.150.36.0/24\",\r\n \"20.150.50.0/23\",\r\n + \ \"20.150.72.0/24\",\r\n \"20.150.82.0/24\",\r\n \"20.150.88.0/24\",\r\n + \ \"20.157.36.0/23\",\r\n \"20.157.48.0/23\",\r\n \"20.186.0.0/17\",\r\n + \ \"20.186.128.0/18\",\r\n \"20.190.131.0/24\",\r\n \"20.190.152.0/24\",\r\n + \ \"20.190.192.0/18\",\r\n \"23.100.64.0/21\",\r\n \"23.101.32.0/21\",\r\n + \ \"23.101.80.0/21\",\r\n \"23.101.144.0/20\",\r\n \"23.102.96.0/19\",\r\n + \ \"23.102.204.0/22\",\r\n \"23.102.208.0/20\",\r\n \"40.65.192.0/18\",\r\n + \ \"40.67.128.0/19\",\r\n \"40.70.0.0/18\",\r\n \"40.70.64.0/20\",\r\n + \ \"40.70.80.0/21\",\r\n \"40.70.128.0/17\",\r\n \"40.75.0.0/19\",\r\n + \ \"40.75.64.0/18\",\r\n \"40.77.128.128/25\",\r\n \"40.77.129.0/24\",\r\n + \ \"40.77.130.0/25\",\r\n \"40.77.132.0/24\",\r\n \"40.77.136.48/28\",\r\n + \ \"40.77.137.128/26\",\r\n \"40.77.138.128/25\",\r\n \"40.77.163.0/24\",\r\n + \ \"40.77.166.160/27\",\r\n \"40.77.167.0/24\",\r\n \"40.77.168.0/24\",\r\n + \ \"40.77.170.0/24\",\r\n \"40.77.175.96/27\",\r\n \"40.77.177.0/24\",\r\n + \ \"40.77.178.0/23\",\r\n \"40.77.182.0/28\",\r\n \"40.77.182.32/27\",\r\n + \ \"40.77.184.0/25\",\r\n \"40.77.198.0/26\",\r\n \"40.77.199.192/26\",\r\n + \ \"40.77.224.128/25\",\r\n \"40.77.228.0/24\",\r\n \"40.77.233.0/24\",\r\n + \ \"40.77.234.192/27\",\r\n \"40.77.236.80/28\",\r\n \"40.77.237.64/26\",\r\n + \ \"40.77.240.0/25\",\r\n \"40.77.245.0/24\",\r\n \"40.77.248.0/25\",\r\n + \ \"40.77.251.0/24\",\r\n \"40.78.208.48/28\",\r\n \"40.78.220.0/24\",\r\n + \ \"40.79.0.0/21\",\r\n \"40.79.8.0/27\",\r\n \"40.79.8.32/28\",\r\n + \ \"40.79.8.64/27\",\r\n \"40.79.8.96/28\",\r\n \"40.79.9.0/24\",\r\n + \ \"40.79.16.0/20\",\r\n \"40.79.32.0/20\",\r\n \"40.79.48.0/27\",\r\n + \ \"40.79.48.32/28\",\r\n \"40.79.49.0/24\",\r\n \"40.79.56.0/21\",\r\n + \ \"40.79.64.0/20\",\r\n \"40.79.80.0/21\",\r\n \"40.79.90.0/24\",\r\n + \ \"40.79.91.0/28\",\r\n \"40.79.92.0/24\",\r\n \"40.79.93.0/28\",\r\n + \ \"40.79.94.0/24\",\r\n \"40.79.95.0/28\",\r\n \"40.79.206.64/27\",\r\n + \ \"40.79.240.0/20\",\r\n \"40.82.4.0/22\",\r\n \"40.82.44.0/22\",\r\n + \ \"40.84.0.0/17\",\r\n \"40.87.168.0/30\",\r\n \"40.87.168.8/29\",\r\n + \ \"40.87.168.16/28\",\r\n \"40.87.168.32/29\",\r\n \"40.87.168.48/28\",\r\n + \ \"40.87.168.64/30\",\r\n \"40.87.168.70/31\",\r\n \"40.87.168.72/29\",\r\n + \ \"40.87.168.80/28\",\r\n \"40.87.168.96/27\",\r\n \"40.87.168.128/26\",\r\n + \ \"40.87.168.192/28\",\r\n \"40.87.168.210/31\",\r\n \"40.87.168.212/30\",\r\n + \ \"40.87.168.216/29\",\r\n \"40.87.168.224/27\",\r\n \"40.87.169.0/27\",\r\n + \ \"40.87.169.32/29\",\r\n \"40.87.169.44/30\",\r\n \"40.87.169.48/29\",\r\n + \ \"40.87.169.56/31\",\r\n \"40.87.169.60/30\",\r\n \"40.87.169.64/27\",\r\n + \ \"40.87.169.96/31\",\r\n \"40.87.169.102/31\",\r\n \"40.87.169.104/29\",\r\n + \ \"40.87.169.112/28\",\r\n \"40.87.169.128/29\",\r\n \"40.87.169.136/31\",\r\n + \ \"40.87.169.140/30\",\r\n \"40.87.169.160/27\",\r\n \"40.87.169.192/26\",\r\n + \ \"40.87.170.0/25\",\r\n \"40.87.170.128/28\",\r\n \"40.87.170.144/31\",\r\n + \ \"40.87.170.152/29\",\r\n \"40.87.170.160/28\",\r\n \"40.87.170.176/29\",\r\n + \ \"40.87.170.184/30\",\r\n \"40.87.170.194/31\",\r\n \"40.87.170.196/30\",\r\n + \ \"40.87.170.214/31\",\r\n \"40.87.170.216/30\",\r\n \"40.87.170.228/30\",\r\n + \ \"40.87.170.232/29\",\r\n \"40.87.170.240/29\",\r\n \"40.87.170.248/30\",\r\n + \ \"40.87.171.2/31\",\r\n \"40.87.171.4/30\",\r\n \"40.87.171.8/29\",\r\n + \ \"40.87.171.16/28\",\r\n \"40.87.171.36/30\",\r\n \"40.87.171.40/31\",\r\n + \ \"40.87.171.72/29\",\r\n \"40.87.171.80/28\",\r\n \"40.87.171.96/27\",\r\n + \ \"40.87.171.128/28\",\r\n \"40.90.19.128/25\",\r\n \"40.90.20.0/25\",\r\n + \ \"40.90.130.160/27\",\r\n \"40.90.132.128/26\",\r\n \"40.90.133.112/28\",\r\n + \ \"40.90.134.192/26\",\r\n \"40.90.136.0/28\",\r\n \"40.90.138.160/27\",\r\n + \ \"40.90.140.160/27\",\r\n \"40.90.140.192/27\",\r\n \"40.90.143.192/26\",\r\n + \ \"40.90.144.64/26\",\r\n \"40.90.145.32/27\",\r\n \"40.90.145.64/27\",\r\n + \ \"40.90.148.96/27\",\r\n \"40.90.155.128/26\",\r\n \"40.90.157.128/26\",\r\n + \ \"40.90.158.128/25\",\r\n \"40.91.12.16/28\",\r\n \"40.91.12.48/28\",\r\n + \ \"40.91.12.64/26\",\r\n \"40.91.12.128/28\",\r\n \"40.91.12.160/27\",\r\n + \ \"40.91.12.208/28\",\r\n \"40.91.12.240/28\",\r\n \"40.91.13.64/27\",\r\n + \ \"40.91.13.96/28\",\r\n \"40.91.13.128/27\",\r\n \"40.91.13.240/28\",\r\n + \ \"40.91.14.0/24\",\r\n \"40.93.3.0/24\",\r\n \"40.93.12.0/24\",\r\n + \ \"40.123.0.0/17\",\r\n \"40.126.3.0/24\",\r\n \"40.126.24.0/24\",\r\n + \ \"52.101.10.0/24\",\r\n \"52.101.36.0/22\",\r\n \"52.101.56.0/22\",\r\n + \ \"52.101.60.0/24\",\r\n \"52.102.131.0/24\",\r\n \"52.102.138.0/24\",\r\n + \ \"52.103.5.0/24\",\r\n \"52.103.12.0/24\",\r\n \"52.103.131.0/24\",\r\n + \ \"52.108.186.0/24\",\r\n \"52.108.216.0/22\",\r\n \"52.109.4.0/22\",\r\n + \ \"52.111.230.0/24\",\r\n \"52.112.76.0/22\",\r\n \"52.112.95.0/24\",\r\n + \ \"52.112.104.0/24\",\r\n \"52.112.108.0/24\",\r\n \"52.112.116.0/24\",\r\n + \ \"52.114.136.0/21\",\r\n \"52.114.180.0/22\",\r\n \"52.114.186.0/23\",\r\n + \ \"52.115.48.0/22\",\r\n \"52.115.52.0/23\",\r\n \"52.115.64.0/22\",\r\n + \ \"52.115.160.0/19\",\r\n \"52.120.64.0/19\",\r\n \"52.121.32.0/22\",\r\n + \ \"52.123.4.0/24\",\r\n \"52.125.136.0/24\",\r\n \"52.136.29.0/24\",\r\n + \ \"52.138.80.0/21\",\r\n \"52.138.96.0/19\",\r\n \"52.143.192.0/24\",\r\n + \ \"52.147.160.0/19\",\r\n \"52.167.0.0/16\",\r\n \"52.177.0.0/16\",\r\n + \ \"52.179.128.0/17\",\r\n \"52.184.128.0/19\",\r\n \"52.184.160.0/21\",\r\n + \ \"52.184.168.0/28\",\r\n \"52.184.168.80/28\",\r\n \"52.184.168.96/27\",\r\n + \ \"52.184.168.128/28\",\r\n \"52.184.169.0/24\",\r\n \"52.184.170.0/24\",\r\n + \ \"52.184.176.0/20\",\r\n \"52.184.192.0/18\",\r\n \"52.225.128.0/21\",\r\n + \ \"52.225.136.0/27\",\r\n \"52.225.136.32/28\",\r\n \"52.225.136.64/28\",\r\n + \ \"52.225.137.0/24\",\r\n \"52.225.192.0/18\",\r\n \"52.232.151.0/24\",\r\n + \ \"52.232.160.0/19\",\r\n \"52.232.192.0/18\",\r\n \"52.239.156.0/24\",\r\n + \ \"52.239.157.0/25\",\r\n \"52.239.157.128/26\",\r\n \"52.239.157.192/27\",\r\n + \ \"52.239.172.0/22\",\r\n \"52.239.184.0/25\",\r\n \"52.239.184.160/28\",\r\n + \ \"52.239.184.192/27\",\r\n \"52.239.185.32/27\",\r\n \"52.239.192.0/26\",\r\n + \ \"52.239.192.64/28\",\r\n \"52.239.192.96/27\",\r\n \"52.239.192.160/27\",\r\n + \ \"52.239.192.192/26\",\r\n \"52.239.198.0/25\",\r\n \"52.239.198.192/26\",\r\n + \ \"52.239.206.0/24\",\r\n \"52.239.207.32/28\",\r\n \"52.239.207.64/26\",\r\n + \ \"52.239.207.128/27\",\r\n \"52.239.222.0/23\",\r\n \"52.242.64.0/18\",\r\n + \ \"52.245.44.0/24\",\r\n \"52.245.45.0/25\",\r\n \"52.245.45.128/28\",\r\n + \ \"52.245.45.160/27\",\r\n \"52.245.45.192/26\",\r\n \"52.245.46.0/27\",\r\n + \ \"52.245.46.48/28\",\r\n \"52.245.46.64/28\",\r\n \"52.245.46.112/28\",\r\n + \ \"52.245.46.128/28\",\r\n \"52.245.46.160/27\",\r\n \"52.245.46.192/26\",\r\n + \ \"52.247.0.0/17\",\r\n \"52.250.128.0/18\",\r\n \"52.251.0.0/17\",\r\n + \ \"52.252.0.0/17\",\r\n \"52.253.64.0/20\",\r\n \"52.253.148.0/23\",\r\n + \ \"52.253.154.0/23\",\r\n \"52.254.0.0/18\",\r\n \"52.254.64.0/19\",\r\n + \ \"52.254.96.0/20\",\r\n \"52.254.112.0/21\",\r\n \"53.103.138.0/24\",\r\n + \ \"65.52.108.0/23\",\r\n \"65.52.110.0/24\",\r\n \"65.55.44.16/28\",\r\n + \ \"65.55.44.32/27\",\r\n \"65.55.44.64/27\",\r\n \"65.55.44.96/28\",\r\n + \ \"65.55.44.128/27\",\r\n \"65.55.60.188/30\",\r\n \"65.55.105.0/26\",\r\n + \ \"65.55.105.96/27\",\r\n \"65.55.105.224/27\",\r\n \"65.55.106.0/26\",\r\n + \ \"65.55.106.64/27\",\r\n \"65.55.106.128/26\",\r\n \"65.55.107.48/28\",\r\n + \ \"65.55.107.64/27\",\r\n \"65.55.108.0/24\",\r\n \"65.55.209.128/26\",\r\n + \ \"65.55.211.32/27\",\r\n \"65.55.213.64/26\",\r\n \"65.55.213.128/26\",\r\n + \ \"65.55.217.0/24\",\r\n \"65.55.219.32/27\",\r\n \"65.55.219.128/25\",\r\n + \ \"104.44.88.32/27\",\r\n \"104.44.88.96/27\",\r\n \"104.44.91.96/27\",\r\n + \ \"104.44.93.160/27\",\r\n \"104.44.94.48/28\",\r\n \"104.46.0.0/21\",\r\n + \ \"104.46.96.0/19\",\r\n \"104.46.192.0/20\",\r\n \"104.47.200.0/21\",\r\n + \ \"104.208.128.0/17\",\r\n \"104.209.128.0/17\",\r\n \"104.210.0.0/20\",\r\n + \ \"131.253.12.176/28\",\r\n \"131.253.12.208/28\",\r\n \"131.253.12.224/30\",\r\n + \ \"131.253.13.16/29\",\r\n \"131.253.13.48/28\",\r\n \"131.253.13.72/29\",\r\n + \ \"131.253.13.80/29\",\r\n \"131.253.13.96/30\",\r\n \"131.253.14.16/28\",\r\n + \ \"131.253.14.64/29\",\r\n \"131.253.14.208/28\",\r\n \"131.253.14.224/28\",\r\n + \ \"131.253.15.8/29\",\r\n \"131.253.15.16/28\",\r\n \"131.253.24.0/28\",\r\n + \ \"131.253.24.192/26\",\r\n \"131.253.34.224/27\",\r\n \"131.253.38.0/27\",\r\n + \ \"131.253.38.128/26\",\r\n \"131.253.40.0/28\",\r\n \"134.170.220.0/23\",\r\n + \ \"137.116.0.0/18\",\r\n \"137.116.64.0/19\",\r\n \"137.116.96.0/22\",\r\n + \ \"157.55.7.128/26\",\r\n \"157.55.10.192/26\",\r\n \"157.55.11.128/25\",\r\n + \ \"157.55.37.0/24\",\r\n \"157.55.38.0/24\",\r\n \"157.55.48.0/24\",\r\n + \ \"157.55.50.0/25\",\r\n \"157.55.55.100/30\",\r\n \"157.55.55.104/29\",\r\n + \ \"157.55.55.136/29\",\r\n \"157.55.55.144/29\",\r\n \"157.55.55.160/28\",\r\n + \ \"157.56.2.128/25\",\r\n \"157.56.3.0/25\",\r\n \"191.236.192.0/18\",\r\n + \ \"191.237.128.0/18\",\r\n \"191.239.224.0/20\",\r\n \"193.149.64.0/21\",\r\n + \ \"198.180.96.0/25\",\r\n \"199.30.16.0/24\",\r\n \"199.30.18.0/23\",\r\n + \ \"199.30.20.0/24\",\r\n \"199.30.22.0/24\",\r\n \"199.30.28.64/26\",\r\n + \ \"199.30.28.128/25\",\r\n \"199.30.29.0/24\",\r\n \"2603:1030:400::/48\",\r\n + \ \"2603:1030:401:2::/63\",\r\n \"2603:1030:401:4::/62\",\r\n + \ \"2603:1030:401:8::/61\",\r\n \"2603:1030:401:10::/62\",\r\n + \ \"2603:1030:401:14::/63\",\r\n \"2603:1030:401:17::/64\",\r\n + \ \"2603:1030:401:18::/61\",\r\n \"2603:1030:401:20::/59\",\r\n + \ \"2603:1030:401:40::/60\",\r\n \"2603:1030:401:50::/61\",\r\n + \ \"2603:1030:401:58::/64\",\r\n \"2603:1030:401:5a::/63\",\r\n + \ \"2603:1030:401:5c::/62\",\r\n \"2603:1030:401:60::/59\",\r\n + \ \"2603:1030:401:80::/62\",\r\n \"2603:1030:401:84::/64\",\r\n + \ \"2603:1030:401:87::/64\",\r\n \"2603:1030:401:88::/62\",\r\n + \ \"2603:1030:401:8c::/63\",\r\n \"2603:1030:401:8f::/64\",\r\n + \ \"2603:1030:401:90::/63\",\r\n \"2603:1030:401:94::/62\",\r\n + \ \"2603:1030:401:98::/61\",\r\n \"2603:1030:401:a0::/62\",\r\n + \ \"2603:1030:401:a4::/63\",\r\n \"2603:1030:401:a7::/64\",\r\n + \ \"2603:1030:401:a8::/61\",\r\n \"2603:1030:401:b0::/60\",\r\n + \ \"2603:1030:401:c0::/58\",\r\n \"2603:1030:401:100::/59\",\r\n + \ \"2603:1030:401:120::/64\",\r\n \"2603:1030:401:124::/62\",\r\n + \ \"2603:1030:401:128::/61\",\r\n \"2603:1030:401:130::/62\",\r\n + \ \"2603:1030:401:134::/63\",\r\n \"2603:1030:401:139::/64\",\r\n + \ \"2603:1030:401:13a::/63\",\r\n \"2603:1030:401:143::/64\",\r\n + \ \"2603:1030:401:144::/63\",\r\n \"2603:1030:401:14a::/63\",\r\n + \ \"2603:1030:401:14c::/62\",\r\n \"2603:1030:401:150::/62\",\r\n + \ \"2603:1030:401:154::/63\",\r\n \"2603:1030:401:159::/64\",\r\n + \ \"2603:1030:401:15a::/63\",\r\n \"2603:1030:401:15c::/62\",\r\n + \ \"2603:1030:401:160::/61\",\r\n \"2603:1030:401:16a::/63\",\r\n + \ \"2603:1030:401:16c::/64\",\r\n \"2603:1030:401:17c::/62\",\r\n + \ \"2603:1030:401:180::/59\",\r\n \"2603:1030:402::/47\",\r\n + \ \"2603:1030:406::/47\",\r\n \"2603:1030:408::/48\",\r\n + \ \"2603:1030:40a:1::/64\",\r\n \"2603:1030:40a:2::/64\",\r\n + \ \"2603:1030:40c::/48\",\r\n \"2603:1030:40d:8000::/49\",\r\n + \ \"2603:1030:40e::/56\",\r\n \"2603:1036:2405::/48\",\r\n + \ \"2603:1036:2500::/64\",\r\n \"2603:1036:3000::/59\",\r\n + \ \"2603:1037:1::/59\",\r\n \"2603:1039:205::/48\",\r\n \"2a01:111:f403:c110::/64\",\r\n + \ \"2a01:111:f403:c908::/62\",\r\n \"2a01:111:f403:c923::/64\",\r\n + \ \"2a01:111:f403:c924::/62\",\r\n \"2a01:111:f403:d108::/62\",\r\n + \ \"2a01:111:f403:d908::/62\",\r\n \"2a01:111:f403:e008::/62\",\r\n + \ \"2a01:111:f403:f908::/62\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureCloud.eastus2euap\",\r\n \"id\": \"AzureCloud.eastus2euap\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"4\",\r\n \"region\": \"eastus2euap\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n + \ ],\r\n \"systemService\": \"\",\r\n \"addressPrefixes\": + [\r\n \"13.104.216.0/24\",\r\n \"13.105.52.32/27\",\r\n + \ \"13.105.52.64/28\",\r\n \"13.105.52.96/27\",\r\n \"13.105.60.160/27\",\r\n + \ \"13.105.61.0/28\",\r\n \"13.105.61.32/27\",\r\n \"20.39.0.0/19\",\r\n + \ \"20.47.6.0/24\",\r\n \"20.47.106.0/24\",\r\n \"20.47.128.0/17\",\r\n + \ \"20.51.16.0/21\",\r\n \"20.60.154.0/23\",\r\n \"20.60.184.0/23\",\r\n + \ \"20.135.210.0/23\",\r\n \"20.135.212.0/22\",\r\n \"20.150.108.0/24\",\r\n + \ \"20.190.138.0/25\",\r\n \"20.190.149.0/24\",\r\n \"40.70.88.0/28\",\r\n + \ \"40.74.144.0/20\",\r\n \"40.75.32.0/21\",\r\n \"40.78.208.0/28\",\r\n + \ \"40.79.88.0/27\",\r\n \"40.79.88.32/28\",\r\n \"40.79.89.0/24\",\r\n + \ \"40.79.96.0/19\",\r\n \"40.87.168.4/30\",\r\n \"40.87.168.40/29\",\r\n + \ \"40.87.168.68/31\",\r\n \"40.87.168.208/31\",\r\n \"40.87.169.40/30\",\r\n + \ \"40.87.169.58/31\",\r\n \"40.87.169.98/31\",\r\n \"40.87.169.100/31\",\r\n + \ \"40.87.169.138/31\",\r\n \"40.87.169.144/28\",\r\n \"40.87.170.146/31\",\r\n + \ \"40.87.170.148/30\",\r\n \"40.87.170.188/30\",\r\n \"40.87.170.192/31\",\r\n + \ \"40.87.170.200/29\",\r\n \"40.87.170.208/30\",\r\n \"40.87.170.212/31\",\r\n + \ \"40.87.170.220/30\",\r\n \"40.87.170.224/30\",\r\n \"40.87.170.252/30\",\r\n + \ \"40.87.171.0/31\",\r\n \"40.87.171.32/30\",\r\n \"40.87.171.42/31\",\r\n + \ \"40.87.171.44/30\",\r\n \"40.87.171.48/28\",\r\n \"40.87.171.64/29\",\r\n + \ \"40.89.64.0/18\",\r\n \"40.90.129.96/27\",\r\n \"40.90.137.32/27\",\r\n + \ \"40.90.146.192/27\",\r\n \"40.91.12.0/28\",\r\n \"40.91.12.32/28\",\r\n + \ \"40.91.13.0/28\",\r\n \"40.93.16.0/24\",\r\n \"40.93.203.0/24\",\r\n + \ \"40.93.204.0/22\",\r\n \"40.96.46.0/24\",\r\n \"40.96.55.0/24\",\r\n + \ \"40.126.10.0/25\",\r\n \"40.126.21.0/24\",\r\n \"52.102.142.0/24\",\r\n + \ \"52.103.16.0/24\",\r\n \"52.108.116.0/24\",\r\n \"52.109.165.0/24\",\r\n + \ \"52.111.208.0/24\",\r\n \"52.138.64.0/20\",\r\n \"52.138.88.0/21\",\r\n + \ \"52.143.212.0/23\",\r\n \"52.147.128.0/19\",\r\n \"52.184.168.16/28\",\r\n + \ \"52.184.168.32/28\",\r\n \"52.225.136.48/28\",\r\n \"52.225.144.0/20\",\r\n + \ \"52.225.160.0/19\",\r\n \"52.232.150.0/24\",\r\n \"52.239.157.224/27\",\r\n + \ \"52.239.165.192/26\",\r\n \"52.239.184.176/28\",\r\n \"52.239.184.224/27\",\r\n + \ \"52.239.185.0/28\",\r\n \"52.239.192.128/27\",\r\n \"52.239.198.128/27\",\r\n + \ \"52.239.230.0/24\",\r\n \"52.239.239.0/24\",\r\n \"52.245.45.144/28\",\r\n + \ \"52.245.46.32/28\",\r\n \"52.245.46.80/28\",\r\n \"52.245.46.96/28\",\r\n + \ \"52.253.150.0/23\",\r\n \"52.253.152.0/23\",\r\n \"52.253.224.0/21\",\r\n + \ \"52.254.120.0/21\",\r\n \"53.103.142.0/24\",\r\n \"104.44.95.208/28\",\r\n + \ \"198.180.97.0/24\",\r\n \"2603:1030:401::/63\",\r\n \"2603:1030:401:16::/64\",\r\n + \ \"2603:1030:401:59::/64\",\r\n \"2603:1030:401:85::/64\",\r\n + \ \"2603:1030:401:86::/64\",\r\n \"2603:1030:401:8e::/64\",\r\n + \ \"2603:1030:401:92::/63\",\r\n \"2603:1030:401:a6::/64\",\r\n + \ \"2603:1030:401:121::/64\",\r\n \"2603:1030:401:122::/63\",\r\n + \ \"2603:1030:401:136::/63\",\r\n \"2603:1030:401:138::/64\",\r\n + \ \"2603:1030:401:13c::/62\",\r\n \"2603:1030:401:140::/63\",\r\n + \ \"2603:1030:401:142::/64\",\r\n \"2603:1030:401:146::/63\",\r\n + \ \"2603:1030:401:148::/63\",\r\n \"2603:1030:401:156::/63\",\r\n + \ \"2603:1030:401:158::/64\",\r\n \"2603:1030:401:168::/63\",\r\n + \ \"2603:1030:401:16d::/64\",\r\n \"2603:1030:401:16e::/63\",\r\n + \ \"2603:1030:401:170::/61\",\r\n \"2603:1030:401:178::/62\",\r\n + \ \"2603:1030:405::/48\",\r\n \"2603:1030:409::/48\",\r\n + \ \"2603:1030:40a::/64\",\r\n \"2603:1030:40a:3::/64\",\r\n + \ \"2603:1030:40a:4::/62\",\r\n \"2603:1030:40a:8::/63\",\r\n + \ \"2603:1030:40b::/48\",\r\n \"2603:1030:40d::/60\",\r\n + \ \"2603:1036:903:1::/64\",\r\n \"2603:1036:903:3::/64\",\r\n + \ \"2603:1036:240a::/48\",\r\n \"2603:1036:240f::/48\",\r\n + \ \"2603:1036:2500:4::/64\",\r\n \"2603:1036:3000:20::/59\",\r\n + \ \"2603:1037:1:20::/59\",\r\n \"2a01:111:f403:c113::/64\",\r\n + \ \"2a01:111:f403:c937::/64\",\r\n \"2a01:111:f403:c938::/62\",\r\n + \ \"2a01:111:f403:d124::/64\",\r\n \"2a01:111:f403:d914::/64\",\r\n + \ \"2a01:111:f403:e003::/64\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureCloud.germanyn\",\r\n \"id\": \"AzureCloud.germanyn\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"1\",\r\n \"region\": \"germanyn\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n + \ ],\r\n \"systemService\": \"\",\r\n \"addressPrefixes\": + [\r\n \"13.104.144.96/27\",\r\n \"13.104.212.64/26\",\r\n + \ \"20.38.115.0/24\",\r\n \"20.47.45.0/24\",\r\n \"20.47.84.0/23\",\r\n + \ \"20.52.72.0/21\",\r\n \"20.52.80.32/27\",\r\n \"20.135.56.0/23\",\r\n + \ \"20.150.60.0/24\",\r\n \"20.150.112.0/24\",\r\n \"20.190.189.0/26\",\r\n + \ \"40.82.72.0/22\",\r\n \"40.90.31.0/27\",\r\n \"40.90.128.240/28\",\r\n + \ \"40.119.96.0/22\",\r\n \"40.126.61.0/26\",\r\n \"40.126.198.0/24\",\r\n + \ \"51.116.0.0/18\",\r\n \"51.116.64.0/19\",\r\n \"51.116.200.0/21\",\r\n + \ \"51.116.208.0/20\",\r\n \"52.108.76.0/24\",\r\n \"52.108.97.0/24\",\r\n + \ \"52.109.102.0/23\",\r\n \"52.111.254.0/24\",\r\n \"52.114.240.0/24\",\r\n + \ \"52.253.172.0/24\",\r\n \"2603:1020:d00::/47\",\r\n \"2603:1020:d03::/48\",\r\n + \ \"2603:1020:d04::/48\",\r\n \"2603:1026:2411::/48\",\r\n + \ \"2603:1026:2500:34::/64\",\r\n \"2603:1026:3000:220::/59\",\r\n + \ \"2603:1027:1:220::/59\"\r\n ]\r\n }\r\n },\r\n {\r\n + \ \"name\": \"AzureCloud.germanywc\",\r\n \"id\": \"AzureCloud.germanywc\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"germanywc\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n + \ ],\r\n \"systemService\": \"\",\r\n \"addressPrefixes\": + [\r\n \"13.104.144.224/27\",\r\n \"13.104.145.128/27\",\r\n + \ \"13.104.212.128/26\",\r\n \"13.105.61.128/25\",\r\n \"13.105.66.0/27\",\r\n + \ \"13.105.74.96/27\",\r\n \"13.105.74.192/26\",\r\n \"20.38.118.0/24\",\r\n + \ \"20.47.27.0/24\",\r\n \"20.47.65.0/24\",\r\n \"20.47.112.0/24\",\r\n + \ \"20.52.0.0/18\",\r\n \"20.52.64.0/21\",\r\n \"20.52.80.0/27\",\r\n + \ \"20.52.80.64/27\",\r\n \"20.52.88.0/21\",\r\n \"20.52.96.0/19\",\r\n + \ \"20.52.128.0/17\",\r\n \"20.60.22.0/23\",\r\n \"20.79.0.0/17\",\r\n + \ \"20.79.128.0/18\",\r\n \"20.135.152.0/22\",\r\n \"20.135.156.0/23\",\r\n + \ \"20.150.54.0/24\",\r\n \"20.150.125.0/24\",\r\n \"20.190.190.64/26\",\r\n + \ \"40.82.68.0/22\",\r\n \"40.90.129.48/28\",\r\n \"40.90.140.0/27\",\r\n + \ \"40.90.147.32/27\",\r\n \"40.90.151.160/27\",\r\n \"40.119.92.0/22\",\r\n + \ \"40.126.62.64/26\",\r\n \"40.126.197.0/24\",\r\n \"51.116.96.0/19\",\r\n + \ \"51.116.128.0/18\",\r\n \"51.116.192.0/21\",\r\n \"51.116.224.0/19\",\r\n + \ \"52.108.178.0/24\",\r\n \"52.108.199.0/24\",\r\n \"52.109.104.0/23\",\r\n + \ \"52.111.255.0/24\",\r\n \"52.114.244.0/24\",\r\n \"52.253.169.0/24\",\r\n + \ \"52.253.170.0/23\",\r\n \"2603:1020:c00::/47\",\r\n \"2603:1020:c03::/48\",\r\n + \ \"2603:1020:c04::/48\",\r\n \"2603:1026:240a::/48\",\r\n + \ \"2603:1026:2500:14::/64\",\r\n \"2603:1026:3000:a0::/59\",\r\n + \ \"2603:1027:1:a0::/59\"\r\n ]\r\n }\r\n },\r\n {\r\n + \ \"name\": \"AzureCloud.japaneast\",\r\n \"id\": \"AzureCloud.japaneast\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"japaneast\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n + \ ],\r\n \"systemService\": \"\",\r\n \"addressPrefixes\": + [\r\n \"13.71.128.0/19\",\r\n \"13.73.0.0/19\",\r\n \"13.78.0.0/17\",\r\n + \ \"13.104.149.64/26\",\r\n \"13.104.150.128/26\",\r\n \"13.104.221.0/24\",\r\n + \ \"13.105.18.64/26\",\r\n \"20.37.96.0/19\",\r\n \"20.38.116.0/23\",\r\n + \ \"20.40.88.0/21\",\r\n \"20.40.96.0/21\",\r\n \"20.43.64.0/19\",\r\n + \ \"20.44.128.0/18\",\r\n \"20.46.112.0/20\",\r\n \"20.46.160.0/19\",\r\n + \ \"20.47.12.0/24\",\r\n \"20.47.101.0/24\",\r\n \"20.48.0.0/17\",\r\n + \ \"20.60.172.0/23\",\r\n \"20.63.128.0/18\",\r\n \"20.78.0.0/17\",\r\n + \ \"20.78.192.0/18\",\r\n \"20.89.0.0/17\",\r\n \"20.135.102.0/23\",\r\n + \ \"20.135.104.0/22\",\r\n \"20.150.85.0/24\",\r\n \"20.150.105.0/24\",\r\n + \ \"20.157.38.0/24\",\r\n \"20.188.0.0/19\",\r\n \"20.190.141.128/25\",\r\n + \ \"20.190.166.0/24\",\r\n \"20.191.160.0/19\",\r\n \"20.194.128.0/17\",\r\n + \ \"23.98.57.64/26\",\r\n \"23.100.96.0/21\",\r\n \"23.102.64.0/19\",\r\n + \ \"40.79.184.0/21\",\r\n \"40.79.192.0/21\",\r\n \"40.79.206.96/27\",\r\n + \ \"40.79.208.0/24\",\r\n \"40.81.192.0/19\",\r\n \"40.82.48.0/22\",\r\n + \ \"40.87.200.0/22\",\r\n \"40.90.16.160/27\",\r\n \"40.90.128.80/28\",\r\n + \ \"40.90.132.64/28\",\r\n \"40.90.142.0/27\",\r\n \"40.90.142.192/28\",\r\n + \ \"40.90.148.224/27\",\r\n \"40.90.152.192/27\",\r\n \"40.90.158.0/26\",\r\n + \ \"40.115.128.0/17\",\r\n \"40.126.13.128/25\",\r\n \"40.126.38.0/24\",\r\n + \ \"52.108.191.0/24\",\r\n \"52.108.228.0/23\",\r\n \"52.109.52.0/22\",\r\n + \ \"52.111.232.0/24\",\r\n \"52.112.176.0/21\",\r\n \"52.112.184.0/22\",\r\n + \ \"52.113.78.0/23\",\r\n \"52.113.102.0/24\",\r\n \"52.113.107.0/24\",\r\n + \ \"52.113.133.0/24\",\r\n \"52.114.32.0/22\",\r\n \"52.115.38.0/24\",\r\n + \ \"52.115.47.0/24\",\r\n \"52.121.120.0/23\",\r\n \"52.121.152.0/21\",\r\n + \ \"52.121.160.0/22\",\r\n \"52.121.164.0/24\",\r\n \"52.136.31.0/24\",\r\n + \ \"52.140.192.0/18\",\r\n \"52.155.96.0/19\",\r\n \"52.156.32.0/19\",\r\n + \ \"52.185.128.0/18\",\r\n \"52.232.155.0/24\",\r\n \"52.239.144.0/23\",\r\n + \ \"52.243.32.0/19\",\r\n \"52.245.36.0/22\",\r\n \"52.246.160.0/19\",\r\n + \ \"52.253.96.0/19\",\r\n \"52.253.161.0/24\",\r\n \"104.41.160.0/19\",\r\n + \ \"104.44.88.224/27\",\r\n \"104.44.91.224/27\",\r\n \"104.44.94.112/28\",\r\n + \ \"104.46.208.0/20\",\r\n \"138.91.0.0/20\",\r\n \"191.237.240.0/23\",\r\n + \ \"2603:1040:400::/46\",\r\n \"2603:1040:404::/48\",\r\n + \ \"2603:1040:406::/48\",\r\n \"2603:1040:407::/48\",\r\n + \ \"2603:1046:1402::/48\",\r\n \"2603:1046:1500:18::/64\",\r\n + \ \"2603:1046:2000:140::/59\",\r\n \"2603:1047:1:140::/59\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCloud.japanwest\",\r\n + \ \"id\": \"AzureCloud.japanwest\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"japanwest\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"\",\r\n \"addressPrefixes\": [\r\n \"13.73.232.0/21\",\r\n + \ \"20.39.176.0/21\",\r\n \"20.47.10.0/24\",\r\n \"20.47.66.0/24\",\r\n + \ \"20.47.99.0/24\",\r\n \"20.60.12.0/24\",\r\n \"20.60.186.0/23\",\r\n + \ \"20.63.192.0/18\",\r\n \"20.78.128.0/18\",\r\n \"20.135.48.0/23\",\r\n + \ \"20.150.10.0/23\",\r\n \"20.157.56.0/24\",\r\n \"20.189.192.0/18\",\r\n + \ \"20.190.141.0/25\",\r\n \"20.190.165.0/24\",\r\n \"23.98.56.0/24\",\r\n + \ \"23.100.104.0/21\",\r\n \"40.74.64.0/18\",\r\n \"40.74.128.0/20\",\r\n + \ \"40.79.209.0/24\",\r\n \"40.80.56.0/21\",\r\n \"40.80.176.0/21\",\r\n + \ \"40.81.176.0/20\",\r\n \"40.82.100.0/22\",\r\n \"40.87.204.0/22\",\r\n + \ \"40.90.18.32/27\",\r\n \"40.90.27.192/26\",\r\n \"40.90.28.0/26\",\r\n + \ \"40.90.137.0/27\",\r\n \"40.90.142.208/28\",\r\n \"40.90.156.0/26\",\r\n + \ \"40.126.13.0/25\",\r\n \"40.126.37.0/24\",\r\n \"52.108.46.0/23\",\r\n + \ \"52.108.86.0/24\",\r\n \"52.109.132.0/22\",\r\n \"52.111.233.0/24\",\r\n + \ \"52.112.88.0/22\",\r\n \"52.113.14.0/24\",\r\n \"52.113.72.0/22\",\r\n + \ \"52.113.87.0/24\",\r\n \"52.113.106.0/24\",\r\n \"52.114.36.0/22\",\r\n + \ \"52.115.39.0/24\",\r\n \"52.115.100.0/22\",\r\n \"52.115.104.0/23\",\r\n + \ \"52.121.80.0/22\",\r\n \"52.121.84.0/23\",\r\n \"52.121.116.0/22\",\r\n + \ \"52.121.165.0/24\",\r\n \"52.121.168.0/22\",\r\n \"52.147.64.0/19\",\r\n + \ \"52.175.128.0/18\",\r\n \"52.232.158.0/24\",\r\n \"52.239.146.0/23\",\r\n + \ \"52.245.92.0/22\",\r\n \"104.44.92.0/27\",\r\n \"104.44.94.128/28\",\r\n + \ \"104.46.224.0/20\",\r\n \"104.214.128.0/19\",\r\n \"104.215.0.0/18\",\r\n + \ \"138.91.16.0/20\",\r\n \"191.233.32.0/20\",\r\n \"191.237.236.0/24\",\r\n + \ \"191.238.68.0/24\",\r\n \"191.238.80.0/21\",\r\n \"191.238.88.0/22\",\r\n + \ \"191.238.92.0/23\",\r\n \"191.239.96.0/20\",\r\n \"2603:1040:600::/46\",\r\n + \ \"2603:1040:605::/48\",\r\n \"2603:1040:606::/48\",\r\n + \ \"2603:1046:1403::/48\",\r\n \"2603:1046:1500:14::/64\",\r\n + \ \"2603:1046:2000:a0::/59\",\r\n \"2603:1047:1:a0::/59\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCloud.koreacentral\",\r\n + \ \"id\": \"AzureCloud.koreacentral\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"4\",\r\n + \ \"region\": \"koreacentral\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"\",\r\n \"addressPrefixes\": [\r\n \"13.104.129.192/26\",\r\n + \ \"13.104.223.128/26\",\r\n \"13.105.20.0/25\",\r\n \"13.105.96.112/28\",\r\n + \ \"13.105.97.32/27\",\r\n \"13.105.97.64/27\",\r\n \"20.39.184.0/21\",\r\n + \ \"20.39.192.0/20\",\r\n \"20.41.64.0/18\",\r\n \"20.44.24.0/21\",\r\n + \ \"20.47.46.0/24\",\r\n \"20.47.90.0/24\",\r\n \"20.60.16.0/24\",\r\n + \ \"20.60.200.0/23\",\r\n \"20.135.108.0/22\",\r\n \"20.135.112.0/23\",\r\n + \ \"20.150.4.0/23\",\r\n \"20.190.144.128/25\",\r\n \"20.190.148.128/25\",\r\n + \ \"20.190.180.0/24\",\r\n \"20.194.0.0/18\",\r\n \"20.194.64.0/20\",\r\n + \ \"20.194.80.0/21\",\r\n \"20.194.96.0/19\",\r\n \"20.196.64.0/18\",\r\n + \ \"20.196.128.0/17\",\r\n \"20.200.192.0/18\",\r\n \"40.79.221.0/24\",\r\n + \ \"40.80.36.0/22\",\r\n \"40.82.128.0/19\",\r\n \"40.90.17.224/27\",\r\n + \ \"40.90.128.176/28\",\r\n \"40.90.131.128/27\",\r\n \"40.90.139.128/27\",\r\n + \ \"40.90.156.64/27\",\r\n \"40.126.16.128/25\",\r\n \"40.126.20.128/25\",\r\n + \ \"40.126.52.0/24\",\r\n \"52.108.48.0/23\",\r\n \"52.108.87.0/24\",\r\n + \ \"52.109.44.0/22\",\r\n \"52.111.194.0/24\",\r\n \"52.114.44.0/22\",\r\n + \ \"52.115.106.0/23\",\r\n \"52.115.108.0/22\",\r\n \"52.121.172.0/22\",\r\n + \ \"52.121.176.0/23\",\r\n \"52.141.0.0/18\",\r\n \"52.231.0.0/17\",\r\n + \ \"52.232.145.0/24\",\r\n \"52.239.148.0/27\",\r\n \"52.239.164.192/26\",\r\n + \ \"52.239.190.128/26\",\r\n \"52.245.112.0/22\",\r\n \"52.253.173.0/24\",\r\n + \ \"52.253.174.0/24\",\r\n \"104.44.90.160/27\",\r\n \"2603:1040:f00::/47\",\r\n + \ \"2603:1040:f02::/48\",\r\n \"2603:1040:f04::/48\",\r\n + \ \"2603:1040:f05::/48\",\r\n \"2603:1046:1404::/48\",\r\n + \ \"2603:1046:1500:20::/64\",\r\n \"2603:1046:2000:160::/59\",\r\n + \ \"2603:1047:1:160::/59\"\r\n ]\r\n }\r\n },\r\n {\r\n + \ \"name\": \"AzureCloud.koreasouth\",\r\n \"id\": \"AzureCloud.koreasouth\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"koreasouth\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n + \ ],\r\n \"systemService\": \"\",\r\n \"addressPrefixes\": + [\r\n \"13.104.157.0/25\",\r\n \"20.39.168.0/21\",\r\n \"20.47.47.0/24\",\r\n + \ \"20.47.91.0/24\",\r\n \"20.60.202.0/23\",\r\n \"20.135.26.0/23\",\r\n + \ \"20.135.30.0/23\",\r\n \"20.150.14.0/23\",\r\n \"20.190.148.0/25\",\r\n + \ \"20.190.179.0/24\",\r\n \"20.200.128.0/18\",\r\n \"40.79.220.0/24\",\r\n + \ \"40.80.32.0/22\",\r\n \"40.80.168.0/21\",\r\n \"40.80.224.0/20\",\r\n + \ \"40.89.192.0/19\",\r\n \"40.90.131.160/27\",\r\n \"40.90.139.160/27\",\r\n + \ \"40.90.157.32/27\",\r\n \"40.126.20.0/25\",\r\n \"40.126.51.0/24\",\r\n + \ \"52.108.190.0/24\",\r\n \"52.108.226.0/23\",\r\n \"52.109.48.0/22\",\r\n + \ \"52.111.234.0/24\",\r\n \"52.113.110.0/23\",\r\n \"52.114.48.0/22\",\r\n + \ \"52.147.96.0/19\",\r\n \"52.231.128.0/17\",\r\n \"52.232.144.0/24\",\r\n + \ \"52.239.165.0/26\",\r\n \"52.239.165.160/27\",\r\n \"52.239.190.192/26\",\r\n + \ \"52.245.100.0/22\",\r\n \"104.44.94.224/27\",\r\n \"2603:1040:e00::/47\",\r\n + \ \"2603:1040:e02::/48\",\r\n \"2603:1040:e04::/48\",\r\n + \ \"2603:1040:e05::/48\",\r\n \"2603:1046:1405::/48\",\r\n + \ \"2603:1046:1500:1c::/64\",\r\n \"2603:1046:2000:e0::/59\",\r\n + \ \"2603:1047:1:e0::/59\"\r\n ]\r\n }\r\n },\r\n {\r\n + \ \"name\": \"AzureCloud.northcentralus\",\r\n \"id\": \"AzureCloud.northcentralus\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"3\",\r\n \"region\": \"northcentralus\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n + \ ],\r\n \"systemService\": \"\",\r\n \"addressPrefixes\": + [\r\n \"13.105.26.0/24\",\r\n \"13.105.28.16/28\",\r\n \"13.105.29.0/25\",\r\n + \ \"13.105.37.64/26\",\r\n \"13.105.37.128/26\",\r\n \"20.36.96.0/21\",\r\n + \ \"20.41.128.0/18\",\r\n \"20.47.3.0/24\",\r\n \"20.47.15.0/24\",\r\n + \ \"20.47.107.0/24\",\r\n \"20.47.119.0/24\",\r\n \"20.49.112.0/21\",\r\n + \ \"20.51.0.0/21\",\r\n \"20.59.192.0/18\",\r\n \"20.60.28.0/23\",\r\n + \ \"20.60.82.0/23\",\r\n \"20.66.128.0/17\",\r\n \"20.72.32.0/19\",\r\n + \ \"20.80.0.0/18\",\r\n \"20.88.0.0/18\",\r\n \"20.135.12.0/22\",\r\n + \ \"20.135.70.0/23\",\r\n \"20.150.17.0/25\",\r\n \"20.150.25.0/24\",\r\n + \ \"20.150.49.0/24\",\r\n \"20.150.67.0/24\",\r\n \"20.150.126.0/24\",\r\n + \ \"20.157.47.0/24\",\r\n \"20.190.135.0/24\",\r\n \"20.190.156.0/24\",\r\n + \ \"23.96.128.0/17\",\r\n \"23.98.48.0/21\",\r\n \"23.100.72.0/21\",\r\n + \ \"23.100.224.0/20\",\r\n \"23.101.160.0/20\",\r\n \"40.77.131.224/28\",\r\n + \ \"40.77.136.96/28\",\r\n \"40.77.137.192/27\",\r\n \"40.77.139.0/25\",\r\n + \ \"40.77.175.0/27\",\r\n \"40.77.176.0/24\",\r\n \"40.77.182.128/27\",\r\n + \ \"40.77.183.0/24\",\r\n \"40.77.188.0/22\",\r\n \"40.77.196.0/24\",\r\n + \ \"40.77.198.64/26\",\r\n \"40.77.200.128/25\",\r\n \"40.77.224.0/28\",\r\n + \ \"40.77.224.32/27\",\r\n \"40.77.231.0/24\",\r\n \"40.77.234.0/25\",\r\n + \ \"40.77.236.32/27\",\r\n \"40.77.236.160/28\",\r\n \"40.77.237.0/26\",\r\n + \ \"40.77.248.128/25\",\r\n \"40.77.254.0/26\",\r\n \"40.77.255.192/26\",\r\n + \ \"40.78.208.64/28\",\r\n \"40.78.222.0/24\",\r\n \"40.80.184.0/21\",\r\n + \ \"40.81.32.0/20\",\r\n \"40.87.172.0/22\",\r\n \"40.90.19.64/26\",\r\n + \ \"40.90.132.96/27\",\r\n \"40.90.133.128/28\",\r\n \"40.90.135.64/26\",\r\n + \ \"40.90.140.128/27\",\r\n \"40.90.144.32/27\",\r\n \"40.90.155.192/26\",\r\n + \ \"40.91.24.0/22\",\r\n \"40.116.0.0/16\",\r\n \"40.126.7.0/24\",\r\n + \ \"40.126.28.0/24\",\r\n \"52.108.182.0/24\",\r\n \"52.108.203.0/24\",\r\n + \ \"52.109.16.0/22\",\r\n \"52.111.235.0/24\",\r\n \"52.112.94.0/24\",\r\n + \ \"52.113.198.0/24\",\r\n \"52.114.168.0/22\",\r\n \"52.141.128.0/18\",\r\n + \ \"52.162.0.0/16\",\r\n \"52.232.156.0/24\",\r\n \"52.237.128.0/18\",\r\n + \ \"52.239.149.0/24\",\r\n \"52.239.186.0/24\",\r\n \"52.239.253.0/24\",\r\n + \ \"52.240.128.0/17\",\r\n \"52.245.72.0/22\",\r\n \"52.252.128.0/17\",\r\n + \ \"65.52.0.0/19\",\r\n \"65.52.48.0/20\",\r\n \"65.52.104.0/24\",\r\n + \ \"65.52.106.0/24\",\r\n \"65.52.192.0/19\",\r\n \"65.52.232.0/21\",\r\n + \ \"65.52.240.0/21\",\r\n \"65.55.60.176/29\",\r\n \"65.55.105.192/27\",\r\n + \ \"65.55.106.208/28\",\r\n \"65.55.106.224/28\",\r\n \"65.55.109.0/24\",\r\n + \ \"65.55.211.0/27\",\r\n \"65.55.212.0/27\",\r\n \"65.55.212.128/25\",\r\n + \ \"65.55.213.0/27\",\r\n \"65.55.218.0/24\",\r\n \"65.55.219.0/27\",\r\n + \ \"104.44.88.128/27\",\r\n \"104.44.91.128/27\",\r\n \"104.44.94.64/28\",\r\n + \ \"104.47.220.0/22\",\r\n \"131.253.12.16/28\",\r\n \"131.253.12.40/29\",\r\n + \ \"131.253.12.48/29\",\r\n \"131.253.12.192/28\",\r\n \"131.253.12.248/29\",\r\n + \ \"131.253.13.0/28\",\r\n \"131.253.13.32/28\",\r\n \"131.253.14.32/27\",\r\n + \ \"131.253.14.160/27\",\r\n \"131.253.14.248/29\",\r\n \"131.253.15.32/27\",\r\n + \ \"131.253.15.208/28\",\r\n \"131.253.15.224/27\",\r\n \"131.253.25.0/24\",\r\n + \ \"131.253.27.0/24\",\r\n \"131.253.36.128/26\",\r\n \"131.253.38.32/27\",\r\n + \ \"131.253.38.224/27\",\r\n \"131.253.40.16/28\",\r\n \"131.253.40.32/28\",\r\n + \ \"131.253.40.96/27\",\r\n \"131.253.40.192/26\",\r\n \"157.55.24.0/21\",\r\n + \ \"157.55.55.0/27\",\r\n \"157.55.55.32/28\",\r\n \"157.55.55.152/29\",\r\n + \ \"157.55.55.176/29\",\r\n \"157.55.55.200/29\",\r\n \"157.55.55.216/29\",\r\n + \ \"157.55.60.224/27\",\r\n \"157.55.64.0/20\",\r\n \"157.55.106.128/25\",\r\n + \ \"157.55.110.0/23\",\r\n \"157.55.115.0/25\",\r\n \"157.55.136.0/21\",\r\n + \ \"157.55.151.0/28\",\r\n \"157.55.160.0/20\",\r\n \"157.55.208.0/21\",\r\n + \ \"157.55.248.0/21\",\r\n \"157.56.8.0/21\",\r\n \"157.56.24.160/27\",\r\n + \ \"157.56.24.192/28\",\r\n \"157.56.28.0/22\",\r\n \"157.56.216.0/26\",\r\n + \ \"168.62.96.0/19\",\r\n \"168.62.224.0/19\",\r\n \"191.233.144.0/20\",\r\n + \ \"191.236.128.0/18\",\r\n \"199.30.31.0/25\",\r\n \"204.79.180.0/24\",\r\n + \ \"207.46.193.192/28\",\r\n \"207.46.193.224/27\",\r\n \"207.46.198.128/25\",\r\n + \ \"207.46.200.96/27\",\r\n \"207.46.200.176/28\",\r\n \"207.46.202.128/28\",\r\n + \ \"207.46.205.0/24\",\r\n \"207.68.174.40/29\",\r\n \"207.68.174.184/29\",\r\n + \ \"2603:1030:600::/46\",\r\n \"2603:1030:604::/47\",\r\n + \ \"2603:1030:607::/48\",\r\n \"2603:1030:608::/48\",\r\n + \ \"2603:1036:2406::/48\",\r\n \"2603:1036:2500:8::/64\",\r\n + \ \"2603:1036:3000:60::/59\",\r\n \"2603:1037:1:60::/59\",\r\n + \ \"2a01:111:f100:1000::/62\",\r\n \"2a01:111:f100:1004::/63\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCloud.northeurope\",\r\n + \ \"id\": \"AzureCloud.northeurope\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"4\",\r\n + \ \"region\": \"northeurope\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"\",\r\n \"addressPrefixes\": [\r\n \"13.69.128.0/17\",\r\n + \ \"13.70.192.0/18\",\r\n \"13.74.0.0/16\",\r\n \"13.79.0.0/16\",\r\n + \ \"13.94.64.0/18\",\r\n \"13.104.148.0/25\",\r\n \"13.104.149.128/25\",\r\n + \ \"13.104.150.0/25\",\r\n \"13.104.208.160/28\",\r\n \"13.104.210.0/24\",\r\n + \ \"13.105.18.0/26\",\r\n \"13.105.21.0/24\",\r\n \"13.105.28.48/28\",\r\n + \ \"13.105.37.192/26\",\r\n \"13.105.60.192/26\",\r\n \"13.105.67.0/25\",\r\n + \ \"13.105.96.128/25\",\r\n \"20.38.64.0/19\",\r\n \"20.38.102.0/23\",\r\n + \ \"20.47.8.0/24\",\r\n \"20.47.20.0/23\",\r\n \"20.47.32.0/24\",\r\n + \ \"20.47.111.0/24\",\r\n \"20.47.117.0/24\",\r\n \"20.50.64.0/20\",\r\n + \ \"20.50.80.0/21\",\r\n \"20.54.0.0/17\",\r\n \"20.60.19.0/24\",\r\n + \ \"20.60.40.0/23\",\r\n \"20.60.144.0/23\",\r\n \"20.60.204.0/23\",\r\n + \ \"20.67.128.0/17\",\r\n \"20.82.128.0/17\",\r\n \"20.93.0.0/17\",\r\n + \ \"20.135.20.0/22\",\r\n \"20.135.134.0/23\",\r\n \"20.135.136.0/22\",\r\n + \ \"20.150.26.0/24\",\r\n \"20.150.47.128/25\",\r\n \"20.150.48.0/24\",\r\n + \ \"20.150.75.0/24\",\r\n \"20.150.84.0/24\",\r\n \"20.150.104.0/24\",\r\n + \ \"20.190.129.0/24\",\r\n \"20.190.159.0/24\",\r\n \"20.191.0.0/18\",\r\n + \ \"23.100.48.0/20\",\r\n \"23.100.128.0/18\",\r\n \"23.101.48.0/20\",\r\n + \ \"23.102.0.0/18\",\r\n \"40.67.224.0/19\",\r\n \"40.69.0.0/18\",\r\n + \ \"40.69.64.0/19\",\r\n \"40.69.192.0/19\",\r\n \"40.77.133.0/24\",\r\n + \ \"40.77.136.32/28\",\r\n \"40.77.136.80/28\",\r\n \"40.77.165.0/24\",\r\n + \ \"40.77.174.0/24\",\r\n \"40.77.175.160/27\",\r\n \"40.77.182.96/27\",\r\n + \ \"40.77.226.128/25\",\r\n \"40.77.229.0/24\",\r\n \"40.77.234.160/27\",\r\n + \ \"40.77.236.0/27\",\r\n \"40.77.236.176/28\",\r\n \"40.77.255.0/25\",\r\n + \ \"40.78.211.0/24\",\r\n \"40.79.204.0/27\",\r\n \"40.79.204.32/28\",\r\n + \ \"40.79.204.64/27\",\r\n \"40.85.0.0/17\",\r\n \"40.85.128.0/20\",\r\n + \ \"40.87.128.0/19\",\r\n \"40.87.188.0/22\",\r\n \"40.90.17.192/27\",\r\n + \ \"40.90.25.64/26\",\r\n \"40.90.25.128/26\",\r\n \"40.90.31.128/25\",\r\n + \ \"40.90.128.16/28\",\r\n \"40.90.129.192/27\",\r\n \"40.90.130.224/28\",\r\n + \ \"40.90.133.64/27\",\r\n \"40.90.136.176/28\",\r\n \"40.90.137.192/27\",\r\n + \ \"40.90.140.64/27\",\r\n \"40.90.141.96/27\",\r\n \"40.90.141.128/27\",\r\n + \ \"40.90.145.0/27\",\r\n \"40.90.145.224/27\",\r\n \"40.90.147.96/27\",\r\n + \ \"40.90.148.160/28\",\r\n \"40.90.149.128/25\",\r\n \"40.90.153.128/25\",\r\n + \ \"40.91.20.0/22\",\r\n \"40.91.32.0/22\",\r\n \"40.93.64.0/24\",\r\n + \ \"40.112.36.0/25\",\r\n \"40.112.37.64/26\",\r\n \"40.112.64.0/19\",\r\n + \ \"40.113.0.0/18\",\r\n \"40.113.64.0/19\",\r\n \"40.115.96.0/19\",\r\n + \ \"40.126.1.0/24\",\r\n \"40.126.31.0/24\",\r\n \"40.127.96.0/20\",\r\n + \ \"40.127.128.0/17\",\r\n \"51.104.64.0/18\",\r\n \"51.104.128.0/18\",\r\n + \ \"52.101.65.0/24\",\r\n \"52.101.66.0/23\",\r\n \"52.101.68.0/24\",\r\n + \ \"52.102.160.0/24\",\r\n \"52.103.32.0/24\",\r\n \"52.103.160.0/24\",\r\n + \ \"52.108.174.0/23\",\r\n \"52.108.176.0/24\",\r\n \"52.108.196.0/24\",\r\n + \ \"52.108.240.0/21\",\r\n \"52.109.76.0/22\",\r\n \"52.111.236.0/24\",\r\n + \ \"52.112.191.0/24\",\r\n \"52.112.229.0/24\",\r\n \"52.112.232.0/24\",\r\n + \ \"52.112.236.0/24\",\r\n \"52.113.40.0/21\",\r\n \"52.113.48.0/20\",\r\n + \ \"52.113.112.0/20\",\r\n \"52.113.136.0/21\",\r\n \"52.113.205.0/24\",\r\n + \ \"52.114.76.0/22\",\r\n \"52.114.96.0/21\",\r\n \"52.114.120.0/22\",\r\n + \ \"52.114.231.0/24\",\r\n \"52.114.233.0/24\",\r\n \"52.114.248.0/22\",\r\n + \ \"52.115.16.0/21\",\r\n \"52.115.24.0/22\",\r\n \"52.120.136.0/21\",\r\n + \ \"52.120.192.0/20\",\r\n \"52.121.16.0/21\",\r\n \"52.121.48.0/20\",\r\n + \ \"52.125.138.0/23\",\r\n \"52.138.128.0/17\",\r\n \"52.142.64.0/18\",\r\n + \ \"52.143.195.0/24\",\r\n \"52.143.209.0/24\",\r\n \"52.146.128.0/17\",\r\n + \ \"52.155.64.0/19\",\r\n \"52.155.128.0/17\",\r\n \"52.156.192.0/18\",\r\n + \ \"52.158.0.0/17\",\r\n \"52.164.0.0/16\",\r\n \"52.169.0.0/16\",\r\n + \ \"52.178.128.0/17\",\r\n \"52.232.148.0/24\",\r\n \"52.236.0.0/17\",\r\n + \ \"52.239.136.0/22\",\r\n \"52.239.205.0/24\",\r\n \"52.239.248.0/24\",\r\n + \ \"52.245.40.0/22\",\r\n \"52.245.88.0/22\",\r\n \"65.52.64.0/20\",\r\n + \ \"65.52.224.0/21\",\r\n \"94.245.88.0/21\",\r\n \"94.245.104.0/21\",\r\n + \ \"94.245.114.1/32\",\r\n \"94.245.114.2/31\",\r\n \"94.245.114.4/32\",\r\n + \ \"94.245.114.33/32\",\r\n \"94.245.114.34/31\",\r\n \"94.245.114.36/32\",\r\n + \ \"94.245.117.96/27\",\r\n \"94.245.118.0/27\",\r\n \"94.245.118.65/32\",\r\n + \ \"94.245.118.66/31\",\r\n \"94.245.118.68/32\",\r\n \"94.245.118.97/32\",\r\n + \ \"94.245.118.98/31\",\r\n \"94.245.118.100/32\",\r\n \"94.245.118.129/32\",\r\n + \ \"94.245.118.130/31\",\r\n \"94.245.118.132/32\",\r\n \"94.245.120.128/28\",\r\n + \ \"94.245.122.0/24\",\r\n \"94.245.123.144/28\",\r\n \"94.245.123.176/28\",\r\n + \ \"104.41.64.0/18\",\r\n \"104.41.192.0/18\",\r\n \"104.44.88.64/27\",\r\n + \ \"104.44.91.64/27\",\r\n \"104.44.92.192/27\",\r\n \"104.44.94.32/28\",\r\n + \ \"104.45.80.0/20\",\r\n \"104.45.96.0/19\",\r\n \"104.46.8.0/21\",\r\n + \ \"104.46.64.0/19\",\r\n \"104.47.218.0/23\",\r\n \"131.253.40.80/28\",\r\n + \ \"134.170.80.64/28\",\r\n \"137.116.224.0/19\",\r\n \"137.135.128.0/17\",\r\n + \ \"138.91.48.0/20\",\r\n \"157.55.3.0/24\",\r\n \"157.55.10.160/29\",\r\n + \ \"157.55.10.176/28\",\r\n \"157.55.13.128/26\",\r\n \"157.55.107.0/24\",\r\n + \ \"157.55.204.128/25\",\r\n \"168.61.80.0/20\",\r\n \"168.61.96.0/19\",\r\n + \ \"168.63.32.0/19\",\r\n \"168.63.64.0/20\",\r\n \"168.63.80.0/21\",\r\n + \ \"168.63.92.0/22\",\r\n \"191.232.138.0/23\",\r\n \"191.235.128.0/18\",\r\n + \ \"191.235.192.0/22\",\r\n \"191.235.208.0/20\",\r\n \"191.235.255.0/24\",\r\n + \ \"191.237.192.0/23\",\r\n \"191.237.194.0/24\",\r\n \"191.237.196.0/24\",\r\n + \ \"191.237.208.0/20\",\r\n \"191.238.96.0/19\",\r\n \"191.239.208.0/20\",\r\n + \ \"193.149.88.0/21\",\r\n \"2603:1020::/47\",\r\n \"2603:1020:2::/48\",\r\n + \ \"2603:1020:4::/48\",\r\n \"2603:1020:5::/48\",\r\n \"2603:1026:2404::/48\",\r\n + \ \"2603:1026:3000:c0::/59\",\r\n \"2603:1027:1:c0::/59\",\r\n + \ \"2a01:111:f100:a000::/63\",\r\n \"2a01:111:f100:a002::/64\",\r\n + \ \"2a01:111:f100:a004::/64\",\r\n \"2a01:111:f403:c200::/64\",\r\n + \ \"2a01:111:f403:ca00::/62\",\r\n \"2a01:111:f403:ca04::/64\",\r\n + \ \"2a01:111:f403:d200::/64\",\r\n \"2a01:111:f403:da00::/64\",\r\n + \ \"2a01:111:f403:e200::/64\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureCloud.norwaye\",\r\n \"id\": \"AzureCloud.norwaye\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"3\",\r\n \"region\": \"norwaye\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n + \ ],\r\n \"systemService\": \"\",\r\n \"addressPrefixes\": + [\r\n \"13.104.155.32/27\",\r\n \"13.104.158.0/28\",\r\n + \ \"13.104.158.32/27\",\r\n \"13.104.218.0/25\",\r\n \"13.105.97.96/27\",\r\n + \ \"13.105.97.128/25\",\r\n \"20.38.120.0/24\",\r\n \"20.47.48.0/24\",\r\n + \ \"20.135.158.0/23\",\r\n \"20.135.160.0/22\",\r\n \"20.150.53.0/24\",\r\n + \ \"20.150.121.0/24\",\r\n \"20.157.2.0/24\",\r\n \"20.190.185.0/24\",\r\n + \ \"40.82.84.0/22\",\r\n \"40.119.104.0/22\",\r\n \"40.126.57.0/24\",\r\n + \ \"40.126.200.0/24\",\r\n \"51.13.0.0/17\",\r\n \"51.107.208.0/20\",\r\n + \ \"51.120.0.0/17\",\r\n \"51.120.208.0/21\",\r\n \"51.120.232.0/21\",\r\n + \ \"51.120.240.0/20\",\r\n \"52.108.77.0/24\",\r\n \"52.108.98.0/24\",\r\n + \ \"52.109.86.0/23\",\r\n \"52.111.197.0/24\",\r\n \"52.114.234.0/24\",\r\n + \ \"52.253.168.0/24\",\r\n \"52.253.177.0/24\",\r\n \"52.253.178.0/24\",\r\n + \ \"2603:1020:e00::/47\",\r\n \"2603:1020:e03::/48\",\r\n + \ \"2603:1020:e04::/48\",\r\n \"2603:1026:240e::/48\",\r\n + \ \"2603:1026:2500:28::/64\",\r\n \"2603:1026:3000:180::/59\",\r\n + \ \"2603:1027:1:180::/59\"\r\n ]\r\n }\r\n },\r\n {\r\n + \ \"name\": \"AzureCloud.norwayw\",\r\n \"id\": \"AzureCloud.norwayw\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"norwayw\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n + \ ],\r\n \"systemService\": \"\",\r\n \"addressPrefixes\": + [\r\n \"13.104.153.48/28\",\r\n \"13.104.153.96/27\",\r\n + \ \"13.104.155.0/27\",\r\n \"13.104.217.128/25\",\r\n \"20.47.49.0/24\",\r\n + \ \"20.60.15.0/24\",\r\n \"20.135.58.0/23\",\r\n \"20.150.0.0/24\",\r\n + \ \"20.150.56.0/24\",\r\n \"20.157.3.0/24\",\r\n \"20.190.186.0/24\",\r\n + \ \"40.119.108.0/22\",\r\n \"40.126.58.0/24\",\r\n \"40.126.201.0/24\",\r\n + \ \"51.13.128.0/19\",\r\n \"51.120.128.0/18\",\r\n \"51.120.192.0/20\",\r\n + \ \"51.120.216.0/21\",\r\n \"51.120.224.0/21\",\r\n \"52.108.177.0/24\",\r\n + \ \"52.108.198.0/24\",\r\n \"52.109.144.0/23\",\r\n \"52.111.198.0/24\",\r\n + \ \"52.114.238.0/24\",\r\n \"52.253.167.0/24\",\r\n \"2603:1020:f00::/47\",\r\n + \ \"2603:1020:f03::/48\",\r\n \"2603:1020:f04::/48\",\r\n + \ \"2603:1026:2409::/48\",\r\n \"2603:1026:2500:10::/64\",\r\n + \ \"2603:1026:3000:80::/59\",\r\n \"2603:1027:1:80::/59\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCloud.southafricanorth\",\r\n + \ \"id\": \"AzureCloud.southafricanorth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"southafricanorth\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n + \ ],\r\n \"systemService\": \"\",\r\n \"addressPrefixes\": + [\r\n \"13.104.158.128/27\",\r\n \"13.104.158.160/28\",\r\n + \ \"13.104.158.192/27\",\r\n \"13.105.27.224/27\",\r\n \"20.38.114.128/25\",\r\n + \ \"20.45.128.0/21\",\r\n \"20.47.50.0/24\",\r\n \"20.47.92.0/24\",\r\n + \ \"20.60.190.0/23\",\r\n \"20.87.0.0/18\",\r\n \"20.135.78.0/23\",\r\n + \ \"20.135.80.0/22\",\r\n \"20.150.21.0/24\",\r\n \"20.150.62.0/24\",\r\n + \ \"20.150.101.0/24\",\r\n \"20.190.190.0/26\",\r\n \"40.79.203.0/24\",\r\n + \ \"40.82.20.0/22\",\r\n \"40.82.120.0/22\",\r\n \"40.90.19.0/27\",\r\n + \ \"40.90.128.144/28\",\r\n \"40.90.130.144/28\",\r\n \"40.90.133.160/27\",\r\n + \ \"40.90.143.128/27\",\r\n \"40.90.151.64/27\",\r\n \"40.90.157.224/27\",\r\n + \ \"40.119.64.0/22\",\r\n \"40.120.16.0/20\",\r\n \"40.123.240.0/20\",\r\n + \ \"40.126.62.0/26\",\r\n \"40.127.0.0/19\",\r\n \"52.108.54.0/23\",\r\n + \ \"52.108.90.0/24\",\r\n \"52.109.150.0/23\",\r\n \"52.111.237.0/24\",\r\n + \ \"52.114.112.0/23\",\r\n \"52.114.224.0/24\",\r\n \"52.121.86.0/23\",\r\n + \ \"52.143.204.0/23\",\r\n \"52.143.206.0/24\",\r\n \"52.239.232.0/25\",\r\n + \ \"102.37.0.0/20\",\r\n \"102.37.16.0/21\",\r\n \"102.37.24.0/23\",\r\n + \ \"102.37.26.32/27\",\r\n \"102.37.32.0/19\",\r\n \"102.37.72.0/21\",\r\n + \ \"102.37.96.0/19\",\r\n \"102.37.128.0/19\",\r\n \"102.37.160.0/21\",\r\n + \ \"102.37.192.0/18\",\r\n \"102.133.120.0/21\",\r\n \"102.133.128.0/18\",\r\n + \ \"102.133.192.0/19\",\r\n \"102.133.224.0/20\",\r\n \"102.133.240.0/25\",\r\n + \ \"102.133.240.128/26\",\r\n \"102.133.248.0/21\",\r\n \"2603:1000:100::/47\",\r\n + \ \"2603:1000:103::/48\",\r\n \"2603:1000:104::/48\",\r\n + \ \"2603:1006:1400::/63\",\r\n \"2603:1006:1500:4::/64\",\r\n + \ \"2603:1006:2000::/59\",\r\n \"2603:1007:200::/59\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCloud.southafricawest\",\r\n + \ \"id\": \"AzureCloud.southafricawest\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"southafricawest\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n + \ ],\r\n \"systemService\": \"\",\r\n \"addressPrefixes\": + [\r\n \"13.104.144.160/27\",\r\n \"20.38.121.0/25\",\r\n + \ \"20.45.136.0/21\",\r\n \"20.47.51.0/24\",\r\n \"20.47.93.0/24\",\r\n + \ \"20.60.8.0/24\",\r\n \"20.135.32.0/23\",\r\n \"20.150.20.0/25\",\r\n + \ \"20.190.189.192/26\",\r\n \"40.78.209.0/24\",\r\n \"40.82.64.0/22\",\r\n + \ \"40.90.17.0/27\",\r\n \"40.90.128.96/28\",\r\n \"40.90.152.224/27\",\r\n + \ \"40.117.0.0/19\",\r\n \"40.119.68.0/22\",\r\n \"40.126.61.192/26\",\r\n + \ \"52.108.187.0/24\",\r\n \"52.108.220.0/23\",\r\n \"52.109.152.0/23\",\r\n + \ \"52.111.238.0/24\",\r\n \"52.114.228.0/24\",\r\n \"52.143.203.0/24\",\r\n + \ \"52.239.232.128/25\",\r\n \"102.37.26.0/27\",\r\n \"102.37.64.0/21\",\r\n + \ \"102.37.80.0/21\",\r\n \"102.133.0.0/18\",\r\n \"102.133.64.0/19\",\r\n + \ \"102.133.96.0/20\",\r\n \"102.133.112.0/28\",\r\n \"2603:1000::/47\",\r\n + \ \"2603:1000:3::/48\",\r\n \"2603:1000:4::/48\",\r\n \"2603:1006:1401::/63\",\r\n + \ \"2603:1006:1500::/64\",\r\n \"2603:1006:2000:20::/59\",\r\n + \ \"2603:1007:200:20::/59\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureCloud.southcentralus\",\r\n \"id\": \"AzureCloud.southcentralus\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"4\",\r\n \"region\": \"southcentralus\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n + \ ],\r\n \"systemService\": \"\",\r\n \"addressPrefixes\": + [\r\n \"13.65.0.0/16\",\r\n \"13.66.0.0/17\",\r\n \"13.73.240.0/20\",\r\n + \ \"13.84.0.0/15\",\r\n \"13.104.144.64/27\",\r\n \"13.104.208.128/27\",\r\n + \ \"13.104.217.0/25\",\r\n \"13.104.220.128/25\",\r\n \"13.105.23.0/26\",\r\n + \ \"13.105.25.0/24\",\r\n \"13.105.53.0/25\",\r\n \"13.105.60.0/27\",\r\n + \ \"13.105.60.32/28\",\r\n \"13.105.60.64/27\",\r\n \"13.105.66.192/26\",\r\n + \ \"20.38.104.0/23\",\r\n \"20.45.0.0/18\",\r\n \"20.45.120.0/21\",\r\n + \ \"20.47.0.0/24\",\r\n \"20.47.24.0/23\",\r\n \"20.47.29.0/24\",\r\n + \ \"20.47.69.0/24\",\r\n \"20.47.100.0/24\",\r\n \"20.49.88.0/21\",\r\n + \ \"20.60.48.0/22\",\r\n \"20.60.64.0/22\",\r\n \"20.60.140.0/23\",\r\n + \ \"20.60.148.0/23\",\r\n \"20.60.160.0/23\",\r\n \"20.64.0.0/17\",\r\n + \ \"20.65.128.0/17\",\r\n \"20.88.192.0/18\",\r\n \"20.94.128.0/18\",\r\n + \ \"20.135.8.0/22\",\r\n \"20.135.216.0/22\",\r\n \"20.135.220.0/23\",\r\n + \ \"20.150.20.128/25\",\r\n \"20.150.38.0/23\",\r\n \"20.150.70.0/24\",\r\n + \ \"20.150.79.0/24\",\r\n \"20.150.93.0/24\",\r\n \"20.150.94.0/24\",\r\n + \ \"20.157.43.0/24\",\r\n \"20.157.54.0/24\",\r\n \"20.188.64.0/19\",\r\n + \ \"20.189.0.0/18\",\r\n \"20.190.128.0/24\",\r\n \"20.190.157.0/24\",\r\n + \ \"23.98.128.0/17\",\r\n \"23.100.120.0/21\",\r\n \"23.101.176.0/20\",\r\n + \ \"23.102.128.0/18\",\r\n \"40.74.160.0/19\",\r\n \"40.74.192.0/18\",\r\n + \ \"40.77.130.192/26\",\r\n \"40.77.131.0/25\",\r\n \"40.77.131.128/26\",\r\n + \ \"40.77.172.0/24\",\r\n \"40.77.199.0/25\",\r\n \"40.77.225.0/24\",\r\n + \ \"40.78.214.0/24\",\r\n \"40.79.206.160/27\",\r\n \"40.79.206.192/27\",\r\n + \ \"40.79.207.80/28\",\r\n \"40.79.207.128/25\",\r\n \"40.80.192.0/19\",\r\n + \ \"40.84.128.0/17\",\r\n \"40.86.128.0/19\",\r\n \"40.87.176.0/25\",\r\n + \ \"40.87.176.128/27\",\r\n \"40.87.176.160/29\",\r\n \"40.87.176.174/31\",\r\n + \ \"40.87.176.184/30\",\r\n \"40.87.176.192/28\",\r\n \"40.87.176.216/29\",\r\n + \ \"40.87.176.224/29\",\r\n \"40.87.176.232/31\",\r\n \"40.87.176.240/28\",\r\n + \ \"40.87.177.16/28\",\r\n \"40.87.177.32/27\",\r\n \"40.87.177.64/27\",\r\n + \ \"40.87.177.96/28\",\r\n \"40.87.177.112/29\",\r\n \"40.87.177.120/31\",\r\n + \ \"40.87.177.124/30\",\r\n \"40.87.177.128/28\",\r\n \"40.87.177.144/29\",\r\n + \ \"40.87.177.152/31\",\r\n \"40.87.177.156/30\",\r\n \"40.87.177.160/27\",\r\n + \ \"40.87.177.192/29\",\r\n \"40.87.177.200/30\",\r\n \"40.87.177.212/30\",\r\n + \ \"40.87.177.216/29\",\r\n \"40.87.177.224/27\",\r\n \"40.87.178.0/26\",\r\n + \ \"40.87.178.64/27\",\r\n \"40.90.16.128/27\",\r\n \"40.90.18.64/26\",\r\n + \ \"40.90.27.64/26\",\r\n \"40.90.27.128/26\",\r\n \"40.90.28.64/26\",\r\n + \ \"40.90.28.128/26\",\r\n \"40.90.30.160/27\",\r\n \"40.90.128.224/28\",\r\n + \ \"40.90.133.96/28\",\r\n \"40.90.135.128/25\",\r\n \"40.90.136.160/28\",\r\n + \ \"40.90.145.160/27\",\r\n \"40.90.148.0/26\",\r\n \"40.90.152.160/27\",\r\n + \ \"40.90.155.0/26\",\r\n \"40.91.16.0/22\",\r\n \"40.93.5.0/24\",\r\n + \ \"40.93.14.0/24\",\r\n \"40.93.193.0/24\",\r\n \"40.93.194.0/23\",\r\n + \ \"40.93.196.0/23\",\r\n \"40.119.0.0/18\",\r\n \"40.124.0.0/16\",\r\n + \ \"40.126.0.0/24\",\r\n \"40.126.29.0/24\",\r\n \"52.101.11.0/24\",\r\n + \ \"52.101.12.0/22\",\r\n \"52.102.132.0/24\",\r\n \"52.102.140.0/24\",\r\n + \ \"52.103.6.0/24\",\r\n \"52.103.14.0/24\",\r\n \"52.103.132.0/24\",\r\n + \ \"52.108.102.0/23\",\r\n \"52.108.104.0/24\",\r\n \"52.108.197.0/24\",\r\n + \ \"52.108.248.0/21\",\r\n \"52.109.20.0/22\",\r\n \"52.111.239.0/24\",\r\n + \ \"52.112.24.0/21\",\r\n \"52.112.117.0/24\",\r\n \"52.113.160.0/19\",\r\n + \ \"52.113.206.0/24\",\r\n \"52.114.144.0/22\",\r\n \"52.115.68.0/22\",\r\n + \ \"52.115.72.0/22\",\r\n \"52.115.84.0/22\",\r\n \"52.120.0.0/19\",\r\n + \ \"52.120.152.0/22\",\r\n \"52.121.0.0/21\",\r\n \"52.123.3.0/24\",\r\n + \ \"52.125.137.0/24\",\r\n \"52.141.64.0/18\",\r\n \"52.152.0.0/17\",\r\n + \ \"52.153.64.0/18\",\r\n \"52.153.192.0/18\",\r\n \"52.171.0.0/16\",\r\n + \ \"52.183.192.0/18\",\r\n \"52.185.192.0/18\",\r\n \"52.189.128.0/18\",\r\n + \ \"52.232.159.0/24\",\r\n \"52.239.158.0/23\",\r\n \"52.239.178.0/23\",\r\n + \ \"52.239.180.0/22\",\r\n \"52.239.199.0/24\",\r\n \"52.239.200.0/23\",\r\n + \ \"52.239.203.0/24\",\r\n \"52.239.208.0/23\",\r\n \"52.245.24.0/22\",\r\n + \ \"52.248.0.0/17\",\r\n \"52.249.0.0/18\",\r\n \"52.253.0.0/18\",\r\n + \ \"52.253.179.0/24\",\r\n \"52.253.180.0/24\",\r\n \"52.255.64.0/18\",\r\n + \ \"53.103.140.0/24\",\r\n \"65.52.32.0/21\",\r\n \"65.54.55.160/27\",\r\n + \ \"65.54.55.224/27\",\r\n \"70.37.48.0/20\",\r\n \"70.37.64.0/18\",\r\n + \ \"70.37.160.0/21\",\r\n \"104.44.89.0/27\",\r\n \"104.44.89.64/27\",\r\n + \ \"104.44.92.64/27\",\r\n \"104.44.94.160/27\",\r\n \"104.44.128.0/18\",\r\n + \ \"104.47.208.0/23\",\r\n \"104.210.128.0/19\",\r\n \"104.210.176.0/20\",\r\n + \ \"104.210.192.0/19\",\r\n \"104.214.0.0/17\",\r\n \"104.215.64.0/18\",\r\n + \ \"131.253.40.64/28\",\r\n \"157.55.51.224/28\",\r\n \"157.55.80.0/21\",\r\n + \ \"157.55.103.32/27\",\r\n \"157.55.153.224/28\",\r\n \"157.55.176.0/20\",\r\n + \ \"157.55.192.0/21\",\r\n \"157.55.200.0/22\",\r\n \"157.55.204.1/32\",\r\n + \ \"157.55.204.2/31\",\r\n \"157.55.204.33/32\",\r\n \"157.55.204.34/31\",\r\n + \ \"168.62.128.0/19\",\r\n \"191.238.144.0/20\",\r\n \"191.238.160.0/19\",\r\n + \ \"191.238.224.0/19\",\r\n \"2603:1030:800::/48\",\r\n \"2603:1030:802::/47\",\r\n + \ \"2603:1030:804::/58\",\r\n \"2603:1030:804:40::/60\",\r\n + \ \"2603:1030:804:53::/64\",\r\n \"2603:1030:804:54::/64\",\r\n + \ \"2603:1030:804:5b::/64\",\r\n \"2603:1030:804:5c::/62\",\r\n + \ \"2603:1030:804:60::/62\",\r\n \"2603:1030:804:67::/64\",\r\n + \ \"2603:1030:804:68::/61\",\r\n \"2603:1030:804:70::/60\",\r\n + \ \"2603:1030:804:80::/59\",\r\n \"2603:1030:804:a0::/62\",\r\n + \ \"2603:1030:804:a4::/64\",\r\n \"2603:1030:804:a6::/63\",\r\n + \ \"2603:1030:804:a8::/61\",\r\n \"2603:1030:804:b0::/62\",\r\n + \ \"2603:1030:804:b4::/64\",\r\n \"2603:1030:804:b6::/63\",\r\n + \ \"2603:1030:804:b8::/61\",\r\n \"2603:1030:804:c0::/61\",\r\n + \ \"2603:1030:804:c8::/62\",\r\n \"2603:1030:804:cc::/63\",\r\n + \ \"2603:1030:804:d2::/63\",\r\n \"2603:1030:804:d4::/62\",\r\n + \ \"2603:1030:804:d8::/61\",\r\n \"2603:1030:804:e0::/59\",\r\n + \ \"2603:1030:804:100::/60\",\r\n \"2603:1030:804:110::/61\",\r\n + \ \"2603:1030:805::/48\",\r\n \"2603:1030:806::/48\",\r\n + \ \"2603:1030:807::/48\",\r\n \"2603:1036:2407::/48\",\r\n + \ \"2603:1036:2500:24::/64\",\r\n \"2603:1036:3000:140::/59\",\r\n + \ \"2603:1037:1:140::/59\",\r\n \"2a01:111:f100:4002::/64\",\r\n + \ \"2a01:111:f100:5000::/52\",\r\n \"2a01:111:f403:c10c::/62\",\r\n + \ \"2a01:111:f403:c90c::/62\",\r\n \"2a01:111:f403:c92d::/64\",\r\n + \ \"2a01:111:f403:c92e::/63\",\r\n \"2a01:111:f403:c930::/63\",\r\n + \ \"2a01:111:f403:d10c::/62\",\r\n \"2a01:111:f403:d90c::/62\",\r\n + \ \"2a01:111:f403:e00c::/62\",\r\n \"2a01:111:f403:f90c::/62\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCloud.southeastasia\",\r\n + \ \"id\": \"AzureCloud.southeastasia\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"southeastasia\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"\",\r\n \"addressPrefixes\": [\r\n \"13.67.0.0/17\",\r\n + \ \"13.76.0.0/16\",\r\n \"13.104.149.0/26\",\r\n \"13.104.153.0/27\",\r\n + \ \"13.104.153.32/28\",\r\n \"13.104.153.64/27\",\r\n \"13.104.153.192/26\",\r\n + \ \"13.104.154.0/25\",\r\n \"13.104.213.128/25\",\r\n \"20.43.128.0/18\",\r\n + \ \"20.44.192.0/18\",\r\n \"20.47.9.0/24\",\r\n \"20.47.33.0/24\",\r\n + \ \"20.47.64.0/24\",\r\n \"20.47.98.0/24\",\r\n \"20.60.136.0/24\",\r\n + \ \"20.60.138.0/23\",\r\n \"20.135.84.0/22\",\r\n \"20.135.88.0/23\",\r\n + \ \"20.150.17.128/25\",\r\n \"20.150.28.0/24\",\r\n \"20.150.86.0/24\",\r\n + \ \"20.150.127.0/24\",\r\n \"20.184.0.0/18\",\r\n \"20.188.96.0/19\",\r\n + \ \"20.190.64.0/19\",\r\n \"20.190.140.0/25\",\r\n \"20.190.163.0/24\",\r\n + \ \"20.191.128.0/19\",\r\n \"20.195.0.0/18\",\r\n \"20.195.64.0/21\",\r\n + \ \"20.195.80.0/21\",\r\n \"20.195.96.0/19\",\r\n \"20.197.64.0/18\",\r\n + \ \"20.198.128.0/17\",\r\n \"23.97.48.0/20\",\r\n \"23.98.64.0/18\",\r\n + \ \"23.100.112.0/21\",\r\n \"23.101.16.0/20\",\r\n \"40.65.128.0/18\",\r\n + \ \"40.78.223.0/24\",\r\n \"40.78.232.0/21\",\r\n \"40.79.206.32/27\",\r\n + \ \"40.82.28.0/22\",\r\n \"40.87.196.0/22\",\r\n \"40.90.133.192/26\",\r\n + \ \"40.90.134.0/26\",\r\n \"40.90.137.64/27\",\r\n \"40.90.138.96/27\",\r\n + \ \"40.90.146.160/27\",\r\n \"40.90.146.224/27\",\r\n \"40.90.154.128/26\",\r\n + \ \"40.90.160.0/19\",\r\n \"40.93.129.0/24\",\r\n \"40.119.192.0/18\",\r\n + \ \"40.126.12.0/25\",\r\n \"40.126.35.0/24\",\r\n \"52.101.133.0/24\",\r\n + \ \"52.101.134.0/23\",\r\n \"52.101.136.0/23\",\r\n \"52.102.193.0/24\",\r\n + \ \"52.103.65.0/24\",\r\n \"52.103.193.0/24\",\r\n \"52.108.68.0/23\",\r\n + \ \"52.108.91.0/24\",\r\n \"52.108.184.0/24\",\r\n \"52.108.195.0/24\",\r\n + \ \"52.108.206.0/23\",\r\n \"52.108.236.0/22\",\r\n \"52.109.124.0/22\",\r\n + \ \"52.111.240.0/24\",\r\n \"52.112.40.0/21\",\r\n \"52.112.48.0/20\",\r\n + \ \"52.113.101.0/24\",\r\n \"52.113.105.0/24\",\r\n \"52.113.109.0/24\",\r\n + \ \"52.113.131.0/24\",\r\n \"52.114.8.0/21\",\r\n \"52.114.54.0/23\",\r\n + \ \"52.114.56.0/23\",\r\n \"52.114.80.0/22\",\r\n \"52.114.216.0/22\",\r\n + \ \"52.115.32.0/22\",\r\n \"52.115.36.0/23\",\r\n \"52.115.97.0/24\",\r\n + \ \"52.120.144.0/21\",\r\n \"52.120.156.0/24\",\r\n \"52.121.128.0/20\",\r\n + \ \"52.121.144.0/21\",\r\n \"52.136.26.0/24\",\r\n \"52.139.192.0/18\",\r\n + \ \"52.143.196.0/24\",\r\n \"52.143.210.0/24\",\r\n \"52.148.64.0/18\",\r\n + \ \"52.163.0.0/16\",\r\n \"52.187.0.0/17\",\r\n \"52.187.128.0/18\",\r\n + \ \"52.230.0.0/17\",\r\n \"52.237.64.0/18\",\r\n \"52.239.129.0/24\",\r\n + \ \"52.239.197.0/24\",\r\n \"52.239.227.0/24\",\r\n \"52.239.249.0/24\",\r\n + \ \"52.245.80.0/22\",\r\n \"52.253.80.0/20\",\r\n \"104.43.0.0/17\",\r\n + \ \"104.44.89.32/27\",\r\n \"104.44.90.128/27\",\r\n \"104.44.92.32/27\",\r\n + \ \"104.44.94.144/28\",\r\n \"104.44.95.192/28\",\r\n \"104.44.95.224/28\",\r\n + \ \"104.215.128.0/17\",\r\n \"111.221.80.0/20\",\r\n \"111.221.96.0/20\",\r\n + \ \"137.116.128.0/19\",\r\n \"138.91.32.0/20\",\r\n \"168.63.90.0/24\",\r\n + \ \"168.63.91.0/26\",\r\n \"168.63.160.0/19\",\r\n \"168.63.224.0/19\",\r\n + \ \"191.238.64.0/23\",\r\n \"207.46.50.128/28\",\r\n \"207.46.59.64/27\",\r\n + \ \"207.46.63.64/27\",\r\n \"207.46.63.128/25\",\r\n \"207.46.224.0/20\",\r\n + \ \"2603:1040::/47\",\r\n \"2603:1040:2::/48\",\r\n \"2603:1040:4::/48\",\r\n + \ \"2603:1040:5::/48\",\r\n \"2603:1046:1406::/48\",\r\n + \ \"2603:1046:1500:28::/64\",\r\n \"2603:1046:2000:180::/59\",\r\n + \ \"2603:1047:1:180::/59\",\r\n \"2a01:111:f403:c401::/64\",\r\n + \ \"2a01:111:f403:cc05::/64\",\r\n \"2a01:111:f403:cc06::/63\",\r\n + \ \"2a01:111:f403:cc08::/63\",\r\n \"2a01:111:f403:d402::/64\",\r\n + \ \"2a01:111:f403:dc01::/64\",\r\n \"2a01:111:f403:e401::/64\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCloud.southfrance\",\r\n + \ \"id\": \"AzureCloud.southfrance\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"southfrance\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"\",\r\n \"addressPrefixes\": [\r\n \"13.104.150.192/26\",\r\n + \ \"13.104.151.0/26\",\r\n \"20.38.188.0/22\",\r\n \"20.39.80.0/20\",\r\n + \ \"20.47.28.0/24\",\r\n \"20.47.102.0/24\",\r\n \"20.60.11.0/24\",\r\n + \ \"20.60.188.0/23\",\r\n \"20.135.28.0/23\",\r\n \"20.150.19.0/24\",\r\n + \ \"20.190.147.128/25\",\r\n \"20.190.178.0/24\",\r\n \"40.79.176.0/21\",\r\n + \ \"40.79.223.0/24\",\r\n \"40.80.20.0/22\",\r\n \"40.80.96.0/20\",\r\n + \ \"40.82.224.0/20\",\r\n \"40.90.132.32/28\",\r\n \"40.90.136.192/27\",\r\n + \ \"40.90.147.224/27\",\r\n \"40.126.19.128/25\",\r\n \"40.126.50.0/24\",\r\n + \ \"51.105.88.0/21\",\r\n \"51.138.128.0/19\",\r\n \"51.138.160.0/21\",\r\n + \ \"52.108.188.0/24\",\r\n \"52.108.222.0/23\",\r\n \"52.109.72.0/22\",\r\n + \ \"52.111.253.0/24\",\r\n \"52.114.108.0/22\",\r\n \"52.136.8.0/21\",\r\n + \ \"52.136.28.0/24\",\r\n \"52.136.128.0/18\",\r\n \"52.239.135.0/26\",\r\n + \ \"52.239.196.0/24\",\r\n \"52.245.120.0/22\",\r\n \"2603:1020:900::/47\",\r\n + \ \"2603:1020:902::/48\",\r\n \"2603:1020:904::/48\",\r\n + \ \"2603:1020:905::/48\",\r\n \"2603:1026:2401::/48\",\r\n + \ \"2603:1026:2500:2c::/64\",\r\n \"2603:1026:3000:1a0::/59\",\r\n + \ \"2603:1027:1:1a0::/59\"\r\n ]\r\n }\r\n },\r\n {\r\n + \ \"name\": \"AzureCloud.southindia\",\r\n \"id\": \"AzureCloud.southindia\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"1\",\r\n \"region\": \"southindia\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n + \ ],\r\n \"systemService\": \"\",\r\n \"addressPrefixes\": + [\r\n \"13.71.64.0/18\",\r\n \"13.104.153.128/26\",\r\n + \ \"20.40.0.0/21\",\r\n \"20.41.192.0/18\",\r\n \"20.44.32.0/19\",\r\n + \ \"20.47.52.0/24\",\r\n \"20.47.72.0/23\",\r\n \"20.60.10.0/24\",\r\n + \ \"20.135.42.0/23\",\r\n \"20.150.24.0/24\",\r\n \"20.190.145.128/25\",\r\n + \ \"20.190.174.0/24\",\r\n \"20.192.128.0/19\",\r\n \"20.192.184.0/21\",\r\n + \ \"40.78.192.0/21\",\r\n \"40.79.213.0/24\",\r\n \"40.81.64.0/20\",\r\n + \ \"40.87.216.0/22\",\r\n \"40.90.26.64/26\",\r\n \"40.90.137.160/27\",\r\n + \ \"40.126.17.128/25\",\r\n \"40.126.46.0/24\",\r\n \"52.108.192.0/24\",\r\n + \ \"52.108.230.0/23\",\r\n \"52.109.60.0/22\",\r\n \"52.111.241.0/24\",\r\n + \ \"52.113.15.0/24\",\r\n \"52.114.24.0/22\",\r\n \"52.136.17.0/24\",\r\n + \ \"52.140.0.0/18\",\r\n \"52.172.0.0/17\",\r\n \"52.239.135.128/26\",\r\n + \ \"52.239.188.0/24\",\r\n \"52.245.84.0/22\",\r\n \"104.44.92.160/27\",\r\n + \ \"104.44.94.208/28\",\r\n \"104.47.214.0/23\",\r\n \"104.211.192.0/18\",\r\n + \ \"2603:1040:c00::/46\",\r\n \"2603:1040:c05::/48\",\r\n + \ \"2603:1040:c06::/48\",\r\n \"2603:1046:1407::/48\",\r\n + \ \"2603:1046:1500:4::/64\",\r\n \"2603:1046:2000:60::/59\",\r\n + \ \"2603:1047:1:60::/59\"\r\n ]\r\n }\r\n },\r\n {\r\n + \ \"name\": \"AzureCloud.switzerlandn\",\r\n \"id\": \"AzureCloud.switzerlandn\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"switzerlandn\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n + \ ],\r\n \"systemService\": \"\",\r\n \"addressPrefixes\": + [\r\n \"13.104.144.32/27\",\r\n \"13.104.211.192/26\",\r\n + \ \"20.47.53.0/24\",\r\n \"20.47.71.0/24\",\r\n \"20.60.174.0/23\",\r\n + \ \"20.135.170.0/23\",\r\n \"20.135.172.0/22\",\r\n \"20.150.59.0/24\",\r\n + \ \"20.150.118.0/24\",\r\n \"20.190.183.0/24\",\r\n \"20.199.128.0/18\",\r\n + \ \"40.90.30.128/27\",\r\n \"40.90.128.208/28\",\r\n \"40.119.80.0/22\",\r\n + \ \"40.126.55.0/24\",\r\n \"40.126.194.0/24\",\r\n \"51.103.128.0/18\",\r\n + \ \"51.103.192.32/27\",\r\n \"51.103.224.0/19\",\r\n \"51.107.0.0/18\",\r\n + \ \"51.107.64.0/19\",\r\n \"51.107.128.0/21\",\r\n \"51.107.200.0/21\",\r\n + \ \"51.107.240.0/21\",\r\n \"52.108.75.0/24\",\r\n \"52.108.96.0/24\",\r\n + \ \"52.109.156.0/23\",\r\n \"52.111.202.0/24\",\r\n \"52.114.226.0/24\",\r\n + \ \"52.239.251.0/24\",\r\n \"52.253.165.0/24\",\r\n \"52.253.175.0/24\",\r\n + \ \"52.253.176.0/24\",\r\n \"2603:1020:a00::/47\",\r\n \"2603:1020:a03::/48\",\r\n + \ \"2603:1020:a04::/48\",\r\n \"2603:1026:240b::/48\",\r\n + \ \"2603:1026:2500:c::/64\",\r\n \"2603:1026:3000:60::/59\",\r\n + \ \"2603:1027:1:60::/59\"\r\n ]\r\n }\r\n },\r\n {\r\n + \ \"name\": \"AzureCloud.switzerlandw\",\r\n \"id\": \"AzureCloud.switzerlandw\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"3\",\r\n \"region\": \"switzerlandw\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n + \ ],\r\n \"systemService\": \"\",\r\n \"addressPrefixes\": + [\r\n \"13.104.144.0/27\",\r\n \"13.104.212.0/26\",\r\n + \ \"20.47.26.0/24\",\r\n \"20.47.67.0/24\",\r\n \"20.47.103.0/24\",\r\n + \ \"20.60.176.0/23\",\r\n \"20.135.62.0/23\",\r\n \"20.150.55.0/24\",\r\n + \ \"20.150.116.0/24\",\r\n \"20.190.184.0/24\",\r\n \"20.199.192.0/18\",\r\n + \ \"40.90.19.32/27\",\r\n \"40.90.128.192/28\",\r\n \"40.119.84.0/22\",\r\n + \ \"40.126.56.0/24\",\r\n \"40.126.195.0/24\",\r\n \"51.103.192.0/27\",\r\n + \ \"51.107.96.0/19\",\r\n \"51.107.136.0/21\",\r\n \"51.107.144.0/20\",\r\n + \ \"51.107.160.0/20\",\r\n \"51.107.192.0/21\",\r\n \"51.107.224.0/20\",\r\n + \ \"51.107.248.0/21\",\r\n \"52.108.179.0/24\",\r\n \"52.108.200.0/24\",\r\n + \ \"52.109.158.0/23\",\r\n \"52.111.203.0/24\",\r\n \"52.114.230.0/24\",\r\n + \ \"52.239.250.0/24\",\r\n \"52.253.166.0/24\",\r\n \"2603:1020:b00::/47\",\r\n + \ \"2603:1020:b03::/48\",\r\n \"2603:1020:b04::/48\",\r\n + \ \"2603:1026:240c::/48\",\r\n \"2603:1026:2500:20::/64\",\r\n + \ \"2603:1026:3000:120::/59\",\r\n \"2603:1027:1:120::/59\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCloud.uaecentral\",\r\n + \ \"id\": \"AzureCloud.uaecentral\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"uaecentral\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"\",\r\n \"addressPrefixes\": [\r\n \"13.104.159.128/26\",\r\n + \ \"20.37.64.0/19\",\r\n \"20.45.64.0/19\",\r\n \"20.46.200.0/21\",\r\n + \ \"20.46.208.0/20\",\r\n \"20.47.54.0/24\",\r\n \"20.47.94.0/24\",\r\n + \ \"20.135.36.0/23\",\r\n \"20.150.6.0/23\",\r\n \"20.150.115.0/24\",\r\n + \ \"20.190.188.0/24\",\r\n \"40.90.16.64/27\",\r\n \"40.90.128.48/28\",\r\n + \ \"40.90.151.224/27\",\r\n \"40.119.76.0/22\",\r\n \"40.120.0.0/20\",\r\n + \ \"40.125.0.0/19\",\r\n \"40.126.60.0/24\",\r\n \"40.126.193.0/24\",\r\n + \ \"40.126.208.0/20\",\r\n \"52.108.183.0/24\",\r\n \"52.108.204.0/23\",\r\n + \ \"52.109.160.0/23\",\r\n \"52.111.247.0/24\",\r\n \"52.114.232.0/24\",\r\n + \ \"52.143.221.0/24\",\r\n \"52.239.233.0/25\",\r\n \"2603:1040:b00::/47\",\r\n + \ \"2603:1040:b03::/48\",\r\n \"2603:1040:b04::/48\",\r\n + \ \"2603:1046:140b::/48\",\r\n \"2603:1046:1500:30::/64\",\r\n + \ \"2603:1046:2000:120::/59\",\r\n \"2603:1047:1:120::/59\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCloud.uaenorth\",\r\n + \ \"id\": \"AzureCloud.uaenorth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"4\",\r\n + \ \"region\": \"uaenorth\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"\",\r\n \"addressPrefixes\": [\r\n \"13.104.151.64/26\",\r\n + \ \"13.104.151.128/26\",\r\n \"13.105.61.16/28\",\r\n \"13.105.61.64/26\",\r\n + \ \"20.38.124.0/23\",\r\n \"20.38.136.0/21\",\r\n \"20.38.152.0/21\",\r\n + \ \"20.46.32.0/19\",\r\n \"20.46.144.0/20\",\r\n \"20.46.192.0/21\",\r\n + \ \"20.47.55.0/24\",\r\n \"20.47.95.0/24\",\r\n \"20.60.21.0/24\",\r\n + \ \"20.74.128.0/18\",\r\n \"20.135.114.0/23\",\r\n \"20.135.116.0/22\",\r\n + \ \"20.190.187.0/24\",\r\n \"20.196.0.0/18\",\r\n \"20.203.0.0/18\",\r\n + \ \"40.90.16.96/27\",\r\n \"40.90.128.64/28\",\r\n \"40.90.152.128/27\",\r\n + \ \"40.119.72.0/22\",\r\n \"40.119.160.0/19\",\r\n \"40.120.64.0/18\",\r\n + \ \"40.123.192.0/19\",\r\n \"40.123.224.0/20\",\r\n \"40.126.59.0/24\",\r\n + \ \"40.126.192.0/24\",\r\n \"52.108.70.0/23\",\r\n \"52.108.92.0/24\",\r\n + \ \"52.109.162.0/23\",\r\n \"52.111.204.0/24\",\r\n \"52.112.200.0/22\",\r\n + \ \"52.112.204.0/23\",\r\n \"52.112.207.0/24\",\r\n \"52.114.236.0/24\",\r\n + \ \"52.121.100.0/22\",\r\n \"52.121.104.0/23\",\r\n \"52.143.202.0/24\",\r\n + \ \"52.143.222.0/23\",\r\n \"52.239.233.128/25\",\r\n \"65.52.248.0/21\",\r\n + \ \"2603:1040:900::/47\",\r\n \"2603:1040:903::/48\",\r\n + \ \"2603:1040:904::/48\",\r\n \"2603:1046:140a::/48\",\r\n + \ \"2603:1046:1500:2c::/64\",\r\n \"2603:1046:2000:100::/59\",\r\n + \ \"2603:1047:1:100::/59\"\r\n ]\r\n }\r\n },\r\n {\r\n + \ \"name\": \"AzureCloud.uknorth\",\r\n \"id\": \"AzureCloud.uknorth\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"uknorth\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n + \ ],\r\n \"systemService\": \"\",\r\n \"addressPrefixes\": + [\r\n \"13.87.64.0/18\",\r\n \"20.39.144.0/20\",\r\n \"20.45.160.0/19\",\r\n + \ \"20.150.46.0/24\",\r\n \"20.190.143.128/25\",\r\n \"20.190.170.0/24\",\r\n + \ \"40.79.202.0/24\",\r\n \"40.80.16.0/22\",\r\n \"40.81.96.0/20\",\r\n + \ \"40.90.130.112/28\",\r\n \"40.90.143.32/27\",\r\n \"40.90.150.64/27\",\r\n + \ \"40.126.15.128/25\",\r\n \"40.126.42.0/24\",\r\n \"51.11.64.0/19\",\r\n + \ \"51.105.80.0/21\",\r\n \"51.141.129.32/27\",\r\n \"51.142.128.0/17\",\r\n + \ \"52.108.137.0/24\",\r\n \"52.109.36.0/22\",\r\n \"52.136.19.0/24\",\r\n + \ \"2603:1020:300::/47\",\r\n \"2603:1020:302::/48\",\r\n + \ \"2603:1020:304::/48\",\r\n \"2603:1020:305::/48\",\r\n + \ \"2603:1026:240f::/48\",\r\n \"2603:1026:2500:30::/64\",\r\n + \ \"2603:1026:3000:1c0::/59\",\r\n \"2603:1027:1:1c0::/59\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCloud.uksouth\",\r\n + \ \"id\": \"AzureCloud.uksouth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"uksouth\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"\",\r\n \"addressPrefixes\": [\r\n \"13.104.129.128/26\",\r\n + \ \"13.104.145.160/27\",\r\n \"13.104.146.64/26\",\r\n \"13.104.159.0/25\",\r\n + \ \"20.38.106.0/23\",\r\n \"20.39.208.0/20\",\r\n \"20.39.224.0/21\",\r\n + \ \"20.47.11.0/24\",\r\n \"20.47.34.0/24\",\r\n \"20.47.68.0/24\",\r\n + \ \"20.47.114.0/24\",\r\n \"20.49.128.0/17\",\r\n \"20.50.96.0/19\",\r\n + \ \"20.58.0.0/18\",\r\n \"20.60.17.0/24\",\r\n \"20.60.166.0/23\",\r\n + \ \"20.68.0.0/18\",\r\n \"20.68.128.0/17\",\r\n \"20.77.0.0/17\",\r\n + \ \"20.77.128.0/18\",\r\n \"20.90.64.0/18\",\r\n \"20.135.176.0/22\",\r\n + \ \"20.135.180.0/23\",\r\n \"20.150.18.0/25\",\r\n \"20.150.40.0/25\",\r\n + \ \"20.150.41.0/24\",\r\n \"20.150.69.0/24\",\r\n \"20.190.143.0/25\",\r\n + \ \"20.190.169.0/24\",\r\n \"40.79.215.0/24\",\r\n \"40.80.0.0/22\",\r\n + \ \"40.81.128.0/19\",\r\n \"40.90.17.32/27\",\r\n \"40.90.17.160/27\",\r\n + \ \"40.90.29.192/26\",\r\n \"40.90.128.112/28\",\r\n \"40.90.128.160/28\",\r\n + \ \"40.90.131.64/27\",\r\n \"40.90.139.64/27\",\r\n \"40.90.141.192/26\",\r\n + \ \"40.90.153.64/27\",\r\n \"40.90.154.0/26\",\r\n \"40.120.32.0/19\",\r\n + \ \"40.126.15.0/25\",\r\n \"40.126.41.0/24\",\r\n \"51.11.0.0/18\",\r\n + \ \"51.11.128.0/18\",\r\n \"51.104.0.0/19\",\r\n \"51.104.192.0/18\",\r\n + \ \"51.105.0.0/18\",\r\n \"51.105.64.0/20\",\r\n \"51.132.0.0/18\",\r\n + \ \"51.132.128.0/17\",\r\n \"51.140.0.0/17\",\r\n \"51.140.128.0/18\",\r\n + \ \"51.141.128.32/27\",\r\n \"51.141.129.64/26\",\r\n \"51.141.130.0/25\",\r\n + \ \"51.141.135.0/24\",\r\n \"51.141.192.0/18\",\r\n \"51.143.128.0/18\",\r\n + \ \"51.143.208.0/20\",\r\n \"51.143.224.0/19\",\r\n \"51.145.0.0/17\",\r\n + \ \"52.108.50.0/23\",\r\n \"52.108.88.0/24\",\r\n \"52.108.99.0/24\",\r\n + \ \"52.108.100.0/23\",\r\n \"52.109.28.0/22\",\r\n \"52.111.242.0/24\",\r\n + \ \"52.112.231.0/24\",\r\n \"52.112.240.0/20\",\r\n \"52.113.128.0/24\",\r\n + \ \"52.113.200.0/22\",\r\n \"52.113.204.0/24\",\r\n \"52.113.224.0/19\",\r\n + \ \"52.114.88.0/22\",\r\n \"52.120.160.0/19\",\r\n \"52.120.240.0/20\",\r\n + \ \"52.136.21.0/24\",\r\n \"52.151.64.0/18\",\r\n \"52.239.187.0/25\",\r\n + \ \"52.239.231.0/24\",\r\n \"52.245.64.0/22\",\r\n \"52.253.162.0/23\",\r\n + \ \"104.44.89.224/27\",\r\n \"2603:1020:700::/47\",\r\n \"2603:1020:702::/48\",\r\n + \ \"2603:1020:704::/48\",\r\n \"2603:1020:705::/48\",\r\n + \ \"2603:1026:2406::/48\",\r\n \"2603:1026:2500:18::/64\",\r\n + \ \"2603:1026:3000:e0::/59\",\r\n \"2603:1027:1:e0::/59\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCloud.uksouth2\",\r\n + \ \"id\": \"AzureCloud.uksouth2\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"uksouth2\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"\",\r\n \"addressPrefixes\": [\r\n \"13.87.0.0/18\",\r\n + \ \"20.150.27.0/24\",\r\n \"20.190.172.0/24\",\r\n \"40.79.201.0/24\",\r\n + \ \"40.80.12.0/22\",\r\n \"40.81.160.0/20\",\r\n \"40.90.130.128/28\",\r\n + \ \"40.90.143.64/27\",\r\n \"40.90.150.96/27\",\r\n \"40.126.44.0/24\",\r\n + \ \"51.141.129.0/27\",\r\n \"51.141.129.192/26\",\r\n \"51.141.156.0/22\",\r\n + \ \"51.142.0.0/17\",\r\n \"51.143.192.0/21\",\r\n \"51.143.200.0/28\",\r\n + \ \"51.143.201.0/24\",\r\n \"52.108.138.0/24\",\r\n \"52.109.40.0/22\",\r\n + \ \"52.136.18.0/24\",\r\n \"2603:1020:400::/47\",\r\n \"2603:1020:402::/48\",\r\n + \ \"2603:1020:404::/48\",\r\n \"2603:1020:405::/48\",\r\n + \ \"2603:1026:2403::/48\",\r\n \"2603:1026:2500:8::/64\",\r\n + \ \"2603:1026:3000:40::/59\",\r\n \"2603:1027:1:40::/59\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCloud.ukwest\",\r\n + \ \"id\": \"AzureCloud.ukwest\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"ukwest\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"\",\r\n \"addressPrefixes\": [\r\n \"20.39.160.0/21\",\r\n + \ \"20.40.104.0/21\",\r\n \"20.47.56.0/24\",\r\n \"20.47.82.0/23\",\r\n + \ \"20.58.64.0/18\",\r\n \"20.60.164.0/23\",\r\n \"20.68.64.0/18\",\r\n + \ \"20.77.192.0/18\",\r\n \"20.90.0.0/18\",\r\n \"20.135.64.0/23\",\r\n + \ \"20.150.2.0/23\",\r\n \"20.150.52.0/24\",\r\n \"20.150.110.0/24\",\r\n + \ \"20.157.46.0/24\",\r\n \"20.190.144.0/25\",\r\n \"20.190.171.0/24\",\r\n + \ \"40.79.218.0/24\",\r\n \"40.81.112.0/20\",\r\n \"40.87.228.0/22\",\r\n + \ \"40.90.28.192/26\",\r\n \"40.90.29.0/26\",\r\n \"40.90.131.96/27\",\r\n + \ \"40.90.139.96/27\",\r\n \"40.90.157.192/27\",\r\n \"40.126.16.0/25\",\r\n + \ \"40.126.43.0/24\",\r\n \"51.11.96.0/19\",\r\n \"51.104.32.0/19\",\r\n + \ \"51.132.64.0/18\",\r\n \"51.137.128.0/18\",\r\n \"51.140.192.0/18\",\r\n + \ \"51.141.0.0/17\",\r\n \"51.141.128.0/27\",\r\n \"51.141.128.64/26\",\r\n + \ \"51.141.128.128/25\",\r\n \"51.141.129.128/26\",\r\n \"51.141.134.0/24\",\r\n + \ \"51.141.136.0/22\",\r\n \"52.108.189.0/24\",\r\n \"52.108.224.0/23\",\r\n + \ \"52.109.32.0/22\",\r\n \"52.111.205.0/24\",\r\n \"52.112.168.0/22\",\r\n + \ \"52.112.212.0/24\",\r\n \"52.112.230.0/24\",\r\n \"52.113.192.0/24\",\r\n + \ \"52.114.84.0/22\",\r\n \"52.114.92.0/22\",\r\n \"52.136.20.0/24\",\r\n + \ \"52.142.128.0/18\",\r\n \"52.239.240.0/24\",\r\n \"104.44.90.0/27\",\r\n + \ \"2603:1020:600::/47\",\r\n \"2603:1020:602::/48\",\r\n + \ \"2603:1020:604::/48\",\r\n \"2603:1020:605::/48\",\r\n + \ \"2603:1026:2407::/48\",\r\n \"2603:1026:3000:200::/59\",\r\n + \ \"2603:1027:1:200::/59\"\r\n ]\r\n }\r\n },\r\n {\r\n + \ \"name\": \"AzureCloud.westcentralus\",\r\n \"id\": \"AzureCloud.westcentralus\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"3\",\r\n \"region\": \"westcentralus\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n + \ ],\r\n \"systemService\": \"\",\r\n \"addressPrefixes\": + [\r\n \"13.71.192.0/18\",\r\n \"13.77.192.0/19\",\r\n \"13.78.128.0/17\",\r\n + \ \"13.104.145.64/26\",\r\n \"13.104.215.128/25\",\r\n \"13.104.219.0/25\",\r\n + \ \"20.47.4.0/24\",\r\n \"20.47.70.0/24\",\r\n \"20.47.104.0/24\",\r\n + \ \"20.51.32.0/19\",\r\n \"20.55.128.0/18\",\r\n \"20.57.224.0/19\",\r\n + \ \"20.59.128.0/18\",\r\n \"20.60.4.0/24\",\r\n \"20.69.0.0/18\",\r\n + \ \"20.135.72.0/23\",\r\n \"20.150.81.0/24\",\r\n \"20.150.98.0/24\",\r\n + \ \"20.157.41.0/24\",\r\n \"20.190.136.0/24\",\r\n \"20.190.158.0/24\",\r\n + \ \"40.67.120.0/21\",\r\n \"40.77.128.0/25\",\r\n \"40.77.131.192/27\",\r\n + \ \"40.77.131.240/28\",\r\n \"40.77.135.0/24\",\r\n \"40.77.136.128/25\",\r\n + \ \"40.77.166.0/25\",\r\n \"40.77.166.128/28\",\r\n \"40.77.173.0/24\",\r\n + \ \"40.77.175.32/27\",\r\n \"40.77.182.160/27\",\r\n \"40.77.185.0/25\",\r\n + \ \"40.77.224.16/28\",\r\n \"40.77.224.64/27\",\r\n \"40.77.227.0/24\",\r\n + \ \"40.77.232.0/25\",\r\n \"40.77.235.0/24\",\r\n \"40.77.236.96/27\",\r\n + \ \"40.77.246.0/24\",\r\n \"40.78.218.0/24\",\r\n \"40.79.205.240/28\",\r\n + \ \"40.79.206.224/27\",\r\n \"40.79.207.0/27\",\r\n \"40.90.131.0/27\",\r\n + \ \"40.90.138.192/28\",\r\n \"40.90.139.0/27\",\r\n \"40.90.143.96/27\",\r\n + \ \"40.90.151.0/26\",\r\n \"40.90.151.128/28\",\r\n \"40.90.152.0/25\",\r\n + \ \"40.93.6.0/24\",\r\n \"40.93.15.0/24\",\r\n \"40.93.198.0/23\",\r\n + \ \"40.93.200.0/23\",\r\n \"40.93.202.0/24\",\r\n \"40.96.255.0/24\",\r\n + \ \"40.123.136.0/24\",\r\n \"40.126.8.0/24\",\r\n \"40.126.30.0/24\",\r\n + \ \"52.101.24.0/22\",\r\n \"52.101.40.0/24\",\r\n \"52.102.133.0/24\",\r\n + \ \"52.102.141.0/24\",\r\n \"52.103.7.0/24\",\r\n \"52.103.15.0/24\",\r\n + \ \"52.103.133.0/24\",\r\n \"52.108.181.0/24\",\r\n \"52.108.202.0/24\",\r\n + \ \"52.109.136.0/22\",\r\n \"52.111.206.0/24\",\r\n \"52.112.93.0/24\",\r\n + \ \"52.113.207.0/24\",\r\n \"52.136.4.0/22\",\r\n \"52.143.214.0/24\",\r\n + \ \"52.148.0.0/18\",\r\n \"52.150.128.0/17\",\r\n \"52.153.128.0/18\",\r\n + \ \"52.159.0.0/18\",\r\n \"52.161.0.0/16\",\r\n \"52.239.164.0/25\",\r\n + \ \"52.239.167.0/24\",\r\n \"52.239.244.0/23\",\r\n \"52.245.60.0/22\",\r\n + \ \"52.253.128.0/20\",\r\n \"53.103.141.0/24\",\r\n \"64.4.8.0/24\",\r\n + \ \"64.4.54.0/24\",\r\n \"65.55.209.192/26\",\r\n \"104.44.89.96/27\",\r\n + \ \"104.47.224.0/20\",\r\n \"131.253.24.160/27\",\r\n \"131.253.40.160/28\",\r\n + \ \"157.55.12.128/26\",\r\n \"157.55.103.128/25\",\r\n \"207.68.174.48/29\",\r\n + \ \"2603:1030:b00::/47\",\r\n \"2603:1030:b03::/48\",\r\n + \ \"2603:1030:b04::/48\",\r\n \"2603:1030:b05::/48\",\r\n + \ \"2603:1036:9ff:ffff::/64\",\r\n \"2603:1036:2408::/48\",\r\n + \ \"2603:1036:2500:20::/64\",\r\n \"2603:1036:3000:180::/59\",\r\n + \ \"2603:1037:1:180::/59\",\r\n \"2a01:111:f403:c112::/64\",\r\n + \ \"2a01:111:f403:c910::/62\",\r\n \"2a01:111:f403:c932::/63\",\r\n + \ \"2a01:111:f403:c934::/63\",\r\n \"2a01:111:f403:c936::/64\",\r\n + \ \"2a01:111:f403:d120::/62\",\r\n \"2a01:111:f403:d910::/62\",\r\n + \ \"2a01:111:f403:e010::/62\",\r\n \"2a01:111:f403:f910::/62\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCloud.westeurope\",\r\n + \ \"id\": \"AzureCloud.westeurope\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"4\",\r\n + \ \"region\": \"westeurope\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"\",\r\n \"addressPrefixes\": [\r\n \"13.69.0.0/17\",\r\n + \ \"13.73.128.0/18\",\r\n \"13.73.224.0/21\",\r\n \"13.80.0.0/15\",\r\n + \ \"13.88.200.0/21\",\r\n \"13.93.0.0/17\",\r\n \"13.94.128.0/17\",\r\n + \ \"13.95.0.0/16\",\r\n \"13.104.145.192/26\",\r\n \"13.104.146.0/26\",\r\n + \ \"13.104.146.128/25\",\r\n \"13.104.158.176/28\",\r\n \"13.104.209.0/24\",\r\n + \ \"13.104.214.0/25\",\r\n \"13.104.218.128/25\",\r\n \"13.105.22.0/24\",\r\n + \ \"13.105.23.128/25\",\r\n \"13.105.28.32/28\",\r\n \"13.105.29.128/25\",\r\n + \ \"13.105.60.48/28\",\r\n \"13.105.60.96/27\",\r\n \"13.105.60.128/27\",\r\n + \ \"13.105.66.144/28\",\r\n \"20.38.108.0/23\",\r\n \"20.38.200.0/22\",\r\n + \ \"20.47.7.0/24\",\r\n \"20.47.18.0/23\",\r\n \"20.47.30.0/24\",\r\n + \ \"20.47.96.0/23\",\r\n \"20.47.115.0/24\",\r\n \"20.47.118.0/24\",\r\n + \ \"20.50.0.0/18\",\r\n \"20.50.128.0/17\",\r\n \"20.54.128.0/17\",\r\n + \ \"20.56.0.0/16\",\r\n \"20.60.26.0/23\",\r\n \"20.60.130.0/24\",\r\n + \ \"20.60.150.0/23\",\r\n \"20.60.196.0/23\",\r\n \"20.61.0.0/16\",\r\n + \ \"20.67.0.0/17\",\r\n \"20.71.0.0/16\",\r\n \"20.73.0.0/16\",\r\n + \ \"20.76.0.0/16\",\r\n \"20.82.0.0/17\",\r\n \"20.86.0.0/17\",\r\n + \ \"20.135.24.0/23\",\r\n \"20.135.140.0/22\",\r\n \"20.135.144.0/23\",\r\n + \ \"20.150.8.0/23\",\r\n \"20.150.37.0/24\",\r\n \"20.150.42.0/24\",\r\n + \ \"20.150.74.0/24\",\r\n \"20.150.76.0/24\",\r\n \"20.150.83.0/24\",\r\n + \ \"20.150.122.0/24\",\r\n \"20.157.33.0/24\",\r\n \"20.190.137.0/24\",\r\n + \ \"20.190.160.0/24\",\r\n \"23.97.128.0/17\",\r\n \"23.98.46.0/24\",\r\n + \ \"23.100.0.0/20\",\r\n \"23.101.64.0/20\",\r\n \"40.67.192.0/19\",\r\n + \ \"40.68.0.0/16\",\r\n \"40.74.0.0/18\",\r\n \"40.78.210.0/24\",\r\n + \ \"40.79.205.192/27\",\r\n \"40.79.205.224/28\",\r\n \"40.79.206.0/27\",\r\n + \ \"40.82.92.0/22\",\r\n \"40.87.184.0/22\",\r\n \"40.90.17.64/27\",\r\n + \ \"40.90.18.192/26\",\r\n \"40.90.20.128/25\",\r\n \"40.90.21.0/25\",\r\n + \ \"40.90.130.0/27\",\r\n \"40.90.133.0/27\",\r\n \"40.90.134.64/26\",\r\n + \ \"40.90.134.128/26\",\r\n \"40.90.138.0/27\",\r\n \"40.90.141.32/27\",\r\n + \ \"40.90.141.160/27\",\r\n \"40.90.142.224/28\",\r\n \"40.90.144.192/27\",\r\n + \ \"40.90.145.192/27\",\r\n \"40.90.146.16/28\",\r\n \"40.90.146.128/27\",\r\n + \ \"40.90.150.128/25\",\r\n \"40.90.157.64/26\",\r\n \"40.90.159.0/24\",\r\n + \ \"40.91.28.0/22\",\r\n \"40.91.192.0/18\",\r\n \"40.93.65.0/24\",\r\n + \ \"40.112.36.128/25\",\r\n \"40.112.37.0/26\",\r\n \"40.112.38.192/26\",\r\n + \ \"40.112.96.0/19\",\r\n \"40.113.96.0/19\",\r\n \"40.113.128.0/18\",\r\n + \ \"40.114.128.0/17\",\r\n \"40.115.0.0/18\",\r\n \"40.118.0.0/17\",\r\n + \ \"40.119.128.0/19\",\r\n \"40.123.140.0/22\",\r\n \"40.126.9.0/24\",\r\n + \ \"40.126.32.0/24\",\r\n \"51.105.96.0/19\",\r\n \"51.105.128.0/17\",\r\n + \ \"51.124.0.0/17\",\r\n \"51.124.128.0/18\",\r\n \"51.136.0.0/16\",\r\n + \ \"51.137.0.0/17\",\r\n \"51.137.192.0/18\",\r\n \"51.138.0.0/17\",\r\n + \ \"51.144.0.0/16\",\r\n \"51.145.128.0/17\",\r\n \"52.101.69.0/24\",\r\n + \ \"52.101.70.0/23\",\r\n \"52.101.72.0/23\",\r\n \"52.102.161.0/24\",\r\n + \ \"52.103.33.0/24\",\r\n \"52.103.161.0/24\",\r\n \"52.108.24.0/21\",\r\n + \ \"52.108.56.0/21\",\r\n \"52.108.80.0/24\",\r\n \"52.108.108.0/23\",\r\n + \ \"52.108.110.0/24\",\r\n \"52.109.88.0/22\",\r\n \"52.111.243.0/24\",\r\n + \ \"52.112.14.0/23\",\r\n \"52.112.17.0/24\",\r\n \"52.112.18.0/23\",\r\n + \ \"52.112.71.0/24\",\r\n \"52.112.83.0/24\",\r\n \"52.112.97.0/24\",\r\n + \ \"52.112.98.0/23\",\r\n \"52.112.110.0/23\",\r\n \"52.112.144.0/20\",\r\n + \ \"52.112.197.0/24\",\r\n \"52.112.216.0/21\",\r\n \"52.112.233.0/24\",\r\n + \ \"52.112.237.0/24\",\r\n \"52.112.238.0/24\",\r\n \"52.113.9.0/24\",\r\n + \ \"52.113.37.0/24\",\r\n \"52.113.83.0/24\",\r\n \"52.113.130.0/24\",\r\n + \ \"52.113.144.0/21\",\r\n \"52.113.199.0/24\",\r\n \"52.114.64.0/21\",\r\n + \ \"52.114.72.0/22\",\r\n \"52.114.116.0/22\",\r\n \"52.114.241.0/24\",\r\n + \ \"52.114.242.0/24\",\r\n \"52.114.252.0/22\",\r\n \"52.115.0.0/21\",\r\n + \ \"52.115.8.0/22\",\r\n \"52.120.128.0/21\",\r\n \"52.120.208.0/20\",\r\n + \ \"52.121.24.0/21\",\r\n \"52.121.64.0/20\",\r\n \"52.125.140.0/23\",\r\n + \ \"52.136.192.0/18\",\r\n \"52.137.0.0/18\",\r\n \"52.142.192.0/18\",\r\n + \ \"52.143.0.0/18\",\r\n \"52.143.194.0/24\",\r\n \"52.143.208.0/24\",\r\n + \ \"52.148.192.0/18\",\r\n \"52.149.64.0/18\",\r\n \"52.157.64.0/18\",\r\n + \ \"52.157.128.0/17\",\r\n \"52.166.0.0/16\",\r\n \"52.174.0.0/16\",\r\n + \ \"52.178.0.0/17\",\r\n \"52.232.0.0/17\",\r\n \"52.232.147.0/24\",\r\n + \ \"52.233.128.0/17\",\r\n \"52.236.128.0/17\",\r\n \"52.239.140.0/22\",\r\n + \ \"52.239.212.0/23\",\r\n \"52.239.242.0/23\",\r\n \"52.245.48.0/22\",\r\n + \ \"52.245.124.0/22\",\r\n \"65.52.128.0/19\",\r\n \"104.40.128.0/17\",\r\n + \ \"104.44.89.160/27\",\r\n \"104.44.90.192/27\",\r\n \"104.44.93.0/27\",\r\n + \ \"104.44.93.192/27\",\r\n \"104.44.95.80/28\",\r\n \"104.44.95.96/28\",\r\n + \ \"104.45.0.0/18\",\r\n \"104.45.64.0/20\",\r\n \"104.46.32.0/19\",\r\n + \ \"104.47.128.0/18\",\r\n \"104.47.216.64/26\",\r\n \"104.214.192.0/18\",\r\n + \ \"137.116.192.0/19\",\r\n \"137.117.128.0/17\",\r\n \"157.55.8.64/26\",\r\n + \ \"157.55.8.144/28\",\r\n \"157.56.117.64/27\",\r\n \"168.61.56.0/21\",\r\n + \ \"168.63.0.0/19\",\r\n \"168.63.96.0/19\",\r\n \"191.233.64.0/18\",\r\n + \ \"191.237.232.0/22\",\r\n \"191.239.200.0/22\",\r\n \"193.149.80.0/21\",\r\n + \ \"213.199.128.0/20\",\r\n \"213.199.180.32/28\",\r\n \"213.199.180.96/27\",\r\n + \ \"213.199.180.192/27\",\r\n \"213.199.183.0/24\",\r\n \"2603:1020:200::/46\",\r\n + \ \"2603:1020:205::/48\",\r\n \"2603:1020:206::/48\",\r\n + \ \"2603:1026:2405::/48\",\r\n \"2603:1026:2500:24::/64\",\r\n + \ \"2603:1026:3000:140::/59\",\r\n \"2603:1027:1:140::/59\",\r\n + \ \"2a01:111:f403:c201::/64\",\r\n \"2a01:111:f403:ca05::/64\",\r\n + \ \"2a01:111:f403:ca06::/63\",\r\n \"2a01:111:f403:ca08::/63\",\r\n + \ \"2a01:111:f403:d201::/64\",\r\n \"2a01:111:f403:da01::/64\",\r\n + \ \"2a01:111:f403:e201::/64\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureCloud.westindia\",\r\n \"id\": \"AzureCloud.westindia\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"1\",\r\n \"region\": \"westindia\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n + \ ],\r\n \"systemService\": \"\",\r\n \"addressPrefixes\": + [\r\n \"13.104.157.128/25\",\r\n \"20.38.128.0/21\",\r\n + \ \"20.40.8.0/21\",\r\n \"20.47.57.0/24\",\r\n \"20.47.124.0/23\",\r\n + \ \"20.135.44.0/23\",\r\n \"20.150.18.128/25\",\r\n \"20.150.43.0/25\",\r\n + \ \"20.150.106.0/24\",\r\n \"20.190.146.128/25\",\r\n \"20.190.176.0/24\",\r\n + \ \"20.192.64.0/19\",\r\n \"40.79.219.0/24\",\r\n \"40.81.80.0/20\",\r\n + \ \"40.87.220.0/22\",\r\n \"40.90.26.0/26\",\r\n \"40.90.138.224/27\",\r\n + \ \"40.126.18.128/25\",\r\n \"40.126.48.0/24\",\r\n \"52.108.73.0/24\",\r\n + \ \"52.108.94.0/24\",\r\n \"52.109.64.0/22\",\r\n \"52.111.244.0/24\",\r\n + \ \"52.113.134.0/24\",\r\n \"52.114.28.0/22\",\r\n \"52.136.16.0/24\",\r\n + \ \"52.136.32.0/19\",\r\n \"52.140.128.0/18\",\r\n \"52.183.128.0/18\",\r\n + \ \"52.239.135.192/26\",\r\n \"52.239.187.128/25\",\r\n \"52.245.76.0/22\",\r\n + \ \"52.249.64.0/19\",\r\n \"104.44.93.224/27\",\r\n \"104.44.95.112/28\",\r\n + \ \"104.47.212.0/23\",\r\n \"104.211.128.0/18\",\r\n \"2603:1040:800::/46\",\r\n + \ \"2603:1040:805::/48\",\r\n \"2603:1040:806::/48\",\r\n + \ \"2603:1046:1408::/48\",\r\n \"2603:1046:1500::/64\",\r\n + \ \"2603:1046:2000:20::/59\",\r\n \"2603:1047:1:20::/59\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCloud.westus\",\r\n + \ \"id\": \"AzureCloud.westus\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"5\",\r\n + \ \"region\": \"westus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"\",\r\n \"addressPrefixes\": [\r\n \"13.64.0.0/16\",\r\n + \ \"13.73.32.0/19\",\r\n \"13.83.0.0/16\",\r\n \"13.86.128.0/17\",\r\n + \ \"13.87.128.0/17\",\r\n \"13.88.0.0/17\",\r\n \"13.88.128.0/18\",\r\n + \ \"13.91.0.0/16\",\r\n \"13.93.128.0/17\",\r\n \"13.104.144.192/27\",\r\n + \ \"13.104.158.16/28\",\r\n \"13.104.158.64/26\",\r\n \"13.104.208.96/27\",\r\n + \ \"13.104.222.0/24\",\r\n \"13.104.223.0/25\",\r\n \"13.105.17.64/26\",\r\n + \ \"13.105.17.128/26\",\r\n \"13.105.19.128/25\",\r\n \"13.105.96.64/27\",\r\n + \ \"13.105.96.96/28\",\r\n \"13.105.97.0/27\",\r\n \"20.43.192.0/18\",\r\n + \ \"20.47.2.0/24\",\r\n \"20.47.22.0/23\",\r\n \"20.47.110.0/24\",\r\n + \ \"20.47.116.0/24\",\r\n \"20.49.120.0/21\",\r\n \"20.57.192.0/19\",\r\n + \ \"20.59.64.0/18\",\r\n \"20.60.1.0/24\",\r\n \"20.60.34.0/23\",\r\n + \ \"20.60.52.0/23\",\r\n \"20.60.80.0/23\",\r\n \"20.60.168.0/23\",\r\n + \ \"20.66.0.0/17\",\r\n \"20.135.74.0/23\",\r\n \"20.150.34.0/23\",\r\n + \ \"20.150.91.0/24\",\r\n \"20.150.102.0/24\",\r\n \"20.157.32.0/24\",\r\n + \ \"20.157.57.0/24\",\r\n \"20.184.128.0/17\",\r\n \"20.189.128.0/18\",\r\n + \ \"20.190.132.0/24\",\r\n \"20.190.153.0/24\",\r\n \"23.99.0.0/18\",\r\n + \ \"23.99.64.0/19\",\r\n \"23.100.32.0/20\",\r\n \"23.101.192.0/20\",\r\n + \ \"40.65.0.0/18\",\r\n \"40.75.128.0/17\",\r\n \"40.78.0.0/17\",\r\n + \ \"40.78.216.0/24\",\r\n \"40.80.152.0/21\",\r\n \"40.81.0.0/20\",\r\n + \ \"40.82.248.0/21\",\r\n \"40.83.128.0/17\",\r\n \"40.85.144.0/20\",\r\n + \ \"40.86.160.0/19\",\r\n \"40.87.160.0/22\",\r\n \"40.90.17.96/27\",\r\n + \ \"40.90.18.128/26\",\r\n \"40.90.22.128/25\",\r\n \"40.90.23.0/25\",\r\n + \ \"40.90.25.192/26\",\r\n \"40.90.128.128/28\",\r\n \"40.90.131.192/27\",\r\n + \ \"40.90.135.0/26\",\r\n \"40.90.139.192/27\",\r\n \"40.90.146.0/28\",\r\n + \ \"40.90.148.128/27\",\r\n \"40.90.153.96/27\",\r\n \"40.90.156.128/26\",\r\n + \ \"40.93.0.0/23\",\r\n \"40.93.9.0/24\",\r\n \"40.112.128.0/17\",\r\n + \ \"40.118.128.0/17\",\r\n \"40.125.32.0/19\",\r\n \"40.126.4.0/24\",\r\n + \ \"40.126.25.0/24\",\r\n \"52.101.0.0/22\",\r\n \"52.101.16.0/22\",\r\n + \ \"52.101.41.0/24\",\r\n \"52.101.43.0/24\",\r\n \"52.101.44.0/23\",\r\n + \ \"52.102.128.0/24\",\r\n \"52.102.135.0/24\",\r\n \"52.102.158.0/24\",\r\n + \ \"52.103.0.0/24\",\r\n \"52.103.2.0/24\",\r\n \"52.103.9.0/24\",\r\n + \ \"52.103.128.0/24\",\r\n \"52.108.0.0/21\",\r\n \"52.108.78.0/24\",\r\n + \ \"52.109.0.0/22\",\r\n \"52.111.245.0/24\",\r\n \"52.112.106.0/23\",\r\n + \ \"52.112.114.0/24\",\r\n \"52.113.208.0/20\",\r\n \"52.114.152.0/21\",\r\n + \ \"52.114.172.0/22\",\r\n \"52.114.176.0/22\",\r\n \"52.114.184.0/23\",\r\n + \ \"52.115.56.0/22\",\r\n \"52.115.60.0/23\",\r\n \"52.115.140.0/22\",\r\n + \ \"52.115.144.0/20\",\r\n \"52.120.96.0/19\",\r\n \"52.121.36.0/22\",\r\n + \ \"52.123.1.0/24\",\r\n \"52.137.128.0/17\",\r\n \"52.153.0.0/18\",\r\n + \ \"52.155.32.0/19\",\r\n \"52.157.0.0/18\",\r\n \"52.159.128.0/17\",\r\n + \ \"52.160.0.0/16\",\r\n \"52.180.0.0/17\",\r\n \"52.190.128.0/17\",\r\n + \ \"52.225.0.0/17\",\r\n \"52.232.149.0/24\",\r\n \"52.234.0.0/17\",\r\n + \ \"52.238.0.0/18\",\r\n \"52.239.0.0/17\",\r\n \"52.239.160.0/22\",\r\n + \ \"52.239.228.0/23\",\r\n \"52.239.254.0/23\",\r\n \"52.241.0.0/16\",\r\n + \ \"52.245.12.0/22\",\r\n \"52.245.108.0/22\",\r\n \"52.246.0.0/17\",\r\n + \ \"52.248.128.0/17\",\r\n \"52.250.192.0/18\",\r\n \"52.254.128.0/17\",\r\n + \ \"53.103.135.0/24\",\r\n \"65.52.112.0/20\",\r\n \"104.40.0.0/17\",\r\n + \ \"104.42.0.0/16\",\r\n \"104.44.88.0/27\",\r\n \"104.44.91.0/27\",\r\n + \ \"104.44.92.96/27\",\r\n \"104.44.94.0/28\",\r\n \"104.44.95.128/27\",\r\n + \ \"104.45.208.0/20\",\r\n \"104.45.224.0/19\",\r\n \"104.209.0.0/18\",\r\n + \ \"104.210.32.0/19\",\r\n \"137.116.184.0/21\",\r\n \"137.117.0.0/19\",\r\n + \ \"137.135.0.0/18\",\r\n \"138.91.64.0/19\",\r\n \"138.91.128.0/17\",\r\n + \ \"157.56.160.0/21\",\r\n \"168.61.0.0/19\",\r\n \"168.61.64.0/20\",\r\n + \ \"168.62.0.0/19\",\r\n \"168.62.192.0/19\",\r\n \"168.63.88.0/23\",\r\n + \ \"191.236.64.0/18\",\r\n \"191.238.70.0/23\",\r\n \"191.239.0.0/18\",\r\n + \ \"2603:1030:a00::/46\",\r\n \"2603:1030:a04::/48\",\r\n + \ \"2603:1030:a06::/48\",\r\n \"2603:1030:a07::/48\",\r\n + \ \"2603:1030:a08::/48\",\r\n \"2603:1036:2400::/48\",\r\n + \ \"2603:1036:2500:10::/64\",\r\n \"2603:1036:3000:1c0::/59\",\r\n + \ \"2603:1037:1:1c0::/59\",\r\n \"2a01:111:f100:3000::/52\",\r\n + \ \"2a01:111:f403:c000::/64\",\r\n \"2a01:111:f403:c800::/64\",\r\n + \ \"2a01:111:f403:c914::/62\",\r\n \"2a01:111:f403:c918::/64\",\r\n + \ \"2a01:111:f403:d000::/64\",\r\n \"2a01:111:f403:d800::/64\",\r\n + \ \"2a01:111:f403:e000::/64\",\r\n \"2a01:111:f403:f800::/62\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCloud.westus2\",\r\n + \ \"id\": \"AzureCloud.westus2\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"westus2\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"\",\r\n \"addressPrefixes\": [\r\n \"13.66.128.0/17\",\r\n + \ \"13.77.128.0/18\",\r\n \"13.104.129.64/26\",\r\n \"13.104.145.0/26\",\r\n + \ \"13.104.208.192/26\",\r\n \"13.104.213.0/25\",\r\n \"13.104.220.0/25\",\r\n + \ \"13.105.14.0/25\",\r\n \"13.105.14.128/26\",\r\n \"13.105.18.160/27\",\r\n + \ \"13.105.36.0/27\",\r\n \"13.105.36.32/28\",\r\n \"13.105.36.64/27\",\r\n + \ \"13.105.36.128/26\",\r\n \"13.105.66.64/26\",\r\n \"20.36.0.0/19\",\r\n + \ \"20.38.99.0/24\",\r\n \"20.42.128.0/18\",\r\n \"20.47.62.0/23\",\r\n + \ \"20.47.120.0/23\",\r\n \"20.51.8.0/21\",\r\n \"20.51.64.0/18\",\r\n + \ \"20.57.128.0/18\",\r\n \"20.59.0.0/18\",\r\n \"20.60.20.0/24\",\r\n + \ \"20.60.68.0/22\",\r\n \"20.60.152.0/23\",\r\n \"20.64.128.0/17\",\r\n + \ \"20.69.64.0/18\",\r\n \"20.69.128.0/18\",\r\n \"20.72.192.0/18\",\r\n + \ \"20.80.128.0/18\",\r\n \"20.83.64.0/18\",\r\n \"20.83.192.0/18\",\r\n + \ \"20.94.192.0/18\",\r\n \"20.135.18.0/23\",\r\n \"20.135.228.0/22\",\r\n + \ \"20.135.232.0/23\",\r\n \"20.150.68.0/24\",\r\n \"20.150.78.0/24\",\r\n + \ \"20.150.87.0/24\",\r\n \"20.150.107.0/24\",\r\n \"20.157.50.0/23\",\r\n + \ \"20.187.0.0/18\",\r\n \"20.190.0.0/18\",\r\n \"20.190.133.0/24\",\r\n + \ \"20.190.154.0/24\",\r\n \"20.191.64.0/18\",\r\n \"23.98.47.0/24\",\r\n + \ \"23.102.192.0/21\",\r\n \"23.102.203.0/24\",\r\n \"23.103.64.32/27\",\r\n + \ \"23.103.64.64/27\",\r\n \"23.103.66.0/23\",\r\n \"40.64.64.0/18\",\r\n + \ \"40.64.128.0/21\",\r\n \"40.65.64.0/18\",\r\n \"40.77.136.0/28\",\r\n + \ \"40.77.136.64/28\",\r\n \"40.77.139.128/25\",\r\n \"40.77.160.0/27\",\r\n + \ \"40.77.162.0/24\",\r\n \"40.77.164.0/24\",\r\n \"40.77.169.0/24\",\r\n + \ \"40.77.175.64/27\",\r\n \"40.77.180.0/23\",\r\n \"40.77.182.64/27\",\r\n + \ \"40.77.185.128/25\",\r\n \"40.77.186.0/23\",\r\n \"40.77.198.128/25\",\r\n + \ \"40.77.199.128/26\",\r\n \"40.77.200.0/25\",\r\n \"40.77.202.0/24\",\r\n + \ \"40.77.224.96/27\",\r\n \"40.77.230.0/24\",\r\n \"40.77.232.128/25\",\r\n + \ \"40.77.234.224/27\",\r\n \"40.77.236.128/27\",\r\n \"40.77.240.128/25\",\r\n + \ \"40.77.241.0/24\",\r\n \"40.77.242.0/23\",\r\n \"40.77.247.0/24\",\r\n + \ \"40.77.249.0/24\",\r\n \"40.77.250.0/24\",\r\n \"40.77.254.128/25\",\r\n + \ \"40.78.208.32/30\",\r\n \"40.78.217.0/24\",\r\n \"40.78.240.0/20\",\r\n + \ \"40.79.206.128/27\",\r\n \"40.80.160.0/24\",\r\n \"40.82.36.0/22\",\r\n + \ \"40.87.232.0/21\",\r\n \"40.90.16.192/26\",\r\n \"40.90.131.32/27\",\r\n + \ \"40.90.132.48/28\",\r\n \"40.90.136.224/27\",\r\n \"40.90.138.208/28\",\r\n + \ \"40.90.139.32/27\",\r\n \"40.90.146.32/27\",\r\n \"40.90.148.192/27\",\r\n + \ \"40.90.153.0/26\",\r\n \"40.90.192.0/19\",\r\n \"40.91.0.0/22\",\r\n + \ \"40.91.64.0/18\",\r\n \"40.91.160.0/19\",\r\n \"40.93.7.0/24\",\r\n + \ \"40.93.10.0/24\",\r\n \"40.96.61.0/24\",\r\n \"40.96.63.0/24\",\r\n + \ \"40.125.64.0/18\",\r\n \"40.126.5.0/24\",\r\n \"40.126.26.0/24\",\r\n + \ \"51.141.160.0/19\",\r\n \"51.143.0.0/17\",\r\n \"52.96.11.0/24\",\r\n + \ \"52.101.28.0/22\",\r\n \"52.101.42.0/24\",\r\n \"52.101.46.0/23\",\r\n + \ \"52.101.48.0/23\",\r\n \"52.101.50.0/24\",\r\n \"52.102.134.0/24\",\r\n + \ \"52.102.136.0/24\",\r\n \"52.103.8.0/24\",\r\n \"52.103.10.0/24\",\r\n + \ \"52.103.134.0/24\",\r\n \"52.108.72.0/24\",\r\n \"52.108.93.0/24\",\r\n + \ \"52.109.24.0/22\",\r\n \"52.111.246.0/24\",\r\n \"52.112.105.0/24\",\r\n + \ \"52.112.109.0/24\",\r\n \"52.112.115.0/24\",\r\n \"52.114.148.0/22\",\r\n + \ \"52.115.55.0/24\",\r\n \"52.123.5.0/24\",\r\n \"52.136.0.0/22\",\r\n + \ \"52.137.64.0/18\",\r\n \"52.143.64.0/18\",\r\n \"52.143.197.0/24\",\r\n + \ \"52.143.211.0/24\",\r\n \"52.148.128.0/18\",\r\n \"52.149.0.0/18\",\r\n + \ \"52.151.0.0/18\",\r\n \"52.156.64.0/18\",\r\n \"52.156.128.0/19\",\r\n + \ \"52.158.224.0/19\",\r\n \"52.175.192.0/18\",\r\n \"52.183.0.0/17\",\r\n + \ \"52.191.128.0/18\",\r\n \"52.229.0.0/18\",\r\n \"52.232.152.0/24\",\r\n + \ \"52.233.64.0/18\",\r\n \"52.235.64.0/18\",\r\n \"52.239.148.128/25\",\r\n + \ \"52.239.176.128/25\",\r\n \"52.239.193.0/24\",\r\n \"52.239.210.0/23\",\r\n + \ \"52.239.236.0/23\",\r\n \"52.245.52.0/22\",\r\n \"52.246.192.0/18\",\r\n + \ \"52.247.192.0/18\",\r\n \"52.250.0.0/17\",\r\n \"53.103.136.0/24\",\r\n + \ \"65.52.111.0/24\",\r\n \"65.55.32.128/28\",\r\n \"65.55.32.192/27\",\r\n + \ \"65.55.32.224/28\",\r\n \"65.55.33.176/28\",\r\n \"65.55.33.192/28\",\r\n + \ \"65.55.35.192/27\",\r\n \"65.55.44.8/29\",\r\n \"65.55.44.112/28\",\r\n + \ \"65.55.51.0/24\",\r\n \"65.55.105.160/27\",\r\n \"65.55.106.192/28\",\r\n + \ \"65.55.106.240/28\",\r\n \"65.55.107.0/28\",\r\n \"65.55.107.96/27\",\r\n + \ \"65.55.110.0/24\",\r\n \"65.55.120.0/24\",\r\n \"65.55.207.0/24\",\r\n + \ \"65.55.209.0/25\",\r\n \"65.55.210.0/24\",\r\n \"65.55.219.64/26\",\r\n + \ \"65.55.250.0/24\",\r\n \"65.55.252.0/24\",\r\n \"70.37.0.0/21\",\r\n + \ \"70.37.8.0/22\",\r\n \"70.37.16.0/20\",\r\n \"70.37.32.0/20\",\r\n + \ \"104.44.89.128/27\",\r\n \"104.44.89.192/27\",\r\n \"104.44.95.0/28\",\r\n + \ \"131.253.12.160/28\",\r\n \"131.253.12.228/30\",\r\n \"131.253.13.24/29\",\r\n + \ \"131.253.13.88/30\",\r\n \"131.253.13.128/27\",\r\n \"131.253.14.4/30\",\r\n + \ \"131.253.14.8/31\",\r\n \"131.253.14.96/27\",\r\n \"131.253.14.128/27\",\r\n + \ \"131.253.14.192/29\",\r\n \"131.253.15.192/28\",\r\n \"131.253.35.128/26\",\r\n + \ \"131.253.40.48/29\",\r\n \"131.253.40.128/27\",\r\n \"131.253.41.0/24\",\r\n + \ \"134.170.222.0/24\",\r\n \"137.116.176.0/21\",\r\n \"157.55.2.128/26\",\r\n + \ \"157.55.12.64/26\",\r\n \"157.55.13.64/26\",\r\n \"157.55.39.0/24\",\r\n + \ \"157.55.55.228/30\",\r\n \"157.55.55.232/29\",\r\n \"157.55.55.240/28\",\r\n + \ \"157.55.106.0/26\",\r\n \"157.55.154.128/25\",\r\n \"157.56.2.0/25\",\r\n + \ \"157.56.3.128/25\",\r\n \"157.56.19.224/27\",\r\n \"157.56.21.160/27\",\r\n + \ \"157.56.21.192/27\",\r\n \"157.56.80.0/25\",\r\n \"168.62.64.0/19\",\r\n + \ \"199.30.24.0/23\",\r\n \"199.30.27.0/25\",\r\n \"199.30.27.144/28\",\r\n + \ \"199.30.27.160/27\",\r\n \"199.30.31.192/26\",\r\n \"207.46.13.0/24\",\r\n + \ \"207.68.174.192/28\",\r\n \"209.240.212.0/23\",\r\n \"2603:1030:c00::/48\",\r\n + \ \"2603:1030:c02::/47\",\r\n \"2603:1030:c04::/48\",\r\n + \ \"2603:1030:c05::/48\",\r\n \"2603:1030:c06::/48\",\r\n + \ \"2603:1030:c07::/48\",\r\n \"2603:1030:d00::/48\",\r\n + \ \"2603:1030:e01:2::/64\",\r\n \"2603:1036:903::/64\",\r\n + \ \"2603:1036:d20::/64\",\r\n \"2603:1036:2409::/48\",\r\n + \ \"2603:1036:2500:14::/64\",\r\n \"2603:1036:3000:c0::/59\",\r\n + \ \"2603:1037:1:c0::/59\",\r\n \"2a01:111:f403:c004::/62\",\r\n + \ \"2a01:111:f403:c804::/62\",\r\n \"2a01:111:f403:c919::/64\",\r\n + \ \"2a01:111:f403:c91a::/63\",\r\n \"2a01:111:f403:c91c::/63\",\r\n + \ \"2a01:111:f403:d004::/62\",\r\n \"2a01:111:f403:d804::/62\",\r\n + \ \"2a01:111:f403:f804::/62\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureCognitiveSearch\",\r\n \"id\": \"AzureCognitiveSearch\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureCognitiveSearch\",\r\n \"addressPrefixes\": + [\r\n \"13.64.32.141/32\",\r\n \"13.83.22.45/32\",\r\n \"13.83.22.74/32\",\r\n + \ \"13.83.22.119/32\",\r\n \"13.86.5.51/32\",\r\n \"20.36.120.128/26\",\r\n + \ \"20.37.64.128/26\",\r\n \"20.37.156.128/26\",\r\n \"20.37.193.192/26\",\r\n + \ \"20.37.224.128/26\",\r\n \"20.38.84.0/26\",\r\n \"20.38.136.128/26\",\r\n + \ \"20.39.8.192/26\",\r\n \"20.40.123.36/32\",\r\n \"20.40.123.39/32\",\r\n + \ \"20.40.123.46/32\",\r\n \"20.40.123.72/32\",\r\n \"20.41.4.128/26\",\r\n + \ \"20.41.65.64/26\",\r\n \"20.41.193.64/26\",\r\n \"20.42.4.128/26\",\r\n + \ \"20.42.24.90/32\",\r\n \"20.42.29.212/32\",\r\n \"20.42.30.105/32\",\r\n + \ \"20.42.34.190/32\",\r\n \"20.42.35.204/32\",\r\n \"20.42.129.192/26\",\r\n + \ \"20.42.225.192/26\",\r\n \"20.43.41.64/26\",\r\n \"20.43.65.64/26\",\r\n + \ \"20.43.130.128/26\",\r\n \"20.44.74.182/32\",\r\n \"20.44.76.53/32\",\r\n + \ \"20.44.76.61/32\",\r\n \"20.44.76.86/32\",\r\n \"20.45.0.49/32\",\r\n + \ \"20.45.2.122/32\",\r\n \"20.45.112.128/26\",\r\n \"20.45.192.128/26\",\r\n + \ \"20.72.17.0/26\",\r\n \"20.150.160.128/26\",\r\n \"20.185.110.199/32\",\r\n + \ \"20.189.106.128/26\",\r\n \"20.189.129.94/32\",\r\n \"20.192.161.0/26\",\r\n + \ \"20.192.225.64/26\",\r\n \"23.100.238.27/32\",\r\n \"23.100.238.34/31\",\r\n + \ \"23.100.238.37/32\",\r\n \"40.65.173.157/32\",\r\n \"40.65.175.212/32\",\r\n + \ \"40.65.175.228/32\",\r\n \"40.66.56.233/32\",\r\n \"40.67.48.128/26\",\r\n + \ \"40.74.18.154/32\",\r\n \"40.74.30.0/26\",\r\n \"40.80.57.64/26\",\r\n + \ \"40.80.169.64/26\",\r\n \"40.80.186.192/26\",\r\n \"40.80.216.231/32\",\r\n + \ \"40.80.217.38/32\",\r\n \"40.80.219.46/32\",\r\n \"40.81.9.100/32\",\r\n + \ \"40.81.9.131/32\",\r\n \"40.81.9.203/32\",\r\n \"40.81.9.209/32\",\r\n + \ \"40.81.9.213/32\",\r\n \"40.81.9.221/32\",\r\n \"40.81.10.36/32\",\r\n + \ \"40.81.12.133/32\",\r\n \"40.81.15.8/32\",\r\n \"40.81.15.39/32\",\r\n + \ \"40.81.29.152/32\",\r\n \"40.81.188.130/32\",\r\n \"40.81.191.58/32\",\r\n + \ \"40.81.253.154/32\",\r\n \"40.82.155.65/32\",\r\n \"40.82.253.0/26\",\r\n + \ \"40.89.17.64/26\",\r\n \"40.90.190.180/32\",\r\n \"40.90.240.17/32\",\r\n + \ \"40.91.93.84/32\",\r\n \"40.91.127.116/32\",\r\n \"40.91.127.241/32\",\r\n + \ \"40.119.11.0/26\",\r\n \"51.12.41.64/26\",\r\n \"51.12.193.64/26\",\r\n + \ \"51.104.25.64/26\",\r\n \"51.105.80.128/26\",\r\n \"51.105.88.128/26\",\r\n + \ \"51.107.48.128/26\",\r\n \"51.107.144.128/26\",\r\n \"51.116.48.96/28\",\r\n + \ \"51.116.144.96/28\",\r\n \"51.120.40.128/26\",\r\n \"51.120.224.128/26\",\r\n + \ \"51.132.43.66/32\",\r\n \"51.137.161.64/26\",\r\n \"51.143.104.54/32\",\r\n + \ \"51.143.104.90/32\",\r\n \"51.143.192.128/26\",\r\n \"51.145.124.157/32\",\r\n + \ \"51.145.124.158/32\",\r\n \"51.145.176.249/32\",\r\n \"51.145.177.212/32\",\r\n + \ \"51.145.178.138/32\",\r\n \"51.145.178.140/32\",\r\n \"52.136.48.128/26\",\r\n + \ \"52.137.24.236/32\",\r\n \"52.137.26.114/32\",\r\n \"52.137.26.155/32\",\r\n + \ \"52.137.26.198/32\",\r\n \"52.137.27.49/32\",\r\n \"52.137.56.115/32\",\r\n + \ \"52.137.60.208/32\",\r\n \"52.139.0.47/32\",\r\n \"52.139.0.49/32\",\r\n + \ \"52.140.105.64/26\",\r\n \"52.140.233.105/32\",\r\n \"52.150.139.0/26\",\r\n + \ \"52.151.235.150/32\",\r\n \"52.151.235.242/32\",\r\n \"52.151.235.244/32\",\r\n + \ \"52.155.216.245/32\",\r\n \"52.155.217.84/32\",\r\n \"52.155.221.242/32\",\r\n + \ \"52.155.221.250/32\",\r\n \"52.155.222.35/32\",\r\n \"52.155.222.56/32\",\r\n + \ \"52.157.22.233/32\",\r\n \"52.157.231.64/32\",\r\n \"52.158.28.181/32\",\r\n + \ \"52.158.30.241/32\",\r\n \"52.158.208.11/32\",\r\n \"52.184.80.221/32\",\r\n + \ \"52.185.224.13/32\",\r\n \"52.185.224.38/32\",\r\n \"52.188.217.235/32\",\r\n + \ \"52.188.218.228/32\",\r\n \"52.188.218.239/32\",\r\n \"52.228.81.64/26\",\r\n + \ \"52.242.214.45/32\",\r\n \"52.253.133.74/32\",\r\n \"52.253.229.120/32\",\r\n + \ \"102.133.128.33/32\",\r\n \"102.133.217.128/26\",\r\n + \ \"104.45.64.0/32\",\r\n \"104.45.64.147/32\",\r\n \"104.45.64.224/32\",\r\n + \ \"104.45.65.30/32\",\r\n \"104.45.65.89/32\",\r\n \"191.233.9.0/26\",\r\n + \ \"191.233.26.156/32\",\r\n \"191.235.225.64/26\",\r\n \"2603:1000:4::180/121\",\r\n + \ \"2603:1000:104:1::180/121\",\r\n \"2603:1010:6:1::180/121\",\r\n + \ \"2603:1010:101::180/121\",\r\n \"2603:1010:304::180/121\",\r\n + \ \"2603:1010:404::180/121\",\r\n \"2603:1020:5:1::180/121\",\r\n + \ \"2603:1020:206:1::180/121\",\r\n \"2603:1020:305::180/121\",\r\n + \ \"2603:1020:405::180/121\",\r\n \"2603:1020:605::180/121\",\r\n + \ \"2603:1020:705:1::180/121\",\r\n \"2603:1020:805:1::180/121\",\r\n + \ \"2603:1020:905::180/121\",\r\n \"2603:1020:a04:1::180/121\",\r\n + \ \"2603:1020:b04::180/121\",\r\n \"2603:1020:c04:1::180/121\",\r\n + \ \"2603:1020:d04::180/121\",\r\n \"2603:1020:e04:1::180/121\",\r\n + \ \"2603:1020:f04::180/121\",\r\n \"2603:1020:1004::180/121\",\r\n + \ \"2603:1020:1104::180/121\",\r\n \"2603:1030:f:1::180/121\",\r\n + \ \"2603:1030:10:1::180/121\",\r\n \"2603:1030:104:1::180/121\",\r\n + \ \"2603:1030:107::180/121\",\r\n \"2603:1030:210:1::180/121\",\r\n + \ \"2603:1030:40b:1::180/121\",\r\n \"2603:1030:40c:1::180/121\",\r\n + \ \"2603:1030:504:1::180/121\",\r\n \"2603:1030:608::180/121\",\r\n + \ \"2603:1030:807:1::180/121\",\r\n \"2603:1030:a07::180/121\",\r\n + \ \"2603:1030:b04::180/121\",\r\n \"2603:1030:c06:1::180/121\",\r\n + \ \"2603:1030:f05:1::180/121\",\r\n \"2603:1030:1005::180/121\",\r\n + \ \"2603:1040:5:1::180/121\",\r\n \"2603:1040:207::180/121\",\r\n + \ \"2603:1040:407:1::180/121\",\r\n \"2603:1040:606::180/121\",\r\n + \ \"2603:1040:806::180/121\",\r\n \"2603:1040:904:1::180/121\",\r\n + \ \"2603:1040:a06:1::180/121\",\r\n \"2603:1040:b04::180/121\",\r\n + \ \"2603:1040:c06::180/121\",\r\n \"2603:1040:d04::180/121\",\r\n + \ \"2603:1040:f05:1::180/121\",\r\n \"2603:1040:1104::180/121\",\r\n + \ \"2603:1050:6:1::180/121\",\r\n \"2603:1050:403::180/121\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCognitiveSearch.AustraliaCentral\",\r\n + \ \"id\": \"AzureCognitiveSearch.AustraliaCentral\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"australiacentral\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n + \ ],\r\n \"systemService\": \"AzureCognitiveSearch\",\r\n \"addressPrefixes\": + [\r\n \"20.37.224.128/26\",\r\n \"2603:1010:304::180/121\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCognitiveSearch.AustraliaCentral2\",\r\n + \ \"id\": \"AzureCognitiveSearch.AustraliaCentral2\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"australiacentral2\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n + \ ],\r\n \"systemService\": \"AzureCognitiveSearch\",\r\n \"addressPrefixes\": + [\r\n \"20.36.120.128/26\",\r\n \"2603:1010:404::180/121\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCognitiveSearch.CentralIndia\",\r\n + \ \"id\": \"AzureCognitiveSearch.CentralIndia\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"centralindia\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"AzureCognitiveSearch\",\r\n \"addressPrefixes\": [\r\n \"40.81.253.154/32\",\r\n + \ \"52.140.105.64/26\",\r\n \"2603:1040:a06:1::180/121\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCognitiveSearch.CentralUSEUAP\",\r\n + \ \"id\": \"AzureCognitiveSearch.CentralUSEUAP\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"centraluseuap\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"AzureCognitiveSearch\",\r\n \"addressPrefixes\": [\r\n \"20.45.192.128/26\",\r\n + \ \"2603:1030:f:1::180/121\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureCognitiveSearch.EastAsia\",\r\n \"id\": + \"AzureCognitiveSearch.EastAsia\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\": + \"eastasia\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"AzureCognitiveSearch\",\r\n \"addressPrefixes\": [\r\n \"20.189.106.128/26\",\r\n + \ \"40.81.29.152/32\",\r\n \"52.184.80.221/32\",\r\n \"2603:1040:207::180/121\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCognitiveSearch.EastUS2EUAP\",\r\n + \ \"id\": \"AzureCognitiveSearch.EastUS2EUAP\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"eastus2euap\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"AzureCognitiveSearch\",\r\n \"addressPrefixes\": [\r\n \"20.39.8.192/26\",\r\n + \ \"52.253.229.120/32\",\r\n \"2603:1030:40b:1::180/121\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCognitiveSearch.KoreaCentral\",\r\n + \ \"id\": \"AzureCognitiveSearch.KoreaCentral\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"koreacentral\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"AzureCognitiveSearch\",\r\n \"addressPrefixes\": [\r\n \"20.41.65.64/26\",\r\n + \ \"40.82.155.65/32\",\r\n \"2603:1040:f05:1::180/121\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCognitiveSearch.SwitzerlandWest\",\r\n + \ \"id\": \"AzureCognitiveSearch.SwitzerlandWest\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"switzerlandw\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"AzureCognitiveSearch\",\r\n \"addressPrefixes\": [\r\n \"51.107.144.128/26\",\r\n + \ \"2603:1020:b04::180/121\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureCognitiveSearch.UKNorth\",\r\n \"id\": + \"AzureCognitiveSearch.UKNorth\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\": + \"uknorth\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"AzureCognitiveSearch\",\r\n \"addressPrefixes\": [\r\n \"51.105.80.128/26\",\r\n + \ \"2603:1020:305::180/121\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureConnectors\",\r\n \"id\": \"AzureConnectors\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"3\",\r\n \"region\": \"\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureConnectors\",\r\n \"addressPrefixes\": + [\r\n \"13.65.86.57/32\",\r\n \"13.66.140.128/28\",\r\n + \ \"13.66.145.96/27\",\r\n \"13.67.8.240/28\",\r\n \"13.67.15.32/27\",\r\n + \ \"13.69.64.208/28\",\r\n \"13.69.71.192/27\",\r\n \"13.69.227.208/28\",\r\n + \ \"13.69.231.192/27\",\r\n \"13.70.72.192/28\",\r\n \"13.70.78.224/27\",\r\n + \ \"13.70.136.174/32\",\r\n \"13.71.125.22/32\",\r\n \"13.71.127.26/32\",\r\n + \ \"13.71.153.19/32\",\r\n \"13.71.170.208/28\",\r\n \"13.71.175.160/27\",\r\n + \ \"13.71.195.32/28\",\r\n \"13.71.199.192/27\",\r\n \"13.72.243.10/32\",\r\n + \ \"13.73.21.230/32\",\r\n \"13.73.244.224/27\",\r\n \"13.75.36.64/28\",\r\n + \ \"13.75.110.131/32\",\r\n \"13.77.50.240/28\",\r\n \"13.77.55.160/27\",\r\n + \ \"13.78.108.0/28\",\r\n \"13.78.132.82/32\",\r\n \"13.86.223.32/27\",\r\n + \ \"13.87.56.224/28\",\r\n \"13.87.122.224/28\",\r\n \"13.89.171.80/28\",\r\n + \ \"13.89.178.64/27\",\r\n \"13.93.148.62/32\",\r\n \"20.36.107.0/28\",\r\n + \ \"20.36.114.176/28\",\r\n \"20.36.117.160/27\",\r\n \"20.37.74.192/28\",\r\n + \ \"20.38.128.224/27\",\r\n \"20.43.123.0/27\",\r\n \"20.44.3.0/28\",\r\n + \ \"20.44.29.64/27\",\r\n \"20.53.0.0/27\",\r\n \"20.72.27.0/26\",\r\n + \ \"20.150.170.240/28\",\r\n \"20.150.173.64/26\",\r\n \"20.192.32.64/26\",\r\n + \ \"20.192.184.32/27\",\r\n \"20.193.206.192/26\",\r\n \"23.100.208.0/27\",\r\n + \ \"40.67.58.240/28\",\r\n \"40.67.60.224/27\",\r\n \"40.69.106.240/28\",\r\n + \ \"40.69.111.0/27\",\r\n \"40.70.146.208/28\",\r\n \"40.70.151.96/27\",\r\n + \ \"40.71.11.80/28\",\r\n \"40.71.15.160/27\",\r\n \"40.71.249.139/32\",\r\n + \ \"40.71.249.205/32\",\r\n \"40.74.100.224/28\",\r\n \"40.74.146.64/28\",\r\n + \ \"40.78.194.240/28\",\r\n \"40.78.202.96/28\",\r\n \"40.79.130.208/28\",\r\n + \ \"40.79.148.96/27\",\r\n \"40.79.178.240/28\",\r\n \"40.79.180.224/27\",\r\n + \ \"40.79.189.64/27\",\r\n \"40.80.180.64/27\",\r\n \"40.89.135.2/32\",\r\n + \ \"40.89.186.239/32\",\r\n \"40.91.208.65/32\",\r\n \"40.112.195.87/32\",\r\n + \ \"40.112.243.160/28\",\r\n \"40.114.40.132/32\",\r\n \"40.120.8.0/27\",\r\n + \ \"40.120.64.64/27\",\r\n \"51.12.98.240/28\",\r\n \"51.12.102.0/26\",\r\n + \ \"51.12.202.240/28\",\r\n \"51.12.205.192/26\",\r\n \"51.103.142.22/32\",\r\n + \ \"51.105.77.96/27\",\r\n \"51.107.59.16/28\",\r\n \"51.107.60.224/27\",\r\n + \ \"51.107.86.217/32\",\r\n \"51.107.155.16/28\",\r\n \"51.107.156.224/27\",\r\n + \ \"51.116.59.16/28\",\r\n \"51.116.60.192/27\",\r\n \"51.116.155.80/28\",\r\n + \ \"51.116.158.96/27\",\r\n \"51.116.211.212/32\",\r\n \"51.116.236.78/32\",\r\n + \ \"51.120.98.224/28\",\r\n \"51.120.100.192/27\",\r\n \"51.120.218.240/28\",\r\n + \ \"51.120.220.192/27\",\r\n \"51.140.61.124/32\",\r\n \"51.140.74.150/32\",\r\n + \ \"51.140.80.51/32\",\r\n \"51.140.148.0/28\",\r\n \"51.140.211.0/28\",\r\n + \ \"51.140.212.224/27\",\r\n \"51.141.47.105/32\",\r\n \"51.141.52.185/32\",\r\n + \ \"51.141.124.13/32\",\r\n \"52.136.133.184/32\",\r\n \"52.136.142.154/32\",\r\n + \ \"52.138.92.192/27\",\r\n \"52.141.1.104/32\",\r\n \"52.141.36.214/32\",\r\n + \ \"52.161.101.204/32\",\r\n \"52.161.102.22/32\",\r\n \"52.162.107.160/28\",\r\n + \ \"52.162.111.192/27\",\r\n \"52.162.126.4/32\",\r\n \"52.162.242.161/32\",\r\n + \ \"52.166.78.89/32\",\r\n \"52.169.28.181/32\",\r\n \"52.171.130.92/32\",\r\n + \ \"52.172.211.12/32\",\r\n \"52.172.212.129/32\",\r\n \"52.173.241.27/32\",\r\n + \ \"52.173.245.164/32\",\r\n \"52.174.88.118/32\",\r\n \"52.175.23.169/32\",\r\n + \ \"52.178.150.68/32\",\r\n \"52.183.78.157/32\",\r\n \"52.187.68.19/32\",\r\n + \ \"52.187.115.69/32\",\r\n \"52.191.164.250/32\",\r\n \"52.225.129.144/32\",\r\n + \ \"52.231.18.208/28\",\r\n \"52.231.147.0/28\",\r\n \"52.231.148.224/27\",\r\n + \ \"52.231.163.10/32\",\r\n \"52.231.201.173/32\",\r\n \"52.232.188.154/32\",\r\n + \ \"52.237.24.126/32\",\r\n \"52.237.32.212/32\",\r\n \"52.237.214.72/32\",\r\n + \ \"52.242.30.112/32\",\r\n \"52.242.35.152/32\",\r\n \"52.255.48.202/32\",\r\n + \ \"65.52.250.208/28\",\r\n \"94.245.91.93/32\",\r\n \"102.37.64.0/27\",\r\n + \ \"102.133.27.0/28\",\r\n \"102.133.72.85/32\",\r\n \"102.133.155.0/28\",\r\n + \ \"102.133.168.167/32\",\r\n \"102.133.253.0/27\",\r\n \"104.41.59.51/32\",\r\n + \ \"104.42.122.49/32\",\r\n \"104.209.247.23/32\",\r\n \"104.211.81.192/28\",\r\n + \ \"104.211.146.224/28\",\r\n \"104.211.189.124/32\",\r\n + \ \"104.211.189.218/32\",\r\n \"104.214.19.48/28\",\r\n \"104.214.70.191/32\",\r\n + \ \"104.214.164.0/27\",\r\n \"104.215.27.24/32\",\r\n \"104.215.61.248/32\",\r\n + \ \"168.61.140.0/27\",\r\n \"168.61.143.64/26\",\r\n \"191.232.191.157/32\",\r\n + \ \"191.233.51.0/26\",\r\n \"191.233.203.192/28\",\r\n \"191.233.207.160/27\",\r\n + \ \"2603:1000:4:402::180/122\",\r\n \"2603:1000:104:402::180/122\",\r\n + \ \"2603:1010:6:402::180/122\",\r\n \"2603:1010:101:402::180/122\",\r\n + \ \"2603:1010:304:402::180/122\",\r\n \"2603:1010:404:402::180/122\",\r\n + \ \"2603:1020:5:402::180/122\",\r\n \"2603:1020:206:402::180/122\",\r\n + \ \"2603:1020:305:402::180/122\",\r\n \"2603:1020:405:402::180/122\",\r\n + \ \"2603:1020:605:402::180/122\",\r\n \"2603:1020:705:402::180/122\",\r\n + \ \"2603:1020:805:402::180/122\",\r\n \"2603:1020:905:402::180/122\",\r\n + \ \"2603:1020:a04:402::180/122\",\r\n \"2603:1020:b04:402::180/122\",\r\n + \ \"2603:1020:c04:402::180/122\",\r\n \"2603:1020:d04:402::180/122\",\r\n + \ \"2603:1020:e04:402::180/122\",\r\n \"2603:1020:f04:402::180/122\",\r\n + \ \"2603:1020:1004:c02::80/122\",\r\n \"2603:1020:1104:400::180/122\",\r\n + \ \"2603:1030:f:400::980/122\",\r\n \"2603:1030:10:402::180/122\",\r\n + \ \"2603:1030:104:402::180/122\",\r\n \"2603:1030:107:400::100/122\",\r\n + \ \"2603:1030:210:402::180/122\",\r\n \"2603:1030:40b:400::980/122\",\r\n + \ \"2603:1030:40c:402::180/122\",\r\n \"2603:1030:504:c02::80/122\",\r\n + \ \"2603:1030:608:402::180/122\",\r\n \"2603:1030:807:402::180/122\",\r\n + \ \"2603:1030:a07:402::100/122\",\r\n \"2603:1030:b04:402::180/122\",\r\n + \ \"2603:1030:c06:400::980/122\",\r\n \"2603:1030:f05:402::180/122\",\r\n + \ \"2603:1030:1005:402::180/122\",\r\n \"2603:1040:5:402::180/122\",\r\n + \ \"2603:1040:207:402::180/122\",\r\n \"2603:1040:407:402::180/122\",\r\n + \ \"2603:1040:606:402::180/122\",\r\n \"2603:1040:806:402::180/122\",\r\n + \ \"2603:1040:904:402::180/122\",\r\n \"2603:1040:a06:402::180/122\",\r\n + \ \"2603:1040:b04:402::180/122\",\r\n \"2603:1040:c06:402::180/122\",\r\n + \ \"2603:1040:d04:c02::80/122\",\r\n \"2603:1040:f05:402::180/122\",\r\n + \ \"2603:1040:1104:400::180/122\",\r\n \"2603:1050:6:402::180/122\",\r\n + \ \"2603:1050:403:400::2c0/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureConnectors.AustraliaCentral\",\r\n \"id\": + \"AzureConnectors.AustraliaCentral\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"australiacentral\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureConnectors\",\r\n \"addressPrefixes\": [\r\n \"20.36.107.0/28\",\r\n + \ \"20.53.0.0/27\",\r\n \"2603:1010:304:402::180/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureConnectors.AustraliaCentral2\",\r\n + \ \"id\": \"AzureConnectors.AustraliaCentral2\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"australiacentral2\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureConnectors\",\r\n \"addressPrefixes\": [\r\n \"20.36.114.176/28\",\r\n + \ \"20.36.117.160/27\",\r\n \"2603:1010:404:402::180/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureConnectors.AustraliaEast\",\r\n + \ \"id\": \"AzureConnectors.AustraliaEast\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"australiaeast\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureConnectors\",\r\n \"addressPrefixes\": + [\r\n \"13.70.72.192/28\",\r\n \"13.70.78.224/27\",\r\n + \ \"13.72.243.10/32\",\r\n \"52.237.214.72/32\",\r\n \"2603:1010:6:402::180/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureConnectors.AustraliaSoutheast\",\r\n + \ \"id\": \"AzureConnectors.AustraliaSoutheast\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"australiasoutheast\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureConnectors\",\r\n \"addressPrefixes\": [\r\n \"13.70.136.174/32\",\r\n + \ \"13.77.50.240/28\",\r\n \"13.77.55.160/27\",\r\n \"52.255.48.202/32\",\r\n + \ \"2603:1010:101:402::180/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureConnectors.BrazilSouth\",\r\n \"id\": + \"AzureConnectors.BrazilSouth\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"3\",\r\n \"region\": + \"brazilsouth\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureConnectors\",\r\n \"addressPrefixes\": + [\r\n \"104.41.59.51/32\",\r\n \"191.232.191.157/32\",\r\n + \ \"191.233.203.192/28\",\r\n \"191.233.207.160/27\",\r\n + \ \"2603:1050:6:402::180/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureConnectors.CanadaCentral\",\r\n \"id\": + \"AzureConnectors.CanadaCentral\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"3\",\r\n \"region\": + \"canadacentral\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureConnectors\",\r\n \"addressPrefixes\": + [\r\n \"13.71.170.208/28\",\r\n \"13.71.175.160/27\",\r\n + \ \"52.237.24.126/32\",\r\n \"52.237.32.212/32\",\r\n \"2603:1030:f05:402::180/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureConnectors.CanadaEast\",\r\n + \ \"id\": \"AzureConnectors.CanadaEast\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"canadaeast\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureConnectors\",\r\n \"addressPrefixes\": + [\r\n \"40.69.106.240/28\",\r\n \"40.69.111.0/27\",\r\n + \ \"52.242.30.112/32\",\r\n \"52.242.35.152/32\",\r\n \"2603:1030:1005:402::180/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureConnectors.CentralIndia\",\r\n + \ \"id\": \"AzureConnectors.CentralIndia\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"centralindia\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureConnectors\",\r\n \"addressPrefixes\": + [\r\n \"20.43.123.0/27\",\r\n \"52.172.211.12/32\",\r\n + \ \"52.172.212.129/32\",\r\n \"104.211.81.192/28\",\r\n \"2603:1040:a06:402::180/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureConnectors.CentralUS\",\r\n + \ \"id\": \"AzureConnectors.CentralUS\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"centralus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureConnectors\",\r\n \"addressPrefixes\": + [\r\n \"13.89.171.80/28\",\r\n \"13.89.178.64/27\",\r\n + \ \"52.173.241.27/32\",\r\n \"52.173.245.164/32\",\r\n \"2603:1030:10:402::180/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureConnectors.CentralUSEUAP\",\r\n + \ \"id\": \"AzureConnectors.CentralUSEUAP\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"centraluseuap\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"AzureConnectors\",\r\n \"addressPrefixes\": [\r\n \"40.78.202.96/28\",\r\n + \ \"168.61.140.0/27\",\r\n \"168.61.143.64/26\",\r\n \"2603:1030:f:400::980/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureConnectors.EastAsia\",\r\n + \ \"id\": \"AzureConnectors.EastAsia\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"eastasia\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureConnectors\",\r\n \"addressPrefixes\": + [\r\n \"13.75.36.64/28\",\r\n \"13.75.110.131/32\",\r\n + \ \"52.175.23.169/32\",\r\n \"104.214.164.0/27\",\r\n \"2603:1040:207:402::180/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureConnectors.EastUS\",\r\n + \ \"id\": \"AzureConnectors.EastUS\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"eastus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureConnectors\",\r\n \"addressPrefixes\": + [\r\n \"40.71.11.80/28\",\r\n \"40.71.15.160/27\",\r\n \"40.71.249.139/32\",\r\n + \ \"40.71.249.205/32\",\r\n \"40.114.40.132/32\",\r\n \"2603:1030:210:402::180/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureConnectors.EastUS2\",\r\n + \ \"id\": \"AzureConnectors.EastUS2\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"eastus2\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureConnectors\",\r\n \"addressPrefixes\": + [\r\n \"40.70.146.208/28\",\r\n \"40.70.151.96/27\",\r\n + \ \"52.225.129.144/32\",\r\n \"52.232.188.154/32\",\r\n \"104.209.247.23/32\",\r\n + \ \"2603:1030:40c:402::180/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureConnectors.EastUS2EUAP\",\r\n \"id\": + \"AzureConnectors.EastUS2EUAP\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\": + \"eastus2euap\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureConnectors\",\r\n \"addressPrefixes\": + [\r\n \"40.74.146.64/28\",\r\n \"52.138.92.192/27\",\r\n + \ \"2603:1030:40b:400::980/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureConnectors.FranceCentral\",\r\n \"id\": + \"AzureConnectors.FranceCentral\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\": + \"centralfrance\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureConnectors\",\r\n \"addressPrefixes\": + [\r\n \"40.79.130.208/28\",\r\n \"40.79.148.96/27\",\r\n + \ \"40.89.135.2/32\",\r\n \"40.89.186.239/32\",\r\n \"2603:1020:805:402::180/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureConnectors.FranceSouth\",\r\n + \ \"id\": \"AzureConnectors.FranceSouth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"southfrance\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureConnectors\",\r\n \"addressPrefixes\": + [\r\n \"40.79.178.240/28\",\r\n \"40.79.180.224/27\",\r\n + \ \"52.136.133.184/32\",\r\n \"52.136.142.154/32\",\r\n \"2603:1020:905:402::180/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureConnectors.GermanyNorth\",\r\n + \ \"id\": \"AzureConnectors.GermanyNorth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"germanyn\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureConnectors\",\r\n \"addressPrefixes\": + [\r\n \"51.116.59.16/28\",\r\n \"51.116.60.192/27\",\r\n + \ \"51.116.211.212/32\",\r\n \"2603:1020:d04:402::180/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureConnectors.GermanyWestCentral\",\r\n + \ \"id\": \"AzureConnectors.GermanyWestCentral\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"germanywc\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureConnectors\",\r\n \"addressPrefixes\": + [\r\n \"51.116.155.80/28\",\r\n \"51.116.158.96/27\",\r\n + \ \"51.116.236.78/32\",\r\n \"2603:1020:c04:402::180/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureConnectors.JapanEast\",\r\n + \ \"id\": \"AzureConnectors.JapanEast\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"japaneast\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureConnectors\",\r\n \"addressPrefixes\": + [\r\n \"13.71.153.19/32\",\r\n \"13.73.21.230/32\",\r\n + \ \"13.78.108.0/28\",\r\n \"40.79.189.64/27\",\r\n \"2603:1040:407:402::180/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureConnectors.JapanWest\",\r\n + \ \"id\": \"AzureConnectors.JapanWest\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"japanwest\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureConnectors\",\r\n \"addressPrefixes\": + [\r\n \"40.74.100.224/28\",\r\n \"40.80.180.64/27\",\r\n + \ \"104.215.27.24/32\",\r\n \"104.215.61.248/32\",\r\n \"2603:1040:606:402::180/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureConnectors.KoreaCentral\",\r\n + \ \"id\": \"AzureConnectors.KoreaCentral\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"koreacentral\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureConnectors\",\r\n \"addressPrefixes\": + [\r\n \"20.44.29.64/27\",\r\n \"52.141.1.104/32\",\r\n \"52.141.36.214/32\",\r\n + \ \"52.231.18.208/28\",\r\n \"2603:1040:f05:402::180/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureConnectors.KoreaSouth\",\r\n + \ \"id\": \"AzureConnectors.KoreaSouth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"koreasouth\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureConnectors\",\r\n \"addressPrefixes\": + [\r\n \"52.231.147.0/28\",\r\n \"52.231.148.224/27\",\r\n + \ \"52.231.163.10/32\",\r\n \"52.231.201.173/32\"\r\n ]\r\n + \ }\r\n },\r\n {\r\n \"name\": \"AzureConnectors.NorthCentralUS\",\r\n + \ \"id\": \"AzureConnectors.NorthCentralUS\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"northcentralus\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureConnectors\",\r\n \"addressPrefixes\": [\r\n \"52.162.107.160/28\",\r\n + \ \"52.162.111.192/27\",\r\n \"52.162.126.4/32\",\r\n \"52.162.242.161/32\",\r\n + \ \"2603:1030:608:402::180/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureConnectors.NorthEurope\",\r\n \"id\": + \"AzureConnectors.NorthEurope\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"3\",\r\n \"region\": + \"northeurope\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureConnectors\",\r\n \"addressPrefixes\": + [\r\n \"13.69.227.208/28\",\r\n \"13.69.231.192/27\",\r\n + \ \"52.169.28.181/32\",\r\n \"52.178.150.68/32\",\r\n \"94.245.91.93/32\",\r\n + \ \"2603:1020:5:402::180/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureConnectors.NorwayEast\",\r\n \"id\": + \"AzureConnectors.NorwayEast\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\": + \"norwaye\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureConnectors\",\r\n \"addressPrefixes\": + [\r\n \"51.120.98.224/28\",\r\n \"51.120.100.192/27\",\r\n + \ \"2603:1020:e04:402::180/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureConnectors.NorwayWest\",\r\n \"id\": + \"AzureConnectors.NorwayWest\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\": + \"norwayw\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureConnectors\",\r\n \"addressPrefixes\": + [\r\n \"51.120.218.240/28\",\r\n \"51.120.220.192/27\",\r\n + \ \"2603:1020:f04:402::180/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureConnectors.SouthAfricaNorth\",\r\n \"id\": + \"AzureConnectors.SouthAfricaNorth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"southafricanorth\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureConnectors\",\r\n \"addressPrefixes\": [\r\n \"102.133.155.0/28\",\r\n + \ \"102.133.168.167/32\",\r\n \"102.133.253.0/27\",\r\n \"2603:1000:104:402::180/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureConnectors.SouthAfricaWest\",\r\n + \ \"id\": \"AzureConnectors.SouthAfricaWest\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"southafricawest\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureConnectors\",\r\n \"addressPrefixes\": [\r\n \"102.37.64.0/27\",\r\n + \ \"102.133.27.0/28\",\r\n \"102.133.72.85/32\",\r\n \"2603:1000:4:402::180/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureConnectors.SouthCentralUS\",\r\n + \ \"id\": \"AzureConnectors.SouthCentralUS\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"southcentralus\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureConnectors\",\r\n \"addressPrefixes\": [\r\n \"13.65.86.57/32\",\r\n + \ \"13.73.244.224/27\",\r\n \"52.171.130.92/32\",\r\n \"104.214.19.48/28\",\r\n + \ \"104.214.70.191/32\",\r\n \"2603:1030:807:402::180/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureConnectors.SoutheastAsia\",\r\n + \ \"id\": \"AzureConnectors.SoutheastAsia\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"southeastasia\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureConnectors\",\r\n \"addressPrefixes\": + [\r\n \"13.67.8.240/28\",\r\n \"13.67.15.32/27\",\r\n \"52.187.68.19/32\",\r\n + \ \"52.187.115.69/32\",\r\n \"2603:1040:5:402::180/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureConnectors.SouthIndia\",\r\n + \ \"id\": \"AzureConnectors.SouthIndia\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"southindia\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureConnectors\",\r\n \"addressPrefixes\": + [\r\n \"13.71.125.22/32\",\r\n \"13.71.127.26/32\",\r\n + \ \"20.192.184.32/27\",\r\n \"40.78.194.240/28\",\r\n \"2603:1040:c06:402::180/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureConnectors.SwitzerlandNorth\",\r\n + \ \"id\": \"AzureConnectors.SwitzerlandNorth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"switzerlandn\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureConnectors\",\r\n \"addressPrefixes\": + [\r\n \"51.103.142.22/32\",\r\n \"51.107.59.16/28\",\r\n + \ \"51.107.60.224/27\",\r\n \"51.107.86.217/32\",\r\n \"2603:1020:a04:402::180/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureConnectors.SwitzerlandWest\",\r\n + \ \"id\": \"AzureConnectors.SwitzerlandWest\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"switzerlandw\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureConnectors\",\r\n \"addressPrefixes\": + [\r\n \"51.107.155.16/28\",\r\n \"51.107.156.224/27\",\r\n + \ \"2603:1020:b04:402::180/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureConnectors.UAECentral\",\r\n \"id\": + \"AzureConnectors.UAECentral\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\": + \"uaecentral\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureConnectors\",\r\n \"addressPrefixes\": + [\r\n \"20.37.74.192/28\",\r\n \"40.120.8.0/27\",\r\n \"2603:1040:b04:402::180/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureConnectors.UAENorth\",\r\n + \ \"id\": \"AzureConnectors.UAENorth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"uaenorth\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureConnectors\",\r\n \"addressPrefixes\": + [\r\n \"40.120.64.64/27\",\r\n \"65.52.250.208/28\",\r\n + \ \"2603:1040:904:402::180/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureConnectors.UKSouth\",\r\n \"id\": \"AzureConnectors.UKSouth\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"uksouth\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureConnectors\",\r\n \"addressPrefixes\": [\r\n \"51.105.77.96/27\",\r\n + \ \"51.140.61.124/32\",\r\n \"51.140.74.150/32\",\r\n \"51.140.80.51/32\",\r\n + \ \"51.140.148.0/28\",\r\n \"2603:1020:705:402::180/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureConnectors.UKWest\",\r\n + \ \"id\": \"AzureConnectors.UKWest\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"ukwest\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureConnectors\",\r\n \"addressPrefixes\": + [\r\n \"51.140.211.0/28\",\r\n \"51.140.212.224/27\",\r\n + \ \"51.141.47.105/32\",\r\n \"51.141.52.185/32\",\r\n \"51.141.124.13/32\",\r\n + \ \"2603:1020:605:402::180/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureConnectors.WestCentralUS\",\r\n \"id\": + \"AzureConnectors.WestCentralUS\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"3\",\r\n \"region\": + \"westcentralus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureConnectors\",\r\n \"addressPrefixes\": + [\r\n \"13.71.195.32/28\",\r\n \"13.71.199.192/27\",\r\n + \ \"13.78.132.82/32\",\r\n \"52.161.101.204/32\",\r\n \"52.161.102.22/32\",\r\n + \ \"2603:1030:b04:402::180/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureConnectors.WestEurope\",\r\n \"id\": + \"AzureConnectors.WestEurope\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"3\",\r\n \"region\": + \"westeurope\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureConnectors\",\r\n \"addressPrefixes\": + [\r\n \"13.69.64.208/28\",\r\n \"13.69.71.192/27\",\r\n + \ \"40.91.208.65/32\",\r\n \"52.166.78.89/32\",\r\n \"52.174.88.118/32\",\r\n + \ \"2603:1020:206:402::180/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureConnectors.WestIndia\",\r\n \"id\": \"AzureConnectors.WestIndia\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"3\",\r\n \"region\": \"westindia\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureConnectors\",\r\n \"addressPrefixes\": [\r\n \"20.38.128.224/27\",\r\n + \ \"104.211.146.224/28\",\r\n \"104.211.189.124/32\",\r\n + \ \"104.211.189.218/32\",\r\n \"2603:1040:806:402::180/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureConnectors.WestUS\",\r\n + \ \"id\": \"AzureConnectors.WestUS\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"westus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureConnectors\",\r\n \"addressPrefixes\": + [\r\n \"13.86.223.32/27\",\r\n \"13.93.148.62/32\",\r\n + \ \"40.112.195.87/32\",\r\n \"40.112.243.160/28\",\r\n \"104.42.122.49/32\",\r\n + \ \"2603:1030:a07:402::100/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureConnectors.WestUS2\",\r\n \"id\": \"AzureConnectors.WestUS2\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"3\",\r\n \"region\": \"westus2\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureConnectors\",\r\n \"addressPrefixes\": [\r\n \"13.66.140.128/28\",\r\n + \ \"13.66.145.96/27\",\r\n \"52.183.78.157/32\",\r\n \"52.191.164.250/32\",\r\n + \ \"2603:1030:c06:400::980/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureContainerRegistry\",\r\n \"id\": \"AzureContainerRegistry\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"6\",\r\n \"region\": \"\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\",\r\n + \ \"VSE\"\r\n ],\r\n \"systemService\": \"AzureContainerRegistry\",\r\n + \ \"addressPrefixes\": [\r\n \"13.66.140.72/29\",\r\n \"13.66.146.0/24\",\r\n + \ \"13.66.147.0/25\",\r\n \"13.66.148.0/24\",\r\n \"13.67.8.120/29\",\r\n + \ \"13.67.14.0/24\",\r\n \"13.69.64.88/29\",\r\n \"13.69.106.80/29\",\r\n + \ \"13.69.110.0/24\",\r\n \"13.69.227.88/29\",\r\n \"13.69.236.0/23\",\r\n + \ \"13.69.238.0/24\",\r\n \"13.70.72.136/29\",\r\n \"13.70.78.0/25\",\r\n + \ \"13.71.170.56/29\",\r\n \"13.71.176.0/24\",\r\n \"13.71.194.224/29\",\r\n + \ \"13.73.245.64/26\",\r\n \"13.73.245.128/25\",\r\n \"13.73.255.64/26\",\r\n + \ \"13.74.107.80/29\",\r\n \"13.74.110.0/24\",\r\n \"13.75.36.0/29\",\r\n + \ \"13.77.50.80/29\",\r\n \"13.78.106.200/29\",\r\n \"13.78.111.0/25\",\r\n + \ \"13.87.56.96/29\",\r\n \"13.87.122.96/29\",\r\n \"13.89.170.216/29\",\r\n + \ \"13.89.175.0/25\",\r\n \"20.37.69.0/26\",\r\n \"20.37.74.72/29\",\r\n + \ \"20.38.132.192/26\",\r\n \"20.38.140.192/26\",\r\n \"20.38.146.144/29\",\r\n + \ \"20.38.149.0/25\",\r\n \"20.39.15.128/25\",\r\n \"20.40.224.64/26\",\r\n + \ \"20.41.69.128/26\",\r\n \"20.41.199.192/26\",\r\n \"20.41.208.64/26\",\r\n + \ \"20.42.66.0/23\",\r\n \"20.43.46.64/26\",\r\n \"20.43.121.128/26\",\r\n + \ \"20.43.123.64/26\",\r\n \"20.44.2.24/29\",\r\n \"20.44.11.0/25\",\r\n + \ \"20.44.11.128/26\",\r\n \"20.44.12.0/25\",\r\n \"20.44.19.64/26\",\r\n + \ \"20.44.22.0/23\",\r\n \"20.44.26.144/29\",\r\n \"20.44.29.128/25\",\r\n + \ \"20.45.122.144/29\",\r\n \"20.45.125.0/25\",\r\n \"20.45.199.128/25\",\r\n + \ \"20.48.192.128/26\",\r\n \"20.49.82.16/29\",\r\n \"20.49.90.16/29\",\r\n + \ \"20.49.92.0/24\",\r\n \"20.49.93.0/26\",\r\n \"20.49.102.128/26\",\r\n + \ \"20.49.115.0/26\",\r\n \"20.49.127.0/26\",\r\n \"20.50.200.0/24\",\r\n + \ \"20.52.72.128/26\",\r\n \"20.52.88.64/26\",\r\n \"20.53.41.128/26\",\r\n + \ \"20.61.97.128/25\",\r\n \"20.62.128.0/26\",\r\n \"20.65.0.0/24\",\r\n + \ \"20.72.18.128/26\",\r\n \"20.72.26.128/26\",\r\n \"20.72.30.0/25\",\r\n + \ \"20.135.26.64/26\",\r\n \"20.150.170.24/29\",\r\n \"20.150.173.128/26\",\r\n + \ \"20.150.174.0/25\",\r\n \"20.150.178.144/29\",\r\n \"20.150.181.192/26\",\r\n + \ \"20.150.182.128/25\",\r\n \"20.150.186.144/29\",\r\n \"20.150.189.192/26\",\r\n + \ \"20.150.190.128/25\",\r\n \"20.150.225.64/26\",\r\n \"20.150.241.0/26\",\r\n + \ \"20.187.196.64/26\",\r\n \"20.189.169.0/24\",\r\n \"20.189.171.128/25\",\r\n + \ \"20.189.224.0/26\",\r\n \"20.191.160.128/26\",\r\n \"20.192.32.0/26\",\r\n + \ \"20.192.33.0/26\",\r\n \"20.192.33.128/25\",\r\n \"20.192.50.0/26\",\r\n + \ \"20.192.98.144/29\",\r\n \"20.192.101.64/26\",\r\n \"20.192.101.128/26\",\r\n + \ \"20.192.234.24/29\",\r\n \"20.193.192.128/26\",\r\n \"20.193.202.16/29\",\r\n + \ \"20.193.204.128/26\",\r\n \"20.193.205.0/25\",\r\n \"20.193.206.64/26\",\r\n + \ \"20.194.66.16/29\",\r\n \"20.194.68.0/25\",\r\n \"20.194.70.0/25\",\r\n + \ \"20.194.128.0/25\",\r\n \"20.195.64.128/26\",\r\n \"20.195.136.0/24\",\r\n + \ \"20.195.137.0/25\",\r\n \"23.98.82.112/29\",\r\n \"23.98.86.128/25\",\r\n + \ \"23.98.87.0/25\",\r\n \"23.98.112.0/25\",\r\n \"40.64.112.0/24\",\r\n + \ \"40.64.135.128/25\",\r\n \"40.67.58.24/29\",\r\n \"40.67.121.0/25\",\r\n + \ \"40.67.122.128/26\",\r\n \"40.69.106.80/29\",\r\n \"40.69.110.0/25\",\r\n + \ \"40.69.116.0/26\",\r\n \"40.70.146.88/29\",\r\n \"40.70.150.0/24\",\r\n + \ \"40.71.10.216/29\",\r\n \"40.74.100.160/29\",\r\n \"40.74.146.48/29\",\r\n + \ \"40.74.149.128/25\",\r\n \"40.75.34.32/29\",\r\n \"40.78.194.80/29\",\r\n + \ \"40.78.196.192/26\",\r\n \"40.78.202.72/29\",\r\n \"40.78.226.208/29\",\r\n + \ \"40.78.231.0/24\",\r\n \"40.78.234.48/29\",\r\n \"40.78.239.128/25\",\r\n + \ \"40.78.242.160/29\",\r\n \"40.78.246.0/24\",\r\n \"40.78.250.96/29\",\r\n + \ \"40.79.130.56/29\",\r\n \"40.79.132.192/26\",\r\n \"40.79.138.32/29\",\r\n + \ \"40.79.141.0/25\",\r\n \"40.79.146.32/29\",\r\n \"40.79.148.128/25\",\r\n + \ \"40.79.154.104/29\",\r\n \"40.79.162.32/29\",\r\n \"40.79.165.128/25\",\r\n + \ \"40.79.166.0/25\",\r\n \"40.79.170.0/29\",\r\n \"40.79.173.128/25\",\r\n + \ \"40.79.174.0/25\",\r\n \"40.79.178.80/29\",\r\n \"40.79.186.8/29\",\r\n + \ \"40.79.189.128/25\",\r\n \"40.79.190.0/25\",\r\n \"40.79.194.96/29\",\r\n + \ \"40.79.197.128/25\",\r\n \"40.80.50.144/29\",\r\n \"40.80.51.192/26\",\r\n + \ \"40.80.53.64/26\",\r\n \"40.80.54.128/25\",\r\n \"40.80.176.128/25\",\r\n + \ \"40.80.181.0/26\",\r\n \"40.89.23.64/26\",\r\n \"40.89.120.0/24\",\r\n + \ \"40.89.121.0/25\",\r\n \"40.112.242.160/29\",\r\n \"40.120.8.64/26\",\r\n + \ \"40.120.9.0/26\",\r\n \"40.120.74.16/29\",\r\n \"40.120.77.0/25\",\r\n + \ \"40.124.64.0/25\",\r\n \"51.11.97.128/26\",\r\n \"51.12.25.64/26\",\r\n + \ \"51.12.32.0/25\",\r\n \"51.12.98.24/29\",\r\n \"51.12.100.192/26\",\r\n + \ \"51.12.101.0/26\",\r\n \"51.12.199.192/26\",\r\n \"51.12.202.24/29\",\r\n + \ \"51.12.205.128/26\",\r\n \"51.12.206.128/25\",\r\n \"51.12.226.144/29\",\r\n + \ \"51.12.234.144/29\",\r\n \"51.13.0.0/25\",\r\n \"51.13.1.64/26\",\r\n + \ \"51.13.128.128/25\",\r\n \"51.13.129.0/26\",\r\n \"51.104.9.128/25\",\r\n + \ \"51.105.66.144/29\",\r\n \"51.105.69.128/25\",\r\n \"51.105.70.0/25\",\r\n + \ \"51.105.74.144/29\",\r\n \"51.105.77.128/25\",\r\n \"51.107.53.64/26\",\r\n + \ \"51.107.56.192/26\",\r\n \"51.107.58.24/29\",\r\n \"51.107.148.128/26\",\r\n + \ \"51.107.152.192/26\",\r\n \"51.107.154.24/29\",\r\n \"51.107.192.0/26\",\r\n + \ \"51.116.58.24/29\",\r\n \"51.116.154.88/29\",\r\n \"51.116.158.128/25\",\r\n + \ \"51.116.242.144/29\",\r\n \"51.116.250.144/29\",\r\n \"51.120.98.160/29\",\r\n + \ \"51.120.106.144/29\",\r\n \"51.120.109.128/26\",\r\n \"51.120.110.0/25\",\r\n + \ \"51.120.210.144/29\",\r\n \"51.120.213.128/25\",\r\n \"51.120.214.0/26\",\r\n + \ \"51.120.218.24/29\",\r\n \"51.120.234.0/26\",\r\n \"51.132.192.0/25\",\r\n + \ \"51.137.166.192/26\",\r\n \"51.138.160.128/26\",\r\n \"51.140.146.200/29\",\r\n + \ \"51.140.210.192/29\",\r\n \"51.140.215.0/25\",\r\n \"51.143.208.0/26\",\r\n + \ \"52.138.90.32/29\",\r\n \"52.138.93.0/24\",\r\n \"52.138.226.80/29\",\r\n + \ \"52.138.230.0/23\",\r\n \"52.140.110.192/26\",\r\n \"52.146.131.128/26\",\r\n + \ \"52.147.97.128/25\",\r\n \"52.150.156.64/26\",\r\n \"52.162.104.192/26\",\r\n + \ \"52.162.106.160/29\",\r\n \"52.167.106.80/29\",\r\n \"52.167.110.0/24\",\r\n + \ \"52.168.112.192/26\",\r\n \"52.168.114.0/23\",\r\n \"52.178.18.0/23\",\r\n + \ \"52.178.20.0/24\",\r\n \"52.182.138.208/29\",\r\n \"52.182.142.0/24\",\r\n + \ \"52.231.18.56/29\",\r\n \"52.231.20.128/26\",\r\n \"52.231.146.192/29\",\r\n + \ \"52.236.186.80/29\",\r\n \"52.236.191.0/24\",\r\n \"52.240.241.128/25\",\r\n + \ \"52.240.244.0/25\",\r\n \"52.246.154.144/29\",\r\n \"52.246.157.128/25\",\r\n + \ \"52.246.158.0/25\",\r\n \"65.52.248.192/26\",\r\n \"65.52.250.16/29\",\r\n + \ \"102.37.65.64/26\",\r\n \"102.37.72.128/26\",\r\n \"102.133.26.24/29\",\r\n + \ \"102.133.122.144/29\",\r\n \"102.133.124.192/26\",\r\n + \ \"102.133.126.0/26\",\r\n \"102.133.154.24/29\",\r\n \"102.133.156.192/26\",\r\n + \ \"102.133.220.64/26\",\r\n \"102.133.250.144/29\",\r\n + \ \"102.133.253.64/26\",\r\n \"102.133.253.128/26\",\r\n + \ \"104.46.161.128/25\",\r\n \"104.46.162.128/26\",\r\n \"104.46.177.128/26\",\r\n + \ \"104.208.16.80/29\",\r\n \"104.208.144.80/29\",\r\n \"104.211.81.136/29\",\r\n + \ \"104.211.146.80/29\",\r\n \"104.214.18.184/29\",\r\n \"104.214.161.128/25\",\r\n + \ \"104.214.165.0/26\",\r\n \"168.61.140.128/25\",\r\n \"168.61.141.0/24\",\r\n + \ \"168.61.142.192/26\",\r\n \"191.233.50.16/29\",\r\n \"191.233.54.64/26\",\r\n + \ \"191.233.54.128/26\",\r\n \"191.233.203.136/29\",\r\n + \ \"191.233.205.192/26\",\r\n \"191.234.139.0/26\",\r\n \"191.234.146.144/29\",\r\n + \ \"191.234.149.64/26\",\r\n \"191.234.150.0/26\",\r\n \"191.234.154.144/29\",\r\n + \ \"191.234.157.192/26\",\r\n \"2603:1000:4:402::90/125\",\r\n + \ \"2603:1000:4:402::340/122\",\r\n \"2603:1000:4:402::580/122\",\r\n + \ \"2603:1000:104:402::90/125\",\r\n \"2603:1000:104:402::340/122\",\r\n + \ \"2603:1000:104:802::90/125\",\r\n \"2603:1000:104:802::2c0/122\",\r\n + \ \"2603:1000:104:c02::90/125\",\r\n \"2603:1010:6:402::90/125\",\r\n + \ \"2603:1010:6:402::340/122\",\r\n \"2603:1010:6:802::90/125\",\r\n + \ \"2603:1010:6:802::2c0/122\",\r\n \"2603:1010:6:c02::90/125\",\r\n + \ \"2603:1010:101:402::90/125\",\r\n \"2603:1010:101:402::340/122\",\r\n + \ \"2603:1010:101:402::580/122\",\r\n \"2603:1010:304:402::90/125\",\r\n + \ \"2603:1010:304:402::340/122\",\r\n \"2603:1010:304:402::580/122\",\r\n + \ \"2603:1010:404:402::90/125\",\r\n \"2603:1010:404:402::340/122\",\r\n + \ \"2603:1010:404:402::580/122\",\r\n \"2603:1020:5:402::90/125\",\r\n + \ \"2603:1020:5:402::340/122\",\r\n \"2603:1020:5:802::90/125\",\r\n + \ \"2603:1020:5:802::2c0/122\",\r\n \"2603:1020:5:c02::90/125\",\r\n + \ \"2603:1020:206:402::90/125\",\r\n \"2603:1020:206:402::340/122\",\r\n + \ \"2603:1020:206:802::90/125\",\r\n \"2603:1020:206:802::2c0/122\",\r\n + \ \"2603:1020:206:c02::90/125\",\r\n \"2603:1020:305:402::90/125\",\r\n + \ \"2603:1020:305:402::340/122\",\r\n \"2603:1020:405:402::90/125\",\r\n + \ \"2603:1020:405:402::340/122\",\r\n \"2603:1020:605:402::90/125\",\r\n + \ \"2603:1020:605:402::340/122\",\r\n \"2603:1020:605:402::580/122\",\r\n + \ \"2603:1020:705:402::90/125\",\r\n \"2603:1020:705:402::340/122\",\r\n + \ \"2603:1020:705:802::90/125\",\r\n \"2603:1020:705:802::2c0/122\",\r\n + \ \"2603:1020:705:c02::90/125\",\r\n \"2603:1020:805:402::90/125\",\r\n + \ \"2603:1020:805:402::340/122\",\r\n \"2603:1020:805:802::90/125\",\r\n + \ \"2603:1020:805:802::2c0/122\",\r\n \"2603:1020:805:c02::90/125\",\r\n + \ \"2603:1020:905:402::90/125\",\r\n \"2603:1020:905:402::340/122\",\r\n + \ \"2603:1020:905:402::580/122\",\r\n \"2603:1020:a04:402::90/125\",\r\n + \ \"2603:1020:a04:402::340/122\",\r\n \"2603:1020:a04:802::90/125\",\r\n + \ \"2603:1020:a04:802::2c0/122\",\r\n \"2603:1020:a04:c02::90/125\",\r\n + \ \"2603:1020:b04:402::90/125\",\r\n \"2603:1020:b04:402::340/122\",\r\n + \ \"2603:1020:b04:402::580/122\",\r\n \"2603:1020:c04:402::90/125\",\r\n + \ \"2603:1020:c04:402::340/122\",\r\n \"2603:1020:c04:802::90/125\",\r\n + \ \"2603:1020:c04:802::2c0/122\",\r\n \"2603:1020:c04:c02::90/125\",\r\n + \ \"2603:1020:d04:402::90/125\",\r\n \"2603:1020:d04:402::340/122\",\r\n + \ \"2603:1020:d04:402::580/122\",\r\n \"2603:1020:e04::348/125\",\r\n + \ \"2603:1020:e04:402::90/125\",\r\n \"2603:1020:e04:402::340/122\",\r\n + \ \"2603:1020:e04:402::580/121\",\r\n \"2603:1020:e04:402::600/120\",\r\n + \ \"2603:1020:e04:802::90/125\",\r\n \"2603:1020:e04:802::2c0/122\",\r\n + \ \"2603:1020:e04:c02::90/125\",\r\n \"2603:1020:f04:402::90/125\",\r\n + \ \"2603:1020:f04:402::340/122\",\r\n \"2603:1020:f04:402::580/122\",\r\n + \ \"2603:1020:1004:1::1a0/125\",\r\n \"2603:1020:1004:400::90/125\",\r\n + \ \"2603:1020:1004:400::3b8/125\",\r\n \"2603:1020:1004:400::4c0/122\",\r\n + \ \"2603:1020:1004:400::500/121\",\r\n \"2603:1020:1004:800::150/125\",\r\n + \ \"2603:1020:1004:800::180/121\",\r\n \"2603:1020:1004:800::280/121\",\r\n + \ \"2603:1020:1004:c02::300/121\",\r\n \"2603:1020:1104::5a0/125\",\r\n + \ \"2603:1020:1104:400::90/125\",\r\n \"2603:1020:1104:400::380/121\",\r\n + \ \"2603:1020:1104:400::540/122\",\r\n \"2603:1030:f:1::2a8/125\",\r\n + \ \"2603:1030:f:400::890/125\",\r\n \"2603:1030:f:400::b40/122\",\r\n + \ \"2603:1030:f:400::d80/122\",\r\n \"2603:1030:f:400::e00/121\",\r\n + \ \"2603:1030:10:402::90/125\",\r\n \"2603:1030:10:402::340/122\",\r\n + \ \"2603:1030:10:802::90/125\",\r\n \"2603:1030:10:802::2c0/122\",\r\n + \ \"2603:1030:10:c02::90/125\",\r\n \"2603:1030:104:402::90/125\",\r\n + \ \"2603:1030:104:402::340/122\",\r\n \"2603:1030:104:402::580/122\",\r\n + \ \"2603:1030:107::580/125\",\r\n \"2603:1030:107:400::18/125\",\r\n + \ \"2603:1030:107:400::300/121\",\r\n \"2603:1030:107:400::500/122\",\r\n + \ \"2603:1030:210:402::90/125\",\r\n \"2603:1030:210:402::340/122\",\r\n + \ \"2603:1030:210:802::90/125\",\r\n \"2603:1030:210:802::2c0/122\",\r\n + \ \"2603:1030:210:c02::90/125\",\r\n \"2603:1030:302:402::c0/122\",\r\n + \ \"2603:1030:40b:400::890/125\",\r\n \"2603:1030:40b:400::b40/122\",\r\n + \ \"2603:1030:40b:800::90/125\",\r\n \"2603:1030:40b:800::2c0/122\",\r\n + \ \"2603:1030:40b:c00::90/125\",\r\n \"2603:1030:40c:402::90/125\",\r\n + \ \"2603:1030:40c:402::340/122\",\r\n \"2603:1030:40c:802::90/125\",\r\n + \ \"2603:1030:40c:802::2c0/122\",\r\n \"2603:1030:40c:c02::90/125\",\r\n + \ \"2603:1030:504::1a0/125\",\r\n \"2603:1030:504:402::90/125\",\r\n + \ \"2603:1030:504:402::3b8/125\",\r\n \"2603:1030:504:802::c0/125\",\r\n + \ \"2603:1030:504:802::150/125\",\r\n \"2603:1030:504:802::180/121\",\r\n + \ \"2603:1030:504:c02::140/122\",\r\n \"2603:1030:504:c02::300/121\",\r\n + \ \"2603:1030:608:402::90/125\",\r\n \"2603:1030:608:402::340/122\",\r\n + \ \"2603:1030:608:402::580/122\",\r\n \"2603:1030:807:402::90/125\",\r\n + \ \"2603:1030:807:402::340/122\",\r\n \"2603:1030:807:802::90/125\",\r\n + \ \"2603:1030:807:802::2c0/122\",\r\n \"2603:1030:807:c02::90/125\",\r\n + \ \"2603:1030:a07:402::90/125\",\r\n \"2603:1030:a07:402::9c0/122\",\r\n + \ \"2603:1030:a07:402::a00/122\",\r\n \"2603:1030:b04:402::90/125\",\r\n + \ \"2603:1030:b04:402::340/122\",\r\n \"2603:1030:b04:402::580/122\",\r\n + \ \"2603:1030:c06:400::890/125\",\r\n \"2603:1030:c06:400::b40/122\",\r\n + \ \"2603:1030:c06:802::90/125\",\r\n \"2603:1030:c06:802::2c0/122\",\r\n + \ \"2603:1030:c06:c02::90/125\",\r\n \"2603:1030:f05:402::90/125\",\r\n + \ \"2603:1030:f05:402::340/122\",\r\n \"2603:1030:f05:802::90/125\",\r\n + \ \"2603:1030:f05:802::2c0/122\",\r\n \"2603:1030:f05:c02::90/125\",\r\n + \ \"2603:1030:1005:402::90/125\",\r\n \"2603:1030:1005:402::340/122\",\r\n + \ \"2603:1030:1005:402::580/122\",\r\n \"2603:1040:5:402::90/125\",\r\n + \ \"2603:1040:5:402::340/122\",\r\n \"2603:1040:5:802::90/125\",\r\n + \ \"2603:1040:5:802::2c0/122\",\r\n \"2603:1040:5:c02::90/125\",\r\n + \ \"2603:1040:207:402::90/125\",\r\n \"2603:1040:207:402::340/122\",\r\n + \ \"2603:1040:207:402::580/122\",\r\n \"2603:1040:407:402::90/125\",\r\n + \ \"2603:1040:407:402::340/122\",\r\n \"2603:1040:407:802::90/125\",\r\n + \ \"2603:1040:407:802::2c0/122\",\r\n \"2603:1040:407:c02::90/125\",\r\n + \ \"2603:1040:606:402::90/125\",\r\n \"2603:1040:606:402::340/122\",\r\n + \ \"2603:1040:606:402::580/122\",\r\n \"2603:1040:806:402::90/125\",\r\n + \ \"2603:1040:806:402::340/122\",\r\n \"2603:1040:806:402::580/122\",\r\n + \ \"2603:1040:904:402::90/125\",\r\n \"2603:1040:904:402::340/122\",\r\n + \ \"2603:1040:904:802::90/125\",\r\n \"2603:1040:904:802::2c0/122\",\r\n + \ \"2603:1040:904:c02::90/125\",\r\n \"2603:1040:a06::448/125\",\r\n + \ \"2603:1040:a06:402::90/125\",\r\n \"2603:1040:a06:402::340/122\",\r\n + \ \"2603:1040:a06:402::580/121\",\r\n \"2603:1040:a06:802::90/125\",\r\n + \ \"2603:1040:a06:802::2c0/122\",\r\n \"2603:1040:a06:c02::90/125\",\r\n + \ \"2603:1040:b04:402::90/125\",\r\n \"2603:1040:b04:402::340/122\",\r\n + \ \"2603:1040:b04:402::580/122\",\r\n \"2603:1040:c06:402::90/125\",\r\n + \ \"2603:1040:c06:402::340/122\",\r\n \"2603:1040:c06:402::580/122\",\r\n + \ \"2603:1040:d04:1::1a0/125\",\r\n \"2603:1040:d04:400::90/125\",\r\n + \ \"2603:1040:d04:400::3b8/125\",\r\n \"2603:1040:d04:400::4c0/122\",\r\n + \ \"2603:1040:d04:400::500/121\",\r\n \"2603:1040:d04:800::150/125\",\r\n + \ \"2603:1040:d04:800::180/121\",\r\n \"2603:1040:d04:800::280/121\",\r\n + \ \"2603:1040:d04:c02::300/121\",\r\n \"2603:1040:e05:402::100/122\",\r\n + \ \"2603:1040:f05::348/125\",\r\n \"2603:1040:f05:402::90/125\",\r\n + \ \"2603:1040:f05:402::340/122\",\r\n \"2603:1040:f05:402::580/121\",\r\n + \ \"2603:1040:f05:402::600/120\",\r\n \"2603:1040:f05:402::700/121\",\r\n + \ \"2603:1040:f05:802::90/125\",\r\n \"2603:1040:f05:802::2c0/122\",\r\n + \ \"2603:1040:f05:c02::90/125\",\r\n \"2603:1040:1104::5a0/125\",\r\n + \ \"2603:1040:1104:400::90/125\",\r\n \"2603:1040:1104:400::380/121\",\r\n + \ \"2603:1040:1104:400::480/122\",\r\n \"2603:1050:6:402::90/125\",\r\n + \ \"2603:1050:6:402::340/122\",\r\n \"2603:1050:6:402::500/121\",\r\n + \ \"2603:1050:6:802::90/125\",\r\n \"2603:1050:6:802::2c0/122\",\r\n + \ \"2603:1050:6:c02::90/125\",\r\n \"2603:1050:403:400::98/125\",\r\n + \ \"2603:1050:403:400::480/121\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureContainerRegistry.AustraliaEast\",\r\n \"id\": + \"AzureContainerRegistry.AustraliaEast\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"australiaeast\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureContainerRegistry\",\r\n \"addressPrefixes\": + [\r\n \"13.70.72.136/29\",\r\n \"13.70.78.0/25\",\r\n \"20.53.41.128/26\",\r\n + \ \"40.79.162.32/29\",\r\n \"40.79.165.128/25\",\r\n \"40.79.166.0/25\",\r\n + \ \"40.79.170.0/29\",\r\n \"40.79.173.128/25\",\r\n \"40.79.174.0/25\",\r\n + \ \"2603:1010:6:402::90/125\",\r\n \"2603:1010:6:402::340/122\",\r\n + \ \"2603:1010:6:802::90/125\",\r\n \"2603:1010:6:802::2c0/122\",\r\n + \ \"2603:1010:6:c02::90/125\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureContainerRegistry.AustraliaSoutheast\",\r\n + \ \"id\": \"AzureContainerRegistry.AustraliaSoutheast\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"australiasoutheast\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureContainerRegistry\",\r\n \"addressPrefixes\": [\r\n \"13.77.50.80/29\",\r\n + \ \"104.46.161.128/25\",\r\n \"104.46.162.128/26\",\r\n \"104.46.177.128/26\",\r\n + \ \"2603:1010:101:402::90/125\",\r\n \"2603:1010:101:402::340/122\",\r\n + \ \"2603:1010:101:402::580/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureContainerRegistry.BrazilSouth\",\r\n \"id\": + \"AzureContainerRegistry.BrazilSouth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"brazilsouth\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureContainerRegistry\",\r\n \"addressPrefixes\": + [\r\n \"20.195.136.0/24\",\r\n \"20.195.137.0/25\",\r\n + \ \"191.233.203.136/29\",\r\n \"191.233.205.192/26\",\r\n + \ \"191.234.139.0/26\",\r\n \"191.234.146.144/29\",\r\n \"191.234.149.64/26\",\r\n + \ \"191.234.150.0/26\",\r\n \"191.234.154.144/29\",\r\n \"191.234.157.192/26\",\r\n + \ \"2603:1050:6:402::90/125\",\r\n \"2603:1050:6:402::340/122\",\r\n + \ \"2603:1050:6:402::500/121\",\r\n \"2603:1050:6:802::90/125\",\r\n + \ \"2603:1050:6:802::2c0/122\",\r\n \"2603:1050:6:c02::90/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureContainerRegistry.CanadaCentral\",\r\n + \ \"id\": \"AzureContainerRegistry.CanadaCentral\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"canadacentral\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureContainerRegistry\",\r\n \"addressPrefixes\": + [\r\n \"13.71.170.56/29\",\r\n \"13.71.176.0/25\",\r\n \"13.71.176.128/25\",\r\n + \ \"20.38.146.144/29\",\r\n \"20.38.149.0/25\",\r\n \"20.48.192.128/26\",\r\n + \ \"52.246.154.144/29\",\r\n \"52.246.157.128/25\",\r\n \"52.246.158.0/25\",\r\n + \ \"2603:1030:f05:402::90/125\",\r\n \"2603:1030:f05:402::340/122\",\r\n + \ \"2603:1030:f05:802::90/125\",\r\n \"2603:1030:f05:802::2c0/122\",\r\n + \ \"2603:1030:f05:c02::90/125\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureContainerRegistry.CanadaEast\",\r\n \"id\": + \"AzureContainerRegistry.CanadaEast\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"canadaeast\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureContainerRegistry\",\r\n \"addressPrefixes\": + [\r\n \"40.69.106.80/29\",\r\n \"40.69.110.0/25\",\r\n \"40.69.116.0/26\",\r\n + \ \"40.89.23.64/26\",\r\n \"2603:1030:1005:402::90/125\",\r\n + \ \"2603:1030:1005:402::340/122\",\r\n \"2603:1030:1005:402::580/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureContainerRegistry.CentralIndia\",\r\n + \ \"id\": \"AzureContainerRegistry.CentralIndia\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"4\",\r\n + \ \"region\": \"centralindia\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureContainerRegistry\",\r\n \"addressPrefixes\": + [\r\n \"20.43.121.128/26\",\r\n \"20.43.123.64/26\",\r\n + \ \"20.192.98.144/29\",\r\n \"20.192.101.64/26\",\r\n \"20.192.101.128/26\",\r\n + \ \"40.80.50.144/29\",\r\n \"40.80.51.192/26\",\r\n \"40.80.53.64/26\",\r\n + \ \"40.80.54.128/25\",\r\n \"52.140.110.192/26\",\r\n \"104.211.81.136/29\",\r\n + \ \"2603:1040:a06::448/125\",\r\n \"2603:1040:a06:402::90/125\",\r\n + \ \"2603:1040:a06:402::340/122\",\r\n \"2603:1040:a06:402::580/121\",\r\n + \ \"2603:1040:a06:802::90/125\",\r\n \"2603:1040:a06:802::2c0/122\",\r\n + \ \"2603:1040:a06:c02::90/125\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureContainerRegistry.CentralUS\",\r\n \"id\": + \"AzureContainerRegistry.CentralUS\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"centralus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureContainerRegistry\",\r\n \"addressPrefixes\": + [\r\n \"13.89.170.216/29\",\r\n \"13.89.175.0/25\",\r\n + \ \"20.40.224.64/26\",\r\n \"20.44.11.0/25\",\r\n \"20.44.11.128/26\",\r\n + \ \"20.44.12.0/25\",\r\n \"52.182.138.208/29\",\r\n \"52.182.142.0/25\",\r\n + \ \"52.182.142.128/25\",\r\n \"104.208.16.80/29\",\r\n \"2603:1030:10:402::90/125\",\r\n + \ \"2603:1030:10:402::340/122\",\r\n \"2603:1030:10:802::90/125\",\r\n + \ \"2603:1030:10:802::2c0/122\",\r\n \"2603:1030:10:c02::90/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureContainerRegistry.CentralUSEUAP\",\r\n + \ \"id\": \"AzureContainerRegistry.CentralUSEUAP\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"4\",\r\n + \ \"region\": \"centraluseuap\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureContainerRegistry\",\r\n \"addressPrefixes\": + [\r\n \"20.45.199.128/25\",\r\n \"40.78.202.72/29\",\r\n + \ \"168.61.140.128/25\",\r\n \"168.61.141.0/25\",\r\n \"168.61.141.128/25\",\r\n + \ \"168.61.142.192/26\",\r\n \"2603:1030:f:1::2a8/125\",\r\n + \ \"2603:1030:f:400::890/125\",\r\n \"2603:1030:f:400::b40/122\",\r\n + \ \"2603:1030:f:400::d80/122\",\r\n \"2603:1030:f:400::e00/121\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureContainerRegistry.EastAsia\",\r\n + \ \"id\": \"AzureContainerRegistry.EastAsia\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"eastasia\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureContainerRegistry\",\r\n \"addressPrefixes\": + [\r\n \"13.75.36.0/29\",\r\n \"20.187.196.64/26\",\r\n \"104.214.161.128/25\",\r\n + \ \"104.214.165.0/26\",\r\n \"2603:1040:207:402::90/125\",\r\n + \ \"2603:1040:207:402::340/122\",\r\n \"2603:1040:207:402::580/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureContainerRegistry.EastUS\",\r\n + \ \"id\": \"AzureContainerRegistry.EastUS\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"eastus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureContainerRegistry\",\r\n \"addressPrefixes\": + [\r\n \"20.42.66.0/24\",\r\n \"20.42.67.0/24\",\r\n \"20.62.128.0/26\",\r\n + \ \"40.71.10.216/29\",\r\n \"40.78.226.208/29\",\r\n \"40.78.231.0/24\",\r\n + \ \"40.79.154.104/29\",\r\n \"52.168.112.192/26\",\r\n \"52.168.114.0/24\",\r\n + \ \"52.168.115.0/24\",\r\n \"2603:1030:210:402::90/125\",\r\n + \ \"2603:1030:210:402::340/122\",\r\n \"2603:1030:210:802::90/125\",\r\n + \ \"2603:1030:210:802::2c0/122\",\r\n \"2603:1030:210:c02::90/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureContainerRegistry.EastUS2\",\r\n + \ \"id\": \"AzureContainerRegistry.EastUS2\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"eastus2\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureContainerRegistry\",\r\n \"addressPrefixes\": + [\r\n \"20.44.19.64/26\",\r\n \"20.44.22.0/24\",\r\n \"20.44.23.0/24\",\r\n + \ \"20.49.102.128/26\",\r\n \"20.65.0.0/24\",\r\n \"40.70.146.88/29\",\r\n + \ \"40.70.150.0/24\",\r\n \"52.167.106.80/29\",\r\n \"52.167.110.0/24\",\r\n + \ \"104.208.144.80/29\",\r\n \"2603:1030:40c:402::90/125\",\r\n + \ \"2603:1030:40c:402::340/122\",\r\n \"2603:1030:40c:802::90/125\",\r\n + \ \"2603:1030:40c:802::2c0/122\",\r\n \"2603:1030:40c:c02::90/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureContainerRegistry.EastUS2EUAP\",\r\n + \ \"id\": \"AzureContainerRegistry.EastUS2EUAP\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"eastus2euap\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureContainerRegistry\",\r\n \"addressPrefixes\": + [\r\n \"20.39.15.128/25\",\r\n \"40.74.146.48/29\",\r\n + \ \"40.74.149.128/25\",\r\n \"40.75.34.32/29\",\r\n \"40.89.120.0/24\",\r\n + \ \"40.89.121.0/25\",\r\n \"52.138.90.32/29\",\r\n \"52.138.93.0/25\",\r\n + \ \"52.138.93.128/25\",\r\n \"2603:1030:40b:400::890/125\",\r\n + \ \"2603:1030:40b:400::b40/122\",\r\n \"2603:1030:40b:800::90/125\",\r\n + \ \"2603:1030:40b:800::2c0/122\",\r\n \"2603:1030:40b:c00::90/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureContainerRegistry.FranceCentral\",\r\n + \ \"id\": \"AzureContainerRegistry.FranceCentral\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"centralfrance\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureContainerRegistry\",\r\n \"addressPrefixes\": + [\r\n \"20.43.46.64/26\",\r\n \"40.79.130.56/29\",\r\n \"40.79.132.192/26\",\r\n + \ \"40.79.138.32/29\",\r\n \"40.79.141.0/26\",\r\n \"40.79.141.64/26\",\r\n + \ \"40.79.146.32/29\",\r\n \"40.79.148.128/26\",\r\n \"40.79.148.192/26\",\r\n + \ \"2603:1020:805:402::90/125\",\r\n \"2603:1020:805:402::340/122\",\r\n + \ \"2603:1020:805:802::90/125\",\r\n \"2603:1020:805:802::2c0/122\",\r\n + \ \"2603:1020:805:c02::90/125\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureContainerRegistry.FranceSouth\",\r\n \"id\": + \"AzureContainerRegistry.FranceSouth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"southfrance\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureContainerRegistry\",\r\n \"addressPrefixes\": + [\r\n \"40.79.178.80/29\",\r\n \"51.138.160.128/26\",\r\n + \ \"2603:1020:905:402::90/125\",\r\n \"2603:1020:905:402::340/122\",\r\n + \ \"2603:1020:905:402::580/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureContainerRegistry.GermanyNorth\",\r\n \"id\": + \"AzureContainerRegistry.GermanyNorth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"germanyn\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureContainerRegistry\",\r\n \"addressPrefixes\": + [\r\n \"20.52.72.128/26\",\r\n \"51.116.58.24/29\",\r\n + \ \"2603:1020:d04:402::90/125\",\r\n \"2603:1020:d04:402::340/122\",\r\n + \ \"2603:1020:d04:402::580/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureContainerRegistry.GermanyWestCentral\",\r\n + \ \"id\": \"AzureContainerRegistry.GermanyWestCentral\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"germanywc\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureContainerRegistry\",\r\n \"addressPrefixes\": + [\r\n \"20.52.88.64/26\",\r\n \"51.116.154.88/29\",\r\n + \ \"51.116.158.128/26\",\r\n \"51.116.158.192/26\",\r\n \"51.116.242.144/29\",\r\n + \ \"51.116.250.144/29\",\r\n \"2603:1020:c04:402::90/125\",\r\n + \ \"2603:1020:c04:402::340/122\",\r\n \"2603:1020:c04:802::90/125\",\r\n + \ \"2603:1020:c04:802::2c0/122\",\r\n \"2603:1020:c04:c02::90/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureContainerRegistry.JapanEast\",\r\n + \ \"id\": \"AzureContainerRegistry.JapanEast\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"japaneast\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureContainerRegistry\",\r\n \"addressPrefixes\": + [\r\n \"13.78.106.200/29\",\r\n \"13.78.111.0/25\",\r\n + \ \"20.191.160.128/26\",\r\n \"20.194.128.0/25\",\r\n \"40.79.186.8/29\",\r\n + \ \"40.79.189.128/25\",\r\n \"40.79.190.0/25\",\r\n \"40.79.194.96/29\",\r\n + \ \"40.79.197.128/25\",\r\n \"2603:1040:407:402::90/125\",\r\n + \ \"2603:1040:407:402::340/122\",\r\n \"2603:1040:407:802::90/125\",\r\n + \ \"2603:1040:407:802::2c0/122\",\r\n \"2603:1040:407:c02::90/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureContainerRegistry.JapanWest\",\r\n + \ \"id\": \"AzureContainerRegistry.JapanWest\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"japanwest\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureContainerRegistry\",\r\n \"addressPrefixes\": + [\r\n \"20.189.224.0/26\",\r\n \"40.74.100.160/29\",\r\n + \ \"40.80.176.128/25\",\r\n \"40.80.181.0/26\",\r\n \"2603:1040:606:402::90/125\",\r\n + \ \"2603:1040:606:402::340/122\",\r\n \"2603:1040:606:402::580/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureContainerRegistry.KoreaCentral\",\r\n + \ \"id\": \"AzureContainerRegistry.KoreaCentral\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"4\",\r\n + \ \"region\": \"koreacentral\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureContainerRegistry\",\r\n \"addressPrefixes\": + [\r\n \"20.41.69.128/26\",\r\n \"20.44.26.144/29\",\r\n + \ \"20.44.29.128/26\",\r\n \"20.44.29.192/26\",\r\n \"20.194.66.16/29\",\r\n + \ \"20.194.68.0/26\",\r\n \"20.194.68.64/26\",\r\n \"20.194.70.0/25\",\r\n + \ \"52.231.18.56/29\",\r\n \"52.231.20.128/26\",\r\n \"2603:1040:f05::348/125\",\r\n + \ \"2603:1040:f05:402::90/125\",\r\n \"2603:1040:f05:402::340/122\",\r\n + \ \"2603:1040:f05:402::580/121\",\r\n \"2603:1040:f05:402::600/120\",\r\n + \ \"2603:1040:f05:402::700/121\",\r\n \"2603:1040:f05:802::90/125\",\r\n + \ \"2603:1040:f05:802::2c0/122\",\r\n \"2603:1040:f05:c02::90/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureContainerRegistry.KoreaSouth\",\r\n + \ \"id\": \"AzureContainerRegistry.KoreaSouth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"koreasouth\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureContainerRegistry\",\r\n \"addressPrefixes\": + [\r\n \"20.135.26.64/26\",\r\n \"52.147.97.128/25\",\r\n + \ \"52.231.146.192/29\",\r\n \"2603:1040:e05:402::100/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureContainerRegistry.NorthCentralUS\",\r\n + \ \"id\": \"AzureContainerRegistry.NorthCentralUS\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"northcentralus\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureContainerRegistry\",\r\n \"addressPrefixes\": [\r\n \"20.49.115.0/26\",\r\n + \ \"52.162.104.192/26\",\r\n \"52.162.106.160/29\",\r\n \"52.240.241.128/25\",\r\n + \ \"52.240.244.0/25\",\r\n \"2603:1030:608:402::90/125\",\r\n + \ \"2603:1030:608:402::340/122\",\r\n \"2603:1030:608:402::580/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureContainerRegistry.NorthEurope\",\r\n + \ \"id\": \"AzureContainerRegistry.NorthEurope\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"northeurope\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureContainerRegistry\",\r\n \"addressPrefixes\": + [\r\n \"13.69.227.88/29\",\r\n \"13.69.236.0/23\",\r\n \"13.69.238.0/24\",\r\n + \ \"13.74.107.80/29\",\r\n \"13.74.110.0/24\",\r\n \"52.138.226.80/29\",\r\n + \ \"52.138.230.0/24\",\r\n \"52.138.231.0/24\",\r\n \"52.146.131.128/26\",\r\n + \ \"2603:1020:5:402::90/125\",\r\n \"2603:1020:5:402::340/122\",\r\n + \ \"2603:1020:5:802::90/125\",\r\n \"2603:1020:5:802::2c0/122\",\r\n + \ \"2603:1020:5:c02::90/125\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureContainerRegistry.NorwayEast\",\r\n \"id\": + \"AzureContainerRegistry.NorwayEast\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"6\",\r\n + \ \"region\": \"norwaye\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureContainerRegistry\",\r\n \"addressPrefixes\": + [\r\n \"51.13.0.0/25\",\r\n \"51.13.1.64/26\",\r\n \"51.120.98.160/29\",\r\n + \ \"51.120.106.144/29\",\r\n \"51.120.109.128/26\",\r\n \"51.120.110.0/25\",\r\n + \ \"51.120.210.144/29\",\r\n \"51.120.213.128/25\",\r\n \"51.120.214.0/26\",\r\n + \ \"51.120.234.0/26\",\r\n \"2603:1020:e04::348/125\",\r\n + \ \"2603:1020:e04:402::90/125\",\r\n \"2603:1020:e04:402::340/122\",\r\n + \ \"2603:1020:e04:402::580/121\",\r\n \"2603:1020:e04:402::600/120\",\r\n + \ \"2603:1020:e04:802::90/125\",\r\n \"2603:1020:e04:802::2c0/122\",\r\n + \ \"2603:1020:e04:c02::90/125\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureContainerRegistry.NorwayWest\",\r\n \"id\": + \"AzureContainerRegistry.NorwayWest\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"4\",\r\n + \ \"region\": \"norwayw\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureContainerRegistry\",\r\n \"addressPrefixes\": + [\r\n \"51.13.128.128/25\",\r\n \"51.13.129.0/26\",\r\n + \ \"51.120.218.24/29\",\r\n \"2603:1020:f04:402::90/125\",\r\n + \ \"2603:1020:f04:402::340/122\",\r\n \"2603:1020:f04:402::580/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureContainerRegistry.SouthAfricaNorth\",\r\n + \ \"id\": \"AzureContainerRegistry.SouthAfricaNorth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"southafricanorth\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureContainerRegistry\",\r\n \"addressPrefixes\": [\r\n \"102.37.72.128/26\",\r\n + \ \"102.133.122.144/29\",\r\n \"102.133.124.192/26\",\r\n + \ \"102.133.126.0/26\",\r\n \"102.133.154.24/29\",\r\n \"102.133.156.192/26\",\r\n + \ \"102.133.220.64/26\",\r\n \"102.133.250.144/29\",\r\n + \ \"102.133.253.64/26\",\r\n \"102.133.253.128/26\",\r\n + \ \"2603:1000:104:402::90/125\",\r\n \"2603:1000:104:402::340/122\",\r\n + \ \"2603:1000:104:802::90/125\",\r\n \"2603:1000:104:802::2c0/122\",\r\n + \ \"2603:1000:104:c02::90/125\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureContainerRegistry.SouthAfricaWest\",\r\n \"id\": + \"AzureContainerRegistry.SouthAfricaWest\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"southafricawest\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureContainerRegistry\",\r\n \"addressPrefixes\": [\r\n \"102.37.65.64/26\",\r\n + \ \"102.133.26.24/29\",\r\n \"2603:1000:4:402::90/125\",\r\n + \ \"2603:1000:4:402::340/122\",\r\n \"2603:1000:4:402::580/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureContainerRegistry.SouthCentralUS\",\r\n + \ \"id\": \"AzureContainerRegistry.SouthCentralUS\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"southcentralus\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n + \ ],\r\n \"systemService\": \"AzureContainerRegistry\",\r\n \"addressPrefixes\": + [\r\n \"13.73.245.64/26\",\r\n \"13.73.245.128/25\",\r\n + \ \"13.73.255.64/26\",\r\n \"20.45.122.144/29\",\r\n \"20.45.125.0/25\",\r\n + \ \"20.49.90.16/29\",\r\n \"20.49.92.0/25\",\r\n \"20.49.92.128/25\",\r\n + \ \"20.49.93.0/26\",\r\n \"40.124.64.0/25\",\r\n \"104.214.18.184/29\",\r\n + \ \"2603:1030:807:402::90/125\",\r\n \"2603:1030:807:402::340/122\",\r\n + \ \"2603:1030:807:802::90/125\",\r\n \"2603:1030:807:802::2c0/122\",\r\n + \ \"2603:1030:807:c02::90/125\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureContainerRegistry.SoutheastAsia\",\r\n \"id\": + \"AzureContainerRegistry.SoutheastAsia\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"southeastasia\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureContainerRegistry\",\r\n \"addressPrefixes\": + [\r\n \"13.67.8.120/29\",\r\n \"13.67.14.0/25\",\r\n \"13.67.14.128/25\",\r\n + \ \"20.195.64.128/26\",\r\n \"23.98.82.112/29\",\r\n \"23.98.86.128/25\",\r\n + \ \"23.98.87.0/25\",\r\n \"23.98.112.0/25\",\r\n \"40.78.234.48/29\",\r\n + \ \"40.78.239.128/25\",\r\n \"2603:1040:5:402::90/125\",\r\n + \ \"2603:1040:5:402::340/122\",\r\n \"2603:1040:5:802::90/125\",\r\n + \ \"2603:1040:5:802::2c0/122\",\r\n \"2603:1040:5:c02::90/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureContainerRegistry.SouthIndia\",\r\n + \ \"id\": \"AzureContainerRegistry.SouthIndia\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"southindia\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureContainerRegistry\",\r\n \"addressPrefixes\": + [\r\n \"20.41.199.192/26\",\r\n \"20.41.208.64/26\",\r\n + \ \"40.78.194.80/29\",\r\n \"40.78.196.192/26\",\r\n \"2603:1040:c06:402::90/125\",\r\n + \ \"2603:1040:c06:402::340/122\",\r\n \"2603:1040:c06:402::580/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureContainerRegistry.SwitzerlandNorth\",\r\n + \ \"id\": \"AzureContainerRegistry.SwitzerlandNorth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"switzerlandn\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureContainerRegistry\",\r\n \"addressPrefixes\": + [\r\n \"51.107.53.64/26\",\r\n \"51.107.56.192/26\",\r\n + \ \"51.107.58.24/29\",\r\n \"2603:1020:a04:402::90/125\",\r\n + \ \"2603:1020:a04:402::340/122\",\r\n \"2603:1020:a04:802::90/125\",\r\n + \ \"2603:1020:a04:802::2c0/122\",\r\n \"2603:1020:a04:c02::90/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureContainerRegistry.SwitzerlandWest\",\r\n + \ \"id\": \"AzureContainerRegistry.SwitzerlandWest\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"switzerlandw\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureContainerRegistry\",\r\n \"addressPrefixes\": + [\r\n \"51.107.148.128/26\",\r\n \"51.107.152.192/26\",\r\n + \ \"51.107.154.24/29\",\r\n \"51.107.192.0/26\",\r\n \"2603:1020:b04:402::90/125\",\r\n + \ \"2603:1020:b04:402::340/122\",\r\n \"2603:1020:b04:402::580/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureContainerRegistry.UAECentral\",\r\n + \ \"id\": \"AzureContainerRegistry.UAECentral\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"uaecentral\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"AzureContainerRegistry\",\r\n \"addressPrefixes\": [\r\n \"20.37.69.0/26\",\r\n + \ \"20.37.74.72/29\",\r\n \"40.120.8.64/26\",\r\n \"40.120.9.0/26\",\r\n + \ \"2603:1040:b04:402::90/125\",\r\n \"2603:1040:b04:402::340/122\",\r\n + \ \"2603:1040:b04:402::580/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureContainerRegistry.UAENorth\",\r\n \"id\": + \"AzureContainerRegistry.UAENorth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"uaenorth\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureContainerRegistry\",\r\n \"addressPrefixes\": + [\r\n \"20.38.140.192/26\",\r\n \"40.120.74.16/29\",\r\n + \ \"40.120.77.0/26\",\r\n \"40.120.77.64/26\",\r\n \"65.52.248.192/26\",\r\n + \ \"65.52.250.16/29\",\r\n \"2603:1040:904:402::90/125\",\r\n + \ \"2603:1040:904:402::340/122\",\r\n \"2603:1040:904:802::90/125\",\r\n + \ \"2603:1040:904:802::2c0/122\",\r\n \"2603:1040:904:c02::90/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureContainerRegistry.UKNorth\",\r\n + \ \"id\": \"AzureContainerRegistry.UKNorth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"uknorth\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\"\r\n ],\r\n \"systemService\": \"AzureContainerRegistry\",\r\n + \ \"addressPrefixes\": [\r\n \"13.87.122.96/29\",\r\n \"2603:1020:305:402::90/125\",\r\n + \ \"2603:1020:305:402::340/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureContainerRegistry.UKSouth\",\r\n \"id\": + \"AzureContainerRegistry.UKSouth\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"3\",\r\n \"region\": + \"uksouth\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureContainerRegistry\",\r\n \"addressPrefixes\": + [\r\n \"51.104.9.128/25\",\r\n \"51.105.66.144/29\",\r\n + \ \"51.105.69.128/25\",\r\n \"51.105.70.0/25\",\r\n \"51.105.74.144/29\",\r\n + \ \"51.105.77.128/25\",\r\n \"51.132.192.0/25\",\r\n \"51.140.146.200/29\",\r\n + \ \"51.143.208.0/26\",\r\n \"2603:1020:705:402::90/125\",\r\n + \ \"2603:1020:705:402::340/122\",\r\n \"2603:1020:705:802::90/125\",\r\n + \ \"2603:1020:705:802::2c0/122\",\r\n \"2603:1020:705:c02::90/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureContainerRegistry.UKSouth2\",\r\n + \ \"id\": \"AzureContainerRegistry.UKSouth2\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"uksouth2\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\"\r\n ],\r\n \"systemService\": \"AzureContainerRegistry\",\r\n + \ \"addressPrefixes\": [\r\n \"13.87.56.96/29\",\r\n \"2603:1020:405:402::90/125\",\r\n + \ \"2603:1020:405:402::340/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureContainerRegistry.UKWest\",\r\n \"id\": + \"AzureContainerRegistry.UKWest\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"3\",\r\n \"region\": + \"ukwest\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureContainerRegistry\",\r\n \"addressPrefixes\": + [\r\n \"51.11.97.128/26\",\r\n \"51.137.166.192/26\",\r\n + \ \"51.140.210.192/29\",\r\n \"51.140.215.0/25\",\r\n \"2603:1020:605:402::90/125\",\r\n + \ \"2603:1020:605:402::340/122\",\r\n \"2603:1020:605:402::580/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureContainerRegistry.WestCentralUS\",\r\n + \ \"id\": \"AzureContainerRegistry.WestCentralUS\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"westcentralus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureContainerRegistry\",\r\n \"addressPrefixes\": + [\r\n \"13.71.194.224/29\",\r\n \"40.67.121.0/25\",\r\n + \ \"40.67.122.128/26\",\r\n \"52.150.156.64/26\",\r\n \"2603:1030:b04:402::90/125\",\r\n + \ \"2603:1030:b04:402::340/122\",\r\n \"2603:1030:b04:402::580/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureContainerRegistry.WestEurope\",\r\n + \ \"id\": \"AzureContainerRegistry.WestEurope\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"westeurope\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureContainerRegistry\",\r\n \"addressPrefixes\": + [\r\n \"13.69.64.88/29\",\r\n \"13.69.106.80/29\",\r\n \"13.69.110.0/24\",\r\n + \ \"20.50.200.0/24\",\r\n \"20.61.97.128/25\",\r\n \"52.178.18.0/23\",\r\n + \ \"52.178.20.0/24\",\r\n \"52.236.186.80/29\",\r\n \"52.236.191.0/24\",\r\n + \ \"2603:1020:206:402::90/125\",\r\n \"2603:1020:206:402::340/122\",\r\n + \ \"2603:1020:206:802::90/125\",\r\n \"2603:1020:206:802::2c0/122\",\r\n + \ \"2603:1020:206:c02::90/125\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureContainerRegistry.WestIndia\",\r\n \"id\": + \"AzureContainerRegistry.WestIndia\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"westindia\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureContainerRegistry\",\r\n \"addressPrefixes\": + [\r\n \"20.38.132.192/26\",\r\n \"104.211.146.80/29\",\r\n + \ \"2603:1040:806:402::90/125\",\r\n \"2603:1040:806:402::340/122\",\r\n + \ \"2603:1040:806:402::580/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureContainerRegistry.WestUS\",\r\n \"id\": + \"AzureContainerRegistry.WestUS\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"3\",\r\n \"region\": + \"westus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"AzureContainerRegistry\",\r\n \"addressPrefixes\": [\r\n \"20.49.127.0/26\",\r\n + \ \"20.189.169.0/24\",\r\n \"20.189.171.128/25\",\r\n \"40.112.242.160/29\",\r\n + \ \"2603:1030:a07:402::90/125\",\r\n \"2603:1030:a07:402::9c0/122\",\r\n + \ \"2603:1030:a07:402::a00/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureContainerRegistry.WestUS2\",\r\n \"id\": + \"AzureContainerRegistry.WestUS2\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"3\",\r\n \"region\": + \"westus2\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureContainerRegistry\",\r\n \"addressPrefixes\": + [\r\n \"13.66.140.72/29\",\r\n \"13.66.146.0/24\",\r\n \"13.66.147.0/25\",\r\n + \ \"13.66.148.0/24\",\r\n \"40.64.112.0/24\",\r\n \"40.64.135.128/25\",\r\n + \ \"40.78.242.160/29\",\r\n \"40.78.246.0/24\",\r\n \"40.78.250.96/29\",\r\n + \ \"2603:1030:c06:400::890/125\",\r\n \"2603:1030:c06:400::b40/122\",\r\n + \ \"2603:1030:c06:802::90/125\",\r\n \"2603:1030:c06:802::2c0/122\",\r\n + \ \"2603:1030:c06:c02::90/125\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureCosmosDB\",\r\n \"id\": \"AzureCosmosDB\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"4\",\r\n \"region\": \"\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\",\r\n + \ \"VSE\"\r\n ],\r\n \"systemService\": \"AzureCosmosDB\",\r\n + \ \"addressPrefixes\": [\r\n \"13.64.69.151/32\",\r\n \"13.64.113.68/32\",\r\n + \ \"13.64.114.48/32\",\r\n \"13.64.194.140/32\",\r\n \"13.65.145.92/32\",\r\n + \ \"13.66.26.107/32\",\r\n \"13.66.82.75/32\",\r\n \"13.66.138.0/26\",\r\n + \ \"13.67.8.0/26\",\r\n \"13.68.28.135/32\",\r\n \"13.69.66.0/25\",\r\n + \ \"13.69.66.128/29\",\r\n \"13.69.112.0/25\",\r\n \"13.69.226.0/25\",\r\n + \ \"13.70.74.136/29\",\r\n \"13.71.115.125/32\",\r\n \"13.71.124.81/32\",\r\n + \ \"13.71.170.0/28\",\r\n \"13.71.194.0/26\",\r\n \"13.72.255.150/32\",\r\n + \ \"13.73.100.183/32\",\r\n \"13.73.254.224/27\",\r\n \"13.74.106.0/25\",\r\n + \ \"13.75.34.0/26\",\r\n \"13.75.134.84/32\",\r\n \"13.76.161.130/32\",\r\n + \ \"13.77.50.0/28\",\r\n \"13.78.51.35/32\",\r\n \"13.78.106.0/26\",\r\n + \ \"13.78.188.25/32\",\r\n \"13.79.34.236/32\",\r\n \"13.81.51.99/32\",\r\n + \ \"13.82.53.191/32\",\r\n \"13.84.150.178/32\",\r\n \"13.84.157.70/32\",\r\n + \ \"13.85.16.188/32\",\r\n \"13.87.56.0/27\",\r\n \"13.87.122.0/27\",\r\n + \ \"13.88.30.39/32\",\r\n \"13.88.253.180/32\",\r\n \"13.89.41.245/32\",\r\n + \ \"13.89.170.0/25\",\r\n \"13.89.190.186/32\",\r\n \"13.89.224.229/32\",\r\n + \ \"13.90.199.155/32\",\r\n \"13.91.246.52/32\",\r\n \"13.93.153.80/32\",\r\n + \ \"13.93.156.125/32\",\r\n \"13.93.207.66/32\",\r\n \"13.94.201.5/32\",\r\n + \ \"13.95.234.68/32\",\r\n \"20.36.26.132/32\",\r\n \"20.36.42.8/32\",\r\n + \ \"20.36.75.163/32\",\r\n \"20.36.106.0/26\",\r\n \"20.36.114.0/28\",\r\n + \ \"20.36.123.96/27\",\r\n \"20.37.68.160/27\",\r\n \"20.37.75.128/26\",\r\n + \ \"20.37.228.32/27\",\r\n \"20.38.140.128/27\",\r\n \"20.38.146.0/26\",\r\n + \ \"20.39.15.64/27\",\r\n \"20.40.207.160/27\",\r\n \"20.41.69.64/27\",\r\n + \ \"20.41.199.128/27\",\r\n \"20.43.46.0/27\",\r\n \"20.44.2.64/26\",\r\n + \ \"20.44.10.0/26\",\r\n \"20.44.26.0/26\",\r\n \"20.45.115.160/27\",\r\n + \ \"20.45.122.0/26\",\r\n \"20.45.198.96/27\",\r\n \"20.48.192.32/27\",\r\n + \ \"20.49.82.64/26\",\r\n \"20.49.90.64/26\",\r\n \"20.49.102.64/27\",\r\n + \ \"20.49.114.128/27\",\r\n \"20.49.126.160/27\",\r\n \"20.53.41.0/27\",\r\n + \ \"20.61.97.0/27\",\r\n \"20.72.18.64/27\",\r\n \"20.72.26.64/26\",\r\n + \ \"20.150.166.192/27\",\r\n \"20.150.170.64/26\",\r\n \"20.150.178.0/26\",\r\n + \ \"20.150.186.0/26\",\r\n \"20.187.196.0/27\",\r\n \"20.191.160.32/27\",\r\n + \ \"20.192.98.0/26\",\r\n \"20.192.166.192/27\",\r\n \"20.192.231.0/27\",\r\n + \ \"20.192.234.64/26\",\r\n \"20.193.202.64/26\",\r\n \"20.194.66.64/26\",\r\n + \ \"23.96.180.213/32\",\r\n \"23.96.219.207/32\",\r\n \"23.96.242.234/32\",\r\n + \ \"23.98.82.0/26\",\r\n \"23.98.107.224/27\",\r\n \"23.102.191.13/32\",\r\n + \ \"23.102.239.134/32\",\r\n \"40.64.135.0/27\",\r\n \"40.65.106.154/32\",\r\n + \ \"40.65.114.105/32\",\r\n \"40.67.51.160/27\",\r\n \"40.67.58.64/26\",\r\n + \ \"40.68.44.85/32\",\r\n \"40.69.106.0/28\",\r\n \"40.70.0.140/32\",\r\n + \ \"40.70.220.202/32\",\r\n \"40.71.10.0/25\",\r\n \"40.71.17.19/32\",\r\n + \ \"40.71.203.37/32\",\r\n \"40.71.204.115/32\",\r\n \"40.71.216.114/32\",\r\n + \ \"40.74.98.0/26\",\r\n \"40.74.143.235/32\",\r\n \"40.74.147.192/26\",\r\n + \ \"40.75.32.32/29\",\r\n \"40.75.34.128/26\",\r\n \"40.77.63.179/32\",\r\n + \ \"40.78.194.0/28\",\r\n \"40.78.203.32/27\",\r\n \"40.78.226.0/25\",\r\n + \ \"40.78.236.192/26\",\r\n \"40.78.243.192/26\",\r\n \"40.78.250.0/26\",\r\n + \ \"40.79.39.162/32\",\r\n \"40.79.59.92/32\",\r\n \"40.79.67.136/32\",\r\n + \ \"40.79.130.0/28\",\r\n \"40.79.138.48/28\",\r\n \"40.79.146.48/28\",\r\n + \ \"40.79.154.128/26\",\r\n \"40.79.163.72/29\",\r\n \"40.79.163.192/26\",\r\n + \ \"40.79.170.48/28\",\r\n \"40.79.178.0/28\",\r\n \"40.79.186.16/28\",\r\n + \ \"40.79.194.128/26\",\r\n \"40.80.50.0/26\",\r\n \"40.80.63.160/27\",\r\n + \ \"40.80.173.0/27\",\r\n \"40.83.137.191/32\",\r\n \"40.85.178.211/32\",\r\n + \ \"40.86.229.245/32\",\r\n \"40.89.22.224/27\",\r\n \"40.89.67.208/32\",\r\n + \ \"40.89.132.238/32\",\r\n \"40.112.140.12/32\",\r\n \"40.112.241.0/24\",\r\n + \ \"40.112.249.60/32\",\r\n \"40.113.90.91/32\",\r\n \"40.114.240.253/32\",\r\n + \ \"40.115.241.37/32\",\r\n \"40.118.245.44/32\",\r\n \"40.118.245.251/32\",\r\n + \ \"40.120.74.64/26\",\r\n \"40.122.132.89/32\",\r\n \"40.122.174.140/32\",\r\n + \ \"40.126.244.209/32\",\r\n \"51.12.43.0/27\",\r\n \"51.12.98.64/26\",\r\n + \ \"51.12.195.0/27\",\r\n \"51.12.202.64/26\",\r\n \"51.12.226.0/26\",\r\n + \ \"51.12.234.0/26\",\r\n \"51.104.31.128/27\",\r\n \"51.105.66.0/26\",\r\n + \ \"51.105.74.0/26\",\r\n \"51.105.92.192/27\",\r\n \"51.107.52.224/27\",\r\n + \ \"51.107.58.64/26\",\r\n \"51.107.148.32/27\",\r\n \"51.107.154.64/26\",\r\n + \ \"51.116.50.224/27\",\r\n \"51.116.58.64/26\",\r\n \"51.116.146.224/27\",\r\n + \ \"51.116.154.128/26\",\r\n \"51.116.242.0/26\",\r\n \"51.116.250.0/26\",\r\n + \ \"51.120.44.128/27\",\r\n \"51.120.98.64/26\",\r\n \"51.120.106.0/26\",\r\n + \ \"51.120.210.0/26\",\r\n \"51.120.218.64/26\",\r\n \"51.120.228.160/27\",\r\n + \ \"51.137.166.128/27\",\r\n \"51.140.52.73/32\",\r\n \"51.140.70.75/32\",\r\n + \ \"51.140.75.146/32\",\r\n \"51.140.83.56/32\",\r\n \"51.140.99.233/32\",\r\n + \ \"51.140.146.0/27\",\r\n \"51.140.210.0/27\",\r\n \"51.141.11.34/32\",\r\n + \ \"51.141.25.77/32\",\r\n \"51.141.53.76/32\",\r\n \"51.141.55.229/32\",\r\n + \ \"51.143.189.37/32\",\r\n \"51.144.177.166/32\",\r\n \"51.144.182.233/32\",\r\n + \ \"52.136.52.64/27\",\r\n \"52.136.134.25/32\",\r\n \"52.136.134.250/32\",\r\n + \ \"52.136.136.70/32\",\r\n \"52.138.66.90/32\",\r\n \"52.138.70.62/32\",\r\n + \ \"52.138.92.0/26\",\r\n \"52.138.141.112/32\",\r\n \"52.138.197.33/32\",\r\n + \ \"52.138.201.47/32\",\r\n \"52.138.205.97/32\",\r\n \"52.138.206.153/32\",\r\n + \ \"52.138.227.192/26\",\r\n \"52.140.110.64/27\",\r\n \"52.143.136.41/32\",\r\n + \ \"52.146.79.160/27\",\r\n \"52.146.131.0/27\",\r\n \"52.150.154.224/27\",\r\n + \ \"52.151.16.118/32\",\r\n \"52.156.170.104/32\",\r\n \"52.158.234.203/32\",\r\n + \ \"52.161.13.67/32\",\r\n \"52.161.15.197/32\",\r\n \"52.161.22.131/32\",\r\n + \ \"52.161.100.126/32\",\r\n \"52.162.106.0/26\",\r\n \"52.162.252.26/32\",\r\n + \ \"52.163.63.20/32\",\r\n \"52.163.249.82/32\",\r\n \"52.164.250.188/32\",\r\n + \ \"52.165.42.204/32\",\r\n \"52.165.46.249/32\",\r\n \"52.165.129.184/32\",\r\n + \ \"52.165.229.112/32\",\r\n \"52.165.229.184/32\",\r\n \"52.167.107.128/26\",\r\n + \ \"52.168.28.222/32\",\r\n \"52.169.122.37/32\",\r\n \"52.169.219.183/32\",\r\n + \ \"52.170.204.83/32\",\r\n \"52.172.55.127/32\",\r\n \"52.172.206.130/32\",\r\n + \ \"52.173.148.217/32\",\r\n \"52.173.196.170/32\",\r\n \"52.173.240.244/32\",\r\n + \ \"52.174.253.239/32\",\r\n \"52.175.25.211/32\",\r\n \"52.175.39.232/32\",\r\n + \ \"52.176.0.136/32\",\r\n \"52.176.7.71/32\",\r\n \"52.176.101.49/32\",\r\n + \ \"52.176.155.127/32\",\r\n \"52.177.172.74/32\",\r\n \"52.177.206.153/32\",\r\n + \ \"52.178.108.222/32\",\r\n \"52.179.141.33/32\",\r\n \"52.179.143.233/32\",\r\n + \ \"52.179.200.0/25\",\r\n \"52.180.160.251/32\",\r\n \"52.180.161.1/32\",\r\n + \ \"52.180.177.137/32\",\r\n \"52.182.138.0/25\",\r\n \"52.183.42.252/32\",\r\n + \ \"52.183.66.36/32\",\r\n \"52.183.92.223/32\",\r\n \"52.183.119.101/32\",\r\n + \ \"52.184.152.241/32\",\r\n \"52.186.69.224/32\",\r\n \"52.187.11.8/32\",\r\n + \ \"52.187.12.93/32\",\r\n \"52.191.197.220/32\",\r\n \"52.226.18.140/32\",\r\n + \ \"52.226.21.178/32\",\r\n \"52.230.15.63/32\",\r\n \"52.230.23.170/32\",\r\n + \ \"52.230.70.94/32\",\r\n \"52.230.87.21/32\",\r\n \"52.231.18.0/28\",\r\n + \ \"52.231.25.123/32\",\r\n \"52.231.39.143/32\",\r\n \"52.231.56.0/28\",\r\n + \ \"52.231.146.0/27\",\r\n \"52.231.206.234/32\",\r\n \"52.231.207.31/32\",\r\n + \ \"52.232.59.220/32\",\r\n \"52.233.41.60/32\",\r\n \"52.233.128.86/32\",\r\n + \ \"52.235.40.247/32\",\r\n \"52.235.46.28/32\",\r\n \"52.236.189.0/26\",\r\n + \ \"52.237.20.252/32\",\r\n \"52.246.154.0/26\",\r\n \"52.255.52.19/32\",\r\n + \ \"52.255.58.221/32\",\r\n \"65.52.210.9/32\",\r\n \"65.52.251.128/26\",\r\n + \ \"102.133.26.64/26\",\r\n \"102.133.60.64/27\",\r\n \"102.133.122.0/26\",\r\n + \ \"102.133.154.64/26\",\r\n \"102.133.220.0/27\",\r\n \"102.133.250.0/26\",\r\n + \ \"104.41.52.61/32\",\r\n \"104.41.54.69/32\",\r\n \"104.41.177.93/32\",\r\n + \ \"104.45.16.183/32\",\r\n \"104.45.131.193/32\",\r\n \"104.45.144.73/32\",\r\n + \ \"104.46.177.64/27\",\r\n \"104.208.231.0/25\",\r\n \"104.210.89.99/32\",\r\n + \ \"104.210.217.251/32\",\r\n \"104.211.84.0/28\",\r\n \"104.211.102.50/32\",\r\n + \ \"104.211.146.0/28\",\r\n \"104.211.162.94/32\",\r\n \"104.211.184.117/32\",\r\n + \ \"104.211.188.174/32\",\r\n \"104.211.227.84/32\",\r\n + \ \"104.214.18.0/25\",\r\n \"104.214.23.192/27\",\r\n \"104.214.26.177/32\",\r\n + \ \"104.215.1.53/32\",\r\n \"104.215.21.39/32\",\r\n \"104.215.55.227/32\",\r\n + \ \"137.117.9.157/32\",\r\n \"157.55.170.133/32\",\r\n \"168.61.142.128/26\",\r\n + \ \"191.232.51.175/32\",\r\n \"191.232.53.203/32\",\r\n \"191.233.11.192/27\",\r\n + \ \"191.233.50.64/26\",\r\n \"191.233.204.128/27\",\r\n \"191.234.138.160/27\",\r\n + \ \"191.234.146.0/26\",\r\n \"191.234.154.0/26\",\r\n \"191.234.179.157/32\",\r\n + \ \"191.239.179.124/32\",\r\n \"207.46.150.252/32\",\r\n + \ \"2603:1000:4:402::c0/122\",\r\n \"2603:1000:104:402::c0/122\",\r\n + \ \"2603:1000:104:802::c0/122\",\r\n \"2603:1000:104:c02::c0/122\",\r\n + \ \"2603:1010:6:402::c0/122\",\r\n \"2603:1010:6:802::c0/122\",\r\n + \ \"2603:1010:6:c02::c0/122\",\r\n \"2603:1010:101:402::c0/122\",\r\n + \ \"2603:1010:304:402::c0/122\",\r\n \"2603:1010:404:402::c0/122\",\r\n + \ \"2603:1020:5:402::c0/122\",\r\n \"2603:1020:5:802::c0/122\",\r\n + \ \"2603:1020:5:c02::c0/122\",\r\n \"2603:1020:206:402::c0/122\",\r\n + \ \"2603:1020:206:802::c0/122\",\r\n \"2603:1020:206:c02::c0/122\",\r\n + \ \"2603:1020:305:402::c0/122\",\r\n \"2603:1020:405:402::c0/122\",\r\n + \ \"2603:1020:605:402::c0/122\",\r\n \"2603:1020:705:402::c0/122\",\r\n + \ \"2603:1020:705:802::c0/122\",\r\n \"2603:1020:705:c02::c0/122\",\r\n + \ \"2603:1020:805:402::c0/122\",\r\n \"2603:1020:805:802::c0/122\",\r\n + \ \"2603:1020:805:c02::c0/122\",\r\n \"2603:1020:905:402::c0/122\",\r\n + \ \"2603:1020:a04:402::c0/122\",\r\n \"2603:1020:a04:802::c0/122\",\r\n + \ \"2603:1020:a04:c02::c0/122\",\r\n \"2603:1020:b04:402::c0/122\",\r\n + \ \"2603:1020:c04:402::c0/122\",\r\n \"2603:1020:c04:802::c0/122\",\r\n + \ \"2603:1020:c04:c02::c0/122\",\r\n \"2603:1020:d04:402::c0/122\",\r\n + \ \"2603:1020:e04::680/123\",\r\n \"2603:1020:e04:402::c0/122\",\r\n + \ \"2603:1020:e04:802::c0/122\",\r\n \"2603:1020:e04:c02::c0/122\",\r\n + \ \"2603:1020:f04:402::c0/122\",\r\n \"2603:1020:1004:1::60/123\",\r\n + \ \"2603:1020:1004:400::c0/122\",\r\n \"2603:1020:1004:400::280/122\",\r\n + \ \"2603:1020:1004:400::3c0/122\",\r\n \"2603:1020:1104::520/123\",\r\n + \ \"2603:1020:1104:400::c0/122\",\r\n \"2603:1030:f:2::2a0/123\",\r\n + \ \"2603:1030:f:400::8c0/122\",\r\n \"2603:1030:10:402::c0/122\",\r\n + \ \"2603:1030:10:802::c0/122\",\r\n \"2603:1030:10:c02::c0/122\",\r\n + \ \"2603:1030:104:402::c0/122\",\r\n \"2603:1030:107::540/123\",\r\n + \ \"2603:1030:107:400::40/122\",\r\n \"2603:1030:210:402::c0/122\",\r\n + \ \"2603:1030:210:802::c0/122\",\r\n \"2603:1030:210:c02::c0/122\",\r\n + \ \"2603:1030:40b:400::8c0/122\",\r\n \"2603:1030:40b:800::c0/122\",\r\n + \ \"2603:1030:40b:c00::c0/122\",\r\n \"2603:1030:40c:402::c0/122\",\r\n + \ \"2603:1030:40c:802::c0/122\",\r\n \"2603:1030:40c:c02::c0/122\",\r\n + \ \"2603:1030:504::60/123\",\r\n \"2603:1030:504:402::c0/122\",\r\n + \ \"2603:1030:504:402::280/122\",\r\n \"2603:1030:504:402::3c0/122\",\r\n + \ \"2603:1030:504:802::200/122\",\r\n \"2603:1030:504:c02::3c0/122\",\r\n + \ \"2603:1030:608:402::c0/122\",\r\n \"2603:1030:807:402::c0/122\",\r\n + \ \"2603:1030:807:802::c0/122\",\r\n \"2603:1030:807:c02::c0/122\",\r\n + \ \"2603:1030:a07:402::c0/122\",\r\n \"2603:1030:b04:402::c0/122\",\r\n + \ \"2603:1030:c06:400::8c0/122\",\r\n \"2603:1030:c06:802::c0/122\",\r\n + \ \"2603:1030:c06:c02::c0/122\",\r\n \"2603:1030:f05:402::c0/122\",\r\n + \ \"2603:1030:f05:802::c0/122\",\r\n \"2603:1030:f05:c02::c0/122\",\r\n + \ \"2603:1030:1005:402::c0/122\",\r\n \"2603:1040:5:402::c0/122\",\r\n + \ \"2603:1040:5:802::c0/122\",\r\n \"2603:1040:5:c02::c0/122\",\r\n + \ \"2603:1040:207:402::c0/122\",\r\n \"2603:1040:407:402::c0/122\",\r\n + \ \"2603:1040:407:802::c0/122\",\r\n \"2603:1040:407:c02::c0/122\",\r\n + \ \"2603:1040:606:402::c0/122\",\r\n \"2603:1040:806:402::c0/122\",\r\n + \ \"2603:1040:904:402::c0/122\",\r\n \"2603:1040:904:802::c0/122\",\r\n + \ \"2603:1040:904:c02::c0/122\",\r\n \"2603:1040:a06::780/123\",\r\n + \ \"2603:1040:a06:402::c0/122\",\r\n \"2603:1040:a06:802::c0/122\",\r\n + \ \"2603:1040:a06:c02::c0/122\",\r\n \"2603:1040:b04:402::c0/122\",\r\n + \ \"2603:1040:c06:402::c0/122\",\r\n \"2603:1040:d04:1::60/123\",\r\n + \ \"2603:1040:d04:400::c0/122\",\r\n \"2603:1040:d04:400::280/122\",\r\n + \ \"2603:1040:d04:400::3c0/122\",\r\n \"2603:1040:f05::680/123\",\r\n + \ \"2603:1040:f05:402::c0/122\",\r\n \"2603:1040:f05:802::c0/122\",\r\n + \ \"2603:1040:f05:c02::c0/122\",\r\n \"2603:1040:1104::520/123\",\r\n + \ \"2603:1040:1104:400::c0/122\",\r\n \"2603:1050:6:402::c0/122\",\r\n + \ \"2603:1050:6:802::c0/122\",\r\n \"2603:1050:6:c02::c0/122\",\r\n + \ \"2603:1050:403:400::c0/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureCosmosDB.AustraliaCentral\",\r\n \"id\": + \"AzureCosmosDB.AustraliaCentral\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\": + \"australiacentral\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureCosmosDB\",\r\n \"addressPrefixes\": + [\r\n \"20.36.42.8/32\",\r\n \"20.36.106.0/26\",\r\n \"20.37.228.32/27\",\r\n + \ \"2603:1010:304:402::c0/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureCosmosDB.AustraliaCentral2\",\r\n \"id\": + \"AzureCosmosDB.AustraliaCentral2\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"australiacentral2\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureCosmosDB\",\r\n \"addressPrefixes\": [\r\n \"20.36.75.163/32\",\r\n + \ \"20.36.114.0/28\",\r\n \"20.36.123.96/27\",\r\n \"2603:1010:404:402::c0/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCosmosDB.AustraliaEast\",\r\n + \ \"id\": \"AzureCosmosDB.AustraliaEast\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"australiaeast\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureCosmosDB\",\r\n \"addressPrefixes\": + [\r\n \"13.70.74.136/29\",\r\n \"13.72.255.150/32\",\r\n + \ \"13.75.134.84/32\",\r\n \"20.53.41.0/27\",\r\n \"40.79.163.72/29\",\r\n + \ \"40.79.163.192/26\",\r\n \"40.79.170.48/28\",\r\n \"40.126.244.209/32\",\r\n + \ \"52.156.170.104/32\",\r\n \"104.210.89.99/32\",\r\n \"2603:1010:6:402::c0/122\",\r\n + \ \"2603:1010:6:802::c0/122\",\r\n \"2603:1010:6:c02::c0/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCosmosDB.AustraliaSoutheast\",\r\n + \ \"id\": \"AzureCosmosDB.AustraliaSoutheast\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"australiasoutheast\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureCosmosDB\",\r\n \"addressPrefixes\": [\r\n \"13.73.100.183/32\",\r\n + \ \"13.77.50.0/28\",\r\n \"52.255.52.19/32\",\r\n \"52.255.58.221/32\",\r\n + \ \"104.46.177.64/27\",\r\n \"191.239.179.124/32\",\r\n \"2603:1010:101:402::c0/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCosmosDB.BrazilSouth\",\r\n + \ \"id\": \"AzureCosmosDB.BrazilSouth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"brazilsouth\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureCosmosDB\",\r\n \"addressPrefixes\": + [\r\n \"104.41.52.61/32\",\r\n \"104.41.54.69/32\",\r\n + \ \"191.232.51.175/32\",\r\n \"191.232.53.203/32\",\r\n \"191.233.204.128/27\",\r\n + \ \"191.234.138.160/27\",\r\n \"191.234.146.0/26\",\r\n \"191.234.154.0/26\",\r\n + \ \"191.234.179.157/32\",\r\n \"2603:1050:6:402::c0/122\",\r\n + \ \"2603:1050:6:802::c0/122\",\r\n \"2603:1050:6:c02::c0/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCosmosDB.CanadaCentral\",\r\n + \ \"id\": \"AzureCosmosDB.CanadaCentral\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"canadacentral\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureCosmosDB\",\r\n \"addressPrefixes\": + [\r\n \"13.71.170.0/28\",\r\n \"13.88.253.180/32\",\r\n + \ \"20.38.146.0/26\",\r\n \"20.48.192.32/27\",\r\n \"52.233.41.60/32\",\r\n + \ \"52.237.20.252/32\",\r\n \"52.246.154.0/26\",\r\n \"2603:1030:f05:402::c0/122\",\r\n + \ \"2603:1030:f05:802::c0/122\",\r\n \"2603:1030:f05:c02::c0/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCosmosDB.CanadaEast\",\r\n + \ \"id\": \"AzureCosmosDB.CanadaEast\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"canadaeast\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureCosmosDB\",\r\n \"addressPrefixes\": + [\r\n \"40.69.106.0/28\",\r\n \"40.86.229.245/32\",\r\n + \ \"40.89.22.224/27\",\r\n \"52.235.40.247/32\",\r\n \"52.235.46.28/32\",\r\n + \ \"2603:1030:1005:402::c0/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureCosmosDB.CentralIndia\",\r\n \"id\": + \"AzureCosmosDB.CentralIndia\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"3\",\r\n \"region\": + \"centralindia\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureCosmosDB\",\r\n \"addressPrefixes\": + [\r\n \"20.192.98.0/26\",\r\n \"40.80.50.0/26\",\r\n \"52.140.110.64/27\",\r\n + \ \"52.172.206.130/32\",\r\n \"104.211.84.0/28\",\r\n \"104.211.102.50/32\",\r\n + \ \"2603:1040:a06::780/123\",\r\n \"2603:1040:a06:402::c0/122\",\r\n + \ \"2603:1040:a06:802::c0/122\",\r\n \"2603:1040:a06:c02::c0/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCosmosDB.CentralUS\",\r\n + \ \"id\": \"AzureCosmosDB.CentralUS\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"centralus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureCosmosDB\",\r\n \"addressPrefixes\": + [\r\n \"13.89.41.245/32\",\r\n \"13.89.170.0/25\",\r\n \"13.89.190.186/32\",\r\n + \ \"13.89.224.229/32\",\r\n \"20.40.207.160/27\",\r\n \"20.44.10.0/26\",\r\n + \ \"40.77.63.179/32\",\r\n \"40.122.132.89/32\",\r\n \"40.122.174.140/32\",\r\n + \ \"52.165.42.204/32\",\r\n \"52.165.46.249/32\",\r\n \"52.165.129.184/32\",\r\n + \ \"52.165.229.112/32\",\r\n \"52.165.229.184/32\",\r\n \"52.173.148.217/32\",\r\n + \ \"52.173.196.170/32\",\r\n \"52.173.240.244/32\",\r\n \"52.176.0.136/32\",\r\n + \ \"52.176.7.71/32\",\r\n \"52.176.101.49/32\",\r\n \"52.176.155.127/32\",\r\n + \ \"52.182.138.0/25\",\r\n \"2603:1030:10:402::c0/122\",\r\n + \ \"2603:1030:10:802::c0/122\",\r\n \"2603:1030:10:c02::c0/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCosmosDB.CentralUSEUAP\",\r\n + \ \"id\": \"AzureCosmosDB.CentralUSEUAP\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"centraluseuap\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureCosmosDB\",\r\n \"addressPrefixes\": + [\r\n \"20.45.198.96/27\",\r\n \"40.78.203.32/27\",\r\n + \ \"52.180.160.251/32\",\r\n \"52.180.161.1/32\",\r\n \"52.180.177.137/32\",\r\n + \ \"168.61.142.128/26\",\r\n \"2603:1030:f:2::2a0/123\",\r\n + \ \"2603:1030:f:400::8c0/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureCosmosDB.EastAsia\",\r\n \"id\": \"AzureCosmosDB.EastAsia\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"eastasia\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureCosmosDB\",\r\n \"addressPrefixes\": [\r\n \"13.75.34.0/26\",\r\n + \ \"20.187.196.0/27\",\r\n \"23.102.239.134/32\",\r\n \"52.175.25.211/32\",\r\n + \ \"52.175.39.232/32\",\r\n \"207.46.150.252/32\",\r\n \"2603:1040:207:402::c0/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCosmosDB.EastUS\",\r\n + \ \"id\": \"AzureCosmosDB.EastUS\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"eastus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureCosmosDB\",\r\n \"addressPrefixes\": + [\r\n \"13.82.53.191/32\",\r\n \"13.90.199.155/32\",\r\n + \ \"40.71.10.0/25\",\r\n \"40.71.17.19/32\",\r\n \"40.71.203.37/32\",\r\n + \ \"40.71.204.115/32\",\r\n \"40.71.216.114/32\",\r\n \"40.78.226.0/25\",\r\n + \ \"40.79.154.128/26\",\r\n \"40.85.178.211/32\",\r\n \"52.146.79.160/27\",\r\n + \ \"52.168.28.222/32\",\r\n \"52.170.204.83/32\",\r\n \"52.186.69.224/32\",\r\n + \ \"52.191.197.220/32\",\r\n \"52.226.18.140/32\",\r\n \"52.226.21.178/32\",\r\n + \ \"104.45.131.193/32\",\r\n \"104.45.144.73/32\",\r\n \"2603:1030:210:402::c0/122\",\r\n + \ \"2603:1030:210:802::c0/122\",\r\n \"2603:1030:210:c02::c0/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCosmosDB.EastUS2\",\r\n + \ \"id\": \"AzureCosmosDB.EastUS2\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"eastus2\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureCosmosDB\",\r\n \"addressPrefixes\": + [\r\n \"13.68.28.135/32\",\r\n \"20.49.102.64/27\",\r\n + \ \"40.70.0.140/32\",\r\n \"40.70.220.202/32\",\r\n \"40.79.39.162/32\",\r\n + \ \"40.79.59.92/32\",\r\n \"40.79.67.136/32\",\r\n \"52.167.107.128/26\",\r\n + \ \"52.177.172.74/32\",\r\n \"52.177.206.153/32\",\r\n \"52.179.141.33/32\",\r\n + \ \"52.179.143.233/32\",\r\n \"52.179.200.0/25\",\r\n \"52.184.152.241/32\",\r\n + \ \"104.208.231.0/25\",\r\n \"2603:1030:40c:402::c0/122\",\r\n + \ \"2603:1030:40c:802::c0/122\",\r\n \"2603:1030:40c:c02::c0/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCosmosDB.EastUS2EUAP\",\r\n + \ \"id\": \"AzureCosmosDB.EastUS2EUAP\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"eastus2euap\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureCosmosDB\",\r\n \"addressPrefixes\": + [\r\n \"20.39.15.64/27\",\r\n \"40.74.147.192/26\",\r\n + \ \"40.75.32.32/29\",\r\n \"40.75.34.128/26\",\r\n \"40.89.67.208/32\",\r\n + \ \"52.138.66.90/32\",\r\n \"52.138.70.62/32\",\r\n \"52.138.92.0/26\",\r\n + \ \"2603:1030:40b:400::8c0/122\",\r\n \"2603:1030:40b:800::c0/122\",\r\n + \ \"2603:1030:40b:c00::c0/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureCosmosDB.FranceCentral\",\r\n \"id\": + \"AzureCosmosDB.FranceCentral\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\": + \"centralfrance\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureCosmosDB\",\r\n \"addressPrefixes\": + [\r\n \"20.43.46.0/27\",\r\n \"40.79.130.0/28\",\r\n \"40.79.138.48/28\",\r\n + \ \"40.79.146.48/28\",\r\n \"40.89.132.238/32\",\r\n \"52.143.136.41/32\",\r\n + \ \"2603:1020:805:402::c0/122\",\r\n \"2603:1020:805:802::c0/122\",\r\n + \ \"2603:1020:805:c02::c0/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureCosmosDB.FranceSouth\",\r\n \"id\": \"AzureCosmosDB.FranceSouth\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"southfrance\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureCosmosDB\",\r\n \"addressPrefixes\": [\r\n \"40.79.178.0/28\",\r\n + \ \"51.105.92.192/27\",\r\n \"52.136.134.25/32\",\r\n \"52.136.134.250/32\",\r\n + \ \"52.136.136.70/32\",\r\n \"2603:1020:905:402::c0/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCosmosDB.GermanyNorth\",\r\n + \ \"id\": \"AzureCosmosDB.GermanyNorth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"germanyn\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureCosmosDB\",\r\n \"addressPrefixes\": + [\r\n \"51.116.50.224/27\",\r\n \"51.116.58.64/26\",\r\n + \ \"2603:1020:d04:402::c0/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureCosmosDB.GermanyWestCentral\",\r\n \"id\": + \"AzureCosmosDB.GermanyWestCentral\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"germanywc\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureCosmosDB\",\r\n \"addressPrefixes\": + [\r\n \"51.116.146.224/27\",\r\n \"51.116.154.128/26\",\r\n + \ \"51.116.242.0/26\",\r\n \"51.116.250.0/26\",\r\n \"2603:1020:c04:402::c0/122\",\r\n + \ \"2603:1020:c04:802::c0/122\",\r\n \"2603:1020:c04:c02::c0/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCosmosDB.JapanEast\",\r\n + \ \"id\": \"AzureCosmosDB.JapanEast\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"japaneast\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureCosmosDB\",\r\n \"addressPrefixes\": + [\r\n \"13.78.51.35/32\",\r\n \"13.78.106.0/26\",\r\n \"20.191.160.32/27\",\r\n + \ \"40.79.186.16/28\",\r\n \"40.79.194.128/26\",\r\n \"40.115.241.37/32\",\r\n + \ \"104.41.177.93/32\",\r\n \"2603:1040:407:402::c0/122\",\r\n + \ \"2603:1040:407:802::c0/122\",\r\n \"2603:1040:407:c02::c0/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCosmosDB.JapanWest\",\r\n + \ \"id\": \"AzureCosmosDB.JapanWest\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"japanwest\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureCosmosDB\",\r\n \"addressPrefixes\": + [\r\n \"40.74.98.0/26\",\r\n \"40.74.143.235/32\",\r\n \"40.80.63.160/27\",\r\n + \ \"104.215.1.53/32\",\r\n \"104.215.21.39/32\",\r\n \"104.215.55.227/32\",\r\n + \ \"2603:1040:606:402::c0/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureCosmosDB.KoreaCentral\",\r\n \"id\": + \"AzureCosmosDB.KoreaCentral\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"3\",\r\n \"region\": + \"koreacentral\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureCosmosDB\",\r\n \"addressPrefixes\": + [\r\n \"20.41.69.64/27\",\r\n \"20.44.26.0/26\",\r\n \"20.194.66.64/26\",\r\n + \ \"52.231.18.0/28\",\r\n \"52.231.25.123/32\",\r\n \"52.231.39.143/32\",\r\n + \ \"52.231.56.0/28\",\r\n \"2603:1040:f05::680/123\",\r\n + \ \"2603:1040:f05:402::c0/122\",\r\n \"2603:1040:f05:802::c0/122\",\r\n + \ \"2603:1040:f05:c02::c0/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureCosmosDB.KoreaSouth\",\r\n \"id\": \"AzureCosmosDB.KoreaSouth\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"koreasouth\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureCosmosDB\",\r\n \"addressPrefixes\": [\r\n \"40.80.173.0/27\",\r\n + \ \"52.231.146.0/27\",\r\n \"52.231.206.234/32\",\r\n \"52.231.207.31/32\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCosmosDB.NorthCentralUS\",\r\n + \ \"id\": \"AzureCosmosDB.NorthCentralUS\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"northcentralus\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureCosmosDB\",\r\n \"addressPrefixes\": [\r\n \"20.49.114.128/27\",\r\n + \ \"23.96.180.213/32\",\r\n \"23.96.219.207/32\",\r\n \"23.96.242.234/32\",\r\n + \ \"52.162.106.0/26\",\r\n \"52.162.252.26/32\",\r\n \"65.52.210.9/32\",\r\n + \ \"157.55.170.133/32\",\r\n \"2603:1030:608:402::c0/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCosmosDB.NorthEurope\",\r\n + \ \"id\": \"AzureCosmosDB.NorthEurope\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"northeurope\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureCosmosDB\",\r\n \"addressPrefixes\": + [\r\n \"13.69.226.0/25\",\r\n \"13.74.106.0/25\",\r\n \"13.79.34.236/32\",\r\n + \ \"40.113.90.91/32\",\r\n \"52.138.141.112/32\",\r\n \"52.138.197.33/32\",\r\n + \ \"52.138.201.47/32\",\r\n \"52.138.205.97/32\",\r\n \"52.138.206.153/32\",\r\n + \ \"52.138.227.192/26\",\r\n \"52.146.131.0/27\",\r\n \"52.164.250.188/32\",\r\n + \ \"52.169.122.37/32\",\r\n \"52.169.219.183/32\",\r\n \"2603:1020:5:402::c0/122\",\r\n + \ \"2603:1020:5:802::c0/122\",\r\n \"2603:1020:5:c02::c0/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCosmosDB.NorwayEast\",\r\n + \ \"id\": \"AzureCosmosDB.NorwayEast\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"norwaye\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureCosmosDB\",\r\n \"addressPrefixes\": + [\r\n \"51.120.44.128/27\",\r\n \"51.120.98.64/26\",\r\n + \ \"51.120.106.0/26\",\r\n \"51.120.210.0/26\",\r\n \"2603:1020:e04::680/123\",\r\n + \ \"2603:1020:e04:402::c0/122\",\r\n \"2603:1020:e04:802::c0/122\",\r\n + \ \"2603:1020:e04:c02::c0/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureCosmosDB.NorwayWest\",\r\n \"id\": \"AzureCosmosDB.NorwayWest\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"norwayw\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureCosmosDB\",\r\n \"addressPrefixes\": [\r\n \"51.120.218.64/26\",\r\n + \ \"51.120.228.160/27\",\r\n \"2603:1020:f04:402::c0/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCosmosDB.SouthAfricaNorth\",\r\n + \ \"id\": \"AzureCosmosDB.SouthAfricaNorth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"southafricanorth\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureCosmosDB\",\r\n \"addressPrefixes\": [\r\n \"102.133.122.0/26\",\r\n + \ \"102.133.154.64/26\",\r\n \"102.133.220.0/27\",\r\n \"102.133.250.0/26\",\r\n + \ \"2603:1000:104:402::c0/122\",\r\n \"2603:1000:104:802::c0/122\",\r\n + \ \"2603:1000:104:c02::c0/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureCosmosDB.SouthAfricaWest\",\r\n \"id\": + \"AzureCosmosDB.SouthAfricaWest\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\": + \"southafricawest\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureCosmosDB\",\r\n \"addressPrefixes\": + [\r\n \"102.133.26.64/26\",\r\n \"102.133.60.64/27\",\r\n + \ \"2603:1000:4:402::c0/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureCosmosDB.SouthCentralUS\",\r\n \"id\": + \"AzureCosmosDB.SouthCentralUS\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"3\",\r\n \"region\": + \"southcentralus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureCosmosDB\",\r\n \"addressPrefixes\": + [\r\n \"13.65.145.92/32\",\r\n \"13.66.26.107/32\",\r\n + \ \"13.66.82.75/32\",\r\n \"13.73.254.224/27\",\r\n \"13.84.150.178/32\",\r\n + \ \"13.84.157.70/32\",\r\n \"13.85.16.188/32\",\r\n \"20.45.122.0/26\",\r\n + \ \"20.49.90.64/26\",\r\n \"23.102.191.13/32\",\r\n \"104.210.217.251/32\",\r\n + \ \"104.214.18.0/25\",\r\n \"104.214.23.192/27\",\r\n \"104.214.26.177/32\",\r\n + \ \"2603:1030:807:402::c0/122\",\r\n \"2603:1030:807:802::c0/122\",\r\n + \ \"2603:1030:807:c02::c0/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureCosmosDB.SoutheastAsia\",\r\n \"id\": + \"AzureCosmosDB.SoutheastAsia\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\": + \"southeastasia\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"AzureCosmosDB\",\r\n \"addressPrefixes\": [\r\n \"13.67.8.0/26\",\r\n + \ \"13.76.161.130/32\",\r\n \"23.98.82.0/26\",\r\n \"23.98.107.224/27\",\r\n + \ \"40.78.236.192/26\",\r\n \"52.163.63.20/32\",\r\n \"52.163.249.82/32\",\r\n + \ \"52.187.11.8/32\",\r\n \"52.187.12.93/32\",\r\n \"52.230.15.63/32\",\r\n + \ \"52.230.23.170/32\",\r\n \"52.230.70.94/32\",\r\n \"52.230.87.21/32\",\r\n + \ \"2603:1040:5:402::c0/122\",\r\n \"2603:1040:5:802::c0/122\",\r\n + \ \"2603:1040:5:c02::c0/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureCosmosDB.SouthIndia\",\r\n \"id\": \"AzureCosmosDB.SouthIndia\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"southindia\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureCosmosDB\",\r\n \"addressPrefixes\": [\r\n \"13.71.115.125/32\",\r\n + \ \"13.71.124.81/32\",\r\n \"20.41.199.128/27\",\r\n \"40.78.194.0/28\",\r\n + \ \"52.172.55.127/32\",\r\n \"104.211.227.84/32\",\r\n \"2603:1040:c06:402::c0/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCosmosDB.SwitzerlandNorth\",\r\n + \ \"id\": \"AzureCosmosDB.SwitzerlandNorth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"switzerlandn\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureCosmosDB\",\r\n \"addressPrefixes\": + [\r\n \"51.107.52.224/27\",\r\n \"51.107.58.64/26\",\r\n + \ \"2603:1020:a04:402::c0/122\",\r\n \"2603:1020:a04:802::c0/122\",\r\n + \ \"2603:1020:a04:c02::c0/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureCosmosDB.SwitzerlandWest\",\r\n \"id\": + \"AzureCosmosDB.SwitzerlandWest\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\": + \"switzerlandw\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureCosmosDB\",\r\n \"addressPrefixes\": + [\r\n \"51.107.148.32/27\",\r\n \"51.107.154.64/26\",\r\n + \ \"2603:1020:b04:402::c0/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureCosmosDB.UAECentral\",\r\n \"id\": \"AzureCosmosDB.UAECentral\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"uaecentral\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureCosmosDB\",\r\n \"addressPrefixes\": [\r\n \"20.37.68.160/27\",\r\n + \ \"20.37.75.128/26\",\r\n \"2603:1040:b04:402::c0/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCosmosDB.UAENorth\",\r\n + \ \"id\": \"AzureCosmosDB.UAENorth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"uaenorth\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureCosmosDB\",\r\n \"addressPrefixes\": + [\r\n \"20.38.140.128/27\",\r\n \"40.120.74.64/26\",\r\n + \ \"65.52.251.128/26\",\r\n \"2603:1040:904:402::c0/122\",\r\n + \ \"2603:1040:904:802::c0/122\",\r\n \"2603:1040:904:c02::c0/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCosmosDB.UKSouth\",\r\n + \ \"id\": \"AzureCosmosDB.UKSouth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"uksouth\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"AzureCosmosDB\",\r\n \"addressPrefixes\": [\r\n \"51.104.31.128/27\",\r\n + \ \"51.105.66.0/26\",\r\n \"51.105.74.0/26\",\r\n \"51.140.52.73/32\",\r\n + \ \"51.140.70.75/32\",\r\n \"51.140.75.146/32\",\r\n \"51.140.83.56/32\",\r\n + \ \"51.140.99.233/32\",\r\n \"51.140.146.0/27\",\r\n \"51.143.189.37/32\",\r\n + \ \"2603:1020:705:402::c0/122\",\r\n \"2603:1020:705:802::c0/122\",\r\n + \ \"2603:1020:705:c02::c0/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureCosmosDB.UKWest\",\r\n \"id\": \"AzureCosmosDB.UKWest\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"ukwest\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureCosmosDB\",\r\n \"addressPrefixes\": [\r\n \"51.137.166.128/27\",\r\n + \ \"51.140.210.0/27\",\r\n \"51.141.11.34/32\",\r\n \"51.141.25.77/32\",\r\n + \ \"51.141.53.76/32\",\r\n \"51.141.55.229/32\",\r\n \"2603:1020:605:402::c0/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCosmosDB.WestCentralUS\",\r\n + \ \"id\": \"AzureCosmosDB.WestCentralUS\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"westcentralus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureCosmosDB\",\r\n \"addressPrefixes\": + [\r\n \"13.71.194.0/26\",\r\n \"13.78.188.25/32\",\r\n \"52.150.154.224/27\",\r\n + \ \"52.161.13.67/32\",\r\n \"52.161.15.197/32\",\r\n \"52.161.22.131/32\",\r\n + \ \"52.161.100.126/32\",\r\n \"2603:1030:b04:402::c0/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCosmosDB.WestEurope\",\r\n + \ \"id\": \"AzureCosmosDB.WestEurope\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"westeurope\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureCosmosDB\",\r\n \"addressPrefixes\": + [\r\n \"13.69.66.0/25\",\r\n \"13.69.66.128/29\",\r\n \"13.69.112.0/25\",\r\n + \ \"13.81.51.99/32\",\r\n \"13.94.201.5/32\",\r\n \"13.95.234.68/32\",\r\n + \ \"20.61.97.0/27\",\r\n \"40.68.44.85/32\",\r\n \"40.114.240.253/32\",\r\n + \ \"51.144.177.166/32\",\r\n \"51.144.182.233/32\",\r\n \"52.174.253.239/32\",\r\n + \ \"52.178.108.222/32\",\r\n \"52.232.59.220/32\",\r\n \"52.233.128.86/32\",\r\n + \ \"52.236.189.0/26\",\r\n \"104.45.16.183/32\",\r\n \"2603:1020:206:402::c0/122\",\r\n + \ \"2603:1020:206:802::c0/122\",\r\n \"2603:1020:206:c02::c0/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCosmosDB.WestIndia\",\r\n + \ \"id\": \"AzureCosmosDB.WestIndia\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"westindia\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"AzureCosmosDB\",\r\n \"addressPrefixes\": [\r\n \"52.136.52.64/27\",\r\n + \ \"104.211.146.0/28\",\r\n \"104.211.162.94/32\",\r\n \"104.211.184.117/32\",\r\n + \ \"104.211.188.174/32\",\r\n \"2603:1040:806:402::c0/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureCosmosDB.WestUS\",\r\n + \ \"id\": \"AzureCosmosDB.WestUS\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"westus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureCosmosDB\",\r\n \"addressPrefixes\": + [\r\n \"13.64.69.151/32\",\r\n \"13.64.113.68/32\",\r\n + \ \"13.64.114.48/32\",\r\n \"13.64.194.140/32\",\r\n \"13.88.30.39/32\",\r\n + \ \"13.91.246.52/32\",\r\n \"13.93.153.80/32\",\r\n \"13.93.156.125/32\",\r\n + \ \"13.93.207.66/32\",\r\n \"20.49.126.160/27\",\r\n \"40.83.137.191/32\",\r\n + \ \"40.112.140.12/32\",\r\n \"40.112.241.0/24\",\r\n \"40.112.249.60/32\",\r\n + \ \"40.118.245.44/32\",\r\n \"40.118.245.251/32\",\r\n \"137.117.9.157/32\",\r\n + \ \"2603:1030:a07:402::c0/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureCosmosDB.WestUS2\",\r\n \"id\": \"AzureCosmosDB.WestUS2\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"westus2\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureCosmosDB\",\r\n \"addressPrefixes\": [\r\n \"13.66.138.0/26\",\r\n + \ \"20.36.26.132/32\",\r\n \"40.64.135.0/27\",\r\n \"40.65.106.154/32\",\r\n + \ \"40.65.114.105/32\",\r\n \"40.78.243.192/26\",\r\n \"40.78.250.0/26\",\r\n + \ \"52.151.16.118/32\",\r\n \"52.158.234.203/32\",\r\n \"52.183.42.252/32\",\r\n + \ \"52.183.66.36/32\",\r\n \"52.183.92.223/32\",\r\n \"52.183.119.101/32\",\r\n + \ \"2603:1030:c06:400::8c0/122\",\r\n \"2603:1030:c06:802::c0/122\",\r\n + \ \"2603:1030:c06:c02::c0/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureDatabricks\",\r\n \"id\": \"AzureDatabricks\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"3\",\r\n \"region\": \"\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureDatabricks\",\r\n \"addressPrefixes\": + [\r\n \"13.70.105.50/32\",\r\n \"13.70.107.141/32\",\r\n + \ \"13.71.184.74/32\",\r\n \"13.71.187.166/32\",\r\n \"13.75.164.249/32\",\r\n + \ \"13.75.218.172/32\",\r\n \"13.78.18.152/32\",\r\n \"13.78.19.235/32\",\r\n + \ \"13.86.58.215/32\",\r\n \"13.88.249.244/32\",\r\n \"20.36.120.68/30\",\r\n + \ \"20.37.64.68/30\",\r\n \"20.37.156.208/28\",\r\n \"20.37.195.16/29\",\r\n + \ \"20.37.224.68/30\",\r\n \"20.38.84.80/28\",\r\n \"20.38.136.120/29\",\r\n + \ \"20.39.8.68/30\",\r\n \"20.41.4.112/28\",\r\n \"20.41.65.136/29\",\r\n + \ \"20.41.192.68/30\",\r\n \"20.42.4.208/28\",\r\n \"20.42.129.160/28\",\r\n + \ \"20.42.224.68/30\",\r\n \"20.43.41.152/29\",\r\n \"20.43.65.144/29\",\r\n + \ \"20.43.130.96/28\",\r\n \"20.45.112.68/30\",\r\n \"20.45.192.68/30\",\r\n + \ \"20.46.12.200/29\",\r\n \"20.46.121.76/32\",\r\n \"20.72.16.32/29\",\r\n + \ \"20.150.160.104/30\",\r\n \"20.150.160.208/29\",\r\n \"20.186.83.56/32\",\r\n + \ \"20.189.106.192/28\",\r\n \"20.192.160.32/29\",\r\n \"20.192.225.24/29\",\r\n + \ \"20.194.4.102/32\",\r\n \"23.97.106.142/32\",\r\n \"23.97.201.41/32\",\r\n + \ \"23.100.0.135/32\",\r\n \"23.100.226.13/32\",\r\n \"23.101.147.147/32\",\r\n + \ \"23.101.152.95/32\",\r\n \"40.67.48.68/30\",\r\n \"40.70.58.221/32\",\r\n + \ \"40.74.30.80/28\",\r\n \"40.80.56.68/30\",\r\n \"40.80.168.68/30\",\r\n + \ \"40.80.188.0/28\",\r\n \"40.82.248.112/28\",\r\n \"40.83.176.199/32\",\r\n + \ \"40.83.178.242/32\",\r\n \"40.85.223.25/32\",\r\n \"40.86.167.110/32\",\r\n + \ \"40.89.16.68/30\",\r\n \"40.89.168.225/32\",\r\n \"40.89.170.184/32\",\r\n + \ \"40.89.171.101/32\",\r\n \"40.118.174.12/32\",\r\n \"40.119.9.208/28\",\r\n + \ \"40.123.212.253/32\",\r\n \"40.123.218.63/32\",\r\n \"40.123.219.125/32\",\r\n + \ \"40.123.225.135/32\",\r\n \"40.127.5.82/32\",\r\n \"40.127.5.124/32\",\r\n + \ \"40.127.147.196/32\",\r\n \"51.12.41.16/30\",\r\n \"51.12.47.16/29\",\r\n + \ \"51.12.193.16/30\",\r\n \"51.12.198.200/29\",\r\n \"51.103.18.111/32\",\r\n + \ \"51.104.25.136/30\",\r\n \"51.105.80.68/30\",\r\n \"51.105.88.68/30\",\r\n + \ \"51.107.48.120/30\",\r\n \"51.107.144.68/30\",\r\n \"51.120.40.120/30\",\r\n + \ \"51.120.224.68/30\",\r\n \"51.120.234.176/29\",\r\n \"51.137.160.120/29\",\r\n + \ \"51.138.96.158/32\",\r\n \"51.140.200.46/32\",\r\n \"51.140.203.27/32\",\r\n + \ \"51.140.204.4/32\",\r\n \"51.141.103.193/32\",\r\n \"51.143.192.68/30\",\r\n + \ \"52.136.48.68/30\",\r\n \"52.140.104.120/29\",\r\n \"52.141.6.71/32\",\r\n + \ \"52.141.6.181/32\",\r\n \"52.141.22.164/32\",\r\n \"52.146.50.16/32\",\r\n + \ \"52.150.136.68/30\",\r\n \"52.172.133.58/32\",\r\n \"52.187.0.85/32\",\r\n + \ \"52.187.3.203/32\",\r\n \"52.187.145.107/32\",\r\n \"52.228.81.136/29\",\r\n + \ \"52.230.27.216/32\",\r\n \"52.232.19.246/32\",\r\n \"52.246.160.72/32\",\r\n + \ \"52.247.0.200/32\",\r\n \"102.37.41.3/32\",\r\n \"102.133.56.68/30\",\r\n + \ \"102.133.216.96/29\",\r\n \"102.133.224.24/32\",\r\n \"104.41.54.118/32\",\r\n + \ \"104.45.7.191/32\",\r\n \"104.211.89.81/32\",\r\n \"104.211.101.14/32\",\r\n + \ \"104.211.103.82/32\",\r\n \"191.232.53.223/32\",\r\n \"191.233.8.32/29\",\r\n + \ \"191.234.160.82/32\",\r\n \"191.235.225.144/29\",\r\n + \ \"2603:1000:4::160/123\",\r\n \"2603:1000:104:1::160/123\",\r\n + \ \"2603:1010:6:1::160/123\",\r\n \"2603:1010:101::160/123\",\r\n + \ \"2603:1010:304::160/123\",\r\n \"2603:1010:404::160/123\",\r\n + \ \"2603:1020:5:1::160/123\",\r\n \"2603:1020:206:1::160/123\",\r\n + \ \"2603:1020:305::160/123\",\r\n \"2603:1020:405::160/123\",\r\n + \ \"2603:1020:605::160/123\",\r\n \"2603:1020:705:1::160/123\",\r\n + \ \"2603:1020:805:1::160/123\",\r\n \"2603:1020:905::160/123\",\r\n + \ \"2603:1020:a04:1::160/123\",\r\n \"2603:1020:b04::160/123\",\r\n + \ \"2603:1020:c04:1::160/123\",\r\n \"2603:1020:d04::160/123\",\r\n + \ \"2603:1020:e04:1::160/123\",\r\n \"2603:1020:f04::160/123\",\r\n + \ \"2603:1020:1004::160/123\",\r\n \"2603:1020:1104::160/123\",\r\n + \ \"2603:1030:f:1::160/123\",\r\n \"2603:1030:10:1::160/123\",\r\n + \ \"2603:1030:104:1::160/123\",\r\n \"2603:1030:107::160/123\",\r\n + \ \"2603:1030:210:1::160/123\",\r\n \"2603:1030:40b:1::160/123\",\r\n + \ \"2603:1030:40c:1::160/123\",\r\n \"2603:1030:504:1::160/123\",\r\n + \ \"2603:1030:608::160/123\",\r\n \"2603:1030:807:1::160/123\",\r\n + \ \"2603:1030:a07::160/123\",\r\n \"2603:1030:b04::160/123\",\r\n + \ \"2603:1030:c06:1::160/123\",\r\n \"2603:1030:f05:1::160/123\",\r\n + \ \"2603:1030:1005::160/123\",\r\n \"2603:1040:5:1::160/123\",\r\n + \ \"2603:1040:207::160/123\",\r\n \"2603:1040:407:1::160/123\",\r\n + \ \"2603:1040:606::160/123\",\r\n \"2603:1040:806::160/123\",\r\n + \ \"2603:1040:904:1::160/123\",\r\n \"2603:1040:a06:1::160/123\",\r\n + \ \"2603:1040:b04::160/123\",\r\n \"2603:1040:c06::160/123\",\r\n + \ \"2603:1040:d04::160/123\",\r\n \"2603:1040:f05:1::160/123\",\r\n + \ \"2603:1040:1104::160/123\",\r\n \"2603:1050:6:1::160/123\",\r\n + \ \"2603:1050:403::160/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureDataExplorerManagement\",\r\n \"id\": + \"AzureDataExplorerManagement\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"5\",\r\n \"region\": + \"\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n + \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureDataExplorerManagement\",\r\n + \ \"addressPrefixes\": [\r\n \"13.64.38.225/32\",\r\n \"13.66.141.160/28\",\r\n + \ \"13.69.106.240/28\",\r\n \"13.69.229.176/28\",\r\n \"13.70.73.112/28\",\r\n + \ \"13.71.173.64/28\",\r\n \"13.71.196.64/28\",\r\n \"13.73.240.96/28\",\r\n + \ \"13.75.39.0/28\",\r\n \"13.77.52.240/28\",\r\n \"13.86.36.42/32\",\r\n + \ \"13.86.219.64/28\",\r\n \"13.87.57.224/28\",\r\n \"13.87.123.224/28\",\r\n + \ \"13.89.174.80/28\",\r\n \"20.36.242.104/32\",\r\n \"20.37.24.1/32\",\r\n + \ \"20.39.97.38/32\",\r\n \"20.39.99.177/32\",\r\n \"20.40.114.21/32\",\r\n + \ \"20.40.161.39/32\",\r\n \"20.43.89.90/32\",\r\n \"20.43.120.96/28\",\r\n + \ \"20.44.16.96/28\",\r\n \"20.44.27.96/28\",\r\n \"20.45.3.60/32\",\r\n + \ \"20.46.13.240/28\",\r\n \"20.46.146.7/32\",\r\n \"20.72.27.128/28\",\r\n + \ \"20.150.171.192/28\",\r\n \"20.150.245.112/28\",\r\n \"20.185.100.27/32\",\r\n + \ \"20.189.74.103/32\",\r\n \"20.192.47.96/28\",\r\n \"20.192.235.128/28\",\r\n + \ \"20.193.203.96/28\",\r\n \"20.194.75.224/28\",\r\n \"23.98.82.240/28\",\r\n + \ \"40.66.57.57/32\",\r\n \"40.66.57.91/32\",\r\n \"40.67.188.68/32\",\r\n + \ \"40.69.107.240/28\",\r\n \"40.71.13.176/28\",\r\n \"40.74.101.208/28\",\r\n + \ \"40.74.147.80/28\",\r\n \"40.78.195.240/28\",\r\n \"40.78.203.176/28\",\r\n + \ \"40.79.131.224/28\",\r\n \"40.79.179.208/28\",\r\n \"40.79.187.16/28\",\r\n + \ \"40.80.234.9/32\",\r\n \"40.80.250.168/32\",\r\n \"40.80.255.12/32\",\r\n + \ \"40.81.28.50/32\",\r\n \"40.81.43.47/32\",\r\n \"40.81.56.122/32\",\r\n + \ \"40.81.72.110/32\",\r\n \"40.81.88.112/32\",\r\n \"40.81.89.242/32\",\r\n + \ \"40.81.122.39/32\",\r\n \"40.81.154.254/32\",\r\n \"40.81.184.86/32\",\r\n + \ \"40.81.220.38/32\",\r\n \"40.81.248.53/32\",\r\n \"40.81.249.251/32\",\r\n + \ \"40.82.154.174/32\",\r\n \"40.82.156.149/32\",\r\n \"40.82.188.208/32\",\r\n + \ \"40.82.217.84/32\",\r\n \"40.82.236.24/32\",\r\n \"40.89.56.69/32\",\r\n + \ \"40.90.219.23/32\",\r\n \"40.91.74.95/32\",\r\n \"40.119.3.195/32\",\r\n + \ \"40.119.203.252/32\",\r\n \"51.12.20.48/28\",\r\n \"51.12.28.48/28\",\r\n + \ \"51.12.99.192/28\",\r\n \"51.12.203.192/28\",\r\n \"51.104.8.112/28\",\r\n + \ \"51.107.59.160/28\",\r\n \"51.107.98.201/32\",\r\n \"51.107.155.160/28\",\r\n + \ \"51.116.59.160/28\",\r\n \"51.116.98.150/32\",\r\n \"51.116.155.224/28\",\r\n + \ \"51.120.99.80/28\",\r\n \"51.120.219.192/28\",\r\n \"51.120.235.224/28\",\r\n + \ \"51.140.212.0/28\",\r\n \"51.145.176.215/32\",\r\n \"52.142.91.221/32\",\r\n + \ \"52.159.55.120/32\",\r\n \"52.162.110.176/28\",\r\n \"52.224.146.56/32\",\r\n + \ \"52.231.148.16/28\",\r\n \"52.232.230.201/32\",\r\n \"52.253.159.186/32\",\r\n + \ \"52.253.225.186/32\",\r\n \"52.253.226.110/32\",\r\n \"102.133.0.192/32\",\r\n + \ \"102.133.28.112/28\",\r\n \"102.133.130.206/32\",\r\n + \ \"102.133.156.16/28\",\r\n \"104.211.147.224/28\",\r\n + \ \"191.233.25.183/32\",\r\n \"191.233.50.208/28\",\r\n \"191.233.205.0/28\",\r\n + \ \"2603:1000:4:1::380/121\",\r\n \"2603:1000:4:402::150/124\",\r\n + \ \"2603:1000:104:2::100/121\",\r\n \"2603:1000:104:402::150/124\",\r\n + \ \"2603:1010:6::600/121\",\r\n \"2603:1010:6:402::150/124\",\r\n + \ \"2603:1010:101:1::380/121\",\r\n \"2603:1010:101:402::150/124\",\r\n + \ \"2603:1010:304:1::380/121\",\r\n \"2603:1010:304:402::150/124\",\r\n + \ \"2603:1010:404:1::380/121\",\r\n \"2603:1010:404:402::150/124\",\r\n + \ \"2603:1020:5::600/121\",\r\n \"2603:1020:5:402::150/124\",\r\n + \ \"2603:1020:206::600/121\",\r\n \"2603:1020:206:402::150/124\",\r\n + \ \"2603:1020:305:402::150/124\",\r\n \"2603:1020:405:402::150/124\",\r\n + \ \"2603:1020:605:1::380/121\",\r\n \"2603:1020:605:402::150/124\",\r\n + \ \"2603:1020:705::600/121\",\r\n \"2603:1020:705:402::150/124\",\r\n + \ \"2603:1020:805::600/121\",\r\n \"2603:1020:805:402::150/124\",\r\n + \ \"2603:1020:905:1::380/121\",\r\n \"2603:1020:905:402::150/124\",\r\n + \ \"2603:1020:a04::600/121\",\r\n \"2603:1020:a04:402::150/124\",\r\n + \ \"2603:1020:b04:1::380/121\",\r\n \"2603:1020:b04:402::150/124\",\r\n + \ \"2603:1020:c04::600/121\",\r\n \"2603:1020:c04:402::150/124\",\r\n + \ \"2603:1020:d04:1::380/121\",\r\n \"2603:1020:d04:402::150/124\",\r\n + \ \"2603:1020:e04::600/121\",\r\n \"2603:1020:e04:402::150/124\",\r\n + \ \"2603:1020:f04:1::380/121\",\r\n \"2603:1020:f04:402::150/124\",\r\n + \ \"2603:1020:1004:2::100/121\",\r\n \"2603:1020:1004:800::d0/124\",\r\n + \ \"2603:1020:1104:1::600/121\",\r\n \"2603:1020:1104:400::150/124\",\r\n + \ \"2603:1030:f:2::380/121\",\r\n \"2603:1030:f:400::950/124\",\r\n + \ \"2603:1030:10::600/121\",\r\n \"2603:1030:10:402::150/124\",\r\n + \ \"2603:1030:104::600/121\",\r\n \"2603:1030:104:402::150/124\",\r\n + \ \"2603:1030:107:1::300/121\",\r\n \"2603:1030:107:400::e0/124\",\r\n + \ \"2603:1030:210::600/121\",\r\n \"2603:1030:210:402::150/124\",\r\n + \ \"2603:1030:40b:2::400/121\",\r\n \"2603:1030:40b:400::950/124\",\r\n + \ \"2603:1030:40c::600/121\",\r\n \"2603:1030:40c:402::150/124\",\r\n + \ \"2603:1030:504:2::180/121\",\r\n \"2603:1030:504:802::d0/124\",\r\n + \ \"2603:1030:608:1::380/121\",\r\n \"2603:1030:608:402::150/124\",\r\n + \ \"2603:1030:807::600/121\",\r\n \"2603:1030:807:402::150/124\",\r\n + \ \"2603:1030:a07:1::380/121\",\r\n \"2603:1030:a07:402::8d0/124\",\r\n + \ \"2603:1030:b04:1::380/121\",\r\n \"2603:1030:b04:402::150/124\",\r\n + \ \"2603:1030:c06:2::400/121\",\r\n \"2603:1030:c06:400::950/124\",\r\n + \ \"2603:1030:f05::600/121\",\r\n \"2603:1030:f05:402::150/124\",\r\n + \ \"2603:1030:1005:1::380/121\",\r\n \"2603:1030:1005:402::150/124\",\r\n + \ \"2603:1040:5::700/121\",\r\n \"2603:1040:5:402::150/124\",\r\n + \ \"2603:1040:207:1::380/121\",\r\n \"2603:1040:207:402::150/124\",\r\n + \ \"2603:1040:407::600/121\",\r\n \"2603:1040:407:402::150/124\",\r\n + \ \"2603:1040:606:1::380/121\",\r\n \"2603:1040:606:402::150/124\",\r\n + \ \"2603:1040:806:1::380/121\",\r\n \"2603:1040:806:402::150/124\",\r\n + \ \"2603:1040:904::600/121\",\r\n \"2603:1040:904:402::150/124\",\r\n + \ \"2603:1040:a06::700/121\",\r\n \"2603:1040:a06:402::150/124\",\r\n + \ \"2603:1040:b04:1::380/121\",\r\n \"2603:1040:b04:402::150/124\",\r\n + \ \"2603:1040:c06:1::380/121\",\r\n \"2603:1040:c06:402::150/124\",\r\n + \ \"2603:1040:d04:2::280/121\",\r\n \"2603:1040:d04:800::d0/124\",\r\n + \ \"2603:1040:e05::180/121\",\r\n \"2603:1040:f05::600/121\",\r\n + \ \"2603:1040:f05:402::150/124\",\r\n \"2603:1040:1104:1::680/121\",\r\n + \ \"2603:1040:1104:400::150/124\",\r\n \"2603:1050:6::600/121\",\r\n + \ \"2603:1050:6:402::150/124\",\r\n \"2603:1050:403:1::400/121\",\r\n + \ \"2603:1050:403:400::2b0/124\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureDataExplorerManagement.EastAsia\",\r\n \"id\": + \"AzureDataExplorerManagement.EastAsia\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"eastasia\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\"\r\n ],\r\n \"systemService\": \"AzureDataExplorerManagement\",\r\n + \ \"addressPrefixes\": [\r\n \"13.75.39.0/28\",\r\n \"20.189.74.103/32\",\r\n + \ \"40.81.28.50/32\",\r\n \"2603:1040:207:1::380/121\",\r\n + \ \"2603:1040:207:402::150/124\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureDataExplorerManagement.EastUS\",\r\n \"id\": + \"AzureDataExplorerManagement.EastUS\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"eastus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\"\r\n ],\r\n \"systemService\": \"AzureDataExplorerManagement\",\r\n + \ \"addressPrefixes\": [\r\n \"20.185.100.27/32\",\r\n \"40.71.13.176/28\",\r\n + \ \"52.224.146.56/32\",\r\n \"2603:1030:210::600/121\",\r\n + \ \"2603:1030:210:402::150/124\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureDataExplorerManagement.FranceCentral\",\r\n + \ \"id\": \"AzureDataExplorerManagement.FranceCentral\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"centralfrance\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\"\r\n ],\r\n \"systemService\": \"AzureDataExplorerManagement\",\r\n + \ \"addressPrefixes\": [\r\n \"40.66.57.57/32\",\r\n \"40.66.57.91/32\",\r\n + \ \"40.79.131.224/28\",\r\n \"2603:1020:805::600/121\",\r\n + \ \"2603:1020:805:402::150/124\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureDataExplorerManagement.GermanyWestCentral\",\r\n + \ \"id\": \"AzureDataExplorerManagement.GermanyWestCentral\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"germanywc\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\"\r\n ],\r\n \"systemService\": \"AzureDataExplorerManagement\",\r\n + \ \"addressPrefixes\": [\r\n \"51.116.98.150/32\",\r\n \"51.116.155.224/28\",\r\n + \ \"2603:1020:c04::600/121\",\r\n \"2603:1020:c04:402::150/124\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureDataExplorerManagement.SouthIndia\",\r\n + \ \"id\": \"AzureDataExplorerManagement.SouthIndia\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"southindia\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\"\r\n ],\r\n \"systemService\": \"AzureDataExplorerManagement\",\r\n + \ \"addressPrefixes\": [\r\n \"40.78.195.240/28\",\r\n \"40.81.72.110/32\",\r\n + \ \"2603:1040:c06:1::380/121\",\r\n \"2603:1040:c06:402::150/124\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureDataExplorerManagement.WestUS\",\r\n + \ \"id\": \"AzureDataExplorerManagement.WestUS\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"westus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\"\r\n ],\r\n \"systemService\": \"AzureDataExplorerManagement\",\r\n + \ \"addressPrefixes\": [\r\n \"13.64.38.225/32\",\r\n \"13.86.219.64/28\",\r\n + \ \"2603:1030:a07:1::380/121\",\r\n \"2603:1030:a07:402::8d0/124\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureDataLake\",\r\n + \ \"id\": \"AzureDataLake\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"1\",\r\n \"region\": + \"\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n + \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureDataLake\",\r\n \"addressPrefixes\": + [\r\n \"40.90.138.133/32\",\r\n \"40.90.138.136/32\",\r\n + \ \"40.90.141.128/29\",\r\n \"40.90.141.167/32\",\r\n \"40.90.144.0/27\",\r\n + \ \"40.90.145.192/26\",\r\n \"65.52.108.31/32\",\r\n \"65.52.108.38/32\",\r\n + \ \"104.44.88.66/31\",\r\n \"104.44.88.106/31\",\r\n \"104.44.88.112/31\",\r\n + \ \"104.44.88.176/31\",\r\n \"104.44.88.184/29\",\r\n \"104.44.89.39/32\",\r\n + \ \"104.44.89.42/32\",\r\n \"104.44.90.128/27\",\r\n \"104.44.90.194/31\",\r\n + \ \"104.44.91.64/27\",\r\n \"104.44.91.160/27\",\r\n \"104.44.93.192/27\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureDataLake.AustraliaSoutheast\",\r\n + \ \"id\": \"AzureDataLake.AustraliaSoutheast\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"australiasoutheast\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\"\r\n ],\r\n \"systemService\": + \"AzureDataLake\",\r\n \"addressPrefixes\": [\r\n \"40.90.138.133/32\",\r\n + \ \"40.90.138.136/32\"\r\n ]\r\n }\r\n },\r\n {\r\n + \ \"name\": \"AzureDataLake.WestEurope\",\r\n \"id\": \"AzureDataLake.WestEurope\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"1\",\r\n \"region\": \"westeurope\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\"\r\n ],\r\n \"systemService\": + \"AzureDataLake\",\r\n \"addressPrefixes\": [\r\n \"40.90.141.167/32\",\r\n + \ \"40.90.145.192/27\",\r\n \"104.44.90.194/31\",\r\n \"104.44.93.192/27\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureDevSpaces\",\r\n + \ \"id\": \"AzureDevSpaces\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"1\",\r\n \"region\": + \"\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n + \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureDevSpaces\",\r\n \"addressPrefixes\": + [\r\n \"13.69.71.144/28\",\r\n \"13.70.78.176/28\",\r\n + \ \"13.71.175.112/28\",\r\n \"13.71.199.96/28\",\r\n \"13.73.244.128/28\",\r\n + \ \"13.74.111.128/28\",\r\n \"13.78.111.144/28\",\r\n \"13.86.221.224/28\",\r\n + \ \"20.37.157.64/28\",\r\n \"20.37.195.80/28\",\r\n \"20.38.85.128/28\",\r\n + \ \"20.39.11.64/28\",\r\n \"20.41.5.128/28\",\r\n \"20.42.6.32/27\",\r\n + \ \"20.42.6.128/28\",\r\n \"20.42.64.64/26\",\r\n \"20.42.131.192/27\",\r\n + \ \"20.42.230.64/28\",\r\n \"20.43.65.208/28\",\r\n \"20.43.130.240/28\",\r\n + \ \"20.189.108.32/28\",\r\n \"40.69.110.176/28\",\r\n \"40.70.151.80/28\",\r\n + \ \"40.74.30.144/28\",\r\n \"40.75.35.224/28\",\r\n \"40.78.239.0/28\",\r\n + \ \"40.78.251.224/27\",\r\n \"40.82.253.112/28\",\r\n \"40.89.17.192/28\",\r\n + \ \"40.119.9.240/28\",\r\n \"51.104.25.208/28\",\r\n \"51.105.77.64/28\",\r\n + \ \"52.150.139.144/28\",\r\n \"52.182.141.128/28\",\r\n \"52.228.81.224/28\",\r\n + \ \"104.214.161.48/28\"\r\n ]\r\n }\r\n },\r\n {\r\n + \ \"name\": \"AzureDevSpaces.EastUS\",\r\n \"id\": \"AzureDevSpaces.EastUS\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"1\",\r\n \"region\": \"eastus\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n + \ ],\r\n \"systemService\": \"AzureDevSpaces\",\r\n \"addressPrefixes\": + [\r\n \"20.42.6.32/27\",\r\n \"20.42.6.128/28\",\r\n \"20.42.64.64/26\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureDevSpaces.EastUS2\",\r\n + \ \"id\": \"AzureDevSpaces.EastUS2\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"eastus2\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"AzureDevSpaces\",\r\n \"addressPrefixes\": [\r\n \"20.41.5.128/28\",\r\n + \ \"40.70.151.80/28\"\r\n ]\r\n }\r\n },\r\n {\r\n + \ \"name\": \"AzureDevSpaces.EastUS2EUAP\",\r\n \"id\": \"AzureDevSpaces.EastUS2EUAP\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"1\",\r\n \"region\": \"eastus2euap\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n + \ ],\r\n \"systemService\": \"AzureDevSpaces\",\r\n \"addressPrefixes\": + [\r\n \"20.39.11.64/28\",\r\n \"40.75.35.224/28\"\r\n ]\r\n + \ }\r\n },\r\n {\r\n \"name\": \"AzureDevSpaces.JapanEast\",\r\n + \ \"id\": \"AzureDevSpaces.JapanEast\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"japaneast\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"AzureDevSpaces\",\r\n \"addressPrefixes\": [\r\n \"13.78.111.144/28\",\r\n + \ \"20.43.65.208/28\"\r\n ]\r\n }\r\n },\r\n {\r\n + \ \"name\": \"AzureDevSpaces.NorthEurope\",\r\n \"id\": \"AzureDevSpaces.NorthEurope\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"1\",\r\n \"region\": \"northeurope\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n + \ ],\r\n \"systemService\": \"AzureDevSpaces\",\r\n \"addressPrefixes\": + [\r\n \"13.74.111.128/28\",\r\n \"20.38.85.128/28\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureDevSpaces.SoutheastAsia\",\r\n + \ \"id\": \"AzureDevSpaces.SoutheastAsia\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"southeastasia\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"AzureDevSpaces\",\r\n \"addressPrefixes\": [\r\n \"20.43.130.240/28\",\r\n + \ \"40.78.239.0/28\"\r\n ]\r\n }\r\n },\r\n {\r\n + \ \"name\": \"AzureDevSpaces.WestUS\",\r\n \"id\": \"AzureDevSpaces.WestUS\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"1\",\r\n \"region\": \"westus\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n + \ ],\r\n \"systemService\": \"AzureDevSpaces\",\r\n \"addressPrefixes\": + [\r\n \"13.86.221.224/28\",\r\n \"40.82.253.112/28\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureDevSpaces.WestUS2\",\r\n + \ \"id\": \"AzureDevSpaces.WestUS2\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"westus2\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"AzureDevSpaces\",\r\n \"addressPrefixes\": [\r\n \"20.42.131.192/27\",\r\n + \ \"40.78.251.224/27\"\r\n ]\r\n }\r\n },\r\n {\r\n + \ \"name\": \"AzureDigitalTwins\",\r\n \"id\": \"AzureDigitalTwins\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"5\",\r\n \"region\": \"\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureDigitalTwins\",\r\n \"addressPrefixes\": + [\r\n \"20.36.125.120/29\",\r\n \"20.36.125.192/27\",\r\n + \ \"20.37.70.112/29\",\r\n \"20.37.70.192/27\",\r\n \"20.38.142.112/29\",\r\n + \ \"20.38.142.192/27\",\r\n \"20.39.2.134/32\",\r\n \"20.39.2.208/32\",\r\n + \ \"20.39.2.237/32\",\r\n \"20.39.3.11/32\",\r\n \"20.39.3.14/32\",\r\n + \ \"20.39.3.17/32\",\r\n \"20.39.3.38/32\",\r\n \"20.39.18.169/32\",\r\n + \ \"20.40.225.48/29\",\r\n \"20.40.225.128/27\",\r\n \"20.43.47.72/29\",\r\n + \ \"20.43.47.96/27\",\r\n \"20.45.116.80/29\",\r\n \"20.45.116.96/27\",\r\n + \ \"20.46.10.56/29\",\r\n \"20.46.10.96/27\",\r\n \"20.48.193.128/27\",\r\n + \ \"20.48.193.160/29\",\r\n \"20.49.103.112/29\",\r\n \"20.49.103.192/27\",\r\n + \ \"20.49.118.8/29\",\r\n \"20.49.118.32/27\",\r\n \"20.49.248.209/32\",\r\n + \ \"20.49.249.56/32\",\r\n \"20.49.249.78/32\",\r\n \"20.49.249.101/32\",\r\n + \ \"20.49.249.106/32\",\r\n \"20.49.249.156/32\",\r\n \"20.49.249.189/32\",\r\n + \ \"20.49.249.208/32\",\r\n \"20.49.249.236/32\",\r\n \"20.49.250.2/32\",\r\n + \ \"20.50.211.192/32\",\r\n \"20.50.212.99/32\",\r\n \"20.50.212.103/32\",\r\n + \ \"20.50.212.140/32\",\r\n \"20.50.213.6/32\",\r\n \"20.50.213.76/32\",\r\n + \ \"20.50.213.88/32\",\r\n \"20.50.213.93/32\",\r\n \"20.50.213.94/32\",\r\n + \ \"20.50.213.120/32\",\r\n \"20.51.8.96/27\",\r\n \"20.51.8.192/29\",\r\n + \ \"20.51.16.176/29\",\r\n \"20.51.17.0/27\",\r\n \"20.51.73.8/32\",\r\n + \ \"20.51.73.11/32\",\r\n \"20.51.73.22/31\",\r\n \"20.51.73.25/32\",\r\n + \ \"20.51.73.26/31\",\r\n \"20.51.73.36/32\",\r\n \"20.51.73.39/32\",\r\n + \ \"20.51.73.44/32\",\r\n \"20.53.44.88/29\",\r\n \"20.53.44.96/27\",\r\n + \ \"20.53.48.0/27\",\r\n \"20.53.48.32/29\",\r\n \"20.53.114.26/32\",\r\n + \ \"20.53.114.71/32\",\r\n \"20.53.114.84/32\",\r\n \"20.53.114.118/32\",\r\n + \ \"20.58.66.0/27\",\r\n \"20.58.66.32/29\",\r\n \"20.61.98.144/29\",\r\n + \ \"20.61.99.0/27\",\r\n \"20.62.129.32/27\",\r\n \"20.62.129.128/29\",\r\n + \ \"20.65.130.72/29\",\r\n \"20.65.130.96/27\",\r\n \"20.66.2.16/29\",\r\n + \ \"20.66.2.128/27\",\r\n \"20.72.20.0/27\",\r\n \"20.150.166.176/29\",\r\n + \ \"20.150.167.128/27\",\r\n \"20.185.75.6/32\",\r\n \"20.185.75.209/32\",\r\n + \ \"20.187.197.16/29\",\r\n \"20.187.197.128/27\",\r\n \"20.189.224.224/27\",\r\n + \ \"20.189.225.64/29\",\r\n \"20.191.161.96/27\",\r\n \"20.191.161.192/29\",\r\n + \ \"20.192.166.176/29\",\r\n \"20.192.167.128/27\",\r\n \"20.192.231.192/27\",\r\n + \ \"20.192.231.224/29\",\r\n \"20.193.3.89/32\",\r\n \"20.193.3.243/32\",\r\n + \ \"20.193.7.70/32\",\r\n \"20.193.7.132/32\",\r\n \"20.193.59.172/32\",\r\n + \ \"20.193.59.253/32\",\r\n \"20.194.72.136/29\",\r\n \"20.194.72.160/27\",\r\n + \ \"23.98.108.184/29\",\r\n \"23.98.109.0/27\",\r\n \"40.67.52.104/29\",\r\n + \ \"40.67.52.192/27\",\r\n \"40.80.173.208/29\",\r\n \"40.80.173.224/27\",\r\n + \ \"40.119.241.130/32\",\r\n \"40.119.241.148/32\",\r\n \"40.119.241.154/32\",\r\n + \ \"40.119.242.73/32\",\r\n \"40.119.242.79/32\",\r\n \"40.119.242.168/32\",\r\n + \ \"40.119.242.232/32\",\r\n \"40.119.243.20/32\",\r\n \"40.119.243.119/32\",\r\n + \ \"40.119.243.178/32\",\r\n \"40.124.97.243/32\",\r\n \"40.124.98.14/31\",\r\n + \ \"40.124.98.23/32\",\r\n \"40.124.98.34/31\",\r\n \"40.124.98.48/32\",\r\n + \ \"40.124.98.52/32\",\r\n \"40.124.98.70/32\",\r\n \"40.124.99.100/32\",\r\n + \ \"51.12.43.144/29\",\r\n \"51.12.43.160/27\",\r\n \"51.12.194.120/29\",\r\n + \ \"51.12.195.192/27\",\r\n \"51.13.136.128/27\",\r\n \"51.13.136.160/29\",\r\n + \ \"51.104.141.227/32\",\r\n \"51.107.241.64/27\",\r\n \"51.107.241.96/29\",\r\n + \ \"51.107.249.80/29\",\r\n \"51.107.249.96/27\",\r\n \"51.116.51.176/29\",\r\n + \ \"51.116.54.0/27\",\r\n \"51.116.148.120/29\",\r\n \"51.116.148.192/27\",\r\n + \ \"51.120.232.40/29\",\r\n \"51.120.232.128/27\",\r\n \"51.143.208.208/29\",\r\n + \ \"51.143.208.224/27\",\r\n \"52.136.52.248/29\",\r\n \"52.136.53.64/27\",\r\n + \ \"52.136.184.80/29\",\r\n \"52.136.184.96/27\",\r\n \"52.139.106.96/27\",\r\n + \ \"52.140.111.112/29\",\r\n \"52.140.111.192/27\",\r\n \"52.142.120.18/32\",\r\n + \ \"52.142.120.22/32\",\r\n \"52.142.120.57/32\",\r\n \"52.142.120.74/32\",\r\n + \ \"52.142.120.90/32\",\r\n \"52.142.120.104/32\",\r\n \"52.142.120.156/32\",\r\n + \ \"52.146.132.192/27\",\r\n \"52.146.132.224/29\",\r\n \"52.148.29.27/32\",\r\n + \ \"52.149.20.142/32\",\r\n \"52.149.234.152/32\",\r\n \"52.149.238.190/32\",\r\n + \ \"52.149.239.34/32\",\r\n \"52.150.156.248/29\",\r\n \"52.150.157.32/27\",\r\n + \ \"52.153.153.146/32\",\r\n \"52.153.153.246/32\",\r\n \"52.153.153.255/32\",\r\n + \ \"52.153.154.13/32\",\r\n \"52.153.154.40/32\",\r\n \"52.153.154.123/32\",\r\n + \ \"52.153.154.158/32\",\r\n \"52.153.154.161/32\",\r\n \"52.156.207.58/32\",\r\n + \ \"52.156.207.195/32\",\r\n \"52.161.185.49/32\",\r\n \"52.170.161.49/32\",\r\n + \ \"52.170.162.28/32\",\r\n \"52.172.112.168/29\",\r\n \"52.172.113.0/27\",\r\n + \ \"52.186.106.218/32\",\r\n \"52.191.16.191/32\",\r\n \"52.191.18.106/32\",\r\n + \ \"52.247.76.74/32\",\r\n \"52.247.76.167/32\",\r\n \"52.247.76.187/32\",\r\n + \ \"52.247.76.199/32\",\r\n \"52.247.76.216/32\",\r\n \"52.247.76.246/32\",\r\n + \ \"52.247.76.252/32\",\r\n \"52.247.77.7/32\",\r\n \"52.247.77.22/32\",\r\n + \ \"52.247.77.26/32\",\r\n \"52.250.39.158/32\",\r\n \"52.250.39.236/32\",\r\n + \ \"52.250.39.246/32\",\r\n \"52.250.39.250/32\",\r\n \"52.250.72.145/32\",\r\n + \ \"52.250.73.36/32\",\r\n \"52.250.73.178/32\",\r\n \"52.250.73.204/32\",\r\n + \ \"52.250.74.3/32\",\r\n \"52.253.224.146/32\",\r\n \"52.253.224.154/32\",\r\n + \ \"102.37.80.0/27\",\r\n \"102.37.80.32/29\",\r\n \"102.133.221.16/29\",\r\n + \ \"102.133.221.32/27\",\r\n \"104.46.178.120/29\",\r\n \"104.46.178.160/27\",\r\n + \ \"191.233.15.16/29\",\r\n \"191.233.15.32/27\",\r\n \"191.234.139.168/29\",\r\n + \ \"191.234.142.0/27\",\r\n \"2603:1020:e04::700/121\",\r\n + \ \"2603:1020:1004:1::540/122\",\r\n \"2603:1020:1004:2::/121\",\r\n + \ \"2603:1020:1104:1::380/122\",\r\n \"2603:1020:1104:1::680/121\",\r\n + \ \"2603:1030:f:2::500/121\",\r\n \"2603:1030:107::5c0/122\",\r\n + \ \"2603:1030:504::560/123\",\r\n \"2603:1030:504:2::/121\",\r\n + \ \"2603:1040:a06:2::200/121\",\r\n \"2603:1040:d04:1::540/122\",\r\n + \ \"2603:1040:d04:2::80/121\",\r\n \"2603:1040:f05::700/121\",\r\n + \ \"2603:1040:1104:1::380/121\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureEventGrid\",\r\n \"id\": \"AzureEventGrid\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"3\",\r\n \"region\": \"\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureEventGrid\",\r\n \"addressPrefixes\": + [\r\n \"13.71.56.240/28\",\r\n \"13.71.57.0/28\",\r\n \"13.73.248.128/25\",\r\n + \ \"13.86.56.32/27\",\r\n \"13.86.56.160/27\",\r\n \"13.88.73.16/28\",\r\n + \ \"13.88.73.32/27\",\r\n \"13.88.135.208/28\",\r\n \"13.91.193.0/28\",\r\n + \ \"20.36.121.0/25\",\r\n \"20.37.55.32/27\",\r\n \"20.37.65.0/25\",\r\n + \ \"20.37.82.224/27\",\r\n \"20.37.157.128/25\",\r\n \"20.37.196.0/25\",\r\n + \ \"20.37.225.0/25\",\r\n \"20.38.87.0/25\",\r\n \"20.38.137.0/25\",\r\n + \ \"20.39.11.128/25\",\r\n \"20.39.20.16/28\",\r\n \"20.39.80.112/28\",\r\n + \ \"20.39.80.128/28\",\r\n \"20.39.99.64/28\",\r\n \"20.39.99.240/28\",\r\n + \ \"20.40.152.128/27\",\r\n \"20.40.175.48/28\",\r\n \"20.40.175.64/28\",\r\n + \ \"20.41.66.0/25\",\r\n \"20.41.136.240/28\",\r\n \"20.41.195.0/25\",\r\n + \ \"20.42.7.0/25\",\r\n \"20.42.228.0/25\",\r\n \"20.43.42.128/25\",\r\n + \ \"20.43.66.128/25\",\r\n \"20.43.131.128/25\",\r\n \"20.43.165.144/28\",\r\n + \ \"20.43.172.128/27\",\r\n \"20.44.39.176/28\",\r\n \"20.44.39.192/28\",\r\n + \ \"20.44.168.64/28\",\r\n \"20.44.205.112/28\",\r\n \"20.45.113.0/25\",\r\n + \ \"20.45.195.0/25\",\r\n \"20.46.152.112/28\",\r\n \"20.46.152.128/28\",\r\n + \ \"20.49.96.0/25\",\r\n \"20.52.90.128/25\",\r\n \"20.72.17.128/25\",\r\n + \ \"20.150.164.0/25\",\r\n \"20.189.108.128/25\",\r\n \"20.189.115.80/28\",\r\n + \ \"20.189.123.80/28\",\r\n \"20.189.125.32/27\",\r\n \"20.191.59.128/28\",\r\n + \ \"20.191.59.176/28\",\r\n \"20.192.164.0/25\",\r\n \"20.192.228.0/25\",\r\n + \ \"20.193.34.0/28\",\r\n \"20.193.34.32/28\",\r\n \"40.64.128.0/25\",\r\n + \ \"40.67.49.0/25\",\r\n \"40.74.31.128/25\",\r\n \"40.74.106.96/27\",\r\n + \ \"40.80.58.0/25\",\r\n \"40.80.170.0/25\",\r\n \"40.80.190.0/25\",\r\n + \ \"40.80.236.192/27\",\r\n \"40.81.93.240/28\",\r\n \"40.81.95.128/28\",\r\n + \ \"40.82.254.128/25\",\r\n \"40.89.18.0/25\",\r\n \"40.89.240.144/28\",\r\n + \ \"40.114.160.176/28\",\r\n \"40.114.160.192/28\",\r\n \"40.114.169.0/28\",\r\n + \ \"40.127.155.192/28\",\r\n \"40.127.251.144/28\",\r\n \"51.12.47.128/25\",\r\n + \ \"51.12.199.0/25\",\r\n \"51.104.27.128/25\",\r\n \"51.105.81.0/25\",\r\n + \ \"51.105.89.0/25\",\r\n \"51.107.4.128/27\",\r\n \"51.107.49.0/25\",\r\n + \ \"51.107.99.32/27\",\r\n \"51.107.145.0/25\",\r\n \"51.116.3.32/27\",\r\n + \ \"51.116.72.0/25\",\r\n \"51.116.100.208/28\",\r\n \"51.116.100.224/28\",\r\n + \ \"51.120.4.0/27\",\r\n \"51.120.41.0/25\",\r\n \"51.120.131.64/27\",\r\n + \ \"51.120.225.0/25\",\r\n \"51.132.161.160/28\",\r\n \"51.132.170.64/28\",\r\n + \ \"51.137.16.224/28\",\r\n \"51.137.142.32/28\",\r\n \"51.137.162.0/25\",\r\n + \ \"51.143.193.0/25\",\r\n \"52.136.49.0/25\",\r\n \"52.139.9.80/28\",\r\n + \ \"52.139.11.16/28\",\r\n \"52.139.85.16/28\",\r\n \"52.139.85.32/28\",\r\n + \ \"52.140.106.0/25\",\r\n \"52.142.152.144/28\",\r\n \"52.149.23.160/27\",\r\n + \ \"52.149.48.80/28\",\r\n \"52.149.48.96/27\",\r\n \"52.149.248.0/28\",\r\n + \ \"52.149.248.64/27\",\r\n \"52.149.248.96/28\",\r\n \"52.150.140.0/25\",\r\n + \ \"52.154.57.48/28\",\r\n \"52.154.57.80/28\",\r\n \"52.154.68.16/28\",\r\n + \ \"52.154.68.32/28\",\r\n \"52.156.103.192/28\",\r\n \"52.159.49.144/28\",\r\n + \ \"52.159.51.160/28\",\r\n \"52.159.53.64/28\",\r\n \"52.159.53.112/28\",\r\n + \ \"52.160.136.16/28\",\r\n \"52.160.136.32/28\",\r\n \"52.161.186.128/28\",\r\n + \ \"52.161.186.208/28\",\r\n \"52.167.21.160/27\",\r\n \"52.167.21.208/28\",\r\n + \ \"52.167.21.224/28\",\r\n \"52.170.171.192/28\",\r\n \"52.170.171.240/28\",\r\n + \ \"52.177.38.160/27\",\r\n \"52.185.176.112/28\",\r\n \"52.185.212.176/28\",\r\n + \ \"52.185.212.192/28\",\r\n \"52.186.36.16/28\",\r\n \"52.228.83.0/25\",\r\n + \ \"52.231.112.192/28\",\r\n \"52.231.112.224/28\",\r\n \"52.250.28.176/28\",\r\n + \ \"52.250.32.160/28\",\r\n \"52.252.213.192/28\",\r\n \"52.255.80.16/28\",\r\n + \ \"52.255.82.160/28\",\r\n \"102.37.162.0/25\",\r\n \"102.133.0.240/28\",\r\n + \ \"102.133.1.0/28\",\r\n \"102.133.57.0/25\",\r\n \"102.133.135.16/28\",\r\n + \ \"102.133.135.32/28\",\r\n \"191.233.9.128/25\",\r\n \"191.235.126.0/28\",\r\n + \ \"191.235.126.144/28\",\r\n \"191.235.227.0/25\",\r\n \"2603:1000:4::380/121\",\r\n + \ \"2603:1000:104:1::380/121\",\r\n \"2603:1010:6:1::380/121\",\r\n + \ \"2603:1010:101::380/121\",\r\n \"2603:1010:304::380/121\",\r\n + \ \"2603:1010:404::380/121\",\r\n \"2603:1020:5:1::380/121\",\r\n + \ \"2603:1020:206:1::380/121\",\r\n \"2603:1020:305::380/121\",\r\n + \ \"2603:1020:405::380/121\",\r\n \"2603:1020:605::380/121\",\r\n + \ \"2603:1020:705:1::380/121\",\r\n \"2603:1020:805:1::380/121\",\r\n + \ \"2603:1020:905::380/121\",\r\n \"2603:1020:a04:1::380/121\",\r\n + \ \"2603:1020:b04::380/121\",\r\n \"2603:1020:c04:1::380/121\",\r\n + \ \"2603:1020:d04::380/121\",\r\n \"2603:1020:e04:1::380/121\",\r\n + \ \"2603:1020:f04::380/121\",\r\n \"2603:1020:1004::380/121\",\r\n + \ \"2603:1020:1104::280/121\",\r\n \"2603:1030:f:1::380/121\",\r\n + \ \"2603:1030:10:1::380/121\",\r\n \"2603:1030:104:1::380/121\",\r\n + \ \"2603:1030:107::280/121\",\r\n \"2603:1030:210:1::380/121\",\r\n + \ \"2603:1030:40b:1::380/121\",\r\n \"2603:1030:40c:1::380/121\",\r\n + \ \"2603:1030:504:1::380/121\",\r\n \"2603:1030:608::380/121\",\r\n + \ \"2603:1030:807:1::380/121\",\r\n \"2603:1030:a07::380/121\",\r\n + \ \"2603:1030:b04::380/121\",\r\n \"2603:1030:c06:1::380/121\",\r\n + \ \"2603:1030:f05:1::380/121\",\r\n \"2603:1030:1005::380/121\",\r\n + \ \"2603:1040:5:1::380/121\",\r\n \"2603:1040:207::380/121\",\r\n + \ \"2603:1040:407:1::380/121\",\r\n \"2603:1040:606::380/121\",\r\n + \ \"2603:1040:806::380/121\",\r\n \"2603:1040:904:1::380/121\",\r\n + \ \"2603:1040:a06:1::380/121\",\r\n \"2603:1040:b04::380/121\",\r\n + \ \"2603:1040:c06::380/121\",\r\n \"2603:1040:d04::380/121\",\r\n + \ \"2603:1040:f05:1::380/121\",\r\n \"2603:1040:1104::280/121\",\r\n + \ \"2603:1050:6:1::380/121\",\r\n \"2603:1050:403::380/121\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureEventGrid.CanadaCentral\",\r\n + \ \"id\": \"AzureEventGrid.CanadaCentral\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"canadacentral\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"AzureEventGrid\",\r\n \"addressPrefixes\": [\r\n \"52.139.9.80/28\",\r\n + \ \"52.139.11.16/28\",\r\n \"52.228.83.0/25\",\r\n \"2603:1030:f05:1::380/121\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureEventGrid.EastUS2\",\r\n + \ \"id\": \"AzureEventGrid.EastUS2\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"eastus2\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"AzureEventGrid\",\r\n \"addressPrefixes\": [\r\n \"20.49.96.0/25\",\r\n + \ \"52.167.21.160/27\",\r\n \"52.167.21.208/28\",\r\n \"52.167.21.224/28\",\r\n + \ \"52.177.38.160/27\",\r\n \"2603:1030:40c:1::380/121\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureEventGrid.SoutheastAsia\",\r\n + \ \"id\": \"AzureEventGrid.SoutheastAsia\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"southeastasia\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"AzureEventGrid\",\r\n \"addressPrefixes\": [\r\n \"20.43.131.128/25\",\r\n + \ \"20.43.165.144/28\",\r\n \"20.43.172.128/27\",\r\n \"20.44.205.112/28\",\r\n + \ \"2603:1040:5:1::380/121\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureEventGrid.SouthIndia\",\r\n \"id\": \"AzureEventGrid.SouthIndia\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"southindia\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n + \ ],\r\n \"systemService\": \"AzureEventGrid\",\r\n \"addressPrefixes\": + [\r\n \"20.41.195.0/25\",\r\n \"20.44.39.176/28\",\r\n \"20.44.39.192/28\",\r\n + \ \"2603:1040:c06::380/121\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureEventGrid.UAENorth\",\r\n \"id\": \"AzureEventGrid.UAENorth\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"1\",\r\n \"region\": \"uaenorth\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n + \ ],\r\n \"systemService\": \"AzureEventGrid\",\r\n \"addressPrefixes\": + [\r\n \"20.38.137.0/25\",\r\n \"20.46.152.112/28\",\r\n + \ \"20.46.152.128/28\",\r\n \"2603:1040:904:1::380/121\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureEventGrid.UKSouth\",\r\n + \ \"id\": \"AzureEventGrid.UKSouth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"uksouth\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"AzureEventGrid\",\r\n \"addressPrefixes\": [\r\n \"51.104.27.128/25\",\r\n + \ \"51.132.161.160/28\",\r\n \"51.132.170.64/28\",\r\n \"2603:1020:705:1::380/121\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureEventGrid.UKSouth2\",\r\n + \ \"id\": \"AzureEventGrid.UKSouth2\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"uksouth2\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"AzureEventGrid\",\r\n \"addressPrefixes\": [\r\n \"51.143.193.0/25\",\r\n + \ \"2603:1020:405::380/121\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureEventGrid.WestUS2\",\r\n \"id\": \"AzureEventGrid.WestUS2\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"1\",\r\n \"region\": \"westus2\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n + \ ],\r\n \"systemService\": \"AzureEventGrid\",\r\n \"addressPrefixes\": + [\r\n \"40.64.128.0/25\",\r\n \"52.149.23.160/27\",\r\n + \ \"52.149.48.80/28\",\r\n \"52.149.48.96/27\",\r\n \"52.156.103.192/28\",\r\n + \ \"52.250.28.176/28\",\r\n \"52.250.32.160/28\",\r\n \"2603:1030:c06:1::380/121\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureFrontDoor.Backend\",\r\n + \ \"id\": \"AzureFrontDoor.Backend\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"\",\r\n \"addressPrefixes\": + [\r\n \"13.73.248.16/29\",\r\n \"20.36.120.104/29\",\r\n + \ \"20.37.64.104/29\",\r\n \"20.37.156.120/29\",\r\n \"20.37.195.0/29\",\r\n + \ \"20.37.224.104/29\",\r\n \"20.38.84.72/29\",\r\n \"20.38.136.104/29\",\r\n + \ \"20.39.11.8/29\",\r\n \"20.41.4.88/29\",\r\n \"20.41.64.120/29\",\r\n + \ \"20.41.192.104/29\",\r\n \"20.42.4.120/29\",\r\n \"20.42.129.152/29\",\r\n + \ \"20.42.224.104/29\",\r\n \"20.43.41.136/29\",\r\n \"20.43.65.128/29\",\r\n + \ \"20.43.130.80/29\",\r\n \"20.45.112.104/29\",\r\n \"20.45.192.104/29\",\r\n + \ \"20.72.18.248/29\",\r\n \"20.150.160.96/29\",\r\n \"20.189.106.112/29\",\r\n + \ \"20.192.161.104/29\",\r\n \"20.192.225.48/29\",\r\n \"40.67.48.104/29\",\r\n + \ \"40.74.30.72/29\",\r\n \"40.80.56.104/29\",\r\n \"40.80.168.104/29\",\r\n + \ \"40.80.184.120/29\",\r\n \"40.82.248.248/29\",\r\n \"40.89.16.104/29\",\r\n + \ \"51.12.41.8/29\",\r\n \"51.12.193.8/29\",\r\n \"51.104.25.128/29\",\r\n + \ \"51.105.80.104/29\",\r\n \"51.105.88.104/29\",\r\n \"51.107.48.104/29\",\r\n + \ \"51.107.144.104/29\",\r\n \"51.120.40.104/29\",\r\n \"51.120.224.104/29\",\r\n + \ \"51.137.160.112/29\",\r\n \"51.143.192.104/29\",\r\n \"52.136.48.104/29\",\r\n + \ \"52.140.104.104/29\",\r\n \"52.150.136.120/29\",\r\n \"52.228.80.120/29\",\r\n + \ \"102.133.56.88/29\",\r\n \"102.133.216.88/29\",\r\n \"147.243.0.0/16\",\r\n + \ \"191.233.9.120/29\",\r\n \"191.235.225.128/29\",\r\n \"2603:1000:4::600/123\",\r\n + \ \"2603:1000:104::e0/123\",\r\n \"2603:1000:104::300/123\",\r\n + \ \"2603:1000:104:1::5c0/123\",\r\n \"2603:1000:104:1::7e0/123\",\r\n + \ \"2603:1010:6:1::5c0/123\",\r\n \"2603:1010:6:1::7e0/123\",\r\n + \ \"2603:1010:101::600/123\",\r\n \"2603:1010:304::600/123\",\r\n + \ \"2603:1010:404::600/123\",\r\n \"2603:1020:5:1::5c0/123\",\r\n + \ \"2603:1020:5:1::7e0/123\",\r\n \"2603:1020:206:1::5c0/123\",\r\n + \ \"2603:1020:206:1::7e0/123\",\r\n \"2603:1020:305::600/123\",\r\n + \ \"2603:1020:405::600/123\",\r\n \"2603:1020:605::600/123\",\r\n + \ \"2603:1020:705:1::5c0/123\",\r\n \"2603:1020:705:1::7e0/123\",\r\n + \ \"2603:1020:805:1::5c0/123\",\r\n \"2603:1020:805:1::7e0/123\",\r\n + \ \"2603:1020:905::600/123\",\r\n \"2603:1020:a04:1::5c0/123\",\r\n + \ \"2603:1020:a04:1::7e0/123\",\r\n \"2603:1020:b04::600/123\",\r\n + \ \"2603:1020:c04:1::5c0/123\",\r\n \"2603:1020:c04:1::7e0/123\",\r\n + \ \"2603:1020:d04::600/123\",\r\n \"2603:1020:e04:1::5c0/123\",\r\n + \ \"2603:1020:e04:1::7e0/123\",\r\n \"2603:1020:f04::600/123\",\r\n + \ \"2603:1020:1004::5c0/123\",\r\n \"2603:1020:1004::7e0/123\",\r\n + \ \"2603:1020:1104::680/123\",\r\n \"2603:1030:f:1::600/123\",\r\n + \ \"2603:1030:10:1::5c0/123\",\r\n \"2603:1030:10:1::7e0/123\",\r\n + \ \"2603:1030:104:1::5c0/123\",\r\n \"2603:1030:104:1::7e0/123\",\r\n + \ \"2603:1030:107::6a0/123\",\r\n \"2603:1030:210:1::5c0/123\",\r\n + \ \"2603:1030:210:1::7e0/123\",\r\n \"2603:1030:40b:1::5c0/123\",\r\n + \ \"2603:1030:40c:1::5c0/123\",\r\n \"2603:1030:40c:1::7e0/123\",\r\n + \ \"2603:1030:504:1::5c0/123\",\r\n \"2603:1030:504:1::7e0/123\",\r\n + \ \"2603:1030:608::600/123\",\r\n \"2603:1030:807:1::5c0/123\",\r\n + \ \"2603:1030:807:1::7e0/123\",\r\n \"2603:1030:a07::600/123\",\r\n + \ \"2603:1030:b04::600/123\",\r\n \"2603:1030:c06:1::5c0/123\",\r\n + \ \"2603:1030:f05:1::5c0/123\",\r\n \"2603:1030:f05:1::7e0/123\",\r\n + \ \"2603:1030:1005::600/123\",\r\n \"2603:1040:5::e0/123\",\r\n + \ \"2603:1040:5:1::5c0/123\",\r\n \"2603:1040:5:1::7e0/123\",\r\n + \ \"2603:1040:207::600/123\",\r\n \"2603:1040:407:1::5c0/123\",\r\n + \ \"2603:1040:407:1::7e0/123\",\r\n \"2603:1040:606::600/123\",\r\n + \ \"2603:1040:806::600/123\",\r\n \"2603:1040:904:1::5c0/123\",\r\n + \ \"2603:1040:904:1::7e0/123\",\r\n \"2603:1040:a06::e0/123\",\r\n + \ \"2603:1040:a06:1::5c0/123\",\r\n \"2603:1040:a06:1::7e0/123\",\r\n + \ \"2603:1040:b04::600/123\",\r\n \"2603:1040:c06::600/123\",\r\n + \ \"2603:1040:d04::5c0/123\",\r\n \"2603:1040:d04::7e0/123\",\r\n + \ \"2603:1040:f05:1::5c0/123\",\r\n \"2603:1040:f05:1::7e0/123\",\r\n + \ \"2603:1040:1104::680/123\",\r\n \"2603:1050:6:1::5c0/123\",\r\n + \ \"2603:1050:6:1::7e0/123\",\r\n \"2603:1050:403::5c0/123\",\r\n + \ \"2a01:111:2050::/44\"\r\n ]\r\n }\r\n },\r\n {\r\n + \ \"name\": \"AzureFrontDoor.FirstParty\",\r\n \"id\": \"AzureFrontDoor.FirstParty\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"1\",\r\n \"region\": \"\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureFrontDoor\",\r\n \"addressPrefixes\": + [\r\n \"13.107.3.0/24\",\r\n \"13.107.4.0/22\",\r\n \"13.107.9.0/24\",\r\n + \ \"13.107.12.0/23\",\r\n \"13.107.15.0/24\",\r\n \"13.107.16.0/24\",\r\n + \ \"13.107.18.0/23\",\r\n \"13.107.21.0/24\",\r\n \"13.107.22.0/24\",\r\n + \ \"13.107.37.0/24\",\r\n \"13.107.38.0/23\",\r\n \"13.107.40.0/24\",\r\n + \ \"13.107.42.0/23\",\r\n \"13.107.48.0/24\",\r\n \"13.107.50.0/24\",\r\n + \ \"13.107.52.0/24\",\r\n \"13.107.54.0/24\",\r\n \"13.107.56.0/24\",\r\n + \ \"13.107.64.0/18\",\r\n \"13.107.128.0/19\",\r\n \"13.107.245.0/24\",\r\n + \ \"13.107.254.0/23\",\r\n \"131.253.3.0/24\",\r\n \"131.253.21.0/24\",\r\n + \ \"131.253.33.0/24\",\r\n \"150.171.32.0/19\",\r\n \"202.89.233.96/28\",\r\n + \ \"204.79.197.0/24\",\r\n \"2620:1ec:4::/46\",\r\n \"2620:1ec:a::/47\",\r\n + \ \"2620:1ec:c::/47\",\r\n \"2620:1ec:12::/47\",\r\n \"2620:1ec:21::/48\",\r\n + \ \"2620:1ec:22::/48\",\r\n \"2620:1ec:26::/63\",\r\n \"2620:1ec:26:2::/64\",\r\n + \ \"2620:1ec:28::/48\",\r\n \"2620:1ec:34::/48\",\r\n \"2620:1ec:39::/48\",\r\n + \ \"2620:1ec:3e::/47\",\r\n \"2620:1ec:42::/47\",\r\n \"2620:1ec:44::/47\",\r\n + \ \"2620:1ec:8f0::/44\",\r\n \"2620:1ec:900::/44\",\r\n \"2620:1ec:a92::/48\",\r\n + \ \"2620:1ec:c11::/48\",\r\n \"2a01:111:2003::/48\",\r\n + \ \"2a01:111:202c::/46\"\r\n ]\r\n }\r\n },\r\n {\r\n + \ \"name\": \"AzureFrontDoor.Frontend\",\r\n \"id\": \"AzureFrontDoor.Frontend\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"4\",\r\n \"region\": \"\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"\",\r\n \"addressPrefixes\": + [\r\n \"13.73.248.8/29\",\r\n \"13.107.208.0/24\",\r\n \"13.107.213.0/24\",\r\n + \ \"13.107.219.0/24\",\r\n \"13.107.224.0/24\",\r\n \"13.107.226.0/23\",\r\n + \ \"13.107.246.0/24\",\r\n \"13.107.253.0/24\",\r\n \"20.36.120.96/29\",\r\n + \ \"20.37.64.96/29\",\r\n \"20.37.156.112/29\",\r\n \"20.37.192.88/29\",\r\n + \ \"20.37.224.96/29\",\r\n \"20.38.84.64/29\",\r\n \"20.38.136.96/29\",\r\n + \ \"20.39.11.0/29\",\r\n \"20.41.4.80/29\",\r\n \"20.41.64.112/29\",\r\n + \ \"20.41.192.96/29\",\r\n \"20.42.4.112/29\",\r\n \"20.42.129.144/29\",\r\n + \ \"20.42.224.96/29\",\r\n \"20.43.41.128/29\",\r\n \"20.43.64.88/29\",\r\n + \ \"20.43.128.104/29\",\r\n \"20.45.112.96/29\",\r\n \"20.45.192.96/29\",\r\n + \ \"20.72.18.240/29\",\r\n \"20.150.160.72/29\",\r\n \"20.189.106.72/29\",\r\n + \ \"20.192.161.96/29\",\r\n \"20.192.225.40/29\",\r\n \"40.67.48.96/29\",\r\n + \ \"40.74.30.64/29\",\r\n \"40.80.56.96/29\",\r\n \"40.80.168.96/29\",\r\n + \ \"40.80.184.112/29\",\r\n \"40.82.248.72/29\",\r\n \"40.89.16.96/29\",\r\n + \ \"51.12.41.0/29\",\r\n \"51.12.193.0/29\",\r\n \"51.104.24.88/29\",\r\n + \ \"51.105.80.96/29\",\r\n \"51.105.88.96/29\",\r\n \"51.107.48.96/29\",\r\n + \ \"51.107.144.96/29\",\r\n \"51.120.40.96/29\",\r\n \"51.120.224.96/29\",\r\n + \ \"51.137.160.88/29\",\r\n \"51.143.192.96/29\",\r\n \"52.136.48.96/29\",\r\n + \ \"52.140.104.96/29\",\r\n \"52.150.136.112/29\",\r\n \"52.228.80.112/29\",\r\n + \ \"102.133.56.80/29\",\r\n \"102.133.216.80/29\",\r\n \"191.233.9.112/29\",\r\n + \ \"191.235.224.88/29\",\r\n \"2603:1000:4::5e0/123\",\r\n + \ \"2603:1000:104::c0/123\",\r\n \"2603:1000:104::160/123\",\r\n + \ \"2603:1000:104:1::5a0/123\",\r\n \"2603:1000:104:1::7c0/123\",\r\n + \ \"2603:1010:6:1::5a0/123\",\r\n \"2603:1010:6:1::7c0/123\",\r\n + \ \"2603:1010:101::5e0/123\",\r\n \"2603:1010:304::5e0/123\",\r\n + \ \"2603:1010:404::5e0/123\",\r\n \"2603:1020:5:1::5a0/123\",\r\n + \ \"2603:1020:5:1::7c0/123\",\r\n \"2603:1020:206:1::5a0/123\",\r\n + \ \"2603:1020:206:1::7c0/123\",\r\n \"2603:1020:305::5e0/123\",\r\n + \ \"2603:1020:405::5e0/123\",\r\n \"2603:1020:605::5e0/123\",\r\n + \ \"2603:1020:705:1::5a0/123\",\r\n \"2603:1020:705:1::7c0/123\",\r\n + \ \"2603:1020:805:1::5a0/123\",\r\n \"2603:1020:805:1::7c0/123\",\r\n + \ \"2603:1020:905::5e0/123\",\r\n \"2603:1020:a04:1::5a0/123\",\r\n + \ \"2603:1020:a04:1::7c0/123\",\r\n \"2603:1020:b04::5e0/123\",\r\n + \ \"2603:1020:c04:1::5a0/123\",\r\n \"2603:1020:c04:1::7c0/123\",\r\n + \ \"2603:1020:d04::5e0/123\",\r\n \"2603:1020:e04:1::5a0/123\",\r\n + \ \"2603:1020:e04:1::7c0/123\",\r\n \"2603:1020:f04::5e0/123\",\r\n + \ \"2603:1020:1004::5a0/123\",\r\n \"2603:1020:1004::7c0/123\",\r\n + \ \"2603:1020:1104::5e0/123\",\r\n \"2603:1030:f:1::5e0/123\",\r\n + \ \"2603:1030:10:1::5a0/123\",\r\n \"2603:1030:10:1::7c0/123\",\r\n + \ \"2603:1030:104:1::5a0/123\",\r\n \"2603:1030:104:1::7c0/123\",\r\n + \ \"2603:1030:107::680/123\",\r\n \"2603:1030:210:1::5a0/123\",\r\n + \ \"2603:1030:210:1::7c0/123\",\r\n \"2603:1030:40b:1::5a0/123\",\r\n + \ \"2603:1030:40c:1::5a0/123\",\r\n \"2603:1030:40c:1::7c0/123\",\r\n + \ \"2603:1030:504:1::5a0/123\",\r\n \"2603:1030:504:1::7c0/123\",\r\n + \ \"2603:1030:608::5e0/123\",\r\n \"2603:1030:807:1::5a0/123\",\r\n + \ \"2603:1030:807:1::7c0/123\",\r\n \"2603:1030:a07::5e0/123\",\r\n + \ \"2603:1030:b04::5e0/123\",\r\n \"2603:1030:c06:1::5a0/123\",\r\n + \ \"2603:1030:f05:1::5a0/123\",\r\n \"2603:1030:f05:1::7c0/123\",\r\n + \ \"2603:1030:1005::5e0/123\",\r\n \"2603:1040:5::c0/123\",\r\n + \ \"2603:1040:5:1::5a0/123\",\r\n \"2603:1040:5:1::7c0/123\",\r\n + \ \"2603:1040:207::5e0/123\",\r\n \"2603:1040:407:1::5a0/123\",\r\n + \ \"2603:1040:407:1::7c0/123\",\r\n \"2603:1040:606::5e0/123\",\r\n + \ \"2603:1040:806::5e0/123\",\r\n \"2603:1040:904:1::5a0/123\",\r\n + \ \"2603:1040:904:1::7c0/123\",\r\n \"2603:1040:a06::c0/123\",\r\n + \ \"2603:1040:a06:1::5a0/123\",\r\n \"2603:1040:a06:1::7c0/123\",\r\n + \ \"2603:1040:b04::5e0/123\",\r\n \"2603:1040:c06::5e0/123\",\r\n + \ \"2603:1040:d04::5a0/123\",\r\n \"2603:1040:d04::7c0/123\",\r\n + \ \"2603:1040:f05:1::5a0/123\",\r\n \"2603:1040:f05:1::7c0/123\",\r\n + \ \"2603:1040:1104::5e0/123\",\r\n \"2603:1050:6:1::5a0/123\",\r\n + \ \"2603:1050:6:1::7c0/123\",\r\n \"2603:1050:403::5a0/123\",\r\n + \ \"2620:1ec:29::/48\",\r\n \"2620:1ec:40::/47\",\r\n \"2620:1ec:46::/47\",\r\n + \ \"2620:1ec:48::/47\",\r\n \"2620:1ec:bdf::/48\"\r\n ]\r\n + \ }\r\n },\r\n {\r\n \"name\": \"AzureInformationProtection\",\r\n + \ \"id\": \"AzureInformationProtection\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureInformationProtection\",\r\n + \ \"addressPrefixes\": [\r\n \"13.66.153.57/32\",\r\n \"13.66.245.220/32\",\r\n + \ \"13.66.251.171/32\",\r\n \"13.67.114.221/32\",\r\n \"13.68.179.152/32\",\r\n + \ \"13.76.139.8/32\",\r\n \"13.76.244.119/32\",\r\n \"13.77.166.40/32\",\r\n + \ \"13.77.203.47/32\",\r\n \"13.78.130.67/32\",\r\n \"13.78.130.185/32\",\r\n + \ \"13.78.178.191/32\",\r\n \"13.79.189.239/32\",\r\n \"13.79.189.241/32\",\r\n + \ \"13.82.198.231/32\",\r\n \"13.83.91.144/32\",\r\n \"13.92.58.123/32\",\r\n + \ \"13.92.61.93/32\",\r\n \"13.93.72.133/32\",\r\n \"13.93.75.214/32\",\r\n + \ \"13.94.98.184/32\",\r\n \"13.94.116.226/32\",\r\n \"23.97.70.206/32\",\r\n + \ \"23.99.106.184/32\",\r\n \"23.99.114.156/32\",\r\n \"23.99.251.107/32\",\r\n + \ \"23.101.112.34/32\",\r\n \"23.101.147.227/32\",\r\n \"23.101.163.169/32\",\r\n + \ \"40.69.191.65/32\",\r\n \"40.70.16.196/32\",\r\n \"40.76.94.49/32\",\r\n + \ \"40.83.177.47/32\",\r\n \"40.83.223.214/32\",\r\n \"40.87.2.166/32\",\r\n + \ \"40.87.67.213/32\",\r\n \"40.87.94.91/32\",\r\n \"40.114.2.72/32\",\r\n + \ \"40.117.180.9/32\",\r\n \"40.121.48.207/32\",\r\n \"40.121.49.153/32\",\r\n + \ \"40.121.90.82/32\",\r\n \"40.127.160.102/32\",\r\n \"40.127.175.173/32\",\r\n + \ \"51.136.18.12/32\",\r\n \"51.141.184.35/32\",\r\n \"51.143.32.47/32\",\r\n + \ \"51.143.88.135/32\",\r\n \"51.144.167.90/32\",\r\n \"51.145.146.97/32\",\r\n + \ \"52.162.33.18/32\",\r\n \"52.162.37.146/32\",\r\n \"52.162.88.200/32\",\r\n + \ \"52.162.95.132/32\",\r\n \"52.162.208.48/32\",\r\n \"52.163.61.51/32\",\r\n + \ \"52.163.85.21/32\",\r\n \"52.163.85.129/32\",\r\n \"52.163.87.92/32\",\r\n + \ \"52.163.89.155/32\",\r\n \"52.163.89.160/32\",\r\n \"52.165.189.139/32\",\r\n + \ \"52.167.1.118/32\",\r\n \"52.167.225.247/32\",\r\n \"52.167.226.2/32\",\r\n + \ \"52.167.227.104/32\",\r\n \"52.167.227.154/32\",\r\n \"52.173.21.111/32\",\r\n + \ \"52.173.89.54/32\",\r\n \"52.173.89.66/32\",\r\n \"52.173.93.137/32\",\r\n + \ \"52.176.44.178/32\",\r\n \"52.178.145.186/32\",\r\n \"52.178.147.96/32\",\r\n + \ \"52.179.136.129/32\",\r\n \"52.184.34.233/32\",\r\n \"52.184.35.49/32\",\r\n + \ \"52.232.110.114/32\",\r\n \"52.232.113.160/32\",\r\n \"52.232.118.97/32\",\r\n + \ \"52.232.119.81/32\",\r\n \"52.237.141.83/32\",\r\n \"52.237.141.229/32\",\r\n + \ \"52.250.56.125/32\",\r\n \"65.52.36.85/32\",\r\n \"65.52.55.108/32\",\r\n + \ \"65.52.176.250/32\",\r\n \"65.52.177.192/32\",\r\n \"65.52.184.44/32\",\r\n + \ \"65.52.184.218/32\",\r\n \"65.52.236.123/32\",\r\n \"70.37.163.131/32\",\r\n + \ \"94.245.88.160/32\",\r\n \"104.40.16.135/32\",\r\n \"104.40.30.29/32\",\r\n + \ \"104.41.143.145/32\",\r\n \"137.116.91.123/32\",\r\n \"137.117.47.75/32\",\r\n + \ \"138.91.121.248/32\",\r\n \"138.91.122.178/32\",\r\n \"157.55.177.248/32\",\r\n + \ \"157.55.185.205/32\",\r\n \"157.56.8.93/32\",\r\n \"157.56.8.135/32\",\r\n + \ \"157.56.9.127/32\",\r\n \"168.61.46.212/32\",\r\n \"168.62.5.167/32\",\r\n + \ \"168.62.8.139/32\",\r\n \"168.62.25.173/32\",\r\n \"168.62.25.179/32\",\r\n + \ \"168.62.48.148/32\",\r\n \"168.62.49.18/32\",\r\n \"168.62.52.244/32\",\r\n + \ \"168.62.53.73/32\",\r\n \"168.62.53.132/32\",\r\n \"168.62.54.75/32\",\r\n + \ \"168.62.54.211/32\",\r\n \"168.62.54.212/32\"\r\n ]\r\n + \ }\r\n },\r\n {\r\n \"name\": \"AzureIoTHub\",\r\n \"id\": + \"AzureIoTHub\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": + {\r\n \"changeNumber\": \"3\",\r\n \"region\": \"\",\r\n \"state\": + \"GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureIoTHub\",\r\n \"addressPrefixes\": [\r\n \"13.66.142.96/27\",\r\n + \ \"13.67.10.224/27\",\r\n \"13.67.234.22/32\",\r\n \"13.69.71.0/25\",\r\n + \ \"13.69.109.0/25\",\r\n \"13.69.192.43/32\",\r\n \"13.69.230.64/27\",\r\n + \ \"13.70.74.192/27\",\r\n \"13.70.182.204/32\",\r\n \"13.70.182.210/32\",\r\n + \ \"13.71.84.34/32\",\r\n \"13.71.113.127/32\",\r\n \"13.71.150.19/32\",\r\n + \ \"13.71.175.32/27\",\r\n \"13.71.196.224/27\",\r\n \"13.73.115.51/32\",\r\n + \ \"13.73.244.0/27\",\r\n \"13.73.252.128/25\",\r\n \"13.74.108.192/27\",\r\n + \ \"13.75.39.160/27\",\r\n \"13.76.83.155/32\",\r\n \"13.76.217.46/32\",\r\n + \ \"13.77.53.128/27\",\r\n \"13.78.109.160/27\",\r\n \"13.78.129.154/32\",\r\n + \ \"13.78.130.69/32\",\r\n \"13.79.172.43/32\",\r\n \"13.82.93.138/32\",\r\n + \ \"13.84.189.6/32\",\r\n \"13.85.68.113/32\",\r\n \"13.86.221.0/25\",\r\n + \ \"13.87.58.96/27\",\r\n \"13.87.124.96/27\",\r\n \"13.89.174.160/27\",\r\n + \ \"13.89.231.149/32\",\r\n \"13.94.40.72/32\",\r\n \"13.95.15.251/32\",\r\n + \ \"20.36.108.160/27\",\r\n \"20.36.117.64/27\",\r\n \"20.36.123.32/27\",\r\n + \ \"20.36.123.128/25\",\r\n \"20.37.67.128/25\",\r\n \"20.37.68.0/27\",\r\n + \ \"20.37.76.160/27\",\r\n \"20.37.198.160/27\",\r\n \"20.37.199.0/25\",\r\n + \ \"20.37.227.64/27\",\r\n \"20.37.227.128/25\",\r\n \"20.38.128.128/27\",\r\n + \ \"20.38.139.128/25\",\r\n \"20.38.140.0/27\",\r\n \"20.38.147.192/27\",\r\n + \ \"20.39.14.32/27\",\r\n \"20.39.14.128/25\",\r\n \"20.40.206.192/27\",\r\n + \ \"20.40.207.0/25\",\r\n \"20.41.68.96/27\",\r\n \"20.41.68.128/25\",\r\n + \ \"20.41.197.64/27\",\r\n \"20.41.197.128/25\",\r\n \"20.42.230.160/27\",\r\n + \ \"20.42.231.0/25\",\r\n \"20.43.44.160/27\",\r\n \"20.43.45.0/25\",\r\n + \ \"20.43.70.160/27\",\r\n \"20.43.71.0/25\",\r\n \"20.43.121.64/27\",\r\n + \ \"20.44.4.128/27\",\r\n \"20.44.8.224/27\",\r\n \"20.44.17.96/27\",\r\n + \ \"20.44.29.0/27\",\r\n \"20.45.114.224/27\",\r\n \"20.45.115.0/25\",\r\n + \ \"20.45.123.128/27\",\r\n \"20.45.198.32/27\",\r\n \"20.45.198.128/25\",\r\n + \ \"20.49.83.128/27\",\r\n \"20.49.91.128/27\",\r\n \"20.49.99.96/27\",\r\n + \ \"20.49.99.128/25\",\r\n \"20.49.109.128/25\",\r\n \"20.49.110.0/26\",\r\n + \ \"20.49.110.128/25\",\r\n \"20.49.113.32/27\",\r\n \"20.49.113.128/25\",\r\n + \ \"20.49.120.96/27\",\r\n \"20.49.120.128/25\",\r\n \"20.49.121.0/25\",\r\n + \ \"20.50.65.128/25\",\r\n \"20.50.68.0/27\",\r\n \"20.72.28.160/27\",\r\n + \ \"20.150.165.192/27\",\r\n \"20.150.166.0/25\",\r\n \"20.150.172.192/27\",\r\n + \ \"20.150.179.224/27\",\r\n \"20.150.187.224/27\",\r\n \"20.187.195.0/25\",\r\n + \ \"20.188.0.51/32\",\r\n \"20.188.3.145/32\",\r\n \"20.188.39.126/32\",\r\n + \ \"20.189.109.192/27\",\r\n \"20.192.99.224/27\",\r\n \"20.192.165.224/27\",\r\n + \ \"20.192.166.0/25\",\r\n \"20.192.230.32/27\",\r\n \"20.192.230.128/25\",\r\n + \ \"20.192.238.0/27\",\r\n \"20.193.206.0/27\",\r\n \"20.194.67.96/27\",\r\n + \ \"23.96.222.45/32\",\r\n \"23.96.223.89/32\",\r\n \"23.98.86.0/27\",\r\n + \ \"23.98.104.192/27\",\r\n \"23.98.106.0/25\",\r\n \"23.99.109.81/32\",\r\n + \ \"23.100.4.253/32\",\r\n \"23.100.8.130/32\",\r\n \"23.100.105.192/32\",\r\n + \ \"23.101.29.228/32\",\r\n \"23.102.235.31/32\",\r\n \"40.64.132.160/27\",\r\n + \ \"40.64.134.0/25\",\r\n \"40.67.51.0/25\",\r\n \"40.67.51.128/27\",\r\n + \ \"40.67.60.128/27\",\r\n \"40.69.108.128/27\",\r\n \"40.70.148.128/27\",\r\n + \ \"40.71.14.128/25\",\r\n \"40.74.66.139/32\",\r\n \"40.74.125.44/32\",\r\n + \ \"40.74.149.0/27\",\r\n \"40.75.35.96/27\",\r\n \"40.76.71.185/32\",\r\n + \ \"40.77.23.107/32\",\r\n \"40.78.22.17/32\",\r\n \"40.78.196.96/27\",\r\n + \ \"40.78.204.64/27\",\r\n \"40.78.229.128/25\",\r\n \"40.78.238.0/27\",\r\n + \ \"40.78.245.32/27\",\r\n \"40.78.251.160/27\",\r\n \"40.79.114.144/32\",\r\n + \ \"40.79.132.128/27\",\r\n \"40.79.139.32/27\",\r\n \"40.79.148.0/27\",\r\n + \ \"40.79.156.128/25\",\r\n \"40.79.163.32/27\",\r\n \"40.79.171.128/27\",\r\n + \ \"40.79.180.96/27\",\r\n \"40.79.187.224/27\",\r\n \"40.79.195.192/27\",\r\n + \ \"40.80.51.128/27\",\r\n \"40.80.62.64/27\",\r\n \"40.80.62.128/25\",\r\n + \ \"40.80.172.64/27\",\r\n \"40.80.172.128/25\",\r\n \"40.80.176.64/27\",\r\n + \ \"40.83.177.42/32\",\r\n \"40.84.53.157/32\",\r\n \"40.87.138.172/32\",\r\n + \ \"40.87.143.97/32\",\r\n \"40.89.20.192/27\",\r\n \"40.89.21.0/25\",\r\n + \ \"40.112.221.188/32\",\r\n \"40.112.223.235/32\",\r\n \"40.113.153.50/32\",\r\n + \ \"40.113.176.160/27\",\r\n \"40.113.176.192/27\",\r\n \"40.113.177.0/24\",\r\n + \ \"40.114.53.146/32\",\r\n \"40.118.27.192/32\",\r\n \"40.119.11.224/27\",\r\n + \ \"40.120.75.160/27\",\r\n \"40.127.132.17/32\",\r\n \"51.12.42.32/27\",\r\n + \ \"51.12.42.128/25\",\r\n \"51.12.100.64/27\",\r\n \"51.12.194.32/27\",\r\n + \ \"51.12.194.128/25\",\r\n \"51.12.204.64/27\",\r\n \"51.12.227.224/27\",\r\n + \ \"51.12.235.224/27\",\r\n \"51.104.30.0/25\",\r\n \"51.104.30.128/27\",\r\n + \ \"51.105.69.0/27\",\r\n \"51.105.75.192/27\",\r\n \"51.105.91.128/25\",\r\n + \ \"51.105.92.0/27\",\r\n \"51.107.51.64/27\",\r\n \"51.107.51.128/25\",\r\n + \ \"51.107.60.96/27\",\r\n \"51.107.147.64/27\",\r\n \"51.107.147.128/25\",\r\n + \ \"51.107.156.96/27\",\r\n \"51.116.49.224/27\",\r\n \"51.116.50.0/25\",\r\n + \ \"51.116.60.96/27\",\r\n \"51.116.145.192/27\",\r\n \"51.116.146.0/25\",\r\n + \ \"51.116.158.0/27\",\r\n \"51.116.243.160/27\",\r\n \"51.116.251.128/27\",\r\n + \ \"51.120.43.128/25\",\r\n \"51.120.44.0/27\",\r\n \"51.120.100.96/27\",\r\n + \ \"51.120.107.224/27\",\r\n \"51.120.211.224/27\",\r\n \"51.120.227.128/25\",\r\n + \ \"51.120.228.0/27\",\r\n \"51.137.164.160/27\",\r\n \"51.137.165.0/25\",\r\n + \ \"51.140.84.251/32\",\r\n \"51.140.126.10/32\",\r\n \"51.140.149.32/27\",\r\n + \ \"51.140.212.160/27\",\r\n \"51.140.226.207/32\",\r\n \"51.140.240.234/32\",\r\n + \ \"51.141.49.253/32\",\r\n \"51.144.118.31/32\",\r\n \"52.136.51.128/25\",\r\n + \ \"52.136.52.0/27\",\r\n \"52.136.132.236/32\",\r\n \"52.138.92.96/27\",\r\n + \ \"52.138.229.0/27\",\r\n \"52.140.108.160/27\",\r\n \"52.140.109.0/25\",\r\n + \ \"52.147.10.141/32\",\r\n \"52.147.10.149/32\",\r\n \"52.150.152.96/27\",\r\n + \ \"52.150.153.128/25\",\r\n \"52.151.6.77/32\",\r\n \"52.151.78.51/32\",\r\n + \ \"52.158.236.252/32\",\r\n \"52.161.15.247/32\",\r\n \"52.162.111.64/27\",\r\n + \ \"52.163.212.39/32\",\r\n \"52.163.215.122/32\",\r\n \"52.167.107.192/27\",\r\n + \ \"52.167.155.89/32\",\r\n \"52.168.180.95/32\",\r\n \"52.169.138.222/32\",\r\n + \ \"52.172.203.144/32\",\r\n \"52.175.221.106/32\",\r\n \"52.176.4.4/32\",\r\n + \ \"52.176.92.27/32\",\r\n \"52.177.196.50/32\",\r\n \"52.178.147.144/32\",\r\n + \ \"52.179.159.231/32\",\r\n \"52.180.165.88/32\",\r\n \"52.180.165.248/32\",\r\n + \ \"52.180.177.125/32\",\r\n \"52.182.139.224/27\",\r\n \"52.225.176.167/32\",\r\n + \ \"52.225.177.25/32\",\r\n \"52.225.179.220/32\",\r\n \"52.225.180.26/32\",\r\n + \ \"52.225.180.217/32\",\r\n \"52.225.187.149/32\",\r\n \"52.228.85.224/27\",\r\n + \ \"52.228.86.0/25\",\r\n \"52.231.20.32/27\",\r\n \"52.231.32.236/32\",\r\n + \ \"52.231.148.128/27\",\r\n \"52.231.205.15/32\",\r\n \"52.236.189.128/25\",\r\n + \ \"52.237.27.123/32\",\r\n \"52.242.31.77/32\",\r\n \"52.246.155.192/27\",\r\n + \ \"52.250.225.32/27\",\r\n \"65.52.252.160/27\",\r\n \"102.133.28.160/27\",\r\n + \ \"102.133.59.0/25\",\r\n \"102.133.59.128/27\",\r\n \"102.133.124.32/27\",\r\n + \ \"102.133.156.64/27\",\r\n \"102.133.218.192/27\",\r\n + \ \"102.133.219.0/25\",\r\n \"102.133.251.128/27\",\r\n \"104.40.49.44/32\",\r\n + \ \"104.41.34.180/32\",\r\n \"104.43.252.98/32\",\r\n \"104.46.115.237/32\",\r\n + \ \"104.210.105.7/32\",\r\n \"104.211.18.153/32\",\r\n \"104.211.210.195/32\",\r\n + \ \"104.214.34.123/32\",\r\n \"137.117.83.38/32\",\r\n \"157.55.253.43/32\",\r\n + \ \"168.61.54.255/32\",\r\n \"168.61.208.218/32\",\r\n \"191.233.11.160/27\",\r\n + \ \"191.233.14.0/25\",\r\n \"191.233.54.0/27\",\r\n \"191.233.205.128/27\",\r\n + \ \"191.234.136.128/25\",\r\n \"191.234.137.0/27\",\r\n \"191.234.147.224/27\",\r\n + \ \"191.234.155.224/27\",\r\n \"207.46.138.102/32\",\r\n + \ \"2603:1000:4:402::300/123\",\r\n \"2603:1000:104:402::300/123\",\r\n + \ \"2603:1000:104:802::240/123\",\r\n \"2603:1000:104:c02::240/123\",\r\n + \ \"2603:1010:6:402::300/123\",\r\n \"2603:1010:6:802::240/123\",\r\n + \ \"2603:1010:6:c02::240/123\",\r\n \"2603:1010:101:402::300/123\",\r\n + \ \"2603:1010:304:402::300/123\",\r\n \"2603:1010:404:402::300/123\",\r\n + \ \"2603:1020:5:402::300/123\",\r\n \"2603:1020:5:802::240/123\",\r\n + \ \"2603:1020:5:c02::240/123\",\r\n \"2603:1020:206:402::300/123\",\r\n + \ \"2603:1020:206:802::240/123\",\r\n \"2603:1020:206:c02::240/123\",\r\n + \ \"2603:1020:305:402::300/123\",\r\n \"2603:1020:405:402::300/123\",\r\n + \ \"2603:1020:605:402::300/123\",\r\n \"2603:1020:705:402::300/123\",\r\n + \ \"2603:1020:705:802::240/123\",\r\n \"2603:1020:705:c02::240/123\",\r\n + \ \"2603:1020:805:402::300/123\",\r\n \"2603:1020:805:802::240/123\",\r\n + \ \"2603:1020:805:c02::240/123\",\r\n \"2603:1020:905:402::300/123\",\r\n + \ \"2603:1020:a04:402::300/123\",\r\n \"2603:1020:a04:802::240/123\",\r\n + \ \"2603:1020:a04:c02::240/123\",\r\n \"2603:1020:b04:402::300/123\",\r\n + \ \"2603:1020:c04:402::300/123\",\r\n \"2603:1020:c04:802::240/123\",\r\n + \ \"2603:1020:c04:c02::240/123\",\r\n \"2603:1020:d04:402::300/123\",\r\n + \ \"2603:1020:e04:402::300/123\",\r\n \"2603:1020:e04:802::240/123\",\r\n + \ \"2603:1020:e04:c02::240/123\",\r\n \"2603:1020:f04:402::300/123\",\r\n + \ \"2603:1020:1004:400::480/123\",\r\n \"2603:1020:1004:800::100/123\",\r\n + \ \"2603:1020:1004:800::240/123\",\r\n \"2603:1020:1004:c02::2a0/123\",\r\n + \ \"2603:1020:1104:400::300/123\",\r\n \"2603:1030:f:400::b00/123\",\r\n + \ \"2603:1030:10:402::300/123\",\r\n \"2603:1030:10:802::240/123\",\r\n + \ \"2603:1030:10:c02::240/123\",\r\n \"2603:1030:104:402::300/123\",\r\n + \ \"2603:1030:107:400::280/123\",\r\n \"2603:1030:210:402::300/123\",\r\n + \ \"2603:1030:210:802::240/123\",\r\n \"2603:1030:210:c02::240/123\",\r\n + \ \"2603:1030:40b:400::b00/123\",\r\n \"2603:1030:40b:800::240/123\",\r\n + \ \"2603:1030:40b:c00::240/123\",\r\n \"2603:1030:40c:402::300/123\",\r\n + \ \"2603:1030:40c:802::240/123\",\r\n \"2603:1030:40c:c02::240/123\",\r\n + \ \"2603:1030:504:802::100/123\",\r\n \"2603:1030:504:c02::2a0/123\",\r\n + \ \"2603:1030:608:402::300/123\",\r\n \"2603:1030:807:402::300/123\",\r\n + \ \"2603:1030:807:802::240/123\",\r\n \"2603:1030:807:c02::240/123\",\r\n + \ \"2603:1030:a07:402::980/123\",\r\n \"2603:1030:b04:402::300/123\",\r\n + \ \"2603:1030:c06:400::b00/123\",\r\n \"2603:1030:c06:802::240/123\",\r\n + \ \"2603:1030:c06:c02::240/123\",\r\n \"2603:1030:f05:402::300/123\",\r\n + \ \"2603:1030:f05:802::240/123\",\r\n \"2603:1030:f05:c02::240/123\",\r\n + \ \"2603:1030:1005:402::300/123\",\r\n \"2603:1040:5:402::300/123\",\r\n + \ \"2603:1040:5:802::240/123\",\r\n \"2603:1040:5:c02::240/123\",\r\n + \ \"2603:1040:207:402::300/123\",\r\n \"2603:1040:407:402::300/123\",\r\n + \ \"2603:1040:407:802::240/123\",\r\n \"2603:1040:407:c02::240/123\",\r\n + \ \"2603:1040:606:402::300/123\",\r\n \"2603:1040:806:402::300/123\",\r\n + \ \"2603:1040:904:402::300/123\",\r\n \"2603:1040:904:802::240/123\",\r\n + \ \"2603:1040:904:c02::240/123\",\r\n \"2603:1040:a06:402::300/123\",\r\n + \ \"2603:1040:a06:802::240/123\",\r\n \"2603:1040:a06:c02::240/123\",\r\n + \ \"2603:1040:b04:402::300/123\",\r\n \"2603:1040:c06:402::300/123\",\r\n + \ \"2603:1040:d04:400::480/123\",\r\n \"2603:1040:d04:800::100/123\",\r\n + \ \"2603:1040:d04:800::240/123\",\r\n \"2603:1040:d04:c02::2a0/123\",\r\n + \ \"2603:1040:f05:402::300/123\",\r\n \"2603:1040:f05:802::240/123\",\r\n + \ \"2603:1040:f05:c02::240/123\",\r\n \"2603:1040:1104:400::300/123\",\r\n + \ \"2603:1050:6:402::300/123\",\r\n \"2603:1050:6:802::240/123\",\r\n + \ \"2603:1050:6:c02::240/123\",\r\n \"2603:1050:403:400::220/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureIoTHub.EastUS\",\r\n + \ \"id\": \"AzureIoTHub.EastUS\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"eastus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\"\r\n ],\r\n \"systemService\": \"AzureIoTHub\",\r\n + \ \"addressPrefixes\": [\r\n \"13.82.93.138/32\",\r\n \"20.49.109.128/25\",\r\n + \ \"20.49.110.0/26\",\r\n \"20.49.110.128/25\",\r\n \"40.71.14.128/25\",\r\n + \ \"40.76.71.185/32\",\r\n \"40.78.229.128/25\",\r\n \"40.79.156.128/25\",\r\n + \ \"40.114.53.146/32\",\r\n \"52.168.180.95/32\",\r\n \"104.211.18.153/32\",\r\n + \ \"137.117.83.38/32\",\r\n \"168.61.54.255/32\",\r\n \"2603:1030:210:402::300/123\",\r\n + \ \"2603:1030:210:802::240/123\",\r\n \"2603:1030:210:c02::240/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureIoTHub.EastUS2EUAP\",\r\n + \ \"id\": \"AzureIoTHub.EastUS2EUAP\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"eastus2euap\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\"\r\n ],\r\n \"systemService\": \"AzureIoTHub\",\r\n + \ \"addressPrefixes\": [\r\n \"20.39.14.32/27\",\r\n \"20.39.14.128/25\",\r\n + \ \"40.74.149.0/27\",\r\n \"40.75.35.96/27\",\r\n \"40.79.114.144/32\",\r\n + \ \"52.138.92.96/27\",\r\n \"52.225.176.167/32\",\r\n \"52.225.177.25/32\",\r\n + \ \"52.225.179.220/32\",\r\n \"52.225.180.26/32\",\r\n \"52.225.180.217/32\",\r\n + \ \"52.225.187.149/32\",\r\n \"2603:1030:40b:400::b00/123\",\r\n + \ \"2603:1030:40b:800::240/123\",\r\n \"2603:1030:40b:c00::240/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureIoTHub.NorwayEast\",\r\n + \ \"id\": \"AzureIoTHub.NorwayEast\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"norwaye\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\"\r\n ],\r\n \"systemService\": \"AzureIoTHub\",\r\n + \ \"addressPrefixes\": [\r\n \"51.120.43.128/25\",\r\n \"51.120.44.0/27\",\r\n + \ \"51.120.100.96/27\",\r\n \"51.120.107.224/27\",\r\n \"51.120.211.224/27\",\r\n + \ \"2603:1020:e04:402::300/123\",\r\n \"2603:1020:e04:802::240/123\",\r\n + \ \"2603:1020:e04:c02::240/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureIoTHub.NorwayWest\",\r\n \"id\": \"AzureIoTHub.NorwayWest\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"norwayw\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\"\r\n ],\r\n \"systemService\": + \"AzureIoTHub\",\r\n \"addressPrefixes\": [\r\n \"51.120.227.128/25\",\r\n + \ \"51.120.228.0/27\",\r\n \"2603:1020:f04:402::300/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureIoTHub.SouthCentralUS\",\r\n + \ \"id\": \"AzureIoTHub.SouthCentralUS\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"southcentralus\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\"\r\n ],\r\n \"systemService\": + \"AzureIoTHub\",\r\n \"addressPrefixes\": [\r\n \"13.73.244.0/27\",\r\n + \ \"13.73.252.128/25\",\r\n \"13.84.189.6/32\",\r\n \"13.85.68.113/32\",\r\n + \ \"20.45.123.128/27\",\r\n \"20.49.91.128/27\",\r\n \"40.119.11.224/27\",\r\n + \ \"104.214.34.123/32\",\r\n \"2603:1030:807:402::300/123\",\r\n + \ \"2603:1030:807:802::240/123\",\r\n \"2603:1030:807:c02::240/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureIoTHub.SouthIndia\",\r\n + \ \"id\": \"AzureIoTHub.SouthIndia\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"southindia\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\"\r\n ],\r\n \"systemService\": \"AzureIoTHub\",\r\n + \ \"addressPrefixes\": [\r\n \"13.71.84.34/32\",\r\n \"13.71.113.127/32\",\r\n + \ \"20.41.197.64/27\",\r\n \"20.41.197.128/25\",\r\n \"40.78.196.96/27\",\r\n + \ \"104.211.210.195/32\",\r\n \"2603:1040:c06:402::300/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureIoTHub.SwitzerlandWest\",\r\n + \ \"id\": \"AzureIoTHub.SwitzerlandWest\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"switzerlandw\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\"\r\n ],\r\n \"systemService\": \"AzureIoTHub\",\r\n + \ \"addressPrefixes\": [\r\n \"51.107.147.64/27\",\r\n \"51.107.147.128/25\",\r\n + \ \"51.107.156.96/27\",\r\n \"2603:1020:b04:402::300/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureIoTHub.UAENorth\",\r\n + \ \"id\": \"AzureIoTHub.UAENorth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"uaenorth\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\"\r\n ],\r\n \"systemService\": \"AzureIoTHub\",\r\n + \ \"addressPrefixes\": [\r\n \"20.38.139.128/25\",\r\n \"20.38.140.0/27\",\r\n + \ \"40.120.75.160/27\",\r\n \"65.52.252.160/27\",\r\n \"2603:1040:904:402::300/123\",\r\n + \ \"2603:1040:904:802::240/123\",\r\n \"2603:1040:904:c02::240/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureIoTHub.WestIndia\",\r\n + \ \"id\": \"AzureIoTHub.WestIndia\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"westindia\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\"\r\n ],\r\n \"systemService\": \"AzureIoTHub\",\r\n + \ \"addressPrefixes\": [\r\n \"20.38.128.128/27\",\r\n \"52.136.51.128/25\",\r\n + \ \"52.136.52.0/27\",\r\n \"2603:1040:806:402::300/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureKeyVault\",\r\n + \ \"id\": \"AzureKeyVault\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"4\",\r\n \"region\": + \"\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n + \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\",\r\n + \ \"VSE\"\r\n ],\r\n \"systemService\": \"AzureKeyVault\",\r\n + \ \"addressPrefixes\": [\r\n \"13.66.138.88/30\",\r\n \"13.66.226.249/32\",\r\n + \ \"13.66.230.241/32\",\r\n \"13.67.8.104/30\",\r\n \"13.68.24.216/32\",\r\n + \ \"13.68.29.203/32\",\r\n \"13.68.104.240/32\",\r\n \"13.69.64.72/30\",\r\n + \ \"13.69.227.72/30\",\r\n \"13.70.72.24/30\",\r\n \"13.70.138.129/32\",\r\n + \ \"13.71.170.40/30\",\r\n \"13.71.194.112/30\",\r\n \"13.72.250.239/32\",\r\n + \ \"13.74.10.39/32\",\r\n \"13.74.10.113/32\",\r\n \"13.75.34.144/30\",\r\n + \ \"13.77.50.64/30\",\r\n \"13.78.106.88/30\",\r\n \"13.80.247.19/32\",\r\n + \ \"13.80.247.42/32\",\r\n \"13.84.174.143/32\",\r\n \"13.87.34.51/32\",\r\n + \ \"13.87.39.0/32\",\r\n \"13.87.56.80/30\",\r\n \"13.87.101.60/32\",\r\n + \ \"13.87.101.111/32\",\r\n \"13.87.122.80/30\",\r\n \"13.89.61.248/32\",\r\n + \ \"13.89.170.200/30\",\r\n \"20.36.40.39/32\",\r\n \"20.36.40.42/32\",\r\n + \ \"20.36.72.34/32\",\r\n \"20.36.72.38/32\",\r\n \"20.36.106.64/30\",\r\n + \ \"20.36.114.16/30\",\r\n \"20.37.74.228/30\",\r\n \"20.38.149.196/30\",\r\n + \ \"20.40.230.32/28\",\r\n \"20.40.230.48/29\",\r\n \"20.43.56.38/32\",\r\n + \ \"20.43.56.66/32\",\r\n \"20.44.2.0/30\",\r\n \"20.45.90.72/29\",\r\n + \ \"20.45.90.80/30\",\r\n \"20.45.117.32/29\",\r\n \"20.45.117.40/30\",\r\n + \ \"20.45.123.240/30\",\r\n \"20.45.123.252/30\",\r\n \"20.45.208.8/30\",\r\n + \ \"20.46.11.248/29\",\r\n \"20.46.12.192/30\",\r\n \"20.48.197.104/29\",\r\n + \ \"20.48.197.112/30\",\r\n \"20.49.82.0/30\",\r\n \"20.49.90.0/30\",\r\n + \ \"20.49.91.232/30\",\r\n \"20.49.119.232/29\",\r\n \"20.49.119.240/28\",\r\n + \ \"20.51.12.248/29\",\r\n \"20.51.13.64/30\",\r\n \"20.51.20.84/30\",\r\n + \ \"20.51.21.64/29\",\r\n \"20.52.88.144/29\",\r\n \"20.52.88.152/30\",\r\n + \ \"20.53.47.68/30\",\r\n \"20.53.47.200/29\",\r\n \"20.53.48.40/29\",\r\n + \ \"20.53.49.96/30\",\r\n \"20.53.57.40/29\",\r\n \"20.53.57.48/30\",\r\n + \ \"20.58.67.48/29\",\r\n \"20.58.67.56/30\",\r\n \"20.61.103.224/29\",\r\n + \ \"20.61.103.232/30\",\r\n \"20.62.60.128/27\",\r\n \"20.62.134.76/30\",\r\n + \ \"20.62.134.224/29\",\r\n \"20.65.134.48/28\",\r\n \"20.65.134.64/29\",\r\n + \ \"20.66.2.28/30\",\r\n \"20.66.5.128/29\",\r\n \"20.69.1.104/29\",\r\n + \ \"20.69.1.112/30\",\r\n \"20.72.21.148/30\",\r\n \"20.72.21.192/29\",\r\n + \ \"20.72.26.0/30\",\r\n \"20.150.170.0/30\",\r\n \"20.150.181.28/30\",\r\n + \ \"20.150.181.164/30\",\r\n \"20.150.189.32/30\",\r\n \"20.150.244.36/30\",\r\n + \ \"20.150.245.56/29\",\r\n \"20.185.217.251/32\",\r\n \"20.185.218.1/32\",\r\n + \ \"20.186.41.83/32\",\r\n \"20.186.47.182/32\",\r\n \"20.188.2.148/32\",\r\n + \ \"20.188.2.156/32\",\r\n \"20.188.40.44/32\",\r\n \"20.188.40.46/32\",\r\n + \ \"20.189.228.136/29\",\r\n \"20.189.228.208/30\",\r\n \"20.191.166.120/29\",\r\n + \ \"20.191.167.128/30\",\r\n \"20.192.44.112/29\",\r\n \"20.192.44.120/30\",\r\n + \ \"20.192.50.216/29\",\r\n \"20.192.50.224/30\",\r\n \"20.192.80.48/29\",\r\n + \ \"20.192.80.56/30\",\r\n \"20.192.234.0/30\",\r\n \"20.193.194.44/30\",\r\n + \ \"20.193.194.80/29\",\r\n \"20.193.202.0/30\",\r\n \"20.194.66.0/30\",\r\n + \ \"20.194.74.80/29\",\r\n \"20.194.74.88/30\",\r\n \"20.195.67.192/29\",\r\n + \ \"20.195.67.200/30\",\r\n \"20.195.74.168/29\",\r\n \"20.195.74.176/30\",\r\n + \ \"20.195.146.68/30\",\r\n \"20.195.146.192/29\",\r\n \"23.96.210.207/32\",\r\n + \ \"23.96.250.48/32\",\r\n \"23.97.50.43/32\",\r\n \"23.97.120.25/32\",\r\n + \ \"23.97.120.29/32\",\r\n \"23.97.120.39/32\",\r\n \"23.97.120.57/32\",\r\n + \ \"23.97.178.0/32\",\r\n \"23.99.132.207/32\",\r\n \"23.100.57.24/32\",\r\n + \ \"23.100.58.149/32\",\r\n \"23.101.21.103/32\",\r\n \"23.101.21.193/32\",\r\n + \ \"23.101.23.190/32\",\r\n \"23.101.23.192/32\",\r\n \"23.101.159.107/32\",\r\n + \ \"23.102.72.114/32\",\r\n \"23.102.75.18/32\",\r\n \"40.65.188.244/32\",\r\n + \ \"40.65.189.219/32\",\r\n \"40.67.53.184/29\",\r\n \"40.67.53.224/30\",\r\n + \ \"40.67.58.0/30\",\r\n \"40.69.106.64/30\",\r\n \"40.70.146.72/30\",\r\n + \ \"40.70.186.91/32\",\r\n \"40.70.204.6/32\",\r\n \"40.70.204.32/32\",\r\n + \ \"40.71.10.200/30\",\r\n \"40.74.100.48/30\",\r\n \"40.76.196.75/32\",\r\n + \ \"40.76.212.37/32\",\r\n \"40.78.194.64/30\",\r\n \"40.79.118.1/32\",\r\n + \ \"40.79.118.5/32\",\r\n \"40.79.130.40/30\",\r\n \"40.79.163.156/30\",\r\n + \ \"40.79.173.4/30\",\r\n \"40.79.178.64/30\",\r\n \"40.84.47.24/32\",\r\n + \ \"40.85.185.208/32\",\r\n \"40.85.229.9/32\",\r\n \"40.85.231.231/32\",\r\n + \ \"40.86.224.94/32\",\r\n \"40.86.231.180/32\",\r\n \"40.87.69.184/32\",\r\n + \ \"40.89.145.89/32\",\r\n \"40.89.145.93/32\",\r\n \"40.89.180.10/32\",\r\n + \ \"40.89.180.25/32\",\r\n \"40.91.193.78/32\",\r\n \"40.91.199.213/32\",\r\n + \ \"40.112.242.144/30\",\r\n \"40.117.157.122/32\",\r\n \"40.120.74.0/30\",\r\n + \ \"40.120.82.104/29\",\r\n \"40.120.82.112/30\",\r\n \"40.124.64.128/30\",\r\n + \ \"51.12.17.232/29\",\r\n \"51.12.17.240/30\",\r\n \"51.12.25.204/30\",\r\n + \ \"51.12.28.32/29\",\r\n \"51.12.98.0/30\",\r\n \"51.12.202.0/30\",\r\n + \ \"51.13.136.188/30\",\r\n \"51.13.137.216/29\",\r\n \"51.104.192.129/32\",\r\n + \ \"51.104.192.138/32\",\r\n \"51.105.4.67/32\",\r\n \"51.105.4.75/32\",\r\n + \ \"51.107.58.0/30\",\r\n \"51.107.154.0/30\",\r\n \"51.107.241.116/30\",\r\n + \ \"51.107.242.248/29\",\r\n \"51.107.250.44/30\",\r\n \"51.107.251.104/29\",\r\n + \ \"51.116.54.76/30\",\r\n \"51.116.55.88/29\",\r\n \"51.116.58.0/30\",\r\n + \ \"51.116.154.64/30\",\r\n \"51.116.243.220/30\",\r\n \"51.116.251.188/30\",\r\n + \ \"51.120.98.8/30\",\r\n \"51.120.218.0/30\",\r\n \"51.120.233.132/30\",\r\n + \ \"51.120.234.128/29\",\r\n \"51.138.210.132/30\",\r\n \"51.138.211.8/29\",\r\n + \ \"51.140.146.56/30\",\r\n \"51.140.157.60/32\",\r\n \"51.140.184.38/31\",\r\n + \ \"51.140.210.80/30\",\r\n \"51.141.8.42/31\",\r\n \"51.143.6.21/32\",\r\n + \ \"51.143.212.184/29\",\r\n \"51.143.213.192/30\",\r\n \"52.136.136.15/32\",\r\n + \ \"52.136.136.16/32\",\r\n \"52.136.184.236/30\",\r\n \"52.136.185.176/29\",\r\n + \ \"52.138.73.5/32\",\r\n \"52.138.73.51/32\",\r\n \"52.138.160.103/32\",\r\n + \ \"52.138.160.105/32\",\r\n \"52.139.107.208/29\",\r\n \"52.139.107.216/30\",\r\n + \ \"52.146.137.68/30\",\r\n \"52.146.137.168/29\",\r\n \"52.147.113.72/29\",\r\n + \ \"52.147.113.80/30\",\r\n \"52.148.84.142/32\",\r\n \"52.148.84.145/32\",\r\n + \ \"52.151.41.92/32\",\r\n \"52.151.47.4/32\",\r\n \"52.151.75.86/32\",\r\n + \ \"52.154.176.47/32\",\r\n \"52.154.177.179/32\",\r\n \"52.157.162.137/32\",\r\n + \ \"52.157.162.147/32\",\r\n \"52.158.236.253/32\",\r\n \"52.158.239.35/32\",\r\n + \ \"52.161.25.42/32\",\r\n \"52.161.31.136/32\",\r\n \"52.161.31.139/32\",\r\n + \ \"52.162.106.144/30\",\r\n \"52.162.255.194/32\",\r\n \"52.165.21.159/32\",\r\n + \ \"52.165.208.47/32\",\r\n \"52.167.143.179/32\",\r\n \"52.167.228.54/32\",\r\n + \ \"52.168.109.101/32\",\r\n \"52.169.232.147/32\",\r\n \"52.172.116.4/30\",\r\n + \ \"52.172.116.136/29\",\r\n \"52.173.90.250/32\",\r\n \"52.173.199.154/32\",\r\n + \ \"52.173.216.55/32\",\r\n \"52.175.236.86/32\",\r\n \"52.176.48.58/32\",\r\n + \ \"52.176.254.165/32\",\r\n \"52.177.71.51/32\",\r\n \"52.180.176.121/32\",\r\n + \ \"52.180.176.122/32\",\r\n \"52.183.24.22/32\",\r\n \"52.183.80.133/32\",\r\n + \ \"52.183.93.92/32\",\r\n \"52.183.94.166/32\",\r\n \"52.184.155.181/32\",\r\n + \ \"52.184.158.37/32\",\r\n \"52.184.164.12/32\",\r\n \"52.187.161.13/32\",\r\n + \ \"52.187.163.139/32\",\r\n \"52.225.179.130/32\",\r\n \"52.225.182.225/32\",\r\n + \ \"52.225.188.225/32\",\r\n \"52.225.191.36/32\",\r\n \"52.225.218.218/32\",\r\n + \ \"52.231.18.40/30\",\r\n \"52.231.32.65/32\",\r\n \"52.231.32.66/32\",\r\n + \ \"52.231.146.80/30\",\r\n \"52.231.200.107/32\",\r\n \"52.231.200.108/32\",\r\n + \ \"52.237.253.194/32\",\r\n \"52.246.157.4/30\",\r\n \"52.247.193.69/32\",\r\n + \ \"52.255.63.107/32\",\r\n \"52.255.152.252/32\",\r\n \"52.255.152.255/32\",\r\n + \ \"65.52.250.0/30\",\r\n \"102.37.81.88/29\",\r\n \"102.37.81.128/30\",\r\n + \ \"102.37.160.176/29\",\r\n \"102.37.160.184/30\",\r\n \"102.133.26.0/30\",\r\n + \ \"102.133.124.140/30\",\r\n \"102.133.154.0/30\",\r\n \"102.133.251.220/30\",\r\n + \ \"104.41.0.141/32\",\r\n \"104.41.1.239/32\",\r\n \"104.41.162.219/32\",\r\n + \ \"104.41.162.228/32\",\r\n \"104.42.6.91/32\",\r\n \"104.42.136.180/32\",\r\n + \ \"104.43.161.34/32\",\r\n \"104.43.192.26/32\",\r\n \"104.44.136.42/32\",\r\n + \ \"104.46.40.31/32\",\r\n \"104.46.179.244/30\",\r\n \"104.46.183.152/29\",\r\n + \ \"104.46.219.151/32\",\r\n \"104.46.219.184/32\",\r\n \"104.208.26.47/32\",\r\n + \ \"104.210.195.61/32\",\r\n \"104.211.81.24/30\",\r\n \"104.211.98.11/32\",\r\n + \ \"104.211.99.174/32\",\r\n \"104.211.146.64/30\",\r\n \"104.211.166.82/32\",\r\n + \ \"104.211.167.57/32\",\r\n \"104.211.224.186/32\",\r\n + \ \"104.211.225.134/32\",\r\n \"104.214.18.168/30\",\r\n + \ \"104.215.18.67/32\",\r\n \"104.215.31.67/32\",\r\n \"104.215.94.76/32\",\r\n + \ \"104.215.99.117/32\",\r\n \"104.215.139.166/32\",\r\n + \ \"104.215.140.132/32\",\r\n \"137.116.44.148/32\",\r\n + \ \"137.116.120.244/32\",\r\n \"137.116.233.191/32\",\r\n + \ \"168.62.108.27/32\",\r\n \"168.62.237.29/32\",\r\n \"168.63.167.27/32\",\r\n + \ \"168.63.219.200/32\",\r\n \"168.63.219.205/32\",\r\n \"191.233.50.0/30\",\r\n + \ \"191.233.203.24/30\",\r\n \"191.234.149.140/30\",\r\n + \ \"191.234.157.44/30\",\r\n \"191.238.72.76/30\",\r\n \"191.238.72.152/29\",\r\n + \ \"2603:1000:4::2a0/125\",\r\n \"2603:1000:4:402::80/125\",\r\n + \ \"2603:1000:104::660/125\",\r\n \"2603:1000:104:402::80/125\",\r\n + \ \"2603:1000:104:802::80/125\",\r\n \"2603:1000:104:c02::80/125\",\r\n + \ \"2603:1010:6::340/125\",\r\n \"2603:1010:6:402::80/125\",\r\n + \ \"2603:1010:6:802::80/125\",\r\n \"2603:1010:6:c02::80/125\",\r\n + \ \"2603:1010:101::2a0/125\",\r\n \"2603:1010:101:402::80/125\",\r\n + \ \"2603:1010:304::2a0/125\",\r\n \"2603:1010:304:402::80/125\",\r\n + \ \"2603:1010:404::2a0/125\",\r\n \"2603:1010:404:402::80/125\",\r\n + \ \"2603:1020:5::340/125\",\r\n \"2603:1020:5:402::80/125\",\r\n + \ \"2603:1020:5:802::80/125\",\r\n \"2603:1020:5:c02::80/125\",\r\n + \ \"2603:1020:206::340/125\",\r\n \"2603:1020:206:402::80/125\",\r\n + \ \"2603:1020:206:802::80/125\",\r\n \"2603:1020:206:c02::80/125\",\r\n + \ \"2603:1020:305:402::80/125\",\r\n \"2603:1020:405:402::80/125\",\r\n + \ \"2603:1020:605::2a0/125\",\r\n \"2603:1020:605:402::80/125\",\r\n + \ \"2603:1020:705::340/125\",\r\n \"2603:1020:705:402::80/125\",\r\n + \ \"2603:1020:705:802::80/125\",\r\n \"2603:1020:705:c02::80/125\",\r\n + \ \"2603:1020:805::340/125\",\r\n \"2603:1020:805:402::80/125\",\r\n + \ \"2603:1020:805:802::80/125\",\r\n \"2603:1020:805:c02::80/125\",\r\n + \ \"2603:1020:905::2a0/125\",\r\n \"2603:1020:905:402::80/125\",\r\n + \ \"2603:1020:a04::340/125\",\r\n \"2603:1020:a04:402::80/125\",\r\n + \ \"2603:1020:a04:802::80/125\",\r\n \"2603:1020:a04:c02::80/125\",\r\n + \ \"2603:1020:b04::2a0/125\",\r\n \"2603:1020:b04:402::80/125\",\r\n + \ \"2603:1020:c04::340/125\",\r\n \"2603:1020:c04:402::80/125\",\r\n + \ \"2603:1020:c04:802::80/125\",\r\n \"2603:1020:c04:c02::80/125\",\r\n + \ \"2603:1020:d04::2a0/125\",\r\n \"2603:1020:d04:402::80/125\",\r\n + \ \"2603:1020:e04::340/125\",\r\n \"2603:1020:e04:402::80/125\",\r\n + \ \"2603:1020:e04:802::80/125\",\r\n \"2603:1020:e04:c02::80/125\",\r\n + \ \"2603:1020:f04::2a0/125\",\r\n \"2603:1020:f04:402::80/125\",\r\n + \ \"2603:1020:1004:1::1f8/125\",\r\n \"2603:1020:1004:400::80/125\",\r\n + \ \"2603:1020:1004:400::2f8/125\",\r\n \"2603:1020:1004:800::140/125\",\r\n + \ \"2603:1020:1104:1::158/125\",\r\n \"2603:1020:1104:400::80/125\",\r\n + \ \"2603:1030:f:1::2a0/125\",\r\n \"2603:1030:f:400::880/125\",\r\n + \ \"2603:1030:10::340/125\",\r\n \"2603:1030:10:402::80/125\",\r\n + \ \"2603:1030:10:802::80/125\",\r\n \"2603:1030:10:c02::80/125\",\r\n + \ \"2603:1030:104::340/125\",\r\n \"2603:1030:104:402::80/125\",\r\n + \ \"2603:1030:107::738/125\",\r\n \"2603:1030:107:400::/125\",\r\n + \ \"2603:1030:107:400::10/125\",\r\n \"2603:1030:210::340/125\",\r\n + \ \"2603:1030:210:402::80/125\",\r\n \"2603:1030:210:802::80/125\",\r\n + \ \"2603:1030:210:c02::80/125\",\r\n \"2603:1030:40b:2::220/125\",\r\n + \ \"2603:1030:40b:400::880/125\",\r\n \"2603:1030:40b:800::80/125\",\r\n + \ \"2603:1030:40b:c00::80/125\",\r\n \"2603:1030:40c::340/125\",\r\n + \ \"2603:1030:40c:402::80/125\",\r\n \"2603:1030:40c:802::80/125\",\r\n + \ \"2603:1030:40c:c02::80/125\",\r\n \"2603:1030:504::1f8/125\",\r\n + \ \"2603:1030:504:402::80/125\",\r\n \"2603:1030:504:402::2f8/125\",\r\n + \ \"2603:1030:504:802::140/125\",\r\n \"2603:1030:608::2a0/125\",\r\n + \ \"2603:1030:608:402::80/125\",\r\n \"2603:1030:807::340/125\",\r\n + \ \"2603:1030:807:402::80/125\",\r\n \"2603:1030:807:802::80/125\",\r\n + \ \"2603:1030:807:c02::80/125\",\r\n \"2603:1030:a07::2a0/125\",\r\n + \ \"2603:1030:a07:402::80/125\",\r\n \"2603:1030:b04::2a0/125\",\r\n + \ \"2603:1030:b04:402::80/125\",\r\n \"2603:1030:c06:2::220/125\",\r\n + \ \"2603:1030:c06:400::880/125\",\r\n \"2603:1030:c06:802::80/125\",\r\n + \ \"2603:1030:c06:c02::80/125\",\r\n \"2603:1030:f05::340/125\",\r\n + \ \"2603:1030:f05:402::80/125\",\r\n \"2603:1030:f05:802::80/125\",\r\n + \ \"2603:1030:f05:c02::80/125\",\r\n \"2603:1030:1005::2a0/125\",\r\n + \ \"2603:1030:1005:402::80/125\",\r\n \"2603:1040:5::440/125\",\r\n + \ \"2603:1040:5:402::80/125\",\r\n \"2603:1040:5:802::80/125\",\r\n + \ \"2603:1040:5:c02::80/125\",\r\n \"2603:1040:207::2a0/125\",\r\n + \ \"2603:1040:207:402::80/125\",\r\n \"2603:1040:407::340/125\",\r\n + \ \"2603:1040:407:402::80/125\",\r\n \"2603:1040:407:802::80/125\",\r\n + \ \"2603:1040:407:c02::80/125\",\r\n \"2603:1040:606::2a0/125\",\r\n + \ \"2603:1040:606:402::80/125\",\r\n \"2603:1040:806::2a0/125\",\r\n + \ \"2603:1040:806:402::80/125\",\r\n \"2603:1040:904::340/125\",\r\n + \ \"2603:1040:904:402::80/125\",\r\n \"2603:1040:904:802::80/125\",\r\n + \ \"2603:1040:904:c02::80/125\",\r\n \"2603:1040:a06::440/125\",\r\n + \ \"2603:1040:a06:402::80/125\",\r\n \"2603:1040:a06:802::80/125\",\r\n + \ \"2603:1040:a06:c02::80/125\",\r\n \"2603:1040:b04::2a0/125\",\r\n + \ \"2603:1040:b04:402::80/125\",\r\n \"2603:1040:c06::2a0/125\",\r\n + \ \"2603:1040:c06:402::80/125\",\r\n \"2603:1040:d04:1::1f8/125\",\r\n + \ \"2603:1040:d04:400::80/125\",\r\n \"2603:1040:d04:400::2f8/125\",\r\n + \ \"2603:1040:d04:800::140/125\",\r\n \"2603:1040:e05::20/125\",\r\n + \ \"2603:1040:f05::340/125\",\r\n \"2603:1040:f05:402::80/125\",\r\n + \ \"2603:1040:f05:802::80/125\",\r\n \"2603:1040:f05:c02::80/125\",\r\n + \ \"2603:1040:1104:1::158/125\",\r\n \"2603:1040:1104:400::80/125\",\r\n + \ \"2603:1050:6::340/125\",\r\n \"2603:1050:6:402::80/125\",\r\n + \ \"2603:1050:6:802::80/125\",\r\n \"2603:1050:6:c02::80/125\",\r\n + \ \"2603:1050:403:1::220/125\",\r\n \"2603:1050:403:400::80/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureKeyVault.AustraliaCentral\",\r\n + \ \"id\": \"AzureKeyVault.AustraliaCentral\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"australiacentral\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureKeyVault\",\r\n \"addressPrefixes\": [\r\n \"20.36.40.39/32\",\r\n + \ \"20.36.40.42/32\",\r\n \"20.36.106.64/30\",\r\n \"20.53.48.40/29\",\r\n + \ \"20.53.49.96/30\",\r\n \"2603:1010:304::2a0/125\",\r\n + \ \"2603:1010:304:402::80/125\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureKeyVault.AustraliaCentral2\",\r\n \"id\": + \"AzureKeyVault.AustraliaCentral2\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"australiacentral2\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n + \ ],\r\n \"systemService\": \"AzureKeyVault\",\r\n \"addressPrefixes\": + [\r\n \"20.36.72.34/32\",\r\n \"20.36.72.38/32\",\r\n \"20.36.114.16/30\",\r\n + \ \"20.53.57.40/29\",\r\n \"20.53.57.48/30\",\r\n \"2603:1010:404::2a0/125\",\r\n + \ \"2603:1010:404:402::80/125\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureKeyVault.AustraliaEast\",\r\n \"id\": + \"AzureKeyVault.AustraliaEast\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"3\",\r\n \"region\": + \"australiaeast\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureKeyVault\",\r\n \"addressPrefixes\": + [\r\n \"13.70.72.24/30\",\r\n \"13.72.250.239/32\",\r\n + \ \"20.53.47.68/30\",\r\n \"20.53.47.200/29\",\r\n \"40.79.163.156/30\",\r\n + \ \"40.79.173.4/30\",\r\n \"52.237.253.194/32\",\r\n \"2603:1010:6::340/125\",\r\n + \ \"2603:1010:6:402::80/125\",\r\n \"2603:1010:6:802::80/125\",\r\n + \ \"2603:1010:6:c02::80/125\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureKeyVault.AustraliaSoutheast\",\r\n \"id\": + \"AzureKeyVault.AustraliaSoutheast\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"australiasoutheast\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureKeyVault\",\r\n \"addressPrefixes\": [\r\n \"13.70.138.129/32\",\r\n + \ \"13.77.50.64/30\",\r\n \"52.255.63.107/32\",\r\n \"104.46.179.244/30\",\r\n + \ \"104.46.183.152/29\",\r\n \"2603:1010:101::2a0/125\",\r\n + \ \"2603:1010:101:402::80/125\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureKeyVault.BrazilSouth\",\r\n \"id\": \"AzureKeyVault.BrazilSouth\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"3\",\r\n \"region\": \"brazilsouth\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\",\r\n \"VSE\"\r\n ],\r\n + \ \"systemService\": \"AzureKeyVault\",\r\n \"addressPrefixes\": + [\r\n \"104.41.0.141/32\",\r\n \"104.41.1.239/32\",\r\n + \ \"191.233.203.24/30\",\r\n \"191.234.149.140/30\",\r\n + \ \"191.234.157.44/30\",\r\n \"191.238.72.76/30\",\r\n \"191.238.72.152/29\",\r\n + \ \"2603:1050:6::340/125\",\r\n \"2603:1050:6:402::80/125\",\r\n + \ \"2603:1050:6:802::80/125\",\r\n \"2603:1050:6:c02::80/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureKeyVault.CanadaCentral\",\r\n + \ \"id\": \"AzureKeyVault.CanadaCentral\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"canadacentral\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\",\r\n + \ \"VSE\"\r\n ],\r\n \"systemService\": \"AzureKeyVault\",\r\n + \ \"addressPrefixes\": [\r\n \"13.71.170.40/30\",\r\n \"20.38.149.196/30\",\r\n + \ \"20.48.197.104/29\",\r\n \"20.48.197.112/30\",\r\n \"40.85.229.9/32\",\r\n + \ \"40.85.231.231/32\",\r\n \"52.246.157.4/30\",\r\n \"2603:1030:f05::340/125\",\r\n + \ \"2603:1030:f05:402::80/125\",\r\n \"2603:1030:f05:802::80/125\",\r\n + \ \"2603:1030:f05:c02::80/125\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureKeyVault.CanadaEast\",\r\n \"id\": \"AzureKeyVault.CanadaEast\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"3\",\r\n \"region\": \"canadaeast\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\",\r\n \"VSE\"\r\n ],\r\n + \ \"systemService\": \"AzureKeyVault\",\r\n \"addressPrefixes\": + [\r\n \"40.69.106.64/30\",\r\n \"40.86.224.94/32\",\r\n + \ \"40.86.231.180/32\",\r\n \"52.139.107.208/29\",\r\n \"52.139.107.216/30\",\r\n + \ \"2603:1030:1005::2a0/125\",\r\n \"2603:1030:1005:402::80/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureKeyVault.CentralIndia\",\r\n + \ \"id\": \"AzureKeyVault.CentralIndia\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"centralindia\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\",\r\n + \ \"VSE\"\r\n ],\r\n \"systemService\": \"AzureKeyVault\",\r\n + \ \"addressPrefixes\": [\r\n \"20.192.44.112/29\",\r\n \"20.192.44.120/30\",\r\n + \ \"104.211.81.24/30\",\r\n \"104.211.98.11/32\",\r\n \"104.211.99.174/32\",\r\n + \ \"2603:1040:a06::440/125\",\r\n \"2603:1040:a06:402::80/125\",\r\n + \ \"2603:1040:a06:802::80/125\",\r\n \"2603:1040:a06:c02::80/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureKeyVault.CentralUS\",\r\n + \ \"id\": \"AzureKeyVault.CentralUS\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"centralus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureKeyVault\",\r\n \"addressPrefixes\": + [\r\n \"13.89.61.248/32\",\r\n \"13.89.170.200/30\",\r\n + \ \"20.40.230.32/28\",\r\n \"20.40.230.48/29\",\r\n \"23.99.132.207/32\",\r\n + \ \"52.154.176.47/32\",\r\n \"52.154.177.179/32\",\r\n \"52.165.21.159/32\",\r\n + \ \"52.165.208.47/32\",\r\n \"52.173.90.250/32\",\r\n \"52.173.199.154/32\",\r\n + \ \"52.173.216.55/32\",\r\n \"52.176.48.58/32\",\r\n \"104.43.161.34/32\",\r\n + \ \"104.43.192.26/32\",\r\n \"104.208.26.47/32\",\r\n \"2603:1030:10::340/125\",\r\n + \ \"2603:1030:10:402::80/125\",\r\n \"2603:1030:10:802::80/125\",\r\n + \ \"2603:1030:10:c02::80/125\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureKeyVault.CentralUSEUAP\",\r\n \"id\": + \"AzureKeyVault.CentralUSEUAP\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"4\",\r\n \"region\": + \"centraluseuap\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureKeyVault\",\r\n \"addressPrefixes\": + [\r\n \"20.45.208.8/30\",\r\n \"20.46.11.248/29\",\r\n \"20.46.12.192/30\",\r\n + \ \"52.176.254.165/32\",\r\n \"52.180.176.121/32\",\r\n \"52.180.176.122/32\",\r\n + \ \"2603:1030:f:1::2a0/125\",\r\n \"2603:1030:f:400::880/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureKeyVault.EastAsia\",\r\n + \ \"id\": \"AzureKeyVault.EastAsia\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"eastasia\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureKeyVault\",\r\n \"addressPrefixes\": + [\r\n \"13.75.34.144/30\",\r\n \"20.195.74.168/29\",\r\n + \ \"20.195.74.176/30\",\r\n \"168.63.219.200/32\",\r\n \"168.63.219.205/32\",\r\n + \ \"2603:1040:207::2a0/125\",\r\n \"2603:1040:207:402::80/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureKeyVault.EastUS\",\r\n + \ \"id\": \"AzureKeyVault.EastUS\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"eastus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureKeyVault\",\r\n \"addressPrefixes\": + [\r\n \"20.62.134.76/30\",\r\n \"20.62.134.224/29\",\r\n + \ \"20.185.217.251/32\",\r\n \"20.185.218.1/32\",\r\n \"40.71.10.200/30\",\r\n + \ \"40.76.196.75/32\",\r\n \"40.76.212.37/32\",\r\n \"40.85.185.208/32\",\r\n + \ \"40.87.69.184/32\",\r\n \"40.117.157.122/32\",\r\n \"52.168.109.101/32\",\r\n + \ \"52.255.152.252/32\",\r\n \"52.255.152.255/32\",\r\n \"137.116.120.244/32\",\r\n + \ \"2603:1030:210::340/125\",\r\n \"2603:1030:210:402::80/125\",\r\n + \ \"2603:1030:210:802::80/125\",\r\n \"2603:1030:210:c02::80/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureKeyVault.EastUS2\",\r\n + \ \"id\": \"AzureKeyVault.EastUS2\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"eastus2\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureKeyVault\",\r\n \"addressPrefixes\": + [\r\n \"13.68.24.216/32\",\r\n \"13.68.29.203/32\",\r\n + \ \"13.68.104.240/32\",\r\n \"20.62.60.128/27\",\r\n \"20.186.41.83/32\",\r\n + \ \"20.186.47.182/32\",\r\n \"23.101.159.107/32\",\r\n \"40.70.146.72/30\",\r\n + \ \"40.70.186.91/32\",\r\n \"40.70.204.6/32\",\r\n \"40.70.204.32/32\",\r\n + \ \"40.84.47.24/32\",\r\n \"52.167.143.179/32\",\r\n \"52.167.228.54/32\",\r\n + \ \"52.177.71.51/32\",\r\n \"52.184.155.181/32\",\r\n \"52.184.158.37/32\",\r\n + \ \"52.184.164.12/32\",\r\n \"52.225.218.218/32\",\r\n \"137.116.44.148/32\",\r\n + \ \"2603:1030:40c::340/125\",\r\n \"2603:1030:40c:402::80/125\",\r\n + \ \"2603:1030:40c:802::80/125\",\r\n \"2603:1030:40c:c02::80/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureKeyVault.EastUS2EUAP\",\r\n + \ \"id\": \"AzureKeyVault.EastUS2EUAP\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"eastus2euap\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureKeyVault\",\r\n \"addressPrefixes\": + [\r\n \"20.51.20.84/30\",\r\n \"20.51.21.64/29\",\r\n \"40.79.118.1/32\",\r\n + \ \"40.79.118.5/32\",\r\n \"52.138.73.5/32\",\r\n \"52.138.73.51/32\",\r\n + \ \"52.225.179.130/32\",\r\n \"52.225.182.225/32\",\r\n \"52.225.188.225/32\",\r\n + \ \"52.225.191.36/32\",\r\n \"2603:1030:40b:2::220/125\",\r\n + \ \"2603:1030:40b:400::880/125\",\r\n \"2603:1030:40b:800::80/125\",\r\n + \ \"2603:1030:40b:c00::80/125\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureKeyVault.FranceCentral\",\r\n \"id\": + \"AzureKeyVault.FranceCentral\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"3\",\r\n \"region\": + \"centralfrance\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureKeyVault\",\r\n \"addressPrefixes\": + [\r\n \"20.43.56.38/32\",\r\n \"20.43.56.66/32\",\r\n \"20.188.40.44/32\",\r\n + \ \"20.188.40.46/32\",\r\n \"40.79.130.40/30\",\r\n \"40.89.145.89/32\",\r\n + \ \"40.89.145.93/32\",\r\n \"40.89.180.10/32\",\r\n \"40.89.180.25/32\",\r\n + \ \"51.138.210.132/30\",\r\n \"51.138.211.8/29\",\r\n \"2603:1020:805::340/125\",\r\n + \ \"2603:1020:805:402::80/125\",\r\n \"2603:1020:805:802::80/125\",\r\n + \ \"2603:1020:805:c02::80/125\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureKeyVault.FranceSouth\",\r\n \"id\": \"AzureKeyVault.FranceSouth\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"3\",\r\n \"region\": \"southfrance\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureKeyVault\",\r\n \"addressPrefixes\": [\r\n \"40.79.178.64/30\",\r\n + \ \"52.136.136.15/32\",\r\n \"52.136.136.16/32\",\r\n \"52.136.184.236/30\",\r\n + \ \"52.136.185.176/29\",\r\n \"2603:1020:905::2a0/125\",\r\n + \ \"2603:1020:905:402::80/125\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureKeyVault.GermanyNorth\",\r\n \"id\": + \"AzureKeyVault.GermanyNorth\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"3\",\r\n \"region\": + \"germanyn\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureKeyVault\",\r\n \"addressPrefixes\": + [\r\n \"51.116.54.76/30\",\r\n \"51.116.55.88/29\",\r\n + \ \"51.116.58.0/30\",\r\n \"2603:1020:d04::2a0/125\",\r\n + \ \"2603:1020:d04:402::80/125\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureKeyVault.GermanyWestCentral\",\r\n \"id\": + \"AzureKeyVault.GermanyWestCentral\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"germanywc\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureKeyVault\",\r\n \"addressPrefixes\": + [\r\n \"20.52.88.144/29\",\r\n \"20.52.88.152/30\",\r\n + \ \"51.116.154.64/30\",\r\n \"51.116.243.220/30\",\r\n \"51.116.251.188/30\",\r\n + \ \"2603:1020:c04::340/125\",\r\n \"2603:1020:c04:402::80/125\",\r\n + \ \"2603:1020:c04:802::80/125\",\r\n \"2603:1020:c04:c02::80/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureKeyVault.JapanEast\",\r\n + \ \"id\": \"AzureKeyVault.JapanEast\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"japaneast\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureKeyVault\",\r\n \"addressPrefixes\": + [\r\n \"13.78.106.88/30\",\r\n \"20.188.2.148/32\",\r\n + \ \"20.188.2.156/32\",\r\n \"20.191.166.120/29\",\r\n \"20.191.167.128/30\",\r\n + \ \"23.102.72.114/32\",\r\n \"23.102.75.18/32\",\r\n \"104.41.162.219/32\",\r\n + \ \"104.41.162.228/32\",\r\n \"104.46.219.151/32\",\r\n \"104.46.219.184/32\",\r\n + \ \"2603:1040:407::340/125\",\r\n \"2603:1040:407:402::80/125\",\r\n + \ \"2603:1040:407:802::80/125\",\r\n \"2603:1040:407:c02::80/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureKeyVault.JapanWest\",\r\n + \ \"id\": \"AzureKeyVault.JapanWest\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"japanwest\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureKeyVault\",\r\n \"addressPrefixes\": + [\r\n \"20.189.228.136/29\",\r\n \"20.189.228.208/30\",\r\n + \ \"40.74.100.48/30\",\r\n \"104.215.18.67/32\",\r\n \"104.215.31.67/32\",\r\n + \ \"2603:1040:606::2a0/125\",\r\n \"2603:1040:606:402::80/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureKeyVault.KoreaCentral\",\r\n + \ \"id\": \"AzureKeyVault.KoreaCentral\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"koreacentral\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureKeyVault\",\r\n \"addressPrefixes\": + [\r\n \"20.194.66.0/30\",\r\n \"20.194.74.80/29\",\r\n \"20.194.74.88/30\",\r\n + \ \"52.231.18.40/30\",\r\n \"52.231.32.65/32\",\r\n \"52.231.32.66/32\",\r\n + \ \"2603:1040:f05::340/125\",\r\n \"2603:1040:f05:402::80/125\",\r\n + \ \"2603:1040:f05:802::80/125\",\r\n \"2603:1040:f05:c02::80/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureKeyVault.KoreaSouth\",\r\n + \ \"id\": \"AzureKeyVault.KoreaSouth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"koreasouth\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureKeyVault\",\r\n \"addressPrefixes\": + [\r\n \"52.147.113.72/29\",\r\n \"52.147.113.80/30\",\r\n + \ \"52.231.146.80/30\",\r\n \"52.231.200.107/32\",\r\n \"52.231.200.108/32\",\r\n + \ \"2603:1040:e05::20/125\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureKeyVault.NorthCentralUS\",\r\n \"id\": + \"AzureKeyVault.NorthCentralUS\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"3\",\r\n \"region\": + \"northcentralus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureKeyVault\",\r\n \"addressPrefixes\": + [\r\n \"20.49.119.232/29\",\r\n \"20.49.119.240/28\",\r\n + \ \"23.96.210.207/32\",\r\n \"23.96.250.48/32\",\r\n \"52.162.106.144/30\",\r\n + \ \"52.162.255.194/32\",\r\n \"168.62.108.27/32\",\r\n \"168.62.237.29/32\",\r\n + \ \"2603:1030:608::2a0/125\",\r\n \"2603:1030:608:402::80/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureKeyVault.NorthEurope\",\r\n + \ \"id\": \"AzureKeyVault.NorthEurope\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"northeurope\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureKeyVault\",\r\n \"addressPrefixes\": + [\r\n \"13.69.227.72/30\",\r\n \"13.74.10.39/32\",\r\n \"13.74.10.113/32\",\r\n + \ \"23.100.57.24/32\",\r\n \"23.100.58.149/32\",\r\n \"52.138.160.103/32\",\r\n + \ \"52.138.160.105/32\",\r\n \"52.146.137.68/30\",\r\n \"52.146.137.168/29\",\r\n + \ \"52.169.232.147/32\",\r\n \"137.116.233.191/32\",\r\n + \ \"2603:1020:5::340/125\",\r\n \"2603:1020:5:402::80/125\",\r\n + \ \"2603:1020:5:802::80/125\",\r\n \"2603:1020:5:c02::80/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureKeyVault.NorwayEast\",\r\n + \ \"id\": \"AzureKeyVault.NorwayEast\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"norwaye\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureKeyVault\",\r\n \"addressPrefixes\": + [\r\n \"51.120.98.8/30\",\r\n \"51.120.233.132/30\",\r\n + \ \"51.120.234.128/29\",\r\n \"2603:1020:e04::340/125\",\r\n + \ \"2603:1020:e04:402::80/125\",\r\n \"2603:1020:e04:802::80/125\",\r\n + \ \"2603:1020:e04:c02::80/125\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureKeyVault.NorwayWest\",\r\n \"id\": \"AzureKeyVault.NorwayWest\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"3\",\r\n \"region\": \"norwayw\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureKeyVault\",\r\n \"addressPrefixes\": [\r\n \"51.13.136.188/30\",\r\n + \ \"51.13.137.216/29\",\r\n \"51.120.218.0/30\",\r\n \"2603:1020:f04::2a0/125\",\r\n + \ \"2603:1020:f04:402::80/125\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureKeyVault.SouthAfricaNorth\",\r\n \"id\": + \"AzureKeyVault.SouthAfricaNorth\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"3\",\r\n \"region\": + \"southafricanorth\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureKeyVault\",\r\n \"addressPrefixes\": + [\r\n \"102.37.160.176/29\",\r\n \"102.37.160.184/30\",\r\n + \ \"102.133.124.140/30\",\r\n \"102.133.154.0/30\",\r\n \"102.133.251.220/30\",\r\n + \ \"2603:1000:104::660/125\",\r\n \"2603:1000:104:402::80/125\",\r\n + \ \"2603:1000:104:802::80/125\",\r\n \"2603:1000:104:c02::80/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureKeyVault.SouthAfricaWest\",\r\n + \ \"id\": \"AzureKeyVault.SouthAfricaWest\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"southafricawest\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureKeyVault\",\r\n \"addressPrefixes\": [\r\n \"102.37.81.88/29\",\r\n + \ \"102.37.81.128/30\",\r\n \"102.133.26.0/30\",\r\n \"2603:1000:4::2a0/125\",\r\n + \ \"2603:1000:4:402::80/125\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureKeyVault.SouthCentralUS\",\r\n \"id\": + \"AzureKeyVault.SouthCentralUS\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"3\",\r\n \"region\": + \"southcentralus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureKeyVault\",\r\n \"addressPrefixes\": + [\r\n \"13.84.174.143/32\",\r\n \"20.45.123.240/30\",\r\n + \ \"20.45.123.252/30\",\r\n \"20.49.90.0/30\",\r\n \"20.49.91.232/30\",\r\n + \ \"20.65.134.48/28\",\r\n \"20.65.134.64/29\",\r\n \"40.124.64.128/30\",\r\n + \ \"104.44.136.42/32\",\r\n \"104.210.195.61/32\",\r\n \"104.214.18.168/30\",\r\n + \ \"104.215.94.76/32\",\r\n \"104.215.99.117/32\",\r\n \"2603:1030:807::340/125\",\r\n + \ \"2603:1030:807:402::80/125\",\r\n \"2603:1030:807:802::80/125\",\r\n + \ \"2603:1030:807:c02::80/125\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureKeyVault.SoutheastAsia\",\r\n \"id\": + \"AzureKeyVault.SoutheastAsia\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"3\",\r\n \"region\": + \"southeastasia\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureKeyVault\",\r\n \"addressPrefixes\": + [\r\n \"13.67.8.104/30\",\r\n \"20.195.67.192/29\",\r\n + \ \"20.195.67.200/30\",\r\n \"23.97.50.43/32\",\r\n \"23.101.21.103/32\",\r\n + \ \"23.101.21.193/32\",\r\n \"23.101.23.190/32\",\r\n \"23.101.23.192/32\",\r\n + \ \"40.65.188.244/32\",\r\n \"40.65.189.219/32\",\r\n \"52.148.84.142/32\",\r\n + \ \"52.148.84.145/32\",\r\n \"52.187.161.13/32\",\r\n \"52.187.163.139/32\",\r\n + \ \"104.215.139.166/32\",\r\n \"104.215.140.132/32\",\r\n + \ \"168.63.167.27/32\",\r\n \"2603:1040:5::440/125\",\r\n + \ \"2603:1040:5:402::80/125\",\r\n \"2603:1040:5:802::80/125\",\r\n + \ \"2603:1040:5:c02::80/125\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureKeyVault.SouthIndia\",\r\n \"id\": \"AzureKeyVault.SouthIndia\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"3\",\r\n \"region\": \"southindia\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureKeyVault\",\r\n \"addressPrefixes\": [\r\n \"40.78.194.64/30\",\r\n + \ \"52.172.116.4/30\",\r\n \"52.172.116.136/29\",\r\n \"104.211.224.186/32\",\r\n + \ \"104.211.225.134/32\",\r\n \"2603:1040:c06::2a0/125\",\r\n + \ \"2603:1040:c06:402::80/125\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureKeyVault.SwitzerlandNorth\",\r\n \"id\": + \"AzureKeyVault.SwitzerlandNorth\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"3\",\r\n \"region\": + \"switzerlandn\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureKeyVault\",\r\n \"addressPrefixes\": + [\r\n \"51.107.58.0/30\",\r\n \"51.107.241.116/30\",\r\n + \ \"51.107.242.248/29\",\r\n \"2603:1020:a04::340/125\",\r\n + \ \"2603:1020:a04:402::80/125\",\r\n \"2603:1020:a04:802::80/125\",\r\n + \ \"2603:1020:a04:c02::80/125\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureKeyVault.SwitzerlandWest\",\r\n \"id\": + \"AzureKeyVault.SwitzerlandWest\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"3\",\r\n \"region\": + \"switzerlandw\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"AzureKeyVault\",\r\n \"addressPrefixes\": [\r\n \"51.107.154.0/30\",\r\n + \ \"51.107.250.44/30\",\r\n \"51.107.251.104/29\",\r\n \"2603:1020:b04::2a0/125\",\r\n + \ \"2603:1020:b04:402::80/125\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureKeyVault.UAECentral\",\r\n \"id\": \"AzureKeyVault.UAECentral\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"3\",\r\n \"region\": \"uaecentral\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureKeyVault\",\r\n \"addressPrefixes\": [\r\n \"20.37.74.228/30\",\r\n + \ \"20.45.90.72/29\",\r\n \"20.45.90.80/30\",\r\n \"2603:1040:b04::2a0/125\",\r\n + \ \"2603:1040:b04:402::80/125\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureKeyVault.UAENorth\",\r\n \"id\": \"AzureKeyVault.UAENorth\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"3\",\r\n \"region\": \"uaenorth\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureKeyVault\",\r\n \"addressPrefixes\": [\r\n \"40.120.74.0/30\",\r\n + \ \"40.120.82.104/29\",\r\n \"40.120.82.112/30\",\r\n \"65.52.250.0/30\",\r\n + \ \"2603:1040:904::340/125\",\r\n \"2603:1040:904:402::80/125\",\r\n + \ \"2603:1040:904:802::80/125\",\r\n \"2603:1040:904:c02::80/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureKeyVault.UKNorth\",\r\n + \ \"id\": \"AzureKeyVault.UKNorth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"uknorth\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\"\r\n ],\r\n \"systemService\": \"AzureKeyVault\",\r\n + \ \"addressPrefixes\": [\r\n \"13.87.101.60/32\",\r\n \"13.87.101.111/32\",\r\n + \ \"13.87.122.80/30\",\r\n \"2603:1020:305:402::80/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureKeyVault.UKSouth\",\r\n + \ \"id\": \"AzureKeyVault.UKSouth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"uksouth\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureKeyVault\",\r\n \"addressPrefixes\": + [\r\n \"51.104.192.129/32\",\r\n \"51.104.192.138/32\",\r\n + \ \"51.105.4.67/32\",\r\n \"51.105.4.75/32\",\r\n \"51.140.146.56/30\",\r\n + \ \"51.140.157.60/32\",\r\n \"51.140.184.38/31\",\r\n \"51.143.212.184/29\",\r\n + \ \"51.143.213.192/30\",\r\n \"52.151.75.86/32\",\r\n \"2603:1020:705::340/125\",\r\n + \ \"2603:1020:705:402::80/125\",\r\n \"2603:1020:705:802::80/125\",\r\n + \ \"2603:1020:705:c02::80/125\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureKeyVault.UKWest\",\r\n \"id\": \"AzureKeyVault.UKWest\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"3\",\r\n \"region\": \"ukwest\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureKeyVault\",\r\n \"addressPrefixes\": [\r\n \"20.58.67.48/29\",\r\n + \ \"20.58.67.56/30\",\r\n \"51.140.210.80/30\",\r\n \"51.141.8.42/31\",\r\n + \ \"2603:1020:605::2a0/125\",\r\n \"2603:1020:605:402::80/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureKeyVault.WestCentralUS\",\r\n + \ \"id\": \"AzureKeyVault.WestCentralUS\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"westcentralus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureKeyVault\",\r\n \"addressPrefixes\": + [\r\n \"13.71.194.112/30\",\r\n \"20.69.1.104/29\",\r\n + \ \"20.69.1.112/30\",\r\n \"52.161.25.42/32\",\r\n \"52.161.31.136/32\",\r\n + \ \"52.161.31.139/32\",\r\n \"2603:1030:b04::2a0/125\",\r\n + \ \"2603:1030:b04:402::80/125\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureKeyVault.WestEurope\",\r\n \"id\": \"AzureKeyVault.WestEurope\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"3\",\r\n \"region\": \"westeurope\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureKeyVault\",\r\n \"addressPrefixes\": [\r\n \"13.69.64.72/30\",\r\n + \ \"13.80.247.19/32\",\r\n \"13.80.247.42/32\",\r\n \"20.61.103.224/29\",\r\n + \ \"20.61.103.232/30\",\r\n \"23.97.178.0/32\",\r\n \"40.91.193.78/32\",\r\n + \ \"40.91.199.213/32\",\r\n \"52.157.162.137/32\",\r\n \"52.157.162.147/32\",\r\n + \ \"104.46.40.31/32\",\r\n \"2603:1020:206::340/125\",\r\n + \ \"2603:1020:206:402::80/125\",\r\n \"2603:1020:206:802::80/125\",\r\n + \ \"2603:1020:206:c02::80/125\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureKeyVault.WestIndia\",\r\n \"id\": \"AzureKeyVault.WestIndia\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"3\",\r\n \"region\": \"westindia\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureKeyVault\",\r\n \"addressPrefixes\": [\r\n \"20.192.80.48/29\",\r\n + \ \"20.192.80.56/30\",\r\n \"104.211.146.64/30\",\r\n \"104.211.166.82/32\",\r\n + \ \"104.211.167.57/32\",\r\n \"2603:1040:806::2a0/125\",\r\n + \ \"2603:1040:806:402::80/125\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureKeyVault.WestUS\",\r\n \"id\": \"AzureKeyVault.WestUS\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"3\",\r\n \"region\": \"westus\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureKeyVault\",\r\n \"addressPrefixes\": [\r\n \"20.66.2.28/30\",\r\n + \ \"20.66.5.128/29\",\r\n \"40.112.242.144/30\",\r\n \"104.42.6.91/32\",\r\n + \ \"104.42.136.180/32\",\r\n \"2603:1030:a07::2a0/125\",\r\n + \ \"2603:1030:a07:402::80/125\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureKeyVault.WestUS2\",\r\n \"id\": \"AzureKeyVault.WestUS2\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"3\",\r\n \"region\": \"westus2\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureKeyVault\",\r\n \"addressPrefixes\": [\r\n \"13.66.138.88/30\",\r\n + \ \"13.66.226.249/32\",\r\n \"13.66.230.241/32\",\r\n \"20.51.12.248/29\",\r\n + \ \"20.51.13.64/30\",\r\n \"51.143.6.21/32\",\r\n \"52.151.41.92/32\",\r\n + \ \"52.151.47.4/32\",\r\n \"52.158.236.253/32\",\r\n \"52.158.239.35/32\",\r\n + \ \"52.175.236.86/32\",\r\n \"52.183.24.22/32\",\r\n \"52.183.80.133/32\",\r\n + \ \"52.183.93.92/32\",\r\n \"52.183.94.166/32\",\r\n \"52.247.193.69/32\",\r\n + \ \"2603:1030:c06:2::220/125\",\r\n \"2603:1030:c06:400::880/125\",\r\n + \ \"2603:1030:c06:802::80/125\",\r\n \"2603:1030:c06:c02::80/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureMachineLearning\",\r\n + \ \"id\": \"AzureMachineLearning\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureMachineLearning\",\r\n \"addressPrefixes\": + [\r\n \"13.66.87.135/32\",\r\n \"13.66.140.80/28\",\r\n + \ \"13.67.8.224/28\",\r\n \"13.69.64.192/28\",\r\n \"13.69.106.192/28\",\r\n + \ \"13.69.227.192/28\",\r\n \"13.70.72.144/28\",\r\n \"13.71.170.192/28\",\r\n + \ \"13.71.173.80/28\",\r\n \"13.71.194.240/28\",\r\n \"13.73.240.16/28\",\r\n + \ \"13.73.240.112/28\",\r\n \"13.73.240.240/28\",\r\n \"13.73.248.96/28\",\r\n + \ \"13.74.107.160/28\",\r\n \"13.75.36.16/28\",\r\n \"13.77.50.224/28\",\r\n + \ \"13.78.106.208/28\",\r\n \"13.86.195.35/32\",\r\n \"13.87.56.112/28\",\r\n + \ \"13.87.122.112/28\",\r\n \"13.87.160.129/32\",\r\n \"13.89.171.64/28\",\r\n + \ \"20.36.106.80/28\",\r\n \"20.36.114.160/28\",\r\n \"20.37.67.80/28\",\r\n + \ \"20.37.74.208/28\",\r\n \"20.37.152.240/28\",\r\n \"20.37.192.96/28\",\r\n + \ \"20.38.80.96/28\",\r\n \"20.38.128.48/28\",\r\n \"20.38.147.128/28\",\r\n + \ \"20.39.1.205/32\",\r\n \"20.39.11.80/28\",\r\n \"20.40.141.171/32\",\r\n + \ \"20.41.0.240/28\",\r\n \"20.41.64.80/28\",\r\n \"20.41.197.0/28\",\r\n + \ \"20.42.0.240/28\",\r\n \"20.42.129.16/28\",\r\n \"20.42.227.48/28\",\r\n + \ \"20.43.40.96/28\",\r\n \"20.43.64.96/28\",\r\n \"20.43.120.112/28\",\r\n + \ \"20.43.128.112/28\",\r\n \"20.44.3.32/28\",\r\n \"20.44.26.224/28\",\r\n + \ \"20.44.132.166/32\",\r\n \"20.46.13.192/28\",\r\n \"20.72.16.48/28\",\r\n + \ \"20.150.161.128/28\",\r\n \"20.150.171.80/28\",\r\n \"20.150.179.64/28\",\r\n + \ \"20.150.187.64/28\",\r\n \"20.188.219.157/32\",\r\n \"20.188.221.15/32\",\r\n + \ \"20.189.106.80/28\",\r\n \"20.192.99.64/28\",\r\n \"20.192.160.48/28\",\r\n + \ \"20.192.225.144/28\",\r\n \"20.192.235.16/28\",\r\n \"23.98.82.192/28\",\r\n + \ \"23.100.232.216/32\",\r\n \"40.66.61.146/32\",\r\n \"40.67.59.80/28\",\r\n + \ \"40.69.106.224/28\",\r\n \"40.70.146.192/28\",\r\n \"40.70.154.161/32\",\r\n + \ \"40.71.11.64/28\",\r\n \"40.74.24.96/28\",\r\n \"40.74.100.176/28\",\r\n + \ \"40.74.147.48/28\",\r\n \"40.75.35.48/28\",\r\n \"40.78.194.224/28\",\r\n + \ \"40.78.202.80/28\",\r\n \"40.78.227.32/28\",\r\n \"40.78.234.128/28\",\r\n + \ \"40.78.242.176/28\",\r\n \"40.78.250.112/28\",\r\n \"40.79.130.192/28\",\r\n + \ \"40.79.138.128/28\",\r\n \"40.79.146.128/28\",\r\n \"40.79.154.64/28\",\r\n + \ \"40.79.162.48/28\",\r\n \"40.79.170.224/28\",\r\n \"40.79.178.224/28\",\r\n + \ \"40.79.186.160/28\",\r\n \"40.79.194.64/28\",\r\n \"40.80.51.64/28\",\r\n + \ \"40.80.57.176/28\",\r\n \"40.80.169.160/28\",\r\n \"40.80.184.80/28\",\r\n + \ \"40.80.188.96/28\",\r\n \"40.81.27.228/32\",\r\n \"40.82.187.230/32\",\r\n + \ \"40.82.248.80/28\",\r\n \"40.89.17.208/28\",\r\n \"40.90.184.249/32\",\r\n + \ \"40.91.77.76/32\",\r\n \"40.112.242.176/28\",\r\n \"40.119.8.80/28\",\r\n + \ \"51.11.24.49/32\",\r\n \"51.12.47.32/28\",\r\n \"51.12.99.80/28\",\r\n + \ \"51.12.198.224/28\",\r\n \"51.12.203.80/28\",\r\n \"51.12.227.64/28\",\r\n + \ \"51.12.235.64/28\",\r\n \"51.104.8.64/27\",\r\n \"51.104.24.96/28\",\r\n + \ \"51.105.67.16/28\",\r\n \"51.105.75.128/28\",\r\n \"51.105.88.224/28\",\r\n + \ \"51.105.129.135/32\",\r\n \"51.107.59.48/28\",\r\n \"51.107.147.32/28\",\r\n + \ \"51.107.155.48/28\",\r\n \"51.116.49.176/28\",\r\n \"51.116.59.48/28\",\r\n + \ \"51.116.155.112/28\",\r\n \"51.116.156.128/28\",\r\n \"51.116.250.224/28\",\r\n + \ \"51.120.99.64/28\",\r\n \"51.120.107.64/28\",\r\n \"51.120.211.64/28\",\r\n + \ \"51.120.219.80/28\",\r\n \"51.120.227.80/28\",\r\n \"51.120.234.224/28\",\r\n + \ \"51.137.161.224/28\",\r\n \"51.140.146.208/28\",\r\n \"51.140.210.208/28\",\r\n + \ \"51.144.184.47/32\",\r\n \"52.138.90.144/28\",\r\n \"52.138.226.160/28\",\r\n + \ \"52.139.3.33/32\",\r\n \"52.140.107.96/28\",\r\n \"52.141.25.58/32\",\r\n + \ \"52.141.26.97/32\",\r\n \"52.148.163.43/32\",\r\n \"52.150.136.80/28\",\r\n + \ \"52.151.111.249/32\",\r\n \"52.155.90.254/32\",\r\n \"52.155.115.7/32\",\r\n + \ \"52.156.193.50/32\",\r\n \"52.162.106.176/28\",\r\n \"52.167.106.160/28\",\r\n + \ \"52.177.164.219/32\",\r\n \"52.182.139.32/28\",\r\n \"52.184.87.76/32\",\r\n + \ \"52.185.70.56/32\",\r\n \"52.228.80.80/28\",\r\n \"52.230.56.136/32\",\r\n + \ \"52.231.18.192/28\",\r\n \"52.231.146.208/28\",\r\n \"52.236.186.192/28\",\r\n + \ \"52.242.224.215/32\",\r\n \"52.246.155.128/28\",\r\n \"52.249.59.91/32\",\r\n + \ \"52.252.160.26/32\",\r\n \"52.253.131.79/32\",\r\n \"52.253.131.198/32\",\r\n + \ \"52.253.227.208/32\",\r\n \"52.255.214.109/32\",\r\n \"52.255.217.127/32\",\r\n + \ \"65.52.250.192/28\",\r\n \"102.133.27.32/28\",\r\n \"102.133.58.224/28\",\r\n + \ \"102.133.122.224/27\",\r\n \"102.133.155.32/28\",\r\n + \ \"102.133.251.64/28\",\r\n \"104.208.16.160/28\",\r\n \"104.208.144.160/28\",\r\n + \ \"104.211.81.144/28\",\r\n \"104.214.19.32/28\",\r\n \"191.233.8.48/28\",\r\n + \ \"191.233.203.144/28\",\r\n \"191.233.240.165/32\",\r\n + \ \"191.233.242.167/32\",\r\n \"191.234.147.64/28\",\r\n + \ \"191.234.155.64/28\",\r\n \"191.235.224.96/28\",\r\n \"2603:1000:4::300/122\",\r\n + \ \"2603:1000:104:1::2c0/122\",\r\n \"2603:1010:6:1::2c0/122\",\r\n + \ \"2603:1010:101::300/122\",\r\n \"2603:1010:304::300/122\",\r\n + \ \"2603:1010:404::300/122\",\r\n \"2603:1020:5:1::2c0/122\",\r\n + \ \"2603:1020:206:1::2c0/122\",\r\n \"2603:1020:305::300/122\",\r\n + \ \"2603:1020:405::300/122\",\r\n \"2603:1020:605::300/122\",\r\n + \ \"2603:1020:705:1::2c0/122\",\r\n \"2603:1020:805:1::2c0/122\",\r\n + \ \"2603:1020:905::300/122\",\r\n \"2603:1020:a04:1::2c0/122\",\r\n + \ \"2603:1020:b04::300/122\",\r\n \"2603:1020:c04:1::2c0/122\",\r\n + \ \"2603:1020:d04::300/122\",\r\n \"2603:1020:e04:1::2c0/122\",\r\n + \ \"2603:1020:f04::300/122\",\r\n \"2603:1020:1004::2c0/122\",\r\n + \ \"2603:1020:1104::240/122\",\r\n \"2603:1030:f:1::300/122\",\r\n + \ \"2603:1030:10:1::2c0/122\",\r\n \"2603:1030:104:1::2c0/122\",\r\n + \ \"2603:1030:107::240/122\",\r\n \"2603:1030:210:1::2c0/122\",\r\n + \ \"2603:1030:40b:1::2c0/122\",\r\n \"2603:1030:40c:1::2c0/122\",\r\n + \ \"2603:1030:504:1::2c0/122\",\r\n \"2603:1030:608::300/122\",\r\n + \ \"2603:1030:807:1::2c0/122\",\r\n \"2603:1030:a07::300/122\",\r\n + \ \"2603:1030:b04::300/122\",\r\n \"2603:1030:c06:1::2c0/122\",\r\n + \ \"2603:1030:f05:1::2c0/122\",\r\n \"2603:1030:1005::300/122\",\r\n + \ \"2603:1040:5:1::2c0/122\",\r\n \"2603:1040:207::300/122\",\r\n + \ \"2603:1040:407:1::2c0/122\",\r\n \"2603:1040:606::300/122\",\r\n + \ \"2603:1040:806::300/122\",\r\n \"2603:1040:904:1::2c0/122\",\r\n + \ \"2603:1040:a06:1::2c0/122\",\r\n \"2603:1040:b04::300/122\",\r\n + \ \"2603:1040:c06::300/122\",\r\n \"2603:1040:d04::2c0/122\",\r\n + \ \"2603:1040:f05:1::2c0/122\",\r\n \"2603:1040:1104::240/122\",\r\n + \ \"2603:1050:6:1::2c0/122\",\r\n \"2603:1050:403::2c0/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureMachineLearning.AustraliaEast\",\r\n + \ \"id\": \"AzureMachineLearning.AustraliaEast\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"australiaeast\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\"\r\n ],\r\n \"systemService\": \"AzureMachineLearning\",\r\n + \ \"addressPrefixes\": [\r\n \"13.70.72.144/28\",\r\n \"20.37.192.96/28\",\r\n + \ \"20.188.219.157/32\",\r\n \"20.188.221.15/32\",\r\n \"40.79.162.48/28\",\r\n + \ \"40.79.170.224/28\",\r\n \"2603:1010:6:1::2c0/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureMachineLearning.CanadaEast\",\r\n + \ \"id\": \"AzureMachineLearning.CanadaEast\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"canadaeast\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\"\r\n ],\r\n \"systemService\": \"AzureMachineLearning\",\r\n + \ \"addressPrefixes\": [\r\n \"40.69.106.224/28\",\r\n \"40.89.17.208/28\",\r\n + \ \"2603:1030:1005::300/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureMachineLearning.CentralUS\",\r\n \"id\": + \"AzureMachineLearning.CentralUS\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"1\",\r\n \"region\": + \"centralus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\"\r\n ],\r\n \"systemService\": \"AzureMachineLearning\",\r\n + \ \"addressPrefixes\": [\r\n \"13.89.171.64/28\",\r\n \"20.37.152.240/28\",\r\n + \ \"52.182.139.32/28\",\r\n \"52.185.70.56/32\",\r\n \"52.242.224.215/32\",\r\n + \ \"104.208.16.160/28\",\r\n \"2603:1030:10:1::2c0/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureMachineLearning.CentralUSEUAP\",\r\n + \ \"id\": \"AzureMachineLearning.CentralUSEUAP\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"centraluseuap\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\"\r\n ],\r\n \"systemService\": \"AzureMachineLearning\",\r\n + \ \"addressPrefixes\": [\r\n \"20.46.13.192/28\",\r\n \"40.78.202.80/28\",\r\n + \ \"2603:1030:f:1::300/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureMachineLearning.GermanyWestCentral\",\r\n + \ \"id\": \"AzureMachineLearning.GermanyWestCentral\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"germanywc\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\"\r\n ],\r\n \"systemService\": \"AzureMachineLearning\",\r\n + \ \"addressPrefixes\": [\r\n \"51.116.155.112/28\",\r\n \"51.116.156.128/28\",\r\n + \ \"51.116.250.224/28\",\r\n \"2603:1020:c04:1::2c0/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureMachineLearning.JapanEast\",\r\n + \ \"id\": \"AzureMachineLearning.JapanEast\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"japaneast\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\"\r\n ],\r\n \"systemService\": \"AzureMachineLearning\",\r\n + \ \"addressPrefixes\": [\r\n \"13.78.106.208/28\",\r\n \"20.43.64.96/28\",\r\n + \ \"20.44.132.166/32\",\r\n \"40.79.186.160/28\",\r\n \"40.79.194.64/28\",\r\n + \ \"52.155.115.7/32\",\r\n \"2603:1040:407:1::2c0/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureMachineLearning.SouthIndia\",\r\n + \ \"id\": \"AzureMachineLearning.SouthIndia\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"southindia\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\"\r\n ],\r\n \"systemService\": \"AzureMachineLearning\",\r\n + \ \"addressPrefixes\": [\r\n \"20.41.197.0/28\",\r\n \"40.78.194.224/28\",\r\n + \ \"2603:1040:c06::300/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureMachineLearning.WestCentralUS\",\r\n \"id\": + \"AzureMachineLearning.WestCentralUS\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"westcentralus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\"\r\n ],\r\n \"systemService\": \"AzureMachineLearning\",\r\n + \ \"addressPrefixes\": [\r\n \"13.71.194.240/28\",\r\n \"52.150.136.80/28\",\r\n + \ \"52.253.131.79/32\",\r\n \"52.253.131.198/32\",\r\n \"2603:1030:b04::300/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureMonitor\",\r\n + \ \"id\": \"AzureMonitor\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"6\",\r\n \"region\": + \"\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n + \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureMonitor\",\r\n \"addressPrefixes\": + [\r\n \"13.65.96.175/32\",\r\n \"13.65.206.67/32\",\r\n + \ \"13.65.211.125/32\",\r\n \"13.66.36.144/32\",\r\n \"13.66.37.172/32\",\r\n + \ \"13.66.59.226/32\",\r\n \"13.66.60.151/32\",\r\n \"13.66.140.168/29\",\r\n + \ \"13.66.141.152/29\",\r\n \"13.66.143.218/32\",\r\n \"13.66.147.144/28\",\r\n + \ \"13.66.160.124/32\",\r\n \"13.66.220.187/32\",\r\n \"13.66.231.27/32\",\r\n + \ \"13.67.9.192/28\",\r\n \"13.67.10.64/29\",\r\n \"13.67.10.92/30\",\r\n + \ \"13.67.15.0/32\",\r\n \"13.67.77.233/32\",\r\n \"13.67.89.191/32\",\r\n + \ \"13.68.31.237/32\",\r\n \"13.68.101.211/32\",\r\n \"13.68.106.77/32\",\r\n + \ \"13.68.109.212/32\",\r\n \"13.68.111.247/32\",\r\n \"13.69.51.175/32\",\r\n + \ \"13.69.51.218/32\",\r\n \"13.69.65.16/28\",\r\n \"13.69.66.136/29\",\r\n + \ \"13.69.67.60/30\",\r\n \"13.69.67.126/32\",\r\n \"13.69.106.88/29\",\r\n + \ \"13.69.106.208/28\",\r\n \"13.69.109.224/27\",\r\n \"13.69.229.64/29\",\r\n + \ \"13.69.229.240/29\",\r\n \"13.69.233.0/30\",\r\n \"13.69.233.96/27\",\r\n + \ \"13.70.72.232/29\",\r\n \"13.70.73.104/29\",\r\n \"13.70.79.96/27\",\r\n + \ \"13.70.124.27/32\",\r\n \"13.70.127.61/32\",\r\n \"13.71.172.128/28\",\r\n + \ \"13.71.172.248/29\",\r\n \"13.71.175.128/32\",\r\n \"13.71.177.32/27\",\r\n + \ \"13.71.187.91/32\",\r\n \"13.71.191.47/32\",\r\n \"13.71.195.192/27\",\r\n + \ \"13.71.196.56/29\",\r\n \"13.71.199.116/32\",\r\n \"13.73.26.213/32\",\r\n + \ \"13.73.240.0/29\",\r\n \"13.73.242.32/29\",\r\n \"13.73.244.192/31\",\r\n + \ \"13.73.248.6/31\",\r\n \"13.73.253.104/29\",\r\n \"13.73.253.112/29\",\r\n + \ \"13.73.253.120/32\",\r\n \"13.74.107.88/30\",\r\n \"13.74.108.128/29\",\r\n + \ \"13.75.38.0/28\",\r\n \"13.75.38.120/29\",\r\n \"13.75.39.76/30\",\r\n + \ \"13.75.117.221/32\",\r\n \"13.75.119.169/32\",\r\n \"13.75.195.15/32\",\r\n + \ \"13.76.85.243/32\",\r\n \"13.76.87.86/32\",\r\n \"13.77.52.16/28\",\r\n + \ \"13.77.53.48/29\",\r\n \"13.77.53.220/32\",\r\n \"13.77.150.166/32\",\r\n + \ \"13.77.155.39/32\",\r\n \"13.77.174.177/32\",\r\n \"13.78.10.58/32\",\r\n + \ \"13.78.13.189/32\",\r\n \"13.78.108.160/29\",\r\n \"13.78.108.168/30\",\r\n + \ \"13.78.109.112/29\",\r\n \"13.78.111.192/32\",\r\n \"13.78.135.15/32\",\r\n + \ \"13.78.145.11/32\",\r\n \"13.78.151.158/32\",\r\n \"13.78.172.58/32\",\r\n + \ \"13.78.189.112/32\",\r\n \"13.78.236.149/32\",\r\n \"13.78.237.51/32\",\r\n + \ \"13.80.134.255/32\",\r\n \"13.82.100.176/32\",\r\n \"13.82.184.151/32\",\r\n + \ \"13.84.134.59/32\",\r\n \"13.84.148.7/32\",\r\n \"13.84.149.186/32\",\r\n + \ \"13.84.173.179/32\",\r\n \"13.84.189.95/32\",\r\n \"13.84.225.10/32\",\r\n + \ \"13.85.70.142/32\",\r\n \"13.86.218.224/28\",\r\n \"13.86.218.248/29\",\r\n + \ \"13.86.223.128/26\",\r\n \"13.87.56.248/29\",\r\n \"13.87.57.128/28\",\r\n + \ \"13.87.122.248/29\",\r\n \"13.87.123.128/28\",\r\n \"13.88.177.28/32\",\r\n + \ \"13.88.230.43/32\",\r\n \"13.88.247.208/32\",\r\n \"13.88.255.115/32\",\r\n + \ \"13.89.42.127/32\",\r\n \"13.89.171.112/30\",\r\n \"13.89.174.128/29\",\r\n + \ \"13.90.93.206/32\",\r\n \"13.90.248.141/32\",\r\n \"13.90.249.229/32\",\r\n + \ \"13.90.251.123/32\",\r\n \"13.91.42.27/32\",\r\n \"13.91.102.27/32\",\r\n + \ \"13.92.40.198/32\",\r\n \"13.92.40.223/32\",\r\n \"13.92.138.16/32\",\r\n + \ \"13.92.179.52/32\",\r\n \"13.92.211.249/32\",\r\n \"13.92.232.146/32\",\r\n + \ \"13.92.254.218/32\",\r\n \"13.92.255.146/32\",\r\n \"13.93.215.80/32\",\r\n + \ \"13.93.233.49/32\",\r\n \"13.93.236.73/32\",\r\n \"13.94.39.13/32\",\r\n + \ \"20.36.107.24/29\",\r\n \"20.36.107.160/28\",\r\n \"20.36.114.200/29\",\r\n + \ \"20.36.114.208/28\",\r\n \"20.36.125.224/27\",\r\n \"20.37.71.0/27\",\r\n + \ \"20.37.74.232/29\",\r\n \"20.37.74.240/28\",\r\n \"20.37.152.68/31\",\r\n + \ \"20.37.192.68/31\",\r\n \"20.37.195.26/31\",\r\n \"20.37.198.112/28\",\r\n + \ \"20.37.198.140/32\",\r\n \"20.37.198.232/29\",\r\n \"20.37.198.240/28\",\r\n + \ \"20.37.227.16/28\",\r\n \"20.37.227.100/31\",\r\n \"20.37.227.104/29\",\r\n + \ \"20.37.227.112/28\",\r\n \"20.38.80.68/31\",\r\n \"20.38.128.64/29\",\r\n + \ \"20.38.132.64/27\",\r\n \"20.38.143.0/27\",\r\n \"20.38.143.44/30\",\r\n + \ \"20.38.146.152/29\",\r\n \"20.38.147.144/29\",\r\n \"20.38.152.32/27\",\r\n + \ \"20.39.14.0/28\",\r\n \"20.39.15.16/28\",\r\n \"20.39.15.32/28\",\r\n + \ \"20.40.124.0/32\",\r\n \"20.40.137.91/32\",\r\n \"20.40.140.212/32\",\r\n + \ \"20.40.160.120/32\",\r\n \"20.40.200.172/31\",\r\n \"20.40.200.174/32\",\r\n + \ \"20.40.206.128/28\",\r\n \"20.40.206.232/29\",\r\n \"20.40.207.128/28\",\r\n + \ \"20.40.228.0/26\",\r\n \"20.41.49.208/32\",\r\n \"20.41.64.68/31\",\r\n + \ \"20.41.67.112/28\",\r\n \"20.41.69.4/30\",\r\n \"20.41.69.16/28\",\r\n + \ \"20.41.69.48/31\",\r\n \"20.41.69.62/31\",\r\n \"20.41.208.32/27\",\r\n + \ \"20.42.0.68/31\",\r\n \"20.42.65.128/25\",\r\n \"20.42.73.128/25\",\r\n + \ \"20.42.128.68/31\",\r\n \"20.42.230.112/28\",\r\n \"20.42.230.208/28\",\r\n + \ \"20.42.230.224/29\",\r\n \"20.42.230.232/31\",\r\n \"20.43.40.68/31\",\r\n + \ \"20.43.41.178/31\",\r\n \"20.43.44.128/28\",\r\n \"20.43.44.216/29\",\r\n + \ \"20.43.44.224/28\",\r\n \"20.43.64.68/31\",\r\n \"20.43.65.154/31\",\r\n + \ \"20.43.70.96/28\",\r\n \"20.43.70.192/29\",\r\n \"20.43.70.200/30\",\r\n + \ \"20.43.70.204/32\",\r\n \"20.43.70.224/29\",\r\n \"20.43.98.234/32\",\r\n + \ \"20.43.99.158/32\",\r\n \"20.43.120.0/29\",\r\n \"20.43.120.240/29\",\r\n + \ \"20.43.128.68/31\",\r\n \"20.43.152.45/32\",\r\n \"20.44.3.48/28\",\r\n + \ \"20.44.8.0/28\",\r\n \"20.44.11.192/26\",\r\n \"20.44.12.192/26\",\r\n + \ \"20.44.16.0/29\",\r\n \"20.44.17.0/29\",\r\n \"20.44.26.152/29\",\r\n + \ \"20.44.26.248/29\",\r\n \"20.44.73.196/32\",\r\n \"20.44.192.217/32\",\r\n + \ \"20.45.122.152/29\",\r\n \"20.45.123.80/29\",\r\n \"20.45.123.116/30\",\r\n + \ \"20.45.125.224/28\",\r\n \"20.46.10.224/27\",\r\n \"20.46.12.196/30\",\r\n + \ \"20.46.13.216/29\",\r\n \"20.46.15.48/29\",\r\n \"20.48.193.224/27\",\r\n + \ \"20.49.83.32/28\",\r\n \"20.49.84.32/27\",\r\n \"20.49.91.32/28\",\r\n + \ \"20.49.93.192/26\",\r\n \"20.49.99.44/31\",\r\n \"20.49.99.64/28\",\r\n + \ \"20.49.102.24/29\",\r\n \"20.49.102.32/28\",\r\n \"20.49.109.46/31\",\r\n + \ \"20.49.109.80/28\",\r\n \"20.49.111.16/28\",\r\n \"20.49.111.32/28\",\r\n + \ \"20.49.114.20/30\",\r\n \"20.49.114.32/28\",\r\n \"20.49.114.48/31\",\r\n + \ \"20.49.120.64/28\",\r\n \"20.50.65.80/28\",\r\n \"20.50.68.112/29\",\r\n + \ \"20.50.68.120/30\",\r\n \"20.50.68.124/31\",\r\n \"20.50.68.128/29\",\r\n + \ \"20.51.9.0/26\",\r\n \"20.51.17.64/27\",\r\n \"20.52.64.32/27\",\r\n + \ \"20.52.72.64/27\",\r\n \"20.53.0.128/27\",\r\n \"20.53.46.64/27\",\r\n + \ \"20.53.48.64/27\",\r\n \"20.58.66.96/27\",\r\n \"20.61.99.64/27\",\r\n + \ \"20.62.132.0/25\",\r\n \"20.65.132.0/26\",\r\n \"20.66.2.192/26\",\r\n + \ \"20.72.20.48/28\",\r\n \"20.72.21.0/30\",\r\n \"20.72.21.32/27\",\r\n + \ \"20.72.28.192/27\",\r\n \"20.135.13.192/26\",\r\n \"20.150.167.184/29\",\r\n + \ \"20.150.171.208/29\",\r\n \"20.150.173.0/28\",\r\n \"20.150.178.152/29\",\r\n + \ \"20.150.181.96/28\",\r\n \"20.150.182.32/27\",\r\n \"20.150.186.152/29\",\r\n + \ \"20.150.241.64/29\",\r\n \"20.150.241.72/30\",\r\n \"20.150.241.96/27\",\r\n + \ \"20.187.197.192/27\",\r\n \"20.188.36.28/32\",\r\n \"20.189.109.144/28\",\r\n + \ \"20.189.111.0/28\",\r\n \"20.189.111.16/29\",\r\n \"20.189.111.24/31\",\r\n + \ \"20.189.172.0/25\",\r\n \"20.189.225.128/27\",\r\n \"20.190.60.32/32\",\r\n + \ \"20.190.60.38/32\",\r\n \"20.191.165.64/27\",\r\n \"20.192.32.192/27\",\r\n + \ \"20.192.43.96/27\",\r\n \"20.192.45.100/31\",\r\n \"20.192.48.0/27\",\r\n + \ \"20.192.50.192/28\",\r\n \"20.192.98.152/29\",\r\n \"20.192.101.32/27\",\r\n + \ \"20.192.167.160/27\",\r\n \"20.192.231.244/30\",\r\n \"20.192.235.144/28\",\r\n + \ \"20.193.96.32/27\",\r\n \"20.193.194.24/29\",\r\n \"20.193.194.32/29\",\r\n + \ \"20.193.194.40/30\",\r\n \"20.193.203.112/28\",\r\n \"20.193.204.64/27\",\r\n + \ \"20.194.67.32/28\",\r\n \"20.194.67.224/27\",\r\n \"20.194.72.224/27\",\r\n + \ \"23.96.28.38/32\",\r\n \"23.96.245.125/32\",\r\n \"23.96.252.161/32\",\r\n + \ \"23.96.252.216/32\",\r\n \"23.97.65.103/32\",\r\n \"23.98.82.120/29\",\r\n + \ \"23.98.82.208/28\",\r\n \"23.98.104.160/28\",\r\n \"23.98.106.136/29\",\r\n + \ \"23.98.106.144/30\",\r\n \"23.98.106.148/31\",\r\n \"23.98.106.150/32\",\r\n + \ \"23.98.106.152/29\",\r\n \"23.99.130.172/32\",\r\n \"23.100.90.7/32\",\r\n + \ \"23.100.94.221/32\",\r\n \"23.100.122.113/32\",\r\n \"23.100.228.32/32\",\r\n + \ \"23.101.0.142/32\",\r\n \"23.101.9.4/32\",\r\n \"23.101.13.65/32\",\r\n + \ \"23.101.69.223/32\",\r\n \"23.101.225.155/32\",\r\n \"23.101.232.120/32\",\r\n + \ \"23.101.239.238/32\",\r\n \"23.102.44.211/32\",\r\n \"23.102.45.216/32\",\r\n + \ \"23.102.66.132/32\",\r\n \"23.102.77.48/32\",\r\n \"23.102.181.197/32\",\r\n + \ \"40.64.132.128/28\",\r\n \"40.64.132.240/28\",\r\n \"40.64.134.128/29\",\r\n + \ \"40.64.134.136/31\",\r\n \"40.64.134.138/32\",\r\n \"40.67.52.224/27\",\r\n + \ \"40.67.59.192/28\",\r\n \"40.67.122.0/26\",\r\n \"40.68.61.229/32\",\r\n + \ \"40.68.154.39/32\",\r\n \"40.69.81.159/32\",\r\n \"40.69.107.16/28\",\r\n + \ \"40.69.108.48/29\",\r\n \"40.69.111.128/27\",\r\n \"40.69.194.158/32\",\r\n + \ \"40.70.23.205/32\",\r\n \"40.70.148.0/30\",\r\n \"40.70.148.8/29\",\r\n + \ \"40.71.12.224/28\",\r\n \"40.71.12.240/30\",\r\n \"40.71.12.248/29\",\r\n + \ \"40.71.13.168/29\",\r\n \"40.71.14.112/30\",\r\n \"40.71.183.225/32\",\r\n + \ \"40.74.24.68/31\",\r\n \"40.74.36.208/32\",\r\n \"40.74.59.40/32\",\r\n + \ \"40.74.101.32/28\",\r\n \"40.74.101.200/29\",\r\n \"40.74.146.84/30\",\r\n + \ \"40.74.147.160/29\",\r\n \"40.74.150.32/27\",\r\n \"40.74.249.98/32\",\r\n + \ \"40.75.34.40/29\",\r\n \"40.75.35.64/29\",\r\n \"40.76.29.55/32\",\r\n + \ \"40.76.53.225/32\",\r\n \"40.77.17.183/32\",\r\n \"40.77.22.234/32\",\r\n + \ \"40.77.24.27/32\",\r\n \"40.77.101.95/32\",\r\n \"40.77.109.134/32\",\r\n + \ \"40.78.23.86/32\",\r\n \"40.78.57.61/32\",\r\n \"40.78.107.177/32\",\r\n + \ \"40.78.195.16/28\",\r\n \"40.78.196.48/29\",\r\n \"40.78.202.144/28\",\r\n + \ \"40.78.203.240/29\",\r\n \"40.78.226.216/29\",\r\n \"40.78.229.32/29\",\r\n + \ \"40.78.234.56/29\",\r\n \"40.78.234.144/28\",\r\n \"40.78.242.168/30\",\r\n + \ \"40.78.243.16/29\",\r\n \"40.78.247.64/26\",\r\n \"40.78.250.104/30\",\r\n + \ \"40.78.250.208/29\",\r\n \"40.78.253.192/26\",\r\n \"40.79.130.240/29\",\r\n + \ \"40.79.132.32/29\",\r\n \"40.79.138.40/30\",\r\n \"40.79.138.144/29\",\r\n + \ \"40.79.146.40/30\",\r\n \"40.79.146.144/29\",\r\n \"40.79.154.80/29\",\r\n + \ \"40.79.156.32/29\",\r\n \"40.79.162.40/29\",\r\n \"40.79.163.0/29\",\r\n + \ \"40.79.165.64/28\",\r\n \"40.79.170.24/29\",\r\n \"40.79.170.240/29\",\r\n + \ \"40.79.179.8/29\",\r\n \"40.79.179.16/28\",\r\n \"40.79.187.8/29\",\r\n + \ \"40.79.190.160/27\",\r\n \"40.79.194.104/29\",\r\n \"40.79.194.112/29\",\r\n + \ \"40.80.50.152/29\",\r\n \"40.80.51.80/29\",\r\n \"40.80.180.160/27\",\r\n + \ \"40.80.191.224/28\",\r\n \"40.81.58.225/32\",\r\n \"40.84.133.5/32\",\r\n + \ \"40.84.150.47/32\",\r\n \"40.84.189.107/32\",\r\n \"40.84.192.116/32\",\r\n + \ \"40.85.180.90/32\",\r\n \"40.85.201.168/32\",\r\n \"40.85.218.175/32\",\r\n + \ \"40.85.248.43/32\",\r\n \"40.86.89.165/32\",\r\n \"40.86.201.128/32\",\r\n + \ \"40.87.67.118/32\",\r\n \"40.87.138.220/32\",\r\n \"40.87.140.215/32\",\r\n + \ \"40.89.153.171/32\",\r\n \"40.89.189.61/32\",\r\n \"40.112.49.101/32\",\r\n + \ \"40.112.74.241/32\",\r\n \"40.113.176.128/28\",\r\n \"40.113.178.16/28\",\r\n + \ \"40.113.178.32/28\",\r\n \"40.113.178.48/32\",\r\n \"40.114.241.141/32\",\r\n + \ \"40.115.54.120/32\",\r\n \"40.115.103.168/32\",\r\n \"40.115.104.31/32\",\r\n + \ \"40.117.80.207/32\",\r\n \"40.117.95.162/32\",\r\n \"40.117.147.74/32\",\r\n + \ \"40.117.190.239/32\",\r\n \"40.117.197.224/32\",\r\n \"40.118.129.58/32\",\r\n + \ \"40.119.4.128/32\",\r\n \"40.119.8.72/31\",\r\n \"40.119.11.160/28\",\r\n + \ \"40.119.11.180/30\",\r\n \"40.120.8.192/27\",\r\n \"40.120.75.32/28\",\r\n + \ \"40.121.57.2/32\",\r\n \"40.121.61.208/32\",\r\n \"40.121.135.131/32\",\r\n + \ \"40.121.163.228/32\",\r\n \"40.121.165.150/32\",\r\n \"40.121.210.163/32\",\r\n + \ \"40.124.64.192/26\",\r\n \"40.126.246.183/32\",\r\n \"40.127.75.125/32\",\r\n + \ \"40.127.84.197/32\",\r\n \"40.127.144.141/32\",\r\n \"51.11.97.96/27\",\r\n + \ \"51.12.17.20/30\",\r\n \"51.12.17.56/29\",\r\n \"51.12.17.128/29\",\r\n + \ \"51.12.25.56/29\",\r\n \"51.12.25.192/29\",\r\n \"51.12.25.200/30\",\r\n + \ \"51.12.46.0/27\",\r\n \"51.12.99.72/29\",\r\n \"51.12.102.192/27\",\r\n + \ \"51.12.195.224/27\",\r\n \"51.12.203.208/28\",\r\n \"51.12.205.96/27\",\r\n + \ \"51.12.226.152/29\",\r\n \"51.12.234.152/29\",\r\n \"51.12.237.32/27\",\r\n + \ \"51.13.128.32/27\",\r\n \"51.13.136.192/27\",\r\n \"51.104.8.104/29\",\r\n + \ \"51.104.15.255/32\",\r\n \"51.104.24.68/31\",\r\n \"51.104.25.142/31\",\r\n + \ \"51.104.29.192/28\",\r\n \"51.104.30.160/29\",\r\n \"51.104.30.168/32\",\r\n + \ \"51.104.30.176/28\",\r\n \"51.104.252.13/32\",\r\n \"51.104.255.249/32\",\r\n + \ \"51.105.66.152/29\",\r\n \"51.105.67.160/29\",\r\n \"51.105.70.128/27\",\r\n + \ \"51.105.74.152/29\",\r\n \"51.105.75.144/29\",\r\n \"51.105.248.23/32\",\r\n + \ \"51.107.48.68/31\",\r\n \"51.107.48.126/31\",\r\n \"51.107.51.16/28\",\r\n + \ \"51.107.51.120/29\",\r\n \"51.107.52.192/30\",\r\n \"51.107.52.200/29\",\r\n + \ \"51.107.59.176/28\",\r\n \"51.107.75.144/32\",\r\n \"51.107.75.207/32\",\r\n + \ \"51.107.128.96/27\",\r\n \"51.107.147.16/28\",\r\n \"51.107.147.116/30\",\r\n + \ \"51.107.148.0/28\",\r\n \"51.107.148.16/31\",\r\n \"51.107.155.176/28\",\r\n + \ \"51.107.156.48/29\",\r\n \"51.107.192.160/27\",\r\n \"51.107.242.0/27\",\r\n + \ \"51.107.250.0/27\",\r\n \"51.116.54.32/27\",\r\n \"51.116.59.176/28\",\r\n + \ \"51.116.149.0/27\",\r\n \"51.116.155.240/28\",\r\n \"51.116.242.152/29\",\r\n + \ \"51.116.245.96/28\",\r\n \"51.116.250.152/29\",\r\n \"51.116.253.32/28\",\r\n + \ \"51.120.40.68/31\",\r\n \"51.120.98.0/29\",\r\n \"51.120.98.248/29\",\r\n + \ \"51.120.106.152/29\",\r\n \"51.120.210.152/29\",\r\n \"51.120.213.64/27\",\r\n + \ \"51.120.219.208/28\",\r\n \"51.120.232.34/31\",\r\n \"51.120.232.160/27\",\r\n + \ \"51.120.234.140/31\",\r\n \"51.120.235.240/28\",\r\n \"51.137.164.92/31\",\r\n + \ \"51.137.164.112/28\",\r\n \"51.137.164.200/29\",\r\n \"51.137.164.208/28\",\r\n + \ \"51.140.6.23/32\",\r\n \"51.140.54.208/32\",\r\n \"51.140.60.235/32\",\r\n + \ \"51.140.69.144/32\",\r\n \"51.140.148.48/28\",\r\n \"51.140.152.61/32\",\r\n + \ \"51.140.152.186/32\",\r\n \"51.140.163.207/32\",\r\n \"51.140.180.52/32\",\r\n + \ \"51.140.181.40/32\",\r\n \"51.140.211.160/28\",\r\n \"51.140.212.64/29\",\r\n + \ \"51.141.113.128/32\",\r\n \"51.143.88.183/32\",\r\n \"51.143.165.22/32\",\r\n + \ \"51.143.209.96/27\",\r\n \"51.144.41.38/32\",\r\n \"51.144.81.252/32\",\r\n + \ \"51.145.44.242/32\",\r\n \"52.136.53.96/27\",\r\n \"52.138.31.112/32\",\r\n + \ \"52.138.31.127/32\",\r\n \"52.138.90.48/30\",\r\n \"52.138.90.56/29\",\r\n + \ \"52.138.222.110/32\",\r\n \"52.138.226.88/29\",\r\n \"52.138.227.128/29\",\r\n + \ \"52.139.8.32/32\",\r\n \"52.139.106.160/27\",\r\n \"52.140.104.68/31\",\r\n + \ \"52.140.108.96/28\",\r\n \"52.140.108.216/29\",\r\n \"52.140.108.224/28\",\r\n + \ \"52.140.108.240/31\",\r\n \"52.141.22.149/32\",\r\n \"52.141.22.239/32\",\r\n + \ \"52.146.133.32/27\",\r\n \"52.147.97.64/27\",\r\n \"52.147.112.96/27\",\r\n + \ \"52.150.36.187/32\",\r\n \"52.150.152.48/28\",\r\n \"52.150.152.90/31\",\r\n + \ \"52.150.154.24/29\",\r\n \"52.150.154.32/28\",\r\n \"52.151.11.176/32\",\r\n + \ \"52.155.118.97/32\",\r\n \"52.155.162.238/32\",\r\n \"52.156.40.142/32\",\r\n + \ \"52.156.168.82/32\",\r\n \"52.161.8.76/32\",\r\n \"52.161.11.71/32\",\r\n + \ \"52.161.12.245/32\",\r\n \"52.162.87.50/32\",\r\n \"52.162.110.64/28\",\r\n + \ \"52.162.110.168/29\",\r\n \"52.162.214.75/32\",\r\n \"52.163.94.131/32\",\r\n + \ \"52.163.122.20/32\",\r\n \"52.164.120.183/32\",\r\n \"52.164.125.22/32\",\r\n + \ \"52.164.225.5/32\",\r\n \"52.165.27.187/32\",\r\n \"52.165.34.117/32\",\r\n + \ \"52.165.38.20/32\",\r\n \"52.165.150.242/32\",\r\n \"52.167.106.88/29\",\r\n + \ \"52.167.107.64/29\",\r\n \"52.167.221.184/32\",\r\n \"52.168.112.64/32\",\r\n + \ \"52.168.136.177/32\",\r\n \"52.169.4.236/32\",\r\n \"52.169.15.254/32\",\r\n + \ \"52.169.30.110/32\",\r\n \"52.169.64.244/32\",\r\n \"52.171.56.178/32\",\r\n + \ \"52.171.138.167/32\",\r\n \"52.172.113.64/27\",\r\n \"52.172.209.125/32\",\r\n + \ \"52.173.25.25/32\",\r\n \"52.173.33.254/32\",\r\n \"52.173.90.199/32\",\r\n + \ \"52.173.185.24/32\",\r\n \"52.173.196.209/32\",\r\n \"52.173.196.230/32\",\r\n + \ \"52.173.249.138/32\",\r\n \"52.175.198.74/32\",\r\n \"52.175.231.105/32\",\r\n + \ \"52.175.235.148/32\",\r\n \"52.176.42.206/32\",\r\n \"52.176.46.30/32\",\r\n + \ \"52.176.49.206/32\",\r\n \"52.176.55.135/32\",\r\n \"52.176.92.196/32\",\r\n + \ \"52.177.223.60/32\",\r\n \"52.178.26.73/32\",\r\n \"52.178.37.209/32\",\r\n + \ \"52.179.192.178/32\",\r\n \"52.180.160.132/32\",\r\n \"52.180.164.91/32\",\r\n + \ \"52.180.178.187/32\",\r\n \"52.180.182.209/32\",\r\n \"52.182.138.216/29\",\r\n + \ \"52.182.139.48/29\",\r\n \"52.183.41.109/32\",\r\n \"52.183.66.112/32\",\r\n + \ \"52.183.73.112/32\",\r\n \"52.183.95.86/32\",\r\n \"52.183.127.155/32\",\r\n + \ \"52.184.158.205/32\",\r\n \"52.185.132.101/32\",\r\n \"52.185.132.170/32\",\r\n + \ \"52.185.215.171/32\",\r\n \"52.186.121.41/32\",\r\n \"52.186.126.31/32\",\r\n + \ \"52.188.179.229/32\",\r\n \"52.191.170.253/32\",\r\n \"52.191.197.52/32\",\r\n + \ \"52.224.125.230/32\",\r\n \"52.224.162.220/32\",\r\n \"52.224.235.3/32\",\r\n + \ \"52.226.151.250/32\",\r\n \"52.228.80.68/31\",\r\n \"52.228.81.162/31\",\r\n + \ \"52.228.85.192/28\",\r\n \"52.228.86.152/29\",\r\n \"52.228.86.160/28\",\r\n + \ \"52.228.86.176/32\",\r\n \"52.229.25.130/32\",\r\n \"52.229.37.75/32\",\r\n + \ \"52.229.218.221/32\",\r\n \"52.229.225.6/32\",\r\n \"52.230.224.237/32\",\r\n + \ \"52.231.18.240/28\",\r\n \"52.231.28.204/32\",\r\n \"52.231.33.16/32\",\r\n + \ \"52.231.64.72/32\",\r\n \"52.231.67.208/32\",\r\n \"52.231.70.0/32\",\r\n + \ \"52.231.108.46/32\",\r\n \"52.231.111.52/32\",\r\n \"52.231.147.160/28\",\r\n + \ \"52.231.148.80/29\",\r\n \"52.232.35.33/32\",\r\n \"52.232.65.133/32\",\r\n + \ \"52.232.106.242/32\",\r\n \"52.236.186.88/29\",\r\n \"52.236.186.208/28\",\r\n + \ \"52.237.34.41/32\",\r\n \"52.237.157.70/32\",\r\n \"52.242.230.209/32\",\r\n + \ \"52.246.154.152/29\",\r\n \"52.246.155.144/29\",\r\n \"52.246.157.16/28\",\r\n + \ \"52.247.202.90/32\",\r\n \"52.250.228.8/29\",\r\n \"52.250.228.16/28\",\r\n + \ \"52.250.228.32/31\",\r\n \"65.52.2.145/32\",\r\n \"65.52.5.76/32\",\r\n + \ \"65.52.122.208/32\",\r\n \"65.52.250.232/29\",\r\n \"65.52.250.240/28\",\r\n + \ \"102.37.64.128/27\",\r\n \"102.37.80.64/27\",\r\n \"102.133.27.48/28\",\r\n + \ \"102.133.28.64/29\",\r\n \"102.133.122.152/29\",\r\n \"102.133.123.240/29\",\r\n + \ \"102.133.126.64/27\",\r\n \"102.133.155.48/28\",\r\n \"102.133.161.73/32\",\r\n + \ \"102.133.162.233/32\",\r\n \"102.133.216.68/31\",\r\n + \ \"102.133.216.106/31\",\r\n \"102.133.218.144/28\",\r\n + \ \"102.133.218.244/30\",\r\n \"102.133.219.128/28\",\r\n + \ \"102.133.221.160/27\",\r\n \"102.133.250.152/29\",\r\n + \ \"102.133.251.80/29\",\r\n \"104.40.222.36/32\",\r\n \"104.41.61.169/32\",\r\n + \ \"104.41.152.101/32\",\r\n \"104.41.157.59/32\",\r\n \"104.41.224.134/32\",\r\n + \ \"104.42.40.28/32\",\r\n \"104.44.140.84/32\",\r\n \"104.45.136.42/32\",\r\n + \ \"104.45.230.69/32\",\r\n \"104.45.232.72/32\",\r\n \"104.46.123.164/32\",\r\n + \ \"104.46.162.64/27\",\r\n \"104.46.179.128/27\",\r\n \"104.208.33.155/32\",\r\n + \ \"104.208.34.98/32\",\r\n \"104.208.35.169/32\",\r\n \"104.209.156.106/32\",\r\n + \ \"104.209.161.217/32\",\r\n \"104.210.9.42/32\",\r\n \"104.211.79.84/32\",\r\n + \ \"104.211.90.234/32\",\r\n \"104.211.91.254/32\",\r\n \"104.211.92.54/32\",\r\n + \ \"104.211.92.218/32\",\r\n \"104.211.95.59/32\",\r\n \"104.211.96.228/32\",\r\n + \ \"104.211.103.96/32\",\r\n \"104.211.147.128/28\",\r\n + \ \"104.211.216.161/32\",\r\n \"104.214.70.219/32\",\r\n + \ \"104.214.104.109/32\",\r\n \"104.214.164.128/27\",\r\n + \ \"104.215.81.124/32\",\r\n \"104.215.96.105/32\",\r\n \"104.215.100.22/32\",\r\n + \ \"104.215.103.78/32\",\r\n \"104.215.115.118/32\",\r\n + \ \"111.221.88.173/32\",\r\n \"137.116.82.175/32\",\r\n \"137.116.146.215/32\",\r\n + \ \"137.116.151.139/32\",\r\n \"137.116.226.81/32\",\r\n + \ \"137.117.144.33/32\",\r\n \"138.91.9.98/32\",\r\n \"138.91.32.98/32\",\r\n + \ \"138.91.37.93/32\",\r\n \"157.55.177.6/32\",\r\n \"168.61.142.0/27\",\r\n + \ \"168.61.179.178/32\",\r\n \"168.62.169.17/32\",\r\n \"168.63.174.169/32\",\r\n + \ \"168.63.242.221/32\",\r\n \"191.232.33.83/32\",\r\n \"191.232.161.75/32\",\r\n + \ \"191.232.213.23/32\",\r\n \"191.232.213.239/32\",\r\n + \ \"191.232.214.6/32\",\r\n \"191.232.239.181/32\",\r\n \"191.233.15.128/27\",\r\n + \ \"191.233.51.128/28\",\r\n \"191.233.203.232/29\",\r\n + \ \"191.233.204.248/29\",\r\n \"191.234.136.60/31\",\r\n + \ \"191.234.136.80/28\",\r\n \"191.234.137.40/29\",\r\n \"191.234.137.48/28\",\r\n + \ \"191.234.146.152/29\",\r\n \"191.234.149.144/28\",\r\n + \ \"191.234.154.152/29\",\r\n \"191.234.157.48/28\",\r\n + \ \"191.235.224.68/31\",\r\n \"191.237.224.192/27\",\r\n + \ \"191.239.251.90/32\",\r\n \"207.46.224.101/32\",\r\n \"207.46.236.191/32\",\r\n + \ \"2603:1000:4::780/121\",\r\n \"2603:1000:4:1::280/123\",\r\n + \ \"2603:1000:4:1::300/121\",\r\n \"2603:1000:4:402::500/121\",\r\n + \ \"2603:1000:104::4c0/122\",\r\n \"2603:1000:104::600/122\",\r\n + \ \"2603:1000:104:1::280/122\",\r\n \"2603:1000:104:2::/123\",\r\n + \ \"2603:1000:104:2::80/121\",\r\n \"2603:1000:104:402::500/121\",\r\n + \ \"2603:1010:6::60/123\",\r\n \"2603:1010:6::1c0/122\",\r\n + \ \"2603:1010:6::300/123\",\r\n \"2603:1010:6::500/121\",\r\n + \ \"2603:1010:6:1::280/122\",\r\n \"2603:1010:6:402::500/121\",\r\n + \ \"2603:1010:101::780/121\",\r\n \"2603:1010:101:1::280/123\",\r\n + \ \"2603:1010:101:1::300/121\",\r\n \"2603:1010:101:402::500/121\",\r\n + \ \"2603:1010:304::780/121\",\r\n \"2603:1010:304:1::280/123\",\r\n + \ \"2603:1010:304:1::300/121\",\r\n \"2603:1010:304:402::500/121\",\r\n + \ \"2603:1010:404::780/121\",\r\n \"2603:1010:404:1::280/123\",\r\n + \ \"2603:1010:404:1::300/121\",\r\n \"2603:1010:404:402::500/121\",\r\n + \ \"2603:1020:5::60/123\",\r\n \"2603:1020:5::1c0/122\",\r\n + \ \"2603:1020:5::300/123\",\r\n \"2603:1020:5::360/123\",\r\n + \ \"2603:1020:5::500/121\",\r\n \"2603:1020:5:1::280/122\",\r\n + \ \"2603:1020:5:402::500/121\",\r\n \"2603:1020:206::60/123\",\r\n + \ \"2603:1020:206::1c0/122\",\r\n \"2603:1020:206::300/123\",\r\n + \ \"2603:1020:206::360/123\",\r\n \"2603:1020:206::500/121\",\r\n + \ \"2603:1020:206:1::280/122\",\r\n \"2603:1020:206:402::500/121\",\r\n + \ \"2603:1020:305::780/121\",\r\n \"2603:1020:405::780/121\",\r\n + \ \"2603:1020:605::780/121\",\r\n \"2603:1020:605:1::280/123\",\r\n + \ \"2603:1020:605:1::300/121\",\r\n \"2603:1020:605:402::500/121\",\r\n + \ \"2603:1020:705::60/123\",\r\n \"2603:1020:705::1c0/122\",\r\n + \ \"2603:1020:705::300/123\",\r\n \"2603:1020:705::360/123\",\r\n + \ \"2603:1020:705::500/121\",\r\n \"2603:1020:705:1::280/122\",\r\n + \ \"2603:1020:705:402::500/121\",\r\n \"2603:1020:805::60/123\",\r\n + \ \"2603:1020:805::1c0/122\",\r\n \"2603:1020:805::300/123\",\r\n + \ \"2603:1020:805::360/123\",\r\n \"2603:1020:805::500/121\",\r\n + \ \"2603:1020:805:1::280/122\",\r\n \"2603:1020:805:402::500/121\",\r\n + \ \"2603:1020:905::780/121\",\r\n \"2603:1020:905:1::280/123\",\r\n + \ \"2603:1020:905:1::300/121\",\r\n \"2603:1020:905:402::500/121\",\r\n + \ \"2603:1020:a04::60/123\",\r\n \"2603:1020:a04::1c0/122\",\r\n + \ \"2603:1020:a04::300/123\",\r\n \"2603:1020:a04::360/123\",\r\n + \ \"2603:1020:a04::500/121\",\r\n \"2603:1020:a04:1::280/122\",\r\n + \ \"2603:1020:a04:402::500/121\",\r\n \"2603:1020:b04::780/121\",\r\n + \ \"2603:1020:b04:1::280/123\",\r\n \"2603:1020:b04:1::300/121\",\r\n + \ \"2603:1020:b04:402::500/121\",\r\n \"2603:1020:c01:2::b/128\",\r\n + \ \"2603:1020:c01:2::e/128\",\r\n \"2603:1020:c04::60/123\",\r\n + \ \"2603:1020:c04::1c0/122\",\r\n \"2603:1020:c04::300/123\",\r\n + \ \"2603:1020:c04::360/123\",\r\n \"2603:1020:c04::500/121\",\r\n + \ \"2603:1020:c04:1::280/122\",\r\n \"2603:1020:c04:402::500/121\",\r\n + \ \"2603:1020:d01:2::a/128\",\r\n \"2603:1020:d04::780/121\",\r\n + \ \"2603:1020:d04:1::280/123\",\r\n \"2603:1020:d04:1::300/121\",\r\n + \ \"2603:1020:d04:402::500/121\",\r\n \"2603:1020:e04::60/123\",\r\n + \ \"2603:1020:e04::1c0/122\",\r\n \"2603:1020:e04::300/123\",\r\n + \ \"2603:1020:e04::360/123\",\r\n \"2603:1020:e04::500/121\",\r\n + \ \"2603:1020:e04:1::280/122\",\r\n \"2603:1020:e04:402::500/121\",\r\n + \ \"2603:1020:f04::780/121\",\r\n \"2603:1020:f04:1::280/123\",\r\n + \ \"2603:1020:f04:1::300/121\",\r\n \"2603:1020:f04:402::500/121\",\r\n + \ \"2603:1020:1004::280/122\",\r\n \"2603:1020:1004:1::380/121\",\r\n + \ \"2603:1020:1004:2::180/121\",\r\n \"2603:1020:1004:400::420/123\",\r\n + \ \"2603:1020:1004:400::4a0/123\",\r\n \"2603:1020:1004:400::580/121\",\r\n + \ \"2603:1020:1004:c02::100/121\",\r\n \"2603:1020:1104:1::160/123\",\r\n + \ \"2603:1020:1104:1::180/122\",\r\n \"2603:1020:1104:1::1c0/123\",\r\n + \ \"2603:1020:1104:1::4c0/123\",\r\n \"2603:1020:1104:1::500/121\",\r\n + \ \"2603:1020:1104:400::440/123\",\r\n \"2603:1020:1104:400::480/121\",\r\n + \ \"2603:1030:7:5::e/128\",\r\n \"2603:1030:7:5::17/128\",\r\n + \ \"2603:1030:7:5::29/128\",\r\n \"2603:1030:7:5::32/128\",\r\n + \ \"2603:1030:7:6::10/128\",\r\n \"2603:1030:7:6::14/128\",\r\n + \ \"2603:1030:7:6::1b/128\",\r\n \"2603:1030:7:6::37/128\",\r\n + \ \"2603:1030:7:6::3f/128\",\r\n \"2603:1030:8:5::8/128\",\r\n + \ \"2603:1030:f:1::780/121\",\r\n \"2603:1030:f:2::280/123\",\r\n + \ \"2603:1030:f:2::300/121\",\r\n \"2603:1030:f:400::d00/121\",\r\n + \ \"2603:1030:10::60/123\",\r\n \"2603:1030:10::1c0/122\",\r\n + \ \"2603:1030:10::300/123\",\r\n \"2603:1030:10::360/123\",\r\n + \ \"2603:1030:10::500/121\",\r\n \"2603:1030:10:1::280/122\",\r\n + \ \"2603:1030:10:402::500/121\",\r\n \"2603:1030:104::60/123\",\r\n + \ \"2603:1030:104::1c0/122\",\r\n \"2603:1030:104::300/123\",\r\n + \ \"2603:1030:104::360/123\",\r\n \"2603:1030:104::500/121\",\r\n + \ \"2603:1030:104:1::280/122\",\r\n \"2603:1030:104:402::500/121\",\r\n + \ \"2603:1030:107:1::80/121\",\r\n \"2603:1030:107:1::200/123\",\r\n + \ \"2603:1030:107:1::280/121\",\r\n \"2603:1030:107:400::3c0/123\",\r\n + \ \"2603:1030:107:400::480/121\",\r\n \"2603:1030:210::60/123\",\r\n + \ \"2603:1030:210::1c0/122\",\r\n \"2603:1030:210::300/123\",\r\n + \ \"2603:1030:210::360/123\",\r\n \"2603:1030:210::500/121\",\r\n + \ \"2603:1030:210:1::280/122\",\r\n \"2603:1030:210:402::500/121\",\r\n + \ \"2603:1030:302:402::80/123\",\r\n \"2603:1030:302:402::100/121\",\r\n + \ \"2603:1030:408:6::18/128\",\r\n \"2603:1030:408:6::2a/128\",\r\n + \ \"2603:1030:408:6::3f/128\",\r\n \"2603:1030:408:6::59/128\",\r\n + \ \"2603:1030:408:7::37/128\",\r\n \"2603:1030:408:7::39/128\",\r\n + \ \"2603:1030:408:7::3b/128\",\r\n \"2603:1030:408:7::48/128\",\r\n + \ \"2603:1030:408:7::4f/128\",\r\n \"2603:1030:409:2::6/128\",\r\n + \ \"2603:1030:409:2::b/128\",\r\n \"2603:1030:409:2::c/128\",\r\n + \ \"2603:1030:40b:1::280/122\",\r\n \"2603:1030:40b:2::80/121\",\r\n + \ \"2603:1030:40b:2::240/123\",\r\n \"2603:1030:40b:2::300/121\",\r\n + \ \"2603:1030:40b:400::d00/121\",\r\n \"2603:1030:40c::60/123\",\r\n + \ \"2603:1030:40c::1c0/122\",\r\n \"2603:1030:40c::300/123\",\r\n + \ \"2603:1030:40c::360/123\",\r\n \"2603:1030:40c::500/121\",\r\n + \ \"2603:1030:40c:1::280/122\",\r\n \"2603:1030:40c:402::500/121\",\r\n + \ \"2603:1030:504::380/121\",\r\n \"2603:1030:504::540/123\",\r\n + \ \"2603:1030:504::700/121\",\r\n \"2603:1030:504:1::280/122\",\r\n + \ \"2603:1030:504:c02::100/123\",\r\n \"2603:1030:504:c02::180/121\",\r\n + \ \"2603:1030:608::780/121\",\r\n \"2603:1030:608:1::280/123\",\r\n + \ \"2603:1030:608:1::300/121\",\r\n \"2603:1030:608:402::500/121\",\r\n + \ \"2603:1030:800:5::bfee:a418/128\",\r\n \"2603:1030:800:5::bfee:a429/128\",\r\n + \ \"2603:1030:800:5::bfee:a42a/128\",\r\n \"2603:1030:800:5::bfee:a435/128\",\r\n + \ \"2603:1030:807::60/123\",\r\n \"2603:1030:807::1c0/122\",\r\n + \ \"2603:1030:807::300/123\",\r\n \"2603:1030:807::360/123\",\r\n + \ \"2603:1030:807::500/121\",\r\n \"2603:1030:807:1::280/122\",\r\n + \ \"2603:1030:807:402::500/121\",\r\n \"2603:1030:a07::780/121\",\r\n + \ \"2603:1030:a07:1::280/123\",\r\n \"2603:1030:a07:1::300/121\",\r\n + \ \"2603:1030:a07:402::380/121\",\r\n \"2603:1030:b00::68/128\",\r\n + \ \"2603:1030:b00::ca/128\",\r\n \"2603:1030:b00::e8/128\",\r\n + \ \"2603:1030:b00::164/128\",\r\n \"2603:1030:b00::2a1/128\",\r\n + \ \"2603:1030:b00::4d9/128\",\r\n \"2603:1030:b00::4db/128\",\r\n + \ \"2603:1030:b00::50d/128\",\r\n \"2603:1030:b04::780/121\",\r\n + \ \"2603:1030:b04:1::280/123\",\r\n \"2603:1030:b04:1::300/121\",\r\n + \ \"2603:1030:b04:402::500/121\",\r\n \"2603:1030:c02:2::2da/128\",\r\n + \ \"2603:1030:c02:2::4e1/128\",\r\n \"2603:1030:c06:1::280/122\",\r\n + \ \"2603:1030:c06:2::80/121\",\r\n \"2603:1030:c06:2::240/123\",\r\n + \ \"2603:1030:c06:2::300/121\",\r\n \"2603:1030:c06:400::d00/121\",\r\n + \ \"2603:1030:d00::1d/128\",\r\n \"2603:1030:d00::48/128\",\r\n + \ \"2603:1030:d00::5a/128\",\r\n \"2603:1030:d00::82/128\",\r\n + \ \"2603:1030:d00::84/128\",\r\n \"2603:1030:d00::9a/128\",\r\n + \ \"2603:1030:f05::60/123\",\r\n \"2603:1030:f05::1c0/122\",\r\n + \ \"2603:1030:f05::300/123\",\r\n \"2603:1030:f05::360/123\",\r\n + \ \"2603:1030:f05::500/121\",\r\n \"2603:1030:f05:1::280/122\",\r\n + \ \"2603:1030:f05:402::500/121\",\r\n \"2603:1030:1005::780/121\",\r\n + \ \"2603:1030:1005:1::280/123\",\r\n \"2603:1030:1005:1::300/121\",\r\n + \ \"2603:1030:1005:402::500/121\",\r\n \"2603:1040:5::160/123\",\r\n + \ \"2603:1040:5::2c0/122\",\r\n \"2603:1040:5::400/123\",\r\n + \ \"2603:1040:5::460/123\",\r\n \"2603:1040:5::600/121\",\r\n + \ \"2603:1040:5:1::280/122\",\r\n \"2603:1040:5:402::500/121\",\r\n + \ \"2603:1040:207::780/121\",\r\n \"2603:1040:207:1::280/123\",\r\n + \ \"2603:1040:207:1::300/121\",\r\n \"2603:1040:207:402::500/121\",\r\n + \ \"2603:1040:407::60/123\",\r\n \"2603:1040:407::1c0/122\",\r\n + \ \"2603:1040:407::300/123\",\r\n \"2603:1040:407::360/123\",\r\n + \ \"2603:1040:407::500/121\",\r\n \"2603:1040:407:1::280/122\",\r\n + \ \"2603:1040:407:402::500/121\",\r\n \"2603:1040:606::780/121\",\r\n + \ \"2603:1040:606:1::280/123\",\r\n \"2603:1040:606:1::300/121\",\r\n + \ \"2603:1040:606:402::500/121\",\r\n \"2603:1040:806::780/121\",\r\n + \ \"2603:1040:806:1::280/123\",\r\n \"2603:1040:806:1::300/121\",\r\n + \ \"2603:1040:806:402::500/121\",\r\n \"2603:1040:900:2::e/128\",\r\n + \ \"2603:1040:904::60/123\",\r\n \"2603:1040:904::1c0/122\",\r\n + \ \"2603:1040:904::300/123\",\r\n \"2603:1040:904::360/123\",\r\n + \ \"2603:1040:904::500/121\",\r\n \"2603:1040:904:1::280/122\",\r\n + \ \"2603:1040:904:402::500/121\",\r\n \"2603:1040:a06::160/123\",\r\n + \ \"2603:1040:a06::2c0/122\",\r\n \"2603:1040:a06::400/123\",\r\n + \ \"2603:1040:a06::460/123\",\r\n \"2603:1040:a06::600/121\",\r\n + \ \"2603:1040:a06:1::280/122\",\r\n \"2603:1040:a06:402::500/121\",\r\n + \ \"2603:1040:b00:2::b/128\",\r\n \"2603:1040:b04::780/121\",\r\n + \ \"2603:1040:b04:1::280/123\",\r\n \"2603:1040:b04:1::300/121\",\r\n + \ \"2603:1040:b04:402::500/121\",\r\n \"2603:1040:c06::780/121\",\r\n + \ \"2603:1040:c06:1::280/123\",\r\n \"2603:1040:c06:1::300/121\",\r\n + \ \"2603:1040:c06:402::500/121\",\r\n \"2603:1040:d04::280/122\",\r\n + \ \"2603:1040:d04:1::380/121\",\r\n \"2603:1040:d04:2::/123\",\r\n + \ \"2603:1040:d04:2::100/120\",\r\n \"2603:1040:d04:400::420/123\",\r\n + \ \"2603:1040:d04:400::580/121\",\r\n \"2603:1040:e05::40/123\",\r\n + \ \"2603:1040:e05::80/121\",\r\n \"2603:1040:e05:402::80/121\",\r\n + \ \"2603:1040:f05::60/123\",\r\n \"2603:1040:f05::1c0/122\",\r\n + \ \"2603:1040:f05::300/123\",\r\n \"2603:1040:f05::360/123\",\r\n + \ \"2603:1040:f05::500/121\",\r\n \"2603:1040:f05:1::280/122\",\r\n + \ \"2603:1040:f05:402::500/121\",\r\n \"2603:1040:1104:1::160/123\",\r\n + \ \"2603:1040:1104:1::180/122\",\r\n \"2603:1040:1104:1::1c0/123\",\r\n + \ \"2603:1040:1104:1::580/121\",\r\n \"2603:1040:1104:400::460/123\",\r\n + \ \"2603:1050:6::60/123\",\r\n \"2603:1050:6::1c0/122\",\r\n + \ \"2603:1050:6::300/123\",\r\n \"2603:1050:6::360/123\",\r\n + \ \"2603:1050:6::500/121\",\r\n \"2603:1050:6:1::280/122\",\r\n + \ \"2603:1050:6:402::580/121\",\r\n \"2603:1050:6:c02::2a0/123\",\r\n + \ \"2603:1050:403::280/122\",\r\n \"2603:1050:403:1::80/121\",\r\n + \ \"2603:1050:403:1::240/123\",\r\n \"2603:1050:403:1::300/121\",\r\n + \ \"2603:1050:403:400::580/121\",\r\n \"2a01:111:f100:1003::4134:36c2/128\",\r\n + \ \"2a01:111:f100:1003::4134:36d9/128\",\r\n \"2a01:111:f100:1003::4134:370d/128\",\r\n + \ \"2a01:111:f100:1005::a83e:f7fe/128\",\r\n \"2a01:111:f100:2000::a83e:3015/128\",\r\n + \ \"2a01:111:f100:2000::a83e:301c/128\",\r\n \"2a01:111:f100:2000::a83e:3083/128\",\r\n + \ \"2a01:111:f100:2000::a83e:30f3/128\",\r\n \"2a01:111:f100:2000::a83e:313a/128\",\r\n + \ \"2a01:111:f100:2000::a83e:335c/128\",\r\n \"2a01:111:f100:2000::a83e:3370/128\",\r\n + \ \"2a01:111:f100:2002::8975:2c8c/128\",\r\n \"2a01:111:f100:2002::8975:2ce6/128\",\r\n + \ \"2a01:111:f100:2002::8975:2d44/128\",\r\n \"2a01:111:f100:2002::8975:2e91/128\",\r\n + \ \"2a01:111:f100:2002::8975:2fc3/128\",\r\n \"2a01:111:f100:3000::a83e:187a/128\",\r\n + \ \"2a01:111:f100:3000::a83e:187c/128\",\r\n \"2a01:111:f100:3000::a83e:1913/128\",\r\n + \ \"2a01:111:f100:3000::a83e:1978/128\",\r\n \"2a01:111:f100:3000::a83e:19c0/128\",\r\n + \ \"2a01:111:f100:3000::a83e:1a54/127\",\r\n \"2a01:111:f100:3000::a83e:1a8e/128\",\r\n + \ \"2a01:111:f100:3000::a83e:1adf/128\",\r\n \"2a01:111:f100:3000::a83e:1b12/128\",\r\n + \ \"2a01:111:f100:3001::a83e:a67/128\",\r\n \"2a01:111:f100:4002::9d37:c0bd/128\",\r\n + \ \"2a01:111:f100:6000::4134:a6cf/128\",\r\n \"2a01:111:f100:7000::6fdd:5343/128\",\r\n + \ \"2a01:111:f100:9001::1761:91e4/128\",\r\n \"2a01:111:f100:9001::1761:9323/128\",\r\n + \ \"2a01:111:f100:9001::1761:958a/128\",\r\n \"2a01:111:f100:9001::1761:9696/128\",\r\n + \ \"2a01:111:f100:a001::4134:e463/128\",\r\n \"2a01:111:f100:a004::bfeb:8ba9/128\",\r\n + \ \"2a01:111:f100:a004::bfeb:8c93/128\",\r\n \"2a01:111:f100:a004::bfeb:8d32/128\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureMonitor.AustraliaCentral\",\r\n + \ \"id\": \"AzureMonitor.AustraliaCentral\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"australiacentral\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n + \ ],\r\n \"systemService\": \"AzureMonitor\",\r\n \"addressPrefixes\": + [\r\n \"20.36.107.24/29\",\r\n \"20.36.107.160/28\",\r\n + \ \"20.37.227.16/28\",\r\n \"20.37.227.100/31\",\r\n \"20.37.227.104/29\",\r\n + \ \"20.37.227.112/28\",\r\n \"20.53.0.128/27\",\r\n \"20.53.48.64/27\",\r\n + \ \"2603:1010:304::780/121\",\r\n \"2603:1010:304:1::280/123\",\r\n + \ \"2603:1010:304:1::300/121\",\r\n \"2603:1010:304:402::500/121\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureMonitor.AustraliaCentral2\",\r\n + \ \"id\": \"AzureMonitor.AustraliaCentral2\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"australiacentral2\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureMonitor\",\r\n \"addressPrefixes\": [\r\n \"20.36.114.200/29\",\r\n + \ \"20.36.114.208/28\",\r\n \"20.36.125.224/27\",\r\n \"20.193.96.32/27\",\r\n + \ \"2603:1010:404::780/121\",\r\n \"2603:1010:404:1::280/123\",\r\n + \ \"2603:1010:404:1::300/121\",\r\n \"2603:1010:404:402::500/121\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureMonitor.AustraliaEast\",\r\n + \ \"id\": \"AzureMonitor.AustraliaEast\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"australiaeast\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureMonitor\",\r\n \"addressPrefixes\": + [\r\n \"13.70.72.232/29\",\r\n \"13.70.73.104/29\",\r\n + \ \"13.70.79.96/27\",\r\n \"13.70.124.27/32\",\r\n \"13.70.127.61/32\",\r\n + \ \"13.75.195.15/32\",\r\n \"20.37.192.68/31\",\r\n \"20.37.195.26/31\",\r\n + \ \"20.37.198.112/28\",\r\n \"20.37.198.140/32\",\r\n \"20.37.198.232/29\",\r\n + \ \"20.37.198.240/28\",\r\n \"20.40.124.0/32\",\r\n \"20.43.98.234/32\",\r\n + \ \"20.43.99.158/32\",\r\n \"20.53.46.64/27\",\r\n \"40.79.162.40/29\",\r\n + \ \"40.79.163.0/29\",\r\n \"40.79.165.64/28\",\r\n \"40.79.170.24/29\",\r\n + \ \"40.79.170.240/29\",\r\n \"40.126.246.183/32\",\r\n \"52.156.168.82/32\",\r\n + \ \"2603:1010:6::60/123\",\r\n \"2603:1010:6::1c0/122\",\r\n + \ \"2603:1010:6::300/123\",\r\n \"2603:1010:6::500/121\",\r\n + \ \"2603:1010:6:1::280/122\",\r\n \"2603:1010:6:402::500/121\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureMonitor.AustraliaSoutheast\",\r\n + \ \"id\": \"AzureMonitor.AustraliaSoutheast\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"australiasoutheast\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureMonitor\",\r\n \"addressPrefixes\": [\r\n \"13.77.52.16/28\",\r\n + \ \"13.77.53.48/29\",\r\n \"13.77.53.220/32\",\r\n \"20.40.160.120/32\",\r\n + \ \"20.42.230.112/28\",\r\n \"20.42.230.208/28\",\r\n \"20.42.230.224/29\",\r\n + \ \"20.42.230.232/31\",\r\n \"23.101.225.155/32\",\r\n \"23.101.232.120/32\",\r\n + \ \"23.101.239.238/32\",\r\n \"40.81.58.225/32\",\r\n \"40.127.75.125/32\",\r\n + \ \"40.127.84.197/32\",\r\n \"104.46.162.64/27\",\r\n \"104.46.179.128/27\",\r\n + \ \"2603:1010:101::780/121\",\r\n \"2603:1010:101:1::280/123\",\r\n + \ \"2603:1010:101:1::300/121\",\r\n \"2603:1010:101:402::500/121\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureMonitor.BrazilSouth\",\r\n + \ \"id\": \"AzureMonitor.BrazilSouth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"brazilsouth\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureMonitor\",\r\n \"addressPrefixes\": + [\r\n \"104.41.61.169/32\",\r\n \"191.232.33.83/32\",\r\n + \ \"191.232.161.75/32\",\r\n \"191.232.213.23/32\",\r\n \"191.232.213.239/32\",\r\n + \ \"191.232.214.6/32\",\r\n \"191.232.239.181/32\",\r\n \"191.233.203.232/29\",\r\n + \ \"191.233.204.248/29\",\r\n \"191.234.136.60/31\",\r\n + \ \"191.234.136.80/28\",\r\n \"191.234.137.40/29\",\r\n \"191.234.137.48/28\",\r\n + \ \"191.234.146.152/29\",\r\n \"191.234.149.144/28\",\r\n + \ \"191.234.154.152/29\",\r\n \"191.234.157.48/28\",\r\n + \ \"191.235.224.68/31\",\r\n \"191.239.251.90/32\",\r\n \"2603:1050:6::60/123\",\r\n + \ \"2603:1050:6::1c0/122\",\r\n \"2603:1050:6::300/123\",\r\n + \ \"2603:1050:6::360/123\",\r\n \"2603:1050:6::500/121\",\r\n + \ \"2603:1050:6:1::280/122\",\r\n \"2603:1050:6:402::580/121\",\r\n + \ \"2603:1050:6:c02::2a0/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureMonitor.CanadaCentral\",\r\n \"id\": + \"AzureMonitor.CanadaCentral\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"3\",\r\n \"region\": + \"canadacentral\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureMonitor\",\r\n \"addressPrefixes\": + [\r\n \"13.71.172.128/28\",\r\n \"13.71.172.248/29\",\r\n + \ \"13.71.175.128/32\",\r\n \"13.71.177.32/27\",\r\n \"13.71.187.91/32\",\r\n + \ \"13.71.191.47/32\",\r\n \"13.88.230.43/32\",\r\n \"13.88.247.208/32\",\r\n + \ \"13.88.255.115/32\",\r\n \"20.38.146.152/29\",\r\n \"20.38.147.144/29\",\r\n + \ \"20.48.193.224/27\",\r\n \"40.85.201.168/32\",\r\n \"40.85.218.175/32\",\r\n + \ \"40.85.248.43/32\",\r\n \"52.138.31.112/32\",\r\n \"52.138.31.127/32\",\r\n + \ \"52.139.8.32/32\",\r\n \"52.228.80.68/31\",\r\n \"52.228.81.162/31\",\r\n + \ \"52.228.85.192/28\",\r\n \"52.228.86.152/29\",\r\n \"52.228.86.160/28\",\r\n + \ \"52.228.86.176/32\",\r\n \"52.237.34.41/32\",\r\n \"52.246.154.152/29\",\r\n + \ \"52.246.155.144/29\",\r\n \"52.246.157.16/28\",\r\n \"2603:1030:f05::60/123\",\r\n + \ \"2603:1030:f05::1c0/122\",\r\n \"2603:1030:f05::300/123\",\r\n + \ \"2603:1030:f05::360/123\",\r\n \"2603:1030:f05::500/121\",\r\n + \ \"2603:1030:f05:1::280/122\",\r\n \"2603:1030:f05:402::500/121\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureMonitor.CanadaEast\",\r\n + \ \"id\": \"AzureMonitor.CanadaEast\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"canadaeast\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureMonitor\",\r\n \"addressPrefixes\": + [\r\n \"40.69.107.16/28\",\r\n \"40.69.108.48/29\",\r\n + \ \"40.69.111.128/27\",\r\n \"40.86.201.128/32\",\r\n \"52.139.106.160/27\",\r\n + \ \"2603:1030:1005::780/121\",\r\n \"2603:1030:1005:1::280/123\",\r\n + \ \"2603:1030:1005:1::300/121\",\r\n \"2603:1030:1005:402::500/121\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureMonitor.CentralIndia\",\r\n + \ \"id\": \"AzureMonitor.CentralIndia\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"4\",\r\n + \ \"region\": \"centralindia\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureMonitor\",\r\n \"addressPrefixes\": + [\r\n \"20.43.120.0/29\",\r\n \"20.43.120.240/29\",\r\n + \ \"20.192.43.96/27\",\r\n \"20.192.45.100/31\",\r\n \"20.192.98.152/29\",\r\n + \ \"20.192.101.32/27\",\r\n \"40.80.50.152/29\",\r\n \"40.80.51.80/29\",\r\n + \ \"52.140.104.68/31\",\r\n \"52.140.108.96/28\",\r\n \"52.140.108.216/29\",\r\n + \ \"52.140.108.224/28\",\r\n \"52.140.108.240/31\",\r\n \"52.172.209.125/32\",\r\n + \ \"104.211.79.84/32\",\r\n \"104.211.90.234/32\",\r\n \"104.211.91.254/32\",\r\n + \ \"104.211.92.54/32\",\r\n \"104.211.92.218/32\",\r\n \"104.211.95.59/32\",\r\n + \ \"104.211.96.228/32\",\r\n \"104.211.103.96/32\",\r\n \"2603:1040:a06::160/123\",\r\n + \ \"2603:1040:a06::2c0/122\",\r\n \"2603:1040:a06::400/123\",\r\n + \ \"2603:1040:a06::460/123\",\r\n \"2603:1040:a06::600/121\",\r\n + \ \"2603:1040:a06:1::280/122\",\r\n \"2603:1040:a06:402::500/121\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureMonitor.CentralUS\",\r\n + \ \"id\": \"AzureMonitor.CentralUS\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"4\",\r\n + \ \"region\": \"centralus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureMonitor\",\r\n \"addressPrefixes\": + [\r\n \"13.89.42.127/32\",\r\n \"13.89.171.112/30\",\r\n + \ \"13.89.174.128/29\",\r\n \"20.37.152.68/31\",\r\n \"20.40.200.172/31\",\r\n + \ \"20.40.200.174/32\",\r\n \"20.40.206.128/28\",\r\n \"20.40.206.232/29\",\r\n + \ \"20.40.207.128/28\",\r\n \"20.40.228.0/26\",\r\n \"20.44.8.0/28\",\r\n + \ \"20.44.11.192/26\",\r\n \"20.44.12.192/26\",\r\n \"23.99.130.172/32\",\r\n + \ \"40.77.17.183/32\",\r\n \"40.77.22.234/32\",\r\n \"40.77.24.27/32\",\r\n + \ \"40.77.101.95/32\",\r\n \"40.77.109.134/32\",\r\n \"40.86.89.165/32\",\r\n + \ \"52.165.27.187/32\",\r\n \"52.165.34.117/32\",\r\n \"52.165.38.20/32\",\r\n + \ \"52.165.150.242/32\",\r\n \"52.173.25.25/32\",\r\n \"52.173.33.254/32\",\r\n + \ \"52.173.90.199/32\",\r\n \"52.173.185.24/32\",\r\n \"52.173.196.209/32\",\r\n + \ \"52.173.196.230/32\",\r\n \"52.173.249.138/32\",\r\n \"52.176.42.206/32\",\r\n + \ \"52.176.46.30/32\",\r\n \"52.176.49.206/32\",\r\n \"52.176.55.135/32\",\r\n + \ \"52.176.92.196/32\",\r\n \"52.182.138.216/29\",\r\n \"52.182.139.48/29\",\r\n + \ \"52.230.224.237/32\",\r\n \"52.242.230.209/32\",\r\n \"104.208.33.155/32\",\r\n + \ \"104.208.34.98/32\",\r\n \"104.208.35.169/32\",\r\n \"168.61.179.178/32\",\r\n + \ \"2603:1030:7:5::e/128\",\r\n \"2603:1030:7:5::17/128\",\r\n + \ \"2603:1030:7:5::29/128\",\r\n \"2603:1030:7:5::32/128\",\r\n + \ \"2603:1030:7:6::10/128\",\r\n \"2603:1030:7:6::14/128\",\r\n + \ \"2603:1030:7:6::1b/128\",\r\n \"2603:1030:7:6::37/128\",\r\n + \ \"2603:1030:7:6::3f/128\",\r\n \"2603:1030:10::60/123\",\r\n + \ \"2603:1030:10::1c0/122\",\r\n \"2603:1030:10::300/123\",\r\n + \ \"2603:1030:10::360/123\",\r\n \"2603:1030:10::500/121\",\r\n + \ \"2603:1030:10:1::280/122\",\r\n \"2603:1030:10:402::500/121\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureMonitor.CentralUSEUAP\",\r\n + \ \"id\": \"AzureMonitor.CentralUSEUAP\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"4\",\r\n + \ \"region\": \"centraluseuap\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureMonitor\",\r\n \"addressPrefixes\": + [\r\n \"20.46.10.224/27\",\r\n \"20.46.12.196/30\",\r\n + \ \"20.46.13.216/29\",\r\n \"20.46.15.48/29\",\r\n \"40.78.202.144/28\",\r\n + \ \"40.78.203.240/29\",\r\n \"52.180.160.132/32\",\r\n \"52.180.164.91/32\",\r\n + \ \"52.180.178.187/32\",\r\n \"52.180.182.209/32\",\r\n \"168.61.142.0/27\",\r\n + \ \"2603:1030:8:5::8/128\",\r\n \"2603:1030:f:1::780/121\",\r\n + \ \"2603:1030:f:2::280/123\",\r\n \"2603:1030:f:2::300/121\",\r\n + \ \"2603:1030:f:400::d00/121\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureMonitor.Core\",\r\n \"id\": \"AzureMonitor.Core\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"3\",\r\n \"region\": \"\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureMonitor\",\r\n \"addressPrefixes\": + [\r\n \"13.69.109.224/27\",\r\n \"13.69.233.96/27\",\r\n + \ \"13.70.79.96/27\",\r\n \"13.71.177.32/27\",\r\n \"13.86.223.128/26\",\r\n + \ \"20.36.125.224/27\",\r\n \"20.37.71.0/27\",\r\n \"20.38.132.64/27\",\r\n + \ \"20.38.143.0/27\",\r\n \"20.38.152.32/27\",\r\n \"20.40.228.0/26\",\r\n + \ \"20.41.208.32/27\",\r\n \"20.42.65.128/25\",\r\n \"20.44.11.192/26\",\r\n + \ \"20.46.10.224/27\",\r\n \"20.48.193.224/27\",\r\n \"20.49.84.32/27\",\r\n + \ \"20.49.93.192/26\",\r\n \"20.51.9.0/26\",\r\n \"20.51.17.64/27\",\r\n + \ \"20.52.64.32/27\",\r\n \"20.52.72.64/27\",\r\n \"20.53.0.128/27\",\r\n + \ \"20.53.46.64/27\",\r\n \"20.53.48.64/27\",\r\n \"20.58.66.96/27\",\r\n + \ \"20.61.99.64/27\",\r\n \"20.62.132.0/25\",\r\n \"20.65.132.0/26\",\r\n + \ \"20.66.2.192/26\",\r\n \"20.72.21.32/27\",\r\n \"20.72.28.192/27\",\r\n + \ \"20.150.182.32/27\",\r\n \"20.150.241.96/27\",\r\n \"20.187.197.192/27\",\r\n + \ \"20.189.225.128/27\",\r\n \"20.191.165.64/27\",\r\n \"20.192.32.192/27\",\r\n + \ \"20.192.43.96/27\",\r\n \"20.192.48.0/27\",\r\n \"20.192.101.32/27\",\r\n + \ \"20.192.167.160/27\",\r\n \"20.193.96.32/27\",\r\n \"20.193.204.64/27\",\r\n + \ \"20.194.67.224/27\",\r\n \"20.194.72.224/27\",\r\n \"40.67.52.224/27\",\r\n + \ \"40.69.111.128/27\",\r\n \"40.74.150.32/27\",\r\n \"40.78.247.64/26\",\r\n + \ \"40.79.190.160/27\",\r\n \"40.80.180.160/27\",\r\n \"40.120.8.192/27\",\r\n + \ \"51.11.97.96/27\",\r\n \"51.12.46.0/27\",\r\n \"51.12.102.192/27\",\r\n + \ \"51.12.195.224/27\",\r\n \"51.12.205.96/27\",\r\n \"51.12.237.32/27\",\r\n + \ \"51.13.128.32/27\",\r\n \"51.13.136.192/27\",\r\n \"51.105.70.128/27\",\r\n + \ \"51.107.128.96/27\",\r\n \"51.107.192.160/27\",\r\n \"51.107.242.0/27\",\r\n + \ \"51.107.250.0/27\",\r\n \"51.116.54.32/27\",\r\n \"51.116.149.0/27\",\r\n + \ \"51.120.213.64/27\",\r\n \"51.120.232.160/27\",\r\n \"51.143.209.96/27\",\r\n + \ \"52.136.53.96/27\",\r\n \"52.139.106.160/27\",\r\n \"52.146.133.32/27\",\r\n + \ \"52.147.97.64/27\",\r\n \"52.147.112.96/27\",\r\n \"52.172.113.64/27\",\r\n + \ \"102.37.64.128/27\",\r\n \"102.37.80.64/27\",\r\n \"102.133.126.64/27\",\r\n + \ \"102.133.221.160/27\",\r\n \"104.46.162.64/27\",\r\n \"104.46.179.128/27\",\r\n + \ \"104.214.164.128/27\",\r\n \"168.61.142.0/27\",\r\n \"191.233.15.128/27\",\r\n + \ \"191.237.224.192/27\",\r\n \"2603:1000:4:1::280/123\",\r\n + \ \"2603:1000:4:1::300/121\",\r\n \"2603:1000:4:402::500/121\",\r\n + \ \"2603:1000:104:2::/123\",\r\n \"2603:1000:104:2::80/121\",\r\n + \ \"2603:1000:104:402::500/121\",\r\n \"2603:1010:6::500/121\",\r\n + \ \"2603:1010:6:402::500/121\",\r\n \"2603:1010:101:1::280/123\",\r\n + \ \"2603:1010:101:1::300/121\",\r\n \"2603:1010:101:402::500/121\",\r\n + \ \"2603:1010:304:1::280/123\",\r\n \"2603:1010:304:1::300/121\",\r\n + \ \"2603:1010:304:402::500/121\",\r\n \"2603:1010:404:1::280/123\",\r\n + \ \"2603:1010:404:1::300/121\",\r\n \"2603:1010:404:402::500/121\",\r\n + \ \"2603:1020:5::360/123\",\r\n \"2603:1020:5::500/121\",\r\n + \ \"2603:1020:5:402::500/121\",\r\n \"2603:1020:206::360/123\",\r\n + \ \"2603:1020:206::500/121\",\r\n \"2603:1020:206:402::500/121\",\r\n + \ \"2603:1020:605:1::280/123\",\r\n \"2603:1020:605:1::300/121\",\r\n + \ \"2603:1020:605:402::500/121\",\r\n \"2603:1020:705::360/123\",\r\n + \ \"2603:1020:705::500/121\",\r\n \"2603:1020:705:402::500/121\",\r\n + \ \"2603:1020:805::360/123\",\r\n \"2603:1020:805::500/121\",\r\n + \ \"2603:1020:805:402::500/121\",\r\n \"2603:1020:905:1::280/123\",\r\n + \ \"2603:1020:905:1::300/121\",\r\n \"2603:1020:905:402::500/121\",\r\n + \ \"2603:1020:a04::360/123\",\r\n \"2603:1020:a04::500/121\",\r\n + \ \"2603:1020:a04:402::500/121\",\r\n \"2603:1020:b04:1::280/123\",\r\n + \ \"2603:1020:b04:1::300/121\",\r\n \"2603:1020:b04:402::500/121\",\r\n + \ \"2603:1020:c04::360/123\",\r\n \"2603:1020:c04::500/121\",\r\n + \ \"2603:1020:c04:402::500/121\",\r\n \"2603:1020:d04:1::280/123\",\r\n + \ \"2603:1020:d04:1::300/121\",\r\n \"2603:1020:d04:402::500/121\",\r\n + \ \"2603:1020:e04::360/123\",\r\n \"2603:1020:e04::500/121\",\r\n + \ \"2603:1020:e04:402::500/121\",\r\n \"2603:1020:f04:1::280/123\",\r\n + \ \"2603:1020:f04:1::300/121\",\r\n \"2603:1020:f04:402::500/121\",\r\n + \ \"2603:1020:1004:2::180/121\",\r\n \"2603:1020:1004:400::420/123\",\r\n + \ \"2603:1020:1004:400::4a0/123\",\r\n \"2603:1020:1004:400::580/121\",\r\n + \ \"2603:1020:1004:c02::100/121\",\r\n \"2603:1020:1104:1::4c0/123\",\r\n + \ \"2603:1020:1104:1::500/121\",\r\n \"2603:1020:1104:400::440/123\",\r\n + \ \"2603:1020:1104:400::480/121\",\r\n \"2603:1030:f:2::280/123\",\r\n + \ \"2603:1030:f:2::300/121\",\r\n \"2603:1030:f:400::d00/121\",\r\n + \ \"2603:1030:10::360/123\",\r\n \"2603:1030:10::500/121\",\r\n + \ \"2603:1030:10:402::500/121\",\r\n \"2603:1030:104::360/123\",\r\n + \ \"2603:1030:104::500/121\",\r\n \"2603:1030:104:402::500/121\",\r\n + \ \"2603:1030:107:1::200/123\",\r\n \"2603:1030:107:1::280/121\",\r\n + \ \"2603:1030:107:400::3c0/123\",\r\n \"2603:1030:107:400::480/121\",\r\n + \ \"2603:1030:210::360/123\",\r\n \"2603:1030:210::500/121\",\r\n + \ \"2603:1030:210:402::500/121\",\r\n \"2603:1030:302:402::80/123\",\r\n + \ \"2603:1030:302:402::100/121\",\r\n \"2603:1030:40b:2::240/123\",\r\n + \ \"2603:1030:40b:2::300/121\",\r\n \"2603:1030:40b:400::d00/121\",\r\n + \ \"2603:1030:40c::360/123\",\r\n \"2603:1030:40c::500/121\",\r\n + \ \"2603:1030:40c:402::500/121\",\r\n \"2603:1030:504::540/123\",\r\n + \ \"2603:1030:504::700/121\",\r\n \"2603:1030:504:c02::100/123\",\r\n + \ \"2603:1030:504:c02::180/121\",\r\n \"2603:1030:608:1::280/123\",\r\n + \ \"2603:1030:608:1::300/121\",\r\n \"2603:1030:608:402::500/121\",\r\n + \ \"2603:1030:807::360/123\",\r\n \"2603:1030:807::500/121\",\r\n + \ \"2603:1030:807:402::500/121\",\r\n \"2603:1030:a07:1::280/123\",\r\n + \ \"2603:1030:a07:1::300/121\",\r\n \"2603:1030:a07:402::380/121\",\r\n + \ \"2603:1030:b04:1::280/123\",\r\n \"2603:1030:b04:1::300/121\",\r\n + \ \"2603:1030:b04:402::500/121\",\r\n \"2603:1030:c06:2::240/123\",\r\n + \ \"2603:1030:c06:2::300/121\",\r\n \"2603:1030:c06:400::d00/121\",\r\n + \ \"2603:1030:f05::360/123\",\r\n \"2603:1030:f05::500/121\",\r\n + \ \"2603:1030:f05:402::500/121\",\r\n \"2603:1030:1005:1::280/123\",\r\n + \ \"2603:1030:1005:1::300/121\",\r\n \"2603:1030:1005:402::500/121\",\r\n + \ \"2603:1040:5::460/123\",\r\n \"2603:1040:5::600/121\",\r\n + \ \"2603:1040:5:402::500/121\",\r\n \"2603:1040:207:1::280/123\",\r\n + \ \"2603:1040:207:1::300/121\",\r\n \"2603:1040:207:402::500/121\",\r\n + \ \"2603:1040:407::360/123\",\r\n \"2603:1040:407::500/121\",\r\n + \ \"2603:1040:407:402::500/121\",\r\n \"2603:1040:606:1::280/123\",\r\n + \ \"2603:1040:606:1::300/121\",\r\n \"2603:1040:606:402::500/121\",\r\n + \ \"2603:1040:806:1::280/123\",\r\n \"2603:1040:806:1::300/121\",\r\n + \ \"2603:1040:806:402::500/121\",\r\n \"2603:1040:904::360/123\",\r\n + \ \"2603:1040:904::500/121\",\r\n \"2603:1040:904:402::500/121\",\r\n + \ \"2603:1040:a06::460/123\",\r\n \"2603:1040:a06::600/121\",\r\n + \ \"2603:1040:a06:402::500/121\",\r\n \"2603:1040:b04:1::280/123\",\r\n + \ \"2603:1040:b04:1::300/121\",\r\n \"2603:1040:b04:402::500/121\",\r\n + \ \"2603:1040:c06:1::280/123\",\r\n \"2603:1040:c06:1::300/121\",\r\n + \ \"2603:1040:c06:402::500/121\",\r\n \"2603:1040:d04:2::/123\",\r\n + \ \"2603:1040:d04:2::100/120\",\r\n \"2603:1040:d04:400::420/123\",\r\n + \ \"2603:1040:d04:400::580/121\",\r\n \"2603:1040:e05::40/123\",\r\n + \ \"2603:1040:e05::80/121\",\r\n \"2603:1040:e05:402::80/121\",\r\n + \ \"2603:1040:f05::360/123\",\r\n \"2603:1040:f05::500/121\",\r\n + \ \"2603:1040:f05:402::500/121\",\r\n \"2603:1040:1104:1::580/121\",\r\n + \ \"2603:1040:1104:400::460/123\",\r\n \"2603:1050:6::360/123\",\r\n + \ \"2603:1050:6::500/121\",\r\n \"2603:1050:6:402::580/121\",\r\n + \ \"2603:1050:6:c02::2a0/123\",\r\n \"2603:1050:403:1::240/123\",\r\n + \ \"2603:1050:403:1::300/121\",\r\n \"2603:1050:403:400::580/121\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureMonitor.EastAsia\",\r\n + \ \"id\": \"AzureMonitor.EastAsia\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"eastasia\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureMonitor\",\r\n \"addressPrefixes\": + [\r\n \"13.75.38.0/28\",\r\n \"13.75.38.120/29\",\r\n \"13.75.39.76/30\",\r\n + \ \"13.75.117.221/32\",\r\n \"13.75.119.169/32\",\r\n \"13.94.39.13/32\",\r\n + \ \"20.187.197.192/27\",\r\n \"20.189.109.144/28\",\r\n \"20.189.111.0/28\",\r\n + \ \"20.189.111.16/29\",\r\n \"20.189.111.24/31\",\r\n \"23.97.65.103/32\",\r\n + \ \"23.100.90.7/32\",\r\n \"23.100.94.221/32\",\r\n \"23.101.0.142/32\",\r\n + \ \"23.101.9.4/32\",\r\n \"23.101.13.65/32\",\r\n \"52.229.218.221/32\",\r\n + \ \"52.229.225.6/32\",\r\n \"104.214.164.128/27\",\r\n \"2603:1040:207::780/121\",\r\n + \ \"2603:1040:207:1::280/123\",\r\n \"2603:1040:207:1::300/121\",\r\n + \ \"2603:1040:207:402::500/121\",\r\n \"2a01:111:f100:6000::4134:a6cf/128\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureMonitor.EastUS\",\r\n + \ \"id\": \"AzureMonitor.EastUS\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"eastus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureMonitor\",\r\n \"addressPrefixes\": + [\r\n \"13.82.100.176/32\",\r\n \"13.82.184.151/32\",\r\n + \ \"13.90.93.206/32\",\r\n \"13.90.248.141/32\",\r\n \"13.90.249.229/32\",\r\n + \ \"13.90.251.123/32\",\r\n \"13.92.40.198/32\",\r\n \"13.92.40.223/32\",\r\n + \ \"13.92.138.16/32\",\r\n \"13.92.179.52/32\",\r\n \"13.92.211.249/32\",\r\n + \ \"13.92.232.146/32\",\r\n \"13.92.254.218/32\",\r\n \"13.92.255.146/32\",\r\n + \ \"20.42.0.68/31\",\r\n \"20.42.65.128/25\",\r\n \"20.42.73.128/25\",\r\n + \ \"20.49.109.46/31\",\r\n \"20.49.109.80/28\",\r\n \"20.49.111.16/28\",\r\n + \ \"20.49.111.32/28\",\r\n \"20.62.132.0/25\",\r\n \"23.96.28.38/32\",\r\n + \ \"40.71.12.224/28\",\r\n \"40.71.12.240/30\",\r\n \"40.71.12.248/29\",\r\n + \ \"40.71.13.168/29\",\r\n \"40.71.14.112/30\",\r\n \"40.71.183.225/32\",\r\n + \ \"40.76.29.55/32\",\r\n \"40.76.53.225/32\",\r\n \"40.78.226.216/29\",\r\n + \ \"40.78.229.32/29\",\r\n \"40.79.154.80/29\",\r\n \"40.79.156.32/29\",\r\n + \ \"40.85.180.90/32\",\r\n \"40.87.67.118/32\",\r\n \"40.112.49.101/32\",\r\n + \ \"40.117.80.207/32\",\r\n \"40.117.95.162/32\",\r\n \"40.117.147.74/32\",\r\n + \ \"40.117.190.239/32\",\r\n \"40.117.197.224/32\",\r\n \"40.121.57.2/32\",\r\n + \ \"40.121.61.208/32\",\r\n \"40.121.135.131/32\",\r\n \"40.121.163.228/32\",\r\n + \ \"40.121.165.150/32\",\r\n \"40.121.210.163/32\",\r\n \"52.150.36.187/32\",\r\n + \ \"52.168.112.64/32\",\r\n \"52.168.136.177/32\",\r\n \"52.186.121.41/32\",\r\n + \ \"52.186.126.31/32\",\r\n \"52.188.179.229/32\",\r\n \"52.191.197.52/32\",\r\n + \ \"52.224.125.230/32\",\r\n \"52.224.162.220/32\",\r\n \"52.224.235.3/32\",\r\n + \ \"52.226.151.250/32\",\r\n \"104.41.152.101/32\",\r\n \"104.41.157.59/32\",\r\n + \ \"104.45.136.42/32\",\r\n \"168.62.169.17/32\",\r\n \"2603:1030:210::60/123\",\r\n + \ \"2603:1030:210::1c0/122\",\r\n \"2603:1030:210::300/123\",\r\n + \ \"2603:1030:210::360/123\",\r\n \"2603:1030:210::500/121\",\r\n + \ \"2603:1030:210:1::280/122\",\r\n \"2603:1030:210:402::500/121\",\r\n + \ \"2a01:111:f100:2000::a83e:3015/128\",\r\n \"2a01:111:f100:2000::a83e:301c/128\",\r\n + \ \"2a01:111:f100:2000::a83e:3083/128\",\r\n \"2a01:111:f100:2000::a83e:30f3/128\",\r\n + \ \"2a01:111:f100:2000::a83e:313a/128\",\r\n \"2a01:111:f100:2000::a83e:335c/128\",\r\n + \ \"2a01:111:f100:2000::a83e:3370/128\",\r\n \"2a01:111:f100:2002::8975:2c8c/128\",\r\n + \ \"2a01:111:f100:2002::8975:2ce6/128\",\r\n \"2a01:111:f100:2002::8975:2d44/128\",\r\n + \ \"2a01:111:f100:2002::8975:2e91/128\",\r\n \"2a01:111:f100:2002::8975:2fc3/128\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureMonitor.EastUS2\",\r\n + \ \"id\": \"AzureMonitor.EastUS2\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"4\",\r\n + \ \"region\": \"eastus2\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureMonitor\",\r\n \"addressPrefixes\": + [\r\n \"13.68.31.237/32\",\r\n \"13.68.101.211/32\",\r\n + \ \"13.68.106.77/32\",\r\n \"13.68.109.212/32\",\r\n \"13.68.111.247/32\",\r\n + \ \"20.41.49.208/32\",\r\n \"20.44.16.0/29\",\r\n \"20.44.17.0/29\",\r\n + \ \"20.44.73.196/32\",\r\n \"20.49.99.44/31\",\r\n \"20.49.99.64/28\",\r\n + \ \"20.49.102.24/29\",\r\n \"20.49.102.32/28\",\r\n \"40.70.23.205/32\",\r\n + \ \"40.70.148.0/30\",\r\n \"40.70.148.8/29\",\r\n \"52.167.106.88/29\",\r\n + \ \"52.167.107.64/29\",\r\n \"52.167.221.184/32\",\r\n \"52.177.223.60/32\",\r\n + \ \"52.179.192.178/32\",\r\n \"52.184.158.205/32\",\r\n \"104.46.123.164/32\",\r\n + \ \"104.209.156.106/32\",\r\n \"104.209.161.217/32\",\r\n + \ \"104.210.9.42/32\",\r\n \"137.116.82.175/32\",\r\n \"2603:1030:408:6::18/128\",\r\n + \ \"2603:1030:408:6::2a/128\",\r\n \"2603:1030:408:6::3f/128\",\r\n + \ \"2603:1030:408:6::59/128\",\r\n \"2603:1030:408:7::37/128\",\r\n + \ \"2603:1030:408:7::39/128\",\r\n \"2603:1030:408:7::3b/128\",\r\n + \ \"2603:1030:408:7::48/128\",\r\n \"2603:1030:408:7::4f/128\",\r\n + \ \"2603:1030:40c::60/123\",\r\n \"2603:1030:40c::1c0/122\",\r\n + \ \"2603:1030:40c::300/123\",\r\n \"2603:1030:40c::360/123\",\r\n + \ \"2603:1030:40c::500/121\",\r\n \"2603:1030:40c:1::280/122\",\r\n + \ \"2603:1030:40c:402::500/121\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureMonitor.EastUS2EUAP\",\r\n \"id\": \"AzureMonitor.EastUS2EUAP\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"3\",\r\n \"region\": \"eastus2euap\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureMonitor\",\r\n \"addressPrefixes\": [\r\n \"20.39.14.0/28\",\r\n + \ \"20.39.15.16/28\",\r\n \"20.39.15.32/28\",\r\n \"20.51.17.64/27\",\r\n + \ \"40.74.146.84/30\",\r\n \"40.74.147.160/29\",\r\n \"40.74.150.32/27\",\r\n + \ \"40.75.34.40/29\",\r\n \"40.75.35.64/29\",\r\n \"52.138.90.48/30\",\r\n + \ \"52.138.90.56/29\",\r\n \"2603:1030:409:2::6/128\",\r\n + \ \"2603:1030:409:2::b/128\",\r\n \"2603:1030:409:2::c/128\",\r\n + \ \"2603:1030:40b:1::280/122\",\r\n \"2603:1030:40b:2::80/121\",\r\n + \ \"2603:1030:40b:2::240/123\",\r\n \"2603:1030:40b:2::300/121\",\r\n + \ \"2603:1030:40b:400::d00/121\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureMonitor.FranceCentral\",\r\n \"id\": + \"AzureMonitor.FranceCentral\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"3\",\r\n \"region\": + \"centralfrance\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureMonitor\",\r\n \"addressPrefixes\": + [\r\n \"20.40.137.91/32\",\r\n \"20.40.140.212/32\",\r\n + \ \"20.43.40.68/31\",\r\n \"20.43.41.178/31\",\r\n \"20.43.44.128/28\",\r\n + \ \"20.43.44.216/29\",\r\n \"20.43.44.224/28\",\r\n \"20.188.36.28/32\",\r\n + \ \"40.79.130.240/29\",\r\n \"40.79.132.32/29\",\r\n \"40.79.138.40/30\",\r\n + \ \"40.79.138.144/29\",\r\n \"40.79.146.40/30\",\r\n \"40.79.146.144/29\",\r\n + \ \"40.89.153.171/32\",\r\n \"40.89.189.61/32\",\r\n \"2603:1020:805::60/123\",\r\n + \ \"2603:1020:805::1c0/122\",\r\n \"2603:1020:805::300/123\",\r\n + \ \"2603:1020:805::360/123\",\r\n \"2603:1020:805::500/121\",\r\n + \ \"2603:1020:805:1::280/122\",\r\n \"2603:1020:805:402::500/121\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureMonitor.FranceSouth\",\r\n + \ \"id\": \"AzureMonitor.FranceSouth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"southfrance\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureMonitor\",\r\n \"addressPrefixes\": + [\r\n \"40.79.179.8/29\",\r\n \"40.79.179.16/28\",\r\n \"2603:1020:905::780/121\",\r\n + \ \"2603:1020:905:1::280/123\",\r\n \"2603:1020:905:1::300/121\",\r\n + \ \"2603:1020:905:402::500/121\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureMonitor.GermanyNorth\",\r\n \"id\": \"AzureMonitor.GermanyNorth\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"3\",\r\n \"region\": \"germanyn\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureMonitor\",\r\n \"addressPrefixes\": [\r\n \"20.52.72.64/27\",\r\n + \ \"51.116.54.32/27\",\r\n \"51.116.59.176/28\",\r\n \"2603:1020:d01:2::a/128\",\r\n + \ \"2603:1020:d04::780/121\",\r\n \"2603:1020:d04:1::280/123\",\r\n + \ \"2603:1020:d04:1::300/121\",\r\n \"2603:1020:d04:402::500/121\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureMonitor.GermanyWestCentral\",\r\n + \ \"id\": \"AzureMonitor.GermanyWestCentral\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"germanywc\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureMonitor\",\r\n \"addressPrefixes\": + [\r\n \"20.52.64.32/27\",\r\n \"51.116.149.0/27\",\r\n \"51.116.155.240/28\",\r\n + \ \"51.116.242.152/29\",\r\n \"51.116.245.96/28\",\r\n \"51.116.250.152/29\",\r\n + \ \"51.116.253.32/28\",\r\n \"2603:1020:c01:2::b/128\",\r\n + \ \"2603:1020:c01:2::e/128\",\r\n \"2603:1020:c04::60/123\",\r\n + \ \"2603:1020:c04::1c0/122\",\r\n \"2603:1020:c04::300/123\",\r\n + \ \"2603:1020:c04::360/123\",\r\n \"2603:1020:c04::500/121\",\r\n + \ \"2603:1020:c04:1::280/122\",\r\n \"2603:1020:c04:402::500/121\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureMonitor.JapanEast\",\r\n + \ \"id\": \"AzureMonitor.JapanEast\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"japaneast\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureMonitor\",\r\n \"addressPrefixes\": + [\r\n \"13.73.26.213/32\",\r\n \"13.78.10.58/32\",\r\n \"13.78.13.189/32\",\r\n + \ \"13.78.108.160/29\",\r\n \"13.78.108.168/30\",\r\n \"13.78.109.112/29\",\r\n + \ \"13.78.111.192/32\",\r\n \"20.43.64.68/31\",\r\n \"20.43.65.154/31\",\r\n + \ \"20.43.70.96/28\",\r\n \"20.43.70.192/29\",\r\n \"20.43.70.200/30\",\r\n + \ \"20.43.70.204/32\",\r\n \"20.43.70.224/29\",\r\n \"20.191.165.64/27\",\r\n + \ \"23.102.66.132/32\",\r\n \"23.102.77.48/32\",\r\n \"40.79.187.8/29\",\r\n + \ \"40.79.190.160/27\",\r\n \"40.79.194.104/29\",\r\n \"40.79.194.112/29\",\r\n + \ \"52.155.118.97/32\",\r\n \"52.156.40.142/32\",\r\n \"52.185.132.101/32\",\r\n + \ \"52.185.132.170/32\",\r\n \"138.91.9.98/32\",\r\n \"2603:1040:407::60/123\",\r\n + \ \"2603:1040:407::1c0/122\",\r\n \"2603:1040:407::300/123\",\r\n + \ \"2603:1040:407::360/123\",\r\n \"2603:1040:407::500/121\",\r\n + \ \"2603:1040:407:1::280/122\",\r\n \"2603:1040:407:402::500/121\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureMonitor.JapanWest\",\r\n + \ \"id\": \"AzureMonitor.JapanWest\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"japanwest\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureMonitor\",\r\n \"addressPrefixes\": + [\r\n \"20.189.225.128/27\",\r\n \"40.74.101.32/28\",\r\n + \ \"40.74.101.200/29\",\r\n \"40.80.180.160/27\",\r\n \"2603:1040:606::780/121\",\r\n + \ \"2603:1040:606:1::280/123\",\r\n \"2603:1040:606:1::300/121\",\r\n + \ \"2603:1040:606:402::500/121\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureMonitor.KoreaCentral\",\r\n \"id\": \"AzureMonitor.KoreaCentral\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"4\",\r\n \"region\": \"koreacentral\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureMonitor\",\r\n \"addressPrefixes\": [\r\n \"20.41.64.68/31\",\r\n + \ \"20.41.67.112/28\",\r\n \"20.41.69.4/30\",\r\n \"20.41.69.16/28\",\r\n + \ \"20.41.69.48/31\",\r\n \"20.41.69.62/31\",\r\n \"20.44.26.152/29\",\r\n + \ \"20.44.26.248/29\",\r\n \"20.194.67.32/28\",\r\n \"20.194.67.224/27\",\r\n + \ \"20.194.72.224/27\",\r\n \"52.141.22.149/32\",\r\n \"52.141.22.239/32\",\r\n + \ \"52.231.18.240/28\",\r\n \"52.231.28.204/32\",\r\n \"52.231.33.16/32\",\r\n + \ \"52.231.64.72/32\",\r\n \"52.231.67.208/32\",\r\n \"52.231.70.0/32\",\r\n + \ \"52.231.108.46/32\",\r\n \"52.231.111.52/32\",\r\n \"2603:1040:f05::60/123\",\r\n + \ \"2603:1040:f05::1c0/122\",\r\n \"2603:1040:f05::300/123\",\r\n + \ \"2603:1040:f05::360/123\",\r\n \"2603:1040:f05::500/121\",\r\n + \ \"2603:1040:f05:1::280/122\",\r\n \"2603:1040:f05:402::500/121\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureMonitor.KoreaSouth\",\r\n + \ \"id\": \"AzureMonitor.KoreaSouth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"koreasouth\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureMonitor\",\r\n \"addressPrefixes\": + [\r\n \"52.147.97.64/27\",\r\n \"52.147.112.96/27\",\r\n + \ \"52.231.147.160/28\",\r\n \"52.231.148.80/29\",\r\n \"2603:1040:e05::40/123\",\r\n + \ \"2603:1040:e05::80/121\",\r\n \"2603:1040:e05:402::80/121\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureMonitor.NorthCentralUS\",\r\n + \ \"id\": \"AzureMonitor.NorthCentralUS\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"northcentralus\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureMonitor\",\r\n \"addressPrefixes\": [\r\n \"20.49.114.20/30\",\r\n + \ \"20.49.114.32/28\",\r\n \"20.49.114.48/31\",\r\n \"20.135.13.192/26\",\r\n + \ \"23.96.245.125/32\",\r\n \"23.96.252.161/32\",\r\n \"23.96.252.216/32\",\r\n + \ \"23.100.228.32/32\",\r\n \"40.80.191.224/28\",\r\n \"52.162.87.50/32\",\r\n + \ \"52.162.110.64/28\",\r\n \"52.162.110.168/29\",\r\n \"52.162.214.75/32\",\r\n + \ \"52.237.157.70/32\",\r\n \"65.52.2.145/32\",\r\n \"65.52.5.76/32\",\r\n + \ \"2603:1030:608::780/121\",\r\n \"2603:1030:608:1::280/123\",\r\n + \ \"2603:1030:608:1::300/121\",\r\n \"2603:1030:608:402::500/121\",\r\n + \ \"2a01:111:f100:1003::4134:36c2/128\",\r\n \"2a01:111:f100:1003::4134:36d9/128\",\r\n + \ \"2a01:111:f100:1003::4134:370d/128\",\r\n \"2a01:111:f100:1005::a83e:f7fe/128\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureMonitor.NorthEurope\",\r\n + \ \"id\": \"AzureMonitor.NorthEurope\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"4\",\r\n + \ \"region\": \"northeurope\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureMonitor\",\r\n \"addressPrefixes\": + [\r\n \"13.69.229.64/29\",\r\n \"13.69.229.240/29\",\r\n + \ \"13.69.233.0/30\",\r\n \"13.69.233.96/27\",\r\n \"13.74.107.88/30\",\r\n + \ \"13.74.108.128/29\",\r\n \"20.38.80.68/31\",\r\n \"20.50.65.80/28\",\r\n + \ \"20.50.68.112/29\",\r\n \"20.50.68.120/30\",\r\n \"20.50.68.124/31\",\r\n + \ \"20.50.68.128/29\",\r\n \"23.102.44.211/32\",\r\n \"23.102.45.216/32\",\r\n + \ \"40.69.81.159/32\",\r\n \"40.69.194.158/32\",\r\n \"40.87.138.220/32\",\r\n + \ \"40.87.140.215/32\",\r\n \"40.112.74.241/32\",\r\n \"40.115.103.168/32\",\r\n + \ \"40.115.104.31/32\",\r\n \"40.127.144.141/32\",\r\n \"52.138.222.110/32\",\r\n + \ \"52.138.226.88/29\",\r\n \"52.138.227.128/29\",\r\n \"52.146.133.32/27\",\r\n + \ \"52.155.162.238/32\",\r\n \"52.164.120.183/32\",\r\n \"52.164.125.22/32\",\r\n + \ \"52.164.225.5/32\",\r\n \"52.169.4.236/32\",\r\n \"52.169.15.254/32\",\r\n + \ \"52.169.30.110/32\",\r\n \"52.169.64.244/32\",\r\n \"104.41.224.134/32\",\r\n + \ \"137.116.226.81/32\",\r\n \"2603:1020:5::60/123\",\r\n + \ \"2603:1020:5::1c0/122\",\r\n \"2603:1020:5::300/123\",\r\n + \ \"2603:1020:5::360/123\",\r\n \"2603:1020:5::500/121\",\r\n + \ \"2603:1020:5:1::280/122\",\r\n \"2603:1020:5:402::500/121\",\r\n + \ \"2a01:111:f100:a001::4134:e463/128\",\r\n \"2a01:111:f100:a004::bfeb:8ba9/128\",\r\n + \ \"2a01:111:f100:a004::bfeb:8c93/128\",\r\n \"2a01:111:f100:a004::bfeb:8d32/128\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureMonitor.NorwayEast\",\r\n + \ \"id\": \"AzureMonitor.NorwayEast\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"4\",\r\n + \ \"region\": \"norwaye\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureMonitor\",\r\n \"addressPrefixes\": + [\r\n \"51.120.40.68/31\",\r\n \"51.120.98.0/29\",\r\n \"51.120.98.248/29\",\r\n + \ \"51.120.106.152/29\",\r\n \"51.120.210.152/29\",\r\n \"51.120.213.64/27\",\r\n + \ \"51.120.232.34/31\",\r\n \"51.120.232.160/27\",\r\n \"51.120.234.140/31\",\r\n + \ \"51.120.235.240/28\",\r\n \"2603:1020:e04::60/123\",\r\n + \ \"2603:1020:e04::1c0/122\",\r\n \"2603:1020:e04::300/123\",\r\n + \ \"2603:1020:e04::360/123\",\r\n \"2603:1020:e04::500/121\",\r\n + \ \"2603:1020:e04:1::280/122\",\r\n \"2603:1020:e04:402::500/121\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureMonitor.NorwayWest\",\r\n + \ \"id\": \"AzureMonitor.NorwayWest\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"norwayw\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureMonitor\",\r\n \"addressPrefixes\": + [\r\n \"51.13.128.32/27\",\r\n \"51.13.136.192/27\",\r\n + \ \"51.120.219.208/28\",\r\n \"2603:1020:f04::780/121\",\r\n + \ \"2603:1020:f04:1::280/123\",\r\n \"2603:1020:f04:1::300/121\",\r\n + \ \"2603:1020:f04:402::500/121\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureMonitor.SouthAfricaNorth\",\r\n \"id\": + \"AzureMonitor.SouthAfricaNorth\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"3\",\r\n \"region\": + \"southafricanorth\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureMonitor\",\r\n \"addressPrefixes\": + [\r\n \"102.133.122.152/29\",\r\n \"102.133.123.240/29\",\r\n + \ \"102.133.126.64/27\",\r\n \"102.133.155.48/28\",\r\n \"102.133.161.73/32\",\r\n + \ \"102.133.162.233/32\",\r\n \"102.133.216.68/31\",\r\n + \ \"102.133.216.106/31\",\r\n \"102.133.218.144/28\",\r\n + \ \"102.133.218.244/30\",\r\n \"102.133.219.128/28\",\r\n + \ \"102.133.221.160/27\",\r\n \"102.133.250.152/29\",\r\n + \ \"102.133.251.80/29\",\r\n \"2603:1000:104::4c0/122\",\r\n + \ \"2603:1000:104::600/122\",\r\n \"2603:1000:104:1::280/122\",\r\n + \ \"2603:1000:104:2::/123\",\r\n \"2603:1000:104:2::80/121\",\r\n + \ \"2603:1000:104:402::500/121\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureMonitor.SouthAfricaWest\",\r\n \"id\": + \"AzureMonitor.SouthAfricaWest\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"3\",\r\n \"region\": + \"southafricawest\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureMonitor\",\r\n \"addressPrefixes\": + [\r\n \"102.37.64.128/27\",\r\n \"102.37.80.64/27\",\r\n + \ \"102.133.27.48/28\",\r\n \"102.133.28.64/29\",\r\n \"2603:1000:4::780/121\",\r\n + \ \"2603:1000:4:1::280/123\",\r\n \"2603:1000:4:1::300/121\",\r\n + \ \"2603:1000:4:402::500/121\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureMonitor.SouthCentralUS\",\r\n \"id\": + \"AzureMonitor.SouthCentralUS\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"3\",\r\n \"region\": + \"southcentralus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureMonitor\",\r\n \"addressPrefixes\": + [\r\n \"13.65.96.175/32\",\r\n \"13.65.206.67/32\",\r\n + \ \"13.65.211.125/32\",\r\n \"13.66.36.144/32\",\r\n \"13.66.37.172/32\",\r\n + \ \"13.66.59.226/32\",\r\n \"13.66.60.151/32\",\r\n \"13.73.240.0/29\",\r\n + \ \"13.73.242.32/29\",\r\n \"13.73.244.192/31\",\r\n \"13.73.248.6/31\",\r\n + \ \"13.73.253.104/29\",\r\n \"13.73.253.112/29\",\r\n \"13.73.253.120/32\",\r\n + \ \"13.84.134.59/32\",\r\n \"13.84.148.7/32\",\r\n \"13.84.149.186/32\",\r\n + \ \"13.84.173.179/32\",\r\n \"13.84.189.95/32\",\r\n \"13.84.225.10/32\",\r\n + \ \"13.85.70.142/32\",\r\n \"20.45.122.152/29\",\r\n \"20.45.123.80/29\",\r\n + \ \"20.45.123.116/30\",\r\n \"20.45.125.224/28\",\r\n \"20.49.91.32/28\",\r\n + \ \"20.49.93.192/26\",\r\n \"20.65.132.0/26\",\r\n \"23.100.122.113/32\",\r\n + \ \"23.102.181.197/32\",\r\n \"40.74.249.98/32\",\r\n \"40.84.133.5/32\",\r\n + \ \"40.84.150.47/32\",\r\n \"40.84.189.107/32\",\r\n \"40.84.192.116/32\",\r\n + \ \"40.119.4.128/32\",\r\n \"40.119.8.72/31\",\r\n \"40.119.11.160/28\",\r\n + \ \"40.119.11.180/30\",\r\n \"40.124.64.192/26\",\r\n \"52.171.56.178/32\",\r\n + \ \"52.171.138.167/32\",\r\n \"52.185.215.171/32\",\r\n \"104.44.140.84/32\",\r\n + \ \"104.214.70.219/32\",\r\n \"104.214.104.109/32\",\r\n + \ \"104.215.81.124/32\",\r\n \"104.215.96.105/32\",\r\n \"104.215.100.22/32\",\r\n + \ \"104.215.103.78/32\",\r\n \"104.215.115.118/32\",\r\n + \ \"157.55.177.6/32\",\r\n \"2603:1030:800:5::bfee:a418/128\",\r\n + \ \"2603:1030:800:5::bfee:a429/128\",\r\n \"2603:1030:800:5::bfee:a42a/128\",\r\n + \ \"2603:1030:800:5::bfee:a435/128\",\r\n \"2603:1030:807::60/123\",\r\n + \ \"2603:1030:807::1c0/122\",\r\n \"2603:1030:807::300/123\",\r\n + \ \"2603:1030:807::360/123\",\r\n \"2603:1030:807::500/121\",\r\n + \ \"2603:1030:807:1::280/122\",\r\n \"2603:1030:807:402::500/121\",\r\n + \ \"2a01:111:f100:4002::9d37:c0bd/128\"\r\n ]\r\n }\r\n + \ },\r\n {\r\n \"name\": \"AzureMonitor.SoutheastAsia\",\r\n \"id\": + \"AzureMonitor.SoutheastAsia\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"3\",\r\n \"region\": + \"southeastasia\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureMonitor\",\r\n \"addressPrefixes\": + [\r\n \"13.67.9.192/28\",\r\n \"13.67.10.64/29\",\r\n \"13.67.10.92/30\",\r\n + \ \"13.67.15.0/32\",\r\n \"13.67.77.233/32\",\r\n \"13.67.89.191/32\",\r\n + \ \"13.76.85.243/32\",\r\n \"13.76.87.86/32\",\r\n \"20.43.128.68/31\",\r\n + \ \"20.43.152.45/32\",\r\n \"20.44.192.217/32\",\r\n \"23.98.82.120/29\",\r\n + \ \"23.98.82.208/28\",\r\n \"23.98.104.160/28\",\r\n \"23.98.106.136/29\",\r\n + \ \"23.98.106.144/30\",\r\n \"23.98.106.148/31\",\r\n \"23.98.106.150/32\",\r\n + \ \"23.98.106.152/29\",\r\n \"40.78.234.56/29\",\r\n \"40.78.234.144/28\",\r\n + \ \"52.163.94.131/32\",\r\n \"52.163.122.20/32\",\r\n \"111.221.88.173/32\",\r\n + \ \"137.116.146.215/32\",\r\n \"137.116.151.139/32\",\r\n + \ \"138.91.32.98/32\",\r\n \"138.91.37.93/32\",\r\n \"168.63.174.169/32\",\r\n + \ \"168.63.242.221/32\",\r\n \"207.46.224.101/32\",\r\n \"207.46.236.191/32\",\r\n + \ \"2603:1040:5::160/123\",\r\n \"2603:1040:5::2c0/122\",\r\n + \ \"2603:1040:5::400/123\",\r\n \"2603:1040:5::460/123\",\r\n + \ \"2603:1040:5::600/121\",\r\n \"2603:1040:5:1::280/122\",\r\n + \ \"2603:1040:5:402::500/121\",\r\n \"2a01:111:f100:7000::6fdd:5343/128\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureMonitor.SouthIndia\",\r\n + \ \"id\": \"AzureMonitor.SouthIndia\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"southindia\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureMonitor\",\r\n \"addressPrefixes\": + [\r\n \"20.41.208.32/27\",\r\n \"40.78.195.16/28\",\r\n + \ \"40.78.196.48/29\",\r\n \"52.172.113.64/27\",\r\n \"104.211.216.161/32\",\r\n + \ \"2603:1040:c06::780/121\",\r\n \"2603:1040:c06:1::280/123\",\r\n + \ \"2603:1040:c06:1::300/121\",\r\n \"2603:1040:c06:402::500/121\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureMonitor.SwitzerlandNorth\",\r\n + \ \"id\": \"AzureMonitor.SwitzerlandNorth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"switzerlandn\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureMonitor\",\r\n \"addressPrefixes\": + [\r\n \"51.107.48.68/31\",\r\n \"51.107.48.126/31\",\r\n + \ \"51.107.51.16/28\",\r\n \"51.107.51.120/29\",\r\n \"51.107.52.192/30\",\r\n + \ \"51.107.52.200/29\",\r\n \"51.107.59.176/28\",\r\n \"51.107.75.144/32\",\r\n + \ \"51.107.75.207/32\",\r\n \"51.107.128.96/27\",\r\n \"51.107.242.0/27\",\r\n + \ \"2603:1020:a04::60/123\",\r\n \"2603:1020:a04::1c0/122\",\r\n + \ \"2603:1020:a04::300/123\",\r\n \"2603:1020:a04::360/123\",\r\n + \ \"2603:1020:a04::500/121\",\r\n \"2603:1020:a04:1::280/122\",\r\n + \ \"2603:1020:a04:402::500/121\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureMonitor.SwitzerlandWest\",\r\n \"id\": + \"AzureMonitor.SwitzerlandWest\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"3\",\r\n \"region\": + \"switzerlandw\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureMonitor\",\r\n \"addressPrefixes\": + [\r\n \"51.107.147.16/28\",\r\n \"51.107.147.116/30\",\r\n + \ \"51.107.148.0/28\",\r\n \"51.107.148.16/31\",\r\n \"51.107.155.176/28\",\r\n + \ \"51.107.156.48/29\",\r\n \"51.107.192.160/27\",\r\n \"51.107.250.0/27\",\r\n + \ \"2603:1020:b04::780/121\",\r\n \"2603:1020:b04:1::280/123\",\r\n + \ \"2603:1020:b04:1::300/121\",\r\n \"2603:1020:b04:402::500/121\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureMonitor.UAECentral\",\r\n + \ \"id\": \"AzureMonitor.UAECentral\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"uaecentral\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureMonitor\",\r\n \"addressPrefixes\": + [\r\n \"20.37.71.0/27\",\r\n \"20.37.74.232/29\",\r\n \"20.37.74.240/28\",\r\n + \ \"40.120.8.192/27\",\r\n \"2603:1040:b00:2::b/128\",\r\n + \ \"2603:1040:b04::780/121\",\r\n \"2603:1040:b04:1::280/123\",\r\n + \ \"2603:1040:b04:1::300/121\",\r\n \"2603:1040:b04:402::500/121\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureMonitor.UAENorth\",\r\n + \ \"id\": \"AzureMonitor.UAENorth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"4\",\r\n + \ \"region\": \"uaenorth\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureMonitor\",\r\n \"addressPrefixes\": + [\r\n \"20.38.143.0/27\",\r\n \"20.38.143.44/30\",\r\n \"20.38.152.32/27\",\r\n + \ \"40.120.75.32/28\",\r\n \"65.52.250.232/29\",\r\n \"65.52.250.240/28\",\r\n + \ \"2603:1040:900:2::e/128\",\r\n \"2603:1040:904::60/123\",\r\n + \ \"2603:1040:904::1c0/122\",\r\n \"2603:1040:904::300/123\",\r\n + \ \"2603:1040:904::360/123\",\r\n \"2603:1040:904::500/121\",\r\n + \ \"2603:1040:904:1::280/122\",\r\n \"2603:1040:904:402::500/121\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureMonitor.UKSouth\",\r\n + \ \"id\": \"AzureMonitor.UKSouth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"uksouth\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureMonitor\",\r\n \"addressPrefixes\": + [\r\n \"51.104.8.104/29\",\r\n \"51.104.15.255/32\",\r\n + \ \"51.104.24.68/31\",\r\n \"51.104.25.142/31\",\r\n \"51.104.29.192/28\",\r\n + \ \"51.104.30.160/29\",\r\n \"51.104.30.168/32\",\r\n \"51.104.30.176/28\",\r\n + \ \"51.104.252.13/32\",\r\n \"51.104.255.249/32\",\r\n \"51.105.66.152/29\",\r\n + \ \"51.105.67.160/29\",\r\n \"51.105.70.128/27\",\r\n \"51.105.74.152/29\",\r\n + \ \"51.105.75.144/29\",\r\n \"51.140.6.23/32\",\r\n \"51.140.54.208/32\",\r\n + \ \"51.140.60.235/32\",\r\n \"51.140.69.144/32\",\r\n \"51.140.148.48/28\",\r\n + \ \"51.140.152.61/32\",\r\n \"51.140.152.186/32\",\r\n \"51.140.163.207/32\",\r\n + \ \"51.140.180.52/32\",\r\n \"51.140.181.40/32\",\r\n \"51.143.165.22/32\",\r\n + \ \"51.143.209.96/27\",\r\n \"51.145.44.242/32\",\r\n \"2603:1020:705::60/123\",\r\n + \ \"2603:1020:705::1c0/122\",\r\n \"2603:1020:705::300/123\",\r\n + \ \"2603:1020:705::360/123\",\r\n \"2603:1020:705::500/121\",\r\n + \ \"2603:1020:705:1::280/122\",\r\n \"2603:1020:705:402::500/121\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureMonitor.UKWest\",\r\n + \ \"id\": \"AzureMonitor.UKWest\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"ukwest\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureMonitor\",\r\n \"addressPrefixes\": + [\r\n \"20.58.66.96/27\",\r\n \"51.11.97.96/27\",\r\n \"51.137.164.92/31\",\r\n + \ \"51.137.164.112/28\",\r\n \"51.137.164.200/29\",\r\n \"51.137.164.208/28\",\r\n + \ \"51.140.211.160/28\",\r\n \"51.140.212.64/29\",\r\n \"51.141.113.128/32\",\r\n + \ \"2603:1020:605::780/121\",\r\n \"2603:1020:605:1::280/123\",\r\n + \ \"2603:1020:605:1::300/121\",\r\n \"2603:1020:605:402::500/121\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureMonitor.WestCentralUS\",\r\n + \ \"id\": \"AzureMonitor.WestCentralUS\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"5\",\r\n + \ \"region\": \"westcentralus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureMonitor\",\r\n \"addressPrefixes\": + [\r\n \"13.71.195.192/27\",\r\n \"13.71.196.56/29\",\r\n + \ \"13.71.199.116/32\",\r\n \"13.78.135.15/32\",\r\n \"13.78.145.11/32\",\r\n + \ \"13.78.151.158/32\",\r\n \"13.78.172.58/32\",\r\n \"13.78.189.112/32\",\r\n + \ \"13.78.236.149/32\",\r\n \"13.78.237.51/32\",\r\n \"40.67.122.0/26\",\r\n + \ \"52.150.152.48/28\",\r\n \"52.150.152.90/31\",\r\n \"52.150.154.24/29\",\r\n + \ \"52.150.154.32/28\",\r\n \"52.161.8.76/32\",\r\n \"52.161.11.71/32\",\r\n + \ \"52.161.12.245/32\",\r\n \"2603:1030:b00::68/128\",\r\n + \ \"2603:1030:b00::ca/128\",\r\n \"2603:1030:b00::e8/128\",\r\n + \ \"2603:1030:b00::164/128\",\r\n \"2603:1030:b00::2a1/128\",\r\n + \ \"2603:1030:b00::4d9/128\",\r\n \"2603:1030:b00::4db/128\",\r\n + \ \"2603:1030:b00::50d/128\",\r\n \"2603:1030:b04::780/121\",\r\n + \ \"2603:1030:b04:1::280/123\",\r\n \"2603:1030:b04:1::300/121\",\r\n + \ \"2603:1030:b04:402::500/121\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureMonitor.WestEurope\",\r\n \"id\": \"AzureMonitor.WestEurope\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"4\",\r\n \"region\": \"westeurope\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureMonitor\",\r\n \"addressPrefixes\": [\r\n \"13.69.51.175/32\",\r\n + \ \"13.69.51.218/32\",\r\n \"13.69.65.16/28\",\r\n \"13.69.66.136/29\",\r\n + \ \"13.69.67.60/30\",\r\n \"13.69.67.126/32\",\r\n \"13.69.106.88/29\",\r\n + \ \"13.69.106.208/28\",\r\n \"13.69.109.224/27\",\r\n \"13.80.134.255/32\",\r\n + \ \"20.61.99.64/27\",\r\n \"23.101.69.223/32\",\r\n \"40.68.61.229/32\",\r\n + \ \"40.68.154.39/32\",\r\n \"40.74.24.68/31\",\r\n \"40.74.36.208/32\",\r\n + \ \"40.74.59.40/32\",\r\n \"40.113.176.128/28\",\r\n \"40.113.178.16/28\",\r\n + \ \"40.113.178.32/28\",\r\n \"40.113.178.48/32\",\r\n \"40.114.241.141/32\",\r\n + \ \"40.115.54.120/32\",\r\n \"51.105.248.23/32\",\r\n \"51.144.41.38/32\",\r\n + \ \"51.144.81.252/32\",\r\n \"52.178.26.73/32\",\r\n \"52.178.37.209/32\",\r\n + \ \"52.232.35.33/32\",\r\n \"52.232.65.133/32\",\r\n \"52.232.106.242/32\",\r\n + \ \"52.236.186.88/29\",\r\n \"52.236.186.208/28\",\r\n \"104.40.222.36/32\",\r\n + \ \"137.117.144.33/32\",\r\n \"2603:1020:206::60/123\",\r\n + \ \"2603:1020:206::1c0/122\",\r\n \"2603:1020:206::300/123\",\r\n + \ \"2603:1020:206::360/123\",\r\n \"2603:1020:206::500/121\",\r\n + \ \"2603:1020:206:1::280/122\",\r\n \"2603:1020:206:402::500/121\",\r\n + \ \"2a01:111:f100:9001::1761:91e4/128\",\r\n \"2a01:111:f100:9001::1761:9323/128\",\r\n + \ \"2a01:111:f100:9001::1761:958a/128\",\r\n \"2a01:111:f100:9001::1761:9696/128\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureMonitor.WestIndia\",\r\n + \ \"id\": \"AzureMonitor.WestIndia\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"westindia\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureMonitor\",\r\n \"addressPrefixes\": + [\r\n \"20.38.128.64/29\",\r\n \"20.38.132.64/27\",\r\n + \ \"52.136.53.96/27\",\r\n \"104.211.147.128/28\",\r\n \"2603:1040:806::780/121\",\r\n + \ \"2603:1040:806:1::280/123\",\r\n \"2603:1040:806:1::300/121\",\r\n + \ \"2603:1040:806:402::500/121\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureMonitor.WestUS\",\r\n \"id\": \"AzureMonitor.WestUS\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"3\",\r\n \"region\": \"westus\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureMonitor\",\r\n \"addressPrefixes\": [\r\n \"13.86.218.224/28\",\r\n + \ \"13.86.218.248/29\",\r\n \"13.86.223.128/26\",\r\n \"13.88.177.28/32\",\r\n + \ \"13.91.42.27/32\",\r\n \"13.91.102.27/32\",\r\n \"13.93.215.80/32\",\r\n + \ \"13.93.233.49/32\",\r\n \"13.93.236.73/32\",\r\n \"20.49.120.64/28\",\r\n + \ \"20.66.2.192/26\",\r\n \"20.189.172.0/25\",\r\n \"40.78.23.86/32\",\r\n + \ \"40.78.57.61/32\",\r\n \"40.78.107.177/32\",\r\n \"40.118.129.58/32\",\r\n + \ \"52.250.228.8/29\",\r\n \"52.250.228.16/28\",\r\n \"52.250.228.32/31\",\r\n + \ \"65.52.122.208/32\",\r\n \"104.42.40.28/32\",\r\n \"104.45.230.69/32\",\r\n + \ \"104.45.232.72/32\",\r\n \"2603:1030:a07::780/121\",\r\n + \ \"2603:1030:a07:1::280/123\",\r\n \"2603:1030:a07:1::300/121\",\r\n + \ \"2603:1030:a07:402::380/121\",\r\n \"2a01:111:f100:3000::a83e:187a/128\",\r\n + \ \"2a01:111:f100:3000::a83e:187c/128\",\r\n \"2a01:111:f100:3000::a83e:1913/128\",\r\n + \ \"2a01:111:f100:3000::a83e:1978/128\",\r\n \"2a01:111:f100:3000::a83e:19c0/128\",\r\n + \ \"2a01:111:f100:3000::a83e:1a54/127\",\r\n \"2a01:111:f100:3000::a83e:1a8e/128\",\r\n + \ \"2a01:111:f100:3000::a83e:1adf/128\",\r\n \"2a01:111:f100:3000::a83e:1b12/128\",\r\n + \ \"2a01:111:f100:3001::a83e:a67/128\"\r\n ]\r\n }\r\n + \ },\r\n {\r\n \"name\": \"AzureMonitor.WestUS2\",\r\n \"id\": + \"AzureMonitor.WestUS2\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"5\",\r\n \"region\": + \"westus2\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureMonitor\",\r\n \"addressPrefixes\": + [\r\n \"13.66.140.168/29\",\r\n \"13.66.141.152/29\",\r\n + \ \"13.66.143.218/32\",\r\n \"13.66.147.144/28\",\r\n \"13.66.160.124/32\",\r\n + \ \"13.66.220.187/32\",\r\n \"13.66.231.27/32\",\r\n \"13.77.150.166/32\",\r\n + \ \"13.77.155.39/32\",\r\n \"13.77.174.177/32\",\r\n \"20.42.128.68/31\",\r\n + \ \"20.51.9.0/26\",\r\n \"20.190.60.32/32\",\r\n \"20.190.60.38/32\",\r\n + \ \"40.64.132.128/28\",\r\n \"40.64.132.240/28\",\r\n \"40.64.134.128/29\",\r\n + \ \"40.64.134.136/31\",\r\n \"40.64.134.138/32\",\r\n \"40.78.242.168/30\",\r\n + \ \"40.78.243.16/29\",\r\n \"40.78.247.64/26\",\r\n \"40.78.250.104/30\",\r\n + \ \"40.78.250.208/29\",\r\n \"40.78.253.192/26\",\r\n \"51.143.88.183/32\",\r\n + \ \"52.151.11.176/32\",\r\n \"52.175.198.74/32\",\r\n \"52.175.231.105/32\",\r\n + \ \"52.175.235.148/32\",\r\n \"52.183.41.109/32\",\r\n \"52.183.66.112/32\",\r\n + \ \"52.183.73.112/32\",\r\n \"52.183.95.86/32\",\r\n \"52.183.127.155/32\",\r\n + \ \"52.191.170.253/32\",\r\n \"52.229.25.130/32\",\r\n \"52.229.37.75/32\",\r\n + \ \"52.247.202.90/32\",\r\n \"2603:1030:c02:2::2da/128\",\r\n + \ \"2603:1030:c02:2::4e1/128\",\r\n \"2603:1030:c06:1::280/122\",\r\n + \ \"2603:1030:c06:2::80/121\",\r\n \"2603:1030:c06:2::240/123\",\r\n + \ \"2603:1030:c06:2::300/121\",\r\n \"2603:1030:c06:400::d00/121\",\r\n + \ \"2603:1030:d00::1d/128\",\r\n \"2603:1030:d00::48/128\",\r\n + \ \"2603:1030:d00::5a/128\",\r\n \"2603:1030:d00::82/128\",\r\n + \ \"2603:1030:d00::84/128\",\r\n \"2603:1030:d00::9a/128\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureOpenDatasets\",\r\n + \ \"id\": \"AzureOpenDatasets\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureOpenDatasets\",\r\n \"addressPrefixes\": + [\r\n \"13.73.248.32/28\",\r\n \"20.36.120.192/28\",\r\n + \ \"20.37.64.192/28\",\r\n \"20.37.156.224/28\",\r\n \"20.37.195.32/28\",\r\n + \ \"20.37.224.192/28\",\r\n \"20.38.84.112/28\",\r\n \"20.38.136.192/28\",\r\n + \ \"20.39.11.32/28\",\r\n \"20.41.4.192/28\",\r\n \"20.41.65.160/28\",\r\n + \ \"20.41.193.128/28\",\r\n \"20.42.4.224/28\",\r\n \"20.42.131.0/28\",\r\n + \ \"20.42.227.0/28\",\r\n \"20.43.41.160/28\",\r\n \"20.43.65.160/28\",\r\n + \ \"20.43.130.112/28\",\r\n \"20.45.112.192/28\",\r\n \"20.45.192.192/28\",\r\n + \ \"20.150.160.192/28\",\r\n \"20.189.106.208/28\",\r\n \"20.192.225.128/28\",\r\n + \ \"40.67.48.192/28\",\r\n \"40.74.30.112/28\",\r\n \"40.80.57.128/28\",\r\n + \ \"40.80.169.128/28\",\r\n \"40.80.188.32/28\",\r\n \"40.82.253.80/28\",\r\n + \ \"40.89.17.128/28\",\r\n \"51.12.41.32/28\",\r\n \"51.12.193.32/28\",\r\n + \ \"51.104.25.160/28\",\r\n \"51.105.80.192/28\",\r\n \"51.105.88.192/28\",\r\n + \ \"51.107.48.192/28\",\r\n \"51.107.144.192/28\",\r\n \"51.116.48.112/28\",\r\n + \ \"51.116.144.112/28\",\r\n \"51.120.40.192/28\",\r\n \"51.120.224.192/28\",\r\n + \ \"51.137.161.144/28\",\r\n \"51.143.192.192/28\",\r\n \"52.136.48.192/28\",\r\n + \ \"52.140.105.128/28\",\r\n \"52.150.139.80/28\",\r\n \"52.228.81.144/28\",\r\n + \ \"102.133.56.112/28\",\r\n \"102.133.216.112/28\",\r\n + \ \"191.235.225.160/28\"\r\n ]\r\n }\r\n },\r\n {\r\n + \ \"name\": \"AzureOpenDatasets.AustraliaEast\",\r\n \"id\": \"AzureOpenDatasets.AustraliaEast\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"1\",\r\n \"region\": \"australiaeast\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n + \ ],\r\n \"systemService\": \"AzureOpenDatasets\",\r\n \"addressPrefixes\": + [\r\n \"20.37.195.32/28\"\r\n ]\r\n }\r\n },\r\n {\r\n + \ \"name\": \"AzureOpenDatasets.FranceSouth\",\r\n \"id\": \"AzureOpenDatasets.FranceSouth\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"1\",\r\n \"region\": \"southfrance\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n + \ ],\r\n \"systemService\": \"AzureOpenDatasets\",\r\n \"addressPrefixes\": + [\r\n \"51.105.88.192/28\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureOpenDatasets.GermanyNorth\",\r\n \"id\": + \"AzureOpenDatasets.GermanyNorth\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"1\",\r\n \"region\": + \"germanyn\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"AzureOpenDatasets\",\r\n \"addressPrefixes\": [\r\n \"51.116.48.112/28\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureOpenDatasets.SwitzerlandWest\",\r\n + \ \"id\": \"AzureOpenDatasets.SwitzerlandWest\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"switzerlandw\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"AzureOpenDatasets\",\r\n \"addressPrefixes\": [\r\n \"51.107.144.192/28\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureOpenDatasets.UAECentral\",\r\n + \ \"id\": \"AzureOpenDatasets.UAECentral\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"uaecentral\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"AzureOpenDatasets\",\r\n \"addressPrefixes\": [\r\n \"20.37.64.192/28\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureOpenDatasets.UAENorth\",\r\n + \ \"id\": \"AzureOpenDatasets.UAENorth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"uaenorth\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"AzureOpenDatasets\",\r\n \"addressPrefixes\": [\r\n \"20.38.136.192/28\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureOpenDatasets.UKWest\",\r\n + \ \"id\": \"AzureOpenDatasets.UKWest\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"ukwest\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"AzureOpenDatasets\",\r\n \"addressPrefixes\": [\r\n \"51.137.161.144/28\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureOpenDatasets.WestEurope\",\r\n + \ \"id\": \"AzureOpenDatasets.WestEurope\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"westeurope\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"AzureOpenDatasets\",\r\n \"addressPrefixes\": [\r\n \"40.74.30.112/28\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureOpenDatasets.WestUS2\",\r\n + \ \"id\": \"AzureOpenDatasets.WestUS2\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"westus2\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"AzureOpenDatasets\",\r\n \"addressPrefixes\": [\r\n \"20.42.131.0/28\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzurePortal\",\r\n + \ \"id\": \"AzurePortal\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"1\",\r\n \"region\": + \"\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n + \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzurePortal\",\r\n \"addressPrefixes\": + [\r\n \"13.67.35.35/32\",\r\n \"13.67.35.77/32\",\r\n \"13.68.130.251/32\",\r\n + \ \"13.68.235.98/32\",\r\n \"13.69.112.176/28\",\r\n \"13.69.126.92/32\",\r\n + \ \"13.71.190.228/32\",\r\n \"13.73.249.32/27\",\r\n \"13.73.249.160/28\",\r\n + \ \"13.73.255.248/29\",\r\n \"13.77.1.236/32\",\r\n \"13.77.55.208/28\",\r\n + \ \"13.77.202.2/32\",\r\n \"13.78.49.187/32\",\r\n \"13.78.132.155/32\",\r\n + \ \"13.78.230.142/32\",\r\n \"13.88.220.109/32\",\r\n \"13.88.222.0/32\",\r\n + \ \"13.90.156.71/32\",\r\n \"13.92.138.76/32\",\r\n \"20.36.121.128/27\",\r\n + \ \"20.36.122.56/30\",\r\n \"20.36.125.104/29\",\r\n \"20.37.65.128/27\",\r\n + \ \"20.37.66.56/30\",\r\n \"20.37.70.96/29\",\r\n \"20.37.195.224/27\",\r\n + \ \"20.37.196.252/30\",\r\n \"20.37.198.64/27\",\r\n \"20.37.225.128/27\",\r\n + \ \"20.37.226.56/30\",\r\n \"20.37.229.152/29\",\r\n \"20.38.85.192/27\",\r\n + \ \"20.38.87.224/27\",\r\n \"20.38.137.160/27\",\r\n \"20.38.138.60/30\",\r\n + \ \"20.38.142.88/29\",\r\n \"20.38.149.208/28\",\r\n \"20.39.12.32/27\",\r\n + \ \"20.39.12.232/30\",\r\n \"20.40.200.0/27\",\r\n \"20.40.200.160/30\",\r\n + \ \"20.40.224.226/31\",\r\n \"20.40.225.32/29\",\r\n \"20.41.5.192/27\",\r\n + \ \"20.41.65.224/27\",\r\n \"20.41.67.88/30\",\r\n \"20.41.193.224/27\",\r\n + \ \"20.41.197.16/30\",\r\n \"20.42.6.192/27\",\r\n \"20.42.227.192/27\",\r\n + \ \"20.42.228.220/30\",\r\n \"20.42.228.224/27\",\r\n \"20.42.230.80/28\",\r\n + \ \"20.43.42.64/27\",\r\n \"20.43.43.164/30\",\r\n \"20.43.46.248/29\",\r\n + \ \"20.43.66.64/27\",\r\n \"20.43.67.92/30\",\r\n \"20.43.67.96/27\",\r\n + \ \"20.43.70.64/28\",\r\n \"20.43.123.160/28\",\r\n \"20.43.132.32/27\",\r\n + \ \"20.44.19.32/28\",\r\n \"20.45.112.124/30\",\r\n \"20.45.113.128/27\",\r\n + \ \"20.45.116.64/29\",\r\n \"20.45.125.240/28\",\r\n \"20.45.195.160/27\",\r\n + \ \"20.45.197.192/27\",\r\n \"20.45.197.228/30\",\r\n \"20.46.10.40/29\",\r\n + \ \"20.48.193.48/29\",\r\n \"20.49.99.16/28\",\r\n \"20.49.99.32/30\",\r\n + \ \"20.49.103.96/29\",\r\n \"20.49.109.36/30\",\r\n \"20.49.109.44/31\",\r\n + \ \"20.49.109.48/28\",\r\n \"20.49.115.184/29\",\r\n \"20.49.120.0/27\",\r\n + \ \"20.49.120.36/30\",\r\n \"20.49.126.156/30\",\r\n \"20.49.127.224/28\",\r\n + \ \"20.50.1.32/27\",\r\n \"20.50.1.160/27\",\r\n \"20.50.1.200/30\",\r\n + \ \"20.50.1.208/28\",\r\n \"20.50.65.72/30\",\r\n \"20.51.16.120/29\",\r\n + \ \"20.53.44.4/30\",\r\n \"20.53.44.64/29\",\r\n \"20.61.98.128/29\",\r\n + \ \"20.62.128.240/29\",\r\n \"20.72.20.96/27\",\r\n \"20.150.161.192/27\",\r\n + \ \"20.150.165.144/30\",\r\n \"20.150.166.160/29\",\r\n \"20.187.197.0/29\",\r\n + \ \"20.189.108.96/27\",\r\n \"20.189.109.88/30\",\r\n \"20.189.109.160/27\",\r\n + \ \"20.189.224.208/29\",\r\n \"20.191.161.80/29\",\r\n \"20.192.161.192/27\",\r\n + \ \"20.192.164.180/30\",\r\n \"20.192.166.160/29\",\r\n \"20.192.228.128/27\",\r\n + \ \"20.192.230.0/30\",\r\n \"20.192.230.112/29\",\r\n \"20.194.72.56/29\",\r\n + \ \"23.98.104.80/28\",\r\n \"23.98.104.96/27\",\r\n \"23.98.104.128/30\",\r\n + \ \"23.98.108.44/31\",\r\n \"23.98.108.168/29\",\r\n \"23.102.65.134/32\",\r\n + \ \"40.64.128.128/27\",\r\n \"40.64.132.88/30\",\r\n \"40.64.132.96/28\",\r\n + \ \"40.64.135.88/29\",\r\n \"40.65.114.234/32\",\r\n \"40.67.48.124/30\",\r\n + \ \"40.67.49.128/27\",\r\n \"40.67.50.192/27\",\r\n \"40.67.52.88/29\",\r\n + \ \"40.67.121.128/28\",\r\n \"40.71.15.144/28\",\r\n \"40.78.239.48/28\",\r\n + \ \"40.78.245.208/28\",\r\n \"40.79.189.96/28\",\r\n \"40.80.58.128/27\",\r\n + \ \"40.80.59.28/30\",\r\n \"40.80.59.32/27\",\r\n \"40.80.169.224/27\",\r\n + \ \"40.80.172.16/30\",\r\n \"40.80.173.192/29\",\r\n \"40.80.190.160/27\",\r\n + \ \"40.80.191.200/30\",\r\n \"40.82.253.224/27\",\r\n \"40.84.132.239/32\",\r\n + \ \"40.84.228.255/32\",\r\n \"40.89.18.160/27\",\r\n \"40.89.20.132/30\",\r\n + \ \"40.89.23.232/29\",\r\n \"40.113.117.57/32\",\r\n \"40.114.78.132/32\",\r\n + \ \"40.114.236.251/32\",\r\n \"40.117.86.243/32\",\r\n \"40.117.237.78/32\",\r\n + \ \"40.119.9.236/30\",\r\n \"51.12.41.20/30\",\r\n \"51.12.41.160/27\",\r\n + \ \"51.12.43.128/29\",\r\n \"51.12.193.20/30\",\r\n \"51.12.193.160/27\",\r\n + \ \"51.12.194.104/29\",\r\n \"51.13.136.8/29\",\r\n \"51.104.27.96/27\",\r\n + \ \"51.104.28.220/30\",\r\n \"51.104.28.224/28\",\r\n \"51.105.80.124/30\",\r\n + \ \"51.105.81.128/27\",\r\n \"51.105.89.160/27\",\r\n \"51.105.90.152/30\",\r\n + \ \"51.107.49.160/27\",\r\n \"51.107.50.60/30\",\r\n \"51.107.53.240/29\",\r\n + \ \"51.107.145.128/27\",\r\n \"51.107.146.56/30\",\r\n \"51.107.149.248/29\",\r\n + \ \"51.116.48.192/27\",\r\n \"51.116.49.140/30\",\r\n \"51.116.51.160/29\",\r\n + \ \"51.116.144.192/27\",\r\n \"51.116.145.140/30\",\r\n \"51.116.148.104/29\",\r\n + \ \"51.120.41.160/27\",\r\n \"51.120.42.60/30\",\r\n \"51.120.225.128/27\",\r\n + \ \"51.120.226.56/30\",\r\n \"51.120.232.16/29\",\r\n \"51.137.162.160/27\",\r\n + \ \"51.137.164.80/30\",\r\n \"51.137.167.152/29\",\r\n \"51.140.69.25/32\",\r\n + \ \"51.140.138.84/32\",\r\n \"51.140.149.64/28\",\r\n \"51.143.192.124/30\",\r\n + \ \"51.143.193.128/27\",\r\n \"51.143.208.192/29\",\r\n \"51.145.3.27/32\",\r\n + \ \"51.145.21.195/32\",\r\n \"52.136.49.160/27\",\r\n \"52.136.51.72/30\",\r\n + \ \"52.136.52.232/29\",\r\n \"52.136.184.64/29\",\r\n \"52.140.105.224/27\",\r\n + \ \"52.140.107.112/28\",\r\n \"52.140.108.64/30\",\r\n \"52.140.111.96/29\",\r\n + \ \"52.146.132.80/29\",\r\n \"52.150.139.224/27\",\r\n \"52.150.140.216/30\",\r\n + \ \"52.150.152.16/28\",\r\n \"52.150.152.224/27\",\r\n \"52.150.156.232/29\",\r\n + \ \"52.161.101.86/32\",\r\n \"52.163.207.80/32\",\r\n \"52.172.112.152/29\",\r\n + \ \"52.172.181.227/32\",\r\n \"52.172.190.71/32\",\r\n \"52.172.191.4/32\",\r\n + \ \"52.172.215.87/32\",\r\n \"52.228.24.159/32\",\r\n \"52.228.83.160/27\",\r\n + \ \"52.228.84.84/30\",\r\n \"52.228.84.96/28\",\r\n \"52.233.66.46/32\",\r\n + \ \"52.243.76.246/32\",\r\n \"102.133.56.160/27\",\r\n \"102.133.58.192/30\",\r\n + \ \"102.133.61.176/29\",\r\n \"102.133.217.192/27\",\r\n + \ \"102.133.218.56/30\",\r\n \"102.133.221.0/29\",\r\n \"104.41.216.228/32\",\r\n + \ \"104.42.195.92/32\",\r\n \"104.46.178.96/29\",\r\n \"104.211.89.213/32\",\r\n + \ \"104.211.101.116/32\",\r\n \"104.214.117.155/32\",\r\n + \ \"104.215.120.160/32\",\r\n \"104.215.146.128/32\",\r\n + \ \"137.116.247.179/32\",\r\n \"191.233.10.96/27\",\r\n \"191.233.15.0/29\",\r\n + \ \"191.234.136.0/27\",\r\n \"191.234.136.48/30\",\r\n \"191.234.139.144/29\",\r\n + \ \"191.235.227.160/27\",\r\n \"213.199.128.226/32\",\r\n + \ \"2603:1000:4::700/121\",\r\n \"2603:1000:104::200/121\",\r\n + \ \"2603:1000:104::400/121\",\r\n \"2603:1000:104:1::680/121\",\r\n + \ \"2603:1010:6::100/121\",\r\n \"2603:1010:6:1::680/121\",\r\n + \ \"2603:1010:101::700/121\",\r\n \"2603:1010:304::700/121\",\r\n + \ \"2603:1010:404::700/121\",\r\n \"2603:1020:5::100/121\",\r\n + \ \"2603:1020:5:1::680/121\",\r\n \"2603:1020:206::100/121\",\r\n + \ \"2603:1020:206:1::680/121\",\r\n \"2603:1020:305::700/121\",\r\n + \ \"2603:1020:405::700/121\",\r\n \"2603:1020:605::700/121\",\r\n + \ \"2603:1020:705::100/121\",\r\n \"2603:1020:705:1::680/121\",\r\n + \ \"2603:1020:805::100/121\",\r\n \"2603:1020:805:1::680/121\",\r\n + \ \"2603:1020:905::700/121\",\r\n \"2603:1020:a04::100/121\",\r\n + \ \"2603:1020:a04:1::680/121\",\r\n \"2603:1020:b04::700/121\",\r\n + \ \"2603:1020:c04::100/121\",\r\n \"2603:1020:c04:1::680/121\",\r\n + \ \"2603:1020:d04::700/121\",\r\n \"2603:1020:e04::100/121\",\r\n + \ \"2603:1020:e04:1::680/121\",\r\n \"2603:1020:f04::700/121\",\r\n + \ \"2603:1020:1004::680/121\",\r\n \"2603:1020:1004:1::100/121\",\r\n + \ \"2603:1020:1104::780/121\",\r\n \"2603:1030:f:1::700/121\",\r\n + \ \"2603:1030:10::100/121\",\r\n \"2603:1030:10:1::680/121\",\r\n + \ \"2603:1030:104::100/121\",\r\n \"2603:1030:104:1::680/121\",\r\n + \ \"2603:1030:107:1::/121\",\r\n \"2603:1030:210::100/121\",\r\n + \ \"2603:1030:210:1::680/121\",\r\n \"2603:1030:40b:1::680/121\",\r\n + \ \"2603:1030:40c::100/121\",\r\n \"2603:1030:40c:1::680/121\",\r\n + \ \"2603:1030:504::100/121\",\r\n \"2603:1030:504:1::680/121\",\r\n + \ \"2603:1030:608::700/121\",\r\n \"2603:1030:807::100/121\",\r\n + \ \"2603:1030:807:1::680/121\",\r\n \"2603:1030:a07::700/121\",\r\n + \ \"2603:1030:b04::700/121\",\r\n \"2603:1030:c06:1::680/121\",\r\n + \ \"2603:1030:f05::100/121\",\r\n \"2603:1030:f05:1::680/121\",\r\n + \ \"2603:1030:1005::700/121\",\r\n \"2603:1040:5::200/121\",\r\n + \ \"2603:1040:5:1::680/121\",\r\n \"2603:1040:207::700/121\",\r\n + \ \"2603:1040:407::100/121\",\r\n \"2603:1040:407:1::680/121\",\r\n + \ \"2603:1040:606::700/121\",\r\n \"2603:1040:806::700/121\",\r\n + \ \"2603:1040:904::100/121\",\r\n \"2603:1040:904:1::680/121\",\r\n + \ \"2603:1040:a06::200/121\",\r\n \"2603:1040:a06:1::680/121\",\r\n + \ \"2603:1040:b04::700/121\",\r\n \"2603:1040:c06::700/121\",\r\n + \ \"2603:1040:d04::680/121\",\r\n \"2603:1040:d04:1::100/121\",\r\n + \ \"2603:1040:f05::100/121\",\r\n \"2603:1040:f05:1::680/121\",\r\n + \ \"2603:1040:1104::780/121\",\r\n \"2603:1050:6::100/121\",\r\n + \ \"2603:1050:6:1::680/121\",\r\n \"2603:1050:403::680/121\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzurePortal.AustraliaCentral\",\r\n + \ \"id\": \"AzurePortal.AustraliaCentral\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"australiacentral\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n + \ ],\r\n \"systemService\": \"AzurePortal\",\r\n \"addressPrefixes\": + [\r\n \"20.37.225.128/27\",\r\n \"20.37.226.56/30\",\r\n + \ \"20.37.229.152/29\",\r\n \"2603:1010:304::700/121\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzurePortal.BrazilSouth\",\r\n + \ \"id\": \"AzurePortal.BrazilSouth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"brazilsouth\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"AzurePortal\",\r\n \"addressPrefixes\": [\r\n \"191.234.136.0/27\",\r\n + \ \"191.234.136.48/30\",\r\n \"191.234.139.144/29\",\r\n + \ \"191.235.227.160/27\",\r\n \"2603:1050:6::100/121\",\r\n + \ \"2603:1050:6:1::680/121\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzurePortal.EastAsia\",\r\n \"id\": \"AzurePortal.EastAsia\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"eastasia\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n + \ ],\r\n \"systemService\": \"AzurePortal\",\r\n \"addressPrefixes\": + [\r\n \"13.88.220.109/32\",\r\n \"13.88.222.0/32\",\r\n + \ \"20.187.197.0/29\",\r\n \"20.189.108.96/27\",\r\n \"20.189.109.88/30\",\r\n + \ \"20.189.109.160/27\",\r\n \"2603:1040:207::700/121\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzurePortal.EastUS2\",\r\n + \ \"id\": \"AzurePortal.EastUS2\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"eastus2\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"AzurePortal\",\r\n \"addressPrefixes\": [\r\n \"20.41.5.192/27\",\r\n + \ \"20.44.19.32/28\",\r\n \"20.49.99.16/28\",\r\n \"20.49.99.32/30\",\r\n + \ \"20.49.103.96/29\",\r\n \"2603:1030:40c::100/121\",\r\n + \ \"2603:1030:40c:1::680/121\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzurePortal.FranceSouth\",\r\n \"id\": \"AzurePortal.FranceSouth\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"southfrance\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n + \ ],\r\n \"systemService\": \"AzurePortal\",\r\n \"addressPrefixes\": + [\r\n \"51.105.89.160/27\",\r\n \"51.105.90.152/30\",\r\n + \ \"52.136.184.64/29\",\r\n \"2603:1020:905::700/121\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzurePortal.GermanyNorth\",\r\n + \ \"id\": \"AzurePortal.GermanyNorth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"germanyn\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"AzurePortal\",\r\n \"addressPrefixes\": [\r\n \"51.116.48.192/27\",\r\n + \ \"51.116.49.140/30\",\r\n \"51.116.51.160/29\",\r\n \"2603:1020:d04::700/121\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzurePortal.KoreaSouth\",\r\n + \ \"id\": \"AzurePortal.KoreaSouth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"koreasouth\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"AzurePortal\",\r\n \"addressPrefixes\": [\r\n \"40.80.169.224/27\",\r\n + \ \"40.80.172.16/30\",\r\n \"40.80.173.192/29\"\r\n ]\r\n + \ }\r\n },\r\n {\r\n \"name\": \"AzurePortal.NorthEurope\",\r\n + \ \"id\": \"AzurePortal.NorthEurope\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"northeurope\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"AzurePortal\",\r\n \"addressPrefixes\": [\r\n \"20.38.85.192/27\",\r\n + \ \"20.38.87.224/27\",\r\n \"20.50.65.72/30\",\r\n \"52.146.132.80/29\",\r\n + \ \"104.41.216.228/32\",\r\n \"137.116.247.179/32\",\r\n + \ \"2603:1020:5::100/121\",\r\n \"2603:1020:5:1::680/121\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzurePortal.SouthCentralUS\",\r\n + \ \"id\": \"AzurePortal.SouthCentralUS\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"southcentralus\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n + \ ],\r\n \"systemService\": \"AzurePortal\",\r\n \"addressPrefixes\": + [\r\n \"13.73.249.32/27\",\r\n \"13.73.249.160/28\",\r\n + \ \"13.73.255.248/29\",\r\n \"20.45.125.240/28\",\r\n \"40.84.132.239/32\",\r\n + \ \"40.84.228.255/32\",\r\n \"40.119.9.236/30\",\r\n \"104.214.117.155/32\",\r\n + \ \"104.215.120.160/32\",\r\n \"2603:1030:807::100/121\",\r\n + \ \"2603:1030:807:1::680/121\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzurePortal.SoutheastAsia\",\r\n \"id\": \"AzurePortal.SoutheastAsia\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"southeastasia\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n + \ ],\r\n \"systemService\": \"AzurePortal\",\r\n \"addressPrefixes\": + [\r\n \"13.67.35.35/32\",\r\n \"13.67.35.77/32\",\r\n \"20.43.132.32/27\",\r\n + \ \"23.98.104.80/28\",\r\n \"23.98.104.96/27\",\r\n \"23.98.104.128/30\",\r\n + \ \"23.98.108.44/31\",\r\n \"23.98.108.168/29\",\r\n \"40.78.239.48/28\",\r\n + \ \"52.163.207.80/32\",\r\n \"104.215.146.128/32\",\r\n \"2603:1040:5::200/121\",\r\n + \ \"2603:1040:5:1::680/121\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureResourceManager\",\r\n \"id\": \"AzureResourceManager\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"5\",\r\n \"region\": \"\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureResourceManager\",\r\n \"addressPrefixes\": + [\r\n \"13.66.141.176/28\",\r\n \"13.67.18.0/23\",\r\n \"13.69.67.32/28\",\r\n + \ \"13.69.114.0/23\",\r\n \"13.69.229.224/28\",\r\n \"13.69.234.0/23\",\r\n + \ \"13.70.74.64/28\",\r\n \"13.70.76.0/23\",\r\n \"13.71.173.192/28\",\r\n + \ \"13.71.196.80/28\",\r\n \"13.71.198.0/24\",\r\n \"13.73.240.224/28\",\r\n + \ \"13.73.246.0/23\",\r\n \"13.75.39.16/28\",\r\n \"13.77.53.32/28\",\r\n + \ \"13.77.55.0/25\",\r\n \"13.78.109.96/28\",\r\n \"13.86.219.80/28\",\r\n + \ \"13.86.222.0/24\",\r\n \"13.87.57.240/28\",\r\n \"13.87.60.0/23\",\r\n + \ \"13.87.123.240/28\",\r\n \"13.87.126.0/24\",\r\n \"13.89.180.0/23\",\r\n + \ \"20.36.108.48/28\",\r\n \"20.36.110.0/23\",\r\n \"20.36.115.144/28\",\r\n + \ \"20.36.118.0/23\",\r\n \"20.36.126.0/23\",\r\n \"20.37.76.48/28\",\r\n + \ \"20.37.78.0/23\",\r\n \"20.37.230.0/23\",\r\n \"20.38.128.32/28\",\r\n + \ \"20.38.130.0/23\",\r\n \"20.38.150.0/23\",\r\n \"20.40.206.240/28\",\r\n + \ \"20.40.226.0/23\",\r\n \"20.41.70.0/23\",\r\n \"20.43.120.224/28\",\r\n + \ \"20.43.124.0/23\",\r\n \"20.44.3.240/28\",\r\n \"20.44.6.0/23\",\r\n + \ \"20.44.8.16/28\",\r\n \"20.44.16.112/28\",\r\n \"20.44.20.0/23\",\r\n + \ \"20.44.30.0/24\",\r\n \"20.45.88.0/23\",\r\n \"20.45.118.0/23\",\r\n + \ \"20.46.8.0/23\",\r\n \"20.48.194.0/23\",\r\n \"20.49.116.0/23\",\r\n + \ \"20.50.68.96/28\",\r\n \"20.51.10.0/23\",\r\n \"20.51.18.0/23\",\r\n + \ \"20.53.42.0/23\",\r\n \"20.58.64.0/23\",\r\n \"20.61.100.0/23\",\r\n + \ \"20.62.56.0/23\",\r\n \"20.62.130.0/23\",\r\n \"20.65.128.0/23\",\r\n + \ \"20.66.0.0/23\",\r\n \"20.72.28.64/26\",\r\n \"20.88.64.64/26\",\r\n + \ \"20.150.225.128/26\",\r\n \"20.150.242.0/23\",\r\n \"20.187.198.0/23\",\r\n + \ \"20.189.168.0/24\",\r\n \"20.189.226.0/23\",\r\n \"20.191.162.0/23\",\r\n + \ \"20.192.32.128/26\",\r\n \"20.192.40.0/23\",\r\n \"20.192.52.0/23\",\r\n + \ \"20.193.196.0/23\",\r\n \"20.193.204.0/26\",\r\n \"20.195.144.0/23\",\r\n + \ \"23.98.110.0/23\",\r\n \"40.67.54.0/23\",\r\n \"40.67.59.208/28\",\r\n + \ \"40.67.62.0/23\",\r\n \"40.67.120.0/24\",\r\n \"40.69.108.32/28\",\r\n + \ \"40.69.112.0/22\",\r\n \"40.71.13.224/28\",\r\n \"40.74.102.0/28\",\r\n + \ \"40.75.35.32/28\",\r\n \"40.75.38.0/23\",\r\n \"40.78.196.32/28\",\r\n + \ \"40.78.198.0/23\",\r\n \"40.78.203.224/28\",\r\n \"40.78.206.0/23\",\r\n + \ \"40.78.234.176/28\",\r\n \"40.78.254.0/23\",\r\n \"40.79.131.240/28\",\r\n + \ \"40.79.134.0/23\",\r\n \"40.79.158.0/23\",\r\n \"40.79.180.0/28\",\r\n + \ \"40.79.182.0/23\",\r\n \"40.79.198.0/23\",\r\n \"40.80.174.0/23\",\r\n + \ \"40.80.178.0/23\",\r\n \"40.113.178.0/28\",\r\n \"40.120.80.0/23\",\r\n + \ \"51.11.64.0/24\",\r\n \"51.11.96.0/24\",\r\n \"51.12.44.0/23\",\r\n + \ \"51.12.101.64/26\",\r\n \"51.12.196.0/23\",\r\n \"51.12.205.0/26\",\r\n + \ \"51.104.8.224/28\",\r\n \"51.105.78.0/23\",\r\n \"51.105.94.0/23\",\r\n + \ \"51.107.54.0/23\",\r\n \"51.107.60.32/28\",\r\n \"51.107.62.0/23\",\r\n + \ \"51.107.150.0/23\",\r\n \"51.107.156.32/28\",\r\n \"51.107.158.0/23\",\r\n + \ \"51.116.52.0/23\",\r\n \"51.116.60.32/28\",\r\n \"51.116.62.0/23\",\r\n + \ \"51.116.150.0/23\",\r\n \"51.116.156.32/28\",\r\n \"51.116.159.0/24\",\r\n + \ \"51.120.46.0/23\",\r\n \"51.120.100.32/28\",\r\n \"51.120.102.0/23\",\r\n + \ \"51.120.220.32/28\",\r\n \"51.120.222.0/23\",\r\n \"51.120.230.0/23\",\r\n + \ \"51.138.208.0/23\",\r\n \"51.140.212.16/28\",\r\n \"51.140.214.0/24\",\r\n + \ \"51.143.210.0/23\",\r\n \"52.136.54.0/23\",\r\n \"52.138.94.0/23\",\r\n + \ \"52.139.104.0/23\",\r\n \"52.146.134.0/23\",\r\n \"52.147.96.0/24\",\r\n + \ \"52.150.158.0/23\",\r\n \"52.162.110.224/28\",\r\n \"52.172.114.0/23\",\r\n + \ \"52.231.19.208/28\",\r\n \"52.231.22.0/24\",\r\n \"52.231.148.64/28\",\r\n + \ \"52.231.150.0/24\",\r\n \"52.240.242.0/23\",\r\n \"65.52.252.48/28\",\r\n + \ \"65.52.254.0/23\",\r\n \"102.133.28.16/28\",\r\n \"102.133.30.0/23\",\r\n + \ \"102.133.62.0/23\",\r\n \"102.133.123.224/28\",\r\n \"102.133.158.0/23\",\r\n + \ \"102.133.222.0/23\",\r\n \"104.46.160.0/24\",\r\n \"104.46.161.0/25\",\r\n + \ \"104.46.180.0/23\",\r\n \"104.214.162.0/23\",\r\n \"168.61.138.0/23\",\r\n + \ \"168.61.143.192/26\",\r\n \"191.233.52.0/23\",\r\n \"191.233.205.16/28\",\r\n + \ \"191.234.140.0/23\",\r\n \"191.234.158.0/23\",\r\n \"2603:1000:4::6c0/122\",\r\n + \ \"2603:1000:4:402::280/122\",\r\n \"2603:1000:104::480/122\",\r\n + \ \"2603:1000:104:402::280/122\",\r\n \"2603:1010:6::180/122\",\r\n + \ \"2603:1010:6:402::280/122\",\r\n \"2603:1010:101::6c0/122\",\r\n + \ \"2603:1010:101:402::280/122\",\r\n \"2603:1010:304::6c0/122\",\r\n + \ \"2603:1010:304:402::280/122\",\r\n \"2603:1010:404::6c0/122\",\r\n + \ \"2603:1010:404:402::280/122\",\r\n \"2603:1020:5::180/122\",\r\n + \ \"2603:1020:5:402::280/122\",\r\n \"2603:1020:206::180/122\",\r\n + \ \"2603:1020:206:402::280/122\",\r\n \"2603:1020:305::6c0/122\",\r\n + \ \"2603:1020:305:402::280/122\",\r\n \"2603:1020:405::6c0/122\",\r\n + \ \"2603:1020:405:402::280/122\",\r\n \"2603:1020:605::6c0/122\",\r\n + \ \"2603:1020:605:402::280/122\",\r\n \"2603:1020:705::180/122\",\r\n + \ \"2603:1020:705:402::280/122\",\r\n \"2603:1020:805::180/122\",\r\n + \ \"2603:1020:805:402::280/122\",\r\n \"2603:1020:905::6c0/122\",\r\n + \ \"2603:1020:905:402::280/122\",\r\n \"2603:1020:a04::180/122\",\r\n + \ \"2603:1020:a04:402::280/122\",\r\n \"2603:1020:b04::6c0/122\",\r\n + \ \"2603:1020:b04:402::280/122\",\r\n \"2603:1020:c04::180/122\",\r\n + \ \"2603:1020:c04:402::280/122\",\r\n \"2603:1020:d04::6c0/122\",\r\n + \ \"2603:1020:d04:402::280/122\",\r\n \"2603:1020:e04::180/122\",\r\n + \ \"2603:1020:e04:3::300/120\",\r\n \"2603:1020:e04:402::280/122\",\r\n + \ \"2603:1020:f04::6c0/122\",\r\n \"2603:1020:f04:402::280/122\",\r\n + \ \"2603:1020:1004:1::400/120\",\r\n \"2603:1020:1004:400::180/122\",\r\n + \ \"2603:1020:1104:1::/120\",\r\n \"2603:1020:1104:400::280/122\",\r\n + \ \"2603:1030:f:1::6c0/122\",\r\n \"2603:1030:f:2::700/120\",\r\n + \ \"2603:1030:f:400::a80/122\",\r\n \"2603:1030:10::180/122\",\r\n + \ \"2603:1030:10:402::280/122\",\r\n \"2603:1030:104::180/122\",\r\n + \ \"2603:1030:104:402::280/122\",\r\n \"2603:1030:107:1::100/120\",\r\n + \ \"2603:1030:107:400::200/122\",\r\n \"2603:1030:210::180/122\",\r\n + \ \"2603:1030:210:402::280/122\",\r\n \"2603:1030:40b:2::40/122\",\r\n + \ \"2603:1030:40b:400::a80/122\",\r\n \"2603:1030:40c::180/122\",\r\n + \ \"2603:1030:40c:402::280/122\",\r\n \"2603:1030:504::400/120\",\r\n + \ \"2603:1030:504:402::180/122\",\r\n \"2603:1030:608::6c0/122\",\r\n + \ \"2603:1030:608:402::280/122\",\r\n \"2603:1030:807::180/122\",\r\n + \ \"2603:1030:807:402::280/122\",\r\n \"2603:1030:a07::6c0/122\",\r\n + \ \"2603:1030:a07:402::900/122\",\r\n \"2603:1030:b04::6c0/122\",\r\n + \ \"2603:1030:b04:402::280/122\",\r\n \"2603:1030:c06:2::40/122\",\r\n + \ \"2603:1030:c06:400::a80/122\",\r\n \"2603:1030:f05::180/122\",\r\n + \ \"2603:1030:f05:402::280/122\",\r\n \"2603:1030:1005::6c0/122\",\r\n + \ \"2603:1030:1005:402::280/122\",\r\n \"2603:1040:5::280/122\",\r\n + \ \"2603:1040:5:402::280/122\",\r\n \"2603:1040:207::6c0/122\",\r\n + \ \"2603:1040:207:402::280/122\",\r\n \"2603:1040:407::180/122\",\r\n + \ \"2603:1040:407:402::280/122\",\r\n \"2603:1040:606::6c0/122\",\r\n + \ \"2603:1040:606:402::280/122\",\r\n \"2603:1040:806::6c0/122\",\r\n + \ \"2603:1040:806:402::280/122\",\r\n \"2603:1040:904::180/122\",\r\n + \ \"2603:1040:904:402::280/122\",\r\n \"2603:1040:a06::280/122\",\r\n + \ \"2603:1040:a06:2::400/120\",\r\n \"2603:1040:a06:402::280/122\",\r\n + \ \"2603:1040:b04::6c0/122\",\r\n \"2603:1040:b04:402::280/122\",\r\n + \ \"2603:1040:c06::6c0/122\",\r\n \"2603:1040:c06:402::280/122\",\r\n + \ \"2603:1040:d04:1::400/120\",\r\n \"2603:1040:d04:400::180/122\",\r\n + \ \"2603:1040:f05::180/122\",\r\n \"2603:1040:f05:2::100/120\",\r\n + \ \"2603:1040:f05:402::280/122\",\r\n \"2603:1040:1104:1::/120\",\r\n + \ \"2603:1040:1104:400::280/122\",\r\n \"2603:1050:6::180/122\",\r\n + \ \"2603:1050:6:402::280/122\",\r\n \"2603:1050:403:1::40/122\",\r\n + \ \"2603:1050:403:400::440/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureResourceManager.AustraliaCentral2\",\r\n \"id\": + \"AzureResourceManager.AustraliaCentral2\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"australiacentral2\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\"\r\n ],\r\n \"systemService\": + \"AzureResourceManager\",\r\n \"addressPrefixes\": [\r\n \"20.36.115.144/28\",\r\n + \ \"20.36.118.0/23\",\r\n \"20.36.126.0/23\",\r\n \"2603:1010:404::6c0/122\",\r\n + \ \"2603:1010:404:402::280/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureResourceManager.AustraliaSoutheast\",\r\n + \ \"id\": \"AzureResourceManager.AustraliaSoutheast\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"australiasoutheast\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\"\r\n ],\r\n \"systemService\": + \"AzureResourceManager\",\r\n \"addressPrefixes\": [\r\n \"13.77.53.32/28\",\r\n + \ \"13.77.55.0/25\",\r\n \"104.46.160.0/24\",\r\n \"104.46.161.0/25\",\r\n + \ \"104.46.180.0/23\",\r\n \"2603:1010:101::6c0/122\",\r\n + \ \"2603:1010:101:402::280/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureResourceManager.CanadaCentral\",\r\n \"id\": + \"AzureResourceManager.CanadaCentral\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"canadacentral\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\"\r\n ],\r\n \"systemService\": \"AzureResourceManager\",\r\n + \ \"addressPrefixes\": [\r\n \"13.71.173.192/28\",\r\n \"20.38.150.0/23\",\r\n + \ \"20.48.194.0/23\",\r\n \"2603:1030:f05::180/122\",\r\n + \ \"2603:1030:f05:402::280/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureResourceManager.KoreaCentral\",\r\n \"id\": + \"AzureResourceManager.KoreaCentral\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"koreacentral\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\"\r\n ],\r\n \"systemService\": \"AzureResourceManager\",\r\n + \ \"addressPrefixes\": [\r\n \"20.41.70.0/23\",\r\n \"20.44.30.0/24\",\r\n + \ \"52.231.19.208/28\",\r\n \"52.231.22.0/24\",\r\n \"2603:1040:f05::180/122\",\r\n + \ \"2603:1040:f05:2::100/120\",\r\n \"2603:1040:f05:402::280/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureResourceManager.SouthAfricaNorth\",\r\n + \ \"id\": \"AzureResourceManager.SouthAfricaNorth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"southafricanorth\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\"\r\n ],\r\n \"systemService\": + \"AzureResourceManager\",\r\n \"addressPrefixes\": [\r\n \"102.133.123.224/28\",\r\n + \ \"102.133.158.0/23\",\r\n \"102.133.222.0/23\",\r\n \"2603:1000:104::480/122\",\r\n + \ \"2603:1000:104:402::280/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureResourceManager.SouthAfricaWest\",\r\n \"id\": + \"AzureResourceManager.SouthAfricaWest\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"southafricawest\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\"\r\n ],\r\n \"systemService\": + \"AzureResourceManager\",\r\n \"addressPrefixes\": [\r\n \"102.133.28.16/28\",\r\n + \ \"102.133.30.0/23\",\r\n \"102.133.62.0/23\",\r\n \"2603:1000:4::6c0/122\",\r\n + \ \"2603:1000:4:402::280/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureResourceManager.SouthCentralUS\",\r\n \"id\": + \"AzureResourceManager.SouthCentralUS\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"southcentralus\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\"\r\n ],\r\n \"systemService\": + \"AzureResourceManager\",\r\n \"addressPrefixes\": [\r\n \"13.73.240.224/28\",\r\n + \ \"13.73.246.0/23\",\r\n \"20.65.128.0/23\",\r\n \"2603:1030:807::180/122\",\r\n + \ \"2603:1030:807:402::280/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureResourceManager.SoutheastAsia\",\r\n \"id\": + \"AzureResourceManager.SoutheastAsia\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"southeastasia\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\"\r\n ],\r\n \"systemService\": \"AzureResourceManager\",\r\n + \ \"addressPrefixes\": [\r\n \"13.67.18.0/23\",\r\n \"23.98.110.0/23\",\r\n + \ \"40.78.234.176/28\",\r\n \"2603:1040:5::280/122\",\r\n + \ \"2603:1040:5:402::280/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureResourceManager.SwitzerlandNorth\",\r\n \"id\": + \"AzureResourceManager.SwitzerlandNorth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"switzerlandn\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\"\r\n ],\r\n \"systemService\": \"AzureResourceManager\",\r\n + \ \"addressPrefixes\": [\r\n \"51.107.54.0/23\",\r\n \"51.107.60.32/28\",\r\n + \ \"51.107.62.0/23\",\r\n \"2603:1020:a04::180/122\",\r\n + \ \"2603:1020:a04:402::280/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureResourceManager.SwitzerlandWest\",\r\n \"id\": + \"AzureResourceManager.SwitzerlandWest\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"switzerlandw\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\"\r\n ],\r\n \"systemService\": \"AzureResourceManager\",\r\n + \ \"addressPrefixes\": [\r\n \"51.107.150.0/23\",\r\n \"51.107.156.32/28\",\r\n + \ \"51.107.158.0/23\",\r\n \"2603:1020:b04::6c0/122\",\r\n + \ \"2603:1020:b04:402::280/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureResourceManager.WestEurope\",\r\n \"id\": + \"AzureResourceManager.WestEurope\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"westeurope\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\"\r\n ],\r\n \"systemService\": \"AzureResourceManager\",\r\n + \ \"addressPrefixes\": [\r\n \"13.69.67.32/28\",\r\n \"13.69.114.0/23\",\r\n + \ \"20.61.100.0/23\",\r\n \"40.113.178.0/28\",\r\n \"2603:1020:206::180/122\",\r\n + \ \"2603:1020:206:402::280/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"AzureSignalR\",\r\n \"id\": \"AzureSignalR\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"3\",\r\n \"region\": \"\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureSignalR\",\r\n \"addressPrefixes\": + [\r\n \"13.66.145.0/26\",\r\n \"13.67.15.64/27\",\r\n \"13.69.113.0/24\",\r\n + \ \"13.69.232.128/25\",\r\n \"13.70.74.224/27\",\r\n \"13.71.199.32/27\",\r\n + \ \"13.73.244.64/27\",\r\n \"13.74.111.0/25\",\r\n \"13.78.109.224/27\",\r\n + \ \"13.89.175.128/26\",\r\n \"20.38.132.96/27\",\r\n \"20.38.143.192/27\",\r\n + \ \"20.38.149.224/27\",\r\n \"20.40.229.0/27\",\r\n \"20.42.64.128/25\",\r\n + \ \"20.42.72.0/25\",\r\n \"20.44.10.128/26\",\r\n \"20.44.17.128/26\",\r\n + \ \"20.45.123.192/27\",\r\n \"20.46.11.96/27\",\r\n \"20.48.196.192/27\",\r\n + \ \"20.49.91.192/27\",\r\n \"20.49.119.96/27\",\r\n \"20.51.12.32/27\",\r\n + \ \"20.51.17.224/27\",\r\n \"20.53.47.32/27\",\r\n \"20.61.102.64/27\",\r\n + \ \"20.62.59.32/27\",\r\n \"20.62.133.64/27\",\r\n \"20.65.132.224/27\",\r\n + \ \"20.66.3.224/27\",\r\n \"20.69.0.192/27\",\r\n \"20.135.13.160/27\",\r\n + \ \"20.150.174.160/27\",\r\n \"20.150.244.160/27\",\r\n \"20.189.170.0/24\",\r\n + \ \"20.191.166.64/27\",\r\n \"20.192.44.64/27\",\r\n \"20.194.73.192/27\",\r\n + \ \"20.195.65.192/27\",\r\n \"20.195.72.192/27\",\r\n \"23.98.86.64/27\",\r\n + \ \"40.69.108.192/26\",\r\n \"40.69.110.128/27\",\r\n \"40.70.148.192/26\",\r\n + \ \"40.71.15.0/25\",\r\n \"40.78.204.96/27\",\r\n \"40.78.238.64/26\",\r\n + \ \"40.78.238.128/25\",\r\n \"40.78.245.64/26\",\r\n \"40.78.253.0/26\",\r\n + \ \"40.79.132.160/27\",\r\n \"40.79.139.96/27\",\r\n \"40.79.148.32/27\",\r\n + \ \"40.79.163.96/27\",\r\n \"40.79.171.192/27\",\r\n \"40.79.189.0/27\",\r\n + \ \"40.79.197.0/27\",\r\n \"40.80.53.32/27\",\r\n \"40.120.64.160/27\",\r\n + \ \"51.12.17.160/27\",\r\n \"51.12.46.192/27\",\r\n \"51.12.101.192/27\",\r\n + \ \"51.12.168.0/27\",\r\n \"51.104.9.64/27\",\r\n \"51.105.69.32/27\",\r\n + \ \"51.105.77.0/27\",\r\n \"51.107.128.128/27\",\r\n \"51.107.192.192/27\",\r\n + \ \"51.107.242.192/27\",\r\n \"51.107.250.192/27\",\r\n \"51.116.149.96/27\",\r\n + \ \"51.116.246.32/27\",\r\n \"51.120.213.96/27\",\r\n \"51.120.233.96/27\",\r\n + \ \"51.138.210.96/27\",\r\n \"51.143.212.128/27\",\r\n \"52.136.53.224/27\",\r\n + \ \"52.138.92.224/27\",\r\n \"52.138.229.128/25\",\r\n \"52.139.107.96/27\",\r\n + \ \"52.146.136.32/27\",\r\n \"52.167.109.0/26\",\r\n \"52.178.16.0/24\",\r\n + \ \"52.182.141.64/26\",\r\n \"52.231.20.96/27\",\r\n \"52.231.20.192/26\",\r\n + \ \"52.236.190.0/24\",\r\n \"102.37.160.32/27\",\r\n \"102.133.126.96/27\",\r\n + \ \"104.214.164.160/27\",\r\n \"191.233.207.128/27\",\r\n + \ \"191.238.72.96/27\"\r\n ]\r\n }\r\n },\r\n {\r\n + \ \"name\": \"AzureSignalR.AustraliaEast\",\r\n \"id\": \"AzureSignalR.AustraliaEast\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"australiaeast\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n + \ ],\r\n \"systemService\": \"AzureSignalR\",\r\n \"addressPrefixes\": + [\r\n \"13.70.74.224/27\",\r\n \"20.53.47.32/27\",\r\n \"40.79.163.96/27\",\r\n + \ \"40.79.171.192/27\"\r\n ]\r\n }\r\n },\r\n {\r\n + \ \"name\": \"AzureSignalR.CanadaEast\",\r\n \"id\": \"AzureSignalR.CanadaEast\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"canadaeast\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\"\r\n ],\r\n \"systemService\": + \"AzureSignalR\",\r\n \"addressPrefixes\": [\r\n \"40.69.108.192/26\",\r\n + \ \"40.69.110.128/27\",\r\n \"52.139.107.96/27\"\r\n ]\r\n + \ }\r\n },\r\n {\r\n \"name\": \"AzureSignalR.EastUS\",\r\n + \ \"id\": \"AzureSignalR.EastUS\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"eastus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\"\r\n ],\r\n \"systemService\": \"AzureSignalR\",\r\n + \ \"addressPrefixes\": [\r\n \"20.42.64.128/25\",\r\n \"20.42.72.0/25\",\r\n + \ \"20.62.133.64/27\",\r\n \"40.71.15.0/25\"\r\n ]\r\n + \ }\r\n },\r\n {\r\n \"name\": \"AzureSignalR.NorthEurope\",\r\n + \ \"id\": \"AzureSignalR.NorthEurope\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"northeurope\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\"\r\n ],\r\n \"systemService\": \"AzureSignalR\",\r\n + \ \"addressPrefixes\": [\r\n \"13.69.232.128/25\",\r\n \"13.74.111.0/25\",\r\n + \ \"52.138.229.128/25\",\r\n \"52.146.136.32/27\"\r\n ]\r\n + \ }\r\n },\r\n {\r\n \"name\": \"AzureSiteRecovery\",\r\n \"id\": + \"AzureSiteRecovery\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": + {\r\n \"changeNumber\": \"3\",\r\n \"region\": \"\",\r\n \"state\": + \"GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureSiteRecovery\",\r\n \"addressPrefixes\": [\r\n \"13.66.141.240/28\",\r\n + \ \"13.67.10.96/28\",\r\n \"13.69.67.80/28\",\r\n \"13.69.107.80/28\",\r\n + \ \"13.69.230.16/28\",\r\n \"13.70.74.96/28\",\r\n \"13.70.159.158/32\",\r\n + \ \"13.71.173.224/28\",\r\n \"13.71.196.144/28\",\r\n \"13.73.242.192/28\",\r\n + \ \"13.74.108.144/28\",\r\n \"13.75.39.80/28\",\r\n \"13.77.53.64/28\",\r\n + \ \"13.78.109.128/28\",\r\n \"13.82.88.226/32\",\r\n \"13.84.148.14/32\",\r\n + \ \"13.86.219.176/28\",\r\n \"13.87.37.4/32\",\r\n \"13.87.58.48/28\",\r\n + \ \"13.87.124.48/28\",\r\n \"13.89.174.144/28\",\r\n \"20.36.34.70/32\",\r\n + \ \"20.36.69.62/32\",\r\n \"20.36.108.96/28\",\r\n \"20.36.115.224/28\",\r\n + \ \"20.36.120.80/28\",\r\n \"20.37.64.80/28\",\r\n \"20.37.76.128/28\",\r\n + \ \"20.37.156.96/28\",\r\n \"20.37.192.112/28\",\r\n \"20.37.224.80/28\",\r\n + \ \"20.38.80.112/28\",\r\n \"20.38.128.80/28\",\r\n \"20.38.136.80/28\",\r\n + \ \"20.38.147.160/28\",\r\n \"20.39.8.80/28\",\r\n \"20.41.4.64/28\",\r\n + \ \"20.41.64.96/28\",\r\n \"20.41.192.80/28\",\r\n \"20.42.4.96/28\",\r\n + \ \"20.42.129.128/28\",\r\n \"20.42.224.80/28\",\r\n \"20.43.40.112/28\",\r\n + \ \"20.43.64.112/28\",\r\n \"20.43.121.16/28\",\r\n \"20.43.130.64/28\",\r\n + \ \"20.44.4.80/28\",\r\n \"20.44.8.176/28\",\r\n \"20.44.17.32/28\",\r\n + \ \"20.44.27.192/28\",\r\n \"20.45.75.232/32\",\r\n \"20.45.112.80/28\",\r\n + \ \"20.45.123.96/28\",\r\n \"20.45.192.80/28\",\r\n \"20.49.83.48/28\",\r\n + \ \"20.49.91.48/28\",\r\n \"20.72.16.0/28\",\r\n \"20.72.28.32/28\",\r\n + \ \"20.150.160.80/28\",\r\n \"20.150.172.48/28\",\r\n \"20.150.179.208/28\",\r\n + \ \"20.150.187.208/28\",\r\n \"20.189.106.96/28\",\r\n \"20.192.99.208/28\",\r\n + \ \"20.192.160.0/28\",\r\n \"20.192.225.0/28\",\r\n \"20.192.235.224/28\",\r\n + \ \"20.193.203.208/28\",\r\n \"20.194.67.48/28\",\r\n \"23.96.195.247/32\",\r\n + \ \"23.98.83.80/28\",\r\n \"40.67.48.80/28\",\r\n \"40.67.60.80/28\",\r\n + \ \"40.69.108.64/28\",\r\n \"40.69.144.231/32\",\r\n \"40.69.212.238/32\",\r\n + \ \"40.70.148.96/28\",\r\n \"40.71.14.0/28\",\r\n \"40.74.24.112/28\",\r\n + \ \"40.74.147.176/28\",\r\n \"40.75.35.80/28\",\r\n \"40.78.196.64/28\",\r\n + \ \"40.78.204.16/28\",\r\n \"40.78.229.48/28\",\r\n \"40.78.236.144/28\",\r\n + \ \"40.78.243.160/28\",\r\n \"40.78.251.96/28\",\r\n \"40.79.132.64/28\",\r\n + \ \"40.79.139.0/28\",\r\n \"40.79.146.192/28\",\r\n \"40.79.156.48/28\",\r\n + \ \"40.79.163.16/28\",\r\n \"40.79.171.96/28\",\r\n \"40.79.180.32/28\",\r\n + \ \"40.79.187.176/28\",\r\n \"40.79.195.160/28\",\r\n \"40.80.51.96/28\",\r\n + \ \"40.80.56.80/28\",\r\n \"40.80.168.80/28\",\r\n \"40.80.176.16/28\",\r\n + \ \"40.80.184.96/28\",\r\n \"40.82.248.96/28\",\r\n \"40.83.179.48/32\",\r\n + \ \"40.89.16.80/28\",\r\n \"40.119.9.192/28\",\r\n \"40.120.75.96/28\",\r\n + \ \"40.123.219.238/32\",\r\n \"51.12.47.0/28\",\r\n \"51.12.100.32/28\",\r\n + \ \"51.12.198.112/28\",\r\n \"51.12.204.32/28\",\r\n \"51.12.227.208/28\",\r\n + \ \"51.12.235.208/28\",\r\n \"51.104.9.0/28\",\r\n \"51.104.24.112/28\",\r\n + \ \"51.105.67.192/28\",\r\n \"51.105.75.160/28\",\r\n \"51.105.80.80/28\",\r\n + \ \"51.105.88.80/28\",\r\n \"51.107.48.80/28\",\r\n \"51.107.60.64/28\",\r\n + \ \"51.107.68.31/32\",\r\n \"51.107.144.80/28\",\r\n \"51.107.156.80/28\",\r\n + \ \"51.107.231.223/32\",\r\n \"51.116.48.80/28\",\r\n \"51.116.60.64/28\",\r\n + \ \"51.116.144.80/28\",\r\n \"51.116.156.176/28\",\r\n \"51.116.208.58/32\",\r\n + \ \"51.116.243.128/28\",\r\n \"51.116.251.48/28\",\r\n \"51.120.40.80/28\",\r\n + \ \"51.120.100.64/28\",\r\n \"51.120.107.208/28\",\r\n \"51.120.211.208/28\",\r\n + \ \"51.120.220.64/28\",\r\n \"51.120.224.80/28\",\r\n \"51.137.160.96/28\",\r\n + \ \"51.140.43.158/32\",\r\n \"51.140.212.80/28\",\r\n \"51.141.3.203/32\",\r\n + \ \"51.142.209.167/32\",\r\n \"51.143.192.80/28\",\r\n \"52.136.48.80/28\",\r\n + \ \"52.136.139.227/32\",\r\n \"52.138.92.64/28\",\r\n \"52.138.227.144/28\",\r\n + \ \"52.140.104.80/28\",\r\n \"52.143.138.106/32\",\r\n \"52.150.136.96/28\",\r\n + \ \"52.161.20.168/32\",\r\n \"52.162.111.0/28\",\r\n \"52.166.13.64/32\",\r\n + \ \"52.167.107.80/28\",\r\n \"52.172.46.220/32\",\r\n \"52.172.187.37/32\",\r\n + \ \"52.175.17.132/32\",\r\n \"52.175.146.69/32\",\r\n \"52.180.178.64/32\",\r\n + \ \"52.182.139.192/28\",\r\n \"52.183.45.166/32\",\r\n \"52.184.158.163/32\",\r\n + \ \"52.185.150.140/32\",\r\n \"52.187.58.193/32\",\r\n \"52.187.191.206/32\",\r\n + \ \"52.225.188.170/32\",\r\n \"52.228.36.192/32\",\r\n \"52.228.80.96/28\",\r\n + \ \"52.229.125.98/32\",\r\n \"52.231.20.16/28\",\r\n \"52.231.28.253/32\",\r\n + \ \"52.231.148.96/28\",\r\n \"52.231.198.185/32\",\r\n \"52.236.187.64/28\",\r\n + \ \"52.246.155.160/28\",\r\n \"65.52.252.192/28\",\r\n \"102.133.28.128/28\",\r\n + \ \"102.133.59.160/28\",\r\n \"102.133.72.51/32\",\r\n \"102.133.124.64/28\",\r\n + \ \"102.133.156.96/28\",\r\n \"102.133.160.44/32\",\r\n \"102.133.218.176/28\",\r\n + \ \"102.133.251.160/28\",\r\n \"104.210.113.114/32\",\r\n + \ \"104.211.177.6/32\",\r\n \"191.233.8.0/28\",\r\n \"191.233.51.192/28\",\r\n + \ \"191.233.205.80/28\",\r\n \"191.234.147.208/28\",\r\n + \ \"191.234.155.208/28\",\r\n \"191.234.185.172/32\",\r\n + \ \"191.235.224.112/28\",\r\n \"2603:1000:4::/123\",\r\n + \ \"2603:1000:4:402::2d0/125\",\r\n \"2603:1000:104:1::/123\",\r\n + \ \"2603:1000:104:402::2d0/125\",\r\n \"2603:1000:104:802::158/125\",\r\n + \ \"2603:1000:104:c02::158/125\",\r\n \"2603:1010:6:1::/123\",\r\n + \ \"2603:1010:6:402::2d0/125\",\r\n \"2603:1010:6:802::158/125\",\r\n + \ \"2603:1010:6:c02::158/125\",\r\n \"2603:1010:101::/123\",\r\n + \ \"2603:1010:101:402::2d0/125\",\r\n \"2603:1010:304::/123\",\r\n + \ \"2603:1010:304:402::2d0/125\",\r\n \"2603:1010:404::/123\",\r\n + \ \"2603:1010:404:402::2d0/125\",\r\n \"2603:1020:5:1::/123\",\r\n + \ \"2603:1020:5:402::2d0/125\",\r\n \"2603:1020:5:802::158/125\",\r\n + \ \"2603:1020:5:c02::158/125\",\r\n \"2603:1020:206:1::/123\",\r\n + \ \"2603:1020:206:402::2d0/125\",\r\n \"2603:1020:206:802::158/125\",\r\n + \ \"2603:1020:206:c02::158/125\",\r\n \"2603:1020:305::/123\",\r\n + \ \"2603:1020:305:402::2d0/125\",\r\n \"2603:1020:405::/123\",\r\n + \ \"2603:1020:405:402::2d0/125\",\r\n \"2603:1020:605::/123\",\r\n + \ \"2603:1020:605:402::2d0/125\",\r\n \"2603:1020:705:1::/123\",\r\n + \ \"2603:1020:705:402::2d0/125\",\r\n \"2603:1020:705:802::158/125\",\r\n + \ \"2603:1020:705:c02::158/125\",\r\n \"2603:1020:805:1::/123\",\r\n + \ \"2603:1020:805:402::2d0/125\",\r\n \"2603:1020:805:802::158/125\",\r\n + \ \"2603:1020:805:c02::158/125\",\r\n \"2603:1020:905::/123\",\r\n + \ \"2603:1020:905:402::2d0/125\",\r\n \"2603:1020:a04:1::/123\",\r\n + \ \"2603:1020:a04:402::2d0/125\",\r\n \"2603:1020:a04:802::158/125\",\r\n + \ \"2603:1020:a04:c02::158/125\",\r\n \"2603:1020:b04::/123\",\r\n + \ \"2603:1020:b04:402::2d0/125\",\r\n \"2603:1020:c04:1::/123\",\r\n + \ \"2603:1020:c04:402::2d0/125\",\r\n \"2603:1020:c04:802::158/125\",\r\n + \ \"2603:1020:c04:c02::158/125\",\r\n \"2603:1020:d04::/123\",\r\n + \ \"2603:1020:d04:402::2d0/125\",\r\n \"2603:1020:e04:1::/123\",\r\n + \ \"2603:1020:e04:402::2d0/125\",\r\n \"2603:1020:e04:802::158/125\",\r\n + \ \"2603:1020:e04:c02::158/125\",\r\n \"2603:1020:f04::/123\",\r\n + \ \"2603:1020:f04:402::2d0/125\",\r\n \"2603:1020:1004::/123\",\r\n + \ \"2603:1020:1004:400::1d0/125\",\r\n \"2603:1020:1004:400::2f0/125\",\r\n + \ \"2603:1020:1004:800::3e0/125\",\r\n \"2603:1020:1104::/123\",\r\n + \ \"2603:1020:1104:400::2d0/125\",\r\n \"2603:1030:f:1::/123\",\r\n + \ \"2603:1030:f:400::ad0/125\",\r\n \"2603:1030:10:1::/123\",\r\n + \ \"2603:1030:10:402::2d0/125\",\r\n \"2603:1030:10:802::158/125\",\r\n + \ \"2603:1030:10:c02::158/125\",\r\n \"2603:1030:104:1::/123\",\r\n + \ \"2603:1030:104:402::2d0/125\",\r\n \"2603:1030:107::/123\",\r\n + \ \"2603:1030:107:400::f8/125\",\r\n \"2603:1030:210:1::/123\",\r\n + \ \"2603:1030:210:402::2d0/125\",\r\n \"2603:1030:210:802::158/125\",\r\n + \ \"2603:1030:210:c02::158/125\",\r\n \"2603:1030:40b:1::/123\",\r\n + \ \"2603:1030:40b:400::ad0/125\",\r\n \"2603:1030:40b:800::158/125\",\r\n + \ \"2603:1030:40b:c00::158/125\",\r\n \"2603:1030:40c:1::/123\",\r\n + \ \"2603:1030:40c:402::2d0/125\",\r\n \"2603:1030:40c:802::158/125\",\r\n + \ \"2603:1030:40c:c02::158/125\",\r\n \"2603:1030:504:1::/123\",\r\n + \ \"2603:1030:504:402::1d0/125\",\r\n \"2603:1030:504:402::2f0/125\",\r\n + \ \"2603:1030:504:802::3e0/125\",\r\n \"2603:1030:504:c02::390/125\",\r\n + \ \"2603:1030:608::/123\",\r\n \"2603:1030:608:402::2d0/125\",\r\n + \ \"2603:1030:807:1::/123\",\r\n \"2603:1030:807:402::2d0/125\",\r\n + \ \"2603:1030:807:802::158/125\",\r\n \"2603:1030:807:c02::158/125\",\r\n + \ \"2603:1030:a07::/123\",\r\n \"2603:1030:a07:402::950/125\",\r\n + \ \"2603:1030:b04::/123\",\r\n \"2603:1030:b04:402::2d0/125\",\r\n + \ \"2603:1030:c06:1::/123\",\r\n \"2603:1030:c06:400::ad0/125\",\r\n + \ \"2603:1030:c06:802::158/125\",\r\n \"2603:1030:c06:c02::158/125\",\r\n + \ \"2603:1030:f05:1::/123\",\r\n \"2603:1030:f05:402::2d0/125\",\r\n + \ \"2603:1030:f05:802::158/125\",\r\n \"2603:1030:f05:c02::158/125\",\r\n + \ \"2603:1030:1005::/123\",\r\n \"2603:1030:1005:402::2d0/125\",\r\n + \ \"2603:1040:5:1::/123\",\r\n \"2603:1040:5:402::2d0/125\",\r\n + \ \"2603:1040:5:802::158/125\",\r\n \"2603:1040:5:c02::158/125\",\r\n + \ \"2603:1040:207::/123\",\r\n \"2603:1040:207:402::2d0/125\",\r\n + \ \"2603:1040:407:1::/123\",\r\n \"2603:1040:407:402::2d0/125\",\r\n + \ \"2603:1040:407:802::158/125\",\r\n \"2603:1040:407:c02::158/125\",\r\n + \ \"2603:1040:606::/123\",\r\n \"2603:1040:606:402::2d0/125\",\r\n + \ \"2603:1040:806::/123\",\r\n \"2603:1040:806:402::2d0/125\",\r\n + \ \"2603:1040:904:1::/123\",\r\n \"2603:1040:904:402::2d0/125\",\r\n + \ \"2603:1040:904:802::158/125\",\r\n \"2603:1040:904:c02::158/125\",\r\n + \ \"2603:1040:a06:1::/123\",\r\n \"2603:1040:a06:402::2d0/125\",\r\n + \ \"2603:1040:a06:802::158/125\",\r\n \"2603:1040:a06:c02::158/125\",\r\n + \ \"2603:1040:b04::/123\",\r\n \"2603:1040:b04:402::2d0/125\",\r\n + \ \"2603:1040:c06::/123\",\r\n \"2603:1040:c06:402::2d0/125\",\r\n + \ \"2603:1040:d04::/123\",\r\n \"2603:1040:d04:400::1d0/125\",\r\n + \ \"2603:1040:d04:400::2f0/125\",\r\n \"2603:1040:d04:800::3e0/125\",\r\n + \ \"2603:1040:f05:1::/123\",\r\n \"2603:1040:f05:402::2d0/125\",\r\n + \ \"2603:1040:f05:802::158/125\",\r\n \"2603:1040:f05:c02::158/125\",\r\n + \ \"2603:1040:1104::/123\",\r\n \"2603:1040:1104:400::2d0/125\",\r\n + \ \"2603:1050:6:1::/123\",\r\n \"2603:1050:6:402::2d0/125\",\r\n + \ \"2603:1050:6:802::158/125\",\r\n \"2603:1050:6:c02::158/125\",\r\n + \ \"2603:1050:403::/123\",\r\n \"2603:1050:403:400::1f0/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"AzureTrafficManager\",\r\n + \ \"id\": \"AzureTrafficManager\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureTrafficManager\",\r\n \"addressPrefixes\": + [\r\n \"13.65.92.252/32\",\r\n \"13.65.95.152/32\",\r\n + \ \"13.75.124.254/32\",\r\n \"13.75.127.63/32\",\r\n \"13.75.152.253/32\",\r\n + \ \"13.75.153.124/32\",\r\n \"13.84.222.37/32\",\r\n \"23.96.236.252/32\",\r\n + \ \"23.101.191.199/32\",\r\n \"40.68.30.66/32\",\r\n \"40.68.31.178/32\",\r\n + \ \"40.78.67.110/32\",\r\n \"40.87.147.10/32\",\r\n \"40.87.151.34/32\",\r\n + \ \"40.114.5.197/32\",\r\n \"52.172.155.168/32\",\r\n \"52.172.158.37/32\",\r\n + \ \"52.173.90.107/32\",\r\n \"52.173.250.232/32\",\r\n \"52.240.144.45/32\",\r\n + \ \"52.240.151.125/32\",\r\n \"65.52.217.19/32\",\r\n \"104.41.187.209/32\",\r\n + \ \"104.41.190.203/32\",\r\n \"104.42.192.195/32\",\r\n \"104.45.149.110/32\",\r\n + \ \"104.215.91.84/32\",\r\n \"137.135.46.163/32\",\r\n \"137.135.47.215/32\",\r\n + \ \"137.135.80.149/32\",\r\n \"137.135.82.249/32\",\r\n \"191.232.208.52/32\",\r\n + \ \"191.232.214.62/32\"\r\n ]\r\n }\r\n },\r\n {\r\n + \ \"name\": \"BatchNodeManagement\",\r\n \"id\": \"BatchNodeManagement\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"BatchNodeManagement\",\r\n \"addressPrefixes\": + [\r\n \"13.65.192.161/32\",\r\n \"13.65.208.36/32\",\r\n + \ \"13.66.141.32/27\",\r\n \"13.66.225.240/32\",\r\n \"13.66.227.117/32\",\r\n + \ \"13.66.227.193/32\",\r\n \"13.67.9.160/27\",\r\n \"13.67.58.116/32\",\r\n + \ \"13.67.190.3/32\",\r\n \"13.67.237.249/32\",\r\n \"13.69.65.64/26\",\r\n + \ \"13.69.106.128/26\",\r\n \"13.69.125.173/32\",\r\n \"13.69.229.32/27\",\r\n + \ \"13.70.73.0/27\",\r\n \"13.71.144.135/32\",\r\n \"13.71.172.96/27\",\r\n + \ \"13.71.195.160/27\",\r\n \"13.73.117.100/32\",\r\n \"13.73.153.226/32\",\r\n + \ \"13.73.157.134/32\",\r\n \"13.73.249.64/27\",\r\n \"13.74.107.128/27\",\r\n + \ \"13.75.36.96/27\",\r\n \"13.77.52.128/27\",\r\n \"13.77.80.138/32\",\r\n + \ \"13.78.108.128/27\",\r\n \"13.78.145.2/32\",\r\n \"13.78.145.73/32\",\r\n + \ \"13.78.150.134/32\",\r\n \"13.78.187.18/32\",\r\n \"13.79.172.125/32\",\r\n + \ \"13.80.117.88/32\",\r\n \"13.81.1.133/32\",\r\n \"13.81.59.254/32\",\r\n + \ \"13.81.63.6/32\",\r\n \"13.81.104.137/32\",\r\n \"13.86.218.192/27\",\r\n + \ \"13.87.32.176/32\",\r\n \"13.87.32.218/32\",\r\n \"13.87.33.133/32\",\r\n + \ \"13.87.57.96/27\",\r\n \"13.87.97.57/32\",\r\n \"13.87.97.82/32\",\r\n + \ \"13.87.100.219/32\",\r\n \"13.87.123.96/27\",\r\n \"13.89.55.147/32\",\r\n + \ \"13.89.171.224/27\",\r\n \"13.91.55.167/32\",\r\n \"13.91.88.93/32\",\r\n + \ \"13.91.107.154/32\",\r\n \"13.92.114.103/32\",\r\n \"13.93.206.144/32\",\r\n + \ \"13.94.214.82/32\",\r\n \"13.95.9.27/32\",\r\n \"20.36.40.22/32\",\r\n + \ \"20.36.47.197/32\",\r\n \"20.36.107.128/27\",\r\n \"20.36.121.160/27\",\r\n + \ \"20.37.65.160/27\",\r\n \"20.37.75.224/27\",\r\n \"20.37.196.128/27\",\r\n + \ \"20.37.225.160/27\",\r\n \"20.38.85.224/27\",\r\n \"20.38.137.192/27\",\r\n + \ \"20.38.146.224/27\",\r\n \"20.39.1.125/32\",\r\n \"20.39.1.239/32\",\r\n + \ \"20.39.2.44/32\",\r\n \"20.39.2.122/32\",\r\n \"20.39.3.157/32\",\r\n + \ \"20.39.3.186/32\",\r\n \"20.39.12.64/27\",\r\n \"20.40.137.186/32\",\r\n + \ \"20.40.149.165/32\",\r\n \"20.40.200.32/27\",\r\n \"20.41.5.224/27\",\r\n + \ \"20.41.66.128/27\",\r\n \"20.41.195.128/27\",\r\n \"20.42.6.224/27\",\r\n + \ \"20.42.227.224/27\",\r\n \"20.43.42.96/27\",\r\n \"20.43.66.96/27\",\r\n + \ \"20.43.132.64/27\",\r\n \"20.44.4.112/29\",\r\n \"20.44.27.64/27\",\r\n + \ \"20.45.113.160/27\",\r\n \"20.45.122.224/27\",\r\n \"20.45.195.192/27\",\r\n + \ \"20.49.83.64/27\",\r\n \"20.49.91.64/27\",\r\n \"20.50.1.64/26\",\r\n + \ \"20.72.17.64/27\",\r\n \"20.150.161.224/27\",\r\n \"20.150.172.0/27\",\r\n + \ \"20.150.179.96/27\",\r\n \"20.150.187.96/27\",\r\n \"20.189.109.0/27\",\r\n + \ \"20.192.99.96/27\",\r\n \"20.192.161.224/27\",\r\n \"20.192.228.160/27\",\r\n + \ \"20.192.235.192/27\",\r\n \"20.193.203.128/27\",\r\n \"23.96.12.112/32\",\r\n + \ \"23.96.101.73/32\",\r\n \"23.96.109.140/32\",\r\n \"23.96.232.67/32\",\r\n + \ \"23.97.48.186/32\",\r\n \"23.97.51.12/32\",\r\n \"23.97.97.29/32\",\r\n + \ \"23.97.180.74/32\",\r\n \"23.98.82.160/27\",\r\n \"23.99.98.61/32\",\r\n + \ \"23.99.107.229/32\",\r\n \"23.99.195.236/32\",\r\n \"23.100.100.145/32\",\r\n + \ \"23.100.103.112/32\",\r\n \"23.101.176.33/32\",\r\n \"23.102.178.148/32\",\r\n + \ \"23.102.185.64/32\",\r\n \"40.64.128.160/27\",\r\n \"40.67.49.160/27\",\r\n + \ \"40.67.60.0/27\",\r\n \"40.68.100.153/32\",\r\n \"40.68.191.54/32\",\r\n + \ \"40.68.218.90/32\",\r\n \"40.69.107.128/27\",\r\n \"40.70.147.224/27\",\r\n + \ \"40.71.12.192/27\",\r\n \"40.74.101.0/27\",\r\n \"40.74.140.140/32\",\r\n + \ \"40.74.149.48/29\",\r\n \"40.74.177.177/32\",\r\n \"40.75.35.136/29\",\r\n + \ \"40.77.18.99/32\",\r\n \"40.78.195.128/27\",\r\n \"40.78.203.0/27\",\r\n + \ \"40.78.227.0/27\",\r\n \"40.78.234.96/27\",\r\n \"40.78.242.224/27\",\r\n + \ \"40.78.250.160/27\",\r\n \"40.79.131.96/27\",\r\n \"40.79.138.96/27\",\r\n + \ \"40.79.146.96/27\",\r\n \"40.79.154.32/27\",\r\n \"40.79.162.96/27\",\r\n + \ \"40.79.170.192/27\",\r\n \"40.79.186.128/27\",\r\n \"40.79.194.32/27\",\r\n + \ \"40.80.50.224/27\",\r\n \"40.80.58.160/27\",\r\n \"40.80.170.128/27\",\r\n + \ \"40.80.190.192/27\",\r\n \"40.82.255.64/27\",\r\n \"40.84.49.170/32\",\r\n + \ \"40.84.62.82/32\",\r\n \"40.85.226.213/32\",\r\n \"40.85.227.37/32\",\r\n + \ \"40.86.224.98/32\",\r\n \"40.86.224.104/32\",\r\n \"40.88.48.36/32\",\r\n + \ \"40.89.18.192/27\",\r\n \"40.89.65.161/32\",\r\n \"40.89.66.236/32\",\r\n + \ \"40.89.67.77/32\",\r\n \"40.89.70.17/32\",\r\n \"40.112.254.235/32\",\r\n + \ \"40.115.50.9/32\",\r\n \"40.118.208.127/32\",\r\n \"40.122.166.234/32\",\r\n + \ \"51.12.41.192/27\",\r\n \"51.12.100.0/27\",\r\n \"51.12.193.192/27\",\r\n + \ \"51.12.204.0/27\",\r\n \"51.12.227.96/27\",\r\n \"51.12.235.96/27\",\r\n + \ \"51.104.28.0/27\",\r\n \"51.105.66.224/27\",\r\n \"51.105.74.224/27\",\r\n + \ \"51.105.81.160/27\",\r\n \"51.105.89.192/27\",\r\n \"51.107.49.192/27\",\r\n + \ \"51.107.59.224/27\",\r\n \"51.107.145.160/27\",\r\n \"51.107.155.224/27\",\r\n + \ \"51.116.48.224/27\",\r\n \"51.116.59.224/27\",\r\n \"51.116.144.224/27\",\r\n + \ \"51.116.154.32/27\",\r\n \"51.116.243.0/27\",\r\n \"51.116.251.0/27\",\r\n + \ \"51.120.41.192/27\",\r\n \"51.120.99.224/27\",\r\n \"51.120.107.96/27\",\r\n + \ \"51.120.211.96/27\",\r\n \"51.120.220.0/27\",\r\n \"51.120.225.160/27\",\r\n + \ \"51.137.162.192/27\",\r\n \"51.140.148.160/27\",\r\n \"51.140.184.59/32\",\r\n + \ \"51.140.184.61/32\",\r\n \"51.140.184.63/32\",\r\n \"51.140.211.128/27\",\r\n + \ \"51.141.8.61/32\",\r\n \"51.141.8.62/32\",\r\n \"51.141.8.64/32\",\r\n + \ \"51.143.193.160/27\",\r\n \"52.136.49.192/27\",\r\n \"52.136.143.192/31\",\r\n + \ \"52.137.105.46/32\",\r\n \"52.138.90.64/27\",\r\n \"52.138.226.128/27\",\r\n + \ \"52.140.106.128/27\",\r\n \"52.143.139.121/32\",\r\n \"52.143.140.12/32\",\r\n + \ \"52.148.148.46/32\",\r\n \"52.150.140.128/27\",\r\n \"52.161.95.12/32\",\r\n + \ \"52.161.107.48/32\",\r\n \"52.162.110.32/27\",\r\n \"52.164.244.189/32\",\r\n + \ \"52.164.245.81/32\",\r\n \"52.165.44.224/32\",\r\n \"52.166.19.45/32\",\r\n + \ \"52.167.106.128/27\",\r\n \"52.169.27.79/32\",\r\n \"52.169.30.175/32\",\r\n + \ \"52.169.235.90/32\",\r\n \"52.174.33.113/32\",\r\n \"52.174.34.69/32\",\r\n + \ \"52.174.35.218/32\",\r\n \"52.174.38.99/32\",\r\n \"52.174.176.203/32\",\r\n + \ \"52.174.179.66/32\",\r\n \"52.174.180.164/32\",\r\n \"52.175.218.150/32\",\r\n + \ \"52.178.149.188/32\",\r\n \"52.180.176.58/32\",\r\n \"52.180.177.108/32\",\r\n + \ \"52.180.177.206/32\",\r\n \"52.180.179.94/32\",\r\n \"52.180.181.0/32\",\r\n + \ \"52.180.181.239/32\",\r\n \"52.182.139.0/27\",\r\n \"52.188.222.115/32\",\r\n + \ \"52.189.217.254/32\",\r\n \"52.191.129.21/32\",\r\n \"52.191.166.57/32\",\r\n + \ \"52.225.185.38/32\",\r\n \"52.225.191.67/32\",\r\n \"52.228.44.187/32\",\r\n + \ \"52.228.83.192/27\",\r\n \"52.231.19.96/27\",\r\n \"52.231.32.70/31\",\r\n + \ \"52.231.32.82/32\",\r\n \"52.231.147.128/27\",\r\n \"52.231.200.112/31\",\r\n + \ \"52.231.200.126/32\",\r\n \"52.233.40.34/32\",\r\n \"52.233.157.9/32\",\r\n + \ \"52.233.157.78/32\",\r\n \"52.233.161.238/32\",\r\n \"52.233.172.80/32\",\r\n + \ \"52.235.41.66/32\",\r\n \"52.236.186.128/26\",\r\n \"52.237.30.175/32\",\r\n + \ \"52.242.22.129/32\",\r\n \"52.242.33.105/32\",\r\n \"52.246.154.224/27\",\r\n + \ \"52.249.60.22/32\",\r\n \"52.253.227.240/32\",\r\n \"65.52.199.156/32\",\r\n + \ \"65.52.199.188/32\",\r\n \"65.52.251.224/27\",\r\n \"70.37.49.163/32\",\r\n + \ \"102.133.27.192/27\",\r\n \"102.133.56.192/27\",\r\n \"102.133.123.64/27\",\r\n + \ \"102.133.155.192/27\",\r\n \"102.133.217.224/27\",\r\n + \ \"102.133.250.224/27\",\r\n \"104.40.69.159/32\",\r\n \"104.40.183.25/32\",\r\n + \ \"104.41.2.182/32\",\r\n \"104.41.129.99/32\",\r\n \"104.43.128.78/32\",\r\n + \ \"104.43.131.156/32\",\r\n \"104.43.132.75/32\",\r\n \"104.45.13.8/32\",\r\n + \ \"104.45.82.201/32\",\r\n \"104.45.88.181/32\",\r\n \"104.46.232.208/32\",\r\n + \ \"104.46.236.29/32\",\r\n \"104.47.149.96/32\",\r\n \"104.208.16.128/27\",\r\n + \ \"104.208.144.128/27\",\r\n \"104.208.156.99/32\",\r\n + \ \"104.208.157.18/32\",\r\n \"104.210.3.254/32\",\r\n \"104.210.115.52/32\",\r\n + \ \"104.211.82.96/27\",\r\n \"104.211.96.142/32\",\r\n \"104.211.96.144/31\",\r\n + \ \"104.211.147.96/27\",\r\n \"104.211.160.72/32\",\r\n \"104.211.160.74/31\",\r\n + \ \"104.211.224.117/32\",\r\n \"104.211.224.119/32\",\r\n + \ \"104.211.224.121/32\",\r\n \"104.214.19.192/27\",\r\n + \ \"104.214.65.153/32\",\r\n \"111.221.104.48/32\",\r\n \"137.116.33.5/32\",\r\n + \ \"137.116.33.29/32\",\r\n \"137.116.33.71/32\",\r\n \"137.116.37.146/32\",\r\n + \ \"137.116.46.180/32\",\r\n \"137.116.193.225/32\",\r\n + \ \"137.117.45.176/32\",\r\n \"137.117.109.143/32\",\r\n + \ \"138.91.1.114/32\",\r\n \"138.91.17.36/32\",\r\n \"157.55.167.71/32\",\r\n + \ \"157.55.210.88/32\",\r\n \"168.61.161.154/32\",\r\n \"168.61.209.228/32\",\r\n + \ \"168.62.4.114/32\",\r\n \"168.62.36.128/32\",\r\n \"168.62.168.27/32\",\r\n + \ \"168.63.5.53/32\",\r\n \"168.63.36.126/32\",\r\n \"168.63.133.23/32\",\r\n + \ \"168.63.208.148/32\",\r\n \"191.232.37.60/32\",\r\n \"191.233.10.0/27\",\r\n + \ \"191.233.76.85/32\",\r\n \"191.233.204.96/27\",\r\n \"191.234.147.96/27\",\r\n + \ \"191.234.155.96/27\",\r\n \"191.235.227.192/27\",\r\n + \ \"191.236.37.239/32\",\r\n \"191.236.38.142/32\",\r\n \"191.236.161.35/32\",\r\n + \ \"191.236.163.245/32\",\r\n \"191.236.164.44/32\",\r\n + \ \"191.239.18.3/32\",\r\n \"191.239.21.73/32\",\r\n \"191.239.40.217/32\",\r\n + \ \"191.239.64.139/32\",\r\n \"191.239.64.152/32\",\r\n \"191.239.160.161/32\",\r\n + \ \"191.239.160.185/32\",\r\n \"207.46.149.75/32\",\r\n \"207.46.225.72/32\",\r\n + \ \"2603:1000:4::400/122\",\r\n \"2603:1000:104:1::340/122\",\r\n + \ \"2603:1010:6:1::340/122\",\r\n \"2603:1010:101::400/122\",\r\n + \ \"2603:1010:304::400/122\",\r\n \"2603:1010:404::400/122\",\r\n + \ \"2603:1020:5:1::340/122\",\r\n \"2603:1020:206:1::340/122\",\r\n + \ \"2603:1020:305::400/122\",\r\n \"2603:1020:405::400/122\",\r\n + \ \"2603:1020:605::400/122\",\r\n \"2603:1020:705:1::340/122\",\r\n + \ \"2603:1020:805:1::340/122\",\r\n \"2603:1020:905::400/122\",\r\n + \ \"2603:1020:a04:1::340/122\",\r\n \"2603:1020:b04::400/122\",\r\n + \ \"2603:1020:c04:1::340/122\",\r\n \"2603:1020:d04::400/122\",\r\n + \ \"2603:1020:e04:1::340/122\",\r\n \"2603:1020:f04::400/122\",\r\n + \ \"2603:1020:1004::340/122\",\r\n \"2603:1020:1104::300/122\",\r\n + \ \"2603:1030:f:1::400/122\",\r\n \"2603:1030:10:1::340/122\",\r\n + \ \"2603:1030:104:1::340/122\",\r\n \"2603:1030:107::300/122\",\r\n + \ \"2603:1030:210:1::340/122\",\r\n \"2603:1030:40b:1::340/122\",\r\n + \ \"2603:1030:40c:1::340/122\",\r\n \"2603:1030:504:1::340/122\",\r\n + \ \"2603:1030:608::400/122\",\r\n \"2603:1030:807:1::340/122\",\r\n + \ \"2603:1030:a07::400/122\",\r\n \"2603:1030:b04::400/122\",\r\n + \ \"2603:1030:c06:1::340/122\",\r\n \"2603:1030:f05:1::340/122\",\r\n + \ \"2603:1030:1005::400/122\",\r\n \"2603:1040:5:1::340/122\",\r\n + \ \"2603:1040:207::400/122\",\r\n \"2603:1040:407:1::340/122\",\r\n + \ \"2603:1040:606::400/122\",\r\n \"2603:1040:806::400/122\",\r\n + \ \"2603:1040:904:1::340/122\",\r\n \"2603:1040:a06:1::340/122\",\r\n + \ \"2603:1040:b04::400/122\",\r\n \"2603:1040:c06::400/122\",\r\n + \ \"2603:1040:d04::340/122\",\r\n \"2603:1040:f05:1::340/122\",\r\n + \ \"2603:1040:1104::300/122\",\r\n \"2603:1050:6:1::340/122\",\r\n + \ \"2603:1050:403::340/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"BatchNodeManagement.AustraliaCentral\",\r\n \"id\": + \"BatchNodeManagement.AustraliaCentral\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"australiacentral\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"BatchNodeManagement\",\r\n \"addressPrefixes\": [\r\n \"20.36.40.22/32\",\r\n + \ \"20.36.47.197/32\",\r\n \"20.36.107.128/27\",\r\n \"20.37.225.160/27\",\r\n + \ \"2603:1010:304::400/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"BatchNodeManagement.AustraliaEast\",\r\n \"id\": + \"BatchNodeManagement.AustraliaEast\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"australiaeast\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"BatchNodeManagement\",\r\n \"addressPrefixes\": + [\r\n \"13.70.73.0/27\",\r\n \"20.37.196.128/27\",\r\n \"40.79.162.96/27\",\r\n + \ \"40.79.170.192/27\",\r\n \"104.210.115.52/32\",\r\n \"191.239.64.139/32\",\r\n + \ \"191.239.64.152/32\",\r\n \"2603:1010:6:1::340/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"BatchNodeManagement.AustraliaSoutheast\",\r\n + \ \"id\": \"BatchNodeManagement.AustraliaSoutheast\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"australiasoutheast\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"BatchNodeManagement\",\r\n \"addressPrefixes\": [\r\n \"13.73.117.100/32\",\r\n + \ \"13.77.52.128/27\",\r\n \"20.42.227.224/27\",\r\n \"52.189.217.254/32\",\r\n + \ \"191.239.160.161/32\",\r\n \"191.239.160.185/32\",\r\n + \ \"2603:1010:101::400/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"BatchNodeManagement.BrazilSouth\",\r\n \"id\": + \"BatchNodeManagement.BrazilSouth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"brazilsouth\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"BatchNodeManagement\",\r\n \"addressPrefixes\": + [\r\n \"23.97.97.29/32\",\r\n \"104.41.2.182/32\",\r\n \"191.232.37.60/32\",\r\n + \ \"191.233.204.96/27\",\r\n \"191.234.147.96/27\",\r\n \"191.234.155.96/27\",\r\n + \ \"191.235.227.192/27\",\r\n \"2603:1050:6:1::340/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"BatchNodeManagement.CanadaCentral\",\r\n + \ \"id\": \"BatchNodeManagement.CanadaCentral\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"canadacentral\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"BatchNodeManagement\",\r\n \"addressPrefixes\": + [\r\n \"13.71.172.96/27\",\r\n \"20.38.146.224/27\",\r\n + \ \"40.85.226.213/32\",\r\n \"40.85.227.37/32\",\r\n \"52.228.44.187/32\",\r\n + \ \"52.228.83.192/27\",\r\n \"52.233.40.34/32\",\r\n \"52.237.30.175/32\",\r\n + \ \"52.246.154.224/27\",\r\n \"2603:1030:f05:1::340/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"BatchNodeManagement.CanadaEast\",\r\n + \ \"id\": \"BatchNodeManagement.CanadaEast\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"canadaeast\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"BatchNodeManagement\",\r\n \"addressPrefixes\": + [\r\n \"40.69.107.128/27\",\r\n \"40.86.224.98/32\",\r\n + \ \"40.86.224.104/32\",\r\n \"40.89.18.192/27\",\r\n \"52.235.41.66/32\",\r\n + \ \"52.242.22.129/32\",\r\n \"52.242.33.105/32\",\r\n \"2603:1030:1005::400/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"BatchNodeManagement.CentralIndia\",\r\n + \ \"id\": \"BatchNodeManagement.CentralIndia\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"centralindia\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"BatchNodeManagement\",\r\n \"addressPrefixes\": + [\r\n \"20.192.99.96/27\",\r\n \"40.80.50.224/27\",\r\n + \ \"52.140.106.128/27\",\r\n \"104.211.82.96/27\",\r\n \"104.211.96.142/32\",\r\n + \ \"104.211.96.144/31\",\r\n \"2603:1040:a06:1::340/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"BatchNodeManagement.CentralUS\",\r\n + \ \"id\": \"BatchNodeManagement.CentralUS\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"centralus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"BatchNodeManagement\",\r\n \"addressPrefixes\": + [\r\n \"13.67.190.3/32\",\r\n \"13.67.237.249/32\",\r\n + \ \"13.89.55.147/32\",\r\n \"13.89.171.224/27\",\r\n \"20.40.200.32/27\",\r\n + \ \"23.99.195.236/32\",\r\n \"40.77.18.99/32\",\r\n \"40.122.166.234/32\",\r\n + \ \"52.165.44.224/32\",\r\n \"52.182.139.0/27\",\r\n \"104.43.128.78/32\",\r\n + \ \"104.43.131.156/32\",\r\n \"104.43.132.75/32\",\r\n \"104.208.16.128/27\",\r\n + \ \"168.61.161.154/32\",\r\n \"168.61.209.228/32\",\r\n \"2603:1030:10:1::340/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"BatchNodeManagement.CentralUSEUAP\",\r\n + \ \"id\": \"BatchNodeManagement.CentralUSEUAP\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"centraluseuap\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"BatchNodeManagement\",\r\n \"addressPrefixes\": + [\r\n \"20.45.195.192/27\",\r\n \"40.78.203.0/27\",\r\n + \ \"52.180.176.58/32\",\r\n \"52.180.177.108/32\",\r\n \"52.180.177.206/32\",\r\n + \ \"52.180.179.94/32\",\r\n \"52.180.181.0/32\",\r\n \"52.180.181.239/32\",\r\n + \ \"2603:1030:f:1::400/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"BatchNodeManagement.EastAsia\",\r\n \"id\": + \"BatchNodeManagement.EastAsia\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\": + \"eastasia\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"BatchNodeManagement\",\r\n \"addressPrefixes\": + [\r\n \"13.75.36.96/27\",\r\n \"20.189.109.0/27\",\r\n \"23.99.98.61/32\",\r\n + \ \"23.99.107.229/32\",\r\n \"168.63.133.23/32\",\r\n \"168.63.208.148/32\",\r\n + \ \"207.46.149.75/32\",\r\n \"2603:1040:207::400/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"BatchNodeManagement.EastUS\",\r\n + \ \"id\": \"BatchNodeManagement.EastUS\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"eastus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"BatchNodeManagement\",\r\n \"addressPrefixes\": + [\r\n \"13.92.114.103/32\",\r\n \"20.42.6.224/27\",\r\n + \ \"23.96.12.112/32\",\r\n \"23.96.101.73/32\",\r\n \"23.96.109.140/32\",\r\n + \ \"40.71.12.192/27\",\r\n \"40.78.227.0/27\",\r\n \"40.79.154.32/27\",\r\n + \ \"40.88.48.36/32\",\r\n \"52.188.222.115/32\",\r\n \"104.41.129.99/32\",\r\n + \ \"137.117.45.176/32\",\r\n \"137.117.109.143/32\",\r\n + \ \"168.62.36.128/32\",\r\n \"168.62.168.27/32\",\r\n \"191.236.37.239/32\",\r\n + \ \"191.236.38.142/32\",\r\n \"2603:1030:210:1::340/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"BatchNodeManagement.EastUS2\",\r\n + \ \"id\": \"BatchNodeManagement.EastUS2\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"eastus2\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"BatchNodeManagement\",\r\n \"addressPrefixes\": + [\r\n \"13.77.80.138/32\",\r\n \"20.41.5.224/27\",\r\n \"40.70.147.224/27\",\r\n + \ \"40.84.49.170/32\",\r\n \"40.84.62.82/32\",\r\n \"52.167.106.128/27\",\r\n + \ \"104.208.144.128/27\",\r\n \"104.208.156.99/32\",\r\n + \ \"104.208.157.18/32\",\r\n \"104.210.3.254/32\",\r\n \"137.116.33.5/32\",\r\n + \ \"137.116.33.29/32\",\r\n \"137.116.33.71/32\",\r\n \"137.116.37.146/32\",\r\n + \ \"137.116.46.180/32\",\r\n \"2603:1030:40c:1::340/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"BatchNodeManagement.EastUS2EUAP\",\r\n + \ \"id\": \"BatchNodeManagement.EastUS2EUAP\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"eastus2euap\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"BatchNodeManagement\",\r\n \"addressPrefixes\": + [\r\n \"20.39.1.125/32\",\r\n \"20.39.1.239/32\",\r\n \"20.39.2.44/32\",\r\n + \ \"20.39.2.122/32\",\r\n \"20.39.3.157/32\",\r\n \"20.39.3.186/32\",\r\n + \ \"20.39.12.64/27\",\r\n \"40.74.149.48/29\",\r\n \"40.75.35.136/29\",\r\n + \ \"40.89.65.161/32\",\r\n \"40.89.66.236/32\",\r\n \"40.89.67.77/32\",\r\n + \ \"40.89.70.17/32\",\r\n \"52.138.90.64/27\",\r\n \"52.225.185.38/32\",\r\n + \ \"52.225.191.67/32\",\r\n \"52.253.227.240/32\",\r\n \"2603:1030:40b:1::340/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"BatchNodeManagement.FranceCentral\",\r\n + \ \"id\": \"BatchNodeManagement.FranceCentral\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"centralfrance\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"BatchNodeManagement\",\r\n \"addressPrefixes\": + [\r\n \"20.40.137.186/32\",\r\n \"20.40.149.165/32\",\r\n + \ \"20.43.42.96/27\",\r\n \"40.79.131.96/27\",\r\n \"40.79.138.96/27\",\r\n + \ \"40.79.146.96/27\",\r\n \"52.143.139.121/32\",\r\n \"52.143.140.12/32\",\r\n + \ \"2603:1020:805:1::340/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"BatchNodeManagement.FranceSouth\",\r\n \"id\": + \"BatchNodeManagement.FranceSouth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"southfrance\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"BatchNodeManagement\",\r\n \"addressPrefixes\": + [\r\n \"51.105.89.192/27\",\r\n \"52.136.143.192/31\",\r\n + \ \"2603:1020:905::400/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"BatchNodeManagement.GermanyNorth\",\r\n \"id\": + \"BatchNodeManagement.GermanyNorth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"germanyn\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"BatchNodeManagement\",\r\n \"addressPrefixes\": + [\r\n \"51.116.48.224/27\",\r\n \"51.116.59.224/27\",\r\n + \ \"2603:1020:d04::400/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"BatchNodeManagement.GermanyWestCentral\",\r\n \"id\": + \"BatchNodeManagement.GermanyWestCentral\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"germanywc\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"BatchNodeManagement\",\r\n \"addressPrefixes\": + [\r\n \"51.116.144.224/27\",\r\n \"51.116.154.32/27\",\r\n + \ \"51.116.243.0/27\",\r\n \"51.116.251.0/27\",\r\n \"2603:1020:c04:1::340/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"BatchNodeManagement.JapanEast\",\r\n + \ \"id\": \"BatchNodeManagement.JapanEast\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"japaneast\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"BatchNodeManagement\",\r\n \"addressPrefixes\": [\r\n \"13.71.144.135/32\",\r\n + \ \"13.78.108.128/27\",\r\n \"20.43.66.96/27\",\r\n \"23.100.100.145/32\",\r\n + \ \"23.100.103.112/32\",\r\n \"40.79.186.128/27\",\r\n \"40.79.194.32/27\",\r\n + \ \"138.91.1.114/32\",\r\n \"2603:1040:407:1::340/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"BatchNodeManagement.JapanWest\",\r\n + \ \"id\": \"BatchNodeManagement.JapanWest\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"japanwest\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"BatchNodeManagement\",\r\n \"addressPrefixes\": + [\r\n \"40.74.101.0/27\",\r\n \"40.74.140.140/32\",\r\n + \ \"40.80.58.160/27\",\r\n \"104.46.232.208/32\",\r\n \"104.46.236.29/32\",\r\n + \ \"138.91.17.36/32\",\r\n \"2603:1040:606::400/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"BatchNodeManagement.KoreaCentral\",\r\n + \ \"id\": \"BatchNodeManagement.KoreaCentral\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"koreacentral\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"BatchNodeManagement\",\r\n \"addressPrefixes\": + [\r\n \"20.41.66.128/27\",\r\n \"20.44.27.64/27\",\r\n \"52.231.19.96/27\",\r\n + \ \"52.231.32.70/31\",\r\n \"52.231.32.82/32\",\r\n \"2603:1040:f05:1::340/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"BatchNodeManagement.KoreaSouth\",\r\n + \ \"id\": \"BatchNodeManagement.KoreaSouth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"koreasouth\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"BatchNodeManagement\",\r\n \"addressPrefixes\": + [\r\n \"40.80.170.128/27\",\r\n \"52.231.147.128/27\",\r\n + \ \"52.231.200.112/31\",\r\n \"52.231.200.126/32\"\r\n ]\r\n + \ }\r\n },\r\n {\r\n \"name\": \"BatchNodeManagement.NorthCentralUS\",\r\n + \ \"id\": \"BatchNodeManagement.NorthCentralUS\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"northcentralus\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"BatchNodeManagement\",\r\n \"addressPrefixes\": [\r\n \"23.96.232.67/32\",\r\n + \ \"40.80.190.192/27\",\r\n \"52.162.110.32/27\",\r\n \"65.52.199.156/32\",\r\n + \ \"65.52.199.188/32\",\r\n \"157.55.167.71/32\",\r\n \"157.55.210.88/32\",\r\n + \ \"191.236.161.35/32\",\r\n \"191.236.163.245/32\",\r\n + \ \"191.236.164.44/32\",\r\n \"2603:1030:608::400/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"BatchNodeManagement.NorthEurope\",\r\n + \ \"id\": \"BatchNodeManagement.NorthEurope\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"northeurope\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"BatchNodeManagement\",\r\n \"addressPrefixes\": + [\r\n \"13.69.229.32/27\",\r\n \"13.74.107.128/27\",\r\n + \ \"13.79.172.125/32\",\r\n \"20.38.85.224/27\",\r\n \"52.138.226.128/27\",\r\n + \ \"52.164.244.189/32\",\r\n \"52.164.245.81/32\",\r\n \"52.169.27.79/32\",\r\n + \ \"52.169.30.175/32\",\r\n \"52.169.235.90/32\",\r\n \"52.178.149.188/32\",\r\n + \ \"104.45.82.201/32\",\r\n \"104.45.88.181/32\",\r\n \"168.63.36.126/32\",\r\n + \ \"2603:1020:5:1::340/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"BatchNodeManagement.NorwayEast\",\r\n \"id\": + \"BatchNodeManagement.NorwayEast\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"1\",\r\n \"region\": + \"norwaye\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"BatchNodeManagement\",\r\n \"addressPrefixes\": + [\r\n \"51.120.41.192/27\",\r\n \"51.120.99.224/27\",\r\n + \ \"51.120.107.96/27\",\r\n \"51.120.211.96/27\",\r\n \"2603:1020:e04:1::340/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"BatchNodeManagement.NorwayWest\",\r\n + \ \"id\": \"BatchNodeManagement.NorwayWest\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"norwayw\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"BatchNodeManagement\",\r\n \"addressPrefixes\": + [\r\n \"51.120.220.0/27\",\r\n \"51.120.225.160/27\",\r\n + \ \"2603:1020:f04::400/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"BatchNodeManagement.SouthAfricaNorth\",\r\n \"id\": + \"BatchNodeManagement.SouthAfricaNorth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"southafricanorth\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"BatchNodeManagement\",\r\n \"addressPrefixes\": [\r\n \"102.133.123.64/27\",\r\n + \ \"102.133.155.192/27\",\r\n \"102.133.217.224/27\",\r\n + \ \"102.133.250.224/27\",\r\n \"2603:1000:104:1::340/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"BatchNodeManagement.SouthAfricaWest\",\r\n + \ \"id\": \"BatchNodeManagement.SouthAfricaWest\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"southafricawest\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"BatchNodeManagement\",\r\n \"addressPrefixes\": [\r\n \"102.133.27.192/27\",\r\n + \ \"102.133.56.192/27\",\r\n \"2603:1000:4::400/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"BatchNodeManagement.SouthCentralUS\",\r\n + \ \"id\": \"BatchNodeManagement.SouthCentralUS\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"southcentralus\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"BatchNodeManagement\",\r\n \"addressPrefixes\": [\r\n \"13.65.192.161/32\",\r\n + \ \"13.65.208.36/32\",\r\n \"13.73.249.64/27\",\r\n \"20.45.122.224/27\",\r\n + \ \"20.49.91.64/27\",\r\n \"23.101.176.33/32\",\r\n \"23.102.178.148/32\",\r\n + \ \"23.102.185.64/32\",\r\n \"40.74.177.177/32\",\r\n \"52.249.60.22/32\",\r\n + \ \"70.37.49.163/32\",\r\n \"104.214.19.192/27\",\r\n \"104.214.65.153/32\",\r\n + \ \"2603:1030:807:1::340/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"BatchNodeManagement.SoutheastAsia\",\r\n \"id\": + \"BatchNodeManagement.SoutheastAsia\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"southeastasia\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"BatchNodeManagement\",\r\n \"addressPrefixes\": + [\r\n \"13.67.9.160/27\",\r\n \"13.67.58.116/32\",\r\n \"20.43.132.64/27\",\r\n + \ \"23.97.48.186/32\",\r\n \"23.97.51.12/32\",\r\n \"23.98.82.160/27\",\r\n + \ \"40.78.234.96/27\",\r\n \"111.221.104.48/32\",\r\n \"207.46.225.72/32\",\r\n + \ \"2603:1040:5:1::340/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"BatchNodeManagement.SouthIndia\",\r\n \"id\": + \"BatchNodeManagement.SouthIndia\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\": + \"southindia\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"BatchNodeManagement\",\r\n \"addressPrefixes\": + [\r\n \"20.41.195.128/27\",\r\n \"40.78.195.128/27\",\r\n + \ \"104.211.224.117/32\",\r\n \"104.211.224.119/32\",\r\n + \ \"104.211.224.121/32\",\r\n \"2603:1040:c06::400/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"BatchNodeManagement.SwitzerlandNorth\",\r\n + \ \"id\": \"BatchNodeManagement.SwitzerlandNorth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"switzerlandn\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"BatchNodeManagement\",\r\n \"addressPrefixes\": + [\r\n \"51.107.49.192/27\",\r\n \"51.107.59.224/27\",\r\n + \ \"2603:1020:a04:1::340/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"BatchNodeManagement.SwitzerlandWest\",\r\n \"id\": + \"BatchNodeManagement.SwitzerlandWest\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"switzerlandw\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"BatchNodeManagement\",\r\n \"addressPrefixes\": + [\r\n \"51.107.145.160/27\",\r\n \"51.107.155.224/27\",\r\n + \ \"2603:1020:b04::400/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"BatchNodeManagement.UAECentral\",\r\n \"id\": + \"BatchNodeManagement.UAECentral\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\": + \"uaecentral\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"BatchNodeManagement\",\r\n \"addressPrefixes\": + [\r\n \"20.37.65.160/27\",\r\n \"20.37.75.224/27\",\r\n + \ \"2603:1040:b04::400/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"BatchNodeManagement.UAENorth\",\r\n \"id\": + \"BatchNodeManagement.UAENorth\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"1\",\r\n \"region\": + \"uaenorth\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"BatchNodeManagement\",\r\n \"addressPrefixes\": + [\r\n \"20.38.137.192/27\",\r\n \"65.52.251.224/27\",\r\n + \ \"2603:1040:904:1::340/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"BatchNodeManagement.UKSouth\",\r\n \"id\": + \"BatchNodeManagement.UKSouth\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"1\",\r\n \"region\": + \"uksouth\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"BatchNodeManagement\",\r\n \"addressPrefixes\": + [\r\n \"51.104.28.0/27\",\r\n \"51.105.66.224/27\",\r\n + \ \"51.105.74.224/27\",\r\n \"51.140.148.160/27\",\r\n \"51.140.184.59/32\",\r\n + \ \"51.140.184.61/32\",\r\n \"51.140.184.63/32\",\r\n \"2603:1020:705:1::340/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"BatchNodeManagement.UKSouth2\",\r\n + \ \"id\": \"BatchNodeManagement.UKSouth2\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"uksouth2\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\"\r\n ],\r\n \"systemService\": \"BatchNodeManagement\",\r\n + \ \"addressPrefixes\": [\r\n \"13.87.32.176/32\",\r\n \"13.87.32.218/32\",\r\n + \ \"13.87.33.133/32\",\r\n \"13.87.57.96/27\",\r\n \"51.143.193.160/27\",\r\n + \ \"2603:1020:405::400/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"BatchNodeManagement.UKWest\",\r\n \"id\": + \"BatchNodeManagement.UKWest\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\": + \"ukwest\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"BatchNodeManagement\",\r\n \"addressPrefixes\": + [\r\n \"51.137.162.192/27\",\r\n \"51.140.211.128/27\",\r\n + \ \"51.141.8.61/32\",\r\n \"51.141.8.62/32\",\r\n \"51.141.8.64/32\",\r\n + \ \"2603:1020:605::400/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"BatchNodeManagement.WestCentralUS\",\r\n \"id\": + \"BatchNodeManagement.WestCentralUS\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"westcentralus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"BatchNodeManagement\",\r\n \"addressPrefixes\": + [\r\n \"13.71.195.160/27\",\r\n \"13.78.145.2/32\",\r\n + \ \"13.78.145.73/32\",\r\n \"13.78.150.134/32\",\r\n \"13.78.187.18/32\",\r\n + \ \"52.150.140.128/27\",\r\n \"52.161.95.12/32\",\r\n \"52.161.107.48/32\",\r\n + \ \"2603:1030:b04::400/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"BatchNodeManagement.WestEurope\",\r\n \"id\": + \"BatchNodeManagement.WestEurope\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"1\",\r\n \"region\": + \"westeurope\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"BatchNodeManagement\",\r\n \"addressPrefixes\": + [\r\n \"13.69.65.64/26\",\r\n \"13.69.106.128/26\",\r\n + \ \"13.69.125.173/32\",\r\n \"13.73.153.226/32\",\r\n \"13.73.157.134/32\",\r\n + \ \"13.80.117.88/32\",\r\n \"13.81.1.133/32\",\r\n \"13.81.59.254/32\",\r\n + \ \"13.81.63.6/32\",\r\n \"13.81.104.137/32\",\r\n \"13.94.214.82/32\",\r\n + \ \"13.95.9.27/32\",\r\n \"20.50.1.64/26\",\r\n \"23.97.180.74/32\",\r\n + \ \"40.68.100.153/32\",\r\n \"40.68.191.54/32\",\r\n \"40.68.218.90/32\",\r\n + \ \"40.115.50.9/32\",\r\n \"52.166.19.45/32\",\r\n \"52.174.33.113/32\",\r\n + \ \"52.174.34.69/32\",\r\n \"52.174.35.218/32\",\r\n \"52.174.38.99/32\",\r\n + \ \"52.174.176.203/32\",\r\n \"52.174.179.66/32\",\r\n \"52.174.180.164/32\",\r\n + \ \"52.233.157.9/32\",\r\n \"52.233.157.78/32\",\r\n \"52.233.161.238/32\",\r\n + \ \"52.233.172.80/32\",\r\n \"52.236.186.128/26\",\r\n \"104.40.183.25/32\",\r\n + \ \"104.45.13.8/32\",\r\n \"104.47.149.96/32\",\r\n \"137.116.193.225/32\",\r\n + \ \"168.63.5.53/32\",\r\n \"191.233.76.85/32\",\r\n \"2603:1020:206:1::340/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"BatchNodeManagement.WestIndia\",\r\n + \ \"id\": \"BatchNodeManagement.WestIndia\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"westindia\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"BatchNodeManagement\",\r\n \"addressPrefixes\": + [\r\n \"52.136.49.192/27\",\r\n \"104.211.147.96/27\",\r\n + \ \"104.211.160.72/32\",\r\n \"104.211.160.74/31\",\r\n \"2603:1040:806::400/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"BatchNodeManagement.WestUS\",\r\n + \ \"id\": \"BatchNodeManagement.WestUS\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"westus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"BatchNodeManagement\",\r\n \"addressPrefixes\": + [\r\n \"13.86.218.192/27\",\r\n \"13.91.55.167/32\",\r\n + \ \"13.91.88.93/32\",\r\n \"13.91.107.154/32\",\r\n \"13.93.206.144/32\",\r\n + \ \"40.82.255.64/27\",\r\n \"40.112.254.235/32\",\r\n \"40.118.208.127/32\",\r\n + \ \"104.40.69.159/32\",\r\n \"168.62.4.114/32\",\r\n \"191.239.18.3/32\",\r\n + \ \"191.239.21.73/32\",\r\n \"191.239.40.217/32\",\r\n \"2603:1030:a07::400/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"BatchNodeManagement.WestUS2\",\r\n + \ \"id\": \"BatchNodeManagement.WestUS2\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"westus2\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"BatchNodeManagement\",\r\n \"addressPrefixes\": + [\r\n \"13.66.141.32/27\",\r\n \"13.66.225.240/32\",\r\n + \ \"13.66.227.117/32\",\r\n \"13.66.227.193/32\",\r\n \"40.64.128.160/27\",\r\n + \ \"40.78.242.224/27\",\r\n \"40.78.250.160/27\",\r\n \"52.137.105.46/32\",\r\n + \ \"52.148.148.46/32\",\r\n \"52.175.218.150/32\",\r\n \"52.191.129.21/32\",\r\n + \ \"52.191.166.57/32\",\r\n \"2603:1030:c06:1::340/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"CognitiveServicesManagement\",\r\n + \ \"id\": \"CognitiveServicesManagement\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"6\",\r\n + \ \"region\": \"\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"FW\"\r\n ],\r\n + \ \"systemService\": \"CognitiveServicesManagement\",\r\n \"addressPrefixes\": + [\r\n \"13.64.73.207/32\",\r\n \"13.65.241.39/32\",\r\n + \ \"13.66.56.76/32\",\r\n \"13.66.141.232/29\",\r\n \"13.66.142.0/26\",\r\n + \ \"13.67.10.80/29\",\r\n \"13.67.10.128/26\",\r\n \"13.68.82.4/32\",\r\n + \ \"13.68.211.223/32\",\r\n \"13.69.67.64/28\",\r\n \"13.69.67.128/26\",\r\n + \ \"13.69.230.0/29\",\r\n \"13.69.230.32/29\",\r\n \"13.70.74.88/29\",\r\n + \ \"13.70.74.120/29\",\r\n \"13.70.127.50/32\",\r\n \"13.70.149.125/32\",\r\n + \ \"13.71.173.216/29\",\r\n \"13.71.173.248/29\",\r\n \"13.71.196.136/29\",\r\n + \ \"13.71.196.168/29\",\r\n \"13.73.242.48/29\",\r\n \"13.73.242.128/26\",\r\n + \ \"13.73.249.0/27\",\r\n \"13.73.249.96/27\",\r\n \"13.73.249.128/28\",\r\n + \ \"13.73.253.122/31\",\r\n \"13.73.254.200/29\",\r\n \"13.73.254.208/29\",\r\n + \ \"13.73.254.216/30\",\r\n \"13.73.255.32/27\",\r\n \"13.74.139.192/32\",\r\n + \ \"13.75.39.64/29\",\r\n \"13.75.39.96/29\",\r\n \"13.75.92.220/32\",\r\n + \ \"13.75.137.81/32\",\r\n \"13.75.163.9/32\",\r\n \"13.75.168.111/32\",\r\n + \ \"13.77.55.152/29\",\r\n \"13.77.170.155/32\",\r\n \"13.78.17.188/32\",\r\n + \ \"13.78.70.7/32\",\r\n \"13.78.185.44/32\",\r\n \"13.78.187.168/32\",\r\n + \ \"13.83.68.180/32\",\r\n \"13.84.42.205/32\",\r\n \"13.86.178.10/32\",\r\n + \ \"13.86.184.142/32\",\r\n \"13.86.219.128/27\",\r\n \"13.86.219.160/29\",\r\n + \ \"13.87.216.38/32\",\r\n \"13.88.14.63/32\",\r\n \"13.88.26.200/32\",\r\n + \ \"13.91.58.176/32\",\r\n \"13.91.138.229/32\",\r\n \"13.92.179.108/32\",\r\n + \ \"13.93.122.1/32\",\r\n \"13.94.26.39/32\",\r\n \"20.36.120.224/27\",\r\n + \ \"20.36.121.192/27\",\r\n \"20.36.121.224/28\",\r\n \"20.36.125.128/26\",\r\n + \ \"20.37.64.224/27\",\r\n \"20.37.65.192/27\",\r\n \"20.37.65.224/28\",\r\n + \ \"20.37.68.36/30\",\r\n \"20.37.70.128/26\",\r\n \"20.37.70.224/27\",\r\n + \ \"20.37.71.208/28\",\r\n \"20.37.76.200/30\",\r\n \"20.37.156.204/30\",\r\n + \ \"20.37.157.96/27\",\r\n \"20.37.195.112/28\",\r\n \"20.37.195.192/27\",\r\n + \ \"20.37.196.160/27\",\r\n \"20.37.224.224/27\",\r\n \"20.37.225.192/27\",\r\n + \ \"20.37.225.224/28\",\r\n \"20.37.229.192/26\",\r\n \"20.38.84.108/30\",\r\n + \ \"20.38.85.160/27\",\r\n \"20.38.87.128/27\",\r\n \"20.38.87.160/28\",\r\n + \ \"20.38.136.240/28\",\r\n \"20.38.137.128/27\",\r\n \"20.38.137.224/27\",\r\n + \ \"20.38.141.12/30\",\r\n \"20.38.142.128/26\",\r\n \"20.38.142.224/27\",\r\n + \ \"20.38.143.240/28\",\r\n \"20.39.11.112/28\",\r\n \"20.39.12.0/27\",\r\n + \ \"20.39.12.96/27\",\r\n \"20.39.15.56/31\",\r\n \"20.39.15.60/30\",\r\n + \ \"20.40.125.208/32\",\r\n \"20.40.164.245/32\",\r\n \"20.40.170.73/32\",\r\n + \ \"20.40.187.210/32\",\r\n \"20.40.188.109/32\",\r\n \"20.40.190.135/32\",\r\n + \ \"20.40.190.225/32\",\r\n \"20.40.200.64/27\",\r\n \"20.40.200.96/28\",\r\n + \ \"20.40.207.152/29\",\r\n \"20.40.224.32/28\",\r\n \"20.40.224.48/30\",\r\n + \ \"20.40.224.56/29\",\r\n \"20.40.225.64/26\",\r\n \"20.40.225.192/26\",\r\n + \ \"20.40.229.64/28\",\r\n \"20.41.5.160/27\",\r\n \"20.41.65.192/27\",\r\n + \ \"20.41.66.160/27\",\r\n \"20.41.66.192/28\",\r\n \"20.41.69.40/29\",\r\n + \ \"20.41.69.56/30\",\r\n \"20.41.193.176/28\",\r\n \"20.41.193.192/27\",\r\n + \ \"20.41.195.160/27\",\r\n \"20.41.208.0/30\",\r\n \"20.42.4.204/30\",\r\n + \ \"20.42.6.144/28\",\r\n \"20.42.6.160/27\",\r\n \"20.42.7.128/27\",\r\n + \ \"20.42.131.240/28\",\r\n \"20.42.227.144/28\",\r\n \"20.42.227.160/27\",\r\n + \ \"20.42.228.128/27\",\r\n \"20.43.42.16/28\",\r\n \"20.43.42.32/27\",\r\n + \ \"20.43.43.0/27\",\r\n \"20.43.45.232/29\",\r\n \"20.43.45.244/30\",\r\n + \ \"20.43.47.0/26\",\r\n \"20.43.47.128/27\",\r\n \"20.43.66.16/28\",\r\n + \ \"20.43.66.32/27\",\r\n \"20.43.67.0/27\",\r\n \"20.43.88.240/32\",\r\n + \ \"20.43.121.0/29\",\r\n \"20.43.121.32/29\",\r\n \"20.43.131.48/28\",\r\n + \ \"20.43.132.0/27\",\r\n \"20.43.132.96/27\",\r\n \"20.44.8.160/29\",\r\n + \ \"20.44.8.192/29\",\r\n \"20.44.17.16/29\",\r\n \"20.44.17.48/29\",\r\n + \ \"20.44.27.120/29\",\r\n \"20.44.27.216/29\",\r\n \"20.45.67.213/32\",\r\n + \ \"20.45.112.224/27\",\r\n \"20.45.113.192/27\",\r\n \"20.45.113.224/28\",\r\n + \ \"20.45.116.128/26\",\r\n \"20.45.116.240/28\",\r\n \"20.45.192.126/31\",\r\n + \ \"20.45.195.128/27\",\r\n \"20.45.195.224/27\",\r\n \"20.45.196.0/28\",\r\n + \ \"20.45.198.88/29\",\r\n \"20.45.199.36/30\",\r\n \"20.46.10.128/26\",\r\n + \ \"20.46.10.192/27\",\r\n \"20.46.11.224/28\",\r\n \"20.48.192.64/29\",\r\n + \ \"20.48.192.80/30\",\r\n \"20.48.193.64/26\",\r\n \"20.48.193.192/27\",\r\n + \ \"20.48.196.240/28\",\r\n \"20.49.96.128/27\",\r\n \"20.49.96.160/28\",\r\n + \ \"20.49.102.56/29\",\r\n \"20.49.102.192/28\",\r\n \"20.49.102.208/30\",\r\n + \ \"20.49.102.216/29\",\r\n \"20.49.102.224/30\",\r\n \"20.49.103.128/26\",\r\n + \ \"20.49.114.160/29\",\r\n \"20.49.114.176/29\",\r\n \"20.49.114.184/30\",\r\n + \ \"20.49.114.224/27\",\r\n \"20.49.115.192/26\",\r\n \"20.49.118.64/27\",\r\n + \ \"20.49.119.208/28\",\r\n \"20.49.126.136/29\",\r\n \"20.49.126.144/29\",\r\n + \ \"20.49.126.152/30\",\r\n \"20.49.126.224/27\",\r\n \"20.50.1.16/28\",\r\n + \ \"20.50.68.126/31\",\r\n \"20.51.8.128/26\",\r\n \"20.51.8.224/27\",\r\n + \ \"20.51.12.192/27\",\r\n \"20.51.12.224/28\",\r\n \"20.51.16.192/26\",\r\n + \ \"20.51.17.32/27\",\r\n \"20.51.20.112/28\",\r\n \"20.52.64.16/29\",\r\n + \ \"20.52.72.48/29\",\r\n \"20.52.88.128/28\",\r\n \"20.52.135.226/32\",\r\n + \ \"20.53.41.32/29\",\r\n \"20.53.41.40/30\",\r\n \"20.53.41.48/28\",\r\n + \ \"20.53.44.0/30\",\r\n \"20.53.44.128/26\",\r\n \"20.53.44.192/27\",\r\n + \ \"20.53.47.80/28\",\r\n \"20.53.48.176/28\",\r\n \"20.53.56.112/28\",\r\n + \ \"20.58.66.64/27\",\r\n \"20.58.67.32/28\",\r\n \"20.61.96.168/29\",\r\n + \ \"20.61.96.176/29\",\r\n \"20.61.96.188/30\",\r\n \"20.61.97.64/27\",\r\n + \ \"20.61.98.64/31\",\r\n \"20.61.98.192/26\",\r\n \"20.61.99.32/27\",\r\n + \ \"20.61.103.80/28\",\r\n \"20.62.58.0/26\",\r\n \"20.62.59.96/28\",\r\n + \ \"20.62.128.144/30\",\r\n \"20.62.129.64/26\",\r\n \"20.62.129.160/27\",\r\n + \ \"20.62.134.80/28\",\r\n \"20.65.130.0/26\",\r\n \"20.65.130.128/26\",\r\n + \ \"20.65.133.96/28\",\r\n \"20.66.2.64/26\",\r\n \"20.66.2.160/27\",\r\n + \ \"20.66.4.240/28\",\r\n \"20.69.0.240/28\",\r\n \"20.72.20.64/27\",\r\n + \ \"20.72.20.128/26\",\r\n \"20.72.21.8/29\",\r\n \"20.150.161.160/27\",\r\n + \ \"20.150.164.128/27\",\r\n \"20.150.164.160/28\",\r\n \"20.150.167.64/26\",\r\n + \ \"20.150.174.136/29\",\r\n \"20.150.241.80/29\",\r\n \"20.150.244.48/28\",\r\n + \ \"20.150.244.128/27\",\r\n \"20.184.58.62/32\",\r\n \"20.184.240.78/32\",\r\n + \ \"20.184.241.66/32\",\r\n \"20.184.241.238/32\",\r\n \"20.184.242.113/32\",\r\n + \ \"20.184.242.115/32\",\r\n \"20.184.242.189/32\",\r\n \"20.185.105.28/32\",\r\n + \ \"20.187.195.152/29\",\r\n \"20.187.196.192/30\",\r\n \"20.187.197.64/26\",\r\n + \ \"20.187.197.160/27\",\r\n \"20.189.108.64/27\",\r\n \"20.189.109.32/27\",\r\n + \ \"20.189.109.64/28\",\r\n \"20.189.111.200/30\",\r\n \"20.189.111.208/28\",\r\n + \ \"20.189.225.0/26\",\r\n \"20.189.225.96/27\",\r\n \"20.189.228.144/28\",\r\n + \ \"20.191.160.8/29\",\r\n \"20.191.160.20/30\",\r\n \"20.191.160.96/28\",\r\n + \ \"20.191.160.112/30\",\r\n \"20.191.161.128/26\",\r\n \"20.191.161.224/27\",\r\n + \ \"20.191.166.96/28\",\r\n \"20.192.44.96/28\",\r\n \"20.192.48.192/28\",\r\n + \ \"20.192.50.80/28\",\r\n \"20.192.50.208/29\",\r\n \"20.192.80.32/28\",\r\n + \ \"20.192.161.144/28\",\r\n \"20.192.161.160/27\",\r\n \"20.192.164.128/27\",\r\n + \ \"20.192.167.64/26\",\r\n \"20.192.184.84/30\",\r\n \"20.192.225.208/28\",\r\n + \ \"20.192.225.224/27\",\r\n \"20.192.228.192/27\",\r\n \"20.192.231.128/26\",\r\n + \ \"20.193.194.0/28\",\r\n \"20.193.194.48/29\",\r\n \"20.193.194.64/28\",\r\n + \ \"20.194.72.64/26\",\r\n \"20.194.72.192/27\",\r\n \"20.194.74.64/28\",\r\n + \ \"20.195.65.240/29\",\r\n \"20.195.72.240/28\",\r\n \"20.195.146.80/28\",\r\n + \ \"23.96.13.121/32\",\r\n \"23.96.229.148/32\",\r\n \"23.98.107.28/30\",\r\n + \ \"23.98.107.200/29\",\r\n \"23.98.107.208/28\",\r\n \"23.98.108.36/30\",\r\n + \ \"23.98.108.40/31\",\r\n \"23.98.108.192/26\",\r\n \"23.98.109.32/29\",\r\n + \ \"23.100.0.32/32\",\r\n \"23.100.57.171/32\",\r\n \"23.100.59.49/32\",\r\n + \ \"40.64.128.192/27\",\r\n \"40.64.134.140/30\",\r\n \"40.64.134.168/29\",\r\n + \ \"40.64.134.176/28\",\r\n \"40.64.135.80/29\",\r\n \"40.67.48.224/27\",\r\n + \ \"40.67.49.192/27\",\r\n \"40.67.49.224/28\",\r\n \"40.67.52.128/26\",\r\n + \ \"40.67.53.160/28\",\r\n \"40.69.73.194/32\",\r\n \"40.69.104.32/30\",\r\n + \ \"40.69.111.36/30\",\r\n \"40.70.47.165/32\",\r\n \"40.70.241.203/32\",\r\n + \ \"40.74.30.108/30\",\r\n \"40.74.31.64/26\",\r\n \"40.74.64.203/32\",\r\n + \ \"40.78.20.224/32\",\r\n \"40.78.204.0/29\",\r\n \"40.78.204.32/29\",\r\n + \ \"40.79.132.48/29\",\r\n \"40.79.132.80/29\",\r\n \"40.79.156.64/27\",\r\n + \ \"40.79.176.32/30\",\r\n \"40.79.187.168/29\",\r\n \"40.79.187.200/29\",\r\n + \ \"40.80.57.208/28\",\r\n \"40.80.57.224/27\",\r\n \"40.80.58.192/27\",\r\n + \ \"40.80.63.152/30\",\r\n \"40.80.63.224/28\",\r\n \"40.80.63.240/30\",\r\n + \ \"40.80.169.192/27\",\r\n \"40.80.170.160/27\",\r\n \"40.80.170.192/28\",\r\n + \ \"40.80.172.28/30\",\r\n \"40.80.176.0/28\",\r\n \"40.80.188.112/28\",\r\n + \ \"40.80.190.128/27\",\r\n \"40.80.190.224/27\",\r\n \"40.82.253.200/30\",\r\n + \ \"40.82.253.208/28\",\r\n \"40.82.255.0/26\",\r\n \"40.82.255.96/27\",\r\n + \ \"40.85.230.100/32\",\r\n \"40.86.227.247/32\",\r\n \"40.87.48.184/32\",\r\n + \ \"40.88.22.25/32\",\r\n \"40.89.17.240/28\",\r\n \"40.89.18.128/27\",\r\n + \ \"40.89.18.224/27\",\r\n \"40.89.23.36/30\",\r\n \"40.89.133.209/32\",\r\n + \ \"40.89.134.214/32\",\r\n \"40.90.138.4/32\",\r\n \"40.90.139.2/32\",\r\n + \ \"40.90.139.36/32\",\r\n \"40.90.139.163/32\",\r\n \"40.90.141.99/32\",\r\n + \ \"40.112.254.71/32\",\r\n \"40.113.124.208/32\",\r\n \"40.113.226.173/32\",\r\n + \ \"40.115.248.103/32\",\r\n \"40.117.154.42/32\",\r\n \"40.117.232.90/32\",\r\n + \ \"40.119.2.134/32\",\r\n \"40.119.11.216/29\",\r\n \"40.120.8.48/30\",\r\n + \ \"40.121.217.232/32\",\r\n \"40.122.42.111/32\",\r\n \"40.123.205.29/32\",\r\n + \ \"40.123.210.248/32\",\r\n \"40.123.214.182/32\",\r\n \"40.123.214.251/32\",\r\n + \ \"40.123.218.49/32\",\r\n \"40.127.76.4/32\",\r\n \"40.127.76.10/32\",\r\n + \ \"40.127.165.113/32\",\r\n \"51.11.97.80/29\",\r\n \"51.12.17.32/28\",\r\n + \ \"51.12.17.136/29\",\r\n \"51.12.17.144/28\",\r\n \"51.12.25.32/28\",\r\n + \ \"51.12.25.208/29\",\r\n \"51.12.41.48/28\",\r\n \"51.12.41.128/27\",\r\n + \ \"51.12.41.224/27\",\r\n \"51.12.43.192/26\",\r\n \"51.12.46.240/28\",\r\n + \ \"51.12.193.48/28\",\r\n \"51.12.193.128/27\",\r\n \"51.12.193.224/27\",\r\n + \ \"51.12.195.128/26\",\r\n \"51.13.1.0/29\",\r\n \"51.13.128.72/29\",\r\n + \ \"51.13.136.64/26\",\r\n \"51.13.137.192/28\",\r\n \"51.13.137.224/27\",\r\n + \ \"51.103.144.46/32\",\r\n \"51.104.25.240/28\",\r\n \"51.104.27.64/27\",\r\n + \ \"51.104.28.32/27\",\r\n \"51.104.31.160/29\",\r\n \"51.104.31.168/30\",\r\n + \ \"51.104.31.176/28\",\r\n \"51.105.67.176/29\",\r\n \"51.105.67.208/29\",\r\n + \ \"51.105.80.224/27\",\r\n \"51.105.81.192/27\",\r\n \"51.105.81.224/28\",\r\n + \ \"51.105.89.128/27\",\r\n \"51.105.89.224/27\",\r\n \"51.105.90.0/28\",\r\n + \ \"51.105.92.52/30\",\r\n \"51.105.170.64/32\",\r\n \"51.107.48.240/28\",\r\n + \ \"51.107.49.128/27\",\r\n \"51.107.49.224/27\",\r\n \"51.107.52.216/29\",\r\n + \ \"51.107.53.36/30\",\r\n \"51.107.53.40/29\",\r\n \"51.107.84.104/32\",\r\n + \ \"51.107.85.61/32\",\r\n \"51.107.128.24/29\",\r\n \"51.107.144.224/27\",\r\n + \ \"51.107.145.192/27\",\r\n \"51.107.145.224/28\",\r\n \"51.107.148.20/30\",\r\n + \ \"51.107.148.64/28\",\r\n \"51.107.192.72/29\",\r\n \"51.107.224.189/32\",\r\n + \ \"51.107.224.209/32\",\r\n \"51.107.241.0/26\",\r\n \"51.107.241.128/27\",\r\n + \ \"51.107.242.224/28\",\r\n \"51.107.249.0/26\",\r\n \"51.107.249.128/27\",\r\n + \ \"51.107.250.240/28\",\r\n \"51.116.48.144/28\",\r\n \"51.116.48.160/27\",\r\n + \ \"51.116.49.0/27\",\r\n \"51.116.51.192/26\",\r\n \"51.116.54.176/28\",\r\n + \ \"51.116.55.64/28\",\r\n \"51.116.144.144/28\",\r\n \"51.116.144.160/27\",\r\n + \ \"51.116.145.0/27\",\r\n \"51.116.148.128/26\",\r\n \"51.116.149.208/28\",\r\n + \ \"51.116.211.6/32\",\r\n \"51.120.40.240/28\",\r\n \"51.120.41.128/27\",\r\n + \ \"51.120.41.224/27\",\r\n \"51.120.109.192/29\",\r\n \"51.120.224.224/27\",\r\n + \ \"51.120.225.192/27\",\r\n \"51.120.225.224/28\",\r\n \"51.120.232.64/26\",\r\n + \ \"51.120.233.144/28\",\r\n \"51.120.233.160/27\",\r\n \"51.120.237.0/29\",\r\n + \ \"51.124.95.46/32\",\r\n \"51.124.140.143/32\",\r\n \"51.137.162.128/27\",\r\n + \ \"51.137.162.224/27\",\r\n \"51.137.163.0/28\",\r\n \"51.137.166.28/30\",\r\n + \ \"51.137.166.44/30\",\r\n \"51.137.166.48/28\",\r\n \"51.137.167.192/26\",\r\n + \ \"51.138.40.194/32\",\r\n \"51.138.41.75/32\",\r\n \"51.138.160.4/30\",\r\n + \ \"51.138.210.144/28\",\r\n \"51.140.5.56/32\",\r\n \"51.140.105.165/32\",\r\n + \ \"51.140.202.0/32\",\r\n \"51.143.192.224/27\",\r\n \"51.143.193.192/27\",\r\n + \ \"51.143.193.224/28\",\r\n \"51.143.208.128/30\",\r\n \"51.143.209.0/26\",\r\n + \ \"51.143.209.64/27\",\r\n \"51.143.212.160/28\",\r\n \"51.144.83.210/32\",\r\n + \ \"52.136.48.240/28\",\r\n \"52.136.49.128/27\",\r\n \"52.136.49.224/27\",\r\n + \ \"52.136.53.0/26\",\r\n \"52.136.184.128/26\",\r\n \"52.136.184.192/27\",\r\n + \ \"52.136.185.160/28\",\r\n \"52.138.41.171/32\",\r\n \"52.138.92.172/30\",\r\n + \ \"52.139.106.0/26\",\r\n \"52.139.106.128/27\",\r\n \"52.139.107.192/28\",\r\n + \ \"52.140.105.192/27\",\r\n \"52.140.106.160/27\",\r\n \"52.140.106.192/28\",\r\n + \ \"52.140.110.96/29\",\r\n \"52.140.110.104/30\",\r\n \"52.140.110.112/28\",\r\n + \ \"52.140.110.160/30\",\r\n \"52.140.111.128/26\",\r\n \"52.140.111.224/27\",\r\n + \ \"52.142.81.236/32\",\r\n \"52.142.83.87/32\",\r\n \"52.142.84.66/32\",\r\n + \ \"52.142.85.51/32\",\r\n \"52.143.91.192/28\",\r\n \"52.146.79.144/28\",\r\n + \ \"52.146.79.224/27\",\r\n \"52.146.131.32/28\",\r\n \"52.146.131.48/30\",\r\n + \ \"52.146.131.96/27\",\r\n \"52.146.132.128/26\",\r\n \"52.146.133.0/27\",\r\n + \ \"52.146.137.16/28\",\r\n \"52.147.43.145/32\",\r\n \"52.147.44.12/32\",\r\n + \ \"52.147.97.4/30\",\r\n \"52.147.112.0/26\",\r\n \"52.147.112.64/27\",\r\n + \ \"52.147.112.208/28\",\r\n \"52.149.31.64/28\",\r\n \"52.150.139.192/27\",\r\n + \ \"52.150.140.160/27\",\r\n \"52.150.140.192/28\",\r\n \"52.150.154.200/29\",\r\n + \ \"52.150.154.208/28\",\r\n \"52.150.156.32/30\",\r\n \"52.150.156.40/30\",\r\n + \ \"52.150.157.64/26\",\r\n \"52.150.157.128/27\",\r\n \"52.151.39.177/32\",\r\n + \ \"52.152.207.160/28\",\r\n \"52.152.207.192/28\",\r\n \"52.155.218.251/32\",\r\n + \ \"52.156.93.240/28\",\r\n \"52.156.103.64/27\",\r\n \"52.156.103.96/28\",\r\n + \ \"52.161.16.73/32\",\r\n \"52.162.110.248/29\",\r\n \"52.162.111.24/29\",\r\n + \ \"52.163.56.146/32\",\r\n \"52.168.112.0/26\",\r\n \"52.171.134.140/32\",\r\n + \ \"52.172.112.0/28\",\r\n \"52.172.112.16/29\",\r\n \"52.172.112.192/26\",\r\n + \ \"52.172.113.32/27\",\r\n \"52.172.116.16/28\",\r\n \"52.172.187.21/32\",\r\n + \ \"52.173.240.242/32\",\r\n \"52.174.60.141/32\",\r\n \"52.174.146.221/32\",\r\n + \ \"52.175.18.186/32\",\r\n \"52.175.35.166/32\",\r\n \"52.179.13.227/32\",\r\n + \ \"52.179.14.109/32\",\r\n \"52.179.113.96/27\",\r\n \"52.179.113.128/28\",\r\n + \ \"52.180.162.194/32\",\r\n \"52.180.166.172/32\",\r\n \"52.180.178.146/32\",\r\n + \ \"52.180.179.119/32\",\r\n \"52.183.33.203/32\",\r\n \"52.186.33.48/28\",\r\n + \ \"52.186.91.216/32\",\r\n \"52.187.20.181/32\",\r\n \"52.187.39.99/32\",\r\n + \ \"52.190.33.56/32\",\r\n \"52.190.33.61/32\",\r\n \"52.190.33.154/32\",\r\n + \ \"52.191.160.229/32\",\r\n \"52.191.173.81/32\",\r\n \"52.224.200.129/32\",\r\n + \ \"52.225.176.80/32\",\r\n \"52.228.83.128/27\",\r\n \"52.228.83.224/27\",\r\n + \ \"52.228.84.0/28\",\r\n \"52.229.16.14/32\",\r\n \"52.231.74.63/32\",\r\n + \ \"52.231.79.142/32\",\r\n \"52.231.148.200/30\",\r\n \"52.231.159.35/32\",\r\n + \ \"52.233.163.218/32\",\r\n \"52.237.137.4/32\",\r\n \"52.249.207.163/32\",\r\n + \ \"52.254.75.76/32\",\r\n \"52.255.83.208/28\",\r\n \"52.255.84.176/28\",\r\n + \ \"52.255.84.192/28\",\r\n \"52.255.124.16/28\",\r\n \"52.255.124.80/28\",\r\n + \ \"52.255.124.96/28\",\r\n \"65.52.205.19/32\",\r\n \"65.52.252.208/28\",\r\n + \ \"102.37.81.64/28\",\r\n \"102.37.160.144/28\",\r\n \"102.133.28.72/29\",\r\n + \ \"102.133.28.104/29\",\r\n \"102.133.56.144/28\",\r\n \"102.133.56.224/27\",\r\n + \ \"102.133.61.192/26\",\r\n \"102.133.75.174/32\",\r\n \"102.133.123.248/29\",\r\n + \ \"102.133.124.24/29\",\r\n \"102.133.124.88/29\",\r\n \"102.133.124.96/29\",\r\n + \ \"102.133.156.128/29\",\r\n \"102.133.161.242/32\",\r\n + \ \"102.133.162.109/32\",\r\n \"102.133.162.196/32\",\r\n + \ \"102.133.162.221/32\",\r\n \"102.133.163.185/32\",\r\n + \ \"102.133.217.80/28\",\r\n \"102.133.217.96/27\",\r\n \"102.133.218.0/27\",\r\n + \ \"102.133.220.192/30\",\r\n \"102.133.221.64/26\",\r\n + \ \"102.133.221.128/27\",\r\n \"102.133.236.198/32\",\r\n + \ \"104.42.100.80/32\",\r\n \"104.42.194.173/32\",\r\n \"104.42.239.93/32\",\r\n + \ \"104.44.89.44/32\",\r\n \"104.46.112.239/32\",\r\n \"104.46.176.164/30\",\r\n + \ \"104.46.176.176/28\",\r\n \"104.46.178.4/30\",\r\n \"104.46.178.192/26\",\r\n + \ \"104.46.179.0/27\",\r\n \"104.46.183.128/28\",\r\n \"104.46.239.137/32\",\r\n + \ \"104.211.88.173/32\",\r\n \"104.211.222.193/32\",\r\n + \ \"104.214.49.162/32\",\r\n \"104.214.233.86/32\",\r\n \"104.215.9.217/32\",\r\n + \ \"137.117.70.195/32\",\r\n \"137.135.45.32/32\",\r\n \"168.61.158.107/32\",\r\n + \ \"168.61.165.229/32\",\r\n \"168.63.20.177/32\",\r\n \"191.232.39.30/32\",\r\n + \ \"191.232.162.204/32\",\r\n \"191.233.10.48/28\",\r\n \"191.233.10.64/27\",\r\n + \ \"191.233.10.128/27\",\r\n \"191.233.15.64/26\",\r\n \"191.233.205.72/29\",\r\n + \ \"191.233.205.104/29\",\r\n \"191.234.138.136/29\",\r\n + \ \"191.234.138.148/30\",\r\n \"191.234.139.192/26\",\r\n + \ \"191.234.142.32/27\",\r\n \"191.235.227.128/27\",\r\n + \ \"191.235.227.224/27\",\r\n \"191.235.228.0/28\",\r\n \"191.238.72.80/28\",\r\n + \ \"2603:1000:4::680/122\",\r\n \"2603:1000:104::180/122\",\r\n + \ \"2603:1000:104::380/122\",\r\n \"2603:1000:104:1::640/122\",\r\n + \ \"2603:1010:6::80/122\",\r\n \"2603:1010:6:1::640/122\",\r\n + \ \"2603:1010:101::680/122\",\r\n \"2603:1010:304::680/122\",\r\n + \ \"2603:1010:404::680/122\",\r\n \"2603:1020:5::80/122\",\r\n + \ \"2603:1020:5:1::640/122\",\r\n \"2603:1020:206::80/122\",\r\n + \ \"2603:1020:206:1::640/122\",\r\n \"2603:1020:305::680/122\",\r\n + \ \"2603:1020:405::680/122\",\r\n \"2603:1020:605::680/122\",\r\n + \ \"2603:1020:705::80/122\",\r\n \"2603:1020:705:1::640/122\",\r\n + \ \"2603:1020:805::80/122\",\r\n \"2603:1020:805:1::640/122\",\r\n + \ \"2603:1020:905::680/122\",\r\n \"2603:1020:a04::80/122\",\r\n + \ \"2603:1020:a04:1::640/122\",\r\n \"2603:1020:b04::680/122\",\r\n + \ \"2603:1020:c04::80/122\",\r\n \"2603:1020:c04:1::640/122\",\r\n + \ \"2603:1020:d04::680/122\",\r\n \"2603:1020:e04::80/122\",\r\n + \ \"2603:1020:e04::358/125\",\r\n \"2603:1020:e04:1::640/122\",\r\n + \ \"2603:1020:e04:2::/122\",\r\n \"2603:1020:e04:3::280/122\",\r\n + \ \"2603:1020:f04::680/122\",\r\n \"2603:1020:f04:2::/122\",\r\n + \ \"2603:1020:1004::640/122\",\r\n \"2603:1020:1004:1::80/122\",\r\n + \ \"2603:1020:1004:1::1f0/125\",\r\n \"2603:1020:1004:1::300/122\",\r\n + \ \"2603:1020:1004:1::740/122\",\r\n \"2603:1020:1104::700/121\",\r\n + \ \"2603:1020:1104:1::150/125\",\r\n \"2603:1020:1104:1::480/122\",\r\n + \ \"2603:1030:f:1::2b8/125\",\r\n \"2603:1030:f:1::680/122\",\r\n + \ \"2603:1030:f:2::600/121\",\r\n \"2603:1030:10::80/122\",\r\n + \ \"2603:1030:10:1::640/122\",\r\n \"2603:1030:104::80/122\",\r\n + \ \"2603:1030:104:1::640/122\",\r\n \"2603:1030:107::730/125\",\r\n + \ \"2603:1030:107::740/122\",\r\n \"2603:1030:107::780/122\",\r\n + \ \"2603:1030:210::80/122\",\r\n \"2603:1030:210:1::640/122\",\r\n + \ \"2603:1030:40b:1::640/122\",\r\n \"2603:1030:40c::80/122\",\r\n + \ \"2603:1030:40c:1::640/122\",\r\n \"2603:1030:504::80/122\",\r\n + \ \"2603:1030:504::1f0/125\",\r\n \"2603:1030:504::300/122\",\r\n + \ \"2603:1030:504:1::640/122\",\r\n \"2603:1030:504:2::200/122\",\r\n + \ \"2603:1030:608::680/122\",\r\n \"2603:1030:807::80/122\",\r\n + \ \"2603:1030:807:1::640/122\",\r\n \"2603:1030:a07::680/122\",\r\n + \ \"2603:1030:b04::680/122\",\r\n \"2603:1030:c06:1::640/122\",\r\n + \ \"2603:1030:f05::80/122\",\r\n \"2603:1030:f05:1::640/122\",\r\n + \ \"2603:1030:1005::680/122\",\r\n \"2603:1040:5::180/122\",\r\n + \ \"2603:1040:5:1::640/122\",\r\n \"2603:1040:207::680/122\",\r\n + \ \"2603:1040:407::80/122\",\r\n \"2603:1040:407:1::640/122\",\r\n + \ \"2603:1040:606::680/122\",\r\n \"2603:1040:806::680/122\",\r\n + \ \"2603:1040:904::80/122\",\r\n \"2603:1040:904:1::640/122\",\r\n + \ \"2603:1040:a06::180/122\",\r\n \"2603:1040:a06::7c8/125\",\r\n + \ \"2603:1040:a06:1::640/122\",\r\n \"2603:1040:a06:2::380/121\",\r\n + \ \"2603:1040:b04::680/122\",\r\n \"2603:1040:c06::680/122\",\r\n + \ \"2603:1040:d04::640/122\",\r\n \"2603:1040:d04:1::80/122\",\r\n + \ \"2603:1040:d04:1::1f0/125\",\r\n \"2603:1040:d04:1::300/122\",\r\n + \ \"2603:1040:d04:1::740/122\",\r\n \"2603:1040:f05::80/122\",\r\n + \ \"2603:1040:f05::358/125\",\r\n \"2603:1040:f05:1::640/122\",\r\n + \ \"2603:1040:f05:2::80/121\",\r\n \"2603:1040:1104::700/121\",\r\n + \ \"2603:1040:1104:1::150/125\",\r\n \"2603:1040:1104:1::500/122\",\r\n + \ \"2603:1050:6::80/122\",\r\n \"2603:1050:6:1::640/122\",\r\n + \ \"2603:1050:403::640/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"DataFactory\",\r\n \"id\": \"DataFactory\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"3\",\r\n \"region\": \"\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"DataFactory\",\r\n \"addressPrefixes\": + [\r\n \"13.66.143.128/28\",\r\n \"13.67.10.208/28\",\r\n + \ \"13.69.67.192/28\",\r\n \"13.69.107.112/28\",\r\n \"13.69.112.128/28\",\r\n + \ \"13.69.230.96/28\",\r\n \"13.70.74.144/28\",\r\n \"13.71.175.80/28\",\r\n + \ \"13.71.199.0/28\",\r\n \"13.73.244.32/28\",\r\n \"13.73.253.96/29\",\r\n + \ \"13.74.108.224/28\",\r\n \"13.75.39.112/28\",\r\n \"13.77.53.160/28\",\r\n + \ \"13.78.109.192/28\",\r\n \"13.86.219.208/28\",\r\n \"13.89.174.192/28\",\r\n + \ \"13.104.248.64/27\",\r\n \"13.104.252.208/28\",\r\n \"13.104.252.224/28\",\r\n + \ \"13.104.253.48/28\",\r\n \"13.104.254.128/28\",\r\n \"20.36.117.208/28\",\r\n + \ \"20.36.124.32/28\",\r\n \"20.36.124.128/25\",\r\n \"20.36.125.0/26\",\r\n + \ \"20.37.68.144/28\",\r\n \"20.37.69.128/25\",\r\n \"20.37.70.0/26\",\r\n + \ \"20.37.154.0/23\",\r\n \"20.37.156.0/26\",\r\n \"20.37.193.0/25\",\r\n + \ \"20.37.193.128/26\",\r\n \"20.37.198.224/29\",\r\n \"20.37.228.16/28\",\r\n + \ \"20.37.228.192/26\",\r\n \"20.37.229.0/25\",\r\n \"20.38.80.192/26\",\r\n + \ \"20.38.82.0/23\",\r\n \"20.38.141.16/28\",\r\n \"20.38.141.128/25\",\r\n + \ \"20.38.142.0/26\",\r\n \"20.38.147.224/28\",\r\n \"20.38.152.0/28\",\r\n + \ \"20.39.8.96/27\",\r\n \"20.39.8.128/26\",\r\n \"20.39.15.0/29\",\r\n + \ \"20.40.206.224/29\",\r\n \"20.41.2.0/23\",\r\n \"20.41.4.0/26\",\r\n + \ \"20.41.64.128/25\",\r\n \"20.41.65.0/26\",\r\n \"20.41.69.8/29\",\r\n + \ \"20.41.192.128/25\",\r\n \"20.41.193.0/26\",\r\n \"20.41.197.112/29\",\r\n + \ \"20.41.198.0/25\",\r\n \"20.41.198.128/26\",\r\n \"20.42.2.0/23\",\r\n + \ \"20.42.4.0/26\",\r\n \"20.42.64.0/28\",\r\n \"20.42.129.64/26\",\r\n + \ \"20.42.132.0/23\",\r\n \"20.42.225.0/25\",\r\n \"20.42.225.128/26\",\r\n + \ \"20.42.230.136/29\",\r\n \"20.43.40.128/25\",\r\n \"20.43.41.0/26\",\r\n + \ \"20.43.44.208/29\",\r\n \"20.43.64.128/25\",\r\n \"20.43.65.0/26\",\r\n + \ \"20.43.70.120/29\",\r\n \"20.43.121.48/28\",\r\n \"20.43.128.128/25\",\r\n + \ \"20.43.130.0/26\",\r\n \"20.44.10.64/28\",\r\n \"20.44.17.80/28\",\r\n + \ \"20.44.27.240/28\",\r\n \"20.45.123.160/28\",\r\n \"20.49.83.224/28\",\r\n + \ \"20.49.102.16/29\",\r\n \"20.49.111.0/29\",\r\n \"20.49.114.24/29\",\r\n + \ \"20.49.118.128/25\",\r\n \"20.50.68.56/29\",\r\n \"20.52.64.0/28\",\r\n + \ \"20.53.0.48/28\",\r\n \"20.53.45.0/24\",\r\n \"20.53.46.0/26\",\r\n + \ \"20.65.130.192/26\",\r\n \"20.65.131.0/24\",\r\n \"20.72.22.0/23\",\r\n + \ \"20.72.28.48/28\",\r\n \"20.150.162.0/23\",\r\n \"20.150.173.16/28\",\r\n + \ \"20.150.181.112/28\",\r\n \"20.189.104.128/25\",\r\n \"20.189.106.0/26\",\r\n + \ \"20.189.109.232/29\",\r\n \"20.191.164.0/24\",\r\n \"20.191.165.0/26\",\r\n + \ \"20.192.42.0/24\",\r\n \"20.192.43.0/26\",\r\n \"20.192.162.0/23\",\r\n + \ \"20.192.184.96/28\",\r\n \"20.192.226.0/23\",\r\n \"20.192.238.96/28\",\r\n + \ \"20.193.205.144/28\",\r\n \"20.194.67.192/28\",\r\n \"20.194.78.0/23\",\r\n + \ \"20.195.64.0/25\",\r\n \"23.98.83.112/28\",\r\n \"23.98.106.128/29\",\r\n + \ \"23.98.109.64/26\",\r\n \"23.98.109.128/25\",\r\n \"40.64.132.232/29\",\r\n + \ \"40.69.108.160/28\",\r\n \"40.69.111.48/28\",\r\n \"40.70.148.160/28\",\r\n + \ \"40.71.14.32/28\",\r\n \"40.74.24.192/26\",\r\n \"40.74.26.0/23\",\r\n + \ \"40.74.149.64/28\",\r\n \"40.75.35.144/28\",\r\n \"40.78.196.128/28\",\r\n + \ \"40.78.229.96/28\",\r\n \"40.78.236.176/28\",\r\n \"40.78.245.16/28\",\r\n + \ \"40.78.251.192/28\",\r\n \"40.79.132.112/28\",\r\n \"40.79.139.80/28\",\r\n + \ \"40.79.146.240/28\",\r\n \"40.79.163.80/28\",\r\n \"40.79.171.160/28\",\r\n + \ \"40.79.187.208/28\",\r\n \"40.79.195.224/28\",\r\n \"40.80.51.160/28\",\r\n + \ \"40.80.56.128/25\",\r\n \"40.80.57.0/26\",\r\n \"40.80.62.24/29\",\r\n + \ \"40.80.168.128/25\",\r\n \"40.80.169.0/26\",\r\n \"40.80.172.112/29\",\r\n + \ \"40.80.176.96/28\",\r\n \"40.80.185.0/24\",\r\n \"40.80.186.0/25\",\r\n + \ \"40.82.249.64/26\",\r\n \"40.82.250.0/23\",\r\n \"40.89.16.128/25\",\r\n + \ \"40.89.17.0/26\",\r\n \"40.89.20.224/29\",\r\n \"40.113.176.232/29\",\r\n + \ \"40.119.9.0/25\",\r\n \"40.119.9.128/26\",\r\n \"40.120.8.56/29\",\r\n + \ \"40.120.64.112/28\",\r\n \"40.120.75.112/28\",\r\n \"40.122.0.16/28\",\r\n + \ \"51.12.18.0/23\",\r\n \"51.12.26.0/23\",\r\n \"51.12.101.176/28\",\r\n + \ \"51.12.206.16/28\",\r\n \"51.12.229.64/28\",\r\n \"51.12.237.64/28\",\r\n + \ \"51.13.128.0/28\",\r\n \"51.104.9.32/28\",\r\n \"51.104.24.128/25\",\r\n + \ \"51.104.25.0/26\",\r\n \"51.104.29.216/29\",\r\n \"51.105.67.240/28\",\r\n + \ \"51.105.75.240/28\",\r\n \"51.105.92.176/28\",\r\n \"51.105.93.64/26\",\r\n + \ \"51.105.93.128/25\",\r\n \"51.107.51.40/29\",\r\n \"51.107.52.0/25\",\r\n + \ \"51.107.52.128/26\",\r\n \"51.107.128.0/28\",\r\n \"51.107.148.80/28\",\r\n + \ \"51.107.149.0/25\",\r\n \"51.107.149.128/26\",\r\n \"51.107.192.80/28\",\r\n + \ \"51.116.147.32/28\",\r\n \"51.116.147.64/26\",\r\n \"51.116.147.128/25\",\r\n + \ \"51.116.245.112/28\",\r\n \"51.116.245.176/28\",\r\n \"51.116.253.48/28\",\r\n + \ \"51.116.253.144/28\",\r\n \"51.120.44.208/28\",\r\n \"51.120.45.64/26\",\r\n + \ \"51.120.45.128/25\",\r\n \"51.120.100.224/28\",\r\n \"51.120.109.96/28\",\r\n + \ \"51.120.213.32/28\",\r\n \"51.120.228.224/27\",\r\n \"51.120.229.64/26\",\r\n + \ \"51.120.229.128/25\",\r\n \"51.120.238.0/23\",\r\n \"51.137.160.128/25\",\r\n + \ \"51.137.161.0/26\",\r\n \"51.137.164.192/29\",\r\n \"51.138.160.16/28\",\r\n + \ \"51.140.212.112/28\",\r\n \"52.138.92.128/28\",\r\n \"52.138.229.32/28\",\r\n + \ \"52.140.104.128/25\",\r\n \"52.140.105.0/26\",\r\n \"52.140.108.208/29\",\r\n + \ \"52.150.136.192/26\",\r\n \"52.150.137.128/25\",\r\n \"52.150.154.16/29\",\r\n + \ \"52.150.155.0/24\",\r\n \"52.150.157.160/29\",\r\n \"52.150.157.192/26\",\r\n + \ \"52.162.111.48/28\",\r\n \"52.167.107.224/28\",\r\n \"52.176.232.16/28\",\r\n + \ \"52.182.141.16/28\",\r\n \"52.228.80.128/25\",\r\n \"52.228.81.0/26\",\r\n + \ \"52.228.86.144/29\",\r\n \"52.231.20.64/28\",\r\n \"52.231.148.160/28\",\r\n + \ \"52.231.151.32/28\",\r\n \"52.236.187.112/28\",\r\n \"52.246.155.224/28\",\r\n + \ \"52.250.228.0/29\",\r\n \"102.37.64.96/28\",\r\n \"102.133.60.48/28\",\r\n + \ \"102.133.60.192/26\",\r\n \"102.133.61.0/25\",\r\n \"102.133.124.104/29\",\r\n + \ \"102.133.156.136/29\",\r\n \"102.133.216.128/25\",\r\n + \ \"102.133.217.0/26\",\r\n \"102.133.218.248/29\",\r\n \"102.133.251.184/29\",\r\n + \ \"104.46.179.64/26\",\r\n \"104.46.182.0/24\",\r\n \"191.233.12.0/23\",\r\n + \ \"191.233.54.224/28\",\r\n \"191.233.205.160/28\",\r\n + \ \"191.234.137.32/29\",\r\n \"191.234.142.64/26\",\r\n \"191.234.143.0/24\",\r\n + \ \"191.234.149.0/28\",\r\n \"191.234.157.0/28\",\r\n \"191.235.224.128/25\",\r\n + \ \"191.235.225.0/26\",\r\n \"2603:1000:4::440/122\",\r\n + \ \"2603:1000:4::500/121\",\r\n \"2603:1000:4:402::330/124\",\r\n + \ \"2603:1000:104::/121\",\r\n \"2603:1000:104::80/122\",\r\n + \ \"2603:1000:104::1c0/122\",\r\n \"2603:1000:104::280/121\",\r\n + \ \"2603:1000:104:1::480/121\",\r\n \"2603:1000:104:1::500/122\",\r\n + \ \"2603:1000:104:1::700/121\",\r\n \"2603:1000:104:1::780/122\",\r\n + \ \"2603:1000:104:402::330/124\",\r\n \"2603:1000:104:802::210/124\",\r\n + \ \"2603:1000:104:c02::210/124\",\r\n \"2603:1010:6:1::480/121\",\r\n + \ \"2603:1010:6:1::500/122\",\r\n \"2603:1010:6:1::700/121\",\r\n + \ \"2603:1010:6:1::780/122\",\r\n \"2603:1010:6:402::330/124\",\r\n + \ \"2603:1010:6:802::210/124\",\r\n \"2603:1010:6:c02::210/124\",\r\n + \ \"2603:1010:101::440/122\",\r\n \"2603:1010:101::500/121\",\r\n + \ \"2603:1010:101:402::330/124\",\r\n \"2603:1010:304::440/122\",\r\n + \ \"2603:1010:304::500/121\",\r\n \"2603:1010:304:402::330/124\",\r\n + \ \"2603:1010:404::440/122\",\r\n \"2603:1010:404::500/121\",\r\n + \ \"2603:1010:404:402::330/124\",\r\n \"2603:1020:5:1::480/121\",\r\n + \ \"2603:1020:5:1::500/122\",\r\n \"2603:1020:5:1::700/121\",\r\n + \ \"2603:1020:5:1::780/122\",\r\n \"2603:1020:5:402::330/124\",\r\n + \ \"2603:1020:5:802::210/124\",\r\n \"2603:1020:5:c02::210/124\",\r\n + \ \"2603:1020:206:1::480/121\",\r\n \"2603:1020:206:1::500/122\",\r\n + \ \"2603:1020:206:1::700/121\",\r\n \"2603:1020:206:1::780/122\",\r\n + \ \"2603:1020:206:402::330/124\",\r\n \"2603:1020:206:802::210/124\",\r\n + \ \"2603:1020:206:c02::210/124\",\r\n \"2603:1020:305::440/122\",\r\n + \ \"2603:1020:305::500/121\",\r\n \"2603:1020:305:402::330/124\",\r\n + \ \"2603:1020:405::440/122\",\r\n \"2603:1020:405::500/121\",\r\n + \ \"2603:1020:405:402::330/124\",\r\n \"2603:1020:605::440/122\",\r\n + \ \"2603:1020:605::500/121\",\r\n \"2603:1020:605:402::330/124\",\r\n + \ \"2603:1020:705:1::480/121\",\r\n \"2603:1020:705:1::500/122\",\r\n + \ \"2603:1020:705:1::700/121\",\r\n \"2603:1020:705:1::780/122\",\r\n + \ \"2603:1020:705:402::330/124\",\r\n \"2603:1020:705:802::210/124\",\r\n + \ \"2603:1020:705:c02::210/124\",\r\n \"2603:1020:805:1::480/121\",\r\n + \ \"2603:1020:805:1::500/122\",\r\n \"2603:1020:805:1::700/121\",\r\n + \ \"2603:1020:805:1::780/122\",\r\n \"2603:1020:805:402::330/124\",\r\n + \ \"2603:1020:805:802::210/124\",\r\n \"2603:1020:805:c02::210/124\",\r\n + \ \"2603:1020:905::440/122\",\r\n \"2603:1020:905::500/121\",\r\n + \ \"2603:1020:905:402::330/124\",\r\n \"2603:1020:a04:1::480/121\",\r\n + \ \"2603:1020:a04:1::500/122\",\r\n \"2603:1020:a04:1::700/121\",\r\n + \ \"2603:1020:a04:1::780/122\",\r\n \"2603:1020:a04:402::330/124\",\r\n + \ \"2603:1020:a04:802::210/124\",\r\n \"2603:1020:a04:c02::210/124\",\r\n + \ \"2603:1020:b04::440/122\",\r\n \"2603:1020:b04::500/121\",\r\n + \ \"2603:1020:b04:402::330/124\",\r\n \"2603:1020:c04:1::480/121\",\r\n + \ \"2603:1020:c04:1::500/122\",\r\n \"2603:1020:c04:1::700/121\",\r\n + \ \"2603:1020:c04:1::780/122\",\r\n \"2603:1020:c04:402::330/124\",\r\n + \ \"2603:1020:c04:802::210/124\",\r\n \"2603:1020:c04:c02::210/124\",\r\n + \ \"2603:1020:d04::440/122\",\r\n \"2603:1020:d04::500/121\",\r\n + \ \"2603:1020:d04:402::330/124\",\r\n \"2603:1020:e04:1::480/121\",\r\n + \ \"2603:1020:e04:1::500/122\",\r\n \"2603:1020:e04:1::700/121\",\r\n + \ \"2603:1020:e04:1::780/122\",\r\n \"2603:1020:e04:402::330/124\",\r\n + \ \"2603:1020:e04:802::210/124\",\r\n \"2603:1020:e04:c02::210/124\",\r\n + \ \"2603:1020:f04::440/122\",\r\n \"2603:1020:f04::500/121\",\r\n + \ \"2603:1020:f04:402::330/124\",\r\n \"2603:1020:1004::480/121\",\r\n + \ \"2603:1020:1004::500/122\",\r\n \"2603:1020:1004::700/121\",\r\n + \ \"2603:1020:1004::780/122\",\r\n \"2603:1020:1004:400::240/124\",\r\n + \ \"2603:1020:1004:800::340/124\",\r\n \"2603:1020:1004:c02::380/124\",\r\n + \ \"2603:1020:1104::600/121\",\r\n \"2603:1020:1104:400::500/124\",\r\n + \ \"2603:1030:f:1::440/122\",\r\n \"2603:1030:f:1::500/121\",\r\n + \ \"2603:1030:f:400::b30/124\",\r\n \"2603:1030:10:1::480/121\",\r\n + \ \"2603:1030:10:1::500/122\",\r\n \"2603:1030:10:1::700/121\",\r\n + \ \"2603:1030:10:1::780/122\",\r\n \"2603:1030:10:402::330/124\",\r\n + \ \"2603:1030:10:802::210/124\",\r\n \"2603:1030:10:c02::210/124\",\r\n + \ \"2603:1030:104:1::480/121\",\r\n \"2603:1030:104:1::500/122\",\r\n + \ \"2603:1030:104:1::700/121\",\r\n \"2603:1030:104:1::780/122\",\r\n + \ \"2603:1030:104:402::330/124\",\r\n \"2603:1030:107::600/121\",\r\n + \ \"2603:1030:107:400::380/124\",\r\n \"2603:1030:210:1::480/121\",\r\n + \ \"2603:1030:210:1::500/122\",\r\n \"2603:1030:210:1::700/121\",\r\n + \ \"2603:1030:210:1::780/122\",\r\n \"2603:1030:210:402::330/124\",\r\n + \ \"2603:1030:210:802::210/124\",\r\n \"2603:1030:210:c02::210/124\",\r\n + \ \"2603:1030:40b:1::480/121\",\r\n \"2603:1030:40b:1::500/122\",\r\n + \ \"2603:1030:40b:400::b30/124\",\r\n \"2603:1030:40b:800::210/124\",\r\n + \ \"2603:1030:40b:c00::210/124\",\r\n \"2603:1030:40c:1::480/121\",\r\n + \ \"2603:1030:40c:1::500/122\",\r\n \"2603:1030:40c:1::700/121\",\r\n + \ \"2603:1030:40c:1::780/122\",\r\n \"2603:1030:40c:402::330/124\",\r\n + \ \"2603:1030:40c:802::210/124\",\r\n \"2603:1030:40c:c02::210/124\",\r\n + \ \"2603:1030:504:1::480/121\",\r\n \"2603:1030:504:1::500/122\",\r\n + \ \"2603:1030:504:1::700/121\",\r\n \"2603:1030:504:1::780/122\",\r\n + \ \"2603:1030:504:402::240/124\",\r\n \"2603:1030:504:802::340/124\",\r\n + \ \"2603:1030:504:c02::380/124\",\r\n \"2603:1030:608::440/122\",\r\n + \ \"2603:1030:608::500/121\",\r\n \"2603:1030:608:402::330/124\",\r\n + \ \"2603:1030:807:1::480/121\",\r\n \"2603:1030:807:1::500/122\",\r\n + \ \"2603:1030:807:1::700/121\",\r\n \"2603:1030:807:1::780/122\",\r\n + \ \"2603:1030:807:402::330/124\",\r\n \"2603:1030:807:802::210/124\",\r\n + \ \"2603:1030:807:c02::210/124\",\r\n \"2603:1030:a07::440/122\",\r\n + \ \"2603:1030:a07::500/121\",\r\n \"2603:1030:a07:402::9b0/124\",\r\n + \ \"2603:1030:b04::440/122\",\r\n \"2603:1030:b04::500/121\",\r\n + \ \"2603:1030:b04:402::330/124\",\r\n \"2603:1030:c06:1::480/121\",\r\n + \ \"2603:1030:c06:1::500/122\",\r\n \"2603:1030:c06:400::b30/124\",\r\n + \ \"2603:1030:c06:802::210/124\",\r\n \"2603:1030:c06:c02::210/124\",\r\n + \ \"2603:1030:f05:1::480/121\",\r\n \"2603:1030:f05:1::500/122\",\r\n + \ \"2603:1030:f05:1::700/121\",\r\n \"2603:1030:f05:1::780/122\",\r\n + \ \"2603:1030:f05:402::330/124\",\r\n \"2603:1030:f05:802::210/124\",\r\n + \ \"2603:1030:f05:c02::210/124\",\r\n \"2603:1030:1005::440/122\",\r\n + \ \"2603:1030:1005::500/121\",\r\n \"2603:1030:1005:402::330/124\",\r\n + \ \"2603:1040:5::/121\",\r\n \"2603:1040:5::80/122\",\r\n + \ \"2603:1040:5:1::480/121\",\r\n \"2603:1040:5:1::500/122\",\r\n + \ \"2603:1040:5:1::700/121\",\r\n \"2603:1040:5:1::780/122\",\r\n + \ \"2603:1040:5:402::330/124\",\r\n \"2603:1040:5:802::210/124\",\r\n + \ \"2603:1040:5:c02::210/124\",\r\n \"2603:1040:207::440/122\",\r\n + \ \"2603:1040:207::500/121\",\r\n \"2603:1040:207:402::330/124\",\r\n + \ \"2603:1040:407:1::480/121\",\r\n \"2603:1040:407:1::500/122\",\r\n + \ \"2603:1040:407:1::700/121\",\r\n \"2603:1040:407:1::780/122\",\r\n + \ \"2603:1040:407:402::330/124\",\r\n \"2603:1040:407:802::210/124\",\r\n + \ \"2603:1040:407:c02::210/124\",\r\n \"2603:1040:606::440/122\",\r\n + \ \"2603:1040:606::500/121\",\r\n \"2603:1040:606:402::330/124\",\r\n + \ \"2603:1040:806::440/122\",\r\n \"2603:1040:806::500/121\",\r\n + \ \"2603:1040:806:402::330/124\",\r\n \"2603:1040:904:1::480/121\",\r\n + \ \"2603:1040:904:1::500/122\",\r\n \"2603:1040:904:1::700/121\",\r\n + \ \"2603:1040:904:1::780/122\",\r\n \"2603:1040:904:402::330/124\",\r\n + \ \"2603:1040:904:802::210/124\",\r\n \"2603:1040:904:c02::210/124\",\r\n + \ \"2603:1040:a06::/121\",\r\n \"2603:1040:a06::80/122\",\r\n + \ \"2603:1040:a06:1::480/121\",\r\n \"2603:1040:a06:1::500/122\",\r\n + \ \"2603:1040:a06:1::700/121\",\r\n \"2603:1040:a06:1::780/122\",\r\n + \ \"2603:1040:a06:402::330/124\",\r\n \"2603:1040:a06:802::210/124\",\r\n + \ \"2603:1040:a06:c02::210/124\",\r\n \"2603:1040:b04::440/122\",\r\n + \ \"2603:1040:b04::500/121\",\r\n \"2603:1040:b04:402::330/124\",\r\n + \ \"2603:1040:c06::440/122\",\r\n \"2603:1040:c06::500/121\",\r\n + \ \"2603:1040:c06:402::330/124\",\r\n \"2603:1040:d04::480/121\",\r\n + \ \"2603:1040:d04::500/122\",\r\n \"2603:1040:d04::700/121\",\r\n + \ \"2603:1040:d04::780/122\",\r\n \"2603:1040:d04:400::240/124\",\r\n + \ \"2603:1040:d04:800::340/124\",\r\n \"2603:1040:d04:c02::380/124\",\r\n + \ \"2603:1040:f05:1::480/121\",\r\n \"2603:1040:f05:1::500/122\",\r\n + \ \"2603:1040:f05:1::700/121\",\r\n \"2603:1040:f05:1::780/122\",\r\n + \ \"2603:1040:f05:402::330/124\",\r\n \"2603:1040:f05:802::210/124\",\r\n + \ \"2603:1040:f05:c02::210/124\",\r\n \"2603:1040:1104::600/121\",\r\n + \ \"2603:1040:1104:400::500/124\",\r\n \"2603:1050:6:1::480/121\",\r\n + \ \"2603:1050:6:1::500/122\",\r\n \"2603:1050:6:1::700/121\",\r\n + \ \"2603:1050:6:1::780/122\",\r\n \"2603:1050:6:402::330/124\",\r\n + \ \"2603:1050:6:802::210/124\",\r\n \"2603:1050:6:c02::210/124\",\r\n + \ \"2603:1050:403::480/121\",\r\n \"2603:1050:403::500/122\",\r\n + \ \"2603:1050:403:400::240/124\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"DataFactory.AustraliaEast\",\r\n \"id\": \"DataFactory.AustraliaEast\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"australiaeast\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"DataFactory\",\r\n \"addressPrefixes\": [\r\n \"13.70.74.144/28\",\r\n + \ \"20.37.193.0/25\",\r\n \"20.37.193.128/26\",\r\n \"20.37.198.224/29\",\r\n + \ \"20.53.45.0/24\",\r\n \"20.53.46.0/26\",\r\n \"40.79.163.80/28\",\r\n + \ \"40.79.171.160/28\",\r\n \"2603:1010:6:1::480/121\",\r\n + \ \"2603:1010:6:1::500/122\",\r\n \"2603:1010:6:1::700/121\",\r\n + \ \"2603:1010:6:1::780/122\",\r\n \"2603:1010:6:402::330/124\",\r\n + \ \"2603:1010:6:802::210/124\",\r\n \"2603:1010:6:c02::210/124\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"DataFactory.AustraliaSoutheast\",\r\n + \ \"id\": \"DataFactory.AustraliaSoutheast\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"australiasoutheast\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"DataFactory\",\r\n \"addressPrefixes\": [\r\n \"13.77.53.160/28\",\r\n + \ \"20.42.225.0/25\",\r\n \"20.42.225.128/26\",\r\n \"20.42.230.136/29\",\r\n + \ \"104.46.179.64/26\",\r\n \"104.46.182.0/24\",\r\n \"2603:1010:101::440/122\",\r\n + \ \"2603:1010:101::500/121\",\r\n \"2603:1010:101:402::330/124\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"DataFactory.BrazilSouth\",\r\n + \ \"id\": \"DataFactory.BrazilSouth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"brazilsouth\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"DataFactory\",\r\n \"addressPrefixes\": + [\r\n \"191.233.205.160/28\",\r\n \"191.234.137.32/29\",\r\n + \ \"191.234.142.64/26\",\r\n \"191.234.143.0/24\",\r\n \"191.234.149.0/28\",\r\n + \ \"191.234.157.0/28\",\r\n \"191.235.224.128/25\",\r\n \"191.235.225.0/26\",\r\n + \ \"2603:1050:6:1::480/121\",\r\n \"2603:1050:6:1::500/122\",\r\n + \ \"2603:1050:6:1::700/121\",\r\n \"2603:1050:6:1::780/122\",\r\n + \ \"2603:1050:6:402::330/124\",\r\n \"2603:1050:6:802::210/124\",\r\n + \ \"2603:1050:6:c02::210/124\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"DataFactory.CanadaCentral\",\r\n \"id\": \"DataFactory.CanadaCentral\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"canadacentral\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"DataFactory\",\r\n \"addressPrefixes\": [\r\n \"13.71.175.80/28\",\r\n + \ \"20.38.147.224/28\",\r\n \"52.228.80.128/25\",\r\n \"52.228.81.0/26\",\r\n + \ \"52.228.86.144/29\",\r\n \"52.246.155.224/28\",\r\n \"2603:1030:f05:1::480/121\",\r\n + \ \"2603:1030:f05:1::500/122\",\r\n \"2603:1030:f05:1::700/121\",\r\n + \ \"2603:1030:f05:1::780/122\",\r\n \"2603:1030:f05:402::330/124\",\r\n + \ \"2603:1030:f05:802::210/124\",\r\n \"2603:1030:f05:c02::210/124\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"DataFactory.CanadaEast\",\r\n + \ \"id\": \"DataFactory.CanadaEast\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"canadaeast\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"DataFactory\",\r\n \"addressPrefixes\": + [\r\n \"40.69.108.160/28\",\r\n \"40.69.111.48/28\",\r\n + \ \"40.89.16.128/25\",\r\n \"40.89.17.0/26\",\r\n \"40.89.20.224/29\",\r\n + \ \"2603:1030:1005::440/122\",\r\n \"2603:1030:1005::500/121\",\r\n + \ \"2603:1030:1005:402::330/124\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"DataFactory.CentralIndia\",\r\n \"id\": \"DataFactory.CentralIndia\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"centralindia\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"DataFactory\",\r\n \"addressPrefixes\": [\r\n \"20.43.121.48/28\",\r\n + \ \"20.192.42.0/24\",\r\n \"20.192.43.0/26\",\r\n \"40.80.51.160/28\",\r\n + \ \"52.140.104.128/25\",\r\n \"52.140.105.0/26\",\r\n \"52.140.108.208/29\",\r\n + \ \"2603:1040:a06::/121\",\r\n \"2603:1040:a06::80/122\",\r\n + \ \"2603:1040:a06:1::480/121\",\r\n \"2603:1040:a06:1::500/122\",\r\n + \ \"2603:1040:a06:1::700/121\",\r\n \"2603:1040:a06:1::780/122\",\r\n + \ \"2603:1040:a06:402::330/124\",\r\n \"2603:1040:a06:802::210/124\",\r\n + \ \"2603:1040:a06:c02::210/124\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"DataFactory.CentralUS\",\r\n \"id\": \"DataFactory.CentralUS\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"centralus\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"DataFactory\",\r\n \"addressPrefixes\": [\r\n \"13.89.174.192/28\",\r\n + \ \"20.37.154.0/23\",\r\n \"20.37.156.0/26\",\r\n \"20.40.206.224/29\",\r\n + \ \"20.44.10.64/28\",\r\n \"52.182.141.16/28\",\r\n \"2603:1030:10:1::480/121\",\r\n + \ \"2603:1030:10:1::500/122\",\r\n \"2603:1030:10:1::700/121\",\r\n + \ \"2603:1030:10:1::780/122\",\r\n \"2603:1030:10:402::330/124\",\r\n + \ \"2603:1030:10:802::210/124\",\r\n \"2603:1030:10:c02::210/124\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"DataFactory.EastAsia\",\r\n + \ \"id\": \"DataFactory.EastAsia\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"eastasia\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"DataFactory\",\r\n \"addressPrefixes\": + [\r\n \"13.75.39.112/28\",\r\n \"20.189.104.128/25\",\r\n + \ \"20.189.106.0/26\",\r\n \"20.189.109.232/29\",\r\n \"2603:1040:207::440/122\",\r\n + \ \"2603:1040:207::500/121\",\r\n \"2603:1040:207:402::330/124\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"DataFactory.EastUS\",\r\n + \ \"id\": \"DataFactory.EastUS\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"eastus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"DataFactory\",\r\n \"addressPrefixes\": + [\r\n \"20.42.2.0/23\",\r\n \"20.42.4.0/26\",\r\n \"20.42.64.0/28\",\r\n + \ \"20.49.111.0/29\",\r\n \"40.71.14.32/28\",\r\n \"40.78.229.96/28\",\r\n + \ \"2603:1030:210:1::480/121\",\r\n \"2603:1030:210:1::500/122\",\r\n + \ \"2603:1030:210:1::700/121\",\r\n \"2603:1030:210:1::780/122\",\r\n + \ \"2603:1030:210:402::330/124\",\r\n \"2603:1030:210:802::210/124\",\r\n + \ \"2603:1030:210:c02::210/124\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"DataFactory.EastUS2\",\r\n \"id\": \"DataFactory.EastUS2\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"eastus2\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"DataFactory\",\r\n \"addressPrefixes\": [\r\n \"20.41.2.0/23\",\r\n + \ \"20.41.4.0/26\",\r\n \"20.44.17.80/28\",\r\n \"20.49.102.16/29\",\r\n + \ \"40.70.148.160/28\",\r\n \"52.167.107.224/28\",\r\n \"2603:1030:40c:1::480/121\",\r\n + \ \"2603:1030:40c:1::500/122\",\r\n \"2603:1030:40c:1::700/121\",\r\n + \ \"2603:1030:40c:1::780/122\",\r\n \"2603:1030:40c:402::330/124\",\r\n + \ \"2603:1030:40c:802::210/124\",\r\n \"2603:1030:40c:c02::210/124\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"DataFactory.EastUS2EUAP\",\r\n + \ \"id\": \"DataFactory.EastUS2EUAP\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"eastus2euap\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"DataFactory\",\r\n \"addressPrefixes\": + [\r\n \"20.39.8.96/27\",\r\n \"20.39.8.128/26\",\r\n \"20.39.15.0/29\",\r\n + \ \"40.74.149.64/28\",\r\n \"40.75.35.144/28\",\r\n \"52.138.92.128/28\",\r\n + \ \"2603:1030:40b:1::480/121\",\r\n \"2603:1030:40b:1::500/122\",\r\n + \ \"2603:1030:40b:400::b30/124\",\r\n \"2603:1030:40b:800::210/124\",\r\n + \ \"2603:1030:40b:c00::210/124\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"DataFactory.FranceCentral\",\r\n \"id\": \"DataFactory.FranceCentral\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"centralfrance\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"DataFactory\",\r\n \"addressPrefixes\": [\r\n \"20.43.40.128/25\",\r\n + \ \"20.43.41.0/26\",\r\n \"20.43.44.208/29\",\r\n \"40.79.132.112/28\",\r\n + \ \"40.79.139.80/28\",\r\n \"40.79.146.240/28\",\r\n \"2603:1020:805:1::480/121\",\r\n + \ \"2603:1020:805:1::500/122\",\r\n \"2603:1020:805:1::700/121\",\r\n + \ \"2603:1020:805:1::780/122\",\r\n \"2603:1020:805:402::330/124\",\r\n + \ \"2603:1020:805:802::210/124\",\r\n \"2603:1020:805:c02::210/124\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"DataFactory.GermanyWestCentral\",\r\n + \ \"id\": \"DataFactory.GermanyWestCentral\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"germanywc\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"DataFactory\",\r\n \"addressPrefixes\": + [\r\n \"20.52.64.0/28\",\r\n \"51.116.147.32/28\",\r\n \"51.116.147.64/26\",\r\n + \ \"51.116.147.128/25\",\r\n \"51.116.245.112/28\",\r\n \"51.116.245.176/28\",\r\n + \ \"51.116.253.48/28\",\r\n \"51.116.253.144/28\",\r\n \"2603:1020:c04:1::480/121\",\r\n + \ \"2603:1020:c04:1::500/122\",\r\n \"2603:1020:c04:1::700/121\",\r\n + \ \"2603:1020:c04:1::780/122\",\r\n \"2603:1020:c04:402::330/124\",\r\n + \ \"2603:1020:c04:802::210/124\",\r\n \"2603:1020:c04:c02::210/124\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"DataFactory.JapanEast\",\r\n + \ \"id\": \"DataFactory.JapanEast\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"japaneast\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"DataFactory\",\r\n \"addressPrefixes\": + [\r\n \"13.78.109.192/28\",\r\n \"20.43.64.128/25\",\r\n + \ \"20.43.65.0/26\",\r\n \"20.43.70.120/29\",\r\n \"20.191.164.0/24\",\r\n + \ \"20.191.165.0/26\",\r\n \"40.79.187.208/28\",\r\n \"40.79.195.224/28\",\r\n + \ \"2603:1040:407:1::480/121\",\r\n \"2603:1040:407:1::500/122\",\r\n + \ \"2603:1040:407:1::700/121\",\r\n \"2603:1040:407:1::780/122\",\r\n + \ \"2603:1040:407:402::330/124\",\r\n \"2603:1040:407:802::210/124\",\r\n + \ \"2603:1040:407:c02::210/124\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"DataFactory.JapanWest\",\r\n \"id\": \"DataFactory.JapanWest\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"japanwest\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"DataFactory\",\r\n \"addressPrefixes\": [\r\n \"40.80.56.128/25\",\r\n + \ \"40.80.57.0/26\",\r\n \"40.80.62.24/29\",\r\n \"40.80.176.96/28\",\r\n + \ \"2603:1040:606::440/122\",\r\n \"2603:1040:606::500/121\",\r\n + \ \"2603:1040:606:402::330/124\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"DataFactory.KoreaCentral\",\r\n \"id\": \"DataFactory.KoreaCentral\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"3\",\r\n \"region\": \"koreacentral\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"DataFactory\",\r\n \"addressPrefixes\": [\r\n \"20.41.64.128/25\",\r\n + \ \"20.41.65.0/26\",\r\n \"20.41.69.8/29\",\r\n \"20.44.27.240/28\",\r\n + \ \"20.194.67.192/28\",\r\n \"20.194.78.0/23\",\r\n \"52.231.20.64/28\",\r\n + \ \"2603:1040:f05:1::480/121\",\r\n \"2603:1040:f05:1::500/122\",\r\n + \ \"2603:1040:f05:1::700/121\",\r\n \"2603:1040:f05:1::780/122\",\r\n + \ \"2603:1040:f05:402::330/124\",\r\n \"2603:1040:f05:802::210/124\",\r\n + \ \"2603:1040:f05:c02::210/124\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"DataFactory.KoreaSouth\",\r\n \"id\": \"DataFactory.KoreaSouth\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"koreasouth\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"DataFactory\",\r\n \"addressPrefixes\": [\r\n \"40.80.168.128/25\",\r\n + \ \"40.80.169.0/26\",\r\n \"40.80.172.112/29\",\r\n \"52.231.148.160/28\",\r\n + \ \"52.231.151.32/28\"\r\n ]\r\n }\r\n },\r\n {\r\n + \ \"name\": \"DataFactory.NorthCentralUS\",\r\n \"id\": \"DataFactory.NorthCentralUS\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"northcentralus\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"DataFactory\",\r\n \"addressPrefixes\": [\r\n \"20.49.114.24/29\",\r\n + \ \"20.49.118.128/25\",\r\n \"40.80.185.0/24\",\r\n \"40.80.186.0/25\",\r\n + \ \"52.162.111.48/28\",\r\n \"2603:1030:608::440/122\",\r\n + \ \"2603:1030:608::500/121\",\r\n \"2603:1030:608:402::330/124\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"DataFactory.NorthEurope\",\r\n + \ \"id\": \"DataFactory.NorthEurope\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"northeurope\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"DataFactory\",\r\n \"addressPrefixes\": + [\r\n \"13.69.230.96/28\",\r\n \"13.74.108.224/28\",\r\n + \ \"20.38.80.192/26\",\r\n \"20.38.82.0/23\",\r\n \"20.50.68.56/29\",\r\n + \ \"52.138.229.32/28\",\r\n \"2603:1020:5:1::480/121\",\r\n + \ \"2603:1020:5:1::500/122\",\r\n \"2603:1020:5:1::700/121\",\r\n + \ \"2603:1020:5:1::780/122\",\r\n \"2603:1020:5:402::330/124\",\r\n + \ \"2603:1020:5:802::210/124\",\r\n \"2603:1020:5:c02::210/124\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"DataFactory.NorwayEast\",\r\n + \ \"id\": \"DataFactory.NorwayEast\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"norwaye\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"DataFactory\",\r\n \"addressPrefixes\": + [\r\n \"51.120.44.208/28\",\r\n \"51.120.45.64/26\",\r\n + \ \"51.120.45.128/25\",\r\n \"51.120.100.224/28\",\r\n \"51.120.109.96/28\",\r\n + \ \"51.120.213.32/28\",\r\n \"51.120.238.0/23\",\r\n \"2603:1020:e04:1::480/121\",\r\n + \ \"2603:1020:e04:1::500/122\",\r\n \"2603:1020:e04:1::700/121\",\r\n + \ \"2603:1020:e04:1::780/122\",\r\n \"2603:1020:e04:402::330/124\",\r\n + \ \"2603:1020:e04:802::210/124\",\r\n \"2603:1020:e04:c02::210/124\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"DataFactory.SouthAfricaNorth\",\r\n + \ \"id\": \"DataFactory.SouthAfricaNorth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"southafricanorth\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"DataFactory\",\r\n \"addressPrefixes\": [\r\n \"102.133.124.104/29\",\r\n + \ \"102.133.156.136/29\",\r\n \"102.133.216.128/25\",\r\n + \ \"102.133.217.0/26\",\r\n \"102.133.218.248/29\",\r\n \"102.133.251.184/29\",\r\n + \ \"2603:1000:104::/121\",\r\n \"2603:1000:104::80/122\",\r\n + \ \"2603:1000:104::1c0/122\",\r\n \"2603:1000:104::280/121\",\r\n + \ \"2603:1000:104:1::480/121\",\r\n \"2603:1000:104:1::500/122\",\r\n + \ \"2603:1000:104:1::700/121\",\r\n \"2603:1000:104:1::780/122\",\r\n + \ \"2603:1000:104:402::330/124\",\r\n \"2603:1000:104:802::210/124\",\r\n + \ \"2603:1000:104:c02::210/124\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"DataFactory.SouthCentralUS\",\r\n \"id\": + \"DataFactory.SouthCentralUS\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\": + \"southcentralus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"DataFactory\",\r\n \"addressPrefixes\": + [\r\n \"13.73.244.32/28\",\r\n \"13.73.253.96/29\",\r\n + \ \"13.104.248.64/27\",\r\n \"13.104.252.208/28\",\r\n \"20.45.123.160/28\",\r\n + \ \"20.65.130.192/26\",\r\n \"20.65.131.0/24\",\r\n \"40.119.9.0/25\",\r\n + \ \"40.119.9.128/26\",\r\n \"2603:1030:807:1::480/121\",\r\n + \ \"2603:1030:807:1::500/122\",\r\n \"2603:1030:807:1::700/121\",\r\n + \ \"2603:1030:807:1::780/122\",\r\n \"2603:1030:807:402::330/124\",\r\n + \ \"2603:1030:807:802::210/124\",\r\n \"2603:1030:807:c02::210/124\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"DataFactory.SoutheastAsia\",\r\n + \ \"id\": \"DataFactory.SoutheastAsia\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"southeastasia\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"DataFactory\",\r\n \"addressPrefixes\": + [\r\n \"13.67.10.208/28\",\r\n \"20.43.128.128/25\",\r\n + \ \"20.43.130.0/26\",\r\n \"20.195.64.0/25\",\r\n \"23.98.83.112/28\",\r\n + \ \"23.98.106.128/29\",\r\n \"23.98.109.64/26\",\r\n \"23.98.109.128/25\",\r\n + \ \"40.78.236.176/28\",\r\n \"2603:1040:5::/121\",\r\n \"2603:1040:5::80/122\",\r\n + \ \"2603:1040:5:1::480/121\",\r\n \"2603:1040:5:1::500/122\",\r\n + \ \"2603:1040:5:1::700/121\",\r\n \"2603:1040:5:1::780/122\",\r\n + \ \"2603:1040:5:402::330/124\",\r\n \"2603:1040:5:802::210/124\",\r\n + \ \"2603:1040:5:c02::210/124\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"DataFactory.SouthIndia\",\r\n \"id\": \"DataFactory.SouthIndia\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"southindia\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"DataFactory\",\r\n \"addressPrefixes\": [\r\n \"20.41.192.128/25\",\r\n + \ \"20.41.193.0/26\",\r\n \"20.41.197.112/29\",\r\n \"20.41.198.0/25\",\r\n + \ \"20.41.198.128/26\",\r\n \"20.192.184.96/28\",\r\n \"40.78.196.128/28\",\r\n + \ \"2603:1040:c06::440/122\",\r\n \"2603:1040:c06::500/121\",\r\n + \ \"2603:1040:c06:402::330/124\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"DataFactory.SwitzerlandNorth\",\r\n \"id\": + \"DataFactory.SwitzerlandNorth\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\": + \"switzerlandn\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"DataFactory\",\r\n \"addressPrefixes\": + [\r\n \"51.107.51.40/29\",\r\n \"51.107.52.0/25\",\r\n \"51.107.52.128/26\",\r\n + \ \"51.107.128.0/28\",\r\n \"2603:1020:a04:1::480/121\",\r\n + \ \"2603:1020:a04:1::500/122\",\r\n \"2603:1020:a04:1::700/121\",\r\n + \ \"2603:1020:a04:1::780/122\",\r\n \"2603:1020:a04:402::330/124\",\r\n + \ \"2603:1020:a04:802::210/124\",\r\n \"2603:1020:a04:c02::210/124\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"DataFactory.UAENorth\",\r\n + \ \"id\": \"DataFactory.UAENorth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"uaenorth\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"DataFactory\",\r\n \"addressPrefixes\": + [\r\n \"20.38.141.16/28\",\r\n \"20.38.141.128/25\",\r\n + \ \"20.38.142.0/26\",\r\n \"20.38.152.0/28\",\r\n \"40.120.64.112/28\",\r\n + \ \"40.120.75.112/28\",\r\n \"2603:1040:904:1::480/121\",\r\n + \ \"2603:1040:904:1::500/122\",\r\n \"2603:1040:904:1::700/121\",\r\n + \ \"2603:1040:904:1::780/122\",\r\n \"2603:1040:904:402::330/124\",\r\n + \ \"2603:1040:904:802::210/124\",\r\n \"2603:1040:904:c02::210/124\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"DataFactory.UKSouth\",\r\n + \ \"id\": \"DataFactory.UKSouth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"uksouth\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"DataFactory\",\r\n \"addressPrefixes\": + [\r\n \"51.104.9.32/28\",\r\n \"51.104.24.128/25\",\r\n + \ \"51.104.25.0/26\",\r\n \"51.104.29.216/29\",\r\n \"51.105.67.240/28\",\r\n + \ \"51.105.75.240/28\",\r\n \"2603:1020:705:1::480/121\",\r\n + \ \"2603:1020:705:1::500/122\",\r\n \"2603:1020:705:1::700/121\",\r\n + \ \"2603:1020:705:1::780/122\",\r\n \"2603:1020:705:402::330/124\",\r\n + \ \"2603:1020:705:802::210/124\",\r\n \"2603:1020:705:c02::210/124\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"DataFactory.UKWest\",\r\n + \ \"id\": \"DataFactory.UKWest\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"ukwest\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"DataFactory\",\r\n \"addressPrefixes\": + [\r\n \"51.137.160.128/25\",\r\n \"51.137.161.0/26\",\r\n + \ \"51.137.164.192/29\",\r\n \"51.140.212.112/28\",\r\n \"2603:1020:605::440/122\",\r\n + \ \"2603:1020:605::500/121\",\r\n \"2603:1020:605:402::330/124\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"DataFactory.WestCentralUS\",\r\n + \ \"id\": \"DataFactory.WestCentralUS\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"westcentralus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"DataFactory\",\r\n \"addressPrefixes\": + [\r\n \"13.71.199.0/28\",\r\n \"52.150.136.192/26\",\r\n + \ \"52.150.137.128/25\",\r\n \"52.150.154.16/29\",\r\n \"52.150.155.0/24\",\r\n + \ \"52.150.157.160/29\",\r\n \"52.150.157.192/26\",\r\n \"2603:1030:b04::440/122\",\r\n + \ \"2603:1030:b04::500/121\",\r\n \"2603:1030:b04:402::330/124\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"DataFactory.WestEurope\",\r\n + \ \"id\": \"DataFactory.WestEurope\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"westeurope\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"DataFactory\",\r\n \"addressPrefixes\": + [\r\n \"13.69.67.192/28\",\r\n \"13.69.107.112/28\",\r\n + \ \"13.69.112.128/28\",\r\n \"40.74.24.192/26\",\r\n \"40.74.26.0/23\",\r\n + \ \"40.113.176.232/29\",\r\n \"52.236.187.112/28\",\r\n \"2603:1020:206:1::480/121\",\r\n + \ \"2603:1020:206:1::500/122\",\r\n \"2603:1020:206:1::700/121\",\r\n + \ \"2603:1020:206:1::780/122\",\r\n \"2603:1020:206:402::330/124\",\r\n + \ \"2603:1020:206:802::210/124\",\r\n \"2603:1020:206:c02::210/124\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"DataFactory.WestUS\",\r\n + \ \"id\": \"DataFactory.WestUS\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"westus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"DataFactory\",\r\n \"addressPrefixes\": + [\r\n \"13.86.219.208/28\",\r\n \"40.82.249.64/26\",\r\n + \ \"40.82.250.0/23\",\r\n \"52.250.228.0/29\",\r\n \"2603:1030:a07::440/122\",\r\n + \ \"2603:1030:a07::500/121\",\r\n \"2603:1030:a07:402::9b0/124\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"DataFactory.WestUS2\",\r\n + \ \"id\": \"DataFactory.WestUS2\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"westus2\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"DataFactory\",\r\n \"addressPrefixes\": [\r\n \"13.66.143.128/28\",\r\n + \ \"20.42.129.64/26\",\r\n \"20.42.132.0/23\",\r\n \"40.64.132.232/29\",\r\n + \ \"40.78.245.16/28\",\r\n \"40.78.251.192/28\",\r\n \"2603:1030:c06:1::480/121\",\r\n + \ \"2603:1030:c06:1::500/122\",\r\n \"2603:1030:c06:400::b30/124\",\r\n + \ \"2603:1030:c06:802::210/124\",\r\n \"2603:1030:c06:c02::210/124\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"Dynamics365ForMarketingEmail\",\r\n + \ \"id\": \"Dynamics365ForMarketingEmail\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"Dynamics365ForMarketingEmail\",\r\n + \ \"addressPrefixes\": [\r\n \"13.66.138.128/25\",\r\n \"13.69.226.128/25\",\r\n + \ \"13.71.171.0/24\",\r\n \"13.74.106.128/25\",\r\n \"13.75.35.0/24\",\r\n + \ \"13.77.51.0/24\",\r\n \"13.78.107.0/24\",\r\n \"40.78.242.0/25\",\r\n + \ \"40.79.138.192/26\",\r\n \"40.120.64.224/27\",\r\n \"51.107.129.64/27\",\r\n + \ \"51.140.147.0/24\",\r\n \"65.52.252.128/27\",\r\n \"102.133.251.96/27\",\r\n + \ \"104.211.80.0/24\",\r\n \"191.233.202.0/24\"\r\n ]\r\n + \ }\r\n },\r\n {\r\n \"name\": \"Dynamics365ForMarketingEmail.AustraliaSoutheast\",\r\n + \ \"id\": \"Dynamics365ForMarketingEmail.AustraliaSoutheast\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"australiasoutheast\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"Dynamics365ForMarketingEmail\",\r\n \"addressPrefixes\": [\r\n \"13.77.51.0/24\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"Dynamics365ForMarketingEmail.BrazilSouth\",\r\n + \ \"id\": \"Dynamics365ForMarketingEmail.BrazilSouth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"brazilsouth\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"Dynamics365ForMarketingEmail\",\r\n + \ \"addressPrefixes\": [\r\n \"191.233.202.0/24\"\r\n ]\r\n + \ }\r\n },\r\n {\r\n \"name\": \"Dynamics365ForMarketingEmail.CanadaCentral\",\r\n + \ \"id\": \"Dynamics365ForMarketingEmail.CanadaCentral\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"canadacentral\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"Dynamics365ForMarketingEmail\",\r\n + \ \"addressPrefixes\": [\r\n \"13.71.171.0/24\"\r\n ]\r\n + \ }\r\n },\r\n {\r\n \"name\": \"Dynamics365ForMarketingEmail.CentralIndia\",\r\n + \ \"id\": \"Dynamics365ForMarketingEmail.CentralIndia\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"centralindia\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"Dynamics365ForMarketingEmail\",\r\n + \ \"addressPrefixes\": [\r\n \"104.211.80.0/24\"\r\n ]\r\n + \ }\r\n },\r\n {\r\n \"name\": \"Dynamics365ForMarketingEmail.EastAsia\",\r\n + \ \"id\": \"Dynamics365ForMarketingEmail.EastAsia\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"eastasia\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"Dynamics365ForMarketingEmail\",\r\n + \ \"addressPrefixes\": [\r\n \"13.75.35.0/24\"\r\n ]\r\n + \ }\r\n },\r\n {\r\n \"name\": \"Dynamics365ForMarketingEmail.FranceCentral\",\r\n + \ \"id\": \"Dynamics365ForMarketingEmail.FranceCentral\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"centralfrance\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"Dynamics365ForMarketingEmail\",\r\n + \ \"addressPrefixes\": [\r\n \"40.79.138.192/26\"\r\n ]\r\n + \ }\r\n },\r\n {\r\n \"name\": \"Dynamics365ForMarketingEmail.JapanEast\",\r\n + \ \"id\": \"Dynamics365ForMarketingEmail.JapanEast\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"japaneast\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"Dynamics365ForMarketingEmail\",\r\n + \ \"addressPrefixes\": [\r\n \"13.78.107.0/24\"\r\n ]\r\n + \ }\r\n },\r\n {\r\n \"name\": \"Dynamics365ForMarketingEmail.NorthEurope\",\r\n + \ \"id\": \"Dynamics365ForMarketingEmail.NorthEurope\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"northeurope\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"Dynamics365ForMarketingEmail\",\r\n + \ \"addressPrefixes\": [\r\n \"13.69.226.128/25\",\r\n \"13.74.106.128/25\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"Dynamics365ForMarketingEmail.SouthAfricaNorth\",\r\n + \ \"id\": \"Dynamics365ForMarketingEmail.SouthAfricaNorth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"southafricanorth\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"Dynamics365ForMarketingEmail\",\r\n \"addressPrefixes\": [\r\n \"102.133.251.96/27\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"Dynamics365ForMarketingEmail.UAENorth\",\r\n + \ \"id\": \"Dynamics365ForMarketingEmail.UAENorth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"uaenorth\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"Dynamics365ForMarketingEmail\",\r\n + \ \"addressPrefixes\": [\r\n \"40.120.64.224/27\",\r\n \"65.52.252.128/27\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"Dynamics365ForMarketingEmail.UKSouth\",\r\n + \ \"id\": \"Dynamics365ForMarketingEmail.UKSouth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"uksouth\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"Dynamics365ForMarketingEmail\",\r\n + \ \"addressPrefixes\": [\r\n \"51.140.147.0/24\"\r\n ]\r\n + \ }\r\n },\r\n {\r\n \"name\": \"Dynamics365ForMarketingEmail.WestUS2\",\r\n + \ \"id\": \"Dynamics365ForMarketingEmail.WestUS2\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"westus2\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"Dynamics365ForMarketingEmail\",\r\n \"addressPrefixes\": [\r\n \"13.66.138.128/25\",\r\n + \ \"40.78.242.0/25\"\r\n ]\r\n }\r\n },\r\n {\r\n + \ \"name\": \"EventHub\",\r\n \"id\": \"EventHub\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"4\",\r\n + \ \"region\": \"\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\",\r\n + \ \"VSE\"\r\n ],\r\n \"systemService\": \"AzureEventHub\",\r\n + \ \"addressPrefixes\": [\r\n \"13.64.195.117/32\",\r\n \"13.65.209.24/32\",\r\n + \ \"13.66.138.64/28\",\r\n \"13.66.145.128/26\",\r\n \"13.66.149.0/26\",\r\n + \ \"13.66.228.204/32\",\r\n \"13.66.230.42/32\",\r\n \"13.67.8.64/27\",\r\n + \ \"13.67.20.64/26\",\r\n \"13.68.20.101/32\",\r\n \"13.68.21.169/32\",\r\n + \ \"13.68.77.215/32\",\r\n \"13.69.64.0/26\",\r\n \"13.69.106.0/26\",\r\n + \ \"13.69.111.128/26\",\r\n \"13.69.227.0/26\",\r\n \"13.69.239.0/26\",\r\n + \ \"13.69.253.135/32\",\r\n \"13.69.255.140/32\",\r\n \"13.70.72.0/28\",\r\n + \ \"13.70.79.16/28\",\r\n \"13.70.114.64/26\",\r\n \"13.71.30.214/32\",\r\n + \ \"13.71.123.78/32\",\r\n \"13.71.154.11/32\",\r\n \"13.71.170.16/28\",\r\n + \ \"13.71.177.128/26\",\r\n \"13.71.194.64/27\",\r\n \"13.72.254.134/32\",\r\n + \ \"13.74.107.0/26\",\r\n \"13.75.34.64/26\",\r\n \"13.76.179.223/32\",\r\n + \ \"13.76.216.217/32\",\r\n \"13.77.50.32/27\",\r\n \"13.78.106.64/28\",\r\n + \ \"13.78.149.209/32\",\r\n \"13.78.150.233/32\",\r\n \"13.78.191.44/32\",\r\n + \ \"13.84.145.196/32\",\r\n \"13.87.34.139/32\",\r\n \"13.87.34.243/32\",\r\n + \ \"13.87.56.32/27\",\r\n \"13.87.102.63/32\",\r\n \"13.87.102.68/32\",\r\n + \ \"13.87.122.32/27\",\r\n \"13.88.20.117/32\",\r\n \"13.88.26.28/32\",\r\n + \ \"13.89.58.37/32\",\r\n \"13.89.59.231/32\",\r\n \"13.89.170.128/26\",\r\n + \ \"13.89.178.112/28\",\r\n \"13.90.83.7/32\",\r\n \"13.90.208.184/32\",\r\n + \ \"13.91.61.11/32\",\r\n \"13.92.124.151/32\",\r\n \"13.92.180.208/32\",\r\n + \ \"13.92.190.184/32\",\r\n \"13.93.226.138/32\",\r\n \"13.94.47.61/32\",\r\n + \ \"20.36.46.142/32\",\r\n \"20.36.74.130/32\",\r\n \"20.36.106.192/27\",\r\n + \ \"20.36.114.32/27\",\r\n \"20.36.144.64/26\",\r\n \"20.37.74.0/27\",\r\n + \ \"20.38.146.64/26\",\r\n \"20.42.68.64/26\",\r\n \"20.42.74.0/26\",\r\n + \ \"20.42.131.16/28\",\r\n \"20.42.131.64/26\",\r\n \"20.43.126.64/26\",\r\n + \ \"20.44.2.128/26\",\r\n \"20.44.13.64/26\",\r\n \"20.44.26.64/26\",\r\n + \ \"20.44.31.128/26\",\r\n \"20.45.122.64/26\",\r\n \"20.45.126.192/26\",\r\n + \ \"20.47.216.64/26\",\r\n \"20.49.93.64/27\",\r\n \"20.49.93.128/27\",\r\n + \ \"20.49.95.128/26\",\r\n \"20.50.72.64/26\",\r\n \"20.50.80.64/26\",\r\n + \ \"20.50.201.64/26\",\r\n \"20.52.64.128/26\",\r\n \"20.72.27.192/26\",\r\n + \ \"20.83.192.0/26\",\r\n \"20.89.0.64/26\",\r\n \"20.150.160.224/27\",\r\n + \ \"20.150.170.160/27\",\r\n \"20.150.175.64/26\",\r\n \"20.150.178.64/26\",\r\n + \ \"20.150.182.0/27\",\r\n \"20.150.186.64/26\",\r\n \"20.150.189.128/26\",\r\n + \ \"20.151.32.64/26\",\r\n \"20.192.33.64/26\",\r\n \"20.192.98.64/26\",\r\n + \ \"20.192.102.0/26\",\r\n \"20.192.161.64/27\",\r\n \"20.192.225.160/27\",\r\n + \ \"20.192.234.32/27\",\r\n \"20.193.202.32/27\",\r\n \"20.193.204.192/26\",\r\n + \ \"20.194.68.192/26\",\r\n \"20.194.80.0/26\",\r\n \"20.194.128.192/26\",\r\n + \ \"20.195.137.192/26\",\r\n \"20.195.152.64/26\",\r\n \"23.96.214.181/32\",\r\n + \ \"23.96.253.236/32\",\r\n \"23.97.67.90/32\",\r\n \"23.97.97.36/32\",\r\n + \ \"23.97.103.3/32\",\r\n \"23.97.120.51/32\",\r\n \"23.97.226.21/32\",\r\n + \ \"23.98.64.92/32\",\r\n \"23.98.65.24/32\",\r\n \"23.98.82.64/27\",\r\n + \ \"23.98.87.192/26\",\r\n \"23.98.112.192/26\",\r\n \"23.99.7.105/32\",\r\n + \ \"23.99.54.235/32\",\r\n \"23.99.60.253/32\",\r\n \"23.99.80.186/32\",\r\n + \ \"23.99.118.48/32\",\r\n \"23.99.128.69/32\",\r\n \"23.99.129.170/32\",\r\n + \ \"23.99.192.254/32\",\r\n \"23.99.196.56/32\",\r\n \"23.99.228.174/32\",\r\n + \ \"23.100.14.185/32\",\r\n \"23.100.100.84/32\",\r\n \"23.101.3.68/32\",\r\n + \ \"23.101.8.229/32\",\r\n \"23.102.0.186/32\",\r\n \"23.102.0.239/32\",\r\n + \ \"23.102.53.113/32\",\r\n \"23.102.128.15/32\",\r\n \"23.102.160.39/32\",\r\n + \ \"23.102.161.227/32\",\r\n \"23.102.163.4/32\",\r\n \"23.102.165.127/32\",\r\n + \ \"23.102.167.73/32\",\r\n \"23.102.180.26/32\",\r\n \"23.102.234.49/32\",\r\n + \ \"40.64.113.64/26\",\r\n \"40.67.58.128/26\",\r\n \"40.67.72.64/26\",\r\n + \ \"40.68.35.230/32\",\r\n \"40.68.39.15/32\",\r\n \"40.68.93.145/32\",\r\n + \ \"40.68.205.113/32\",\r\n \"40.68.217.242/32\",\r\n \"40.69.29.216/32\",\r\n + \ \"40.69.106.32/27\",\r\n \"40.69.217.246/32\",\r\n \"40.70.78.154/32\",\r\n + \ \"40.70.146.0/26\",\r\n \"40.71.10.128/26\",\r\n \"40.71.100.98/32\",\r\n + \ \"40.74.100.0/27\",\r\n \"40.74.141.187/32\",\r\n \"40.74.146.16/28\",\r\n + \ \"40.74.151.0/26\",\r\n \"40.75.34.0/28\",\r\n \"40.76.29.197/32\",\r\n + \ \"40.76.40.11/32\",\r\n \"40.76.194.119/32\",\r\n \"40.78.110.196/32\",\r\n + \ \"40.78.194.32/27\",\r\n \"40.78.202.32/27\",\r\n \"40.78.226.128/26\",\r\n + \ \"40.78.234.0/27\",\r\n \"40.78.242.128/28\",\r\n \"40.78.247.0/26\",\r\n + \ \"40.78.250.64/28\",\r\n \"40.78.253.128/26\",\r\n \"40.79.44.59/32\",\r\n + \ \"40.79.74.86/32\",\r\n \"40.79.130.16/28\",\r\n \"40.79.138.0/28\",\r\n + \ \"40.79.142.0/26\",\r\n \"40.79.146.0/28\",\r\n \"40.79.149.64/26\",\r\n + \ \"40.79.155.0/26\",\r\n \"40.79.162.0/28\",\r\n \"40.79.166.192/26\",\r\n + \ \"40.79.170.32/28\",\r\n \"40.79.174.128/26\",\r\n \"40.79.178.32/27\",\r\n + \ \"40.79.186.32/27\",\r\n \"40.79.194.192/26\",\r\n \"40.80.50.64/26\",\r\n + \ \"40.83.191.202/32\",\r\n \"40.83.222.100/32\",\r\n \"40.84.150.241/32\",\r\n + \ \"40.84.185.67/32\",\r\n \"40.85.226.62/32\",\r\n \"40.85.229.32/32\",\r\n + \ \"40.86.77.12/32\",\r\n \"40.86.102.100/32\",\r\n \"40.86.176.23/32\",\r\n + \ \"40.86.225.142/32\",\r\n \"40.86.230.119/32\",\r\n \"40.89.122.0/26\",\r\n + \ \"40.112.185.115/32\",\r\n \"40.112.213.11/32\",\r\n \"40.112.242.0/25\",\r\n + \ \"40.115.79.2/32\",\r\n \"40.117.88.66/32\",\r\n \"40.120.75.64/27\",\r\n + \ \"40.120.78.0/26\",\r\n \"40.121.84.50/32\",\r\n \"40.121.141.232/32\",\r\n + \ \"40.121.148.193/32\",\r\n \"40.122.173.108/32\",\r\n \"40.122.213.155/32\",\r\n + \ \"40.124.65.64/26\",\r\n \"40.127.83.123/32\",\r\n \"40.127.132.254/32\",\r\n + \ \"51.11.192.128/26\",\r\n \"51.12.98.160/27\",\r\n \"51.12.102.64/26\",\r\n + \ \"51.12.202.160/27\",\r\n \"51.12.206.64/26\",\r\n \"51.12.226.64/26\",\r\n + \ \"51.12.234.64/26\",\r\n \"51.13.0.192/26\",\r\n \"51.105.66.64/26\",\r\n + \ \"51.105.71.0/26\",\r\n \"51.105.74.64/26\",\r\n \"51.107.58.128/27\",\r\n + \ \"51.107.129.0/26\",\r\n \"51.107.154.128/27\",\r\n \"51.116.58.128/27\",\r\n + \ \"51.116.154.192/27\",\r\n \"51.116.242.64/26\",\r\n \"51.116.245.192/27\",\r\n + \ \"51.116.246.192/26\",\r\n \"51.116.250.64/26\",\r\n \"51.116.254.0/26\",\r\n + \ \"51.120.98.128/27\",\r\n \"51.120.106.64/26\",\r\n \"51.120.210.64/26\",\r\n + \ \"51.120.218.160/27\",\r\n \"51.132.192.192/26\",\r\n \"51.140.80.99/32\",\r\n + \ \"51.140.87.93/32\",\r\n \"51.140.125.8/32\",\r\n \"51.140.146.32/28\",\r\n + \ \"51.140.149.192/26\",\r\n \"51.140.189.52/32\",\r\n \"51.140.189.108/32\",\r\n + \ \"51.140.210.32/27\",\r\n \"51.141.14.113/32\",\r\n \"51.141.14.168/32\",\r\n + \ \"51.141.50.179/32\",\r\n \"51.144.238.23/32\",\r\n \"52.136.136.62/32\",\r\n + \ \"52.138.90.0/28\",\r\n \"52.138.147.148/32\",\r\n \"52.138.226.0/26\",\r\n + \ \"52.143.136.55/32\",\r\n \"52.151.58.121/32\",\r\n \"52.161.19.160/32\",\r\n + \ \"52.161.24.64/32\",\r\n \"52.162.106.64/26\",\r\n \"52.165.34.144/32\",\r\n + \ \"52.165.179.109/32\",\r\n \"52.165.235.119/32\",\r\n \"52.165.237.8/32\",\r\n + \ \"52.167.106.0/26\",\r\n \"52.167.109.192/26\",\r\n \"52.167.145.0/26\",\r\n + \ \"52.168.14.144/32\",\r\n \"52.168.66.180/32\",\r\n \"52.168.117.0/26\",\r\n + \ \"52.168.146.69/32\",\r\n \"52.168.147.11/32\",\r\n \"52.169.18.8/32\",\r\n + \ \"52.172.221.245/32\",\r\n \"52.172.223.211/32\",\r\n \"52.173.199.106/32\",\r\n + \ \"52.174.243.57/32\",\r\n \"52.175.35.235/32\",\r\n \"52.176.47.198/32\",\r\n + \ \"52.178.17.128/26\",\r\n \"52.178.78.61/32\",\r\n \"52.178.211.227/32\",\r\n + \ \"52.179.6.240/32\",\r\n \"52.179.8.35/32\",\r\n \"52.179.157.59/32\",\r\n + \ \"52.180.180.228/32\",\r\n \"52.180.182.75/32\",\r\n \"52.182.138.128/26\",\r\n + \ \"52.182.143.64/26\",\r\n \"52.183.46.73/32\",\r\n \"52.183.86.102/32\",\r\n + \ \"52.187.2.226/32\",\r\n \"52.187.59.188/32\",\r\n \"52.187.61.82/32\",\r\n + \ \"52.187.185.159/32\",\r\n \"52.191.213.188/32\",\r\n \"52.225.184.224/32\",\r\n + \ \"52.225.186.130/32\",\r\n \"52.226.36.235/32\",\r\n \"52.231.18.16/28\",\r\n + \ \"52.231.29.105/32\",\r\n \"52.231.32.85/32\",\r\n \"52.231.32.94/32\",\r\n + \ \"52.231.146.32/27\",\r\n \"52.231.200.144/32\",\r\n \"52.231.200.153/32\",\r\n + \ \"52.231.207.155/32\",\r\n \"52.232.27.189/32\",\r\n \"52.233.30.41/32\",\r\n + \ \"52.233.190.35/32\",\r\n \"52.233.192.247/32\",\r\n \"52.236.186.0/26\",\r\n + \ \"52.237.33.36/32\",\r\n \"52.237.33.104/32\",\r\n \"52.237.143.176/32\",\r\n + \ \"52.242.20.204/32\",\r\n \"52.243.36.161/32\",\r\n \"52.246.154.64/26\",\r\n + \ \"52.246.159.0/26\",\r\n \"65.52.129.16/32\",\r\n \"65.52.250.32/27\",\r\n + \ \"102.37.65.0/26\",\r\n \"102.37.72.64/26\",\r\n \"102.133.26.128/26\",\r\n + \ \"102.133.122.64/26\",\r\n \"102.133.127.0/26\",\r\n \"102.133.154.128/26\",\r\n + \ \"102.133.250.64/26\",\r\n \"102.133.254.0/26\",\r\n \"104.40.26.199/32\",\r\n + \ \"104.40.29.113/32\",\r\n \"104.40.68.250/32\",\r\n \"104.40.69.64/32\",\r\n + \ \"104.40.150.139/32\",\r\n \"104.40.179.185/32\",\r\n \"104.40.216.174/32\",\r\n + \ \"104.41.63.213/32\",\r\n \"104.41.201.10/32\",\r\n \"104.42.97.95/32\",\r\n + \ \"104.43.18.219/32\",\r\n \"104.43.168.200/32\",\r\n \"104.43.192.43/32\",\r\n + \ \"104.43.192.222/32\",\r\n \"104.44.129.14/32\",\r\n \"104.44.129.59/32\",\r\n + \ \"104.45.135.34/32\",\r\n \"104.45.147.24/32\",\r\n \"104.46.32.56/32\",\r\n + \ \"104.46.32.58/32\",\r\n \"104.46.98.9/32\",\r\n \"104.46.98.73/32\",\r\n + \ \"104.46.99.176/32\",\r\n \"104.208.16.0/26\",\r\n \"104.208.144.0/26\",\r\n + \ \"104.208.237.147/32\",\r\n \"104.209.186.70/32\",\r\n + \ \"104.210.14.49/32\",\r\n \"104.210.106.31/32\",\r\n \"104.210.146.250/32\",\r\n + \ \"104.211.81.0/28\",\r\n \"104.211.98.185/32\",\r\n \"104.211.102.58/32\",\r\n + \ \"104.211.146.32/27\",\r\n \"104.211.160.121/32\",\r\n + \ \"104.211.160.144/32\",\r\n \"104.211.224.190/32\",\r\n + \ \"104.211.224.238/32\",\r\n \"104.214.18.128/27\",\r\n + \ \"104.214.70.229/32\",\r\n \"137.116.48.46/32\",\r\n \"137.116.77.157/32\",\r\n + \ \"137.116.91.178/32\",\r\n \"137.116.157.26/32\",\r\n \"137.116.158.30/32\",\r\n + \ \"137.117.85.236/32\",\r\n \"137.117.89.253/32\",\r\n \"137.117.91.152/32\",\r\n + \ \"137.135.102.226/32\",\r\n \"138.91.1.105/32\",\r\n \"138.91.17.38/32\",\r\n + \ \"138.91.17.85/32\",\r\n \"138.91.193.184/32\",\r\n \"168.61.92.197/32\",\r\n + \ \"168.61.143.128/26\",\r\n \"168.61.148.205/32\",\r\n \"168.62.52.235/32\",\r\n + \ \"168.62.234.250/32\",\r\n \"168.62.237.3/32\",\r\n \"168.62.249.226/32\",\r\n + \ \"168.63.141.27/32\",\r\n \"191.233.9.64/27\",\r\n \"191.233.73.228/32\",\r\n + \ \"191.233.203.0/28\",\r\n \"191.234.146.64/26\",\r\n \"191.234.150.192/26\",\r\n + \ \"191.234.154.64/26\",\r\n \"191.236.32.73/32\",\r\n \"191.236.32.191/32\",\r\n + \ \"191.236.35.225/32\",\r\n \"191.236.128.253/32\",\r\n + \ \"191.236.129.107/32\",\r\n \"191.237.47.93/32\",\r\n \"191.237.129.158/32\",\r\n + \ \"191.237.224.0/26\",\r\n \"191.238.99.131/32\",\r\n \"191.238.160.221/32\",\r\n + \ \"191.239.64.142/32\",\r\n \"191.239.64.144/32\",\r\n \"191.239.160.45/32\",\r\n + \ \"191.239.160.178/32\",\r\n \"207.46.153.127/32\",\r\n + \ \"207.46.154.16/32\",\r\n \"207.46.227.14/32\",\r\n \"2603:1000:4::240/122\",\r\n + \ \"2603:1000:4:402::1c0/123\",\r\n \"2603:1000:104:1::240/122\",\r\n + \ \"2603:1000:104:402::1c0/123\",\r\n \"2603:1000:104:802::160/123\",\r\n + \ \"2603:1000:104:c02::160/123\",\r\n \"2603:1010:6:1::240/122\",\r\n + \ \"2603:1010:6:402::1c0/123\",\r\n \"2603:1010:6:802::160/123\",\r\n + \ \"2603:1010:6:c02::160/123\",\r\n \"2603:1010:101::240/122\",\r\n + \ \"2603:1010:101:402::1c0/123\",\r\n \"2603:1010:304::240/122\",\r\n + \ \"2603:1010:304:402::1c0/123\",\r\n \"2603:1010:404::240/122\",\r\n + \ \"2603:1010:404:402::1c0/123\",\r\n \"2603:1020:5:1::240/122\",\r\n + \ \"2603:1020:5:402::1c0/123\",\r\n \"2603:1020:5:802::160/123\",\r\n + \ \"2603:1020:5:c02::160/123\",\r\n \"2603:1020:206:1::240/122\",\r\n + \ \"2603:1020:206:402::1c0/123\",\r\n \"2603:1020:206:802::160/123\",\r\n + \ \"2603:1020:206:c02::160/123\",\r\n \"2603:1020:305::240/122\",\r\n + \ \"2603:1020:305:402::1c0/123\",\r\n \"2603:1020:405::240/122\",\r\n + \ \"2603:1020:405:402::1c0/123\",\r\n \"2603:1020:605::240/122\",\r\n + \ \"2603:1020:605:402::1c0/123\",\r\n \"2603:1020:705:1::240/122\",\r\n + \ \"2603:1020:705:402::1c0/123\",\r\n \"2603:1020:705:802::160/123\",\r\n + \ \"2603:1020:705:c02::160/123\",\r\n \"2603:1020:805:1::240/122\",\r\n + \ \"2603:1020:805:402::1c0/123\",\r\n \"2603:1020:805:802::160/123\",\r\n + \ \"2603:1020:805:c02::160/123\",\r\n \"2603:1020:905::240/122\",\r\n + \ \"2603:1020:905:402::1c0/123\",\r\n \"2603:1020:a04:1::240/122\",\r\n + \ \"2603:1020:a04:402::1c0/123\",\r\n \"2603:1020:a04:802::160/123\",\r\n + \ \"2603:1020:a04:c02::160/123\",\r\n \"2603:1020:b04::240/122\",\r\n + \ \"2603:1020:b04:402::1c0/123\",\r\n \"2603:1020:c04:1::240/122\",\r\n + \ \"2603:1020:c04:402::1c0/123\",\r\n \"2603:1020:c04:802::160/123\",\r\n + \ \"2603:1020:c04:c02::160/123\",\r\n \"2603:1020:d04::240/122\",\r\n + \ \"2603:1020:d04:402::1c0/123\",\r\n \"2603:1020:e04:1::240/122\",\r\n + \ \"2603:1020:e04:402::1c0/123\",\r\n \"2603:1020:e04:802::160/123\",\r\n + \ \"2603:1020:e04:c02::160/123\",\r\n \"2603:1020:f04::240/122\",\r\n + \ \"2603:1020:f04:402::1c0/123\",\r\n \"2603:1020:1004::240/122\",\r\n + \ \"2603:1020:1004:400::2c0/123\",\r\n \"2603:1020:1004:c02::c0/123\",\r\n + \ \"2603:1020:1104:400::1c0/123\",\r\n \"2603:1030:f:1::240/122\",\r\n + \ \"2603:1030:f:400::9c0/123\",\r\n \"2603:1030:10:1::240/122\",\r\n + \ \"2603:1030:10:402::1c0/123\",\r\n \"2603:1030:10:802::160/123\",\r\n + \ \"2603:1030:10:c02::160/123\",\r\n \"2603:1030:104:1::240/122\",\r\n + \ \"2603:1030:104:402::1c0/123\",\r\n \"2603:1030:107:400::140/123\",\r\n + \ \"2603:1030:210:1::240/122\",\r\n \"2603:1030:210:402::1c0/123\",\r\n + \ \"2603:1030:210:802::160/123\",\r\n \"2603:1030:210:c02::160/123\",\r\n + \ \"2603:1030:40b:1::240/122\",\r\n \"2603:1030:40b:400::9c0/123\",\r\n + \ \"2603:1030:40b:800::160/123\",\r\n \"2603:1030:40b:c00::160/123\",\r\n + \ \"2603:1030:40c:1::240/122\",\r\n \"2603:1030:40c:402::1c0/123\",\r\n + \ \"2603:1030:40c:802::160/123\",\r\n \"2603:1030:40c:c02::160/123\",\r\n + \ \"2603:1030:504:1::240/122\",\r\n \"2603:1030:504:402::2c0/123\",\r\n + \ \"2603:1030:504:802::240/123\",\r\n \"2603:1030:504:c02::c0/123\",\r\n + \ \"2603:1030:608::240/122\",\r\n \"2603:1030:608:402::1c0/123\",\r\n + \ \"2603:1030:807:1::240/122\",\r\n \"2603:1030:807:402::1c0/123\",\r\n + \ \"2603:1030:807:802::160/123\",\r\n \"2603:1030:807:c02::160/123\",\r\n + \ \"2603:1030:a07::240/122\",\r\n \"2603:1030:a07:402::140/123\",\r\n + \ \"2603:1030:b04::240/122\",\r\n \"2603:1030:b04:402::1c0/123\",\r\n + \ \"2603:1030:c06:1::240/122\",\r\n \"2603:1030:c06:400::9c0/123\",\r\n + \ \"2603:1030:c06:802::160/123\",\r\n \"2603:1030:c06:c02::160/123\",\r\n + \ \"2603:1030:f05:1::240/122\",\r\n \"2603:1030:f05:402::1c0/123\",\r\n + \ \"2603:1030:f05:802::160/123\",\r\n \"2603:1030:f05:c02::160/123\",\r\n + \ \"2603:1030:1005::240/122\",\r\n \"2603:1030:1005:402::1c0/123\",\r\n + \ \"2603:1040:5:1::240/122\",\r\n \"2603:1040:5:402::1c0/123\",\r\n + \ \"2603:1040:5:802::160/123\",\r\n \"2603:1040:5:c02::160/123\",\r\n + \ \"2603:1040:207::240/122\",\r\n \"2603:1040:207:402::1c0/123\",\r\n + \ \"2603:1040:407:1::240/122\",\r\n \"2603:1040:407:402::1c0/123\",\r\n + \ \"2603:1040:407:802::160/123\",\r\n \"2603:1040:407:c02::160/123\",\r\n + \ \"2603:1040:606::240/122\",\r\n \"2603:1040:606:402::1c0/123\",\r\n + \ \"2603:1040:806::240/122\",\r\n \"2603:1040:806:402::1c0/123\",\r\n + \ \"2603:1040:904:1::240/122\",\r\n \"2603:1040:904:402::1c0/123\",\r\n + \ \"2603:1040:904:802::160/123\",\r\n \"2603:1040:904:c02::160/123\",\r\n + \ \"2603:1040:a06:1::240/122\",\r\n \"2603:1040:a06:402::1c0/123\",\r\n + \ \"2603:1040:a06:802::160/123\",\r\n \"2603:1040:a06:c02::160/123\",\r\n + \ \"2603:1040:b04::240/122\",\r\n \"2603:1040:b04:402::1c0/123\",\r\n + \ \"2603:1040:c06::240/122\",\r\n \"2603:1040:c06:402::1c0/123\",\r\n + \ \"2603:1040:d04::240/122\",\r\n \"2603:1040:d04:400::2c0/123\",\r\n + \ \"2603:1040:d04:c02::c0/123\",\r\n \"2603:1040:f05:1::240/122\",\r\n + \ \"2603:1040:f05:402::1c0/123\",\r\n \"2603:1040:f05:802::160/123\",\r\n + \ \"2603:1040:f05:c02::160/123\",\r\n \"2603:1040:1104:400::1c0/123\",\r\n + \ \"2603:1050:6:1::240/122\",\r\n \"2603:1050:6:402::1c0/123\",\r\n + \ \"2603:1050:6:802::160/123\",\r\n \"2603:1050:6:c02::160/123\",\r\n + \ \"2603:1050:403::240/122\",\r\n \"2603:1050:403:400::1c0/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"EventHub.AustraliaCentral\",\r\n + \ \"id\": \"EventHub.AustraliaCentral\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"australiacentral\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureEventHub\",\r\n \"addressPrefixes\": [\r\n \"20.36.46.142/32\",\r\n + \ \"20.36.106.192/27\",\r\n \"2603:1010:304::240/122\",\r\n + \ \"2603:1010:304:402::1c0/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"EventHub.AustraliaCentral2\",\r\n \"id\": + \"EventHub.AustraliaCentral2\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\": + \"australiacentral2\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureEventHub\",\r\n \"addressPrefixes\": + [\r\n \"20.36.74.130/32\",\r\n \"20.36.114.32/27\",\r\n + \ \"2603:1010:404::240/122\",\r\n \"2603:1010:404:402::1c0/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"EventHub.AustraliaEast\",\r\n + \ \"id\": \"EventHub.AustraliaEast\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"australiaeast\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureEventHub\",\r\n \"addressPrefixes\": + [\r\n \"13.70.72.0/28\",\r\n \"13.70.79.16/28\",\r\n \"13.70.114.64/26\",\r\n + \ \"13.72.254.134/32\",\r\n \"40.79.162.0/28\",\r\n \"40.79.166.192/26\",\r\n + \ \"40.79.170.32/28\",\r\n \"40.79.174.128/26\",\r\n \"104.210.106.31/32\",\r\n + \ \"191.239.64.142/32\",\r\n \"191.239.64.144/32\",\r\n \"2603:1010:6:1::240/122\",\r\n + \ \"2603:1010:6:402::1c0/123\",\r\n \"2603:1010:6:802::160/123\",\r\n + \ \"2603:1010:6:c02::160/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"EventHub.AustraliaSoutheast\",\r\n \"id\": + \"EventHub.AustraliaSoutheast\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\": + \"australiasoutheast\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureEventHub\",\r\n \"addressPrefixes\": + [\r\n \"13.77.50.32/27\",\r\n \"40.115.79.2/32\",\r\n \"40.127.83.123/32\",\r\n + \ \"191.239.160.45/32\",\r\n \"191.239.160.178/32\",\r\n + \ \"2603:1010:101::240/122\",\r\n \"2603:1010:101:402::1c0/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"EventHub.BrazilSouth\",\r\n + \ \"id\": \"EventHub.BrazilSouth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"brazilsouth\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureEventHub\",\r\n \"addressPrefixes\": + [\r\n \"20.195.137.192/26\",\r\n \"20.195.152.64/26\",\r\n + \ \"23.97.97.36/32\",\r\n \"23.97.103.3/32\",\r\n \"104.41.63.213/32\",\r\n + \ \"191.233.203.0/28\",\r\n \"191.234.146.64/26\",\r\n \"191.234.150.192/26\",\r\n + \ \"191.234.154.64/26\",\r\n \"2603:1050:6:1::240/122\",\r\n + \ \"2603:1050:6:402::1c0/123\",\r\n \"2603:1050:6:802::160/123\",\r\n + \ \"2603:1050:6:c02::160/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"EventHub.CanadaCentral\",\r\n \"id\": \"EventHub.CanadaCentral\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"3\",\r\n \"region\": \"canadacentral\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureEventHub\",\r\n \"addressPrefixes\": [\r\n \"13.71.170.16/28\",\r\n + \ \"13.71.177.128/26\",\r\n \"20.38.146.64/26\",\r\n \"20.151.32.64/26\",\r\n + \ \"40.85.226.62/32\",\r\n \"40.85.229.32/32\",\r\n \"52.233.30.41/32\",\r\n + \ \"52.237.33.36/32\",\r\n \"52.237.33.104/32\",\r\n \"52.246.154.64/26\",\r\n + \ \"52.246.159.0/26\",\r\n \"2603:1030:f05:1::240/122\",\r\n + \ \"2603:1030:f05:402::1c0/123\",\r\n \"2603:1030:f05:802::160/123\",\r\n + \ \"2603:1030:f05:c02::160/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"EventHub.CanadaEast\",\r\n \"id\": \"EventHub.CanadaEast\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"canadaeast\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureEventHub\",\r\n \"addressPrefixes\": [\r\n \"40.69.106.32/27\",\r\n + \ \"40.86.225.142/32\",\r\n \"40.86.230.119/32\",\r\n \"52.242.20.204/32\",\r\n + \ \"2603:1030:1005::240/122\",\r\n \"2603:1030:1005:402::1c0/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"EventHub.CentralIndia\",\r\n + \ \"id\": \"EventHub.CentralIndia\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"centralindia\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureEventHub\",\r\n \"addressPrefixes\": + [\r\n \"13.71.30.214/32\",\r\n \"20.43.126.64/26\",\r\n + \ \"20.192.98.64/26\",\r\n \"20.192.102.0/26\",\r\n \"40.80.50.64/26\",\r\n + \ \"52.172.221.245/32\",\r\n \"52.172.223.211/32\",\r\n \"104.211.81.0/28\",\r\n + \ \"104.211.98.185/32\",\r\n \"104.211.102.58/32\",\r\n \"2603:1040:a06:1::240/122\",\r\n + \ \"2603:1040:a06:402::1c0/123\",\r\n \"2603:1040:a06:802::160/123\",\r\n + \ \"2603:1040:a06:c02::160/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"EventHub.CentralUS\",\r\n \"id\": \"EventHub.CentralUS\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"3\",\r\n \"region\": \"centralus\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureEventHub\",\r\n \"addressPrefixes\": [\r\n \"13.89.58.37/32\",\r\n + \ \"13.89.59.231/32\",\r\n \"13.89.170.128/26\",\r\n \"13.89.178.112/28\",\r\n + \ \"20.44.13.64/26\",\r\n \"23.99.128.69/32\",\r\n \"23.99.129.170/32\",\r\n + \ \"23.99.192.254/32\",\r\n \"23.99.196.56/32\",\r\n \"23.99.228.174/32\",\r\n + \ \"40.86.77.12/32\",\r\n \"40.86.102.100/32\",\r\n \"40.122.173.108/32\",\r\n + \ \"40.122.213.155/32\",\r\n \"52.165.34.144/32\",\r\n \"52.165.179.109/32\",\r\n + \ \"52.165.235.119/32\",\r\n \"52.165.237.8/32\",\r\n \"52.173.199.106/32\",\r\n + \ \"52.176.47.198/32\",\r\n \"52.182.138.128/26\",\r\n \"52.182.143.64/26\",\r\n + \ \"104.43.168.200/32\",\r\n \"104.43.192.43/32\",\r\n \"104.43.192.222/32\",\r\n + \ \"104.208.16.0/26\",\r\n \"168.61.148.205/32\",\r\n \"2603:1030:10:1::240/122\",\r\n + \ \"2603:1030:10:402::1c0/123\",\r\n \"2603:1030:10:802::160/123\",\r\n + \ \"2603:1030:10:c02::160/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"EventHub.CentralUSEUAP\",\r\n \"id\": \"EventHub.CentralUSEUAP\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"3\",\r\n \"region\": \"centraluseuap\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureEventHub\",\r\n \"addressPrefixes\": [\r\n \"40.78.202.32/27\",\r\n + \ \"52.180.180.228/32\",\r\n \"52.180.182.75/32\",\r\n \"168.61.143.128/26\",\r\n + \ \"2603:1030:f:1::240/122\",\r\n \"2603:1030:f:400::9c0/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"EventHub.EastAsia\",\r\n + \ \"id\": \"EventHub.EastAsia\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"eastasia\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureEventHub\",\r\n \"addressPrefixes\": + [\r\n \"13.75.34.64/26\",\r\n \"13.94.47.61/32\",\r\n \"23.97.67.90/32\",\r\n + \ \"23.99.118.48/32\",\r\n \"23.101.3.68/32\",\r\n \"23.101.8.229/32\",\r\n + \ \"23.102.234.49/32\",\r\n \"52.175.35.235/32\",\r\n \"168.63.141.27/32\",\r\n + \ \"207.46.153.127/32\",\r\n \"207.46.154.16/32\",\r\n \"2603:1040:207::240/122\",\r\n + \ \"2603:1040:207:402::1c0/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"EventHub.EastUS\",\r\n \"id\": \"EventHub.EastUS\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"3\",\r\n \"region\": \"eastus\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureEventHub\",\r\n \"addressPrefixes\": [\r\n \"13.90.83.7/32\",\r\n + \ \"13.90.208.184/32\",\r\n \"13.92.124.151/32\",\r\n \"13.92.180.208/32\",\r\n + \ \"13.92.190.184/32\",\r\n \"20.42.68.64/26\",\r\n \"20.42.74.0/26\",\r\n + \ \"40.71.10.128/26\",\r\n \"40.71.100.98/32\",\r\n \"40.76.29.197/32\",\r\n + \ \"40.76.40.11/32\",\r\n \"40.76.194.119/32\",\r\n \"40.78.226.128/26\",\r\n + \ \"40.79.155.0/26\",\r\n \"40.117.88.66/32\",\r\n \"40.121.84.50/32\",\r\n + \ \"40.121.141.232/32\",\r\n \"40.121.148.193/32\",\r\n \"52.168.14.144/32\",\r\n + \ \"52.168.66.180/32\",\r\n \"52.168.117.0/26\",\r\n \"52.168.146.69/32\",\r\n + \ \"52.168.147.11/32\",\r\n \"52.179.6.240/32\",\r\n \"52.179.8.35/32\",\r\n + \ \"52.191.213.188/32\",\r\n \"52.226.36.235/32\",\r\n \"104.45.135.34/32\",\r\n + \ \"104.45.147.24/32\",\r\n \"137.117.85.236/32\",\r\n \"137.117.89.253/32\",\r\n + \ \"137.117.91.152/32\",\r\n \"137.135.102.226/32\",\r\n + \ \"168.62.52.235/32\",\r\n \"191.236.32.73/32\",\r\n \"191.236.32.191/32\",\r\n + \ \"191.236.35.225/32\",\r\n \"191.237.47.93/32\",\r\n \"2603:1030:210:1::240/122\",\r\n + \ \"2603:1030:210:402::1c0/123\",\r\n \"2603:1030:210:802::160/123\",\r\n + \ \"2603:1030:210:c02::160/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"EventHub.EastUS2\",\r\n \"id\": \"EventHub.EastUS2\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"3\",\r\n \"region\": \"eastus2\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureEventHub\",\r\n \"addressPrefixes\": [\r\n \"13.68.20.101/32\",\r\n + \ \"13.68.21.169/32\",\r\n \"13.68.77.215/32\",\r\n \"20.36.144.64/26\",\r\n + \ \"40.70.78.154/32\",\r\n \"40.70.146.0/26\",\r\n \"40.79.44.59/32\",\r\n + \ \"40.79.74.86/32\",\r\n \"52.167.106.0/26\",\r\n \"52.167.109.192/26\",\r\n + \ \"52.167.145.0/26\",\r\n \"52.179.157.59/32\",\r\n \"104.46.98.9/32\",\r\n + \ \"104.46.98.73/32\",\r\n \"104.46.99.176/32\",\r\n \"104.208.144.0/26\",\r\n + \ \"104.208.237.147/32\",\r\n \"104.209.186.70/32\",\r\n + \ \"104.210.14.49/32\",\r\n \"137.116.48.46/32\",\r\n \"137.116.77.157/32\",\r\n + \ \"137.116.91.178/32\",\r\n \"191.237.129.158/32\",\r\n + \ \"2603:1030:40c:1::240/122\",\r\n \"2603:1030:40c:402::1c0/123\",\r\n + \ \"2603:1030:40c:802::160/123\",\r\n \"2603:1030:40c:c02::160/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"EventHub.EastUS2EUAP\",\r\n + \ \"id\": \"EventHub.EastUS2EUAP\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"eastus2euap\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureEventHub\",\r\n \"addressPrefixes\": + [\r\n \"20.47.216.64/26\",\r\n \"40.74.146.16/28\",\r\n + \ \"40.74.151.0/26\",\r\n \"40.75.34.0/28\",\r\n \"40.89.122.0/26\",\r\n + \ \"52.138.90.0/28\",\r\n \"52.225.184.224/32\",\r\n \"52.225.186.130/32\",\r\n + \ \"2603:1030:40b:1::240/122\",\r\n \"2603:1030:40b:400::9c0/123\",\r\n + \ \"2603:1030:40b:800::160/123\",\r\n \"2603:1030:40b:c00::160/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"EventHub.FranceCentral\",\r\n + \ \"id\": \"EventHub.FranceCentral\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"centralfrance\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureEventHub\",\r\n \"addressPrefixes\": + [\r\n \"40.79.130.16/28\",\r\n \"40.79.138.0/28\",\r\n \"40.79.142.0/26\",\r\n + \ \"40.79.146.0/28\",\r\n \"40.79.149.64/26\",\r\n \"51.11.192.128/26\",\r\n + \ \"52.143.136.55/32\",\r\n \"2603:1020:805:1::240/122\",\r\n + \ \"2603:1020:805:402::1c0/123\",\r\n \"2603:1020:805:802::160/123\",\r\n + \ \"2603:1020:805:c02::160/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"EventHub.FranceSouth\",\r\n \"id\": \"EventHub.FranceSouth\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"southfrance\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureEventHub\",\r\n \"addressPrefixes\": [\r\n \"40.79.178.32/27\",\r\n + \ \"52.136.136.62/32\",\r\n \"2603:1020:905::240/122\",\r\n + \ \"2603:1020:905:402::1c0/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"EventHub.GermanyNorth\",\r\n \"id\": \"EventHub.GermanyNorth\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"germanyn\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureEventHub\",\r\n \"addressPrefixes\": [\r\n \"51.116.58.128/27\",\r\n + \ \"2603:1020:d04::240/122\",\r\n \"2603:1020:d04:402::1c0/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"EventHub.GermanyWestCentral\",\r\n + \ \"id\": \"EventHub.GermanyWestCentral\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"germanywc\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureEventHub\",\r\n \"addressPrefixes\": + [\r\n \"20.52.64.128/26\",\r\n \"51.116.154.192/27\",\r\n + \ \"51.116.242.64/26\",\r\n \"51.116.245.192/27\",\r\n \"51.116.246.192/26\",\r\n + \ \"51.116.250.64/26\",\r\n \"51.116.254.0/26\",\r\n \"2603:1020:c04:1::240/122\",\r\n + \ \"2603:1020:c04:402::1c0/123\",\r\n \"2603:1020:c04:802::160/123\",\r\n + \ \"2603:1020:c04:c02::160/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"EventHub.JapanEast\",\r\n \"id\": \"EventHub.JapanEast\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"3\",\r\n \"region\": \"japaneast\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureEventHub\",\r\n \"addressPrefixes\": [\r\n \"13.71.154.11/32\",\r\n + \ \"13.78.106.64/28\",\r\n \"20.89.0.64/26\",\r\n \"20.194.128.192/26\",\r\n + \ \"23.100.100.84/32\",\r\n \"40.79.186.32/27\",\r\n \"40.79.194.192/26\",\r\n + \ \"52.243.36.161/32\",\r\n \"138.91.1.105/32\",\r\n \"2603:1040:407:1::240/122\",\r\n + \ \"2603:1040:407:402::1c0/123\",\r\n \"2603:1040:407:802::160/123\",\r\n + \ \"2603:1040:407:c02::160/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"EventHub.JapanWest\",\r\n \"id\": \"EventHub.JapanWest\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"japanwest\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureEventHub\",\r\n \"addressPrefixes\": [\r\n \"40.74.100.0/27\",\r\n + \ \"40.74.141.187/32\",\r\n \"138.91.17.38/32\",\r\n \"138.91.17.85/32\",\r\n + \ \"2603:1040:606::240/122\",\r\n \"2603:1040:606:402::1c0/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"EventHub.KoreaCentral\",\r\n + \ \"id\": \"EventHub.KoreaCentral\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"4\",\r\n + \ \"region\": \"koreacentral\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureEventHub\",\r\n \"addressPrefixes\": + [\r\n \"20.44.26.64/26\",\r\n \"20.44.31.128/26\",\r\n \"20.194.68.192/26\",\r\n + \ \"20.194.80.0/26\",\r\n \"52.231.18.16/28\",\r\n \"52.231.29.105/32\",\r\n + \ \"52.231.32.85/32\",\r\n \"52.231.32.94/32\",\r\n \"2603:1040:f05:1::240/122\",\r\n + \ \"2603:1040:f05:402::1c0/123\",\r\n \"2603:1040:f05:802::160/123\",\r\n + \ \"2603:1040:f05:c02::160/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"EventHub.KoreaSouth\",\r\n \"id\": \"EventHub.KoreaSouth\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"1\",\r\n \"region\": \"koreasouth\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureEventHub\",\r\n \"addressPrefixes\": [\r\n \"52.231.146.32/27\",\r\n + \ \"52.231.200.144/32\",\r\n \"52.231.200.153/32\",\r\n \"52.231.207.155/32\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"EventHub.NorthCentralUS\",\r\n + \ \"id\": \"EventHub.NorthCentralUS\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"northcentralus\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureEventHub\",\r\n \"addressPrefixes\": [\r\n \"23.96.214.181/32\",\r\n + \ \"23.96.253.236/32\",\r\n \"52.162.106.64/26\",\r\n \"52.237.143.176/32\",\r\n + \ \"168.62.234.250/32\",\r\n \"168.62.237.3/32\",\r\n \"168.62.249.226/32\",\r\n + \ \"191.236.128.253/32\",\r\n \"191.236.129.107/32\",\r\n + \ \"2603:1030:608::240/122\",\r\n \"2603:1030:608:402::1c0/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"EventHub.NorthEurope\",\r\n + \ \"id\": \"EventHub.NorthEurope\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"northeurope\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureEventHub\",\r\n \"addressPrefixes\": + [\r\n \"13.69.227.0/26\",\r\n \"13.69.239.0/26\",\r\n \"13.69.253.135/32\",\r\n + \ \"13.69.255.140/32\",\r\n \"13.74.107.0/26\",\r\n \"20.50.72.64/26\",\r\n + \ \"20.50.80.64/26\",\r\n \"23.102.0.186/32\",\r\n \"23.102.0.239/32\",\r\n + \ \"23.102.53.113/32\",\r\n \"40.69.29.216/32\",\r\n \"40.69.217.246/32\",\r\n + \ \"40.127.132.254/32\",\r\n \"52.138.147.148/32\",\r\n \"52.138.226.0/26\",\r\n + \ \"52.169.18.8/32\",\r\n \"52.178.211.227/32\",\r\n \"104.41.201.10/32\",\r\n + \ \"168.61.92.197/32\",\r\n \"191.238.99.131/32\",\r\n \"2603:1020:5:1::240/122\",\r\n + \ \"2603:1020:5:402::1c0/123\",\r\n \"2603:1020:5:802::160/123\",\r\n + \ \"2603:1020:5:c02::160/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"EventHub.NorwayEast\",\r\n \"id\": \"EventHub.NorwayEast\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"3\",\r\n \"region\": \"norwaye\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureEventHub\",\r\n \"addressPrefixes\": [\r\n \"51.13.0.192/26\",\r\n + \ \"51.120.98.128/27\",\r\n \"51.120.106.64/26\",\r\n \"51.120.210.64/26\",\r\n + \ \"2603:1020:e04:1::240/122\",\r\n \"2603:1020:e04:402::1c0/123\",\r\n + \ \"2603:1020:e04:802::160/123\",\r\n \"2603:1020:e04:c02::160/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"EventHub.NorwayWest\",\r\n + \ \"id\": \"EventHub.NorwayWest\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"norwayw\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureEventHub\",\r\n \"addressPrefixes\": + [\r\n \"51.120.218.160/27\",\r\n \"2603:1020:f04::240/122\",\r\n + \ \"2603:1020:f04:402::1c0/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"EventHub.SouthAfricaNorth\",\r\n \"id\": \"EventHub.SouthAfricaNorth\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"3\",\r\n \"region\": \"southafricanorth\",\r\n \"state\": + \"GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureEventHub\",\r\n \"addressPrefixes\": [\r\n \"102.37.72.64/26\",\r\n + \ \"102.133.122.64/26\",\r\n \"102.133.127.0/26\",\r\n \"102.133.154.128/26\",\r\n + \ \"102.133.250.64/26\",\r\n \"102.133.254.0/26\",\r\n \"2603:1000:104:1::240/122\",\r\n + \ \"2603:1000:104:402::1c0/123\",\r\n \"2603:1000:104:802::160/123\",\r\n + \ \"2603:1000:104:c02::160/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"EventHub.SouthAfricaWest\",\r\n \"id\": \"EventHub.SouthAfricaWest\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"3\",\r\n \"region\": \"southafricawest\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureEventHub\",\r\n \"addressPrefixes\": [\r\n \"102.37.65.0/26\",\r\n + \ \"102.133.26.128/26\",\r\n \"2603:1000:4::240/122\",\r\n + \ \"2603:1000:4:402::1c0/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"EventHub.SouthCentralUS\",\r\n \"id\": \"EventHub.SouthCentralUS\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"3\",\r\n \"region\": \"southcentralus\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureEventHub\",\r\n \"addressPrefixes\": [\r\n \"13.65.209.24/32\",\r\n + \ \"13.84.145.196/32\",\r\n \"20.45.122.64/26\",\r\n \"20.45.126.192/26\",\r\n + \ \"20.49.93.64/27\",\r\n \"20.49.93.128/27\",\r\n \"20.49.95.128/26\",\r\n + \ \"23.102.128.15/32\",\r\n \"23.102.160.39/32\",\r\n \"23.102.161.227/32\",\r\n + \ \"23.102.163.4/32\",\r\n \"23.102.165.127/32\",\r\n \"23.102.167.73/32\",\r\n + \ \"23.102.180.26/32\",\r\n \"40.84.150.241/32\",\r\n \"40.84.185.67/32\",\r\n + \ \"40.124.65.64/26\",\r\n \"104.44.129.14/32\",\r\n \"104.44.129.59/32\",\r\n + \ \"104.210.146.250/32\",\r\n \"104.214.18.128/27\",\r\n + \ \"104.214.70.229/32\",\r\n \"191.238.160.221/32\",\r\n + \ \"2603:1030:807:1::240/122\",\r\n \"2603:1030:807:402::1c0/123\",\r\n + \ \"2603:1030:807:802::160/123\",\r\n \"2603:1030:807:c02::160/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"EventHub.SoutheastAsia\",\r\n + \ \"id\": \"EventHub.SoutheastAsia\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"southeastasia\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureEventHub\",\r\n \"addressPrefixes\": + [\r\n \"13.67.8.64/27\",\r\n \"13.67.20.64/26\",\r\n \"13.76.179.223/32\",\r\n + \ \"13.76.216.217/32\",\r\n \"23.98.64.92/32\",\r\n \"23.98.65.24/32\",\r\n + \ \"23.98.82.64/27\",\r\n \"23.98.87.192/26\",\r\n \"23.98.112.192/26\",\r\n + \ \"40.78.234.0/27\",\r\n \"52.187.2.226/32\",\r\n \"52.187.59.188/32\",\r\n + \ \"52.187.61.82/32\",\r\n \"52.187.185.159/32\",\r\n \"104.43.18.219/32\",\r\n + \ \"137.116.157.26/32\",\r\n \"137.116.158.30/32\",\r\n \"207.46.227.14/32\",\r\n + \ \"2603:1040:5:1::240/122\",\r\n \"2603:1040:5:402::1c0/123\",\r\n + \ \"2603:1040:5:802::160/123\",\r\n \"2603:1040:5:c02::160/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"EventHub.SouthIndia\",\r\n + \ \"id\": \"EventHub.SouthIndia\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"southindia\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureEventHub\",\r\n \"addressPrefixes\": + [\r\n \"13.71.123.78/32\",\r\n \"40.78.194.32/27\",\r\n + \ \"104.211.224.190/32\",\r\n \"104.211.224.238/32\",\r\n + \ \"2603:1040:c06::240/122\",\r\n \"2603:1040:c06:402::1c0/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"EventHub.SwitzerlandNorth\",\r\n + \ \"id\": \"EventHub.SwitzerlandNorth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"switzerlandn\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureEventHub\",\r\n \"addressPrefixes\": + [\r\n \"51.107.58.128/27\",\r\n \"51.107.129.0/26\",\r\n + \ \"2603:1020:a04:1::240/122\",\r\n \"2603:1020:a04:402::1c0/123\",\r\n + \ \"2603:1020:a04:802::160/123\",\r\n \"2603:1020:a04:c02::160/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"EventHub.SwitzerlandWest\",\r\n + \ \"id\": \"EventHub.SwitzerlandWest\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"switzerlandw\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureEventHub\",\r\n \"addressPrefixes\": + [\r\n \"51.107.154.128/27\",\r\n \"2603:1020:b04::240/122\",\r\n + \ \"2603:1020:b04:402::1c0/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"EventHub.UAECentral\",\r\n \"id\": \"EventHub.UAECentral\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"uaecentral\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureEventHub\",\r\n \"addressPrefixes\": [\r\n \"20.37.74.0/27\",\r\n + \ \"2603:1040:b04::240/122\",\r\n \"2603:1040:b04:402::1c0/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"EventHub.UAENorth\",\r\n + \ \"id\": \"EventHub.UAENorth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"uaenorth\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureEventHub\",\r\n \"addressPrefixes\": + [\r\n \"40.120.75.64/27\",\r\n \"40.120.78.0/26\",\r\n \"65.52.250.32/27\",\r\n + \ \"2603:1040:904:1::240/122\",\r\n \"2603:1040:904:402::1c0/123\",\r\n + \ \"2603:1040:904:802::160/123\",\r\n \"2603:1040:904:c02::160/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"EventHub.UKSouth\",\r\n + \ \"id\": \"EventHub.UKSouth\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"3\",\r\n \"region\": + \"uksouth\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureEventHub\",\r\n \"addressPrefixes\": + [\r\n \"51.105.66.64/26\",\r\n \"51.105.71.0/26\",\r\n \"51.105.74.64/26\",\r\n + \ \"51.132.192.192/26\",\r\n \"51.140.80.99/32\",\r\n \"51.140.87.93/32\",\r\n + \ \"51.140.125.8/32\",\r\n \"51.140.146.32/28\",\r\n \"51.140.149.192/26\",\r\n + \ \"51.140.189.52/32\",\r\n \"51.140.189.108/32\",\r\n \"2603:1020:705:1::240/122\",\r\n + \ \"2603:1020:705:402::1c0/123\",\r\n \"2603:1020:705:802::160/123\",\r\n + \ \"2603:1020:705:c02::160/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"EventHub.UKWest\",\r\n \"id\": \"EventHub.UKWest\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"ukwest\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureEventHub\",\r\n \"addressPrefixes\": [\r\n \"51.140.210.32/27\",\r\n + \ \"51.141.14.113/32\",\r\n \"51.141.14.168/32\",\r\n \"51.141.50.179/32\",\r\n + \ \"2603:1020:605::240/122\",\r\n \"2603:1020:605:402::1c0/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"EventHub.WestCentralUS\",\r\n + \ \"id\": \"EventHub.WestCentralUS\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"westcentralus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureEventHub\",\r\n \"addressPrefixes\": + [\r\n \"13.71.194.64/27\",\r\n \"13.78.149.209/32\",\r\n + \ \"13.78.150.233/32\",\r\n \"13.78.191.44/32\",\r\n \"52.161.19.160/32\",\r\n + \ \"52.161.24.64/32\",\r\n \"2603:1030:b04::240/122\",\r\n + \ \"2603:1030:b04:402::1c0/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"EventHub.WestEurope\",\r\n \"id\": \"EventHub.WestEurope\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"3\",\r\n \"region\": \"westeurope\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureEventHub\",\r\n \"addressPrefixes\": [\r\n \"13.69.64.0/26\",\r\n + \ \"13.69.106.0/26\",\r\n \"13.69.111.128/26\",\r\n \"20.50.201.64/26\",\r\n + \ \"23.97.226.21/32\",\r\n \"23.100.14.185/32\",\r\n \"40.68.35.230/32\",\r\n + \ \"40.68.39.15/32\",\r\n \"40.68.93.145/32\",\r\n \"40.68.205.113/32\",\r\n + \ \"40.68.217.242/32\",\r\n \"51.144.238.23/32\",\r\n \"52.174.243.57/32\",\r\n + \ \"52.178.17.128/26\",\r\n \"52.178.78.61/32\",\r\n \"52.232.27.189/32\",\r\n + \ \"52.233.190.35/32\",\r\n \"52.233.192.247/32\",\r\n \"52.236.186.0/26\",\r\n + \ \"65.52.129.16/32\",\r\n \"104.40.150.139/32\",\r\n \"104.40.179.185/32\",\r\n + \ \"104.40.216.174/32\",\r\n \"104.46.32.56/32\",\r\n \"104.46.32.58/32\",\r\n + \ \"191.233.73.228/32\",\r\n \"2603:1020:206:1::240/122\",\r\n + \ \"2603:1020:206:402::1c0/123\",\r\n \"2603:1020:206:802::160/123\",\r\n + \ \"2603:1020:206:c02::160/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"EventHub.WestIndia\",\r\n \"id\": \"EventHub.WestIndia\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"westindia\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureEventHub\",\r\n \"addressPrefixes\": [\r\n \"104.211.146.32/27\",\r\n + \ \"104.211.160.121/32\",\r\n \"104.211.160.144/32\",\r\n + \ \"2603:1040:806::240/122\",\r\n \"2603:1040:806:402::1c0/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"EventHub.WestUS\",\r\n + \ \"id\": \"EventHub.WestUS\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\": + \"westus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureEventHub\",\r\n \"addressPrefixes\": + [\r\n \"13.64.195.117/32\",\r\n \"13.88.20.117/32\",\r\n + \ \"13.88.26.28/32\",\r\n \"13.91.61.11/32\",\r\n \"13.93.226.138/32\",\r\n + \ \"23.99.7.105/32\",\r\n \"23.99.54.235/32\",\r\n \"23.99.60.253/32\",\r\n + \ \"23.99.80.186/32\",\r\n \"40.78.110.196/32\",\r\n \"40.83.191.202/32\",\r\n + \ \"40.83.222.100/32\",\r\n \"40.86.176.23/32\",\r\n \"40.112.185.115/32\",\r\n + \ \"40.112.213.11/32\",\r\n \"40.112.242.0/25\",\r\n \"104.40.26.199/32\",\r\n + \ \"104.40.29.113/32\",\r\n \"104.40.68.250/32\",\r\n \"104.40.69.64/32\",\r\n + \ \"104.42.97.95/32\",\r\n \"138.91.193.184/32\",\r\n \"2603:1030:a07::240/122\",\r\n + \ \"2603:1030:a07:402::140/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"EventHub.WestUS2\",\r\n \"id\": \"EventHub.WestUS2\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"3\",\r\n \"region\": \"westus2\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureEventHub\",\r\n \"addressPrefixes\": [\r\n \"13.66.138.64/28\",\r\n + \ \"13.66.145.128/26\",\r\n \"13.66.149.0/26\",\r\n \"13.66.228.204/32\",\r\n + \ \"13.66.230.42/32\",\r\n \"20.42.131.16/28\",\r\n \"20.42.131.64/26\",\r\n + \ \"20.83.192.0/26\",\r\n \"40.64.113.64/26\",\r\n \"40.78.242.128/28\",\r\n + \ \"40.78.247.0/26\",\r\n \"40.78.250.64/28\",\r\n \"40.78.253.128/26\",\r\n + \ \"52.151.58.121/32\",\r\n \"52.183.46.73/32\",\r\n \"52.183.86.102/32\",\r\n + \ \"2603:1030:c06:1::240/122\",\r\n \"2603:1030:c06:400::9c0/123\",\r\n + \ \"2603:1030:c06:802::160/123\",\r\n \"2603:1030:c06:c02::160/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"GatewayManager\",\r\n + \ \"id\": \"GatewayManager\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"4\",\r\n \"region\": + \"\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n + \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"GatewayManager\",\r\n \"addressPrefixes\": + [\r\n \"13.65.91.57/32\",\r\n \"13.66.140.144/29\",\r\n + \ \"13.67.9.128/29\",\r\n \"13.69.64.224/29\",\r\n \"13.69.227.224/29\",\r\n + \ \"13.70.72.208/29\",\r\n \"13.70.185.130/32\",\r\n \"13.71.170.240/29\",\r\n + \ \"13.71.194.232/29\",\r\n \"13.75.36.8/29\",\r\n \"13.77.0.146/32\",\r\n + \ \"13.77.50.88/29\",\r\n \"13.78.108.16/29\",\r\n \"13.78.188.33/32\",\r\n + \ \"13.85.74.21/32\",\r\n \"13.87.35.147/32\",\r\n \"13.87.36.246/32\",\r\n + \ \"13.87.56.104/29\",\r\n \"13.87.122.104/29\",\r\n \"13.89.171.96/29\",\r\n + \ \"13.91.249.235/32\",\r\n \"13.91.254.232/32\",\r\n \"13.92.84.128/32\",\r\n + \ \"13.93.112.146/32\",\r\n \"13.93.117.26/32\",\r\n \"20.36.42.151/32\",\r\n + \ \"20.36.42.152/32\",\r\n \"20.36.74.91/32\",\r\n \"20.36.74.113/32\",\r\n + \ \"20.36.106.72/29\",\r\n \"20.36.114.24/29\",\r\n \"20.36.120.72/29\",\r\n + \ \"20.37.53.66/32\",\r\n \"20.37.53.76/32\",\r\n \"20.37.64.72/29\",\r\n + \ \"20.37.74.88/29\",\r\n \"20.37.152.72/29\",\r\n \"20.37.192.72/29\",\r\n + \ \"20.37.224.72/29\",\r\n \"20.38.80.72/29\",\r\n \"20.38.136.72/29\",\r\n + \ \"20.39.1.56/32\",\r\n \"20.39.1.58/32\",\r\n \"20.39.8.72/29\",\r\n + \ \"20.39.26.140/32\",\r\n \"20.39.26.246/32\",\r\n \"20.40.173.147/32\",\r\n + \ \"20.41.0.72/29\",\r\n \"20.41.64.72/29\",\r\n \"20.41.192.72/29\",\r\n + \ \"20.42.0.72/29\",\r\n \"20.42.128.72/29\",\r\n \"20.42.224.72/29\",\r\n + \ \"20.43.40.72/29\",\r\n \"20.43.64.72/29\",\r\n \"20.43.128.72/29\",\r\n + \ \"20.44.3.16/29\",\r\n \"20.45.112.72/29\",\r\n \"20.45.192.72/29\",\r\n + \ \"20.46.13.128/26\",\r\n \"20.54.106.86/32\",\r\n \"20.54.121.133/32\",\r\n + \ \"20.72.16.64/26\",\r\n \"20.74.0.115/32\",\r\n \"20.74.0.127/32\",\r\n + \ \"20.150.160.64/29\",\r\n \"20.150.161.0/26\",\r\n \"20.150.171.64/29\",\r\n + \ \"20.189.104.72/29\",\r\n \"20.189.180.225/32\",\r\n \"20.189.181.8/32\",\r\n + \ \"20.192.47.0/26\",\r\n \"20.192.160.64/26\",\r\n \"20.192.224.192/26\",\r\n + \ \"20.193.142.141/32\",\r\n \"20.193.142.178/32\",\r\n \"20.194.75.128/26\",\r\n + \ \"20.195.37.65/32\",\r\n \"20.195.38.22/32\",\r\n \"23.100.231.72/32\",\r\n + \ \"23.100.231.96/32\",\r\n \"23.101.173.90/32\",\r\n \"40.67.48.72/29\",\r\n + \ \"40.67.59.64/29\",\r\n \"40.69.106.88/29\",\r\n \"40.70.146.224/29\",\r\n + \ \"40.71.11.96/29\",\r\n \"40.74.24.72/29\",\r\n \"40.74.100.168/29\",\r\n + \ \"40.78.194.88/29\",\r\n \"40.78.202.112/29\",\r\n \"40.79.130.224/29\",\r\n + \ \"40.79.178.88/29\",\r\n \"40.80.56.72/29\",\r\n \"40.80.168.72/29\",\r\n + \ \"40.80.184.72/29\",\r\n \"40.81.94.172/32\",\r\n \"40.81.94.182/32\",\r\n + \ \"40.81.180.83/32\",\r\n \"40.81.182.82/32\",\r\n \"40.81.189.24/32\",\r\n + \ \"40.81.189.42/32\",\r\n \"40.82.236.2/32\",\r\n \"40.82.236.13/32\",\r\n + \ \"40.82.248.240/29\",\r\n \"40.88.222.179/32\",\r\n \"40.88.223.53/32\",\r\n + \ \"40.89.16.72/29\",\r\n \"40.89.217.100/32\",\r\n \"40.89.217.109/32\",\r\n + \ \"40.90.186.21/32\",\r\n \"40.90.186.91/32\",\r\n \"40.91.89.36/32\",\r\n + \ \"40.91.91.51/32\",\r\n \"40.112.242.168/29\",\r\n \"40.115.248.200/32\",\r\n + \ \"40.115.254.17/32\",\r\n \"40.119.8.64/29\",\r\n \"40.124.139.107/32\",\r\n + \ \"40.124.139.174/32\",\r\n \"51.12.40.192/26\",\r\n \"51.12.192.192/26\",\r\n + \ \"51.104.24.72/29\",\r\n \"51.105.80.72/29\",\r\n \"51.105.88.72/29\",\r\n + \ \"51.107.48.72/29\",\r\n \"51.107.59.32/29\",\r\n \"51.107.144.72/29\",\r\n + \ \"51.107.155.32/29\",\r\n \"51.116.48.72/29\",\r\n \"51.116.59.32/29\",\r\n + \ \"51.116.144.72/29\",\r\n \"51.116.155.96/29\",\r\n \"51.120.40.72/29\",\r\n + \ \"51.120.98.168/29\",\r\n \"51.120.219.64/29\",\r\n \"51.120.224.72/29\",\r\n + \ \"51.120.235.128/26\",\r\n \"51.137.160.72/29\",\r\n \"51.140.63.41/32\",\r\n + \ \"51.140.114.209/32\",\r\n \"51.140.148.16/29\",\r\n \"51.140.210.200/29\",\r\n + \ \"51.141.25.80/32\",\r\n \"51.141.29.178/32\",\r\n \"51.142.209.124/32\",\r\n + \ \"51.142.210.184/32\",\r\n \"51.143.192.72/29\",\r\n \"52.136.48.72/29\",\r\n + \ \"52.136.137.15/32\",\r\n \"52.136.137.16/32\",\r\n \"52.138.70.115/32\",\r\n + \ \"52.138.71.153/32\",\r\n \"52.138.90.40/29\",\r\n \"52.139.87.129/32\",\r\n + \ \"52.139.87.150/32\",\r\n \"52.140.104.72/29\",\r\n \"52.142.152.114/32\",\r\n + \ \"52.142.154.100/32\",\r\n \"52.143.136.58/31\",\r\n \"52.143.250.137/32\",\r\n + \ \"52.143.251.22/32\",\r\n \"52.147.44.33/32\",\r\n \"52.148.30.6/32\",\r\n + \ \"52.149.24.100/32\",\r\n \"52.149.26.14/32\",\r\n \"52.150.136.72/29\",\r\n + \ \"52.159.19.113/32\",\r\n \"52.159.20.67/32\",\r\n \"52.159.21.124/32\",\r\n + \ \"52.161.28.251/32\",\r\n \"52.162.106.168/29\",\r\n \"52.163.241.22/32\",\r\n + \ \"52.163.246.27/32\",\r\n \"52.165.221.72/32\",\r\n \"52.169.225.171/32\",\r\n + \ \"52.169.231.163/32\",\r\n \"52.172.28.183/32\",\r\n \"52.172.31.29/32\",\r\n + \ \"52.172.204.73/32\",\r\n \"52.172.222.13/32\",\r\n \"52.173.250.124/32\",\r\n + \ \"52.177.204.204/32\",\r\n \"52.177.207.219/32\",\r\n \"52.179.10.142/32\",\r\n + \ \"52.180.178.35/32\",\r\n \"52.180.178.191/32\",\r\n \"52.180.182.210/32\",\r\n + \ \"52.184.255.23/32\",\r\n \"52.191.140.123/32\",\r\n \"52.191.170.38/32\",\r\n + \ \"52.228.80.72/29\",\r\n \"52.229.161.220/32\",\r\n \"52.229.166.101/32\",\r\n + \ \"52.231.18.224/29\",\r\n \"52.231.24.186/32\",\r\n \"52.231.35.84/32\",\r\n + \ \"52.231.146.200/29\",\r\n \"52.231.203.87/32\",\r\n \"52.231.204.175/32\",\r\n + \ \"52.237.24.145/32\",\r\n \"52.237.30.255/32\",\r\n \"52.237.208.51/32\",\r\n + \ \"52.237.215.149/32\",\r\n \"52.242.17.200/32\",\r\n \"52.242.28.83/32\",\r\n + \ \"52.251.12.161/32\",\r\n \"52.253.157.2/32\",\r\n \"52.253.159.209/32\",\r\n + \ \"52.253.232.235/32\",\r\n \"52.253.239.162/32\",\r\n \"65.52.250.24/29\",\r\n + \ \"70.37.160.97/32\",\r\n \"70.37.161.124/32\",\r\n \"102.133.27.16/29\",\r\n + \ \"102.133.56.72/29\",\r\n \"102.133.155.16/29\",\r\n \"102.133.216.72/29\",\r\n + \ \"104.211.81.208/29\",\r\n \"104.211.146.88/29\",\r\n \"104.211.188.0/32\",\r\n + \ \"104.211.191.94/32\",\r\n \"104.214.19.64/29\",\r\n \"104.215.50.115/32\",\r\n + \ \"104.215.52.27/32\",\r\n \"168.62.104.154/32\",\r\n \"168.62.208.162/32\",\r\n + \ \"168.62.209.95/32\",\r\n \"191.233.8.64/26\",\r\n \"191.233.203.208/29\",\r\n + \ \"191.233.245.75/32\",\r\n \"191.233.245.118/32\",\r\n + \ \"191.234.182.29/32\",\r\n \"191.235.81.58/32\",\r\n \"191.235.224.72/29\",\r\n + \ \"2603:1000:4::40/122\",\r\n \"2603:1000:104:1::40/122\",\r\n + \ \"2603:1010:6:1::40/122\",\r\n \"2603:1010:101::40/122\",\r\n + \ \"2603:1010:304::40/122\",\r\n \"2603:1010:404::40/122\",\r\n + \ \"2603:1020:5:1::40/122\",\r\n \"2603:1020:206:1::40/122\",\r\n + \ \"2603:1020:305::40/122\",\r\n \"2603:1020:405::40/122\",\r\n + \ \"2603:1020:605::40/122\",\r\n \"2603:1020:705:1::40/122\",\r\n + \ \"2603:1020:805:1::40/122\",\r\n \"2603:1020:905::40/122\",\r\n + \ \"2603:1020:a04:1::40/122\",\r\n \"2603:1020:b04::40/122\",\r\n + \ \"2603:1020:c04:1::40/122\",\r\n \"2603:1020:d04::40/122\",\r\n + \ \"2603:1020:e04:1::40/122\",\r\n \"2603:1020:f04::40/122\",\r\n + \ \"2603:1020:1004::40/122\",\r\n \"2603:1020:1104::40/122\",\r\n + \ \"2603:1030:f:1::40/122\",\r\n \"2603:1030:10:1::40/122\",\r\n + \ \"2603:1030:104:1::40/122\",\r\n \"2603:1030:107::40/122\",\r\n + \ \"2603:1030:210:1::40/122\",\r\n \"2603:1030:40b:1::40/122\",\r\n + \ \"2603:1030:40c:1::40/122\",\r\n \"2603:1030:504:1::40/122\",\r\n + \ \"2603:1030:608::40/122\",\r\n \"2603:1030:807:1::40/122\",\r\n + \ \"2603:1030:a07::40/122\",\r\n \"2603:1030:b04::40/122\",\r\n + \ \"2603:1030:c06:1::40/122\",\r\n \"2603:1030:f05:1::40/122\",\r\n + \ \"2603:1030:1005::40/122\",\r\n \"2603:1040:5:1::40/122\",\r\n + \ \"2603:1040:207::40/122\",\r\n \"2603:1040:407:1::40/122\",\r\n + \ \"2603:1040:606::40/122\",\r\n \"2603:1040:806::40/122\",\r\n + \ \"2603:1040:904:1::40/122\",\r\n \"2603:1040:a06:1::40/122\",\r\n + \ \"2603:1040:b04::40/122\",\r\n \"2603:1040:c06::40/122\",\r\n + \ \"2603:1040:d04::40/122\",\r\n \"2603:1040:f05:1::40/122\",\r\n + \ \"2603:1040:1104::40/122\",\r\n \"2603:1050:6:1::40/122\",\r\n + \ \"2603:1050:403::40/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"GatewayManager.AustraliaCentral\",\r\n \"id\": + \"GatewayManager.AustraliaCentral\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"australiacentral\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"GatewayManager\",\r\n \"addressPrefixes\": [\r\n \"20.36.42.151/32\",\r\n + \ \"20.36.42.152/32\",\r\n \"20.36.106.72/29\",\r\n \"20.37.53.66/32\",\r\n + \ \"20.37.53.76/32\",\r\n \"20.37.224.72/29\",\r\n \"2603:1010:304::40/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"GatewayManager.AustraliaCentral2\",\r\n + \ \"id\": \"GatewayManager.AustraliaCentral2\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"australiacentral2\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"GatewayManager\",\r\n \"addressPrefixes\": [\r\n \"20.36.74.91/32\",\r\n + \ \"20.36.74.113/32\",\r\n \"20.36.114.24/29\",\r\n \"20.36.120.72/29\",\r\n + \ \"2603:1010:404::40/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"GatewayManager.AustraliaEast\",\r\n \"id\": + \"GatewayManager.AustraliaEast\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"1\",\r\n \"region\": + \"australiaeast\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"GatewayManager\",\r\n \"addressPrefixes\": + [\r\n \"13.70.72.208/29\",\r\n \"20.37.192.72/29\",\r\n + \ \"52.237.208.51/32\",\r\n \"52.237.215.149/32\",\r\n \"2603:1010:6:1::40/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"GatewayManager.AustraliaSoutheast\",\r\n + \ \"id\": \"GatewayManager.AustraliaSoutheast\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"australiasoutheast\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"GatewayManager\",\r\n \"addressPrefixes\": [\r\n \"13.70.185.130/32\",\r\n + \ \"13.77.0.146/32\",\r\n \"13.77.50.88/29\",\r\n \"20.40.173.147/32\",\r\n + \ \"20.42.224.72/29\",\r\n \"52.147.44.33/32\",\r\n \"2603:1010:101::40/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"GatewayManager.BrazilSouth\",\r\n + \ \"id\": \"GatewayManager.BrazilSouth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"brazilsouth\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"GatewayManager\",\r\n \"addressPrefixes\": + [\r\n \"191.233.203.208/29\",\r\n \"191.233.245.75/32\",\r\n + \ \"191.233.245.118/32\",\r\n \"191.234.182.29/32\",\r\n + \ \"191.235.81.58/32\",\r\n \"191.235.224.72/29\",\r\n \"2603:1050:6:1::40/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"GatewayManager.CanadaCentral\",\r\n + \ \"id\": \"GatewayManager.CanadaCentral\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"canadacentral\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"GatewayManager\",\r\n \"addressPrefixes\": + [\r\n \"13.71.170.240/29\",\r\n \"52.228.80.72/29\",\r\n + \ \"52.237.24.145/32\",\r\n \"52.237.30.255/32\",\r\n \"2603:1030:f05:1::40/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"GatewayManager.CanadaEast\",\r\n + \ \"id\": \"GatewayManager.CanadaEast\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"canadaeast\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"GatewayManager\",\r\n \"addressPrefixes\": + [\r\n \"40.69.106.88/29\",\r\n \"40.89.16.72/29\",\r\n \"52.139.87.129/32\",\r\n + \ \"52.139.87.150/32\",\r\n \"52.242.17.200/32\",\r\n \"52.242.28.83/32\",\r\n + \ \"2603:1030:1005::40/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"GatewayManager.CentralIndia\",\r\n \"id\": + \"GatewayManager.CentralIndia\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"3\",\r\n \"region\": + \"centralindia\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"GatewayManager\",\r\n \"addressPrefixes\": + [\r\n \"20.192.47.0/26\",\r\n \"20.193.142.141/32\",\r\n + \ \"20.193.142.178/32\",\r\n \"52.140.104.72/29\",\r\n \"52.172.204.73/32\",\r\n + \ \"52.172.222.13/32\",\r\n \"104.211.81.208/29\",\r\n \"2603:1040:a06:1::40/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"GatewayManager.CentralUS\",\r\n + \ \"id\": \"GatewayManager.CentralUS\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"centralus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"GatewayManager\",\r\n \"addressPrefixes\": + [\r\n \"13.89.171.96/29\",\r\n \"20.37.152.72/29\",\r\n + \ \"52.143.250.137/32\",\r\n \"52.143.251.22/32\",\r\n \"52.165.221.72/32\",\r\n + \ \"52.173.250.124/32\",\r\n \"2603:1030:10:1::40/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"GatewayManager.CentralUSEUAP\",\r\n + \ \"id\": \"GatewayManager.CentralUSEUAP\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"centraluseuap\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"GatewayManager\",\r\n \"addressPrefixes\": + [\r\n \"20.45.192.72/29\",\r\n \"20.46.13.128/26\",\r\n + \ \"40.78.202.112/29\",\r\n \"52.180.178.35/32\",\r\n \"52.180.178.191/32\",\r\n + \ \"52.180.182.210/32\",\r\n \"52.253.157.2/32\",\r\n \"52.253.159.209/32\",\r\n + \ \"52.253.232.235/32\",\r\n \"52.253.239.162/32\",\r\n \"2603:1030:f:1::40/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"GatewayManager.EastAsia\",\r\n + \ \"id\": \"GatewayManager.EastAsia\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"eastasia\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"GatewayManager\",\r\n \"addressPrefixes\": + [\r\n \"13.75.36.8/29\",\r\n \"20.189.104.72/29\",\r\n \"52.229.161.220/32\",\r\n + \ \"52.229.166.101/32\",\r\n \"2603:1040:207::40/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"GatewayManager.EastUS\",\r\n + \ \"id\": \"GatewayManager.EastUS\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"eastus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"GatewayManager\",\r\n \"addressPrefixes\": + [\r\n \"13.92.84.128/32\",\r\n \"20.42.0.72/29\",\r\n \"40.71.11.96/29\",\r\n + \ \"40.88.222.179/32\",\r\n \"40.88.223.53/32\",\r\n \"52.179.10.142/32\",\r\n + \ \"2603:1030:210:1::40/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"GatewayManager.EastUS2\",\r\n \"id\": \"GatewayManager.EastUS2\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"eastus2\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"GatewayManager\",\r\n \"addressPrefixes\": [\r\n \"20.41.0.72/29\",\r\n + \ \"40.70.146.224/29\",\r\n \"52.177.204.204/32\",\r\n \"52.177.207.219/32\",\r\n + \ \"52.184.255.23/32\",\r\n \"52.251.12.161/32\",\r\n \"2603:1030:40c:1::40/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"GatewayManager.EastUS2EUAP\",\r\n + \ \"id\": \"GatewayManager.EastUS2EUAP\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"eastus2euap\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"GatewayManager\",\r\n \"addressPrefixes\": + [\r\n \"20.39.1.56/32\",\r\n \"20.39.1.58/32\",\r\n \"20.39.8.72/29\",\r\n + \ \"20.39.26.140/32\",\r\n \"20.39.26.246/32\",\r\n \"52.138.70.115/32\",\r\n + \ \"52.138.71.153/32\",\r\n \"52.138.90.40/29\",\r\n \"2603:1030:40b:1::40/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"GatewayManager.FranceCentral\",\r\n + \ \"id\": \"GatewayManager.FranceCentral\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"centralfrance\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"GatewayManager\",\r\n \"addressPrefixes\": + [\r\n \"20.43.40.72/29\",\r\n \"20.74.0.115/32\",\r\n \"20.74.0.127/32\",\r\n + \ \"40.79.130.224/29\",\r\n \"52.143.136.58/31\",\r\n \"2603:1020:805:1::40/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"GatewayManager.FranceSouth\",\r\n + \ \"id\": \"GatewayManager.FranceSouth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"southfrance\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"GatewayManager\",\r\n \"addressPrefixes\": + [\r\n \"40.79.178.88/29\",\r\n \"40.82.236.2/32\",\r\n \"40.82.236.13/32\",\r\n + \ \"51.105.88.72/29\",\r\n \"52.136.137.15/32\",\r\n \"52.136.137.16/32\",\r\n + \ \"2603:1020:905::40/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"GatewayManager.GermanyNorth\",\r\n \"id\": + \"GatewayManager.GermanyNorth\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\": + \"germanyn\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"GatewayManager\",\r\n \"addressPrefixes\": + [\r\n \"51.116.48.72/29\",\r\n \"51.116.59.32/29\",\r\n + \ \"2603:1020:d04::40/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"GatewayManager.GermanyWestCentral\",\r\n \"id\": + \"GatewayManager.GermanyWestCentral\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"germanywc\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"GatewayManager\",\r\n \"addressPrefixes\": + [\r\n \"51.116.144.72/29\",\r\n \"51.116.155.96/29\",\r\n + \ \"2603:1020:c04:1::40/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"GatewayManager.JapanEast\",\r\n \"id\": \"GatewayManager.JapanEast\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"1\",\r\n \"region\": \"japaneast\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"GatewayManager\",\r\n \"addressPrefixes\": [\r\n \"13.78.108.16/29\",\r\n + \ \"20.43.64.72/29\",\r\n \"40.115.248.200/32\",\r\n \"40.115.254.17/32\",\r\n + \ \"2603:1040:407:1::40/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"GatewayManager.JapanWest\",\r\n \"id\": \"GatewayManager.JapanWest\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"japanwest\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"GatewayManager\",\r\n \"addressPrefixes\": [\r\n \"40.74.100.168/29\",\r\n + \ \"40.80.56.72/29\",\r\n \"40.81.180.83/32\",\r\n \"40.81.182.82/32\",\r\n + \ \"40.81.189.24/32\",\r\n \"40.81.189.42/32\",\r\n \"104.215.50.115/32\",\r\n + \ \"104.215.52.27/32\",\r\n \"2603:1040:606::40/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"GatewayManager.KoreaCentral\",\r\n + \ \"id\": \"GatewayManager.KoreaCentral\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"koreacentral\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"GatewayManager\",\r\n \"addressPrefixes\": + [\r\n \"20.41.64.72/29\",\r\n \"20.194.75.128/26\",\r\n + \ \"52.231.18.224/29\",\r\n \"52.231.24.186/32\",\r\n \"52.231.35.84/32\",\r\n + \ \"2603:1040:f05:1::40/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"GatewayManager.KoreaSouth\",\r\n \"id\": \"GatewayManager.KoreaSouth\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"koreasouth\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"GatewayManager\",\r\n \"addressPrefixes\": [\r\n \"40.80.168.72/29\",\r\n + \ \"40.89.217.100/32\",\r\n \"40.89.217.109/32\",\r\n \"52.231.146.200/29\",\r\n + \ \"52.231.203.87/32\",\r\n \"52.231.204.175/32\"\r\n ]\r\n + \ }\r\n },\r\n {\r\n \"name\": \"GatewayManager.NorthCentralUS\",\r\n + \ \"id\": \"GatewayManager.NorthCentralUS\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"northcentralus\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"GatewayManager\",\r\n \"addressPrefixes\": [\r\n \"23.100.231.72/32\",\r\n + \ \"23.100.231.96/32\",\r\n \"23.101.173.90/32\",\r\n \"40.80.184.72/29\",\r\n + \ \"52.162.106.168/29\",\r\n \"168.62.104.154/32\",\r\n \"2603:1030:608::40/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"GatewayManager.NorthEurope\",\r\n + \ \"id\": \"GatewayManager.NorthEurope\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"northeurope\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"GatewayManager\",\r\n \"addressPrefixes\": + [\r\n \"13.69.227.224/29\",\r\n \"20.38.80.72/29\",\r\n + \ \"20.54.106.86/32\",\r\n \"20.54.121.133/32\",\r\n \"52.169.225.171/32\",\r\n + \ \"52.169.231.163/32\",\r\n \"2603:1020:5:1::40/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"GatewayManager.NorwayEast\",\r\n + \ \"id\": \"GatewayManager.NorwayEast\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"norwaye\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"GatewayManager\",\r\n \"addressPrefixes\": + [\r\n \"51.120.40.72/29\",\r\n \"51.120.98.168/29\",\r\n + \ \"51.120.235.128/26\",\r\n \"2603:1020:e04:1::40/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"GatewayManager.NorwayWest\",\r\n + \ \"id\": \"GatewayManager.NorwayWest\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"norwayw\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"GatewayManager\",\r\n \"addressPrefixes\": + [\r\n \"51.120.219.64/29\",\r\n \"51.120.224.72/29\",\r\n + \ \"2603:1020:f04::40/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"GatewayManager.SouthAfricaNorth\",\r\n \"id\": + \"GatewayManager.SouthAfricaNorth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"southafricanorth\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"GatewayManager\",\r\n \"addressPrefixes\": [\r\n \"102.133.155.16/29\",\r\n + \ \"102.133.216.72/29\",\r\n \"2603:1000:104:1::40/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"GatewayManager.SouthAfricaWest\",\r\n + \ \"id\": \"GatewayManager.SouthAfricaWest\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"southafricawest\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"GatewayManager\",\r\n \"addressPrefixes\": [\r\n \"102.133.27.16/29\",\r\n + \ \"102.133.56.72/29\",\r\n \"2603:1000:4::40/122\"\r\n ]\r\n + \ }\r\n },\r\n {\r\n \"name\": \"GatewayManager.SouthCentralUS\",\r\n + \ \"id\": \"GatewayManager.SouthCentralUS\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"southcentralus\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"GatewayManager\",\r\n \"addressPrefixes\": [\r\n \"13.65.91.57/32\",\r\n + \ \"13.85.74.21/32\",\r\n \"40.119.8.64/29\",\r\n \"40.124.139.107/32\",\r\n + \ \"40.124.139.174/32\",\r\n \"70.37.160.97/32\",\r\n \"70.37.161.124/32\",\r\n + \ \"104.214.19.64/29\",\r\n \"2603:1030:807:1::40/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"GatewayManager.SoutheastAsia\",\r\n + \ \"id\": \"GatewayManager.SoutheastAsia\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"southeastasia\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"GatewayManager\",\r\n \"addressPrefixes\": + [\r\n \"13.67.9.128/29\",\r\n \"20.43.128.72/29\",\r\n \"20.195.37.65/32\",\r\n + \ \"20.195.38.22/32\",\r\n \"40.90.186.21/32\",\r\n \"40.90.186.91/32\",\r\n + \ \"52.163.241.22/32\",\r\n \"52.163.246.27/32\",\r\n \"2603:1040:5:1::40/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"GatewayManager.SouthIndia\",\r\n + \ \"id\": \"GatewayManager.SouthIndia\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"southindia\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"GatewayManager\",\r\n \"addressPrefixes\": + [\r\n \"20.41.192.72/29\",\r\n \"40.78.194.88/29\",\r\n + \ \"52.172.28.183/32\",\r\n \"52.172.31.29/32\",\r\n \"2603:1040:c06::40/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"GatewayManager.SwitzerlandNorth\",\r\n + \ \"id\": \"GatewayManager.SwitzerlandNorth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"switzerlandn\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"GatewayManager\",\r\n \"addressPrefixes\": + [\r\n \"51.107.48.72/29\",\r\n \"51.107.59.32/29\",\r\n + \ \"2603:1020:a04:1::40/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"GatewayManager.SwitzerlandWest\",\r\n \"id\": + \"GatewayManager.SwitzerlandWest\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\": + \"switzerlandw\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"GatewayManager\",\r\n \"addressPrefixes\": + [\r\n \"51.107.144.72/29\",\r\n \"51.107.155.32/29\",\r\n + \ \"2603:1020:b04::40/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"GatewayManager.UAECentral\",\r\n \"id\": \"GatewayManager.UAECentral\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"uaecentral\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"GatewayManager\",\r\n \"addressPrefixes\": [\r\n \"20.37.64.72/29\",\r\n + \ \"20.37.74.88/29\",\r\n \"2603:1040:b04::40/122\"\r\n ]\r\n + \ }\r\n },\r\n {\r\n \"name\": \"GatewayManager.UAENorth\",\r\n + \ \"id\": \"GatewayManager.UAENorth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"uaenorth\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"GatewayManager\",\r\n \"addressPrefixes\": + [\r\n \"20.38.136.72/29\",\r\n \"65.52.250.24/29\",\r\n + \ \"2603:1040:904:1::40/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"GatewayManager.UKSouth\",\r\n \"id\": \"GatewayManager.UKSouth\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"1\",\r\n \"region\": \"uksouth\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"GatewayManager\",\r\n \"addressPrefixes\": [\r\n \"51.104.24.72/29\",\r\n + \ \"51.140.63.41/32\",\r\n \"51.140.114.209/32\",\r\n \"51.140.148.16/29\",\r\n + \ \"2603:1020:705:1::40/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"GatewayManager.UKSouth2\",\r\n \"id\": \"GatewayManager.UKSouth2\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"uksouth2\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\"\r\n ],\r\n \"systemService\": + \"GatewayManager\",\r\n \"addressPrefixes\": [\r\n \"13.87.35.147/32\",\r\n + \ \"13.87.36.246/32\",\r\n \"13.87.56.104/29\",\r\n \"51.143.192.72/29\",\r\n + \ \"2603:1020:405::40/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"GatewayManager.UKWest\",\r\n \"id\": \"GatewayManager.UKWest\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"ukwest\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"GatewayManager\",\r\n \"addressPrefixes\": [\r\n \"51.137.160.72/29\",\r\n + \ \"51.140.210.200/29\",\r\n \"51.141.25.80/32\",\r\n \"51.141.29.178/32\",\r\n + \ \"52.142.152.114/32\",\r\n \"52.142.154.100/32\",\r\n \"2603:1020:605::40/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"GatewayManager.WestCentralUS\",\r\n + \ \"id\": \"GatewayManager.WestCentralUS\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"westcentralus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"GatewayManager\",\r\n \"addressPrefixes\": + [\r\n \"13.71.194.232/29\",\r\n \"13.78.188.33/32\",\r\n + \ \"52.148.30.6/32\",\r\n \"52.150.136.72/29\",\r\n \"52.159.19.113/32\",\r\n + \ \"52.159.20.67/32\",\r\n \"52.159.21.124/32\",\r\n \"52.161.28.251/32\",\r\n + \ \"2603:1030:b04::40/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"GatewayManager.WestEurope\",\r\n \"id\": \"GatewayManager.WestEurope\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"1\",\r\n \"region\": \"westeurope\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"GatewayManager\",\r\n \"addressPrefixes\": [\r\n \"13.69.64.224/29\",\r\n + \ \"13.93.112.146/32\",\r\n \"13.93.117.26/32\",\r\n \"40.74.24.72/29\",\r\n + \ \"2603:1020:206:1::40/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"GatewayManager.WestIndia\",\r\n \"id\": \"GatewayManager.WestIndia\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"westindia\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"GatewayManager\",\r\n \"addressPrefixes\": [\r\n \"40.81.94.172/32\",\r\n + \ \"40.81.94.182/32\",\r\n \"52.136.48.72/29\",\r\n \"104.211.146.88/29\",\r\n + \ \"104.211.188.0/32\",\r\n \"104.211.191.94/32\",\r\n \"2603:1040:806::40/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"GatewayManager.WestUS\",\r\n + \ \"id\": \"GatewayManager.WestUS\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"westus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"GatewayManager\",\r\n \"addressPrefixes\": + [\r\n \"13.91.249.235/32\",\r\n \"13.91.254.232/32\",\r\n + \ \"20.189.180.225/32\",\r\n \"20.189.181.8/32\",\r\n \"40.82.248.240/29\",\r\n + \ \"40.112.242.168/29\",\r\n \"168.62.208.162/32\",\r\n \"168.62.209.95/32\",\r\n + \ \"2603:1030:a07::40/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"GatewayManager.WestUS2\",\r\n \"id\": \"GatewayManager.WestUS2\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"westus2\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"GatewayManager\",\r\n \"addressPrefixes\": [\r\n \"13.66.140.144/29\",\r\n + \ \"20.42.128.72/29\",\r\n \"40.91.89.36/32\",\r\n \"40.91.91.51/32\",\r\n + \ \"52.149.24.100/32\",\r\n \"52.149.26.14/32\",\r\n \"52.191.140.123/32\",\r\n + \ \"52.191.170.38/32\",\r\n \"2603:1030:c06:1::40/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"GuestAndHybridManagement\",\r\n + \ \"id\": \"GuestAndHybridManagement\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureAutomation\",\r\n \"addressPrefixes\": + [\r\n \"13.65.24.129/32\",\r\n \"13.66.138.94/31\",\r\n + \ \"13.66.141.224/29\",\r\n \"13.66.145.80/28\",\r\n \"13.67.8.110/31\",\r\n + \ \"13.67.10.72/29\",\r\n \"13.69.64.78/31\",\r\n \"13.69.67.48/29\",\r\n + \ \"13.69.107.64/29\",\r\n \"13.69.109.128/31\",\r\n \"13.69.109.176/28\",\r\n + \ \"13.69.227.78/31\",\r\n \"13.69.229.248/29\",\r\n \"13.70.72.30/31\",\r\n + \ \"13.70.74.80/29\",\r\n \"13.70.123.166/32\",\r\n \"13.71.170.46/31\",\r\n + \ \"13.71.173.208/29\",\r\n \"13.71.175.144/28\",\r\n \"13.71.194.118/31\",\r\n + \ \"13.71.196.128/29\",\r\n \"13.71.199.176/28\",\r\n \"13.73.242.40/29\",\r\n + \ \"13.73.242.210/31\",\r\n \"13.73.244.208/28\",\r\n \"13.74.107.92/31\",\r\n + \ \"13.74.108.136/29\",\r\n \"13.75.34.150/31\",\r\n \"13.75.39.104/29\",\r\n + \ \"13.77.1.26/32\",\r\n \"13.77.1.212/32\",\r\n \"13.77.50.70/31\",\r\n + \ \"13.77.53.56/29\",\r\n \"13.77.55.192/28\",\r\n \"13.78.59.184/32\",\r\n + \ \"13.78.106.94/31\",\r\n \"13.78.109.120/29\",\r\n \"13.78.111.208/28\",\r\n + \ \"13.86.219.200/29\",\r\n \"13.86.221.216/31\",\r\n \"13.86.223.64/28\",\r\n + \ \"13.87.56.86/31\",\r\n \"13.87.58.72/29\",\r\n \"13.87.122.86/31\",\r\n + \ \"13.87.124.72/29\",\r\n \"13.88.240.74/32\",\r\n \"13.88.244.195/32\",\r\n + \ \"13.89.170.206/31\",\r\n \"13.89.174.136/29\",\r\n \"13.89.178.96/28\",\r\n + \ \"13.94.240.75/32\",\r\n \"20.36.39.150/32\",\r\n \"20.36.106.70/31\",\r\n + \ \"20.36.108.128/29\",\r\n \"20.36.108.240/28\",\r\n \"20.36.114.22/31\",\r\n + \ \"20.36.117.32/29\",\r\n \"20.36.117.144/28\",\r\n \"20.37.74.226/31\",\r\n + \ \"20.37.76.120/29\",\r\n \"20.38.128.104/29\",\r\n \"20.38.128.168/31\",\r\n + \ \"20.38.132.0/28\",\r\n \"20.38.147.152/29\",\r\n \"20.38.149.128/31\",\r\n + \ \"20.42.64.32/31\",\r\n \"20.42.72.128/31\",\r\n \"20.42.72.144/28\",\r\n + \ \"20.43.120.248/29\",\r\n \"20.43.121.120/31\",\r\n \"20.43.123.48/28\",\r\n + \ \"20.44.2.6/31\",\r\n \"20.44.4.104/29\",\r\n \"20.44.8.200/29\",\r\n + \ \"20.44.10.120/31\",\r\n \"20.44.17.8/29\",\r\n \"20.44.17.216/31\",\r\n + \ \"20.44.19.16/28\",\r\n \"20.44.27.112/29\",\r\n \"20.44.29.48/31\",\r\n + \ \"20.44.29.96/28\",\r\n \"20.45.123.88/29\",\r\n \"20.45.123.232/31\",\r\n + \ \"20.49.82.24/29\",\r\n \"20.49.90.24/29\",\r\n \"20.72.27.176/29\",\r\n + \ \"20.150.171.216/29\",\r\n \"20.150.172.224/31\",\r\n \"20.150.179.192/29\",\r\n + \ \"20.150.181.24/31\",\r\n \"20.150.181.176/28\",\r\n \"20.150.187.192/29\",\r\n + \ \"20.150.189.24/31\",\r\n \"20.192.99.192/29\",\r\n \"20.192.101.24/31\",\r\n + \ \"20.192.184.64/28\",\r\n \"20.192.234.176/28\",\r\n \"20.192.235.8/29\",\r\n + \ \"20.192.238.120/31\",\r\n \"20.193.202.176/28\",\r\n \"20.193.203.192/29\",\r\n + \ \"20.194.66.24/29\",\r\n \"23.96.225.107/32\",\r\n \"23.96.225.182/32\",\r\n + \ \"23.98.83.64/29\",\r\n \"23.98.86.56/31\",\r\n \"40.67.60.96/29\",\r\n + \ \"40.67.60.108/31\",\r\n \"40.69.106.70/31\",\r\n \"40.69.108.88/29\",\r\n + \ \"40.69.110.240/28\",\r\n \"40.70.146.78/31\",\r\n \"40.70.148.48/29\",\r\n + \ \"40.71.10.206/31\",\r\n \"40.71.13.240/29\",\r\n \"40.71.30.252/32\",\r\n + \ \"40.74.146.82/31\",\r\n \"40.74.149.32/29\",\r\n \"40.74.150.16/28\",\r\n + \ \"40.75.35.128/29\",\r\n \"40.75.35.216/31\",\r\n \"40.78.194.70/31\",\r\n + \ \"40.78.196.88/29\",\r\n \"40.78.202.130/31\",\r\n \"40.78.203.248/29\",\r\n + \ \"40.78.229.40/29\",\r\n \"40.78.236.128/29\",\r\n \"40.78.238.56/31\",\r\n + \ \"40.78.239.32/28\",\r\n \"40.78.242.172/31\",\r\n \"40.78.243.24/29\",\r\n + \ \"40.78.250.108/31\",\r\n \"40.78.250.216/29\",\r\n \"40.79.130.46/31\",\r\n + \ \"40.79.132.40/29\",\r\n \"40.79.138.44/31\",\r\n \"40.79.138.152/29\",\r\n + \ \"40.79.139.208/28\",\r\n \"40.79.146.44/31\",\r\n \"40.79.146.152/29\",\r\n + \ \"40.79.156.40/29\",\r\n \"40.79.163.8/29\",\r\n \"40.79.163.152/31\",\r\n + \ \"40.79.170.248/29\",\r\n \"40.79.171.224/31\",\r\n \"40.79.173.16/28\",\r\n + \ \"40.79.178.70/31\",\r\n \"40.79.180.56/29\",\r\n \"40.79.180.208/28\",\r\n + \ \"40.79.187.160/29\",\r\n \"40.79.189.56/31\",\r\n \"40.79.194.120/29\",\r\n + \ \"40.79.197.32/31\",\r\n \"40.80.51.88/29\",\r\n \"40.80.53.0/31\",\r\n + \ \"40.80.176.48/29\",\r\n \"40.80.180.0/31\",\r\n \"40.80.180.96/28\",\r\n + \ \"40.85.168.201/32\",\r\n \"40.89.129.151/32\",\r\n \"40.89.132.62/32\",\r\n + \ \"40.89.137.16/32\",\r\n \"40.89.157.7/32\",\r\n \"40.114.77.89/32\",\r\n + \ \"40.114.85.4/32\",\r\n \"40.118.103.191/32\",\r\n \"40.120.8.32/28\",\r\n + \ \"40.120.64.48/28\",\r\n \"40.120.75.48/29\",\r\n \"51.11.97.0/31\",\r\n + \ \"51.11.97.64/28\",\r\n \"51.12.99.208/29\",\r\n \"51.12.203.72/29\",\r\n + \ \"51.12.227.192/29\",\r\n \"51.12.235.192/29\",\r\n \"51.104.8.240/29\",\r\n + \ \"51.104.9.96/31\",\r\n \"51.105.67.168/29\",\r\n \"51.105.69.80/31\",\r\n + \ \"51.105.75.152/29\",\r\n \"51.105.77.48/31\",\r\n \"51.105.77.80/28\",\r\n + \ \"51.107.60.80/29\",\r\n \"51.107.60.92/31\",\r\n \"51.107.60.208/28\",\r\n + \ \"51.107.156.72/29\",\r\n \"51.107.156.132/31\",\r\n \"51.107.156.208/28\",\r\n + \ \"51.116.60.80/29\",\r\n \"51.116.60.224/28\",\r\n \"51.116.156.160/29\",\r\n + \ \"51.116.158.56/31\",\r\n \"51.116.158.80/28\",\r\n \"51.116.243.144/29\",\r\n + \ \"51.116.243.216/31\",\r\n \"51.116.251.32/29\",\r\n \"51.116.251.184/31\",\r\n + \ \"51.120.100.80/29\",\r\n \"51.120.100.92/31\",\r\n \"51.120.107.192/29\",\r\n + \ \"51.120.109.24/31\",\r\n \"51.120.109.48/28\",\r\n \"51.120.211.192/29\",\r\n + \ \"51.120.213.24/31\",\r\n \"51.120.220.80/29\",\r\n \"51.120.220.92/31\",\r\n + \ \"51.120.220.176/28\",\r\n \"51.140.6.15/32\",\r\n \"51.140.51.174/32\",\r\n + \ \"51.140.212.104/29\",\r\n \"52.138.90.52/31\",\r\n \"52.138.92.80/29\",\r\n + \ \"52.138.227.136/29\",\r\n \"52.138.229.64/31\",\r\n \"52.138.229.80/28\",\r\n + \ \"52.147.97.0/31\",\r\n \"52.151.62.99/32\",\r\n \"52.161.14.192/32\",\r\n + \ \"52.161.28.108/32\",\r\n \"52.162.110.240/29\",\r\n \"52.162.111.128/31\",\r\n + \ \"52.163.228.23/32\",\r\n \"52.167.107.72/29\",\r\n \"52.167.109.64/31\",\r\n + \ \"52.169.105.82/32\",\r\n \"52.172.153.216/32\",\r\n \"52.172.155.142/32\",\r\n + \ \"52.178.223.62/32\",\r\n \"52.180.166.238/32\",\r\n \"52.180.179.25/32\",\r\n + \ \"52.182.139.56/29\",\r\n \"52.182.141.12/31\",\r\n \"52.182.141.144/28\",\r\n + \ \"52.183.5.195/32\",\r\n \"52.231.18.46/31\",\r\n \"52.231.20.0/29\",\r\n + \ \"52.231.64.18/32\",\r\n \"52.231.69.100/32\",\r\n \"52.231.148.120/29\",\r\n + \ \"52.231.148.208/28\",\r\n \"52.236.186.240/29\",\r\n \"52.236.189.72/31\",\r\n + \ \"52.240.241.64/28\",\r\n \"52.246.155.152/29\",\r\n \"52.246.157.0/31\",\r\n + \ \"65.52.250.6/31\",\r\n \"65.52.252.120/29\",\r\n \"102.37.64.32/28\",\r\n + \ \"102.133.26.6/31\",\r\n \"102.133.28.144/29\",\r\n \"102.133.124.16/29\",\r\n + \ \"102.133.156.112/29\",\r\n \"102.133.251.176/29\",\r\n + \ \"102.133.253.32/28\",\r\n \"104.41.9.106/32\",\r\n \"104.41.178.182/32\",\r\n + \ \"104.208.163.218/32\",\r\n \"104.209.137.89/32\",\r\n + \ \"104.210.80.208/32\",\r\n \"104.210.158.71/32\",\r\n \"104.214.164.32/28\",\r\n + \ \"104.215.254.56/32\",\r\n \"168.61.140.48/28\",\r\n \"191.232.170.251/32\",\r\n + \ \"191.233.51.144/29\",\r\n \"191.233.203.30/31\",\r\n \"191.233.205.64/29\",\r\n + \ \"191.234.147.192/29\",\r\n \"191.234.149.48/28\",\r\n + \ \"191.234.149.136/31\",\r\n \"191.234.155.192/29\",\r\n + \ \"191.234.157.40/31\",\r\n \"2603:1000:4:402::2c0/124\",\r\n + \ \"2603:1000:104:402::2c0/124\",\r\n \"2603:1000:104:802::200/124\",\r\n + \ \"2603:1000:104:c02::200/124\",\r\n \"2603:1010:6:402::2c0/124\",\r\n + \ \"2603:1010:6:802::200/124\",\r\n \"2603:1010:6:c02::200/124\",\r\n + \ \"2603:1010:101:402::2c0/124\",\r\n \"2603:1010:304:402::2c0/124\",\r\n + \ \"2603:1010:404:402::2c0/124\",\r\n \"2603:1020:5:402::2c0/124\",\r\n + \ \"2603:1020:5:802::200/124\",\r\n \"2603:1020:5:c02::200/124\",\r\n + \ \"2603:1020:206:402::2c0/124\",\r\n \"2603:1020:206:802::200/124\",\r\n + \ \"2603:1020:206:c02::200/124\",\r\n \"2603:1020:305:402::2c0/124\",\r\n + \ \"2603:1020:405:402::2c0/124\",\r\n \"2603:1020:605:402::2c0/124\",\r\n + \ \"2603:1020:705:402::2c0/124\",\r\n \"2603:1020:705:802::200/124\",\r\n + \ \"2603:1020:705:c02::200/124\",\r\n \"2603:1020:805:402::2c0/124\",\r\n + \ \"2603:1020:805:802::200/124\",\r\n \"2603:1020:805:c02::200/124\",\r\n + \ \"2603:1020:905:402::2c0/124\",\r\n \"2603:1020:a04:402::2c0/124\",\r\n + \ \"2603:1020:a04:802::200/124\",\r\n \"2603:1020:a04:c02::200/124\",\r\n + \ \"2603:1020:b04:402::2c0/124\",\r\n \"2603:1020:c04:402::2c0/124\",\r\n + \ \"2603:1020:c04:802::200/124\",\r\n \"2603:1020:c04:c02::200/124\",\r\n + \ \"2603:1020:d04:402::2c0/124\",\r\n \"2603:1020:e04:402::2c0/124\",\r\n + \ \"2603:1020:e04:802::200/124\",\r\n \"2603:1020:e04:c02::200/124\",\r\n + \ \"2603:1020:f04:402::2c0/124\",\r\n \"2603:1020:1004:400::1c0/124\",\r\n + \ \"2603:1020:1004:400::2e0/124\",\r\n \"2603:1020:1004:400::3a0/124\",\r\n + \ \"2603:1020:1004:800::3d0/124\",\r\n \"2603:1020:1004:800::3f0/124\",\r\n + \ \"2603:1020:1104:400::2c0/124\",\r\n \"2603:1030:f:400::ac0/124\",\r\n + \ \"2603:1030:10:402::2c0/124\",\r\n \"2603:1030:10:802::200/124\",\r\n + \ \"2603:1030:10:c02::200/124\",\r\n \"2603:1030:104:402::2c0/124\",\r\n + \ \"2603:1030:107:400::240/124\",\r\n \"2603:1030:210:402::2c0/124\",\r\n + \ \"2603:1030:210:802::200/124\",\r\n \"2603:1030:210:c02::200/124\",\r\n + \ \"2603:1030:40b:400::ac0/124\",\r\n \"2603:1030:40b:800::200/124\",\r\n + \ \"2603:1030:40b:c00::200/124\",\r\n \"2603:1030:40c:402::2c0/124\",\r\n + \ \"2603:1030:40c:802::200/124\",\r\n \"2603:1030:40c:c02::200/124\",\r\n + \ \"2603:1030:504:402::1c0/124\",\r\n \"2603:1030:504:402::2e0/124\",\r\n + \ \"2603:1030:504:402::3a0/124\",\r\n \"2603:1030:504:402::440/124\",\r\n + \ \"2603:1030:504:802::3c0/123\",\r\n \"2603:1030:504:802::3f0/124\",\r\n + \ \"2603:1030:608:402::2c0/124\",\r\n \"2603:1030:807:402::2c0/124\",\r\n + \ \"2603:1030:807:802::200/124\",\r\n \"2603:1030:807:c02::200/124\",\r\n + \ \"2603:1030:a07:402::940/124\",\r\n \"2603:1030:b04:402::2c0/124\",\r\n + \ \"2603:1030:c06:400::ac0/124\",\r\n \"2603:1030:c06:802::200/124\",\r\n + \ \"2603:1030:c06:c02::200/124\",\r\n \"2603:1030:f05:402::2c0/124\",\r\n + \ \"2603:1030:f05:802::200/124\",\r\n \"2603:1030:f05:c02::200/124\",\r\n + \ \"2603:1030:1005:402::2c0/124\",\r\n \"2603:1040:5:402::2c0/124\",\r\n + \ \"2603:1040:5:802::200/124\",\r\n \"2603:1040:5:c02::200/124\",\r\n + \ \"2603:1040:207:402::2c0/124\",\r\n \"2603:1040:407:402::2c0/124\",\r\n + \ \"2603:1040:407:802::200/124\",\r\n \"2603:1040:407:c02::200/124\",\r\n + \ \"2603:1040:606:402::2c0/124\",\r\n \"2603:1040:806:402::2c0/124\",\r\n + \ \"2603:1040:904:402::2c0/124\",\r\n \"2603:1040:904:802::200/124\",\r\n + \ \"2603:1040:904:c02::200/124\",\r\n \"2603:1040:a06:402::2c0/124\",\r\n + \ \"2603:1040:a06:802::200/124\",\r\n \"2603:1040:a06:c02::200/124\",\r\n + \ \"2603:1040:b04:402::2c0/124\",\r\n \"2603:1040:c06:402::2c0/124\",\r\n + \ \"2603:1040:d04:400::1c0/124\",\r\n \"2603:1040:d04:400::2e0/124\",\r\n + \ \"2603:1040:d04:400::3a0/124\",\r\n \"2603:1040:d04:800::3d0/124\",\r\n + \ \"2603:1040:d04:800::3f0/124\",\r\n \"2603:1040:f05:402::2c0/124\",\r\n + \ \"2603:1040:f05:802::200/124\",\r\n \"2603:1040:f05:c02::200/124\",\r\n + \ \"2603:1040:1104:400::2c0/124\",\r\n \"2603:1050:6:402::2c0/124\",\r\n + \ \"2603:1050:6:802::200/124\",\r\n \"2603:1050:6:c02::200/124\",\r\n + \ \"2603:1050:403:400::1e0/124\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"GuestAndHybridManagement.BrazilSouth\",\r\n \"id\": + \"GuestAndHybridManagement.BrazilSouth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"brazilsouth\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"AzureAutomation\",\r\n \"addressPrefixes\": [\r\n \"104.41.9.106/32\",\r\n + \ \"191.232.170.251/32\",\r\n \"191.233.203.30/31\",\r\n + \ \"191.233.205.64/29\",\r\n \"191.234.147.192/29\",\r\n + \ \"191.234.149.48/28\",\r\n \"191.234.149.136/31\",\r\n + \ \"191.234.155.192/29\",\r\n \"191.234.157.40/31\",\r\n + \ \"2603:1050:6:402::2c0/124\",\r\n \"2603:1050:6:802::200/124\",\r\n + \ \"2603:1050:6:c02::200/124\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"GuestAndHybridManagement.KoreaCentral\",\r\n \"id\": + \"GuestAndHybridManagement.KoreaCentral\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"koreacentral\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"AzureAutomation\",\r\n \"addressPrefixes\": [\r\n \"20.44.27.112/29\",\r\n + \ \"20.44.29.48/31\",\r\n \"20.44.29.96/28\",\r\n \"20.194.66.24/29\",\r\n + \ \"52.231.18.46/31\",\r\n \"52.231.20.0/29\",\r\n \"52.231.64.18/32\",\r\n + \ \"52.231.69.100/32\",\r\n \"2603:1040:f05:402::2c0/124\",\r\n + \ \"2603:1040:f05:802::200/124\",\r\n \"2603:1040:f05:c02::200/124\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"GuestAndHybridManagement.NorwayEast\",\r\n + \ \"id\": \"GuestAndHybridManagement.NorwayEast\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"norwaye\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"AzureAutomation\",\r\n \"addressPrefixes\": [\r\n \"51.120.100.80/29\",\r\n + \ \"51.120.100.92/31\",\r\n \"51.120.107.192/29\",\r\n \"51.120.109.24/31\",\r\n + \ \"51.120.109.48/28\",\r\n \"51.120.211.192/29\",\r\n \"51.120.213.24/31\",\r\n + \ \"2603:1020:e04:402::2c0/124\",\r\n \"2603:1020:e04:802::200/124\",\r\n + \ \"2603:1020:e04:c02::200/124\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"GuestAndHybridManagement.NorwayWest\",\r\n \"id\": + \"GuestAndHybridManagement.NorwayWest\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"norwayw\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"AzureAutomation\",\r\n \"addressPrefixes\": [\r\n \"51.120.220.80/29\",\r\n + \ \"51.120.220.92/31\",\r\n \"51.120.220.176/28\",\r\n \"2603:1020:f04:402::2c0/124\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"GuestAndHybridManagement.SwitzerlandWest\",\r\n + \ \"id\": \"GuestAndHybridManagement.SwitzerlandWest\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"switzerlandw\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"AzureAutomation\",\r\n \"addressPrefixes\": [\r\n \"51.107.156.72/29\",\r\n + \ \"51.107.156.132/31\",\r\n \"51.107.156.208/28\",\r\n \"2603:1020:b04:402::2c0/124\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"HDInsight\",\r\n + \ \"id\": \"HDInsight\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"5\",\r\n \"region\": + \"\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n + \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"HDInsight\",\r\n \"addressPrefixes\": + [\r\n \"13.64.254.98/32\",\r\n \"13.66.141.144/29\",\r\n + \ \"13.67.9.152/29\",\r\n \"13.69.65.8/29\",\r\n \"13.69.229.72/29\",\r\n + \ \"13.70.73.96/29\",\r\n \"13.71.172.240/29\",\r\n \"13.71.196.48/29\",\r\n + \ \"13.73.240.8/29\",\r\n \"13.73.254.192/29\",\r\n \"13.74.153.132/32\",\r\n + \ \"13.75.38.112/29\",\r\n \"13.75.152.195/32\",\r\n \"13.76.136.249/32\",\r\n + \ \"13.76.245.160/32\",\r\n \"13.77.2.56/32\",\r\n \"13.77.2.94/32\",\r\n + \ \"13.77.52.8/29\",\r\n \"13.78.89.60/32\",\r\n \"13.78.125.90/32\",\r\n + \ \"13.82.225.233/32\",\r\n \"13.86.218.240/29\",\r\n \"13.87.58.32/29\",\r\n + \ \"13.87.124.32/29\",\r\n \"13.89.171.120/29\",\r\n \"20.36.36.33/32\",\r\n + \ \"20.36.36.196/32\",\r\n \"20.36.123.88/29\",\r\n \"20.37.68.40/29\",\r\n + \ \"20.37.76.96/29\",\r\n \"20.37.228.0/29\",\r\n \"20.38.139.88/29\",\r\n + \ \"20.39.15.48/29\",\r\n \"20.40.207.144/29\",\r\n \"20.41.69.32/29\",\r\n + \ \"20.41.197.120/29\",\r\n \"20.43.45.224/29\",\r\n \"20.43.120.8/29\",\r\n + \ \"20.44.4.64/29\",\r\n \"20.44.16.8/29\",\r\n \"20.44.26.240/29\",\r\n + \ \"20.45.115.128/29\",\r\n \"20.45.198.80/29\",\r\n \"20.48.192.24/29\",\r\n + \ \"20.49.102.48/29\",\r\n \"20.49.114.56/29\",\r\n \"20.49.126.128/29\",\r\n + \ \"20.53.40.120/29\",\r\n \"20.61.96.160/29\",\r\n \"20.72.20.40/29\",\r\n + \ \"20.150.167.176/29\",\r\n \"20.150.172.232/29\",\r\n \"20.188.39.64/32\",\r\n + \ \"20.189.111.192/29\",\r\n \"20.191.160.0/29\",\r\n \"20.192.48.216/29\",\r\n + \ \"20.192.235.248/29\",\r\n \"20.193.194.16/29\",\r\n \"20.193.203.200/29\",\r\n + \ \"23.98.107.192/29\",\r\n \"23.99.5.239/32\",\r\n \"23.101.196.19/32\",\r\n + \ \"23.102.235.122/32\",\r\n \"40.64.134.160/29\",\r\n \"40.67.50.248/29\",\r\n + \ \"40.67.60.64/29\",\r\n \"40.69.107.8/29\",\r\n \"40.71.13.160/29\",\r\n + \ \"40.71.175.99/32\",\r\n \"40.74.101.192/29\",\r\n \"40.74.125.69/32\",\r\n + \ \"40.74.146.88/29\",\r\n \"40.78.195.8/29\",\r\n \"40.78.202.136/29\",\r\n + \ \"40.79.130.248/29\",\r\n \"40.79.180.16/29\",\r\n \"40.79.187.0/29\",\r\n + \ \"40.80.63.144/29\",\r\n \"40.80.172.120/29\",\r\n \"40.89.22.88/29\",\r\n + \ \"40.89.65.220/32\",\r\n \"40.89.68.134/32\",\r\n \"40.89.157.135/32\",\r\n + \ \"51.12.17.48/29\",\r\n \"51.12.25.48/29\",\r\n \"51.104.8.96/29\",\r\n + \ \"51.104.31.56/29\",\r\n \"51.105.92.56/29\",\r\n \"51.107.52.208/29\",\r\n + \ \"51.107.60.48/29\",\r\n \"51.107.148.24/29\",\r\n \"51.107.156.56/29\",\r\n + \ \"51.116.49.168/29\",\r\n \"51.116.60.48/29\",\r\n \"51.116.145.168/29\",\r\n + \ \"51.116.156.48/29\",\r\n \"51.120.43.88/29\",\r\n \"51.120.100.48/29\",\r\n + \ \"51.120.220.48/29\",\r\n \"51.120.228.40/29\",\r\n \"51.137.166.32/29\",\r\n + \ \"51.140.47.39/32\",\r\n \"51.140.52.16/32\",\r\n \"51.140.211.24/29\",\r\n + \ \"51.141.7.20/32\",\r\n \"51.141.13.110/32\",\r\n \"52.136.52.40/29\",\r\n + \ \"52.140.108.248/29\",\r\n \"52.146.79.136/29\",\r\n \"52.146.130.184/29\",\r\n + \ \"52.150.154.192/29\",\r\n \"52.161.10.167/32\",\r\n \"52.161.23.15/32\",\r\n + \ \"52.162.110.160/29\",\r\n \"52.164.210.96/32\",\r\n \"52.166.243.90/32\",\r\n + \ \"52.172.152.49/32\",\r\n \"52.172.153.209/32\",\r\n \"52.174.36.244/32\",\r\n + \ \"52.175.38.134/32\",\r\n \"52.175.211.210/32\",\r\n \"52.175.222.222/32\",\r\n + \ \"52.180.183.49/32\",\r\n \"52.180.183.58/32\",\r\n \"52.228.37.66/32\",\r\n + \ \"52.228.45.222/32\",\r\n \"52.229.123.172/32\",\r\n \"52.229.127.96/32\",\r\n + \ \"52.231.36.209/32\",\r\n \"52.231.39.142/32\",\r\n \"52.231.147.24/29\",\r\n + \ \"52.231.203.16/32\",\r\n \"52.231.205.214/32\",\r\n \"65.52.252.96/29\",\r\n + \ \"102.133.28.80/29\",\r\n \"102.133.60.32/29\",\r\n \"102.133.124.0/29\",\r\n + \ \"102.133.219.176/29\",\r\n \"104.46.176.168/29\",\r\n + \ \"104.210.84.115/32\",\r\n \"104.211.216.210/32\",\r\n + \ \"104.211.223.67/32\",\r\n \"138.91.29.150/32\",\r\n \"138.91.141.162/32\",\r\n + \ \"157.55.213.99/32\",\r\n \"157.56.8.38/32\",\r\n \"168.61.48.131/32\",\r\n + \ \"168.61.49.99/32\",\r\n \"191.233.10.184/29\",\r\n \"191.233.51.152/29\",\r\n + \ \"191.233.204.240/29\",\r\n \"191.234.138.128/29\",\r\n + \ \"191.235.84.104/32\",\r\n \"191.235.87.113/32\",\r\n \"2603:1000:4:402::320/124\",\r\n + \ \"2603:1000:104:402::320/124\",\r\n \"2603:1010:6:402::320/124\",\r\n + \ \"2603:1010:101:402::320/124\",\r\n \"2603:1010:304:402::320/124\",\r\n + \ \"2603:1010:404:402::320/124\",\r\n \"2603:1020:5:402::320/124\",\r\n + \ \"2603:1020:206:402::320/124\",\r\n \"2603:1020:305:402::320/124\",\r\n + \ \"2603:1020:405:402::320/124\",\r\n \"2603:1020:605:402::320/124\",\r\n + \ \"2603:1020:705:402::320/124\",\r\n \"2603:1020:805:402::320/124\",\r\n + \ \"2603:1020:905:402::320/124\",\r\n \"2603:1020:a04:402::320/124\",\r\n + \ \"2603:1020:b04:402::320/124\",\r\n \"2603:1020:c04:402::320/124\",\r\n + \ \"2603:1020:d04:402::320/124\",\r\n \"2603:1020:e04::790/124\",\r\n + \ \"2603:1020:e04:402::320/124\",\r\n \"2603:1020:f04:402::320/124\",\r\n + \ \"2603:1020:1004:1::1e0/124\",\r\n \"2603:1020:1104:1::140/124\",\r\n + \ \"2603:1030:f:2::4b0/124\",\r\n \"2603:1030:f:400::b20/124\",\r\n + \ \"2603:1030:10:402::320/124\",\r\n \"2603:1030:104:402::320/124\",\r\n + \ \"2603:1030:107::720/124\",\r\n \"2603:1030:210:402::320/124\",\r\n + \ \"2603:1030:40b:400::b20/124\",\r\n \"2603:1030:40c:402::320/124\",\r\n + \ \"2603:1030:504::1e0/124\",\r\n \"2603:1030:608:402::320/124\",\r\n + \ \"2603:1030:807:402::320/124\",\r\n \"2603:1030:a07:402::9a0/124\",\r\n + \ \"2603:1030:b04:402::320/124\",\r\n \"2603:1030:c06:400::b20/124\",\r\n + \ \"2603:1030:f05:402::320/124\",\r\n \"2603:1030:1005:402::320/124\",\r\n + \ \"2603:1040:5:402::320/124\",\r\n \"2603:1040:207:402::320/124\",\r\n + \ \"2603:1040:407:402::320/124\",\r\n \"2603:1040:606:402::320/124\",\r\n + \ \"2603:1040:806:402::320/124\",\r\n \"2603:1040:904:402::320/124\",\r\n + \ \"2603:1040:a06:2::540/124\",\r\n \"2603:1040:a06:402::320/124\",\r\n + \ \"2603:1040:b04:402::320/124\",\r\n \"2603:1040:c06:402::320/124\",\r\n + \ \"2603:1040:d04:1::1e0/124\",\r\n \"2603:1040:f05::790/124\",\r\n + \ \"2603:1040:f05:402::320/124\",\r\n \"2603:1040:1104:1::140/124\",\r\n + \ \"2603:1050:6:402::320/124\",\r\n \"2603:1050:403:400::420/124\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"HDInsight.AustraliaCentral\",\r\n + \ \"id\": \"HDInsight.AustraliaCentral\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"australiacentral\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"HDInsight\",\r\n \"addressPrefixes\": [\r\n \"20.36.36.33/32\",\r\n + \ \"20.36.36.196/32\",\r\n \"20.37.228.0/29\",\r\n \"2603:1010:304:402::320/124\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"HDInsight.AustraliaEast\",\r\n + \ \"id\": \"HDInsight.AustraliaEast\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"australiaeast\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"HDInsight\",\r\n \"addressPrefixes\": + [\r\n \"13.70.73.96/29\",\r\n \"13.75.152.195/32\",\r\n + \ \"20.53.40.120/29\",\r\n \"104.210.84.115/32\",\r\n \"2603:1010:6:402::320/124\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"HDInsight.AustraliaSoutheast\",\r\n + \ \"id\": \"HDInsight.AustraliaSoutheast\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"australiasoutheast\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"HDInsight\",\r\n \"addressPrefixes\": [\r\n \"13.77.2.56/32\",\r\n + \ \"13.77.2.94/32\",\r\n \"13.77.52.8/29\",\r\n \"104.46.176.168/29\",\r\n + \ \"2603:1010:101:402::320/124\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"HDInsight.BrazilSouth\",\r\n \"id\": \"HDInsight.BrazilSouth\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"brazilsouth\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"HDInsight\",\r\n \"addressPrefixes\": [\r\n \"191.233.204.240/29\",\r\n + \ \"191.234.138.128/29\",\r\n \"191.235.84.104/32\",\r\n + \ \"191.235.87.113/32\",\r\n \"2603:1050:6:402::320/124\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"HDInsight.CanadaCentral\",\r\n + \ \"id\": \"HDInsight.CanadaCentral\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"canadacentral\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"HDInsight\",\r\n \"addressPrefixes\": + [\r\n \"13.71.172.240/29\",\r\n \"20.48.192.24/29\",\r\n + \ \"52.228.37.66/32\",\r\n \"52.228.45.222/32\",\r\n \"2603:1030:f05:402::320/124\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"HDInsight.CanadaEast\",\r\n + \ \"id\": \"HDInsight.CanadaEast\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"canadaeast\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"HDInsight\",\r\n \"addressPrefixes\": + [\r\n \"40.69.107.8/29\",\r\n \"40.89.22.88/29\",\r\n \"52.229.123.172/32\",\r\n + \ \"52.229.127.96/32\",\r\n \"2603:1030:1005:402::320/124\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"HDInsight.CentralIndia\",\r\n + \ \"id\": \"HDInsight.CentralIndia\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"centralindia\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"HDInsight\",\r\n \"addressPrefixes\": + [\r\n \"20.43.120.8/29\",\r\n \"52.140.108.248/29\",\r\n + \ \"52.172.152.49/32\",\r\n \"52.172.153.209/32\",\r\n \"2603:1040:a06:2::540/124\",\r\n + \ \"2603:1040:a06:402::320/124\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"HDInsight.CentralUS\",\r\n \"id\": \"HDInsight.CentralUS\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"centralus\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"HDInsight\",\r\n \"addressPrefixes\": [\r\n \"13.89.171.120/29\",\r\n + \ \"20.40.207.144/29\",\r\n \"2603:1030:10:402::320/124\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"HDInsight.CentralUSEUAP\",\r\n + \ \"id\": \"HDInsight.CentralUSEUAP\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"centraluseuap\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"HDInsight\",\r\n \"addressPrefixes\": + [\r\n \"20.45.198.80/29\",\r\n \"40.78.202.136/29\",\r\n + \ \"52.180.183.49/32\",\r\n \"52.180.183.58/32\",\r\n \"2603:1030:f:2::4b0/124\",\r\n + \ \"2603:1030:f:400::b20/124\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"HDInsight.EastAsia\",\r\n \"id\": \"HDInsight.EastAsia\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"eastasia\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"HDInsight\",\r\n \"addressPrefixes\": [\r\n \"13.75.38.112/29\",\r\n + \ \"20.189.111.192/29\",\r\n \"23.102.235.122/32\",\r\n \"52.175.38.134/32\",\r\n + \ \"2603:1040:207:402::320/124\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"HDInsight.EastUS\",\r\n \"id\": \"HDInsight.EastUS\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"eastus\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"HDInsight\",\r\n \"addressPrefixes\": [\r\n \"13.82.225.233/32\",\r\n + \ \"40.71.13.160/29\",\r\n \"40.71.175.99/32\",\r\n \"52.146.79.136/29\",\r\n + \ \"168.61.48.131/32\",\r\n \"168.61.49.99/32\",\r\n \"2603:1030:210:402::320/124\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"HDInsight.EastUS2\",\r\n + \ \"id\": \"HDInsight.EastUS2\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"eastus2\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"HDInsight\",\r\n \"addressPrefixes\": + [\r\n \"20.44.16.8/29\",\r\n \"20.49.102.48/29\",\r\n \"2603:1030:40c:402::320/124\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"HDInsight.EastUS2EUAP\",\r\n + \ \"id\": \"HDInsight.EastUS2EUAP\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"eastus2euap\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"HDInsight\",\r\n \"addressPrefixes\": + [\r\n \"20.39.15.48/29\",\r\n \"40.74.146.88/29\",\r\n \"40.89.65.220/32\",\r\n + \ \"40.89.68.134/32\",\r\n \"2603:1030:40b:400::b20/124\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"HDInsight.FranceCentral\",\r\n + \ \"id\": \"HDInsight.FranceCentral\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"centralfrance\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"HDInsight\",\r\n \"addressPrefixes\": + [\r\n \"20.43.45.224/29\",\r\n \"20.188.39.64/32\",\r\n + \ \"40.79.130.248/29\",\r\n \"40.89.157.135/32\",\r\n \"2603:1020:805:402::320/124\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"HDInsight.FranceSouth\",\r\n + \ \"id\": \"HDInsight.FranceSouth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"southfrance\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"HDInsight\",\r\n \"addressPrefixes\": + [\r\n \"40.79.180.16/29\",\r\n \"51.105.92.56/29\",\r\n + \ \"2603:1020:905:402::320/124\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"HDInsight.GermanyNorth\",\r\n \"id\": \"HDInsight.GermanyNorth\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"germanyn\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"HDInsight\",\r\n \"addressPrefixes\": [\r\n \"51.116.49.168/29\",\r\n + \ \"51.116.60.48/29\",\r\n \"2603:1020:d04:402::320/124\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"HDInsight.GermanyWestCentral\",\r\n + \ \"id\": \"HDInsight.GermanyWestCentral\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"germanywc\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"HDInsight\",\r\n \"addressPrefixes\": + [\r\n \"51.116.145.168/29\",\r\n \"51.116.156.48/29\",\r\n + \ \"2603:1020:c04:402::320/124\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"HDInsight.JapanEast\",\r\n \"id\": \"HDInsight.JapanEast\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"japaneast\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"HDInsight\",\r\n \"addressPrefixes\": [\r\n \"13.78.89.60/32\",\r\n + \ \"13.78.125.90/32\",\r\n \"20.191.160.0/29\",\r\n \"40.79.187.0/29\",\r\n + \ \"2603:1040:407:402::320/124\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"HDInsight.JapanWest\",\r\n \"id\": \"HDInsight.JapanWest\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"japanwest\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"HDInsight\",\r\n \"addressPrefixes\": [\r\n \"40.74.101.192/29\",\r\n + \ \"40.74.125.69/32\",\r\n \"40.80.63.144/29\",\r\n \"138.91.29.150/32\",\r\n + \ \"2603:1040:606:402::320/124\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"HDInsight.KoreaCentral\",\r\n \"id\": \"HDInsight.KoreaCentral\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"3\",\r\n \"region\": \"koreacentral\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"HDInsight\",\r\n \"addressPrefixes\": [\r\n \"20.41.69.32/29\",\r\n + \ \"20.44.26.240/29\",\r\n \"52.231.36.209/32\",\r\n \"52.231.39.142/32\",\r\n + \ \"2603:1040:f05::790/124\",\r\n \"2603:1040:f05:402::320/124\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"HDInsight.KoreaSouth\",\r\n + \ \"id\": \"HDInsight.KoreaSouth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"koreasouth\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"HDInsight\",\r\n \"addressPrefixes\": + [\r\n \"40.80.172.120/29\",\r\n \"52.231.147.24/29\",\r\n + \ \"52.231.203.16/32\",\r\n \"52.231.205.214/32\"\r\n ]\r\n + \ }\r\n },\r\n {\r\n \"name\": \"HDInsight.NorthCentralUS\",\r\n + \ \"id\": \"HDInsight.NorthCentralUS\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"northcentralus\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"HDInsight\",\r\n \"addressPrefixes\": [\r\n \"20.49.114.56/29\",\r\n + \ \"52.162.110.160/29\",\r\n \"157.55.213.99/32\",\r\n \"157.56.8.38/32\",\r\n + \ \"2603:1030:608:402::320/124\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"HDInsight.NorthEurope\",\r\n \"id\": \"HDInsight.NorthEurope\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"northeurope\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"HDInsight\",\r\n \"addressPrefixes\": [\r\n \"13.69.229.72/29\",\r\n + \ \"13.74.153.132/32\",\r\n \"52.146.130.184/29\",\r\n \"52.164.210.96/32\",\r\n + \ \"2603:1020:5:402::320/124\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"HDInsight.NorwayEast\",\r\n \"id\": \"HDInsight.NorwayEast\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"3\",\r\n \"region\": \"norwaye\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"HDInsight\",\r\n \"addressPrefixes\": [\r\n \"51.120.43.88/29\",\r\n + \ \"51.120.100.48/29\",\r\n \"2603:1020:e04::790/124\",\r\n + \ \"2603:1020:e04:402::320/124\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"HDInsight.NorwayWest\",\r\n \"id\": \"HDInsight.NorwayWest\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"norwayw\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"HDInsight\",\r\n \"addressPrefixes\": [\r\n \"51.120.220.48/29\",\r\n + \ \"51.120.228.40/29\",\r\n \"2603:1020:f04:402::320/124\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"HDInsight.SouthAfricaNorth\",\r\n + \ \"id\": \"HDInsight.SouthAfricaNorth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"southafricanorth\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"HDInsight\",\r\n \"addressPrefixes\": [\r\n \"102.133.124.0/29\",\r\n + \ \"102.133.219.176/29\",\r\n \"2603:1000:104:402::320/124\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"HDInsight.SouthAfricaWest\",\r\n + \ \"id\": \"HDInsight.SouthAfricaWest\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"southafricawest\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"HDInsight\",\r\n \"addressPrefixes\": [\r\n \"102.133.28.80/29\",\r\n + \ \"102.133.60.32/29\",\r\n \"2603:1000:4:402::320/124\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"HDInsight.SouthCentralUS\",\r\n + \ \"id\": \"HDInsight.SouthCentralUS\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"southcentralus\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"HDInsight\",\r\n \"addressPrefixes\": [\r\n \"13.73.240.8/29\",\r\n + \ \"13.73.254.192/29\",\r\n \"2603:1030:807:402::320/124\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"HDInsight.SoutheastAsia\",\r\n + \ \"id\": \"HDInsight.SoutheastAsia\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"southeastasia\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"HDInsight\",\r\n \"addressPrefixes\": + [\r\n \"13.67.9.152/29\",\r\n \"13.76.136.249/32\",\r\n + \ \"13.76.245.160/32\",\r\n \"23.98.107.192/29\",\r\n \"2603:1040:5:402::320/124\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"HDInsight.SouthIndia\",\r\n + \ \"id\": \"HDInsight.SouthIndia\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"southindia\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"HDInsight\",\r\n \"addressPrefixes\": + [\r\n \"20.41.197.120/29\",\r\n \"40.78.195.8/29\",\r\n + \ \"104.211.216.210/32\",\r\n \"104.211.223.67/32\",\r\n + \ \"2603:1040:c06:402::320/124\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"HDInsight.SwitzerlandNorth\",\r\n \"id\": + \"HDInsight.SwitzerlandNorth\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\": + \"switzerlandn\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"HDInsight\",\r\n \"addressPrefixes\": + [\r\n \"51.107.52.208/29\",\r\n \"51.107.60.48/29\",\r\n + \ \"2603:1020:a04:402::320/124\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"HDInsight.SwitzerlandWest\",\r\n \"id\": \"HDInsight.SwitzerlandWest\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"switzerlandw\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"HDInsight\",\r\n \"addressPrefixes\": [\r\n \"51.107.148.24/29\",\r\n + \ \"51.107.156.56/29\",\r\n \"2603:1020:b04:402::320/124\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"HDInsight.UAECentral\",\r\n + \ \"id\": \"HDInsight.UAECentral\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"uaecentral\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"HDInsight\",\r\n \"addressPrefixes\": + [\r\n \"20.37.68.40/29\",\r\n \"20.37.76.96/29\",\r\n \"2603:1040:b04:402::320/124\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"HDInsight.UAENorth\",\r\n + \ \"id\": \"HDInsight.UAENorth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"uaenorth\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"HDInsight\",\r\n \"addressPrefixes\": + [\r\n \"20.38.139.88/29\",\r\n \"65.52.252.96/29\",\r\n + \ \"2603:1040:904:402::320/124\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"HDInsight.UKNorth\",\r\n \"id\": \"HDInsight.UKNorth\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"uknorth\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\"\r\n ],\r\n \"systemService\": + \"HDInsight\",\r\n \"addressPrefixes\": [\r\n \"13.87.124.32/29\",\r\n + \ \"2603:1020:305:402::320/124\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"HDInsight.UKSouth\",\r\n \"id\": \"HDInsight.UKSouth\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"uksouth\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n + \ ],\r\n \"systemService\": \"HDInsight\",\r\n \"addressPrefixes\": + [\r\n \"51.104.8.96/29\",\r\n \"51.104.31.56/29\",\r\n \"51.140.47.39/32\",\r\n + \ \"51.140.52.16/32\",\r\n \"2603:1020:705:402::320/124\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"HDInsight.UKWest\",\r\n + \ \"id\": \"HDInsight.UKWest\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\": + \"ukwest\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"HDInsight\",\r\n \"addressPrefixes\": + [\r\n \"51.137.166.32/29\",\r\n \"51.140.211.24/29\",\r\n + \ \"51.141.7.20/32\",\r\n \"51.141.13.110/32\",\r\n \"2603:1020:605:402::320/124\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"HDInsight.WestCentralUS\",\r\n + \ \"id\": \"HDInsight.WestCentralUS\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"westcentralus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"HDInsight\",\r\n \"addressPrefixes\": + [\r\n \"13.71.196.48/29\",\r\n \"52.150.154.192/29\",\r\n + \ \"52.161.10.167/32\",\r\n \"52.161.23.15/32\",\r\n \"2603:1030:b04:402::320/124\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"HDInsight.WestEurope\",\r\n + \ \"id\": \"HDInsight.WestEurope\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"westeurope\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"HDInsight\",\r\n \"addressPrefixes\": + [\r\n \"13.69.65.8/29\",\r\n \"20.61.96.160/29\",\r\n \"52.166.243.90/32\",\r\n + \ \"52.174.36.244/32\",\r\n \"2603:1020:206:402::320/124\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"HDInsight.WestUS\",\r\n + \ \"id\": \"HDInsight.WestUS\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\": + \"westus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"HDInsight\",\r\n \"addressPrefixes\": + [\r\n \"13.64.254.98/32\",\r\n \"13.86.218.240/29\",\r\n + \ \"20.49.126.128/29\",\r\n \"23.99.5.239/32\",\r\n \"23.101.196.19/32\",\r\n + \ \"138.91.141.162/32\",\r\n \"2603:1030:a07:402::9a0/124\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"HDInsight.WestUS2\",\r\n + \ \"id\": \"HDInsight.WestUS2\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"westus2\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"HDInsight\",\r\n \"addressPrefixes\": + [\r\n \"13.66.141.144/29\",\r\n \"40.64.134.160/29\",\r\n + \ \"52.175.211.210/32\",\r\n \"52.175.222.222/32\",\r\n \"2603:1030:c06:400::b20/124\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"LogicApps\",\r\n + \ \"id\": \"LogicApps\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"3\",\r\n \"region\": + \"\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n + \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"LogicApps\",\r\n \"addressPrefixes\": + [\r\n \"13.65.39.247/32\",\r\n \"13.65.82.17/32\",\r\n \"13.65.82.190/32\",\r\n + \ \"13.65.86.56/32\",\r\n \"13.65.98.39/32\",\r\n \"13.66.52.232/32\",\r\n + \ \"13.66.128.68/32\",\r\n \"13.66.201.169/32\",\r\n \"13.66.210.167/32\",\r\n + \ \"13.66.224.169/32\",\r\n \"13.66.246.219/32\",\r\n \"13.67.13.224/27\",\r\n + \ \"13.67.91.135/32\",\r\n \"13.67.107.128/32\",\r\n \"13.67.110.109/32\",\r\n + \ \"13.67.236.76/32\",\r\n \"13.67.236.125/32\",\r\n \"13.69.71.160/27\",\r\n + \ \"13.69.109.144/28\",\r\n \"13.69.231.160/27\",\r\n \"13.69.233.16/28\",\r\n + \ \"13.70.78.192/27\",\r\n \"13.70.159.205/32\",\r\n \"13.71.146.140/32\",\r\n + \ \"13.71.158.3/32\",\r\n \"13.71.158.120/32\",\r\n \"13.71.184.150/32\",\r\n + \ \"13.71.186.1/32\",\r\n \"13.71.199.128/27\",\r\n \"13.71.199.160/28\",\r\n + \ \"13.73.4.207/32\",\r\n \"13.73.114.207/32\",\r\n \"13.73.115.153/32\",\r\n + \ \"13.73.244.144/28\",\r\n \"13.73.244.160/27\",\r\n \"13.75.89.159/32\",\r\n + \ \"13.75.94.173/32\",\r\n \"13.75.149.4/32\",\r\n \"13.75.153.66/32\",\r\n + \ \"13.76.4.194/32\",\r\n \"13.76.5.96/32\",\r\n \"13.76.133.155/32\",\r\n + \ \"13.77.3.139/32\",\r\n \"13.77.53.224/27\",\r\n \"13.77.55.128/28\",\r\n + \ \"13.77.56.167/32\",\r\n \"13.77.58.136/32\",\r\n \"13.77.149.159/32\",\r\n + \ \"13.77.152.21/32\",\r\n \"13.78.18.168/32\",\r\n \"13.78.20.232/32\",\r\n + \ \"13.78.21.155/32\",\r\n \"13.78.35.229/32\",\r\n \"13.78.42.223/32\",\r\n + \ \"13.78.43.164/32\",\r\n \"13.78.62.130/32\",\r\n \"13.78.84.187/32\",\r\n + \ \"13.78.111.160/27\",\r\n \"13.78.129.20/32\",\r\n \"13.78.137.179/32\",\r\n + \ \"13.78.137.247/32\",\r\n \"13.78.141.75/32\",\r\n \"13.78.148.140/32\",\r\n + \ \"13.78.151.161/32\",\r\n \"13.79.173.49/32\",\r\n \"13.84.41.46/32\",\r\n + \ \"13.84.43.45/32\",\r\n \"13.84.159.168/32\",\r\n \"13.85.79.155/32\",\r\n + \ \"13.86.221.240/28\",\r\n \"13.86.223.0/27\",\r\n \"13.87.58.144/28\",\r\n + \ \"13.87.58.160/27\",\r\n \"13.87.124.144/28\",\r\n \"13.87.124.160/27\",\r\n + \ \"13.88.249.209/32\",\r\n \"13.89.178.48/28\",\r\n \"13.91.252.184/32\",\r\n + \ \"13.92.98.111/32\",\r\n \"13.95.147.65/32\",\r\n \"13.95.155.53/32\",\r\n + \ \"20.36.108.192/27\",\r\n \"20.36.108.224/28\",\r\n \"20.36.117.96/27\",\r\n + \ \"20.36.117.128/28\",\r\n \"20.37.76.208/28\",\r\n \"20.37.76.224/27\",\r\n + \ \"20.38.128.176/28\",\r\n \"20.38.128.192/27\",\r\n \"20.38.149.144/28\",\r\n + \ \"20.38.149.160/27\",\r\n \"20.40.32.19/32\",\r\n \"20.40.32.49/32\",\r\n + \ \"20.40.32.59/32\",\r\n \"20.40.32.60/31\",\r\n \"20.40.32.80/31\",\r\n + \ \"20.40.32.85/32\",\r\n \"20.40.32.87/32\",\r\n \"20.40.32.113/32\",\r\n + \ \"20.40.32.116/32\",\r\n \"20.40.32.162/32\",\r\n \"20.42.64.48/28\",\r\n + \ \"20.42.72.160/27\",\r\n \"20.43.121.192/27\",\r\n \"20.43.121.224/28\",\r\n + \ \"20.44.4.176/28\",\r\n \"20.44.4.192/27\",\r\n \"20.44.17.224/27\",\r\n + \ \"20.45.64.29/32\",\r\n \"20.45.64.87/32\",\r\n \"20.45.67.134/31\",\r\n + \ \"20.45.67.170/32\",\r\n \"20.45.71.213/32\",\r\n \"20.45.72.54/32\",\r\n + \ \"20.45.72.72/32\",\r\n \"20.45.75.193/32\",\r\n \"20.45.75.200/32\",\r\n + \ \"20.45.75.236/32\",\r\n \"20.45.79.239/32\",\r\n \"20.46.42.220/32\",\r\n + \ \"20.46.46.173/32\",\r\n \"20.72.30.160/28\",\r\n \"20.72.30.192/27\",\r\n + \ \"20.150.172.240/28\",\r\n \"20.150.173.192/27\",\r\n \"20.150.181.32/27\",\r\n + \ \"20.188.33.169/32\",\r\n \"20.188.39.105/32\",\r\n \"20.192.184.0/27\",\r\n + \ \"20.192.238.128/27\",\r\n \"20.192.238.160/28\",\r\n \"20.193.206.48/28\",\r\n + \ \"20.193.206.128/27\",\r\n \"23.96.200.77/32\",\r\n \"23.96.200.227/32\",\r\n + \ \"23.96.203.46/32\",\r\n \"23.96.210.49/32\",\r\n \"23.96.212.28/32\",\r\n + \ \"23.96.253.219/32\",\r\n \"23.97.68.172/32\",\r\n \"23.97.210.126/32\",\r\n + \ \"23.97.211.179/32\",\r\n \"23.97.218.130/32\",\r\n \"23.99.125.99/32\",\r\n + \ \"23.100.29.190/32\",\r\n \"23.100.82.16/32\",\r\n \"23.100.86.139/32\",\r\n + \ \"23.100.87.24/32\",\r\n \"23.100.87.56/32\",\r\n \"23.100.124.84/32\",\r\n + \ \"23.100.127.172/32\",\r\n \"23.101.132.208/32\",\r\n \"23.101.136.201/32\",\r\n + \ \"23.101.139.153/32\",\r\n \"23.101.183.225/32\",\r\n \"23.101.191.106/32\",\r\n + \ \"23.102.70.174/32\",\r\n \"40.67.60.176/28\",\r\n \"40.67.60.192/27\",\r\n + \ \"40.68.209.23/32\",\r\n \"40.68.222.65/32\",\r\n \"40.69.110.192/27\",\r\n + \ \"40.69.110.224/28\",\r\n \"40.70.26.154/32\",\r\n \"40.70.27.236/32\",\r\n + \ \"40.70.27.253/32\",\r\n \"40.70.29.214/32\",\r\n \"40.70.131.151/32\",\r\n + \ \"40.74.64.207/32\",\r\n \"40.74.66.200/32\",\r\n \"40.74.68.85/32\",\r\n + \ \"40.74.74.21/32\",\r\n \"40.74.76.213/32\",\r\n \"40.74.77.205/32\",\r\n + \ \"40.74.81.13/32\",\r\n \"40.74.85.215/32\",\r\n \"40.74.131.151/32\",\r\n + \ \"40.74.132.29/32\",\r\n \"40.74.136.23/32\",\r\n \"40.74.140.4/32\",\r\n + \ \"40.74.140.162/32\",\r\n \"40.74.140.173/32\",\r\n \"40.74.142.133/32\",\r\n + \ \"40.74.143.215/32\",\r\n \"40.74.149.96/27\",\r\n \"40.75.35.240/28\",\r\n + \ \"40.77.31.87/32\",\r\n \"40.77.111.254/32\",\r\n \"40.78.196.176/28\",\r\n + \ \"40.78.204.208/28\",\r\n \"40.78.204.224/27\",\r\n \"40.78.239.16/28\",\r\n + \ \"40.78.245.144/28\",\r\n \"40.78.245.160/27\",\r\n \"40.79.44.7/32\",\r\n + \ \"40.79.139.144/28\",\r\n \"40.79.139.160/27\",\r\n \"40.79.171.240/28\",\r\n + \ \"40.79.180.160/27\",\r\n \"40.79.180.192/28\",\r\n \"40.79.197.48/28\",\r\n + \ \"40.80.180.16/28\",\r\n \"40.80.180.32/27\",\r\n \"40.83.73.39/32\",\r\n + \ \"40.83.75.165/32\",\r\n \"40.83.77.208/32\",\r\n \"40.83.98.194/32\",\r\n + \ \"40.83.100.69/32\",\r\n \"40.83.127.19/32\",\r\n \"40.83.164.80/32\",\r\n + \ \"40.84.25.234/32\",\r\n \"40.84.30.147/32\",\r\n \"40.84.59.136/32\",\r\n + \ \"40.84.138.132/32\",\r\n \"40.85.241.105/32\",\r\n \"40.85.250.135/32\",\r\n + \ \"40.85.250.212/32\",\r\n \"40.85.252.47/32\",\r\n \"40.86.202.42/32\",\r\n + \ \"40.86.203.228/32\",\r\n \"40.86.216.241/32\",\r\n \"40.86.217.241/32\",\r\n + \ \"40.86.226.149/32\",\r\n \"40.86.228.93/32\",\r\n \"40.89.186.28/32\",\r\n + \ \"40.89.186.30/32\",\r\n \"40.89.188.169/32\",\r\n \"40.89.190.104/32\",\r\n + \ \"40.89.191.161/32\",\r\n \"40.112.90.39/32\",\r\n \"40.112.92.104/32\",\r\n + \ \"40.112.95.216/32\",\r\n \"40.113.1.181/32\",\r\n \"40.113.3.202/32\",\r\n + \ \"40.113.4.18/32\",\r\n \"40.113.10.90/32\",\r\n \"40.113.11.17/32\",\r\n + \ \"40.113.12.95/32\",\r\n \"40.113.18.211/32\",\r\n \"40.113.20.202/32\",\r\n + \ \"40.113.22.12/32\",\r\n \"40.113.94.31/32\",\r\n \"40.113.218.230/32\",\r\n + \ \"40.114.8.21/32\",\r\n \"40.114.12.31/32\",\r\n \"40.114.13.216/32\",\r\n + \ \"40.114.14.143/32\",\r\n \"40.114.40.186/32\",\r\n \"40.114.51.5/32\",\r\n + \ \"40.114.82.191/32\",\r\n \"40.115.78.70/32\",\r\n \"40.115.78.237/32\",\r\n + \ \"40.117.99.79/32\",\r\n \"40.117.100.228/32\",\r\n \"40.118.241.243/32\",\r\n + \ \"40.118.244.241/32\",\r\n \"40.119.166.152/32\",\r\n \"40.120.64.0/27\",\r\n + \ \"40.120.64.32/28\",\r\n \"40.121.91.41/32\",\r\n \"40.122.41.236/32\",\r\n + \ \"40.122.46.197/32\",\r\n \"40.122.170.198/32\",\r\n \"40.123.212.104/32\",\r\n + \ \"40.123.216.73/32\",\r\n \"40.123.217.165/32\",\r\n \"40.123.224.143/32\",\r\n + \ \"40.123.224.227/32\",\r\n \"40.123.228.182/32\",\r\n \"40.123.230.45/32\",\r\n + \ \"40.123.231.179/32\",\r\n \"40.123.231.186/32\",\r\n \"40.126.227.199/32\",\r\n + \ \"40.126.240.14/32\",\r\n \"40.126.249.73/32\",\r\n \"40.126.252.33/32\",\r\n + \ \"40.126.252.85/32\",\r\n \"40.126.252.107/32\",\r\n \"40.127.80.231/32\",\r\n + \ \"40.127.83.170/32\",\r\n \"40.127.84.38/32\",\r\n \"40.127.86.12/32\",\r\n + \ \"40.127.91.18/32\",\r\n \"40.127.93.92/32\",\r\n \"51.11.97.16/28\",\r\n + \ \"51.11.97.32/27\",\r\n \"51.12.100.112/28\",\r\n \"51.12.102.160/27\",\r\n + \ \"51.12.204.112/28\",\r\n \"51.12.204.192/27\",\r\n \"51.12.229.32/27\",\r\n + \ \"51.103.128.52/32\",\r\n \"51.103.132.236/32\",\r\n \"51.103.134.69/32\",\r\n + \ \"51.103.134.138/32\",\r\n \"51.103.135.51/32\",\r\n \"51.103.136.37/32\",\r\n + \ \"51.103.136.209/32\",\r\n \"51.103.136.210/32\",\r\n \"51.103.137.79/32\",\r\n + \ \"51.103.138.28/32\",\r\n \"51.103.138.96/32\",\r\n \"51.103.139.122/32\",\r\n + \ \"51.104.9.112/28\",\r\n \"51.105.69.96/27\",\r\n \"51.107.60.160/27\",\r\n + \ \"51.107.60.192/28\",\r\n \"51.107.156.160/27\",\r\n \"51.107.156.192/28\",\r\n + \ \"51.107.225.151/32\",\r\n \"51.107.225.163/32\",\r\n \"51.107.225.167/32\",\r\n + \ \"51.107.225.179/32\",\r\n \"51.107.225.180/32\",\r\n \"51.107.225.186/32\",\r\n + \ \"51.107.225.190/32\",\r\n \"51.107.231.86/32\",\r\n \"51.107.239.66/32\",\r\n + \ \"51.107.239.83/32\",\r\n \"51.107.239.112/32\",\r\n \"51.107.239.123/32\",\r\n + \ \"51.116.60.144/28\",\r\n \"51.116.60.160/27\",\r\n \"51.116.158.64/28\",\r\n + \ \"51.116.168.104/32\",\r\n \"51.116.168.222/32\",\r\n \"51.116.171.49/32\",\r\n + \ \"51.116.171.209/32\",\r\n \"51.116.175.0/32\",\r\n \"51.116.175.17/32\",\r\n + \ \"51.116.175.51/32\",\r\n \"51.116.208.37/32\",\r\n \"51.116.208.51/32\",\r\n + \ \"51.116.208.64/32\",\r\n \"51.116.208.132/32\",\r\n \"51.116.208.165/32\",\r\n + \ \"51.116.208.175/32\",\r\n \"51.116.208.192/32\",\r\n \"51.116.208.200/32\",\r\n + \ \"51.116.208.217/32\",\r\n \"51.116.208.222/32\",\r\n \"51.116.211.29/32\",\r\n + \ \"51.116.211.168/32\",\r\n \"51.116.233.22/32\",\r\n \"51.116.233.33/32\",\r\n + \ \"51.116.233.35/32\",\r\n \"51.116.233.40/32\",\r\n \"51.116.233.87/32\",\r\n + \ \"51.116.243.224/27\",\r\n \"51.120.100.160/27\",\r\n \"51.120.109.32/28\",\r\n + \ \"51.120.220.128/27\",\r\n \"51.120.220.160/28\",\r\n \"51.140.28.225/32\",\r\n + \ \"51.140.73.85/32\",\r\n \"51.140.74.14/32\",\r\n \"51.140.78.44/32\",\r\n + \ \"51.140.78.71/32\",\r\n \"51.140.79.109/32\",\r\n \"51.140.84.39/32\",\r\n + \ \"51.140.137.190/32\",\r\n \"51.140.142.28/32\",\r\n \"51.140.153.135/32\",\r\n + \ \"51.140.155.81/32\",\r\n \"51.140.158.24/32\",\r\n \"51.141.45.238/32\",\r\n + \ \"51.141.47.136/32\",\r\n \"51.141.48.98/32\",\r\n \"51.141.51.145/32\",\r\n + \ \"51.141.53.164/32\",\r\n \"51.141.54.185/32\",\r\n \"51.141.112.112/32\",\r\n + \ \"51.141.113.36/32\",\r\n \"51.141.114.77/32\",\r\n \"51.141.118.119/32\",\r\n + \ \"51.141.119.63/32\",\r\n \"51.141.119.150/32\",\r\n \"51.144.176.185/32\",\r\n + \ \"51.144.182.201/32\",\r\n \"52.143.156.55/32\",\r\n \"52.143.158.203/32\",\r\n + \ \"52.143.162.83/32\",\r\n \"52.143.164.15/32\",\r\n \"52.143.164.80/32\",\r\n + \ \"52.147.97.16/28\",\r\n \"52.147.97.32/27\",\r\n \"52.160.90.237/32\",\r\n + \ \"52.160.92.112/32\",\r\n \"52.161.8.128/32\",\r\n \"52.161.9.108/32\",\r\n + \ \"52.161.18.218/32\",\r\n \"52.161.19.82/32\",\r\n \"52.161.26.172/32\",\r\n + \ \"52.161.27.190/32\",\r\n \"52.162.111.144/28\",\r\n \"52.162.111.160/27\",\r\n + \ \"52.162.208.216/32\",\r\n \"52.162.213.231/32\",\r\n \"52.163.93.214/32\",\r\n + \ \"52.163.228.93/32\",\r\n \"52.163.230.166/32\",\r\n \"52.167.109.80/28\",\r\n + \ \"52.169.218.253/32\",\r\n \"52.169.220.174/32\",\r\n \"52.172.9.47/32\",\r\n + \ \"52.172.49.43/32\",\r\n \"52.172.50.24/32\",\r\n \"52.172.51.140/32\",\r\n + \ \"52.172.52.0/32\",\r\n \"52.172.55.231/32\",\r\n \"52.172.154.168/32\",\r\n + \ \"52.172.157.194/32\",\r\n \"52.172.184.192/32\",\r\n \"52.172.185.79/32\",\r\n + \ \"52.172.186.159/32\",\r\n \"52.172.191.194/32\",\r\n \"52.174.49.6/32\",\r\n + \ \"52.174.54.218/32\",\r\n \"52.175.33.254/32\",\r\n \"52.175.198.132/32\",\r\n + \ \"52.178.165.215/32\",\r\n \"52.178.166.21/32\",\r\n \"52.182.141.160/27\",\r\n + \ \"52.183.29.132/32\",\r\n \"52.183.30.10/32\",\r\n \"52.183.30.169/32\",\r\n + \ \"52.183.39.67/32\",\r\n \"52.187.65.81/32\",\r\n \"52.187.65.155/32\",\r\n + \ \"52.187.226.96/32\",\r\n \"52.187.226.139/32\",\r\n \"52.187.227.245/32\",\r\n + \ \"52.187.229.130/32\",\r\n \"52.187.231.161/32\",\r\n \"52.187.231.184/32\",\r\n + \ \"52.189.214.42/32\",\r\n \"52.189.216.28/32\",\r\n \"52.189.220.75/32\",\r\n + \ \"52.189.222.77/32\",\r\n \"52.228.39.244/32\",\r\n \"52.229.120.45/32\",\r\n + \ \"52.229.125.57/32\",\r\n \"52.229.126.25/32\",\r\n \"52.231.23.16/28\",\r\n + \ \"52.231.23.32/27\",\r\n \"52.232.128.155/32\",\r\n \"52.232.129.143/32\",\r\n + \ \"52.232.133.109/32\",\r\n \"52.233.29.79/32\",\r\n \"52.233.29.92/32\",\r\n + \ \"52.233.30.218/32\",\r\n \"65.52.8.225/32\",\r\n \"65.52.9.64/32\",\r\n + \ \"65.52.9.96/32\",\r\n \"65.52.10.183/32\",\r\n \"65.52.60.5/32\",\r\n + \ \"65.52.175.34/32\",\r\n \"65.52.185.96/32\",\r\n \"65.52.185.218/32\",\r\n + \ \"65.52.186.153/32\",\r\n \"65.52.186.190/32\",\r\n \"65.52.186.225/32\",\r\n + \ \"65.52.211.164/32\",\r\n \"70.37.50.6/32\",\r\n \"70.37.54.122/32\",\r\n + \ \"102.133.28.208/28\",\r\n \"102.133.28.224/27\",\r\n \"102.133.72.37/32\",\r\n + \ \"102.133.72.98/32\",\r\n \"102.133.72.113/32\",\r\n \"102.133.72.132/32\",\r\n + \ \"102.133.72.145/32\",\r\n \"102.133.72.173/32\",\r\n \"102.133.72.179/32\",\r\n + \ \"102.133.72.183/32\",\r\n \"102.133.72.184/32\",\r\n \"102.133.72.190/32\",\r\n + \ \"102.133.75.169/32\",\r\n \"102.133.75.191/32\",\r\n \"102.133.156.176/28\",\r\n + \ \"102.133.224.125/32\",\r\n \"102.133.226.199/32\",\r\n + \ \"102.133.227.103/32\",\r\n \"102.133.228.4/32\",\r\n \"102.133.228.6/32\",\r\n + \ \"102.133.228.9/32\",\r\n \"102.133.230.4/32\",\r\n \"102.133.230.82/32\",\r\n + \ \"102.133.231.9/32\",\r\n \"102.133.231.51/32\",\r\n \"102.133.231.117/32\",\r\n + \ \"102.133.231.188/32\",\r\n \"102.133.251.224/27\",\r\n + \ \"104.40.49.140/32\",\r\n \"104.40.54.74/32\",\r\n \"104.40.59.188/32\",\r\n + \ \"104.40.61.150/32\",\r\n \"104.40.62.178/32\",\r\n \"104.40.218.37/32\",\r\n + \ \"104.41.0.115/32\",\r\n \"104.41.33.103/32\",\r\n \"104.41.162.245/32\",\r\n + \ \"104.41.163.102/32\",\r\n \"104.41.168.76/32\",\r\n \"104.41.173.132/32\",\r\n + \ \"104.41.179.165/32\",\r\n \"104.41.181.59/32\",\r\n \"104.41.182.232/32\",\r\n + \ \"104.42.38.32/32\",\r\n \"104.42.49.145/32\",\r\n \"104.42.224.227/32\",\r\n + \ \"104.42.236.93/32\",\r\n \"104.43.166.135/32\",\r\n \"104.43.243.39/32\",\r\n + \ \"104.45.9.52/32\",\r\n \"104.45.153.81/32\",\r\n \"104.46.32.99/32\",\r\n + \ \"104.46.34.93/32\",\r\n \"104.46.34.208/32\",\r\n \"104.46.39.63/32\",\r\n + \ \"104.46.42.167/32\",\r\n \"104.46.98.208/32\",\r\n \"104.46.106.158/32\",\r\n + \ \"104.47.138.214/32\",\r\n \"104.208.25.27/32\",\r\n \"104.208.140.40/32\",\r\n + \ \"104.208.155.200/32\",\r\n \"104.208.158.174/32\",\r\n + \ \"104.209.131.77/32\",\r\n \"104.209.133.254/32\",\r\n + \ \"104.209.134.133/32\",\r\n \"104.210.89.222/32\",\r\n + \ \"104.210.89.244/32\",\r\n \"104.210.90.241/32\",\r\n \"104.210.91.55/32\",\r\n + \ \"104.210.144.48/32\",\r\n \"104.210.153.89/32\",\r\n \"104.211.73.195/32\",\r\n + \ \"104.211.74.145/32\",\r\n \"104.211.90.162/32\",\r\n \"104.211.90.169/32\",\r\n + \ \"104.211.101.108/32\",\r\n \"104.211.102.62/32\",\r\n + \ \"104.211.154.7/32\",\r\n \"104.211.154.59/32\",\r\n \"104.211.156.153/32\",\r\n + \ \"104.211.157.237/32\",\r\n \"104.211.158.123/32\",\r\n + \ \"104.211.158.127/32\",\r\n \"104.211.162.205/32\",\r\n + \ \"104.211.164.25/32\",\r\n \"104.211.164.80/32\",\r\n \"104.211.164.112/32\",\r\n + \ \"104.211.164.136/32\",\r\n \"104.211.165.81/32\",\r\n + \ \"104.211.225.152/32\",\r\n \"104.211.227.229/32\",\r\n + \ \"104.211.229.115/32\",\r\n \"104.211.230.126/32\",\r\n + \ \"104.211.230.129/32\",\r\n \"104.211.231.39/32\",\r\n + \ \"104.214.137.243/32\",\r\n \"104.214.161.64/27\",\r\n + \ \"104.214.161.96/28\",\r\n \"104.215.88.156/32\",\r\n \"104.215.89.144/32\",\r\n + \ \"104.215.90.86/32\",\r\n \"104.215.90.189/32\",\r\n \"104.215.90.203/32\",\r\n + \ \"104.215.93.125/32\",\r\n \"104.215.176.31/32\",\r\n \"104.215.176.81/32\",\r\n + \ \"104.215.177.5/32\",\r\n \"104.215.178.204/32\",\r\n \"104.215.179.133/32\",\r\n + \ \"104.215.180.203/32\",\r\n \"104.215.181.6/32\",\r\n \"111.221.85.72/32\",\r\n + \ \"111.221.85.74/32\",\r\n \"137.116.44.82/32\",\r\n \"137.116.80.70/32\",\r\n + \ \"137.116.85.245/32\",\r\n \"137.116.126.165/32\",\r\n + \ \"137.117.72.32/32\",\r\n \"137.135.106.54/32\",\r\n \"138.91.17.47/32\",\r\n + \ \"138.91.25.99/32\",\r\n \"138.91.26.45/32\",\r\n \"138.91.188.137/32\",\r\n + \ \"157.55.210.61/32\",\r\n \"157.55.212.238/32\",\r\n \"157.56.12.202/32\",\r\n + \ \"157.56.160.212/32\",\r\n \"157.56.162.53/32\",\r\n \"157.56.167.147/32\",\r\n + \ \"168.61.86.120/32\",\r\n \"168.61.152.201/32\",\r\n \"168.61.172.83/32\",\r\n + \ \"168.61.172.225/32\",\r\n \"168.61.173.172/32\",\r\n \"168.61.217.177/32\",\r\n + \ \"168.62.109.110/32\",\r\n \"168.62.219.52/32\",\r\n \"168.62.219.83/32\",\r\n + \ \"168.62.248.37/32\",\r\n \"168.62.249.81/32\",\r\n \"168.63.136.37/32\",\r\n + \ \"168.63.200.173/32\",\r\n \"191.232.32.19/32\",\r\n \"191.232.32.100/32\",\r\n + \ \"191.232.34.78/32\",\r\n \"191.232.34.249/32\",\r\n \"191.232.35.177/32\",\r\n + \ \"191.232.36.213/32\",\r\n \"191.233.54.240/28\",\r\n \"191.233.68.51/32\",\r\n + \ \"191.233.207.0/28\",\r\n \"191.233.207.32/27\",\r\n \"191.234.161.28/32\",\r\n + \ \"191.234.161.168/32\",\r\n \"191.234.162.131/32\",\r\n + \ \"191.234.162.178/32\",\r\n \"191.234.166.198/32\",\r\n + \ \"191.234.182.26/32\",\r\n \"191.235.82.221/32\",\r\n \"191.235.86.199/32\",\r\n + \ \"191.235.91.7/32\",\r\n \"191.235.94.220/32\",\r\n \"191.235.95.229/32\",\r\n + \ \"191.235.180.188/32\",\r\n \"191.237.255.116/32\",\r\n + \ \"191.238.41.107/32\",\r\n \"191.238.161.62/32\",\r\n \"191.238.163.65/32\",\r\n + \ \"191.239.67.132/32\",\r\n \"191.239.82.62/32\",\r\n \"191.239.161.74/32\",\r\n + \ \"191.239.177.86/32\",\r\n \"207.46.148.176/32\",\r\n \"2603:1000:4:402::3c0/124\",\r\n + \ \"2603:1000:4:402::3e0/123\",\r\n \"2603:1000:104:402::3c0/124\",\r\n + \ \"2603:1000:104:402::3e0/123\",\r\n \"2603:1010:6:402::3c0/124\",\r\n + \ \"2603:1010:6:402::3e0/123\",\r\n \"2603:1010:101:402::3c0/124\",\r\n + \ \"2603:1010:101:402::3e0/123\",\r\n \"2603:1010:304:402::3c0/124\",\r\n + \ \"2603:1010:304:402::3e0/123\",\r\n \"2603:1010:404:402::3c0/124\",\r\n + \ \"2603:1010:404:402::3e0/123\",\r\n \"2603:1020:5:402::3c0/124\",\r\n + \ \"2603:1020:5:402::3e0/123\",\r\n \"2603:1020:206:402::3c0/124\",\r\n + \ \"2603:1020:206:402::3e0/123\",\r\n \"2603:1020:305:402::3c0/124\",\r\n + \ \"2603:1020:305:402::3e0/123\",\r\n \"2603:1020:405:402::3c0/124\",\r\n + \ \"2603:1020:405:402::3e0/123\",\r\n \"2603:1020:605:402::3c0/124\",\r\n + \ \"2603:1020:605:402::3e0/123\",\r\n \"2603:1020:705:402::3c0/124\",\r\n + \ \"2603:1020:705:402::3e0/123\",\r\n \"2603:1020:805:402::3c0/124\",\r\n + \ \"2603:1020:805:402::3e0/123\",\r\n \"2603:1020:905:402::3c0/124\",\r\n + \ \"2603:1020:905:402::3e0/123\",\r\n \"2603:1020:a04:402::3c0/124\",\r\n + \ \"2603:1020:a04:402::3e0/123\",\r\n \"2603:1020:b04:402::3c0/124\",\r\n + \ \"2603:1020:b04:402::3e0/123\",\r\n \"2603:1020:c04:402::3c0/124\",\r\n + \ \"2603:1020:c04:402::3e0/123\",\r\n \"2603:1020:d04:402::3c0/124\",\r\n + \ \"2603:1020:d04:402::3e0/123\",\r\n \"2603:1020:e04:402::3c0/124\",\r\n + \ \"2603:1020:e04:402::3e0/123\",\r\n \"2603:1020:f04:402::3c0/124\",\r\n + \ \"2603:1020:f04:402::3e0/123\",\r\n \"2603:1020:1004:400::250/124\",\r\n + \ \"2603:1020:1004:400::260/123\",\r\n \"2603:1020:1104:400::510/124\",\r\n + \ \"2603:1020:1104:400::520/123\",\r\n \"2603:1030:f:400::bc0/124\",\r\n + \ \"2603:1030:f:400::be0/123\",\r\n \"2603:1030:10:402::3c0/124\",\r\n + \ \"2603:1030:10:402::3e0/123\",\r\n \"2603:1030:104:402::3c0/124\",\r\n + \ \"2603:1030:104:402::3e0/123\",\r\n \"2603:1030:107:400::390/124\",\r\n + \ \"2603:1030:107:400::3a0/123\",\r\n \"2603:1030:210:402::3c0/124\",\r\n + \ \"2603:1030:210:402::3e0/123\",\r\n \"2603:1030:40b:400::bc0/124\",\r\n + \ \"2603:1030:40b:400::be0/123\",\r\n \"2603:1030:40c:402::3c0/124\",\r\n + \ \"2603:1030:40c:402::3e0/123\",\r\n \"2603:1030:504:402::250/124\",\r\n + \ \"2603:1030:504:402::260/123\",\r\n \"2603:1030:608:402::3c0/124\",\r\n + \ \"2603:1030:608:402::3e0/123\",\r\n \"2603:1030:807:402::3c0/124\",\r\n + \ \"2603:1030:807:402::3e0/123\",\r\n \"2603:1030:a07:402::340/124\",\r\n + \ \"2603:1030:a07:402::360/123\",\r\n \"2603:1030:b04:402::3c0/124\",\r\n + \ \"2603:1030:b04:402::3e0/123\",\r\n \"2603:1030:c06:400::bc0/124\",\r\n + \ \"2603:1030:c06:400::be0/123\",\r\n \"2603:1030:f05:402::3c0/124\",\r\n + \ \"2603:1030:f05:402::3e0/123\",\r\n \"2603:1030:1005:402::3c0/124\",\r\n + \ \"2603:1030:1005:402::3e0/123\",\r\n \"2603:1040:5:402::3c0/124\",\r\n + \ \"2603:1040:5:402::3e0/123\",\r\n \"2603:1040:207:402::3c0/124\",\r\n + \ \"2603:1040:207:402::3e0/123\",\r\n \"2603:1040:407:402::3c0/124\",\r\n + \ \"2603:1040:407:402::3e0/123\",\r\n \"2603:1040:606:402::3c0/124\",\r\n + \ \"2603:1040:606:402::3e0/123\",\r\n \"2603:1040:806:402::3c0/124\",\r\n + \ \"2603:1040:806:402::3e0/123\",\r\n \"2603:1040:904:402::3c0/124\",\r\n + \ \"2603:1040:904:402::3e0/123\",\r\n \"2603:1040:a06:402::3c0/124\",\r\n + \ \"2603:1040:a06:402::3e0/123\",\r\n \"2603:1040:b04:402::3c0/124\",\r\n + \ \"2603:1040:b04:402::3e0/123\",\r\n \"2603:1040:c06:402::3c0/124\",\r\n + \ \"2603:1040:c06:402::3e0/123\",\r\n \"2603:1040:d04:400::250/124\",\r\n + \ \"2603:1040:d04:400::260/123\",\r\n \"2603:1040:f05:402::3c0/124\",\r\n + \ \"2603:1040:f05:402::3e0/123\",\r\n \"2603:1040:1104:400::510/124\",\r\n + \ \"2603:1040:1104:400::520/123\",\r\n \"2603:1050:6:402::3c0/124\",\r\n + \ \"2603:1050:6:402::3e0/123\",\r\n \"2603:1050:403:400::180/123\",\r\n + \ \"2603:1050:403:400::250/124\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"LogicApps.AustraliaCentral\",\r\n \"id\": + \"LogicApps.AustraliaCentral\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\": + \"australiacentral\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"LogicApps\",\r\n \"addressPrefixes\": [\r\n \"20.36.108.192/27\",\r\n + \ \"20.36.108.224/28\",\r\n \"2603:1010:304:402::3c0/124\",\r\n + \ \"2603:1010:304:402::3e0/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"LogicApps.CanadaCentral\",\r\n \"id\": \"LogicApps.CanadaCentral\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"canadacentral\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n + \ ],\r\n \"systemService\": \"LogicApps\",\r\n \"addressPrefixes\": + [\r\n \"13.71.184.150/32\",\r\n \"13.71.186.1/32\",\r\n + \ \"13.88.249.209/32\",\r\n \"20.38.149.144/28\",\r\n \"20.38.149.160/27\",\r\n + \ \"40.85.241.105/32\",\r\n \"40.85.250.135/32\",\r\n \"40.85.250.212/32\",\r\n + \ \"40.85.252.47/32\",\r\n \"52.228.39.244/32\",\r\n \"52.233.29.79/32\",\r\n + \ \"52.233.29.92/32\",\r\n \"52.233.30.218/32\",\r\n \"2603:1030:f05:402::3c0/124\",\r\n + \ \"2603:1030:f05:402::3e0/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"LogicApps.CentralIndia\",\r\n \"id\": \"LogicApps.CentralIndia\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"centralindia\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n + \ ],\r\n \"systemService\": \"LogicApps\",\r\n \"addressPrefixes\": + [\r\n \"20.43.121.192/27\",\r\n \"20.43.121.224/28\",\r\n + \ \"52.172.154.168/32\",\r\n \"52.172.157.194/32\",\r\n \"52.172.184.192/32\",\r\n + \ \"52.172.185.79/32\",\r\n \"52.172.186.159/32\",\r\n \"52.172.191.194/32\",\r\n + \ \"104.211.73.195/32\",\r\n \"104.211.74.145/32\",\r\n \"104.211.90.162/32\",\r\n + \ \"104.211.90.169/32\",\r\n \"104.211.101.108/32\",\r\n + \ \"104.211.102.62/32\",\r\n \"2603:1040:a06:402::3c0/124\",\r\n + \ \"2603:1040:a06:402::3e0/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"LogicApps.GermanyNorth\",\r\n \"id\": \"LogicApps.GermanyNorth\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"3\",\r\n \"region\": \"germanyn\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n + \ ],\r\n \"systemService\": \"LogicApps\",\r\n \"addressPrefixes\": + [\r\n \"51.116.60.144/28\",\r\n \"51.116.60.160/27\",\r\n + \ \"51.116.208.37/32\",\r\n \"51.116.208.51/32\",\r\n \"51.116.208.64/32\",\r\n + \ \"51.116.208.132/32\",\r\n \"51.116.208.165/32\",\r\n \"51.116.208.175/32\",\r\n + \ \"51.116.208.192/32\",\r\n \"51.116.208.200/32\",\r\n \"51.116.208.217/32\",\r\n + \ \"51.116.208.222/32\",\r\n \"51.116.211.29/32\",\r\n \"51.116.211.168/32\",\r\n + \ \"2603:1020:d04:402::3c0/124\",\r\n \"2603:1020:d04:402::3e0/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"LogicApps.NorthEurope\",\r\n + \ \"id\": \"LogicApps.NorthEurope\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"northeurope\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"LogicApps\",\r\n \"addressPrefixes\": [\r\n \"13.69.231.160/27\",\r\n + \ \"13.69.233.16/28\",\r\n \"13.79.173.49/32\",\r\n \"40.112.90.39/32\",\r\n + \ \"40.112.92.104/32\",\r\n \"40.112.95.216/32\",\r\n \"40.113.1.181/32\",\r\n + \ \"40.113.3.202/32\",\r\n \"40.113.4.18/32\",\r\n \"40.113.10.90/32\",\r\n + \ \"40.113.11.17/32\",\r\n \"40.113.12.95/32\",\r\n \"40.113.18.211/32\",\r\n + \ \"40.113.20.202/32\",\r\n \"40.113.22.12/32\",\r\n \"40.113.94.31/32\",\r\n + \ \"52.169.218.253/32\",\r\n \"52.169.220.174/32\",\r\n \"52.178.165.215/32\",\r\n + \ \"52.178.166.21/32\",\r\n \"168.61.86.120/32\",\r\n \"191.235.180.188/32\",\r\n + \ \"2603:1020:5:402::3c0/124\",\r\n \"2603:1020:5:402::3e0/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"LogicApps.SoutheastAsia\",\r\n + \ \"id\": \"LogicApps.SoutheastAsia\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"southeastasia\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"LogicApps\",\r\n \"addressPrefixes\": [\r\n \"13.67.13.224/27\",\r\n + \ \"13.67.91.135/32\",\r\n \"13.67.107.128/32\",\r\n \"13.67.110.109/32\",\r\n + \ \"13.76.4.194/32\",\r\n \"13.76.5.96/32\",\r\n \"13.76.133.155/32\",\r\n + \ \"40.78.239.16/28\",\r\n \"52.163.93.214/32\",\r\n \"52.163.228.93/32\",\r\n + \ \"52.163.230.166/32\",\r\n \"52.187.65.81/32\",\r\n \"52.187.65.155/32\",\r\n + \ \"104.215.176.31/32\",\r\n \"104.215.176.81/32\",\r\n \"104.215.177.5/32\",\r\n + \ \"104.215.178.204/32\",\r\n \"104.215.179.133/32\",\r\n + \ \"104.215.180.203/32\",\r\n \"104.215.181.6/32\",\r\n \"111.221.85.72/32\",\r\n + \ \"111.221.85.74/32\",\r\n \"2603:1040:5:402::3c0/124\",\r\n + \ \"2603:1040:5:402::3e0/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"LogicApps.SwitzerlandWest\",\r\n \"id\": \"LogicApps.SwitzerlandWest\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"3\",\r\n \"region\": \"switzerlandw\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n + \ ],\r\n \"systemService\": \"LogicApps\",\r\n \"addressPrefixes\": + [\r\n \"51.107.156.160/27\",\r\n \"51.107.156.192/28\",\r\n + \ \"51.107.225.151/32\",\r\n \"51.107.225.163/32\",\r\n \"51.107.225.167/32\",\r\n + \ \"51.107.225.179/32\",\r\n \"51.107.225.180/32\",\r\n \"51.107.225.186/32\",\r\n + \ \"51.107.225.190/32\",\r\n \"51.107.231.86/32\",\r\n \"51.107.239.66/32\",\r\n + \ \"51.107.239.83/32\",\r\n \"51.107.239.112/32\",\r\n \"51.107.239.123/32\",\r\n + \ \"2603:1020:b04:402::3c0/124\",\r\n \"2603:1020:b04:402::3e0/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"LogicApps.UKNorth\",\r\n + \ \"id\": \"LogicApps.UKNorth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"uknorth\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"LogicApps\",\r\n \"addressPrefixes\": [\r\n \"13.87.124.144/28\",\r\n + \ \"13.87.124.160/27\",\r\n \"2603:1020:305:402::3c0/124\",\r\n + \ \"2603:1020:305:402::3e0/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"LogicApps.UKSouth2\",\r\n \"id\": \"LogicApps.UKSouth2\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"uksouth2\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n + \ ],\r\n \"systemService\": \"LogicApps\",\r\n \"addressPrefixes\": + [\r\n \"13.87.58.144/28\",\r\n \"13.87.58.160/27\",\r\n + \ \"2603:1020:405:402::3c0/124\",\r\n \"2603:1020:405:402::3e0/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"LogicApps.WestIndia\",\r\n + \ \"id\": \"LogicApps.WestIndia\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"westindia\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"LogicApps\",\r\n \"addressPrefixes\": [\r\n \"20.38.128.176/28\",\r\n + \ \"20.38.128.192/27\",\r\n \"104.211.154.7/32\",\r\n \"104.211.154.59/32\",\r\n + \ \"104.211.156.153/32\",\r\n \"104.211.157.237/32\",\r\n + \ \"104.211.158.123/32\",\r\n \"104.211.158.127/32\",\r\n + \ \"104.211.162.205/32\",\r\n \"104.211.164.25/32\",\r\n + \ \"104.211.164.80/32\",\r\n \"104.211.164.112/32\",\r\n + \ \"104.211.164.136/32\",\r\n \"104.211.165.81/32\",\r\n + \ \"2603:1040:806:402::3c0/124\",\r\n \"2603:1040:806:402::3e0/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"LogicApps.WestUS\",\r\n + \ \"id\": \"LogicApps.WestUS\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\": + \"westus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"LogicApps\",\r\n \"addressPrefixes\": [\r\n \"13.86.221.240/28\",\r\n + \ \"13.86.223.0/27\",\r\n \"13.91.252.184/32\",\r\n \"40.83.164.80/32\",\r\n + \ \"40.118.241.243/32\",\r\n \"40.118.244.241/32\",\r\n \"52.160.90.237/32\",\r\n + \ \"52.160.92.112/32\",\r\n \"104.40.49.140/32\",\r\n \"104.40.54.74/32\",\r\n + \ \"104.40.59.188/32\",\r\n \"104.40.61.150/32\",\r\n \"104.40.62.178/32\",\r\n + \ \"104.42.38.32/32\",\r\n \"104.42.49.145/32\",\r\n \"104.42.224.227/32\",\r\n + \ \"104.42.236.93/32\",\r\n \"138.91.188.137/32\",\r\n \"157.56.160.212/32\",\r\n + \ \"157.56.162.53/32\",\r\n \"157.56.167.147/32\",\r\n \"168.62.219.52/32\",\r\n + \ \"168.62.219.83/32\",\r\n \"2603:1030:a07:402::340/124\",\r\n + \ \"2603:1030:a07:402::360/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"LogicAppsManagement\",\r\n \"id\": \"LogicAppsManagement\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"3\",\r\n \"region\": \"\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"LogicApps\",\r\n \"addressPrefixes\": + [\r\n \"13.65.39.247/32\",\r\n \"13.65.98.39/32\",\r\n \"13.66.128.68/32\",\r\n + \ \"13.66.224.169/32\",\r\n \"13.67.236.76/32\",\r\n \"13.69.109.144/28\",\r\n + \ \"13.69.233.16/28\",\r\n \"13.71.146.140/32\",\r\n \"13.71.199.160/28\",\r\n + \ \"13.73.115.153/32\",\r\n \"13.73.244.144/28\",\r\n \"13.75.89.159/32\",\r\n + \ \"13.75.153.66/32\",\r\n \"13.77.55.128/28\",\r\n \"13.78.43.164/32\",\r\n + \ \"13.78.62.130/32\",\r\n \"13.78.84.187/32\",\r\n \"13.78.137.247/32\",\r\n + \ \"13.79.173.49/32\",\r\n \"13.84.41.46/32\",\r\n \"13.84.43.45/32\",\r\n + \ \"13.85.79.155/32\",\r\n \"13.86.221.240/28\",\r\n \"13.87.58.144/28\",\r\n + \ \"13.87.124.144/28\",\r\n \"13.88.249.209/32\",\r\n \"13.89.178.48/28\",\r\n + \ \"13.91.252.184/32\",\r\n \"13.95.155.53/32\",\r\n \"20.36.108.224/28\",\r\n + \ \"20.36.117.128/28\",\r\n \"20.37.76.208/28\",\r\n \"20.38.128.176/28\",\r\n + \ \"20.38.149.144/28\",\r\n \"20.40.32.49/32\",\r\n \"20.40.32.59/32\",\r\n + \ \"20.40.32.80/32\",\r\n \"20.40.32.162/32\",\r\n \"20.42.64.48/28\",\r\n + \ \"20.43.121.224/28\",\r\n \"20.44.4.176/28\",\r\n \"20.45.64.29/32\",\r\n + \ \"20.45.64.87/32\",\r\n \"20.45.71.213/32\",\r\n \"20.45.75.193/32\",\r\n + \ \"20.46.42.220/32\",\r\n \"20.46.46.173/32\",\r\n \"20.72.30.160/28\",\r\n + \ \"20.150.172.240/28\",\r\n \"20.192.238.160/28\",\r\n \"20.193.206.48/28\",\r\n + \ \"23.97.68.172/32\",\r\n \"40.67.60.176/28\",\r\n \"40.69.110.224/28\",\r\n + \ \"40.70.27.253/32\",\r\n \"40.74.66.200/32\",\r\n \"40.74.81.13/32\",\r\n + \ \"40.74.85.215/32\",\r\n \"40.74.140.173/32\",\r\n \"40.75.35.240/28\",\r\n + \ \"40.77.31.87/32\",\r\n \"40.77.111.254/32\",\r\n \"40.78.196.176/28\",\r\n + \ \"40.78.204.208/28\",\r\n \"40.78.239.16/28\",\r\n \"40.78.245.144/28\",\r\n + \ \"40.79.44.7/32\",\r\n \"40.79.139.144/28\",\r\n \"40.79.171.240/28\",\r\n + \ \"40.79.180.192/28\",\r\n \"40.79.197.48/28\",\r\n \"40.80.180.16/28\",\r\n + \ \"40.83.98.194/32\",\r\n \"40.84.25.234/32\",\r\n \"40.84.59.136/32\",\r\n + \ \"40.84.138.132/32\",\r\n \"40.85.241.105/32\",\r\n \"40.86.202.42/32\",\r\n + \ \"40.112.90.39/32\",\r\n \"40.115.78.70/32\",\r\n \"40.115.78.237/32\",\r\n + \ \"40.117.99.79/32\",\r\n \"40.117.100.228/32\",\r\n \"40.120.64.32/28\",\r\n + \ \"40.123.224.143/32\",\r\n \"40.123.224.227/32\",\r\n \"51.11.97.16/28\",\r\n + \ \"51.12.100.112/28\",\r\n \"51.12.204.112/28\",\r\n \"51.103.128.52/32\",\r\n + \ \"51.103.132.236/32\",\r\n \"51.103.134.138/32\",\r\n \"51.103.136.209/32\",\r\n + \ \"51.104.9.112/28\",\r\n \"51.107.60.192/28\",\r\n \"51.107.156.192/28\",\r\n + \ \"51.107.225.163/32\",\r\n \"51.107.225.167/32\",\r\n \"51.107.225.180/32\",\r\n + \ \"51.107.239.66/32\",\r\n \"51.116.60.144/28\",\r\n \"51.116.158.64/28\",\r\n + \ \"51.116.168.222/32\",\r\n \"51.116.171.209/32\",\r\n \"51.116.175.0/32\",\r\n + \ \"51.116.208.37/32\",\r\n \"51.116.208.64/32\",\r\n \"51.116.208.132/32\",\r\n + \ \"51.116.211.29/32\",\r\n \"51.116.233.40/32\",\r\n \"51.120.109.32/28\",\r\n + \ \"51.120.220.160/28\",\r\n \"51.140.78.71/32\",\r\n \"51.140.79.109/32\",\r\n + \ \"51.140.84.39/32\",\r\n \"51.140.155.81/32\",\r\n \"51.141.48.98/32\",\r\n + \ \"51.141.51.145/32\",\r\n \"51.141.53.164/32\",\r\n \"51.141.119.150/32\",\r\n + \ \"51.144.176.185/32\",\r\n \"52.147.97.16/28\",\r\n \"52.160.90.237/32\",\r\n + \ \"52.161.8.128/32\",\r\n \"52.161.19.82/32\",\r\n \"52.161.26.172/32\",\r\n + \ \"52.162.111.144/28\",\r\n \"52.163.93.214/32\",\r\n \"52.167.109.80/28\",\r\n + \ \"52.169.218.253/32\",\r\n \"52.169.220.174/32\",\r\n \"52.172.9.47/32\",\r\n + \ \"52.172.49.43/32\",\r\n \"52.172.51.140/32\",\r\n \"52.172.157.194/32\",\r\n + \ \"52.172.184.192/32\",\r\n \"52.172.191.194/32\",\r\n \"52.174.49.6/32\",\r\n + \ \"52.174.54.218/32\",\r\n \"52.183.30.10/32\",\r\n \"52.183.39.67/32\",\r\n + \ \"52.187.65.81/32\",\r\n \"52.187.65.155/32\",\r\n \"52.187.231.161/32\",\r\n + \ \"52.189.216.28/32\",\r\n \"52.229.125.57/32\",\r\n \"52.231.23.16/28\",\r\n + \ \"52.232.129.143/32\",\r\n \"52.232.133.109/32\",\r\n \"52.233.29.79/32\",\r\n + \ \"52.233.30.218/32\",\r\n \"65.52.9.64/32\",\r\n \"65.52.211.164/32\",\r\n + \ \"102.133.28.208/28\",\r\n \"102.133.72.145/32\",\r\n \"102.133.72.173/32\",\r\n + \ \"102.133.72.184/32\",\r\n \"102.133.72.190/32\",\r\n \"102.133.156.176/28\",\r\n + \ \"102.133.224.125/32\",\r\n \"102.133.226.199/32\",\r\n + \ \"102.133.228.4/32\",\r\n \"102.133.228.9/32\",\r\n \"104.43.243.39/32\",\r\n + \ \"104.210.89.222/32\",\r\n \"104.210.89.244/32\",\r\n \"104.210.153.89/32\",\r\n + \ \"104.211.73.195/32\",\r\n \"104.211.157.237/32\",\r\n + \ \"104.211.164.25/32\",\r\n \"104.211.164.112/32\",\r\n + \ \"104.211.165.81/32\",\r\n \"104.211.225.152/32\",\r\n + \ \"104.214.161.96/28\",\r\n \"104.215.181.6/32\",\r\n \"137.116.126.165/32\",\r\n + \ \"137.135.106.54/32\",\r\n \"138.91.188.137/32\",\r\n \"157.56.12.202/32\",\r\n + \ \"157.56.160.212/32\",\r\n \"168.62.249.81/32\",\r\n \"168.63.200.173/32\",\r\n + \ \"191.233.54.240/28\",\r\n \"191.233.207.0/28\",\r\n \"191.234.166.198/32\",\r\n + \ \"191.235.86.199/32\",\r\n \"191.235.94.220/32\",\r\n \"191.235.95.229/32\",\r\n + \ \"2603:1000:4:402::3c0/124\",\r\n \"2603:1000:104:402::3c0/124\",\r\n + \ \"2603:1010:6:402::3c0/124\",\r\n \"2603:1010:101:402::3c0/124\",\r\n + \ \"2603:1010:304:402::3c0/124\",\r\n \"2603:1010:404:402::3c0/124\",\r\n + \ \"2603:1020:5:402::3c0/124\",\r\n \"2603:1020:206:402::3c0/124\",\r\n + \ \"2603:1020:305:402::3c0/124\",\r\n \"2603:1020:405:402::3c0/124\",\r\n + \ \"2603:1020:605:402::3c0/124\",\r\n \"2603:1020:705:402::3c0/124\",\r\n + \ \"2603:1020:805:402::3c0/124\",\r\n \"2603:1020:905:402::3c0/124\",\r\n + \ \"2603:1020:a04:402::3c0/124\",\r\n \"2603:1020:b04:402::3c0/124\",\r\n + \ \"2603:1020:c04:402::3c0/124\",\r\n \"2603:1020:d04:402::3c0/124\",\r\n + \ \"2603:1020:e04:402::3c0/124\",\r\n \"2603:1020:f04:402::3c0/124\",\r\n + \ \"2603:1020:1004:400::250/124\",\r\n \"2603:1020:1104:400::510/124\",\r\n + \ \"2603:1030:f:400::bc0/124\",\r\n \"2603:1030:10:402::3c0/124\",\r\n + \ \"2603:1030:104:402::3c0/124\",\r\n \"2603:1030:107:400::390/124\",\r\n + \ \"2603:1030:210:402::3c0/124\",\r\n \"2603:1030:40b:400::bc0/124\",\r\n + \ \"2603:1030:40c:402::3c0/124\",\r\n \"2603:1030:504:402::250/124\",\r\n + \ \"2603:1030:608:402::3c0/124\",\r\n \"2603:1030:807:402::3c0/124\",\r\n + \ \"2603:1030:a07:402::340/124\",\r\n \"2603:1030:b04:402::3c0/124\",\r\n + \ \"2603:1030:c06:400::bc0/124\",\r\n \"2603:1030:f05:402::3c0/124\",\r\n + \ \"2603:1030:1005:402::3c0/124\",\r\n \"2603:1040:5:402::3c0/124\",\r\n + \ \"2603:1040:207:402::3c0/124\",\r\n \"2603:1040:407:402::3c0/124\",\r\n + \ \"2603:1040:606:402::3c0/124\",\r\n \"2603:1040:806:402::3c0/124\",\r\n + \ \"2603:1040:904:402::3c0/124\",\r\n \"2603:1040:a06:402::3c0/124\",\r\n + \ \"2603:1040:b04:402::3c0/124\",\r\n \"2603:1040:c06:402::3c0/124\",\r\n + \ \"2603:1040:d04:400::250/124\",\r\n \"2603:1040:f05:402::3c0/124\",\r\n + \ \"2603:1040:1104:400::510/124\",\r\n \"2603:1050:6:402::3c0/124\",\r\n + \ \"2603:1050:403:400::250/124\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"MicrosoftCloudAppSecurity\",\r\n \"id\": \"MicrosoftCloudAppSecurity\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"1\",\r\n \"region\": \"\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"MicrosoftCloudAppSecurity\",\r\n + \ \"addressPrefixes\": [\r\n \"13.64.26.88/32\",\r\n \"13.64.28.87/32\",\r\n + \ \"13.64.29.32/32\",\r\n \"13.64.29.161/32\",\r\n \"13.64.30.76/32\",\r\n + \ \"13.64.30.117/32\",\r\n \"13.64.30.118/32\",\r\n \"13.64.31.116/32\",\r\n + \ \"13.64.196.27/32\",\r\n \"13.64.198.19/32\",\r\n \"13.64.198.97/32\",\r\n + \ \"13.64.199.41/32\",\r\n \"13.64.252.115/32\",\r\n \"13.66.134.18/32\",\r\n + \ \"13.66.142.80/28\",\r\n \"13.66.158.8/32\",\r\n \"13.66.168.209/32\",\r\n + \ \"13.66.173.192/32\",\r\n \"13.66.210.205/32\",\r\n \"13.67.10.192/28\",\r\n + \ \"13.67.48.221/32\",\r\n \"13.69.67.96/28\",\r\n \"13.69.107.96/28\",\r\n + \ \"13.69.190.115/32\",\r\n \"13.69.230.48/28\",\r\n \"13.70.74.160/27\",\r\n + \ \"13.71.175.0/27\",\r\n \"13.71.196.192/27\",\r\n \"13.73.242.224/27\",\r\n + \ \"13.74.108.176/28\",\r\n \"13.74.168.152/32\",\r\n \"13.75.39.128/27\",\r\n + \ \"13.76.43.73/32\",\r\n \"13.76.129.255/32\",\r\n \"13.77.53.96/27\",\r\n + \ \"13.77.80.28/32\",\r\n \"13.77.136.80/32\",\r\n \"13.77.148.229/32\",\r\n + \ \"13.77.160.162/32\",\r\n \"13.77.163.148/32\",\r\n \"13.77.165.61/32\",\r\n + \ \"13.80.7.94/32\",\r\n \"13.80.22.71/32\",\r\n \"13.80.125.22/32\",\r\n + \ \"13.81.123.49/32\",\r\n \"13.81.204.189/32\",\r\n \"13.81.212.71/32\",\r\n + \ \"13.86.176.189/32\",\r\n \"13.86.176.211/32\",\r\n \"13.86.219.224/27\",\r\n + \ \"13.86.235.202/32\",\r\n \"13.86.239.236/32\",\r\n \"13.88.224.38/32\",\r\n + \ \"13.88.224.211/32\",\r\n \"13.88.224.222/32\",\r\n \"13.88.226.74/32\",\r\n + \ \"13.88.227.7/32\",\r\n \"13.89.178.0/28\",\r\n \"13.91.61.249/32\",\r\n + \ \"13.91.91.243/32\",\r\n \"13.91.98.185/32\",\r\n \"13.93.32.114/32\",\r\n + \ \"13.93.113.192/32\",\r\n \"13.93.196.52/32\",\r\n \"13.93.216.68/32\",\r\n + \ \"13.93.233.42/32\",\r\n \"13.95.1.33/32\",\r\n \"13.95.29.177/32\",\r\n + \ \"13.95.30.46/32\",\r\n \"20.36.220.93/32\",\r\n \"20.36.222.59/32\",\r\n + \ \"20.36.222.60/32\",\r\n \"20.36.240.76/32\",\r\n \"20.36.244.208/32\",\r\n + \ \"20.36.245.0/32\",\r\n \"20.36.245.182/32\",\r\n \"20.36.245.235/32\",\r\n + \ \"20.36.246.188/32\",\r\n \"20.36.248.40/32\",\r\n \"20.40.106.50/31\",\r\n + \ \"20.40.107.84/32\",\r\n \"20.40.132.195/32\",\r\n \"20.40.134.79/32\",\r\n + \ \"20.40.134.94/32\",\r\n \"20.40.160.184/32\",\r\n \"20.40.161.119/32\",\r\n + \ \"20.40.161.131/32\",\r\n \"20.40.161.132/32\",\r\n \"20.40.161.135/32\",\r\n + \ \"20.40.161.140/30\",\r\n \"20.40.161.160/31\",\r\n \"20.40.162.86/32\",\r\n + \ \"20.40.162.200/32\",\r\n \"20.40.163.88/32\",\r\n \"20.40.163.96/31\",\r\n + \ \"20.40.163.130/32\",\r\n \"20.40.163.133/32\",\r\n \"20.40.163.178/31\",\r\n + \ \"20.42.29.162/32\",\r\n \"20.42.31.48/32\",\r\n \"20.42.31.251/32\",\r\n + \ \"20.44.8.208/28\",\r\n \"20.44.17.64/28\",\r\n \"20.44.72.173/32\",\r\n + \ \"20.44.72.217/32\",\r\n \"20.44.73.253/32\",\r\n \"20.45.3.127/32\",\r\n + \ \"20.184.57.4/32\",\r\n \"20.184.57.218/32\",\r\n \"20.184.58.46/32\",\r\n + \ \"20.184.58.110/32\",\r\n \"20.184.60.77/32\",\r\n \"20.184.61.67/32\",\r\n + \ \"20.184.61.253/32\",\r\n \"20.184.63.158/32\",\r\n \"20.184.63.216/32\",\r\n + \ \"20.184.63.232/32\",\r\n \"20.188.72.248/32\",\r\n \"23.97.54.160/32\",\r\n + \ \"23.97.55.165/32\",\r\n \"23.98.83.96/28\",\r\n \"23.100.67.153/32\",\r\n + \ \"40.65.169.46/32\",\r\n \"40.65.169.97/32\",\r\n \"40.65.169.196/32\",\r\n + \ \"40.65.169.236/32\",\r\n \"40.65.170.17/32\",\r\n \"40.65.170.26/32\",\r\n + \ \"40.65.170.80/30\",\r\n \"40.65.170.112/31\",\r\n \"40.65.170.123/32\",\r\n + \ \"40.65.170.125/32\",\r\n \"40.65.170.128/32\",\r\n \"40.65.170.133/32\",\r\n + \ \"40.65.170.137/32\",\r\n \"40.65.233.253/32\",\r\n \"40.65.235.54/32\",\r\n + \ \"40.66.56.158/32\",\r\n \"40.66.57.164/32\",\r\n \"40.66.57.203/32\",\r\n + \ \"40.66.59.41/32\",\r\n \"40.66.59.193/32\",\r\n \"40.66.59.195/32\",\r\n + \ \"40.66.59.196/32\",\r\n \"40.66.59.246/32\",\r\n \"40.66.60.101/32\",\r\n + \ \"40.66.60.118/32\",\r\n \"40.66.60.180/32\",\r\n \"40.66.60.185/32\",\r\n + \ \"40.66.60.200/32\",\r\n \"40.66.60.206/31\",\r\n \"40.66.60.208/31\",\r\n + \ \"40.66.60.210/32\",\r\n \"40.66.60.215/32\",\r\n \"40.66.60.216/31\",\r\n + \ \"40.66.60.219/32\",\r\n \"40.66.60.220/31\",\r\n \"40.66.60.222/32\",\r\n + \ \"40.66.60.224/31\",\r\n \"40.66.60.226/32\",\r\n \"40.66.60.232/32\",\r\n + \ \"40.66.61.61/32\",\r\n \"40.66.61.158/32\",\r\n \"40.66.61.193/32\",\r\n + \ \"40.66.61.226/32\",\r\n \"40.66.62.7/32\",\r\n \"40.66.62.9/32\",\r\n + \ \"40.66.62.78/32\",\r\n \"40.66.62.130/32\",\r\n \"40.66.62.154/32\",\r\n + \ \"40.66.62.225/32\",\r\n \"40.66.63.148/32\",\r\n \"40.66.63.255/32\",\r\n + \ \"40.67.152.91/32\",\r\n \"40.67.152.227/32\",\r\n \"40.67.154.160/32\",\r\n + \ \"40.67.155.146/32\",\r\n \"40.67.159.55/32\",\r\n \"40.67.216.253/32\",\r\n + \ \"40.67.219.133/32\",\r\n \"40.67.251.0/32\",\r\n \"40.67.254.233/32\",\r\n + \ \"40.68.245.184/32\",\r\n \"40.69.108.96/27\",\r\n \"40.70.0.255/32\",\r\n + \ \"40.70.29.49/32\",\r\n \"40.70.29.200/32\",\r\n \"40.70.148.112/28\",\r\n + \ \"40.70.184.90/32\",\r\n \"40.71.14.16/28\",\r\n \"40.74.1.235/32\",\r\n + \ \"40.74.6.204/32\",\r\n \"40.76.78.217/32\",\r\n \"40.78.23.204/32\",\r\n + \ \"40.78.56.129/32\",\r\n \"40.78.229.64/28\",\r\n \"40.78.236.160/28\",\r\n + \ \"40.78.245.0/28\",\r\n \"40.78.251.128/28\",\r\n \"40.79.132.96/28\",\r\n + \ \"40.79.139.16/28\",\r\n \"40.79.146.224/28\",\r\n \"40.79.156.112/28\",\r\n + \ \"40.79.180.64/27\",\r\n \"40.80.219.49/32\",\r\n \"40.80.220.215/32\",\r\n + \ \"40.80.220.246/32\",\r\n \"40.80.221.77/32\",\r\n \"40.80.222.91/32\",\r\n + \ \"40.80.222.197/32\",\r\n \"40.81.56.80/32\",\r\n \"40.81.57.138/32\",\r\n + \ \"40.81.57.141/32\",\r\n \"40.81.57.144/32\",\r\n \"40.81.57.157/32\",\r\n + \ \"40.81.57.164/32\",\r\n \"40.81.57.169/32\",\r\n \"40.81.58.180/32\",\r\n + \ \"40.81.58.184/32\",\r\n \"40.81.58.193/32\",\r\n \"40.81.59.4/32\",\r\n + \ \"40.81.59.90/32\",\r\n \"40.81.59.93/32\",\r\n \"40.81.62.162/32\",\r\n + \ \"40.81.62.179/32\",\r\n \"40.81.62.193/32\",\r\n \"40.81.62.199/32\",\r\n + \ \"40.81.62.206/32\",\r\n \"40.81.62.209/32\",\r\n \"40.81.62.212/32\",\r\n + \ \"40.81.62.220/30\",\r\n \"40.81.62.224/32\",\r\n \"40.81.62.255/32\",\r\n + \ \"40.81.63.1/32\",\r\n \"40.81.63.2/32\",\r\n \"40.81.63.4/31\",\r\n + \ \"40.81.63.7/32\",\r\n \"40.81.63.8/32\",\r\n \"40.81.63.235/32\",\r\n + \ \"40.81.63.245/32\",\r\n \"40.81.63.248/32\",\r\n \"40.81.120.13/32\",\r\n + \ \"40.81.120.24/31\",\r\n \"40.81.120.97/32\",\r\n \"40.81.120.187/32\",\r\n + \ \"40.81.120.191/32\",\r\n \"40.81.120.192/32\",\r\n \"40.81.121.66/32\",\r\n + \ \"40.81.121.76/32\",\r\n \"40.81.121.78/32\",\r\n \"40.81.121.107/32\",\r\n + \ \"40.81.121.108/32\",\r\n \"40.81.121.111/32\",\r\n \"40.81.121.127/32\",\r\n + \ \"40.81.121.135/32\",\r\n \"40.81.121.140/32\",\r\n \"40.81.121.175/32\",\r\n + \ \"40.81.122.4/32\",\r\n \"40.81.122.62/31\",\r\n \"40.81.122.76/32\",\r\n + \ \"40.81.122.203/32\",\r\n \"40.81.123.124/32\",\r\n \"40.81.123.157/32\",\r\n + \ \"40.81.124.185/32\",\r\n \"40.81.124.219/32\",\r\n \"40.81.127.25/32\",\r\n + \ \"40.81.127.139/32\",\r\n \"40.81.127.140/31\",\r\n \"40.81.127.229/32\",\r\n + \ \"40.81.127.230/32\",\r\n \"40.81.127.239/32\",\r\n \"40.81.152.126/32\",\r\n + \ \"40.81.152.171/32\",\r\n \"40.81.152.172/32\",\r\n \"40.81.156.153/32\",\r\n + \ \"40.81.156.154/31\",\r\n \"40.81.156.156/32\",\r\n \"40.81.159.35/32\",\r\n + \ \"40.81.159.77/32\",\r\n \"40.82.184.80/32\",\r\n \"40.82.185.36/32\",\r\n + \ \"40.82.185.117/32\",\r\n \"40.82.185.229/32\",\r\n \"40.82.186.166/32\",\r\n + \ \"40.82.186.168/31\",\r\n \"40.82.186.176/31\",\r\n \"40.82.186.180/32\",\r\n + \ \"40.82.186.182/32\",\r\n \"40.82.186.185/32\",\r\n \"40.82.186.214/32\",\r\n + \ \"40.82.186.231/32\",\r\n \"40.82.187.161/32\",\r\n \"40.82.187.162/31\",\r\n + \ \"40.82.187.164/32\",\r\n \"40.82.187.177/32\",\r\n \"40.82.187.178/31\",\r\n + \ \"40.82.187.199/32\",\r\n \"40.82.187.200/32\",\r\n \"40.82.187.202/32\",\r\n + \ \"40.82.187.204/30\",\r\n \"40.82.187.208/30\",\r\n \"40.82.187.212/31\",\r\n + \ \"40.82.187.218/32\",\r\n \"40.82.187.223/32\",\r\n \"40.82.190.163/32\",\r\n + \ \"40.82.191.58/32\",\r\n \"40.84.2.83/32\",\r\n \"40.84.4.93/32\",\r\n + \ \"40.84.4.119/32\",\r\n \"40.84.5.28/32\",\r\n \"40.84.49.16/32\",\r\n + \ \"40.89.136.227/32\",\r\n \"40.89.137.101/32\",\r\n \"40.89.142.184/32\",\r\n + \ \"40.89.143.43/32\",\r\n \"40.90.184.197/32\",\r\n \"40.90.185.64/32\",\r\n + \ \"40.90.191.153/32\",\r\n \"40.90.218.196/31\",\r\n \"40.90.218.198/32\",\r\n + \ \"40.90.218.203/32\",\r\n \"40.90.219.121/32\",\r\n \"40.90.219.184/32\",\r\n + \ \"40.90.220.37/32\",\r\n \"40.90.220.190/32\",\r\n \"40.90.220.196/32\",\r\n + \ \"40.90.222.64/32\",\r\n \"40.91.74.37/32\",\r\n \"40.91.78.105/32\",\r\n + \ \"40.91.114.40/29\",\r\n \"40.91.114.48/31\",\r\n \"40.91.122.25/32\",\r\n + \ \"40.91.122.38/32\",\r\n \"40.91.126.157/32\",\r\n \"40.91.127.44/32\",\r\n + \ \"40.91.198.19/32\",\r\n \"40.113.121.176/32\",\r\n \"40.114.112.147/32\",\r\n + \ \"40.114.217.8/32\",\r\n \"40.115.24.65/32\",\r\n \"40.115.25.50/32\",\r\n + \ \"40.115.71.111/32\",\r\n \"40.118.63.137/32\",\r\n \"40.118.97.232/32\",\r\n + \ \"40.118.211.172/32\",\r\n \"40.119.145.130/32\",\r\n \"40.119.147.102/32\",\r\n + \ \"40.119.154.72/32\",\r\n \"40.119.203.98/31\",\r\n \"40.119.203.158/31\",\r\n + \ \"40.119.203.208/31\",\r\n \"40.119.207.131/32\",\r\n \"40.119.207.144/32\",\r\n + \ \"40.119.207.164/32\",\r\n \"40.119.207.166/32\",\r\n \"40.119.207.174/32\",\r\n + \ \"40.119.207.182/32\",\r\n \"40.119.207.193/32\",\r\n \"40.119.207.200/32\",\r\n + \ \"40.119.215.167/32\",\r\n \"40.121.134.1/32\",\r\n \"40.124.53.69/32\",\r\n + \ \"51.11.26.92/32\",\r\n \"51.11.26.95/32\",\r\n \"51.104.9.16/28\",\r\n + \ \"51.105.37.244/32\",\r\n \"51.105.67.224/28\",\r\n \"51.105.75.176/28\",\r\n + \ \"51.105.124.64/32\",\r\n \"51.105.124.80/32\",\r\n \"51.105.161.5/32\",\r\n + \ \"51.105.163.8/32\",\r\n \"51.105.163.43/32\",\r\n \"51.105.164.8/32\",\r\n + \ \"51.105.164.234/32\",\r\n \"51.105.164.241/32\",\r\n \"51.105.165.31/32\",\r\n + \ \"51.105.165.37/32\",\r\n \"51.105.165.63/32\",\r\n \"51.105.165.116/32\",\r\n + \ \"51.105.166.102/31\",\r\n \"51.105.166.106/32\",\r\n \"51.105.179.157/32\",\r\n + \ \"51.137.136.13/32\",\r\n \"51.137.136.14/32\",\r\n \"51.137.136.34/32\",\r\n + \ \"51.137.137.69/32\",\r\n \"51.137.137.118/32\",\r\n \"51.137.137.121/32\",\r\n + \ \"51.137.137.200/32\",\r\n \"51.137.137.237/32\",\r\n \"51.140.1.10/32\",\r\n + \ \"51.140.8.108/32\",\r\n \"51.140.8.180/32\",\r\n \"51.140.35.95/32\",\r\n + \ \"51.140.52.106/32\",\r\n \"51.140.78.213/32\",\r\n \"51.140.105.124/32\",\r\n + \ \"51.140.125.227/32\",\r\n \"51.140.164.179/32\",\r\n \"51.140.191.146/32\",\r\n + \ \"51.140.212.128/27\",\r\n \"51.140.230.246/32\",\r\n \"51.140.231.138/32\",\r\n + \ \"51.141.2.189/32\",\r\n \"51.141.7.11/32\",\r\n \"51.143.58.207/32\",\r\n + \ \"51.143.111.58/32\",\r\n \"51.143.120.236/32\",\r\n \"51.143.120.242/32\",\r\n + \ \"51.143.122.59/32\",\r\n \"51.143.122.60/32\",\r\n \"51.144.56.60/32\",\r\n + \ \"51.145.108.227/32\",\r\n \"51.145.108.250/32\",\r\n \"51.145.181.195/32\",\r\n + \ \"51.145.181.214/32\",\r\n \"52.137.56.200/32\",\r\n \"52.137.89.147/32\",\r\n + \ \"52.138.227.160/28\",\r\n \"52.139.1.70/32\",\r\n \"52.139.1.156/32\",\r\n + \ \"52.139.1.158/31\",\r\n \"52.139.1.200/32\",\r\n \"52.139.1.218/32\",\r\n + \ \"52.139.2.0/32\",\r\n \"52.139.16.105/32\",\r\n \"52.139.18.234/32\",\r\n + \ \"52.139.18.236/32\",\r\n \"52.139.19.71/32\",\r\n \"52.139.19.187/32\",\r\n + \ \"52.139.19.215/32\",\r\n \"52.139.19.247/32\",\r\n \"52.139.20.31/32\",\r\n + \ \"52.139.20.118/32\",\r\n \"52.139.21.70/32\",\r\n \"52.139.245.1/32\",\r\n + \ \"52.139.245.21/32\",\r\n \"52.139.245.40/32\",\r\n \"52.139.245.48/32\",\r\n + \ \"52.139.251.219/32\",\r\n \"52.139.252.105/32\",\r\n \"52.142.112.145/32\",\r\n + \ \"52.142.112.146/32\",\r\n \"52.142.116.135/32\",\r\n \"52.142.116.174/32\",\r\n + \ \"52.142.116.250/32\",\r\n \"52.142.117.183/32\",\r\n \"52.142.118.130/32\",\r\n + \ \"52.142.121.6/32\",\r\n \"52.142.121.75/32\",\r\n \"52.142.124.23/32\",\r\n + \ \"52.142.127.127/32\",\r\n \"52.142.220.179/32\",\r\n \"52.142.232.120/32\",\r\n + \ \"52.143.73.88/32\",\r\n \"52.143.74.31/32\",\r\n \"52.148.115.188/32\",\r\n + \ \"52.148.115.194/32\",\r\n \"52.148.115.238/32\",\r\n \"52.148.116.37/32\",\r\n + \ \"52.148.161.45/32\",\r\n \"52.148.161.53/32\",\r\n \"52.151.237.243/32\",\r\n + \ \"52.151.238.5/32\",\r\n \"52.151.244.65/32\",\r\n \"52.151.247.27/32\",\r\n + \ \"52.153.240.107/32\",\r\n \"52.155.161.88/32\",\r\n \"52.155.161.91/32\",\r\n + \ \"52.155.164.131/32\",\r\n \"52.155.166.50/32\",\r\n \"52.155.167.231/32\",\r\n + \ \"52.155.168.45/32\",\r\n \"52.155.177.13/32\",\r\n \"52.155.178.247/32\",\r\n + \ \"52.155.179.84/32\",\r\n \"52.155.180.208/30\",\r\n \"52.155.181.180/30\",\r\n + \ \"52.155.182.48/31\",\r\n \"52.155.182.50/32\",\r\n \"52.155.182.138/32\",\r\n + \ \"52.155.182.141/32\",\r\n \"52.156.197.208/32\",\r\n \"52.156.197.254/32\",\r\n + \ \"52.156.198.196/32\",\r\n \"52.156.202.7/32\",\r\n \"52.156.203.22/32\",\r\n + \ \"52.156.203.198/31\",\r\n \"52.156.204.24/32\",\r\n \"52.156.204.51/32\",\r\n + \ \"52.156.204.99/32\",\r\n \"52.156.204.139/32\",\r\n \"52.156.205.137/32\",\r\n + \ \"52.156.205.182/32\",\r\n \"52.156.205.222/32\",\r\n \"52.156.205.226/32\",\r\n + \ \"52.156.206.43/32\",\r\n \"52.156.206.45/32\",\r\n \"52.156.206.46/31\",\r\n + \ \"52.157.19.228/32\",\r\n \"52.157.20.142/32\",\r\n \"52.157.218.219/32\",\r\n + \ \"52.157.218.232/32\",\r\n \"52.157.232.110/32\",\r\n \"52.157.232.147/32\",\r\n + \ \"52.157.233.49/32\",\r\n \"52.157.233.92/32\",\r\n \"52.157.233.133/32\",\r\n + \ \"52.157.233.205/32\",\r\n \"52.157.234.160/32\",\r\n \"52.157.234.222/32\",\r\n + \ \"52.157.235.27/32\",\r\n \"52.157.235.144/32\",\r\n \"52.157.236.195/32\",\r\n + \ \"52.157.237.107/32\",\r\n \"52.157.237.213/32\",\r\n \"52.157.237.255/32\",\r\n + \ \"52.157.238.58/32\",\r\n \"52.157.239.110/32\",\r\n \"52.157.239.132/32\",\r\n + \ \"52.158.28.235/32\",\r\n \"52.167.107.96/28\",\r\n \"52.169.192.237/32\",\r\n + \ \"52.174.56.180/32\",\r\n \"52.177.85.43/32\",\r\n \"52.178.44.248/32\",\r\n + \ \"52.178.89.44/32\",\r\n \"52.179.155.177/32\",\r\n \"52.179.194.73/32\",\r\n + \ \"52.179.198.41/32\",\r\n \"52.182.139.208/28\",\r\n \"52.183.24.254/32\",\r\n + \ \"52.183.30.204/32\",\r\n \"52.183.75.62/32\",\r\n \"52.184.165.82/32\",\r\n + \ \"52.188.217.236/32\",\r\n \"52.189.208.36/32\",\r\n \"52.189.213.36/32\",\r\n + \ \"52.189.213.124/32\",\r\n \"52.189.218.253/32\",\r\n \"52.190.26.220/32\",\r\n + \ \"52.190.31.62/32\",\r\n \"52.191.129.65/32\",\r\n \"52.191.237.188/32\",\r\n + \ \"52.191.238.65/32\",\r\n \"52.224.188.157/32\",\r\n \"52.224.188.168/32\",\r\n + \ \"52.224.190.225/32\",\r\n \"52.224.191.62/32\",\r\n \"52.224.201.216/32\",\r\n + \ \"52.224.201.223/32\",\r\n \"52.224.202.86/32\",\r\n \"52.224.202.91/32\",\r\n + \ \"52.225.225.218/32\",\r\n \"52.225.231.232/32\",\r\n \"52.232.224.227/32\",\r\n + \ \"52.232.225.84/32\",\r\n \"52.232.228.217/32\",\r\n \"52.232.245.96/32\",\r\n + \ \"52.236.187.80/28\",\r\n \"52.249.25.160/32\",\r\n \"52.249.25.165/32\",\r\n + \ \"65.52.138.123/32\",\r\n \"65.52.229.200/32\",\r\n \"104.40.28.202/32\",\r\n + \ \"104.40.129.120/32\",\r\n \"104.42.15.41/32\",\r\n \"104.42.34.58/32\",\r\n + \ \"104.42.38.254/32\",\r\n \"104.42.54.24/32\",\r\n \"104.42.75.120/32\",\r\n + \ \"104.42.211.215/32\",\r\n \"104.45.7.95/32\",\r\n \"104.45.65.169/32\",\r\n + \ \"104.45.168.103/32\",\r\n \"104.45.168.104/32\",\r\n \"104.45.168.106/32\",\r\n + \ \"104.45.168.108/32\",\r\n \"104.45.168.111/32\",\r\n \"104.45.168.114/32\",\r\n + \ \"104.45.170.70/32\",\r\n \"104.45.170.127/32\",\r\n \"104.45.170.161/32\",\r\n + \ \"104.45.170.173/32\",\r\n \"104.45.170.174/31\",\r\n \"104.45.170.176/32\",\r\n + \ \"104.45.170.178/32\",\r\n \"104.45.170.180/32\",\r\n \"104.45.170.182/31\",\r\n + \ \"104.45.170.184/31\",\r\n \"104.45.170.186/32\",\r\n \"104.45.170.188/32\",\r\n + \ \"104.45.170.191/32\",\r\n \"104.45.170.194/32\",\r\n \"104.45.170.196/32\",\r\n + \ \"104.46.116.211/32\",\r\n \"104.46.121.72/32\",\r\n \"104.46.122.189/32\",\r\n + \ \"104.208.216.221/32\",\r\n \"104.209.35.177/32\",\r\n + \ \"104.209.168.251/32\",\r\n \"104.210.0.32/32\",\r\n \"104.211.9.226/32\",\r\n + \ \"104.214.225.33/32\",\r\n \"137.116.52.31/32\",\r\n \"138.91.147.71/32\",\r\n + \ \"168.63.38.153/32\"\r\n ]\r\n }\r\n },\r\n {\r\n + \ \"name\": \"MicrosoftCloudAppSecurity.CanadaEast\",\r\n \"id\": + \"MicrosoftCloudAppSecurity.CanadaEast\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"canadaeast\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\"\r\n ],\r\n \"systemService\": \"MicrosoftCloudAppSecurity\",\r\n + \ \"addressPrefixes\": [\r\n \"40.69.108.96/27\"\r\n ]\r\n + \ }\r\n },\r\n {\r\n \"name\": \"MicrosoftCloudAppSecurity.EastAsia\",\r\n + \ \"id\": \"MicrosoftCloudAppSecurity.EastAsia\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"eastasia\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\"\r\n ],\r\n \"systemService\": \"MicrosoftCloudAppSecurity\",\r\n + \ \"addressPrefixes\": [\r\n \"13.75.39.128/27\"\r\n ]\r\n + \ }\r\n },\r\n {\r\n \"name\": \"MicrosoftCloudAppSecurity.FranceCentral\",\r\n + \ \"id\": \"MicrosoftCloudAppSecurity.FranceCentral\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"centralfrance\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\"\r\n ],\r\n \"systemService\": \"MicrosoftCloudAppSecurity\",\r\n + \ \"addressPrefixes\": [\r\n \"20.40.132.195/32\",\r\n \"20.40.134.79/32\",\r\n + \ \"20.40.134.94/32\",\r\n \"40.66.56.158/32\",\r\n \"40.66.57.164/32\",\r\n + \ \"40.66.57.203/32\",\r\n \"40.66.59.41/32\",\r\n \"40.66.59.193/32\",\r\n + \ \"40.66.59.195/32\",\r\n \"40.66.59.196/32\",\r\n \"40.66.59.246/32\",\r\n + \ \"40.66.60.101/32\",\r\n \"40.66.60.118/32\",\r\n \"40.66.60.180/32\",\r\n + \ \"40.66.60.185/32\",\r\n \"40.66.60.200/32\",\r\n \"40.66.60.206/31\",\r\n + \ \"40.66.60.208/31\",\r\n \"40.66.60.210/32\",\r\n \"40.66.60.215/32\",\r\n + \ \"40.66.60.216/31\",\r\n \"40.66.60.219/32\",\r\n \"40.66.60.220/31\",\r\n + \ \"40.66.60.222/32\",\r\n \"40.66.60.224/31\",\r\n \"40.66.60.226/32\",\r\n + \ \"40.66.60.232/32\",\r\n \"40.66.61.61/32\",\r\n \"40.66.61.158/32\",\r\n + \ \"40.66.61.193/32\",\r\n \"40.66.61.226/32\",\r\n \"40.66.62.7/32\",\r\n + \ \"40.66.62.9/32\",\r\n \"40.66.62.78/32\",\r\n \"40.66.62.130/32\",\r\n + \ \"40.66.62.154/32\",\r\n \"40.66.62.225/32\",\r\n \"40.66.63.148/32\",\r\n + \ \"40.66.63.255/32\",\r\n \"40.79.132.96/28\",\r\n \"40.79.139.16/28\",\r\n + \ \"40.79.146.224/28\",\r\n \"40.89.136.227/32\",\r\n \"40.89.137.101/32\",\r\n + \ \"40.89.142.184/32\",\r\n \"40.89.143.43/32\"\r\n ]\r\n + \ }\r\n },\r\n {\r\n \"name\": \"MicrosoftCloudAppSecurity.NorthEurope\",\r\n + \ \"id\": \"MicrosoftCloudAppSecurity.NorthEurope\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"northeurope\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\"\r\n ],\r\n \"systemService\": \"MicrosoftCloudAppSecurity\",\r\n + \ \"addressPrefixes\": [\r\n \"13.69.190.115/32\",\r\n \"13.69.230.48/28\",\r\n + \ \"13.74.108.176/28\",\r\n \"13.74.168.152/32\",\r\n \"40.67.251.0/32\",\r\n + \ \"40.67.254.233/32\",\r\n \"52.138.227.160/28\",\r\n \"52.142.112.145/32\",\r\n + \ \"52.142.112.146/32\",\r\n \"52.142.116.135/32\",\r\n \"52.142.116.174/32\",\r\n + \ \"52.142.116.250/32\",\r\n \"52.142.117.183/32\",\r\n \"52.142.118.130/32\",\r\n + \ \"52.142.121.6/32\",\r\n \"52.142.121.75/32\",\r\n \"52.142.124.23/32\",\r\n + \ \"52.142.127.127/32\",\r\n \"52.155.161.88/32\",\r\n \"52.155.161.91/32\",\r\n + \ \"52.155.164.131/32\",\r\n \"52.155.166.50/32\",\r\n \"52.155.167.231/32\",\r\n + \ \"52.155.168.45/32\",\r\n \"52.155.177.13/32\",\r\n \"52.155.178.247/32\",\r\n + \ \"52.155.179.84/32\",\r\n \"52.155.180.208/30\",\r\n \"52.155.181.180/30\",\r\n + \ \"52.155.182.48/31\",\r\n \"52.155.182.50/32\",\r\n \"52.155.182.138/32\",\r\n + \ \"52.155.182.141/32\",\r\n \"52.156.197.208/32\",\r\n \"52.156.197.254/32\",\r\n + \ \"52.156.198.196/32\",\r\n \"52.156.202.7/32\",\r\n \"52.156.203.22/32\",\r\n + \ \"52.156.203.198/31\",\r\n \"52.156.204.24/32\",\r\n \"52.156.204.51/32\",\r\n + \ \"52.156.204.99/32\",\r\n \"52.156.204.139/32\",\r\n \"52.156.205.137/32\",\r\n + \ \"52.156.205.182/32\",\r\n \"52.156.205.222/32\",\r\n \"52.156.205.226/32\",\r\n + \ \"52.156.206.43/32\",\r\n \"52.156.206.45/32\",\r\n \"52.156.206.46/31\",\r\n + \ \"52.158.28.235/32\",\r\n \"52.169.192.237/32\",\r\n \"65.52.229.200/32\",\r\n + \ \"168.63.38.153/32\"\r\n ]\r\n }\r\n },\r\n {\r\n + \ \"name\": \"MicrosoftCloudAppSecurity.SouthCentralUS\",\r\n \"id\": + \"MicrosoftCloudAppSecurity.SouthCentralUS\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"southcentralus\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\"\r\n ],\r\n \"systemService\": + \"MicrosoftCloudAppSecurity\",\r\n \"addressPrefixes\": [\r\n \"13.73.242.224/27\",\r\n + \ \"20.45.3.127/32\",\r\n \"20.188.72.248/32\",\r\n \"40.80.219.49/32\",\r\n + \ \"40.80.220.215/32\",\r\n \"40.80.220.246/32\",\r\n \"40.80.221.77/32\",\r\n + \ \"40.80.222.91/32\",\r\n \"40.80.222.197/32\",\r\n \"40.124.53.69/32\",\r\n + \ \"52.153.240.107/32\",\r\n \"52.249.25.160/32\",\r\n \"52.249.25.165/32\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"MicrosoftCloudAppSecurity.UKWest\",\r\n + \ \"id\": \"MicrosoftCloudAppSecurity.UKWest\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"ukwest\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\"\r\n ],\r\n \"systemService\": \"MicrosoftCloudAppSecurity\",\r\n + \ \"addressPrefixes\": [\r\n \"20.40.106.50/31\",\r\n \"20.40.107.84/32\",\r\n + \ \"40.81.120.13/32\",\r\n \"40.81.120.24/31\",\r\n \"40.81.120.97/32\",\r\n + \ \"40.81.120.187/32\",\r\n \"40.81.120.191/32\",\r\n \"40.81.120.192/32\",\r\n + \ \"40.81.121.66/32\",\r\n \"40.81.121.76/32\",\r\n \"40.81.121.78/32\",\r\n + \ \"40.81.121.107/32\",\r\n \"40.81.121.108/32\",\r\n \"40.81.121.111/32\",\r\n + \ \"40.81.121.127/32\",\r\n \"40.81.121.135/32\",\r\n \"40.81.121.140/32\",\r\n + \ \"40.81.121.175/32\",\r\n \"40.81.122.4/32\",\r\n \"40.81.122.62/31\",\r\n + \ \"40.81.122.76/32\",\r\n \"40.81.122.203/32\",\r\n \"40.81.123.124/32\",\r\n + \ \"40.81.123.157/32\",\r\n \"40.81.124.185/32\",\r\n \"40.81.124.219/32\",\r\n + \ \"40.81.127.25/32\",\r\n \"40.81.127.139/32\",\r\n \"40.81.127.140/31\",\r\n + \ \"40.81.127.229/32\",\r\n \"40.81.127.230/32\",\r\n \"40.81.127.239/32\",\r\n + \ \"51.137.136.13/32\",\r\n \"51.137.136.14/32\",\r\n \"51.137.136.34/32\",\r\n + \ \"51.137.137.69/32\",\r\n \"51.137.137.118/32\",\r\n \"51.137.137.121/32\",\r\n + \ \"51.137.137.200/32\",\r\n \"51.137.137.237/32\",\r\n \"51.140.212.128/27\",\r\n + \ \"51.140.230.246/32\",\r\n \"51.140.231.138/32\",\r\n \"51.141.2.189/32\",\r\n + \ \"51.141.7.11/32\"\r\n ]\r\n }\r\n },\r\n {\r\n + \ \"name\": \"MicrosoftCloudAppSecurity.WestEurope\",\r\n \"id\": + \"MicrosoftCloudAppSecurity.WestEurope\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"westeurope\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\"\r\n ],\r\n \"systemService\": \"MicrosoftCloudAppSecurity\",\r\n + \ \"addressPrefixes\": [\r\n \"13.69.67.96/28\",\r\n \"13.69.107.96/28\",\r\n + \ \"13.80.7.94/32\",\r\n \"13.80.22.71/32\",\r\n \"13.80.125.22/32\",\r\n + \ \"13.81.123.49/32\",\r\n \"13.81.204.189/32\",\r\n \"13.81.212.71/32\",\r\n + \ \"13.93.32.114/32\",\r\n \"13.93.113.192/32\",\r\n \"13.95.1.33/32\",\r\n + \ \"13.95.29.177/32\",\r\n \"13.95.30.46/32\",\r\n \"40.67.216.253/32\",\r\n + \ \"40.67.219.133/32\",\r\n \"40.68.245.184/32\",\r\n \"40.74.1.235/32\",\r\n + \ \"40.74.6.204/32\",\r\n \"40.91.198.19/32\",\r\n \"40.113.121.176/32\",\r\n + \ \"40.114.217.8/32\",\r\n \"40.115.24.65/32\",\r\n \"40.115.25.50/32\",\r\n + \ \"40.118.63.137/32\",\r\n \"40.118.97.232/32\",\r\n \"40.119.145.130/32\",\r\n + \ \"40.119.147.102/32\",\r\n \"40.119.154.72/32\",\r\n \"51.105.124.64/32\",\r\n + \ \"51.105.124.80/32\",\r\n \"51.105.161.5/32\",\r\n \"51.105.163.8/32\",\r\n + \ \"51.105.163.43/32\",\r\n \"51.105.164.8/32\",\r\n \"51.105.164.234/32\",\r\n + \ \"51.105.164.241/32\",\r\n \"51.105.165.31/32\",\r\n \"51.105.165.37/32\",\r\n + \ \"51.105.165.63/32\",\r\n \"51.105.165.116/32\",\r\n \"51.105.166.102/31\",\r\n + \ \"51.105.166.106/32\",\r\n \"51.105.179.157/32\",\r\n \"51.144.56.60/32\",\r\n + \ \"51.145.181.195/32\",\r\n \"51.145.181.214/32\",\r\n \"52.137.56.200/32\",\r\n + \ \"52.142.220.179/32\",\r\n \"52.142.232.120/32\",\r\n \"52.157.218.219/32\",\r\n + \ \"52.157.218.232/32\",\r\n \"52.157.232.110/32\",\r\n \"52.157.232.147/32\",\r\n + \ \"52.157.233.49/32\",\r\n \"52.157.233.92/32\",\r\n \"52.157.233.133/32\",\r\n + \ \"52.157.233.205/32\",\r\n \"52.157.234.160/32\",\r\n \"52.157.234.222/32\",\r\n + \ \"52.157.235.27/32\",\r\n \"52.157.235.144/32\",\r\n \"52.157.236.195/32\",\r\n + \ \"52.157.237.107/32\",\r\n \"52.157.237.213/32\",\r\n \"52.157.237.255/32\",\r\n + \ \"52.157.238.58/32\",\r\n \"52.157.239.110/32\",\r\n \"52.157.239.132/32\",\r\n + \ \"52.174.56.180/32\",\r\n \"52.178.44.248/32\",\r\n \"52.178.89.44/32\",\r\n + \ \"52.236.187.80/28\",\r\n \"65.52.138.123/32\",\r\n \"104.40.129.120/32\",\r\n + \ \"104.45.7.95/32\",\r\n \"104.45.65.169/32\",\r\n \"104.214.225.33/32\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"MicrosoftContainerRegistry\",\r\n + \ \"id\": \"MicrosoftContainerRegistry\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"MicrosoftContainerRegistry\",\r\n + \ \"addressPrefixes\": [\r\n \"13.66.140.64/29\",\r\n \"13.67.8.112/29\",\r\n + \ \"13.69.64.80/29\",\r\n \"13.69.106.72/29\",\r\n \"13.69.227.80/29\",\r\n + \ \"13.70.72.128/29\",\r\n \"13.71.170.48/29\",\r\n \"13.71.194.120/29\",\r\n + \ \"13.74.107.72/29\",\r\n \"13.75.34.152/29\",\r\n \"13.77.50.72/29\",\r\n + \ \"13.78.106.192/29\",\r\n \"13.87.56.88/29\",\r\n \"13.87.122.88/29\",\r\n + \ \"13.89.170.208/29\",\r\n \"20.37.74.64/29\",\r\n \"20.38.146.136/29\",\r\n + \ \"20.44.2.16/29\",\r\n \"20.44.26.136/29\",\r\n \"20.45.122.136/29\",\r\n + \ \"20.49.82.8/29\",\r\n \"20.49.90.8/29\",\r\n \"20.72.26.8/29\",\r\n + \ \"20.150.170.16/29\",\r\n \"20.150.178.136/29\",\r\n \"20.150.186.136/29\",\r\n + \ \"20.192.98.136/29\",\r\n \"20.192.234.16/29\",\r\n \"20.193.202.8/29\",\r\n + \ \"20.194.66.8/29\",\r\n \"23.98.82.104/29\",\r\n \"40.67.58.16/29\",\r\n + \ \"40.69.106.72/29\",\r\n \"40.70.146.80/29\",\r\n \"40.71.10.208/29\",\r\n + \ \"40.74.100.56/29\",\r\n \"40.74.146.40/29\",\r\n \"40.75.34.24/29\",\r\n + \ \"40.78.194.72/29\",\r\n \"40.78.202.64/29\",\r\n \"40.78.226.200/29\",\r\n + \ \"40.78.234.40/29\",\r\n \"40.78.242.152/29\",\r\n \"40.78.250.88/29\",\r\n + \ \"40.79.130.48/29\",\r\n \"40.79.138.24/29\",\r\n \"40.79.146.24/29\",\r\n + \ \"40.79.154.96/29\",\r\n \"40.79.162.24/29\",\r\n \"40.79.170.8/29\",\r\n + \ \"40.79.178.72/29\",\r\n \"40.79.186.0/29\",\r\n \"40.79.194.88/29\",\r\n + \ \"40.80.50.136/29\",\r\n \"40.112.242.152/29\",\r\n \"40.120.74.8/29\",\r\n + \ \"51.12.98.16/29\",\r\n \"51.12.202.16/29\",\r\n \"51.12.226.136/29\",\r\n + \ \"51.12.234.136/29\",\r\n \"51.105.66.136/29\",\r\n \"51.105.74.136/29\",\r\n + \ \"51.107.58.16/29\",\r\n \"51.107.154.16/29\",\r\n \"51.116.58.16/29\",\r\n + \ \"51.116.154.80/29\",\r\n \"51.116.242.136/29\",\r\n \"51.116.250.136/29\",\r\n + \ \"51.120.98.24/29\",\r\n \"51.120.106.136/29\",\r\n \"51.120.210.136/29\",\r\n + \ \"51.120.218.16/29\",\r\n \"51.140.146.192/29\",\r\n \"51.140.210.88/29\",\r\n + \ \"52.138.90.24/29\",\r\n \"52.138.226.72/29\",\r\n \"52.162.106.152/29\",\r\n + \ \"52.167.106.72/29\",\r\n \"52.182.138.200/29\",\r\n \"52.231.18.48/29\",\r\n + \ \"52.231.146.88/29\",\r\n \"52.236.186.72/29\",\r\n \"52.246.154.136/29\",\r\n + \ \"65.52.250.8/29\",\r\n \"102.133.26.16/29\",\r\n \"102.133.122.136/29\",\r\n + \ \"102.133.154.16/29\",\r\n \"102.133.250.136/29\",\r\n + \ \"104.208.16.72/29\",\r\n \"104.208.144.72/29\",\r\n \"104.211.81.128/29\",\r\n + \ \"104.211.146.72/29\",\r\n \"104.214.18.176/29\",\r\n \"191.233.50.8/29\",\r\n + \ \"191.233.203.128/29\",\r\n \"191.234.146.136/29\",\r\n + \ \"191.234.154.136/29\",\r\n \"2603:1000:4:402::88/125\",\r\n + \ \"2603:1000:104:402::88/125\",\r\n \"2603:1000:104:802::88/125\",\r\n + \ \"2603:1000:104:c02::88/125\",\r\n \"2603:1010:6:402::88/125\",\r\n + \ \"2603:1010:6:802::88/125\",\r\n \"2603:1010:6:c02::88/125\",\r\n + \ \"2603:1010:101:402::88/125\",\r\n \"2603:1010:304:402::88/125\",\r\n + \ \"2603:1010:404:402::88/125\",\r\n \"2603:1020:5:402::88/125\",\r\n + \ \"2603:1020:5:802::88/125\",\r\n \"2603:1020:5:c02::88/125\",\r\n + \ \"2603:1020:206:402::88/125\",\r\n \"2603:1020:206:802::88/125\",\r\n + \ \"2603:1020:206:c02::88/125\",\r\n \"2603:1020:305:402::88/125\",\r\n + \ \"2603:1020:405:402::88/125\",\r\n \"2603:1020:605:402::88/125\",\r\n + \ \"2603:1020:705:402::88/125\",\r\n \"2603:1020:705:802::88/125\",\r\n + \ \"2603:1020:705:c02::88/125\",\r\n \"2603:1020:805:402::88/125\",\r\n + \ \"2603:1020:805:802::88/125\",\r\n \"2603:1020:805:c02::88/125\",\r\n + \ \"2603:1020:905:402::88/125\",\r\n \"2603:1020:a04:402::88/125\",\r\n + \ \"2603:1020:a04:802::88/125\",\r\n \"2603:1020:a04:c02::88/125\",\r\n + \ \"2603:1020:b04:402::88/125\",\r\n \"2603:1020:c04:402::88/125\",\r\n + \ \"2603:1020:c04:802::88/125\",\r\n \"2603:1020:c04:c02::88/125\",\r\n + \ \"2603:1020:d04:402::88/125\",\r\n \"2603:1020:e04:402::88/125\",\r\n + \ \"2603:1020:e04:802::88/125\",\r\n \"2603:1020:e04:c02::88/125\",\r\n + \ \"2603:1020:f04:402::88/125\",\r\n \"2603:1020:1004:400::88/125\",\r\n + \ \"2603:1020:1004:400::3b0/125\",\r\n \"2603:1020:1004:800::148/125\",\r\n + \ \"2603:1020:1104:400::88/125\",\r\n \"2603:1030:f:400::888/125\",\r\n + \ \"2603:1030:10:402::88/125\",\r\n \"2603:1030:10:802::88/125\",\r\n + \ \"2603:1030:10:c02::88/125\",\r\n \"2603:1030:104:402::88/125\",\r\n + \ \"2603:1030:107:400::8/125\",\r\n \"2603:1030:210:402::88/125\",\r\n + \ \"2603:1030:210:802::88/125\",\r\n \"2603:1030:210:c02::88/125\",\r\n + \ \"2603:1030:40b:400::888/125\",\r\n \"2603:1030:40b:800::88/125\",\r\n + \ \"2603:1030:40b:c00::88/125\",\r\n \"2603:1030:40c:402::88/125\",\r\n + \ \"2603:1030:40c:802::88/125\",\r\n \"2603:1030:40c:c02::88/125\",\r\n + \ \"2603:1030:504:402::88/125\",\r\n \"2603:1030:504:402::3b0/125\",\r\n + \ \"2603:1030:504:802::148/125\",\r\n \"2603:1030:504:802::3e8/125\",\r\n + \ \"2603:1030:608:402::88/125\",\r\n \"2603:1030:807:402::88/125\",\r\n + \ \"2603:1030:807:802::88/125\",\r\n \"2603:1030:807:c02::88/125\",\r\n + \ \"2603:1030:a07:402::88/125\",\r\n \"2603:1030:b04:402::88/125\",\r\n + \ \"2603:1030:c06:400::888/125\",\r\n \"2603:1030:c06:802::88/125\",\r\n + \ \"2603:1030:c06:c02::88/125\",\r\n \"2603:1030:f05:402::88/125\",\r\n + \ \"2603:1030:f05:802::88/125\",\r\n \"2603:1030:f05:c02::88/125\",\r\n + \ \"2603:1030:1005:402::88/125\",\r\n \"2603:1040:5:402::88/125\",\r\n + \ \"2603:1040:5:802::88/125\",\r\n \"2603:1040:5:c02::88/125\",\r\n + \ \"2603:1040:207:402::88/125\",\r\n \"2603:1040:407:402::88/125\",\r\n + \ \"2603:1040:407:802::88/125\",\r\n \"2603:1040:407:c02::88/125\",\r\n + \ \"2603:1040:606:402::88/125\",\r\n \"2603:1040:806:402::88/125\",\r\n + \ \"2603:1040:904:402::88/125\",\r\n \"2603:1040:904:802::88/125\",\r\n + \ \"2603:1040:904:c02::88/125\",\r\n \"2603:1040:a06:402::88/125\",\r\n + \ \"2603:1040:a06:802::88/125\",\r\n \"2603:1040:a06:c02::88/125\",\r\n + \ \"2603:1040:b04:402::88/125\",\r\n \"2603:1040:c06:402::88/125\",\r\n + \ \"2603:1040:d04:400::88/125\",\r\n \"2603:1040:d04:400::3b0/125\",\r\n + \ \"2603:1040:d04:800::148/125\",\r\n \"2603:1040:f05:402::88/125\",\r\n + \ \"2603:1040:f05:802::88/125\",\r\n \"2603:1040:f05:c02::88/125\",\r\n + \ \"2603:1040:1104:400::88/125\",\r\n \"2603:1050:6:402::88/125\",\r\n + \ \"2603:1050:6:802::88/125\",\r\n \"2603:1050:6:c02::88/125\",\r\n + \ \"2603:1050:403:400::90/125\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"MicrosoftContainerRegistry.AustraliaEast\",\r\n + \ \"id\": \"MicrosoftContainerRegistry.AustraliaEast\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"australiaeast\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"MicrosoftContainerRegistry\",\r\n + \ \"addressPrefixes\": [\r\n \"13.70.72.128/29\",\r\n \"40.79.162.24/29\",\r\n + \ \"40.79.170.8/29\",\r\n \"2603:1010:6:402::88/125\",\r\n + \ \"2603:1010:6:802::88/125\",\r\n \"2603:1010:6:c02::88/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"MicrosoftContainerRegistry.AustraliaSoutheast\",\r\n + \ \"id\": \"MicrosoftContainerRegistry.AustraliaSoutheast\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"australiasoutheast\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"MicrosoftContainerRegistry\",\r\n \"addressPrefixes\": [\r\n \"13.77.50.72/29\",\r\n + \ \"2603:1010:101:402::88/125\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"MicrosoftContainerRegistry.BrazilSouth\",\r\n \"id\": + \"MicrosoftContainerRegistry.BrazilSouth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"brazilsouth\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"MicrosoftContainerRegistry\",\r\n + \ \"addressPrefixes\": [\r\n \"191.233.203.128/29\",\r\n \"191.234.146.136/29\",\r\n + \ \"191.234.154.136/29\",\r\n \"2603:1050:6:402::88/125\",\r\n + \ \"2603:1050:6:802::88/125\",\r\n \"2603:1050:6:c02::88/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"MicrosoftContainerRegistry.CanadaCentral\",\r\n + \ \"id\": \"MicrosoftContainerRegistry.CanadaCentral\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"canadacentral\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"MicrosoftContainerRegistry\",\r\n + \ \"addressPrefixes\": [\r\n \"13.71.170.48/29\",\r\n \"20.38.146.136/29\",\r\n + \ \"52.246.154.136/29\",\r\n \"2603:1030:f05:402::88/125\",\r\n + \ \"2603:1030:f05:802::88/125\",\r\n \"2603:1030:f05:c02::88/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"MicrosoftContainerRegistry.CanadaEast\",\r\n + \ \"id\": \"MicrosoftContainerRegistry.CanadaEast\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"canadaeast\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"MicrosoftContainerRegistry\",\r\n + \ \"addressPrefixes\": [\r\n \"40.69.106.72/29\",\r\n \"2603:1030:1005:402::88/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"MicrosoftContainerRegistry.CentralIndia\",\r\n + \ \"id\": \"MicrosoftContainerRegistry.CentralIndia\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"centralindia\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"MicrosoftContainerRegistry\",\r\n \"addressPrefixes\": [\r\n \"20.192.98.136/29\",\r\n + \ \"40.80.50.136/29\",\r\n \"104.211.81.128/29\",\r\n \"2603:1040:a06:402::88/125\",\r\n + \ \"2603:1040:a06:802::88/125\",\r\n \"2603:1040:a06:c02::88/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"MicrosoftContainerRegistry.CentralUS\",\r\n + \ \"id\": \"MicrosoftContainerRegistry.CentralUS\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"centralus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"MicrosoftContainerRegistry\",\r\n + \ \"addressPrefixes\": [\r\n \"13.89.170.208/29\",\r\n \"52.182.138.200/29\",\r\n + \ \"104.208.16.72/29\",\r\n \"2603:1030:10:402::88/125\",\r\n + \ \"2603:1030:10:802::88/125\",\r\n \"2603:1030:10:c02::88/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"MicrosoftContainerRegistry.CentralUSEUAP\",\r\n + \ \"id\": \"MicrosoftContainerRegistry.CentralUSEUAP\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"centraluseuap\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"MicrosoftContainerRegistry\",\r\n + \ \"addressPrefixes\": [\r\n \"40.78.202.64/29\",\r\n \"2603:1030:f:400::888/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"MicrosoftContainerRegistry.EastAsia\",\r\n + \ \"id\": \"MicrosoftContainerRegistry.EastAsia\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"eastasia\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"MicrosoftContainerRegistry\",\r\n + \ \"addressPrefixes\": [\r\n \"13.75.34.152/29\",\r\n \"2603:1040:207:402::88/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"MicrosoftContainerRegistry.EastUS\",\r\n + \ \"id\": \"MicrosoftContainerRegistry.EastUS\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"eastus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"MicrosoftContainerRegistry\",\r\n + \ \"addressPrefixes\": [\r\n \"40.71.10.208/29\",\r\n \"40.78.226.200/29\",\r\n + \ \"40.79.154.96/29\",\r\n \"2603:1030:210:402::88/125\",\r\n + \ \"2603:1030:210:802::88/125\",\r\n \"2603:1030:210:c02::88/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"MicrosoftContainerRegistry.EastUS2\",\r\n + \ \"id\": \"MicrosoftContainerRegistry.EastUS2\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"eastus2\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"MicrosoftContainerRegistry\",\r\n + \ \"addressPrefixes\": [\r\n \"40.70.146.80/29\",\r\n \"52.167.106.72/29\",\r\n + \ \"104.208.144.72/29\",\r\n \"2603:1030:40c:402::88/125\",\r\n + \ \"2603:1030:40c:802::88/125\",\r\n \"2603:1030:40c:c02::88/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"MicrosoftContainerRegistry.EastUS2EUAP\",\r\n + \ \"id\": \"MicrosoftContainerRegistry.EastUS2EUAP\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"eastus2euap\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"MicrosoftContainerRegistry\",\r\n + \ \"addressPrefixes\": [\r\n \"40.74.146.40/29\",\r\n \"40.75.34.24/29\",\r\n + \ \"52.138.90.24/29\",\r\n \"2603:1030:40b:400::888/125\",\r\n + \ \"2603:1030:40b:800::88/125\",\r\n \"2603:1030:40b:c00::88/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"MicrosoftContainerRegistry.FranceCentral\",\r\n + \ \"id\": \"MicrosoftContainerRegistry.FranceCentral\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"centralfrance\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"MicrosoftContainerRegistry\",\r\n + \ \"addressPrefixes\": [\r\n \"40.79.130.48/29\",\r\n \"40.79.138.24/29\",\r\n + \ \"40.79.146.24/29\",\r\n \"2603:1020:805:402::88/125\",\r\n + \ \"2603:1020:805:802::88/125\",\r\n \"2603:1020:805:c02::88/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"MicrosoftContainerRegistry.FranceSouth\",\r\n + \ \"id\": \"MicrosoftContainerRegistry.FranceSouth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"southfrance\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"MicrosoftContainerRegistry\",\r\n + \ \"addressPrefixes\": [\r\n \"40.79.178.72/29\",\r\n \"2603:1020:905:402::88/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"MicrosoftContainerRegistry.GermanyNorth\",\r\n + \ \"id\": \"MicrosoftContainerRegistry.GermanyNorth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"germanyn\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"MicrosoftContainerRegistry\",\r\n + \ \"addressPrefixes\": [\r\n \"51.116.58.16/29\",\r\n \"2603:1020:d04:402::88/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"MicrosoftContainerRegistry.GermanyWestCentral\",\r\n + \ \"id\": \"MicrosoftContainerRegistry.GermanyWestCentral\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"germanywc\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"MicrosoftContainerRegistry\",\r\n + \ \"addressPrefixes\": [\r\n \"51.116.154.80/29\",\r\n \"51.116.242.136/29\",\r\n + \ \"51.116.250.136/29\",\r\n \"2603:1020:c04:402::88/125\",\r\n + \ \"2603:1020:c04:802::88/125\",\r\n \"2603:1020:c04:c02::88/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"MicrosoftContainerRegistry.JapanEast\",\r\n + \ \"id\": \"MicrosoftContainerRegistry.JapanEast\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"japaneast\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"MicrosoftContainerRegistry\",\r\n + \ \"addressPrefixes\": [\r\n \"13.78.106.192/29\",\r\n \"40.79.186.0/29\",\r\n + \ \"40.79.194.88/29\",\r\n \"2603:1040:407:402::88/125\",\r\n + \ \"2603:1040:407:802::88/125\",\r\n \"2603:1040:407:c02::88/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"MicrosoftContainerRegistry.JapanWest\",\r\n + \ \"id\": \"MicrosoftContainerRegistry.JapanWest\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"japanwest\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"MicrosoftContainerRegistry\",\r\n + \ \"addressPrefixes\": [\r\n \"40.74.100.56/29\",\r\n \"2603:1040:606:402::88/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"MicrosoftContainerRegistry.KoreaCentral\",\r\n + \ \"id\": \"MicrosoftContainerRegistry.KoreaCentral\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"koreacentral\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"MicrosoftContainerRegistry\",\r\n + \ \"addressPrefixes\": [\r\n \"20.44.26.136/29\",\r\n \"20.194.66.8/29\",\r\n + \ \"52.231.18.48/29\",\r\n \"2603:1040:f05:402::88/125\",\r\n + \ \"2603:1040:f05:802::88/125\",\r\n \"2603:1040:f05:c02::88/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"MicrosoftContainerRegistry.KoreaSouth\",\r\n + \ \"id\": \"MicrosoftContainerRegistry.KoreaSouth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"koreasouth\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"MicrosoftContainerRegistry\",\r\n + \ \"addressPrefixes\": [\r\n \"52.231.146.88/29\"\r\n ]\r\n + \ }\r\n },\r\n {\r\n \"name\": \"MicrosoftContainerRegistry.NorthCentralUS\",\r\n + \ \"id\": \"MicrosoftContainerRegistry.NorthCentralUS\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"northcentralus\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"MicrosoftContainerRegistry\",\r\n \"addressPrefixes\": [\r\n \"52.162.106.152/29\",\r\n + \ \"2603:1030:608:402::88/125\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"MicrosoftContainerRegistry.NorthEurope\",\r\n \"id\": + \"MicrosoftContainerRegistry.NorthEurope\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"northeurope\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"MicrosoftContainerRegistry\",\r\n + \ \"addressPrefixes\": [\r\n \"13.69.227.80/29\",\r\n \"13.74.107.72/29\",\r\n + \ \"52.138.226.72/29\",\r\n \"2603:1020:5:402::88/125\",\r\n + \ \"2603:1020:5:802::88/125\",\r\n \"2603:1020:5:c02::88/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"MicrosoftContainerRegistry.NorwayEast\",\r\n + \ \"id\": \"MicrosoftContainerRegistry.NorwayEast\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"norwaye\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"MicrosoftContainerRegistry\",\r\n + \ \"addressPrefixes\": [\r\n \"51.120.98.24/29\",\r\n \"51.120.106.136/29\",\r\n + \ \"51.120.210.136/29\",\r\n \"2603:1020:e04:402::88/125\",\r\n + \ \"2603:1020:e04:802::88/125\",\r\n \"2603:1020:e04:c02::88/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"MicrosoftContainerRegistry.NorwayWest\",\r\n + \ \"id\": \"MicrosoftContainerRegistry.NorwayWest\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"norwayw\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"MicrosoftContainerRegistry\",\r\n + \ \"addressPrefixes\": [\r\n \"51.120.218.16/29\",\r\n \"2603:1020:f04:402::88/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"MicrosoftContainerRegistry.SouthAfricaNorth\",\r\n + \ \"id\": \"MicrosoftContainerRegistry.SouthAfricaNorth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"southafricanorth\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"MicrosoftContainerRegistry\",\r\n \"addressPrefixes\": [\r\n \"102.133.122.136/29\",\r\n + \ \"102.133.154.16/29\",\r\n \"102.133.250.136/29\",\r\n + \ \"2603:1000:104:402::88/125\",\r\n \"2603:1000:104:802::88/125\",\r\n + \ \"2603:1000:104:c02::88/125\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"MicrosoftContainerRegistry.SouthAfricaWest\",\r\n + \ \"id\": \"MicrosoftContainerRegistry.SouthAfricaWest\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"southafricawest\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"MicrosoftContainerRegistry\",\r\n \"addressPrefixes\": [\r\n \"102.133.26.16/29\",\r\n + \ \"2603:1000:4:402::88/125\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"MicrosoftContainerRegistry.SouthCentralUS\",\r\n + \ \"id\": \"MicrosoftContainerRegistry.SouthCentralUS\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"southcentralus\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"MicrosoftContainerRegistry\",\r\n \"addressPrefixes\": [\r\n \"20.45.122.136/29\",\r\n + \ \"20.49.90.8/29\",\r\n \"104.214.18.176/29\",\r\n \"2603:1030:807:402::88/125\",\r\n + \ \"2603:1030:807:802::88/125\",\r\n \"2603:1030:807:c02::88/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"MicrosoftContainerRegistry.SoutheastAsia\",\r\n + \ \"id\": \"MicrosoftContainerRegistry.SoutheastAsia\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"southeastasia\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"MicrosoftContainerRegistry\",\r\n + \ \"addressPrefixes\": [\r\n \"13.67.8.112/29\",\r\n \"23.98.82.104/29\",\r\n + \ \"40.78.234.40/29\",\r\n \"2603:1040:5:402::88/125\",\r\n + \ \"2603:1040:5:802::88/125\",\r\n \"2603:1040:5:c02::88/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"MicrosoftContainerRegistry.SouthIndia\",\r\n + \ \"id\": \"MicrosoftContainerRegistry.SouthIndia\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"southindia\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"MicrosoftContainerRegistry\",\r\n + \ \"addressPrefixes\": [\r\n \"40.78.194.72/29\",\r\n \"2603:1040:c06:402::88/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"MicrosoftContainerRegistry.SwitzerlandNorth\",\r\n + \ \"id\": \"MicrosoftContainerRegistry.SwitzerlandNorth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"switzerlandn\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"MicrosoftContainerRegistry\",\r\n + \ \"addressPrefixes\": [\r\n \"51.107.58.16/29\",\r\n \"2603:1020:a04:402::88/125\",\r\n + \ \"2603:1020:a04:802::88/125\",\r\n \"2603:1020:a04:c02::88/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"MicrosoftContainerRegistry.SwitzerlandWest\",\r\n + \ \"id\": \"MicrosoftContainerRegistry.SwitzerlandWest\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"switzerlandw\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"MicrosoftContainerRegistry\",\r\n + \ \"addressPrefixes\": [\r\n \"51.107.154.16/29\",\r\n \"2603:1020:b04:402::88/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"MicrosoftContainerRegistry.UAECentral\",\r\n + \ \"id\": \"MicrosoftContainerRegistry.UAECentral\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"uaecentral\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"MicrosoftContainerRegistry\",\r\n + \ \"addressPrefixes\": [\r\n \"20.37.74.64/29\",\r\n \"2603:1040:b04:402::88/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"MicrosoftContainerRegistry.UAENorth\",\r\n + \ \"id\": \"MicrosoftContainerRegistry.UAENorth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"uaenorth\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"MicrosoftContainerRegistry\",\r\n + \ \"addressPrefixes\": [\r\n \"40.120.74.8/29\",\r\n \"65.52.250.8/29\",\r\n + \ \"2603:1040:904:402::88/125\",\r\n \"2603:1040:904:802::88/125\",\r\n + \ \"2603:1040:904:c02::88/125\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"MicrosoftContainerRegistry.UKSouth\",\r\n \"id\": + \"MicrosoftContainerRegistry.UKSouth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"uksouth\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"MicrosoftContainerRegistry\",\r\n + \ \"addressPrefixes\": [\r\n \"51.105.66.136/29\",\r\n \"51.105.74.136/29\",\r\n + \ \"51.140.146.192/29\",\r\n \"2603:1020:705:402::88/125\",\r\n + \ \"2603:1020:705:802::88/125\",\r\n \"2603:1020:705:c02::88/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"MicrosoftContainerRegistry.UKSouth2\",\r\n + \ \"id\": \"MicrosoftContainerRegistry.UKSouth2\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"uksouth2\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\"\r\n ],\r\n \"systemService\": \"MicrosoftContainerRegistry\",\r\n + \ \"addressPrefixes\": [\r\n \"13.87.56.88/29\",\r\n \"2603:1020:405:402::88/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"MicrosoftContainerRegistry.UKWest\",\r\n + \ \"id\": \"MicrosoftContainerRegistry.UKWest\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"ukwest\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"MicrosoftContainerRegistry\",\r\n + \ \"addressPrefixes\": [\r\n \"51.140.210.88/29\",\r\n \"2603:1020:605:402::88/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"MicrosoftContainerRegistry.WestCentralUS\",\r\n + \ \"id\": \"MicrosoftContainerRegistry.WestCentralUS\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"westcentralus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"MicrosoftContainerRegistry\",\r\n \"addressPrefixes\": [\r\n \"13.71.194.120/29\",\r\n + \ \"2603:1030:b04:402::88/125\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"MicrosoftContainerRegistry.WestEurope\",\r\n \"id\": + \"MicrosoftContainerRegistry.WestEurope\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"westeurope\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"MicrosoftContainerRegistry\",\r\n + \ \"addressPrefixes\": [\r\n \"13.69.64.80/29\",\r\n \"13.69.106.72/29\",\r\n + \ \"52.236.186.72/29\",\r\n \"2603:1020:206:402::88/125\",\r\n + \ \"2603:1020:206:802::88/125\",\r\n \"2603:1020:206:c02::88/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"MicrosoftContainerRegistry.WestIndia\",\r\n + \ \"id\": \"MicrosoftContainerRegistry.WestIndia\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"westindia\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"MicrosoftContainerRegistry\",\r\n + \ \"addressPrefixes\": [\r\n \"104.211.146.72/29\",\r\n \"2603:1040:806:402::88/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"MicrosoftContainerRegistry.WestUS\",\r\n + \ \"id\": \"MicrosoftContainerRegistry.WestUS\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"westus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"MicrosoftContainerRegistry\",\r\n + \ \"addressPrefixes\": [\r\n \"40.112.242.152/29\",\r\n \"2603:1030:a07:402::88/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"MicrosoftContainerRegistry.WestUS2\",\r\n + \ \"id\": \"MicrosoftContainerRegistry.WestUS2\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"westus2\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"MicrosoftContainerRegistry\",\r\n + \ \"addressPrefixes\": [\r\n \"13.66.140.64/29\",\r\n \"40.78.242.152/29\",\r\n + \ \"40.78.250.88/29\",\r\n \"2603:1030:c06:400::888/125\",\r\n + \ \"2603:1030:c06:802::88/125\",\r\n \"2603:1030:c06:c02::88/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"PowerBI\",\r\n + \ \"id\": \"PowerBI\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"3\",\r\n \"region\": + \"\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n + \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"PowerBI\",\r\n \"addressPrefixes\": + [\r\n \"13.73.248.4/31\",\r\n \"13.73.248.48/28\",\r\n \"13.73.248.64/27\",\r\n + \ \"20.36.120.122/31\",\r\n \"20.36.120.124/30\",\r\n \"20.36.120.208/29\",\r\n + \ \"20.37.64.122/31\",\r\n \"20.37.64.124/30\",\r\n \"20.37.64.208/29\",\r\n + \ \"20.37.156.200/30\",\r\n \"20.37.156.240/28\",\r\n \"20.37.157.0/29\",\r\n + \ \"20.37.157.16/28\",\r\n \"20.37.157.32/27\",\r\n \"20.37.195.24/31\",\r\n + \ \"20.37.195.48/29\",\r\n \"20.37.195.64/28\",\r\n \"20.37.195.128/26\",\r\n + \ \"20.37.224.122/31\",\r\n \"20.37.224.124/30\",\r\n \"20.37.224.208/29\",\r\n + \ \"20.38.84.104/31\",\r\n \"20.38.84.128/25\",\r\n \"20.38.85.0/25\",\r\n + \ \"20.38.86.0/24\",\r\n \"20.38.136.70/31\",\r\n \"20.38.136.208/30\",\r\n + \ \"20.38.136.216/29\",\r\n \"20.39.11.26/31\",\r\n \"20.39.11.28/30\",\r\n + \ \"20.39.11.48/28\",\r\n \"20.41.4.104/31\",\r\n \"20.41.4.108/30\",\r\n + \ \"20.41.4.208/28\",\r\n \"20.41.4.224/27\",\r\n \"20.41.5.0/25\",\r\n + \ \"20.41.65.146/31\",\r\n \"20.41.65.148/30\",\r\n \"20.41.65.152/29\",\r\n + \ \"20.41.192.122/31\",\r\n \"20.41.192.124/30\",\r\n \"20.41.193.144/29\",\r\n + \ \"20.42.0.70/31\",\r\n \"20.42.4.240/29\",\r\n \"20.42.6.0/27\",\r\n + \ \"20.42.6.64/26\",\r\n \"20.42.131.32/31\",\r\n \"20.42.131.40/29\",\r\n + \ \"20.42.131.48/29\",\r\n \"20.42.131.128/26\",\r\n \"20.42.224.122/31\",\r\n + \ \"20.42.227.16/28\",\r\n \"20.42.227.32/29\",\r\n \"20.42.227.64/26\",\r\n + \ \"20.43.41.176/31\",\r\n \"20.43.41.184/29\",\r\n \"20.43.41.192/26\",\r\n + \ \"20.43.65.152/31\",\r\n \"20.43.65.176/29\",\r\n \"20.43.65.192/28\",\r\n + \ \"20.43.65.224/27\",\r\n \"20.43.130.192/31\",\r\n \"20.43.130.196/30\",\r\n + \ \"20.43.130.200/29\",\r\n \"20.43.130.208/28\",\r\n \"20.43.130.224/28\",\r\n + \ \"20.43.131.0/27\",\r\n \"20.43.131.64/26\",\r\n \"20.45.192.122/31\",\r\n + \ \"20.45.192.124/31\",\r\n \"20.45.192.208/30\",\r\n \"20.45.192.216/29\",\r\n + \ \"20.45.192.224/28\",\r\n \"20.48.196.232/29\",\r\n \"20.50.0.0/24\",\r\n + \ \"20.51.21.160/30\",\r\n \"20.65.133.80/29\",\r\n \"20.65.134.192/27\",\r\n + \ \"20.72.16.22/31\",\r\n \"20.72.16.44/30\",\r\n \"20.72.20.32/29\",\r\n + \ \"20.150.160.110/31\",\r\n \"20.150.160.124/30\",\r\n \"20.150.161.144/29\",\r\n + \ \"20.189.104.70/31\",\r\n \"20.189.106.224/27\",\r\n \"20.189.108.0/27\",\r\n + \ \"20.192.160.22/31\",\r\n \"20.192.161.112/30\",\r\n \"20.192.161.120/29\",\r\n + \ \"20.192.225.34/31\",\r\n \"20.192.225.36/30\",\r\n \"20.192.225.192/29\",\r\n + \ \"40.74.24.70/31\",\r\n \"40.74.30.128/29\",\r\n \"40.74.30.160/27\",\r\n + \ \"40.74.30.192/26\",\r\n \"40.74.31.0/26\",\r\n \"40.80.56.122/31\",\r\n + \ \"40.80.57.144/29\",\r\n \"40.80.57.160/28\",\r\n \"40.80.168.122/31\",\r\n + \ \"40.80.168.124/30\",\r\n \"40.80.169.144/29\",\r\n \"40.80.184.70/31\",\r\n + \ \"40.80.188.48/28\",\r\n \"40.80.188.64/27\",\r\n \"40.80.188.128/25\",\r\n + \ \"40.80.189.0/24\",\r\n \"40.82.248.68/31\",\r\n \"40.82.253.96/28\",\r\n + \ \"40.82.253.128/26\",\r\n \"40.82.254.0/25\",\r\n \"40.89.16.122/31\",\r\n + \ \"40.89.17.144/28\",\r\n \"40.89.17.160/27\",\r\n \"40.119.8.76/30\",\r\n + \ \"40.119.11.64/26\",\r\n \"51.12.17.16/30\",\r\n \"51.12.17.24/29\",\r\n + \ \"51.12.25.8/29\",\r\n \"51.12.46.230/31\",\r\n \"51.12.47.28/30\",\r\n + \ \"51.12.198.210/31\",\r\n \"51.104.25.140/31\",\r\n \"51.104.25.152/30\",\r\n + \ \"51.104.25.176/28\",\r\n \"51.104.25.192/29\",\r\n \"51.104.27.0/26\",\r\n + \ \"51.105.88.122/31\",\r\n \"51.105.88.124/30\",\r\n \"51.105.88.208/28\",\r\n + \ \"51.107.48.124/31\",\r\n \"51.107.48.208/30\",\r\n \"51.107.48.216/29\",\r\n + \ \"51.107.144.122/31\",\r\n \"51.107.144.124/30\",\r\n \"51.107.144.208/29\",\r\n + \ \"51.116.48.68/31\",\r\n \"51.116.48.128/30\",\r\n \"51.116.48.136/29\",\r\n + \ \"51.116.144.68/31\",\r\n \"51.116.144.128/30\",\r\n \"51.116.144.136/29\",\r\n + \ \"51.116.149.232/29\",\r\n \"51.120.40.124/31\",\r\n \"51.120.40.208/30\",\r\n + \ \"51.120.40.216/29\",\r\n \"51.120.224.122/31\",\r\n \"51.120.224.124/30\",\r\n + \ \"51.120.224.208/29\",\r\n \"51.137.160.70/31\",\r\n \"51.137.161.160/27\",\r\n + \ \"51.137.161.192/27\",\r\n \"52.136.48.120/31\",\r\n \"52.136.48.124/30\",\r\n + \ \"52.136.48.208/29\",\r\n \"52.136.48.224/28\",\r\n \"52.140.105.144/28\",\r\n + \ \"52.140.105.160/28\",\r\n \"52.150.139.76/31\",\r\n \"52.150.139.96/30\",\r\n + \ \"52.150.139.112/28\",\r\n \"52.150.139.128/28\",\r\n \"52.150.139.160/27\",\r\n + \ \"52.228.81.160/31\",\r\n \"52.228.81.168/29\",\r\n \"52.228.81.176/28\",\r\n + \ \"52.228.81.192/27\",\r\n \"102.37.160.160/29\",\r\n \"102.133.56.98/31\",\r\n + \ \"102.133.56.100/30\",\r\n \"102.133.56.104/29\",\r\n \"102.133.216.104/31\",\r\n + \ \"102.133.216.108/30\",\r\n \"102.133.217.64/29\",\r\n + \ \"191.233.8.22/31\",\r\n \"191.233.10.32/30\",\r\n \"191.233.10.40/29\",\r\n + \ \"191.235.225.152/31\",\r\n \"191.235.225.156/30\",\r\n + \ \"191.235.225.176/28\",\r\n \"191.235.225.192/28\",\r\n + \ \"191.235.225.224/27\",\r\n \"191.238.72.128/28\",\r\n + \ \"2603:1000:4::620/123\",\r\n \"2603:1000:4::640/122\",\r\n + \ \"2603:1000:104::100/122\",\r\n \"2603:1000:104::140/123\",\r\n + \ \"2603:1000:104::320/123\",\r\n \"2603:1000:104::340/122\",\r\n + \ \"2603:1000:104:1::5e0/123\",\r\n \"2603:1000:104:1::600/122\",\r\n + \ \"2603:1010:6::/122\",\r\n \"2603:1010:6::40/123\",\r\n + \ \"2603:1010:6:1::5e0/123\",\r\n \"2603:1010:6:1::600/122\",\r\n + \ \"2603:1010:101::620/123\",\r\n \"2603:1010:101::640/122\",\r\n + \ \"2603:1010:304::620/123\",\r\n \"2603:1010:304::640/122\",\r\n + \ \"2603:1010:404::620/123\",\r\n \"2603:1010:404::640/122\",\r\n + \ \"2603:1020:5::/122\",\r\n \"2603:1020:5::40/123\",\r\n + \ \"2603:1020:5:1::5e0/123\",\r\n \"2603:1020:5:1::600/122\",\r\n + \ \"2603:1020:206::/122\",\r\n \"2603:1020:206::40/123\",\r\n + \ \"2603:1020:206:1::5e0/123\",\r\n \"2603:1020:206:1::600/122\",\r\n + \ \"2603:1020:305::620/123\",\r\n \"2603:1020:305::640/122\",\r\n + \ \"2603:1020:405::620/123\",\r\n \"2603:1020:405::640/122\",\r\n + \ \"2603:1020:605::620/123\",\r\n \"2603:1020:605::640/122\",\r\n + \ \"2603:1020:705::/122\",\r\n \"2603:1020:705::40/123\",\r\n + \ \"2603:1020:705:1::5e0/123\",\r\n \"2603:1020:705:1::600/122\",\r\n + \ \"2603:1020:805::/122\",\r\n \"2603:1020:805::40/123\",\r\n + \ \"2603:1020:805:1::5e0/123\",\r\n \"2603:1020:805:1::600/122\",\r\n + \ \"2603:1020:905::620/123\",\r\n \"2603:1020:905::640/122\",\r\n + \ \"2603:1020:a04::/122\",\r\n \"2603:1020:a04::40/123\",\r\n + \ \"2603:1020:a04:1::5e0/123\",\r\n \"2603:1020:a04:1::600/122\",\r\n + \ \"2603:1020:b04::620/123\",\r\n \"2603:1020:b04::640/122\",\r\n + \ \"2603:1020:c04::/122\",\r\n \"2603:1020:c04::40/123\",\r\n + \ \"2603:1020:c04:1::5e0/123\",\r\n \"2603:1020:c04:1::600/122\",\r\n + \ \"2603:1020:d04::620/123\",\r\n \"2603:1020:d04::640/122\",\r\n + \ \"2603:1020:e04::/122\",\r\n \"2603:1020:e04::40/123\",\r\n + \ \"2603:1020:e04:1::5e0/123\",\r\n \"2603:1020:e04:1::600/122\",\r\n + \ \"2603:1020:f04::620/123\",\r\n \"2603:1020:f04::640/122\",\r\n + \ \"2603:1020:1004::5e0/123\",\r\n \"2603:1020:1004::600/122\",\r\n + \ \"2603:1020:1004:1::/122\",\r\n \"2603:1020:1004:1::40/123\",\r\n + \ \"2603:1020:1104::6a0/123\",\r\n \"2603:1020:1104::6c0/122\",\r\n + \ \"2603:1030:f:1::620/123\",\r\n \"2603:1030:f:1::640/122\",\r\n + \ \"2603:1030:10::/122\",\r\n \"2603:1030:10::40/123\",\r\n + \ \"2603:1030:10:1::5e0/123\",\r\n \"2603:1030:10:1::600/122\",\r\n + \ \"2603:1030:104::/122\",\r\n \"2603:1030:104::40/123\",\r\n + \ \"2603:1030:104:1::5e0/123\",\r\n \"2603:1030:104:1::600/122\",\r\n + \ \"2603:1030:107::6c0/122\",\r\n \"2603:1030:107::700/123\",\r\n + \ \"2603:1030:210::/122\",\r\n \"2603:1030:210::40/123\",\r\n + \ \"2603:1030:210:1::5e0/123\",\r\n \"2603:1030:210:1::600/122\",\r\n + \ \"2603:1030:40b:1::5e0/123\",\r\n \"2603:1030:40b:1::600/122\",\r\n + \ \"2603:1030:40c::/122\",\r\n \"2603:1030:40c::40/123\",\r\n + \ \"2603:1030:40c:1::5e0/123\",\r\n \"2603:1030:40c:1::600/122\",\r\n + \ \"2603:1030:504::/122\",\r\n \"2603:1030:504::40/123\",\r\n + \ \"2603:1030:504:1::5e0/123\",\r\n \"2603:1030:504:1::600/122\",\r\n + \ \"2603:1030:608::620/123\",\r\n \"2603:1030:608::640/122\",\r\n + \ \"2603:1030:807::/122\",\r\n \"2603:1030:807::40/123\",\r\n + \ \"2603:1030:807:1::5e0/123\",\r\n \"2603:1030:807:1::600/122\",\r\n + \ \"2603:1030:a07::620/123\",\r\n \"2603:1030:a07::640/122\",\r\n + \ \"2603:1030:b04::620/123\",\r\n \"2603:1030:b04::640/122\",\r\n + \ \"2603:1030:c06:1::5e0/123\",\r\n \"2603:1030:c06:1::600/122\",\r\n + \ \"2603:1030:f05::/122\",\r\n \"2603:1030:f05::40/123\",\r\n + \ \"2603:1030:f05:1::5e0/123\",\r\n \"2603:1030:f05:1::600/122\",\r\n + \ \"2603:1030:1005::620/123\",\r\n \"2603:1030:1005::640/122\",\r\n + \ \"2603:1040:5::100/122\",\r\n \"2603:1040:5::140/123\",\r\n + \ \"2603:1040:5:1::5e0/123\",\r\n \"2603:1040:5:1::600/122\",\r\n + \ \"2603:1040:207::620/123\",\r\n \"2603:1040:207::640/122\",\r\n + \ \"2603:1040:407::/122\",\r\n \"2603:1040:407::40/123\",\r\n + \ \"2603:1040:407:1::5e0/123\",\r\n \"2603:1040:407:1::600/122\",\r\n + \ \"2603:1040:606::620/123\",\r\n \"2603:1040:606::640/122\",\r\n + \ \"2603:1040:806::620/123\",\r\n \"2603:1040:806::640/122\",\r\n + \ \"2603:1040:904::/122\",\r\n \"2603:1040:904::40/123\",\r\n + \ \"2603:1040:904:1::5e0/123\",\r\n \"2603:1040:904:1::600/122\",\r\n + \ \"2603:1040:a06::100/122\",\r\n \"2603:1040:a06::140/123\",\r\n + \ \"2603:1040:a06:1::5e0/123\",\r\n \"2603:1040:a06:1::600/122\",\r\n + \ \"2603:1040:b04::620/123\",\r\n \"2603:1040:b04::640/122\",\r\n + \ \"2603:1040:c06::620/123\",\r\n \"2603:1040:c06::640/122\",\r\n + \ \"2603:1040:d04::5e0/123\",\r\n \"2603:1040:d04::600/122\",\r\n + \ \"2603:1040:d04:1::/122\",\r\n \"2603:1040:d04:1::40/123\",\r\n + \ \"2603:1040:f05::/122\",\r\n \"2603:1040:f05::40/123\",\r\n + \ \"2603:1040:f05:1::5e0/123\",\r\n \"2603:1040:f05:1::600/122\",\r\n + \ \"2603:1040:1104::6a0/123\",\r\n \"2603:1040:1104::6c0/122\",\r\n + \ \"2603:1050:6::/122\",\r\n \"2603:1050:6::40/123\",\r\n + \ \"2603:1050:6:1::5e0/123\",\r\n \"2603:1050:6:1::600/122\",\r\n + \ \"2603:1050:403::5e0/123\",\r\n \"2603:1050:403::600/122\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"PowerQueryOnline\",\r\n + \ \"id\": \"PowerQueryOnline\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\": + \"\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n + \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"PowerQueryOnline\",\r\n \"addressPrefixes\": + [\r\n \"20.36.120.120/31\",\r\n \"20.37.64.120/31\",\r\n + \ \"20.37.152.70/31\",\r\n \"20.37.192.70/31\",\r\n \"20.37.224.120/31\",\r\n + \ \"20.38.80.70/31\",\r\n \"20.38.136.68/31\",\r\n \"20.39.11.24/31\",\r\n + \ \"20.41.0.68/30\",\r\n \"20.41.64.70/31\",\r\n \"20.41.65.144/31\",\r\n + \ \"20.41.192.120/31\",\r\n \"20.42.4.200/30\",\r\n \"20.42.128.70/31\",\r\n + \ \"20.42.129.184/29\",\r\n \"20.42.224.120/31\",\r\n \"20.43.40.70/31\",\r\n + \ \"20.43.64.70/31\",\r\n \"20.43.128.70/31\",\r\n \"20.45.112.120/31\",\r\n + \ \"20.45.192.120/31\",\r\n \"20.72.16.20/31\",\r\n \"20.150.160.108/31\",\r\n + \ \"20.189.104.68/31\",\r\n \"20.192.160.20/31\",\r\n \"20.192.225.32/31\",\r\n + \ \"40.67.48.120/31\",\r\n \"40.74.30.104/30\",\r\n \"40.80.56.120/31\",\r\n + \ \"40.80.168.120/31\",\r\n \"40.80.184.68/31\",\r\n \"40.82.253.72/29\",\r\n + \ \"40.89.16.120/31\",\r\n \"40.119.8.74/31\",\r\n \"51.12.46.228/31\",\r\n + \ \"51.12.198.208/31\",\r\n \"51.104.24.70/31\",\r\n \"51.105.80.120/31\",\r\n + \ \"51.105.88.120/31\",\r\n \"51.107.48.70/31\",\r\n \"51.107.144.120/31\",\r\n + \ \"51.116.48.70/31\",\r\n \"51.116.144.70/31\",\r\n \"51.120.40.70/31\",\r\n + \ \"51.120.224.120/31\",\r\n \"51.137.160.68/31\",\r\n \"51.143.192.120/31\",\r\n + \ \"52.140.104.70/31\",\r\n \"52.150.139.72/30\",\r\n \"52.228.80.70/31\",\r\n + \ \"102.133.56.96/31\",\r\n \"102.133.216.70/31\",\r\n \"191.233.8.20/31\",\r\n + \ \"191.235.224.70/31\",\r\n \"2603:1000:4::200/123\",\r\n + \ \"2603:1000:104:1::200/123\",\r\n \"2603:1010:6:1::200/123\",\r\n + \ \"2603:1010:101::200/123\",\r\n \"2603:1010:304::200/123\",\r\n + \ \"2603:1010:404::200/123\",\r\n \"2603:1020:5:1::200/123\",\r\n + \ \"2603:1020:206:1::200/123\",\r\n \"2603:1020:305::200/123\",\r\n + \ \"2603:1020:405::200/123\",\r\n \"2603:1020:605::200/123\",\r\n + \ \"2603:1020:705:1::200/123\",\r\n \"2603:1020:805:1::200/123\",\r\n + \ \"2603:1020:905::200/123\",\r\n \"2603:1020:a04:1::200/123\",\r\n + \ \"2603:1020:b04::200/123\",\r\n \"2603:1020:c04:1::200/123\",\r\n + \ \"2603:1020:d04::200/123\",\r\n \"2603:1020:e04:1::200/123\",\r\n + \ \"2603:1020:f04::200/123\",\r\n \"2603:1020:1004::200/123\",\r\n + \ \"2603:1020:1104::200/123\",\r\n \"2603:1030:f:1::200/123\",\r\n + \ \"2603:1030:10:1::200/123\",\r\n \"2603:1030:104:1::200/123\",\r\n + \ \"2603:1030:107::200/123\",\r\n \"2603:1030:210:1::200/123\",\r\n + \ \"2603:1030:40b:1::200/123\",\r\n \"2603:1030:40c:1::200/123\",\r\n + \ \"2603:1030:504:1::200/123\",\r\n \"2603:1030:608::200/123\",\r\n + \ \"2603:1030:807:1::200/123\",\r\n \"2603:1030:a07::200/123\",\r\n + \ \"2603:1030:b04::200/123\",\r\n \"2603:1030:c06:1::200/123\",\r\n + \ \"2603:1030:f05:1::200/123\",\r\n \"2603:1030:1005::200/123\",\r\n + \ \"2603:1040:5:1::200/123\",\r\n \"2603:1040:207::200/123\",\r\n + \ \"2603:1040:407:1::200/123\",\r\n \"2603:1040:606::200/123\",\r\n + \ \"2603:1040:806::200/123\",\r\n \"2603:1040:904:1::200/123\",\r\n + \ \"2603:1040:a06:1::200/123\",\r\n \"2603:1040:b04::200/123\",\r\n + \ \"2603:1040:c06::200/123\",\r\n \"2603:1040:d04::200/123\",\r\n + \ \"2603:1040:f05:1::200/123\",\r\n \"2603:1040:1104::200/123\",\r\n + \ \"2603:1050:6:1::200/123\",\r\n \"2603:1050:403::200/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"PowerQueryOnline.AustraliaCentral\",\r\n + \ \"id\": \"PowerQueryOnline.AustraliaCentral\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"australiacentral\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n + \ ],\r\n \"systemService\": \"PowerQueryOnline\",\r\n \"addressPrefixes\": + [\r\n \"20.37.224.120/31\",\r\n \"2603:1010:304::200/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"PowerQueryOnline.AustraliaCentral2\",\r\n + \ \"id\": \"PowerQueryOnline.AustraliaCentral2\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"australiacentral2\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n + \ ],\r\n \"systemService\": \"PowerQueryOnline\",\r\n \"addressPrefixes\": + [\r\n \"20.36.120.120/31\",\r\n \"2603:1010:404::200/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"PowerQueryOnline.AustraliaSoutheast\",\r\n + \ \"id\": \"PowerQueryOnline.AustraliaSoutheast\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"australiasoutheast\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n + \ ],\r\n \"systemService\": \"PowerQueryOnline\",\r\n \"addressPrefixes\": + [\r\n \"20.42.224.120/31\",\r\n \"2603:1010:101::200/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"PowerQueryOnline.CentralUS\",\r\n + \ \"id\": \"PowerQueryOnline.CentralUS\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"centralus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"PowerQueryOnline\",\r\n \"addressPrefixes\": [\r\n \"20.37.152.70/31\",\r\n + \ \"2603:1030:10:1::200/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"PowerQueryOnline.EastUS2\",\r\n \"id\": \"PowerQueryOnline.EastUS2\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"1\",\r\n \"region\": \"eastus2\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n + \ ],\r\n \"systemService\": \"PowerQueryOnline\",\r\n \"addressPrefixes\": + [\r\n \"20.41.0.68/30\",\r\n \"2603:1030:40c:1::200/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"PowerQueryOnline.FranceCentral\",\r\n + \ \"id\": \"PowerQueryOnline.FranceCentral\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"centralfrance\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"PowerQueryOnline\",\r\n \"addressPrefixes\": [\r\n \"20.43.40.70/31\",\r\n + \ \"2603:1020:805:1::200/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"PowerQueryOnline.JapanWest\",\r\n \"id\": + \"PowerQueryOnline.JapanWest\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\": + \"japanwest\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"PowerQueryOnline\",\r\n \"addressPrefixes\": [\r\n \"40.80.56.120/31\",\r\n + \ \"2603:1040:606::200/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"PowerQueryOnline.KoreaSouth\",\r\n \"id\": + \"PowerQueryOnline.KoreaSouth\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"1\",\r\n \"region\": + \"koreasouth\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"PowerQueryOnline\",\r\n \"addressPrefixes\": [\r\n \"40.80.168.120/31\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"PowerQueryOnline.NorwayEast\",\r\n + \ \"id\": \"PowerQueryOnline.NorwayEast\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"norwaye\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"PowerQueryOnline\",\r\n \"addressPrefixes\": [\r\n \"51.120.40.70/31\",\r\n + \ \"2603:1020:e04:1::200/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"PowerQueryOnline.SouthCentralUS\",\r\n \"id\": + \"PowerQueryOnline.SouthCentralUS\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"southcentralus\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n + \ ],\r\n \"systemService\": \"PowerQueryOnline\",\r\n \"addressPrefixes\": + [\r\n \"40.119.8.74/31\",\r\n \"2603:1030:807:1::200/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"PowerQueryOnline.SwitzerlandWest\",\r\n + \ \"id\": \"PowerQueryOnline.SwitzerlandWest\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"switzerlandw\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"PowerQueryOnline\",\r\n \"addressPrefixes\": [\r\n \"51.107.144.120/31\",\r\n + \ \"2603:1020:b04::200/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"PowerQueryOnline.UKSouth2\",\r\n \"id\": \"PowerQueryOnline.UKSouth2\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"uksouth2\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n + \ ],\r\n \"systemService\": \"PowerQueryOnline\",\r\n \"addressPrefixes\": + [\r\n \"51.143.192.120/31\",\r\n \"2603:1020:405::200/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"PowerQueryOnline.WestUS\",\r\n + \ \"id\": \"PowerQueryOnline.WestUS\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"westus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"PowerQueryOnline\",\r\n \"addressPrefixes\": [\r\n \"40.82.253.72/29\",\r\n + \ \"2603:1030:a07::200/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"ServiceBus\",\r\n \"id\": \"ServiceBus\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"6\",\r\n \"region\": \"\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\",\r\n + \ \"VSE\"\r\n ],\r\n \"systemService\": \"AzureServiceBus\",\r\n + \ \"addressPrefixes\": [\r\n \"13.66.138.80/29\",\r\n \"13.66.147.192/26\",\r\n + \ \"13.67.8.96/29\",\r\n \"13.67.20.0/26\",\r\n \"13.68.110.36/32\",\r\n + \ \"13.69.64.64/29\",\r\n \"13.69.106.64/29\",\r\n \"13.69.111.64/26\",\r\n + \ \"13.69.227.64/29\",\r\n \"13.69.233.192/26\",\r\n \"13.70.72.16/29\",\r\n + \ \"13.70.114.0/26\",\r\n \"13.70.186.33/32\",\r\n \"13.71.114.157/32\",\r\n + \ \"13.71.170.32/29\",\r\n \"13.71.177.64/26\",\r\n \"13.71.194.96/28\",\r\n + \ \"13.74.107.64/29\",\r\n \"13.74.142.88/32\",\r\n \"13.75.34.128/28\",\r\n + \ \"13.76.141.36/32\",\r\n \"13.77.50.16/28\",\r\n \"13.78.94.187/32\",\r\n + \ \"13.78.106.80/29\",\r\n \"13.85.81.218/32\",\r\n \"13.87.35.8/32\",\r\n + \ \"13.87.56.64/28\",\r\n \"13.87.122.64/28\",\r\n \"13.88.10.93/32\",\r\n + \ \"13.89.170.192/29\",\r\n \"13.89.178.128/26\",\r\n \"20.36.106.224/27\",\r\n + \ \"20.36.114.128/27\",\r\n \"20.36.144.0/26\",\r\n \"20.37.74.32/27\",\r\n + \ \"20.38.146.128/29\",\r\n \"20.42.65.0/26\",\r\n \"20.42.68.0/26\",\r\n + \ \"20.42.72.192/26\",\r\n \"20.42.73.64/26\",\r\n \"20.43.126.0/26\",\r\n + \ \"20.44.2.8/29\",\r\n \"20.44.13.0/26\",\r\n \"20.44.26.128/29\",\r\n + \ \"20.44.31.64/26\",\r\n \"20.45.122.128/29\",\r\n \"20.45.126.128/26\",\r\n + \ \"20.47.216.0/26\",\r\n \"20.49.91.224/29\",\r\n \"20.49.91.240/28\",\r\n + \ \"20.49.95.64/26\",\r\n \"20.50.72.0/26\",\r\n \"20.50.80.0/26\",\r\n + \ \"20.50.201.0/26\",\r\n \"20.52.64.64/26\",\r\n \"20.72.27.144/29\",\r\n + \ \"20.72.27.160/28\",\r\n \"20.89.0.0/26\",\r\n \"20.150.160.216/29\",\r\n + \ \"20.150.170.8/29\",\r\n \"20.150.175.0/26\",\r\n \"20.150.178.128/29\",\r\n + \ \"20.150.182.64/28\",\r\n \"20.150.186.128/29\",\r\n \"20.150.189.48/28\",\r\n + \ \"20.150.189.64/26\",\r\n \"20.151.32.0/26\",\r\n \"20.192.32.240/28\",\r\n + \ \"20.192.98.128/29\",\r\n \"20.192.101.192/26\",\r\n \"20.192.160.40/29\",\r\n + \ \"20.192.225.56/29\",\r\n \"20.192.234.8/29\",\r\n \"20.193.204.104/29\",\r\n + \ \"20.193.204.112/28\",\r\n \"20.194.67.208/29\",\r\n \"20.194.68.128/28\",\r\n + \ \"20.194.128.128/26\",\r\n \"20.195.137.128/26\",\r\n \"20.195.152.0/26\",\r\n + \ \"23.97.120.37/32\",\r\n \"23.98.82.96/29\",\r\n \"23.98.87.128/26\",\r\n + \ \"23.98.112.128/26\",\r\n \"40.64.113.0/26\",\r\n \"40.65.108.146/32\",\r\n + \ \"40.67.58.8/29\",\r\n \"40.67.72.0/26\",\r\n \"40.68.127.68/32\",\r\n + \ \"40.69.106.16/28\",\r\n \"40.70.146.64/29\",\r\n \"40.70.151.128/26\",\r\n + \ \"40.71.10.192/29\",\r\n \"40.74.100.32/28\",\r\n \"40.74.122.78/32\",\r\n + \ \"40.74.146.32/29\",\r\n \"40.74.150.192/26\",\r\n \"40.75.34.16/29\",\r\n + \ \"40.78.194.16/28\",\r\n \"40.78.202.16/28\",\r\n \"40.78.226.192/29\",\r\n + \ \"40.78.234.32/29\",\r\n \"40.78.242.144/29\",\r\n \"40.78.247.192/26\",\r\n + \ \"40.78.250.80/29\",\r\n \"40.79.130.32/29\",\r\n \"40.79.138.16/29\",\r\n + \ \"40.79.141.192/26\",\r\n \"40.79.146.16/29\",\r\n \"40.79.149.0/26\",\r\n + \ \"40.79.154.88/29\",\r\n \"40.79.162.16/29\",\r\n \"40.79.166.128/26\",\r\n + \ \"40.79.170.16/29\",\r\n \"40.79.173.64/26\",\r\n \"40.79.178.16/28\",\r\n + \ \"40.79.186.64/27\",\r\n \"40.79.194.80/29\",\r\n \"40.80.50.128/29\",\r\n + \ \"40.80.53.16/28\",\r\n \"40.86.91.130/32\",\r\n \"40.89.121.192/26\",\r\n + \ \"40.112.242.128/28\",\r\n \"40.114.86.33/32\",\r\n \"40.120.74.24/29\",\r\n + \ \"40.120.77.192/26\",\r\n \"40.124.65.0/26\",\r\n \"51.11.192.64/26\",\r\n + \ \"51.12.98.8/29\",\r\n \"51.12.101.224/28\",\r\n \"51.12.202.8/29\",\r\n + \ \"51.12.206.0/28\",\r\n \"51.12.226.128/29\",\r\n \"51.12.234.128/29\",\r\n + \ \"51.13.0.128/26\",\r\n \"51.105.66.128/29\",\r\n \"51.105.70.192/26\",\r\n + \ \"51.105.74.128/29\",\r\n \"51.107.58.8/29\",\r\n \"51.107.128.192/26\",\r\n + \ \"51.107.154.8/29\",\r\n \"51.116.58.8/29\",\r\n \"51.116.154.72/29\",\r\n + \ \"51.116.242.128/29\",\r\n \"51.116.246.128/26\",\r\n \"51.116.250.128/29\",\r\n + \ \"51.116.253.192/26\",\r\n \"51.120.98.16/29\",\r\n \"51.120.106.128/29\",\r\n + \ \"51.120.109.208/28\",\r\n \"51.120.210.128/29\",\r\n \"51.120.213.48/28\",\r\n + \ \"51.120.218.8/29\",\r\n \"51.132.192.128/26\",\r\n \"51.140.43.12/32\",\r\n + \ \"51.140.146.48/29\",\r\n \"51.140.149.128/26\",\r\n \"51.140.210.64/28\",\r\n + \ \"51.141.1.129/32\",\r\n \"51.142.210.16/32\",\r\n \"52.138.71.95/32\",\r\n + \ \"52.138.90.16/29\",\r\n \"52.138.226.64/29\",\r\n \"52.161.17.198/32\",\r\n + \ \"52.162.106.128/28\",\r\n \"52.167.106.64/29\",\r\n \"52.167.109.128/26\",\r\n + \ \"52.168.29.86/32\",\r\n \"52.168.112.128/26\",\r\n \"52.168.116.192/26\",\r\n + \ \"52.172.220.188/32\",\r\n \"52.178.17.64/26\",\r\n \"52.180.178.204/32\",\r\n + \ \"52.182.138.192/29\",\r\n \"52.182.143.0/26\",\r\n \"52.187.192.243/32\",\r\n + \ \"52.231.18.32/29\",\r\n \"52.231.23.128/26\",\r\n \"52.231.146.64/28\",\r\n + \ \"52.232.119.191/32\",\r\n \"52.233.33.226/32\",\r\n \"52.236.186.64/29\",\r\n + \ \"52.242.36.0/32\",\r\n \"52.246.154.128/29\",\r\n \"52.246.158.192/26\",\r\n + \ \"65.52.219.186/32\",\r\n \"65.52.250.64/27\",\r\n \"102.37.64.192/26\",\r\n + \ \"102.37.72.0/26\",\r\n \"102.133.26.8/29\",\r\n \"102.133.122.128/29\",\r\n + \ \"102.133.126.192/26\",\r\n \"102.133.154.8/29\",\r\n \"102.133.250.128/29\",\r\n + \ \"102.133.253.192/26\",\r\n \"104.40.15.128/32\",\r\n \"104.45.239.115/32\",\r\n + \ \"104.208.16.64/29\",\r\n \"104.208.144.64/29\",\r\n \"104.211.81.16/29\",\r\n + \ \"104.211.146.16/28\",\r\n \"104.211.190.88/32\",\r\n \"104.214.18.160/29\",\r\n + \ \"168.61.142.56/29\",\r\n \"191.232.184.253/32\",\r\n \"191.233.8.40/29\",\r\n + \ \"191.233.203.16/29\",\r\n \"191.234.146.128/29\",\r\n + \ \"191.234.150.128/26\",\r\n \"191.234.154.128/29\",\r\n + \ \"191.234.157.144/28\",\r\n \"191.235.170.182/32\",\r\n + \ \"191.237.224.64/26\",\r\n \"207.46.138.15/32\",\r\n \"2603:1000:4::220/123\",\r\n + \ \"2603:1000:4:402::170/125\",\r\n \"2603:1000:104:1::220/123\",\r\n + \ \"2603:1000:104:402::170/125\",\r\n \"2603:1000:104:802::150/125\",\r\n + \ \"2603:1000:104:c02::150/125\",\r\n \"2603:1010:6:1::220/123\",\r\n + \ \"2603:1010:6:402::170/125\",\r\n \"2603:1010:6:802::150/125\",\r\n + \ \"2603:1010:6:c02::150/125\",\r\n \"2603:1010:101::220/123\",\r\n + \ \"2603:1010:101:402::170/125\",\r\n \"2603:1010:304::220/123\",\r\n + \ \"2603:1010:304:402::170/125\",\r\n \"2603:1010:404::220/123\",\r\n + \ \"2603:1010:404:402::170/125\",\r\n \"2603:1020:5:1::220/123\",\r\n + \ \"2603:1020:5:402::170/125\",\r\n \"2603:1020:5:802::150/125\",\r\n + \ \"2603:1020:5:c02::150/125\",\r\n \"2603:1020:206:1::220/123\",\r\n + \ \"2603:1020:206:402::170/125\",\r\n \"2603:1020:206:802::150/125\",\r\n + \ \"2603:1020:206:c02::150/125\",\r\n \"2603:1020:305::220/123\",\r\n + \ \"2603:1020:305:402::170/125\",\r\n \"2603:1020:405::220/123\",\r\n + \ \"2603:1020:405:402::170/125\",\r\n \"2603:1020:605::220/123\",\r\n + \ \"2603:1020:605:402::170/125\",\r\n \"2603:1020:705:1::220/123\",\r\n + \ \"2603:1020:705:402::170/125\",\r\n \"2603:1020:705:802::150/125\",\r\n + \ \"2603:1020:705:c02::150/125\",\r\n \"2603:1020:805:1::220/123\",\r\n + \ \"2603:1020:805:402::170/125\",\r\n \"2603:1020:805:802::150/125\",\r\n + \ \"2603:1020:805:c02::150/125\",\r\n \"2603:1020:905::220/123\",\r\n + \ \"2603:1020:905:402::170/125\",\r\n \"2603:1020:a04:1::220/123\",\r\n + \ \"2603:1020:a04:402::170/125\",\r\n \"2603:1020:a04:802::150/125\",\r\n + \ \"2603:1020:a04:c02::150/125\",\r\n \"2603:1020:b04::220/123\",\r\n + \ \"2603:1020:b04:402::170/125\",\r\n \"2603:1020:c04:1::220/123\",\r\n + \ \"2603:1020:c04:402::170/125\",\r\n \"2603:1020:c04:802::150/125\",\r\n + \ \"2603:1020:c04:c02::150/125\",\r\n \"2603:1020:d04::220/123\",\r\n + \ \"2603:1020:d04:402::170/125\",\r\n \"2603:1020:e04:1::220/123\",\r\n + \ \"2603:1020:e04:402::170/125\",\r\n \"2603:1020:e04:802::150/125\",\r\n + \ \"2603:1020:e04:c02::150/125\",\r\n \"2603:1020:f04::220/123\",\r\n + \ \"2603:1020:f04:402::170/125\",\r\n \"2603:1020:1004::220/123\",\r\n + \ \"2603:1020:1004:800::e0/124\",\r\n \"2603:1020:1004:800::f0/125\",\r\n + \ \"2603:1020:1004:800::358/125\",\r\n \"2603:1020:1004:800::3c0/124\",\r\n + \ \"2603:1020:1004:800::3e8/125\",\r\n \"2603:1020:1004:c02::180/123\",\r\n + \ \"2603:1020:1004:c02::1a0/125\",\r\n \"2603:1020:1104:400::170/125\",\r\n + \ \"2603:1030:f:1::220/123\",\r\n \"2603:1030:f:400::970/125\",\r\n + \ \"2603:1030:10:1::220/123\",\r\n \"2603:1030:10:402::170/125\",\r\n + \ \"2603:1030:10:802::150/125\",\r\n \"2603:1030:10:c02::150/125\",\r\n + \ \"2603:1030:104:1::220/123\",\r\n \"2603:1030:104:402::170/125\",\r\n + \ \"2603:1030:107:400::d8/125\",\r\n \"2603:1030:210:1::220/123\",\r\n + \ \"2603:1030:210:402::170/125\",\r\n \"2603:1030:210:802::150/125\",\r\n + \ \"2603:1030:210:c02::150/125\",\r\n \"2603:1030:40b:1::220/123\",\r\n + \ \"2603:1030:40b:400::970/125\",\r\n \"2603:1030:40b:800::150/125\",\r\n + \ \"2603:1030:40b:c00::150/125\",\r\n \"2603:1030:40c:1::220/123\",\r\n + \ \"2603:1030:40c:402::170/125\",\r\n \"2603:1030:40c:802::150/125\",\r\n + \ \"2603:1030:40c:c02::150/125\",\r\n \"2603:1030:504:1::220/123\",\r\n + \ \"2603:1030:504:802::e0/124\",\r\n \"2603:1030:504:802::f0/125\",\r\n + \ \"2603:1030:504:802::358/125\",\r\n \"2603:1030:608::220/123\",\r\n + \ \"2603:1030:608:402::170/125\",\r\n \"2603:1030:807:1::220/123\",\r\n + \ \"2603:1030:807:402::170/125\",\r\n \"2603:1030:807:802::150/125\",\r\n + \ \"2603:1030:807:c02::150/125\",\r\n \"2603:1030:a07::220/123\",\r\n + \ \"2603:1030:a07:402::8f0/125\",\r\n \"2603:1030:b04::220/123\",\r\n + \ \"2603:1030:b04:402::170/125\",\r\n \"2603:1030:c06:1::220/123\",\r\n + \ \"2603:1030:c06:400::970/125\",\r\n \"2603:1030:c06:802::150/125\",\r\n + \ \"2603:1030:c06:c02::150/125\",\r\n \"2603:1030:f05:1::220/123\",\r\n + \ \"2603:1030:f05:402::170/125\",\r\n \"2603:1030:f05:802::150/125\",\r\n + \ \"2603:1030:f05:c02::150/125\",\r\n \"2603:1030:1005::220/123\",\r\n + \ \"2603:1030:1005:402::170/125\",\r\n \"2603:1040:5:1::220/123\",\r\n + \ \"2603:1040:5:402::170/125\",\r\n \"2603:1040:5:802::150/125\",\r\n + \ \"2603:1040:5:c02::150/125\",\r\n \"2603:1040:207::220/123\",\r\n + \ \"2603:1040:207:402::170/125\",\r\n \"2603:1040:407:1::220/123\",\r\n + \ \"2603:1040:407:402::170/125\",\r\n \"2603:1040:407:802::150/125\",\r\n + \ \"2603:1040:407:c02::150/125\",\r\n \"2603:1040:606::220/123\",\r\n + \ \"2603:1040:606:402::170/125\",\r\n \"2603:1040:806::220/123\",\r\n + \ \"2603:1040:806:402::170/125\",\r\n \"2603:1040:904:1::220/123\",\r\n + \ \"2603:1040:904:402::170/125\",\r\n \"2603:1040:904:802::150/125\",\r\n + \ \"2603:1040:904:c02::150/125\",\r\n \"2603:1040:a06:1::220/123\",\r\n + \ \"2603:1040:a06:402::170/125\",\r\n \"2603:1040:a06:802::150/125\",\r\n + \ \"2603:1040:a06:c02::150/125\",\r\n \"2603:1040:b04::220/123\",\r\n + \ \"2603:1040:b04:402::170/125\",\r\n \"2603:1040:c06::220/123\",\r\n + \ \"2603:1040:c06:402::170/125\",\r\n \"2603:1040:d04::220/123\",\r\n + \ \"2603:1040:d04:800::e0/124\",\r\n \"2603:1040:d04:800::f0/125\",\r\n + \ \"2603:1040:d04:800::358/125\",\r\n \"2603:1040:d04:800::3c0/125\",\r\n + \ \"2603:1040:d04:800::3e8/125\",\r\n \"2603:1040:f05:1::220/123\",\r\n + \ \"2603:1040:f05:402::170/125\",\r\n \"2603:1040:f05:802::150/125\",\r\n + \ \"2603:1040:f05:c02::150/125\",\r\n \"2603:1040:1104:400::170/125\",\r\n + \ \"2603:1050:6:1::220/123\",\r\n \"2603:1050:6:402::170/125\",\r\n + \ \"2603:1050:6:802::150/125\",\r\n \"2603:1050:6:c02::150/125\",\r\n + \ \"2603:1050:403::220/123\",\r\n \"2603:1050:403:400::148/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"ServiceBus.AustraliaCentral\",\r\n + \ \"id\": \"ServiceBus.AustraliaCentral\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"australiacentral\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureServiceBus\",\r\n \"addressPrefixes\": [\r\n \"20.36.106.224/27\",\r\n + \ \"2603:1010:304::220/123\",\r\n \"2603:1010:304:402::170/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"ServiceBus.AustraliaCentral2\",\r\n + \ \"id\": \"ServiceBus.AustraliaCentral2\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"australiacentral2\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureServiceBus\",\r\n \"addressPrefixes\": [\r\n \"20.36.114.128/27\",\r\n + \ \"2603:1010:404::220/123\",\r\n \"2603:1010:404:402::170/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"ServiceBus.AustraliaEast\",\r\n + \ \"id\": \"ServiceBus.AustraliaEast\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"australiaeast\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureServiceBus\",\r\n \"addressPrefixes\": + [\r\n \"13.70.72.16/29\",\r\n \"13.70.114.0/26\",\r\n \"40.79.162.16/29\",\r\n + \ \"40.79.166.128/26\",\r\n \"40.79.170.16/29\",\r\n \"40.79.173.64/26\",\r\n + \ \"52.187.192.243/32\",\r\n \"2603:1010:6:1::220/123\",\r\n + \ \"2603:1010:6:402::170/125\",\r\n \"2603:1010:6:802::150/125\",\r\n + \ \"2603:1010:6:c02::150/125\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"ServiceBus.AustraliaSoutheast\",\r\n \"id\": + \"ServiceBus.AustraliaSoutheast\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\": + \"australiasoutheast\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureServiceBus\",\r\n \"addressPrefixes\": + [\r\n \"13.70.186.33/32\",\r\n \"13.77.50.16/28\",\r\n \"2603:1010:101::220/123\",\r\n + \ \"2603:1010:101:402::170/125\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"ServiceBus.BrazilSouth\",\r\n \"id\": \"ServiceBus.BrazilSouth\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"3\",\r\n \"region\": \"brazilsouth\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureServiceBus\",\r\n \"addressPrefixes\": [\r\n \"20.195.137.128/26\",\r\n + \ \"20.195.152.0/26\",\r\n \"191.232.184.253/32\",\r\n \"191.233.203.16/29\",\r\n + \ \"191.234.146.128/29\",\r\n \"191.234.150.128/26\",\r\n + \ \"191.234.154.128/29\",\r\n \"191.234.157.144/28\",\r\n + \ \"2603:1050:6:1::220/123\",\r\n \"2603:1050:6:402::170/125\",\r\n + \ \"2603:1050:6:802::150/125\",\r\n \"2603:1050:6:c02::150/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"ServiceBus.CanadaCentral\",\r\n + \ \"id\": \"ServiceBus.CanadaCentral\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"canadacentral\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureServiceBus\",\r\n \"addressPrefixes\": + [\r\n \"13.71.170.32/29\",\r\n \"13.71.177.64/26\",\r\n + \ \"20.38.146.128/29\",\r\n \"20.151.32.0/26\",\r\n \"52.233.33.226/32\",\r\n + \ \"52.246.154.128/29\",\r\n \"52.246.158.192/26\",\r\n \"2603:1030:f05:1::220/123\",\r\n + \ \"2603:1030:f05:402::170/125\",\r\n \"2603:1030:f05:802::150/125\",\r\n + \ \"2603:1030:f05:c02::150/125\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"ServiceBus.CanadaEast\",\r\n \"id\": \"ServiceBus.CanadaEast\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"canadaeast\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureServiceBus\",\r\n \"addressPrefixes\": [\r\n \"40.69.106.16/28\",\r\n + \ \"52.242.36.0/32\",\r\n \"2603:1030:1005::220/123\",\r\n + \ \"2603:1030:1005:402::170/125\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"ServiceBus.CentralIndia\",\r\n \"id\": \"ServiceBus.CentralIndia\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"4\",\r\n \"region\": \"centralindia\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureServiceBus\",\r\n \"addressPrefixes\": [\r\n \"20.43.126.0/26\",\r\n + \ \"20.192.98.128/29\",\r\n \"20.192.101.192/26\",\r\n \"40.80.50.128/29\",\r\n + \ \"40.80.53.16/28\",\r\n \"52.172.220.188/32\",\r\n \"104.211.81.16/29\",\r\n + \ \"2603:1040:a06:1::220/123\",\r\n \"2603:1040:a06:402::170/125\",\r\n + \ \"2603:1040:a06:802::150/125\",\r\n \"2603:1040:a06:c02::150/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"ServiceBus.CentralUS\",\r\n + \ \"id\": \"ServiceBus.CentralUS\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"centralus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureServiceBus\",\r\n \"addressPrefixes\": + [\r\n \"13.89.170.192/29\",\r\n \"13.89.178.128/26\",\r\n + \ \"20.44.13.0/26\",\r\n \"40.86.91.130/32\",\r\n \"52.182.138.192/29\",\r\n + \ \"52.182.143.0/26\",\r\n \"104.208.16.64/29\",\r\n \"2603:1030:10:1::220/123\",\r\n + \ \"2603:1030:10:402::170/125\",\r\n \"2603:1030:10:802::150/125\",\r\n + \ \"2603:1030:10:c02::150/125\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"ServiceBus.CentralUSEUAP\",\r\n \"id\": \"ServiceBus.CentralUSEUAP\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"3\",\r\n \"region\": \"centraluseuap\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureServiceBus\",\r\n \"addressPrefixes\": [\r\n \"40.78.202.16/28\",\r\n + \ \"52.180.178.204/32\",\r\n \"168.61.142.56/29\",\r\n \"2603:1030:f:1::220/123\",\r\n + \ \"2603:1030:f:400::970/125\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"ServiceBus.EastAsia\",\r\n \"id\": \"ServiceBus.EastAsia\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"eastasia\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureServiceBus\",\r\n \"addressPrefixes\": [\r\n \"13.75.34.128/28\",\r\n + \ \"207.46.138.15/32\",\r\n \"2603:1040:207::220/123\",\r\n + \ \"2603:1040:207:402::170/125\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"ServiceBus.EastUS\",\r\n \"id\": \"ServiceBus.EastUS\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"3\",\r\n \"region\": \"eastus\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureServiceBus\",\r\n \"addressPrefixes\": [\r\n \"20.42.65.0/26\",\r\n + \ \"20.42.68.0/26\",\r\n \"20.42.72.192/26\",\r\n \"20.42.73.64/26\",\r\n + \ \"40.71.10.192/29\",\r\n \"40.78.226.192/29\",\r\n \"40.79.154.88/29\",\r\n + \ \"40.114.86.33/32\",\r\n \"52.168.29.86/32\",\r\n \"52.168.112.128/26\",\r\n + \ \"52.168.116.192/26\",\r\n \"2603:1030:210:1::220/123\",\r\n + \ \"2603:1030:210:402::170/125\",\r\n \"2603:1030:210:802::150/125\",\r\n + \ \"2603:1030:210:c02::150/125\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"ServiceBus.EastUS2\",\r\n \"id\": \"ServiceBus.EastUS2\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"3\",\r\n \"region\": \"eastus2\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureServiceBus\",\r\n \"addressPrefixes\": [\r\n \"13.68.110.36/32\",\r\n + \ \"20.36.144.0/26\",\r\n \"40.70.146.64/29\",\r\n \"40.70.151.128/26\",\r\n + \ \"52.167.106.64/29\",\r\n \"52.167.109.128/26\",\r\n \"104.208.144.64/29\",\r\n + \ \"2603:1030:40c:1::220/123\",\r\n \"2603:1030:40c:402::170/125\",\r\n + \ \"2603:1030:40c:802::150/125\",\r\n \"2603:1030:40c:c02::150/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"ServiceBus.EastUS2EUAP\",\r\n + \ \"id\": \"ServiceBus.EastUS2EUAP\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"eastus2euap\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureServiceBus\",\r\n \"addressPrefixes\": + [\r\n \"20.47.216.0/26\",\r\n \"40.74.146.32/29\",\r\n \"40.74.150.192/26\",\r\n + \ \"40.75.34.16/29\",\r\n \"40.89.121.192/26\",\r\n \"52.138.71.95/32\",\r\n + \ \"52.138.90.16/29\",\r\n \"2603:1030:40b:1::220/123\",\r\n + \ \"2603:1030:40b:400::970/125\",\r\n \"2603:1030:40b:800::150/125\",\r\n + \ \"2603:1030:40b:c00::150/125\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"ServiceBus.FranceCentral\",\r\n \"id\": \"ServiceBus.FranceCentral\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"3\",\r\n \"region\": \"centralfrance\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureServiceBus\",\r\n \"addressPrefixes\": [\r\n \"40.79.130.32/29\",\r\n + \ \"40.79.138.16/29\",\r\n \"40.79.141.192/26\",\r\n \"40.79.146.16/29\",\r\n + \ \"40.79.149.0/26\",\r\n \"51.11.192.64/26\",\r\n \"2603:1020:805:1::220/123\",\r\n + \ \"2603:1020:805:402::170/125\",\r\n \"2603:1020:805:802::150/125\",\r\n + \ \"2603:1020:805:c02::150/125\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"ServiceBus.FranceSouth\",\r\n \"id\": \"ServiceBus.FranceSouth\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"southfrance\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureServiceBus\",\r\n \"addressPrefixes\": [\r\n \"40.79.178.16/28\",\r\n + \ \"2603:1020:905::220/123\",\r\n \"2603:1020:905:402::170/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"ServiceBus.GermanyNorth\",\r\n + \ \"id\": \"ServiceBus.GermanyNorth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"germanyn\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureServiceBus\",\r\n \"addressPrefixes\": + [\r\n \"51.116.58.8/29\",\r\n \"2603:1020:d04::220/123\",\r\n + \ \"2603:1020:d04:402::170/125\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"ServiceBus.GermanyWestCentral\",\r\n \"id\": + \"ServiceBus.GermanyWestCentral\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"3\",\r\n \"region\": + \"germanywc\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureServiceBus\",\r\n \"addressPrefixes\": + [\r\n \"20.52.64.64/26\",\r\n \"51.116.154.72/29\",\r\n + \ \"51.116.242.128/29\",\r\n \"51.116.246.128/26\",\r\n \"51.116.250.128/29\",\r\n + \ \"51.116.253.192/26\",\r\n \"2603:1020:c04:1::220/123\",\r\n + \ \"2603:1020:c04:402::170/125\",\r\n \"2603:1020:c04:802::150/125\",\r\n + \ \"2603:1020:c04:c02::150/125\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"ServiceBus.JapanEast\",\r\n \"id\": \"ServiceBus.JapanEast\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"3\",\r\n \"region\": \"japaneast\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureServiceBus\",\r\n \"addressPrefixes\": [\r\n \"13.78.94.187/32\",\r\n + \ \"13.78.106.80/29\",\r\n \"20.89.0.0/26\",\r\n \"20.194.128.128/26\",\r\n + \ \"40.79.186.64/27\",\r\n \"40.79.194.80/29\",\r\n \"2603:1040:407:1::220/123\",\r\n + \ \"2603:1040:407:402::170/125\",\r\n \"2603:1040:407:802::150/125\",\r\n + \ \"2603:1040:407:c02::150/125\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"ServiceBus.JapanWest\",\r\n \"id\": \"ServiceBus.JapanWest\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"japanwest\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureServiceBus\",\r\n \"addressPrefixes\": [\r\n \"40.74.100.32/28\",\r\n + \ \"40.74.122.78/32\",\r\n \"2603:1040:606::220/123\",\r\n + \ \"2603:1040:606:402::170/125\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"ServiceBus.KoreaCentral\",\r\n \"id\": \"ServiceBus.KoreaCentral\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"4\",\r\n \"region\": \"koreacentral\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureServiceBus\",\r\n \"addressPrefixes\": [\r\n \"20.44.26.128/29\",\r\n + \ \"20.44.31.64/26\",\r\n \"20.194.67.208/29\",\r\n \"20.194.68.128/28\",\r\n + \ \"52.231.18.32/29\",\r\n \"52.231.23.128/26\",\r\n \"2603:1040:f05:1::220/123\",\r\n + \ \"2603:1040:f05:402::170/125\",\r\n \"2603:1040:f05:802::150/125\",\r\n + \ \"2603:1040:f05:c02::150/125\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"ServiceBus.KoreaSouth\",\r\n \"id\": \"ServiceBus.KoreaSouth\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"1\",\r\n \"region\": \"koreasouth\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureServiceBus\",\r\n \"addressPrefixes\": [\r\n \"52.231.146.64/28\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"ServiceBus.NorthCentralUS\",\r\n + \ \"id\": \"ServiceBus.NorthCentralUS\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"northcentralus\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureServiceBus\",\r\n \"addressPrefixes\": [\r\n \"52.162.106.128/28\",\r\n + \ \"65.52.219.186/32\",\r\n \"2603:1030:608::220/123\",\r\n + \ \"2603:1030:608:402::170/125\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"ServiceBus.NorthEurope\",\r\n \"id\": \"ServiceBus.NorthEurope\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"3\",\r\n \"region\": \"northeurope\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureServiceBus\",\r\n \"addressPrefixes\": [\r\n \"13.69.227.64/29\",\r\n + \ \"13.69.233.192/26\",\r\n \"13.74.107.64/29\",\r\n \"13.74.142.88/32\",\r\n + \ \"20.50.72.0/26\",\r\n \"20.50.80.0/26\",\r\n \"52.138.226.64/29\",\r\n + \ \"191.235.170.182/32\",\r\n \"2603:1020:5:1::220/123\",\r\n + \ \"2603:1020:5:402::170/125\",\r\n \"2603:1020:5:802::150/125\",\r\n + \ \"2603:1020:5:c02::150/125\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"ServiceBus.NorwayEast\",\r\n \"id\": \"ServiceBus.NorwayEast\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"5\",\r\n \"region\": \"norwaye\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureServiceBus\",\r\n \"addressPrefixes\": [\r\n \"51.13.0.128/26\",\r\n + \ \"51.120.98.16/29\",\r\n \"51.120.106.128/29\",\r\n \"51.120.109.208/28\",\r\n + \ \"51.120.210.128/29\",\r\n \"51.120.213.48/28\",\r\n \"2603:1020:e04:1::220/123\",\r\n + \ \"2603:1020:e04:402::170/125\",\r\n \"2603:1020:e04:802::150/125\",\r\n + \ \"2603:1020:e04:c02::150/125\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"ServiceBus.NorwayWest\",\r\n \"id\": \"ServiceBus.NorwayWest\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"norwayw\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\"\r\n ],\r\n \"systemService\": + \"AzureServiceBus\",\r\n \"addressPrefixes\": [\r\n \"51.120.218.8/29\",\r\n + \ \"2603:1020:f04::220/123\",\r\n \"2603:1020:f04:402::170/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"ServiceBus.SouthAfricaNorth\",\r\n + \ \"id\": \"ServiceBus.SouthAfricaNorth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"southafricanorth\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureServiceBus\",\r\n \"addressPrefixes\": [\r\n \"102.37.72.0/26\",\r\n + \ \"102.133.122.128/29\",\r\n \"102.133.126.192/26\",\r\n + \ \"102.133.154.8/29\",\r\n \"102.133.250.128/29\",\r\n \"102.133.253.192/26\",\r\n + \ \"2603:1000:104:1::220/123\",\r\n \"2603:1000:104:402::170/125\",\r\n + \ \"2603:1000:104:802::150/125\",\r\n \"2603:1000:104:c02::150/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"ServiceBus.SouthAfricaWest\",\r\n + \ \"id\": \"ServiceBus.SouthAfricaWest\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"southafricawest\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n + \ ],\r\n \"systemService\": \"AzureServiceBus\",\r\n \"addressPrefixes\": + [\r\n \"102.37.64.192/26\",\r\n \"102.133.26.8/29\",\r\n + \ \"2603:1000:4::220/123\",\r\n \"2603:1000:4:402::170/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"ServiceBus.SouthCentralUS\",\r\n + \ \"id\": \"ServiceBus.SouthCentralUS\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"southcentralus\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureServiceBus\",\r\n \"addressPrefixes\": [\r\n \"13.85.81.218/32\",\r\n + \ \"20.45.122.128/29\",\r\n \"20.45.126.128/26\",\r\n \"20.49.91.224/29\",\r\n + \ \"20.49.91.240/28\",\r\n \"20.49.95.64/26\",\r\n \"40.124.65.0/26\",\r\n + \ \"104.214.18.160/29\",\r\n \"2603:1030:807:1::220/123\",\r\n + \ \"2603:1030:807:402::170/125\",\r\n \"2603:1030:807:802::150/125\",\r\n + \ \"2603:1030:807:c02::150/125\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"ServiceBus.SoutheastAsia\",\r\n \"id\": \"ServiceBus.SoutheastAsia\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"3\",\r\n \"region\": \"southeastasia\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureServiceBus\",\r\n \"addressPrefixes\": [\r\n \"13.67.8.96/29\",\r\n + \ \"13.67.20.0/26\",\r\n \"13.76.141.36/32\",\r\n \"23.98.82.96/29\",\r\n + \ \"23.98.87.128/26\",\r\n \"23.98.112.128/26\",\r\n \"40.78.234.32/29\",\r\n + \ \"2603:1040:5:1::220/123\",\r\n \"2603:1040:5:402::170/125\",\r\n + \ \"2603:1040:5:802::150/125\",\r\n \"2603:1040:5:c02::150/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"ServiceBus.SouthIndia\",\r\n + \ \"id\": \"ServiceBus.SouthIndia\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"southindia\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureServiceBus\",\r\n \"addressPrefixes\": + [\r\n \"13.71.114.157/32\",\r\n \"40.78.194.16/28\",\r\n + \ \"2603:1040:c06::220/123\",\r\n \"2603:1040:c06:402::170/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"ServiceBus.SwitzerlandNorth\",\r\n + \ \"id\": \"ServiceBus.SwitzerlandNorth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"switzerlandn\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureServiceBus\",\r\n \"addressPrefixes\": + [\r\n \"51.107.58.8/29\",\r\n \"51.107.128.192/26\",\r\n + \ \"2603:1020:a04:1::220/123\",\r\n \"2603:1020:a04:402::170/125\",\r\n + \ \"2603:1020:a04:802::150/125\",\r\n \"2603:1020:a04:c02::150/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"ServiceBus.SwitzerlandWest\",\r\n + \ \"id\": \"ServiceBus.SwitzerlandWest\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"switzerlandw\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureServiceBus\",\r\n \"addressPrefixes\": + [\r\n \"51.107.154.8/29\",\r\n \"2603:1020:b04::220/123\",\r\n + \ \"2603:1020:b04:402::170/125\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"ServiceBus.UAECentral\",\r\n \"id\": \"ServiceBus.UAECentral\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"uaecentral\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureServiceBus\",\r\n \"addressPrefixes\": [\r\n \"20.37.74.32/27\",\r\n + \ \"2603:1040:b04::220/123\",\r\n \"2603:1040:b04:402::170/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"ServiceBus.UAENorth\",\r\n + \ \"id\": \"ServiceBus.UAENorth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"uaenorth\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureServiceBus\",\r\n \"addressPrefixes\": + [\r\n \"40.120.74.24/29\",\r\n \"40.120.77.192/26\",\r\n + \ \"65.52.250.64/27\",\r\n \"2603:1040:904:1::220/123\",\r\n + \ \"2603:1040:904:402::170/125\",\r\n \"2603:1040:904:802::150/125\",\r\n + \ \"2603:1040:904:c02::150/125\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"ServiceBus.UKSouth\",\r\n \"id\": \"ServiceBus.UKSouth\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"3\",\r\n \"region\": \"uksouth\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureServiceBus\",\r\n \"addressPrefixes\": [\r\n \"51.105.66.128/29\",\r\n + \ \"51.105.70.192/26\",\r\n \"51.105.74.128/29\",\r\n \"51.132.192.128/26\",\r\n + \ \"51.140.43.12/32\",\r\n \"51.140.146.48/29\",\r\n \"51.140.149.128/26\",\r\n + \ \"2603:1020:705:1::220/123\",\r\n \"2603:1020:705:402::170/125\",\r\n + \ \"2603:1020:705:802::150/125\",\r\n \"2603:1020:705:c02::150/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"ServiceBus.UKSouth2\",\r\n + \ \"id\": \"ServiceBus.UKSouth2\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"uksouth2\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\"\r\n ],\r\n \"systemService\": \"AzureServiceBus\",\r\n + \ \"addressPrefixes\": [\r\n \"13.87.35.8/32\",\r\n \"13.87.56.64/28\",\r\n + \ \"2603:1020:405::220/123\",\r\n \"2603:1020:405:402::170/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"ServiceBus.UKWest\",\r\n + \ \"id\": \"ServiceBus.UKWest\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"ukwest\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureServiceBus\",\r\n \"addressPrefixes\": + [\r\n \"51.140.210.64/28\",\r\n \"51.141.1.129/32\",\r\n + \ \"2603:1020:605::220/123\",\r\n \"2603:1020:605:402::170/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"ServiceBus.WestCentralUS\",\r\n + \ \"id\": \"ServiceBus.WestCentralUS\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"westcentralus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureServiceBus\",\r\n \"addressPrefixes\": + [\r\n \"13.71.194.96/28\",\r\n \"52.161.17.198/32\",\r\n + \ \"2603:1030:b04::220/123\",\r\n \"2603:1030:b04:402::170/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"ServiceBus.WestEurope\",\r\n + \ \"id\": \"ServiceBus.WestEurope\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"westeurope\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureServiceBus\",\r\n \"addressPrefixes\": + [\r\n \"13.69.64.64/29\",\r\n \"13.69.106.64/29\",\r\n \"13.69.111.64/26\",\r\n + \ \"20.50.201.0/26\",\r\n \"40.68.127.68/32\",\r\n \"52.178.17.64/26\",\r\n + \ \"52.232.119.191/32\",\r\n \"52.236.186.64/29\",\r\n \"2603:1020:206:1::220/123\",\r\n + \ \"2603:1020:206:402::170/125\",\r\n \"2603:1020:206:802::150/125\",\r\n + \ \"2603:1020:206:c02::150/125\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"ServiceBus.WestIndia\",\r\n \"id\": \"ServiceBus.WestIndia\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"westindia\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureServiceBus\",\r\n \"addressPrefixes\": [\r\n \"104.211.146.16/28\",\r\n + \ \"104.211.190.88/32\",\r\n \"2603:1040:806::220/123\",\r\n + \ \"2603:1040:806:402::170/125\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"ServiceBus.WestUS\",\r\n \"id\": \"ServiceBus.WestUS\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"westus\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n + \ ],\r\n \"systemService\": \"AzureServiceBus\",\r\n \"addressPrefixes\": + [\r\n \"13.88.10.93/32\",\r\n \"40.112.242.128/28\",\r\n + \ \"104.40.15.128/32\",\r\n \"104.45.239.115/32\",\r\n \"2603:1030:a07::220/123\",\r\n + \ \"2603:1030:a07:402::8f0/125\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"ServiceBus.WestUS2\",\r\n \"id\": \"ServiceBus.WestUS2\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"3\",\r\n \"region\": \"westus2\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureServiceBus\",\r\n \"addressPrefixes\": [\r\n \"13.66.138.80/29\",\r\n + \ \"13.66.147.192/26\",\r\n \"40.64.113.0/26\",\r\n \"40.65.108.146/32\",\r\n + \ \"40.78.242.144/29\",\r\n \"40.78.247.192/26\",\r\n \"40.78.250.80/29\",\r\n + \ \"2603:1030:c06:1::220/123\",\r\n \"2603:1030:c06:400::970/125\",\r\n + \ \"2603:1030:c06:802::150/125\",\r\n \"2603:1030:c06:c02::150/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"ServiceFabric\",\r\n + \ \"id\": \"ServiceFabric\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"4\",\r\n \"region\": + \"\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n + \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"ServiceFabric\",\r\n \"addressPrefixes\": + [\r\n \"13.66.140.152/29\",\r\n \"13.66.167.194/32\",\r\n + \ \"13.66.226.151/32\",\r\n \"13.67.9.136/29\",\r\n \"13.69.64.232/29\",\r\n + \ \"13.69.109.136/30\",\r\n \"13.69.227.232/29\",\r\n \"13.70.72.216/29\",\r\n + \ \"13.70.78.172/30\",\r\n \"13.71.170.224/29\",\r\n \"13.71.170.248/29\",\r\n + \ \"13.71.195.48/29\",\r\n \"13.74.80.74/32\",\r\n \"13.74.111.144/30\",\r\n + \ \"13.75.36.80/29\",\r\n \"13.75.41.166/32\",\r\n \"13.75.42.35/32\",\r\n + \ \"13.77.52.0/29\",\r\n \"13.78.108.24/29\",\r\n \"13.78.147.125/32\",\r\n + \ \"13.80.117.236/32\",\r\n \"13.87.32.204/32\",\r\n \"13.87.56.240/29\",\r\n + \ \"13.87.98.166/32\",\r\n \"13.87.122.240/29\",\r\n \"13.89.171.104/29\",\r\n + \ \"13.91.7.211/32\",\r\n \"13.91.252.58/32\",\r\n \"13.92.124.124/32\",\r\n + \ \"20.36.40.70/32\",\r\n \"20.36.72.79/32\",\r\n \"20.36.107.16/29\",\r\n + \ \"20.36.114.192/29\",\r\n \"20.37.74.80/29\",\r\n \"20.38.149.192/30\",\r\n + \ \"20.42.64.40/30\",\r\n \"20.42.72.132/30\",\r\n \"20.44.3.24/29\",\r\n + \ \"20.44.10.124/30\",\r\n \"20.44.19.0/30\",\r\n \"20.44.29.52/30\",\r\n + \ \"20.45.79.240/32\",\r\n \"20.45.123.244/30\",\r\n \"20.49.82.4/30\",\r\n + \ \"20.49.90.4/30\",\r\n \"20.72.26.4/30\",\r\n \"20.150.171.72/29\",\r\n + \ \"20.150.181.160/30\",\r\n \"20.150.189.28/30\",\r\n \"20.150.225.4/30\",\r\n + \ \"20.184.2.84/32\",\r\n \"20.192.32.224/30\",\r\n \"20.192.101.28/30\",\r\n + \ \"20.192.235.0/29\",\r\n \"20.193.202.24/29\",\r\n \"20.193.204.100/30\",\r\n + \ \"20.194.66.4/30\",\r\n \"23.96.200.228/32\",\r\n \"23.96.210.6/32\",\r\n + \ \"23.96.214.100/32\",\r\n \"23.98.86.60/30\",\r\n \"23.99.11.219/32\",\r\n + \ \"23.100.199.230/32\",\r\n \"40.67.59.72/29\",\r\n \"40.69.107.0/29\",\r\n + \ \"40.69.166.6/32\",\r\n \"40.70.146.232/29\",\r\n \"40.71.11.104/29\",\r\n + \ \"40.74.100.240/29\",\r\n \"40.74.146.56/29\",\r\n \"40.75.35.220/30\",\r\n + \ \"40.76.203.148/32\",\r\n \"40.76.205.181/32\",\r\n \"40.78.195.0/29\",\r\n + \ \"40.78.202.120/29\",\r\n \"40.78.238.60/30\",\r\n \"40.78.245.192/30\",\r\n + \ \"40.78.253.64/30\",\r\n \"40.79.114.102/32\",\r\n \"40.79.130.232/29\",\r\n + \ \"40.79.139.192/30\",\r\n \"40.79.148.80/30\",\r\n \"40.79.165.80/29\",\r\n + \ \"40.79.171.228/30\",\r\n \"40.79.173.0/30\",\r\n \"40.79.179.0/29\",\r\n + \ \"40.79.189.60/30\",\r\n \"40.79.197.36/30\",\r\n \"40.80.53.4/30\",\r\n + \ \"40.84.62.189/32\",\r\n \"40.84.133.64/32\",\r\n \"40.85.224.118/32\",\r\n + \ \"40.86.230.174/32\",\r\n \"40.89.168.15/32\",\r\n \"40.112.243.176/29\",\r\n + \ \"40.113.23.157/32\",\r\n \"40.113.88.37/32\",\r\n \"40.115.64.123/32\",\r\n + \ \"40.115.113.228/32\",\r\n \"40.120.74.4/30\",\r\n \"40.123.204.26/32\",\r\n + \ \"51.12.99.64/29\",\r\n \"51.12.101.168/30\",\r\n \"51.12.203.64/29\",\r\n + \ \"51.12.204.240/30\",\r\n \"51.105.69.84/30\",\r\n \"51.105.77.52/30\",\r\n + \ \"51.107.59.40/29\",\r\n \"51.107.76.20/32\",\r\n \"51.107.155.40/29\",\r\n + \ \"51.107.239.250/32\",\r\n \"51.116.59.40/29\",\r\n \"51.116.155.104/29\",\r\n + \ \"51.116.208.26/32\",\r\n \"51.116.232.27/32\",\r\n \"51.116.245.160/30\",\r\n + \ \"51.116.253.128/30\",\r\n \"51.120.68.23/32\",\r\n \"51.120.98.240/29\",\r\n + \ \"51.120.109.28/30\",\r\n \"51.120.164.23/32\",\r\n \"51.120.213.28/30\",\r\n + \ \"51.120.219.72/29\",\r\n \"51.140.148.24/29\",\r\n \"51.140.184.27/32\",\r\n + \ \"51.140.211.16/29\",\r\n \"51.141.8.30/32\",\r\n \"52.136.136.27/32\",\r\n + \ \"52.138.70.82/32\",\r\n \"52.138.92.168/30\",\r\n \"52.138.143.55/32\",\r\n + \ \"52.138.229.68/30\",\r\n \"52.143.136.15/32\",\r\n \"52.143.184.15/32\",\r\n + \ \"52.151.38.144/32\",\r\n \"52.158.236.247/32\",\r\n \"52.162.107.176/29\",\r\n + \ \"52.163.90.165/32\",\r\n \"52.163.94.113/32\",\r\n \"52.165.37.188/32\",\r\n + \ \"52.167.0.27/32\",\r\n \"52.167.109.68/30\",\r\n \"52.167.227.220/32\",\r\n + \ \"52.174.163.204/32\",\r\n \"52.174.164.254/32\",\r\n \"52.178.30.193/32\",\r\n + \ \"52.180.176.84/32\",\r\n \"52.182.141.56/30\",\r\n \"52.182.172.232/32\",\r\n + \ \"52.225.184.94/32\",\r\n \"52.225.185.159/32\",\r\n \"52.230.8.61/32\",\r\n + \ \"52.231.18.232/29\",\r\n \"52.231.32.81/32\",\r\n \"52.231.147.16/29\",\r\n + \ \"52.231.200.124/32\",\r\n \"52.236.161.75/32\",\r\n \"52.236.189.76/30\",\r\n + \ \"52.246.157.8/30\",\r\n \"65.52.250.224/29\",\r\n \"102.37.48.12/32\",\r\n + \ \"102.133.27.24/29\",\r\n \"102.133.72.31/32\",\r\n \"102.133.155.24/29\",\r\n + \ \"102.133.160.28/32\",\r\n \"102.133.235.169/32\",\r\n + \ \"102.133.251.216/30\",\r\n \"104.41.9.53/32\",\r\n \"104.41.187.29/32\",\r\n + \ \"104.42.181.121/32\",\r\n \"104.43.213.84/32\",\r\n \"104.45.19.250/32\",\r\n + \ \"104.46.225.57/32\",\r\n \"104.210.107.69/32\",\r\n \"104.211.81.216/29\",\r\n + \ \"104.211.103.201/32\",\r\n \"104.211.146.240/29\",\r\n + \ \"104.211.164.163/32\",\r\n \"104.211.228.68/32\",\r\n + \ \"104.214.19.72/29\",\r\n \"104.215.78.146/32\",\r\n \"137.116.252.9/32\",\r\n + \ \"137.135.33.49/32\",\r\n \"168.61.142.48/30\",\r\n \"191.233.50.24/29\",\r\n + \ \"191.233.203.216/29\",\r\n \"191.234.149.32/30\",\r\n + \ \"191.234.157.128/30\",\r\n \"207.46.234.62/32\",\r\n \"2603:1000:4:402::98/125\",\r\n + \ \"2603:1000:104:402::98/125\",\r\n \"2603:1000:104:802::98/125\",\r\n + \ \"2603:1000:104:c02::98/125\",\r\n \"2603:1010:6:402::98/125\",\r\n + \ \"2603:1010:6:802::98/125\",\r\n \"2603:1010:6:c02::98/125\",\r\n + \ \"2603:1010:101:402::98/125\",\r\n \"2603:1010:304:402::98/125\",\r\n + \ \"2603:1010:404:402::98/125\",\r\n \"2603:1020:5:402::98/125\",\r\n + \ \"2603:1020:5:802::98/125\",\r\n \"2603:1020:5:c02::98/125\",\r\n + \ \"2603:1020:206:402::98/125\",\r\n \"2603:1020:206:802::98/125\",\r\n + \ \"2603:1020:206:c02::98/125\",\r\n \"2603:1020:305:402::98/125\",\r\n + \ \"2603:1020:405:402::98/125\",\r\n \"2603:1020:605:402::98/125\",\r\n + \ \"2603:1020:705:402::98/125\",\r\n \"2603:1020:705:802::98/125\",\r\n + \ \"2603:1020:705:c02::98/125\",\r\n \"2603:1020:805:402::98/125\",\r\n + \ \"2603:1020:805:802::98/125\",\r\n \"2603:1020:805:c02::98/125\",\r\n + \ \"2603:1020:905:402::98/125\",\r\n \"2603:1020:a04:402::98/125\",\r\n + \ \"2603:1020:a04:802::98/125\",\r\n \"2603:1020:a04:c02::98/125\",\r\n + \ \"2603:1020:b04:402::98/125\",\r\n \"2603:1020:c04:402::98/125\",\r\n + \ \"2603:1020:c04:802::98/125\",\r\n \"2603:1020:c04:c02::98/125\",\r\n + \ \"2603:1020:d04:402::98/125\",\r\n \"2603:1020:e04:402::98/125\",\r\n + \ \"2603:1020:e04:802::98/125\",\r\n \"2603:1020:e04:c02::98/125\",\r\n + \ \"2603:1020:f04:402::98/125\",\r\n \"2603:1020:1004:400::98/125\",\r\n + \ \"2603:1020:1004:800::158/125\",\r\n \"2603:1020:1004:800::350/125\",\r\n + \ \"2603:1020:1104:400::98/125\",\r\n \"2603:1030:f:400::898/125\",\r\n + \ \"2603:1030:10:402::98/125\",\r\n \"2603:1030:10:802::98/125\",\r\n + \ \"2603:1030:10:c02::98/125\",\r\n \"2603:1030:104:402::98/125\",\r\n + \ \"2603:1030:107:400::d0/125\",\r\n \"2603:1030:210:402::98/125\",\r\n + \ \"2603:1030:210:802::98/125\",\r\n \"2603:1030:210:c02::98/125\",\r\n + \ \"2603:1030:40b:400::898/125\",\r\n \"2603:1030:40b:800::98/125\",\r\n + \ \"2603:1030:40b:c00::98/125\",\r\n \"2603:1030:40c:402::98/125\",\r\n + \ \"2603:1030:40c:802::98/125\",\r\n \"2603:1030:40c:c02::98/125\",\r\n + \ \"2603:1030:504:402::98/125\",\r\n \"2603:1030:504:802::c8/125\",\r\n + \ \"2603:1030:504:802::158/125\",\r\n \"2603:1030:504:802::350/125\",\r\n + \ \"2603:1030:608:402::98/125\",\r\n \"2603:1030:807:402::98/125\",\r\n + \ \"2603:1030:807:802::98/125\",\r\n \"2603:1030:807:c02::98/125\",\r\n + \ \"2603:1030:a07:402::98/125\",\r\n \"2603:1030:b04:402::98/125\",\r\n + \ \"2603:1030:c06:400::898/125\",\r\n \"2603:1030:c06:802::98/125\",\r\n + \ \"2603:1030:c06:c02::98/125\",\r\n \"2603:1030:f05:402::98/125\",\r\n + \ \"2603:1030:f05:802::98/125\",\r\n \"2603:1030:f05:c02::98/125\",\r\n + \ \"2603:1030:1005:402::98/125\",\r\n \"2603:1040:5:402::98/125\",\r\n + \ \"2603:1040:5:802::98/125\",\r\n \"2603:1040:5:c02::98/125\",\r\n + \ \"2603:1040:207:402::98/125\",\r\n \"2603:1040:407:402::98/125\",\r\n + \ \"2603:1040:407:802::98/125\",\r\n \"2603:1040:407:c02::98/125\",\r\n + \ \"2603:1040:606:402::98/125\",\r\n \"2603:1040:806:402::98/125\",\r\n + \ \"2603:1040:904:402::98/125\",\r\n \"2603:1040:904:802::98/125\",\r\n + \ \"2603:1040:904:c02::98/125\",\r\n \"2603:1040:a06:402::98/125\",\r\n + \ \"2603:1040:a06:802::98/125\",\r\n \"2603:1040:a06:c02::98/125\",\r\n + \ \"2603:1040:b04:402::98/125\",\r\n \"2603:1040:c06:402::98/125\",\r\n + \ \"2603:1040:d04:400::98/125\",\r\n \"2603:1040:d04:800::158/125\",\r\n + \ \"2603:1040:d04:800::350/125\",\r\n \"2603:1040:f05:402::98/125\",\r\n + \ \"2603:1040:f05:802::98/125\",\r\n \"2603:1040:f05:c02::98/125\",\r\n + \ \"2603:1040:1104:400::98/125\",\r\n \"2603:1050:6:402::98/125\",\r\n + \ \"2603:1050:6:802::98/125\",\r\n \"2603:1050:6:c02::98/125\",\r\n + \ \"2603:1050:403:400::140/125\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"ServiceFabric.CanadaCentral\",\r\n \"id\": + \"ServiceFabric.CanadaCentral\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\": + \"canadacentral\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\"\r\n ],\r\n \"systemService\": \"ServiceFabric\",\r\n + \ \"addressPrefixes\": [\r\n \"13.71.170.224/29\",\r\n \"13.71.170.248/29\",\r\n + \ \"20.38.149.192/30\",\r\n \"40.85.224.118/32\",\r\n \"52.246.157.8/30\",\r\n + \ \"2603:1030:f05:402::98/125\",\r\n \"2603:1030:f05:802::98/125\",\r\n + \ \"2603:1030:f05:c02::98/125\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"ServiceFabric.EastUS\",\r\n \"id\": \"ServiceFabric.EastUS\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"eastus\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\"\r\n ],\r\n \"systemService\": + \"ServiceFabric\",\r\n \"addressPrefixes\": [\r\n \"13.92.124.124/32\",\r\n + \ \"20.42.64.40/30\",\r\n \"20.42.72.132/30\",\r\n \"40.71.11.104/29\",\r\n + \ \"40.76.203.148/32\",\r\n \"40.76.205.181/32\",\r\n \"2603:1030:210:402::98/125\",\r\n + \ \"2603:1030:210:802::98/125\",\r\n \"2603:1030:210:c02::98/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"ServiceFabric.EastUS2EUAP\",\r\n + \ \"id\": \"ServiceFabric.EastUS2EUAP\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"eastus2euap\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\"\r\n ],\r\n \"systemService\": \"ServiceFabric\",\r\n + \ \"addressPrefixes\": [\r\n \"40.74.146.56/29\",\r\n \"40.75.35.220/30\",\r\n + \ \"40.79.114.102/32\",\r\n \"52.138.70.82/32\",\r\n \"52.138.92.168/30\",\r\n + \ \"52.225.184.94/32\",\r\n \"52.225.185.159/32\",\r\n \"2603:1030:40b:400::898/125\",\r\n + \ \"2603:1030:40b:800::98/125\",\r\n \"2603:1030:40b:c00::98/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"ServiceFabric.FranceSouth\",\r\n + \ \"id\": \"ServiceFabric.FranceSouth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"southfrance\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\"\r\n ],\r\n \"systemService\": \"ServiceFabric\",\r\n + \ \"addressPrefixes\": [\r\n \"40.79.179.0/29\",\r\n \"52.136.136.27/32\",\r\n + \ \"2603:1020:905:402::98/125\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"ServiceFabric.JapanWest\",\r\n \"id\": \"ServiceFabric.JapanWest\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"japanwest\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\"\r\n ],\r\n \"systemService\": + \"ServiceFabric\",\r\n \"addressPrefixes\": [\r\n \"40.74.100.240/29\",\r\n + \ \"104.46.225.57/32\",\r\n \"2603:1040:606:402::98/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"ServiceFabric.SwitzerlandWest\",\r\n + \ \"id\": \"ServiceFabric.SwitzerlandWest\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"switzerlandw\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\"\r\n ],\r\n \"systemService\": \"ServiceFabric\",\r\n + \ \"addressPrefixes\": [\r\n \"51.107.155.40/29\",\r\n \"51.107.239.250/32\",\r\n + \ \"2603:1020:b04:402::98/125\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"ServiceFabric.UAECentral\",\r\n \"id\": \"ServiceFabric.UAECentral\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"uaecentral\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\"\r\n ],\r\n \"systemService\": + \"ServiceFabric\",\r\n \"addressPrefixes\": [\r\n \"20.37.74.80/29\",\r\n + \ \"20.45.79.240/32\",\r\n \"2603:1040:b04:402::98/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"ServiceFabric.WestCentralUS\",\r\n + \ \"id\": \"ServiceFabric.WestCentralUS\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"westcentralus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\"\r\n ],\r\n \"systemService\": \"ServiceFabric\",\r\n + \ \"addressPrefixes\": [\r\n \"13.71.195.48/29\",\r\n \"13.78.147.125/32\",\r\n + \ \"2603:1030:b04:402::98/125\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"ServiceFabric.WestEurope\",\r\n \"id\": \"ServiceFabric.WestEurope\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"westeurope\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\"\r\n ],\r\n \"systemService\": + \"ServiceFabric\",\r\n \"addressPrefixes\": [\r\n \"13.69.64.232/29\",\r\n + \ \"13.69.109.136/30\",\r\n \"13.80.117.236/32\",\r\n \"52.174.163.204/32\",\r\n + \ \"52.174.164.254/32\",\r\n \"52.178.30.193/32\",\r\n \"52.236.161.75/32\",\r\n + \ \"52.236.189.76/30\",\r\n \"104.45.19.250/32\",\r\n \"2603:1020:206:402::98/125\",\r\n + \ \"2603:1020:206:802::98/125\",\r\n \"2603:1020:206:c02::98/125\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"Sql\",\r\n \"id\": + \"Sql\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": + {\r\n \"changeNumber\": \"3\",\r\n \"region\": \"\",\r\n \"state\": + \"GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\",\r\n \"VSE\"\r\n ],\r\n + \ \"systemService\": \"AzureSQL\",\r\n \"addressPrefixes\": [\r\n + \ \"13.65.31.249/32\",\r\n \"13.65.39.207/32\",\r\n \"13.65.85.183/32\",\r\n + \ \"13.65.200.105/32\",\r\n \"13.65.209.243/32\",\r\n \"13.65.253.67/32\",\r\n + \ \"13.66.60.72/32\",\r\n \"13.66.60.111/32\",\r\n \"13.66.62.124/32\",\r\n + \ \"13.66.136.0/26\",\r\n \"13.66.136.192/29\",\r\n \"13.66.137.0/26\",\r\n + \ \"13.66.226.202/32\",\r\n \"13.66.229.222/32\",\r\n \"13.66.230.18/31\",\r\n + \ \"13.66.230.60/32\",\r\n \"13.66.230.64/32\",\r\n \"13.66.230.103/32\",\r\n + \ \"13.67.16.0/26\",\r\n \"13.67.16.192/29\",\r\n \"13.67.17.0/26\",\r\n + \ \"13.67.48.255/32\",\r\n \"13.67.56.134/32\",\r\n \"13.67.59.217/32\",\r\n + \ \"13.67.215.62/32\",\r\n \"13.68.22.44/32\",\r\n \"13.68.30.216/32\",\r\n + \ \"13.68.87.133/32\",\r\n \"13.69.104.0/26\",\r\n \"13.69.104.192/26\",\r\n + \ \"13.69.105.0/26\",\r\n \"13.69.105.192/26\",\r\n \"13.69.112.168/29\",\r\n + \ \"13.69.224.0/26\",\r\n \"13.69.224.192/26\",\r\n \"13.69.225.0/26\",\r\n + \ \"13.69.225.192/26\",\r\n \"13.69.233.136/29\",\r\n \"13.70.112.0/27\",\r\n + \ \"13.70.112.32/29\",\r\n \"13.70.113.0/27\",\r\n \"13.70.148.251/32\",\r\n + \ \"13.70.155.163/32\",\r\n \"13.71.168.0/27\",\r\n \"13.71.168.32/29\",\r\n + \ \"13.71.169.0/27\",\r\n \"13.71.192.0/27\",\r\n \"13.71.193.0/27\",\r\n + \ \"13.71.193.32/29\",\r\n \"13.73.109.251/32\",\r\n \"13.74.104.64/26\",\r\n + \ \"13.74.104.128/26\",\r\n \"13.74.105.0/26\",\r\n \"13.74.105.128/26\",\r\n + \ \"13.74.105.192/29\",\r\n \"13.75.32.0/26\",\r\n \"13.75.32.192/29\",\r\n + \ \"13.75.33.0/26\",\r\n \"13.75.33.192/29\",\r\n \"13.75.105.141/32\",\r\n + \ \"13.75.106.191/32\",\r\n \"13.75.108.188/32\",\r\n \"13.75.149.87/32\",\r\n + \ \"13.76.90.3/32\",\r\n \"13.76.247.54/32\",\r\n \"13.77.7.78/32\",\r\n + \ \"13.77.48.0/27\",\r\n \"13.77.49.0/27\",\r\n \"13.77.49.32/29\",\r\n + \ \"13.78.61.196/32\",\r\n \"13.78.104.0/27\",\r\n \"13.78.104.32/29\",\r\n + \ \"13.78.105.0/27\",\r\n \"13.78.121.203/32\",\r\n \"13.78.144.57/32\",\r\n + \ \"13.78.145.25/32\",\r\n \"13.78.148.71/32\",\r\n \"13.78.151.189/32\",\r\n + \ \"13.78.151.207/32\",\r\n \"13.78.178.116/32\",\r\n \"13.78.178.151/32\",\r\n + \ \"13.78.248.32/27\",\r\n \"13.84.223.76/32\",\r\n \"13.85.65.48/32\",\r\n + \ \"13.85.68.115/32\",\r\n \"13.85.69.107/32\",\r\n \"13.86.216.0/25\",\r\n + \ \"13.86.216.128/26\",\r\n \"13.86.216.192/27\",\r\n \"13.86.217.0/25\",\r\n + \ \"13.86.217.128/26\",\r\n \"13.86.217.192/27\",\r\n \"13.86.217.224/29\",\r\n + \ \"13.87.16.64/27\",\r\n \"13.87.17.0/27\",\r\n \"13.87.33.234/32\",\r\n + \ \"13.87.34.7/32\",\r\n \"13.87.34.19/32\",\r\n \"13.87.38.138/32\",\r\n + \ \"13.87.97.210/32\",\r\n \"13.87.97.228/32\",\r\n \"13.87.97.237/32\",\r\n + \ \"13.87.120.0/27\",\r\n \"13.87.121.0/27\",\r\n \"13.88.14.200/32\",\r\n + \ \"13.88.29.70/32\",\r\n \"13.88.249.189/32\",\r\n \"13.88.254.42/32\",\r\n + \ \"13.89.36.110/32\",\r\n \"13.89.37.61/32\",\r\n \"13.89.57.50/32\",\r\n + \ \"13.89.57.115/32\",\r\n \"13.89.168.0/26\",\r\n \"13.89.168.192/29\",\r\n + \ \"13.89.169.0/26\",\r\n \"13.91.4.219/32\",\r\n \"13.91.6.136/32\",\r\n + \ \"13.91.41.153/32\",\r\n \"13.91.44.56/32\",\r\n \"13.91.46.83/32\",\r\n + \ \"13.91.47.72/32\",\r\n \"13.93.165.251/32\",\r\n \"13.93.237.158/32\",\r\n + \ \"20.36.104.0/27\",\r\n \"20.36.105.0/27\",\r\n \"20.36.105.32/29\",\r\n + \ \"20.36.112.0/27\",\r\n \"20.36.113.0/27\",\r\n \"20.36.113.32/29\",\r\n + \ \"20.37.71.64/26\",\r\n \"20.37.71.128/26\",\r\n \"20.37.72.64/27\",\r\n + \ \"20.37.72.96/29\",\r\n \"20.37.73.64/27\",\r\n \"20.37.73.96/29\",\r\n + \ \"20.38.143.64/26\",\r\n \"20.38.143.128/26\",\r\n \"20.38.144.0/27\",\r\n + \ \"20.38.144.32/29\",\r\n \"20.38.145.0/27\",\r\n \"20.38.152.24/29\",\r\n + \ \"20.40.228.128/25\",\r\n \"20.42.65.64/29\",\r\n \"20.42.73.0/29\",\r\n + \ \"20.43.47.192/26\",\r\n \"20.44.0.0/27\",\r\n \"20.44.1.0/27\",\r\n + \ \"20.44.24.0/27\",\r\n \"20.44.24.32/29\",\r\n \"20.44.25.0/27\",\r\n + \ \"20.45.120.0/27\",\r\n \"20.45.121.0/27\",\r\n \"20.45.121.32/29\",\r\n + \ \"20.46.11.32/27\",\r\n \"20.46.11.64/27\",\r\n \"20.46.11.128/26\",\r\n + \ \"20.48.196.32/27\",\r\n \"20.48.196.64/27\",\r\n \"20.48.196.128/26\",\r\n + \ \"20.49.80.0/27\",\r\n \"20.49.80.32/29\",\r\n \"20.49.81.0/27\",\r\n + \ \"20.49.88.0/27\",\r\n \"20.49.88.32/29\",\r\n \"20.49.89.0/27\",\r\n + \ \"20.49.89.32/29\",\r\n \"20.49.119.32/27\",\r\n \"20.49.119.64/27\",\r\n + \ \"20.49.119.128/26\",\r\n \"20.51.9.128/25\",\r\n \"20.51.17.160/27\",\r\n + \ \"20.51.17.192/27\",\r\n \"20.51.20.0/26\",\r\n \"20.53.46.128/25\",\r\n + \ \"20.53.48.96/27\",\r\n \"20.53.48.128/27\",\r\n \"20.53.48.192/26\",\r\n + \ \"20.53.56.32/27\",\r\n \"20.53.56.64/27\",\r\n \"20.53.56.128/26\",\r\n + \ \"20.58.66.128/25\",\r\n \"20.61.99.192/26\",\r\n \"20.61.102.0/26\",\r\n + \ \"20.62.58.128/25\",\r\n \"20.62.132.160/27\",\r\n \"20.62.132.192/27\",\r\n + \ \"20.62.133.0/26\",\r\n \"20.65.132.160/27\",\r\n \"20.65.132.192/27\",\r\n + \ \"20.65.133.0/26\",\r\n \"20.66.3.64/26\",\r\n \"20.66.3.128/26\",\r\n + \ \"20.69.0.32/27\",\r\n \"20.69.0.64/27\",\r\n \"20.69.0.128/26\",\r\n + \ \"20.72.21.224/27\",\r\n \"20.72.24.64/27\",\r\n \"20.72.24.128/27\",\r\n + \ \"20.72.25.128/27\",\r\n \"20.88.64.0/27\",\r\n \"20.150.168.0/27\",\r\n + \ \"20.150.168.32/29\",\r\n \"20.150.169.0/27\",\r\n \"20.150.176.0/27\",\r\n + \ \"20.150.176.32/29\",\r\n \"20.150.177.0/27\",\r\n \"20.150.184.0/27\",\r\n + \ \"20.150.184.32/29\",\r\n \"20.150.185.0/27\",\r\n \"20.150.241.128/25\",\r\n + \ \"20.189.225.160/27\",\r\n \"20.189.225.192/27\",\r\n \"20.189.228.0/26\",\r\n + \ \"20.191.165.160/27\",\r\n \"20.191.165.192/27\",\r\n \"20.191.166.0/26\",\r\n + \ \"20.192.43.160/27\",\r\n \"20.192.43.192/27\",\r\n \"20.192.44.0/26\",\r\n + \ \"20.192.48.32/27\",\r\n \"20.192.48.64/27\",\r\n \"20.192.48.128/26\",\r\n + \ \"20.192.96.0/27\",\r\n \"20.192.96.32/29\",\r\n \"20.192.97.0/27\",\r\n + \ \"20.192.167.224/27\",\r\n \"20.192.232.0/27\",\r\n \"20.192.233.0/27\",\r\n + \ \"20.192.233.32/29\",\r\n \"20.193.192.0/27\",\r\n \"20.193.192.64/26\",\r\n + \ \"20.193.200.0/27\",\r\n \"20.193.200.32/29\",\r\n \"20.193.201.0/27\",\r\n + \ \"20.194.64.0/27\",\r\n \"20.194.64.32/29\",\r\n \"20.194.65.0/27\",\r\n + \ \"20.194.73.64/26\",\r\n \"20.194.73.128/26\",\r\n \"20.195.65.32/27\",\r\n + \ \"20.195.65.64/27\",\r\n \"20.195.65.128/26\",\r\n \"20.195.72.32/27\",\r\n + \ \"20.195.72.64/27\",\r\n \"20.195.72.128/26\",\r\n \"20.195.146.0/26\",\r\n + \ \"23.96.89.109/32\",\r\n \"23.96.106.191/32\",\r\n \"23.96.178.199/32\",\r\n + \ \"23.96.202.229/32\",\r\n \"23.96.204.249/32\",\r\n \"23.96.205.215/32\",\r\n + \ \"23.96.214.69/32\",\r\n \"23.96.243.243/32\",\r\n \"23.96.247.75/32\",\r\n + \ \"23.96.249.37/32\",\r\n \"23.96.250.178/32\",\r\n \"23.97.68.51/32\",\r\n + \ \"23.97.74.21/32\",\r\n \"23.97.78.163/32\",\r\n \"23.97.167.46/32\",\r\n + \ \"23.97.169.19/32\",\r\n \"23.97.219.82/32\",\r\n \"23.97.221.176/32\",\r\n + \ \"23.98.55.75/32\",\r\n \"23.98.80.0/26\",\r\n \"23.98.80.192/29\",\r\n + \ \"23.98.81.0/26\",\r\n \"23.98.162.75/32\",\r\n \"23.98.162.76/31\",\r\n + \ \"23.98.162.78/32\",\r\n \"23.98.170.75/32\",\r\n \"23.98.170.76/31\",\r\n + \ \"23.99.4.210/32\",\r\n \"23.99.4.248/32\",\r\n \"23.99.10.185/32\",\r\n + \ \"23.99.34.75/32\",\r\n \"23.99.34.76/31\",\r\n \"23.99.34.78/32\",\r\n + \ \"23.99.37.235/32\",\r\n \"23.99.37.236/32\",\r\n \"23.99.57.14/32\",\r\n + \ \"23.99.80.243/32\",\r\n \"23.99.89.212/32\",\r\n \"23.99.90.75/32\",\r\n + \ \"23.99.91.130/32\",\r\n \"23.99.102.124/32\",\r\n \"23.99.118.196/32\",\r\n + \ \"23.99.160.139/32\",\r\n \"23.99.160.140/31\",\r\n \"23.99.160.142/32\",\r\n + \ \"23.99.205.183/32\",\r\n \"23.100.117.95/32\",\r\n \"23.100.119.70/32\",\r\n + \ \"23.101.18.228/32\",\r\n \"23.101.64.10/32\",\r\n \"23.101.165.167/32\",\r\n + \ \"23.101.167.45/32\",\r\n \"23.101.170.98/32\",\r\n \"23.102.16.130/32\",\r\n + \ \"23.102.23.219/32\",\r\n \"23.102.25.199/32\",\r\n \"23.102.52.155/32\",\r\n + \ \"23.102.57.142/32\",\r\n \"23.102.62.171/32\",\r\n \"23.102.69.95/32\",\r\n + \ \"23.102.71.13/32\",\r\n \"23.102.74.190/32\",\r\n \"23.102.172.251/32\",\r\n + \ \"23.102.173.220/32\",\r\n \"23.102.174.146/32\",\r\n \"23.102.179.187/32\",\r\n + \ \"23.102.206.35/32\",\r\n \"23.102.206.36/31\",\r\n \"40.67.53.0/25\",\r\n + \ \"40.67.56.0/27\",\r\n \"40.67.56.32/29\",\r\n \"40.67.57.0/27\",\r\n + \ \"40.68.37.158/32\",\r\n \"40.68.215.206/32\",\r\n \"40.68.220.16/32\",\r\n + \ \"40.69.104.0/27\",\r\n \"40.69.105.0/27\",\r\n \"40.69.105.32/29\",\r\n + \ \"40.69.132.90/32\",\r\n \"40.69.143.202/32\",\r\n \"40.69.169.120/32\",\r\n + \ \"40.69.189.48/32\",\r\n \"40.70.144.0/26\",\r\n \"40.70.144.192/29\",\r\n + \ \"40.70.145.0/26\",\r\n \"40.71.8.0/26\",\r\n \"40.71.8.192/26\",\r\n + \ \"40.71.9.0/26\",\r\n \"40.71.9.192/26\",\r\n \"40.71.83.113/32\",\r\n + \ \"40.71.196.33/32\",\r\n \"40.71.211.227/32\",\r\n \"40.71.226.18/32\",\r\n + \ \"40.74.51.145/32\",\r\n \"40.74.53.36/32\",\r\n \"40.74.60.91/32\",\r\n + \ \"40.74.96.0/27\",\r\n \"40.74.96.32/29\",\r\n \"40.74.97.0/27\",\r\n + \ \"40.74.114.22/32\",\r\n \"40.74.115.153/32\",\r\n \"40.74.135.185/32\",\r\n + \ \"40.74.144.0/27\",\r\n \"40.74.144.32/29\",\r\n \"40.74.145.0/27\",\r\n + \ \"40.74.145.32/29\",\r\n \"40.74.254.156/32\",\r\n \"40.75.32.0/27\",\r\n + \ \"40.75.32.40/29\",\r\n \"40.75.33.0/27\",\r\n \"40.75.33.32/29\",\r\n + \ \"40.76.2.172/32\",\r\n \"40.76.26.90/32\",\r\n \"40.76.42.44/32\",\r\n + \ \"40.76.65.222/32\",\r\n \"40.76.66.9/32\",\r\n \"40.76.193.221/32\",\r\n + \ \"40.76.209.171/32\",\r\n \"40.76.219.185/32\",\r\n \"40.77.30.201/32\",\r\n + \ \"40.78.16.122/32\",\r\n \"40.78.23.252/32\",\r\n \"40.78.31.250/32\",\r\n + \ \"40.78.57.109/32\",\r\n \"40.78.101.91/32\",\r\n \"40.78.110.18/32\",\r\n + \ \"40.78.111.189/32\",\r\n \"40.78.192.0/27\",\r\n \"40.78.192.32/29\",\r\n + \ \"40.78.193.0/27\",\r\n \"40.78.193.32/29\",\r\n \"40.78.200.128/29\",\r\n + \ \"40.78.201.128/29\",\r\n \"40.78.224.0/26\",\r\n \"40.78.224.128/26\",\r\n + \ \"40.78.225.0/26\",\r\n \"40.78.225.128/26\",\r\n \"40.78.232.0/26\",\r\n + \ \"40.78.232.192/29\",\r\n \"40.78.233.0/26\",\r\n \"40.78.240.0/26\",\r\n + \ \"40.78.240.192/29\",\r\n \"40.78.241.0/26\",\r\n \"40.78.248.0/26\",\r\n + \ \"40.78.248.192/29\",\r\n \"40.78.249.0/26\",\r\n \"40.79.84.180/32\",\r\n + \ \"40.79.128.0/27\",\r\n \"40.79.128.32/29\",\r\n \"40.79.129.0/27\",\r\n + \ \"40.79.136.0/27\",\r\n \"40.79.136.32/29\",\r\n \"40.79.137.0/27\",\r\n + \ \"40.79.144.0/27\",\r\n \"40.79.144.32/29\",\r\n \"40.79.145.0/27\",\r\n + \ \"40.79.152.0/26\",\r\n \"40.79.152.192/26\",\r\n \"40.79.153.0/26\",\r\n + \ \"40.79.153.192/26\",\r\n \"40.79.160.0/27\",\r\n \"40.79.160.32/29\",\r\n + \ \"40.79.161.0/27\",\r\n \"40.79.168.0/27\",\r\n \"40.79.168.32/29\",\r\n + \ \"40.79.169.0/27\",\r\n \"40.79.176.0/27\",\r\n \"40.79.176.40/29\",\r\n + \ \"40.79.177.0/27\",\r\n \"40.79.177.32/29\",\r\n \"40.79.184.0/27\",\r\n + \ \"40.79.184.32/29\",\r\n \"40.79.185.0/27\",\r\n \"40.79.192.0/27\",\r\n + \ \"40.79.192.32/29\",\r\n \"40.79.193.0/27\",\r\n \"40.80.48.0/27\",\r\n + \ \"40.80.48.32/29\",\r\n \"40.80.49.0/27\",\r\n \"40.83.178.165/32\",\r\n + \ \"40.83.186.249/32\",\r\n \"40.84.5.64/32\",\r\n \"40.84.54.249/32\",\r\n + \ \"40.84.153.95/32\",\r\n \"40.84.155.210/32\",\r\n \"40.84.156.165/32\",\r\n + \ \"40.84.191.1/32\",\r\n \"40.84.193.16/32\",\r\n \"40.84.195.189/32\",\r\n + \ \"40.84.231.203/32\",\r\n \"40.85.102.50/32\",\r\n \"40.85.224.249/32\",\r\n + \ \"40.85.225.5/32\",\r\n \"40.86.75.134/32\",\r\n \"40.86.226.166/32\",\r\n + \ \"40.86.226.230/32\",\r\n \"40.112.139.250/32\",\r\n \"40.112.240.0/27\",\r\n + \ \"40.112.246.0/27\",\r\n \"40.113.14.53/32\",\r\n \"40.113.16.190/32\",\r\n + \ \"40.113.17.148/32\",\r\n \"40.113.20.38/32\",\r\n \"40.113.93.91/32\",\r\n + \ \"40.113.200.119/32\",\r\n \"40.114.40.118/32\",\r\n \"40.114.43.106/32\",\r\n + \ \"40.114.45.195/32\",\r\n \"40.114.46.128/32\",\r\n \"40.114.46.212/32\",\r\n + \ \"40.114.81.142/32\",\r\n \"40.114.240.125/32\",\r\n \"40.114.240.162/32\",\r\n + \ \"40.115.37.61/32\",\r\n \"40.115.51.118/32\",\r\n \"40.115.52.141/32\",\r\n + \ \"40.115.53.255/32\",\r\n \"40.115.61.208/32\",\r\n \"40.117.42.73/32\",\r\n + \ \"40.117.44.71/32\",\r\n \"40.117.90.115/32\",\r\n \"40.117.97.189/32\",\r\n + \ \"40.118.12.208/32\",\r\n \"40.118.129.167/32\",\r\n \"40.118.170.1/32\",\r\n + \ \"40.118.209.206/32\",\r\n \"40.118.244.227/32\",\r\n \"40.118.249.123/32\",\r\n + \ \"40.118.250.19/32\",\r\n \"40.120.72.0/27\",\r\n \"40.120.72.32/29\",\r\n + \ \"40.120.73.0/27\",\r\n \"40.121.143.204/32\",\r\n \"40.121.149.49/32\",\r\n + \ \"40.121.154.241/32\",\r\n \"40.121.158.30/32\",\r\n \"40.122.205.105/32\",\r\n + \ \"40.122.215.111/32\",\r\n \"40.124.8.76/32\",\r\n \"40.124.64.136/29\",\r\n + \ \"40.126.228.153/32\",\r\n \"40.126.230.223/32\",\r\n \"40.126.232.113/32\",\r\n + \ \"40.126.233.152/32\",\r\n \"40.126.250.24/32\",\r\n \"40.127.82.69/32\",\r\n + \ \"40.127.83.164/32\",\r\n \"40.127.128.10/32\",\r\n \"40.127.135.67/32\",\r\n + \ \"40.127.137.209/32\",\r\n \"40.127.141.194/32\",\r\n \"40.127.177.139/32\",\r\n + \ \"40.127.190.50/32\",\r\n \"51.12.46.32/27\",\r\n \"51.12.46.64/27\",\r\n + \ \"51.12.46.128/26\",\r\n \"51.12.96.0/27\",\r\n \"51.12.96.32/29\",\r\n + \ \"51.12.97.0/27\",\r\n \"51.12.198.32/27\",\r\n \"51.12.198.64/27\",\r\n + \ \"51.12.198.128/26\",\r\n \"51.12.200.0/27\",\r\n \"51.12.200.32/29\",\r\n + \ \"51.12.201.0/27\",\r\n \"51.12.201.32/29\",\r\n \"51.12.224.0/27\",\r\n + \ \"51.12.224.32/29\",\r\n \"51.12.225.0/27\",\r\n \"51.12.232.0/27\",\r\n + \ \"51.12.232.32/29\",\r\n \"51.12.233.0/27\",\r\n \"51.13.136.224/27\",\r\n + \ \"51.13.137.0/27\",\r\n \"51.13.137.64/26\",\r\n \"51.105.64.0/27\",\r\n + \ \"51.105.64.32/29\",\r\n \"51.105.65.0/27\",\r\n \"51.105.72.0/27\",\r\n + \ \"51.105.72.32/29\",\r\n \"51.105.73.0/27\",\r\n \"51.107.56.0/27\",\r\n + \ \"51.107.56.32/29\",\r\n \"51.107.57.0/27\",\r\n \"51.107.152.0/27\",\r\n + \ \"51.107.153.0/27\",\r\n \"51.107.153.32/29\",\r\n \"51.107.242.32/27\",\r\n + \ \"51.107.242.64/27\",\r\n \"51.107.242.128/26\",\r\n \"51.107.250.64/26\",\r\n + \ \"51.107.250.128/26\",\r\n \"51.116.54.96/27\",\r\n \"51.116.54.128/27\",\r\n + \ \"51.116.54.192/26\",\r\n \"51.116.56.0/27\",\r\n \"51.116.57.0/27\",\r\n + \ \"51.116.57.32/29\",\r\n \"51.116.149.32/27\",\r\n \"51.116.149.64/27\",\r\n + \ \"51.116.149.128/26\",\r\n \"51.116.152.0/27\",\r\n \"51.116.152.32/29\",\r\n + \ \"51.116.153.0/27\",\r\n \"51.116.240.0/27\",\r\n \"51.116.240.32/29\",\r\n + \ \"51.116.241.0/27\",\r\n \"51.116.248.0/27\",\r\n \"51.116.248.32/29\",\r\n + \ \"51.116.249.0/27\",\r\n \"51.120.96.0/27\",\r\n \"51.120.96.32/29\",\r\n + \ \"51.120.97.0/27\",\r\n \"51.120.104.0/27\",\r\n \"51.120.104.32/29\",\r\n + \ \"51.120.105.0/27\",\r\n \"51.120.208.0/27\",\r\n \"51.120.208.32/29\",\r\n + \ \"51.120.209.0/27\",\r\n \"51.120.216.0/27\",\r\n \"51.120.217.0/27\",\r\n + \ \"51.120.217.32/29\",\r\n \"51.120.232.192/26\",\r\n \"51.120.233.0/26\",\r\n + \ \"51.138.210.0/26\",\r\n \"51.140.77.9/32\",\r\n \"51.140.114.26/32\",\r\n + \ \"51.140.115.150/32\",\r\n \"51.140.144.0/27\",\r\n \"51.140.144.32/29\",\r\n + \ \"51.140.145.0/27\",\r\n \"51.140.180.9/32\",\r\n \"51.140.183.238/32\",\r\n + \ \"51.140.184.11/32\",\r\n \"51.140.184.12/32\",\r\n \"51.140.208.64/27\",\r\n + \ \"51.140.208.96/29\",\r\n \"51.140.209.0/27\",\r\n \"51.140.209.32/29\",\r\n + \ \"51.141.8.11/32\",\r\n \"51.141.8.12/32\",\r\n \"51.141.15.53/32\",\r\n + \ \"51.141.25.212/32\",\r\n \"51.142.211.129/32\",\r\n \"51.143.209.224/27\",\r\n + \ \"51.143.212.0/27\",\r\n \"51.143.212.64/26\",\r\n \"52.136.53.160/27\",\r\n + \ \"52.136.53.192/27\",\r\n \"52.136.185.0/25\",\r\n \"52.138.88.0/27\",\r\n + \ \"52.138.88.32/29\",\r\n \"52.138.89.0/27\",\r\n \"52.138.89.32/29\",\r\n + \ \"52.138.224.0/26\",\r\n \"52.138.224.128/26\",\r\n \"52.138.225.0/26\",\r\n + \ \"52.138.225.128/26\",\r\n \"52.138.229.72/29\",\r\n \"52.139.106.192/26\",\r\n + \ \"52.139.107.0/26\",\r\n \"52.146.133.128/25\",\r\n \"52.147.112.160/27\",\r\n + \ \"52.161.15.204/32\",\r\n \"52.161.100.158/32\",\r\n \"52.161.105.228/32\",\r\n + \ \"52.161.128.32/27\",\r\n \"52.162.104.0/26\",\r\n \"52.162.105.0/26\",\r\n + \ \"52.162.105.192/29\",\r\n \"52.162.125.1/32\",\r\n \"52.162.241.250/32\",\r\n + \ \"52.165.184.67/32\",\r\n \"52.166.76.0/32\",\r\n \"52.166.131.195/32\",\r\n + \ \"52.167.104.0/26\",\r\n \"52.167.104.192/29\",\r\n \"52.167.105.0/26\",\r\n + \ \"52.167.117.226/32\",\r\n \"52.168.116.64/29\",\r\n \"52.168.166.153/32\",\r\n + \ \"52.168.169.124/32\",\r\n \"52.168.183.223/32\",\r\n \"52.170.41.199/32\",\r\n + \ \"52.170.97.16/32\",\r\n \"52.170.98.29/32\",\r\n \"52.171.56.10/32\",\r\n + \ \"52.172.24.47/32\",\r\n \"52.172.43.208/32\",\r\n \"52.172.113.96/27\",\r\n + \ \"52.172.113.128/27\",\r\n \"52.172.113.192/26\",\r\n \"52.172.217.233/32\",\r\n + \ \"52.172.221.154/32\",\r\n \"52.173.205.59/32\",\r\n \"52.175.33.150/32\",\r\n + \ \"52.176.43.167/32\",\r\n \"52.176.59.12/32\",\r\n \"52.176.95.237/32\",\r\n + \ \"52.176.100.98/32\",\r\n \"52.177.185.181/32\",\r\n \"52.177.197.103/32\",\r\n + \ \"52.177.200.215/32\",\r\n \"52.179.16.95/32\",\r\n \"52.179.157.248/32\",\r\n + \ \"52.179.165.160/32\",\r\n \"52.179.167.70/32\",\r\n \"52.179.178.184/32\",\r\n + \ \"52.180.176.154/31\",\r\n \"52.180.183.226/32\",\r\n \"52.182.136.0/26\",\r\n + \ \"52.182.136.192/29\",\r\n \"52.182.137.0/26\",\r\n \"52.183.250.62/32\",\r\n + \ \"52.184.192.175/32\",\r\n \"52.184.231.0/32\",\r\n \"52.185.152.149/32\",\r\n + \ \"52.187.15.214/32\",\r\n \"52.187.76.130/32\",\r\n \"52.191.144.64/26\",\r\n + \ \"52.191.152.64/26\",\r\n \"52.191.172.187/32\",\r\n \"52.191.174.114/32\",\r\n + \ \"52.225.188.46/32\",\r\n \"52.225.188.113/32\",\r\n \"52.225.222.124/32\",\r\n + \ \"52.228.24.103/32\",\r\n \"52.228.35.221/32\",\r\n \"52.228.39.117/32\",\r\n + \ \"52.229.17.93/32\",\r\n \"52.229.122.195/32\",\r\n \"52.229.123.147/32\",\r\n + \ \"52.229.124.23/32\",\r\n \"52.231.16.0/27\",\r\n \"52.231.16.32/29\",\r\n + \ \"52.231.17.0/27\",\r\n \"52.231.32.42/31\",\r\n \"52.231.39.56/32\",\r\n + \ \"52.231.144.0/27\",\r\n \"52.231.145.0/27\",\r\n \"52.231.151.96/27\",\r\n + \ \"52.231.200.86/31\",\r\n \"52.231.206.133/32\",\r\n \"52.236.184.0/27\",\r\n + \ \"52.236.184.32/29\",\r\n \"52.236.184.128/25\",\r\n \"52.236.185.0/27\",\r\n + \ \"52.236.185.128/25\",\r\n \"52.237.28.86/32\",\r\n \"52.237.219.227/32\",\r\n + \ \"52.242.26.53/32\",\r\n \"52.242.29.91/32\",\r\n \"52.242.30.154/32\",\r\n + \ \"52.242.36.107/32\",\r\n \"52.243.32.19/32\",\r\n \"52.243.43.186/32\",\r\n + \ \"52.246.152.0/27\",\r\n \"52.246.152.32/29\",\r\n \"52.246.153.0/27\",\r\n + \ \"52.246.251.248/32\",\r\n \"52.255.48.161/32\",\r\n \"65.52.208.91/32\",\r\n + \ \"65.52.213.108/32\",\r\n \"65.52.214.127/32\",\r\n \"65.52.218.82/32\",\r\n + \ \"65.52.225.245/32\",\r\n \"65.52.226.209/32\",\r\n \"65.52.248.0/27\",\r\n + \ \"65.52.248.32/29\",\r\n \"65.52.249.0/27\",\r\n \"102.37.80.96/27\",\r\n + \ \"102.37.80.128/27\",\r\n \"102.37.80.192/26\",\r\n \"102.37.160.0/27\",\r\n + \ \"102.37.160.64/26\",\r\n \"102.133.24.0/27\",\r\n \"102.133.25.0/27\",\r\n + \ \"102.133.25.32/29\",\r\n \"102.133.120.0/27\",\r\n \"102.133.120.32/29\",\r\n + \ \"102.133.121.0/27\",\r\n \"102.133.152.0/27\",\r\n \"102.133.152.32/29\",\r\n + \ \"102.133.153.0/27\",\r\n \"102.133.221.224/27\",\r\n \"102.133.248.0/27\",\r\n + \ \"102.133.248.32/29\",\r\n \"102.133.249.0/27\",\r\n \"104.40.28.188/32\",\r\n + \ \"104.40.49.103/32\",\r\n \"104.40.54.130/32\",\r\n \"104.40.82.151/32\",\r\n + \ \"104.40.155.247/32\",\r\n \"104.40.168.64/26\",\r\n \"104.40.168.192/26\",\r\n + \ \"104.40.169.0/27\",\r\n \"104.40.169.32/29\",\r\n \"104.40.169.128/25\",\r\n + \ \"104.40.180.164/32\",\r\n \"104.40.220.28/32\",\r\n \"104.40.230.18/32\",\r\n + \ \"104.40.232.54/32\",\r\n \"104.40.237.111/32\",\r\n \"104.41.11.5/32\",\r\n + \ \"104.41.13.213/32\",\r\n \"104.41.13.233/32\",\r\n \"104.41.36.39/32\",\r\n + \ \"104.41.56.218/32\",\r\n \"104.41.57.82/32\",\r\n \"104.41.59.170/32\",\r\n + \ \"104.41.150.1/32\",\r\n \"104.41.152.74/32\",\r\n \"104.41.168.103/32\",\r\n + \ \"104.41.169.34/32\",\r\n \"104.41.202.30/32\",\r\n \"104.41.205.195/32\",\r\n + \ \"104.41.208.104/32\",\r\n \"104.41.210.68/32\",\r\n \"104.41.211.98/32\",\r\n + \ \"104.42.120.235/32\",\r\n \"104.42.127.95/32\",\r\n \"104.42.136.93/32\",\r\n + \ \"104.42.188.130/32\",\r\n \"104.42.192.190/32\",\r\n \"104.42.199.221/32\",\r\n + \ \"104.42.231.253/32\",\r\n \"104.42.237.198/32\",\r\n \"104.42.238.205/32\",\r\n + \ \"104.43.10.74/32\",\r\n \"104.43.15.0/32\",\r\n \"104.43.164.21/32\",\r\n + \ \"104.43.164.247/32\",\r\n \"104.43.203.72/32\",\r\n \"104.45.11.99/32\",\r\n + \ \"104.45.14.115/32\",\r\n \"104.45.158.30/32\",\r\n \"104.46.38.143/32\",\r\n + \ \"104.46.40.24/32\",\r\n \"104.46.100.189/32\",\r\n \"104.46.108.148/32\",\r\n + \ \"104.46.179.160/27\",\r\n \"104.46.179.192/27\",\r\n \"104.46.183.0/26\",\r\n + \ \"104.47.157.97/32\",\r\n \"104.208.21.0/26\",\r\n \"104.208.21.192/29\",\r\n + \ \"104.208.22.0/26\",\r\n \"104.208.28.16/32\",\r\n \"104.208.28.53/32\",\r\n + \ \"104.208.149.0/26\",\r\n \"104.208.150.0/26\",\r\n \"104.208.150.192/29\",\r\n + \ \"104.208.161.78/32\",\r\n \"104.208.163.201/32\",\r\n + \ \"104.208.233.240/32\",\r\n \"104.208.238.55/32\",\r\n + \ \"104.208.241.224/32\",\r\n \"104.209.186.94/32\",\r\n + \ \"104.210.32.128/32\",\r\n \"104.210.105.215/32\",\r\n + \ \"104.211.85.0/27\",\r\n \"104.211.86.0/27\",\r\n \"104.211.86.32/29\",\r\n + \ \"104.211.96.159/32\",\r\n \"104.211.96.160/32\",\r\n \"104.211.144.0/27\",\r\n + \ \"104.211.144.32/29\",\r\n \"104.211.145.0/27\",\r\n \"104.211.145.32/29\",\r\n + \ \"104.211.160.80/31\",\r\n \"104.211.185.58/32\",\r\n \"104.211.190.46/32\",\r\n + \ \"104.211.224.146/31\",\r\n \"104.214.16.0/26\",\r\n \"104.214.16.192/26\",\r\n + \ \"104.214.17.0/26\",\r\n \"104.214.17.192/26\",\r\n \"104.214.67.25/32\",\r\n + \ \"104.214.73.137/32\",\r\n \"104.214.78.242/32\",\r\n \"104.214.148.156/32\",\r\n + \ \"104.214.150.17/32\",\r\n \"104.215.195.14/32\",\r\n \"104.215.196.52/32\",\r\n + \ \"111.221.106.161/32\",\r\n \"137.116.31.224/27\",\r\n + \ \"137.116.129.110/32\",\r\n \"137.116.203.91/32\",\r\n + \ \"137.135.51.212/32\",\r\n \"137.135.109.63/32\",\r\n \"137.135.186.126/32\",\r\n + \ \"137.135.189.158/32\",\r\n \"137.135.205.85/32\",\r\n + \ \"137.135.213.9/32\",\r\n \"138.91.48.99/32\",\r\n \"138.91.58.227/32\",\r\n + \ \"138.91.145.12/32\",\r\n \"138.91.160.189/32\",\r\n \"138.91.240.14/32\",\r\n + \ \"138.91.246.31/32\",\r\n \"138.91.247.51/32\",\r\n \"138.91.251.139/32\",\r\n + \ \"157.55.208.150/32\",\r\n \"168.61.136.0/27\",\r\n \"168.61.137.0/27\",\r\n + \ \"168.62.115.112/28\",\r\n \"168.62.232.188/32\",\r\n \"168.62.235.49/32\",\r\n + \ \"168.62.235.241/32\",\r\n \"168.62.239.29/32\",\r\n \"168.63.13.214/32\",\r\n + \ \"168.63.98.91/32\",\r\n \"168.63.175.68/32\",\r\n \"191.233.15.160/27\",\r\n + \ \"191.233.15.192/27\",\r\n \"191.233.48.0/27\",\r\n \"191.233.48.32/29\",\r\n + \ \"191.233.49.0/27\",\r\n \"191.233.69.227/32\",\r\n \"191.233.90.117/32\",\r\n + \ \"191.233.200.0/27\",\r\n \"191.233.200.32/29\",\r\n \"191.233.201.0/27\",\r\n + \ \"191.234.2.139/32\",\r\n \"191.234.2.140/31\",\r\n \"191.234.2.142/32\",\r\n + \ \"191.234.142.160/27\",\r\n \"191.234.142.192/27\",\r\n + \ \"191.234.144.0/27\",\r\n \"191.234.144.32/29\",\r\n \"191.234.145.0/27\",\r\n + \ \"191.234.152.0/26\",\r\n \"191.234.153.0/26\",\r\n \"191.235.170.58/32\",\r\n + \ \"191.235.193.75/32\",\r\n \"191.235.193.76/31\",\r\n \"191.235.193.78/32\",\r\n + \ \"191.235.193.139/32\",\r\n \"191.235.193.140/31\",\r\n + \ \"191.235.209.79/32\",\r\n \"191.236.119.31/32\",\r\n \"191.236.148.44/32\",\r\n + \ \"191.236.153.120/32\",\r\n \"191.237.20.112/32\",\r\n + \ \"191.237.82.74/32\",\r\n \"191.237.219.202/32\",\r\n \"191.237.232.75/32\",\r\n + \ \"191.237.232.76/31\",\r\n \"191.237.232.78/32\",\r\n \"191.237.232.235/32\",\r\n + \ \"191.237.232.236/31\",\r\n \"191.237.240.43/32\",\r\n + \ \"191.237.240.44/32\",\r\n \"191.237.240.46/32\",\r\n \"191.238.6.43/32\",\r\n + \ \"191.238.6.44/31\",\r\n \"191.238.6.46/32\",\r\n \"191.238.68.11/32\",\r\n + \ \"191.238.68.12/31\",\r\n \"191.238.68.14/32\",\r\n \"191.238.224.203/32\",\r\n + \ \"191.238.230.40/32\",\r\n \"191.239.12.154/32\",\r\n \"191.239.189.48/32\",\r\n + \ \"191.239.192.109/32\",\r\n \"191.239.224.107/32\",\r\n + \ \"191.239.224.108/31\",\r\n \"191.239.224.110/32\",\r\n + \ \"207.46.139.82/32\",\r\n \"207.46.140.180/32\",\r\n \"207.46.153.182/32\",\r\n + \ \"2603:1000:4::280/123\",\r\n \"2603:1000:4:1::200/121\",\r\n + \ \"2603:1000:4:400::/123\",\r\n \"2603:1000:4:401::/123\",\r\n + \ \"2603:1000:104::640/123\",\r\n \"2603:1000:104::680/121\",\r\n + \ \"2603:1000:104:400::/123\",\r\n \"2603:1000:104:401::/123\",\r\n + \ \"2603:1000:104:800::/123\",\r\n \"2603:1000:104:801::/123\",\r\n + \ \"2603:1000:104:c00::/123\",\r\n \"2603:1000:104:c01::/123\",\r\n + \ \"2603:1010:6::320/123\",\r\n \"2603:1010:6::380/121\",\r\n + \ \"2603:1010:6:400::/123\",\r\n \"2603:1010:6:401::/123\",\r\n + \ \"2603:1010:6:800::/123\",\r\n \"2603:1010:6:801::/123\",\r\n + \ \"2603:1010:6:c00::/123\",\r\n \"2603:1010:6:c01::/123\",\r\n + \ \"2603:1010:101::280/123\",\r\n \"2603:1010:101:1::200/121\",\r\n + \ \"2603:1010:101:400::/123\",\r\n \"2603:1010:304::280/123\",\r\n + \ \"2603:1010:304:1::200/121\",\r\n \"2603:1010:304:400::/123\",\r\n + \ \"2603:1010:404::280/123\",\r\n \"2603:1010:404:1::200/121\",\r\n + \ \"2603:1010:404:400::/123\",\r\n \"2603:1020:5::320/123\",\r\n + \ \"2603:1020:5::380/121\",\r\n \"2603:1020:5:400::/123\",\r\n + \ \"2603:1020:5:401::/123\",\r\n \"2603:1020:5:800::/123\",\r\n + \ \"2603:1020:5:801::/123\",\r\n \"2603:1020:5:c00::/123\",\r\n + \ \"2603:1020:5:c01::/123\",\r\n \"2603:1020:206::320/123\",\r\n + \ \"2603:1020:206::380/121\",\r\n \"2603:1020:206:400::/123\",\r\n + \ \"2603:1020:206:401::/123\",\r\n \"2603:1020:206:800::/123\",\r\n + \ \"2603:1020:206:801::/123\",\r\n \"2603:1020:206:c00::/123\",\r\n + \ \"2603:1020:206:c01::/123\",\r\n \"2603:1020:605::280/123\",\r\n + \ \"2603:1020:605:1::200/121\",\r\n \"2603:1020:605:400::/123\",\r\n + \ \"2603:1020:705::320/123\",\r\n \"2603:1020:705::380/121\",\r\n + \ \"2603:1020:705:400::/123\",\r\n \"2603:1020:705:401::/123\",\r\n + \ \"2603:1020:705:800::/123\",\r\n \"2603:1020:705:801::/123\",\r\n + \ \"2603:1020:705:c00::/123\",\r\n \"2603:1020:705:c01::/123\",\r\n + \ \"2603:1020:805::320/123\",\r\n \"2603:1020:805::380/121\",\r\n + \ \"2603:1020:805:400::/123\",\r\n \"2603:1020:805:401::/123\",\r\n + \ \"2603:1020:805:800::/123\",\r\n \"2603:1020:805:801::/123\",\r\n + \ \"2603:1020:805:c00::/123\",\r\n \"2603:1020:805:c01::/123\",\r\n + \ \"2603:1020:905::280/123\",\r\n \"2603:1020:905:1::200/121\",\r\n + \ \"2603:1020:905:400::/123\",\r\n \"2603:1020:a04::320/123\",\r\n + \ \"2603:1020:a04::380/121\",\r\n \"2603:1020:a04:400::/123\",\r\n + \ \"2603:1020:a04:401::/123\",\r\n \"2603:1020:a04:800::/123\",\r\n + \ \"2603:1020:a04:801::/123\",\r\n \"2603:1020:a04:c00::/123\",\r\n + \ \"2603:1020:a04:c01::/123\",\r\n \"2603:1020:b04::280/123\",\r\n + \ \"2603:1020:b04:1::200/121\",\r\n \"2603:1020:b04:400::/123\",\r\n + \ \"2603:1020:c04::320/123\",\r\n \"2603:1020:c04::380/121\",\r\n + \ \"2603:1020:c04:400::/123\",\r\n \"2603:1020:c04:401::/123\",\r\n + \ \"2603:1020:c04:800::/123\",\r\n \"2603:1020:c04:801::/123\",\r\n + \ \"2603:1020:c04:c00::/123\",\r\n \"2603:1020:c04:c01::/123\",\r\n + \ \"2603:1020:d04::280/123\",\r\n \"2603:1020:d04:1::200/121\",\r\n + \ \"2603:1020:d04:400::/123\",\r\n \"2603:1020:e04::320/123\",\r\n + \ \"2603:1020:e04::380/121\",\r\n \"2603:1020:e04:400::/123\",\r\n + \ \"2603:1020:e04:401::/123\",\r\n \"2603:1020:e04:800::/123\",\r\n + \ \"2603:1020:e04:801::/123\",\r\n \"2603:1020:e04:c00::/123\",\r\n + \ \"2603:1020:e04:c01::/123\",\r\n \"2603:1020:f04::280/123\",\r\n + \ \"2603:1020:f04:1::200/121\",\r\n \"2603:1020:f04:400::/123\",\r\n + \ \"2603:1020:1004:1::520/123\",\r\n \"2603:1020:1004:1::580/121\",\r\n + \ \"2603:1020:1004:400::400/123\",\r\n \"2603:1020:1004:402::/123\",\r\n + \ \"2603:1020:1004:403::/123\",\r\n \"2603:1020:1004:802::/123\",\r\n + \ \"2603:1020:1004:803::/123\",\r\n \"2603:1020:1004:c03::/123\",\r\n + \ \"2603:1020:1004:c04::/123\",\r\n \"2603:1020:1104::500/123\",\r\n + \ \"2603:1020:1104:1::300/121\",\r\n \"2603:1020:1104:400::420/123\",\r\n + \ \"2603:1020:1104:402::/123\",\r\n \"2603:1030:f:1::280/123\",\r\n + \ \"2603:1030:f:2::200/121\",\r\n \"2603:1030:f:402::/122\",\r\n + \ \"2603:1030:f:403::/122\",\r\n \"2603:1030:10::320/123\",\r\n + \ \"2603:1030:10::380/121\",\r\n \"2603:1030:10:400::/123\",\r\n + \ \"2603:1030:10:401::/123\",\r\n \"2603:1030:10:800::/123\",\r\n + \ \"2603:1030:10:801::/123\",\r\n \"2603:1030:10:c00::/123\",\r\n + \ \"2603:1030:10:c01::/123\",\r\n \"2603:1030:104::320/123\",\r\n + \ \"2603:1030:104::380/121\",\r\n \"2603:1030:104:400::/123\",\r\n + \ \"2603:1030:104:401::/123\",\r\n \"2603:1030:107:1::380/123\",\r\n + \ \"2603:1030:107:401::40/122\",\r\n \"2603:1030:107:402::40/123\",\r\n + \ \"2603:1030:210::320/123\",\r\n \"2603:1030:210::380/121\",\r\n + \ \"2603:1030:210:400::/123\",\r\n \"2603:1030:210:401::/123\",\r\n + \ \"2603:1030:210:800::/123\",\r\n \"2603:1030:210:801::/123\",\r\n + \ \"2603:1030:210:c00::/123\",\r\n \"2603:1030:210:c01::/123\",\r\n + \ \"2603:1030:40b:2::200/123\",\r\n \"2603:1030:40b:2::280/121\",\r\n + \ \"2603:1030:40b:402::/122\",\r\n \"2603:1030:40b:403::/122\",\r\n + \ \"2603:1030:40b:802::/122\",\r\n \"2603:1030:40b:803::/122\",\r\n + \ \"2603:1030:40b:c02::/122\",\r\n \"2603:1030:40b:c03::/122\",\r\n + \ \"2603:1030:40c::320/123\",\r\n \"2603:1030:40c::380/121\",\r\n + \ \"2603:1030:40c:400::/123\",\r\n \"2603:1030:40c:401::/123\",\r\n + \ \"2603:1030:40c:800::/123\",\r\n \"2603:1030:40c:801::/123\",\r\n + \ \"2603:1030:40c:c00::/123\",\r\n \"2603:1030:40c:c01::/123\",\r\n + \ \"2603:1030:504::520/123\",\r\n \"2603:1030:504::580/121\",\r\n + \ \"2603:1030:504:400::/123\",\r\n \"2603:1030:504:401::/123\",\r\n + \ \"2603:1030:504:800::/123\",\r\n \"2603:1030:504:801::/123\",\r\n + \ \"2603:1030:504:c00::/123\",\r\n \"2603:1030:504:c01::/123\",\r\n + \ \"2603:1030:608::280/123\",\r\n \"2603:1030:608:1::200/121\",\r\n + \ \"2603:1030:608:400::/123\",\r\n \"2603:1030:807::320/123\",\r\n + \ \"2603:1030:807::380/121\",\r\n \"2603:1030:807:400::/123\",\r\n + \ \"2603:1030:807:401::/123\",\r\n \"2603:1030:807:800::/123\",\r\n + \ \"2603:1030:807:801::/123\",\r\n \"2603:1030:807:c00::/123\",\r\n + \ \"2603:1030:807:c01::/123\",\r\n \"2603:1030:a07::280/123\",\r\n + \ \"2603:1030:a07:1::200/121\",\r\n \"2603:1030:a07:400::/123\",\r\n + \ \"2603:1030:b04::280/123\",\r\n \"2603:1030:b04:1::200/121\",\r\n + \ \"2603:1030:b04:400::/123\",\r\n \"2603:1030:c06:2::200/123\",\r\n + \ \"2603:1030:c06:2::280/121\",\r\n \"2603:1030:c06:401::/123\",\r\n + \ \"2603:1030:c06:402::/123\",\r\n \"2603:1030:c06:800::/123\",\r\n + \ \"2603:1030:c06:801::/123\",\r\n \"2603:1030:c06:c00::/123\",\r\n + \ \"2603:1030:c06:c01::/123\",\r\n \"2603:1030:f05::320/123\",\r\n + \ \"2603:1030:f05::380/121\",\r\n \"2603:1030:f05:400::/123\",\r\n + \ \"2603:1030:f05:401::/123\",\r\n \"2603:1030:f05:800::/123\",\r\n + \ \"2603:1030:f05:801::/123\",\r\n \"2603:1030:f05:c00::/123\",\r\n + \ \"2603:1030:f05:c01::/123\",\r\n \"2603:1030:1005::280/123\",\r\n + \ \"2603:1030:1005:1::200/121\",\r\n \"2603:1030:1005:400::/123\",\r\n + \ \"2603:1040:5::420/123\",\r\n \"2603:1040:5::480/121\",\r\n + \ \"2603:1040:5:400::/123\",\r\n \"2603:1040:5:401::/123\",\r\n + \ \"2603:1040:5:800::/123\",\r\n \"2603:1040:5:801::/123\",\r\n + \ \"2603:1040:5:c00::/123\",\r\n \"2603:1040:5:c01::/123\",\r\n + \ \"2603:1040:207::280/123\",\r\n \"2603:1040:207:1::200/121\",\r\n + \ \"2603:1040:207:400::/123\",\r\n \"2603:1040:207:401::/123\",\r\n + \ \"2603:1040:407::320/123\",\r\n \"2603:1040:407::380/121\",\r\n + \ \"2603:1040:407:400::/123\",\r\n \"2603:1040:407:401::/123\",\r\n + \ \"2603:1040:407:800::/123\",\r\n \"2603:1040:407:801::/123\",\r\n + \ \"2603:1040:407:c00::/123\",\r\n \"2603:1040:407:c01::/123\",\r\n + \ \"2603:1040:606::280/123\",\r\n \"2603:1040:606:1::200/121\",\r\n + \ \"2603:1040:606:400::/123\",\r\n \"2603:1040:806::280/123\",\r\n + \ \"2603:1040:806:1::200/121\",\r\n \"2603:1040:806:400::/123\",\r\n + \ \"2603:1040:904::320/123\",\r\n \"2603:1040:904::380/121\",\r\n + \ \"2603:1040:904:400::/123\",\r\n \"2603:1040:904:401::/123\",\r\n + \ \"2603:1040:904:800::/123\",\r\n \"2603:1040:904:801::/123\",\r\n + \ \"2603:1040:904:c00::/123\",\r\n \"2603:1040:904:c01::/123\",\r\n + \ \"2603:1040:a06::420/123\",\r\n \"2603:1040:a06::480/121\",\r\n + \ \"2603:1040:a06:400::/123\",\r\n \"2603:1040:a06:401::/123\",\r\n + \ \"2603:1040:a06:800::/123\",\r\n \"2603:1040:a06:801::/123\",\r\n + \ \"2603:1040:a06:c00::/123\",\r\n \"2603:1040:a06:c01::/123\",\r\n + \ \"2603:1040:b04::280/123\",\r\n \"2603:1040:b04:1::200/121\",\r\n + \ \"2603:1040:b04:400::/123\",\r\n \"2603:1040:c06::280/123\",\r\n + \ \"2603:1040:c06:1::200/121\",\r\n \"2603:1040:c06:400::/123\",\r\n + \ \"2603:1040:c06:401::/123\",\r\n \"2603:1040:d04:1::520/123\",\r\n + \ \"2603:1040:d04:1::580/121\",\r\n \"2603:1040:d04:400::400/123\",\r\n + \ \"2603:1040:d04:402::/123\",\r\n \"2603:1040:d04:403::/123\",\r\n + \ \"2603:1040:d04:802::/123\",\r\n \"2603:1040:d04:803::/123\",\r\n + \ \"2603:1040:d04:c03::/123\",\r\n \"2603:1040:d04:c04::/123\",\r\n + \ \"2603:1040:e05::/123\",\r\n \"2603:1040:f05::320/123\",\r\n + \ \"2603:1040:f05::380/121\",\r\n \"2603:1040:f05:400::/123\",\r\n + \ \"2603:1040:f05:401::/123\",\r\n \"2603:1040:f05:800::/123\",\r\n + \ \"2603:1040:f05:801::/123\",\r\n \"2603:1040:f05:c00::/123\",\r\n + \ \"2603:1040:f05:c01::/123\",\r\n \"2603:1040:1104::500/123\",\r\n + \ \"2603:1040:1104:1::300/121\",\r\n \"2603:1040:1104:400::440/123\",\r\n + \ \"2603:1040:1104:402::/123\",\r\n \"2603:1050:6::320/123\",\r\n + \ \"2603:1050:6::380/121\",\r\n \"2603:1050:6:400::/123\",\r\n + \ \"2603:1050:6:401::/123\",\r\n \"2603:1050:6:800::/123\",\r\n + \ \"2603:1050:6:801::/123\",\r\n \"2603:1050:6:c00::/122\",\r\n + \ \"2603:1050:6:c01::/122\",\r\n \"2603:1050:403:1::200/123\",\r\n + \ \"2603:1050:403:1::280/121\",\r\n \"2603:1050:403:402::/123\",\r\n + \ \"2603:1050:403:403::/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"Sql.AustraliaCentral\",\r\n \"id\": \"Sql.AustraliaCentral\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"australiacentral\",\r\n \"state\": + \"GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureSQL\",\r\n \"addressPrefixes\": [\r\n \"20.36.104.0/27\",\r\n + \ \"20.36.105.0/27\",\r\n \"20.36.105.32/29\",\r\n \"20.53.48.96/27\",\r\n + \ \"20.53.48.128/27\",\r\n \"20.53.48.192/26\",\r\n \"2603:1010:304::280/123\",\r\n + \ \"2603:1010:304:1::200/121\",\r\n \"2603:1010:304:400::/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"Sql.AustraliaCentral2\",\r\n + \ \"id\": \"Sql.AustraliaCentral2\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"australiacentral2\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureSQL\",\r\n \"addressPrefixes\": [\r\n \"20.36.112.0/27\",\r\n + \ \"20.36.113.0/27\",\r\n \"20.36.113.32/29\",\r\n \"20.53.56.32/27\",\r\n + \ \"20.53.56.64/27\",\r\n \"20.53.56.128/26\",\r\n \"2603:1010:404::280/123\",\r\n + \ \"2603:1010:404:1::200/121\",\r\n \"2603:1010:404:400::/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"Sql.AustraliaEast\",\r\n + \ \"id\": \"Sql.AustraliaEast\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"australiaeast\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureSQL\",\r\n \"addressPrefixes\": + [\r\n \"13.70.112.0/27\",\r\n \"13.70.112.32/29\",\r\n \"13.70.113.0/27\",\r\n + \ \"13.75.149.87/32\",\r\n \"20.53.46.128/25\",\r\n \"40.79.160.0/27\",\r\n + \ \"40.79.160.32/29\",\r\n \"40.79.161.0/27\",\r\n \"40.79.168.0/27\",\r\n + \ \"40.79.168.32/29\",\r\n \"40.79.169.0/27\",\r\n \"40.126.228.153/32\",\r\n + \ \"40.126.230.223/32\",\r\n \"40.126.232.113/32\",\r\n \"40.126.233.152/32\",\r\n + \ \"40.126.250.24/32\",\r\n \"52.237.219.227/32\",\r\n \"104.210.105.215/32\",\r\n + \ \"2603:1010:6::320/123\",\r\n \"2603:1010:6::380/121\",\r\n + \ \"2603:1010:6:400::/123\",\r\n \"2603:1010:6:401::/123\",\r\n + \ \"2603:1010:6:800::/123\",\r\n \"2603:1010:6:801::/123\",\r\n + \ \"2603:1010:6:c00::/123\",\r\n \"2603:1010:6:c01::/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"Sql.AustraliaSoutheast\",\r\n + \ \"id\": \"Sql.AustraliaSoutheast\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"australiasoutheast\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureSQL\",\r\n \"addressPrefixes\": [\r\n \"13.70.148.251/32\",\r\n + \ \"13.70.155.163/32\",\r\n \"13.73.109.251/32\",\r\n \"13.77.7.78/32\",\r\n + \ \"13.77.48.0/27\",\r\n \"13.77.49.0/27\",\r\n \"13.77.49.32/29\",\r\n + \ \"40.127.82.69/32\",\r\n \"40.127.83.164/32\",\r\n \"52.255.48.161/32\",\r\n + \ \"104.46.179.160/27\",\r\n \"104.46.179.192/27\",\r\n \"104.46.183.0/26\",\r\n + \ \"191.239.189.48/32\",\r\n \"191.239.192.109/32\",\r\n + \ \"2603:1010:101::280/123\",\r\n \"2603:1010:101:1::200/121\",\r\n + \ \"2603:1010:101:400::/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"Sql.BrazilSouth\",\r\n \"id\": \"Sql.BrazilSouth\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"brazilsouth\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureSQL\",\r\n \"addressPrefixes\": [\r\n \"104.41.11.5/32\",\r\n + \ \"104.41.13.213/32\",\r\n \"104.41.13.233/32\",\r\n \"104.41.36.39/32\",\r\n + \ \"104.41.56.218/32\",\r\n \"104.41.57.82/32\",\r\n \"104.41.59.170/32\",\r\n + \ \"191.233.200.0/27\",\r\n \"191.233.200.32/29\",\r\n \"191.233.201.0/27\",\r\n + \ \"191.234.142.160/27\",\r\n \"191.234.142.192/27\",\r\n + \ \"191.234.144.0/27\",\r\n \"191.234.144.32/29\",\r\n \"191.234.145.0/27\",\r\n + \ \"191.234.152.0/26\",\r\n \"191.234.153.0/26\",\r\n \"2603:1050:6::320/123\",\r\n + \ \"2603:1050:6::380/121\",\r\n \"2603:1050:6:400::/123\",\r\n + \ \"2603:1050:6:401::/123\",\r\n \"2603:1050:6:800::/123\",\r\n + \ \"2603:1050:6:801::/123\",\r\n \"2603:1050:6:c00::/122\",\r\n + \ \"2603:1050:6:c01::/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"Sql.CanadaCentral\",\r\n \"id\": \"Sql.CanadaCentral\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"canadacentral\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureSQL\",\r\n \"addressPrefixes\": [\r\n \"13.71.168.0/27\",\r\n + \ \"13.71.168.32/29\",\r\n \"13.71.169.0/27\",\r\n \"13.88.249.189/32\",\r\n + \ \"13.88.254.42/32\",\r\n \"20.38.144.0/27\",\r\n \"20.38.144.32/29\",\r\n + \ \"20.38.145.0/27\",\r\n \"20.48.196.32/27\",\r\n \"20.48.196.64/27\",\r\n + \ \"20.48.196.128/26\",\r\n \"40.85.224.249/32\",\r\n \"40.85.225.5/32\",\r\n + \ \"52.228.24.103/32\",\r\n \"52.228.35.221/32\",\r\n \"52.228.39.117/32\",\r\n + \ \"52.237.28.86/32\",\r\n \"52.246.152.0/27\",\r\n \"52.246.152.32/29\",\r\n + \ \"52.246.153.0/27\",\r\n \"2603:1030:f05::320/123\",\r\n + \ \"2603:1030:f05::380/121\",\r\n \"2603:1030:f05:400::/123\",\r\n + \ \"2603:1030:f05:401::/123\",\r\n \"2603:1030:f05:800::/123\",\r\n + \ \"2603:1030:f05:801::/123\",\r\n \"2603:1030:f05:c00::/123\",\r\n + \ \"2603:1030:f05:c01::/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"Sql.CanadaEast\",\r\n \"id\": \"Sql.CanadaEast\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"canadaeast\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureSQL\",\r\n \"addressPrefixes\": [\r\n \"40.69.104.0/27\",\r\n + \ \"40.69.105.0/27\",\r\n \"40.69.105.32/29\",\r\n \"40.86.226.166/32\",\r\n + \ \"40.86.226.230/32\",\r\n \"52.139.106.192/26\",\r\n \"52.139.107.0/26\",\r\n + \ \"52.229.122.195/32\",\r\n \"52.229.123.147/32\",\r\n \"52.229.124.23/32\",\r\n + \ \"52.242.26.53/32\",\r\n \"52.242.29.91/32\",\r\n \"52.242.30.154/32\",\r\n + \ \"52.242.36.107/32\",\r\n \"2603:1030:1005::280/123\",\r\n + \ \"2603:1030:1005:1::200/121\",\r\n \"2603:1030:1005:400::/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"Sql.CentralIndia\",\r\n + \ \"id\": \"Sql.CentralIndia\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\": + \"centralindia\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"AzureSQL\",\r\n \"addressPrefixes\": [\r\n \"20.192.43.160/27\",\r\n + \ \"20.192.43.192/27\",\r\n \"20.192.44.0/26\",\r\n \"20.192.96.0/27\",\r\n + \ \"20.192.96.32/29\",\r\n \"20.192.97.0/27\",\r\n \"40.80.48.0/27\",\r\n + \ \"40.80.48.32/29\",\r\n \"40.80.49.0/27\",\r\n \"52.172.217.233/32\",\r\n + \ \"52.172.221.154/32\",\r\n \"104.211.85.0/27\",\r\n \"104.211.86.0/27\",\r\n + \ \"104.211.86.32/29\",\r\n \"104.211.96.159/32\",\r\n \"104.211.96.160/32\",\r\n + \ \"2603:1040:a06::420/123\",\r\n \"2603:1040:a06::480/121\",\r\n + \ \"2603:1040:a06:400::/123\",\r\n \"2603:1040:a06:401::/123\",\r\n + \ \"2603:1040:a06:800::/123\",\r\n \"2603:1040:a06:801::/123\",\r\n + \ \"2603:1040:a06:c00::/123\",\r\n \"2603:1040:a06:c01::/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"Sql.CentralUS\",\r\n + \ \"id\": \"Sql.CentralUS\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\": + \"centralus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureSQL\",\r\n \"addressPrefixes\": + [\r\n \"13.67.215.62/32\",\r\n \"13.89.36.110/32\",\r\n + \ \"13.89.37.61/32\",\r\n \"13.89.57.50/32\",\r\n \"13.89.57.115/32\",\r\n + \ \"13.89.168.0/26\",\r\n \"13.89.168.192/29\",\r\n \"13.89.169.0/26\",\r\n + \ \"20.40.228.128/25\",\r\n \"23.99.160.139/32\",\r\n \"23.99.160.140/31\",\r\n + \ \"23.99.160.142/32\",\r\n \"23.99.205.183/32\",\r\n \"40.69.132.90/32\",\r\n + \ \"40.69.143.202/32\",\r\n \"40.69.169.120/32\",\r\n \"40.69.189.48/32\",\r\n + \ \"40.77.30.201/32\",\r\n \"40.86.75.134/32\",\r\n \"40.113.200.119/32\",\r\n + \ \"40.122.205.105/32\",\r\n \"40.122.215.111/32\",\r\n \"52.165.184.67/32\",\r\n + \ \"52.173.205.59/32\",\r\n \"52.176.43.167/32\",\r\n \"52.176.59.12/32\",\r\n + \ \"52.176.95.237/32\",\r\n \"52.176.100.98/32\",\r\n \"52.182.136.0/26\",\r\n + \ \"52.182.136.192/29\",\r\n \"52.182.137.0/26\",\r\n \"104.43.164.21/32\",\r\n + \ \"104.43.164.247/32\",\r\n \"104.43.203.72/32\",\r\n \"104.208.21.0/26\",\r\n + \ \"104.208.21.192/29\",\r\n \"104.208.22.0/26\",\r\n \"104.208.28.16/32\",\r\n + \ \"104.208.28.53/32\",\r\n \"2603:1030:10::320/123\",\r\n + \ \"2603:1030:10::380/121\",\r\n \"2603:1030:10:400::/123\",\r\n + \ \"2603:1030:10:401::/123\",\r\n \"2603:1030:10:800::/123\",\r\n + \ \"2603:1030:10:801::/123\",\r\n \"2603:1030:10:c00::/123\",\r\n + \ \"2603:1030:10:c01::/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"Sql.CentralUSEUAP\",\r\n \"id\": \"Sql.CentralUSEUAP\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"centraluseuap\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureSQL\",\r\n \"addressPrefixes\": [\r\n \"20.46.11.32/27\",\r\n + \ \"20.46.11.64/27\",\r\n \"20.46.11.128/26\",\r\n \"40.78.200.128/29\",\r\n + \ \"40.78.201.128/29\",\r\n \"52.180.176.154/31\",\r\n \"52.180.183.226/32\",\r\n + \ \"168.61.136.0/27\",\r\n \"168.61.137.0/27\",\r\n \"2603:1030:f:1::280/123\",\r\n + \ \"2603:1030:f:2::200/121\",\r\n \"2603:1030:f:402::/122\",\r\n + \ \"2603:1030:f:403::/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"Sql.EastAsia\",\r\n \"id\": \"Sql.EastAsia\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"eastasia\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureSQL\",\r\n \"addressPrefixes\": [\r\n \"13.75.32.0/26\",\r\n + \ \"13.75.32.192/29\",\r\n \"13.75.33.0/26\",\r\n \"13.75.33.192/29\",\r\n + \ \"13.75.105.141/32\",\r\n \"13.75.106.191/32\",\r\n \"13.75.108.188/32\",\r\n + \ \"20.195.72.32/27\",\r\n \"20.195.72.64/27\",\r\n \"20.195.72.128/26\",\r\n + \ \"23.97.68.51/32\",\r\n \"23.97.74.21/32\",\r\n \"23.97.78.163/32\",\r\n + \ \"23.99.102.124/32\",\r\n \"23.99.118.196/32\",\r\n \"52.175.33.150/32\",\r\n + \ \"191.234.2.139/32\",\r\n \"191.234.2.140/31\",\r\n \"191.234.2.142/32\",\r\n + \ \"207.46.139.82/32\",\r\n \"207.46.140.180/32\",\r\n \"207.46.153.182/32\",\r\n + \ \"2603:1040:207::280/123\",\r\n \"2603:1040:207:1::200/121\",\r\n + \ \"2603:1040:207:400::/123\",\r\n \"2603:1040:207:401::/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"Sql.EastUS\",\r\n + \ \"id\": \"Sql.EastUS\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\": + \"eastus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureSQL\",\r\n \"addressPrefixes\": + [\r\n \"20.42.65.64/29\",\r\n \"20.42.73.0/29\",\r\n \"20.62.132.160/27\",\r\n + \ \"20.62.132.192/27\",\r\n \"20.62.133.0/26\",\r\n \"23.96.89.109/32\",\r\n + \ \"23.96.106.191/32\",\r\n \"40.71.8.0/26\",\r\n \"40.71.8.192/26\",\r\n + \ \"40.71.9.0/26\",\r\n \"40.71.9.192/26\",\r\n \"40.71.83.113/32\",\r\n + \ \"40.71.196.33/32\",\r\n \"40.71.211.227/32\",\r\n \"40.71.226.18/32\",\r\n + \ \"40.76.2.172/32\",\r\n \"40.76.26.90/32\",\r\n \"40.76.42.44/32\",\r\n + \ \"40.76.65.222/32\",\r\n \"40.76.66.9/32\",\r\n \"40.76.193.221/32\",\r\n + \ \"40.76.209.171/32\",\r\n \"40.76.219.185/32\",\r\n \"40.78.224.0/26\",\r\n + \ \"40.78.224.128/26\",\r\n \"40.78.225.0/26\",\r\n \"40.78.225.128/26\",\r\n + \ \"40.79.152.0/26\",\r\n \"40.79.152.192/26\",\r\n \"40.79.153.0/26\",\r\n + \ \"40.79.153.192/26\",\r\n \"40.114.40.118/32\",\r\n \"40.114.43.106/32\",\r\n + \ \"40.114.45.195/32\",\r\n \"40.114.46.128/32\",\r\n \"40.114.46.212/32\",\r\n + \ \"40.114.81.142/32\",\r\n \"40.117.42.73/32\",\r\n \"40.117.44.71/32\",\r\n + \ \"40.117.90.115/32\",\r\n \"40.117.97.189/32\",\r\n \"40.121.143.204/32\",\r\n + \ \"40.121.149.49/32\",\r\n \"40.121.154.241/32\",\r\n \"40.121.158.30/32\",\r\n + \ \"52.168.116.64/29\",\r\n \"52.168.166.153/32\",\r\n \"52.168.169.124/32\",\r\n + \ \"52.168.183.223/32\",\r\n \"52.170.41.199/32\",\r\n \"52.170.97.16/32\",\r\n + \ \"52.170.98.29/32\",\r\n \"52.179.16.95/32\",\r\n \"104.41.150.1/32\",\r\n + \ \"104.41.152.74/32\",\r\n \"104.45.158.30/32\",\r\n \"137.135.109.63/32\",\r\n + \ \"191.237.20.112/32\",\r\n \"191.237.82.74/32\",\r\n \"191.238.6.43/32\",\r\n + \ \"191.238.6.44/31\",\r\n \"191.238.6.46/32\",\r\n \"2603:1030:210::320/123\",\r\n + \ \"2603:1030:210::380/121\",\r\n \"2603:1030:210:400::/123\",\r\n + \ \"2603:1030:210:401::/123\",\r\n \"2603:1030:210:800::/123\",\r\n + \ \"2603:1030:210:801::/123\",\r\n \"2603:1030:210:c00::/123\",\r\n + \ \"2603:1030:210:c01::/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"Sql.EastUS2\",\r\n \"id\": \"Sql.EastUS2\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"eastus2\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureSQL\",\r\n \"addressPrefixes\": [\r\n \"13.68.22.44/32\",\r\n + \ \"13.68.30.216/32\",\r\n \"13.68.87.133/32\",\r\n \"20.62.58.128/25\",\r\n + \ \"23.102.206.35/32\",\r\n \"23.102.206.36/31\",\r\n \"40.70.144.0/26\",\r\n + \ \"40.70.144.192/29\",\r\n \"40.70.145.0/26\",\r\n \"40.79.84.180/32\",\r\n + \ \"40.84.5.64/32\",\r\n \"40.84.54.249/32\",\r\n \"52.167.104.0/26\",\r\n + \ \"52.167.104.192/29\",\r\n \"52.167.105.0/26\",\r\n \"52.167.117.226/32\",\r\n + \ \"52.177.185.181/32\",\r\n \"52.177.197.103/32\",\r\n \"52.177.200.215/32\",\r\n + \ \"52.179.157.248/32\",\r\n \"52.179.165.160/32\",\r\n \"52.179.167.70/32\",\r\n + \ \"52.179.178.184/32\",\r\n \"52.184.192.175/32\",\r\n \"52.184.231.0/32\",\r\n + \ \"52.225.222.124/32\",\r\n \"104.46.100.189/32\",\r\n \"104.46.108.148/32\",\r\n + \ \"104.208.149.0/26\",\r\n \"104.208.150.0/26\",\r\n \"104.208.150.192/29\",\r\n + \ \"104.208.161.78/32\",\r\n \"104.208.163.201/32\",\r\n + \ \"104.208.233.240/32\",\r\n \"104.208.238.55/32\",\r\n + \ \"104.208.241.224/32\",\r\n \"104.209.186.94/32\",\r\n + \ \"191.239.224.107/32\",\r\n \"191.239.224.108/31\",\r\n + \ \"191.239.224.110/32\",\r\n \"2603:1030:40c::320/123\",\r\n + \ \"2603:1030:40c::380/121\",\r\n \"2603:1030:40c:400::/123\",\r\n + \ \"2603:1030:40c:401::/123\",\r\n \"2603:1030:40c:800::/123\",\r\n + \ \"2603:1030:40c:801::/123\",\r\n \"2603:1030:40c:c00::/123\",\r\n + \ \"2603:1030:40c:c01::/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"Sql.EastUS2EUAP\",\r\n \"id\": \"Sql.EastUS2EUAP\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"eastus2euap\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureSQL\",\r\n \"addressPrefixes\": [\r\n \"20.51.17.160/27\",\r\n + \ \"20.51.17.192/27\",\r\n \"20.51.20.0/26\",\r\n \"40.74.144.0/27\",\r\n + \ \"40.74.144.32/29\",\r\n \"40.74.145.0/27\",\r\n \"40.74.145.32/29\",\r\n + \ \"40.75.32.0/27\",\r\n \"40.75.32.40/29\",\r\n \"40.75.33.0/27\",\r\n + \ \"40.75.33.32/29\",\r\n \"52.138.88.0/27\",\r\n \"52.138.88.32/29\",\r\n + \ \"52.138.89.0/27\",\r\n \"52.138.89.32/29\",\r\n \"52.225.188.46/32\",\r\n + \ \"52.225.188.113/32\",\r\n \"2603:1030:40b:2::200/123\",\r\n + \ \"2603:1030:40b:2::280/121\",\r\n \"2603:1030:40b:402::/122\",\r\n + \ \"2603:1030:40b:403::/122\",\r\n \"2603:1030:40b:802::/122\",\r\n + \ \"2603:1030:40b:803::/122\",\r\n \"2603:1030:40b:c02::/122\",\r\n + \ \"2603:1030:40b:c03::/122\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"Sql.EastUS2Stage\",\r\n \"id\": \"Sql.EastUS2Stage\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"1\",\r\n \"region\": \"eastus2\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureSQL\",\r\n \"addressPrefixes\": [\r\n \"137.116.31.224/27\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"Sql.FranceCentral\",\r\n + \ \"id\": \"Sql.FranceCentral\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"centralfrance\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureSQL\",\r\n \"addressPrefixes\": + [\r\n \"20.43.47.192/26\",\r\n \"40.79.128.0/27\",\r\n \"40.79.128.32/29\",\r\n + \ \"40.79.129.0/27\",\r\n \"40.79.136.0/27\",\r\n \"40.79.136.32/29\",\r\n + \ \"40.79.137.0/27\",\r\n \"40.79.144.0/27\",\r\n \"40.79.144.32/29\",\r\n + \ \"40.79.145.0/27\",\r\n \"51.138.210.0/26\",\r\n \"2603:1020:805::320/123\",\r\n + \ \"2603:1020:805::380/121\",\r\n \"2603:1020:805:400::/123\",\r\n + \ \"2603:1020:805:401::/123\",\r\n \"2603:1020:805:800::/123\",\r\n + \ \"2603:1020:805:801::/123\",\r\n \"2603:1020:805:c00::/123\",\r\n + \ \"2603:1020:805:c01::/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"Sql.FranceSouth\",\r\n \"id\": \"Sql.FranceSouth\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"southfrance\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureSQL\",\r\n \"addressPrefixes\": [\r\n \"40.79.176.0/27\",\r\n + \ \"40.79.176.40/29\",\r\n \"40.79.177.0/27\",\r\n \"40.79.177.32/29\",\r\n + \ \"52.136.185.0/25\",\r\n \"2603:1020:905::280/123\",\r\n + \ \"2603:1020:905:1::200/121\",\r\n \"2603:1020:905:400::/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"Sql.GermanyNorth\",\r\n + \ \"id\": \"Sql.GermanyNorth\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\": + \"germanyn\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureSQL\",\r\n \"addressPrefixes\": + [\r\n \"51.116.54.96/27\",\r\n \"51.116.54.128/27\",\r\n + \ \"51.116.54.192/26\",\r\n \"51.116.56.0/27\",\r\n \"51.116.57.0/27\",\r\n + \ \"51.116.57.32/29\",\r\n \"2603:1020:d04::280/123\",\r\n + \ \"2603:1020:d04:1::200/121\",\r\n \"2603:1020:d04:400::/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"Sql.GermanyWestCentral\",\r\n + \ \"id\": \"Sql.GermanyWestCentral\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"germanywc\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureSQL\",\r\n \"addressPrefixes\": + [\r\n \"51.116.149.32/27\",\r\n \"51.116.149.64/27\",\r\n + \ \"51.116.149.128/26\",\r\n \"51.116.152.0/27\",\r\n \"51.116.152.32/29\",\r\n + \ \"51.116.153.0/27\",\r\n \"51.116.240.0/27\",\r\n \"51.116.240.32/29\",\r\n + \ \"51.116.241.0/27\",\r\n \"51.116.248.0/27\",\r\n \"51.116.248.32/29\",\r\n + \ \"51.116.249.0/27\",\r\n \"2603:1020:c04::320/123\",\r\n + \ \"2603:1020:c04::380/121\",\r\n \"2603:1020:c04:400::/123\",\r\n + \ \"2603:1020:c04:401::/123\",\r\n \"2603:1020:c04:800::/123\",\r\n + \ \"2603:1020:c04:801::/123\",\r\n \"2603:1020:c04:c00::/123\",\r\n + \ \"2603:1020:c04:c01::/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"Sql.JapanEast\",\r\n \"id\": \"Sql.JapanEast\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"japaneast\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureSQL\",\r\n \"addressPrefixes\": [\r\n \"13.78.61.196/32\",\r\n + \ \"13.78.104.0/27\",\r\n \"13.78.104.32/29\",\r\n \"13.78.105.0/27\",\r\n + \ \"13.78.121.203/32\",\r\n \"20.191.165.160/27\",\r\n \"20.191.165.192/27\",\r\n + \ \"20.191.166.0/26\",\r\n \"23.102.69.95/32\",\r\n \"23.102.71.13/32\",\r\n + \ \"23.102.74.190/32\",\r\n \"40.79.184.0/27\",\r\n \"40.79.184.32/29\",\r\n + \ \"40.79.185.0/27\",\r\n \"40.79.192.0/27\",\r\n \"40.79.192.32/29\",\r\n + \ \"40.79.193.0/27\",\r\n \"52.185.152.149/32\",\r\n \"52.243.32.19/32\",\r\n + \ \"52.243.43.186/32\",\r\n \"104.41.168.103/32\",\r\n \"104.41.169.34/32\",\r\n + \ \"191.237.240.43/32\",\r\n \"191.237.240.44/32\",\r\n \"191.237.240.46/32\",\r\n + \ \"2603:1040:407::320/123\",\r\n \"2603:1040:407::380/121\",\r\n + \ \"2603:1040:407:400::/123\",\r\n \"2603:1040:407:401::/123\",\r\n + \ \"2603:1040:407:800::/123\",\r\n \"2603:1040:407:801::/123\",\r\n + \ \"2603:1040:407:c00::/123\",\r\n \"2603:1040:407:c01::/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"Sql.JapanWest\",\r\n + \ \"id\": \"Sql.JapanWest\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\": + \"japanwest\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureSQL\",\r\n \"addressPrefixes\": + [\r\n \"20.189.225.160/27\",\r\n \"20.189.225.192/27\",\r\n + \ \"20.189.228.0/26\",\r\n \"40.74.96.0/27\",\r\n \"40.74.96.32/29\",\r\n + \ \"40.74.97.0/27\",\r\n \"40.74.114.22/32\",\r\n \"40.74.115.153/32\",\r\n + \ \"40.74.135.185/32\",\r\n \"104.214.148.156/32\",\r\n \"104.214.150.17/32\",\r\n + \ \"191.238.68.11/32\",\r\n \"191.238.68.12/31\",\r\n \"191.238.68.14/32\",\r\n + \ \"2603:1040:606::280/123\",\r\n \"2603:1040:606:1::200/121\",\r\n + \ \"2603:1040:606:400::/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"Sql.KoreaCentral\",\r\n \"id\": \"Sql.KoreaCentral\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"koreacentral\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureSQL\",\r\n \"addressPrefixes\": [\r\n \"20.44.24.0/27\",\r\n + \ \"20.44.24.32/29\",\r\n \"20.44.25.0/27\",\r\n \"20.194.64.0/27\",\r\n + \ \"20.194.64.32/29\",\r\n \"20.194.65.0/27\",\r\n \"20.194.73.64/26\",\r\n + \ \"20.194.73.128/26\",\r\n \"52.231.16.0/27\",\r\n \"52.231.16.32/29\",\r\n + \ \"52.231.17.0/27\",\r\n \"52.231.32.42/31\",\r\n \"52.231.39.56/32\",\r\n + \ \"2603:1040:f05::320/123\",\r\n \"2603:1040:f05::380/121\",\r\n + \ \"2603:1040:f05:400::/123\",\r\n \"2603:1040:f05:401::/123\",\r\n + \ \"2603:1040:f05:800::/123\",\r\n \"2603:1040:f05:801::/123\",\r\n + \ \"2603:1040:f05:c00::/123\",\r\n \"2603:1040:f05:c01::/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"Sql.KoreaSouth\",\r\n + \ \"id\": \"Sql.KoreaSouth\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\": + \"koreasouth\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureSQL\",\r\n \"addressPrefixes\": + [\r\n \"52.147.112.160/27\",\r\n \"52.231.144.0/27\",\r\n + \ \"52.231.145.0/27\",\r\n \"52.231.151.96/27\",\r\n \"52.231.200.86/31\",\r\n + \ \"52.231.206.133/32\",\r\n \"2603:1040:e05::/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"Sql.NorthCentralUS\",\r\n + \ \"id\": \"Sql.NorthCentralUS\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"northcentralus\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureSQL\",\r\n \"addressPrefixes\": [\r\n \"20.49.119.32/27\",\r\n + \ \"20.49.119.64/27\",\r\n \"20.49.119.128/26\",\r\n \"23.96.178.199/32\",\r\n + \ \"23.96.202.229/32\",\r\n \"23.96.204.249/32\",\r\n \"23.96.205.215/32\",\r\n + \ \"23.96.214.69/32\",\r\n \"23.96.243.243/32\",\r\n \"23.96.247.75/32\",\r\n + \ \"23.96.249.37/32\",\r\n \"23.96.250.178/32\",\r\n \"23.98.55.75/32\",\r\n + \ \"23.101.165.167/32\",\r\n \"23.101.167.45/32\",\r\n \"23.101.170.98/32\",\r\n + \ \"52.162.104.0/26\",\r\n \"52.162.105.0/26\",\r\n \"52.162.105.192/29\",\r\n + \ \"52.162.125.1/32\",\r\n \"52.162.241.250/32\",\r\n \"65.52.208.91/32\",\r\n + \ \"65.52.213.108/32\",\r\n \"65.52.214.127/32\",\r\n \"65.52.218.82/32\",\r\n + \ \"157.55.208.150/32\",\r\n \"168.62.232.188/32\",\r\n \"168.62.235.49/32\",\r\n + \ \"168.62.235.241/32\",\r\n \"168.62.239.29/32\",\r\n \"191.236.148.44/32\",\r\n + \ \"191.236.153.120/32\",\r\n \"2603:1030:608::280/123\",\r\n + \ \"2603:1030:608:1::200/121\",\r\n \"2603:1030:608:400::/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"Sql.NorthCentralUSStage\",\r\n + \ \"id\": \"Sql.NorthCentralUSStage\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"northcentralus\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureSQL\",\r\n \"addressPrefixes\": [\r\n \"168.62.115.112/28\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"Sql.NorthEurope\",\r\n + \ \"id\": \"Sql.NorthEurope\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\": + \"northeurope\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureSQL\",\r\n \"addressPrefixes\": + [\r\n \"13.69.224.0/26\",\r\n \"13.69.224.192/26\",\r\n + \ \"13.69.225.0/26\",\r\n \"13.69.225.192/26\",\r\n \"13.69.233.136/29\",\r\n + \ \"13.74.104.64/26\",\r\n \"13.74.104.128/26\",\r\n \"13.74.105.0/26\",\r\n + \ \"13.74.105.128/26\",\r\n \"13.74.105.192/29\",\r\n \"23.102.16.130/32\",\r\n + \ \"23.102.23.219/32\",\r\n \"23.102.25.199/32\",\r\n \"23.102.52.155/32\",\r\n + \ \"23.102.57.142/32\",\r\n \"23.102.62.171/32\",\r\n \"40.85.102.50/32\",\r\n + \ \"40.113.14.53/32\",\r\n \"40.113.16.190/32\",\r\n \"40.113.17.148/32\",\r\n + \ \"40.113.20.38/32\",\r\n \"40.113.93.91/32\",\r\n \"40.127.128.10/32\",\r\n + \ \"40.127.135.67/32\",\r\n \"40.127.137.209/32\",\r\n \"40.127.141.194/32\",\r\n + \ \"40.127.177.139/32\",\r\n \"40.127.190.50/32\",\r\n \"52.138.224.0/26\",\r\n + \ \"52.138.224.128/26\",\r\n \"52.138.225.0/26\",\r\n \"52.138.225.128/26\",\r\n + \ \"52.138.229.72/29\",\r\n \"52.146.133.128/25\",\r\n \"65.52.225.245/32\",\r\n + \ \"65.52.226.209/32\",\r\n \"104.41.202.30/32\",\r\n \"104.41.205.195/32\",\r\n + \ \"104.41.208.104/32\",\r\n \"104.41.210.68/32\",\r\n \"104.41.211.98/32\",\r\n + \ \"137.135.186.126/32\",\r\n \"137.135.189.158/32\",\r\n + \ \"137.135.205.85/32\",\r\n \"137.135.213.9/32\",\r\n \"138.91.48.99/32\",\r\n + \ \"138.91.58.227/32\",\r\n \"191.235.170.58/32\",\r\n \"191.235.193.75/32\",\r\n + \ \"191.235.193.76/31\",\r\n \"191.235.193.78/32\",\r\n \"191.235.193.139/32\",\r\n + \ \"191.235.193.140/31\",\r\n \"191.235.209.79/32\",\r\n + \ \"191.237.219.202/32\",\r\n \"2603:1020:5::320/123\",\r\n + \ \"2603:1020:5::380/121\",\r\n \"2603:1020:5:400::/123\",\r\n + \ \"2603:1020:5:401::/123\",\r\n \"2603:1020:5:800::/123\",\r\n + \ \"2603:1020:5:801::/123\",\r\n \"2603:1020:5:c00::/123\",\r\n + \ \"2603:1020:5:c01::/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"Sql.NorwayEast\",\r\n \"id\": \"Sql.NorwayEast\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"norwaye\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureSQL\",\r\n \"addressPrefixes\": [\r\n \"51.120.96.0/27\",\r\n + \ \"51.120.96.32/29\",\r\n \"51.120.97.0/27\",\r\n \"51.120.104.0/27\",\r\n + \ \"51.120.104.32/29\",\r\n \"51.120.105.0/27\",\r\n \"51.120.208.0/27\",\r\n + \ \"51.120.208.32/29\",\r\n \"51.120.209.0/27\",\r\n \"51.120.232.192/26\",\r\n + \ \"51.120.233.0/26\",\r\n \"2603:1020:e04::320/123\",\r\n + \ \"2603:1020:e04::380/121\",\r\n \"2603:1020:e04:400::/123\",\r\n + \ \"2603:1020:e04:401::/123\",\r\n \"2603:1020:e04:800::/123\",\r\n + \ \"2603:1020:e04:801::/123\",\r\n \"2603:1020:e04:c00::/123\",\r\n + \ \"2603:1020:e04:c01::/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"Sql.NorwayWest\",\r\n \"id\": \"Sql.NorwayWest\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"norwayw\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureSQL\",\r\n \"addressPrefixes\": [\r\n \"51.13.136.224/27\",\r\n + \ \"51.13.137.0/27\",\r\n \"51.13.137.64/26\",\r\n \"51.120.216.0/27\",\r\n + \ \"51.120.217.0/27\",\r\n \"51.120.217.32/29\",\r\n \"2603:1020:f04::280/123\",\r\n + \ \"2603:1020:f04:1::200/121\",\r\n \"2603:1020:f04:400::/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"Sql.SouthAfricaNorth\",\r\n + \ \"id\": \"Sql.SouthAfricaNorth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"southafricanorth\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureSQL\",\r\n \"addressPrefixes\": [\r\n \"102.37.160.0/27\",\r\n + \ \"102.37.160.64/26\",\r\n \"102.133.120.0/27\",\r\n \"102.133.120.32/29\",\r\n + \ \"102.133.121.0/27\",\r\n \"102.133.152.0/27\",\r\n \"102.133.152.32/29\",\r\n + \ \"102.133.153.0/27\",\r\n \"102.133.221.224/27\",\r\n \"102.133.248.0/27\",\r\n + \ \"102.133.248.32/29\",\r\n \"102.133.249.0/27\",\r\n \"2603:1000:104::640/123\",\r\n + \ \"2603:1000:104::680/121\",\r\n \"2603:1000:104:400::/123\",\r\n + \ \"2603:1000:104:401::/123\",\r\n \"2603:1000:104:800::/123\",\r\n + \ \"2603:1000:104:801::/123\",\r\n \"2603:1000:104:c00::/123\",\r\n + \ \"2603:1000:104:c01::/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"Sql.SouthAfricaWest\",\r\n \"id\": \"Sql.SouthAfricaWest\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"southafricawest\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n + \ ],\r\n \"systemService\": \"AzureSQL\",\r\n \"addressPrefixes\": + [\r\n \"102.37.80.96/27\",\r\n \"102.37.80.128/27\",\r\n + \ \"102.37.80.192/26\",\r\n \"102.133.24.0/27\",\r\n \"102.133.25.0/27\",\r\n + \ \"102.133.25.32/29\",\r\n \"2603:1000:4::280/123\",\r\n + \ \"2603:1000:4:1::200/121\",\r\n \"2603:1000:4:400::/123\",\r\n + \ \"2603:1000:4:401::/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"Sql.SouthCentralUS\",\r\n \"id\": \"Sql.SouthCentralUS\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"southcentralus\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureSQL\",\r\n \"addressPrefixes\": [\r\n \"13.65.31.249/32\",\r\n + \ \"13.65.39.207/32\",\r\n \"13.65.85.183/32\",\r\n \"13.65.200.105/32\",\r\n + \ \"13.65.209.243/32\",\r\n \"13.65.253.67/32\",\r\n \"13.66.60.72/32\",\r\n + \ \"13.66.60.111/32\",\r\n \"13.66.62.124/32\",\r\n \"13.84.223.76/32\",\r\n + \ \"13.85.65.48/32\",\r\n \"13.85.68.115/32\",\r\n \"13.85.69.107/32\",\r\n + \ \"20.45.120.0/27\",\r\n \"20.45.121.0/27\",\r\n \"20.45.121.32/29\",\r\n + \ \"20.49.88.0/27\",\r\n \"20.49.88.32/29\",\r\n \"20.49.89.0/27\",\r\n + \ \"20.49.89.32/29\",\r\n \"20.65.132.160/27\",\r\n \"20.65.132.192/27\",\r\n + \ \"20.65.133.0/26\",\r\n \"23.98.162.75/32\",\r\n \"23.98.162.76/31\",\r\n + \ \"23.98.162.78/32\",\r\n \"23.98.170.75/32\",\r\n \"23.98.170.76/31\",\r\n + \ \"23.102.172.251/32\",\r\n \"23.102.173.220/32\",\r\n \"23.102.174.146/32\",\r\n + \ \"23.102.179.187/32\",\r\n \"40.74.254.156/32\",\r\n \"40.84.153.95/32\",\r\n + \ \"40.84.155.210/32\",\r\n \"40.84.156.165/32\",\r\n \"40.84.191.1/32\",\r\n + \ \"40.84.193.16/32\",\r\n \"40.84.195.189/32\",\r\n \"40.84.231.203/32\",\r\n + \ \"40.124.8.76/32\",\r\n \"40.124.64.136/29\",\r\n \"52.171.56.10/32\",\r\n + \ \"52.183.250.62/32\",\r\n \"104.214.16.0/26\",\r\n \"104.214.16.192/26\",\r\n + \ \"104.214.17.0/26\",\r\n \"104.214.17.192/26\",\r\n \"104.214.67.25/32\",\r\n + \ \"104.214.73.137/32\",\r\n \"104.214.78.242/32\",\r\n \"191.238.224.203/32\",\r\n + \ \"191.238.230.40/32\",\r\n \"2603:1030:807::320/123\",\r\n + \ \"2603:1030:807::380/121\",\r\n \"2603:1030:807:400::/123\",\r\n + \ \"2603:1030:807:401::/123\",\r\n \"2603:1030:807:800::/123\",\r\n + \ \"2603:1030:807:801::/123\",\r\n \"2603:1030:807:c00::/123\",\r\n + \ \"2603:1030:807:c01::/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"Sql.SoutheastAsia\",\r\n \"id\": \"Sql.SoutheastAsia\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"southeastasia\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureSQL\",\r\n \"addressPrefixes\": [\r\n \"13.67.16.0/26\",\r\n + \ \"13.67.16.192/29\",\r\n \"13.67.17.0/26\",\r\n \"13.67.48.255/32\",\r\n + \ \"13.67.56.134/32\",\r\n \"13.67.59.217/32\",\r\n \"13.76.90.3/32\",\r\n + \ \"13.76.247.54/32\",\r\n \"20.195.65.32/27\",\r\n \"20.195.65.64/27\",\r\n + \ \"20.195.65.128/26\",\r\n \"23.98.80.0/26\",\r\n \"23.98.80.192/29\",\r\n + \ \"23.98.81.0/26\",\r\n \"23.100.117.95/32\",\r\n \"23.100.119.70/32\",\r\n + \ \"23.101.18.228/32\",\r\n \"40.78.232.0/26\",\r\n \"40.78.232.192/29\",\r\n + \ \"40.78.233.0/26\",\r\n \"52.187.15.214/32\",\r\n \"52.187.76.130/32\",\r\n + \ \"104.43.10.74/32\",\r\n \"104.43.15.0/32\",\r\n \"104.215.195.14/32\",\r\n + \ \"104.215.196.52/32\",\r\n \"111.221.106.161/32\",\r\n + \ \"137.116.129.110/32\",\r\n \"168.63.175.68/32\",\r\n \"2603:1040:5::420/123\",\r\n + \ \"2603:1040:5::480/121\",\r\n \"2603:1040:5:400::/123\",\r\n + \ \"2603:1040:5:401::/123\",\r\n \"2603:1040:5:800::/123\",\r\n + \ \"2603:1040:5:801::/123\",\r\n \"2603:1040:5:c00::/123\",\r\n + \ \"2603:1040:5:c01::/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"Sql.SouthIndia\",\r\n \"id\": \"Sql.SouthIndia\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"southindia\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureSQL\",\r\n \"addressPrefixes\": [\r\n \"40.78.192.0/27\",\r\n + \ \"40.78.192.32/29\",\r\n \"40.78.193.0/27\",\r\n \"40.78.193.32/29\",\r\n + \ \"52.172.24.47/32\",\r\n \"52.172.43.208/32\",\r\n \"52.172.113.96/27\",\r\n + \ \"52.172.113.128/27\",\r\n \"52.172.113.192/26\",\r\n \"104.211.224.146/31\",\r\n + \ \"2603:1040:c06::280/123\",\r\n \"2603:1040:c06:1::200/121\",\r\n + \ \"2603:1040:c06:400::/123\",\r\n \"2603:1040:c06:401::/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"Sql.SwitzerlandNorth\",\r\n + \ \"id\": \"Sql.SwitzerlandNorth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"switzerlandn\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureSQL\",\r\n \"addressPrefixes\": + [\r\n \"51.107.56.0/27\",\r\n \"51.107.56.32/29\",\r\n \"51.107.57.0/27\",\r\n + \ \"51.107.242.32/27\",\r\n \"51.107.242.64/27\",\r\n \"51.107.242.128/26\",\r\n + \ \"2603:1020:a04::320/123\",\r\n \"2603:1020:a04::380/121\",\r\n + \ \"2603:1020:a04:400::/123\",\r\n \"2603:1020:a04:401::/123\",\r\n + \ \"2603:1020:a04:800::/123\",\r\n \"2603:1020:a04:801::/123\",\r\n + \ \"2603:1020:a04:c00::/123\",\r\n \"2603:1020:a04:c01::/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"Sql.SwitzerlandWest\",\r\n + \ \"id\": \"Sql.SwitzerlandWest\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"switzerlandw\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureSQL\",\r\n \"addressPrefixes\": + [\r\n \"51.107.152.0/27\",\r\n \"51.107.153.0/27\",\r\n + \ \"51.107.153.32/29\",\r\n \"51.107.250.64/26\",\r\n \"51.107.250.128/26\",\r\n + \ \"2603:1020:b04::280/123\",\r\n \"2603:1020:b04:1::200/121\",\r\n + \ \"2603:1020:b04:400::/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"Sql.UAECentral\",\r\n \"id\": \"Sql.UAECentral\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"uaecentral\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureSQL\",\r\n \"addressPrefixes\": [\r\n \"20.37.71.64/26\",\r\n + \ \"20.37.71.128/26\",\r\n \"20.37.72.64/27\",\r\n \"20.37.72.96/29\",\r\n + \ \"20.37.73.64/27\",\r\n \"20.37.73.96/29\",\r\n \"2603:1040:b04::280/123\",\r\n + \ \"2603:1040:b04:1::200/121\",\r\n \"2603:1040:b04:400::/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"Sql.UAENorth\",\r\n + \ \"id\": \"Sql.UAENorth\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\": + \"uaenorth\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureSQL\",\r\n \"addressPrefixes\": + [\r\n \"20.38.143.64/26\",\r\n \"20.38.143.128/26\",\r\n + \ \"20.38.152.24/29\",\r\n \"40.120.72.0/27\",\r\n \"40.120.72.32/29\",\r\n + \ \"40.120.73.0/27\",\r\n \"65.52.248.0/27\",\r\n \"65.52.248.32/29\",\r\n + \ \"65.52.249.0/27\",\r\n \"2603:1040:904::320/123\",\r\n + \ \"2603:1040:904::380/121\",\r\n \"2603:1040:904:400::/123\",\r\n + \ \"2603:1040:904:401::/123\",\r\n \"2603:1040:904:800::/123\",\r\n + \ \"2603:1040:904:801::/123\",\r\n \"2603:1040:904:c00::/123\",\r\n + \ \"2603:1040:904:c01::/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"Sql.UKNorth\",\r\n \"id\": \"Sql.UKNorth\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"1\",\r\n \"region\": \"uknorth\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\"\r\n ],\r\n \"systemService\": + \"AzureSQL\",\r\n \"addressPrefixes\": [\r\n \"13.87.97.210/32\",\r\n + \ \"13.87.97.228/32\",\r\n \"13.87.97.237/32\",\r\n \"13.87.120.0/27\",\r\n + \ \"13.87.121.0/27\",\r\n \"51.142.211.129/32\"\r\n ]\r\n + \ }\r\n },\r\n {\r\n \"name\": \"Sql.UKSouth\",\r\n \"id\": + \"Sql.UKSouth\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": + {\r\n \"changeNumber\": \"2\",\r\n \"region\": \"uksouth\",\r\n + \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\n + \ \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n ],\r\n + \ \"systemService\": \"AzureSQL\",\r\n \"addressPrefixes\": [\r\n + \ \"51.105.64.0/27\",\r\n \"51.105.64.32/29\",\r\n \"51.105.65.0/27\",\r\n + \ \"51.105.72.0/27\",\r\n \"51.105.72.32/29\",\r\n \"51.105.73.0/27\",\r\n + \ \"51.140.77.9/32\",\r\n \"51.140.114.26/32\",\r\n \"51.140.115.150/32\",\r\n + \ \"51.140.144.0/27\",\r\n \"51.140.144.32/29\",\r\n \"51.140.145.0/27\",\r\n + \ \"51.140.180.9/32\",\r\n \"51.140.183.238/32\",\r\n \"51.140.184.11/32\",\r\n + \ \"51.140.184.12/32\",\r\n \"51.143.209.224/27\",\r\n \"51.143.212.0/27\",\r\n + \ \"51.143.212.64/26\",\r\n \"2603:1020:705::320/123\",\r\n + \ \"2603:1020:705::380/121\",\r\n \"2603:1020:705:400::/123\",\r\n + \ \"2603:1020:705:401::/123\",\r\n \"2603:1020:705:800::/123\",\r\n + \ \"2603:1020:705:801::/123\",\r\n \"2603:1020:705:c00::/123\",\r\n + \ \"2603:1020:705:c01::/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"Sql.UKWest\",\r\n \"id\": \"Sql.UKWest\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"ukwest\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureSQL\",\r\n \"addressPrefixes\": [\r\n \"20.58.66.128/25\",\r\n + \ \"51.140.208.64/27\",\r\n \"51.140.208.96/29\",\r\n \"51.140.209.0/27\",\r\n + \ \"51.140.209.32/29\",\r\n \"51.141.8.11/32\",\r\n \"51.141.8.12/32\",\r\n + \ \"51.141.15.53/32\",\r\n \"51.141.25.212/32\",\r\n \"2603:1020:605::280/123\",\r\n + \ \"2603:1020:605:1::200/121\",\r\n \"2603:1020:605:400::/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"Sql.WestCentralUS\",\r\n + \ \"id\": \"Sql.WestCentralUS\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"westcentralus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureSQL\",\r\n \"addressPrefixes\": + [\r\n \"13.71.192.0/27\",\r\n \"13.71.193.0/27\",\r\n \"13.71.193.32/29\",\r\n + \ \"13.78.144.57/32\",\r\n \"13.78.145.25/32\",\r\n \"13.78.148.71/32\",\r\n + \ \"13.78.151.189/32\",\r\n \"13.78.151.207/32\",\r\n \"13.78.178.116/32\",\r\n + \ \"13.78.178.151/32\",\r\n \"13.78.248.32/27\",\r\n \"20.69.0.32/27\",\r\n + \ \"20.69.0.64/27\",\r\n \"20.69.0.128/26\",\r\n \"52.161.15.204/32\",\r\n + \ \"52.161.100.158/32\",\r\n \"52.161.105.228/32\",\r\n \"52.161.128.32/27\",\r\n + \ \"2603:1030:b04::280/123\",\r\n \"2603:1030:b04:1::200/121\",\r\n + \ \"2603:1030:b04:400::/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"Sql.WestEurope\",\r\n \"id\": \"Sql.WestEurope\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"westeurope\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureSQL\",\r\n \"addressPrefixes\": [\r\n \"13.69.104.0/26\",\r\n + \ \"13.69.104.192/26\",\r\n \"13.69.105.0/26\",\r\n \"13.69.105.192/26\",\r\n + \ \"13.69.112.168/29\",\r\n \"20.61.99.192/26\",\r\n \"20.61.102.0/26\",\r\n + \ \"23.97.167.46/32\",\r\n \"23.97.169.19/32\",\r\n \"23.97.219.82/32\",\r\n + \ \"23.97.221.176/32\",\r\n \"23.101.64.10/32\",\r\n \"40.68.37.158/32\",\r\n + \ \"40.68.215.206/32\",\r\n \"40.68.220.16/32\",\r\n \"40.74.51.145/32\",\r\n + \ \"40.74.53.36/32\",\r\n \"40.74.60.91/32\",\r\n \"40.114.240.125/32\",\r\n + \ \"40.114.240.162/32\",\r\n \"40.115.37.61/32\",\r\n \"40.115.51.118/32\",\r\n + \ \"40.115.52.141/32\",\r\n \"40.115.53.255/32\",\r\n \"40.115.61.208/32\",\r\n + \ \"40.118.12.208/32\",\r\n \"52.166.76.0/32\",\r\n \"52.166.131.195/32\",\r\n + \ \"52.236.184.0/27\",\r\n \"52.236.184.32/29\",\r\n \"52.236.184.128/25\",\r\n + \ \"52.236.185.0/27\",\r\n \"52.236.185.128/25\",\r\n \"104.40.155.247/32\",\r\n + \ \"104.40.168.64/26\",\r\n \"104.40.168.192/26\",\r\n \"104.40.169.0/27\",\r\n + \ \"104.40.169.32/29\",\r\n \"104.40.169.128/25\",\r\n \"104.40.180.164/32\",\r\n + \ \"104.40.220.28/32\",\r\n \"104.40.230.18/32\",\r\n \"104.40.232.54/32\",\r\n + \ \"104.40.237.111/32\",\r\n \"104.45.11.99/32\",\r\n \"104.45.14.115/32\",\r\n + \ \"104.46.38.143/32\",\r\n \"104.46.40.24/32\",\r\n \"104.47.157.97/32\",\r\n + \ \"137.116.203.91/32\",\r\n \"168.63.13.214/32\",\r\n \"168.63.98.91/32\",\r\n + \ \"191.233.69.227/32\",\r\n \"191.233.90.117/32\",\r\n \"191.237.232.75/32\",\r\n + \ \"191.237.232.76/31\",\r\n \"191.237.232.78/32\",\r\n \"191.237.232.235/32\",\r\n + \ \"191.237.232.236/31\",\r\n \"2603:1020:206::320/123\",\r\n + \ \"2603:1020:206::380/121\",\r\n \"2603:1020:206:400::/123\",\r\n + \ \"2603:1020:206:401::/123\",\r\n \"2603:1020:206:800::/123\",\r\n + \ \"2603:1020:206:801::/123\",\r\n \"2603:1020:206:c00::/123\",\r\n + \ \"2603:1020:206:c01::/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"Sql.WestIndia\",\r\n \"id\": \"Sql.WestIndia\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"westindia\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureSQL\",\r\n \"addressPrefixes\": [\r\n \"52.136.53.160/27\",\r\n + \ \"52.136.53.192/27\",\r\n \"104.211.144.0/27\",\r\n \"104.211.144.32/29\",\r\n + \ \"104.211.145.0/27\",\r\n \"104.211.145.32/29\",\r\n \"104.211.160.80/31\",\r\n + \ \"104.211.185.58/32\",\r\n \"104.211.190.46/32\",\r\n \"2603:1040:806::280/123\",\r\n + \ \"2603:1040:806:1::200/121\",\r\n \"2603:1040:806:400::/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"Sql.WestUS\",\r\n + \ \"id\": \"Sql.WestUS\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\": + \"westus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureSQL\",\r\n \"addressPrefixes\": + [\r\n \"13.86.216.0/25\",\r\n \"13.86.216.128/26\",\r\n + \ \"13.86.216.192/27\",\r\n \"13.86.217.0/25\",\r\n \"13.86.217.128/26\",\r\n + \ \"13.86.217.192/27\",\r\n \"13.86.217.224/29\",\r\n \"13.88.14.200/32\",\r\n + \ \"13.88.29.70/32\",\r\n \"13.91.4.219/32\",\r\n \"13.91.6.136/32\",\r\n + \ \"13.91.41.153/32\",\r\n \"13.91.44.56/32\",\r\n \"13.91.46.83/32\",\r\n + \ \"13.91.47.72/32\",\r\n \"13.93.165.251/32\",\r\n \"13.93.237.158/32\",\r\n + \ \"20.66.3.64/26\",\r\n \"20.66.3.128/26\",\r\n \"23.99.4.210/32\",\r\n + \ \"23.99.4.248/32\",\r\n \"23.99.10.185/32\",\r\n \"23.99.34.75/32\",\r\n + \ \"23.99.34.76/31\",\r\n \"23.99.34.78/32\",\r\n \"23.99.37.235/32\",\r\n + \ \"23.99.37.236/32\",\r\n \"23.99.57.14/32\",\r\n \"23.99.80.243/32\",\r\n + \ \"23.99.89.212/32\",\r\n \"23.99.90.75/32\",\r\n \"23.99.91.130/32\",\r\n + \ \"40.78.16.122/32\",\r\n \"40.78.23.252/32\",\r\n \"40.78.31.250/32\",\r\n + \ \"40.78.57.109/32\",\r\n \"40.78.101.91/32\",\r\n \"40.78.110.18/32\",\r\n + \ \"40.78.111.189/32\",\r\n \"40.83.178.165/32\",\r\n \"40.83.186.249/32\",\r\n + \ \"40.112.139.250/32\",\r\n \"40.112.240.0/27\",\r\n \"40.112.246.0/27\",\r\n + \ \"40.118.129.167/32\",\r\n \"40.118.170.1/32\",\r\n \"40.118.209.206/32\",\r\n + \ \"40.118.244.227/32\",\r\n \"40.118.249.123/32\",\r\n \"40.118.250.19/32\",\r\n + \ \"104.40.28.188/32\",\r\n \"104.40.49.103/32\",\r\n \"104.40.54.130/32\",\r\n + \ \"104.40.82.151/32\",\r\n \"104.42.120.235/32\",\r\n \"104.42.127.95/32\",\r\n + \ \"104.42.136.93/32\",\r\n \"104.42.188.130/32\",\r\n \"104.42.192.190/32\",\r\n + \ \"104.42.199.221/32\",\r\n \"104.42.231.253/32\",\r\n \"104.42.237.198/32\",\r\n + \ \"104.42.238.205/32\",\r\n \"104.210.32.128/32\",\r\n \"137.135.51.212/32\",\r\n + \ \"138.91.145.12/32\",\r\n \"138.91.160.189/32\",\r\n \"138.91.240.14/32\",\r\n + \ \"138.91.246.31/32\",\r\n \"138.91.247.51/32\",\r\n \"138.91.251.139/32\",\r\n + \ \"191.236.119.31/32\",\r\n \"191.239.12.154/32\",\r\n \"2603:1030:a07::280/123\",\r\n + \ \"2603:1030:a07:1::200/121\",\r\n \"2603:1030:a07:400::/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"Sql.WestUS2\",\r\n + \ \"id\": \"Sql.WestUS2\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\": + \"westus2\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"AzureSQL\",\r\n \"addressPrefixes\": [\r\n \"13.66.136.0/26\",\r\n + \ \"13.66.136.192/29\",\r\n \"13.66.137.0/26\",\r\n \"13.66.226.202/32\",\r\n + \ \"13.66.229.222/32\",\r\n \"13.66.230.18/31\",\r\n \"13.66.230.60/32\",\r\n + \ \"13.66.230.64/32\",\r\n \"13.66.230.103/32\",\r\n \"20.51.9.128/25\",\r\n + \ \"40.78.240.0/26\",\r\n \"40.78.240.192/29\",\r\n \"40.78.241.0/26\",\r\n + \ \"40.78.248.0/26\",\r\n \"40.78.248.192/29\",\r\n \"40.78.249.0/26\",\r\n + \ \"52.191.144.64/26\",\r\n \"52.191.152.64/26\",\r\n \"52.191.172.187/32\",\r\n + \ \"52.191.174.114/32\",\r\n \"52.229.17.93/32\",\r\n \"52.246.251.248/32\",\r\n + \ \"2603:1030:c06:2::200/123\",\r\n \"2603:1030:c06:2::280/121\",\r\n + \ \"2603:1030:c06:401::/123\",\r\n \"2603:1030:c06:402::/123\",\r\n + \ \"2603:1030:c06:800::/123\",\r\n \"2603:1030:c06:801::/123\",\r\n + \ \"2603:1030:c06:c00::/123\",\r\n \"2603:1030:c06:c01::/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"SqlManagement\",\r\n + \ \"id\": \"SqlManagement\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"4\",\r\n \"region\": + \"\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n + \ \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"SqlManagement\",\r\n \"addressPrefixes\": + [\r\n \"13.64.155.40/32\",\r\n \"13.66.140.96/27\",\r\n + \ \"13.66.141.192/27\",\r\n \"13.67.8.192/27\",\r\n \"13.67.10.32/27\",\r\n + \ \"13.69.64.96/27\",\r\n \"13.69.67.0/27\",\r\n \"13.69.106.96/27\",\r\n + \ \"13.69.107.32/27\",\r\n \"13.69.227.96/27\",\r\n \"13.69.229.192/27\",\r\n + \ \"13.70.72.160/27\",\r\n \"13.70.73.224/27\",\r\n \"13.71.119.167/32\",\r\n + \ \"13.71.123.234/32\",\r\n \"13.71.170.160/27\",\r\n \"13.71.173.96/27\",\r\n + \ \"13.71.195.0/27\",\r\n \"13.71.196.96/27\",\r\n \"13.73.240.192/27\",\r\n + \ \"13.73.242.0/27\",\r\n \"13.73.249.176/28\",\r\n \"13.74.107.96/27\",\r\n + \ \"13.74.107.224/27\",\r\n \"13.75.36.32/27\",\r\n \"13.75.39.32/27\",\r\n + \ \"13.77.50.192/27\",\r\n \"13.77.53.0/27\",\r\n \"13.78.106.224/27\",\r\n + \ \"13.78.109.64/27\",\r\n \"13.78.181.246/32\",\r\n \"13.78.182.82/32\",\r\n + \ \"13.84.52.76/32\",\r\n \"13.86.219.96/27\",\r\n \"13.87.39.133/32\",\r\n + \ \"13.87.39.173/32\",\r\n \"13.87.56.192/27\",\r\n \"13.87.58.0/27\",\r\n + \ \"13.87.122.192/27\",\r\n \"13.87.124.0/27\",\r\n \"13.89.170.224/27\",\r\n + \ \"13.89.174.96/27\",\r\n \"13.92.242.41/32\",\r\n \"13.94.47.38/32\",\r\n + \ \"13.104.248.32/27\",\r\n \"13.104.248.96/27\",\r\n \"20.36.46.202/32\",\r\n + \ \"20.36.46.220/32\",\r\n \"20.36.75.75/32\",\r\n \"20.36.75.114/32\",\r\n + \ \"20.36.108.0/27\",\r\n \"20.36.108.64/27\",\r\n \"20.36.115.160/27\",\r\n + \ \"20.36.115.192/27\",\r\n \"20.36.123.0/28\",\r\n \"20.37.67.64/28\",\r\n + \ \"20.37.76.0/27\",\r\n \"20.37.76.64/27\",\r\n \"20.37.198.96/28\",\r\n + \ \"20.37.227.0/28\",\r\n \"20.38.87.208/28\",\r\n \"20.38.128.0/27\",\r\n + \ \"20.38.139.64/28\",\r\n \"20.38.146.192/27\",\r\n \"20.38.147.32/27\",\r\n + \ \"20.39.12.240/28\",\r\n \"20.40.200.176/28\",\r\n \"20.41.67.96/28\",\r\n + \ \"20.41.197.32/28\",\r\n \"20.42.131.34/31\",\r\n \"20.42.230.96/28\",\r\n + \ \"20.43.43.176/28\",\r\n \"20.43.70.80/28\",\r\n \"20.43.120.192/27\",\r\n + \ \"20.44.4.0/26\",\r\n \"20.44.8.128/27\",\r\n \"20.44.16.160/27\",\r\n + \ \"20.44.26.192/27\",\r\n \"20.44.27.160/27\",\r\n \"20.45.75.228/32\",\r\n + \ \"20.45.75.230/32\",\r\n \"20.45.114.208/28\",\r\n \"20.45.122.192/27\",\r\n + \ \"20.45.126.32/27\",\r\n \"20.45.197.240/28\",\r\n \"20.49.83.160/27\",\r\n + \ \"20.49.83.192/27\",\r\n \"20.49.91.160/27\",\r\n \"20.49.93.96/27\",\r\n + \ \"20.49.99.48/28\",\r\n \"20.49.109.64/28\",\r\n \"20.49.113.16/28\",\r\n + \ \"20.49.120.48/28\",\r\n \"20.50.1.224/28\",\r\n \"20.72.21.16/28\",\r\n + \ \"20.72.28.224/27\",\r\n \"20.72.30.128/27\",\r\n \"20.150.165.160/28\",\r\n + \ \"20.150.170.32/27\",\r\n \"20.150.170.128/27\",\r\n \"20.150.172.96/27\",\r\n + \ \"20.150.178.192/26\",\r\n \"20.150.186.192/26\",\r\n \"20.187.194.208/28\",\r\n + \ \"20.192.98.192/26\",\r\n \"20.192.165.192/28\",\r\n \"20.192.230.16/28\",\r\n + \ \"20.192.238.32/27\",\r\n \"20.192.238.64/27\",\r\n \"20.193.205.160/27\",\r\n + \ \"20.193.205.192/27\",\r\n \"20.194.67.128/26\",\r\n \"23.96.185.63/32\",\r\n + \ \"23.96.243.93/32\",\r\n \"23.97.120.24/32\",\r\n \"23.98.82.128/27\",\r\n + \ \"23.98.83.32/27\",\r\n \"23.98.104.144/28\",\r\n \"23.99.97.255/32\",\r\n + \ \"40.64.132.112/28\",\r\n \"40.65.124.161/32\",\r\n \"40.67.50.224/28\",\r\n + \ \"40.67.58.32/27\",\r\n \"40.67.60.32/27\",\r\n \"40.69.106.192/27\",\r\n + \ \"40.69.108.0/27\",\r\n \"40.69.161.215/32\",\r\n \"40.70.72.228/32\",\r\n + \ \"40.70.146.96/27\",\r\n \"40.70.148.64/27\",\r\n \"40.71.10.224/27\",\r\n + \ \"40.71.13.192/27\",\r\n \"40.71.215.148/32\",\r\n \"40.74.100.192/27\",\r\n + \ \"40.74.101.224/27\",\r\n \"40.74.147.0/27\",\r\n \"40.74.147.96/27\",\r\n + \ \"40.74.147.128/27\",\r\n \"40.74.254.227/32\",\r\n \"40.75.34.64/27\",\r\n + \ \"40.75.35.0/27\",\r\n \"40.78.194.192/27\",\r\n \"40.78.196.0/27\",\r\n + \ \"40.78.203.128/27\",\r\n \"40.78.203.192/27\",\r\n \"40.78.226.224/27\",\r\n + \ \"40.78.229.0/27\",\r\n \"40.78.234.64/27\",\r\n \"40.78.234.224/27\",\r\n + \ \"40.78.242.192/27\",\r\n \"40.78.243.128/27\",\r\n \"40.78.250.128/27\",\r\n + \ \"40.78.251.64/27\",\r\n \"40.79.32.162/32\",\r\n \"40.79.130.160/27\",\r\n + \ \"40.79.132.0/27\",\r\n \"40.79.138.64/27\",\r\n \"40.79.138.160/27\",\r\n + \ \"40.79.146.64/27\",\r\n \"40.79.146.160/27\",\r\n \"40.79.154.0/27\",\r\n + \ \"40.79.154.224/27\",\r\n \"40.79.156.0/27\",\r\n \"40.79.162.64/27\",\r\n + \ \"40.79.162.160/27\",\r\n \"40.79.170.160/27\",\r\n \"40.79.171.0/27\",\r\n + \ \"40.79.178.192/27\",\r\n \"40.79.179.224/27\",\r\n \"40.79.186.96/27\",\r\n + \ \"40.79.187.128/27\",\r\n \"40.79.194.0/27\",\r\n \"40.79.195.128/27\",\r\n + \ \"40.80.50.192/27\",\r\n \"40.80.51.32/27\",\r\n \"40.80.62.0/28\",\r\n + \ \"40.80.172.32/28\",\r\n \"40.89.20.144/28\",\r\n \"40.112.243.128/27\",\r\n + \ \"40.120.75.192/26\",\r\n \"40.123.207.224/32\",\r\n \"40.123.219.239/32\",\r\n + \ \"40.126.238.47/32\",\r\n \"40.127.3.232/32\",\r\n \"51.12.42.0/28\",\r\n + \ \"51.12.98.32/27\",\r\n \"51.12.98.128/27\",\r\n \"51.12.194.0/28\",\r\n + \ \"51.12.202.32/27\",\r\n \"51.12.202.128/27\",\r\n \"51.12.226.192/26\",\r\n + \ \"51.12.234.192/26\",\r\n \"51.104.8.192/27\",\r\n \"51.104.28.240/28\",\r\n + \ \"51.105.66.192/27\",\r\n \"51.105.67.128/27\",\r\n \"51.105.74.192/27\",\r\n + \ \"51.105.75.32/27\",\r\n \"51.105.83.0/28\",\r\n \"51.105.90.160/28\",\r\n + \ \"51.107.51.0/28\",\r\n \"51.107.58.32/27\",\r\n \"51.107.60.0/27\",\r\n + \ \"51.107.147.0/28\",\r\n \"51.107.154.32/27\",\r\n \"51.107.156.0/27\",\r\n + \ \"51.116.49.144/28\",\r\n \"51.116.58.32/27\",\r\n \"51.116.60.0/27\",\r\n + \ \"51.116.145.144/28\",\r\n \"51.116.154.96/27\",\r\n \"51.116.156.0/27\",\r\n + \ \"51.116.242.192/26\",\r\n \"51.116.243.32/27\",\r\n \"51.116.250.192/27\",\r\n + \ \"51.116.253.96/27\",\r\n \"51.120.43.64/28\",\r\n \"51.120.98.32/27\",\r\n + \ \"51.120.100.0/27\",\r\n \"51.120.106.192/26\",\r\n \"51.120.210.192/26\",\r\n + \ \"51.120.218.32/27\",\r\n \"51.120.218.128/27\",\r\n \"51.120.227.64/28\",\r\n + \ \"51.137.164.96/28\",\r\n \"51.140.121.92/32\",\r\n \"51.140.127.51/32\",\r\n + \ \"51.140.146.224/27\",\r\n \"51.140.210.224/27\",\r\n \"51.140.212.32/27\",\r\n + \ \"51.141.38.88/32\",\r\n \"51.141.39.175/32\",\r\n \"51.142.213.97/32\",\r\n + \ \"51.142.215.251/32\",\r\n \"51.143.195.0/28\",\r\n \"52.136.51.80/28\",\r\n + \ \"52.136.139.224/32\",\r\n \"52.136.140.157/32\",\r\n \"52.138.90.96/27\",\r\n + \ \"52.138.226.96/27\",\r\n \"52.138.226.224/27\",\r\n \"52.140.108.80/28\",\r\n + \ \"52.143.136.162/32\",\r\n \"52.143.139.82/32\",\r\n \"52.150.139.78/31\",\r\n + \ \"52.150.152.32/28\",\r\n \"52.162.107.128/27\",\r\n \"52.162.110.192/27\",\r\n + \ \"52.164.200.174/32\",\r\n \"52.165.237.178/32\",\r\n \"52.166.50.138/32\",\r\n + \ \"52.167.106.96/27\",\r\n \"52.167.106.224/27\",\r\n \"52.169.6.70/32\",\r\n + \ \"52.172.193.99/32\",\r\n \"52.172.204.185/32\",\r\n \"52.173.243.204/32\",\r\n + \ \"52.175.156.251/32\",\r\n \"52.182.138.224/27\",\r\n \"52.182.139.96/27\",\r\n + \ \"52.183.64.43/32\",\r\n \"52.185.145.40/32\",\r\n \"52.185.154.136/32\",\r\n + \ \"52.187.185.17/32\",\r\n \"52.225.130.171/32\",\r\n \"52.228.84.112/28\",\r\n + \ \"52.230.122.197/32\",\r\n \"52.231.18.160/27\",\r\n \"52.231.19.224/27\",\r\n + \ \"52.231.30.200/32\",\r\n \"52.231.34.21/32\",\r\n \"52.231.146.224/27\",\r\n + \ \"52.231.148.32/27\",\r\n \"52.231.202.76/32\",\r\n \"52.231.206.187/32\",\r\n + \ \"52.233.30.2/32\",\r\n \"52.233.38.82/32\",\r\n \"52.233.130.100/32\",\r\n + \ \"52.235.36.131/32\",\r\n \"52.236.186.96/27\",\r\n \"52.236.187.32/27\",\r\n + \ \"52.237.244.169/32\",\r\n \"52.242.36.170/32\",\r\n \"52.243.87.200/32\",\r\n + \ \"52.246.154.192/27\",\r\n \"52.246.155.32/27\",\r\n \"52.255.51.21/32\",\r\n + \ \"65.52.252.0/27\",\r\n \"65.52.252.64/27\",\r\n \"102.133.27.224/27\",\r\n + \ \"102.133.28.32/27\",\r\n \"102.133.58.208/28\",\r\n \"102.133.72.35/32\",\r\n + \ \"102.133.72.42/32\",\r\n \"102.133.122.192/27\",\r\n \"102.133.123.192/27\",\r\n + \ \"102.133.155.224/27\",\r\n \"102.133.156.32/27\",\r\n + \ \"102.133.160.35/32\",\r\n \"102.133.218.128/28\",\r\n + \ \"102.133.250.192/27\",\r\n \"102.133.251.32/27\",\r\n + \ \"104.42.96.175/32\",\r\n \"104.208.16.96/27\",\r\n \"104.208.144.96/27\",\r\n + \ \"104.211.81.160/27\",\r\n \"104.211.146.192/27\",\r\n + \ \"104.211.187.232/32\",\r\n \"104.214.19.0/27\",\r\n \"104.214.108.80/32\",\r\n + \ \"104.215.17.87/32\",\r\n \"191.232.163.58/32\",\r\n \"191.233.11.128/28\",\r\n + \ \"191.233.54.32/27\",\r\n \"191.233.54.192/27\",\r\n \"191.233.203.160/27\",\r\n + \ \"191.233.205.32/27\",\r\n \"191.234.136.64/28\",\r\n \"191.234.146.192/26\",\r\n + \ \"191.234.154.192/26\",\r\n \"2603:1000:4:402::380/122\",\r\n + \ \"2603:1000:104:402::380/122\",\r\n \"2603:1000:104:802::260/123\",\r\n + \ \"2603:1000:104:802::280/123\",\r\n \"2603:1000:104:c02::260/123\",\r\n + \ \"2603:1000:104:c02::280/123\",\r\n \"2603:1010:6:402::380/122\",\r\n + \ \"2603:1010:6:802::260/123\",\r\n \"2603:1010:6:802::280/123\",\r\n + \ \"2603:1010:6:c02::260/123\",\r\n \"2603:1010:6:c02::280/123\",\r\n + \ \"2603:1010:101:402::380/122\",\r\n \"2603:1010:304:402::380/122\",\r\n + \ \"2603:1010:404:402::380/122\",\r\n \"2603:1020:5:402::380/122\",\r\n + \ \"2603:1020:5:802::260/123\",\r\n \"2603:1020:5:802::280/123\",\r\n + \ \"2603:1020:5:c02::260/123\",\r\n \"2603:1020:5:c02::280/123\",\r\n + \ \"2603:1020:206:402::380/122\",\r\n \"2603:1020:206:802::260/123\",\r\n + \ \"2603:1020:206:802::280/123\",\r\n \"2603:1020:206:c02::260/123\",\r\n + \ \"2603:1020:206:c02::280/123\",\r\n \"2603:1020:305:402::380/122\",\r\n + \ \"2603:1020:405:402::380/122\",\r\n \"2603:1020:605:402::380/122\",\r\n + \ \"2603:1020:705:402::380/122\",\r\n \"2603:1020:705:802::260/123\",\r\n + \ \"2603:1020:705:802::280/123\",\r\n \"2603:1020:705:c02::260/123\",\r\n + \ \"2603:1020:705:c02::280/123\",\r\n \"2603:1020:805:402::380/122\",\r\n + \ \"2603:1020:805:802::260/123\",\r\n \"2603:1020:805:802::280/123\",\r\n + \ \"2603:1020:805:c02::260/123\",\r\n \"2603:1020:805:c02::280/123\",\r\n + \ \"2603:1020:905:402::380/122\",\r\n \"2603:1020:a04:402::380/122\",\r\n + \ \"2603:1020:a04:802::260/123\",\r\n \"2603:1020:a04:802::280/123\",\r\n + \ \"2603:1020:a04:c02::260/123\",\r\n \"2603:1020:a04:c02::280/123\",\r\n + \ \"2603:1020:b04:402::380/122\",\r\n \"2603:1020:c04:402::380/122\",\r\n + \ \"2603:1020:c04:802::260/123\",\r\n \"2603:1020:c04:802::280/123\",\r\n + \ \"2603:1020:c04:c02::260/123\",\r\n \"2603:1020:c04:c02::280/123\",\r\n + \ \"2603:1020:d04:402::380/122\",\r\n \"2603:1020:e04:3::400/123\",\r\n + \ \"2603:1020:e04:402::380/122\",\r\n \"2603:1020:e04:802::260/123\",\r\n + \ \"2603:1020:e04:802::280/123\",\r\n \"2603:1020:e04:c02::260/123\",\r\n + \ \"2603:1020:e04:c02::280/123\",\r\n \"2603:1020:f04:402::380/122\",\r\n + \ \"2603:1020:1004:1::500/123\",\r\n \"2603:1020:1004:400::200/122\",\r\n + \ \"2603:1020:1004:800::300/122\",\r\n \"2603:1020:1004:c02::2c0/122\",\r\n + \ \"2603:1020:1104:1::1e0/123\",\r\n \"2603:1020:1104:400::340/122\",\r\n + \ \"2603:1030:f:2::6e0/123\",\r\n \"2603:1030:f:400::b80/122\",\r\n + \ \"2603:1030:10:402::380/122\",\r\n \"2603:1030:10:802::260/123\",\r\n + \ \"2603:1030:10:802::280/123\",\r\n \"2603:1030:10:c02::260/123\",\r\n + \ \"2603:1030:10:c02::280/123\",\r\n \"2603:1030:104:402::380/122\",\r\n + \ \"2603:1030:107:1::220/123\",\r\n \"2603:1030:107:400::2c0/122\",\r\n + \ \"2603:1030:210:402::380/122\",\r\n \"2603:1030:210:802::260/123\",\r\n + \ \"2603:1030:210:802::280/123\",\r\n \"2603:1030:210:c02::260/123\",\r\n + \ \"2603:1030:210:c02::280/123\",\r\n \"2603:1030:40b:400::b80/122\",\r\n + \ \"2603:1030:40b:800::260/123\",\r\n \"2603:1030:40b:800::280/123\",\r\n + \ \"2603:1030:40b:c00::260/123\",\r\n \"2603:1030:40b:c00::280/123\",\r\n + \ \"2603:1030:40c:402::380/122\",\r\n \"2603:1030:40c:802::260/123\",\r\n + \ \"2603:1030:40c:802::280/123\",\r\n \"2603:1030:40c:c02::260/123\",\r\n + \ \"2603:1030:40c:c02::280/123\",\r\n \"2603:1030:504::500/123\",\r\n + \ \"2603:1030:504:402::200/122\",\r\n \"2603:1030:504:802::300/122\",\r\n + \ \"2603:1030:504:c02::2c0/122\",\r\n \"2603:1030:608:402::380/122\",\r\n + \ \"2603:1030:807:402::380/122\",\r\n \"2603:1030:807:802::260/123\",\r\n + \ \"2603:1030:807:802::280/123\",\r\n \"2603:1030:807:c02::260/123\",\r\n + \ \"2603:1030:807:c02::280/123\",\r\n \"2603:1030:a07:402::300/122\",\r\n + \ \"2603:1030:b04:402::380/122\",\r\n \"2603:1030:c06:400::b80/122\",\r\n + \ \"2603:1030:c06:802::260/123\",\r\n \"2603:1030:c06:802::280/123\",\r\n + \ \"2603:1030:c06:c02::260/123\",\r\n \"2603:1030:c06:c02::280/123\",\r\n + \ \"2603:1030:f05:402::380/122\",\r\n \"2603:1030:f05:802::260/123\",\r\n + \ \"2603:1030:f05:802::280/123\",\r\n \"2603:1030:f05:c02::260/123\",\r\n + \ \"2603:1030:f05:c02::280/123\",\r\n \"2603:1030:1005:402::380/122\",\r\n + \ \"2603:1040:5:402::380/122\",\r\n \"2603:1040:5:802::260/123\",\r\n + \ \"2603:1040:5:802::280/123\",\r\n \"2603:1040:5:c02::260/123\",\r\n + \ \"2603:1040:5:c02::280/123\",\r\n \"2603:1040:207:402::380/122\",\r\n + \ \"2603:1040:407:402::380/122\",\r\n \"2603:1040:407:802::260/123\",\r\n + \ \"2603:1040:407:802::280/123\",\r\n \"2603:1040:407:c02::260/123\",\r\n + \ \"2603:1040:407:c02::280/123\",\r\n \"2603:1040:606:402::380/122\",\r\n + \ \"2603:1040:806:402::380/122\",\r\n \"2603:1040:904:402::380/122\",\r\n + \ \"2603:1040:904:802::260/123\",\r\n \"2603:1040:904:802::280/123\",\r\n + \ \"2603:1040:904:c02::260/123\",\r\n \"2603:1040:904:c02::280/123\",\r\n + \ \"2603:1040:a06:2::580/123\",\r\n \"2603:1040:a06:402::380/122\",\r\n + \ \"2603:1040:a06:802::260/123\",\r\n \"2603:1040:a06:802::280/123\",\r\n + \ \"2603:1040:a06:c02::260/123\",\r\n \"2603:1040:a06:c02::280/123\",\r\n + \ \"2603:1040:b04:402::380/122\",\r\n \"2603:1040:c06:402::380/122\",\r\n + \ \"2603:1040:d04:1::500/123\",\r\n \"2603:1040:d04:400::200/122\",\r\n + \ \"2603:1040:d04:800::300/122\",\r\n \"2603:1040:d04:c02::2c0/122\",\r\n + \ \"2603:1040:f05:2::240/123\",\r\n \"2603:1040:f05:402::380/122\",\r\n + \ \"2603:1040:f05:802::260/123\",\r\n \"2603:1040:f05:802::280/123\",\r\n + \ \"2603:1040:f05:c02::260/123\",\r\n \"2603:1040:f05:c02::280/123\",\r\n + \ \"2603:1040:1104:1::1e0/123\",\r\n \"2603:1040:1104:400::340/122\",\r\n + \ \"2603:1050:6:402::380/122\",\r\n \"2603:1050:6:802::260/123\",\r\n + \ \"2603:1050:6:802::280/123\",\r\n \"2603:1050:6:c02::260/123\",\r\n + \ \"2603:1050:6:c02::280/123\",\r\n \"2603:1050:403:400::260/123\",\r\n + \ \"2603:1050:403:400::280/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"Storage\",\r\n \"id\": \"Storage\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\",\r\n + \ \"VSE\"\r\n ],\r\n \"systemService\": \"AzureStorage\",\r\n + \ \"addressPrefixes\": [\r\n \"13.65.107.32/28\",\r\n \"13.65.160.16/28\",\r\n + \ \"13.65.160.48/28\",\r\n \"13.65.160.64/28\",\r\n \"13.66.176.16/28\",\r\n + \ \"13.66.176.48/28\",\r\n \"13.66.232.64/28\",\r\n \"13.66.232.208/28\",\r\n + \ \"13.66.232.224/28\",\r\n \"13.66.234.0/27\",\r\n \"13.67.155.16/28\",\r\n + \ \"13.68.120.64/28\",\r\n \"13.68.163.32/28\",\r\n \"13.68.165.64/28\",\r\n + \ \"13.68.167.240/28\",\r\n \"13.69.40.16/28\",\r\n \"13.70.99.16/28\",\r\n + \ \"13.70.99.48/28\",\r\n \"13.70.99.64/28\",\r\n \"13.70.208.16/28\",\r\n + \ \"13.71.200.64/28\",\r\n \"13.71.200.96/28\",\r\n \"13.71.200.240/28\",\r\n + \ \"13.71.202.16/28\",\r\n \"13.71.202.32/28\",\r\n \"13.71.202.64/27\",\r\n + \ \"13.72.235.64/28\",\r\n \"13.72.235.96/27\",\r\n \"13.72.235.144/28\",\r\n + \ \"13.72.237.48/28\",\r\n \"13.72.237.64/28\",\r\n \"13.73.8.16/28\",\r\n + \ \"13.73.8.32/28\",\r\n \"13.74.208.64/28\",\r\n \"13.74.208.112/28\",\r\n + \ \"13.74.208.144/28\",\r\n \"13.75.240.16/28\",\r\n \"13.75.240.32/28\",\r\n + \ \"13.75.240.64/27\",\r\n \"13.76.104.16/28\",\r\n \"13.77.8.16/28\",\r\n + \ \"13.77.8.32/28\",\r\n \"13.77.8.64/28\",\r\n \"13.77.8.96/28\",\r\n + \ \"13.77.8.128/27\",\r\n \"13.77.8.160/28\",\r\n \"13.77.8.192/27\",\r\n + \ \"13.77.112.16/28\",\r\n \"13.77.112.32/28\",\r\n \"13.77.112.112/28\",\r\n + \ \"13.77.112.128/28\",\r\n \"13.77.115.16/28\",\r\n \"13.77.115.32/28\",\r\n + \ \"13.77.184.64/28\",\r\n \"13.78.152.64/28\",\r\n \"13.78.240.16/28\",\r\n + \ \"13.79.176.16/28\",\r\n \"13.79.176.48/28\",\r\n \"13.79.176.80/28\",\r\n + \ \"13.82.33.32/28\",\r\n \"13.82.152.16/28\",\r\n \"13.82.152.48/28\",\r\n + \ \"13.82.152.80/28\",\r\n \"13.83.72.16/28\",\r\n \"13.84.56.16/28\",\r\n + \ \"13.85.88.16/28\",\r\n \"13.85.200.128/28\",\r\n \"13.87.40.64/28\",\r\n + \ \"13.87.40.96/28\",\r\n \"13.87.104.64/28\",\r\n \"13.87.104.96/28\",\r\n + \ \"13.88.144.112/28\",\r\n \"13.88.144.240/28\",\r\n \"13.88.145.64/28\",\r\n + \ \"13.88.145.96/28\",\r\n \"13.88.145.128/28\",\r\n \"13.93.168.80/28\",\r\n + \ \"13.93.168.112/28\",\r\n \"13.93.168.144/28\",\r\n \"13.95.96.176/28\",\r\n + \ \"13.95.240.16/28\",\r\n \"13.95.240.32/28\",\r\n \"13.95.240.64/27\",\r\n + \ \"20.38.96.0/19\",\r\n \"20.47.0.0/18\",\r\n \"20.60.0.0/16\",\r\n + \ \"20.150.0.0/17\",\r\n \"20.157.32.0/19\",\r\n \"20.157.128.0/19\",\r\n + \ \"23.96.64.64/26\",\r\n \"23.97.112.64/26\",\r\n \"23.98.49.0/26\",\r\n + \ \"23.98.49.192/26\",\r\n \"23.98.55.0/26\",\r\n \"23.98.55.112/28\",\r\n + \ \"23.98.55.144/28\",\r\n \"23.98.56.0/26\",\r\n \"23.98.57.64/26\",\r\n + \ \"23.98.160.64/26\",\r\n \"23.98.162.192/26\",\r\n \"23.98.168.0/24\",\r\n + \ \"23.98.192.64/26\",\r\n \"23.98.255.64/26\",\r\n \"23.99.32.64/26\",\r\n + \ \"23.99.34.224/28\",\r\n \"23.99.37.96/28\",\r\n \"23.99.47.32/28\",\r\n + \ \"23.99.160.64/26\",\r\n \"23.99.160.192/28\",\r\n \"23.102.206.0/28\",\r\n + \ \"23.102.206.128/28\",\r\n \"23.102.206.192/28\",\r\n \"40.68.176.16/28\",\r\n + \ \"40.68.176.48/28\",\r\n \"40.68.232.16/28\",\r\n \"40.68.232.48/28\",\r\n + \ \"40.69.176.16/28\",\r\n \"40.70.88.0/28\",\r\n \"40.71.104.16/28\",\r\n + \ \"40.71.104.32/28\",\r\n \"40.71.240.16/28\",\r\n \"40.78.72.16/28\",\r\n + \ \"40.78.112.64/28\",\r\n \"40.79.8.16/28\",\r\n \"40.79.48.16/28\",\r\n + \ \"40.79.88.16/28\",\r\n \"40.83.24.16/28\",\r\n \"40.83.24.80/28\",\r\n + \ \"40.83.24.96/27\",\r\n \"40.83.104.176/28\",\r\n \"40.83.104.208/28\",\r\n + \ \"40.83.225.32/28\",\r\n \"40.83.227.16/28\",\r\n \"40.84.8.32/28\",\r\n + \ \"40.84.11.80/28\",\r\n \"40.85.105.32/28\",\r\n \"40.85.232.64/28\",\r\n + \ \"40.85.232.96/28\",\r\n \"40.85.232.144/28\",\r\n \"40.85.235.32/27\",\r\n + \ \"40.85.235.80/28\",\r\n \"40.85.235.96/28\",\r\n \"40.86.232.64/28\",\r\n + \ \"40.86.232.96/28\",\r\n \"40.86.232.128/28\",\r\n \"40.86.232.176/28\",\r\n + \ \"40.86.232.192/28\",\r\n \"40.112.152.16/28\",\r\n \"40.112.224.16/28\",\r\n + \ \"40.112.224.48/28\",\r\n \"40.113.27.176/28\",\r\n \"40.114.152.16/28\",\r\n + \ \"40.114.152.48/28\",\r\n \"40.115.169.32/28\",\r\n \"40.115.175.16/28\",\r\n + \ \"40.115.175.32/28\",\r\n \"40.115.227.80/28\",\r\n \"40.115.229.16/28\",\r\n + \ \"40.115.229.32/28\",\r\n \"40.115.231.64/27\",\r\n \"40.115.231.112/28\",\r\n + \ \"40.115.231.128/28\",\r\n \"40.116.120.16/28\",\r\n \"40.116.232.16/28\",\r\n + \ \"40.116.232.48/28\",\r\n \"40.116.232.96/28\",\r\n \"40.117.48.80/28\",\r\n + \ \"40.117.48.112/28\",\r\n \"40.117.104.16/28\",\r\n \"40.118.72.176/28\",\r\n + \ \"40.118.73.48/28\",\r\n \"40.118.73.176/28\",\r\n \"40.118.73.208/28\",\r\n + \ \"40.122.96.16/28\",\r\n \"40.122.216.16/28\",\r\n \"40.123.16.16/28\",\r\n + \ \"51.140.16.16/28\",\r\n \"51.140.16.32/28\",\r\n \"51.140.168.64/27\",\r\n + \ \"51.140.168.112/28\",\r\n \"51.140.168.128/28\",\r\n \"51.140.232.64/27\",\r\n + \ \"51.140.232.112/28\",\r\n \"51.140.232.128/28\",\r\n \"51.140.232.160/27\",\r\n + \ \"51.141.128.0/23\",\r\n \"51.141.130.0/25\",\r\n \"52.161.112.16/28\",\r\n + \ \"52.161.112.32/28\",\r\n \"52.161.168.16/28\",\r\n \"52.161.168.32/28\",\r\n + \ \"52.162.56.16/28\",\r\n \"52.162.56.32/28\",\r\n \"52.162.56.64/27\",\r\n + \ \"52.162.56.112/28\",\r\n \"52.162.56.128/28\",\r\n \"52.163.176.16/28\",\r\n + \ \"52.163.232.16/28\",\r\n \"52.164.112.16/28\",\r\n \"52.164.232.16/28\",\r\n + \ \"52.164.232.32/28\",\r\n \"52.164.232.64/28\",\r\n \"52.165.104.16/28\",\r\n + \ \"52.165.104.32/28\",\r\n \"52.165.104.64/27\",\r\n \"52.165.104.112/28\",\r\n + \ \"52.165.104.144/28\",\r\n \"52.165.104.160/28\",\r\n \"52.165.136.32/28\",\r\n + \ \"52.165.240.64/28\",\r\n \"52.166.80.32/27\",\r\n \"52.166.80.80/28\",\r\n + \ \"52.166.80.96/28\",\r\n \"52.167.88.80/28\",\r\n \"52.167.88.112/28\",\r\n + \ \"52.167.240.16/28\",\r\n \"52.169.168.32/27\",\r\n \"52.169.240.16/28\",\r\n + \ \"52.169.240.32/28\",\r\n \"52.169.240.64/28\",\r\n \"52.171.144.32/27\",\r\n + \ \"52.171.144.80/28\",\r\n \"52.171.144.96/28\",\r\n \"52.171.144.128/28\",\r\n + \ \"52.172.16.16/28\",\r\n \"52.172.16.80/28\",\r\n \"52.172.16.96/28\",\r\n + \ \"52.172.16.128/27\",\r\n \"52.173.152.64/28\",\r\n \"52.173.152.96/28\",\r\n + \ \"52.174.8.32/28\",\r\n \"52.174.224.16/28\",\r\n \"52.174.224.32/28\",\r\n + \ \"52.174.224.64/27\",\r\n \"52.174.224.112/28\",\r\n \"52.174.224.128/28\",\r\n + \ \"52.175.40.128/28\",\r\n \"52.175.112.16/28\",\r\n \"52.176.224.64/28\",\r\n + \ \"52.176.224.96/28\",\r\n \"52.177.208.80/28\",\r\n \"52.178.168.32/27\",\r\n + \ \"52.178.168.80/28\",\r\n \"52.178.168.96/28\",\r\n \"52.178.168.128/27\",\r\n + \ \"52.179.24.16/28\",\r\n \"52.179.144.32/28\",\r\n \"52.179.144.64/28\",\r\n + \ \"52.179.240.16/28\",\r\n \"52.179.240.48/28\",\r\n \"52.179.240.64/28\",\r\n + \ \"52.179.240.96/27\",\r\n \"52.179.240.144/28\",\r\n \"52.179.240.160/28\",\r\n + \ \"52.179.240.192/27\",\r\n \"52.179.240.240/28\",\r\n \"52.179.241.0/28\",\r\n + \ \"52.179.241.32/27\",\r\n \"52.180.40.16/28\",\r\n \"52.180.40.32/28\",\r\n + \ \"52.180.184.16/28\",\r\n \"52.182.176.16/28\",\r\n \"52.182.176.32/28\",\r\n + \ \"52.182.176.64/27\",\r\n \"52.183.48.16/28\",\r\n \"52.183.104.16/28\",\r\n + \ \"52.183.104.32/28\",\r\n \"52.184.40.16/28\",\r\n \"52.184.40.32/28\",\r\n + \ \"52.184.168.32/28\",\r\n \"52.184.168.96/27\",\r\n \"52.185.56.80/28\",\r\n + \ \"52.185.56.96/28\",\r\n \"52.185.56.144/28\",\r\n \"52.185.56.160/28\",\r\n + \ \"52.185.112.16/28\",\r\n \"52.185.112.48/28\",\r\n \"52.185.112.80/28\",\r\n + \ \"52.185.112.112/28\",\r\n \"52.185.233.0/24\",\r\n \"52.186.112.32/27\",\r\n + \ \"52.187.141.32/27\",\r\n \"52.189.177.0/24\",\r\n \"52.190.240.16/28\",\r\n + \ \"52.190.240.32/28\",\r\n \"52.190.240.64/27\",\r\n \"52.190.240.112/28\",\r\n + \ \"52.190.240.128/28\",\r\n \"52.191.176.16/28\",\r\n \"52.191.176.32/28\",\r\n + \ \"52.225.40.32/27\",\r\n \"52.225.136.16/28\",\r\n \"52.225.136.32/28\",\r\n + \ \"52.225.240.0/28\",\r\n \"52.226.8.32/27\",\r\n \"52.226.8.80/28\",\r\n + \ \"52.226.8.96/28\",\r\n \"52.226.8.128/27\",\r\n \"52.228.232.0/28\",\r\n + \ \"52.229.80.64/27\",\r\n \"52.230.240.16/28\",\r\n \"52.230.240.32/28\",\r\n + \ \"52.230.240.64/27\",\r\n \"52.230.240.112/28\",\r\n \"52.230.240.128/28\",\r\n + \ \"52.230.240.160/27\",\r\n \"52.231.80.64/27\",\r\n \"52.231.80.112/28\",\r\n + \ \"52.231.80.128/28\",\r\n \"52.231.80.160/27\",\r\n \"52.231.168.64/27\",\r\n + \ \"52.231.168.112/28\",\r\n \"52.231.168.128/28\",\r\n \"52.231.208.16/28\",\r\n + \ \"52.231.208.32/28\",\r\n \"52.232.232.16/28\",\r\n \"52.232.232.32/28\",\r\n + \ \"52.232.232.80/28\",\r\n \"52.232.232.96/28\",\r\n \"52.232.232.128/27\",\r\n + \ \"52.232.232.176/28\",\r\n \"52.232.232.192/28\",\r\n \"52.234.176.48/28\",\r\n + \ \"52.234.176.64/28\",\r\n \"52.234.176.96/27\",\r\n \"52.236.40.16/28\",\r\n + \ \"52.236.40.32/28\",\r\n \"52.236.240.48/28\",\r\n \"52.236.240.64/28\",\r\n + \ \"52.237.104.16/28\",\r\n \"52.237.104.32/28\",\r\n \"52.238.56.16/28\",\r\n + \ \"52.238.56.32/28\",\r\n \"52.238.56.64/27\",\r\n \"52.238.56.112/28\",\r\n + \ \"52.238.56.128/28\",\r\n \"52.238.56.160/27\",\r\n \"52.238.200.32/27\",\r\n + \ \"52.239.104.16/28\",\r\n \"52.239.104.32/28\",\r\n \"52.239.128.0/20\",\r\n + \ \"52.239.144.0/22\",\r\n \"52.239.148.0/27\",\r\n \"52.239.148.64/26\",\r\n + \ \"52.239.148.128/25\",\r\n \"52.239.149.0/24\",\r\n \"52.239.150.0/23\",\r\n + \ \"52.239.152.0/21\",\r\n \"52.239.160.0/22\",\r\n \"52.239.164.0/24\",\r\n + \ \"52.239.165.0/26\",\r\n \"52.239.165.160/27\",\r\n \"52.239.165.192/26\",\r\n + \ \"52.239.167.0/24\",\r\n \"52.239.168.0/21\",\r\n \"52.239.176.128/25\",\r\n + \ \"52.239.177.0/24\",\r\n \"52.239.178.0/23\",\r\n \"52.239.180.0/22\",\r\n + \ \"52.239.184.0/22\",\r\n \"52.239.188.0/23\",\r\n \"52.239.190.0/24\",\r\n + \ \"52.239.191.0/28\",\r\n \"52.239.192.0/21\",\r\n \"52.239.200.0/22\",\r\n + \ \"52.239.205.0/24\",\r\n \"52.239.206.0/23\",\r\n \"52.239.208.0/20\",\r\n + \ \"52.239.224.0/19\",\r\n \"52.240.48.16/28\",\r\n \"52.240.48.32/28\",\r\n + \ \"52.240.60.16/28\",\r\n \"52.240.60.32/28\",\r\n \"52.240.60.64/27\",\r\n + \ \"52.241.88.16/28\",\r\n \"52.241.88.32/28\",\r\n \"52.241.88.64/27\",\r\n + \ \"52.245.40.0/24\",\r\n \"104.41.232.16/28\",\r\n \"104.42.200.16/28\",\r\n + \ \"104.43.80.16/28\",\r\n \"104.46.31.16/28\",\r\n \"104.208.0.16/28\",\r\n + \ \"104.208.0.48/28\",\r\n \"104.208.128.16/28\",\r\n \"104.208.248.16/28\",\r\n + \ \"104.211.104.64/28\",\r\n \"104.211.104.96/28\",\r\n \"104.211.104.128/28\",\r\n + \ \"104.211.109.0/28\",\r\n \"104.211.109.32/27\",\r\n \"104.211.109.80/28\",\r\n + \ \"104.211.109.96/28\",\r\n \"104.211.168.16/28\",\r\n \"104.211.232.16/28\",\r\n + \ \"104.211.232.48/28\",\r\n \"104.211.232.80/28\",\r\n \"104.211.232.176/28\",\r\n + \ \"104.214.40.16/28\",\r\n \"104.214.80.16/28\",\r\n \"104.214.80.48/28\",\r\n + \ \"104.214.152.16/28\",\r\n \"104.214.152.176/28\",\r\n + \ \"104.214.243.32/28\",\r\n \"104.215.32.16/28\",\r\n \"104.215.32.32/28\",\r\n + \ \"104.215.32.64/27\",\r\n \"104.215.35.32/27\",\r\n \"104.215.104.64/28\",\r\n + \ \"104.215.240.64/28\",\r\n \"104.215.240.96/28\",\r\n \"137.116.1.0/25\",\r\n + \ \"137.116.2.0/25\",\r\n \"137.116.3.0/25\",\r\n \"137.116.3.128/26\",\r\n + \ \"137.116.96.0/25\",\r\n \"137.116.96.128/26\",\r\n \"137.135.192.64/26\",\r\n + \ \"137.135.192.192/26\",\r\n \"137.135.193.192/26\",\r\n + \ \"137.135.194.0/25\",\r\n \"137.135.194.192/26\",\r\n \"138.91.96.64/26\",\r\n + \ \"138.91.96.128/26\",\r\n \"138.91.128.128/26\",\r\n \"138.91.129.0/26\",\r\n + \ \"157.56.216.0/26\",\r\n \"168.61.57.64/26\",\r\n \"168.61.57.128/25\",\r\n + \ \"168.61.58.0/26\",\r\n \"168.61.58.128/26\",\r\n \"168.61.59.64/26\",\r\n + \ \"168.61.61.0/26\",\r\n \"168.61.61.192/26\",\r\n \"168.61.120.32/27\",\r\n + \ \"168.61.120.64/27\",\r\n \"168.61.121.0/26\",\r\n \"168.61.128.192/26\",\r\n + \ \"168.61.129.0/25\",\r\n \"168.61.130.64/26\",\r\n \"168.61.130.128/25\",\r\n + \ \"168.61.131.0/26\",\r\n \"168.61.131.128/25\",\r\n \"168.61.132.0/26\",\r\n + \ \"168.62.0.0/26\",\r\n \"168.62.1.128/26\",\r\n \"168.62.32.0/26\",\r\n + \ \"168.62.32.192/26\",\r\n \"168.62.33.128/26\",\r\n \"168.62.96.128/25\",\r\n + \ \"168.62.128.128/26\",\r\n \"168.63.0.0/26\",\r\n \"168.63.2.64/26\",\r\n + \ \"168.63.3.32/27\",\r\n \"168.63.3.64/27\",\r\n \"168.63.32.0/26\",\r\n + \ \"168.63.33.192/26\",\r\n \"168.63.89.64/26\",\r\n \"168.63.89.128/26\",\r\n + \ \"168.63.113.32/27\",\r\n \"168.63.113.64/27\",\r\n \"168.63.128.0/26\",\r\n + \ \"168.63.128.128/25\",\r\n \"168.63.129.128/25\",\r\n \"168.63.130.0/26\",\r\n + \ \"168.63.130.128/26\",\r\n \"168.63.131.0/26\",\r\n \"168.63.156.64/26\",\r\n + \ \"168.63.156.192/26\",\r\n \"168.63.160.0/26\",\r\n \"168.63.160.192/26\",\r\n + \ \"168.63.161.64/26\",\r\n \"168.63.161.160/27\",\r\n \"168.63.161.192/26\",\r\n + \ \"168.63.162.32/27\",\r\n \"168.63.162.64/26\",\r\n \"168.63.162.144/28\",\r\n + \ \"168.63.162.192/26\",\r\n \"168.63.163.128/26\",\r\n \"168.63.180.64/26\",\r\n + \ \"191.232.216.32/27\",\r\n \"191.232.221.16/28\",\r\n \"191.232.221.32/28\",\r\n + \ \"191.233.128.0/24\",\r\n \"191.235.192.192/26\",\r\n \"191.235.193.32/28\",\r\n + \ \"191.235.248.0/23\",\r\n \"191.235.250.0/25\",\r\n \"191.235.255.192/26\",\r\n + \ \"191.237.32.128/28\",\r\n \"191.237.32.208/28\",\r\n \"191.237.32.240/28\",\r\n + \ \"191.237.160.64/26\",\r\n \"191.237.160.224/28\",\r\n + \ \"191.237.232.32/28\",\r\n \"191.237.232.128/28\",\r\n + \ \"191.237.238.32/28\",\r\n \"191.238.0.0/26\",\r\n \"191.238.0.224/28\",\r\n + \ \"191.238.64.64/26\",\r\n \"191.238.64.192/28\",\r\n \"191.238.66.0/26\",\r\n + \ \"191.239.192.0/26\",\r\n \"191.239.203.0/28\",\r\n \"191.239.224.0/26\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"Storage.AustraliaCentral\",\r\n + \ \"id\": \"Storage.AustraliaCentral\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"australiacentral\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureStorage\",\r\n \"addressPrefixes\": [\r\n \"20.47.35.0/24\",\r\n + \ \"20.150.124.0/24\",\r\n \"52.239.216.0/23\"\r\n ]\r\n + \ }\r\n },\r\n {\r\n \"name\": \"Storage.AustraliaCentral2\",\r\n + \ \"id\": \"Storage.AustraliaCentral2\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"australiacentral2\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureStorage\",\r\n \"addressPrefixes\": [\r\n \"20.47.36.0/24\",\r\n + \ \"20.150.103.0/24\",\r\n \"52.239.218.0/23\"\r\n ]\r\n + \ }\r\n },\r\n {\r\n \"name\": \"Storage.AustraliaEast\",\r\n + \ \"id\": \"Storage.AustraliaEast\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"australiaeast\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureStorage\",\r\n \"addressPrefixes\": + [\r\n \"13.70.99.16/28\",\r\n \"13.70.99.48/28\",\r\n \"13.70.99.64/28\",\r\n + \ \"13.72.235.64/28\",\r\n \"13.72.235.96/27\",\r\n \"13.72.235.144/28\",\r\n + \ \"13.72.237.48/28\",\r\n \"13.72.237.64/28\",\r\n \"13.75.240.16/28\",\r\n + \ \"13.75.240.32/28\",\r\n \"13.75.240.64/27\",\r\n \"20.38.112.0/23\",\r\n + \ \"20.47.37.0/24\",\r\n \"20.60.72.0/22\",\r\n \"20.60.182.0/23\",\r\n + \ \"20.150.66.0/24\",\r\n \"20.150.92.0/24\",\r\n \"20.150.117.0/24\",\r\n + \ \"20.157.44.0/24\",\r\n \"52.239.130.0/23\",\r\n \"52.239.226.0/24\",\r\n + \ \"104.46.31.16/28\",\r\n \"191.238.66.0/26\"\r\n ]\r\n + \ }\r\n },\r\n {\r\n \"name\": \"Storage.AustraliaSoutheast\",\r\n + \ \"id\": \"Storage.AustraliaSoutheast\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"australiasoutheast\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureStorage\",\r\n \"addressPrefixes\": [\r\n \"13.77.8.16/28\",\r\n + \ \"13.77.8.32/28\",\r\n \"13.77.8.64/28\",\r\n \"13.77.8.96/28\",\r\n + \ \"13.77.8.128/27\",\r\n \"13.77.8.160/28\",\r\n \"13.77.8.192/27\",\r\n + \ \"20.47.38.0/24\",\r\n \"20.60.32.0/23\",\r\n \"20.150.12.0/23\",\r\n + \ \"20.150.119.0/24\",\r\n \"20.157.45.0/24\",\r\n \"52.239.132.0/23\",\r\n + \ \"52.239.225.0/24\",\r\n \"191.239.192.0/26\"\r\n ]\r\n + \ }\r\n },\r\n {\r\n \"name\": \"Storage.BrazilSouth\",\r\n + \ \"id\": \"Storage.BrazilSouth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"brazilsouth\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureStorage\",\r\n \"addressPrefixes\": + [\r\n \"20.47.39.0/24\",\r\n \"20.60.36.0/23\",\r\n \"20.150.111.0/24\",\r\n + \ \"20.157.55.0/24\",\r\n \"23.97.112.64/26\",\r\n \"191.232.216.32/27\",\r\n + \ \"191.232.221.16/28\",\r\n \"191.232.221.32/28\",\r\n \"191.233.128.0/24\",\r\n + \ \"191.235.248.0/23\",\r\n \"191.235.250.0/25\"\r\n ]\r\n + \ }\r\n },\r\n {\r\n \"name\": \"Storage.CanadaCentral\",\r\n + \ \"id\": \"Storage.CanadaCentral\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"canadacentral\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureStorage\",\r\n \"addressPrefixes\": + [\r\n \"20.38.114.0/25\",\r\n \"20.47.40.0/24\",\r\n \"20.60.42.0/23\",\r\n + \ \"20.150.16.0/24\",\r\n \"20.150.31.0/24\",\r\n \"20.150.71.0/24\",\r\n + \ \"20.150.100.0/24\",\r\n \"20.157.52.0/24\",\r\n \"40.85.232.64/28\",\r\n + \ \"40.85.232.96/28\",\r\n \"40.85.232.144/28\",\r\n \"40.85.235.32/27\",\r\n + \ \"40.85.235.80/28\",\r\n \"40.85.235.96/28\",\r\n \"52.239.148.64/26\",\r\n + \ \"52.239.189.0/24\"\r\n ]\r\n }\r\n },\r\n {\r\n + \ \"name\": \"Storage.CanadaEast\",\r\n \"id\": \"Storage.CanadaEast\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"canadaeast\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureStorage\",\r\n \"addressPrefixes\": [\r\n \"20.38.121.128/25\",\r\n + \ \"20.47.41.0/24\",\r\n \"20.60.142.0/23\",\r\n \"20.150.1.0/25\",\r\n + \ \"20.150.40.128/25\",\r\n \"20.150.113.0/24\",\r\n \"40.86.232.64/28\",\r\n + \ \"40.86.232.96/28\",\r\n \"40.86.232.128/28\",\r\n \"40.86.232.176/28\",\r\n + \ \"40.86.232.192/28\",\r\n \"52.229.80.64/27\",\r\n \"52.239.164.128/26\",\r\n + \ \"52.239.190.0/25\"\r\n ]\r\n }\r\n },\r\n {\r\n + \ \"name\": \"Storage.CentralIndia\",\r\n \"id\": \"Storage.CentralIndia\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"1\",\r\n \"region\": \"centralindia\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureStorage\",\r\n \"addressPrefixes\": [\r\n \"20.38.126.0/23\",\r\n + \ \"20.47.42.0/24\",\r\n \"20.150.114.0/24\",\r\n \"52.239.135.64/26\",\r\n + \ \"52.239.202.0/24\",\r\n \"104.211.104.64/28\",\r\n \"104.211.104.96/28\",\r\n + \ \"104.211.104.128/28\",\r\n \"104.211.109.0/28\",\r\n \"104.211.109.32/27\",\r\n + \ \"104.211.109.80/28\",\r\n \"104.211.109.96/28\"\r\n ]\r\n + \ }\r\n },\r\n {\r\n \"name\": \"Storage.CentralUS\",\r\n \"id\": + \"Storage.CentralUS\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": + {\r\n \"changeNumber\": \"3\",\r\n \"region\": \"centralus\",\r\n + \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\n + \ \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n ],\r\n + \ \"systemService\": \"AzureStorage\",\r\n \"addressPrefixes\": + [\r\n \"13.67.155.16/28\",\r\n \"20.38.96.0/23\",\r\n \"20.38.122.0/23\",\r\n + \ \"20.47.58.0/23\",\r\n \"20.60.18.0/24\",\r\n \"20.60.30.0/23\",\r\n + \ \"20.60.178.0/23\",\r\n \"20.60.194.0/23\",\r\n \"20.150.43.128/25\",\r\n + \ \"20.150.58.0/24\",\r\n \"20.150.63.0/24\",\r\n \"20.150.77.0/24\",\r\n + \ \"20.150.89.0/24\",\r\n \"20.150.95.0/24\",\r\n \"20.157.34.0/23\",\r\n + \ \"23.99.160.64/26\",\r\n \"23.99.160.192/28\",\r\n \"40.69.176.16/28\",\r\n + \ \"40.83.24.16/28\",\r\n \"40.83.24.80/28\",\r\n \"40.122.96.16/28\",\r\n + \ \"40.122.216.16/28\",\r\n \"52.165.104.16/28\",\r\n \"52.165.104.32/28\",\r\n + \ \"52.165.104.64/27\",\r\n \"52.165.104.112/28\",\r\n \"52.165.136.32/28\",\r\n + \ \"52.165.240.64/28\",\r\n \"52.173.152.64/28\",\r\n \"52.173.152.96/28\",\r\n + \ \"52.176.224.64/28\",\r\n \"52.176.224.96/28\",\r\n \"52.180.184.16/28\",\r\n + \ \"52.182.176.16/28\",\r\n \"52.182.176.32/28\",\r\n \"52.182.176.64/27\",\r\n + \ \"52.185.56.80/28\",\r\n \"52.185.56.96/28\",\r\n \"52.185.56.144/28\",\r\n + \ \"52.185.56.160/28\",\r\n \"52.185.112.16/28\",\r\n \"52.185.112.48/28\",\r\n + \ \"52.185.112.112/28\",\r\n \"52.228.232.0/28\",\r\n \"52.230.240.16/28\",\r\n + \ \"52.230.240.32/28\",\r\n \"52.230.240.64/27\",\r\n \"52.230.240.112/28\",\r\n + \ \"52.230.240.128/28\",\r\n \"52.230.240.160/27\",\r\n \"52.238.200.32/27\",\r\n + \ \"52.239.150.0/23\",\r\n \"52.239.177.32/27\",\r\n \"52.239.177.64/26\",\r\n + \ \"52.239.177.128/25\",\r\n \"52.239.195.0/24\",\r\n \"52.239.234.0/23\",\r\n + \ \"104.208.0.16/28\",\r\n \"104.208.0.48/28\",\r\n \"168.61.128.192/26\",\r\n + \ \"168.61.129.0/25\",\r\n \"168.61.130.64/26\",\r\n \"168.61.130.128/25\",\r\n + \ \"168.61.131.0/26\",\r\n \"168.61.131.128/25\",\r\n \"168.61.132.0/26\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"Storage.CentralUSEUAP\",\r\n + \ \"id\": \"Storage.CentralUSEUAP\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"centraluseuap\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureStorage\",\r\n \"addressPrefixes\": + [\r\n \"20.47.5.0/24\",\r\n \"20.60.24.0/23\",\r\n \"20.150.23.0/24\",\r\n + \ \"20.150.47.0/25\",\r\n \"40.83.24.96/27\",\r\n \"52.165.104.144/28\",\r\n + \ \"52.165.104.160/28\",\r\n \"52.185.112.80/28\",\r\n \"52.239.177.0/27\",\r\n + \ \"52.239.238.0/24\"\r\n ]\r\n }\r\n },\r\n {\r\n + \ \"name\": \"Storage.EastAsia\",\r\n \"id\": \"Storage.EastAsia\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"eastasia\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureStorage\",\r\n \"addressPrefixes\": [\r\n \"20.47.43.0/24\",\r\n + \ \"20.60.131.0/24\",\r\n \"20.150.1.128/25\",\r\n \"20.150.22.0/24\",\r\n + \ \"20.150.96.0/24\",\r\n \"20.157.53.0/24\",\r\n \"40.83.104.176/28\",\r\n + \ \"40.83.104.208/28\",\r\n \"52.175.40.128/28\",\r\n \"52.175.112.16/28\",\r\n + \ \"52.184.40.16/28\",\r\n \"52.184.40.32/28\",\r\n \"52.239.128.0/24\",\r\n + \ \"52.239.224.0/24\",\r\n \"168.63.128.0/26\",\r\n \"168.63.128.128/25\",\r\n + \ \"168.63.129.128/25\",\r\n \"168.63.130.0/26\",\r\n \"168.63.130.128/26\",\r\n + \ \"168.63.131.0/26\",\r\n \"168.63.156.64/26\",\r\n \"168.63.156.192/26\",\r\n + \ \"191.237.238.32/28\"\r\n ]\r\n }\r\n },\r\n {\r\n + \ \"name\": \"Storage.EastUS\",\r\n \"id\": \"Storage.EastUS\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"eastus\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureStorage\",\r\n \"addressPrefixes\": [\r\n \"13.68.163.32/28\",\r\n + \ \"13.68.165.64/28\",\r\n \"13.68.167.240/28\",\r\n \"13.82.33.32/28\",\r\n + \ \"13.82.152.16/28\",\r\n \"13.82.152.48/28\",\r\n \"13.82.152.80/28\",\r\n + \ \"20.38.98.0/24\",\r\n \"20.47.1.0/24\",\r\n \"20.47.16.0/23\",\r\n + \ \"20.47.31.0/24\",\r\n \"20.60.0.0/24\",\r\n \"20.60.2.0/23\",\r\n + \ \"20.60.6.0/23\",\r\n \"20.60.60.0/22\",\r\n \"20.60.128.0/23\",\r\n + \ \"20.60.134.0/23\",\r\n \"20.60.146.0/23\",\r\n \"20.150.32.0/23\",\r\n + \ \"20.150.90.0/24\",\r\n \"20.157.39.0/24\",\r\n \"23.96.64.64/26\",\r\n + \ \"40.71.104.16/28\",\r\n \"40.71.104.32/28\",\r\n \"40.71.240.16/28\",\r\n + \ \"40.117.48.80/28\",\r\n \"40.117.48.112/28\",\r\n \"40.117.104.16/28\",\r\n + \ \"52.179.24.16/28\",\r\n \"52.186.112.32/27\",\r\n \"52.226.8.32/27\",\r\n + \ \"52.226.8.80/28\",\r\n \"52.226.8.96/28\",\r\n \"52.226.8.128/27\",\r\n + \ \"52.234.176.48/28\",\r\n \"52.234.176.64/28\",\r\n \"52.234.176.96/27\",\r\n + \ \"52.239.152.0/22\",\r\n \"52.239.168.0/22\",\r\n \"52.239.207.192/26\",\r\n + \ \"52.239.214.0/23\",\r\n \"52.239.220.0/23\",\r\n \"52.239.246.0/23\",\r\n + \ \"52.239.252.0/24\",\r\n \"52.240.48.16/28\",\r\n \"52.240.48.32/28\",\r\n + \ \"52.240.60.16/28\",\r\n \"52.240.60.32/28\",\r\n \"52.240.60.64/27\",\r\n + \ \"138.91.96.64/26\",\r\n \"138.91.96.128/26\",\r\n \"168.62.32.0/26\",\r\n + \ \"168.62.32.192/26\",\r\n \"168.62.33.128/26\",\r\n \"191.237.32.128/28\",\r\n + \ \"191.237.32.208/28\",\r\n \"191.237.32.240/28\",\r\n \"191.238.0.0/26\",\r\n + \ \"191.238.0.224/28\"\r\n ]\r\n }\r\n },\r\n {\r\n + \ \"name\": \"Storage.EastUS2\",\r\n \"id\": \"Storage.EastUS2\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"3\",\r\n \"region\": \"eastus2\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureStorage\",\r\n \"addressPrefixes\": [\r\n \"13.68.120.64/28\",\r\n + \ \"13.77.112.16/28\",\r\n \"13.77.112.32/28\",\r\n \"13.77.112.112/28\",\r\n + \ \"13.77.112.128/28\",\r\n \"13.77.115.16/28\",\r\n \"13.77.115.32/28\",\r\n + \ \"20.38.100.0/23\",\r\n \"20.47.60.0/23\",\r\n \"20.60.56.0/22\",\r\n + \ \"20.60.132.0/23\",\r\n \"20.60.180.0/23\",\r\n \"20.150.29.0/24\",\r\n + \ \"20.150.36.0/24\",\r\n \"20.150.50.0/23\",\r\n \"20.150.72.0/24\",\r\n + \ \"20.150.82.0/24\",\r\n \"20.150.88.0/24\",\r\n \"20.157.36.0/23\",\r\n + \ \"20.157.48.0/23\",\r\n \"23.102.206.0/28\",\r\n \"23.102.206.128/28\",\r\n + \ \"23.102.206.192/28\",\r\n \"40.79.8.16/28\",\r\n \"40.79.48.16/28\",\r\n + \ \"40.84.8.32/28\",\r\n \"40.84.11.80/28\",\r\n \"40.123.16.16/28\",\r\n + \ \"52.167.88.80/28\",\r\n \"52.167.88.112/28\",\r\n \"52.167.240.16/28\",\r\n + \ \"52.177.208.80/28\",\r\n \"52.179.144.32/28\",\r\n \"52.179.144.64/28\",\r\n + \ \"52.179.240.16/28\",\r\n \"52.179.240.48/28\",\r\n \"52.179.240.64/28\",\r\n + \ \"52.179.240.96/27\",\r\n \"52.179.240.144/28\",\r\n \"52.179.240.160/28\",\r\n + \ \"52.179.240.192/27\",\r\n \"52.179.240.240/28\",\r\n \"52.179.241.0/28\",\r\n + \ \"52.179.241.32/27\",\r\n \"52.184.168.96/27\",\r\n \"52.225.136.16/28\",\r\n + \ \"52.225.136.32/28\",\r\n \"52.225.240.0/28\",\r\n \"52.232.232.16/28\",\r\n + \ \"52.232.232.32/28\",\r\n \"52.232.232.80/28\",\r\n \"52.232.232.96/28\",\r\n + \ \"52.232.232.128/27\",\r\n \"52.232.232.176/28\",\r\n \"52.232.232.192/28\",\r\n + \ \"52.239.156.0/24\",\r\n \"52.239.157.0/25\",\r\n \"52.239.157.128/26\",\r\n + \ \"52.239.157.192/27\",\r\n \"52.239.172.0/22\",\r\n \"52.239.184.0/25\",\r\n + \ \"52.239.184.160/28\",\r\n \"52.239.184.192/27\",\r\n \"52.239.185.32/27\",\r\n + \ \"52.239.192.0/26\",\r\n \"52.239.192.64/28\",\r\n \"52.239.192.96/27\",\r\n + \ \"52.239.192.160/27\",\r\n \"52.239.192.192/26\",\r\n \"52.239.198.0/25\",\r\n + \ \"52.239.198.192/26\",\r\n \"52.239.206.0/24\",\r\n \"52.239.207.32/28\",\r\n + \ \"52.239.207.64/26\",\r\n \"52.239.207.128/27\",\r\n \"52.239.222.0/23\",\r\n + \ \"104.208.128.16/28\",\r\n \"104.208.248.16/28\",\r\n \"137.116.1.0/25\",\r\n + \ \"137.116.2.0/26\",\r\n \"137.116.2.96/29\",\r\n \"137.116.2.104/30\",\r\n + \ \"137.116.2.108/32\",\r\n \"137.116.2.110/31\",\r\n \"137.116.2.112/32\",\r\n + \ \"137.116.2.114/32\",\r\n \"137.116.2.116/30\",\r\n \"137.116.2.120/29\",\r\n + \ \"137.116.3.0/25\",\r\n \"137.116.3.128/26\",\r\n \"137.116.96.0/25\",\r\n + \ \"137.116.96.128/26\",\r\n \"191.237.160.64/26\",\r\n \"191.237.160.224/28\",\r\n + \ \"191.239.224.0/26\"\r\n ]\r\n }\r\n },\r\n {\r\n + \ \"name\": \"Storage.EastUS2EUAP\",\r\n \"id\": \"Storage.EastUS2EUAP\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"3\",\r\n \"region\": \"eastus2euap\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureStorage\",\r\n \"addressPrefixes\": [\r\n \"20.47.6.0/24\",\r\n + \ \"20.60.154.0/23\",\r\n \"20.60.184.0/23\",\r\n \"20.150.108.0/24\",\r\n + \ \"40.70.88.0/30\",\r\n \"40.70.88.4/31\",\r\n \"40.70.88.6/32\",\r\n + \ \"40.70.88.8/31\",\r\n \"40.70.88.10/32\",\r\n \"40.70.88.12/32\",\r\n + \ \"40.70.88.14/31\",\r\n \"40.79.88.16/30\",\r\n \"40.79.88.20/31\",\r\n + \ \"40.79.88.22/32\",\r\n \"40.79.88.24/31\",\r\n \"40.79.88.26/32\",\r\n + \ \"40.79.88.28/32\",\r\n \"40.79.88.30/31\",\r\n \"52.184.168.32/30\",\r\n + \ \"52.184.168.36/31\",\r\n \"52.184.168.38/32\",\r\n \"52.184.168.40/31\",\r\n + \ \"52.184.168.42/32\",\r\n \"52.184.168.44/32\",\r\n \"52.184.168.46/31\",\r\n + \ \"52.239.157.224/27\",\r\n \"52.239.165.192/26\",\r\n \"52.239.184.176/28\",\r\n + \ \"52.239.184.224/27\",\r\n \"52.239.185.0/28\",\r\n \"52.239.192.128/27\",\r\n + \ \"52.239.198.128/27\",\r\n \"52.239.230.0/24\",\r\n \"52.239.239.0/24\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"Storage.EastUS2Stage\",\r\n + \ \"id\": \"Storage.EastUS2Stage\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"eastus2\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureStorage\",\r\n \"addressPrefixes\": + [\r\n \"137.116.2.64/27\"\r\n ]\r\n }\r\n },\r\n {\r\n + \ \"name\": \"Storage.FranceCentral\",\r\n \"id\": \"Storage.FranceCentral\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"centralfrance\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureStorage\",\r\n \"addressPrefixes\": [\r\n \"20.47.44.0/24\",\r\n + \ \"20.60.13.0/24\",\r\n \"20.60.156.0/23\",\r\n \"20.150.61.0/24\",\r\n + \ \"52.239.134.0/24\",\r\n \"52.239.194.0/24\",\r\n \"52.239.241.0/24\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"Storage.FranceSouth\",\r\n + \ \"id\": \"Storage.FranceSouth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"southfrance\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureStorage\",\r\n \"addressPrefixes\": + [\r\n \"20.47.28.0/24\",\r\n \"20.60.11.0/24\",\r\n \"20.60.188.0/23\",\r\n + \ \"20.150.19.0/24\",\r\n \"52.239.135.0/26\",\r\n \"52.239.196.0/24\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"Storage.GermanyNorth\",\r\n + \ \"id\": \"Storage.GermanyNorth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"germanyn\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureStorage\",\r\n \"addressPrefixes\": + [\r\n \"20.38.115.0/24\",\r\n \"20.47.45.0/24\",\r\n \"20.150.60.0/24\",\r\n + \ \"20.150.112.0/24\"\r\n ]\r\n }\r\n },\r\n {\r\n + \ \"name\": \"Storage.GermanyWestCentral\",\r\n \"id\": \"Storage.GermanyWestCentral\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"germanywc\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureStorage\",\r\n \"addressPrefixes\": [\r\n \"20.38.118.0/24\",\r\n + \ \"20.47.27.0/24\",\r\n \"20.60.22.0/23\",\r\n \"20.150.54.0/24\",\r\n + \ \"20.150.125.0/24\"\r\n ]\r\n }\r\n },\r\n {\r\n + \ \"name\": \"Storage.JapanEast\",\r\n \"id\": \"Storage.JapanEast\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"japaneast\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureStorage\",\r\n \"addressPrefixes\": [\r\n \"13.73.8.16/28\",\r\n + \ \"13.73.8.32/28\",\r\n \"20.38.116.0/23\",\r\n \"20.47.12.0/24\",\r\n + \ \"20.60.172.0/23\",\r\n \"20.150.85.0/24\",\r\n \"20.150.105.0/24\",\r\n + \ \"20.157.38.0/24\",\r\n \"23.98.57.64/26\",\r\n \"40.115.169.32/28\",\r\n + \ \"40.115.175.16/28\",\r\n \"40.115.175.32/28\",\r\n \"40.115.227.80/28\",\r\n + \ \"40.115.229.16/28\",\r\n \"40.115.229.32/28\",\r\n \"40.115.231.64/27\",\r\n + \ \"40.115.231.112/28\",\r\n \"40.115.231.128/28\",\r\n \"52.239.144.0/23\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"Storage.JapanWest\",\r\n + \ \"id\": \"Storage.JapanWest\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"japanwest\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureStorage\",\r\n \"addressPrefixes\": + [\r\n \"20.47.10.0/24\",\r\n \"20.60.12.0/24\",\r\n \"20.60.186.0/23\",\r\n + \ \"20.150.10.0/23\",\r\n \"20.157.56.0/24\",\r\n \"23.98.56.0/26\",\r\n + \ \"52.239.146.0/23\",\r\n \"104.214.152.16/28\",\r\n \"104.214.152.176/28\",\r\n + \ \"104.215.32.16/28\",\r\n \"104.215.32.32/28\",\r\n \"104.215.32.64/27\",\r\n + \ \"104.215.35.32/27\"\r\n ]\r\n }\r\n },\r\n {\r\n + \ \"name\": \"Storage.KoreaCentral\",\r\n \"id\": \"Storage.KoreaCentral\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"koreacentral\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureStorage\",\r\n \"addressPrefixes\": [\r\n \"20.47.46.0/24\",\r\n + \ \"20.60.16.0/24\",\r\n \"20.60.200.0/23\",\r\n \"20.150.4.0/23\",\r\n + \ \"52.231.80.64/27\",\r\n \"52.231.80.112/28\",\r\n \"52.231.80.128/28\",\r\n + \ \"52.231.80.160/27\",\r\n \"52.239.148.0/27\",\r\n \"52.239.164.192/26\",\r\n + \ \"52.239.190.128/26\"\r\n ]\r\n }\r\n },\r\n {\r\n + \ \"name\": \"Storage.KoreaSouth\",\r\n \"id\": \"Storage.KoreaSouth\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"koreasouth\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureStorage\",\r\n \"addressPrefixes\": [\r\n \"20.47.47.0/24\",\r\n + \ \"20.60.202.0/23\",\r\n \"20.150.14.0/23\",\r\n \"52.231.168.64/27\",\r\n + \ \"52.231.168.112/28\",\r\n \"52.231.168.128/28\",\r\n \"52.231.208.16/28\",\r\n + \ \"52.231.208.32/28\",\r\n \"52.239.165.0/26\",\r\n \"52.239.165.160/27\",\r\n + \ \"52.239.190.192/26\"\r\n ]\r\n }\r\n },\r\n {\r\n + \ \"name\": \"Storage.NorthCentralUS\",\r\n \"id\": \"Storage.NorthCentralUS\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"3\",\r\n \"region\": \"northcentralus\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureStorage\",\r\n \"addressPrefixes\": [\r\n \"20.47.3.0/24\",\r\n + \ \"20.47.15.0/24\",\r\n \"20.60.28.0/23\",\r\n \"20.60.82.0/23\",\r\n + \ \"20.150.17.0/25\",\r\n \"20.150.25.0/24\",\r\n \"20.150.49.0/24\",\r\n + \ \"20.150.67.0/24\",\r\n \"20.150.126.0/24\",\r\n \"20.157.47.0/24\",\r\n + \ \"23.98.49.0/26\",\r\n \"23.98.49.192/26\",\r\n \"23.98.55.0/26\",\r\n + \ \"23.98.55.112/28\",\r\n \"23.98.55.144/28\",\r\n \"40.116.120.16/28\",\r\n + \ \"40.116.232.16/28\",\r\n \"40.116.232.48/28\",\r\n \"40.116.232.96/28\",\r\n + \ \"52.162.56.16/28\",\r\n \"52.162.56.32/28\",\r\n \"52.162.56.64/27\",\r\n + \ \"52.162.56.112/28\",\r\n \"52.162.56.128/28\",\r\n \"52.239.149.0/24\",\r\n + \ \"52.239.186.0/24\",\r\n \"52.239.253.0/24\",\r\n \"157.56.216.0/26\",\r\n + \ \"168.62.96.128/26\",\r\n \"168.62.96.210/32\",\r\n \"168.62.96.224/27\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"Storage.NorthCentralUSStage\",\r\n + \ \"id\": \"Storage.NorthCentralUSStage\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"northcentralus\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureStorage\",\r\n \"addressPrefixes\": [\r\n \"168.62.96.192/29\",\r\n + \ \"168.62.96.200/30\",\r\n \"168.62.96.204/32\",\r\n \"168.62.96.206/31\",\r\n + \ \"168.62.96.208/32\",\r\n \"168.62.96.212/30\",\r\n \"168.62.96.216/29\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"Storage.NorthEurope\",\r\n + \ \"id\": \"Storage.NorthEurope\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"northeurope\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureStorage\",\r\n \"addressPrefixes\": + [\r\n \"13.70.208.16/28\",\r\n \"13.74.208.64/28\",\r\n + \ \"13.74.208.112/28\",\r\n \"13.74.208.144/28\",\r\n \"13.79.176.16/28\",\r\n + \ \"13.79.176.48/28\",\r\n \"13.79.176.80/28\",\r\n \"20.38.102.0/23\",\r\n + \ \"20.47.8.0/24\",\r\n \"20.47.20.0/23\",\r\n \"20.47.32.0/24\",\r\n + \ \"20.60.19.0/24\",\r\n \"20.60.40.0/23\",\r\n \"20.60.144.0/23\",\r\n + \ \"20.60.204.0/23\",\r\n \"20.150.26.0/24\",\r\n \"20.150.47.128/25\",\r\n + \ \"20.150.48.0/24\",\r\n \"20.150.75.0/24\",\r\n \"20.150.84.0/24\",\r\n + \ \"20.150.104.0/24\",\r\n \"40.85.105.32/28\",\r\n \"40.113.27.176/28\",\r\n + \ \"52.164.112.16/28\",\r\n \"52.164.232.16/28\",\r\n \"52.164.232.32/28\",\r\n + \ \"52.164.232.64/28\",\r\n \"52.169.168.32/27\",\r\n \"52.169.240.16/28\",\r\n + \ \"52.169.240.32/28\",\r\n \"52.169.240.64/28\",\r\n \"52.178.168.32/27\",\r\n + \ \"52.178.168.80/28\",\r\n \"52.178.168.96/28\",\r\n \"52.178.168.128/27\",\r\n + \ \"52.236.40.16/28\",\r\n \"52.236.40.32/28\",\r\n \"52.239.136.0/22\",\r\n + \ \"52.239.205.0/24\",\r\n \"52.239.248.0/24\",\r\n \"52.245.40.0/24\",\r\n + \ \"104.41.232.16/28\",\r\n \"137.135.192.64/26\",\r\n \"137.135.192.192/26\",\r\n + \ \"137.135.193.192/26\",\r\n \"137.135.194.0/25\",\r\n \"137.135.194.192/26\",\r\n + \ \"168.61.120.32/27\",\r\n \"168.61.120.64/27\",\r\n \"168.61.121.0/26\",\r\n + \ \"168.63.32.0/26\",\r\n \"168.63.33.192/26\",\r\n \"191.235.192.192/26\",\r\n + \ \"191.235.193.32/28\",\r\n \"191.235.255.192/26\"\r\n ]\r\n + \ }\r\n },\r\n {\r\n \"name\": \"Storage.NorwayEast\",\r\n + \ \"id\": \"Storage.NorwayEast\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"norwaye\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureStorage\",\r\n \"addressPrefixes\": + [\r\n \"20.38.120.0/24\",\r\n \"20.47.48.0/24\",\r\n \"20.150.53.0/24\",\r\n + \ \"20.150.121.0/24\"\r\n ]\r\n }\r\n },\r\n {\r\n + \ \"name\": \"Storage.NorwayWest\",\r\n \"id\": \"Storage.NorwayWest\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"1\",\r\n \"region\": \"norwayw\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureStorage\",\r\n \"addressPrefixes\": [\r\n \"20.47.49.0/24\",\r\n + \ \"20.60.15.0/24\",\r\n \"20.150.0.0/24\",\r\n \"20.150.56.0/24\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"Storage.SouthAfricaNorth\",\r\n + \ \"id\": \"Storage.SouthAfricaNorth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"southafricanorth\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureStorage\",\r\n \"addressPrefixes\": [\r\n \"20.38.114.128/25\",\r\n + \ \"20.47.50.0/24\",\r\n \"20.60.190.0/23\",\r\n \"20.150.21.0/24\",\r\n + \ \"20.150.62.0/24\",\r\n \"20.150.101.0/24\",\r\n \"52.239.232.0/25\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"Storage.SouthAfricaWest\",\r\n + \ \"id\": \"Storage.SouthAfricaWest\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"southafricawest\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureStorage\",\r\n \"addressPrefixes\": [\r\n \"20.38.121.0/25\",\r\n + \ \"20.47.51.0/24\",\r\n \"20.60.8.0/24\",\r\n \"20.150.20.0/25\",\r\n + \ \"52.239.232.128/25\"\r\n ]\r\n }\r\n },\r\n {\r\n + \ \"name\": \"Storage.SouthCentralUS\",\r\n \"id\": \"Storage.SouthCentralUS\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"southcentralus\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureStorage\",\r\n \"addressPrefixes\": [\r\n \"13.65.107.32/28\",\r\n + \ \"13.65.160.16/28\",\r\n \"13.65.160.48/28\",\r\n \"13.65.160.64/28\",\r\n + \ \"13.84.56.16/28\",\r\n \"13.85.88.16/28\",\r\n \"13.85.200.128/28\",\r\n + \ \"20.38.104.0/23\",\r\n \"20.47.0.0/27\",\r\n \"20.47.24.0/23\",\r\n + \ \"20.47.29.0/24\",\r\n \"20.60.48.0/22\",\r\n \"20.60.64.0/22\",\r\n + \ \"20.60.140.0/23\",\r\n \"20.60.148.0/23\",\r\n \"20.60.160.0/23\",\r\n + \ \"20.150.20.128/25\",\r\n \"20.150.38.0/23\",\r\n \"20.150.70.0/24\",\r\n + \ \"20.150.79.0/24\",\r\n \"20.150.93.0/24\",\r\n \"20.150.94.0/24\",\r\n + \ \"20.157.43.0/24\",\r\n \"20.157.54.0/24\",\r\n \"23.98.160.64/26\",\r\n + \ \"23.98.162.192/26\",\r\n \"23.98.168.0/24\",\r\n \"23.98.192.64/26\",\r\n + \ \"23.98.255.64/26\",\r\n \"52.171.144.32/27\",\r\n \"52.171.144.80/28\",\r\n + \ \"52.171.144.96/28\",\r\n \"52.171.144.128/28\",\r\n \"52.185.233.0/24\",\r\n + \ \"52.189.177.0/24\",\r\n \"52.239.158.0/23\",\r\n \"52.239.178.0/23\",\r\n + \ \"52.239.180.0/22\",\r\n \"52.239.199.0/24\",\r\n \"52.239.200.0/23\",\r\n + \ \"52.239.203.0/24\",\r\n \"52.239.208.0/23\",\r\n \"104.214.40.16/28\",\r\n + \ \"104.214.80.16/28\",\r\n \"104.214.80.48/28\",\r\n \"104.215.104.64/28\",\r\n + \ \"168.62.128.128/26\"\r\n ]\r\n }\r\n },\r\n {\r\n + \ \"name\": \"Storage.SoutheastAsia\",\r\n \"id\": \"Storage.SoutheastAsia\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"southeastasia\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureStorage\",\r\n \"addressPrefixes\": [\r\n \"13.76.104.16/28\",\r\n + \ \"20.47.9.0/24\",\r\n \"20.47.33.0/24\",\r\n \"20.60.136.0/24\",\r\n + \ \"20.60.138.0/23\",\r\n \"20.150.17.128/25\",\r\n \"20.150.28.0/24\",\r\n + \ \"20.150.86.0/24\",\r\n \"20.150.127.0/24\",\r\n \"52.163.176.16/28\",\r\n + \ \"52.163.232.16/28\",\r\n \"52.187.141.32/27\",\r\n \"52.237.104.16/28\",\r\n + \ \"52.237.104.32/28\",\r\n \"52.239.129.0/24\",\r\n \"52.239.197.0/24\",\r\n + \ \"52.239.227.0/24\",\r\n \"52.239.249.0/24\",\r\n \"104.43.80.16/28\",\r\n + \ \"104.215.240.64/28\",\r\n \"104.215.240.96/28\",\r\n \"168.63.160.0/26\",\r\n + \ \"168.63.160.192/26\",\r\n \"168.63.161.64/26\",\r\n \"168.63.161.160/27\",\r\n + \ \"168.63.161.192/26\",\r\n \"168.63.162.32/27\",\r\n \"168.63.162.64/26\",\r\n + \ \"168.63.162.144/28\",\r\n \"168.63.162.192/26\",\r\n \"168.63.163.128/26\",\r\n + \ \"168.63.180.64/26\",\r\n \"191.238.64.64/26\",\r\n \"191.238.64.192/28\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"Storage.SouthIndia\",\r\n + \ \"id\": \"Storage.SouthIndia\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"southindia\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureStorage\",\r\n \"addressPrefixes\": + [\r\n \"20.47.52.0/24\",\r\n \"20.60.10.0/24\",\r\n \"20.150.24.0/24\",\r\n + \ \"52.172.16.16/28\",\r\n \"52.172.16.80/28\",\r\n \"52.172.16.96/28\",\r\n + \ \"52.172.16.128/27\",\r\n \"52.239.135.128/26\",\r\n \"52.239.188.0/24\",\r\n + \ \"104.211.232.16/28\",\r\n \"104.211.232.48/28\",\r\n \"104.211.232.80/28\",\r\n + \ \"104.211.232.176/28\"\r\n ]\r\n }\r\n },\r\n {\r\n + \ \"name\": \"Storage.SwitzerlandNorth\",\r\n \"id\": \"Storage.SwitzerlandNorth\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"switzerlandn\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n + \ ],\r\n \"systemService\": \"AzureStorage\",\r\n \"addressPrefixes\": + [\r\n \"20.47.53.0/24\",\r\n \"20.60.174.0/23\",\r\n \"20.150.59.0/24\",\r\n + \ \"20.150.118.0/24\",\r\n \"52.239.251.0/24\"\r\n ]\r\n + \ }\r\n },\r\n {\r\n \"name\": \"Storage.SwitzerlandWest\",\r\n + \ \"id\": \"Storage.SwitzerlandWest\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"switzerlandw\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureStorage\",\r\n \"addressPrefixes\": + [\r\n \"20.47.26.0/24\",\r\n \"20.60.176.0/23\",\r\n \"20.150.55.0/24\",\r\n + \ \"20.150.116.0/24\",\r\n \"52.239.250.0/24\"\r\n ]\r\n + \ }\r\n },\r\n {\r\n \"name\": \"Storage.UAECentral\",\r\n + \ \"id\": \"Storage.UAECentral\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"uaecentral\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureStorage\",\r\n \"addressPrefixes\": + [\r\n \"20.47.54.0/24\",\r\n \"20.150.6.0/23\",\r\n \"20.150.115.0/24\",\r\n + \ \"52.239.233.0/25\"\r\n ]\r\n }\r\n },\r\n {\r\n + \ \"name\": \"Storage.UAENorth\",\r\n \"id\": \"Storage.UAENorth\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"uaenorth\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureStorage\",\r\n \"addressPrefixes\": [\r\n \"20.38.124.0/23\",\r\n + \ \"20.47.55.0/24\",\r\n \"20.60.21.0/24\",\r\n \"52.239.233.128/25\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"Storage.UKSouth\",\r\n + \ \"id\": \"Storage.UKSouth\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\": + \"uksouth\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureStorage\",\r\n \"addressPrefixes\": + [\r\n \"20.38.106.0/23\",\r\n \"20.47.11.0/24\",\r\n \"20.47.34.0/24\",\r\n + \ \"20.60.17.0/24\",\r\n \"20.60.166.0/23\",\r\n \"20.150.18.0/25\",\r\n + \ \"20.150.40.0/25\",\r\n \"20.150.41.0/24\",\r\n \"20.150.69.0/24\",\r\n + \ \"51.140.16.16/28\",\r\n \"51.140.16.32/28\",\r\n \"51.140.168.64/27\",\r\n + \ \"51.140.168.112/28\",\r\n \"51.140.168.128/28\",\r\n \"51.141.128.32/27\",\r\n + \ \"51.141.129.64/26\",\r\n \"51.141.130.0/25\",\r\n \"52.239.187.0/25\",\r\n + \ \"52.239.231.0/24\"\r\n ]\r\n }\r\n },\r\n {\r\n + \ \"name\": \"Storage.UKWest\",\r\n \"id\": \"Storage.UKWest\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"ukwest\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureStorage\",\r\n \"addressPrefixes\": [\r\n \"20.47.56.0/24\",\r\n + \ \"20.60.164.0/23\",\r\n \"20.150.2.0/23\",\r\n \"20.150.52.0/24\",\r\n + \ \"20.150.110.0/24\",\r\n \"20.157.46.0/24\",\r\n \"51.140.232.64/27\",\r\n + \ \"51.140.232.112/28\",\r\n \"51.140.232.128/28\",\r\n \"51.140.232.160/27\",\r\n + \ \"51.141.128.0/27\",\r\n \"51.141.128.64/26\",\r\n \"51.141.128.128/25\",\r\n + \ \"51.141.129.128/26\",\r\n \"52.239.240.0/24\"\r\n ]\r\n + \ }\r\n },\r\n {\r\n \"name\": \"Storage.WestCentralUS\",\r\n + \ \"id\": \"Storage.WestCentralUS\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"westcentralus\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureStorage\",\r\n \"addressPrefixes\": + [\r\n \"13.71.200.64/28\",\r\n \"13.71.200.96/28\",\r\n + \ \"13.71.200.240/28\",\r\n \"13.71.202.16/28\",\r\n \"13.71.202.32/28\",\r\n + \ \"13.71.202.64/27\",\r\n \"13.78.152.64/28\",\r\n \"13.78.240.16/28\",\r\n + \ \"20.47.4.0/24\",\r\n \"20.60.4.0/24\",\r\n \"20.150.81.0/24\",\r\n + \ \"20.150.98.0/24\",\r\n \"20.157.41.0/24\",\r\n \"52.161.112.16/28\",\r\n + \ \"52.161.112.32/28\",\r\n \"52.161.168.16/28\",\r\n \"52.161.168.32/28\",\r\n + \ \"52.239.164.0/25\",\r\n \"52.239.167.0/24\",\r\n \"52.239.244.0/23\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"Storage.WestEurope\",\r\n + \ \"id\": \"Storage.WestEurope\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"3\",\r\n + \ \"region\": \"westeurope\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureStorage\",\r\n \"addressPrefixes\": + [\r\n \"13.69.40.16/28\",\r\n \"13.95.96.176/28\",\r\n \"13.95.240.16/28\",\r\n + \ \"13.95.240.32/28\",\r\n \"13.95.240.64/27\",\r\n \"20.38.108.0/23\",\r\n + \ \"20.47.7.0/24\",\r\n \"20.47.18.0/23\",\r\n \"20.47.30.0/24\",\r\n + \ \"20.60.26.0/23\",\r\n \"20.60.130.0/24\",\r\n \"20.60.150.0/23\",\r\n + \ \"20.60.196.0/23\",\r\n \"20.150.8.0/23\",\r\n \"20.150.37.0/24\",\r\n + \ \"20.150.42.0/24\",\r\n \"20.150.74.0/24\",\r\n \"20.150.76.0/24\",\r\n + \ \"20.150.83.0/24\",\r\n \"20.150.122.0/24\",\r\n \"20.157.33.0/24\",\r\n + \ \"40.68.176.16/28\",\r\n \"40.68.176.48/28\",\r\n \"40.68.232.16/28\",\r\n + \ \"40.68.232.48/28\",\r\n \"40.114.152.16/28\",\r\n \"40.114.152.48/28\",\r\n + \ \"40.118.72.176/28\",\r\n \"40.118.73.48/28\",\r\n \"40.118.73.176/28\",\r\n + \ \"40.118.73.208/28\",\r\n \"52.166.80.32/27\",\r\n \"52.166.80.80/28\",\r\n + \ \"52.166.80.96/28\",\r\n \"52.174.8.32/28\",\r\n \"52.174.224.16/28\",\r\n + \ \"52.174.224.32/28\",\r\n \"52.174.224.64/27\",\r\n \"52.174.224.112/28\",\r\n + \ \"52.174.224.128/28\",\r\n \"52.236.240.48/28\",\r\n \"52.236.240.64/28\",\r\n + \ \"52.239.140.0/22\",\r\n \"52.239.212.0/23\",\r\n \"52.239.242.0/23\",\r\n + \ \"104.214.243.32/28\",\r\n \"168.61.57.64/26\",\r\n \"168.61.57.128/25\",\r\n + \ \"168.61.58.0/26\",\r\n \"168.61.58.128/26\",\r\n \"168.61.59.64/26\",\r\n + \ \"168.61.61.0/26\",\r\n \"168.61.61.192/26\",\r\n \"168.63.0.0/26\",\r\n + \ \"168.63.2.64/26\",\r\n \"168.63.3.32/27\",\r\n \"168.63.3.64/27\",\r\n + \ \"168.63.113.32/27\",\r\n \"168.63.113.64/27\",\r\n \"191.237.232.32/28\",\r\n + \ \"191.237.232.128/28\",\r\n \"191.239.203.0/28\"\r\n ]\r\n + \ }\r\n },\r\n {\r\n \"name\": \"Storage.WestIndia\",\r\n \"id\": + \"Storage.WestIndia\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": + {\r\n \"changeNumber\": \"1\",\r\n \"region\": \"westindia\",\r\n + \ \"state\": \"GA\",\r\n \"networkFeatures\": [\r\n \"API\",\r\n + \ \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n ],\r\n + \ \"systemService\": \"AzureStorage\",\r\n \"addressPrefixes\": + [\r\n \"20.47.57.0/24\",\r\n \"20.150.18.128/25\",\r\n \"20.150.43.0/25\",\r\n + \ \"20.150.106.0/24\",\r\n \"52.239.135.192/26\",\r\n \"52.239.187.128/25\",\r\n + \ \"104.211.168.16/28\"\r\n ]\r\n }\r\n },\r\n {\r\n + \ \"name\": \"Storage.WestUS\",\r\n \"id\": \"Storage.WestUS\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"4\",\r\n \"region\": \"westus\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\",\r\n + \ \"UDR\",\r\n \"FW\"\r\n ],\r\n \"systemService\": + \"AzureStorage\",\r\n \"addressPrefixes\": [\r\n \"13.83.72.16/28\",\r\n + \ \"13.88.144.112/28\",\r\n \"13.88.144.240/28\",\r\n \"13.88.145.64/28\",\r\n + \ \"13.88.145.96/28\",\r\n \"13.88.145.128/28\",\r\n \"13.93.168.80/28\",\r\n + \ \"13.93.168.112/28\",\r\n \"13.93.168.144/28\",\r\n \"20.47.2.0/24\",\r\n + \ \"20.47.22.0/23\",\r\n \"20.60.1.0/24\",\r\n \"20.60.34.0/23\",\r\n + \ \"20.60.52.0/23\",\r\n \"20.60.80.0/23\",\r\n \"20.60.168.0/23\",\r\n + \ \"20.150.34.0/23\",\r\n \"20.150.91.0/24\",\r\n \"20.150.102.0/24\",\r\n + \ \"20.157.32.0/24\",\r\n \"20.157.57.0/24\",\r\n \"23.99.32.64/26\",\r\n + \ \"23.99.34.224/28\",\r\n \"23.99.37.96/28\",\r\n \"23.99.47.32/28\",\r\n + \ \"40.78.72.16/28\",\r\n \"40.78.112.64/28\",\r\n \"40.83.225.32/28\",\r\n + \ \"40.83.227.16/28\",\r\n \"40.112.152.16/28\",\r\n \"40.112.224.16/28\",\r\n + \ \"40.112.224.48/28\",\r\n \"52.180.40.16/28\",\r\n \"52.180.40.32/28\",\r\n + \ \"52.190.240.16/28\",\r\n \"52.190.240.32/28\",\r\n \"52.190.240.64/27\",\r\n + \ \"52.190.240.112/28\",\r\n \"52.190.240.128/28\",\r\n \"52.225.40.32/27\",\r\n + \ \"52.238.56.16/28\",\r\n \"52.238.56.32/28\",\r\n \"52.238.56.64/27\",\r\n + \ \"52.238.56.112/28\",\r\n \"52.238.56.128/28\",\r\n \"52.238.56.160/27\",\r\n + \ \"52.239.104.16/28\",\r\n \"52.239.104.32/28\",\r\n \"52.239.160.0/22\",\r\n + \ \"52.239.228.0/23\",\r\n \"52.239.254.0/23\",\r\n \"52.241.88.16/28\",\r\n + \ \"52.241.88.32/28\",\r\n \"52.241.88.64/27\",\r\n \"104.42.200.16/28\",\r\n + \ \"138.91.128.128/26\",\r\n \"138.91.129.0/26\",\r\n \"168.62.0.0/26\",\r\n + \ \"168.62.1.128/26\",\r\n \"168.63.89.64/26\",\r\n \"168.63.89.128/26\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"Storage.WestUS2\",\r\n + \ \"id\": \"Storage.WestUS2\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"2\",\r\n \"region\": + \"westus2\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"AzureStorage\",\r\n \"addressPrefixes\": + [\r\n \"13.66.176.16/28\",\r\n \"13.66.176.48/28\",\r\n + \ \"13.66.232.64/28\",\r\n \"13.66.232.208/28\",\r\n \"13.66.232.224/28\",\r\n + \ \"13.66.234.0/27\",\r\n \"13.77.184.64/28\",\r\n \"20.38.99.0/24\",\r\n + \ \"20.47.62.0/23\",\r\n \"20.60.20.0/24\",\r\n \"20.60.68.0/22\",\r\n + \ \"20.60.152.0/23\",\r\n \"20.150.68.0/24\",\r\n \"20.150.78.0/24\",\r\n + \ \"20.150.87.0/24\",\r\n \"20.150.107.0/24\",\r\n \"20.157.50.0/23\",\r\n + \ \"52.183.48.16/28\",\r\n \"52.183.104.16/28\",\r\n \"52.183.104.32/28\",\r\n + \ \"52.191.176.16/28\",\r\n \"52.191.176.32/28\",\r\n \"52.239.148.128/25\",\r\n + \ \"52.239.176.128/25\",\r\n \"52.239.193.0/24\",\r\n \"52.239.210.0/23\",\r\n + \ \"52.239.236.0/23\"\r\n ]\r\n }\r\n },\r\n {\r\n + \ \"name\": \"StorageSyncService\",\r\n \"id\": \"StorageSyncService\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"5\",\r\n \"region\": \"\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"StorageSyncService\",\r\n \"addressPrefixes\": + [\r\n \"13.70.176.196/32\",\r\n \"13.73.248.112/29\",\r\n + \ \"13.75.153.240/32\",\r\n \"13.76.81.46/32\",\r\n \"20.36.120.216/29\",\r\n + \ \"20.37.64.216/29\",\r\n \"20.37.157.80/29\",\r\n \"20.37.195.96/29\",\r\n + \ \"20.37.224.216/29\",\r\n \"20.38.85.152/29\",\r\n \"20.38.136.224/29\",\r\n + \ \"20.39.11.96/29\",\r\n \"20.41.5.144/29\",\r\n \"20.41.65.184/29\",\r\n + \ \"20.41.193.160/29\",\r\n \"20.42.4.248/29\",\r\n \"20.42.131.224/29\",\r\n + \ \"20.42.227.128/29\",\r\n \"20.43.42.8/29\",\r\n \"20.43.66.0/29\",\r\n + \ \"20.43.131.40/29\",\r\n \"20.45.71.151/32\",\r\n \"20.45.112.216/29\",\r\n + \ \"20.45.192.248/29\",\r\n \"20.45.208.0/29\",\r\n \"20.50.1.0/29\",\r\n + \ \"20.72.27.184/29\",\r\n \"20.150.172.40/29\",\r\n \"20.189.108.56/29\",\r\n + \ \"20.192.32.232/29\",\r\n \"20.193.205.128/29\",\r\n \"23.100.106.151/32\",\r\n + \ \"23.102.225.54/32\",\r\n \"40.67.48.208/29\",\r\n \"40.80.57.192/29\",\r\n + \ \"40.80.169.176/29\",\r\n \"40.80.188.24/29\",\r\n \"40.82.253.192/29\",\r\n + \ \"40.89.17.232/29\",\r\n \"40.112.150.67/32\",\r\n \"40.113.94.67/32\",\r\n + \ \"40.123.47.110/32\",\r\n \"40.123.216.130/32\",\r\n \"51.12.101.240/29\",\r\n + \ \"51.12.204.248/29\",\r\n \"51.104.25.224/29\",\r\n \"51.105.80.208/29\",\r\n + \ \"51.105.88.248/29\",\r\n \"51.107.48.224/29\",\r\n \"51.107.144.216/29\",\r\n + \ \"51.116.60.244/30\",\r\n \"51.116.245.168/30\",\r\n \"51.120.40.224/29\",\r\n + \ \"51.120.224.216/29\",\r\n \"51.137.161.240/29\",\r\n \"51.140.67.72/32\",\r\n + \ \"51.140.202.34/32\",\r\n \"51.143.192.208/29\",\r\n \"52.136.48.216/29\",\r\n + \ \"52.136.131.99/32\",\r\n \"52.140.105.184/29\",\r\n \"52.143.166.54/32\",\r\n + \ \"52.150.139.104/29\",\r\n \"52.161.25.233/32\",\r\n \"52.176.149.179/32\",\r\n + \ \"52.183.27.204/32\",\r\n \"52.225.171.85/32\",\r\n \"52.228.42.41/32\",\r\n + \ \"52.228.81.248/29\",\r\n \"52.231.67.75/32\",\r\n \"52.231.159.38/32\",\r\n + \ \"52.235.36.119/32\",\r\n \"65.52.62.167/32\",\r\n \"102.133.56.128/29\",\r\n + \ \"102.133.75.173/32\",\r\n \"102.133.175.72/32\",\r\n \"104.40.191.8/32\",\r\n + \ \"104.41.148.238/32\",\r\n \"104.41.161.113/32\",\r\n \"104.208.61.223/32\",\r\n + \ \"104.210.219.252/32\",\r\n \"104.211.73.56/32\",\r\n \"104.211.231.18/32\",\r\n + \ \"191.233.9.96/29\",\r\n \"191.235.225.216/29\",\r\n \"191.237.253.115/32\",\r\n + \ \"2603:1000:4::340/123\",\r\n \"2603:1000:104:1::300/123\",\r\n + \ \"2603:1010:6:1::300/123\",\r\n \"2603:1010:101::340/123\",\r\n + \ \"2603:1010:304::340/123\",\r\n \"2603:1010:404::340/123\",\r\n + \ \"2603:1020:5:1::300/123\",\r\n \"2603:1020:206:1::300/123\",\r\n + \ \"2603:1020:305::340/123\",\r\n \"2603:1020:405::340/123\",\r\n + \ \"2603:1020:605::340/123\",\r\n \"2603:1020:705:1::300/123\",\r\n + \ \"2603:1020:805:1::300/123\",\r\n \"2603:1020:905::340/123\",\r\n + \ \"2603:1020:a04:1::300/123\",\r\n \"2603:1020:b04::340/123\",\r\n + \ \"2603:1020:c04:1::300/123\",\r\n \"2603:1020:d04::340/123\",\r\n + \ \"2603:1020:e04:1::300/123\",\r\n \"2603:1020:e04:802::2a0/123\",\r\n + \ \"2603:1020:f04::340/123\",\r\n \"2603:1020:1004::300/123\",\r\n + \ \"2603:1020:1004:800::120/123\",\r\n \"2603:1020:1104:400::320/123\",\r\n + \ \"2603:1030:f:1::340/123\",\r\n \"2603:1030:f:400::dc0/123\",\r\n + \ \"2603:1030:10:1::300/123\",\r\n \"2603:1030:104:1::300/123\",\r\n + \ \"2603:1030:107:400::2a0/123\",\r\n \"2603:1030:210:1::300/123\",\r\n + \ \"2603:1030:40b:1::300/123\",\r\n \"2603:1030:40c:1::300/123\",\r\n + \ \"2603:1030:504:1::300/123\",\r\n \"2603:1030:504:802::120/123\",\r\n + \ \"2603:1030:608::340/123\",\r\n \"2603:1030:807:1::300/123\",\r\n + \ \"2603:1030:a07::340/123\",\r\n \"2603:1030:b04::340/123\",\r\n + \ \"2603:1030:c06:1::300/123\",\r\n \"2603:1030:f05:1::300/123\",\r\n + \ \"2603:1030:1005::340/123\",\r\n \"2603:1040:5:1::300/123\",\r\n + \ \"2603:1040:207::340/123\",\r\n \"2603:1040:407:1::300/123\",\r\n + \ \"2603:1040:606::340/123\",\r\n \"2603:1040:806::340/123\",\r\n + \ \"2603:1040:904:1::300/123\",\r\n \"2603:1040:a06:1::300/123\",\r\n + \ \"2603:1040:a06:802::2a0/123\",\r\n \"2603:1040:b04::340/123\",\r\n + \ \"2603:1040:c06::340/123\",\r\n \"2603:1040:d04::300/123\",\r\n + \ \"2603:1040:d04:800::120/123\",\r\n \"2603:1040:f05:1::300/123\",\r\n + \ \"2603:1040:f05:802::2a0/123\",\r\n \"2603:1040:1104:400::320/123\",\r\n + \ \"2603:1050:6:1::300/123\",\r\n \"2603:1050:6:802::2a0/123\",\r\n + \ \"2603:1050:403::300/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"StorageSyncService.AustraliaCentral\",\r\n \"id\": + \"StorageSyncService.AustraliaCentral\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"australiacentral\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n + \ ],\r\n \"systemService\": \"StorageSyncService\",\r\n \"addressPrefixes\": + [\r\n \"20.37.224.216/29\",\r\n \"2603:1010:304::340/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"StorageSyncService.AustraliaCentral2\",\r\n + \ \"id\": \"StorageSyncService.AustraliaCentral2\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"australiacentral2\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n + \ ],\r\n \"systemService\": \"StorageSyncService\",\r\n \"addressPrefixes\": + [\r\n \"20.36.120.216/29\",\r\n \"2603:1010:404::340/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"StorageSyncService.AustraliaEast\",\r\n + \ \"id\": \"StorageSyncService.AustraliaEast\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"australiaeast\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"StorageSyncService\",\r\n \"addressPrefixes\": [\r\n \"13.75.153.240/32\",\r\n + \ \"20.37.195.96/29\",\r\n \"2603:1010:6:1::300/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"StorageSyncService.CanadaEast\",\r\n + \ \"id\": \"StorageSyncService.CanadaEast\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"canadaeast\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"StorageSyncService\",\r\n \"addressPrefixes\": [\r\n \"40.89.17.232/29\",\r\n + \ \"52.235.36.119/32\",\r\n \"2603:1030:1005::340/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"StorageSyncService.EastUS2\",\r\n + \ \"id\": \"StorageSyncService.EastUS2\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"eastus2\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"StorageSyncService\",\r\n \"addressPrefixes\": [\r\n \"20.41.5.144/29\",\r\n + \ \"40.123.47.110/32\",\r\n \"2603:1030:40c:1::300/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"StorageSyncService.FranceSouth\",\r\n + \ \"id\": \"StorageSyncService.FranceSouth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"southfrance\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"StorageSyncService\",\r\n \"addressPrefixes\": [\r\n \"51.105.88.248/29\",\r\n + \ \"52.136.131.99/32\",\r\n \"2603:1020:905::340/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"StorageSyncService.SouthAfricaWest\",\r\n + \ \"id\": \"StorageSyncService.SouthAfricaWest\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"southafricawest\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n + \ ],\r\n \"systemService\": \"StorageSyncService\",\r\n \"addressPrefixes\": + [\r\n \"102.133.56.128/29\",\r\n \"102.133.75.173/32\",\r\n + \ \"2603:1000:4::340/123\"\r\n ]\r\n }\r\n },\r\n {\r\n + \ \"name\": \"StorageSyncService.SouthIndia\",\r\n \"id\": \"StorageSyncService.SouthIndia\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"2\",\r\n \"region\": \"southindia\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n + \ ],\r\n \"systemService\": \"StorageSyncService\",\r\n \"addressPrefixes\": + [\r\n \"20.41.193.160/29\",\r\n \"104.211.231.18/32\",\r\n + \ \"2603:1040:c06::340/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"StorageSyncService.SwitzerlandWest\",\r\n \"id\": + \"StorageSyncService.SwitzerlandWest\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"2\",\r\n + \ \"region\": \"switzerlandw\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"StorageSyncService\",\r\n \"addressPrefixes\": [\r\n \"51.107.144.216/29\",\r\n + \ \"2603:1020:b04::340/123\"\r\n ]\r\n }\r\n },\r\n + \ {\r\n \"name\": \"StorageSyncService.UKSouth\",\r\n \"id\": + \"StorageSyncService.UKSouth\",\r\n \"serviceTagChangeNumber\": \"72\",\r\n + \ \"properties\": {\r\n \"changeNumber\": \"1\",\r\n \"region\": + \"uksouth\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"StorageSyncService\",\r\n \"addressPrefixes\": [\r\n \"51.104.25.224/29\",\r\n + \ \"51.140.67.72/32\",\r\n \"2603:1020:705:1::300/123\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"WindowsVirtualDesktop\",\r\n + \ \"id\": \"WindowsVirtualDesktop\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"4\",\r\n + \ \"region\": \"\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\",\r\n \"UDR\",\r\n \"FW\"\r\n + \ ],\r\n \"systemService\": \"WindowsVirtualDesktop\",\r\n \"addressPrefixes\": + [\r\n \"13.66.251.49/32\",\r\n \"13.67.68.78/32\",\r\n \"13.68.76.104/32\",\r\n + \ \"13.69.82.138/32\",\r\n \"13.69.156.85/32\",\r\n \"13.70.40.201/32\",\r\n + \ \"13.70.120.215/32\",\r\n \"13.71.5.20/32\",\r\n \"13.71.67.87/32\",\r\n + \ \"13.71.81.161/32\",\r\n \"13.71.113.6/32\",\r\n \"13.73.237.154/32\",\r\n + \ \"13.75.114.143/32\",\r\n \"13.75.171.61/32\",\r\n \"13.75.198.169/32\",\r\n + \ \"13.76.88.89/32\",\r\n \"13.76.195.19/32\",\r\n \"13.76.230.148/32\",\r\n + \ \"13.77.45.213/32\",\r\n \"13.77.140.58/32\",\r\n \"13.79.243.194/32\",\r\n + \ \"13.88.221.28/32\",\r\n \"13.88.254.98/32\",\r\n \"20.36.33.29/32\",\r\n + \ \"20.36.33.170/32\",\r\n \"20.36.35.190/32\",\r\n \"20.36.38.195/32\",\r\n + \ \"20.36.39.50/32\",\r\n \"20.36.39.171/32\",\r\n \"20.36.41.74/32\",\r\n + \ \"20.41.77.252/32\",\r\n \"20.45.64.86/32\",\r\n \"20.45.67.112/32\",\r\n + \ \"20.45.67.185/32\",\r\n \"20.45.79.3/32\",\r\n \"20.45.79.24/32\",\r\n + \ \"20.45.79.91/32\",\r\n \"20.45.79.96/32\",\r\n \"20.45.79.168/32\",\r\n + \ \"20.46.45.161/32\",\r\n \"20.46.46.252/32\",\r\n \"20.188.3.1/32\",\r\n + \ \"20.188.39.108/32\",\r\n \"20.188.41.240/32\",\r\n \"20.188.45.82/32\",\r\n + \ \"20.190.43.99/32\",\r\n \"23.97.108.170/32\",\r\n \"23.98.66.174/32\",\r\n + \ \"23.98.133.187/32\",\r\n \"23.99.141.138/32\",\r\n \"23.100.50.154/32\",\r\n + \ \"23.100.98.36/32\",\r\n \"23.101.5.54/32\",\r\n \"23.101.220.135/32\",\r\n + \ \"23.102.229.113/32\",\r\n \"40.65.122.222/32\",\r\n \"40.68.18.120/32\",\r\n + \ \"40.69.31.73/32\",\r\n \"40.69.90.166/32\",\r\n \"40.69.102.46/32\",\r\n + \ \"40.69.149.151/32\",\r\n \"40.70.189.87/32\",\r\n \"40.74.84.253/32\",\r\n + \ \"40.74.113.202/32\",\r\n \"40.74.118.163/32\",\r\n \"40.74.136.34/32\",\r\n + \ \"40.75.30.117/32\",\r\n \"40.80.80.48/32\",\r\n \"40.83.79.39/32\",\r\n + \ \"40.85.241.159/32\",\r\n \"40.86.204.245/32\",\r\n \"40.86.205.216/32\",\r\n + \ \"40.86.208.118/32\",\r\n \"40.86.222.183/32\",\r\n \"40.89.129.146/32\",\r\n + \ \"40.89.154.76/32\",\r\n \"40.113.199.138/32\",\r\n \"40.113.200.58/32\",\r\n + \ \"40.114.241.90/32\",\r\n \"40.115.136.175/32\",\r\n \"40.119.163.43/32\",\r\n + \ \"40.119.167.95/32\",\r\n \"40.120.39.124/32\",\r\n \"40.122.28.196/32\",\r\n + \ \"40.122.212.20/32\",\r\n \"40.123.228.58/32\",\r\n \"40.123.230.81/32\",\r\n + \ \"40.123.230.179/32\",\r\n \"40.123.230.249/32\",\r\n \"40.127.3.207/32\",\r\n + \ \"51.11.13.248/32\",\r\n \"51.11.241.142/32\",\r\n \"51.104.49.88/32\",\r\n + \ \"51.105.54.123/32\",\r\n \"51.107.68.172/32\",\r\n \"51.107.69.35/32\",\r\n + \ \"51.107.78.168/32\",\r\n \"51.107.85.67/32\",\r\n \"51.107.85.110/32\",\r\n + \ \"51.107.86.7/32\",\r\n \"51.107.86.99/32\",\r\n \"51.116.171.102/32\",\r\n + \ \"51.116.182.248/32\",\r\n \"51.116.225.43/32\",\r\n \"51.116.225.44/32\",\r\n + \ \"51.116.225.55/32\",\r\n \"51.116.236.74/32\",\r\n \"51.116.236.84/32\",\r\n + \ \"51.120.69.158/32\",\r\n \"51.120.70.135/32\",\r\n \"51.120.70.141/32\",\r\n + \ \"51.120.77.155/32\",\r\n \"51.120.78.142/32\",\r\n \"51.120.79.212/32\",\r\n + \ \"51.120.88.120/32\",\r\n \"51.132.29.107/32\",\r\n \"51.136.28.200/32\",\r\n + \ \"51.137.89.79/32\",\r\n \"51.140.57.159/32\",\r\n \"51.140.206.110/32\",\r\n + \ \"51.140.231.223/32\",\r\n \"51.140.255.55/32\",\r\n \"51.141.30.31/32\",\r\n + \ \"51.141.122.89/32\",\r\n \"51.141.173.236/32\",\r\n \"51.143.39.79/32\",\r\n + \ \"51.143.164.192/32\",\r\n \"51.143.169.107/32\",\r\n \"51.145.17.75/32\",\r\n + \ \"52.137.2.50/32\",\r\n \"52.138.20.115/32\",\r\n \"52.138.28.23/32\",\r\n + \ \"52.141.37.201/32\",\r\n \"52.141.56.101/32\",\r\n \"52.142.161.0/32\",\r\n + \ \"52.142.162.226/32\",\r\n \"52.143.96.87/32\",\r\n \"52.143.182.208/32\",\r\n + \ \"52.147.3.93/32\",\r\n \"52.147.160.158/32\",\r\n \"52.151.53.196/32\",\r\n + \ \"52.155.111.124/32\",\r\n \"52.156.171.127/32\",\r\n \"52.163.209.255/32\",\r\n + \ \"52.164.126.124/32\",\r\n \"52.165.218.15/32\",\r\n \"52.167.163.135/32\",\r\n + \ \"52.167.171.53/32\",\r\n \"52.169.5.116/32\",\r\n \"52.171.36.33/32\",\r\n + \ \"52.172.34.74/32\",\r\n \"52.172.40.215/32\",\r\n \"52.172.133.5/32\",\r\n + \ \"52.172.194.109/32\",\r\n \"52.172.210.235/32\",\r\n \"52.172.217.34/32\",\r\n + \ \"52.172.223.46/32\",\r\n \"52.173.89.168/32\",\r\n \"52.175.144.120/32\",\r\n + \ \"52.175.253.156/32\",\r\n \"52.177.123.162/32\",\r\n \"52.177.172.247/32\",\r\n + \ \"52.183.19.64/32\",\r\n \"52.183.130.137/32\",\r\n \"52.185.202.152/32\",\r\n + \ \"52.187.127.152/32\",\r\n \"52.189.194.14/32\",\r\n \"52.189.215.151/32\",\r\n + \ \"52.189.233.158/32\",\r\n \"52.191.129.231/32\",\r\n \"52.228.29.164/32\",\r\n + \ \"52.229.117.254/32\",\r\n \"52.229.125.45/32\",\r\n \"52.229.207.180/32\",\r\n + \ \"52.231.13.193/32\",\r\n \"52.231.38.211/32\",\r\n \"52.231.93.224/32\",\r\n + \ \"52.231.98.58/32\",\r\n \"52.231.155.130/32\",\r\n \"52.231.156.19/32\",\r\n + \ \"52.231.164.163/32\",\r\n \"52.231.166.199/32\",\r\n \"52.231.195.7/32\",\r\n + \ \"52.231.197.195/32\",\r\n \"52.231.206.162/32\",\r\n \"52.233.16.198/32\",\r\n + \ \"52.237.20.14/32\",\r\n \"52.237.201.246/32\",\r\n \"52.237.253.245/32\",\r\n + \ \"52.242.86.101/32\",\r\n \"52.243.65.107/32\",\r\n \"52.243.74.213/32\",\r\n + \ \"52.246.165.140/32\",\r\n \"52.246.177.221/32\",\r\n \"52.246.191.98/32\",\r\n + \ \"52.247.122.225/32\",\r\n \"52.247.123.0/32\",\r\n \"52.255.40.105/32\",\r\n + \ \"52.255.61.145/32\",\r\n \"65.52.71.120/32\",\r\n \"65.52.158.177/32\",\r\n + \ \"70.37.83.67/32\",\r\n \"70.37.86.126/32\",\r\n \"70.37.99.24/32\",\r\n + \ \"102.37.42.159/32\",\r\n \"102.133.64.36/32\",\r\n \"102.133.64.68/32\",\r\n + \ \"102.133.64.91/32\",\r\n \"102.133.64.111/32\",\r\n \"102.133.72.250/32\",\r\n + \ \"102.133.75.8/32\",\r\n \"102.133.75.32/32\",\r\n \"102.133.75.35/32\",\r\n + \ \"102.133.161.220/32\",\r\n \"102.133.166.135/32\",\r\n + \ \"102.133.172.191/32\",\r\n \"102.133.175.200/32\",\r\n + \ \"102.133.224.81/32\",\r\n \"102.133.234.139/32\",\r\n + \ \"104.40.156.194/32\",\r\n \"104.41.45.182/32\",\r\n \"104.41.166.159/32\",\r\n + \ \"104.43.169.4/32\",\r\n \"104.46.237.209/32\",\r\n \"104.208.28.82/32\",\r\n + \ \"104.209.233.222/32\",\r\n \"104.210.150.160/32\",\r\n + \ \"104.211.78.17/32\",\r\n \"104.211.114.61/32\",\r\n \"104.211.138.88/32\",\r\n + \ \"104.211.140.190/32\",\r\n \"104.211.155.114/32\",\r\n + \ \"104.211.165.123/32\",\r\n \"104.211.184.150/32\",\r\n + \ \"104.211.188.151/32\",\r\n \"104.211.211.213/32\",\r\n + \ \"104.211.216.230/32\",\r\n \"104.211.242.104/32\",\r\n + \ \"104.214.60.144/32\",\r\n \"104.214.237.23/32\",\r\n \"104.215.51.3/32\",\r\n + \ \"104.215.103.51/32\",\r\n \"104.215.112.85/32\",\r\n \"137.116.49.12/32\",\r\n + \ \"137.116.248.148/32\",\r\n \"137.117.171.26/32\",\r\n + \ \"137.135.243.65/32\",\r\n \"138.91.44.13/32\",\r\n \"168.61.167.193/32\",\r\n + \ \"168.63.31.54/32\",\r\n \"168.63.71.119/32\",\r\n \"168.63.137.213/32\",\r\n + \ \"191.232.49.74/32\",\r\n \"191.232.166.149/32\",\r\n \"191.232.235.70/32\",\r\n + \ \"191.232.238.73/32\",\r\n \"191.234.191.63/32\",\r\n \"191.235.65.127/32\",\r\n + \ \"191.235.73.211/32\",\r\n \"191.235.78.126/32\",\r\n \"191.239.248.16/32\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"WindowsVirtualDesktop.GermanyWestCentral\",\r\n + \ \"id\": \"WindowsVirtualDesktop.GermanyWestCentral\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"germanywc\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"WindowsVirtualDesktop\",\r\n \"addressPrefixes\": [\r\n \"51.116.171.102/32\",\r\n + \ \"51.116.182.248/32\",\r\n \"51.116.225.43/32\",\r\n \"51.116.225.44/32\",\r\n + \ \"51.116.225.55/32\",\r\n \"51.116.236.74/32\",\r\n \"51.116.236.84/32\"\r\n + \ ]\r\n }\r\n },\r\n {\r\n \"name\": \"WindowsVirtualDesktop.JapanWest\",\r\n + \ \"id\": \"WindowsVirtualDesktop.JapanWest\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"japanwest\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"WindowsVirtualDesktop\",\r\n \"addressPrefixes\": [\r\n \"13.73.237.154/32\",\r\n + \ \"40.74.84.253/32\",\r\n \"40.74.113.202/32\",\r\n \"40.74.118.163/32\",\r\n + \ \"40.74.136.34/32\",\r\n \"52.175.144.120/32\",\r\n \"104.46.237.209/32\",\r\n + \ \"104.215.51.3/32\"\r\n ]\r\n }\r\n },\r\n {\r\n + \ \"name\": \"WindowsVirtualDesktop.SouthAfricaNorth\",\r\n \"id\": + \"WindowsVirtualDesktop.SouthAfricaNorth\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"southafricanorth\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n + \ ],\r\n \"systemService\": \"WindowsVirtualDesktop\",\r\n \"addressPrefixes\": + [\r\n \"40.127.3.207/32\",\r\n \"102.37.42.159/32\",\r\n + \ \"102.133.161.220/32\",\r\n \"102.133.166.135/32\",\r\n + \ \"102.133.172.191/32\",\r\n \"102.133.175.200/32\",\r\n + \ \"102.133.224.81/32\",\r\n \"102.133.234.139/32\"\r\n ]\r\n + \ }\r\n },\r\n {\r\n \"name\": \"WindowsVirtualDesktop.SoutheastAsia\",\r\n + \ \"id\": \"WindowsVirtualDesktop.SoutheastAsia\",\r\n \"serviceTagChangeNumber\": + \"72\",\r\n \"properties\": {\r\n \"changeNumber\": \"1\",\r\n + \ \"region\": \"southeastasia\",\r\n \"state\": \"GA\",\r\n \"networkFeatures\": + [\r\n \"API\",\r\n \"NSG\"\r\n ],\r\n \"systemService\": + \"WindowsVirtualDesktop\",\r\n \"addressPrefixes\": [\r\n \"13.67.68.78/32\",\r\n + \ \"13.76.88.89/32\",\r\n \"13.76.195.19/32\",\r\n \"13.76.230.148/32\",\r\n + \ \"23.98.66.174/32\",\r\n \"52.163.209.255/32\",\r\n \"52.187.127.152/32\",\r\n + \ \"138.91.44.13/32\"\r\n ]\r\n }\r\n },\r\n {\r\n + \ \"name\": \"WindowsVirtualDesktop.WestEurope\",\r\n \"id\": \"WindowsVirtualDesktop.WestEurope\",\r\n + \ \"serviceTagChangeNumber\": \"72\",\r\n \"properties\": {\r\n \"changeNumber\": + \"1\",\r\n \"region\": \"westeurope\",\r\n \"state\": \"GA\",\r\n + \ \"networkFeatures\": [\r\n \"API\",\r\n \"NSG\"\r\n + \ ],\r\n \"systemService\": \"WindowsVirtualDesktop\",\r\n \"addressPrefixes\": + [\r\n \"13.69.82.138/32\",\r\n \"40.68.18.120/32\",\r\n + \ \"40.114.241.90/32\",\r\n \"51.136.28.200/32\",\r\n \"51.137.89.79/32\",\r\n + \ \"52.137.2.50/32\",\r\n \"65.52.158.177/32\",\r\n \"104.40.156.194/32\",\r\n + \ \"104.214.237.23/32\",\r\n \"137.117.171.26/32\",\r\n \"168.63.31.54/32\"\r\n + \ ]\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}" headers: cache-control: - no-cache content-length: - - '1539787' + - '1637203' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:05:28 GMT + - Fri, 14 May 2021 05:22:02 GMT expires: - '-1' pragma: @@ -23074,7 +20227,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - e8bdc59b-ee32-4722-a194-e31e5c90466e + - a5a5d914-dc01-48ec-9978-9bfba8ddd2a2 status: code: 200 message: OK @@ -23093,28 +20246,28 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeFilters/myRouteFilter/routeFilterRules/myRule?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeFilters/myRouteFilter/routeFilterRules/myRule?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"myRule\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeFilters/myRouteFilter/routeFilterRules/myRule\"\ - ,\r\n \"etag\": \"W/\\\"b172d8ef-e417-45d5-831e-fac9cd28c637\\\"\",\r\n \ - \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"\ - access\": \"Allow\",\r\n \"routeFilterRuleType\": \"Community\",\r\n \ - \ \"communities\": [\r\n \"12076:51004\"\r\n ]\r\n },\r\n \"type\"\ - : \"Microsoft.Network/routeFilters/routeFilterRules\"\r\n}" + string: "{\r\n \"name\": \"myRule\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeFilters/myRouteFilter/routeFilterRules/myRule\",\r\n + \ \"etag\": \"W/\\\"0939f417-0c14-40bc-b653-607f27c4e052\\\"\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Updating\",\r\n \"access\": \"Allow\",\r\n + \ \"routeFilterRuleType\": \"Community\",\r\n \"communities\": [\r\n + \ \"12076:51004\"\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/routeFilters/routeFilterRules\"\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/5514baa6-aa27-4270-a460-e5ff688e299a?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/53904c7c-3ff9-49d7-b911-a44929e45e50?api-version=2021-02-01 cache-control: - no-cache content-length: - - '555' + - '560' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:05:29 GMT + - Fri, 14 May 2021 05:22:02 GMT expires: - '-1' pragma: @@ -23127,9 +20280,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 80ba6959-bff5-486f-863a-1f74053029c9 + - 3c0d2461-7b10-4a47-9d75-f592320c45cd x-ms-ratelimit-remaining-subscription-writes: - - '1194' + - '1192' status: code: 201 message: Created @@ -23143,9 +20296,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/5514baa6-aa27-4270-a460-e5ff688e299a?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/53904c7c-3ff9-49d7-b911-a44929e45e50?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -23157,7 +20311,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:05:39 GMT + - Fri, 14 May 2021 05:22:12 GMT expires: - '-1' pragma: @@ -23174,7 +20328,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 158f334a-9125-4ba5-86c8-84345fe76f33 + - f1ba2e89-0246-4ccd-8e34-199519bceb9e status: code: 200 message: OK @@ -23188,28 +20342,28 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeFilters/myRouteFilter/routeFilterRules/myRule?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeFilters/myRouteFilter/routeFilterRules/myRule?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"myRule\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeFilters/myRouteFilter/routeFilterRules/myRule\"\ - ,\r\n \"etag\": \"W/\\\"c46f8d5c-6f48-4777-a4b6-77e0c9859c04\\\"\",\r\n \ - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\ - access\": \"Allow\",\r\n \"routeFilterRuleType\": \"Community\",\r\n \ - \ \"communities\": [\r\n \"12076:51004\"\r\n ]\r\n },\r\n \"type\"\ - : \"Microsoft.Network/routeFilters/routeFilterRules\"\r\n}" + string: "{\r\n \"name\": \"myRule\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeFilters/myRouteFilter/routeFilterRules/myRule\",\r\n + \ \"etag\": \"W/\\\"b581c804-b9ed-4980-a245-64990b470c50\\\"\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"access\": \"Allow\",\r\n + \ \"routeFilterRuleType\": \"Community\",\r\n \"communities\": [\r\n + \ \"12076:51004\"\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/routeFilters/routeFilterRules\"\r\n}" headers: cache-control: - no-cache content-length: - - '556' + - '561' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:05:39 GMT + - Fri, 14 May 2021 05:22:12 GMT etag: - - W/"c46f8d5c-6f48-4777-a4b6-77e0c9859c04" + - W/"b581c804-b9ed-4980-a245-64990b470c50" expires: - '-1' pragma: @@ -23226,7 +20380,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 1d18dd4b-0596-431d-96e4-b783314780ac + - 64848777-f71b-45b4-a50a-7df358776ec1 status: code: 200 message: OK @@ -23240,28 +20394,28 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeFilters/myRouteFilter/routeFilterRules/myRule?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeFilters/myRouteFilter/routeFilterRules/myRule?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"myRule\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeFilters/myRouteFilter/routeFilterRules/myRule\"\ - ,\r\n \"etag\": \"W/\\\"c46f8d5c-6f48-4777-a4b6-77e0c9859c04\\\"\",\r\n \ - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\ - access\": \"Allow\",\r\n \"routeFilterRuleType\": \"Community\",\r\n \ - \ \"communities\": [\r\n \"12076:51004\"\r\n ]\r\n },\r\n \"type\"\ - : \"Microsoft.Network/routeFilters/routeFilterRules\"\r\n}" + string: "{\r\n \"name\": \"myRule\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeFilters/myRouteFilter/routeFilterRules/myRule\",\r\n + \ \"etag\": \"W/\\\"b581c804-b9ed-4980-a245-64990b470c50\\\"\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"access\": \"Allow\",\r\n + \ \"routeFilterRuleType\": \"Community\",\r\n \"communities\": [\r\n + \ \"12076:51004\"\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/routeFilters/routeFilterRules\"\r\n}" headers: cache-control: - no-cache content-length: - - '556' + - '561' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:05:40 GMT + - Fri, 14 May 2021 05:22:12 GMT etag: - - W/"c46f8d5c-6f48-4777-a4b6-77e0c9859c04" + - W/"b581c804-b9ed-4980-a245-64990b470c50" expires: - '-1' pragma: @@ -23278,7 +20432,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 1decd239-8ccc-44ad-a748-b20b50f5b835 + - ea9cad18-3d5e-4158-8cb4-ae9ec4588048 status: code: 200 message: OK @@ -23292,34 +20446,35 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeFilters/myRouteFilter?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeFilters/myRouteFilter?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"myRouteFilter\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeFilters/myRouteFilter\"\ - ,\r\n \"etag\": \"W/\\\"c46f8d5c-6f48-4777-a4b6-77e0c9859c04\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/routeFilters\",\r\n \"location\": \"eastus\"\ - ,\r\n \"tags\": {\r\n \"key1\": \"value1\"\r\n },\r\n \"properties\"\ - : {\r\n \"provisioningState\": \"Succeeded\",\r\n \"rules\": [\r\n \ - \ {\r\n \"name\": \"myRule\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeFilters/myRouteFilter/routeFilterRules/myRule\"\ - ,\r\n \"etag\": \"W/\\\"c46f8d5c-6f48-4777-a4b6-77e0c9859c04\\\"\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"access\": \"Allow\",\r\n \"routeFilterRuleType\"\ - : \"Community\",\r\n \"communities\": [\r\n \"12076:51004\"\ - \r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/routeFilters/routeFilterRules\"\ - \r\n }\r\n ]\r\n }\r\n}" + string: "{\r\n \"name\": \"myRouteFilter\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeFilters/myRouteFilter\",\r\n + \ \"etag\": \"W/\\\"b581c804-b9ed-4980-a245-64990b470c50\\\"\",\r\n \"type\": + \"Microsoft.Network/routeFilters\",\r\n \"location\": \"eastus\",\r\n \"tags\": + {\r\n \"key1\": \"value1\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": + \"Succeeded\",\r\n \"rules\": [\r\n {\r\n \"name\": \"myRule\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeFilters/myRouteFilter/routeFilterRules/myRule\",\r\n + \ \"etag\": \"W/\\\"b581c804-b9ed-4980-a245-64990b470c50\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"access\": \"Allow\",\r\n \"routeFilterRuleType\": \"Community\",\r\n + \ \"communities\": [\r\n \"12076:51004\"\r\n ]\r\n + \ },\r\n \"type\": \"Microsoft.Network/routeFilters/routeFilterRules\"\r\n + \ }\r\n ]\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '1138' + - '1148' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:05:40 GMT + - Fri, 14 May 2021 05:22:12 GMT etag: - - W/"c46f8d5c-6f48-4777-a4b6-77e0c9859c04" + - W/"b581c804-b9ed-4980-a245-64990b470c50" expires: - '-1' pragma: @@ -23336,7 +20491,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 81f837f1-e051-4e93-88b5-0494094df8ad + - 3bf8950a-7252-4c75-8bdc-6e4893a29e01 status: code: 200 message: OK @@ -23354,34 +20509,35 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeFilters/myRouteFilter?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeFilters/myRouteFilter?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"myRouteFilter\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeFilters/myRouteFilter\"\ - ,\r\n \"etag\": \"W/\\\"e99c6f06-0b6f-49d3-b00f-e1ef4dd666a6\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/routeFilters\",\r\n \"location\": \"eastus\"\ - ,\r\n \"tags\": {\r\n \"key1\": \"value1\"\r\n },\r\n \"properties\"\ - : {\r\n \"provisioningState\": \"Succeeded\",\r\n \"rules\": [\r\n \ - \ {\r\n \"name\": \"myRule\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeFilters/myRouteFilter/routeFilterRules/myRule\"\ - ,\r\n \"etag\": \"W/\\\"e99c6f06-0b6f-49d3-b00f-e1ef4dd666a6\\\"\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"access\": \"Allow\",\r\n \"routeFilterRuleType\"\ - : \"Community\",\r\n \"communities\": [\r\n \"12076:51004\"\ - \r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/routeFilters/routeFilterRules\"\ - \r\n }\r\n ]\r\n }\r\n}" + string: "{\r\n \"name\": \"myRouteFilter\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeFilters/myRouteFilter\",\r\n + \ \"etag\": \"W/\\\"3487956f-b629-44e6-9fe4-c29bf25b7e74\\\"\",\r\n \"type\": + \"Microsoft.Network/routeFilters\",\r\n \"location\": \"eastus\",\r\n \"tags\": + {\r\n \"key1\": \"value1\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": + \"Succeeded\",\r\n \"rules\": [\r\n {\r\n \"name\": \"myRule\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeFilters/myRouteFilter/routeFilterRules/myRule\",\r\n + \ \"etag\": \"W/\\\"3487956f-b629-44e6-9fe4-c29bf25b7e74\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"access\": \"Allow\",\r\n \"routeFilterRuleType\": \"Community\",\r\n + \ \"communities\": [\r\n \"12076:51004\"\r\n ]\r\n + \ },\r\n \"type\": \"Microsoft.Network/routeFilters/routeFilterRules\"\r\n + \ }\r\n ]\r\n }\r\n}" headers: azure-asyncnotification: - Enabled cache-control: - no-cache content-length: - - '1138' + - '1148' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:05:43 GMT + - Fri, 14 May 2021 05:22:13 GMT expires: - '-1' pragma: @@ -23398,9 +20554,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - d0fd08bf-07e4-4b0f-bf92-1733a7e7fd85 + - 4b326726-3942-4572-9d5f-2dfdcf3664da x-ms-ratelimit-remaining-subscription-writes: - - '1193' + - '1191' status: code: 200 message: OK @@ -23416,25 +20572,26 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeFilters/myRouteFilter/routeFilterRules/myRule?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeFilters/myRouteFilter/routeFilterRules/myRule?api-version=2021-02-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/32d4c60d-af16-4e26-b6a3-8fb353ce2a25?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/1247f0e9-e420-4943-89de-c6d64349f102?api-version=2021-02-01 cache-control: - no-cache content-length: - '0' date: - - Tue, 09 Mar 2021 06:05:44 GMT + - Fri, 14 May 2021 05:22:13 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/32d4c60d-af16-4e26-b6a3-8fb353ce2a25?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/1247f0e9-e420-4943-89de-c6d64349f102?api-version=2021-02-01 pragma: - no-cache server: @@ -23445,9 +20602,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 93fc7c11-f7c0-4918-8034-2f19f0186606 + - 8cacc3c9-8bfd-4ca3-9464-ef756a3e94b2 x-ms-ratelimit-remaining-subscription-deletes: - - '14995' + - '14998' status: code: 202 message: Accepted @@ -23461,9 +20618,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/32d4c60d-af16-4e26-b6a3-8fb353ce2a25?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/1247f0e9-e420-4943-89de-c6d64349f102?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -23475,7 +20633,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:05:54 GMT + - Fri, 14 May 2021 05:22:24 GMT expires: - '-1' pragma: @@ -23492,7 +20650,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - d978ec83-ffd2-4b8e-ba0f-a01f6be0a4ec + - 67499644-870b-44af-bb9c-6cdddb558e53 status: code: 200 message: OK @@ -23508,9 +20666,10 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeFilters/myRouteFilter?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeFilters/myRouteFilter?api-version=2021-02-01 response: body: string: '' @@ -23518,17 +20677,17 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/c700ea06-66c6-420f-8a6a-018e0760ec09?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/be1c447a-2995-40af-a3d1-281ac9b6bbe2?api-version=2021-02-01 cache-control: - no-cache content-length: - '0' date: - - Tue, 09 Mar 2021 06:05:55 GMT + - Fri, 14 May 2021 05:22:24 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/c700ea06-66c6-420f-8a6a-018e0760ec09?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/be1c447a-2995-40af-a3d1-281ac9b6bbe2?api-version=2021-02-01 pragma: - no-cache server: @@ -23539,9 +20698,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - aa99e41b-b3aa-4215-8a1e-b438b69ff6cd + - 1abbd007-3695-4687-8947-d78683546419 x-ms-ratelimit-remaining-subscription-deletes: - - '14994' + - '14997' status: code: 202 message: Accepted @@ -23555,9 +20714,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/c700ea06-66c6-420f-8a6a-018e0760ec09?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/be1c447a-2995-40af-a3d1-281ac9b6bbe2?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -23569,7 +20729,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:06:05 GMT + - Fri, 14 May 2021 05:22:34 GMT expires: - '-1' pragma: @@ -23586,7 +20746,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 391df388-b074-4d83-8308-bb543105bb1f + - f9552afd-129b-4d9f-b266-0c75615bb2af status: code: 200 message: OK diff --git a/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_route_table.test_network.yaml b/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_route_table.test_network.yaml index 5fc74d0c8662..721519a741d7 100644 --- a/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_route_table.test_network.yaml +++ b/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_route_table.test_network.yaml @@ -13,30 +13,30 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeTables/myRouteTable?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeTables/myRouteTable?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"myRouteTable\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeTables/myRouteTable\"\ - ,\r\n \"etag\": \"W/\\\"46adfee0-1adf-4427-bbfe-76b4cedbf8d5\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/routeTables\",\r\n \"location\": \"westus\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ - \ \"resourceGuid\": \"f160edf0-0a04-470c-919e-9bce1309edd2\",\r\n \"\ - disableBgpRoutePropagation\": false,\r\n \"routes\": []\r\n }\r\n}" + string: "{\r\n \"name\": \"myRouteTable\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeTables/myRouteTable\",\r\n + \ \"etag\": \"W/\\\"a5fb8771-1152-462a-8eb9-80aa22fe1e40\\\"\",\r\n \"type\": + \"Microsoft.Network/routeTables\",\r\n \"location\": \"westus\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": \"1f3c6e55-0d5d-4401-8c70-30c758725733\",\r\n + \ \"disableBgpRoutePropagation\": false,\r\n \"routes\": []\r\n }\r\n}" headers: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/e0ea318e-3e6e-4a25-88df-c7bb6f88913d?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/bfa140f8-4b74-4184-b617-44430f89bbe2?api-version=2021-02-01 cache-control: - no-cache content-length: - - '548' + - '553' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:06:26 GMT + - Fri, 14 May 2021 05:22:35 GMT expires: - '-1' pragma: @@ -49,9 +49,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - a6f8a921-05da-42b4-b7a0-f8054e4d44cb + - 1ddf9235-c26b-4b33-8496-db1f229095ec x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1190' status: code: 201 message: Created @@ -65,9 +65,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/e0ea318e-3e6e-4a25-88df-c7bb6f88913d?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/bfa140f8-4b74-4184-b617-44430f89bbe2?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -79,7 +80,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:06:36 GMT + - Fri, 14 May 2021 05:22:45 GMT expires: - '-1' pragma: @@ -96,7 +97,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 59b5ea8c-4216-4073-842b-1b889f76c586 + - 437065d8-7b16-46b0-b43c-72ed0b29ad42 status: code: 200 message: OK @@ -110,28 +111,28 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeTables/myRouteTable?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeTables/myRouteTable?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"myRouteTable\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeTables/myRouteTable\"\ - ,\r\n \"etag\": \"W/\\\"b232879b-45ee-40e8-befe-bcb1d1b67091\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/routeTables\",\r\n \"location\": \"westus\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n\ - \ \"resourceGuid\": \"f160edf0-0a04-470c-919e-9bce1309edd2\",\r\n \"\ - disableBgpRoutePropagation\": false,\r\n \"routes\": []\r\n }\r\n}" + string: "{\r\n \"name\": \"myRouteTable\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeTables/myRouteTable\",\r\n + \ \"etag\": \"W/\\\"4e5e8299-1483-4f7d-af42-0c865b8671a2\\\"\",\r\n \"type\": + \"Microsoft.Network/routeTables\",\r\n \"location\": \"westus\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"1f3c6e55-0d5d-4401-8c70-30c758725733\",\r\n + \ \"disableBgpRoutePropagation\": false,\r\n \"routes\": []\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '549' + - '554' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:06:37 GMT + - Fri, 14 May 2021 05:22:45 GMT etag: - - W/"b232879b-45ee-40e8-befe-bcb1d1b67091" + - W/"4e5e8299-1483-4f7d-af42-0c865b8671a2" expires: - '-1' pragma: @@ -148,7 +149,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - aa563448-399b-445c-becf-b26274421eb2 + - 7e11586c-9621-4b83-83cc-598a3c5f9c5b status: code: 200 message: OK @@ -166,28 +167,28 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeTables/myRouteTable/routes/myRoute?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeTables/myRouteTable/routes/myRoute?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"myRoute\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeTables/myRouteTable/routes/myRoute\"\ - ,\r\n \"etag\": \"W/\\\"d24cebfc-d2bc-4c10-8463-2f87400e004f\\\"\",\r\n \ - \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"\ - addressPrefix\": \"10.0.3.0/24\",\r\n \"nextHopType\": \"VirtualNetworkGateway\"\ - ,\r\n \"hasBgpOverride\": false\r\n },\r\n \"type\": \"Microsoft.Network/routeTables/routes\"\ - \r\n}" + string: "{\r\n \"name\": \"myRoute\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeTables/myRouteTable/routes/myRoute\",\r\n + \ \"etag\": \"W/\\\"04b38ea5-6026-431f-ac83-08d1125dd690\\\"\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Updating\",\r\n \"addressPrefix\": \"10.0.3.0/24\",\r\n + \ \"nextHopType\": \"VirtualNetworkGateway\",\r\n \"hasBgpOverride\": + false\r\n },\r\n \"type\": \"Microsoft.Network/routeTables/routes\"\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/cc29dab5-b520-4095-9a9d-214837b10f10?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/6071130c-f1be-45fe-b2bc-1923f0a3b0da?api-version=2021-02-01 cache-control: - no-cache content-length: - - '530' + - '535' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:06:37 GMT + - Fri, 14 May 2021 05:22:45 GMT expires: - '-1' pragma: @@ -200,9 +201,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 66a4b558-329f-431e-b108-5fc5a34255e5 + - cddb53f9-4ea7-4913-903f-ebee0d5c4dbf x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1189' status: code: 201 message: Created @@ -216,9 +217,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/cc29dab5-b520-4095-9a9d-214837b10f10?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/6071130c-f1be-45fe-b2bc-1923f0a3b0da?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -230,7 +232,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:06:47 GMT + - Fri, 14 May 2021 05:22:55 GMT expires: - '-1' pragma: @@ -247,7 +249,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 9ff1ecb4-3e7e-41db-80d7-5115e3c73837 + - 320801af-9544-40a7-891f-ed7d02289f73 status: code: 200 message: OK @@ -261,28 +263,28 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeTables/myRouteTable/routes/myRoute?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeTables/myRouteTable/routes/myRoute?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"myRoute\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeTables/myRouteTable/routes/myRoute\"\ - ,\r\n \"etag\": \"W/\\\"e05fc0e2-ea79-4cca-94a6-b6d0e2c6dee5\\\"\",\r\n \ - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\ - addressPrefix\": \"10.0.3.0/24\",\r\n \"nextHopType\": \"VirtualNetworkGateway\"\ - ,\r\n \"hasBgpOverride\": false\r\n },\r\n \"type\": \"Microsoft.Network/routeTables/routes\"\ - \r\n}" + string: "{\r\n \"name\": \"myRoute\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeTables/myRouteTable/routes/myRoute\",\r\n + \ \"etag\": \"W/\\\"371543ac-c1c1-4fd5-9bf7-7ce0c49e1217\\\"\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressPrefix\": \"10.0.3.0/24\",\r\n + \ \"nextHopType\": \"VirtualNetworkGateway\",\r\n \"hasBgpOverride\": + false\r\n },\r\n \"type\": \"Microsoft.Network/routeTables/routes\"\r\n}" headers: cache-control: - no-cache content-length: - - '531' + - '536' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:06:47 GMT + - Fri, 14 May 2021 05:22:55 GMT etag: - - W/"e05fc0e2-ea79-4cca-94a6-b6d0e2c6dee5" + - W/"371543ac-c1c1-4fd5-9bf7-7ce0c49e1217" expires: - '-1' pragma: @@ -299,7 +301,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - fdcf3067-cb1c-48bf-92e9-203fbea54b17 + - 10a13a08-07db-4b2a-b22d-897f88e74e01 status: code: 200 message: OK @@ -313,28 +315,28 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeTables/myRouteTable/routes/myRoute?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeTables/myRouteTable/routes/myRoute?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"myRoute\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeTables/myRouteTable/routes/myRoute\"\ - ,\r\n \"etag\": \"W/\\\"e05fc0e2-ea79-4cca-94a6-b6d0e2c6dee5\\\"\",\r\n \ - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\ - addressPrefix\": \"10.0.3.0/24\",\r\n \"nextHopType\": \"VirtualNetworkGateway\"\ - ,\r\n \"hasBgpOverride\": false\r\n },\r\n \"type\": \"Microsoft.Network/routeTables/routes\"\ - \r\n}" + string: "{\r\n \"name\": \"myRoute\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeTables/myRouteTable/routes/myRoute\",\r\n + \ \"etag\": \"W/\\\"371543ac-c1c1-4fd5-9bf7-7ce0c49e1217\\\"\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressPrefix\": \"10.0.3.0/24\",\r\n + \ \"nextHopType\": \"VirtualNetworkGateway\",\r\n \"hasBgpOverride\": + false\r\n },\r\n \"type\": \"Microsoft.Network/routeTables/routes\"\r\n}" headers: cache-control: - no-cache content-length: - - '531' + - '536' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:06:48 GMT + - Fri, 14 May 2021 05:22:56 GMT etag: - - W/"e05fc0e2-ea79-4cca-94a6-b6d0e2c6dee5" + - W/"371543ac-c1c1-4fd5-9bf7-7ce0c49e1217" expires: - '-1' pragma: @@ -351,7 +353,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 1bf20ee9-deca-4c7d-83d2-2412b13f340f + - 79d5daff-c1fc-48eb-84fd-0226edc25a98 status: code: 200 message: OK @@ -365,35 +367,35 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeTables/myRouteTable?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeTables/myRouteTable?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"myRouteTable\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeTables/myRouteTable\"\ - ,\r\n \"etag\": \"W/\\\"e05fc0e2-ea79-4cca-94a6-b6d0e2c6dee5\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/routeTables\",\r\n \"location\": \"westus\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n\ - \ \"resourceGuid\": \"f160edf0-0a04-470c-919e-9bce1309edd2\",\r\n \"\ - disableBgpRoutePropagation\": false,\r\n \"routes\": [\r\n {\r\n \ - \ \"name\": \"myRoute\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeTables/myRouteTable/routes/myRoute\"\ - ,\r\n \"etag\": \"W/\\\"e05fc0e2-ea79-4cca-94a6-b6d0e2c6dee5\\\"\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"addressPrefix\": \"10.0.3.0/24\",\r\n \"nextHopType\"\ - : \"VirtualNetworkGateway\",\r\n \"hasBgpOverride\": false\r\n \ - \ },\r\n \"type\": \"Microsoft.Network/routeTables/routes\"\r\n\ - \ }\r\n ]\r\n }\r\n}" + string: "{\r\n \"name\": \"myRouteTable\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeTables/myRouteTable\",\r\n + \ \"etag\": \"W/\\\"371543ac-c1c1-4fd5-9bf7-7ce0c49e1217\\\"\",\r\n \"type\": + \"Microsoft.Network/routeTables\",\r\n \"location\": \"westus\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"1f3c6e55-0d5d-4401-8c70-30c758725733\",\r\n + \ \"disableBgpRoutePropagation\": false,\r\n \"routes\": [\r\n {\r\n + \ \"name\": \"myRoute\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeTables/myRouteTable/routes/myRoute\",\r\n + \ \"etag\": \"W/\\\"371543ac-c1c1-4fd5-9bf7-7ce0c49e1217\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"addressPrefix\": \"10.0.3.0/24\",\r\n \"nextHopType\": + \"VirtualNetworkGateway\",\r\n \"hasBgpOverride\": false\r\n },\r\n + \ \"type\": \"Microsoft.Network/routeTables/routes\"\r\n }\r\n + \ ]\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '1160' + - '1170' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:06:48 GMT + - Fri, 14 May 2021 05:22:56 GMT etag: - - W/"e05fc0e2-ea79-4cca-94a6-b6d0e2c6dee5" + - W/"371543ac-c1c1-4fd5-9bf7-7ce0c49e1217" expires: - '-1' pragma: @@ -410,7 +412,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - d91e4e75-209b-4655-8fa9-de0388ce6bc2 + - 012d84e0-451f-4ba1-9eab-1328d0bd5a91 status: code: 200 message: OK @@ -428,36 +430,36 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeTables/myRouteTable?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeTables/myRouteTable?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"myRouteTable\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeTables/myRouteTable\"\ - ,\r\n \"etag\": \"W/\\\"30963c73-50a7-4bf7-9953-4efdde098b4c\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/routeTables\",\r\n \"location\": \"westus\"\ - ,\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\"\ - \r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"resourceGuid\": \"f160edf0-0a04-470c-919e-9bce1309edd2\",\r\n \ - \ \"disableBgpRoutePropagation\": false,\r\n \"routes\": [\r\n {\r\ - \n \"name\": \"myRoute\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeTables/myRouteTable/routes/myRoute\"\ - ,\r\n \"etag\": \"W/\\\"30963c73-50a7-4bf7-9953-4efdde098b4c\\\"\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"addressPrefix\": \"10.0.3.0/24\",\r\n \"nextHopType\"\ - : \"VirtualNetworkGateway\",\r\n \"hasBgpOverride\": false\r\n \ - \ },\r\n \"type\": \"Microsoft.Network/routeTables/routes\"\r\n\ - \ }\r\n ]\r\n }\r\n}" + string: "{\r\n \"name\": \"myRouteTable\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeTables/myRouteTable\",\r\n + \ \"etag\": \"W/\\\"69e4b817-a5ab-45db-a84f-ea271a9c3202\\\"\",\r\n \"type\": + \"Microsoft.Network/routeTables\",\r\n \"location\": \"westus\",\r\n \"tags\": + {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\"\r\n },\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"1f3c6e55-0d5d-4401-8c70-30c758725733\",\r\n + \ \"disableBgpRoutePropagation\": false,\r\n \"routes\": [\r\n {\r\n + \ \"name\": \"myRoute\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeTables/myRouteTable/routes/myRoute\",\r\n + \ \"etag\": \"W/\\\"69e4b817-a5ab-45db-a84f-ea271a9c3202\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"addressPrefix\": \"10.0.3.0/24\",\r\n \"nextHopType\": + \"VirtualNetworkGateway\",\r\n \"hasBgpOverride\": false\r\n },\r\n + \ \"type\": \"Microsoft.Network/routeTables/routes\"\r\n }\r\n + \ ]\r\n }\r\n}" headers: azure-asyncnotification: - Enabled cache-control: - no-cache content-length: - - '1224' + - '1234' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:06:50 GMT + - Fri, 14 May 2021 05:22:56 GMT expires: - '-1' pragma: @@ -474,9 +476,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - fa0f4192-f03a-4c83-b048-92d0b364d504 + - a7a4680f-85e1-4ba8-8350-59bd5b02524d x-ms-ratelimit-remaining-subscription-writes: - - '1195' + - '1188' status: code: 200 message: OK @@ -492,25 +494,26 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeTables/myRouteTable/routes/myRoute?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeTables/myRouteTable/routes/myRoute?api-version=2021-02-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/4f66c79c-ee3b-491f-bc2e-5be23440cadb?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/37c25398-5cba-4277-90d6-83e9c8c72acc?api-version=2021-02-01 cache-control: - no-cache content-length: - '0' date: - - Tue, 09 Mar 2021 06:06:51 GMT + - Fri, 14 May 2021 05:22:56 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/4f66c79c-ee3b-491f-bc2e-5be23440cadb?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/37c25398-5cba-4277-90d6-83e9c8c72acc?api-version=2021-02-01 pragma: - no-cache server: @@ -521,9 +524,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - d864dd77-d8a1-4bea-be9c-d14a90bf52c9 + - ef12de26-79c2-4723-ad9a-6489b14ac522 x-ms-ratelimit-remaining-subscription-deletes: - - '14997' + - '14994' status: code: 202 message: Accepted @@ -537,9 +540,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/4f66c79c-ee3b-491f-bc2e-5be23440cadb?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/37c25398-5cba-4277-90d6-83e9c8c72acc?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -551,7 +555,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:07:01 GMT + - Fri, 14 May 2021 05:23:06 GMT expires: - '-1' pragma: @@ -568,7 +572,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 1f6f758f-4bae-4844-bdac-790acef37039 + - fd59310e-5d14-4dcc-83fb-2e2290b7a37b status: code: 200 message: OK @@ -584,9 +588,10 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeTables/myRouteTable?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/routeTables/myRouteTable?api-version=2021-02-01 response: body: string: '' @@ -594,17 +599,17 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/c1cd69a7-fcde-4ebf-8402-a2e03f39dd75?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/049a628d-ce34-4a7d-8160-0ebb281ed854?api-version=2021-02-01 cache-control: - no-cache content-length: - '0' date: - - Tue, 09 Mar 2021 06:07:02 GMT + - Fri, 14 May 2021 05:23:06 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/c1cd69a7-fcde-4ebf-8402-a2e03f39dd75?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/049a628d-ce34-4a7d-8160-0ebb281ed854?api-version=2021-02-01 pragma: - no-cache server: @@ -615,9 +620,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 1969a97c-d9b8-4630-a6ed-433b49b5f5ce + - d88d3554-a064-4139-8aec-93e71ae03055 x-ms-ratelimit-remaining-subscription-deletes: - - '14996' + - '14993' status: code: 202 message: Accepted @@ -631,9 +636,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/c1cd69a7-fcde-4ebf-8402-a2e03f39dd75?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/049a628d-ce34-4a7d-8160-0ebb281ed854?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -645,7 +651,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:07:13 GMT + - Fri, 14 May 2021 05:23:17 GMT expires: - '-1' pragma: @@ -662,7 +668,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - ea98385e-9154-4620-99eb-863e7d6a4045 + - 693f2e4a-a115-4194-858f-82c4d4d0740b status: code: 200 message: OK diff --git a/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_wan_hub.test_network.yaml b/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_wan_hub.test_network.yaml index 03673cb7c20b..203497ecafd8 100644 --- a/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_wan_hub.test_network.yaml +++ b/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_wan_hub.test_network.yaml @@ -14,31 +14,32 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualWans/virtualwan76dc116f?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualWans/virtualwan76dc116f?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"virtualwan76dc116f\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualWans/virtualwan76dc116f\"\ - ,\r\n \"etag\": \"W/\\\"e2ec2e2d-68de-4eb5-a8bb-5d4f68fb3099\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/virtualWans\",\r\n \"location\": \"westus\"\ - ,\r\n \"tags\": {\r\n \"key1\": \"value1\"\r\n },\r\n \"properties\"\ - : {\r\n \"provisioningState\": \"Updating\",\r\n \"disableVpnEncryption\"\ - : false,\r\n \"allowBranchToBranchTraffic\": true,\r\n \"office365LocalBreakoutCategory\"\ - : \"None\",\r\n \"type\": \"Basic\"\r\n }\r\n}" + string: "{\r\n \"name\": \"virtualwan76dc116f\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualWans/virtualwan76dc116f\",\r\n + \ \"etag\": \"W/\\\"2e7dd5c5-18e7-421d-8c2f-16ea47802a10\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualWans\",\r\n \"location\": \"westus\",\r\n \"tags\": + {\r\n \"key1\": \"value1\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": + \"Updating\",\r\n \"disableVpnEncryption\": false,\r\n \"allowBranchToBranchTraffic\": + true,\r\n \"office365LocalBreakoutCategory\": \"None\",\r\n \"type\": + \"Basic\"\r\n }\r\n}" headers: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/c261c045-749a-43ee-9e2a-b4e9f7a3dd49?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/0aac4831-9874-437e-b8fd-30651f632c20?api-version=2021-02-01 cache-control: - no-cache content-length: - - '625' + - '630' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:07:30 GMT + - Fri, 14 May 2021 05:23:19 GMT expires: - '-1' pragma: @@ -51,9 +52,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 1260223e-a9af-4546-98ca-c0d56718b727 + - 5d36d2b6-83a1-4119-8616-b251436245b1 x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1195' status: code: 201 message: Created @@ -67,9 +68,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/c261c045-749a-43ee-9e2a-b4e9f7a3dd49?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/0aac4831-9874-437e-b8fd-30651f632c20?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -81,7 +83,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:07:40 GMT + - Fri, 14 May 2021 05:23:29 GMT expires: - '-1' pragma: @@ -98,7 +100,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - afef5a1c-46b6-4d55-b3cf-aef0dc8f8762 + - 84ca0964-4ebf-411f-88bc-f67f2b8dd47c status: code: 200 message: OK @@ -112,29 +114,30 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualWans/virtualwan76dc116f?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualWans/virtualwan76dc116f?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"virtualwan76dc116f\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualWans/virtualwan76dc116f\"\ - ,\r\n \"etag\": \"W/\\\"27ce7e9f-aa1d-4556-acf9-65b1e51702cf\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/virtualWans\",\r\n \"location\": \"westus\"\ - ,\r\n \"tags\": {\r\n \"key1\": \"value1\"\r\n },\r\n \"properties\"\ - : {\r\n \"provisioningState\": \"Succeeded\",\r\n \"disableVpnEncryption\"\ - : false,\r\n \"allowBranchToBranchTraffic\": true,\r\n \"office365LocalBreakoutCategory\"\ - : \"None\",\r\n \"type\": \"Basic\"\r\n }\r\n}" + string: "{\r\n \"name\": \"virtualwan76dc116f\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualWans/virtualwan76dc116f\",\r\n + \ \"etag\": \"W/\\\"ca9814c4-5ee7-478d-a49d-778a01a268a1\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualWans\",\r\n \"location\": \"westus\",\r\n \"tags\": + {\r\n \"key1\": \"value1\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": + \"Succeeded\",\r\n \"disableVpnEncryption\": false,\r\n \"allowBranchToBranchTraffic\": + true,\r\n \"office365LocalBreakoutCategory\": \"None\",\r\n \"type\": + \"Basic\"\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '626' + - '631' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:07:41 GMT + - Fri, 14 May 2021 05:23:29 GMT etag: - - W/"27ce7e9f-aa1d-4556-acf9-65b1e51702cf" + - W/"ca9814c4-5ee7-478d-a49d-778a01a268a1" expires: - '-1' pragma: @@ -151,7 +154,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 59856c25-92f2-498d-aa50-5054d0552e89 + - 7e9f2d13-da46-40d0-874e-3764efac474c status: code: 200 message: OK @@ -170,49 +173,49 @@ interactions: Connection: - keep-alive Content-Length: - - '602' + - '607' Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/vpnSites/vnpsite76dc116f?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/vpnSites/vnpsite76dc116f?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"vnpsite76dc116f\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/vpnSites/vnpsite76dc116f\"\ - ,\r\n \"etag\": \"W/\\\"6fa1e749-a0a2-4f92-9aac-c33108bbf11a\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/vpnSites\",\r\n \"location\": \"westus\"\ - ,\r\n \"tags\": {\r\n \"key1\": \"value1\"\r\n },\r\n \"properties\"\ - : {\r\n \"provisioningState\": \"Updating\",\r\n \"addressSpace\": {\r\ - \n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n ]\r\n \ - \ },\r\n \"deviceProperties\": {\r\n \"linkSpeedInMbps\": 0\r\n\ - \ },\r\n \"virtualWan\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualWans/virtualwan76dc116f\"\ - \r\n },\r\n \"isSecuritySite\": false,\r\n \"o365Policy\": {\r\n\ - \ \"breakOutCategories\": {\r\n \"optimize\": false,\r\n \ - \ \"allow\": false,\r\n \"default\": false\r\n }\r\n },\r\ - \n \"vpnSiteLinks\": [\r\n {\r\n \"name\": \"vpnSiteLink1\"\ - ,\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/vpnSites/vnpsite76dc116f/vpnSiteLinks/vpnSiteLink1\"\ - ,\r\n \"etag\": \"W/\\\"6fa1e749-a0a2-4f92-9aac-c33108bbf11a\\\"\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\"\ - ,\r\n \"ipAddress\": \"50.50.50.56\",\r\n \"bgpProperties\"\ - : {\r\n \"asn\": 1234,\r\n \"bgpPeeringAddress\": \"\ - 192.168.0.0\"\r\n },\r\n \"linkProperties\": {\r\n \ - \ \"linkProviderName\": \"vendor1\",\r\n \"linkSpeedInMbps\"\ - : 0\r\n }\r\n },\r\n \"type\": \"Microsoft.Network/vpnSites/vpnSiteLinks\"\ - \r\n }\r\n ]\r\n }\r\n}" + string: "{\r\n \"name\": \"vnpsite76dc116f\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/vpnSites/vnpsite76dc116f\",\r\n + \ \"etag\": \"W/\\\"ced33e3f-198a-4b5a-ae29-bcb27b6ef25d\\\"\",\r\n \"type\": + \"Microsoft.Network/vpnSites\",\r\n \"location\": \"westus\",\r\n \"tags\": + {\r\n \"key1\": \"value1\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": + \"Updating\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n + \ \"10.0.0.0/16\"\r\n ]\r\n },\r\n \"deviceProperties\": + {\r\n \"linkSpeedInMbps\": 0\r\n },\r\n \"virtualWan\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualWans/virtualwan76dc116f\"\r\n + \ },\r\n \"isSecuritySite\": false,\r\n \"o365Policy\": {\r\n \"breakOutCategories\": + {\r\n \"optimize\": false,\r\n \"allow\": false,\r\n \"default\": + false\r\n }\r\n },\r\n \"vpnSiteLinks\": [\r\n {\r\n \"name\": + \"vpnSiteLink1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/vpnSites/vnpsite76dc116f/vpnSiteLinks/vpnSiteLink1\",\r\n + \ \"etag\": \"W/\\\"ced33e3f-198a-4b5a-ae29-bcb27b6ef25d\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"ipAddress\": \"50.50.50.56\",\r\n \"bgpProperties\": + {\r\n \"asn\": 1234,\r\n \"bgpPeeringAddress\": \"192.168.0.0\"\r\n + \ },\r\n \"linkProperties\": {\r\n \"linkProviderName\": + \"vendor1\",\r\n \"linkSpeedInMbps\": 0\r\n }\r\n },\r\n + \ \"type\": \"Microsoft.Network/vpnSites/vpnSiteLinks\"\r\n }\r\n + \ ]\r\n }\r\n}" headers: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/fe0e53b6-9a9a-4e3c-8178-9d3ce4c333a4?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/61515127-9ae2-4864-bc68-14e08df8ce3b?api-version=2021-02-01 cache-control: - no-cache content-length: - - '1849' + - '1864' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:07:45 GMT + - Fri, 14 May 2021 05:23:30 GMT expires: - '-1' pragma: @@ -225,9 +228,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - e91321ed-3fc3-4fbd-9e01-f25a40457838 + - c6e8008c-81b5-4b7c-aad6-9a405a90e91c x-ms-ratelimit-remaining-subscription-writes: - - '1195' + - '1194' status: code: 201 message: Created @@ -241,9 +244,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/fe0e53b6-9a9a-4e3c-8178-9d3ce4c333a4?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/61515127-9ae2-4864-bc68-14e08df8ce3b?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -255,7 +259,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:07:55 GMT + - Fri, 14 May 2021 05:23:41 GMT expires: - '-1' pragma: @@ -272,7 +276,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 6dd5a769-fe2c-47a3-bf23-f9b2dbf3fc1f + - 791692dc-7bec-4884-8009-779f8ca894ac status: code: 200 message: OK @@ -286,43 +290,43 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/vpnSites/vnpsite76dc116f?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/vpnSites/vnpsite76dc116f?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"vnpsite76dc116f\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/vpnSites/vnpsite76dc116f\"\ - ,\r\n \"etag\": \"W/\\\"933cecdb-8220-4cb8-bea7-c121e5e14212\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/vpnSites\",\r\n \"location\": \"westus\"\ - ,\r\n \"tags\": {\r\n \"key1\": \"value1\"\r\n },\r\n \"properties\"\ - : {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressSpace\":\ - \ {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n ]\r\ - \n },\r\n \"deviceProperties\": {\r\n \"linkSpeedInMbps\": 0\r\n\ - \ },\r\n \"virtualWan\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualWans/virtualwan76dc116f\"\ - \r\n },\r\n \"isSecuritySite\": false,\r\n \"o365Policy\": {\r\n\ - \ \"breakOutCategories\": {\r\n \"optimize\": false,\r\n \ - \ \"allow\": false,\r\n \"default\": false\r\n }\r\n },\r\ - \n \"vpnSiteLinks\": [\r\n {\r\n \"name\": \"vpnSiteLink1\"\ - ,\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/vpnSites/vnpsite76dc116f/vpnSiteLinks/vpnSiteLink1\"\ - ,\r\n \"etag\": \"W/\\\"933cecdb-8220-4cb8-bea7-c121e5e14212\\\"\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"ipAddress\": \"50.50.50.56\",\r\n \"bgpProperties\"\ - : {\r\n \"asn\": 1234,\r\n \"bgpPeeringAddress\": \"\ - 192.168.0.0\"\r\n },\r\n \"linkProperties\": {\r\n \ - \ \"linkProviderName\": \"vendor1\",\r\n \"linkSpeedInMbps\"\ - : 0\r\n }\r\n },\r\n \"type\": \"Microsoft.Network/vpnSites/vpnSiteLinks\"\ - \r\n }\r\n ]\r\n }\r\n}" + string: "{\r\n \"name\": \"vnpsite76dc116f\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/vpnSites/vnpsite76dc116f\",\r\n + \ \"etag\": \"W/\\\"98074de8-ec10-4a45-8adc-d588a3791a42\\\"\",\r\n \"type\": + \"Microsoft.Network/vpnSites\",\r\n \"location\": \"westus\",\r\n \"tags\": + {\r\n \"key1\": \"value1\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": + \"Succeeded\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n + \ \"10.0.0.0/16\"\r\n ]\r\n },\r\n \"deviceProperties\": + {\r\n \"linkSpeedInMbps\": 0\r\n },\r\n \"virtualWan\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualWans/virtualwan76dc116f\"\r\n + \ },\r\n \"isSecuritySite\": false,\r\n \"o365Policy\": {\r\n \"breakOutCategories\": + {\r\n \"optimize\": false,\r\n \"allow\": false,\r\n \"default\": + false\r\n }\r\n },\r\n \"vpnSiteLinks\": [\r\n {\r\n \"name\": + \"vpnSiteLink1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/vpnSites/vnpsite76dc116f/vpnSiteLinks/vpnSiteLink1\",\r\n + \ \"etag\": \"W/\\\"98074de8-ec10-4a45-8adc-d588a3791a42\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"ipAddress\": \"50.50.50.56\",\r\n \"bgpProperties\": + {\r\n \"asn\": 1234,\r\n \"bgpPeeringAddress\": \"192.168.0.0\"\r\n + \ },\r\n \"linkProperties\": {\r\n \"linkProviderName\": + \"vendor1\",\r\n \"linkSpeedInMbps\": 0\r\n }\r\n },\r\n + \ \"type\": \"Microsoft.Network/vpnSites/vpnSiteLinks\"\r\n }\r\n + \ ]\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '1851' + - '1866' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:07:55 GMT + - Fri, 14 May 2021 05:23:41 GMT etag: - - W/"933cecdb-8220-4cb8-bea7-c121e5e14212" + - W/"98074de8-ec10-4a45-8adc-d588a3791a42" expires: - '-1' pragma: @@ -339,7 +343,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - c0f45458-79a5-4992-81cd-436e627d3973 + - 11293e42-5ddd-4a1d-8d5a-7689e941ce5e status: code: 200 message: OK @@ -355,38 +359,39 @@ interactions: Connection: - keep-alive Content-Length: - - '344' + - '349' Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualHubs/virtualhubx76dc116f?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualHubs/virtualhubx76dc116f?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"virtualhubx76dc116f\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualHubs/virtualhubx76dc116f\"\ - ,\r\n \"etag\": \"W/\\\"4d89e276-af2b-4168-8e1f-2f188c29b1df\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/virtualHubs\",\r\n \"location\": \"westus\"\ - ,\r\n \"tags\": {\r\n \"key1\": \"value1\"\r\n },\r\n \"properties\"\ - : {\r\n \"provisioningState\": \"Updating\",\r\n \"virtualHubRouteTableV2s\"\ - : [],\r\n \"addressPrefix\": \"10.168.0.0/24\",\r\n \"virtualRouterAsn\"\ - : 0,\r\n \"virtualRouterIps\": [],\r\n \"routeTable\": {\r\n \"\ - routes\": []\r\n },\r\n \"virtualWan\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualWans/virtualwan76dc116f\"\ - \r\n },\r\n \"sku\": \"Basic\",\r\n \"routingState\": \"None\",\r\ - \n \"allowBranchToBranchTraffic\": false\r\n }\r\n}" + string: "{\r\n \"name\": \"virtualhubx76dc116f\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualHubs/virtualhubx76dc116f\",\r\n + \ \"etag\": \"W/\\\"bd9a6aa2-5a07-4c24-bfa6-d17e3ce6918e\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualHubs\",\r\n \"location\": \"westus\",\r\n \"tags\": + {\r\n \"key1\": \"value1\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": + \"Updating\",\r\n \"virtualHubRouteTableV2s\": [],\r\n \"addressPrefix\": + \"10.168.0.0/24\",\r\n \"virtualRouterAsn\": 0,\r\n \"virtualRouterIps\": + [],\r\n \"routeTable\": {\r\n \"routes\": []\r\n },\r\n \"virtualWan\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualWans/virtualwan76dc116f\"\r\n + \ },\r\n \"sku\": \"Basic\",\r\n \"routingState\": \"None\",\r\n \"allowBranchToBranchTraffic\": + false,\r\n \"preferredRoutingGateway\": \"ExpressRoute\"\r\n }\r\n}" headers: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/28c25652-04bc-4951-8021-7aa975575d3d?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/9a115063-f01b-4804-bb50-9c687f522821?api-version=2021-02-01 cache-control: - no-cache content-length: - - '1000' + - '1058' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:07:59 GMT + - Fri, 14 May 2021 05:23:41 GMT expires: - '-1' pragma: @@ -399,9 +404,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - fc8d4416-2b08-4ed9-9f3b-12e112583afe + - 37f398fd-a89b-4c0b-96cc-7b5e3fd549b7 x-ms-ratelimit-remaining-subscription-writes: - - '1194' + - '1193' status: code: 201 message: Created @@ -415,9 +420,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/28c25652-04bc-4951-8021-7aa975575d3d?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/9a115063-f01b-4804-bb50-9c687f522821?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -429,7 +435,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:08:09 GMT + - Fri, 14 May 2021 05:23:52 GMT expires: - '-1' pragma: @@ -446,7 +452,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 18cb5833-0b43-4e81-b30b-bece2a0f2c30 + - f101b513-0dcf-4ec2-8cee-b11c7893848d status: code: 200 message: OK @@ -460,9 +466,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/28c25652-04bc-4951-8021-7aa975575d3d?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/9a115063-f01b-4804-bb50-9c687f522821?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -474,7 +481,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:08:19 GMT + - Fri, 14 May 2021 05:24:02 GMT expires: - '-1' pragma: @@ -491,7 +498,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 3da1eca0-f496-4f1d-a8db-7275883f4ae0 + - b4e71fdc-79ce-41e3-9bde-9575e1af9241 status: code: 200 message: OK @@ -505,9 +512,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/28c25652-04bc-4951-8021-7aa975575d3d?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/9a115063-f01b-4804-bb50-9c687f522821?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -519,7 +527,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:08:39 GMT + - Fri, 14 May 2021 05:24:22 GMT expires: - '-1' pragma: @@ -536,7 +544,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - e8afc2ff-d597-4dea-915f-d6c7a5831e46 + - 95e9900f-fd04-4180-be97-777cbd45ce25 status: code: 200 message: OK @@ -550,9 +558,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/28c25652-04bc-4951-8021-7aa975575d3d?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/9a115063-f01b-4804-bb50-9c687f522821?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -564,7 +573,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:09:00 GMT + - Fri, 14 May 2021 05:24:42 GMT expires: - '-1' pragma: @@ -581,7 +590,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 7ca1f444-93f6-409f-9f24-ff876c26a987 + - fa81b40f-0878-4241-90dc-3a6cb7e9a2a9 status: code: 200 message: OK @@ -595,9 +604,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/28c25652-04bc-4951-8021-7aa975575d3d?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/9a115063-f01b-4804-bb50-9c687f522821?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -609,7 +619,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:09:41 GMT + - Fri, 14 May 2021 05:25:23 GMT expires: - '-1' pragma: @@ -626,7 +636,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 4f6e05bc-4c8f-456a-8a88-3b1a1bdd52c0 + - 024ff2c7-f2f0-4c60-9e83-e3fe36c50371 status: code: 200 message: OK @@ -640,9 +650,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/28c25652-04bc-4951-8021-7aa975575d3d?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/9a115063-f01b-4804-bb50-9c687f522821?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -654,7 +665,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:10:21 GMT + - Fri, 14 May 2021 05:26:02 GMT expires: - '-1' pragma: @@ -671,7 +682,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 561f567e-5a6f-448c-9d77-de5bbe057e14 + - 505d20ee-b13d-4fb6-967b-1f972084a1e0 status: code: 200 message: OK @@ -685,9 +696,56 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/28c25652-04bc-4951-8021-7aa975575d3d?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/9a115063-f01b-4804-bb50-9c687f522821?api-version=2021-02-01 + response: + body: + string: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '30' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 14 May 2021 05:27:23 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - eafcbd95-23f6-44e0-8b8a-88c889eb9950 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/9a115063-f01b-4804-bb50-9c687f522821?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -699,7 +757,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:11:41 GMT + - Fri, 14 May 2021 05:30:03 GMT expires: - '-1' pragma: @@ -716,7 +774,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 4c764484-1088-49d2-a5fd-a5220b3b3adb + - 2b00f5b0-484a-4d59-a8df-ccc7ba58c29f status: code: 200 message: OK @@ -730,30 +788,32 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualHubs/virtualhubx76dc116f?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualHubs/virtualhubx76dc116f?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"virtualhubx76dc116f\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualHubs/virtualhubx76dc116f\"\ - ,\r\n \"etag\": \"W/\\\"99f6f0d3-a0b0-4c46-8c93-836112969912\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/virtualHubs\",\r\n \"location\": \"westus\"\ - ,\r\n \"tags\": {\r\n \"key1\": \"value1\"\r\n },\r\n \"properties\"\ - : {\r\n \"provisioningState\": \"Succeeded\",\r\n \"virtualHubRouteTableV2s\"\ - : [],\r\n \"addressPrefix\": \"10.168.0.0/24\",\r\n \"virtualRouterAsn\"\ - : 0,\r\n \"virtualRouterIps\": [],\r\n \"routeTable\": {\r\n \"\ - routes\": []\r\n },\r\n \"virtualWan\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualWans/virtualwan76dc116f\"\ - \r\n },\r\n \"sku\": \"Basic\",\r\n \"routingState\": \"Provisioning\"\ - ,\r\n \"allowBranchToBranchTraffic\": false\r\n }\r\n}" + string: "{\r\n \"name\": \"virtualhubx76dc116f\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualHubs/virtualhubx76dc116f\",\r\n + \ \"etag\": \"W/\\\"572b1011-b235-46ca-aa80-4d292adc4fe6\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualHubs\",\r\n \"location\": \"westus\",\r\n \"tags\": + {\r\n \"key1\": \"value1\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": + \"Succeeded\",\r\n \"virtualHubRouteTableV2s\": [],\r\n \"addressPrefix\": + \"10.168.0.0/24\",\r\n \"virtualRouterAsn\": 0,\r\n \"virtualRouterIps\": + [],\r\n \"routeTable\": {\r\n \"routes\": []\r\n },\r\n \"virtualWan\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualWans/virtualwan76dc116f\"\r\n + \ },\r\n \"sku\": \"Basic\",\r\n \"routingState\": \"Provisioning\",\r\n + \ \"allowBranchToBranchTraffic\": false,\r\n \"preferredRoutingGateway\": + \"ExpressRoute\"\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '1009' + - '1067' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:11:41 GMT + - Fri, 14 May 2021 05:30:03 GMT expires: - '-1' pragma: @@ -770,7 +830,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 69e31529-c60d-4c74-a483-29195367b2f2 + - 7f07e437-45bd-43f1-b0d5-f42cf543419d status: code: 200 message: OK @@ -791,73 +851,67 @@ interactions: Connection: - keep-alive Content-Length: - - '1032' + - '1047' Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/vpnGateways/vpngateway76dc116f?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/vpnGateways/vpngateway76dc116f?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"vpngateway76dc116f\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/vpnGateways/vpngateway76dc116f\"\ - ,\r\n \"etag\": \"W/\\\"d85dd52f-2d7f-4599-b47d-64b6725d96ed\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/vpnGateways\",\r\n \"location\": \"westus\"\ - ,\r\n \"tags\": {\r\n \"key1\": \"value1\"\r\n },\r\n \"properties\"\ - : {\r\n \"provisioningState\": \"Updating\",\r\n \"connections\": [\r\ - \n {\r\n \"name\": \"vpnConnection1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/vpnGateways/vpngateway76dc116f/vpnConnections/vpnConnection1\"\ - ,\r\n \"etag\": \"W/\\\"d85dd52f-2d7f-4599-b47d-64b6725d96ed\\\"\"\ - ,\r\n \"type\": \"Microsoft.Network/vpnGateways/vpnConnections\",\r\ - \n \"properties\": {\r\n \"provisioningState\": \"Updating\"\ - ,\r\n \"routingConfiguration\": {\r\n \"associatedRouteTable\"\ - : {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualHubs/virtualhubx76dc116f/hubRouteTables/defaultRouteTable\"\ - \r\n },\r\n \"propagatedRouteTables\": {\r\n \ - \ \"labels\": [\r\n \"default\"\r\n ],\r\ - \n \"ids\": [\r\n {\r\n \"id\"\ - : \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualHubs/virtualhubx76dc116f/hubRouteTables/defaultRouteTable\"\ - \r\n }\r\n ]\r\n },\r\n \ - \ \"vnetRoutes\": {\r\n \"staticRoutes\": []\r\n }\r\ - \n },\r\n \"enableInternetSecurity\": false,\r\n \ - \ \"remoteVpnSite\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/vpnSites/vnpsite76dc116f\"\ - \r\n },\r\n \"vpnLinkConnections\": [\r\n {\r\ - \n \"name\": \"Connection-Link1\",\r\n \"id\": \"\ - /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/vpnGateways/vpngateway76dc116f/vpnConnections/vpnConnection1/vpnLinkConnections/Connection-Link1\"\ - ,\r\n \"etag\": \"W/\\\"d85dd52f-2d7f-4599-b47d-64b6725d96ed\\\ - \"\",\r\n \"properties\": {\r\n \"provisioningState\"\ - : \"Updating\",\r\n \"vpnSiteLink\": {\r\n \ - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/vpnSites/vnpsite76dc116f/vpnSiteLinks/vpnSiteLink1\"\ - \r\n },\r\n \"connectionBandwidth\": 200,\r\n\ - \ \"ipsecPolicies\": [],\r\n \"vpnConnectionProtocolType\"\ - : \"IKEv2\",\r\n \"sharedKey\": \"key\",\r\n \ - \ \"ingressBytesTransferred\": 0,\r\n \"egressBytesTransferred\"\ - : 0,\r\n \"packetCaptureDiagnosticState\": \"None\",\r\n \ - \ \"enableBgp\": false,\r\n \"enableRateLimiting\"\ - : false,\r\n \"useLocalAzureIpAddress\": false,\r\n \ - \ \"usePolicyBasedTrafficSelectors\": false,\r\n \"\ - routingWeight\": 0,\r\n \"dpdTimeoutSeconds\": 0,\r\n \ - \ \"vpnLinkConnectionMode\": \"Default\"\r\n },\r\n\ - \ \"type\": \"Microsoft.Network/vpnGateways/vpnConnections/vpnLinkConnections\"\ - \r\n }\r\n ],\r\n \"ingressBytesTransferred\"\ - : 0,\r\n \"egressBytesTransferred\": 0\r\n }\r\n }\r\n\ - \ ],\r\n \"virtualHub\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualHubs/virtualhubx76dc116f\"\ - \r\n },\r\n \"bgpSettings\": {\r\n \"asn\": 65515,\r\n \"\ - peerWeight\": 0\r\n },\r\n \"vpnGatewayScaleUnit\": 1,\r\n \"packetCaptureDiagnosticState\"\ - : \"None\",\r\n \"ipConfigurations\": [],\r\n \"natRules\": [],\r\n\ - \ \"enableBgpRouteTranslationForNat\": false,\r\n \"isRoutingPreferenceInternet\"\ - : false\r\n }\r\n}" + string: "{\r\n \"name\": \"vpngateway76dc116f\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/vpnGateways/vpngateway76dc116f\",\r\n + \ \"etag\": \"W/\\\"5d71c61c-a43b-4115-911a-51f9a741bc58\\\"\",\r\n \"type\": + \"Microsoft.Network/vpnGateways\",\r\n \"location\": \"westus\",\r\n \"tags\": + {\r\n \"key1\": \"value1\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": + \"Updating\",\r\n \"connections\": [\r\n {\r\n \"name\": \"vpnConnection1\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/vpnGateways/vpngateway76dc116f/vpnConnections/vpnConnection1\",\r\n + \ \"etag\": \"W/\\\"5d71c61c-a43b-4115-911a-51f9a741bc58\\\"\",\r\n + \ \"type\": \"Microsoft.Network/vpnGateways/vpnConnections\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Updating\",\r\n \"routingConfiguration\": + {\r\n \"associatedRouteTable\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualHubs/virtualhubx76dc116f/hubRouteTables/defaultRouteTable\"\r\n + \ },\r\n \"propagatedRouteTables\": {\r\n \"labels\": + [\r\n \"default\"\r\n ],\r\n \"ids\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualHubs/virtualhubx76dc116f/hubRouteTables/defaultRouteTable\"\r\n + \ }\r\n ]\r\n },\r\n \"vnetRoutes\": + {\r\n \"staticRoutes\": []\r\n }\r\n },\r\n + \ \"enableInternetSecurity\": false,\r\n \"remoteVpnSite\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/vpnSites/vnpsite76dc116f\"\r\n + \ },\r\n \"vpnLinkConnections\": [\r\n {\r\n \"name\": + \"Connection-Link1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/vpnGateways/vpngateway76dc116f/vpnConnections/vpnConnection1/vpnLinkConnections/Connection-Link1\",\r\n + \ \"etag\": \"W/\\\"5d71c61c-a43b-4115-911a-51f9a741bc58\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": + \"Updating\",\r\n \"vpnSiteLink\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/vpnSites/vnpsite76dc116f/vpnSiteLinks/vpnSiteLink1\"\r\n + \ },\r\n \"connectionBandwidth\": 200,\r\n \"ipsecPolicies\": + [],\r\n \"vpnConnectionProtocolType\": \"IKEv2\",\r\n \"sharedKey\": + \"key\",\r\n \"ingressBytesTransferred\": 0,\r\n \"egressBytesTransferred\": + 0,\r\n \"packetCaptureDiagnosticState\": \"None\",\r\n \"enableBgp\": + false,\r\n \"enableRateLimiting\": false,\r\n \"useLocalAzureIpAddress\": + false,\r\n \"usePolicyBasedTrafficSelectors\": false,\r\n \"routingWeight\": + 0,\r\n \"dpdTimeoutSeconds\": 0,\r\n \"vpnLinkConnectionMode\": + \"Default\"\r\n },\r\n \"type\": \"Microsoft.Network/vpnGateways/vpnConnections/vpnLinkConnections\"\r\n + \ }\r\n ],\r\n \"ingressBytesTransferred\": 0,\r\n + \ \"egressBytesTransferred\": 0\r\n }\r\n }\r\n ],\r\n + \ \"virtualHub\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualHubs/virtualhubx76dc116f\"\r\n + \ },\r\n \"bgpSettings\": {\r\n \"asn\": 65515,\r\n \"peerWeight\": + 0\r\n },\r\n \"vpnGatewayScaleUnit\": 1,\r\n \"packetCaptureDiagnosticState\": + \"None\",\r\n \"ipConfigurations\": [],\r\n \"natRules\": [],\r\n \"enableBgpRouteTranslationForNat\": + false,\r\n \"isRoutingPreferenceInternet\": false\r\n }\r\n}" headers: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/19fbddf4-3893-4e16-96c9-6f6f2154ee32?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/57008c36-a1a2-4146-9d0f-6904093fb51b?api-version=2021-02-01 cache-control: - no-cache content-length: - - '4475' + - '4515' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:11:49 GMT + - Fri, 14 May 2021 05:30:03 GMT expires: - '-1' pragma: @@ -870,7 +924,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 0dff2cf6-de07-45b6-905d-7075fdf52883 + - 5b9c12d3-f60d-41e8-a74b-2fa72f5a9b58 x-ms-ratelimit-remaining-subscription-writes: - '1193' status: @@ -886,9 +940,56 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/57008c36-a1a2-4146-9d0f-6904093fb51b?api-version=2021-02-01 + response: + body: + string: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '30' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 14 May 2021 05:30:13 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 185d8754-5781-434d-87b0-4a5208a07049 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/19fbddf4-3893-4e16-96c9-6f6f2154ee32?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/57008c36-a1a2-4146-9d0f-6904093fb51b?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -900,7 +1001,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:11:59 GMT + - Fri, 14 May 2021 05:30:24 GMT expires: - '-1' pragma: @@ -917,7 +1018,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 39e6dfa5-409a-4131-81de-44c1d0044dfe + - 61467d55-c08d-4cbf-9a04-66d2ac02cade status: code: 200 message: OK @@ -931,9 +1032,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/19fbddf4-3893-4e16-96c9-6f6f2154ee32?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/57008c36-a1a2-4146-9d0f-6904093fb51b?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -945,7 +1047,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:12:09 GMT + - Fri, 14 May 2021 05:30:44 GMT expires: - '-1' pragma: @@ -962,7 +1064,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 4558e985-0579-4867-b504-ec055a6f4d1f + - bc26842b-46b3-474c-a220-0b5c52aac97b status: code: 200 message: OK @@ -976,9 +1078,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/19fbddf4-3893-4e16-96c9-6f6f2154ee32?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/57008c36-a1a2-4146-9d0f-6904093fb51b?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -990,7 +1093,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:12:30 GMT + - Fri, 14 May 2021 05:31:04 GMT expires: - '-1' pragma: @@ -1007,7 +1110,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 8cf4dd79-2154-4de4-a63a-323d1920d0cc + - a5253945-9f02-4c51-a4d9-d406aea5bcfa status: code: 200 message: OK @@ -1021,9 +1124,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/19fbddf4-3893-4e16-96c9-6f6f2154ee32?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/57008c36-a1a2-4146-9d0f-6904093fb51b?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1035,7 +1139,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:12:51 GMT + - Fri, 14 May 2021 05:31:44 GMT expires: - '-1' pragma: @@ -1052,7 +1156,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 35b017c4-808d-42ab-a44c-98b47491c4c9 + - 648d2f2a-f2ac-4f72-916b-c88e884db5fe status: code: 200 message: OK @@ -1066,9 +1170,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/19fbddf4-3893-4e16-96c9-6f6f2154ee32?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/57008c36-a1a2-4146-9d0f-6904093fb51b?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1080,7 +1185,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:13:32 GMT + - Fri, 14 May 2021 05:32:24 GMT expires: - '-1' pragma: @@ -1097,7 +1202,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 0cfb4ad7-971b-44cf-837f-fb0ecce47ad2 + - 9bda86f5-4503-40b9-841c-09838312740f status: code: 200 message: OK @@ -1111,9 +1216,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/19fbddf4-3893-4e16-96c9-6f6f2154ee32?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/57008c36-a1a2-4146-9d0f-6904093fb51b?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1125,7 +1231,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:14:12 GMT + - Fri, 14 May 2021 05:33:44 GMT expires: - '-1' pragma: @@ -1142,7 +1248,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 8a0b2978-9535-455b-8862-d5f3cf2e3d5f + - efebddbb-c725-4945-baae-ef524f35004a status: code: 200 message: OK @@ -1156,9 +1262,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/19fbddf4-3893-4e16-96c9-6f6f2154ee32?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/57008c36-a1a2-4146-9d0f-6904093fb51b?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1170,7 +1277,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:15:33 GMT + - Fri, 14 May 2021 05:36:25 GMT expires: - '-1' pragma: @@ -1187,7 +1294,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - cd8b361d-6489-40e9-9321-5d97141e269a + - b94411d3-9d75-431f-b1de-acc1dd428b16 status: code: 200 message: OK @@ -1201,9 +1308,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/19fbddf4-3893-4e16-96c9-6f6f2154ee32?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/57008c36-a1a2-4146-9d0f-6904093fb51b?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1215,7 +1323,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:18:13 GMT + - Fri, 14 May 2021 05:38:06 GMT expires: - '-1' pragma: @@ -1232,7 +1340,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - bfef9608-8139-4c45-9d57-9966a0a7f6de + - 466f03c9-bf5d-4231-8bb0-679e45b06fc3 status: code: 200 message: OK @@ -1246,9 +1354,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/19fbddf4-3893-4e16-96c9-6f6f2154ee32?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/57008c36-a1a2-4146-9d0f-6904093fb51b?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1260,7 +1369,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:19:54 GMT + - Fri, 14 May 2021 05:39:46 GMT expires: - '-1' pragma: @@ -1277,7 +1386,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 3300f2fc-526d-4222-9733-b17a3bd5ffab + - a0379322-8510-4766-8a69-4be9344e600f status: code: 200 message: OK @@ -1291,9 +1400,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/19fbddf4-3893-4e16-96c9-6f6f2154ee32?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/57008c36-a1a2-4146-9d0f-6904093fb51b?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1305,7 +1415,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:21:34 GMT + - Fri, 14 May 2021 05:41:26 GMT expires: - '-1' pragma: @@ -1322,7 +1432,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 02e27710-f902-4b8a-8f29-8277c0d291a1 + - 76edcb8b-e125-4fe2-b34d-da88c7c8e465 status: code: 200 message: OK @@ -1336,9 +1446,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/19fbddf4-3893-4e16-96c9-6f6f2154ee32?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/57008c36-a1a2-4146-9d0f-6904093fb51b?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1350,7 +1461,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:23:14 GMT + - Fri, 14 May 2021 05:43:06 GMT expires: - '-1' pragma: @@ -1367,7 +1478,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 94c84f39-fbec-4d78-a5c8-ca49049903a0 + - 47086e63-f22d-4b65-bf17-77fbae381c9b status: code: 200 message: OK @@ -1381,9 +1492,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/19fbddf4-3893-4e16-96c9-6f6f2154ee32?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/57008c36-a1a2-4146-9d0f-6904093fb51b?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1395,7 +1507,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:24:55 GMT + - Fri, 14 May 2021 05:44:46 GMT expires: - '-1' pragma: @@ -1412,7 +1524,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - cc87a1d2-9bf7-4a09-9ce1-977c3099cc9b + - 93e9d8fe-9969-4495-83d8-96d3ebdb8a67 status: code: 200 message: OK @@ -1426,9 +1538,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/19fbddf4-3893-4e16-96c9-6f6f2154ee32?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/57008c36-a1a2-4146-9d0f-6904093fb51b?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1440,7 +1553,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:26:35 GMT + - Fri, 14 May 2021 05:46:26 GMT expires: - '-1' pragma: @@ -1457,7 +1570,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 6abf9ae9-4f67-47a3-af01-93a7c27eb25d + - 4c949290-383e-4e15-bf07-5e3537fd2006 status: code: 200 message: OK @@ -1471,9 +1584,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/19fbddf4-3893-4e16-96c9-6f6f2154ee32?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/57008c36-a1a2-4146-9d0f-6904093fb51b?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1485,7 +1599,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:28:16 GMT + - Fri, 14 May 2021 05:48:06 GMT expires: - '-1' pragma: @@ -1502,7 +1616,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - eb6da83e-22d9-4a40-b441-0290b1751658 + - 0cbc32d2-b4f1-4283-b805-2e8a4863ced1 status: code: 200 message: OK @@ -1516,9 +1630,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/19fbddf4-3893-4e16-96c9-6f6f2154ee32?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/57008c36-a1a2-4146-9d0f-6904093fb51b?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1530,7 +1645,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:29:56 GMT + - Fri, 14 May 2021 05:49:47 GMT expires: - '-1' pragma: @@ -1547,7 +1662,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 2887b800-095f-4c46-8501-2b54042a3476 + - 9a205033-db6b-401f-a130-c53a093b40de status: code: 200 message: OK @@ -1561,9 +1676,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/19fbddf4-3893-4e16-96c9-6f6f2154ee32?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/57008c36-a1a2-4146-9d0f-6904093fb51b?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1575,7 +1691,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:31:37 GMT + - Fri, 14 May 2021 05:51:27 GMT expires: - '-1' pragma: @@ -1592,7 +1708,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - a34165e3-83c5-4954-af87-ccd351afef5d + - 5bad418e-deab-4f20-bb06-317cdb2b1c43 status: code: 200 message: OK @@ -1606,9 +1722,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/19fbddf4-3893-4e16-96c9-6f6f2154ee32?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/57008c36-a1a2-4146-9d0f-6904093fb51b?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1620,7 +1737,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:33:17 GMT + - Fri, 14 May 2021 05:53:08 GMT expires: - '-1' pragma: @@ -1637,7 +1754,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - e6a6a931-1b0c-4185-82bd-83fcec926e93 + - 7156f442-7ccf-437f-9ca0-a1dc0baaf96a status: code: 200 message: OK @@ -1651,9 +1768,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/19fbddf4-3893-4e16-96c9-6f6f2154ee32?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/57008c36-a1a2-4146-9d0f-6904093fb51b?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1665,7 +1783,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:34:57 GMT + - Fri, 14 May 2021 05:54:47 GMT expires: - '-1' pragma: @@ -1682,7 +1800,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 60a714c3-b514-4d99-a83f-9388f15aaff7 + - 79e75019-f7c0-4932-9702-201371aec061 status: code: 200 message: OK @@ -1696,9 +1814,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/19fbddf4-3893-4e16-96c9-6f6f2154ee32?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/57008c36-a1a2-4146-9d0f-6904093fb51b?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1710,7 +1829,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:36:37 GMT + - Fri, 14 May 2021 05:56:28 GMT expires: - '-1' pragma: @@ -1727,7 +1846,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 0b2b8f34-6c50-4c02-9570-67f1f5a9cf6a + - 5ee1c8ef-36d1-4286-8faf-0e97f89c7e76 status: code: 200 message: OK @@ -1741,9 +1860,102 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/19fbddf4-3893-4e16-96c9-6f6f2154ee32?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/57008c36-a1a2-4146-9d0f-6904093fb51b?api-version=2021-02-01 + response: + body: + string: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '30' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 14 May 2021 05:58:08 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 35bd2f56-9753-499a-9345-403ebcfcc6c9 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/57008c36-a1a2-4146-9d0f-6904093fb51b?api-version=2021-02-01 + response: + body: + string: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '30' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 14 May 2021 05:59:48 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 8d5d2779-c8cb-4137-8f84-0a2dad0e42b2 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/57008c36-a1a2-4146-9d0f-6904093fb51b?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -1755,7 +1967,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:38:18 GMT + - Fri, 14 May 2021 06:01:28 GMT expires: - '-1' pragma: @@ -1772,7 +1984,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 4a6caa06-ec4c-4f7e-a111-e8f416e16e97 + - 4e5ca08c-034b-43f3-81eb-1ec78ff7e235 status: code: 200 message: OK @@ -1786,78 +1998,71 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/vpnGateways/vpngateway76dc116f?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/vpnGateways/vpngateway76dc116f?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"vpngateway76dc116f\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/vpnGateways/vpngateway76dc116f\"\ - ,\r\n \"etag\": \"W/\\\"67121867-c6ac-4b30-9488-f70628be47f1\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/vpnGateways\",\r\n \"location\": \"westus\"\ - ,\r\n \"tags\": {\r\n \"key1\": \"value1\"\r\n },\r\n \"properties\"\ - : {\r\n \"provisioningState\": \"Succeeded\",\r\n \"connections\": [\r\ - \n {\r\n \"name\": \"vpnConnection1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/vpnGateways/vpngateway76dc116f/vpnConnections/vpnConnection1\"\ - ,\r\n \"etag\": \"W/\\\"67121867-c6ac-4b30-9488-f70628be47f1\\\"\"\ - ,\r\n \"type\": \"Microsoft.Network/vpnGateways/vpnConnections\",\r\ - \n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"routingConfiguration\": {\r\n \"associatedRouteTable\"\ - : {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualHubs/virtualhubx76dc116f/hubRouteTables/defaultRouteTable\"\ - \r\n },\r\n \"propagatedRouteTables\": {\r\n \ - \ \"labels\": [\r\n \"default\"\r\n ],\r\ - \n \"ids\": [\r\n {\r\n \"id\"\ - : \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualHubs/virtualhubx76dc116f/hubRouteTables/defaultRouteTable\"\ - \r\n }\r\n ]\r\n },\r\n \ - \ \"vnetRoutes\": {\r\n \"staticRoutes\": []\r\n }\r\ - \n },\r\n \"enableInternetSecurity\": false,\r\n \ - \ \"remoteVpnSite\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/vpnSites/vnpsite76dc116f\"\ - \r\n },\r\n \"vpnLinkConnections\": [\r\n {\r\ - \n \"name\": \"Connection-Link1\",\r\n \"id\": \"\ - /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/vpnGateways/vpngateway76dc116f/vpnConnections/vpnConnection1/vpnLinkConnections/Connection-Link1\"\ - ,\r\n \"etag\": \"W/\\\"67121867-c6ac-4b30-9488-f70628be47f1\\\ - \"\",\r\n \"properties\": {\r\n \"provisioningState\"\ - : \"Succeeded\",\r\n \"vpnSiteLink\": {\r\n \ - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/vpnSites/vnpsite76dc116f/vpnSiteLinks/vpnSiteLink1\"\ - \r\n },\r\n \"connectionBandwidth\": 200,\r\n\ - \ \"ipsecPolicies\": [],\r\n \"vpnConnectionProtocolType\"\ - : \"IKEv2\",\r\n \"sharedKey\": \"key\",\r\n \ - \ \"ingressBytesTransferred\": 0,\r\n \"egressBytesTransferred\"\ - : 0,\r\n \"packetCaptureDiagnosticState\": \"None\",\r\n \ - \ \"enableBgp\": false,\r\n \"enableRateLimiting\"\ - : false,\r\n \"useLocalAzureIpAddress\": false,\r\n \ - \ \"usePolicyBasedTrafficSelectors\": false,\r\n \"\ - routingWeight\": 0,\r\n \"dpdTimeoutSeconds\": 0,\r\n \ - \ \"vpnLinkConnectionMode\": \"Default\"\r\n },\r\n\ - \ \"type\": \"Microsoft.Network/vpnGateways/vpnConnections/vpnLinkConnections\"\ - \r\n }\r\n ],\r\n \"ingressBytesTransferred\"\ - : 0,\r\n \"egressBytesTransferred\": 0\r\n }\r\n }\r\n\ - \ ],\r\n \"virtualHub\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualHubs/virtualhubx76dc116f\"\ - \r\n },\r\n \"bgpSettings\": {\r\n \"asn\": 65515,\r\n \"\ - peerWeight\": 0,\r\n \"bgpPeeringAddresses\": [\r\n {\r\n \ - \ \"ipconfigurationId\": \"Instance0\",\r\n \"defaultBgpIpAddresses\"\ - : [\r\n \"10.168.0.13\"\r\n ],\r\n \"customBgpIpAddresses\"\ - : [],\r\n \"tunnelIpAddresses\": [\r\n \"138.91.185.122\"\ - ,\r\n \"10.168.0.4\"\r\n ]\r\n },\r\n {\r\ - \n \"ipconfigurationId\": \"Instance1\",\r\n \"defaultBgpIpAddresses\"\ - : [\r\n \"10.168.0.12\"\r\n ],\r\n \"customBgpIpAddresses\"\ - : [],\r\n \"tunnelIpAddresses\": [\r\n \"138.91.185.72\"\ - ,\r\n \"10.168.0.5\"\r\n ]\r\n }\r\n ]\r\n\ - \ },\r\n \"vpnGatewayScaleUnit\": 1,\r\n \"packetCaptureDiagnosticState\"\ - : \"None\",\r\n \"ipConfigurations\": [\r\n {\r\n \"id\": \"\ - Instance0\",\r\n \"publicIpAddress\": \"138.91.185.122\",\r\n \ - \ \"privateIpAddress\": \"10.168.0.4\"\r\n },\r\n {\r\n \ - \ \"id\": \"Instance1\",\r\n \"publicIpAddress\": \"138.91.185.72\"\ - ,\r\n \"privateIpAddress\": \"10.168.0.5\"\r\n }\r\n ],\r\n\ - \ \"natRules\": [],\r\n \"enableBgpRouteTranslationForNat\": false,\r\ - \n \"isRoutingPreferenceInternet\": false\r\n }\r\n}" + string: "{\r\n \"name\": \"vpngateway76dc116f\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/vpnGateways/vpngateway76dc116f\",\r\n + \ \"etag\": \"W/\\\"c2ba71bc-1b2d-45c6-8a44-6b692f676be7\\\"\",\r\n \"type\": + \"Microsoft.Network/vpnGateways\",\r\n \"location\": \"westus\",\r\n \"tags\": + {\r\n \"key1\": \"value1\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": + \"Succeeded\",\r\n \"connections\": [\r\n {\r\n \"name\": \"vpnConnection1\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/vpnGateways/vpngateway76dc116f/vpnConnections/vpnConnection1\",\r\n + \ \"etag\": \"W/\\\"c2ba71bc-1b2d-45c6-8a44-6b692f676be7\\\"\",\r\n + \ \"type\": \"Microsoft.Network/vpnGateways/vpnConnections\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"routingConfiguration\": + {\r\n \"associatedRouteTable\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualHubs/virtualhubx76dc116f/hubRouteTables/defaultRouteTable\"\r\n + \ },\r\n \"propagatedRouteTables\": {\r\n \"labels\": + [\r\n \"default\"\r\n ],\r\n \"ids\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualHubs/virtualhubx76dc116f/hubRouteTables/defaultRouteTable\"\r\n + \ }\r\n ]\r\n },\r\n \"vnetRoutes\": + {\r\n \"staticRoutes\": []\r\n }\r\n },\r\n + \ \"enableInternetSecurity\": false,\r\n \"remoteVpnSite\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/vpnSites/vnpsite76dc116f\"\r\n + \ },\r\n \"vpnLinkConnections\": [\r\n {\r\n \"name\": + \"Connection-Link1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/vpnGateways/vpngateway76dc116f/vpnConnections/vpnConnection1/vpnLinkConnections/Connection-Link1\",\r\n + \ \"etag\": \"W/\\\"c2ba71bc-1b2d-45c6-8a44-6b692f676be7\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": + \"Succeeded\",\r\n \"vpnSiteLink\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/vpnSites/vnpsite76dc116f/vpnSiteLinks/vpnSiteLink1\"\r\n + \ },\r\n \"connectionBandwidth\": 200,\r\n \"ipsecPolicies\": + [],\r\n \"vpnConnectionProtocolType\": \"IKEv2\",\r\n \"sharedKey\": + \"key\",\r\n \"ingressBytesTransferred\": 0,\r\n \"egressBytesTransferred\": + 0,\r\n \"packetCaptureDiagnosticState\": \"None\",\r\n \"enableBgp\": + false,\r\n \"enableRateLimiting\": false,\r\n \"useLocalAzureIpAddress\": + false,\r\n \"usePolicyBasedTrafficSelectors\": false,\r\n \"routingWeight\": + 0,\r\n \"dpdTimeoutSeconds\": 0,\r\n \"vpnLinkConnectionMode\": + \"Default\"\r\n },\r\n \"type\": \"Microsoft.Network/vpnGateways/vpnConnections/vpnLinkConnections\"\r\n + \ }\r\n ],\r\n \"ingressBytesTransferred\": 0,\r\n + \ \"egressBytesTransferred\": 0\r\n }\r\n }\r\n ],\r\n + \ \"virtualHub\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualHubs/virtualhubx76dc116f\"\r\n + \ },\r\n \"bgpSettings\": {\r\n \"asn\": 65515,\r\n \"peerWeight\": + 0,\r\n \"bgpPeeringAddresses\": [\r\n {\r\n \"ipconfigurationId\": + \"Instance0\",\r\n \"defaultBgpIpAddresses\": [\r\n \"10.168.0.13\"\r\n + \ ],\r\n \"customBgpIpAddresses\": [],\r\n \"tunnelIpAddresses\": + [\r\n \"13.91.123.227\",\r\n \"10.168.0.4\"\r\n ]\r\n + \ },\r\n {\r\n \"ipconfigurationId\": \"Instance1\",\r\n + \ \"defaultBgpIpAddresses\": [\r\n \"10.168.0.12\"\r\n + \ ],\r\n \"customBgpIpAddresses\": [],\r\n \"tunnelIpAddresses\": + [\r\n \"13.91.123.31\",\r\n \"10.168.0.5\"\r\n ]\r\n + \ }\r\n ]\r\n },\r\n \"vpnGatewayScaleUnit\": 1,\r\n \"packetCaptureDiagnosticState\": + \"None\",\r\n \"ipConfigurations\": [\r\n {\r\n \"id\": \"Instance0\",\r\n + \ \"publicIpAddress\": \"13.91.123.227\",\r\n \"privateIpAddress\": + \"10.168.0.4\"\r\n },\r\n {\r\n \"id\": \"Instance1\",\r\n + \ \"publicIpAddress\": \"13.91.123.31\",\r\n \"privateIpAddress\": + \"10.168.0.5\"\r\n }\r\n ],\r\n \"natRules\": [],\r\n \"enableBgpRouteTranslationForNat\": + false,\r\n \"isRoutingPreferenceInternet\": false\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '5372' + - '5408' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:38:18 GMT + - Fri, 14 May 2021 06:01:28 GMT expires: - '-1' pragma: @@ -1874,7 +2079,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - ac5c433d-459b-4185-bf5a-9e9f707ffb83 + - fe8a132b-20f4-427d-a380-021401b491ab status: code: 200 message: OK @@ -1889,36 +2094,37 @@ interactions: Connection: - keep-alive Content-Length: - - '330' + - '335' Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/securityPartnerProviders/mySecurityPartnerProvider76dc116f?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/securityPartnerProviders/mySecurityPartnerProvider76dc116f?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"mySecurityPartnerProvider76dc116f\",\r\n \"id\"\ - : \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/securityPartnerProviders/mySecurityPartnerProvider76dc116f\"\ - ,\r\n \"etag\": \"W/\\\"247e65d3-d66a-4870-913a-ad55a90531d8\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/securityPartnerProviders\",\r\n \"location\"\ - : \"westus\",\r\n \"tags\": {\r\n \"key1\": \"value1\"\r\n },\r\n \"\ - properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"securityProviderName\"\ - : \"ZScaler\",\r\n \"virtualHub\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualHubs/virtualhubx76dc116f\"\ - \r\n }\r\n }\r\n}" + string: "{\r\n \"name\": \"mySecurityPartnerProvider76dc116f\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/securityPartnerProviders/mySecurityPartnerProvider76dc116f\",\r\n + \ \"etag\": \"W/\\\"f73e7c34-3fbe-44df-9f01-2a1c33774668\\\"\",\r\n \"type\": + \"Microsoft.Network/securityPartnerProviders\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {\r\n \"key1\": \"value1\"\r\n },\r\n \"properties\": {\r\n + \ \"provisioningState\": \"Updating\",\r\n \"securityProviderName\": + \"ZScaler\",\r\n \"virtualHub\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualHubs/virtualhubx76dc116f\"\r\n + \ }\r\n }\r\n}" headers: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/53b7e02c-1bb6-478f-b032-c037d24962be?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/cdb4f66f-8d93-4f57-b3a4-c644b723e37b?api-version=2021-02-01 cache-control: - no-cache content-length: - - '822' + - '832' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:38:26 GMT + - Fri, 14 May 2021 06:01:29 GMT expires: - '-1' pragma: @@ -1931,9 +2137,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - e13ab576-39f2-430e-ac2d-bf63c6e99e29 + - 954f0e5a-ed80-4108-a3d5-04221f8a25d5 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1194' status: code: 201 message: Created @@ -1947,9 +2153,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/53b7e02c-1bb6-478f-b032-c037d24962be?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/cdb4f66f-8d93-4f57-b3a4-c644b723e37b?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -1961,7 +2168,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:38:36 GMT + - Fri, 14 May 2021 06:01:40 GMT expires: - '-1' pragma: @@ -1978,7 +2185,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - ba17090a-1184-4f75-8cbe-b4448ee45d4c + - bbf3c8f3-1e96-479b-89b1-76b0e288bd15 status: code: 200 message: OK @@ -1992,28 +2199,29 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/securityPartnerProviders/mySecurityPartnerProvider76dc116f?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/securityPartnerProviders/mySecurityPartnerProvider76dc116f?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"mySecurityPartnerProvider76dc116f\",\r\n \"id\"\ - : \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/securityPartnerProviders/mySecurityPartnerProvider76dc116f\"\ - ,\r\n \"etag\": \"W/\\\"0bcaddff-dc17-4b42-8913-bc4b7b123782\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/securityPartnerProviders\",\r\n \"location\"\ - : \"westus\",\r\n \"tags\": {\r\n \"key1\": \"value1\"\r\n },\r\n \"\ - properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"securityProviderName\"\ - : \"ZScaler\",\r\n \"virtualHub\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualHubs/virtualhubx76dc116f\"\ - \r\n }\r\n }\r\n}" + string: "{\r\n \"name\": \"mySecurityPartnerProvider76dc116f\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/securityPartnerProviders/mySecurityPartnerProvider76dc116f\",\r\n + \ \"etag\": \"W/\\\"b09ed64d-a8f4-4f72-8a22-a15c1ac45da5\\\"\",\r\n \"type\": + \"Microsoft.Network/securityPartnerProviders\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {\r\n \"key1\": \"value1\"\r\n },\r\n \"properties\": {\r\n + \ \"provisioningState\": \"Succeeded\",\r\n \"securityProviderName\": + \"ZScaler\",\r\n \"virtualHub\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualHubs/virtualhubx76dc116f\"\r\n + \ }\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '823' + - '833' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:38:37 GMT + - Fri, 14 May 2021 06:01:40 GMT expires: - '-1' pragma: @@ -2030,7 +2238,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 58430cb4-f352-4e48-9e24-90412b266f68 + - 490985e4-420e-43a2-9489-cf5e82d3fc45 status: code: 200 message: OK @@ -2044,34 +2252,35 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualHubs/virtualhubx76dc116f?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualHubs/virtualhubx76dc116f?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"virtualhubx76dc116f\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualHubs/virtualhubx76dc116f\"\ - ,\r\n \"etag\": \"W/\\\"0ce6ff2a-ac09-4164-b4f8-38dc8d9d0935\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/virtualHubs\",\r\n \"location\": \"westus\"\ - ,\r\n \"tags\": {\r\n \"key1\": \"value1\"\r\n },\r\n \"properties\"\ - : {\r\n \"provisioningState\": \"Succeeded\",\r\n \"virtualHubRouteTableV2s\"\ - : [],\r\n \"addressPrefix\": \"10.168.0.0/24\",\r\n \"virtualRouterAsn\"\ - : 65515,\r\n \"virtualRouterIps\": [\r\n \"10.168.0.68\",\r\n \ - \ \"10.168.0.69\"\r\n ],\r\n \"routeTable\": {\r\n \"routes\"\ - : []\r\n },\r\n \"securityProviderName\": \"zscaler\",\r\n \"virtualWan\"\ - : {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualWans/virtualwan76dc116f\"\ - \r\n },\r\n \"vpnGateway\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/vpnGateways/vpngateway76dc116f\"\ - \r\n },\r\n \"securityPartnerProvider\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/securityPartnerProviders/mySecurityPartnerProvider76dc116f\"\ - \r\n },\r\n \"sku\": \"Basic\",\r\n \"routingState\": \"Provisioned\"\ - ,\r\n \"allowBranchToBranchTraffic\": false\r\n }\r\n}" + string: "{\r\n \"name\": \"virtualhubx76dc116f\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualHubs/virtualhubx76dc116f\",\r\n + \ \"etag\": \"W/\\\"71ef308f-ce3d-4ac3-963a-32787645fb6e\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualHubs\",\r\n \"location\": \"westus\",\r\n \"tags\": + {\r\n \"key1\": \"value1\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": + \"Succeeded\",\r\n \"virtualHubRouteTableV2s\": [],\r\n \"addressPrefix\": + \"10.168.0.0/24\",\r\n \"virtualRouterAsn\": 65515,\r\n \"virtualRouterIps\": + [\r\n \"10.168.0.68\",\r\n \"10.168.0.69\"\r\n ],\r\n \"routeTable\": + {\r\n \"routes\": []\r\n },\r\n \"securityProviderName\": \"zscaler\",\r\n + \ \"virtualWan\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualWans/virtualwan76dc116f\"\r\n + \ },\r\n \"vpnGateway\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/vpnGateways/vpngateway76dc116f\"\r\n + \ },\r\n \"securityPartnerProvider\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/securityPartnerProviders/mySecurityPartnerProvider76dc116f\"\r\n + \ },\r\n \"sku\": \"Basic\",\r\n \"routingState\": \"Provisioned\",\r\n + \ \"allowBranchToBranchTraffic\": false,\r\n \"preferredRoutingGateway\": + \"ExpressRoute\"\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '1634' + - '1702' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:38:37 GMT + - Fri, 14 May 2021 06:01:40 GMT expires: - '-1' pragma: @@ -2088,7 +2297,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 03ea1235-a13a-41e1-8fb4-23eede195099 + - 753b0407-ebb3-4715-90e9-f21ac77a5063 status: code: 200 message: OK @@ -2102,78 +2311,71 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/vpnGateways/vpngateway76dc116f?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/vpnGateways/vpngateway76dc116f?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"vpngateway76dc116f\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/vpnGateways/vpngateway76dc116f\"\ - ,\r\n \"etag\": \"W/\\\"67121867-c6ac-4b30-9488-f70628be47f1\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/vpnGateways\",\r\n \"location\": \"westus\"\ - ,\r\n \"tags\": {\r\n \"key1\": \"value1\"\r\n },\r\n \"properties\"\ - : {\r\n \"provisioningState\": \"Succeeded\",\r\n \"connections\": [\r\ - \n {\r\n \"name\": \"vpnConnection1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/vpnGateways/vpngateway76dc116f/vpnConnections/vpnConnection1\"\ - ,\r\n \"etag\": \"W/\\\"67121867-c6ac-4b30-9488-f70628be47f1\\\"\"\ - ,\r\n \"type\": \"Microsoft.Network/vpnGateways/vpnConnections\",\r\ - \n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"routingConfiguration\": {\r\n \"associatedRouteTable\"\ - : {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualHubs/virtualhubx76dc116f/hubRouteTables/defaultRouteTable\"\ - \r\n },\r\n \"propagatedRouteTables\": {\r\n \ - \ \"labels\": [\r\n \"default\"\r\n ],\r\ - \n \"ids\": [\r\n {\r\n \"id\"\ - : \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualHubs/virtualhubx76dc116f/hubRouteTables/defaultRouteTable\"\ - \r\n }\r\n ]\r\n },\r\n \ - \ \"vnetRoutes\": {\r\n \"staticRoutes\": []\r\n }\r\ - \n },\r\n \"enableInternetSecurity\": false,\r\n \ - \ \"remoteVpnSite\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/vpnSites/vnpsite76dc116f\"\ - \r\n },\r\n \"vpnLinkConnections\": [\r\n {\r\ - \n \"name\": \"Connection-Link1\",\r\n \"id\": \"\ - /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/vpnGateways/vpngateway76dc116f/vpnConnections/vpnConnection1/vpnLinkConnections/Connection-Link1\"\ - ,\r\n \"etag\": \"W/\\\"67121867-c6ac-4b30-9488-f70628be47f1\\\ - \"\",\r\n \"properties\": {\r\n \"provisioningState\"\ - : \"Succeeded\",\r\n \"vpnSiteLink\": {\r\n \ - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/vpnSites/vnpsite76dc116f/vpnSiteLinks/vpnSiteLink1\"\ - \r\n },\r\n \"connectionBandwidth\": 200,\r\n\ - \ \"ipsecPolicies\": [],\r\n \"vpnConnectionProtocolType\"\ - : \"IKEv2\",\r\n \"sharedKey\": \"key\",\r\n \ - \ \"ingressBytesTransferred\": 0,\r\n \"egressBytesTransferred\"\ - : 0,\r\n \"packetCaptureDiagnosticState\": \"None\",\r\n \ - \ \"enableBgp\": false,\r\n \"enableRateLimiting\"\ - : false,\r\n \"useLocalAzureIpAddress\": false,\r\n \ - \ \"usePolicyBasedTrafficSelectors\": false,\r\n \"\ - routingWeight\": 0,\r\n \"dpdTimeoutSeconds\": 0,\r\n \ - \ \"vpnLinkConnectionMode\": \"Default\"\r\n },\r\n\ - \ \"type\": \"Microsoft.Network/vpnGateways/vpnConnections/vpnLinkConnections\"\ - \r\n }\r\n ],\r\n \"ingressBytesTransferred\"\ - : 0,\r\n \"egressBytesTransferred\": 0\r\n }\r\n }\r\n\ - \ ],\r\n \"virtualHub\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualHubs/virtualhubx76dc116f\"\ - \r\n },\r\n \"bgpSettings\": {\r\n \"asn\": 65515,\r\n \"\ - peerWeight\": 0,\r\n \"bgpPeeringAddresses\": [\r\n {\r\n \ - \ \"ipconfigurationId\": \"Instance0\",\r\n \"defaultBgpIpAddresses\"\ - : [\r\n \"10.168.0.13\"\r\n ],\r\n \"customBgpIpAddresses\"\ - : [],\r\n \"tunnelIpAddresses\": [\r\n \"138.91.185.122\"\ - ,\r\n \"10.168.0.4\"\r\n ]\r\n },\r\n {\r\ - \n \"ipconfigurationId\": \"Instance1\",\r\n \"defaultBgpIpAddresses\"\ - : [\r\n \"10.168.0.12\"\r\n ],\r\n \"customBgpIpAddresses\"\ - : [],\r\n \"tunnelIpAddresses\": [\r\n \"138.91.185.72\"\ - ,\r\n \"10.168.0.5\"\r\n ]\r\n }\r\n ]\r\n\ - \ },\r\n \"vpnGatewayScaleUnit\": 1,\r\n \"packetCaptureDiagnosticState\"\ - : \"None\",\r\n \"ipConfigurations\": [\r\n {\r\n \"id\": \"\ - Instance0\",\r\n \"publicIpAddress\": \"138.91.185.122\",\r\n \ - \ \"privateIpAddress\": \"10.168.0.4\"\r\n },\r\n {\r\n \ - \ \"id\": \"Instance1\",\r\n \"publicIpAddress\": \"138.91.185.72\"\ - ,\r\n \"privateIpAddress\": \"10.168.0.5\"\r\n }\r\n ],\r\n\ - \ \"natRules\": [],\r\n \"enableBgpRouteTranslationForNat\": false,\r\ - \n \"isRoutingPreferenceInternet\": false\r\n }\r\n}" + string: "{\r\n \"name\": \"vpngateway76dc116f\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/vpnGateways/vpngateway76dc116f\",\r\n + \ \"etag\": \"W/\\\"c2ba71bc-1b2d-45c6-8a44-6b692f676be7\\\"\",\r\n \"type\": + \"Microsoft.Network/vpnGateways\",\r\n \"location\": \"westus\",\r\n \"tags\": + {\r\n \"key1\": \"value1\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": + \"Succeeded\",\r\n \"connections\": [\r\n {\r\n \"name\": \"vpnConnection1\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/vpnGateways/vpngateway76dc116f/vpnConnections/vpnConnection1\",\r\n + \ \"etag\": \"W/\\\"c2ba71bc-1b2d-45c6-8a44-6b692f676be7\\\"\",\r\n + \ \"type\": \"Microsoft.Network/vpnGateways/vpnConnections\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"routingConfiguration\": + {\r\n \"associatedRouteTable\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualHubs/virtualhubx76dc116f/hubRouteTables/defaultRouteTable\"\r\n + \ },\r\n \"propagatedRouteTables\": {\r\n \"labels\": + [\r\n \"default\"\r\n ],\r\n \"ids\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualHubs/virtualhubx76dc116f/hubRouteTables/defaultRouteTable\"\r\n + \ }\r\n ]\r\n },\r\n \"vnetRoutes\": + {\r\n \"staticRoutes\": []\r\n }\r\n },\r\n + \ \"enableInternetSecurity\": false,\r\n \"remoteVpnSite\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/vpnSites/vnpsite76dc116f\"\r\n + \ },\r\n \"vpnLinkConnections\": [\r\n {\r\n \"name\": + \"Connection-Link1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/vpnGateways/vpngateway76dc116f/vpnConnections/vpnConnection1/vpnLinkConnections/Connection-Link1\",\r\n + \ \"etag\": \"W/\\\"c2ba71bc-1b2d-45c6-8a44-6b692f676be7\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": + \"Succeeded\",\r\n \"vpnSiteLink\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/vpnSites/vnpsite76dc116f/vpnSiteLinks/vpnSiteLink1\"\r\n + \ },\r\n \"connectionBandwidth\": 200,\r\n \"ipsecPolicies\": + [],\r\n \"vpnConnectionProtocolType\": \"IKEv2\",\r\n \"sharedKey\": + \"key\",\r\n \"ingressBytesTransferred\": 0,\r\n \"egressBytesTransferred\": + 0,\r\n \"packetCaptureDiagnosticState\": \"None\",\r\n \"enableBgp\": + false,\r\n \"enableRateLimiting\": false,\r\n \"useLocalAzureIpAddress\": + false,\r\n \"usePolicyBasedTrafficSelectors\": false,\r\n \"routingWeight\": + 0,\r\n \"dpdTimeoutSeconds\": 0,\r\n \"vpnLinkConnectionMode\": + \"Default\"\r\n },\r\n \"type\": \"Microsoft.Network/vpnGateways/vpnConnections/vpnLinkConnections\"\r\n + \ }\r\n ],\r\n \"ingressBytesTransferred\": 0,\r\n + \ \"egressBytesTransferred\": 0\r\n }\r\n }\r\n ],\r\n + \ \"virtualHub\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualHubs/virtualhubx76dc116f\"\r\n + \ },\r\n \"bgpSettings\": {\r\n \"asn\": 65515,\r\n \"peerWeight\": + 0,\r\n \"bgpPeeringAddresses\": [\r\n {\r\n \"ipconfigurationId\": + \"Instance0\",\r\n \"defaultBgpIpAddresses\": [\r\n \"10.168.0.13\"\r\n + \ ],\r\n \"customBgpIpAddresses\": [],\r\n \"tunnelIpAddresses\": + [\r\n \"13.91.123.227\",\r\n \"10.168.0.4\"\r\n ]\r\n + \ },\r\n {\r\n \"ipconfigurationId\": \"Instance1\",\r\n + \ \"defaultBgpIpAddresses\": [\r\n \"10.168.0.12\"\r\n + \ ],\r\n \"customBgpIpAddresses\": [],\r\n \"tunnelIpAddresses\": + [\r\n \"13.91.123.31\",\r\n \"10.168.0.5\"\r\n ]\r\n + \ }\r\n ]\r\n },\r\n \"vpnGatewayScaleUnit\": 1,\r\n \"packetCaptureDiagnosticState\": + \"None\",\r\n \"ipConfigurations\": [\r\n {\r\n \"id\": \"Instance0\",\r\n + \ \"publicIpAddress\": \"13.91.123.227\",\r\n \"privateIpAddress\": + \"10.168.0.4\"\r\n },\r\n {\r\n \"id\": \"Instance1\",\r\n + \ \"publicIpAddress\": \"13.91.123.31\",\r\n \"privateIpAddress\": + \"10.168.0.5\"\r\n }\r\n ],\r\n \"natRules\": [],\r\n \"enableBgpRouteTranslationForNat\": + false,\r\n \"isRoutingPreferenceInternet\": false\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '5372' + - '5408' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:38:37 GMT + - Fri, 14 May 2021 06:01:40 GMT expires: - '-1' pragma: @@ -2190,7 +2392,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 9e8e6374-33a5-4c7b-afe7-1fb00aa5dc07 + - ad744791-ebbe-4074-a74a-83ccaf115ee1 status: code: 200 message: OK @@ -2204,33 +2406,32 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualWans/virtualwan76dc116f?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualWans/virtualwan76dc116f?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"virtualwan76dc116f\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualWans/virtualwan76dc116f\"\ - ,\r\n \"etag\": \"W/\\\"571524fd-8272-4787-a133-85cf407da951\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/virtualWans\",\r\n \"location\": \"westus\"\ - ,\r\n \"tags\": {\r\n \"key1\": \"value1\"\r\n },\r\n \"properties\"\ - : {\r\n \"provisioningState\": \"Succeeded\",\r\n \"disableVpnEncryption\"\ - : false,\r\n \"allowBranchToBranchTraffic\": true,\r\n \"office365LocalBreakoutCategory\"\ - : \"None\",\r\n \"type\": \"Basic\",\r\n \"virtualHubs\": [\r\n \ - \ {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualHubs/virtualhubx76dc116f\"\ - \r\n }\r\n ],\r\n \"vpnSites\": [\r\n {\r\n \"id\"\ - : \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/vpnSites/vnpsite76dc116f\"\ - \r\n }\r\n ]\r\n }\r\n}" + string: "{\r\n \"name\": \"virtualwan76dc116f\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualWans/virtualwan76dc116f\",\r\n + \ \"etag\": \"W/\\\"6156e936-a2ce-4831-a019-1aec5707c9c2\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualWans\",\r\n \"location\": \"westus\",\r\n \"tags\": + {\r\n \"key1\": \"value1\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": + \"Succeeded\",\r\n \"disableVpnEncryption\": false,\r\n \"allowBranchToBranchTraffic\": + true,\r\n \"office365LocalBreakoutCategory\": \"None\",\r\n \"type\": + \"Basic\",\r\n \"virtualHubs\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualHubs/virtualhubx76dc116f\"\r\n + \ }\r\n ],\r\n \"vpnSites\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/vpnSites/vnpsite76dc116f\"\r\n + \ }\r\n ]\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '1152' + - '1167' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:38:37 GMT + - Fri, 14 May 2021 06:01:40 GMT etag: - - W/"571524fd-8272-4787-a133-85cf407da951" + - W/"6156e936-a2ce-4831-a019-1aec5707c9c2" expires: - '-1' pragma: @@ -2247,7 +2448,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 6f5bccc7-583c-475b-9916-e6c28ace40b3 + - 4e6b1f28-ff06-4f4c-8a2e-697ca87727c6 status: code: 200 message: OK @@ -2261,30 +2462,30 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/vpnSites/vnpsite76dc116f/vpnSiteLinks/vpnSiteLink1?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/vpnSites/vnpsite76dc116f/vpnSiteLinks/vpnSiteLink1?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"vpnSiteLink1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/vpnSites/vnpsite76dc116f/vpnSiteLinks/vpnSiteLink1\"\ - ,\r\n \"etag\": \"W/\\\"933cecdb-8220-4cb8-bea7-c121e5e14212\\\"\",\r\n \ - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\ - ipAddress\": \"50.50.50.56\",\r\n \"bgpProperties\": {\r\n \"asn\"\ - : 1234,\r\n \"bgpPeeringAddress\": \"192.168.0.0\"\r\n },\r\n \"\ - linkProperties\": {\r\n \"linkProviderName\": \"vendor1\",\r\n \"\ - linkSpeedInMbps\": 0\r\n }\r\n },\r\n \"type\": \"Microsoft.Network/vpnSites/vpnSiteLinks\"\ - \r\n}" + string: "{\r\n \"name\": \"vpnSiteLink1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/vpnSites/vnpsite76dc116f/vpnSiteLinks/vpnSiteLink1\",\r\n + \ \"etag\": \"W/\\\"98074de8-ec10-4a45-8adc-d588a3791a42\\\"\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"ipAddress\": \"50.50.50.56\",\r\n + \ \"bgpProperties\": {\r\n \"asn\": 1234,\r\n \"bgpPeeringAddress\": + \"192.168.0.0\"\r\n },\r\n \"linkProperties\": {\r\n \"linkProviderName\": + \"vendor1\",\r\n \"linkSpeedInMbps\": 0\r\n }\r\n },\r\n \"type\": + \"Microsoft.Network/vpnSites/vpnSiteLinks\"\r\n}" headers: cache-control: - no-cache content-length: - - '664' + - '669' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:38:38 GMT + - Fri, 14 May 2021 06:01:40 GMT etag: - - W/"933cecdb-8220-4cb8-bea7-c121e5e14212" + - W/"98074de8-ec10-4a45-8adc-d588a3791a42" expires: - '-1' pragma: @@ -2301,7 +2502,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 6c6948e2-b246-41a1-9e95-bdda74ad3fb3 + - 3f18fd95-4c6d-4e57-9cdc-7b09d939b0c6 status: code: 200 message: OK @@ -2315,28 +2516,29 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/securityPartnerProviders/mySecurityPartnerProvider76dc116f?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/securityPartnerProviders/mySecurityPartnerProvider76dc116f?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"mySecurityPartnerProvider76dc116f\",\r\n \"id\"\ - : \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/securityPartnerProviders/mySecurityPartnerProvider76dc116f\"\ - ,\r\n \"etag\": \"W/\\\"873a6255-6d37-4007-a072-b743f81929b3\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/securityPartnerProviders\",\r\n \"location\"\ - : \"westus\",\r\n \"tags\": {\r\n \"key1\": \"value1\"\r\n },\r\n \"\ - properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"securityProviderName\"\ - : \"ZScaler\",\r\n \"virtualHub\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualHubs/virtualhubx76dc116f\"\ - \r\n }\r\n }\r\n}" + string: "{\r\n \"name\": \"mySecurityPartnerProvider76dc116f\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/securityPartnerProviders/mySecurityPartnerProvider76dc116f\",\r\n + \ \"etag\": \"W/\\\"11aebcfd-ea26-4749-beb4-2bc23652ccbc\\\"\",\r\n \"type\": + \"Microsoft.Network/securityPartnerProviders\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {\r\n \"key1\": \"value1\"\r\n },\r\n \"properties\": {\r\n + \ \"provisioningState\": \"Succeeded\",\r\n \"securityProviderName\": + \"ZScaler\",\r\n \"virtualHub\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualHubs/virtualhubx76dc116f\"\r\n + \ }\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '823' + - '833' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:38:38 GMT + - Fri, 14 May 2021 06:01:40 GMT expires: - '-1' pragma: @@ -2353,7 +2555,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - bc0ac63f-5870-4670-9904-ef8a47403ff6 + - 714116e8-44ae-4fcc-9582-3f2f607f5b03 status: code: 200 message: OK @@ -2369,25 +2571,26 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/vpnGateways/vpngateway76dc116f/reset?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/vpnGateways/vpngateway76dc116f/reset?api-version=2021-02-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/956785cf-5c70-41b6-9c0e-8b23e63034f8?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/485e4c0c-6d92-439e-a546-c54c05ba6389?api-version=2021-02-01 cache-control: - no-cache content-length: - '0' date: - - Tue, 09 Mar 2021 06:38:38 GMT + - Fri, 14 May 2021 06:01:41 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/956785cf-5c70-41b6-9c0e-8b23e63034f8?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/485e4c0c-6d92-439e-a546-c54c05ba6389?api-version=2021-02-01 pragma: - no-cache server: @@ -2398,7 +2601,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - b38c2896-edc3-4546-bf98-eacd57a79dae + - ae907b7e-8091-4c32-b245-838fdb7234a4 x-ms-ratelimit-remaining-subscription-writes: - '1199' status: @@ -2414,9 +2617,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/956785cf-5c70-41b6-9c0e-8b23e63034f8?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/485e4c0c-6d92-439e-a546-c54c05ba6389?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -2428,7 +2632,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:38:49 GMT + - Fri, 14 May 2021 06:01:50 GMT expires: - '-1' pragma: @@ -2445,7 +2649,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 29faebdf-4ac2-4add-a976-b87264431a0c + - 12cebc8b-b242-4783-9b0d-65da4fc91a18 status: code: 200 message: OK @@ -2459,9 +2663,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/956785cf-5c70-41b6-9c0e-8b23e63034f8?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/485e4c0c-6d92-439e-a546-c54c05ba6389?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -2473,7 +2678,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:38:59 GMT + - Fri, 14 May 2021 06:02:00 GMT expires: - '-1' pragma: @@ -2490,7 +2695,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 1fce6f73-7d64-4164-9436-94d123a2bef9 + - 83b92153-219f-4543-9792-a29ca3886950 status: code: 200 message: OK @@ -2504,9 +2709,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/956785cf-5c70-41b6-9c0e-8b23e63034f8?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/485e4c0c-6d92-439e-a546-c54c05ba6389?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -2518,7 +2724,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:39:19 GMT + - Fri, 14 May 2021 06:02:20 GMT expires: - '-1' pragma: @@ -2535,7 +2741,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - c5d53eb2-94a1-4f7c-b851-5b949ba3e587 + - 8385c9f8-b155-484c-ae15-469e4473eb1c status: code: 200 message: OK @@ -2549,9 +2755,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/956785cf-5c70-41b6-9c0e-8b23e63034f8?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/485e4c0c-6d92-439e-a546-c54c05ba6389?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -2563,7 +2770,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:39:59 GMT + - Fri, 14 May 2021 06:03:01 GMT expires: - '-1' pragma: @@ -2580,7 +2787,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 67b5e5a8-7187-4827-b520-d3cb6b8de08e + - 76c858c2-7bbf-44a8-9a37-8f3403613d5c status: code: 200 message: OK @@ -2594,9 +2801,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/956785cf-5c70-41b6-9c0e-8b23e63034f8?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/485e4c0c-6d92-439e-a546-c54c05ba6389?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -2608,7 +2816,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:41:20 GMT + - Fri, 14 May 2021 06:04:21 GMT expires: - '-1' pragma: @@ -2625,7 +2833,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - c3aa71a7-4fa2-4fdc-a412-14113b98592a + - a7002a9e-34d7-432d-9c36-ecd0a540296d status: code: 200 message: OK @@ -2639,9 +2847,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/956785cf-5c70-41b6-9c0e-8b23e63034f8?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/485e4c0c-6d92-439e-a546-c54c05ba6389?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -2653,7 +2862,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:44:02 GMT + - Fri, 14 May 2021 06:07:01 GMT expires: - '-1' pragma: @@ -2670,7 +2879,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - fc189907-d911-4198-8538-92c315757d44 + - cab39c29-59ef-4fa9-ac84-baffc8417755 status: code: 200 message: OK @@ -2684,9 +2893,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/956785cf-5c70-41b6-9c0e-8b23e63034f8?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/485e4c0c-6d92-439e-a546-c54c05ba6389?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -2698,7 +2908,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:45:42 GMT + - Fri, 14 May 2021 06:08:41 GMT expires: - '-1' pragma: @@ -2715,7 +2925,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 8a68a83b-164b-4cad-867a-be3ffdf3f5af + - 286916b2-d8a4-4d52-a6ef-7fce66bbc83d status: code: 200 message: OK @@ -2729,9 +2939,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/956785cf-5c70-41b6-9c0e-8b23e63034f8?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/485e4c0c-6d92-439e-a546-c54c05ba6389?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -2743,7 +2954,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:47:23 GMT + - Fri, 14 May 2021 06:10:22 GMT expires: - '-1' pragma: @@ -2760,7 +2971,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 7073ddda-230c-40fa-9f32-f87888f03a3b + - c9251434-167d-407b-968e-9cb0e1326324 status: code: 200 message: OK @@ -2774,9 +2985,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/956785cf-5c70-41b6-9c0e-8b23e63034f8?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/485e4c0c-6d92-439e-a546-c54c05ba6389?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -2788,7 +3000,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:49:03 GMT + - Fri, 14 May 2021 06:12:02 GMT expires: - '-1' pragma: @@ -2805,7 +3017,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - c21500be-07da-42ba-bb27-7d4114795768 + - 88cb3d92-0b7d-4748-81c5-02c9709ac0b4 status: code: 200 message: OK @@ -2819,9 +3031,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/956785cf-5c70-41b6-9c0e-8b23e63034f8?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/485e4c0c-6d92-439e-a546-c54c05ba6389?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -2833,7 +3046,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:50:43 GMT + - Fri, 14 May 2021 06:13:42 GMT expires: - '-1' pragma: @@ -2850,7 +3063,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 0a487ae5-36be-4f8f-939e-66fc05e7f95a + - f6add6df-0395-4d3d-9a2e-193194175fa1 status: code: 200 message: OK @@ -2864,9 +3077,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/956785cf-5c70-41b6-9c0e-8b23e63034f8?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/485e4c0c-6d92-439e-a546-c54c05ba6389?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -2878,7 +3092,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:52:23 GMT + - Fri, 14 May 2021 06:15:22 GMT expires: - '-1' pragma: @@ -2895,7 +3109,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 95cb479a-6fa8-40b3-8656-e96e4e3c6613 + - 59f18a7f-0d4e-467a-ace0-18555739efeb status: code: 200 message: OK @@ -2909,9 +3123,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/956785cf-5c70-41b6-9c0e-8b23e63034f8?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/485e4c0c-6d92-439e-a546-c54c05ba6389?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -2923,7 +3138,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:54:04 GMT + - Fri, 14 May 2021 06:17:02 GMT expires: - '-1' pragma: @@ -2940,7 +3155,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 7c1209ce-37c7-4c9a-9162-6100ed64a72c + - f0b95c3e-4829-4fa2-8809-8925df67666b status: code: 200 message: OK @@ -2954,9 +3169,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/956785cf-5c70-41b6-9c0e-8b23e63034f8?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/485e4c0c-6d92-439e-a546-c54c05ba6389?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\",\r\n \"properties\": {}\r\n}" @@ -2968,7 +3184,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:55:45 GMT + - Fri, 14 May 2021 06:18:43 GMT expires: - '-1' pragma: @@ -2985,7 +3201,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - d2a5dbdd-a81b-491e-8d14-f29d3f7e180d + - 9edb6f97-cfe5-49b5-b005-ce313e5a45cc status: code: 200 message: OK @@ -2999,15 +3215,16 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/956785cf-5c70-41b6-9c0e-8b23e63034f8?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/485e4c0c-6d92-439e-a546-c54c05ba6389?api-version=2021-02-01 response: body: string: 'null' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/956785cf-5c70-41b6-9c0e-8b23e63034f8?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/485e4c0c-6d92-439e-a546-c54c05ba6389?api-version=2021-02-01 cache-control: - no-cache content-length: @@ -3015,11 +3232,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:55:46 GMT + - Fri, 14 May 2021 06:18:43 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/956785cf-5c70-41b6-9c0e-8b23e63034f8?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/485e4c0c-6d92-439e-a546-c54c05ba6389?api-version=2021-02-01 pragma: - no-cache server: @@ -3034,7 +3251,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - b38c2896-edc3-4546-bf98-eacd57a79dae + - ae907b7e-8091-4c32-b245-838fdb7234a4 status: code: 200 message: OK @@ -3052,36 +3269,37 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualHubs/virtualhubx76dc116f?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualHubs/virtualhubx76dc116f?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"virtualhubx76dc116f\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualHubs/virtualhubx76dc116f\"\ - ,\r\n \"etag\": \"W/\\\"1d61737e-bda3-4c4b-bbc8-bc9b8868f345\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/virtualHubs\",\r\n \"location\": \"westus\"\ - ,\r\n \"tags\": {\r\n \"key1\": \"value1\",\r\n \"key2\": \"value2\"\ - \r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\"\ - ,\r\n \"virtualHubRouteTableV2s\": [],\r\n \"addressPrefix\": \"10.168.0.0/24\"\ - ,\r\n \"virtualRouterAsn\": 65515,\r\n \"virtualRouterIps\": [\r\n \ - \ \"10.168.0.68\",\r\n \"10.168.0.69\"\r\n ],\r\n \"routeTable\"\ - : {\r\n \"routes\": []\r\n },\r\n \"securityProviderName\": \"\ - zscaler\",\r\n \"virtualWan\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualWans/virtualwan76dc116f\"\ - \r\n },\r\n \"vpnGateway\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/vpnGateways/vpngateway76dc116f\"\ - \r\n },\r\n \"securityPartnerProvider\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/securityPartnerProviders/mySecurityPartnerProvider76dc116f\"\ - \r\n },\r\n \"sku\": \"Basic\",\r\n \"routingState\": \"Provisioned\"\ - ,\r\n \"allowBranchToBranchTraffic\": false\r\n }\r\n}" + string: "{\r\n \"name\": \"virtualhubx76dc116f\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualHubs/virtualhubx76dc116f\",\r\n + \ \"etag\": \"W/\\\"18f616af-fe88-4c08-95cf-14d87c1bde0e\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualHubs\",\r\n \"location\": \"westus\",\r\n \"tags\": + {\r\n \"key1\": \"value1\",\r\n \"key2\": \"value2\"\r\n },\r\n \"properties\": + {\r\n \"provisioningState\": \"Updating\",\r\n \"virtualHubRouteTableV2s\": + [],\r\n \"addressPrefix\": \"10.168.0.0/24\",\r\n \"virtualRouterAsn\": + 65515,\r\n \"virtualRouterIps\": [\r\n \"10.168.0.68\",\r\n \"10.168.0.69\"\r\n + \ ],\r\n \"routeTable\": {\r\n \"routes\": []\r\n },\r\n \"securityProviderName\": + \"zscaler\",\r\n \"virtualWan\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualWans/virtualwan76dc116f\"\r\n + \ },\r\n \"vpnGateway\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/vpnGateways/vpngateway76dc116f\"\r\n + \ },\r\n \"securityPartnerProvider\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/securityPartnerProviders/mySecurityPartnerProvider76dc116f\"\r\n + \ },\r\n \"sku\": \"Basic\",\r\n \"routingState\": \"Provisioned\",\r\n + \ \"allowBranchToBranchTraffic\": false,\r\n \"preferredRoutingGateway\": + \"ExpressRoute\"\r\n }\r\n}" headers: azure-asyncnotification: - Enabled cache-control: - no-cache content-length: - - '1656' + - '1724' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:55:51 GMT + - Fri, 14 May 2021 06:18:43 GMT expires: - '-1' pragma: @@ -3098,9 +3316,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 83489a53-dc63-461b-baf1-0440e36f4b59 + - f0ed2c48-82a6-4a4c-ad47-08acdf569d69 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1194' status: code: 200 message: OK @@ -3118,33 +3336,33 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualWans/virtualwan76dc116f?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualWans/virtualwan76dc116f?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"virtualwan76dc116f\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualWans/virtualwan76dc116f\"\ - ,\r\n \"etag\": \"W/\\\"be2ad354-d874-4714-936e-9037f07b6c54\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/virtualWans\",\r\n \"location\": \"westus\"\ - ,\r\n \"tags\": {\r\n \"key1\": \"value1\",\r\n \"key2\": \"value2\"\ - \r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"disableVpnEncryption\": false,\r\n \"allowBranchToBranchTraffic\"\ - : true,\r\n \"office365LocalBreakoutCategory\": \"None\",\r\n \"type\"\ - : \"Basic\",\r\n \"virtualHubs\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualHubs/virtualhubx76dc116f\"\ - \r\n }\r\n ],\r\n \"vpnSites\": [\r\n {\r\n \"id\"\ - : \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/vpnSites/vnpsite76dc116f\"\ - \r\n }\r\n ]\r\n }\r\n}" + string: "{\r\n \"name\": \"virtualwan76dc116f\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualWans/virtualwan76dc116f\",\r\n + \ \"etag\": \"W/\\\"7f3a20f7-75fd-4472-ba1b-dbfeb09f3f7d\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualWans\",\r\n \"location\": \"westus\",\r\n \"tags\": + {\r\n \"key1\": \"value1\",\r\n \"key2\": \"value2\"\r\n },\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"disableVpnEncryption\": + false,\r\n \"allowBranchToBranchTraffic\": true,\r\n \"office365LocalBreakoutCategory\": + \"None\",\r\n \"type\": \"Basic\",\r\n \"virtualHubs\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualHubs/virtualhubx76dc116f\"\r\n + \ }\r\n ],\r\n \"vpnSites\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/vpnSites/vnpsite76dc116f\"\r\n + \ }\r\n ]\r\n }\r\n}" headers: azure-asyncnotification: - Enabled cache-control: - no-cache content-length: - - '1175' + - '1190' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:55:54 GMT + - Fri, 14 May 2021 06:18:44 GMT expires: - '-1' pragma: @@ -3161,9 +3379,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - d36d26d2-4e19-4916-8e30-8a146aea808d + - d051a99f-d49c-4b14-b5a1-94725176c9cc x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1193' status: code: 200 message: OK @@ -3181,44 +3399,43 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/vpnSites/vnpsite76dc116f?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/vpnSites/vnpsite76dc116f?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"vnpsite76dc116f\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/vpnSites/vnpsite76dc116f\"\ - ,\r\n \"etag\": \"W/\\\"aa777dce-5c90-4f75-bd03-eb53d10f1355\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/vpnSites\",\r\n \"location\": \"westus\"\ - ,\r\n \"tags\": {\r\n \"key1\": \"value1\",\r\n \"key2\": \"value2\"\ - \r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ - 10.0.0.0/16\"\r\n ]\r\n },\r\n \"deviceProperties\": {\r\n \ - \ \"linkSpeedInMbps\": 0\r\n },\r\n \"virtualWan\": {\r\n \"id\"\ - : \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualWans/virtualwan76dc116f\"\ - \r\n },\r\n \"isSecuritySite\": false,\r\n \"o365Policy\": {\r\n\ - \ \"breakOutCategories\": {\r\n \"optimize\": false,\r\n \ - \ \"allow\": false,\r\n \"default\": false\r\n }\r\n },\r\ - \n \"vpnSiteLinks\": [\r\n {\r\n \"name\": \"vpnSiteLink1\"\ - ,\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/vpnSites/vnpsite76dc116f/vpnSiteLinks/vpnSiteLink1\"\ - ,\r\n \"etag\": \"W/\\\"aa777dce-5c90-4f75-bd03-eb53d10f1355\\\"\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"ipAddress\": \"50.50.50.56\",\r\n \"bgpProperties\"\ - : {\r\n \"asn\": 1234,\r\n \"bgpPeeringAddress\": \"\ - 192.168.0.0\"\r\n },\r\n \"linkProperties\": {\r\n \ - \ \"linkProviderName\": \"vendor1\",\r\n \"linkSpeedInMbps\"\ - : 0\r\n }\r\n },\r\n \"type\": \"Microsoft.Network/vpnSites/vpnSiteLinks\"\ - \r\n }\r\n ]\r\n }\r\n}" + string: "{\r\n \"name\": \"vnpsite76dc116f\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/vpnSites/vnpsite76dc116f\",\r\n + \ \"etag\": \"W/\\\"cdbceb95-8281-4c8f-b3c3-2251b7f54aa9\\\"\",\r\n \"type\": + \"Microsoft.Network/vpnSites\",\r\n \"location\": \"westus\",\r\n \"tags\": + {\r\n \"key1\": \"value1\",\r\n \"key2\": \"value2\"\r\n },\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressSpace\": {\r\n + \ \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n ]\r\n },\r\n + \ \"deviceProperties\": {\r\n \"linkSpeedInMbps\": 0\r\n },\r\n + \ \"virtualWan\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualWans/virtualwan76dc116f\"\r\n + \ },\r\n \"isSecuritySite\": false,\r\n \"o365Policy\": {\r\n \"breakOutCategories\": + {\r\n \"optimize\": false,\r\n \"allow\": false,\r\n \"default\": + false\r\n }\r\n },\r\n \"vpnSiteLinks\": [\r\n {\r\n \"name\": + \"vpnSiteLink1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/vpnSites/vnpsite76dc116f/vpnSiteLinks/vpnSiteLink1\",\r\n + \ \"etag\": \"W/\\\"cdbceb95-8281-4c8f-b3c3-2251b7f54aa9\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"ipAddress\": \"50.50.50.56\",\r\n \"bgpProperties\": + {\r\n \"asn\": 1234,\r\n \"bgpPeeringAddress\": \"192.168.0.0\"\r\n + \ },\r\n \"linkProperties\": {\r\n \"linkProviderName\": + \"vendor1\",\r\n \"linkSpeedInMbps\": 0\r\n }\r\n },\r\n + \ \"type\": \"Microsoft.Network/vpnSites/vpnSiteLinks\"\r\n }\r\n + \ ]\r\n }\r\n}" headers: azure-asyncnotification: - Enabled cache-control: - no-cache content-length: - - '1874' + - '1889' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:55:57 GMT + - Fri, 14 May 2021 06:18:44 GMT expires: - '-1' pragma: @@ -3235,9 +3452,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 4e99f605-0b6d-4dd1-9e9e-e37c505d9fce + - 80df6cf1-2dd3-41af-aba5-8500edac07df x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1192' status: code: 200 message: OK @@ -3255,31 +3472,32 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/securityPartnerProviders/mySecurityPartnerProvider76dc116f?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/securityPartnerProviders/mySecurityPartnerProvider76dc116f?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"mySecurityPartnerProvider76dc116f\",\r\n \"id\"\ - : \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/securityPartnerProviders/mySecurityPartnerProvider76dc116f\"\ - ,\r\n \"etag\": \"W/\\\"f22eaaa5-dd32-43a7-8f6b-8071e7f381c0\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/securityPartnerProviders\",\r\n \"location\"\ - : \"westus\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\"\ - : \"value2\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Succeeded\",\r\n \"securityProviderName\": \"ZScaler\",\r\n \"virtualHub\"\ - : {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualHubs/virtualhubx76dc116f\"\ - \r\n }\r\n }\r\n}" + string: "{\r\n \"name\": \"mySecurityPartnerProvider76dc116f\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/securityPartnerProviders/mySecurityPartnerProvider76dc116f\",\r\n + \ \"etag\": \"W/\\\"70b00144-13f3-4ad4-bad6-af77138433b3\\\"\",\r\n \"type\": + \"Microsoft.Network/securityPartnerProviders\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"securityProviderName\": \"ZScaler\",\r\n \"virtualHub\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualHubs/virtualhubx76dc116f\"\r\n + \ }\r\n }\r\n}" headers: azure-asyncnotification: - Enabled cache-control: - no-cache content-length: - - '846' + - '856' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:55:59 GMT + - Fri, 14 May 2021 06:18:44 GMT expires: - '-1' pragma: @@ -3296,9 +3514,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - fb58aefb-6468-4519-9383-99fac8cb2e3b + - 14c67b5a-bce0-45ff-8746-d3a5671e2ecc x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1191' status: code: 200 message: OK @@ -3314,9 +3532,10 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/securityPartnerProviders/mySecurityPartnerProvider76dc116f?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/securityPartnerProviders/mySecurityPartnerProvider76dc116f?api-version=2021-02-01 response: body: string: '' @@ -3324,17 +3543,17 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/298ed4cd-bd5b-4ac8-ab93-13c65cc75588?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/f7d9b640-aeb5-4c51-b867-c8eab287e646?api-version=2021-02-01 cache-control: - no-cache content-length: - '0' date: - - Tue, 09 Mar 2021 06:56:00 GMT + - Fri, 14 May 2021 06:18:45 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/298ed4cd-bd5b-4ac8-ab93-13c65cc75588?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/f7d9b640-aeb5-4c51-b867-c8eab287e646?api-version=2021-02-01 pragma: - no-cache server: @@ -3345,9 +3564,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - d5a005a5-72e8-40b3-9701-401dd2106416 + - f9315518-a714-4a05-a60b-1b379a7312fd x-ms-ratelimit-remaining-subscription-deletes: - - '14999' + - '14996' status: code: 202 message: Accepted @@ -3361,9 +3580,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/298ed4cd-bd5b-4ac8-ab93-13c65cc75588?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/f7d9b640-aeb5-4c51-b867-c8eab287e646?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -3375,7 +3595,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:56:10 GMT + - Fri, 14 May 2021 06:18:55 GMT expires: - '-1' pragma: @@ -3392,7 +3612,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - a0c4dd9a-c63a-4642-9b78-b0daa0a91c1a + - 45deee29-6819-4dc9-a67e-2c9b29212517 status: code: 200 message: OK @@ -3408,9 +3628,10 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/vpnGateways/vpngateway76dc116f?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/vpnGateways/vpngateway76dc116f?api-version=2021-02-01 response: body: string: '' @@ -3418,17 +3639,17 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/95a70d86-c37a-46b2-8b54-b5e6cb2ba2fe?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/a613ef5f-6dcf-402d-aafb-2a7fb5ca96c1?api-version=2021-02-01 cache-control: - no-cache content-length: - '0' date: - - Tue, 09 Mar 2021 06:56:11 GMT + - Fri, 14 May 2021 06:18:55 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/95a70d86-c37a-46b2-8b54-b5e6cb2ba2fe?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/a613ef5f-6dcf-402d-aafb-2a7fb5ca96c1?api-version=2021-02-01 pragma: - no-cache server: @@ -3439,9 +3660,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - f8168e20-c70e-4499-a2f4-575f30b7f72f + - 4322a752-683c-48e5-a5cb-9750bc503c75 x-ms-ratelimit-remaining-subscription-deletes: - - '14998' + - '14995' status: code: 202 message: Accepted @@ -3455,9 +3676,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/95a70d86-c37a-46b2-8b54-b5e6cb2ba2fe?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/a613ef5f-6dcf-402d-aafb-2a7fb5ca96c1?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -3469,7 +3691,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:56:21 GMT + - Fri, 14 May 2021 06:19:06 GMT expires: - '-1' pragma: @@ -3486,7 +3708,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 98cbf899-d048-46ec-9486-49de2a5f7c54 + - ae3b792f-3048-4142-abde-4a601cdba8dd status: code: 200 message: OK @@ -3500,9 +3722,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/95a70d86-c37a-46b2-8b54-b5e6cb2ba2fe?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/a613ef5f-6dcf-402d-aafb-2a7fb5ca96c1?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -3514,7 +3737,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:56:31 GMT + - Fri, 14 May 2021 06:19:16 GMT expires: - '-1' pragma: @@ -3531,7 +3754,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 167ea370-a78c-4336-b967-62a1ec9c2709 + - 544a3892-52b1-4271-8d2a-1858688a5d4c status: code: 200 message: OK @@ -3545,9 +3768,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/95a70d86-c37a-46b2-8b54-b5e6cb2ba2fe?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/a613ef5f-6dcf-402d-aafb-2a7fb5ca96c1?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -3559,7 +3783,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:56:52 GMT + - Fri, 14 May 2021 06:19:36 GMT expires: - '-1' pragma: @@ -3576,7 +3800,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 30dc670f-a18d-4695-86a8-49483dc702fe + - 7cc769d2-31b3-494c-95f6-a1426372a3b1 status: code: 200 message: OK @@ -3590,9 +3814,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/95a70d86-c37a-46b2-8b54-b5e6cb2ba2fe?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/a613ef5f-6dcf-402d-aafb-2a7fb5ca96c1?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -3604,7 +3829,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:57:12 GMT + - Fri, 14 May 2021 06:19:56 GMT expires: - '-1' pragma: @@ -3621,7 +3846,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - c24b4ae1-7d74-4bea-ae81-8ad49ecc249e + - 564cc5a5-573a-4dde-b4e7-91758e29f39e status: code: 200 message: OK @@ -3635,9 +3860,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/95a70d86-c37a-46b2-8b54-b5e6cb2ba2fe?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/a613ef5f-6dcf-402d-aafb-2a7fb5ca96c1?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -3649,7 +3875,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:57:52 GMT + - Fri, 14 May 2021 06:20:36 GMT expires: - '-1' pragma: @@ -3666,7 +3892,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 8fecf633-8735-422f-b4a8-555b744fc8a5 + - b812f212-21b7-4d77-983a-6c822933037e status: code: 200 message: OK @@ -3680,9 +3906,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/95a70d86-c37a-46b2-8b54-b5e6cb2ba2fe?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/a613ef5f-6dcf-402d-aafb-2a7fb5ca96c1?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -3694,7 +3921,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:58:32 GMT + - Fri, 14 May 2021 06:21:17 GMT expires: - '-1' pragma: @@ -3711,7 +3938,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - d9e87d76-4832-4c39-8e2a-13ad30db2ba3 + - 81ea392b-86a1-41aa-9ac7-6aa6298e8b75 status: code: 200 message: OK @@ -3725,9 +3952,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/95a70d86-c37a-46b2-8b54-b5e6cb2ba2fe?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/a613ef5f-6dcf-402d-aafb-2a7fb5ca96c1?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -3739,7 +3967,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 06:59:53 GMT + - Fri, 14 May 2021 06:22:37 GMT expires: - '-1' pragma: @@ -3756,7 +3984,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - c53d756e-8c26-4fbe-abee-8e82d401ebf6 + - fb7f015e-6b08-4332-9470-7002e8d75f9f status: code: 200 message: OK @@ -3770,9 +3998,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/95a70d86-c37a-46b2-8b54-b5e6cb2ba2fe?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/a613ef5f-6dcf-402d-aafb-2a7fb5ca96c1?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -3784,7 +4013,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 07:02:34 GMT + - Fri, 14 May 2021 06:25:17 GMT expires: - '-1' pragma: @@ -3801,7 +4030,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - a46ab670-5273-463c-943f-c7761af5fd2f + - 4e6f07e3-9fe9-4c69-9ff8-dab6b8ba6398 status: code: 200 message: OK @@ -3815,9 +4044,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/95a70d86-c37a-46b2-8b54-b5e6cb2ba2fe?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/a613ef5f-6dcf-402d-aafb-2a7fb5ca96c1?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -3829,7 +4059,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 07:04:14 GMT + - Fri, 14 May 2021 06:26:58 GMT expires: - '-1' pragma: @@ -3846,7 +4076,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - b78d3e2d-63e6-4c6e-bd18-3ae081d28119 + - 53d1b73a-a5fb-491e-ab35-129ab0a8b807 status: code: 200 message: OK @@ -3860,9 +4090,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/95a70d86-c37a-46b2-8b54-b5e6cb2ba2fe?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/a613ef5f-6dcf-402d-aafb-2a7fb5ca96c1?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -3874,7 +4105,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 07:05:55 GMT + - Fri, 14 May 2021 06:28:37 GMT expires: - '-1' pragma: @@ -3891,7 +4122,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - d46c7735-c57d-410c-a4a2-7305df614003 + - 1bddf58e-326f-4406-8c8d-d3b5bf12e5ac status: code: 200 message: OK @@ -3905,9 +4136,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/95a70d86-c37a-46b2-8b54-b5e6cb2ba2fe?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/a613ef5f-6dcf-402d-aafb-2a7fb5ca96c1?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -3919,7 +4151,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 07:07:35 GMT + - Fri, 14 May 2021 06:30:18 GMT expires: - '-1' pragma: @@ -3936,7 +4168,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - d49af9b3-88a5-4a1c-aaf5-56e04d3fdd45 + - 1281fa22-e2f9-4318-9a41-e5744a04e9b8 status: code: 200 message: OK @@ -3950,9 +4182,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/95a70d86-c37a-46b2-8b54-b5e6cb2ba2fe?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/a613ef5f-6dcf-402d-aafb-2a7fb5ca96c1?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -3964,7 +4197,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 07:09:15 GMT + - Fri, 14 May 2021 06:31:58 GMT expires: - '-1' pragma: @@ -3981,7 +4214,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 40e2f9ee-2c08-403b-a570-8aa1b0d30261 + - b4804ba1-8f35-43df-92d2-4c87a0d2f482 status: code: 200 message: OK @@ -3995,9 +4228,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/95a70d86-c37a-46b2-8b54-b5e6cb2ba2fe?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/a613ef5f-6dcf-402d-aafb-2a7fb5ca96c1?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -4009,7 +4243,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 07:10:55 GMT + - Fri, 14 May 2021 06:33:38 GMT expires: - '-1' pragma: @@ -4026,7 +4260,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - b68efc70-be0d-4115-8aff-d647bd33bec1 + - 1cc31bcd-ba27-4c4e-b5f8-cff6623e897e status: code: 200 message: OK @@ -4042,9 +4276,10 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualHubs/virtualhubx76dc116f?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualHubs/virtualhubx76dc116f?api-version=2021-02-01 response: body: string: '' @@ -4052,17 +4287,17 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/c11b06a4-786e-410c-aab9-aa2b1924e1bc?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/d1cfa794-ec73-42cc-a1c5-42e54e2d78a9?api-version=2021-02-01 cache-control: - no-cache content-length: - '0' date: - - Tue, 09 Mar 2021 07:10:56 GMT + - Fri, 14 May 2021 06:33:38 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/c11b06a4-786e-410c-aab9-aa2b1924e1bc?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/d1cfa794-ec73-42cc-a1c5-42e54e2d78a9?api-version=2021-02-01 pragma: - no-cache server: @@ -4073,9 +4308,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 8db488c7-5b17-490e-b002-9dbf23472288 + - 5540e06d-1c16-4d9b-8b0a-54c86a2e37e5 x-ms-ratelimit-remaining-subscription-deletes: - - '14999' + - '14997' status: code: 202 message: Accepted @@ -4089,9 +4324,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/c11b06a4-786e-410c-aab9-aa2b1924e1bc?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/d1cfa794-ec73-42cc-a1c5-42e54e2d78a9?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -4103,7 +4339,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 07:11:07 GMT + - Fri, 14 May 2021 06:33:48 GMT expires: - '-1' pragma: @@ -4120,7 +4356,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - bbe638aa-0d0a-47ab-a11a-e3f44dc826f7 + - cc0fe061-8765-46fd-9ead-728164bbc4b6 status: code: 200 message: OK @@ -4134,9 +4370,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/c11b06a4-786e-410c-aab9-aa2b1924e1bc?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/d1cfa794-ec73-42cc-a1c5-42e54e2d78a9?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -4148,7 +4385,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 07:11:18 GMT + - Fri, 14 May 2021 06:33:58 GMT expires: - '-1' pragma: @@ -4165,7 +4402,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 758e5930-0dac-4c1a-9bdd-eae8e98ab4a0 + - 893d31c2-1078-46de-a4c7-69afe7f31174 status: code: 200 message: OK @@ -4179,9 +4416,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/c11b06a4-786e-410c-aab9-aa2b1924e1bc?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/d1cfa794-ec73-42cc-a1c5-42e54e2d78a9?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -4193,7 +4431,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 07:11:38 GMT + - Fri, 14 May 2021 06:34:18 GMT expires: - '-1' pragma: @@ -4210,7 +4448,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 66c56ee2-34a7-45b3-a1e9-fc04990c53bb + - fb5d6450-31ca-473c-a1a3-a8278d8aef1a status: code: 200 message: OK @@ -4224,9 +4462,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/c11b06a4-786e-410c-aab9-aa2b1924e1bc?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/d1cfa794-ec73-42cc-a1c5-42e54e2d78a9?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -4238,7 +4477,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 07:11:58 GMT + - Fri, 14 May 2021 06:34:38 GMT expires: - '-1' pragma: @@ -4255,7 +4494,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 8fa15653-9ef7-4bd6-aa8b-0daa3e3e491c + - 4cc334a5-88c9-47b1-bf6f-58274d2c0910 status: code: 200 message: OK @@ -4269,9 +4508,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/c11b06a4-786e-410c-aab9-aa2b1924e1bc?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/d1cfa794-ec73-42cc-a1c5-42e54e2d78a9?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -4283,7 +4523,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 07:12:38 GMT + - Fri, 14 May 2021 06:35:18 GMT expires: - '-1' pragma: @@ -4300,7 +4540,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 063f02c1-663a-47a7-9948-fa8f6fb403fa + - 323151c0-9c70-4ce6-8249-26533cd28f2a status: code: 200 message: OK @@ -4314,9 +4554,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/c11b06a4-786e-410c-aab9-aa2b1924e1bc?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/d1cfa794-ec73-42cc-a1c5-42e54e2d78a9?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -4328,7 +4569,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 07:13:19 GMT + - Fri, 14 May 2021 06:35:59 GMT expires: - '-1' pragma: @@ -4345,7 +4586,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 4fec4fed-d723-4602-8e17-fc0a96775838 + - 62c524b7-3a00-488d-b631-eb43d8de086e status: code: 200 message: OK @@ -4359,9 +4600,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/c11b06a4-786e-410c-aab9-aa2b1924e1bc?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/d1cfa794-ec73-42cc-a1c5-42e54e2d78a9?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -4373,7 +4615,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 07:14:38 GMT + - Fri, 14 May 2021 06:37:18 GMT expires: - '-1' pragma: @@ -4390,7 +4632,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 4437fd52-b878-417d-91e9-e10732878468 + - c743e497-68ae-4828-8345-0b77def45176 status: code: 200 message: OK @@ -4404,9 +4646,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/c11b06a4-786e-410c-aab9-aa2b1924e1bc?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/d1cfa794-ec73-42cc-a1c5-42e54e2d78a9?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -4418,7 +4661,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 07:17:20 GMT + - Fri, 14 May 2021 06:40:00 GMT expires: - '-1' pragma: @@ -4435,7 +4678,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - f21f0edb-2c3c-4fb6-b753-9e5e5002f42a + - f0ce0eb1-9cb1-4e42-a54d-43ed7d960743 status: code: 200 message: OK @@ -4449,9 +4692,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/c11b06a4-786e-410c-aab9-aa2b1924e1bc?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/d1cfa794-ec73-42cc-a1c5-42e54e2d78a9?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -4463,7 +4707,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 07:19:00 GMT + - Fri, 14 May 2021 06:41:39 GMT expires: - '-1' pragma: @@ -4480,7 +4724,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - b96a325d-723c-438c-b11f-c2cbbcd05299 + - 273f9886-3a12-4f3f-a7a4-a09ec140cb4d status: code: 200 message: OK @@ -4496,9 +4740,10 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/vpnSites/vnpsite76dc116f?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/vpnSites/vnpsite76dc116f?api-version=2021-02-01 response: body: string: '' @@ -4506,17 +4751,17 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/f5732f71-c466-4ef0-93d3-1d66a09075b0?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/dcc0587f-b76f-4502-b1fe-fa6cee2acf5f?api-version=2021-02-01 cache-control: - no-cache content-length: - '0' date: - - Tue, 09 Mar 2021 07:19:01 GMT + - Fri, 14 May 2021 06:41:39 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/f5732f71-c466-4ef0-93d3-1d66a09075b0?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/dcc0587f-b76f-4502-b1fe-fa6cee2acf5f?api-version=2021-02-01 pragma: - no-cache server: @@ -4527,9 +4772,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 536f3c84-ac30-4045-9808-e233effecbc3 + - ba1e8bcf-7547-425f-b07e-4134a00d2238 x-ms-ratelimit-remaining-subscription-deletes: - - '14999' + - '14996' status: code: 202 message: Accepted @@ -4543,9 +4788,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/f5732f71-c466-4ef0-93d3-1d66a09075b0?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/dcc0587f-b76f-4502-b1fe-fa6cee2acf5f?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -4557,7 +4803,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 07:19:11 GMT + - Fri, 14 May 2021 06:41:49 GMT expires: - '-1' pragma: @@ -4574,7 +4820,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - de1b3994-cf6b-4826-a0b8-a2e31dde8ede + - c5ee7fc1-d902-40bf-abf5-7537be4420d8 status: code: 200 message: OK @@ -4590,9 +4836,10 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualWans/virtualwan76dc116f?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualWans/virtualwan76dc116f?api-version=2021-02-01 response: body: string: '' @@ -4600,17 +4847,17 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/983f9e79-41b1-4600-a33c-febacec2970f?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7bff612f-623a-4cce-8b95-fc6bff4c5ca0?api-version=2021-02-01 cache-control: - no-cache content-length: - '0' date: - - Tue, 09 Mar 2021 07:19:12 GMT + - Fri, 14 May 2021 06:41:50 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/983f9e79-41b1-4600-a33c-febacec2970f?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/7bff612f-623a-4cce-8b95-fc6bff4c5ca0?api-version=2021-02-01 pragma: - no-cache server: @@ -4621,9 +4868,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 969e57f9-57b9-4079-9cfd-766085173abb + - 6b845c81-5fee-428c-a075-bd9aa396d3a3 x-ms-ratelimit-remaining-subscription-deletes: - - '14998' + - '14995' status: code: 202 message: Accepted @@ -4637,9 +4884,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/983f9e79-41b1-4600-a33c-febacec2970f?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7bff612f-623a-4cce-8b95-fc6bff4c5ca0?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -4651,7 +4899,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 07:19:22 GMT + - Fri, 14 May 2021 06:42:00 GMT expires: - '-1' pragma: @@ -4668,7 +4916,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 4abf3d35-f69d-4535-af4f-7be15d66f8a0 + - 186aeabd-0054-46ff-88f4-f5164bc6aff5 status: code: 200 message: OK diff --git a/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_watcher.test_network.yaml b/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_watcher.test_network.yaml deleted file mode 100644 index 36edb6af4bb9..000000000000 --- a/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_watcher.test_network.yaml +++ /dev/null @@ -1,634 +0,0 @@ -interactions: -- request: - body: '{"location": "eastus", "tags": {"key1": "value1"}, "properties": {"disableVpnEncryption": - false, "type": "Basic"}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '114' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualWans/virtualwan777c1179?api-version=2020-11-01 - response: - body: - string: "{\r\n \"name\": \"virtualwan777c1179\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualWans/virtualwan777c1179\"\ - ,\r\n \"etag\": \"W/\\\"e026d91b-366c-4123-895e-2ed813937f88\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/virtualWans\",\r\n \"location\": \"eastus\"\ - ,\r\n \"tags\": {\r\n \"key1\": \"value1\"\r\n },\r\n \"properties\"\ - : {\r\n \"provisioningState\": \"Updating\",\r\n \"disableVpnEncryption\"\ - : false,\r\n \"allowBranchToBranchTraffic\": true,\r\n \"office365LocalBreakoutCategory\"\ - : \"None\",\r\n \"type\": \"Basic\"\r\n }\r\n}" - headers: - azure-asyncnotification: - - Enabled - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/13e6d3cb-e5ab-4652-9401-56d0210055d9?api-version=2020-11-01 - cache-control: - - no-cache - content-length: - - '625' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:22:03 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 5afc7564-f008-4388-bca2-c79cd3f5401d - x-ms-ratelimit-remaining-subscription-writes: - - '1196' - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/13e6d3cb-e5ab-4652-9401-56d0210055d9?api-version=2020-11-01 - response: - body: - string: "{\r\n \"status\": \"Succeeded\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '29' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:22:13 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 834278cd-cc7a-4057-9af5-a4b2d19a1e4e - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualWans/virtualwan777c1179?api-version=2020-11-01 - response: - body: - string: "{\r\n \"name\": \"virtualwan777c1179\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualWans/virtualwan777c1179\"\ - ,\r\n \"etag\": \"W/\\\"81447bbd-5bd8-4d1d-b9fd-5696efdfca0f\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/virtualWans\",\r\n \"location\": \"eastus\"\ - ,\r\n \"tags\": {\r\n \"key1\": \"value1\"\r\n },\r\n \"properties\"\ - : {\r\n \"provisioningState\": \"Succeeded\",\r\n \"disableVpnEncryption\"\ - : false,\r\n \"allowBranchToBranchTraffic\": true,\r\n \"office365LocalBreakoutCategory\"\ - : \"None\",\r\n \"type\": \"Basic\"\r\n }\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '626' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:22:14 GMT - etag: - - W/"81447bbd-5bd8-4d1d-b9fd-5696efdfca0f" - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 48acf161-ed77-4731-bbd9-84045a3fe8e3 - status: - code: 200 - message: OK -- request: - body: '{"location": "eastus", "tags": {"key1": "value1"}, "properties": {"virtualWan": - {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualWans/virtualwan777c1179"}, - "addressPrefix": "10.168.0.0/24", "sku": "Basic"}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '343' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualHubs/virtualhub777c1179?api-version=2020-11-01 - response: - body: - string: "{\r\n \"name\": \"virtualhub777c1179\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualHubs/virtualhub777c1179\"\ - ,\r\n \"etag\": \"W/\\\"63a8411a-fe51-4a74-bdf2-6cc5df0773aa\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/virtualHubs\",\r\n \"location\": \"eastus\"\ - ,\r\n \"tags\": {\r\n \"key1\": \"value1\"\r\n },\r\n \"properties\"\ - : {\r\n \"provisioningState\": \"Updating\",\r\n \"virtualHubRouteTableV2s\"\ - : [],\r\n \"addressPrefix\": \"10.168.0.0/24\",\r\n \"virtualRouterAsn\"\ - : 0,\r\n \"virtualRouterIps\": [],\r\n \"routeTable\": {\r\n \"\ - routes\": []\r\n },\r\n \"virtualWan\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualWans/virtualwan777c1179\"\ - \r\n },\r\n \"sku\": \"Basic\",\r\n \"routingState\": \"None\",\r\ - \n \"allowBranchToBranchTraffic\": false\r\n }\r\n}" - headers: - azure-asyncnotification: - - Enabled - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/f2f3d3e9-b497-4643-8e29-df1a65f843c8?api-version=2020-11-01 - cache-control: - - no-cache - content-length: - - '998' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:22:19 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - b2f06e58-0797-4eb6-9c36-830d3ef387a7 - x-ms-ratelimit-remaining-subscription-writes: - - '1195' - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/f2f3d3e9-b497-4643-8e29-df1a65f843c8?api-version=2020-11-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:22:30 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 6a54ef4f-001f-4722-bcf5-315fec5a6216 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/f2f3d3e9-b497-4643-8e29-df1a65f843c8?api-version=2020-11-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:22:40 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 6f998dc7-4136-4200-8d91-89eeeb9f0aef - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/f2f3d3e9-b497-4643-8e29-df1a65f843c8?api-version=2020-11-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:23:00 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 109c1a33-e45f-4841-9b95-fdb263df0fef - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/f2f3d3e9-b497-4643-8e29-df1a65f843c8?api-version=2020-11-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:23:21 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 4862f7b6-d44c-4061-bbd7-1057b0cf7fde - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/f2f3d3e9-b497-4643-8e29-df1a65f843c8?api-version=2020-11-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:24:01 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - db07600f-8dcf-499d-9461-217ce0168965 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/f2f3d3e9-b497-4643-8e29-df1a65f843c8?api-version=2020-11-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:24:42 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - c7b5d4a6-4e3d-4800-85f7-b6a5b93ca074 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/f2f3d3e9-b497-4643-8e29-df1a65f843c8?api-version=2020-11-01 - response: - body: - string: "{\r\n \"status\": \"Succeeded\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '29' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:26:02 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - f9044fd5-f047-4214-8e7f-f206ce4f4789 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualHubs/virtualhub777c1179?api-version=2020-11-01 - response: - body: - string: "{\r\n \"name\": \"virtualhub777c1179\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualHubs/virtualhub777c1179\"\ - ,\r\n \"etag\": \"W/\\\"698f1d78-140d-4e78-8674-e4c60319dbe1\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/virtualHubs\",\r\n \"location\": \"eastus\"\ - ,\r\n \"tags\": {\r\n \"key1\": \"value1\"\r\n },\r\n \"properties\"\ - : {\r\n \"provisioningState\": \"Succeeded\",\r\n \"virtualHubRouteTableV2s\"\ - : [],\r\n \"addressPrefix\": \"10.168.0.0/24\",\r\n \"virtualRouterAsn\"\ - : 0,\r\n \"virtualRouterIps\": [],\r\n \"routeTable\": {\r\n \"\ - routes\": []\r\n },\r\n \"virtualWan\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualWans/virtualwan777c1179\"\ - \r\n },\r\n \"sku\": \"Basic\",\r\n \"routingState\": \"Provisioning\"\ - ,\r\n \"allowBranchToBranchTraffic\": false\r\n }\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '1007' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:26:02 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 35edfed0-1000-4003-9295-c800058ab472 - status: - code: 200 - message: OK -- request: - body: '{"sku": {"name": "Standard_LRS"}, "kind": "Storage", "location": "eastus"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '74' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azure-mgmt-storage/17.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storagename777c1179?api-version=2021-01-01 - response: - body: - string: '{"error":{"code":"StorageAccountAlreadyTaken","message":"The storage - account named storagename777c1179 is already taken."}}' - headers: - cache-control: - - no-cache - content-length: - - '123' - content-type: - - application/json - date: - - Tue, 09 Mar 2021 08:26:12 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1198' - status: - code: 409 - message: Conflict -version: 1 diff --git a/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_watcher.test_network_watcher.yaml b/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_watcher.test_network_watcher.yaml deleted file mode 100644 index efca08052893..000000000000 --- a/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_watcher.test_network_watcher.yaml +++ /dev/null @@ -1,852 +0,0 @@ -interactions: -- request: - body: '{"location": "eastus", "properties": {"addressSpace": {"addressPrefixes": - ["10.0.0.0/16"]}}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '92' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork121614c6?api-version=2020-11-01 - response: - body: - string: "{\r\n \"name\": \"virtualnetwork121614c6\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork121614c6\"\ - ,\r\n \"etag\": \"W/\\\"8a06c4c8-674d-4402-9c42-b6f196b62748\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ - \ \"resourceGuid\": \"ec4b83e9-706c-43f7-acb5-015f1a9627f7\",\r\n \"\ - addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\ - \r\n ]\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ - : [],\r\n \"enableDdosProtection\": false\r\n }\r\n}" - headers: - azure-asyncnotification: - - Enabled - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/2de8e927-5cf2-4bb0-8bf7-2029f0a7ac71?api-version=2020-11-01 - cache-control: - - no-cache - content-length: - - '697' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:26:29 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 42d0ebfb-ed57-46f8-9d8d-53e12696a581 - x-ms-ratelimit-remaining-subscription-writes: - - '1194' - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/2de8e927-5cf2-4bb0-8bf7-2029f0a7ac71?api-version=2020-11-01 - response: - body: - string: "{\r\n \"status\": \"Succeeded\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '29' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:26:32 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 8bd8bf67-655b-4bb9-a58d-0331bd3d3443 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork121614c6?api-version=2020-11-01 - response: - body: - string: "{\r\n \"name\": \"virtualnetwork121614c6\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork121614c6\"\ - ,\r\n \"etag\": \"W/\\\"f254e6e3-29ae-40d7-be70-03ff9dc52307\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n\ - \ \"resourceGuid\": \"ec4b83e9-706c-43f7-acb5-015f1a9627f7\",\r\n \"\ - addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\ - \r\n ]\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ - : [],\r\n \"enableDdosProtection\": false\r\n }\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '698' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:26:33 GMT - etag: - - W/"f254e6e3-29ae-40d7-be70-03ff9dc52307" - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - f19c15db-1e0c-4572-acab-68f341fa6d66 - status: - code: 200 - message: OK -- request: - body: '{"properties": {"addressPrefix": "10.0.0.0/24"}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '48' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork121614c6/subnets/subnet121614c6?api-version=2020-11-01 - response: - body: - string: "{\r\n \"name\": \"subnet121614c6\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork121614c6/subnets/subnet121614c6\"\ - ,\r\n \"etag\": \"W/\\\"ef05bd96-49dd-4380-97ed-86631ce8a3c6\\\"\",\r\n \ - \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"\ - addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\"\ - : \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\ - \n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/00086819-7a23-4f03-90ce-0a568987ec9a?api-version=2020-11-01 - cache-control: - - no-cache - content-length: - - '616' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:26:33 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 88b435c1-5dbe-4396-862e-95fa5c0d1bdf - x-ms-ratelimit-remaining-subscription-writes: - - '1193' - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/00086819-7a23-4f03-90ce-0a568987ec9a?api-version=2020-11-01 - response: - body: - string: "{\r\n \"status\": \"Succeeded\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '29' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:26:37 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 9844a6a0-4aa8-484f-8b77-73b7412c6db5 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork121614c6/subnets/subnet121614c6?api-version=2020-11-01 - response: - body: - string: "{\r\n \"name\": \"subnet121614c6\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork121614c6/subnets/subnet121614c6\"\ - ,\r\n \"etag\": \"W/\\\"57ce9048-3ac6-4642-80bd-7020992d0a74\\\"\",\r\n \ - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\ - addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\"\ - : \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\ - \n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '617' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:26:37 GMT - etag: - - W/"57ce9048-3ac6-4642-80bd-7020992d0a74" - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 0d43eae0-cd0e-4973-8981-60b44bf926a6 - status: - code: 200 - message: OK -- request: - body: '{"location": "eastus", "properties": {"ipConfigurations": [{"name": "MyIpConfig", - "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork121614c6/subnets/subnet121614c6"}}}]}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '354' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/interface121614c6?api-version=2020-11-01 - response: - body: - string: "{\r\n \"name\": \"interface121614c6\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/interface121614c6\"\ - ,\r\n \"etag\": \"W/\\\"c47f0c43-4f1d-4a68-a2a4-2cdad72eba59\\\"\",\r\n \ - \ \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\"\ - : \"Succeeded\",\r\n \"resourceGuid\": \"ac30e408-694b-47fe-a910-e91fce02f553\"\ - ,\r\n \"ipConfigurations\": [\r\n {\r\n \"name\": \"MyIpConfig\"\ - ,\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/interface121614c6/ipConfigurations/MyIpConfig\"\ - ,\r\n \"etag\": \"W/\\\"c47f0c43-4f1d-4a68-a2a4-2cdad72eba59\\\"\"\ - ,\r\n \"type\": \"Microsoft.Network/networkInterfaces/ipConfigurations\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"privateIPAddress\": \"10.0.0.4\",\r\n \"privateIPAllocationMethod\"\ - : \"Dynamic\",\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork121614c6/subnets/subnet121614c6\"\ - \r\n },\r\n \"primary\": true,\r\n \"privateIPAddressVersion\"\ - : \"IPv4\"\r\n }\r\n }\r\n ],\r\n \"dnsSettings\": {\r\n\ - \ \"dnsServers\": [],\r\n \"appliedDnsServers\": [],\r\n \"\ - internalDomainNameSuffix\": \"3gbux1dmod1uhlfvafprvfrh4h.bx.internal.cloudapp.net\"\ - \r\n },\r\n \"enableAcceleratedNetworking\": false,\r\n \"enableIPForwarding\"\ - : false,\r\n \"hostedWorkloads\": [],\r\n \"tapConfigurations\": [],\r\ - \n \"nicType\": \"Standard\"\r\n },\r\n \"type\": \"Microsoft.Network/networkInterfaces\"\ - \r\n}" - headers: - azure-asyncnotification: - - Enabled - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/bcad130b-a678-4d99-b4e0-f187041aa0b9?api-version=2020-11-01 - cache-control: - - no-cache - content-length: - - '1861' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:26:40 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - be9d3f26-4c94-41f8-b09e-ade9667410f9 - x-ms-ratelimit-remaining-subscription-writes: - - '1192' - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/bcad130b-a678-4d99-b4e0-f187041aa0b9?api-version=2020-11-01 - response: - body: - string: "{\r\n \"status\": \"Succeeded\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '29' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:27:10 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 8e6507a0-9d2d-4c97-998b-5b5ed58f1d13 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/interface121614c6?api-version=2020-11-01 - response: - body: - string: "{\r\n \"name\": \"interface121614c6\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/interface121614c6\"\ - ,\r\n \"etag\": \"W/\\\"c47f0c43-4f1d-4a68-a2a4-2cdad72eba59\\\"\",\r\n \ - \ \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\"\ - : \"Succeeded\",\r\n \"resourceGuid\": \"ac30e408-694b-47fe-a910-e91fce02f553\"\ - ,\r\n \"ipConfigurations\": [\r\n {\r\n \"name\": \"MyIpConfig\"\ - ,\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/interface121614c6/ipConfigurations/MyIpConfig\"\ - ,\r\n \"etag\": \"W/\\\"c47f0c43-4f1d-4a68-a2a4-2cdad72eba59\\\"\"\ - ,\r\n \"type\": \"Microsoft.Network/networkInterfaces/ipConfigurations\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"privateIPAddress\": \"10.0.0.4\",\r\n \"privateIPAllocationMethod\"\ - : \"Dynamic\",\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork121614c6/subnets/subnet121614c6\"\ - \r\n },\r\n \"primary\": true,\r\n \"privateIPAddressVersion\"\ - : \"IPv4\"\r\n }\r\n }\r\n ],\r\n \"dnsSettings\": {\r\n\ - \ \"dnsServers\": [],\r\n \"appliedDnsServers\": [],\r\n \"\ - internalDomainNameSuffix\": \"3gbux1dmod1uhlfvafprvfrh4h.bx.internal.cloudapp.net\"\ - \r\n },\r\n \"enableAcceleratedNetworking\": false,\r\n \"enableIPForwarding\"\ - : false,\r\n \"hostedWorkloads\": [],\r\n \"tapConfigurations\": [],\r\ - \n \"nicType\": \"Standard\"\r\n },\r\n \"type\": \"Microsoft.Network/networkInterfaces\"\ - \r\n}" - headers: - cache-control: - - no-cache - content-length: - - '1861' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:27:11 GMT - etag: - - W/"c47f0c43-4f1d-4a68-a2a4-2cdad72eba59" - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 486bce7e-f9ec-4d75-884e-2a5d6502fe24 - status: - code: 200 - message: OK -- request: - body: '{"location": "eastus", "properties": {"hardwareProfile": {"vmSize": "Standard_D2_v2"}, - "storageProfile": {"imageReference": {"publisher": "MicrosoftWindowsServer", - "offer": "WindowsServer", "sku": "2016-Datacenter", "version": "latest"}, "osDisk": - {"name": "myVMosdisk", "caching": "ReadWrite", "createOption": "FromImage", - "managedDisk": {"storageAccountType": "Standard_LRS"}}, "dataDisks": [{"lun": - 0, "createOption": "Empty", "diskSizeGB": 1023}, {"lun": 1, "createOption": - "Empty", "diskSizeGB": 1023}]}, "osProfile": {"computerName": "myVM", "adminUsername": - "testuser", "adminPassword": "Aa1!zyx_", "windowsConfiguration": {"enableAutomaticUpdates": - true}}, "networkProfile": {"networkInterfaces": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/interface121614c6", - "properties": {"primary": true}}]}}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '959' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azure-mgmt-compute/19.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Compute/virtualMachines/virtualmachine121614c6?api-version=2020-12-01 - response: - body: - string: "{\r\n \"name\": \"virtualmachine121614c6\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Compute/virtualMachines/virtualmachine121614c6\"\ - ,\r\n \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\"\ - : \"eastus\",\r\n \"tags\": {\r\n \"platformsettings.host_environment.service.platform_optedin_for_rootcerts\"\ - : \"true\"\r\n },\r\n \"properties\": {\r\n \"vmId\": \"b79a660a-6924-4abb-98e9-b9ca4ef120f4\"\ - ,\r\n \"hardwareProfile\": {\r\n \"vmSize\": \"Standard_D2_v2\"\r\n\ - \ },\r\n \"storageProfile\": {\r\n \"imageReference\": {\r\n \ - \ \"publisher\": \"MicrosoftWindowsServer\",\r\n \"offer\": \"\ - WindowsServer\",\r\n \"sku\": \"2016-Datacenter\",\r\n \"version\"\ - : \"latest\",\r\n \"exactVersion\": \"14393.4225.2102030345\"\r\n \ - \ },\r\n \"osDisk\": {\r\n \"osType\": \"Windows\",\r\n \ - \ \"name\": \"myVMosdisk\",\r\n \"createOption\": \"FromImage\"\ - ,\r\n \"caching\": \"ReadWrite\",\r\n \"managedDisk\": {\r\n\ - \ \"storageAccountType\": \"Standard_LRS\"\r\n },\r\n \ - \ \"diskSizeGB\": 127\r\n },\r\n \"dataDisks\": [\r\n \ - \ {\r\n \"lun\": 0,\r\n \"createOption\": \"Empty\",\r\n\ - \ \"caching\": \"None\",\r\n \"managedDisk\": {\r\n \ - \ \"storageAccountType\": \"Standard_LRS\"\r\n },\r\n \ - \ \"diskSizeGB\": 1023,\r\n \"toBeDetached\": false\r\n \ - \ },\r\n {\r\n \"lun\": 1,\r\n \"createOption\"\ - : \"Empty\",\r\n \"caching\": \"None\",\r\n \"managedDisk\"\ - : {\r\n \"storageAccountType\": \"Standard_LRS\"\r\n },\r\ - \n \"diskSizeGB\": 1023,\r\n \"toBeDetached\": false\r\n\ - \ }\r\n ]\r\n },\r\n \"osProfile\": {\r\n \"computerName\"\ - : \"myVM\",\r\n \"adminUsername\": \"testuser\",\r\n \"windowsConfiguration\"\ - : {\r\n \"provisionVMAgent\": true,\r\n \"enableAutomaticUpdates\"\ - : true,\r\n \"patchSettings\": {\r\n \"patchMode\": \"AutomaticByOS\"\ - \r\n }\r\n },\r\n \"secrets\": [],\r\n \"allowExtensionOperations\"\ - : true,\r\n \"requireGuestProvisionSignal\": true\r\n },\r\n \"\ - networkProfile\": {\"networkInterfaces\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/interface121614c6\"\ - ,\"properties\":{\"primary\":true}}]},\r\n \"provisioningState\": \"Creating\"\ - \r\n }\r\n}" - headers: - azure-asyncnotification: - - Enabled - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/operations/c60ffa43-5a72-4b27-9742-59bc7dc41ad7?api-version=2020-12-01 - cache-control: - - no-cache - content-length: - - '2421' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:27:22 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/PutVM3Min;239,Microsoft.Compute/PutVM30Min;1198 - x-ms-ratelimit-remaining-subscription-writes: - - '1198' - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-compute/19.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/operations/c60ffa43-5a72-4b27-9742-59bc7dc41ad7?api-version=2020-12-01 - response: - body: - string: "{\r\n \"startTime\": \"2021-03-09T08:27:20.0612232+00:00\",\r\n \"\ - status\": \"InProgress\",\r\n \"name\": \"c60ffa43-5a72-4b27-9742-59bc7dc41ad7\"\ - \r\n}" - headers: - cache-control: - - no-cache - content-length: - - '134' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:27:32 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14999,Microsoft.Compute/GetOperation30Min;29988 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-compute/19.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/operations/c60ffa43-5a72-4b27-9742-59bc7dc41ad7?api-version=2020-12-01 - response: - body: - string: "{\r\n \"startTime\": \"2021-03-09T08:27:20.0612232+00:00\",\r\n \"\ - status\": \"InProgress\",\r\n \"name\": \"c60ffa43-5a72-4b27-9742-59bc7dc41ad7\"\ - \r\n}" - headers: - cache-control: - - no-cache - content-length: - - '134' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:28:22 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14998,Microsoft.Compute/GetOperation30Min;29987 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-compute/19.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/operations/c60ffa43-5a72-4b27-9742-59bc7dc41ad7?api-version=2020-12-01 - response: - body: - string: "{\r\n \"startTime\": \"2021-03-09T08:27:20.0612232+00:00\",\r\n \"\ - endTime\": \"2021-03-09T08:28:46.5929576+00:00\",\r\n \"status\": \"Succeeded\"\ - ,\r\n \"name\": \"c60ffa43-5a72-4b27-9742-59bc7dc41ad7\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '184' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:28:53 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14996,Microsoft.Compute/GetOperation30Min;29985 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-compute/19.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Compute/virtualMachines/virtualmachine121614c6?api-version=2020-12-01 - response: - body: - string: "{\r\n \"name\": \"virtualmachine121614c6\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Compute/virtualMachines/virtualmachine121614c6\"\ - ,\r\n \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\"\ - : \"eastus\",\r\n \"tags\": {\r\n \"platformsettings.host_environment.service.platform_optedin_for_rootcerts\"\ - : \"true\"\r\n },\r\n \"properties\": {\r\n \"vmId\": \"b79a660a-6924-4abb-98e9-b9ca4ef120f4\"\ - ,\r\n \"hardwareProfile\": {\r\n \"vmSize\": \"Standard_D2_v2\"\r\n\ - \ },\r\n \"storageProfile\": {\r\n \"imageReference\": {\r\n \ - \ \"publisher\": \"MicrosoftWindowsServer\",\r\n \"offer\": \"\ - WindowsServer\",\r\n \"sku\": \"2016-Datacenter\",\r\n \"version\"\ - : \"latest\",\r\n \"exactVersion\": \"14393.4225.2102030345\"\r\n \ - \ },\r\n \"osDisk\": {\r\n \"osType\": \"Windows\",\r\n \ - \ \"name\": \"myVMosdisk\",\r\n \"createOption\": \"FromImage\"\ - ,\r\n \"caching\": \"ReadWrite\",\r\n \"managedDisk\": {\r\n\ - \ \"storageAccountType\": \"Standard_LRS\",\r\n \"id\":\ - \ \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Compute/disks/myVMosdisk\"\ - \r\n },\r\n \"diskSizeGB\": 127\r\n },\r\n \"dataDisks\"\ - : [\r\n {\r\n \"lun\": 0,\r\n \"name\": \"virtualmachine121614c6_disk2_e4c208e18cb04025ad96594e9ce13a6c\"\ - ,\r\n \"createOption\": \"Empty\",\r\n \"caching\": \"None\"\ - ,\r\n \"managedDisk\": {\r\n \"storageAccountType\": \"\ - Standard_LRS\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Compute/disks/virtualmachine121614c6_disk2_e4c208e18cb04025ad96594e9ce13a6c\"\ - \r\n },\r\n \"diskSizeGB\": 1023,\r\n \"toBeDetached\"\ - : false\r\n },\r\n {\r\n \"lun\": 1,\r\n \"\ - name\": \"virtualmachine121614c6_disk3_0233b0862b8c42df81d3b72abc8718f7\"\ - ,\r\n \"createOption\": \"Empty\",\r\n \"caching\": \"None\"\ - ,\r\n \"managedDisk\": {\r\n \"storageAccountType\": \"\ - Standard_LRS\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Compute/disks/virtualmachine121614c6_disk3_0233b0862b8c42df81d3b72abc8718f7\"\ - \r\n },\r\n \"diskSizeGB\": 1023,\r\n \"toBeDetached\"\ - : false\r\n }\r\n ]\r\n },\r\n \"osProfile\": {\r\n \ - \ \"computerName\": \"myVM\",\r\n \"adminUsername\": \"testuser\",\r\ - \n \"windowsConfiguration\": {\r\n \"provisionVMAgent\": true,\r\ - \n \"enableAutomaticUpdates\": true,\r\n \"patchSettings\":\ - \ {\r\n \"patchMode\": \"AutomaticByOS\"\r\n }\r\n },\r\ - \n \"secrets\": [],\r\n \"allowExtensionOperations\": true,\r\n\ - \ \"requireGuestProvisionSignal\": true\r\n },\r\n \"networkProfile\"\ - : {\"networkInterfaces\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/interface121614c6\"\ - ,\"properties\":{\"primary\":true}}]},\r\n \"provisioningState\": \"Succeeded\"\ - \r\n }\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '3320' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:28:53 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;3998,Microsoft.Compute/LowCostGet30Min;31987 - status: - code: 200 - message: OK -- request: - body: '{"location": "eastus", "properties": {"publisher": "Microsoft.Azure.NetworkWatcher", - "typeHandlerVersion": "1.4", "autoUpgradeMinorVersion": true}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '147' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azure-mgmt-compute/19.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Compute/virtualMachines/virtualmachine121614c6/extensions/virtualmachineextension121614c6?api-version=2020-12-01 - response: - body: - string: "{\r\n \"error\": {\r\n \"code\": \"InvalidParameter\",\r\n \"\ - message\": \"The value of parameter type is invalid.\",\r\n \"target\"\ - : \"type\"\r\n }\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '137' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:29:00 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/UpdateVM3Min;239,Microsoft.Compute/UpdateVM30Min;1199 - x-ms-ratelimit-remaining-subscription-writes: - - '1197' - status: - code: 400 - message: Bad Request -version: 1 diff --git a/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_watcher.test_network_watcher_flow_log.yaml b/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_watcher.test_network_watcher_flow_log.yaml deleted file mode 100644 index 547613119bf4..000000000000 --- a/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_watcher.test_network_watcher_flow_log.yaml +++ /dev/null @@ -1,528 +0,0 @@ -interactions: -- request: - body: '{"location": "eastus", "properties": {"addressSpace": {"addressPrefixes": - ["10.0.0.0/16"]}}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '92' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualmachinedf79187e?api-version=2020-11-01 - response: - body: - string: "{\r\n \"name\": \"virtualmachinedf79187e\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualmachinedf79187e\"\ - ,\r\n \"etag\": \"W/\\\"1219ac31-37a4-47f3-b1b1-c5579f7f6e18\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ - \ \"resourceGuid\": \"64cf10b7-b782-4bbc-88f4-9041d560e21f\",\r\n \"\ - addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\ - \r\n ]\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ - : [],\r\n \"enableDdosProtection\": false\r\n }\r\n}" - headers: - azure-asyncnotification: - - Enabled - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/73b39810-c209-4ee7-a6ee-7d6e5bbcabda?api-version=2020-11-01 - cache-control: - - no-cache - content-length: - - '697' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:29:18 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 2483454f-9bf3-485d-a693-50c6998bcc5a - x-ms-ratelimit-remaining-subscription-writes: - - '1199' - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/73b39810-c209-4ee7-a6ee-7d6e5bbcabda?api-version=2020-11-01 - response: - body: - string: "{\r\n \"status\": \"Succeeded\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '29' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:29:21 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - ded6443a-9f4f-4c98-9678-90e273067bdf - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualmachinedf79187e?api-version=2020-11-01 - response: - body: - string: "{\r\n \"name\": \"virtualmachinedf79187e\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualmachinedf79187e\"\ - ,\r\n \"etag\": \"W/\\\"72f4f6e7-a9fa-449e-9f3f-b8ac6e76a073\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n\ - \ \"resourceGuid\": \"64cf10b7-b782-4bbc-88f4-9041d560e21f\",\r\n \"\ - addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\ - \r\n ]\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ - : [],\r\n \"enableDdosProtection\": false\r\n }\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '698' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:29:22 GMT - etag: - - W/"72f4f6e7-a9fa-449e-9f3f-b8ac6e76a073" - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 5279f79b-6e44-4ddf-951a-4ce25a7f58a0 - status: - code: 200 - message: OK -- request: - body: '{"properties": {"addressPrefix": "10.0.0.0/24"}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '48' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualmachinedf79187e/subnets/GatewaySubnet?api-version=2020-11-01 - response: - body: - string: "{\r\n \"name\": \"GatewaySubnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualmachinedf79187e/subnets/GatewaySubnet\"\ - ,\r\n \"etag\": \"W/\\\"6d1d80ce-7a4e-4084-9d63-a898ebfddbf9\\\"\",\r\n \ - \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"\ - addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\"\ - : \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\ - \n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/8356dc42-087e-4924-9687-05d22b8a590f?api-version=2020-11-01 - cache-control: - - no-cache - content-length: - - '614' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:29:22 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - f0b9ae48-ff9a-41a8-ab1d-25e1cc860479 - x-ms-ratelimit-remaining-subscription-writes: - - '1198' - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/8356dc42-087e-4924-9687-05d22b8a590f?api-version=2020-11-01 - response: - body: - string: "{\r\n \"status\": \"Succeeded\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '29' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:29:26 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 79832f20-bccc-4122-9cbe-8f82bbca7adc - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualmachinedf79187e/subnets/GatewaySubnet?api-version=2020-11-01 - response: - body: - string: "{\r\n \"name\": \"GatewaySubnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualmachinedf79187e/subnets/GatewaySubnet\"\ - ,\r\n \"etag\": \"W/\\\"9be29f5c-0f05-42aa-8e22-e7a3990e296b\\\"\",\r\n \ - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\ - addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\"\ - : \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\ - \n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '615' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:29:27 GMT - etag: - - W/"9be29f5c-0f05-42aa-8e22-e7a3990e296b" - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - dd0c8193-e880-40e0-a65d-b37b22b5a60b - status: - code: 200 - message: OK -- request: - body: '{"location": "eastus", "sku": {"name": "Standard"}, "properties": {"publicIPAllocationMethod": - "Static", "publicIPAddressVersion": "IPv4", "idleTimeoutInMinutes": 10}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '167' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipaddressdf79187e?api-version=2020-11-01 - response: - body: - string: "{\r\n \"name\": \"publicipaddressdf79187e\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipaddressdf79187e\"\ - ,\r\n \"etag\": \"W/\\\"b882194f-9a12-4a94-a423-05ac6825bc69\\\"\",\r\n \ - \ \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\"\ - : \"Updating\",\r\n \"resourceGuid\": \"5bef009d-6756-4d06-acc3-6c0cd9269ed1\"\ - ,\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n \"publicIPAllocationMethod\"\ - : \"Static\",\r\n \"idleTimeoutInMinutes\": 10,\r\n \"ipTags\": []\r\ - \n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n \"sku\"\ - : {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Regional\"\r\n }\r\n\ - }" - headers: - azure-asyncnotification: - - Enabled - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/1edb84f1-ae11-43b4-8603-7324150f48e8?api-version=2020-11-01 - cache-control: - - no-cache - content-length: - - '722' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:29:32 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 8c8ca41c-33c4-4867-a5e3-b0bd680c15d4 - x-ms-ratelimit-remaining-subscription-writes: - - '1197' - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/1edb84f1-ae11-43b4-8603-7324150f48e8?api-version=2020-11-01 - response: - body: - string: "{\r\n \"status\": \"Succeeded\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '29' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:29:33 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 0fc1845b-9d12-40a9-a310-41e10656b779 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipaddressdf79187e?api-version=2020-11-01 - response: - body: - string: "{\r\n \"name\": \"publicipaddressdf79187e\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipaddressdf79187e\"\ - ,\r\n \"etag\": \"W/\\\"3d48d1a0-8215-4177-86c8-84b79e6b051c\\\"\",\r\n \ - \ \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\"\ - : \"Succeeded\",\r\n \"resourceGuid\": \"5bef009d-6756-4d06-acc3-6c0cd9269ed1\"\ - ,\r\n \"ipAddress\": \"40.85.190.181\",\r\n \"publicIPAddressVersion\"\ - : \"IPv4\",\r\n \"publicIPAllocationMethod\": \"Static\",\r\n \"idleTimeoutInMinutes\"\ - : 10,\r\n \"ipTags\": []\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\"\ - ,\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Regional\"\ - \r\n }\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '758' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:29:33 GMT - etag: - - W/"3d48d1a0-8215-4177-86c8-84b79e6b051c" - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - a286cbc1-d96d-49be-a212-2099056e0385 - status: - code: 200 - message: OK -- request: - body: '{"location": "eastus", "properties": {"ipConfigurations": [{"name": "ipconfigdf79187e", - "properties": {"privateIPAllocationMethod": "Dynamic", "subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualmachinedf79187e/subnets/GatewaySubnet"}, - "publicIPAddress": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipaddressdf79187e"}}}], - "gatewayType": "Vpn", "vpnType": "RouteBased", "enableBgp": false, "sku": {"name": - "VpnGw1", "tier": "VpnGw1"}, "bgpSettings": {"asn": 65515, "bgpPeeringAddress": - "10.0.1.30", "peerWeight": 0}, "customRoutes": {"addressPrefixes": ["101.168.0.6/32"]}, - "enableDnsForwarding": false}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '923' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewaydf79187e?api-version=2020-11-01 - response: - body: - string: "{\r\n \"error\": {\r\n \"code\": \"InvalidGatewaySkuSpecifiedForGatewayDeploymentType\"\ - ,\r\n \"message\": \"Virtual network gateway Sku specified is not valid\ - \ for gateway /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgatewaydf79187e\ - \ with DeploymentType VMScaleSet. The allowed Skus are VpnGw1AZ,VpnGw2AZ,VpnGw3AZ,VpnGw4AZ,VpnGw5AZ.\"\ - ,\r\n \"details\": []\r\n }\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '514' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:29:39 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 85a550c4-5e22-40a1-8fd2-54c020670958 - x-ms-ratelimit-remaining-subscription-writes: - - '1196' - status: - code: 400 - message: Bad Request -version: 1 diff --git a/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_watcher.test_network_watcher_monitor.yaml b/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_watcher.test_network_watcher_monitor.yaml deleted file mode 100644 index f11fae38ed3b..000000000000 --- a/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_watcher.test_network_watcher_monitor.yaml +++ /dev/null @@ -1,852 +0,0 @@ -interactions: -- request: - body: '{"location": "eastus", "properties": {"addressSpace": {"addressPrefixes": - ["10.0.0.0/16"]}}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '92' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkc749182d?api-version=2020-11-01 - response: - body: - string: "{\r\n \"name\": \"virtualnetworkc749182d\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkc749182d\"\ - ,\r\n \"etag\": \"W/\\\"b7a94633-01b3-4fe6-9b8d-5f7e7fbdd4ae\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ - \ \"resourceGuid\": \"9d4f6013-1109-47d8-b7b0-bd5f70b390b7\",\r\n \"\ - addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\ - \r\n ]\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ - : [],\r\n \"enableDdosProtection\": false\r\n }\r\n}" - headers: - azure-asyncnotification: - - Enabled - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/b6c9d64e-5838-4ebb-82db-2ccb54bf894f?api-version=2020-11-01 - cache-control: - - no-cache - content-length: - - '697' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:29:57 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - c9381497-3732-4d2b-a726-f9744ec36791 - x-ms-ratelimit-remaining-subscription-writes: - - '1195' - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/b6c9d64e-5838-4ebb-82db-2ccb54bf894f?api-version=2020-11-01 - response: - body: - string: "{\r\n \"status\": \"Succeeded\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '29' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:30:00 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - ace3bed8-7dfd-4915-b8d9-8bb6c00ccb1b - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkc749182d?api-version=2020-11-01 - response: - body: - string: "{\r\n \"name\": \"virtualnetworkc749182d\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkc749182d\"\ - ,\r\n \"etag\": \"W/\\\"2c5dc642-89f8-4218-80ec-f11b05e30c36\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n\ - \ \"resourceGuid\": \"9d4f6013-1109-47d8-b7b0-bd5f70b390b7\",\r\n \"\ - addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\ - \r\n ]\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ - : [],\r\n \"enableDdosProtection\": false\r\n }\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '698' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:30:00 GMT - etag: - - W/"2c5dc642-89f8-4218-80ec-f11b05e30c36" - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 87ab9741-955f-4727-82e7-92fb4e8dea2c - status: - code: 200 - message: OK -- request: - body: '{"properties": {"addressPrefix": "10.0.0.0/24"}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '48' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkc749182d/subnets/subnetc749182d?api-version=2020-11-01 - response: - body: - string: "{\r\n \"name\": \"subnetc749182d\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkc749182d/subnets/subnetc749182d\"\ - ,\r\n \"etag\": \"W/\\\"c8ea25f8-98ef-4b23-8f73-6a94b5932feb\\\"\",\r\n \ - \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"\ - addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\"\ - : \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\ - \n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/a32314be-ef71-42a1-9037-11b8cc86993a?api-version=2020-11-01 - cache-control: - - no-cache - content-length: - - '616' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:30:01 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 4a462711-f281-4ae3-bf5e-78f7aaeef8e2 - x-ms-ratelimit-remaining-subscription-writes: - - '1195' - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/a32314be-ef71-42a1-9037-11b8cc86993a?api-version=2020-11-01 - response: - body: - string: "{\r\n \"status\": \"Succeeded\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '29' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:30:05 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 251057c5-3f7c-4846-b97b-4e99149d7b8c - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkc749182d/subnets/subnetc749182d?api-version=2020-11-01 - response: - body: - string: "{\r\n \"name\": \"subnetc749182d\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkc749182d/subnets/subnetc749182d\"\ - ,\r\n \"etag\": \"W/\\\"8c9be41e-4d20-4735-9eda-1c14f7ffffcc\\\"\",\r\n \ - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\ - addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\"\ - : \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\ - \n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '617' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:30:05 GMT - etag: - - W/"8c9be41e-4d20-4735-9eda-1c14f7ffffcc" - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - f3381387-3951-4e15-87b2-d9f540b6fcad - status: - code: 200 - message: OK -- request: - body: '{"location": "eastus", "properties": {"ipConfigurations": [{"name": "MyIpConfig", - "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkc749182d/subnets/subnetc749182d"}}}]}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '354' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/interfacec749182d?api-version=2020-11-01 - response: - body: - string: "{\r\n \"name\": \"interfacec749182d\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/interfacec749182d\"\ - ,\r\n \"etag\": \"W/\\\"97f3e7fd-20a6-465c-8d1b-49d059409900\\\"\",\r\n \ - \ \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\"\ - : \"Succeeded\",\r\n \"resourceGuid\": \"348ea711-9d21-47bd-8e9b-8bb563c18b08\"\ - ,\r\n \"ipConfigurations\": [\r\n {\r\n \"name\": \"MyIpConfig\"\ - ,\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/interfacec749182d/ipConfigurations/MyIpConfig\"\ - ,\r\n \"etag\": \"W/\\\"97f3e7fd-20a6-465c-8d1b-49d059409900\\\"\"\ - ,\r\n \"type\": \"Microsoft.Network/networkInterfaces/ipConfigurations\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"privateIPAddress\": \"10.0.0.4\",\r\n \"privateIPAllocationMethod\"\ - : \"Dynamic\",\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkc749182d/subnets/subnetc749182d\"\ - \r\n },\r\n \"primary\": true,\r\n \"privateIPAddressVersion\"\ - : \"IPv4\"\r\n }\r\n }\r\n ],\r\n \"dnsSettings\": {\r\n\ - \ \"dnsServers\": [],\r\n \"appliedDnsServers\": [],\r\n \"\ - internalDomainNameSuffix\": \"cnqe5hijchmepn3qxvpxbm2qwh.bx.internal.cloudapp.net\"\ - \r\n },\r\n \"enableAcceleratedNetworking\": false,\r\n \"enableIPForwarding\"\ - : false,\r\n \"hostedWorkloads\": [],\r\n \"tapConfigurations\": [],\r\ - \n \"nicType\": \"Standard\"\r\n },\r\n \"type\": \"Microsoft.Network/networkInterfaces\"\ - \r\n}" - headers: - azure-asyncnotification: - - Enabled - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/54c8c973-372e-438f-b276-211dd8c96283?api-version=2020-11-01 - cache-control: - - no-cache - content-length: - - '1861' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:30:10 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 1a67c524-e030-4faf-85e5-895d0aa23f8c - x-ms-ratelimit-remaining-subscription-writes: - - '1194' - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/54c8c973-372e-438f-b276-211dd8c96283?api-version=2020-11-01 - response: - body: - string: "{\r\n \"status\": \"Succeeded\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '29' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:30:40 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 7dab3e14-2e42-474b-84d9-8f39cafabc55 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/interfacec749182d?api-version=2020-11-01 - response: - body: - string: "{\r\n \"name\": \"interfacec749182d\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/interfacec749182d\"\ - ,\r\n \"etag\": \"W/\\\"97f3e7fd-20a6-465c-8d1b-49d059409900\\\"\",\r\n \ - \ \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\"\ - : \"Succeeded\",\r\n \"resourceGuid\": \"348ea711-9d21-47bd-8e9b-8bb563c18b08\"\ - ,\r\n \"ipConfigurations\": [\r\n {\r\n \"name\": \"MyIpConfig\"\ - ,\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/interfacec749182d/ipConfigurations/MyIpConfig\"\ - ,\r\n \"etag\": \"W/\\\"97f3e7fd-20a6-465c-8d1b-49d059409900\\\"\"\ - ,\r\n \"type\": \"Microsoft.Network/networkInterfaces/ipConfigurations\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"privateIPAddress\": \"10.0.0.4\",\r\n \"privateIPAllocationMethod\"\ - : \"Dynamic\",\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetworkc749182d/subnets/subnetc749182d\"\ - \r\n },\r\n \"primary\": true,\r\n \"privateIPAddressVersion\"\ - : \"IPv4\"\r\n }\r\n }\r\n ],\r\n \"dnsSettings\": {\r\n\ - \ \"dnsServers\": [],\r\n \"appliedDnsServers\": [],\r\n \"\ - internalDomainNameSuffix\": \"cnqe5hijchmepn3qxvpxbm2qwh.bx.internal.cloudapp.net\"\ - \r\n },\r\n \"enableAcceleratedNetworking\": false,\r\n \"enableIPForwarding\"\ - : false,\r\n \"hostedWorkloads\": [],\r\n \"tapConfigurations\": [],\r\ - \n \"nicType\": \"Standard\"\r\n },\r\n \"type\": \"Microsoft.Network/networkInterfaces\"\ - \r\n}" - headers: - cache-control: - - no-cache - content-length: - - '1861' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:30:40 GMT - etag: - - W/"97f3e7fd-20a6-465c-8d1b-49d059409900" - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - df492194-dcb6-4f7d-9224-590c6454c6b1 - status: - code: 200 - message: OK -- request: - body: '{"location": "eastus", "properties": {"hardwareProfile": {"vmSize": "Standard_D2_v2"}, - "storageProfile": {"imageReference": {"publisher": "MicrosoftWindowsServer", - "offer": "WindowsServer", "sku": "2016-Datacenter", "version": "latest"}, "osDisk": - {"name": "myVMosdisk", "caching": "ReadWrite", "createOption": "FromImage", - "managedDisk": {"storageAccountType": "Standard_LRS"}}, "dataDisks": [{"lun": - 0, "createOption": "Empty", "diskSizeGB": 1023}, {"lun": 1, "createOption": - "Empty", "diskSizeGB": 1023}]}, "osProfile": {"computerName": "myVM", "adminUsername": - "testuser", "adminPassword": "Aa1!zyx_", "windowsConfiguration": {"enableAutomaticUpdates": - true}}, "networkProfile": {"networkInterfaces": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/interfacec749182d", - "properties": {"primary": true}}]}}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '959' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azure-mgmt-compute/19.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Compute/virtualMachines/virtualmachinec749182d?api-version=2020-12-01 - response: - body: - string: "{\r\n \"name\": \"virtualmachinec749182d\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Compute/virtualMachines/virtualmachinec749182d\"\ - ,\r\n \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\"\ - : \"eastus\",\r\n \"tags\": {\r\n \"platformsettings.host_environment.service.platform_optedin_for_rootcerts\"\ - : \"true\"\r\n },\r\n \"properties\": {\r\n \"vmId\": \"74548ade-2386-4172-9782-378d7aeb518a\"\ - ,\r\n \"hardwareProfile\": {\r\n \"vmSize\": \"Standard_D2_v2\"\r\n\ - \ },\r\n \"storageProfile\": {\r\n \"imageReference\": {\r\n \ - \ \"publisher\": \"MicrosoftWindowsServer\",\r\n \"offer\": \"\ - WindowsServer\",\r\n \"sku\": \"2016-Datacenter\",\r\n \"version\"\ - : \"latest\",\r\n \"exactVersion\": \"14393.4225.2102030345\"\r\n \ - \ },\r\n \"osDisk\": {\r\n \"osType\": \"Windows\",\r\n \ - \ \"name\": \"myVMosdisk\",\r\n \"createOption\": \"FromImage\"\ - ,\r\n \"caching\": \"ReadWrite\",\r\n \"managedDisk\": {\r\n\ - \ \"storageAccountType\": \"Standard_LRS\"\r\n },\r\n \ - \ \"diskSizeGB\": 127\r\n },\r\n \"dataDisks\": [\r\n \ - \ {\r\n \"lun\": 0,\r\n \"createOption\": \"Empty\",\r\n\ - \ \"caching\": \"None\",\r\n \"managedDisk\": {\r\n \ - \ \"storageAccountType\": \"Standard_LRS\"\r\n },\r\n \ - \ \"diskSizeGB\": 1023,\r\n \"toBeDetached\": false\r\n \ - \ },\r\n {\r\n \"lun\": 1,\r\n \"createOption\"\ - : \"Empty\",\r\n \"caching\": \"None\",\r\n \"managedDisk\"\ - : {\r\n \"storageAccountType\": \"Standard_LRS\"\r\n },\r\ - \n \"diskSizeGB\": 1023,\r\n \"toBeDetached\": false\r\n\ - \ }\r\n ]\r\n },\r\n \"osProfile\": {\r\n \"computerName\"\ - : \"myVM\",\r\n \"adminUsername\": \"testuser\",\r\n \"windowsConfiguration\"\ - : {\r\n \"provisionVMAgent\": true,\r\n \"enableAutomaticUpdates\"\ - : true,\r\n \"patchSettings\": {\r\n \"patchMode\": \"AutomaticByOS\"\ - \r\n }\r\n },\r\n \"secrets\": [],\r\n \"allowExtensionOperations\"\ - : true,\r\n \"requireGuestProvisionSignal\": true\r\n },\r\n \"\ - networkProfile\": {\"networkInterfaces\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/interfacec749182d\"\ - ,\"properties\":{\"primary\":true}}]},\r\n \"provisioningState\": \"Creating\"\ - \r\n }\r\n}" - headers: - azure-asyncnotification: - - Enabled - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/operations/fbe87654-3d7e-4bd8-8630-13b01a60fa4e?api-version=2020-12-01 - cache-control: - - no-cache - content-length: - - '2421' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:30:53 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/PutVM3Min;239,Microsoft.Compute/PutVM30Min;1197 - x-ms-ratelimit-remaining-subscription-writes: - - '1199' - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-compute/19.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/operations/fbe87654-3d7e-4bd8-8630-13b01a60fa4e?api-version=2020-12-01 - response: - body: - string: "{\r\n \"startTime\": \"2021-03-09T08:30:51.0779086+00:00\",\r\n \"\ - status\": \"InProgress\",\r\n \"name\": \"fbe87654-3d7e-4bd8-8630-13b01a60fa4e\"\ - \r\n}" - headers: - cache-control: - - no-cache - content-length: - - '134' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:31:03 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14995,Microsoft.Compute/GetOperation30Min;29984 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-compute/19.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/operations/fbe87654-3d7e-4bd8-8630-13b01a60fa4e?api-version=2020-12-01 - response: - body: - string: "{\r\n \"startTime\": \"2021-03-09T08:30:51.0779086+00:00\",\r\n \"\ - status\": \"InProgress\",\r\n \"name\": \"fbe87654-3d7e-4bd8-8630-13b01a60fa4e\"\ - \r\n}" - headers: - cache-control: - - no-cache - content-length: - - '134' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:31:54 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14995,Microsoft.Compute/GetOperation30Min;29982 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-compute/19.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/operations/fbe87654-3d7e-4bd8-8630-13b01a60fa4e?api-version=2020-12-01 - response: - body: - string: "{\r\n \"startTime\": \"2021-03-09T08:30:51.0779086+00:00\",\r\n \"\ - endTime\": \"2021-03-09T08:32:05.0782919+00:00\",\r\n \"status\": \"Succeeded\"\ - ,\r\n \"name\": \"fbe87654-3d7e-4bd8-8630-13b01a60fa4e\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '184' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:32:24 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14993,Microsoft.Compute/GetOperation30Min;29980 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-compute/19.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Compute/virtualMachines/virtualmachinec749182d?api-version=2020-12-01 - response: - body: - string: "{\r\n \"name\": \"virtualmachinec749182d\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Compute/virtualMachines/virtualmachinec749182d\"\ - ,\r\n \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\"\ - : \"eastus\",\r\n \"tags\": {\r\n \"platformsettings.host_environment.service.platform_optedin_for_rootcerts\"\ - : \"true\"\r\n },\r\n \"properties\": {\r\n \"vmId\": \"74548ade-2386-4172-9782-378d7aeb518a\"\ - ,\r\n \"hardwareProfile\": {\r\n \"vmSize\": \"Standard_D2_v2\"\r\n\ - \ },\r\n \"storageProfile\": {\r\n \"imageReference\": {\r\n \ - \ \"publisher\": \"MicrosoftWindowsServer\",\r\n \"offer\": \"\ - WindowsServer\",\r\n \"sku\": \"2016-Datacenter\",\r\n \"version\"\ - : \"latest\",\r\n \"exactVersion\": \"14393.4225.2102030345\"\r\n \ - \ },\r\n \"osDisk\": {\r\n \"osType\": \"Windows\",\r\n \ - \ \"name\": \"myVMosdisk\",\r\n \"createOption\": \"FromImage\"\ - ,\r\n \"caching\": \"ReadWrite\",\r\n \"managedDisk\": {\r\n\ - \ \"storageAccountType\": \"Standard_LRS\",\r\n \"id\":\ - \ \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Compute/disks/myVMosdisk\"\ - \r\n },\r\n \"diskSizeGB\": 127\r\n },\r\n \"dataDisks\"\ - : [\r\n {\r\n \"lun\": 0,\r\n \"name\": \"virtualmachinec749182d_disk2_fe618e59899c47818af5ca8a48e6944e\"\ - ,\r\n \"createOption\": \"Empty\",\r\n \"caching\": \"None\"\ - ,\r\n \"managedDisk\": {\r\n \"storageAccountType\": \"\ - Standard_LRS\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Compute/disks/virtualmachinec749182d_disk2_fe618e59899c47818af5ca8a48e6944e\"\ - \r\n },\r\n \"diskSizeGB\": 1023,\r\n \"toBeDetached\"\ - : false\r\n },\r\n {\r\n \"lun\": 1,\r\n \"\ - name\": \"virtualmachinec749182d_disk3_c3a2c6ff53654e88ae11680680b6481f\"\ - ,\r\n \"createOption\": \"Empty\",\r\n \"caching\": \"None\"\ - ,\r\n \"managedDisk\": {\r\n \"storageAccountType\": \"\ - Standard_LRS\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Compute/disks/virtualmachinec749182d_disk3_c3a2c6ff53654e88ae11680680b6481f\"\ - \r\n },\r\n \"diskSizeGB\": 1023,\r\n \"toBeDetached\"\ - : false\r\n }\r\n ]\r\n },\r\n \"osProfile\": {\r\n \ - \ \"computerName\": \"myVM\",\r\n \"adminUsername\": \"testuser\",\r\ - \n \"windowsConfiguration\": {\r\n \"provisionVMAgent\": true,\r\ - \n \"enableAutomaticUpdates\": true,\r\n \"patchSettings\":\ - \ {\r\n \"patchMode\": \"AutomaticByOS\"\r\n }\r\n },\r\ - \n \"secrets\": [],\r\n \"allowExtensionOperations\": true,\r\n\ - \ \"requireGuestProvisionSignal\": true\r\n },\r\n \"networkProfile\"\ - : {\"networkInterfaces\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/interfacec749182d\"\ - ,\"properties\":{\"primary\":true}}]},\r\n \"provisioningState\": \"Succeeded\"\ - \r\n }\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '3320' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:32:24 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;3997,Microsoft.Compute/LowCostGet30Min;31984 - status: - code: 200 - message: OK -- request: - body: '{"location": "eastus", "properties": {"publisher": "Microsoft.Azure.NetworkWatcher", - "typeHandlerVersion": "1.4", "autoUpgradeMinorVersion": true}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '147' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azure-mgmt-compute/19.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Compute/virtualMachines/virtualmachinec749182d/extensions/virtualmachineextensionc749182d?api-version=2020-12-01 - response: - body: - string: "{\r\n \"error\": {\r\n \"code\": \"InvalidParameter\",\r\n \"\ - message\": \"The value of parameter type is invalid.\",\r\n \"target\"\ - : \"type\"\r\n }\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '137' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:32:33 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/UpdateVM3Min;239,Microsoft.Compute/UpdateVM30Min;1198 - x-ms-ratelimit-remaining-subscription-writes: - - '1198' - status: - code: 400 - message: Bad Request -version: 1 diff --git a/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_watcher.test_network_watcher_packet_capture.yaml b/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_watcher.test_network_watcher_packet_capture.yaml deleted file mode 100644 index d29fda4470ef..000000000000 --- a/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_watcher.test_network_watcher_packet_capture.yaml +++ /dev/null @@ -1,852 +0,0 @@ -interactions: -- request: - body: '{"location": "eastus", "properties": {"addressSpace": {"addressPrefixes": - ["10.0.0.0/16"]}}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '92' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork7a3b1af0?api-version=2020-11-01 - response: - body: - string: "{\r\n \"name\": \"virtualnetwork7a3b1af0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork7a3b1af0\"\ - ,\r\n \"etag\": \"W/\\\"8a8d89ec-b6ea-4ccf-920f-f5b186fc34d0\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ - \ \"resourceGuid\": \"0e6c2cd9-aad8-412e-a47e-c9e3a492bd83\",\r\n \"\ - addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\ - \r\n ]\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ - : [],\r\n \"enableDdosProtection\": false\r\n }\r\n}" - headers: - azure-asyncnotification: - - Enabled - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/ead36917-0e55-4e88-a5f3-8b89a8f75ce3?api-version=2020-11-01 - cache-control: - - no-cache - content-length: - - '697' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:32:54 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - fee5ab08-e772-48ef-8277-49eb62efc6e1 - x-ms-ratelimit-remaining-subscription-writes: - - '1197' - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/ead36917-0e55-4e88-a5f3-8b89a8f75ce3?api-version=2020-11-01 - response: - body: - string: "{\r\n \"status\": \"Succeeded\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '29' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:32:57 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - eb3b0b1d-6d87-4e8b-813e-d5cea4492d6f - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork7a3b1af0?api-version=2020-11-01 - response: - body: - string: "{\r\n \"name\": \"virtualnetwork7a3b1af0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork7a3b1af0\"\ - ,\r\n \"etag\": \"W/\\\"08e3e989-c679-4ce6-8865-a199eca4d3da\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n\ - \ \"resourceGuid\": \"0e6c2cd9-aad8-412e-a47e-c9e3a492bd83\",\r\n \"\ - addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\ - \r\n ]\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ - : [],\r\n \"enableDdosProtection\": false\r\n }\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '698' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:32:57 GMT - etag: - - W/"08e3e989-c679-4ce6-8865-a199eca4d3da" - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - df5a21d7-ef29-4dbb-8c1f-726ba29c7c19 - status: - code: 200 - message: OK -- request: - body: '{"properties": {"addressPrefix": "10.0.0.0/24"}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '48' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork7a3b1af0/subnets/subnet7a3b1af0?api-version=2020-11-01 - response: - body: - string: "{\r\n \"name\": \"subnet7a3b1af0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork7a3b1af0/subnets/subnet7a3b1af0\"\ - ,\r\n \"etag\": \"W/\\\"5d9f1b41-df75-4b83-b0d5-998313a4ecbc\\\"\",\r\n \ - \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"\ - addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\"\ - : \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\ - \n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/81de6013-4ef3-4754-9d87-864ac3b14e8b?api-version=2020-11-01 - cache-control: - - no-cache - content-length: - - '616' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:32:58 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - b5d0d3e7-1bf7-46bb-85b9-3b5f4fe3f5d5 - x-ms-ratelimit-remaining-subscription-writes: - - '1196' - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/81de6013-4ef3-4754-9d87-864ac3b14e8b?api-version=2020-11-01 - response: - body: - string: "{\r\n \"status\": \"Succeeded\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '29' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:33:01 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - be252653-958d-424e-8425-7bc3dd70800f - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork7a3b1af0/subnets/subnet7a3b1af0?api-version=2020-11-01 - response: - body: - string: "{\r\n \"name\": \"subnet7a3b1af0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork7a3b1af0/subnets/subnet7a3b1af0\"\ - ,\r\n \"etag\": \"W/\\\"8f1f77d2-51e7-4cab-ace0-e2466dd12bf3\\\"\",\r\n \ - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\ - addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\"\ - : \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\ - \n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '617' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:33:02 GMT - etag: - - W/"8f1f77d2-51e7-4cab-ace0-e2466dd12bf3" - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 6a8b7861-2713-4586-82ea-07933f1a5a42 - status: - code: 200 - message: OK -- request: - body: '{"location": "eastus", "properties": {"ipConfigurations": [{"name": "MyIpConfig", - "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork7a3b1af0/subnets/subnet7a3b1af0"}}}]}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '354' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/interface7a3b1af0?api-version=2020-11-01 - response: - body: - string: "{\r\n \"name\": \"interface7a3b1af0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/interface7a3b1af0\"\ - ,\r\n \"etag\": \"W/\\\"4fd69db1-fd43-4e24-a6a6-b5016abce6aa\\\"\",\r\n \ - \ \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\"\ - : \"Succeeded\",\r\n \"resourceGuid\": \"a45bb24d-7823-4556-a5ee-8f2cc15468fb\"\ - ,\r\n \"ipConfigurations\": [\r\n {\r\n \"name\": \"MyIpConfig\"\ - ,\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/interface7a3b1af0/ipConfigurations/MyIpConfig\"\ - ,\r\n \"etag\": \"W/\\\"4fd69db1-fd43-4e24-a6a6-b5016abce6aa\\\"\"\ - ,\r\n \"type\": \"Microsoft.Network/networkInterfaces/ipConfigurations\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"privateIPAddress\": \"10.0.0.4\",\r\n \"privateIPAllocationMethod\"\ - : \"Dynamic\",\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork7a3b1af0/subnets/subnet7a3b1af0\"\ - \r\n },\r\n \"primary\": true,\r\n \"privateIPAddressVersion\"\ - : \"IPv4\"\r\n }\r\n }\r\n ],\r\n \"dnsSettings\": {\r\n\ - \ \"dnsServers\": [],\r\n \"appliedDnsServers\": [],\r\n \"\ - internalDomainNameSuffix\": \"1ewgydwyvixedjd4zhr0jev3qd.bx.internal.cloudapp.net\"\ - \r\n },\r\n \"enableAcceleratedNetworking\": false,\r\n \"enableIPForwarding\"\ - : false,\r\n \"hostedWorkloads\": [],\r\n \"tapConfigurations\": [],\r\ - \n \"nicType\": \"Standard\"\r\n },\r\n \"type\": \"Microsoft.Network/networkInterfaces\"\ - \r\n}" - headers: - azure-asyncnotification: - - Enabled - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/37946045-412d-4699-a75d-0c41242f9ae7?api-version=2020-11-01 - cache-control: - - no-cache - content-length: - - '1861' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:33:07 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 9c958aea-4172-40b1-a23b-8cd2055c46df - x-ms-ratelimit-remaining-subscription-writes: - - '1195' - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/37946045-412d-4699-a75d-0c41242f9ae7?api-version=2020-11-01 - response: - body: - string: "{\r\n \"status\": \"Succeeded\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '29' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:33:37 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 600917a9-6b1f-480d-beb2-5f973b6f86f5 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/interface7a3b1af0?api-version=2020-11-01 - response: - body: - string: "{\r\n \"name\": \"interface7a3b1af0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/interface7a3b1af0\"\ - ,\r\n \"etag\": \"W/\\\"4fd69db1-fd43-4e24-a6a6-b5016abce6aa\\\"\",\r\n \ - \ \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\"\ - : \"Succeeded\",\r\n \"resourceGuid\": \"a45bb24d-7823-4556-a5ee-8f2cc15468fb\"\ - ,\r\n \"ipConfigurations\": [\r\n {\r\n \"name\": \"MyIpConfig\"\ - ,\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/interface7a3b1af0/ipConfigurations/MyIpConfig\"\ - ,\r\n \"etag\": \"W/\\\"4fd69db1-fd43-4e24-a6a6-b5016abce6aa\\\"\"\ - ,\r\n \"type\": \"Microsoft.Network/networkInterfaces/ipConfigurations\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"privateIPAddress\": \"10.0.0.4\",\r\n \"privateIPAllocationMethod\"\ - : \"Dynamic\",\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualnetwork7a3b1af0/subnets/subnet7a3b1af0\"\ - \r\n },\r\n \"primary\": true,\r\n \"privateIPAddressVersion\"\ - : \"IPv4\"\r\n }\r\n }\r\n ],\r\n \"dnsSettings\": {\r\n\ - \ \"dnsServers\": [],\r\n \"appliedDnsServers\": [],\r\n \"\ - internalDomainNameSuffix\": \"1ewgydwyvixedjd4zhr0jev3qd.bx.internal.cloudapp.net\"\ - \r\n },\r\n \"enableAcceleratedNetworking\": false,\r\n \"enableIPForwarding\"\ - : false,\r\n \"hostedWorkloads\": [],\r\n \"tapConfigurations\": [],\r\ - \n \"nicType\": \"Standard\"\r\n },\r\n \"type\": \"Microsoft.Network/networkInterfaces\"\ - \r\n}" - headers: - cache-control: - - no-cache - content-length: - - '1861' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:33:37 GMT - etag: - - W/"4fd69db1-fd43-4e24-a6a6-b5016abce6aa" - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 5227b724-0e93-47f6-8305-194b274fe662 - status: - code: 200 - message: OK -- request: - body: '{"location": "eastus", "properties": {"hardwareProfile": {"vmSize": "Standard_D2_v2"}, - "storageProfile": {"imageReference": {"publisher": "MicrosoftWindowsServer", - "offer": "WindowsServer", "sku": "2016-Datacenter", "version": "latest"}, "osDisk": - {"name": "myVMosdisk", "caching": "ReadWrite", "createOption": "FromImage", - "managedDisk": {"storageAccountType": "Standard_LRS"}}, "dataDisks": [{"lun": - 0, "createOption": "Empty", "diskSizeGB": 1023}, {"lun": 1, "createOption": - "Empty", "diskSizeGB": 1023}]}, "osProfile": {"computerName": "myVM", "adminUsername": - "testuser", "adminPassword": "Aa1!zyx_", "windowsConfiguration": {"enableAutomaticUpdates": - true}}, "networkProfile": {"networkInterfaces": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/interface7a3b1af0", - "properties": {"primary": true}}]}}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '959' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azure-mgmt-compute/19.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Compute/virtualMachines/virtualmachine7a3b1af0?api-version=2020-12-01 - response: - body: - string: "{\r\n \"name\": \"virtualmachine7a3b1af0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Compute/virtualMachines/virtualmachine7a3b1af0\"\ - ,\r\n \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\"\ - : \"eastus\",\r\n \"tags\": {\r\n \"platformsettings.host_environment.service.platform_optedin_for_rootcerts\"\ - : \"true\"\r\n },\r\n \"properties\": {\r\n \"vmId\": \"8205333c-f156-4c44-bbcf-8e221a729039\"\ - ,\r\n \"hardwareProfile\": {\r\n \"vmSize\": \"Standard_D2_v2\"\r\n\ - \ },\r\n \"storageProfile\": {\r\n \"imageReference\": {\r\n \ - \ \"publisher\": \"MicrosoftWindowsServer\",\r\n \"offer\": \"\ - WindowsServer\",\r\n \"sku\": \"2016-Datacenter\",\r\n \"version\"\ - : \"latest\",\r\n \"exactVersion\": \"14393.4225.2102030345\"\r\n \ - \ },\r\n \"osDisk\": {\r\n \"osType\": \"Windows\",\r\n \ - \ \"name\": \"myVMosdisk\",\r\n \"createOption\": \"FromImage\"\ - ,\r\n \"caching\": \"ReadWrite\",\r\n \"managedDisk\": {\r\n\ - \ \"storageAccountType\": \"Standard_LRS\"\r\n },\r\n \ - \ \"diskSizeGB\": 127\r\n },\r\n \"dataDisks\": [\r\n \ - \ {\r\n \"lun\": 0,\r\n \"createOption\": \"Empty\",\r\n\ - \ \"caching\": \"None\",\r\n \"managedDisk\": {\r\n \ - \ \"storageAccountType\": \"Standard_LRS\"\r\n },\r\n \ - \ \"diskSizeGB\": 1023,\r\n \"toBeDetached\": false\r\n \ - \ },\r\n {\r\n \"lun\": 1,\r\n \"createOption\"\ - : \"Empty\",\r\n \"caching\": \"None\",\r\n \"managedDisk\"\ - : {\r\n \"storageAccountType\": \"Standard_LRS\"\r\n },\r\ - \n \"diskSizeGB\": 1023,\r\n \"toBeDetached\": false\r\n\ - \ }\r\n ]\r\n },\r\n \"osProfile\": {\r\n \"computerName\"\ - : \"myVM\",\r\n \"adminUsername\": \"testuser\",\r\n \"windowsConfiguration\"\ - : {\r\n \"provisionVMAgent\": true,\r\n \"enableAutomaticUpdates\"\ - : true,\r\n \"patchSettings\": {\r\n \"patchMode\": \"AutomaticByOS\"\ - \r\n }\r\n },\r\n \"secrets\": [],\r\n \"allowExtensionOperations\"\ - : true,\r\n \"requireGuestProvisionSignal\": true\r\n },\r\n \"\ - networkProfile\": {\"networkInterfaces\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/interface7a3b1af0\"\ - ,\"properties\":{\"primary\":true}}]},\r\n \"provisioningState\": \"Creating\"\ - \r\n }\r\n}" - headers: - azure-asyncnotification: - - Enabled - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/operations/5febf497-9c18-43ff-991c-65fd09e6f9c4?api-version=2020-12-01 - cache-control: - - no-cache - content-length: - - '2421' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:33:48 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/PutVM3Min;239,Microsoft.Compute/PutVM30Min;1196 - x-ms-ratelimit-remaining-subscription-writes: - - '1198' - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-compute/19.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/operations/5febf497-9c18-43ff-991c-65fd09e6f9c4?api-version=2020-12-01 - response: - body: - string: "{\r\n \"startTime\": \"2021-03-09T08:33:45.9693592+00:00\",\r\n \"\ - status\": \"InProgress\",\r\n \"name\": \"5febf497-9c18-43ff-991c-65fd09e6f9c4\"\ - \r\n}" - headers: - cache-control: - - no-cache - content-length: - - '134' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:33:58 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14992,Microsoft.Compute/GetOperation30Min;29977 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-compute/19.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/operations/5febf497-9c18-43ff-991c-65fd09e6f9c4?api-version=2020-12-01 - response: - body: - string: "{\r\n \"startTime\": \"2021-03-09T08:33:45.9693592+00:00\",\r\n \"\ - status\": \"InProgress\",\r\n \"name\": \"5febf497-9c18-43ff-991c-65fd09e6f9c4\"\ - \r\n}" - headers: - cache-control: - - no-cache - content-length: - - '134' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:34:49 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14994,Microsoft.Compute/GetOperation30Min;29976 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-compute/19.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/operations/5febf497-9c18-43ff-991c-65fd09e6f9c4?api-version=2020-12-01 - response: - body: - string: "{\r\n \"startTime\": \"2021-03-09T08:33:45.9693592+00:00\",\r\n \"\ - endTime\": \"2021-03-09T08:35:05.5475018+00:00\",\r\n \"status\": \"Succeeded\"\ - ,\r\n \"name\": \"5febf497-9c18-43ff-991c-65fd09e6f9c4\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '184' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:35:19 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14993,Microsoft.Compute/GetOperation30Min;29975 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-compute/19.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Compute/virtualMachines/virtualmachine7a3b1af0?api-version=2020-12-01 - response: - body: - string: "{\r\n \"name\": \"virtualmachine7a3b1af0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Compute/virtualMachines/virtualmachine7a3b1af0\"\ - ,\r\n \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\"\ - : \"eastus\",\r\n \"tags\": {\r\n \"platformsettings.host_environment.service.platform_optedin_for_rootcerts\"\ - : \"true\"\r\n },\r\n \"properties\": {\r\n \"vmId\": \"8205333c-f156-4c44-bbcf-8e221a729039\"\ - ,\r\n \"hardwareProfile\": {\r\n \"vmSize\": \"Standard_D2_v2\"\r\n\ - \ },\r\n \"storageProfile\": {\r\n \"imageReference\": {\r\n \ - \ \"publisher\": \"MicrosoftWindowsServer\",\r\n \"offer\": \"\ - WindowsServer\",\r\n \"sku\": \"2016-Datacenter\",\r\n \"version\"\ - : \"latest\",\r\n \"exactVersion\": \"14393.4225.2102030345\"\r\n \ - \ },\r\n \"osDisk\": {\r\n \"osType\": \"Windows\",\r\n \ - \ \"name\": \"myVMosdisk\",\r\n \"createOption\": \"FromImage\"\ - ,\r\n \"caching\": \"ReadWrite\",\r\n \"managedDisk\": {\r\n\ - \ \"storageAccountType\": \"Standard_LRS\",\r\n \"id\":\ - \ \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Compute/disks/myVMosdisk\"\ - \r\n },\r\n \"diskSizeGB\": 127\r\n },\r\n \"dataDisks\"\ - : [\r\n {\r\n \"lun\": 0,\r\n \"name\": \"virtualmachine7a3b1af0_disk2_97379d85b4084837a17bb92d87868628\"\ - ,\r\n \"createOption\": \"Empty\",\r\n \"caching\": \"None\"\ - ,\r\n \"managedDisk\": {\r\n \"storageAccountType\": \"\ - Standard_LRS\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Compute/disks/virtualmachine7a3b1af0_disk2_97379d85b4084837a17bb92d87868628\"\ - \r\n },\r\n \"diskSizeGB\": 1023,\r\n \"toBeDetached\"\ - : false\r\n },\r\n {\r\n \"lun\": 1,\r\n \"\ - name\": \"virtualmachine7a3b1af0_disk3_9a818494e82c46c28590a6ee580c3c74\"\ - ,\r\n \"createOption\": \"Empty\",\r\n \"caching\": \"None\"\ - ,\r\n \"managedDisk\": {\r\n \"storageAccountType\": \"\ - Standard_LRS\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Compute/disks/virtualmachine7a3b1af0_disk3_9a818494e82c46c28590a6ee580c3c74\"\ - \r\n },\r\n \"diskSizeGB\": 1023,\r\n \"toBeDetached\"\ - : false\r\n }\r\n ]\r\n },\r\n \"osProfile\": {\r\n \ - \ \"computerName\": \"myVM\",\r\n \"adminUsername\": \"testuser\",\r\ - \n \"windowsConfiguration\": {\r\n \"provisionVMAgent\": true,\r\ - \n \"enableAutomaticUpdates\": true,\r\n \"patchSettings\":\ - \ {\r\n \"patchMode\": \"AutomaticByOS\"\r\n }\r\n },\r\ - \n \"secrets\": [],\r\n \"allowExtensionOperations\": true,\r\n\ - \ \"requireGuestProvisionSignal\": true\r\n },\r\n \"networkProfile\"\ - : {\"networkInterfaces\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/interface7a3b1af0\"\ - ,\"properties\":{\"primary\":true}}]},\r\n \"provisioningState\": \"Succeeded\"\ - \r\n }\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '3320' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:35:20 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;3997,Microsoft.Compute/LowCostGet30Min;31986 - status: - code: 200 - message: OK -- request: - body: '{"location": "eastus", "properties": {"publisher": "Microsoft.Azure.NetworkWatcher", - "typeHandlerVersion": "1.4", "autoUpgradeMinorVersion": true}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '147' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azure-mgmt-compute/19.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Compute/virtualMachines/virtualmachine7a3b1af0/extensions/virtualmachineextension7a3b1af0?api-version=2020-12-01 - response: - body: - string: "{\r\n \"error\": {\r\n \"code\": \"InvalidParameter\",\r\n \"\ - message\": \"The value of parameter type is invalid.\",\r\n \"target\"\ - : \"type\"\r\n }\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '137' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:35:29 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/UpdateVM3Min;239,Microsoft.Compute/UpdateVM30Min;1197 - x-ms-ratelimit-remaining-subscription-writes: - - '1197' - status: - code: 400 - message: Bad Request -version: 1 diff --git a/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_watcher.test_network_watcher_troubleshoot.yaml b/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_watcher.test_network_watcher_troubleshoot.yaml deleted file mode 100644 index 76f346806394..000000000000 --- a/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_watcher.test_network_watcher_troubleshoot.yaml +++ /dev/null @@ -1,528 +0,0 @@ -interactions: -- request: - body: '{"location": "eastus", "properties": {"addressSpace": {"addressPrefixes": - ["10.0.0.0/16"]}}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '92' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualmachine46af1a4f?api-version=2020-11-01 - response: - body: - string: "{\r\n \"name\": \"virtualmachine46af1a4f\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualmachine46af1a4f\"\ - ,\r\n \"etag\": \"W/\\\"4faf48fe-c833-482f-9899-500be175ec8c\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ - \ \"resourceGuid\": \"2c0807a5-a293-4b63-bb4a-3b126ffd370a\",\r\n \"\ - addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\ - \r\n ]\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ - : [],\r\n \"enableDdosProtection\": false\r\n }\r\n}" - headers: - azure-asyncnotification: - - Enabled - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/29e15ee4-ba29-4fd6-bfe4-10bc68acb060?api-version=2020-11-01 - cache-control: - - no-cache - content-length: - - '697' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:35:48 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 3eed7bed-2fba-4b92-9333-096a46d61b54 - x-ms-ratelimit-remaining-subscription-writes: - - '1195' - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/29e15ee4-ba29-4fd6-bfe4-10bc68acb060?api-version=2020-11-01 - response: - body: - string: "{\r\n \"status\": \"Succeeded\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '29' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:35:52 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 6643dca9-19a7-4ba3-a53d-721630068f79 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualmachine46af1a4f?api-version=2020-11-01 - response: - body: - string: "{\r\n \"name\": \"virtualmachine46af1a4f\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualmachine46af1a4f\"\ - ,\r\n \"etag\": \"W/\\\"a2ff6e4c-be76-4c28-a00c-fdce66c09d32\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n\ - \ \"resourceGuid\": \"2c0807a5-a293-4b63-bb4a-3b126ffd370a\",\r\n \"\ - addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\ - \r\n ]\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ - : [],\r\n \"enableDdosProtection\": false\r\n }\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '698' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:35:52 GMT - etag: - - W/"a2ff6e4c-be76-4c28-a00c-fdce66c09d32" - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 18c414f6-8611-4cb2-89b3-9bfe5ebdb16b - status: - code: 200 - message: OK -- request: - body: '{"properties": {"addressPrefix": "10.0.0.0/24"}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '48' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualmachine46af1a4f/subnets/GatewaySubnet?api-version=2020-11-01 - response: - body: - string: "{\r\n \"name\": \"GatewaySubnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualmachine46af1a4f/subnets/GatewaySubnet\"\ - ,\r\n \"etag\": \"W/\\\"62b4f528-c9c9-4b10-aa1c-0fca221c95c4\\\"\",\r\n \ - \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"\ - addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\"\ - : \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\ - \n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/75dfa232-0373-471c-9f2a-fd8a299fe760?api-version=2020-11-01 - cache-control: - - no-cache - content-length: - - '614' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:35:53 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 88d78672-24cc-48e2-9b38-a80cf11dd174 - x-ms-ratelimit-remaining-subscription-writes: - - '1194' - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/75dfa232-0373-471c-9f2a-fd8a299fe760?api-version=2020-11-01 - response: - body: - string: "{\r\n \"status\": \"Succeeded\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '29' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:35:57 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - cc38856e-b619-49e5-9d1c-39ab0d8baee2 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualmachine46af1a4f/subnets/GatewaySubnet?api-version=2020-11-01 - response: - body: - string: "{\r\n \"name\": \"GatewaySubnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualmachine46af1a4f/subnets/GatewaySubnet\"\ - ,\r\n \"etag\": \"W/\\\"e53a62a0-8d50-4d33-abc8-db3a1ccf94e3\\\"\",\r\n \ - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\ - addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\"\ - : \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\ - \n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '615' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:35:57 GMT - etag: - - W/"e53a62a0-8d50-4d33-abc8-db3a1ccf94e3" - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 9608658f-6192-4c1e-b2b8-259894a9b63a - status: - code: 200 - message: OK -- request: - body: '{"location": "eastus", "sku": {"name": "Standard"}, "properties": {"publicIPAllocationMethod": - "Static", "publicIPAddressVersion": "IPv4", "idleTimeoutInMinutes": 10}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '167' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipaddress46af1a4f?api-version=2020-11-01 - response: - body: - string: "{\r\n \"name\": \"publicipaddress46af1a4f\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipaddress46af1a4f\"\ - ,\r\n \"etag\": \"W/\\\"81f7904e-0786-441a-83de-111368cabe5b\\\"\",\r\n \ - \ \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\"\ - : \"Updating\",\r\n \"resourceGuid\": \"d600a864-2412-4e4b-8a64-21adf4d82de8\"\ - ,\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n \"publicIPAllocationMethod\"\ - : \"Static\",\r\n \"idleTimeoutInMinutes\": 10,\r\n \"ipTags\": []\r\ - \n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n \"sku\"\ - : {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Regional\"\r\n }\r\n\ - }" - headers: - azure-asyncnotification: - - Enabled - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/20ab6277-1a47-4dd7-9738-2da52f14259f?api-version=2020-11-01 - cache-control: - - no-cache - content-length: - - '722' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:36:01 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 8d80879b-0b1d-46db-84eb-0a8b76183104 - x-ms-ratelimit-remaining-subscription-writes: - - '1193' - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/20ab6277-1a47-4dd7-9738-2da52f14259f?api-version=2020-11-01 - response: - body: - string: "{\r\n \"status\": \"Succeeded\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '29' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:36:03 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - e578e063-74b9-4cd0-8fc7-11802a63f268 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipaddress46af1a4f?api-version=2020-11-01 - response: - body: - string: "{\r\n \"name\": \"publicipaddress46af1a4f\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipaddress46af1a4f\"\ - ,\r\n \"etag\": \"W/\\\"e1a4cde2-5b81-49e6-92cb-2866bfaa6999\\\"\",\r\n \ - \ \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\"\ - : \"Succeeded\",\r\n \"resourceGuid\": \"d600a864-2412-4e4b-8a64-21adf4d82de8\"\ - ,\r\n \"ipAddress\": \"13.82.222.159\",\r\n \"publicIPAddressVersion\"\ - : \"IPv4\",\r\n \"publicIPAllocationMethod\": \"Static\",\r\n \"idleTimeoutInMinutes\"\ - : 10,\r\n \"ipTags\": []\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\"\ - ,\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Regional\"\ - \r\n }\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '758' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:36:03 GMT - etag: - - W/"e1a4cde2-5b81-49e6-92cb-2866bfaa6999" - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 0190864c-024f-4df4-95ef-3ee71fb88194 - status: - code: 200 - message: OK -- request: - body: '{"location": "eastus", "properties": {"ipConfigurations": [{"name": "ipconfig46af1a4f", - "properties": {"privateIPAllocationMethod": "Dynamic", "subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virtualmachine46af1a4f/subnets/GatewaySubnet"}, - "publicIPAddress": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/publicipaddress46af1a4f"}}}], - "gatewayType": "Vpn", "vpnType": "RouteBased", "enableBgp": false, "sku": {"name": - "VpnGw1", "tier": "VpnGw1"}, "bgpSettings": {"asn": 65515, "bgpPeeringAddress": - "10.0.1.30", "peerWeight": 0}, "customRoutes": {"addressPrefixes": ["101.168.0.6/32"]}, - "enableDnsForwarding": false}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '923' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgateway46af1a4f?api-version=2020-11-01 - response: - body: - string: "{\r\n \"error\": {\r\n \"code\": \"InvalidGatewaySkuSpecifiedForGatewayDeploymentType\"\ - ,\r\n \"message\": \"Virtual network gateway Sku specified is not valid\ - \ for gateway /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworkGateways/virtualnetworkgateway46af1a4f\ - \ with DeploymentType VMScaleSet. The allowed Skus are VpnGw1AZ,VpnGw2AZ,VpnGw3AZ,VpnGw4AZ,VpnGw5AZ.\"\ - ,\r\n \"details\": []\r\n }\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '514' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Mar 2021 08:36:09 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - ff82ff82-fd06-45f2-81eb-ae415f5da54d - x-ms-ratelimit-remaining-subscription-writes: - - '1192' - status: - code: 400 - message: Bad Request -version: 1 diff --git a/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_web_application_firewall_policy.test_network.yaml b/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_web_application_firewall_policy.test_network.yaml index ba906c877b91..ce04529b9eab 100644 --- a/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_web_application_firewall_policy.test_network.yaml +++ b/sdk/network/azure-mgmt-network/tests/recordings/test_cli_mgmt_network_web_application_firewall_policy.test_network.yaml @@ -14,36 +14,36 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies/myPolicy?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies/myPolicy?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"myPolicy\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies/myPolicy\"\ - ,\r\n \"etag\": \"W/\\\"35d03023-37ef-4397-a2d2-c5be9a22e899\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies\"\ - ,\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\"\ - : \"Updating\",\r\n \"customRules\": [],\r\n \"policySettings\": {\r\ - \n \"requestBodyCheck\": true,\r\n \"maxRequestBodySizeInKb\": 128,\r\ - \n \"fileUploadLimitInMb\": 100,\r\n \"state\": \"Disabled\",\r\n\ - \ \"mode\": \"Detection\"\r\n },\r\n \"managedRules\": {\r\n \ - \ \"managedRuleSets\": [\r\n {\r\n \"ruleSetType\": \"\ - OWASP\",\r\n \"ruleSetVersion\": \"3.0\",\r\n \"ruleGroupOverrides\"\ - : []\r\n }\r\n ],\r\n \"exclusions\": []\r\n }\r\n }\r\ - \n}" + string: "{\r\n \"name\": \"myPolicy\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies/myPolicy\",\r\n + \ \"etag\": \"W/\\\"1ceb9967-6c45-4e3d-a512-5b02c9ea6360\\\"\",\r\n \"type\": + \"Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies\",\r\n + \ \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": + \"Updating\",\r\n \"customRules\": [],\r\n \"policySettings\": {\r\n + \ \"requestBodyCheck\": true,\r\n \"maxRequestBodySizeInKb\": 128,\r\n + \ \"fileUploadLimitInMb\": 100,\r\n \"state\": \"Disabled\",\r\n + \ \"mode\": \"Detection\"\r\n },\r\n \"managedRules\": {\r\n \"managedRuleSets\": + [\r\n {\r\n \"ruleSetType\": \"OWASP\",\r\n \"ruleSetVersion\": + \"3.0\",\r\n \"ruleGroupOverrides\": []\r\n }\r\n ],\r\n + \ \"exclusions\": []\r\n }\r\n }\r\n}" headers: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/d592beb8-551f-451f-875a-0c8094e865f8?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/f4ed7932-5dc7-4e4c-bcf1-d05042eb2c06?api-version=2021-02-01 cache-control: - no-cache content-length: - - '932' + - '937' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 07:28:17 GMT + - Fri, 14 May 2021 06:42:03 GMT expires: - '-1' pragma: @@ -56,7 +56,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 155b4354-3764-41df-98cc-f7b02d60742f + - caafc7d1-14c0-4e21-8d99-8c667f7a1051 x-ms-ratelimit-remaining-subscription-writes: - '1199' status: @@ -72,34 +72,34 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies/myPolicy?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies/myPolicy?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"myPolicy\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies/myPolicy\"\ - ,\r\n \"etag\": \"W/\\\"1c8e995b-91b0-4f21-a0b0-9f1b6a334aba\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies\"\ - ,\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\"\ - : \"Succeeded\",\r\n \"customRules\": [],\r\n \"policySettings\": {\r\ - \n \"requestBodyCheck\": true,\r\n \"maxRequestBodySizeInKb\": 128,\r\ - \n \"fileUploadLimitInMb\": 100,\r\n \"state\": \"Disabled\",\r\n\ - \ \"mode\": \"Detection\"\r\n },\r\n \"managedRules\": {\r\n \ - \ \"managedRuleSets\": [\r\n {\r\n \"ruleSetType\": \"\ - OWASP\",\r\n \"ruleSetVersion\": \"3.0\",\r\n \"ruleGroupOverrides\"\ - : []\r\n }\r\n ],\r\n \"exclusions\": []\r\n }\r\n }\r\ - \n}" + string: "{\r\n \"name\": \"myPolicy\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies/myPolicy\",\r\n + \ \"etag\": \"W/\\\"187afd99-f981-4b6c-b945-20743faddc6c\\\"\",\r\n \"type\": + \"Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies\",\r\n + \ \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": + \"Succeeded\",\r\n \"customRules\": [],\r\n \"policySettings\": {\r\n + \ \"requestBodyCheck\": true,\r\n \"maxRequestBodySizeInKb\": 128,\r\n + \ \"fileUploadLimitInMb\": 100,\r\n \"state\": \"Disabled\",\r\n + \ \"mode\": \"Detection\"\r\n },\r\n \"managedRules\": {\r\n \"managedRuleSets\": + [\r\n {\r\n \"ruleSetType\": \"OWASP\",\r\n \"ruleSetVersion\": + \"3.0\",\r\n \"ruleGroupOverrides\": []\r\n }\r\n ],\r\n + \ \"exclusions\": []\r\n }\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '933' + - '938' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 07:28:17 GMT + - Fri, 14 May 2021 06:42:03 GMT etag: - - W/"1c8e995b-91b0-4f21-a0b0-9f1b6a334aba" + - W/"187afd99-f981-4b6c-b945-20743faddc6c" expires: - '-1' pragma: @@ -116,7 +116,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 44e0559e-404c-43fc-9093-434b269db0f7 + - d0c5b19d-ea5a-4fa9-8011-afd04aed74a7 status: code: 200 message: OK @@ -132,9 +132,10 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies/myPolicy?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies/myPolicy?api-version=2021-02-01 response: body: string: '' @@ -142,17 +143,17 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/fed7341c-7c0f-4035-9097-c348a7c35d9d?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/a076e27d-0068-4780-a3a6-a9e638e99ce7?api-version=2021-02-01 cache-control: - no-cache content-length: - '0' date: - - Tue, 09 Mar 2021 07:28:18 GMT + - Fri, 14 May 2021 06:42:03 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/fed7341c-7c0f-4035-9097-c348a7c35d9d?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/a076e27d-0068-4780-a3a6-a9e638e99ce7?api-version=2021-02-01 pragma: - no-cache server: @@ -163,7 +164,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - c303378c-26bf-433a-9eb0-ce45e58bd0b2 + - 51bc1348-870c-4d6a-9bb8-f584aa937d3c x-ms-ratelimit-remaining-subscription-deletes: - '14999' status: @@ -179,9 +180,10 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-network/18.0.0 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Linux-5.4.0-1047-azure-x86_64-with-glibc2.2.5) + VSTS_0fb41ef4-5012-48a9-bf39-4ee3de03ee35_build_2500_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/fed7341c-7c0f-4035-9097-c348a7c35d9d?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/a076e27d-0068-4780-a3a6-a9e638e99ce7?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -193,7 +195,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Mar 2021 07:28:28 GMT + - Fri, 14 May 2021 06:42:13 GMT expires: - '-1' pragma: @@ -210,7 +212,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 5d74cd8f-c17c-4a0d-8d1a-b54d06f3f121 + - 78792dd2-2b85-4c21-afd0-ecbc72fe35f6 status: code: 200 message: OK diff --git a/sdk/network/azure-mgmt-network/tests/test_cli_mgmt_network_ddos.py b/sdk/network/azure-mgmt-network/tests/test_cli_mgmt_network_ddos.py index c60de0bf28af..64aa28dd447a 100644 --- a/sdk/network/azure-mgmt-network/tests/test_cli_mgmt_network_ddos.py +++ b/sdk/network/azure-mgmt-network/tests/test_cli_mgmt_network_ddos.py @@ -165,7 +165,8 @@ def create_public_ip_addresses(self, group_name, location, public_ip_name): BODY ) return result.result() - + + @unittest.skip('skip test') @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) def test_network(self, resource_group): diff --git a/sdk/network/azure-mgmt-network/tests/test_cli_mgmt_network_express_route.py b/sdk/network/azure-mgmt-network/tests/test_cli_mgmt_network_express_route.py index a3e4ecea0c32..ecd651b2b3f5 100644 --- a/sdk/network/azure-mgmt-network/tests/test_cli_mgmt_network_express_route.py +++ b/sdk/network/azure-mgmt-network/tests/test_cli_mgmt_network_express_route.py @@ -45,7 +45,8 @@ def setUp(self): self.mgmt_client = self.create_mgmt_client( azure.mgmt.network.NetworkManagementClient ) - + + @unittest.skip('skip test') @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) def test_network(self, resource_group): diff --git a/sdk/network/azure-mgmt-network/tests/test_cli_mgmt_network_interface.py b/sdk/network/azure-mgmt-network/tests/test_cli_mgmt_network_interface.py index 95d1202bec06..fc5fa2202f70 100644 --- a/sdk/network/azure-mgmt-network/tests/test_cli_mgmt_network_interface.py +++ b/sdk/network/azure-mgmt-network/tests/test_cli_mgmt_network_interface.py @@ -140,6 +140,7 @@ def delete_vm(self, group_name, vm_name): result = compute_client.virtual_machines.begin_delete(group_name, vm_name) result = result.result() + @unittest.skip('skip test') @RandomNameResourceGroupPreparer(location=AZURE_LOCATION) def test_network(self, resource_group): diff --git a/shared_requirements.txt b/shared_requirements.txt index 39c30a68231f..abdb0209959d 100644 --- a/shared_requirements.txt +++ b/shared_requirements.txt @@ -275,6 +275,7 @@ opentelemetry-sdk<2.0.0,>=1.0.0 #override azure-mgmt-storagecache msrest>=0.6.21 #override azure-mgmt-videoanalyzer msrest>=0.6.21 #override azure-mgmt-extendedlocation msrest>=0.6.21 +#override azure-mgmt-network msrest>=0.6.21 #override azure-mgmt-iothub msrest>=0.6.21 #override azure-mgmt-iotcentral msrest>=0.6.21 #override azure-mgmt-sql msrest>=0.6.21